@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060832

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 _0x1235(){const _0x29b294=['getMember','INTERNAL_ERROR','handleInsertCol','_uiPartsService','transformRemoteChangeset','ticket','currentSkeleton$','colorChannel1','ILogService','apply','redoState','disposeWithMe','_shapes','icon','ENSURE_SNAPSHOT_EXECUTION','tag','getViewport','_unitStatus','_labelPosition','transformSelections','UNDEFINED','_beforeCloseService','_hideTimer','ranges','blue.400','cursorInfo$','asObservable','onPointerEnter$','addEventListener','arc','handleDeleteRangeMoveUp','@univerjs/docs','reconnect','UNIVER_SHEET','UniverDesign','error','UPDATE_CURSOR','onMouseMove','SNAPSHOT_INVALID_SNAPSHOT','_memberService','onPointerLeave$','defs','_transformHistoryAndStateStack','red.300','popstate','_themeService','_cursorInfo$','_ensureSubject','replaceDocRanges','black','_initStatusComponent','TOO_MANY_REQUESTS','ALREADY_EXISTS','_collabCursorState$','updateOfflineData','onStarting','collaboration.closeRoom','_entities','_messageService','saveTaskMap','entries','BrowserCollaborationSocketService','show','Rect','addObjects','rgba(255,\x20255,\x20255,\x200.01)','InsertRangeMoveDownCommandId','_httpService','_refRangeService','generateRandomId','WECHAT_HAS_BEEN_BOUND','_session','_collaborationController','urlChange$','actions','_updateURLWithCurrentState','endRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','dispose','string','transformStateCache','undoState','merge','startColumn','call','UniverRpc','createInstance','getItem','displayName','roomMembers','PERMISSION_DENIED','fillRule','useDependency','docStateChange$','react','loadOfflineData','getUndoRedoMutationParamsCache','UNRECOGNIZED','connectInjector','Tools','beginPath','pipe','EffectRefRangId','_init','setActiveRange','exports','_refreshCollabCursors','UniverIcon','LOCAL_CACHE_INTERVAL_KEY','SetSelectionsOperation','resize','subunit','currentColor','children','_scene','createElement','UniverInstanceType','from','className','TRANSFORM_CHANGE_OBSERVABLE_TYPE','drawWith','svg','getDocRanges','_localCacheService','findNodePositionByCharIndex','textRanges','_drawTextRange','use','MessageType','IRenderManagerService','jsxs','3520779iGwRhg','clsx','univer-flex\x20univer-items-center','SheetsSelectionsService','runRefRangeMutations','getActiveSheet','NodePositionConvertToRectRange','unshift','collaboration-client-ui.config','origin','clearInterval','isArray','UniverSheetsUi','WebSocketService','LICENSE_DISTRO_REJECTED','getOffsetConfig','_setupBeforeClosingHandler','@univerjs-pro/collaboration','USERS_LEAVE','_getAnchorBounding','function','...','_initDependencies','pushState','[CollaborationDataLoaderController]','_selfUnitIDs','CollaborationUIEventId','APPLY_NON_SEQUENTIAL_REVISION','name','IUIPartsService','ICommandService','path','_cursors','EMAIL_VERIFY_CODE_MISMATCH','RichTextEditingMutation','RECT','IBeforeCloseService','flatMap','_online','RemoteUniscriptService','DocIMEInputManagerService','measureText','@univerjs-pro/collaboration-client','object','SetDocZoomRatioOperation','COMPLETION_FINISHED','UNIVER_DOC','getActiveRange','8KMsXOS','@univerjs/core','_backgroundColor','enableLocalCache','UniverEngineFormula','setParam','debug','ITransformService','result','currentTheme$','CONFLICT','http://www.w3.org/2000/svg','1em','startsWith','UniverProCollaborationClientUi','jiqing.500','_drawRectRange','unsubscribe','getCurrentSelections','replace','runOnServer','_docSkeletonManagerService','toDisposable','event$','skeleton','unitID','split','none','UniverNetwork','wsSessionTicketUrl','IUniverInstanceService','hasOwnProperty','requireSession','sessionStatus$','_entityInit$','_getMergeRange','_docSyncEditingCollabCursorService','RegularPolygon','_imageIoService','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REVISION_CONFILICT','onRendered','current','getCoordByCell','on-line-icon_clip0_910_349','_handleEvent','off-line-icon','fillText','debounce','transform','transformByState','post','source','getConfig','_startDocCollabCursor','m1Prime','Plugin','addHandlerCallback','mutations','backgroundColor','Inject','_anchorDot','788928gDdJrv','doc.mutation.rich-text-editing','NodePositionConvertToCursor','getStateCache','collabStatus.offline','_docTransformSelectionsService','_logService','HEADER_MENU','React','_registerRenderDependencies','_disabled','@univerjs/network','getCurrentUnitForType','RefRangeService','_colorIndex','substring','DeleteRangeMoveUpCommandId','newValue','transformMutationsWithChangeset','replaceState','_updateSubUnitFromURLParams','useRef','_send','FETCH_MISS','1851111AUdBFz','off-line-icon_clip0_910_343','onCommandExecuted','_initCommandExecutedListener','_colorAssignService','2rlfEar','unit','_anchor','labelPosition','SOCKET_FAILED','exhaustSavingTask','_univerInstanceService','with','YUUMI_RATE_OVER_LIMIT','_lastPointer','fillStyle','getParam','handleIRemoveRow','_updateLocalCursor','roomMembers$','getSheetId','focused$','INVALID_ARGUMENT','saveImage','_collabCursorController','_notificationService','_roomMembers$','add','searchParams','unload','4900400AFKpXY','application/json','Module','getUnhiddenWorksheets','_scheduleSaving','registerBeforeClose','getRenderById','CollaborationSessionService','assign','size','_render','_instanceService','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','takeUntil','_getSessionTicket','session.collaboration-timeout','debounceTime','_updateCollabCursors','sheetID','PENDING','defineProperty','getValue','Shape','getRangePointData','values','0\x200\x2017\x2016','RemoveColCommandId','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL','_color','createSocket','location','_dataLoaderService','SheetCollabCursorShape','makeDirty','_status$','hide','_range','_textBubble','APPLY_DUPLICATED','@univerjs/engine-formula','_hover','SheetSkeletonManagerService','whenReady','handleDeleteRangeMoveLeft','LICENSE_MAX_UNITS_EXCEEDED','IConfigService','SessionStatus','_onCursorUpdate','AWAITING_WITH_PENDING','length','ColorKit','_revisionService','UniverEngineRender','range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','m2Prime','startRow','href','INVITE_CODE_ALREADY_BOUND','RxDisposable','forwardRef','setAlpha','transformMutation','1132VMWyVS','DisposableCollection','NOT_COLLAB','SetTextSelectionsOperation','registerComponent','loadUnit','save','SOCKET_FAILED_RETRY','_toggleOnline','fromEventSubject','min','prototype','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DeleteRangeMoveLeftCommandId','getSheetBySheetId','12965xuzhRR','setConfig','UniverCollaborationClientPlugin','concat','ONLINE','mergeOverrideWithDependencies','MOBILE_HAS_BEEN_BOUND','CollaborationStatus','Error','CommandType','_handleJoinEvent','_clearOtherTimers','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getCollabEntity$','_injector','_initStatusListener','dispose$','getMemberID','INVITE_CODE_REQUIRED','eventID','@univerjs/rpc','clearTimeout','OnLineIcon','UniverProCollaboration','_sheetSkeletonManagerService','color','fill','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveDown','collaboration.single-unit.warning','getColor','hovered','ThemeService','_removeCollabCursors','disableLocalCache','5734044vnxdBW','delete','stringify','_scheduleClearOtherTimer','_context','_docStateChangeManagerService','getUniverSheetInstance','search','_urlService','CollaborationUIEventService','_localStorageService','MOBILE_VERIFY_CODE_MISMATCH','override','CollaborationEvent','TEXT','_assignedColors','collab-text-anchor-','symbol','@univerjs/engine-render','width','mask','executeCommand','removeParam','_id','TEXT_RANGE_LAYER_INDEX','_docSkeleton','_transformService','clipPath','trim','session.will-retry','SYNCED','INVITE_CODE_HAS_BEEN_UES','BuiltInUIPart','APPLY_PERMISSION_DENIED','@univerjs/sheets','includes','switchMap','_docTransformIMECacheService','IRemoteInstanceService','getColorFromTheme','throttleTime','text','forEach','fromEvent','invokeId','Disposable','lineTo','div','RemoveRowCommandId','round','_unitOnClients','collabCursorState$','YUUMI_NO_CUBOID_FOR_QUESTION','_initEvent','YUUMI_AI_RUN_FAILED','COLORS','indexOf','permission.title','LICENSE_IMPORT_SIZE_EXCEEDED','propertyIsEnumerable','distinctUntilChanged','sheetId','syncEditingCollabCursor','UNAUTHENTICATED','collaboration-client.offline-data-not-saved','Rectangle','CONNECTOR_DATA_TOO_LARGE','restore','VIEW_MAIN','M0\x200H16V16H0z','HTTPService','_transformPreviousActiveRange','_handleHover','idSuffix','url(#$1','params','_cursorShapes','init','_syncEditingCollabCursorService','_transformUndoRedoStack','evenodd','OffLineIcon','onPointerMove$','getVpScrollXYInfoByPosToVp','isActive','YUUMI_CONNECTOR_URL_NOT_FOUND','_eventUnsubscribe','assignAColorForMemberID','CollaborationController','_heartbeatTimer','LocaleService','setShapeProps','MUTATION','IMessageService','_cursor','_onCursorDelete','Warning','getTypeOfUnitDisposed$','isTransformMutationsWithChangesetSuccess','_startSheetCollabCursor','LOGIN_FAILED','map','data','@univerjs/ui','_toggleOffline','InsertRangeMoveRightCommandId','_name','toStringTag','UniverSheets','_commandService','UniverCollaborationClientUIPlugin','closePath','DataLoaderService','SetWorksheetActivateCommand','setTimeout','collabStatus.notCollab','_cachedData','combineLatest','MemberService','height','SNAPSHOT_HAS_BEEN_REMOVED','next','translate(.97)','ISnapshotServerService','getCurrentRevOfUnit','disposeUnit','CLOSE_ROOM','serializeRangeWithSheet','key','_scheduleHeartbeat','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REJECT','then','getOwnPropertyDescriptor','defIds','DesktopCollaborationStatusDisplayController','Unknown\x20user','EMAIL_HAS_BEEN_BOUND','OFFLINE','getSkeleton','operators','selection','InsertRowCommandId','on-line-icon','setStateCache','handleInsertRangeMoveRight','registerRefRange','collab-rect-range-','SHEET_VIEWPORT_KEY','YUUMI_ALL_TABLES_IS_INVALID','row','_saveCache','contains','attrs','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','pluginName','push','IURLService','subscribe','filter','_initEntityListener','USER_NOT_INVITED_CODE','handleIRemoveCol','CollaborationSocketService','runId','handleInsertRow','isEditing','_hovered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribeEvent','_collaborationUIEventService','_configService','/run/','getUnitId','jsx','_handleLeaveEvent','deepClone','send','body','has','unitId','getRelativeToViewportCoord','setUndoRedoMutationParamsCache','Failed','cursorInfo','session.connection-failed','CollaborationDataLoaderController','collabStatus.syncing','BehaviorSubject','green.600','top','all','getCurrent','Tooltip','set','_collabSessionService','extend','YUUMI_ASYNCIO_CANCELLED','setItem','FromArray','OTHER_CLIENTS_EDITING','DocStateChangeManagerService','_getSheetObject','_onRefRangeChange','rxjs','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_SUBSCRIPTION_NOT_FOUND','xlink:href','onLocalMutation','UniverDrawing','INVALID_INVITE_CODE','_renderManagerService','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','bottom','getCollabCursors$','#FFF','addObject','AWAITING','getFocusedUnit','_getSaveTimeout','1266306JzYOIg','touchDependencies','Injector','@univerjs/sheets-ui','isTransformMutationFailure','_removeClearOtherTimer','column','getSheetObject','UniverProCollaborationClient','YUUMI_TABLE_NOT_FOUND_IN_UNIT','type','getUnitStatus$','subUnitId','_registerDependencies','toString','url(#on-line-icon_clip0_910_349)','_drawAnchor','CHANGESET_REVISION_CONFILICT','UnitStatus','white','_draw','_saveTaskMap','getTypeOfUnitAdded$','permission.content','DocSkeletonManagerService','storage','_setupSubUnitSync','getLocalCacheKey','useCallback','get','LICENSE_EXPORT_SIZE_EXCEEDED','DOC_RANGE_TYPE','_localeService','purple.300','history','_config','shareReplay','collabStatus.synced','transformIMECache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getScale','PY_RUNTIME_SCRIPT_ERROR'];_0x1235=function(){return _0x29b294;};return _0x1235();}function _0x1d10(_0x2147b7,_0x56e149){const _0x12353a=_0x1235();return _0x1d10=function(_0x1d1008,_0x4711bb){_0x1d1008=_0x1d1008-0xb5;let _0x933041=_0x12353a[_0x1d1008];return _0x933041;},_0x1d10(_0x2147b7,_0x56e149);}(function(_0x5e4610,_0x2d1406){const _0x2eb016=_0x1d10,_0x1602dc=_0x5e4610();while(!![]){try{const _0x1760b7=-parseInt(_0x2eb016(0x126))/0x1*(parseInt(_0x2eb016(0x292))/0x2)+parseInt(_0x2eb016(0x33f))/0x3+-parseInt(_0x2eb016(0x181))/0x4*(-parseInt(_0x2eb016(0x190))/0x5)+parseInt(_0x2eb016(0x1b4))/0x6+-parseInt(_0x2eb016(0x109))/0x7+-parseInt(_0x2eb016(0xca))/0x8*(parseInt(_0x2eb016(0x121))/0x9)+-parseInt(_0x2eb016(0x13f))/0xa;if(_0x1760b7===_0x2d1406)break;else _0x1602dc['push'](_0x1602dc['shift']());}catch(_0x193ec4){_0x1602dc['push'](_0x1602dc['shift']());}}}(_0x1235,0xc0785),function(_0x32f92f,_0x418ceb){const _0x567452=_0x1d10;typeof exports==_0x567452(0xc5)&&typeof module<'u'?_0x418ceb(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==_0x567452(0x353)&&define['amd']?define([_0x567452(0x325),'react/jsx-runtime',_0x567452(0xc4),_0x567452(0xcb),_0x567452(0x21b),_0x567452(0x281),'@univerjs/design',_0x567452(0x31a),_0x567452(0x1a5),_0x567452(0x1d6),_0x567452(0x1c6),_0x567452(0x114),_0x567452(0xf1),'@univerjs/drawing',_0x567452(0x350),_0x567452(0x2db),_0x567452(0x167),'rxjs/operators',_0x567452(0x295)],_0x418ceb):(_0x32f92f=typeof globalThis<'u'?globalThis:_0x32f92f||self,_0x418ceb(_0x32f92f[_0x567452(0xd8)]={},_0x32f92f['React'],_0x32f92f[_0x567452(0x29a)],_0x32f92f['UniverCore'],_0x32f92f['UniverUi'],_0x32f92f[_0x567452(0x281)],_0x32f92f[_0x567452(0x2de)],_0x32f92f[_0x567452(0x111)],_0x32f92f[_0x567452(0x311)],_0x32f92f[_0x567452(0x220)],_0x32f92f[_0x567452(0x174)],_0x32f92f[_0x567452(0xe6)],_0x32f92f['UniverDocsUi'],_0x32f92f[_0x567452(0x286)],_0x32f92f[_0x567452(0x1a8)],_0x32f92f['UniverDocs'],_0x32f92f[_0x567452(0xce)],_0x32f92f[_0x567452(0x281)][_0x567452(0x240)],_0x32f92f[_0x567452(0x34b)]));}(this,function(_0x4853c8,_0x5beb6b,_0x250f51,_0x31c42f,_0x603ca7,_0x19f1b5,_0x4612e3,_0x1beb2f,_0x337fcc,_0x56db06,_0x1f1202,_0x294bf6,_0x5e24e0,_0xa7fa11,_0x180e29,_0x3f505f,_0x3cb4df,_0x456c9e,_0x5432d7){'use strict';const _0x5a505c=_0x1d10;var _0x3e952b=Object[_0x5a505c(0x153)],_0x3db9ed=(_0x1a45b6,_0x23e5eb,_0x23b496)=>_0x23e5eb in _0x1a45b6?_0x3e952b(_0x1a45b6,_0x23e5eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b496}):_0x1a45b6[_0x23e5eb]=_0x23b496,_0x5c9071=(_0x5a2d75,_0x222c44,_0x3c429e)=>_0x3db9ed(_0x5a2d75,typeof _0x222c44!=_0x5a505c(0x1c5)?_0x222c44+'':_0x222c44,_0x3c429e),_0x418fff=function(){const _0x3f53bf=_0x5a505c;return _0x418fff=Object[_0x3f53bf(0x147)]||function(_0xe7122e){const _0x19f106=_0x3f53bf;for(var _0x183252,_0x7a9aa7=0x1,_0x4f214b=arguments[_0x19f106(0x171)];_0x7a9aa7<_0x4f214b;_0x7a9aa7++){_0x183252=arguments[_0x7a9aa7];for(var _0xc18be2 in _0x183252)Object[_0x19f106(0x18c)][_0x19f106(0xe9)][_0x19f106(0x310)](_0x183252,_0xc18be2)&&(_0xe7122e[_0xc18be2]=_0x183252[_0xc18be2]);}return _0xe7122e;},_0x418fff[_0x3f53bf(0x2c5)](this,arguments);},_0x413fef=function(_0x16bcd4,_0x1d7e7d){const _0x51ebac=_0x5a505c;var _0x36853f={};for(var _0x1451e3 in _0x16bcd4)Object['prototype'][_0x51ebac(0xe9)]['call'](_0x16bcd4,_0x1451e3)&&_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3)<0x0&&(_0x36853f[_0x1451e3]=_0x16bcd4[_0x1451e3]);if(_0x16bcd4!=null&&typeof Object['getOwnPropertySymbols']==_0x51ebac(0x353)){for(var _0x3b01f0=0x0,_0x1451e3=Object['getOwnPropertySymbols'](_0x16bcd4);_0x3b01f0<_0x1451e3[_0x51ebac(0x171)];_0x3b01f0++)_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3[_0x3b01f0])<0x0&&Object[_0x51ebac(0x18c)][_0x51ebac(0x1ef)][_0x51ebac(0x310)](_0x16bcd4,_0x1451e3[_0x3b01f0])&&(_0x36853f[_0x1451e3[_0x3b01f0]]=_0x16bcd4[_0x1451e3[_0x3b01f0]]);}return _0x36853f;},_0x5b8ef9=_0x1beb2f['forwardRef'](function(_0x431bc2,_0x3ef17d){const _0x42235d=_0x5a505c;var _0x2b86dd=_0x431bc2['icon'],_0x17f815=_0x431bc2['id'],_0xcf57bc=_0x431bc2[_0x42235d(0x332)],_0x54eab7=_0x431bc2[_0x42235d(0x279)],_0x1021bc=_0x413fef(_0x431bc2,[_0x42235d(0x2c9),'id',_0x42235d(0x332),_0x42235d(0x279)]),_0x1b6323='univerjs-icon\x20univerjs-icon-'[_0x42235d(0x193)](_0x17f815,'\x20')['concat'](_0xcf57bc||'')[_0x42235d(0x1d0)](),_0x3918da=_0x1beb2f[_0x42235d(0x11e)]('_'[_0x42235d(0x193)](_0x45e795()));return _0x4cdb86(_0x2b86dd,''[_0x42235d(0x193)](_0x17f815),{'defIds':_0x2b86dd[_0x42235d(0x23a)],'idSuffix':_0x3918da[_0x42235d(0xf5)]},_0x418fff({'ref':_0x3ef17d,'className':_0x1b6323},_0x1021bc),_0x54eab7);});function _0x4cdb86(_0x25c939,_0x26585d,_0x2731d7,_0x3b0db3,_0x2f814b){const _0x1e40b7=_0x5a505c;return _0x1beb2f[_0x1e40b7(0x32f)](_0x25c939['tag'],_0x418fff(_0x418fff({'key':_0x26585d},_0x44ed48(_0x25c939,_0x2731d7,_0x2f814b)),_0x3b0db3),(_0x384a90(_0x25c939,_0x2731d7)[_0x1e40b7(0x32d)]||[])['map'](function(_0x377c4b,_0x1f8120){const _0x1c29e7=_0x1e40b7;return _0x4cdb86(_0x377c4b,''[_0x1c29e7(0x193)](_0x26585d,'-')[_0x1c29e7(0x193)](_0x25c939[_0x1c29e7(0x2cb)],'-')['concat'](_0x1f8120),_0x2731d7,void 0x0,_0x2f814b);}));}function _0x44ed48(_0x120f43,_0x1521ce,_0x56a906){const _0x41d5cc=_0x5a505c;var _0x42f115=_0x418fff({},_0x120f43[_0x41d5cc(0x24d)]);_0x56a906!=null&&_0x56a906[_0x41d5cc(0x2c3)]&&_0x42f115[_0x41d5cc(0x1ab)]===_0x41d5cc(0x2c3)&&(_0x42f115[_0x41d5cc(0x1ab)]=_0x56a906[_0x41d5cc(0x2c3)]),_0x120f43[_0x41d5cc(0x2cb)]===_0x41d5cc(0x1c8)&&_0x42f115['id']&&(_0x42f115['id']=_0x42f115['id']+_0x1521ce[_0x41d5cc(0x1fd)]),Object[_0x41d5cc(0x2f8)](_0x42f115)[_0x41d5cc(0x1de)](function(_0x90ce17){const _0x5f12eb=_0x41d5cc;var _0x2832e6=_0x90ce17[0x0],_0x13f7dd=_0x90ce17[0x1];_0x2832e6==='mask'&&typeof _0x13f7dd=='string'&&(_0x42f115[_0x2832e6]=_0x13f7dd['replace'](/url\(#(.*)\)/,_0x5f12eb(0x1fe)[_0x5f12eb(0x193)](_0x1521ce[_0x5f12eb(0x1fd)],')')));});var _0x3ddb3e=_0x1521ce[_0x41d5cc(0x23a)];return!_0x3ddb3e||_0x3ddb3e['length']===0x0||(_0x120f43['tag']===_0x41d5cc(0x33b)&&_0x42f115[_0x41d5cc(0x284)]&&(_0x42f115['xlink:href']=_0x42f115[_0x41d5cc(0x284)]+_0x1521ce[_0x41d5cc(0x1fd)]),Object['entries'](_0x42f115)[_0x41d5cc(0x1de)](function(_0xd936e8){const _0x22c851=_0x41d5cc;var _0x3f61ca=_0xd936e8[0x0],_0x1ea4ae=_0xd936e8[0x1];typeof _0x1ea4ae=='string'&&(_0x42f115[_0x3f61ca]=_0x1ea4ae[_0x22c851(0xdd)](/url\(#(.*)\)/,_0x22c851(0x1fe)[_0x22c851(0x193)](_0x1521ce[_0x22c851(0x1fd)],')')));})),_0x42f115;}function _0x384a90(_0x5b962a,_0xc1a740){const _0x512a22=_0x5a505c;var _0x2fbc3b,_0x1b33f0=_0xc1a740[_0x512a22(0x23a)];return!_0x1b33f0||_0x1b33f0[_0x512a22(0x171)]===0x0?_0x5b962a:_0x5b962a[_0x512a22(0x2cb)]===_0x512a22(0x2e5)&&(!((_0x2fbc3b=_0x5b962a[_0x512a22(0x32d)])===null||_0x2fbc3b===void 0x0)&&_0x2fbc3b['length'])?_0x418fff(_0x418fff({},_0x5b962a),{'children':_0x5b962a[_0x512a22(0x32d)][_0x512a22(0x219)](function(_0x3fe37b){const _0x5db623=_0x512a22;return typeof _0x3fe37b[_0x5db623(0x24d)]['id']==_0x5db623(0x30b)&&_0x1b33f0&&_0x1b33f0['includes'](_0x3fe37b['attrs']['id'])?_0x418fff(_0x418fff({},_0x3fe37b),{'attrs':_0x418fff(_0x418fff({},_0x3fe37b[_0x5db623(0x24d)]),{'id':_0x3fe37b[_0x5db623(0x24d)]['id']+_0xc1a740[_0x5db623(0x1fd)]})}):_0x3fe37b;})}):_0x5b962a;}function _0x45e795(){const _0x159c65=_0x5a505c;return Math['random']()[_0x159c65(0x2a0)](0x24)[_0x159c65(0x118)](0x2,0x8);}_0x5b8ef9[_0x5a505c(0x314)]=_0x5a505c(0x327);var _0xd7cb74={'tag':_0x5a505c(0x335),'attrs':{'xmlns':_0x5a505c(0xd5),'fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x15a),'width':'1em','height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':_0x5a505c(0x32c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5a505c(0x1e5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':_0x5a505c(0x122)},'children':[{'tag':'path','attrs':{'fill':_0x5a505c(0x2a5),'d':_0x5a505c(0x1f9)}}]}]}],'defIds':[_0x5a505c(0x122)]},_0x5ae184=_0x1beb2f[_0x5a505c(0x17e)](function(_0x4548e9,_0xcd9999){const _0x1a0037=_0x5a505c;return _0x1beb2f[_0x1a0037(0x32f)](_0x5b8ef9,Object[_0x1a0037(0x147)]({},_0x4548e9,{'id':_0x1a0037(0xf9),'ref':_0xcd9999,'icon':_0xd7cb74}));});_0x5ae184[_0x5a505c(0x314)]=_0x5a505c(0x205);var _0x1f2e0e={'tag':_0x5a505c(0x335),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x158),'width':_0x5a505c(0xd6),'height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a505c(0x2a1)},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':'currentColor','d':_0x5a505c(0x14b),'strokeLinecap':_0x5a505c(0x1e5),'strokeLinejoin':_0x5a505c(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'fill':_0x5a505c(0x2a5),'d':'M0\x200H16V16H0z','transform':_0x5a505c(0x22e)}}]}]}],'defIds':[_0x5a505c(0xf7)]},_0x350aa3=_0x1beb2f[_0x5a505c(0x17e)](function(_0x528d5e,_0x4e0e4a){const _0xaa9822=_0x5a505c;return _0x1beb2f['createElement'](_0x5b8ef9,Object[_0xaa9822(0x147)]({},_0x528d5e,{'id':_0xaa9822(0x243),'ref':_0x4e0e4a,'icon':_0x1f2e0e}));});_0x350aa3[_0x5a505c(0x314)]=_0x5a505c(0x1a7);function _0x295060(_0x4decdc){const _0x303065=_0x5a505c;switch(_0x4decdc){case _0x250f51[_0x303065(0x197)][_0x303065(0x23e)]:return _0x303065(0x10d);case _0x250f51[_0x303065(0x197)][_0x303065(0xd4)]:return'collabStatus.conflict';case _0x250f51[_0x303065(0x197)][_0x303065(0x120)]:return'collabStatus.fetchMiss';case _0x250f51[_0x303065(0x197)][_0x303065(0x183)]:return _0x303065(0x227);case _0x250f51['CollaborationStatus'][_0x303065(0x28f)]:case _0x250f51['CollaborationStatus'][_0x303065(0x170)]:return _0x303065(0x270);case _0x250f51[_0x303065(0x197)][_0x303065(0x1d2)]:case _0x250f51[_0x303065(0x197)][_0x303065(0x152)]:return _0x303065(0x2b7);}}function _0x13383e(_0x3371bb){const _0x19dd28=_0x5a505c,{status$:_0x1d4b45}=_0x3371bb,_0x46dd67=_0x603ca7['useObservable'](_0x1d4b45,_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x183)]),_0x1c3896=_0x603ca7[_0x19dd28(0x318)](_0x31c42f[_0x19dd28(0x20e)]),_0x1c9662=_0x603ca7[_0x19dd28(0x318)](_0x250f51[_0x19dd28(0x146)]),_0x6a7fa=_0x46dd67!==_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x23e)],_0x35b5f6=_0x1c3896['t'](_0x295060(_0x46dd67)),_0x5c5f3a=_0x6a7fa?_0x5beb6b[_0x19dd28(0x263)](_0x350aa3,{}):_0x5beb6b[_0x19dd28(0x263)](_0x5ae184,{}),_0x1b62c6=_0x1beb2f[_0x19dd28(0x2ae)](()=>{const _0x761aeb=_0x19dd28;_0x6a7fa||_0x1c9662[_0x761aeb(0x2dc)]();},[_0x6a7fa,_0x1c9662]);function _0x2a3ab9(){const _0x2694b2=_0x19dd28;return _0x5beb6b[_0x2694b2(0x33e)](_0x2694b2(0x1e3),{'className':_0x2694b2(0x341),'onClick':_0x1b62c6,'children':[_0x5beb6b[_0x2694b2(0x263)]('div',{'className':_0x4612e3[_0x2694b2(0x340)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x6a7fa,'univer-text-red-500':!_0x6a7fa}),'children':_0x5c5f3a}),_0x5beb6b['jsx'](_0x2694b2(0x1e3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x35b5f6})]});}return _0x6a7fa?_0x2a3ab9():_0x5beb6b['jsx'](_0x4612e3[_0x19dd28(0x276)],{'title':_0x1c3896['t']('collab-client.tooltip.reconnect'),'children':_0x2a3ab9()});}var _0x3448a8=Object[_0x5a505c(0x239)],_0xd37d93=(_0x1f1ee4,_0x4edac4,_0x10f514,_0x265a69)=>{for(var _0x255eee=_0x265a69>0x1?void 0x0:_0x265a69?_0x3448a8(_0x4edac4,_0x10f514):_0x4edac4,_0x1838d7=_0x1f1ee4['length']-0x1,_0x69b869;_0x1838d7>=0x0;_0x1838d7--)(_0x69b869=_0x1f1ee4[_0x1838d7])&&(_0x255eee=_0x69b869(_0x255eee)||_0x255eee);return _0x255eee;},_0x22abda=(_0x4178ef,_0xf42c33)=>(_0x2c0cd7,_0x23b884)=>_0xf42c33(_0x2c0cd7,_0x23b884,_0x4178ef);_0x4853c8['DesktopCollaborationStatusDisplayController']=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57937a,_0x14a339,_0x59d017,_0x3fdf1a){const _0x257518=_0x5a505c;super(),_0x5c9071(this,'_status$',new _0x19f1b5[(_0x257518(0x271))](_0x250f51[_0x257518(0x197)][_0x257518(0x183)])),(this[_0x257518(0x12c)]=_0x57937a,this[_0x257518(0x19f)]=_0x14a339,this[_0x257518(0x304)]=_0x59d017,this[_0x257518(0x2bf)]=_0x3fdf1a,this[_0x257518(0x2ee)](),this[_0x257518(0x1a0)]());}[_0x5a505c(0x1a0)](){const _0x225590=_0x5a505c;this[_0x225590(0x2c7)](this[_0x225590(0x12c)][_0x225590(0x136)][_0x225590(0x321)](_0x19f1b5[_0x225590(0x1d8)](()=>{const _0xd79307=_0x225590,_0xcb865f=this[_0xd79307(0x12c)][_0xd79307(0x290)]();return _0xcb865f?this[_0xd79307(0x304)][_0xd79307(0x19e)](_0xcb865f[_0xd79307(0x262)]()):_0x19f1b5['of'](null);}),_0x19f1b5['switchMap'](_0x98a46e=>_0x98a46e?_0x98a46e[_0x225590(0x289)]:_0x19f1b5['of'](_0x250f51['CollaborationStatus'][_0x225590(0x183)])))[_0x225590(0x253)](_0x25d9b4=>{const _0x505b8c=_0x225590;this[_0x505b8c(0x162)][_0x505b8c(0x22d)](_0x25d9b4);}));}['_initStatusComponent'](){const _0x16c78a=_0x5a505c;this[_0x16c78a(0x2c7)](this[_0x16c78a(0x2bf)][_0x16c78a(0x185)](_0x603ca7[_0x16c78a(0x1d4)][_0x16c78a(0x110)],()=>_0x603ca7[_0x16c78a(0x31e)](_0x15e10a({'status$':this[_0x16c78a(0x162)][_0x16c78a(0x2d6)]()}),this[_0x16c78a(0x19f)])));}},_0x4853c8['DesktopCollaborationStatusDisplayController']=_0xd37d93([_0x22abda(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x22abda(0x1,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x22abda(0x2,_0x31c42f['Inject'](_0x250f51[_0x5a505c(0x20c)])),_0x22abda(0x3,_0x603ca7[_0x5a505c(0xb7)])],_0x4853c8['DesktopCollaborationStatusDisplayController']);function _0x15e10a(_0x377489){const {status$:_0x41ad6f}=_0x377489;return function(){const _0x51efeb=_0x1d10;return _0x5beb6b[_0x51efeb(0x263)](_0x13383e,{'status$':_0x41ad6f});};}const _0x2b3810=_0x31c42f['createIdentifier']('uni.network.url-service');var _0x5a7b11=Object['getOwnPropertyDescriptor'],_0x505d25=(_0x4de4cd,_0x4151d4,_0x599760,_0x2a7931)=>{const _0x1930a3=_0x5a505c;for(var _0x3cb415=_0x2a7931>0x1?void 0x0:_0x2a7931?_0x5a7b11(_0x4151d4,_0x599760):_0x4151d4,_0x12b17d=_0x4de4cd[_0x1930a3(0x171)]-0x1,_0x1bc9d2;_0x12b17d>=0x0;_0x12b17d--)(_0x1bc9d2=_0x4de4cd[_0x12b17d])&&(_0x3cb415=_0x1bc9d2(_0x3cb415)||_0x3cb415);return _0x3cb415;},_0x12c263=(_0x462925,_0x464046)=>(_0x5ca2b9,_0x104768)=>_0x464046(_0x5ca2b9,_0x104768,_0x462925);_0x4853c8[_0x5a505c(0x26f)]=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x91401f,_0x1a1b41,_0xef8160,_0x14c746,_0x34cb0d){const _0xd70bb8=_0x5a505c;super(),this[_0xd70bb8(0x1bc)]=_0x91401f,this[_0xd70bb8(0x10f)]=_0x1a1b41,this[_0xd70bb8(0x221)]=_0xef8160,this[_0xd70bb8(0x15f)]=_0x14c746,_0x34cb0d?_0x34cb0d==null||_0x34cb0d[_0xd70bb8(0x16a)]()['then'](()=>this['_init']()):(this[_0xd70bb8(0x10f)][_0xd70bb8(0xd0)]('[CollaborationDataLoaderController]',_0xd70bb8(0x18d)),this[_0xd70bb8(0x323)]());}async[_0x5a505c(0x323)](){const _0xe7337b=_0x5a505c,_0x3287d1=this['_urlService'][_0xe7337b(0x131)](_0xe7337b(0x127)),_0x3ce721=this[_0xe7337b(0x1bc)][_0xe7337b(0x131)](_0xe7337b(0x29c)),_0x34f3d0=this['_urlService'][_0xe7337b(0x131)]('subunit');if(!_0x3287d1||!_0x3ce721){this['_logService'][_0xe7337b(0xd0)](_0xe7337b(0x357),_0xe7337b(0x176));return;}const _0x29fa41=await this[_0xe7337b(0x15f)][_0xe7337b(0x186)](_0x3287d1,Number(_0x3ce721),_0x34f3d0);_0x29fa41&&_0x29fa41 instanceof _0x31c42f['Workbook']&&this[_0xe7337b(0x2ac)](_0x29fa41);}async[_0x5a505c(0x2ac)](_0x1a4877){const _0x21c45b=_0x5a505c;await this[_0x21c45b(0x11d)](_0x1a4877),_0x1a4877['activeSheet$'][_0x21c45b(0x321)](_0x19f1b5[_0x21c45b(0x14c)](this[_0x21c45b(0x1a1)]))['subscribe'](_0xf713d4=>{const _0x300cab=_0x21c45b;_0xf713d4&&this[_0x300cab(0x307)](_0xf713d4);}),this['_urlService'][_0x21c45b(0x305)]['pipe'](_0x19f1b5[_0x21c45b(0x14c)](this['dispose$']))[_0x21c45b(0x253)](()=>this[_0x21c45b(0x11d)](_0x1a4877));}[_0x5a505c(0x307)](_0x374b7c,_0x462870=!0x1){const _0x2f7656=_0x5a505c,_0x15aad2=this['_urlService'][_0x2f7656(0x131)]('subunit');_0x374b7c['getSheetId']()!==_0x15aad2&&this['_urlService'][_0x2f7656(0xcf)](_0x2f7656(0x32b),_0x374b7c[_0x2f7656(0x135)](),_0x462870);}async['_updateSubUnitFromURLParams'](_0xa96941){const _0x1b6772=_0x5a505c;var _0x5d749a;const _0x4fc430=this['_urlService'][_0x1b6772(0x131)](_0x1b6772(0x32b));if(!_0x4fc430||!_0xa96941[_0x1b6772(0x18f)](_0x4fc430)){const _0x19c86a=_0xa96941[_0x1b6772(0x142)]()[0x0],_0x211f10=_0xa96941[_0x1b6772(0x18f)](_0x19c86a);if(!_0x211f10)return;this[_0x1b6772(0x307)](_0x211f10,!0x0),await this[_0x1b6772(0x221)][_0x1b6772(0x1c9)](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x19c86a});return;}((_0x5d749a=_0xa96941[_0x1b6772(0x344)]())==null?void 0x0:_0x5d749a['getSheetId']())!==_0x4fc430&&await this[_0x1b6772(0x221)]['executeCommand'](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x4fc430});}},_0x4853c8['CollaborationDataLoaderController']=_0x505d25([_0x12c263(0x0,_0x2b3810),_0x12c263(0x1,_0x31c42f[_0x5a505c(0x2c4)]),_0x12c263(0x2,_0x31c42f[_0x5a505c(0xb8)]),_0x12c263(0x3,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x224)])),_0x12c263(0x4,_0x31c42f['Optional'](_0x337fcc[_0x5a505c(0x1da)]))],_0x4853c8['CollaborationDataLoaderController']);var _0x1e96e0=Object[_0x5a505c(0x239)],_0x1841aa=(_0x51dba2,_0x32afd3,_0x97e583,_0x3f40ec)=>{const _0x16086b=_0x5a505c;for(var _0x3b553b=_0x3f40ec>0x1?void 0x0:_0x3f40ec?_0x1e96e0(_0x32afd3,_0x97e583):_0x32afd3,_0xa2668c=_0x51dba2[_0x16086b(0x171)]-0x1,_0x53faeb;_0xa2668c>=0x0;_0xa2668c--)(_0x53faeb=_0x51dba2[_0xa2668c])&&(_0x3b553b=_0x53faeb(_0x3b553b)||_0x3b553b);return _0x3b553b;},_0x4234af=(_0x8ba742,_0x32ddeb)=>(_0x38a579,_0x14a9e4)=>_0x32ddeb(_0x38a579,_0x14a9e4,_0x8ba742);let _0x4c41fe=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x2a77d6,_0x4dcf1f){const _0x1f11ea=_0x5a505c;super(),this['_docClipboardService']=_0x2a77d6,this[_0x1f11ea(0xf0)]=_0x4dcf1f,this[_0x1f11ea(0x323)]();}[_0x5a505c(0x323)](){const _0x206239=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2351ea=>{const _0x2f8691=_0x1d10,_0x23a4ab=await _0x206239[_0x2f8691(0xf0)][_0x2f8691(0x138)](_0x2351ea);return _0x23a4ab?{'source':_0x23a4ab[_0x2f8691(0xff)],'imageSourceType':_0x23a4ab['imageSourceType']}:null;}}));}};_0x4c41fe=_0x1841aa([_0x4234af(0x0,_0x5e24e0['IDocClipboardService']),_0x4234af(0x1,_0xa7fa11['IImageIoService'])],_0x4c41fe);const _0x1b89e0=[_0x5a505c(0x2b3),_0x5a505c(0xd9),_0x5a505c(0x272),_0x5a505c(0x2e7),_0x5a505c(0x2d4),'yellow.400'];class _0x237c9d extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x509d12=_0x5a505c;super(...arguments),_0x5c9071(this,_0x509d12(0x1c3),new Map()),_0x5c9071(this,'_colorIndex',0x0);}[_0x5a505c(0x20b)](_0x3a8235){const _0x1624ca=_0x5a505c;if(this[_0x1624ca(0x1c3)]['has'](_0x3a8235))return this[_0x1624ca(0x1c3)][_0x1624ca(0x2af)](_0x3a8235);const _0x3c93a3=_0x1b89e0[this[_0x1624ca(0x117)]];return this[_0x1624ca(0x117)]=(this[_0x1624ca(0x117)]+0x1)%_0x1b89e0['length'],this[_0x1624ca(0x1c3)][_0x1624ca(0x277)](_0x3a8235,_0x3c93a3),_0x3c93a3;}}function _0x18315f(_0x361ce4){const _0x6147f8=_0x5a505c;let _0x4038ef='';for(const _0x516fc6 of _0x361ce4){const {startOffset:_0x465114,endOffset:_0x37a637,isActive:_0x560a2d,rangeType:_0x1b7549,segmentId:_0x51cee5,segmentPage:_0x3d170b}=_0x516fc6;_0x4038ef[_0x6147f8(0x171)]&&(_0x4038ef+=','),_0x4038ef+=_0x465114+':'+_0x37a637+':'+(_0x560a2d?'1':'0')+':'+_0x1b7549+':'+_0x51cee5+':'+_0x3d170b;}return _0x4038ef;}function _0x269ae1(_0x31c989){const _0x1c5fc5=_0x5a505c,_0x117fc5=_0x31c989[_0x1c5fc5(0xe4)](','),_0x39e593=[];for(const _0x3d1dea of _0x117fc5){const [_0x30f3a2,_0x2768b2,_0x3f9817,_0x503266,_0x42e1b3,_0x5b7030]=_0x3d1dea[_0x1c5fc5(0xe4)](':');_0x39e593[_0x1c5fc5(0x251)]({'startOffset':Number(_0x30f3a2),'endOffset':Number(_0x2768b2),'collapsed':_0x30f3a2===_0x2768b2,'isActive':_0x3f9817==='1','rangeType':_0x503266===_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]?_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]:_0x31c42f['DOC_RANGE_TYPE'][_0x1c5fc5(0xbd)],'segmentId':typeof _0x42e1b3=='string'?String(_0x42e1b3):'','segmentPage':Number(_0x5b7030!=null?_0x5b7030:-0x1)});}return _0x39e593['some'](_0x1da38c=>_0x1da38c[_0x1c5fc5(0x208)])||(_0x39e593[0x0][_0x1c5fc5(0x208)]=!0x0),_0x39e593;}class _0x17e7cc extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x75ba08=_0x5a505c;super(...arguments),_0x5c9071(this,_0x75ba08(0x2f1),new _0x19f1b5[(_0x75ba08(0x271))](null)),_0x5c9071(this,_0x75ba08(0x1e7),this['_collabCursorState$']['asObservable']());}[_0x5a505c(0x1f2)](_0x3c84f4){const _0x19bd99=_0x5a505c,{unitID:_0xd754d7,memberID:_0x3d8823,textRanges:_0x1849e1}=_0x3c84f4,_0x3aef14=_0x18315f(_0x1849e1);if(_0x3aef14==='')return;const _0x1c8e5b={'unitID':_0xd754d7,'memberID':_0x3d8823,'selection':_0x3aef14};this['_collabCursorState$'][_0x19bd99(0x22d)](_0x1c8e5b);}}var _0x4431db=Object[_0x5a505c(0x239)],_0x159b72=(_0x26518a,_0x52741c,_0x56674d,_0x4767ae)=>{const _0x382262=_0x5a505c;for(var _0x4e4349=_0x4767ae>0x1?void 0x0:_0x4767ae?_0x4431db(_0x52741c,_0x56674d):_0x52741c,_0x52267f=_0x26518a[_0x382262(0x171)]-0x1,_0x4ac651;_0x52267f>=0x0;_0x52267f--)(_0x4ac651=_0x26518a[_0x52267f])&&(_0x4e4349=_0x4ac651(_0x4e4349)||_0x4e4349);return _0x4e4349;},_0xa6491c=(_0x4b4008,_0x5a0042)=>(_0x1351f2,_0x902843)=>_0x5a0042(_0x1351f2,_0x902843,_0x4b4008);const _0x4d2c45=0x12c,_0x50d0d4=0x64;let _0x28eeff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x4f67ba,_0x3b02b1,_0x25bca8,_0x16673c,_0x430e3e,_0xf71fb4,_0x4d7820,_0x2c60ba,_0x27f83c){const _0x241209=_0x5a505c;super(),_0x5c9071(this,_0x241209(0xc0),!0x1),_0x5c9071(this,_0x241209(0x323),!0x1),_0x5c9071(this,_0x241209(0x2ea),new _0x19f1b5[(_0x241209(0x271))](new Map())),_0x5c9071(this,_0x241209(0x2d5),this[_0x241209(0x2ea)][_0x241209(0x2d6)]()),_0x5c9071(this,_0x241209(0x13b),new _0x19f1b5[(_0x241209(0x271))]([])),_0x5c9071(this,_0x241209(0x134),this['_roomMembers$'][_0x241209(0x321)](_0x19f1b5[_0x241209(0x14f)](_0x4d2c45))),_0x5c9071(this,_0x241209(0x133),_0x31c42f[_0x241209(0xfb)](_0x3da83f=>{const _0x47275f=_0x241209,_0x477256={'eventID':_0x180e29[_0x47275f(0x1c1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x47275f(0xe3)],'memberID':this['_session'][_0x47275f(0x1a2)](),'selection':_0x18315f(_0x3da83f)}};this['_session']['send'](_0x477256,this[_0x47275f(0xe3)]);},_0x50d0d4)),(this[_0x241209(0xe3)]=_0x4f67ba,this[_0x241209(0x303)]=_0x3b02b1,this[_0x241209(0x19f)]=_0x25bca8,this[_0x241209(0x125)]=_0x16673c,this['_memberService']=_0x430e3e,this[_0x241209(0x202)]=_0xf71fb4,this['_transformService']=_0x4d7820,this['_univerInstanceService']=_0x2c60ba,this[_0x241209(0x221)]=_0x27f83c);}get[_0x5a505c(0x26d)](){const _0x21410d=_0x5a505c;return this[_0x21410d(0x2ea)][_0x21410d(0x154)]();}get[_0x5a505c(0x315)](){const _0x5b4eef=_0x5a505c;return this['_roomMembers$'][_0x5b4eef(0x154)]();}[_0x5a505c(0x30a)](){const _0x4e343=_0x5a505c;super[_0x4e343(0x30a)](),this[_0x4e343(0x2ea)][_0x4e343(0x22d)](new Map()),this['_cursorInfo$']['complete'](),this[_0x4e343(0x13b)]['next']([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x337ec8=_0x5a505c;this[_0x337ec8(0x323)]||(this[_0x337ec8(0x323)]=!0x0,this[_0x337ec8(0x303)][_0x337ec8(0xeb)][_0x337ec8(0x321)](_0x19f1b5['takeUntil'](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0x25c1ab=>{const _0x147945=_0x337ec8;_0x25c1ab===_0x250f51[_0x147945(0x16e)]['ONLINE']?this[_0x147945(0x189)]():this[_0x147945(0x21c)]();}),this[_0x337ec8(0x303)]['event$'][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this['dispose$']))[_0x337ec8(0x253)](_0x4ba30f=>{const _0x4b1d1d=_0x337ec8,_0x1232af=_0x4ba30f['eventID'];_0x1232af===_0x180e29['CollaborationEvent'][_0x4b1d1d(0x2e0)]&&this[_0x4b1d1d(0x16f)](_0x4ba30f),_0x1232af===_0x180e29[_0x4b1d1d(0x1c1)]['USERS_LEAVE']&&this[_0x4b1d1d(0x213)](_0x4ba30f);}),this['disposeWithMe'](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x16d82e=>{const _0x171c19=_0x337ec8,_0x3bc003=_0x16d82e[_0x171c19(0x1ff)];_0x3bc003!=null&&this[_0x171c19(0xc0)]&&_0x16d82e['id']===_0x3f505f[_0x171c19(0x184)]['id']&&_0x3bc003[_0x171c19(0x269)]===this[_0x171c19(0xe3)]&&_0x3bc003[_0x171c19(0x25b)]===!0x1&&_0x3bc003['ranges'][_0x171c19(0x171)]>0x0&&this['_updateLocalCursor'](_0x3bc003['ranges']);})),this[_0x337ec8(0x202)][_0x337ec8(0x1e7)][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0xbd9ee4=>{const _0x3cef11=_0x337ec8;if((_0xbd9ee4==null?void 0x0:_0xbd9ee4[_0x3cef11(0xe3)])!==this['unitID'])return;const _0x26be10={'eventID':_0x180e29['CollaborationEvent'][_0x3cef11(0x2e0)],'data':_0xbd9ee4};this[_0x3cef11(0x16f)](_0x26be10);}),this[_0x337ec8(0x2c7)](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x419549=>{const _0x422577=_0x337ec8;if(_0x419549[_0x422577(0x1ff)]==null)return;const _0x58bb18=_0x419549[_0x422577(0x1ff)];if(_0x419549['id']!==_0x3f505f[_0x422577(0xbc)]['id']||_0x58bb18[_0x422577(0x269)]!==this['unitID'])return;const _0xfc7473={'id':_0x422577(0x10a),'params':_0x58bb18},_0x2677ff=this[_0x422577(0x26d)];for(const [_0x56bba9,_0x2c2cb9]of _0x2677ff){const _0xd49dc7={'id':_0x422577(0x10a),'params':{'unitId':this[_0x422577(0xe3)],'actions':null,'textRanges':_0x2c2cb9[_0x422577(0x2d3)]}},_0x312693=this[_0x422577(0x1ce)][_0x422577(0x180)](_0xfc7473,_0xd49dc7,!0x1);if(_0x180e29[_0x422577(0x296)](_0x312693))throw _0x312693[_0x422577(0x2df)];_0x2677ff[_0x422577(0x277)](_0x56bba9,{..._0x2c2cb9,'ranges':_0x312693[_0x422577(0x179)][_0x422577(0x1ff)][_0x422577(0x339)]});}queueMicrotask(()=>{const _0x47018a=_0x422577;this[_0x47018a(0x2ea)]['next'](_0x2677ff);});})));}[_0x5a505c(0x16f)](_0x53ab0b){const _0x29fba7=_0x5a505c;var _0x3f15f2,_0x2c8ada;const {memberID:_0x47e4b2,selection:_0x362a68}=_0x53ab0b[_0x29fba7(0x21a)],_0x5ee4b3=_0x269ae1(_0x362a68),_0x3893c9=(_0x2c8ada=(_0x3f15f2=this['_memberService']['getMember'](this[_0x29fba7(0xe3)],_0x47e4b2))==null?void 0x0:_0x3f15f2[_0x29fba7(0xb6)])!=null?_0x2c8ada:_0x29fba7(0x23c),_0x3b8a01={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x47e4b2),'name':_0x3893c9,'ranges':_0x5ee4b3},_0x5ce2e9=this[_0x29fba7(0x26d)];_0x5ce2e9['set'](_0x47e4b2,_0x3b8a01),this[_0x29fba7(0x2ea)][_0x29fba7(0x22d)](_0x5ce2e9);}[_0x5a505c(0x213)](_0xacf0eb){const _0x5b13a6=_0x5a505c,{memberID:_0x914be5}=_0xacf0eb[_0x5b13a6(0x21a)],_0x49f7da=this[_0x5b13a6(0x26d)];_0x49f7da[_0x5b13a6(0x1b5)](_0x914be5),this[_0x5b13a6(0x2ea)]['next'](_0x49f7da);}[_0x5a505c(0x189)](){const _0xe1c7ea=_0x5a505c;var _0x24b448;if(this[_0xe1c7ea(0xc0)]=!0x0,((_0x24b448=this[_0xe1c7ea(0x12c)]['getFocusedUnit']())==null?void 0x0:_0x24b448[_0xe1c7ea(0x262)]())!==this[_0xe1c7ea(0xe3)])return;const _0x131c1e=this[_0xe1c7ea(0x19f)][_0xe1c7ea(0x2af)](_0x3f505f['DocSelectionManagerService'])[_0xe1c7ea(0x336)]();Array[_0xe1c7ea(0x34a)](_0x131c1e)&&_0x131c1e['length']>0x0&&this[_0xe1c7ea(0x133)](_0x131c1e);}[_0x5a505c(0x21c)](){const _0x715e21=_0x5a505c;this[_0x715e21(0xc0)]=!0x1;}};_0x28eeff=_0x159b72([_0xa6491c(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0xa6491c(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0xa6491c(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0xa6491c(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0xa6491c(0x6,_0x180e29['ITransformService']),_0xa6491c(0x7,_0x31c42f[_0x5a505c(0xe8)]),_0xa6491c(0x8,_0x31c42f[_0x5a505c(0xb8)])],_0x28eeff);var _0x2ac6e1=Object['getOwnPropertyDescriptor'],_0x397afe=(_0x32ecca,_0x34b172,_0xb3db75,_0x1a6776)=>{const _0x46f1a3=_0x5a505c;for(var _0x4d2ded=_0x1a6776>0x1?void 0x0:_0x1a6776?_0x2ac6e1(_0x34b172,_0xb3db75):_0x34b172,_0x4819e1=_0x32ecca[_0x46f1a3(0x171)]-0x1,_0x1aad7;_0x4819e1>=0x0;_0x4819e1--)(_0x1aad7=_0x32ecca[_0x4819e1])&&(_0x4d2ded=_0x1aad7(_0x4d2ded)||_0x4d2ded);return _0x4d2ded;},_0x462372=(_0x3e81a0,_0x5ab8d2)=>(_0x4362e9,_0x2c5b8b)=>_0x5ab8d2(_0x4362e9,_0x2c5b8b,_0x3e81a0);const _0x2c5d28=0x12c,_0x231b85=0x64,_0x1e383f=()=>{let _0x524388=[],_0x16d50f=!0x1;return _0x2852b7=>{const _0x4b643a=_0x1d10;_0x524388[_0x4b643a(0x251)](_0x2852b7),_0x16d50f||(_0x16d50f=!0x0,setTimeout(()=>{const _0x7b2ea3=_0x4b643a;_0x524388[_0x7b2ea3(0x1de)](_0x5970d6=>_0x5970d6()),_0x524388=[],_0x16d50f=!0x1;}));};};let _0x4697a2=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1d7a8a,_0x3befc0,_0x1a6bb1,_0x44221d,_0x1380d8,_0x194ee0,_0x4033cb,_0xd2e1b3){const _0x393ec9=_0x5a505c;super(),_0x5c9071(this,_0x393ec9(0xc0),!0x1),_0x5c9071(this,_0x393ec9(0x323),!0x1),_0x5c9071(this,_0x393ec9(0x2ea),new _0x19f1b5[(_0x393ec9(0x271))](new Map())),_0x5c9071(this,_0x393ec9(0x2d5),this[_0x393ec9(0x2ea)]['asObservable']()),_0x5c9071(this,_0x393ec9(0x13b),new _0x19f1b5[(_0x393ec9(0x271))]([])),_0x5c9071(this,'roomMembers$',this[_0x393ec9(0x13b)][_0x393ec9(0x321)](_0x19f1b5[_0x393ec9(0x14f)](_0x2c5d28))),_0x5c9071(this,_0x393ec9(0x133),_0x31c42f['debounce']((_0x1eea1b,_0x262a5c)=>{const _0x4981d4=_0x393ec9,_0x411038={'eventID':_0x180e29[_0x4981d4(0x1c1)][_0x4981d4(0x2e0)],'data':{'unitID':this[_0x4981d4(0xe3)],'memberID':this[_0x4981d4(0x303)][_0x4981d4(0x1a2)](),'selection':_0x3cb4df[_0x4981d4(0x233)](_0x1eea1b,_0x262a5c[_0x4981d4(0x175)])}};this[_0x4981d4(0x303)][_0x4981d4(0x266)](_0x411038,this['unitID']);},_0x231b85)),(this['unitID']=_0x1d7a8a,this[_0x393ec9(0x303)]=_0x3befc0,this[_0x393ec9(0x19f)]=_0x1a6bb1,this[_0x393ec9(0x125)]=_0x44221d,this['_memberService']=_0x1380d8,this[_0x393ec9(0x12c)]=_0x194ee0,this[_0x393ec9(0x221)]=_0x4033cb,this[_0x393ec9(0x300)]=_0xd2e1b3);}get['cursorInfo'](){const _0x4f9395=_0x5a505c;return this[_0x4f9395(0x2ea)]['getValue']();}get[_0x5a505c(0x315)](){const _0x13cbd1=_0x5a505c;return this['_roomMembers$'][_0x13cbd1(0x154)]();}[_0x5a505c(0x30a)](){const _0x51a50e=_0x5a505c;super['dispose'](),this[_0x51a50e(0x2ea)]['next'](new Map()),this[_0x51a50e(0x2ea)]['complete'](),this['_roomMembers$'][_0x51a50e(0x22d)]([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x4a36ef=_0x5a505c;this['_init']||(this[_0x4a36ef(0x323)]=!0x0,this[_0x4a36ef(0x303)]['sessionStatus$'][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this[_0x4a36ef(0x1a1)]))['subscribe'](_0x1b2785=>{const _0x40f762=_0x4a36ef;_0x1b2785===_0x250f51['SessionStatus'][_0x40f762(0x194)]?this[_0x40f762(0x189)]():this[_0x40f762(0x21c)]();}),this[_0x4a36ef(0x303)][_0x4a36ef(0xe1)][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this['dispose$']))[_0x4a36ef(0x253)](_0x261e06=>{const _0x4f4599=_0x4a36ef,_0x590580=_0x261e06[_0x4f4599(0x1a4)];_0x590580===_0x180e29[_0x4f4599(0x1c1)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x261e06),_0x590580===_0x180e29['CollaborationEvent'][_0x4f4599(0x351)]&&this[_0x4f4599(0x213)](_0x261e06);}),this[_0x4a36ef(0x280)](),this[_0x4a36ef(0x2c7)](this['_commandService'][_0x4a36ef(0x123)](_0x41e7fa=>{const _0x152322=_0x4a36ef;if(this[_0x152322(0xc0)]&&_0x41e7fa['id']===_0x56db06[_0x152322(0x329)]['id']&&_0x41e7fa[_0x152322(0x1ff)][_0x152322(0x269)]===this[_0x152322(0xe3)]){const _0x71dc04=_0x41e7fa[_0x152322(0x1ff)];this[_0x152322(0x133)](_0x71dc04[_0x152322(0x29e)],_0x71dc04['selections'][0x0]);}})));}[_0x5a505c(0x16f)](_0x4cc19a){const _0x34520b=_0x5a505c;var _0x15fad7,_0x5b6b82;const {memberID:_0x406397,selection:_0x9ef882}=_0x4cc19a[_0x34520b(0x21a)],{sheetName:_0x594d33,range:_0x150996}=_0x3cb4df['deserializeRangeWithSheet'](_0x9ef882),_0x51bbb9={'name':(_0x5b6b82=(_0x15fad7=this[_0x34520b(0x2e3)][_0x34520b(0x2bc)](this[_0x34520b(0xe3)],_0x406397))==null?void 0x0:_0x15fad7[_0x34520b(0xb6)])!=null?_0x5b6b82:'Unknown\x20user','range':this[_0x34520b(0xed)](_0x594d33,_0x150996),'sheetID':_0x594d33,'color':this[_0x34520b(0x125)]['assignAColorForMemberID'](_0x406397),'selection':_0x9ef882},_0x448c0d=this[_0x34520b(0x26d)];_0x448c0d['set'](_0x406397,_0x51bbb9),this[_0x34520b(0x2ea)][_0x34520b(0x22d)](_0x448c0d);}[_0x5a505c(0x213)](_0x38383f){const _0x4d7dac=_0x5a505c,{memberID:_0xe72bb0}=_0x38383f['data'],_0x4f8599=this[_0x4d7dac(0x26d)];_0x4f8599[_0x4d7dac(0x1b5)](_0xe72bb0),this[_0x4d7dac(0x2ea)][_0x4d7dac(0x22d)](_0x4f8599);}[_0x5a505c(0xed)](_0x30e38c,_0x40a18e){const _0x28b7c9=_0x5a505c;var _0xb1e571,_0x5c5b8c;const _0x454e07=(_0x5c5b8c=(_0xb1e571=this['_univerInstanceService'][_0x28b7c9(0x1ba)](this[_0x28b7c9(0xe3)]))==null?void 0x0:_0xb1e571[_0x28b7c9(0x18f)](_0x30e38c))==null?void 0x0:_0x5c5b8c['getMergeData']();return(_0x454e07==null?void 0x0:_0x454e07['find'](_0x2d27db=>_0x31c42f[_0x28b7c9(0x1f5)][_0x28b7c9(0x24c)](_0x2d27db,_0x40a18e)))||_0x40a18e;}['_onRefRangeChange'](){const _0x4fd27f=_0x5a505c,_0x4a611d=new _0x31c42f[(_0x4fd27f(0x182))](),_0x2fb9d9=_0x1e383f(),_0x2e5383=()=>{const _0x1f447c=_0x4fd27f;_0x4a611d['dispose']();const _0x3d7459=(_0x13d41f,_0x29c00f,_0x18fc7a,_0x731c2a)=>{const _0x373f1c=_0x1d10;let _0x200ca5=[];switch(_0x13d41f['id']){case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x18e)]:{_0x200ca5=_0x56db06[_0x373f1c(0x16b)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x119)]:{_0x200ca5=_0x56db06[_0x373f1c(0x2da)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId']['InsertColCommandId']:{_0x200ca5=_0x56db06[_0x373f1c(0x2be)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x2fe)]:{_0x200ca5=_0x56db06[_0x373f1c(0x1ad)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x21d)]:{_0x200ca5=_0x56db06[_0x373f1c(0x245)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x242)]:{_0x200ca5=_0x56db06[_0x373f1c(0x25a)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)]['MoveRangeCommandId']:{_0x200ca5=_0x56db06['handleMoveRange'](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x159)]:{_0x200ca5=_0x56db06[_0x373f1c(0x257)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x1e4)]:{_0x200ca5=_0x56db06[_0x373f1c(0x132)](_0x13d41f,_0x731c2a);break;}}const _0x2e3127=_0x56db06[_0x373f1c(0x343)](_0x200ca5,_0x731c2a),_0xf95e8=this[_0x373f1c(0x26d)][_0x373f1c(0x2af)](_0x29c00f);if(_0xf95e8&&_0x2e3127){const _0x52c30a={..._0xf95e8,'range':_0x2e3127};this[_0x373f1c(0x26d)][_0x373f1c(0x277)](_0x29c00f,_0x52c30a),_0x2fb9d9(()=>{const _0x647725=_0x373f1c,_0xcf91cb=this[_0x647725(0x300)]['registerRefRange'](_0x2e3127,_0x1bec3a=>(_0xcf91cb['dispose'](),_0x3d7459(_0x1bec3a,_0x29c00f,_0x18fc7a,_0x2e3127)));_0x4a611d['add'](_0xcf91cb);});}return{'redos':[],'undos':[]};};this[_0x1f447c(0x26d)][_0x1f447c(0x1de)]((_0x59981c,_0x138b56)=>{const _0x36c8fe=_0x1f447c,{range:_0x1307ad,sheetID:_0x4226af}=_0x59981c,_0x17af67=this[_0x36c8fe(0x300)][_0x36c8fe(0x246)](_0x1307ad,_0x4d5311=>(_0x17af67[_0x36c8fe(0x30a)](),_0x3d7459(_0x4d5311,_0x138b56,_0x4226af,_0x1307ad)));_0x4a611d[_0x36c8fe(0x13c)](_0x17af67);});};this[_0x4fd27f(0x2c7)](_0x31c42f['toDisposable'](this['_cursorInfo$'][_0x4fd27f(0x253)](()=>{_0x2e5383();})));}[_0x5a505c(0x189)](){const _0x4f33bd=_0x5a505c;var _0x16dd91,_0xe78d41;if(this['_online']=!0x0,((_0x16dd91=this[_0x4f33bd(0x12c)][_0x4f33bd(0x290)]())==null?void 0x0:_0x16dd91[_0x4f33bd(0x262)]())!==this[_0x4f33bd(0xe3)])return;const _0x3c56f1=(_0xe78d41=this[_0x4f33bd(0x19f)]['get'](_0x56db06[_0x4f33bd(0x342)])[_0x4f33bd(0xdc)]())==null?void 0x0:_0xe78d41[0x0],_0x5eb7af=this[_0x4f33bd(0x12c)][_0x4f33bd(0x115)](_0x31c42f[_0x4f33bd(0x330)][_0x4f33bd(0x2dd)])[_0x4f33bd(0x344)]();_0x3c56f1&&_0x5eb7af&&this[_0x4f33bd(0x133)](_0x5eb7af['getSheetId'](),_0x3c56f1);}[_0x5a505c(0x21c)](){const _0xb91fc7=_0x5a505c;this[_0xb91fc7(0xc0)]=!0x1;}};_0x4697a2=_0x397afe([_0x462372(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0x462372(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0x462372(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0x462372(0x5,_0x31c42f['IUniverInstanceService']),_0x462372(0x6,_0x31c42f[_0x5a505c(0xb8)]),_0x462372(0x7,_0x31c42f[_0x5a505c(0x107)](_0x56db06[_0x5a505c(0x116)]))],_0x4697a2);var _0x3f0257=Object[_0x5a505c(0x239)],_0x24b0d7=(_0x15a1a8,_0x3d5b94,_0x395e0e,_0xdbf5dc)=>{for(var _0x102456=_0xdbf5dc>0x1?void 0x0:_0xdbf5dc?_0x3f0257(_0x3d5b94,_0x395e0e):_0x3d5b94,_0x1535c6=_0x15a1a8['length']-0x1,_0x4865e3;_0x1535c6>=0x0;_0x1535c6--)(_0x4865e3=_0x15a1a8[_0x1535c6])&&(_0x102456=_0x4865e3(_0x102456)||_0x102456);return _0x102456;},_0x177f3f=(_0x2419b7,_0x131228)=>(_0x58745b,_0x2df040)=>_0x131228(_0x58745b,_0x2df040,_0x2419b7);let _0x53c0b4=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1f683c,_0x124417,_0x4c1784){const _0x3efab4=_0x5a505c;super(),_0x5c9071(this,_0x3efab4(0x2f5),new Map()),_0x5c9071(this,_0x3efab4(0xec),new _0x19f1b5['Subject']()),(this['_univerInstanceService']=_0x1f683c,this[_0x3efab4(0x19f)]=_0x124417,this['_collabSessionService']=_0x4c1784,this[_0x3efab4(0x323)]());}[_0x5a505c(0x30a)](){const _0x389e0f=_0x5a505c;super[_0x389e0f(0x30a)](),this[_0x389e0f(0xec)]['complete'](),this[_0x389e0f(0x2f5)][_0x389e0f(0x1de)](_0x28935b=>_0x28935b[_0x389e0f(0x30a)]());}[_0x5a505c(0x28c)](_0x5dc6e7){const _0x43ac23=_0x5a505c;return this[_0x43ac23(0x2f5)]['has'](_0x5dc6e7)?this[_0x43ac23(0x2f5)][_0x43ac23(0x2af)](_0x5dc6e7)[_0x43ac23(0x2d5)]:this['_entityInit$'][_0x43ac23(0x321)](_0x19f1b5[_0x43ac23(0x254)](_0x305871=>_0x305871['unitID']===_0x5dc6e7),_0x19f1b5[_0x43ac23(0x1d8)](_0x1cc1da=>_0x1cc1da[_0x43ac23(0x2d5)]));}[_0x5a505c(0x323)](){const _0x3c37f1=_0x5a505c;this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)])[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](async _0x48bfa7=>{const _0x34757c=_0x3c37f1,_0x2b1b97=_0x48bfa7[_0x34757c(0x262)](),_0x7e5c51=await this[_0x34757c(0x217)](_0x2b1b97);this['_entityInit$'][_0x34757c(0x22d)](_0x7e5c51),this['_entities']['set'](_0x2b1b97,_0x7e5c51);}),this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)])['pipe'](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x254)](_0x26b33e=>!_0x26b33e[_0x3c37f1(0x262)]()[_0x3c37f1(0xd7)]('__')))['subscribe'](async _0x127ac5=>{const _0x319835=_0x3c37f1,_0x2af863=_0x127ac5[_0x319835(0x262)](),_0x1fc11d=await this[_0x319835(0x101)](_0x2af863);this[_0x319835(0xec)][_0x319835(0x22d)](_0x1fc11d),this[_0x319835(0x2f5)]['set'](_0x2af863,_0x1fc11d);}),_0x19f1b5['merge'](this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)]),this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](_0x5e61ef=>{const _0x37f33d=_0x3c37f1,_0x5c25e9=_0x5e61ef[_0x37f33d(0x262)](),_0x58cb19=this[_0x37f33d(0x2f5)][_0x37f33d(0x2af)](_0x5c25e9);_0x58cb19&&(_0x58cb19[_0x37f33d(0x30a)](),this[_0x37f33d(0x2f5)]['delete'](_0x5c25e9));});}async['_startSheetCollabCursor'](_0x288e98){const _0x5f276c=_0x5a505c,_0x56e9cb=await this[_0x5f276c(0x278)][_0x5f276c(0xea)](_0x288e98),_0x1b4704=this[_0x5f276c(0x19f)][_0x5f276c(0x312)](_0x4697a2,_0x288e98,_0x56e9cb);return _0x1b4704[_0x5f276c(0x201)](),_0x1b4704;}async[_0x5a505c(0x101)](_0x6c854b){const _0x45191e=_0x5a505c,_0x663ea8=await this[_0x45191e(0x278)][_0x45191e(0xea)](_0x6c854b),_0x2142ad=this['_injector']['createInstance'](_0x28eeff,_0x6c854b,_0x663ea8);return _0x2142ad[_0x45191e(0x201)](),_0x2142ad;}};_0x53c0b4=_0x24b0d7([_0x177f3f(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x177f3f(0x1,_0x31c42f['Inject'](_0x31c42f['Injector'])),_0x177f3f(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x146)]))],_0x53c0b4);const _0x1beee5=0x14,_0x598b09=0xc8,_0x47120a=0x4,_0x40eb52=0x5;function _0x14a70a(_0x3aa3c7,_0x4f5cb5){const _0x47093a=_0x5a505c;let {radius:_0x25222f,width:_0x26d51f,height:_0x53441a}=_0x4f5cb5;_0x25222f=_0x25222f!=null?_0x25222f:0x0,_0x26d51f=_0x26d51f!=null?_0x26d51f:0x1e,_0x53441a=_0x53441a!=null?_0x53441a:0x1e;let _0x32538c=0x0,_0x5f2ddf=0x0,_0x480e93=0x0;_0x32538c=_0x5f2ddf=_0x480e93=Math[_0x47093a(0x18b)](_0x25222f,_0x26d51f/0x2,_0x53441a/0x2),_0x3aa3c7[_0x47093a(0x320)](),_0x3aa3c7['moveTo'](_0x32538c,0x0),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f-_0x5f2ddf,0x0),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x5f2ddf,_0x5f2ddf,_0x5f2ddf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f,_0x53441a-_0x480e93),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x480e93,_0x53441a-_0x480e93,_0x480e93,0x0,Math['PI']/0x2,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x53441a),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x32538c),_0x3aa3c7[_0x47093a(0x2d9)](_0x32538c,_0x32538c,_0x32538c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aa3c7[_0x47093a(0x223)](),_0x4f5cb5[_0x47093a(0x1ab)]&&(_0x3aa3c7[_0x47093a(0x187)](),_0x3aa3c7[_0x47093a(0x130)]=_0x4f5cb5[_0x47093a(0x1ab)],_0x4f5cb5[_0x47093a(0x317)]===_0x47093a(0x204)?_0x3aa3c7[_0x47093a(0x1ab)]('evenodd'):_0x3aa3c7[_0x47093a(0x1ab)](),_0x3aa3c7[_0x47093a(0x1f7)]());}class _0x5199f8 extends _0x1f1202['Shape']{constructor(_0x18a5cc,_0xfb42ad){const _0x263f79=_0x5a505c;super(_0x18a5cc,_0xfb42ad),_0x5c9071(this,_0x263f79(0x1aa)),_0x5c9071(this,_0x263f79(0x1dd)),(this[_0x263f79(0x1aa)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1aa)],this[_0x263f79(0x1dd)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1dd)]);}static[_0x5a505c(0x334)](_0x4880aa,_0x28971b){const _0x316f1e=_0x5a505c,{text:_0x59e42b,color:_0x4fec8b}=_0x28971b;_0x4880aa['save'](),_0x4880aa['font']=_0x316f1e(0x236);const _0x47f5b5=_0x4880aa['measureText'](_0x59e42b)[_0x316f1e(0x1c7)],_0x5f521e=Math[_0x316f1e(0x18b)](_0x47f5b5+0x2*_0x47120a,_0x598b09);_0x14a70a(_0x4880aa,{'height':_0x1beee5,'radius':0x4,'width':_0x5f521e,'fill':_0x4fec8b}),_0x4880aa[_0x316f1e(0x130)]=_0x316f1e(0x28d);const _0x365f7d=_0x47120a,_0x4e10ef=_0x1beee5-_0x40eb52,_0x38b471=_0x598b09-0x2*_0x47120a;if(_0x47f5b5>_0x38b471){let _0x4d0d78='',_0x353469=0x0;for(const _0x3d2010 of _0x59e42b){const _0xfe8345=_0x4880aa[_0x316f1e(0xc3)](_0x3d2010)['width'];if(_0x353469+_0xfe8345<=_0x38b471-_0x4880aa[_0x316f1e(0xc3)](_0x316f1e(0x354))[_0x316f1e(0x1c7)])_0x4d0d78+=_0x3d2010,_0x353469+=_0xfe8345;else{_0x4d0d78+=_0x316f1e(0x354);break;}}_0x4880aa[_0x316f1e(0xfa)](_0x4d0d78,_0x365f7d,_0x4e10ef);}else _0x4880aa['fillText'](_0x59e42b,_0x365f7d,_0x4e10ef);_0x4880aa[_0x316f1e(0x1f7)]();}[_0x5a505c(0x2a6)](_0x2d8fb1){const _0x441901=_0x5a505c;_0x5199f8[_0x441901(0x334)](_0x2d8fb1,this);}}const _0x59ee6a=_0x5a505c(0x1c4),_0xf5cea0='collab-text-range-',_0xa6cfd7=_0x5a505c(0x247),_0x478c75=0x6,_0x42d9c0=1.5,_0x51eede=0x4,_0xad25d=1.5,_0x5ec35b=_0x5a505c(0x2fd);class _0x4c24ee{constructor(_0x21cedb,_0x3bef14,_0x4fbfef,_0x5640bb){const _0x56e63f=_0x5a505c;_0x5c9071(this,_0x56e63f(0x2c8),[]),_0x5c9071(this,'_anchor',null),_0x5c9071(this,_0x56e63f(0x165),null),_0x5c9071(this,_0x56e63f(0x108),null),_0x5c9071(this,_0x56e63f(0x2d2),null),_0x5c9071(this,_0x56e63f(0x20a),null),(this[_0x56e63f(0x212)]=_0x21cedb,this[_0x56e63f(0x32e)]=_0x3bef14,this[_0x56e63f(0x1cd)]=_0x4fbfef,this['_document']=_0x5640bb,this[_0x56e63f(0x149)]());}set[_0x5a505c(0x168)](_0xe2bc5e){const _0x57417f=_0x5a505c;_0xe2bc5e?(this[_0x57417f(0x108)]&&this[_0x57417f(0x108)][_0x57417f(0x163)](),this[_0x57417f(0x165)]&&this['_textBubble'][_0x57417f(0x2fa)]()):(this[_0x57417f(0x108)]&&this['_anchorDot'][_0x57417f(0x2fa)](),this[_0x57417f(0x165)]&&this[_0x57417f(0x165)][_0x57417f(0x163)]());}[_0x5a505c(0x30a)](){const _0x480fe9=_0x5a505c;for(const _0x1fb038 of this[_0x480fe9(0x2c8)])_0x1fb038['dispose']();this[_0x480fe9(0x165)]&&this[_0x480fe9(0x165)][_0x480fe9(0x30a)](),this[_0x480fe9(0x108)]&&this[_0x480fe9(0x108)]['dispose'](),this[_0x480fe9(0x128)]&&this['_anchor']['dispose'](),this[_0x480fe9(0x20a)]&&this['_eventUnsubscribe']();}[_0x5a505c(0x149)](){const _0x3fc4d2=_0x5a505c;var _0xad8587;const {_docSkeleton:_0x54fb93,_document:_0x1e2a20}=this,{color:_0x54b018,name:_0x34ada6,ranges:_0x26f7b2}=this[_0x3fc4d2(0x212)],_0x41410a=_0x1e2a20[_0x3fc4d2(0x34e)](),{docsLeft:_0xab54cb,docsTop:_0xfd53b9}=_0x41410a,_0x52779b=new _0x5e24e0[(_0x3fc4d2(0x10b))](_0x41410a,_0x54fb93);for(const {startOffset:_0x3503eb,endOffset:_0x2ad368,rangeType:_0x3498d0,segmentId:_0x4a6ea4,segmentPage:_0x3a0a6e,collapsed:_0x16f12a,isActive:_0x11b2ff}of _0x26f7b2){const _0x5c9360=_0x54fb93[_0x3fc4d2(0x338)](_0x3503eb,!0x0,_0x4a6ea4,_0x3a0a6e);let _0x3071df=_0x54fb93[_0x3fc4d2(0x338)](_0x2ad368,!0x0,_0x4a6ea4,_0x3a0a6e);if(_0x3071df==null&&(_0x3071df=_0x54fb93['findNodePositionByCharIndex'](_0x2ad368-0x1,!0x1,_0x4a6ea4,_0x3a0a6e)),_0x11b2ff){const {contentBoxPointGroup:_0x644a8}=_0x52779b[_0x3fc4d2(0x156)](_0x3071df,_0x3071df);if(_0x644a8[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x2a2)](_0x54b018,_0x644a8,_0xab54cb,_0xfd53b9,_0x34ada6),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x5c9360&&_0x3071df){if(_0x3498d0===_0x31c42f[_0x3fc4d2(0x2b1)][_0x3fc4d2(0xbd)]){const _0x1a6b01=new _0x5e24e0[(_0x3fc4d2(0x345))](_0x41410a,_0x54fb93),{pointGroup:_0x26d7e2}=(_0xad8587=_0x1a6b01['getRangePointData'](_0x5c9360,_0x3071df))!=null?_0xad8587:{};if(_0x26d7e2==null||_0x26d7e2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0xda)](_0x54b018,_0x26d7e2,_0xab54cb,_0xfd53b9);}else{if(!_0x16f12a){const {borderBoxPointGroup:_0x2cfad2}=_0x52779b['getRangePointData'](_0x5c9360,_0x3071df);if(_0x2cfad2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x33a)](_0x54b018,_0x2cfad2,_0xab54cb,_0xfd53b9);}}}}}[_0x5a505c(0x2a2)](_0x1c47b2,_0x574007,_0x17dd68,_0x231aaf,_0x20c290){const _0x51d47c=_0x5a505c,_0x263e3c=this['_getAnchorBounding'](_0x574007),{left:_0x1f8022,top:_0x4689db,height:_0x43dbe3}=_0x263e3c,_0x1b0255=this[_0x51d47c(0x2ba)](),_0x386cf9=_0xad25d/_0x1b0255,_0x779208=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf,'height':_0x43dbe3,'width':_0x42d9c0,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'strokeWidth':_0x386cf9,'stroke':_0x5ec35b,'evented':!0x0});this['_anchor']=_0x779208,this['_scene'][_0x51d47c(0x28e)](_0x779208,_0x5e24e0['TEXT_RANGE_LAYER_INDEX']);const _0x1daec1=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x51eede/0x2,'height':_0x51eede,'width':_0x51eede,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f['COLORS'][_0x51d47c(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0x1c47b2||_0x1f1202[_0x51d47c(0x1af)](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1daec1,this[_0x51d47c(0x32e)][_0x51d47c(0x28e)](_0x1daec1,_0x5e24e0[_0x51d47c(0x1cc)]);const _0x41b41d=new _0x5199f8(_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x1beee5,'text':_0x20c290,'color':_0x1c47b2});this[_0x51d47c(0x165)]=_0x41b41d,this['_scene']['addObject'](_0x41b41d,_0x5e24e0[_0x51d47c(0x1cc)]),this[_0x51d47c(0x168)]=!0x1;}[_0x5a505c(0x1fc)](){const _0x492a93=_0x5a505c,_0x3fc276=this['_anchor'][_0x492a93(0x2d7)][_0x492a93(0x25e)](()=>{this['_hover']=!0x0;}),_0x2960df=this[_0x492a93(0x128)][_0x492a93(0x2e4)][_0x492a93(0x25e)](()=>{const _0x5e1b12=_0x492a93;this[_0x5e1b12(0x2d2)]&&clearTimeout(this[_0x5e1b12(0x2d2)]),this[_0x5e1b12(0x2d2)]=setTimeout(()=>{const _0x4cec20=_0x5e1b12;this[_0x4cec20(0x168)]=!0x1;},0x7d0);});return()=>{const _0x5d742d=_0x492a93;_0x3fc276['unsubscribe'](),_0x2960df[_0x5d742d(0xdb)]();};}[_0x5a505c(0x33a)](_0x372705,_0x541939,_0x7e9b3f,_0x7ac1ed){const _0x198175=_0x5a505c,_0x3e087c=new _0x31c42f[(_0x198175(0x172))](_0x372705)['setAlpha'](0.2)['toRgbString'](),_0x50f91d=new _0x1f1202[(_0x198175(0xef))](_0xf5cea0+_0x31c42f[_0x198175(0x301)](_0x478c75),{'pointsGroup':_0x541939,'fill':_0x3e087c||_0x1f1202[_0x198175(0x1af)](_0x31c42f[_0x198175(0x1eb)][_0x198175(0x2ed)],0.2),'left':_0x7e9b3f,'top':_0x7ac1ed,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x50f91d),this[_0x198175(0x32e)][_0x198175(0x28e)](_0x50f91d,_0x5e24e0[_0x198175(0x1cc)]);}[_0x5a505c(0xda)](_0x43c4a4,_0xeb14d6,_0x2b2d6c,_0x4fbd66){const _0xdf71f3=_0x5a505c,_0x551df0=new _0x31c42f[(_0xdf71f3(0x172))](_0x43c4a4)[_0xdf71f3(0x17f)](0.2)['toRgbString'](),_0xdf816=new _0x1f1202[(_0xdf71f3(0xef))](_0xa6cfd7+_0x31c42f[_0xdf71f3(0x301)](_0x478c75),{'pointsGroup':_0xeb14d6,'fill':_0x551df0||_0x1f1202['getColor'](_0x31c42f[_0xdf71f3(0x1eb)][_0xdf71f3(0x2ed)],0.2),'left':_0x2b2d6c,'top':_0x4fbd66,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdf71f3(0x2c8)][_0xdf71f3(0x251)](_0xdf816),this[_0xdf71f3(0x32e)][_0xdf71f3(0x28e)](_0xdf816,_0x5e24e0[_0xdf71f3(0x1cc)]);}[_0x5a505c(0x352)](_0x2a4065){const _0x186891=_0x2a4065[0x0],_0x59f1e3=_0x186891[0x0],_0x46c6ff=_0x186891[0x2],{x:_0x44bfb5,y:_0x5325e1}=_0x59f1e3,{x:_0x302087,y:_0x174fea}=_0x46c6ff;return{'left':_0x44bfb5,'top':_0x5325e1,'width':_0x302087-_0x44bfb5,'height':_0x174fea-_0x5325e1};}[_0x5a505c(0x2ba)](){const _0x39a5c7=_0x5a505c,{scaleX:_0x3f1cea,scaleY:_0x2683a6}=this[_0x39a5c7(0x32e)]['getAncestorScale']();return Math['max'](_0x3f1cea,_0x2683a6);}}var _0x1e789e=Object['getOwnPropertyDescriptor'],_0x1f619e=(_0x2e3119,_0x34cff4,_0x232eab,_0x523334)=>{const _0x448efd=_0x5a505c;for(var _0x4e0aff=_0x523334>0x1?void 0x0:_0x523334?_0x1e789e(_0x34cff4,_0x232eab):_0x34cff4,_0x3d5a06=_0x2e3119[_0x448efd(0x171)]-0x1,_0xd62b6d;_0x3d5a06>=0x0;_0x3d5a06--)(_0xd62b6d=_0x2e3119[_0x3d5a06])&&(_0x4e0aff=_0xd62b6d(_0x4e0aff)||_0x4e0aff);return _0x4e0aff;},_0x24fbd9=(_0x294076,_0x9dc97c)=>(_0xbc5d1d,_0x3e0a76)=>_0x9dc97c(_0xbc5d1d,_0x3e0a76,_0x294076);let _0x30fd5f=class extends _0x31c42f['RxDisposable']{constructor(_0x5823e4,_0x516b7d,_0x2af84d,_0x25dd12,_0x232c0a){const _0x3cb8f0=_0x5a505c;super(),_0x5c9071(this,'_cursorShapes',[]),_0x5c9071(this,_0x3cb8f0(0xba),[]),(this[_0x3cb8f0(0x1b8)]=_0x5823e4,this[_0x3cb8f0(0xdf)]=_0x516b7d,this[_0x3cb8f0(0x139)]=_0x2af84d,this['_commandService']=_0x25dd12,this[_0x3cb8f0(0x2e9)]=_0x232c0a,this[_0x3cb8f0(0x323)]());}['_init'](){const _0x26393f=_0x5a505c,_0x1c22e5=this[_0x26393f(0x1b8)][_0x26393f(0x269)],_0xc157af=this[_0x26393f(0xdf)];this['disposeWithMe'](_0x19f1b5[_0x26393f(0x229)]([this['_collabCursorController']['getCollabCursors$'](_0x1c22e5),this[_0x26393f(0x2e9)][_0x26393f(0xd3)]])[_0x26393f(0x321)](_0x456c9e['map'](([_0xd503fd,_0x47b755])=>({'skeleton':_0xc157af['getSkeleton'](),'cursors':[..._0xd503fd[_0x26393f(0x157)]()][_0x26393f(0xbf)](_0x3095ba=>({..._0x3095ba,'color':this['_themeService'][_0x26393f(0x1db)](_0x3095ba[_0x26393f(0x1aa)])}))})))[_0x26393f(0x253)](_0x4489e7=>{const _0x139aef=_0x26393f;if(this[_0x139aef(0x1b2)](),_0x4489e7){const {skeleton:_0x5aba19,cursors:_0x5b3fcd}=_0x4489e7;this[_0x139aef(0x150)](_0x5aba19,_0x5b3fcd);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x5a505c(0x150)](_0x3470d9,_0x14cc78){const _0x4c8370=_0x5a505c,{scene:_0x18d7b7,mainComponent:_0x16a8a5}=this[_0x4c8370(0x1b8)],_0x55a7ae=_0x14cc78[_0x4c8370(0x219)](_0x104752=>new _0x4c24ee(_0x104752,_0x18d7b7,_0x3470d9,_0x16a8a5));this[_0x4c8370(0x200)]=_0x55a7ae,this[_0x4c8370(0xba)]=_0x14cc78;}[_0x5a505c(0x326)](){const _0x47939f=_0x5a505c;this[_0x47939f(0x1b2)]();const {scene:_0x4cc1f5,mainComponent:_0x5a9d43}=this[_0x47939f(0x1b8)],_0x19413d=this[_0x47939f(0xdf)][_0x47939f(0x23f)](),_0x138754=this[_0x47939f(0xba)][_0x47939f(0x219)](_0x29a0e4=>new _0x4c24ee(_0x29a0e4,_0x4cc1f5,_0x19413d,_0x5a9d43));this[_0x47939f(0x200)]=_0x138754;}[_0x5a505c(0x1b2)](){const _0x49586d=_0x5a505c;this[_0x49586d(0x200)]['forEach'](_0x413d33=>_0x413d33[_0x49586d(0x30a)]()),this[_0x49586d(0x200)]=[];}[_0x5a505c(0x124)](){const _0x32ff7e=_0x5a505c,_0x133589=[_0x5e24e0[_0x32ff7e(0xc6)]['id']];this[_0x32ff7e(0x2c7)](this[_0x32ff7e(0x221)][_0x32ff7e(0x123)](_0x170086=>{const _0x3e1fb0=_0x32ff7e;_0x133589[_0x3e1fb0(0x1d7)](_0x170086['id'])&&_0x170086[_0x3e1fb0(0x1ff)][_0x3e1fb0(0x269)]===this[_0x3e1fb0(0x1b8)][_0x3e1fb0(0x269)]&&this[_0x3e1fb0(0x326)]();}));}['_initResize'](){const _0x4ad390=_0x5a505c;this[_0x4ad390(0x2c7)](_0x31c42f[_0x4ad390(0x18a)](this[_0x4ad390(0x1b8)]['engine']['onTransformChange$'])['pipe'](_0x456c9e[_0x4ad390(0x254)](_0x255a0c=>_0x255a0c[_0x4ad390(0x29c)]===_0x1f1202[_0x4ad390(0x333)][_0x4ad390(0x32a)]),_0x456c9e[_0x4ad390(0x1dc)](0x10))[_0x4ad390(0x253)](()=>{const _0x454c47=_0x4ad390;this[_0x454c47(0x326)]();}));}};_0x30fd5f=_0x1f619e([_0x24fbd9(0x1,_0x31c42f['Inject'](_0x3f505f[_0x5a505c(0x2aa)])),_0x24fbd9(0x2,_0x31c42f['Inject'](_0x53c0b4)),_0x24fbd9(0x3,_0x31c42f[_0x5a505c(0xb8)]),_0x24fbd9(0x4,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['ThemeService']))],_0x30fd5f);const _0x4b5a59=0x1,_0x42e9d3=1.5;class _0x2dccfc extends _0x1f1202[_0x5a505c(0x155)]{constructor(_0x19fee8,_0x260568){const _0x7f2b98=_0x5a505c;super(_0x19fee8,_0x260568),_0x5c9071(this,_0x7f2b98(0x15c)),_0x5c9071(this,_0x7f2b98(0x25c),!0x1),_0x5c9071(this,'_range'),_0x5c9071(this,_0x7f2b98(0x21e),''),_0x5c9071(this,_0x7f2b98(0x2ce),_0x7f2b98(0x273)),_0x5c9071(this,_0x7f2b98(0xcc)),(_0x260568&&this[_0x7f2b98(0x20f)](_0x260568),this[_0x7f2b98(0x2d7)][_0x7f2b98(0x25e)](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x0})),this[_0x7f2b98(0x2e4)]['subscribeEvent'](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x1})));}[_0x5a505c(0x20f)](_0x25caea){const _0x27cb91=_0x5a505c;var _0x52d461,_0x2dc199,_0x5d70fc,_0x2d2cd7,_0x412eab,_0x326c71;this['_color']=(_0x52d461=_0x25caea[_0x27cb91(0x1aa)])!=null?_0x52d461:this[_0x27cb91(0x15c)],this[_0x27cb91(0x25c)]=(_0x2dc199=_0x25caea[_0x27cb91(0x1b0)])!=null?_0x2dc199:this[_0x27cb91(0x25c)],this[_0x27cb91(0x164)]=(_0x5d70fc=_0x25caea['range'])!=null?_0x5d70fc:this['_range'],this['_name']=(_0x2d2cd7=_0x25caea['name'])!=null?_0x2d2cd7:this[_0x27cb91(0x21e)],this[_0x27cb91(0x2ce)]=(_0x412eab=_0x25caea[_0x27cb91(0x129)])!=null?_0x412eab:this[_0x27cb91(0x2ce)],this['_backgroundColor']=(_0x326c71=_0x25caea[_0x27cb91(0x106)])!=null?_0x326c71:this['_backgroundColor'],this[_0x27cb91(0xfd)]({'width':_0x25caea[_0x27cb91(0x1c7)],'height':_0x25caea[_0x27cb91(0x22b)]});}['onMouseMove'](_0x4c4cea){const _0xd517a5=_0x5a505c,{row:_0x20148c,column:_0x277603}=_0x4c4cea;if(_0x20148c>=this[_0xd517a5(0x164)][_0xd517a5(0x17a)]&&_0x20148c<=this[_0xd517a5(0x164)][_0xd517a5(0x308)]&&_0x277603>=this['_range'][_0xd517a5(0x30f)]&&_0x277603<=this[_0xd517a5(0x164)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xd517a5(0x20f)]({'hovered':!0x1});}['triggerDblclick'](_0x220ebe){return!0x1;}['_draw'](_0x448418){const _0x5c7b5f=_0x5a505c;_0x1f1202[_0x5c7b5f(0x2fb)][_0x5c7b5f(0x334)](_0x448418,{'width':this[_0x5c7b5f(0x1c7)],'height':this[_0x5c7b5f(0x22b)],'strokeWidth':_0x42e9d3,'stroke':this[_0x5c7b5f(0x15c)],'evented':!0x1,'fill':this[_0x5c7b5f(0xcc)]}),this[_0x5c7b5f(0x25c)]&&(_0x448418[_0x5c7b5f(0x187)](),_0x448418[_0x5c7b5f(0xfc)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c7b5f(0x2ce)]===_0x5c7b5f(0x28b)?0x0:-_0x1beee5),_0x5199f8['drawWith'](_0x448418,{'text':this[_0x5c7b5f(0x21e)],'color':this[_0x5c7b5f(0x15c)]}),_0x448418[_0x5c7b5f(0x1f7)]());}}var _0x6f5e44=Object['getOwnPropertyDescriptor'],_0xfec76b=(_0x52faf4,_0x3474d8,_0x376627,_0x3ce35f)=>{const _0x35e74d=_0x5a505c;for(var _0x5c2b33=_0x3ce35f>0x1?void 0x0:_0x3ce35f?_0x6f5e44(_0x3474d8,_0x376627):_0x3474d8,_0x5765d1=_0x52faf4[_0x35e74d(0x171)]-0x1,_0x41b83f;_0x5765d1>=0x0;_0x5765d1--)(_0x41b83f=_0x52faf4[_0x5765d1])&&(_0x5c2b33=_0x41b83f(_0x5c2b33)||_0x5c2b33);return _0x5c2b33;},_0x431394=(_0x2dd1dc,_0x466b42)=>(_0x32bb9f,_0x5761d9)=>_0x466b42(_0x32bb9f,_0x5761d9,_0x2dd1dc);const _0x420a2a=0x1389;let _0x43f2ff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x583301,_0x226635,_0x4ae004,_0x54ce72){const _0x2a8b8b=_0x5a505c;super(),_0x5c9071(this,'_cursors',new Set()),_0x5c9071(this,_0x2a8b8b(0x12f),null),(this['_context']=_0x583301,this[_0x2a8b8b(0x1a9)]=_0x226635,this[_0x2a8b8b(0x139)]=_0x4ae004,this[_0x2a8b8b(0x2e9)]=_0x54ce72,this[_0x2a8b8b(0x323)]());}[_0x5a505c(0x323)](){const _0x3472aa=_0x5a505c;this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)][_0x3472aa(0x321)](_0x456c9e['takeUntil'](this[_0x3472aa(0x1a1)]),_0x456c9e['switchMap'](_0x477380=>{const _0x2f81cb=_0x3472aa;if(_0x477380){const _0x390d8a=_0x477380[_0x2f81cb(0x1f1)];return _0x19f1b5[_0x2f81cb(0x229)](this[_0x2f81cb(0x139)]['getCollabCursors$'](this['_context'][_0x2f81cb(0x269)]),this[_0x2f81cb(0x2e9)][_0x2f81cb(0xd3)])[_0x2f81cb(0x321)](_0x456c9e[_0x2f81cb(0x219)](([_0x2ca702,_0x55b2f3])=>{const _0x54854b=new Map();return _0x2ca702['forEach']((_0x4005d3,_0x19a3ef)=>{const _0x180ad6=_0x1d10;if(_0x4005d3[_0x180ad6(0x151)]===_0x390d8a){const _0x2f21d5={..._0x4005d3};_0x2f21d5[_0x180ad6(0x1aa)]=this[_0x180ad6(0x2e9)]['getColorFromTheme'](_0x4005d3[_0x180ad6(0x1aa)]),_0x54854b[_0x180ad6(0x277)](_0x19a3ef,_0x2f21d5);}}),{'skeleton':_0x477380,'cursors':_0x54854b};}));}return _0x19f1b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x3472aa(0x253)](({skeleton:_0x17e80d,cursors:_0x30cea2})=>{const _0x5bf3cc=_0x3472aa;this[_0x5bf3cc(0x1b2)](),_0x17e80d&&this[_0x5bf3cc(0x150)](_0x17e80d,_0x30cea2);}),this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)]['subscribe'](_0x2204e9=>{const _0x5576ad=_0x3472aa;if(_0x2204e9==null)return;const {skeleton:_0x515400}=_0x2204e9,{scene:_0x471790}=this['_context'];_0x471790[_0x5576ad(0x206)][_0x5576ad(0x25e)](_0x31c42f[_0x5576ad(0xfb)](_0x44b8f3=>{const _0x16fab1=_0x5576ad;var _0x53b971,_0x35b0a4;const {offsetX:_0x15f87,offsetY:_0x1888f8}=_0x44b8f3,{x:_0x40635c,y:_0x4987be}=_0x471790[_0x16fab1(0x26a)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x15f87,_0x1888f8])),{scaleX:_0x56e17d,scaleY:_0x5acd94}=_0x471790['getAncestorScale'](),_0x41e526=_0x471790[_0x16fab1(0x2cc)](_0x1f1202[_0x16fab1(0x248)][_0x16fab1(0x1f8)]),_0x38d864=_0x471790[_0x16fab1(0x207)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x40635c,_0x4987be]),_0x41e526),_0x423886=_0x515400['getCellPositionByOffset'](_0x15f87,_0x1888f8,_0x56e17d,_0x5acd94,_0x38d864);((_0x53b971=this[_0x16fab1(0x12f)])==null?void 0x0:_0x53b971[_0x16fab1(0x298)])===_0x423886[_0x16fab1(0x298)]&&((_0x35b0a4=this[_0x16fab1(0x12f)])==null?void 0x0:_0x35b0a4[_0x16fab1(0x24a)])===_0x423886['row']||this['_cursors'][_0x16fab1(0x1de)](_0x244fc8=>{const _0x556b83=_0x16fab1;_0x244fc8[_0x556b83(0x2e1)](_0x423886);});},0x64));});}['_updateCollabCursors'](_0x4d5f2c,_0x28edb3){const _0x168f06=_0x5a505c;var _0x3a7084;const _0xf6fd06=(_0x3a7084=this[_0x168f06(0x1a9)][_0x168f06(0x275)]())==null?void 0x0:_0x3a7084[_0x168f06(0xe2)];if(!_0xf6fd06)return;const _0x1e5327=this[_0x168f06(0x27f)]();if(!_0x1e5327)return;this[_0x168f06(0xba)][_0x168f06(0x1de)](_0x3cd357=>{const _0x242207=_0x168f06;_0x3cd357[_0x242207(0x161)]();});const {scene:_0x38ff11}=_0x1e5327,_0xd9098=_0x5ad663(Array[_0x168f06(0x331)](_0x28edb3[_0x168f06(0x157)]()))['map'](_0x39c3c1=>{const _0x500317=_0x168f06,{color:_0x144c97,range:_0x225c97,name:_0x3c0feb,selection:_0x5ae566,sheetID:_0x1625b9}=_0x39c3c1,{startColumn:_0x64c39d,startRow:_0x51e0fa,endColumn:_0x291476,endRow:_0x8a04f9}=_0x225c97,_0x44f4a2=_0x5432d7[_0x500317(0xf6)](_0x51e0fa,_0x64c39d,_0x38ff11,_0xf6fd06),_0xe0c74c=_0x5432d7[_0x500317(0xf6)](_0x8a04f9,_0x291476,_0x38ff11,_0xf6fd06),{columnHeaderHeightAndMarginTop:_0x4cac29}=_0xf6fd06,{startX:_0x502c7c,startY:_0x550cfc}=_0x44f4a2,{endX:_0x50ccf1,endY:_0xa934f7}=_0xe0c74c,_0x35b825=_0x50ccf1-_0x502c7c,_0x32e5d1=_0xa934f7-_0x550cfc,_0x3ad685={'labelPosition':_0x550cfc-_0x4cac29>=_0x1beee5?'top':_0x500317(0x28b),'sheetID':_0x1625b9,'range':_0x225c97,'color':_0x144c97,'name':_0x3c0feb,'selection':_0x5ae566,'left':_0x502c7c,'top':_0x550cfc,'width':_0x35b825,'height':_0x32e5d1,'evented':!0x1,'zIndex':_0x420a2a};return new _0x2dccfc(_0x3c0feb,_0x3ad685);});_0x38ff11[_0x168f06(0x2fc)](_0xd9098,_0x4b5a59),this[_0x168f06(0xba)]=new Set(_0xd9098);}[_0x5a505c(0x1b2)](){const _0x1d70f5=_0x5a505c;var _0x4baa66;(_0x4baa66=this[_0x1d70f5(0xba)])==null||_0x4baa66[_0x1d70f5(0x1de)](_0x2298db=>_0x2298db[_0x1d70f5(0x30a)]());}[_0x5a505c(0x27f)](){const _0x185c36=_0x5a505c;return _0x5432d7[_0x185c36(0x299)](this[_0x185c36(0x1b8)][_0x185c36(0x127)],this[_0x185c36(0x1b8)]);}};_0x43f2ff=_0xfec76b([_0x431394(0x1,_0x31c42f[_0x5a505c(0x107)](_0x5432d7[_0x5a505c(0x169)])),_0x431394(0x2,_0x31c42f[_0x5a505c(0x107)](_0x53c0b4)),_0x431394(0x3,_0x31c42f['Inject'](_0x31c42f[_0x5a505c(0x1b1)]))],_0x43f2ff);function _0x5ad663(_0x6639bd){const _0x39a260=_0x5a505c,_0x182959=new Map();return _0x6639bd[_0x39a260(0x1de)](_0x83fa72=>{const _0x1d0c1e=_0x39a260;if(_0x182959[_0x1d0c1e(0x268)](_0x83fa72[_0x1d0c1e(0x241)])){const _0x37aa2d=_0x182959[_0x1d0c1e(0x2af)](_0x83fa72[_0x1d0c1e(0x241)]);_0x37aa2d['name']+=',\x20'+_0x83fa72[_0x1d0c1e(0xb6)];}else _0x182959[_0x1d0c1e(0x277)](_0x83fa72['selection'],_0x83fa72);}),Array['from'](_0x182959[_0x39a260(0x157)]());}var _0xcac6e0=Object['getOwnPropertyDescriptor'],_0x6a30a6=(_0x2ddf64,_0x4570,_0x39f4fd,_0x46655a)=>{const _0x1fc400=_0x5a505c;for(var _0x1b19cb=_0x46655a>0x1?void 0x0:_0x46655a?_0xcac6e0(_0x4570,_0x39f4fd):_0x4570,_0x44a9c4=_0x2ddf64[_0x1fc400(0x171)]-0x1,_0x15e9c4;_0x44a9c4>=0x0;_0x44a9c4--)(_0x15e9c4=_0x2ddf64[_0x44a9c4])&&(_0x1b19cb=_0x15e9c4(_0x1b19cb)||_0x1b19cb);return _0x1b19cb;},_0x580b3a=(_0x284525,_0x44f353)=>(_0x34ee47,_0x18e1d2)=>_0x44f353(_0x34ee47,_0x18e1d2,_0x284525);let _0x30b96d=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x439c60,_0x2d9fbb,_0x44cd90,_0x469e92,_0x172bc2,_0x145ef0){const _0x1cb4c7=_0x5a505c;super(),this['_beforeCloseService']=_0x439c60,this[_0x1cb4c7(0x337)]=_0x2d9fbb,this[_0x1cb4c7(0x25f)]=_0x44cd90,this['_messageService']=_0x469e92,this[_0x1cb4c7(0x13a)]=_0x172bc2,this['_localeService']=_0x145ef0,this[_0x1cb4c7(0x34f)](),this[_0x1cb4c7(0x1e9)]();}[_0x5a505c(0x34f)](){const _0x5c5edc=_0x5a505c;this['disposeWithMe'](this[_0x5c5edc(0x2d1)][_0x5c5edc(0x144)](()=>{const _0x164c86=_0x5c5edc;if(this[_0x164c86(0x337)][_0x164c86(0x2f7)]['size'])return this[_0x164c86(0x2b2)]['t'](_0x164c86(0x1f4));}));}[_0x5a505c(0x1e9)](){const _0x3a11a5=_0x5a505c;this[_0x3a11a5(0x2c7)](this[_0x3a11a5(0x25f)]['event$'][_0x3a11a5(0x253)](_0x23b136=>{const _0x338820=_0x3a11a5;_0x23b136['id']===_0x250f51[_0x338820(0x359)]['OTHER_CLIENT_EDITING']&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)]['Warning'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1ae))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x232)]&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this['_localeService']['t'](_0x338820(0x2f4))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x316)]&&this[_0x338820(0x13a)][_0x338820(0x2fa)]({'title':this['_localeService']['t'](_0x338820(0x1ed)),'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2a9)),'type':_0x338820(0x2df),'duration':0x0}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0xd4)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2f4))+'('+_0x23b136['data']+')'}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x23b136['data']||'')}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x188)]&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1d1))}),_0x23b136['id']===_0x250f51['CollaborationUIEventId'][_0x338820(0x12a)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x26e))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x338820(0x2f6)][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)]['Error'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x14e))});}));}};_0x30b96d=_0x6a30a6([_0x580b3a(0x0,_0x603ca7[_0x5a505c(0xbe)]),_0x580b3a(0x1,_0x250f51['ILocalCacheService']),_0x580b3a(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x1bd)])),_0x580b3a(0x3,_0x603ca7['IMessageService']),_0x580b3a(0x4,_0x603ca7['INotificationService']),_0x580b3a(0x5,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x30b96d);const _0x4ea5d3=_0x5a505c(0x347),_0x508322={};var _0x549ab2=Object[_0x5a505c(0x239)],_0x33e03a=(_0x57947b,_0x435cd8,_0x4dff83,_0x69f37b)=>{const _0x486bdc=_0x5a505c;for(var _0x4ddfa1=_0x69f37b>0x1?void 0x0:_0x69f37b?_0x549ab2(_0x435cd8,_0x4dff83):_0x435cd8,_0xefeb4=_0x57947b[_0x486bdc(0x171)]-0x1,_0x3f8b72;_0xefeb4>=0x0;_0xefeb4--)(_0x3f8b72=_0x57947b[_0xefeb4])&&(_0x4ddfa1=_0x3f8b72(_0x4ddfa1)||_0x4ddfa1);return _0x4ddfa1;},_0x3d9fce=(_0x27109c,_0x103b97)=>(_0x2a9ee0,_0x3bbcc7)=>_0x103b97(_0x2a9ee0,_0x3bbcc7,_0x27109c);let _0x32157d=class{constructor(_0x114abb,_0x3067b9){const _0x42b98a=_0x5a505c;this['_transformService']=_0x114abb,this[_0x42b98a(0x288)]=_0x3067b9;}[_0x5a505c(0x2b8)](_0x213209){const _0xd756ae=_0x5a505c;this[_0xd756ae(0x203)](_0x213209),this['_transformPreviousActiveRange'](_0x213209);}[_0x5a505c(0x2c0)](_0x5c6a0c){const _0x3e73ca=_0x5a505c,{unitID:_0x4fc982}=_0x5c6a0c,_0x449a80=this[_0x3e73ca(0x288)][_0x3e73ca(0x145)](_0x4fc982)[_0x3e73ca(0x12d)](_0x5e24e0['DocIMEInputManagerService']),{redoCache:_0x10086a}=_0x449a80['getUndoRedoMutationParamsCache']();if(_0x10086a[_0x3e73ca(0x171)]===0x0)return _0x5c6a0c;let _0x3d1d0d=_0x31c42f[_0x3e73ca(0x31f)]['deepClone'](_0x5c6a0c[_0x3e73ca(0x105)][0x0]);for(let _0x3af371=0x0;_0x3af371<_0x10086a['length'];_0x3af371++){const _0x4d4d49={'id':_0x3e73ca(0x10a),'params':{..._0x10086a[_0x3af371]}},_0x28dce4=this['_transformService'][_0x3e73ca(0x180)](_0x3d1d0d,_0x4d4d49,!0x1);if(_0x180e29[_0x3e73ca(0x296)](_0x28dce4))throw _0x28dce4[_0x3e73ca(0x2df)];_0x3d1d0d=_0x28dce4['m1Prime'];}return{..._0x31c42f[_0x3e73ca(0x31f)][_0x3e73ca(0x265)](_0x5c6a0c),'mutations':[_0x3d1d0d]};}[_0x5a505c(0x203)](_0x494c17){const _0x3151a9=_0x5a505c,{unitID:_0x1adc94}=_0x494c17,_0x46665d=this['_renderManagerService'][_0x3151a9(0x145)](_0x1adc94)['with'](_0x5e24e0[_0x3151a9(0xc2)]),{undoCache:_0x4dfeb7,redoCache:_0x101446}=_0x46665d[_0x3151a9(0x31c)]();if(_0x4dfeb7['length']===0x0||_0x101446[_0x3151a9(0x171)]===0x0)return;const _0x1ee615=[],_0x35f5cf=[];let _0x19de98=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]),_0x5d3a13=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]);for(let _0x402ce2=_0x4dfeb7[_0x3151a9(0x171)]-0x1;_0x402ce2>=0x0;_0x402ce2--){const _0x51b7b1={'id':_0x3151a9(0x10a),'params':{..._0x4dfeb7[_0x402ce2]}},_0x41fd78={'id':_0x3151a9(0x10a),'params':{..._0x101446[_0x402ce2]}},_0x23f3c4=this[_0x3151a9(0x1ce)]['transformMutation'](_0x19de98,_0x51b7b1,!0x1),_0x454673=this[_0x3151a9(0x1ce)][_0x3151a9(0x180)](_0x5d3a13,_0x41fd78,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x23f3c4))throw _0x23f3c4['error'];if(_0x180e29['isTransformMutationFailure'](_0x454673))throw _0x454673[_0x3151a9(0x2df)];_0x1ee615['unshift'](_0x23f3c4[_0x3151a9(0x179)][_0x3151a9(0x1ff)]),_0x35f5cf[_0x3151a9(0x346)](_0x454673['m2Prime'][_0x3151a9(0x1ff)]),_0x19de98=_0x23f3c4['m1Prime'],_0x5d3a13=_0x454673[_0x3151a9(0x102)];}_0x46665d[_0x3151a9(0x26b)]({'undoCache':_0x1ee615,'redoCache':_0x35f5cf});}[_0x5a505c(0x1fb)](_0x5ef57c){const _0xd7614e=_0x5a505c,{unitID:_0x274126}=_0x5ef57c,_0x3dd986=this[_0xd7614e(0x288)][_0xd7614e(0x145)](_0x274126)['with'](_0x5e24e0['DocIMEInputManagerService']),_0x212aff=_0x3dd986[_0xd7614e(0xc9)]();if(_0x212aff==null)return;const _0x51a7db=[{'id':_0xd7614e(0x10a),'params':{'unitId':_0x5ef57c[_0xd7614e(0xe3)],'actions':null,'textRanges':[_0x212aff]}}],_0x47307b=this[_0xd7614e(0x1ce)][_0xd7614e(0x11b)](_0x5ef57c,_0x51a7db);if(!_0x180e29[_0xd7614e(0x216)](_0x47307b))throw _0x47307b['error'];const _0x22128c=_0x47307b['m2Prime'][0x0][_0xd7614e(0x1ff)][_0xd7614e(0x339)];Array['isArray'](_0x22128c)&&_0x22128c['length']&&_0x3dd986[_0xd7614e(0x324)](_0x22128c[0x0]);}};_0x32157d=_0x33e03a([_0x3d9fce(0x0,_0x180e29[_0x5a505c(0xd1)]),_0x3d9fce(0x1,_0x1f1202[_0x5a505c(0x33d)])],_0x32157d);var _0x41b817=Object[_0x5a505c(0x239)],_0x362a86=(_0x113bee,_0x557d20,_0x1bc67f,_0x19f3f8)=>{const _0x41a6f5=_0x5a505c;for(var _0x445b00=_0x19f3f8>0x1?void 0x0:_0x19f3f8?_0x41b817(_0x557d20,_0x1bc67f):_0x557d20,_0x1252f1=_0x113bee[_0x41a6f5(0x171)]-0x1,_0x1539fe;_0x1252f1>=0x0;_0x1252f1--)(_0x1539fe=_0x113bee[_0x1252f1])&&(_0x445b00=_0x1539fe(_0x445b00)||_0x445b00);return _0x445b00;},_0xc8f9a4=(_0x32b83f,_0x5029ee)=>(_0x16f251,_0x50215c)=>_0x5029ee(_0x16f251,_0x50215c,_0x32b83f);let _0x4ae234=class{constructor(_0x595d35,_0x5abc86,_0x1f85bc){const _0x4ac243=_0x5a505c;this[_0x4ac243(0x19f)]=_0x595d35,this[_0x4ac243(0x1ce)]=_0x5abc86,this[_0x4ac243(0x1b9)]=_0x1f85bc;}[_0x5a505c(0x30c)](_0x48ec99){const _0xf899d6=_0x5a505c;this[_0xf899d6(0x2e6)](_0x48ec99);}[_0x5a505c(0x2c0)](_0xd6164d){const _0x39d4cb=_0x5a505c,{unitID:_0x900bff}=_0xd6164d,{collaboration:_0x74e2f5}=this['_docStateChangeManagerService'][_0x39d4cb(0x10c)](_0x900bff);if(_0x74e2f5['length']===0x0)return _0xd6164d;let _0x5b00be=_0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d['mutations'][0x0]);for(let _0x459fcd=0x0;_0x459fcd<_0x74e2f5[_0x39d4cb(0x171)];_0x459fcd++){const _0x450118={'id':_0x39d4cb(0x10a),'params':{'unitId':_0x74e2f5[_0x459fcd]['unitId'],..._0x74e2f5[_0x459fcd]['redoState']}},_0x2f9995=this[_0x39d4cb(0x1ce)][_0x39d4cb(0x180)](_0x5b00be,_0x450118,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x2f9995))throw _0x2f9995[_0x39d4cb(0x2df)];_0x5b00be=_0x2f9995[_0x39d4cb(0x102)];}return{..._0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d),'mutations':[_0x5b00be]};}[_0x5a505c(0x2e6)](_0x7e1497){const _0x2da14b=_0x5a505c,{unitID:_0x35868b}=_0x7e1497,{history:_0x23ac1a,collaboration:_0x4b4fc3}=this[_0x2da14b(0x1b9)]['getStateCache'](_0x35868b);if(_0x23ac1a[_0x2da14b(0x171)]===0x0&&_0x4b4fc3[_0x2da14b(0x171)]===0x0)return;const _0x547645=[],_0x2747cc=[];let _0x449696=_0x31c42f['Tools'][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]);for(let _0x58ac6d=_0x23ac1a[_0x2da14b(0x171)]-0x1;_0x58ac6d>=0x0;_0x58ac6d--){const _0x2eb67b={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['undoState']}},_0x5413f7={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['redoState']}},_0x7488c3=this['_transformService'][_0x2da14b(0x180)](_0x449696,_0x2eb67b,!0x1),_0x3777fc=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x2858b9,_0x5413f7,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x7488c3))throw _0x7488c3['error'];if(_0x180e29['isTransformMutationFailure'](_0x3777fc))throw _0x3777fc[_0x2da14b(0x2df)];_0x547645[_0x2da14b(0x346)]({..._0x23ac1a[_0x58ac6d],'undoState':_0x7488c3[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x3777fc['m2Prime'][_0x2da14b(0x1ff)]}),_0x449696=_0x7488c3['m1Prime'],_0x2858b9=_0x3777fc['m1Prime'];}_0x449696=_0x31c42f['Tools']['deepClone'](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497['mutations'][0x0]);for(let _0x31f992=_0x4b4fc3[_0x2da14b(0x171)]-0x1;_0x31f992>=0x0;_0x31f992--){const _0xecff2f={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x30d)]}},_0x11ef14={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x2c6)]}},_0x34fb62=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x449696,_0xecff2f,!0x1),_0x1b1d8f=this['_transformService']['transformMutation'](_0x2858b9,_0x11ef14,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x34fb62))throw _0x34fb62[_0x2da14b(0x2df)];if(_0x180e29['isTransformMutationFailure'](_0x1b1d8f))throw _0x1b1d8f[_0x2da14b(0x2df)];_0x2747cc[_0x2da14b(0x346)]({..._0x4b4fc3[_0x31f992],'undoState':_0x34fb62[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x1b1d8f[_0x2da14b(0x179)][_0x2da14b(0x1ff)]}),_0x449696=_0x34fb62[_0x2da14b(0x102)],_0x2858b9=_0x1b1d8f['m1Prime'];}this[_0x2da14b(0x1b9)][_0x2da14b(0x244)](_0x35868b,{'history':_0x547645,'collaboration':_0x2747cc});}};_0x4ae234=_0x362a86([_0xc8f9a4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0xc8f9a4(0x1,_0x180e29[_0x5a505c(0xd1)]),_0xc8f9a4(0x2,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)]))],_0x4ae234);var _0x330b72=Object[_0x5a505c(0x239)],_0x533161=(_0x2cb5ca,_0x22b123,_0x5baa84,_0x10925e)=>{const _0x2d529=_0x5a505c;for(var _0x2d1df4=_0x10925e>0x1?void 0x0:_0x10925e?_0x330b72(_0x22b123,_0x5baa84):_0x22b123,_0x257d42=_0x2cb5ca[_0x2d529(0x171)]-0x1,_0x5d565d;_0x257d42>=0x0;_0x257d42--)(_0x5d565d=_0x2cb5ca[_0x257d42])&&(_0x2d1df4=_0x5d565d(_0x2d1df4)||_0x2d1df4);return _0x2d1df4;},_0x570a6f=(_0x2f3ee6,_0x117b26)=>(_0x33c073,_0xf43e54)=>_0x117b26(_0x33c073,_0xf43e54,_0x2f3ee6);let _0x2a0891=class{constructor(_0x2fb91e,_0x530d9e){const _0x21a821=_0x5a505c;this[_0x21a821(0x19f)]=_0x2fb91e,this[_0x21a821(0x1ce)]=_0x530d9e;}['transformSelections'](_0xb5e032){const _0x3e6923=_0x5a505c;var _0x18d3b5;const _0x403adb=this[_0x3e6923(0x19f)][_0x3e6923(0x2af)](_0x3f505f['DocSelectionManagerService']),_0xc3a1d7=(_0x18d3b5=_0x403adb['getDocRanges']())!=null?_0x18d3b5:[];if(_0xc3a1d7['length']===0x0)return;const _0x4c5577=_0xb5e032[_0x3e6923(0xe3)],_0x4a5b61=[{'id':_0x3e6923(0x10a),'params':{'unitId':_0x4c5577,'actions':null,'textRanges':_0xc3a1d7}}],_0xf00f3c=this[_0x3e6923(0x1ce)]['transformMutationsWithChangeset'](_0xb5e032,_0x4a5b61);if(!_0x180e29['isTransformMutationsWithChangesetSuccess'](_0xf00f3c))throw _0xf00f3c['error'];const _0x4816a4=_0xf00f3c[_0x3e6923(0x179)][0x0][_0x3e6923(0x1ff)][_0x3e6923(0x339)];Array[_0x3e6923(0x34a)](_0x4816a4)&&_0x4816a4['length']&&_0x403adb[_0x3e6923(0x2ec)](_0x4816a4,{'unitId':_0x4c5577,'subUnitId':_0x4c5577},!0x1);}};_0x2a0891=_0x533161([_0x570a6f(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x570a6f(0x1,_0x180e29['ITransformService'])],_0x2a0891);var _0x1a616b=Object[_0x5a505c(0x239)],_0xe50f0e=(_0x52f3da,_0x2a58f5,_0x1de67f,_0x31b424)=>{const _0x528684=_0x5a505c;for(var _0x137c8c=_0x31b424>0x1?void 0x0:_0x31b424?_0x1a616b(_0x2a58f5,_0x1de67f):_0x2a58f5,_0x19f1a9=_0x52f3da[_0x528684(0x171)]-0x1,_0x3cd398;_0x19f1a9>=0x0;_0x19f1a9--)(_0x3cd398=_0x52f3da[_0x19f1a9])&&(_0x137c8c=_0x3cd398(_0x137c8c)||_0x137c8c);return _0x137c8c;},_0x1da2d6=(_0x4c4c78,_0x56690a)=>(_0x30c5b8,_0x5ec0dc)=>_0x56690a(_0x30c5b8,_0x5ec0dc,_0x4c4c78);let _0x154ed0=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x7df959,_0x48af7a,_0x2acd30,_0x2276cd,_0x8ae605,_0x1ab72e,_0xaa59c2,_0x5410fb){const _0xe43177=_0x5a505c;super(),_0x5c9071(this,_0xe43177(0x162),new _0x19f1b5[(_0xe43177(0x271))](_0x250f51['CollaborationStatus'][_0xe43177(0x183)])),(this[_0xe43177(0x1b9)]=_0x7df959,this['_collaborationController']=_0x48af7a,this[_0xe43177(0x1d9)]=_0x2acd30,this['_docTransformStateCacheService']=_0x2276cd,this[_0xe43177(0x10e)]=_0x8ae605,this[_0xe43177(0xee)]=_0x1ab72e,this[_0xe43177(0x2f6)]=_0xaa59c2,this[_0xe43177(0x2b2)]=_0x5410fb,this[_0xe43177(0x255)]());}['_initEntityListener'](){const _0x5bb781=_0x5a505c;this[_0x5bb781(0x2c7)](this['_collaborationController']['entityInit$'][_0x5bb781(0x253)](_0x132443=>{const _0x3ef345=_0x5bb781,_0x35c3a9=this['_docStateChangeManagerService'][_0x3ef345(0x319)][_0x3ef345(0x253)](_0x212f8c=>{const _0x2477d3=_0x3ef345;if(_0x212f8c==null)return;const {unitId:_0x3151b3,redoState:_0x3196f6,commandId:_0x22c9a7}=_0x212f8c;if(_0x3151b3!==_0x132443[_0x2477d3(0xe3)])return;const _0x43958a={'id':_0x22c9a7,'type':_0x31c42f[_0x2477d3(0x199)][_0x2477d3(0x210)],'params':{'unitId':_0x3151b3,'actions':_0x3196f6[_0x2477d3(0x306)],'textRanges':null}};_0x132443[_0x2477d3(0x285)](_0x43958a);});if(_0x132443[_0x3ef345(0x2c7)](_0x35c3a9),_0x132443 instanceof _0x250f51['DocCollaborationEntity']){const _0x5cf4e4={'onTransformIME':_0x57b7ab=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2b8)](_0x57b7ab),'onTransformState':_0x13a484=>this['_docTransformStateCacheService']['transformStateCache'](_0x13a484),'onTransformSelections':_0x281482=>this['_docTransformSelectionsService'][_0x3ef345(0x2cf)](_0x281482),'onSyncEditingCollabCursor':_0x2ef368=>this['_docSyncEditingCollabCursorService'][_0x3ef345(0x1f2)](_0x2ef368),'onTransformRemoteChangesetByIMECache':_0x4b3d6a=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2c0)](_0x4b3d6a),'onTransformRemoteChangesetByStateCache':_0x3b433a=>this['_docTransformStateCacheService'][_0x3ef345(0x2c0)](_0x3b433a)};_0x132443[_0x3ef345(0x104)](_0x5cf4e4);}}));}};_0x154ed0=_0xe50f0e([_0x1da2d6(0x0,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)])),_0x1da2d6(0x1,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x20c)])),_0x1da2d6(0x2,_0x31c42f[_0x5a505c(0x107)](_0x32157d)),_0x1da2d6(0x3,_0x31c42f[_0x5a505c(0x107)](_0x4ae234)),_0x1da2d6(0x4,_0x31c42f[_0x5a505c(0x107)](_0x2a0891)),_0x1da2d6(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0x1da2d6(0x6,_0x603ca7[_0x5a505c(0x211)]),_0x1da2d6(0x7,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x154ed0);var _0x77052d=Object[_0x5a505c(0x239)],_0x5250e9=(_0x249c77,_0x3a2975,_0x3f6edc,_0x4293e3)=>{const _0x51cca7=_0x5a505c;for(var _0x287c4f=_0x4293e3>0x1?void 0x0:_0x4293e3?_0x77052d(_0x3a2975,_0x3f6edc):_0x3a2975,_0x24d42e=_0x249c77[_0x51cca7(0x171)]-0x1,_0x2056c2;_0x24d42e>=0x0;_0x24d42e--)(_0x2056c2=_0x249c77[_0x24d42e])&&(_0x287c4f=_0x2056c2(_0x287c4f)||_0x287c4f);return _0x287c4f;},_0x1145da=(_0x4fb2f7,_0x5bba3f)=>(_0x2b19b4,_0x367698)=>_0x5bba3f(_0x2b19b4,_0x367698,_0x4fb2f7);let _0x17ecf9=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57cff2,_0x5ddcae,_0x50c854){const _0x58bad1=_0x5a505c;super(),_0x5c9071(this,_0x58bad1(0x228),new Map()),_0x5c9071(this,'_saveTaskMap',new Map()),_0x5c9071(this,_0x58bad1(0x113),!0x1),(this['_configService']=_0x57cff2,this[_0x58bad1(0x1be)]=_0x5ddcae,this['_revisionService']=_0x50c854);}[_0x5a505c(0x1b3)](){const _0x4a2c0c=_0x5a505c;this[_0x4a2c0c(0x113)]=!0x0;}[_0x5a505c(0xcd)](){this['_disabled']=!0x1;}get[_0x5a505c(0x2f7)](){const _0x7baf15=_0x5a505c;return this[_0x7baf15(0x2a7)];}['dispose'](){const _0x377c76=_0x5a505c;this[_0x377c76(0x12b)]()[_0x377c76(0x238)](()=>super[_0x377c76(0x30a)]());}async[_0x5a505c(0x31b)](_0x34e893){const _0x2dbca9=_0x5a505c;return this[_0x2dbca9(0x113)]?null:this[_0x2dbca9(0x1be)][_0x2dbca9(0x313)](_0x250f51[_0x2dbca9(0x2ad)](_0x34e893));}async['saveOfflineData'](_0xc65252,_0x5412c1){const _0x300392=_0x5a505c;return!!this[_0x300392(0x1be)][_0x300392(0x27b)](_0xc65252,_0x5412c1);}[_0x5a505c(0x2f2)](_0x39a1bd,_0xcb39f7,_0x2f970b,_0x11f4f7){const _0x1415ac=_0x5a505c,_0x2ddf5e=this[_0x1415ac(0x173)][_0x1415ac(0x230)](_0x39a1bd);this['_cachedData'][_0x1415ac(0x277)](_0x39a1bd,{'unitID':_0x39a1bd,'type':_0xcb39f7,'awaitingChangeset':_0x2f970b,'mutations':_0x11f4f7,'rev':_0x2ddf5e}),this['_saveTaskMap'][_0x1415ac(0x268)](_0x39a1bd)||this[_0x1415ac(0x143)](_0x39a1bd);}[_0x5a505c(0x143)](_0x4ebc79){const _0x2cb127=_0x5a505c,_0x366c2a=this['_getSaveTimeout']();_0x366c2a===0x0?this[_0x2cb127(0x24b)](_0x4ebc79):this['_saveTaskMap'][_0x2cb127(0x277)](_0x4ebc79,setTimeout(()=>this[_0x2cb127(0x24b)](_0x4ebc79),_0x366c2a));}[_0x5a505c(0x291)](){const _0x53faa0=_0x5a505c;var _0x3e1f25;return(_0x3e1f25=this[_0x53faa0(0x260)][_0x53faa0(0x100)](_0x250f51[_0x53faa0(0x328)]))!=null?_0x3e1f25:_0x250f51[_0x53faa0(0x15b)];}['_saveCache'](_0x2e15af){const _0x9ce3e=_0x5a505c,_0x52b6a6=this['_saveTaskMap'][_0x9ce3e(0x2af)](_0x2e15af);return _0x52b6a6!==void 0x0&&window[_0x9ce3e(0x1a6)](_0x52b6a6),this[_0x9ce3e(0x1be)]['setItem'](_0x250f51[_0x9ce3e(0x2ad)](_0x2e15af),this[_0x9ce3e(0x228)]['get'](_0x2e15af))[_0x9ce3e(0x238)](()=>this[_0x9ce3e(0x2a7)][_0x9ce3e(0x1b5)](_0x2e15af));}async[_0x5a505c(0x12b)](){const _0xf89149=_0x5a505c,_0x1318b4=[];this[_0xf89149(0x2a7)][_0xf89149(0x1de)]((_0x3c14ed,_0x563537)=>{const _0x3ddeec=_0xf89149;window[_0x3ddeec(0x1a6)](_0x3c14ed),_0x1318b4[_0x3ddeec(0x251)](this[_0x3ddeec(0x24b)](_0x563537)['then'](()=>{const _0x5575a6=_0x3ddeec;this['_saveTaskMap'][_0x5575a6(0x1b5)](_0x563537);}));}),await Promise[_0xf89149(0x274)](_0x1318b4);}};_0x17ecf9=_0x5250e9([_0x1145da(0x0,_0x31c42f[_0x5a505c(0x16d)]),_0x1145da(0x1,_0x31c42f['ILocalStorageService']),_0x1145da(0x2,_0x31c42f[_0x5a505c(0x107)](_0x180e29[_0x5a505c(0x177)]))],_0x17ecf9);class _0x323909 extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x425415=_0x5a505c;super(),_0x5c9071(this,_0x425415(0x305)),this[_0x425415(0x305)]=_0x19f1b5[_0x425415(0x1df)](window,_0x425415(0x2e8))[_0x425415(0x321)](_0x19f1b5[_0x425415(0x14c)](this[_0x425415(0x1a1)]),_0x19f1b5[_0x425415(0x2b6)](0x1),_0x19f1b5['mapTo'](void 0x0));}[_0x5a505c(0xcf)](_0x4e69e5,_0x4077e0,_0x21aa65=!0x1){const _0x39217f=_0x5a505c,_0x398c99=new URL(window[_0x39217f(0x15e)][_0x39217f(0x17b)]);_0x398c99[_0x39217f(0x13d)][_0x39217f(0x277)](_0x4e69e5,_0x4077e0),_0x21aa65?window[_0x39217f(0x2b4)][_0x39217f(0x11c)]('','',_0x398c99[_0x39217f(0x2a0)]()):window[_0x39217f(0x2b4)][_0x39217f(0x356)]('','',_0x398c99[_0x39217f(0x2a0)]());}[_0x5a505c(0x1ca)](_0x39c32e,_0x49ad4d=!0x1){const _0xe5c6a1=_0x5a505c,_0x5a355f=new URL(window[_0xe5c6a1(0x15e)]['href']);_0x5a355f[_0xe5c6a1(0x13d)]['delete'](_0x39c32e),_0x49ad4d?window['history'][_0xe5c6a1(0x11c)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]()):window[_0xe5c6a1(0x2b4)][_0xe5c6a1(0x356)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]());}[_0x5a505c(0x131)](_0xcf5707){const _0x34fa90=_0x5a505c;var _0x838a0;return(_0x838a0=new URL(window['location'][_0x34fa90(0x17b)])[_0x34fa90(0x13d)][_0x34fa90(0x2af)](_0xcf5707))!=null?_0x838a0:void 0x0;}}var _0x144a53=Object[_0x5a505c(0x153)],_0x3b87de=Object[_0x5a505c(0x239)],_0x1a8928=(_0x59439c,_0x24a89f,_0x3f3df6)=>_0x24a89f in _0x59439c?_0x144a53(_0x59439c,_0x24a89f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f3df6}):_0x59439c[_0x24a89f]=_0x3f3df6,_0x28f7dd=(_0x1895a7,_0x1841fb,_0x5855ba,_0x2f380c)=>{for(var _0x19230a=_0x2f380c>0x1?void 0x0:_0x2f380c?_0x3b87de(_0x1841fb,_0x5855ba):_0x1841fb,_0xc129a0=_0x1895a7['length']-0x1,_0x415e50;_0xc129a0>=0x0;_0xc129a0--)(_0x415e50=_0x1895a7[_0xc129a0])&&(_0x19230a=_0x415e50(_0x19230a)||_0x19230a);return _0x19230a;},_0x474895=(_0x540d01,_0x13e7bc)=>(_0x2153a0,_0x5bf607)=>_0x13e7bc(_0x2153a0,_0x5bf607,_0x540d01),_0x2f1983=(_0x1d0585,_0x23d979,_0x192176)=>_0x1a8928(_0x1d0585,_0x23d979+'',_0x192176);const _0x5a3036=_0x5a505c(0x309);_0x4853c8[_0x5a505c(0x222)]=class extends _0x31c42f[_0x5a505c(0x103)]{constructor(_0xf8df95=_0x508322,_0x54615b,_0xbffd3a,_0x5e6573){const _0x137720=_0x5a505c;super(),this[_0x137720(0x2b5)]=_0xf8df95,this[_0x137720(0x288)]=_0x54615b,this[_0x137720(0x19f)]=_0xbffd3a,this[_0x137720(0x260)]=_0x5e6573;const {..._0x4d6803}=_0x31c42f[_0x137720(0x30e)]({},_0x508322,this[_0x137720(0x2b5)]);this[_0x137720(0x260)][_0x137720(0x191)](_0x4ea5d3,_0x4d6803);}[_0x5a505c(0x2f3)](){const _0x18f11f=_0x5a505c;this[_0x18f11f(0x29f)](),this[_0x18f11f(0x355)]();}[_0x5a505c(0xf4)](){const _0x2661aa=_0x5a505c;this[_0x2661aa(0x112)]();}['_registerDependencies'](){const _0x4462b3=_0x5a505c;var _0x16658a;const _0x531b53=[[_0x237c9d],[_0x2a0891],[_0x32157d],[_0x4ae234],[_0x17e7cc],[_0x2b3810,{'useClass':_0x323909}],[_0x294bf6['ISocketService'],{'useClass':_0x294bf6[_0x4462b3(0x34c)]}],[_0x250f51['ILocalCacheService'],{'useClass':_0x17ecf9}],[_0x4853c8[_0x4462b3(0x23b)]],[_0x154ed0],[_0x30b96d],[_0x53c0b4],[_0x4c41fe],[_0x4853c8[_0x4462b3(0x26f)]]];_0x31c42f['registerDependencies'](this[_0x4462b3(0x19f)],_0x31c42f[_0x4462b3(0x195)](_0x531b53,(_0x16658a=this['_config'])==null?void 0x0:_0x16658a[_0x4462b3(0x1c0)]));}['_registerRenderDependencies'](){const _0x4ec0d0=_0x5a505c;this[_0x4ec0d0(0x2c7)](this[_0x4ec0d0(0x288)]['registerRenderModule'](_0x31c42f[_0x4ec0d0(0x330)][_0x4ec0d0(0xc8)],[_0x30fd5f])),this[_0x4ec0d0(0x2c7)](this['_renderManagerService']['registerRenderModule'](_0x31c42f['UniverInstanceType'][_0x4ec0d0(0x2dd)],[_0x43f2ff]));}[_0x5a505c(0x355)](){const _0x4e786c=_0x5a505c;_0x31c42f[_0x4e786c(0x293)](this[_0x4e786c(0x19f)],[[_0x53c0b4],[_0x4853c8['DesktopCollaborationStatusDisplayController']],[_0x154ed0],[_0x30b96d],[_0x4853c8['CollaborationDataLoaderController']]]);}},_0x2f1983(_0x4853c8[_0x5a505c(0x222)],_0x5a505c(0x250),_0x5a3036),_0x4853c8[_0x5a505c(0x222)]=_0x28f7dd([_0x31c42f['DependentOn'](_0x250f51[_0x5a505c(0x192)]),_0x474895(0x1,_0x1f1202['IRenderManagerService']),_0x474895(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x474895(0x3,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8['UniverCollaborationClientUIPlugin']);var _0x2849f5=Object[_0x5a505c(0x239)],_0x4d2850=(_0x354dd7,_0x565ef8,_0x15a0e0,_0x18f3c8)=>{for(var _0x690a4e=_0x18f3c8>0x1?void 0x0:_0x18f3c8?_0x2849f5(_0x565ef8,_0x15a0e0):_0x565ef8,_0x511e70=_0x354dd7['length']-0x1,_0x16cb20;_0x511e70>=0x0;_0x511e70--)(_0x16cb20=_0x354dd7[_0x511e70])&&(_0x690a4e=_0x16cb20(_0x690a4e)||_0x690a4e);return _0x690a4e;},_0x7ef8e4=(_0xa1157e,_0x160ef0)=>(_0x1a2bda,_0x188dd5)=>_0x160ef0(_0x1a2bda,_0x188dd5,_0xa1157e);_0x4853c8[_0x5a505c(0x2f9)]=class extends _0x250f51[_0x5a505c(0x258)]{constructor(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2){super(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2);}async[_0x5a505c(0x15d)](_0x46dde1){const _0x164f78=_0x5a505c,_0x54d6ca=await this[_0x164f78(0x14d)](),_0x35ffdd=this['_createSocketURL'](_0x46dde1,_0x54d6ca);return this['_doCreateSocket'](_0x35ffdd);}['_createSocketURL'](_0x396f24,_0x1dfcf3){const _0x345c3b=_0x5a505c,_0x233e69=typeof window>'u'?new URL(_0x396f24):new URL(_0x396f24,window[_0x345c3b(0x15e)][_0x345c3b(0x348)]);_0x233e69['searchParams'][_0x345c3b(0x277)]('sessionTicket',_0x1dfcf3);const _0x52d832=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x345c3b(0x15e)][_0x345c3b(0x1bb)]);return _0x52d832['get'](_0x345c3b(0x259))&&_0x233e69['searchParams'][_0x345c3b(0x277)](_0x345c3b(0x259),_0x52d832[_0x345c3b(0x2af)](_0x345c3b(0x259))),_0x233e69[_0x345c3b(0x2a0)]();}async['_getSessionTicket'](){const _0x24997e=_0x5a505c;var _0xcc85b,_0x2eb047,_0x160062;const _0x4c70f6=this[_0x24997e(0x260)][_0x24997e(0x100)](_0x250f51['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5c915e=(_0xcc85b=_0x4c70f6==null?void 0x0:_0x4c70f6[_0x24997e(0xe7)])!=null?_0xcc85b:_0x250f51[_0x24997e(0x282)];return(_0x160062=(_0x2eb047=(await this['_httpService'][_0x24997e(0x2af)](_0x5c915e,{'headers':{'Content-Type':_0x24997e(0x140)}}))[_0x24997e(0x267)])==null?void 0x0:_0x2eb047[_0x24997e(0x2c1)])!=null?_0x160062:'';}},_0x4853c8['BrowserCollaborationSocketService']=_0x4d2850([_0x7ef8e4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x7ef8e4(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x7ef8e4(0x2,_0x31c42f[_0x5a505c(0x16d)]),_0x7ef8e4(0x3,_0x31c42f[_0x5a505c(0x2c4)]),_0x7ef8e4(0x4,_0x180e29[_0x5a505c(0x22f)])],_0x4853c8['BrowserCollaborationSocketService']);var _0x28bea2=(_0x34eeac=>(_0x34eeac[_0x34eeac['UNDEFINED']=0x0]=_0x5a505c(0x2d0),_0x34eeac[_0x34eeac['OK']=0x1]='OK',_0x34eeac[_0x34eeac[_0x5a505c(0x2bd)]=0x2]=_0x5a505c(0x2bd),_0x34eeac[_0x34eeac['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x34eeac[_0x34eeac['NOT_FOUND']=0x4]='NOT_FOUND',_0x34eeac[_0x34eeac[_0x5a505c(0x1f3)]=0x5]=_0x5a505c(0x1f3),_0x34eeac[_0x34eeac[_0x5a505c(0x2f0)]=0x6]=_0x5a505c(0x2f0),_0x34eeac[_0x34eeac[_0x5a505c(0x137)]=0x7]=_0x5a505c(0x137),_0x34eeac[_0x34eeac[_0x5a505c(0x2ef)]=0x8]=_0x5a505c(0x2ef),_0x34eeac[_0x34eeac[_0x5a505c(0xc7)]=0x9]=_0x5a505c(0xc7),_0x34eeac[_0x34eeac[_0x5a505c(0x218)]=0xa]=_0x5a505c(0x218),_0x34eeac[_0x34eeac[_0x5a505c(0x1bf)]=0xb]=_0x5a505c(0x1bf),_0x34eeac[_0x34eeac[_0x5a505c(0x24e)]=0xc]=_0x5a505c(0x24e),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5a505c(0xbb),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5a505c(0xf2),_0x34eeac[_0x34eeac[_0x5a505c(0x2a3)]=0x1389]=_0x5a505c(0x2a3),_0x34eeac[_0x34eeac[_0x5a505c(0x2e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x34eeac[_0x34eeac[_0x5a505c(0x22c)]=0x1772]=_0x5a505c(0x22c),_0x34eeac[_0x34eeac[_0x5a505c(0x2ca)]=0x1773]=_0x5a505c(0x2ca),_0x34eeac[_0x34eeac[_0x5a505c(0x237)]=0x1b59]=_0x5a505c(0x237),_0x34eeac[_0x34eeac[_0x5a505c(0xb5)]=0x1b5a]=_0x5a505c(0xb5),_0x34eeac[_0x34eeac['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a505c(0xf3),_0x34eeac[_0x34eeac[_0x5a505c(0x1d5)]=0x1b5c]=_0x5a505c(0x1d5),_0x34eeac[_0x34eeac[_0x5a505c(0x166)]=0x1b5d]=_0x5a505c(0x166),_0x34eeac[_0x34eeac['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5a505c(0x1f6),_0x34eeac[_0x34eeac[_0x5a505c(0x16c)]=0x2329]=_0x5a505c(0x16c),_0x34eeac[_0x34eeac[_0x5a505c(0x25d)]=0x232a]=_0x5a505c(0x25d),_0x34eeac[_0x34eeac['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a505c(0x1ee),_0x34eeac[_0x34eeac[_0x5a505c(0x2b0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x34d)]=0x232d]=_0x5a505c(0x34d),_0x34eeac[_0x34eeac['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x34eeac[_0x34eeac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x34eeac[_0x34eeac[_0x5a505c(0x12e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34eeac[_0x34eeac[_0x5a505c(0x283)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34eeac[_0x34eeac['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5a505c(0x1e8),_0x34eeac[_0x34eeac[_0x5a505c(0x27a)]=0x271b]=_0x5a505c(0x27a),_0x34eeac[_0x34eeac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5a505c(0x29b),_0x34eeac[_0x34eeac[_0x5a505c(0x249)]=0x271d]=_0x5a505c(0x249),_0x34eeac[_0x34eeac[_0x5a505c(0x24f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x1ea)]=0x271f]=_0x5a505c(0x1ea),_0x34eeac[_0x34eeac['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5a505c(0x209),_0x34eeac[_0x34eeac[_0x5a505c(0x2bb)]=0x2af9]=_0x5a505c(0x2bb),_0x34eeac[_0x34eeac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5a505c(0x1d3),_0x34eeac[_0x34eeac[_0x5a505c(0x287)]=0x2ee2]=_0x5a505c(0x287),_0x34eeac[_0x34eeac[_0x5a505c(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34eeac[_0x34eeac[_0x5a505c(0x256)]=0x2ee4]=_0x5a505c(0x256),_0x34eeac[_0x34eeac[_0x5a505c(0x17c)]=0x2ee5]=_0x5a505c(0x17c),_0x34eeac[_0x34eeac[_0x5a505c(0x302)]=0x32c9]=_0x5a505c(0x302),_0x34eeac[_0x34eeac[_0x5a505c(0x196)]=0x32ca]=_0x5a505c(0x196),_0x34eeac[_0x34eeac[_0x5a505c(0x23d)]=0x32cb]=_0x5a505c(0x23d),_0x34eeac[_0x34eeac[_0x5a505c(0x31d)]=-0x1]='UNRECOGNIZED',_0x34eeac))(_0x28bea2||{}),_0x396c8c=Object[_0x5a505c(0x239)],_0x239ef1=(_0x183649,_0x3fb6f9,_0x11e450,_0x25068b)=>{const _0x12a1a7=_0x5a505c;for(var _0x278ea9=_0x25068b>0x1?void 0x0:_0x25068b?_0x396c8c(_0x3fb6f9,_0x11e450):_0x3fb6f9,_0x38e045=_0x183649[_0x12a1a7(0x171)]-0x1,_0x5d7efd;_0x38e045>=0x0;_0x38e045--)(_0x5d7efd=_0x183649[_0x38e045])&&(_0x278ea9=_0x5d7efd(_0x278ea9)||_0x278ea9);return _0x278ea9;},_0x19953d=(_0x423441,_0x4136b2)=>(_0x4d64dc,_0x52608a)=>_0x4136b2(_0x4d64dc,_0x52608a,_0x423441);_0x4853c8[_0x5a505c(0xc1)]=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x5b000e,_0x55b398,_0x347379){const _0x2232e8=_0x5a505c;super(),this[_0x2232e8(0x14a)]=_0x5b000e,this[_0x2232e8(0x2ff)]=_0x55b398,this[_0x2232e8(0x260)]=_0x347379;}async[_0x5a505c(0xde)](_0x185176,_0x3ebaa7,_0x1d6f28,..._0x5ec1d9){const _0x196ac3=_0x5a505c;var _0x12ae36,_0x17cc19,_0x5c1233,_0x280201;const _0x41d580=this[_0x196ac3(0x14a)][_0x196ac3(0x290)]();if(!_0x41d580)throw new Error(_0x196ac3(0x2b9));const _0x147419=((_0x12ae36=this[_0x196ac3(0x260)][_0x196ac3(0x100)](_0x250f51[_0x196ac3(0x28a)]))!=null?_0x12ae36:_0x250f51[_0x196ac3(0x178)])+'/'+_0x185176+_0x196ac3(0x261)+_0x3ebaa7,_0x51cccd=new URL(window[_0x196ac3(0x15e)][_0x196ac3(0x17b)]),_0x2a3bed={'scriptId':_0x185176,'runId':(_0x17cc19=_0x51cccd[_0x196ac3(0x13d)]['get'](_0x196ac3(0x259)))!=null?_0x17cc19:'','function':_0x3ebaa7,'unitId':_0x41d580[_0x196ac3(0x262)](),'argsOfFunction':JSON[_0x196ac3(0x1b6)](_0x5ec1d9),'invokeId':(_0x5c1233=_0x1d6f28[_0x196ac3(0x1e0)])!=null?_0x5c1233:'','executionId':(_0x280201=_0x1d6f28['executionId'])!=null?_0x280201:''};try{const _0x699f81=await this['_httpService'][_0x196ac3(0xfe)](_0x147419,{'body':_0x2a3bed});return _0x699f81[_0x196ac3(0x267)][_0x196ac3(0x2df)]&&_0x699f81['body']['error']['code']!==_0x28bea2['OK']?_0x196ac3(0x26c):_0x699f81[_0x196ac3(0x267)][_0x196ac3(0xd2)];}catch{return _0x196ac3(0x26c);}}},_0x4853c8[_0x5a505c(0xc1)]=_0x239ef1([_0x19953d(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x19953d(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x19953d(0x2,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8[_0x5a505c(0xc1)]);const _0x435408=0x7530,_0x3aff14=_0x5a505c(0x19d);class _0x5b753a extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x3fb5ba=_0x5a505c;super(),_0x5c9071(this,'_id',_0x31c42f[_0x3fb5ba(0x301)]()),_0x5c9071(this,_0x3fb5ba(0x358),new Set()),_0x5c9071(this,_0x3fb5ba(0x1e6),new Map()),_0x5c9071(this,_0x3fb5ba(0x20d),null),_0x5c9071(this,_0x3fb5ba(0x19b),new Map()),_0x5c9071(this,'_unitStatus',new Map()),this[_0x3fb5ba(0x323)]();}['dispose'](){const _0x3f8090=_0x5a505c;super[_0x3f8090(0x30a)](),this[_0x3f8090(0x19b)]['forEach']((_0x15fb6b,_0x3b2e14)=>this[_0x3f8090(0x297)](_0x3b2e14)),this['_heartbeatTimer']&&window[_0x3f8090(0x349)](this[_0x3f8090(0x20d)]);}[_0x5a505c(0x29d)](_0x39e84a){const _0x18efdd=_0x5a505c;return this['_ensureSubject'](_0x39e84a)['pipe'](_0x19f1b5[_0x18efdd(0x1f0)]());}['editingUnit'](_0x5f3aea){const _0x4fe7c1=_0x5a505c;this['_selfUnitIDs']['size']===0x0&&this[_0x4fe7c1(0x235)](),this[_0x4fe7c1(0x358)][_0x4fe7c1(0x13c)](_0x5f3aea),this[_0x4fe7c1(0x11f)]({'type':0x0,'memberID':this[_0x4fe7c1(0x1cb)],'unitIDs':[_0x5f3aea],'isForwarded':!0x1});}[_0x5a505c(0x231)](_0x47cca0){const _0x23c92d=_0x5a505c;this[_0x23c92d(0x358)][_0x23c92d(0x1b5)](_0x47cca0),this[_0x23c92d(0x358)]['size']===0x0&&this[_0x23c92d(0x20d)]&&window[_0x23c92d(0x349)](this[_0x23c92d(0x20d)]);}[_0x5a505c(0x323)](){const _0x49c156=_0x5a505c;this[_0x49c156(0x2c7)](_0x31c42f[_0x49c156(0xe0)](_0x19f1b5[_0x49c156(0x1df)](window,_0x49c156(0x2ab))['subscribe'](_0x60786=>{const _0x294efd=_0x49c156;if(_0x60786[_0x294efd(0x234)]!==_0x3aff14||!_0x60786[_0x294efd(0x11a)])return;const _0x22dec2=JSON['parse'](_0x60786[_0x294efd(0x11a)]);this[_0x294efd(0xf8)](_0x22dec2);}))),window[_0x49c156(0x2d8)](_0x49c156(0x13e),()=>this[_0x49c156(0x11f)]({'type':0x1,'memberID':this[_0x49c156(0x1cb)],'unitIDs':Array[_0x49c156(0x331)](this[_0x49c156(0x358)])}));}[_0x5a505c(0xf8)](_0x55136d){const _0x2ccb06=_0x5a505c;switch(_0x55136d[_0x2ccb06(0x29c)]){case 0x0:this[_0x2ccb06(0x19a)](_0x55136d);break;case 0x1:this[_0x2ccb06(0x264)](_0x55136d);break;case 0x2:this['_handleHeartbeatEvent'](_0x55136d);break;}}[_0x5a505c(0x19a)](_0xb125a4){const {unitIDs:_0x36ddcb,memberID:_0x200746,isForwarded:_0x52c4d6}=_0xb125a4;_0x36ddcb['forEach'](_0x4906fe=>{const _0x3e8b0a=_0x1d10;if(!_0x52c4d6&&this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x268)](_0x4906fe)&&this[_0x3e8b0a(0x2eb)](_0x4906fe)[_0x3e8b0a(0x22d)](_0x250f51[_0x3e8b0a(0x2a4)][_0x3e8b0a(0x27d)]),!this['_unitOnClients'][_0x3e8b0a(0x268)](_0x4906fe)||!this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x2af)](_0x4906fe)[_0x3e8b0a(0x268)](_0x200746)){const _0x366231=this['_unitOnClients'][_0x3e8b0a(0x2af)](_0x4906fe)||new Set();_0x366231[_0x3e8b0a(0x13c)](_0x200746),this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x277)](_0x4906fe,_0x366231),this[_0x3e8b0a(0x1b7)](_0x200746);}}),_0x52c4d6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a505c(0x1b7)](_0x55c4b6){const _0x293076=_0x5a505c;this[_0x293076(0x297)](_0x55c4b6);const _0x544be9=window[_0x293076(0x226)](()=>{const _0x1d877c=_0x293076;this[_0x1d877c(0x1e6)][_0x1d877c(0x1de)](_0xd621d=>{const _0x1dd71f=_0x1d877c;_0xd621d[_0x1dd71f(0x1b5)](_0x55c4b6);});},_0x435408*0x2);this[_0x293076(0x19b)]['set'](_0x55c4b6,_0x544be9);}[_0x5a505c(0x297)](_0x1fa57f){const _0xb39406=_0x5a505c;if(this[_0xb39406(0x19b)][_0xb39406(0x268)](_0x1fa57f)){const _0xcc7eba=this[_0xb39406(0x19b)][_0xb39406(0x2af)](_0x1fa57f);_0xcc7eba&&window[_0xb39406(0x1a6)](_0xcc7eba),this[_0xb39406(0x19b)][_0xb39406(0x277)](_0x1fa57f,null);}}[_0x5a505c(0x264)](_0x4519eb){const _0x54907b=_0x5a505c,{memberID:_0x5e9aa3,unitIDs:_0xbae276}=_0x4519eb;_0xbae276[_0x54907b(0x1de)](_0x17bec5=>{const _0x3d58b7=_0x54907b;var _0x321aad;const _0x3b0ca7=this['_unitOnClients'][_0x3d58b7(0x2af)](_0x17bec5);_0x3b0ca7&&(_0x3b0ca7[_0x3d58b7(0x1b5)](_0x5e9aa3),(_0x321aad=this[_0x3d58b7(0x2eb)](_0x17bec5))==null||_0x321aad['next'](_0x3b0ca7[_0x3d58b7(0x148)]===0x0?_0x250f51[_0x3d58b7(0x2a4)][_0x3d58b7(0x1ac)]:_0x250f51[_0x3d58b7(0x2a4)]['OTHER_CLIENTS_EDITING']));}),this[_0x54907b(0x297)](_0x5e9aa3);}['_handleHeartbeatEvent'](_0x30bdaf){this['_scheduleClearOtherTimer'](_0x30bdaf['memberID']);}['_send'](_0x58b3f0){const _0x535448=_0x5a505c;localStorage['setItem'](_0x3aff14,JSON[_0x535448(0x1b6)](_0x58b3f0));}[_0x5a505c(0x235)](){const _0x14023c=_0x5a505c;this[_0x14023c(0x20d)]=window['setInterval'](()=>{const _0x1b2a9e=_0x14023c;this['_send']({'type':0x2,'memberID':this[_0x1b2a9e(0x1cb)]});},_0x435408);}[_0x5a505c(0x2eb)](_0x47404e){const _0x59f408=_0x5a505c;return this[_0x59f408(0x2cd)][_0x59f408(0x268)](_0x47404e)||this[_0x59f408(0x2cd)][_0x59f408(0x277)](_0x47404e,new _0x19f1b5[(_0x59f408(0x271))](_0x250f51[_0x59f408(0x2a4)][_0x59f408(0x1ac)])),this[_0x59f408(0x2cd)][_0x59f408(0x2af)](_0x47404e);}}_0x4853c8[_0x5a505c(0x252)]=_0x2b3810,_0x4853c8[_0x5a505c(0x160)]=_0x2dccfc,_0x4853c8['WebBrowserSingleActiveUnitService']=_0x5b753a,_0x4853c8['WebURLService']=_0x323909,Object[_0x5a505c(0x153)](_0x4853c8,Symbol[_0x5a505c(0x21f)],{'value':_0x5a505c(0x141)});}));
1
+ function _0x5a3b(){const _0x4788fc=['SOCKET_FAILED_RETRY','string','row','getSkeleton','rxjs/operators','WECHAT_HAS_BEEN_BOUND','_ensureSubject','mutations','366iZVwwW','bottom','font','INTERNAL_ERROR','engine','_refreshCollabCursors','getCurrentUnitForType','_backgroundColor','getCollabCursors$','CONNECTOR_DATA_TOO_LARGE','getColorFromTheme','@univerjs/rpc','ColorKit','top','_scheduleClearOtherTimer','_configService','jiqing.500','DeleteRangeMoveLeftCommandId','endColumn','getUnitStatus$','combineLatest','ISocketService','InsertRowCommandId','1yEptxv','RECT','MOBILE_HAS_BEEN_BOUND','actions','registerRefRange','LICENSE_MAX_UNITS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defineProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_collabSessionService','green.600','transformSelections','onCommandExecuted','SetWorksheetActivateCommand','startRow','init','getUnhiddenWorksheets','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','className','_hover','univer-mr-2\x20univer-flex\x20univer-text-xl','collaboration-client-ui.config','_online','/run/','_memberService','setInterval','IBeforeCloseService','CollaborationDataLoaderController','YUUMI_ASYNCIO_CANCELLED','JOIN_ROOM_FAILED','code','UniverProCollaboration','_univerInstanceService','pushState','then','CollaborationController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','m1Prime','getConfig','invokeId','RevisionService','useRef','LICENSE_EXPORT_SIZE_EXCEEDED','replace','USER_NOT_INVITED_CODE','key','includes','_initDependencies','_getSaveTimeout','currentSkeleton$','_name','indexOf','OTHER_CLIENTS_EDITING','loadOfflineData','currentTheme$','body','complete','registerBeforeClose','UPDATE_CURSOR','UniverIcon','_context','transformMutationsWithChangeset','_revisionService','unitId','UniverDocs','INVALID_ARGUMENT','_cursors','setShapeProps','_clearOtherTimers','_scene','setStateCache','_status$','push','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetsSelectionsService','from','addObject','jsxs','_saveTaskMap','_docTransformIMECacheService','div','onPointerMove$','@univerjs/network','_lastPointer','params','_textBubble','Unknown\x20user','_removeCollabCursors','displayName','SetSelectionsOperation','ICommandService','OnLineIcon','debug','startsWith','_colorIndex','rxjs','TEXT','getOwnPropertySymbols','_docSkeletonManagerService','IUniverInstanceService','cursorInfo$','transformMutation','_onCursorUpdate','_saveCache','APPLY_NON_SEQUENTIAL_REVISION','UNAUTHENTICATED','SYNCED','LICENSE_IMPORT_SIZE_EXCEEDED','_getScale','Rectangle','Tools','flatMap','WebURLService','enableLocalCache','tag','_roomMembers$','entityInit$','pluginName','runRefRangeMutations','jsx','unsubscribe','switchMap','_uiPartsService','_urlService','text','dispose','RemoteUniscriptService','onRendered','UniverDesign','fillText','takeUntil','RegularPolygon','getItem','touchDependencies','getActiveRange','_render','getCoordByCell','LocaleService','WebBrowserSingleActiveUnitService','getCurrentSelections','source','_entityInit$','length','findNodePositionByCharIndex','UniverUi','Error','isArray','CollaborationSessionService','CHANGESET_REVISION_CONFILICT','_transformService','getDocRanges','forwardRef','_startSheetCollabCursor','type','with','YUUMI_SUBSCRIPTION_NOT_FOUND','SetTextSelectionsOperation','InsertRangeMoveRightCommandId','popstate','currentColor','operators','SheetSkeletonManagerService','removeParam','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getValue','_draw','session.will-retry','UniverDocsUi','_docStateChangeManagerService','fromEventSubject','createIdentifier','_anchor','get','_setupSubUnitSync','handleInsertRangeMoveRight','_eventUnsubscribe','session.collaboration-timeout','permission.title','APPLY_DUPLICATED','call','registerDependencies','location','setActiveRange','getRenderById','collab-text-anchor-','getOwnPropertyDescriptor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','asObservable','NOT_FOUND','UniverProCollaborationClientUi','React','storage','_cursorInfo$','SheetCollabCursorShape','Injector','@univerjs/engine-render','_docTransformSelectionsService','saveImage','useCallback','cursorInfo','OFFLINE','UnitStatus','DocSelectionManagerService','USERS_LEAVE','_initResize','ONLINE','delete','_id','createInstance','_initStatusListener','amd','roomMembers','_drawAnchor','_collabCursorState$','Subject','handleIRemoveCol','_session','collaboration-client.offline-data-not-saved','hasOwnProperty','_refRangeService','react','getAncestorScale','sheetID','CollaborationUIEventId','CLOSE_ROOM','UNIVER_DOC','_collaborationController','range','_initEntityListener','unload','_getAnchorBounding','deserializeRangeWithSheet','getParam','undoState','subunit','getRangePointData','arc','UniverEngineFormula','registerRenderModule','@univerjs/drawing','_handleLeaveEvent','prototype','SetDocZoomRatioOperation','skeleton','setItem','@univerjs-pro/collaboration-client','@univerjs/docs','DocIMEInputManagerService','_scheduleSaving','apply','replaceDocRanges','UNIVER_SHEET','saveOfflineData','_transformHistoryAndStateStack','M0\x200H16V16H0z','_handleJoinEvent','useDependency','_onCursorDelete','measureText','ITransformService','parse','doc.mutation.rich-text-editing','_labelPosition','_httpService','_shapes','UniverCollaborationClientUIPlugin','InsertColCommandId','isTransformMutationsWithChangesetSuccess','white','react/jsx-runtime','Vector2','AWAITING_WITH_PENDING','memberID','getSheetBySheetId','UniverSheetsUi','INVITE_CODE_ALREADY_BOUND','entries','_initEvent','defIds','getTypeOfUnitAdded$','has','getSheetObject','isTransformMutationFailure','getStateCache','CONFLICT','Plugin','getSheetId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStateCache','_registerDependencies','split','column','values','ENSURE_SNAPSHOT_EXECUTION','_hideTimer','MOBILE_VERIFY_CODE_MISMATCH','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','on-line-icon_clip0_910_349','OTHER_CLIENT_EDITING','attrs','#FFF','_startDocCollabCursor','reconnect','_range','ILocalStorageService','_toggleOnline','0\x200\x2017\x2016','triggerDblclick','_sheetSkeletonManagerService','IURLService','whenReady','_heartbeatTimer','propertyIsEnumerable','VIEW_MAIN','color','assignAColorForMemberID','0\x200\x2016\x2016','red.300','_drawRectRange','toDisposable','_init','current','UniverInstanceType','YUUMI_URL_COL_OUT_OF_RANGE','ACTIVE_UNIT_EVENT_CHANNEL','_injector','_updateSubUnitFromURLParams','uni.network.url-service','exports','newValue','11208414KjABcr','forEach','isActive','post','off-line-icon','debounceTime','restore','_createSocketURL','generateRandomId','symbol','@univerjs/engine-formula','TOO_MANY_REQUESTS','collabStatus.offline','ranges','177504xGftbZ','urlChange$','setAlpha','deepClone','origin','_cursor','3HFYGCk','YUUMI_CONNECTOR_URL_NOT_FOUND','black','NOT_COLLAB','setUndoRedoMutationParamsCache','getMember','ALREADY_EXISTS','CommandType','DesktopCollaborationStatusDisplayController','PENDING','none','SOCKET_FAILED','error','next','AWAITING','@univerjs/sheets-ui','serializeRangeWithSheet','clearInterval','ThemeService','APPLY_REJECT','defs','labelPosition','fill','IMessageService','off-line-icon_clip0_910_343','_removeClearOtherTimer','handleInsertRow','_commandService','children','HEADER_MENU','add','save','_toggleOffline','purple.300','EMAIL_HAS_BEEN_BOUND','filter','MemberService','1538744OQwofe','IConfigService','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','event$','set','_handleEvent','map','concat','eventID','getFocusedUnit','evenodd','_scheduleHeartbeat','max','DataLoaderService','collaboration.closeRoom','collabStatus.notCollab','yellow.400','_entities','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','toStringTag','editingUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_dataLoaderService','docStateChange$','_docClipboardService','_localCacheService','drawWith','debounce','_transformPreviousActiveRange','_disabled','send','closePath','CollaborationUIEventService','toString','sessionTicket','COLORS','Disposable','clipPath','colorChannel1','INVITE_CODE_HAS_BEEN_UES','random','collabStatus.synced','stringify','COMPLETION_FINISHED','_colorAssignService','_updateCollabCursors','RichTextEditingMutation','unitID','_hovered','_send','DOC_RANGE_TYPE','Module','_anchorDot','sessionStatus$','ILocalCacheService','6394156pxsLeB','_instanceService','roomMembers$','Shape','getCurrent','_onRefRangeChange','subscribeEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','mask','min','replaceState','disposeWithMe','extend','LOCAL_CACHE_INTERVAL_KEY','TEXT_RANGE_LAYER_INDEX','_updateLocalCursor','DocStateChangeManagerService','SUBMIT_CHANGESET_TIMEOUT','runId','fillRule','_getMergeRange','_localeService','activeSheet$','runOnServer','onTransformChange$','svg','disableLocalCache','status$','YUUMI_AI_RUN_FAILED','LOGIN_FAILED','getOffsetConfig','_themeService','Inject','_doCreateSocket','getCellPositionByOffset','EffectRefRangId','addEventListener','setParam','EMAIL_VERIFY_CODE_MISMATCH','getMemberID','_updateURLWithCurrentState','executeCommand','onStarting','addHandlerCallback','href','createElement','@univerjs/sheets','_messageService','collabCursorState$','toRgbString','@univerjs/core','OffLineIcon','transformRemoteChangeset','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','collab-client.tooltip.reconnect','getUnitId','executionId','imageSourceType','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','result','IRenderManagerService','lineTo','m2Prime','PERMISSION_DENIED','_cachedData','onMouseMove','_assignedColors','NodePositionConvertToRectRange','onLocalMutation','saveTaskMap','moveTo','_logService','getUniverSheetInstance','path','FromArray','Rect','idSuffix','collabStatus.conflict','getTypeOfUnitDisposed$','_document','some','getColor','DocCollaborationEntity','name','icon','Warning','UNRECOGNIZED','_drawTextRange','_config','UniverProCollaborationClient','CollaborationEvent','xlink:href','DependentOn','requireSession','blue.400','_syncEditingCollabCursorService','1em','fromEvent','IImageIoService','trim','session.connection-failed','url(#off-line-icon_clip0_910_343)','APPLY_PERMISSION_DENIED','getViewport','MUTATION','RxDisposable','on-line-icon','_collabCursorController','collabStatus.syncing','_handleHeartbeatEvent','round','setTimeout','syncEditingCollabCursor','show','Failed','throttleTime','_unitOnClients','univer-flex\x20univer-items-center','BrowserCollaborationSocketService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','http://www.w3.org/2000/svg','56020gsGxcE','fillStyle','_docSyncEditingCollabCursorService','isEditing','sheetId','function','searchParams','UniverDrawing','YUUMI_NO_CUBOID_FOR_QUESTION','getRelativeToViewportCoord','_docSkeleton','UniverEngineRender','registerComponent','MoveRangeCommandId','unshift','dispose$','backgroundColor','MessageType','_imageIoService','useObservable','createSocket','UNDEFINED','getLocalCacheKey','width','startColumn','exhaustSavingTask','CollaborationStatus','NO_OTHER_CLIENTS_EDITING','disposeUnit','setConfig','collabStatus.fetchMiss','mapTo','_initStatusComponent','BehaviorSubject','data','@univerjs-pro/collaboration','handleInsertRangeMoveDown','_registerRenderDependencies','ILogService','UniverSheets','_getSheetObject','subUnitId','InsertRangeMoveDownCommandId','SessionStatus','distinctUntilChanged','_transformUndoRedoStack','_initCommandExecutedListener','_cursorShapes','_unitStatus','Tooltip','4528152JErtpG','onPointerLeave$','_renderManagerService','_color','merge','clearTimeout','subscribe','WebSocketService','history','substring','INVALID_INVITE_CODE','Workbook','size','transformIMECache','_getSessionTicket','assign','11622490dhVOjB','_localStorageService','pipe','SNAPSHOT_INVALID_SNAPSHOT','APPLY_REVISION_CONFILICT','_handleHover'];_0x5a3b=function(){return _0x4788fc;};return _0x5a3b();}function _0x4ec8(_0x1ce1f5,_0x570b54){const _0x5a3b9b=_0x5a3b();return _0x4ec8=function(_0x4ec82d,_0x45eca7){_0x4ec82d=_0x4ec82d-0x126;let _0x16d846=_0x5a3b9b[_0x4ec82d];return _0x16d846;},_0x4ec8(_0x1ce1f5,_0x570b54);}(function(_0x7da38a,_0x23fbee){const _0xf313f4=_0x4ec8,_0x59ae6a=_0x7da38a();while(!![]){try{const _0x365b9c=-parseInt(_0xf313f4(0x37a))/0x1*(-parseInt(_0xf313f4(0x261))/0x2)+parseInt(_0xf313f4(0x23c))/0x3*(-parseInt(_0xf313f4(0x299))/0x4)+-parseInt(_0xf313f4(0x313))/0x5*(-parseInt(_0xf313f4(0x363))/0x6)+parseInt(_0xf313f4(0x228))/0x7+parseInt(_0xf313f4(0x236))/0x8+parseInt(_0xf313f4(0x345))/0x9+-parseInt(_0xf313f4(0x355))/0xa;if(_0x365b9c===_0x23fbee)break;else _0x59ae6a['push'](_0x59ae6a['shift']());}catch(_0x21b0fe){_0x59ae6a['push'](_0x59ae6a['shift']());}}}(_0x5a3b,0xc7d72),function(_0x21b542,_0x4467c8){const _0x56b8a3=_0x4ec8;typeof exports=='object'&&typeof module<'u'?_0x4467c8(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==_0x56b8a3(0x318)&&define[_0x56b8a3(0x1af)]?define([_0x56b8a3(0x226),_0x56b8a3(0x1ea),_0x56b8a3(0x1d2),_0x56b8a3(0x2cb),'@univerjs/ui',_0x56b8a3(0x13c),'@univerjs/design',_0x56b8a3(0x1b9),_0x56b8a3(0x36e),_0x56b8a3(0x2c7),_0x56b8a3(0x1a0),_0x56b8a3(0x12f),'@univerjs/docs-ui',_0x56b8a3(0x1cc),_0x56b8a3(0x336),_0x56b8a3(0x1d3),_0x56b8a3(0x232),_0x56b8a3(0x35f),_0x56b8a3(0x24b)],_0x4467c8):(_0x21b542=typeof globalThis<'u'?globalThis:_0x21b542||self,_0x4467c8(_0x21b542[_0x56b8a3(0x19a)]={},_0x21b542[_0x56b8a3(0x19b)],_0x21b542[_0x56b8a3(0x2f3)],_0x21b542['UniverCore'],_0x21b542[_0x56b8a3(0x16d)],_0x21b542['rxjs'],_0x21b542[_0x56b8a3(0x15d)],_0x21b542[_0x56b8a3(0x19b)],_0x21b542['UniverRpc'],_0x21b542[_0x56b8a3(0x33a)],_0x21b542[_0x56b8a3(0x31e)],_0x21b542['UniverNetwork'],_0x21b542[_0x56b8a3(0x184)],_0x21b542[_0x56b8a3(0x31a)],_0x21b542[_0x56b8a3(0x39a)],_0x21b542[_0x56b8a3(0x3bb)],_0x21b542[_0x56b8a3(0x1ca)],_0x21b542[_0x56b8a3(0x13c)][_0x56b8a3(0x17d)],_0x21b542[_0x56b8a3(0x1ef)]));}(this,function(_0x990236,_0x5e29a8,_0x36b1ab,_0x4976c9,_0x39d563,_0x1af8d0,_0xe10add,_0x5ae42a,_0x47cf56,_0x4fd33e,_0x5ed3cd,_0x2a9b18,_0x4f5309,_0x12f919,_0x280b1c,_0x407a59,_0x5b23dd,_0x210849,_0x234c3f){'use strict';const _0x2ba232=_0x4ec8;var _0x4af1da=Object[_0x2ba232(0x381)],_0x5028ce=(_0x2cb995,_0x39dc1f,_0x56530c)=>_0x39dc1f in _0x2cb995?_0x4af1da(_0x2cb995,_0x39dc1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56530c}):_0x2cb995[_0x39dc1f]=_0x56530c,_0x2a0527=(_0x3d45df,_0x580f32,_0x4df175)=>_0x5028ce(_0x3d45df,typeof _0x580f32!=_0x2ba232(0x231)?_0x580f32+'':_0x580f32,_0x4df175),_0x40be78=function(){const _0x220181=_0x2ba232;return _0x40be78=Object[_0x220181(0x354)]||function(_0x370920){const _0x5a2b6e=_0x220181;for(var _0x4da992,_0x3f10e0=0x1,_0x384b25=arguments[_0x5a2b6e(0x16b)];_0x3f10e0<_0x384b25;_0x3f10e0++){_0x4da992=arguments[_0x3f10e0];for(var _0x458c3d in _0x4da992)Object['prototype'][_0x5a2b6e(0x1b7)][_0x5a2b6e(0x190)](_0x4da992,_0x458c3d)&&(_0x370920[_0x458c3d]=_0x4da992[_0x458c3d]);}return _0x370920;},_0x40be78[_0x220181(0x1d6)](this,arguments);},_0x1155a6=function(_0x1d479a,_0x17d608){const _0x56feec=_0x2ba232;var _0x5409cd={};for(var _0x20ad74 in _0x1d479a)Object[_0x56feec(0x1ce)][_0x56feec(0x1b7)][_0x56feec(0x190)](_0x1d479a,_0x20ad74)&&_0x17d608['indexOf'](_0x20ad74)<0x0&&(_0x5409cd[_0x20ad74]=_0x1d479a[_0x20ad74]);if(_0x1d479a!=null&&typeof Object[_0x56feec(0x13e)]==_0x56feec(0x318)){for(var _0x96d0ca=0x0,_0x20ad74=Object['getOwnPropertySymbols'](_0x1d479a);_0x96d0ca<_0x20ad74[_0x56feec(0x16b)];_0x96d0ca++)_0x17d608[_0x56feec(0x3ae)](_0x20ad74[_0x96d0ca])<0x0&&Object[_0x56feec(0x1ce)][_0x56feec(0x216)][_0x56feec(0x190)](_0x1d479a,_0x20ad74[_0x96d0ca])&&(_0x5409cd[_0x20ad74[_0x96d0ca]]=_0x1d479a[_0x20ad74[_0x96d0ca]]);}return _0x5409cd;},_0x28d145=_0x5ae42a[_0x2ba232(0x174)](function(_0x4406d8,_0x394f2a){const _0xcbe2c8=_0x2ba232;var _0x52666f=_0x4406d8[_0xcbe2c8(0x2ee)],_0x2e3569=_0x4406d8['id'],_0x183386=_0x4406d8['className'],_0x5034b4=_0x4406d8[_0xcbe2c8(0x2a5)],_0x1be349=_0x1155a6(_0x4406d8,[_0xcbe2c8(0x2ee),'id',_0xcbe2c8(0x38d),_0xcbe2c8(0x2a5)]),_0x12a5ce='univerjs-icon\x20univerjs-icon-'[_0xcbe2c8(0x268)](_0x2e3569,'\x20')[_0xcbe2c8(0x268)](_0x183386||'')[_0xcbe2c8(0x2fd)](),_0x3c2497=_0x5ae42a[_0xcbe2c8(0x3a4)]('_'[_0xcbe2c8(0x268)](_0x205462()));return _0x2d0610(_0x52666f,''['concat'](_0x2e3569),{'defIds':_0x52666f[_0xcbe2c8(0x1f3)],'idSuffix':_0x3c2497[_0xcbe2c8(0x21f)]},_0x40be78({'ref':_0x394f2a,'className':_0x12a5ce},_0x1be349),_0x5034b4);});function _0x2d0610(_0x4fa59d,_0x4c11a2,_0x4ab9fd,_0x2e6dc3,_0x2d31ab){const _0x3e3872=_0x2ba232;return _0x5ae42a['createElement'](_0x4fa59d['tag'],_0x40be78(_0x40be78({'key':_0x4c11a2},_0x2cb412(_0x4fa59d,_0x4ab9fd,_0x2d31ab)),_0x2e6dc3),(_0x5c9ad5(_0x4fa59d,_0x4ab9fd)[_0x3e3872(0x258)]||[])[_0x3e3872(0x267)](function(_0x51aa57,_0x206293){const _0xec9f13=_0x3e3872;return _0x2d0610(_0x51aa57,''['concat'](_0x4c11a2,'-')[_0xec9f13(0x268)](_0x4fa59d[_0xec9f13(0x14f)],'-')['concat'](_0x206293),_0x4ab9fd,void 0x0,_0x2d31ab);}));}function _0x2cb412(_0x1f4e83,_0x303d22,_0x10121a){const _0x167c48=_0x2ba232;var _0x274bbe=_0x40be78({},_0x1f4e83[_0x167c48(0x209)]);_0x10121a!=null&&_0x10121a[_0x167c48(0x288)]&&_0x274bbe[_0x167c48(0x252)]===_0x167c48(0x288)&&(_0x274bbe[_0x167c48(0x252)]=_0x10121a[_0x167c48(0x288)]),_0x1f4e83[_0x167c48(0x14f)]===_0x167c48(0x2a1)&&_0x274bbe['id']&&(_0x274bbe['id']=_0x274bbe['id']+_0x303d22[_0x167c48(0x2e6)]),Object['entries'](_0x274bbe)[_0x167c48(0x229)](function(_0x16cb23){const _0x2d8ff4=_0x167c48;var _0x497891=_0x16cb23[0x0],_0x2edac8=_0x16cb23[0x1];_0x497891===_0x2d8ff4(0x2a1)&&typeof _0x2edac8==_0x2d8ff4(0x35c)&&(_0x274bbe[_0x497891]=_0x2edac8[_0x2d8ff4(0x3a6)](/url\(#(.*)\)/,'url(#$1'[_0x2d8ff4(0x268)](_0x303d22[_0x2d8ff4(0x2e6)],')')));});var _0x82f132=_0x303d22[_0x167c48(0x1f3)];return!_0x82f132||_0x82f132['length']===0x0||(_0x1f4e83[_0x167c48(0x14f)]==='use'&&_0x274bbe['xlink:href']&&(_0x274bbe[_0x167c48(0x2f5)]=_0x274bbe[_0x167c48(0x2f5)]+_0x303d22[_0x167c48(0x2e6)]),Object[_0x167c48(0x1f1)](_0x274bbe)[_0x167c48(0x229)](function(_0x3d8a0e){const _0x46af28=_0x167c48;var _0x4c1913=_0x3d8a0e[0x0],_0xab4c4e=_0x3d8a0e[0x1];typeof _0xab4c4e=='string'&&(_0x274bbe[_0x4c1913]=_0xab4c4e[_0x46af28(0x3a6)](/url\(#(.*)\)/,'url(#$1'[_0x46af28(0x268)](_0x303d22[_0x46af28(0x2e6)],')')));})),_0x274bbe;}function _0x5c9ad5(_0x48ff8f,_0x53a291){const _0x1a18c6=_0x2ba232;var _0x23857c,_0x2b71af=_0x53a291[_0x1a18c6(0x1f3)];return!_0x2b71af||_0x2b71af['length']===0x0?_0x48ff8f:_0x48ff8f['tag']===_0x1a18c6(0x250)&&(!((_0x23857c=_0x48ff8f['children'])===null||_0x23857c===void 0x0)&&_0x23857c['length'])?_0x40be78(_0x40be78({},_0x48ff8f),{'children':_0x48ff8f[_0x1a18c6(0x258)][_0x1a18c6(0x267)](function(_0x11425e){const _0x23e818=_0x1a18c6;return typeof _0x11425e[_0x23e818(0x209)]['id']=='string'&&_0x2b71af&&_0x2b71af['includes'](_0x11425e[_0x23e818(0x209)]['id'])?_0x40be78(_0x40be78({},_0x11425e),{'attrs':_0x40be78(_0x40be78({},_0x11425e[_0x23e818(0x209)]),{'id':_0x11425e['attrs']['id']+_0x53a291['idSuffix']})}):_0x11425e;})}):_0x48ff8f;}function _0x205462(){const _0x737d42=_0x2ba232;return Math[_0x737d42(0x28a)]()[_0x737d42(0x283)](0x24)[_0x737d42(0x34e)](0x2,0x8);}_0x28d145[_0x2ba232(0x135)]=_0x2ba232(0x3b6);var _0x585c84={'tag':_0x2ba232(0x2b2),'attrs':{'xmlns':_0x2ba232(0x312),'fill':_0x2ba232(0x246),'viewBox':_0x2ba232(0x21a),'width':_0x2ba232(0x2fa),'height':_0x2ba232(0x2fa)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ba232(0x2ff)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'stroke':'currentColor','d':_0x2ba232(0x263),'strokeLinecap':_0x2ba232(0x308),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ba232(0x250),'attrs':{},'children':[{'tag':_0x2ba232(0x287),'attrs':{'id':_0x2ba232(0x254)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'fill':_0x2ba232(0x1e9),'d':_0x2ba232(0x1db)}}]}]}],'defIds':[_0x2ba232(0x254)]},_0x5d7a21=_0x5ae42a[_0x2ba232(0x174)](function(_0xbb4cfb,_0x14ca43){const _0x48cf26=_0x2ba232;return _0x5ae42a[_0x48cf26(0x2c6)](_0x28d145,Object[_0x48cf26(0x354)]({},_0xbb4cfb,{'id':_0x48cf26(0x22c),'ref':_0x14ca43,'icon':_0x585c84}));});_0x5d7a21[_0x2ba232(0x135)]=_0x2ba232(0x2cc);var _0x4fbceb={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2ba232(0x246),'viewBox':_0x2ba232(0x210),'width':_0x2ba232(0x2fa),'height':_0x2ba232(0x2fa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'stroke':_0x2ba232(0x17c),'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':_0x2ba232(0x308),'strokeLinejoin':_0x2ba232(0x308),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2ba232(0x287),'attrs':{'id':_0x2ba232(0x207)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'fill':_0x2ba232(0x1e9),'d':_0x2ba232(0x1db),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2ba232(0x207)]},_0x41db16=_0x5ae42a['forwardRef'](function(_0x4da6c9,_0x43b05d){const _0x54d274=_0x2ba232;return _0x5ae42a[_0x54d274(0x2c6)](_0x28d145,Object[_0x54d274(0x354)]({},_0x4da6c9,{'id':_0x54d274(0x304),'ref':_0x43b05d,'icon':_0x4fbceb}));});_0x41db16[_0x2ba232(0x135)]=_0x2ba232(0x138);function _0x495430(_0x2092d2){const _0xd80a5b=_0x2ba232;switch(_0x2092d2){case _0x36b1ab[_0xd80a5b(0x32d)]['OFFLINE']:return _0xd80a5b(0x234);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x1f9)]:return _0xd80a5b(0x2e7);case _0x36b1ab[_0xd80a5b(0x32d)]['FETCH_MISS']:return _0xd80a5b(0x331);case _0x36b1ab[_0xd80a5b(0x32d)]['NOT_COLLAB']:return _0xd80a5b(0x270);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x24a)]:case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x1ec)]:return _0xd80a5b(0x306);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x147)]:case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x245)]:return _0xd80a5b(0x28b);}}function _0x3f31f8(_0x1669de){const _0x296f7a=_0x2ba232,{status$:_0x270aee}=_0x1669de,_0x27c7bd=_0x39d563[_0x296f7a(0x326)](_0x270aee,_0x36b1ab[_0x296f7a(0x32d)][_0x296f7a(0x23f)]),_0x107277=_0x39d563['useDependency'](_0x4976c9[_0x296f7a(0x166)]),_0x2ac447=_0x39d563[_0x296f7a(0x1dd)](_0x36b1ab[_0x296f7a(0x170)]),_0x3ce8d2=_0x27c7bd!==_0x36b1ab['CollaborationStatus'][_0x296f7a(0x1a5)],_0x297aaa=_0x107277['t'](_0x495430(_0x27c7bd)),_0x53377f=_0x3ce8d2?_0x5e29a8[_0x296f7a(0x154)](_0x41db16,{}):_0x5e29a8[_0x296f7a(0x154)](_0x5d7a21,{}),_0x54913b=_0x5ae42a[_0x296f7a(0x1a3)](()=>{const _0x531487=_0x296f7a;_0x3ce8d2||_0x2ac447[_0x531487(0x20c)]();},[_0x3ce8d2,_0x2ac447]);function _0x16b34e(){const _0xd8d7d1=_0x296f7a;return _0x5e29a8[_0xd8d7d1(0x12a)]('div',{'className':_0xd8d7d1(0x30f),'onClick':_0x54913b,'children':[_0x5e29a8[_0xd8d7d1(0x154)](_0xd8d7d1(0x12d),{'className':_0xe10add['clsx'](_0xd8d7d1(0x38f),{'univer-text-green-500':_0x3ce8d2,'univer-text-red-500':!_0x3ce8d2}),'children':_0x53377f}),_0x5e29a8['jsx'](_0xd8d7d1(0x12d),{'className':_0xd8d7d1(0x39f),'children':_0x297aaa})]});}return _0x3ce8d2?_0x16b34e():_0x5e29a8[_0x296f7a(0x154)](_0xe10add[_0x296f7a(0x344)],{'title':_0x107277['t'](_0x296f7a(0x2d0)),'children':_0x16b34e()});}var _0x2d45a6=Object[_0x2ba232(0x196)],_0x384e81=(_0x120b57,_0x424091,_0x4ffe7b,_0x366b1c)=>{const _0x189b0b=_0x2ba232;for(var _0x3bda63=_0x366b1c>0x1?void 0x0:_0x366b1c?_0x2d45a6(_0x424091,_0x4ffe7b):_0x424091,_0xdafb2b=_0x120b57[_0x189b0b(0x16b)]-0x1,_0x4b1b83;_0xdafb2b>=0x0;_0xdafb2b--)(_0x4b1b83=_0x120b57[_0xdafb2b])&&(_0x3bda63=_0x4b1b83(_0x3bda63)||_0x3bda63);return _0x3bda63;},_0x1e1f12=(_0x2380c2,_0x4d8109)=>(_0x56112f,_0x597c11)=>_0x4d8109(_0x56112f,_0x597c11,_0x2380c2);_0x990236[_0x2ba232(0x244)]=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x46f33d,_0x4d627e,_0x574842,_0x20483e){const _0x59c6ed=_0x2ba232;super(),_0x2a0527(this,_0x59c6ed(0x3c2),new _0x1af8d0['BehaviorSubject'](_0x36b1ab[_0x59c6ed(0x32d)][_0x59c6ed(0x23f)])),(this['_univerInstanceService']=_0x46f33d,this['_injector']=_0x4d627e,this[_0x59c6ed(0x1bf)]=_0x574842,this[_0x59c6ed(0x157)]=_0x20483e,this[_0x59c6ed(0x333)](),this[_0x59c6ed(0x1ae)]());}[_0x2ba232(0x1ae)](){const _0x496754=_0x2ba232;this['disposeWithMe'](this[_0x496754(0x39b)]['focused$'][_0x496754(0x357)](_0x1af8d0[_0x496754(0x156)](()=>{const _0xd2c5c=_0x496754,_0x2e0f50=this[_0xd2c5c(0x39b)][_0xd2c5c(0x26a)]();return _0x2e0f50?this[_0xd2c5c(0x1bf)]['getCollabEntity$'](_0x2e0f50[_0xd2c5c(0x2d1)]()):_0x1af8d0['of'](null);}),_0x1af8d0[_0x496754(0x156)](_0x205140=>_0x205140?_0x205140[_0x496754(0x2b4)]:_0x1af8d0['of'](_0x36b1ab[_0x496754(0x32d)][_0x496754(0x23f)])))[_0x496754(0x34b)](_0x541b1b=>{const _0x4f8bdb=_0x496754;this[_0x4f8bdb(0x3c2)][_0x4f8bdb(0x249)](_0x541b1b);}));}[_0x2ba232(0x333)](){const _0x565800=_0x2ba232;this[_0x565800(0x2a4)](this['_uiPartsService'][_0x565800(0x31f)](_0x39d563['BuiltInUIPart'][_0x565800(0x259)],()=>_0x39d563['connectInjector'](_0x24a513({'status$':this[_0x565800(0x3c2)]['asObservable']()}),this['_injector'])));}},_0x990236[_0x2ba232(0x244)]=_0x384e81([_0x1e1f12(0x0,_0x4976c9['IUniverInstanceService']),_0x1e1f12(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['Injector'])),_0x1e1f12(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x39e)])),_0x1e1f12(0x3,_0x39d563['IUIPartsService'])],_0x990236['DesktopCollaborationStatusDisplayController']);function _0x24a513(_0x380788){const {status$:_0x4599b2}=_0x380788;return function(){const _0x5446b1=_0x4ec8;return _0x5e29a8[_0x5446b1(0x154)](_0x3f31f8,{'status$':_0x4599b2});};}const _0x47c2f3=_0x4976c9[_0x2ba232(0x187)](_0x2ba232(0x225));var _0x3b9f1d=Object['getOwnPropertyDescriptor'],_0x4ffdfb=(_0x4c153d,_0x21ce82,_0xfcb46e,_0x52b425)=>{const _0x126303=_0x2ba232;for(var _0x226449=_0x52b425>0x1?void 0x0:_0x52b425?_0x3b9f1d(_0x21ce82,_0xfcb46e):_0x21ce82,_0x13bf60=_0x4c153d[_0x126303(0x16b)]-0x1,_0x8094b8;_0x13bf60>=0x0;_0x13bf60--)(_0x8094b8=_0x4c153d[_0x13bf60])&&(_0x226449=_0x8094b8(_0x226449)||_0x226449);return _0x226449;},_0x1bf0bb=(_0x10cc2e,_0x335584)=>(_0x378e64,_0x30a89d)=>_0x335584(_0x378e64,_0x30a89d,_0x10cc2e);_0x990236[_0x2ba232(0x396)]=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x2826ec,_0x4cc2cb,_0x118f03,_0x36b21f,_0x107df3){const _0x374ec5=_0x2ba232;super(),this[_0x374ec5(0x158)]=_0x2826ec,this[_0x374ec5(0x2e1)]=_0x4cc2cb,this[_0x374ec5(0x257)]=_0x118f03,this[_0x374ec5(0x278)]=_0x36b21f,_0x107df3?_0x107df3==null||_0x107df3[_0x374ec5(0x214)]()[_0x374ec5(0x39d)](()=>this[_0x374ec5(0x21e)]()):(this[_0x374ec5(0x2e1)][_0x374ec5(0x139)](_0x374ec5(0x38b),_0x374ec5(0x380)),this[_0x374ec5(0x21e)]());}async['_init'](){const _0x1e0ebf=_0x2ba232,_0x204bb3=this['_urlService'][_0x1e0ebf(0x1c5)]('unit'),_0x69af94=this[_0x1e0ebf(0x158)][_0x1e0ebf(0x1c5)](_0x1e0ebf(0x176)),_0x5f5204=this[_0x1e0ebf(0x158)][_0x1e0ebf(0x1c5)]('subunit');if(!_0x204bb3||!_0x69af94){this[_0x1e0ebf(0x2e1)][_0x1e0ebf(0x139)](_0x1e0ebf(0x38b),_0x1e0ebf(0x2a0));return;}const _0x238aeb=await this[_0x1e0ebf(0x278)]['loadUnit'](_0x204bb3,Number(_0x69af94),_0x5f5204);_0x238aeb&&_0x238aeb instanceof _0x4976c9[_0x1e0ebf(0x350)]&&this[_0x1e0ebf(0x18a)](_0x238aeb);}async['_setupSubUnitSync'](_0x599e73){const _0x242e85=_0x2ba232;await this[_0x242e85(0x224)](_0x599e73),_0x599e73[_0x242e85(0x2af)][_0x242e85(0x357)](_0x1af8d0[_0x242e85(0x15f)](this['dispose$']))[_0x242e85(0x34b)](_0x3ec416=>{const _0x1f3d70=_0x242e85;_0x3ec416&&this[_0x1f3d70(0x2c1)](_0x3ec416);}),this[_0x242e85(0x158)][_0x242e85(0x237)][_0x242e85(0x357)](_0x1af8d0[_0x242e85(0x15f)](this[_0x242e85(0x322)]))['subscribe'](()=>this[_0x242e85(0x224)](_0x599e73));}['_updateURLWithCurrentState'](_0x5b6947,_0x323f62=!0x1){const _0x1562cd=_0x2ba232,_0x3ebbec=this[_0x1562cd(0x158)]['getParam'](_0x1562cd(0x1c7));_0x5b6947[_0x1562cd(0x1fb)]()!==_0x3ebbec&&this[_0x1562cd(0x158)][_0x1562cd(0x2be)](_0x1562cd(0x1c7),_0x5b6947[_0x1562cd(0x1fb)](),_0x323f62);}async[_0x2ba232(0x224)](_0x58b327){const _0x561e09=_0x2ba232;var _0x503281;const _0x231aa9=this[_0x561e09(0x158)][_0x561e09(0x1c5)](_0x561e09(0x1c7));if(!_0x231aa9||!_0x58b327['getSheetBySheetId'](_0x231aa9)){const _0x32cad5=_0x58b327[_0x561e09(0x38a)]()[0x0],_0x42d86e=_0x58b327[_0x561e09(0x1ee)](_0x32cad5);if(!_0x42d86e)return;this[_0x561e09(0x2c1)](_0x42d86e,!0x0),await this[_0x561e09(0x257)][_0x561e09(0x2c2)](_0x4fd33e['SetWorksheetActivateCommand']['id'],{'unitId':_0x58b327['getUnitId'](),'subUnitId':_0x32cad5});return;}((_0x503281=_0x58b327['getActiveSheet']())==null?void 0x0:_0x503281[_0x561e09(0x1fb)]())!==_0x231aa9&&await this[_0x561e09(0x257)][_0x561e09(0x2c2)](_0x4fd33e[_0x561e09(0x387)]['id'],{'unitId':_0x58b327['getUnitId'](),'subUnitId':_0x231aa9});}},_0x990236[_0x2ba232(0x396)]=_0x4ffdfb([_0x1bf0bb(0x0,_0x47c2f3),_0x1bf0bb(0x1,_0x4976c9[_0x2ba232(0x339)]),_0x1bf0bb(0x2,_0x4976c9[_0x2ba232(0x137)]),_0x1bf0bb(0x3,_0x4976c9['Inject'](_0x36b1ab[_0x2ba232(0x26e)])),_0x1bf0bb(0x4,_0x4976c9['Optional'](_0x47cf56['IRemoteInstanceService']))],_0x990236['CollaborationDataLoaderController']);var _0x4b17d1=Object['getOwnPropertyDescriptor'],_0xdbedc=(_0x479bd7,_0x11cca6,_0x22aee8,_0x889d90)=>{const _0x20519a=_0x2ba232;for(var _0x4ffc7c=_0x889d90>0x1?void 0x0:_0x889d90?_0x4b17d1(_0x11cca6,_0x22aee8):_0x11cca6,_0x2d694d=_0x479bd7[_0x20519a(0x16b)]-0x1,_0x4affc7;_0x2d694d>=0x0;_0x2d694d--)(_0x4affc7=_0x479bd7[_0x2d694d])&&(_0x4ffc7c=_0x4affc7(_0x4ffc7c)||_0x4ffc7c);return _0x4ffc7c;},_0x2620fe=(_0x25ef8b,_0x3611b3)=>(_0x5c4edb,_0x33a96c)=>_0x3611b3(_0x5c4edb,_0x33a96c,_0x25ef8b);let _0x4ca2b5=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x3ab552,_0x2486a9){const _0x46f5b0=_0x2ba232;super(),this[_0x46f5b0(0x27a)]=_0x3ab552,this['_imageIoService']=_0x2486a9,this['_init']();}['_init'](){const _0x2fa569=_0x2ba232,_0x17294f=this;this['disposeWithMe'](this[_0x2fa569(0x27a)]['addClipboardHook']({'onBeforePasteImage':async _0x571faa=>{const _0xe9c75e=_0x2fa569,_0x1c5612=await _0x17294f[_0xe9c75e(0x325)][_0xe9c75e(0x1a2)](_0x571faa);return _0x1c5612?{'source':_0x1c5612[_0xe9c75e(0x169)],'imageSourceType':_0x1c5612[_0xe9c75e(0x2d3)]}:null;}}));}};_0x4ca2b5=_0xdbedc([_0x2620fe(0x0,_0x4f5309['IDocClipboardService']),_0x2620fe(0x1,_0x12f919[_0x2ba232(0x2fc)])],_0x4ca2b5);const _0x14c4ad=[_0x2ba232(0x25d),_0x2ba232(0x373),_0x2ba232(0x384),_0x2ba232(0x21b),_0x2ba232(0x2f8),_0x2ba232(0x271)];class _0x2d77a3 extends _0x4976c9[_0x2ba232(0x286)]{constructor(){const _0x6f26fb=_0x2ba232;super(...arguments),_0x2a0527(this,_0x6f26fb(0x2dc),new Map()),_0x2a0527(this,_0x6f26fb(0x13b),0x0);}['assignAColorForMemberID'](_0x3bb7db){const _0x187bac=_0x2ba232;if(this[_0x187bac(0x2dc)][_0x187bac(0x1f5)](_0x3bb7db))return this[_0x187bac(0x2dc)][_0x187bac(0x189)](_0x3bb7db);const _0xb97d1=_0x14c4ad[this[_0x187bac(0x13b)]];return this[_0x187bac(0x13b)]=(this[_0x187bac(0x13b)]+0x1)%_0x14c4ad[_0x187bac(0x16b)],this[_0x187bac(0x2dc)]['set'](_0x3bb7db,_0xb97d1),_0xb97d1;}}function _0x1ac134(_0x2254f9){const _0x3611fb=_0x2ba232;let _0x39b439='';for(const _0x2379ce of _0x2254f9){const {startOffset:_0x79409d,endOffset:_0x1d18bd,isActive:_0x29b64a,rangeType:_0xc905a3,segmentId:_0x548c2c,segmentPage:_0x5c73ef}=_0x2379ce;_0x39b439[_0x3611fb(0x16b)]&&(_0x39b439+=','),_0x39b439+=_0x79409d+':'+_0x1d18bd+':'+(_0x29b64a?'1':'0')+':'+_0xc905a3+':'+_0x548c2c+':'+_0x5c73ef;}return _0x39b439;}function _0x4b40e1(_0x4ea06f){const _0x5d598a=_0x2ba232,_0x16a140=_0x4ea06f[_0x5d598a(0x1ff)](','),_0x16c002=[];for(const _0x1bd7eb of _0x16a140){const [_0x31521a,_0x1c46a3,_0x455215,_0x38a150,_0x23dab9,_0x4b4d2f]=_0x1bd7eb['split'](':');_0x16c002[_0x5d598a(0x3c3)]({'startOffset':Number(_0x31521a),'endOffset':Number(_0x1c46a3),'collapsed':_0x31521a===_0x1c46a3,'isActive':_0x455215==='1','rangeType':_0x38a150===_0x4976c9[_0x5d598a(0x294)]['TEXT']?_0x4976c9[_0x5d598a(0x294)][_0x5d598a(0x13d)]:_0x4976c9[_0x5d598a(0x294)][_0x5d598a(0x37b)],'segmentId':typeof _0x23dab9==_0x5d598a(0x35c)?String(_0x23dab9):'','segmentPage':Number(_0x4b4d2f!=null?_0x4b4d2f:-0x1)});}return _0x16c002[_0x5d598a(0x2ea)](_0x370531=>_0x370531[_0x5d598a(0x22a)])||(_0x16c002[0x0][_0x5d598a(0x22a)]=!0x0),_0x16c002;}class _0x1eca04 extends _0x4976c9[_0x2ba232(0x303)]{constructor(){const _0x5ed2ca=_0x2ba232;super(...arguments),_0x2a0527(this,_0x5ed2ca(0x1b2),new _0x1af8d0['BehaviorSubject'](null)),_0x2a0527(this,_0x5ed2ca(0x2c9),this[_0x5ed2ca(0x1b2)][_0x5ed2ca(0x198)]());}[_0x2ba232(0x30a)](_0x687791){const _0x1b4637=_0x2ba232,{unitID:_0x11a3b1,memberID:_0x12275c,textRanges:_0xdf76e0}=_0x687791,_0x2cd83b=_0x1ac134(_0xdf76e0);if(_0x2cd83b==='')return;const _0x22ef14={'unitID':_0x11a3b1,'memberID':_0x12275c,'selection':_0x2cd83b};this[_0x1b4637(0x1b2)]['next'](_0x22ef14);}}var _0x278c3a=Object[_0x2ba232(0x196)],_0x11ca20=(_0x2d3ffa,_0x3800fc,_0x4b5cee,_0x5babf0)=>{const _0x5d380c=_0x2ba232;for(var _0x47b09f=_0x5babf0>0x1?void 0x0:_0x5babf0?_0x278c3a(_0x3800fc,_0x4b5cee):_0x3800fc,_0x5cd362=_0x2d3ffa[_0x5d380c(0x16b)]-0x1,_0x1b2f76;_0x5cd362>=0x0;_0x5cd362--)(_0x1b2f76=_0x2d3ffa[_0x5cd362])&&(_0x47b09f=_0x1b2f76(_0x47b09f)||_0x47b09f);return _0x47b09f;},_0x2201d3=(_0xaee3a,_0xa3d591)=>(_0x310f74,_0x42e5cf)=>_0xa3d591(_0x310f74,_0x42e5cf,_0xaee3a);const _0x3ad55a=0x12c,_0x3c2a68=0x64;let _0xa202dc=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x121e23,_0x1b4036,_0x235d97,_0x46c328,_0x299282,_0x247226,_0x2f80a3,_0x392aed,_0xfa1428){const _0x3bcca2=_0x2ba232;super(),_0x2a0527(this,'_online',!0x1),_0x2a0527(this,_0x3bcca2(0x21e),!0x1),_0x2a0527(this,_0x3bcca2(0x19d),new _0x1af8d0[(_0x3bcca2(0x334))](new Map())),_0x2a0527(this,_0x3bcca2(0x141),this['_cursorInfo$'][_0x3bcca2(0x198)]()),_0x2a0527(this,_0x3bcca2(0x150),new _0x1af8d0['BehaviorSubject']([])),_0x2a0527(this,_0x3bcca2(0x29b),this[_0x3bcca2(0x150)][_0x3bcca2(0x357)](_0x1af8d0['debounceTime'](_0x3ad55a))),_0x2a0527(this,'_updateLocalCursor',_0x4976c9[_0x3bcca2(0x27d)](_0x2401ba=>{const _0x31d408=_0x3bcca2,_0x2579fd={'eventID':_0x280b1c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x31d408(0x291)],'memberID':this[_0x31d408(0x1b5)][_0x31d408(0x2c0)](),'selection':_0x1ac134(_0x2401ba)}};this['_session'][_0x31d408(0x280)](_0x2579fd,this['unitID']);},_0x3c2a68)),(this[_0x3bcca2(0x291)]=_0x121e23,this[_0x3bcca2(0x1b5)]=_0x1b4036,this[_0x3bcca2(0x223)]=_0x235d97,this['_colorAssignService']=_0x46c328,this[_0x3bcca2(0x393)]=_0x299282,this[_0x3bcca2(0x2f9)]=_0x247226,this[_0x3bcca2(0x172)]=_0x2f80a3,this[_0x3bcca2(0x39b)]=_0x392aed,this[_0x3bcca2(0x257)]=_0xfa1428);}get[_0x2ba232(0x1a4)](){const _0x47e411=_0x2ba232;return this[_0x47e411(0x19d)]['getValue']();}get[_0x2ba232(0x1b0)](){const _0x2bc758=_0x2ba232;return this[_0x2bc758(0x150)][_0x2bc758(0x181)]();}['dispose'](){const _0x5b5eb8=_0x2ba232;super['dispose'](),this[_0x5b5eb8(0x19d)]['next'](new Map()),this['_cursorInfo$'][_0x5b5eb8(0x3b3)](),this[_0x5b5eb8(0x150)][_0x5b5eb8(0x249)]([]),this[_0x5b5eb8(0x150)][_0x5b5eb8(0x3b3)]();}[_0x2ba232(0x389)](){const _0x33da24=_0x2ba232;this[_0x33da24(0x21e)]||(this[_0x33da24(0x21e)]=!0x0,this[_0x33da24(0x1b5)][_0x33da24(0x297)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x3584e5=>{const _0x260ba1=_0x33da24;_0x3584e5===_0x36b1ab['SessionStatus'][_0x260ba1(0x1aa)]?this[_0x260ba1(0x20f)]():this[_0x260ba1(0x25c)]();}),this['_session'][_0x33da24(0x264)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x4defbd=>{const _0x519a13=_0x33da24,_0x48e8e1=_0x4defbd[_0x519a13(0x269)];_0x48e8e1===_0x280b1c[_0x519a13(0x2f4)]['UPDATE_CURSOR']&&this[_0x519a13(0x143)](_0x4defbd),_0x48e8e1===_0x280b1c[_0x519a13(0x2f4)][_0x519a13(0x1a8)]&&this[_0x519a13(0x1de)](_0x4defbd);}),this[_0x33da24(0x2a4)](this[_0x33da24(0x257)][_0x33da24(0x386)](_0x2b8dc9=>{const _0x3df0bf=_0x33da24,_0x17a962=_0x2b8dc9['params'];_0x17a962!=null&&this[_0x3df0bf(0x391)]&&_0x2b8dc9['id']===_0x407a59[_0x3df0bf(0x179)]['id']&&_0x17a962[_0x3df0bf(0x3ba)]===this[_0x3df0bf(0x291)]&&_0x17a962[_0x3df0bf(0x316)]===!0x1&&_0x17a962[_0x3df0bf(0x235)][_0x3df0bf(0x16b)]>0x0&&this[_0x3df0bf(0x2a8)](_0x17a962['ranges']);})),this['_syncEditingCollabCursorService'][_0x33da24(0x2c9)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x4d3193=>{const _0x401550=_0x33da24;if((_0x4d3193==null?void 0x0:_0x4d3193[_0x401550(0x291)])!==this['unitID'])return;const _0xff0b22={'eventID':_0x280b1c[_0x401550(0x2f4)][_0x401550(0x3b5)],'data':_0x4d3193};this[_0x401550(0x143)](_0xff0b22);}),this[_0x33da24(0x2a4)](this['_commandService'][_0x33da24(0x386)](_0x51b299=>{const _0x5ca6e1=_0x33da24;if(_0x51b299['params']==null)return;const _0x29fd1d=_0x51b299[_0x5ca6e1(0x131)];if(_0x51b299['id']!==_0x407a59[_0x5ca6e1(0x290)]['id']||_0x29fd1d[_0x5ca6e1(0x3ba)]!==this[_0x5ca6e1(0x291)])return;const _0x3094d1={'id':'doc.mutation.rich-text-editing','params':_0x29fd1d},_0x517785=this[_0x5ca6e1(0x1a4)];for(const [_0x2a28a9,_0x37e9cc]of _0x517785){const _0x5276b8={'id':_0x5ca6e1(0x1e2),'params':{'unitId':this[_0x5ca6e1(0x291)],'actions':null,'textRanges':_0x37e9cc['ranges']}},_0x271b4b=this['_transformService'][_0x5ca6e1(0x142)](_0x3094d1,_0x5276b8,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0x271b4b))throw _0x271b4b[_0x5ca6e1(0x248)];_0x517785['set'](_0x2a28a9,{..._0x37e9cc,'ranges':_0x271b4b['m2Prime'][_0x5ca6e1(0x131)]['textRanges']});}queueMicrotask(()=>{const _0x2fd15d=_0x5ca6e1;this[_0x2fd15d(0x19d)][_0x2fd15d(0x249)](_0x517785);});})));}[_0x2ba232(0x143)](_0x5687bb){const _0x4ec635=_0x2ba232;var _0xf89a4b,_0x2fc13b;const {memberID:_0x3685a2,selection:_0x4858f5}=_0x5687bb[_0x4ec635(0x335)],_0x18999c=_0x4b40e1(_0x4858f5),_0x4868cd=(_0x2fc13b=(_0xf89a4b=this[_0x4ec635(0x393)][_0x4ec635(0x241)](this[_0x4ec635(0x291)],_0x3685a2))==null?void 0x0:_0xf89a4b['name'])!=null?_0x2fc13b:'Unknown\x20user',_0x37bcf7={'color':this['_colorAssignService'][_0x4ec635(0x219)](_0x3685a2),'name':_0x4868cd,'ranges':_0x18999c},_0x456c08=this[_0x4ec635(0x1a4)];_0x456c08[_0x4ec635(0x265)](_0x3685a2,_0x37bcf7),this[_0x4ec635(0x19d)][_0x4ec635(0x249)](_0x456c08);}[_0x2ba232(0x1de)](_0x3dce09){const _0x1517a5=_0x2ba232,{memberID:_0x3f71d0}=_0x3dce09[_0x1517a5(0x335)],_0x4be584=this[_0x1517a5(0x1a4)];_0x4be584[_0x1517a5(0x1ab)](_0x3f71d0),this[_0x1517a5(0x19d)][_0x1517a5(0x249)](_0x4be584);}[_0x2ba232(0x20f)](){const _0x598dcd=_0x2ba232;var _0x4f9b75;if(this[_0x598dcd(0x391)]=!0x0,((_0x4f9b75=this[_0x598dcd(0x39b)][_0x598dcd(0x26a)]())==null?void 0x0:_0x4f9b75[_0x598dcd(0x2d1)]())!==this['unitID'])return;const _0x302071=this[_0x598dcd(0x223)][_0x598dcd(0x189)](_0x407a59['DocSelectionManagerService'])[_0x598dcd(0x173)]();Array[_0x598dcd(0x16f)](_0x302071)&&_0x302071[_0x598dcd(0x16b)]>0x0&&this[_0x598dcd(0x2a8)](_0x302071);}['_toggleOffline'](){this['_online']=!0x1;}};_0xa202dc=_0x11ca20([_0x2201d3(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x2201d3(0x3,_0x4976c9['Inject'](_0x2d77a3)),_0x2201d3(0x4,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x260)])),_0x2201d3(0x5,_0x4976c9['Inject'](_0x1eca04)),_0x2201d3(0x6,_0x280b1c['ITransformService']),_0x2201d3(0x7,_0x4976c9[_0x2ba232(0x140)]),_0x2201d3(0x8,_0x4976c9[_0x2ba232(0x137)])],_0xa202dc);var _0x321680=Object[_0x2ba232(0x196)],_0x192a75=(_0xfe154,_0x29ffce,_0x4ee6e7,_0x329c69)=>{const _0x27aebe=_0x2ba232;for(var _0x5f5b59=_0x329c69>0x1?void 0x0:_0x329c69?_0x321680(_0x29ffce,_0x4ee6e7):_0x29ffce,_0x5e142a=_0xfe154[_0x27aebe(0x16b)]-0x1,_0x700bdf;_0x5e142a>=0x0;_0x5e142a--)(_0x700bdf=_0xfe154[_0x5e142a])&&(_0x5f5b59=_0x700bdf(_0x5f5b59)||_0x5f5b59);return _0x5f5b59;},_0x1ea8c1=(_0x47ad51,_0x165361)=>(_0x492b9d,_0x199891)=>_0x165361(_0x492b9d,_0x199891,_0x47ad51);const _0x14e84f=0x12c,_0x324b17=0x64,_0x575684=()=>{let _0x565653=[],_0x5214a1=!0x1;return _0x10aa3c=>{_0x565653['push'](_0x10aa3c),_0x5214a1||(_0x5214a1=!0x0,setTimeout(()=>{_0x565653['forEach'](_0xbc5b08=>_0xbc5b08()),_0x565653=[],_0x5214a1=!0x1;}));};};let _0x536bbc=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x119207,_0x6e7045,_0x3b6212,_0x214ab0,_0x2568e8,_0x9db850,_0x4cc185,_0x3c6c26){const _0x261d05=_0x2ba232;super(),_0x2a0527(this,_0x261d05(0x391),!0x1),_0x2a0527(this,_0x261d05(0x21e),!0x1),_0x2a0527(this,_0x261d05(0x19d),new _0x1af8d0['BehaviorSubject'](new Map())),_0x2a0527(this,_0x261d05(0x141),this['_cursorInfo$'][_0x261d05(0x198)]()),_0x2a0527(this,_0x261d05(0x150),new _0x1af8d0[(_0x261d05(0x334))]([])),_0x2a0527(this,_0x261d05(0x29b),this[_0x261d05(0x150)][_0x261d05(0x357)](_0x1af8d0[_0x261d05(0x22d)](_0x14e84f))),_0x2a0527(this,_0x261d05(0x2a8),_0x4976c9[_0x261d05(0x27d)]((_0x201561,_0x4e80ce)=>{const _0x3dac7f=_0x261d05,_0x20dc90={'eventID':_0x280b1c[_0x3dac7f(0x2f4)][_0x3dac7f(0x3b5)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3dac7f(0x2c0)](),'selection':_0x5b23dd[_0x3dac7f(0x24c)](_0x201561,_0x4e80ce[_0x3dac7f(0x1c0)])}};this[_0x3dac7f(0x1b5)]['send'](_0x20dc90,this[_0x3dac7f(0x291)]);},_0x324b17)),(this[_0x261d05(0x291)]=_0x119207,this[_0x261d05(0x1b5)]=_0x6e7045,this['_injector']=_0x3b6212,this['_colorAssignService']=_0x214ab0,this['_memberService']=_0x2568e8,this[_0x261d05(0x39b)]=_0x9db850,this[_0x261d05(0x257)]=_0x4cc185,this[_0x261d05(0x1b8)]=_0x3c6c26);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2ba232(0x1b0)](){const _0x5f3210=_0x2ba232;return this[_0x5f3210(0x150)][_0x5f3210(0x181)]();}[_0x2ba232(0x15a)](){const _0xf08f1=_0x2ba232;super[_0xf08f1(0x15a)](),this[_0xf08f1(0x19d)][_0xf08f1(0x249)](new Map()),this['_cursorInfo$'][_0xf08f1(0x3b3)](),this[_0xf08f1(0x150)]['next']([]),this[_0xf08f1(0x150)][_0xf08f1(0x3b3)]();}['init'](){const _0x98478f=_0x2ba232;this['_init']||(this['_init']=!0x0,this['_session'][_0x98478f(0x297)][_0x98478f(0x357)](_0x1af8d0[_0x98478f(0x15f)](this[_0x98478f(0x322)]))[_0x98478f(0x34b)](_0x186e04=>{const _0x3d8a40=_0x98478f;_0x186e04===_0x36b1ab[_0x3d8a40(0x33e)]['ONLINE']?this[_0x3d8a40(0x20f)]():this[_0x3d8a40(0x25c)]();}),this[_0x98478f(0x1b5)]['event$'][_0x98478f(0x357)](_0x1af8d0['takeUntil'](this['dispose$']))[_0x98478f(0x34b)](_0x333fca=>{const _0x1974db=_0x98478f,_0x54bc8d=_0x333fca[_0x1974db(0x269)];_0x54bc8d===_0x280b1c[_0x1974db(0x2f4)][_0x1974db(0x3b5)]&&this[_0x1974db(0x143)](_0x333fca),_0x54bc8d===_0x280b1c[_0x1974db(0x2f4)][_0x1974db(0x1a8)]&&this[_0x1974db(0x1de)](_0x333fca);}),this[_0x98478f(0x29e)](),this['disposeWithMe'](this[_0x98478f(0x257)]['onCommandExecuted'](_0x5a35c9=>{const _0x2242d2=_0x98478f;if(this['_online']&&_0x5a35c9['id']===_0x4fd33e[_0x2242d2(0x136)]['id']&&_0x5a35c9[_0x2242d2(0x131)][_0x2242d2(0x3ba)]===this[_0x2242d2(0x291)]){const _0x3ce87d=_0x5a35c9['params'];this['_updateLocalCursor'](_0x3ce87d[_0x2242d2(0x33c)],_0x3ce87d['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2b0468){const _0x2e097a=_0x2ba232;var _0x35e9e9,_0x33a2c2;const {memberID:_0x5a4802,selection:_0x531bdc}=_0x2b0468[_0x2e097a(0x335)],{sheetName:_0x29bd0e,range:_0xcbeb6b}=_0x5b23dd[_0x2e097a(0x1c4)](_0x531bdc),_0x404069={'name':(_0x33a2c2=(_0x35e9e9=this[_0x2e097a(0x393)][_0x2e097a(0x241)](this[_0x2e097a(0x291)],_0x5a4802))==null?void 0x0:_0x35e9e9[_0x2e097a(0x2ed)])!=null?_0x33a2c2:_0x2e097a(0x133),'range':this[_0x2e097a(0x2ad)](_0x29bd0e,_0xcbeb6b),'sheetID':_0x29bd0e,'color':this[_0x2e097a(0x28e)][_0x2e097a(0x219)](_0x5a4802),'selection':_0x531bdc},_0x47985f=this[_0x2e097a(0x1a4)];_0x47985f[_0x2e097a(0x265)](_0x5a4802,_0x404069),this['_cursorInfo$'][_0x2e097a(0x249)](_0x47985f);}['_onCursorDelete'](_0x27473e){const _0x4692a9=_0x2ba232,{memberID:_0x6c1bd0}=_0x27473e['data'],_0x2d92a4=this['cursorInfo'];_0x2d92a4['delete'](_0x6c1bd0),this[_0x4692a9(0x19d)][_0x4692a9(0x249)](_0x2d92a4);}['_getMergeRange'](_0x5199d6,_0x5ad368){const _0x5dafca=_0x2ba232;var _0xf06cf1,_0x2ec4ab;const _0x39bbd7=(_0x2ec4ab=(_0xf06cf1=this[_0x5dafca(0x39b)][_0x5dafca(0x2e2)](this[_0x5dafca(0x291)]))==null?void 0x0:_0xf06cf1[_0x5dafca(0x1ee)](_0x5199d6))==null?void 0x0:_0x2ec4ab['getMergeData']();return(_0x39bbd7==null?void 0x0:_0x39bbd7['find'](_0x18855b=>_0x4976c9[_0x5dafca(0x14a)]['contains'](_0x18855b,_0x5ad368)))||_0x5ad368;}['_onRefRangeChange'](){const _0x50bbbe=_0x2ba232,_0x98b9e3=new _0x4976c9['DisposableCollection'](),_0x5b81ad=_0x575684(),_0xa73471=()=>{const _0x160b09=_0x4ec8;_0x98b9e3['dispose']();const _0x250d22=(_0x4e75ac,_0x5e3989,_0x3b3b44,_0xa6865f)=>{const _0x2b571e=_0x4ec8;let _0x5c8b4e=[];switch(_0x4e75ac['id']){case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x374)]:{_0x5c8b4e=_0x4fd33e['handleDeleteRangeMoveLeft'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['DeleteRangeMoveUpCommandId']:{_0x5c8b4e=_0x4fd33e['handleDeleteRangeMoveUp'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x1e7)]:{_0x5c8b4e=_0x4fd33e['handleInsertCol'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x33d)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x337)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x17a)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x18b)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x379)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x256)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x320)]:{_0x5c8b4e=_0x4fd33e['handleMoveRange'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['RemoveColCommandId']:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x1b4)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['RemoveRowCommandId']:{_0x5c8b4e=_0x4fd33e['handleIRemoveRow'](_0x4e75ac,_0xa6865f);break;}}const _0x3553ca=_0x4fd33e[_0x2b571e(0x153)](_0x5c8b4e,_0xa6865f),_0x17dd47=this[_0x2b571e(0x1a4)][_0x2b571e(0x189)](_0x5e3989);if(_0x17dd47&&_0x3553ca){const _0x3c84a3={..._0x17dd47,'range':_0x3553ca};this['cursorInfo'][_0x2b571e(0x265)](_0x5e3989,_0x3c84a3),_0x5b81ad(()=>{const _0x2ac151=_0x2b571e,_0x47429e=this['_refRangeService'][_0x2ac151(0x37e)](_0x3553ca,_0x312cad=>(_0x47429e[_0x2ac151(0x15a)](),_0x250d22(_0x312cad,_0x5e3989,_0x3b3b44,_0x3553ca)));_0x98b9e3[_0x2ac151(0x25a)](_0x47429e);});}return{'redos':[],'undos':[]};};this[_0x160b09(0x1a4)][_0x160b09(0x229)]((_0x116e25,_0x3b6f2a)=>{const _0x451727=_0x160b09,{range:_0x2c041d,sheetID:_0x521567}=_0x116e25,_0x3ae0d7=this[_0x451727(0x1b8)][_0x451727(0x37e)](_0x2c041d,_0x275827=>(_0x3ae0d7['dispose'](),_0x250d22(_0x275827,_0x3b6f2a,_0x521567,_0x2c041d)));_0x98b9e3[_0x451727(0x25a)](_0x3ae0d7);});};this[_0x50bbbe(0x2a4)](_0x4976c9[_0x50bbbe(0x21d)](this[_0x50bbbe(0x19d)][_0x50bbbe(0x34b)](()=>{_0xa73471();})));}[_0x2ba232(0x20f)](){const _0x538fcb=_0x2ba232;var _0x1d0476,_0x4bdc61;if(this[_0x538fcb(0x391)]=!0x0,((_0x1d0476=this['_univerInstanceService'][_0x538fcb(0x26a)]())==null?void 0x0:_0x1d0476[_0x538fcb(0x2d1)]())!==this[_0x538fcb(0x291)])return;const _0x302689=(_0x4bdc61=this[_0x538fcb(0x223)]['get'](_0x4fd33e[_0x538fcb(0x127)])[_0x538fcb(0x168)]())==null?void 0x0:_0x4bdc61[0x0],_0xd5cbca=this['_univerInstanceService'][_0x538fcb(0x369)](_0x4976c9[_0x538fcb(0x220)]['UNIVER_SHEET'])['getActiveSheet']();_0x302689&&_0xd5cbca&&this[_0x538fcb(0x2a8)](_0xd5cbca[_0x538fcb(0x1fb)](),_0x302689);}[_0x2ba232(0x25c)](){const _0x36584c=_0x2ba232;this[_0x36584c(0x391)]=!0x1;}};_0x536bbc=_0x192a75([_0x1ea8c1(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x1ea8c1(0x3,_0x4976c9[_0x2ba232(0x2b9)](_0x2d77a3)),_0x1ea8c1(0x4,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab['MemberService'])),_0x1ea8c1(0x5,_0x4976c9[_0x2ba232(0x140)]),_0x1ea8c1(0x6,_0x4976c9[_0x2ba232(0x137)]),_0x1ea8c1(0x7,_0x4976c9['Inject'](_0x4fd33e['RefRangeService']))],_0x536bbc);var _0x58c229=Object[_0x2ba232(0x196)],_0x5b6096=(_0x4badca,_0x563e22,_0x514d00,_0xcb6fe1)=>{const _0x4f3ed0=_0x2ba232;for(var _0x127642=_0xcb6fe1>0x1?void 0x0:_0xcb6fe1?_0x58c229(_0x563e22,_0x514d00):_0x563e22,_0x26cdb6=_0x4badca[_0x4f3ed0(0x16b)]-0x1,_0x5b74d;_0x26cdb6>=0x0;_0x26cdb6--)(_0x5b74d=_0x4badca[_0x26cdb6])&&(_0x127642=_0x5b74d(_0x127642)||_0x127642);return _0x127642;},_0x3de2ca=(_0x5ea431,_0x5cce82)=>(_0x88eda7,_0x58d123)=>_0x5cce82(_0x88eda7,_0x58d123,_0x5ea431);let _0x2c65f1=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x7a9bc0,_0x10decf,_0x2002af){const _0x2da2af=_0x2ba232;super(),_0x2a0527(this,_0x2da2af(0x272),new Map()),_0x2a0527(this,_0x2da2af(0x16a),new _0x1af8d0[(_0x2da2af(0x1b3))]()),(this[_0x2da2af(0x39b)]=_0x7a9bc0,this[_0x2da2af(0x223)]=_0x10decf,this[_0x2da2af(0x383)]=_0x2002af,this[_0x2da2af(0x21e)]());}[_0x2ba232(0x15a)](){const _0x3d5c47=_0x2ba232;super[_0x3d5c47(0x15a)](),this[_0x3d5c47(0x16a)][_0x3d5c47(0x3b3)](),this['_entities'][_0x3d5c47(0x229)](_0x38dbf2=>_0x38dbf2['dispose']());}[_0x2ba232(0x36b)](_0xaf4875){const _0x5303a2=_0x2ba232;return this['_entities']['has'](_0xaf4875)?this[_0x5303a2(0x272)][_0x5303a2(0x189)](_0xaf4875)['cursorInfo$']:this['_entityInit$'][_0x5303a2(0x357)](_0x1af8d0[_0x5303a2(0x25f)](_0xcb5478=>_0xcb5478[_0x5303a2(0x291)]===_0xaf4875),_0x1af8d0['switchMap'](_0x40c4b1=>_0x40c4b1[_0x5303a2(0x141)]));}[_0x2ba232(0x21e)](){const _0x372546=_0x2ba232;this[_0x372546(0x39b)][_0x372546(0x1f4)](_0x4976c9[_0x372546(0x220)]['UNIVER_SHEET'])[_0x372546(0x357)](_0x1af8d0[_0x372546(0x15f)](this[_0x372546(0x322)]))[_0x372546(0x34b)](async _0x359507=>{const _0x21b4a8=_0x372546,_0x2ac3a9=_0x359507[_0x21b4a8(0x2d1)](),_0x1d4642=await this[_0x21b4a8(0x175)](_0x2ac3a9);this['_entityInit$']['next'](_0x1d4642),this[_0x21b4a8(0x272)][_0x21b4a8(0x265)](_0x2ac3a9,_0x1d4642);}),this[_0x372546(0x39b)][_0x372546(0x1f4)](_0x4976c9['UniverInstanceType']['UNIVER_DOC'])[_0x372546(0x357)](_0x1af8d0[_0x372546(0x15f)](this['dispose$']))['pipe'](_0x1af8d0['filter'](_0x9fbaa4=>!_0x9fbaa4[_0x372546(0x2d1)]()[_0x372546(0x13a)]('__')))[_0x372546(0x34b)](async _0x1d8a0c=>{const _0x5adc26=_0x372546,_0x4ef10d=_0x1d8a0c[_0x5adc26(0x2d1)](),_0x19c758=await this[_0x5adc26(0x20b)](_0x4ef10d);this[_0x5adc26(0x16a)][_0x5adc26(0x249)](_0x19c758),this['_entities'][_0x5adc26(0x265)](_0x4ef10d,_0x19c758);}),_0x1af8d0['merge'](this[_0x372546(0x39b)]['getTypeOfUnitDisposed$'](_0x4976c9['UniverInstanceType'][_0x372546(0x1be)]),this[_0x372546(0x39b)][_0x372546(0x2e8)](_0x4976c9[_0x372546(0x220)][_0x372546(0x1d8)]))[_0x372546(0x357)](_0x1af8d0['takeUntil'](this[_0x372546(0x322)]))[_0x372546(0x34b)](_0xe482c5=>{const _0x1b3acd=_0x372546,_0x48fd4a=_0xe482c5['getUnitId'](),_0xbb5681=this[_0x1b3acd(0x272)]['get'](_0x48fd4a);_0xbb5681&&(_0xbb5681[_0x1b3acd(0x15a)](),this[_0x1b3acd(0x272)]['delete'](_0x48fd4a));});}async[_0x2ba232(0x175)](_0x2af906){const _0xc405d1=_0x2ba232,_0x23ceab=await this[_0xc405d1(0x383)][_0xc405d1(0x2f7)](_0x2af906),_0x5076fd=this[_0xc405d1(0x223)][_0xc405d1(0x1ad)](_0x536bbc,_0x2af906,_0x23ceab);return _0x5076fd[_0xc405d1(0x389)](),_0x5076fd;}async[_0x2ba232(0x20b)](_0x4ac3ff){const _0x2521a2=_0x2ba232,_0x4f6175=await this[_0x2521a2(0x383)]['requireSession'](_0x4ac3ff),_0x2ea041=this['_injector'][_0x2521a2(0x1ad)](_0xa202dc,_0x4ac3ff,_0x4f6175);return _0x2ea041['init'](),_0x2ea041;}};_0x2c65f1=_0x5b6096([_0x3de2ca(0x0,_0x4976c9[_0x2ba232(0x140)]),_0x3de2ca(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x3de2ca(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x170)]))],_0x2c65f1);const _0x36d89b=0x14,_0x4efca8=0xc8,_0x49b91b=0x4,_0x3bf2dd=0x5;function _0x2af42b(_0x3babce,_0x57f693){const _0x1f583d=_0x2ba232;let {radius:_0x5210de,width:_0x1633ac,height:_0x3c1ece}=_0x57f693;_0x5210de=_0x5210de!=null?_0x5210de:0x0,_0x1633ac=_0x1633ac!=null?_0x1633ac:0x1e,_0x3c1ece=_0x3c1ece!=null?_0x3c1ece:0x1e;let _0x23ef6c=0x0,_0x4d9106=0x0,_0x2fb1c7=0x0;_0x23ef6c=_0x4d9106=_0x2fb1c7=Math[_0x1f583d(0x2a2)](_0x5210de,_0x1633ac/0x2,_0x3c1ece/0x2),_0x3babce['beginPath'](),_0x3babce[_0x1f583d(0x2e0)](_0x23ef6c,0x0),_0x3babce['lineTo'](_0x1633ac-_0x4d9106,0x0),_0x3babce[_0x1f583d(0x1c9)](_0x1633ac-_0x4d9106,_0x4d9106,_0x4d9106,Math['PI']*0x3/0x2,0x0,!0x1),_0x3babce[_0x1f583d(0x2d7)](_0x1633ac,_0x3c1ece-_0x2fb1c7),_0x3babce[_0x1f583d(0x1c9)](_0x1633ac-_0x2fb1c7,_0x3c1ece-_0x2fb1c7,_0x2fb1c7,0x0,Math['PI']/0x2,!0x1),_0x3babce[_0x1f583d(0x2d7)](0x0,_0x3c1ece),_0x3babce['lineTo'](0x0,_0x23ef6c),_0x3babce[_0x1f583d(0x1c9)](_0x23ef6c,_0x23ef6c,_0x23ef6c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3babce[_0x1f583d(0x281)](),_0x57f693[_0x1f583d(0x252)]&&(_0x3babce['save'](),_0x3babce[_0x1f583d(0x314)]=_0x57f693['fill'],_0x57f693[_0x1f583d(0x2ac)]===_0x1f583d(0x26b)?_0x3babce[_0x1f583d(0x252)]('evenodd'):_0x3babce[_0x1f583d(0x252)](),_0x3babce[_0x1f583d(0x22e)]());}class _0x358d0c extends _0x5ed3cd[_0x2ba232(0x29c)]{constructor(_0x59cf53,_0x24b1aa){const _0x200ac8=_0x2ba232;super(_0x59cf53,_0x24b1aa),_0x2a0527(this,_0x200ac8(0x218)),_0x2a0527(this,_0x200ac8(0x159)),(this[_0x200ac8(0x218)]=_0x24b1aa==null?void 0x0:_0x24b1aa['color'],this[_0x200ac8(0x159)]=_0x24b1aa==null?void 0x0:_0x24b1aa[_0x200ac8(0x159)]);}static[_0x2ba232(0x27c)](_0x5e5f00,_0x24bc69){const _0x227362=_0x2ba232,{text:_0x5663a1,color:_0xb057e6}=_0x24bc69;_0x5e5f00[_0x227362(0x25b)](),_0x5e5f00[_0x227362(0x365)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x19649d=_0x5e5f00['measureText'](_0x5663a1)['width'],_0x44f266=Math[_0x227362(0x2a2)](_0x19649d+0x2*_0x49b91b,_0x4efca8);_0x2af42b(_0x5e5f00,{'height':_0x36d89b,'radius':0x4,'width':_0x44f266,'fill':_0xb057e6}),_0x5e5f00[_0x227362(0x314)]=_0x227362(0x20a);const _0x3720c0=_0x49b91b,_0x3f315d=_0x36d89b-_0x3bf2dd,_0x3b4ecd=_0x4efca8-0x2*_0x49b91b;if(_0x19649d>_0x3b4ecd){let _0x34ad56='',_0xc913ac=0x0;for(const _0x30aa8a of _0x5663a1){const _0x29a6a9=_0x5e5f00[_0x227362(0x1df)](_0x30aa8a)[_0x227362(0x32a)];if(_0xc913ac+_0x29a6a9<=_0x3b4ecd-_0x5e5f00['measureText']('...')['width'])_0x34ad56+=_0x30aa8a,_0xc913ac+=_0x29a6a9;else{_0x34ad56+='...';break;}}_0x5e5f00[_0x227362(0x15e)](_0x34ad56,_0x3720c0,_0x3f315d);}else _0x5e5f00[_0x227362(0x15e)](_0x5663a1,_0x3720c0,_0x3f315d);_0x5e5f00['restore']();}[_0x2ba232(0x182)](_0x548263){const _0x4dc685=_0x2ba232;_0x358d0c[_0x4dc685(0x27c)](_0x548263,this);}}const _0x1c37d3=_0x2ba232(0x195),_0x1691a3='collab-text-range-',_0xb0aa92='collab-rect-range-',_0x440f23=0x6,_0x3598af=1.5,_0x29f180=0x4,_0x585360=1.5,_0x2e8a6d='rgba(255,\x20255,\x20255,\x200.01)';class _0x3948b7{constructor(_0x4ef95b,_0x25baf4,_0x40fed0,_0x777389){const _0x397779=_0x2ba232;_0x2a0527(this,_0x397779(0x1e5),[]),_0x2a0527(this,'_anchor',null),_0x2a0527(this,_0x397779(0x132),null),_0x2a0527(this,_0x397779(0x296),null),_0x2a0527(this,_0x397779(0x203),null),_0x2a0527(this,_0x397779(0x18c),null),(this[_0x397779(0x23b)]=_0x4ef95b,this[_0x397779(0x3c0)]=_0x25baf4,this[_0x397779(0x31d)]=_0x40fed0,this[_0x397779(0x2e9)]=_0x777389,this[_0x397779(0x164)]());}set['_hover'](_0xd027e2){const _0x13644c=_0x2ba232;_0xd027e2?(this[_0x13644c(0x296)]&&this[_0x13644c(0x296)]['hide'](),this[_0x13644c(0x132)]&&this[_0x13644c(0x132)]['show']()):(this[_0x13644c(0x296)]&&this[_0x13644c(0x296)][_0x13644c(0x30b)](),this[_0x13644c(0x132)]&&this[_0x13644c(0x132)]['hide']());}[_0x2ba232(0x15a)](){const _0x312572=_0x2ba232;for(const _0x5b99fa of this['_shapes'])_0x5b99fa[_0x312572(0x15a)]();this[_0x312572(0x132)]&&this[_0x312572(0x132)][_0x312572(0x15a)](),this['_anchorDot']&&this[_0x312572(0x296)][_0x312572(0x15a)](),this['_anchor']&&this[_0x312572(0x188)][_0x312572(0x15a)](),this[_0x312572(0x18c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x54c7ce=_0x2ba232;var _0x1868da;const {_docSkeleton:_0x230fed,_document:_0x4a2d3f}=this,{color:_0x5188db,name:_0x2fb3a3,ranges:_0x793c5e}=this['_cursor'],_0x20f5a8=_0x4a2d3f[_0x54c7ce(0x2b7)](),{docsLeft:_0x33eaaf,docsTop:_0x4b78a9}=_0x20f5a8,_0x14a77f=new _0x4f5309['NodePositionConvertToCursor'](_0x20f5a8,_0x230fed);for(const {startOffset:_0x40236e,endOffset:_0x39755f,rangeType:_0x3aeca1,segmentId:_0x377aac,segmentPage:_0x5b6ab1,collapsed:_0x54237f,isActive:_0xcfde46}of _0x793c5e){const _0x498784=_0x230fed[_0x54c7ce(0x16c)](_0x40236e,!0x0,_0x377aac,_0x5b6ab1);let _0xf53470=_0x230fed[_0x54c7ce(0x16c)](_0x39755f,!0x0,_0x377aac,_0x5b6ab1);if(_0xf53470==null&&(_0xf53470=_0x230fed['findNodePositionByCharIndex'](_0x39755f-0x1,!0x1,_0x377aac,_0x5b6ab1)),_0xcfde46){const {contentBoxPointGroup:_0x16c15a}=_0x14a77f[_0x54c7ce(0x1c8)](_0xf53470,_0xf53470);if(_0x16c15a[_0x54c7ce(0x16b)]===0x0)continue;this[_0x54c7ce(0x1b1)](_0x5188db,_0x16c15a,_0x33eaaf,_0x4b78a9,_0x2fb3a3),this[_0x54c7ce(0x18c)]=this['_handleHover']();}if(_0x498784&&_0xf53470){if(_0x3aeca1===_0x4976c9[_0x54c7ce(0x294)][_0x54c7ce(0x37b)]){const _0x12e79a=new _0x4f5309[(_0x54c7ce(0x2dd))](_0x20f5a8,_0x230fed),{pointGroup:_0x48197b}=(_0x1868da=_0x12e79a[_0x54c7ce(0x1c8)](_0x498784,_0xf53470))!=null?_0x1868da:{};if(_0x48197b==null||_0x48197b['length']===0x0)continue;this['_drawRectRange'](_0x5188db,_0x48197b,_0x33eaaf,_0x4b78a9);}else{if(!_0x54237f){const {borderBoxPointGroup:_0x4725fa}=_0x14a77f[_0x54c7ce(0x1c8)](_0x498784,_0xf53470);if(_0x4725fa['length']===0x0)continue;this[_0x54c7ce(0x2f1)](_0x5188db,_0x4725fa,_0x33eaaf,_0x4b78a9);}}}}}[_0x2ba232(0x1b1)](_0x539639,_0x4da39e,_0x40dd8e,_0x564893,_0x54b40f){const _0x54168a=_0x2ba232,_0x100c2c=this[_0x54168a(0x1c3)](_0x4da39e),{left:_0x4459a7,top:_0x49e2c5,height:_0x5aef6e}=_0x100c2c,_0x5c9f37=this[_0x54168a(0x149)](),_0x3b74af=_0x585360/_0x5c9f37,_0x42bd33=new _0x5ed3cd[(_0x54168a(0x2e5))](_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893,'height':_0x5aef6e,'width':_0x3598af,'fill':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)][_0x54168a(0x23e)],0x0),'strokeWidth':_0x3b74af,'stroke':_0x2e8a6d,'evented':!0x0});this[_0x54168a(0x188)]=_0x42bd33,this[_0x54168a(0x3c0)]['addObject'](_0x42bd33,_0x4f5309[_0x54168a(0x2a7)]);const _0x425af3=new _0x5ed3cd[(_0x54168a(0x2e5))](_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893-_0x29f180/0x2,'height':_0x29f180,'width':_0x29f180,'fill':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)][_0x54168a(0x23e)],0x0),'strokeWidth':0x0,'stroke':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x425af3,this[_0x54168a(0x3c0)][_0x54168a(0x129)](_0x425af3,_0x4f5309[_0x54168a(0x2a7)]);const _0x910086=new _0x358d0c(_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893-_0x36d89b,'text':_0x54b40f,'color':_0x539639});this[_0x54168a(0x132)]=_0x910086,this['_scene'][_0x54168a(0x129)](_0x910086,_0x4f5309['TEXT_RANGE_LAYER_INDEX']),this[_0x54168a(0x38e)]=!0x1;}[_0x2ba232(0x35a)](){const _0x29d014=_0x2ba232,_0x2dad1c=this[_0x29d014(0x188)]['onPointerEnter$'][_0x29d014(0x29f)](()=>{const _0x208ded=_0x29d014;this[_0x208ded(0x38e)]=!0x0;}),_0x26b65a=this['_anchor'][_0x29d014(0x346)][_0x29d014(0x29f)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3295a4=_0x4ec8;this[_0x3295a4(0x38e)]=!0x1;},0x7d0);});return()=>{const _0x1cf942=_0x29d014;_0x2dad1c[_0x1cf942(0x155)](),_0x26b65a[_0x1cf942(0x155)]();};}[_0x2ba232(0x2f1)](_0x551801,_0x125f44,_0x187a25,_0x1da1fb){const _0x42d8c6=_0x2ba232,_0x17cb1b=new _0x4976c9[(_0x42d8c6(0x36f))](_0x551801)[_0x42d8c6(0x238)](0.2)[_0x42d8c6(0x2ca)](),_0x276897=new _0x5ed3cd['RegularPolygon'](_0x1691a3+_0x4976c9[_0x42d8c6(0x230)](_0x440f23),{'pointsGroup':_0x125f44,'fill':_0x17cb1b||_0x5ed3cd[_0x42d8c6(0x2eb)](_0x4976c9[_0x42d8c6(0x285)][_0x42d8c6(0x23e)],0.2),'left':_0x187a25,'top':_0x1da1fb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x42d8c6(0x3c3)](_0x276897),this[_0x42d8c6(0x3c0)][_0x42d8c6(0x129)](_0x276897,_0x4f5309['TEXT_RANGE_LAYER_INDEX']);}[_0x2ba232(0x21c)](_0x5bb7d6,_0x48fe72,_0x5400c5,_0x1d9e54){const _0x401b45=_0x2ba232,_0x492d76=new _0x4976c9['ColorKit'](_0x5bb7d6)[_0x401b45(0x238)](0.2)[_0x401b45(0x2ca)](),_0x395e06=new _0x5ed3cd[(_0x401b45(0x160))](_0xb0aa92+_0x4976c9[_0x401b45(0x230)](_0x440f23),{'pointsGroup':_0x48fe72,'fill':_0x492d76||_0x5ed3cd['getColor'](_0x4976c9[_0x401b45(0x285)][_0x401b45(0x23e)],0.2),'left':_0x5400c5,'top':_0x1d9e54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x401b45(0x1e5)][_0x401b45(0x3c3)](_0x395e06),this['_scene'][_0x401b45(0x129)](_0x395e06,_0x4f5309[_0x401b45(0x2a7)]);}[_0x2ba232(0x1c3)](_0x49506c){const _0x1f7bec=_0x49506c[0x0],_0x4ef07d=_0x1f7bec[0x0],_0xf0d2dc=_0x1f7bec[0x2],{x:_0x1dcbce,y:_0x6df557}=_0x4ef07d,{x:_0x143e25,y:_0x6fb41f}=_0xf0d2dc;return{'left':_0x1dcbce,'top':_0x6df557,'width':_0x143e25-_0x1dcbce,'height':_0x6fb41f-_0x6df557};}[_0x2ba232(0x149)](){const _0x187348=_0x2ba232,{scaleX:_0xb61cb6,scaleY:_0x4225d2}=this['_scene'][_0x187348(0x1ba)]();return Math[_0x187348(0x26d)](_0xb61cb6,_0x4225d2);}}var _0x102b44=Object[_0x2ba232(0x196)],_0x2f9096=(_0x2c5133,_0x534238,_0x35d5ca,_0x1efe15)=>{const _0x5dfba2=_0x2ba232;for(var _0x277c5f=_0x1efe15>0x1?void 0x0:_0x1efe15?_0x102b44(_0x534238,_0x35d5ca):_0x534238,_0x134fd6=_0x2c5133[_0x5dfba2(0x16b)]-0x1,_0x5f4af1;_0x134fd6>=0x0;_0x134fd6--)(_0x5f4af1=_0x2c5133[_0x134fd6])&&(_0x277c5f=_0x5f4af1(_0x277c5f)||_0x277c5f);return _0x277c5f;},_0x3ce733=(_0x7e6def,_0x31d651)=>(_0x320bac,_0x39af1a)=>_0x31d651(_0x320bac,_0x39af1a,_0x7e6def);let _0x315c12=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x5931b9,_0x1ad284,_0x2aa0f6,_0x442463,_0x2d74d6){const _0x205207=_0x2ba232;super(),_0x2a0527(this,'_cursorShapes',[]),_0x2a0527(this,_0x205207(0x3bd),[]),(this[_0x205207(0x3b7)]=_0x5931b9,this[_0x205207(0x13f)]=_0x1ad284,this[_0x205207(0x305)]=_0x2aa0f6,this[_0x205207(0x257)]=_0x442463,this[_0x205207(0x2b8)]=_0x2d74d6,this[_0x205207(0x21e)]());}[_0x2ba232(0x21e)](){const _0x54eaca=_0x2ba232,_0x58e84c=this[_0x54eaca(0x3b7)]['unitId'],_0x5674ca=this[_0x54eaca(0x13f)];this[_0x54eaca(0x2a4)](_0x1af8d0['combineLatest']([this[_0x54eaca(0x305)]['getCollabCursors$'](_0x58e84c),this[_0x54eaca(0x2b8)][_0x54eaca(0x3b1)]])[_0x54eaca(0x357)](_0x210849[_0x54eaca(0x267)](([_0x5eb4db,_0xc0e11c])=>({'skeleton':_0x5674ca[_0x54eaca(0x35e)](),'cursors':[..._0x5eb4db[_0x54eaca(0x201)]()][_0x54eaca(0x14c)](_0x190355=>({..._0x190355,'color':this['_themeService']['getColorFromTheme'](_0x190355['color'])}))})))[_0x54eaca(0x34b)](_0x4cf559=>{const _0xe47a4d=_0x54eaca;if(this[_0xe47a4d(0x134)](),_0x4cf559){const {skeleton:_0x2a8147,cursors:_0x3745b5}=_0x4cf559;this[_0xe47a4d(0x28f)](_0x2a8147,_0x3745b5);}})),this[_0x54eaca(0x1a9)](),this[_0x54eaca(0x341)]();}['_updateCollabCursors'](_0x27b00f,_0x487d65){const _0xf1ec96=_0x2ba232,{scene:_0x3cc7d2,mainComponent:_0x487b68}=this[_0xf1ec96(0x3b7)],_0x3d7dd9=_0x487d65[_0xf1ec96(0x267)](_0x206f49=>new _0x3948b7(_0x206f49,_0x3cc7d2,_0x27b00f,_0x487b68));this['_cursorShapes']=_0x3d7dd9,this[_0xf1ec96(0x3bd)]=_0x487d65;}[_0x2ba232(0x368)](){const _0x199fd2=_0x2ba232;this[_0x199fd2(0x134)]();const {scene:_0x2309a6,mainComponent:_0x41928b}=this[_0x199fd2(0x3b7)],_0x462f37=this['_docSkeletonManagerService'][_0x199fd2(0x35e)](),_0x9cb26f=this['_cursors']['map'](_0x4305e2=>new _0x3948b7(_0x4305e2,_0x2309a6,_0x462f37,_0x41928b));this[_0x199fd2(0x342)]=_0x9cb26f;}['_removeCollabCursors'](){const _0x131197=_0x2ba232;this[_0x131197(0x342)]['forEach'](_0x98a6ef=>_0x98a6ef[_0x131197(0x15a)]()),this[_0x131197(0x342)]=[];}[_0x2ba232(0x341)](){const _0x3a01f0=_0x2ba232,_0x16626c=[_0x4f5309[_0x3a01f0(0x1cf)]['id']];this[_0x3a01f0(0x2a4)](this[_0x3a01f0(0x257)][_0x3a01f0(0x386)](_0x13fabe=>{const _0x4b0083=_0x3a01f0;_0x16626c[_0x4b0083(0x3a9)](_0x13fabe['id'])&&_0x13fabe[_0x4b0083(0x131)][_0x4b0083(0x3ba)]===this[_0x4b0083(0x3b7)][_0x4b0083(0x3ba)]&&this[_0x4b0083(0x368)]();}));}[_0x2ba232(0x1a9)](){const _0x51493f=_0x2ba232;this[_0x51493f(0x2a4)](_0x4976c9[_0x51493f(0x186)](this[_0x51493f(0x3b7)][_0x51493f(0x367)][_0x51493f(0x2b1)])[_0x51493f(0x357)](_0x210849[_0x51493f(0x25f)](_0x34ce93=>_0x34ce93[_0x51493f(0x176)]===_0x5ed3cd['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x210849[_0x51493f(0x30d)](0x10))[_0x51493f(0x34b)](()=>{const _0x3971bd=_0x51493f;this[_0x3971bd(0x368)]();}));}};_0x315c12=_0x2f9096([_0x3ce733(0x1,_0x4976c9['Inject'](_0x407a59['DocSkeletonManagerService'])),_0x3ce733(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x2c65f1)),_0x3ce733(0x3,_0x4976c9['ICommandService']),_0x3ce733(0x4,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x24e)]))],_0x315c12);const _0x5442e6=0x1,_0x314d8a=1.5;class _0x979c74 extends _0x5ed3cd[_0x2ba232(0x29c)]{constructor(_0x474842,_0x34f842){const _0xfaa9fd=_0x2ba232;super(_0x474842,_0x34f842),_0x2a0527(this,_0xfaa9fd(0x348)),_0x2a0527(this,_0xfaa9fd(0x292),!0x1),_0x2a0527(this,_0xfaa9fd(0x20d)),_0x2a0527(this,_0xfaa9fd(0x3ad),''),_0x2a0527(this,_0xfaa9fd(0x1e3),_0xfaa9fd(0x370)),_0x2a0527(this,_0xfaa9fd(0x36a)),(_0x34f842&&this['setShapeProps'](_0x34f842),this['onPointerEnter$'][_0xfaa9fd(0x29f)](()=>this[_0xfaa9fd(0x3be)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0xfaa9fd(0x3be)]({'hovered':!0x1})));}[_0x2ba232(0x3be)](_0x518aba){const _0xf5c34f=_0x2ba232;var _0x88e56,_0x5b9b27,_0x519fe5,_0x226a5a,_0x3709d8,_0x3f1903;this[_0xf5c34f(0x348)]=(_0x88e56=_0x518aba[_0xf5c34f(0x218)])!=null?_0x88e56:this['_color'],this['_hovered']=(_0x5b9b27=_0x518aba['hovered'])!=null?_0x5b9b27:this['_hovered'],this['_range']=(_0x519fe5=_0x518aba[_0xf5c34f(0x1c0)])!=null?_0x519fe5:this[_0xf5c34f(0x20d)],this[_0xf5c34f(0x3ad)]=(_0x226a5a=_0x518aba['name'])!=null?_0x226a5a:this[_0xf5c34f(0x3ad)],this['_labelPosition']=(_0x3709d8=_0x518aba[_0xf5c34f(0x251)])!=null?_0x3709d8:this[_0xf5c34f(0x1e3)],this[_0xf5c34f(0x36a)]=(_0x3f1903=_0x518aba[_0xf5c34f(0x323)])!=null?_0x3f1903:this['_backgroundColor'],this['transformByState']({'width':_0x518aba[_0xf5c34f(0x32a)],'height':_0x518aba['height']});}[_0x2ba232(0x2db)](_0x24c858){const _0x2902ec=_0x2ba232,{row:_0x4cb806,column:_0x5de5e4}=_0x24c858;if(_0x4cb806>=this[_0x2902ec(0x20d)][_0x2902ec(0x388)]&&_0x4cb806<=this[_0x2902ec(0x20d)]['endRow']&&_0x5de5e4>=this[_0x2902ec(0x20d)][_0x2902ec(0x32b)]&&_0x5de5e4<=this[_0x2902ec(0x20d)][_0x2902ec(0x375)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2902ec(0x3be)]({'hovered':!0x1});}[_0x2ba232(0x211)](_0x20443e){return!0x1;}[_0x2ba232(0x182)](_0x1199b1){const _0x288cf6=_0x2ba232;_0x5ed3cd['Rect']['drawWith'](_0x1199b1,{'width':this[_0x288cf6(0x32a)],'height':this['height'],'strokeWidth':_0x314d8a,'stroke':this[_0x288cf6(0x348)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x288cf6(0x292)]&&(_0x1199b1[_0x288cf6(0x25b)](),_0x1199b1['transform'](0x1,0x0,0x0,0x1,this[_0x288cf6(0x32a)],this[_0x288cf6(0x1e3)]===_0x288cf6(0x364)?0x0:-_0x36d89b),_0x358d0c['drawWith'](_0x1199b1,{'text':this[_0x288cf6(0x3ad)],'color':this[_0x288cf6(0x348)]}),_0x1199b1[_0x288cf6(0x22e)]());}}var _0x1cbe28=Object['getOwnPropertyDescriptor'],_0x19d100=(_0x538454,_0x239230,_0x27760a,_0x3c09e6)=>{const _0x25f788=_0x2ba232;for(var _0xf5a797=_0x3c09e6>0x1?void 0x0:_0x3c09e6?_0x1cbe28(_0x239230,_0x27760a):_0x239230,_0x89885c=_0x538454[_0x25f788(0x16b)]-0x1,_0xe2af38;_0x89885c>=0x0;_0x89885c--)(_0xe2af38=_0x538454[_0x89885c])&&(_0xf5a797=_0xe2af38(_0xf5a797)||_0xf5a797);return _0xf5a797;},_0x4e9d69=(_0x30f2c7,_0x1ed8a2)=>(_0x29acb7,_0x40a8fa)=>_0x1ed8a2(_0x29acb7,_0x40a8fa,_0x30f2c7);const _0x1294e9=0x1389;let _0x603fa4=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x11615a,_0xe57820,_0x1d3cab,_0x466da9){const _0x5cf19f=_0x2ba232;super(),_0x2a0527(this,_0x5cf19f(0x3bd),new Set()),_0x2a0527(this,_0x5cf19f(0x130),null),(this[_0x5cf19f(0x3b7)]=_0x11615a,this['_sheetSkeletonManagerService']=_0xe57820,this[_0x5cf19f(0x305)]=_0x1d3cab,this[_0x5cf19f(0x2b8)]=_0x466da9,this[_0x5cf19f(0x21e)]());}['_init'](){const _0x261ec0=_0x2ba232;this['_sheetSkeletonManagerService'][_0x261ec0(0x3ac)]['pipe'](_0x210849['takeUntil'](this[_0x261ec0(0x322)]),_0x210849[_0x261ec0(0x156)](_0x44e8ec=>{const _0x589ad4=_0x261ec0;if(_0x44e8ec){const _0x397d59=_0x44e8ec[_0x589ad4(0x317)];return _0x1af8d0[_0x589ad4(0x377)](this[_0x589ad4(0x305)][_0x589ad4(0x36b)](this[_0x589ad4(0x3b7)]['unitId']),this[_0x589ad4(0x2b8)]['currentTheme$'])[_0x589ad4(0x357)](_0x210849[_0x589ad4(0x267)](([_0x517f40,_0x25ec8d])=>{const _0x465343=_0x589ad4,_0xd832ba=new Map();return _0x517f40[_0x465343(0x229)]((_0x52963b,_0x16161e)=>{const _0x55b3b0=_0x465343;if(_0x52963b[_0x55b3b0(0x1bb)]===_0x397d59){const _0x25a812={..._0x52963b};_0x25a812[_0x55b3b0(0x218)]=this[_0x55b3b0(0x2b8)][_0x55b3b0(0x36d)](_0x52963b[_0x55b3b0(0x218)]),_0xd832ba[_0x55b3b0(0x265)](_0x16161e,_0x25a812);}}),{'skeleton':_0x44e8ec,'cursors':_0xd832ba};}));}return _0x1af8d0['of']({'skeleton':null,'cursors':new Map()});}))[_0x261ec0(0x34b)](({skeleton:_0x13519f,cursors:_0x39e8b5})=>{const _0x43ebe5=_0x261ec0;this['_removeCollabCursors'](),_0x13519f&&this[_0x43ebe5(0x28f)](_0x13519f,_0x39e8b5);}),this[_0x261ec0(0x212)][_0x261ec0(0x3ac)][_0x261ec0(0x34b)](_0x1e761e=>{const _0x11b3ba=_0x261ec0;if(_0x1e761e==null)return;const {skeleton:_0x23316c}=_0x1e761e,{scene:_0x7d5b54}=this[_0x11b3ba(0x3b7)];_0x7d5b54[_0x11b3ba(0x12e)][_0x11b3ba(0x29f)](_0x4976c9[_0x11b3ba(0x27d)](_0xab0b66=>{const _0x58e715=_0x11b3ba;var _0x54a4c2,_0x3eaae1;const {offsetX:_0x476e22,offsetY:_0x136b48}=_0xab0b66,{x:_0x547db1,y:_0x22b0c4}=_0x7d5b54[_0x58e715(0x31c)](_0x5ed3cd['Vector2'][_0x58e715(0x2e4)]([_0x476e22,_0x136b48])),{scaleX:_0x1aa335,scaleY:_0x52c460}=_0x7d5b54[_0x58e715(0x1ba)](),_0x56d92a=_0x7d5b54[_0x58e715(0x301)](_0x5ed3cd['SHEET_VIEWPORT_KEY'][_0x58e715(0x217)]),_0x2b0681=_0x7d5b54['getVpScrollXYInfoByPosToVp'](_0x5ed3cd[_0x58e715(0x1eb)][_0x58e715(0x2e4)]([_0x547db1,_0x22b0c4]),_0x56d92a),_0x522a9e=_0x23316c[_0x58e715(0x2bb)](_0x476e22,_0x136b48,_0x1aa335,_0x52c460,_0x2b0681);((_0x54a4c2=this[_0x58e715(0x130)])==null?void 0x0:_0x54a4c2[_0x58e715(0x200)])===_0x522a9e['column']&&((_0x3eaae1=this['_lastPointer'])==null?void 0x0:_0x3eaae1[_0x58e715(0x35d)])===_0x522a9e[_0x58e715(0x35d)]||this[_0x58e715(0x3bd)][_0x58e715(0x229)](_0x16c9c7=>{const _0xe28e70=_0x58e715;_0x16c9c7[_0xe28e70(0x2db)](_0x522a9e);});},0x64));});}[_0x2ba232(0x28f)](_0x55e6ed,_0x51e45f){const _0x1c18fb=_0x2ba232;var _0x369ed5;const _0x383d86=(_0x369ed5=this['_sheetSkeletonManagerService'][_0x1c18fb(0x29d)]())==null?void 0x0:_0x369ed5[_0x1c18fb(0x1d0)];if(!_0x383d86)return;const _0x3ce88d=this[_0x1c18fb(0x33b)]();if(!_0x3ce88d)return;this[_0x1c18fb(0x3bd)][_0x1c18fb(0x229)](_0x355a63=>{_0x355a63['makeDirty']();});const {scene:_0x445bd9}=_0x3ce88d,_0x44a46f=_0x104ab6(Array[_0x1c18fb(0x128)](_0x51e45f[_0x1c18fb(0x201)]()))['map'](_0xe0b138=>{const _0x512ef1=_0x1c18fb,{color:_0x2fe4dd,range:_0x5104cd,name:_0x56f01b,selection:_0x3dfcc3,sheetID:_0x2b7811}=_0xe0b138,{startColumn:_0x1430f2,startRow:_0x54ea7a,endColumn:_0x18a488,endRow:_0x34a62c}=_0x5104cd,_0x3e83d9=_0x234c3f['getCoordByCell'](_0x54ea7a,_0x1430f2,_0x445bd9,_0x383d86),_0xf54ace=_0x234c3f[_0x512ef1(0x165)](_0x34a62c,_0x18a488,_0x445bd9,_0x383d86),{columnHeaderHeightAndMarginTop:_0x2badb4}=_0x383d86,{startX:_0x4e74ad,startY:_0x473057}=_0x3e83d9,{endX:_0x42fc7c,endY:_0x19201a}=_0xf54ace,_0x35758a=_0x42fc7c-_0x4e74ad,_0x2f196e=_0x19201a-_0x473057,_0x53ca88={'labelPosition':_0x473057-_0x2badb4>=_0x36d89b?_0x512ef1(0x370):_0x512ef1(0x364),'sheetID':_0x2b7811,'range':_0x5104cd,'color':_0x2fe4dd,'name':_0x56f01b,'selection':_0x3dfcc3,'left':_0x4e74ad,'top':_0x473057,'width':_0x35758a,'height':_0x2f196e,'evented':!0x1,'zIndex':_0x1294e9};return new _0x979c74(_0x56f01b,_0x53ca88);});_0x445bd9['addObjects'](_0x44a46f,_0x5442e6),this[_0x1c18fb(0x3bd)]=new Set(_0x44a46f);}[_0x2ba232(0x134)](){const _0x1f577a=_0x2ba232;var _0x503d6c;(_0x503d6c=this[_0x1f577a(0x3bd)])==null||_0x503d6c[_0x1f577a(0x229)](_0xaf846a=>_0xaf846a['dispose']());}[_0x2ba232(0x33b)](){const _0x375fc1=_0x2ba232;return _0x234c3f[_0x375fc1(0x1f6)](this[_0x375fc1(0x3b7)]['unit'],this[_0x375fc1(0x3b7)]);}};_0x603fa4=_0x19d100([_0x4e9d69(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x234c3f[_0x2ba232(0x17e)])),_0x4e9d69(0x2,_0x4976c9['Inject'](_0x2c65f1)),_0x4e9d69(0x3,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x24e)]))],_0x603fa4);function _0x104ab6(_0x4118f9){const _0x35f6fd=_0x2ba232,_0x3aa6f3=new Map();return _0x4118f9[_0x35f6fd(0x229)](_0x28a7a4=>{const _0x5cc317=_0x35f6fd;if(_0x3aa6f3['has'](_0x28a7a4['selection'])){const _0x33265e=_0x3aa6f3['get'](_0x28a7a4['selection']);_0x33265e[_0x5cc317(0x2ed)]+=',\x20'+_0x28a7a4[_0x5cc317(0x2ed)];}else _0x3aa6f3['set'](_0x28a7a4['selection'],_0x28a7a4);}),Array[_0x35f6fd(0x128)](_0x3aa6f3['values']());}var _0x1df1a5=Object['getOwnPropertyDescriptor'],_0x29c756=(_0x38da7c,_0x50b365,_0xcd4f44,_0x160417)=>{const _0x5ab899=_0x2ba232;for(var _0x4dccb9=_0x160417>0x1?void 0x0:_0x160417?_0x1df1a5(_0x50b365,_0xcd4f44):_0x50b365,_0x15e803=_0x38da7c[_0x5ab899(0x16b)]-0x1,_0x26fb19;_0x15e803>=0x0;_0x15e803--)(_0x26fb19=_0x38da7c[_0x15e803])&&(_0x4dccb9=_0x26fb19(_0x4dccb9)||_0x4dccb9);return _0x4dccb9;},_0x348854=(_0xd2411b,_0x4c5494)=>(_0x5e8322,_0x584e33)=>_0x4c5494(_0x5e8322,_0x584e33,_0xd2411b);let _0x2b6705=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x3b039f,_0x16484e,_0x1c486b,_0x12977a,_0x1e067e,_0x1e75c1){const _0x5b8555=_0x2ba232;super(),this['_beforeCloseService']=_0x3b039f,this[_0x5b8555(0x27b)]=_0x16484e,this['_collaborationUIEventService']=_0x1c486b,this['_messageService']=_0x12977a,this['_notificationService']=_0x1e067e,this['_localeService']=_0x1e75c1,this['_setupBeforeClosingHandler'](),this[_0x5b8555(0x1f2)]();}['_setupBeforeClosingHandler'](){const _0x592df0=_0x2ba232;this['disposeWithMe'](this['_beforeCloseService'][_0x592df0(0x3b4)](()=>{const _0x364fb2=_0x592df0;if(this['_localCacheService'][_0x364fb2(0x2df)][_0x364fb2(0x351)])return this[_0x364fb2(0x2ae)]['t'](_0x364fb2(0x1b6));}));}[_0x2ba232(0x1f2)](){const _0x13b93c=_0x2ba232;this[_0x13b93c(0x2a4)](this['_collaborationUIEventService'][_0x13b93c(0x264)]['subscribe'](_0x55dcbc=>{const _0x3e2005=_0x13b93c;_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x208)]&&this['_messageService'][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t']('collaboration.single-unit.warning')}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x1bd)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add['MessageType'][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x26f))}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x18e)),'content':this['_localeService']['t']('permission.content'),'type':_0x3e2005(0x248),'duration':0x0}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)]['CONFLICT']&&this[_0x3e2005(0x2c8)]['show']({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x26f))+'('+_0x55dcbc[_0x3e2005(0x335)]+')'}),_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x398)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t'](_0x55dcbc[_0x3e2005(0x335)]||'')}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x35b)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this['_localeService']['t'](_0x3e2005(0x183))}),_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x247)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x2fe))}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x2aa)]&&this[_0x3e2005(0x2c8)]['show']({'type':_0xe10add['MessageType'][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x18d))});}));}};_0x2b6705=_0x29c756([_0x348854(0x0,_0x39d563[_0x2ba232(0x395)]),_0x348854(0x1,_0x36b1ab[_0x2ba232(0x298)]),_0x348854(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x282)])),_0x348854(0x3,_0x39d563[_0x2ba232(0x253)]),_0x348854(0x4,_0x39d563['INotificationService']),_0x348854(0x5,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['LocaleService']))],_0x2b6705);const _0x178377=_0x2ba232(0x390),_0x16e3c7={};var _0x182c47=Object[_0x2ba232(0x196)],_0x26be85=(_0x4c491f,_0x3ad1fc,_0x485d3d,_0x1307eb)=>{const _0x32912f=_0x2ba232;for(var _0x14f4ef=_0x1307eb>0x1?void 0x0:_0x1307eb?_0x182c47(_0x3ad1fc,_0x485d3d):_0x3ad1fc,_0x51bba5=_0x4c491f[_0x32912f(0x16b)]-0x1,_0x427e08;_0x51bba5>=0x0;_0x51bba5--)(_0x427e08=_0x4c491f[_0x51bba5])&&(_0x14f4ef=_0x427e08(_0x14f4ef)||_0x14f4ef);return _0x14f4ef;},_0x11c4f9=(_0x5a5b20,_0xb7de43)=>(_0x26aa15,_0x456690)=>_0xb7de43(_0x26aa15,_0x456690,_0x5a5b20);let _0x1266e6=class{constructor(_0x5a3ac9,_0x63e08c){const _0x1cb699=_0x2ba232;this['_transformService']=_0x5a3ac9,this[_0x1cb699(0x347)]=_0x63e08c;}[_0x2ba232(0x352)](_0x29b718){const _0x2d21fb=_0x2ba232;this[_0x2d21fb(0x340)](_0x29b718),this[_0x2d21fb(0x27e)](_0x29b718);}[_0x2ba232(0x2cd)](_0x1defb7){const _0x501c1a=_0x2ba232,{unitID:_0x26e6db}=_0x1defb7,_0x577eb9=this[_0x501c1a(0x347)][_0x501c1a(0x194)](_0x26e6db)[_0x501c1a(0x177)](_0x4f5309['DocIMEInputManagerService']),{redoCache:_0x5d5bf8}=_0x577eb9['getUndoRedoMutationParamsCache']();if(_0x5d5bf8[_0x501c1a(0x16b)]===0x0)return _0x1defb7;let _0x1d6ac1=_0x4976c9[_0x501c1a(0x14b)][_0x501c1a(0x239)](_0x1defb7[_0x501c1a(0x362)][0x0]);for(let _0x5c9d63=0x0;_0x5c9d63<_0x5d5bf8[_0x501c1a(0x16b)];_0x5c9d63++){const _0x19edb9={'id':_0x501c1a(0x1e2),'params':{..._0x5d5bf8[_0x5c9d63]}},_0x244482=this[_0x501c1a(0x172)][_0x501c1a(0x142)](_0x1d6ac1,_0x19edb9,!0x1);if(_0x280b1c[_0x501c1a(0x1f7)](_0x244482))throw _0x244482[_0x501c1a(0x248)];_0x1d6ac1=_0x244482['m1Prime'];}return{..._0x4976c9[_0x501c1a(0x14b)][_0x501c1a(0x239)](_0x1defb7),'mutations':[_0x1d6ac1]};}[_0x2ba232(0x340)](_0x45c4c7){const _0x158148=_0x2ba232,{unitID:_0x2302bf}=_0x45c4c7,_0x4de408=this[_0x158148(0x347)]['getRenderById'](_0x2302bf)[_0x158148(0x177)](_0x4f5309[_0x158148(0x1d4)]),{undoCache:_0x188c11,redoCache:_0xd6682a}=_0x4de408['getUndoRedoMutationParamsCache']();if(_0x188c11[_0x158148(0x16b)]===0x0||_0xd6682a[_0x158148(0x16b)]===0x0)return;const _0x3c58ef=[],_0x1eb381=[];let _0x3b18d0=_0x4976c9['Tools'][_0x158148(0x239)](_0x45c4c7[_0x158148(0x362)][0x0]),_0x23ce5f=_0x4976c9[_0x158148(0x14b)][_0x158148(0x239)](_0x45c4c7['mutations'][0x0]);for(let _0x4dff81=_0x188c11[_0x158148(0x16b)]-0x1;_0x4dff81>=0x0;_0x4dff81--){const _0x56a014={'id':_0x158148(0x1e2),'params':{..._0x188c11[_0x4dff81]}},_0x5e62ae={'id':_0x158148(0x1e2),'params':{..._0xd6682a[_0x4dff81]}},_0xc8aa12=this[_0x158148(0x172)][_0x158148(0x142)](_0x3b18d0,_0x56a014,!0x1),_0x22cf17=this[_0x158148(0x172)][_0x158148(0x142)](_0x23ce5f,_0x5e62ae,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0xc8aa12))throw _0xc8aa12[_0x158148(0x248)];if(_0x280b1c['isTransformMutationFailure'](_0x22cf17))throw _0x22cf17[_0x158148(0x248)];_0x3c58ef[_0x158148(0x321)](_0xc8aa12['m2Prime'][_0x158148(0x131)]),_0x1eb381['unshift'](_0x22cf17[_0x158148(0x2d8)][_0x158148(0x131)]),_0x3b18d0=_0xc8aa12['m1Prime'],_0x23ce5f=_0x22cf17['m1Prime'];}_0x4de408[_0x158148(0x240)]({'undoCache':_0x3c58ef,'redoCache':_0x1eb381});}['_transformPreviousActiveRange'](_0x566231){const _0x5c8340=_0x2ba232,{unitID:_0x23facf}=_0x566231,_0x5aa202=this[_0x5c8340(0x347)][_0x5c8340(0x194)](_0x23facf)['with'](_0x4f5309['DocIMEInputManagerService']),_0x325df5=_0x5aa202[_0x5c8340(0x163)]();if(_0x325df5==null)return;const _0x368d57=[{'id':_0x5c8340(0x1e2),'params':{'unitId':_0x566231['unitID'],'actions':null,'textRanges':[_0x325df5]}}],_0x3ac928=this[_0x5c8340(0x172)][_0x5c8340(0x3b8)](_0x566231,_0x368d57);if(!_0x280b1c[_0x5c8340(0x1e8)](_0x3ac928))throw _0x3ac928[_0x5c8340(0x248)];const _0x35c5c4=_0x3ac928[_0x5c8340(0x2d8)][0x0]['params']['textRanges'];Array['isArray'](_0x35c5c4)&&_0x35c5c4[_0x5c8340(0x16b)]&&_0x5aa202[_0x5c8340(0x193)](_0x35c5c4[0x0]);}};_0x1266e6=_0x26be85([_0x11c4f9(0x0,_0x280b1c[_0x2ba232(0x1e0)]),_0x11c4f9(0x1,_0x5ed3cd[_0x2ba232(0x2d6)])],_0x1266e6);var _0xae2ef9=Object[_0x2ba232(0x196)],_0x4437d4=(_0x5dd52c,_0x340d9e,_0x4c1b4a,_0x25699b)=>{const _0x4b1d6a=_0x2ba232;for(var _0x456367=_0x25699b>0x1?void 0x0:_0x25699b?_0xae2ef9(_0x340d9e,_0x4c1b4a):_0x340d9e,_0x1e7e3b=_0x5dd52c[_0x4b1d6a(0x16b)]-0x1,_0x53b53a;_0x1e7e3b>=0x0;_0x1e7e3b--)(_0x53b53a=_0x5dd52c[_0x1e7e3b])&&(_0x456367=_0x53b53a(_0x456367)||_0x456367);return _0x456367;},_0x23b494=(_0x460af2,_0x1db4f9)=>(_0xf8653e,_0x58334c)=>_0x1db4f9(_0xf8653e,_0x58334c,_0x460af2);let _0x349d2b=class{constructor(_0xb4bdc1,_0x56addb,_0x395709){const _0x55af64=_0x2ba232;this[_0x55af64(0x223)]=_0xb4bdc1,this['_transformService']=_0x56addb,this[_0x55af64(0x185)]=_0x395709;}[_0x2ba232(0x1fd)](_0x4b28c0){this['_transformHistoryAndStateStack'](_0x4b28c0);}[_0x2ba232(0x2cd)](_0x3f38cb){const _0x3a49d3=_0x2ba232,{unitID:_0x1f0341}=_0x3f38cb,{collaboration:_0x54b10b}=this[_0x3a49d3(0x185)][_0x3a49d3(0x1f8)](_0x1f0341);if(_0x54b10b[_0x3a49d3(0x16b)]===0x0)return _0x3f38cb;let _0x2de301=_0x4976c9[_0x3a49d3(0x14b)][_0x3a49d3(0x239)](_0x3f38cb[_0x3a49d3(0x362)][0x0]);for(let _0xfa8ce=0x0;_0xfa8ce<_0x54b10b[_0x3a49d3(0x16b)];_0xfa8ce++){const _0x164ad7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54b10b[_0xfa8ce]['unitId'],..._0x54b10b[_0xfa8ce]['redoState']}},_0x5499fa=this['_transformService']['transformMutation'](_0x2de301,_0x164ad7,!0x1);if(_0x280b1c[_0x3a49d3(0x1f7)](_0x5499fa))throw _0x5499fa[_0x3a49d3(0x248)];_0x2de301=_0x5499fa[_0x3a49d3(0x3a0)];}return{..._0x4976c9[_0x3a49d3(0x14b)][_0x3a49d3(0x239)](_0x3f38cb),'mutations':[_0x2de301]};}[_0x2ba232(0x1da)](_0x42d504){const _0x4eca16=_0x2ba232,{unitID:_0xb36344}=_0x42d504,{history:_0x32a19e,collaboration:_0x5c9fbe}=this['_docStateChangeManagerService'][_0x4eca16(0x1f8)](_0xb36344);if(_0x32a19e[_0x4eca16(0x16b)]===0x0&&_0x5c9fbe['length']===0x0)return;const _0x5a2b2e=[],_0x19d241=[];let _0x23b15f=_0x4976c9[_0x4eca16(0x14b)][_0x4eca16(0x239)](_0x42d504[_0x4eca16(0x362)][0x0]),_0x29bbb9=_0x4976c9[_0x4eca16(0x14b)]['deepClone'](_0x42d504[_0x4eca16(0x362)][0x0]);for(let _0x1de9a9=_0x32a19e[_0x4eca16(0x16b)]-0x1;_0x1de9a9>=0x0;_0x1de9a9--){const _0x30c33b={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x32a19e[_0x1de9a9]['unitId'],..._0x32a19e[_0x1de9a9][_0x4eca16(0x1c6)]}},_0x2777ee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32a19e[_0x1de9a9][_0x4eca16(0x3ba)],..._0x32a19e[_0x1de9a9]['redoState']}},_0x50d07e=this['_transformService'][_0x4eca16(0x142)](_0x23b15f,_0x30c33b,!0x1),_0x531d4a=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x29bbb9,_0x2777ee,!0x1);if(_0x280b1c[_0x4eca16(0x1f7)](_0x50d07e))throw _0x50d07e[_0x4eca16(0x248)];if(_0x280b1c[_0x4eca16(0x1f7)](_0x531d4a))throw _0x531d4a[_0x4eca16(0x248)];_0x5a2b2e[_0x4eca16(0x321)]({..._0x32a19e[_0x1de9a9],'undoState':_0x50d07e[_0x4eca16(0x2d8)][_0x4eca16(0x131)],'redoState':_0x531d4a['m2Prime'][_0x4eca16(0x131)]}),_0x23b15f=_0x50d07e['m1Prime'],_0x29bbb9=_0x531d4a[_0x4eca16(0x3a0)];}_0x23b15f=_0x4976c9['Tools'][_0x4eca16(0x239)](_0x42d504[_0x4eca16(0x362)][0x0]),_0x29bbb9=_0x4976c9[_0x4eca16(0x14b)][_0x4eca16(0x239)](_0x42d504['mutations'][0x0]);for(let _0x2da6bf=_0x5c9fbe[_0x4eca16(0x16b)]-0x1;_0x2da6bf>=0x0;_0x2da6bf--){const _0x5c27c5={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x5c9fbe[_0x2da6bf][_0x4eca16(0x3ba)],..._0x5c9fbe[_0x2da6bf][_0x4eca16(0x1c6)]}},_0x58baa5={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x5c9fbe[_0x2da6bf]['unitId'],..._0x5c9fbe[_0x2da6bf]['redoState']}},_0x1d9543=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x23b15f,_0x5c27c5,!0x1),_0x400072=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x29bbb9,_0x58baa5,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0x1d9543))throw _0x1d9543[_0x4eca16(0x248)];if(_0x280b1c[_0x4eca16(0x1f7)](_0x400072))throw _0x400072[_0x4eca16(0x248)];_0x19d241[_0x4eca16(0x321)]({..._0x5c9fbe[_0x2da6bf],'undoState':_0x1d9543[_0x4eca16(0x2d8)]['params'],'redoState':_0x400072[_0x4eca16(0x2d8)]['params']}),_0x23b15f=_0x1d9543[_0x4eca16(0x3a0)],_0x29bbb9=_0x400072[_0x4eca16(0x3a0)];}this['_docStateChangeManagerService'][_0x4eca16(0x3c1)](_0xb36344,{'history':_0x5a2b2e,'collaboration':_0x19d241});}};_0x349d2b=_0x4437d4([_0x23b494(0x0,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x19f)])),_0x23b494(0x1,_0x280b1c[_0x2ba232(0x1e0)]),_0x23b494(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4f5309['DocStateChangeManagerService']))],_0x349d2b);var _0x4ef68e=Object[_0x2ba232(0x196)],_0x4d8c7d=(_0x405e03,_0x195a9f,_0x856212,_0x5e1d5f)=>{const _0x241a97=_0x2ba232;for(var _0x5ec48b=_0x5e1d5f>0x1?void 0x0:_0x5e1d5f?_0x4ef68e(_0x195a9f,_0x856212):_0x195a9f,_0x12ee58=_0x405e03[_0x241a97(0x16b)]-0x1,_0x53ae4d;_0x12ee58>=0x0;_0x12ee58--)(_0x53ae4d=_0x405e03[_0x12ee58])&&(_0x5ec48b=_0x53ae4d(_0x5ec48b)||_0x5ec48b);return _0x5ec48b;},_0x126c08=(_0x52ad53,_0x40e2ee)=>(_0x1e7e4c,_0xd8d75a)=>_0x40e2ee(_0x1e7e4c,_0xd8d75a,_0x52ad53);let _0xc1ba12=class{constructor(_0x60b444,_0xcfcef1){const _0x1c7d77=_0x2ba232;this['_injector']=_0x60b444,this[_0x1c7d77(0x172)]=_0xcfcef1;}[_0x2ba232(0x385)](_0x3b5795){const _0x44c410=_0x2ba232;var _0x21f6c8;const _0x194c9f=this['_injector'][_0x44c410(0x189)](_0x407a59[_0x44c410(0x1a7)]),_0x55f4c4=(_0x21f6c8=_0x194c9f[_0x44c410(0x173)]())!=null?_0x21f6c8:[];if(_0x55f4c4['length']===0x0)return;const _0x468bdf=_0x3b5795[_0x44c410(0x291)],_0x1b4870=[{'id':_0x44c410(0x1e2),'params':{'unitId':_0x468bdf,'actions':null,'textRanges':_0x55f4c4}}],_0x5971bf=this[_0x44c410(0x172)][_0x44c410(0x3b8)](_0x3b5795,_0x1b4870);if(!_0x280b1c[_0x44c410(0x1e8)](_0x5971bf))throw _0x5971bf[_0x44c410(0x248)];const _0x54322a=_0x5971bf[_0x44c410(0x2d8)][0x0][_0x44c410(0x131)]['textRanges'];Array[_0x44c410(0x16f)](_0x54322a)&&_0x54322a[_0x44c410(0x16b)]&&_0x194c9f[_0x44c410(0x1d7)](_0x54322a,{'unitId':_0x468bdf,'subUnitId':_0x468bdf},!0x1);}};_0xc1ba12=_0x4d8c7d([_0x126c08(0x0,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x19f)])),_0x126c08(0x1,_0x280b1c[_0x2ba232(0x1e0)])],_0xc1ba12);var _0x46a302=Object[_0x2ba232(0x196)],_0x3b2fe2=(_0x90f07a,_0x486aa4,_0x4fd690,_0x181743)=>{const _0x11cf81=_0x2ba232;for(var _0x125d15=_0x181743>0x1?void 0x0:_0x181743?_0x46a302(_0x486aa4,_0x4fd690):_0x486aa4,_0x24b93d=_0x90f07a[_0x11cf81(0x16b)]-0x1,_0x4b5bbf;_0x24b93d>=0x0;_0x24b93d--)(_0x4b5bbf=_0x90f07a[_0x24b93d])&&(_0x125d15=_0x4b5bbf(_0x125d15)||_0x125d15);return _0x125d15;},_0x34bf12=(_0x62a507,_0x206680)=>(_0x38d1c4,_0x4da3b2)=>_0x206680(_0x38d1c4,_0x4da3b2,_0x62a507);let _0x408e3d=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x947cf9,_0x5cebd7,_0x2d1758,_0x1da325,_0xea1545,_0x1e5f1e,_0x40518a,_0x1b36e3){const _0x3e0852=_0x2ba232;super(),_0x2a0527(this,'_status$',new _0x1af8d0[(_0x3e0852(0x334))](_0x36b1ab[_0x3e0852(0x32d)][_0x3e0852(0x23f)])),(this['_docStateChangeManagerService']=_0x947cf9,this[_0x3e0852(0x1bf)]=_0x5cebd7,this[_0x3e0852(0x12c)]=_0x2d1758,this['_docTransformStateCacheService']=_0x1da325,this[_0x3e0852(0x1a1)]=_0xea1545,this[_0x3e0852(0x315)]=_0x1e5f1e,this[_0x3e0852(0x2c8)]=_0x40518a,this[_0x3e0852(0x2ae)]=_0x1b36e3,this[_0x3e0852(0x1c1)]());}['_initEntityListener'](){const _0x4f64a6=_0x2ba232;this[_0x4f64a6(0x2a4)](this[_0x4f64a6(0x1bf)][_0x4f64a6(0x151)][_0x4f64a6(0x34b)](_0x24a52d=>{const _0x20d419=_0x4f64a6,_0x250d4d=this[_0x20d419(0x185)][_0x20d419(0x279)][_0x20d419(0x34b)](_0xc846f4=>{const _0x906835=_0x20d419;if(_0xc846f4==null)return;const {unitId:_0x189862,redoState:_0x1002f8,commandId:_0x436c98}=_0xc846f4;if(_0x189862!==_0x24a52d['unitID'])return;const _0x3b4b9e={'id':_0x436c98,'type':_0x4976c9[_0x906835(0x243)][_0x906835(0x302)],'params':{'unitId':_0x189862,'actions':_0x1002f8[_0x906835(0x37d)],'textRanges':null}};_0x24a52d[_0x906835(0x2de)](_0x3b4b9e);});if(_0x24a52d['disposeWithMe'](_0x250d4d),_0x24a52d instanceof _0x36b1ab[_0x20d419(0x2ec)]){const _0x56e268={'onTransformIME':_0x5368ca=>this[_0x20d419(0x12c)][_0x20d419(0x352)](_0x5368ca),'onTransformState':_0x31601e=>this['_docTransformStateCacheService'][_0x20d419(0x1fd)](_0x31601e),'onTransformSelections':_0x399866=>this[_0x20d419(0x1a1)][_0x20d419(0x385)](_0x399866),'onSyncEditingCollabCursor':_0x1c38f2=>this[_0x20d419(0x315)][_0x20d419(0x30a)](_0x1c38f2),'onTransformRemoteChangesetByIMECache':_0x4d689d=>this[_0x20d419(0x12c)][_0x20d419(0x2cd)](_0x4d689d),'onTransformRemoteChangesetByStateCache':_0x1fb86d=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x1fb86d)};_0x24a52d[_0x20d419(0x2c4)](_0x56e268);}}));}};_0x408e3d=_0x3b2fe2([_0x34bf12(0x0,_0x4976c9[_0x2ba232(0x2b9)](_0x4f5309[_0x2ba232(0x2a9)])),_0x34bf12(0x1,_0x4976c9['Inject'](_0x36b1ab[_0x2ba232(0x39e)])),_0x34bf12(0x2,_0x4976c9['Inject'](_0x1266e6)),_0x34bf12(0x3,_0x4976c9['Inject'](_0x349d2b)),_0x34bf12(0x4,_0x4976c9['Inject'](_0xc1ba12)),_0x34bf12(0x5,_0x4976c9[_0x2ba232(0x2b9)](_0x1eca04)),_0x34bf12(0x6,_0x39d563[_0x2ba232(0x253)]),_0x34bf12(0x7,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['LocaleService']))],_0x408e3d);var _0x1f2358=Object[_0x2ba232(0x196)],_0x1e6376=(_0x4d91a6,_0x587c1e,_0x3ab63c,_0x429d0b)=>{const _0x5932bb=_0x2ba232;for(var _0x46a4ce=_0x429d0b>0x1?void 0x0:_0x429d0b?_0x1f2358(_0x587c1e,_0x3ab63c):_0x587c1e,_0x6abe63=_0x4d91a6[_0x5932bb(0x16b)]-0x1,_0x487282;_0x6abe63>=0x0;_0x6abe63--)(_0x487282=_0x4d91a6[_0x6abe63])&&(_0x46a4ce=_0x487282(_0x46a4ce)||_0x46a4ce);return _0x46a4ce;},_0x595498=(_0x2a4a46,_0x37ce5b)=>(_0x176a57,_0x166f91)=>_0x37ce5b(_0x176a57,_0x166f91,_0x2a4a46);let _0x47dc53=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x1fcba0,_0x45d1bd,_0x1286f2){const _0x23f256=_0x2ba232;super(),_0x2a0527(this,_0x23f256(0x2da),new Map()),_0x2a0527(this,'_saveTaskMap',new Map()),_0x2a0527(this,_0x23f256(0x27f),!0x1),(this[_0x23f256(0x372)]=_0x1fcba0,this['_localStorageService']=_0x45d1bd,this[_0x23f256(0x3b9)]=_0x1286f2);}[_0x2ba232(0x2b3)](){const _0xac91ad=_0x2ba232;this[_0xac91ad(0x27f)]=!0x0;}[_0x2ba232(0x14e)](){this['_disabled']=!0x1;}get[_0x2ba232(0x2df)](){const _0x9aaa70=_0x2ba232;return this[_0x9aaa70(0x12b)];}[_0x2ba232(0x15a)](){const _0xe55e0d=_0x2ba232;this[_0xe55e0d(0x32c)]()[_0xe55e0d(0x39d)](()=>super[_0xe55e0d(0x15a)]());}async[_0x2ba232(0x3b0)](_0x161605){const _0x54d726=_0x2ba232;return this[_0x54d726(0x27f)]?null:this[_0x54d726(0x356)][_0x54d726(0x161)](_0x36b1ab[_0x54d726(0x329)](_0x161605));}async[_0x2ba232(0x1d9)](_0x3e5080,_0x4c0acb){const _0xa861eb=_0x2ba232;return!!this[_0xa861eb(0x356)][_0xa861eb(0x1d1)](_0x3e5080,_0x4c0acb);}['updateOfflineData'](_0x180ab9,_0x57d436,_0x5312b7,_0x4d2ecf){const _0x452088=_0x2ba232,_0x1cfb85=this[_0x452088(0x3b9)]['getCurrentRevOfUnit'](_0x180ab9);this[_0x452088(0x2da)][_0x452088(0x265)](_0x180ab9,{'unitID':_0x180ab9,'type':_0x57d436,'awaitingChangeset':_0x5312b7,'mutations':_0x4d2ecf,'rev':_0x1cfb85}),this[_0x452088(0x12b)]['has'](_0x180ab9)||this[_0x452088(0x1d5)](_0x180ab9);}[_0x2ba232(0x1d5)](_0x3f6138){const _0x6f9c19=_0x2ba232,_0x2ebc9c=this[_0x6f9c19(0x3ab)]();_0x2ebc9c===0x0?this['_saveCache'](_0x3f6138):this[_0x6f9c19(0x12b)]['set'](_0x3f6138,setTimeout(()=>this[_0x6f9c19(0x144)](_0x3f6138),_0x2ebc9c));}[_0x2ba232(0x3ab)](){const _0x4b2bd9=_0x2ba232;var _0x545f98;return(_0x545f98=this[_0x4b2bd9(0x372)][_0x4b2bd9(0x3a1)](_0x36b1ab[_0x4b2bd9(0x2a6)]))!=null?_0x545f98:_0x36b1ab['LOCAL_CACHE_INTERVAL'];}[_0x2ba232(0x144)](_0x58dfa3){const _0xe1d466=_0x2ba232,_0x2579b6=this['_saveTaskMap'][_0xe1d466(0x189)](_0x58dfa3);return _0x2579b6!==void 0x0&&window['clearTimeout'](_0x2579b6),this[_0xe1d466(0x356)][_0xe1d466(0x1d1)](_0x36b1ab['getLocalCacheKey'](_0x58dfa3),this[_0xe1d466(0x2da)][_0xe1d466(0x189)](_0x58dfa3))[_0xe1d466(0x39d)](()=>this[_0xe1d466(0x12b)][_0xe1d466(0x1ab)](_0x58dfa3));}async[_0x2ba232(0x32c)](){const _0x481721=_0x2ba232,_0x425f8e=[];this[_0x481721(0x12b)][_0x481721(0x229)]((_0x125a51,_0x3304d7)=>{const _0x5c571e=_0x481721;window['clearTimeout'](_0x125a51),_0x425f8e[_0x5c571e(0x3c3)](this[_0x5c571e(0x144)](_0x3304d7)['then'](()=>{const _0x7042bf=_0x5c571e;this[_0x7042bf(0x12b)]['delete'](_0x3304d7);}));}),await Promise['all'](_0x425f8e);}};_0x47dc53=_0x1e6376([_0x595498(0x0,_0x4976c9['IConfigService']),_0x595498(0x1,_0x4976c9[_0x2ba232(0x20e)]),_0x595498(0x2,_0x4976c9['Inject'](_0x280b1c[_0x2ba232(0x3a3)]))],_0x47dc53);class _0x47baf9 extends _0x4976c9[_0x2ba232(0x303)]{constructor(){const _0x37fd0e=_0x2ba232;super(),_0x2a0527(this,_0x37fd0e(0x237)),this[_0x37fd0e(0x237)]=_0x1af8d0[_0x37fd0e(0x2fb)](window,_0x37fd0e(0x17b))[_0x37fd0e(0x357)](_0x1af8d0[_0x37fd0e(0x15f)](this[_0x37fd0e(0x322)]),_0x1af8d0['shareReplay'](0x1),_0x1af8d0[_0x37fd0e(0x332)](void 0x0));}[_0x2ba232(0x2be)](_0x34d8ee,_0x4a1793,_0x4b3333=!0x1){const _0x16a8e4=_0x2ba232,_0x13857e=new URL(window[_0x16a8e4(0x192)][_0x16a8e4(0x2c5)]);_0x13857e['searchParams'][_0x16a8e4(0x265)](_0x34d8ee,_0x4a1793),_0x4b3333?window[_0x16a8e4(0x34d)][_0x16a8e4(0x2a3)]('','',_0x13857e[_0x16a8e4(0x283)]()):window[_0x16a8e4(0x34d)][_0x16a8e4(0x39c)]('','',_0x13857e[_0x16a8e4(0x283)]());}[_0x2ba232(0x17f)](_0x3197a0,_0x5b8588=!0x1){const _0x35d44a=_0x2ba232,_0x21d9d4=new URL(window[_0x35d44a(0x192)][_0x35d44a(0x2c5)]);_0x21d9d4[_0x35d44a(0x319)]['delete'](_0x3197a0),_0x5b8588?window[_0x35d44a(0x34d)][_0x35d44a(0x2a3)]('','',_0x21d9d4[_0x35d44a(0x283)]()):window['history']['pushState']('','',_0x21d9d4[_0x35d44a(0x283)]());}['getParam'](_0x136d0e){const _0x19c1c9=_0x2ba232;var _0x292f57;return(_0x292f57=new URL(window[_0x19c1c9(0x192)][_0x19c1c9(0x2c5)])[_0x19c1c9(0x319)][_0x19c1c9(0x189)](_0x136d0e))!=null?_0x292f57:void 0x0;}}var _0xc82817=Object[_0x2ba232(0x381)],_0x1df586=Object[_0x2ba232(0x196)],_0x3dc6ef=(_0x48ad6d,_0x3a2812,_0x32dd7e)=>_0x3a2812 in _0x48ad6d?_0xc82817(_0x48ad6d,_0x3a2812,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32dd7e}):_0x48ad6d[_0x3a2812]=_0x32dd7e,_0x146e50=(_0x2b1cf7,_0x181db1,_0x18315e,_0x10d2e7)=>{for(var _0x4aa232=_0x10d2e7>0x1?void 0x0:_0x10d2e7?_0x1df586(_0x181db1,_0x18315e):_0x181db1,_0x345ae4=_0x2b1cf7['length']-0x1,_0x3f0e15;_0x345ae4>=0x0;_0x345ae4--)(_0x3f0e15=_0x2b1cf7[_0x345ae4])&&(_0x4aa232=_0x3f0e15(_0x4aa232)||_0x4aa232);return _0x4aa232;},_0x3f137f=(_0x592f36,_0x457744)=>(_0x2d1038,_0x25cefa)=>_0x457744(_0x2d1038,_0x25cefa,_0x592f36),_0x42aae6=(_0x11f6dd,_0x410ea1,_0x3eb6a1)=>_0x3dc6ef(_0x11f6dd,_0x410ea1+'',_0x3eb6a1);const _0x3fb16d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x990236[_0x2ba232(0x1e6)]=class extends _0x4976c9[_0x2ba232(0x1fa)]{constructor(_0x5cd9bb=_0x16e3c7,_0x32f402,_0x2f39d1,_0x19bfcc){const _0xc9b9b3=_0x2ba232;super(),this['_config']=_0x5cd9bb,this['_renderManagerService']=_0x32f402,this['_injector']=_0x2f39d1,this['_configService']=_0x19bfcc;const {..._0x4bb0c8}=_0x4976c9[_0xc9b9b3(0x349)]({},_0x16e3c7,this['_config']);this['_configService'][_0xc9b9b3(0x330)](_0x178377,_0x4bb0c8);}[_0x2ba232(0x2c3)](){const _0x3ada2d=_0x2ba232;this[_0x3ada2d(0x1fe)](),this[_0x3ada2d(0x3aa)]();}[_0x2ba232(0x15c)](){this['_registerRenderDependencies']();}[_0x2ba232(0x1fe)](){const _0x23c594=_0x2ba232;var _0x4cbc1f;const _0x3e1b9e=[[_0x2d77a3],[_0xc1ba12],[_0x1266e6],[_0x349d2b],[_0x1eca04],[_0x47c2f3,{'useClass':_0x47baf9}],[_0x2a9b18[_0x23c594(0x378)],{'useClass':_0x2a9b18[_0x23c594(0x34c)]}],[_0x36b1ab[_0x23c594(0x298)],{'useClass':_0x47dc53}],[_0x990236['DesktopCollaborationStatusDisplayController']],[_0x408e3d],[_0x2b6705],[_0x2c65f1],[_0x4ca2b5],[_0x990236['CollaborationDataLoaderController']]];_0x4976c9[_0x23c594(0x191)](this['_injector'],_0x4976c9[_0x23c594(0x2ce)](_0x3e1b9e,(_0x4cbc1f=this[_0x23c594(0x2f2)])==null?void 0x0:_0x4cbc1f['override']));}[_0x2ba232(0x338)](){const _0x439d9d=_0x2ba232;this[_0x439d9d(0x2a4)](this[_0x439d9d(0x347)][_0x439d9d(0x1cb)](_0x4976c9[_0x439d9d(0x220)][_0x439d9d(0x1be)],[_0x315c12])),this[_0x439d9d(0x2a4)](this[_0x439d9d(0x347)][_0x439d9d(0x1cb)](_0x4976c9[_0x439d9d(0x220)][_0x439d9d(0x1d8)],[_0x603fa4]));}[_0x2ba232(0x3aa)](){const _0x2beec5=_0x2ba232;_0x4976c9[_0x2beec5(0x162)](this['_injector'],[[_0x2c65f1],[_0x990236['DesktopCollaborationStatusDisplayController']],[_0x408e3d],[_0x2b6705],[_0x990236['CollaborationDataLoaderController']]]);}},_0x42aae6(_0x990236[_0x2ba232(0x1e6)],_0x2ba232(0x152),_0x3fb16d),_0x990236[_0x2ba232(0x1e6)]=_0x146e50([_0x4976c9[_0x2ba232(0x2f6)](_0x36b1ab['UniverCollaborationClientPlugin']),_0x3f137f(0x1,_0x5ed3cd[_0x2ba232(0x2d6)]),_0x3f137f(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x3f137f(0x3,_0x4976c9[_0x2ba232(0x262)])],_0x990236[_0x2ba232(0x1e6)]);var _0x49057d=Object[_0x2ba232(0x196)],_0x115fa6=(_0x1beef1,_0x5bd46f,_0x373e26,_0x9beea7)=>{const _0x431669=_0x2ba232;for(var _0x4b2b93=_0x9beea7>0x1?void 0x0:_0x9beea7?_0x49057d(_0x5bd46f,_0x373e26):_0x5bd46f,_0x513be7=_0x1beef1[_0x431669(0x16b)]-0x1,_0x16c97d;_0x513be7>=0x0;_0x513be7--)(_0x16c97d=_0x1beef1[_0x513be7])&&(_0x4b2b93=_0x16c97d(_0x4b2b93)||_0x4b2b93);return _0x4b2b93;},_0x4c4b85=(_0x1155ba,_0x403aa6)=>(_0x5cf92b,_0x5ed6dd)=>_0x403aa6(_0x5cf92b,_0x5ed6dd,_0x1155ba);_0x990236[_0x2ba232(0x310)]=class extends _0x36b1ab['CollaborationSocketService']{constructor(_0x11c090,_0x51ffe9,_0x50b393,_0x46ec78,_0x12ba89){super(_0x11c090,_0x51ffe9,_0x50b393,_0x46ec78,_0x12ba89);}async[_0x2ba232(0x327)](_0x109e28){const _0x2b3125=_0x2ba232,_0x2c699b=await this[_0x2b3125(0x353)](),_0x275b4f=this[_0x2b3125(0x22f)](_0x109e28,_0x2c699b);return this[_0x2b3125(0x2ba)](_0x275b4f);}['_createSocketURL'](_0x27baf2,_0x23d833){const _0x514265=_0x2ba232,_0x295dfd=typeof window>'u'?new URL(_0x27baf2):new URL(_0x27baf2,window['location'][_0x514265(0x23a)]);_0x295dfd[_0x514265(0x319)][_0x514265(0x265)](_0x514265(0x284),_0x23d833);const _0x337350=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x514265(0x192)]['search']);return _0x337350['get'](_0x514265(0x2ab))&&_0x295dfd['searchParams'][_0x514265(0x265)](_0x514265(0x2ab),_0x337350['get']('runId')),_0x295dfd[_0x514265(0x283)]();}async[_0x2ba232(0x353)](){const _0x568869=_0x2ba232;var _0x38312d,_0x3804a1,_0x211eca;const _0x851431=this[_0x568869(0x372)][_0x568869(0x3a1)](_0x36b1ab[_0x568869(0x180)]),_0x411d20=(_0x38312d=_0x851431==null?void 0x0:_0x851431[_0x568869(0x205)])!=null?_0x38312d:_0x36b1ab[_0x568869(0x273)];return(_0x211eca=(_0x3804a1=(await this[_0x568869(0x1e4)][_0x568869(0x189)](_0x411d20,{'headers':{'Content-Type':'application/json'}}))[_0x568869(0x3b2)])==null?void 0x0:_0x3804a1['ticket'])!=null?_0x211eca:'';}},_0x990236[_0x2ba232(0x310)]=_0x115fa6([_0x4c4b85(0x0,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['Injector'])),_0x4c4b85(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x2a9b18['HTTPService'])),_0x4c4b85(0x2,_0x4976c9[_0x2ba232(0x262)]),_0x4c4b85(0x3,_0x4976c9[_0x2ba232(0x339)]),_0x4c4b85(0x4,_0x280b1c['ISnapshotServerService'])],_0x990236[_0x2ba232(0x310)]);var _0x302a4a=(_0x10f493=>(_0x10f493[_0x10f493[_0x2ba232(0x328)]=0x0]=_0x2ba232(0x328),_0x10f493[_0x10f493['OK']=0x1]='OK',_0x10f493[_0x10f493['INTERNAL_ERROR']=0x2]=_0x2ba232(0x366),_0x10f493[_0x10f493[_0x2ba232(0x2d9)]=0x3]=_0x2ba232(0x2d9),_0x10f493[_0x10f493[_0x2ba232(0x199)]=0x4]=_0x2ba232(0x199),_0x10f493[_0x10f493[_0x2ba232(0x146)]=0x5]=_0x2ba232(0x146),_0x10f493[_0x10f493[_0x2ba232(0x242)]=0x6]=_0x2ba232(0x242),_0x10f493[_0x10f493[_0x2ba232(0x3bc)]=0x7]=_0x2ba232(0x3bc),_0x10f493[_0x10f493[_0x2ba232(0x233)]=0x8]=_0x2ba232(0x233),_0x10f493[_0x10f493['COMPLETION_FINISHED']=0x9]=_0x2ba232(0x28d),_0x10f493[_0x10f493[_0x2ba232(0x2b6)]=0xa]=_0x2ba232(0x2b6),_0x10f493[_0x10f493[_0x2ba232(0x204)]=0xb]=_0x2ba232(0x204),_0x10f493[_0x10f493[_0x2ba232(0x1fc)]=0xc]=_0x2ba232(0x1fc),_0x10f493[_0x10f493['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2ba232(0x2bf),_0x10f493[_0x10f493['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2ba232(0x2d4),_0x10f493[_0x10f493['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ba232(0x171),_0x10f493[_0x10f493[_0x2ba232(0x358)]=0x1771]=_0x2ba232(0x358),_0x10f493[_0x10f493['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2ba232(0x206),_0x10f493[_0x10f493[_0x2ba232(0x202)]=0x1773]=_0x2ba232(0x202),_0x10f493[_0x10f493[_0x2ba232(0x24f)]=0x1b59]=_0x2ba232(0x24f),_0x10f493[_0x10f493[_0x2ba232(0x145)]=0x1b5a]=_0x2ba232(0x145),_0x10f493[_0x10f493[_0x2ba232(0x359)]=0x1b5b]=_0x2ba232(0x359),_0x10f493[_0x10f493[_0x2ba232(0x300)]=0x1b5c]=_0x2ba232(0x300),_0x10f493[_0x10f493[_0x2ba232(0x18f)]=0x1b5d]=_0x2ba232(0x18f),_0x10f493[_0x10f493[_0x2ba232(0x36c)]=0x1f41]=_0x2ba232(0x36c),_0x10f493[_0x10f493[_0x2ba232(0x37f)]=0x2329]=_0x2ba232(0x37f),_0x10f493[_0x10f493[_0x2ba232(0x277)]=0x232a]=_0x2ba232(0x277),_0x10f493[_0x10f493[_0x2ba232(0x148)]=0x232b]=_0x2ba232(0x148),_0x10f493[_0x10f493[_0x2ba232(0x3a5)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x10f493[_0x10f493['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x10f493[_0x10f493[_0x2ba232(0x2cf)]=0x2711]=_0x2ba232(0x2cf),_0x10f493[_0x10f493[_0x2ba232(0x221)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10f493[_0x10f493['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x10f493[_0x10f493[_0x2ba232(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x10f493[_0x10f493[_0x2ba232(0x31b)]=0x271a]=_0x2ba232(0x31b),_0x10f493[_0x10f493[_0x2ba232(0x397)]=0x271b]=_0x2ba232(0x397),_0x10f493[_0x10f493['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10f493[_0x10f493['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x10f493[_0x10f493['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2ba232(0x311),_0x10f493[_0x10f493['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2ba232(0x2b5),_0x10f493[_0x10f493['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2ba232(0x23d),_0x10f493[_0x10f493['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x10f493[_0x10f493[_0x2ba232(0x289)]=0x2ee1]=_0x2ba232(0x289),_0x10f493[_0x10f493[_0x2ba232(0x34f)]=0x2ee2]=_0x2ba232(0x34f),_0x10f493[_0x10f493['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2ba232(0x38c),_0x10f493[_0x10f493[_0x2ba232(0x3a7)]=0x2ee4]=_0x2ba232(0x3a7),_0x10f493[_0x10f493[_0x2ba232(0x1f0)]=0x2ee5]=_0x2ba232(0x1f0),_0x10f493[_0x10f493[_0x2ba232(0x360)]=0x32c9]=_0x2ba232(0x360),_0x10f493[_0x10f493[_0x2ba232(0x37c)]=0x32ca]=_0x2ba232(0x37c),_0x10f493[_0x10f493[_0x2ba232(0x25e)]=0x32cb]=_0x2ba232(0x25e),_0x10f493[_0x10f493[_0x2ba232(0x2f0)]=-0x1]=_0x2ba232(0x2f0),_0x10f493))(_0x302a4a||{}),_0x20ab78=Object[_0x2ba232(0x196)],_0x3ff522=(_0x27d6ef,_0x4bd16d,_0x90f811,_0x11c821)=>{const _0x5ee834=_0x2ba232;for(var _0x4474d0=_0x11c821>0x1?void 0x0:_0x11c821?_0x20ab78(_0x4bd16d,_0x90f811):_0x4bd16d,_0x54285a=_0x27d6ef[_0x5ee834(0x16b)]-0x1,_0x143c83;_0x54285a>=0x0;_0x54285a--)(_0x143c83=_0x27d6ef[_0x54285a])&&(_0x4474d0=_0x143c83(_0x4474d0)||_0x4474d0);return _0x4474d0;},_0x705680=(_0x1e9814,_0x115d38)=>(_0x962b1f,_0x469738)=>_0x115d38(_0x962b1f,_0x469738,_0x1e9814);_0x990236[_0x2ba232(0x15b)]=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x7d22a7,_0x41e29b,_0x2ee99f){const _0x32f041=_0x2ba232;super(),this['_instanceService']=_0x7d22a7,this[_0x32f041(0x1e4)]=_0x41e29b,this[_0x32f041(0x372)]=_0x2ee99f;}async[_0x2ba232(0x2b0)](_0x5e8849,_0x55bc97,_0x5f4a5,..._0x7ddb74){const _0x30ed85=_0x2ba232;var _0x267672,_0x258fe0,_0x1ac2e5,_0x41aa7c;const _0x256863=this[_0x30ed85(0x29a)][_0x30ed85(0x26a)]();if(!_0x256863)throw new Error(_0x30ed85(0x382));const _0x5d2a26=((_0x267672=this[_0x30ed85(0x372)]['getConfig'](_0x36b1ab[_0x30ed85(0x126)]))!=null?_0x267672:_0x36b1ab[_0x30ed85(0x197)])+'/'+_0x5e8849+_0x30ed85(0x392)+_0x55bc97,_0x4d0999=new URL(window['location'][_0x30ed85(0x2c5)]),_0x21cfbd={'scriptId':_0x5e8849,'runId':(_0x258fe0=_0x4d0999[_0x30ed85(0x319)][_0x30ed85(0x189)]('runId'))!=null?_0x258fe0:'','function':_0x55bc97,'unitId':_0x256863['getUnitId'](),'argsOfFunction':JSON[_0x30ed85(0x28c)](_0x7ddb74),'invokeId':(_0x1ac2e5=_0x5f4a5[_0x30ed85(0x3a2)])!=null?_0x1ac2e5:'','executionId':(_0x41aa7c=_0x5f4a5[_0x30ed85(0x2d2)])!=null?_0x41aa7c:''};try{const _0x446e55=await this['_httpService'][_0x30ed85(0x22b)](_0x5d2a26,{'body':_0x21cfbd});return _0x446e55[_0x30ed85(0x3b2)][_0x30ed85(0x248)]&&_0x446e55['body']['error'][_0x30ed85(0x399)]!==_0x302a4a['OK']?'Failed':_0x446e55['body'][_0x30ed85(0x2d5)];}catch{return _0x30ed85(0x30c);}}},_0x990236[_0x2ba232(0x15b)]=_0x3ff522([_0x705680(0x0,_0x4976c9[_0x2ba232(0x140)]),_0x705680(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x2a9b18['HTTPService'])),_0x705680(0x2,_0x4976c9[_0x2ba232(0x262)])],_0x990236[_0x2ba232(0x15b)]);const _0x184526=0x7530,_0x544e63=_0x2ba232(0x222);class _0x13a42f extends _0x4976c9[_0x2ba232(0x286)]{constructor(){const _0x3ac8c1=_0x2ba232;super(),_0x2a0527(this,_0x3ac8c1(0x1ac),_0x4976c9[_0x3ac8c1(0x230)]()),_0x2a0527(this,_0x3ac8c1(0x274),new Set()),_0x2a0527(this,_0x3ac8c1(0x30e),new Map()),_0x2a0527(this,_0x3ac8c1(0x215),null),_0x2a0527(this,_0x3ac8c1(0x3bf),new Map()),_0x2a0527(this,_0x3ac8c1(0x343),new Map()),this['_init']();}[_0x2ba232(0x15a)](){const _0x26fca2=_0x2ba232;super[_0x26fca2(0x15a)](),this[_0x26fca2(0x3bf)][_0x26fca2(0x229)]((_0x2d550e,_0x23cc8b)=>this['_removeClearOtherTimer'](_0x23cc8b)),this['_heartbeatTimer']&&window[_0x26fca2(0x24d)](this['_heartbeatTimer']);}[_0x2ba232(0x376)](_0x4877ad){const _0x13a43b=_0x2ba232;return this[_0x13a43b(0x361)](_0x4877ad)[_0x13a43b(0x357)](_0x1af8d0[_0x13a43b(0x33f)]());}[_0x2ba232(0x276)](_0x4f6f40){const _0x72eb8a=_0x2ba232;this[_0x72eb8a(0x274)][_0x72eb8a(0x351)]===0x0&&this[_0x72eb8a(0x26c)](),this[_0x72eb8a(0x274)][_0x72eb8a(0x25a)](_0x4f6f40),this['_send']({'type':0x0,'memberID':this[_0x72eb8a(0x1ac)],'unitIDs':[_0x4f6f40],'isForwarded':!0x1});}[_0x2ba232(0x32f)](_0x719f6c){const _0x4dbf5c=_0x2ba232;this['_selfUnitIDs']['delete'](_0x719f6c),this[_0x4dbf5c(0x274)][_0x4dbf5c(0x351)]===0x0&&this[_0x4dbf5c(0x215)]&&window[_0x4dbf5c(0x24d)](this['_heartbeatTimer']);}[_0x2ba232(0x21e)](){const _0xd037f7=_0x2ba232;this['disposeWithMe'](_0x4976c9['toDisposable'](_0x1af8d0['fromEvent'](window,_0xd037f7(0x19c))[_0xd037f7(0x34b)](_0x258979=>{const _0x2ed03a=_0xd037f7;if(_0x258979[_0x2ed03a(0x3a8)]!==_0x544e63||!_0x258979[_0x2ed03a(0x227)])return;const _0x2fe741=JSON[_0x2ed03a(0x1e1)](_0x258979[_0x2ed03a(0x227)]);this[_0x2ed03a(0x266)](_0x2fe741);}))),window[_0xd037f7(0x2bd)](_0xd037f7(0x1c2),()=>this['_send']({'type':0x1,'memberID':this[_0xd037f7(0x1ac)],'unitIDs':Array[_0xd037f7(0x128)](this['_selfUnitIDs'])}));}[_0x2ba232(0x266)](_0xdd135){const _0x4f567e=_0x2ba232;switch(_0xdd135[_0x4f567e(0x176)]){case 0x0:this[_0x4f567e(0x1dc)](_0xdd135);break;case 0x1:this['_handleLeaveEvent'](_0xdd135);break;case 0x2:this[_0x4f567e(0x307)](_0xdd135);break;}}[_0x2ba232(0x1dc)](_0x1773fd){const _0x452ad4=_0x2ba232,{unitIDs:_0x425f03,memberID:_0x3d2180,isForwarded:_0x454995}=_0x1773fd;_0x425f03[_0x452ad4(0x229)](_0xc5ff0f=>{const _0x4c05f1=_0x452ad4;if(!_0x454995&&this['_unitOnClients'][_0x4c05f1(0x1f5)](_0xc5ff0f)&&this[_0x4c05f1(0x361)](_0xc5ff0f)[_0x4c05f1(0x249)](_0x36b1ab[_0x4c05f1(0x1a6)][_0x4c05f1(0x3af)]),!this[_0x4c05f1(0x30e)][_0x4c05f1(0x1f5)](_0xc5ff0f)||!this['_unitOnClients']['get'](_0xc5ff0f)[_0x4c05f1(0x1f5)](_0x3d2180)){const _0x2ebc12=this[_0x4c05f1(0x30e)][_0x4c05f1(0x189)](_0xc5ff0f)||new Set();_0x2ebc12[_0x4c05f1(0x25a)](_0x3d2180),this[_0x4c05f1(0x30e)][_0x4c05f1(0x265)](_0xc5ff0f,_0x2ebc12),this[_0x4c05f1(0x371)](_0x3d2180);}}),_0x454995||this[_0x452ad4(0x293)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x452ad4(0x274)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3e4ea7){const _0x417ebf=_0x2ba232;this[_0x417ebf(0x255)](_0x3e4ea7);const _0x576e45=window[_0x417ebf(0x309)](()=>{const _0x30648c=_0x417ebf;this[_0x30648c(0x30e)][_0x30648c(0x229)](_0x192e74=>{const _0x3fb90d=_0x30648c;_0x192e74[_0x3fb90d(0x1ab)](_0x3e4ea7);});},_0x184526*0x2);this[_0x417ebf(0x3bf)]['set'](_0x3e4ea7,_0x576e45);}[_0x2ba232(0x255)](_0x63de9d){const _0x24cf9b=_0x2ba232;if(this[_0x24cf9b(0x3bf)][_0x24cf9b(0x1f5)](_0x63de9d)){const _0x1de3be=this[_0x24cf9b(0x3bf)]['get'](_0x63de9d);_0x1de3be&&window[_0x24cf9b(0x34a)](_0x1de3be),this[_0x24cf9b(0x3bf)][_0x24cf9b(0x265)](_0x63de9d,null);}}[_0x2ba232(0x1cd)](_0x2f653b){const {memberID:_0x3b59c4,unitIDs:_0x2fd6d1}=_0x2f653b;_0x2fd6d1['forEach'](_0x5915a6=>{const _0x297689=_0x4ec8;var _0x11f1aa;const _0x5c361f=this['_unitOnClients']['get'](_0x5915a6);_0x5c361f&&(_0x5c361f[_0x297689(0x1ab)](_0x3b59c4),(_0x11f1aa=this['_ensureSubject'](_0x5915a6))==null||_0x11f1aa['next'](_0x5c361f[_0x297689(0x351)]===0x0?_0x36b1ab['UnitStatus'][_0x297689(0x32e)]:_0x36b1ab[_0x297689(0x1a6)][_0x297689(0x3af)]));}),this['_removeClearOtherTimer'](_0x3b59c4);}[_0x2ba232(0x307)](_0x2caee0){const _0x45bd6d=_0x2ba232;this[_0x45bd6d(0x371)](_0x2caee0[_0x45bd6d(0x1ed)]);}[_0x2ba232(0x293)](_0x132c00){const _0x458443=_0x2ba232;localStorage[_0x458443(0x1d1)](_0x544e63,JSON[_0x458443(0x28c)](_0x132c00));}[_0x2ba232(0x26c)](){const _0x3affc8=_0x2ba232;this['_heartbeatTimer']=window[_0x3affc8(0x394)](()=>{const _0x2fc7c3=_0x3affc8;this[_0x2fc7c3(0x293)]({'type':0x2,'memberID':this[_0x2fc7c3(0x1ac)]});},_0x184526);}[_0x2ba232(0x361)](_0x1e0c26){const _0x2cf68a=_0x2ba232;return this['_unitStatus']['has'](_0x1e0c26)||this['_unitStatus'][_0x2cf68a(0x265)](_0x1e0c26,new _0x1af8d0[(_0x2cf68a(0x334))](_0x36b1ab[_0x2cf68a(0x1a6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2cf68a(0x343)][_0x2cf68a(0x189)](_0x1e0c26);}}_0x990236[_0x2ba232(0x213)]=_0x47c2f3,_0x990236[_0x2ba232(0x19e)]=_0x979c74,_0x990236[_0x2ba232(0x167)]=_0x13a42f,_0x990236[_0x2ba232(0x14d)]=_0x47baf9,Object[_0x2ba232(0x381)](_0x990236,Symbol[_0x2ba232(0x275)],{'value':_0x2ba232(0x295)});}));