@univerjs-pro/collaboration-client-ui 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508121228

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x39c5(_0x703a98,_0x411ee3){const _0x49805a=_0x4980();return _0x39c5=function(_0x39c547,_0x291b12){_0x39c547=_0x39c547-0x113;let _0x1f3b64=_0x49805a[_0x39c547];return _0x1f3b64;},_0x39c5(_0x703a98,_0x411ee3);}function _0x4980(){const _0x1ea7cb=['color','split','transform','setActiveRange','4093268TOPzQd','defineProperty','_range','getUnitId','_handleJoinEvent','UniverProCollaborationClientUi','Disposable','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','createElement','setTimeout','Warning','type','INVITE_CODE_ALREADY_BOUND','white','_localStorageService','_collabCursorState$','hovered','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','SUBMIT_CHANGESET_TIMEOUT','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','range','collabStatus.syncing','_id','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','off-line-icon','116178lFHMKk','DocCollaborationEntity','@univerjs/sheets-ui','isArray','handleInsertRangeMoveDown','useDependency','UniverRpc','@univerjs-pro/collaboration','then','_backgroundColor','_scene','generateRandomId','translate(.97)','IUniverInstanceService','debug','_initStatusComponent','ColorKit','getConfig','forEach','undoState','_transformPreviousActiveRange','min','BrowserCollaborationSocketService','_shapes','toString','_removeClearOtherTimer','_notificationService','init','_saveCache','_initEntityListener','Inject','merge','text','addObject','forwardRef','drawWith','ranges','UNIVER_SHEET','NOT_FOUND','ACTIVE_UNIT_EVENT_CHANNEL','_eventUnsubscribe','function','getStateCache','eventID','height','RECT','_roomMembers$','TEXT_RANGE_LAYER_INDEX','beginPath','1em','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','@univerjs/rpc','dispose$','size','next','DataLoaderService','prototype','triggerDblclick','WebBrowserSingleActiveUnitService','UniverDocsUi','UPDATE_CURSOR','CollaborationEvent','show','error','transformSelections','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','replaceState','delete','YUUMI_UNABLE_LOAD_URL','tag','@univerjs/engine-render','getMergeData','_handleHeartbeatEvent','trim','ALREADY_EXISTS','complete','9wlKhit','combineLatest','_collaborationController','assignAColorForMemberID','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','getCurrentUnitForType','disposeUnit','green.600','124958ZVIGJr','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','code','390MHHNmd','UNRECOGNIZED','column','use','EffectRefRangId','getMember','with','isTransformMutationFailure','executeCommand','Unknown\x20user','_send','round','UNAUTHENTICATED','MessageType','clipPath','substring','isTransformMutationsWithChangesetSuccess','arc','_selfUnitIDs','RemoteUniscriptService','_updateURLWithCurrentState','APPLY_NON_SEQUENTIAL_REVISION','defs','collab-text-anchor-','NodePositionConvertToRectRange','startsWith','react','handleIRemoveRow','DOC_RANGE_TYPE','_refreshCollabCursors','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','unitId','resize','USER_NOT_INVITED_CODE','getUniverSheetInstance','collaboration.closeRoom','IRenderManagerService','_collaborationUIEventService','ONLINE','OTHER_CLIENT_EDITING','_registerDependencies','editingUnit','_startDocCollabCursor','getOwnPropertySymbols','_logService','_clearOtherTimers','LocaleService','saveImage','top','YUUMI_RATE_OVER_LIMIT','10bGyWhO','RxDisposable','selection','createSocket','add','getSkeleton','_renderManagerService','Error','_getAnchorBounding','_uiPartsService','fromEvent','actions','HTTPService','IImageIoService','_colorIndex','has','OnLineIcon','UNDEFINED','source','addEventListener','UniverDrawing','redoState','_docSyncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','_removeCollabCursors','_dataLoaderService','collab-text-range-','_hideTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverNetwork','DocIMEInputManagerService','updateOfflineData','deepClone','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','fill','_getSessionTicket','unitID','evenodd','_status$','IUIPartsService','_online','HEADER_MENU','subscribeEvent','_httpService','onMouseMove','_textBubble','engine','mapTo','mask','sheetId','href','PERMISSION_DENIED','session.connection-failed','application/json','univer-mr-2\x20univer-flex\x20univer-text-xl','backgroundColor','row','getOffsetConfig','_docTransformStateCacheService','_onRefRangeChange','from','transformIMECache','getRangePointData','getFocusedUnit','SheetCollabCursorShape','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Shape','result','_getMergeRange','INVITE_CODE_REQUIRED','_docTransformIMECacheService','random','_colorAssignService','SOCKET_FAILED_RETRY','CollaborationController','transformStateCache','UniverUi','RegularPolygon','dispose','uni.network.url-service','Tooltip','handleIRemoveCol','endRow','_cursor','debounceTime','_cursors','handleDeleteRangeMoveLeft','_docSkeleton','setShapeProps','purple.300','hasOwnProperty','_document','_render','_onCursorDelete','UniverDocs','serializeRangeWithSheet','data','_updateLocalCursor','idSuffix','exhaustSavingTask','whenReady','labelPosition','LICENSE_DISTRO_REJECTED','_collabSessionService','collaboration.single-unit.warning','_heartbeatTimer','INVALID_ARGUMENT','_drawRectRange','SetWorksheetActivateCommand','contains','endColumn','newValue','touchDependencies','doc.mutation.rich-text-editing','onCommandExecuted','_urlService','flatMap','sheetID','subunit','_setupSubUnitSync','runId','useObservable','includes','_univerInstanceService','body','...','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','_anchorDot','width','_draw','displayName','red.300','stringify','map','toStringTag','currentTheme$','fillText','SOCKET_FAILED','_getSheetObject','runOnServer','jiqing.500','Module','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','closePath','UnitStatus','ILogService','propertyIsEnumerable','getLocalCacheKey','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','toRgbString','2431665ZMnbvV','setItem','m2Prime','extend','getVpScrollXYInfoByPosToVp','_drawAnchor','getOwnPropertyDescriptor','permission.title','M0\x200H16V16H0z','apply','createIdentifier','collab-rect-range-','RichTextEditingMutation','url(#$1','popstate','NO_OTHER_CLIENTS_EDITING','_entities','_memberService','transformRemoteChangeset','getColor','INTERNAL_ERROR','current','mutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_localeService','getCellPositionByOffset','231uBwpwu','_transformUndoRedoStack','invokeId','_lastPointer','cursorInfo$','pushState','onPointerMove$','post','blue.400','handleInsertRow','debounce','addObjects','RevisionService','WebURLService','MoveRangeCommandId','length','getUnitStatus$','0\x200\x2016\x2016','jsx','MemberService','InsertColCommandId','Tools','setInterval','clearInterval','@univerjs/design','syncEditingCollabCursor','InsertRangeMoveDownCommandId','onPointerEnter$','getParam','rxjs/operators','setUndoRedoMutationParamsCache','_handleEvent','_registerRenderDependencies','http://www.w3.org/2000/svg','DocSelectionManagerService','CLOSE_ROOM','10186808dplBAW','USERS_LEAVE','_labelPosition','_transformService','NodePositionConvertToCursor','getCurrent','CollaborationSessionService','exports','replaceDocRanges','FromArray','asObservable','registerRenderModule','_disabled','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','get','_color','_name','UniverSheets','getValue','_docTransformSelectionsService','registerRefRange','_init','getUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','APPLY_REJECT','wsSessionTicketUrl','_initResize','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','TOO_MANY_REQUESTS','YUUMI_ALL_TABLES_IS_INVALID','unit','history','saveTaskMap','shareReplay','unsubscribe','svg','ILocalCacheService','isEditing','_ensureSubject','rxjs','_session','_hovered','textRanges','getCollabCursors$','yellow.400','startColumn','DependentOn','collab-client.tooltip.reconnect','_saveTaskMap','colorChannel1','black','IMessageService','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','_sheetSkeletonManagerService','urlChange$','_unitStatus','values','handleMoveRange','SetDocZoomRatioOperation','SheetSkeletonManagerService','children','218940eQUhVY','SessionStatus','div','ThemeService','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','Workbook','pluginName','defIds','FETCH_MISS','SHEET_VIEWPORT_KEY','IRemoteInstanceService','CollaborationUIEventId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toDisposable','Failed','_scheduleHeartbeat','hide','Injector','useCallback','filter','@univerjs/drawing','_updateSubUnitFromURLParams','font','collaboration-client.offline-data-not-saved','_startSheetCollabCursor','getActiveSheet','OTHER_CLIENTS_EDITING','UniverSheetsUi','DocStateChangeManagerService','docStateChange$','location','_setupBeforeClosingHandler','replace','_scheduleClearOtherTimer','createInstance','focused$','getMemberID','APPLY_DUPLICATED','m1Prime','some','CONNECTOR_DATA_TOO_LARGE','_getScale','ITransformService','unshift','getActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sessionTicket','call','getTypeOfUnitDisposed$','pipe','SNAPSHOT_HAS_BEEN_REMOVED','CONFLICT','subscribe','_drawTextRange','mergeOverrideWithDependencies','setConfig','_cachedData','registerComponent','_commandService','SetTextSelectionsOperation','collabCursorState$','measureText','setParam','_onCursorUpdate','_collabCursorController','name','disableLocalCache','RemoveRowCommandId','ENSURE_SNAPSHOT_EXECUTION','lineTo','onStarting','takeUntil','string','storage','path','_themeService','LOCAL_CACHE_INTERVAL','_getSaveTimeout','clsx','max','MOBILE_HAS_BEEN_BOUND','_entityInit$','removeParam','addHandlerCallback','distinctUntilChanged','TEXT','_injector','APPLY_REVISION_CONFILICT','InsertRowCommandId','getViewport','_docSkeletonManagerService','_docStateChangeManagerService','_initDependencies','@univerjs/network','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_docClipboardService','NOT_COLLAB','IConfigService','_hover','clearTimeout','_cursorInfo$','assign','icon','set','getAncestorScale','currentSkeleton$','searchParams','onPointerLeave$','UniverProCollaborationClient','disposeWithMe','@univerjs/docs','Optional','DeleteRangeMoveLeftCommandId','fillRule','BehaviorSubject','_handleHover','@univerjs/core','DesktopCollaborationStatusDisplayController','ICommandService','requireSession','@univerjs/docs-ui','url(#off-line-icon_clip0_910_343)','origin','off-line-icon_clip0_910_343','setAlpha','WECHAT_HAS_BEEN_BOUND','_toggleOnline','indexOf','startRow','currentColor','loadOfflineData','isActive','OffLineIcon','_refRangeService','handleInsertRangeMoveRight','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','save','DeleteRangeMoveUpCommandId','onLocalMutation','@univerjs/sheets','cursorInfo','getCoordByCell','CHANGESET_REVISION_CONFILICT','restore','none','getRenderById','attrs','_createSocketURL','on-line-icon_clip0_910_349','_beforeCloseService','_anchor','_initEvent','push','IURLService','on-line-icon','symbol','getDocRanges','DocSkeletonManagerService','COLORS','DEFAULT_WS_SESSION_TICKET_URL','_toggleOffline','handleInsertCol','enableLocalCache','Plugin','switchMap','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','_configService','roomMembers','SetSelectionsOperation','_instanceService','OFFLINE','send','/run/','UniverDesign','UNIVER_DOC','INVALID_INVITE_CODE','_updateCollabCursors','UniverInstanceType','connectInjector','fillStyle','getColorFromTheme','onRendered','_unitOnClients','_messageService','params','collabStatus.offline','key','_localCacheService','react/jsx-runtime','EMAIL_VERIFY_CODE_MISMATCH','CollaborationDataLoaderController','saveOfflineData','IDocClipboardService','SheetsSelectionsService','44022OFgNNZ','_initStatusListener','all','_imageIoService','onTransformChange$','JOIN_ROOM_FAILED','imageSourceType','_context','Rect','_assignedColors','Rectangle','LOGIN_FAILED','className'];_0x4980=function(){return _0x1ea7cb;};return _0x4980();}(function(_0x59fd7f,_0x5c6961){const _0x2bac4b=_0x39c5,_0x257687=_0x59fd7f();while(!![]){try{const _0x34cb43=-parseInt(_0x2bac4b(0x300))/0x1*(parseInt(_0x2bac4b(0x336))/0x2)+-parseInt(_0x2bac4b(0x2a8))/0x3+parseInt(_0x2bac4b(0x28a))/0x4+parseInt(_0x2bac4b(0x135))/0x5+parseInt(_0x2bac4b(0x1b4))/0x6*(parseInt(_0x2bac4b(0x14f))/0x7)+parseInt(_0x2bac4b(0x173))/0x8*(-parseInt(_0x2bac4b(0x2f7))/0x9)+parseInt(_0x2bac4b(0x303))/0xa*(parseInt(_0x2bac4b(0x279))/0xb);if(_0x34cb43===_0x5c6961)break;else _0x257687['push'](_0x257687['shift']());}catch(_0x416fc5){_0x257687['push'](_0x257687['shift']());}}}(_0x4980,0xe3ca7),function(_0xfb10e,_0x17f0d2){const _0x2014c5=_0x39c5;typeof exports=='object'&&typeof module<'u'?_0x17f0d2(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2014c5(0x2d1)&&define['amd']?define([_0x2014c5(0x17a),_0x2014c5(0x273),'@univerjs-pro/collaboration-client',_0x2014c5(0x22a),'@univerjs/ui','rxjs',_0x2014c5(0x167),_0x2014c5(0x31d),_0x2014c5(0x2dd),_0x2014c5(0x241),_0x2014c5(0x2f1),_0x2014c5(0x212),_0x2014c5(0x22e),_0x2014c5(0x1c9),_0x2014c5(0x2af),_0x2014c5(0x224),'@univerjs/engine-formula',_0x2014c5(0x16c),_0x2014c5(0x2aa)],_0x17f0d2):(_0xfb10e=typeof globalThis<'u'?globalThis:_0xfb10e||self,_0x17f0d2(_0xfb10e[_0x2014c5(0x28f)]={},_0xfb10e['React'],_0xfb10e[_0x2014c5(0x222)],_0xfb10e['UniverCore'],_0xfb10e[_0x2014c5(0x383)],_0xfb10e[_0x2014c5(0x19d)],_0xfb10e[_0x2014c5(0x264)],_0xfb10e['React'],_0xfb10e[_0x2014c5(0x2ae)],_0xfb10e[_0x2014c5(0x185)],_0xfb10e['UniverEngineRender'],_0xfb10e[_0x2014c5(0x354)],_0xfb10e[_0x2014c5(0x2e5)],_0xfb10e[_0x2014c5(0x34a)],_0xfb10e['UniverProCollaboration'],_0xfb10e[_0x2014c5(0x395)],_0xfb10e['UniverEngineFormula'],_0xfb10e['rxjs']['operators'],_0xfb10e[_0x2014c5(0x1d0)]));}(this,function(_0x218781,_0x5536b0,_0x2600cf,_0x5e3300,_0x48ab34,_0x50b64e,_0x244ea9,_0x3146b7,_0x2f8e17,_0x101dc9,_0x1b825c,_0x5771f5,_0x1b316e,_0xc83503,_0x4384c1,_0x3a8334,_0x5aa429,_0x3987d5,_0x1b0390){'use strict';const _0x41a185=_0x39c5;var _0x11631e=Object['defineProperty'],_0x1c4428=(_0x7b6af,_0x4c04f0,_0x1e3dec)=>_0x4c04f0 in _0x7b6af?_0x11631e(_0x7b6af,_0x4c04f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3dec}):_0x7b6af[_0x4c04f0]=_0x1e3dec,_0x528ae5=(_0x469425,_0x5413c4,_0x28feac)=>_0x1c4428(_0x469425,typeof _0x5413c4!=_0x41a185(0x251)?_0x5413c4+'':_0x5413c4,_0x28feac),_0x1525d3=function(){const _0x41d2c9=_0x41a185;return _0x1525d3=Object[_0x41d2c9(0x21b)]||function(_0x492e41){const _0x44d486=_0x41d2c9;for(var _0x272de9,_0x48aeb6=0x1,_0xd28e50=arguments[_0x44d486(0x15e)];_0x48aeb6<_0xd28e50;_0x48aeb6++){_0x272de9=arguments[_0x48aeb6];for(var _0x1f6ecf in _0x272de9)Object['prototype'][_0x44d486(0x391)][_0x44d486(0x1e4)](_0x272de9,_0x1f6ecf)&&(_0x492e41[_0x1f6ecf]=_0x272de9[_0x1f6ecf]);}return _0x492e41;},_0x1525d3[_0x41d2c9(0x13e)](this,arguments);},_0x1366b=function(_0x3cc3b7,_0x15a958){const _0x256ab9=_0x41a185;var _0x434ca4={};for(var _0x86ecec in _0x3cc3b7)Object[_0x256ab9(0x2e2)][_0x256ab9(0x391)][_0x256ab9(0x1e4)](_0x3cc3b7,_0x86ecec)&&_0x15a958[_0x256ab9(0x235)](_0x86ecec)<0x0&&(_0x434ca4[_0x86ecec]=_0x3cc3b7[_0x86ecec]);if(_0x3cc3b7!=null&&typeof Object[_0x256ab9(0x32f)]==_0x256ab9(0x2d1)){for(var _0x527287=0x0,_0x86ecec=Object['getOwnPropertySymbols'](_0x3cc3b7);_0x527287<_0x86ecec[_0x256ab9(0x15e)];_0x527287++)_0x15a958[_0x256ab9(0x235)](_0x86ecec[_0x527287])<0x0&&Object[_0x256ab9(0x2e2)][_0x256ab9(0x131)]['call'](_0x3cc3b7,_0x86ecec[_0x527287])&&(_0x434ca4[_0x86ecec[_0x527287]]=_0x3cc3b7[_0x86ecec[_0x527287]]);}return _0x434ca4;},_0x146f6c=_0x3146b7['forwardRef'](function(_0x44adda,_0x5c4d50){const _0x25352e=_0x41a185;var _0x1efeaa=_0x44adda[_0x25352e(0x21c)],_0x1a5839=_0x44adda['id'],_0x472620=_0x44adda[_0x25352e(0x285)],_0x4bf3aa=_0x44adda['extend'],_0x57545b=_0x1366b(_0x44adda,[_0x25352e(0x21c),'id','className',_0x25352e(0x138)]),_0x590c22='univerjs-icon\x20univerjs-icon-'[_0x25352e(0x2a6)](_0x1a5839,'\x20')[_0x25352e(0x2a6)](_0x472620||'')[_0x25352e(0x2f4)](),_0x58a350=_0x3146b7['useRef']('_'[_0x25352e(0x2a6)](_0x3665c3()));return _0xdc07d0(_0x1efeaa,''[_0x25352e(0x2a6)](_0x1a5839),{'defIds':_0x1efeaa['defIds'],'idSuffix':_0x58a350[_0x25352e(0x14a)]},_0x1525d3({'ref':_0x5c4d50,'className':_0x590c22},_0x57545b),_0x4bf3aa);});function _0xdc07d0(_0x489d9e,_0x4eb817,_0x163b0e,_0x11551b,_0x3cab57){const _0x152849=_0x41a185;return _0x3146b7[_0x152849(0x294)](_0x489d9e[_0x152849(0x2f0)],_0x1525d3(_0x1525d3({'key':_0x4eb817},_0x516c78(_0x489d9e,_0x163b0e,_0x3cab57)),_0x11551b),(_0x1ac1cd(_0x489d9e,_0x163b0e)[_0x152849(0x1b3)]||[])[_0x152849(0x123)](function(_0x1fbb8c,_0x3abffe){const _0x18d1a8=_0x152849;return _0xdc07d0(_0x1fbb8c,''[_0x18d1a8(0x2a6)](_0x4eb817,'-')['concat'](_0x489d9e['tag'],'-')[_0x18d1a8(0x2a6)](_0x3abffe),_0x163b0e,void 0x0,_0x3cab57);}));}function _0x516c78(_0x4ff139,_0x10a05e,_0x5571b2){const _0x36beec=_0x41a185;var _0x9fea7=_0x1525d3({},_0x4ff139[_0x36beec(0x248)]);_0x5571b2!=null&&_0x5571b2[_0x36beec(0x1a7)]&&_0x9fea7[_0x36beec(0x359)]===_0x36beec(0x1a7)&&(_0x9fea7[_0x36beec(0x359)]=_0x5571b2['colorChannel1']),_0x4ff139[_0x36beec(0x2f0)]===_0x36beec(0x367)&&_0x9fea7['id']&&(_0x9fea7['id']=_0x9fea7['id']+_0x10a05e[_0x36beec(0x399)]),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x3c6ca9){const _0x69ac4f=_0x36beec;var _0x2e108a=_0x3c6ca9[0x0],_0x105d4c=_0x3c6ca9[0x1];_0x2e108a===_0x69ac4f(0x367)&&typeof _0x105d4c==_0x69ac4f(0x1fd)&&(_0x9fea7[_0x2e108a]=_0x105d4c[_0x69ac4f(0x1d5)](/url\(#(.*)\)/,_0x69ac4f(0x142)[_0x69ac4f(0x2a6)](_0x10a05e[_0x69ac4f(0x399)],')')));});var _0x3f4264=_0x10a05e[_0x36beec(0x1bc)];return!_0x3f4264||_0x3f4264[_0x36beec(0x15e)]===0x0||(_0x4ff139['tag']===_0x36beec(0x306)&&_0x9fea7['xlink:href']&&(_0x9fea7[_0x36beec(0x11c)]=_0x9fea7[_0x36beec(0x11c)]+_0x10a05e['idSuffix']),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x287a95){const _0xd3b229=_0x36beec;var _0x25fa78=_0x287a95[0x0],_0x54a79e=_0x287a95[0x1];typeof _0x54a79e=='string'&&(_0x9fea7[_0x25fa78]=_0x54a79e[_0xd3b229(0x1d5)](/url\(#(.*)\)/,'url(#$1'[_0xd3b229(0x2a6)](_0x10a05e[_0xd3b229(0x399)],')')));})),_0x9fea7;}function _0x1ac1cd(_0x22b75,_0x3d941a){const _0x56301b=_0x41a185;var _0x253b38,_0x950b95=_0x3d941a['defIds'];return!_0x950b95||_0x950b95[_0x56301b(0x15e)]===0x0?_0x22b75:_0x22b75['tag']===_0x56301b(0x319)&&(!((_0x253b38=_0x22b75[_0x56301b(0x1b3)])===null||_0x253b38===void 0x0)&&_0x253b38[_0x56301b(0x15e)])?_0x1525d3(_0x1525d3({},_0x22b75),{'children':_0x22b75[_0x56301b(0x1b3)][_0x56301b(0x123)](function(_0x4dae45){const _0x5dd4a3=_0x56301b;return typeof _0x4dae45[_0x5dd4a3(0x248)]['id']==_0x5dd4a3(0x1fd)&&_0x950b95&&_0x950b95[_0x5dd4a3(0x117)](_0x4dae45[_0x5dd4a3(0x248)]['id'])?_0x1525d3(_0x1525d3({},_0x4dae45),{'attrs':_0x1525d3(_0x1525d3({},_0x4dae45[_0x5dd4a3(0x248)]),{'id':_0x4dae45[_0x5dd4a3(0x248)]['id']+_0x3d941a[_0x5dd4a3(0x399)]})}):_0x4dae45;})}):_0x22b75;}function _0x3665c3(){const _0x3a10a3=_0x41a185;return Math[_0x3a10a3(0x37e)]()[_0x3a10a3(0x2c0)](0x24)[_0x3a10a3(0x312)](0x2,0x8);}_0x146f6c[_0x41a185(0x120)]='UniverIcon';var _0x24587d={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':'none','viewBox':_0x41a185(0x160),'width':_0x41a185(0x2d9),'height':_0x41a185(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x22f)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':_0x41a185(0x237),'d':_0x41a185(0x358),'strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x231)},'children':[{'tag':'path','attrs':{'fill':_0x41a185(0x299),'d':_0x41a185(0x13d)}}]}]}],'defIds':[_0x41a185(0x231)]},_0xf3e0b2=_0x3146b7[_0x41a185(0x2ca)](function(_0x4785a2,_0x2a523c){const _0x21b4a1=_0x41a185;return _0x3146b7[_0x21b4a1(0x294)](_0x146f6c,Object[_0x21b4a1(0x21b)]({},_0x4785a2,{'id':_0x21b4a1(0x2a7),'ref':_0x2a523c,'icon':_0x24587d}));});_0xf3e0b2[_0x41a185(0x120)]=_0x41a185(0x23a);var _0x2a8e7f={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':_0x41a185(0x246),'viewBox':'0\x200\x2017\x2016','width':_0x41a185(0x2d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x1ab)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':_0x41a185(0x30e),'strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x24a)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'fill':'white','d':_0x41a185(0x13d),'transform':_0x41a185(0x2b4)}}]}]}],'defIds':[_0x41a185(0x24a)]},_0x2e5f75=_0x3146b7['forwardRef'](function(_0x3b0d28,_0x3f66fd){const _0x383f24=_0x41a185;return _0x3146b7[_0x383f24(0x294)](_0x146f6c,Object['assign']({},_0x3b0d28,{'id':_0x383f24(0x250),'ref':_0x3f66fd,'icon':_0x2a8e7f}));});_0x2e5f75['displayName']=_0x41a185(0x346);function _0x2057fc(_0x488815){const _0x547079=_0x41a185;switch(_0x488815){case _0x2600cf[_0x547079(0x191)][_0x547079(0x261)]:return _0x547079(0x270);case _0x2600cf['CollaborationStatus'][_0x547079(0x1e8)]:return _0x547079(0x214);case _0x2600cf[_0x547079(0x191)][_0x547079(0x1bd)]:return'collabStatus.fetchMiss';case _0x2600cf[_0x547079(0x191)][_0x547079(0x216)]:return'collabStatus.notCollab';case _0x2600cf[_0x547079(0x191)]['AWAITING']:case _0x2600cf['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x547079(0x2a3);case _0x2600cf[_0x547079(0x191)][_0x547079(0x293)]:case _0x2600cf[_0x547079(0x191)]['PENDING']:return'collabStatus.synced';}}function _0x4cb787(_0x5269bf){const _0x282759=_0x41a185,{status$:_0x461e1e}=_0x5269bf,_0x595309=_0x48ab34[_0x282759(0x116)](_0x461e1e,_0x2600cf['CollaborationStatus'][_0x282759(0x216)]),_0x4266ab=_0x48ab34[_0x282759(0x2ad)](_0x5e3300['LocaleService']),_0x39c333=_0x48ab34[_0x282759(0x2ad)](_0x2600cf[_0x282759(0x179)]),_0x47ec3d=_0x595309!==_0x2600cf[_0x282759(0x191)][_0x282759(0x261)],_0x9baa35=_0x4266ab['t'](_0x2057fc(_0x595309)),_0xf2f3bb=_0x47ec3d?_0x5536b0['jsx'](_0x2e5f75,{}):_0x5536b0['jsx'](_0xf3e0b2,{}),_0x240d67=_0x3146b7[_0x282759(0x1c7)](()=>{_0x47ec3d||_0x39c333['reconnect']();},[_0x47ec3d,_0x39c333]);function _0x44d337(){const _0xce0166=_0x282759;return _0x5536b0['jsxs'](_0xce0166(0x1b6),{'className':'univer-flex\x20univer-items-center','onClick':_0x240d67,'children':[_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0x244ea9[_0xce0166(0x203)](_0xce0166(0x36d),{'univer-text-green-500':_0x47ec3d,'univer-text-red-500':!_0x47ec3d}),'children':_0xf2f3bb}),_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0xce0166(0x301),'children':_0x9baa35})]});}return _0x47ec3d?_0x44d337():_0x5536b0[_0x282759(0x161)](_0x244ea9[_0x282759(0x387)],{'title':_0x4266ab['t'](_0x282759(0x1a5)),'children':_0x44d337()});}var _0x2ed400=Object[_0x41a185(0x13b)],_0x52272e=(_0x48116b,_0xfd8363,_0x5dc18a,_0x3adcd2)=>{for(var _0x4f331e=_0x3adcd2>0x1?void 0x0:_0x3adcd2?_0x2ed400(_0xfd8363,_0x5dc18a):_0xfd8363,_0x4ea714=_0x48116b['length']-0x1,_0x1f0484;_0x4ea714>=0x0;_0x4ea714--)(_0x1f0484=_0x48116b[_0x4ea714])&&(_0x4f331e=_0x1f0484(_0x4f331e)||_0x4f331e);return _0x4f331e;},_0xfb8d56=(_0x3f1738,_0x4a52c8)=>(_0x50de1b,_0xa9999b)=>_0x4a52c8(_0x50de1b,_0xa9999b,_0x3f1738);_0x218781['DesktopCollaborationStatusDisplayController']=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x173e2e,_0x6a2e96,_0x361d25,_0x34c541){const _0x2fd43b=_0x41a185;super(),_0x528ae5(this,_0x2fd43b(0x35d),new _0x50b64e[(_0x2fd43b(0x228))](_0x2600cf[_0x2fd43b(0x191)]['NOT_COLLAB'])),(this[_0x2fd43b(0x118)]=_0x173e2e,this[_0x2fd43b(0x20b)]=_0x6a2e96,this[_0x2fd43b(0x2f9)]=_0x361d25,this[_0x2fd43b(0x33f)]=_0x34c541,this['_initStatusComponent'](),this[_0x2fd43b(0x27a)]());}[_0x41a185(0x27a)](){const _0x17cdd1=_0x41a185;this[_0x17cdd1(0x223)](this[_0x17cdd1(0x118)][_0x17cdd1(0x1d8)][_0x17cdd1(0x1e6)](_0x50b64e[_0x17cdd1(0x25a)](()=>{const _0x589c8c=_0x17cdd1,_0x4afb88=this['_univerInstanceService'][_0x589c8c(0x376)]();return _0x4afb88?this[_0x589c8c(0x2f9)]['getCollabEntity$'](_0x4afb88[_0x589c8c(0x28d)]()):_0x50b64e['of'](null);}),_0x50b64e[_0x17cdd1(0x25a)](_0xe49d8b=>_0xe49d8b?_0xe49d8b['status$']:_0x50b64e['of'](_0x2600cf[_0x17cdd1(0x191)][_0x17cdd1(0x216)])))[_0x17cdd1(0x1e9)](_0x58cf47=>{this['_status$']['next'](_0x58cf47);}));}[_0x41a185(0x2b7)](){const _0x11ac1f=_0x41a185;this['disposeWithMe'](this[_0x11ac1f(0x33f)][_0x11ac1f(0x1ee)](_0x48ab34['BuiltInUIPart'][_0x11ac1f(0x360)],()=>_0x48ab34[_0x11ac1f(0x269)](_0x1ce05b({'status$':this[_0x11ac1f(0x35d)][_0x11ac1f(0x17d)]()}),this['_injector'])));}},_0x218781['DesktopCollaborationStatusDisplayController']=_0x52272e([_0xfb8d56(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0xfb8d56(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0xfb8d56(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0xfb8d56(0x3,_0x48ab34[_0x41a185(0x35e)])],_0x218781[_0x41a185(0x22b)]);function _0x1ce05b(_0x34615c){const {status$:_0x336105}=_0x34615c;return function(){const _0x444786=_0x39c5;return _0x5536b0[_0x444786(0x161)](_0x4cb787,{'status$':_0x336105});};}const _0x48a0eb=_0x5e3300[_0x41a185(0x13f)](_0x41a185(0x386));var _0x5bab6f=Object[_0x41a185(0x13b)],_0x56e5ec=(_0x1b5e41,_0x54b5a8,_0x16afa6,_0x1a53b5)=>{const _0x223ca9=_0x41a185;for(var _0x4f844a=_0x1a53b5>0x1?void 0x0:_0x1a53b5?_0x5bab6f(_0x54b5a8,_0x16afa6):_0x54b5a8,_0x2bbb9b=_0x1b5e41[_0x223ca9(0x15e)]-0x1,_0x360012;_0x2bbb9b>=0x0;_0x2bbb9b--)(_0x360012=_0x1b5e41[_0x2bbb9b])&&(_0x4f844a=_0x360012(_0x4f844a)||_0x4f844a);return _0x4f844a;},_0x2cfcdb=(_0x299aa2,_0x1a057c)=>(_0x2fba3b,_0x41c06c)=>_0x1a057c(_0x2fba3b,_0x41c06c,_0x299aa2);_0x218781[_0x41a185(0x275)]=class extends _0x5e3300['RxDisposable']{constructor(_0x29652d,_0x4d2f87,_0x9bf52b,_0x1f98a2,_0x3ca21c){const _0x3720ac=_0x41a185;super(),this[_0x3720ac(0x3aa)]=_0x29652d,this[_0x3720ac(0x330)]=_0x4d2f87,this[_0x3720ac(0x1ef)]=_0x9bf52b,this[_0x3720ac(0x34f)]=_0x1f98a2,_0x3ca21c?_0x3ca21c==null||_0x3ca21c[_0x3720ac(0x39b)]()[_0x3720ac(0x2b0)](()=>this[_0x3720ac(0x189)]()):(this[_0x3720ac(0x330)][_0x3720ac(0x2b6)](_0x3720ac(0x18b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3720ac(0x189)]());}async['_init'](){const _0x26b163=_0x41a185,_0x1d5208=this['_urlService'][_0x26b163(0x16b)](_0x26b163(0x194)),_0x186baa=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x297)),_0x17b814=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x113));if(!_0x1d5208||!_0x186baa){this[_0x26b163(0x330)]['debug']('[CollaborationDataLoaderController]',_0x26b163(0x190));return;}const _0x4e7577=await this[_0x26b163(0x34f)]['loadUnit'](_0x1d5208,Number(_0x186baa),_0x17b814);_0x4e7577&&_0x4e7577 instanceof _0x5e3300[_0x26b163(0x1ba)]&&this[_0x26b163(0x114)](_0x4e7577);}async['_setupSubUnitSync'](_0x404fd9){const _0x18d42d=_0x41a185;await this[_0x18d42d(0x1ca)](_0x404fd9),_0x404fd9['activeSheet$'][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this[_0x18d42d(0x2de)]))[_0x18d42d(0x1e9)](_0x468611=>{_0x468611&&this['_updateURLWithCurrentState'](_0x468611);}),this[_0x18d42d(0x3aa)][_0x18d42d(0x1ad)][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this['dispose$']))[_0x18d42d(0x1e9)](()=>this['_updateSubUnitFromURLParams'](_0x404fd9));}[_0x41a185(0x317)](_0xcbc860,_0x221a86=!0x1){const _0x4d230a=_0x41a185,_0x329180=this['_urlService']['getParam'](_0x4d230a(0x113));_0xcbc860[_0x4d230a(0x291)]()!==_0x329180&&this[_0x4d230a(0x3aa)][_0x4d230a(0x1f3)](_0x4d230a(0x113),_0xcbc860[_0x4d230a(0x291)](),_0x221a86);}async[_0x41a185(0x1ca)](_0x1ec93b){const _0x550f81=_0x41a185;var _0x22e5a0;const _0x5e6fba=this[_0x550f81(0x3aa)][_0x550f81(0x16b)](_0x550f81(0x113));if(!_0x5e6fba||!_0x1ec93b['getSheetBySheetId'](_0x5e6fba)){const _0x277d93=_0x1ec93b['getUnhiddenWorksheets']()[0x0],_0x343297=_0x1ec93b['getSheetBySheetId'](_0x277d93);if(!_0x343297)return;this[_0x550f81(0x317)](_0x343297,!0x0),await this['_commandService']['executeCommand'](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x277d93});return;}((_0x22e5a0=_0x1ec93b[_0x550f81(0x1ce)]())==null?void 0x0:_0x22e5a0[_0x550f81(0x291)]())!==_0x5e6fba&&await this[_0x550f81(0x1ef)][_0x550f81(0x30b)](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x5e6fba});}},_0x218781['CollaborationDataLoaderController']=_0x56e5ec([_0x2cfcdb(0x0,_0x48a0eb),_0x2cfcdb(0x1,_0x5e3300['ILogService']),_0x2cfcdb(0x2,_0x5e3300[_0x41a185(0x22c)]),_0x2cfcdb(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x2e1)])),_0x2cfcdb(0x4,_0x5e3300[_0x41a185(0x225)](_0x2f8e17[_0x41a185(0x1bf)]))],_0x218781[_0x41a185(0x275)]);var _0x21fd32=Object[_0x41a185(0x13b)],_0x16736e=(_0x44cd3f,_0x235db7,_0x5dd57e,_0x32ca39)=>{for(var _0x50229a=_0x32ca39>0x1?void 0x0:_0x32ca39?_0x21fd32(_0x235db7,_0x5dd57e):_0x235db7,_0x1e341e=_0x44cd3f['length']-0x1,_0x1f0502;_0x1e341e>=0x0;_0x1e341e--)(_0x1f0502=_0x44cd3f[_0x1e341e])&&(_0x50229a=_0x1f0502(_0x50229a)||_0x50229a);return _0x50229a;},_0x432b9d=(_0x160484,_0x288d7e)=>(_0x30da2d,_0x1f28ca)=>_0x288d7e(_0x30da2d,_0x1f28ca,_0x160484);let _0x282384=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x514dc9,_0x388bf2){const _0x4d0f1b=_0x41a185;super(),this[_0x4d0f1b(0x215)]=_0x514dc9,this['_imageIoService']=_0x388bf2,this[_0x4d0f1b(0x189)]();}[_0x41a185(0x189)](){const _0x5433d7=_0x41a185,_0x46252c=this;this[_0x5433d7(0x223)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1c45f7=>{const _0x334b25=_0x5433d7,_0x5defc6=await _0x46252c[_0x334b25(0x27c)][_0x334b25(0x333)](_0x1c45f7);return _0x5defc6?{'source':_0x5defc6[_0x334b25(0x348)],'imageSourceType':_0x5defc6[_0x334b25(0x27f)]}:null;}}));}};_0x282384=_0x16736e([_0x432b9d(0x0,_0x1b316e[_0x41a185(0x277)]),_0x432b9d(0x1,_0xc83503[_0x41a185(0x343)])],_0x282384);const _0x58ce6f=[_0x41a185(0x390),_0x41a185(0x12a),_0x41a185(0x2ff),_0x41a185(0x121),_0x41a185(0x157),_0x41a185(0x1a2)];class _0xc0d63f extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x28dca1=_0x41a185;super(...arguments),_0x528ae5(this,_0x28dca1(0x282),new Map()),_0x528ae5(this,'_colorIndex',0x0);}[_0x41a185(0x2fa)](_0x13d34d){const _0x5614e3=_0x41a185;if(this[_0x5614e3(0x282)][_0x5614e3(0x345)](_0x13d34d))return this[_0x5614e3(0x282)][_0x5614e3(0x182)](_0x13d34d);const _0x184fc4=_0x58ce6f[this['_colorIndex']];return this[_0x5614e3(0x344)]=(this['_colorIndex']+0x1)%_0x58ce6f[_0x5614e3(0x15e)],this[_0x5614e3(0x282)][_0x5614e3(0x21d)](_0x13d34d,_0x184fc4),_0x184fc4;}}function _0x3ffd36(_0x582957){const _0x243fd2=_0x41a185;let _0x11b965='';for(const _0x570f38 of _0x582957){const {startOffset:_0x222f63,endOffset:_0x37f53d,isActive:_0x3ffed7,rangeType:_0x1b3e7b,segmentId:_0x2fc253,segmentPage:_0x3a510d}=_0x570f38;_0x11b965[_0x243fd2(0x15e)]&&(_0x11b965+=','),_0x11b965+=_0x222f63+':'+_0x37f53d+':'+(_0x3ffed7?'1':'0')+':'+_0x1b3e7b+':'+_0x2fc253+':'+_0x3a510d;}return _0x11b965;}function _0x87d182(_0x138616){const _0x2d4e94=_0x41a185,_0x22c471=_0x138616[_0x2d4e94(0x287)](','),_0x325615=[];for(const _0x2ffa4c of _0x22c471){const [_0x22ff3f,_0x400c35,_0x3b08f8,_0x4d65fa,_0x32380f,_0x3e1faa]=_0x2ffa4c[_0x2d4e94(0x287)](':');_0x325615['push']({'startOffset':Number(_0x22ff3f),'endOffset':Number(_0x400c35),'collapsed':_0x22ff3f===_0x400c35,'isActive':_0x3b08f8==='1','rangeType':_0x4d65fa===_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]?_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]:_0x5e3300['DOC_RANGE_TYPE'][_0x2d4e94(0x2d5)],'segmentId':typeof _0x32380f==_0x2d4e94(0x1fd)?String(_0x32380f):'','segmentPage':Number(_0x3e1faa!=null?_0x3e1faa:-0x1)});}return _0x325615[_0x2d4e94(0x1dc)](_0xc34d27=>_0xc34d27[_0x2d4e94(0x239)])||(_0x325615[0x0][_0x2d4e94(0x239)]=!0x0),_0x325615;}class _0xa68806 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x33d8f6=_0x41a185;super(...arguments),_0x528ae5(this,_0x33d8f6(0x29b),new _0x50b64e[(_0x33d8f6(0x228))](null)),_0x528ae5(this,_0x33d8f6(0x1f1),this['_collabCursorState$'][_0x33d8f6(0x17d)]());}[_0x41a185(0x168)](_0x1daab5){const _0x3339ed=_0x41a185,{unitID:_0x203d5a,memberID:_0x29e67,textRanges:_0x5817d3}=_0x1daab5,_0x4b596f=_0x3ffd36(_0x5817d3);if(_0x4b596f==='')return;const _0x1fe76a={'unitID':_0x203d5a,'memberID':_0x29e67,'selection':_0x4b596f};this['_collabCursorState$'][_0x3339ed(0x2e0)](_0x1fe76a);}}var _0x573b07=Object[_0x41a185(0x13b)],_0x2bae9f=(_0x55da5b,_0x825df2,_0x1a8a4f,_0x2da851)=>{const _0x471ab6=_0x41a185;for(var _0x9b09a8=_0x2da851>0x1?void 0x0:_0x2da851?_0x573b07(_0x825df2,_0x1a8a4f):_0x825df2,_0x6e9952=_0x55da5b[_0x471ab6(0x15e)]-0x1,_0x203ed3;_0x6e9952>=0x0;_0x6e9952--)(_0x203ed3=_0x55da5b[_0x6e9952])&&(_0x9b09a8=_0x203ed3(_0x9b09a8)||_0x9b09a8);return _0x9b09a8;},_0x3d5c12=(_0x54ecce,_0x5ad027)=>(_0x444fdb,_0x2000f7)=>_0x5ad027(_0x444fdb,_0x2000f7,_0x54ecce);const _0x275a8d=0x12c,_0x57d848=0x64;let _0x2ef3a8=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x25bd14,_0x30a6d8,_0xa90456,_0x14fbe2,_0x5674dc,_0x44d6ab,_0x142ef7,_0x517c57,_0x72a5b5){const _0x7b9ad=_0x41a185;super(),_0x528ae5(this,_0x7b9ad(0x35f),!0x1),_0x528ae5(this,'_init',!0x1),_0x528ae5(this,_0x7b9ad(0x21a),new _0x50b64e[(_0x7b9ad(0x228))](new Map())),_0x528ae5(this,_0x7b9ad(0x153),this[_0x7b9ad(0x21a)]['asObservable']()),_0x528ae5(this,_0x7b9ad(0x2d6),new _0x50b64e['BehaviorSubject']([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x50b64e[_0x7b9ad(0x38b)](_0x275a8d))),_0x528ae5(this,'_updateLocalCursor',_0x5e3300[_0x7b9ad(0x159)](_0x338c2f=>{const _0x25436b=_0x7b9ad,_0x553465={'eventID':_0x4384c1['CollaborationEvent'][_0x25436b(0x2e6)],'data':{'unitID':this[_0x25436b(0x35b)],'memberID':this['_session'][_0x25436b(0x1d9)](),'selection':_0x3ffd36(_0x338c2f)}};this[_0x25436b(0x19e)][_0x25436b(0x262)](_0x553465,this['unitID']);},_0x57d848)),(this[_0x7b9ad(0x35b)]=_0x25bd14,this[_0x7b9ad(0x19e)]=_0x30a6d8,this[_0x7b9ad(0x20b)]=_0xa90456,this['_colorAssignService']=_0x14fbe2,this[_0x7b9ad(0x146)]=_0x5674dc,this['_syncEditingCollabCursorService']=_0x44d6ab,this[_0x7b9ad(0x176)]=_0x142ef7,this[_0x7b9ad(0x118)]=_0x517c57,this['_commandService']=_0x72a5b5);}get['cursorInfo'](){const _0x5cd0c7=_0x41a185;return this[_0x5cd0c7(0x21a)][_0x5cd0c7(0x186)]();}get[_0x41a185(0x25e)](){const _0x245dfe=_0x41a185;return this['_roomMembers$'][_0x245dfe(0x186)]();}[_0x41a185(0x385)](){const _0x556722=_0x41a185;super['dispose'](),this[_0x556722(0x21a)][_0x556722(0x2e0)](new Map()),this[_0x556722(0x21a)][_0x556722(0x2f6)](),this[_0x556722(0x2d6)][_0x556722(0x2e0)]([]),this[_0x556722(0x2d6)][_0x556722(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x56bd86=_0x41a185;this[_0x56bd86(0x189)]||(this[_0x56bd86(0x189)]=!0x0,this[_0x56bd86(0x19e)]['sessionStatus$'][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x12c3e2=>{const _0x2b057e=_0x56bd86;_0x12c3e2===_0x2600cf[_0x2b057e(0x1b5)][_0x2b057e(0x32a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56bd86(0x19e)][_0x56bd86(0x12c)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this['dispose$']))[_0x56bd86(0x1e9)](_0x6bb761=>{const _0x5df52c=_0x56bd86,_0x3d8805=_0x6bb761[_0x5df52c(0x2d3)];_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x2e6)]&&this[_0x5df52c(0x1f4)](_0x6bb761),_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x174)]&&this[_0x5df52c(0x394)](_0x6bb761);}),this[_0x56bd86(0x223)](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x2d4135=>{const _0x489af3=_0x56bd86,_0x530fb0=_0x2d4135[_0x489af3(0x26f)];_0x530fb0!=null&&this['_online']&&_0x2d4135['id']===_0x3a8334[_0x489af3(0x1f0)]['id']&&_0x530fb0['unitId']===this[_0x489af3(0x35b)]&&_0x530fb0[_0x489af3(0x19b)]===!0x1&&_0x530fb0[_0x489af3(0x2cc)][_0x489af3(0x15e)]>0x0&&this[_0x489af3(0x398)](_0x530fb0[_0x489af3(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x56bd86(0x1f1)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x591963=>{const _0x1257f3=_0x56bd86;if((_0x591963==null?void 0x0:_0x591963[_0x1257f3(0x35b)])!==this[_0x1257f3(0x35b)])return;const _0x259de2={'eventID':_0x4384c1['CollaborationEvent'][_0x1257f3(0x2e6)],'data':_0x591963};this['_onCursorUpdate'](_0x259de2);}),this['disposeWithMe'](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x139af5=>{const _0x3ff3b9=_0x56bd86;if(_0x139af5[_0x3ff3b9(0x26f)]==null)return;const _0x1924e4=_0x139af5[_0x3ff3b9(0x26f)];if(_0x139af5['id']!==_0x3a8334[_0x3ff3b9(0x141)]['id']||_0x1924e4[_0x3ff3b9(0x323)]!==this['unitID'])return;const _0x51b1e7={'id':_0x3ff3b9(0x3a8),'params':_0x1924e4},_0x26eab2=this[_0x3ff3b9(0x242)];for(const [_0x54a311,_0x4e08bd]of _0x26eab2){const _0x254ece={'id':_0x3ff3b9(0x3a8),'params':{'unitId':this[_0x3ff3b9(0x35b)],'actions':null,'textRanges':_0x4e08bd[_0x3ff3b9(0x2cc)]}},_0x3f55a5=this['_transformService'][_0x3ff3b9(0x1b9)](_0x51b1e7,_0x254ece,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x3f55a5))throw _0x3f55a5[_0x3ff3b9(0x2e9)];_0x26eab2[_0x3ff3b9(0x21d)](_0x54a311,{..._0x4e08bd,'ranges':_0x3f55a5[_0x3ff3b9(0x137)][_0x3ff3b9(0x26f)][_0x3ff3b9(0x1a0)]});}queueMicrotask(()=>{const _0x13ecad=_0x3ff3b9;this[_0x13ecad(0x21a)]['next'](_0x26eab2);});})));}[_0x41a185(0x1f4)](_0x565d42){const _0x5d9375=_0x41a185;var _0x5499e3,_0x278c79;const {memberID:_0xac4222,selection:_0x1e0b7f}=_0x565d42['data'],_0x2d008f=_0x87d182(_0x1e0b7f),_0x5900ab=(_0x278c79=(_0x5499e3=this[_0x5d9375(0x146)]['getMember'](this[_0x5d9375(0x35b)],_0xac4222))==null?void 0x0:_0x5499e3[_0x5d9375(0x1f6)])!=null?_0x278c79:_0x5d9375(0x30c),_0x42b6ae={'color':this[_0x5d9375(0x37f)][_0x5d9375(0x2fa)](_0xac4222),'name':_0x5900ab,'ranges':_0x2d008f},_0xe0aa00=this[_0x5d9375(0x242)];_0xe0aa00[_0x5d9375(0x21d)](_0xac4222,_0x42b6ae),this[_0x5d9375(0x21a)]['next'](_0xe0aa00);}[_0x41a185(0x394)](_0x4020a5){const _0x32bdf8=_0x41a185,{memberID:_0x58a8a5}=_0x4020a5[_0x32bdf8(0x397)],_0x24829d=this[_0x32bdf8(0x242)];_0x24829d[_0x32bdf8(0x2ee)](_0x58a8a5),this[_0x32bdf8(0x21a)][_0x32bdf8(0x2e0)](_0x24829d);}['_toggleOnline'](){const _0x5cd3d3=_0x41a185;var _0x19fc32;if(this[_0x5cd3d3(0x35f)]=!0x0,((_0x19fc32=this[_0x5cd3d3(0x118)][_0x5cd3d3(0x376)]())==null?void 0x0:_0x19fc32[_0x5cd3d3(0x28d)]())!==this[_0x5cd3d3(0x35b)])return;const _0x5c3243=this[_0x5cd3d3(0x20b)][_0x5cd3d3(0x182)](_0x3a8334[_0x5cd3d3(0x171)])[_0x5cd3d3(0x252)]();Array[_0x5cd3d3(0x2ab)](_0x5c3243)&&_0x5c3243[_0x5cd3d3(0x15e)]>0x0&&this[_0x5cd3d3(0x398)](_0x5c3243);}[_0x41a185(0x256)](){const _0x16d0a7=_0x41a185;this[_0x16d0a7(0x35f)]=!0x1;}};_0x2ef3a8=_0x2bae9f([_0x3d5c12(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x3d5c12(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x3d5c12(0x4,_0x5e3300['Inject'](_0x2600cf[_0x41a185(0x162)])),_0x3d5c12(0x5,_0x5e3300['Inject'](_0xa68806)),_0x3d5c12(0x6,_0x4384c1[_0x41a185(0x1df)]),_0x3d5c12(0x7,_0x5e3300[_0x41a185(0x2b5)]),_0x3d5c12(0x8,_0x5e3300[_0x41a185(0x22c)])],_0x2ef3a8);var _0x402f88=Object[_0x41a185(0x13b)],_0x3a793=(_0x352090,_0x199cad,_0x5e390f,_0x4397bf)=>{const _0x409593=_0x41a185;for(var _0x5def69=_0x4397bf>0x1?void 0x0:_0x4397bf?_0x402f88(_0x199cad,_0x5e390f):_0x199cad,_0x24431c=_0x352090[_0x409593(0x15e)]-0x1,_0x170566;_0x24431c>=0x0;_0x24431c--)(_0x170566=_0x352090[_0x24431c])&&(_0x5def69=_0x170566(_0x5def69)||_0x5def69);return _0x5def69;},_0x354548=(_0x489aee,_0x5b854d)=>(_0x45b3e5,_0x222362)=>_0x5b854d(_0x45b3e5,_0x222362,_0x489aee);const _0x200180=0x12c,_0x57474d=0x64,_0x28324f=()=>{let _0x1a591e=[],_0x54e451=!0x1;return _0x3555de=>{const _0x228243=_0x39c5;_0x1a591e[_0x228243(0x24e)](_0x3555de),_0x54e451||(_0x54e451=!0x0,setTimeout(()=>{_0x1a591e['forEach'](_0x169ba5=>_0x169ba5()),_0x1a591e=[],_0x54e451=!0x1;}));};};let _0x4fce6c=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x5aeaad,_0x58e920,_0x291448,_0x43901b,_0x26e0b6,_0x7bd806,_0x5c038a,_0x2e0a41){const _0xdc9731=_0x41a185;super(),_0x528ae5(this,'_online',!0x1),_0x528ae5(this,_0xdc9731(0x189),!0x1),_0x528ae5(this,_0xdc9731(0x21a),new _0x50b64e[(_0xdc9731(0x228))](new Map())),_0x528ae5(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x528ae5(this,_0xdc9731(0x2d6),new _0x50b64e[(_0xdc9731(0x228))]([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$'][_0xdc9731(0x1e6)](_0x50b64e[_0xdc9731(0x38b)](_0x200180))),_0x528ae5(this,_0xdc9731(0x398),_0x5e3300[_0xdc9731(0x159)]((_0x37e819,_0x58d633)=>{const _0x140349=_0xdc9731,_0x428a3e={'eventID':_0x4384c1[_0x140349(0x2e7)][_0x140349(0x2e6)],'data':{'unitID':this[_0x140349(0x35b)],'memberID':this[_0x140349(0x19e)][_0x140349(0x1d9)](),'selection':_0x5aa429[_0x140349(0x396)](_0x37e819,_0x58d633['range'])}};this[_0x140349(0x19e)][_0x140349(0x262)](_0x428a3e,this[_0x140349(0x35b)]);},_0x57474d)),(this[_0xdc9731(0x35b)]=_0x5aeaad,this[_0xdc9731(0x19e)]=_0x58e920,this[_0xdc9731(0x20b)]=_0x291448,this[_0xdc9731(0x37f)]=_0x43901b,this[_0xdc9731(0x146)]=_0x26e0b6,this['_univerInstanceService']=_0x7bd806,this[_0xdc9731(0x1ef)]=_0x5c038a,this[_0xdc9731(0x23b)]=_0x2e0a41);}get[_0x41a185(0x242)](){return this['_cursorInfo$']['getValue']();}get[_0x41a185(0x25e)](){const _0x1a2bbf=_0x41a185;return this[_0x1a2bbf(0x2d6)]['getValue']();}[_0x41a185(0x385)](){const _0xe308b2=_0x41a185;super[_0xe308b2(0x385)](),this[_0xe308b2(0x21a)][_0xe308b2(0x2e0)](new Map()),this[_0xe308b2(0x21a)][_0xe308b2(0x2f6)](),this[_0xe308b2(0x2d6)][_0xe308b2(0x2e0)]([]),this[_0xe308b2(0x2d6)][_0xe308b2(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x28c568=_0x41a185;this[_0x28c568(0x189)]||(this[_0x28c568(0x189)]=!0x0,this['_session']['sessionStatus$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))['subscribe'](_0x217880=>{const _0x345dd4=_0x28c568;_0x217880===_0x2600cf[_0x345dd4(0x1b5)]['ONLINE']?this[_0x345dd4(0x234)]():this[_0x345dd4(0x256)]();}),this[_0x28c568(0x19e)]['event$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))[_0x28c568(0x1e9)](_0x5dbd04=>{const _0x138c60=_0x28c568,_0x3edcce=_0x5dbd04[_0x138c60(0x2d3)];_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x2e6)]&&this['_onCursorUpdate'](_0x5dbd04),_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x174)]&&this[_0x138c60(0x394)](_0x5dbd04);}),this[_0x28c568(0x372)](),this[_0x28c568(0x223)](this[_0x28c568(0x1ef)][_0x28c568(0x3a9)](_0x2c0120=>{const _0x1fb9c8=_0x28c568;if(this['_online']&&_0x2c0120['id']===_0x101dc9[_0x1fb9c8(0x25f)]['id']&&_0x2c0120[_0x1fb9c8(0x26f)]['unitId']===this[_0x1fb9c8(0x35b)]){const _0x13d848=_0x2c0120[_0x1fb9c8(0x26f)];this[_0x1fb9c8(0x398)](_0x13d848['subUnitId'],_0x13d848['selections'][0x0]);}})));}[_0x41a185(0x1f4)](_0x2d4899){const _0x28e4a2=_0x41a185;var _0x600d5f,_0x115025;const {memberID:_0x5a2d1b,selection:_0x4ec7cd}=_0x2d4899[_0x28e4a2(0x397)],{sheetName:_0x124cf0,range:_0x4a5e9e}=_0x5aa429['deserializeRangeWithSheet'](_0x4ec7cd),_0x3b374a={'name':(_0x115025=(_0x600d5f=this[_0x28e4a2(0x146)][_0x28e4a2(0x308)](this[_0x28e4a2(0x35b)],_0x5a2d1b))==null?void 0x0:_0x600d5f[_0x28e4a2(0x1f6)])!=null?_0x115025:'Unknown\x20user','range':this[_0x28e4a2(0x37b)](_0x124cf0,_0x4a5e9e),'sheetID':_0x124cf0,'color':this[_0x28e4a2(0x37f)]['assignAColorForMemberID'](_0x5a2d1b),'selection':_0x4ec7cd},_0x52f6aa=this[_0x28e4a2(0x242)];_0x52f6aa[_0x28e4a2(0x21d)](_0x5a2d1b,_0x3b374a),this[_0x28e4a2(0x21a)][_0x28e4a2(0x2e0)](_0x52f6aa);}[_0x41a185(0x394)](_0x5b857c){const _0xe38b34=_0x41a185,{memberID:_0x3797f9}=_0x5b857c[_0xe38b34(0x397)],_0x1a7f06=this[_0xe38b34(0x242)];_0x1a7f06[_0xe38b34(0x2ee)](_0x3797f9),this[_0xe38b34(0x21a)][_0xe38b34(0x2e0)](_0x1a7f06);}[_0x41a185(0x37b)](_0x212979,_0x26c49a){const _0x7857b0=_0x41a185;var _0xb5195e,_0xcf3404;const _0x2ddad1=(_0xcf3404=(_0xb5195e=this[_0x7857b0(0x118)][_0x7857b0(0x326)](this[_0x7857b0(0x35b)]))==null?void 0x0:_0xb5195e['getSheetBySheetId'](_0x212979))==null?void 0x0:_0xcf3404[_0x7857b0(0x2f2)]();return(_0x2ddad1==null?void 0x0:_0x2ddad1['find'](_0x27fa93=>_0x5e3300[_0x7857b0(0x283)][_0x7857b0(0x3a4)](_0x27fa93,_0x26c49a)))||_0x26c49a;}[_0x41a185(0x372)](){const _0x42c5ae=_0x41a185,_0x2f8c42=new _0x5e3300['DisposableCollection'](),_0x2ccf39=_0x28324f(),_0x49ce47=()=>{const _0xd824c3=_0x39c5;_0x2f8c42[_0xd824c3(0x385)]();const _0x3c5c8f=(_0x4ba870,_0x4d9ed7,_0x175ddd,_0x3cb7c3)=>{const _0x3a6c92=_0xd824c3;let _0x1f9b07=[];switch(_0x4ba870['id']){case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x226)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x38d)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x23f)]:{_0x1f9b07=_0x101dc9['handleDeleteRangeMoveUp'](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x163)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x257)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x169)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x2ac)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)]['InsertRangeMoveRightCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x23c)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x20d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x158)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x15d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x1b0)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId']['RemoveColCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x388)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x1f8)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x31e)](_0x4ba870,_0x3cb7c3);break;}}const _0x18577a=_0x101dc9['runRefRangeMutations'](_0x1f9b07,_0x3cb7c3),_0x33d0a0=this[_0x3a6c92(0x242)]['get'](_0x4d9ed7);if(_0x33d0a0&&_0x18577a){const _0x29e9a3={..._0x33d0a0,'range':_0x18577a};this['cursorInfo'][_0x3a6c92(0x21d)](_0x4d9ed7,_0x29e9a3),_0x2ccf39(()=>{const _0x234667=_0x3a6c92,_0x4cf24b=this['_refRangeService'][_0x234667(0x188)](_0x18577a,_0x19014a=>(_0x4cf24b[_0x234667(0x385)](),_0x3c5c8f(_0x19014a,_0x4d9ed7,_0x175ddd,_0x18577a)));_0x2f8c42['add'](_0x4cf24b);});}return{'redos':[],'undos':[]};};this[_0xd824c3(0x242)][_0xd824c3(0x2ba)]((_0x3f09e5,_0x5400d9)=>{const _0xf33726=_0xd824c3,{range:_0x28d5ae,sheetID:_0x434eae}=_0x3f09e5,_0x112f83=this[_0xf33726(0x23b)][_0xf33726(0x188)](_0x28d5ae,_0x4a4b97=>(_0x112f83[_0xf33726(0x385)](),_0x3c5c8f(_0x4a4b97,_0x5400d9,_0x434eae,_0x28d5ae)));_0x2f8c42['add'](_0x112f83);});};this['disposeWithMe'](_0x5e3300[_0x42c5ae(0x1c2)](this[_0x42c5ae(0x21a)][_0x42c5ae(0x1e9)](()=>{_0x49ce47();})));}['_toggleOnline'](){const _0x3bcd9a=_0x41a185;var _0x5482e7,_0x2358c3;if(this['_online']=!0x0,((_0x5482e7=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x376)]())==null?void 0x0:_0x5482e7[_0x3bcd9a(0x28d)]())!==this[_0x3bcd9a(0x35b)])return;const _0x44f1b7=(_0x2358c3=this[_0x3bcd9a(0x20b)][_0x3bcd9a(0x182)](_0x101dc9[_0x3bcd9a(0x278)])['getCurrentSelections']())==null?void 0x0:_0x2358c3[0x0],_0x456519=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x2fd)](_0x5e3300[_0x3bcd9a(0x268)]['UNIVER_SHEET'])[_0x3bcd9a(0x1ce)]();_0x44f1b7&&_0x456519&&this[_0x3bcd9a(0x398)](_0x456519[_0x3bcd9a(0x291)](),_0x44f1b7);}[_0x41a185(0x256)](){const _0xa744a8=_0x41a185;this[_0xa744a8(0x35f)]=!0x1;}};_0x4fce6c=_0x3a793([_0x354548(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x354548(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x354548(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x162)])),_0x354548(0x5,_0x5e3300[_0x41a185(0x2b5)]),_0x354548(0x6,_0x5e3300[_0x41a185(0x22c)]),_0x354548(0x7,_0x5e3300['Inject'](_0x101dc9['RefRangeService']))],_0x4fce6c);var _0x5d2fbe=Object[_0x41a185(0x13b)],_0x5077b0=(_0x4ad502,_0x795432,_0x4e5803,_0x1a1c57)=>{const _0x29f6aa=_0x41a185;for(var _0x1e3653=_0x1a1c57>0x1?void 0x0:_0x1a1c57?_0x5d2fbe(_0x795432,_0x4e5803):_0x795432,_0x4bbc2e=_0x4ad502[_0x29f6aa(0x15e)]-0x1,_0x2e7bec;_0x4bbc2e>=0x0;_0x4bbc2e--)(_0x2e7bec=_0x4ad502[_0x4bbc2e])&&(_0x1e3653=_0x2e7bec(_0x1e3653)||_0x1e3653);return _0x1e3653;},_0x1aa2e5=(_0x4a9fba,_0x547fbc)=>(_0xae0f23,_0x275a62)=>_0x547fbc(_0xae0f23,_0x275a62,_0x4a9fba);let _0x17492c=class extends _0x5e3300['RxDisposable']{constructor(_0x8ea94e,_0x57494b,_0x38c0b5){const _0x2c3de3=_0x41a185;super(),_0x528ae5(this,'_entities',new Map()),_0x528ae5(this,_0x2c3de3(0x206),new _0x50b64e['Subject']()),(this[_0x2c3de3(0x118)]=_0x8ea94e,this[_0x2c3de3(0x20b)]=_0x57494b,this['_collabSessionService']=_0x38c0b5,this[_0x2c3de3(0x189)]());}[_0x41a185(0x385)](){const _0x398775=_0x41a185;super[_0x398775(0x385)](),this[_0x398775(0x206)]['complete'](),this[_0x398775(0x145)][_0x398775(0x2ba)](_0x3b6309=>_0x3b6309[_0x398775(0x385)]());}[_0x41a185(0x1a1)](_0x228196){const _0xa16c4e=_0x41a185;return this['_entities']['has'](_0x228196)?this[_0xa16c4e(0x145)][_0xa16c4e(0x182)](_0x228196)[_0xa16c4e(0x153)]:this[_0xa16c4e(0x206)][_0xa16c4e(0x1e6)](_0x50b64e[_0xa16c4e(0x1c8)](_0x63e516=>_0x63e516['unitID']===_0x228196),_0x50b64e[_0xa16c4e(0x25a)](_0x19f13c=>_0x19f13c[_0xa16c4e(0x153)]));}[_0x41a185(0x189)](){const _0xf94fe6=_0x41a185;this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](async _0x57a720=>{const _0x101473=_0xf94fe6,_0x3755be=_0x57a720[_0x101473(0x28d)](),_0x479d99=await this[_0x101473(0x1cd)](_0x3755be);this[_0x101473(0x206)]['next'](_0x479d99),this[_0x101473(0x145)]['set'](_0x3755be,_0x479d99);}),this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x265)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))['pipe'](_0x50b64e[_0xf94fe6(0x1c8)](_0x35e67e=>!_0x35e67e[_0xf94fe6(0x28d)]()[_0xf94fe6(0x31c)]('__')))[_0xf94fe6(0x1e9)](async _0x2af2e7=>{const _0xd1d674=_0xf94fe6,_0x670c5b=_0x2af2e7[_0xd1d674(0x28d)](),_0x31010e=await this[_0xd1d674(0x32e)](_0x670c5b);this['_entityInit$'][_0xd1d674(0x2e0)](_0x31010e),this[_0xd1d674(0x145)][_0xd1d674(0x21d)](_0x670c5b,_0x31010e);}),_0x50b64e[_0xf94fe6(0x2c7)](this[_0xf94fe6(0x118)]['getTypeOfUnitDisposed$'](_0x5e3300[_0xf94fe6(0x268)]['UNIVER_DOC']),this[_0xf94fe6(0x118)][_0xf94fe6(0x1e5)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)]))[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](_0x57c3c8=>{const _0xbbfcbc=_0xf94fe6,_0x3236d9=_0x57c3c8[_0xbbfcbc(0x28d)](),_0x3ebb8d=this['_entities'][_0xbbfcbc(0x182)](_0x3236d9);_0x3ebb8d&&(_0x3ebb8d[_0xbbfcbc(0x385)](),this[_0xbbfcbc(0x145)][_0xbbfcbc(0x2ee)](_0x3236d9));});}async[_0x41a185(0x1cd)](_0x1bf7f2){const _0x4a8d45=_0x41a185,_0x111636=await this[_0x4a8d45(0x39e)][_0x4a8d45(0x22d)](_0x1bf7f2),_0x28f935=this[_0x4a8d45(0x20b)][_0x4a8d45(0x1d7)](_0x4fce6c,_0x1bf7f2,_0x111636);return _0x28f935[_0x4a8d45(0x2c3)](),_0x28f935;}async['_startDocCollabCursor'](_0x47ff84){const _0x3383f7=_0x41a185,_0x390b5e=await this[_0x3383f7(0x39e)][_0x3383f7(0x22d)](_0x47ff84),_0x42a994=this[_0x3383f7(0x20b)][_0x3383f7(0x1d7)](_0x2ef3a8,_0x47ff84,_0x390b5e);return _0x42a994[_0x3383f7(0x2c3)](),_0x42a994;}};_0x17492c=_0x5077b0([_0x1aa2e5(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0x1aa2e5(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x1aa2e5(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x179)]))],_0x17492c);const _0x352025=0x14,_0x27975c=0xc8,_0x47d14b=0x4,_0x1a9088=0x5;function _0x7bf8f1(_0x11a885,_0x58618b){const _0x551b8c=_0x41a185;let {radius:_0x5b6031,width:_0xc60436,height:_0x21f7ae}=_0x58618b;_0x5b6031=_0x5b6031!=null?_0x5b6031:0x0,_0xc60436=_0xc60436!=null?_0xc60436:0x1e,_0x21f7ae=_0x21f7ae!=null?_0x21f7ae:0x1e;let _0xc04b50=0x0,_0x39e0b1=0x0,_0x1958d8=0x0;_0xc04b50=_0x39e0b1=_0x1958d8=Math[_0x551b8c(0x2bd)](_0x5b6031,_0xc60436/0x2,_0x21f7ae/0x2),_0x11a885[_0x551b8c(0x2d8)](),_0x11a885['moveTo'](_0xc04b50,0x0),_0x11a885['lineTo'](_0xc60436-_0x39e0b1,0x0),_0x11a885[_0x551b8c(0x314)](_0xc60436-_0x39e0b1,_0x39e0b1,_0x39e0b1,Math['PI']*0x3/0x2,0x0,!0x1),_0x11a885[_0x551b8c(0x1fa)](_0xc60436,_0x21f7ae-_0x1958d8),_0x11a885['arc'](_0xc60436-_0x1958d8,_0x21f7ae-_0x1958d8,_0x1958d8,0x0,Math['PI']/0x2,!0x1),_0x11a885[_0x551b8c(0x1fa)](0x0,_0x21f7ae),_0x11a885[_0x551b8c(0x1fa)](0x0,_0xc04b50),_0x11a885[_0x551b8c(0x314)](_0xc04b50,_0xc04b50,_0xc04b50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11a885[_0x551b8c(0x12e)](),_0x58618b['fill']&&(_0x11a885[_0x551b8c(0x23e)](),_0x11a885[_0x551b8c(0x26a)]=_0x58618b[_0x551b8c(0x359)],_0x58618b[_0x551b8c(0x227)]===_0x551b8c(0x35c)?_0x11a885[_0x551b8c(0x359)](_0x551b8c(0x35c)):_0x11a885[_0x551b8c(0x359)](),_0x11a885[_0x551b8c(0x245)]());}class _0x128905 extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x1ed0da,_0x2598f9){const _0x518785=_0x41a185;super(_0x1ed0da,_0x2598f9),_0x528ae5(this,'color'),_0x528ae5(this,_0x518785(0x2c8)),(this['color']=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x286)],this[_0x518785(0x2c8)]=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x2c8)]);}static[_0x41a185(0x2cb)](_0x1d73e3,_0x451e35){const _0x54136b=_0x41a185,{text:_0x2eb0b7,color:_0x5dc7d7}=_0x451e35;_0x1d73e3[_0x54136b(0x23e)](),_0x1d73e3[_0x54136b(0x1cb)]=_0x54136b(0x353);const _0x2c3fad=_0x1d73e3[_0x54136b(0x1f2)](_0x2eb0b7)[_0x54136b(0x11e)],_0xd9e4eb=Math[_0x54136b(0x2bd)](_0x2c3fad+0x2*_0x47d14b,_0x27975c);_0x7bf8f1(_0x1d73e3,{'height':_0x352025,'radius':0x4,'width':_0xd9e4eb,'fill':_0x5dc7d7}),_0x1d73e3[_0x54136b(0x26a)]='#FFF';const _0x5b82ac=_0x47d14b,_0xff464=_0x352025-_0x1a9088,_0x272aa0=_0x27975c-0x2*_0x47d14b;if(_0x2c3fad>_0x272aa0){let _0x519bbf='',_0x247499=0x0;for(const _0x3746b0 of _0x2eb0b7){const _0x240f2a=_0x1d73e3[_0x54136b(0x1f2)](_0x3746b0)[_0x54136b(0x11e)];if(_0x247499+_0x240f2a<=_0x272aa0-_0x1d73e3['measureText'](_0x54136b(0x11a))[_0x54136b(0x11e)])_0x519bbf+=_0x3746b0,_0x247499+=_0x240f2a;else{_0x519bbf+=_0x54136b(0x11a);break;}}_0x1d73e3[_0x54136b(0x126)](_0x519bbf,_0x5b82ac,_0xff464);}else _0x1d73e3[_0x54136b(0x126)](_0x2eb0b7,_0x5b82ac,_0xff464);_0x1d73e3['restore']();}[_0x41a185(0x11f)](_0x78ffb1){_0x128905['drawWith'](_0x78ffb1,this);}}const _0xa11a8e=_0x41a185(0x31a),_0x28715d=_0x41a185(0x350),_0x2fad1b=_0x41a185(0x140),_0xaf64a0=0x6,_0x1f02cc=1.5,_0x32de74=0x4,_0x552c09=1.5,_0x56cd5b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f61e7{constructor(_0xfe6a09,_0x30d031,_0x152251,_0x2bcf79){const _0x1e1ff2=_0x41a185;_0x528ae5(this,'_shapes',[]),_0x528ae5(this,_0x1e1ff2(0x24c),null),_0x528ae5(this,'_textBubble',null),_0x528ae5(this,_0x1e1ff2(0x11d),null),_0x528ae5(this,'_hideTimer',null),_0x528ae5(this,'_eventUnsubscribe',null),(this['_cursor']=_0xfe6a09,this[_0x1e1ff2(0x2b2)]=_0x30d031,this[_0x1e1ff2(0x38e)]=_0x152251,this[_0x1e1ff2(0x392)]=_0x2bcf79,this[_0x1e1ff2(0x393)]());}set[_0x41a185(0x218)](_0x55ca80){const _0x62d28c=_0x41a185;_0x55ca80?(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x1c5)](),this['_textBubble']&&this[_0x62d28c(0x364)][_0x62d28c(0x2e8)]()):(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x2e8)](),this[_0x62d28c(0x364)]&&this[_0x62d28c(0x364)][_0x62d28c(0x1c5)]());}[_0x41a185(0x385)](){const _0x4635f9=_0x41a185;for(const _0x4e7fd2 of this[_0x4635f9(0x2bf)])_0x4e7fd2[_0x4635f9(0x385)]();this[_0x4635f9(0x364)]&&this[_0x4635f9(0x364)][_0x4635f9(0x385)](),this[_0x4635f9(0x11d)]&&this[_0x4635f9(0x11d)][_0x4635f9(0x385)](),this[_0x4635f9(0x24c)]&&this['_anchor']['dispose'](),this[_0x4635f9(0x2d0)]&&this[_0x4635f9(0x2d0)]();}[_0x41a185(0x393)](){const _0x145342=_0x41a185;var _0x109d6a;const {_docSkeleton:_0x26d9af,_document:_0x1ddb69}=this,{color:_0x4bfc24,name:_0x531523,ranges:_0x57849f}=this[_0x145342(0x38a)],_0x3d0824=_0x1ddb69[_0x145342(0x370)](),{docsLeft:_0x1b7a0f,docsTop:_0x152b1f}=_0x3d0824,_0x4c1d0f=new _0x1b316e[(_0x145342(0x177))](_0x3d0824,_0x26d9af);for(const {startOffset:_0x2533a4,endOffset:_0x50db23,rangeType:_0x478b30,segmentId:_0x2a33d3,segmentPage:_0x1638e6,collapsed:_0x44a467,isActive:_0x597e61}of _0x57849f){const _0x579d4c=_0x26d9af[_0x145342(0x1aa)](_0x2533a4,!0x0,_0x2a33d3,_0x1638e6);let _0x4653e0=_0x26d9af['findNodePositionByCharIndex'](_0x50db23,!0x0,_0x2a33d3,_0x1638e6);if(_0x4653e0==null&&(_0x4653e0=_0x26d9af[_0x145342(0x1aa)](_0x50db23-0x1,!0x1,_0x2a33d3,_0x1638e6)),_0x597e61){const {contentBoxPointGroup:_0x212531}=_0x4c1d0f[_0x145342(0x375)](_0x4653e0,_0x4653e0);if(_0x212531[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x13a)](_0x4bfc24,_0x212531,_0x1b7a0f,_0x152b1f,_0x531523),this[_0x145342(0x2d0)]=this[_0x145342(0x229)]();}if(_0x579d4c&&_0x4653e0){if(_0x478b30===_0x5e3300[_0x145342(0x31f)][_0x145342(0x2d5)]){const _0x2f12ca=new _0x1b316e[(_0x145342(0x31b))](_0x3d0824,_0x26d9af),{pointGroup:_0x4fa3b4}=(_0x109d6a=_0x2f12ca[_0x145342(0x375)](_0x579d4c,_0x4653e0))!=null?_0x109d6a:{};if(_0x4fa3b4==null||_0x4fa3b4[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x3a2)](_0x4bfc24,_0x4fa3b4,_0x1b7a0f,_0x152b1f);}else{if(!_0x44a467){const {borderBoxPointGroup:_0x48abe8}=_0x4c1d0f[_0x145342(0x375)](_0x579d4c,_0x4653e0);if(_0x48abe8[_0x145342(0x15e)]===0x0)continue;this['_drawTextRange'](_0x4bfc24,_0x48abe8,_0x1b7a0f,_0x152b1f);}}}}}['_drawAnchor'](_0x59f788,_0x6d2a6,_0x5a5480,_0x49f7ee,_0x37e6fe){const _0x494309=_0x41a185,_0x24108f=this[_0x494309(0x33e)](_0x6d2a6),{left:_0x558537,top:_0x5f9656,height:_0x2e7780}=_0x24108f,_0xdb1085=this[_0x494309(0x1de)](),_0x572ee3=_0x552c09/_0xdb1085,_0xd70d=new _0x1b825c[(_0x494309(0x281))](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee,'height':_0x2e7780,'width':_0x1f02cc,'fill':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':_0x572ee3,'stroke':_0x56cd5b,'evented':!0x0});this[_0x494309(0x24c)]=_0xd70d,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0xd70d,_0x1b316e[_0x494309(0x2d7)]);const _0x3c8f7c=new _0x1b825c['Rect'](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x32de74/0x2,'height':_0x32de74,'width':_0x32de74,'fill':_0x59f788||_0x1b825c['getColor'](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':0x0,'stroke':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300['COLORS']['black'],0x0),'evented':!0x1});this[_0x494309(0x11d)]=_0x3c8f7c,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0x3c8f7c,_0x1b316e[_0x494309(0x2d7)]);const _0x514018=new _0x128905(_0xa11a8e+_0x5e3300['generateRandomId'](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x352025,'text':_0x37e6fe,'color':_0x59f788});this[_0x494309(0x364)]=_0x514018,this[_0x494309(0x2b2)]['addObject'](_0x514018,_0x1b316e[_0x494309(0x2d7)]),this['_hover']=!0x1;}[_0x41a185(0x229)](){const _0x1e6265=_0x41a185,_0x115d62=this[_0x1e6265(0x24c)][_0x1e6265(0x16a)][_0x1e6265(0x361)](()=>{const _0x2768c6=_0x1e6265;this[_0x2768c6(0x218)]=!0x0;}),_0x34f040=this[_0x1e6265(0x24c)][_0x1e6265(0x221)][_0x1e6265(0x361)](()=>{const _0x4eceb9=_0x1e6265;this[_0x4eceb9(0x351)]&&clearTimeout(this[_0x4eceb9(0x351)]),this[_0x4eceb9(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1ca0cc=_0x1e6265;_0x115d62[_0x1ca0cc(0x198)](),_0x34f040[_0x1ca0cc(0x198)]();};}[_0x41a185(0x1ea)](_0x5b3f45,_0x480127,_0x185f78,_0xe7241){const _0x5ca5c8=_0x41a185,_0x2addf7=new _0x5e3300[(_0x5ca5c8(0x2b8))](_0x5b3f45)[_0x5ca5c8(0x232)](0.2)[_0x5ca5c8(0x134)](),_0x429967=new _0x1b825c[(_0x5ca5c8(0x384))](_0x28715d+_0x5e3300[_0x5ca5c8(0x2b3)](_0xaf64a0),{'pointsGroup':_0x480127,'fill':_0x2addf7||_0x1b825c[_0x5ca5c8(0x148)](_0x5e3300['COLORS'][_0x5ca5c8(0x1a8)],0.2),'left':_0x185f78,'top':_0xe7241,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x429967),this['_scene']['addObject'](_0x429967,_0x1b316e[_0x5ca5c8(0x2d7)]);}[_0x41a185(0x3a2)](_0x2633d9,_0x72e547,_0x489d15,_0x1043ec){const _0x10ce93=_0x41a185,_0x47f0ba=new _0x5e3300['ColorKit'](_0x2633d9)[_0x10ce93(0x232)](0.2)[_0x10ce93(0x134)](),_0x5cf574=new _0x1b825c['RegularPolygon'](_0x2fad1b+_0x5e3300['generateRandomId'](_0xaf64a0),{'pointsGroup':_0x72e547,'fill':_0x47f0ba||_0x1b825c[_0x10ce93(0x148)](_0x5e3300['COLORS']['black'],0.2),'left':_0x489d15,'top':_0x1043ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10ce93(0x2bf)]['push'](_0x5cf574),this[_0x10ce93(0x2b2)][_0x10ce93(0x2c9)](_0x5cf574,_0x1b316e[_0x10ce93(0x2d7)]);}[_0x41a185(0x33e)](_0x30636e){const _0x45b767=_0x30636e[0x0],_0x5e009f=_0x45b767[0x0],_0xf522d4=_0x45b767[0x2],{x:_0x166667,y:_0x13df5e}=_0x5e009f,{x:_0x245b78,y:_0x1b6496}=_0xf522d4;return{'left':_0x166667,'top':_0x13df5e,'width':_0x245b78-_0x166667,'height':_0x1b6496-_0x13df5e};}[_0x41a185(0x1de)](){const _0x42ed7b=_0x41a185,{scaleX:_0x2ed10e,scaleY:_0x440ad5}=this['_scene']['getAncestorScale']();return Math[_0x42ed7b(0x204)](_0x2ed10e,_0x440ad5);}}var _0x46ccf9=Object[_0x41a185(0x13b)],_0x568611=(_0x121b3e,_0x401077,_0x57b9e8,_0x413f01)=>{for(var _0x1add8b=_0x413f01>0x1?void 0x0:_0x413f01?_0x46ccf9(_0x401077,_0x57b9e8):_0x401077,_0x61228c=_0x121b3e['length']-0x1,_0x134cb4;_0x61228c>=0x0;_0x61228c--)(_0x134cb4=_0x121b3e[_0x61228c])&&(_0x1add8b=_0x134cb4(_0x1add8b)||_0x1add8b);return _0x1add8b;},_0x26e182=(_0x97936b,_0x32ddab)=>(_0x258b4d,_0xb58d93)=>_0x32ddab(_0x258b4d,_0xb58d93,_0x97936b);let _0x54fb8b=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x392916,_0x29bb8f,_0x5e1b8b,_0x561d36,_0x924c67){const _0x372ab6=_0x41a185;super(),_0x528ae5(this,_0x372ab6(0x2eb),[]),_0x528ae5(this,_0x372ab6(0x38c),[]),(this['_context']=_0x392916,this[_0x372ab6(0x20f)]=_0x29bb8f,this[_0x372ab6(0x1f5)]=_0x5e1b8b,this[_0x372ab6(0x1ef)]=_0x561d36,this[_0x372ab6(0x200)]=_0x924c67,this['_init']());}['_init'](){const _0x1bb58d=_0x41a185,_0x25baf7=this[_0x1bb58d(0x280)]['unitId'],_0x336743=this[_0x1bb58d(0x20f)];this[_0x1bb58d(0x223)](_0x50b64e[_0x1bb58d(0x2f8)]([this[_0x1bb58d(0x1f5)]['getCollabCursors$'](_0x25baf7),this[_0x1bb58d(0x200)][_0x1bb58d(0x125)]])['pipe'](_0x3987d5[_0x1bb58d(0x123)](([_0x4876d1,_0x419b1a])=>({'skeleton':_0x336743[_0x1bb58d(0x33b)](),'cursors':[..._0x4876d1['values']()][_0x1bb58d(0x3ab)](_0x283c78=>({..._0x283c78,'color':this[_0x1bb58d(0x200)][_0x1bb58d(0x26b)](_0x283c78[_0x1bb58d(0x286)])}))})))[_0x1bb58d(0x1e9)](_0x1e23b5=>{const _0x52c7ab=_0x1bb58d;if(this['_removeCollabCursors'](),_0x1e23b5){const {skeleton:_0x37a49d,cursors:_0x4e9548}=_0x1e23b5;this[_0x52c7ab(0x267)](_0x37a49d,_0x4e9548);}})),this[_0x1bb58d(0x18e)](),this['_initCommandExecutedListener']();}[_0x41a185(0x267)](_0x10f738,_0x3c4c16){const _0x177ede=_0x41a185,{scene:_0x5f0388,mainComponent:_0x233b65}=this[_0x177ede(0x280)],_0x1da102=_0x3c4c16['map'](_0xaad94c=>new _0x1f61e7(_0xaad94c,_0x5f0388,_0x10f738,_0x233b65));this['_cursorShapes']=_0x1da102,this[_0x177ede(0x38c)]=_0x3c4c16;}[_0x41a185(0x320)](){const _0x198ea3=_0x41a185;this[_0x198ea3(0x34e)]();const {scene:_0x296f26,mainComponent:_0xe27f82}=this[_0x198ea3(0x280)],_0x34f2f9=this[_0x198ea3(0x20f)][_0x198ea3(0x33b)](),_0x3b807c=this[_0x198ea3(0x38c)][_0x198ea3(0x123)](_0x1de0d3=>new _0x1f61e7(_0x1de0d3,_0x296f26,_0x34f2f9,_0xe27f82));this['_cursorShapes']=_0x3b807c;}['_removeCollabCursors'](){const _0x3aceff=_0x41a185;this[_0x3aceff(0x2eb)]['forEach'](_0x75b7af=>_0x75b7af['dispose']()),this[_0x3aceff(0x2eb)]=[];}['_initCommandExecutedListener'](){const _0x436f26=_0x41a185,_0x3923df=[_0x1b316e[_0x436f26(0x1b1)]['id']];this['disposeWithMe'](this[_0x436f26(0x1ef)]['onCommandExecuted'](_0x41ea6b=>{const _0x2fb507=_0x436f26;_0x3923df[_0x2fb507(0x117)](_0x41ea6b['id'])&&_0x41ea6b[_0x2fb507(0x26f)][_0x2fb507(0x323)]===this['_context'][_0x2fb507(0x323)]&&this[_0x2fb507(0x320)]();}));}[_0x41a185(0x18e)](){const _0x52a273=_0x41a185;this['disposeWithMe'](_0x5e3300['fromEventSubject'](this[_0x52a273(0x280)][_0x52a273(0x365)][_0x52a273(0x27d)])[_0x52a273(0x1e6)](_0x3987d5[_0x52a273(0x1c8)](_0x1abab6=>_0x1abab6[_0x52a273(0x297)]===_0x1b825c[_0x52a273(0x1e2)][_0x52a273(0x324)]),_0x3987d5['throttleTime'](0x10))[_0x52a273(0x1e9)](()=>{this['_refreshCollabCursors']();}));}};_0x54fb8b=_0x568611([_0x26e182(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x3a8334[_0x41a185(0x253)])),_0x26e182(0x2,_0x5e3300['Inject'](_0x17492c)),_0x26e182(0x3,_0x5e3300['ICommandService']),_0x26e182(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x54fb8b);const _0x580f25=0x1,_0x2d51ac=1.5;class _0x2a41ec extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x14b45a,_0x234cab){const _0x4c2301=_0x41a185;super(_0x14b45a,_0x234cab),_0x528ae5(this,_0x4c2301(0x183)),_0x528ae5(this,_0x4c2301(0x19f),!0x1),_0x528ae5(this,_0x4c2301(0x28c)),_0x528ae5(this,'_name',''),_0x528ae5(this,_0x4c2301(0x175),_0x4c2301(0x334)),_0x528ae5(this,_0x4c2301(0x2b1)),(_0x234cab&&this['setShapeProps'](_0x234cab),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2301(0x221)]['subscribeEvent'](()=>this[_0x4c2301(0x38f)]({'hovered':!0x1})));}[_0x41a185(0x38f)](_0x3ed06c){const _0xcb5b17=_0x41a185;var _0x4cf1df,_0x337cf1,_0x3a4865,_0xfaba42,_0x5c48ce,_0x3c3f0e;this[_0xcb5b17(0x183)]=(_0x4cf1df=_0x3ed06c[_0xcb5b17(0x286)])!=null?_0x4cf1df:this[_0xcb5b17(0x183)],this[_0xcb5b17(0x19f)]=(_0x337cf1=_0x3ed06c[_0xcb5b17(0x29c)])!=null?_0x337cf1:this[_0xcb5b17(0x19f)],this[_0xcb5b17(0x28c)]=(_0x3a4865=_0x3ed06c[_0xcb5b17(0x2a2)])!=null?_0x3a4865:this[_0xcb5b17(0x28c)],this[_0xcb5b17(0x184)]=(_0xfaba42=_0x3ed06c[_0xcb5b17(0x1f6)])!=null?_0xfaba42:this[_0xcb5b17(0x184)],this['_labelPosition']=(_0x5c48ce=_0x3ed06c[_0xcb5b17(0x39c)])!=null?_0x5c48ce:this[_0xcb5b17(0x175)],this[_0xcb5b17(0x2b1)]=(_0x3c3f0e=_0x3ed06c[_0xcb5b17(0x36e)])!=null?_0x3c3f0e:this['_backgroundColor'],this['transformByState']({'width':_0x3ed06c[_0xcb5b17(0x11e)],'height':_0x3ed06c[_0xcb5b17(0x2d4)]});}[_0x41a185(0x363)](_0xd90b62){const _0x1ba14b=_0x41a185,{row:_0x59486d,column:_0x5466aa}=_0xd90b62;if(_0x59486d>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x236)]&&_0x59486d<=this['_range'][_0x1ba14b(0x389)]&&_0x5466aa>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x1a3)]&&_0x5466aa<=this[_0x1ba14b(0x28c)][_0x1ba14b(0x3a5)]){this[_0x1ba14b(0x38f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x41a185(0x2e3)](_0x53ae7a){return!0x1;}[_0x41a185(0x11f)](_0x41b7df){const _0x64d9f4=_0x41a185;_0x1b825c[_0x64d9f4(0x281)][_0x64d9f4(0x2cb)](_0x41b7df,{'width':this[_0x64d9f4(0x11e)],'height':this[_0x64d9f4(0x2d4)],'strokeWidth':_0x2d51ac,'stroke':this[_0x64d9f4(0x183)],'evented':!0x1,'fill':this[_0x64d9f4(0x2b1)]}),this[_0x64d9f4(0x19f)]&&(_0x41b7df[_0x64d9f4(0x23e)](),_0x41b7df[_0x64d9f4(0x288)](0x1,0x0,0x0,0x1,this[_0x64d9f4(0x11e)],this[_0x64d9f4(0x175)]===_0x64d9f4(0x18f)?0x0:-_0x352025),_0x128905[_0x64d9f4(0x2cb)](_0x41b7df,{'text':this[_0x64d9f4(0x184)],'color':this[_0x64d9f4(0x183)]}),_0x41b7df[_0x64d9f4(0x245)]());}}var _0x23d890=Object[_0x41a185(0x13b)],_0x38884e=(_0x355cfa,_0x518982,_0x3355d3,_0x57e44e)=>{for(var _0x5c7653=_0x57e44e>0x1?void 0x0:_0x57e44e?_0x23d890(_0x518982,_0x3355d3):_0x518982,_0x2bf5e9=_0x355cfa['length']-0x1,_0x1abfb1;_0x2bf5e9>=0x0;_0x2bf5e9--)(_0x1abfb1=_0x355cfa[_0x2bf5e9])&&(_0x5c7653=_0x1abfb1(_0x5c7653)||_0x5c7653);return _0x5c7653;},_0x3ae049=(_0x22e5fd,_0x55eb8f)=>(_0x54f5fb,_0x51ad5d)=>_0x55eb8f(_0x54f5fb,_0x51ad5d,_0x22e5fd);const _0x20ed03=0x1389;let _0x1d9dc1=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x4a99c6,_0x2eb338,_0x4882fe,_0x9ec04f){const _0x87b54a=_0x41a185;super(),_0x528ae5(this,_0x87b54a(0x38c),new Set()),_0x528ae5(this,_0x87b54a(0x152),null),(this[_0x87b54a(0x280)]=_0x4a99c6,this['_sheetSkeletonManagerService']=_0x2eb338,this['_collabCursorController']=_0x4882fe,this[_0x87b54a(0x200)]=_0x9ec04f,this[_0x87b54a(0x189)]());}[_0x41a185(0x189)](){const _0x380740=_0x41a185;this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e6)](_0x3987d5['takeUntil'](this['dispose$']),_0x3987d5[_0x380740(0x25a)](_0xda2748=>{const _0x244477=_0x380740;if(_0xda2748){const _0x2674de=_0xda2748[_0x244477(0x368)];return _0x50b64e[_0x244477(0x2f8)](this[_0x244477(0x1f5)][_0x244477(0x1a1)](this[_0x244477(0x280)][_0x244477(0x323)]),this['_themeService'][_0x244477(0x125)])[_0x244477(0x1e6)](_0x3987d5[_0x244477(0x123)](([_0x16aea6,_0x56b927])=>{const _0x3f36f6=_0x244477,_0x19dad1=new Map();return _0x16aea6[_0x3f36f6(0x2ba)]((_0x20555f,_0x2e368d)=>{const _0x3a4e61=_0x3f36f6;if(_0x20555f[_0x3a4e61(0x3ac)]===_0x2674de){const _0x18c975={..._0x20555f};_0x18c975[_0x3a4e61(0x286)]=this[_0x3a4e61(0x200)][_0x3a4e61(0x26b)](_0x20555f[_0x3a4e61(0x286)]),_0x19dad1[_0x3a4e61(0x21d)](_0x2e368d,_0x18c975);}}),{'skeleton':_0xda2748,'cursors':_0x19dad1};}));}return _0x50b64e['of']({'skeleton':null,'cursors':new Map()});}))[_0x380740(0x1e9)](({skeleton:_0x557034,cursors:_0x106f1e})=>{this['_removeCollabCursors'](),_0x557034&&this['_updateCollabCursors'](_0x557034,_0x106f1e);}),this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e9)](_0x347feb=>{const _0x1d2285=_0x380740;if(_0x347feb==null)return;const {skeleton:_0x18ef68}=_0x347feb,{scene:_0x171f74}=this['_context'];_0x171f74[_0x1d2285(0x155)][_0x1d2285(0x361)](_0x5e3300['debounce'](_0x54a86c=>{const _0x2553a8=_0x1d2285;var _0x4cafe5,_0x348973;const {offsetX:_0x3f5d87,offsetY:_0x2c5e51}=_0x54a86c,{x:_0x48170c,y:_0x4dfc41}=_0x171f74[_0x2553a8(0x181)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x3f5d87,_0x2c5e51])),{scaleX:_0x249ffe,scaleY:_0x400bcc}=_0x171f74[_0x2553a8(0x21e)](),_0x6fecb7=_0x171f74[_0x2553a8(0x20e)](_0x1b825c[_0x2553a8(0x1be)]['VIEW_MAIN']),_0x19f595=_0x171f74[_0x2553a8(0x139)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x48170c,_0x4dfc41]),_0x6fecb7),_0x48b069=_0x18ef68[_0x2553a8(0x14e)](_0x3f5d87,_0x2c5e51,_0x249ffe,_0x400bcc,_0x19f595);((_0x4cafe5=this[_0x2553a8(0x152)])==null?void 0x0:_0x4cafe5[_0x2553a8(0x305)])===_0x48b069[_0x2553a8(0x305)]&&((_0x348973=this['_lastPointer'])==null?void 0x0:_0x348973[_0x2553a8(0x36f)])===_0x48b069['row']||this[_0x2553a8(0x38c)]['forEach'](_0x5e25a8=>{const _0x3aadfb=_0x2553a8;_0x5e25a8[_0x3aadfb(0x363)](_0x48b069);});},0x64));});}[_0x41a185(0x267)](_0x465782,_0x412150){const _0x12cda4=_0x41a185;var _0x4a7682;const _0x161142=(_0x4a7682=this[_0x12cda4(0x1ac)][_0x12cda4(0x178)]())==null?void 0x0:_0x4a7682['skeleton'];if(!_0x161142)return;const _0x13aeb0=this[_0x12cda4(0x128)]();if(!_0x13aeb0)return;this['_cursors'][_0x12cda4(0x2ba)](_0x28e280=>{_0x28e280['makeDirty']();});const {scene:_0x3a235c}=_0x13aeb0,_0x56ce42=_0x51e374(Array[_0x12cda4(0x373)](_0x412150[_0x12cda4(0x1af)]()))['map'](_0x487da8=>{const _0x1bbd0a=_0x12cda4,{color:_0x29eae5,range:_0x4e88bb,name:_0x2d7712,selection:_0x127c94,sheetID:_0x6711fd}=_0x487da8,{startColumn:_0x2352db,startRow:_0x20ae30,endColumn:_0x5eb936,endRow:_0x3621c5}=_0x4e88bb,_0x540f50=_0x1b0390[_0x1bbd0a(0x243)](_0x20ae30,_0x2352db,_0x3a235c,_0x161142),_0x1a5bc6=_0x1b0390[_0x1bbd0a(0x243)](_0x3621c5,_0x5eb936,_0x3a235c,_0x161142),{columnHeaderHeightAndMarginTop:_0x489a84}=_0x161142,{startX:_0x1411b3,startY:_0x9ce280}=_0x540f50,{endX:_0x3ba285,endY:_0xdf85ed}=_0x1a5bc6,_0x242ca9=_0x3ba285-_0x1411b3,_0x2c3f21=_0xdf85ed-_0x9ce280,_0x11e728={'labelPosition':_0x9ce280-_0x489a84>=_0x352025?'top':_0x1bbd0a(0x18f),'sheetID':_0x6711fd,'range':_0x4e88bb,'color':_0x29eae5,'name':_0x2d7712,'selection':_0x127c94,'left':_0x1411b3,'top':_0x9ce280,'width':_0x242ca9,'height':_0x2c3f21,'evented':!0x1,'zIndex':_0x20ed03};return new _0x2a41ec(_0x2d7712,_0x11e728);});_0x3a235c[_0x12cda4(0x15a)](_0x56ce42,_0x580f25),this[_0x12cda4(0x38c)]=new Set(_0x56ce42);}[_0x41a185(0x34e)](){const _0x327984=_0x41a185;var _0x52d12d;(_0x52d12d=this[_0x327984(0x38c)])==null||_0x52d12d[_0x327984(0x2ba)](_0x333256=>_0x333256[_0x327984(0x385)]());}[_0x41a185(0x128)](){const _0x3f90a7=_0x41a185;return _0x1b0390['getSheetObject'](this[_0x3f90a7(0x280)][_0x3f90a7(0x194)],this[_0x3f90a7(0x280)]);}};_0x1d9dc1=_0x38884e([_0x3ae049(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x1b0390[_0x41a185(0x1b2)])),_0x3ae049(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x17492c)),_0x3ae049(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x1d9dc1);function _0x51e374(_0x161b15){const _0x540846=_0x41a185,_0x2bd12d=new Map();return _0x161b15[_0x540846(0x2ba)](_0x2d0492=>{const _0x5f4d87=_0x540846;if(_0x2bd12d[_0x5f4d87(0x345)](_0x2d0492[_0x5f4d87(0x338)])){const _0x2f2889=_0x2bd12d['get'](_0x2d0492[_0x5f4d87(0x338)]);_0x2f2889[_0x5f4d87(0x1f6)]+=',\x20'+_0x2d0492['name'];}else _0x2bd12d['set'](_0x2d0492[_0x5f4d87(0x338)],_0x2d0492);}),Array[_0x540846(0x373)](_0x2bd12d[_0x540846(0x1af)]());}var _0x3a77d5=Object[_0x41a185(0x13b)],_0x1d35c2=(_0x4f51c6,_0x4d7db7,_0x3b18ea,_0x55f0be)=>{const _0x11d727=_0x41a185;for(var _0x2db5c7=_0x55f0be>0x1?void 0x0:_0x55f0be?_0x3a77d5(_0x4d7db7,_0x3b18ea):_0x4d7db7,_0x566c77=_0x4f51c6[_0x11d727(0x15e)]-0x1,_0x1f6168;_0x566c77>=0x0;_0x566c77--)(_0x1f6168=_0x4f51c6[_0x566c77])&&(_0x2db5c7=_0x1f6168(_0x2db5c7)||_0x2db5c7);return _0x2db5c7;},_0x5d9663=(_0x4bd8b1,_0x10dd8f)=>(_0x57276b,_0xdcf5f7)=>_0x10dd8f(_0x57276b,_0xdcf5f7,_0x4bd8b1);let _0x3b66a5=class extends _0x5e3300['Disposable']{constructor(_0x3d5f50,_0x52bbad,_0x3015d2,_0x3419e7,_0x23619f,_0x20dd39){const _0x4aaceb=_0x41a185;super(),this[_0x4aaceb(0x24b)]=_0x3d5f50,this[_0x4aaceb(0x272)]=_0x52bbad,this[_0x4aaceb(0x329)]=_0x3015d2,this[_0x4aaceb(0x26e)]=_0x3419e7,this[_0x4aaceb(0x2c2)]=_0x23619f,this['_localeService']=_0x20dd39,this[_0x4aaceb(0x1d4)](),this[_0x4aaceb(0x24d)]();}[_0x41a185(0x1d4)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x17d3a8=_0x39c5;if(this[_0x17d3a8(0x272)][_0x17d3a8(0x196)][_0x17d3a8(0x2df)])return this[_0x17d3a8(0x14d)]['t'](_0x17d3a8(0x1cc));}));}[_0x41a185(0x24d)](){const _0x4454c4=_0x41a185;this[_0x4454c4(0x223)](this['_collaborationUIEventService'][_0x4454c4(0x12c)]['subscribe'](_0x1595f9=>{const _0xac2ccf=_0x4454c4;_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x32b)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x39f))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x172)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x36a)]&&this[_0xac2ccf(0x2c2)][_0xac2ccf(0x2e8)]({'title':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x13c)),'content':this[_0xac2ccf(0x14d)]['t']('permission.content'),'type':_0xac2ccf(0x2e9),'duration':0x0}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x1e8)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)][_0xac2ccf(0x33d)],'content':this['_localeService']['t'](_0xac2ccf(0x327))+'('+_0x1595f9[_0xac2ccf(0x397)]+')'}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x27e)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x296)],'content':this[_0xac2ccf(0x14d)]['t'](_0x1595f9[_0xac2ccf(0x397)]||'')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x380)]&&this[_0xac2ccf(0x26e)]['show']({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x127)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x36b))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x29f)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t']('session.collaboration-timeout')});}));}};_0x3b66a5=_0x1d35c2([_0x5d9663(0x0,_0x48ab34['IBeforeCloseService']),_0x5d9663(0x1,_0x2600cf['ILocalCacheService']),_0x5d9663(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf['CollaborationUIEventService'])),_0x5d9663(0x3,_0x48ab34[_0x41a185(0x1a9)]),_0x5d9663(0x4,_0x48ab34['INotificationService']),_0x5d9663(0x5,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x3b66a5);const _0x4b6e86='collaboration-client-ui.config',_0x1fb5ee={};var _0x3be7c3=Object[_0x41a185(0x13b)],_0x10a3fa=(_0x55cac1,_0x5c0cea,_0x4b4652,_0x167cbb)=>{const _0x1acf17=_0x41a185;for(var _0x12d0e2=_0x167cbb>0x1?void 0x0:_0x167cbb?_0x3be7c3(_0x5c0cea,_0x4b4652):_0x5c0cea,_0x252c9e=_0x55cac1[_0x1acf17(0x15e)]-0x1,_0x4ddf13;_0x252c9e>=0x0;_0x252c9e--)(_0x4ddf13=_0x55cac1[_0x252c9e])&&(_0x12d0e2=_0x4ddf13(_0x12d0e2)||_0x12d0e2);return _0x12d0e2;},_0x3a8e9b=(_0x4f0bc9,_0x497322)=>(_0x4378a1,_0xdf3270)=>_0x497322(_0x4378a1,_0xdf3270,_0x4f0bc9);let _0x12b6aa=class{constructor(_0x2c49f1,_0xbbadda){this['_transformService']=_0x2c49f1,this['_renderManagerService']=_0xbbadda;}[_0x41a185(0x374)](_0x4a9c1c){const _0x28ee69=_0x41a185;this[_0x28ee69(0x150)](_0x4a9c1c),this[_0x28ee69(0x2bc)](_0x4a9c1c);}[_0x41a185(0x147)](_0x36a4ba){const _0x4bcb17=_0x41a185,{unitID:_0x36b187}=_0x36a4ba,_0x282d52=this[_0x4bcb17(0x33c)][_0x4bcb17(0x247)](_0x36b187)[_0x4bcb17(0x309)](_0x1b316e[_0x4bcb17(0x355)]),{redoCache:_0x2ee152}=_0x282d52[_0x4bcb17(0x18a)]();if(_0x2ee152['length']===0x0)return _0x36a4ba;let _0x23b314=_0x5e3300[_0x4bcb17(0x164)][_0x4bcb17(0x357)](_0x36a4ba[_0x4bcb17(0x14b)][0x0]);for(let _0xc9ced7=0x0;_0xc9ced7<_0x2ee152[_0x4bcb17(0x15e)];_0xc9ced7++){const _0x55205c={'id':_0x4bcb17(0x3a8),'params':{..._0x2ee152[_0xc9ced7]}},_0x4a2eaf=this[_0x4bcb17(0x176)][_0x4bcb17(0x1b9)](_0x23b314,_0x55205c,!0x1);if(_0x4384c1[_0x4bcb17(0x30a)](_0x4a2eaf))throw _0x4a2eaf[_0x4bcb17(0x2e9)];_0x23b314=_0x4a2eaf[_0x4bcb17(0x1db)];}return{..._0x5e3300[_0x4bcb17(0x164)]['deepClone'](_0x36a4ba),'mutations':[_0x23b314]};}['_transformUndoRedoStack'](_0x35edce){const _0x21baa6=_0x41a185,{unitID:_0x7ffb4f}=_0x35edce,_0x2ba60c=this[_0x21baa6(0x33c)][_0x21baa6(0x247)](_0x7ffb4f)['with'](_0x1b316e[_0x21baa6(0x355)]),{undoCache:_0x529a10,redoCache:_0x27b3de}=_0x2ba60c[_0x21baa6(0x18a)]();if(_0x529a10[_0x21baa6(0x15e)]===0x0||_0x27b3de[_0x21baa6(0x15e)]===0x0)return;const _0x276b2a=[],_0xb90e26=[];let _0x359506=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce[_0x21baa6(0x14b)][0x0]),_0x40a339=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce['mutations'][0x0]);for(let _0xdcbe23=_0x529a10[_0x21baa6(0x15e)]-0x1;_0xdcbe23>=0x0;_0xdcbe23--){const _0x1875a7={'id':'doc.mutation.rich-text-editing','params':{..._0x529a10[_0xdcbe23]}},_0x23c26b={'id':'doc.mutation.rich-text-editing','params':{..._0x27b3de[_0xdcbe23]}},_0x43beb1=this[_0x21baa6(0x176)]['transformMutation'](_0x359506,_0x1875a7,!0x1),_0x276f10=this[_0x21baa6(0x176)]['transformMutation'](_0x40a339,_0x23c26b,!0x1);if(_0x4384c1[_0x21baa6(0x30a)](_0x43beb1))throw _0x43beb1[_0x21baa6(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x276f10))throw _0x276f10[_0x21baa6(0x2e9)];_0x276b2a[_0x21baa6(0x1e0)](_0x43beb1['m2Prime'][_0x21baa6(0x26f)]),_0xb90e26[_0x21baa6(0x1e0)](_0x276f10[_0x21baa6(0x137)]['params']),_0x359506=_0x43beb1[_0x21baa6(0x1db)],_0x40a339=_0x276f10[_0x21baa6(0x1db)];}_0x2ba60c[_0x21baa6(0x16d)]({'undoCache':_0x276b2a,'redoCache':_0xb90e26});}['_transformPreviousActiveRange'](_0x444b6f){const _0x3a5bd3=_0x41a185,{unitID:_0x5751c4}=_0x444b6f,_0x260e6b=this[_0x3a5bd3(0x33c)]['getRenderById'](_0x5751c4)['with'](_0x1b316e['DocIMEInputManagerService']),_0x45722c=_0x260e6b[_0x3a5bd3(0x1e1)]();if(_0x45722c==null)return;const _0x18d977=[{'id':_0x3a5bd3(0x3a8),'params':{'unitId':_0x444b6f[_0x3a5bd3(0x35b)],'actions':null,'textRanges':[_0x45722c]}}],_0x53162a=this[_0x3a5bd3(0x176)]['transformMutationsWithChangeset'](_0x444b6f,_0x18d977);if(!_0x4384c1[_0x3a5bd3(0x313)](_0x53162a))throw _0x53162a[_0x3a5bd3(0x2e9)];const _0x2e799f=_0x53162a[_0x3a5bd3(0x137)][0x0][_0x3a5bd3(0x26f)][_0x3a5bd3(0x1a0)];Array['isArray'](_0x2e799f)&&_0x2e799f[_0x3a5bd3(0x15e)]&&_0x260e6b[_0x3a5bd3(0x289)](_0x2e799f[0x0]);}};_0x12b6aa=_0x10a3fa([_0x3a8e9b(0x0,_0x4384c1[_0x41a185(0x1df)]),_0x3a8e9b(0x1,_0x1b825c[_0x41a185(0x328)])],_0x12b6aa);var _0x49fa75=Object[_0x41a185(0x13b)],_0x5d18e9=(_0x18400c,_0x3d7b33,_0x2c3771,_0x3fd66c)=>{const _0x425061=_0x41a185;for(var _0x2577f5=_0x3fd66c>0x1?void 0x0:_0x3fd66c?_0x49fa75(_0x3d7b33,_0x2c3771):_0x3d7b33,_0xae966=_0x18400c[_0x425061(0x15e)]-0x1,_0x277e8e;_0xae966>=0x0;_0xae966--)(_0x277e8e=_0x18400c[_0xae966])&&(_0x2577f5=_0x277e8e(_0x2577f5)||_0x2577f5);return _0x2577f5;},_0x405da9=(_0x49cbe9,_0x45b29b)=>(_0x45498e,_0x2ef852)=>_0x45b29b(_0x45498e,_0x2ef852,_0x49cbe9);let _0x24cfdc=class{constructor(_0x17435c,_0x579c98,_0x4c7664){const _0x4f34fe=_0x41a185;this[_0x4f34fe(0x20b)]=_0x17435c,this[_0x4f34fe(0x176)]=_0x579c98,this[_0x4f34fe(0x210)]=_0x4c7664;}[_0x41a185(0x382)](_0x15796e){this['_transformHistoryAndStateStack'](_0x15796e);}['transformRemoteChangeset'](_0x46ead0){const _0x339f8a=_0x41a185,{unitID:_0x97356}=_0x46ead0,{collaboration:_0x16cf77}=this[_0x339f8a(0x210)][_0x339f8a(0x2d2)](_0x97356);if(_0x16cf77[_0x339f8a(0x15e)]===0x0)return _0x46ead0;let _0x665534=_0x5e3300[_0x339f8a(0x164)][_0x339f8a(0x357)](_0x46ead0[_0x339f8a(0x14b)][0x0]);for(let _0x303671=0x0;_0x303671<_0x16cf77['length'];_0x303671++){const _0x77e338={'id':_0x339f8a(0x3a8),'params':{'unitId':_0x16cf77[_0x303671]['unitId'],..._0x16cf77[_0x303671][_0x339f8a(0x34b)]}},_0x2d86ac=this['_transformService'][_0x339f8a(0x1b9)](_0x665534,_0x77e338,!0x1);if(_0x4384c1[_0x339f8a(0x30a)](_0x2d86ac))throw _0x2d86ac['error'];_0x665534=_0x2d86ac['m1Prime'];}return{..._0x5e3300[_0x339f8a(0x164)]['deepClone'](_0x46ead0),'mutations':[_0x665534]};}['_transformHistoryAndStateStack'](_0x26d7c5){const _0x35825f=_0x41a185,{unitID:_0x59abc4}=_0x26d7c5,{history:_0x43314f,collaboration:_0x719c3}=this[_0x35825f(0x210)][_0x35825f(0x2d2)](_0x59abc4);if(_0x43314f[_0x35825f(0x15e)]===0x0&&_0x719c3[_0x35825f(0x15e)]===0x0)return;const _0x4f622c=[],_0x5d2531=[];let _0x5832a8=_0x5e3300['Tools'][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]),_0x53b5a1=_0x5e3300['Tools']['deepClone'](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0x5a1ba8=_0x43314f['length']-0x1;_0x5a1ba8>=0x0;_0x5a1ba8--){const _0x2a0b1f={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8][_0x35825f(0x323)],..._0x43314f[_0x5a1ba8]['undoState']}},_0x38b77a={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8]['unitId'],..._0x43314f[_0x5a1ba8][_0x35825f(0x34b)]}},_0x3e3df3=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x2a0b1f,!0x1),_0x157467=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x53b5a1,_0x38b77a,!0x1);if(_0x4384c1[_0x35825f(0x30a)](_0x3e3df3))throw _0x3e3df3[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x157467))throw _0x157467[_0x35825f(0x2e9)];_0x4f622c['unshift']({..._0x43314f[_0x5a1ba8],'undoState':_0x3e3df3['m2Prime']['params'],'redoState':_0x157467[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x3e3df3[_0x35825f(0x1db)],_0x53b5a1=_0x157467[_0x35825f(0x1db)];}_0x5832a8=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5['mutations'][0x0]),_0x53b5a1=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0xe6aa82=_0x719c3[_0x35825f(0x15e)]-0x1;_0xe6aa82>=0x0;_0xe6aa82--){const _0x59a862={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x2bb)]}},_0x401e40={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x34b)]}},_0x233ecc=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x59a862,!0x1),_0x3251ca=this['_transformService']['transformMutation'](_0x53b5a1,_0x401e40,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x233ecc))throw _0x233ecc[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x3251ca))throw _0x3251ca[_0x35825f(0x2e9)];_0x5d2531[_0x35825f(0x1e0)]({..._0x719c3[_0xe6aa82],'undoState':_0x233ecc[_0x35825f(0x137)][_0x35825f(0x26f)],'redoState':_0x3251ca[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x233ecc[_0x35825f(0x1db)],_0x53b5a1=_0x3251ca[_0x35825f(0x1db)];}this[_0x35825f(0x210)]['setStateCache'](_0x59abc4,{'history':_0x4f622c,'collaboration':_0x5d2531});}};_0x24cfdc=_0x5d18e9([_0x405da9(0x0,_0x5e3300['Inject'](_0x5e3300[_0x41a185(0x1c6)])),_0x405da9(0x1,_0x4384c1['ITransformService']),_0x405da9(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e[_0x41a185(0x1d1)]))],_0x24cfdc);var _0xdc0b10=Object['getOwnPropertyDescriptor'],_0x4be71e=(_0xfdb84d,_0x44bedb,_0x14110c,_0x56832a)=>{const _0x2cfcfb=_0x41a185;for(var _0x534788=_0x56832a>0x1?void 0x0:_0x56832a?_0xdc0b10(_0x44bedb,_0x14110c):_0x44bedb,_0x5ba1fc=_0xfdb84d[_0x2cfcfb(0x15e)]-0x1,_0x4894fd;_0x5ba1fc>=0x0;_0x5ba1fc--)(_0x4894fd=_0xfdb84d[_0x5ba1fc])&&(_0x534788=_0x4894fd(_0x534788)||_0x534788);return _0x534788;},_0x7ab9c3=(_0x49be84,_0x23a768)=>(_0x2b2484,_0x200da7)=>_0x23a768(_0x2b2484,_0x200da7,_0x49be84);let _0x4c6035=class{constructor(_0x4ab6c9,_0x2221de){const _0x43067a=_0x41a185;this[_0x43067a(0x20b)]=_0x4ab6c9,this[_0x43067a(0x176)]=_0x2221de;}[_0x41a185(0x2ea)](_0xfc2715){const _0x525ce5=_0x41a185;var _0x3973be;const _0x466775=this[_0x525ce5(0x20b)][_0x525ce5(0x182)](_0x3a8334[_0x525ce5(0x171)]),_0x4038e4=(_0x3973be=_0x466775[_0x525ce5(0x252)]())!=null?_0x3973be:[];if(_0x4038e4['length']===0x0)return;const _0x30c548=_0xfc2715[_0x525ce5(0x35b)],_0x2f273a=[{'id':_0x525ce5(0x3a8),'params':{'unitId':_0x30c548,'actions':null,'textRanges':_0x4038e4}}],_0xc7e8cd=this[_0x525ce5(0x176)]['transformMutationsWithChangeset'](_0xfc2715,_0x2f273a);if(!_0x4384c1[_0x525ce5(0x313)](_0xc7e8cd))throw _0xc7e8cd['error'];const _0x453d15=_0xc7e8cd[_0x525ce5(0x137)][0x0][_0x525ce5(0x26f)][_0x525ce5(0x1a0)];Array[_0x525ce5(0x2ab)](_0x453d15)&&_0x453d15['length']&&_0x466775[_0x525ce5(0x17b)](_0x453d15,{'unitId':_0x30c548,'subUnitId':_0x30c548},!0x1);}};_0x4c6035=_0x4be71e([_0x7ab9c3(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x7ab9c3(0x1,_0x4384c1[_0x41a185(0x1df)])],_0x4c6035);var _0x5827b6=Object[_0x41a185(0x13b)],_0x2ec861=(_0x2d5cde,_0x5addc8,_0x3455a9,_0x1f83b0)=>{const _0x284f52=_0x41a185;for(var _0x2cb71b=_0x1f83b0>0x1?void 0x0:_0x1f83b0?_0x5827b6(_0x5addc8,_0x3455a9):_0x5addc8,_0x4ecb54=_0x2d5cde[_0x284f52(0x15e)]-0x1,_0x519489;_0x4ecb54>=0x0;_0x4ecb54--)(_0x519489=_0x2d5cde[_0x4ecb54])&&(_0x2cb71b=_0x519489(_0x2cb71b)||_0x2cb71b);return _0x2cb71b;},_0x271806=(_0x39e8b7,_0x4d28e8)=>(_0x27b85b,_0x204c0d)=>_0x4d28e8(_0x27b85b,_0x204c0d,_0x39e8b7);let _0x216e6e=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x5c5db8,_0x2cb1a5,_0x472323,_0x4e0f23,_0x3ff93f,_0x7a8e9d,_0x57e145,_0x1f8a79){const _0x16f0bc=_0x41a185;super(),_0x528ae5(this,_0x16f0bc(0x35d),new _0x50b64e[(_0x16f0bc(0x228))](_0x2600cf[_0x16f0bc(0x191)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5c5db8,this[_0x16f0bc(0x2f9)]=_0x2cb1a5,this[_0x16f0bc(0x37d)]=_0x472323,this[_0x16f0bc(0x371)]=_0x4e0f23,this[_0x16f0bc(0x187)]=_0x3ff93f,this[_0x16f0bc(0x34c)]=_0x7a8e9d,this[_0x16f0bc(0x26e)]=_0x57e145,this[_0x16f0bc(0x14d)]=_0x1f8a79,this[_0x16f0bc(0x2c5)]());}[_0x41a185(0x2c5)](){const _0x5b01b5=_0x41a185;this[_0x5b01b5(0x223)](this[_0x5b01b5(0x2f9)][_0x5b01b5(0x2fb)][_0x5b01b5(0x1e9)](_0x13fa28=>{const _0x1e15e5=_0x5b01b5,_0x17fd66=this[_0x1e15e5(0x210)][_0x1e15e5(0x1d2)][_0x1e15e5(0x1e9)](_0x383c2d=>{const _0x55491a=_0x1e15e5;if(_0x383c2d==null)return;const {unitId:_0x58474b,redoState:_0x438ddf,commandId:_0x4adacb}=_0x383c2d;if(_0x58474b!==_0x13fa28[_0x55491a(0x35b)])return;const _0x5e36fc={'id':_0x4adacb,'type':_0x5e3300['CommandType']['MUTATION'],'params':{'unitId':_0x58474b,'actions':_0x438ddf[_0x55491a(0x341)],'textRanges':null}};_0x13fa28[_0x55491a(0x240)](_0x5e36fc);});if(_0x13fa28[_0x1e15e5(0x223)](_0x17fd66),_0x13fa28 instanceof _0x2600cf[_0x1e15e5(0x2a9)]){const _0x5a95c4={'onTransformIME':_0x3a0344=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x374)](_0x3a0344),'onTransformState':_0x54a564=>this['_docTransformStateCacheService'][_0x1e15e5(0x382)](_0x54a564),'onTransformSelections':_0x14e3f0=>this[_0x1e15e5(0x187)][_0x1e15e5(0x2ea)](_0x14e3f0),'onSyncEditingCollabCursor':_0x498194=>this[_0x1e15e5(0x34c)][_0x1e15e5(0x168)](_0x498194),'onTransformRemoteChangesetByIMECache':_0x375038=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x147)](_0x375038),'onTransformRemoteChangesetByStateCache':_0x4e21d1=>this[_0x1e15e5(0x371)]['transformRemoteChangeset'](_0x4e21d1)};_0x13fa28[_0x1e15e5(0x208)](_0x5a95c4);}}));}};_0x216e6e=_0x2ec861([_0x271806(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e['DocStateChangeManagerService'])),_0x271806(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0x271806(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x12b6aa)),_0x271806(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x24cfdc)),_0x271806(0x4,_0x5e3300['Inject'](_0x4c6035)),_0x271806(0x5,_0x5e3300['Inject'](_0xa68806)),_0x271806(0x6,_0x48ab34[_0x41a185(0x1a9)]),_0x271806(0x7,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x216e6e);var _0x3b11ed=Object[_0x41a185(0x13b)],_0x4810a6=(_0x234a2d,_0x2c6061,_0x25bc1b,_0x1143df)=>{const _0x479575=_0x41a185;for(var _0x205f1c=_0x1143df>0x1?void 0x0:_0x1143df?_0x3b11ed(_0x2c6061,_0x25bc1b):_0x2c6061,_0x15e6de=_0x234a2d[_0x479575(0x15e)]-0x1,_0xf265a5;_0x15e6de>=0x0;_0x15e6de--)(_0xf265a5=_0x234a2d[_0x15e6de])&&(_0x205f1c=_0xf265a5(_0x205f1c)||_0x205f1c);return _0x205f1c;},_0x3e623e=(_0x370b14,_0x477852)=>(_0x4d293e,_0x53b18a)=>_0x477852(_0x4d293e,_0x53b18a,_0x370b14);let _0x189146=class extends _0x5e3300['Disposable']{constructor(_0x286962,_0x55e1d2,_0xb45f1){const _0x12a438=_0x41a185;super(),_0x528ae5(this,'_cachedData',new Map()),_0x528ae5(this,_0x12a438(0x1a6),new Map()),_0x528ae5(this,_0x12a438(0x17f),!0x1),(this[_0x12a438(0x25d)]=_0x286962,this[_0x12a438(0x29a)]=_0x55e1d2,this['_revisionService']=_0xb45f1);}[_0x41a185(0x1f7)](){const _0x2918dc=_0x41a185;this[_0x2918dc(0x17f)]=!0x0;}[_0x41a185(0x258)](){this['_disabled']=!0x1;}get[_0x41a185(0x196)](){const _0x312dd8=_0x41a185;return this[_0x312dd8(0x1a6)];}[_0x41a185(0x385)](){const _0x413b4a=_0x41a185;this[_0x413b4a(0x39a)]()[_0x413b4a(0x2b0)](()=>super['dispose']());}async[_0x41a185(0x238)](_0x541174){const _0x241357=_0x41a185;return this[_0x241357(0x17f)]?null:this[_0x241357(0x29a)]['getItem'](_0x2600cf['getLocalCacheKey'](_0x541174));}async[_0x41a185(0x276)](_0x1f89b6,_0x4410c9){const _0x366707=_0x41a185;return!!this[_0x366707(0x29a)]['setItem'](_0x1f89b6,_0x4410c9);}[_0x41a185(0x356)](_0x54c5be,_0xc4785f,_0x2106e4,_0xfd5deb){const _0x559a01=_0x41a185,_0x110d23=this['_revisionService']['getCurrentRevOfUnit'](_0x54c5be);this['_cachedData'][_0x559a01(0x21d)](_0x54c5be,{'unitID':_0x54c5be,'type':_0xc4785f,'awaitingChangeset':_0x2106e4,'mutations':_0xfd5deb,'rev':_0x110d23}),this[_0x559a01(0x1a6)]['has'](_0x54c5be)||this['_scheduleSaving'](_0x54c5be);}['_scheduleSaving'](_0x51a5e2){const _0x3d0121=_0x41a185,_0x30fa90=this[_0x3d0121(0x202)]();_0x30fa90===0x0?this['_saveCache'](_0x51a5e2):this['_saveTaskMap'][_0x3d0121(0x21d)](_0x51a5e2,setTimeout(()=>this[_0x3d0121(0x2c4)](_0x51a5e2),_0x30fa90));}[_0x41a185(0x202)](){const _0x21481a=_0x41a185;var _0x14f526;return(_0x14f526=this[_0x21481a(0x25d)][_0x21481a(0x2b9)](_0x2600cf['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x14f526:_0x2600cf[_0x21481a(0x201)];}[_0x41a185(0x2c4)](_0x4382f5){const _0x1d1af8=_0x41a185,_0x3b702b=this[_0x1d1af8(0x1a6)][_0x1d1af8(0x182)](_0x4382f5);return _0x3b702b!==void 0x0&&window[_0x1d1af8(0x219)](_0x3b702b),this['_localStorageService'][_0x1d1af8(0x136)](_0x2600cf[_0x1d1af8(0x132)](_0x4382f5),this[_0x1d1af8(0x1ed)]['get'](_0x4382f5))[_0x1d1af8(0x2b0)](()=>this[_0x1d1af8(0x1a6)][_0x1d1af8(0x2ee)](_0x4382f5));}async[_0x41a185(0x39a)](){const _0x23b45a=_0x41a185,_0x337699=[];this[_0x23b45a(0x1a6)][_0x23b45a(0x2ba)]((_0x49d5e5,_0x291504)=>{const _0xcc572f=_0x23b45a;window['clearTimeout'](_0x49d5e5),_0x337699['push'](this[_0xcc572f(0x2c4)](_0x291504)[_0xcc572f(0x2b0)](()=>{const _0x583a8d=_0xcc572f;this[_0x583a8d(0x1a6)][_0x583a8d(0x2ee)](_0x291504);}));}),await Promise[_0x23b45a(0x27b)](_0x337699);}};_0x189146=_0x4810a6([_0x3e623e(0x0,_0x5e3300[_0x41a185(0x217)]),_0x3e623e(0x1,_0x5e3300['ILocalStorageService']),_0x3e623e(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x4384c1[_0x41a185(0x15b)]))],_0x189146);class _0x325c93 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x368b60=_0x41a185;super(),_0x528ae5(this,'urlChange$'),this[_0x368b60(0x1ad)]=_0x50b64e['fromEvent'](window,_0x368b60(0x143))[_0x368b60(0x1e6)](_0x50b64e[_0x368b60(0x1fc)](this[_0x368b60(0x2de)]),_0x50b64e[_0x368b60(0x197)](0x1),_0x50b64e[_0x368b60(0x366)](void 0x0));}['setParam'](_0xd528b3,_0x1b3a4a,_0x474074=!0x1){const _0x58e0b0=_0x41a185,_0x6fcbd7=new URL(window[_0x58e0b0(0x1d3)][_0x58e0b0(0x369)]);_0x6fcbd7[_0x58e0b0(0x220)][_0x58e0b0(0x21d)](_0xd528b3,_0x1b3a4a),_0x474074?window[_0x58e0b0(0x195)][_0x58e0b0(0x2ed)]('','',_0x6fcbd7[_0x58e0b0(0x2c0)]()):window['history'][_0x58e0b0(0x154)]('','',_0x6fcbd7['toString']());}[_0x41a185(0x207)](_0x1729d3,_0x40359b=!0x1){const _0x1f9048=_0x41a185,_0x42a696=new URL(window[_0x1f9048(0x1d3)][_0x1f9048(0x369)]);_0x42a696[_0x1f9048(0x220)][_0x1f9048(0x2ee)](_0x1729d3),_0x40359b?window[_0x1f9048(0x195)][_0x1f9048(0x2ed)]('','',_0x42a696['toString']()):window[_0x1f9048(0x195)][_0x1f9048(0x154)]('','',_0x42a696[_0x1f9048(0x2c0)]());}[_0x41a185(0x16b)](_0x216298){const _0x99f14f=_0x41a185;var _0x3e706c;return(_0x3e706c=new URL(window[_0x99f14f(0x1d3)][_0x99f14f(0x369)])[_0x99f14f(0x220)][_0x99f14f(0x182)](_0x216298))!=null?_0x3e706c:void 0x0;}}var _0x211859=Object[_0x41a185(0x28b)],_0x21fd79=Object[_0x41a185(0x13b)],_0x134bf8=(_0x5210f2,_0x216055,_0x1627d4)=>_0x216055 in _0x5210f2?_0x211859(_0x5210f2,_0x216055,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1627d4}):_0x5210f2[_0x216055]=_0x1627d4,_0x61d69b=(_0x3e59f4,_0x2cde00,_0x4179e2,_0x33e2c5)=>{const _0x64e92e=_0x41a185;for(var _0x2f5a23=_0x33e2c5>0x1?void 0x0:_0x33e2c5?_0x21fd79(_0x2cde00,_0x4179e2):_0x2cde00,_0x2da053=_0x3e59f4[_0x64e92e(0x15e)]-0x1,_0x19730a;_0x2da053>=0x0;_0x2da053--)(_0x19730a=_0x3e59f4[_0x2da053])&&(_0x2f5a23=_0x19730a(_0x2f5a23)||_0x2f5a23);return _0x2f5a23;},_0x24cc65=(_0x111957,_0xa7f27d)=>(_0x5a490a,_0x18b9e9)=>_0xa7f27d(_0x5a490a,_0x18b9e9,_0x111957),_0x46d61f=(_0x5129fc,_0x1e913f,_0x21fa19)=>_0x134bf8(_0x5129fc,_0x1e913f+'',_0x21fa19);const _0x142c54=_0x41a185(0x23d);_0x218781[_0x41a185(0x25c)]=class extends _0x5e3300[_0x41a185(0x259)]{constructor(_0x164309=_0x1fb5ee,_0x8dd459,_0x3cbbbd,_0x1e2db6){const _0x5a9228=_0x41a185;super(),this['_config']=_0x164309,this[_0x5a9228(0x33c)]=_0x8dd459,this[_0x5a9228(0x20b)]=_0x3cbbbd,this['_configService']=_0x1e2db6;const {..._0x246871}=_0x5e3300['merge']({},_0x1fb5ee,this['_config']);this[_0x5a9228(0x25d)][_0x5a9228(0x1ec)](_0x4b6e86,_0x246871);}[_0x41a185(0x1fb)](){const _0x230ae3=_0x41a185;this[_0x230ae3(0x32c)](),this[_0x230ae3(0x211)]();}[_0x41a185(0x26c)](){const _0x43098d=_0x41a185;this[_0x43098d(0x16f)]();}[_0x41a185(0x32c)](){const _0x2bbda2=_0x41a185;var _0x576478;const _0x25ad4c=[[_0xc0d63f],[_0x4c6035],[_0x12b6aa],[_0x24cfdc],[_0xa68806],[_0x48a0eb,{'useClass':_0x325c93}],[_0x5771f5['ISocketService'],{'useClass':_0x5771f5['WebSocketService']}],[_0x2600cf[_0x2bbda2(0x19a)],{'useClass':_0x189146}],[_0x218781[_0x2bbda2(0x22b)]],[_0x216e6e],[_0x3b66a5],[_0x17492c],[_0x282384],[_0x218781['CollaborationDataLoaderController']]];_0x5e3300['registerDependencies'](this['_injector'],_0x5e3300[_0x2bbda2(0x1eb)](_0x25ad4c,(_0x576478=this['_config'])==null?void 0x0:_0x576478['override']));}[_0x41a185(0x16f)](){const _0x26cb58=_0x41a185;this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)][_0x26cb58(0x17e)](_0x5e3300[_0x26cb58(0x268)]['UNIVER_DOC'],[_0x54fb8b])),this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)]['registerRenderModule'](_0x5e3300[_0x26cb58(0x268)][_0x26cb58(0x2cd)],[_0x1d9dc1]));}['_initDependencies'](){const _0x8cefac=_0x41a185;_0x5e3300[_0x8cefac(0x3a7)](this['_injector'],[[_0x17492c],[_0x218781['DesktopCollaborationStatusDisplayController']],[_0x216e6e],[_0x3b66a5],[_0x218781[_0x8cefac(0x275)]]]);}},_0x46d61f(_0x218781[_0x41a185(0x25c)],_0x41a185(0x1bb),_0x142c54),_0x218781['UniverCollaborationClientUIPlugin']=_0x61d69b([_0x5e3300[_0x41a185(0x1a4)](_0x2600cf['UniverCollaborationClientPlugin']),_0x24cc65(0x1,_0x1b825c[_0x41a185(0x328)]),_0x24cc65(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x24cc65(0x3,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x25c)]);var _0x305af9=Object['getOwnPropertyDescriptor'],_0x7bc798=(_0x5135a9,_0x55ce91,_0x3f6ca0,_0x3667f2)=>{const _0x2f3b91=_0x41a185;for(var _0x52a653=_0x3667f2>0x1?void 0x0:_0x3667f2?_0x305af9(_0x55ce91,_0x3f6ca0):_0x55ce91,_0x4df388=_0x5135a9[_0x2f3b91(0x15e)]-0x1,_0x592570;_0x4df388>=0x0;_0x4df388--)(_0x592570=_0x5135a9[_0x4df388])&&(_0x52a653=_0x592570(_0x52a653)||_0x52a653);return _0x52a653;},_0x1d29fa=(_0x2d66f9,_0x129154)=>(_0xa3d1cb,_0x45253c)=>_0x129154(_0xa3d1cb,_0x45253c,_0x2d66f9);_0x218781[_0x41a185(0x2be)]=class extends _0x2600cf[_0x41a185(0x2dc)]{constructor(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66){super(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66);}async[_0x41a185(0x339)](_0x5d2714){const _0x3c38bf=_0x41a185,_0x1e49e9=await this[_0x3c38bf(0x35a)](),_0x2291b6=this['_createSocketURL'](_0x5d2714,_0x1e49e9);return this['_doCreateSocket'](_0x2291b6);}[_0x41a185(0x249)](_0x2c1ae1,_0x393864){const _0x140e8a=_0x41a185,_0x2c71db=typeof window>'u'?new URL(_0x2c1ae1):new URL(_0x2c1ae1,window['location'][_0x140e8a(0x230)]);_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x1e3),_0x393864);const _0x2bdc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x140e8a(0x1d3)]['search']);return _0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))&&_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x115),_0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))),_0x2c71db[_0x140e8a(0x2c0)]();}async[_0x41a185(0x35a)](){const _0x3f083f=_0x41a185;var _0x5d9faa,_0xeed749,_0x468cca;const _0x44da9a=this['_configService'][_0x3f083f(0x2b9)](_0x2600cf[_0x3f083f(0x133)]),_0x5b34c3=(_0x5d9faa=_0x44da9a==null?void 0x0:_0x44da9a[_0x3f083f(0x18d)])!=null?_0x5d9faa:_0x2600cf[_0x3f083f(0x255)];return(_0x468cca=(_0xeed749=(await this['_httpService'][_0x3f083f(0x182)](_0x5b34c3,{'headers':{'Content-Type':_0x3f083f(0x36c)}}))[_0x3f083f(0x119)])==null?void 0x0:_0xeed749['ticket'])!=null?_0x468cca:'';}},_0x218781[_0x41a185(0x2be)]=_0x7bc798([_0x1d29fa(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300['Injector'])),_0x1d29fa(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x1d29fa(0x2,_0x5e3300['IConfigService']),_0x1d29fa(0x3,_0x5e3300[_0x41a185(0x130)]),_0x1d29fa(0x4,_0x4384c1['ISnapshotServerService'])],_0x218781[_0x41a185(0x2be)]);var _0x22b361=(_0x4a0e5a=>(_0x4a0e5a[_0x4a0e5a[_0x41a185(0x347)]=0x0]='UNDEFINED',_0x4a0e5a[_0x4a0e5a['OK']=0x1]='OK',_0x4a0e5a[_0x4a0e5a['INTERNAL_ERROR']=0x2]=_0x41a185(0x149),_0x4a0e5a[_0x4a0e5a['PERMISSION_DENIED']=0x3]=_0x41a185(0x36a),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ce)]=0x4]=_0x41a185(0x2ce),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x30f)]=0x5]=_0x41a185(0x30f),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2f5)]=0x6]=_0x41a185(0x2f5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x3a1)]=0x7]=_0x41a185(0x3a1),_0x4a0e5a[_0x4a0e5a['TOO_MANY_REQUESTS']=0x8]=_0x41a185(0x192),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x25b)]=0x9]=_0x41a185(0x25b),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x284)]=0xa]=_0x41a185(0x284),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x321)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x274)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1c1)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x244)]=0x1389]=_0x41a185(0x244),_0x4a0e5a[_0x4a0e5a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x41a185(0x2fc),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1e7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1f9)]=0x1773]=_0x41a185(0x1f9),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x18c)]=0x1b59]=_0x41a185(0x18c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x20c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x352)]=0x1b5c]=_0x41a185(0x352),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1da)]=0x1b5d]=_0x41a185(0x1da),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x180)]=0x2329]=_0x41a185(0x180),_0x4a0e5a[_0x4a0e5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1b8)]=0x232b]=_0x41a185(0x1b8),_0x4a0e5a[_0x4a0e5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41a185(0x292),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x39d)]=0x232d]=_0x41a185(0x39d),_0x4a0e5a[_0x4a0e5a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41a185(0x2ef),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2db)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x335)]=0x2713]=_0x41a185(0x335),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2da)]=0x2714]=_0x41a185(0x2da),_0x4a0e5a[_0x4a0e5a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0e5a[_0x4a0e5a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a5)]=0x271c]=_0x41a185(0x2a5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x193)]=0x271d]=_0x41a185(0x193),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x378)]=0x271e]=_0x41a185(0x378),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x29e)]=0x271f]=_0x41a185(0x29e),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a1)]=0x2720]=_0x41a185(0x2a1),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ec)]=0x2af9]=_0x41a185(0x2ec),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x34d)]=0x2ee1]=_0x41a185(0x34d),_0x4a0e5a[_0x4a0e5a['INVALID_INVITE_CODE']=0x2ee2]=_0x41a185(0x266),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x37c)]=0x2ee3]=_0x41a185(0x37c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x298)]=0x2ee5]=_0x41a185(0x298),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x233)]=0x32c9]=_0x41a185(0x233),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x205)]=0x32ca]=_0x41a185(0x205),_0x4a0e5a[_0x4a0e5a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x41a185(0x213),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x304)]=-0x1]='UNRECOGNIZED',_0x4a0e5a))(_0x22b361||{}),_0x231e84=Object[_0x41a185(0x13b)],_0x2c6b4c=(_0x1bbcbe,_0x598719,_0x23b2b7,_0x328407)=>{const _0x4e7cbc=_0x41a185;for(var _0x4829e0=_0x328407>0x1?void 0x0:_0x328407?_0x231e84(_0x598719,_0x23b2b7):_0x598719,_0xbe471e=_0x1bbcbe[_0x4e7cbc(0x15e)]-0x1,_0x29ad36;_0xbe471e>=0x0;_0xbe471e--)(_0x29ad36=_0x1bbcbe[_0xbe471e])&&(_0x4829e0=_0x29ad36(_0x4829e0)||_0x4829e0);return _0x4829e0;},_0x3ce525=(_0x501755,_0x2ff53a)=>(_0x516216,_0x145e7c)=>_0x2ff53a(_0x516216,_0x145e7c,_0x501755);_0x218781[_0x41a185(0x316)]=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x294f4b,_0xc473b4,_0x2f9b96){const _0x62036c=_0x41a185;super(),this[_0x62036c(0x260)]=_0x294f4b,this[_0x62036c(0x362)]=_0xc473b4,this['_configService']=_0x2f9b96;}async[_0x41a185(0x129)](_0x3494ef,_0x1aadd9,_0x351640,..._0x25db27){const _0x27226e=_0x41a185;var _0xd3f9a1,_0x3be72a,_0x1b2f6b,_0xf15ac;const _0x2b21e0=this[_0x27226e(0x260)][_0x27226e(0x376)]();if(!_0x2b21e0)throw new Error(_0x27226e(0x11b));const _0x49fc03=((_0xd3f9a1=this[_0x27226e(0x25d)]['getConfig'](_0x2600cf[_0x27226e(0x14c)]))!=null?_0xd3f9a1:_0x2600cf[_0x27226e(0x12d)])+'/'+_0x3494ef+_0x27226e(0x263)+_0x1aadd9,_0x54a82b=new URL(window[_0x27226e(0x1d3)][_0x27226e(0x369)]),_0x1206fb={'scriptId':_0x3494ef,'runId':(_0x3be72a=_0x54a82b['searchParams']['get'](_0x27226e(0x115)))!=null?_0x3be72a:'','function':_0x1aadd9,'unitId':_0x2b21e0[_0x27226e(0x28d)](),'argsOfFunction':JSON[_0x27226e(0x122)](_0x25db27),'invokeId':(_0x1b2f6b=_0x351640[_0x27226e(0x151)])!=null?_0x1b2f6b:'','executionId':(_0xf15ac=_0x351640['executionId'])!=null?_0xf15ac:''};try{const _0x55d9a3=await this['_httpService'][_0x27226e(0x156)](_0x49fc03,{'body':_0x1206fb});return _0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)]&&_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)][_0x27226e(0x302)]!==_0x22b361['OK']?_0x27226e(0x1c3):_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x37a)];}catch{return _0x27226e(0x1c3);}}},_0x218781[_0x41a185(0x316)]=_0x2c6b4c([_0x3ce525(0x0,_0x5e3300['IUniverInstanceService']),_0x3ce525(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x3ce525(0x2,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x316)]);const _0x565a14=0x7530,_0x2ab163=_0x41a185(0x2cf);class _0xc18a05 extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x4bc1f5=_0x41a185;super(),_0x528ae5(this,'_id',_0x5e3300['generateRandomId']()),_0x528ae5(this,'_selfUnitIDs',new Set()),_0x528ae5(this,'_unitOnClients',new Map()),_0x528ae5(this,'_heartbeatTimer',null),_0x528ae5(this,_0x4bc1f5(0x331),new Map()),_0x528ae5(this,_0x4bc1f5(0x1ae),new Map()),this['_init']();}[_0x41a185(0x385)](){const _0x2ecede=_0x41a185;super[_0x2ecede(0x385)](),this[_0x2ecede(0x331)][_0x2ecede(0x2ba)]((_0x32e710,_0x6dce88)=>this[_0x2ecede(0x2c1)](_0x6dce88)),this['_heartbeatTimer']&&window[_0x2ecede(0x166)](this[_0x2ecede(0x3a0)]);}[_0x41a185(0x15f)](_0x3ccee3){const _0x3f77c5=_0x41a185;return this[_0x3f77c5(0x19c)](_0x3ccee3)[_0x3f77c5(0x1e6)](_0x50b64e[_0x3f77c5(0x209)]());}[_0x41a185(0x32d)](_0x3f184b){const _0x48394e=_0x41a185;this[_0x48394e(0x315)][_0x48394e(0x2df)]===0x0&&this[_0x48394e(0x1c4)](),this['_selfUnitIDs']['add'](_0x3f184b),this[_0x48394e(0x30d)]({'type':0x0,'memberID':this[_0x48394e(0x2a4)],'unitIDs':[_0x3f184b],'isForwarded':!0x1});}[_0x41a185(0x2fe)](_0x15a4f9){const _0x5844ed=_0x41a185;this[_0x5844ed(0x315)][_0x5844ed(0x2ee)](_0x15a4f9),this[_0x5844ed(0x315)][_0x5844ed(0x2df)]===0x0&&this[_0x5844ed(0x3a0)]&&window[_0x5844ed(0x166)](this[_0x5844ed(0x3a0)]);}[_0x41a185(0x189)](){const _0x2d62a6=_0x41a185;this[_0x2d62a6(0x223)](_0x5e3300[_0x2d62a6(0x1c2)](_0x50b64e[_0x2d62a6(0x340)](window,_0x2d62a6(0x1fe))[_0x2d62a6(0x1e9)](_0x1efe90=>{const _0x2c0792=_0x2d62a6;if(_0x1efe90[_0x2c0792(0x271)]!==_0x2ab163||!_0x1efe90[_0x2c0792(0x3a6)])return;const _0x4b44e2=JSON['parse'](_0x1efe90[_0x2c0792(0x3a6)]);this[_0x2c0792(0x16e)](_0x4b44e2);}))),window[_0x2d62a6(0x349)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2d62a6(0x2a4)],'unitIDs':Array[_0x2d62a6(0x373)](this[_0x2d62a6(0x315)])}));}[_0x41a185(0x16e)](_0x4be764){const _0x50a64c=_0x41a185;switch(_0x4be764[_0x50a64c(0x297)]){case 0x0:this[_0x50a64c(0x28e)](_0x4be764);break;case 0x1:this[_0x50a64c(0x29d)](_0x4be764);break;case 0x2:this[_0x50a64c(0x2f3)](_0x4be764);break;}}[_0x41a185(0x28e)](_0x29b160){const _0x4a7f24=_0x41a185,{unitIDs:_0x39a63f,memberID:_0x1873f7,isForwarded:_0x4e6fc8}=_0x29b160;_0x39a63f[_0x4a7f24(0x2ba)](_0x4077a3=>{const _0x54d34f=_0x4a7f24;if(!_0x4e6fc8&&this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)&&this[_0x54d34f(0x19c)](_0x4077a3)[_0x54d34f(0x2e0)](_0x2600cf[_0x54d34f(0x12f)][_0x54d34f(0x1cf)]),!this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)||!this['_unitOnClients']['get'](_0x4077a3)[_0x54d34f(0x345)](_0x1873f7)){const _0x2f961d=this['_unitOnClients']['get'](_0x4077a3)||new Set();_0x2f961d[_0x54d34f(0x33a)](_0x1873f7),this[_0x54d34f(0x26d)]['set'](_0x4077a3,_0x2f961d),this[_0x54d34f(0x1d6)](_0x1873f7);}}),_0x4e6fc8||this['_send']({'type':0x0,'memberID':this[_0x4a7f24(0x2a4)],'unitIDs':[...this[_0x4a7f24(0x315)]],'isForwarded':!0x0});}[_0x41a185(0x1d6)](_0x12b7e8){const _0x36cdc4=_0x41a185;this[_0x36cdc4(0x2c1)](_0x12b7e8);const _0x56f446=window[_0x36cdc4(0x295)](()=>{const _0x2a18fc=_0x36cdc4;this['_unitOnClients'][_0x2a18fc(0x2ba)](_0x47729c=>{const _0x32947e=_0x2a18fc;_0x47729c[_0x32947e(0x2ee)](_0x12b7e8);});},_0x565a14*0x2);this[_0x36cdc4(0x331)]['set'](_0x12b7e8,_0x56f446);}[_0x41a185(0x2c1)](_0x5ee66d){const _0x8dc61a=_0x41a185;if(this['_clearOtherTimers'][_0x8dc61a(0x345)](_0x5ee66d)){const _0x5a35d8=this['_clearOtherTimers']['get'](_0x5ee66d);_0x5a35d8&&window[_0x8dc61a(0x219)](_0x5a35d8),this['_clearOtherTimers'][_0x8dc61a(0x21d)](_0x5ee66d,null);}}['_handleLeaveEvent'](_0x42acd9){const _0x3b615d=_0x41a185,{memberID:_0xd1ab32,unitIDs:_0x1b1761}=_0x42acd9;_0x1b1761[_0x3b615d(0x2ba)](_0x2a377b=>{const _0x5308c0=_0x3b615d;var _0x2545e1;const _0x3b6305=this[_0x5308c0(0x26d)]['get'](_0x2a377b);_0x3b6305&&(_0x3b6305[_0x5308c0(0x2ee)](_0xd1ab32),(_0x2545e1=this[_0x5308c0(0x19c)](_0x2a377b))==null||_0x2545e1[_0x5308c0(0x2e0)](_0x3b6305['size']===0x0?_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x144)]:_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x1cf)]));}),this[_0x3b615d(0x2c1)](_0xd1ab32);}['_handleHeartbeatEvent'](_0x4fb648){const _0x1a1944=_0x41a185;this['_scheduleClearOtherTimer'](_0x4fb648[_0x1a1944(0x2a0)]);}[_0x41a185(0x30d)](_0x537548){const _0x3e99b3=_0x41a185;localStorage[_0x3e99b3(0x136)](_0x2ab163,JSON[_0x3e99b3(0x122)](_0x537548));}[_0x41a185(0x1c4)](){const _0x373ade=_0x41a185;this['_heartbeatTimer']=window[_0x373ade(0x165)](()=>{const _0x4d4906=_0x373ade;this[_0x4d4906(0x30d)]({'type':0x2,'memberID':this[_0x4d4906(0x2a4)]});},_0x565a14);}[_0x41a185(0x19c)](_0x46a580){const _0x37e463=_0x41a185;return this['_unitStatus'][_0x37e463(0x345)](_0x46a580)||this['_unitStatus']['set'](_0x46a580,new _0x50b64e[(_0x37e463(0x228))](_0x2600cf[_0x37e463(0x12f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37e463(0x1ae)][_0x37e463(0x182)](_0x46a580);}}_0x218781[_0x41a185(0x24f)]=_0x48a0eb,_0x218781[_0x41a185(0x377)]=_0x2a41ec,_0x218781[_0x41a185(0x2e4)]=_0xc18a05,_0x218781[_0x41a185(0x15c)]=_0x325c93,Object[_0x41a185(0x28b)](_0x218781,Symbol[_0x41a185(0x124)],{'value':_0x41a185(0x12b)});}));
1
+ (function(_0x21e232,_0x542fae){const _0x3772ec=_0x1875,_0x4a03de=_0x21e232();while(!![]){try{const _0x55d63f=-parseInt(_0x3772ec(0x241))/0x1+parseInt(_0x3772ec(0x1cd))/0x2*(parseInt(_0x3772ec(0x20b))/0x3)+parseInt(_0x3772ec(0x2f9))/0x4*(-parseInt(_0x3772ec(0x358))/0x5)+-parseInt(_0x3772ec(0x26a))/0x6+parseInt(_0x3772ec(0x298))/0x7*(-parseInt(_0x3772ec(0x3bf))/0x8)+-parseInt(_0x3772ec(0x3f7))/0x9*(-parseInt(_0x3772ec(0x3d7))/0xa)+parseInt(_0x3772ec(0x28b))/0xb;if(_0x55d63f===_0x542fae)break;else _0x4a03de['push'](_0x4a03de['shift']());}catch(_0x36ed6f){_0x4a03de['push'](_0x4a03de['shift']());}}}(_0xb41b,0xafd58),function(_0x321afb,_0xee058c){const _0x59d3b0=_0x1875;typeof exports==_0x59d3b0(0x278)&&typeof module<'u'?_0xee058c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x59d3b0(0x21e)]?define(['exports',_0x59d3b0(0x1e0),'@univerjs-pro/collaboration-client',_0x59d3b0(0x1eb),_0x59d3b0(0x1f4),_0x59d3b0(0x259),_0x59d3b0(0x317),'react',_0x59d3b0(0x2bd),_0x59d3b0(0x2d0),_0x59d3b0(0x327),_0x59d3b0(0x2ce),_0x59d3b0(0x3e1),'@univerjs/drawing',_0x59d3b0(0x2a0),_0x59d3b0(0x1fb),'@univerjs/engine-formula',_0x59d3b0(0x42f),_0x59d3b0(0x29f)],_0xee058c):(_0x321afb=typeof globalThis<'u'?globalThis:_0x321afb||self,_0xee058c(_0x321afb[_0x59d3b0(0x36b)]={},_0x321afb[_0x59d3b0(0x256)],_0x321afb[_0x59d3b0(0x289)],_0x321afb[_0x59d3b0(0x1c2)],_0x321afb['UniverUi'],_0x321afb[_0x59d3b0(0x259)],_0x321afb[_0x59d3b0(0x2e1)],_0x321afb['React'],_0x321afb[_0x59d3b0(0x1b4)],_0x321afb[_0x59d3b0(0x2e8)],_0x321afb[_0x59d3b0(0x2e6)],_0x321afb[_0x59d3b0(0x3cd)],_0x321afb[_0x59d3b0(0x2cc)],_0x321afb[_0x59d3b0(0x2b8)],_0x321afb['UniverProCollaboration'],_0x321afb['UniverDocs'],_0x321afb[_0x59d3b0(0x2c8)],_0x321afb[_0x59d3b0(0x259)][_0x59d3b0(0x280)],_0x321afb['UniverSheetsUi']));}(this,function(_0x10df8c,_0xad9c21,_0x505f96,_0x282385,_0x31ed4b,_0x46e3a5,_0x1a2a2d,_0x32fa37,_0x34e870,_0xa4213c,_0x4366ed,_0x23f55f,_0x3eaeba,_0x23a402,_0x26b52b,_0x1e6451,_0x3a060a,_0x3c09e2,_0x387e44){'use strict';const _0x33791c=_0x1875;var _0xb6a999=Object['defineProperty'],_0x3d4f49=(_0x3580b6,_0x43c743,_0xe1b02b)=>_0x43c743 in _0x3580b6?_0xb6a999(_0x3580b6,_0x43c743,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe1b02b}):_0x3580b6[_0x43c743]=_0xe1b02b,_0x1bd675=(_0xabed2,_0x30c786,_0x5ca73b)=>_0x3d4f49(_0xabed2,typeof _0x30c786!='symbol'?_0x30c786+'':_0x30c786,_0x5ca73b),_0x5a6edd=function(){const _0x1e8eb0=_0x1875;return _0x5a6edd=Object[_0x1e8eb0(0x34f)]||function(_0x464844){const _0x49a241=_0x1e8eb0;for(var _0x53dacb,_0x55c1e3=0x1,_0x58f6eb=arguments['length'];_0x55c1e3<_0x58f6eb;_0x55c1e3++){_0x53dacb=arguments[_0x55c1e3];for(var _0x4e2354 in _0x53dacb)Object[_0x49a241(0x396)]['hasOwnProperty'][_0x49a241(0x368)](_0x53dacb,_0x4e2354)&&(_0x464844[_0x4e2354]=_0x53dacb[_0x4e2354]);}return _0x464844;},_0x5a6edd[_0x1e8eb0(0x2e2)](this,arguments);},_0x58d075=function(_0x1e239a,_0x4ef6d5){const _0x507a25=_0x1875;var _0x254dc4={};for(var _0x36bc70 in _0x1e239a)Object[_0x507a25(0x396)][_0x507a25(0x362)][_0x507a25(0x368)](_0x1e239a,_0x36bc70)&&_0x4ef6d5[_0x507a25(0x1c0)](_0x36bc70)<0x0&&(_0x254dc4[_0x36bc70]=_0x1e239a[_0x36bc70]);if(_0x1e239a!=null&&typeof Object[_0x507a25(0x350)]==_0x507a25(0x281)){for(var _0x531121=0x0,_0x36bc70=Object[_0x507a25(0x350)](_0x1e239a);_0x531121<_0x36bc70[_0x507a25(0x40b)];_0x531121++)_0x4ef6d5[_0x507a25(0x1c0)](_0x36bc70[_0x531121])<0x0&&Object[_0x507a25(0x396)][_0x507a25(0x1be)]['call'](_0x1e239a,_0x36bc70[_0x531121])&&(_0x254dc4[_0x36bc70[_0x531121]]=_0x1e239a[_0x36bc70[_0x531121]]);}return _0x254dc4;},_0x4a2c1b=_0x32fa37[_0x33791c(0x377)](function(_0x57cb03,_0x1542f9){const _0x6b6c21=_0x33791c;var _0x21b5e3=_0x57cb03[_0x6b6c21(0x39f)],_0x4eba7c=_0x57cb03['id'],_0x2c9fe7=_0x57cb03[_0x6b6c21(0x1d3)],_0x12e891=_0x57cb03[_0x6b6c21(0x2ee)],_0x35e5f0=_0x58d075(_0x57cb03,[_0x6b6c21(0x39f),'id',_0x6b6c21(0x1d3),'extend']),_0x1ee74a=_0x6b6c21(0x1c8)[_0x6b6c21(0x2cf)](_0x4eba7c,'\x20')['concat'](_0x2c9fe7||'')[_0x6b6c21(0x385)](),_0x4b0b31=_0x32fa37[_0x6b6c21(0x3a9)]('_'[_0x6b6c21(0x2cf)](_0x3ddaf1()));return _0x31b45b(_0x21b5e3,''[_0x6b6c21(0x2cf)](_0x4eba7c),{'defIds':_0x21b5e3[_0x6b6c21(0x312)],'idSuffix':_0x4b0b31[_0x6b6c21(0x1c1)]},_0x5a6edd({'ref':_0x1542f9,'className':_0x1ee74a},_0x35e5f0),_0x12e891);});function _0x31b45b(_0x597a69,_0x42e050,_0x287898,_0x11d065,_0x4c6a9f){const _0xf1c1b7=_0x33791c;return _0x32fa37[_0xf1c1b7(0x2c4)](_0x597a69['tag'],_0x5a6edd(_0x5a6edd({'key':_0x42e050},_0x4a31c0(_0x597a69,_0x287898,_0x4c6a9f)),_0x11d065),(_0x4b27b4(_0x597a69,_0x287898)[_0xf1c1b7(0x254)]||[])[_0xf1c1b7(0x3de)](function(_0x14394d,_0x3ec097){const _0x3e62c5=_0xf1c1b7;return _0x31b45b(_0x14394d,''[_0x3e62c5(0x2cf)](_0x42e050,'-')[_0x3e62c5(0x2cf)](_0x597a69[_0x3e62c5(0x23d)],'-')[_0x3e62c5(0x2cf)](_0x3ec097),_0x287898,void 0x0,_0x4c6a9f);}));}function _0x4a31c0(_0x4a7a90,_0x1824ea,_0x4a0c89){const _0xb13429=_0x33791c;var _0x1adb28=_0x5a6edd({},_0x4a7a90['attrs']);_0x4a0c89!=null&&_0x4a0c89[_0xb13429(0x213)]&&_0x1adb28[_0xb13429(0x252)]===_0xb13429(0x213)&&(_0x1adb28['fill']=_0x4a0c89[_0xb13429(0x213)]),_0x4a7a90['tag']===_0xb13429(0x3e2)&&_0x1adb28['id']&&(_0x1adb28['id']=_0x1adb28['id']+_0x1824ea['idSuffix']),Object[_0xb13429(0x30b)](_0x1adb28)[_0xb13429(0x3ee)](function(_0xc32f29){const _0x509348=_0xb13429;var _0x88e70f=_0xc32f29[0x0],_0x1147fc=_0xc32f29[0x1];_0x88e70f===_0x509348(0x3e2)&&typeof _0x1147fc=='string'&&(_0x1adb28[_0x88e70f]=_0x1147fc[_0x509348(0x26c)](/url\(#(.*)\)/,_0x509348(0x38b)['concat'](_0x1824ea[_0x509348(0x3e8)],')')));});var _0x123c02=_0x1824ea[_0xb13429(0x312)];return!_0x123c02||_0x123c02[_0xb13429(0x40b)]===0x0||(_0x4a7a90[_0xb13429(0x23d)]==='use'&&_0x1adb28[_0xb13429(0x233)]&&(_0x1adb28[_0xb13429(0x233)]=_0x1adb28['xlink:href']+_0x1824ea[_0xb13429(0x3e8)]),Object[_0xb13429(0x30b)](_0x1adb28)['forEach'](function(_0x23ee66){const _0x3b26e8=_0xb13429;var _0x5ca99a=_0x23ee66[0x0],_0x5bee5d=_0x23ee66[0x1];typeof _0x5bee5d=='string'&&(_0x1adb28[_0x5ca99a]=_0x5bee5d['replace'](/url\(#(.*)\)/,_0x3b26e8(0x38b)['concat'](_0x1824ea[_0x3b26e8(0x3e8)],')')));})),_0x1adb28;}function _0x4b27b4(_0x18f81f,_0x24442c){const _0x13893b=_0x33791c;var _0x1f8537,_0x224147=_0x24442c[_0x13893b(0x312)];return!_0x224147||_0x224147[_0x13893b(0x40b)]===0x0?_0x18f81f:_0x18f81f['tag']==='defs'&&(!((_0x1f8537=_0x18f81f[_0x13893b(0x254)])===null||_0x1f8537===void 0x0)&&_0x1f8537[_0x13893b(0x40b)])?_0x5a6edd(_0x5a6edd({},_0x18f81f),{'children':_0x18f81f[_0x13893b(0x254)][_0x13893b(0x3de)](function(_0x161d06){const _0x3e9126=_0x13893b;return typeof _0x161d06['attrs']['id']=='string'&&_0x224147&&_0x224147[_0x3e9126(0x382)](_0x161d06[_0x3e9126(0x247)]['id'])?_0x5a6edd(_0x5a6edd({},_0x161d06),{'attrs':_0x5a6edd(_0x5a6edd({},_0x161d06[_0x3e9126(0x247)]),{'id':_0x161d06[_0x3e9126(0x247)]['id']+_0x24442c[_0x3e9126(0x3e8)]})}):_0x161d06;})}):_0x18f81f;}function _0x3ddaf1(){const _0x47591c=_0x33791c;return Math[_0x47591c(0x3c3)]()[_0x47591c(0x3c1)](0x24)[_0x47591c(0x303)](0x2,0x8);}_0x4a2c1b[_0x33791c(0x39e)]=_0x33791c(0x309);var _0x20d36c={'tag':'svg','attrs':{'xmlns':_0x33791c(0x3a5),'fill':_0x33791c(0x365),'viewBox':_0x33791c(0x1bb),'width':_0x33791c(0x1dc),'height':_0x33791c(0x1dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x33791c(0x228)},'children':[{'tag':_0x33791c(0x363),'attrs':{'stroke':_0x33791c(0x2ec),'d':_0x33791c(0x25c),'strokeLinecap':_0x33791c(0x404),'strokeLinejoin':_0x33791c(0x404),'strokeWidth':1.2}}]},{'tag':_0x33791c(0x439),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33791c(0x1e1)},'children':[{'tag':'path','attrs':{'fill':_0x33791c(0x326),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2a34ee=_0x32fa37[_0x33791c(0x377)](function(_0x59571a,_0x2c7b41){const _0x9cb9fa=_0x33791c;return _0x32fa37[_0x9cb9fa(0x2c4)](_0x4a2c1b,Object[_0x9cb9fa(0x34f)]({},_0x59571a,{'id':'off-line-icon','ref':_0x2c7b41,'icon':_0x20d36c}));});_0x2a34ee[_0x33791c(0x39e)]='OffLineIcon';var _0x309062={'tag':_0x33791c(0x30a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x33791c(0x365),'viewBox':'0\x200\x2017\x2016','width':_0x33791c(0x1dc),'height':_0x33791c(0x1dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x33791c(0x39c)},'children':[{'tag':'path','attrs':{'stroke':_0x33791c(0x2ec),'d':_0x33791c(0x3e0),'strokeLinecap':_0x33791c(0x404),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x33791c(0x439),'attrs':{},'children':[{'tag':_0x33791c(0x1f8),'attrs':{'id':_0x33791c(0x41e)},'children':[{'tag':_0x33791c(0x363),'attrs':{'fill':_0x33791c(0x326),'d':'M0\x200H16V16H0z','transform':_0x33791c(0x425)}}]}]}],'defIds':[_0x33791c(0x41e)]},_0xecd4f1=_0x32fa37[_0x33791c(0x377)](function(_0x4b1149,_0x44b1ae){const _0x177de7=_0x33791c;return _0x32fa37['createElement'](_0x4a2c1b,Object[_0x177de7(0x34f)]({},_0x4b1149,{'id':_0x177de7(0x1f7),'ref':_0x44b1ae,'icon':_0x309062}));});_0xecd4f1[_0x33791c(0x39e)]=_0x33791c(0x374);function _0xbd4bce(_0x240b66){const _0x3393cc=_0x33791c;switch(_0x240b66){case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x378)]:return _0x3393cc(0x3be);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x2be)]:return _0x3393cc(0x406);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x431)]:return _0x3393cc(0x29b);case _0x505f96['CollaborationStatus'][_0x3393cc(0x291)]:return _0x3393cc(0x34e);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x344)]:case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x43b)]:return _0x3393cc(0x2ac);case _0x505f96[_0x3393cc(0x421)]['SYNCED']:case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x25d)]:return'collabStatus.synced';}}function _0xb69d01(_0x787e06){const _0xc39a99=_0x33791c,{status$:_0x2bfb90}=_0x787e06,_0x18cbe0=_0x31ed4b[_0xc39a99(0x226)](_0x2bfb90,_0x505f96[_0xc39a99(0x421)]['NOT_COLLAB']),_0x32adf3=_0x31ed4b['useDependency'](_0x282385[_0xc39a99(0x408)]),_0x408d7e=_0x31ed4b[_0xc39a99(0x3c2)](_0x505f96[_0xc39a99(0x2c9)]),_0x149c98=_0x18cbe0!==_0x505f96[_0xc39a99(0x421)][_0xc39a99(0x378)],_0x3d9f16=_0x32adf3['t'](_0xbd4bce(_0x18cbe0)),_0x4ca5e6=_0x149c98?_0xad9c21[_0xc39a99(0x314)](_0xecd4f1,{}):_0xad9c21[_0xc39a99(0x314)](_0x2a34ee,{}),_0x4d72db=_0x32fa37[_0xc39a99(0x2eb)](()=>{const _0x202a0a=_0xc39a99;_0x149c98||_0x408d7e[_0x202a0a(0x36e)]();},[_0x149c98,_0x408d7e]);function _0x1e5ae1(){const _0x31c172=_0xc39a99;return _0xad9c21[_0x31c172(0x36c)](_0x31c172(0x3b8),{'className':_0x31c172(0x359),'onClick':_0x4d72db,'children':[_0xad9c21[_0x31c172(0x314)](_0x31c172(0x3b8),{'className':_0x1a2a2d[_0x31c172(0x33d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x149c98,'univer-text-red-500':!_0x149c98}),'children':_0x4ca5e6}),_0xad9c21['jsx'](_0x31c172(0x3b8),{'className':_0x31c172(0x32b),'children':_0x3d9f16})]});}return _0x149c98?_0x1e5ae1():_0xad9c21[_0xc39a99(0x314)](_0x1a2a2d['Tooltip'],{'title':_0x32adf3['t']('collab-client.tooltip.reconnect'),'children':_0x1e5ae1()});}var _0x450302=Object[_0x33791c(0x39a)],_0x5bb63d=(_0x5091bf,_0x1a1c30,_0x3c8ad0,_0x2a1041)=>{const _0x41dad4=_0x33791c;for(var _0x59b80c=_0x2a1041>0x1?void 0x0:_0x2a1041?_0x450302(_0x1a1c30,_0x3c8ad0):_0x1a1c30,_0x177a0e=_0x5091bf[_0x41dad4(0x40b)]-0x1,_0xbd6437;_0x177a0e>=0x0;_0x177a0e--)(_0xbd6437=_0x5091bf[_0x177a0e])&&(_0x59b80c=_0xbd6437(_0x59b80c)||_0x59b80c);return _0x59b80c;},_0x136fb9=(_0x526dbe,_0x1e1586)=>(_0x4615a4,_0x191435)=>_0x1e1586(_0x4615a4,_0x191435,_0x526dbe);_0x10df8c[_0x33791c(0x1cc)]=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x3926bf,_0x378c48,_0x516836,_0x3900c7){const _0x273518=_0x33791c;super(),_0x1bd675(this,_0x273518(0x27d),new _0x46e3a5[(_0x273518(0x2b4))](_0x505f96[_0x273518(0x421)][_0x273518(0x291)])),(this[_0x273518(0x276)]=_0x3926bf,this[_0x273518(0x27a)]=_0x378c48,this['_collaborationController']=_0x516836,this['_uiPartsService']=_0x3900c7,this[_0x273518(0x3d2)](),this[_0x273518(0x214)]());}[_0x33791c(0x214)](){const _0x57aa1c=_0x33791c;this[_0x57aa1c(0x351)](this[_0x57aa1c(0x276)][_0x57aa1c(0x320)]['pipe'](_0x46e3a5[_0x57aa1c(0x39b)](()=>{const _0x370c6c=_0x57aa1c,_0x518efe=this['_univerInstanceService'][_0x370c6c(0x1e6)]();return _0x518efe?this[_0x370c6c(0x2d2)][_0x370c6c(0x391)](_0x518efe['getUnitId']()):_0x46e3a5['of'](null);}),_0x46e3a5[_0x57aa1c(0x39b)](_0x3cc27b=>_0x3cc27b?_0x3cc27b[_0x57aa1c(0x2a7)]:_0x46e3a5['of'](_0x505f96['CollaborationStatus'][_0x57aa1c(0x291)])))[_0x57aa1c(0x338)](_0x5520b1=>{const _0x551dbc=_0x57aa1c;this[_0x551dbc(0x27d)][_0x551dbc(0x3cf)](_0x5520b1);}));}[_0x33791c(0x3d2)](){const _0x2fa80d=_0x33791c;this[_0x2fa80d(0x351)](this[_0x2fa80d(0x1e4)]['registerComponent'](_0x31ed4b['BuiltInUIPart'][_0x2fa80d(0x270)],()=>_0x31ed4b[_0x2fa80d(0x335)](_0x5f3d9e({'status$':this[_0x2fa80d(0x27d)][_0x2fa80d(0x3e3)]()}),this['_injector'])));}},_0x10df8c['DesktopCollaborationStatusDisplayController']=_0x5bb63d([_0x136fb9(0x0,_0x282385[_0x33791c(0x2d5)]),_0x136fb9(0x1,_0x282385['Inject'](_0x282385[_0x33791c(0x428)])),_0x136fb9(0x2,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x3fa)])),_0x136fb9(0x3,_0x31ed4b[_0x33791c(0x352)])],_0x10df8c[_0x33791c(0x1cc)]);function _0x5f3d9e(_0x1c4ae){const {status$:_0x13d320}=_0x1c4ae;return function(){return _0xad9c21['jsx'](_0xb69d01,{'status$':_0x13d320});};}const _0x529b68=_0x282385[_0x33791c(0x329)](_0x33791c(0x37f));var _0x50b603=Object[_0x33791c(0x39a)],_0x5667bb=(_0xdae0c8,_0x325b96,_0x27abfe,_0x27b80e)=>{const _0xd93e56=_0x33791c;for(var _0x23101d=_0x27b80e>0x1?void 0x0:_0x27b80e?_0x50b603(_0x325b96,_0x27abfe):_0x325b96,_0x19addd=_0xdae0c8[_0xd93e56(0x40b)]-0x1,_0xed1ae3;_0x19addd>=0x0;_0x19addd--)(_0xed1ae3=_0xdae0c8[_0x19addd])&&(_0x23101d=_0xed1ae3(_0x23101d)||_0x23101d);return _0x23101d;},_0x5e636b=(_0x40da45,_0x467de7)=>(_0xe6114d,_0x5d28a1)=>_0x467de7(_0xe6114d,_0x5d28a1,_0x40da45);_0x10df8c['CollaborationDataLoaderController']=class extends _0x282385['RxDisposable']{constructor(_0x53a887,_0x58db44,_0x302519,_0x619798,_0x208784){const _0x58d9ad=_0x33791c;super(),this[_0x58d9ad(0x202)]=_0x53a887,this[_0x58d9ad(0x28a)]=_0x58db44,this['_commandService']=_0x302519,this[_0x58d9ad(0x3b7)]=_0x619798,_0x208784?_0x208784==null||_0x208784[_0x58d9ad(0x1ee)]()[_0x58d9ad(0x3d6)](()=>this[_0x58d9ad(0x41f)]()):(this['_logService'][_0x58d9ad(0x38c)](_0x58d9ad(0x24d),_0x58d9ad(0x1e9)),this['_init']());}async[_0x33791c(0x41f)](){const _0x18ff21=_0x33791c,_0x4f50b2=this[_0x18ff21(0x202)][_0x18ff21(0x31e)](_0x18ff21(0x211)),_0x3f158c=this['_urlService']['getParam'](_0x18ff21(0x3f8)),_0x77856f=this[_0x18ff21(0x202)][_0x18ff21(0x31e)](_0x18ff21(0x346));if(!_0x4f50b2||!_0x3f158c){this['_logService'][_0x18ff21(0x38c)](_0x18ff21(0x24d),_0x18ff21(0x1fe));return;}const _0x169004=await this[_0x18ff21(0x3b7)]['loadUnit'](_0x4f50b2,Number(_0x3f158c),_0x77856f);_0x169004&&_0x169004 instanceof _0x282385[_0x18ff21(0x311)]&&this[_0x18ff21(0x21f)](_0x169004);}async[_0x33791c(0x21f)](_0x5d52b1){const _0x545f47=_0x33791c;await this[_0x545f47(0x38a)](_0x5d52b1),_0x5d52b1[_0x545f47(0x1a3)]['pipe'](_0x46e3a5['takeUntil'](this[_0x545f47(0x221)]))['subscribe'](_0x435167=>{const _0xd5ac5b=_0x545f47;_0x435167&&this[_0xd5ac5b(0x2ef)](_0x435167);}),this['_urlService'][_0x545f47(0x3ab)][_0x545f47(0x36d)](_0x46e3a5['takeUntil'](this[_0x545f47(0x221)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5d52b1));}[_0x33791c(0x2ef)](_0x327cf2,_0x2ec750=!0x1){const _0x9ae5be=_0x33791c,_0x41c4a2=this[_0x9ae5be(0x202)][_0x9ae5be(0x31e)](_0x9ae5be(0x346));_0x327cf2[_0x9ae5be(0x2c5)]()!==_0x41c4a2&&this[_0x9ae5be(0x202)]['setParam'](_0x9ae5be(0x346),_0x327cf2[_0x9ae5be(0x2c5)](),_0x2ec750);}async['_updateSubUnitFromURLParams'](_0x16e275){const _0x53dba9=_0x33791c;var _0x154a9a;const _0x21f747=this['_urlService'][_0x53dba9(0x31e)](_0x53dba9(0x346));if(!_0x21f747||!_0x16e275[_0x53dba9(0x222)](_0x21f747)){const _0xc697f9=_0x16e275[_0x53dba9(0x206)]()[0x0],_0x5220aa=_0x16e275[_0x53dba9(0x222)](_0xc697f9);if(!_0x5220aa)return;this[_0x53dba9(0x2ef)](_0x5220aa,!0x0),await this['_commandService']['executeCommand'](_0xa4213c[_0x53dba9(0x1a4)]['id'],{'unitId':_0x16e275[_0x53dba9(0x354)](),'subUnitId':_0xc697f9});return;}((_0x154a9a=_0x16e275['getActiveSheet']())==null?void 0x0:_0x154a9a['getSheetId']())!==_0x21f747&&await this[_0x53dba9(0x285)][_0x53dba9(0x1a2)](_0xa4213c[_0x53dba9(0x1a4)]['id'],{'unitId':_0x16e275[_0x53dba9(0x354)](),'subUnitId':_0x21f747});}},_0x10df8c[_0x33791c(0x392)]=_0x5667bb([_0x5e636b(0x0,_0x529b68),_0x5e636b(0x1,_0x282385[_0x33791c(0x1ad)]),_0x5e636b(0x2,_0x282385[_0x33791c(0x28e)]),_0x5e636b(0x3,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x2f5)])),_0x5e636b(0x4,_0x282385['Optional'](_0x34e870[_0x33791c(0x433)]))],_0x10df8c[_0x33791c(0x392)]);var _0x4e69d4=Object[_0x33791c(0x39a)],_0x2b6bb8=(_0x23d9ad,_0x1705ba,_0x19e6a3,_0x281392)=>{for(var _0x59d5c1=_0x281392>0x1?void 0x0:_0x281392?_0x4e69d4(_0x1705ba,_0x19e6a3):_0x1705ba,_0x7f0e95=_0x23d9ad['length']-0x1,_0x4822ba;_0x7f0e95>=0x0;_0x7f0e95--)(_0x4822ba=_0x23d9ad[_0x7f0e95])&&(_0x59d5c1=_0x4822ba(_0x59d5c1)||_0x59d5c1);return _0x59d5c1;},_0x1cd36c=(_0x366839,_0x457967)=>(_0x35ce88,_0x2cdf02)=>_0x457967(_0x35ce88,_0x2cdf02,_0x366839);let _0x58afcc=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0x27fee2,_0x21524a){const _0x31641d=_0x33791c;super(),this[_0x31641d(0x282)]=_0x27fee2,this['_imageIoService']=_0x21524a,this['_init']();}[_0x33791c(0x41f)](){const _0x50df2e=_0x33791c,_0x27e4a3=this;this[_0x50df2e(0x351)](this[_0x50df2e(0x282)]['addClipboardHook']({'onBeforePasteImage':async _0x464b37=>{const _0x384044=_0x50df2e,_0x3d0752=await _0x27e4a3[_0x384044(0x2b3)][_0x384044(0x3cc)](_0x464b37);return _0x3d0752?{'source':_0x3d0752[_0x384044(0x437)],'imageSourceType':_0x3d0752[_0x384044(0x2ba)]}:null;}}));}};_0x58afcc=_0x2b6bb8([_0x1cd36c(0x0,_0x3eaeba[_0x33791c(0x31a)]),_0x1cd36c(0x1,_0x23a402[_0x33791c(0x348)])],_0x58afcc);const _0x350398=[_0x33791c(0x29c),_0x33791c(0x35d),'green.600',_0x33791c(0x35f),_0x33791c(0x1f5),_0x33791c(0x2f2)];class _0x3baabc extends _0x282385[_0x33791c(0x34b)]{constructor(){const _0x487fc5=_0x33791c;super(...arguments),_0x1bd675(this,_0x487fc5(0x369),new Map()),_0x1bd675(this,_0x487fc5(0x39d),0x0);}['assignAColorForMemberID'](_0x24e1a5){const _0x33344f=_0x33791c;if(this[_0x33344f(0x369)][_0x33344f(0x386)](_0x24e1a5))return this[_0x33344f(0x369)][_0x33344f(0x1c6)](_0x24e1a5);const _0x265a2e=_0x350398[this[_0x33344f(0x39d)]];return this[_0x33344f(0x39d)]=(this[_0x33344f(0x39d)]+0x1)%_0x350398[_0x33344f(0x40b)],this[_0x33344f(0x369)]['set'](_0x24e1a5,_0x265a2e),_0x265a2e;}}function _0x38035e(_0xa71ae7){let _0x543afa='';for(const _0x41f90b of _0xa71ae7){const {startOffset:_0x59fe3f,endOffset:_0x129fca,isActive:_0x1d66d7,rangeType:_0x572740,segmentId:_0xa13380,segmentPage:_0x2ec7f9}=_0x41f90b;_0x543afa['length']&&(_0x543afa+=','),_0x543afa+=_0x59fe3f+':'+_0x129fca+':'+(_0x1d66d7?'1':'0')+':'+_0x572740+':'+_0xa13380+':'+_0x2ec7f9;}return _0x543afa;}function _0xa85d91(_0x288734){const _0x2680e9=_0x33791c,_0x2cba89=_0x288734[_0x2680e9(0x3f1)](','),_0x4838bf=[];for(const _0x27721c of _0x2cba89){const [_0x44264b,_0x425568,_0x36c710,_0x3ee642,_0x385d6a,_0x1d76a2]=_0x27721c[_0x2680e9(0x3f1)](':');_0x4838bf[_0x2680e9(0x1c4)]({'startOffset':Number(_0x44264b),'endOffset':Number(_0x425568),'collapsed':_0x44264b===_0x425568,'isActive':_0x36c710==='1','rangeType':_0x3ee642===_0x282385[_0x2680e9(0x1f9)][_0x2680e9(0x41b)]?_0x282385['DOC_RANGE_TYPE'][_0x2680e9(0x41b)]:_0x282385[_0x2680e9(0x1f9)]['RECT'],'segmentId':typeof _0x385d6a==_0x2680e9(0x389)?String(_0x385d6a):'','segmentPage':Number(_0x1d76a2!=null?_0x1d76a2:-0x1)});}return _0x4838bf[_0x2680e9(0x284)](_0x2ef0b0=>_0x2ef0b0[_0x2680e9(0x1d9)])||(_0x4838bf[0x0][_0x2680e9(0x1d9)]=!0x0),_0x4838bf;}class _0x2a8d1a extends _0x282385['RxDisposable']{constructor(){const _0x2300b6=_0x33791c;super(...arguments),_0x1bd675(this,_0x2300b6(0x244),new _0x46e3a5[(_0x2300b6(0x2b4))](null)),_0x1bd675(this,_0x2300b6(0x215),this['_collabCursorState$'][_0x2300b6(0x3e3)]());}[_0x33791c(0x1ff)](_0x2c7253){const _0x4dc00d=_0x33791c,{unitID:_0x19a845,memberID:_0x5b31d0,textRanges:_0x4769dc}=_0x2c7253,_0x458826=_0x38035e(_0x4769dc);if(_0x458826==='')return;const _0xca5f90={'unitID':_0x19a845,'memberID':_0x5b31d0,'selection':_0x458826};this['_collabCursorState$'][_0x4dc00d(0x3cf)](_0xca5f90);}}var _0x2fd2eb=Object['getOwnPropertyDescriptor'],_0xb5961c=(_0x2b6b72,_0x1e184b,_0x1e8ee9,_0x5ccdf3)=>{const _0x1fe3e7=_0x33791c;for(var _0x4d85cd=_0x5ccdf3>0x1?void 0x0:_0x5ccdf3?_0x2fd2eb(_0x1e184b,_0x1e8ee9):_0x1e184b,_0x2e6a69=_0x2b6b72[_0x1fe3e7(0x40b)]-0x1,_0x50c619;_0x2e6a69>=0x0;_0x2e6a69--)(_0x50c619=_0x2b6b72[_0x2e6a69])&&(_0x4d85cd=_0x50c619(_0x4d85cd)||_0x4d85cd);return _0x4d85cd;},_0xeb05a0=(_0x45c214,_0x1cd030)=>(_0xcd9380,_0x53cd1e)=>_0x1cd030(_0xcd9380,_0x53cd1e,_0x45c214);const _0x3019e7=0x12c,_0x5f26bb=0x64;let _0x796ef6=class extends _0x282385['RxDisposable']{constructor(_0x473bf7,_0x4297fb,_0x175f75,_0x1c82bb,_0x1e6143,_0x365303,_0x108186,_0x2b0702,_0x51f261){const _0x427b11=_0x33791c;super(),_0x1bd675(this,'_online',!0x1),_0x1bd675(this,_0x427b11(0x41f),!0x1),_0x1bd675(this,'_cursorInfo$',new _0x46e3a5[(_0x427b11(0x2b4))](new Map())),_0x1bd675(this,_0x427b11(0x330),this[_0x427b11(0x2d8)][_0x427b11(0x3e3)]()),_0x1bd675(this,_0x427b11(0x218),new _0x46e3a5['BehaviorSubject']([])),_0x1bd675(this,_0x427b11(0x20f),this[_0x427b11(0x218)]['pipe'](_0x46e3a5[_0x427b11(0x286)](_0x3019e7))),_0x1bd675(this,_0x427b11(0x370),_0x282385[_0x427b11(0x1a9)](_0x43f027=>{const _0x1da97b=_0x427b11,_0x2b35f6={'eventID':_0x26b52b[_0x1da97b(0x414)][_0x1da97b(0x426)],'data':{'unitID':this['unitID'],'memberID':this[_0x1da97b(0x2e4)][_0x1da97b(0x306)](),'selection':_0x38035e(_0x43f027)}};this['_session'][_0x1da97b(0x379)](_0x2b35f6,this[_0x1da97b(0x292)]);},_0x5f26bb)),(this[_0x427b11(0x292)]=_0x473bf7,this[_0x427b11(0x2e4)]=_0x4297fb,this[_0x427b11(0x27a)]=_0x175f75,this['_colorAssignService']=_0x1c82bb,this[_0x427b11(0x2b9)]=_0x1e6143,this[_0x427b11(0x3fe)]=_0x365303,this[_0x427b11(0x3f5)]=_0x108186,this[_0x427b11(0x276)]=_0x2b0702,this[_0x427b11(0x285)]=_0x51f261);}get[_0x33791c(0x3d9)](){const _0x4ac658=_0x33791c;return this['_cursorInfo$'][_0x4ac658(0x38f)]();}get[_0x33791c(0x287)](){return this['_roomMembers$']['getValue']();}[_0x33791c(0x19d)](){const _0x1c4041=_0x33791c;super[_0x1c4041(0x19d)](),this[_0x1c4041(0x2d8)][_0x1c4041(0x3cf)](new Map()),this[_0x1c4041(0x2d8)]['complete'](),this['_roomMembers$']['next']([]),this[_0x1c4041(0x218)][_0x1c4041(0x31c)]();}[_0x33791c(0x360)](){const _0x359228=_0x33791c;this[_0x359228(0x41f)]||(this[_0x359228(0x41f)]=!0x0,this[_0x359228(0x2e4)][_0x359228(0x316)][_0x359228(0x36d)](_0x46e3a5['takeUntil'](this['dispose$']))[_0x359228(0x338)](_0x10e88f=>{const _0x250d81=_0x359228;_0x10e88f===_0x505f96['SessionStatus']['ONLINE']?this[_0x250d81(0x1e8)]():this[_0x250d81(0x1b9)]();}),this['_session']['event$'][_0x359228(0x36d)](_0x46e3a5[_0x359228(0x2af)](this[_0x359228(0x221)]))[_0x359228(0x338)](_0x59f6cb=>{const _0x27a69e=_0x359228,_0x16e615=_0x59f6cb[_0x27a69e(0x30e)];_0x16e615===_0x26b52b[_0x27a69e(0x414)][_0x27a69e(0x426)]&&this[_0x27a69e(0x201)](_0x59f6cb),_0x16e615===_0x26b52b['CollaborationEvent'][_0x27a69e(0x2e7)]&&this[_0x27a69e(0x33b)](_0x59f6cb);}),this[_0x359228(0x351)](this[_0x359228(0x285)][_0x359228(0x2f1)](_0x4ef97c=>{const _0x47cfda=_0x359228,_0x1a4636=_0x4ef97c[_0x47cfda(0x1ae)];_0x1a4636!=null&&this[_0x47cfda(0x28f)]&&_0x4ef97c['id']===_0x1e6451[_0x47cfda(0x1c5)]['id']&&_0x1a4636[_0x47cfda(0x3c0)]===this[_0x47cfda(0x292)]&&_0x1a4636[_0x47cfda(0x2d1)]===!0x1&&_0x1a4636['ranges']['length']>0x0&&this[_0x47cfda(0x370)](_0x1a4636['ranges']);})),this[_0x359228(0x3fe)][_0x359228(0x215)][_0x359228(0x36d)](_0x46e3a5[_0x359228(0x2af)](this[_0x359228(0x221)]))[_0x359228(0x338)](_0x5276c7=>{const _0x158889=_0x359228;if((_0x5276c7==null?void 0x0:_0x5276c7[_0x158889(0x292)])!==this[_0x158889(0x292)])return;const _0x229097={'eventID':_0x26b52b[_0x158889(0x414)][_0x158889(0x426)],'data':_0x5276c7};this[_0x158889(0x201)](_0x229097);}),this['disposeWithMe'](this['_commandService'][_0x359228(0x2f1)](_0x4e8f70=>{const _0x4edcc6=_0x359228;if(_0x4e8f70[_0x4edcc6(0x1ae)]==null)return;const _0x44c7c9=_0x4e8f70[_0x4edcc6(0x1ae)];if(_0x4e8f70['id']!==_0x1e6451[_0x4edcc6(0x43c)]['id']||_0x44c7c9['unitId']!==this['unitID'])return;const _0x156246={'id':'doc.mutation.rich-text-editing','params':_0x44c7c9},_0x366b8f=this[_0x4edcc6(0x3d9)];for(const [_0x51ab7d,_0x55cf32]of _0x366b8f){const _0x2a904f={'id':_0x4edcc6(0x1d4),'params':{'unitId':this[_0x4edcc6(0x292)],'actions':null,'textRanges':_0x55cf32[_0x4edcc6(0x2e3)]}},_0x4026ac=this['_transformService'][_0x4edcc6(0x2f7)](_0x156246,_0x2a904f,!0x1);if(_0x26b52b[_0x4edcc6(0x2d6)](_0x4026ac))throw _0x4026ac[_0x4edcc6(0x397)];_0x366b8f[_0x4edcc6(0x38d)](_0x51ab7d,{..._0x55cf32,'ranges':_0x4026ac['m2Prime'][_0x4edcc6(0x1ae)][_0x4edcc6(0x23f)]});}queueMicrotask(()=>{const _0x1a2984=_0x4edcc6;this[_0x1a2984(0x2d8)][_0x1a2984(0x3cf)](_0x366b8f);});})));}['_onCursorUpdate'](_0x29383b){const _0x20ae2e=_0x33791c;var _0x1bc97b,_0x1d5f8f;const {memberID:_0x14788a,selection:_0x2a5232}=_0x29383b[_0x20ae2e(0x3b1)],_0x2cc0d5=_0xa85d91(_0x2a5232),_0x116851=(_0x1d5f8f=(_0x1bc97b=this['_memberService']['getMember'](this[_0x20ae2e(0x292)],_0x14788a))==null?void 0x0:_0x1bc97b[_0x20ae2e(0x2e5)])!=null?_0x1d5f8f:_0x20ae2e(0x2ad),_0x504b66={'color':this[_0x20ae2e(0x238)][_0x20ae2e(0x40f)](_0x14788a),'name':_0x116851,'ranges':_0x2cc0d5},_0x3c5c1a=this[_0x20ae2e(0x3d9)];_0x3c5c1a[_0x20ae2e(0x38d)](_0x14788a,_0x504b66),this[_0x20ae2e(0x2d8)][_0x20ae2e(0x3cf)](_0x3c5c1a);}[_0x33791c(0x33b)](_0x58fe06){const _0x2909a0=_0x33791c,{memberID:_0x27daf2}=_0x58fe06[_0x2909a0(0x3b1)],_0x4cf184=this[_0x2909a0(0x3d9)];_0x4cf184['delete'](_0x27daf2),this['_cursorInfo$'][_0x2909a0(0x3cf)](_0x4cf184);}['_toggleOnline'](){const _0x24a5ee=_0x33791c;var _0x3aee49;if(this[_0x24a5ee(0x28f)]=!0x0,((_0x3aee49=this['_univerInstanceService'][_0x24a5ee(0x1e6)]())==null?void 0x0:_0x3aee49[_0x24a5ee(0x354)]())!==this[_0x24a5ee(0x292)])return;const _0x328b16=this[_0x24a5ee(0x27a)]['get'](_0x1e6451[_0x24a5ee(0x1b3)])[_0x24a5ee(0x29d)]();Array['isArray'](_0x328b16)&&_0x328b16[_0x24a5ee(0x40b)]>0x0&&this[_0x24a5ee(0x370)](_0x328b16);}[_0x33791c(0x1b9)](){const _0x390147=_0x33791c;this[_0x390147(0x28f)]=!0x1;}};_0x796ef6=_0xb5961c([_0xeb05a0(0x2,_0x282385['Inject'](_0x282385['Injector'])),_0xeb05a0(0x3,_0x282385[_0x33791c(0x1ba)](_0x3baabc)),_0xeb05a0(0x4,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x40d)])),_0xeb05a0(0x5,_0x282385[_0x33791c(0x1ba)](_0x2a8d1a)),_0xeb05a0(0x6,_0x26b52b['ITransformService']),_0xeb05a0(0x7,_0x282385[_0x33791c(0x2d5)]),_0xeb05a0(0x8,_0x282385['ICommandService'])],_0x796ef6);var _0x330fac=Object[_0x33791c(0x39a)],_0x31338c=(_0x394272,_0x16fc11,_0x332b1e,_0x1da9ca)=>{const _0x4a6cf4=_0x33791c;for(var _0xec002b=_0x1da9ca>0x1?void 0x0:_0x1da9ca?_0x330fac(_0x16fc11,_0x332b1e):_0x16fc11,_0x4898ed=_0x394272[_0x4a6cf4(0x40b)]-0x1,_0x22296c;_0x4898ed>=0x0;_0x4898ed--)(_0x22296c=_0x394272[_0x4898ed])&&(_0xec002b=_0x22296c(_0xec002b)||_0xec002b);return _0xec002b;},_0x7a8d50=(_0x47ab47,_0xc804bb)=>(_0x2d480b,_0x25d03e)=>_0xc804bb(_0x2d480b,_0x25d03e,_0x47ab47);const _0xb894f0=0x12c,_0x1f4c8f=0x64,_0x50bc84=()=>{let _0x56704b=[],_0xa5914f=!0x1;return _0x23d58e=>{const _0xf869d0=_0x1875;_0x56704b[_0xf869d0(0x1c4)](_0x23d58e),_0xa5914f||(_0xa5914f=!0x0,setTimeout(()=>{const _0x44c354=_0xf869d0;_0x56704b[_0x44c354(0x3ee)](_0x5a2925=>_0x5a2925()),_0x56704b=[],_0xa5914f=!0x1;}));};};let _0x105773=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0xf29124,_0x168df4,_0x4131c6,_0xa094c2,_0xce7dd2,_0x51c919,_0x336a05,_0x53c76c){const _0x5a28e9=_0x33791c;super(),_0x1bd675(this,'_online',!0x1),_0x1bd675(this,'_init',!0x1),_0x1bd675(this,_0x5a28e9(0x2d8),new _0x46e3a5[(_0x5a28e9(0x2b4))](new Map())),_0x1bd675(this,_0x5a28e9(0x330),this['_cursorInfo$']['asObservable']()),_0x1bd675(this,_0x5a28e9(0x218),new _0x46e3a5['BehaviorSubject']([])),_0x1bd675(this,'roomMembers$',this[_0x5a28e9(0x218)][_0x5a28e9(0x36d)](_0x46e3a5[_0x5a28e9(0x286)](_0xb894f0))),_0x1bd675(this,_0x5a28e9(0x370),_0x282385[_0x5a28e9(0x1a9)]((_0x4ce9a4,_0x57fe3c)=>{const _0xaf613e=_0x5a28e9,_0x2629ef={'eventID':_0x26b52b['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xaf613e(0x292)],'memberID':this['_session'][_0xaf613e(0x306)](),'selection':_0x3a060a[_0xaf613e(0x332)](_0x4ce9a4,_0x57fe3c[_0xaf613e(0x1cf)])}};this[_0xaf613e(0x2e4)][_0xaf613e(0x379)](_0x2629ef,this[_0xaf613e(0x292)]);},_0x1f4c8f)),(this[_0x5a28e9(0x292)]=_0xf29124,this[_0x5a28e9(0x2e4)]=_0x168df4,this[_0x5a28e9(0x27a)]=_0x4131c6,this[_0x5a28e9(0x238)]=_0xa094c2,this['_memberService']=_0xce7dd2,this[_0x5a28e9(0x276)]=_0x51c919,this['_commandService']=_0x336a05,this['_refRangeService']=_0x53c76c);}get['cursorInfo'](){const _0x1c3ed7=_0x33791c;return this[_0x1c3ed7(0x2d8)][_0x1c3ed7(0x38f)]();}get[_0x33791c(0x287)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x4f9f80=_0x33791c;super[_0x4f9f80(0x19d)](),this[_0x4f9f80(0x2d8)][_0x4f9f80(0x3cf)](new Map()),this[_0x4f9f80(0x2d8)]['complete'](),this[_0x4f9f80(0x218)][_0x4f9f80(0x3cf)]([]),this[_0x4f9f80(0x218)][_0x4f9f80(0x31c)]();}[_0x33791c(0x360)](){const _0x6c4996=_0x33791c;this[_0x6c4996(0x41f)]||(this['_init']=!0x0,this[_0x6c4996(0x2e4)][_0x6c4996(0x316)][_0x6c4996(0x36d)](_0x46e3a5[_0x6c4996(0x2af)](this['dispose$']))[_0x6c4996(0x338)](_0x12b12a=>{const _0xf69f1d=_0x6c4996;_0x12b12a===_0x505f96[_0xf69f1d(0x367)]['ONLINE']?this['_toggleOnline']():this[_0xf69f1d(0x1b9)]();}),this['_session'][_0x6c4996(0x2f4)][_0x6c4996(0x36d)](_0x46e3a5[_0x6c4996(0x2af)](this[_0x6c4996(0x221)]))[_0x6c4996(0x338)](_0x57543b=>{const _0x5dcb00=_0x6c4996,_0x373930=_0x57543b[_0x5dcb00(0x30e)];_0x373930===_0x26b52b['CollaborationEvent'][_0x5dcb00(0x426)]&&this['_onCursorUpdate'](_0x57543b),_0x373930===_0x26b52b[_0x5dcb00(0x414)][_0x5dcb00(0x2e7)]&&this[_0x5dcb00(0x33b)](_0x57543b);}),this[_0x6c4996(0x1f0)](),this[_0x6c4996(0x351)](this[_0x6c4996(0x285)][_0x6c4996(0x2f1)](_0x35defb=>{const _0x446d92=_0x6c4996;if(this['_online']&&_0x35defb['id']===_0xa4213c[_0x446d92(0x3d8)]['id']&&_0x35defb['params'][_0x446d92(0x3c0)]===this['unitID']){const _0xff0ffb=_0x35defb[_0x446d92(0x1ae)];this['_updateLocalCursor'](_0xff0ffb[_0x446d92(0x2a4)],_0xff0ffb[_0x446d92(0x42c)][0x0]);}})));}[_0x33791c(0x201)](_0x212e82){const _0x237088=_0x33791c;var _0x73d593,_0x1a2e02;const {memberID:_0x8bff7f,selection:_0x5505e2}=_0x212e82[_0x237088(0x3b1)],{sheetName:_0x1ab9b5,range:_0x19514d}=_0x3a060a[_0x237088(0x1cb)](_0x5505e2),_0x35741f={'name':(_0x1a2e02=(_0x73d593=this['_memberService']['getMember'](this[_0x237088(0x292)],_0x8bff7f))==null?void 0x0:_0x73d593[_0x237088(0x2e5)])!=null?_0x1a2e02:_0x237088(0x2ad),'range':this[_0x237088(0x1a5)](_0x1ab9b5,_0x19514d),'sheetID':_0x1ab9b5,'color':this[_0x237088(0x238)][_0x237088(0x40f)](_0x8bff7f),'selection':_0x5505e2},_0x410632=this[_0x237088(0x3d9)];_0x410632[_0x237088(0x38d)](_0x8bff7f,_0x35741f),this['_cursorInfo$']['next'](_0x410632);}[_0x33791c(0x33b)](_0x3083de){const _0xfc7f30=_0x33791c,{memberID:_0x4f90af}=_0x3083de[_0xfc7f30(0x3b1)],_0x2553e1=this['cursorInfo'];_0x2553e1['delete'](_0x4f90af),this[_0xfc7f30(0x2d8)][_0xfc7f30(0x3cf)](_0x2553e1);}[_0x33791c(0x1a5)](_0x5bcc09,_0x19c0c3){const _0x4d7e24=_0x33791c;var _0x175ad7,_0x160d62;const _0x38cfca=(_0x160d62=(_0x175ad7=this[_0x4d7e24(0x276)][_0x4d7e24(0x3ce)](this[_0x4d7e24(0x292)]))==null?void 0x0:_0x175ad7[_0x4d7e24(0x222)](_0x5bcc09))==null?void 0x0:_0x160d62[_0x4d7e24(0x383)]();return(_0x38cfca==null?void 0x0:_0x38cfca[_0x4d7e24(0x37a)](_0x545da8=>_0x282385[_0x4d7e24(0x432)]['contains'](_0x545da8,_0x19c0c3)))||_0x19c0c3;}[_0x33791c(0x1f0)](){const _0x3a1bcc=_0x33791c,_0x3b80b6=new _0x282385[(_0x3a1bcc(0x20d))](),_0x11cd52=_0x50bc84(),_0xc6e30a=()=>{const _0x47ee9c=_0x3a1bcc;_0x3b80b6[_0x47ee9c(0x19d)]();const _0x3d7755=(_0x180529,_0x1902e5,_0x49447c,_0xf57872)=>{const _0x26dac2=_0x47ee9c;let _0x5da315=[];switch(_0x180529['id']){case _0xa4213c[_0x26dac2(0x3e6)]['DeleteRangeMoveLeftCommandId']:{_0x5da315=_0xa4213c[_0x26dac2(0x3f9)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x2c3)]:{_0x5da315=_0xa4213c[_0x26dac2(0x297)](_0x180529,_0xf57872);break;}case _0xa4213c['EffectRefRangId'][_0x26dac2(0x2ed)]:{_0x5da315=_0xa4213c[_0x26dac2(0x2b7)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x43a)]:{_0x5da315=_0xa4213c[_0x26dac2(0x1bf)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x40a)]:{_0x5da315=_0xa4213c[_0x26dac2(0x224)](_0x180529,_0xf57872);break;}case _0xa4213c['EffectRefRangId'][_0x26dac2(0x22e)]:{_0x5da315=_0xa4213c[_0x26dac2(0x3cb)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x258)]:{_0x5da315=_0xa4213c[_0x26dac2(0x388)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)]['RemoveColCommandId']:{_0x5da315=_0xa4213c[_0x26dac2(0x3b0)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x249)]:{_0x5da315=_0xa4213c[_0x26dac2(0x402)](_0x180529,_0xf57872);break;}}const _0x5ac754=_0xa4213c[_0x26dac2(0x21a)](_0x5da315,_0xf57872),_0x143054=this[_0x26dac2(0x3d9)][_0x26dac2(0x1c6)](_0x1902e5);if(_0x143054&&_0x5ac754){const _0x33fda1={..._0x143054,'range':_0x5ac754};this['cursorInfo']['set'](_0x1902e5,_0x33fda1),_0x11cd52(()=>{const _0x1cd92c=_0x26dac2,_0x53bf4b=this[_0x1cd92c(0x274)][_0x1cd92c(0x263)](_0x5ac754,_0x144432=>(_0x53bf4b[_0x1cd92c(0x19d)](),_0x3d7755(_0x144432,_0x1902e5,_0x49447c,_0x5ac754)));_0x3b80b6[_0x1cd92c(0x3ea)](_0x53bf4b);});}return{'redos':[],'undos':[]};};this[_0x47ee9c(0x3d9)][_0x47ee9c(0x3ee)]((_0x44f9d5,_0x153029)=>{const _0x26d381=_0x47ee9c,{range:_0x4bff82,sheetID:_0x599e67}=_0x44f9d5,_0x343a7d=this[_0x26d381(0x274)][_0x26d381(0x263)](_0x4bff82,_0x96437=>(_0x343a7d[_0x26d381(0x19d)](),_0x3d7755(_0x96437,_0x153029,_0x599e67,_0x4bff82)));_0x3b80b6[_0x26d381(0x3ea)](_0x343a7d);});};this[_0x3a1bcc(0x351)](_0x282385[_0x3a1bcc(0x434)](this['_cursorInfo$'][_0x3a1bcc(0x338)](()=>{_0xc6e30a();})));}['_toggleOnline'](){const _0x211228=_0x33791c;var _0x2ca33c,_0x3d7bdc;if(this[_0x211228(0x28f)]=!0x0,((_0x2ca33c=this[_0x211228(0x276)]['getFocusedUnit']())==null?void 0x0:_0x2ca33c['getUnitId']())!==this[_0x211228(0x292)])return;const _0x126d50=(_0x3d7bdc=this[_0x211228(0x27a)]['get'](_0xa4213c[_0x211228(0x262)])[_0x211228(0x2e0)]())==null?void 0x0:_0x3d7bdc[0x0],_0x5ef6a8=this['_univerInstanceService'][_0x211228(0x21b)](_0x282385[_0x211228(0x356)][_0x211228(0x2fa)])['getActiveSheet']();_0x126d50&&_0x5ef6a8&&this[_0x211228(0x370)](_0x5ef6a8[_0x211228(0x2c5)](),_0x126d50);}['_toggleOffline'](){const _0x2fcf6b=_0x33791c;this[_0x2fcf6b(0x28f)]=!0x1;}};_0x105773=_0x31338c([_0x7a8d50(0x2,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x7a8d50(0x3,_0x282385[_0x33791c(0x1ba)](_0x3baabc)),_0x7a8d50(0x4,_0x282385[_0x33791c(0x1ba)](_0x505f96['MemberService'])),_0x7a8d50(0x5,_0x282385['IUniverInstanceService']),_0x7a8d50(0x6,_0x282385['ICommandService']),_0x7a8d50(0x7,_0x282385[_0x33791c(0x1ba)](_0xa4213c[_0x33791c(0x347)]))],_0x105773);var _0x490c95=Object[_0x33791c(0x39a)],_0x5b5f11=(_0x347b01,_0x5b18b8,_0x51e03b,_0x5485e8)=>{const _0x110555=_0x33791c;for(var _0x37851e=_0x5485e8>0x1?void 0x0:_0x5485e8?_0x490c95(_0x5b18b8,_0x51e03b):_0x5b18b8,_0xf19ad6=_0x347b01[_0x110555(0x40b)]-0x1,_0x40c70d;_0xf19ad6>=0x0;_0xf19ad6--)(_0x40c70d=_0x347b01[_0xf19ad6])&&(_0x37851e=_0x40c70d(_0x37851e)||_0x37851e);return _0x37851e;},_0x54b852=(_0x2e4828,_0x52deb0)=>(_0x2892ec,_0x542d94)=>_0x52deb0(_0x2892ec,_0x542d94,_0x2e4828);let _0x435660=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0xf669b5,_0x5a8edb,_0x37a8f2){const _0x44896c=_0x33791c;super(),_0x1bd675(this,_0x44896c(0x3bd),new Map()),_0x1bd675(this,'_entityInit$',new _0x46e3a5[(_0x44896c(0x407))]()),(this[_0x44896c(0x276)]=_0xf669b5,this[_0x44896c(0x27a)]=_0x5a8edb,this[_0x44896c(0x427)]=_0x37a8f2,this[_0x44896c(0x41f)]());}['dispose'](){const _0x11cb05=_0x33791c;super[_0x11cb05(0x19d)](),this[_0x11cb05(0x3a2)][_0x11cb05(0x31c)](),this['_entities'][_0x11cb05(0x3ee)](_0x59ee90=>_0x59ee90['dispose']());}[_0x33791c(0x19a)](_0x2387ef){const _0x36d4db=_0x33791c;return this['_entities'][_0x36d4db(0x386)](_0x2387ef)?this[_0x36d4db(0x3bd)]['get'](_0x2387ef)['cursorInfo$']:this[_0x36d4db(0x3a2)][_0x36d4db(0x36d)](_0x46e3a5[_0x36d4db(0x26b)](_0x4bcd2e=>_0x4bcd2e[_0x36d4db(0x292)]===_0x2387ef),_0x46e3a5[_0x36d4db(0x39b)](_0x39ea52=>_0x39ea52[_0x36d4db(0x330)]));}['_init'](){const _0x24aaaf=_0x33791c;this[_0x24aaaf(0x276)][_0x24aaaf(0x231)](_0x282385[_0x24aaaf(0x356)][_0x24aaaf(0x2fa)])['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))['subscribe'](async _0x3873cd=>{const _0x38b60f=_0x24aaaf,_0x5f47dd=_0x3873cd[_0x38b60f(0x354)](),_0x31fa4b=await this[_0x38b60f(0x31f)](_0x5f47dd);this[_0x38b60f(0x3a2)][_0x38b60f(0x3cf)](_0x31fa4b),this[_0x38b60f(0x3bd)]['set'](_0x5f47dd,_0x31fa4b);}),this[_0x24aaaf(0x276)][_0x24aaaf(0x231)](_0x282385[_0x24aaaf(0x356)][_0x24aaaf(0x373)])['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))[_0x24aaaf(0x36d)](_0x46e3a5[_0x24aaaf(0x26b)](_0x16e1aa=>!_0x16e1aa[_0x24aaaf(0x354)]()['startsWith']('__')))[_0x24aaaf(0x338)](async _0x12f040=>{const _0x5b9960=_0x24aaaf,_0x334a31=_0x12f040[_0x5b9960(0x354)](),_0x35f6fd=await this[_0x5b9960(0x227)](_0x334a31);this[_0x5b9960(0x3a2)][_0x5b9960(0x3cf)](_0x35f6fd),this['_entities'][_0x5b9960(0x38d)](_0x334a31,_0x35f6fd);}),_0x46e3a5['merge'](this[_0x24aaaf(0x276)][_0x24aaaf(0x41a)](_0x282385['UniverInstanceType'][_0x24aaaf(0x373)]),this[_0x24aaaf(0x276)][_0x24aaaf(0x41a)](_0x282385['UniverInstanceType'][_0x24aaaf(0x2fa)]))['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))[_0x24aaaf(0x338)](_0x291cae=>{const _0x42ec83=_0x24aaaf,_0x57853f=_0x291cae[_0x42ec83(0x354)](),_0x8fb300=this[_0x42ec83(0x3bd)][_0x42ec83(0x1c6)](_0x57853f);_0x8fb300&&(_0x8fb300[_0x42ec83(0x19d)](),this[_0x42ec83(0x3bd)][_0x42ec83(0x2c1)](_0x57853f));});}async['_startSheetCollabCursor'](_0x1f7153){const _0x14967b=_0x33791c,_0x1a99a0=await this['_collabSessionService'][_0x14967b(0x3c9)](_0x1f7153),_0x32567c=this[_0x14967b(0x27a)]['createInstance'](_0x105773,_0x1f7153,_0x1a99a0);return _0x32567c[_0x14967b(0x360)](),_0x32567c;}async['_startDocCollabCursor'](_0x1edd02){const _0x272519=_0x33791c,_0x3f5588=await this[_0x272519(0x427)][_0x272519(0x3c9)](_0x1edd02),_0xe95b21=this['_injector'][_0x272519(0x375)](_0x796ef6,_0x1edd02,_0x3f5588);return _0xe95b21['init'](),_0xe95b21;}};_0x435660=_0x5b5f11([_0x54b852(0x0,_0x282385[_0x33791c(0x2d5)]),_0x54b852(0x1,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x54b852(0x2,_0x282385[_0x33791c(0x1ba)](_0x505f96['CollaborationSessionService']))],_0x435660);const _0x269956=0x14,_0x361541=0xc8,_0x4d3e95=0x4,_0x4cfb82=0x5;function _0x40bed3(_0x21dae1,_0x3ff083){const _0xe269ec=_0x33791c;let {radius:_0x4e1ecc,width:_0x23a82e,height:_0x1f8855}=_0x3ff083;_0x4e1ecc=_0x4e1ecc!=null?_0x4e1ecc:0x0,_0x23a82e=_0x23a82e!=null?_0x23a82e:0x1e,_0x1f8855=_0x1f8855!=null?_0x1f8855:0x1e;let _0x3419d2=0x0,_0x340274=0x0,_0x2ca07c=0x0;_0x3419d2=_0x340274=_0x2ca07c=Math[_0xe269ec(0x3bc)](_0x4e1ecc,_0x23a82e/0x2,_0x1f8855/0x2),_0x21dae1[_0xe269ec(0x24f)](),_0x21dae1[_0xe269ec(0x357)](_0x3419d2,0x0),_0x21dae1[_0xe269ec(0x2a5)](_0x23a82e-_0x340274,0x0),_0x21dae1[_0xe269ec(0x296)](_0x23a82e-_0x340274,_0x340274,_0x340274,Math['PI']*0x3/0x2,0x0,!0x1),_0x21dae1[_0xe269ec(0x2a5)](_0x23a82e,_0x1f8855-_0x2ca07c),_0x21dae1[_0xe269ec(0x296)](_0x23a82e-_0x2ca07c,_0x1f8855-_0x2ca07c,_0x2ca07c,0x0,Math['PI']/0x2,!0x1),_0x21dae1[_0xe269ec(0x2a5)](0x0,_0x1f8855),_0x21dae1[_0xe269ec(0x2a5)](0x0,_0x3419d2),_0x21dae1[_0xe269ec(0x296)](_0x3419d2,_0x3419d2,_0x3419d2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21dae1[_0xe269ec(0x33c)](),_0x3ff083['fill']&&(_0x21dae1[_0xe269ec(0x3aa)](),_0x21dae1[_0xe269ec(0x328)]=_0x3ff083[_0xe269ec(0x252)],_0x3ff083['fillRule']===_0xe269ec(0x308)?_0x21dae1[_0xe269ec(0x252)]('evenodd'):_0x21dae1['fill'](),_0x21dae1['restore']());}class _0x158e89 extends _0x4366ed[_0x33791c(0x1ac)]{constructor(_0x265417,_0x394981){const _0x486f28=_0x33791c;super(_0x265417,_0x394981),_0x1bd675(this,'color'),_0x1bd675(this,'text'),(this['color']=_0x394981==null?void 0x0:_0x394981[_0x486f28(0x37c)],this['text']=_0x394981==null?void 0x0:_0x394981[_0x486f28(0x3e5)]);}static[_0x33791c(0x349)](_0xf8df7,_0x4a242d){const _0x5a2fe2=_0x33791c,{text:_0x103d15,color:_0x227a61}=_0x4a242d;_0xf8df7[_0x5a2fe2(0x3aa)](),_0xf8df7['font']=_0x5a2fe2(0x416);const _0x3e4991=_0xf8df7[_0x5a2fe2(0x265)](_0x103d15)[_0x5a2fe2(0x401)],_0x4c31c1=Math[_0x5a2fe2(0x3bc)](_0x3e4991+0x2*_0x4d3e95,_0x361541);_0x40bed3(_0xf8df7,{'height':_0x269956,'radius':0x4,'width':_0x4c31c1,'fill':_0x227a61}),_0xf8df7[_0x5a2fe2(0x328)]=_0x5a2fe2(0x272);const _0x48f7f8=_0x4d3e95,_0x1bafbb=_0x269956-_0x4cfb82,_0x240aa9=_0x361541-0x2*_0x4d3e95;if(_0x3e4991>_0x240aa9){let _0x554084='',_0x439071=0x0;for(const _0x18c0d6 of _0x103d15){const _0x5d788f=_0xf8df7[_0x5a2fe2(0x265)](_0x18c0d6)[_0x5a2fe2(0x401)];if(_0x439071+_0x5d788f<=_0x240aa9-_0xf8df7[_0x5a2fe2(0x265)](_0x5a2fe2(0x305))[_0x5a2fe2(0x401)])_0x554084+=_0x18c0d6,_0x439071+=_0x5d788f;else{_0x554084+=_0x5a2fe2(0x305);break;}}_0xf8df7[_0x5a2fe2(0x207)](_0x554084,_0x48f7f8,_0x1bafbb);}else _0xf8df7['fillText'](_0x103d15,_0x48f7f8,_0x1bafbb);_0xf8df7[_0x5a2fe2(0x245)]();}[_0x33791c(0x410)](_0x56c9d6){_0x158e89['drawWith'](_0x56c9d6,this);}}const _0x467693='collab-text-anchor-',_0x4d9471='collab-text-range-',_0x106513=_0x33791c(0x321),_0x2bcc39=0x6,_0x9502e0=1.5,_0x5846a3=0x4,_0x5d8e99=1.5,_0x2e2e37=_0x33791c(0x1df);class _0x12d44e{constructor(_0x1de136,_0x455833,_0x48f3fc,_0x3cbf0e){const _0x12918d=_0x33791c;_0x1bd675(this,'_shapes',[]),_0x1bd675(this,_0x12918d(0x3fb),null),_0x1bd675(this,_0x12918d(0x2d4),null),_0x1bd675(this,_0x12918d(0x290),null),_0x1bd675(this,_0x12918d(0x2c2),null),_0x1bd675(this,'_eventUnsubscribe',null),(this[_0x12918d(0x2f3)]=_0x1de136,this[_0x12918d(0x197)]=_0x455833,this[_0x12918d(0x23e)]=_0x48f3fc,this['_document']=_0x3cbf0e,this[_0x12918d(0x3e4)]());}set['_hover'](_0x49f514){const _0x40740d=_0x33791c;_0x49f514?(this[_0x40740d(0x290)]&&this[_0x40740d(0x290)]['hide'](),this[_0x40740d(0x2d4)]&&this[_0x40740d(0x2d4)][_0x40740d(0x1d2)]()):(this[_0x40740d(0x290)]&&this[_0x40740d(0x290)][_0x40740d(0x1d2)](),this[_0x40740d(0x2d4)]&&this[_0x40740d(0x2d4)][_0x40740d(0x34c)]());}[_0x33791c(0x19d)](){const _0x180f0b=_0x33791c;for(const _0x404dbf of this[_0x180f0b(0x204)])_0x404dbf['dispose']();this[_0x180f0b(0x2d4)]&&this['_textBubble'][_0x180f0b(0x19d)](),this[_0x180f0b(0x290)]&&this[_0x180f0b(0x290)][_0x180f0b(0x19d)](),this['_anchor']&&this[_0x180f0b(0x3fb)][_0x180f0b(0x19d)](),this[_0x180f0b(0x37d)]&&this[_0x180f0b(0x37d)]();}[_0x33791c(0x3e4)](){const _0x456390=_0x33791c;var _0x3396ca;const {_docSkeleton:_0x3345ba,_document:_0x41fd96}=this,{color:_0x33e9d2,name:_0x20ef8d,ranges:_0x1bf9ca}=this[_0x456390(0x2f3)],_0x1bf9fe=_0x41fd96[_0x456390(0x37e)](),{docsLeft:_0x10deff,docsTop:_0x2b5d75}=_0x1bf9fe,_0x4dc9b6=new _0x3eaeba[(_0x456390(0x3b3))](_0x1bf9fe,_0x3345ba);for(const {startOffset:_0x51f300,endOffset:_0x4e5194,rangeType:_0x4e23bc,segmentId:_0x286f48,segmentPage:_0x2abf16,collapsed:_0x577609,isActive:_0x1cfbe2}of _0x1bf9ca){const _0xd32ac7=_0x3345ba[_0x456390(0x2da)](_0x51f300,!0x0,_0x286f48,_0x2abf16);let _0x5273e5=_0x3345ba[_0x456390(0x2da)](_0x4e5194,!0x0,_0x286f48,_0x2abf16);if(_0x5273e5==null&&(_0x5273e5=_0x3345ba[_0x456390(0x2da)](_0x4e5194-0x1,!0x1,_0x286f48,_0x2abf16)),_0x1cfbe2){const {contentBoxPointGroup:_0x39a24d}=_0x4dc9b6['getRangePointData'](_0x5273e5,_0x5273e5);if(_0x39a24d[_0x456390(0x40b)]===0x0)continue;this['_drawAnchor'](_0x33e9d2,_0x39a24d,_0x10deff,_0x2b5d75,_0x20ef8d),this[_0x456390(0x37d)]=this[_0x456390(0x1d5)]();}if(_0xd32ac7&&_0x5273e5){if(_0x4e23bc===_0x282385[_0x456390(0x1f9)][_0x456390(0x34d)]){const _0x388bf1=new _0x3eaeba[(_0x456390(0x2d9))](_0x1bf9fe,_0x3345ba),{pointGroup:_0x40c37f}=(_0x3396ca=_0x388bf1[_0x456390(0x210)](_0xd32ac7,_0x5273e5))!=null?_0x3396ca:{};if(_0x40c37f==null||_0x40c37f[_0x456390(0x40b)]===0x0)continue;this[_0x456390(0x3db)](_0x33e9d2,_0x40c37f,_0x10deff,_0x2b5d75);}else{if(!_0x577609){const {borderBoxPointGroup:_0x56337b}=_0x4dc9b6[_0x456390(0x210)](_0xd32ac7,_0x5273e5);if(_0x56337b[_0x456390(0x40b)]===0x0)continue;this[_0x456390(0x22c)](_0x33e9d2,_0x56337b,_0x10deff,_0x2b5d75);}}}}}[_0x33791c(0x315)](_0x532958,_0x49652e,_0x417130,_0x257da3,_0x12ac32){const _0x278903=_0x33791c,_0x38664a=this['_getAnchorBounding'](_0x49652e),{left:_0x49bb84,top:_0x571fce,height:_0x10b521}=_0x38664a,_0x4d2781=this[_0x278903(0x3d4)](),_0x5c7fd0=_0x5d8e99/_0x4d2781,_0x47e05f=new _0x4366ed[(_0x278903(0x35c))](_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3,'height':_0x10b521,'width':_0x9502e0,'fill':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385[_0x278903(0x199)][_0x278903(0x20a)],0x0),'strokeWidth':_0x5c7fd0,'stroke':_0x2e2e37,'evented':!0x0});this[_0x278903(0x3fb)]=_0x47e05f,this[_0x278903(0x197)][_0x278903(0x372)](_0x47e05f,_0x3eaeba[_0x278903(0x364)]);const _0x52cf85=new _0x4366ed['Rect'](_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3-_0x5846a3/0x2,'height':_0x5846a3,'width':_0x5846a3,'fill':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385[_0x278903(0x199)][_0x278903(0x20a)],0x0),'strokeWidth':0x0,'stroke':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385['COLORS']['black'],0x0),'evented':!0x1});this[_0x278903(0x290)]=_0x52cf85,this[_0x278903(0x197)][_0x278903(0x372)](_0x52cf85,_0x3eaeba[_0x278903(0x364)]);const _0x39f632=new _0x158e89(_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3-_0x269956,'text':_0x12ac32,'color':_0x532958});this[_0x278903(0x2d4)]=_0x39f632,this[_0x278903(0x197)][_0x278903(0x372)](_0x39f632,_0x3eaeba['TEXT_RANGE_LAYER_INDEX']),this[_0x278903(0x1f2)]=!0x1;}[_0x33791c(0x1d5)](){const _0x282885=_0x33791c,_0x2d0e60=this[_0x282885(0x3fb)]['onPointerEnter$'][_0x282885(0x2b1)](()=>{const _0xebd468=_0x282885;this[_0xebd468(0x1f2)]=!0x0;}),_0x14275f=this[_0x282885(0x3fb)][_0x282885(0x1c3)][_0x282885(0x2b1)](()=>{const _0x457cae=_0x282885;this[_0x457cae(0x2c2)]&&clearTimeout(this[_0x457cae(0x2c2)]),this['_hideTimer']=setTimeout(()=>{const _0x128e8c=_0x457cae;this[_0x128e8c(0x1f2)]=!0x1;},0x7d0);});return()=>{const _0x369d6c=_0x282885;_0x2d0e60[_0x369d6c(0x248)](),_0x14275f[_0x369d6c(0x248)]();};}[_0x33791c(0x22c)](_0x40139d,_0x36bef8,_0x5b29d1,_0x26b8b3){const _0x31f272=_0x33791c,_0x1944ba=new _0x282385['ColorKit'](_0x40139d)['setAlpha'](0.2)['toRgbString'](),_0x45af2b=new _0x4366ed['RegularPolygon'](_0x4d9471+_0x282385['generateRandomId'](_0x2bcc39),{'pointsGroup':_0x36bef8,'fill':_0x1944ba||_0x4366ed[_0x31f272(0x2f0)](_0x282385[_0x31f272(0x199)][_0x31f272(0x20a)],0.2),'left':_0x5b29d1,'top':_0x26b8b3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31f272(0x204)][_0x31f272(0x1c4)](_0x45af2b),this[_0x31f272(0x197)][_0x31f272(0x372)](_0x45af2b,_0x3eaeba['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x4ef43d,_0xc401c9,_0x22e8ea,_0x14a07b){const _0x517d23=_0x33791c,_0x3d8073=new _0x282385[(_0x517d23(0x342))](_0x4ef43d)[_0x517d23(0x3ca)](0.2)['toRgbString'](),_0x260f2c=new _0x4366ed['RegularPolygon'](_0x106513+_0x282385[_0x517d23(0x2f6)](_0x2bcc39),{'pointsGroup':_0xc401c9,'fill':_0x3d8073||_0x4366ed['getColor'](_0x282385[_0x517d23(0x199)][_0x517d23(0x20a)],0.2),'left':_0x22e8ea,'top':_0x14a07b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x517d23(0x204)][_0x517d23(0x1c4)](_0x260f2c),this[_0x517d23(0x197)][_0x517d23(0x372)](_0x260f2c,_0x3eaeba[_0x517d23(0x364)]);}[_0x33791c(0x3ef)](_0x149035){const _0x4cc5bf=_0x149035[0x0],_0x359eb9=_0x4cc5bf[0x0],_0x30fe8c=_0x4cc5bf[0x2],{x:_0x395ee0,y:_0x1f68f4}=_0x359eb9,{x:_0x26c58b,y:_0xc11670}=_0x30fe8c;return{'left':_0x395ee0,'top':_0x1f68f4,'width':_0x26c58b-_0x395ee0,'height':_0xc11670-_0x1f68f4};}['_getScale'](){const _0x535753=_0x33791c,{scaleX:_0xa68f1a,scaleY:_0x466061}=this[_0x535753(0x197)]['getAncestorScale']();return Math['max'](_0xa68f1a,_0x466061);}}var _0x10e5ea=Object[_0x33791c(0x39a)],_0x3e5a24=(_0x18391b,_0x4c97e8,_0x11e2b9,_0x37099d)=>{const _0x137cc3=_0x33791c;for(var _0x29c57f=_0x37099d>0x1?void 0x0:_0x37099d?_0x10e5ea(_0x4c97e8,_0x11e2b9):_0x4c97e8,_0x2f7c28=_0x18391b[_0x137cc3(0x40b)]-0x1,_0x380fbd;_0x2f7c28>=0x0;_0x2f7c28--)(_0x380fbd=_0x18391b[_0x2f7c28])&&(_0x29c57f=_0x380fbd(_0x29c57f)||_0x29c57f);return _0x29c57f;},_0x4d4243=(_0x24711a,_0x140b8b)=>(_0x4ae8ee,_0xcf949)=>_0x140b8b(_0x4ae8ee,_0xcf949,_0x24711a);let _0x3806b7=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0x126d20,_0x8c4885,_0x438b76,_0x5d3d86,_0x3e6a35){const _0x44058c=_0x33791c;super(),_0x1bd675(this,_0x44058c(0x35e),[]),_0x1bd675(this,_0x44058c(0x212),[]),(this[_0x44058c(0x2d3)]=_0x126d20,this[_0x44058c(0x3a3)]=_0x8c4885,this[_0x44058c(0x2ff)]=_0x438b76,this[_0x44058c(0x285)]=_0x5d3d86,this[_0x44058c(0x32e)]=_0x3e6a35,this[_0x44058c(0x41f)]());}[_0x33791c(0x41f)](){const _0x5b1cf9=_0x33791c,_0x993643=this[_0x5b1cf9(0x2d3)][_0x5b1cf9(0x3c0)],_0x559019=this['_docSkeletonManagerService'];this[_0x5b1cf9(0x351)](_0x46e3a5[_0x5b1cf9(0x1a8)]([this[_0x5b1cf9(0x2ff)][_0x5b1cf9(0x19a)](_0x993643),this[_0x5b1cf9(0x32e)]['currentTheme$']])[_0x5b1cf9(0x36d)](_0x3c09e2[_0x5b1cf9(0x3de)](([_0x1385a4,_0x3fbff6])=>({'skeleton':_0x559019[_0x5b1cf9(0x1c7)](),'cursors':[..._0x1385a4[_0x5b1cf9(0x3fc)]()]['flatMap'](_0x2467ae=>({..._0x2467ae,'color':this[_0x5b1cf9(0x32e)][_0x5b1cf9(0x3f6)](_0x2467ae[_0x5b1cf9(0x37c)])}))})))['subscribe'](_0x48b4cc=>{const _0x2a94cd=_0x5b1cf9;if(this[_0x2a94cd(0x3ec)](),_0x48b4cc){const {skeleton:_0x19d6c5,cursors:_0x8aea9}=_0x48b4cc;this[_0x2a94cd(0x35b)](_0x19d6c5,_0x8aea9);}})),this['_initResize'](),this[_0x5b1cf9(0x1e2)]();}[_0x33791c(0x35b)](_0x3d289e,_0x30a874){const _0xe204a7=_0x33791c,{scene:_0x240174,mainComponent:_0x26287f}=this[_0xe204a7(0x2d3)],_0x582b49=_0x30a874[_0xe204a7(0x3de)](_0x114769=>new _0x12d44e(_0x114769,_0x240174,_0x3d289e,_0x26287f));this[_0xe204a7(0x35e)]=_0x582b49,this[_0xe204a7(0x212)]=_0x30a874;}[_0x33791c(0x1de)](){const _0x10b919=_0x33791c;this['_removeCollabCursors']();const {scene:_0x38817a,mainComponent:_0x3af300}=this[_0x10b919(0x2d3)],_0xd6e2be=this[_0x10b919(0x3a3)]['getSkeleton'](),_0x17225b=this[_0x10b919(0x212)]['map'](_0x4b2760=>new _0x12d44e(_0x4b2760,_0x38817a,_0xd6e2be,_0x3af300));this['_cursorShapes']=_0x17225b;}[_0x33791c(0x3ec)](){const _0x5ca967=_0x33791c;this[_0x5ca967(0x35e)][_0x5ca967(0x3ee)](_0x10253a=>_0x10253a['dispose']()),this[_0x5ca967(0x35e)]=[];}[_0x33791c(0x1e2)](){const _0x30d793=_0x33791c,_0x4f03b5=[_0x3eaeba[_0x30d793(0x417)]['id']];this[_0x30d793(0x351)](this[_0x30d793(0x285)]['onCommandExecuted'](_0x235f92=>{const _0xfb5038=_0x30d793;_0x4f03b5[_0xfb5038(0x382)](_0x235f92['id'])&&_0x235f92[_0xfb5038(0x1ae)][_0xfb5038(0x3c0)]===this['_context'][_0xfb5038(0x3c0)]&&this[_0xfb5038(0x1de)]();}));}[_0x33791c(0x239)](){const _0x396a3e=_0x33791c;this[_0x396a3e(0x351)](_0x282385[_0x396a3e(0x419)](this[_0x396a3e(0x2d3)][_0x396a3e(0x288)][_0x396a3e(0x223)])[_0x396a3e(0x36d)](_0x3c09e2['filter'](_0x49b96e=>_0x49b96e['type']===_0x4366ed[_0x396a3e(0x430)]['resize']),_0x3c09e2[_0x396a3e(0x275)](0x10))[_0x396a3e(0x338)](()=>{this['_refreshCollabCursors']();}));}};_0x3806b7=_0x3e5a24([_0x4d4243(0x1,_0x282385[_0x33791c(0x1ba)](_0x1e6451[_0x33791c(0x203)])),_0x4d4243(0x2,_0x282385[_0x33791c(0x1ba)](_0x435660)),_0x4d4243(0x3,_0x282385['ICommandService']),_0x4d4243(0x4,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x23c)]))],_0x3806b7);const _0xe09139=0x1,_0x2a8fc8=1.5;class _0x14c1a5 extends _0x4366ed['Shape']{constructor(_0x1119c7,_0x55f813){const _0x3d5f32=_0x33791c;super(_0x1119c7,_0x55f813),_0x1bd675(this,'_color'),_0x1bd675(this,'_hovered',!0x1),_0x1bd675(this,_0x3d5f32(0x26f)),_0x1bd675(this,'_name',''),_0x1bd675(this,_0x3d5f32(0x1ed),_0x3d5f32(0x2fb)),_0x1bd675(this,_0x3d5f32(0x293)),(_0x55f813&&this[_0x3d5f32(0x3d1)](_0x55f813),this['onPointerEnter$'][_0x3d5f32(0x2b1)](()=>this[_0x3d5f32(0x3d1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3d5f32(0x2b1)](()=>this[_0x3d5f32(0x3d1)]({'hovered':!0x1})));}[_0x33791c(0x3d1)](_0x37360c){const _0x3d2752=_0x33791c;var _0x3cf00d,_0x278d56,_0x3d4684,_0x11d523,_0x28cea0,_0x492eee;this['_color']=(_0x3cf00d=_0x37360c['color'])!=null?_0x3cf00d:this[_0x3d2752(0x22f)],this[_0x3d2752(0x294)]=(_0x278d56=_0x37360c[_0x3d2752(0x436)])!=null?_0x278d56:this[_0x3d2752(0x294)],this[_0x3d2752(0x26f)]=(_0x3d4684=_0x37360c['range'])!=null?_0x3d4684:this[_0x3d2752(0x26f)],this['_name']=(_0x11d523=_0x37360c[_0x3d2752(0x2e5)])!=null?_0x11d523:this[_0x3d2752(0x26e)],this[_0x3d2752(0x1ed)]=(_0x28cea0=_0x37360c[_0x3d2752(0x32f)])!=null?_0x28cea0:this[_0x3d2752(0x1ed)],this[_0x3d2752(0x293)]=(_0x492eee=_0x37360c[_0x3d2752(0x234)])!=null?_0x492eee:this[_0x3d2752(0x293)],this['transformByState']({'width':_0x37360c[_0x3d2752(0x401)],'height':_0x37360c[_0x3d2752(0x418)]});}[_0x33791c(0x319)](_0x543c72){const _0x7dc3b7=_0x33791c,{row:_0x1489cd,column:_0x289e30}=_0x543c72;if(_0x1489cd>=this[_0x7dc3b7(0x26f)]['startRow']&&_0x1489cd<=this[_0x7dc3b7(0x26f)][_0x7dc3b7(0x333)]&&_0x289e30>=this[_0x7dc3b7(0x26f)]['startColumn']&&_0x289e30<=this[_0x7dc3b7(0x26f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x7dc3b7(0x3d1)]({'hovered':!0x1});}[_0x33791c(0x34a)](_0x46b99e){return!0x1;}[_0x33791c(0x410)](_0x529b61){const _0x345ff0=_0x33791c;_0x4366ed[_0x345ff0(0x35c)][_0x345ff0(0x349)](_0x529b61,{'width':this[_0x345ff0(0x401)],'height':this[_0x345ff0(0x418)],'strokeWidth':_0x2a8fc8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x345ff0(0x293)]}),this[_0x345ff0(0x294)]&&(_0x529b61[_0x345ff0(0x3aa)](),_0x529b61[_0x345ff0(0x1f3)](0x1,0x0,0x0,0x1,this[_0x345ff0(0x401)],this[_0x345ff0(0x1ed)]===_0x345ff0(0x1b7)?0x0:-_0x269956),_0x158e89[_0x345ff0(0x349)](_0x529b61,{'text':this[_0x345ff0(0x26e)],'color':this['_color']}),_0x529b61[_0x345ff0(0x245)]());}}var _0x3de92d=Object[_0x33791c(0x39a)],_0x34679b=(_0x4c1c4e,_0x8bd451,_0x5eb51f,_0x2c993e)=>{const _0x5ddec7=_0x33791c;for(var _0x5dafea=_0x2c993e>0x1?void 0x0:_0x2c993e?_0x3de92d(_0x8bd451,_0x5eb51f):_0x8bd451,_0x94a592=_0x4c1c4e[_0x5ddec7(0x40b)]-0x1,_0x4d84f4;_0x94a592>=0x0;_0x94a592--)(_0x4d84f4=_0x4c1c4e[_0x94a592])&&(_0x5dafea=_0x4d84f4(_0x5dafea)||_0x5dafea);return _0x5dafea;},_0x47197a=(_0x250846,_0x13735b)=>(_0x427a02,_0x5a95e1)=>_0x13735b(_0x427a02,_0x5a95e1,_0x250846);const _0x2e2aab=0x1389;let _0x393398=class extends _0x282385['RxDisposable']{constructor(_0x286036,_0x3fd723,_0x5a027f,_0x568f66){const _0x3dde86=_0x33791c;super(),_0x1bd675(this,_0x3dde86(0x212),new Set()),_0x1bd675(this,'_lastPointer',null),(this['_context']=_0x286036,this[_0x3dde86(0x3ac)]=_0x3fd723,this[_0x3dde86(0x2ff)]=_0x5a027f,this[_0x3dde86(0x32e)]=_0x568f66,this[_0x3dde86(0x41f)]());}[_0x33791c(0x41f)](){const _0x33dbb9=_0x33791c;this[_0x33dbb9(0x3ac)][_0x33dbb9(0x250)][_0x33dbb9(0x36d)](_0x3c09e2[_0x33dbb9(0x2af)](this[_0x33dbb9(0x221)]),_0x3c09e2['switchMap'](_0xa0b620=>{const _0x4ed1dd=_0x33dbb9;if(_0xa0b620){const _0x5657f4=_0xa0b620[_0x4ed1dd(0x3f0)];return _0x46e3a5['combineLatest'](this[_0x4ed1dd(0x2ff)][_0x4ed1dd(0x19a)](this[_0x4ed1dd(0x2d3)][_0x4ed1dd(0x3c0)]),this[_0x4ed1dd(0x32e)][_0x4ed1dd(0x1ce)])['pipe'](_0x3c09e2[_0x4ed1dd(0x3de)](([_0x2f5e9f,_0x22c577])=>{const _0x19971f=_0x4ed1dd,_0x5bbf6f=new Map();return _0x2f5e9f[_0x19971f(0x3ee)]((_0xc262c1,_0x30bd0a)=>{const _0x441d5b=_0x19971f;if(_0xc262c1['sheetID']===_0x5657f4){const _0x558a16={..._0xc262c1};_0x558a16[_0x441d5b(0x37c)]=this[_0x441d5b(0x32e)][_0x441d5b(0x3f6)](_0xc262c1[_0x441d5b(0x37c)]),_0x5bbf6f['set'](_0x30bd0a,_0x558a16);}}),{'skeleton':_0xa0b620,'cursors':_0x5bbf6f};}));}return _0x46e3a5['of']({'skeleton':null,'cursors':new Map()});}))[_0x33dbb9(0x338)](({skeleton:_0x300a57,cursors:_0x2a2a66})=>{const _0x435d86=_0x33dbb9;this[_0x435d86(0x3ec)](),_0x300a57&&this['_updateCollabCursors'](_0x300a57,_0x2a2a66);}),this[_0x33dbb9(0x3ac)][_0x33dbb9(0x250)][_0x33dbb9(0x338)](_0xae4ff=>{const _0x1a181d=_0x33dbb9;if(_0xae4ff==null)return;const {skeleton:_0x298039}=_0xae4ff,{scene:_0x4e652d}=this['_context'];_0x4e652d[_0x1a181d(0x1c9)][_0x1a181d(0x2b1)](_0x282385[_0x1a181d(0x1a9)](_0x229cbd=>{const _0x151bd7=_0x1a181d;var _0x6e57d8,_0x4c7040;const {offsetX:_0x499a86,offsetY:_0x302cda}=_0x229cbd,{x:_0x30a2d2,y:_0x38e9cd}=_0x4e652d['getRelativeToViewportCoord'](_0x4366ed[_0x151bd7(0x3ed)][_0x151bd7(0x27e)]([_0x499a86,_0x302cda])),{scaleX:_0x50d0c2,scaleY:_0xf3b27b}=_0x4e652d[_0x151bd7(0x1a6)](),_0x33ab09=_0x4e652d['getViewport'](_0x4366ed[_0x151bd7(0x2b6)][_0x151bd7(0x19f)]),_0x28bbde=_0x4e652d[_0x151bd7(0x208)](_0x4366ed['Vector2'][_0x151bd7(0x27e)]([_0x30a2d2,_0x38e9cd]),_0x33ab09),_0x300fb0=_0x298039[_0x151bd7(0x2ea)](_0x499a86,_0x302cda,_0x50d0c2,_0xf3b27b,_0x28bbde);((_0x6e57d8=this[_0x151bd7(0x37b)])==null?void 0x0:_0x6e57d8[_0x151bd7(0x1db)])===_0x300fb0[_0x151bd7(0x1db)]&&((_0x4c7040=this['_lastPointer'])==null?void 0x0:_0x4c7040[_0x151bd7(0x334)])===_0x300fb0[_0x151bd7(0x334)]||this[_0x151bd7(0x212)][_0x151bd7(0x3ee)](_0x5c6b7a=>{const _0x1eeb5c=_0x151bd7;_0x5c6b7a[_0x1eeb5c(0x319)](_0x300fb0);});},0x64));});}[_0x33791c(0x35b)](_0x5dcc03,_0x2f2c2c){const _0x41003b=_0x33791c;var _0x13fe5d;const _0xd8d36d=(_0x13fe5d=this[_0x41003b(0x3ac)]['getCurrent']())==null?void 0x0:_0x13fe5d[_0x41003b(0x2b5)];if(!_0xd8d36d)return;const _0x47096d=this['_getSheetObject']();if(!_0x47096d)return;this['_cursors'][_0x41003b(0x3ee)](_0x2df1d7=>{const _0xcc50df=_0x41003b;_0x2df1d7[_0xcc50df(0x205)]();});const {scene:_0x2e037d}=_0x47096d,_0x4d7b08=_0x5e6dbf(Array[_0x41003b(0x243)](_0x2f2c2c['values']()))[_0x41003b(0x3de)](_0x2c5af3=>{const _0x2c3ca8=_0x41003b,{color:_0x360212,range:_0xb7e151,name:_0xe5a71b,selection:_0x1634d6,sheetID:_0x25e607}=_0x2c5af3,{startColumn:_0x578099,startRow:_0x303765,endColumn:_0x4f7b57,endRow:_0x56c514}=_0xb7e151,_0x194286=_0x387e44[_0x2c3ca8(0x236)](_0x303765,_0x578099,_0x2e037d,_0xd8d36d),_0x58b996=_0x387e44['getCoordByCell'](_0x56c514,_0x4f7b57,_0x2e037d,_0xd8d36d),{columnHeaderHeightAndMarginTop:_0x159478}=_0xd8d36d,{startX:_0x552253,startY:_0x1685a0}=_0x194286,{endX:_0x56726e,endY:_0x4b67f2}=_0x58b996,_0x2b20e8=_0x56726e-_0x552253,_0x1fddff=_0x4b67f2-_0x1685a0,_0x2ecd99={'labelPosition':_0x1685a0-_0x159478>=_0x269956?'top':'bottom','sheetID':_0x25e607,'range':_0xb7e151,'color':_0x360212,'name':_0xe5a71b,'selection':_0x1634d6,'left':_0x552253,'top':_0x1685a0,'width':_0x2b20e8,'height':_0x1fddff,'evented':!0x1,'zIndex':_0x2e2aab};return new _0x14c1a5(_0xe5a71b,_0x2ecd99);});_0x2e037d[_0x41003b(0x403)](_0x4d7b08,_0xe09139),this[_0x41003b(0x212)]=new Set(_0x4d7b08);}[_0x33791c(0x3ec)](){const _0xb753f6=_0x33791c;var _0x4e22f6;(_0x4e22f6=this[_0xb753f6(0x212)])==null||_0x4e22f6[_0xb753f6(0x3ee)](_0x2da0dc=>_0x2da0dc[_0xb753f6(0x19d)]());}['_getSheetObject'](){const _0x769bcc=_0x33791c;return _0x387e44[_0x769bcc(0x19e)](this[_0x769bcc(0x2d3)][_0x769bcc(0x211)],this['_context']);}};_0x393398=_0x34679b([_0x47197a(0x1,_0x282385[_0x33791c(0x1ba)](_0x387e44[_0x33791c(0x1b1)])),_0x47197a(0x2,_0x282385[_0x33791c(0x1ba)](_0x435660)),_0x47197a(0x3,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x23c)]))],_0x393398);function _0x5e6dbf(_0x4756f1){const _0xd18700=_0x33791c,_0xbdb29a=new Map();return _0x4756f1[_0xd18700(0x3ee)](_0x113144=>{const _0x816fd7=_0xd18700;if(_0xbdb29a[_0x816fd7(0x386)](_0x113144[_0x816fd7(0x240)])){const _0x2d2579=_0xbdb29a['get'](_0x113144[_0x816fd7(0x240)]);_0x2d2579[_0x816fd7(0x2e5)]+=',\x20'+_0x113144[_0x816fd7(0x2e5)];}else _0xbdb29a[_0x816fd7(0x38d)](_0x113144[_0x816fd7(0x240)],_0x113144);}),Array[_0xd18700(0x243)](_0xbdb29a[_0xd18700(0x3fc)]());}var _0x36c84a=Object[_0x33791c(0x39a)],_0x101458=(_0x563008,_0x49e6dd,_0x31ba7f,_0x38e915)=>{const _0x3a2052=_0x33791c;for(var _0xd0945c=_0x38e915>0x1?void 0x0:_0x38e915?_0x36c84a(_0x49e6dd,_0x31ba7f):_0x49e6dd,_0x27eff=_0x563008[_0x3a2052(0x40b)]-0x1,_0x49d5cc;_0x27eff>=0x0;_0x27eff--)(_0x49d5cc=_0x563008[_0x27eff])&&(_0xd0945c=_0x49d5cc(_0xd0945c)||_0xd0945c);return _0xd0945c;},_0x30bf82=(_0x192665,_0x47aca5)=>(_0x4cdec9,_0x174fc5)=>_0x47aca5(_0x4cdec9,_0x174fc5,_0x192665);let _0x59da73=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x4d0f68,_0x4ba234,_0x2700cd,_0x5bb185,_0x1d774b,_0x34b951){const _0x2df313=_0x33791c;super(),this['_beforeCloseService']=_0x4d0f68,this[_0x2df313(0x209)]=_0x4ba234,this[_0x2df313(0x339)]=_0x2700cd,this['_messageService']=_0x5bb185,this[_0x2df313(0x3e9)]=_0x1d774b,this[_0x2df313(0x3eb)]=_0x34b951,this[_0x2df313(0x1a0)](),this[_0x2df313(0x1dd)]();}[_0x33791c(0x1a0)](){const _0x2511f8=_0x33791c;this[_0x2511f8(0x351)](this[_0x2511f8(0x323)][_0x2511f8(0x2c6)](()=>{const _0x3fa6c4=_0x2511f8;if(this['_localCacheService'][_0x3fa6c4(0x2c0)][_0x3fa6c4(0x2c7)])return this[_0x3fa6c4(0x3eb)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x33791c(0x1dd)](){const _0x1c841f=_0x33791c;this[_0x1c841f(0x351)](this[_0x1c841f(0x339)][_0x1c841f(0x2f4)][_0x1c841f(0x338)](_0x554788=>{const _0x6b28b3=_0x1c841f;_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x38e)]&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x2ae)],'content':this[_0x6b28b3(0x3eb)]['t']('collaboration.single-unit.warning')}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)]['CLOSE_ROOM']&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d['MessageType'][_0x6b28b3(0x2ae)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x3c5))}),_0x554788['id']===_0x505f96['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x6b28b3(0x3e9)][_0x6b28b3(0x1d2)]({'title':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x400)),'content':this['_localeService']['t']('permission.content'),'type':_0x6b28b3(0x397),'duration':0x0}),_0x554788['id']===_0x505f96['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x1a2a2d['MessageType'][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x3c5))+'('+_0x554788[_0x6b28b3(0x3b1)]+')'}),_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x3a1)]&&this['_messageService'][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)]['Warning'],'content':this[_0x6b28b3(0x3eb)]['t'](_0x554788[_0x6b28b3(0x3b1)]||'')}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)][_0x6b28b3(0x3df)]&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d[_0x6b28b3(0x25b)]['Warning'],'content':this['_localeService']['t'](_0x6b28b3(0x25a))}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)][_0x6b28b3(0x2df)]&&this[_0x6b28b3(0x1b5)][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x41d))}),_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x3f3)]&&this['_messageService'][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x381))});}));}};_0x59da73=_0x101458([_0x30bf82(0x0,_0x31ed4b[_0x33791c(0x22d)]),_0x30bf82(0x1,_0x505f96[_0x33791c(0x3ad)]),_0x30bf82(0x2,_0x282385['Inject'](_0x505f96['CollaborationUIEventService'])),_0x30bf82(0x3,_0x31ed4b['IMessageService']),_0x30bf82(0x4,_0x31ed4b[_0x33791c(0x23b)]),_0x30bf82(0x5,_0x282385[_0x33791c(0x1ba)](_0x282385['LocaleService']))],_0x59da73);const _0x32c724=_0x33791c(0x28d),_0x4de44c={};var _0x58bc27=Object[_0x33791c(0x39a)],_0x2d29a8=(_0x1c4d25,_0x1fb860,_0xe8409d,_0x5d731b)=>{for(var _0x2c2ef8=_0x5d731b>0x1?void 0x0:_0x5d731b?_0x58bc27(_0x1fb860,_0xe8409d):_0x1fb860,_0x10193c=_0x1c4d25['length']-0x1,_0x5cd562;_0x10193c>=0x0;_0x10193c--)(_0x5cd562=_0x1c4d25[_0x10193c])&&(_0x2c2ef8=_0x5cd562(_0x2c2ef8)||_0x2c2ef8);return _0x2c2ef8;},_0x4e3ada=(_0x276248,_0x493271)=>(_0x5cf984,_0x38cf35)=>_0x493271(_0x5cf984,_0x38cf35,_0x276248);let _0x5668a1=class{constructor(_0x86b921,_0x228d2d){this['_transformService']=_0x86b921,this['_renderManagerService']=_0x228d2d;}[_0x33791c(0x1ab)](_0xf4e0ea){const _0x23e477=_0x33791c;this[_0x23e477(0x266)](_0xf4e0ea),this[_0x23e477(0x2b0)](_0xf4e0ea);}['transformRemoteChangeset'](_0xa2b1fc){const _0x4c2c72=_0x33791c,{unitID:_0x2c0b88}=_0xa2b1fc,_0x3b0a04=this[_0x4c2c72(0x1fa)][_0x4c2c72(0x1ec)](_0x2c0b88)['with'](_0x3eaeba[_0x4c2c72(0x3ae)]),{redoCache:_0x4267e9}=_0x3b0a04[_0x4c2c72(0x26d)]();if(_0x4267e9[_0x4c2c72(0x40b)]===0x0)return _0xa2b1fc;let _0x5a6605=_0x282385[_0x4c2c72(0x393)][_0x4c2c72(0x3b5)](_0xa2b1fc[_0x4c2c72(0x2a3)][0x0]);for(let _0x304393=0x0;_0x304393<_0x4267e9[_0x4c2c72(0x40b)];_0x304393++){const _0x4dc370={'id':_0x4c2c72(0x1d4),'params':{..._0x4267e9[_0x304393]}},_0xb66a9c=this[_0x4c2c72(0x3f5)]['transformMutation'](_0x5a6605,_0x4dc370,!0x1);if(_0x26b52b['isTransformMutationFailure'](_0xb66a9c))throw _0xb66a9c[_0x4c2c72(0x397)];_0x5a6605=_0xb66a9c[_0x4c2c72(0x30d)];}return{..._0x282385[_0x4c2c72(0x393)][_0x4c2c72(0x3b5)](_0xa2b1fc),'mutations':[_0x5a6605]};}[_0x33791c(0x266)](_0x4434b0){const _0x5e5650=_0x33791c,{unitID:_0x51e79e}=_0x4434b0,_0x157db8=this[_0x5e5650(0x1fa)]['getRenderById'](_0x51e79e)[_0x5e5650(0x412)](_0x3eaeba[_0x5e5650(0x3ae)]),{undoCache:_0xc19832,redoCache:_0x3d3eaf}=_0x157db8[_0x5e5650(0x26d)]();if(_0xc19832[_0x5e5650(0x40b)]===0x0||_0x3d3eaf[_0x5e5650(0x40b)]===0x0)return;const _0x10dac0=[],_0x222e66=[];let _0x56e907=_0x282385[_0x5e5650(0x393)]['deepClone'](_0x4434b0[_0x5e5650(0x2a3)][0x0]),_0x529a53=_0x282385[_0x5e5650(0x393)]['deepClone'](_0x4434b0[_0x5e5650(0x2a3)][0x0]);for(let _0x159c5b=_0xc19832['length']-0x1;_0x159c5b>=0x0;_0x159c5b--){const _0x4cad52={'id':'doc.mutation.rich-text-editing','params':{..._0xc19832[_0x159c5b]}},_0x5bcf2e={'id':_0x5e5650(0x1d4),'params':{..._0x3d3eaf[_0x159c5b]}},_0x1ef6ba=this['_transformService']['transformMutation'](_0x56e907,_0x4cad52,!0x1),_0x505fe9=this[_0x5e5650(0x3f5)]['transformMutation'](_0x529a53,_0x5bcf2e,!0x1);if(_0x26b52b[_0x5e5650(0x2d6)](_0x1ef6ba))throw _0x1ef6ba[_0x5e5650(0x397)];if(_0x26b52b[_0x5e5650(0x2d6)](_0x505fe9))throw _0x505fe9[_0x5e5650(0x397)];_0x10dac0['unshift'](_0x1ef6ba[_0x5e5650(0x3fd)]['params']),_0x222e66['unshift'](_0x505fe9[_0x5e5650(0x3fd)][_0x5e5650(0x1ae)]),_0x56e907=_0x1ef6ba[_0x5e5650(0x30d)],_0x529a53=_0x505fe9['m1Prime'];}_0x157db8['setUndoRedoMutationParamsCache']({'undoCache':_0x10dac0,'redoCache':_0x222e66});}['_transformPreviousActiveRange'](_0x2c8c9f){const _0x3aea62=_0x33791c,{unitID:_0x4039f1}=_0x2c8c9f,_0x5bd311=this[_0x3aea62(0x1fa)][_0x3aea62(0x1ec)](_0x4039f1)[_0x3aea62(0x412)](_0x3eaeba[_0x3aea62(0x3ae)]),_0x1fbb8c=_0x5bd311[_0x3aea62(0x31b)]();if(_0x1fbb8c==null)return;const _0x40994e=[{'id':_0x3aea62(0x1d4),'params':{'unitId':_0x2c8c9f[_0x3aea62(0x292)],'actions':null,'textRanges':[_0x1fbb8c]}}],_0xe3de0c=this[_0x3aea62(0x3f5)][_0x3aea62(0x1bd)](_0x2c8c9f,_0x40994e);if(!_0x26b52b[_0x3aea62(0x1a7)](_0xe3de0c))throw _0xe3de0c[_0x3aea62(0x397)];const _0x20cf7e=_0xe3de0c[_0x3aea62(0x3fd)][0x0][_0x3aea62(0x1ae)][_0x3aea62(0x23f)];Array[_0x3aea62(0x295)](_0x20cf7e)&&_0x20cf7e[_0x3aea62(0x40b)]&&_0x5bd311[_0x3aea62(0x20e)](_0x20cf7e[0x0]);}};_0x5668a1=_0x2d29a8([_0x4e3ada(0x0,_0x26b52b['ITransformService']),_0x4e3ada(0x1,_0x4366ed[_0x33791c(0x423)])],_0x5668a1);var _0x325b2b=Object[_0x33791c(0x39a)],_0x355aef=(_0x480029,_0x45f2d5,_0x52bd27,_0x5b4ea8)=>{for(var _0x38182e=_0x5b4ea8>0x1?void 0x0:_0x5b4ea8?_0x325b2b(_0x45f2d5,_0x52bd27):_0x45f2d5,_0x43c595=_0x480029['length']-0x1,_0x2123a3;_0x43c595>=0x0;_0x43c595--)(_0x2123a3=_0x480029[_0x43c595])&&(_0x38182e=_0x2123a3(_0x38182e)||_0x38182e);return _0x38182e;},_0x1944c4=(_0x56b299,_0x3d63df)=>(_0x2add0b,_0x1ed738)=>_0x3d63df(_0x2add0b,_0x1ed738,_0x56b299);let _0x3d0759=class{constructor(_0x336c40,_0x1c0eff,_0x4a5727){const _0x113163=_0x33791c;this[_0x113163(0x27a)]=_0x336c40,this[_0x113163(0x3f5)]=_0x1c0eff,this[_0x113163(0x1b2)]=_0x4a5727;}[_0x33791c(0x22b)](_0x485719){const _0x4deb9e=_0x33791c;this[_0x4deb9e(0x3a8)](_0x485719);}['transformRemoteChangeset'](_0x1d4839){const _0x3d542f=_0x33791c,{unitID:_0x4dd4d6}=_0x1d4839,{collaboration:_0x354dae}=this[_0x3d542f(0x1b2)][_0x3d542f(0x313)](_0x4dd4d6);if(_0x354dae[_0x3d542f(0x40b)]===0x0)return _0x1d4839;let _0x3370ae=_0x282385['Tools']['deepClone'](_0x1d4839['mutations'][0x0]);for(let _0x58c6b8=0x0;_0x58c6b8<_0x354dae[_0x3d542f(0x40b)];_0x58c6b8++){const _0x827cc8={'id':_0x3d542f(0x1d4),'params':{'unitId':_0x354dae[_0x58c6b8][_0x3d542f(0x3c0)],..._0x354dae[_0x58c6b8][_0x3d542f(0x1d1)]}},_0x2c8336=this[_0x3d542f(0x3f5)]['transformMutation'](_0x3370ae,_0x827cc8,!0x1);if(_0x26b52b[_0x3d542f(0x2d6)](_0x2c8336))throw _0x2c8336['error'];_0x3370ae=_0x2c8336[_0x3d542f(0x30d)];}return{..._0x282385['Tools'][_0x3d542f(0x3b5)](_0x1d4839),'mutations':[_0x3370ae]};}[_0x33791c(0x3a8)](_0x66d935){const _0x1ffd2a=_0x33791c,{unitID:_0x14073f}=_0x66d935,{history:_0x5ae5b7,collaboration:_0x290d7a}=this[_0x1ffd2a(0x1b2)][_0x1ffd2a(0x313)](_0x14073f);if(_0x5ae5b7[_0x1ffd2a(0x40b)]===0x0&&_0x290d7a[_0x1ffd2a(0x40b)]===0x0)return;const _0x5bd4ee=[],_0x49e64b=[];let _0x30d5e9=_0x282385['Tools'][_0x1ffd2a(0x3b5)](_0x66d935['mutations'][0x0]),_0x2496b9=_0x282385[_0x1ffd2a(0x393)][_0x1ffd2a(0x3b5)](_0x66d935[_0x1ffd2a(0x2a3)][0x0]);for(let _0x4ecb1b=_0x5ae5b7[_0x1ffd2a(0x40b)]-0x1;_0x4ecb1b>=0x0;_0x4ecb1b--){const _0x316936={'id':_0x1ffd2a(0x1d4),'params':{'unitId':_0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x3c0)],..._0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x1b0)]}},_0x27d7a2={'id':_0x1ffd2a(0x1d4),'params':{'unitId':_0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x3c0)],..._0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x1d1)]}},_0x50ac6a=this['_transformService'][_0x1ffd2a(0x2f7)](_0x30d5e9,_0x316936,!0x1),_0x57b2f0=this[_0x1ffd2a(0x3f5)][_0x1ffd2a(0x2f7)](_0x2496b9,_0x27d7a2,!0x1);if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x50ac6a))throw _0x50ac6a[_0x1ffd2a(0x397)];if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x57b2f0))throw _0x57b2f0['error'];_0x5bd4ee[_0x1ffd2a(0x1ea)]({..._0x5ae5b7[_0x4ecb1b],'undoState':_0x50ac6a[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)],'redoState':_0x57b2f0[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)]}),_0x30d5e9=_0x50ac6a[_0x1ffd2a(0x30d)],_0x2496b9=_0x57b2f0[_0x1ffd2a(0x30d)];}_0x30d5e9=_0x282385[_0x1ffd2a(0x393)][_0x1ffd2a(0x3b5)](_0x66d935[_0x1ffd2a(0x2a3)][0x0]),_0x2496b9=_0x282385['Tools'][_0x1ffd2a(0x3b5)](_0x66d935['mutations'][0x0]);for(let _0xa22d8c=_0x290d7a[_0x1ffd2a(0x40b)]-0x1;_0xa22d8c>=0x0;_0xa22d8c--){const _0x3aa161={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x290d7a[_0xa22d8c][_0x1ffd2a(0x3c0)],..._0x290d7a[_0xa22d8c][_0x1ffd2a(0x1b0)]}},_0x4daf18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x290d7a[_0xa22d8c][_0x1ffd2a(0x3c0)],..._0x290d7a[_0xa22d8c][_0x1ffd2a(0x1d1)]}},_0x20bc07=this['_transformService'][_0x1ffd2a(0x2f7)](_0x30d5e9,_0x3aa161,!0x1),_0x3fb3b6=this['_transformService'][_0x1ffd2a(0x2f7)](_0x2496b9,_0x4daf18,!0x1);if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x20bc07))throw _0x20bc07[_0x1ffd2a(0x397)];if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x3fb3b6))throw _0x3fb3b6[_0x1ffd2a(0x397)];_0x49e64b[_0x1ffd2a(0x1ea)]({..._0x290d7a[_0xa22d8c],'undoState':_0x20bc07[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)],'redoState':_0x3fb3b6[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)]}),_0x30d5e9=_0x20bc07[_0x1ffd2a(0x30d)],_0x2496b9=_0x3fb3b6['m1Prime'];}this[_0x1ffd2a(0x1b2)][_0x1ffd2a(0x260)](_0x14073f,{'history':_0x5bd4ee,'collaboration':_0x49e64b});}};_0x3d0759=_0x355aef([_0x1944c4(0x0,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x1944c4(0x1,_0x26b52b[_0x33791c(0x2f8)]),_0x1944c4(0x2,_0x282385[_0x33791c(0x1ba)](_0x3eaeba['DocStateChangeManagerService']))],_0x3d0759);var _0x2b72d3=Object[_0x33791c(0x39a)],_0x357099=(_0x3e4c85,_0x43e8a3,_0x5020ae,_0x3e4076)=>{for(var _0x3183f2=_0x3e4076>0x1?void 0x0:_0x3e4076?_0x2b72d3(_0x43e8a3,_0x5020ae):_0x43e8a3,_0xe9ecb6=_0x3e4c85['length']-0x1,_0x17c2de;_0xe9ecb6>=0x0;_0xe9ecb6--)(_0x17c2de=_0x3e4c85[_0xe9ecb6])&&(_0x3183f2=_0x17c2de(_0x3183f2)||_0x3183f2);return _0x3183f2;},_0xc1fd6d=(_0x529d5b,_0xab3b01)=>(_0x8db6b4,_0x573797)=>_0xab3b01(_0x8db6b4,_0x573797,_0x529d5b);let _0x482a98=class{constructor(_0x43a042,_0x46c64f){const _0x30b1e4=_0x33791c;this[_0x30b1e4(0x27a)]=_0x43a042,this[_0x30b1e4(0x3f5)]=_0x46c64f;}[_0x33791c(0x41c)](_0x39d6ce){const _0x266f2e=_0x33791c;var _0x13a189;const _0xc1cc07=this['_injector'][_0x266f2e(0x1c6)](_0x1e6451['DocSelectionManagerService']),_0x1b228f=(_0x13a189=_0xc1cc07[_0x266f2e(0x29d)]())!=null?_0x13a189:[];if(_0x1b228f[_0x266f2e(0x40b)]===0x0)return;const _0x8ef619=_0x39d6ce[_0x266f2e(0x292)],_0x233990=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8ef619,'actions':null,'textRanges':_0x1b228f}}],_0x566386=this[_0x266f2e(0x3f5)][_0x266f2e(0x1bd)](_0x39d6ce,_0x233990);if(!_0x26b52b[_0x266f2e(0x1a7)](_0x566386))throw _0x566386[_0x266f2e(0x397)];const _0x49029d=_0x566386[_0x266f2e(0x3fd)][0x0][_0x266f2e(0x1ae)]['textRanges'];Array['isArray'](_0x49029d)&&_0x49029d[_0x266f2e(0x40b)]&&_0xc1cc07[_0x266f2e(0x322)](_0x49029d,{'unitId':_0x8ef619,'subUnitId':_0x8ef619},!0x1);}};_0x482a98=_0x357099([_0xc1fd6d(0x0,_0x282385[_0x33791c(0x1ba)](_0x282385['Injector'])),_0xc1fd6d(0x1,_0x26b52b['ITransformService'])],_0x482a98);var _0x3608ff=Object[_0x33791c(0x39a)],_0xfecf71=(_0x46f49d,_0x443910,_0x414516,_0x30303c)=>{for(var _0x36a90b=_0x30303c>0x1?void 0x0:_0x30303c?_0x3608ff(_0x443910,_0x414516):_0x443910,_0x2c25d6=_0x46f49d['length']-0x1,_0xa44cd9;_0x2c25d6>=0x0;_0x2c25d6--)(_0xa44cd9=_0x46f49d[_0x2c25d6])&&(_0x36a90b=_0xa44cd9(_0x36a90b)||_0x36a90b);return _0x36a90b;},_0x1a7270=(_0x1d8982,_0x4369c7)=>(_0x5013ca,_0x5b2d5e)=>_0x4369c7(_0x5013ca,_0x5b2d5e,_0x1d8982);let _0x3b7ab7=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x5b4762,_0x5af5b5,_0x234098,_0x3d6ecf,_0xbae311,_0xc1f409,_0x492fb4,_0xeb7df2){const _0x461706=_0x33791c;super(),_0x1bd675(this,'_status$',new _0x46e3a5[(_0x461706(0x2b4))](_0x505f96['CollaborationStatus'][_0x461706(0x291)])),(this['_docStateChangeManagerService']=_0x5b4762,this[_0x461706(0x2d2)]=_0x5af5b5,this['_docTransformIMECacheService']=_0x234098,this['_docTransformStateCacheService']=_0x3d6ecf,this['_docTransformSelectionsService']=_0xbae311,this[_0x461706(0x413)]=_0xc1f409,this[_0x461706(0x1b5)]=_0x492fb4,this[_0x461706(0x3eb)]=_0xeb7df2,this[_0x461706(0x2a8)]());}[_0x33791c(0x2a8)](){const _0x435faf=_0x33791c;this[_0x435faf(0x351)](this[_0x435faf(0x2d2)]['entityInit$']['subscribe'](_0x12217a=>{const _0x9e8e9b=_0x435faf,_0x3c70ff=this[_0x9e8e9b(0x1b2)]['docStateChange$'][_0x9e8e9b(0x338)](_0x23e512=>{const _0x2ea9d2=_0x9e8e9b;if(_0x23e512==null)return;const {unitId:_0x3244bd,redoState:_0x54f737,commandId:_0x2a41b4}=_0x23e512;if(_0x3244bd!==_0x12217a[_0x2ea9d2(0x292)])return;const _0x349e7b={'id':_0x2a41b4,'type':_0x282385[_0x2ea9d2(0x253)][_0x2ea9d2(0x198)],'params':{'unitId':_0x3244bd,'actions':_0x54f737[_0x2ea9d2(0x273)],'textRanges':null}};_0x12217a[_0x2ea9d2(0x277)](_0x349e7b);});if(_0x12217a['disposeWithMe'](_0x3c70ff),_0x12217a instanceof _0x505f96[_0x9e8e9b(0x2dd)]){const _0x26ae85={'onTransformIME':_0xdebb75=>this['_docTransformIMECacheService'][_0x9e8e9b(0x1ab)](_0xdebb75),'onTransformState':_0x5b6874=>this[_0x9e8e9b(0x3c4)][_0x9e8e9b(0x22b)](_0x5b6874),'onTransformSelections':_0x483f26=>this[_0x9e8e9b(0x3a6)][_0x9e8e9b(0x41c)](_0x483f26),'onSyncEditingCollabCursor':_0x5f3702=>this[_0x9e8e9b(0x413)]['syncEditingCollabCursor'](_0x5f3702),'onTransformRemoteChangesetByIMECache':_0x3935bd=>this[_0x9e8e9b(0x1fd)][_0x9e8e9b(0x307)](_0x3935bd),'onTransformRemoteChangesetByStateCache':_0x4b9628=>this[_0x9e8e9b(0x3c4)][_0x9e8e9b(0x307)](_0x4b9628)};_0x12217a[_0x9e8e9b(0x355)](_0x26ae85);}}));}};_0x3b7ab7=_0xfecf71([_0x1a7270(0x0,_0x282385[_0x33791c(0x1ba)](_0x3eaeba[_0x33791c(0x3bb)])),_0x1a7270(0x1,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x3fa)])),_0x1a7270(0x2,_0x282385[_0x33791c(0x1ba)](_0x5668a1)),_0x1a7270(0x3,_0x282385[_0x33791c(0x1ba)](_0x3d0759)),_0x1a7270(0x4,_0x282385['Inject'](_0x482a98)),_0x1a7270(0x5,_0x282385[_0x33791c(0x1ba)](_0x2a8d1a)),_0x1a7270(0x6,_0x31ed4b[_0x33791c(0x3d3)]),_0x1a7270(0x7,_0x282385['Inject'](_0x282385[_0x33791c(0x408)]))],_0x3b7ab7);var _0x2cda07=Object[_0x33791c(0x39a)],_0x205a5c=(_0x1f431f,_0x3ce7d4,_0x5cc350,_0x5f04ad)=>{const _0x12d604=_0x33791c;for(var _0x3c5321=_0x5f04ad>0x1?void 0x0:_0x5f04ad?_0x2cda07(_0x3ce7d4,_0x5cc350):_0x3ce7d4,_0x26067e=_0x1f431f[_0x12d604(0x40b)]-0x1,_0x5083d9;_0x26067e>=0x0;_0x26067e--)(_0x5083d9=_0x1f431f[_0x26067e])&&(_0x3c5321=_0x5083d9(_0x3c5321)||_0x3c5321);return _0x3c5321;},_0x5346b7=(_0x50a6e6,_0x523a29)=>(_0x43dccd,_0x2ae351)=>_0x523a29(_0x43dccd,_0x2ae351,_0x50a6e6);let _0x51c95f=class extends _0x282385['Disposable']{constructor(_0x558bb8,_0x12eed8,_0x6fc242){const _0x3b39cf=_0x33791c;super(),_0x1bd675(this,_0x3b39cf(0x1bc),new Map()),_0x1bd675(this,_0x3b39cf(0x261),new Map()),_0x1bd675(this,_0x3b39cf(0x345),!0x1),(this[_0x3b39cf(0x32d)]=_0x558bb8,this[_0x3b39cf(0x42b)]=_0x12eed8,this[_0x3b39cf(0x353)]=_0x6fc242);}[_0x33791c(0x21c)](){this['_disabled']=!0x0;}[_0x33791c(0x42a)](){this['_disabled']=!0x1;}get[_0x33791c(0x2c0)](){const _0x25b33d=_0x33791c;return this[_0x25b33d(0x261)];}[_0x33791c(0x19d)](){const _0x29f07a=_0x33791c;this[_0x29f07a(0x3f2)]()[_0x29f07a(0x3d6)](()=>super[_0x29f07a(0x19d)]());}async[_0x33791c(0x300)](_0x53df1b){const _0x5458ac=_0x33791c;return this['_disabled']?null:this[_0x5458ac(0x42b)]['getItem'](_0x505f96[_0x5458ac(0x217)](_0x53df1b));}async[_0x33791c(0x302)](_0x32563f,_0x27e43c){const _0x15877f=_0x33791c;return!!this[_0x15877f(0x42b)][_0x15877f(0x283)](_0x32563f,_0x27e43c);}['updateOfflineData'](_0x37a3dc,_0x54aa88,_0x3faf29,_0x8caee1){const _0x174a3c=_0x33791c,_0x5dc241=this[_0x174a3c(0x353)][_0x174a3c(0x318)](_0x37a3dc);this[_0x174a3c(0x1bc)][_0x174a3c(0x38d)](_0x37a3dc,{'unitID':_0x37a3dc,'type':_0x54aa88,'awaitingChangeset':_0x3faf29,'mutations':_0x8caee1,'rev':_0x5dc241}),this[_0x174a3c(0x261)][_0x174a3c(0x386)](_0x37a3dc)||this[_0x174a3c(0x366)](_0x37a3dc);}['_scheduleSaving'](_0x4d0723){const _0x4ff37b=_0x33791c,_0x24235d=this['_getSaveTimeout']();_0x24235d===0x0?this[_0x4ff37b(0x32a)](_0x4d0723):this['_saveTaskMap'][_0x4ff37b(0x38d)](_0x4d0723,setTimeout(()=>this[_0x4ff37b(0x32a)](_0x4d0723),_0x24235d));}['_getSaveTimeout'](){const _0x32b23c=_0x33791c;var _0xfa2cff;return(_0xfa2cff=this[_0x32b23c(0x32d)]['getConfig'](_0x505f96['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xfa2cff:_0x505f96[_0x32b23c(0x27c)];}['_saveCache'](_0x4b870c){const _0x1abda1=_0x33791c,_0x2e47c5=this['_saveTaskMap'][_0x1abda1(0x1c6)](_0x4b870c);return _0x2e47c5!==void 0x0&&window['clearTimeout'](_0x2e47c5),this['_localStorageService']['setItem'](_0x505f96[_0x1abda1(0x217)](_0x4b870c),this[_0x1abda1(0x1bc)]['get'](_0x4b870c))['then'](()=>this[_0x1abda1(0x261)]['delete'](_0x4b870c));}async[_0x33791c(0x3f2)](){const _0x36cbc2=_0x33791c,_0x26f717=[];this[_0x36cbc2(0x261)][_0x36cbc2(0x3ee)]((_0x3934a1,_0xab721a)=>{const _0x49f9f8=_0x36cbc2;window['clearTimeout'](_0x3934a1),_0x26f717['push'](this[_0x49f9f8(0x32a)](_0xab721a)[_0x49f9f8(0x3d6)](()=>{this['_saveTaskMap']['delete'](_0xab721a);}));}),await Promise[_0x36cbc2(0x36f)](_0x26f717);}};_0x51c95f=_0x205a5c([_0x5346b7(0x0,_0x282385[_0x33791c(0x2a2)]),_0x5346b7(0x1,_0x282385[_0x33791c(0x2a9)]),_0x5346b7(0x2,_0x282385[_0x33791c(0x1ba)](_0x26b52b[_0x33791c(0x411)]))],_0x51c95f);class _0x45f517 extends _0x282385['RxDisposable']{constructor(){const _0x400178=_0x33791c;super(),_0x1bd675(this,_0x400178(0x3ab)),this[_0x400178(0x3ab)]=_0x46e3a5[_0x400178(0x36a)](window,_0x400178(0x2cb))[_0x400178(0x36d)](_0x46e3a5[_0x400178(0x2af)](this[_0x400178(0x221)]),_0x46e3a5['shareReplay'](0x1),_0x46e3a5['mapTo'](void 0x0));}[_0x33791c(0x20c)](_0x58fa7d,_0x1441d9,_0x2a204e=!0x1){const _0x3a9c23=_0x33791c,_0x49a42a=new URL(window[_0x3a9c23(0x225)]['href']);_0x49a42a[_0x3a9c23(0x2b2)][_0x3a9c23(0x38d)](_0x58fa7d,_0x1441d9),_0x2a204e?window['history'][_0x3a9c23(0x235)]('','',_0x49a42a[_0x3a9c23(0x3c1)]()):window[_0x3a9c23(0x3ba)][_0x3a9c23(0x1e3)]('','',_0x49a42a[_0x3a9c23(0x3c1)]());}[_0x33791c(0x29e)](_0x237a11,_0x1ead7f=!0x1){const _0x3a3a4c=_0x33791c,_0x2c2e6e=new URL(window[_0x3a3a4c(0x225)][_0x3a3a4c(0x399)]);_0x2c2e6e[_0x3a3a4c(0x2b2)]['delete'](_0x237a11),_0x1ead7f?window[_0x3a3a4c(0x3ba)][_0x3a3a4c(0x235)]('','',_0x2c2e6e[_0x3a3a4c(0x3c1)]()):window['history'][_0x3a3a4c(0x1e3)]('','',_0x2c2e6e[_0x3a3a4c(0x3c1)]());}[_0x33791c(0x31e)](_0x3572e4){const _0x17a744=_0x33791c;var _0x4b302d;return(_0x4b302d=new URL(window[_0x17a744(0x225)][_0x17a744(0x399)])[_0x17a744(0x2b2)]['get'](_0x3572e4))!=null?_0x4b302d:void 0x0;}}var _0x1e83dc=Object[_0x33791c(0x435)],_0x27c05a=Object[_0x33791c(0x39a)],_0x2fb6ff=(_0x234489,_0x2fafa6,_0x3c2102)=>_0x2fafa6 in _0x234489?_0x1e83dc(_0x234489,_0x2fafa6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c2102}):_0x234489[_0x2fafa6]=_0x3c2102,_0x13202a=(_0x2a2022,_0x44ff2d,_0x4b0824,_0x59f12b)=>{for(var _0x2216bc=_0x59f12b>0x1?void 0x0:_0x59f12b?_0x27c05a(_0x44ff2d,_0x4b0824):_0x44ff2d,_0x5a1301=_0x2a2022['length']-0x1,_0x53de99;_0x5a1301>=0x0;_0x5a1301--)(_0x53de99=_0x2a2022[_0x5a1301])&&(_0x2216bc=_0x53de99(_0x2216bc)||_0x2216bc);return _0x2216bc;},_0x50234d=(_0x49299f,_0x310791)=>(_0x570c0b,_0xc45d96)=>_0x310791(_0x570c0b,_0xc45d96,_0x49299f),_0x154c75=(_0x36ac49,_0x2e023b,_0x747da0)=>_0x2fb6ff(_0x36ac49,_0x2e023b+'',_0x747da0);const _0x140ea3=_0x33791c(0x22a);_0x10df8c[_0x33791c(0x200)]=class extends _0x282385[_0x33791c(0x24a)]{constructor(_0x1679bd=_0x4de44c,_0x557283,_0x53530d,_0x16d6d7){const _0x3f9724=_0x33791c;super(),this[_0x3f9724(0x3f4)]=_0x1679bd,this['_renderManagerService']=_0x557283,this[_0x3f9724(0x27a)]=_0x53530d,this[_0x3f9724(0x32d)]=_0x16d6d7;const {..._0x3439cb}=_0x282385[_0x3f9724(0x232)]({},_0x4de44c,this[_0x3f9724(0x3f4)]);this['_configService'][_0x3f9724(0x3b4)](_0x32c724,_0x3439cb);}['onStarting'](){const _0x50ad7b=_0x33791c;this['_registerDependencies'](),this[_0x50ad7b(0x3c7)]();}[_0x33791c(0x268)](){const _0x2e0449=_0x33791c;this[_0x2e0449(0x1d6)]();}['_registerDependencies'](){const _0x4fa42d=_0x33791c;var _0xde99b3;const _0x3ba212=[[_0x3baabc],[_0x482a98],[_0x5668a1],[_0x3d0759],[_0x2a8d1a],[_0x529b68,{'useClass':_0x45f517}],[_0x23f55f[_0x4fa42d(0x220)],{'useClass':_0x23f55f[_0x4fa42d(0x42d)]}],[_0x505f96[_0x4fa42d(0x3ad)],{'useClass':_0x51c95f}],[_0x10df8c['DesktopCollaborationStatusDisplayController']],[_0x3b7ab7],[_0x59da73],[_0x435660],[_0x58afcc],[_0x10df8c[_0x4fa42d(0x392)]]];_0x282385[_0x4fa42d(0x343)](this[_0x4fa42d(0x27a)],_0x282385[_0x4fa42d(0x1da)](_0x3ba212,(_0xde99b3=this[_0x4fa42d(0x3f4)])==null?void 0x0:_0xde99b3[_0x4fa42d(0x405)]));}[_0x33791c(0x1d6)](){const _0x43d31c=_0x33791c;this[_0x43d31c(0x351)](this['_renderManagerService'][_0x43d31c(0x2a6)](_0x282385[_0x43d31c(0x356)][_0x43d31c(0x373)],[_0x3806b7])),this[_0x43d31c(0x351)](this[_0x43d31c(0x1fa)][_0x43d31c(0x2a6)](_0x282385[_0x43d31c(0x356)]['UNIVER_SHEET'],[_0x393398]));}[_0x33791c(0x3c7)](){const _0x4c1286=_0x33791c;_0x282385['touchDependencies'](this[_0x4c1286(0x27a)],[[_0x435660],[_0x10df8c[_0x4c1286(0x1cc)]],[_0x3b7ab7],[_0x59da73],[_0x10df8c[_0x4c1286(0x392)]]]);}},_0x154c75(_0x10df8c[_0x33791c(0x200)],_0x33791c(0x394),_0x140ea3),_0x10df8c[_0x33791c(0x200)]=_0x13202a([_0x282385[_0x33791c(0x33a)](_0x505f96[_0x33791c(0x28c)]),_0x50234d(0x1,_0x4366ed[_0x33791c(0x423)]),_0x50234d(0x2,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x50234d(0x3,_0x282385[_0x33791c(0x2a2)])],_0x10df8c[_0x33791c(0x200)]);var _0x26d35f=Object[_0x33791c(0x39a)],_0x54eb9e=(_0x8e4fa2,_0xdddcbb,_0x44f9d4,_0x1f977f)=>{const _0x46157c=_0x33791c;for(var _0xe60485=_0x1f977f>0x1?void 0x0:_0x1f977f?_0x26d35f(_0xdddcbb,_0x44f9d4):_0xdddcbb,_0x26a78c=_0x8e4fa2[_0x46157c(0x40b)]-0x1,_0x38b1a9;_0x26a78c>=0x0;_0x26a78c--)(_0x38b1a9=_0x8e4fa2[_0x26a78c])&&(_0xe60485=_0x38b1a9(_0xe60485)||_0xe60485);return _0xe60485;},_0x1f4997=(_0xbeb81c,_0x425f64)=>(_0xb7b02b,_0x25af4c)=>_0x425f64(_0xb7b02b,_0x25af4c,_0xbeb81c);_0x10df8c[_0x33791c(0x2bf)]=class extends _0x505f96[_0x33791c(0x1e7)]{constructor(_0x311702,_0x36dfee,_0x5a8dd7,_0x236adf,_0x5b9ff6){super(_0x311702,_0x36dfee,_0x5a8dd7,_0x236adf,_0x5b9ff6);}async['createSocket'](_0x12bd7a){const _0x3c814a=_0x33791c,_0x5c968f=await this['_getSessionTicket'](),_0x298c9c=this[_0x3c814a(0x387)](_0x12bd7a,_0x5c968f);return this[_0x3c814a(0x422)](_0x298c9c);}['_createSocketURL'](_0x4cfff6,_0xbf5aa4){const _0x2ea631=_0x33791c,_0x8d07b5=typeof window>'u'?new URL(_0x4cfff6):new URL(_0x4cfff6,window['location'][_0x2ea631(0x409)]);_0x8d07b5[_0x2ea631(0x2b2)][_0x2ea631(0x38d)](_0x2ea631(0x331),_0xbf5aa4);const _0x5bae76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ea631(0x225)][_0x2ea631(0x301)]);return _0x5bae76[_0x2ea631(0x1c6)]('runId')&&_0x8d07b5[_0x2ea631(0x2b2)]['set']('runId',_0x5bae76[_0x2ea631(0x1c6)](_0x2ea631(0x3dc))),_0x8d07b5[_0x2ea631(0x3c1)]();}async['_getSessionTicket'](){const _0x32cff6=_0x33791c;var _0x26c013,_0x1ae2cd,_0x38f331;const _0x872c65=this[_0x32cff6(0x32d)][_0x32cff6(0x29a)](_0x505f96[_0x32cff6(0x3d0)]),_0x5299c8=(_0x26c013=_0x872c65==null?void 0x0:_0x872c65[_0x32cff6(0x216)])!=null?_0x26c013:_0x505f96[_0x32cff6(0x3a4)];return(_0x38f331=(_0x1ae2cd=(await this['_httpService']['get'](_0x5299c8,{'headers':{'Content-Type':_0x32cff6(0x2e9)}}))[_0x32cff6(0x35a)])==null?void 0x0:_0x1ae2cd[_0x32cff6(0x2fc)])!=null?_0x38f331:'';}},_0x10df8c[_0x33791c(0x2bf)]=_0x54eb9e([_0x1f4997(0x0,_0x282385['Inject'](_0x282385[_0x33791c(0x428)])),_0x1f4997(0x1,_0x282385['Inject'](_0x23f55f[_0x33791c(0x415)])),_0x1f4997(0x2,_0x282385[_0x33791c(0x2a2)]),_0x1f4997(0x3,_0x282385[_0x33791c(0x1ad)]),_0x1f4997(0x4,_0x26b52b[_0x33791c(0x271)])],_0x10df8c[_0x33791c(0x2bf)]);var _0x26e417=(_0x5ed128=>(_0x5ed128[_0x5ed128[_0x33791c(0x3a7)]=0x0]=_0x33791c(0x3a7),_0x5ed128[_0x5ed128['OK']=0x1]='OK',_0x5ed128[_0x5ed128[_0x33791c(0x3b2)]=0x2]=_0x33791c(0x3b2),_0x5ed128[_0x5ed128[_0x33791c(0x395)]=0x3]=_0x33791c(0x395),_0x5ed128[_0x5ed128[_0x33791c(0x219)]=0x4]='NOT_FOUND',_0x5ed128[_0x5ed128[_0x33791c(0x2fe)]=0x5]=_0x33791c(0x2fe),_0x5ed128[_0x5ed128['ALREADY_EXISTS']=0x6]=_0x33791c(0x1d8),_0x5ed128[_0x5ed128[_0x33791c(0x1ef)]=0x7]=_0x33791c(0x1ef),_0x5ed128[_0x5ed128[_0x33791c(0x27f)]=0x8]=_0x33791c(0x27f),_0x5ed128[_0x5ed128[_0x33791c(0x438)]=0x9]=_0x33791c(0x438),_0x5ed128[_0x5ed128[_0x33791c(0x337)]=0xa]=_0x33791c(0x337),_0x5ed128[_0x5ed128[_0x33791c(0x340)]=0xb]=_0x33791c(0x340),_0x5ed128[_0x5ed128['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5ed128[_0x5ed128[_0x33791c(0x242)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5ed128[_0x5ed128[_0x33791c(0x24b)]=0xe]=_0x33791c(0x24b),_0x5ed128[_0x5ed128[_0x33791c(0x2aa)]=0x1389]=_0x33791c(0x2aa),_0x5ed128[_0x5ed128['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x33791c(0x1aa),_0x5ed128[_0x5ed128[_0x33791c(0x3e7)]=0x1772]=_0x33791c(0x3e7),_0x5ed128[_0x5ed128['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x33791c(0x2ab),_0x5ed128[_0x5ed128[_0x33791c(0x1a1)]=0x1b59]='APPLY_REJECT',_0x5ed128[_0x5ed128[_0x33791c(0x31d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5ed128[_0x5ed128[_0x33791c(0x3d5)]=0x1b5b]=_0x33791c(0x3d5),_0x5ed128[_0x5ed128[_0x33791c(0x24c)]=0x1b5c]=_0x33791c(0x24c),_0x5ed128[_0x5ed128[_0x33791c(0x19c)]=0x1b5d]='APPLY_DUPLICATED',_0x5ed128[_0x5ed128[_0x33791c(0x1e5)]=0x1f41]=_0x33791c(0x1e5),_0x5ed128[_0x5ed128[_0x33791c(0x42e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x325)]=0x232a]=_0x33791c(0x325),_0x5ed128[_0x5ed128[_0x33791c(0x324)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x1d7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x33f)]=0x232d]=_0x33791c(0x33f),_0x5ed128[_0x5ed128[_0x33791c(0x380)]=0x2711]=_0x33791c(0x380),_0x5ed128[_0x5ed128['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5ed128[_0x5ed128['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x33791c(0x361),_0x5ed128[_0x5ed128['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x33791c(0x390),_0x5ed128[_0x5ed128[_0x33791c(0x32c)]=0x271a]=_0x33791c(0x32c),_0x5ed128[_0x5ed128[_0x33791c(0x3b9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5ed128[_0x5ed128['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5ed128[_0x5ed128[_0x33791c(0x24e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5ed128[_0x5ed128[_0x33791c(0x267)]=0x271e]=_0x33791c(0x267),_0x5ed128[_0x5ed128[_0x33791c(0x3b6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5ed128[_0x5ed128[_0x33791c(0x2bb)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5ed128[_0x5ed128[_0x33791c(0x25f)]=0x2af9]=_0x33791c(0x25f),_0x5ed128[_0x5ed128['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x33791c(0x3af),_0x5ed128[_0x5ed128[_0x33791c(0x1af)]=0x2ee2]='INVALID_INVITE_CODE',_0x5ed128[_0x5ed128[_0x33791c(0x310)]=0x2ee3]=_0x33791c(0x310),_0x5ed128[_0x5ed128[_0x33791c(0x384)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5ed128[_0x5ed128[_0x33791c(0x3a0)]=0x2ee5]=_0x33791c(0x3a0),_0x5ed128[_0x5ed128[_0x33791c(0x429)]=0x32c9]=_0x33791c(0x429),_0x5ed128[_0x5ed128[_0x33791c(0x2fd)]=0x32ca]=_0x33791c(0x2fd),_0x5ed128[_0x5ed128[_0x33791c(0x2de)]=0x32cb]=_0x33791c(0x2de),_0x5ed128[_0x5ed128[_0x33791c(0x3c6)]=-0x1]=_0x33791c(0x3c6),_0x5ed128))(_0x26e417||{}),_0x1355ef=Object['getOwnPropertyDescriptor'],_0x42b0c9=(_0x391b93,_0x1ff1e2,_0xfac946,_0x429a9a)=>{const _0x4bf406=_0x33791c;for(var _0x263979=_0x429a9a>0x1?void 0x0:_0x429a9a?_0x1355ef(_0x1ff1e2,_0xfac946):_0x1ff1e2,_0x36fafb=_0x391b93[_0x4bf406(0x40b)]-0x1,_0x54a2f3;_0x36fafb>=0x0;_0x36fafb--)(_0x54a2f3=_0x391b93[_0x36fafb])&&(_0x263979=_0x54a2f3(_0x263979)||_0x263979);return _0x263979;},_0x226234=(_0x7e0ca8,_0x227d3d)=>(_0x1bd003,_0x3a552d)=>_0x227d3d(_0x1bd003,_0x3a552d,_0x7e0ca8);_0x10df8c[_0x33791c(0x40e)]=class extends _0x282385['Disposable']{constructor(_0x186264,_0x17a63c,_0x434ef9){const _0x337896=_0x33791c;super(),this['_instanceService']=_0x186264,this[_0x337896(0x30c)]=_0x17a63c,this[_0x337896(0x32d)]=_0x434ef9;}async[_0x33791c(0x2a1)](_0x7eb5d4,_0x3b9bdd,_0x591b41,..._0x5c52f6){const _0x3eddc9=_0x33791c;var _0x5f09fb,_0x2fc1c8,_0x39018c,_0x319321;const _0x535026=this['_instanceService'][_0x3eddc9(0x1e6)]();if(!_0x535026)throw new Error(_0x3eddc9(0x2d7));const _0x518925=((_0x5f09fb=this[_0x3eddc9(0x32d)][_0x3eddc9(0x29a)](_0x505f96['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5f09fb:_0x505f96[_0x3eddc9(0x304)])+'/'+_0x7eb5d4+_0x3eddc9(0x336)+_0x3b9bdd,_0x44c61f=new URL(window[_0x3eddc9(0x225)][_0x3eddc9(0x399)]),_0x1e41cd={'scriptId':_0x7eb5d4,'runId':(_0x2fc1c8=_0x44c61f[_0x3eddc9(0x2b2)][_0x3eddc9(0x1c6)](_0x3eddc9(0x3dc)))!=null?_0x2fc1c8:'','function':_0x3b9bdd,'unitId':_0x535026[_0x3eddc9(0x354)](),'argsOfFunction':JSON[_0x3eddc9(0x1fc)](_0x5c52f6),'invokeId':(_0x39018c=_0x591b41['invokeId'])!=null?_0x39018c:'','executionId':(_0x319321=_0x591b41['executionId'])!=null?_0x319321:''};try{const _0xfce785=await this[_0x3eddc9(0x30c)][_0x3eddc9(0x2db)](_0x518925,{'body':_0x1e41cd});return _0xfce785['body'][_0x3eddc9(0x397)]&&_0xfce785[_0x3eddc9(0x35a)][_0x3eddc9(0x397)][_0x3eddc9(0x27b)]!==_0x26e417['OK']?'Failed':_0xfce785[_0x3eddc9(0x35a)]['result'];}catch{return _0x3eddc9(0x371);}}},_0x10df8c['RemoteUniscriptService']=_0x42b0c9([_0x226234(0x0,_0x282385[_0x33791c(0x2d5)]),_0x226234(0x1,_0x282385[_0x33791c(0x1ba)](_0x23f55f[_0x33791c(0x415)])),_0x226234(0x2,_0x282385[_0x33791c(0x2a2)])],_0x10df8c['RemoteUniscriptService']);const _0x55a755=0x7530,_0x8b46d5=_0x33791c(0x299);class _0x5d31c9 extends _0x282385[_0x33791c(0x34b)]{constructor(){const _0x8c7e85=_0x33791c;super(),_0x1bd675(this,_0x8c7e85(0x2cd),_0x282385[_0x8c7e85(0x2f6)]()),_0x1bd675(this,'_selfUnitIDs',new Set()),_0x1bd675(this,_0x8c7e85(0x237),new Map()),_0x1bd675(this,_0x8c7e85(0x1b8),null),_0x1bd675(this,_0x8c7e85(0x230),new Map()),_0x1bd675(this,_0x8c7e85(0x376),new Map()),this[_0x8c7e85(0x41f)]();}['dispose'](){const _0xbb8b1b=_0x33791c;super[_0xbb8b1b(0x19d)](),this[_0xbb8b1b(0x230)][_0xbb8b1b(0x3ee)]((_0x4af50b,_0x28e575)=>this[_0xbb8b1b(0x40c)](_0x28e575)),this['_heartbeatTimer']&&window[_0xbb8b1b(0x251)](this['_heartbeatTimer']);}[_0x33791c(0x3c8)](_0x3631c1){const _0x374e32=_0x33791c;return this[_0x374e32(0x2dc)](_0x3631c1)[_0x374e32(0x36d)](_0x46e3a5[_0x374e32(0x1b6)]());}[_0x33791c(0x398)](_0x526a87){const _0x564ac8=_0x33791c;this[_0x564ac8(0x19b)][_0x564ac8(0x2c7)]===0x0&&this[_0x564ac8(0x1f1)](),this['_selfUnitIDs']['add'](_0x526a87),this['_send']({'type':0x0,'memberID':this[_0x564ac8(0x2cd)],'unitIDs':[_0x526a87],'isForwarded':!0x1});}['disposeUnit'](_0x5bd51f){const _0x58899e=_0x33791c;this['_selfUnitIDs'][_0x58899e(0x2c1)](_0x5bd51f),this[_0x58899e(0x19b)][_0x58899e(0x2c7)]===0x0&&this[_0x58899e(0x1b8)]&&window[_0x58899e(0x251)](this[_0x58899e(0x1b8)]);}['_init'](){const _0x56bbf8=_0x33791c;this[_0x56bbf8(0x351)](_0x282385['toDisposable'](_0x46e3a5[_0x56bbf8(0x36a)](window,'storage')['subscribe'](_0x594320=>{const _0x358bde=_0x56bbf8;if(_0x594320[_0x358bde(0x420)]!==_0x8b46d5||!_0x594320[_0x358bde(0x255)])return;const _0x1b1588=JSON[_0x358bde(0x2ca)](_0x594320[_0x358bde(0x255)]);this[_0x358bde(0x246)](_0x1b1588);}))),window['addEventListener']('unload',()=>this[_0x56bbf8(0x269)]({'type':0x1,'memberID':this[_0x56bbf8(0x2cd)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x916b6c){const _0x1c60fd=_0x33791c;switch(_0x916b6c[_0x1c60fd(0x3f8)]){case 0x0:this['_handleJoinEvent'](_0x916b6c);break;case 0x1:this['_handleLeaveEvent'](_0x916b6c);break;case 0x2:this['_handleHeartbeatEvent'](_0x916b6c);break;}}[_0x33791c(0x33e)](_0x1f2efb){const _0x216062=_0x33791c,{unitIDs:_0x49c2fc,memberID:_0x46a458,isForwarded:_0x5a70f8}=_0x1f2efb;_0x49c2fc[_0x216062(0x3ee)](_0x53cf1a=>{const _0x43baa0=_0x216062;if(!_0x5a70f8&&this['_unitOnClients'][_0x43baa0(0x386)](_0x53cf1a)&&this[_0x43baa0(0x2dc)](_0x53cf1a)[_0x43baa0(0x3cf)](_0x505f96['UnitStatus'][_0x43baa0(0x3ff)]),!this[_0x43baa0(0x237)][_0x43baa0(0x386)](_0x53cf1a)||!this[_0x43baa0(0x237)][_0x43baa0(0x1c6)](_0x53cf1a)[_0x43baa0(0x386)](_0x46a458)){const _0x47c41d=this[_0x43baa0(0x237)][_0x43baa0(0x1c6)](_0x53cf1a)||new Set();_0x47c41d[_0x43baa0(0x3ea)](_0x46a458),this[_0x43baa0(0x237)][_0x43baa0(0x38d)](_0x53cf1a,_0x47c41d),this['_scheduleClearOtherTimer'](_0x46a458);}}),_0x5a70f8||this[_0x216062(0x269)]({'type':0x0,'memberID':this[_0x216062(0x2cd)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x29d55c){const _0x672562=_0x33791c;this['_removeClearOtherTimer'](_0x29d55c);const _0x47641a=window[_0x672562(0x25e)](()=>{const _0xeeae54=_0x672562;this['_unitOnClients'][_0xeeae54(0x3ee)](_0x39e38a=>{const _0x40ea03=_0xeeae54;_0x39e38a[_0x40ea03(0x2c1)](_0x29d55c);});},_0x55a755*0x2);this[_0x672562(0x230)][_0x672562(0x38d)](_0x29d55c,_0x47641a);}[_0x33791c(0x40c)](_0x59f6cd){const _0x4886ff=_0x33791c;if(this['_clearOtherTimers'][_0x4886ff(0x386)](_0x59f6cd)){const _0x1e29d8=this[_0x4886ff(0x230)][_0x4886ff(0x1c6)](_0x59f6cd);_0x1e29d8&&window['clearTimeout'](_0x1e29d8),this[_0x4886ff(0x230)][_0x4886ff(0x38d)](_0x59f6cd,null);}}[_0x33791c(0x3da)](_0x47befa){const _0x5b0a75=_0x33791c,{memberID:_0x5825d7,unitIDs:_0x39eb98}=_0x47befa;_0x39eb98[_0x5b0a75(0x3ee)](_0x1e94ac=>{const _0x4cd68d=_0x5b0a75;var _0x85868;const _0x24ca51=this['_unitOnClients']['get'](_0x1e94ac);_0x24ca51&&(_0x24ca51[_0x4cd68d(0x2c1)](_0x5825d7),(_0x85868=this[_0x4cd68d(0x2dc)](_0x1e94ac))==null||_0x85868[_0x4cd68d(0x3cf)](_0x24ca51['size']===0x0?_0x505f96[_0x4cd68d(0x2bc)]['NO_OTHER_CLIENTS_EDITING']:_0x505f96['UnitStatus'][_0x4cd68d(0x3ff)]));}),this[_0x5b0a75(0x40c)](_0x5825d7);}[_0x33791c(0x1ca)](_0x30d58d){const _0x5322e0=_0x33791c;this[_0x5322e0(0x257)](_0x30d58d[_0x5322e0(0x279)]);}['_send'](_0x526861){const _0x4401d6=_0x33791c;localStorage['setItem'](_0x8b46d5,JSON[_0x4401d6(0x1fc)](_0x526861));}[_0x33791c(0x1f1)](){const _0x567498=_0x33791c;this['_heartbeatTimer']=window[_0x567498(0x30f)](()=>{const _0x132f22=_0x567498;this[_0x132f22(0x269)]({'type':0x2,'memberID':this[_0x132f22(0x2cd)]});},_0x55a755);}['_ensureSubject'](_0x3b54f2){const _0x3789f=_0x33791c;return this[_0x3789f(0x376)][_0x3789f(0x386)](_0x3b54f2)||this[_0x3789f(0x376)]['set'](_0x3b54f2,new _0x46e3a5[(_0x3789f(0x2b4))](_0x505f96[_0x3789f(0x2bc)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3789f(0x376)][_0x3789f(0x1c6)](_0x3b54f2);}}_0x10df8c[_0x33791c(0x424)]=_0x529b68,_0x10df8c[_0x33791c(0x21d)]=_0x14c1a5,_0x10df8c[_0x33791c(0x341)]=_0x5d31c9,_0x10df8c[_0x33791c(0x1f6)]=_0x45f517,Object[_0x33791c(0x435)](_0x10df8c,Symbol[_0x33791c(0x23a)],{'value':_0x33791c(0x3dd)});}));function _0x1875(_0x1395da,_0xd2fbda){const _0xb41b84=_0xb41b();return _0x1875=function(_0x18752c,_0x13c513){_0x18752c=_0x18752c-0x197;let _0x513321=_0xb41b84[_0x18752c];return _0x513321;},_0x1875(_0x1395da,_0xd2fbda);}function _0xb41b(){const _0x577d8d=['LICENSE_IMPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','white','@univerjs/engine-render','fillStyle','createIdentifier','_saveCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_NO_CUBOID_FOR_QUESTION','_configService','_themeService','labelPosition','cursorInfo$','sessionTicket','serializeRangeWithSheet','endRow','row','connectInjector','/run/','LOGIN_FAILED','subscribe','_collaborationUIEventService','DependentOn','_onCursorDelete','closePath','clsx','_handleJoinEvent','LICENSE_DISTRO_REJECTED','MOBILE_VERIFY_CODE_MISMATCH','WebBrowserSingleActiveUnitService','ColorKit','registerDependencies','AWAITING','_disabled','subunit','RefRangeService','IImageIoService','drawWith','triggerDblclick','Disposable','hide','RECT','collabStatus.notCollab','assign','getOwnPropertySymbols','disposeWithMe','IUIPartsService','_revisionService','getUnitId','addHandlerCallback','UniverInstanceType','moveTo','1015gXcrPI','univer-flex\x20univer-items-center','body','_updateCollabCursors','Rect','jiqing.500','_cursorShapes','red.300','init','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','path','TEXT_RANGE_LAYER_INDEX','none','_scheduleSaving','SessionStatus','call','_assignedColors','fromEvent','UniverProCollaborationClientUi','jsxs','pipe','reconnect','all','_updateLocalCursor','Failed','addObject','UNIVER_DOC','OnLineIcon','createInstance','_unitStatus','forwardRef','OFFLINE','send','find','_lastPointer','color','_eventUnsubscribe','getOffsetConfig','uni.network.url-service','YUUMI_UNABLE_LOAD_URL','session.collaboration-timeout','includes','getMergeData','USER_NOT_INVITED_CODE','trim','has','_createSocketURL','handleMoveRange','string','_updateSubUnitFromURLParams','url(#$1','debug','set','OTHER_CLIENT_EDITING','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabEntity$','CollaborationDataLoaderController','Tools','pluginName','PERMISSION_DENIED','prototype','error','editingUnit','href','getOwnPropertyDescriptor','switchMap','url(#on-line-icon_clip0_910_349)','_colorIndex','displayName','icon','INVITE_CODE_ALREADY_BOUND','JOIN_ROOM_FAILED','_entityInit$','_docSkeletonManagerService','DEFAULT_WS_SESSION_TICKET_URL','http://www.w3.org/2000/svg','_docTransformSelectionsService','UNDEFINED','_transformHistoryAndStateStack','useRef','save','urlChange$','_sheetSkeletonManagerService','ILocalCacheService','DocIMEInputManagerService','INVITE_CODE_HAS_BEEN_UES','handleIRemoveCol','data','INTERNAL_ERROR','NodePositionConvertToCursor','setConfig','deepClone','YUUMI_AI_RUN_FAILED','_dataLoaderService','div','YUUMI_ASYNCIO_CANCELLED','history','DocStateChangeManagerService','min','_entities','collabStatus.offline','75824zwtuKk','unitId','toString','useDependency','random','_docTransformStateCacheService','collaboration.closeRoom','UNRECOGNIZED','_initDependencies','getUnitStatus$','requireSession','setAlpha','handleInsertRow','saveImage','UniverNetwork','getUniverSheetInstance','next','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setShapeProps','_initStatusComponent','IMessageService','_getScale','APPLY_REVISION_CONFILICT','then','3475070NoaRmk','SetSelectionsOperation','cursorInfo','_handleLeaveEvent','_drawRectRange','runId','Module','map','SOCKET_FAILED_RETRY','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','@univerjs/docs-ui','mask','asObservable','_render','text','EffectRefRangId','SNAPSHOT_HAS_BEEN_REMOVED','idSuffix','_notificationService','add','_localeService','_removeCollabCursors','Vector2','forEach','_getAnchorBounding','sheetId','split','exhaustSavingTask','SUBMIT_CHANGESET_TIMEOUT','_config','_transformService','getColorFromTheme','9WcUGbx','type','handleDeleteRangeMoveLeft','CollaborationController','_anchor','values','m2Prime','_syncEditingCollabCursorService','OTHER_CLIENTS_EDITING','permission.title','width','handleIRemoveRow','addObjects','round','override','collabStatus.conflict','Subject','LocaleService','origin','InsertRangeMoveRightCommandId','length','_removeClearOtherTimer','MemberService','RemoteUniscriptService','assignAColorForMemberID','_draw','RevisionService','with','_docSyncEditingCollabCursorService','CollaborationEvent','HTTPService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SetDocZoomRatioOperation','height','fromEventSubject','getTypeOfUnitDisposed$','TEXT','transformSelections','session.connection-failed','on-line-icon_clip0_910_349','_init','key','CollaborationStatus','_doCreateSocket','IRenderManagerService','IURLService','translate(.97)','UPDATE_CURSOR','_collabSessionService','Injector','WECHAT_HAS_BEEN_BOUND','enableLocalCache','_localStorageService','selections','WebSocketService','LICENSE_MAX_UNITS_EXCEEDED','rxjs/operators','TRANSFORM_CHANGE_OBSERVABLE_TYPE','FETCH_MISS','Rectangle','IRemoteInstanceService','toDisposable','defineProperty','hovered','source','COMPLETION_FINISHED','defs','InsertRangeMoveDownCommandId','AWAITING_WITH_PENDING','RichTextEditingMutation','_scene','MUTATION','COLORS','getCollabCursors$','_selfUnitIDs','APPLY_DUPLICATED','dispose','getSheetObject','VIEW_MAIN','_setupBeforeClosingHandler','APPLY_REJECT','executeCommand','activeSheet$','SetWorksheetActivateCommand','_getMergeRange','getAncestorScale','isTransformMutationsWithChangesetSuccess','combineLatest','debounce','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','Shape','ILogService','params','INVALID_INVITE_CODE','undoState','SheetSkeletonManagerService','_docStateChangeManagerService','DocSelectionManagerService','UniverRpc','_messageService','distinctUntilChanged','bottom','_heartbeatTimer','_toggleOffline','Inject','0\x200\x2016\x2016','_cachedData','transformMutationsWithChangeset','propertyIsEnumerable','handleInsertRangeMoveDown','indexOf','current','UniverCore','onPointerLeave$','push','SetTextSelectionsOperation','get','getSkeleton','univerjs-icon\x20univerjs-icon-','onPointerMove$','_handleHeartbeatEvent','deserializeRangeWithSheet','DesktopCollaborationStatusDisplayController','1451866XWKlnB','currentTheme$','range','RxDisposable','redoState','show','className','doc.mutation.rich-text-editing','_handleHover','_registerRenderDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','ALREADY_EXISTS','isActive','mergeOverrideWithDependencies','column','1em','_initEvent','_refreshCollabCursors','rgba(255,\x20255,\x20255,\x200.01)','react/jsx-runtime','off-line-icon_clip0_910_343','_initCommandExecutedListener','pushState','_uiPartsService','CONNECTOR_DATA_TOO_LARGE','getFocusedUnit','CollaborationSocketService','_toggleOnline','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unshift','@univerjs/core','getRenderById','_labelPosition','whenReady','INVALID_ARGUMENT','_onRefRangeChange','_scheduleHeartbeat','_hover','transform','@univerjs/ui','blue.400','WebURLService','on-line-icon','clipPath','DOC_RANGE_TYPE','_renderManagerService','@univerjs/docs','stringify','_docTransformIMECacheService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','syncEditingCollabCursor','UniverCollaborationClientUIPlugin','_onCursorUpdate','_urlService','DocSkeletonManagerService','_shapes','makeDirty','getUnhiddenWorksheets','fillText','getVpScrollXYInfoByPosToVp','_localCacheService','black','3OTGkxJ','setParam','DisposableCollection','setActiveRange','roomMembers$','getRangePointData','unit','_cursors','colorChannel1','_initStatusListener','collabCursorState$','wsSessionTicketUrl','getLocalCacheKey','_roomMembers$','NOT_FOUND','runRefRangeMutations','getCurrentUnitForType','disableLocalCache','SheetCollabCursorShape','amd','_setupSubUnitSync','ISocketService','dispose$','getSheetBySheetId','onTransformChange$','handleInsertRangeMoveRight','location','useObservable','_startDocCollabCursor','url(#off-line-icon_clip0_910_343)','CollaborationUIEventId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformStateCache','_drawTextRange','IBeforeCloseService','InsertRowCommandId','_color','_clearOtherTimers','getTypeOfUnitAdded$','merge','xlink:href','backgroundColor','replaceState','getCoordByCell','_unitOnClients','_colorAssignService','_initResize','toStringTag','INotificationService','ThemeService','tag','_docSkeleton','textRanges','selection','136795uMTjrr','EMAIL_VERIFY_CODE_MISMATCH','from','_collabCursorState$','restore','_handleEvent','attrs','unsubscribe','RemoveRowCommandId','Plugin','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','YUUMI_ALL_TABLES_IS_INVALID','beginPath','currentSkeleton$','clearInterval','fill','CommandType','children','newValue','React','_scheduleClearOtherTimer','MoveRangeCommandId','rxjs','session.will-retry','MessageType','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','PENDING','setTimeout','PY_RUNTIME_SCRIPT_ERROR','setStateCache','_saveTaskMap','SheetsSelectionsService','registerRefRange','Error','measureText','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onRendered','_send','1112598NKfMnh','filter','replace','getUndoRedoMutationParamsCache','_name','_range','HEADER_MENU','ISnapshotServerService','#FFF','actions','_refRangeService','throttleTime','_univerInstanceService','onLocalMutation','object','memberID','_injector','code','LOCAL_CACHE_INTERVAL','_status$','FromArray','TOO_MANY_REQUESTS','operators','function','_docClipboardService','setItem','some','_commandService','debounceTime','roomMembers','engine','UniverProCollaborationClient','_logService','13862233LvNbtl','UniverCollaborationClientPlugin','collaboration-client-ui.config','ICommandService','_online','_anchorDot','NOT_COLLAB','unitID','_backgroundColor','_hovered','isArray','arc','handleDeleteRangeMoveUp','889uSSaIR','ACTIVE_UNIT_EVENT_CHANNEL','getConfig','collabStatus.fetchMiss','purple.300','getDocRanges','removeParam','@univerjs/sheets-ui','@univerjs-pro/collaboration','runOnServer','IConfigService','mutations','subUnitId','lineTo','registerRenderModule','status$','_initEntityListener','ILocalStorageService','CHANGESET_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','collabStatus.syncing','Unknown\x20user','Warning','takeUntil','_transformPreviousActiveRange','subscribeEvent','searchParams','_imageIoService','BehaviorSubject','skeleton','SHEET_VIEWPORT_KEY','handleInsertCol','UniverDrawing','_memberService','imageSourceType','YUUMI_CONNECTOR_URL_NOT_FOUND','UnitStatus','@univerjs/rpc','CONFLICT','BrowserCollaborationSocketService','saveTaskMap','delete','_hideTimer','DeleteRangeMoveUpCommandId','createElement','getSheetId','registerBeforeClose','size','UniverEngineFormula','CollaborationSessionService','parse','popstate','UniverDocsUi','_id','@univerjs/network','concat','@univerjs/sheets','isEditing','_collaborationController','_context','_textBubble','IUniverInstanceService','isTransformMutationFailure','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_cursorInfo$','NodePositionConvertToRectRange','findNodePositionByCharIndex','post','_ensureSubject','DocCollaborationEntity','EMAIL_HAS_BEEN_BOUND','SOCKET_FAILED','getCurrentSelections','UniverDesign','apply','ranges','_session','name','UniverEngineRender','USERS_LEAVE','UniverSheets','application/json','getCellPositionByOffset','useCallback','currentColor','InsertColCommandId','extend','_updateURLWithCurrentState','getColor','onCommandExecuted','yellow.400','_cursor','event$','DataLoaderService','generateRandomId','transformMutation','ITransformService','1724CgmalN','UNIVER_SHEET','top','ticket','MOBILE_HAS_BEEN_BOUND','UNAUTHENTICATED','_collabCursorController','loadOfflineData','search','saveOfflineData','substring','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','...','getMemberID','transformRemoteChangeset','evenodd','UniverIcon','svg','entries','_httpService','m1Prime','eventID','setInterval','INVITE_CODE_REQUIRED','Workbook','defIds','getStateCache','jsx','_drawAnchor','sessionStatus$','@univerjs/design','getCurrentRevOfUnit','onMouseMove','IDocClipboardService','getActiveRange','complete','APPLY_NON_SEQUENTIAL_REVISION','getParam','_startSheetCollabCursor','focused$','collab-rect-range-','replaceDocRanges','_beforeCloseService'];_0xb41b=function(){return _0x577d8d;};return _0xb41b();}