@univerjs-pro/collaboration-client-ui 0.5.1-nightly.202412051606

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 (70) hide show
  1. package/README.md +18 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/cjs/locale/en-US.js +1 -0
  4. package/lib/cjs/locale/fa-IR.js +1 -0
  5. package/lib/cjs/locale/fr-FR.js +1 -0
  6. package/lib/cjs/locale/ru-RU.js +1 -0
  7. package/lib/cjs/locale/vi-VN.js +1 -0
  8. package/lib/cjs/locale/zh-CN.js +1 -0
  9. package/lib/cjs/locale/zh-TW.js +1 -0
  10. package/lib/es/index.js +1 -0
  11. package/lib/es/locale/en-US.js +1 -0
  12. package/lib/es/locale/fa-IR.js +1 -0
  13. package/lib/es/locale/fr-FR.js +1 -0
  14. package/lib/es/locale/ru-RU.js +1 -0
  15. package/lib/es/locale/vi-VN.js +1 -0
  16. package/lib/es/locale/zh-CN.js +1 -0
  17. package/lib/es/locale/zh-TW.js +1 -0
  18. package/lib/index.css +1 -0
  19. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +9 -0
  20. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
  21. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
  22. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
  23. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
  24. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +37 -0
  25. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
  26. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
  27. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +38 -0
  28. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
  29. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +17 -0
  30. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
  31. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  32. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +58 -0
  33. package/lib/types/controllers/collaboration-client-ui.controller.d.ts +17 -0
  34. package/lib/types/controllers/config.schema.d.ts +10 -0
  35. package/lib/types/controllers/entity-ui/collaboration-entity-ui.controller.d.ts +25 -0
  36. package/lib/types/controllers/url/__tests__/data-loader.controller.spec.d.ts +1 -0
  37. package/lib/types/controllers/url/web-url.controller.d.ts +18 -0
  38. package/lib/types/index.d.ts +6 -0
  39. package/lib/types/locale/en-US.d.ts +3 -0
  40. package/lib/types/locale/fa-IR.d.ts +3 -0
  41. package/lib/types/locale/fr-FR.d.ts +3 -0
  42. package/lib/types/locale/ru-RU.d.ts +3 -0
  43. package/lib/types/locale/vi-VN.d.ts +3 -0
  44. package/lib/types/locale/zh-CN.d.ts +39 -0
  45. package/lib/types/locale/zh-TW.d.ts +3 -0
  46. package/lib/types/models/cursor.d.ts +30 -0
  47. package/lib/types/plugin.d.ts +17 -0
  48. package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
  49. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
  50. package/lib/types/services/local-cache/web-local-cache.service.d.ts +27 -0
  51. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +26 -0
  52. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
  53. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
  54. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
  55. package/lib/types/services/url/url.service.d.ts +12 -0
  56. package/lib/types/services/url/web-url.service.d.ts +10 -0
  57. package/lib/types/views/components/CollabStatus.d.ts +10 -0
  58. package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
  59. package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
  60. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
  61. package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
  62. package/lib/umd/index.js +1 -0
  63. package/lib/umd/locale/en-US.js +1 -0
  64. package/lib/umd/locale/fa-IR.js +1 -0
  65. package/lib/umd/locale/fr-FR.js +1 -0
  66. package/lib/umd/locale/ru-RU.js +1 -0
  67. package/lib/umd/locale/vi-VN.js +1 -0
  68. package/lib/umd/locale/zh-CN.js +1 -0
  69. package/lib/umd/locale/zh-TW.js +1 -0
  70. package/package.json +106 -0
@@ -0,0 +1 @@
1
+ function _0x396a(){const _0x395808=['_removeClearOtherTimer','propertyIsEnumerable','_initStatusListener','_initCommandExecutedListener','cursorInfo','onlineStatusTitle','getOffsetConfig','add','forEach','transformSelections','collaboration-client-ui.config','@univerjs/drawing','_localCacheService','6666408utalgZ','backgroundColor','function','event$','CollaborationSessionService','generateRandomId','url(#$1','_updateLocalCursor','subunit','_updateURLWithCurrentState','DataLoaderService','undoState','on-line-single_clip0_910_349','text','AWAITING_WITH_PENDING','#FFF','_cursor','key','_notificationService','executeCommand','getActiveSheet','OffLineSingle','debug','contains','startColumn','init','RichTextEditingMutation','rgba(255,\x20255,\x20255,\x200.01)','ThemeService','_docClipboardService','min','_id','lineTo','getSkeleton','_docSyncEditingCollabCursorService','bottom','url(#on-line-single_clip0_910_349)','Injector','column','pushState','getSheetBySheetId','replaceState','MoveRangeCommandId','getSheetId','_transformUndoRedoStack','OTHER_CLIENTS_EDITING','_colorIndex','UPDATE_CURSOR','_commandService','_name','with','onlineStatus','combineLatest','CollaborationUIEventId','@univerjs/docs-ui','getViewport','Shape','_scheduleClearOtherTimer','_collaborationController','collaboration-session-retry','UniverSheets','_selfUnitIDs','UniverDrawing','12002iUCWWv','override','univer-online-status-icon','handleIRemoveCol','unitID','0\x200\x2017\x2016','_startSheetCollabCursor','pipe','_localStorageService','getUnitStatus$','color','_handleEvent','set','evenodd','Plugin','Fragment','newValue','indexOf','save','_context','current','skeleton','_themeService','transform','getUnitId','size','_session','COLORS','CollaborationEvent','replaceDocRanges','27oaogJd','isTransformMutationsWithChangesetSuccess','UniverDocs','distinctUntilChanged','handleInsertRangeMoveDown','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','react.element','RemoveRowCommandId','MemberService','collabStatus.fetchMiss','roomMembers$','saveOfflineData','TEXT_RANGE_LAYER_INDEX','MUTATION','_docTransformIMECacheService','forwardRef','_anchorDot','fillRule','createElement','_eventUnsubscribe','gold400','fromEvent','registerComponent','_handleHeartbeatEvent','params','Error','docStateChange$','idSuffix','symbol','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','DependentOn','getMergeData','uni.network.url-service','FromArray','handleInsertCol','_memberService','_imageIoService','_setupSubUnitSync','closePath','useDependency','operators','whenReady','getValue','popstate','substring','debounceTime','requireSession','MessageType','M0\x200H16V16H0z','_collaborationUIEventService','parse','m2Prime','_sheetSkeletonManagerService','onPointerLeave$','_registerRenderDependencies','_config','_shapes','ICommandService','onCommandExecuted','OFFLINE','Workbook','height','round','isArray','_entityInit$','_unitOnClients','_colorAssignService','NodePositionConvertToCursor','handleDeleteRangeMoveLeft','_injector','ILocalCacheService','some','DesktopCollaborationStatusDisplayController','displayName','_removeCollabCursors','_initResize','entries','Unknown\x20user','createIdentifier','isTransformMutationFailure','getOwnPropertySymbols','getCollabCursors$','DeleteRangeMoveUpCommandId','SessionStatus','getCollabEntity$','_localeService','_initDependencies','_scheduleHeartbeat','WebBrowserSingleActiveUnitService','Tools','_collabCursorController','getConfig','CollaborationUIEventService','DOC_RANGE_TYPE','1171460aOdSfM','RevisionService','removeParam','NodePositionConvertToRectRange','currentSkeleton$','for','25NPiwCc','UniverSheetsUi','_docTransformSelectionsService','DocStateChangeManagerService','collaboration.single-unit.warning','jsxs','getUnhiddenWorksheets','exports','_lastPointer','hovered','Module','3660657YXzQaI','handleDeleteRangeMoveUp','transformRemoteChangeset','UniverInstanceType','getCurrentUnitForType','_color','467010zgbWWp','_updateCollabCursors','urlChange$','_getMergeRange','amd','fillText','toStringTag','@univerjs/sheets','top','collabStatus.synced','Disposable','toRgbString','NO_OTHER_CLIENTS_EDITING','deserializeRangeWithSheet','memberID','div','Rectangle','send','getLocalCacheKey','eventID','push','engine','IRenderManagerService','rxjs','getCellPositionByOffset','getDocRanges','icon','setActiveRange','_labelPosition','@univerjs/ui','entityInit$','unshift','_hovered','_toggleOnline','InsertColCommandId','serializeRangeWithSheet','registerDependencies','restore','all','getRenderById','syncEditingCollabCursor','resize','string','defineProperty','random','asObservable','univer-offline','then','jsx','includes','_configService','setStateCache','type','SheetCollabCursorShape','_draw','115fwLrpr','getParam','InsertRangeMoveRightCommandId','collab-rect-range-','throttleTime','getCoordByCell','next','useRef','location','registerRefRange','_getScale','IUIPartsService','path','subscribe','_roomMembers$','TEXT','getFocusedUnit','getUndoRedoMutationParamsCache','_handleHover','_setupBeforeClosingHandler','_assignedColors','Optional','DocSelectionManagerService','_cursorShapes','SOCKET_FAILED','UniverUi','ColorKit','cursorInfo$','UniverIcon','editingUnit','saveTaskMap','ranges','UniverProCollaborationClient','SYNCED','_dataLoaderService','UniverCollaborationClientPlugin','switchMap','Vector2','unload','clearTimeout','_messageService','exhaustSavingTask','map','labelPosition','IDocClipboardService','error','#fff','univerjs-icon\x20univerjs-icon-','FETCH_MISS','_renderManagerService','_send','xlink:href','unitId','connectInjector','rxjs/operators','className','onRendered','translate(.97)','handleIRemoveRow','UNIVER_SHEET','defs','_transformService','_cursors','assign','online','onPointerEnter$','0\x200\x2016\x2016','UniverProCollaboration','_onCursorDelete','_initEntityListener','black','concat','BuiltInUIPart','name','getOwnPropertyDescriptor','purple300','getActiveRange','textRanges','redoState','@univerjs-pro/collaboration','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','call','_textBubble','measureText','DocIMEInputManagerService','@univerjs/rpc','selection','show','children','getCurrentRevOfUnit','CollaborationController','m1Prime','length','split','_beforeCloseService','LocaleService','disposeWithMe','DocSkeletonManagerService','_range','defIds','getStateCache','INotificationService','_drawTextRange','has','_onCursorUpdate','_getAnchorBounding','mergeOverrideWithDependencies','UniverCore','SheetsSelectionsService','values','@univerjs/sheets-ui','_render','addHandlerCallback','RECT','_saveTaskMap','trim','fillStyle','selections','react.fragment','ITransformService','EffectRefRangId','LOCAL_CACHE_INTERVAL_KEY','font','createInstance','setAlpha','deepClone','blue400','getMemberID','toDisposable','@univerjs/docs','filter','IUniverInstanceService','_collabCursorState$','_heartbeatTimer','makeDirty','pluginName','getTypeOfUnitAdded$','univer-online-status','registerRenderModule','_transformHistoryAndStateStack','hasOwnProperty','startRow','_backgroundColor','drawWith','@univerjs/engine-formula','verdancy600','_cursorInfo$','IMessageService','CommandType','setParam','Warning','IBeforeCloseService','_transformPreviousActiveRange','_startDocCollabCursor','_docTransformStateCacheService','collabStatus.notCollab','transformByState','on-line-single','prototype','Subject','RegularPolygon','SOCKET_FAILED_RETRY','subscribeEvent','getUniverSheetInstance','startsWith','ILogService','enableLocalCache','searchParams','extend','_init','InsertRowCommandId','OnLineSingle','handleInsertRow','history','row','_cachedData','getMember','UniverEngineRender','UniverDocsUi','attrs','_clearOtherTimers','debounce','_urlService','mutations','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','DisposableCollection','isEditing','_onRefRangeChange','tag','_entities','transformStateCache','replace','getTypeOfUnitDisposed$','clearInterval','getColor','AWAITING','React','BehaviorSubject','width','JOIN_ROOM_FAILED','UniverEngineFormula','addEventListener','arc','complete','hide','unit','_drawRectRange','session.will-retry','USERS_LEAVE','_scene','ILocalStorageService','_collabSessionService','setItem','get','triggerDblclick','_ensureSubject','Inject','currentColor','takeUntil','_initStatusComponent','_docSkeletonManagerService','reconnect','collabCursorState$','NOT_COLLAB','_disabled','CollaborationStatus','_univerInstanceService','UniverDesign','collabStatus.offline','collaboration.closeRoom','getCurrent','ref','_drawAnchor','CollaborationStatusDisplay','RxDisposable','disposeUnit','SetWorksheetActivateCommand','off-line-single_clip0_910_343','_updateSubUnitFromURLParams','SetSelectionsOperation','RemoveColCommandId','Rect','_handleJoinEvent','from','1em','CONFLICT','max','RefRangeService','fill','unsubscribe','48572zzvRzN','handleInsertRangeMoveRight','moveTo','@univerjs/design','focused$','_hover','UniverCollaborationClientUIPlugin','session.connection-failed','svg','_docSkeleton','...','onlineStatusIcon','toString','setUndoRedoMutationParamsCache','onMouseMove','dispose','assignAColorForMemberID','react','setShapeProps','loadOfflineData','setTimeout','Tooltip','_document','getAncestorScale','addObject','57aYkbMn','delete','object','dispose$','SUBMIT_CHANGESET_TIMEOUT','4583612FGGCEr','_saveCache','UnitStatus','getVpScrollXYInfoByPosToVp','url(#off-line-single_clip0_910_343)','_docStateChangeManagerService','@univerjs/core','stringify','collabStatus.syncing','none','useObservable','apply','_anchor','SheetSkeletonManagerService','find','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','UNIVER_DOC','transformMutation','actions','transformIMECache','doc.mutation.rich-text-editing','colorChannel1','_hideTimer','roomMembers','_toggleOffline','_refRangeService','@univerjs-pro/collaboration-client','univer-online','transformMutationsWithChangeset','_unitStatus','onPointerMove$','source','IConfigService','onTransformChange$','_status$','_refreshCollabCursors','data','VIEW_MAIN','_online'];_0x396a=function(){return _0x395808;};return _0x396a();}function _0x4635(_0x5f0ceb,_0x104d7c){const _0x396a81=_0x396a();return _0x4635=function(_0x4635b3,_0x3af80a){_0x4635b3=_0x4635b3-0x1b1;let _0x450e1c=_0x396a81[_0x4635b3];return _0x450e1c;},_0x4635(_0x5f0ceb,_0x104d7c);}(function(_0x49d6eb,_0x32f723){const _0x2885a1=_0x4635,_0x304e8e=_0x49d6eb();while(!![]){try{const _0x26da16=-parseInt(_0x2885a1(0x21f))/0x1*(-parseInt(_0x2885a1(0x3ab))/0x2)+-parseInt(_0x2885a1(0x333))/0x3*(parseInt(_0x2885a1(0x31a))/0x4)+-parseInt(_0x2885a1(0x1d7))/0x5*(parseInt(_0x2885a1(0x1e8))/0x6)+parseInt(_0x2885a1(0x1e2))/0x7+-parseInt(_0x2885a1(0x36c))/0x8+-parseInt(_0x2885a1(0x3c9))/0x9*(-parseInt(_0x2885a1(0x1d1))/0xa)+parseInt(_0x2885a1(0x338))/0xb;if(_0x26da16===_0x32f723)break;else _0x304e8e['push'](_0x304e8e['shift']());}catch(_0x556712){_0x304e8e['push'](_0x304e8e['shift']());}}}(_0x396a,0x80e83),function(_0x202e37,_0x3fdeec){const _0xcf9950=_0x4635;typeof exports=='object'&&typeof module<'u'?_0x3fdeec(exports,require(_0xcf9950(0x352)),require(_0xcf9950(0x33e)),require('@univerjs/engine-render'),require(_0xcf9950(0x3a2)),require('@univerjs/drawing'),require('rxjs'),require(_0xcf9950(0x2a1)),require('@univerjs-pro/collaboration'),require(_0xcf9950(0x2b0)),require(_0xcf9950(0x1ef)),require('rxjs/operators'),require(_0xcf9950(0x28e)),require(_0xcf9950(0x32b)),require(_0xcf9950(0x205)),require(_0xcf9950(0x31d)),require(_0xcf9950(0x275))):typeof define==_0xcf9950(0x36e)&&define[_0xcf9950(0x1ec)]?define([_0xcf9950(0x1de),_0xcf9950(0x352),_0xcf9950(0x33e),'@univerjs/engine-render','@univerjs/docs-ui',_0xcf9950(0x36a),_0xcf9950(0x1ff),'@univerjs/docs',_0xcf9950(0x26e),_0xcf9950(0x2b0),_0xcf9950(0x1ef),_0xcf9950(0x255),'@univerjs/sheets-ui',_0xcf9950(0x32b),_0xcf9950(0x205),_0xcf9950(0x31d),_0xcf9950(0x275)],_0x3fdeec):(_0x202e37=typeof globalThis<'u'?globalThis:_0x202e37||self,_0x3fdeec(_0x202e37['UniverProCollaborationClientUi']={},_0x202e37[_0xcf9950(0x23f)],_0x202e37[_0xcf9950(0x28b)],_0x202e37[_0xcf9950(0x2d1)],_0x202e37[_0xcf9950(0x2d2)],_0x202e37[_0xcf9950(0x3aa)],_0x202e37[_0xcf9950(0x1ff)],_0x202e37[_0xcf9950(0x3cb)],_0x202e37[_0xcf9950(0x262)],_0x202e37[_0xcf9950(0x2e8)],_0x202e37[_0xcf9950(0x3a8)],_0x202e37[_0xcf9950(0x1ff)][_0xcf9950(0x3f1)],_0x202e37[_0xcf9950(0x1d8)],_0x202e37[_0xcf9950(0x2e4)],_0x202e37[_0xcf9950(0x238)],_0x202e37[_0xcf9950(0x303)],_0x202e37['UniverRpc']));}(this,function(_0x51abc4,_0x3d1e18,_0x4f8b31,_0x3d54bb,_0x3dcbe8,_0x25f52a,_0x420140,_0xec89f4,_0x185f6a,_0x432de3,_0x3a50cf,_0x4ad25a,_0xc5c417,_0x18c3ec,_0x4bd433,_0x2654c2,_0xceacaa){'use strict';const _0x39d902=_0x4635;var _0x17e062=Object['defineProperty'],_0x210844=(_0xbdcf6a,_0x1a259c,_0x249413)=>_0x1a259c in _0xbdcf6a?_0x17e062(_0xbdcf6a,_0x1a259c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x249413}):_0xbdcf6a[_0x1a259c]=_0x249413,_0x33faca=(_0x1ef425,_0xcfec77,_0x52b9b1)=>_0x210844(_0x1ef425,typeof _0xcfec77!=_0x39d902(0x3e5)?_0xcfec77+'':_0xcfec77,_0x52b9b1),_0x206a5a=Object[_0x39d902(0x213)],_0x3e4b61=Object[_0x39d902(0x269)],_0x351604=(_0x12b970,_0x14cd00,_0x524b45,_0x4d99b2)=>{const _0x3d19ff=_0x39d902;for(var _0x4fa1c8=_0x4d99b2>0x1?void 0x0:_0x4d99b2?_0x3e4b61(_0x14cd00,_0x524b45):_0x14cd00,_0x59579e=_0x12b970[_0x3d19ff(0x27c)]-0x1,_0x314d5b;_0x59579e>=0x0;_0x59579e--)(_0x314d5b=_0x12b970[_0x59579e])&&(_0x4fa1c8=(_0x4d99b2?_0x314d5b(_0x14cd00,_0x524b45,_0x4fa1c8):_0x314d5b(_0x4fa1c8))||_0x4fa1c8);return _0x4d99b2&&_0x4fa1c8&&_0x206a5a(_0x14cd00,_0x524b45,_0x4fa1c8),_0x4fa1c8;},_0x4c9f71=(_0x4e5c21,_0x4204e3)=>(_0x1977a4,_0x49989e)=>_0x4204e3(_0x1977a4,_0x49989e,_0x4e5c21);let _0x49bd70=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x6ba384,_0x48b90a){const _0x52f85a=_0x39d902;super(),this['_docClipboardService']=_0x6ba384,this[_0x52f85a(0x3ed)]=_0x48b90a,this[_0x52f85a(0x2c9)]();}[_0x39d902(0x2c9)](){const _0x9c4ceb=_0x39d902,_0x3693c3=this;this[_0x9c4ceb(0x280)](this[_0x9c4ceb(0x389)]['addClipboardHook']({'onBeforePasteImage':async _0x268558=>{const _0x9ea4a=_0x9c4ceb,_0x22ed2a=await _0x3693c3[_0x9ea4a(0x3ed)]['saveImage'](_0x268558);return _0x22ed2a?{'source':_0x22ed2a[_0x9ea4a(0x357)],'imageSourceType':_0x22ed2a['imageSourceType']}:null;}}));}};_0x49bd70=_0x351604([_0x4c9f71(0x0,_0x3dcbe8[_0x39d902(0x24b)]),_0x4c9f71(0x1,_0x25f52a['IImageIoService'])],_0x49bd70);const _0x5904c6=[_0x39d902(0x26a),'jiqing500',_0x39d902(0x2b1),'red300',_0x39d902(0x29e),_0x39d902(0x3dd)];class _0x66d220 extends _0x4f8b31[_0x39d902(0x1f2)]{constructor(){const _0x12869b=_0x39d902;super(...arguments),_0x33faca(this,'_assignedColors',new Map()),_0x33faca(this,_0x12869b(0x39a),0x0);}[_0x39d902(0x32a)](_0x5a2a2f){const _0x59d490=_0x39d902;if(this[_0x59d490(0x233)][_0x59d490(0x287)](_0x5a2a2f))return this['_assignedColors']['get'](_0x5a2a2f);const _0x22c38a=_0x5904c6[this[_0x59d490(0x39a)]];return this['_colorIndex']=(this[_0x59d490(0x39a)]+0x1)%_0x5904c6[_0x59d490(0x27c)],this[_0x59d490(0x233)][_0x59d490(0x3b7)](_0x5a2a2f,_0x22c38a),_0x22c38a;}}function _0x38036a(_0x538ad8){const _0xd4a74a=_0x39d902;let _0x5dc666='';for(const _0x2839e8 of _0x538ad8){const {startOffset:_0x30c258,endOffset:_0x8afa36,isActive:_0x12746e,rangeType:_0x440ce3,segmentId:_0x25d1af,segmentPage:_0x5657fa}=_0x2839e8;_0x5dc666[_0xd4a74a(0x27c)]&&(_0x5dc666+=','),_0x5dc666+=_0x30c258+':'+_0x8afa36+':'+(_0x12746e?'1':'0')+':'+_0x440ce3+':'+_0x25d1af+':'+_0x5657fa;}return _0x5dc666;}function _0x164b58(_0x6a4be9){const _0x5b6aed=_0x39d902,_0x45a9b2=_0x6a4be9[_0x5b6aed(0x27d)](','),_0x5026f4=[];for(const _0x47c4d9 of _0x45a9b2){const [_0x4a5317,_0x4c5644,_0x1aaac3,_0x3cbda8,_0x1a0030,_0xf42ae6]=_0x47c4d9[_0x5b6aed(0x27d)](':');_0x5026f4['push']({'startOffset':Number(_0x4a5317),'endOffset':Number(_0x4c5644),'collapsed':_0x4a5317===_0x4c5644,'isActive':_0x1aaac3==='1','rangeType':_0x3cbda8===_0x4f8b31[_0x5b6aed(0x1d0)][_0x5b6aed(0x22e)]?_0x4f8b31[_0x5b6aed(0x1d0)][_0x5b6aed(0x22e)]:_0x4f8b31[_0x5b6aed(0x1d0)][_0x5b6aed(0x291)],'segmentId':typeof _0x1a0030=='string'?String(_0x1a0030):'','segmentPage':Number(_0xf42ae6!=null?_0xf42ae6:-0x1)});}return _0x5026f4[_0x5b6aed(0x1ba)](_0x2a8f82=>_0x2a8f82['isActive'])||(_0x5026f4[0x0]['isActive']=!0x0),_0x5026f4;}class _0x3954e4 extends _0x4f8b31[_0x39d902(0x30a)]{constructor(){const _0xed2abb=_0x39d902;super(...arguments),_0x33faca(this,_0xed2abb(0x2a4),new _0x420140[(_0xed2abb(0x2e5))](null)),_0x33faca(this,_0xed2abb(0x2fe),this['_collabCursorState$'][_0xed2abb(0x215)]());}[_0x39d902(0x210)](_0x494c9b){const _0x54841c=_0x39d902,{unitID:_0x266589,memberID:_0x58c4eb,textRanges:_0x834373}=_0x494c9b,_0x433f1a=_0x38036a(_0x834373);if(_0x433f1a==='')return;const _0x473c7b={'unitID':_0x266589,'memberID':_0x58c4eb,'selection':_0x433f1a};this[_0x54841c(0x2a4)][_0x54841c(0x225)](_0x473c7b);}}var _0x14adc8=Object[_0x39d902(0x213)],_0x273a15=Object[_0x39d902(0x269)],_0x32262c=(_0x1f734,_0x47769d,_0x3f2de1,_0x6a351b)=>{for(var _0x1f76f8=_0x6a351b>0x1?void 0x0:_0x6a351b?_0x273a15(_0x47769d,_0x3f2de1):_0x47769d,_0x1601c5=_0x1f734['length']-0x1,_0x12e0d0;_0x1601c5>=0x0;_0x1601c5--)(_0x12e0d0=_0x1f734[_0x1601c5])&&(_0x1f76f8=(_0x6a351b?_0x12e0d0(_0x47769d,_0x3f2de1,_0x1f76f8):_0x12e0d0(_0x1f76f8))||_0x1f76f8);return _0x6a351b&&_0x1f76f8&&_0x14adc8(_0x47769d,_0x3f2de1,_0x1f76f8),_0x1f76f8;},_0x4fafa3=(_0x4b1b23,_0x7c1aa1)=>(_0x5edefd,_0x288f69)=>_0x7c1aa1(_0x5edefd,_0x288f69,_0x4b1b23);const _0x2f0431=0x12c,_0x1cf75a=0x64;let _0x4c3301=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x1a69bd,_0x5d988f,_0x2f7bba,_0x508c67,_0x5d599f,_0x3b3c91,_0x31dc69,_0x37f0d8,_0x23b439){const _0x2e584b=_0x39d902;super(),_0x33faca(this,'_online',!0x1),_0x33faca(this,'_init',!0x1),_0x33faca(this,_0x2e584b(0x2b2),new _0x420140[(_0x2e584b(0x2e5))](new Map())),_0x33faca(this,'cursorInfo$',this[_0x2e584b(0x2b2)]['asObservable']()),_0x33faca(this,'_roomMembers$',new _0x420140['BehaviorSubject']([])),_0x33faca(this,_0x2e584b(0x3d3),this[_0x2e584b(0x22d)][_0x2e584b(0x3b2)](_0x420140[_0x2e584b(0x3f6)](_0x2f0431))),_0x33faca(this,_0x2e584b(0x373),_0x4f8b31[_0x2e584b(0x2d5)](_0x47c313=>{const _0x332cca=_0x2e584b,_0x1ba980={'eventID':_0x185f6a[_0x332cca(0x3c7)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x332cca(0x3c5)][_0x332cca(0x29f)](),'selection':_0x38036a(_0x47c313)}};this[_0x332cca(0x3c5)][_0x332cca(0x1f9)](_0x1ba980,this[_0x332cca(0x3af)]);},_0x1cf75a)),(this['unitID']=_0x1a69bd,this[_0x2e584b(0x3c5)]=_0x5d988f,this[_0x2e584b(0x1b8)]=_0x2f7bba,this[_0x2e584b(0x1b5)]=_0x508c67,this[_0x2e584b(0x3ec)]=_0x5d599f,this['_syncEditingCollabCursorService']=_0x3b3c91,this['_transformService']=_0x31dc69,this[_0x2e584b(0x302)]=_0x37f0d8,this['_commandService']=_0x23b439);}get[_0x39d902(0x363)](){const _0x554ac2=_0x39d902;return this[_0x554ac2(0x2b2)][_0x554ac2(0x3f3)]();}get[_0x39d902(0x34f)](){return this['_roomMembers$']['getValue']();}[_0x39d902(0x329)](){const _0x258477=_0x39d902;super[_0x258477(0x329)](),this['_cursorInfo$'][_0x258477(0x225)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x258477(0x225)]([]),this[_0x258477(0x22d)][_0x258477(0x2eb)]();}[_0x39d902(0x385)](){const _0x3f4ad5=_0x39d902;this[_0x3f4ad5(0x2c9)]||(this[_0x3f4ad5(0x2c9)]=!0x0,this[_0x3f4ad5(0x3c5)]['sessionStatus$'][_0x3f4ad5(0x3b2)](_0x420140[_0x3f4ad5(0x2fa)](this['dispose$']))['subscribe'](_0xf4003=>{const _0x3a3196=_0x3f4ad5;_0xf4003===_0x3d1e18[_0x3a3196(0x1c6)]['ONLINE']?this[_0x3a3196(0x209)]():this['_toggleOffline']();}),this[_0x3f4ad5(0x3c5)][_0x3f4ad5(0x36f)][_0x3f4ad5(0x3b2)](_0x420140['takeUntil'](this['dispose$']))[_0x3f4ad5(0x22c)](_0x579a96=>{const _0x376f4d=_0x3f4ad5,_0x234240=_0x579a96[_0x376f4d(0x1fb)];_0x234240===_0x185f6a[_0x376f4d(0x3c7)][_0x376f4d(0x39b)]&&this[_0x376f4d(0x288)](_0x579a96),_0x234240===_0x185f6a[_0x376f4d(0x3c7)][_0x376f4d(0x2f0)]&&this[_0x376f4d(0x263)](_0x579a96);}),this[_0x3f4ad5(0x280)](this[_0x3f4ad5(0x39c)][_0x3f4ad5(0x403)](_0x4ce575=>{const _0xa1ed0c=_0x3f4ad5,_0x354042=_0x4ce575['params'];_0x354042!=null&&this[_0xa1ed0c(0x35e)]&&_0x4ce575['id']===_0xec89f4['SetTextSelectionsOperation']['id']&&_0x354042[_0xa1ed0c(0x253)]===this[_0xa1ed0c(0x3af)]&&_0x354042[_0xa1ed0c(0x2da)]===!0x1&&_0x354042['ranges'][_0xa1ed0c(0x27c)]>0x0&&this[_0xa1ed0c(0x373)](_0x354042[_0xa1ed0c(0x23e)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x3f4ad5(0x3b2)](_0x420140[_0x3f4ad5(0x2fa)](this[_0x3f4ad5(0x336)]))[_0x3f4ad5(0x22c)](_0x5e7e33=>{const _0x50ca35=_0x3f4ad5;if((_0x5e7e33==null?void 0x0:_0x5e7e33[_0x50ca35(0x3af)])!==this[_0x50ca35(0x3af)])return;const _0x4fd564={'eventID':_0x185f6a[_0x50ca35(0x3c7)][_0x50ca35(0x39b)],'data':_0x5e7e33};this['_onCursorUpdate'](_0x4fd564);}),this[_0x3f4ad5(0x280)](this[_0x3f4ad5(0x39c)][_0x3f4ad5(0x403)](_0x1f6016=>{const _0x17ef2b=_0x3f4ad5;if(_0x1f6016[_0x17ef2b(0x3e1)]==null)return;const _0x165924=_0x1f6016[_0x17ef2b(0x3e1)];if(_0x1f6016['id']!==_0xec89f4[_0x17ef2b(0x386)]['id']||_0x165924[_0x17ef2b(0x253)]!==this[_0x17ef2b(0x3af)])return;const _0x37bb25={'id':_0x17ef2b(0x34c),'params':_0x165924},_0x52e1d6=this[_0x17ef2b(0x363)];for(const [_0x252206,_0x560d13]of _0x52e1d6){const _0x546a2a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x17ef2b(0x3af)],'actions':null,'textRanges':_0x560d13[_0x17ef2b(0x23e)]}},_0x4f9f28=this[_0x17ef2b(0x25c)][_0x17ef2b(0x349)](_0x37bb25,_0x546a2a,!0x1);if(_0x185f6a[_0x17ef2b(0x1c2)](_0x4f9f28))throw _0x4f9f28[_0x17ef2b(0x24c)];_0x52e1d6[_0x17ef2b(0x3b7)](_0x252206,{..._0x560d13,'ranges':_0x4f9f28['m2Prime'][_0x17ef2b(0x3e1)]['textRanges']});}queueMicrotask(()=>{const _0x311fe9=_0x17ef2b;this['_cursorInfo$'][_0x311fe9(0x225)](_0x52e1d6);});})));}[_0x39d902(0x288)](_0x4c03d3){const _0x13d0fa=_0x39d902;var _0x59e81e,_0x4d4222;const {memberID:_0x1b0014,selection:_0x5cd2a9}=_0x4c03d3['data'],_0x53f742=_0x164b58(_0x5cd2a9),_0x36c2d0=(_0x4d4222=(_0x59e81e=this[_0x13d0fa(0x3ec)]['getMember'](this[_0x13d0fa(0x3af)],_0x1b0014))==null?void 0x0:_0x59e81e[_0x13d0fa(0x268)])!=null?_0x4d4222:_0x13d0fa(0x1c0),_0xf29608={'color':this[_0x13d0fa(0x1b5)][_0x13d0fa(0x32a)](_0x1b0014),'name':_0x36c2d0,'ranges':_0x53f742},_0x4cb603=this[_0x13d0fa(0x363)];_0x4cb603[_0x13d0fa(0x3b7)](_0x1b0014,_0xf29608),this[_0x13d0fa(0x2b2)]['next'](_0x4cb603);}[_0x39d902(0x263)](_0x27dfc2){const _0x6d98dd=_0x39d902,{memberID:_0x1461a7}=_0x27dfc2['data'],_0x229477=this[_0x6d98dd(0x363)];_0x229477['delete'](_0x1461a7),this['_cursorInfo$'][_0x6d98dd(0x225)](_0x229477);}['_toggleOnline'](){const _0x198d14=_0x39d902;var _0x1901bd;if(this[_0x198d14(0x35e)]=!0x0,((_0x1901bd=this[_0x198d14(0x302)][_0x198d14(0x22f)]())==null?void 0x0:_0x1901bd[_0x198d14(0x3c3)]())!==this['unitID'])return;const _0xa66601=this[_0x198d14(0x1b8)]['get'](_0xec89f4[_0x198d14(0x235)])[_0x198d14(0x201)]();Array[_0x198d14(0x1b2)](_0xa66601)&&_0xa66601['length']>0x0&&this[_0x198d14(0x373)](_0xa66601);}[_0x39d902(0x350)](){const _0x4015df=_0x39d902;this[_0x4015df(0x35e)]=!0x1;}};_0x4c3301=_0x32262c([_0x4fafa3(0x2,_0x4f8b31['Inject'](_0x4f8b31[_0x39d902(0x391)])),_0x4fafa3(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x66d220)),_0x4fafa3(0x4,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18[_0x39d902(0x3d1)])),_0x4fafa3(0x5,_0x4f8b31[_0x39d902(0x2f8)](_0x3954e4)),_0x4fafa3(0x6,_0x185f6a[_0x39d902(0x297)]),_0x4fafa3(0x7,_0x4f8b31['IUniverInstanceService']),_0x4fafa3(0x8,_0x4f8b31[_0x39d902(0x402)])],_0x4c3301);var _0x167b4f=Object[_0x39d902(0x213)],_0x352efb=Object['getOwnPropertyDescriptor'],_0x26fa73=(_0x9af8f3,_0x2bdcb7,_0x4a0d9f,_0x421fab)=>{const _0x766776=_0x39d902;for(var _0x5935e1=_0x421fab>0x1?void 0x0:_0x421fab?_0x352efb(_0x2bdcb7,_0x4a0d9f):_0x2bdcb7,_0x3742ee=_0x9af8f3[_0x766776(0x27c)]-0x1,_0x1d8128;_0x3742ee>=0x0;_0x3742ee--)(_0x1d8128=_0x9af8f3[_0x3742ee])&&(_0x5935e1=(_0x421fab?_0x1d8128(_0x2bdcb7,_0x4a0d9f,_0x5935e1):_0x1d8128(_0x5935e1))||_0x5935e1);return _0x421fab&&_0x5935e1&&_0x167b4f(_0x2bdcb7,_0x4a0d9f,_0x5935e1),_0x5935e1;},_0x2ab745=(_0x1faa97,_0x3543ff)=>(_0x21ad74,_0xcc27cd)=>_0x3543ff(_0x21ad74,_0xcc27cd,_0x1faa97);const _0x15f4f1=0x12c,_0x5f0fed=0x64,_0x45db8d=()=>{let _0x22f0c2=[],_0x18a377=!0x1;return _0x244080=>{const _0x42e0e2=_0x4635;_0x22f0c2[_0x42e0e2(0x1fc)](_0x244080),_0x18a377||(_0x18a377=!0x0,setTimeout(()=>{const _0x391ea9=_0x42e0e2;_0x22f0c2[_0x391ea9(0x367)](_0x3cfaf3=>_0x3cfaf3()),_0x22f0c2=[],_0x18a377=!0x1;}));};};let _0x4bfcd1=class extends _0x4f8b31['RxDisposable']{constructor(_0x2b306e,_0x4356f3,_0x44b2f8,_0x75a657,_0xc3a1e4,_0x734d50,_0x21921e,_0x429bb1){const _0x2afea8=_0x39d902;super(),_0x33faca(this,_0x2afea8(0x35e),!0x1),_0x33faca(this,_0x2afea8(0x2c9),!0x1),_0x33faca(this,_0x2afea8(0x2b2),new _0x420140[(_0x2afea8(0x2e5))](new Map())),_0x33faca(this,'cursorInfo$',this[_0x2afea8(0x2b2)][_0x2afea8(0x215)]()),_0x33faca(this,'_roomMembers$',new _0x420140[(_0x2afea8(0x2e5))]([])),_0x33faca(this,_0x2afea8(0x3d3),this[_0x2afea8(0x22d)]['pipe'](_0x420140['debounceTime'](_0x15f4f1))),_0x33faca(this,'_updateLocalCursor',_0x4f8b31[_0x2afea8(0x2d5)]((_0x2f0bbf,_0x35d1ae)=>{const _0x15f117=_0x2afea8,_0x5b81bd={'eventID':_0x185f6a[_0x15f117(0x3c7)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x15f117(0x3af)],'memberID':this['_session'][_0x15f117(0x29f)](),'selection':_0x432de3[_0x15f117(0x20b)](_0x2f0bbf,_0x35d1ae['range'])}};this['_session']['send'](_0x5b81bd,this['unitID']);},_0x5f0fed)),(this[_0x2afea8(0x3af)]=_0x2b306e,this['_session']=_0x4356f3,this[_0x2afea8(0x1b8)]=_0x44b2f8,this[_0x2afea8(0x1b5)]=_0x75a657,this[_0x2afea8(0x3ec)]=_0xc3a1e4,this['_univerInstanceService']=_0x734d50,this[_0x2afea8(0x39c)]=_0x21921e,this[_0x2afea8(0x351)]=_0x429bb1);}get['cursorInfo'](){const _0x196435=_0x39d902;return this[_0x196435(0x2b2)][_0x196435(0x3f3)]();}get[_0x39d902(0x34f)](){const _0x5268fa=_0x39d902;return this['_roomMembers$'][_0x5268fa(0x3f3)]();}[_0x39d902(0x329)](){const _0x3bb29e=_0x39d902;super[_0x3bb29e(0x329)](),this['_cursorInfo$'][_0x3bb29e(0x225)](new Map()),this[_0x3bb29e(0x2b2)]['complete'](),this[_0x3bb29e(0x22d)]['next']([]),this[_0x3bb29e(0x22d)][_0x3bb29e(0x2eb)]();}[_0x39d902(0x385)](){const _0x3f6a32=_0x39d902;this[_0x3f6a32(0x2c9)]||(this[_0x3f6a32(0x2c9)]=!0x0,this[_0x3f6a32(0x3c5)]['sessionStatus$'][_0x3f6a32(0x3b2)](_0x420140[_0x3f6a32(0x2fa)](this[_0x3f6a32(0x336)]))[_0x3f6a32(0x22c)](_0x363f3a=>{const _0x19603e=_0x3f6a32;_0x363f3a===_0x3d1e18[_0x19603e(0x1c6)]['ONLINE']?this[_0x19603e(0x209)]():this[_0x19603e(0x350)]();}),this['_session'][_0x3f6a32(0x36f)][_0x3f6a32(0x3b2)](_0x420140[_0x3f6a32(0x2fa)](this[_0x3f6a32(0x336)]))['subscribe'](_0x1cca0f=>{const _0x5be8ae=_0x3f6a32,_0x3a2074=_0x1cca0f['eventID'];_0x3a2074===_0x185f6a['CollaborationEvent'][_0x5be8ae(0x39b)]&&this[_0x5be8ae(0x288)](_0x1cca0f),_0x3a2074===_0x185f6a['CollaborationEvent'][_0x5be8ae(0x2f0)]&&this[_0x5be8ae(0x263)](_0x1cca0f);}),this[_0x3f6a32(0x2db)](),this['disposeWithMe'](this[_0x3f6a32(0x39c)][_0x3f6a32(0x403)](_0x486776=>{const _0x2723d0=_0x3f6a32;if(this[_0x2723d0(0x35e)]&&_0x486776['id']===_0x3a50cf[_0x2723d0(0x30f)]['id']&&_0x486776['params'][_0x2723d0(0x253)]===this[_0x2723d0(0x3af)]){const _0x234368=_0x486776[_0x2723d0(0x3e1)];this[_0x2723d0(0x373)](_0x234368['subUnitId'],_0x234368[_0x2723d0(0x295)][0x0]);}})));}[_0x39d902(0x288)](_0x24628a){const _0x1ea350=_0x39d902;var _0x55d282,_0x2def2c;const {memberID:_0x3b1522,selection:_0x44e7a6}=_0x24628a[_0x1ea350(0x35c)],{sheetName:_0x22c1d6,range:_0x127a39}=_0x432de3[_0x1ea350(0x1f5)](_0x44e7a6),_0x23a43c={'name':(_0x2def2c=(_0x55d282=this[_0x1ea350(0x3ec)][_0x1ea350(0x2d0)](this[_0x1ea350(0x3af)],_0x3b1522))==null?void 0x0:_0x55d282['name'])!=null?_0x2def2c:_0x1ea350(0x1c0),'range':this[_0x1ea350(0x1eb)](_0x22c1d6,_0x127a39),'sheetID':_0x22c1d6,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3b1522),'selection':_0x44e7a6},_0x55d2b1=this[_0x1ea350(0x363)];_0x55d2b1[_0x1ea350(0x3b7)](_0x3b1522,_0x23a43c),this[_0x1ea350(0x2b2)][_0x1ea350(0x225)](_0x55d2b1);}[_0x39d902(0x263)](_0xc1efaf){const _0x410b3e=_0x39d902,{memberID:_0x5d9224}=_0xc1efaf['data'],_0x290a9e=this[_0x410b3e(0x363)];_0x290a9e['delete'](_0x5d9224),this[_0x410b3e(0x2b2)][_0x410b3e(0x225)](_0x290a9e);}[_0x39d902(0x1eb)](_0x3b6b4e,_0x1184a5){const _0x4bc169=_0x39d902;var _0x3a4a00,_0x48f9bf;const _0x26dde9=(_0x48f9bf=(_0x3a4a00=this[_0x4bc169(0x302)][_0x4bc169(0x2c3)](this[_0x4bc169(0x3af)]))==null?void 0x0:_0x3a4a00['getSheetBySheetId'](_0x3b6b4e))==null?void 0x0:_0x48f9bf[_0x4bc169(0x3e8)]();return(_0x26dde9==null?void 0x0:_0x26dde9[_0x4bc169(0x346)](_0x20dab4=>_0x4f8b31[_0x4bc169(0x1f8)][_0x4bc169(0x383)](_0x20dab4,_0x1184a5)))||_0x1184a5;}[_0x39d902(0x2db)](){const _0x942abb=_0x39d902,_0x203b9b=new _0x4f8b31[(_0x942abb(0x2d9))](),_0x443f74=_0x45db8d(),_0x5c824a=()=>{const _0x53c29a=_0x942abb;_0x203b9b[_0x53c29a(0x329)]();const _0x3f0828=(_0x5a7a1b,_0x3a6b17,_0x2d938c,_0x20fcd7)=>{const _0xfafdcc=_0x53c29a;let _0x6dfb7=[];switch(_0x5a7a1b['id']){case _0x3a50cf['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x1b7)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x1c5)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x1e3)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x20a)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x3eb)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)]['InsertRangeMoveDownCommandId']:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x3cd)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x221)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x31b)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf['EffectRefRangId'][_0xfafdcc(0x2ca)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x2cc)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x396)]:{_0x6dfb7=_0x3a50cf['handleMoveRange'](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x310)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x3ae)](_0x5a7a1b,_0x20fcd7);break;}case _0x3a50cf[_0xfafdcc(0x298)][_0xfafdcc(0x3d0)]:{_0x6dfb7=_0x3a50cf[_0xfafdcc(0x259)](_0x5a7a1b,_0x20fcd7);break;}}const _0x58f34a=_0x3a50cf['runRefRangeMutations'](_0x6dfb7,_0x20fcd7),_0x38bcc2=this[_0xfafdcc(0x363)][_0xfafdcc(0x2f5)](_0x3a6b17);if(_0x38bcc2&&_0x58f34a){const _0x9429cd={..._0x38bcc2,'range':_0x58f34a};this['cursorInfo'][_0xfafdcc(0x3b7)](_0x3a6b17,_0x9429cd),_0x443f74(()=>{const _0xdebfbc=_0xfafdcc,_0x2746fe=this['_refRangeService'][_0xdebfbc(0x228)](_0x58f34a,_0x21f03a=>(_0x2746fe[_0xdebfbc(0x329)](),_0x3f0828(_0x21f03a,_0x3a6b17,_0x2d938c,_0x58f34a)));_0x203b9b[_0xdebfbc(0x366)](_0x2746fe);});}return{'redos':[],'undos':[]};};this[_0x53c29a(0x363)][_0x53c29a(0x367)]((_0x3f6b38,_0x50d779)=>{const _0x229d14=_0x53c29a,{range:_0x49e9df,sheetID:_0x5e0bae}=_0x3f6b38,_0x2889b6=this['_refRangeService'][_0x229d14(0x228)](_0x49e9df,_0x568bd8=>(_0x2889b6[_0x229d14(0x329)](),_0x3f0828(_0x568bd8,_0x50d779,_0x5e0bae,_0x49e9df)));_0x203b9b[_0x229d14(0x366)](_0x2889b6);});};this[_0x942abb(0x280)](_0x4f8b31[_0x942abb(0x2a0)](this['_cursorInfo$']['subscribe'](()=>{_0x5c824a();})));}[_0x39d902(0x209)](){const _0x594db4=_0x39d902;var _0x4db278,_0x1d6588;if(this['_online']=!0x0,((_0x4db278=this[_0x594db4(0x302)][_0x594db4(0x22f)]())==null?void 0x0:_0x4db278[_0x594db4(0x3c3)]())!==this[_0x594db4(0x3af)])return;const _0x12851f=(_0x1d6588=this[_0x594db4(0x1b8)][_0x594db4(0x2f5)](_0x3a50cf[_0x594db4(0x28c)])['getCurrentSelections']())==null?void 0x0:_0x1d6588[0x0],_0x4bcf99=this[_0x594db4(0x302)][_0x594db4(0x1e6)](_0x4f8b31[_0x594db4(0x1e5)][_0x594db4(0x25a)])[_0x594db4(0x380)]();_0x12851f&&_0x4bcf99&&this[_0x594db4(0x373)](_0x4bcf99[_0x594db4(0x397)](),_0x12851f);}[_0x39d902(0x350)](){const _0x3746ca=_0x39d902;this[_0x3746ca(0x35e)]=!0x1;}};_0x4bfcd1=_0x26fa73([_0x2ab745(0x2,_0x4f8b31['Inject'](_0x4f8b31[_0x39d902(0x391)])),_0x2ab745(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x66d220)),_0x2ab745(0x4,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18['MemberService'])),_0x2ab745(0x5,_0x4f8b31[_0x39d902(0x2a3)]),_0x2ab745(0x6,_0x4f8b31['ICommandService']),_0x2ab745(0x7,_0x4f8b31[_0x39d902(0x2f8)](_0x3a50cf[_0x39d902(0x317)]))],_0x4bfcd1);var _0x18197b=Object[_0x39d902(0x213)],_0x1c8480=Object['getOwnPropertyDescriptor'],_0x7c30f1=(_0x6e927c,_0x55e212,_0x2aef59,_0x101dfd)=>{const _0x396a4c=_0x39d902;for(var _0x573c6f=_0x101dfd>0x1?void 0x0:_0x101dfd?_0x1c8480(_0x55e212,_0x2aef59):_0x55e212,_0x14867f=_0x6e927c[_0x396a4c(0x27c)]-0x1,_0x2ec3b2;_0x14867f>=0x0;_0x14867f--)(_0x2ec3b2=_0x6e927c[_0x14867f])&&(_0x573c6f=(_0x101dfd?_0x2ec3b2(_0x55e212,_0x2aef59,_0x573c6f):_0x2ec3b2(_0x573c6f))||_0x573c6f);return _0x101dfd&&_0x573c6f&&_0x18197b(_0x55e212,_0x2aef59,_0x573c6f),_0x573c6f;},_0x283b37=(_0x3c65c6,_0x10fd0f)=>(_0x4a5043,_0x9d17f0)=>_0x10fd0f(_0x4a5043,_0x9d17f0,_0x3c65c6);let _0x3b10fa=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x5b4789,_0x4ad1cc,_0xc00f8a){const _0x1cb138=_0x39d902;super(),_0x33faca(this,_0x1cb138(0x2dd),new Map()),_0x33faca(this,'_entityInit$',new _0x420140[(_0x1cb138(0x2bf))]()),(this['_univerInstanceService']=_0x5b4789,this[_0x1cb138(0x1b8)]=_0x4ad1cc,this[_0x1cb138(0x2f3)]=_0xc00f8a,this[_0x1cb138(0x2c9)]());}['dispose'](){const _0x43e7d2=_0x39d902;super[_0x43e7d2(0x329)](),this[_0x43e7d2(0x1b3)]['complete'](),this[_0x43e7d2(0x2dd)][_0x43e7d2(0x367)](_0x440813=>_0x440813[_0x43e7d2(0x329)]());}[_0x39d902(0x1c4)](_0x3dcb6b){const _0x14b3ad=_0x39d902;return this[_0x14b3ad(0x2dd)]['has'](_0x3dcb6b)?this[_0x14b3ad(0x2dd)][_0x14b3ad(0x2f5)](_0x3dcb6b)[_0x14b3ad(0x23a)]:this['_entityInit$']['pipe'](_0x420140[_0x14b3ad(0x2a2)](_0x5dd783=>_0x5dd783[_0x14b3ad(0x3af)]===_0x3dcb6b),_0x420140[_0x14b3ad(0x243)](_0x37c5a9=>_0x37c5a9[_0x14b3ad(0x23a)]));}[_0x39d902(0x2c9)](){const _0x507395=_0x39d902;this['_univerInstanceService'][_0x507395(0x2a8)](_0x4f8b31[_0x507395(0x1e5)][_0x507395(0x25a)])['pipe'](_0x420140[_0x507395(0x2fa)](this['dispose$']))['subscribe'](async _0x142e0d=>{const _0x3e8980=_0x507395,_0x146f44=_0x142e0d[_0x3e8980(0x3c3)](),_0x1dd869=await this[_0x3e8980(0x3b1)](_0x146f44);this[_0x3e8980(0x1b3)][_0x3e8980(0x225)](_0x1dd869),this[_0x3e8980(0x2dd)][_0x3e8980(0x3b7)](_0x146f44,_0x1dd869);}),this[_0x507395(0x302)][_0x507395(0x2a8)](_0x4f8b31[_0x507395(0x1e5)][_0x507395(0x348)])[_0x507395(0x3b2)](_0x420140[_0x507395(0x2fa)](this[_0x507395(0x336)]))[_0x507395(0x3b2)](_0x420140[_0x507395(0x2a2)](_0x3bc99e=>!_0x3bc99e[_0x507395(0x3c3)]()[_0x507395(0x2c4)]('__')))[_0x507395(0x22c)](async _0x318f63=>{const _0xc697ca=_0x507395,_0x807d6e=_0x318f63[_0xc697ca(0x3c3)](),_0xae0f5f=await this[_0xc697ca(0x2b9)](_0x807d6e);this[_0xc697ca(0x1b3)][_0xc697ca(0x225)](_0xae0f5f),this[_0xc697ca(0x2dd)][_0xc697ca(0x3b7)](_0x807d6e,_0xae0f5f);}),_0x420140['merge'](this[_0x507395(0x302)][_0x507395(0x2e0)](_0x4f8b31['UniverInstanceType'][_0x507395(0x348)]),this[_0x507395(0x302)][_0x507395(0x2e0)](_0x4f8b31[_0x507395(0x1e5)][_0x507395(0x25a)]))[_0x507395(0x3b2)](_0x420140[_0x507395(0x2fa)](this[_0x507395(0x336)]))['subscribe'](_0x19b406=>{const _0x59e969=_0x507395,_0x2e63b1=_0x19b406[_0x59e969(0x3c3)](),_0x595135=this[_0x59e969(0x2dd)][_0x59e969(0x2f5)](_0x2e63b1);_0x595135&&(_0x595135['dispose'](),this[_0x59e969(0x2dd)]['delete'](_0x2e63b1));});}async[_0x39d902(0x3b1)](_0x30d15f){const _0x13305c=_0x39d902,_0x105490=await this[_0x13305c(0x2f3)][_0x13305c(0x3f7)](_0x30d15f),_0xb48ac8=this[_0x13305c(0x1b8)][_0x13305c(0x29b)](_0x4bfcd1,_0x30d15f,_0x105490);return _0xb48ac8[_0x13305c(0x385)](),_0xb48ac8;}async['_startDocCollabCursor'](_0x972b1f){const _0x1917ca=_0x39d902,_0x5006e7=await this[_0x1917ca(0x2f3)]['requireSession'](_0x972b1f),_0x290e87=this[_0x1917ca(0x1b8)][_0x1917ca(0x29b)](_0x4c3301,_0x972b1f,_0x5006e7);return _0x290e87['init'](),_0x290e87;}};_0x3b10fa=_0x7c30f1([_0x283b37(0x0,_0x4f8b31[_0x39d902(0x2a3)]),_0x283b37(0x1,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31[_0x39d902(0x391)])),_0x283b37(0x2,_0x4f8b31['Inject'](_0x3d1e18[_0x39d902(0x370)]))],_0x3b10fa);const _0x19d149=0x14,_0x1e7d5c=0xc8,_0x6633bc=0x4,_0x523961=0x5;function _0x5aa3e3(_0x57eddc,_0x3c06c0){const _0x2590fe=_0x39d902;let {radius:_0x41dab2,width:_0x238dd4,height:_0x263c53}=_0x3c06c0;_0x41dab2=_0x41dab2!=null?_0x41dab2:0x0,_0x238dd4=_0x238dd4!=null?_0x238dd4:0x1e,_0x263c53=_0x263c53!=null?_0x263c53:0x1e;let _0x214d5b=0x0,_0x270372=0x0,_0x280d12=0x0;_0x214d5b=_0x270372=_0x280d12=Math[_0x2590fe(0x38a)](_0x41dab2,_0x238dd4/0x2,_0x263c53/0x2),_0x57eddc['beginPath'](),_0x57eddc[_0x2590fe(0x31c)](_0x214d5b,0x0),_0x57eddc[_0x2590fe(0x38c)](_0x238dd4-_0x270372,0x0),_0x57eddc[_0x2590fe(0x2ea)](_0x238dd4-_0x270372,_0x270372,_0x270372,Math['PI']*0x3/0x2,0x0,!0x1),_0x57eddc[_0x2590fe(0x38c)](_0x238dd4,_0x263c53-_0x280d12),_0x57eddc[_0x2590fe(0x2ea)](_0x238dd4-_0x280d12,_0x263c53-_0x280d12,_0x280d12,0x0,Math['PI']/0x2,!0x1),_0x57eddc[_0x2590fe(0x38c)](0x0,_0x263c53),_0x57eddc[_0x2590fe(0x38c)](0x0,_0x214d5b),_0x57eddc[_0x2590fe(0x2ea)](_0x214d5b,_0x214d5b,_0x214d5b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57eddc[_0x2590fe(0x3ef)](),_0x3c06c0['fill']&&(_0x57eddc[_0x2590fe(0x3bd)](),_0x57eddc[_0x2590fe(0x294)]=_0x3c06c0[_0x2590fe(0x318)],_0x3c06c0[_0x2590fe(0x3da)]===_0x2590fe(0x3b8)?_0x57eddc['fill'](_0x2590fe(0x3b8)):_0x57eddc['fill'](),_0x57eddc[_0x2590fe(0x20d)]());}class _0x46c230 extends _0x3d54bb['Shape']{constructor(_0xde908d,_0x148bb2){const _0x5401ea=_0x39d902;super(_0xde908d,_0x148bb2),_0x33faca(this,_0x5401ea(0x3b5)),_0x33faca(this,_0x5401ea(0x379)),(this[_0x5401ea(0x3b5)]=_0x148bb2==null?void 0x0:_0x148bb2['color'],this[_0x5401ea(0x379)]=_0x148bb2==null?void 0x0:_0x148bb2[_0x5401ea(0x379)]);}static[_0x39d902(0x2af)](_0x2feefb,_0x5d0393){const _0x188888=_0x39d902,{text:_0x2485f5,color:_0x30954e}=_0x5d0393;_0x2feefb[_0x188888(0x3bd)](),_0x2feefb[_0x188888(0x29a)]=_0x188888(0x26f);const _0x52da9b=_0x2feefb[_0x188888(0x273)](_0x2485f5)[_0x188888(0x2e6)],_0x24de37=Math[_0x188888(0x38a)](_0x52da9b+0x2*_0x6633bc,_0x1e7d5c);_0x5aa3e3(_0x2feefb,{'height':_0x19d149,'radius':0x4,'width':_0x24de37,'fill':_0x30954e,'evented':!0x1}),_0x2feefb[_0x188888(0x294)]=_0x188888(0x37b);const _0x4311c1=_0x6633bc,_0x11630e=_0x19d149-_0x523961,_0xb72efa=_0x1e7d5c-0x2*_0x6633bc;if(_0x52da9b>_0xb72efa){let _0x135c2b='',_0x4c8fea=0x0;for(const _0x4c235c of _0x2485f5){const _0x5f5d6d=_0x2feefb['measureText'](_0x4c235c)[_0x188888(0x2e6)];if(_0x4c8fea+_0x5f5d6d<=_0xb72efa-_0x2feefb[_0x188888(0x273)](_0x188888(0x324))[_0x188888(0x2e6)])_0x135c2b+=_0x4c235c,_0x4c8fea+=_0x5f5d6d;else{_0x135c2b+='...';break;}}_0x2feefb[_0x188888(0x1ed)](_0x135c2b,_0x4311c1,_0x11630e);}else _0x2feefb[_0x188888(0x1ed)](_0x2485f5,_0x4311c1,_0x11630e);_0x2feefb['restore']();}[_0x39d902(0x21e)](_0x1c5b0d){const _0x40620d=_0x39d902;_0x46c230[_0x40620d(0x2af)](_0x1c5b0d,this);}}const _0x4cd18c='collab-text-anchor-',_0x1bc121='collab-text-range-',_0x2378e5=_0x39d902(0x222),_0x2d5d7f=0x6,_0x3732fd=1.5,_0x433947=0x4,_0x2c627a=1.5,_0x519755=_0x39d902(0x387);class _0x1304ce{constructor(_0x1431b8,_0x25d74c,_0x43985f,_0x1ee8a9){const _0x31cb7a=_0x39d902;_0x33faca(this,_0x31cb7a(0x401),[]),_0x33faca(this,_0x31cb7a(0x344),null),_0x33faca(this,_0x31cb7a(0x272),null),_0x33faca(this,_0x31cb7a(0x3d9),null),_0x33faca(this,_0x31cb7a(0x34e),null),_0x33faca(this,_0x31cb7a(0x3dc),null),(this[_0x31cb7a(0x37c)]=_0x1431b8,this['_scene']=_0x25d74c,this[_0x31cb7a(0x323)]=_0x43985f,this[_0x31cb7a(0x330)]=_0x1ee8a9,this[_0x31cb7a(0x28f)]());}set[_0x39d902(0x31f)](_0x5b76f2){const _0x2fd085=_0x39d902;_0x5b76f2?(this[_0x2fd085(0x3d9)]&&this[_0x2fd085(0x3d9)][_0x2fd085(0x2ec)](),this[_0x2fd085(0x272)]&&this['_textBubble']['show']()):(this[_0x2fd085(0x3d9)]&&this[_0x2fd085(0x3d9)][_0x2fd085(0x277)](),this[_0x2fd085(0x272)]&&this[_0x2fd085(0x272)]['hide']());}[_0x39d902(0x329)](){const _0x43fbe5=_0x39d902;for(const _0x2304ad of this[_0x43fbe5(0x401)])_0x2304ad['dispose']();this[_0x43fbe5(0x272)]&&this[_0x43fbe5(0x272)]['dispose'](),this[_0x43fbe5(0x3d9)]&&this['_anchorDot'][_0x43fbe5(0x329)](),this[_0x43fbe5(0x344)]&&this['_anchor'][_0x43fbe5(0x329)](),this[_0x43fbe5(0x3dc)]&&this['_eventUnsubscribe']();}['_render'](){const _0x14e6fa=_0x39d902;var _0x30063f;const {_docSkeleton:_0x12c9f2,_document:_0x2a4a24}=this,{color:_0x1cb05f,name:_0x21a722,ranges:_0x44819a}=this[_0x14e6fa(0x37c)],_0x428058=_0x2a4a24[_0x14e6fa(0x365)](),{docsLeft:_0xb22b66,docsTop:_0x3ea41f}=_0x428058,_0x5cef92=new _0x3dcbe8[(_0x14e6fa(0x1b6))](_0x428058,_0x12c9f2);for(const {startOffset:_0xe2fdef,endOffset:_0x3fe52f,rangeType:_0x48393b,segmentId:_0x2f536a,segmentPage:_0x171115,collapsed:_0x60bf5a,isActive:_0x585064}of _0x44819a){const _0x735108=_0x12c9f2['findNodePositionByCharIndex'](_0xe2fdef,!0x0,_0x2f536a,_0x171115);let _0x3f3776=_0x12c9f2['findNodePositionByCharIndex'](_0x3fe52f,!0x0,_0x2f536a,_0x171115);if(_0x3f3776==null&&(_0x3f3776=_0x12c9f2['findNodePositionByCharIndex'](_0x3fe52f-0x1,!0x1,_0x2f536a,_0x171115)),_0x585064){const {contentBoxPointGroup:_0xf4d016}=_0x5cef92['getRangePointData'](_0x3f3776,_0x3f3776);if(_0xf4d016[_0x14e6fa(0x27c)]===0x0)continue;this[_0x14e6fa(0x308)](_0x1cb05f,_0xf4d016,_0xb22b66,_0x3ea41f,_0x21a722),this[_0x14e6fa(0x3dc)]=this[_0x14e6fa(0x231)]();}if(_0x735108&&_0x3f3776){if(_0x48393b===_0x4f8b31['DOC_RANGE_TYPE'][_0x14e6fa(0x291)]){const _0x2069bb=new _0x3dcbe8[(_0x14e6fa(0x1d4))](_0x428058,_0x12c9f2),{pointGroup:_0x1edf75}=(_0x30063f=_0x2069bb['getRangePointData'](_0x735108,_0x3f3776))!=null?_0x30063f:{};if(_0x1edf75==null||_0x1edf75[_0x14e6fa(0x27c)]===0x0)continue;this[_0x14e6fa(0x2ee)](_0x1cb05f,_0x1edf75,_0xb22b66,_0x3ea41f);}else{if(!_0x60bf5a){const {borderBoxPointGroup:_0xfa9d10}=_0x5cef92['getRangePointData'](_0x735108,_0x3f3776);if(_0xfa9d10[_0x14e6fa(0x27c)]===0x0)continue;this[_0x14e6fa(0x286)](_0x1cb05f,_0xfa9d10,_0xb22b66,_0x3ea41f);}}}}}['_drawAnchor'](_0x5578b9,_0x3ed09f,_0x3b1582,_0x59fa5c,_0x4c6596){const _0x5a48f6=_0x39d902,_0x21363d=this[_0x5a48f6(0x289)](_0x3ed09f),{left:_0x32eacc,top:_0x2b279c,height:_0x2027af}=_0x21363d,_0x6dafc1=this[_0x5a48f6(0x229)](),_0x5e1ab1=_0x2c627a/_0x6dafc1,_0x5a446c=new _0x3d54bb['Rect'](_0x4cd18c+_0x4f8b31[_0x5a48f6(0x1cc)][_0x5a48f6(0x371)](_0x2d5d7f),{'left':_0x32eacc+_0x3b1582-_0x5e1ab1,'top':_0x2b279c+_0x59fa5c,'height':_0x2027af,'width':_0x3732fd,'fill':_0x5578b9||_0x3d54bb[_0x5a48f6(0x2e2)](_0x4f8b31[_0x5a48f6(0x3c6)]['black'],0x0),'strokeWidth':_0x5e1ab1,'stroke':_0x519755,'evented':!0x0});this[_0x5a48f6(0x344)]=_0x5a446c,this['_scene'][_0x5a48f6(0x332)](_0x5a446c,_0x3dcbe8[_0x5a48f6(0x3d5)]);const _0x49e429=new _0x3d54bb[(_0x5a48f6(0x311))](_0x4cd18c+_0x4f8b31[_0x5a48f6(0x1cc)][_0x5a48f6(0x371)](_0x2d5d7f),{'left':_0x32eacc+_0x3b1582-_0x5e1ab1,'top':_0x2b279c+_0x59fa5c-_0x433947/0x2,'height':_0x433947,'width':_0x433947,'fill':_0x5578b9||_0x3d54bb['getColor'](_0x4f8b31[_0x5a48f6(0x3c6)][_0x5a48f6(0x265)],0x0),'strokeWidth':0x0,'stroke':_0x5578b9||_0x3d54bb[_0x5a48f6(0x2e2)](_0x4f8b31['COLORS'][_0x5a48f6(0x265)],0x0),'evented':!0x1});this[_0x5a48f6(0x3d9)]=_0x49e429,this[_0x5a48f6(0x2f1)][_0x5a48f6(0x332)](_0x49e429,_0x3dcbe8[_0x5a48f6(0x3d5)]);const _0x16bd93=new _0x46c230(_0x4cd18c+_0x4f8b31['Tools'][_0x5a48f6(0x371)](_0x2d5d7f),{'left':_0x32eacc+_0x3b1582-_0x5e1ab1,'top':_0x2b279c+_0x59fa5c-_0x19d149,'text':_0x4c6596,'color':_0x5578b9});this[_0x5a48f6(0x272)]=_0x16bd93,this['_scene'][_0x5a48f6(0x332)](_0x16bd93,_0x3dcbe8[_0x5a48f6(0x3d5)]),this[_0x5a48f6(0x31f)]=!0x1;}[_0x39d902(0x231)](){const _0x269797=_0x39d902,_0x5ac69c=this['_anchor'][_0x269797(0x260)][_0x269797(0x2c2)](()=>{const _0x2f7032=_0x269797;this[_0x2f7032(0x31f)]=!0x0;}),_0x4ebd62=this[_0x269797(0x344)][_0x269797(0x3fe)][_0x269797(0x2c2)](()=>{const _0x48f95f=_0x269797;this[_0x48f95f(0x34e)]&&clearTimeout(this[_0x48f95f(0x34e)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2db0b6=_0x269797;_0x5ac69c[_0x2db0b6(0x319)](),_0x4ebd62[_0x2db0b6(0x319)]();};}[_0x39d902(0x286)](_0x4d4a4c,_0x4707ef,_0x41e51d,_0x514f4a){const _0x401d01=_0x39d902,_0x1d9c83=new _0x4f8b31['ColorKit'](_0x4d4a4c)[_0x401d01(0x29c)](0.2)[_0x401d01(0x1f3)](),_0x1e4774=new _0x3d54bb[(_0x401d01(0x2c0))](_0x1bc121+_0x4f8b31[_0x401d01(0x1cc)][_0x401d01(0x371)](_0x2d5d7f),{'pointsGroup':_0x4707ef,'fill':_0x1d9c83||_0x3d54bb[_0x401d01(0x2e2)](_0x4f8b31[_0x401d01(0x3c6)][_0x401d01(0x265)],0.2),'left':_0x41e51d,'top':_0x514f4a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x401d01(0x401)][_0x401d01(0x1fc)](_0x1e4774),this[_0x401d01(0x2f1)]['addObject'](_0x1e4774,_0x3dcbe8[_0x401d01(0x3d5)]);}['_drawRectRange'](_0x15281d,_0x2e9ac9,_0x5bb9e1,_0x2d0cf1){const _0x48828e=_0x39d902,_0x36539d=new _0x4f8b31[(_0x48828e(0x239))](_0x15281d)[_0x48828e(0x29c)](0.2)[_0x48828e(0x1f3)](),_0x2b0d34=new _0x3d54bb['RegularPolygon'](_0x2378e5+_0x4f8b31[_0x48828e(0x1cc)]['generateRandomId'](_0x2d5d7f),{'pointsGroup':_0x2e9ac9,'fill':_0x36539d||_0x3d54bb['getColor'](_0x4f8b31[_0x48828e(0x3c6)][_0x48828e(0x265)],0.2),'left':_0x5bb9e1,'top':_0x2d0cf1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2b0d34),this[_0x48828e(0x2f1)][_0x48828e(0x332)](_0x2b0d34,_0x3dcbe8[_0x48828e(0x3d5)]);}['_getAnchorBounding'](_0x4ee870){const _0x3c6eee=_0x4ee870[0x0],_0xa3e99=_0x3c6eee[0x0],_0x2495e5=_0x3c6eee[0x2],{x:_0x70dfa6,y:_0x1b459e}=_0xa3e99,{x:_0x59acfb,y:_0x517f6c}=_0x2495e5;return{'left':_0x70dfa6,'top':_0x1b459e,'width':_0x59acfb-_0x70dfa6,'height':_0x517f6c-_0x1b459e};}[_0x39d902(0x229)](){const _0x18f24a=_0x39d902,{scaleX:_0xec8345,scaleY:_0x50effb}=this[_0x18f24a(0x2f1)]['getAncestorScale']();return Math[_0x18f24a(0x316)](_0xec8345,_0x50effb);}}var _0x590fa2=Object[_0x39d902(0x213)],_0xfee35f=Object[_0x39d902(0x269)],_0x2dd6c6=(_0x592987,_0x24261a,_0x37b874,_0x567cde)=>{for(var _0x493187=_0x567cde>0x1?void 0x0:_0x567cde?_0xfee35f(_0x24261a,_0x37b874):_0x24261a,_0x30fd61=_0x592987['length']-0x1,_0x17bc4d;_0x30fd61>=0x0;_0x30fd61--)(_0x17bc4d=_0x592987[_0x30fd61])&&(_0x493187=(_0x567cde?_0x17bc4d(_0x24261a,_0x37b874,_0x493187):_0x17bc4d(_0x493187))||_0x493187);return _0x567cde&&_0x493187&&_0x590fa2(_0x24261a,_0x37b874,_0x493187),_0x493187;},_0x5b1469=(_0x19ae3d,_0x1e0be7)=>(_0x5a774f,_0x1f86aa)=>_0x1e0be7(_0x5a774f,_0x1f86aa,_0x19ae3d);let _0x334ab7=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x1c7ebe,_0x2e1ca9,_0x543e89,_0x4575fb,_0x5ad5e8){const _0x1e17c5=_0x39d902;super(),_0x33faca(this,_0x1e17c5(0x236),[]),_0x33faca(this,_0x1e17c5(0x25d),[]),(this[_0x1e17c5(0x3be)]=_0x1c7ebe,this[_0x1e17c5(0x2fc)]=_0x2e1ca9,this[_0x1e17c5(0x1cd)]=_0x543e89,this[_0x1e17c5(0x39c)]=_0x4575fb,this['_themeService']=_0x5ad5e8,this[_0x1e17c5(0x2c9)]());}[_0x39d902(0x2c9)](){const _0x3621ee=_0x39d902,_0x3eb96f=this[_0x3621ee(0x3be)][_0x3621ee(0x253)],_0x184c10=this[_0x3621ee(0x2fc)];this[_0x3621ee(0x280)](_0x420140[_0x3621ee(0x3a0)]([this[_0x3621ee(0x1cd)][_0x3621ee(0x1c4)](_0x3eb96f),this[_0x3621ee(0x3c1)]['currentTheme$']])[_0x3621ee(0x3b2)](_0x4ad25a['map'](([_0xbdd8d2,_0x4156fd])=>({'skeleton':_0x184c10['getSkeleton'](),'cursors':[..._0xbdd8d2[_0x3621ee(0x28d)]()]['flatMap'](_0x19b0b3=>({..._0x19b0b3,'color':_0x4156fd[_0x19b0b3['color']]}))})))[_0x3621ee(0x22c)](_0x43ca8a=>{const _0x20701d=_0x3621ee;if(this[_0x20701d(0x1bd)](),_0x43ca8a){const {skeleton:_0x467a37,cursors:_0x1db14c}=_0x43ca8a;this[_0x20701d(0x1e9)](_0x467a37,_0x1db14c);}})),this['_initResize'](),this[_0x3621ee(0x362)]();}[_0x39d902(0x1e9)](_0x238ca7,_0x1948c8){const _0x580538=_0x39d902,{scene:_0x49667d,mainComponent:_0x1feef1}=this[_0x580538(0x3be)],_0x1fef83=_0x1948c8[_0x580538(0x249)](_0x5614c8=>new _0x1304ce(_0x5614c8,_0x49667d,_0x238ca7,_0x1feef1));this['_cursorShapes']=_0x1fef83,this[_0x580538(0x25d)]=_0x1948c8;}[_0x39d902(0x35b)](){const _0xa493d5=_0x39d902;this[_0xa493d5(0x1bd)]();const {scene:_0x33f4fe,mainComponent:_0x341ef5}=this[_0xa493d5(0x3be)],_0x1a648b=this[_0xa493d5(0x2fc)][_0xa493d5(0x38d)](),_0x46cfaa=this[_0xa493d5(0x25d)][_0xa493d5(0x249)](_0x4bd819=>new _0x1304ce(_0x4bd819,_0x33f4fe,_0x1a648b,_0x341ef5));this['_cursorShapes']=_0x46cfaa;}[_0x39d902(0x1bd)](){const _0x16fe03=_0x39d902;this[_0x16fe03(0x236)][_0x16fe03(0x367)](_0x313867=>_0x313867['dispose']()),this[_0x16fe03(0x236)]=[];}['_initCommandExecutedListener'](){const _0x48b6f7=_0x39d902,_0x29b061=[_0x3dcbe8['SetDocZoomRatioOperation']['id']];this[_0x48b6f7(0x280)](this[_0x48b6f7(0x39c)][_0x48b6f7(0x403)](_0x5ceec8=>{const _0x323bfc=_0x48b6f7;_0x29b061[_0x323bfc(0x219)](_0x5ceec8['id'])&&_0x5ceec8[_0x323bfc(0x3e1)][_0x323bfc(0x253)]===this['_context'][_0x323bfc(0x253)]&&this[_0x323bfc(0x35b)]();}));}[_0x39d902(0x1be)](){const _0x1ba291=_0x39d902;this[_0x1ba291(0x280)](_0x4f8b31['fromEventSubject'](this['_context'][_0x1ba291(0x1fd)][_0x1ba291(0x359)])[_0x1ba291(0x3b2)](_0x4ad25a['filter'](_0x45917d=>_0x45917d[_0x1ba291(0x21c)]===_0x3d54bb['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1ba291(0x211)]),_0x4ad25a[_0x1ba291(0x223)](0x10))['subscribe'](()=>{const _0xd34ffd=_0x1ba291;this[_0xd34ffd(0x35b)]();}));}};_0x334ab7=_0x2dd6c6([_0x5b1469(0x1,_0x4f8b31['Inject'](_0xec89f4[_0x39d902(0x281)])),_0x5b1469(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x3b10fa)),_0x5b1469(0x3,_0x4f8b31[_0x39d902(0x402)]),_0x5b1469(0x4,_0x4f8b31['Inject'](_0x4f8b31[_0x39d902(0x388)]))],_0x334ab7);const _0xb71912=0x1,_0x3e0087=1.5;class _0x5cc197 extends _0x3d54bb[_0x39d902(0x3a4)]{constructor(_0x5e4320,_0x4c6718){const _0x3ef0b0=_0x39d902;super(_0x5e4320,_0x4c6718),_0x33faca(this,_0x3ef0b0(0x1e7)),_0x33faca(this,_0x3ef0b0(0x208),!0x1),_0x33faca(this,'_range'),_0x33faca(this,_0x3ef0b0(0x39d),''),_0x33faca(this,'_labelPosition',_0x3ef0b0(0x1f0)),_0x33faca(this,'_backgroundColor'),(_0x4c6718&&this[_0x3ef0b0(0x32c)](_0x4c6718),this[_0x3ef0b0(0x260)][_0x3ef0b0(0x2c2)](()=>this[_0x3ef0b0(0x32c)]({'hovered':!0x0})),this[_0x3ef0b0(0x3fe)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x39d902(0x32c)](_0x1cdea9){const _0x5a558a=_0x39d902;var _0x290f5b,_0x599e24,_0x3bbeb8,_0x2d3f61,_0x3e9525,_0x4d21e4;this[_0x5a558a(0x1e7)]=(_0x290f5b=_0x1cdea9[_0x5a558a(0x3b5)])!=null?_0x290f5b:this[_0x5a558a(0x1e7)],this[_0x5a558a(0x208)]=(_0x599e24=_0x1cdea9[_0x5a558a(0x1e0)])!=null?_0x599e24:this['_hovered'],this[_0x5a558a(0x282)]=(_0x3bbeb8=_0x1cdea9['range'])!=null?_0x3bbeb8:this[_0x5a558a(0x282)],this[_0x5a558a(0x39d)]=(_0x2d3f61=_0x1cdea9[_0x5a558a(0x268)])!=null?_0x2d3f61:this[_0x5a558a(0x39d)],this[_0x5a558a(0x204)]=(_0x3e9525=_0x1cdea9[_0x5a558a(0x24a)])!=null?_0x3e9525:this[_0x5a558a(0x204)],this[_0x5a558a(0x2ae)]=(_0x4d21e4=_0x1cdea9[_0x5a558a(0x36d)])!=null?_0x4d21e4:this[_0x5a558a(0x2ae)],this[_0x5a558a(0x2bc)]({'width':_0x1cdea9['width'],'height':_0x1cdea9[_0x5a558a(0x406)]});}[_0x39d902(0x328)](_0x532736){const _0x2bda34=_0x39d902,{row:_0xa67647,column:_0x545dc2}=_0x532736;if(_0xa67647>=this[_0x2bda34(0x282)][_0x2bda34(0x2ad)]&&_0xa67647<=this['_range']['endRow']&&_0x545dc2>=this[_0x2bda34(0x282)][_0x2bda34(0x384)]&&_0x545dc2<=this['_range']['endColumn']){this[_0x2bda34(0x32c)]({'hovered':!0x0});return;}this[_0x2bda34(0x32c)]({'hovered':!0x1});}[_0x39d902(0x2f6)](_0x31756c){return!0x1;}[_0x39d902(0x21e)](_0x476941){const _0xdc8788=_0x39d902;_0x3d54bb[_0xdc8788(0x311)][_0xdc8788(0x2af)](_0x476941,{'width':this[_0xdc8788(0x2e6)],'height':this[_0xdc8788(0x406)],'strokeWidth':_0x3e0087,'stroke':this[_0xdc8788(0x1e7)],'evented':!0x1,'fill':this[_0xdc8788(0x2ae)]}),this[_0xdc8788(0x208)]&&(_0x476941[_0xdc8788(0x3bd)](),_0x476941[_0xdc8788(0x3c2)](0x1,0x0,0x0,0x1,this[_0xdc8788(0x2e6)],this[_0xdc8788(0x204)]===_0xdc8788(0x38f)?0x0:-_0x19d149),_0x46c230[_0xdc8788(0x2af)](_0x476941,{'text':this[_0xdc8788(0x39d)],'color':this[_0xdc8788(0x1e7)]}),_0x476941[_0xdc8788(0x20d)]());}}var _0x463d93=Object[_0x39d902(0x213)],_0x40c744=Object['getOwnPropertyDescriptor'],_0x3c36e6=(_0x187a29,_0x526027,_0x5d626a,_0x32570e)=>{const _0x54f675=_0x39d902;for(var _0x2fe931=_0x32570e>0x1?void 0x0:_0x32570e?_0x40c744(_0x526027,_0x5d626a):_0x526027,_0x2188b0=_0x187a29[_0x54f675(0x27c)]-0x1,_0xc63944;_0x2188b0>=0x0;_0x2188b0--)(_0xc63944=_0x187a29[_0x2188b0])&&(_0x2fe931=(_0x32570e?_0xc63944(_0x526027,_0x5d626a,_0x2fe931):_0xc63944(_0x2fe931))||_0x2fe931);return _0x32570e&&_0x2fe931&&_0x463d93(_0x526027,_0x5d626a,_0x2fe931),_0x2fe931;},_0x521294=(_0xe563ba,_0x31b396)=>(_0x1a6b45,_0x52b793)=>_0x31b396(_0x1a6b45,_0x52b793,_0xe563ba);const _0x58dda7=0x1389;let _0x5246db=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x4b4a7a,_0x239523,_0x4f4fd5,_0x45dc6b){const _0x2310eb=_0x39d902;super(),_0x33faca(this,'_cursors',new Set()),_0x33faca(this,_0x2310eb(0x1df),null),(this[_0x2310eb(0x3be)]=_0x4b4a7a,this[_0x2310eb(0x3fd)]=_0x239523,this[_0x2310eb(0x1cd)]=_0x4f4fd5,this[_0x2310eb(0x3c1)]=_0x45dc6b,this[_0x2310eb(0x2c9)]());}[_0x39d902(0x2c9)](){const _0x29a84f=_0x39d902;this[_0x29a84f(0x3fd)][_0x29a84f(0x1d5)][_0x29a84f(0x3b2)](_0x4ad25a[_0x29a84f(0x2fa)](this[_0x29a84f(0x336)]),_0x4ad25a[_0x29a84f(0x243)](_0x2cef0b=>{const _0x498b21=_0x29a84f;if(_0x2cef0b){const _0x4b82e3=_0x2cef0b['sheetId'];return _0x420140[_0x498b21(0x3a0)](this['_collabCursorController']['getCollabCursors$'](this[_0x498b21(0x3be)]['unitId']),this[_0x498b21(0x3c1)]['currentTheme$'])[_0x498b21(0x3b2)](_0x4ad25a[_0x498b21(0x249)](([_0x55b28b,_0x331f82])=>{const _0x507f76=_0x498b21,_0x182a98=new Map();return _0x55b28b[_0x507f76(0x367)]((_0x21fb4e,_0x2b5f24)=>{const _0x217667=_0x507f76;if(_0x21fb4e['sheetID']===_0x4b82e3){const _0x34340f={..._0x21fb4e};_0x34340f['color']=_0x331f82[_0x21fb4e[_0x217667(0x3b5)]],_0x182a98[_0x217667(0x3b7)](_0x2b5f24,_0x34340f);}}),{'skeleton':_0x2cef0b,'cursors':_0x182a98};}));}return _0x420140['of']({'skeleton':null,'cursors':new Map()});}))[_0x29a84f(0x22c)](({skeleton:_0x2971f2,cursors:_0x15088c})=>{const _0x4758c6=_0x29a84f;this['_removeCollabCursors'](),_0x2971f2&&this[_0x4758c6(0x1e9)](_0x2971f2,_0x15088c);}),this[_0x29a84f(0x3fd)]['currentSkeleton$'][_0x29a84f(0x22c)](_0x44dce7=>{const _0x14f7f0=_0x29a84f;if(_0x44dce7==null)return;const {skeleton:_0xe3d1bb}=_0x44dce7,{scene:_0x5a51f9}=this[_0x14f7f0(0x3be)];_0x5a51f9[_0x14f7f0(0x356)][_0x14f7f0(0x2c2)](_0x4f8b31[_0x14f7f0(0x2d5)](_0x53051d=>{const _0x1d7081=_0x14f7f0;var _0x1eda5a,_0x2c8f09;const {offsetX:_0x45e71e,offsetY:_0x30cb8c}=_0x53051d,{x:_0x60cc64,y:_0x12f8b6}=_0x5a51f9['getRelativeToViewportCoord'](_0x3d54bb['Vector2'][_0x1d7081(0x3ea)]([_0x45e71e,_0x30cb8c])),{scaleX:_0x126e01,scaleY:_0x5027d2}=_0x5a51f9[_0x1d7081(0x331)](),_0x268341=_0x5a51f9[_0x1d7081(0x3a3)](_0x3d54bb['SHEET_VIEWPORT_KEY'][_0x1d7081(0x35d)]),_0x2c31e7=_0x5a51f9[_0x1d7081(0x33b)](_0x3d54bb[_0x1d7081(0x244)][_0x1d7081(0x3ea)]([_0x60cc64,_0x12f8b6]),_0x268341),_0x56bba3=_0xe3d1bb[_0x1d7081(0x200)](_0x45e71e,_0x30cb8c,_0x126e01,_0x5027d2,_0x2c31e7);((_0x1eda5a=this[_0x1d7081(0x1df)])==null?void 0x0:_0x1eda5a[_0x1d7081(0x392)])===_0x56bba3['column']&&((_0x2c8f09=this[_0x1d7081(0x1df)])==null?void 0x0:_0x2c8f09[_0x1d7081(0x2ce)])===_0x56bba3[_0x1d7081(0x2ce)]||this['_cursors'][_0x1d7081(0x367)](_0x130d6f=>{const _0x1c3575=_0x1d7081;_0x130d6f[_0x1c3575(0x328)](_0x56bba3);});},0x64));});}[_0x39d902(0x1e9)](_0x473620,_0x41718f){const _0x2ad6a8=_0x39d902;var _0x3e9628;const _0x45311a=(_0x3e9628=this[_0x2ad6a8(0x3fd)][_0x2ad6a8(0x306)]())==null?void 0x0:_0x3e9628[_0x2ad6a8(0x3c0)];if(!_0x45311a)return;const _0x2f2cb5=this['_getSheetObject']();if(!_0x2f2cb5)return;this[_0x2ad6a8(0x25d)][_0x2ad6a8(0x367)](_0x2773ff=>{const _0x542563=_0x2ad6a8;_0x2773ff[_0x542563(0x2a6)]();});const {scene:_0x232fd1}=_0x2f2cb5,_0x962743=_0x4bffdf(Array[_0x2ad6a8(0x313)](_0x41718f[_0x2ad6a8(0x28d)]()))[_0x2ad6a8(0x249)](_0x1a2aea=>{const _0x2b9ed9=_0x2ad6a8,{color:_0x28de52,range:_0x57e09b,name:_0x1b17f9,selection:_0x48106e,sheetID:_0x8d8170}=_0x1a2aea,{startColumn:_0x5cd3e8,startRow:_0x59b3b6,endColumn:_0x34a01f,endRow:_0x18807f}=_0x57e09b,_0x5cd369=_0xc5c417['getCoordByCell'](_0x59b3b6,_0x5cd3e8,_0x232fd1,_0x45311a),_0x4b2259=_0xc5c417[_0x2b9ed9(0x224)](_0x18807f,_0x34a01f,_0x232fd1,_0x45311a),{columnHeaderHeightAndMarginTop:_0x153004}=_0x45311a,{startX:_0xad97a2,startY:_0x27874a}=_0x5cd369,{endX:_0x32bbca,endY:_0xed345}=_0x4b2259,_0x21ee6f=_0x32bbca-_0xad97a2,_0xde094a=_0xed345-_0x27874a,_0x3c1ed2={'labelPosition':_0x27874a-_0x153004>=_0x19d149?_0x2b9ed9(0x1f0):_0x2b9ed9(0x38f),'sheetID':_0x8d8170,'range':_0x57e09b,'color':_0x28de52,'name':_0x1b17f9,'selection':_0x48106e,'left':_0xad97a2,'top':_0x27874a,'width':_0x21ee6f,'height':_0xde094a,'evented':!0x1,'zIndex':_0x58dda7};return new _0x5cc197(_0x1b17f9,_0x3c1ed2);});_0x232fd1['addObjects'](_0x962743,_0xb71912),this['_cursors']=new Set(_0x962743);}[_0x39d902(0x1bd)](){const _0x27bc73=_0x39d902;var _0x17426e;(_0x17426e=this[_0x27bc73(0x25d)])==null||_0x17426e[_0x27bc73(0x367)](_0x39ff26=>_0x39ff26[_0x27bc73(0x329)]());}['_getSheetObject'](){const _0x2cd900=_0x39d902;return _0xc5c417['getSheetObject'](this[_0x2cd900(0x3be)][_0x2cd900(0x2ed)],this[_0x2cd900(0x3be)]);}};_0x5246db=_0x3c36e6([_0x521294(0x1,_0x4f8b31[_0x39d902(0x2f8)](_0xc5c417[_0x39d902(0x345)])),_0x521294(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x3b10fa)),_0x521294(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31[_0x39d902(0x388)]))],_0x5246db);function _0x4bffdf(_0x79dd34){const _0x4c027a=_0x39d902,_0x19d38d=new Map();return _0x79dd34[_0x4c027a(0x367)](_0x1d08ef=>{const _0xd2b0d8=_0x4c027a;if(_0x19d38d[_0xd2b0d8(0x287)](_0x1d08ef[_0xd2b0d8(0x276)])){const _0x5b9179=_0x19d38d['get'](_0x1d08ef[_0xd2b0d8(0x276)]);_0x5b9179['name']+=',\x20'+_0x1d08ef[_0xd2b0d8(0x268)];}else _0x19d38d[_0xd2b0d8(0x3b7)](_0x1d08ef[_0xd2b0d8(0x276)],_0x1d08ef);}),Array[_0x4c027a(0x313)](_0x19d38d['values']());}var _0x52cd9e={'exports':{}},_0x488c12={},_0x2dbcba;function _0x437caf(){const _0x443151=_0x39d902;if(_0x2dbcba)return _0x488c12;_0x2dbcba=0x1;var _0x2a89bf=_0x18c3ec,_0x4553df=Symbol[_0x443151(0x1d6)](_0x443151(0x3cf)),_0x23fdb0=Symbol[_0x443151(0x1d6)](_0x443151(0x296)),_0x5c98f6=Object[_0x443151(0x2be)][_0x443151(0x2ac)],_0x979d68=_0x2a89bf[_0x443151(0x3e6)]['ReactCurrentOwner'],_0x111b7f={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x35d3cd(_0x2a6151,_0x2929cb,_0x3822a6){const _0x466f28=_0x443151;var _0x36ae5e,_0x559841={},_0x45e9fb=null,_0x5d3cd9=null;_0x3822a6!==void 0x0&&(_0x45e9fb=''+_0x3822a6),_0x2929cb[_0x466f28(0x37d)]!==void 0x0&&(_0x45e9fb=''+_0x2929cb[_0x466f28(0x37d)]),_0x2929cb['ref']!==void 0x0&&(_0x5d3cd9=_0x2929cb[_0x466f28(0x307)]);for(_0x36ae5e in _0x2929cb)_0x5c98f6[_0x466f28(0x271)](_0x2929cb,_0x36ae5e)&&!_0x111b7f['hasOwnProperty'](_0x36ae5e)&&(_0x559841[_0x36ae5e]=_0x2929cb[_0x36ae5e]);if(_0x2a6151&&_0x2a6151['defaultProps']){for(_0x36ae5e in(_0x2929cb=_0x2a6151['defaultProps'],_0x2929cb))_0x559841[_0x36ae5e]===void 0x0&&(_0x559841[_0x36ae5e]=_0x2929cb[_0x36ae5e]);}return{'$$typeof':_0x4553df,'type':_0x2a6151,'key':_0x45e9fb,'ref':_0x5d3cd9,'props':_0x559841,'_owner':_0x979d68[_0x466f28(0x3bf)]};}return _0x488c12[_0x443151(0x3ba)]=_0x23fdb0,_0x488c12[_0x443151(0x218)]=_0x35d3cd,_0x488c12['jsxs']=_0x35d3cd,_0x488c12;}var _0x1895db;function _0x44adbf(){const _0x1e3537=_0x39d902;return _0x1895db||(_0x1895db=0x1,_0x52cd9e[_0x1e3537(0x1de)]=_0x437caf()),_0x52cd9e[_0x1e3537(0x1de)];}var _0x1cff97=_0x44adbf(),_0x2e5f0b=function(){const _0x4b9206=_0x39d902;return _0x2e5f0b=Object[_0x4b9206(0x25e)]||function(_0x47a568){const _0xc2ed53=_0x4b9206;for(var _0x58d5a3,_0x1a5016=0x1,_0x5f0d2b=arguments[_0xc2ed53(0x27c)];_0x1a5016<_0x5f0d2b;_0x1a5016++){_0x58d5a3=arguments[_0x1a5016];for(var _0x4eeb24 in _0x58d5a3)Object[_0xc2ed53(0x2be)][_0xc2ed53(0x2ac)][_0xc2ed53(0x271)](_0x58d5a3,_0x4eeb24)&&(_0x47a568[_0x4eeb24]=_0x58d5a3[_0x4eeb24]);}return _0x47a568;},_0x2e5f0b[_0x4b9206(0x343)](this,arguments);},_0x3f2d73=function(_0x4112ab,_0x5b011e){const _0x15c342=_0x39d902;var _0x4c566b={};for(var _0x7491c2 in _0x4112ab)Object[_0x15c342(0x2be)]['hasOwnProperty'][_0x15c342(0x271)](_0x4112ab,_0x7491c2)&&_0x5b011e['indexOf'](_0x7491c2)<0x0&&(_0x4c566b[_0x7491c2]=_0x4112ab[_0x7491c2]);if(_0x4112ab!=null&&typeof Object['getOwnPropertySymbols']==_0x15c342(0x36e)){for(var _0x4d060d=0x0,_0x7491c2=Object[_0x15c342(0x1c3)](_0x4112ab);_0x4d060d<_0x7491c2[_0x15c342(0x27c)];_0x4d060d++)_0x5b011e[_0x15c342(0x3bc)](_0x7491c2[_0x4d060d])<0x0&&Object[_0x15c342(0x2be)][_0x15c342(0x360)][_0x15c342(0x271)](_0x4112ab,_0x7491c2[_0x4d060d])&&(_0x4c566b[_0x7491c2[_0x4d060d]]=_0x4112ab[_0x7491c2[_0x4d060d]]);}return _0x4c566b;},_0x53ecd6=_0x18c3ec[_0x39d902(0x3d8)](function(_0x32459f,_0x5d2175){const _0x69d09a=_0x39d902;var _0x494813=_0x32459f[_0x69d09a(0x202)],_0x1ab0c7=_0x32459f['id'],_0x57359f=_0x32459f[_0x69d09a(0x256)],_0x369453=_0x32459f['extend'],_0x163f95=_0x3f2d73(_0x32459f,[_0x69d09a(0x202),'id','className',_0x69d09a(0x2c8)]),_0x1c9f65=_0x69d09a(0x24e)['concat'](_0x1ab0c7,'\x20')['concat'](_0x57359f||'')[_0x69d09a(0x293)](),_0x4a71a7=_0x18c3ec[_0x69d09a(0x226)]('_'[_0x69d09a(0x266)](_0x5f40b9()));return _0x3a46e6(_0x494813,''[_0x69d09a(0x266)](_0x1ab0c7),{'defIds':_0x494813['defIds'],'idSuffix':_0x4a71a7[_0x69d09a(0x3bf)]},_0x2e5f0b({'ref':_0x5d2175,'className':_0x1c9f65},_0x163f95),_0x369453);});function _0x3a46e6(_0xb6cc42,_0x42eb04,_0x10780,_0x253e8e,_0x4aaf28){const _0x2171bb=_0x39d902;return _0x18c3ec[_0x2171bb(0x3db)](_0xb6cc42['tag'],_0x2e5f0b(_0x2e5f0b({'key':_0x42eb04},_0x23518e(_0xb6cc42,_0x10780,_0x4aaf28)),_0x253e8e),(_0x223074(_0xb6cc42,_0x10780)['children']||[])['map'](function(_0x536da7,_0x5148c3){const _0x25bd0b=_0x2171bb;return _0x3a46e6(_0x536da7,''[_0x25bd0b(0x266)](_0x42eb04,'-')[_0x25bd0b(0x266)](_0xb6cc42[_0x25bd0b(0x2dc)],'-')[_0x25bd0b(0x266)](_0x5148c3),_0x10780,void 0x0,_0x4aaf28);}));}function _0x23518e(_0x56cc7e,_0x1c3b38,_0x1cd4fa){const _0x3781ac=_0x39d902;var _0x371771=_0x2e5f0b({},_0x56cc7e[_0x3781ac(0x2d3)]);_0x1cd4fa!=null&&_0x1cd4fa[_0x3781ac(0x34d)]&&_0x371771[_0x3781ac(0x318)]===_0x3781ac(0x34d)&&(_0x371771['fill']=_0x1cd4fa['colorChannel1']);var _0x4a811e=_0x1c3b38[_0x3781ac(0x283)];return!_0x4a811e||_0x4a811e['length']===0x0||(_0x56cc7e['tag']==='use'&&_0x371771[_0x3781ac(0x252)]&&(_0x371771[_0x3781ac(0x252)]=_0x371771[_0x3781ac(0x252)]+_0x1c3b38[_0x3781ac(0x3e4)]),Object[_0x3781ac(0x1bf)](_0x371771)[_0x3781ac(0x367)](function(_0x534bf0){const _0x4f3cae=_0x3781ac;var _0x101210=_0x534bf0[0x0],_0x3f5fdf=_0x534bf0[0x1];typeof _0x3f5fdf=='string'&&(_0x371771[_0x101210]=_0x3f5fdf[_0x4f3cae(0x2df)](/url\(#(.*)\)/,_0x4f3cae(0x372)[_0x4f3cae(0x266)](_0x1c3b38[_0x4f3cae(0x3e4)],')')));})),_0x371771;}function _0x223074(_0x1a3e02,_0x3c0f73){const _0x12ad06=_0x39d902;var _0x389af7,_0x5c828e=_0x3c0f73[_0x12ad06(0x283)];return!_0x5c828e||_0x5c828e[_0x12ad06(0x27c)]===0x0?_0x1a3e02:_0x1a3e02[_0x12ad06(0x2dc)]==='defs'&&(!((_0x389af7=_0x1a3e02[_0x12ad06(0x278)])===null||_0x389af7===void 0x0)&&_0x389af7[_0x12ad06(0x27c)])?_0x2e5f0b(_0x2e5f0b({},_0x1a3e02),{'children':_0x1a3e02[_0x12ad06(0x278)][_0x12ad06(0x249)](function(_0x45564f){const _0x29311a=_0x12ad06;return typeof _0x45564f[_0x29311a(0x2d3)]['id']==_0x29311a(0x212)&&_0x5c828e&&_0x5c828e[_0x29311a(0x3bc)](_0x45564f[_0x29311a(0x2d3)]['id'])>-0x1?_0x2e5f0b(_0x2e5f0b({},_0x45564f),{'attrs':_0x2e5f0b(_0x2e5f0b({},_0x45564f[_0x29311a(0x2d3)]),{'id':_0x45564f[_0x29311a(0x2d3)]['id']+_0x3c0f73[_0x29311a(0x3e4)]})}):_0x45564f;})}):_0x1a3e02;}function _0x5f40b9(){const _0x1a381d=_0x39d902;return Math[_0x1a381d(0x214)]()[_0x1a381d(0x326)](0x24)[_0x1a381d(0x3f5)](0x2,0x8);}_0x53ecd6[_0x39d902(0x1bc)]=_0x39d902(0x23b);var _0x3d3237={'tag':_0x39d902(0x322),'attrs':{'fill':_0x39d902(0x341),'viewBox':_0x39d902(0x261),'width':_0x39d902(0x314),'height':_0x39d902(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x39d902(0x33c)},'children':[{'tag':_0x39d902(0x22b),'attrs':{'stroke':_0x39d902(0x2f9),'d':_0x39d902(0x347),'strokeLinecap':_0x39d902(0x1b1),'strokeLinejoin':_0x39d902(0x1b1),'strokeWidth':1.2}}]},{'tag':_0x39d902(0x25b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x39d902(0x30d)},'children':[{'tag':_0x39d902(0x22b),'attrs':{'fill':_0x39d902(0x24d),'d':_0x39d902(0x3f9)}}]}]}],'defIds':[_0x39d902(0x30d)]},_0x4b77ec=_0x18c3ec[_0x39d902(0x3d8)](function(_0x2eb637,_0x4f5135){const _0x2516be=_0x39d902;return _0x18c3ec[_0x2516be(0x3db)](_0x53ecd6,Object[_0x2516be(0x25e)]({},_0x2eb637,{'id':'off-line-single','ref':_0x4f5135,'icon':_0x3d3237}));});_0x4b77ec[_0x39d902(0x1bc)]=_0x39d902(0x381);var _0x2bf34b={'tag':_0x39d902(0x322),'attrs':{'fill':_0x39d902(0x341),'viewBox':_0x39d902(0x3b0),'width':'1em','height':_0x39d902(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x39d902(0x390)},'children':[{'tag':_0x39d902(0x22b),'attrs':{'stroke':_0x39d902(0x2f9),'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':_0x39d902(0x1b1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x39d902(0x378)},'children':[{'tag':_0x39d902(0x22b),'attrs':{'fill':_0x39d902(0x24d),'d':'M0\x200H16V16H0z','transform':_0x39d902(0x258)}}]}]}],'defIds':[_0x39d902(0x378)]},_0x32cfe6=_0x18c3ec[_0x39d902(0x3d8)](function(_0x5480ea,_0x587f37){const _0x4f1ad5=_0x39d902;return _0x18c3ec[_0x4f1ad5(0x3db)](_0x53ecd6,Object['assign']({},_0x5480ea,{'id':_0x4f1ad5(0x2bd),'ref':_0x587f37,'icon':_0x2bf34b}));});_0x32cfe6[_0x39d902(0x1bc)]=_0x39d902(0x2cb);function _0x84e65e(_0x15aca3){const _0x19494d=_0x39d902;var _0x209b43,_0x1971cf,_0x2e9496='';if(typeof _0x15aca3==_0x19494d(0x212)||typeof _0x15aca3=='number')_0x2e9496+=_0x15aca3;else{if(typeof _0x15aca3==_0x19494d(0x335)){if(Array[_0x19494d(0x1b2)](_0x15aca3)){var _0x1dfc1b=_0x15aca3['length'];for(_0x209b43=0x0;_0x209b43<_0x1dfc1b;_0x209b43++)_0x15aca3[_0x209b43]&&(_0x1971cf=_0x84e65e(_0x15aca3[_0x209b43]))&&(_0x2e9496&&(_0x2e9496+='\x20'),_0x2e9496+=_0x1971cf);}else{for(_0x1971cf in _0x15aca3)_0x15aca3[_0x1971cf]&&(_0x2e9496&&(_0x2e9496+='\x20'),_0x2e9496+=_0x1971cf);}}}return _0x2e9496;}function _0x249d3e(){for(var _0x125e50,_0x48ef1b,_0x2aebc8=0x0,_0x12b213='',_0x24f82c=arguments['length'];_0x2aebc8<_0x24f82c;_0x2aebc8++)(_0x125e50=arguments[_0x2aebc8])&&(_0x48ef1b=_0x84e65e(_0x125e50))&&(_0x12b213&&(_0x12b213+='\x20'),_0x12b213+=_0x48ef1b);return _0x12b213;}const _0x5b3597={'onlineStatusIcon':_0x39d902(0x3ad),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x39d902(0x2a9),'online':_0x39d902(0x353),'offline':_0x39d902(0x216)};function _0x314d9d(_0x32c85c){const _0x394715=_0x39d902;switch(_0x32c85c){case _0x3d1e18[_0x394715(0x301)][_0x394715(0x404)]:return _0x394715(0x304);case _0x3d1e18[_0x394715(0x301)][_0x394715(0x315)]:return'collabStatus.conflict';case _0x3d1e18[_0x394715(0x301)][_0x394715(0x24f)]:return _0x394715(0x3d2);case _0x3d1e18[_0x394715(0x301)][_0x394715(0x2ff)]:return _0x394715(0x2bb);case _0x3d1e18[_0x394715(0x301)][_0x394715(0x2e3)]:case _0x3d1e18[_0x394715(0x301)][_0x394715(0x37a)]:return _0x394715(0x340);case _0x3d1e18['CollaborationStatus'][_0x394715(0x240)]:case _0x3d1e18['CollaborationStatus']['PENDING']:return _0x394715(0x1f1);}}function _0x57b3aa(_0x444b2f){const _0x31d6d9=_0x39d902,{status$:_0x36afe8}=_0x444b2f,_0x28746a=_0x4bd433[_0x31d6d9(0x342)](_0x36afe8,_0x3d1e18[_0x31d6d9(0x301)][_0x31d6d9(0x2ff)]),_0x14977b=_0x4f8b31['useDependency'](_0x4f8b31[_0x31d6d9(0x27f)]),_0x5953fb=_0x4f8b31[_0x31d6d9(0x3f0)](_0x3d1e18[_0x31d6d9(0x370)]),_0x60bdb5=_0x28746a!==_0x3d1e18[_0x31d6d9(0x301)][_0x31d6d9(0x404)],_0x4b4a01=_0x14977b['t'](_0x314d9d(_0x28746a)),_0x569c18=_0x249d3e(_0x5b3597[_0x31d6d9(0x39f)],{[_0x5b3597[_0x31d6d9(0x25f)]]:_0x60bdb5,[_0x5b3597['offline']]:!_0x60bdb5}),_0x1cdafd=_0x60bdb5?_0x1cff97[_0x31d6d9(0x218)](_0x32cfe6,{}):_0x1cff97[_0x31d6d9(0x218)](_0x4b77ec,{}),_0xabe44c=_0x18c3ec['useCallback'](()=>{const _0xc7350a=_0x31d6d9;_0x60bdb5||_0x5953fb[_0xc7350a(0x2fd)]();},[_0x60bdb5,_0x5953fb]);function _0x2462ad(){const _0xf02cd3=_0x31d6d9;return _0x1cff97[_0xf02cd3(0x1dc)](_0xf02cd3(0x1f7),{'className':_0x569c18,'onClick':_0xabe44c,'children':[_0x1cff97[_0xf02cd3(0x218)](_0xf02cd3(0x1f7),{'className':_0x5b3597[_0xf02cd3(0x325)],'children':_0x1cdafd}),_0x1cff97[_0xf02cd3(0x218)](_0xf02cd3(0x1f7),{'className':_0x5b3597[_0xf02cd3(0x364)],'children':_0x4b4a01})]});}return _0x60bdb5?_0x2462ad():_0x1cff97[_0x31d6d9(0x218)](_0x2654c2[_0x31d6d9(0x32f)],{'title':_0x14977b['t']('collab-client.tooltip.reconnect'),'children':_0x2462ad()});}var _0x35f432=Object[_0x39d902(0x213)],_0x2fa469=Object[_0x39d902(0x269)],_0x4bc629=(_0x1cfb9b,_0x4150d8,_0x11c091,_0x3d0462)=>{for(var _0x27a677=_0x3d0462>0x1?void 0x0:_0x3d0462?_0x2fa469(_0x4150d8,_0x11c091):_0x4150d8,_0x42f8ed=_0x1cfb9b['length']-0x1,_0x1e901d;_0x42f8ed>=0x0;_0x42f8ed--)(_0x1e901d=_0x1cfb9b[_0x42f8ed])&&(_0x27a677=(_0x3d0462?_0x1e901d(_0x4150d8,_0x11c091,_0x27a677):_0x1e901d(_0x27a677))||_0x27a677);return _0x3d0462&&_0x27a677&&_0x35f432(_0x4150d8,_0x11c091,_0x27a677),_0x27a677;},_0x335e06=(_0x2d99aa,_0x18704b)=>(_0x34666d,_0x34f987)=>_0x18704b(_0x34666d,_0x34f987,_0x2d99aa);_0x51abc4[_0x39d902(0x1bb)]=class extends _0x4f8b31[_0x39d902(0x1f2)]{constructor(_0x1cc3f8,_0x4fb4df,_0x358bd4,_0x12e9f6){const _0x10776b=_0x39d902;super(),_0x33faca(this,_0x10776b(0x35a),new _0x420140[(_0x10776b(0x2e5))](_0x3d1e18[_0x10776b(0x301)][_0x10776b(0x2ff)])),(this[_0x10776b(0x302)]=_0x1cc3f8,this[_0x10776b(0x1b8)]=_0x4fb4df,this[_0x10776b(0x3a6)]=_0x358bd4,this['_uiPartsService']=_0x12e9f6,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x39d902(0x361)](){const _0x479582=_0x39d902;this[_0x479582(0x280)](this[_0x479582(0x302)][_0x479582(0x31e)]['pipe'](_0x420140[_0x479582(0x243)](()=>{const _0x384638=_0x479582,_0x3c615e=this['_univerInstanceService'][_0x384638(0x22f)]();return _0x3c615e?this[_0x384638(0x3a6)][_0x384638(0x1c7)](_0x3c615e[_0x384638(0x3c3)]()):_0x420140['of'](null);}),_0x420140[_0x479582(0x243)](_0x4db956=>_0x4db956?_0x4db956['status$']:_0x420140['of'](_0x3d1e18[_0x479582(0x301)][_0x479582(0x2ff)])))[_0x479582(0x22c)](_0xe270ba=>{const _0x39e6db=_0x479582;this['_status$'][_0x39e6db(0x225)](_0xe270ba);}));}[_0x39d902(0x2fb)](){const _0x54d6ba=_0x39d902;this[_0x54d6ba(0x280)](this['_uiPartsService'][_0x54d6ba(0x3df)](_0x4bd433[_0x54d6ba(0x267)]['HEADER_MENU'],()=>_0x4f8b31[_0x54d6ba(0x254)](_0x11fe66({'status$':this[_0x54d6ba(0x35a)][_0x54d6ba(0x215)]()}),this[_0x54d6ba(0x1b8)])));}},_0x51abc4[_0x39d902(0x1bb)]=_0x4bc629([_0x335e06(0x0,_0x4f8b31[_0x39d902(0x2a3)]),_0x335e06(0x1,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31[_0x39d902(0x391)])),_0x335e06(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18[_0x39d902(0x27a)])),_0x335e06(0x3,_0x4bd433[_0x39d902(0x22a)])],_0x51abc4[_0x39d902(0x1bb)]);function _0x11fe66(_0x108a51){const {status$:_0x1845ce}=_0x108a51;return function(){const _0x15c12f=_0x4635;return _0x1cff97[_0x15c12f(0x218)](_0x57b3aa,{'status$':_0x1845ce});};}var _0x18c170=Object[_0x39d902(0x213)],_0x21b3ef=Object['getOwnPropertyDescriptor'],_0x588b2a=(_0x4c7f8a,_0x2065c0,_0x341c09,_0xe2eb33)=>{for(var _0x47ebd2=_0xe2eb33>0x1?void 0x0:_0xe2eb33?_0x21b3ef(_0x2065c0,_0x341c09):_0x2065c0,_0xd9c566=_0x4c7f8a['length']-0x1,_0x894a0d;_0xd9c566>=0x0;_0xd9c566--)(_0x894a0d=_0x4c7f8a[_0xd9c566])&&(_0x47ebd2=(_0xe2eb33?_0x894a0d(_0x2065c0,_0x341c09,_0x47ebd2):_0x894a0d(_0x47ebd2))||_0x47ebd2);return _0xe2eb33&&_0x47ebd2&&_0x18c170(_0x2065c0,_0x341c09,_0x47ebd2),_0x47ebd2;},_0x33cd1=(_0x3ed76b,_0x3e51d4)=>(_0x5af5f3,_0x1261a1)=>_0x3e51d4(_0x5af5f3,_0x1261a1,_0x3ed76b);let _0x412b72=class extends _0x4f8b31['Disposable']{constructor(_0x5004a7,_0x51a61a,_0x34b68f,_0x51d91c,_0xe59702,_0x3ee02f){const _0x431059=_0x39d902;super(),this[_0x431059(0x27e)]=_0x5004a7,this[_0x431059(0x36b)]=_0x51a61a,this['_collaborationUIEventService']=_0x34b68f,this['_messageService']=_0x51d91c,this[_0x431059(0x37e)]=_0xe59702,this['_localeService']=_0x3ee02f,this[_0x431059(0x232)](),this['_initEvent']();}[_0x39d902(0x232)](){const _0x4a3277=_0x39d902;this['disposeWithMe'](this[_0x4a3277(0x27e)]['registerBeforeClose'](()=>{const _0x2c06b2=_0x4a3277;if(this[_0x2c06b2(0x36b)]['saveTaskMap'][_0x2c06b2(0x3c4)])return this[_0x2c06b2(0x1c8)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x3b10b0=_0x39d902;this[_0x3b10b0(0x280)](this[_0x3b10b0(0x3fa)][_0x3b10b0(0x36f)]['subscribe'](_0x160df5=>{const _0x16e355=_0x3b10b0;_0x160df5['id']===_0x3d1e18['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x16e355(0x247)]['show']({'content':this['_localeService']['t'](_0x16e355(0x1db)),'type':_0x2654c2[_0x16e355(0x3f8)][_0x16e355(0x2b6)]}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)]['CLOSE_ROOM']&&this[_0x16e355(0x247)][_0x16e355(0x277)]({'content':this[_0x16e355(0x1c8)]['t'](_0x16e355(0x305)),'type':_0x2654c2['MessageType']['Warning']}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)]['PERMISSION_DENIED']&&this[_0x16e355(0x37e)][_0x16e355(0x277)]({'title':this[_0x16e355(0x1c8)]['t']('permission.title'),'content':this[_0x16e355(0x1c8)]['t']('permission.content'),'type':_0x16e355(0x24c),'duration':0x0}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)][_0x16e355(0x315)]&&this[_0x16e355(0x247)]['show']({'type':_0x2654c2[_0x16e355(0x3f8)]['Error'],'content':this[_0x16e355(0x1c8)]['t'](_0x16e355(0x305))+'('+_0x160df5[_0x16e355(0x35c)]+')'}),_0x160df5['id']===_0x3d1e18['CollaborationUIEventId'][_0x16e355(0x2e7)]&&this['_messageService'][_0x16e355(0x277)]({'type':_0x2654c2[_0x16e355(0x3f8)]['Warning'],'content':this[_0x16e355(0x1c8)]['t'](_0x160df5['data']||'')}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)][_0x16e355(0x2c1)]&&this[_0x16e355(0x247)][_0x16e355(0x277)]({'key':'collaboration-session-retry','type':_0x2654c2['MessageType']['Warning'],'content':this[_0x16e355(0x1c8)]['t'](_0x16e355(0x2ef))}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)][_0x16e355(0x237)]&&this['_messageService']['show']({'key':_0x16e355(0x3a7),'type':_0x2654c2[_0x16e355(0x3f8)][_0x16e355(0x3e2)],'content':this[_0x16e355(0x1c8)]['t'](_0x16e355(0x321))}),_0x160df5['id']===_0x3d1e18[_0x16e355(0x3a1)][_0x16e355(0x337)]&&this['_messageService'][_0x16e355(0x277)]({'type':_0x2654c2[_0x16e355(0x3f8)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x412b72=_0x588b2a([_0x33cd1(0x0,_0x4bd433[_0x39d902(0x2b7)]),_0x33cd1(0x1,_0x3d1e18[_0x39d902(0x1b9)]),_0x33cd1(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18[_0x39d902(0x1cf)])),_0x33cd1(0x3,_0x4bd433[_0x39d902(0x2b3)]),_0x33cd1(0x4,_0x4bd433[_0x39d902(0x285)]),_0x33cd1(0x5,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31[_0x39d902(0x27f)]))],_0x412b72);const _0x3fe491=_0x39d902(0x369),_0x53d0e8={};var _0x1225d5=Object[_0x39d902(0x213)],_0x51a07c=Object[_0x39d902(0x269)],_0x1a92e1=(_0x272538,_0x1cd5be,_0x1cf796,_0x4a7fbf)=>{for(var _0x16cf1e=_0x4a7fbf>0x1?void 0x0:_0x4a7fbf?_0x51a07c(_0x1cd5be,_0x1cf796):_0x1cd5be,_0x20242b=_0x272538['length']-0x1,_0x41db87;_0x20242b>=0x0;_0x20242b--)(_0x41db87=_0x272538[_0x20242b])&&(_0x16cf1e=(_0x4a7fbf?_0x41db87(_0x1cd5be,_0x1cf796,_0x16cf1e):_0x41db87(_0x16cf1e))||_0x16cf1e);return _0x4a7fbf&&_0x16cf1e&&_0x1225d5(_0x1cd5be,_0x1cf796,_0x16cf1e),_0x16cf1e;},_0x55fbd6=(_0x37b430,_0x5b1c8f)=>(_0x420801,_0x29a710)=>_0x5b1c8f(_0x420801,_0x29a710,_0x37b430);let _0x38dbdf=class{constructor(_0x18a129,_0x9af614,_0x548a9b){const _0x25830c=_0x39d902;this['_injector']=_0x18a129,this[_0x25830c(0x25c)]=_0x9af614,this[_0x25830c(0x250)]=_0x548a9b;}[_0x39d902(0x34b)](_0x4e62a0){const _0x5614ea=_0x39d902;this[_0x5614ea(0x398)](_0x4e62a0),this['_transformPreviousActiveRange'](_0x4e62a0);}[_0x39d902(0x1e4)](_0x197e11){const _0x1728c6=_0x39d902,{unitID:_0x1d895b}=_0x197e11,_0x1bd3cc=this[_0x1728c6(0x250)][_0x1728c6(0x20f)](_0x1d895b)[_0x1728c6(0x39e)](_0x3dcbe8[_0x1728c6(0x274)]),{redoCache:_0x6b3632}=_0x1bd3cc[_0x1728c6(0x230)]();if(_0x6b3632[_0x1728c6(0x27c)]===0x0)return _0x197e11;let _0x4b09a4=_0x4f8b31[_0x1728c6(0x1cc)]['deepClone'](_0x197e11[_0x1728c6(0x2d7)][0x0]);for(let _0x289f21=0x0;_0x289f21<_0x6b3632[_0x1728c6(0x27c)];_0x289f21++){const _0x49a4f3={'id':_0x1728c6(0x34c),'params':{..._0x6b3632[_0x289f21]}},_0x30394=this[_0x1728c6(0x25c)]['transformMutation'](_0x4b09a4,_0x49a4f3,!0x1);if(_0x185f6a[_0x1728c6(0x1c2)](_0x30394))throw _0x30394[_0x1728c6(0x24c)];_0x4b09a4=_0x30394[_0x1728c6(0x27b)];}return{..._0x4f8b31[_0x1728c6(0x1cc)][_0x1728c6(0x29d)](_0x197e11),'mutations':[_0x4b09a4]};}[_0x39d902(0x398)](_0x2ebcad){const _0x2c0392=_0x39d902,{unitID:_0x39ff09}=_0x2ebcad,_0x3b2a04=this[_0x2c0392(0x250)][_0x2c0392(0x20f)](_0x39ff09)[_0x2c0392(0x39e)](_0x3dcbe8['DocIMEInputManagerService']),{undoCache:_0x5041fb,redoCache:_0x59b6c1}=_0x3b2a04[_0x2c0392(0x230)]();if(_0x5041fb[_0x2c0392(0x27c)]===0x0||_0x59b6c1['length']===0x0)return;const _0x2f680f=[],_0x3cff11=[];let _0x36e586=_0x4f8b31[_0x2c0392(0x1cc)][_0x2c0392(0x29d)](_0x2ebcad['mutations'][0x0]),_0x4542b7=_0x4f8b31[_0x2c0392(0x1cc)][_0x2c0392(0x29d)](_0x2ebcad[_0x2c0392(0x2d7)][0x0]);for(let _0x3d33fb=_0x5041fb['length']-0x1;_0x3d33fb>=0x0;_0x3d33fb--){const _0x3c5270={'id':_0x2c0392(0x34c),'params':{..._0x5041fb[_0x3d33fb]}},_0x51a1b4={'id':_0x2c0392(0x34c),'params':{..._0x59b6c1[_0x3d33fb]}},_0x3c7f7e=this[_0x2c0392(0x25c)]['transformMutation'](_0x36e586,_0x3c5270,!0x1),_0x4f3434=this['_transformService'][_0x2c0392(0x349)](_0x4542b7,_0x51a1b4,!0x1);if(_0x185f6a[_0x2c0392(0x1c2)](_0x3c7f7e))throw _0x3c7f7e[_0x2c0392(0x24c)];if(_0x185f6a[_0x2c0392(0x1c2)](_0x4f3434))throw _0x4f3434['error'];_0x2f680f[_0x2c0392(0x207)](_0x3c7f7e[_0x2c0392(0x3fc)][_0x2c0392(0x3e1)]),_0x3cff11[_0x2c0392(0x207)](_0x4f3434[_0x2c0392(0x3fc)][_0x2c0392(0x3e1)]),_0x36e586=_0x3c7f7e[_0x2c0392(0x27b)],_0x4542b7=_0x4f3434[_0x2c0392(0x27b)];}_0x3b2a04[_0x2c0392(0x327)]({'undoCache':_0x2f680f,'redoCache':_0x3cff11});}[_0x39d902(0x2b8)](_0x59b6e5){const _0x1f80f7=_0x39d902,{unitID:_0x627c5b}=_0x59b6e5,_0x57c2c3=this[_0x1f80f7(0x250)][_0x1f80f7(0x20f)](_0x627c5b)[_0x1f80f7(0x39e)](_0x3dcbe8[_0x1f80f7(0x274)]),_0x1617b9=_0x57c2c3[_0x1f80f7(0x26b)]();if(_0x1617b9==null)return;const _0x4e2399=[{'id':_0x1f80f7(0x34c),'params':{'unitId':_0x59b6e5[_0x1f80f7(0x3af)],'actions':null,'textRanges':[_0x1617b9]}}],_0x24a38e=this[_0x1f80f7(0x25c)][_0x1f80f7(0x354)](_0x59b6e5,_0x4e2399);if(!_0x185f6a['isTransformMutationsWithChangesetSuccess'](_0x24a38e))throw _0x24a38e[_0x1f80f7(0x24c)];const _0x4e3142=_0x24a38e['m2Prime'][0x0][_0x1f80f7(0x3e1)][_0x1f80f7(0x26c)];Array['isArray'](_0x4e3142)&&_0x4e3142[_0x1f80f7(0x27c)]&&_0x57c2c3[_0x1f80f7(0x203)](_0x4e3142[0x0]);}};_0x38dbdf=_0x1a92e1([_0x55fbd6(0x0,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31['Injector'])),_0x55fbd6(0x1,_0x185f6a[_0x39d902(0x297)]),_0x55fbd6(0x2,_0x3d54bb[_0x39d902(0x1fe)])],_0x38dbdf);var _0x12a928=Object['defineProperty'],_0x423235=Object['getOwnPropertyDescriptor'],_0x565d8e=(_0x5972b1,_0x16a921,_0x1eb348,_0x27f3c8)=>{const _0xe95b7f=_0x39d902;for(var _0x40c47c=_0x27f3c8>0x1?void 0x0:_0x27f3c8?_0x423235(_0x16a921,_0x1eb348):_0x16a921,_0x456589=_0x5972b1[_0xe95b7f(0x27c)]-0x1,_0x80b1a1;_0x456589>=0x0;_0x456589--)(_0x80b1a1=_0x5972b1[_0x456589])&&(_0x40c47c=(_0x27f3c8?_0x80b1a1(_0x16a921,_0x1eb348,_0x40c47c):_0x80b1a1(_0x40c47c))||_0x40c47c);return _0x27f3c8&&_0x40c47c&&_0x12a928(_0x16a921,_0x1eb348,_0x40c47c),_0x40c47c;},_0x51e3c2=(_0x1b77b3,_0x10e851)=>(_0x9929e9,_0x208f0d)=>_0x10e851(_0x9929e9,_0x208f0d,_0x1b77b3);let _0x5b403a=class{constructor(_0x3297d0,_0x389d10,_0x4fb2b5){const _0x412033=_0x39d902;this[_0x412033(0x1b8)]=_0x3297d0,this[_0x412033(0x25c)]=_0x389d10,this[_0x412033(0x33d)]=_0x4fb2b5;}['transformStateCache'](_0x1de996){const _0x34b11d=_0x39d902;this[_0x34b11d(0x2ab)](_0x1de996);}['transformRemoteChangeset'](_0x20a9f4){const _0x404576=_0x39d902,{unitID:_0x387127}=_0x20a9f4,{collaboration:_0x1917fe}=this[_0x404576(0x33d)][_0x404576(0x284)](_0x387127);if(_0x1917fe['length']===0x0)return _0x20a9f4;let _0xef09b8=_0x4f8b31[_0x404576(0x1cc)][_0x404576(0x29d)](_0x20a9f4[_0x404576(0x2d7)][0x0]);for(let _0x3577a4=0x0;_0x3577a4<_0x1917fe[_0x404576(0x27c)];_0x3577a4++){const _0x51b606={'id':_0x404576(0x34c),'params':{'unitId':_0x1917fe[_0x3577a4][_0x404576(0x253)],..._0x1917fe[_0x3577a4][_0x404576(0x26d)]}},_0xfc9912=this[_0x404576(0x25c)][_0x404576(0x349)](_0xef09b8,_0x51b606,!0x1);if(_0x185f6a[_0x404576(0x1c2)](_0xfc9912))throw _0xfc9912[_0x404576(0x24c)];_0xef09b8=_0xfc9912[_0x404576(0x27b)];}return{..._0x4f8b31['Tools']['deepClone'](_0x20a9f4),'mutations':[_0xef09b8]};}[_0x39d902(0x2ab)](_0x1db8a6){const _0x5bed7f=_0x39d902,{unitID:_0x258686}=_0x1db8a6,{history:_0x27a1c8,collaboration:_0x3620b7}=this[_0x5bed7f(0x33d)]['getStateCache'](_0x258686);if(_0x27a1c8['length']===0x0&&_0x3620b7[_0x5bed7f(0x27c)]===0x0)return;const _0x5d177d=[],_0x39c9f=[];let _0x1f2a8c=_0x4f8b31[_0x5bed7f(0x1cc)][_0x5bed7f(0x29d)](_0x1db8a6['mutations'][0x0]),_0x21f0de=_0x4f8b31[_0x5bed7f(0x1cc)][_0x5bed7f(0x29d)](_0x1db8a6['mutations'][0x0]);for(let _0x906501=_0x27a1c8[_0x5bed7f(0x27c)]-0x1;_0x906501>=0x0;_0x906501--){const _0x1d3daf={'id':_0x5bed7f(0x34c),'params':{'unitId':_0x27a1c8[_0x906501][_0x5bed7f(0x253)],..._0x27a1c8[_0x906501][_0x5bed7f(0x377)]}},_0x365714={'id':_0x5bed7f(0x34c),'params':{'unitId':_0x27a1c8[_0x906501][_0x5bed7f(0x253)],..._0x27a1c8[_0x906501]['redoState']}},_0x175e11=this['_transformService']['transformMutation'](_0x1f2a8c,_0x1d3daf,!0x1),_0x3193c1=this['_transformService'][_0x5bed7f(0x349)](_0x21f0de,_0x365714,!0x1);if(_0x185f6a[_0x5bed7f(0x1c2)](_0x175e11))throw _0x175e11[_0x5bed7f(0x24c)];if(_0x185f6a['isTransformMutationFailure'](_0x3193c1))throw _0x3193c1['error'];_0x5d177d[_0x5bed7f(0x207)]({..._0x27a1c8[_0x906501],'undoState':_0x175e11[_0x5bed7f(0x3fc)][_0x5bed7f(0x3e1)],'redoState':_0x3193c1[_0x5bed7f(0x3fc)][_0x5bed7f(0x3e1)]}),_0x1f2a8c=_0x175e11['m1Prime'],_0x21f0de=_0x3193c1[_0x5bed7f(0x27b)];}_0x1f2a8c=_0x4f8b31[_0x5bed7f(0x1cc)][_0x5bed7f(0x29d)](_0x1db8a6['mutations'][0x0]),_0x21f0de=_0x4f8b31[_0x5bed7f(0x1cc)][_0x5bed7f(0x29d)](_0x1db8a6[_0x5bed7f(0x2d7)][0x0]);for(let _0x3f1807=_0x3620b7[_0x5bed7f(0x27c)]-0x1;_0x3f1807>=0x0;_0x3f1807--){const _0x1a013f={'id':_0x5bed7f(0x34c),'params':{'unitId':_0x3620b7[_0x3f1807][_0x5bed7f(0x253)],..._0x3620b7[_0x3f1807][_0x5bed7f(0x377)]}},_0x5e2af3={'id':_0x5bed7f(0x34c),'params':{'unitId':_0x3620b7[_0x3f1807][_0x5bed7f(0x253)],..._0x3620b7[_0x3f1807]['redoState']}},_0x2b9330=this[_0x5bed7f(0x25c)]['transformMutation'](_0x1f2a8c,_0x1a013f,!0x1),_0x2d828f=this[_0x5bed7f(0x25c)][_0x5bed7f(0x349)](_0x21f0de,_0x5e2af3,!0x1);if(_0x185f6a[_0x5bed7f(0x1c2)](_0x2b9330))throw _0x2b9330[_0x5bed7f(0x24c)];if(_0x185f6a[_0x5bed7f(0x1c2)](_0x2d828f))throw _0x2d828f[_0x5bed7f(0x24c)];_0x39c9f['unshift']({..._0x3620b7[_0x3f1807],'undoState':_0x2b9330[_0x5bed7f(0x3fc)][_0x5bed7f(0x3e1)],'redoState':_0x2d828f[_0x5bed7f(0x3fc)]['params']}),_0x1f2a8c=_0x2b9330['m1Prime'],_0x21f0de=_0x2d828f[_0x5bed7f(0x27b)];}this[_0x5bed7f(0x33d)][_0x5bed7f(0x21b)](_0x258686,{'history':_0x5d177d,'collaboration':_0x39c9f});}};_0x5b403a=_0x565d8e([_0x51e3c2(0x0,_0x4f8b31['Inject'](_0x4f8b31[_0x39d902(0x391)])),_0x51e3c2(0x1,_0x185f6a[_0x39d902(0x297)]),_0x51e3c2(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x3dcbe8[_0x39d902(0x1da)]))],_0x5b403a);var _0x2af38b=Object[_0x39d902(0x213)],_0xafed18=Object[_0x39d902(0x269)],_0x3523ef=(_0x26150d,_0x1d929b,_0x41a15d,_0x506fc9)=>{for(var _0x5662e3=_0x506fc9>0x1?void 0x0:_0x506fc9?_0xafed18(_0x1d929b,_0x41a15d):_0x1d929b,_0x3f6693=_0x26150d['length']-0x1,_0x55ddd5;_0x3f6693>=0x0;_0x3f6693--)(_0x55ddd5=_0x26150d[_0x3f6693])&&(_0x5662e3=(_0x506fc9?_0x55ddd5(_0x1d929b,_0x41a15d,_0x5662e3):_0x55ddd5(_0x5662e3))||_0x5662e3);return _0x506fc9&&_0x5662e3&&_0x2af38b(_0x1d929b,_0x41a15d,_0x5662e3),_0x5662e3;},_0x20ac3d=(_0x2dad05,_0x4decd1)=>(_0x315963,_0x240fc8)=>_0x4decd1(_0x315963,_0x240fc8,_0x2dad05);let _0x36bc6b=class{constructor(_0x2ca5dd,_0xadf46e){const _0x33c1f3=_0x39d902;this[_0x33c1f3(0x1b8)]=_0x2ca5dd,this['_transformService']=_0xadf46e;}[_0x39d902(0x368)](_0x59a29a){const _0x349cdb=_0x39d902;var _0x3dbb88;const _0x2beb18=this[_0x349cdb(0x1b8)][_0x349cdb(0x2f5)](_0xec89f4[_0x349cdb(0x235)]),_0xcfb804=(_0x3dbb88=_0x2beb18['getDocRanges']())!=null?_0x3dbb88:[];if(_0xcfb804[_0x349cdb(0x27c)]===0x0)return;const _0x2f3177=_0x59a29a[_0x349cdb(0x3af)],_0x3bc13b=[{'id':_0x349cdb(0x34c),'params':{'unitId':_0x2f3177,'actions':null,'textRanges':_0xcfb804}}],_0x5e059e=this[_0x349cdb(0x25c)]['transformMutationsWithChangeset'](_0x59a29a,_0x3bc13b);if(!_0x185f6a[_0x349cdb(0x3ca)](_0x5e059e))throw _0x5e059e[_0x349cdb(0x24c)];const _0x3daa29=_0x5e059e['m2Prime'][0x0][_0x349cdb(0x3e1)]['textRanges'];Array[_0x349cdb(0x1b2)](_0x3daa29)&&_0x3daa29[_0x349cdb(0x27c)]&&_0x2beb18[_0x349cdb(0x3c8)](_0x3daa29,{'unitId':_0x2f3177,'subUnitId':_0x2f3177},!0x1);}};_0x36bc6b=_0x3523ef([_0x20ac3d(0x0,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31['Injector'])),_0x20ac3d(0x1,_0x185f6a['ITransformService'])],_0x36bc6b);var _0x151ecd=Object[_0x39d902(0x213)],_0x2f4195=Object[_0x39d902(0x269)],_0x5478fc=(_0x4c4909,_0x3040ce,_0x740d4f,_0x3aa191)=>{const _0x2cc58e=_0x39d902;for(var _0x6f9528=_0x3aa191>0x1?void 0x0:_0x3aa191?_0x2f4195(_0x3040ce,_0x740d4f):_0x3040ce,_0x24c135=_0x4c4909[_0x2cc58e(0x27c)]-0x1,_0xf1436f;_0x24c135>=0x0;_0x24c135--)(_0xf1436f=_0x4c4909[_0x24c135])&&(_0x6f9528=(_0x3aa191?_0xf1436f(_0x3040ce,_0x740d4f,_0x6f9528):_0xf1436f(_0x6f9528))||_0x6f9528);return _0x3aa191&&_0x6f9528&&_0x151ecd(_0x3040ce,_0x740d4f,_0x6f9528),_0x6f9528;},_0x31545b=(_0x535e4d,_0x1a56e8)=>(_0x3381c1,_0x34d5e3)=>_0x1a56e8(_0x3381c1,_0x34d5e3,_0x535e4d);let _0x212d4a=class extends _0x4f8b31[_0x39d902(0x1f2)]{constructor(_0x31876b,_0x3a260c,_0x266ecb,_0x5213fe,_0x5cb0ec,_0x47c622,_0x14be68,_0x15e9f7){const _0x1d1669=_0x39d902;super(),_0x33faca(this,_0x1d1669(0x35a),new _0x420140[(_0x1d1669(0x2e5))](_0x3d1e18[_0x1d1669(0x301)][_0x1d1669(0x2ff)])),(this[_0x1d1669(0x33d)]=_0x31876b,this[_0x1d1669(0x3a6)]=_0x3a260c,this[_0x1d1669(0x3d7)]=_0x266ecb,this[_0x1d1669(0x2ba)]=_0x5213fe,this[_0x1d1669(0x1d9)]=_0x5cb0ec,this[_0x1d1669(0x38e)]=_0x47c622,this[_0x1d1669(0x247)]=_0x14be68,this[_0x1d1669(0x1c8)]=_0x15e9f7,this[_0x1d1669(0x264)]());}['_initEntityListener'](){const _0xc2f49b=_0x39d902;this['disposeWithMe'](this[_0xc2f49b(0x3a6)][_0xc2f49b(0x206)][_0xc2f49b(0x22c)](_0xbeba4e=>{const _0x33ec89=_0xc2f49b,_0x33585d=this['_docStateChangeManagerService'][_0x33ec89(0x3e3)]['subscribe'](_0x4a44ac=>{const _0x3fd677=_0x33ec89;if(_0x4a44ac==null)return;const {unitId:_0x354218,redoState:_0x22d0e2,commandId:_0x3429e1}=_0x4a44ac;if(_0x354218!==_0xbeba4e[_0x3fd677(0x3af)])return;const _0x2014c6={'id':_0x3429e1,'type':_0x4f8b31[_0x3fd677(0x2b4)][_0x3fd677(0x3d6)],'params':{'unitId':_0x354218,'actions':_0x22d0e2[_0x3fd677(0x34a)],'textRanges':null}};_0xbeba4e['onLocalMutation'](_0x2014c6);});if(_0xbeba4e['disposeWithMe'](_0x33585d),_0xbeba4e instanceof _0x3d1e18['DocCollaborationEntity']){const _0xb52dd9={'onTransformIME':_0x39bb3b=>this[_0x33ec89(0x3d7)]['transformIMECache'](_0x39bb3b),'onTransformState':_0x302982=>this[_0x33ec89(0x2ba)][_0x33ec89(0x2de)](_0x302982),'onTransformSelections':_0x2ddc93=>this[_0x33ec89(0x1d9)][_0x33ec89(0x368)](_0x2ddc93),'onSyncEditingCollabCursor':_0x4074d9=>this[_0x33ec89(0x38e)][_0x33ec89(0x210)](_0x4074d9),'onTransformRemoteChangesetByIMECache':_0x49e6c9=>this[_0x33ec89(0x3d7)][_0x33ec89(0x1e4)](_0x49e6c9),'onTransformRemoteChangesetByStateCache':_0x3ffc0e=>this[_0x33ec89(0x2ba)][_0x33ec89(0x1e4)](_0x3ffc0e)};_0xbeba4e[_0x33ec89(0x290)](_0xb52dd9);}}));}};_0x212d4a=_0x5478fc([_0x31545b(0x0,_0x4f8b31['Inject'](_0x3dcbe8[_0x39d902(0x1da)])),_0x31545b(0x1,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18[_0x39d902(0x27a)])),_0x31545b(0x2,_0x4f8b31['Inject'](_0x38dbdf)),_0x31545b(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x5b403a)),_0x31545b(0x4,_0x4f8b31[_0x39d902(0x2f8)](_0x36bc6b)),_0x31545b(0x5,_0x4f8b31[_0x39d902(0x2f8)](_0x3954e4)),_0x31545b(0x6,_0x4bd433[_0x39d902(0x2b3)]),_0x31545b(0x7,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31['LocaleService']))],_0x212d4a);const _0x2666ca=_0x4f8b31[_0x39d902(0x1c1)](_0x39d902(0x3e9));var _0x142a1e=Object[_0x39d902(0x213)],_0x469795=Object['getOwnPropertyDescriptor'],_0x38403a=(_0x484fc6,_0x366af9,_0x283ed8,_0x738307)=>{const _0x3cf292=_0x39d902;for(var _0x4f0915=_0x738307>0x1?void 0x0:_0x738307?_0x469795(_0x366af9,_0x283ed8):_0x366af9,_0x307bdc=_0x484fc6[_0x3cf292(0x27c)]-0x1,_0xc9f2b;_0x307bdc>=0x0;_0x307bdc--)(_0xc9f2b=_0x484fc6[_0x307bdc])&&(_0x4f0915=(_0x738307?_0xc9f2b(_0x366af9,_0x283ed8,_0x4f0915):_0xc9f2b(_0x4f0915))||_0x4f0915);return _0x738307&&_0x4f0915&&_0x142a1e(_0x366af9,_0x283ed8,_0x4f0915),_0x4f0915;},_0xe46624=(_0x134714,_0x3ea790)=>(_0x53a4c1,_0x234ec8)=>_0x3ea790(_0x53a4c1,_0x234ec8,_0x134714);let _0x4c386a=class extends _0x4f8b31[_0x39d902(0x30a)]{constructor(_0x214dd1,_0x46caf2,_0x3b4923,_0x2e5e7b,_0x115a2e){const _0x3ead15=_0x39d902;super(),this[_0x3ead15(0x2d6)]=_0x214dd1,this['_logService']=_0x46caf2,this[_0x3ead15(0x39c)]=_0x3b4923,this[_0x3ead15(0x241)]=_0x2e5e7b,_0x115a2e?_0x115a2e==null||_0x115a2e[_0x3ead15(0x3f2)]()[_0x3ead15(0x217)](()=>this['_init']()):(this['_logService']['debug']('[WebUrlController]',_0x3ead15(0x270)),this[_0x3ead15(0x2c9)]());}async[_0x39d902(0x2c9)](){const _0x4f4d51=_0x39d902,_0x5efe02=this[_0x4f4d51(0x2d6)][_0x4f4d51(0x220)](_0x4f4d51(0x2ed)),_0x2bf38b=this['_urlService']['getParam'](_0x4f4d51(0x21c)),_0x56836b=this[_0x4f4d51(0x2d6)][_0x4f4d51(0x220)](_0x4f4d51(0x374));if(!_0x5efe02||!_0x2bf38b){this['_logService'][_0x4f4d51(0x382)]('[DataLoaderController]',_0x4f4d51(0x3ce));return;}const _0x1704e2=await this[_0x4f4d51(0x241)]['init'](_0x5efe02,Number(_0x2bf38b),_0x56836b);_0x1704e2&&_0x1704e2 instanceof _0x4f8b31[_0x4f4d51(0x405)]&&this[_0x4f4d51(0x3ee)](_0x1704e2);}async['_setupSubUnitSync'](_0x44db4c){const _0x10fbb7=_0x39d902;await this[_0x10fbb7(0x30e)](_0x44db4c),_0x44db4c['activeSheet$'][_0x10fbb7(0x3b2)](_0x420140[_0x10fbb7(0x2fa)](this[_0x10fbb7(0x336)]))[_0x10fbb7(0x22c)](_0x3d6095=>{const _0x272cfc=_0x10fbb7;_0x3d6095&&this[_0x272cfc(0x375)](_0x3d6095);}),this[_0x10fbb7(0x2d6)]['urlChange$'][_0x10fbb7(0x3b2)](_0x420140[_0x10fbb7(0x2fa)](this[_0x10fbb7(0x336)]))[_0x10fbb7(0x22c)](()=>this['_updateSubUnitFromURLParams'](_0x44db4c));}[_0x39d902(0x375)](_0x3ba462,_0x5970b3=!0x1){const _0x2ca526=_0x39d902,_0x227985=this[_0x2ca526(0x2d6)][_0x2ca526(0x220)](_0x2ca526(0x374));_0x3ba462[_0x2ca526(0x397)]()!==_0x227985&&this['_urlService'][_0x2ca526(0x2b5)]('subunit',_0x3ba462['getSheetId'](),_0x5970b3);}async['_updateSubUnitFromURLParams'](_0x280bf1){const _0x3a212f=_0x39d902;var _0x2c57b5;const _0x21567a=this[_0x3a212f(0x2d6)]['getParam'](_0x3a212f(0x374));if(!_0x21567a||!_0x280bf1[_0x3a212f(0x394)](_0x21567a)){const _0x2bf2fa=_0x280bf1[_0x3a212f(0x1dd)]()[0x0],_0x254e43=_0x280bf1['getSheetBySheetId'](_0x2bf2fa);if(!_0x254e43)return;this[_0x3a212f(0x375)](_0x254e43,!0x0),await this[_0x3a212f(0x39c)][_0x3a212f(0x37f)](_0x3a50cf[_0x3a212f(0x30c)]['id'],{'unitId':_0x280bf1[_0x3a212f(0x3c3)](),'subUnitId':_0x2bf2fa});return;}((_0x2c57b5=_0x280bf1[_0x3a212f(0x380)]())==null?void 0x0:_0x2c57b5['getSheetId']())!==_0x21567a&&await this[_0x3a212f(0x39c)][_0x3a212f(0x37f)](_0x3a50cf[_0x3a212f(0x30c)]['id'],{'unitId':_0x280bf1[_0x3a212f(0x3c3)](),'subUnitId':_0x21567a});}};_0x4c386a=_0x38403a([_0xe46624(0x0,_0x2666ca),_0xe46624(0x1,_0x4f8b31[_0x39d902(0x2c5)]),_0xe46624(0x2,_0x4f8b31[_0x39d902(0x402)]),_0xe46624(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x3d1e18[_0x39d902(0x376)])),_0xe46624(0x4,_0x4f8b31[_0x39d902(0x234)](_0xceacaa['IRemoteInstanceService']))],_0x4c386a);var _0xd40394=Object['defineProperty'],_0x3e4b28=Object['getOwnPropertyDescriptor'],_0x55b91f=(_0x19cc9d,_0x39b03e,_0x542bd1,_0x509d8e)=>{const _0xfb40b5=_0x39d902;for(var _0x6a90c1=_0x509d8e>0x1?void 0x0:_0x509d8e?_0x3e4b28(_0x39b03e,_0x542bd1):_0x39b03e,_0x387ee7=_0x19cc9d[_0xfb40b5(0x27c)]-0x1,_0x54e4fa;_0x387ee7>=0x0;_0x387ee7--)(_0x54e4fa=_0x19cc9d[_0x387ee7])&&(_0x6a90c1=(_0x509d8e?_0x54e4fa(_0x39b03e,_0x542bd1,_0x6a90c1):_0x54e4fa(_0x6a90c1))||_0x6a90c1);return _0x509d8e&&_0x6a90c1&&_0xd40394(_0x39b03e,_0x542bd1,_0x6a90c1),_0x6a90c1;},_0xdbc9bf=(_0x4fa064,_0x35b5a1)=>(_0x346d2e,_0x4f30cb)=>_0x35b5a1(_0x346d2e,_0x4f30cb,_0x4fa064);let _0x3e8046=class extends _0x4f8b31['Disposable']{constructor(_0x5d3bf0,_0x1f6e7e,_0x148a60){const _0x5c833f=_0x39d902;super(),_0x33faca(this,_0x5c833f(0x2cf),new Map()),_0x33faca(this,_0x5c833f(0x292),new Map()),_0x33faca(this,'_disabled',!0x1),(this[_0x5c833f(0x21a)]=_0x5d3bf0,this[_0x5c833f(0x3b3)]=_0x1f6e7e,this['_revisionService']=_0x148a60);}['disableLocalCache'](){const _0x5c0a83=_0x39d902;this[_0x5c0a83(0x300)]=!0x0;}[_0x39d902(0x2c6)](){const _0x56a05e=_0x39d902;this[_0x56a05e(0x300)]=!0x1;}get[_0x39d902(0x23d)](){const _0x242572=_0x39d902;return this[_0x242572(0x292)];}[_0x39d902(0x329)](){const _0x1d21c1=_0x39d902;this[_0x1d21c1(0x248)]()[_0x1d21c1(0x217)](()=>super[_0x1d21c1(0x329)]());}async[_0x39d902(0x32d)](_0x35c4c8){const _0x4a4ab8=_0x39d902;return this['_disabled']?null:this[_0x4a4ab8(0x3b3)]['getItem'](_0x3d1e18[_0x4a4ab8(0x1fa)](_0x35c4c8));}async[_0x39d902(0x3d4)](_0x3b4b79,_0x2ae2af){const _0x561f56=_0x39d902;return!!this[_0x561f56(0x3b3)][_0x561f56(0x2f4)](_0x3b4b79,_0x2ae2af);}['updateOfflineData'](_0x5d754c,_0x56a3d0,_0x4f3d5c,_0x3dddd4){const _0x3aea69=_0x39d902,_0x34a393=this['_revisionService'][_0x3aea69(0x279)](_0x5d754c);this[_0x3aea69(0x2cf)][_0x3aea69(0x3b7)](_0x5d754c,{'unitID':_0x5d754c,'type':_0x56a3d0,'awaitingChangeset':_0x4f3d5c,'mutations':_0x3dddd4,'rev':_0x34a393}),this['_saveTaskMap'][_0x3aea69(0x287)](_0x5d754c)||this['_scheduleSaving'](_0x5d754c);}['_scheduleSaving'](_0x3e43a8){const _0x2d9ca7=_0x39d902,_0x12bce0=this['_getSaveTimeout']();_0x12bce0===0x0?this[_0x2d9ca7(0x339)](_0x3e43a8):this[_0x2d9ca7(0x292)][_0x2d9ca7(0x3b7)](_0x3e43a8,setTimeout(()=>this[_0x2d9ca7(0x339)](_0x3e43a8),_0x12bce0));}['_getSaveTimeout'](){const _0x35c6f6=_0x39d902;var _0x3c844b;return(_0x3c844b=this[_0x35c6f6(0x21a)][_0x35c6f6(0x1ce)](_0x3d1e18[_0x35c6f6(0x299)]))!=null?_0x3c844b:_0x3d1e18['LOCAL_CACHE_INTERVAL'];}[_0x39d902(0x339)](_0x3dec22){const _0x1185d9=_0x39d902,_0x36f5f4=this[_0x1185d9(0x292)][_0x1185d9(0x2f5)](_0x3dec22);return _0x36f5f4!==void 0x0&&window[_0x1185d9(0x246)](_0x36f5f4),this['_localStorageService'][_0x1185d9(0x2f4)](_0x3d1e18[_0x1185d9(0x1fa)](_0x3dec22),this['_cachedData'][_0x1185d9(0x2f5)](_0x3dec22))[_0x1185d9(0x217)](()=>this[_0x1185d9(0x292)][_0x1185d9(0x334)](_0x3dec22));}async['exhaustSavingTask'](){const _0x277215=_0x39d902,_0x825d44=[];this[_0x277215(0x292)][_0x277215(0x367)]((_0x517ea7,_0x3ee7ca)=>{const _0x55f46e=_0x277215;window[_0x55f46e(0x246)](_0x517ea7),_0x825d44[_0x55f46e(0x1fc)](this[_0x55f46e(0x339)](_0x3ee7ca)['then'](()=>{const _0x3bed25=_0x55f46e;this[_0x3bed25(0x292)]['delete'](_0x3ee7ca);}));}),await Promise[_0x277215(0x20e)](_0x825d44);}};_0x3e8046=_0x55b91f([_0xdbc9bf(0x0,_0x4f8b31[_0x39d902(0x358)]),_0xdbc9bf(0x1,_0x4f8b31[_0x39d902(0x2f2)]),_0xdbc9bf(0x2,_0x4f8b31[_0x39d902(0x2f8)](_0x185f6a[_0x39d902(0x1d2)]))],_0x3e8046);class _0x8aa8a1 extends _0x4f8b31[_0x39d902(0x30a)]{constructor(){const _0x25668c=_0x39d902;super(),_0x33faca(this,'urlChange$'),this[_0x25668c(0x1ea)]=_0x420140[_0x25668c(0x3de)](window,_0x25668c(0x3f4))['pipe'](_0x420140[_0x25668c(0x2fa)](this[_0x25668c(0x336)]),_0x420140['shareReplay'](0x1),_0x420140['mapTo'](void 0x0));}[_0x39d902(0x2b5)](_0x1bda2f,_0x5caa9a,_0x2a97aa=!0x1){const _0x5d3fc3=_0x39d902,_0xdeda4d=new URL(window[_0x5d3fc3(0x227)]['href']);_0xdeda4d[_0x5d3fc3(0x2c7)][_0x5d3fc3(0x3b7)](_0x1bda2f,_0x5caa9a),_0x2a97aa?window[_0x5d3fc3(0x2cd)][_0x5d3fc3(0x395)]('','',_0xdeda4d[_0x5d3fc3(0x326)]()):window[_0x5d3fc3(0x2cd)][_0x5d3fc3(0x393)]('','',_0xdeda4d['toString']());}[_0x39d902(0x1d3)](_0x4ee45e,_0x51755b=!0x1){const _0x3b65f1=_0x39d902,_0x5e7c8d=new URL(window[_0x3b65f1(0x227)]['href']);_0x5e7c8d[_0x3b65f1(0x2c7)][_0x3b65f1(0x334)](_0x4ee45e),_0x51755b?window[_0x3b65f1(0x2cd)][_0x3b65f1(0x395)]('','',_0x5e7c8d[_0x3b65f1(0x326)]()):window[_0x3b65f1(0x2cd)]['pushState']('','',_0x5e7c8d['toString']());}[_0x39d902(0x220)](_0x4c2cdb){const _0x599f0c=_0x39d902;var _0x36ccdb;return(_0x36ccdb=new URL(window[_0x599f0c(0x227)]['href'])[_0x599f0c(0x2c7)][_0x599f0c(0x2f5)](_0x4c2cdb))!=null?_0x36ccdb:void 0x0;}}var _0x215020=Object[_0x39d902(0x213)],_0x356361=Object[_0x39d902(0x269)],_0x25c5e5=(_0x1207cd,_0x36a4e7,_0x29295f)=>_0x36a4e7 in _0x1207cd?_0x215020(_0x1207cd,_0x36a4e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29295f}):_0x1207cd[_0x36a4e7]=_0x29295f,_0x4c6dca=(_0x328be2,_0xb7158e,_0x1852c6,_0x2a5079)=>{const _0x24c944=_0x39d902;for(var _0x39bc06=_0x2a5079>0x1?void 0x0:_0x2a5079?_0x356361(_0xb7158e,_0x1852c6):_0xb7158e,_0x298b82=_0x328be2[_0x24c944(0x27c)]-0x1,_0x304b27;_0x298b82>=0x0;_0x298b82--)(_0x304b27=_0x328be2[_0x298b82])&&(_0x39bc06=(_0x2a5079?_0x304b27(_0xb7158e,_0x1852c6,_0x39bc06):_0x304b27(_0x39bc06))||_0x39bc06);return _0x2a5079&&_0x39bc06&&_0x215020(_0xb7158e,_0x1852c6,_0x39bc06),_0x39bc06;},_0x449b39=(_0x2d6c61,_0x1456a6)=>(_0x55ff3c,_0x1ca7d0)=>_0x1456a6(_0x55ff3c,_0x1ca7d0,_0x2d6c61),_0x58cc44=(_0x108de3,_0x29d580,_0x4e5af3)=>_0x25c5e5(_0x108de3,_0x29d580+'',_0x4e5af3);const _0x5d55b4=_0x39d902(0x2d8);_0x51abc4[_0x39d902(0x320)]=class extends _0x4f8b31[_0x39d902(0x3b9)]{constructor(_0x2ae308=_0x53d0e8,_0x34cc3d,_0x14371b,_0x2412f4,_0x3278f5){const _0x25fc80=_0x39d902;super(),this['_config']=_0x2ae308,this['_logService']=_0x34cc3d,this['_renderManagerService']=_0x14371b,this['_injector']=_0x2412f4,this[_0x25fc80(0x21a)]=_0x3278f5;const {..._0x398908}=this[_0x25fc80(0x400)];this[_0x25fc80(0x21a)]['setConfig'](_0x3fe491,_0x398908);}['onStarting'](){const _0x1b94c9=_0x39d902;this['_registerDependencies'](),this[_0x1b94c9(0x1c9)]();}[_0x39d902(0x257)](){const _0xbf7223=_0x39d902;this[_0xbf7223(0x3ff)]();}['_registerDependencies'](){const _0x49a3bb=_0x39d902;var _0x54c884;const _0x216acf=[[_0x66d220],[_0x36bc6b],[_0x38dbdf],[_0x5b403a],[_0x3954e4],[_0x2666ca,{'useClass':_0x8aa8a1}],[_0x3d1e18[_0x49a3bb(0x1b9)],{'useClass':_0x3e8046}],[_0x51abc4[_0x49a3bb(0x1bb)]],[_0x212d4a],[_0x412b72],[_0x3b10fa],[_0x49bd70],[_0x4c386a]];_0x4f8b31[_0x49a3bb(0x20c)](this['_injector'],_0x4f8b31[_0x49a3bb(0x28a)](_0x216acf,(_0x54c884=this[_0x49a3bb(0x400)])==null?void 0x0:_0x54c884[_0x49a3bb(0x3ac)]));}[_0x39d902(0x3ff)](){const _0x2b8527=_0x39d902;this[_0x2b8527(0x280)](this[_0x2b8527(0x250)][_0x2b8527(0x2aa)](_0x4f8b31[_0x2b8527(0x1e5)]['UNIVER_DOC'],[_0x334ab7])),this['disposeWithMe'](this[_0x2b8527(0x250)]['registerRenderModule'](_0x4f8b31[_0x2b8527(0x1e5)][_0x2b8527(0x25a)],[_0x5246db]));}[_0x39d902(0x1c9)](){const _0x19fa1e=_0x39d902;_0x4f8b31['touchDependencies'](this[_0x19fa1e(0x1b8)],[[_0x3b10fa],[_0x51abc4[_0x19fa1e(0x1bb)]],[_0x212d4a],[_0x412b72],[_0x4c386a]]);}},_0x58cc44(_0x51abc4[_0x39d902(0x320)],_0x39d902(0x2a7),_0x5d55b4),_0x51abc4[_0x39d902(0x320)]=_0x4c6dca([_0x4f8b31[_0x39d902(0x3e7)](_0x3d1e18[_0x39d902(0x242)]),_0x449b39(0x1,_0x4f8b31[_0x39d902(0x2c5)]),_0x449b39(0x2,_0x3d54bb[_0x39d902(0x1fe)]),_0x449b39(0x3,_0x4f8b31[_0x39d902(0x2f8)](_0x4f8b31['Injector'])),_0x449b39(0x4,_0x4f8b31[_0x39d902(0x358)])],_0x51abc4[_0x39d902(0x320)]);const _0x46348d=0x7530,_0x2ae6cb='ACTIVE_UNIT_EVENT_CHANNEL';class _0x35818d extends _0x4f8b31[_0x39d902(0x1f2)]{constructor(){const _0xa8ddfc=_0x39d902;super(),_0x33faca(this,'_id',_0x4f8b31[_0xa8ddfc(0x1cc)][_0xa8ddfc(0x371)]()),_0x33faca(this,_0xa8ddfc(0x3a9),new Set()),_0x33faca(this,_0xa8ddfc(0x1b4),new Map()),_0x33faca(this,_0xa8ddfc(0x2a5),null),_0x33faca(this,'_clearOtherTimers',new Map()),_0x33faca(this,_0xa8ddfc(0x355),new Map()),this['_init']();}[_0x39d902(0x329)](){const _0x306b20=_0x39d902;super['dispose'](),this[_0x306b20(0x2d4)][_0x306b20(0x367)]((_0x2ed888,_0x120c89)=>this['_removeClearOtherTimer'](_0x120c89)),this[_0x306b20(0x2a5)]&&window[_0x306b20(0x2e1)](this[_0x306b20(0x2a5)]);}[_0x39d902(0x3b4)](_0x3d25c8){const _0xee6534=_0x39d902;return this[_0xee6534(0x2f7)](_0x3d25c8)[_0xee6534(0x3b2)](_0x420140[_0xee6534(0x3cc)]());}[_0x39d902(0x23c)](_0x246759){const _0x5ac429=_0x39d902;this[_0x5ac429(0x3a9)][_0x5ac429(0x3c4)]===0x0&&this[_0x5ac429(0x1ca)](),this[_0x5ac429(0x3a9)]['add'](_0x246759),this['_send']({'type':0x0,'memberID':this[_0x5ac429(0x38b)],'unitIDs':[_0x246759],'isForwarded':!0x1});}[_0x39d902(0x30b)](_0x4a5824){const _0x5d97c5=_0x39d902;this['_selfUnitIDs'][_0x5d97c5(0x334)](_0x4a5824),this['_selfUnitIDs'][_0x5d97c5(0x3c4)]===0x0&&this['_heartbeatTimer']&&window[_0x5d97c5(0x2e1)](this['_heartbeatTimer']);}[_0x39d902(0x2c9)](){const _0x4ec802=_0x39d902;this[_0x4ec802(0x280)](_0x4f8b31[_0x4ec802(0x2a0)](_0x420140[_0x4ec802(0x3de)](window,'storage')[_0x4ec802(0x22c)](_0x1dbd59=>{const _0x89369e=_0x4ec802;if(_0x1dbd59[_0x89369e(0x37d)]!==_0x2ae6cb||!_0x1dbd59[_0x89369e(0x3bb)])return;const _0x2670e3=JSON[_0x89369e(0x3fb)](_0x1dbd59[_0x89369e(0x3bb)]);this[_0x89369e(0x3b6)](_0x2670e3);}))),window[_0x4ec802(0x2e9)](_0x4ec802(0x245),()=>this[_0x4ec802(0x251)]({'type':0x1,'memberID':this[_0x4ec802(0x38b)],'unitIDs':Array[_0x4ec802(0x313)](this[_0x4ec802(0x3a9)])}));}[_0x39d902(0x3b6)](_0x3ddfdf){const _0x4d9de9=_0x39d902;switch(_0x3ddfdf[_0x4d9de9(0x21c)]){case 0x0:this[_0x4d9de9(0x312)](_0x3ddfdf);break;case 0x1:this['_handleLeaveEvent'](_0x3ddfdf);break;case 0x2:this[_0x4d9de9(0x3e0)](_0x3ddfdf);break;}}[_0x39d902(0x312)](_0x16038e){const _0x40345d=_0x39d902,{unitIDs:_0x178a1f,memberID:_0x3ce9d2,isForwarded:_0x233fac}=_0x16038e;_0x178a1f['forEach'](_0x3b941f=>{const _0x1fa21e=_0x4635;if(!_0x233fac&&this[_0x1fa21e(0x1b4)][_0x1fa21e(0x287)](_0x3b941f)&&this[_0x1fa21e(0x2f7)](_0x3b941f)[_0x1fa21e(0x225)](_0x3d1e18[_0x1fa21e(0x33a)]['OTHER_CLIENTS_EDITING']),!this[_0x1fa21e(0x1b4)][_0x1fa21e(0x287)](_0x3b941f)||!this[_0x1fa21e(0x1b4)][_0x1fa21e(0x2f5)](_0x3b941f)['has'](_0x3ce9d2)){const _0x56d9a9=this['_unitOnClients'][_0x1fa21e(0x2f5)](_0x3b941f)||new Set();_0x56d9a9[_0x1fa21e(0x366)](_0x3ce9d2),this[_0x1fa21e(0x1b4)][_0x1fa21e(0x3b7)](_0x3b941f,_0x56d9a9),this[_0x1fa21e(0x3a5)](_0x3ce9d2);}}),_0x233fac||this[_0x40345d(0x251)]({'type':0x0,'memberID':this[_0x40345d(0x38b)],'unitIDs':[...this[_0x40345d(0x3a9)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2b8807){const _0x30c14e=_0x39d902;this[_0x30c14e(0x35f)](_0x2b8807);const _0x50600c=window[_0x30c14e(0x32e)](()=>{const _0x2598cb=_0x30c14e;this[_0x2598cb(0x1b4)][_0x2598cb(0x367)](_0x4b26c0=>{_0x4b26c0['delete'](_0x2b8807);});},_0x46348d*0x2);this['_clearOtherTimers']['set'](_0x2b8807,_0x50600c);}[_0x39d902(0x35f)](_0x5df740){const _0x44b97b=_0x39d902;if(this[_0x44b97b(0x2d4)]['has'](_0x5df740)){const _0x1fb190=this[_0x44b97b(0x2d4)]['get'](_0x5df740);_0x1fb190&&window['clearTimeout'](_0x1fb190),this[_0x44b97b(0x2d4)][_0x44b97b(0x3b7)](_0x5df740,null);}}['_handleLeaveEvent'](_0x1f1679){const _0xde72b8=_0x39d902,{memberID:_0x13bcc5,unitIDs:_0x115143}=_0x1f1679;_0x115143[_0xde72b8(0x367)](_0x5d8a1b=>{const _0x124662=_0xde72b8;var _0x200121;const _0x1cd922=this[_0x124662(0x1b4)][_0x124662(0x2f5)](_0x5d8a1b);_0x1cd922&&(_0x1cd922['delete'](_0x13bcc5),(_0x200121=this[_0x124662(0x2f7)](_0x5d8a1b))==null||_0x200121[_0x124662(0x225)](_0x1cd922[_0x124662(0x3c4)]===0x0?_0x3d1e18[_0x124662(0x33a)]['NO_OTHER_CLIENTS_EDITING']:_0x3d1e18[_0x124662(0x33a)][_0x124662(0x399)]));}),this[_0xde72b8(0x35f)](_0x13bcc5);}[_0x39d902(0x3e0)](_0x3d4e76){const _0x555dc0=_0x39d902;this[_0x555dc0(0x3a5)](_0x3d4e76[_0x555dc0(0x1f6)]);}[_0x39d902(0x251)](_0x511022){const _0x432f90=_0x39d902;localStorage[_0x432f90(0x2f4)](_0x2ae6cb,JSON[_0x432f90(0x33f)](_0x511022));}[_0x39d902(0x1ca)](){const _0x397697=_0x39d902;this[_0x397697(0x2a5)]=window['setInterval'](()=>{const _0x80847e=_0x397697;this[_0x80847e(0x251)]({'type':0x2,'memberID':this[_0x80847e(0x38b)]});},_0x46348d);}['_ensureSubject'](_0x3a8e00){const _0x598e4a=_0x39d902;return this['_unitStatus'][_0x598e4a(0x287)](_0x3a8e00)||this['_unitStatus'][_0x598e4a(0x3b7)](_0x3a8e00,new _0x420140[(_0x598e4a(0x2e5))](_0x3d1e18[_0x598e4a(0x33a)][_0x598e4a(0x1f4)])),this['_unitStatus'][_0x598e4a(0x2f5)](_0x3a8e00);}}_0x51abc4[_0x39d902(0x309)]=_0x57b3aa,_0x51abc4[_0x39d902(0x21d)]=_0x5cc197,_0x51abc4[_0x39d902(0x1cb)]=_0x35818d,Object[_0x39d902(0x213)](_0x51abc4,Symbol[_0x39d902(0x1ee)],{'value':_0x39d902(0x1e1)});}));
@@ -0,0 +1 @@
1
+ function _0x2e0a(){var _0x2dedbe=['105KIJsmg','384144XNpUAZ','5870MXPZVB','Syncing...','3364972LIrQpO','Connection\x20failed,\x20please\x20check\x20your\x20network.','813488UDZpKb','object','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','amd','Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','25236BQdeSv','105wIyAPf','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2068WxCjUo','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','4961hQbXrV','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','774615IXkMHC','2484HzwJfR','3459wpwIWI','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2zDkhnC','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x2e0a=function(){return _0x2dedbe;};return _0x2e0a();}function _0x4ac0(_0x53d878,_0x4de5f7){var _0x2e0a0e=_0x2e0a();return _0x4ac0=function(_0x4ac027,_0x5acaa8){_0x4ac027=_0x4ac027-0x19b;var _0x57c841=_0x2e0a0e[_0x4ac027];return _0x57c841;},_0x4ac0(_0x53d878,_0x4de5f7);}(function(_0x161c01,_0x2b9d3d){var _0x26714e=_0x4ac0,_0xfcaf38=_0x161c01();while(!![]){try{var _0x3b6a93=parseInt(_0x26714e(0x1b2))/0x1*(parseInt(_0x26714e(0x1b7))/0x2)+-parseInt(_0x26714e(0x1b4))/0x3*(parseInt(_0x26714e(0x1ad))/0x4)+parseInt(_0x26714e(0x19c))/0x5*(parseInt(_0x26714e(0x19d))/0x6)+parseInt(_0x26714e(0x1aa))/0x7*(-parseInt(_0x26714e(0x1a2))/0x8)+parseInt(_0x26714e(0x1b3))/0x9*(parseInt(_0x26714e(0x19e))/0xa)+-parseInt(_0x26714e(0x1b0))/0xb*(-parseInt(_0x26714e(0x1a9))/0xc)+-parseInt(_0x26714e(0x1a0))/0xd;if(_0x3b6a93===_0x2b9d3d)break;else _0xfcaf38['push'](_0xfcaf38['shift']());}catch(_0x38c822){_0xfcaf38['push'](_0xfcaf38['shift']());}}}(_0x2e0a,0xcf5c5),function(_0x201624,_0x2846a5){var _0x33bf46=_0x4ac0;typeof exports==_0x33bf46(0x1a3)&&typeof module<'u'?module[_0x33bf46(0x1b8)]=_0x2846a5():typeof define=='function'&&define[_0x33bf46(0x1a6)]?define(_0x2846a5):(_0x201624=typeof globalThis<'u'?globalThis:_0x201624||self,_0x201624['UniverProCollaborationClientUiEnUS']=_0x2846a5());}(this,function(){'use strict';var _0x3cc3dc=_0x4ac0;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3cc3dc(0x1af),'conflict':_0x3cc3dc(0x1b5),'notCollab':_0x3cc3dc(0x1a7),'synced':_0x3cc3dc(0x1a5),'syncing':_0x3cc3dc(0x19f),'offline':_0x3cc3dc(0x1b6)},'session':{'connection-failed':_0x3cc3dc(0x1a1),'will-retry':_0x3cc3dc(0x1ac),'room-full':_0x3cc3dc(0x1b1),'collaboration-timeout':_0x3cc3dc(0x1a8)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3cc3dc(0x1ae)},'permission':{'title':'Authentication\x20Error','content':_0x3cc3dc(0x1a4)},'collaboration':{'single-unit':{'warning':_0x3cc3dc(0x19b)},'closeRoom':_0x3cc3dc(0x1ab)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));
@@ -0,0 +1 @@
1
+ function _0x1530(_0x3fe877,_0x44edd1){var _0x7c48c5=_0x7c48();return _0x1530=function(_0x1530cb,_0x57f85a){_0x1530cb=_0x1530cb-0xa1;var _0x432ca1=_0x7c48c5[_0x1530cb];return _0x432ca1;},_0x1530(_0x3fe877,_0x44edd1);}(function(_0x5b31ca,_0x1043d8){var _0x3e44d8=_0x1530,_0xd2a896=_0x5b31ca();while(!![]){try{var _0x2de5b6=-parseInt(_0x3e44d8(0xa8))/0x1*(parseInt(_0x3e44d8(0xb0))/0x2)+parseInt(_0x3e44d8(0xb8))/0x3+-parseInt(_0x3e44d8(0xad))/0x4*(parseInt(_0x3e44d8(0xa5))/0x5)+parseInt(_0x3e44d8(0xbf))/0x6*(parseInt(_0x3e44d8(0xa4))/0x7)+-parseInt(_0x3e44d8(0xa7))/0x8+parseInt(_0x3e44d8(0xb4))/0x9*(-parseInt(_0x3e44d8(0xaa))/0xa)+parseInt(_0x3e44d8(0xac))/0xb*(parseInt(_0x3e44d8(0xbb))/0xc);if(_0x2de5b6===_0x1043d8)break;else _0xd2a896['push'](_0xd2a896['shift']());}catch(_0x3a8158){_0xd2a896['push'](_0xd2a896['shift']());}}}(_0x7c48,0x7b08a),function(_0x3f1f70,_0x20169c){var _0x258396=_0x1530;typeof exports==_0x258396(0xbd)&&typeof module<'u'?module['exports']=_0x20169c():typeof define==_0x258396(0xa3)&&define[_0x258396(0xb5)]?define(_0x20169c):(_0x3f1f70=typeof globalThis<'u'?globalThis:_0x3f1f70||self,_0x3f1f70[_0x258396(0xb3)]=_0x20169c());}(this,function(){'use strict';var _0x487c69=_0x1530;return{'collab-client':{'tooltip':{'reconnect':_0x487c69(0xbc)}},'collabStatus':{'fetchMiss':_0x487c69(0xbe),'conflict':_0x487c69(0xa2),'notCollab':'پرونده\x20محلی','synced':_0x487c69(0xa9),'syncing':_0x487c69(0xa6),'offline':_0x487c69(0xba)},'session':{'connection-failed':_0x487c69(0xb2),'will-retry':_0x487c69(0xaf),'room-full':_0x487c69(0xb9),'collaboration-timeout':_0x487c69(0xae)},'conflict':{'title':'تداخل\x20همکاری','content':_0x487c69(0xb1)},'permission':{'title':_0x487c69(0xb6),'content':_0x487c69(0xb7)},'collaboration':{'single-unit':{'warning':_0x487c69(0xa1)},'closeRoom':_0x487c69(0xc0)},'auth':{'needGotoLoginAlert':_0x487c69(0xab)}};}));function _0x7c48(){var _0x570c15=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','786068wOhGrF','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','UniverProCollaborationClientUiFaIR','171YaPuev','amd','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2193069MKWpvn','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','12PyKQgW','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','object','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','6120AbXZvg','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20ویرایش','function','84OLQcay','408895jEACMA','در\x20حال\x20همگام\x20سازی...','6753432UiUgaL','1FPbQuk','همگام\x20سازی','254180JffFuK','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','26184477OiOIIU','44KbgQXQ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x7c48=function(){return _0x570c15;};return _0x7c48();}
@@ -0,0 +1 @@
1
+ function _0x127d(_0x770b86,_0x169a3c){var _0x853182=_0x8531();return _0x127d=function(_0x127d87,_0x4f07){_0x127d87=_0x127d87-0x1b8;var _0xc43a3e=_0x853182[_0x127d87];return _0xc43a3e;},_0x127d(_0x770b86,_0x169a3c);}(function(_0xc77de0,_0x1979ab){var _0xdf8a8d=_0x127d,_0x444a0d=_0xc77de0();while(!![]){try{var _0x759f1b=parseInt(_0xdf8a8d(0x1cb))/0x1+-parseInt(_0xdf8a8d(0x1ca))/0x2+parseInt(_0xdf8a8d(0x1b9))/0x3*(parseInt(_0xdf8a8d(0x1bf))/0x4)+parseInt(_0xdf8a8d(0x1c3))/0x5+parseInt(_0xdf8a8d(0x1cc))/0x6+-parseInt(_0xdf8a8d(0x1bb))/0x7+-parseInt(_0xdf8a8d(0x1c4))/0x8;if(_0x759f1b===_0x1979ab)break;else _0x444a0d['push'](_0x444a0d['shift']());}catch(_0x4632b0){_0x444a0d['push'](_0x444a0d['shift']());}}}(_0x8531,0xa57cf),function(_0x1cb18f,_0x2ff204){var _0x4cb781=_0x127d;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x2ff204():typeof define==_0x4cb781(0x1cd)&&define['amd']?define(_0x2ff204):(_0x1cb18f=typeof globalThis<'u'?globalThis:_0x1cb18f||self,_0x1cb18f[_0x4cb781(0x1c8)]=_0x2ff204());}(this,function(){'use strict';var _0x56ee37=_0x127d;return{'collab-client':{'tooltip':{'reconnect':_0x56ee37(0x1c9)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x56ee37(0x1c2),'notCollab':_0x56ee37(0x1bc),'synced':'Synced','syncing':_0x56ee37(0x1ba),'offline':_0x56ee37(0x1b8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x56ee37(0x1c0),'room-full':_0x56ee37(0x1be),'collaboration-timeout':_0x56ee37(0x1c7)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x56ee37(0x1ce)},'permission':{'title':'Authentication\x20Error','content':_0x56ee37(0x1c1)},'collaboration':{'single-unit':{'warning':_0x56ee37(0x1c5)},'closeRoom':_0x56ee37(0x1bd)},'auth':{'needGotoLoginAlert':_0x56ee37(0x1c6)}};}));function _0x8531(){var _0x229d0c=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','573522jJTZay','Syncing...','6269830gZzICW','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','28UyEfeu','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','673135vFGuJQ','7374032tRDIQv','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','UniverProCollaborationClientUiFrFR','Click\x20to\x20Reconnect','593458pmPiGN','379015vgLbTk','5640912vAsUuP','function'];_0x8531=function(){return _0x229d0c;};return _0x8531();}
@@ -0,0 +1 @@
1
+ function _0x4102(_0xc4e784,_0x5091e5){var _0x508374=_0x5083();return _0x4102=function(_0x4102fd,_0x2e7728){_0x4102fd=_0x4102fd-0x7d;var _0x4ab61f=_0x508374[_0x4102fd];return _0x4ab61f;},_0x4102(_0xc4e784,_0x5091e5);}(function(_0x34f03c,_0x2d71f7){var _0x3341f7=_0x4102,_0x3849f0=_0x34f03c();while(!![]){try{var _0x5f0d0e=-parseInt(_0x3341f7(0x99))/0x1*(parseInt(_0x3341f7(0x95))/0x2)+parseInt(_0x3341f7(0x8c))/0x3*(parseInt(_0x3341f7(0x8a))/0x4)+parseInt(_0x3341f7(0x7f))/0x5*(-parseInt(_0x3341f7(0x8d))/0x6)+-parseInt(_0x3341f7(0x8e))/0x7+-parseInt(_0x3341f7(0x8b))/0x8+-parseInt(_0x3341f7(0x88))/0x9+-parseInt(_0x3341f7(0x84))/0xa*(-parseInt(_0x3341f7(0x9b))/0xb);if(_0x5f0d0e===_0x2d71f7)break;else _0x3849f0['push'](_0x3849f0['shift']());}catch(_0x36e3f7){_0x3849f0['push'](_0x3849f0['shift']());}}}(_0x5083,0xb4e6a),function(_0x4c4520,_0x38b756){var _0x4b172f=_0x4102;typeof exports==_0x4b172f(0x87)&&typeof module<'u'?module[_0x4b172f(0x90)]=_0x38b756():typeof define==_0x4b172f(0x89)&&define[_0x4b172f(0x7d)]?define(_0x38b756):(_0x4c4520=typeof globalThis<'u'?globalThis:_0x4c4520||self,_0x4c4520['UniverProCollaborationClientUiRuRU']=_0x38b756());}(this,function(){'use strict';var _0x291bb5=_0x4102;return{'collab-client':{'tooltip':{'reconnect':_0x291bb5(0x86)}},'collabStatus':{'fetchMiss':_0x291bb5(0x9a),'conflict':_0x291bb5(0x92),'notCollab':_0x291bb5(0x97),'synced':_0x291bb5(0x94),'syncing':_0x291bb5(0x93),'offline':_0x291bb5(0x81)},'session':{'connection-failed':_0x291bb5(0x85),'will-retry':_0x291bb5(0x8f),'room-full':_0x291bb5(0x82),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x291bb5(0x7e),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x291bb5(0x80),'content':_0x291bb5(0x98)},'collaboration':{'single-unit':{'warning':_0x291bb5(0x91)},'closeRoom':_0x291bb5(0x83)},'auth':{'needGotoLoginAlert':_0x291bb5(0x96)}};}));function _0x5083(){var _0x51dce7=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2420quYvpW','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','object','11136123DuOXue','function','16mpQfGh','788064SILBsP','279282VCMDBS','4789914VNJITl','9332820XQIORz','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Syncing...','Synced','5036YGqMOx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','251xfjvqy','Syncing\x20server\x20data...','203093xKXCqk','amd','Collaboration\x20Conflict','5vfeMYW','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x5083=function(){return _0x51dce7;};return _0x5083();}
@@ -0,0 +1 @@
1
+ function _0x345a(_0x6dedc3,_0x29d0d5){var _0x33cfca=_0x33cf();return _0x345a=function(_0x345a15,_0x4e1376){_0x345a15=_0x345a15-0xed;var _0x230c62=_0x33cfca[_0x345a15];return _0x230c62;},_0x345a(_0x6dedc3,_0x29d0d5);}(function(_0x4a543c,_0x3d4151){var _0xaac929=_0x345a,_0x57e5db=_0x4a543c();while(!![]){try{var _0x3c4026=-parseInt(_0xaac929(0xfc))/0x1+parseInt(_0xaac929(0xf3))/0x2+-parseInt(_0xaac929(0xf2))/0x3*(-parseInt(_0xaac929(0xff))/0x4)+-parseInt(_0xaac929(0x107))/0x5*(-parseInt(_0xaac929(0x100))/0x6)+parseInt(_0xaac929(0xfd))/0x7*(-parseInt(_0xaac929(0xfb))/0x8)+parseInt(_0xaac929(0xf0))/0x9*(-parseInt(_0xaac929(0xf9))/0xa)+parseInt(_0xaac929(0x10a))/0xb*(-parseInt(_0xaac929(0xf6))/0xc);if(_0x3c4026===_0x3d4151)break;else _0x57e5db['push'](_0x57e5db['shift']());}catch(_0x14497d){_0x57e5db['push'](_0x57e5db['shift']());}}}(_0x33cf,0x82696),function(_0x2d0272,_0xf6760a){var _0x419db7=_0x345a;typeof exports==_0x419db7(0xf8)&&typeof module<'u'?module[_0x419db7(0xee)]=_0xf6760a():typeof define==_0x419db7(0x103)&&define['amd']?define(_0xf6760a):(_0x2d0272=typeof globalThis<'u'?globalThis:_0x2d0272||self,_0x2d0272[_0x419db7(0x101)]=_0xf6760a());}(this,function(){'use strict';var _0x5012f7=_0x345a;return{'collab-client':{'tooltip':{'reconnect':_0x5012f7(0xef)}},'collabStatus':{'fetchMiss':_0x5012f7(0xf7),'conflict':_0x5012f7(0x102),'notCollab':'Local\x20file','synced':_0x5012f7(0xed),'syncing':_0x5012f7(0x105),'offline':_0x5012f7(0x106)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5012f7(0xf1),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5012f7(0x108)},'conflict':{'title':_0x5012f7(0xfa),'content':_0x5012f7(0xf5)},'permission':{'title':_0x5012f7(0xf4),'content':_0x5012f7(0x109)},'collaboration':{'single-unit':{'warning':_0x5012f7(0x104)},'closeRoom':_0x5012f7(0xfe)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x33cf(){var _0x25ff2d=['20690DrTXzk','Collaboration\x20Conflict','121544ZWLLnZ','650569qzCKuo','35bCWAPS','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','8kNFPrA','18FhWoOA','UniverProCollaborationClientUiViVN','Edit\x20conflicts','function','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1255045lLaVsw','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','11QdOOFp','Synced','exports','Click\x20to\x20Reconnect','2043IZToiO','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1144677tzdLMr','2130302fIZKie','Authentication\x20Error','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','10211196NxErWV','Syncing\x20server\x20data...','object'];_0x33cf=function(){return _0x25ff2d;};return _0x33cf();}
@@ -0,0 +1 @@
1
+ function _0x3792(_0xcf0852,_0x3f98c6){var _0x614ec7=_0x614e();return _0x3792=function(_0x37920f,_0x412e17){_0x37920f=_0x37920f-0x7f;var _0x3b0387=_0x614ec7[_0x37920f];return _0x3b0387;},_0x3792(_0xcf0852,_0x3f98c6);}(function(_0x160513,_0x1b4a48){var _0x5496b5=_0x3792,_0x323d9e=_0x160513();while(!![]){try{var _0x1f583a=parseInt(_0x5496b5(0x98))/0x1*(parseInt(_0x5496b5(0x93))/0x2)+-parseInt(_0x5496b5(0x96))/0x3+-parseInt(_0x5496b5(0x99))/0x4*(parseInt(_0x5496b5(0x88))/0x5)+-parseInt(_0x5496b5(0x8d))/0x6+-parseInt(_0x5496b5(0x85))/0x7+-parseInt(_0x5496b5(0x92))/0x8*(-parseInt(_0x5496b5(0x8c))/0x9)+-parseInt(_0x5496b5(0x91))/0xa;if(_0x1f583a===_0x1b4a48)break;else _0x323d9e['push'](_0x323d9e['shift']());}catch(_0x26ae19){_0x323d9e['push'](_0x323d9e['shift']());}}}(_0x614e,0x765ae),function(_0x597335,_0x38b330){var _0x3fe946=_0x3792;typeof exports==_0x3fe946(0x9a)&&typeof module<'u'?module['exports']=_0x38b330():typeof define=='function'&&define[_0x3fe946(0x90)]?define(_0x38b330):(_0x597335=typeof globalThis<'u'?globalThis:_0x597335||self,_0x597335[_0x3fe946(0x80)]=_0x38b330());}(this,function(){'use strict';var _0x1b0c09=_0x3792;return{'collab-client':{'tooltip':{'reconnect':_0x1b0c09(0x87)}},'collabStatus':{'fetchMiss':_0x1b0c09(0x8e),'conflict':_0x1b0c09(0x81),'notCollab':_0x1b0c09(0x86),'synced':_0x1b0c09(0x82),'syncing':'保存中...','offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x1b0c09(0x89),'will-retry':_0x1b0c09(0x94),'room-full':_0x1b0c09(0x97),'collaboration-timeout':_0x1b0c09(0x8f)},'conflict':{'title':_0x1b0c09(0x95),'content':_0x1b0c09(0x8b)},'permission':{'title':_0x1b0c09(0x83),'content':_0x1b0c09(0x8a)},'collaboration':{'single-unit':{'warning':_0x1b0c09(0x84)},'closeRoom':_0x1b0c09(0x7f)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};}));function _0x614e(){var _0x2c1232=['178486TRDogG','本地文件','点击重新连接','7955nhPhBG','连接失败,请检查你的网络','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','6363RbYEtW','1419594nCMieO','正在拉取服务端数据...','服务器未响应,你的编辑将在本地缓存','amd','52980ElGUIr','5944LwlSZK','6UuwIzh','连接失败,将在一会儿之后重试连接','协同冲突','817572bwWcvu','协同房间已满,你的编辑将在本地缓存','316551QTJfqp','1132SBcFcQ','object','由于协同房间被关闭,编辑权限被收回。','UniverProCollaborationClientUiZhCN','编辑冲突','已同步','权限错误','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'];_0x614e=function(){return _0x2c1232;};return _0x614e();}
@@ -0,0 +1 @@
1
+ (function(_0x1109ae,_0xc608b1){var _0x4c187c=_0x288c,_0x5a6939=_0x1109ae();while(!![]){try{var _0x304951=parseInt(_0x4c187c(0x80))/0x1*(parseInt(_0x4c187c(0x86))/0x2)+-parseInt(_0x4c187c(0x78))/0x3*(parseInt(_0x4c187c(0x71))/0x4)+parseInt(_0x4c187c(0x7b))/0x5+-parseInt(_0x4c187c(0x88))/0x6*(parseInt(_0x4c187c(0x76))/0x7)+parseInt(_0x4c187c(0x75))/0x8+-parseInt(_0x4c187c(0x81))/0x9*(parseInt(_0x4c187c(0x89))/0xa)+parseInt(_0x4c187c(0x72))/0xb;if(_0x304951===_0xc608b1)break;else _0x5a6939['push'](_0x5a6939['shift']());}catch(_0x1d9dea){_0x5a6939['push'](_0x5a6939['shift']());}}}(_0x4b04,0xca6d7),function(_0x5ec6ec,_0xa9ada7){var _0x11e2b5=_0x288c;typeof exports==_0x11e2b5(0x82)&&typeof module<'u'?module['exports']=_0xa9ada7():typeof define==_0x11e2b5(0x7a)&&define[_0x11e2b5(0x85)]?define(_0xa9ada7):(_0x5ec6ec=typeof globalThis<'u'?globalThis:_0x5ec6ec||self,_0x5ec6ec[_0x11e2b5(0x84)]=_0xa9ada7());}(this,function(){'use strict';var _0x35efd3=_0x288c;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x35efd3(0x77),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x35efd3(0x7f),'syncing':_0x35efd3(0x70),'offline':_0x35efd3(0x74)},'session':{'connection-failed':_0x35efd3(0x87),'will-retry':_0x35efd3(0x79),'room-full':_0x35efd3(0x7c),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x35efd3(0x7e),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x35efd3(0x7d)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x35efd3(0x73)},'auth':{'needGotoLoginAlert':_0x35efd3(0x83)}};}));function _0x288c(_0x3567ca,_0x32ecdb){var _0x4b0453=_0x4b04();return _0x288c=function(_0x288cd3,_0x20226d){_0x288cd3=_0x288cd3-0x70;var _0x4d21f9=_0x4b0453[_0x288cd3];return _0x4d21f9;},_0x288c(_0x3567ca,_0x32ecdb);}function _0x4b04(){var _0x5108b3=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20Conflict','Synced','713gZWOVC','8973SvWFBd','object','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','UniverProCollaborationClientUiZhTW','amd','2078IQJlsK','Connection\x20failed,\x20please\x20check\x20your\x20network.','3184164bQvjvo','13130HFdxRJ','Syncing...','388MKzepm','29421579QgGXDA','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1330672fYWPYi','7umkOSL','Syncing\x20server\x20data...','32664sdAzIb','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','function','716020ONeKli'];_0x4b04=function(){return _0x5108b3;};return _0x4b04();}
package/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@univerjs-pro/collaboration-client-ui",
3
+ "version": "0.5.1-nightly.202412051606",
4
+ "private": false,
5
+ "description": "Univer Collaboration Client",
6
+ "author": "DreamNum <developer@univer.ai>",
7
+ "funding": {
8
+ "type": "opencollective",
9
+ "url": "https://opencollective.com/univer"
10
+ },
11
+ "homepage": "https://univer.ai",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/dream-num/univer"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/dream-num/univer/issues"
18
+ },
19
+ "keywords": [],
20
+ "exports": {
21
+ ".": {
22
+ "import": "./lib/es/index.js",
23
+ "require": "./lib/cjs/index.js",
24
+ "types": "./lib/types/index.d.ts"
25
+ },
26
+ "./*": {
27
+ "import": "./lib/es/*",
28
+ "require": "./lib/cjs/*",
29
+ "types": "./lib/types/index.d.ts"
30
+ },
31
+ "./locale/*": {
32
+ "import": "./lib/es/locale/*.js",
33
+ "require": "./lib/cjs/locale/*.js",
34
+ "types": "./lib/types/locale/*.d.ts"
35
+ },
36
+ "./lib/*": "./lib/*"
37
+ },
38
+ "main": "./lib/es/index.js",
39
+ "types": "./lib/types/index.d.ts",
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "directories": {
44
+ "lib": "lib"
45
+ },
46
+ "files": [
47
+ "lib"
48
+ ],
49
+ "peerDependencies": {
50
+ "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
51
+ "rxjs": ">=7.0.0"
52
+ },
53
+ "dependencies": {
54
+ "@univerjs/icons": "^0.2.8",
55
+ "clsx": "^2.1.1",
56
+ "crypto-js": "4.2.0",
57
+ "uuid": "^11.0.3",
58
+ "@univerjs-pro/collaboration": "0.5.1-nightly.202412051606",
59
+ "@univerjs-pro/collaboration-client": "0.5.1-nightly.202412051606",
60
+ "@univerjs/design": "0.5.1-nightly.202412051606",
61
+ "@univerjs/core": "0.5.1-nightly.202412051606",
62
+ "@univerjs/docs": "0.5.1-nightly.202412051606",
63
+ "@univerjs/drawing": "0.5.1-nightly.202412051606",
64
+ "@univerjs/engine-formula": "0.5.1-nightly.202412051606",
65
+ "@univerjs/docs-ui": "0.5.1-nightly.202412051606",
66
+ "@univerjs/engine-render": "0.5.1-nightly.202412051606",
67
+ "@univerjs/rpc": "0.5.1-nightly.202412051606",
68
+ "@univerjs/sheets": "0.5.1-nightly.202412051606",
69
+ "@univerjs/sheets-ui": "0.5.1-nightly.202412051606",
70
+ "@univerjs/ui": "0.5.1-nightly.202412051606"
71
+ },
72
+ "devDependencies": {
73
+ "@types/crypto-js": "^4.2.2",
74
+ "rxjs": "^7.8.1",
75
+ "typescript": "^5.7.2",
76
+ "vite": "^6.0.0",
77
+ "vitest": "^2.1.6",
78
+ "@univerjs-infra/shared": "0.5.1"
79
+ },
80
+ "space": {
81
+ ".": {
82
+ "import": "./lib/es/index.js",
83
+ "require": "./lib/cjs/index.js",
84
+ "types": "./lib/types/index.d.ts"
85
+ },
86
+ "./*": {
87
+ "import": "./lib/es/*",
88
+ "require": "./lib/cjs/*",
89
+ "types": "./lib/types/index.d.ts"
90
+ },
91
+ "./locale/*": {
92
+ "import": "./lib/es/locale/*.js",
93
+ "require": "./lib/cjs/locale/*.js",
94
+ "types": "./lib/types/locale/*.d.ts"
95
+ },
96
+ "./lib/*": "./lib/*"
97
+ },
98
+ "scripts": {
99
+ "test": "vitest run --pool=threads",
100
+ "test:watch": "vitest --pool=threads",
101
+ "coverage": "vitest run --coverage --pool=threads",
102
+ "lint:types": "tsc --noEmit",
103
+ "build": "univer-cli build"
104
+ },
105
+ "module": "./lib/es/index.js"
106
+ }