@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +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 _0xb400(_0x1a9f13,_0x410f81){const _0x4cb619=_0x4cb6();return _0xb400=function(_0xb4005e,_0x534e2d){_0xb4005e=_0xb4005e-0xc9;let _0x277169=_0x4cb619[_0xb4005e];return _0x277169;},_0xb400(_0x1a9f13,_0x410f81);}(function(_0x43cdab,_0x9b1f54){const _0x2f77bb=_0xb400,_0x491f19=_0x43cdab();while(!![]){try{const _0x1f982c=parseInt(_0x2f77bb(0x334))/0x1*(parseInt(_0x2f77bb(0x170))/0x2)+-parseInt(_0x2f77bb(0x20f))/0x3*(parseInt(_0x2f77bb(0x343))/0x4)+-parseInt(_0x2f77bb(0x125))/0x5*(parseInt(_0x2f77bb(0x1e7))/0x6)+-parseInt(_0x2f77bb(0x1ad))/0x7*(-parseInt(_0x2f77bb(0x1cb))/0x8)+-parseInt(_0x2f77bb(0x2ed))/0x9+parseInt(_0x2f77bb(0x344))/0xa*(-parseInt(_0x2f77bb(0x169))/0xb)+-parseInt(_0x2f77bb(0x27b))/0xc*(-parseInt(_0x2f77bb(0x254))/0xd);if(_0x1f982c===_0x9b1f54)break;else _0x491f19['push'](_0x491f19['shift']());}catch(_0x5d70f0){_0x491f19['push'](_0x491f19['shift']());}}}(_0x4cb6,0xf38e4),function(_0xabf7fd,_0x4205e3){const _0x5666d0=_0xb400;typeof exports==_0x5666d0(0x15b)&&typeof module<'u'?_0x4205e3(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==_0x5666d0(0x17b)&&define['amd']?define(['exports',_0x5666d0(0x1e8),_0x5666d0(0x273),'@univerjs/core',_0x5666d0(0x286),_0x5666d0(0x122),_0x5666d0(0x1ea),'react',_0x5666d0(0x1c3),_0x5666d0(0x10f),_0x5666d0(0x127),_0x5666d0(0x28c),_0x5666d0(0x163),_0x5666d0(0x297),_0x5666d0(0xf9),_0x5666d0(0x2fc),_0x5666d0(0x319),'rxjs/operators','@univerjs/sheets-ui'],_0x4205e3):(_0xabf7fd=typeof globalThis<'u'?globalThis:_0xabf7fd||self,_0x4205e3(_0xabf7fd[_0x5666d0(0x11f)]={},_0xabf7fd[_0x5666d0(0x14b)],_0xabf7fd[_0x5666d0(0x362)],_0xabf7fd[_0x5666d0(0x126)],_0xabf7fd[_0x5666d0(0xf3)],_0xabf7fd[_0x5666d0(0x122)],_0xabf7fd[_0x5666d0(0x113)],_0xabf7fd[_0x5666d0(0x14b)],_0xabf7fd[_0x5666d0(0x35f)],_0xabf7fd[_0x5666d0(0x15c)],_0xabf7fd[_0x5666d0(0x335)],_0xabf7fd[_0x5666d0(0x226)],_0xabf7fd[_0x5666d0(0x20c)],_0xabf7fd[_0x5666d0(0x332)],_0xabf7fd['UniverProCollaboration'],_0xabf7fd[_0x5666d0(0x303)],_0xabf7fd[_0x5666d0(0x144)],_0xabf7fd['rxjs']['operators'],_0xabf7fd['UniverSheetsUi']));}(this,function(_0x535fbe,_0x57fd6d,_0x48da18,_0x4b0795,_0x1f01e3,_0x116537,_0x19c5e8,_0x32cfe0,_0x497c70,_0x5be02c,_0x56eea1,_0x2271a4,_0x592c9e,_0x26b89a,_0x14a315,_0x37373d,_0x18a630,_0x44a4f1,_0x485b3a){'use strict';const _0xd692a4=_0xb400;var _0x4b940f=Object[_0xd692a4(0x19a)],_0x197b8b=(_0x25a8f1,_0x47b536,_0x180b10)=>_0x47b536 in _0x25a8f1?_0x4b940f(_0x25a8f1,_0x47b536,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x180b10}):_0x25a8f1[_0x47b536]=_0x180b10,_0x593a34=(_0xe81ba5,_0x4f5ff9,_0x22dbc6)=>_0x197b8b(_0xe81ba5,typeof _0x4f5ff9!=_0xd692a4(0x251)?_0x4f5ff9+'':_0x4f5ff9,_0x22dbc6),_0x496d29=function(){const _0x63619f=_0xd692a4;return _0x496d29=Object[_0x63619f(0x31a)]||function(_0x486fd4){const _0xd3777e=_0x63619f;for(var _0x33f7a7,_0x3087ec=0x1,_0x4a3682=arguments[_0xd3777e(0x32c)];_0x3087ec<_0x4a3682;_0x3087ec++){_0x33f7a7=arguments[_0x3087ec];for(var _0x826763 in _0x33f7a7)Object['prototype'][_0xd3777e(0x2fa)][_0xd3777e(0x1d8)](_0x33f7a7,_0x826763)&&(_0x486fd4[_0x826763]=_0x33f7a7[_0x826763]);}return _0x486fd4;},_0x496d29[_0x63619f(0x151)](this,arguments);},_0x213329=function(_0x30e86f,_0xdd653a){const _0x49df47=_0xd692a4;var _0x16fec9={};for(var _0x3f6e52 in _0x30e86f)Object[_0x49df47(0x1c1)][_0x49df47(0x2fa)][_0x49df47(0x1d8)](_0x30e86f,_0x3f6e52)&&_0xdd653a[_0x49df47(0x31d)](_0x3f6e52)<0x0&&(_0x16fec9[_0x3f6e52]=_0x30e86f[_0x3f6e52]);if(_0x30e86f!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x432d7d=0x0,_0x3f6e52=Object['getOwnPropertySymbols'](_0x30e86f);_0x432d7d<_0x3f6e52[_0x49df47(0x32c)];_0x432d7d++)_0xdd653a[_0x49df47(0x31d)](_0x3f6e52[_0x432d7d])<0x0&&Object[_0x49df47(0x1c1)]['propertyIsEnumerable'][_0x49df47(0x1d8)](_0x30e86f,_0x3f6e52[_0x432d7d])&&(_0x16fec9[_0x3f6e52[_0x432d7d]]=_0x30e86f[_0x3f6e52[_0x432d7d]]);}return _0x16fec9;},_0x507159=_0x32cfe0['forwardRef'](function(_0x527d07,_0x47d890){const _0x31b138=_0xd692a4;var _0x41145f=_0x527d07['icon'],_0x1e3c7e=_0x527d07['id'],_0x2c4c0d=_0x527d07[_0x31b138(0x185)],_0x48b924=_0x527d07[_0x31b138(0x1ef)],_0x26a2fb=_0x213329(_0x527d07,[_0x31b138(0x34c),'id',_0x31b138(0x185),'extend']),_0x213330='univerjs-icon\x20univerjs-icon-'[_0x31b138(0x22c)](_0x1e3c7e,'\x20')[_0x31b138(0x22c)](_0x2c4c0d||'')['trim'](),_0x1d5251=_0x32cfe0[_0x31b138(0x2ab)]('_'[_0x31b138(0x22c)](_0x7cd936()));return _0x4fa9d4(_0x41145f,''['concat'](_0x1e3c7e),{'defIds':_0x41145f['defIds'],'idSuffix':_0x1d5251[_0x31b138(0x1e1)]},_0x496d29({'ref':_0x47d890,'className':_0x213330},_0x26a2fb),_0x48b924);});function _0x4fa9d4(_0x14bf02,_0x5a8468,_0x5b3120,_0x226ef7,_0x5be073){const _0xe5334e=_0xd692a4;return _0x32cfe0[_0xe5334e(0x331)](_0x14bf02[_0xe5334e(0x316)],_0x496d29(_0x496d29({'key':_0x5a8468},_0x152fbb(_0x14bf02,_0x5b3120,_0x5be073)),_0x226ef7),(_0x4998e4(_0x14bf02,_0x5b3120)[_0xe5334e(0x1f8)]||[])[_0xe5334e(0x252)](function(_0x18ca30,_0x1cea0b){const _0x38ea0d=_0xe5334e;return _0x4fa9d4(_0x18ca30,''[_0x38ea0d(0x22c)](_0x5a8468,'-')['concat'](_0x14bf02[_0x38ea0d(0x316)],'-')[_0x38ea0d(0x22c)](_0x1cea0b),_0x5b3120,void 0x0,_0x5be073);}));}function _0x152fbb(_0x554d95,_0x38afc2,_0xefae73){const _0x42536c=_0xd692a4;var _0x462060=_0x496d29({},_0x554d95[_0x42536c(0x2db)]);_0xefae73!=null&&_0xefae73['colorChannel1']&&_0x462060[_0x42536c(0x161)]===_0x42536c(0x363)&&(_0x462060[_0x42536c(0x161)]=_0xefae73['colorChannel1']),_0x554d95['tag']==='mask'&&_0x462060['id']&&(_0x462060['id']=_0x462060['id']+_0x38afc2['idSuffix']),Object[_0x42536c(0x244)](_0x462060)['forEach'](function(_0x49f61f){const _0x4db61c=_0x42536c;var _0x10c554=_0x49f61f[0x0],_0x26d172=_0x49f61f[0x1];_0x10c554===_0x4db61c(0x31e)&&typeof _0x26d172==_0x4db61c(0x1b5)&&(_0x462060[_0x10c554]=_0x26d172[_0x4db61c(0x218)](/url\(#(.*)\)/,_0x4db61c(0x330)[_0x4db61c(0x22c)](_0x38afc2[_0x4db61c(0x2a7)],')')));});var _0x1f8b7b=_0x38afc2[_0x42536c(0x1cc)];return!_0x1f8b7b||_0x1f8b7b[_0x42536c(0x32c)]===0x0||(_0x554d95[_0x42536c(0x316)]===_0x42536c(0x336)&&_0x462060[_0x42536c(0x1a2)]&&(_0x462060['xlink:href']=_0x462060[_0x42536c(0x1a2)]+_0x38afc2[_0x42536c(0x2a7)]),Object['entries'](_0x462060)[_0x42536c(0x345)](function(_0x5eb9fe){const _0xf445ed=_0x42536c;var _0x4d3736=_0x5eb9fe[0x0],_0x223dbb=_0x5eb9fe[0x1];typeof _0x223dbb=='string'&&(_0x462060[_0x4d3736]=_0x223dbb[_0xf445ed(0x218)](/url\(#(.*)\)/,'url(#$1'[_0xf445ed(0x22c)](_0x38afc2['idSuffix'],')')));})),_0x462060;}function _0x4998e4(_0x34534a,_0x196282){const _0x488b0c=_0xd692a4;var _0x59d7e2,_0x42fb49=_0x196282[_0x488b0c(0x1cc)];return!_0x42fb49||_0x42fb49[_0x488b0c(0x32c)]===0x0?_0x34534a:_0x34534a[_0x488b0c(0x316)]===_0x488b0c(0xf0)&&(!((_0x59d7e2=_0x34534a[_0x488b0c(0x1f8)])===null||_0x59d7e2===void 0x0)&&_0x59d7e2[_0x488b0c(0x32c)])?_0x496d29(_0x496d29({},_0x34534a),{'children':_0x34534a[_0x488b0c(0x1f8)]['map'](function(_0x549b10){const _0x160797=_0x488b0c;return typeof _0x549b10['attrs']['id']=='string'&&_0x42fb49&&_0x42fb49[_0x160797(0x288)](_0x549b10[_0x160797(0x2db)]['id'])?_0x496d29(_0x496d29({},_0x549b10),{'attrs':_0x496d29(_0x496d29({},_0x549b10[_0x160797(0x2db)]),{'id':_0x549b10[_0x160797(0x2db)]['id']+_0x196282[_0x160797(0x2a7)]})}):_0x549b10;})}):_0x34534a;}function _0x7cd936(){const _0x5ef123=_0xd692a4;return Math[_0x5ef123(0x22f)]()[_0x5ef123(0x24d)](0x24)[_0x5ef123(0x139)](0x2,0x8);}_0x507159['displayName']='UniverIcon';var _0x1ead05={'tag':_0xd692a4(0x2dc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xd692a4(0x13a),'viewBox':_0xd692a4(0x12d),'width':_0xd692a4(0x217),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xd692a4(0x103)},'children':[{'tag':'path','attrs':{'stroke':_0xd692a4(0x19f),'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':_0xd692a4(0x181),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xd692a4(0xf0),'attrs':{},'children':[{'tag':_0xd692a4(0x2f6),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'fill':_0xd692a4(0x1b7),'d':_0xd692a4(0x2af)}}]}]}],'defIds':[_0xd692a4(0x1ec)]},_0x407fba=_0x32cfe0[_0xd692a4(0x1c8)](function(_0x17c266,_0x3f2b6d){const _0x304c99=_0xd692a4;return _0x32cfe0['createElement'](_0x507159,Object[_0x304c99(0x31a)]({},_0x17c266,{'id':_0x304c99(0x2f2),'ref':_0x3f2b6d,'icon':_0x1ead05}));});_0x407fba[_0xd692a4(0x27f)]=_0xd692a4(0x26d);var _0x4e022a={'tag':_0xd692a4(0x2dc),'attrs':{'xmlns':_0xd692a4(0xd5),'fill':_0xd692a4(0x13a),'viewBox':_0xd692a4(0x1ee),'width':_0xd692a4(0x217),'height':_0xd692a4(0x217)},'children':[{'tag':'g','attrs':{'clipPath':_0xd692a4(0xf7)},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'stroke':'currentColor','d':_0xd692a4(0x1b1),'strokeLinecap':_0xd692a4(0x181),'strokeLinejoin':_0xd692a4(0x181),'strokeWidth':1.2}}]},{'tag':_0xd692a4(0xf0),'attrs':{},'children':[{'tag':_0xd692a4(0x2f6),'attrs':{'id':_0xd692a4(0x173)},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'fill':_0xd692a4(0x1b7),'d':_0xd692a4(0x2af),'transform':_0xd692a4(0x2df)}}]}]}],'defIds':[_0xd692a4(0x173)]},_0x18ef15=_0x32cfe0['forwardRef'](function(_0x4f874f,_0x18aefc){const _0xd2b858=_0xd692a4;return _0x32cfe0[_0xd2b858(0x331)](_0x507159,Object[_0xd2b858(0x31a)]({},_0x4f874f,{'id':'on-line-icon','ref':_0x18aefc,'icon':_0x4e022a}));});_0x18ef15[_0xd692a4(0x27f)]=_0xd692a4(0x277);function _0x2877da(_0x3b72b6){const _0x51d333=_0xd692a4;switch(_0x3b72b6){case _0x48da18['CollaborationStatus'][_0x51d333(0x2d2)]:return _0x51d333(0x1c4);case _0x48da18[_0x51d333(0x1f5)][_0x51d333(0x20a)]:return _0x51d333(0x2cf);case _0x48da18[_0x51d333(0x1f5)][_0x51d333(0xdd)]:return _0x51d333(0xd0);case _0x48da18[_0x51d333(0x1f5)]['NOT_COLLAB']:return _0x51d333(0x309);case _0x48da18[_0x51d333(0x1f5)]['AWAITING']:case _0x48da18['CollaborationStatus'][_0x51d333(0x2ee)]:return _0x51d333(0xd8);case _0x48da18['CollaborationStatus'][_0x51d333(0x2d0)]:case _0x48da18[_0x51d333(0x1f5)]['PENDING']:return _0x51d333(0xf2);}}function _0x335262(_0x3a61c5){const _0x191fbc=_0xd692a4,{status$:_0xf9f895}=_0x3a61c5,_0x5166b9=_0x1f01e3[_0x191fbc(0x21b)](_0xf9f895,_0x48da18[_0x191fbc(0x1f5)][_0x191fbc(0x184)]),_0x147de4=_0x1f01e3['useDependency'](_0x4b0795['LocaleService']),_0x379254=_0x1f01e3[_0x191fbc(0x2e7)](_0x48da18[_0x191fbc(0x1aa)]),_0x1ba34b=_0x5166b9!==_0x48da18[_0x191fbc(0x1f5)][_0x191fbc(0x2d2)],_0x6cd9b4=_0x147de4['t'](_0x2877da(_0x5166b9)),_0x566052=_0x1ba34b?_0x57fd6d['jsx'](_0x18ef15,{}):_0x57fd6d['jsx'](_0x407fba,{}),_0x386248=_0x32cfe0[_0x191fbc(0x276)](()=>{const _0x10267f=_0x191fbc;_0x1ba34b||_0x379254[_0x10267f(0x1d9)]();},[_0x1ba34b,_0x379254]);function _0x33754e(){const _0x50150a=_0x191fbc;return _0x57fd6d[_0x50150a(0x25d)]('div',{'className':_0x50150a(0x2a8),'onClick':_0x386248,'children':[_0x57fd6d[_0x50150a(0x240)]('div',{'className':_0x19c5e8['clsx'](_0x50150a(0xed),{'univer-text-green-500':_0x1ba34b,'univer-text-red-500':!_0x1ba34b}),'children':_0x566052}),_0x57fd6d['jsx'](_0x50150a(0xcc),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x6cd9b4})]});}return _0x1ba34b?_0x33754e():_0x57fd6d[_0x191fbc(0x240)](_0x19c5e8[_0x191fbc(0x18b)],{'title':_0x147de4['t'](_0x191fbc(0x2a4)),'children':_0x33754e()});}var _0x4836cb=Object[_0xd692a4(0x158)],_0x3737dd=(_0x37c7a3,_0xd16afd,_0x2102a5,_0x1a064a)=>{const _0x2fc93a=_0xd692a4;for(var _0x2cd139=_0x1a064a>0x1?void 0x0:_0x1a064a?_0x4836cb(_0xd16afd,_0x2102a5):_0xd16afd,_0x34077d=_0x37c7a3[_0x2fc93a(0x32c)]-0x1,_0x1e09e0;_0x34077d>=0x0;_0x34077d--)(_0x1e09e0=_0x37c7a3[_0x34077d])&&(_0x2cd139=_0x1e09e0(_0x2cd139)||_0x2cd139);return _0x2cd139;},_0x21813b=(_0x58c2ac,_0x2822ff)=>(_0x11c9ec,_0x3595fa)=>_0x2822ff(_0x11c9ec,_0x3595fa,_0x58c2ac);_0x535fbe['DesktopCollaborationStatusDisplayController']=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x234dad,_0x47db47,_0x5da730,_0x276439){const _0x4923fb=_0xd692a4;super(),_0x593a34(this,_0x4923fb(0x201),new _0x116537['BehaviorSubject'](_0x48da18['CollaborationStatus'][_0x4923fb(0x184)])),(this[_0x4923fb(0x17e)]=_0x234dad,this[_0x4923fb(0x160)]=_0x47db47,this[_0x4923fb(0x1e3)]=_0x5da730,this['_uiPartsService']=_0x276439,this['_initStatusComponent'](),this[_0x4923fb(0x165)]());}[_0xd692a4(0x165)](){const _0x6908f7=_0xd692a4;this['disposeWithMe'](this['_univerInstanceService'][_0x6908f7(0x205)]['pipe'](_0x116537[_0x6908f7(0x365)](()=>{const _0x1a22ba=_0x6908f7,_0x4c95a8=this[_0x1a22ba(0x17e)][_0x1a22ba(0x1a3)]();return _0x4c95a8?this[_0x1a22ba(0x1e3)][_0x1a22ba(0x227)](_0x4c95a8[_0x1a22ba(0x270)]()):_0x116537['of'](null);}),_0x116537[_0x6908f7(0x365)](_0x270fc6=>_0x270fc6?_0x270fc6['status$']:_0x116537['of'](_0x48da18[_0x6908f7(0x1f5)]['NOT_COLLAB'])))[_0x6908f7(0x230)](_0x54d007=>{const _0x486c8a=_0x6908f7;this['_status$'][_0x486c8a(0x214)](_0x54d007);}));}[_0xd692a4(0x256)](){const _0x539813=_0xd692a4;this[_0x539813(0x278)](this['_uiPartsService'][_0x539813(0x2e8)](_0x1f01e3[_0x539813(0x287)][_0x539813(0x1f9)],()=>_0x1f01e3[_0x539813(0x2cd)](_0x2bc9eb({'status$':this[_0x539813(0x201)][_0x539813(0x2dd)]()}),this[_0x539813(0x160)])));}},_0x535fbe[_0xd692a4(0x268)]=_0x3737dd([_0x21813b(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x21813b(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x21813b(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['CollaborationController'])),_0x21813b(0x3,_0x1f01e3[_0xd692a4(0x28d)])],_0x535fbe[_0xd692a4(0x268)]);function _0x2bc9eb(_0x5f44f3){const {status$:_0x463d95}=_0x5f44f3;return function(){return _0x57fd6d['jsx'](_0x335262,{'status$':_0x463d95});};}const _0x48fdcd=_0x4b0795[_0xd692a4(0x1f2)](_0xd692a4(0x17f));var _0x3a1eb5=Object[_0xd692a4(0x158)],_0x44cfb1=(_0x23493e,_0xd5fe2d,_0x59cd46,_0x5e2dcd)=>{for(var _0xcc8cd8=_0x5e2dcd>0x1?void 0x0:_0x5e2dcd?_0x3a1eb5(_0xd5fe2d,_0x59cd46):_0xd5fe2d,_0x567a72=_0x23493e['length']-0x1,_0x3d22b9;_0x567a72>=0x0;_0x567a72--)(_0x3d22b9=_0x23493e[_0x567a72])&&(_0xcc8cd8=_0x3d22b9(_0xcc8cd8)||_0xcc8cd8);return _0xcc8cd8;},_0x8d200e=(_0x552974,_0x22a18b)=>(_0x2ded2e,_0x2054f2)=>_0x22a18b(_0x2ded2e,_0x2054f2,_0x552974);_0x535fbe[_0xd692a4(0x133)]=class extends _0x4b0795['RxDisposable']{constructor(_0x370b52,_0x55f9f6,_0x1f82a1,_0xc6f6b9,_0x54e285){const _0x3cb26f=_0xd692a4;super(),this[_0x3cb26f(0xc9)]=_0x370b52,this['_logService']=_0x55f9f6,this[_0x3cb26f(0x2c8)]=_0x1f82a1,this[_0x3cb26f(0x2f1)]=_0xc6f6b9,_0x54e285?_0x54e285==null||_0x54e285[_0x3cb26f(0x34b)]()[_0x3cb26f(0x1e9)](()=>this[_0x3cb26f(0x1a0)]()):(this[_0x3cb26f(0x16f)]['debug'](_0x3cb26f(0x149),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xd692a4(0x1a0)](){const _0x33fe02=_0xd692a4,_0x2b6df7=this[_0x33fe02(0xc9)][_0x33fe02(0x2a0)]('unit'),_0x21287f=this[_0x33fe02(0xc9)]['getParam']('type'),_0xcbfda8=this[_0x33fe02(0xc9)][_0x33fe02(0x2a0)](_0x33fe02(0x1fa));if(!_0x2b6df7||!_0x21287f){this['_logService'][_0x33fe02(0x296)](_0x33fe02(0x149),_0x33fe02(0x325));return;}const _0x33f8a1=await this[_0x33fe02(0x2f1)]['loadUnit'](_0x2b6df7,Number(_0x21287f),_0xcbfda8);_0x33f8a1&&_0x33f8a1 instanceof _0x4b0795[_0x33fe02(0x1d6)]&&this[_0x33fe02(0x209)](_0x33f8a1);}async['_setupSubUnitSync'](_0x29c7fe){const _0x53d5d7=_0xd692a4;await this[_0x53d5d7(0x317)](_0x29c7fe),_0x29c7fe[_0x53d5d7(0x175)][_0x53d5d7(0x2ca)](_0x116537[_0x53d5d7(0x30e)](this['dispose$']))[_0x53d5d7(0x230)](_0x9f7b51=>{_0x9f7b51&&this['_updateURLWithCurrentState'](_0x9f7b51);}),this[_0x53d5d7(0xc9)][_0x53d5d7(0x2bc)][_0x53d5d7(0x2ca)](_0x116537[_0x53d5d7(0x30e)](this[_0x53d5d7(0x34d)]))['subscribe'](()=>this[_0x53d5d7(0x317)](_0x29c7fe));}[_0xd692a4(0x20b)](_0x5ecf47,_0x3284dc=!0x1){const _0x43091a=_0xd692a4,_0x2a7cff=this[_0x43091a(0xc9)]['getParam']('subunit');_0x5ecf47['getSheetId']()!==_0x2a7cff&&this[_0x43091a(0xc9)][_0x43091a(0x188)](_0x43091a(0x1fa),_0x5ecf47[_0x43091a(0x232)](),_0x3284dc);}async[_0xd692a4(0x317)](_0x4cf7e7){const _0x4c24e3=_0xd692a4;var _0x467899;const _0x20501a=this['_urlService'][_0x4c24e3(0x2a0)](_0x4c24e3(0x1fa));if(!_0x20501a||!_0x4cf7e7[_0x4c24e3(0x159)](_0x20501a)){const _0x459704=_0x4cf7e7[_0x4c24e3(0x283)]()[0x0],_0x167d10=_0x4cf7e7[_0x4c24e3(0x159)](_0x459704);if(!_0x167d10)return;this[_0x4c24e3(0x20b)](_0x167d10,!0x0),await this[_0x4c24e3(0x2c8)]['executeCommand'](_0x5be02c['SetWorksheetActivateCommand']['id'],{'unitId':_0x4cf7e7[_0x4c24e3(0x270)](),'subUnitId':_0x459704});return;}((_0x467899=_0x4cf7e7[_0x4c24e3(0x21a)]())==null?void 0x0:_0x467899[_0x4c24e3(0x232)]())!==_0x20501a&&await this[_0x4c24e3(0x2c8)][_0x4c24e3(0x1bf)](_0x5be02c[_0x4c24e3(0x112)]['id'],{'unitId':_0x4cf7e7[_0x4c24e3(0x270)](),'subUnitId':_0x20501a});}},_0x535fbe['CollaborationDataLoaderController']=_0x44cfb1([_0x8d200e(0x0,_0x48fdcd),_0x8d200e(0x1,_0x4b0795[_0xd692a4(0x2c7)]),_0x8d200e(0x2,_0x4b0795['ICommandService']),_0x8d200e(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['DataLoaderService'])),_0x8d200e(0x4,_0x4b0795[_0xd692a4(0x1ab)](_0x497c70[_0xd692a4(0xe3)]))],_0x535fbe[_0xd692a4(0x133)]);var _0x2b0bb6=Object['getOwnPropertyDescriptor'],_0xb769b1=(_0x55c251,_0x4bfcc5,_0x22622a,_0x2e7ccc)=>{for(var _0x40bbc4=_0x2e7ccc>0x1?void 0x0:_0x2e7ccc?_0x2b0bb6(_0x4bfcc5,_0x22622a):_0x4bfcc5,_0x1fb360=_0x55c251['length']-0x1,_0x215fc5;_0x1fb360>=0x0;_0x1fb360--)(_0x215fc5=_0x55c251[_0x1fb360])&&(_0x40bbc4=_0x215fc5(_0x40bbc4)||_0x40bbc4);return _0x40bbc4;},_0x2c1c21=(_0x26a513,_0x57f61c)=>(_0x443c20,_0x24fe69)=>_0x57f61c(_0x443c20,_0x24fe69,_0x26a513);let _0x34f297=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0xa42cd1,_0x1289ce){super(),this['_docClipboardService']=_0xa42cd1,this['_imageIoService']=_0x1289ce,this['_init']();}[_0xd692a4(0x1a0)](){const _0x355794=_0xd692a4,_0x5bbf52=this;this['disposeWithMe'](this[_0x355794(0x28b)][_0x355794(0x261)]({'onBeforePasteImage':async _0x2722a4=>{const _0x1b8f66=_0x355794,_0x41c6db=await _0x5bbf52['_imageIoService'][_0x1b8f66(0x1f7)](_0x2722a4);return _0x41c6db?{'source':_0x41c6db[_0x1b8f66(0x10d)],'imageSourceType':_0x41c6db[_0x1b8f66(0x1fd)]}:null;}}));}};_0x34f297=_0xb769b1([_0x2c1c21(0x0,_0x592c9e[_0xd692a4(0x21e)]),_0x2c1c21(0x1,_0x26b89a[_0xd692a4(0x1eb)])],_0x34f297);const _0x245971=['purple.300',_0xd692a4(0x27e),_0xd692a4(0x2b9),_0xd692a4(0x18f),_0xd692a4(0x10e),_0xd692a4(0xf6)];class _0x54f0e6 extends _0x4b0795['Disposable']{constructor(){const _0x38dcd0=_0xd692a4;super(...arguments),_0x593a34(this,_0x38dcd0(0x249),new Map()),_0x593a34(this,'_colorIndex',0x0);}[_0xd692a4(0x143)](_0x5026ef){const _0x45b765=_0xd692a4;if(this[_0x45b765(0x249)][_0x45b765(0x141)](_0x5026ef))return this[_0x45b765(0x249)][_0x45b765(0x166)](_0x5026ef);const _0x5de020=_0x245971[this[_0x45b765(0x308)]];return this['_colorIndex']=(this[_0x45b765(0x308)]+0x1)%_0x245971[_0x45b765(0x32c)],this['_assignedColors']['set'](_0x5026ef,_0x5de020),_0x5de020;}}function _0x12977b(_0x16b277){const _0x4edb31=_0xd692a4;let _0x192892='';for(const _0x158812 of _0x16b277){const {startOffset:_0x28a6d4,endOffset:_0x557b29,isActive:_0x38e438,rangeType:_0x211dc6,segmentId:_0x16e523,segmentPage:_0x3b3bea}=_0x158812;_0x192892[_0x4edb31(0x32c)]&&(_0x192892+=','),_0x192892+=_0x28a6d4+':'+_0x557b29+':'+(_0x38e438?'1':'0')+':'+_0x211dc6+':'+_0x16e523+':'+_0x3b3bea;}return _0x192892;}function _0x174504(_0x7e64){const _0x274a86=_0xd692a4,_0x2b2a5b=_0x7e64[_0x274a86(0x20e)](','),_0xd4daec=[];for(const _0x56a367 of _0x2b2a5b){const [_0x2c1d85,_0x2852d5,_0x584dd5,_0x3d1da9,_0x36ce48,_0x3956b5]=_0x56a367[_0x274a86(0x20e)](':');_0xd4daec['push']({'startOffset':Number(_0x2c1d85),'endOffset':Number(_0x2852d5),'collapsed':_0x2c1d85===_0x2852d5,'isActive':_0x584dd5==='1','rangeType':_0x3d1da9===_0x4b0795[_0x274a86(0x300)][_0x274a86(0x2d9)]?_0x4b0795[_0x274a86(0x300)][_0x274a86(0x2d9)]:_0x4b0795[_0x274a86(0x300)]['RECT'],'segmentId':typeof _0x36ce48=='string'?String(_0x36ce48):'','segmentPage':Number(_0x3956b5!=null?_0x3956b5:-0x1)});}return _0xd4daec[_0x274a86(0x2c0)](_0x556303=>_0x556303[_0x274a86(0x367)])||(_0xd4daec[0x0]['isActive']=!0x0),_0xd4daec;}class _0x2a6d0 extends _0x4b0795[_0xd692a4(0x259)]{constructor(){const _0x292064=_0xd692a4;super(...arguments),_0x593a34(this,_0x292064(0x224),new _0x116537['BehaviorSubject'](null)),_0x593a34(this,'collabCursorState$',this['_collabCursorState$'][_0x292064(0x2dd)]());}[_0xd692a4(0x191)](_0x125d2c){const _0x3f9e4e=_0xd692a4,{unitID:_0x4654ec,memberID:_0x4940eb,textRanges:_0x4d37ac}=_0x125d2c,_0x56a213=_0x12977b(_0x4d37ac);if(_0x56a213==='')return;const _0x38ee99={'unitID':_0x4654ec,'memberID':_0x4940eb,'selection':_0x56a213};this[_0x3f9e4e(0x224)][_0x3f9e4e(0x214)](_0x38ee99);}}var _0x2daef2=Object[_0xd692a4(0x158)],_0x208282=(_0x6d9467,_0x11e9ff,_0x1dc15a,_0x3a6d81)=>{const _0x246232=_0xd692a4;for(var _0x57f95a=_0x3a6d81>0x1?void 0x0:_0x3a6d81?_0x2daef2(_0x11e9ff,_0x1dc15a):_0x11e9ff,_0x4c447d=_0x6d9467[_0x246232(0x32c)]-0x1,_0x12c32f;_0x4c447d>=0x0;_0x4c447d--)(_0x12c32f=_0x6d9467[_0x4c447d])&&(_0x57f95a=_0x12c32f(_0x57f95a)||_0x57f95a);return _0x57f95a;},_0x3b588f=(_0x1848c9,_0x32fc82)=>(_0x48f94e,_0x3d21d3)=>_0x32fc82(_0x48f94e,_0x3d21d3,_0x1848c9);const _0x583116=0x12c,_0x4cb0db=0x64;let _0x3e2f2b=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x5f1b6a,_0x148c83,_0x4c1916,_0x288b36,_0x5ed46e,_0x4735d4,_0x13b761,_0x2d7d32,_0x55ef24){const _0x430dd5=_0xd692a4;super(),_0x593a34(this,'_online',!0x1),_0x593a34(this,'_init',!0x1),_0x593a34(this,_0x430dd5(0x1c0),new _0x116537[(_0x430dd5(0x30c))](new Map())),_0x593a34(this,'cursorInfo$',this[_0x430dd5(0x1c0)][_0x430dd5(0x2dd)]()),_0x593a34(this,_0x430dd5(0x358),new _0x116537[(_0x430dd5(0x30c))]([])),_0x593a34(this,_0x430dd5(0x115),this[_0x430dd5(0x358)][_0x430dd5(0x2ca)](_0x116537[_0x430dd5(0x238)](_0x583116))),_0x593a34(this,_0x430dd5(0x1ae),_0x4b0795[_0x430dd5(0x260)](_0x40dafc=>{const _0x20acbe=_0x430dd5,_0x8b2231={'eventID':_0x14a315[_0x20acbe(0x229)][_0x20acbe(0x31f)],'data':{'unitID':this[_0x20acbe(0x290)],'memberID':this['_session'][_0x20acbe(0x164)](),'selection':_0x12977b(_0x40dafc)}};this[_0x20acbe(0x215)][_0x20acbe(0x2d1)](_0x8b2231,this[_0x20acbe(0x290)]);},_0x4cb0db)),(this['unitID']=_0x5f1b6a,this[_0x430dd5(0x215)]=_0x148c83,this[_0x430dd5(0x160)]=_0x4c1916,this[_0x430dd5(0x22a)]=_0x288b36,this[_0x430dd5(0xd7)]=_0x5ed46e,this[_0x430dd5(0x2fe)]=_0x4735d4,this[_0x430dd5(0x32e)]=_0x13b761,this['_univerInstanceService']=_0x2d7d32,this[_0x430dd5(0x2c8)]=_0x55ef24);}get['cursorInfo'](){const _0x159ebc=_0xd692a4;return this[_0x159ebc(0x1c0)][_0x159ebc(0x231)]();}get[_0xd692a4(0x207)](){const _0x4b2781=_0xd692a4;return this['_roomMembers$'][_0x4b2781(0x231)]();}[_0xd692a4(0x1ca)](){const _0x3c1c4b=_0xd692a4;super[_0x3c1c4b(0x1ca)](),this[_0x3c1c4b(0x1c0)][_0x3c1c4b(0x214)](new Map()),this[_0x3c1c4b(0x1c0)][_0x3c1c4b(0x1b2)](),this[_0x3c1c4b(0x358)]['next']([]),this[_0x3c1c4b(0x358)][_0x3c1c4b(0x1b2)]();}['init'](){const _0x2b7495=_0xd692a4;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b7495(0x2ca)](_0x116537[_0x2b7495(0x30e)](this[_0x2b7495(0x34d)]))[_0x2b7495(0x230)](_0x1698dc=>{const _0x247483=_0x2b7495;_0x1698dc===_0x48da18[_0x247483(0x147)][_0x247483(0x1a4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2b7495(0x215)][_0x2b7495(0x11a)][_0x2b7495(0x2ca)](_0x116537['takeUntil'](this[_0x2b7495(0x34d)]))['subscribe'](_0x3c1ee2=>{const _0x5b753c=_0x2b7495,_0x555f9c=_0x3c1ee2['eventID'];_0x555f9c===_0x14a315[_0x5b753c(0x229)][_0x5b753c(0x31f)]&&this[_0x5b753c(0x350)](_0x3c1ee2),_0x555f9c===_0x14a315[_0x5b753c(0x229)][_0x5b753c(0x2c4)]&&this[_0x5b753c(0x29a)](_0x3c1ee2);}),this[_0x2b7495(0x278)](this[_0x2b7495(0x2c8)][_0x2b7495(0x352)](_0x2262b9=>{const _0x31afca=_0x2b7495,_0x66e0b5=_0x2262b9['params'];_0x66e0b5!=null&&this['_online']&&_0x2262b9['id']===_0x37373d[_0x31afca(0x18e)]['id']&&_0x66e0b5[_0x31afca(0x366)]===this[_0x31afca(0x290)]&&_0x66e0b5[_0x31afca(0x295)]===!0x1&&_0x66e0b5[_0x31afca(0x109)][_0x31afca(0x32c)]>0x0&&this['_updateLocalCursor'](_0x66e0b5['ranges']);})),this[_0x2b7495(0x2fe)][_0x2b7495(0x326)][_0x2b7495(0x2ca)](_0x116537['takeUntil'](this[_0x2b7495(0x34d)]))[_0x2b7495(0x230)](_0x5be495=>{const _0xba8aa9=_0x2b7495;if((_0x5be495==null?void 0x0:_0x5be495[_0xba8aa9(0x290)])!==this[_0xba8aa9(0x290)])return;const _0x3fb97e={'eventID':_0x14a315['CollaborationEvent'][_0xba8aa9(0x31f)],'data':_0x5be495};this['_onCursorUpdate'](_0x3fb97e);}),this[_0x2b7495(0x278)](this[_0x2b7495(0x2c8)][_0x2b7495(0x352)](_0x1d84de=>{const _0x2f6341=_0x2b7495;if(_0x1d84de['params']==null)return;const _0x16e212=_0x1d84de[_0x2f6341(0x354)];if(_0x1d84de['id']!==_0x37373d['RichTextEditingMutation']['id']||_0x16e212[_0x2f6341(0x366)]!==this[_0x2f6341(0x290)])return;const _0x251352={'id':_0x2f6341(0xde),'params':_0x16e212},_0x3a1680=this[_0x2f6341(0x2d4)];for(const [_0x27933a,_0x2d407d]of _0x3a1680){const _0x180b22={'id':_0x2f6341(0xde),'params':{'unitId':this[_0x2f6341(0x290)],'actions':null,'textRanges':_0x2d407d[_0x2f6341(0x109)]}},_0x465af1=this[_0x2f6341(0x32e)]['transformMutation'](_0x251352,_0x180b22,!0x1);if(_0x14a315[_0x2f6341(0x266)](_0x465af1))throw _0x465af1[_0x2f6341(0x13c)];_0x3a1680[_0x2f6341(0x1da)](_0x27933a,{..._0x2d407d,'ranges':_0x465af1['m2Prime'][_0x2f6341(0x354)]['textRanges']});}queueMicrotask(()=>{const _0x37f5e0=_0x2f6341;this[_0x37f5e0(0x1c0)]['next'](_0x3a1680);});})));}[_0xd692a4(0x350)](_0x492aff){const _0x118600=_0xd692a4;var _0x58a080,_0x29c37a;const {memberID:_0x11a21d,selection:_0x2a6aaf}=_0x492aff['data'],_0x3911f0=_0x174504(_0x2a6aaf),_0x45196c=(_0x29c37a=(_0x58a080=this['_memberService'][_0x118600(0x28f)](this[_0x118600(0x290)],_0x11a21d))==null?void 0x0:_0x58a080['name'])!=null?_0x29c37a:_0x118600(0xfe),_0x2e1a7b={'color':this[_0x118600(0x22a)][_0x118600(0x143)](_0x11a21d),'name':_0x45196c,'ranges':_0x3911f0},_0x43647d=this[_0x118600(0x2d4)];_0x43647d['set'](_0x11a21d,_0x2e1a7b),this['_cursorInfo$'][_0x118600(0x214)](_0x43647d);}['_onCursorDelete'](_0x2c4596){const _0x2dc01f=_0xd692a4,{memberID:_0x2b256b}=_0x2c4596[_0x2dc01f(0x349)],_0x3fcac5=this[_0x2dc01f(0x2d4)];_0x3fcac5[_0x2dc01f(0x324)](_0x2b256b),this[_0x2dc01f(0x1c0)]['next'](_0x3fcac5);}['_toggleOnline'](){const _0x553c7e=_0xd692a4;var _0x34705e;if(this[_0x553c7e(0x1b0)]=!0x0,((_0x34705e=this[_0x553c7e(0x17e)][_0x553c7e(0x1a3)]())==null?void 0x0:_0x34705e[_0x553c7e(0x270)]())!==this[_0x553c7e(0x290)])return;const _0x24b940=this['_injector'][_0x553c7e(0x166)](_0x37373d[_0x553c7e(0x30a)])[_0x553c7e(0x1e6)]();Array[_0x553c7e(0x23c)](_0x24b940)&&_0x24b940['length']>0x0&&this[_0x553c7e(0x1ae)](_0x24b940);}[_0xd692a4(0x285)](){const _0x337577=_0xd692a4;this[_0x337577(0x1b0)]=!0x1;}};_0x3e2f2b=_0x208282([_0x3b588f(0x2,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x274)])),_0x3b588f(0x3,_0x4b0795['Inject'](_0x54f0e6)),_0x3b588f(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x24a)])),_0x3b588f(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x2a6d0)),_0x3b588f(0x6,_0x14a315[_0xd692a4(0x35a)]),_0x3b588f(0x7,_0x4b0795[_0xd692a4(0x247)]),_0x3b588f(0x8,_0x4b0795[_0xd692a4(0x2bf)])],_0x3e2f2b);var _0x107d03=Object[_0xd692a4(0x158)],_0x3c3cc0=(_0xc99b4a,_0x45d1da,_0x2c6250,_0x35419e)=>{const _0x161ed2=_0xd692a4;for(var _0x392767=_0x35419e>0x1?void 0x0:_0x35419e?_0x107d03(_0x45d1da,_0x2c6250):_0x45d1da,_0x4741e3=_0xc99b4a[_0x161ed2(0x32c)]-0x1,_0x4e5c42;_0x4741e3>=0x0;_0x4741e3--)(_0x4e5c42=_0xc99b4a[_0x4741e3])&&(_0x392767=_0x4e5c42(_0x392767)||_0x392767);return _0x392767;},_0x5430fe=(_0xb274c3,_0x42ed9c)=>(_0x121774,_0x5b91ac)=>_0x42ed9c(_0x121774,_0x5b91ac,_0xb274c3);const _0x51d904=0x12c,_0x106ddc=0x64,_0x7155e2=()=>{let _0x55e7b5=[],_0x69dd94=!0x1;return _0x4f414e=>{const _0x1621ca=_0xb400;_0x55e7b5[_0x1621ca(0x328)](_0x4f414e),_0x69dd94||(_0x69dd94=!0x0,setTimeout(()=>{const _0x25e705=_0x1621ca;_0x55e7b5[_0x25e705(0x345)](_0x76e1e7=>_0x76e1e7()),_0x55e7b5=[],_0x69dd94=!0x1;}));};};let _0x454861=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x24311d,_0x228894,_0xe2b55e,_0x2c7005,_0x28fbbb,_0x297ad7,_0x302f81,_0xddcc1a){const _0x15b07d=_0xd692a4;super(),_0x593a34(this,_0x15b07d(0x1b0),!0x1),_0x593a34(this,'_init',!0x1),_0x593a34(this,'_cursorInfo$',new _0x116537[(_0x15b07d(0x30c))](new Map())),_0x593a34(this,'cursorInfo$',this[_0x15b07d(0x1c0)][_0x15b07d(0x2dd)]()),_0x593a34(this,_0x15b07d(0x358),new _0x116537['BehaviorSubject']([])),_0x593a34(this,_0x15b07d(0x115),this[_0x15b07d(0x358)][_0x15b07d(0x2ca)](_0x116537[_0x15b07d(0x238)](_0x51d904))),_0x593a34(this,'_updateLocalCursor',_0x4b0795['debounce']((_0x36e3f7,_0x44b3a1)=>{const _0x1346b8=_0x15b07d,_0x3db3b8={'eventID':_0x14a315['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1346b8(0x290)],'memberID':this['_session'][_0x1346b8(0x164)](),'selection':_0x18a630[_0x1346b8(0x1bc)](_0x36e3f7,_0x44b3a1[_0x1346b8(0xfc)])}};this['_session'][_0x1346b8(0x2d1)](_0x3db3b8,this['unitID']);},_0x106ddc)),(this['unitID']=_0x24311d,this['_session']=_0x228894,this[_0x15b07d(0x160)]=_0xe2b55e,this[_0x15b07d(0x22a)]=_0x2c7005,this[_0x15b07d(0xd7)]=_0x28fbbb,this['_univerInstanceService']=_0x297ad7,this[_0x15b07d(0x2c8)]=_0x302f81,this[_0x15b07d(0x15a)]=_0xddcc1a);}get['cursorInfo'](){const _0x1c10b8=_0xd692a4;return this[_0x1c10b8(0x1c0)][_0x1c10b8(0x231)]();}get['roomMembers'](){const _0xe19dbb=_0xd692a4;return this[_0xe19dbb(0x358)]['getValue']();}[_0xd692a4(0x1ca)](){const _0x1b8e17=_0xd692a4;super[_0x1b8e17(0x1ca)](),this[_0x1b8e17(0x1c0)]['next'](new Map()),this[_0x1b8e17(0x1c0)]['complete'](),this[_0x1b8e17(0x358)]['next']([]),this[_0x1b8e17(0x358)][_0x1b8e17(0x1b2)]();}[_0xd692a4(0x171)](){const _0x58d3ca=_0xd692a4;this['_init']||(this[_0x58d3ca(0x1a0)]=!0x0,this[_0x58d3ca(0x215)]['sessionStatus$'][_0x58d3ca(0x2ca)](_0x116537[_0x58d3ca(0x30e)](this[_0x58d3ca(0x34d)]))[_0x58d3ca(0x230)](_0xb8ec46=>{const _0x2c82dd=_0x58d3ca;_0xb8ec46===_0x48da18['SessionStatus']['ONLINE']?this[_0x2c82dd(0x2a2)]():this[_0x2c82dd(0x285)]();}),this[_0x58d3ca(0x215)][_0x58d3ca(0x11a)][_0x58d3ca(0x2ca)](_0x116537[_0x58d3ca(0x30e)](this[_0x58d3ca(0x34d)]))[_0x58d3ca(0x230)](_0x3a731c=>{const _0x4d9d04=_0x58d3ca,_0x59484f=_0x3a731c[_0x4d9d04(0x2b8)];_0x59484f===_0x14a315[_0x4d9d04(0x229)][_0x4d9d04(0x31f)]&&this[_0x4d9d04(0x350)](_0x3a731c),_0x59484f===_0x14a315['CollaborationEvent'][_0x4d9d04(0x2c4)]&&this['_onCursorDelete'](_0x3a731c);}),this[_0x58d3ca(0xf5)](),this[_0x58d3ca(0x278)](this[_0x58d3ca(0x2c8)][_0x58d3ca(0x352)](_0x35961=>{const _0x3418a3=_0x58d3ca;if(this[_0x3418a3(0x1b0)]&&_0x35961['id']===_0x5be02c[_0x3418a3(0x2e9)]['id']&&_0x35961['params']['unitId']===this[_0x3418a3(0x290)]){const _0x3f4a01=_0x35961[_0x3418a3(0x354)];this[_0x3418a3(0x1ae)](_0x3f4a01[_0x3418a3(0x16a)],_0x3f4a01['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2bc04f){const _0x3060cb=_0xd692a4;var _0x7d17ab,_0x332d77;const {memberID:_0x44c083,selection:_0x59d56f}=_0x2bc04f['data'],{sheetName:_0x4eb025,range:_0x4e751b}=_0x18a630[_0x3060cb(0x2a3)](_0x59d56f),_0x3f0a7e={'name':(_0x332d77=(_0x7d17ab=this[_0x3060cb(0xd7)][_0x3060cb(0x28f)](this[_0x3060cb(0x290)],_0x44c083))==null?void 0x0:_0x7d17ab[_0x3060cb(0x302)])!=null?_0x332d77:_0x3060cb(0xfe),'range':this['_getMergeRange'](_0x4eb025,_0x4e751b),'sheetID':_0x4eb025,'color':this[_0x3060cb(0x22a)][_0x3060cb(0x143)](_0x44c083),'selection':_0x59d56f},_0x378fcb=this[_0x3060cb(0x2d4)];_0x378fcb[_0x3060cb(0x1da)](_0x44c083,_0x3f0a7e),this[_0x3060cb(0x1c0)]['next'](_0x378fcb);}['_onCursorDelete'](_0x31b88d){const _0x5058cd=_0xd692a4,{memberID:_0x12c1e9}=_0x31b88d[_0x5058cd(0x349)],_0x55db14=this['cursorInfo'];_0x55db14[_0x5058cd(0x324)](_0x12c1e9),this[_0x5058cd(0x1c0)][_0x5058cd(0x214)](_0x55db14);}['_getMergeRange'](_0xc12f56,_0x47ec1c){const _0xf3894=_0xd692a4;var _0x1e49c9,_0x1bc213;const _0x56d1aa=(_0x1bc213=(_0x1e49c9=this[_0xf3894(0x17e)][_0xf3894(0x197)](this[_0xf3894(0x290)]))==null?void 0x0:_0x1e49c9['getSheetBySheetId'](_0xc12f56))==null?void 0x0:_0x1bc213[_0xf3894(0x33d)]();return(_0x56d1aa==null?void 0x0:_0x56d1aa[_0xf3894(0x108)](_0x302577=>_0x4b0795['Rectangle']['contains'](_0x302577,_0x47ec1c)))||_0x47ec1c;}[_0xd692a4(0xf5)](){const _0x4690fd=_0xd692a4,_0x4bfa90=new _0x4b0795[(_0x4690fd(0x1a5))](),_0x76f39a=_0x7155e2(),_0x45b2ca=()=>{const _0x1b2631=_0x4690fd;_0x4bfa90['dispose']();const _0x403619=(_0x25049d,_0x208f26,_0x163b82,_0xfade7d)=>{const _0x34c9bf=_0xb400;let _0x440579=[];switch(_0x25049d['id']){case _0x5be02c[_0x34c9bf(0x234)]['DeleteRangeMoveLeftCommandId']:{_0x440579=_0x5be02c['handleDeleteRangeMoveLeft'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x210)]:{_0x440579=_0x5be02c['handleDeleteRangeMoveUp'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)]['InsertColCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0x35d)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId'][_0x34c9bf(0x12a)]:{_0x440579=_0x5be02c[_0x34c9bf(0x13b)](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)]['InsertRangeMoveRightCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0x135)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId'][_0x34c9bf(0x1fc)]:{_0x440579=_0x5be02c[_0x34c9bf(0xf1)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId']['MoveRangeCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0xe9)](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x299)]:{_0x440579=_0x5be02c['handleIRemoveCol'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x19e)]:{_0x440579=_0x5be02c[_0x34c9bf(0x128)](_0x25049d,_0xfade7d);break;}}const _0x12b89a=_0x5be02c[_0x34c9bf(0x120)](_0x440579,_0xfade7d),_0x28992d=this[_0x34c9bf(0x2d4)]['get'](_0x208f26);if(_0x28992d&&_0x12b89a){const _0x4b730c={..._0x28992d,'range':_0x12b89a};this[_0x34c9bf(0x2d4)]['set'](_0x208f26,_0x4b730c),_0x76f39a(()=>{const _0x347be7=_0x34c9bf,_0x1b100a=this[_0x347be7(0x15a)][_0x347be7(0x235)](_0x12b89a,_0x56bef2=>(_0x1b100a['dispose'](),_0x403619(_0x56bef2,_0x208f26,_0x163b82,_0x12b89a)));_0x4bfa90['add'](_0x1b100a);});}return{'redos':[],'undos':[]};};this[_0x1b2631(0x2d4)][_0x1b2631(0x345)]((_0x5c2f05,_0x51434d)=>{const _0x1f175a=_0x1b2631,{range:_0x2c5b7f,sheetID:_0x1084c3}=_0x5c2f05,_0xb02567=this[_0x1f175a(0x15a)][_0x1f175a(0x235)](_0x2c5b7f,_0xaec8c9=>(_0xb02567[_0x1f175a(0x1ca)](),_0x403619(_0xaec8c9,_0x51434d,_0x1084c3,_0x2c5b7f)));_0x4bfa90[_0x1f175a(0x29d)](_0xb02567);});};this[_0x4690fd(0x278)](_0x4b0795[_0x4690fd(0x2ba)](this[_0x4690fd(0x1c0)][_0x4690fd(0x230)](()=>{_0x45b2ca();})));}[_0xd692a4(0x2a2)](){const _0x22a688=_0xd692a4;var _0x2fa22f,_0x23af75;if(this[_0x22a688(0x1b0)]=!0x0,((_0x2fa22f=this[_0x22a688(0x17e)][_0x22a688(0x1a3)]())==null?void 0x0:_0x2fa22f[_0x22a688(0x270)]())!==this[_0x22a688(0x290)])return;const _0x46d23e=(_0x23af75=this[_0x22a688(0x160)][_0x22a688(0x166)](_0x5be02c[_0x22a688(0x24b)])['getCurrentSelections']())==null?void 0x0:_0x23af75[0x0],_0x20def7=this[_0x22a688(0x17e)][_0x22a688(0x239)](_0x4b0795[_0x22a688(0xfb)][_0x22a688(0x167)])[_0x22a688(0x21a)]();_0x46d23e&&_0x20def7&&this[_0x22a688(0x1ae)](_0x20def7[_0x22a688(0x232)](),_0x46d23e);}[_0xd692a4(0x285)](){const _0x106faa=_0xd692a4;this[_0x106faa(0x1b0)]=!0x1;}};_0x454861=_0x3c3cc0([_0x5430fe(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x5430fe(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x54f0e6)),_0x5430fe(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x24a)])),_0x5430fe(0x5,_0x4b0795[_0xd692a4(0x247)]),_0x5430fe(0x6,_0x4b0795[_0xd692a4(0x2bf)]),_0x5430fe(0x7,_0x4b0795[_0xd692a4(0x30b)](_0x5be02c[_0xd692a4(0x17a)]))],_0x454861);var _0x459500=Object['getOwnPropertyDescriptor'],_0x42c435=(_0x4cf2f1,_0xe74258,_0x189df9,_0x3be0d2)=>{for(var _0x11aaca=_0x3be0d2>0x1?void 0x0:_0x3be0d2?_0x459500(_0xe74258,_0x189df9):_0xe74258,_0x1ebfc5=_0x4cf2f1['length']-0x1,_0x1e2386;_0x1ebfc5>=0x0;_0x1ebfc5--)(_0x1e2386=_0x4cf2f1[_0x1ebfc5])&&(_0x11aaca=_0x1e2386(_0x11aaca)||_0x11aaca);return _0x11aaca;},_0x382b5b=(_0x25c698,_0x368e4a)=>(_0xdf5f75,_0xea4c42)=>_0x368e4a(_0xdf5f75,_0xea4c42,_0x25c698);let _0x48ad4d=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x597993,_0x359cc6,_0x44d97b){const _0x32f743=_0xd692a4;super(),_0x593a34(this,_0x32f743(0x35e),new Map()),_0x593a34(this,_0x32f743(0x2f5),new _0x116537['Subject']()),(this[_0x32f743(0x17e)]=_0x597993,this[_0x32f743(0x160)]=_0x359cc6,this[_0x32f743(0x219)]=_0x44d97b,this['_init']());}[_0xd692a4(0x1ca)](){const _0x56ad2e=_0xd692a4;super['dispose'](),this[_0x56ad2e(0x2f5)][_0x56ad2e(0x1b2)](),this['_entities']['forEach'](_0x186c15=>_0x186c15['dispose']());}[_0xd692a4(0x1d0)](_0x1fcf77){const _0x92be41=_0xd692a4;return this['_entities']['has'](_0x1fcf77)?this['_entities'][_0x92be41(0x166)](_0x1fcf77)[_0x92be41(0x272)]:this['_entityInit$'][_0x92be41(0x2ca)](_0x116537['filter'](_0x491365=>_0x491365[_0x92be41(0x290)]===_0x1fcf77),_0x116537[_0x92be41(0x365)](_0x299d67=>_0x299d67[_0x92be41(0x272)]));}[_0xd692a4(0x1a0)](){const _0x226ad7=_0xd692a4;this['_univerInstanceService'][_0x226ad7(0x1ac)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x167)])[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this['dispose$']))[_0x226ad7(0x230)](async _0xd8f45e=>{const _0x4b365a=_0x226ad7,_0x341948=_0xd8f45e[_0x4b365a(0x270)](),_0x296db8=await this[_0x4b365a(0x222)](_0x341948);this[_0x4b365a(0x2f5)]['next'](_0x296db8),this[_0x4b365a(0x35e)][_0x4b365a(0x1da)](_0x341948,_0x296db8);}),this[_0x226ad7(0x17e)][_0x226ad7(0x1ac)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x155)])[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this[_0x226ad7(0x34d)]))[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x154)](_0x92a3ff=>!_0x92a3ff[_0x226ad7(0x270)]()[_0x226ad7(0x31b)]('__')))[_0x226ad7(0x230)](async _0xe8c301=>{const _0x2595c2=_0x226ad7,_0x52fd01=_0xe8c301[_0x2595c2(0x270)](),_0x53cdf9=await this['_startDocCollabCursor'](_0x52fd01);this[_0x2595c2(0x2f5)][_0x2595c2(0x214)](_0x53cdf9),this[_0x2595c2(0x35e)]['set'](_0x52fd01,_0x53cdf9);}),_0x116537[_0x226ad7(0x14c)](this[_0x226ad7(0x17e)][_0x226ad7(0x250)](_0x4b0795[_0x226ad7(0xfb)]['UNIVER_DOC']),this[_0x226ad7(0x17e)][_0x226ad7(0x250)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x167)]))[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this[_0x226ad7(0x34d)]))[_0x226ad7(0x230)](_0x3c2813=>{const _0xe9bd94=_0x226ad7,_0x1f4680=_0x3c2813[_0xe9bd94(0x270)](),_0x4b3637=this[_0xe9bd94(0x35e)][_0xe9bd94(0x166)](_0x1f4680);_0x4b3637&&(_0x4b3637[_0xe9bd94(0x1ca)](),this[_0xe9bd94(0x35e)]['delete'](_0x1f4680));});}async['_startSheetCollabCursor'](_0xaffcf5){const _0x493ab4=_0xd692a4,_0x40ef04=await this[_0x493ab4(0x219)][_0x493ab4(0x2cb)](_0xaffcf5),_0x480384=this[_0x493ab4(0x160)]['createInstance'](_0x454861,_0xaffcf5,_0x40ef04);return _0x480384[_0x493ab4(0x171)](),_0x480384;}async[_0xd692a4(0x34a)](_0x2bb82b){const _0x291bbe=_0xd692a4,_0x2556a5=await this['_collabSessionService'][_0x291bbe(0x2cb)](_0x2bb82b),_0x5d6bb5=this['_injector']['createInstance'](_0x3e2f2b,_0x2bb82b,_0x2556a5);return _0x5d6bb5['init'](),_0x5d6bb5;}};_0x48ad4d=_0x42c435([_0x382b5b(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x382b5b(0x1,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x274)])),_0x382b5b(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x1aa)]))],_0x48ad4d);const _0xe8819b=0x14,_0x1c1276=0xc8,_0x1d63cb=0x4,_0x1f8d0e=0x5;function _0x8c4e5e(_0x146a54,_0x2cfb78){const _0x5923d6=_0xd692a4;let {radius:_0x16e39b,width:_0x1fd4ba,height:_0x10ce48}=_0x2cfb78;_0x16e39b=_0x16e39b!=null?_0x16e39b:0x0,_0x1fd4ba=_0x1fd4ba!=null?_0x1fd4ba:0x1e,_0x10ce48=_0x10ce48!=null?_0x10ce48:0x1e;let _0x10c798=0x0,_0x3f4007=0x0,_0x378731=0x0;_0x10c798=_0x3f4007=_0x378731=Math['min'](_0x16e39b,_0x1fd4ba/0x2,_0x10ce48/0x2),_0x146a54[_0x5923d6(0x25b)](),_0x146a54[_0x5923d6(0x307)](_0x10c798,0x0),_0x146a54[_0x5923d6(0xe1)](_0x1fd4ba-_0x3f4007,0x0),_0x146a54[_0x5923d6(0x1ff)](_0x1fd4ba-_0x3f4007,_0x3f4007,_0x3f4007,Math['PI']*0x3/0x2,0x0,!0x1),_0x146a54[_0x5923d6(0xe1)](_0x1fd4ba,_0x10ce48-_0x378731),_0x146a54[_0x5923d6(0x1ff)](_0x1fd4ba-_0x378731,_0x10ce48-_0x378731,_0x378731,0x0,Math['PI']/0x2,!0x1),_0x146a54[_0x5923d6(0xe1)](0x0,_0x10ce48),_0x146a54[_0x5923d6(0xe1)](0x0,_0x10c798),_0x146a54[_0x5923d6(0x1ff)](_0x10c798,_0x10c798,_0x10c798,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x146a54[_0x5923d6(0x355)](),_0x2cfb78['fill']&&(_0x146a54[_0x5923d6(0x305)](),_0x146a54['fillStyle']=_0x2cfb78['fill'],_0x2cfb78['fillRule']===_0x5923d6(0x2b7)?_0x146a54[_0x5923d6(0x161)]('evenodd'):_0x146a54['fill'](),_0x146a54['restore']());}class _0x1e266e extends _0x56eea1['Shape']{constructor(_0x463d79,_0x2bba72){const _0x32f029=_0xd692a4;super(_0x463d79,_0x2bba72),_0x593a34(this,_0x32f029(0x356)),_0x593a34(this,_0x32f029(0x174)),(this['color']=_0x2bba72==null?void 0x0:_0x2bba72[_0x32f029(0x356)],this[_0x32f029(0x174)]=_0x2bba72==null?void 0x0:_0x2bba72['text']);}static[_0xd692a4(0x111)](_0x26c4bd,_0x3530c1){const _0x5bc0c1=_0xd692a4,{text:_0x37ff6b,color:_0x550184}=_0x3530c1;_0x26c4bd[_0x5bc0c1(0x305)](),_0x26c4bd[_0x5bc0c1(0x19c)]=_0x5bc0c1(0x14e);const _0x44c39b=_0x26c4bd[_0x5bc0c1(0x2ae)](_0x37ff6b)[_0x5bc0c1(0x284)],_0x1bb4d2=Math[_0x5bc0c1(0x298)](_0x44c39b+0x2*_0x1d63cb,_0x1c1276);_0x8c4e5e(_0x26c4bd,{'height':_0xe8819b,'radius':0x4,'width':_0x1bb4d2,'fill':_0x550184}),_0x26c4bd[_0x5bc0c1(0x202)]=_0x5bc0c1(0x24c);const _0x240f58=_0x1d63cb,_0x57ff9a=_0xe8819b-_0x1f8d0e,_0x460442=_0x1c1276-0x2*_0x1d63cb;if(_0x44c39b>_0x460442){let _0x3e7f61='',_0x49d889=0x0;for(const _0x4120a4 of _0x37ff6b){const _0x21c83c=_0x26c4bd[_0x5bc0c1(0x2ae)](_0x4120a4)[_0x5bc0c1(0x284)];if(_0x49d889+_0x21c83c<=_0x460442-_0x26c4bd[_0x5bc0c1(0x2ae)](_0x5bc0c1(0x152))[_0x5bc0c1(0x284)])_0x3e7f61+=_0x4120a4,_0x49d889+=_0x21c83c;else{_0x3e7f61+='...';break;}}_0x26c4bd[_0x5bc0c1(0x162)](_0x3e7f61,_0x240f58,_0x57ff9a);}else _0x26c4bd[_0x5bc0c1(0x162)](_0x37ff6b,_0x240f58,_0x57ff9a);_0x26c4bd[_0x5bc0c1(0x136)]();}[_0xd692a4(0x34f)](_0x15640f){const _0x1a4cbc=_0xd692a4;_0x1e266e[_0x1a4cbc(0x111)](_0x15640f,this);}}const _0x25fa9b='collab-text-anchor-',_0x12a089=_0xd692a4(0x361),_0x489a26=_0xd692a4(0xd4),_0x5a38d7=0x6,_0x45b544=1.5,_0x81491b=0x4,_0x4cc5ee=1.5,_0x542da6=_0xd692a4(0x223);class _0x4ed095{constructor(_0x379fa7,_0xf5262a,_0x2430df,_0x3eda0d){const _0x2c5eba=_0xd692a4;_0x593a34(this,_0x2c5eba(0x18d),[]),_0x593a34(this,_0x2c5eba(0x2b5),null),_0x593a34(this,'_textBubble',null),_0x593a34(this,'_anchorDot',null),_0x593a34(this,_0x2c5eba(0x31c),null),_0x593a34(this,'_eventUnsubscribe',null),(this[_0x2c5eba(0x22d)]=_0x379fa7,this[_0x2c5eba(0x1b4)]=_0xf5262a,this[_0x2c5eba(0x267)]=_0x2430df,this[_0x2c5eba(0x26e)]=_0x3eda0d,this[_0x2c5eba(0x1dc)]());}set['_hover'](_0x5b64b3){const _0x3e18bd=_0xd692a4;_0x5b64b3?(this[_0x3e18bd(0x17c)]&&this[_0x3e18bd(0x17c)][_0x3e18bd(0x1cf)](),this[_0x3e18bd(0x29c)]&&this[_0x3e18bd(0x29c)][_0x3e18bd(0x342)]()):(this['_anchorDot']&&this[_0x3e18bd(0x17c)][_0x3e18bd(0x342)](),this[_0x3e18bd(0x29c)]&&this[_0x3e18bd(0x29c)][_0x3e18bd(0x1cf)]());}[_0xd692a4(0x1ca)](){const _0xaec6bd=_0xd692a4;for(const _0xd4bd30 of this['_shapes'])_0xd4bd30[_0xaec6bd(0x1ca)]();this[_0xaec6bd(0x29c)]&&this[_0xaec6bd(0x29c)]['dispose'](),this['_anchorDot']&&this[_0xaec6bd(0x17c)][_0xaec6bd(0x1ca)](),this['_anchor']&&this[_0xaec6bd(0x2b5)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0xd692a4(0x1dc)](){const _0x1ca41c=_0xd692a4;var _0x1d518e;const {_docSkeleton:_0x35c4f9,_document:_0x161293}=this,{color:_0x33e35d,name:_0xab12fa,ranges:_0x32e6a3}=this[_0x1ca41c(0x22d)],_0x197c0b=_0x161293['getOffsetConfig'](),{docsLeft:_0x5293d0,docsTop:_0x4bb7d0}=_0x197c0b,_0x3f9002=new _0x592c9e[(_0x1ca41c(0x180))](_0x197c0b,_0x35c4f9);for(const {startOffset:_0x478531,endOffset:_0x4d0415,rangeType:_0x57d95f,segmentId:_0x48bea1,segmentPage:_0x592ed8,collapsed:_0x582378,isActive:_0x1b424c}of _0x32e6a3){const _0x573407=_0x35c4f9[_0x1ca41c(0xfd)](_0x478531,!0x0,_0x48bea1,_0x592ed8);let _0x404a25=_0x35c4f9['findNodePositionByCharIndex'](_0x4d0415,!0x0,_0x48bea1,_0x592ed8);if(_0x404a25==null&&(_0x404a25=_0x35c4f9[_0x1ca41c(0xfd)](_0x4d0415-0x1,!0x1,_0x48bea1,_0x592ed8)),_0x1b424c){const {contentBoxPointGroup:_0x516b60}=_0x3f9002['getRangePointData'](_0x404a25,_0x404a25);if(_0x516b60[_0x1ca41c(0x32c)]===0x0)continue;this[_0x1ca41c(0x327)](_0x33e35d,_0x516b60,_0x5293d0,_0x4bb7d0,_0xab12fa),this[_0x1ca41c(0x216)]=this[_0x1ca41c(0xef)]();}if(_0x573407&&_0x404a25){if(_0x57d95f===_0x4b0795[_0x1ca41c(0x300)]['RECT']){const _0x15b1b1=new _0x592c9e[(_0x1ca41c(0x233))](_0x197c0b,_0x35c4f9),{pointGroup:_0x16a35e}=(_0x1d518e=_0x15b1b1[_0x1ca41c(0xdc)](_0x573407,_0x404a25))!=null?_0x1d518e:{};if(_0x16a35e==null||_0x16a35e[_0x1ca41c(0x32c)]===0x0)continue;this[_0x1ca41c(0x15e)](_0x33e35d,_0x16a35e,_0x5293d0,_0x4bb7d0);}else{if(!_0x582378){const {borderBoxPointGroup:_0x267e75}=_0x3f9002[_0x1ca41c(0xdc)](_0x573407,_0x404a25);if(_0x267e75['length']===0x0)continue;this[_0x1ca41c(0x245)](_0x33e35d,_0x267e75,_0x5293d0,_0x4bb7d0);}}}}}[_0xd692a4(0x327)](_0x59a4e3,_0x2a392b,_0x292197,_0x21c768,_0x22b25d){const _0xb9574=_0xd692a4,_0x225200=this['_getAnchorBounding'](_0x2a392b),{left:_0x4ad58c,top:_0x27d96f,height:_0x18454d}=_0x225200,_0x10ee79=this[_0xb9574(0x25a)](),_0xa5a2ea=_0x4cc5ee/_0x10ee79,_0xa5e7c8=new _0x56eea1[(_0xb9574(0x26f))](_0x25fa9b+_0x4b0795[_0xb9574(0x1c9)](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768,'height':_0x18454d,'width':_0x45b544,'fill':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795['COLORS']['black'],0x0),'strokeWidth':_0xa5a2ea,'stroke':_0x542da6,'evented':!0x0});this[_0xb9574(0x2b5)]=_0xa5e7c8,this[_0xb9574(0x1b4)]['addObject'](_0xa5e7c8,_0x592c9e[_0xb9574(0x1e2)]);const _0x155c2f=new _0x56eea1[(_0xb9574(0x26f))](_0x25fa9b+_0x4b0795[_0xb9574(0x1c9)](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768-_0x81491b/0x2,'height':_0x81491b,'width':_0x81491b,'fill':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795[_0xb9574(0x190)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795['COLORS'][_0xb9574(0x2c1)],0x0),'evented':!0x1});this['_anchorDot']=_0x155c2f,this[_0xb9574(0x1b4)][_0xb9574(0x187)](_0x155c2f,_0x592c9e[_0xb9574(0x1e2)]);const _0x20a23a=new _0x1e266e(_0x25fa9b+_0x4b0795['generateRandomId'](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768-_0xe8819b,'text':_0x22b25d,'color':_0x59a4e3});this[_0xb9574(0x29c)]=_0x20a23a,this['_scene']['addObject'](_0x20a23a,_0x592c9e[_0xb9574(0x1e2)]),this['_hover']=!0x1;}[_0xd692a4(0xef)](){const _0x38ab59=_0xd692a4,_0x542188=this[_0x38ab59(0x2b5)][_0x38ab59(0x208)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x51d168=this[_0x38ab59(0x2b5)][_0x38ab59(0x105)][_0x38ab59(0x206)](()=>{const _0x49cf86=_0x38ab59;this[_0x49cf86(0x31c)]&&clearTimeout(this[_0x49cf86(0x31c)]),this[_0x49cf86(0x31c)]=setTimeout(()=>{const _0x22a2c6=_0x49cf86;this[_0x22a2c6(0x2fd)]=!0x1;},0x7d0);});return()=>{const _0x524d44=_0x38ab59;_0x542188['unsubscribe'](),_0x51d168[_0x524d44(0x211)]();};}[_0xd692a4(0x245)](_0x3379e2,_0x39f5e2,_0x16c4e3,_0x211e9b){const _0x506859=_0xd692a4,_0x5c491a=new _0x4b0795[(_0x506859(0x110))](_0x3379e2)['setAlpha'](0.2)[_0x506859(0x1d7)](),_0x24c87f=new _0x56eea1[(_0x506859(0x2e1))](_0x12a089+_0x4b0795['generateRandomId'](_0x5a38d7),{'pointsGroup':_0x39f5e2,'fill':_0x5c491a||_0x56eea1[_0x506859(0x2f7)](_0x4b0795['COLORS']['black'],0.2),'left':_0x16c4e3,'top':_0x211e9b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x506859(0x328)](_0x24c87f),this[_0x506859(0x1b4)]['addObject'](_0x24c87f,_0x592c9e[_0x506859(0x1e2)]);}[_0xd692a4(0x15e)](_0x5831bf,_0x5d1209,_0x1a985f,_0x2fb8d6){const _0x5bb078=_0xd692a4,_0x53fde7=new _0x4b0795[(_0x5bb078(0x110))](_0x5831bf)['setAlpha'](0.2)[_0x5bb078(0x1d7)](),_0x5c2587=new _0x56eea1[(_0x5bb078(0x2e1))](_0x489a26+_0x4b0795[_0x5bb078(0x1c9)](_0x5a38d7),{'pointsGroup':_0x5d1209,'fill':_0x53fde7||_0x56eea1[_0x5bb078(0x2f7)](_0x4b0795[_0x5bb078(0x190)][_0x5bb078(0x2c1)],0.2),'left':_0x1a985f,'top':_0x2fb8d6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bb078(0x328)](_0x5c2587),this['_scene'][_0x5bb078(0x187)](_0x5c2587,_0x592c9e[_0x5bb078(0x1e2)]);}['_getAnchorBounding'](_0x3730c1){const _0x5da17d=_0x3730c1[0x0],_0x2f3899=_0x5da17d[0x0],_0x4953fb=_0x5da17d[0x2],{x:_0x3804cb,y:_0x2cc149}=_0x2f3899,{x:_0x1b75cf,y:_0x4cc151}=_0x4953fb;return{'left':_0x3804cb,'top':_0x2cc149,'width':_0x1b75cf-_0x3804cb,'height':_0x4cc151-_0x2cc149};}[_0xd692a4(0x25a)](){const _0x9b3b41=_0xd692a4,{scaleX:_0x3221a3,scaleY:_0x4ac014}=this[_0x9b3b41(0x1b4)][_0x9b3b41(0x27d)]();return Math[_0x9b3b41(0x145)](_0x3221a3,_0x4ac014);}}var _0x57c291=Object[_0xd692a4(0x158)],_0x33f830=(_0x51e9c2,_0x2ffdbc,_0x568da6,_0x235646)=>{for(var _0x484cfc=_0x235646>0x1?void 0x0:_0x235646?_0x57c291(_0x2ffdbc,_0x568da6):_0x2ffdbc,_0x3d480c=_0x51e9c2['length']-0x1,_0x33065b;_0x3d480c>=0x0;_0x3d480c--)(_0x33065b=_0x51e9c2[_0x3d480c])&&(_0x484cfc=_0x33065b(_0x484cfc)||_0x484cfc);return _0x484cfc;},_0x12e7dd=(_0x344a25,_0x5047ff)=>(_0x8a427b,_0x2a4d40)=>_0x5047ff(_0x8a427b,_0x2a4d40,_0x344a25);let _0x183e62=class extends _0x4b0795['RxDisposable']{constructor(_0x4f2ac1,_0x36d9ac,_0x4f519d,_0x54af02,_0x429109){const _0x3e8d41=_0xd692a4;super(),_0x593a34(this,'_cursorShapes',[]),_0x593a34(this,_0x3e8d41(0x271),[]),(this[_0x3e8d41(0x2e5)]=_0x4f2ac1,this[_0x3e8d41(0x357)]=_0x36d9ac,this[_0x3e8d41(0x258)]=_0x4f519d,this[_0x3e8d41(0x2c8)]=_0x54af02,this['_themeService']=_0x429109,this['_init']());}[_0xd692a4(0x1a0)](){const _0x2809bf=_0xd692a4,_0x26cc1a=this[_0x2809bf(0x2e5)][_0x2809bf(0x366)],_0x4bf13e=this[_0x2809bf(0x357)];this[_0x2809bf(0x278)](_0x116537['combineLatest']([this[_0x2809bf(0x258)][_0x2809bf(0x1d0)](_0x26cc1a),this['_themeService'][_0x2809bf(0x114)]])[_0x2809bf(0x2ca)](_0x44a4f1[_0x2809bf(0x252)](([_0xdc92e0,_0x52a8e2])=>({'skeleton':_0x4bf13e[_0x2809bf(0x2bd)](),'cursors':[..._0xdc92e0[_0x2809bf(0x263)]()][_0x2809bf(0x1ed)](_0x2651a5=>({..._0x2651a5,'color':this[_0x2809bf(0x2d7)][_0x2809bf(0x241)](_0x2651a5['color'])}))})))[_0x2809bf(0x230)](_0x526d57=>{const _0x85ea5c=_0x2809bf;if(this[_0x85ea5c(0x11e)](),_0x526d57){const {skeleton:_0x61e668,cursors:_0x348803}=_0x526d57;this[_0x85ea5c(0x24f)](_0x61e668,_0x348803);}})),this[_0x2809bf(0x16d)](),this[_0x2809bf(0x26a)]();}[_0xd692a4(0x24f)](_0x2c8e10,_0x4352e8){const _0x4283f7=_0xd692a4,{scene:_0x2a49e6,mainComponent:_0x341eb7}=this[_0x4283f7(0x2e5)],_0x101117=_0x4352e8['map'](_0x254b96=>new _0x4ed095(_0x254b96,_0x2a49e6,_0x2c8e10,_0x341eb7));this['_cursorShapes']=_0x101117,this[_0x4283f7(0x271)]=_0x4352e8;}['_refreshCollabCursors'](){const _0x5022a2=_0xd692a4;this[_0x5022a2(0x11e)]();const {scene:_0x3693d0,mainComponent:_0x268383}=this['_context'],_0x2a0046=this[_0x5022a2(0x357)][_0x5022a2(0x2bd)](),_0x592b09=this[_0x5022a2(0x271)][_0x5022a2(0x252)](_0x44e325=>new _0x4ed095(_0x44e325,_0x3693d0,_0x2a0046,_0x268383));this[_0x5022a2(0x176)]=_0x592b09;}[_0xd692a4(0x11e)](){const _0x52f040=_0xd692a4;this[_0x52f040(0x176)]['forEach'](_0x59b799=>_0x59b799['dispose']()),this['_cursorShapes']=[];}[_0xd692a4(0x26a)](){const _0x106f9b=_0xd692a4,_0x4e12fb=[_0x592c9e['SetDocZoomRatioOperation']['id']];this[_0x106f9b(0x278)](this[_0x106f9b(0x2c8)]['onCommandExecuted'](_0x418037=>{const _0x37b223=_0x106f9b;_0x4e12fb[_0x37b223(0x288)](_0x418037['id'])&&_0x418037['params'][_0x37b223(0x366)]===this[_0x37b223(0x2e5)][_0x37b223(0x366)]&&this[_0x37b223(0x2c5)]();}));}['_initResize'](){const _0x4e6164=_0xd692a4;this[_0x4e6164(0x278)](_0x4b0795[_0x4e6164(0x23d)](this[_0x4e6164(0x2e5)][_0x4e6164(0x2ef)][_0x4e6164(0x236)])[_0x4e6164(0x2ca)](_0x44a4f1[_0x4e6164(0x154)](_0x1adc04=>_0x1adc04[_0x4e6164(0x262)]===_0x56eea1[_0x4e6164(0x301)][_0x4e6164(0x323)]),_0x44a4f1['throttleTime'](0x10))[_0x4e6164(0x230)](()=>{const _0x259474=_0x4e6164;this[_0x259474(0x2c5)]();}));}};_0x183e62=_0x33f830([_0x12e7dd(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x37373d[_0xd692a4(0x10a)])),_0x12e7dd(0x2,_0x4b0795['Inject'](_0x48ad4d)),_0x12e7dd(0x3,_0x4b0795[_0xd692a4(0x2bf)]),_0x12e7dd(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x204)]))],_0x183e62);const _0x272f9e=0x1,_0x1db5a4=1.5;class _0x49f936 extends _0x56eea1[_0xd692a4(0x2de)]{constructor(_0x992a32,_0x3fe2c4){const _0x4ce451=_0xd692a4;super(_0x992a32,_0x3fe2c4),_0x593a34(this,_0x4ce451(0x1e0)),_0x593a34(this,_0x4ce451(0x16c),!0x1),_0x593a34(this,_0x4ce451(0x1de)),_0x593a34(this,'_name',''),_0x593a34(this,_0x4ce451(0x24e),'top'),_0x593a34(this,_0x4ce451(0x142)),(_0x3fe2c4&&this[_0x4ce451(0x1a8)](_0x3fe2c4),this[_0x4ce451(0x208)][_0x4ce451(0x206)](()=>this[_0x4ce451(0x1a8)]({'hovered':!0x0})),this[_0x4ce451(0x105)][_0x4ce451(0x206)](()=>this[_0x4ce451(0x1a8)]({'hovered':!0x1})));}[_0xd692a4(0x1a8)](_0x17b8d4){const _0x376061=_0xd692a4;var _0x11c9b9,_0x4b249c,_0x590f57,_0x282c60,_0x50233f,_0x1d9541;this[_0x376061(0x1e0)]=(_0x11c9b9=_0x17b8d4[_0x376061(0x356)])!=null?_0x11c9b9:this[_0x376061(0x1e0)],this['_hovered']=(_0x4b249c=_0x17b8d4['hovered'])!=null?_0x4b249c:this['_hovered'],this['_range']=(_0x590f57=_0x17b8d4[_0x376061(0xfc)])!=null?_0x590f57:this[_0x376061(0x1de)],this[_0x376061(0x25e)]=(_0x282c60=_0x17b8d4[_0x376061(0x302)])!=null?_0x282c60:this['_name'],this[_0x376061(0x24e)]=(_0x50233f=_0x17b8d4[_0x376061(0x134)])!=null?_0x50233f:this['_labelPosition'],this['_backgroundColor']=(_0x1d9541=_0x17b8d4[_0x376061(0xe2)])!=null?_0x1d9541:this[_0x376061(0x142)],this[_0x376061(0x15f)]({'width':_0x17b8d4[_0x376061(0x284)],'height':_0x17b8d4[_0x376061(0x132)]});}[_0xd692a4(0x11c)](_0xda9a18){const _0x559065=_0xd692a4,{row:_0x4c0578,column:_0x42a6a8}=_0xda9a18;if(_0x4c0578>=this['_range']['startRow']&&_0x4c0578<=this[_0x559065(0x1de)][_0x559065(0x291)]&&_0x42a6a8>=this[_0x559065(0x1de)]['startColumn']&&_0x42a6a8<=this['_range'][_0x559065(0xe5)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xd692a4(0x195)](_0x26af1d){return!0x1;}['_draw'](_0xf43dfc){const _0x1b40dd=_0xd692a4;_0x56eea1[_0x1b40dd(0x26f)][_0x1b40dd(0x111)](_0xf43dfc,{'width':this[_0x1b40dd(0x284)],'height':this[_0x1b40dd(0x132)],'strokeWidth':_0x1db5a4,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1b40dd(0x16c)]&&(_0xf43dfc[_0x1b40dd(0x305)](),_0xf43dfc[_0x1b40dd(0x131)](0x1,0x0,0x0,0x1,this[_0x1b40dd(0x284)],this[_0x1b40dd(0x24e)]===_0x1b40dd(0x12b)?0x0:-_0xe8819b),_0x1e266e['drawWith'](_0xf43dfc,{'text':this[_0x1b40dd(0x25e)],'color':this[_0x1b40dd(0x1e0)]}),_0xf43dfc[_0x1b40dd(0x136)]());}}var _0x2b35a0=Object['getOwnPropertyDescriptor'],_0x2bd24f=(_0x4e3c53,_0x4f5245,_0x55a681,_0x262d9f)=>{for(var _0x3d09dd=_0x262d9f>0x1?void 0x0:_0x262d9f?_0x2b35a0(_0x4f5245,_0x55a681):_0x4f5245,_0x2461cd=_0x4e3c53['length']-0x1,_0x5e55e7;_0x2461cd>=0x0;_0x2461cd--)(_0x5e55e7=_0x4e3c53[_0x2461cd])&&(_0x3d09dd=_0x5e55e7(_0x3d09dd)||_0x3d09dd);return _0x3d09dd;},_0x36eba9=(_0x3ac8bd,_0x120385)=>(_0x473c84,_0x385430)=>_0x120385(_0x473c84,_0x385430,_0x3ac8bd);const _0x495240=0x1389;let _0x2a1e4e=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x12f27f,_0x4f6f3c,_0x4a6e56,_0x2e1689){const _0x4381b6=_0xd692a4;super(),_0x593a34(this,_0x4381b6(0x271),new Set()),_0x593a34(this,_0x4381b6(0x1b6),null),(this['_context']=_0x12f27f,this[_0x4381b6(0x280)]=_0x4f6f3c,this[_0x4381b6(0x258)]=_0x4a6e56,this[_0x4381b6(0x2d7)]=_0x2e1689,this[_0x4381b6(0x1a0)]());}[_0xd692a4(0x1a0)](){const _0x4116f4=_0xd692a4;this[_0x4116f4(0x280)]['currentSkeleton$'][_0x4116f4(0x2ca)](_0x44a4f1['takeUntil'](this['dispose$']),_0x44a4f1[_0x4116f4(0x365)](_0x120c81=>{const _0x479b4a=_0x4116f4;if(_0x120c81){const _0x2473a6=_0x120c81[_0x479b4a(0x1d2)];return _0x116537[_0x479b4a(0x18a)](this['_collabCursorController']['getCollabCursors$'](this[_0x479b4a(0x2e5)][_0x479b4a(0x366)]),this[_0x479b4a(0x2d7)][_0x479b4a(0x114)])[_0x479b4a(0x2ca)](_0x44a4f1[_0x479b4a(0x252)](([_0x3540a5,_0x1aa481])=>{const _0x5749cf=new Map();return _0x3540a5['forEach']((_0x5aee79,_0x31fb6a)=>{const _0x24bdd6=_0xb400;if(_0x5aee79[_0x24bdd6(0x117)]===_0x2473a6){const _0x334cb5={..._0x5aee79};_0x334cb5['color']=this[_0x24bdd6(0x2d7)][_0x24bdd6(0x241)](_0x5aee79['color']),_0x5749cf[_0x24bdd6(0x1da)](_0x31fb6a,_0x334cb5);}}),{'skeleton':_0x120c81,'cursors':_0x5749cf};}));}return _0x116537['of']({'skeleton':null,'cursors':new Map()});}))[_0x4116f4(0x230)](({skeleton:_0x3e9d8b,cursors:_0x36dfad})=>{const _0x4f95ae=_0x4116f4;this[_0x4f95ae(0x11e)](),_0x3e9d8b&&this['_updateCollabCursors'](_0x3e9d8b,_0x36dfad);}),this[_0x4116f4(0x280)][_0x4116f4(0xdb)][_0x4116f4(0x230)](_0x333983=>{const _0x5c31cb=_0x4116f4;if(_0x333983==null)return;const {skeleton:_0x34a27c}=_0x333983,{scene:_0x315141}=this['_context'];_0x315141[_0x5c31cb(0x106)]['subscribeEvent'](_0x4b0795['debounce'](_0x3b68ed=>{const _0x1e5ceb=_0x5c31cb;var _0x3823bd,_0x68c8d6;const {offsetX:_0x584a86,offsetY:_0x96ed20}=_0x3b68ed,{x:_0x3f5755,y:_0x1a4435}=_0x315141[_0x1e5ceb(0x341)](_0x56eea1[_0x1e5ceb(0x2d6)][_0x1e5ceb(0xd9)]([_0x584a86,_0x96ed20])),{scaleX:_0x21f9b3,scaleY:_0x1a5fc7}=_0x315141[_0x1e5ceb(0x27d)](),_0x4f6ee3=_0x315141[_0x1e5ceb(0x36b)](_0x56eea1[_0x1e5ceb(0x33b)]['VIEW_MAIN']),_0x49f05c=_0x315141[_0x1e5ceb(0x23b)](_0x56eea1['Vector2'][_0x1e5ceb(0xd9)]([_0x3f5755,_0x1a4435]),_0x4f6ee3),_0x5041cb=_0x34a27c[_0x1e5ceb(0x1d3)](_0x584a86,_0x96ed20,_0x21f9b3,_0x1a5fc7,_0x49f05c);((_0x3823bd=this['_lastPointer'])==null?void 0x0:_0x3823bd[_0x1e5ceb(0x12c)])===_0x5041cb[_0x1e5ceb(0x12c)]&&((_0x68c8d6=this['_lastPointer'])==null?void 0x0:_0x68c8d6['row'])===_0x5041cb[_0x1e5ceb(0x237)]||this['_cursors'][_0x1e5ceb(0x345)](_0x1b9e02=>{_0x1b9e02['onMouseMove'](_0x5041cb);});},0x64));});}[_0xd692a4(0x24f)](_0x2bb093,_0x47c60c){const _0xf148e7=_0xd692a4;var _0x4f0e23;const _0x45ed7b=(_0x4f0e23=this[_0xf148e7(0x280)][_0xf148e7(0x10c)]())==null?void 0x0:_0x4f0e23['skeleton'];if(!_0x45ed7b)return;const _0x560323=this[_0xf148e7(0x321)]();if(!_0x560323)return;this[_0xf148e7(0x271)][_0xf148e7(0x345)](_0x537537=>{const _0x44bf24=_0xf148e7;_0x537537[_0x44bf24(0x265)]();});const {scene:_0x4c4d63}=_0x560323,_0x56f28c=_0x4ed795(Array[_0xf148e7(0x198)](_0x47c60c['values']()))['map'](_0x379002=>{const _0x15f4ce=_0xf148e7,{color:_0xd14e4,range:_0x29b02a,name:_0x5c097d,selection:_0x2dd462,sheetID:_0x1d7c91}=_0x379002,{startColumn:_0xa60297,startRow:_0x3f105e,endColumn:_0x5138e5,endRow:_0x40ed09}=_0x29b02a,_0x14e424=_0x485b3a[_0x15f4ce(0x2ff)](_0x3f105e,_0xa60297,_0x4c4d63,_0x45ed7b),_0x38660a=_0x485b3a[_0x15f4ce(0x2ff)](_0x40ed09,_0x5138e5,_0x4c4d63,_0x45ed7b),{columnHeaderHeightAndMarginTop:_0x4a7080}=_0x45ed7b,{startX:_0xb6cc41,startY:_0x936f50}=_0x14e424,{endX:_0x38c610,endY:_0x4d3586}=_0x38660a,_0x4d1752=_0x38c610-_0xb6cc41,_0x17052c=_0x4d3586-_0x936f50,_0x27f112={'labelPosition':_0x936f50-_0x4a7080>=_0xe8819b?_0x15f4ce(0x1f0):_0x15f4ce(0x12b),'sheetID':_0x1d7c91,'range':_0x29b02a,'color':_0xd14e4,'name':_0x5c097d,'selection':_0x2dd462,'left':_0xb6cc41,'top':_0x936f50,'width':_0x4d1752,'height':_0x17052c,'evented':!0x1,'zIndex':_0x495240};return new _0x49f936(_0x5c097d,_0x27f112);});_0x4c4d63['addObjects'](_0x56f28c,_0x272f9e),this[_0xf148e7(0x271)]=new Set(_0x56f28c);}['_removeCollabCursors'](){const _0xf6468b=_0xd692a4;var _0x583d8e;(_0x583d8e=this['_cursors'])==null||_0x583d8e[_0xf6468b(0x345)](_0x601945=>_0x601945[_0xf6468b(0x1ca)]());}[_0xd692a4(0x321)](){const _0x2e5baf=_0xd692a4;return _0x485b3a[_0x2e5baf(0x2c9)](this[_0x2e5baf(0x2e5)][_0x2e5baf(0x2a1)],this[_0x2e5baf(0x2e5)]);}};_0x2a1e4e=_0x2bd24f([_0x36eba9(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x485b3a[_0xd692a4(0x2da)])),_0x36eba9(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48ad4d)),_0x36eba9(0x3,_0x4b0795['Inject'](_0x4b0795['ThemeService']))],_0x2a1e4e);function _0x4ed795(_0x132d89){const _0x412e71=_0xd692a4,_0x442718=new Map();return _0x132d89['forEach'](_0x2648bb=>{const _0x4888e4=_0xb400;if(_0x442718[_0x4888e4(0x141)](_0x2648bb[_0x4888e4(0x130)])){const _0x511319=_0x442718[_0x4888e4(0x166)](_0x2648bb['selection']);_0x511319['name']+=',\x20'+_0x2648bb[_0x4888e4(0x302)];}else _0x442718[_0x4888e4(0x1da)](_0x2648bb[_0x4888e4(0x130)],_0x2648bb);}),Array[_0x412e71(0x198)](_0x442718[_0x412e71(0x263)]());}var _0x286d81=Object['getOwnPropertyDescriptor'],_0x3f8545=(_0x30ed2b,_0x1a3e58,_0xeaf613,_0xf61b45)=>{const _0x18e7d2=_0xd692a4;for(var _0x22d7c4=_0xf61b45>0x1?void 0x0:_0xf61b45?_0x286d81(_0x1a3e58,_0xeaf613):_0x1a3e58,_0x3e14f6=_0x30ed2b[_0x18e7d2(0x32c)]-0x1,_0x294092;_0x3e14f6>=0x0;_0x3e14f6--)(_0x294092=_0x30ed2b[_0x3e14f6])&&(_0x22d7c4=_0x294092(_0x22d7c4)||_0x22d7c4);return _0x22d7c4;},_0x232b94=(_0x2b2fa0,_0x252fe9)=>(_0x5b5071,_0x514827)=>_0x252fe9(_0x5b5071,_0x514827,_0x2b2fa0);let _0x4bc1c5=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x3c22fd,_0x4301e8,_0x59e4dd,_0x45ea12,_0x1be7f1,_0x3f978c){const _0x4454fe=_0xd692a4;super(),this['_beforeCloseService']=_0x3c22fd,this['_localCacheService']=_0x4301e8,this['_collaborationUIEventService']=_0x59e4dd,this[_0x4454fe(0xca)]=_0x45ea12,this[_0x4454fe(0x148)]=_0x1be7f1,this['_localeService']=_0x3f978c,this[_0x4454fe(0x21c)](),this[_0x4454fe(0x118)]();}[_0xd692a4(0x21c)](){const _0x2d10cc=_0xd692a4;this[_0x2d10cc(0x278)](this[_0x2d10cc(0x23f)][_0x2d10cc(0x1be)](()=>{const _0x151f71=_0x2d10cc;if(this[_0x151f71(0x124)]['saveTaskMap'][_0x151f71(0x32a)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xd692a4(0x118)](){const _0x10c71f=_0xd692a4;this[_0x10c71f(0x278)](this['_collaborationUIEventService'][_0x10c71f(0x11a)]['subscribe'](_0x29818a=>{const _0x444b4a=_0x10c71f;_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x102)]&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x304))}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x178)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0xfa))}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x137)]&&this['_notificationService'][_0x444b4a(0x342)]({'title':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x107)),'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x2ec)),'type':'error','duration':0x0}),_0x29818a['id']===_0x48da18['CollaborationUIEventId'][_0x444b4a(0x20a)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)]['Error'],'content':this['_localeService']['t'](_0x444b4a(0xfa))+'('+_0x29818a['data']+')'}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)]['Warning'],'content':this[_0x444b4a(0x16b)]['t'](_0x29818a[_0x444b4a(0x349)]||'')}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x33f)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this['_localeService']['t']('session.will-retry')}),_0x29818a['id']===_0x48da18['CollaborationUIEventId'][_0x444b4a(0xe6)]&&this[_0x444b4a(0xca)]['show']({'type':_0x19c5e8[_0x444b4a(0x156)]['Error'],'content':this[_0x444b4a(0x16b)]['t']('session.connection-failed')}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x2aa)]&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8['MessageType'][_0x444b4a(0x242)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x2f9))});}));}};_0x4bc1c5=_0x3f8545([_0x232b94(0x0,_0x1f01e3[_0xd692a4(0x2ea)]),_0x232b94(0x1,_0x48da18[_0xd692a4(0x32f)]),_0x232b94(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x1d4)])),_0x232b94(0x3,_0x1f01e3[_0xd692a4(0x33a)]),_0x232b94(0x4,_0x1f01e3[_0xd692a4(0x138)]),_0x232b94(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x347)]))],_0x4bc1c5);const _0x3b5ff8=_0xd692a4(0x360),_0x4b856b={};var _0x38987c=Object[_0xd692a4(0x158)],_0x245e3b=(_0x5f001a,_0x181bca,_0x2a531c,_0x2bbd7b)=>{const _0x1bca46=_0xd692a4;for(var _0x24ec56=_0x2bbd7b>0x1?void 0x0:_0x2bbd7b?_0x38987c(_0x181bca,_0x2a531c):_0x181bca,_0x4cce9a=_0x5f001a[_0x1bca46(0x32c)]-0x1,_0x3f6f62;_0x4cce9a>=0x0;_0x4cce9a--)(_0x3f6f62=_0x5f001a[_0x4cce9a])&&(_0x24ec56=_0x3f6f62(_0x24ec56)||_0x24ec56);return _0x24ec56;},_0x52ef6b=(_0x317665,_0x63906e)=>(_0x5688b8,_0x426fbe)=>_0x63906e(_0x5688b8,_0x426fbe,_0x317665);let _0x31d48f=class{constructor(_0x6abdcc,_0x3df797){const _0x28901c=_0xd692a4;this[_0x28901c(0x32e)]=_0x6abdcc,this['_renderManagerService']=_0x3df797;}[_0xd692a4(0x2a9)](_0x92a14d){const _0x2a5070=_0xd692a4;this['_transformUndoRedoStack'](_0x92a14d),this[_0x2a5070(0x21f)](_0x92a14d);}['transformRemoteChangeset'](_0x5c0e12){const _0x492fdf=_0xd692a4,{unitID:_0x5b520e}=_0x5c0e12,_0x364cec=this['_renderManagerService']['getRenderById'](_0x5b520e)['with'](_0x592c9e[_0x492fdf(0x11d)]),{redoCache:_0xa5c35e}=_0x364cec[_0x492fdf(0x179)]();if(_0xa5c35e[_0x492fdf(0x32c)]===0x0)return _0x5c0e12;let _0x4c7717=_0x4b0795['Tools'][_0x492fdf(0x2f0)](_0x5c0e12[_0x492fdf(0x2e6)][0x0]);for(let _0x28c11d=0x0;_0x28c11d<_0xa5c35e[_0x492fdf(0x32c)];_0x28c11d++){const _0x59343d={'id':_0x492fdf(0xde),'params':{..._0xa5c35e[_0x28c11d]}},_0x1137e3=this[_0x492fdf(0x32e)]['transformMutation'](_0x4c7717,_0x59343d,!0x1);if(_0x14a315[_0x492fdf(0x266)](_0x1137e3))throw _0x1137e3[_0x492fdf(0x13c)];_0x4c7717=_0x1137e3[_0x492fdf(0x12f)];}return{..._0x4b0795[_0x492fdf(0x146)][_0x492fdf(0x2f0)](_0x5c0e12),'mutations':[_0x4c7717]};}[_0xd692a4(0x196)](_0x48ff33){const _0x4beb82=_0xd692a4,{unitID:_0x19e3c0}=_0x48ff33,_0x5e3401=this['_renderManagerService'][_0x4beb82(0xea)](_0x19e3c0)[_0x4beb82(0x293)](_0x592c9e[_0x4beb82(0x11d)]),{undoCache:_0x59ba4e,redoCache:_0x454d02}=_0x5e3401[_0x4beb82(0x179)]();if(_0x59ba4e[_0x4beb82(0x32c)]===0x0||_0x454d02[_0x4beb82(0x32c)]===0x0)return;const _0x1ddbbb=[],_0xe6de2a=[];let _0x33aaa4=_0x4b0795['Tools'][_0x4beb82(0x2f0)](_0x48ff33[_0x4beb82(0x2e6)][0x0]),_0x204836=_0x4b0795[_0x4beb82(0x146)][_0x4beb82(0x2f0)](_0x48ff33[_0x4beb82(0x2e6)][0x0]);for(let _0x1c7ae8=_0x59ba4e['length']-0x1;_0x1c7ae8>=0x0;_0x1c7ae8--){const _0x4d7d90={'id':_0x4beb82(0xde),'params':{..._0x59ba4e[_0x1c7ae8]}},_0x277610={'id':_0x4beb82(0xde),'params':{..._0x454d02[_0x1c7ae8]}},_0x3a5562=this[_0x4beb82(0x32e)][_0x4beb82(0x183)](_0x33aaa4,_0x4d7d90,!0x1),_0x303833=this[_0x4beb82(0x32e)][_0x4beb82(0x183)](_0x204836,_0x277610,!0x1);if(_0x14a315[_0x4beb82(0x266)](_0x3a5562))throw _0x3a5562['error'];if(_0x14a315[_0x4beb82(0x266)](_0x303833))throw _0x303833[_0x4beb82(0x13c)];_0x1ddbbb[_0x4beb82(0x281)](_0x3a5562[_0x4beb82(0x2a6)][_0x4beb82(0x354)]),_0xe6de2a[_0x4beb82(0x281)](_0x303833['m2Prime'][_0x4beb82(0x354)]),_0x33aaa4=_0x3a5562[_0x4beb82(0x12f)],_0x204836=_0x303833[_0x4beb82(0x12f)];}_0x5e3401[_0x4beb82(0x320)]({'undoCache':_0x1ddbbb,'redoCache':_0xe6de2a});}[_0xd692a4(0x21f)](_0xa3af9b){const _0x124229=_0xd692a4,{unitID:_0x30a560}=_0xa3af9b,_0x2e5cbc=this['_renderManagerService'][_0x124229(0xea)](_0x30a560)[_0x124229(0x293)](_0x592c9e[_0x124229(0x11d)]),_0x14b3a3=_0x2e5cbc[_0x124229(0x2b4)]();if(_0x14b3a3==null)return;const _0x3600f4=[{'id':_0x124229(0xde),'params':{'unitId':_0xa3af9b[_0x124229(0x290)],'actions':null,'textRanges':[_0x14b3a3]}}],_0x2a8112=this[_0x124229(0x32e)]['transformMutationsWithChangeset'](_0xa3af9b,_0x3600f4);if(!_0x14a315[_0x124229(0xcd)](_0x2a8112))throw _0x2a8112[_0x124229(0x13c)];const _0x583086=_0x2a8112[_0x124229(0x2a6)][0x0][_0x124229(0x354)][_0x124229(0x2ac)];Array[_0x124229(0x23c)](_0x583086)&&_0x583086[_0x124229(0x32c)]&&_0x2e5cbc[_0x124229(0x182)](_0x583086[0x0]);}};_0x31d48f=_0x245e3b([_0x52ef6b(0x0,_0x14a315[_0xd692a4(0x35a)]),_0x52ef6b(0x1,_0x56eea1[_0xd692a4(0x2f4)])],_0x31d48f);var _0x409848=Object[_0xd692a4(0x158)],_0x49f914=(_0x1a961f,_0x20bedc,_0x182f8d,_0x482c6a)=>{const _0x3df579=_0xd692a4;for(var _0xb7ceea=_0x482c6a>0x1?void 0x0:_0x482c6a?_0x409848(_0x20bedc,_0x182f8d):_0x20bedc,_0x3edeb9=_0x1a961f[_0x3df579(0x32c)]-0x1,_0x30929d;_0x3edeb9>=0x0;_0x3edeb9--)(_0x30929d=_0x1a961f[_0x3edeb9])&&(_0xb7ceea=_0x30929d(_0xb7ceea)||_0xb7ceea);return _0xb7ceea;},_0x388a2f=(_0x30e7e1,_0x4ae4b9)=>(_0x32dc09,_0xe7fb50)=>_0x4ae4b9(_0x32dc09,_0xe7fb50,_0x30e7e1);let _0x2945ac=class{constructor(_0x1db970,_0x41e5dc,_0x2afcee){const _0x284a83=_0xd692a4;this[_0x284a83(0x160)]=_0x1db970,this[_0x284a83(0x32e)]=_0x41e5dc,this[_0x284a83(0x2c3)]=_0x2afcee;}[_0xd692a4(0x1a9)](_0x289d6a){const _0x2c0932=_0xd692a4;this[_0x2c0932(0xce)](_0x289d6a);}[_0xd692a4(0x150)](_0x263cfc){const _0x215cf0=_0xd692a4,{unitID:_0x3d3fa6}=_0x263cfc,{collaboration:_0x24063a}=this[_0x215cf0(0x2c3)][_0x215cf0(0x246)](_0x3d3fa6);if(_0x24063a['length']===0x0)return _0x263cfc;let _0x414922=_0x4b0795[_0x215cf0(0x146)][_0x215cf0(0x2f0)](_0x263cfc[_0x215cf0(0x2e6)][0x0]);for(let _0x198d49=0x0;_0x198d49<_0x24063a[_0x215cf0(0x32c)];_0x198d49++){const _0x135d2a={'id':_0x215cf0(0xde),'params':{'unitId':_0x24063a[_0x198d49][_0x215cf0(0x366)],..._0x24063a[_0x198d49][_0x215cf0(0x212)]}},_0x251a6b=this[_0x215cf0(0x32e)][_0x215cf0(0x183)](_0x414922,_0x135d2a,!0x1);if(_0x14a315[_0x215cf0(0x266)](_0x251a6b))throw _0x251a6b[_0x215cf0(0x13c)];_0x414922=_0x251a6b['m1Prime'];}return{..._0x4b0795[_0x215cf0(0x146)][_0x215cf0(0x2f0)](_0x263cfc),'mutations':[_0x414922]};}[_0xd692a4(0xce)](_0x1b9a8f){const _0x440d98=_0xd692a4,{unitID:_0x1f50bb}=_0x1b9a8f,{history:_0x569bbc,collaboration:_0x3eb0be}=this[_0x440d98(0x2c3)][_0x440d98(0x246)](_0x1f50bb);if(_0x569bbc[_0x440d98(0x32c)]===0x0&&_0x3eb0be[_0x440d98(0x32c)]===0x0)return;const _0x25fe3a=[],_0x2e034f=[];let _0x42e3ea=_0x4b0795['Tools'][_0x440d98(0x2f0)](_0x1b9a8f['mutations'][0x0]),_0x38a85a=_0x4b0795[_0x440d98(0x146)]['deepClone'](_0x1b9a8f['mutations'][0x0]);for(let _0x17e342=_0x569bbc[_0x440d98(0x32c)]-0x1;_0x17e342>=0x0;_0x17e342--){const _0x225d3c={'id':_0x440d98(0xde),'params':{'unitId':_0x569bbc[_0x17e342][_0x440d98(0x366)],..._0x569bbc[_0x17e342]['undoState']}},_0x32028e={'id':_0x440d98(0xde),'params':{'unitId':_0x569bbc[_0x17e342][_0x440d98(0x366)],..._0x569bbc[_0x17e342][_0x440d98(0x212)]}},_0x3d7771=this[_0x440d98(0x32e)]['transformMutation'](_0x42e3ea,_0x225d3c,!0x1),_0x22ad8c=this[_0x440d98(0x32e)][_0x440d98(0x183)](_0x38a85a,_0x32028e,!0x1);if(_0x14a315[_0x440d98(0x266)](_0x3d7771))throw _0x3d7771[_0x440d98(0x13c)];if(_0x14a315[_0x440d98(0x266)](_0x22ad8c))throw _0x22ad8c[_0x440d98(0x13c)];_0x25fe3a[_0x440d98(0x281)]({..._0x569bbc[_0x17e342],'undoState':_0x3d7771[_0x440d98(0x2a6)][_0x440d98(0x354)],'redoState':_0x22ad8c[_0x440d98(0x2a6)]['params']}),_0x42e3ea=_0x3d7771[_0x440d98(0x12f)],_0x38a85a=_0x22ad8c[_0x440d98(0x12f)];}_0x42e3ea=_0x4b0795['Tools'][_0x440d98(0x2f0)](_0x1b9a8f[_0x440d98(0x2e6)][0x0]),_0x38a85a=_0x4b0795[_0x440d98(0x146)]['deepClone'](_0x1b9a8f[_0x440d98(0x2e6)][0x0]);for(let _0x166f3e=_0x3eb0be[_0x440d98(0x32c)]-0x1;_0x166f3e>=0x0;_0x166f3e--){const _0x3efc1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eb0be[_0x166f3e][_0x440d98(0x366)],..._0x3eb0be[_0x166f3e]['undoState']}},_0xee77b8={'id':_0x440d98(0xde),'params':{'unitId':_0x3eb0be[_0x166f3e]['unitId'],..._0x3eb0be[_0x166f3e][_0x440d98(0x212)]}},_0x3e619a=this['_transformService'][_0x440d98(0x183)](_0x42e3ea,_0x3efc1e,!0x1),_0x2e88f7=this[_0x440d98(0x32e)]['transformMutation'](_0x38a85a,_0xee77b8,!0x1);if(_0x14a315['isTransformMutationFailure'](_0x3e619a))throw _0x3e619a[_0x440d98(0x13c)];if(_0x14a315[_0x440d98(0x266)](_0x2e88f7))throw _0x2e88f7[_0x440d98(0x13c)];_0x2e034f[_0x440d98(0x281)]({..._0x3eb0be[_0x166f3e],'undoState':_0x3e619a[_0x440d98(0x2a6)]['params'],'redoState':_0x2e88f7[_0x440d98(0x2a6)][_0x440d98(0x354)]}),_0x42e3ea=_0x3e619a[_0x440d98(0x12f)],_0x38a85a=_0x2e88f7[_0x440d98(0x12f)];}this['_docStateChangeManagerService'][_0x440d98(0x18c)](_0x1f50bb,{'history':_0x25fe3a,'collaboration':_0x2e034f});}};_0x2945ac=_0x49f914([_0x388a2f(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x388a2f(0x1,_0x14a315[_0xd692a4(0x35a)]),_0x388a2f(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x592c9e[_0xd692a4(0x337)]))],_0x2945ac);var _0x52f0ff=Object[_0xd692a4(0x158)],_0x11d309=(_0x18f4e3,_0x46f0ea,_0x40eab0,_0x45afc1)=>{const _0x28b2a3=_0xd692a4;for(var _0x246619=_0x45afc1>0x1?void 0x0:_0x45afc1?_0x52f0ff(_0x46f0ea,_0x40eab0):_0x46f0ea,_0x1fc1bb=_0x18f4e3[_0x28b2a3(0x32c)]-0x1,_0x2dd5f7;_0x1fc1bb>=0x0;_0x1fc1bb--)(_0x2dd5f7=_0x18f4e3[_0x1fc1bb])&&(_0x246619=_0x2dd5f7(_0x246619)||_0x246619);return _0x246619;},_0x146482=(_0x614e79,_0x531d25)=>(_0x146b79,_0x25db06)=>_0x531d25(_0x146b79,_0x25db06,_0x614e79);let _0xb54c39=class{constructor(_0x1649a9,_0x34a36d){const _0x739b18=_0xd692a4;this[_0x739b18(0x160)]=_0x1649a9,this[_0x739b18(0x32e)]=_0x34a36d;}[_0xd692a4(0x1bb)](_0x24b737){const _0x2139ec=_0xd692a4;var _0x12dc40;const _0x8bf225=this[_0x2139ec(0x160)][_0x2139ec(0x166)](_0x37373d[_0x2139ec(0x30a)]),_0xc35174=(_0x12dc40=_0x8bf225['getDocRanges']())!=null?_0x12dc40:[];if(_0xc35174[_0x2139ec(0x32c)]===0x0)return;const _0x48be08=_0x24b737[_0x2139ec(0x290)],_0x3dec31=[{'id':_0x2139ec(0xde),'params':{'unitId':_0x48be08,'actions':null,'textRanges':_0xc35174}}],_0x23de54=this['_transformService'][_0x2139ec(0x193)](_0x24b737,_0x3dec31);if(!_0x14a315[_0x2139ec(0xcd)](_0x23de54))throw _0x23de54[_0x2139ec(0x13c)];const _0x698a41=_0x23de54[_0x2139ec(0x2a6)][0x0][_0x2139ec(0x354)][_0x2139ec(0x2ac)];Array[_0x2139ec(0x23c)](_0x698a41)&&_0x698a41[_0x2139ec(0x32c)]&&_0x8bf225[_0x2139ec(0x1b9)](_0x698a41,{'unitId':_0x48be08,'subUnitId':_0x48be08},!0x1);}};_0xb54c39=_0x11d309([_0x146482(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795['Injector'])),_0x146482(0x1,_0x14a315['ITransformService'])],_0xb54c39);var _0x1ef498=Object[_0xd692a4(0x158)],_0x4930a1=(_0x185d13,_0x346ebc,_0x32f159,_0x58904f)=>{const _0x198370=_0xd692a4;for(var _0x6f50d5=_0x58904f>0x1?void 0x0:_0x58904f?_0x1ef498(_0x346ebc,_0x32f159):_0x346ebc,_0x385d5f=_0x185d13[_0x198370(0x32c)]-0x1,_0x592e9f;_0x385d5f>=0x0;_0x385d5f--)(_0x592e9f=_0x185d13[_0x385d5f])&&(_0x6f50d5=_0x592e9f(_0x6f50d5)||_0x6f50d5);return _0x6f50d5;},_0x2929c4=(_0x3de94c,_0x7575c5)=>(_0x76919,_0x558b2b)=>_0x7575c5(_0x76919,_0x558b2b,_0x3de94c);let _0x4a72c1=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x3316a5,_0x176656,_0x3a2e40,_0x65ad64,_0x1e2010,_0x525e9a,_0x5bcfaa,_0x343b49){const _0x8c9064=_0xd692a4;super(),_0x593a34(this,'_status$',new _0x116537[(_0x8c9064(0x30c))](_0x48da18['CollaborationStatus'][_0x8c9064(0x184)])),(this[_0x8c9064(0x2c3)]=_0x3316a5,this[_0x8c9064(0x1e3)]=_0x176656,this[_0x8c9064(0x100)]=_0x3a2e40,this[_0x8c9064(0x1a7)]=_0x65ad64,this['_docTransformSelectionsService']=_0x1e2010,this[_0x8c9064(0x104)]=_0x525e9a,this[_0x8c9064(0xca)]=_0x5bcfaa,this[_0x8c9064(0x16b)]=_0x343b49,this[_0x8c9064(0x2ce)]());}[_0xd692a4(0x2ce)](){const _0x176f5c=_0xd692a4;this[_0x176f5c(0x278)](this[_0x176f5c(0x1e3)][_0x176f5c(0x27c)]['subscribe'](_0x10ea9f=>{const _0x483308=_0x176f5c,_0x5bee7e=this[_0x483308(0x2c3)][_0x483308(0x1a6)][_0x483308(0x230)](_0x526615=>{const _0x4e725a=_0x483308;if(_0x526615==null)return;const {unitId:_0x4d8ee5,redoState:_0x356aec,commandId:_0x5b557d}=_0x526615;if(_0x4d8ee5!==_0x10ea9f[_0x4e725a(0x290)])return;const _0x5870e9={'id':_0x5b557d,'type':_0x4b0795[_0x4e725a(0x2a5)]['MUTATION'],'params':{'unitId':_0x4d8ee5,'actions':_0x356aec['actions'],'textRanges':null}};_0x10ea9f['onLocalMutation'](_0x5870e9);});if(_0x10ea9f[_0x483308(0x278)](_0x5bee7e),_0x10ea9f instanceof _0x48da18[_0x483308(0x225)]){const _0x9f02e={'onTransformIME':_0xf26d50=>this[_0x483308(0x100)]['transformIMECache'](_0xf26d50),'onTransformState':_0x21c0b5=>this[_0x483308(0x1a7)][_0x483308(0x1a9)](_0x21c0b5),'onTransformSelections':_0x399cbc=>this[_0x483308(0x23e)][_0x483308(0x1bb)](_0x399cbc),'onSyncEditingCollabCursor':_0x315d53=>this[_0x483308(0x104)][_0x483308(0x191)](_0x315d53),'onTransformRemoteChangesetByIMECache':_0x4e9c9a=>this['_docTransformIMECacheService'][_0x483308(0x150)](_0x4e9c9a),'onTransformRemoteChangesetByStateCache':_0x5bdcf9=>this['_docTransformStateCacheService'][_0x483308(0x150)](_0x5bdcf9)};_0x10ea9f['addHandlerCallback'](_0x9f02e);}}));}};_0x4a72c1=_0x4930a1([_0x2929c4(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x592c9e[_0xd692a4(0x337)])),_0x2929c4(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['CollaborationController'])),_0x2929c4(0x2,_0x4b0795['Inject'](_0x31d48f)),_0x2929c4(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x2945ac)),_0x2929c4(0x4,_0x4b0795[_0xd692a4(0x30b)](_0xb54c39)),_0x2929c4(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x2a6d0)),_0x2929c4(0x6,_0x1f01e3[_0xd692a4(0x33a)]),_0x2929c4(0x7,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x347)]))],_0x4a72c1);var _0x1a9245=Object[_0xd692a4(0x158)],_0x5676a2=(_0x4eba03,_0x471201,_0x13b586,_0x4e0838)=>{for(var _0x5be945=_0x4e0838>0x1?void 0x0:_0x4e0838?_0x1a9245(_0x471201,_0x13b586):_0x471201,_0x1b04c8=_0x4eba03['length']-0x1,_0x16f718;_0x1b04c8>=0x0;_0x1b04c8--)(_0x16f718=_0x4eba03[_0x1b04c8])&&(_0x5be945=_0x16f718(_0x5be945)||_0x5be945);return _0x5be945;},_0x7ace34=(_0xc3ccf9,_0x3020bf)=>(_0x2a858a,_0x48babb)=>_0x3020bf(_0x2a858a,_0x48babb,_0xc3ccf9);let _0x42c1d0=class extends _0x4b0795['Disposable']{constructor(_0x5ef9f1,_0x205900,_0x49761e){const _0x3cfc0e=_0xd692a4;super(),_0x593a34(this,_0x3cfc0e(0x116),new Map()),_0x593a34(this,_0x3cfc0e(0x1b8),new Map()),_0x593a34(this,_0x3cfc0e(0x2d3),!0x1),(this[_0x3cfc0e(0x264)]=_0x5ef9f1,this[_0x3cfc0e(0x30d)]=_0x205900,this['_revisionService']=_0x49761e);}[_0xd692a4(0x22e)](){const _0x17841b=_0xd692a4;this[_0x17841b(0x2d3)]=!0x0;}[_0xd692a4(0x12e)](){const _0x257c4c=_0xd692a4;this[_0x257c4c(0x2d3)]=!0x1;}get['saveTaskMap'](){const _0x3cf71c=_0xd692a4;return this[_0x3cf71c(0x1b8)];}['dispose'](){const _0x5bb276=_0xd692a4;this[_0x5bb276(0x168)]()['then'](()=>super[_0x5bb276(0x1ca)]());}async[_0xd692a4(0x340)](_0x4af522){const _0x3589a9=_0xd692a4;return this[_0x3589a9(0x2d3)]?null:this['_localStorageService'][_0x3589a9(0x1bd)](_0x48da18['getLocalCacheKey'](_0x4af522));}async[_0xd692a4(0xff)](_0x5302d5,_0x408fe7){const _0x29dd51=_0xd692a4;return!!this['_localStorageService'][_0x29dd51(0x140)](_0x5302d5,_0x408fe7);}[_0xd692a4(0x2b6)](_0x576c72,_0x2aa532,_0x2d3843,_0x543565){const _0x36f382=_0xd692a4,_0x5bdc95=this[_0x36f382(0x339)][_0x36f382(0x177)](_0x576c72);this[_0x36f382(0x116)][_0x36f382(0x1da)](_0x576c72,{'unitID':_0x576c72,'type':_0x2aa532,'awaitingChangeset':_0x2d3843,'mutations':_0x543565,'rev':_0x5bdc95}),this['_saveTaskMap'][_0x36f382(0x141)](_0x576c72)||this[_0x36f382(0x13f)](_0x576c72);}[_0xd692a4(0x13f)](_0x328067){const _0x24b82e=_0xd692a4,_0x227a6a=this['_getSaveTimeout']();_0x227a6a===0x0?this['_saveCache'](_0x328067):this[_0x24b82e(0x1b8)]['set'](_0x328067,setTimeout(()=>this[_0x24b82e(0x313)](_0x328067),_0x227a6a));}[_0xd692a4(0x255)](){const _0x361488=_0xd692a4;var _0x3e9984;return(_0x3e9984=this[_0x361488(0x264)][_0x361488(0x220)](_0x48da18[_0x361488(0xec)]))!=null?_0x3e9984:_0x48da18[_0x361488(0xeb)];}['_saveCache'](_0x236508){const _0x403037=_0xd692a4,_0xcd2de9=this[_0x403037(0x1b8)][_0x403037(0x166)](_0x236508);return _0xcd2de9!==void 0x0&&window[_0x403037(0x21d)](_0xcd2de9),this['_localStorageService'][_0x403037(0x140)](_0x48da18[_0x403037(0xf8)](_0x236508),this[_0x403037(0x116)][_0x403037(0x166)](_0x236508))['then'](()=>this[_0x403037(0x1b8)]['delete'](_0x236508));}async[_0xd692a4(0x168)](){const _0x33b3ee=_0xd692a4,_0x28bc20=[];this[_0x33b3ee(0x1b8)][_0x33b3ee(0x345)]((_0x22b828,_0x2ebfdf)=>{const _0x56efc3=_0x33b3ee;window['clearTimeout'](_0x22b828),_0x28bc20['push'](this[_0x56efc3(0x313)](_0x2ebfdf)[_0x56efc3(0x1e9)](()=>{const _0x314086=_0x56efc3;this['_saveTaskMap'][_0x314086(0x324)](_0x2ebfdf);}));}),await Promise[_0x33b3ee(0x32b)](_0x28bc20);}};_0x42c1d0=_0x5676a2([_0x7ace34(0x0,_0x4b0795[_0xd692a4(0x26b)]),_0x7ace34(0x1,_0x4b0795[_0xd692a4(0x129)]),_0x7ace34(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x14a315[_0xd692a4(0x200)]))],_0x42c1d0);class _0x2160a6 extends _0x4b0795[_0xd692a4(0x259)]{constructor(){const _0x5bcfb4=_0xd692a4;super(),_0x593a34(this,'urlChange$'),this[_0x5bcfb4(0x2bc)]=_0x116537['fromEvent'](window,_0x5bcfb4(0x22b))[_0x5bcfb4(0x2ca)](_0x116537[_0x5bcfb4(0x30e)](this[_0x5bcfb4(0x34d)]),_0x116537[_0x5bcfb4(0xda)](0x1),_0x116537[_0x5bcfb4(0x121)](void 0x0));}[_0xd692a4(0x188)](_0x9bc6b,_0x569e03,_0x341d84=!0x1){const _0x278488=_0xd692a4,_0x2a473b=new URL(window['location'][_0x278488(0x311)]);_0x2a473b[_0x278488(0x32d)][_0x278488(0x1da)](_0x9bc6b,_0x569e03),_0x341d84?window[_0x278488(0x315)][_0x278488(0x368)]('','',_0x2a473b[_0x278488(0x24d)]()):window[_0x278488(0x315)][_0x278488(0x2fb)]('','',_0x2a473b[_0x278488(0x24d)]());}['removeParam'](_0x5a01ad,_0x2cfffc=!0x1){const _0x5b21cf=_0xd692a4,_0x346524=new URL(window['location']['href']);_0x346524['searchParams'][_0x5b21cf(0x324)](_0x5a01ad),_0x2cfffc?window[_0x5b21cf(0x315)]['replaceState']('','',_0x346524[_0x5b21cf(0x24d)]()):window[_0x5b21cf(0x315)][_0x5b21cf(0x2fb)]('','',_0x346524[_0x5b21cf(0x24d)]());}[_0xd692a4(0x2a0)](_0x4c88bd){const _0x2b0f7d=_0xd692a4;var _0x30dc3f;return(_0x30dc3f=new URL(window[_0x2b0f7d(0x310)][_0x2b0f7d(0x311)])[_0x2b0f7d(0x32d)][_0x2b0f7d(0x166)](_0x4c88bd))!=null?_0x30dc3f:void 0x0;}}var _0x4b9b4e=Object[_0xd692a4(0x19a)],_0x55e585=Object[_0xd692a4(0x158)],_0x3e3c0f=(_0x594529,_0x3aaabb,_0x47455d)=>_0x3aaabb in _0x594529?_0x4b9b4e(_0x594529,_0x3aaabb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47455d}):_0x594529[_0x3aaabb]=_0x47455d,_0x599bf0=(_0x24a82c,_0x19d985,_0x38834c,_0x75a142)=>{const _0x2fe7e9=_0xd692a4;for(var _0x2203f1=_0x75a142>0x1?void 0x0:_0x75a142?_0x55e585(_0x19d985,_0x38834c):_0x19d985,_0x5114ec=_0x24a82c[_0x2fe7e9(0x32c)]-0x1,_0x565ab4;_0x5114ec>=0x0;_0x5114ec--)(_0x565ab4=_0x24a82c[_0x5114ec])&&(_0x2203f1=_0x565ab4(_0x2203f1)||_0x2203f1);return _0x2203f1;},_0x405069=(_0x31cd71,_0x5afa31)=>(_0x2a75a4,_0x5dfb8b)=>_0x5afa31(_0x2a75a4,_0x5dfb8b,_0x31cd71),_0x3c8ccb=(_0x4ee182,_0x46f06b,_0x55925d)=>_0x3e3c0f(_0x4ee182,_0x46f06b+'',_0x55925d);const _0x2b5b66=_0xd692a4(0x33c);_0x535fbe[_0xd692a4(0x27a)]=class extends _0x4b0795[_0xd692a4(0x2b0)]{constructor(_0x1030a8=_0x4b856b,_0x4a8fc5,_0x238834,_0x2fb15a){const _0x2532d1=_0xd692a4;super(),this[_0x2532d1(0x194)]=_0x1030a8,this[_0x2532d1(0x29e)]=_0x4a8fc5,this[_0x2532d1(0x160)]=_0x238834,this[_0x2532d1(0x264)]=_0x2fb15a;const {..._0x3d32b7}=_0x4b0795[_0x2532d1(0x14c)]({},_0x4b856b,this[_0x2532d1(0x194)]);this['_configService']['setConfig'](_0x3b5ff8,_0x3d32b7);}[_0xd692a4(0x19b)](){const _0x1a98b1=_0xd692a4;this[_0x1a98b1(0x2be)](),this['_initDependencies']();}[_0xd692a4(0xe4)](){const _0x32a840=_0xd692a4;this[_0x32a840(0x359)]();}[_0xd692a4(0x2be)](){const _0x33f00e=_0xd692a4;var _0x403ccd;const _0x116062=[[_0x54f0e6],[_0xb54c39],[_0x31d48f],[_0x2945ac],[_0x2a6d0],[_0x48fdcd,{'useClass':_0x2160a6}],[_0x2271a4[_0x33f00e(0x36a)],{'useClass':_0x2271a4[_0x33f00e(0x213)]}],[_0x48da18['ILocalCacheService'],{'useClass':_0x42c1d0}],[_0x535fbe[_0x33f00e(0x268)]],[_0x4a72c1],[_0x4bc1c5],[_0x48ad4d],[_0x34f297],[_0x535fbe[_0x33f00e(0x133)]]];_0x4b0795['registerDependencies'](this[_0x33f00e(0x160)],_0x4b0795[_0x33f00e(0x2e3)](_0x116062,(_0x403ccd=this[_0x33f00e(0x194)])==null?void 0x0:_0x403ccd['override']));}[_0xd692a4(0x359)](){const _0x1626b3=_0xd692a4;this[_0x1626b3(0x278)](this[_0x1626b3(0x29e)][_0x1626b3(0x2f8)](_0x4b0795[_0x1626b3(0xfb)]['UNIVER_DOC'],[_0x183e62])),this[_0x1626b3(0x278)](this[_0x1626b3(0x29e)][_0x1626b3(0x2f8)](_0x4b0795['UniverInstanceType']['UNIVER_SHEET'],[_0x2a1e4e]));}['_initDependencies'](){const _0x343b8b=_0xd692a4;_0x4b0795[_0x343b8b(0x2f3)](this[_0x343b8b(0x160)],[[_0x48ad4d],[_0x535fbe[_0x343b8b(0x268)]],[_0x4a72c1],[_0x4bc1c5],[_0x535fbe[_0x343b8b(0x133)]]]);}},_0x3c8ccb(_0x535fbe[_0xd692a4(0x27a)],'pluginName',_0x2b5b66),_0x535fbe[_0xd692a4(0x27a)]=_0x599bf0([_0x4b0795[_0xd692a4(0x2e2)](_0x48da18['UniverCollaborationClientPlugin']),_0x405069(0x1,_0x56eea1[_0xd692a4(0x2f4)]),_0x405069(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x405069(0x3,_0x4b0795[_0xd692a4(0x26b)])],_0x535fbe[_0xd692a4(0x27a)]);var _0x17c85f=Object['getOwnPropertyDescriptor'],_0x1dd36a=(_0x689258,_0x1a7315,_0x3510cc,_0x8d3cc7)=>{const _0x417769=_0xd692a4;for(var _0x3e47d2=_0x8d3cc7>0x1?void 0x0:_0x8d3cc7?_0x17c85f(_0x1a7315,_0x3510cc):_0x1a7315,_0x1733fb=_0x689258[_0x417769(0x32c)]-0x1,_0x10be7c;_0x1733fb>=0x0;_0x1733fb--)(_0x10be7c=_0x689258[_0x1733fb])&&(_0x3e47d2=_0x10be7c(_0x3e47d2)||_0x3e47d2);return _0x3e47d2;},_0x5c2586=(_0x24c167,_0x4a55b0)=>(_0x1ef5dd,_0x5532f1)=>_0x4a55b0(_0x1ef5dd,_0x5532f1,_0x24c167);_0x535fbe[_0xd692a4(0x346)]=class extends _0x48da18[_0xd692a4(0x1fe)]{constructor(_0x1cfb1b,_0x267ba3,_0x3c8418,_0x486d5a,_0x36acd5){super(_0x1cfb1b,_0x267ba3,_0x3c8418,_0x486d5a,_0x36acd5);}async[_0xd692a4(0xe7)](_0x4b89e7){const _0x3d17de=_0xd692a4,_0xe485d4=await this[_0x3d17de(0x199)](),_0x703189=this[_0x3d17de(0x30f)](_0x4b89e7,_0xe485d4);return this[_0x3d17de(0x1f4)](_0x703189);}[_0xd692a4(0x30f)](_0x449632,_0x363bb5){const _0x50a1fa=_0xd692a4,_0x2e8d8b=typeof window>'u'?new URL(_0x449632):new URL(_0x449632,window[_0x50a1fa(0x310)][_0x50a1fa(0x157)]);_0x2e8d8b[_0x50a1fa(0x32d)]['set'](_0x50a1fa(0x1c5),_0x363bb5);const _0x141ba8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50a1fa(0x310)][_0x50a1fa(0xe8)]);return _0x141ba8['get']('runId')&&_0x2e8d8b['searchParams'][_0x50a1fa(0x1da)]('runId',_0x141ba8['get']('runId')),_0x2e8d8b[_0x50a1fa(0x24d)]();}async[_0xd692a4(0x199)](){const _0x39ac22=_0xd692a4;var _0x5b7b92,_0x281e80,_0x5805cd;const _0x4d8a38=this[_0x39ac22(0x264)][_0x39ac22(0x220)](_0x48da18['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xc2270c=(_0x5b7b92=_0x4d8a38==null?void 0x0:_0x4d8a38['wsSessionTicketUrl'])!=null?_0x5b7b92:_0x48da18[_0x39ac22(0x14a)];return(_0x5805cd=(_0x281e80=(await this[_0x39ac22(0x348)]['get'](_0xc2270c,{'headers':{'Content-Type':_0x39ac22(0xd3)}}))[_0x39ac22(0x189)])==null?void 0x0:_0x281e80[_0x39ac22(0x322)])!=null?_0x5805cd:'';}},_0x535fbe['BrowserCollaborationSocketService']=_0x1dd36a([_0x5c2586(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x5c2586(0x1,_0x4b0795['Inject'](_0x2271a4[_0xd692a4(0x2b2)])),_0x5c2586(0x2,_0x4b0795[_0xd692a4(0x26b)]),_0x5c2586(0x3,_0x4b0795[_0xd692a4(0x2c7)]),_0x5c2586(0x4,_0x14a315['ISnapshotServerService'])],_0x535fbe['BrowserCollaborationSocketService']);var _0x5184ad=(_0x262d7f=>(_0x262d7f[_0x262d7f[_0xd692a4(0x1df)]=0x0]=_0xd692a4(0x1df),_0x262d7f[_0x262d7f['OK']=0x1]='OK',_0x262d7f[_0x262d7f[_0xd692a4(0x2d8)]=0x2]=_0xd692a4(0x2d8),_0x262d7f[_0x262d7f[_0xd692a4(0x137)]=0x3]=_0xd692a4(0x137),_0x262d7f[_0x262d7f[_0xd692a4(0xd1)]=0x4]=_0xd692a4(0xd1),_0x262d7f[_0x262d7f[_0xd692a4(0x364)]=0x5]='UNAUTHENTICATED',_0x262d7f[_0x262d7f[_0xd692a4(0x292)]=0x6]=_0xd692a4(0x292),_0x262d7f[_0x262d7f[_0xd692a4(0xee)]=0x7]='INVALID_ARGUMENT',_0x262d7f[_0x262d7f[_0xd692a4(0x2b3)]=0x8]=_0xd692a4(0x2b3),_0x262d7f[_0x262d7f[_0xd692a4(0x2bb)]=0x9]=_0xd692a4(0x2bb),_0x262d7f[_0x262d7f[_0xd692a4(0x1dd)]=0xa]=_0xd692a4(0x1dd),_0x262d7f[_0x262d7f[_0xd692a4(0x269)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x262d7f[_0x262d7f[_0xd692a4(0x1b3)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x262d7f[_0x262d7f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xd692a4(0x314),_0x262d7f[_0x262d7f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x262d7f[_0x262d7f[_0xd692a4(0x1f1)]=0x1389]=_0xd692a4(0x1f1),_0x262d7f[_0x262d7f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xd692a4(0x20d),_0x262d7f[_0x262d7f[_0xd692a4(0x275)]=0x1772]=_0xd692a4(0x275),_0x262d7f[_0x262d7f[_0xd692a4(0x23a)]=0x1773]=_0xd692a4(0x23a),_0x262d7f[_0x262d7f[_0xd692a4(0x19d)]=0x1b59]='APPLY_REJECT',_0x262d7f[_0x262d7f[_0xd692a4(0x248)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x262d7f[_0x262d7f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xd692a4(0x1ba),_0x262d7f[_0x262d7f[_0xd692a4(0x253)]=0x1b5c]=_0xd692a4(0x253),_0x262d7f[_0x262d7f[_0xd692a4(0x2cc)]=0x1b5d]=_0xd692a4(0x2cc),_0x262d7f[_0x262d7f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xd692a4(0x333),_0x262d7f[_0x262d7f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xd692a4(0x2b1),_0x262d7f[_0x262d7f[_0xd692a4(0xcf)]=0x232a]=_0xd692a4(0xcf),_0x262d7f[_0x262d7f[_0xd692a4(0x2eb)]=0x232b]=_0xd692a4(0x2eb),_0x262d7f[_0x262d7f[_0xd692a4(0x2c6)]=0x232c]=_0xd692a4(0x2c6),_0x262d7f[_0x262d7f[_0xd692a4(0x1e5)]=0x232d]=_0xd692a4(0x1e5),_0x262d7f[_0x262d7f[_0xd692a4(0x28e)]=0x2711]=_0xd692a4(0x28e),_0x262d7f[_0x262d7f[_0xd692a4(0x312)]=0x2712]=_0xd692a4(0x312),_0x262d7f[_0x262d7f[_0xd692a4(0x28a)]=0x2713]=_0xd692a4(0x28a),_0x262d7f[_0x262d7f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x262d7f[_0x262d7f[_0xd692a4(0x35b)]=0x271a]=_0xd692a4(0x35b),_0x262d7f[_0x262d7f[_0xd692a4(0x123)]=0x271b]=_0xd692a4(0x123),_0x262d7f[_0x262d7f[_0xd692a4(0x279)]=0x271c]=_0xd692a4(0x279),_0x262d7f[_0x262d7f[_0xd692a4(0x2e4)]=0x271d]=_0xd692a4(0x2e4),_0x262d7f[_0x262d7f[_0xd692a4(0x1d1)]=0x271e]=_0xd692a4(0x1d1),_0x262d7f[_0x262d7f[_0xd692a4(0x353)]=0x271f]=_0xd692a4(0x353),_0x262d7f[_0x262d7f[_0xd692a4(0x29f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x262d7f[_0x262d7f[_0xd692a4(0xd2)]=0x2af9]=_0xd692a4(0xd2),_0x262d7f[_0x262d7f[_0xd692a4(0x1e4)]=0x2ee1]=_0xd692a4(0x1e4),_0x262d7f[_0x262d7f[_0xd692a4(0xd6)]=0x2ee2]=_0xd692a4(0xd6),_0x262d7f[_0x262d7f['INVITE_CODE_REQUIRED']=0x2ee3]=_0xd692a4(0x1d5),_0x262d7f[_0x262d7f['USER_NOT_INVITED_CODE']=0x2ee4]=_0xd692a4(0x17d),_0x262d7f[_0x262d7f[_0xd692a4(0x2c2)]=0x2ee5]=_0xd692a4(0x2c2),_0x262d7f[_0x262d7f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd692a4(0x2d5),_0x262d7f[_0x262d7f[_0xd692a4(0xf4)]=0x32ca]=_0xd692a4(0xf4),_0x262d7f[_0x262d7f[_0xd692a4(0x1c2)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x262d7f[_0x262d7f[_0xd692a4(0x2e0)]=-0x1]='UNRECOGNIZED',_0x262d7f))(_0x5184ad||{}),_0x6bd3eb=Object[_0xd692a4(0x158)],_0x5de056=(_0x5d2a5a,_0x5cf784,_0x5d0157,_0x51a27e)=>{const _0x2132d9=_0xd692a4;for(var _0x19c484=_0x51a27e>0x1?void 0x0:_0x51a27e?_0x6bd3eb(_0x5cf784,_0x5d0157):_0x5cf784,_0x1e2680=_0x5d2a5a[_0x2132d9(0x32c)]-0x1,_0x2f54a4;_0x1e2680>=0x0;_0x1e2680--)(_0x2f54a4=_0x5d2a5a[_0x1e2680])&&(_0x19c484=_0x2f54a4(_0x19c484)||_0x19c484);return _0x19c484;},_0x883735=(_0x2220af,_0x1b2690)=>(_0x5b15e8,_0x59dc4d)=>_0x1b2690(_0x5b15e8,_0x59dc4d,_0x2220af);_0x535fbe[_0xd692a4(0x14d)]=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0xf5583c,_0x33dd04,_0x49dead){const _0x2ba87e=_0xd692a4;super(),this['_instanceService']=_0xf5583c,this[_0x2ba87e(0x348)]=_0x33dd04,this[_0x2ba87e(0x264)]=_0x49dead;}async[_0xd692a4(0x1ce)](_0x39de35,_0x2b91f3,_0x5f0e69,..._0x444ee9){const _0x1a6ac4=_0xd692a4;var _0x203758,_0x54079a,_0x58b831,_0x5bcd3b;const _0x5851b5=this[_0x1a6ac4(0x101)][_0x1a6ac4(0x1a3)]();if(!_0x5851b5)throw new Error(_0x1a6ac4(0x35c));const _0x2a69d2=((_0x203758=this[_0x1a6ac4(0x264)]['getConfig'](_0x48da18[_0x1a6ac4(0x294)]))!=null?_0x203758:_0x48da18[_0x1a6ac4(0x10b)])+'/'+_0x39de35+'/run/'+_0x2b91f3,_0x48fc89=new URL(window[_0x1a6ac4(0x310)][_0x1a6ac4(0x311)]),_0x2d9b4d={'scriptId':_0x39de35,'runId':(_0x54079a=_0x48fc89['searchParams'][_0x1a6ac4(0x166)]('runId'))!=null?_0x54079a:'','function':_0x2b91f3,'unitId':_0x5851b5[_0x1a6ac4(0x270)](),'argsOfFunction':JSON['stringify'](_0x444ee9),'invokeId':(_0x58b831=_0x5f0e69['invokeId'])!=null?_0x58b831:'','executionId':(_0x5bcd3b=_0x5f0e69['executionId'])!=null?_0x5bcd3b:''};try{const _0x46ab89=await this[_0x1a6ac4(0x348)][_0x1a6ac4(0x11b)](_0x2a69d2,{'body':_0x2d9b4d});return _0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x13c)]&&_0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x13c)][_0x1a6ac4(0x257)]!==_0x5184ad['OK']?'Failed':_0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x25f)];}catch{return _0x1a6ac4(0x306);}}},_0x535fbe[_0xd692a4(0x14d)]=_0x5de056([_0x883735(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x883735(0x1,_0x4b0795['Inject'](_0x2271a4['HTTPService'])),_0x883735(0x2,_0x4b0795[_0xd692a4(0x26b)])],_0x535fbe[_0xd692a4(0x14d)]);const _0x519026=0x7530,_0x2903a7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x41a0b8 extends _0x4b0795[_0xd692a4(0x243)]{constructor(){const _0x1f4bd2=_0xd692a4;super(),_0x593a34(this,_0x1f4bd2(0xe0),_0x4b0795['generateRandomId']()),_0x593a34(this,_0x1f4bd2(0x172),new Set()),_0x593a34(this,_0x1f4bd2(0x351),new Map()),_0x593a34(this,'_heartbeatTimer',null),_0x593a34(this,_0x1f4bd2(0x1cd),new Map()),_0x593a34(this,_0x1f4bd2(0x1c7),new Map()),this[_0x1f4bd2(0x1a0)]();}[_0xd692a4(0x1ca)](){const _0x34b626=_0xd692a4;super[_0x34b626(0x1ca)](),this[_0x34b626(0x1cd)][_0x34b626(0x345)]((_0x506bd1,_0x3bf958)=>this[_0x34b626(0x1af)](_0x3bf958)),this['_heartbeatTimer']&&window[_0x34b626(0x25c)](this[_0x34b626(0x329)]);}['getUnitStatus$'](_0x2a13cb){const _0x5f0cc9=_0xd692a4;return this[_0x5f0cc9(0x2ad)](_0x2a13cb)[_0x5f0cc9(0x2ca)](_0x116537[_0x5f0cc9(0x282)]());}[_0xd692a4(0x34e)](_0x19298f){const _0x4ebe6d=_0xd692a4;this[_0x4ebe6d(0x172)][_0x4ebe6d(0x32a)]===0x0&&this[_0x4ebe6d(0x338)](),this['_selfUnitIDs']['add'](_0x19298f),this[_0x4ebe6d(0x119)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x19298f],'isForwarded':!0x1});}[_0xd692a4(0x1f6)](_0x526182){const _0x5f4807=_0xd692a4;this[_0x5f4807(0x172)][_0x5f4807(0x324)](_0x526182),this['_selfUnitIDs']['size']===0x0&&this[_0x5f4807(0x329)]&&window[_0x5f4807(0x25c)](this['_heartbeatTimer']);}[_0xd692a4(0x1a0)](){const _0x2b95fa=_0xd692a4;this[_0x2b95fa(0x278)](_0x4b0795[_0x2b95fa(0x2ba)](_0x116537['fromEvent'](window,_0x2b95fa(0x15d))[_0x2b95fa(0x230)](_0x265d2f=>{const _0x3db0e0=_0x2b95fa;if(_0x265d2f[_0x3db0e0(0x1db)]!==_0x2903a7||!_0x265d2f[_0x3db0e0(0x16e)])return;const _0x586cd0=JSON[_0x3db0e0(0x13e)](_0x265d2f[_0x3db0e0(0x16e)]);this[_0x3db0e0(0xdf)](_0x586cd0);}))),window[_0x2b95fa(0x29b)](_0x2b95fa(0x1f3),()=>this['_send']({'type':0x1,'memberID':this[_0x2b95fa(0xe0)],'unitIDs':Array[_0x2b95fa(0x198)](this[_0x2b95fa(0x172)])}));}[_0xd692a4(0xdf)](_0x1988da){const _0x35520a=_0xd692a4;switch(_0x1988da['type']){case 0x0:this[_0x35520a(0x192)](_0x1988da);break;case 0x1:this[_0x35520a(0x33e)](_0x1988da);break;case 0x2:this['_handleHeartbeatEvent'](_0x1988da);break;}}['_handleJoinEvent'](_0xa0f8b6){const _0x2365f2=_0xd692a4,{unitIDs:_0x21c919,memberID:_0x41df06,isForwarded:_0x30ef05}=_0xa0f8b6;_0x21c919['forEach'](_0x1ce962=>{const _0x579ed6=_0xb400;if(!_0x30ef05&&this['_unitOnClients']['has'](_0x1ce962)&&this['_ensureSubject'](_0x1ce962)['next'](_0x48da18[_0x579ed6(0x203)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x579ed6(0x141)](_0x1ce962)||!this[_0x579ed6(0x351)][_0x579ed6(0x166)](_0x1ce962)[_0x579ed6(0x141)](_0x41df06)){const _0x2f07d6=this[_0x579ed6(0x351)][_0x579ed6(0x166)](_0x1ce962)||new Set();_0x2f07d6['add'](_0x41df06),this[_0x579ed6(0x351)][_0x579ed6(0x1da)](_0x1ce962,_0x2f07d6),this[_0x579ed6(0xcb)](_0x41df06);}}),_0x30ef05||this['_send']({'type':0x0,'memberID':this[_0x2365f2(0xe0)],'unitIDs':[...this[_0x2365f2(0x172)]],'isForwarded':!0x0});}[_0xd692a4(0xcb)](_0x4a0eb1){const _0x5f2f23=_0xd692a4;this[_0x5f2f23(0x1af)](_0x4a0eb1);const _0x51920f=window[_0x5f2f23(0x186)](()=>{const _0x26a980=_0x5f2f23;this['_unitOnClients'][_0x26a980(0x345)](_0x41a6d5=>{const _0x4f5067=_0x26a980;_0x41a6d5[_0x4f5067(0x324)](_0x4a0eb1);});},_0x519026*0x2);this[_0x5f2f23(0x1cd)][_0x5f2f23(0x1da)](_0x4a0eb1,_0x51920f);}[_0xd692a4(0x1af)](_0x5c0d0a){const _0x14fcc4=_0xd692a4;if(this[_0x14fcc4(0x1cd)][_0x14fcc4(0x141)](_0x5c0d0a)){const _0x306d5f=this['_clearOtherTimers'][_0x14fcc4(0x166)](_0x5c0d0a);_0x306d5f&&window[_0x14fcc4(0x21d)](_0x306d5f),this[_0x14fcc4(0x1cd)][_0x14fcc4(0x1da)](_0x5c0d0a,null);}}['_handleLeaveEvent'](_0x10a8d1){const _0x1346ba=_0xd692a4,{memberID:_0x3a9043,unitIDs:_0x516e90}=_0x10a8d1;_0x516e90[_0x1346ba(0x345)](_0x121379=>{const _0x7ec639=_0x1346ba;var _0x5c21f1;const _0x15444e=this[_0x7ec639(0x351)]['get'](_0x121379);_0x15444e&&(_0x15444e[_0x7ec639(0x324)](_0x3a9043),(_0x5c21f1=this[_0x7ec639(0x2ad)](_0x121379))==null||_0x5c21f1[_0x7ec639(0x214)](_0x15444e[_0x7ec639(0x32a)]===0x0?_0x48da18['UnitStatus'][_0x7ec639(0x318)]:_0x48da18[_0x7ec639(0x203)][_0x7ec639(0x1a1)]));}),this[_0x1346ba(0x1af)](_0x3a9043);}[_0xd692a4(0x289)](_0x3352d6){const _0x48e352=_0xd692a4;this[_0x48e352(0xcb)](_0x3352d6[_0x48e352(0x369)]);}[_0xd692a4(0x119)](_0x4bb1ce){const _0x1e59e1=_0xd692a4;localStorage[_0x1e59e1(0x140)](_0x2903a7,JSON['stringify'](_0x4bb1ce));}[_0xd692a4(0x338)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x139b2a=_0xb400;this[_0x139b2a(0x119)]({'type':0x2,'memberID':this[_0x139b2a(0xe0)]});},_0x519026);}['_ensureSubject'](_0x2df35e){const _0x3e71d2=_0xd692a4;return this[_0x3e71d2(0x1c7)][_0x3e71d2(0x141)](_0x2df35e)||this['_unitStatus'][_0x3e71d2(0x1da)](_0x2df35e,new _0x116537[(_0x3e71d2(0x30c))](_0x48da18['UnitStatus'][_0x3e71d2(0x318)])),this[_0x3e71d2(0x1c7)][_0x3e71d2(0x166)](_0x2df35e);}}_0x535fbe[_0xd692a4(0x1c6)]=_0x48fdcd,_0x535fbe[_0xd692a4(0x228)]=_0x49f936,_0x535fbe[_0xd692a4(0x221)]=_0x41a0b8,_0x535fbe['WebURLService']=_0x2160a6,Object[_0xd692a4(0x19a)](_0x535fbe,Symbol[_0xd692a4(0x1fb)],{'value':_0xd692a4(0x26c)});}));function _0x4cb6(){const _0x50eadf=['session.collaboration-timeout','hasOwnProperty','pushState','@univerjs/docs','_hover','_syncEditingCollabCursorService','getCoordByCell','DOC_RANGE_TYPE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','name','UniverDocs','collaboration.single-unit.warning','save','Failed','moveTo','_colorIndex','collabStatus.notCollab','DocSelectionManagerService','Inject','BehaviorSubject','_localStorageService','takeUntil','_createSocketURL','location','href','YUUMI_URL_COL_OUT_OF_RANGE','_saveCache','EMAIL_VERIFY_CODE_MISMATCH','history','tag','_updateSubUnitFromURLParams','NO_OTHER_CLIENTS_EDITING','@univerjs/engine-formula','assign','startsWith','_hideTimer','indexOf','mask','UPDATE_CURSOR','setUndoRedoMutationParamsCache','_getSheetObject','ticket','resize','delete','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabCursorState$','_drawAnchor','push','_heartbeatTimer','size','all','length','searchParams','_transformService','ILocalCacheService','url(#$1','createElement','UniverDrawing','CONNECTOR_DATA_TOO_LARGE','259192JvaLXt','UniverEngineRender','use','DocStateChangeManagerService','_scheduleHeartbeat','_revisionService','IMessageService','SHEET_VIEWPORT_KEY','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getMergeData','_handleLeaveEvent','SOCKET_FAILED_RETRY','loadOfflineData','getRelativeToViewportCoord','show','8WiWtxe','620XroBbs','forEach','BrowserCollaborationSocketService','LocaleService','_httpService','data','_startDocCollabCursor','whenReady','icon','dispose$','editingUnit','_draw','_onCursorUpdate','_unitOnClients','onCommandExecuted','YUUMI_AI_RUN_FAILED','params','closePath','color','_docSkeletonManagerService','_roomMembers$','_registerRenderDependencies','ITransformService','YUUMI_NO_CUBOID_FOR_QUESTION','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertCol','_entities','UniverRpc','collaboration-client-ui.config','collab-text-range-','UniverProCollaborationClient','colorChannel1','UNAUTHENTICATED','switchMap','unitId','isActive','replaceState','memberID','ISocketService','getViewport','_urlService','_messageService','_scheduleClearOtherTimer','div','isTransformMutationsWithChangesetSuccess','_transformHistoryAndStateStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','application/json','collab-rect-range-','http://www.w3.org/2000/svg','INVALID_INVITE_CODE','_memberService','collabStatus.syncing','FromArray','shareReplay','currentSkeleton$','getRangePointData','FETCH_MISS','doc.mutation.rich-text-editing','_handleEvent','_id','lineTo','backgroundColor','IRemoteInstanceService','onRendered','endColumn','SOCKET_FAILED','createSocket','search','handleMoveRange','getRenderById','LOCAL_CACHE_INTERVAL','LOCAL_CACHE_INTERVAL_KEY','univer-mr-2\x20univer-flex\x20univer-text-xl','INVALID_ARGUMENT','_handleHover','defs','handleInsertRow','collabStatus.synced','UniverUi','MOBILE_HAS_BEEN_BOUND','_onRefRangeChange','yellow.400','url(#on-line-icon_clip0_910_349)','getLocalCacheKey','@univerjs-pro/collaboration','collaboration.closeRoom','UniverInstanceType','range','findNodePositionByCharIndex','Unknown\x20user','saveOfflineData','_docTransformIMECacheService','_instanceService','OTHER_CLIENT_EDITING','url(#off-line-icon_clip0_910_343)','_docSyncEditingCollabCursorService','onPointerLeave$','onPointerMove$','permission.title','find','ranges','DocSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrent','source','blue.400','@univerjs/sheets','ColorKit','drawWith','SetWorksheetActivateCommand','UniverDesign','currentTheme$','roomMembers$','_cachedData','sheetID','_initEvent','_send','event$','post','onMouseMove','DocIMEInputManagerService','_removeCollabCursors','UniverProCollaborationClientUi','runRefRangeMutations','mapTo','rxjs','YUUMI_ASYNCIO_CANCELLED','_localCacheService','1767215idSUJZ','UniverCore','@univerjs/engine-render','handleIRemoveRow','ILocalStorageService','InsertRangeMoveDownCommandId','bottom','column','0\x200\x2016\x2016','enableLocalCache','m1Prime','selection','transform','height','CollaborationDataLoaderController','labelPosition','handleInsertRangeMoveRight','restore','PERMISSION_DENIED','INotificationService','substring','none','handleInsertRangeMoveDown','error','Warning','parse','_scheduleSaving','setItem','has','_backgroundColor','assignAColorForMemberID','UniverEngineFormula','max','Tools','SessionStatus','_notificationService','[CollaborationDataLoaderController]','DEFAULT_WS_SESSION_TICKET_URL','React','merge','RemoteUniscriptService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','path','transformRemoteChangeset','apply','...','CollaborationUIEventId','filter','UNIVER_DOC','MessageType','origin','getOwnPropertyDescriptor','getSheetBySheetId','_refRangeService','object','UniverSheets','storage','_drawRectRange','transformByState','_injector','fill','fillText','@univerjs/docs-ui','getMemberID','_initStatusListener','get','UNIVER_SHEET','exhaustSavingTask','226589spyTRl','subUnitId','_localeService','_hovered','_initResize','newValue','_logService','14DoMxhy','init','_selfUnitIDs','on-line-icon_clip0_910_349','text','activeSheet$','_cursorShapes','getCurrentRevOfUnit','CLOSE_ROOM','getUndoRedoMutationParamsCache','RefRangeService','function','_anchorDot','USER_NOT_INVITED_CODE','_univerInstanceService','uni.network.url-service','NodePositionConvertToCursor','round','setActiveRange','transformMutation','NOT_COLLAB','className','setTimeout','addObject','setParam','body','combineLatest','Tooltip','setStateCache','_shapes','SetTextSelectionsOperation','red.300','COLORS','syncEditingCollabCursor','_handleJoinEvent','transformMutationsWithChangeset','_config','triggerDblclick','_transformUndoRedoStack','getUniverSheetInstance','from','_getSessionTicket','defineProperty','onStarting','font','APPLY_REJECT','RemoveRowCommandId','currentColor','_init','OTHER_CLIENTS_EDITING','xlink:href','getFocusedUnit','ONLINE','DisposableCollection','docStateChange$','_docTransformStateCacheService','setShapeProps','transformStateCache','CollaborationSessionService','Optional','getTypeOfUnitAdded$','1946SaCRYK','_updateLocalCursor','_removeClearOtherTimer','_online','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','complete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','string','_lastPointer','white','_saveTaskMap','replaceDocRanges','APPLY_REVISION_CONFILICT','transformSelections','serializeRangeWithSheet','getItem','registerBeforeClose','executeCommand','_cursorInfo$','prototype','EMAIL_HAS_BEEN_BOUND','@univerjs/rpc','collabStatus.offline','sessionTicket','IURLService','_unitStatus','forwardRef','generateRandomId','dispose','25144RIrRrF','defIds','_clearOtherTimers','runOnServer','hide','getCollabCursors$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sheetId','getCellPositionByOffset','CollaborationUIEventService','INVITE_CODE_REQUIRED','Workbook','toRgbString','call','reconnect','set','key','_render','LOGIN_FAILED','_range','UNDEFINED','_color','current','TEXT_RANGE_LAYER_INDEX','_collaborationController','INVITE_CODE_HAS_BEEN_UES','LICENSE_DISTRO_REJECTED','getDocRanges','6puVflP','react/jsx-runtime','then','@univerjs/design','IImageIoService','off-line-icon_clip0_910_343','flatMap','0\x200\x2017\x2016','extend','top','CHANGESET_REVISION_CONFILICT','createIdentifier','unload','_doCreateSocket','CollaborationStatus','disposeUnit','saveImage','children','HEADER_MENU','subunit','toStringTag','InsertRowCommandId','imageSourceType','CollaborationSocketService','arc','RevisionService','_status$','fillStyle','UnitStatus','ThemeService','focused$','subscribeEvent','roomMembers','onPointerEnter$','_setupSubUnitSync','CONFLICT','_updateURLWithCurrentState','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','split','1452852JzcsWj','DeleteRangeMoveUpCommandId','unsubscribe','redoState','WebSocketService','next','_session','_eventUnsubscribe','1em','replace','_collabSessionService','getActiveSheet','useObservable','_setupBeforeClosingHandler','clearTimeout','IDocClipboardService','_transformPreviousActiveRange','getConfig','WebBrowserSingleActiveUnitService','_startSheetCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','_collabCursorState$','DocCollaborationEntity','UniverNetwork','getCollabEntity$','SheetCollabCursorShape','CollaborationEvent','_colorAssignService','popstate','concat','_cursor','disableLocalCache','random','subscribe','getValue','getSheetId','NodePositionConvertToRectRange','EffectRefRangId','registerRefRange','onTransformChange$','row','debounceTime','getCurrentUnitForType','ENSURE_SNAPSHOT_EXECUTION','getVpScrollXYInfoByPosToVp','isArray','fromEventSubject','_docTransformSelectionsService','_beforeCloseService','jsx','getColorFromTheme','Error','Disposable','entries','_drawTextRange','getStateCache','IUniverInstanceService','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','MemberService','SheetsSelectionsService','#FFF','toString','_labelPosition','_updateCollabCursors','getTypeOfUnitDisposed$','symbol','map','APPLY_PERMISSION_DENIED','31552209MnCrwN','_getSaveTimeout','_initStatusComponent','code','_collabCursorController','RxDisposable','_getScale','beginPath','clearInterval','jsxs','_name','result','debounce','addClipboardHook','type','values','_configService','makeDirty','isTransformMutationFailure','_docSkeleton','DesktopCollaborationStatusDisplayController','MOBILE_VERIFY_CODE_MISMATCH','_initCommandExecutedListener','IConfigService','Module','OffLineIcon','_document','Rect','getUnitId','_cursors','cursorInfo$','@univerjs-pro/collaboration-client','Injector','SNAPSHOT_HAS_BEEN_REMOVED','useCallback','OnLineIcon','disposeWithMe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UniverCollaborationClientUIPlugin','12Klexnb','entityInit$','getAncestorScale','jiqing.500','displayName','_sheetSkeletonManagerService','unshift','distinctUntilChanged','getUnhiddenWorksheets','width','_toggleOffline','@univerjs/ui','BuiltInUIPart','includes','_handleHeartbeatEvent','YUUMI_RATE_OVER_LIMIT','_docClipboardService','@univerjs/network','IUIPartsService','YUUMI_UNABLE_LOAD_URL','getMember','unitID','endRow','ALREADY_EXISTS','with','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','isEditing','debug','@univerjs/drawing','min','RemoveColCommandId','_onCursorDelete','addEventListener','_textBubble','add','_renderManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','getParam','unit','_toggleOnline','deserializeRangeWithSheet','collab-client.tooltip.reconnect','CommandType','m2Prime','idSuffix','univer-flex\x20univer-items-center','transformIMECache','SUBMIT_CHANGESET_TIMEOUT','useRef','textRanges','_ensureSubject','measureText','M0\x200H16V16H0z','Plugin','LICENSE_MAX_UNITS_EXCEEDED','HTTPService','TOO_MANY_REQUESTS','getActiveRange','_anchor','updateOfflineData','evenodd','eventID','green.600','toDisposable','COMPLETION_FINISHED','urlChange$','getSkeleton','_registerDependencies','ICommandService','some','black','INVITE_CODE_ALREADY_BOUND','_docStateChangeManagerService','USERS_LEAVE','_refreshCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','_commandService','getSheetObject','pipe','requireSession','APPLY_DUPLICATED','connectInjector','_initEntityListener','collabStatus.conflict','SYNCED','send','OFFLINE','_disabled','cursorInfo','WECHAT_HAS_BEEN_BOUND','Vector2','_themeService','INTERNAL_ERROR','TEXT','SheetSkeletonManagerService','attrs','svg','asObservable','Shape','translate(.97)','UNRECOGNIZED','RegularPolygon','DependentOn','mergeOverrideWithDependencies','YUUMI_ALL_TABLES_IS_INVALID','_context','mutations','useDependency','registerComponent','SetSelectionsOperation','IBeforeCloseService','LICENSE_IMPORT_SIZE_EXCEEDED','permission.content','13665942aZhjcd','AWAITING_WITH_PENDING','engine','deepClone','_dataLoaderService','off-line-icon','touchDependencies','IRenderManagerService','_entityInit$','clipPath','getColor','registerRenderModule'];_0x4cb6=function(){return _0x50eadf;};return _0x4cb6();}
|