@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507141607 → 0.9.2-nightly.202507161608

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.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/locale/ca-ES.d.ts +3 -0
  38. package/lib/types/locale/es-ES.d.ts +3 -0
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -0
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -0
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x186c(){const _0x44ddc1=['_initEvent','handleInsertRow','OTHER_CLIENT_EDITING','getOwnPropertyDescriptor','LICENSE_DISTRO_REJECTED','delete','_scene','_heartbeatTimer','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','IURLService','DocSkeletonManagerService','SetWorksheetActivateCommand','APPLY_REJECT','TEXT_RANGE_LAYER_INDEX','SNAPSHOT_INVALID_SNAPSHOT','getCellPositionByOffset','Warning','pushState','@univerjs-pro/collaboration','transformStateCache','getColorFromTheme','width','resize','ILogService','_render','docStateChange$','use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ILocalStorageService','RxDisposable','_memberService','handleIRemoveRow','_entities','unitId','collabStatus.syncing','1em','defineProperty','isArray','jsx','column','_commandService','subunit','getLocalCacheKey','_labelPosition','TRANSFORM_CHANGE_OBSERVABLE_TYPE','FETCH_MISS','round','apply','UniverDocs','sessionStatus$','_backgroundColor','_getSheetObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/run/','ITransformService','RECT','cursorInfo','status$','handleIRemoveCol','UniverProCollaborationClient','assign','JOIN_ROOM_FAILED','beginPath','endColumn','_handleEvent','DocCollaborationEntity','_injector','sessionTicket','extend','_saveTaskMap','Subject','_uiPartsService','disposeWithMe','replace','has','5533056OhJqpS','UniverDocsUi','createInstance','_syncEditingCollabCursorService','invokeId','switchMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createSocketURL','debounce','Inject','_getSaveTimeout','DataLoaderService','getAncestorScale','roomMembers','UniverSheetsUi','UniverProCollaborationClientUi','MessageType','registerRefRange','runOnServer','redoState','rxjs/operators','_shapes','_toggleOffline','transform','RichTextEditingMutation','replaceDocRanges','ticket','sheetId','getMember','removeParam','Rect','ThemeService','setStateCache','isActive','_handleHeartbeatEvent','getMemberID','toRgbString','getDocRanges','univerjs-icon\x20univerjs-icon-','children','serializeRangeWithSheet','_cursorInfo$','getSheetBySheetId','useCallback','DesktopCollaborationStatusDisplayController','moveTo','setShapeProps','rgba(255,\x20255,\x20255,\x200.01)','RemoveColCommandId','findNodePositionByCharIndex','connectInjector','612429zysFEg','PERMISSION_DENIED','transformIMECache','debug','find','SessionStatus','_handleJoinEvent','_lastPointer','Unknown\x20user','source','getUnhiddenWorksheets','skeleton','_updateLocalCursor','DocStateChangeManagerService','CollaborationSessionService','setActiveRange','forwardRef','SetSelectionsOperation','collabCursorState$','_urlService','backgroundColor','row','CONNECTOR_DATA_TOO_LARGE','Shape','_collaborationUIEventService','LOGIN_FAILED','SYNCED','send','_session','_draw','_initCommandExecutedListener','searchParams','executionId','_refRangeService','addClipboardHook','_hovered','_saveCache','_onCursorUpdate','loadOfflineData','substring','_disabled','getConfig','_localStorageService','toStringTag','APPLY_REVISION_CONFILICT','amd','_docSkeletonManagerService','indexOf','getCurrentSelections','EffectRefRangId','_textBubble','collab-rect-range-','InsertRangeMoveDownCommandId','_range','assignAColorForMemberID','IDocClipboardService','clearInterval','history','RevisionService','Failed','_selfUnitIDs','wsSessionTicketUrl','mask','_context','setConfig','complete','_removeCollabCursors','registerComponent','CLOSE_ROOM','rxjs','asObservable','unitID','INTERNAL_ERROR','fill','60bdpjWb','reconnect','_getScale','UniverCollaborationClientUIPlugin','TOO_MANY_REQUESTS','collab-client.tooltip.reconnect','currentTheme$','url(#$1','UNDEFINED','@univerjs/drawing','_getSessionTicket','show','session.connection-failed','RefRangeService','UPDATE_CURSOR','UniverNetwork','_doCreateSocket','Workbook','defs','_anchorDot','dispose','some','unsubscribe','storage','href','APPLY_PERMISSION_DENIED','handleMoveRange','getTypeOfUnitDisposed$','fromEventSubject','color','UniverEngineRender','current','CollaborationController','_getAnchorBounding','throttleTime','saveOfflineData','BrowserCollaborationSocketService','session.will-retry','InsertRangeMoveRightCommandId','attrs','whenReady','params','runId','_docTransformSelectionsService','path','error','collab-text-range-','newValue','labelPosition','idSuffix','USERS_LEAVE','_collabCursorController','_httpService','className','min','UnitStatus','CONFLICT','TEXT','@univerjs/design','COMPLETION_FINISHED','getFocusedUnit','selections','_anchor','lineTo','IUIPartsService','getSheetId','UniverEngineFormula','getUnitId','getViewport','_registerRenderDependencies','_initResize','_drawAnchor','body','push','SheetCollabCursorShape','_toggleOnline','string','react','_updateSubUnitFromURLParams','executeCommand','getCurrentRevOfUnit','SetDocZoomRatioOperation','_beforeCloseService','_name','getCoordByCell','pipe','roomMembers$','Vector2','collaboration.closeRoom','_unitStatus','event$','7qkfvPm','_color','AWAITING','onRendered','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_docSkeleton','NOT_COLLAB','NodePositionConvertToCursor','_assignedColors','PENDING','range','RemoveRowCommandId','onPointerEnter$','UNIVER_SHEET','OTHER_CLIENTS_EDITING','onPointerMove$','location','eventID','USER_NOT_INVITED_CODE','collabStatus.notCollab','176520vJOCBp','_startSheetCollabCursor','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutation','MOBILE_VERIFY_CODE_MISMATCH','Disposable','7445728sUWZdO','_localCacheService','_handleHover','_send','handleInsertRangeMoveDown','SheetSkeletonManagerService','_transformHistoryAndStateStack','getColor','ICommandService','_collaborationController','symbol','_configService','hasOwnProperty','CollaborationUIEventService','YUUMI_RATE_OVER_LIMIT','jsxs','actions','YUUMI_ALL_TABLES_IS_INVALID','useDependency','react/jsx-runtime','#FFF','APPLY_NON_SEQUENTIAL_REVISION','deserializeRangeWithSheet','_transformPreviousActiveRange','drawWith','univer-flex\x20univer-items-center','collaboration.single-unit.warning','none','post','memberID','_cursorShapes','getOwnPropertySymbols','HEADER_MENU','PY_RUNTIME_SCRIPT_ERROR','startColumn','@univerjs/engine-render','handleDeleteRangeMoveLeft','http://www.w3.org/2000/svg','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','NOT_FOUND','textRanges','setParam','collabStatus.offline','ISnapshotServerService','@univerjs/docs','takeUntil','transformSelections','DocIMEInputManagerService','UniverUi','m1Prime','YUUMI_UNABLE_LOAD_URL','YUUMI_ASYNCIO_CANCELLED','CHANGESET_REVISION_CONFILICT','UNRECOGNIZED','_removeClearOtherTimer','_transformService','type','evenodd','disableLocalCache','from','@univerjs/core','unshift','split','addEventListener','getRenderById','deepClone','YUUMI_NO_CUBOID_FOR_QUESTION','_colorIndex','debounceTime','runRefRangeMutations','fillStyle','_ensureSubject','_handleLeaveEvent','_unitOnClients','setItem','defIds','urlChange$','url(#off-line-icon_clip0_910_343)','LICENSE_IMPORT_SIZE_EXCEEDED','MoveRangeCommandId','fillText','collab-text-anchor-','OnLineIcon','m2Prime','@univerjs-pro/collaboration-client','@univerjs/network','_collabCursorState$','LOCAL_CACHE_INTERVAL_KEY','_onRefRangeChange','includes','onLocalMutation','enableLocalCache','_docStateChangeManagerService','propertyIsEnumerable','createSocket','pluginName','RemoteUniscriptService','_initStatusListener','cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','hovered','add','getCollabCursors$','height','UNIVER_DOC','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','subUnitId','_docClipboardService','entries','shareReplay','_status$','collabStatus.conflict','OffLineIcon','get','white','registerRenderModule','React','updateOfflineData','COLORS','_updateCollabCursors','translate(.97)','_scheduleHeartbeat','setTimeout','_eventUnsubscribe','UniverRpc','forEach','ENSURE_SNAPSHOT_EXECUTION','loadUnit','_univerInstanceService','getActiveRange','ALREADY_EXISTS','SHEET_VIEWPORT_KEY','trim','2551821PPjfPm','combineLatest','_transformUndoRedoStack','mutations','restore','YUUMI_URL_COL_OUT_OF_RANGE','_imageIoService','displayName','_onCursorDelete','exhaustSavingTask','0\x200\x2017\x2016','set','CommandType','_roomMembers$','_online','_messageService','_cachedData','BuiltInUIPart','_setupSubUnitSync','off-line-icon_clip0_910_343','getTypeOfUnitAdded$','_clearOtherTimers','saveImage','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','init','[CollaborationDataLoaderController]','Tools','_id','getValue','replaceState','DeleteRangeMoveUpCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DependentOn','call','size','_initEntityListener','function','OFFLINE','createElement','handleInsertRangeMoveRight','YUUMI_SUBSCRIPTION_NOT_FOUND','4569477TueLWI','DOC_RANGE_TYPE','unload','_setupBeforeClosingHandler','black','getUnitStatus$','save','clipPath','_renderManagerService','SUBMIT_CHANGESET_TIMEOUT','green.600','ONLINE','_drawTextRange','endRow','fillRule','startRow','triggerDblclick','generateRandomId','0\x200\x2016\x2016','purple.300','getSheetObject','exports','UNAUTHENTICATED','_init','CollaborationUIEventId','541390ZxuEFx','InsertRowCommandId','MOBILE_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','UniverDesign','name','4Tacddj','Error','xlink:href','getRelativeToViewportCoord','SheetsSelectionsService','EMAIL_VERIFY_CODE_MISMATCH','map','clearTimeout','tag','_collabSessionService','APPLY_DUPLICATED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','font','contains','transformMutationsWithChangeset','DeleteRangeMoveLeftCommandId','origin','syncEditingCollabCursor','IConfigService','filter','BehaviorSubject','handleInsertCol','undoState','DocSelectionManagerService','then','LOCAL_CACHE_INTERVAL','subscribeEvent','with','_themeService','Optional','_dataLoaderService','UniverInstanceType','object','red.300','onCommandExecuted','onPointerLeave$','merge','addObjects','YUUMI_AI_RUN_FAILED','toDisposable','CollaborationStatusDisplay','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','icon','code','arc','Plugin','getItem','_cursors','measureText','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','isTransformMutationFailure','MemberService','setAlpha','@univerjs/sheets','getParam','...','createIdentifier','ColorKit','uni.network.url-service','ILocalCacheService','M0\x200H16V16H0z','IBeforeCloseService','colorChannel1','session.collaboration-timeout','text','HTTPService','off-line-icon','registerDependencies','override','_initDependencies','result','transformRemoteChangeset','fromEvent','permission.title','getStateCache','_cursor','currentColor','INVITE_CODE_HAS_BEEN_UES','ACTIVE_UNIT_EVENT_CHANNEL','isTransformMutationsWithChangesetSuccess','onMouseMove','getRangePointData','_refreshCollabCursors','url(#on-line-icon_clip0_910_349)','SOCKET_FAILED','DisposableCollection','getCurrentUnitForType','max','prototype','_drawRectRange','IUniverInstanceService','_docTransformStateCacheService','on-line-icon_clip0_910_349','data','_getMergeRange','_scheduleSaving','@univerjs/ui','key','subscribe','2CCGFJV','_startDocCollabCursor','values','_updateURLWithCurrentState','saveTaskMap','getCurrent','_entityInit$','getActiveSheet','CollaborationEvent','@univerjs/rpc','IRemoteInstanceService','isEditing','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random','flatMap','INotificationService','CollaborationDataLoaderController','WebSocketService','@univerjs/engine-formula','LICENSE_EXPORT_SIZE_EXCEEDED','next','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ISocketService','_logService','requireSession','closePath','INVALID_INVITE_CODE','unit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','currentSkeleton$','_registerDependencies','UniverDrawing','concat','length','div','WECHAT_HAS_BEEN_BOUND','_config','_hideTimer','_instanceService','mapTo','_docTransformIMECacheService','activeSheet$','CollaborationSocketService','selection','addObject','hide','toString','dispose$','editingUnit','bottom','INVITE_CODE_ALREADY_BOUND','SOCKET_FAILED_RETRY','doc.mutation.rich-text-editing','Injector','touchDependencies','INVITE_CODE_REQUIRED','_revisionService','collaboration-client-ui.config','_notificationService','ranges','CollaborationStatus','getSkeleton'];_0x186c=function(){return _0x44ddc1;};return _0x186c();}function _0x5ca7(_0x472c44,_0x2957e3){const _0x186cb6=_0x186c();return _0x5ca7=function(_0x5ca7eb,_0x87e36b){_0x5ca7eb=_0x5ca7eb-0x68;let _0x5016c2=_0x186cb6[_0x5ca7eb];return _0x5016c2;},_0x5ca7(_0x472c44,_0x2957e3);}(function(_0x20f0b1,_0xceca2e){const _0xe5e7cc=_0x5ca7,_0x2557c7=_0x20f0b1();while(!![]){try{const _0x625489=-parseInt(_0xe5e7cc(0x7d))/0x1*(-parseInt(_0xe5e7cc(0x26f))/0x2)+-parseInt(_0xe5e7cc(0x1c2))/0x3*(-parseInt(_0xe5e7cc(0x20b))/0x4)+parseInt(_0xe5e7cc(0x205))/0x5+-parseInt(_0xe5e7cc(0x137))/0x6+parseInt(_0xe5e7cc(0x122))/0x7*(parseInt(_0xe5e7cc(0x13d))/0x8)+parseInt(_0xe5e7cc(0x2f9))/0x9+-parseInt(_0xe5e7cc(0xc7))/0xa*(parseInt(_0xe5e7cc(0x1ec))/0xb);if(_0x625489===_0xceca2e)break;else _0x2557c7['push'](_0x2557c7['shift']());}catch(_0x237830){_0x2557c7['push'](_0x2557c7['shift']());}}}(_0x186c,0x91408),function(_0x1c8c04,_0x143731){const _0x11a252=_0x5ca7;typeof exports==_0x11a252(0x22b)&&typeof module<'u'?_0x143731(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==_0x11a252(0x1e7)&&define[_0x11a252(0xaa)]?define([_0x11a252(0x201),_0x11a252(0x191),_0x11a252(0x179),_0x11a252(0x160),_0x11a252(0x192),'@univerjs/docs-ui',_0x11a252(0xd0),_0x11a252(0xc2),_0x11a252(0x2c0),_0x11a252(0x169),_0x11a252(0x281),_0x11a252(0x241),_0x11a252(0x30d),'@univerjs/sheets-ui',_0x11a252(0x150),_0x11a252(0x26c),_0x11a252(0x101),_0x11a252(0x114),_0x11a252(0x278)],_0x143731):(_0x1c8c04=typeof globalThis<'u'?globalThis:_0x1c8c04||self,_0x143731(_0x1c8c04[_0x11a252(0x308)]={},_0x1c8c04[_0x11a252(0x2e9)],_0x1c8c04['UniverCore'],_0x1c8c04[_0x11a252(0xe5)],_0x1c8c04[_0x11a252(0xd6)],_0x1c8c04[_0x11a252(0x2fa)],_0x1c8c04[_0x11a252(0x28f)],_0x1c8c04[_0x11a252(0xc2)],_0x1c8c04['UniverProCollaboration'],_0x1c8c04[_0x11a252(0x2de)],_0x1c8c04[_0x11a252(0x109)],_0x1c8c04['UniverSheets'],_0x1c8c04[_0x11a252(0xc2)]['operators'],_0x1c8c04[_0x11a252(0x307)],_0x1c8c04[_0x11a252(0x1b1)],_0x1c8c04[_0x11a252(0x16d)],_0x1c8c04[_0x11a252(0x209)],_0x1c8c04[_0x11a252(0x1b1)],_0x1c8c04[_0x11a252(0x1b9)]));}(this,function(_0x35b504,_0xec9e8c,_0x1f0974,_0xea5c4f,_0x3a7cb5,_0x94087b,_0x7b892a,_0x48ec59,_0x22d2f7,_0x307c6b,_0x30ba29,_0x21292e,_0x10378c,_0x5567d2,_0x250e26,_0xc1035a,_0x35f566,_0x43f677,_0x2f31d3){'use strict';const _0x28f4a5=_0x5ca7;var _0x5295c7=Object[_0x28f4a5(0x2d2)],_0x3b229c=(_0x4f062f,_0x4c1c50,_0x5d4858)=>_0x4c1c50 in _0x4f062f?_0x5295c7(_0x4f062f,_0x4c1c50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d4858}):_0x4f062f[_0x4c1c50]=_0x5d4858,_0x264be0=(_0x1b36e3,_0x4d920a,_0x948281)=>_0x3b229c(_0x1b36e3,typeof _0x4d920a!=_0x28f4a5(0x147)?_0x4d920a+'':_0x4d920a,_0x948281),_0x32896b=Object['getOwnPropertyDescriptor'],_0x1d6c3c=(_0x1f16be,_0x3de0d5,_0x2b75cc,_0x5b585d)=>{const _0x4b75a5=_0x28f4a5;for(var _0x8bac3c=_0x5b585d>0x1?void 0x0:_0x5b585d?_0x32896b(_0x3de0d5,_0x2b75cc):_0x3de0d5,_0x52b5c1=_0x1f16be[_0x4b75a5(0x291)]-0x1,_0x4b6b5a;_0x52b5c1>=0x0;_0x52b5c1--)(_0x4b6b5a=_0x1f16be[_0x52b5c1])&&(_0x8bac3c=_0x4b6b5a(_0x8bac3c)||_0x8bac3c);return _0x8bac3c;},_0x5cd289=(_0x5a7c55,_0xe77452)=>(_0x3b54b2,_0x296a50)=>_0xe77452(_0x3b54b2,_0x296a50,_0x5a7c55);let _0x38a261=class extends _0x1f0974['RxDisposable']{constructor(_0x183bfa,_0x528acd){const _0x23b31d=_0x28f4a5;super(),this[_0x23b31d(0x1a8)]=_0x183bfa,this[_0x23b31d(0x1c8)]=_0x528acd,this['_init']();}[_0x28f4a5(0x203)](){const _0x5035b0=_0x28f4a5,_0x29298f=this;this[_0x5035b0(0x2f6)](this[_0x5035b0(0x1a8)][_0x5035b0(0x9f)]({'onBeforePasteImage':async _0x597810=>{const _0x322752=_0x5035b0,_0x2551c=await _0x29298f['_imageIoService'][_0x322752(0x1d8)](_0x597810);return _0x2551c?{'source':_0x2551c[_0x322752(0x86)],'imageSourceType':_0x2551c['imageSourceType']}:null;}}));}};_0x38a261=_0x1d6c3c([_0x5cd289(0x0,_0x94087b[_0x28f4a5(0xb4)]),_0x5cd289(0x1,_0x7b892a['IImageIoService'])],_0x38a261);const _0x373dd5=[_0x28f4a5(0x1ff),'jiqing.500',_0x28f4a5(0x1f6),_0x28f4a5(0x22c),'blue.400','yellow.400'];class _0x2d7c85 extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(){const _0x79e0eb=_0x28f4a5;super(...arguments),_0x264be0(this,'_assignedColors',new Map()),_0x264be0(this,_0x79e0eb(0x180),0x0);}[_0x28f4a5(0xb3)](_0x9edde7){const _0x5ae544=_0x28f4a5;if(this[_0x5ae544(0x12b)][_0x5ae544(0x2f8)](_0x9edde7))return this['_assignedColors'][_0x5ae544(0x1ae)](_0x9edde7);const _0x95601=_0x373dd5[this[_0x5ae544(0x180)]];return this[_0x5ae544(0x180)]=(this[_0x5ae544(0x180)]+0x1)%_0x373dd5[_0x5ae544(0x291)],this['_assignedColors'][_0x5ae544(0x1cd)](_0x9edde7,_0x95601),_0x95601;}}function _0x246988(_0x5e0b7c){let _0x18e4d4='';for(const _0x5266d5 of _0x5e0b7c){const {startOffset:_0x3ad946,endOffset:_0x2f3814,isActive:_0x3f96f8,rangeType:_0xb1e99b,segmentId:_0x71d70c,segmentPage:_0x290cf5}=_0x5266d5;_0x18e4d4['length']&&(_0x18e4d4+=','),_0x18e4d4+=_0x3ad946+':'+_0x2f3814+':'+(_0x3f96f8?'1':'0')+':'+_0xb1e99b+':'+_0x71d70c+':'+_0x290cf5;}return _0x18e4d4;}function _0x25ec0e(_0x327ea7){const _0x186ecd=_0x28f4a5,_0x350545=_0x327ea7[_0x186ecd(0x17b)](','),_0x58ba8f=[];for(const _0x1fd82e of _0x350545){const [_0x33d737,_0x49c92d,_0x5e09fd,_0x34884d,_0x121d2f,_0x105ca7]=_0x1fd82e[_0x186ecd(0x17b)](':');_0x58ba8f[_0x186ecd(0x110)]({'startOffset':Number(_0x33d737),'endOffset':Number(_0x49c92d),'collapsed':_0x33d737===_0x49c92d,'isActive':_0x5e09fd==='1','rangeType':_0x34884d===_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x100)]?_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x100)]:_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x2e5)],'segmentId':typeof _0x121d2f==_0x186ecd(0x113)?String(_0x121d2f):'','segmentPage':Number(_0x105ca7!=null?_0x105ca7:-0x1)});}return _0x58ba8f[_0x186ecd(0xdc)](_0xad872f=>_0xad872f[_0x186ecd(0x6b)])||(_0x58ba8f[0x0]['isActive']=!0x0),_0x58ba8f;}class _0x1ea0ec extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(){const _0x1700ec=_0x28f4a5;super(...arguments),_0x264be0(this,'_collabCursorState$',new _0x48ec59[(_0x1700ec(0x21f))](null)),_0x264be0(this,_0x1700ec(0x8f),this[_0x1700ec(0x193)]['asObservable']());}[_0x28f4a5(0x21c)](_0x9a7e47){const _0x18a5b7=_0x28f4a5,{unitID:_0x570e48,memberID:_0x4efff4,textRanges:_0x319608}=_0x9a7e47,_0x25b9e1=_0x246988(_0x319608);if(_0x25b9e1==='')return;const _0x3de416={'unitID':_0x570e48,'memberID':_0x4efff4,'selection':_0x25b9e1};this[_0x18a5b7(0x193)][_0x18a5b7(0x283)](_0x3de416);}}var _0x42b1c7=Object[_0x28f4a5(0x2b1)],_0x3156e4=(_0x5a0cfe,_0x49d0c2,_0x361188,_0x211716)=>{const _0x3e8f43=_0x28f4a5;for(var _0x1b742f=_0x211716>0x1?void 0x0:_0x211716?_0x42b1c7(_0x49d0c2,_0x361188):_0x49d0c2,_0x2b1ab3=_0x5a0cfe[_0x3e8f43(0x291)]-0x1,_0x1c4ed7;_0x2b1ab3>=0x0;_0x2b1ab3--)(_0x1c4ed7=_0x5a0cfe[_0x2b1ab3])&&(_0x1b742f=_0x1c4ed7(_0x1b742f)||_0x1b742f);return _0x1b742f;},_0x2c7f=(_0x1c2cd4,_0x23f63c)=>(_0x56a026,_0x3316ff)=>_0x23f63c(_0x56a026,_0x3316ff,_0x1c2cd4);const _0x134004=0x12c,_0x305122=0x64;let _0x3c6ed9=class extends _0x1f0974['RxDisposable']{constructor(_0x393659,_0xc6949d,_0x31465e,_0x4c795f,_0x5ea6af,_0x3e40ce,_0x31f1b6,_0x48f36d,_0x46e527){const _0x3c3cbe=_0x28f4a5;super(),_0x264be0(this,_0x3c3cbe(0x1d0),!0x1),_0x264be0(this,_0x3c3cbe(0x203),!0x1),_0x264be0(this,_0x3c3cbe(0x73),new _0x48ec59[(_0x3c3cbe(0x21f))](new Map())),_0x264be0(this,_0x3c3cbe(0x19f),this[_0x3c3cbe(0x73)][_0x3c3cbe(0xc3)]()),_0x264be0(this,_0x3c3cbe(0x1cf),new _0x48ec59[(_0x3c3cbe(0x21f))]([])),_0x264be0(this,_0x3c3cbe(0x11d),this[_0x3c3cbe(0x1cf)]['pipe'](_0x48ec59['debounceTime'](_0x134004))),_0x264be0(this,_0x3c3cbe(0x89),_0x1f0974[_0x3c3cbe(0x301)](_0xca021a=>{const _0x3f3614=_0x3c3cbe,_0x4e68f0={'eventID':_0x22d2f7['CollaborationEvent'][_0x3f3614(0xd5)],'data':{'unitID':this[_0x3f3614(0xc4)],'memberID':this['_session'][_0x3f3614(0x6d)](),'selection':_0x246988(_0xca021a)}};this[_0x3f3614(0x99)][_0x3f3614(0x98)](_0x4e68f0,this[_0x3f3614(0xc4)]);},_0x305122)),(this['unitID']=_0x393659,this['_session']=_0xc6949d,this['_injector']=_0x31465e,this['_colorAssignService']=_0x4c795f,this[_0x3c3cbe(0x2cc)]=_0x5ea6af,this[_0x3c3cbe(0x2fc)]=_0x3e40ce,this[_0x3c3cbe(0x174)]=_0x31f1b6,this[_0x3c3cbe(0x1bd)]=_0x48f36d,this[_0x3c3cbe(0x2d6)]=_0x46e527);}get['cursorInfo'](){const _0x533d14=_0x28f4a5;return this[_0x533d14(0x73)]['getValue']();}get[_0x28f4a5(0x306)](){const _0x3ce2ec=_0x28f4a5;return this[_0x3ce2ec(0x1cf)][_0x3ce2ec(0x1df)]();}[_0x28f4a5(0xdb)](){const _0x2b12a6=_0x28f4a5;super[_0x2b12a6(0xdb)](),this[_0x2b12a6(0x73)][_0x2b12a6(0x283)](new Map()),this[_0x2b12a6(0x73)]['complete'](),this[_0x2b12a6(0x1cf)]['next']([]),this[_0x2b12a6(0x1cf)][_0x2b12a6(0xbe)]();}[_0x28f4a5(0x1db)](){const _0x507f15=_0x28f4a5;this[_0x507f15(0x203)]||(this[_0x507f15(0x203)]=!0x0,this[_0x507f15(0x99)][_0x507f15(0x2df)][_0x507f15(0x11c)](_0x48ec59[_0x507f15(0x16a)](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0x4d3084=>{const _0x158134=_0x507f15;_0x4d3084===_0xec9e8c[_0x158134(0x82)][_0x158134(0x1f7)]?this[_0x158134(0x112)]():this[_0x158134(0x30f)]();}),this[_0x507f15(0x99)][_0x507f15(0x121)][_0x507f15(0x11c)](_0x48ec59['takeUntil'](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0xa8a859=>{const _0x25137d=_0x507f15,_0x1d77df=_0xa8a859['eventID'];_0x1d77df===_0x22d2f7[_0x25137d(0x277)][_0x25137d(0xd5)]&&this['_onCursorUpdate'](_0xa8a859),_0x1d77df===_0x22d2f7[_0x25137d(0x277)][_0x25137d(0xf9)]&&this['_onCursorDelete'](_0xa8a859);}),this[_0x507f15(0x2f6)](this['_commandService'][_0x507f15(0x22d)](_0x2ef599=>{const _0x1fe392=_0x507f15,_0x25a416=_0x2ef599[_0x1fe392(0xf0)];_0x25a416!=null&&this['_online']&&_0x2ef599['id']===_0x307c6b['SetTextSelectionsOperation']['id']&&_0x25a416[_0x1fe392(0x2cf)]===this[_0x1fe392(0xc4)]&&_0x25a416[_0x1fe392(0x27a)]===!0x1&&_0x25a416[_0x1fe392(0x2ab)][_0x1fe392(0x291)]>0x0&&this[_0x1fe392(0x89)](_0x25a416[_0x1fe392(0x2ab)]);})),this[_0x507f15(0x2fc)][_0x507f15(0x8f)]['pipe'](_0x48ec59['takeUntil'](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0x5d05d5=>{const _0x579735=_0x507f15;if((_0x5d05d5==null?void 0x0:_0x5d05d5[_0x579735(0xc4)])!==this['unitID'])return;const _0x1aa14c={'eventID':_0x22d2f7['CollaborationEvent'][_0x579735(0xd5)],'data':_0x5d05d5};this[_0x579735(0xa2)](_0x1aa14c);}),this[_0x507f15(0x2f6)](this['_commandService'][_0x507f15(0x22d)](_0x5c5c74=>{const _0x1d307a=_0x507f15;if(_0x5c5c74['params']==null)return;const _0x14861a=_0x5c5c74[_0x1d307a(0xf0)];if(_0x5c5c74['id']!==_0x307c6b[_0x1d307a(0x311)]['id']||_0x14861a['unitId']!==this[_0x1d307a(0xc4)])return;const _0x3a101d={'id':'doc.mutation.rich-text-editing','params':_0x14861a},_0x2531c2=this[_0x1d307a(0x2e6)];for(const [_0x3e342e,_0x5e06b2]of _0x2531c2){const _0x4bb07d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5e06b2['ranges']}},_0x2cc75d=this['_transformService'][_0x1d307a(0x13a)](_0x3a101d,_0x4bb07d,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0x2cc75d))throw _0x2cc75d[_0x1d307a(0xf4)];_0x2531c2['set'](_0x3e342e,{..._0x5e06b2,'ranges':_0x2cc75d['m2Prime'][_0x1d307a(0xf0)]['textRanges']});}queueMicrotask(()=>{const _0x43df2a=_0x1d307a;this['_cursorInfo$'][_0x43df2a(0x283)](_0x2531c2);});})));}[_0x28f4a5(0xa2)](_0x3f2edd){const _0x4734f7=_0x28f4a5;var _0x1b7690,_0x48aaa3;const {memberID:_0x5c4355,selection:_0x213b38}=_0x3f2edd[_0x4734f7(0x269)],_0x36de0e=_0x25ec0e(_0x213b38),_0x17954d=(_0x48aaa3=(_0x1b7690=this[_0x4734f7(0x2cc)][_0x4734f7(0x315)](this['unitID'],_0x5c4355))==null?void 0x0:_0x1b7690['name'])!=null?_0x48aaa3:_0x4734f7(0x85),_0x302f1f={'color':this[_0x4734f7(0x23d)][_0x4734f7(0xb3)](_0x5c4355),'name':_0x17954d,'ranges':_0x36de0e},_0xc3581a=this[_0x4734f7(0x2e6)];_0xc3581a['set'](_0x5c4355,_0x302f1f),this[_0x4734f7(0x73)][_0x4734f7(0x283)](_0xc3581a);}[_0x28f4a5(0x1ca)](_0x467d33){const _0xe1607c=_0x28f4a5,{memberID:_0x3ecf73}=_0x467d33[_0xe1607c(0x269)],_0x47061c=this[_0xe1607c(0x2e6)];_0x47061c[_0xe1607c(0x2b3)](_0x3ecf73),this['_cursorInfo$']['next'](_0x47061c);}[_0x28f4a5(0x112)](){const _0x648a1c=_0x28f4a5;var _0x5ddcc1;if(this[_0x648a1c(0x1d0)]=!0x0,((_0x5ddcc1=this[_0x648a1c(0x1bd)]['getFocusedUnit']())==null?void 0x0:_0x5ddcc1[_0x648a1c(0x10a)]())!==this[_0x648a1c(0xc4)])return;const _0x553862=this['_injector'][_0x648a1c(0x1ae)](_0x307c6b['DocSelectionManagerService'])[_0x648a1c(0x6f)]();Array['isArray'](_0x553862)&&_0x553862[_0x648a1c(0x291)]>0x0&&this[_0x648a1c(0x89)](_0x553862);}['_toggleOffline'](){const _0x49db40=_0x28f4a5;this[_0x49db40(0x1d0)]=!0x1;}};_0x3c6ed9=_0x3156e4([_0x2c7f(0x2,_0x1f0974['Inject'](_0x1f0974['Injector'])),_0x2c7f(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x2d7c85)),_0x2c7f(0x4,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x23f)])),_0x2c7f(0x5,_0x1f0974[_0x28f4a5(0x302)](_0x1ea0ec)),_0x2c7f(0x6,_0x22d2f7['ITransformService']),_0x2c7f(0x7,_0x1f0974['IUniverInstanceService']),_0x2c7f(0x8,_0x1f0974['ICommandService'])],_0x3c6ed9);var _0x209201=Object[_0x28f4a5(0x2b1)],_0x3446a6=(_0x207101,_0x487505,_0xc54038,_0x201f1d)=>{const _0x5320bc=_0x28f4a5;for(var _0x2dc28f=_0x201f1d>0x1?void 0x0:_0x201f1d?_0x209201(_0x487505,_0xc54038):_0x487505,_0x5bcd1b=_0x207101[_0x5320bc(0x291)]-0x1,_0x23ac6a;_0x5bcd1b>=0x0;_0x5bcd1b--)(_0x23ac6a=_0x207101[_0x5bcd1b])&&(_0x2dc28f=_0x23ac6a(_0x2dc28f)||_0x2dc28f);return _0x2dc28f;},_0x21baf1=(_0x57fed4,_0x20aaf4)=>(_0x423f76,_0x1fb765)=>_0x20aaf4(_0x423f76,_0x1fb765,_0x57fed4);const _0x17c4f8=0x12c,_0x13caa1=0x64,_0x4efe1f=()=>{let _0x312837=[],_0x520438=!0x1;return _0x5badb4=>{_0x312837['push'](_0x5badb4),_0x520438||(_0x520438=!0x0,setTimeout(()=>{const _0x3b054e=_0x5ca7;_0x312837[_0x3b054e(0x1ba)](_0x463db0=>_0x463db0()),_0x312837=[],_0x520438=!0x1;}));};};let _0x33e4c1=class extends _0x1f0974['RxDisposable']{constructor(_0x2c1112,_0x3d368e,_0x2deb6b,_0x52b79d,_0x576ba7,_0x184035,_0x25900c,_0x4dc3df){const _0x1c9d2a=_0x28f4a5;super(),_0x264be0(this,_0x1c9d2a(0x1d0),!0x1),_0x264be0(this,_0x1c9d2a(0x203),!0x1),_0x264be0(this,'_cursorInfo$',new _0x48ec59[(_0x1c9d2a(0x21f))](new Map())),_0x264be0(this,_0x1c9d2a(0x19f),this[_0x1c9d2a(0x73)]['asObservable']()),_0x264be0(this,_0x1c9d2a(0x1cf),new _0x48ec59[(_0x1c9d2a(0x21f))]([])),_0x264be0(this,'roomMembers$',this[_0x1c9d2a(0x1cf)][_0x1c9d2a(0x11c)](_0x48ec59[_0x1c9d2a(0x181)](_0x17c4f8))),_0x264be0(this,_0x1c9d2a(0x89),_0x1f0974[_0x1c9d2a(0x301)]((_0x4822ff,_0x2485b2)=>{const _0x585309=_0x1c9d2a,_0x32a01c={'eventID':_0x22d2f7[_0x585309(0x277)][_0x585309(0xd5)],'data':{'unitID':this[_0x585309(0xc4)],'memberID':this[_0x585309(0x99)]['getMemberID'](),'selection':_0x30ba29[_0x585309(0x72)](_0x4822ff,_0x2485b2[_0x585309(0x12d)])}};this[_0x585309(0x99)][_0x585309(0x98)](_0x32a01c,this[_0x585309(0xc4)]);},_0x13caa1)),(this[_0x1c9d2a(0xc4)]=_0x2c1112,this[_0x1c9d2a(0x99)]=_0x3d368e,this[_0x1c9d2a(0x2f0)]=_0x2deb6b,this[_0x1c9d2a(0x23d)]=_0x52b79d,this['_memberService']=_0x576ba7,this[_0x1c9d2a(0x1bd)]=_0x184035,this[_0x1c9d2a(0x2d6)]=_0x25900c,this[_0x1c9d2a(0x9e)]=_0x4dc3df);}get[_0x28f4a5(0x2e6)](){const _0x25f3cc=_0x28f4a5;return this[_0x25f3cc(0x73)][_0x25f3cc(0x1df)]();}get['roomMembers'](){const _0xa72a2a=_0x28f4a5;return this[_0xa72a2a(0x1cf)]['getValue']();}[_0x28f4a5(0xdb)](){const _0x589fdc=_0x28f4a5;super[_0x589fdc(0xdb)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x589fdc(0x1cf)][_0x589fdc(0x283)]([]),this[_0x589fdc(0x1cf)][_0x589fdc(0xbe)]();}[_0x28f4a5(0x1db)](){const _0x4ce949=_0x28f4a5;this['_init']||(this[_0x4ce949(0x203)]=!0x0,this[_0x4ce949(0x99)][_0x4ce949(0x2df)][_0x4ce949(0x11c)](_0x48ec59[_0x4ce949(0x16a)](this[_0x4ce949(0x29f)]))[_0x4ce949(0x26e)](_0x45db90=>{const _0x491afe=_0x4ce949;_0x45db90===_0xec9e8c[_0x491afe(0x82)][_0x491afe(0x1f7)]?this[_0x491afe(0x112)]():this['_toggleOffline']();}),this[_0x4ce949(0x99)][_0x4ce949(0x121)][_0x4ce949(0x11c)](_0x48ec59[_0x4ce949(0x16a)](this[_0x4ce949(0x29f)]))['subscribe'](_0x3f5048=>{const _0x570b32=_0x4ce949,_0x37230a=_0x3f5048[_0x570b32(0x134)];_0x37230a===_0x22d2f7[_0x570b32(0x277)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3f5048),_0x37230a===_0x22d2f7['CollaborationEvent'][_0x570b32(0xf9)]&&this['_onCursorDelete'](_0x3f5048);}),this['_onRefRangeChange'](),this[_0x4ce949(0x2f6)](this[_0x4ce949(0x2d6)][_0x4ce949(0x22d)](_0x40c0a3=>{const _0x4ebe43=_0x4ce949;if(this[_0x4ebe43(0x1d0)]&&_0x40c0a3['id']===_0x21292e[_0x4ebe43(0x8e)]['id']&&_0x40c0a3[_0x4ebe43(0xf0)][_0x4ebe43(0x2cf)]===this['unitID']){const _0x1e1802=_0x40c0a3[_0x4ebe43(0xf0)];this[_0x4ebe43(0x89)](_0x1e1802[_0x4ebe43(0x1a7)],_0x1e1802[_0x4ebe43(0x104)][0x0]);}})));}[_0x28f4a5(0xa2)](_0xd665c0){const _0x1af216=_0x28f4a5;var _0x116ee7,_0xc82082;const {memberID:_0x1b7903,selection:_0x1cc34e}=_0xd665c0[_0x1af216(0x269)],{sheetName:_0x44d405,range:_0x1e0a28}=_0x30ba29[_0x1af216(0x153)](_0x1cc34e),_0x4051e0={'name':(_0xc82082=(_0x116ee7=this[_0x1af216(0x2cc)][_0x1af216(0x315)](this[_0x1af216(0xc4)],_0x1b7903))==null?void 0x0:_0x116ee7[_0x1af216(0x20a)])!=null?_0xc82082:_0x1af216(0x85),'range':this[_0x1af216(0x26a)](_0x44d405,_0x1e0a28),'sheetID':_0x44d405,'color':this[_0x1af216(0x23d)][_0x1af216(0xb3)](_0x1b7903),'selection':_0x1cc34e},_0x5c30ed=this[_0x1af216(0x2e6)];_0x5c30ed['set'](_0x1b7903,_0x4051e0),this[_0x1af216(0x73)]['next'](_0x5c30ed);}[_0x28f4a5(0x1ca)](_0x3f34ed){const _0x3db0f3=_0x28f4a5,{memberID:_0x4a730a}=_0x3f34ed['data'],_0x45d63d=this[_0x3db0f3(0x2e6)];_0x45d63d[_0x3db0f3(0x2b3)](_0x4a730a),this['_cursorInfo$'][_0x3db0f3(0x283)](_0x45d63d);}[_0x28f4a5(0x26a)](_0x3c4707,_0x25cb03){const _0x22a4fd=_0x28f4a5;var _0x6c9e2d,_0x13b5c3;const _0x21feb6=(_0x13b5c3=(_0x6c9e2d=this[_0x22a4fd(0x1bd)]['getUniverSheetInstance'](this[_0x22a4fd(0xc4)]))==null?void 0x0:_0x6c9e2d[_0x22a4fd(0x74)](_0x3c4707))==null?void 0x0:_0x13b5c3['getMergeData']();return(_0x21feb6==null?void 0x0:_0x21feb6[_0x22a4fd(0x81)](_0xff9f8e=>_0x1f0974['Rectangle'][_0x22a4fd(0x218)](_0xff9f8e,_0x25cb03)))||_0x25cb03;}[_0x28f4a5(0x195)](){const _0x493193=_0x28f4a5,_0x4bf4c6=new _0x1f0974[(_0x493193(0x261))](),_0x444a09=_0x4efe1f(),_0x1b3eb7=()=>{const _0x3c5698=_0x493193;_0x4bf4c6['dispose']();const _0x3ae910=(_0x5b54f1,_0x4dbe60,_0x35532a,_0x19697f)=>{const _0x2daca9=_0x5ca7;let _0x5a5e37=[];switch(_0x5b54f1['id']){case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x21a)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x161)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x1e1)]:{_0x5a5e37=_0x21292e['handleDeleteRangeMoveUp'](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)]['InsertColCommandId']:{_0x5a5e37=_0x21292e[_0x2daca9(0x220)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0xb1)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x141)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0xed)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x1ea)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x206)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2af)](_0x5b54f1,_0x19697f);break;}case _0x21292e['EffectRefRangId'][_0x2daca9(0x18c)]:{_0x5a5e37=_0x21292e[_0x2daca9(0xe1)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x7a)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2e8)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x12e)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2cd)](_0x5b54f1,_0x19697f);break;}}const _0x426eb5=_0x21292e[_0x2daca9(0x182)](_0x5a5e37,_0x19697f),_0x59ada1=this[_0x2daca9(0x2e6)][_0x2daca9(0x1ae)](_0x4dbe60);if(_0x59ada1&&_0x426eb5){const _0x499231={..._0x59ada1,'range':_0x426eb5};this[_0x2daca9(0x2e6)][_0x2daca9(0x1cd)](_0x4dbe60,_0x499231),_0x444a09(()=>{const _0x5caf9a=_0x2daca9,_0x12ca02=this[_0x5caf9a(0x9e)][_0x5caf9a(0x30a)](_0x426eb5,_0x577e9b=>(_0x12ca02['dispose'](),_0x3ae910(_0x577e9b,_0x4dbe60,_0x35532a,_0x426eb5)));_0x4bf4c6[_0x5caf9a(0x1a2)](_0x12ca02);});}return{'redos':[],'undos':[]};};this[_0x3c5698(0x2e6)][_0x3c5698(0x1ba)]((_0xfba754,_0x53d0f8)=>{const _0x3ff67d=_0x3c5698,{range:_0x58d620,sheetID:_0x49997a}=_0xfba754,_0x1678dd=this['_refRangeService'][_0x3ff67d(0x30a)](_0x58d620,_0x5052db=>(_0x1678dd[_0x3ff67d(0xdb)](),_0x3ae910(_0x5052db,_0x53d0f8,_0x49997a,_0x58d620)));_0x4bf4c6[_0x3ff67d(0x1a2)](_0x1678dd);});};this[_0x493193(0x2f6)](_0x1f0974[_0x493193(0x232)](this[_0x493193(0x73)][_0x493193(0x26e)](()=>{_0x1b3eb7();})));}[_0x28f4a5(0x112)](){const _0x4bbeb8=_0x28f4a5;var _0x24a85a,_0x1dd50e;if(this[_0x4bbeb8(0x1d0)]=!0x0,((_0x24a85a=this[_0x4bbeb8(0x1bd)][_0x4bbeb8(0x103)]())==null?void 0x0:_0x24a85a['getUnitId']())!==this['unitID'])return;const _0x2493a7=(_0x1dd50e=this['_injector']['get'](_0x21292e[_0x4bbeb8(0x20f)])[_0x4bbeb8(0xad)]())==null?void 0x0:_0x1dd50e[0x0],_0x5c7fd3=this[_0x4bbeb8(0x1bd)][_0x4bbeb8(0x262)](_0x1f0974['UniverInstanceType'][_0x4bbeb8(0x130)])[_0x4bbeb8(0x276)]();_0x2493a7&&_0x5c7fd3&&this[_0x4bbeb8(0x89)](_0x5c7fd3['getSheetId'](),_0x2493a7);}[_0x28f4a5(0x30f)](){const _0x3a773b=_0x28f4a5;this[_0x3a773b(0x1d0)]=!0x1;}};_0x33e4c1=_0x3446a6([_0x21baf1(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x21baf1(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x2d7c85)),_0x21baf1(0x4,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c['MemberService'])),_0x21baf1(0x5,_0x1f0974[_0x28f4a5(0x266)]),_0x21baf1(0x6,_0x1f0974[_0x28f4a5(0x145)]),_0x21baf1(0x7,_0x1f0974[_0x28f4a5(0x302)](_0x21292e[_0x28f4a5(0xd4)]))],_0x33e4c1);var _0x4f6992=Object[_0x28f4a5(0x2b1)],_0xf79982=(_0x152cb1,_0x15191f,_0x953555,_0x33e1e0)=>{const _0x46a481=_0x28f4a5;for(var _0x5bf96b=_0x33e1e0>0x1?void 0x0:_0x33e1e0?_0x4f6992(_0x15191f,_0x953555):_0x15191f,_0x10d5a2=_0x152cb1[_0x46a481(0x291)]-0x1,_0x5e95be;_0x10d5a2>=0x0;_0x10d5a2--)(_0x5e95be=_0x152cb1[_0x10d5a2])&&(_0x5bf96b=_0x5e95be(_0x5bf96b)||_0x5bf96b);return _0x5bf96b;},_0x4ec1c7=(_0x1aaf7e,_0x4462fe)=>(_0x54a6e3,_0x1d69f2)=>_0x4462fe(_0x54a6e3,_0x1d69f2,_0x1aaf7e);let _0x475645=class extends _0x1f0974['RxDisposable']{constructor(_0x4d6503,_0x571151,_0x246565){const _0x4ef1f0=_0x28f4a5;super(),_0x264be0(this,_0x4ef1f0(0x2ce),new Map()),_0x264be0(this,_0x4ef1f0(0x275),new _0x48ec59[(_0x4ef1f0(0x2f4))]()),(this[_0x4ef1f0(0x1bd)]=_0x4d6503,this['_injector']=_0x571151,this[_0x4ef1f0(0x214)]=_0x246565,this[_0x4ef1f0(0x203)]());}[_0x28f4a5(0xdb)](){const _0x47783b=_0x28f4a5;super[_0x47783b(0xdb)](),this[_0x47783b(0x275)][_0x47783b(0xbe)](),this['_entities'][_0x47783b(0x1ba)](_0x205b6d=>_0x205b6d[_0x47783b(0xdb)]());}[_0x28f4a5(0x1a3)](_0x4bbd95){const _0x32ac39=_0x28f4a5;return this[_0x32ac39(0x2ce)][_0x32ac39(0x2f8)](_0x4bbd95)?this['_entities'][_0x32ac39(0x1ae)](_0x4bbd95)['cursorInfo$']:this[_0x32ac39(0x275)][_0x32ac39(0x11c)](_0x48ec59[_0x32ac39(0x21e)](_0x2a8551=>_0x2a8551[_0x32ac39(0xc4)]===_0x4bbd95),_0x48ec59['switchMap'](_0x2a3423=>_0x2a3423[_0x32ac39(0x19f)]));}[_0x28f4a5(0x203)](){const _0x192d99=_0x28f4a5;this[_0x192d99(0x1bd)][_0x192d99(0x1d6)](_0x1f0974['UniverInstanceType'][_0x192d99(0x130)])[_0x192d99(0x11c)](_0x48ec59[_0x192d99(0x16a)](this[_0x192d99(0x29f)]))['subscribe'](async _0x52009f=>{const _0x4f5893=_0x192d99,_0x14d4ee=_0x52009f[_0x4f5893(0x10a)](),_0x312004=await this[_0x4f5893(0x138)](_0x14d4ee);this['_entityInit$'][_0x4f5893(0x283)](_0x312004),this[_0x4f5893(0x2ce)][_0x4f5893(0x1cd)](_0x14d4ee,_0x312004);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1f0974[_0x192d99(0x22a)][_0x192d99(0x1a5)])['pipe'](_0x48ec59[_0x192d99(0x16a)](this[_0x192d99(0x29f)]))[_0x192d99(0x11c)](_0x48ec59[_0x192d99(0x21e)](_0x475242=>!_0x475242[_0x192d99(0x10a)]()['startsWith']('__')))[_0x192d99(0x26e)](async _0x3fde5b=>{const _0x16243c=_0x192d99,_0x24691d=_0x3fde5b[_0x16243c(0x10a)](),_0x501824=await this[_0x16243c(0x270)](_0x24691d);this[_0x16243c(0x275)][_0x16243c(0x283)](_0x501824),this[_0x16243c(0x2ce)][_0x16243c(0x1cd)](_0x24691d,_0x501824);}),_0x48ec59['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0974[_0x192d99(0x22a)][_0x192d99(0x1a5)]),this[_0x192d99(0x1bd)][_0x192d99(0xe2)](_0x1f0974['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x48ec59['takeUntil'](this['dispose$']))[_0x192d99(0x26e)](_0x3a94a7=>{const _0x4caf21=_0x192d99,_0x45d613=_0x3a94a7[_0x4caf21(0x10a)](),_0x29a2e7=this['_entities'][_0x4caf21(0x1ae)](_0x45d613);_0x29a2e7&&(_0x29a2e7[_0x4caf21(0xdb)](),this[_0x4caf21(0x2ce)][_0x4caf21(0x2b3)](_0x45d613));});}async[_0x28f4a5(0x138)](_0x5d7bed){const _0x8ebb2f=_0x28f4a5,_0x39b599=await this[_0x8ebb2f(0x214)][_0x8ebb2f(0x288)](_0x5d7bed),_0x5c0f5c=this[_0x8ebb2f(0x2f0)][_0x8ebb2f(0x2fb)](_0x33e4c1,_0x5d7bed,_0x39b599);return _0x5c0f5c['init'](),_0x5c0f5c;}async[_0x28f4a5(0x270)](_0x41607f){const _0x471726=_0x28f4a5,_0x2e0c78=await this[_0x471726(0x214)]['requireSession'](_0x41607f),_0x39c9f6=this[_0x471726(0x2f0)]['createInstance'](_0x3c6ed9,_0x41607f,_0x2e0c78);return _0x39c9f6['init'](),_0x39c9f6;}};_0x475645=_0xf79982([_0x4ec1c7(0x0,_0x1f0974['IUniverInstanceService']),_0x4ec1c7(0x1,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x2a5)])),_0x4ec1c7(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x8b)]))],_0x475645);const _0x24b284=0x14,_0x4df9b4=0xc8,_0x2c6d30=0x4,_0x590c74=0x5;function _0x13a0fe(_0x129f9c,_0x5f3fff){const _0x545e8f=_0x28f4a5;let {radius:_0x2961b3,width:_0x15bce5,height:_0x3adcf}=_0x5f3fff;_0x2961b3=_0x2961b3!=null?_0x2961b3:0x0,_0x15bce5=_0x15bce5!=null?_0x15bce5:0x1e,_0x3adcf=_0x3adcf!=null?_0x3adcf:0x1e;let _0x9e7ed3=0x0,_0x1f296c=0x0,_0x2bdbfc=0x0;_0x9e7ed3=_0x1f296c=_0x2bdbfc=Math['min'](_0x2961b3,_0x15bce5/0x2,_0x3adcf/0x2),_0x129f9c[_0x545e8f(0x2ec)](),_0x129f9c[_0x545e8f(0x77)](_0x9e7ed3,0x0),_0x129f9c[_0x545e8f(0x106)](_0x15bce5-_0x1f296c,0x0),_0x129f9c[_0x545e8f(0x237)](_0x15bce5-_0x1f296c,_0x1f296c,_0x1f296c,Math['PI']*0x3/0x2,0x0,!0x1),_0x129f9c['lineTo'](_0x15bce5,_0x3adcf-_0x2bdbfc),_0x129f9c['arc'](_0x15bce5-_0x2bdbfc,_0x3adcf-_0x2bdbfc,_0x2bdbfc,0x0,Math['PI']/0x2,!0x1),_0x129f9c[_0x545e8f(0x106)](0x0,_0x3adcf),_0x129f9c['lineTo'](0x0,_0x9e7ed3),_0x129f9c[_0x545e8f(0x237)](_0x9e7ed3,_0x9e7ed3,_0x9e7ed3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x129f9c[_0x545e8f(0x289)](),_0x5f3fff[_0x545e8f(0xc6)]&&(_0x129f9c[_0x545e8f(0x1f2)](),_0x129f9c[_0x545e8f(0x183)]=_0x5f3fff[_0x545e8f(0xc6)],_0x5f3fff[_0x545e8f(0x1fa)]===_0x545e8f(0x176)?_0x129f9c[_0x545e8f(0xc6)]('evenodd'):_0x129f9c[_0x545e8f(0xc6)](),_0x129f9c[_0x545e8f(0x1c6)]());}class _0x466589 extends _0xea5c4f[_0x28f4a5(0x94)]{constructor(_0x4ce652,_0x1b145d){const _0x286e4f=_0x28f4a5;super(_0x4ce652,_0x1b145d),_0x264be0(this,_0x286e4f(0xe4)),_0x264be0(this,_0x286e4f(0x24c)),(this[_0x286e4f(0xe4)]=_0x1b145d==null?void 0x0:_0x1b145d[_0x286e4f(0xe4)],this['text']=_0x1b145d==null?void 0x0:_0x1b145d[_0x286e4f(0x24c)]);}static[_0x28f4a5(0x155)](_0x41ff83,_0x18c92c){const _0xc87186=_0x28f4a5,{text:_0x3dfc21,color:_0x444b4b}=_0x18c92c;_0x41ff83['save'](),_0x41ff83[_0xc87186(0x217)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2f9582=_0x41ff83[_0xc87186(0x23b)](_0x3dfc21)[_0xc87186(0x2c3)],_0x73faa7=Math[_0xc87186(0xfd)](_0x2f9582+0x2*_0x2c6d30,_0x4df9b4);_0x13a0fe(_0x41ff83,{'height':_0x24b284,'radius':0x4,'width':_0x73faa7,'fill':_0x444b4b}),_0x41ff83[_0xc87186(0x183)]=_0xc87186(0x151);const _0x3fa8c5=_0x2c6d30,_0x2b6d61=_0x24b284-_0x590c74,_0x1989e2=_0x4df9b4-0x2*_0x2c6d30;if(_0x2f9582>_0x1989e2){let _0x54a95e='',_0x14360e=0x0;for(const _0x401bf1 of _0x3dfc21){const _0x9c5555=_0x41ff83['measureText'](_0x401bf1)[_0xc87186(0x2c3)];if(_0x14360e+_0x9c5555<=_0x1989e2-_0x41ff83[_0xc87186(0x23b)](_0xc87186(0x243))[_0xc87186(0x2c3)])_0x54a95e+=_0x401bf1,_0x14360e+=_0x9c5555;else{_0x54a95e+=_0xc87186(0x243);break;}}_0x41ff83['fillText'](_0x54a95e,_0x3fa8c5,_0x2b6d61);}else _0x41ff83[_0xc87186(0x18d)](_0x3dfc21,_0x3fa8c5,_0x2b6d61);_0x41ff83[_0xc87186(0x1c6)]();}[_0x28f4a5(0x9a)](_0x1350e5){const _0x4ad2c1=_0x28f4a5;_0x466589[_0x4ad2c1(0x155)](_0x1350e5,this);}}const _0x3f408b=_0x28f4a5(0x18e),_0x346200=_0x28f4a5(0xf5),_0x1869a6=_0x28f4a5(0xb0),_0x17ee1a=0x6,_0x2e7835=1.5,_0x5cff99=0x4,_0x31d985=1.5,_0x374b6d=_0x28f4a5(0x79);class _0x546ec1{constructor(_0x1b81ea,_0x103543,_0x29f1bc,_0x4bb6f7){const _0x1425f7=_0x28f4a5;_0x264be0(this,_0x1425f7(0x30e),[]),_0x264be0(this,_0x1425f7(0x105),null),_0x264be0(this,_0x1425f7(0xaf),null),_0x264be0(this,_0x1425f7(0xda),null),_0x264be0(this,_0x1425f7(0x295),null),_0x264be0(this,'_eventUnsubscribe',null),(this[_0x1425f7(0x257)]=_0x1b81ea,this['_scene']=_0x103543,this[_0x1425f7(0x128)]=_0x29f1bc,this['_document']=_0x4bb6f7,this[_0x1425f7(0x2c6)]());}set['_hover'](_0x3d8b8e){const _0x58a19b=_0x28f4a5;_0x3d8b8e?(this[_0x58a19b(0xda)]&&this[_0x58a19b(0xda)][_0x58a19b(0x29d)](),this[_0x58a19b(0xaf)]&&this[_0x58a19b(0xaf)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x58a19b(0xd2)](),this['_textBubble']&&this[_0x58a19b(0xaf)][_0x58a19b(0x29d)]());}[_0x28f4a5(0xdb)](){const _0x44374d=_0x28f4a5;for(const _0x46c2eb of this[_0x44374d(0x30e)])_0x46c2eb[_0x44374d(0xdb)]();this[_0x44374d(0xaf)]&&this['_textBubble'][_0x44374d(0xdb)](),this[_0x44374d(0xda)]&&this[_0x44374d(0xda)][_0x44374d(0xdb)](),this['_anchor']&&this['_anchor'][_0x44374d(0xdb)](),this[_0x44374d(0x1b8)]&&this[_0x44374d(0x1b8)]();}[_0x28f4a5(0x2c6)](){const _0x10b1ff=_0x28f4a5;var _0x43d5e7;const {_docSkeleton:_0x345924,_document:_0x343a56}=this,{color:_0x260511,name:_0x416c5b,ranges:_0x290333}=this[_0x10b1ff(0x257)],_0xdcfdb5=_0x343a56['getOffsetConfig'](),{docsLeft:_0xad42c0,docsTop:_0x5e4ba8}=_0xdcfdb5,_0x308ecc=new _0x94087b[(_0x10b1ff(0x12a))](_0xdcfdb5,_0x345924);for(const {startOffset:_0x3b963d,endOffset:_0x3258e7,rangeType:_0x14c3a7,segmentId:_0x328f08,segmentPage:_0x1d74b2,collapsed:_0x5855f9,isActive:_0x4e2fd2}of _0x290333){const _0x5932c2=_0x345924[_0x10b1ff(0x7b)](_0x3b963d,!0x0,_0x328f08,_0x1d74b2);let _0x3ad6e8=_0x345924[_0x10b1ff(0x7b)](_0x3258e7,!0x0,_0x328f08,_0x1d74b2);if(_0x3ad6e8==null&&(_0x3ad6e8=_0x345924['findNodePositionByCharIndex'](_0x3258e7-0x1,!0x1,_0x328f08,_0x1d74b2)),_0x4e2fd2){const {contentBoxPointGroup:_0x189311}=_0x308ecc[_0x10b1ff(0x25d)](_0x3ad6e8,_0x3ad6e8);if(_0x189311[_0x10b1ff(0x291)]===0x0)continue;this[_0x10b1ff(0x10e)](_0x260511,_0x189311,_0xad42c0,_0x5e4ba8,_0x416c5b),this[_0x10b1ff(0x1b8)]=this[_0x10b1ff(0x13f)]();}if(_0x5932c2&&_0x3ad6e8){if(_0x14c3a7===_0x1f0974['DOC_RANGE_TYPE'][_0x10b1ff(0x2e5)]){const _0x55903e=new _0x94087b['NodePositionConvertToRectRange'](_0xdcfdb5,_0x345924),{pointGroup:_0x2fab03}=(_0x43d5e7=_0x55903e[_0x10b1ff(0x25d)](_0x5932c2,_0x3ad6e8))!=null?_0x43d5e7:{};if(_0x2fab03==null||_0x2fab03['length']===0x0)continue;this['_drawRectRange'](_0x260511,_0x2fab03,_0xad42c0,_0x5e4ba8);}else{if(!_0x5855f9){const {borderBoxPointGroup:_0xc40e1}=_0x308ecc[_0x10b1ff(0x25d)](_0x5932c2,_0x3ad6e8);if(_0xc40e1[_0x10b1ff(0x291)]===0x0)continue;this[_0x10b1ff(0x1f8)](_0x260511,_0xc40e1,_0xad42c0,_0x5e4ba8);}}}}}[_0x28f4a5(0x10e)](_0x3fa5c5,_0x4b61c2,_0x263c16,_0xe6d4b3,_0x30db93){const _0x3abbda=_0x28f4a5,_0x4c747c=this[_0x3abbda(0xe8)](_0x4b61c2),{left:_0x5733b4,top:_0x2aa623,height:_0x46e7cc}=_0x4c747c,_0x212a41=this[_0x3abbda(0xc9)](),_0x2d8a11=_0x31d985/_0x212a41,_0x48068f=new _0xea5c4f['Rect'](_0x3f408b+_0x1f0974[_0x3abbda(0x1dd)][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3,'height':_0x46e7cc,'width':_0x2e7835,'fill':_0x3fa5c5||_0xea5c4f['getColor'](_0x1f0974[_0x3abbda(0x1b3)]['black'],0x0),'strokeWidth':_0x2d8a11,'stroke':_0x374b6d,'evented':!0x0});this[_0x3abbda(0x105)]=_0x48068f,this[_0x3abbda(0x2b4)][_0x3abbda(0x29c)](_0x48068f,_0x94087b[_0x3abbda(0x2bb)]);const _0x1d9344=new _0xea5c4f[(_0x3abbda(0x68))](_0x3f408b+_0x1f0974['Tools'][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3-_0x5cff99/0x2,'height':_0x5cff99,'width':_0x5cff99,'fill':_0x3fa5c5||_0xea5c4f[_0x3abbda(0x144)](_0x1f0974[_0x3abbda(0x1b3)][_0x3abbda(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x3fa5c5||_0xea5c4f[_0x3abbda(0x144)](_0x1f0974['COLORS']['black'],0x0),'evented':!0x1});this[_0x3abbda(0xda)]=_0x1d9344,this['_scene']['addObject'](_0x1d9344,_0x94087b[_0x3abbda(0x2bb)]);const _0x510c4b=new _0x466589(_0x3f408b+_0x1f0974[_0x3abbda(0x1dd)][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3-_0x24b284,'text':_0x30db93,'color':_0x3fa5c5});this['_textBubble']=_0x510c4b,this['_scene'][_0x3abbda(0x29c)](_0x510c4b,_0x94087b['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x28f4a5(0x13f)](){const _0x552bd2=_0x28f4a5,_0x5be2cf=this[_0x552bd2(0x105)][_0x552bd2(0x12f)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x2c85af=this[_0x552bd2(0x105)][_0x552bd2(0x22e)][_0x552bd2(0x225)](()=>{const _0x5e164e=_0x552bd2;this['_hideTimer']&&clearTimeout(this[_0x5e164e(0x295)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c6477=_0x552bd2;_0x5be2cf[_0x1c6477(0xdd)](),_0x2c85af[_0x1c6477(0xdd)]();};}[_0x28f4a5(0x1f8)](_0x44e4c9,_0x1a6ac2,_0x3cc6c5,_0x35acbc){const _0x626f91=_0x28f4a5,_0x1e9dc6=new _0x1f0974[(_0x626f91(0x245))](_0x44e4c9)[_0x626f91(0x240)](0.2)[_0x626f91(0x6e)](),_0x178e7d=new _0xea5c4f['RegularPolygon'](_0x346200+_0x1f0974[_0x626f91(0x1dd)][_0x626f91(0x1fd)](_0x17ee1a),{'pointsGroup':_0x1a6ac2,'fill':_0x1e9dc6||_0xea5c4f['getColor'](_0x1f0974[_0x626f91(0x1b3)][_0x626f91(0x1f0)],0.2),'left':_0x3cc6c5,'top':_0x35acbc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x626f91(0x30e)][_0x626f91(0x110)](_0x178e7d),this[_0x626f91(0x2b4)]['addObject'](_0x178e7d,_0x94087b['TEXT_RANGE_LAYER_INDEX']);}[_0x28f4a5(0x265)](_0x2bf328,_0x4963fc,_0x38263a,_0x56dfdb){const _0x549f76=_0x28f4a5,_0x56b634=new _0x1f0974[(_0x549f76(0x245))](_0x2bf328)[_0x549f76(0x240)](0.2)[_0x549f76(0x6e)](),_0x166bb2=new _0xea5c4f['RegularPolygon'](_0x1869a6+_0x1f0974['Tools'][_0x549f76(0x1fd)](_0x17ee1a),{'pointsGroup':_0x4963fc,'fill':_0x56b634||_0xea5c4f[_0x549f76(0x144)](_0x1f0974[_0x549f76(0x1b3)][_0x549f76(0x1f0)],0.2),'left':_0x38263a,'top':_0x56dfdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x549f76(0x30e)][_0x549f76(0x110)](_0x166bb2),this[_0x549f76(0x2b4)][_0x549f76(0x29c)](_0x166bb2,_0x94087b[_0x549f76(0x2bb)]);}['_getAnchorBounding'](_0x5523a6){const _0x4755b3=_0x5523a6[0x0],_0x453aca=_0x4755b3[0x0],_0x203630=_0x4755b3[0x2],{x:_0x4f2481,y:_0x362875}=_0x453aca,{x:_0x28c7c1,y:_0x418c3b}=_0x203630;return{'left':_0x4f2481,'top':_0x362875,'width':_0x28c7c1-_0x4f2481,'height':_0x418c3b-_0x362875};}[_0x28f4a5(0xc9)](){const _0x1bebed=_0x28f4a5,{scaleX:_0x2f3e02,scaleY:_0x4e2d3f}=this[_0x1bebed(0x2b4)][_0x1bebed(0x305)]();return Math[_0x1bebed(0x263)](_0x2f3e02,_0x4e2d3f);}}var _0x341d68=Object[_0x28f4a5(0x2b1)],_0x25c132=(_0x2d7bac,_0x1d4d5d,_0x3306ac,_0x355dc5)=>{for(var _0xf51197=_0x355dc5>0x1?void 0x0:_0x355dc5?_0x341d68(_0x1d4d5d,_0x3306ac):_0x1d4d5d,_0xd8a1b0=_0x2d7bac['length']-0x1,_0x3780c9;_0xd8a1b0>=0x0;_0xd8a1b0--)(_0x3780c9=_0x2d7bac[_0xd8a1b0])&&(_0xf51197=_0x3780c9(_0xf51197)||_0xf51197);return _0xf51197;},_0x462bf7=(_0x2e88f8,_0x5a53a6)=>(_0x12d34a,_0x2f0904)=>_0x5a53a6(_0x12d34a,_0x2f0904,_0x2e88f8);let _0x282152=class extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(_0x42f08f,_0x8db8e3,_0x3625ea,_0x7cdafe,_0x29a0aa){const _0x12e651=_0x28f4a5;super(),_0x264be0(this,'_cursorShapes',[]),_0x264be0(this,_0x12e651(0x23a),[]),(this[_0x12e651(0xbc)]=_0x42f08f,this['_docSkeletonManagerService']=_0x8db8e3,this[_0x12e651(0xfa)]=_0x3625ea,this[_0x12e651(0x2d6)]=_0x7cdafe,this['_themeService']=_0x29a0aa,this[_0x12e651(0x203)]());}[_0x28f4a5(0x203)](){const _0x45ec29=_0x28f4a5,_0x1f5a83=this['_context'][_0x45ec29(0x2cf)],_0x2e8bf0=this[_0x45ec29(0xab)];this['disposeWithMe'](_0x48ec59['combineLatest']([this[_0x45ec29(0xfa)][_0x45ec29(0x1a3)](_0x1f5a83),this[_0x45ec29(0x227)][_0x45ec29(0xcd)]])[_0x45ec29(0x11c)](_0x10378c['map'](([_0x282abd,_0xbd6b56])=>({'skeleton':_0x2e8bf0[_0x45ec29(0x2ad)](),'cursors':[..._0x282abd['values']()][_0x45ec29(0x27d)](_0x175c19=>({..._0x175c19,'color':this[_0x45ec29(0x227)][_0x45ec29(0x2c2)](_0x175c19[_0x45ec29(0xe4)])}))})))[_0x45ec29(0x26e)](_0x28067e=>{const _0x3cbdb4=_0x45ec29;if(this[_0x3cbdb4(0xbf)](),_0x28067e){const {skeleton:_0x4af551,cursors:_0x5a1334}=_0x28067e;this[_0x3cbdb4(0x1b4)](_0x4af551,_0x5a1334);}})),this[_0x45ec29(0x10d)](),this[_0x45ec29(0x9b)]();}[_0x28f4a5(0x1b4)](_0x3a9883,_0x4493c5){const _0xd64d74=_0x28f4a5,{scene:_0x24e721,mainComponent:_0x188ada}=this[_0xd64d74(0xbc)],_0x50ef68=_0x4493c5[_0xd64d74(0x211)](_0x1f60b4=>new _0x546ec1(_0x1f60b4,_0x24e721,_0x3a9883,_0x188ada));this['_cursorShapes']=_0x50ef68,this['_cursors']=_0x4493c5;}[_0x28f4a5(0x25e)](){const _0x4f36f7=_0x28f4a5;this[_0x4f36f7(0xbf)]();const {scene:_0x108108,mainComponent:_0x454818}=this[_0x4f36f7(0xbc)],_0x32ce4e=this[_0x4f36f7(0xab)]['getSkeleton'](),_0x39adc8=this[_0x4f36f7(0x23a)]['map'](_0x1a1b61=>new _0x546ec1(_0x1a1b61,_0x108108,_0x32ce4e,_0x454818));this[_0x4f36f7(0x15b)]=_0x39adc8;}[_0x28f4a5(0xbf)](){const _0x2e8fd7=_0x28f4a5;this[_0x2e8fd7(0x15b)][_0x2e8fd7(0x1ba)](_0x2b848a=>_0x2b848a[_0x2e8fd7(0xdb)]()),this[_0x2e8fd7(0x15b)]=[];}[_0x28f4a5(0x9b)](){const _0x28e0fe=_0x28f4a5,_0x352cee=[_0x94087b[_0x28e0fe(0x118)]['id']];this['disposeWithMe'](this[_0x28e0fe(0x2d6)][_0x28e0fe(0x22d)](_0x6da818=>{const _0x4d20a8=_0x28e0fe;_0x352cee[_0x4d20a8(0x196)](_0x6da818['id'])&&_0x6da818[_0x4d20a8(0xf0)][_0x4d20a8(0x2cf)]===this[_0x4d20a8(0xbc)][_0x4d20a8(0x2cf)]&&this['_refreshCollabCursors']();}));}[_0x28f4a5(0x10d)](){const _0x1e6525=_0x28f4a5;this[_0x1e6525(0x2f6)](_0x1f0974[_0x1e6525(0xe3)](this[_0x1e6525(0xbc)]['engine']['onTransformChange$'])[_0x1e6525(0x11c)](_0x10378c[_0x1e6525(0x21e)](_0x82bae6=>_0x82bae6[_0x1e6525(0x175)]===_0xea5c4f[_0x1e6525(0x2da)][_0x1e6525(0x2c4)]),_0x10378c[_0x1e6525(0xe9)](0x10))[_0x1e6525(0x26e)](()=>{this['_refreshCollabCursors']();}));}};_0x282152=_0x25c132([_0x462bf7(0x1,_0x1f0974['Inject'](_0x307c6b[_0x28f4a5(0x2b8)])),_0x462bf7(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x475645)),_0x462bf7(0x3,_0x1f0974[_0x28f4a5(0x145)]),_0x462bf7(0x4,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x69)]))],_0x282152);const _0x225a0e=0x1,_0x1c7683=1.5;class _0xb7037c extends _0xea5c4f['Shape']{constructor(_0x5c0ab8,_0x33e9a5){const _0x1706a6=_0x28f4a5;super(_0x5c0ab8,_0x33e9a5),_0x264be0(this,_0x1706a6(0x123)),_0x264be0(this,_0x1706a6(0xa0),!0x1),_0x264be0(this,_0x1706a6(0xb2)),_0x264be0(this,_0x1706a6(0x11a),''),_0x264be0(this,'_labelPosition','top'),_0x264be0(this,'_backgroundColor'),(_0x33e9a5&&this[_0x1706a6(0x78)](_0x33e9a5),this[_0x1706a6(0x12f)][_0x1706a6(0x225)](()=>this[_0x1706a6(0x78)]({'hovered':!0x0})),this[_0x1706a6(0x22e)]['subscribeEvent'](()=>this[_0x1706a6(0x78)]({'hovered':!0x1})));}[_0x28f4a5(0x78)](_0x51a724){const _0xa314=_0x28f4a5;var _0x53954f,_0x207f61,_0x14a905,_0x41e6f8,_0x5e6e2e,_0x43379b;this[_0xa314(0x123)]=(_0x53954f=_0x51a724['color'])!=null?_0x53954f:this[_0xa314(0x123)],this[_0xa314(0xa0)]=(_0x207f61=_0x51a724[_0xa314(0x1a1)])!=null?_0x207f61:this[_0xa314(0xa0)],this[_0xa314(0xb2)]=(_0x14a905=_0x51a724[_0xa314(0x12d)])!=null?_0x14a905:this[_0xa314(0xb2)],this[_0xa314(0x11a)]=(_0x41e6f8=_0x51a724[_0xa314(0x20a)])!=null?_0x41e6f8:this[_0xa314(0x11a)],this['_labelPosition']=(_0x5e6e2e=_0x51a724[_0xa314(0xf7)])!=null?_0x5e6e2e:this[_0xa314(0x2d9)],this[_0xa314(0x2e0)]=(_0x43379b=_0x51a724[_0xa314(0x91)])!=null?_0x43379b:this[_0xa314(0x2e0)],this['transformByState']({'width':_0x51a724[_0xa314(0x2c3)],'height':_0x51a724[_0xa314(0x1a4)]});}[_0x28f4a5(0x25c)](_0x1187b8){const _0x50294d=_0x28f4a5,{row:_0x10e953,column:_0x3e7286}=_0x1187b8;if(_0x10e953>=this[_0x50294d(0xb2)][_0x50294d(0x1fb)]&&_0x10e953<=this[_0x50294d(0xb2)][_0x50294d(0x1f9)]&&_0x3e7286>=this[_0x50294d(0xb2)][_0x50294d(0x15f)]&&_0x3e7286<=this[_0x50294d(0xb2)][_0x50294d(0x2ed)]){this[_0x50294d(0x78)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x28f4a5(0x1fc)](_0x561408){return!0x1;}[_0x28f4a5(0x9a)](_0x58a78c){const _0x596b40=_0x28f4a5;_0xea5c4f[_0x596b40(0x68)]['drawWith'](_0x58a78c,{'width':this[_0x596b40(0x2c3)],'height':this[_0x596b40(0x1a4)],'strokeWidth':_0x1c7683,'stroke':this[_0x596b40(0x123)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x596b40(0xa0)]&&(_0x58a78c[_0x596b40(0x1f2)](),_0x58a78c[_0x596b40(0x310)](0x1,0x0,0x0,0x1,this[_0x596b40(0x2c3)],this[_0x596b40(0x2d9)]===_0x596b40(0x2a1)?0x0:-0x14),_0x466589[_0x596b40(0x155)](_0x58a78c,{'text':this[_0x596b40(0x11a)],'color':this['_color']}),_0x58a78c[_0x596b40(0x1c6)]());}}var _0x5aa759=Object[_0x28f4a5(0x2b1)],_0x12e008=(_0x15ef7e,_0x2ea393,_0x24e233,_0x35b596)=>{const _0x1841a4=_0x28f4a5;for(var _0x35fafe=_0x35b596>0x1?void 0x0:_0x35b596?_0x5aa759(_0x2ea393,_0x24e233):_0x2ea393,_0xa32232=_0x15ef7e[_0x1841a4(0x291)]-0x1,_0x499095;_0xa32232>=0x0;_0xa32232--)(_0x499095=_0x15ef7e[_0xa32232])&&(_0x35fafe=_0x499095(_0x35fafe)||_0x35fafe);return _0x35fafe;},_0x4f9dca=(_0x2d976,_0x35bc95)=>(_0x5ada00,_0x3cac31)=>_0x35bc95(_0x5ada00,_0x3cac31,_0x2d976);const _0xfba9b5=0x1389;let _0x44c668=class extends _0x1f0974['RxDisposable']{constructor(_0x52ce0f,_0x181f4a,_0x218ad8,_0x5a986b){const _0x576caa=_0x28f4a5;super(),_0x264be0(this,_0x576caa(0x23a),new Set()),_0x264be0(this,_0x576caa(0x84),null),(this[_0x576caa(0xbc)]=_0x52ce0f,this['_sheetSkeletonManagerService']=_0x181f4a,this[_0x576caa(0xfa)]=_0x218ad8,this['_themeService']=_0x5a986b,this['_init']());}['_init'](){const _0x2f0f68=_0x28f4a5;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x10378c[_0x2f0f68(0x16a)](this['dispose$']),_0x10378c[_0x2f0f68(0x2fe)](_0x223ad2=>{const _0x2d09cf=_0x2f0f68;if(_0x223ad2){const _0x5cff90=_0x223ad2[_0x2d09cf(0x314)];return _0x48ec59[_0x2d09cf(0x1c3)](this[_0x2d09cf(0xfa)][_0x2d09cf(0x1a3)](this[_0x2d09cf(0xbc)][_0x2d09cf(0x2cf)]),this[_0x2d09cf(0x227)]['currentTheme$'])[_0x2d09cf(0x11c)](_0x10378c[_0x2d09cf(0x211)](([_0x4670b6,_0x3cd218])=>{const _0x2873b1=new Map();return _0x4670b6['forEach']((_0x2c0363,_0x3fe8d7)=>{const _0x4d3b70=_0x5ca7;if(_0x2c0363['sheetID']===_0x5cff90){const _0x38dada={..._0x2c0363};_0x38dada['color']=this[_0x4d3b70(0x227)][_0x4d3b70(0x2c2)](_0x2c0363[_0x4d3b70(0xe4)]),_0x2873b1['set'](_0x3fe8d7,_0x38dada);}}),{'skeleton':_0x223ad2,'cursors':_0x2873b1};}));}return _0x48ec59['of']({'skeleton':null,'cursors':new Map()});}))[_0x2f0f68(0x26e)](({skeleton:_0x5e2491,cursors:_0x147cd5})=>{const _0x1fa9a2=_0x2f0f68;this['_removeCollabCursors'](),_0x5e2491&&this[_0x1fa9a2(0x1b4)](_0x5e2491,_0x147cd5);}),this[_0x2f0f68(0x1d9)][_0x2f0f68(0x28d)][_0x2f0f68(0x26e)](_0x2e440c=>{const _0x2ae818=_0x2f0f68;if(_0x2e440c==null)return;const {skeleton:_0x90c3a8}=_0x2e440c,{scene:_0x48ac65}=this[_0x2ae818(0xbc)];_0x48ac65[_0x2ae818(0x132)][_0x2ae818(0x225)](_0x1f0974[_0x2ae818(0x301)](_0x350290=>{const _0x4012d1=_0x2ae818;var _0x30542d,_0x4f521b;const {offsetX:_0x564c2d,offsetY:_0x56a6db}=_0x350290,{x:_0x1bf2ce,y:_0xd8aa96}=_0x48ac65[_0x4012d1(0x20e)](_0xea5c4f[_0x4012d1(0x11e)]['FromArray']([_0x564c2d,_0x56a6db])),{scaleX:_0x42ec06,scaleY:_0x4435e3}=_0x48ac65[_0x4012d1(0x305)](),_0x16cc57=_0x48ac65[_0x4012d1(0x10b)](_0xea5c4f[_0x4012d1(0x1c0)]['VIEW_MAIN']),_0x125758=_0x48ac65['getVpScrollXYInfoByPosToVp'](_0xea5c4f['Vector2']['FromArray']([_0x1bf2ce,_0xd8aa96]),_0x16cc57),_0x1c8f6f=_0x90c3a8[_0x4012d1(0x2bd)](_0x564c2d,_0x56a6db,_0x42ec06,_0x4435e3,_0x125758);((_0x30542d=this[_0x4012d1(0x84)])==null?void 0x0:_0x30542d[_0x4012d1(0x2d5)])===_0x1c8f6f['column']&&((_0x4f521b=this[_0x4012d1(0x84)])==null?void 0x0:_0x4f521b[_0x4012d1(0x92)])===_0x1c8f6f[_0x4012d1(0x92)]||this[_0x4012d1(0x23a)][_0x4012d1(0x1ba)](_0x8d171f=>{const _0x135d9d=_0x4012d1;_0x8d171f[_0x135d9d(0x25c)](_0x1c8f6f);});},0x64));});}['_updateCollabCursors'](_0x45d0ec,_0xcafe12){const _0x1fd9fb=_0x28f4a5;var _0x1a7abb;const _0x3c79c4=(_0x1a7abb=this['_sheetSkeletonManagerService'][_0x1fd9fb(0x274)]())==null?void 0x0:_0x1a7abb[_0x1fd9fb(0x88)];if(!_0x3c79c4)return;const _0x5b79be=this[_0x1fd9fb(0x2e1)]();if(!_0x5b79be)return;this[_0x1fd9fb(0x23a)][_0x1fd9fb(0x1ba)](_0x204f46=>{_0x204f46['makeDirty']();});const {scene:_0x16e1d6}=_0x5b79be,_0x361709=_0x2cbc32(Array[_0x1fd9fb(0x178)](_0xcafe12[_0x1fd9fb(0x271)]()))[_0x1fd9fb(0x211)](_0x1514c3=>{const _0x2f7818=_0x1fd9fb,{color:_0x5da562,range:_0x2a5e82,name:_0x3f07ab,selection:_0x2be5b5,sheetID:_0x5d6535}=_0x1514c3,{startColumn:_0x4977c3,startRow:_0x3207b6,endColumn:_0x1b4e87,endRow:_0x53e314}=_0x2a5e82,_0x10c573=_0x5567d2['getCoordByCell'](_0x3207b6,_0x4977c3,_0x16e1d6,_0x3c79c4),_0x442ae0=_0x5567d2[_0x2f7818(0x11b)](_0x53e314,_0x1b4e87,_0x16e1d6,_0x3c79c4),{columnHeaderHeightAndMarginTop:_0x9da923}=_0x3c79c4,{startX:_0x5af250,startY:_0x5c433e}=_0x10c573,{endX:_0x3cd7dd,endY:_0x5385f8}=_0x442ae0,_0x368434=_0x3cd7dd-_0x5af250,_0x4a660f=_0x5385f8-_0x5c433e,_0x2e08f9={'labelPosition':_0x5c433e-_0x9da923>=_0x24b284?'top':_0x2f7818(0x2a1),'sheetID':_0x5d6535,'range':_0x2a5e82,'color':_0x5da562,'name':_0x3f07ab,'selection':_0x2be5b5,'left':_0x5af250,'top':_0x5c433e,'width':_0x368434,'height':_0x4a660f,'evented':!0x1,'zIndex':_0xfba9b5};return new _0xb7037c(_0x3f07ab,_0x2e08f9);});_0x16e1d6[_0x1fd9fb(0x230)](_0x361709,_0x225a0e),this[_0x1fd9fb(0x23a)]=new Set(_0x361709);}[_0x28f4a5(0xbf)](){const _0xf74f0a=_0x28f4a5;var _0x2c00d7;(_0x2c00d7=this['_cursors'])==null||_0x2c00d7[_0xf74f0a(0x1ba)](_0x3fb632=>_0x3fb632['dispose']());}[_0x28f4a5(0x2e1)](){const _0x42a3c0=_0x28f4a5;return _0x5567d2[_0x42a3c0(0x200)](this['_context']['unit'],this[_0x42a3c0(0xbc)]);}};_0x44c668=_0x12e008([_0x4f9dca(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x5567d2[_0x28f4a5(0x142)])),_0x4f9dca(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x475645)),_0x4f9dca(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x69)]))],_0x44c668);function _0x2cbc32(_0x367d57){const _0x15ab75=_0x28f4a5,_0x577770=new Map();return _0x367d57[_0x15ab75(0x1ba)](_0x282ae0=>{const _0x2f32a=_0x15ab75;if(_0x577770[_0x2f32a(0x2f8)](_0x282ae0[_0x2f32a(0x29b)])){const _0x11af82=_0x577770['get'](_0x282ae0[_0x2f32a(0x29b)]);_0x11af82[_0x2f32a(0x20a)]+=',\x20'+_0x282ae0[_0x2f32a(0x20a)];}else _0x577770[_0x2f32a(0x1cd)](_0x282ae0[_0x2f32a(0x29b)],_0x282ae0);}),Array['from'](_0x577770[_0x15ab75(0x271)]());}var _0x1864d4=function(){const _0x52d2a7=_0x28f4a5;return _0x1864d4=Object[_0x52d2a7(0x2ea)]||function(_0x31a8d1){const _0x52c1a7=_0x52d2a7;for(var _0x2acc0c,_0x512885=0x1,_0x88da1f=arguments[_0x52c1a7(0x291)];_0x512885<_0x88da1f;_0x512885++){_0x2acc0c=arguments[_0x512885];for(var _0x45182b in _0x2acc0c)Object[_0x52c1a7(0x264)][_0x52c1a7(0x149)][_0x52c1a7(0x1e4)](_0x2acc0c,_0x45182b)&&(_0x31a8d1[_0x45182b]=_0x2acc0c[_0x45182b]);}return _0x31a8d1;},_0x1864d4[_0x52d2a7(0x2dd)](this,arguments);},_0x303fe6=function(_0x2426e2,_0x2c0f90){const _0x41a2af=_0x28f4a5;var _0x373e43={};for(var _0x58fdc3 in _0x2426e2)Object[_0x41a2af(0x264)][_0x41a2af(0x149)][_0x41a2af(0x1e4)](_0x2426e2,_0x58fdc3)&&_0x2c0f90[_0x41a2af(0xac)](_0x58fdc3)<0x0&&(_0x373e43[_0x58fdc3]=_0x2426e2[_0x58fdc3]);if(_0x2426e2!=null&&typeof Object[_0x41a2af(0x15c)]==_0x41a2af(0x1e7)){for(var _0x2acf29=0x0,_0x58fdc3=Object[_0x41a2af(0x15c)](_0x2426e2);_0x2acf29<_0x58fdc3['length'];_0x2acf29++)_0x2c0f90['indexOf'](_0x58fdc3[_0x2acf29])<0x0&&Object[_0x41a2af(0x264)][_0x41a2af(0x19a)]['call'](_0x2426e2,_0x58fdc3[_0x2acf29])&&(_0x373e43[_0x58fdc3[_0x2acf29]]=_0x2426e2[_0x58fdc3[_0x2acf29]]);}return _0x373e43;},_0x2d19b2=_0x43f677[_0x28f4a5(0x8d)](function(_0x4b7fa5,_0x60258b){const _0x352a77=_0x28f4a5;var _0x3bf8b9=_0x4b7fa5[_0x352a77(0x235)],_0x216b27=_0x4b7fa5['id'],_0x306e27=_0x4b7fa5[_0x352a77(0xfc)],_0x28fd10=_0x4b7fa5['extend'],_0x185dae=_0x303fe6(_0x4b7fa5,[_0x352a77(0x235),'id',_0x352a77(0xfc),_0x352a77(0x2f2)]),_0x3a4ed3=_0x352a77(0x70)[_0x352a77(0x290)](_0x216b27,'\x20')['concat'](_0x306e27||'')[_0x352a77(0x1c1)](),_0x54f5b0=_0x43f677['useRef']('_'[_0x352a77(0x290)](_0x2980d4()));return _0x492296(_0x3bf8b9,''['concat'](_0x216b27),{'defIds':_0x3bf8b9['defIds'],'idSuffix':_0x54f5b0[_0x352a77(0xe6)]},_0x1864d4({'ref':_0x60258b,'className':_0x3a4ed3},_0x185dae),_0x28fd10);});function _0x492296(_0x1f80ff,_0x536432,_0x8cea80,_0x488008,_0x445d53){const _0x1c0d1f=_0x28f4a5;return _0x43f677[_0x1c0d1f(0x1e9)](_0x1f80ff[_0x1c0d1f(0x213)],_0x1864d4(_0x1864d4({'key':_0x536432},_0x108633(_0x1f80ff,_0x8cea80,_0x445d53)),_0x488008),(_0x5a4d03(_0x1f80ff,_0x8cea80)[_0x1c0d1f(0x71)]||[])[_0x1c0d1f(0x211)](function(_0x32df53,_0x42c7d9){const _0x1a349d=_0x1c0d1f;return _0x492296(_0x32df53,''['concat'](_0x536432,'-')[_0x1a349d(0x290)](_0x1f80ff[_0x1a349d(0x213)],'-')[_0x1a349d(0x290)](_0x42c7d9),_0x8cea80,void 0x0,_0x445d53);}));}function _0x108633(_0xc7bbd7,_0x2937a6,_0x5de525){const _0x193239=_0x28f4a5;var _0x1e431a=_0x1864d4({},_0xc7bbd7[_0x193239(0xee)]);_0x5de525!=null&&_0x5de525[_0x193239(0x24a)]&&_0x1e431a['fill']===_0x193239(0x24a)&&(_0x1e431a[_0x193239(0xc6)]=_0x5de525[_0x193239(0x24a)]),_0xc7bbd7[_0x193239(0x213)]===_0x193239(0xbb)&&_0x1e431a['id']&&(_0x1e431a['id']=_0x1e431a['id']+_0x2937a6[_0x193239(0xf8)]),Object[_0x193239(0x1a9)](_0x1e431a)[_0x193239(0x1ba)](function(_0x298d4f){const _0x47b1e0=_0x193239;var _0x3bafac=_0x298d4f[0x0],_0x485e52=_0x298d4f[0x1];_0x3bafac==='mask'&&typeof _0x485e52==_0x47b1e0(0x113)&&(_0x1e431a[_0x3bafac]=_0x485e52[_0x47b1e0(0x2f7)](/url\(#(.*)\)/,_0x47b1e0(0xce)[_0x47b1e0(0x290)](_0x2937a6[_0x47b1e0(0xf8)],')')));});var _0x1d5b73=_0x2937a6[_0x193239(0x188)];return!_0x1d5b73||_0x1d5b73[_0x193239(0x291)]===0x0||(_0xc7bbd7[_0x193239(0x213)]===_0x193239(0x2c8)&&_0x1e431a[_0x193239(0x20d)]&&(_0x1e431a[_0x193239(0x20d)]=_0x1e431a[_0x193239(0x20d)]+_0x2937a6[_0x193239(0xf8)]),Object['entries'](_0x1e431a)[_0x193239(0x1ba)](function(_0x48cf65){const _0x4956c9=_0x193239;var _0x220e00=_0x48cf65[0x0],_0x2886b7=_0x48cf65[0x1];typeof _0x2886b7=='string'&&(_0x1e431a[_0x220e00]=_0x2886b7['replace'](/url\(#(.*)\)/,_0x4956c9(0xce)[_0x4956c9(0x290)](_0x2937a6['idSuffix'],')')));})),_0x1e431a;}function _0x5a4d03(_0x291aee,_0x357154){const _0x265460=_0x28f4a5;var _0x505b50,_0x4ed6af=_0x357154['defIds'];return!_0x4ed6af||_0x4ed6af[_0x265460(0x291)]===0x0?_0x291aee:_0x291aee[_0x265460(0x213)]===_0x265460(0xd9)&&(!((_0x505b50=_0x291aee['children'])===null||_0x505b50===void 0x0)&&_0x505b50[_0x265460(0x291)])?_0x1864d4(_0x1864d4({},_0x291aee),{'children':_0x291aee[_0x265460(0x71)][_0x265460(0x211)](function(_0x295755){const _0x56f4d4=_0x265460;return typeof _0x295755[_0x56f4d4(0xee)]['id']==_0x56f4d4(0x113)&&_0x4ed6af&&_0x4ed6af[_0x56f4d4(0x196)](_0x295755['attrs']['id'])?_0x1864d4(_0x1864d4({},_0x295755),{'attrs':_0x1864d4(_0x1864d4({},_0x295755[_0x56f4d4(0xee)]),{'id':_0x295755[_0x56f4d4(0xee)]['id']+_0x357154[_0x56f4d4(0xf8)]})}):_0x295755;})}):_0x291aee;}function _0x2980d4(){const _0x567297=_0x28f4a5;return Math[_0x567297(0x27c)]()[_0x567297(0x29e)](0x24)[_0x567297(0xa4)](0x2,0x8);}_0x2d19b2[_0x28f4a5(0x1c9)]='UniverIcon';var _0x1d197f={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28f4a5(0x158),'viewBox':_0x28f4a5(0x1fe),'width':_0x28f4a5(0x2d1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28f4a5(0x18a)},'children':[{'tag':_0x28f4a5(0xf3),'attrs':{'stroke':_0x28f4a5(0x258),'d':_0x28f4a5(0x2b6),'strokeLinecap':_0x28f4a5(0x2dc),'strokeLinejoin':_0x28f4a5(0x2dc),'strokeWidth':1.2}}]},{'tag':_0x28f4a5(0xd9),'attrs':{},'children':[{'tag':_0x28f4a5(0x1f3),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x28f4a5(0x1af),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x28f4a5(0x1d5)]},_0x8d95bb=_0x43f677[_0x28f4a5(0x8d)](function(_0x1e19da,_0x468307){const _0x2d2c1c=_0x28f4a5;return _0x43f677['createElement'](_0x2d19b2,Object['assign']({},_0x1e19da,{'id':_0x2d2c1c(0x24e),'ref':_0x468307,'icon':_0x1d197f}));});_0x8d95bb[_0x28f4a5(0x1c9)]=_0x28f4a5(0x1ad);var _0x46acf3={'tag':'svg','attrs':{'xmlns':_0x28f4a5(0x162),'fill':_0x28f4a5(0x158),'viewBox':_0x28f4a5(0x1cc),'width':_0x28f4a5(0x2d1),'height':_0x28f4a5(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x28f4a5(0x25f)},'children':[{'tag':'path','attrs':{'stroke':_0x28f4a5(0x258),'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':'round','strokeLinejoin':_0x28f4a5(0x2dc),'strokeWidth':1.2}}]},{'tag':_0x28f4a5(0xd9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x28f4a5(0x268)},'children':[{'tag':_0x28f4a5(0xf3),'attrs':{'fill':_0x28f4a5(0x1af),'d':_0x28f4a5(0x248),'transform':_0x28f4a5(0x1b5)}}]}]}],'defIds':[_0x28f4a5(0x268)]},_0x35c13a=_0x43f677['forwardRef'](function(_0x22d478,_0x528b85){return _0x43f677['createElement'](_0x2d19b2,Object['assign']({},_0x22d478,{'id':'on-line-icon','ref':_0x528b85,'icon':_0x46acf3}));});_0x35c13a['displayName']=_0x28f4a5(0x18f);function _0x97b1f9(_0x3828cf){const _0x4bf088=_0x28f4a5;switch(_0x3828cf){case _0xec9e8c['CollaborationStatus'][_0x4bf088(0x1e8)]:return _0x4bf088(0x167);case _0xec9e8c[_0x4bf088(0x2ac)]['CONFLICT']:return _0x4bf088(0x1ac);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x2db)]:return'collabStatus.fetchMiss';case _0xec9e8c['CollaborationStatus'][_0x4bf088(0x129)]:return _0x4bf088(0x136);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x124)]:case _0xec9e8c[_0x4bf088(0x2ac)]['AWAITING_WITH_PENDING']:return _0x4bf088(0x2d0);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x97)]:case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x12c)]:return'collabStatus.synced';}}function _0x225d9d(_0x439881){const _0x5843c3=_0x28f4a5,{status$:_0x3c31dc}=_0x439881,_0x2b2f68=_0xc1035a['useObservable'](_0x3c31dc,_0xec9e8c['CollaborationStatus'][_0x5843c3(0x129)]),_0x13d549=_0xc1035a[_0x5843c3(0x14f)](_0x1f0974['LocaleService']),_0x3a5073=_0xc1035a[_0x5843c3(0x14f)](_0xec9e8c[_0x5843c3(0x8b)]),_0x3be435=_0x2b2f68!==_0xec9e8c[_0x5843c3(0x2ac)]['OFFLINE'],_0x4d9c38=_0x13d549['t'](_0x97b1f9(_0x2b2f68)),_0x107d0a=_0x3be435?_0x250e26[_0x5843c3(0x2d4)](_0x35c13a,{}):_0x250e26['jsx'](_0x8d95bb,{}),_0x111fe1=_0x43f677[_0x5843c3(0x75)](()=>{const _0x91b884=_0x5843c3;_0x3be435||_0x3a5073[_0x91b884(0xc8)]();},[_0x3be435,_0x3a5073]);function _0x11bf71(){const _0x17e3a4=_0x5843c3;return _0x250e26[_0x17e3a4(0x14c)](_0x17e3a4(0x292),{'className':_0x17e3a4(0x156),'onClick':_0x111fe1,'children':[_0x250e26['jsx'](_0x17e3a4(0x292),{'className':_0x35f566['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3be435,'univer-text-red-500':!_0x3be435}),'children':_0x107d0a}),_0x250e26[_0x17e3a4(0x2d4)]('div',{'className':_0x17e3a4(0x27b),'children':_0x4d9c38})]});}return _0x3be435?_0x11bf71():_0x250e26[_0x5843c3(0x2d4)](_0x35f566['Tooltip'],{'title':_0x13d549['t'](_0x5843c3(0xcc)),'children':_0x11bf71()});}var _0x548a19=Object[_0x28f4a5(0x2b1)],_0x5a4b7e=(_0x1254cc,_0x5302c6,_0x374d6e,_0xf87e0c)=>{const _0x32c345=_0x28f4a5;for(var _0x313023=_0xf87e0c>0x1?void 0x0:_0xf87e0c?_0x548a19(_0x5302c6,_0x374d6e):_0x5302c6,_0x330f33=_0x1254cc[_0x32c345(0x291)]-0x1,_0x59ada2;_0x330f33>=0x0;_0x330f33--)(_0x59ada2=_0x1254cc[_0x330f33])&&(_0x313023=_0x59ada2(_0x313023)||_0x313023);return _0x313023;},_0x1dabf9=(_0x42e0df,_0x23a899)=>(_0x33ce2f,_0x2047cb)=>_0x23a899(_0x33ce2f,_0x2047cb,_0x42e0df);_0x35b504[_0x28f4a5(0x76)]=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x3f09dd,_0x1c8158,_0xc0c6f6,_0x12b156){const _0x3905ce=_0x28f4a5;super(),_0x264be0(this,_0x3905ce(0x1ab),new _0x48ec59[(_0x3905ce(0x21f))](_0xec9e8c[_0x3905ce(0x2ac)][_0x3905ce(0x129)])),(this[_0x3905ce(0x1bd)]=_0x3f09dd,this[_0x3905ce(0x2f0)]=_0x1c8158,this[_0x3905ce(0x146)]=_0xc0c6f6,this[_0x3905ce(0x2f5)]=_0x12b156,this['_initStatusComponent'](),this[_0x3905ce(0x19e)]());}[_0x28f4a5(0x19e)](){const _0xf9b051=_0x28f4a5;this['disposeWithMe'](this[_0xf9b051(0x1bd)]['focused$'][_0xf9b051(0x11c)](_0x48ec59['switchMap'](()=>{const _0x5cfe10=_0xf9b051,_0x1c0533=this[_0x5cfe10(0x1bd)]['getFocusedUnit']();return _0x1c0533?this[_0x5cfe10(0x146)]['getCollabEntity$'](_0x1c0533[_0x5cfe10(0x10a)]()):_0x48ec59['of'](null);}),_0x48ec59[_0xf9b051(0x2fe)](_0xee6088=>_0xee6088?_0xee6088[_0xf9b051(0x2e7)]:_0x48ec59['of'](_0xec9e8c[_0xf9b051(0x2ac)][_0xf9b051(0x129)])))[_0xf9b051(0x26e)](_0xf8d2cc=>{const _0x4ecf2b=_0xf9b051;this[_0x4ecf2b(0x1ab)][_0x4ecf2b(0x283)](_0xf8d2cc);}));}[_0x28f4a5(0x284)](){const _0x2104c6=_0x28f4a5;this[_0x2104c6(0x2f6)](this['_uiPartsService'][_0x2104c6(0xc0)](_0xc1035a[_0x2104c6(0x1d3)][_0x2104c6(0x15d)],()=>_0xc1035a[_0x2104c6(0x7c)](_0x4706c3({'status$':this['_status$'][_0x2104c6(0xc3)]()}),this[_0x2104c6(0x2f0)])));}},_0x35b504[_0x28f4a5(0x76)]=_0x5a4b7e([_0x1dabf9(0x0,_0x1f0974['IUniverInstanceService']),_0x1dabf9(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x1dabf9(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c['CollaborationController'])),_0x1dabf9(0x3,_0xc1035a[_0x28f4a5(0x107)])],_0x35b504['DesktopCollaborationStatusDisplayController']);function _0x4706c3(_0x43a541){const {status$:_0x54b59f}=_0x43a541;return function(){const _0x19329a=_0x5ca7;return _0x250e26[_0x19329a(0x2d4)](_0x225d9d,{'status$':_0x54b59f});};}var _0x1d87aa=Object[_0x28f4a5(0x2b1)],_0x333535=(_0x1f2e9c,_0x363d61,_0x5e1a21,_0x1466e8)=>{const _0x389f60=_0x28f4a5;for(var _0x5b8289=_0x1466e8>0x1?void 0x0:_0x1466e8?_0x1d87aa(_0x363d61,_0x5e1a21):_0x363d61,_0x5cfe3a=_0x1f2e9c[_0x389f60(0x291)]-0x1,_0x31ef67;_0x5cfe3a>=0x0;_0x5cfe3a--)(_0x31ef67=_0x1f2e9c[_0x5cfe3a])&&(_0x5b8289=_0x31ef67(_0x5b8289)||_0x5b8289);return _0x5b8289;},_0x4d118d=(_0x26e957,_0x2004bd)=>(_0x2541b2,_0x22858b)=>_0x2004bd(_0x2541b2,_0x22858b,_0x26e957);let _0x46e5e5=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x14afc8,_0x3f0c89,_0x154c52,_0x2b6dd2,_0x2a834f,_0x3eb950){const _0x23b5a1=_0x28f4a5;super(),this[_0x23b5a1(0x119)]=_0x14afc8,this[_0x23b5a1(0x13e)]=_0x3f0c89,this[_0x23b5a1(0x95)]=_0x154c52,this[_0x23b5a1(0x1d1)]=_0x2b6dd2,this['_notificationService']=_0x2a834f,this[_0x23b5a1(0x127)]=_0x3eb950,this[_0x23b5a1(0x1ef)](),this[_0x23b5a1(0x2ae)]();}[_0x28f4a5(0x1ef)](){const _0x5953f6=_0x28f4a5;this['disposeWithMe'](this[_0x5953f6(0x119)]['registerBeforeClose'](()=>{const _0x8c8747=_0x5953f6;if(this[_0x8c8747(0x13e)][_0x8c8747(0x273)]['size'])return this[_0x8c8747(0x127)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2bf7b1=_0x28f4a5;this['disposeWithMe'](this[_0x2bf7b1(0x95)][_0x2bf7b1(0x121)][_0x2bf7b1(0x26e)](_0x28825e=>{const _0x4575a7=_0x2bf7b1;_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0x2b0)]&&this[_0x4575a7(0x1d1)]['show']({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x157))}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0xc1)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x11f))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x7e)]&&this[_0x4575a7(0x2aa)][_0x4575a7(0xd2)]({'title':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x255)),'content':this[_0x4575a7(0x127)]['t']('permission.content'),'type':_0x4575a7(0xf4),'duration':0x0}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0xff)]&&this['_messageService']['show']({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x20c)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x11f))+'('+_0x28825e[_0x4575a7(0x269)]+')'}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x2eb)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x28825e[_0x4575a7(0x269)]||'')}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0x2a3)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0xec))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x260)]&&this[_0x4575a7(0x1d1)]['show']({'type':_0x35f566['MessageType'][_0x4575a7(0x20c)],'content':this['_localeService']['t'](_0x4575a7(0xd3))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x1f5)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x20c)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x24b))});}));}};_0x46e5e5=_0x333535([_0x4d118d(0x0,_0xc1035a[_0x28f4a5(0x249)]),_0x4d118d(0x1,_0xec9e8c['ILocalCacheService']),_0x4d118d(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x14a)])),_0x4d118d(0x3,_0xc1035a['IMessageService']),_0x4d118d(0x4,_0xc1035a[_0x28f4a5(0x27e)]),_0x4d118d(0x5,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['LocaleService']))],_0x46e5e5);const _0x3f6f88=_0x28f4a5(0x2a9),_0x52f91b={},_0x4d62b6=_0x1f0974[_0x28f4a5(0x244)](_0x28f4a5(0x246));var _0x1100a2=Object[_0x28f4a5(0x2b1)],_0x5de526=(_0x4a2dbd,_0x8e5f4a,_0x45b3fe,_0x39298a)=>{const _0x35d49e=_0x28f4a5;for(var _0x4b82e9=_0x39298a>0x1?void 0x0:_0x39298a?_0x1100a2(_0x8e5f4a,_0x45b3fe):_0x8e5f4a,_0x4e6bb0=_0x4a2dbd[_0x35d49e(0x291)]-0x1,_0x59cc1c;_0x4e6bb0>=0x0;_0x4e6bb0--)(_0x59cc1c=_0x4a2dbd[_0x4e6bb0])&&(_0x4b82e9=_0x59cc1c(_0x4b82e9)||_0x4b82e9);return _0x4b82e9;},_0x266115=(_0x32f978,_0x2104d9)=>(_0x51cbb9,_0x1d2c79)=>_0x2104d9(_0x51cbb9,_0x1d2c79,_0x32f978);_0x35b504['CollaborationDataLoaderController']=class extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(_0x488552,_0x27eeda,_0x17223b,_0x1f07e5,_0x110adf){const _0xcdbe8=_0x28f4a5;super(),this[_0xcdbe8(0x90)]=_0x488552,this['_logService']=_0x27eeda,this[_0xcdbe8(0x2d6)]=_0x17223b,this[_0xcdbe8(0x229)]=_0x1f07e5,_0x110adf?_0x110adf==null||_0x110adf[_0xcdbe8(0xef)]()[_0xcdbe8(0x223)](()=>this['_init']()):(this['_logService'][_0xcdbe8(0x80)](_0xcdbe8(0x1dc),_0xcdbe8(0x1e2)),this['_init']());}async[_0x28f4a5(0x203)](){const _0xd6c5d1=_0x28f4a5,_0x46748b=this[_0xd6c5d1(0x90)][_0xd6c5d1(0x242)](_0xd6c5d1(0x28b)),_0x3f0839=this[_0xd6c5d1(0x90)]['getParam'](_0xd6c5d1(0x175)),_0x172ee8=this[_0xd6c5d1(0x90)]['getParam'](_0xd6c5d1(0x2d7));if(!_0x46748b||!_0x3f0839){this[_0xd6c5d1(0x287)][_0xd6c5d1(0x80)](_0xd6c5d1(0x1dc),_0xd6c5d1(0x1a6));return;}const _0xf8190b=await this[_0xd6c5d1(0x229)][_0xd6c5d1(0x1bc)](_0x46748b,Number(_0x3f0839),_0x172ee8);_0xf8190b&&_0xf8190b instanceof _0x1f0974[_0xd6c5d1(0xd8)]&&this[_0xd6c5d1(0x1d4)](_0xf8190b);}async['_setupSubUnitSync'](_0x11a14e){const _0x414d60=_0x28f4a5;await this[_0x414d60(0x115)](_0x11a14e),_0x11a14e[_0x414d60(0x299)][_0x414d60(0x11c)](_0x48ec59[_0x414d60(0x16a)](this[_0x414d60(0x29f)]))[_0x414d60(0x26e)](_0x460329=>{const _0x2d552f=_0x414d60;_0x460329&&this[_0x2d552f(0x272)](_0x460329);}),this['_urlService'][_0x414d60(0x189)][_0x414d60(0x11c)](_0x48ec59[_0x414d60(0x16a)](this[_0x414d60(0x29f)]))[_0x414d60(0x26e)](()=>this['_updateSubUnitFromURLParams'](_0x11a14e));}[_0x28f4a5(0x272)](_0xd039e1,_0x106f2d=!0x1){const _0x3cb469=_0x28f4a5,_0x13fd4e=this['_urlService']['getParam']('subunit');_0xd039e1[_0x3cb469(0x108)]()!==_0x13fd4e&&this['_urlService'][_0x3cb469(0x166)](_0x3cb469(0x2d7),_0xd039e1[_0x3cb469(0x108)](),_0x106f2d);}async[_0x28f4a5(0x115)](_0x4996e6){const _0x1731f9=_0x28f4a5;var _0x4e0299;const _0x501895=this['_urlService'][_0x1731f9(0x242)](_0x1731f9(0x2d7));if(!_0x501895||!_0x4996e6[_0x1731f9(0x74)](_0x501895)){const _0x5e1604=_0x4996e6[_0x1731f9(0x87)]()[0x0],_0x4f05ae=_0x4996e6[_0x1731f9(0x74)](_0x5e1604);if(!_0x4f05ae)return;this[_0x1731f9(0x272)](_0x4f05ae,!0x0),await this['_commandService'][_0x1731f9(0x116)](_0x21292e[_0x1731f9(0x2b9)]['id'],{'unitId':_0x4996e6[_0x1731f9(0x10a)](),'subUnitId':_0x5e1604});return;}((_0x4e0299=_0x4996e6[_0x1731f9(0x276)]())==null?void 0x0:_0x4e0299[_0x1731f9(0x108)]())!==_0x501895&&await this['_commandService']['executeCommand'](_0x21292e[_0x1731f9(0x2b9)]['id'],{'unitId':_0x4996e6['getUnitId'](),'subUnitId':_0x501895});}},_0x35b504['CollaborationDataLoaderController']=_0x5de526([_0x266115(0x0,_0x4d62b6),_0x266115(0x1,_0x1f0974[_0x28f4a5(0x2c5)]),_0x266115(0x2,_0x1f0974[_0x28f4a5(0x145)]),_0x266115(0x3,_0x1f0974['Inject'](_0xec9e8c[_0x28f4a5(0x304)])),_0x266115(0x4,_0x1f0974[_0x28f4a5(0x228)](_0x2f31d3[_0x28f4a5(0x279)]))],_0x35b504[_0x28f4a5(0x27f)]);var _0xcf69aa=Object['getOwnPropertyDescriptor'],_0x812f2f=(_0xc36356,_0x55e64d,_0x913d6d,_0x47b5c2)=>{const _0x41f887=_0x28f4a5;for(var _0x3eabe3=_0x47b5c2>0x1?void 0x0:_0x47b5c2?_0xcf69aa(_0x55e64d,_0x913d6d):_0x55e64d,_0x174710=_0xc36356[_0x41f887(0x291)]-0x1,_0xe3a8a4;_0x174710>=0x0;_0x174710--)(_0xe3a8a4=_0xc36356[_0x174710])&&(_0x3eabe3=_0xe3a8a4(_0x3eabe3)||_0x3eabe3);return _0x3eabe3;},_0x4119e4=(_0x163b1e,_0x396094)=>(_0x1f5137,_0x136cd2)=>_0x396094(_0x1f5137,_0x136cd2,_0x163b1e);let _0x2636ee=class{constructor(_0x199aa7,_0x51526d,_0x185518){const _0x43e457=_0x28f4a5;this[_0x43e457(0x2f0)]=_0x199aa7,this[_0x43e457(0x174)]=_0x51526d,this['_renderManagerService']=_0x185518;}[_0x28f4a5(0x7f)](_0x30ad8b){const _0xc522f7=_0x28f4a5;this[_0xc522f7(0x1c4)](_0x30ad8b),this[_0xc522f7(0x154)](_0x30ad8b);}[_0x28f4a5(0x253)](_0x16b415){const _0x33c11b=_0x28f4a5,{unitID:_0x59f759}=_0x16b415,_0x9debb8=this[_0x33c11b(0x1f4)][_0x33c11b(0x17d)](_0x59f759)[_0x33c11b(0x226)](_0x94087b['DocIMEInputManagerService']),{redoCache:_0x4b84c4}=_0x9debb8['getUndoRedoMutationParamsCache']();if(_0x4b84c4[_0x33c11b(0x291)]===0x0)return _0x16b415;let _0x243aab=_0x1f0974['Tools'][_0x33c11b(0x17e)](_0x16b415[_0x33c11b(0x1c5)][0x0]);for(let _0x1ceb48=0x0;_0x1ceb48<_0x4b84c4[_0x33c11b(0x291)];_0x1ceb48++){const _0x992b7c={'id':_0x33c11b(0x2a4),'params':{..._0x4b84c4[_0x1ceb48]}},_0x4aef39=this['_transformService'][_0x33c11b(0x13a)](_0x243aab,_0x992b7c,!0x1);if(_0x22d2f7[_0x33c11b(0x23e)](_0x4aef39))throw _0x4aef39[_0x33c11b(0xf4)];_0x243aab=_0x4aef39['m1Prime'];}return{..._0x1f0974['Tools'][_0x33c11b(0x17e)](_0x16b415),'mutations':[_0x243aab]};}['_transformUndoRedoStack'](_0x120399){const _0x3e7c7c=_0x28f4a5,{unitID:_0xcc8878}=_0x120399,_0x1040b7=this['_renderManagerService']['getRenderById'](_0xcc8878)[_0x3e7c7c(0x226)](_0x94087b[_0x3e7c7c(0x16c)]),{undoCache:_0x24c53b,redoCache:_0x54dfcd}=_0x1040b7['getUndoRedoMutationParamsCache']();if(_0x24c53b['length']===0x0||_0x54dfcd['length']===0x0)return;const _0x255f54=[],_0x1c6cc3=[];let _0x3138ae=_0x1f0974[_0x3e7c7c(0x1dd)][_0x3e7c7c(0x17e)](_0x120399[_0x3e7c7c(0x1c5)][0x0]),_0x3526af=_0x1f0974[_0x3e7c7c(0x1dd)][_0x3e7c7c(0x17e)](_0x120399['mutations'][0x0]);for(let _0xd11656=_0x24c53b[_0x3e7c7c(0x291)]-0x1;_0xd11656>=0x0;_0xd11656--){const _0x2957c5={'id':_0x3e7c7c(0x2a4),'params':{..._0x24c53b[_0xd11656]}},_0xaa0b25={'id':'doc.mutation.rich-text-editing','params':{..._0x54dfcd[_0xd11656]}},_0x37bc44=this[_0x3e7c7c(0x174)][_0x3e7c7c(0x13a)](_0x3138ae,_0x2957c5,!0x1),_0x19d839=this[_0x3e7c7c(0x174)][_0x3e7c7c(0x13a)](_0x3526af,_0xaa0b25,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0x37bc44))throw _0x37bc44[_0x3e7c7c(0xf4)];if(_0x22d2f7[_0x3e7c7c(0x23e)](_0x19d839))throw _0x19d839['error'];_0x255f54['unshift'](_0x37bc44['m2Prime'][_0x3e7c7c(0xf0)]),_0x1c6cc3['unshift'](_0x19d839[_0x3e7c7c(0x190)][_0x3e7c7c(0xf0)]),_0x3138ae=_0x37bc44['m1Prime'],_0x3526af=_0x19d839[_0x3e7c7c(0x16e)];}_0x1040b7['setUndoRedoMutationParamsCache']({'undoCache':_0x255f54,'redoCache':_0x1c6cc3});}['_transformPreviousActiveRange'](_0x1bc84f){const _0x3ba3dd=_0x28f4a5,{unitID:_0x196093}=_0x1bc84f,_0x3a9673=this['_renderManagerService'][_0x3ba3dd(0x17d)](_0x196093)[_0x3ba3dd(0x226)](_0x94087b[_0x3ba3dd(0x16c)]),_0x30dff9=_0x3a9673[_0x3ba3dd(0x1be)]();if(_0x30dff9==null)return;const _0x39ce4e=[{'id':_0x3ba3dd(0x2a4),'params':{'unitId':_0x1bc84f[_0x3ba3dd(0xc4)],'actions':null,'textRanges':[_0x30dff9]}}],_0x35ba7a=this[_0x3ba3dd(0x174)][_0x3ba3dd(0x219)](_0x1bc84f,_0x39ce4e);if(!_0x22d2f7[_0x3ba3dd(0x25b)](_0x35ba7a))throw _0x35ba7a[_0x3ba3dd(0xf4)];const _0x11afe2=_0x35ba7a[_0x3ba3dd(0x190)][0x0]['params'][_0x3ba3dd(0x165)];Array[_0x3ba3dd(0x2d3)](_0x11afe2)&&_0x11afe2[_0x3ba3dd(0x291)]&&_0x3a9673[_0x3ba3dd(0x8c)](_0x11afe2[0x0]);}};_0x2636ee=_0x812f2f([_0x4119e4(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['Injector'])),_0x4119e4(0x1,_0x22d2f7['ITransformService']),_0x4119e4(0x2,_0xea5c4f['IRenderManagerService'])],_0x2636ee);var _0x215a65=Object[_0x28f4a5(0x2b1)],_0x20c325=(_0x5451a7,_0x4c61a1,_0x1d1aba,_0x26dea5)=>{const _0x105fb4=_0x28f4a5;for(var _0x27362c=_0x26dea5>0x1?void 0x0:_0x26dea5?_0x215a65(_0x4c61a1,_0x1d1aba):_0x4c61a1,_0x343583=_0x5451a7[_0x105fb4(0x291)]-0x1,_0x5d3b7e;_0x343583>=0x0;_0x343583--)(_0x5d3b7e=_0x5451a7[_0x343583])&&(_0x27362c=_0x5d3b7e(_0x27362c)||_0x27362c);return _0x27362c;},_0x3fb798=(_0x497b82,_0x98a087)=>(_0x132a55,_0x298ae7)=>_0x98a087(_0x132a55,_0x298ae7,_0x497b82);let _0x546981=class{constructor(_0x3d1d31,_0x49fffd,_0xe3579e){const _0x288e2f=_0x28f4a5;this[_0x288e2f(0x2f0)]=_0x3d1d31,this[_0x288e2f(0x174)]=_0x49fffd,this[_0x288e2f(0x199)]=_0xe3579e;}[_0x28f4a5(0x2c1)](_0x184c17){const _0x1d56ea=_0x28f4a5;this[_0x1d56ea(0x143)](_0x184c17);}[_0x28f4a5(0x253)](_0x296c0a){const _0xc41b7d=_0x28f4a5,{unitID:_0x143be8}=_0x296c0a,{collaboration:_0x4e601d}=this[_0xc41b7d(0x199)]['getStateCache'](_0x143be8);if(_0x4e601d[_0xc41b7d(0x291)]===0x0)return _0x296c0a;let _0x2a63aa=_0x1f0974[_0xc41b7d(0x1dd)][_0xc41b7d(0x17e)](_0x296c0a[_0xc41b7d(0x1c5)][0x0]);for(let _0x59875d=0x0;_0x59875d<_0x4e601d['length'];_0x59875d++){const _0x11d00e={'id':_0xc41b7d(0x2a4),'params':{'unitId':_0x4e601d[_0x59875d][_0xc41b7d(0x2cf)],..._0x4e601d[_0x59875d][_0xc41b7d(0x30c)]}},_0x457537=this[_0xc41b7d(0x174)][_0xc41b7d(0x13a)](_0x2a63aa,_0x11d00e,!0x1);if(_0x22d2f7[_0xc41b7d(0x23e)](_0x457537))throw _0x457537['error'];_0x2a63aa=_0x457537['m1Prime'];}return{..._0x1f0974[_0xc41b7d(0x1dd)][_0xc41b7d(0x17e)](_0x296c0a),'mutations':[_0x2a63aa]};}[_0x28f4a5(0x143)](_0xbe7344){const _0x18e040=_0x28f4a5,{unitID:_0x293ce8}=_0xbe7344,{history:_0x483ef2,collaboration:_0x2ac848}=this[_0x18e040(0x199)][_0x18e040(0x256)](_0x293ce8);if(_0x483ef2['length']===0x0&&_0x2ac848[_0x18e040(0x291)]===0x0)return;const _0x3ff5f7=[],_0x294b61=[];let _0x29dd9a=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344[_0x18e040(0x1c5)][0x0]),_0x421321=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344['mutations'][0x0]);for(let _0x51771c=_0x483ef2[_0x18e040(0x291)]-0x1;_0x51771c>=0x0;_0x51771c--){const _0x13624e={'id':_0x18e040(0x2a4),'params':{'unitId':_0x483ef2[_0x51771c][_0x18e040(0x2cf)],..._0x483ef2[_0x51771c][_0x18e040(0x221)]}},_0x53849a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x483ef2[_0x51771c][_0x18e040(0x2cf)],..._0x483ef2[_0x51771c]['redoState']}},_0x31232c=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x29dd9a,_0x13624e,!0x1),_0x52eb81=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x421321,_0x53849a,!0x1);if(_0x22d2f7[_0x18e040(0x23e)](_0x31232c))throw _0x31232c[_0x18e040(0xf4)];if(_0x22d2f7[_0x18e040(0x23e)](_0x52eb81))throw _0x52eb81[_0x18e040(0xf4)];_0x3ff5f7[_0x18e040(0x17a)]({..._0x483ef2[_0x51771c],'undoState':_0x31232c[_0x18e040(0x190)]['params'],'redoState':_0x52eb81[_0x18e040(0x190)][_0x18e040(0xf0)]}),_0x29dd9a=_0x31232c[_0x18e040(0x16e)],_0x421321=_0x52eb81[_0x18e040(0x16e)];}_0x29dd9a=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344[_0x18e040(0x1c5)][0x0]),_0x421321=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344['mutations'][0x0]);for(let _0x3c832b=_0x2ac848[_0x18e040(0x291)]-0x1;_0x3c832b>=0x0;_0x3c832b--){const _0x3fc04c={'id':_0x18e040(0x2a4),'params':{'unitId':_0x2ac848[_0x3c832b][_0x18e040(0x2cf)],..._0x2ac848[_0x3c832b][_0x18e040(0x221)]}},_0x5a5a8f={'id':_0x18e040(0x2a4),'params':{'unitId':_0x2ac848[_0x3c832b][_0x18e040(0x2cf)],..._0x2ac848[_0x3c832b][_0x18e040(0x30c)]}},_0xb7c24d=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x29dd9a,_0x3fc04c,!0x1),_0xa221df=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x421321,_0x5a5a8f,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0xb7c24d))throw _0xb7c24d['error'];if(_0x22d2f7['isTransformMutationFailure'](_0xa221df))throw _0xa221df['error'];_0x294b61[_0x18e040(0x17a)]({..._0x2ac848[_0x3c832b],'undoState':_0xb7c24d[_0x18e040(0x190)][_0x18e040(0xf0)],'redoState':_0xa221df[_0x18e040(0x190)][_0x18e040(0xf0)]}),_0x29dd9a=_0xb7c24d[_0x18e040(0x16e)],_0x421321=_0xa221df[_0x18e040(0x16e)];}this[_0x18e040(0x199)][_0x18e040(0x6a)](_0x293ce8,{'history':_0x3ff5f7,'collaboration':_0x294b61});}};_0x546981=_0x20c325([_0x3fb798(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['Injector'])),_0x3fb798(0x1,_0x22d2f7[_0x28f4a5(0x2e4)]),_0x3fb798(0x2,_0x1f0974['Inject'](_0x94087b['DocStateChangeManagerService']))],_0x546981);var _0x3f02d2=Object[_0x28f4a5(0x2b1)],_0x217af5=(_0x4b5c3b,_0x5b5ceb,_0x4186d2,_0x3eb12a)=>{const _0x8f845a=_0x28f4a5;for(var _0x4768f6=_0x3eb12a>0x1?void 0x0:_0x3eb12a?_0x3f02d2(_0x5b5ceb,_0x4186d2):_0x5b5ceb,_0x1d75f5=_0x4b5c3b[_0x8f845a(0x291)]-0x1,_0x2d5443;_0x1d75f5>=0x0;_0x1d75f5--)(_0x2d5443=_0x4b5c3b[_0x1d75f5])&&(_0x4768f6=_0x2d5443(_0x4768f6)||_0x4768f6);return _0x4768f6;},_0x332a53=(_0x2424ea,_0x1b71b2)=>(_0x58b493,_0x594781)=>_0x1b71b2(_0x58b493,_0x594781,_0x2424ea);let _0x3b1666=class{constructor(_0xb75d8,_0x20b180){const _0x19d7c2=_0x28f4a5;this[_0x19d7c2(0x2f0)]=_0xb75d8,this[_0x19d7c2(0x174)]=_0x20b180;}[_0x28f4a5(0x16b)](_0x196df3){const _0x2dac6b=_0x28f4a5;var _0x5388bc;const _0x571f27=this[_0x2dac6b(0x2f0)][_0x2dac6b(0x1ae)](_0x307c6b[_0x2dac6b(0x222)]),_0x428c3c=(_0x5388bc=_0x571f27['getDocRanges']())!=null?_0x5388bc:[];if(_0x428c3c[_0x2dac6b(0x291)]===0x0)return;const _0x28d814=_0x196df3['unitID'],_0x4956c4=[{'id':_0x2dac6b(0x2a4),'params':{'unitId':_0x28d814,'actions':null,'textRanges':_0x428c3c}}],_0x463ed1=this[_0x2dac6b(0x174)]['transformMutationsWithChangeset'](_0x196df3,_0x4956c4);if(!_0x22d2f7[_0x2dac6b(0x25b)](_0x463ed1))throw _0x463ed1[_0x2dac6b(0xf4)];const _0x11236f=_0x463ed1[_0x2dac6b(0x190)][0x0][_0x2dac6b(0xf0)][_0x2dac6b(0x165)];Array[_0x2dac6b(0x2d3)](_0x11236f)&&_0x11236f[_0x2dac6b(0x291)]&&_0x571f27[_0x2dac6b(0x312)](_0x11236f,{'unitId':_0x28d814,'subUnitId':_0x28d814},!0x1);}};_0x3b1666=_0x217af5([_0x332a53(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x332a53(0x1,_0x22d2f7[_0x28f4a5(0x2e4)])],_0x3b1666);var _0x3cfd63=Object[_0x28f4a5(0x2b1)],_0x260adb=(_0x146fd1,_0x3018a3,_0xf26255,_0x3be577)=>{for(var _0x355110=_0x3be577>0x1?void 0x0:_0x3be577?_0x3cfd63(_0x3018a3,_0xf26255):_0x3018a3,_0x5c87ba=_0x146fd1['length']-0x1,_0x599a20;_0x5c87ba>=0x0;_0x5c87ba--)(_0x599a20=_0x146fd1[_0x5c87ba])&&(_0x355110=_0x599a20(_0x355110)||_0x355110);return _0x355110;},_0x1f1d67=(_0x17343e,_0xc87f2f)=>(_0x489970,_0xf5334)=>_0xc87f2f(_0x489970,_0xf5334,_0x17343e);let _0x406355=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x5068fd,_0x1710c8,_0x5cf788,_0x5984e5,_0x417ce7,_0x1e505c,_0x39b1f7,_0x5d5a7f){const _0x397eb7=_0x28f4a5;super(),_0x264be0(this,_0x397eb7(0x1ab),new _0x48ec59[(_0x397eb7(0x21f))](_0xec9e8c[_0x397eb7(0x2ac)]['NOT_COLLAB'])),(this[_0x397eb7(0x199)]=_0x5068fd,this[_0x397eb7(0x146)]=_0x1710c8,this[_0x397eb7(0x298)]=_0x5cf788,this['_docTransformStateCacheService']=_0x5984e5,this[_0x397eb7(0xf2)]=_0x417ce7,this[_0x397eb7(0x1da)]=_0x1e505c,this['_messageService']=_0x39b1f7,this[_0x397eb7(0x127)]=_0x5d5a7f,this[_0x397eb7(0x1e6)]());}[_0x28f4a5(0x1e6)](){const _0x46ac7f=_0x28f4a5;this[_0x46ac7f(0x2f6)](this[_0x46ac7f(0x146)]['entityInit$']['subscribe'](_0x123542=>{const _0x2b79a8=_0x46ac7f,_0xf0697c=this[_0x2b79a8(0x199)][_0x2b79a8(0x2c7)][_0x2b79a8(0x26e)](_0x1960c4=>{const _0x5438fa=_0x2b79a8;if(_0x1960c4==null)return;const {unitId:_0x2c103d,redoState:_0x3c18e6,commandId:_0x1dccc2}=_0x1960c4;if(_0x2c103d!==_0x123542['unitID'])return;const _0x224dd9={'id':_0x1dccc2,'type':_0x1f0974[_0x5438fa(0x1ce)]['MUTATION'],'params':{'unitId':_0x2c103d,'actions':_0x3c18e6[_0x5438fa(0x14d)],'textRanges':null}};_0x123542[_0x5438fa(0x197)](_0x224dd9);});if(_0x123542[_0x2b79a8(0x2f6)](_0xf0697c),_0x123542 instanceof _0xec9e8c[_0x2b79a8(0x2ef)]){const _0x3c552b={'onTransformIME':_0x19dfed=>this[_0x2b79a8(0x298)]['transformIMECache'](_0x19dfed),'onTransformState':_0xa7acee=>this[_0x2b79a8(0x267)][_0x2b79a8(0x2c1)](_0xa7acee),'onTransformSelections':_0x276732=>this[_0x2b79a8(0xf2)]['transformSelections'](_0x276732),'onSyncEditingCollabCursor':_0x2551e4=>this[_0x2b79a8(0x1da)]['syncEditingCollabCursor'](_0x2551e4),'onTransformRemoteChangesetByIMECache':_0x5e8a6d=>this[_0x2b79a8(0x298)][_0x2b79a8(0x253)](_0x5e8a6d),'onTransformRemoteChangesetByStateCache':_0x39efba=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x39efba)};_0x123542['addHandlerCallback'](_0x3c552b);}}));}};_0x406355=_0x260adb([_0x1f1d67(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x94087b[_0x28f4a5(0x8a)])),_0x1f1d67(0x1,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0xe7)])),_0x1f1d67(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x2636ee)),_0x1f1d67(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x546981)),_0x1f1d67(0x4,_0x1f0974['Inject'](_0x3b1666)),_0x1f1d67(0x5,_0x1f0974['Inject'](_0x1ea0ec)),_0x1f1d67(0x6,_0xc1035a['IMessageService']),_0x1f1d67(0x7,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['LocaleService']))],_0x406355);var _0x11ec0c=Object[_0x28f4a5(0x2b1)],_0x18b8e0=(_0x525e8f,_0x163a18,_0x565357,_0x556326)=>{const _0x21987a=_0x28f4a5;for(var _0x5a4bf2=_0x556326>0x1?void 0x0:_0x556326?_0x11ec0c(_0x163a18,_0x565357):_0x163a18,_0x175027=_0x525e8f[_0x21987a(0x291)]-0x1,_0x1818b7;_0x175027>=0x0;_0x175027--)(_0x1818b7=_0x525e8f[_0x175027])&&(_0x5a4bf2=_0x1818b7(_0x5a4bf2)||_0x5a4bf2);return _0x5a4bf2;},_0x3f39b2=(_0x729fa8,_0x21f886)=>(_0x4a623c,_0x42175e)=>_0x21f886(_0x4a623c,_0x42175e,_0x729fa8);let _0x224fa9=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x5835be,_0x148667,_0x268823){const _0x2803a6=_0x28f4a5;super(),_0x264be0(this,_0x2803a6(0x1d2),new Map()),_0x264be0(this,_0x2803a6(0x2f3),new Map()),_0x264be0(this,_0x2803a6(0xa5),!0x1),(this['_configService']=_0x5835be,this[_0x2803a6(0xa7)]=_0x148667,this[_0x2803a6(0x2a8)]=_0x268823);}[_0x28f4a5(0x177)](){this['_disabled']=!0x0;}[_0x28f4a5(0x198)](){const _0x2b0488=_0x28f4a5;this[_0x2b0488(0xa5)]=!0x1;}get[_0x28f4a5(0x273)](){const _0x500381=_0x28f4a5;return this[_0x500381(0x2f3)];}['dispose'](){const _0x5ac022=_0x28f4a5;this[_0x5ac022(0x1cb)]()[_0x5ac022(0x223)](()=>super[_0x5ac022(0xdb)]());}async[_0x28f4a5(0xa3)](_0x4830c5){const _0x58a763=_0x28f4a5;return this[_0x58a763(0xa5)]?null:this[_0x58a763(0xa7)][_0x58a763(0x239)](_0xec9e8c[_0x58a763(0x2d8)](_0x4830c5));}async[_0x28f4a5(0xea)](_0xad7204,_0x1bce62){const _0x32ba3b=_0x28f4a5;return!!this[_0x32ba3b(0xa7)][_0x32ba3b(0x187)](_0xad7204,_0x1bce62);}[_0x28f4a5(0x1b2)](_0x131d7f,_0x5bd9d2,_0x1fbd70,_0x3ade11){const _0x3e9fd9=_0x28f4a5,_0x59076c=this[_0x3e9fd9(0x2a8)][_0x3e9fd9(0x117)](_0x131d7f);this[_0x3e9fd9(0x1d2)][_0x3e9fd9(0x1cd)](_0x131d7f,{'unitID':_0x131d7f,'type':_0x5bd9d2,'awaitingChangeset':_0x1fbd70,'mutations':_0x3ade11,'rev':_0x59076c}),this[_0x3e9fd9(0x2f3)]['has'](_0x131d7f)||this[_0x3e9fd9(0x26b)](_0x131d7f);}[_0x28f4a5(0x26b)](_0x3920c5){const _0x2ee860=_0x28f4a5,_0x37b6f9=this[_0x2ee860(0x303)]();_0x37b6f9===0x0?this['_saveCache'](_0x3920c5):this[_0x2ee860(0x2f3)]['set'](_0x3920c5,setTimeout(()=>this[_0x2ee860(0xa1)](_0x3920c5),_0x37b6f9));}['_getSaveTimeout'](){const _0x41efdc=_0x28f4a5;var _0x5b88e7;return(_0x5b88e7=this['_configService']['getConfig'](_0xec9e8c[_0x41efdc(0x194)]))!=null?_0x5b88e7:_0xec9e8c[_0x41efdc(0x224)];}[_0x28f4a5(0xa1)](_0x46c828){const _0x4cedd3=_0x28f4a5,_0x503b46=this['_saveTaskMap'][_0x4cedd3(0x1ae)](_0x46c828);return _0x503b46!==void 0x0&&window[_0x4cedd3(0x212)](_0x503b46),this[_0x4cedd3(0xa7)]['setItem'](_0xec9e8c[_0x4cedd3(0x2d8)](_0x46c828),this[_0x4cedd3(0x1d2)]['get'](_0x46c828))['then'](()=>this['_saveTaskMap'][_0x4cedd3(0x2b3)](_0x46c828));}async[_0x28f4a5(0x1cb)](){const _0x5a5bfe=_0x28f4a5,_0x27a0ed=[];this[_0x5a5bfe(0x2f3)]['forEach']((_0x4bc274,_0x329122)=>{const _0x7d2fbd=_0x5a5bfe;window[_0x7d2fbd(0x212)](_0x4bc274),_0x27a0ed['push'](this[_0x7d2fbd(0xa1)](_0x329122)[_0x7d2fbd(0x223)](()=>{const _0x231e2e=_0x7d2fbd;this[_0x231e2e(0x2f3)][_0x231e2e(0x2b3)](_0x329122);}));}),await Promise['all'](_0x27a0ed);}};_0x224fa9=_0x18b8e0([_0x3f39b2(0x0,_0x1f0974[_0x28f4a5(0x21d)]),_0x3f39b2(0x1,_0x1f0974[_0x28f4a5(0x2ca)]),_0x3f39b2(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x22d2f7[_0x28f4a5(0xb7)]))],_0x224fa9);class _0x307e84 extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(){const _0x3fc5e5=_0x28f4a5;super(),_0x264be0(this,'urlChange$'),this[_0x3fc5e5(0x189)]=_0x48ec59['fromEvent'](window,'popstate')[_0x3fc5e5(0x11c)](_0x48ec59[_0x3fc5e5(0x16a)](this[_0x3fc5e5(0x29f)]),_0x48ec59[_0x3fc5e5(0x1aa)](0x1),_0x48ec59[_0x3fc5e5(0x297)](void 0x0));}[_0x28f4a5(0x166)](_0x4b48f8,_0x36e5e3,_0x4deabf=!0x1){const _0x468304=_0x28f4a5,_0x4a1328=new URL(window[_0x468304(0x133)][_0x468304(0xdf)]);_0x4a1328[_0x468304(0x9c)]['set'](_0x4b48f8,_0x36e5e3),_0x4deabf?window[_0x468304(0xb6)][_0x468304(0x1e0)]('','',_0x4a1328['toString']()):window['history']['pushState']('','',_0x4a1328[_0x468304(0x29e)]());}[_0x28f4a5(0x316)](_0x33493b,_0x100783=!0x1){const _0x4a0d08=_0x28f4a5,_0x5718f=new URL(window[_0x4a0d08(0x133)][_0x4a0d08(0xdf)]);_0x5718f[_0x4a0d08(0x9c)][_0x4a0d08(0x2b3)](_0x33493b),_0x100783?window[_0x4a0d08(0xb6)]['replaceState']('','',_0x5718f[_0x4a0d08(0x29e)]()):window[_0x4a0d08(0xb6)][_0x4a0d08(0x2bf)]('','',_0x5718f[_0x4a0d08(0x29e)]());}[_0x28f4a5(0x242)](_0x1b1d4f){const _0x24654=_0x28f4a5;var _0x4f0110;return(_0x4f0110=new URL(window[_0x24654(0x133)][_0x24654(0xdf)])[_0x24654(0x9c)]['get'](_0x1b1d4f))!=null?_0x4f0110:void 0x0;}}var _0xc184cd=Object[_0x28f4a5(0x2d2)],_0x8b32bd=Object[_0x28f4a5(0x2b1)],_0x307a14=(_0x9b4fe3,_0x4a3d3b,_0x2c324c)=>_0x4a3d3b in _0x9b4fe3?_0xc184cd(_0x9b4fe3,_0x4a3d3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c324c}):_0x9b4fe3[_0x4a3d3b]=_0x2c324c,_0x240541=(_0x4c8bf9,_0x109e0b,_0x1e95a5,_0x5cca7e)=>{for(var _0x1839a9=_0x5cca7e>0x1?void 0x0:_0x5cca7e?_0x8b32bd(_0x109e0b,_0x1e95a5):_0x109e0b,_0x45ffa8=_0x4c8bf9['length']-0x1,_0x4cc8d2;_0x45ffa8>=0x0;_0x45ffa8--)(_0x4cc8d2=_0x4c8bf9[_0x45ffa8])&&(_0x1839a9=_0x4cc8d2(_0x1839a9)||_0x1839a9);return _0x1839a9;},_0x5c65f0=(_0x45a3c2,_0x250576)=>(_0x1681aa,_0x1ddde3)=>_0x250576(_0x1681aa,_0x1ddde3,_0x45a3c2),_0xef545c=(_0x1c49a5,_0x59a431,_0x4b5263)=>_0x307a14(_0x1c49a5,_0x59a431+'',_0x4b5263);const _0x303a8d=_0x28f4a5(0x163);_0x35b504['UniverCollaborationClientUIPlugin']=class extends _0x1f0974[_0x28f4a5(0x238)]{constructor(_0x57bea3=_0x52f91b,_0x3aa06b,_0x98f1c7,_0x298d3e){const _0x5432bc=_0x28f4a5;super(),this[_0x5432bc(0x294)]=_0x57bea3,this[_0x5432bc(0x1f4)]=_0x3aa06b,this['_injector']=_0x98f1c7,this[_0x5432bc(0x148)]=_0x298d3e;const {..._0x344592}=_0x1f0974[_0x5432bc(0x22f)]({},_0x52f91b,this[_0x5432bc(0x294)]);this[_0x5432bc(0x148)][_0x5432bc(0xbd)](_0x3f6f88,_0x344592);}['onStarting'](){const _0x11eca5=_0x28f4a5;this['_registerDependencies'](),this[_0x11eca5(0x251)]();}[_0x28f4a5(0x125)](){const _0x466996=_0x28f4a5;this[_0x466996(0x10c)]();}[_0x28f4a5(0x28e)](){const _0x56b04d=_0x28f4a5;var _0xd53806;const _0x5d9034=[[_0x2d7c85],[_0x3b1666],[_0x2636ee],[_0x546981],[_0x1ea0ec],[_0x4d62b6,{'useClass':_0x307e84}],[_0x3a7cb5[_0x56b04d(0x286)],{'useClass':_0x3a7cb5[_0x56b04d(0x280)]}],[_0xec9e8c[_0x56b04d(0x247)],{'useClass':_0x224fa9}],[_0x35b504['DesktopCollaborationStatusDisplayController']],[_0x406355],[_0x46e5e5],[_0x475645],[_0x38a261],[_0x35b504[_0x56b04d(0x27f)]]];_0x1f0974[_0x56b04d(0x24f)](this[_0x56b04d(0x2f0)],_0x1f0974['mergeOverrideWithDependencies'](_0x5d9034,(_0xd53806=this[_0x56b04d(0x294)])==null?void 0x0:_0xd53806[_0x56b04d(0x250)]));}['_registerRenderDependencies'](){const _0x14ebe8=_0x28f4a5;this['disposeWithMe'](this[_0x14ebe8(0x1f4)][_0x14ebe8(0x1b0)](_0x1f0974[_0x14ebe8(0x22a)][_0x14ebe8(0x1a5)],[_0x282152])),this[_0x14ebe8(0x2f6)](this[_0x14ebe8(0x1f4)][_0x14ebe8(0x1b0)](_0x1f0974[_0x14ebe8(0x22a)][_0x14ebe8(0x130)],[_0x44c668]));}[_0x28f4a5(0x251)](){const _0x4dcccc=_0x28f4a5;_0x1f0974[_0x4dcccc(0x2a6)](this[_0x4dcccc(0x2f0)],[[_0x475645],[_0x35b504[_0x4dcccc(0x76)]],[_0x406355],[_0x46e5e5],[_0x35b504[_0x4dcccc(0x27f)]]]);}},_0xef545c(_0x35b504[_0x28f4a5(0xca)],_0x28f4a5(0x19c),_0x303a8d),_0x35b504[_0x28f4a5(0xca)]=_0x240541([_0x1f0974[_0x28f4a5(0x1e3)](_0xec9e8c[_0x28f4a5(0x208)]),_0x5c65f0(0x1,_0xea5c4f['IRenderManagerService']),_0x5c65f0(0x2,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x2a5)])),_0x5c65f0(0x3,_0x1f0974[_0x28f4a5(0x21d)])],_0x35b504[_0x28f4a5(0xca)]);var _0x5e323e=Object[_0x28f4a5(0x2b1)],_0x5b623a=(_0x29ce44,_0x47c026,_0x1aa98b,_0x5695b9)=>{const _0x2480db=_0x28f4a5;for(var _0x4625ef=_0x5695b9>0x1?void 0x0:_0x5695b9?_0x5e323e(_0x47c026,_0x1aa98b):_0x47c026,_0x49cfb0=_0x29ce44[_0x2480db(0x291)]-0x1,_0x5764be;_0x49cfb0>=0x0;_0x49cfb0--)(_0x5764be=_0x29ce44[_0x49cfb0])&&(_0x4625ef=_0x5764be(_0x4625ef)||_0x4625ef);return _0x4625ef;},_0x38c5e8=(_0x481eca,_0x269b16)=>(_0x557fea,_0x272e9a)=>_0x269b16(_0x557fea,_0x272e9a,_0x481eca);_0x35b504[_0x28f4a5(0xeb)]=class extends _0xec9e8c[_0x28f4a5(0x29a)]{constructor(_0x46f440,_0x364189,_0x274e6e,_0x4e55aa,_0x2e049a){super(_0x46f440,_0x364189,_0x274e6e,_0x4e55aa,_0x2e049a);}async[_0x28f4a5(0x19b)](_0x13e29e){const _0x3db09b=_0x28f4a5,_0x258572=await this[_0x3db09b(0xd1)](),_0x1591b2=this['_createSocketURL'](_0x13e29e,_0x258572);return this[_0x3db09b(0xd7)](_0x1591b2);}[_0x28f4a5(0x300)](_0x29d23f,_0x578b07){const _0xb9da6a=_0x28f4a5,_0x3df07c=typeof window>'u'?new URL(_0x29d23f):new URL(_0x29d23f,window[_0xb9da6a(0x133)][_0xb9da6a(0x21b)]);_0x3df07c[_0xb9da6a(0x9c)][_0xb9da6a(0x1cd)](_0xb9da6a(0x2f1),_0x578b07);const _0x50701b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb9da6a(0x133)]['search']);return _0x50701b[_0xb9da6a(0x1ae)](_0xb9da6a(0xf1))&&_0x3df07c[_0xb9da6a(0x9c)]['set'](_0xb9da6a(0xf1),_0x50701b[_0xb9da6a(0x1ae)](_0xb9da6a(0xf1))),_0x3df07c[_0xb9da6a(0x29e)]();}async[_0x28f4a5(0xd1)](){const _0x3e2a68=_0x28f4a5;var _0x107300,_0x422b49,_0x96843a;const _0x15f609=this['_configService'][_0x3e2a68(0xa6)](_0xec9e8c[_0x3e2a68(0x2c9)]),_0x1425d6=(_0x107300=_0x15f609==null?void 0x0:_0x15f609[_0x3e2a68(0xba)])!=null?_0x107300:_0xec9e8c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x96843a=(_0x422b49=(await this['_httpService'][_0x3e2a68(0x1ae)](_0x1425d6,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x422b49[_0x3e2a68(0x313)])!=null?_0x96843a:'';}},_0x35b504['BrowserCollaborationSocketService']=_0x5b623a([_0x38c5e8(0x0,_0x1f0974['Inject'](_0x1f0974['Injector'])),_0x38c5e8(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x3a7cb5[_0x28f4a5(0x24d)])),_0x38c5e8(0x2,_0x1f0974[_0x28f4a5(0x21d)]),_0x38c5e8(0x3,_0x1f0974[_0x28f4a5(0x2c5)]),_0x38c5e8(0x4,_0x22d2f7[_0x28f4a5(0x168)])],_0x35b504[_0x28f4a5(0xeb)]);const _0x557544=0x7530,_0x5ca70b=_0x28f4a5(0x25a);class _0x38ef59 extends _0x1f0974['Disposable']{constructor(){const _0xfae50d=_0x28f4a5;super(),_0x264be0(this,_0xfae50d(0x1de),_0x1f0974[_0xfae50d(0x1fd)]()),_0x264be0(this,_0xfae50d(0xb9),new Set()),_0x264be0(this,_0xfae50d(0x186),new Map()),_0x264be0(this,_0xfae50d(0x2b5),null),_0x264be0(this,'_clearOtherTimers',new Map()),_0x264be0(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x449f7a=_0x28f4a5;super[_0x449f7a(0xdb)](),this['_clearOtherTimers']['forEach']((_0x493177,_0x4468b4)=>this[_0x449f7a(0x173)](_0x4468b4)),this[_0x449f7a(0x2b5)]&&window[_0x449f7a(0xb5)](this['_heartbeatTimer']);}[_0x28f4a5(0x1f1)](_0x22bf82){const _0x39fc3f=_0x28f4a5;return this['_ensureSubject'](_0x22bf82)[_0x39fc3f(0x11c)](_0x48ec59['distinctUntilChanged']());}[_0x28f4a5(0x2a0)](_0x3211f9){const _0x5a1ce0=_0x28f4a5;this['_selfUnitIDs'][_0x5a1ce0(0x1e5)]===0x0&&this[_0x5a1ce0(0x1b6)](),this[_0x5a1ce0(0xb9)]['add'](_0x3211f9),this['_send']({'type':0x0,'memberID':this[_0x5a1ce0(0x1de)],'unitIDs':[_0x3211f9],'isForwarded':!0x1});}['disposeUnit'](_0x29d517){const _0x242ff0=_0x28f4a5;this['_selfUnitIDs'][_0x242ff0(0x2b3)](_0x29d517),this[_0x242ff0(0xb9)][_0x242ff0(0x1e5)]===0x0&&this[_0x242ff0(0x2b5)]&&window[_0x242ff0(0xb5)](this[_0x242ff0(0x2b5)]);}[_0x28f4a5(0x203)](){const _0xf01d44=_0x28f4a5;this[_0xf01d44(0x2f6)](_0x1f0974[_0xf01d44(0x232)](_0x48ec59[_0xf01d44(0x254)](window,_0xf01d44(0xde))[_0xf01d44(0x26e)](_0x36ed7c=>{const _0x8535c2=_0xf01d44;if(_0x36ed7c[_0x8535c2(0x26d)]!==_0x5ca70b||!_0x36ed7c[_0x8535c2(0xf6)])return;const _0x1add6e=JSON['parse'](_0x36ed7c['newValue']);this[_0x8535c2(0x2ee)](_0x1add6e);}))),window[_0xf01d44(0x17c)](_0xf01d44(0x1ee),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xf01d44(0x178)](this[_0xf01d44(0xb9)])}));}['_handleEvent'](_0x2beeb6){const _0x1e820a=_0x28f4a5;switch(_0x2beeb6[_0x1e820a(0x175)]){case 0x0:this[_0x1e820a(0x83)](_0x2beeb6);break;case 0x1:this[_0x1e820a(0x185)](_0x2beeb6);break;case 0x2:this[_0x1e820a(0x6c)](_0x2beeb6);break;}}['_handleJoinEvent'](_0x348d52){const _0x5f1795=_0x28f4a5,{unitIDs:_0x15b620,memberID:_0x4ccb81,isForwarded:_0x6fc920}=_0x348d52;_0x15b620[_0x5f1795(0x1ba)](_0x47ddce=>{const _0x5d6479=_0x5f1795;if(!_0x6fc920&&this[_0x5d6479(0x186)][_0x5d6479(0x2f8)](_0x47ddce)&&this[_0x5d6479(0x184)](_0x47ddce)[_0x5d6479(0x283)](_0xec9e8c[_0x5d6479(0xfe)][_0x5d6479(0x131)]),!this[_0x5d6479(0x186)][_0x5d6479(0x2f8)](_0x47ddce)||!this[_0x5d6479(0x186)]['get'](_0x47ddce)['has'](_0x4ccb81)){const _0x1880d5=this[_0x5d6479(0x186)][_0x5d6479(0x1ae)](_0x47ddce)||new Set();_0x1880d5[_0x5d6479(0x1a2)](_0x4ccb81),this[_0x5d6479(0x186)]['set'](_0x47ddce,_0x1880d5),this['_scheduleClearOtherTimer'](_0x4ccb81);}}),_0x6fc920||this[_0x5f1795(0x140)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f1795(0xb9)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x31b1d3){const _0x249664=_0x28f4a5;this['_removeClearOtherTimer'](_0x31b1d3);const _0x4ef479=window[_0x249664(0x1b7)](()=>{const _0x184f99=_0x249664;this[_0x184f99(0x186)]['forEach'](_0x2e97fb=>{_0x2e97fb['delete'](_0x31b1d3);});},_0x557544*0x2);this[_0x249664(0x1d7)][_0x249664(0x1cd)](_0x31b1d3,_0x4ef479);}['_removeClearOtherTimer'](_0x4c5af1){const _0x1560e7=_0x28f4a5;if(this[_0x1560e7(0x1d7)][_0x1560e7(0x2f8)](_0x4c5af1)){const _0x37efb9=this[_0x1560e7(0x1d7)][_0x1560e7(0x1ae)](_0x4c5af1);_0x37efb9&&window[_0x1560e7(0x212)](_0x37efb9),this[_0x1560e7(0x1d7)][_0x1560e7(0x1cd)](_0x4c5af1,null);}}['_handleLeaveEvent'](_0x43ddc1){const _0x30ce32=_0x28f4a5,{memberID:_0x1d3320,unitIDs:_0x5a9d9c}=_0x43ddc1;_0x5a9d9c[_0x30ce32(0x1ba)](_0x36c5e3=>{const _0x3d13ff=_0x30ce32;var _0x36ce0a;const _0x207a74=this[_0x3d13ff(0x186)][_0x3d13ff(0x1ae)](_0x36c5e3);_0x207a74&&(_0x207a74[_0x3d13ff(0x2b3)](_0x1d3320),(_0x36ce0a=this[_0x3d13ff(0x184)](_0x36c5e3))==null||_0x36ce0a['next'](_0x207a74[_0x3d13ff(0x1e5)]===0x0?_0xec9e8c[_0x3d13ff(0xfe)]['NO_OTHER_CLIENTS_EDITING']:_0xec9e8c[_0x3d13ff(0xfe)][_0x3d13ff(0x131)]));}),this[_0x30ce32(0x173)](_0x1d3320);}['_handleHeartbeatEvent'](_0x3235db){const _0x3478ab=_0x28f4a5;this['_scheduleClearOtherTimer'](_0x3235db[_0x3478ab(0x15a)]);}['_send'](_0x25757c){const _0x2f71a0=_0x28f4a5;localStorage[_0x2f71a0(0x187)](_0x5ca70b,JSON['stringify'](_0x25757c));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x11c8ae=_0x5ca7;this[_0x11c8ae(0x140)]({'type':0x2,'memberID':this[_0x11c8ae(0x1de)]});},_0x557544);}[_0x28f4a5(0x184)](_0x48e65c){const _0x29c496=_0x28f4a5;return this[_0x29c496(0x120)][_0x29c496(0x2f8)](_0x48e65c)||this[_0x29c496(0x120)]['set'](_0x48e65c,new _0x48ec59[(_0x29c496(0x21f))](_0xec9e8c[_0x29c496(0xfe)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x29c496(0x120)][_0x29c496(0x1ae)](_0x48e65c);}}var _0xb96fef=(_0x132232=>(_0x132232[_0x132232[_0x28f4a5(0xcf)]=0x0]=_0x28f4a5(0xcf),_0x132232[_0x132232['OK']=0x1]='OK',_0x132232[_0x132232[_0x28f4a5(0xc5)]=0x2]=_0x28f4a5(0xc5),_0x132232[_0x132232['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x132232[_0x132232['NOT_FOUND']=0x4]=_0x28f4a5(0x164),_0x132232[_0x132232[_0x28f4a5(0x202)]=0x5]='UNAUTHENTICATED',_0x132232[_0x132232[_0x28f4a5(0x1bf)]=0x6]=_0x28f4a5(0x1bf),_0x132232[_0x132232['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x132232[_0x132232[_0x28f4a5(0xcb)]=0x8]=_0x28f4a5(0xcb),_0x132232[_0x132232['COMPLETION_FINISHED']=0x9]=_0x28f4a5(0x102),_0x132232[_0x132232['LOGIN_FAILED']=0xa]=_0x28f4a5(0x96),_0x132232[_0x132232[_0x28f4a5(0x13b)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x132232[_0x132232[_0x28f4a5(0x285)]=0xc]=_0x28f4a5(0x285),_0x132232[_0x132232['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x28f4a5(0x210),_0x132232[_0x132232[_0x28f4a5(0x216)]=0xe]=_0x28f4a5(0x216),_0x132232[_0x132232['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28f4a5(0x171),_0x132232[_0x132232[_0x28f4a5(0x2bc)]=0x1771]=_0x28f4a5(0x2bc),_0x132232[_0x132232[_0x28f4a5(0x126)]=0x1772]=_0x28f4a5(0x126),_0x132232[_0x132232[_0x28f4a5(0x1bb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x132232[_0x132232['APPLY_REJECT']=0x1b59]=_0x28f4a5(0x2ba),_0x132232[_0x132232[_0x28f4a5(0x152)]=0x1b5a]=_0x28f4a5(0x152),_0x132232[_0x132232[_0x28f4a5(0xa9)]=0x1b5b]=_0x28f4a5(0xa9),_0x132232[_0x132232[_0x28f4a5(0xe0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x132232[_0x132232[_0x28f4a5(0x215)]=0x1b5d]='APPLY_DUPLICATED',_0x132232[_0x132232[_0x28f4a5(0x93)]=0x1f41]=_0x28f4a5(0x93),_0x132232[_0x132232[_0x28f4a5(0x1a0)]=0x2329]=_0x28f4a5(0x1a0),_0x132232[_0x132232[_0x28f4a5(0x2e2)]=0x232a]=_0x28f4a5(0x2e2),_0x132232[_0x132232[_0x28f4a5(0x18b)]=0x232b]=_0x28f4a5(0x18b),_0x132232[_0x132232[_0x28f4a5(0x282)]=0x232c]=_0x28f4a5(0x282),_0x132232[_0x132232[_0x28f4a5(0x2b2)]=0x232d]=_0x28f4a5(0x2b2),_0x132232[_0x132232['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x28f4a5(0x16f),_0x132232[_0x132232[_0x28f4a5(0x1c7)]=0x2712]=_0x28f4a5(0x1c7),_0x132232[_0x132232[_0x28f4a5(0x14b)]=0x2713]=_0x28f4a5(0x14b),_0x132232[_0x132232[_0x28f4a5(0x1eb)]=0x2714]=_0x28f4a5(0x1eb),_0x132232[_0x132232['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x28f4a5(0x17f),_0x132232[_0x132232[_0x28f4a5(0x170)]=0x271b]=_0x28f4a5(0x170),_0x132232[_0x132232[_0x28f4a5(0x2ff)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x132232[_0x132232[_0x28f4a5(0x14e)]=0x271d]=_0x28f4a5(0x14e),_0x132232[_0x132232[_0x28f4a5(0x28c)]=0x271e]=_0x28f4a5(0x28c),_0x132232[_0x132232['YUUMI_AI_RUN_FAILED']=0x271f]=_0x28f4a5(0x231),_0x132232[_0x132232[_0x28f4a5(0x139)]=0x2720]=_0x28f4a5(0x139),_0x132232[_0x132232[_0x28f4a5(0x15e)]=0x2af9]=_0x28f4a5(0x15e),_0x132232[_0x132232[_0x28f4a5(0x259)]=0x2ee1]=_0x28f4a5(0x259),_0x132232[_0x132232[_0x28f4a5(0x28a)]=0x2ee2]=_0x28f4a5(0x28a),_0x132232[_0x132232[_0x28f4a5(0x2a7)]=0x2ee3]=_0x28f4a5(0x2a7),_0x132232[_0x132232[_0x28f4a5(0x135)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x132232[_0x132232[_0x28f4a5(0x2a2)]=0x2ee5]=_0x28f4a5(0x2a2),_0x132232[_0x132232[_0x28f4a5(0x293)]=0x32c9]=_0x28f4a5(0x293),_0x132232[_0x132232[_0x28f4a5(0x207)]=0x32ca]=_0x28f4a5(0x207),_0x132232[_0x132232['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x132232[_0x132232[_0x28f4a5(0x172)]=-0x1]=_0x28f4a5(0x172),_0x132232))(_0xb96fef||{}),_0x26dc34=Object[_0x28f4a5(0x2b1)],_0x563d35=(_0x19fefa,_0x621c4b,_0x1f8a1a,_0x4a184c)=>{const _0x382ebc=_0x28f4a5;for(var _0x594ba8=_0x4a184c>0x1?void 0x0:_0x4a184c?_0x26dc34(_0x621c4b,_0x1f8a1a):_0x621c4b,_0x3525b1=_0x19fefa[_0x382ebc(0x291)]-0x1,_0x58d44a;_0x3525b1>=0x0;_0x3525b1--)(_0x58d44a=_0x19fefa[_0x3525b1])&&(_0x594ba8=_0x58d44a(_0x594ba8)||_0x594ba8);return _0x594ba8;},_0x209056=(_0x13e405,_0x2780a7)=>(_0x767836,_0x1ca608)=>_0x2780a7(_0x767836,_0x1ca608,_0x13e405);_0x35b504[_0x28f4a5(0x19d)]=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x14b3e8,_0x3d687f,_0x22acec){const _0x2b4641=_0x28f4a5;super(),this[_0x2b4641(0x296)]=_0x14b3e8,this[_0x2b4641(0xfb)]=_0x3d687f,this[_0x2b4641(0x148)]=_0x22acec;}async[_0x28f4a5(0x30b)](_0x4d4dcc,_0x4570b8,_0x181438,..._0x362c3f){const _0x179df7=_0x28f4a5;var _0x945fab,_0x403ed6,_0x541df0,_0xcd6d05;const _0x1a185f=this[_0x179df7(0x296)][_0x179df7(0x103)]();if(!_0x1a185f)throw new Error(_0x179df7(0x23c));const _0x4feb20=((_0x945fab=this[_0x179df7(0x148)][_0x179df7(0xa6)](_0xec9e8c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x945fab:_0xec9e8c[_0x179df7(0x234)])+'/'+_0x4d4dcc+_0x179df7(0x2e3)+_0x4570b8,_0x34b618=new URL(window[_0x179df7(0x133)]['href']),_0x5c4b8d={'scriptId':_0x4d4dcc,'runId':(_0x403ed6=_0x34b618[_0x179df7(0x9c)][_0x179df7(0x1ae)](_0x179df7(0xf1)))!=null?_0x403ed6:'','function':_0x4570b8,'unitId':_0x1a185f[_0x179df7(0x10a)](),'argsOfFunction':JSON['stringify'](_0x362c3f),'invokeId':(_0x541df0=_0x181438[_0x179df7(0x2fd)])!=null?_0x541df0:'','executionId':(_0xcd6d05=_0x181438[_0x179df7(0x9d)])!=null?_0xcd6d05:''};try{const _0x3ca283=await this[_0x179df7(0xfb)][_0x179df7(0x159)](_0x4feb20,{'body':_0x5c4b8d});return _0x3ca283[_0x179df7(0x10f)][_0x179df7(0xf4)]&&_0x3ca283['body'][_0x179df7(0xf4)][_0x179df7(0x236)]!==_0xb96fef['OK']?_0x179df7(0xb8):_0x3ca283[_0x179df7(0x10f)][_0x179df7(0x252)];}catch{return _0x179df7(0xb8);}}},_0x35b504[_0x28f4a5(0x19d)]=_0x563d35([_0x209056(0x0,_0x1f0974[_0x28f4a5(0x266)]),_0x209056(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x3a7cb5[_0x28f4a5(0x24d)])),_0x209056(0x2,_0x1f0974['IConfigService'])],_0x35b504['RemoteUniscriptService']),_0x35b504[_0x28f4a5(0x233)]=_0x225d9d,_0x35b504[_0x28f4a5(0x2b7)]=_0x4d62b6,_0x35b504[_0x28f4a5(0x111)]=_0xb7037c,_0x35b504['WebBrowserSingleActiveUnitService']=_0x38ef59,_0x35b504['WebURLService']=_0x307e84,Object['defineProperty'](_0x35b504,Symbol[_0x28f4a5(0xa8)],{'value':'Module'});}));
1
+ (function(_0x3d3c13,_0xc30099){const _0x494c9a=_0x441c,_0x25cc04=_0x3d3c13();while(!![]){try{const _0x17a544=-parseInt(_0x494c9a(0x433))/0x1*(-parseInt(_0x494c9a(0x3dd))/0x2)+parseInt(_0x494c9a(0x448))/0x3*(parseInt(_0x494c9a(0x324))/0x4)+parseInt(_0x494c9a(0x33e))/0x5*(-parseInt(_0x494c9a(0x375))/0x6)+parseInt(_0x494c9a(0x1d7))/0x7+parseInt(_0x494c9a(0x2fe))/0x8*(-parseInt(_0x494c9a(0x261))/0x9)+parseInt(_0x494c9a(0x25e))/0xa*(parseInt(_0x494c9a(0x1d9))/0xb)+parseInt(_0x494c9a(0x398))/0xc*(parseInt(_0x494c9a(0x35f))/0xd);if(_0x17a544===_0xc30099)break;else _0x25cc04['push'](_0x25cc04['shift']());}catch(_0x464dfb){_0x25cc04['push'](_0x25cc04['shift']());}}}(_0xadf5,0x2ea08),function(_0x19f962,_0x42627f){const _0xa57321=_0x441c;typeof exports=='object'&&typeof module<'u'?_0x42627f(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==_0xa57321(0x303)&&define[_0xa57321(0x23b)]?define([_0xa57321(0x268),_0xa57321(0x3cc),_0xa57321(0x2d7),_0xa57321(0x32a),'@univerjs/network',_0xa57321(0x203),'@univerjs/drawing',_0xa57321(0x291),_0xa57321(0x3f4),'@univerjs/docs',_0xa57321(0x259),'@univerjs/sheets',_0xa57321(0x255),_0xa57321(0x1c7),'react/jsx-runtime',_0xa57321(0x308),'@univerjs/design',_0xa57321(0x3d0),_0xa57321(0x2f6)],_0x42627f):(_0x19f962=typeof globalThis<'u'?globalThis:_0x19f962||self,_0x42627f(_0x19f962['UniverProCollaborationClientUi']={},_0x19f962['UniverProCollaborationClient'],_0x19f962[_0xa57321(0x1e5)],_0x19f962[_0xa57321(0x1d8)],_0x19f962[_0xa57321(0x242)],_0x19f962[_0xa57321(0x3f8)],_0x19f962[_0xa57321(0x3b0)],_0x19f962[_0xa57321(0x291)],_0x19f962[_0xa57321(0x43e)],_0x19f962[_0xa57321(0x2f2)],_0x19f962[_0xa57321(0x34d)],_0x19f962['UniverSheets'],_0x19f962[_0xa57321(0x291)][_0xa57321(0x37e)],_0x19f962[_0xa57321(0x39c)],_0x19f962[_0xa57321(0x2c2)],_0x19f962['UniverUi'],_0x19f962['UniverDesign'],_0x19f962[_0xa57321(0x2c2)],_0x19f962[_0xa57321(0x238)]));}(this,function(_0x3b1343,_0x145739,_0x4c34fb,_0x5042e5,_0x3c148b,_0x53e9b7,_0x240cf3,_0x4bbdc9,_0x3b6054,_0x23a4b4,_0x509da9,_0x4b7abb,_0x56870d,_0x49d1f5,_0x1c28f4,_0x2cb420,_0x1581e7,_0x3c8ecb,_0x4a84d1){'use strict';const _0x105489=_0x441c;var _0x5800f1=Object[_0x105489(0x38f)],_0x3f9497=(_0x623d01,_0x3ffbfa,_0x32dd0b)=>_0x3ffbfa in _0x623d01?_0x5800f1(_0x623d01,_0x3ffbfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32dd0b}):_0x623d01[_0x3ffbfa]=_0x32dd0b,_0x23d7a8=(_0x26b56d,_0x2f0d8b,_0x2d6f15)=>_0x3f9497(_0x26b56d,typeof _0x2f0d8b!=_0x105489(0x1c0)?_0x2f0d8b+'':_0x2f0d8b,_0x2d6f15),_0x11aed6=Object[_0x105489(0x270)],_0xee81be=(_0xf9719a,_0x5469af,_0x1ee99f,_0x360ad4)=>{for(var _0x2f33e1=_0x360ad4>0x1?void 0x0:_0x360ad4?_0x11aed6(_0x5469af,_0x1ee99f):_0x5469af,_0x598007=_0xf9719a['length']-0x1,_0x5a1ae1;_0x598007>=0x0;_0x598007--)(_0x5a1ae1=_0xf9719a[_0x598007])&&(_0x2f33e1=_0x5a1ae1(_0x2f33e1)||_0x2f33e1);return _0x2f33e1;},_0x1c07b1=(_0x2dd9c7,_0x14f325)=>(_0x983a25,_0x14a666)=>_0x14f325(_0x983a25,_0x14a666,_0x2dd9c7);let _0x461813=class extends _0x4c34fb['RxDisposable']{constructor(_0x430a12,_0x7bb7dc){const _0x9ca25e=_0x105489;super(),this['_docClipboardService']=_0x430a12,this[_0x9ca25e(0x23e)]=_0x7bb7dc,this[_0x9ca25e(0x26c)]();}['_init'](){const _0x1b6fd7=_0x105489,_0x401537=this;this[_0x1b6fd7(0x321)](this[_0x1b6fd7(0x351)]['addClipboardHook']({'onBeforePasteImage':async _0x35df1f=>{const _0x35834b=_0x1b6fd7,_0x26b947=await _0x401537[_0x35834b(0x23e)]['saveImage'](_0x35df1f);return _0x26b947?{'source':_0x26b947['source'],'imageSourceType':_0x26b947[_0x35834b(0x37d)]}:null;}}));}};_0x461813=_0xee81be([_0x1c07b1(0x0,_0x53e9b7['IDocClipboardService']),_0x1c07b1(0x1,_0x240cf3[_0x105489(0x20f)])],_0x461813);const _0x4a383f=[_0x105489(0x316),_0x105489(0x252),_0x105489(0x212),_0x105489(0x38d),_0x105489(0x447),_0x105489(0x2b6)];class _0x5d296d extends _0x4c34fb[_0x105489(0x313)]{constructor(){const _0x1adb21=_0x105489;super(...arguments),_0x23d7a8(this,_0x1adb21(0x2cf),new Map()),_0x23d7a8(this,_0x1adb21(0x2c1),0x0);}[_0x105489(0x2be)](_0x3b3b52){const _0x53303d=_0x105489;if(this[_0x53303d(0x2cf)]['has'](_0x3b3b52))return this[_0x53303d(0x2cf)][_0x53303d(0x225)](_0x3b3b52);const _0x5ab713=_0x4a383f[this['_colorIndex']];return this['_colorIndex']=(this[_0x53303d(0x2c1)]+0x1)%_0x4a383f[_0x53303d(0x20a)],this[_0x53303d(0x2cf)][_0x53303d(0x41e)](_0x3b3b52,_0x5ab713),_0x5ab713;}}function _0x6fc9a3(_0x1c0f08){let _0x26a06d='';for(const _0x29d5bc of _0x1c0f08){const {startOffset:_0x4adc8f,endOffset:_0x19a89b,isActive:_0x4c0843,rangeType:_0x52814c,segmentId:_0x227cfc,segmentPage:_0x530ba0}=_0x29d5bc;_0x26a06d['length']&&(_0x26a06d+=','),_0x26a06d+=_0x4adc8f+':'+_0x19a89b+':'+(_0x4c0843?'1':'0')+':'+_0x52814c+':'+_0x227cfc+':'+_0x530ba0;}return _0x26a06d;}function _0x1cee92(_0x38effb){const _0x9c674f=_0x105489,_0x452506=_0x38effb[_0x9c674f(0x418)](','),_0x3d3cb4=[];for(const _0x23491a of _0x452506){const [_0x21560e,_0x4d2329,_0x3da7a2,_0x26cfc8,_0x2dd063,_0x33e624]=_0x23491a[_0x9c674f(0x418)](':');_0x3d3cb4[_0x9c674f(0x2a9)]({'startOffset':Number(_0x21560e),'endOffset':Number(_0x4d2329),'collapsed':_0x21560e===_0x4d2329,'isActive':_0x3da7a2==='1','rangeType':_0x26cfc8===_0x4c34fb[_0x9c674f(0x3dc)]['TEXT']?_0x4c34fb[_0x9c674f(0x3dc)][_0x9c674f(0x2e3)]:_0x4c34fb[_0x9c674f(0x3dc)][_0x9c674f(0x1f7)],'segmentId':typeof _0x2dd063=='string'?String(_0x2dd063):'','segmentPage':Number(_0x33e624!=null?_0x33e624:-0x1)});}return _0x3d3cb4[_0x9c674f(0x3cb)](_0x406fe9=>_0x406fe9[_0x9c674f(0x21e)])||(_0x3d3cb4[0x0][_0x9c674f(0x21e)]=!0x0),_0x3d3cb4;}class _0x5532ac extends _0x4c34fb['RxDisposable']{constructor(){const _0x22150e=_0x105489;super(...arguments),_0x23d7a8(this,_0x22150e(0x3b5),new _0x4bbdc9['BehaviorSubject'](null)),_0x23d7a8(this,_0x22150e(0x415),this[_0x22150e(0x3b5)][_0x22150e(0x2ff)]());}[_0x105489(0x293)](_0x584efe){const _0x1115b7=_0x105489,{unitID:_0xd95740,memberID:_0x386733,textRanges:_0x7f1274}=_0x584efe,_0x2ce77c=_0x6fc9a3(_0x7f1274);if(_0x2ce77c==='')return;const _0x1b7fb5={'unitID':_0xd95740,'memberID':_0x386733,'selection':_0x2ce77c};this['_collabCursorState$'][_0x1115b7(0x34b)](_0x1b7fb5);}}var _0x2b430d=Object[_0x105489(0x270)],_0x1afda2=(_0xef18de,_0x5638b1,_0x4294aa,_0x241d7a)=>{const _0x4c995f=_0x105489;for(var _0x53f499=_0x241d7a>0x1?void 0x0:_0x241d7a?_0x2b430d(_0x5638b1,_0x4294aa):_0x5638b1,_0x30f344=_0xef18de[_0x4c995f(0x20a)]-0x1,_0x5698f8;_0x30f344>=0x0;_0x30f344--)(_0x5698f8=_0xef18de[_0x30f344])&&(_0x53f499=_0x5698f8(_0x53f499)||_0x53f499);return _0x53f499;},_0xb717e1=(_0x159301,_0x2d1c13)=>(_0x1605a3,_0x1b2390)=>_0x2d1c13(_0x1605a3,_0x1b2390,_0x159301);const _0xe58cf7=0x12c,_0x3e2fd0=0x64;let _0x51730c=class extends _0x4c34fb['RxDisposable']{constructor(_0x136432,_0x2337b6,_0x21c9e6,_0x2dce1e,_0x45255c,_0x2609d1,_0x3c98af,_0x1710b7,_0x515484){const _0x2c4401=_0x105489;super(),_0x23d7a8(this,_0x2c4401(0x3e2),!0x1),_0x23d7a8(this,_0x2c4401(0x26c),!0x1),_0x23d7a8(this,'_cursorInfo$',new _0x4bbdc9['BehaviorSubject'](new Map())),_0x23d7a8(this,_0x2c4401(0x450),this[_0x2c4401(0x3ff)][_0x2c4401(0x2ff)]()),_0x23d7a8(this,_0x2c4401(0x33d),new _0x4bbdc9[(_0x2c4401(0x382))]([])),_0x23d7a8(this,_0x2c4401(0x3fb),this[_0x2c4401(0x33d)][_0x2c4401(0x35a)](_0x4bbdc9[_0x2c4401(0x297)](_0xe58cf7))),_0x23d7a8(this,_0x2c4401(0x335),_0x4c34fb['debounce'](_0x17812f=>{const _0x2bc28a=_0x2c4401,_0x361edc={'eventID':_0x3b6054[_0x2bc28a(0x2af)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2bc28a(0x380)],'memberID':this[_0x2bc28a(0x22d)][_0x2bc28a(0x399)](),'selection':_0x6fc9a3(_0x17812f)}};this[_0x2bc28a(0x22d)][_0x2bc28a(0x224)](_0x361edc,this[_0x2bc28a(0x380)]);},_0x3e2fd0)),(this[_0x2c4401(0x380)]=_0x136432,this[_0x2c4401(0x22d)]=_0x2337b6,this['_injector']=_0x21c9e6,this[_0x2c4401(0x369)]=_0x2dce1e,this[_0x2c4401(0x231)]=_0x45255c,this[_0x2c4401(0x397)]=_0x2609d1,this[_0x2c4401(0x1f5)]=_0x3c98af,this[_0x2c4401(0x325)]=_0x1710b7,this[_0x2c4401(0x355)]=_0x515484);}get['cursorInfo'](){const _0x48addd=_0x105489;return this['_cursorInfo$'][_0x48addd(0x413)]();}get[_0x105489(0x3d4)](){const _0x13c2a3=_0x105489;return this['_roomMembers$'][_0x13c2a3(0x413)]();}[_0x105489(0x275)](){const _0x381a70=_0x105489;super[_0x381a70(0x275)](),this[_0x381a70(0x3ff)][_0x381a70(0x34b)](new Map()),this['_cursorInfo$'][_0x381a70(0x294)](),this[_0x381a70(0x33d)]['next']([]),this['_roomMembers$'][_0x381a70(0x294)]();}[_0x105489(0x421)](){const _0x6ece8c=_0x105489;this[_0x6ece8c(0x26c)]||(this[_0x6ece8c(0x26c)]=!0x0,this['_session'][_0x6ece8c(0x22e)][_0x6ece8c(0x35a)](_0x4bbdc9[_0x6ece8c(0x20e)](this['dispose$']))[_0x6ece8c(0x2f9)](_0x4a9d47=>{const _0x1eee4a=_0x6ece8c;_0x4a9d47===_0x145739[_0x1eee4a(0x2de)][_0x1eee4a(0x36a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x6ece8c(0x22d)]['event$']['pipe'](_0x4bbdc9['takeUntil'](this[_0x6ece8c(0x2df)]))[_0x6ece8c(0x2f9)](_0x430097=>{const _0x4e262b=_0x6ece8c,_0xde72b3=_0x430097[_0x4e262b(0x34e)];_0xde72b3===_0x3b6054[_0x4e262b(0x2af)][_0x4e262b(0x3fd)]&&this['_onCursorUpdate'](_0x430097),_0xde72b3===_0x3b6054[_0x4e262b(0x2af)][_0x4e262b(0x3ae)]&&this[_0x4e262b(0x2d8)](_0x430097);}),this[_0x6ece8c(0x321)](this[_0x6ece8c(0x355)][_0x6ece8c(0x2bf)](_0x3b9d0c=>{const _0x35b63e=_0x6ece8c,_0x378796=_0x3b9d0c[_0x35b63e(0x1d6)];_0x378796!=null&&this[_0x35b63e(0x3e2)]&&_0x3b9d0c['id']===_0x23a4b4[_0x35b63e(0x27d)]['id']&&_0x378796['unitId']===this[_0x35b63e(0x380)]&&_0x378796[_0x35b63e(0x21f)]===!0x1&&_0x378796['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x378796[_0x35b63e(0x3f1)]);})),this[_0x6ece8c(0x397)][_0x6ece8c(0x415)][_0x6ece8c(0x35a)](_0x4bbdc9[_0x6ece8c(0x20e)](this[_0x6ece8c(0x2df)]))[_0x6ece8c(0x2f9)](_0x5879c2=>{const _0x2ad2d1=_0x6ece8c;if((_0x5879c2==null?void 0x0:_0x5879c2['unitID'])!==this[_0x2ad2d1(0x380)])return;const _0x1ba0c6={'eventID':_0x3b6054[_0x2ad2d1(0x2af)][_0x2ad2d1(0x3fd)],'data':_0x5879c2};this[_0x2ad2d1(0x37b)](_0x1ba0c6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2048e7=>{const _0x4e23b9=_0x6ece8c;if(_0x2048e7[_0x4e23b9(0x1d6)]==null)return;const _0x4fcd53=_0x2048e7[_0x4e23b9(0x1d6)];if(_0x2048e7['id']!==_0x23a4b4['RichTextEditingMutation']['id']||_0x4fcd53[_0x4e23b9(0x3ee)]!==this[_0x4e23b9(0x380)])return;const _0xa49962={'id':_0x4e23b9(0x250),'params':_0x4fcd53},_0x3033ab=this['cursorInfo'];for(const [_0x189d53,_0x2190d4]of _0x3033ab){const _0x543b32={'id':_0x4e23b9(0x250),'params':{'unitId':this[_0x4e23b9(0x380)],'actions':null,'textRanges':_0x2190d4[_0x4e23b9(0x3f1)]}},_0x5553d5=this[_0x4e23b9(0x1f5)]['transformMutation'](_0xa49962,_0x543b32,!0x1);if(_0x3b6054['isTransformMutationFailure'](_0x5553d5))throw _0x5553d5[_0x4e23b9(0x284)];_0x3033ab[_0x4e23b9(0x41e)](_0x189d53,{..._0x2190d4,'ranges':_0x5553d5[_0x4e23b9(0x1e0)][_0x4e23b9(0x1d6)][_0x4e23b9(0x1f0)]});}queueMicrotask(()=>{const _0x27a0f7=_0x4e23b9;this['_cursorInfo$'][_0x27a0f7(0x34b)](_0x3033ab);});})));}['_onCursorUpdate'](_0x211857){const _0x422c72=_0x105489;var _0x707078,_0xe38cbc;const {memberID:_0x291a01,selection:_0x201a61}=_0x211857[_0x422c72(0x1c6)],_0x4db109=_0x1cee92(_0x201a61),_0x237905=(_0xe38cbc=(_0x707078=this[_0x422c72(0x231)][_0x422c72(0x1d0)](this[_0x422c72(0x380)],_0x291a01))==null?void 0x0:_0x707078['name'])!=null?_0xe38cbc:'Unknown\x20user',_0x28175d={'color':this[_0x422c72(0x369)][_0x422c72(0x2be)](_0x291a01),'name':_0x237905,'ranges':_0x4db109},_0x33334d=this[_0x422c72(0x296)];_0x33334d[_0x422c72(0x41e)](_0x291a01,_0x28175d),this[_0x422c72(0x3ff)][_0x422c72(0x34b)](_0x33334d);}[_0x105489(0x2d8)](_0x4b0060){const _0x17634c=_0x105489,{memberID:_0x22fc7c}=_0x4b0060[_0x17634c(0x1c6)],_0x33b113=this[_0x17634c(0x296)];_0x33b113[_0x17634c(0x292)](_0x22fc7c),this[_0x17634c(0x3ff)][_0x17634c(0x34b)](_0x33b113);}[_0x105489(0x304)](){const _0x4f1aaf=_0x105489;var _0x3e3537;if(this[_0x4f1aaf(0x3e2)]=!0x0,((_0x3e3537=this[_0x4f1aaf(0x325)]['getFocusedUnit']())==null?void 0x0:_0x3e3537['getUnitId']())!==this['unitID'])return;const _0x4e8e35=this[_0x4f1aaf(0x423)]['get'](_0x23a4b4[_0x4f1aaf(0x216)])[_0x4f1aaf(0x323)]();Array[_0x4f1aaf(0x1ce)](_0x4e8e35)&&_0x4e8e35[_0x4f1aaf(0x20a)]>0x0&&this[_0x4f1aaf(0x335)](_0x4e8e35);}[_0x105489(0x43c)](){this['_online']=!0x1;}};_0x51730c=_0x1afda2([_0xb717e1(0x2,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0xb717e1(0x3,_0x4c34fb[_0x105489(0x338)](_0x5d296d)),_0xb717e1(0x4,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x43f)])),_0xb717e1(0x5,_0x4c34fb[_0x105489(0x338)](_0x5532ac)),_0xb717e1(0x6,_0x3b6054[_0x105489(0x388)]),_0xb717e1(0x7,_0x4c34fb[_0x105489(0x2f5)]),_0xb717e1(0x8,_0x4c34fb['ICommandService'])],_0x51730c);var _0x44ec93=Object['getOwnPropertyDescriptor'],_0x4f39ed=(_0xd24346,_0x5802a8,_0x5be507,_0xac9d06)=>{const _0x16098=_0x105489;for(var _0x5ee3e2=_0xac9d06>0x1?void 0x0:_0xac9d06?_0x44ec93(_0x5802a8,_0x5be507):_0x5802a8,_0x338d06=_0xd24346[_0x16098(0x20a)]-0x1,_0xa843eb;_0x338d06>=0x0;_0x338d06--)(_0xa843eb=_0xd24346[_0x338d06])&&(_0x5ee3e2=_0xa843eb(_0x5ee3e2)||_0x5ee3e2);return _0x5ee3e2;},_0x24eead=(_0x4818da,_0x56bea2)=>(_0x2d944e,_0x115c17)=>_0x56bea2(_0x2d944e,_0x115c17,_0x4818da);const _0x124349=0x12c,_0x177901=0x64,_0x340b75=()=>{let _0x434d68=[],_0x850276=!0x1;return _0x3601d9=>{const _0x3c765c=_0x441c;_0x434d68[_0x3c765c(0x2a9)](_0x3601d9),_0x850276||(_0x850276=!0x0,setTimeout(()=>{_0x434d68['forEach'](_0x522aa7=>_0x522aa7()),_0x434d68=[],_0x850276=!0x1;}));};};let _0x3d603e=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x2b57fe,_0x1ab339,_0x3f6f56,_0x31f318,_0x5b0bd5,_0x5e16f7,_0x16012e,_0x174876){const _0x38737b=_0x105489;super(),_0x23d7a8(this,_0x38737b(0x3e2),!0x1),_0x23d7a8(this,_0x38737b(0x26c),!0x1),_0x23d7a8(this,_0x38737b(0x3ff),new _0x4bbdc9['BehaviorSubject'](new Map())),_0x23d7a8(this,'cursorInfo$',this[_0x38737b(0x3ff)][_0x38737b(0x2ff)]()),_0x23d7a8(this,_0x38737b(0x33d),new _0x4bbdc9[(_0x38737b(0x382))]([])),_0x23d7a8(this,_0x38737b(0x3fb),this[_0x38737b(0x33d)][_0x38737b(0x35a)](_0x4bbdc9[_0x38737b(0x297)](_0x124349))),_0x23d7a8(this,_0x38737b(0x335),_0x4c34fb[_0x38737b(0x26d)]((_0x7b55e1,_0x5294d0)=>{const _0x9a1ce1=_0x38737b,_0x31c4d3={'eventID':_0x3b6054[_0x9a1ce1(0x2af)][_0x9a1ce1(0x3fd)],'data':{'unitID':this[_0x9a1ce1(0x380)],'memberID':this['_session']['getMemberID'](),'selection':_0x509da9[_0x9a1ce1(0x441)](_0x7b55e1,_0x5294d0[_0x9a1ce1(0x2a6)])}};this[_0x9a1ce1(0x22d)]['send'](_0x31c4d3,this[_0x9a1ce1(0x380)]);},_0x177901)),(this[_0x38737b(0x380)]=_0x2b57fe,this[_0x38737b(0x22d)]=_0x1ab339,this[_0x38737b(0x423)]=_0x3f6f56,this[_0x38737b(0x369)]=_0x31f318,this[_0x38737b(0x231)]=_0x5b0bd5,this[_0x38737b(0x325)]=_0x5e16f7,this[_0x38737b(0x355)]=_0x16012e,this[_0x38737b(0x392)]=_0x174876);}get[_0x105489(0x296)](){const _0x451d87=_0x105489;return this['_cursorInfo$'][_0x451d87(0x413)]();}get[_0x105489(0x3d4)](){const _0x2ef06b=_0x105489;return this['_roomMembers$'][_0x2ef06b(0x413)]();}[_0x105489(0x275)](){const _0x3541bc=_0x105489;super[_0x3541bc(0x275)](),this[_0x3541bc(0x3ff)][_0x3541bc(0x34b)](new Map()),this[_0x3541bc(0x3ff)][_0x3541bc(0x294)](),this['_roomMembers$'][_0x3541bc(0x34b)]([]),this[_0x3541bc(0x33d)][_0x3541bc(0x294)]();}[_0x105489(0x421)](){const _0x38751a=_0x105489;this[_0x38751a(0x26c)]||(this[_0x38751a(0x26c)]=!0x0,this['_session'][_0x38751a(0x22e)][_0x38751a(0x35a)](_0x4bbdc9['takeUntil'](this[_0x38751a(0x2df)]))['subscribe'](_0xb50a3a=>{const _0x5c48f1=_0x38751a;_0xb50a3a===_0x145739['SessionStatus'][_0x5c48f1(0x36a)]?this[_0x5c48f1(0x304)]():this[_0x5c48f1(0x43c)]();}),this[_0x38751a(0x22d)]['event$'][_0x38751a(0x35a)](_0x4bbdc9['takeUntil'](this[_0x38751a(0x2df)]))[_0x38751a(0x2f9)](_0xe1ee6c=>{const _0x326c7a=_0x38751a,_0x1d4e46=_0xe1ee6c[_0x326c7a(0x34e)];_0x1d4e46===_0x3b6054[_0x326c7a(0x2af)][_0x326c7a(0x3fd)]&&this[_0x326c7a(0x37b)](_0xe1ee6c),_0x1d4e46===_0x3b6054[_0x326c7a(0x2af)][_0x326c7a(0x3ae)]&&this[_0x326c7a(0x2d8)](_0xe1ee6c);}),this['_onRefRangeChange'](),this[_0x38751a(0x321)](this[_0x38751a(0x355)][_0x38751a(0x2bf)](_0x55ba53=>{const _0x24e898=_0x38751a;if(this[_0x24e898(0x3e2)]&&_0x55ba53['id']===_0x4b7abb[_0x24e898(0x381)]['id']&&_0x55ba53[_0x24e898(0x1d6)][_0x24e898(0x3ee)]===this[_0x24e898(0x380)]){const _0xa5013=_0x55ba53[_0x24e898(0x1d6)];this[_0x24e898(0x335)](_0xa5013[_0x24e898(0x288)],_0xa5013[_0x24e898(0x449)][0x0]);}})));}[_0x105489(0x37b)](_0x47f422){const _0x14841f=_0x105489;var _0x231c17,_0x235fea;const {memberID:_0x280466,selection:_0x44582d}=_0x47f422[_0x14841f(0x1c6)],{sheetName:_0x385891,range:_0x27d9cc}=_0x509da9[_0x14841f(0x3d6)](_0x44582d),_0x251d9b={'name':(_0x235fea=(_0x231c17=this[_0x14841f(0x231)][_0x14841f(0x1d0)](this[_0x14841f(0x380)],_0x280466))==null?void 0x0:_0x231c17['name'])!=null?_0x235fea:_0x14841f(0x425),'range':this['_getMergeRange'](_0x385891,_0x27d9cc),'sheetID':_0x385891,'color':this[_0x14841f(0x369)]['assignAColorForMemberID'](_0x280466),'selection':_0x44582d},_0x3b8c20=this[_0x14841f(0x296)];_0x3b8c20[_0x14841f(0x41e)](_0x280466,_0x251d9b),this[_0x14841f(0x3ff)][_0x14841f(0x34b)](_0x3b8c20);}[_0x105489(0x2d8)](_0x4083f7){const _0x4bc1e7=_0x105489,{memberID:_0xb6bc0a}=_0x4083f7[_0x4bc1e7(0x1c6)],_0x579786=this[_0x4bc1e7(0x296)];_0x579786[_0x4bc1e7(0x292)](_0xb6bc0a),this[_0x4bc1e7(0x3ff)][_0x4bc1e7(0x34b)](_0x579786);}[_0x105489(0x2c5)](_0x4b741a,_0x121ef7){const _0x1fb374=_0x105489;var _0x4e6020,_0x207ecc;const _0x5d8b26=(_0x207ecc=(_0x4e6020=this['_univerInstanceService'][_0x1fb374(0x2f4)](this[_0x1fb374(0x380)]))==null?void 0x0:_0x4e6020['getSheetBySheetId'](_0x4b741a))==null?void 0x0:_0x207ecc['getMergeData']();return(_0x5d8b26==null?void 0x0:_0x5d8b26['find'](_0x1ad5b7=>_0x4c34fb[_0x1fb374(0x2b0)]['contains'](_0x1ad5b7,_0x121ef7)))||_0x121ef7;}[_0x105489(0x3f5)](){const _0x338f81=_0x105489,_0x28a352=new _0x4c34fb['DisposableCollection'](),_0xa398f8=_0x340b75(),_0x364d18=()=>{const _0x4a5035=_0x441c;_0x28a352[_0x4a5035(0x275)]();const _0x410176=(_0x2ed54f,_0x19a16e,_0x2c2cce,_0x25431d)=>{const _0x432771=_0x4a5035;let _0x563c0f=[];switch(_0x2ed54f['id']){case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x318)]:{_0x563c0f=_0x4b7abb[_0x432771(0x1e8)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)]['DeleteRangeMoveUpCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x2b7)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x343)]:{_0x563c0f=_0x4b7abb[_0x432771(0x3c9)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x42c)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x40e)]:{_0x563c0f=_0x4b7abb['handleInsertRangeMoveRight'](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x358)]:{_0x563c0f=_0x4b7abb[_0x432771(0x455)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x1c8)]:{_0x563c0f=_0x4b7abb['handleMoveRange'](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)]['RemoveColCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x229)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x28d)]:{_0x563c0f=_0x4b7abb['handleIRemoveRow'](_0x2ed54f,_0x25431d);break;}}const _0x390ee6=_0x4b7abb[_0x432771(0x2b9)](_0x563c0f,_0x25431d),_0x4601c2=this[_0x432771(0x296)]['get'](_0x19a16e);if(_0x4601c2&&_0x390ee6){const _0x31362f={..._0x4601c2,'range':_0x390ee6};this[_0x432771(0x296)][_0x432771(0x41e)](_0x19a16e,_0x31362f),_0xa398f8(()=>{const _0x5185e3=_0x432771,_0xea2645=this[_0x5185e3(0x392)][_0x5185e3(0x442)](_0x390ee6,_0xd5b79d=>(_0xea2645['dispose'](),_0x410176(_0xd5b79d,_0x19a16e,_0x2c2cce,_0x390ee6)));_0x28a352[_0x5185e3(0x1ea)](_0xea2645);});}return{'redos':[],'undos':[]};};this[_0x4a5035(0x296)][_0x4a5035(0x2ee)]((_0x3504e2,_0x35bfd7)=>{const _0x23bb91=_0x4a5035,{range:_0x8c5dd3,sheetID:_0x195015}=_0x3504e2,_0x21477e=this[_0x23bb91(0x392)][_0x23bb91(0x442)](_0x8c5dd3,_0xf19312=>(_0x21477e['dispose'](),_0x410176(_0xf19312,_0x35bfd7,_0x195015,_0x8c5dd3)));_0x28a352[_0x23bb91(0x1ea)](_0x21477e);});};this[_0x338f81(0x321)](_0x4c34fb['toDisposable'](this['_cursorInfo$'][_0x338f81(0x2f9)](()=>{_0x364d18();})));}[_0x105489(0x304)](){const _0x58a489=_0x105489;var _0x33f506,_0x1e8d44;if(this[_0x58a489(0x3e2)]=!0x0,((_0x33f506=this['_univerInstanceService'][_0x58a489(0x346)]())==null?void 0x0:_0x33f506['getUnitId']())!==this[_0x58a489(0x380)])return;const _0x2ae3b3=(_0x1e8d44=this[_0x58a489(0x423)][_0x58a489(0x225)](_0x4b7abb['SheetsSelectionsService'])[_0x58a489(0x36d)]())==null?void 0x0:_0x1e8d44[0x0],_0x2f9bb9=this[_0x58a489(0x325)][_0x58a489(0x2ea)](_0x4c34fb[_0x58a489(0x28f)][_0x58a489(0x409)])[_0x58a489(0x236)]();_0x2ae3b3&&_0x2f9bb9&&this[_0x58a489(0x335)](_0x2f9bb9[_0x58a489(0x2ad)](),_0x2ae3b3);}[_0x105489(0x43c)](){this['_online']=!0x1;}};_0x3d603e=_0x4f39ed([_0x24eead(0x2,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x24eead(0x3,_0x4c34fb['Inject'](_0x5d296d)),_0x24eead(0x4,_0x4c34fb['Inject'](_0x145739['MemberService'])),_0x24eead(0x5,_0x4c34fb[_0x105489(0x2f5)]),_0x24eead(0x6,_0x4c34fb[_0x105489(0x25f)]),_0x24eead(0x7,_0x4c34fb[_0x105489(0x338)](_0x4b7abb['RefRangeService']))],_0x3d603e);var _0xdd683a=Object[_0x105489(0x270)],_0x22d2d1=(_0x330305,_0x3fb559,_0x19f8a3,_0x1b2859)=>{for(var _0x2cde08=_0x1b2859>0x1?void 0x0:_0x1b2859?_0xdd683a(_0x3fb559,_0x19f8a3):_0x3fb559,_0x470a3d=_0x330305['length']-0x1,_0x5552ac;_0x470a3d>=0x0;_0x470a3d--)(_0x5552ac=_0x330305[_0x470a3d])&&(_0x2cde08=_0x5552ac(_0x2cde08)||_0x2cde08);return _0x2cde08;},_0x384319=(_0x5582db,_0x47a544)=>(_0x1ac57c,_0x18d555)=>_0x47a544(_0x1ac57c,_0x18d555,_0x5582db);let _0x4cbfa5=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x29f8a6,_0x4db81e,_0x3bce6a){const _0x596f9b=_0x105489;super(),_0x23d7a8(this,'_entities',new Map()),_0x23d7a8(this,_0x596f9b(0x2f3),new _0x4bbdc9['Subject']()),(this[_0x596f9b(0x325)]=_0x29f8a6,this[_0x596f9b(0x423)]=_0x4db81e,this[_0x596f9b(0x295)]=_0x3bce6a,this[_0x596f9b(0x26c)]());}[_0x105489(0x275)](){const _0x59e448=_0x105489;super[_0x59e448(0x275)](),this['_entityInit$'][_0x59e448(0x294)](),this[_0x59e448(0x401)][_0x59e448(0x2ee)](_0x8d6eb4=>_0x8d6eb4[_0x59e448(0x275)]());}[_0x105489(0x1f1)](_0x952eb1){const _0x4c6677=_0x105489;return this[_0x4c6677(0x401)][_0x4c6677(0x44c)](_0x952eb1)?this[_0x4c6677(0x401)]['get'](_0x952eb1)[_0x4c6677(0x450)]:this[_0x4c6677(0x2f3)][_0x4c6677(0x35a)](_0x4bbdc9[_0x4c6677(0x219)](_0x1fd6a1=>_0x1fd6a1[_0x4c6677(0x380)]===_0x952eb1),_0x4bbdc9[_0x4c6677(0x3e1)](_0x5254b7=>_0x5254b7[_0x4c6677(0x450)]));}[_0x105489(0x26c)](){const _0x313473=_0x105489;this[_0x313473(0x325)][_0x313473(0x299)](_0x4c34fb[_0x313473(0x28f)]['UNIVER_SHEET'])[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x20e)](this[_0x313473(0x2df)]))[_0x313473(0x2f9)](async _0x82e609=>{const _0x1ef891=_0x313473,_0x39eabf=_0x82e609['getUnitId'](),_0x245e1f=await this['_startSheetCollabCursor'](_0x39eabf);this[_0x1ef891(0x2f3)]['next'](_0x245e1f),this[_0x1ef891(0x401)][_0x1ef891(0x41e)](_0x39eabf,_0x245e1f);}),this[_0x313473(0x325)][_0x313473(0x299)](_0x4c34fb['UniverInstanceType'][_0x313473(0x3cd)])[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x20e)](this[_0x313473(0x2df)]))[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x219)](_0x11b3c2=>!_0x11b3c2[_0x313473(0x2e1)]()['startsWith']('__')))[_0x313473(0x2f9)](async _0x31a490=>{const _0x4d244b=_0x313473,_0x3b92fd=_0x31a490[_0x4d244b(0x2e1)](),_0x42db01=await this['_startDocCollabCursor'](_0x3b92fd);this[_0x4d244b(0x2f3)]['next'](_0x42db01),this[_0x4d244b(0x401)][_0x4d244b(0x41e)](_0x3b92fd,_0x42db01);}),_0x4bbdc9[_0x313473(0x420)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4c34fb[_0x313473(0x28f)][_0x313473(0x3cd)]),this['_univerInstanceService'][_0x313473(0x3e6)](_0x4c34fb[_0x313473(0x28f)]['UNIVER_SHEET']))[_0x313473(0x35a)](_0x4bbdc9['takeUntil'](this['dispose$']))[_0x313473(0x2f9)](_0x276365=>{const _0x46c574=_0x313473,_0x4d7216=_0x276365[_0x46c574(0x2e1)](),_0x743127=this['_entities']['get'](_0x4d7216);_0x743127&&(_0x743127[_0x46c574(0x275)](),this[_0x46c574(0x401)][_0x46c574(0x292)](_0x4d7216));});}async[_0x105489(0x360)](_0x15a8f1){const _0x10edca=_0x105489,_0x3cdd86=await this[_0x10edca(0x295)]['requireSession'](_0x15a8f1),_0x52c21c=this[_0x10edca(0x423)][_0x10edca(0x32f)](_0x3d603e,_0x15a8f1,_0x3cdd86);return _0x52c21c[_0x10edca(0x421)](),_0x52c21c;}async[_0x105489(0x2ac)](_0x48f222){const _0x213705=_0x105489,_0x275af0=await this[_0x213705(0x295)][_0x213705(0x3e5)](_0x48f222),_0x3dfc77=this[_0x213705(0x423)][_0x213705(0x32f)](_0x51730c,_0x48f222,_0x275af0);return _0x3dfc77[_0x213705(0x421)](),_0x3dfc77;}};_0x4cbfa5=_0x22d2d1([_0x384319(0x0,_0x4c34fb['IUniverInstanceService']),_0x384319(0x1,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x334)])),_0x384319(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739['CollaborationSessionService']))],_0x4cbfa5);const _0x32d615=0x14,_0x5a7796=0xc8,_0x2c78e8=0x4,_0x13ddec=0x5;function _0x61ab(_0x960cc0,_0x4c1f5e){const _0x23a5fb=_0x105489;let {radius:_0x946a97,width:_0x2e0e09,height:_0x5cab08}=_0x4c1f5e;_0x946a97=_0x946a97!=null?_0x946a97:0x0,_0x2e0e09=_0x2e0e09!=null?_0x2e0e09:0x1e,_0x5cab08=_0x5cab08!=null?_0x5cab08:0x1e;let _0x144b0e=0x0,_0x20c468=0x0,_0x413b24=0x0;_0x144b0e=_0x20c468=_0x413b24=Math[_0x23a5fb(0x39e)](_0x946a97,_0x2e0e09/0x2,_0x5cab08/0x2),_0x960cc0[_0x23a5fb(0x2a4)](),_0x960cc0[_0x23a5fb(0x279)](_0x144b0e,0x0),_0x960cc0[_0x23a5fb(0x3c1)](_0x2e0e09-_0x20c468,0x0),_0x960cc0[_0x23a5fb(0x2b2)](_0x2e0e09-_0x20c468,_0x20c468,_0x20c468,Math['PI']*0x3/0x2,0x0,!0x1),_0x960cc0[_0x23a5fb(0x3c1)](_0x2e0e09,_0x5cab08-_0x413b24),_0x960cc0['arc'](_0x2e0e09-_0x413b24,_0x5cab08-_0x413b24,_0x413b24,0x0,Math['PI']/0x2,!0x1),_0x960cc0['lineTo'](0x0,_0x5cab08),_0x960cc0[_0x23a5fb(0x3c1)](0x0,_0x144b0e),_0x960cc0[_0x23a5fb(0x2b2)](_0x144b0e,_0x144b0e,_0x144b0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x960cc0[_0x23a5fb(0x273)](),_0x4c1f5e['fill']&&(_0x960cc0[_0x23a5fb(0x2a1)](),_0x960cc0[_0x23a5fb(0x1de)]=_0x4c1f5e[_0x23a5fb(0x2e0)],_0x4c1f5e[_0x23a5fb(0x3bb)]==='evenodd'?_0x960cc0[_0x23a5fb(0x2e0)](_0x23a5fb(0x24b)):_0x960cc0[_0x23a5fb(0x2e0)](),_0x960cc0['restore']());}class _0x3af703 extends _0x5042e5[_0x105489(0x3fa)]{constructor(_0xeda0dc,_0x35ec95){const _0x328220=_0x105489;super(_0xeda0dc,_0x35ec95),_0x23d7a8(this,_0x328220(0x3a0)),_0x23d7a8(this,_0x328220(0x23c)),(this[_0x328220(0x3a0)]=_0x35ec95==null?void 0x0:_0x35ec95[_0x328220(0x3a0)],this[_0x328220(0x23c)]=_0x35ec95==null?void 0x0:_0x35ec95[_0x328220(0x23c)]);}static['drawWith'](_0x24923f,_0x3ac8cd){const _0x5b3611=_0x105489,{text:_0xf72925,color:_0x1c466d}=_0x3ac8cd;_0x24923f[_0x5b3611(0x2a1)](),_0x24923f['font']=_0x5b3611(0x3e7);const _0x4b5fa2=_0x24923f[_0x5b3611(0x383)](_0xf72925)[_0x5b3611(0x1ef)],_0x3fb4c4=Math[_0x5b3611(0x39e)](_0x4b5fa2+0x2*_0x2c78e8,_0x5a7796);_0x61ab(_0x24923f,{'height':_0x32d615,'radius':0x4,'width':_0x3fb4c4,'fill':_0x1c466d}),_0x24923f['fillStyle']=_0x5b3611(0x377);const _0x3c0bb6=_0x2c78e8,_0x6fc6af=_0x32d615-_0x13ddec,_0x153af2=_0x5a7796-0x2*_0x2c78e8;if(_0x4b5fa2>_0x153af2){let _0x2be151='',_0x501bef=0x0;for(const _0x2cfeb4 of _0xf72925){const _0xf33c58=_0x24923f[_0x5b3611(0x383)](_0x2cfeb4)['width'];if(_0x501bef+_0xf33c58<=_0x153af2-_0x24923f['measureText'](_0x5b3611(0x3c2))[_0x5b3611(0x1ef)])_0x2be151+=_0x2cfeb4,_0x501bef+=_0xf33c58;else{_0x2be151+='...';break;}}_0x24923f[_0x5b3611(0x1f3)](_0x2be151,_0x3c0bb6,_0x6fc6af);}else _0x24923f[_0x5b3611(0x1f3)](_0xf72925,_0x3c0bb6,_0x6fc6af);_0x24923f[_0x5b3611(0x2a7)]();}['_draw'](_0x5c468f){const _0xd0b0a6=_0x105489;_0x3af703[_0xd0b0a6(0x412)](_0x5c468f,this);}}const _0x2958d3='collab-text-anchor-',_0x5c4381=_0x105489(0x2ef),_0x1504ce=_0x105489(0x3bc),_0x4de29f=0x6,_0x6e4b71=1.5,_0x421c5d=0x4,_0x59211d=1.5,_0x28c603='rgba(255,\x20255,\x20255,\x200.01)';class _0x1704e3{constructor(_0x3fe6c2,_0x454e6c,_0x740892,_0x50f891){const _0x1c0550=_0x105489;_0x23d7a8(this,_0x1c0550(0x437),[]),_0x23d7a8(this,_0x1c0550(0x300),null),_0x23d7a8(this,_0x1c0550(0x35b),null),_0x23d7a8(this,'_anchorDot',null),_0x23d7a8(this,'_hideTimer',null),_0x23d7a8(this,_0x1c0550(0x2f1),null),(this[_0x1c0550(0x3f6)]=_0x3fe6c2,this[_0x1c0550(0x42a)]=_0x454e6c,this['_docSkeleton']=_0x740892,this[_0x1c0550(0x22a)]=_0x50f891,this['_render']());}set[_0x105489(0x339)](_0x1cc902){const _0x33d0fa=_0x105489;_0x1cc902?(this['_anchorDot']&&this[_0x33d0fa(0x213)][_0x33d0fa(0x414)](),this[_0x33d0fa(0x35b)]&&this['_textBubble'][_0x33d0fa(0x207)]()):(this[_0x33d0fa(0x213)]&&this[_0x33d0fa(0x213)]['show'](),this[_0x33d0fa(0x35b)]&&this[_0x33d0fa(0x35b)][_0x33d0fa(0x414)]());}[_0x105489(0x275)](){const _0x49987c=_0x105489;for(const _0x1795f3 of this['_shapes'])_0x1795f3[_0x49987c(0x275)]();this[_0x49987c(0x35b)]&&this['_textBubble'][_0x49987c(0x275)](),this['_anchorDot']&&this[_0x49987c(0x213)][_0x49987c(0x275)](),this['_anchor']&&this[_0x49987c(0x300)][_0x49987c(0x275)](),this['_eventUnsubscribe']&&this[_0x49987c(0x2f1)]();}[_0x105489(0x30a)](){const _0x10374a=_0x105489;var _0x1dd353;const {_docSkeleton:_0x4478f4,_document:_0xb10198}=this,{color:_0x25d787,name:_0x40068e,ranges:_0x54b922}=this[_0x10374a(0x3f6)],_0x940ae2=_0xb10198[_0x10374a(0x333)](),{docsLeft:_0x472279,docsTop:_0x5b6688}=_0x940ae2,_0x4200c9=new _0x53e9b7[(_0x10374a(0x1f8))](_0x940ae2,_0x4478f4);for(const {startOffset:_0x437566,endOffset:_0x15f5d8,rangeType:_0x389f1f,segmentId:_0x1d8fcf,segmentPage:_0x2a4699,collapsed:_0x16e743,isActive:_0x1bbc4f}of _0x54b922){const _0x453763=_0x4478f4[_0x10374a(0x3c0)](_0x437566,!0x0,_0x1d8fcf,_0x2a4699);let _0x10a474=_0x4478f4['findNodePositionByCharIndex'](_0x15f5d8,!0x0,_0x1d8fcf,_0x2a4699);if(_0x10a474==null&&(_0x10a474=_0x4478f4['findNodePositionByCharIndex'](_0x15f5d8-0x1,!0x1,_0x1d8fcf,_0x2a4699)),_0x1bbc4f){const {contentBoxPointGroup:_0x10c68a}=_0x4200c9[_0x10374a(0x243)](_0x10a474,_0x10a474);if(_0x10c68a['length']===0x0)continue;this[_0x10374a(0x357)](_0x25d787,_0x10c68a,_0x472279,_0x5b6688,_0x40068e),this[_0x10374a(0x2f1)]=this[_0x10374a(0x378)]();}if(_0x453763&&_0x10a474){if(_0x389f1f===_0x4c34fb['DOC_RANGE_TYPE']['RECT']){const _0x4ccdb5=new _0x53e9b7[(_0x10374a(0x3f2))](_0x940ae2,_0x4478f4),{pointGroup:_0x5cbec3}=(_0x1dd353=_0x4ccdb5[_0x10374a(0x243)](_0x453763,_0x10a474))!=null?_0x1dd353:{};if(_0x5cbec3==null||_0x5cbec3[_0x10374a(0x20a)]===0x0)continue;this[_0x10374a(0x271)](_0x25d787,_0x5cbec3,_0x472279,_0x5b6688);}else{if(!_0x16e743){const {borderBoxPointGroup:_0x529ae5}=_0x4200c9[_0x10374a(0x243)](_0x453763,_0x10a474);if(_0x529ae5[_0x10374a(0x20a)]===0x0)continue;this[_0x10374a(0x230)](_0x25d787,_0x529ae5,_0x472279,_0x5b6688);}}}}}[_0x105489(0x357)](_0xba92fe,_0x1fb045,_0x1c3665,_0x53afbf,_0xe56e98){const _0x98f4f8=_0x105489,_0x317440=this[_0x98f4f8(0x217)](_0x1fb045),{left:_0x465f34,top:_0x4268a2,height:_0x5954f8}=_0x317440,_0x45a145=this['_getScale'](),_0x560f51=_0x59211d/_0x45a145,_0x4abc8a=new _0x5042e5[(_0x98f4f8(0x39f))](_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf,'height':_0x5954f8,'width':_0x6e4b71,'fill':_0xba92fe||_0x5042e5[_0x98f4f8(0x3b6)](_0x4c34fb[_0x98f4f8(0x3aa)]['black'],0x0),'strokeWidth':_0x560f51,'stroke':_0x28c603,'evented':!0x0});this[_0x98f4f8(0x300)]=_0x4abc8a,this['_scene'][_0x98f4f8(0x3e8)](_0x4abc8a,_0x53e9b7[_0x98f4f8(0x424)]);const _0x1392a7=new _0x5042e5[(_0x98f4f8(0x39f))](_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf-_0x421c5d/0x2,'height':_0x421c5d,'width':_0x421c5d,'fill':_0xba92fe||_0x5042e5['getColor'](_0x4c34fb['COLORS'][_0x98f4f8(0x245)],0x0),'strokeWidth':0x0,'stroke':_0xba92fe||_0x5042e5[_0x98f4f8(0x3b6)](_0x4c34fb[_0x98f4f8(0x3aa)][_0x98f4f8(0x245)],0x0),'evented':!0x1});this[_0x98f4f8(0x213)]=_0x1392a7,this['_scene'][_0x98f4f8(0x3e8)](_0x1392a7,_0x53e9b7[_0x98f4f8(0x424)]);const _0x15cce8=new _0x3af703(_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf-_0x32d615,'text':_0xe56e98,'color':_0xba92fe});this[_0x98f4f8(0x35b)]=_0x15cce8,this[_0x98f4f8(0x42a)][_0x98f4f8(0x3e8)](_0x15cce8,_0x53e9b7[_0x98f4f8(0x424)]),this[_0x98f4f8(0x339)]=!0x1;}[_0x105489(0x378)](){const _0x591870=_0x105489,_0x4d590f=this[_0x591870(0x300)][_0x591870(0x3da)][_0x591870(0x41d)](()=>{const _0x266c35=_0x591870;this[_0x266c35(0x339)]=!0x0;}),_0x15e290=this['_anchor']['onPointerLeave$'][_0x591870(0x41d)](()=>{const _0x33f194=_0x591870;this['_hideTimer']&&clearTimeout(this[_0x33f194(0x34a)]),this[_0x33f194(0x34a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ea805=_0x591870;_0x4d590f['unsubscribe'](),_0x15e290[_0x2ea805(0x248)]();};}['_drawTextRange'](_0x503d8b,_0x5a9b56,_0x215f70,_0x3c4d2e){const _0x1b58d0=_0x105489,_0x251076=new _0x4c34fb[(_0x1b58d0(0x2d4))](_0x503d8b)[_0x1b58d0(0x2a8)](0.2)[_0x1b58d0(0x2a0)](),_0x155826=new _0x5042e5[(_0x1b58d0(0x41a))](_0x5c4381+_0x4c34fb[_0x1b58d0(0x389)](_0x4de29f),{'pointsGroup':_0x5a9b56,'fill':_0x251076||_0x5042e5[_0x1b58d0(0x3b6)](_0x4c34fb[_0x1b58d0(0x3aa)][_0x1b58d0(0x245)],0.2),'left':_0x215f70,'top':_0x3c4d2e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b58d0(0x437)][_0x1b58d0(0x2a9)](_0x155826),this[_0x1b58d0(0x42a)][_0x1b58d0(0x3e8)](_0x155826,_0x53e9b7[_0x1b58d0(0x424)]);}['_drawRectRange'](_0x4ed501,_0x2d699f,_0x1de2ff,_0x47ab8d){const _0x3302d8=_0x105489,_0x5ac7c0=new _0x4c34fb[(_0x3302d8(0x2d4))](_0x4ed501)['setAlpha'](0.2)[_0x3302d8(0x2a0)](),_0x1d1e38=new _0x5042e5[(_0x3302d8(0x41a))](_0x1504ce+_0x4c34fb['generateRandomId'](_0x4de29f),{'pointsGroup':_0x2d699f,'fill':_0x5ac7c0||_0x5042e5[_0x3302d8(0x3b6)](_0x4c34fb['COLORS'][_0x3302d8(0x245)],0.2),'left':_0x1de2ff,'top':_0x47ab8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3302d8(0x437)][_0x3302d8(0x2a9)](_0x1d1e38),this[_0x3302d8(0x42a)][_0x3302d8(0x3e8)](_0x1d1e38,_0x53e9b7[_0x3302d8(0x424)]);}[_0x105489(0x217)](_0x5a779a){const _0x51f0f3=_0x5a779a[0x0],_0x51584f=_0x51f0f3[0x0],_0x4d4884=_0x51f0f3[0x2],{x:_0x4b433a,y:_0x413d50}=_0x51584f,{x:_0xadf871,y:_0x41ba28}=_0x4d4884;return{'left':_0x4b433a,'top':_0x413d50,'width':_0xadf871-_0x4b433a,'height':_0x41ba28-_0x413d50};}[_0x105489(0x1d5)](){const _0x5e233a=_0x105489,{scaleX:_0x2f6b9f,scaleY:_0x278030}=this[_0x5e233a(0x42a)][_0x5e233a(0x3a7)]();return Math['max'](_0x2f6b9f,_0x278030);}}var _0x2857fb=Object['getOwnPropertyDescriptor'],_0x361991=(_0x5936fd,_0xdfe3bc,_0x3f1296,_0x531517)=>{for(var _0x5604d9=_0x531517>0x1?void 0x0:_0x531517?_0x2857fb(_0xdfe3bc,_0x3f1296):_0xdfe3bc,_0x4dd5db=_0x5936fd['length']-0x1,_0x281ad9;_0x4dd5db>=0x0;_0x4dd5db--)(_0x281ad9=_0x5936fd[_0x4dd5db])&&(_0x5604d9=_0x281ad9(_0x5604d9)||_0x5604d9);return _0x5604d9;},_0x3928d2=(_0x4fea3f,_0x5410e6)=>(_0x577912,_0x54fca)=>_0x5410e6(_0x577912,_0x54fca,_0x4fea3f);let _0x442c72=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x46eb2a,_0xef7f8a,_0x4889c7,_0x368b99,_0x415728){const _0x24e4fb=_0x105489;super(),_0x23d7a8(this,_0x24e4fb(0x341),[]),_0x23d7a8(this,'_cursors',[]),(this[_0x24e4fb(0x331)]=_0x46eb2a,this[_0x24e4fb(0x263)]=_0xef7f8a,this[_0x24e4fb(0x3c6)]=_0x4889c7,this['_commandService']=_0x368b99,this[_0x24e4fb(0x1d2)]=_0x415728,this[_0x24e4fb(0x26c)]());}['_init'](){const _0x4ec624=_0x105489,_0x5f2140=this['_context'][_0x4ec624(0x3ee)],_0x5c8481=this[_0x4ec624(0x263)];this[_0x4ec624(0x321)](_0x4bbdc9[_0x4ec624(0x400)]([this['_collabCursorController'][_0x4ec624(0x1f1)](_0x5f2140),this[_0x4ec624(0x1d2)][_0x4ec624(0x1e9)]])['pipe'](_0x56870d[_0x4ec624(0x233)](([_0x285472,_0x1fb5a8])=>({'skeleton':_0x5c8481[_0x4ec624(0x1fe)](),'cursors':[..._0x285472[_0x4ec624(0x2cb)]()]['flatMap'](_0x17a655=>({..._0x17a655,'color':this[_0x4ec624(0x1d2)][_0x4ec624(0x45a)](_0x17a655[_0x4ec624(0x3a0)])}))})))[_0x4ec624(0x2f9)](_0x27b534=>{const _0x5ac75e=_0x4ec624;if(this[_0x5ac75e(0x2da)](),_0x27b534){const {skeleton:_0x148cf4,cursors:_0x2230b1}=_0x27b534;this[_0x5ac75e(0x417)](_0x148cf4,_0x2230b1);}})),this[_0x4ec624(0x1ec)](),this[_0x4ec624(0x2f8)]();}['_updateCollabCursors'](_0x13bf51,_0xed6760){const _0x54d6d5=_0x105489,{scene:_0x29138c,mainComponent:_0x5f5651}=this[_0x54d6d5(0x331)],_0xc0cacf=_0xed6760[_0x54d6d5(0x233)](_0xc3c94d=>new _0x1704e3(_0xc3c94d,_0x29138c,_0x13bf51,_0x5f5651));this[_0x54d6d5(0x341)]=_0xc0cacf,this[_0x54d6d5(0x3ca)]=_0xed6760;}['_refreshCollabCursors'](){const _0x32305e=_0x105489;this[_0x32305e(0x2da)]();const {scene:_0x89fca0,mainComponent:_0x2a4baa}=this[_0x32305e(0x331)],_0x3561f5=this[_0x32305e(0x263)][_0x32305e(0x1fe)](),_0x538776=this['_cursors']['map'](_0x2b59af=>new _0x1704e3(_0x2b59af,_0x89fca0,_0x3561f5,_0x2a4baa));this[_0x32305e(0x341)]=_0x538776;}[_0x105489(0x2da)](){const _0x3487a9=_0x105489;this[_0x3487a9(0x341)]['forEach'](_0x472059=>_0x472059[_0x3487a9(0x275)]()),this[_0x3487a9(0x341)]=[];}['_initCommandExecutedListener'](){const _0x4b322a=_0x105489,_0x549d76=[_0x53e9b7[_0x4b322a(0x223)]['id']];this['disposeWithMe'](this[_0x4b322a(0x355)][_0x4b322a(0x2bf)](_0x57f444=>{const _0x216fb1=_0x4b322a;_0x549d76['includes'](_0x57f444['id'])&&_0x57f444[_0x216fb1(0x1d6)][_0x216fb1(0x3ee)]===this['_context'][_0x216fb1(0x3ee)]&&this['_refreshCollabCursors']();}));}[_0x105489(0x1ec)](){const _0x7b0e33=_0x105489;this[_0x7b0e33(0x321)](_0x4c34fb['fromEventSubject'](this[_0x7b0e33(0x331)][_0x7b0e33(0x2ab)][_0x7b0e33(0x2d0)])[_0x7b0e33(0x35a)](_0x56870d['filter'](_0x1e2da1=>_0x1e2da1[_0x7b0e33(0x387)]===_0x5042e5[_0x7b0e33(0x402)][_0x7b0e33(0x38a)]),_0x56870d[_0x7b0e33(0x306)](0x10))['subscribe'](()=>{const _0x2b46c8=_0x7b0e33;this[_0x2b46c8(0x276)]();}));}};_0x442c72=_0x361991([_0x3928d2(0x1,_0x4c34fb['Inject'](_0x23a4b4['DocSkeletonManagerService'])),_0x3928d2(0x2,_0x4c34fb[_0x105489(0x338)](_0x4cbfa5)),_0x3928d2(0x3,_0x4c34fb[_0x105489(0x25f)]),_0x3928d2(0x4,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['ThemeService']))],_0x442c72);const _0x2c8e0c=0x1,_0x420176=1.5;class _0x2e23f3 extends _0x5042e5[_0x105489(0x3fa)]{constructor(_0x274e53,_0x1b24b6){const _0x28e6f1=_0x105489;super(_0x274e53,_0x1b24b6),_0x23d7a8(this,_0x28e6f1(0x31b)),_0x23d7a8(this,_0x28e6f1(0x3e0),!0x1),_0x23d7a8(this,_0x28e6f1(0x25d)),_0x23d7a8(this,_0x28e6f1(0x3ad),''),_0x23d7a8(this,_0x28e6f1(0x2c7),_0x28e6f1(0x1e7)),_0x23d7a8(this,_0x28e6f1(0x30d)),(_0x1b24b6&&this[_0x28e6f1(0x266)](_0x1b24b6),this[_0x28e6f1(0x3da)][_0x28e6f1(0x41d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x28e6f1(0x280)][_0x28e6f1(0x41d)](()=>this[_0x28e6f1(0x266)]({'hovered':!0x1})));}[_0x105489(0x266)](_0x5ddc03){const _0x18efb0=_0x105489;var _0x24a523,_0xc8634b,_0xac9b32,_0xe64715,_0x443e3f,_0x52e1b3;this[_0x18efb0(0x31b)]=(_0x24a523=_0x5ddc03[_0x18efb0(0x3a0)])!=null?_0x24a523:this[_0x18efb0(0x31b)],this[_0x18efb0(0x3e0)]=(_0xc8634b=_0x5ddc03[_0x18efb0(0x1e3)])!=null?_0xc8634b:this['_hovered'],this['_range']=(_0xac9b32=_0x5ddc03[_0x18efb0(0x2a6)])!=null?_0xac9b32:this[_0x18efb0(0x25d)],this[_0x18efb0(0x3ad)]=(_0xe64715=_0x5ddc03[_0x18efb0(0x3d1)])!=null?_0xe64715:this[_0x18efb0(0x3ad)],this['_labelPosition']=(_0x443e3f=_0x5ddc03[_0x18efb0(0x237)])!=null?_0x443e3f:this[_0x18efb0(0x2c7)],this[_0x18efb0(0x30d)]=(_0x52e1b3=_0x5ddc03[_0x18efb0(0x3ce)])!=null?_0x52e1b3:this[_0x18efb0(0x30d)],this['transformByState']({'width':_0x5ddc03['width'],'height':_0x5ddc03[_0x18efb0(0x27e)]});}['onMouseMove'](_0x1d16e3){const _0x5cfca0=_0x105489,{row:_0x3431e2,column:_0x4196ad}=_0x1d16e3;if(_0x3431e2>=this['_range'][_0x5cfca0(0x200)]&&_0x3431e2<=this[_0x5cfca0(0x25d)][_0x5cfca0(0x2d2)]&&_0x4196ad>=this[_0x5cfca0(0x25d)][_0x5cfca0(0x2cc)]&&_0x4196ad<=this[_0x5cfca0(0x25d)][_0x5cfca0(0x435)]){this[_0x5cfca0(0x266)]({'hovered':!0x0});return;}this[_0x5cfca0(0x266)]({'hovered':!0x1});}[_0x105489(0x220)](_0xb2ba6d){return!0x1;}[_0x105489(0x1dc)](_0x43885d){const _0x3f3823=_0x105489;_0x5042e5[_0x3f3823(0x39f)]['drawWith'](_0x43885d,{'width':this[_0x3f3823(0x1ef)],'height':this['height'],'strokeWidth':_0x420176,'stroke':this[_0x3f3823(0x31b)],'evented':!0x1,'fill':this[_0x3f3823(0x30d)]}),this['_hovered']&&(_0x43885d['save'](),_0x43885d[_0x3f3823(0x2eb)](0x1,0x0,0x0,0x1,this[_0x3f3823(0x1ef)],this['_labelPosition']===_0x3f3823(0x2aa)?0x0:-0x14),_0x3af703[_0x3f3823(0x412)](_0x43885d,{'text':this['_name'],'color':this[_0x3f3823(0x31b)]}),_0x43885d[_0x3f3823(0x2a7)]());}}var _0x55464d=Object[_0x105489(0x270)],_0x35f946=(_0x3cdfc4,_0x4ae2d3,_0x2934ba,_0x270784)=>{for(var _0x3ca95b=_0x270784>0x1?void 0x0:_0x270784?_0x55464d(_0x4ae2d3,_0x2934ba):_0x4ae2d3,_0xd79e6e=_0x3cdfc4['length']-0x1,_0x163c87;_0xd79e6e>=0x0;_0xd79e6e--)(_0x163c87=_0x3cdfc4[_0xd79e6e])&&(_0x3ca95b=_0x163c87(_0x3ca95b)||_0x3ca95b);return _0x3ca95b;},_0x299c20=(_0x3760eb,_0x2473d5)=>(_0x3affdc,_0x38d34b)=>_0x2473d5(_0x3affdc,_0x38d34b,_0x3760eb);const _0x25cec6=0x1389;let _0x3c2e62=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x912de5,_0x5f22a9,_0x45f2b7,_0x163b97){const _0x3c3408=_0x105489;super(),_0x23d7a8(this,_0x3c3408(0x3ca),new Set()),_0x23d7a8(this,_0x3c3408(0x23d),null),(this[_0x3c3408(0x331)]=_0x912de5,this['_sheetSkeletonManagerService']=_0x5f22a9,this[_0x3c3408(0x3c6)]=_0x45f2b7,this[_0x3c3408(0x1d2)]=_0x163b97,this[_0x3c3408(0x26c)]());}[_0x105489(0x26c)](){const _0x15d58b=_0x105489;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x15d58b(0x35a)](_0x56870d[_0x15d58b(0x20e)](this[_0x15d58b(0x2df)]),_0x56870d[_0x15d58b(0x3e1)](_0x2de257=>{const _0x4faf66=_0x15d58b;if(_0x2de257){const _0x18ae94=_0x2de257[_0x4faf66(0x29e)];return _0x4bbdc9[_0x4faf66(0x400)](this['_collabCursorController'][_0x4faf66(0x1f1)](this[_0x4faf66(0x331)]['unitId']),this[_0x4faf66(0x1d2)]['currentTheme$'])['pipe'](_0x56870d[_0x4faf66(0x233)](([_0x28265e,_0x9b87d1])=>{const _0x2145ab=_0x4faf66,_0x496d9=new Map();return _0x28265e[_0x2145ab(0x2ee)]((_0x4e6e98,_0x51cc4f)=>{const _0x47c57f=_0x2145ab;if(_0x4e6e98['sheetID']===_0x18ae94){const _0xd42cbc={..._0x4e6e98};_0xd42cbc['color']=this[_0x47c57f(0x1d2)][_0x47c57f(0x45a)](_0x4e6e98[_0x47c57f(0x3a0)]),_0x496d9[_0x47c57f(0x41e)](_0x51cc4f,_0xd42cbc);}}),{'skeleton':_0x2de257,'cursors':_0x496d9};}));}return _0x4bbdc9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x255b3d,cursors:_0x52509e})=>{const _0x1c9b8c=_0x15d58b;this[_0x1c9b8c(0x2da)](),_0x255b3d&&this[_0x1c9b8c(0x417)](_0x255b3d,_0x52509e);}),this[_0x15d58b(0x3ac)][_0x15d58b(0x28c)]['subscribe'](_0x466d85=>{const _0x144933=_0x15d58b;if(_0x466d85==null)return;const {skeleton:_0x512cbc}=_0x466d85,{scene:_0x5ea7f7}=this[_0x144933(0x331)];_0x5ea7f7[_0x144933(0x232)][_0x144933(0x41d)](_0x4c34fb['debounce'](_0x58f40f=>{const _0x399939=_0x144933;var _0x49935d,_0x436313;const {offsetX:_0x1693a7,offsetY:_0x50bc29}=_0x58f40f,{x:_0x1a7c52,y:_0x18c535}=_0x5ea7f7[_0x399939(0x1df)](_0x5042e5[_0x399939(0x439)][_0x399939(0x3e4)]([_0x1693a7,_0x50bc29])),{scaleX:_0x11b1c1,scaleY:_0x472e2f}=_0x5ea7f7[_0x399939(0x3a7)](),_0x1cbd75=_0x5ea7f7['getViewport'](_0x5042e5[_0x399939(0x307)][_0x399939(0x3b1)]),_0x3a5792=_0x5ea7f7['getVpScrollXYInfoByPosToVp'](_0x5042e5['Vector2'][_0x399939(0x3e4)]([_0x1a7c52,_0x18c535]),_0x1cbd75),_0x3a5061=_0x512cbc[_0x399939(0x209)](_0x1693a7,_0x50bc29,_0x11b1c1,_0x472e2f,_0x3a5792);((_0x49935d=this[_0x399939(0x23d)])==null?void 0x0:_0x49935d[_0x399939(0x368)])===_0x3a5061[_0x399939(0x368)]&&((_0x436313=this[_0x399939(0x23d)])==null?void 0x0:_0x436313['row'])===_0x3a5061['row']||this['_cursors'][_0x399939(0x2ee)](_0xf16aac=>{const _0x4eae17=_0x399939;_0xf16aac[_0x4eae17(0x416)](_0x3a5061);});},0x64));});}['_updateCollabCursors'](_0x361cb2,_0x375449){const _0x10980e=_0x105489;var _0x59a606;const _0x180bb7=(_0x59a606=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x59a606[_0x10980e(0x29f)];if(!_0x180bb7)return;const _0x5079a7=this['_getSheetObject']();if(!_0x5079a7)return;this[_0x10980e(0x3ca)][_0x10980e(0x2ee)](_0x59c05d=>{const _0x596b48=_0x10980e;_0x59c05d[_0x596b48(0x42b)]();});const {scene:_0x2fe84d}=_0x5079a7,_0x33a32a=_0x29c258(Array[_0x10980e(0x2c0)](_0x375449['values']()))['map'](_0x106ddb=>{const _0x2ff0b9=_0x10980e,{color:_0x179ada,range:_0x3f25a6,name:_0x95c517,selection:_0x27a314,sheetID:_0x4d738b}=_0x106ddb,{startColumn:_0x3e7313,startRow:_0x2d47e3,endColumn:_0x5eb05a,endRow:_0xbb966}=_0x3f25a6,_0x2f056c=_0x49d1f5[_0x2ff0b9(0x1e2)](_0x2d47e3,_0x3e7313,_0x2fe84d,_0x180bb7),_0x5cb343=_0x49d1f5['getCoordByCell'](_0xbb966,_0x5eb05a,_0x2fe84d,_0x180bb7),{columnHeaderHeightAndMarginTop:_0x42b126}=_0x180bb7,{startX:_0x594867,startY:_0x269b28}=_0x2f056c,{endX:_0x38e106,endY:_0x40a209}=_0x5cb343,_0x46176a=_0x38e106-_0x594867,_0x57fcfa=_0x40a209-_0x269b28,_0x2d5693={'labelPosition':_0x269b28-_0x42b126>=_0x32d615?_0x2ff0b9(0x1e7):_0x2ff0b9(0x2aa),'sheetID':_0x4d738b,'range':_0x3f25a6,'color':_0x179ada,'name':_0x95c517,'selection':_0x27a314,'left':_0x594867,'top':_0x269b28,'width':_0x46176a,'height':_0x57fcfa,'evented':!0x1,'zIndex':_0x25cec6};return new _0x2e23f3(_0x95c517,_0x2d5693);});_0x2fe84d[_0x10980e(0x246)](_0x33a32a,_0x2c8e0c),this[_0x10980e(0x3ca)]=new Set(_0x33a32a);}[_0x105489(0x2da)](){const _0x25ccfc=_0x105489;var _0x4304f5;(_0x4304f5=this[_0x25ccfc(0x3ca)])==null||_0x4304f5[_0x25ccfc(0x2ee)](_0x2791d=>_0x2791d[_0x25ccfc(0x275)]());}['_getSheetObject'](){const _0x3973b9=_0x105489;return _0x49d1f5[_0x3973b9(0x342)](this[_0x3973b9(0x331)][_0x3973b9(0x2ae)],this['_context']);}};_0x3c2e62=_0x35f946([_0x299c20(0x1,_0x4c34fb[_0x105489(0x338)](_0x49d1f5['SheetSkeletonManagerService'])),_0x299c20(0x2,_0x4c34fb[_0x105489(0x338)](_0x4cbfa5)),_0x299c20(0x3,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x3ec)]))],_0x3c2e62);function _0x29c258(_0x5a0d91){const _0x41dafb=_0x105489,_0x13f4c2=new Map();return _0x5a0d91[_0x41dafb(0x2ee)](_0x5a2bcb=>{const _0x317fe7=_0x41dafb;if(_0x13f4c2[_0x317fe7(0x44c)](_0x5a2bcb[_0x317fe7(0x422)])){const _0x1d24ad=_0x13f4c2[_0x317fe7(0x225)](_0x5a2bcb[_0x317fe7(0x422)]);_0x1d24ad[_0x317fe7(0x3d1)]+=',\x20'+_0x5a2bcb[_0x317fe7(0x3d1)];}else _0x13f4c2[_0x317fe7(0x41e)](_0x5a2bcb[_0x317fe7(0x422)],_0x5a2bcb);}),Array['from'](_0x13f4c2['values']());}var _0xa4df44=function(){const _0x484338=_0x105489;return _0xa4df44=Object[_0x484338(0x1dd)]||function(_0x4cbfc8){const _0x3b7ff9=_0x484338;for(var _0x17143c,_0x58f59a=0x1,_0x5b8050=arguments[_0x3b7ff9(0x20a)];_0x58f59a<_0x5b8050;_0x58f59a++){_0x17143c=arguments[_0x58f59a];for(var _0x50569f in _0x17143c)Object[_0x3b7ff9(0x289)][_0x3b7ff9(0x32e)]['call'](_0x17143c,_0x50569f)&&(_0x4cbfc8[_0x50569f]=_0x17143c[_0x50569f]);}return _0x4cbfc8;},_0xa4df44['apply'](this,arguments);},_0x140dc7=function(_0x3b5abf,_0x908b8){const _0x1baf99=_0x105489;var _0x5a7adf={};for(var _0x450992 in _0x3b5abf)Object[_0x1baf99(0x289)]['hasOwnProperty'][_0x1baf99(0x390)](_0x3b5abf,_0x450992)&&_0x908b8[_0x1baf99(0x27a)](_0x450992)<0x0&&(_0x5a7adf[_0x450992]=_0x3b5abf[_0x450992]);if(_0x3b5abf!=null&&typeof Object[_0x1baf99(0x2e5)]==_0x1baf99(0x303)){for(var _0x96fe8a=0x0,_0x450992=Object[_0x1baf99(0x2e5)](_0x3b5abf);_0x96fe8a<_0x450992[_0x1baf99(0x20a)];_0x96fe8a++)_0x908b8[_0x1baf99(0x27a)](_0x450992[_0x96fe8a])<0x0&&Object[_0x1baf99(0x289)][_0x1baf99(0x2e6)]['call'](_0x3b5abf,_0x450992[_0x96fe8a])&&(_0x5a7adf[_0x450992[_0x96fe8a]]=_0x3b5abf[_0x450992[_0x96fe8a]]);}return _0x5a7adf;},_0x38a87a=_0x3c8ecb[_0x105489(0x258)](function(_0x4b00b5,_0x1feb85){const _0xe966d1=_0x105489;var _0x3ce544=_0x4b00b5['icon'],_0x5c8379=_0x4b00b5['id'],_0x26ff89=_0x4b00b5[_0xe966d1(0x3be)],_0x396933=_0x4b00b5['extend'],_0x3e7aac=_0x140dc7(_0x4b00b5,[_0xe966d1(0x24f),'id',_0xe966d1(0x3be),_0xe966d1(0x2fc)]),_0xb12b27=_0xe966d1(0x396)[_0xe966d1(0x349)](_0x5c8379,'\x20')[_0xe966d1(0x349)](_0x26ff89||'')[_0xe966d1(0x353)](),_0x448a2b=_0x3c8ecb['useRef']('_'[_0xe966d1(0x349)](_0x1c12c5()));return _0xdd0a22(_0x3ce544,''['concat'](_0x5c8379),{'defIds':_0x3ce544[_0xe966d1(0x2b1)],'idSuffix':_0x448a2b['current']},_0xa4df44({'ref':_0x1feb85,'className':_0xb12b27},_0x3e7aac),_0x396933);});function _0xdd0a22(_0x4ef961,_0xb475ad,_0x4c3127,_0x1126d7,_0x2707a9){const _0x2173c2=_0x105489;return _0x3c8ecb['createElement'](_0x4ef961['tag'],_0xa4df44(_0xa4df44({'key':_0xb475ad},_0x2cf56c(_0x4ef961,_0x4c3127,_0x2707a9)),_0x1126d7),(_0x5120ce(_0x4ef961,_0x4c3127)[_0x2173c2(0x44b)]||[])[_0x2173c2(0x233)](function(_0x5eeeb1,_0x50cd4c){const _0x27e719=_0x2173c2;return _0xdd0a22(_0x5eeeb1,''[_0x27e719(0x349)](_0xb475ad,'-')['concat'](_0x4ef961[_0x27e719(0x440)],'-')[_0x27e719(0x349)](_0x50cd4c),_0x4c3127,void 0x0,_0x2707a9);}));}function _0x2cf56c(_0x30ad00,_0x285c41,_0x1cfe83){const _0x263a8e=_0x105489;var _0x23cc33=_0xa4df44({},_0x30ad00[_0x263a8e(0x3db)]);_0x1cfe83!=null&&_0x1cfe83[_0x263a8e(0x3c3)]&&_0x23cc33[_0x263a8e(0x2e0)]===_0x263a8e(0x3c3)&&(_0x23cc33['fill']=_0x1cfe83[_0x263a8e(0x3c3)]),_0x30ad00[_0x263a8e(0x440)]===_0x263a8e(0x301)&&_0x23cc33['id']&&(_0x23cc33['id']=_0x23cc33['id']+_0x285c41['idSuffix']),Object[_0x263a8e(0x2f0)](_0x23cc33)[_0x263a8e(0x2ee)](function(_0x110387){const _0x2ca1bc=_0x263a8e;var _0x5a6237=_0x110387[0x0],_0x4b80bb=_0x110387[0x1];_0x5a6237===_0x2ca1bc(0x301)&&typeof _0x4b80bb==_0x2ca1bc(0x2a5)&&(_0x23cc33[_0x5a6237]=_0x4b80bb[_0x2ca1bc(0x1e4)](/url\(#(.*)\)/,'url(#$1'[_0x2ca1bc(0x349)](_0x285c41[_0x2ca1bc(0x43a)],')')));});var _0x379ba1=_0x285c41[_0x263a8e(0x2b1)];return!_0x379ba1||_0x379ba1[_0x263a8e(0x20a)]===0x0||(_0x30ad00[_0x263a8e(0x440)]===_0x263a8e(0x204)&&_0x23cc33[_0x263a8e(0x429)]&&(_0x23cc33['xlink:href']=_0x23cc33['xlink:href']+_0x285c41[_0x263a8e(0x43a)]),Object['entries'](_0x23cc33)['forEach'](function(_0x24d543){const _0xbfbd86=_0x263a8e;var _0x46ae60=_0x24d543[0x0],_0x36999d=_0x24d543[0x1];typeof _0x36999d=='string'&&(_0x23cc33[_0x46ae60]=_0x36999d[_0xbfbd86(0x1e4)](/url\(#(.*)\)/,_0xbfbd86(0x2a3)['concat'](_0x285c41['idSuffix'],')')));})),_0x23cc33;}function _0x5120ce(_0x564b14,_0x51fabf){const _0x3ea9bc=_0x105489;var _0x3b32a5,_0x4d2a92=_0x51fabf[_0x3ea9bc(0x2b1)];return!_0x4d2a92||_0x4d2a92[_0x3ea9bc(0x20a)]===0x0?_0x564b14:_0x564b14[_0x3ea9bc(0x440)]===_0x3ea9bc(0x2d5)&&(!((_0x3b32a5=_0x564b14[_0x3ea9bc(0x44b)])===null||_0x3b32a5===void 0x0)&&_0x3b32a5[_0x3ea9bc(0x20a)])?_0xa4df44(_0xa4df44({},_0x564b14),{'children':_0x564b14[_0x3ea9bc(0x44b)][_0x3ea9bc(0x233)](function(_0x2212f6){const _0x4e9068=_0x3ea9bc;return typeof _0x2212f6[_0x4e9068(0x3db)]['id']==_0x4e9068(0x2a5)&&_0x4d2a92&&_0x4d2a92['includes'](_0x2212f6[_0x4e9068(0x3db)]['id'])?_0xa4df44(_0xa4df44({},_0x2212f6),{'attrs':_0xa4df44(_0xa4df44({},_0x2212f6[_0x4e9068(0x3db)]),{'id':_0x2212f6[_0x4e9068(0x3db)]['id']+_0x51fabf[_0x4e9068(0x43a)]})}):_0x2212f6;})}):_0x564b14;}function _0x1c12c5(){const _0x5a7092=_0x105489;return Math[_0x5a7092(0x330)]()[_0x5a7092(0x302)](0x24)[_0x5a7092(0x210)](0x2,0x8);}_0x38a87a[_0x105489(0x2c4)]=_0x105489(0x1ff);var _0x545ac1={'tag':'svg','attrs':{'xmlns':_0x105489(0x314),'fill':'none','viewBox':_0x105489(0x283),'width':'1em','height':_0x105489(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x105489(0x3a4),'attrs':{'stroke':_0x105489(0x459),'d':_0x105489(0x317),'strokeLinecap':_0x105489(0x3ba),'strokeLinejoin':_0x105489(0x3ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x105489(0x2dd)},'children':[{'tag':_0x105489(0x3a4),'attrs':{'fill':_0x105489(0x2b4),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x105489(0x2dd)]},_0x31a270=_0x3c8ecb[_0x105489(0x258)](function(_0x5c9d5c,_0x443cbb){const _0x343659=_0x105489;return _0x3c8ecb[_0x343659(0x35e)](_0x38a87a,Object[_0x343659(0x1dd)]({},_0x5c9d5c,{'id':_0x343659(0x240),'ref':_0x443cbb,'icon':_0x545ac1}));});_0x31a270[_0x105489(0x2c4)]=_0x105489(0x1d4);var _0x5d3881={'tag':_0x105489(0x359),'attrs':{'xmlns':_0x105489(0x314),'fill':_0x105489(0x432),'viewBox':_0x105489(0x1da),'width':'1em','height':_0x105489(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x105489(0x3a4),'attrs':{'stroke':_0x105489(0x459),'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':_0x105489(0x3ba),'strokeLinejoin':_0x105489(0x3ba),'strokeWidth':1.2}}]},{'tag':_0x105489(0x2d5),'attrs':{},'children':[{'tag':_0x105489(0x20b),'attrs':{'id':_0x105489(0x3b9)},'children':[{'tag':_0x105489(0x3a4),'attrs':{'fill':_0x105489(0x2b4),'d':_0x105489(0x32b),'transform':_0x105489(0x2d9)}}]}]}],'defIds':[_0x105489(0x3b9)]},_0x2d2131=_0x3c8ecb[_0x105489(0x258)](function(_0x4e7411,_0x400f1c){const _0x5ec5e6=_0x105489;return _0x3c8ecb[_0x5ec5e6(0x35e)](_0x38a87a,Object[_0x5ec5e6(0x1dd)]({},_0x4e7411,{'id':_0x5ec5e6(0x26f),'ref':_0x400f1c,'icon':_0x5d3881}));});_0x2d2131[_0x105489(0x2c4)]=_0x105489(0x315);function _0x57ddf5(_0x2a20f2){const _0x138c27=_0x105489;switch(_0x2a20f2){case _0x145739[_0x138c27(0x1e6)]['OFFLINE']:return _0x138c27(0x2ca);case _0x145739['CollaborationStatus']['CONFLICT']:return _0x138c27(0x3af);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x43d)]:return _0x138c27(0x3fe);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x25a)]:return _0x138c27(0x370);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x24c)]:case _0x145739['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x138c27(0x340);case _0x145739['CollaborationStatus'][_0x138c27(0x285)]:case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x202)]:return _0x138c27(0x42f);}}function _0x2075e1(_0x5af7fd){const _0x251e26=_0x105489,{status$:_0x310682}=_0x5af7fd,_0x842e86=_0x2cb420[_0x251e26(0x326)](_0x310682,_0x145739['CollaborationStatus'][_0x251e26(0x25a)]),_0x7923e7=_0x2cb420[_0x251e26(0x222)](_0x4c34fb[_0x251e26(0x1cf)]),_0x456a5c=_0x2cb420[_0x251e26(0x222)](_0x145739[_0x251e26(0x2e2)]),_0x1b8ca2=_0x842e86!==_0x145739[_0x251e26(0x1e6)]['OFFLINE'],_0x456080=_0x7923e7['t'](_0x57ddf5(_0x842e86)),_0x3599bb=_0x1b8ca2?_0x1c28f4[_0x251e26(0x22f)](_0x2d2131,{}):_0x1c28f4[_0x251e26(0x22f)](_0x31a270,{}),_0x51f6da=_0x3c8ecb[_0x251e26(0x3d8)](()=>{_0x1b8ca2||_0x456a5c['reconnect']();},[_0x1b8ca2,_0x456a5c]);function _0x298f16(){const _0x54b7ec=_0x251e26;return _0x1c28f4[_0x54b7ec(0x3a9)]('div',{'className':_0x54b7ec(0x260),'onClick':_0x51f6da,'children':[_0x1c28f4['jsx'](_0x54b7ec(0x34c),{'className':_0x1581e7[_0x54b7ec(0x45d)](_0x54b7ec(0x21a),{'univer-text-green-500':_0x1b8ca2,'univer-text-red-500':!_0x1b8ca2}),'children':_0x3599bb}),_0x1c28f4[_0x54b7ec(0x22f)]('div',{'className':_0x54b7ec(0x214),'children':_0x456080})]});}return _0x1b8ca2?_0x298f16():_0x1c28f4['jsx'](_0x1581e7[_0x251e26(0x1f2)],{'title':_0x7923e7['t'](_0x251e26(0x453)),'children':_0x298f16()});}var _0x17b87d=Object[_0x105489(0x270)],_0x5c0722=(_0x2fb5d2,_0x4c76d0,_0x478fef,_0x50e70d)=>{const _0x57c862=_0x105489;for(var _0x4df426=_0x50e70d>0x1?void 0x0:_0x50e70d?_0x17b87d(_0x4c76d0,_0x478fef):_0x4c76d0,_0x43a7d4=_0x2fb5d2[_0x57c862(0x20a)]-0x1,_0x2b2582;_0x43a7d4>=0x0;_0x43a7d4--)(_0x2b2582=_0x2fb5d2[_0x43a7d4])&&(_0x4df426=_0x2b2582(_0x4df426)||_0x4df426);return _0x4df426;},_0xab886e=(_0x549d33,_0x103435)=>(_0x48ab84,_0x4b5339)=>_0x103435(_0x48ab84,_0x4b5339,_0x549d33);_0x3b1343['DesktopCollaborationStatusDisplayController']=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x9ba8e9,_0x109c3b,_0x321451,_0x477183){const _0x3e4618=_0x105489;super(),_0x23d7a8(this,'_status$',new _0x4bbdc9['BehaviorSubject'](_0x145739[_0x3e4618(0x1e6)][_0x3e4618(0x25a)])),(this[_0x3e4618(0x325)]=_0x9ba8e9,this[_0x3e4618(0x423)]=_0x109c3b,this['_collaborationController']=_0x321451,this[_0x3e4618(0x1fd)]=_0x477183,this[_0x3e4618(0x1c1)](),this['_initStatusListener']());}[_0x105489(0x2e8)](){const _0x2bdc16=_0x105489;this[_0x2bdc16(0x321)](this[_0x2bdc16(0x325)]['focused$'][_0x2bdc16(0x35a)](_0x4bbdc9[_0x2bdc16(0x3e1)](()=>{const _0x991674=_0x2bdc16,_0x302358=this[_0x991674(0x325)][_0x991674(0x346)]();return _0x302358?this[_0x991674(0x2a2)][_0x991674(0x38e)](_0x302358[_0x991674(0x2e1)]()):_0x4bbdc9['of'](null);}),_0x4bbdc9[_0x2bdc16(0x3e1)](_0x273b31=>_0x273b31?_0x273b31[_0x2bdc16(0x244)]:_0x4bbdc9['of'](_0x145739['CollaborationStatus'][_0x2bdc16(0x25a)])))[_0x2bdc16(0x2f9)](_0x2f7de2=>{const _0x3b75f0=_0x2bdc16;this[_0x3b75f0(0x3eb)][_0x3b75f0(0x34b)](_0x2f7de2);}));}[_0x105489(0x1c1)](){const _0x3a3dff=_0x105489;this['disposeWithMe'](this[_0x3a3dff(0x1fd)][_0x3a3dff(0x22b)](_0x2cb420[_0x3a3dff(0x26e)][_0x3a3dff(0x3ed)],()=>_0x2cb420[_0x3a3dff(0x22c)](_0x3fd468({'status$':this[_0x3a3dff(0x3eb)][_0x3a3dff(0x2ff)]()}),this['_injector'])));}},_0x3b1343[_0x105489(0x28a)]=_0x5c0722([_0xab886e(0x0,_0x4c34fb[_0x105489(0x2f5)]),_0xab886e(0x1,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x334)])),_0xab886e(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x36b)])),_0xab886e(0x3,_0x2cb420[_0x105489(0x45b)])],_0x3b1343['DesktopCollaborationStatusDisplayController']);function _0x3fd468(_0x32eb91){const {status$:_0x4be607}=_0x32eb91;return function(){return _0x1c28f4['jsx'](_0x2075e1,{'status$':_0x4be607});};}var _0x45bcfa=Object[_0x105489(0x270)],_0x4894b4=(_0x20973c,_0x307e4b,_0x4f8cb9,_0x335199)=>{for(var _0x25ac8c=_0x335199>0x1?void 0x0:_0x335199?_0x45bcfa(_0x307e4b,_0x4f8cb9):_0x307e4b,_0x2913fa=_0x20973c['length']-0x1,_0x3ccf17;_0x2913fa>=0x0;_0x2913fa--)(_0x3ccf17=_0x20973c[_0x2913fa])&&(_0x25ac8c=_0x3ccf17(_0x25ac8c)||_0x25ac8c);return _0x25ac8c;},_0x34b2e1=(_0x1fa938,_0x21f497)=>(_0x187f4d,_0x558d47)=>_0x21f497(_0x187f4d,_0x558d47,_0x1fa938);let _0x2d4eb0=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0xdd6284,_0x28a2e5,_0x2d905c,_0x52937d,_0x25094e,_0x4321dd){const _0x2e931e=_0x105489;super(),this[_0x2e931e(0x405)]=_0xdd6284,this[_0x2e931e(0x38b)]=_0x28a2e5,this[_0x2e931e(0x208)]=_0x2d905c,this[_0x2e931e(0x2db)]=_0x52937d,this['_notificationService']=_0x25094e,this[_0x2e931e(0x367)]=_0x4321dd,this[_0x2e931e(0x39d)](),this[_0x2e931e(0x365)]();}[_0x105489(0x39d)](){const _0x455ac2=_0x105489;this[_0x455ac2(0x321)](this[_0x455ac2(0x405)]['registerBeforeClose'](()=>{const _0x4365a2=_0x455ac2;if(this['_localCacheService'][_0x4365a2(0x40f)][_0x4365a2(0x2f7)])return this[_0x4365a2(0x367)]['t'](_0x4365a2(0x1ca));}));}['_initEvent'](){const _0x5113e3=_0x105489;this[_0x5113e3(0x321)](this[_0x5113e3(0x208)][_0x5113e3(0x31f)][_0x5113e3(0x2f9)](_0x861432=>{const _0x69c34d=_0x5113e3;_0x861432['id']===_0x145739['CollaborationUIEventId'][_0x69c34d(0x347)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)]['Warning'],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x3d9))}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x1c2)]&&this['_messageService']['show']({'type':_0x1581e7['MessageType'][_0x69c34d(0x262)],'content':this[_0x69c34d(0x367)]['t']('collaboration.closeRoom')}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x239)]&&this['_notificationService'][_0x69c34d(0x207)]({'title':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x395)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x2b5)]&&this[_0x69c34d(0x2db)]['show']({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x3b2)],'content':this[_0x69c34d(0x367)]['t']('collaboration.closeRoom')+'('+_0x861432[_0x69c34d(0x1c6)]+')'}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x426)]&&this[_0x69c34d(0x2db)]['show']({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x262)],'content':this[_0x69c34d(0x367)]['t'](_0x861432[_0x69c34d(0x1c6)]||'')}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x44f)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x262)],'content':this['_localeService']['t'](_0x69c34d(0x26b))}),_0x861432['id']===_0x145739[_0x69c34d(0x320)]['SOCKET_FAILED']&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7['MessageType']['Error'],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x386))}),_0x861432['id']===_0x145739['CollaborationUIEventId'][_0x69c34d(0x44d)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x3b2)],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x363))});}));}};_0x2d4eb0=_0x4894b4([_0x34b2e1(0x0,_0x2cb420[_0x105489(0x372)]),_0x34b2e1(0x1,_0x145739[_0x105489(0x438)]),_0x34b2e1(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x403)])),_0x34b2e1(0x3,_0x2cb420[_0x105489(0x3fc)]),_0x34b2e1(0x4,_0x2cb420['INotificationService']),_0x34b2e1(0x5,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x1cf)]))],_0x2d4eb0);const _0x1d9c41='collaboration-client-ui.config',_0x47ba75={},_0x2e3d8b=_0x4c34fb[_0x105489(0x428)](_0x105489(0x1d3));var _0x27ff66=Object['getOwnPropertyDescriptor'],_0x104525=(_0x2db31f,_0x3ddf39,_0x5ad458,_0x288178)=>{const _0x3da415=_0x105489;for(var _0x3a4d9d=_0x288178>0x1?void 0x0:_0x288178?_0x27ff66(_0x3ddf39,_0x5ad458):_0x3ddf39,_0x3870c6=_0x2db31f[_0x3da415(0x20a)]-0x1,_0x3fbc9b;_0x3870c6>=0x0;_0x3870c6--)(_0x3fbc9b=_0x2db31f[_0x3870c6])&&(_0x3a4d9d=_0x3fbc9b(_0x3a4d9d)||_0x3a4d9d);return _0x3a4d9d;},_0x34e8e7=(_0x361854,_0x23685c)=>(_0x47cfc6,_0x58dbeb)=>_0x23685c(_0x47cfc6,_0x58dbeb,_0x361854);_0x3b1343['CollaborationDataLoaderController']=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x8ee0d4,_0xe4a43b,_0x280a77,_0xaeeda,_0xa2bd3c){const _0x394863=_0x105489;super(),this[_0x394863(0x1fa)]=_0x8ee0d4,this[_0x394863(0x1eb)]=_0xe4a43b,this['_commandService']=_0x280a77,this[_0x394863(0x226)]=_0xaeeda,_0xa2bd3c?_0xa2bd3c==null||_0xa2bd3c['whenReady']()[_0x394863(0x24d)](()=>this['_init']()):(this[_0x394863(0x1eb)][_0x394863(0x33b)](_0x394863(0x3b4),_0x394863(0x1cd)),this[_0x394863(0x26c)]());}async[_0x105489(0x26c)](){const _0x1a6a57=_0x105489,_0xe4ef2a=this[_0x1a6a57(0x1fa)]['getParam'](_0x1a6a57(0x2ae)),_0x2a256c=this[_0x1a6a57(0x1fa)][_0x1a6a57(0x30b)](_0x1a6a57(0x387)),_0x34cf5e=this['_urlService'][_0x1a6a57(0x30b)](_0x1a6a57(0x456));if(!_0xe4ef2a||!_0x2a256c){this[_0x1a6a57(0x1eb)]['debug'](_0x1a6a57(0x3b4),_0x1a6a57(0x2e7));return;}const _0x23ff44=await this[_0x1a6a57(0x226)][_0x1a6a57(0x27c)](_0xe4ef2a,Number(_0x2a256c),_0x34cf5e);_0x23ff44&&_0x23ff44 instanceof _0x4c34fb['Workbook']&&this[_0x1a6a57(0x352)](_0x23ff44);}async[_0x105489(0x352)](_0x3477d7){const _0xb6ee57=_0x105489;await this['_updateSubUnitFromURLParams'](_0x3477d7),_0x3477d7[_0xb6ee57(0x1f9)]['pipe'](_0x4bbdc9[_0xb6ee57(0x20e)](this[_0xb6ee57(0x2df)]))[_0xb6ee57(0x2f9)](_0x56930f=>{const _0x353cb8=_0xb6ee57;_0x56930f&&this[_0x353cb8(0x1db)](_0x56930f);}),this[_0xb6ee57(0x1fa)]['urlChange$']['pipe'](_0x4bbdc9[_0xb6ee57(0x20e)](this[_0xb6ee57(0x2df)]))[_0xb6ee57(0x2f9)](()=>this[_0xb6ee57(0x206)](_0x3477d7));}[_0x105489(0x1db)](_0x170b89,_0x39a54e=!0x1){const _0x22e7aa=_0x105489,_0x154859=this['_urlService'][_0x22e7aa(0x30b)]('subunit');_0x170b89[_0x22e7aa(0x2ad)]()!==_0x154859&&this[_0x22e7aa(0x1fa)][_0x22e7aa(0x385)]('subunit',_0x170b89[_0x22e7aa(0x2ad)](),_0x39a54e);}async[_0x105489(0x206)](_0x4773d8){const _0x5a0f98=_0x105489;var _0x275290;const _0x99e229=this[_0x5a0f98(0x1fa)][_0x5a0f98(0x30b)]('subunit');if(!_0x99e229||!_0x4773d8[_0x5a0f98(0x458)](_0x99e229)){const _0x53bd0c=_0x4773d8[_0x5a0f98(0x3a1)]()[0x0],_0x349598=_0x4773d8[_0x5a0f98(0x458)](_0x53bd0c);if(!_0x349598)return;this[_0x5a0f98(0x1db)](_0x349598,!0x0),await this[_0x5a0f98(0x355)][_0x5a0f98(0x2fb)](_0x4b7abb['SetWorksheetActivateCommand']['id'],{'unitId':_0x4773d8[_0x5a0f98(0x2e1)](),'subUnitId':_0x53bd0c});return;}((_0x275290=_0x4773d8[_0x5a0f98(0x236)]())==null?void 0x0:_0x275290[_0x5a0f98(0x2ad)]())!==_0x99e229&&await this[_0x5a0f98(0x355)][_0x5a0f98(0x2fb)](_0x4b7abb[_0x5a0f98(0x37f)]['id'],{'unitId':_0x4773d8[_0x5a0f98(0x2e1)](),'subUnitId':_0x99e229});}},_0x3b1343[_0x105489(0x2bb)]=_0x104525([_0x34e8e7(0x0,_0x2e3d8b),_0x34e8e7(0x1,_0x4c34fb[_0x105489(0x3b3)]),_0x34e8e7(0x2,_0x4c34fb[_0x105489(0x25f)]),_0x34e8e7(0x3,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x1e1)])),_0x34e8e7(0x4,_0x4c34fb[_0x105489(0x332)](_0x4a84d1[_0x105489(0x2bd)]))],_0x3b1343[_0x105489(0x2bb)]);var _0x5af2c4=Object[_0x105489(0x270)],_0x147209=(_0x16eebb,_0x15bdb7,_0x5c9604,_0x157219)=>{const _0x208f3c=_0x105489;for(var _0x1d05aa=_0x157219>0x1?void 0x0:_0x157219?_0x5af2c4(_0x15bdb7,_0x5c9604):_0x15bdb7,_0x48d325=_0x16eebb[_0x208f3c(0x20a)]-0x1,_0x2af75e;_0x48d325>=0x0;_0x48d325--)(_0x2af75e=_0x16eebb[_0x48d325])&&(_0x1d05aa=_0x2af75e(_0x1d05aa)||_0x1d05aa);return _0x1d05aa;},_0x15413e=(_0x11bba2,_0xe25a0e)=>(_0x5eed33,_0x1cdbda)=>_0xe25a0e(_0x5eed33,_0x1cdbda,_0x11bba2);let _0x12f27e=class{constructor(_0x173636,_0x40bbc1,_0xd3b87d){this['_injector']=_0x173636,this['_transformService']=_0x40bbc1,this['_renderManagerService']=_0xd3b87d;}[_0x105489(0x2ce)](_0x322638){const _0x46a633=_0x105489;this[_0x46a633(0x29c)](_0x322638),this[_0x46a633(0x1c4)](_0x322638);}[_0x105489(0x337)](_0x4caeda){const _0x35236d=_0x105489,{unitID:_0x4cb1cb}=_0x4caeda,_0xf780dd=this[_0x35236d(0x30c)][_0x35236d(0x39a)](_0x4cb1cb)[_0x35236d(0x344)](_0x53e9b7[_0x35236d(0x2ec)]),{redoCache:_0x346538}=_0xf780dd[_0x35236d(0x451)]();if(_0x346538[_0x35236d(0x20a)]===0x0)return _0x4caeda;let _0x522d8c=_0x4c34fb[_0x35236d(0x3cf)][_0x35236d(0x40c)](_0x4caeda[_0x35236d(0x31e)][0x0]);for(let _0x29b5d8=0x0;_0x29b5d8<_0x346538[_0x35236d(0x20a)];_0x29b5d8++){const _0x404cd5={'id':'doc.mutation.rich-text-editing','params':{..._0x346538[_0x29b5d8]}},_0x70f39c=this[_0x35236d(0x1f5)][_0x35236d(0x287)](_0x522d8c,_0x404cd5,!0x1);if(_0x3b6054[_0x35236d(0x33c)](_0x70f39c))throw _0x70f39c[_0x35236d(0x284)];_0x522d8c=_0x70f39c['m1Prime'];}return{..._0x4c34fb[_0x35236d(0x3cf)]['deepClone'](_0x4caeda),'mutations':[_0x522d8c]};}[_0x105489(0x29c)](_0x4c18f5){const _0x38f86d=_0x105489,{unitID:_0x3c946c}=_0x4c18f5,_0x4b25f6=this[_0x38f86d(0x30c)][_0x38f86d(0x39a)](_0x3c946c)[_0x38f86d(0x344)](_0x53e9b7['DocIMEInputManagerService']),{undoCache:_0x9b7a04,redoCache:_0x1ca8a9}=_0x4b25f6[_0x38f86d(0x451)]();if(_0x9b7a04[_0x38f86d(0x20a)]===0x0||_0x1ca8a9['length']===0x0)return;const _0x3cff43=[],_0x37b7e2=[];let _0x77aecc=_0x4c34fb[_0x38f86d(0x3cf)][_0x38f86d(0x40c)](_0x4c18f5[_0x38f86d(0x31e)][0x0]),_0x48387e=_0x4c34fb[_0x38f86d(0x3cf)]['deepClone'](_0x4c18f5[_0x38f86d(0x31e)][0x0]);for(let _0x101067=_0x9b7a04['length']-0x1;_0x101067>=0x0;_0x101067--){const _0x35cf91={'id':_0x38f86d(0x250),'params':{..._0x9b7a04[_0x101067]}},_0x4558a0={'id':_0x38f86d(0x250),'params':{..._0x1ca8a9[_0x101067]}},_0x37fe20=this[_0x38f86d(0x1f5)][_0x38f86d(0x287)](_0x77aecc,_0x35cf91,!0x1),_0x4dd825=this[_0x38f86d(0x1f5)]['transformMutation'](_0x48387e,_0x4558a0,!0x1);if(_0x3b6054[_0x38f86d(0x33c)](_0x37fe20))throw _0x37fe20[_0x38f86d(0x284)];if(_0x3b6054['isTransformMutationFailure'](_0x4dd825))throw _0x4dd825[_0x38f86d(0x284)];_0x3cff43['unshift'](_0x37fe20[_0x38f86d(0x1e0)][_0x38f86d(0x1d6)]),_0x37b7e2[_0x38f86d(0x446)](_0x4dd825['m2Prime']['params']),_0x77aecc=_0x37fe20[_0x38f86d(0x319)],_0x48387e=_0x4dd825[_0x38f86d(0x319)];}_0x4b25f6[_0x38f86d(0x3f7)]({'undoCache':_0x3cff43,'redoCache':_0x37b7e2});}[_0x105489(0x1c4)](_0x4293df){const _0x1905a0=_0x105489,{unitID:_0x1eb359}=_0x4293df,_0x1fe0af=this['_renderManagerService'][_0x1905a0(0x39a)](_0x1eb359)[_0x1905a0(0x344)](_0x53e9b7[_0x1905a0(0x2ec)]),_0x4a0490=_0x1fe0af[_0x1905a0(0x2c9)]();if(_0x4a0490==null)return;const _0x56045a=[{'id':_0x1905a0(0x250),'params':{'unitId':_0x4293df[_0x1905a0(0x380)],'actions':null,'textRanges':[_0x4a0490]}}],_0x82cec8=this[_0x1905a0(0x1f5)][_0x1905a0(0x24a)](_0x4293df,_0x56045a);if(!_0x3b6054[_0x1905a0(0x31c)](_0x82cec8))throw _0x82cec8[_0x1905a0(0x284)];const _0x3c817d=_0x82cec8[_0x1905a0(0x1e0)][0x0][_0x1905a0(0x1d6)][_0x1905a0(0x1f0)];Array[_0x1905a0(0x1ce)](_0x3c817d)&&_0x3c817d[_0x1905a0(0x20a)]&&_0x1fe0af[_0x1905a0(0x281)](_0x3c817d[0x0]);}};_0x12f27e=_0x147209([_0x15413e(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x15413e(0x1,_0x3b6054[_0x105489(0x388)]),_0x15413e(0x2,_0x5042e5[_0x105489(0x376)])],_0x12f27e);var _0x36e81d=Object['getOwnPropertyDescriptor'],_0xff8570=(_0x1db5c9,_0x5a5c64,_0x343727,_0xcd5488)=>{for(var _0xf6f894=_0xcd5488>0x1?void 0x0:_0xcd5488?_0x36e81d(_0x5a5c64,_0x343727):_0x5a5c64,_0x2326b2=_0x1db5c9['length']-0x1,_0x2d8c04;_0x2326b2>=0x0;_0x2326b2--)(_0x2d8c04=_0x1db5c9[_0x2326b2])&&(_0xf6f894=_0x2d8c04(_0xf6f894)||_0xf6f894);return _0xf6f894;},_0x3b847a=(_0x2779ff,_0xd0157b)=>(_0x11e439,_0x53f7cb)=>_0xd0157b(_0x11e439,_0x53f7cb,_0x2779ff);let _0x32778d=class{constructor(_0x3183a3,_0x2ccde2,_0x2b098d){const _0x406a37=_0x105489;this[_0x406a37(0x423)]=_0x3183a3,this[_0x406a37(0x1f5)]=_0x2ccde2,this[_0x406a37(0x36e)]=_0x2b098d;}['transformStateCache'](_0x2b0b8d){this['_transformHistoryAndStateStack'](_0x2b0b8d);}[_0x105489(0x337)](_0x2e76da){const _0xda48bb=_0x105489,{unitID:_0x17c403}=_0x2e76da,{collaboration:_0x5dcc35}=this['_docStateChangeManagerService'][_0xda48bb(0x364)](_0x17c403);if(_0x5dcc35[_0xda48bb(0x20a)]===0x0)return _0x2e76da;let _0x2d8288=_0x4c34fb[_0xda48bb(0x3cf)][_0xda48bb(0x40c)](_0x2e76da['mutations'][0x0]);for(let _0x2667f2=0x0;_0x2667f2<_0x5dcc35[_0xda48bb(0x20a)];_0x2667f2++){const _0x4851bf={'id':_0xda48bb(0x250),'params':{'unitId':_0x5dcc35[_0x2667f2]['unitId'],..._0x5dcc35[_0x2667f2][_0xda48bb(0x3c8)]}},_0x5ade58=this[_0xda48bb(0x1f5)][_0xda48bb(0x287)](_0x2d8288,_0x4851bf,!0x1);if(_0x3b6054[_0xda48bb(0x33c)](_0x5ade58))throw _0x5ade58[_0xda48bb(0x284)];_0x2d8288=_0x5ade58['m1Prime'];}return{..._0x4c34fb[_0xda48bb(0x3cf)][_0xda48bb(0x40c)](_0x2e76da),'mutations':[_0x2d8288]};}[_0x105489(0x2e4)](_0xb3603f){const _0x2bfc72=_0x105489,{unitID:_0x27b679}=_0xb3603f,{history:_0x2dd303,collaboration:_0x3d1e29}=this[_0x2bfc72(0x36e)][_0x2bfc72(0x364)](_0x27b679);if(_0x2dd303[_0x2bfc72(0x20a)]===0x0&&_0x3d1e29[_0x2bfc72(0x20a)]===0x0)return;const _0x4332d0=[],_0x20e7c4=[];let _0x3cb971=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f['mutations'][0x0]),_0x13f34c=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f[_0x2bfc72(0x31e)][0x0]);for(let _0x584de0=_0x2dd303['length']-0x1;_0x584de0>=0x0;_0x584de0--){const _0x4af157={'id':_0x2bfc72(0x250),'params':{'unitId':_0x2dd303[_0x584de0]['unitId'],..._0x2dd303[_0x584de0][_0x2bfc72(0x3a3)]}},_0x13130e={'id':_0x2bfc72(0x250),'params':{'unitId':_0x2dd303[_0x584de0]['unitId'],..._0x2dd303[_0x584de0][_0x2bfc72(0x3c8)]}},_0x5e5b5f=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x3cb971,_0x4af157,!0x1),_0x3c7dc6=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x13f34c,_0x13130e,!0x1);if(_0x3b6054[_0x2bfc72(0x33c)](_0x5e5b5f))throw _0x5e5b5f[_0x2bfc72(0x284)];if(_0x3b6054[_0x2bfc72(0x33c)](_0x3c7dc6))throw _0x3c7dc6[_0x2bfc72(0x284)];_0x4332d0[_0x2bfc72(0x446)]({..._0x2dd303[_0x584de0],'undoState':_0x5e5b5f[_0x2bfc72(0x1e0)][_0x2bfc72(0x1d6)],'redoState':_0x3c7dc6[_0x2bfc72(0x1e0)]['params']}),_0x3cb971=_0x5e5b5f[_0x2bfc72(0x319)],_0x13f34c=_0x3c7dc6[_0x2bfc72(0x319)];}_0x3cb971=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f['mutations'][0x0]),_0x13f34c=_0x4c34fb[_0x2bfc72(0x3cf)]['deepClone'](_0xb3603f['mutations'][0x0]);for(let _0x3abf07=_0x3d1e29[_0x2bfc72(0x20a)]-0x1;_0x3abf07>=0x0;_0x3abf07--){const _0x4b82bd={'id':_0x2bfc72(0x250),'params':{'unitId':_0x3d1e29[_0x3abf07][_0x2bfc72(0x3ee)],..._0x3d1e29[_0x3abf07][_0x2bfc72(0x3a3)]}},_0xf0e016={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d1e29[_0x3abf07][_0x2bfc72(0x3ee)],..._0x3d1e29[_0x3abf07][_0x2bfc72(0x3c8)]}},_0x280b33=this[_0x2bfc72(0x1f5)]['transformMutation'](_0x3cb971,_0x4b82bd,!0x1),_0x2540fe=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x13f34c,_0xf0e016,!0x1);if(_0x3b6054['isTransformMutationFailure'](_0x280b33))throw _0x280b33['error'];if(_0x3b6054[_0x2bfc72(0x33c)](_0x2540fe))throw _0x2540fe[_0x2bfc72(0x284)];_0x20e7c4[_0x2bfc72(0x446)]({..._0x3d1e29[_0x3abf07],'undoState':_0x280b33[_0x2bfc72(0x1e0)]['params'],'redoState':_0x2540fe[_0x2bfc72(0x1e0)][_0x2bfc72(0x1d6)]}),_0x3cb971=_0x280b33[_0x2bfc72(0x319)],_0x13f34c=_0x2540fe[_0x2bfc72(0x319)];}this['_docStateChangeManagerService']['setStateCache'](_0x27b679,{'history':_0x4332d0,'collaboration':_0x20e7c4});}};_0x32778d=_0xff8570([_0x3b847a(0x0,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0x3b847a(0x1,_0x3b6054[_0x105489(0x388)]),_0x3b847a(0x2,_0x4c34fb[_0x105489(0x338)](_0x53e9b7[_0x105489(0x3f9)]))],_0x32778d);var _0x4fc3fd=Object[_0x105489(0x270)],_0x536da3=(_0x2a8717,_0x2deefa,_0x5332d0,_0x43149c)=>{const _0x2803a8=_0x105489;for(var _0x1c47d8=_0x43149c>0x1?void 0x0:_0x43149c?_0x4fc3fd(_0x2deefa,_0x5332d0):_0x2deefa,_0x2e20fb=_0x2a8717[_0x2803a8(0x20a)]-0x1,_0x1d31ef;_0x2e20fb>=0x0;_0x2e20fb--)(_0x1d31ef=_0x2a8717[_0x2e20fb])&&(_0x1c47d8=_0x1d31ef(_0x1c47d8)||_0x1c47d8);return _0x1c47d8;},_0x1bddd8=(_0x3c742f,_0x5b327e)=>(_0x476b35,_0x3458b4)=>_0x5b327e(_0x476b35,_0x3458b4,_0x3c742f);let _0x58324=class{constructor(_0x3601a4,_0x24abd3){const _0x5b7ecf=_0x105489;this[_0x5b7ecf(0x423)]=_0x3601a4,this['_transformService']=_0x24abd3;}[_0x105489(0x408)](_0x6a7d7){const _0x167505=_0x105489;var _0x5d9768;const _0xa5490=this[_0x167505(0x423)][_0x167505(0x225)](_0x23a4b4[_0x167505(0x216)]),_0x55e5ea=(_0x5d9768=_0xa5490[_0x167505(0x323)]())!=null?_0x5d9768:[];if(_0x55e5ea[_0x167505(0x20a)]===0x0)return;const _0x5aade6=_0x6a7d7[_0x167505(0x380)],_0x5ee6bc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5aade6,'actions':null,'textRanges':_0x55e5ea}}],_0x3c284e=this[_0x167505(0x1f5)]['transformMutationsWithChangeset'](_0x6a7d7,_0x5ee6bc);if(!_0x3b6054[_0x167505(0x31c)](_0x3c284e))throw _0x3c284e['error'];const _0x1789d1=_0x3c284e[_0x167505(0x1e0)][0x0]['params'][_0x167505(0x1f0)];Array[_0x167505(0x1ce)](_0x1789d1)&&_0x1789d1['length']&&_0xa5490['replaceDocRanges'](_0x1789d1,{'unitId':_0x5aade6,'subUnitId':_0x5aade6},!0x1);}};_0x58324=_0x536da3([_0x1bddd8(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x1bddd8(0x1,_0x3b6054[_0x105489(0x388)])],_0x58324);var _0x28f306=Object[_0x105489(0x270)],_0x43639a=(_0x1a240b,_0x1b8b20,_0x56c521,_0x166c9c)=>{const _0x6c160f=_0x105489;for(var _0x3901bd=_0x166c9c>0x1?void 0x0:_0x166c9c?_0x28f306(_0x1b8b20,_0x56c521):_0x1b8b20,_0x5159fd=_0x1a240b[_0x6c160f(0x20a)]-0x1,_0x5b3572;_0x5159fd>=0x0;_0x5159fd--)(_0x5b3572=_0x1a240b[_0x5159fd])&&(_0x3901bd=_0x5b3572(_0x3901bd)||_0x3901bd);return _0x3901bd;},_0x40731a=(_0x2fa20b,_0x42c9b5)=>(_0x10f4ee,_0x3bb813)=>_0x42c9b5(_0x10f4ee,_0x3bb813,_0x2fa20b);let _0xe92e86=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0xf5787c,_0x517651,_0x443c71,_0x418acc,_0x50dc76,_0x2dc21b,_0x3d1201,_0x1e956f){const _0x5ef0a8=_0x105489;super(),_0x23d7a8(this,'_status$',new _0x4bbdc9[(_0x5ef0a8(0x382))](_0x145739[_0x5ef0a8(0x1e6)][_0x5ef0a8(0x25a)])),(this['_docStateChangeManagerService']=_0xf5787c,this[_0x5ef0a8(0x2a2)]=_0x517651,this[_0x5ef0a8(0x327)]=_0x443c71,this[_0x5ef0a8(0x444)]=_0x418acc,this[_0x5ef0a8(0x3c7)]=_0x50dc76,this[_0x5ef0a8(0x3df)]=_0x2dc21b,this[_0x5ef0a8(0x2db)]=_0x3d1201,this[_0x5ef0a8(0x367)]=_0x1e956f,this[_0x5ef0a8(0x1ee)]());}[_0x105489(0x1ee)](){const _0x1db9ee=_0x105489;this['disposeWithMe'](this[_0x1db9ee(0x2a2)][_0x1db9ee(0x23a)]['subscribe'](_0x545337=>{const _0x47c572=_0x1db9ee,_0x30df81=this[_0x47c572(0x36e)][_0x47c572(0x32d)][_0x47c572(0x2f9)](_0x29e0a5=>{const _0x456fe6=_0x47c572;if(_0x29e0a5==null)return;const {unitId:_0x21fec2,redoState:_0x4a73a2,commandId:_0x49c0a7}=_0x29e0a5;if(_0x21fec2!==_0x545337[_0x456fe6(0x380)])return;const _0x4f945d={'id':_0x49c0a7,'type':_0x4c34fb[_0x456fe6(0x298)][_0x456fe6(0x249)],'params':{'unitId':_0x21fec2,'actions':_0x4a73a2['actions'],'textRanges':null}};_0x545337['onLocalMutation'](_0x4f945d);});if(_0x545337[_0x47c572(0x321)](_0x30df81),_0x545337 instanceof _0x145739[_0x47c572(0x35d)]){const _0x4f929b={'onTransformIME':_0x4e7cf2=>this['_docTransformIMECacheService'][_0x47c572(0x2ce)](_0x4e7cf2),'onTransformState':_0x5653ac=>this[_0x47c572(0x444)][_0x47c572(0x31a)](_0x5653ac),'onTransformSelections':_0x1dbf6b=>this['_docTransformSelectionsService'][_0x47c572(0x408)](_0x1dbf6b),'onSyncEditingCollabCursor':_0xda92fd=>this[_0x47c572(0x3df)][_0x47c572(0x293)](_0xda92fd),'onTransformRemoteChangesetByIMECache':_0x47e9c7=>this[_0x47c572(0x327)][_0x47c572(0x337)](_0x47e9c7),'onTransformRemoteChangesetByStateCache':_0x19848e=>this[_0x47c572(0x444)][_0x47c572(0x337)](_0x19848e)};_0x545337[_0x47c572(0x2e9)](_0x4f929b);}}));}};_0xe92e86=_0x43639a([_0x40731a(0x0,_0x4c34fb[_0x105489(0x338)](_0x53e9b7[_0x105489(0x3f9)])),_0x40731a(0x1,_0x4c34fb[_0x105489(0x338)](_0x145739['CollaborationController'])),_0x40731a(0x2,_0x4c34fb[_0x105489(0x338)](_0x12f27e)),_0x40731a(0x3,_0x4c34fb['Inject'](_0x32778d)),_0x40731a(0x4,_0x4c34fb[_0x105489(0x338)](_0x58324)),_0x40731a(0x5,_0x4c34fb[_0x105489(0x338)](_0x5532ac)),_0x40731a(0x6,_0x2cb420[_0x105489(0x3fc)]),_0x40731a(0x7,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['LocaleService']))],_0xe92e86);var _0x878c09=Object['getOwnPropertyDescriptor'],_0x1a9dc5=(_0x2b29e7,_0x5afe63,_0x423c68,_0x5c046b)=>{const _0x2de6ad=_0x105489;for(var _0x259432=_0x5c046b>0x1?void 0x0:_0x5c046b?_0x878c09(_0x5afe63,_0x423c68):_0x5afe63,_0x52ef1e=_0x2b29e7[_0x2de6ad(0x20a)]-0x1,_0x304842;_0x52ef1e>=0x0;_0x52ef1e--)(_0x304842=_0x2b29e7[_0x52ef1e])&&(_0x259432=_0x304842(_0x259432)||_0x259432);return _0x259432;},_0x355363=(_0x5205f7,_0x10a0e6)=>(_0x430719,_0x2b177c)=>_0x10a0e6(_0x430719,_0x2b177c,_0x5205f7);let _0x1d7f56=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x4bdb27,_0x14200d,_0xf52bd7){const _0x10bc01=_0x105489;super(),_0x23d7a8(this,'_cachedData',new Map()),_0x23d7a8(this,_0x10bc01(0x1fb),new Map()),_0x23d7a8(this,_0x10bc01(0x431),!0x1),(this[_0x10bc01(0x1be)]=_0x4bdb27,this[_0x10bc01(0x2bc)]=_0x14200d,this[_0x10bc01(0x23f)]=_0xf52bd7);}[_0x105489(0x430)](){const _0x23cfd4=_0x105489;this[_0x23cfd4(0x431)]=!0x0;}[_0x105489(0x290)](){const _0x40023a=_0x105489;this[_0x40023a(0x431)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x105489(0x275)](){const _0xc8693b=_0x105489;this[_0xc8693b(0x2c3)]()[_0xc8693b(0x24d)](()=>super[_0xc8693b(0x275)]());}async['loadOfflineData'](_0x354c39){const _0x52824b=_0x105489;return this[_0x52824b(0x431)]?null:this[_0x52824b(0x2bc)][_0x52824b(0x2fd)](_0x145739[_0x52824b(0x362)](_0x354c39));}async[_0x105489(0x35c)](_0x54d375,_0x5dfbe7){const _0x44f019=_0x105489;return!!this[_0x44f019(0x2bc)]['setItem'](_0x54d375,_0x5dfbe7);}[_0x105489(0x2b8)](_0x3cd73e,_0x20315a,_0x5c15ed,_0x2652c2){const _0x1158ad=_0x105489,_0x1deaa2=this[_0x1158ad(0x23f)][_0x1158ad(0x33f)](_0x3cd73e);this['_cachedData']['set'](_0x3cd73e,{'unitID':_0x3cd73e,'type':_0x20315a,'awaitingChangeset':_0x5c15ed,'mutations':_0x2652c2,'rev':_0x1deaa2}),this[_0x1158ad(0x1fb)][_0x1158ad(0x44c)](_0x3cd73e)||this[_0x1158ad(0x2d1)](_0x3cd73e);}[_0x105489(0x2d1)](_0x570513){const _0xe48fad=_0x105489,_0x36ee8=this['_getSaveTimeout']();_0x36ee8===0x0?this['_saveCache'](_0x570513):this[_0xe48fad(0x1fb)][_0xe48fad(0x41e)](_0x570513,setTimeout(()=>this[_0xe48fad(0x312)](_0x570513),_0x36ee8));}[_0x105489(0x328)](){const _0x5c3a55=_0x105489;var _0x18cfa9;return(_0x18cfa9=this[_0x5c3a55(0x1be)]['getConfig'](_0x145739[_0x5c3a55(0x40a)]))!=null?_0x18cfa9:_0x145739[_0x5c3a55(0x37a)];}[_0x105489(0x312)](_0x4a0ca1){const _0x1d586b=_0x105489,_0x3b61f0=this[_0x1d586b(0x1fb)][_0x1d586b(0x225)](_0x4a0ca1);return _0x3b61f0!==void 0x0&&window['clearTimeout'](_0x3b61f0),this[_0x1d586b(0x2bc)][_0x1d586b(0x309)](_0x145739[_0x1d586b(0x362)](_0x4a0ca1),this['_cachedData'][_0x1d586b(0x225)](_0x4a0ca1))[_0x1d586b(0x24d)](()=>this[_0x1d586b(0x1fb)]['delete'](_0x4a0ca1));}async['exhaustSavingTask'](){const _0x19286d=_0x105489,_0x4844d7=[];this[_0x19286d(0x1fb)]['forEach']((_0x57631c,_0x4061b5)=>{const _0x77f6f7=_0x19286d;window[_0x77f6f7(0x406)](_0x57631c),_0x4844d7['push'](this['_saveCache'](_0x4061b5)[_0x77f6f7(0x24d)](()=>{const _0x16376e=_0x77f6f7;this[_0x16376e(0x1fb)][_0x16376e(0x292)](_0x4061b5);}));}),await Promise[_0x19286d(0x44e)](_0x4844d7);}};_0x1d7f56=_0x1a9dc5([_0x355363(0x0,_0x4c34fb[_0x105489(0x30f)]),_0x355363(0x1,_0x4c34fb[_0x105489(0x20d)]),_0x355363(0x2,_0x4c34fb[_0x105489(0x338)](_0x3b6054[_0x105489(0x345)]))],_0x1d7f56);class _0xf13497 extends _0x4c34fb[_0x105489(0x241)]{constructor(){const _0x11d034=_0x105489;super(),_0x23d7a8(this,'urlChange$'),this[_0x11d034(0x227)]=_0x4bbdc9['fromEvent'](window,_0x11d034(0x2c8))[_0x11d034(0x35a)](_0x4bbdc9[_0x11d034(0x20e)](this[_0x11d034(0x2df)]),_0x4bbdc9['shareReplay'](0x1),_0x4bbdc9[_0x11d034(0x29a)](void 0x0));}['setParam'](_0xa5de9e,_0x50f6a2,_0x5d4af7=!0x1){const _0x43e20f=_0x105489,_0x5957d8=new URL(window[_0x43e20f(0x2d3)]['href']);_0x5957d8[_0x43e20f(0x1cb)]['set'](_0xa5de9e,_0x50f6a2),_0x5d4af7?window[_0x43e20f(0x228)]['replaceState']('','',_0x5957d8['toString']()):window[_0x43e20f(0x228)]['pushState']('','',_0x5957d8[_0x43e20f(0x302)]());}[_0x105489(0x41f)](_0x319e30,_0x57f5cf=!0x1){const _0x181f28=_0x105489,_0x137bf8=new URL(window[_0x181f28(0x2d3)]['href']);_0x137bf8[_0x181f28(0x1cb)][_0x181f28(0x292)](_0x319e30),_0x57f5cf?window[_0x181f28(0x228)][_0x181f28(0x2b3)]('','',_0x137bf8[_0x181f28(0x302)]()):window[_0x181f28(0x228)][_0x181f28(0x24e)]('','',_0x137bf8[_0x181f28(0x302)]());}['getParam'](_0x12add5){const _0xc25552=_0x105489;var _0x2b02f9;return(_0x2b02f9=new URL(window[_0xc25552(0x2d3)][_0xc25552(0x1c3)])[_0xc25552(0x1cb)]['get'](_0x12add5))!=null?_0x2b02f9:void 0x0;}}var _0x51c141=Object[_0x105489(0x38f)],_0x167a14=Object[_0x105489(0x270)],_0x2f56a9=(_0x5a1c54,_0x23b42b,_0x630a4a)=>_0x23b42b in _0x5a1c54?_0x51c141(_0x5a1c54,_0x23b42b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x630a4a}):_0x5a1c54[_0x23b42b]=_0x630a4a,_0x48dd3d=(_0x436f3d,_0x3da245,_0xf3c74,_0x8a72fb)=>{for(var _0x21146a=_0x8a72fb>0x1?void 0x0:_0x8a72fb?_0x167a14(_0x3da245,_0xf3c74):_0x3da245,_0x3804a4=_0x436f3d['length']-0x1,_0x5a1df4;_0x3804a4>=0x0;_0x3804a4--)(_0x5a1df4=_0x436f3d[_0x3804a4])&&(_0x21146a=_0x5a1df4(_0x21146a)||_0x21146a);return _0x21146a;},_0xd7ea89=(_0x4090e1,_0x238508)=>(_0x493336,_0x55ae39)=>_0x238508(_0x493336,_0x55ae39,_0x4090e1),_0x30f834=(_0x4257e1,_0x5966f4,_0x193db0)=>_0x2f56a9(_0x4257e1,_0x5966f4+'',_0x193db0);const _0x16d6c0=_0x105489(0x42e);_0x3b1343[_0x105489(0x348)]=class extends _0x4c34fb[_0x105489(0x40b)]{constructor(_0xb24b17=_0x47ba75,_0x218927,_0x49845b,_0x2b4074){const _0x383598=_0x105489;super(),this['_config']=_0xb24b17,this[_0x383598(0x30c)]=_0x218927,this[_0x383598(0x423)]=_0x49845b,this[_0x383598(0x1be)]=_0x2b4074;const {..._0x1b5721}=_0x4c34fb[_0x383598(0x420)]({},_0x47ba75,this[_0x383598(0x1c9)]);this[_0x383598(0x1be)]['setConfig'](_0x1d9c41,_0x1b5721);}[_0x105489(0x373)](){const _0x33e60e=_0x105489;this['_registerDependencies'](),this[_0x33e60e(0x39b)]();}[_0x105489(0x218)](){this['_registerRenderDependencies']();}[_0x105489(0x1f6)](){const _0xd3740e=_0x105489;var _0x258ae7;const _0x479bd7=[[_0x5d296d],[_0x58324],[_0x12f27e],[_0x32778d],[_0x5532ac],[_0x2e3d8b,{'useClass':_0xf13497}],[_0x3c148b[_0xd3740e(0x379)],{'useClass':_0x3c148b[_0xd3740e(0x21b)]}],[_0x145739[_0xd3740e(0x438)],{'useClass':_0x1d7f56}],[_0x3b1343[_0xd3740e(0x28a)]],[_0xe92e86],[_0x2d4eb0],[_0x4cbfa5],[_0x461813],[_0x3b1343[_0xd3740e(0x2bb)]]];_0x4c34fb[_0xd3740e(0x310)](this['_injector'],_0x4c34fb[_0xd3740e(0x34f)](_0x479bd7,(_0x258ae7=this[_0xd3740e(0x1c9)])==null?void 0x0:_0x258ae7[_0xd3740e(0x350)]));}[_0x105489(0x1bf)](){const _0x13c36c=_0x105489;this[_0x13c36c(0x321)](this[_0x13c36c(0x30c)][_0x13c36c(0x269)](_0x4c34fb['UniverInstanceType']['UNIVER_DOC'],[_0x442c72])),this[_0x13c36c(0x321)](this[_0x13c36c(0x30c)][_0x13c36c(0x269)](_0x4c34fb['UniverInstanceType'][_0x13c36c(0x409)],[_0x3c2e62]));}[_0x105489(0x39b)](){const _0x5cdab6=_0x105489;_0x4c34fb['touchDependencies'](this[_0x5cdab6(0x423)],[[_0x4cbfa5],[_0x3b1343[_0x5cdab6(0x28a)]],[_0xe92e86],[_0x2d4eb0],[_0x3b1343[_0x5cdab6(0x2bb)]]]);}},_0x30f834(_0x3b1343[_0x105489(0x348)],_0x105489(0x374),_0x16d6c0),_0x3b1343[_0x105489(0x348)]=_0x48dd3d([_0x4c34fb[_0x105489(0x3b8)](_0x145739[_0x105489(0x21d)]),_0xd7ea89(0x1,_0x5042e5[_0x105489(0x376)]),_0xd7ea89(0x2,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0xd7ea89(0x3,_0x4c34fb[_0x105489(0x30f)])],_0x3b1343[_0x105489(0x348)]);var _0x33cf74=Object[_0x105489(0x270)],_0x4add87=(_0x1a8027,_0x2fcb30,_0x374abe,_0x2145db)=>{const _0x16b6c5=_0x105489;for(var _0x44dd7c=_0x2145db>0x1?void 0x0:_0x2145db?_0x33cf74(_0x2fcb30,_0x374abe):_0x2fcb30,_0x149d3b=_0x1a8027[_0x16b6c5(0x20a)]-0x1,_0x1b26d6;_0x149d3b>=0x0;_0x149d3b--)(_0x1b26d6=_0x1a8027[_0x149d3b])&&(_0x44dd7c=_0x1b26d6(_0x44dd7c)||_0x44dd7c);return _0x44dd7c;},_0x324815=(_0x4c7c5e,_0x58ad21)=>(_0x50c831,_0x1fc576)=>_0x58ad21(_0x50c831,_0x1fc576,_0x4c7c5e);_0x3b1343[_0x105489(0x3a6)]=class extends _0x145739['CollaborationSocketService']{constructor(_0x417387,_0x38f687,_0x525bb9,_0x2402a8,_0x4f0db1){super(_0x417387,_0x38f687,_0x525bb9,_0x2402a8,_0x4f0db1);}async['createSocket'](_0x480785){const _0x3aed52=_0x105489,_0x24225a=await this[_0x3aed52(0x29d)](),_0x526ce4=this[_0x3aed52(0x354)](_0x480785,_0x24225a);return this[_0x3aed52(0x44a)](_0x526ce4);}[_0x105489(0x354)](_0x4bf9d0,_0x26d6eb){const _0x36ba60=_0x105489,_0x5cf147=typeof window>'u'?new URL(_0x4bf9d0):new URL(_0x4bf9d0,window[_0x36ba60(0x2d3)][_0x36ba60(0x3c4)]);_0x5cf147[_0x36ba60(0x1cb)]['set'](_0x36ba60(0x277),_0x26d6eb);const _0x1e8c9e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36ba60(0x427)]);return _0x1e8c9e[_0x36ba60(0x225)](_0x36ba60(0x41b))&&_0x5cf147[_0x36ba60(0x1cb)][_0x36ba60(0x41e)](_0x36ba60(0x41b),_0x1e8c9e[_0x36ba60(0x225)](_0x36ba60(0x41b))),_0x5cf147[_0x36ba60(0x302)]();}async['_getSessionTicket'](){const _0x3c767c=_0x105489;var _0x5daeb9,_0x3c495b,_0x1390aa;const _0x25a8be=this[_0x3c767c(0x1be)]['getConfig'](_0x145739[_0x3c767c(0x278)]),_0x332951=(_0x5daeb9=_0x25a8be==null?void 0x0:_0x25a8be['wsSessionTicketUrl'])!=null?_0x5daeb9:_0x145739[_0x3c767c(0x253)];return(_0x1390aa=(_0x3c495b=(await this[_0x3c767c(0x40d)][_0x3c767c(0x225)](_0x332951,{'headers':{'Content-Type':'application/json'}}))[_0x3c767c(0x21c)])==null?void 0x0:_0x3c495b[_0x3c767c(0x3a5)])!=null?_0x1390aa:'';}},_0x3b1343['BrowserCollaborationSocketService']=_0x4add87([_0x324815(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x324815(0x1,_0x4c34fb['Inject'](_0x3c148b['HTTPService'])),_0x324815(0x2,_0x4c34fb[_0x105489(0x30f)]),_0x324815(0x3,_0x4c34fb[_0x105489(0x3b3)]),_0x324815(0x4,_0x3b6054[_0x105489(0x3f3)])],_0x3b1343[_0x105489(0x3a6)]);const _0x1b5a9e=0x7530,_0x49140d=_0x105489(0x391);class _0x46b132 extends _0x4c34fb[_0x105489(0x313)]{constructor(){const _0x36b454=_0x105489;super(),_0x23d7a8(this,'_id',_0x4c34fb[_0x36b454(0x389)]()),_0x23d7a8(this,_0x36b454(0x2dc),new Set()),_0x23d7a8(this,'_unitOnClients',new Map()),_0x23d7a8(this,_0x36b454(0x42d),null),_0x23d7a8(this,_0x36b454(0x31d),new Map()),_0x23d7a8(this,'_unitStatus',new Map()),this[_0x36b454(0x26c)]();}[_0x105489(0x275)](){const _0x5cdc2e=_0x105489;super['dispose'](),this[_0x5cdc2e(0x31d)][_0x5cdc2e(0x2ee)]((_0x59225d,_0x184d43)=>this[_0x5cdc2e(0x45c)](_0x184d43)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x467a31){const _0x190032=_0x105489;return this[_0x190032(0x45e)](_0x467a31)[_0x190032(0x35a)](_0x4bbdc9[_0x190032(0x454)]());}[_0x105489(0x3a8)](_0x2f392c){const _0x35fcf5=_0x105489;this[_0x35fcf5(0x2dc)][_0x35fcf5(0x2f7)]===0x0&&this[_0x35fcf5(0x452)](),this[_0x35fcf5(0x2dc)][_0x35fcf5(0x1ea)](_0x2f392c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2f392c],'isForwarded':!0x1});}[_0x105489(0x254)](_0x21f533){const _0x5a3622=_0x105489;this[_0x5a3622(0x2dc)]['delete'](_0x21f533),this[_0x5a3622(0x2dc)][_0x5a3622(0x2f7)]===0x0&&this[_0x5a3622(0x42d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x105489(0x26c)](){const _0x756752=_0x105489;this[_0x756752(0x321)](_0x4c34fb[_0x756752(0x407)](_0x4bbdc9['fromEvent'](window,'storage')[_0x756752(0x2f9)](_0x332273=>{const _0x3e5647=_0x756752;if(_0x332273['key']!==_0x49140d||!_0x332273[_0x3e5647(0x3d7)])return;const _0x6db936=JSON[_0x3e5647(0x2ba)](_0x332273[_0x3e5647(0x3d7)]);this[_0x3e5647(0x410)](_0x6db936);}))),window['addEventListener'](_0x756752(0x3bf),()=>this[_0x756752(0x404)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x756752(0x2c0)](this[_0x756752(0x2dc)])}));}['_handleEvent'](_0x586f2e){const _0x413e3e=_0x105489;switch(_0x586f2e[_0x413e3e(0x387)]){case 0x0:this[_0x413e3e(0x1ed)](_0x586f2e);break;case 0x1:this[_0x413e3e(0x251)](_0x586f2e);break;case 0x2:this[_0x413e3e(0x1c5)](_0x586f2e);break;}}[_0x105489(0x1ed)](_0xbc17e6){const _0x22ed78=_0x105489,{unitIDs:_0x4a56ac,memberID:_0x46b9ee,isForwarded:_0x55bd4b}=_0xbc17e6;_0x4a56ac[_0x22ed78(0x2ee)](_0x4bd342=>{const _0x27732d=_0x22ed78;if(!_0x55bd4b&&this['_unitOnClients'][_0x27732d(0x44c)](_0x4bd342)&&this['_ensureSubject'](_0x4bd342)[_0x27732d(0x34b)](_0x145739['UnitStatus'][_0x27732d(0x3e9)]),!this[_0x27732d(0x329)]['has'](_0x4bd342)||!this[_0x27732d(0x329)][_0x27732d(0x225)](_0x4bd342)[_0x27732d(0x44c)](_0x46b9ee)){const _0x20b4a1=this[_0x27732d(0x329)][_0x27732d(0x225)](_0x4bd342)||new Set();_0x20b4a1['add'](_0x46b9ee),this[_0x27732d(0x329)]['set'](_0x4bd342,_0x20b4a1),this[_0x27732d(0x356)](_0x46b9ee);}}),_0x55bd4b||this[_0x22ed78(0x404)]({'type':0x0,'memberID':this[_0x22ed78(0x445)],'unitIDs':[...this[_0x22ed78(0x2dc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x280184){const _0x5b5b37=_0x105489;this[_0x5b5b37(0x45c)](_0x280184);const _0x4bccc6=window[_0x5b5b37(0x28b)](()=>{const _0x2d91b0=_0x5b5b37;this[_0x2d91b0(0x329)][_0x2d91b0(0x2ee)](_0x4f681=>{const _0x29dd55=_0x2d91b0;_0x4f681[_0x29dd55(0x292)](_0x280184);});},_0x1b5a9e*0x2);this[_0x5b5b37(0x31d)]['set'](_0x280184,_0x4bccc6);}['_removeClearOtherTimer'](_0x2bc15e){const _0x3510cd=_0x105489;if(this['_clearOtherTimers']['has'](_0x2bc15e)){const _0x991c8c=this[_0x3510cd(0x31d)][_0x3510cd(0x225)](_0x2bc15e);_0x991c8c&&window[_0x3510cd(0x406)](_0x991c8c),this[_0x3510cd(0x31d)][_0x3510cd(0x41e)](_0x2bc15e,null);}}[_0x105489(0x251)](_0x381f53){const _0x448711=_0x105489,{memberID:_0x503dc0,unitIDs:_0x9fc764}=_0x381f53;_0x9fc764[_0x448711(0x2ee)](_0x4a6ab2=>{const _0x1a0090=_0x448711;var _0x1194e5;const _0x44effe=this[_0x1a0090(0x329)][_0x1a0090(0x225)](_0x4a6ab2);_0x44effe&&(_0x44effe[_0x1a0090(0x292)](_0x503dc0),(_0x1194e5=this[_0x1a0090(0x45e)](_0x4a6ab2))==null||_0x1194e5[_0x1a0090(0x34b)](_0x44effe[_0x1a0090(0x2f7)]===0x0?_0x145739['UnitStatus'][_0x1a0090(0x3ef)]:_0x145739['UnitStatus'][_0x1a0090(0x3e9)]));}),this['_removeClearOtherTimer'](_0x503dc0);}[_0x105489(0x1c5)](_0x11ddaa){const _0x15f47b=_0x105489;this[_0x15f47b(0x356)](_0x11ddaa[_0x15f47b(0x2fa)]);}[_0x105489(0x404)](_0x5e811a){const _0xf7ca93=_0x105489;localStorage[_0xf7ca93(0x309)](_0x49140d,JSON[_0xf7ca93(0x26a)](_0x5e811a));}[_0x105489(0x452)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x2ee9b7=_0x441c;this[_0x2ee9b7(0x404)]({'type':0x2,'memberID':this[_0x2ee9b7(0x445)]});},_0x1b5a9e);}['_ensureSubject'](_0xcc7b58){const _0x3b5cca=_0x105489;return this[_0x3b5cca(0x336)]['has'](_0xcc7b58)||this[_0x3b5cca(0x336)]['set'](_0xcc7b58,new _0x4bbdc9['BehaviorSubject'](_0x145739[_0x3b5cca(0x3de)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3b5cca(0x336)][_0x3b5cca(0x225)](_0xcc7b58);}}var _0x1d7c6b=(_0x5e8b3b=>(_0x5e8b3b[_0x5e8b3b[_0x105489(0x1f4)]=0x0]=_0x105489(0x1f4),_0x5e8b3b[_0x5e8b3b['OK']=0x1]='OK',_0x5e8b3b[_0x5e8b3b['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5e8b3b[_0x5e8b3b[_0x105489(0x239)]=0x3]=_0x105489(0x239),_0x5e8b3b[_0x5e8b3b[_0x105489(0x221)]=0x4]='NOT_FOUND',_0x5e8b3b[_0x5e8b3b[_0x105489(0x36c)]=0x5]=_0x105489(0x36c),_0x5e8b3b[_0x5e8b3b[_0x105489(0x322)]=0x6]=_0x105489(0x322),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1cc)]=0x7]=_0x105489(0x1cc),_0x5e8b3b[_0x5e8b3b[_0x105489(0x25c)]=0x8]=_0x105489(0x25c),_0x5e8b3b[_0x5e8b3b['COMPLETION_FINISHED']=0x9]=_0x105489(0x234),_0x5e8b3b[_0x5e8b3b['LOGIN_FAILED']=0xa]=_0x105489(0x434),_0x5e8b3b[_0x5e8b3b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x105489(0x25b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x305)]=0xc]=_0x105489(0x305),_0x5e8b3b[_0x5e8b3b[_0x105489(0x366)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5e8b3b[_0x5e8b3b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x105489(0x2ed),_0x5e8b3b[_0x5e8b3b[_0x105489(0x3d2)]=0x1389]=_0x105489(0x3d2),_0x5e8b3b[_0x5e8b3b[_0x105489(0x30e)]=0x1771]=_0x105489(0x30e),_0x5e8b3b[_0x5e8b3b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5e8b3b[_0x5e8b3b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5e8b3b[_0x5e8b3b[_0x105489(0x274)]=0x1b59]=_0x105489(0x274),_0x5e8b3b[_0x5e8b3b[_0x105489(0x215)]=0x1b5a]=_0x105489(0x215),_0x5e8b3b[_0x5e8b3b[_0x105489(0x257)]=0x1b5b]=_0x105489(0x257),_0x5e8b3b[_0x5e8b3b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x105489(0x286),_0x5e8b3b[_0x5e8b3b['APPLY_DUPLICATED']=0x1b5d]=_0x105489(0x27b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x2d6)]=0x1f41]=_0x105489(0x2d6),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1d1)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5e8b3b[_0x5e8b3b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x105489(0x29b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x264)]=0x232b]=_0x105489(0x264),_0x5e8b3b[_0x5e8b3b[_0x105489(0x311)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5e8b3b[_0x5e8b3b[_0x105489(0x33a)]=0x232d]=_0x105489(0x33a),_0x5e8b3b[_0x5e8b3b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x105489(0x393),_0x5e8b3b[_0x5e8b3b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x105489(0x27f),_0x5e8b3b[_0x5e8b3b[_0x105489(0x43b)]=0x2713]=_0x105489(0x43b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x37c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5e8b3b[_0x5e8b3b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x105489(0x38c),_0x5e8b3b[_0x5e8b3b[_0x105489(0x411)]=0x271b]=_0x105489(0x411),_0x5e8b3b[_0x5e8b3b[_0x105489(0x36f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5e8b3b[_0x5e8b3b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x105489(0x457),_0x5e8b3b[_0x5e8b3b[_0x105489(0x419)]=0x271e]=_0x105489(0x419),_0x5e8b3b[_0x5e8b3b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x105489(0x2cd),_0x5e8b3b[_0x5e8b3b[_0x105489(0x443)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5e8b3b[_0x5e8b3b[_0x105489(0x371)]=0x2af9]=_0x105489(0x371),_0x5e8b3b[_0x5e8b3b[_0x105489(0x247)]=0x2ee1]=_0x105489(0x247),_0x5e8b3b[_0x5e8b3b[_0x105489(0x41c)]=0x2ee2]=_0x105489(0x41c),_0x5e8b3b[_0x5e8b3b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x105489(0x3d3),_0x5e8b3b[_0x5e8b3b[_0x105489(0x436)]=0x2ee4]=_0x105489(0x436),_0x5e8b3b[_0x5e8b3b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x105489(0x265),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1fc)]=0x32c9]=_0x105489(0x1fc),_0x5e8b3b[_0x5e8b3b[_0x105489(0x384)]=0x32ca]=_0x105489(0x384),_0x5e8b3b[_0x5e8b3b[_0x105489(0x3c5)]=0x32cb]=_0x105489(0x3c5),_0x5e8b3b[_0x5e8b3b['UNRECOGNIZED']=-0x1]=_0x105489(0x361),_0x5e8b3b))(_0x1d7c6b||{}),_0x4415fa=Object[_0x105489(0x270)],_0x3d6473=(_0x162523,_0x3e8c14,_0x2a61e0,_0x3a932d)=>{const _0x431a5f=_0x105489;for(var _0x546fca=_0x3a932d>0x1?void 0x0:_0x3a932d?_0x4415fa(_0x3e8c14,_0x2a61e0):_0x3e8c14,_0x1a17cc=_0x162523[_0x431a5f(0x20a)]-0x1,_0x3c99c2;_0x1a17cc>=0x0;_0x1a17cc--)(_0x3c99c2=_0x162523[_0x1a17cc])&&(_0x546fca=_0x3c99c2(_0x546fca)||_0x546fca);return _0x546fca;},_0xc57cde=(_0x47e021,_0x304d10)=>(_0x12cd55,_0x1746da)=>_0x304d10(_0x12cd55,_0x1746da,_0x47e021);_0x3b1343['RemoteUniscriptService']=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x3d4403,_0x192ecf,_0x2e83ed){const _0x28714c=_0x105489;super(),this[_0x28714c(0x3ab)]=_0x3d4403,this['_httpService']=_0x192ecf,this[_0x28714c(0x1be)]=_0x2e83ed;}async[_0x105489(0x32c)](_0x26c2b7,_0x5e695c,_0x19fa5a,..._0x295403){const _0x45993b=_0x105489;var _0x3c7877,_0x20271f,_0x2744b8,_0x58db95;const _0x5aad8e=this[_0x45993b(0x3ab)][_0x45993b(0x346)]();if(!_0x5aad8e)throw new Error(_0x45993b(0x211));const _0x58c6a3=((_0x3c7877=this[_0x45993b(0x1be)][_0x45993b(0x272)](_0x145739[_0x45993b(0x256)]))!=null?_0x3c7877:_0x145739[_0x45993b(0x205)])+'/'+_0x26c2b7+'/run/'+_0x5e695c,_0x5ad25f=new URL(window['location'][_0x45993b(0x1c3)]),_0x31872a={'scriptId':_0x26c2b7,'runId':(_0x20271f=_0x5ad25f[_0x45993b(0x1cb)][_0x45993b(0x225)](_0x45993b(0x41b)))!=null?_0x20271f:'','function':_0x5e695c,'unitId':_0x5aad8e['getUnitId'](),'argsOfFunction':JSON[_0x45993b(0x26a)](_0x295403),'invokeId':(_0x2744b8=_0x19fa5a[_0x45993b(0x28e)])!=null?_0x2744b8:'','executionId':(_0x58db95=_0x19fa5a[_0x45993b(0x3bd)])!=null?_0x58db95:''};try{const _0x1a43e7=await this['_httpService']['post'](_0x58c6a3,{'body':_0x31872a});return _0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x284)]&&_0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x284)][_0x45993b(0x3a2)]!==_0x1d7c6b['OK']?'Failed':_0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x267)];}catch{return _0x45993b(0x20c);}}},_0x3b1343[_0x105489(0x394)]=_0x3d6473([_0xc57cde(0x0,_0x4c34fb[_0x105489(0x2f5)]),_0xc57cde(0x1,_0x4c34fb[_0x105489(0x338)](_0x3c148b['HTTPService'])),_0xc57cde(0x2,_0x4c34fb[_0x105489(0x30f)])],_0x3b1343[_0x105489(0x394)]),_0x3b1343[_0x105489(0x235)]=_0x2075e1,_0x3b1343['IURLService']=_0x2e3d8b,_0x3b1343[_0x105489(0x2c6)]=_0x2e23f3,_0x3b1343[_0x105489(0x3ea)]=_0x46b132,_0x3b1343[_0x105489(0x3d5)]=_0xf13497,Object[_0x105489(0x38f)](_0x3b1343,Symbol[_0x105489(0x201)],{'value':_0x105489(0x3f0)});}));function _0x441c(_0x5bf322,_0x4a5500){const _0xadf59d=_0xadf5();return _0x441c=function(_0x441c78,_0x32764a){_0x441c78=_0x441c78-0x1be;let _0x805321=_0xadf59d[_0x441c78];return _0x805321;},_0x441c(_0x5bf322,_0x4a5500);}function _0xadf5(){const _0x3c3615=['BrowserCollaborationSocketService','getAncestorScale','editingUnit','jsxs','COLORS','_instanceService','_sheetSkeletonManagerService','_name','USERS_LEAVE','collabStatus.conflict','UniverDrawing','VIEW_MAIN','Error','ILogService','[CollaborationDataLoaderController]','_collabCursorState$','getColor','EffectRefRangId','DependentOn','on-line-icon_clip0_910_349','round','fillRule','collab-rect-range-','executionId','className','unload','findNodePositionByCharIndex','lineTo','...','colorChannel1','origin','EMAIL_HAS_BEEN_BOUND','_collabCursorController','_docTransformSelectionsService','redoState','handleInsertCol','_cursors','some','@univerjs-pro/collaboration-client','UNIVER_DOC','backgroundColor','Tools','react','name','CHANGESET_REVISION_CONFILICT','INVITE_CODE_REQUIRED','roomMembers','WebURLService','deserializeRangeWithSheet','newValue','useCallback','collaboration.single-unit.warning','onPointerEnter$','attrs','DOC_RANGE_TYPE','2yvCpyr','UnitStatus','_docSyncEditingCollabCursorService','_hovered','switchMap','_online','1em','FromArray','requireSession','getTypeOfUnitDisposed$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObject','OTHER_CLIENTS_EDITING','WebBrowserSingleActiveUnitService','_status$','ThemeService','HEADER_MENU','unitId','NO_OTHER_CLIENTS_EDITING','Module','ranges','NodePositionConvertToRectRange','ISnapshotServerService','@univerjs-pro/collaboration','_onRefRangeChange','_cursor','setUndoRedoMutationParamsCache','UniverDocsUi','DocStateChangeManagerService','Shape','roomMembers$','IMessageService','UPDATE_CURSOR','collabStatus.fetchMiss','_cursorInfo$','combineLatest','_entities','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationUIEventService','_send','_beforeCloseService','clearTimeout','toDisposable','transformSelections','UNIVER_SHEET','LOCAL_CACHE_INTERVAL_KEY','Plugin','deepClone','_httpService','InsertRangeMoveRightCommandId','saveTaskMap','_handleEvent','YUUMI_ASYNCIO_CANCELLED','drawWith','getValue','hide','collabCursorState$','onMouseMove','_updateCollabCursors','split','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RegularPolygon','runId','INVALID_INVITE_CODE','subscribeEvent','set','removeParam','merge','init','selection','_injector','TEXT_RANGE_LAYER_INDEX','Unknown\x20user','JOIN_ROOM_FAILED','search','createIdentifier','xlink:href','_scene','makeDirty','handleInsertRangeMoveDown','_heartbeatTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.synced','disableLocalCache','_disabled','none','48199KPqkTN','LOGIN_FAILED','endColumn','USER_NOT_INVITED_CODE','_shapes','ILocalCacheService','Vector2','idSuffix','YUUMI_RATE_OVER_LIMIT','_toggleOffline','FETCH_MISS','UniverProCollaboration','MemberService','tag','serializeRangeWithSheet','registerRefRange','YUUMI_CONNECTOR_URL_NOT_FOUND','_docTransformStateCacheService','_id','unshift','blue.400','3hryYaL','selections','_doCreateSocket','children','has','SUBMIT_CHANGESET_TIMEOUT','all','SOCKET_FAILED_RETRY','cursorInfo$','getUndoRedoMutationParamsCache','_scheduleHeartbeat','collab-client.tooltip.reconnect','distinctUntilChanged','handleInsertRow','subunit','YUUMI_ALL_TABLES_IS_INVALID','getSheetBySheetId','currentColor','getColorFromTheme','IUIPartsService','_removeClearOtherTimer','clsx','_ensureSubject','_configService','_registerRenderDependencies','symbol','_initStatusComponent','CLOSE_ROOM','href','_transformPreviousActiveRange','_handleHeartbeatEvent','data','@univerjs/sheets-ui','MoveRangeCommandId','_config','collaboration-client.offline-data-not-saved','searchParams','INVALID_ARGUMENT','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','LocaleService','getMember','LICENSE_MAX_UNITS_EXCEEDED','_themeService','uni.network.url-service','OffLineIcon','_getScale','params','479899nFEOfu','UniverEngineRender','228701ZAxQGA','0\x200\x2017\x2016','_updateURLWithCurrentState','_draw','assign','fillStyle','getRelativeToViewportCoord','m2Prime','DataLoaderService','getCoordByCell','hovered','replace','UniverCore','CollaborationStatus','top','handleDeleteRangeMoveLeft','currentTheme$','add','_logService','_initResize','_handleJoinEvent','_initEntityListener','width','textRanges','getCollabCursors$','Tooltip','fillText','UNDEFINED','_transformService','_registerDependencies','RECT','NodePositionConvertToCursor','activeSheet$','_urlService','_saveTaskMap','WECHAT_HAS_BEEN_BOUND','_uiPartsService','getSkeleton','UniverIcon','startRow','toStringTag','PENDING','@univerjs/docs-ui','use','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateSubUnitFromURLParams','show','_collaborationUIEventService','getCellPositionByOffset','length','clipPath','Failed','ILocalStorageService','takeUntil','IImageIoService','substring','[RemoteUniscriptService]:\x20no\x20focused\x20unit','green.600','_anchorDot','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','DocSelectionManagerService','_getAnchorBounding','onRendered','filter','univer-mr-2\x20univer-flex\x20univer-text-xl','WebSocketService','body','UniverCollaborationClientPlugin','isActive','isEditing','triggerDblclick','NOT_FOUND','useDependency','SetDocZoomRatioOperation','send','get','_dataLoaderService','urlChange$','history','handleIRemoveCol','_document','registerComponent','connectInjector','_session','sessionStatus$','jsx','_drawTextRange','_memberService','onPointerMove$','map','COMPLETION_FINISHED','CollaborationStatusDisplay','getActiveSheet','labelPosition','UniverRpc','PERMISSION_DENIED','entityInit$','amd','text','_lastPointer','_imageIoService','_revisionService','off-line-icon','RxDisposable','UniverNetwork','getRangePointData','status$','black','addObjects','INVITE_CODE_HAS_BEEN_UES','unsubscribe','MUTATION','transformMutationsWithChangeset','evenodd','AWAITING','then','pushState','icon','doc.mutation.rich-text-editing','_handleLeaveEvent','jiqing.500','DEFAULT_WS_SESSION_TICKET_URL','disposeUnit','rxjs/operators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REVISION_CONFILICT','forwardRef','@univerjs/engine-formula','NOT_COLLAB','MOBILE_VERIFY_CODE_MISMATCH','TOO_MANY_REQUESTS','_range','20KTzvbK','ICommandService','univer-flex\x20univer-items-center','360nmUTgd','Warning','_docSkeletonManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','setShapeProps','result','exports','registerRenderModule','stringify','session.will-retry','_init','debounce','BuiltInUIPart','on-line-icon','getOwnPropertyDescriptor','_drawRectRange','getConfig','closePath','APPLY_REJECT','dispose','_refreshCollabCursors','sessionTicket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','moveTo','indexOf','APPLY_DUPLICATED','loadUnit','SetTextSelectionsOperation','height','YUUMI_URL_COL_OUT_OF_RANGE','onPointerLeave$','setActiveRange','MessageType','0\x200\x2016\x2016','error','SYNCED','APPLY_PERMISSION_DENIED','transformMutation','subUnitId','prototype','DesktopCollaborationStatusDisplayController','setTimeout','currentSkeleton$','RemoveRowCommandId','invokeId','UniverInstanceType','enableLocalCache','rxjs','delete','syncEditingCollabCursor','complete','_collabSessionService','cursorInfo','debounceTime','CommandType','getTypeOfUnitAdded$','mapTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','_getSessionTicket','sheetId','skeleton','toRgbString','save','_collaborationController','url(#$1','beginPath','string','range','restore','setAlpha','push','bottom','engine','_startDocCollabCursor','getSheetId','unit','CollaborationEvent','Rectangle','defIds','arc','replaceState','white','CONFLICT','yellow.400','handleDeleteRangeMoveUp','updateOfflineData','runRefRangeMutations','parse','CollaborationDataLoaderController','_localStorageService','IRemoteInstanceService','assignAColorForMemberID','onCommandExecuted','from','_colorIndex','React','exhaustSavingTask','displayName','_getMergeRange','SheetCollabCursorShape','_labelPosition','popstate','getActiveRange','collabStatus.offline','values','startColumn','YUUMI_AI_RUN_FAILED','transformIMECache','_assignedColors','onTransformChange$','_scheduleSaving','endRow','location','ColorKit','defs','CONNECTOR_DATA_TOO_LARGE','@univerjs/core','_onCursorDelete','translate(.97)','_removeCollabCursors','_messageService','_selfUnitIDs','off-line-icon_clip0_910_343','SessionStatus','dispose$','fill','getUnitId','CollaborationSessionService','TEXT','_transformHistoryAndStateStack','getOwnPropertySymbols','propertyIsEnumerable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initStatusListener','addHandlerCallback','getCurrentUnitForType','transform','DocIMEInputManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forEach','collab-text-range-','entries','_eventUnsubscribe','UniverDocs','_entityInit$','getUniverSheetInstance','IUniverInstanceService','@univerjs/rpc','size','_initCommandExecutedListener','subscribe','memberID','executeCommand','extend','getItem','60056KYSpIb','asObservable','_anchor','mask','toString','function','_toggleOnline','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','throttleTime','SHEET_VIEWPORT_KEY','@univerjs/ui','setItem','_render','getParam','_renderManagerService','_backgroundColor','SNAPSHOT_INVALID_SNAPSHOT','IConfigService','registerDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','_saveCache','Disposable','http://www.w3.org/2000/svg','OnLineIcon','purple.300','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','DeleteRangeMoveLeftCommandId','m1Prime','transformStateCache','_color','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','mutations','event$','CollaborationUIEventId','disposeWithMe','ALREADY_EXISTS','getDocRanges','471652HYkwpV','_univerInstanceService','useObservable','_docTransformIMECacheService','_getSaveTimeout','_unitOnClients','@univerjs/engine-render','M0\x200H16V16H0z','runOnServer','docStateChange$','hasOwnProperty','createInstance','random','_context','Optional','getOffsetConfig','Injector','_updateLocalCursor','_unitStatus','transformRemoteChangeset','Inject','_hover','LICENSE_DISTRO_REJECTED','debug','isTransformMutationFailure','_roomMembers$','500515HhiJOr','getCurrentRevOfUnit','collabStatus.syncing','_cursorShapes','getSheetObject','InsertColCommandId','with','RevisionService','getFocusedUnit','OTHER_CLIENT_EDITING','UniverCollaborationClientUIPlugin','concat','_hideTimer','next','div','UniverEngineFormula','eventID','mergeOverrideWithDependencies','override','_docClipboardService','_setupSubUnitSync','trim','_createSocketURL','_commandService','_scheduleClearOtherTimer','_drawAnchor','InsertRowCommandId','svg','pipe','_textBubble','saveOfflineData','DocCollaborationEntity','createElement','13KkhmBS','_startSheetCollabCursor','UNRECOGNIZED','getLocalCacheKey','session.collaboration-timeout','getStateCache','_initEvent','EMAIL_VERIFY_CODE_MISMATCH','_localeService','column','_colorAssignService','ONLINE','CollaborationController','UNAUTHENTICATED','getCurrentSelections','_docStateChangeManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.notCollab','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','onStarting','pluginName','12ELrBEo','IRenderManagerService','#FFF','_handleHover','ISocketService','LOCAL_CACHE_INTERVAL','_onCursorUpdate','YUUMI_SUBSCRIPTION_NOT_FOUND','imageSourceType','operators','SetWorksheetActivateCommand','unitID','SetSelectionsOperation','BehaviorSubject','measureText','MOBILE_HAS_BEEN_BOUND','setParam','session.connection-failed','type','ITransformService','generateRandomId','resize','_localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','red.300','getCollabEntity$','defineProperty','call','ACTIVE_UNIT_EVENT_CHANNEL','_refRangeService','YUUMI_UNABLE_LOAD_URL','RemoteUniscriptService','permission.title','univerjs-icon\x20univerjs-icon-','_syncEditingCollabCursorService','4982628IfrCdI','getMemberID','getRenderById','_initDependencies','UniverSheetsUi','_setupBeforeClosingHandler','min','Rect','color','getUnhiddenWorksheets','code','undoState','path','ticket'];_0xadf5=function(){return _0x3c3615;};return _0xadf5();}