@univerjs-pro/collaboration-client-ui 0.10.5 → 0.10.6-experimental.20250903-f52e3bf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3b2a(_0x28bb09,_0x53d966){const _0x2b574b=_0x2b57();return _0x3b2a=function(_0x3b2ac3,_0x101b39){_0x3b2ac3=_0x3b2ac3-0x143;let _0x38889a=_0x2b574b[_0x3b2ac3];return _0x38889a;},_0x3b2a(_0x28bb09,_0x53d966);}function _0x2b57(){const _0x5c64ae=['_logService','application/json','extend','CollaborationUIEventService','collaboration.single-unit.warning','startsWith','_toggleOffline','UniverDocs','_lastPointer','Rect','collab-text-anchor-','getRangePointData','OTHER_CLIENTS_EDITING','...','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getCollabEntity$','ICommandService','dispose','_docTransformSelectionsService','getSkeleton','_unitStatus','_uiPartsService','_cursor','wsSessionTicketUrl','m2Prime','_drawTextRange','USERS_LEAVE','_getMergeRange','_getScale','mergeOverrideWithDependencies','searchParams','handleInsertRangeMoveDown','_notificationService','call','triggerDblclick','APPLY_REVISION_CONFILICT','getColorFromTheme','CLOSE_ROOM','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localStorageService','CollaborationSessionService','currentSkeleton$','Unknown\x20user','params','OTHER_CLIENT_EDITING','UniverIcon','attrs','ITransformService','react/jsx-runtime','YUUMI_ASYNCIO_CANCELLED','RemoteUniscriptService','getCurrent','object','InsertColCommandId','DOC_RANGE_TYPE','getCollabCursors$','useCallback','hovered','delete','toDisposable','onStarting','CollaborationStatus','_updateCollabCursors','_beforeCloseService','setShapeProps','Vector2','VIEW_MAIN','subunit','UniverEngineRender','endColumn','Injector','runRefRangeMutations','_heartbeatTimer','_docSkeletonManagerService','getOwnPropertySymbols','IBeforeCloseService','propertyIsEnumerable','replaceState','show','black','code','apply','_collabCursorController','_config','onLocalMutation','width','current','setUndoRedoMutationParamsCache','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','requireSession','selections','_instanceService','isArray','UPDATE_CURSOR','mutations','@univerjs-pro/collaboration','forEach','APPLY_PERMISSION_DENIED','selection','SOCKET_FAILED_RETRY','getParam','_handleJoinEvent','USER_NOT_INVITED_CODE','subUnitId','purple.300','getUniverSheetInstance','yellow.400','getItem','Rectangle','set','with','_cachedData','_registerRenderDependencies','collabStatus.notCollab','_updateLocalCursor','transformIMECache','_dataLoaderService','merge','permission.title','collaboration.closeRoom','setParam','_draw','IMessageService','_getSessionTicket','use','handleInsertCol','_transformPreviousActiveRange','UniverDesign','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','2607604nnJFLJ','red.300','NodePositionConvertToRectRange','moveTo','@univerjs/docs-ui','sessionStatus$','AWAITING','unit','IConfigService','INVITE_CODE_ALREADY_BOUND','location','_docTransformIMECacheService','symbol','createElement','beginPath','column','_context','addEventListener','getVpScrollXYInfoByPosToVp','indexOf','ILocalCacheService','updateOfflineData','rgba(255,\x20255,\x20255,\x200.01)','text','SHEET_VIEWPORT_KEY','loadUnit','isTransformMutationsWithChangesetSuccess','_onCursorDelete','createInstance','session.will-retry','replace','_scheduleSaving','getLocalCacheKey','forwardRef','unshift','_memberService','range','CollaborationController','getCoordByCell','hide','902375iYQEed','_getSheetObject','runId','_scheduleHeartbeat','APPLY_REJECT','getDocRanges','SYNCED','UniverInstanceType','getSheetObject','getColor','transform','Failed','url(#$1','_toggleOnline','toRgbString','_setupSubUnitSync','_renderManagerService','_eventUnsubscribe','UniverSheets','UniverCollaborationClientUIPlugin','assignAColorForMemberID','pipe','handleInsertRangeMoveRight','m1Prime','reconnect','_onCursorUpdate','type','RemoveColCommandId','Error','ENSURE_SNAPSHOT_EXECUTION','unitId','BrowserCollaborationSocketService','switchMap','currentTheme$','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','_entityInit$','UniverProCollaboration','jsxs','COLORS','getAncestorScale','subscribeEvent','RevisionService','includes','assign','_colorAssignService','unload','_render','fill','getFocusedUnit','_collabCursorState$','eventID','substring','@univerjs/drawing','WECHAT_HAS_BEEN_BOUND','329bNQrFr','@univerjs/engine-formula','_startDocCollabCursor','_registerDependencies','MOBILE_VERIFY_CODE_MISMATCH','distinctUntilChanged','_document','/run/','PENDING','Subject','_status$','removeParam','onCommandExecuted','rxjs/operators','focused$','getSheetId','_collabSessionService','_initStatusListener','DocSelectionManagerService','white','YUUMI_RATE_OVER_LIMIT','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','UniverProCollaborationClient','drawWith','_disabled','useDependency','_configService','INVITE_CODE_REQUIRED','_docStateChangeManagerService','_send','collab-client.tooltip.reconnect','IDocClipboardService','ticket','urlChange$','_transformService','_hovered','fillText','ISocketService','RECT','pluginName','clearTimeout','has','LICENSE_EXPORT_SIZE_EXCEEDED','DocCollaborationEntity','getConfig','SheetCollabCursorShape','_unitOnClients','MemberService','IRenderManagerService','_localCacheService','makeDirty','addClipboardHook','8VNQPpq','_univerInstanceService','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverEngineFormula','whenReady','_anchorDot','APPLY_NON_SEQUENTIAL_REVISION','textRanges','registerRenderModule','getOffsetConfig','getSheetBySheetId','fromEvent','_name','CollaborationSocketService','font','unsubscribe','_handleHeartbeatEvent','clsx','http://www.w3.org/2000/svg','backgroundColor','concat','toString','get','some','collabStatus.synced','sheetId','1em','override','invokeId','resize','stringify','exhaustSavingTask','complete','executionId','_removeCollabCursors','NOT_COLLAB','generateRandomId','1133372mWNzcO','values','connectInjector','dispose$','UNIVER_SHEET','ILogService','_id','Plugin','next','_createSocketURL','getUndoRedoMutationParamsCache','_getAnchorBounding','transformRemoteChangeset','data','setActiveRange','_refRangeService','registerComponent','_colorIndex','combineLatest','newValue','Tools','save','ThemeService','@univerjs/core','lineTo','debug','enableLocalCache','evenodd','JOIN_ROOM_FAILED','registerDependencies','MOBILE_HAS_BEEN_BOUND','InsertRowCommandId','EMAIL_VERIFY_CODE_MISMATCH','fillRule','random','_cursorShapes','entityInit$','_ensureSubject','permission.content','jiqing.500','measureText','OFFLINE','INVALID_ARGUMENT','getMergeData','setAlpha','SetWorksheetActivateCommand','mask','TEXT_RANGE_LAYER_INDEX','string','_onRefRangeChange','getRenderById','_init','contains','deserializeRangeWithSheet','_collaborationController','status$','_handleHover','getViewport','IURLService','_imageIoService','onPointerMove$','push','url(#on-line-icon_clip0_910_349)','fromEventSubject','EMAIL_HAS_BEEN_BOUND','rxjs','icon','getUnhiddenWorksheets','Inject','disposeUnit','saveImage','from','Module','createSocket','_range','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','PERMISSION_DENIED','@univerjs/sheets-ui','_hideTimer','setStateCache','_labelPosition','roomMembers$','operators','#FFF','defs','_initEntityListener','deepClone','getActiveRange','SetDocZoomRatioOperation','_handleLeaveEvent','_transformUndoRedoStack','APPLY_DUPLICATED','children','ranges','setConfig','body','replaceDocRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','_roomMembers$','RxDisposable','YUUMI_UNABLE_LOAD_URL','popstate','_session','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','BehaviorSubject','DesktopCollaborationStatusDisplayController','_commandService','M0\x200H16V16H0z','UniverCollaborationClientPlugin','_localeService','_collaborationUIEventService','3gIhQvM','97768nnaPHH','_handleEvent','Warning','getOwnPropertyDescriptor','cursorInfo','registerRefRange','startRow','cursorInfo$','key','LOGIN_FAILED','getUnitStatus$','svg','CollaborationDataLoaderController','mapTo','ColorKit','_scene','_initDependencies','off-line-icon','ISnapshotServerService','unitID','arc','redoState','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Workbook','displayName','useObservable','UNDEFINED','InsertRangeMoveRightCommandId','UNAUTHENTICATED','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','restore','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CHANGESET_REVISION_CONFILICT','session.collaboration-timeout','_messageService','blue.400','colorChannel1','SetSelectionsOperation','transformMutation','entries','findNodePositionByCharIndex','href','onRendered','_cursorInfo$','row','1090CTntQt','send','transformByState','DocStateChangeManagerService','serializeRangeWithSheet','undoState','NO_OTHER_CLIENTS_EDITING','editingUnit','SheetSkeletonManagerService','_initStatusComponent','_updateURLWithCurrentState','syncEditingCollabCursor','addObject','origin','CONFLICT','debounceTime','CONNECTOR_DATA_TOO_LARGE','addObjects','_assignedColors','getCurrentRevOfUnit','ALREADY_EXISTS','closePath','useRef','error','onPointerEnter$','ONLINE','_httpService','setItem','amd','bottom','YUUMI_ALL_TABLES_IS_INVALID','_docTransformStateCacheService','HTTPService','_updateSubUnitFromURLParams','UNRECOGNIZED','_setupBeforeClosingHandler','EffectRefRangId','_revisionService','top','path','prototype','AWAITING_WITH_PENDING','COMPLETION_FINISHED','UNIVER_DOC','init','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','@univerjs/engine-render','currentColor','doc.mutation.rich-text-editing','IUIPartsService','height','length','_shapes','LICENSE_DISTRO_REJECTED','getUnitId','UnitStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','84264qTbzzi','endRow','RegularPolygon','round','tag','split','InsertRangeMoveDownCommandId','_injector','color','_initResize','DependentOn','debounce','_scheduleClearOtherTimer','fillStyle','jsx','_textBubble','div','on-line-icon_clip0_910_349','transformStateCache','defIds','Shape','Disposable','size','getValue','handleMoveRange','name','WebBrowserSingleActiveUnitService','executeCommand','_refreshCollabCursors','collabStatus.fetchMiss','DeleteRangeMoveLeftCommandId','collabStatus.conflict','roomMembers','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeClearOtherTimer','DataLoaderService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onMouseMove','getMemberID','IUniverInstanceService','DocSkeletonManagerService','UniverRpc','hasOwnProperty','_docSyncEditingCollabCursorService','_transformHistoryAndStateStack','clearInterval','storage','asObservable','YUUMI_NO_CUBOID_FOR_QUESTION','subscribe','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','LocaleService','function','5340933TTwIqH','CollaborationUIEventId','_drawAnchor','_initCommandExecutedListener','_entities','UniverDrawing','engine','on-line-icon','TOO_MANY_REQUESTS','_hover','collabStatus.syncing','CollaborationEvent','@univerjs/sheets','UniverDocsUi','_urlService','then','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','event$','LICENSE_MAX_UNITS_EXCEEDED','collab-text-range-','_cursors','onPointerLeave$','idSuffix','xlink:href','shareReplay','RefRangeService','INTERNAL_ERROR','getTypeOfUnitAdded$','registerBeforeClose','max','defineProperty','off-line-icon_clip0_910_343','_docClipboardService','translate(.97)','getStateCache','_online','_initEvent','handleDeleteRangeMoveLeft','OnLineIcon','pushState','isTransformMutationFailure','_color','disposeWithMe','setTimeout','MessageType','green.600','labelPosition','collabCursorState$','all','takeUntil','0\x200\x2016\x2016','16453dEwUvO','_syncEditingCollabCursorService','_startSheetCollabCursor','_saveCache','none','isActive','handleIRemoveCol','history','DocIMEInputManagerService','_saveTaskMap','_doCreateSocket','_backgroundColor','result','NOT_FOUND','_themeService','min','post','saveTaskMap','getMember','className','add','_anchor','transformSelections','map'];_0x2b57=function(){return _0x5c64ae;};return _0x2b57();}(function(_0x330ea5,_0x5d75af){const _0x2dfe2e=_0x3b2a,_0x44deb2=_0x330ea5();while(!![]){try{const _0x7badea=-parseInt(_0x2dfe2e(0x2e7))/0x1+parseInt(_0x2dfe2e(0x1a3))/0x2+-parseInt(_0x2dfe2e(0x214))/0x3*(parseInt(_0x2dfe2e(0x380))/0x4)+-parseInt(_0x2dfe2e(0x3a8))/0x5+-parseInt(_0x2dfe2e(0x27d))/0x6*(-parseInt(_0x2dfe2e(0x147))/0x7)+-parseInt(_0x2dfe2e(0x17d))/0x8*(parseInt(_0x2dfe2e(0x2b3))/0x9)+-parseInt(_0x2dfe2e(0x243))/0xa*(-parseInt(_0x2dfe2e(0x215))/0xb);if(_0x7badea===_0x5d75af)break;else _0x44deb2['push'](_0x44deb2['shift']());}catch(_0x2c4b25){_0x44deb2['push'](_0x44deb2['shift']());}}}(_0x2b57,0xb7e80),function(_0x434eb8,_0x4c0d31){const _0x158311=_0x3b2a;typeof exports==_0x158311(0x333)&&typeof module<'u'?_0x4c0d31(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x158311(0x25f)]?define(['exports',_0x158311(0x32f),'@univerjs-pro/collaboration-client',_0x158311(0x1ba),'@univerjs/ui',_0x158311(0x1e4),'@univerjs/design','react','@univerjs/rpc',_0x158311(0x2bf),_0x158311(0x272),'@univerjs/network',_0x158311(0x384),_0x158311(0x145),_0x158311(0x35e),'@univerjs/docs',_0x158311(0x148),_0x158311(0x154),_0x158311(0x1f1)],_0x4c0d31):(_0x434eb8=typeof globalThis<'u'?globalThis:_0x434eb8||self,_0x4c0d31(_0x434eb8['UniverProCollaborationClientUi']={},_0x434eb8['React'],_0x434eb8[_0x158311(0x15f)],_0x434eb8['UniverCore'],_0x434eb8['UniverUi'],_0x434eb8[_0x158311(0x1e4)],_0x434eb8[_0x158311(0x37e)],_0x434eb8['React'],_0x434eb8[_0x158311(0x2a6)],_0x434eb8[_0x158311(0x3ba)],_0x434eb8[_0x158311(0x343)],_0x434eb8['UniverNetwork'],_0x434eb8[_0x158311(0x2c0)],_0x434eb8[_0x158311(0x2b8)],_0x434eb8[_0x158311(0x3cd)],_0x434eb8[_0x158311(0x306)],_0x434eb8[_0x158311(0x181)],_0x434eb8[_0x158311(0x1e4)][_0x158311(0x1f6)],_0x434eb8['UniverSheetsUi']));}(this,function(_0x309383,_0x4108a3,_0x45d92a,_0x51234e,_0x55a91c,_0x5bbaf2,_0x5ab59c,_0x2da17c,_0xbc201,_0x2cb7cc,_0x5cd4ea,_0x34b1e7,_0x31dfa4,_0x11775c,_0x2bb387,_0x5886b2,_0x2966d1,_0x653998,_0x1f6c03){'use strict';const _0xbc4bab=_0x3b2a;var _0x44b040=Object[_0xbc4bab(0x2d2)],_0x146781=(_0x5b79f1,_0x3ba0bc,_0x516adb)=>_0x3ba0bc in _0x5b79f1?_0x44b040(_0x5b79f1,_0x3ba0bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x516adb}):_0x5b79f1[_0x3ba0bc]=_0x516adb,_0x1e1d43=(_0x3a95a0,_0x8d50f5,_0x23f4f1)=>_0x146781(_0x3a95a0,typeof _0x8d50f5!=_0xbc4bab(0x38c)?_0x8d50f5+'':_0x8d50f5,_0x23f4f1),_0x1a6fea=function(){const _0x245c46=_0xbc4bab;return _0x1a6fea=Object[_0x245c46(0x3d4)]||function(_0x126ccf){const _0x41c5b7=_0x245c46;for(var _0x3be70d,_0x2e6727=0x1,_0x15c128=arguments[_0x41c5b7(0x277)];_0x2e6727<_0x15c128;_0x2e6727++){_0x3be70d=arguments[_0x2e6727];for(var _0x552dba in _0x3be70d)Object['prototype'][_0x41c5b7(0x2a7)][_0x41c5b7(0x320)](_0x3be70d,_0x552dba)&&(_0x126ccf[_0x552dba]=_0x3be70d[_0x552dba]);}return _0x126ccf;},_0x1a6fea[_0x245c46(0x350)](this,arguments);},_0x79352=function(_0x34e20a,_0x1372cd){const _0x236dc0=_0xbc4bab;var _0x51fcab={};for(var _0x2a96b3 in _0x34e20a)Object[_0x236dc0(0x26b)]['hasOwnProperty'][_0x236dc0(0x320)](_0x34e20a,_0x2a96b3)&&_0x1372cd[_0x236dc0(0x393)](_0x2a96b3)<0x0&&(_0x51fcab[_0x2a96b3]=_0x34e20a[_0x2a96b3]);if(_0x34e20a!=null&&typeof Object[_0x236dc0(0x349)]==_0x236dc0(0x2b2)){for(var _0x3c83bd=0x0,_0x2a96b3=Object[_0x236dc0(0x349)](_0x34e20a);_0x3c83bd<_0x2a96b3[_0x236dc0(0x277)];_0x3c83bd++)_0x1372cd['indexOf'](_0x2a96b3[_0x3c83bd])<0x0&&Object['prototype'][_0x236dc0(0x34b)]['call'](_0x34e20a,_0x2a96b3[_0x3c83bd])&&(_0x51fcab[_0x2a96b3[_0x3c83bd]]=_0x34e20a[_0x2a96b3[_0x3c83bd]]);}return _0x51fcab;},_0x4b2c24=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x4135c1,_0x57b871){const _0x38f007=_0xbc4bab;var _0x236544=_0x4135c1[_0x38f007(0x1e5)],_0x3eca13=_0x4135c1['id'],_0x4e9e6d=_0x4135c1[_0x38f007(0x2fa)],_0xc95e8e=_0x4135c1[_0x38f007(0x301)],_0x3071a8=_0x79352(_0x4135c1,['icon','id',_0x38f007(0x2fa),_0x38f007(0x301)]),_0x1382b4='univerjs-icon\x20univerjs-icon-'[_0x38f007(0x192)](_0x3eca13,'\x20')[_0x38f007(0x192)](_0x4e9e6d||'')['trim'](),_0x16999a=_0x2da17c[_0x38f007(0x259)]('_'[_0x38f007(0x192)](_0x24ba15()));return _0x349d8d(_0x236544,''['concat'](_0x3eca13),{'defIds':_0x236544[_0x38f007(0x290)],'idSuffix':_0x16999a[_0x38f007(0x355)]},_0x1a6fea({'ref':_0x57b871,'className':_0x1382b4},_0x3071a8),_0xc95e8e);});function _0x349d8d(_0x250cf5,_0x1e8d64,_0x1c962e,_0x54e093,_0x2e4faa){const _0x4284b9=_0xbc4bab;return _0x2da17c[_0x4284b9(0x38d)](_0x250cf5[_0x4284b9(0x281)],_0x1a6fea(_0x1a6fea({'key':_0x1e8d64},_0x35d463(_0x250cf5,_0x1c962e,_0x2e4faa)),_0x54e093),(_0x50888c(_0x250cf5,_0x1c962e)[_0x4284b9(0x200)]||[])['map'](function(_0x18c7eb,_0x3bc92d){const _0x6c6dbe=_0x4284b9;return _0x349d8d(_0x18c7eb,''[_0x6c6dbe(0x192)](_0x1e8d64,'-')[_0x6c6dbe(0x192)](_0x250cf5['tag'],'-')['concat'](_0x3bc92d),_0x1c962e,void 0x0,_0x2e4faa);}));}function _0x35d463(_0x584736,_0x17a28f,_0x1e8d13){const _0x13c087=_0xbc4bab;var _0x2cf621=_0x1a6fea({},_0x584736[_0x13c087(0x32d)]);_0x1e8d13!=null&&_0x1e8d13[_0x13c087(0x23a)]&&_0x2cf621['fill']===_0x13c087(0x23a)&&(_0x2cf621[_0x13c087(0x3d8)]=_0x1e8d13[_0x13c087(0x23a)]),_0x584736[_0x13c087(0x281)]==='mask'&&_0x2cf621['id']&&(_0x2cf621['id']=_0x2cf621['id']+_0x17a28f['idSuffix']),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x2faf39){const _0x22997e=_0x13c087;var _0x5cff4c=_0x2faf39[0x0],_0x2f08ee=_0x2faf39[0x1];_0x5cff4c===_0x22997e(0x1d1)&&typeof _0x2f08ee==_0x22997e(0x1d3)&&(_0x2cf621[_0x5cff4c]=_0x2f08ee[_0x22997e(0x39e)](/url\(#(.*)\)/,_0x22997e(0x3b4)['concat'](_0x17a28f['idSuffix'],')')));});var _0x5f5b5c=_0x17a28f['defIds'];return!_0x5f5b5c||_0x5f5b5c[_0x13c087(0x277)]===0x0||(_0x584736[_0x13c087(0x281)]===_0x13c087(0x37b)&&_0x2cf621['xlink:href']&&(_0x2cf621[_0x13c087(0x2cb)]=_0x2cf621[_0x13c087(0x2cb)]+_0x17a28f[_0x13c087(0x2ca)]),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x249237){const _0x4e7ae7=_0x13c087;var _0xba2451=_0x249237[0x0],_0x47b2c1=_0x249237[0x1];typeof _0x47b2c1==_0x4e7ae7(0x1d3)&&(_0x2cf621[_0xba2451]=_0x47b2c1[_0x4e7ae7(0x39e)](/url\(#(.*)\)/,_0x4e7ae7(0x3b4)[_0x4e7ae7(0x192)](_0x17a28f[_0x4e7ae7(0x2ca)],')')));})),_0x2cf621;}function _0x50888c(_0x2e8b48,_0x305cb0){const _0x299c0b=_0xbc4bab;var _0x4bddb5,_0x5118e2=_0x305cb0[_0x299c0b(0x290)];return!_0x5118e2||_0x5118e2[_0x299c0b(0x277)]===0x0?_0x2e8b48:_0x2e8b48[_0x299c0b(0x281)]===_0x299c0b(0x1f8)&&(!((_0x4bddb5=_0x2e8b48[_0x299c0b(0x200)])===null||_0x4bddb5===void 0x0)&&_0x4bddb5['length'])?_0x1a6fea(_0x1a6fea({},_0x2e8b48),{'children':_0x2e8b48[_0x299c0b(0x200)]['map'](function(_0x1cbebe){const _0x4ffa3b=_0x299c0b;return typeof _0x1cbebe[_0x4ffa3b(0x32d)]['id']==_0x4ffa3b(0x1d3)&&_0x5118e2&&_0x5118e2[_0x4ffa3b(0x3d3)](_0x1cbebe[_0x4ffa3b(0x32d)]['id'])?_0x1a6fea(_0x1a6fea({},_0x1cbebe),{'attrs':_0x1a6fea(_0x1a6fea({},_0x1cbebe[_0x4ffa3b(0x32d)]),{'id':_0x1cbebe[_0x4ffa3b(0x32d)]['id']+_0x305cb0[_0x4ffa3b(0x2ca)]})}):_0x1cbebe;})}):_0x2e8b48;}function _0x24ba15(){const _0x2a8087=_0xbc4bab;return Math[_0x2a8087(0x1c5)]()[_0x2a8087(0x193)](0x24)[_0x2a8087(0x144)](0x2,0x8);}_0x4b2c24[_0xbc4bab(0x22d)]=_0xbc4bab(0x32c);var _0x3d19b5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xbc4bab(0x2e6),'width':_0xbc4bab(0x198),'height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x15e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'stroke':_0xbc4bab(0x273),'d':_0xbc4bab(0x357),'strokeLinecap':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':_0xbc4bab(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x2d3)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210)}}]}]}],'defIds':[_0xbc4bab(0x2d3)]},_0x297683=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x20abad,_0x1a39d8){const _0x507261=_0xbc4bab;return _0x2da17c[_0x507261(0x38d)](_0x4b2c24,Object[_0x507261(0x3d4)]({},_0x20abad,{'id':_0x507261(0x226),'ref':_0x1a39d8,'icon':_0x3d19b5}));});_0x297683[_0xbc4bab(0x22d)]='OffLineIcon';var _0x1559e2={'tag':_0xbc4bab(0x220),'attrs':{'xmlns':_0xbc4bab(0x190),'fill':_0xbc4bab(0x2eb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x1e1)},'children':[{'tag':'path','attrs':{'stroke':_0xbc4bab(0x273),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x28e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210),'transform':_0xbc4bab(0x2d5)}}]}]}],'defIds':[_0xbc4bab(0x28e)]},_0x519618=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x38efe6,_0x5cd4f2){const _0x3bca7d=_0xbc4bab;return _0x2da17c[_0x3bca7d(0x38d)](_0x4b2c24,Object[_0x3bca7d(0x3d4)]({},_0x38efe6,{'id':_0x3bca7d(0x2ba),'ref':_0x5cd4f2,'icon':_0x1559e2}));});_0x519618[_0xbc4bab(0x22d)]=_0xbc4bab(0x2da);function _0x3ca4e6(_0x1d3690){const _0x416400=_0xbc4bab;switch(_0x1d3690){case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1cc)]:return'collabStatus.offline';case _0x45d92a[_0x416400(0x33c)][_0x416400(0x251)]:return _0x416400(0x29c);case _0x45d92a['CollaborationStatus']['FETCH_MISS']:return _0x416400(0x29a);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1a1)]:return _0x416400(0x370);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x386)]:case _0x45d92a[_0x416400(0x33c)][_0x416400(0x26c)]:return _0x416400(0x2bd);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x3ae)]:case _0x45d92a['CollaborationStatus'][_0x416400(0x14f)]:return _0x416400(0x196);}}function _0x70e1eb(_0x134c72){const _0x374e33=_0xbc4bab,{status$:_0x45d259}=_0x134c72,_0x5b37be=_0x55a91c[_0x374e33(0x22e)](_0x45d259,_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1a1)]),_0x204790=_0x55a91c[_0x374e33(0x162)](_0x51234e[_0x374e33(0x2b1)]),_0x2d482a=_0x55a91c[_0x374e33(0x162)](_0x45d92a[_0x374e33(0x327)]),_0x2895ae=_0x5b37be!==_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1cc)],_0x9b076d=_0x204790['t'](_0x3ca4e6(_0x5b37be)),_0x34a400=_0x2895ae?_0x4108a3['jsx'](_0x519618,{}):_0x4108a3[_0x374e33(0x28b)](_0x297683,{}),_0x16c008=_0x2da17c[_0x374e33(0x337)](()=>{const _0x130684=_0x374e33;_0x2895ae||_0x2d482a[_0x130684(0x3c0)]();},[_0x2895ae,_0x2d482a]);function _0x4c9ac6(){const _0x54fb7e=_0x374e33;return _0x4108a3[_0x54fb7e(0x3ce)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16c008,'children':[_0x4108a3[_0x54fb7e(0x28b)]('div',{'className':_0x5ab59c[_0x54fb7e(0x18f)](_0x54fb7e(0x205),{'univer-text-green-500':_0x2895ae,'univer-text-red-500':!_0x2895ae}),'children':_0x34a400}),_0x4108a3['jsx'](_0x54fb7e(0x28d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b076d})]});}return _0x2895ae?_0x4c9ac6():_0x4108a3['jsx'](_0x5ab59c['Tooltip'],{'title':_0x204790['t'](_0x374e33(0x167)),'children':_0x4c9ac6()});}var _0x11a979=Object[_0xbc4bab(0x218)],_0x3fea47=(_0x187b77,_0x94055d,_0x4f8f86,_0x4b15b3)=>{const _0x5907dd=_0xbc4bab;for(var _0x5921f5=_0x4b15b3>0x1?void 0x0:_0x4b15b3?_0x11a979(_0x94055d,_0x4f8f86):_0x94055d,_0x2e84f8=_0x187b77[_0x5907dd(0x277)]-0x1,_0x48351e;_0x2e84f8>=0x0;_0x2e84f8--)(_0x48351e=_0x187b77[_0x2e84f8])&&(_0x5921f5=_0x48351e(_0x5921f5)||_0x5921f5);return _0x5921f5;},_0x5b8782=(_0x187dde,_0x4c4d44)=>(_0xfe6cae,_0x346f90)=>_0x4c4d44(_0xfe6cae,_0x346f90,_0x187dde);_0x309383[_0xbc4bab(0x20e)]=class extends _0x51234e['Disposable']{constructor(_0x1ea5fb,_0x12d938,_0x28757e,_0x77b3bb){const _0x39de58=_0xbc4bab;super(),_0x1e1d43(this,_0x39de58(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x39de58(0x33c)][_0x39de58(0x1a1)])),(this[_0x39de58(0x17e)]=_0x1ea5fb,this[_0x39de58(0x284)]=_0x12d938,this[_0x39de58(0x1d9)]=_0x28757e,this[_0x39de58(0x314)]=_0x77b3bb,this[_0x39de58(0x24c)](),this[_0x39de58(0x158)]());}[_0xbc4bab(0x158)](){const _0x3987c3=_0xbc4bab;this[_0x3987c3(0x2de)](this['_univerInstanceService'][_0x3987c3(0x155)]['pipe'](_0x5bbaf2[_0x3987c3(0x3c8)](()=>{const _0xff396d=_0x3987c3,_0x42dacf=this['_univerInstanceService'][_0xff396d(0x3d9)]();return _0x42dacf?this[_0xff396d(0x1d9)][_0xff396d(0x30e)](_0x42dacf[_0xff396d(0x27a)]()):_0x5bbaf2['of'](null);}),_0x5bbaf2[_0x3987c3(0x3c8)](_0x11dda3=>_0x11dda3?_0x11dda3[_0x3987c3(0x1da)]:_0x5bbaf2['of'](_0x45d92a[_0x3987c3(0x33c)]['NOT_COLLAB'])))[_0x3987c3(0x2ae)](_0x18d61a=>{const _0x2177ca=_0x3987c3;this[_0x2177ca(0x151)][_0x2177ca(0x1ab)](_0x18d61a);}));}[_0xbc4bab(0x24c)](){const _0x5eef0c=_0xbc4bab;this[_0x5eef0c(0x2de)](this[_0x5eef0c(0x314)][_0x5eef0c(0x1b3)](_0x55a91c['BuiltInUIPart']['HEADER_MENU'],()=>_0x55a91c[_0x5eef0c(0x1a5)](_0x566f53({'status$':this['_status$'][_0x5eef0c(0x2ac)]()}),this[_0x5eef0c(0x284)])));}},_0x309383[_0xbc4bab(0x20e)]=_0x3fea47([_0x5b8782(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x5b8782(0x1,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x5b8782(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x5b8782(0x3,_0x55a91c[_0xbc4bab(0x275)])],_0x309383['DesktopCollaborationStatusDisplayController']);function _0x566f53(_0xc0a8ee){const {status$:_0x5c62c2}=_0xc0a8ee;return function(){const _0x410ee1=_0x3b2a;return _0x4108a3[_0x410ee1(0x28b)](_0x70e1eb,{'status$':_0x5c62c2});};}const _0x15568a=_0x51234e['createIdentifier']('uni.network.url-service');var _0x2cd2e4=Object['getOwnPropertyDescriptor'],_0x2b7d6c=(_0x250632,_0x5b9b48,_0x139cd1,_0x5c79d7)=>{const _0x182ab3=_0xbc4bab;for(var _0x51635e=_0x5c79d7>0x1?void 0x0:_0x5c79d7?_0x2cd2e4(_0x5b9b48,_0x139cd1):_0x5b9b48,_0x5a447a=_0x250632[_0x182ab3(0x277)]-0x1,_0x2306b2;_0x5a447a>=0x0;_0x5a447a--)(_0x2306b2=_0x250632[_0x5a447a])&&(_0x51635e=_0x2306b2(_0x51635e)||_0x51635e);return _0x51635e;},_0x451062=(_0x417f84,_0x427fcb)=>(_0x46bda2,_0x82900c)=>_0x427fcb(_0x46bda2,_0x82900c,_0x417f84);_0x309383[_0xbc4bab(0x221)]=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x50ae3d,_0x51062d,_0x2a166e,_0x1539f8,_0x11a4e9){const _0x1b50e9=_0xbc4bab;super(),this[_0x1b50e9(0x2c1)]=_0x50ae3d,this[_0x1b50e9(0x2ff)]=_0x51062d,this[_0x1b50e9(0x20f)]=_0x2a166e,this[_0x1b50e9(0x373)]=_0x1539f8,_0x11a4e9?_0x11a4e9==null||_0x11a4e9[_0x1b50e9(0x182)]()[_0x1b50e9(0x2c2)](()=>this[_0x1b50e9(0x1d6)]()):(this[_0x1b50e9(0x2ff)][_0x1b50e9(0x1bc)]('[CollaborationDataLoaderController]',_0x1b50e9(0x37f)),this[_0x1b50e9(0x1d6)]());}async['_init'](){const _0x3c5492=_0xbc4bab,_0x525a25=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x387)),_0x1820b5=this['_urlService'][_0x3c5492(0x363)](_0x3c5492(0x3c2)),_0x337732=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x342));if(!_0x525a25||!_0x1820b5){this[_0x3c5492(0x2ff)][_0x3c5492(0x1bc)]('[CollaborationDataLoaderController]',_0x3c5492(0x325));return;}const _0x1dcc36=await this[_0x3c5492(0x373)][_0x3c5492(0x399)](_0x525a25,Number(_0x1820b5),_0x337732);_0x1dcc36&&_0x1dcc36 instanceof _0x51234e[_0x3c5492(0x22c)]&&this[_0x3c5492(0x3b7)](_0x1dcc36);}async[_0xbc4bab(0x3b7)](_0x5e29fc){const _0x3ef7f3=_0xbc4bab;await this[_0x3ef7f3(0x264)](_0x5e29fc),_0x5e29fc['activeSheet$'][_0x3ef7f3(0x3bd)](_0x5bbaf2[_0x3ef7f3(0x2e5)](this['dispose$']))[_0x3ef7f3(0x2ae)](_0x5d7282=>{const _0x455540=_0x3ef7f3;_0x5d7282&&this[_0x455540(0x24d)](_0x5d7282);}),this[_0x3ef7f3(0x2c1)][_0x3ef7f3(0x16a)][_0x3ef7f3(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3ef7f3(0x1a6)]))['subscribe'](()=>this[_0x3ef7f3(0x264)](_0x5e29fc));}[_0xbc4bab(0x24d)](_0x29804c,_0x47ad90=!0x1){const _0x23c2b0=_0xbc4bab,_0x3aa05f=this['_urlService'][_0x23c2b0(0x363)](_0x23c2b0(0x342));_0x29804c['getSheetId']()!==_0x3aa05f&&this[_0x23c2b0(0x2c1)]['setParam'](_0x23c2b0(0x342),_0x29804c[_0x23c2b0(0x156)](),_0x47ad90);}async[_0xbc4bab(0x264)](_0x93fac){const _0x195cb5=_0xbc4bab;var _0x5eb42d;const _0x3dbdca=this[_0x195cb5(0x2c1)][_0x195cb5(0x363)](_0x195cb5(0x342));if(!_0x3dbdca||!_0x93fac['getSheetBySheetId'](_0x3dbdca)){const _0x4ff547=_0x93fac[_0x195cb5(0x1e6)]()[0x0],_0x5560e4=_0x93fac[_0x195cb5(0x188)](_0x4ff547);if(!_0x5560e4)return;this['_updateURLWithCurrentState'](_0x5560e4,!0x0),await this[_0x195cb5(0x20f)]['executeCommand'](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x4ff547});return;}((_0x5eb42d=_0x93fac[_0x195cb5(0x17f)]())==null?void 0x0:_0x5eb42d[_0x195cb5(0x156)]())!==_0x3dbdca&&await this['_commandService'][_0x195cb5(0x298)](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x3dbdca});}},_0x309383[_0xbc4bab(0x221)]=_0x2b7d6c([_0x451062(0x0,_0x15568a),_0x451062(0x1,_0x51234e[_0xbc4bab(0x1a8)]),_0x451062(0x2,_0x51234e[_0xbc4bab(0x30f)]),_0x451062(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x2a0)])),_0x451062(0x4,_0x51234e['Optional'](_0xbc201['IRemoteInstanceService']))],_0x309383[_0xbc4bab(0x221)]);var _0x9d09a8=Object[_0xbc4bab(0x218)],_0x25b248=(_0x27b364,_0x42e30b,_0x4a7dfe,_0x4b161c)=>{const _0x2ac653=_0xbc4bab;for(var _0x11a3bf=_0x4b161c>0x1?void 0x0:_0x4b161c?_0x9d09a8(_0x42e30b,_0x4a7dfe):_0x42e30b,_0x1066ea=_0x27b364[_0x2ac653(0x277)]-0x1,_0x4a1d67;_0x1066ea>=0x0;_0x1066ea--)(_0x4a1d67=_0x27b364[_0x1066ea])&&(_0x11a3bf=_0x4a1d67(_0x11a3bf)||_0x11a3bf);return _0x11a3bf;},_0x27abb4=(_0x2f643a,_0x41976c)=>(_0x256464,_0x5eb68d)=>_0x41976c(_0x256464,_0x5eb68d,_0x2f643a);let _0x25835a=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x463654,_0x50b6ce){const _0x5370b5=_0xbc4bab;super(),this[_0x5370b5(0x2d4)]=_0x463654,this['_imageIoService']=_0x50b6ce,this[_0x5370b5(0x1d6)]();}[_0xbc4bab(0x1d6)](){const _0x15806f=_0xbc4bab,_0x42ffea=this;this[_0x15806f(0x2de)](this['_docClipboardService'][_0x15806f(0x17c)]({'onBeforePasteImage':async _0x90bc36=>{const _0x912d63=_0x15806f,_0x4a78fb=await _0x42ffea[_0x912d63(0x1de)][_0x912d63(0x1e9)](_0x90bc36);return _0x4a78fb?{'source':_0x4a78fb['source'],'imageSourceType':_0x4a78fb['imageSourceType']}:null;}}));}};_0x25835a=_0x25b248([_0x27abb4(0x0,_0x31dfa4[_0xbc4bab(0x168)]),_0x27abb4(0x1,_0x11775c['IImageIoService'])],_0x25835a);const _0x5ad886=[_0xbc4bab(0x367),_0xbc4bab(0x1ca),_0xbc4bab(0x2e1),_0xbc4bab(0x381),_0xbc4bab(0x239),_0xbc4bab(0x369)];class _0x54275e extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x455ec1=_0xbc4bab;super(...arguments),_0x1e1d43(this,_0x455ec1(0x255),new Map()),_0x1e1d43(this,_0x455ec1(0x1b4),0x0);}[_0xbc4bab(0x3bc)](_0x46af17){const _0x13e90c=_0xbc4bab;if(this['_assignedColors'][_0x13e90c(0x172)](_0x46af17))return this[_0x13e90c(0x255)][_0x13e90c(0x194)](_0x46af17);const _0x520d08=_0x5ad886[this[_0x13e90c(0x1b4)]];return this['_colorIndex']=(this[_0x13e90c(0x1b4)]+0x1)%_0x5ad886[_0x13e90c(0x277)],this[_0x13e90c(0x255)][_0x13e90c(0x36c)](_0x46af17,_0x520d08),_0x520d08;}}function _0x2bc99b(_0x3cd7bf){const _0x22e063=_0xbc4bab;let _0x603c9a='';for(const _0x363e38 of _0x3cd7bf){const {startOffset:_0xc07942,endOffset:_0x4b63ef,isActive:_0x470177,rangeType:_0x386ab7,segmentId:_0x17b528,segmentPage:_0xee2c3d}=_0x363e38;_0x603c9a[_0x22e063(0x277)]&&(_0x603c9a+=','),_0x603c9a+=_0xc07942+':'+_0x4b63ef+':'+(_0x470177?'1':'0')+':'+_0x386ab7+':'+_0x17b528+':'+_0xee2c3d;}return _0x603c9a;}function _0x3ff9a8(_0x504898){const _0x883f7e=_0xbc4bab,_0x432775=_0x504898[_0x883f7e(0x282)](','),_0xc399c9=[];for(const _0xcba303 of _0x432775){const [_0x205308,_0xef0bb9,_0x453c1f,_0x3f09ba,_0x502af3,_0x220249]=_0xcba303['split'](':');_0xc399c9[_0x883f7e(0x1e0)]({'startOffset':Number(_0x205308),'endOffset':Number(_0xef0bb9),'collapsed':_0x205308===_0xef0bb9,'isActive':_0x453c1f==='1','rangeType':_0x3f09ba===_0x51234e['DOC_RANGE_TYPE']['TEXT']?_0x51234e[_0x883f7e(0x335)]['TEXT']:_0x51234e[_0x883f7e(0x335)][_0x883f7e(0x16f)],'segmentId':typeof _0x502af3=='string'?String(_0x502af3):'','segmentPage':Number(_0x220249!=null?_0x220249:-0x1)});}return _0xc399c9[_0x883f7e(0x195)](_0x12511c=>_0x12511c[_0x883f7e(0x2ec)])||(_0xc399c9[0x0][_0x883f7e(0x2ec)]=!0x0),_0xc399c9;}class _0x143609 extends _0x51234e['RxDisposable']{constructor(){const _0x3cc35a=_0xbc4bab;super(...arguments),_0x1e1d43(this,'_collabCursorState$',new _0x5bbaf2[(_0x3cc35a(0x20d))](null)),_0x1e1d43(this,'collabCursorState$',this[_0x3cc35a(0x3da)][_0x3cc35a(0x2ac)]());}['syncEditingCollabCursor'](_0x20dfbe){const _0x32af61=_0xbc4bab,{unitID:_0x5a8d5e,memberID:_0x355146,textRanges:_0x54905a}=_0x20dfbe,_0x178513=_0x2bc99b(_0x54905a);if(_0x178513==='')return;const _0x597797={'unitID':_0x5a8d5e,'memberID':_0x355146,'selection':_0x178513};this['_collabCursorState$'][_0x32af61(0x1ab)](_0x597797);}}var _0x135f85=Object[_0xbc4bab(0x218)],_0x5314dd=(_0x4de90a,_0xe90b94,_0x224ebd,_0x51d61a)=>{const _0x539d49=_0xbc4bab;for(var _0x3da79e=_0x51d61a>0x1?void 0x0:_0x51d61a?_0x135f85(_0xe90b94,_0x224ebd):_0xe90b94,_0x5ab6b4=_0x4de90a[_0x539d49(0x277)]-0x1,_0x11b576;_0x5ab6b4>=0x0;_0x5ab6b4--)(_0x11b576=_0x4de90a[_0x5ab6b4])&&(_0x3da79e=_0x11b576(_0x3da79e)||_0x3da79e);return _0x3da79e;},_0x4b1656=(_0x646629,_0x1aa36a)=>(_0x11c498,_0x30daeb)=>_0x1aa36a(_0x11c498,_0x30daeb,_0x646629);const _0x1d3b69=0x12c,_0x71aeba=0x64;let _0x411e32=class extends _0x51234e['RxDisposable']{constructor(_0x28f29b,_0x451e3b,_0x387355,_0x575ee3,_0x336e31,_0x45fac7,_0x3635ae,_0x5f1e46,_0x4ecde9){const _0xc4c1b5=_0xbc4bab;super(),_0x1e1d43(this,_0xc4c1b5(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0xc4c1b5(0x241),new _0x5bbaf2[(_0xc4c1b5(0x20d))](new Map())),_0x1e1d43(this,_0xc4c1b5(0x21c),this[_0xc4c1b5(0x241)][_0xc4c1b5(0x2ac)]()),_0x1e1d43(this,_0xc4c1b5(0x206),new _0x5bbaf2['BehaviorSubject']([])),_0x1e1d43(this,_0xc4c1b5(0x1f5),this[_0xc4c1b5(0x206)][_0xc4c1b5(0x3bd)](_0x5bbaf2[_0xc4c1b5(0x252)](_0x1d3b69))),_0x1e1d43(this,_0xc4c1b5(0x371),_0x51234e['debounce'](_0x4d3fd6=>{const _0x49852c=_0xc4c1b5,_0x2998a7={'eventID':_0x2bb387[_0x49852c(0x2be)][_0x49852c(0x35c)],'data':{'unitID':this['unitID'],'memberID':this[_0x49852c(0x20a)]['getMemberID'](),'selection':_0x2bc99b(_0x4d3fd6)}};this[_0x49852c(0x20a)]['send'](_0x2998a7,this[_0x49852c(0x228)]);},_0x71aeba)),(this['unitID']=_0x28f29b,this[_0xc4c1b5(0x20a)]=_0x451e3b,this[_0xc4c1b5(0x284)]=_0x387355,this['_colorAssignService']=_0x575ee3,this[_0xc4c1b5(0x3a3)]=_0x336e31,this['_syncEditingCollabCursorService']=_0x45fac7,this[_0xc4c1b5(0x16b)]=_0x3635ae,this[_0xc4c1b5(0x17e)]=_0x5f1e46,this['_commandService']=_0x4ecde9);}get['cursorInfo'](){const _0x1987bb=_0xbc4bab;return this[_0x1987bb(0x241)]['getValue']();}get['roomMembers'](){const _0xe163e=_0xbc4bab;return this['_roomMembers$'][_0xe163e(0x294)]();}[_0xbc4bab(0x310)](){const _0x1717bc=_0xbc4bab;super['dispose'](),this[_0x1717bc(0x241)][_0x1717bc(0x1ab)](new Map()),this[_0x1717bc(0x241)][_0x1717bc(0x19e)](),this['_roomMembers$'][_0x1717bc(0x1ab)]([]),this[_0x1717bc(0x206)][_0x1717bc(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x28658e=_0xbc4bab;this[_0x28658e(0x1d6)]||(this[_0x28658e(0x1d6)]=!0x0,this['_session'][_0x28658e(0x385)][_0x28658e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x28658e(0x1a6)]))['subscribe'](_0x3f2ce0=>{const _0x38fb8f=_0x28658e;_0x3f2ce0===_0x45d92a['SessionStatus'][_0x38fb8f(0x25c)]?this[_0x38fb8f(0x3b5)]():this['_toggleOffline']();}),this[_0x28658e(0x20a)][_0x28658e(0x2c5)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this[_0x28658e(0x1a6)]))['subscribe'](_0xe0027b=>{const _0x501c36=_0x28658e,_0x3b85a0=_0xe0027b[_0x501c36(0x143)];_0x3b85a0===_0x2bb387[_0x501c36(0x2be)][_0x501c36(0x35c)]&&this[_0x501c36(0x3c1)](_0xe0027b),_0x3b85a0===_0x2bb387[_0x501c36(0x2be)]['USERS_LEAVE']&&this[_0x501c36(0x39b)](_0xe0027b);}),this[_0x28658e(0x2de)](this['_commandService'][_0x28658e(0x153)](_0x158ffb=>{const _0x5780d1=_0x28658e,_0x550c0f=_0x158ffb[_0x5780d1(0x32a)];_0x550c0f!=null&&this[_0x5780d1(0x2d7)]&&_0x158ffb['id']===_0x5886b2['SetTextSelectionsOperation']['id']&&_0x550c0f[_0x5780d1(0x3c6)]===this[_0x5780d1(0x228)]&&_0x550c0f['isEditing']===!0x1&&_0x550c0f[_0x5780d1(0x201)][_0x5780d1(0x277)]>0x0&&this[_0x5780d1(0x371)](_0x550c0f['ranges']);})),this[_0x28658e(0x2e8)][_0x28658e(0x2e3)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this['dispose$']))['subscribe'](_0x3c6004=>{const _0x4b44c5=_0x28658e;if((_0x3c6004==null?void 0x0:_0x3c6004['unitID'])!==this[_0x4b44c5(0x228)])return;const _0x30367d={'eventID':_0x2bb387[_0x4b44c5(0x2be)][_0x4b44c5(0x35c)],'data':_0x3c6004};this[_0x4b44c5(0x3c1)](_0x30367d);}),this[_0x28658e(0x2de)](this[_0x28658e(0x20f)][_0x28658e(0x153)](_0x42cee8=>{const _0x53b32d=_0x28658e;if(_0x42cee8[_0x53b32d(0x32a)]==null)return;const _0x517648=_0x42cee8['params'];if(_0x42cee8['id']!==_0x5886b2['RichTextEditingMutation']['id']||_0x517648[_0x53b32d(0x3c6)]!==this[_0x53b32d(0x228)])return;const _0x33f36f={'id':_0x53b32d(0x274),'params':_0x517648},_0x25f471=this['cursorInfo'];for(const [_0x5cfb35,_0x2a857e]of _0x25f471){const _0x41c25b={'id':_0x53b32d(0x274),'params':{'unitId':this[_0x53b32d(0x228)],'actions':null,'textRanges':_0x2a857e['ranges']}},_0x3d39ba=this[_0x53b32d(0x16b)]['transformMutation'](_0x33f36f,_0x41c25b,!0x1);if(_0x2bb387[_0x53b32d(0x2dc)](_0x3d39ba))throw _0x3d39ba[_0x53b32d(0x25a)];_0x25f471[_0x53b32d(0x36c)](_0x5cfb35,{..._0x2a857e,'ranges':_0x3d39ba['m2Prime'][_0x53b32d(0x32a)][_0x53b32d(0x185)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x25f471);});})));}['_onCursorUpdate'](_0x633321){const _0x40cd48=_0xbc4bab;var _0x271e4c,_0x5ef6b9;const {memberID:_0xe1c9cd,selection:_0x1c5cf5}=_0x633321[_0x40cd48(0x1b0)],_0x26f810=_0x3ff9a8(_0x1c5cf5),_0x264b32=(_0x5ef6b9=(_0x271e4c=this[_0x40cd48(0x3a3)]['getMember'](this['unitID'],_0xe1c9cd))==null?void 0x0:_0x271e4c[_0x40cd48(0x296)])!=null?_0x5ef6b9:_0x40cd48(0x329),_0x460aac={'color':this[_0x40cd48(0x3d5)][_0x40cd48(0x3bc)](_0xe1c9cd),'name':_0x264b32,'ranges':_0x26f810},_0x4d64b5=this[_0x40cd48(0x219)];_0x4d64b5['set'](_0xe1c9cd,_0x460aac),this[_0x40cd48(0x241)]['next'](_0x4d64b5);}[_0xbc4bab(0x39b)](_0x2629f7){const _0x2abb6d=_0xbc4bab,{memberID:_0x562829}=_0x2629f7['data'],_0x396260=this[_0x2abb6d(0x219)];_0x396260[_0x2abb6d(0x339)](_0x562829),this[_0x2abb6d(0x241)][_0x2abb6d(0x1ab)](_0x396260);}[_0xbc4bab(0x3b5)](){const _0x4994d3=_0xbc4bab;var _0x538095;if(this['_online']=!0x0,((_0x538095=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x538095[_0x4994d3(0x27a)]())!==this[_0x4994d3(0x228)])return;const _0x329b87=this[_0x4994d3(0x284)][_0x4994d3(0x194)](_0x5886b2['DocSelectionManagerService'])[_0x4994d3(0x3ad)]();Array[_0x4994d3(0x35b)](_0x329b87)&&_0x329b87[_0x4994d3(0x277)]>0x0&&this[_0x4994d3(0x371)](_0x329b87);}[_0xbc4bab(0x305)](){const _0x1436d4=_0xbc4bab;this[_0x1436d4(0x2d7)]=!0x1;}};_0x411e32=_0x5314dd([_0x4b1656(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x4b1656(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x54275e)),_0x4b1656(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x178)])),_0x4b1656(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x4b1656(0x6,_0x2bb387[_0xbc4bab(0x32e)]),_0x4b1656(0x7,_0x51234e[_0xbc4bab(0x2a4)]),_0x4b1656(0x8,_0x51234e[_0xbc4bab(0x30f)])],_0x411e32);var _0x381fae=Object['getOwnPropertyDescriptor'],_0xbbac47=(_0x5bf41c,_0x38627d,_0x504201,_0x25bf5d)=>{const _0x2a4a04=_0xbc4bab;for(var _0x7b8b1d=_0x25bf5d>0x1?void 0x0:_0x25bf5d?_0x381fae(_0x38627d,_0x504201):_0x38627d,_0x506634=_0x5bf41c[_0x2a4a04(0x277)]-0x1,_0x22bd70;_0x506634>=0x0;_0x506634--)(_0x22bd70=_0x5bf41c[_0x506634])&&(_0x7b8b1d=_0x22bd70(_0x7b8b1d)||_0x7b8b1d);return _0x7b8b1d;},_0x30b00e=(_0x18321e,_0x52c545)=>(_0x49143f,_0x36496e)=>_0x52c545(_0x49143f,_0x36496e,_0x18321e);const _0x3fa754=0x12c,_0x3c0e6d=0x64,_0x308728=()=>{let _0x41afff=[],_0x486f08=!0x1;return _0x58011c=>{const _0x2fefe7=_0x3b2a;_0x41afff[_0x2fefe7(0x1e0)](_0x58011c),_0x486f08||(_0x486f08=!0x0,setTimeout(()=>{const _0x3a0fd2=_0x2fefe7;_0x41afff[_0x3a0fd2(0x35f)](_0x205765=>_0x205765()),_0x41afff=[],_0x486f08=!0x1;}));};};let _0x6710a4=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd5de8d,_0x163a76,_0x4564ca,_0x577805,_0x25573a,_0x82e508,_0x42bf58,_0x3a471e){const _0x144185=_0xbc4bab;super(),_0x1e1d43(this,_0x144185(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0x144185(0x241),new _0x5bbaf2[(_0x144185(0x20d))](new Map())),_0x1e1d43(this,_0x144185(0x21c),this['_cursorInfo$'][_0x144185(0x2ac)]()),_0x1e1d43(this,_0x144185(0x206),new _0x5bbaf2[(_0x144185(0x20d))]([])),_0x1e1d43(this,_0x144185(0x1f5),this[_0x144185(0x206)][_0x144185(0x3bd)](_0x5bbaf2[_0x144185(0x252)](_0x3fa754))),_0x1e1d43(this,_0x144185(0x371),_0x51234e[_0x144185(0x288)]((_0x38bc5a,_0x553966)=>{const _0x2e4e38=_0x144185,_0x53d1f7={'eventID':_0x2bb387[_0x2e4e38(0x2be)][_0x2e4e38(0x35c)],'data':{'unitID':this[_0x2e4e38(0x228)],'memberID':this[_0x2e4e38(0x20a)][_0x2e4e38(0x2a3)](),'selection':_0x2966d1[_0x2e4e38(0x247)](_0x38bc5a,_0x553966[_0x2e4e38(0x3a4)])}};this[_0x2e4e38(0x20a)][_0x2e4e38(0x244)](_0x53d1f7,this['unitID']);},_0x3c0e6d)),(this[_0x144185(0x228)]=_0xd5de8d,this[_0x144185(0x20a)]=_0x163a76,this[_0x144185(0x284)]=_0x4564ca,this[_0x144185(0x3d5)]=_0x577805,this[_0x144185(0x3a3)]=_0x25573a,this[_0x144185(0x17e)]=_0x82e508,this[_0x144185(0x20f)]=_0x42bf58,this[_0x144185(0x1b2)]=_0x3a471e);}get[_0xbc4bab(0x219)](){const _0x548ca5=_0xbc4bab;return this[_0x548ca5(0x241)]['getValue']();}get[_0xbc4bab(0x29d)](){const _0x2ef32e=_0xbc4bab;return this[_0x2ef32e(0x206)]['getValue']();}['dispose'](){const _0x194801=_0xbc4bab;super[_0x194801(0x310)](),this[_0x194801(0x241)][_0x194801(0x1ab)](new Map()),this[_0x194801(0x241)][_0x194801(0x19e)](),this[_0x194801(0x206)][_0x194801(0x1ab)]([]),this[_0x194801(0x206)][_0x194801(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x4b9e9f=_0xbc4bab;this[_0x4b9e9f(0x1d6)]||(this['_init']=!0x0,this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x385)][_0x4b9e9f(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x37727e=>{const _0x438bc6=_0x4b9e9f;_0x37727e===_0x45d92a['SessionStatus'][_0x438bc6(0x25c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x2c5)][_0x4b9e9f(0x3bd)](_0x5bbaf2[_0x4b9e9f(0x2e5)](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x31a727=>{const _0x4dc27b=_0x4b9e9f,_0x4492e7=_0x31a727['eventID'];_0x4492e7===_0x2bb387[_0x4dc27b(0x2be)][_0x4dc27b(0x35c)]&&this[_0x4dc27b(0x3c1)](_0x31a727),_0x4492e7===_0x2bb387['CollaborationEvent'][_0x4dc27b(0x319)]&&this['_onCursorDelete'](_0x31a727);}),this[_0x4b9e9f(0x1d4)](),this['disposeWithMe'](this['_commandService'][_0x4b9e9f(0x153)](_0x4d96d3=>{const _0x2b076e=_0x4b9e9f;if(this[_0x2b076e(0x2d7)]&&_0x4d96d3['id']===_0x2cb7cc[_0x2b076e(0x23b)]['id']&&_0x4d96d3[_0x2b076e(0x32a)][_0x2b076e(0x3c6)]===this['unitID']){const _0x204603=_0x4d96d3[_0x2b076e(0x32a)];this[_0x2b076e(0x371)](_0x204603[_0x2b076e(0x366)],_0x204603[_0x2b076e(0x359)][0x0]);}})));}[_0xbc4bab(0x3c1)](_0xc13aa7){const _0x406f55=_0xbc4bab;var _0x20a56c,_0x28562a;const {memberID:_0x247ddc,selection:_0x5aa9df}=_0xc13aa7[_0x406f55(0x1b0)],{sheetName:_0xdf1b05,range:_0x19a23d}=_0x2966d1[_0x406f55(0x1d8)](_0x5aa9df),_0x59ad5b={'name':(_0x28562a=(_0x20a56c=this[_0x406f55(0x3a3)][_0x406f55(0x2f9)](this[_0x406f55(0x228)],_0x247ddc))==null?void 0x0:_0x20a56c[_0x406f55(0x296)])!=null?_0x28562a:_0x406f55(0x329),'range':this[_0x406f55(0x31a)](_0xdf1b05,_0x19a23d),'sheetID':_0xdf1b05,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x247ddc),'selection':_0x5aa9df},_0x56fb7b=this[_0x406f55(0x219)];_0x56fb7b[_0x406f55(0x36c)](_0x247ddc,_0x59ad5b),this[_0x406f55(0x241)]['next'](_0x56fb7b);}[_0xbc4bab(0x39b)](_0x4d1fc9){const _0xa81bf8=_0xbc4bab,{memberID:_0x6cea8d}=_0x4d1fc9[_0xa81bf8(0x1b0)],_0x1cfed0=this[_0xa81bf8(0x219)];_0x1cfed0[_0xa81bf8(0x339)](_0x6cea8d),this[_0xa81bf8(0x241)][_0xa81bf8(0x1ab)](_0x1cfed0);}[_0xbc4bab(0x31a)](_0x3ec00c,_0x4186e1){const _0x444ae6=_0xbc4bab;var _0x2411a3,_0x444126;const _0x2bef74=(_0x444126=(_0x2411a3=this[_0x444ae6(0x17e)][_0x444ae6(0x368)](this[_0x444ae6(0x228)]))==null?void 0x0:_0x2411a3['getSheetBySheetId'](_0x3ec00c))==null?void 0x0:_0x444126[_0x444ae6(0x1ce)]();return(_0x2bef74==null?void 0x0:_0x2bef74['find'](_0x3f85c6=>_0x51234e[_0x444ae6(0x36b)][_0x444ae6(0x1d7)](_0x3f85c6,_0x4186e1)))||_0x4186e1;}['_onRefRangeChange'](){const _0x98dbf9=_0xbc4bab,_0x6f6f3a=new _0x51234e['DisposableCollection'](),_0x198f00=_0x308728(),_0xc2a8bf=()=>{const _0x4f184d=_0x3b2a;_0x6f6f3a[_0x4f184d(0x310)]();const _0x154ed6=(_0xf14553,_0x41a040,_0x53b833,_0x46bac4)=>{const _0xb22c7d=_0x4f184d;let _0x34b1eb=[];switch(_0xf14553['id']){case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x29b)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2d9)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['DeleteRangeMoveUpCommandId']:{_0x34b1eb=_0x2cb7cc['handleDeleteRangeMoveUp'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x334)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x37c)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x283)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x31e)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc['EffectRefRangId'][_0xb22c7d(0x230)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x3be)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x1c2)]:{_0x34b1eb=_0x2cb7cc['handleInsertRow'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['MoveRangeCommandId']:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x295)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x3c3)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2ed)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['RemoveRowCommandId']:{_0x34b1eb=_0x2cb7cc['handleIRemoveRow'](_0xf14553,_0x46bac4);break;}}const _0x5d6fc6=_0x2cb7cc[_0xb22c7d(0x346)](_0x34b1eb,_0x46bac4),_0x629829=this['cursorInfo']['get'](_0x41a040);if(_0x629829&&_0x5d6fc6){const _0x62bb5a={..._0x629829,'range':_0x5d6fc6};this[_0xb22c7d(0x219)][_0xb22c7d(0x36c)](_0x41a040,_0x62bb5a),_0x198f00(()=>{const _0x38770e=_0xb22c7d,_0xe1b969=this[_0x38770e(0x1b2)]['registerRefRange'](_0x5d6fc6,_0x2c4b31=>(_0xe1b969['dispose'](),_0x154ed6(_0x2c4b31,_0x41a040,_0x53b833,_0x5d6fc6)));_0x6f6f3a[_0x38770e(0x2fb)](_0xe1b969);});}return{'redos':[],'undos':[]};};this[_0x4f184d(0x219)]['forEach']((_0x386b8c,_0x2fd282)=>{const _0x35d29f=_0x4f184d,{range:_0x33b3df,sheetID:_0xf8ba73}=_0x386b8c,_0x4bba6d=this['_refRangeService'][_0x35d29f(0x21a)](_0x33b3df,_0x8df1dc=>(_0x4bba6d[_0x35d29f(0x310)](),_0x154ed6(_0x8df1dc,_0x2fd282,_0xf8ba73,_0x33b3df)));_0x6f6f3a[_0x35d29f(0x2fb)](_0x4bba6d);});};this['disposeWithMe'](_0x51234e[_0x98dbf9(0x33a)](this[_0x98dbf9(0x241)]['subscribe'](()=>{_0xc2a8bf();})));}[_0xbc4bab(0x3b5)](){const _0x5a0583=_0xbc4bab;var _0x899b9d,_0x2cfc1e;if(this[_0x5a0583(0x2d7)]=!0x0,((_0x899b9d=this[_0x5a0583(0x17e)][_0x5a0583(0x3d9)]())==null?void 0x0:_0x899b9d[_0x5a0583(0x27a)]())!==this['unitID'])return;const _0x2317c8=(_0x2cfc1e=this[_0x5a0583(0x284)][_0x5a0583(0x194)](_0x2cb7cc['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2cfc1e[0x0],_0x3c3a27=this[_0x5a0583(0x17e)]['getCurrentUnitForType'](_0x51234e[_0x5a0583(0x3af)]['UNIVER_SHEET'])['getActiveSheet']();_0x2317c8&&_0x3c3a27&&this['_updateLocalCursor'](_0x3c3a27[_0x5a0583(0x156)](),_0x2317c8);}[_0xbc4bab(0x305)](){const _0x54873d=_0xbc4bab;this[_0x54873d(0x2d7)]=!0x1;}};_0x6710a4=_0xbbac47([_0x30b00e(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x30b00e(0x3,_0x51234e['Inject'](_0x54275e)),_0x30b00e(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a['MemberService'])),_0x30b00e(0x5,_0x51234e[_0xbc4bab(0x2a4)]),_0x30b00e(0x6,_0x51234e['ICommandService']),_0x30b00e(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x2cb7cc[_0xbc4bab(0x2cd)]))],_0x6710a4);var _0x1d4b03=Object[_0xbc4bab(0x218)],_0x2ca213=(_0x3502fb,_0x19b652,_0x1d29af,_0x56b4e4)=>{const _0x38c923=_0xbc4bab;for(var _0x41ab5f=_0x56b4e4>0x1?void 0x0:_0x56b4e4?_0x1d4b03(_0x19b652,_0x1d29af):_0x19b652,_0x81a2ea=_0x3502fb[_0x38c923(0x277)]-0x1,_0x3ec4d3;_0x81a2ea>=0x0;_0x81a2ea--)(_0x3ec4d3=_0x3502fb[_0x81a2ea])&&(_0x41ab5f=_0x3ec4d3(_0x41ab5f)||_0x41ab5f);return _0x41ab5f;},_0x30c703=(_0x2c9e68,_0x2ed25d)=>(_0x577557,_0x539522)=>_0x2ed25d(_0x577557,_0x539522,_0x2c9e68);let _0x217dd7=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd240db,_0x178801,_0x24ed35){const _0x448426=_0xbc4bab;super(),_0x1e1d43(this,_0x448426(0x2b7),new Map()),_0x1e1d43(this,_0x448426(0x3cc),new _0x5bbaf2[(_0x448426(0x150))]()),(this['_univerInstanceService']=_0xd240db,this[_0x448426(0x284)]=_0x178801,this[_0x448426(0x157)]=_0x24ed35,this[_0x448426(0x1d6)]());}[_0xbc4bab(0x310)](){const _0x5c5376=_0xbc4bab;super['dispose'](),this[_0x5c5376(0x3cc)][_0x5c5376(0x19e)](),this[_0x5c5376(0x2b7)]['forEach'](_0x3bece0=>_0x3bece0['dispose']());}[_0xbc4bab(0x336)](_0x1959fa){const _0x1b32b7=_0xbc4bab;return this[_0x1b32b7(0x2b7)][_0x1b32b7(0x172)](_0x1959fa)?this[_0x1b32b7(0x2b7)][_0x1b32b7(0x194)](_0x1959fa)[_0x1b32b7(0x21c)]:this['_entityInit$'][_0x1b32b7(0x3bd)](_0x5bbaf2[_0x1b32b7(0x2af)](_0x5336dc=>_0x5336dc[_0x1b32b7(0x228)]===_0x1959fa),_0x5bbaf2[_0x1b32b7(0x3c8)](_0x2613a3=>_0x2613a3[_0x1b32b7(0x21c)]));}[_0xbc4bab(0x1d6)](){const _0x132f0e=_0xbc4bab;this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e['UniverInstanceType'][_0x132f0e(0x1a7)])['pipe'](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](async _0x160503=>{const _0x581995=_0x132f0e,_0x3e7c42=_0x160503[_0x581995(0x27a)](),_0x1d1215=await this[_0x581995(0x2e9)](_0x3e7c42);this[_0x581995(0x3cc)][_0x581995(0x1ab)](_0x1d1215),this[_0x581995(0x2b7)][_0x581995(0x36c)](_0x3e7c42,_0x1d1215);}),this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x26e)])[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))[_0x132f0e(0x3bd)](_0x5bbaf2[_0x132f0e(0x2af)](_0x19eac5=>!_0x19eac5[_0x132f0e(0x27a)]()[_0x132f0e(0x304)]('__')))[_0x132f0e(0x2ae)](async _0x8c4f76=>{const _0x4b0106=_0x132f0e,_0x5177ca=_0x8c4f76[_0x4b0106(0x27a)](),_0x31208d=await this[_0x4b0106(0x149)](_0x5177ca);this[_0x4b0106(0x3cc)][_0x4b0106(0x1ab)](_0x31208d),this['_entities'][_0x4b0106(0x36c)](_0x5177ca,_0x31208d);}),_0x5bbaf2[_0x132f0e(0x374)](this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e['UniverInstanceType'][_0x132f0e(0x26e)]),this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x1a7)]))[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](_0x251284=>{const _0x2de6cb=_0x132f0e,_0x8d42aa=_0x251284[_0x2de6cb(0x27a)](),_0x4e8ddc=this['_entities']['get'](_0x8d42aa);_0x4e8ddc&&(_0x4e8ddc[_0x2de6cb(0x310)](),this[_0x2de6cb(0x2b7)][_0x2de6cb(0x339)](_0x8d42aa));});}async[_0xbc4bab(0x2e9)](_0x3c5a35){const _0x3f42f5=_0xbc4bab,_0x43450f=await this['_collabSessionService']['requireSession'](_0x3c5a35),_0x11a6e9=this['_injector'][_0x3f42f5(0x39c)](_0x6710a4,_0x3c5a35,_0x43450f);return _0x11a6e9[_0x3f42f5(0x26f)](),_0x11a6e9;}async[_0xbc4bab(0x149)](_0x4517a3){const _0x1b92e9=_0xbc4bab,_0x49cd92=await this['_collabSessionService'][_0x1b92e9(0x358)](_0x4517a3),_0x4e9e82=this[_0x1b92e9(0x284)][_0x1b92e9(0x39c)](_0x411e32,_0x4517a3,_0x49cd92);return _0x4e9e82[_0x1b92e9(0x26f)](),_0x4e9e82;}};_0x217dd7=_0x2ca213([_0x30c703(0x0,_0x51234e['IUniverInstanceService']),_0x30c703(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['Injector'])),_0x30c703(0x2,_0x51234e['Inject'](_0x45d92a[_0xbc4bab(0x327)]))],_0x217dd7);const _0x1c6139=0x14,_0x21f322=0xc8,_0x39817f=0x4,_0x4ca3a9=0x5;function _0x53b84c(_0x55853d,_0x3fa353){const _0x984b3b=_0xbc4bab;let {radius:_0x340f48,width:_0x4c9dd2,height:_0x2fff1a}=_0x3fa353;_0x340f48=_0x340f48!=null?_0x340f48:0x0,_0x4c9dd2=_0x4c9dd2!=null?_0x4c9dd2:0x1e,_0x2fff1a=_0x2fff1a!=null?_0x2fff1a:0x1e;let _0x398d7d=0x0,_0x18892a=0x0,_0x10febd=0x0;_0x398d7d=_0x18892a=_0x10febd=Math[_0x984b3b(0x2f6)](_0x340f48,_0x4c9dd2/0x2,_0x2fff1a/0x2),_0x55853d[_0x984b3b(0x38e)](),_0x55853d[_0x984b3b(0x383)](_0x398d7d,0x0),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2-_0x18892a,0x0),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x18892a,_0x18892a,_0x18892a,Math['PI']*0x3/0x2,0x0,!0x1),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2,_0x2fff1a-_0x10febd),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x10febd,_0x2fff1a-_0x10febd,_0x10febd,0x0,Math['PI']/0x2,!0x1),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x2fff1a),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x398d7d),_0x55853d[_0x984b3b(0x229)](_0x398d7d,_0x398d7d,_0x398d7d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55853d[_0x984b3b(0x258)](),_0x3fa353[_0x984b3b(0x3d8)]&&(_0x55853d['save'](),_0x55853d[_0x984b3b(0x28a)]=_0x3fa353['fill'],_0x3fa353[_0x984b3b(0x1c4)]===_0x984b3b(0x1be)?_0x55853d[_0x984b3b(0x3d8)]('evenodd'):_0x55853d['fill'](),_0x55853d['restore']());}class _0x51e8ff extends _0x5cd4ea[_0xbc4bab(0x291)]{constructor(_0x5babf4,_0x454cbb){const _0x9e8d98=_0xbc4bab;super(_0x5babf4,_0x454cbb),_0x1e1d43(this,_0x9e8d98(0x285)),_0x1e1d43(this,'text'),(this['color']=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x285)],this[_0x9e8d98(0x397)]=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x397)]);}static[_0xbc4bab(0x160)](_0x298d38,_0xfe5bf1){const _0x2bf444=_0xbc4bab,{text:_0xa3f01d,color:_0x415509}=_0xfe5bf1;_0x298d38[_0x2bf444(0x1b8)](),_0x298d38[_0x2bf444(0x18c)]=_0x2bf444(0x30d);const _0x43bf18=_0x298d38[_0x2bf444(0x1cb)](_0xa3f01d)[_0x2bf444(0x354)],_0x1fade9=Math['min'](_0x43bf18+0x2*_0x39817f,_0x21f322);_0x53b84c(_0x298d38,{'height':_0x1c6139,'radius':0x4,'width':_0x1fade9,'fill':_0x415509}),_0x298d38[_0x2bf444(0x28a)]=_0x2bf444(0x1f7);const _0x2d2811=_0x39817f,_0x4555ed=_0x1c6139-_0x4ca3a9,_0x5a1fb2=_0x21f322-0x2*_0x39817f;if(_0x43bf18>_0x5a1fb2){let _0x9f824='',_0x5b6913=0x0;for(const _0x398958 of _0xa3f01d){const _0x2cceda=_0x298d38['measureText'](_0x398958)[_0x2bf444(0x354)];if(_0x5b6913+_0x2cceda<=_0x5a1fb2-_0x298d38[_0x2bf444(0x1cb)](_0x2bf444(0x30c))[_0x2bf444(0x354)])_0x9f824+=_0x398958,_0x5b6913+=_0x2cceda;else{_0x9f824+=_0x2bf444(0x30c);break;}}_0x298d38['fillText'](_0x9f824,_0x2d2811,_0x4555ed);}else _0x298d38[_0x2bf444(0x16d)](_0xa3f01d,_0x2d2811,_0x4555ed);_0x298d38[_0x2bf444(0x234)]();}[_0xbc4bab(0x378)](_0x50473c){const _0x251b81=_0xbc4bab;_0x51e8ff[_0x251b81(0x160)](_0x50473c,this);}}const _0x587ace=_0xbc4bab(0x309),_0x20b92a=_0xbc4bab(0x2c7),_0x30a0b3='collab-rect-range-',_0x2a16a4=0x6,_0x207d7b=1.5,_0x106f16=0x4,_0x3a2edd=1.5,_0x144465=_0xbc4bab(0x396);class _0x55d337{constructor(_0x9c4387,_0x2a5647,_0x9fa03d,_0x52344f){const _0x582808=_0xbc4bab;_0x1e1d43(this,_0x582808(0x278),[]),_0x1e1d43(this,_0x582808(0x2fc),null),_0x1e1d43(this,_0x582808(0x28c),null),_0x1e1d43(this,'_anchorDot',null),_0x1e1d43(this,_0x582808(0x1f2),null),_0x1e1d43(this,_0x582808(0x3b9),null),(this[_0x582808(0x315)]=_0x9c4387,this[_0x582808(0x224)]=_0x2a5647,this['_docSkeleton']=_0x9fa03d,this[_0x582808(0x14d)]=_0x52344f,this['_render']());}set[_0xbc4bab(0x2bc)](_0x2e7b4f){const _0x3345d4=_0xbc4bab;_0x2e7b4f?(this['_anchorDot']&&this[_0x3345d4(0x183)]['hide'](),this[_0x3345d4(0x28c)]&&this['_textBubble']['show']()):(this[_0x3345d4(0x183)]&&this[_0x3345d4(0x183)][_0x3345d4(0x34d)](),this['_textBubble']&&this[_0x3345d4(0x28c)][_0x3345d4(0x3a7)]());}[_0xbc4bab(0x310)](){const _0x389043=_0xbc4bab;for(const _0xf98d37 of this[_0x389043(0x278)])_0xf98d37[_0x389043(0x310)]();this[_0x389043(0x28c)]&&this[_0x389043(0x28c)][_0x389043(0x310)](),this[_0x389043(0x183)]&&this[_0x389043(0x183)][_0x389043(0x310)](),this[_0x389043(0x2fc)]&&this[_0x389043(0x2fc)][_0x389043(0x310)](),this['_eventUnsubscribe']&&this[_0x389043(0x3b9)]();}[_0xbc4bab(0x3d7)](){const _0x73d84b=_0xbc4bab;var _0x1ffe73;const {_docSkeleton:_0x156a5e,_document:_0x1994c3}=this,{color:_0x96ca92,name:_0x266aa5,ranges:_0x5cc8a0}=this[_0x73d84b(0x315)],_0x9de8b=_0x1994c3[_0x73d84b(0x187)](),{docsLeft:_0xf10e8b,docsTop:_0x41282e}=_0x9de8b,_0x155554=new _0x31dfa4['NodePositionConvertToCursor'](_0x9de8b,_0x156a5e);for(const {startOffset:_0x2a0dd0,endOffset:_0x177b49,rangeType:_0x310564,segmentId:_0x4f5155,segmentPage:_0x1ac6db,collapsed:_0x18271a,isActive:_0x5864c8}of _0x5cc8a0){const _0x14ff5e=_0x156a5e[_0x73d84b(0x23e)](_0x2a0dd0,!0x0,_0x4f5155,_0x1ac6db);let _0x1c5493=_0x156a5e['findNodePositionByCharIndex'](_0x177b49,!0x0,_0x4f5155,_0x1ac6db);if(_0x1c5493==null&&(_0x1c5493=_0x156a5e[_0x73d84b(0x23e)](_0x177b49-0x1,!0x1,_0x4f5155,_0x1ac6db)),_0x5864c8){const {contentBoxPointGroup:_0x2d3845}=_0x155554[_0x73d84b(0x30a)](_0x1c5493,_0x1c5493);if(_0x2d3845['length']===0x0)continue;this[_0x73d84b(0x2b5)](_0x96ca92,_0x2d3845,_0xf10e8b,_0x41282e,_0x266aa5),this[_0x73d84b(0x3b9)]=this[_0x73d84b(0x1db)]();}if(_0x14ff5e&&_0x1c5493){if(_0x310564===_0x51234e[_0x73d84b(0x335)][_0x73d84b(0x16f)]){const _0x52c002=new _0x31dfa4[(_0x73d84b(0x382))](_0x9de8b,_0x156a5e),{pointGroup:_0x97a940}=(_0x1ffe73=_0x52c002[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493))!=null?_0x1ffe73:{};if(_0x97a940==null||_0x97a940[_0x73d84b(0x277)]===0x0)continue;this['_drawRectRange'](_0x96ca92,_0x97a940,_0xf10e8b,_0x41282e);}else{if(!_0x18271a){const {borderBoxPointGroup:_0x2d70ce}=_0x155554[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493);if(_0x2d70ce['length']===0x0)continue;this[_0x73d84b(0x318)](_0x96ca92,_0x2d70ce,_0xf10e8b,_0x41282e);}}}}}[_0xbc4bab(0x2b5)](_0x4661ae,_0x3f473f,_0x49f445,_0x4459a7,_0x5b458c){const _0x5e60a8=_0xbc4bab,_0x5365f2=this[_0x5e60a8(0x1ae)](_0x3f473f),{left:_0xcfce4c,top:_0x1ffa5d,height:_0x1fbea0}=_0x5365f2,_0x2a8333=this[_0x5e60a8(0x31b)](),_0xc71ca6=_0x3a2edd/_0x2a8333,_0x58757c=new _0x5cd4ea['Rect'](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7,'height':_0x1fbea0,'width':_0x207d7b,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e['COLORS'][_0x5e60a8(0x34e)],0x0),'strokeWidth':_0xc71ca6,'stroke':_0x144465,'evented':!0x0});this[_0x5e60a8(0x2fc)]=_0x58757c,this['_scene'][_0x5e60a8(0x24f)](_0x58757c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x26996c=new _0x5cd4ea[(_0x5e60a8(0x308))](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x106f16/0x2,'height':_0x106f16,'width':_0x106f16,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'strokeWidth':0x0,'stroke':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'evented':!0x1});this[_0x5e60a8(0x183)]=_0x26996c,this[_0x5e60a8(0x224)]['addObject'](_0x26996c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x5ead2d=new _0x51e8ff(_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x1c6139,'text':_0x5b458c,'color':_0x4661ae});this[_0x5e60a8(0x28c)]=_0x5ead2d,this['_scene'][_0x5e60a8(0x24f)](_0x5ead2d,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']),this[_0x5e60a8(0x2bc)]=!0x1;}['_handleHover'](){const _0x4229fd=_0xbc4bab,_0x21b228=this['_anchor'][_0x4229fd(0x25b)][_0x4229fd(0x3d1)](()=>{this['_hover']=!0x0;}),_0x1b0438=this[_0x4229fd(0x2fc)][_0x4229fd(0x2c9)][_0x4229fd(0x3d1)](()=>{const _0x5b6ae8=_0x4229fd;this['_hideTimer']&&clearTimeout(this[_0x5b6ae8(0x1f2)]),this[_0x5b6ae8(0x1f2)]=setTimeout(()=>{const _0x3fb513=_0x5b6ae8;this[_0x3fb513(0x2bc)]=!0x1;},0x7d0);});return()=>{const _0x3d1e1c=_0x4229fd;_0x21b228[_0x3d1e1c(0x18d)](),_0x1b0438[_0x3d1e1c(0x18d)]();};}[_0xbc4bab(0x318)](_0x1af0d0,_0x5b0636,_0x5a5f31,_0x507d16){const _0x4d0e81=_0xbc4bab,_0x25091e=new _0x51234e[(_0x4d0e81(0x223))](_0x1af0d0)[_0x4d0e81(0x1cf)](0.2)[_0x4d0e81(0x3b6)](),_0x12ae73=new _0x5cd4ea[(_0x4d0e81(0x27f))](_0x20b92a+_0x51234e[_0x4d0e81(0x1a2)](_0x2a16a4),{'pointsGroup':_0x5b0636,'fill':_0x25091e||_0x5cd4ea[_0x4d0e81(0x3b1)](_0x51234e[_0x4d0e81(0x3cf)]['black'],0.2),'left':_0x5a5f31,'top':_0x507d16,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x12ae73),this[_0x4d0e81(0x224)]['addObject'](_0x12ae73,_0x31dfa4[_0x4d0e81(0x1d2)]);}['_drawRectRange'](_0x33c0ec,_0x25c021,_0x425a2b,_0x360856){const _0x14a618=_0xbc4bab,_0x28e4dd=new _0x51234e[(_0x14a618(0x223))](_0x33c0ec)[_0x14a618(0x1cf)](0.2)['toRgbString'](),_0x52e620=new _0x5cd4ea[(_0x14a618(0x27f))](_0x30a0b3+_0x51234e['generateRandomId'](_0x2a16a4),{'pointsGroup':_0x25c021,'fill':_0x28e4dd||_0x5cd4ea['getColor'](_0x51234e['COLORS']['black'],0.2),'left':_0x425a2b,'top':_0x360856,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a618(0x278)][_0x14a618(0x1e0)](_0x52e620),this[_0x14a618(0x224)][_0x14a618(0x24f)](_0x52e620,_0x31dfa4[_0x14a618(0x1d2)]);}[_0xbc4bab(0x1ae)](_0x21a136){const _0x1bb7bc=_0x21a136[0x0],_0x504e3b=_0x1bb7bc[0x0],_0x1825ff=_0x1bb7bc[0x2],{x:_0xd2a459,y:_0x42aebf}=_0x504e3b,{x:_0x4ffcfa,y:_0x2178fe}=_0x1825ff;return{'left':_0xd2a459,'top':_0x42aebf,'width':_0x4ffcfa-_0xd2a459,'height':_0x2178fe-_0x42aebf};}[_0xbc4bab(0x31b)](){const _0x42c99b=_0xbc4bab,{scaleX:_0xff029d,scaleY:_0xc99d0b}=this[_0x42c99b(0x224)]['getAncestorScale']();return Math[_0x42c99b(0x2d1)](_0xff029d,_0xc99d0b);}}var _0xec9485=Object[_0xbc4bab(0x218)],_0x1948c3=(_0x2e6f10,_0x4f49cd,_0x4b603c,_0x25f47f)=>{const _0x16d329=_0xbc4bab;for(var _0x14fa95=_0x25f47f>0x1?void 0x0:_0x25f47f?_0xec9485(_0x4f49cd,_0x4b603c):_0x4f49cd,_0x30c339=_0x2e6f10[_0x16d329(0x277)]-0x1,_0xade550;_0x30c339>=0x0;_0x30c339--)(_0xade550=_0x2e6f10[_0x30c339])&&(_0x14fa95=_0xade550(_0x14fa95)||_0x14fa95);return _0x14fa95;},_0x2c4f01=(_0x38e3f0,_0x3659f3)=>(_0x44c019,_0x46343b)=>_0x3659f3(_0x44c019,_0x46343b,_0x38e3f0);let _0x2b471f=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x3ed30d,_0x3a83de,_0x465d74,_0xb17a8,_0x2dc27f){const _0x362bac=_0xbc4bab;super(),_0x1e1d43(this,_0x362bac(0x1c6),[]),_0x1e1d43(this,_0x362bac(0x2c8),[]),(this[_0x362bac(0x390)]=_0x3ed30d,this['_docSkeletonManagerService']=_0x3a83de,this['_collabCursorController']=_0x465d74,this[_0x362bac(0x20f)]=_0xb17a8,this[_0x362bac(0x2f5)]=_0x2dc27f,this[_0x362bac(0x1d6)]());}['_init'](){const _0x297abc=_0xbc4bab,_0x5352c4=this[_0x297abc(0x390)]['unitId'],_0x3c72ea=this[_0x297abc(0x348)];this[_0x297abc(0x2de)](_0x5bbaf2[_0x297abc(0x1b5)]([this['_collabCursorController'][_0x297abc(0x336)](_0x5352c4),this[_0x297abc(0x2f5)][_0x297abc(0x3c9)]])['pipe'](_0x653998[_0x297abc(0x2fe)](([_0x241807,_0x1e88fb])=>({'skeleton':_0x3c72ea[_0x297abc(0x312)](),'cursors':[..._0x241807[_0x297abc(0x1a4)]()]['flatMap'](_0x14d3b9=>({..._0x14d3b9,'color':this['_themeService']['getColorFromTheme'](_0x14d3b9['color'])}))})))[_0x297abc(0x2ae)](_0x113d00=>{const _0x3139fe=_0x297abc;if(this[_0x3139fe(0x1a0)](),_0x113d00){const {skeleton:_0x6054ec,cursors:_0xd459ac}=_0x113d00;this[_0x3139fe(0x33d)](_0x6054ec,_0xd459ac);}})),this[_0x297abc(0x286)](),this[_0x297abc(0x2b6)]();}[_0xbc4bab(0x33d)](_0x4a3c2c,_0x3774da){const _0x18fe3e=_0xbc4bab,{scene:_0x3d4c05,mainComponent:_0x35d431}=this[_0x18fe3e(0x390)],_0x15b3db=_0x3774da[_0x18fe3e(0x2fe)](_0x1727fc=>new _0x55d337(_0x1727fc,_0x3d4c05,_0x4a3c2c,_0x35d431));this[_0x18fe3e(0x1c6)]=_0x15b3db,this[_0x18fe3e(0x2c8)]=_0x3774da;}['_refreshCollabCursors'](){const _0x7b347b=_0xbc4bab;this[_0x7b347b(0x1a0)]();const {scene:_0x38444d,mainComponent:_0x2787e3}=this[_0x7b347b(0x390)],_0x1f80d2=this[_0x7b347b(0x348)]['getSkeleton'](),_0x28bf26=this[_0x7b347b(0x2c8)]['map'](_0x526e8b=>new _0x55d337(_0x526e8b,_0x38444d,_0x1f80d2,_0x2787e3));this[_0x7b347b(0x1c6)]=_0x28bf26;}[_0xbc4bab(0x1a0)](){const _0x52e1b7=_0xbc4bab;this['_cursorShapes'][_0x52e1b7(0x35f)](_0x2c395e=>_0x2c395e[_0x52e1b7(0x310)]()),this['_cursorShapes']=[];}[_0xbc4bab(0x2b6)](){const _0x4f0b93=_0xbc4bab,_0x3d9db2=[_0x31dfa4[_0x4f0b93(0x1fc)]['id']];this[_0x4f0b93(0x2de)](this[_0x4f0b93(0x20f)]['onCommandExecuted'](_0x3f4b55=>{const _0x527bbc=_0x4f0b93;_0x3d9db2['includes'](_0x3f4b55['id'])&&_0x3f4b55[_0x527bbc(0x32a)][_0x527bbc(0x3c6)]===this['_context'][_0x527bbc(0x3c6)]&&this['_refreshCollabCursors']();}));}[_0xbc4bab(0x286)](){const _0x11cc22=_0xbc4bab;this['disposeWithMe'](_0x51234e[_0x11cc22(0x1e2)](this[_0x11cc22(0x390)][_0x11cc22(0x2b9)]['onTransformChange$'])[_0x11cc22(0x3bd)](_0x653998[_0x11cc22(0x2af)](_0x1b5d11=>_0x1b5d11[_0x11cc22(0x3c2)]===_0x5cd4ea[_0x11cc22(0x2b0)][_0x11cc22(0x19b)]),_0x653998['throttleTime'](0x10))['subscribe'](()=>{const _0x3a0877=_0x11cc22;this[_0x3a0877(0x299)]();}));}};_0x2b471f=_0x1948c3([_0x2c4f01(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x5886b2[_0xbc4bab(0x2a5)])),_0x2c4f01(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x2c4f01(0x3,_0x51234e[_0xbc4bab(0x30f)]),_0x2c4f01(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['ThemeService']))],_0x2b471f);const _0x3c9a7a=0x1,_0x4be5a8=1.5;class _0xd3b6c4 extends _0x5cd4ea['Shape']{constructor(_0x4a7d1a,_0x536a76){const _0x13cae2=_0xbc4bab;super(_0x4a7d1a,_0x536a76),_0x1e1d43(this,_0x13cae2(0x2dd)),_0x1e1d43(this,_0x13cae2(0x16c),!0x1),_0x1e1d43(this,_0x13cae2(0x1ed)),_0x1e1d43(this,'_name',''),_0x1e1d43(this,_0x13cae2(0x1f4),'top'),_0x1e1d43(this,'_backgroundColor'),(_0x536a76&&this['setShapeProps'](_0x536a76),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x13cae2(0x33f)]({'hovered':!0x0})),this[_0x13cae2(0x2c9)][_0x13cae2(0x3d1)](()=>this[_0x13cae2(0x33f)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8b74){const _0x4337bd=_0xbc4bab;var _0x546719,_0x33b169,_0x4f4dad,_0x4035c7,_0xcd0536,_0x147667;this['_color']=(_0x546719=_0x3e8b74[_0x4337bd(0x285)])!=null?_0x546719:this[_0x4337bd(0x2dd)],this[_0x4337bd(0x16c)]=(_0x33b169=_0x3e8b74[_0x4337bd(0x338)])!=null?_0x33b169:this[_0x4337bd(0x16c)],this['_range']=(_0x4f4dad=_0x3e8b74['range'])!=null?_0x4f4dad:this[_0x4337bd(0x1ed)],this['_name']=(_0x4035c7=_0x3e8b74['name'])!=null?_0x4035c7:this[_0x4337bd(0x18a)],this['_labelPosition']=(_0xcd0536=_0x3e8b74[_0x4337bd(0x2e2)])!=null?_0xcd0536:this[_0x4337bd(0x1f4)],this[_0x4337bd(0x2f2)]=(_0x147667=_0x3e8b74[_0x4337bd(0x191)])!=null?_0x147667:this[_0x4337bd(0x2f2)],this[_0x4337bd(0x245)]({'width':_0x3e8b74[_0x4337bd(0x354)],'height':_0x3e8b74[_0x4337bd(0x276)]});}[_0xbc4bab(0x2a2)](_0x58246f){const _0x15fefd=_0xbc4bab,{row:_0x107e6f,column:_0x2af828}=_0x58246f;if(_0x107e6f>=this['_range'][_0x15fefd(0x21b)]&&_0x107e6f<=this[_0x15fefd(0x1ed)][_0x15fefd(0x27e)]&&_0x2af828>=this[_0x15fefd(0x1ed)]['startColumn']&&_0x2af828<=this[_0x15fefd(0x1ed)][_0x15fefd(0x344)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x15fefd(0x33f)]({'hovered':!0x1});}[_0xbc4bab(0x321)](_0x5db6cf){return!0x1;}[_0xbc4bab(0x378)](_0xc6345f){const _0x6f81ab=_0xbc4bab;_0x5cd4ea[_0x6f81ab(0x308)][_0x6f81ab(0x160)](_0xc6345f,{'width':this[_0x6f81ab(0x354)],'height':this[_0x6f81ab(0x276)],'strokeWidth':_0x4be5a8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x6f81ab(0x2f2)]}),this['_hovered']&&(_0xc6345f[_0x6f81ab(0x1b8)](),_0xc6345f[_0x6f81ab(0x3b2)](0x1,0x0,0x0,0x1,this[_0x6f81ab(0x354)],this[_0x6f81ab(0x1f4)]===_0x6f81ab(0x260)?0x0:-_0x1c6139),_0x51e8ff[_0x6f81ab(0x160)](_0xc6345f,{'text':this[_0x6f81ab(0x18a)],'color':this[_0x6f81ab(0x2dd)]}),_0xc6345f[_0x6f81ab(0x234)]());}}var _0x5a769e=Object[_0xbc4bab(0x218)],_0x192ad6=(_0x57264f,_0x3b253b,_0x3b0967,_0x40accb)=>{for(var _0xdae388=_0x40accb>0x1?void 0x0:_0x40accb?_0x5a769e(_0x3b253b,_0x3b0967):_0x3b253b,_0x331088=_0x57264f['length']-0x1,_0x388b1c;_0x331088>=0x0;_0x331088--)(_0x388b1c=_0x57264f[_0x331088])&&(_0xdae388=_0x388b1c(_0xdae388)||_0xdae388);return _0xdae388;},_0x1a7769=(_0x1b7b8b,_0xbcaa36)=>(_0x1cd72a,_0x51d30a)=>_0xbcaa36(_0x1cd72a,_0x51d30a,_0x1b7b8b);const _0x1a569e=0x1389;let _0x18b05d=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x1ab286,_0xbc6e25,_0x504d9f,_0x415a85){const _0x7e24de=_0xbc4bab;super(),_0x1e1d43(this,'_cursors',new Set()),_0x1e1d43(this,_0x7e24de(0x307),null),(this[_0x7e24de(0x390)]=_0x1ab286,this[_0x7e24de(0x20c)]=_0xbc6e25,this[_0x7e24de(0x351)]=_0x504d9f,this[_0x7e24de(0x2f5)]=_0x415a85,this[_0x7e24de(0x1d6)]());}['_init'](){const _0x24788d=_0xbc4bab;this[_0x24788d(0x20c)][_0x24788d(0x328)][_0x24788d(0x3bd)](_0x653998[_0x24788d(0x2e5)](this['dispose$']),_0x653998[_0x24788d(0x3c8)](_0x2f6e11=>{const _0x30f0e9=_0x24788d;if(_0x2f6e11){const _0x4aa408=_0x2f6e11[_0x30f0e9(0x197)];return _0x5bbaf2['combineLatest'](this[_0x30f0e9(0x351)][_0x30f0e9(0x336)](this[_0x30f0e9(0x390)]['unitId']),this['_themeService']['currentTheme$'])[_0x30f0e9(0x3bd)](_0x653998['map'](([_0x4ff885,_0x561f50])=>{const _0x474e5f=new Map();return _0x4ff885['forEach']((_0x431e9d,_0x2ac3dd)=>{const _0x5ea1ce=_0x3b2a;if(_0x431e9d['sheetID']===_0x4aa408){const _0x2f902e={..._0x431e9d};_0x2f902e[_0x5ea1ce(0x285)]=this['_themeService'][_0x5ea1ce(0x323)](_0x431e9d[_0x5ea1ce(0x285)]),_0x474e5f[_0x5ea1ce(0x36c)](_0x2ac3dd,_0x2f902e);}}),{'skeleton':_0x2f6e11,'cursors':_0x474e5f};}));}return _0x5bbaf2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x51c0fe,cursors:_0x24e574})=>{const _0x1de29a=_0x24788d;this[_0x1de29a(0x1a0)](),_0x51c0fe&&this[_0x1de29a(0x33d)](_0x51c0fe,_0x24e574);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x24788d(0x2ae)](_0x37d07c=>{const _0x5fb73e=_0x24788d;if(_0x37d07c==null)return;const {skeleton:_0x4ce6c4}=_0x37d07c,{scene:_0x1c36e9}=this[_0x5fb73e(0x390)];_0x1c36e9[_0x5fb73e(0x1df)][_0x5fb73e(0x3d1)](_0x51234e[_0x5fb73e(0x288)](_0x189a86=>{const _0x2c2d61=_0x5fb73e;var _0x5d62e7,_0x575020;const {offsetX:_0x267497,offsetY:_0x33d6c3}=_0x189a86,{x:_0x3a93d5,y:_0x44fb6a}=_0x1c36e9['getRelativeToViewportCoord'](_0x5cd4ea['Vector2']['FromArray']([_0x267497,_0x33d6c3])),{scaleX:_0x57cc89,scaleY:_0x2e05dd}=_0x1c36e9[_0x2c2d61(0x3d0)](),_0x36bb73=_0x1c36e9[_0x2c2d61(0x1dc)](_0x5cd4ea[_0x2c2d61(0x398)][_0x2c2d61(0x341)]),_0x19b320=_0x1c36e9[_0x2c2d61(0x392)](_0x5cd4ea[_0x2c2d61(0x340)]['FromArray']([_0x3a93d5,_0x44fb6a]),_0x36bb73),_0x3128a9=_0x4ce6c4['getCellPositionByOffset'](_0x267497,_0x33d6c3,_0x57cc89,_0x2e05dd,_0x19b320);((_0x5d62e7=this[_0x2c2d61(0x307)])==null?void 0x0:_0x5d62e7[_0x2c2d61(0x38f)])===_0x3128a9[_0x2c2d61(0x38f)]&&((_0x575020=this[_0x2c2d61(0x307)])==null?void 0x0:_0x575020[_0x2c2d61(0x242)])===_0x3128a9[_0x2c2d61(0x242)]||this[_0x2c2d61(0x2c8)][_0x2c2d61(0x35f)](_0x47b9c3=>{const _0x2d9ea7=_0x2c2d61;_0x47b9c3[_0x2d9ea7(0x2a2)](_0x3128a9);});},0x64));});}[_0xbc4bab(0x33d)](_0x3111b8,_0x3e9b3b){const _0x4a1896=_0xbc4bab;var _0x2b2568;const _0x9c4f2e=(_0x2b2568=this[_0x4a1896(0x20c)][_0x4a1896(0x332)]())==null?void 0x0:_0x2b2568['skeleton'];if(!_0x9c4f2e)return;const _0x5d633a=this[_0x4a1896(0x3a9)]();if(!_0x5d633a)return;this[_0x4a1896(0x2c8)]['forEach'](_0x4cd7bc=>{const _0x21940e=_0x4a1896;_0x4cd7bc[_0x21940e(0x17b)]();});const {scene:_0x20b1a9}=_0x5d633a,_0x3d73f1=_0x473ebb(Array[_0x4a1896(0x1ea)](_0x3e9b3b['values']()))[_0x4a1896(0x2fe)](_0x37051c=>{const _0x525f05=_0x4a1896,{color:_0x2091e0,range:_0x5ebec5,name:_0x51ce23,selection:_0x2034d5,sheetID:_0x3f46d8}=_0x37051c,{startColumn:_0x4d67c6,startRow:_0x10ccdd,endColumn:_0x399398,endRow:_0x46fa96}=_0x5ebec5,_0x12823b=_0x1f6c03[_0x525f05(0x3a6)](_0x10ccdd,_0x4d67c6,_0x20b1a9,_0x9c4f2e),_0x28665f=_0x1f6c03[_0x525f05(0x3a6)](_0x46fa96,_0x399398,_0x20b1a9,_0x9c4f2e),{columnHeaderHeightAndMarginTop:_0x4d83ef}=_0x9c4f2e,{startX:_0x307936,startY:_0x5975e8}=_0x12823b,{endX:_0x38be68,endY:_0x2867bf}=_0x28665f,_0x39ea66=_0x38be68-_0x307936,_0x489c18=_0x2867bf-_0x5975e8,_0x2111b={'labelPosition':_0x5975e8-_0x4d83ef>=_0x1c6139?_0x525f05(0x269):'bottom','sheetID':_0x3f46d8,'range':_0x5ebec5,'color':_0x2091e0,'name':_0x51ce23,'selection':_0x2034d5,'left':_0x307936,'top':_0x5975e8,'width':_0x39ea66,'height':_0x489c18,'evented':!0x1,'zIndex':_0x1a569e};return new _0xd3b6c4(_0x51ce23,_0x2111b);});_0x20b1a9[_0x4a1896(0x254)](_0x3d73f1,_0x3c9a7a),this[_0x4a1896(0x2c8)]=new Set(_0x3d73f1);}[_0xbc4bab(0x1a0)](){const _0x33adc9=_0xbc4bab;var _0x104d3b;(_0x104d3b=this['_cursors'])==null||_0x104d3b[_0x33adc9(0x35f)](_0x559210=>_0x559210[_0x33adc9(0x310)]());}[_0xbc4bab(0x3a9)](){const _0x416fcc=_0xbc4bab;return _0x1f6c03[_0x416fcc(0x3b0)](this['_context'][_0x416fcc(0x387)],this[_0x416fcc(0x390)]);}};_0x18b05d=_0x192ad6([_0x1a7769(0x1,_0x51234e['Inject'](_0x1f6c03[_0xbc4bab(0x24b)])),_0x1a7769(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x1a7769(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x1b9)]))],_0x18b05d);function _0x473ebb(_0x39c392){const _0x55c837=_0xbc4bab,_0x1f9fcf=new Map();return _0x39c392['forEach'](_0x331575=>{const _0x46029e=_0x3b2a;if(_0x1f9fcf['has'](_0x331575['selection'])){const _0x41087d=_0x1f9fcf[_0x46029e(0x194)](_0x331575[_0x46029e(0x361)]);_0x41087d['name']+=',\x20'+_0x331575['name'];}else _0x1f9fcf[_0x46029e(0x36c)](_0x331575[_0x46029e(0x361)],_0x331575);}),Array[_0x55c837(0x1ea)](_0x1f9fcf[_0x55c837(0x1a4)]());}var _0x4a35c8=Object[_0xbc4bab(0x218)],_0x5ae2e9=(_0x1bd111,_0xfa9fce,_0x6e7509,_0x74cf7a)=>{for(var _0x4cb41d=_0x74cf7a>0x1?void 0x0:_0x74cf7a?_0x4a35c8(_0xfa9fce,_0x6e7509):_0xfa9fce,_0x383d09=_0x1bd111['length']-0x1,_0x107ca3;_0x383d09>=0x0;_0x383d09--)(_0x107ca3=_0x1bd111[_0x383d09])&&(_0x4cb41d=_0x107ca3(_0x4cb41d)||_0x4cb41d);return _0x4cb41d;},_0x724ccf=(_0x4e8cf9,_0x113bed)=>(_0x4aaa01,_0x2a81a8)=>_0x113bed(_0x4aaa01,_0x2a81a8,_0x4e8cf9);let _0x18e095=class extends _0x51234e['Disposable']{constructor(_0x39144d,_0x28c449,_0x253553,_0x349cf0,_0xf8a4aa,_0x26d54c){const _0x210c42=_0xbc4bab;super(),this[_0x210c42(0x33e)]=_0x39144d,this[_0x210c42(0x17a)]=_0x28c449,this[_0x210c42(0x213)]=_0x253553,this[_0x210c42(0x238)]=_0x349cf0,this[_0x210c42(0x31f)]=_0xf8a4aa,this['_localeService']=_0x26d54c,this[_0x210c42(0x266)](),this[_0x210c42(0x2d8)]();}['_setupBeforeClosingHandler'](){const _0x496c62=_0xbc4bab;this[_0x496c62(0x2de)](this[_0x496c62(0x33e)][_0x496c62(0x2d0)](()=>{const _0xa9cf35=_0x496c62;if(this[_0xa9cf35(0x17a)][_0xa9cf35(0x2f8)][_0xa9cf35(0x293)])return this['_localeService']['t'](_0xa9cf35(0x20b));}));}[_0xbc4bab(0x2d8)](){const _0x32950f=_0xbc4bab;this['disposeWithMe'](this[_0x32950f(0x213)][_0x32950f(0x2c5)][_0x32950f(0x2ae)](_0x48f6ad=>{const _0x5de20d=_0x32950f;_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x32b)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x303))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x324)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1f0)]&&this[_0x5de20d(0x31f)][_0x5de20d(0x34d)]({'title':this['_localeService']['t'](_0x5de20d(0x375)),'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x1c9)),'type':_0x5de20d(0x25a),'duration':0x0}),_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x251)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)]['Error'],'content':this['_localeService']['t'](_0x5de20d(0x376))+'('+_0x48f6ad[_0x5de20d(0x1b0)]+')'}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1bf)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x48f6ad[_0x5de20d(0x1b0)]||'')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x362)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x39d))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x3cb)]&&this[_0x5de20d(0x238)][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t']('session.connection-failed')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x237))});}));}};_0x18e095=_0x5ae2e9([_0x724ccf(0x0,_0x55a91c[_0xbc4bab(0x34a)]),_0x724ccf(0x1,_0x45d92a[_0xbc4bab(0x394)]),_0x724ccf(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x302)])),_0x724ccf(0x3,_0x55a91c[_0xbc4bab(0x379)]),_0x724ccf(0x4,_0x55a91c['INotificationService']),_0x724ccf(0x5,_0x51234e['Inject'](_0x51234e['LocaleService']))],_0x18e095);const _0x1cdf09='collaboration-client-ui.config',_0x50011c={};var _0x3c8c1f=Object[_0xbc4bab(0x218)],_0xbff0ef=(_0x5bd451,_0x4ffb72,_0x4ab1b8,_0x1a2dbc)=>{const _0x58e558=_0xbc4bab;for(var _0x391bcc=_0x1a2dbc>0x1?void 0x0:_0x1a2dbc?_0x3c8c1f(_0x4ffb72,_0x4ab1b8):_0x4ffb72,_0x477fba=_0x5bd451[_0x58e558(0x277)]-0x1,_0x4d8c06;_0x477fba>=0x0;_0x477fba--)(_0x4d8c06=_0x5bd451[_0x477fba])&&(_0x391bcc=_0x4d8c06(_0x391bcc)||_0x391bcc);return _0x391bcc;},_0x201c8b=(_0xc54310,_0x5bb752)=>(_0x25221f,_0x5ace66)=>_0x5bb752(_0x25221f,_0x5ace66,_0xc54310);let _0x100d73=class{constructor(_0xdb9bd4,_0x3791e9){const _0xabda9a=_0xbc4bab;this[_0xabda9a(0x16b)]=_0xdb9bd4,this[_0xabda9a(0x3b8)]=_0x3791e9;}['transformIMECache'](_0x46aad6){const _0x5ce009=_0xbc4bab;this[_0x5ce009(0x1fe)](_0x46aad6),this[_0x5ce009(0x37d)](_0x46aad6);}[_0xbc4bab(0x1af)](_0x2563d5){const _0x56d52a=_0xbc4bab,{unitID:_0x42a2a3}=_0x2563d5,_0x2c000e=this[_0x56d52a(0x3b8)][_0x56d52a(0x1d5)](_0x42a2a3)[_0x56d52a(0x36d)](_0x31dfa4[_0x56d52a(0x2ef)]),{redoCache:_0x41e601}=_0x2c000e[_0x56d52a(0x1ad)]();if(_0x41e601[_0x56d52a(0x277)]===0x0)return _0x2563d5;let _0x9859bc=_0x51234e['Tools'][_0x56d52a(0x1fa)](_0x2563d5['mutations'][0x0]);for(let _0x20d12e=0x0;_0x20d12e<_0x41e601[_0x56d52a(0x277)];_0x20d12e++){const _0x1e0819={'id':'doc.mutation.rich-text-editing','params':{..._0x41e601[_0x20d12e]}},_0x3df2b0=this[_0x56d52a(0x16b)]['transformMutation'](_0x9859bc,_0x1e0819,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x3df2b0))throw _0x3df2b0['error'];_0x9859bc=_0x3df2b0[_0x56d52a(0x3bf)];}return{..._0x51234e[_0x56d52a(0x1b7)][_0x56d52a(0x1fa)](_0x2563d5),'mutations':[_0x9859bc]};}[_0xbc4bab(0x1fe)](_0x2c4620){const _0x1e8c01=_0xbc4bab,{unitID:_0xf6ce9c}=_0x2c4620,_0x16da49=this['_renderManagerService'][_0x1e8c01(0x1d5)](_0xf6ce9c)[_0x1e8c01(0x36d)](_0x31dfa4['DocIMEInputManagerService']),{undoCache:_0x4785c2,redoCache:_0xc704c}=_0x16da49['getUndoRedoMutationParamsCache']();if(_0x4785c2[_0x1e8c01(0x277)]===0x0||_0xc704c[_0x1e8c01(0x277)]===0x0)return;const _0x2d5e59=[],_0x222743=[];let _0x4dc5a6=_0x51234e[_0x1e8c01(0x1b7)]['deepClone'](_0x2c4620['mutations'][0x0]),_0x93aaf0=_0x51234e[_0x1e8c01(0x1b7)][_0x1e8c01(0x1fa)](_0x2c4620['mutations'][0x0]);for(let _0x18f864=_0x4785c2['length']-0x1;_0x18f864>=0x0;_0x18f864--){const _0x21f444={'id':_0x1e8c01(0x274),'params':{..._0x4785c2[_0x18f864]}},_0x3fed0f={'id':_0x1e8c01(0x274),'params':{..._0xc704c[_0x18f864]}},_0x5529b2=this[_0x1e8c01(0x16b)][_0x1e8c01(0x23c)](_0x4dc5a6,_0x21f444,!0x1),_0x524911=this[_0x1e8c01(0x16b)]['transformMutation'](_0x93aaf0,_0x3fed0f,!0x1);if(_0x2bb387[_0x1e8c01(0x2dc)](_0x5529b2))throw _0x5529b2[_0x1e8c01(0x25a)];if(_0x2bb387['isTransformMutationFailure'](_0x524911))throw _0x524911[_0x1e8c01(0x25a)];_0x2d5e59['unshift'](_0x5529b2['m2Prime'][_0x1e8c01(0x32a)]),_0x222743[_0x1e8c01(0x3a2)](_0x524911[_0x1e8c01(0x317)]['params']),_0x4dc5a6=_0x5529b2[_0x1e8c01(0x3bf)],_0x93aaf0=_0x524911['m1Prime'];}_0x16da49[_0x1e8c01(0x356)]({'undoCache':_0x2d5e59,'redoCache':_0x222743});}[_0xbc4bab(0x37d)](_0x5781db){const _0x37aee9=_0xbc4bab,{unitID:_0x48e880}=_0x5781db,_0x2cde33=this[_0x37aee9(0x3b8)][_0x37aee9(0x1d5)](_0x48e880)[_0x37aee9(0x36d)](_0x31dfa4['DocIMEInputManagerService']),_0x5bdf7d=_0x2cde33[_0x37aee9(0x1fb)]();if(_0x5bdf7d==null)return;const _0x33eb6b=[{'id':_0x37aee9(0x274),'params':{'unitId':_0x5781db[_0x37aee9(0x228)],'actions':null,'textRanges':[_0x5bdf7d]}}],_0x18a266=this['_transformService']['transformMutationsWithChangeset'](_0x5781db,_0x33eb6b);if(!_0x2bb387['isTransformMutationsWithChangesetSuccess'](_0x18a266))throw _0x18a266[_0x37aee9(0x25a)];const _0x50518a=_0x18a266['m2Prime'][0x0]['params'][_0x37aee9(0x185)];Array[_0x37aee9(0x35b)](_0x50518a)&&_0x50518a[_0x37aee9(0x277)]&&_0x2cde33[_0x37aee9(0x1b1)](_0x50518a[0x0]);}};_0x100d73=_0xbff0ef([_0x201c8b(0x0,_0x2bb387[_0xbc4bab(0x32e)]),_0x201c8b(0x1,_0x5cd4ea[_0xbc4bab(0x179)])],_0x100d73);var _0x5d2aef=Object['getOwnPropertyDescriptor'],_0x4bba7a=(_0x5c66f9,_0x978b8f,_0x132707,_0x1f53df)=>{const _0x2fbf29=_0xbc4bab;for(var _0x232f14=_0x1f53df>0x1?void 0x0:_0x1f53df?_0x5d2aef(_0x978b8f,_0x132707):_0x978b8f,_0x325f0a=_0x5c66f9[_0x2fbf29(0x277)]-0x1,_0x27cb28;_0x325f0a>=0x0;_0x325f0a--)(_0x27cb28=_0x5c66f9[_0x325f0a])&&(_0x232f14=_0x27cb28(_0x232f14)||_0x232f14);return _0x232f14;},_0x296d0b=(_0x4c72ea,_0x488919)=>(_0x229f97,_0x56061b)=>_0x488919(_0x229f97,_0x56061b,_0x4c72ea);let _0x50e4fe=class{constructor(_0x44d28e,_0x4fbb72,_0x2edb5f){const _0x197de0=_0xbc4bab;this['_injector']=_0x44d28e,this['_transformService']=_0x4fbb72,this[_0x197de0(0x165)]=_0x2edb5f;}[_0xbc4bab(0x28f)](_0x197f75){const _0x54c8da=_0xbc4bab;this[_0x54c8da(0x2a9)](_0x197f75);}[_0xbc4bab(0x1af)](_0x2e89d4){const _0x20e9f7=_0xbc4bab,{unitID:_0x4700cd}=_0x2e89d4,{collaboration:_0x5b3b5b}=this['_docStateChangeManagerService']['getStateCache'](_0x4700cd);if(_0x5b3b5b[_0x20e9f7(0x277)]===0x0)return _0x2e89d4;let _0x4fe1df=_0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4[_0x20e9f7(0x35d)][0x0]);for(let _0x4794c3=0x0;_0x4794c3<_0x5b3b5b['length'];_0x4794c3++){const _0x40dd66={'id':_0x20e9f7(0x274),'params':{'unitId':_0x5b3b5b[_0x4794c3][_0x20e9f7(0x3c6)],..._0x5b3b5b[_0x4794c3][_0x20e9f7(0x22a)]}},_0xb5f428=this[_0x20e9f7(0x16b)][_0x20e9f7(0x23c)](_0x4fe1df,_0x40dd66,!0x1);if(_0x2bb387[_0x20e9f7(0x2dc)](_0xb5f428))throw _0xb5f428[_0x20e9f7(0x25a)];_0x4fe1df=_0xb5f428['m1Prime'];}return{..._0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4),'mutations':[_0x4fe1df]};}[_0xbc4bab(0x2a9)](_0x5d230d){const _0x274a07=_0xbc4bab,{unitID:_0x27d7db}=_0x5d230d,{history:_0x54803c,collaboration:_0x3f681b}=this[_0x274a07(0x165)][_0x274a07(0x2d6)](_0x27d7db);if(_0x54803c['length']===0x0&&_0x3f681b[_0x274a07(0x277)]===0x0)return;const _0x266a16=[],_0x396747=[];let _0x196d7f=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d['mutations'][0x0]);for(let _0x52cf7a=_0x54803c[_0x274a07(0x277)]-0x1;_0x52cf7a>=0x0;_0x52cf7a--){const _0x2c5d61={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54803c[_0x52cf7a]['unitId'],..._0x54803c[_0x52cf7a][_0x274a07(0x248)]}},_0x28ef87={'id':_0x274a07(0x274),'params':{'unitId':_0x54803c[_0x52cf7a][_0x274a07(0x3c6)],..._0x54803c[_0x52cf7a][_0x274a07(0x22a)]}},_0x155d5f=this[_0x274a07(0x16b)]['transformMutation'](_0x196d7f,_0x2c5d61,!0x1),_0x25fa24=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x28ef87,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x155d5f))throw _0x155d5f[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x25fa24))throw _0x25fa24['error'];_0x266a16['unshift']({..._0x54803c[_0x52cf7a],'undoState':_0x155d5f[_0x274a07(0x317)]['params'],'redoState':_0x25fa24[_0x274a07(0x317)]['params']}),_0x196d7f=_0x155d5f['m1Prime'],_0x576291=_0x25fa24[_0x274a07(0x3bf)];}_0x196d7f=_0x51234e[_0x274a07(0x1b7)]['deepClone'](_0x5d230d['mutations'][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]);for(let _0xcd9f33=_0x3f681b['length']-0x1;_0xcd9f33>=0x0;_0xcd9f33--){const _0x1139bf={'id':_0x274a07(0x274),'params':{'unitId':_0x3f681b[_0xcd9f33][_0x274a07(0x3c6)],..._0x3f681b[_0xcd9f33][_0x274a07(0x248)]}},_0x45a335={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f681b[_0xcd9f33]['unitId'],..._0x3f681b[_0xcd9f33][_0x274a07(0x22a)]}},_0x13bba6=this['_transformService'][_0x274a07(0x23c)](_0x196d7f,_0x1139bf,!0x1),_0x45a035=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x45a335,!0x1);if(_0x2bb387[_0x274a07(0x2dc)](_0x13bba6))throw _0x13bba6[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x45a035))throw _0x45a035[_0x274a07(0x25a)];_0x396747[_0x274a07(0x3a2)]({..._0x3f681b[_0xcd9f33],'undoState':_0x13bba6[_0x274a07(0x317)]['params'],'redoState':_0x45a035['m2Prime'][_0x274a07(0x32a)]}),_0x196d7f=_0x13bba6[_0x274a07(0x3bf)],_0x576291=_0x45a035[_0x274a07(0x3bf)];}this[_0x274a07(0x165)][_0x274a07(0x1f3)](_0x27d7db,{'history':_0x266a16,'collaboration':_0x396747});}};_0x50e4fe=_0x4bba7a([_0x296d0b(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x296d0b(0x1,_0x2bb387[_0xbc4bab(0x32e)]),_0x296d0b(0x2,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)]))],_0x50e4fe);var _0x5c483c=Object[_0xbc4bab(0x218)],_0x41b374=(_0x476903,_0x2a9e5a,_0x3d6261,_0x502bea)=>{const _0x42e749=_0xbc4bab;for(var _0x2d238f=_0x502bea>0x1?void 0x0:_0x502bea?_0x5c483c(_0x2a9e5a,_0x3d6261):_0x2a9e5a,_0x3ab61e=_0x476903[_0x42e749(0x277)]-0x1,_0x3a9e4a;_0x3ab61e>=0x0;_0x3ab61e--)(_0x3a9e4a=_0x476903[_0x3ab61e])&&(_0x2d238f=_0x3a9e4a(_0x2d238f)||_0x2d238f);return _0x2d238f;},_0x43dd00=(_0xd2132,_0x1aef7b)=>(_0x2e553c,_0x4a76a1)=>_0x1aef7b(_0x2e553c,_0x4a76a1,_0xd2132);let _0x4f6202=class{constructor(_0x4db58a,_0x307b26){const _0x445d03=_0xbc4bab;this[_0x445d03(0x284)]=_0x4db58a,this[_0x445d03(0x16b)]=_0x307b26;}[_0xbc4bab(0x2fd)](_0x923464){const _0x17590e=_0xbc4bab;var _0x55e80b;const _0x106b65=this[_0x17590e(0x284)][_0x17590e(0x194)](_0x5886b2[_0x17590e(0x159)]),_0x277be1=(_0x55e80b=_0x106b65['getDocRanges']())!=null?_0x55e80b:[];if(_0x277be1[_0x17590e(0x277)]===0x0)return;const _0x15d9c6=_0x923464[_0x17590e(0x228)],_0x680c30=[{'id':_0x17590e(0x274),'params':{'unitId':_0x15d9c6,'actions':null,'textRanges':_0x277be1}}],_0x2fbb36=this['_transformService']['transformMutationsWithChangeset'](_0x923464,_0x680c30);if(!_0x2bb387[_0x17590e(0x39a)](_0x2fbb36))throw _0x2fbb36[_0x17590e(0x25a)];const _0x218e8a=_0x2fbb36[_0x17590e(0x317)][0x0]['params'][_0x17590e(0x185)];Array[_0x17590e(0x35b)](_0x218e8a)&&_0x218e8a['length']&&_0x106b65[_0x17590e(0x204)](_0x218e8a,{'unitId':_0x15d9c6,'subUnitId':_0x15d9c6},!0x1);}};_0x4f6202=_0x41b374([_0x43dd00(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x43dd00(0x1,_0x2bb387[_0xbc4bab(0x32e)])],_0x4f6202);var _0x16fa30=Object['getOwnPropertyDescriptor'],_0x1f1ca4=(_0x7b4ec4,_0x28cd1d,_0x45cdba,_0x10ef1f)=>{const _0x3b1cc4=_0xbc4bab;for(var _0x542933=_0x10ef1f>0x1?void 0x0:_0x10ef1f?_0x16fa30(_0x28cd1d,_0x45cdba):_0x28cd1d,_0x1225c3=_0x7b4ec4[_0x3b1cc4(0x277)]-0x1,_0x1c56e6;_0x1225c3>=0x0;_0x1225c3--)(_0x1c56e6=_0x7b4ec4[_0x1225c3])&&(_0x542933=_0x1c56e6(_0x542933)||_0x542933);return _0x542933;},_0x134264=(_0x2b6980,_0x5dfc51)=>(_0x1f8565,_0x31cd2e)=>_0x5dfc51(_0x1f8565,_0x31cd2e,_0x2b6980);let _0x32a49e=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x21922e,_0x4d7deb,_0x367d5a,_0x5ed105,_0x1096d9,_0x44f1cf,_0x1b5973,_0x113542){const _0x5d0a39=_0xbc4bab;super(),_0x1e1d43(this,_0x5d0a39(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x5d0a39(0x33c)]['NOT_COLLAB'])),(this[_0x5d0a39(0x165)]=_0x21922e,this[_0x5d0a39(0x1d9)]=_0x4d7deb,this['_docTransformIMECacheService']=_0x367d5a,this['_docTransformStateCacheService']=_0x5ed105,this[_0x5d0a39(0x311)]=_0x1096d9,this[_0x5d0a39(0x2a8)]=_0x44f1cf,this[_0x5d0a39(0x238)]=_0x1b5973,this[_0x5d0a39(0x212)]=_0x113542,this[_0x5d0a39(0x1f9)]());}[_0xbc4bab(0x1f9)](){const _0x510075=_0xbc4bab;this[_0x510075(0x2de)](this[_0x510075(0x1d9)][_0x510075(0x1c7)][_0x510075(0x2ae)](_0x39a332=>{const _0x486912=_0x510075,_0x1dcba2=this[_0x486912(0x165)]['docStateChange$']['subscribe'](_0xae32ca=>{const _0x3bd0eb=_0x486912;if(_0xae32ca==null)return;const {unitId:_0x31dc63,redoState:_0x13ba57,commandId:_0x439e3d}=_0xae32ca;if(_0x31dc63!==_0x39a332['unitID'])return;const _0xe92d4b={'id':_0x439e3d,'type':_0x51234e['CommandType']['MUTATION'],'params':{'unitId':_0x31dc63,'actions':_0x13ba57['actions'],'textRanges':null}};_0x39a332[_0x3bd0eb(0x353)](_0xe92d4b);});if(_0x39a332[_0x486912(0x2de)](_0x1dcba2),_0x39a332 instanceof _0x45d92a[_0x486912(0x174)]){const _0x283c1c={'onTransformIME':_0x20db89=>this[_0x486912(0x38b)][_0x486912(0x372)](_0x20db89),'onTransformState':_0x480139=>this[_0x486912(0x262)][_0x486912(0x28f)](_0x480139),'onTransformSelections':_0x273818=>this[_0x486912(0x311)][_0x486912(0x2fd)](_0x273818),'onSyncEditingCollabCursor':_0x4805db=>this[_0x486912(0x2a8)][_0x486912(0x24e)](_0x4805db),'onTransformRemoteChangesetByIMECache':_0x1b3575=>this[_0x486912(0x38b)][_0x486912(0x1af)](_0x1b3575),'onTransformRemoteChangesetByStateCache':_0x17e0d6=>this[_0x486912(0x262)][_0x486912(0x1af)](_0x17e0d6)};_0x39a332['addHandlerCallback'](_0x283c1c);}}));}};_0x32a49e=_0x1f1ca4([_0x134264(0x0,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)])),_0x134264(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x134264(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x100d73)),_0x134264(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x50e4fe)),_0x134264(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x4f6202)),_0x134264(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x134264(0x6,_0x55a91c[_0xbc4bab(0x379)]),_0x134264(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x2b1)]))],_0x32a49e);var _0x1ec460=Object[_0xbc4bab(0x218)],_0x9f8d86=(_0x1969d0,_0x41f126,_0x3a38f5,_0x54d541)=>{const _0x3ace21=_0xbc4bab;for(var _0x1d95ef=_0x54d541>0x1?void 0x0:_0x54d541?_0x1ec460(_0x41f126,_0x3a38f5):_0x41f126,_0x44349e=_0x1969d0[_0x3ace21(0x277)]-0x1,_0x19abc1;_0x44349e>=0x0;_0x44349e--)(_0x19abc1=_0x1969d0[_0x44349e])&&(_0x1d95ef=_0x19abc1(_0x1d95ef)||_0x1d95ef);return _0x1d95ef;},_0xc32f19=(_0xc32547,_0x544e7c)=>(_0x8fc481,_0x40cbd5)=>_0x544e7c(_0x8fc481,_0x40cbd5,_0xc32547);let _0x451cc3=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x2c05c2,_0x43f389,_0x186541){const _0x17b884=_0xbc4bab;super(),_0x1e1d43(this,'_cachedData',new Map()),_0x1e1d43(this,_0x17b884(0x2f0),new Map()),_0x1e1d43(this,'_disabled',!0x1),(this[_0x17b884(0x163)]=_0x2c05c2,this[_0x17b884(0x326)]=_0x43f389,this[_0x17b884(0x268)]=_0x186541);}['disableLocalCache'](){const _0x1dc3ac=_0xbc4bab;this[_0x1dc3ac(0x161)]=!0x0;}[_0xbc4bab(0x1bd)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xbc4bab(0x310)](){const _0x39cacc=_0xbc4bab;this[_0x39cacc(0x19d)]()[_0x39cacc(0x2c2)](()=>super[_0x39cacc(0x310)]());}async['loadOfflineData'](_0x3fc453){const _0x544961=_0xbc4bab;return this['_disabled']?null:this['_localStorageService'][_0x544961(0x36a)](_0x45d92a['getLocalCacheKey'](_0x3fc453));}async['saveOfflineData'](_0x2c168e,_0x3cca0d){const _0x30b0d4=_0xbc4bab;return!!this[_0x30b0d4(0x326)][_0x30b0d4(0x25e)](_0x2c168e,_0x3cca0d);}[_0xbc4bab(0x395)](_0x2d7fc3,_0x2606f7,_0x540d7d,_0x1b6ee9){const _0x296c53=_0xbc4bab,_0xa701e1=this[_0x296c53(0x268)][_0x296c53(0x256)](_0x2d7fc3);this['_cachedData'][_0x296c53(0x36c)](_0x2d7fc3,{'unitID':_0x2d7fc3,'type':_0x2606f7,'awaitingChangeset':_0x540d7d,'mutations':_0x1b6ee9,'rev':_0xa701e1}),this[_0x296c53(0x2f0)][_0x296c53(0x172)](_0x2d7fc3)||this[_0x296c53(0x39f)](_0x2d7fc3);}['_scheduleSaving'](_0x4a2235){const _0xae9d29=_0xbc4bab,_0x45b7b0=this[_0xae9d29(0x1ef)]();_0x45b7b0===0x0?this[_0xae9d29(0x2ea)](_0x4a2235):this[_0xae9d29(0x2f0)][_0xae9d29(0x36c)](_0x4a2235,setTimeout(()=>this['_saveCache'](_0x4a2235),_0x45b7b0));}[_0xbc4bab(0x1ef)](){const _0x41c2ce=_0xbc4bab;var _0x2433dc;return(_0x2433dc=this[_0x41c2ce(0x163)]['getConfig'](_0x45d92a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2433dc:_0x45d92a['LOCAL_CACHE_INTERVAL'];}[_0xbc4bab(0x2ea)](_0x2f8016){const _0x49f073=_0xbc4bab,_0x326cd5=this['_saveTaskMap']['get'](_0x2f8016);return _0x326cd5!==void 0x0&&window[_0x49f073(0x171)](_0x326cd5),this[_0x49f073(0x326)]['setItem'](_0x45d92a[_0x49f073(0x3a0)](_0x2f8016),this[_0x49f073(0x36e)]['get'](_0x2f8016))[_0x49f073(0x2c2)](()=>this[_0x49f073(0x2f0)]['delete'](_0x2f8016));}async[_0xbc4bab(0x19d)](){const _0x580716=_0xbc4bab,_0x3da8be=[];this[_0x580716(0x2f0)][_0x580716(0x35f)]((_0x55de4d,_0xe91bad)=>{const _0xd8a44c=_0x580716;window[_0xd8a44c(0x171)](_0x55de4d),_0x3da8be[_0xd8a44c(0x1e0)](this[_0xd8a44c(0x2ea)](_0xe91bad)['then'](()=>{const _0x5c501a=_0xd8a44c;this[_0x5c501a(0x2f0)][_0x5c501a(0x339)](_0xe91bad);}));}),await Promise[_0x580716(0x2e4)](_0x3da8be);}};_0x451cc3=_0x9f8d86([_0xc32f19(0x0,_0x51234e[_0xbc4bab(0x388)]),_0xc32f19(0x1,_0x51234e['ILocalStorageService']),_0xc32f19(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x2bb387[_0xbc4bab(0x3d2)]))],_0x451cc3);class _0x196ee5 extends _0x51234e[_0xbc4bab(0x207)]{constructor(){const _0x3f9c29=_0xbc4bab;super(),_0x1e1d43(this,_0x3f9c29(0x16a)),this[_0x3f9c29(0x16a)]=_0x5bbaf2[_0x3f9c29(0x189)](window,_0x3f9c29(0x209))[_0x3f9c29(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3f9c29(0x1a6)]),_0x5bbaf2[_0x3f9c29(0x2cc)](0x1),_0x5bbaf2[_0x3f9c29(0x222)](void 0x0));}[_0xbc4bab(0x377)](_0x225682,_0x49410b,_0x4e6c5c=!0x1){const _0x2d2dec=_0xbc4bab,_0x272449=new URL(window['location'][_0x2d2dec(0x23f)]);_0x272449[_0x2d2dec(0x31d)][_0x2d2dec(0x36c)](_0x225682,_0x49410b),_0x4e6c5c?window[_0x2d2dec(0x2ee)][_0x2d2dec(0x34c)]('','',_0x272449[_0x2d2dec(0x193)]()):window[_0x2d2dec(0x2ee)][_0x2d2dec(0x2db)]('','',_0x272449[_0x2d2dec(0x193)]());}[_0xbc4bab(0x152)](_0x5a4a85,_0x5c6bef=!0x1){const _0x564b89=_0xbc4bab,_0x47e7f1=new URL(window['location'][_0x564b89(0x23f)]);_0x47e7f1[_0x564b89(0x31d)][_0x564b89(0x339)](_0x5a4a85),_0x5c6bef?window['history']['replaceState']('','',_0x47e7f1[_0x564b89(0x193)]()):window['history'][_0x564b89(0x2db)]('','',_0x47e7f1[_0x564b89(0x193)]());}['getParam'](_0x13d196){const _0x536445=_0xbc4bab;var _0x2f8855;return(_0x2f8855=new URL(window['location']['href'])[_0x536445(0x31d)][_0x536445(0x194)](_0x13d196))!=null?_0x2f8855:void 0x0;}}var _0x3a7a76=Object[_0xbc4bab(0x2d2)],_0x4a6166=Object[_0xbc4bab(0x218)],_0x313367=(_0x59fb4a,_0x7385f5,_0x4fe831)=>_0x7385f5 in _0x59fb4a?_0x3a7a76(_0x59fb4a,_0x7385f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe831}):_0x59fb4a[_0x7385f5]=_0x4fe831,_0xceb087=(_0xea70a3,_0x567f62,_0x274fc7,_0x33ae52)=>{const _0x44e3fb=_0xbc4bab;for(var _0x3fa41b=_0x33ae52>0x1?void 0x0:_0x33ae52?_0x4a6166(_0x567f62,_0x274fc7):_0x567f62,_0x9aa966=_0xea70a3[_0x44e3fb(0x277)]-0x1,_0x48d93b;_0x9aa966>=0x0;_0x9aa966--)(_0x48d93b=_0xea70a3[_0x9aa966])&&(_0x3fa41b=_0x48d93b(_0x3fa41b)||_0x3fa41b);return _0x3fa41b;},_0x1674eb=(_0x5932eb,_0x4f0bb6)=>(_0x2aa614,_0x53ef8c)=>_0x4f0bb6(_0x2aa614,_0x53ef8c,_0x5932eb),_0x1d8e0c=(_0x1cb369,_0x351b0b,_0x2a227f)=>_0x313367(_0x1cb369,_0x351b0b+'',_0x2a227f);const _0x447e69='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x309383['UniverCollaborationClientUIPlugin']=class extends _0x51234e[_0xbc4bab(0x1aa)]{constructor(_0x3a0701=_0x50011c,_0x5bfd91,_0x542526,_0x3a0061){const _0x4e1f5a=_0xbc4bab;super(),this[_0x4e1f5a(0x352)]=_0x3a0701,this[_0x4e1f5a(0x3b8)]=_0x5bfd91,this[_0x4e1f5a(0x284)]=_0x542526,this[_0x4e1f5a(0x163)]=_0x3a0061;const {..._0x47ac67}=_0x51234e[_0x4e1f5a(0x374)]({},_0x50011c,this['_config']);this['_configService'][_0x4e1f5a(0x202)](_0x1cdf09,_0x47ac67);}[_0xbc4bab(0x33b)](){const _0x1e52f0=_0xbc4bab;this[_0x1e52f0(0x14a)](),this[_0x1e52f0(0x225)]();}[_0xbc4bab(0x240)](){const _0x14ca72=_0xbc4bab;this[_0x14ca72(0x36f)]();}[_0xbc4bab(0x14a)](){const _0x1904e3=_0xbc4bab;var _0x56fdac;const _0x11063e=[[_0x54275e],[_0x4f6202],[_0x100d73],[_0x50e4fe],[_0x143609],[_0x15568a,{'useClass':_0x196ee5}],[_0x34b1e7[_0x1904e3(0x16e)],{'useClass':_0x34b1e7['WebSocketService']}],[_0x45d92a[_0x1904e3(0x394)],{'useClass':_0x451cc3}],[_0x309383[_0x1904e3(0x20e)]],[_0x32a49e],[_0x18e095],[_0x217dd7],[_0x25835a],[_0x309383['CollaborationDataLoaderController']]];_0x51234e[_0x1904e3(0x1c0)](this[_0x1904e3(0x284)],_0x51234e[_0x1904e3(0x31c)](_0x11063e,(_0x56fdac=this['_config'])==null?void 0x0:_0x56fdac[_0x1904e3(0x199)]));}[_0xbc4bab(0x36f)](){const _0x519d9b=_0xbc4bab;this['disposeWithMe'](this['_renderManagerService'][_0x519d9b(0x186)](_0x51234e['UniverInstanceType'][_0x519d9b(0x26e)],[_0x2b471f])),this['disposeWithMe'](this[_0x519d9b(0x3b8)][_0x519d9b(0x186)](_0x51234e['UniverInstanceType']['UNIVER_SHEET'],[_0x18b05d]));}[_0xbc4bab(0x225)](){const _0x267b1a=_0xbc4bab;_0x51234e['touchDependencies'](this[_0x267b1a(0x284)],[[_0x217dd7],[_0x309383['DesktopCollaborationStatusDisplayController']],[_0x32a49e],[_0x18e095],[_0x309383[_0x267b1a(0x221)]]]);}},_0x1d8e0c(_0x309383['UniverCollaborationClientUIPlugin'],_0xbc4bab(0x170),_0x447e69),_0x309383[_0xbc4bab(0x3bb)]=_0xceb087([_0x51234e[_0xbc4bab(0x287)](_0x45d92a[_0xbc4bab(0x211)]),_0x1674eb(0x1,_0x5cd4ea[_0xbc4bab(0x179)]),_0x1674eb(0x2,_0x51234e['Inject'](_0x51234e['Injector'])),_0x1674eb(0x3,_0x51234e[_0xbc4bab(0x388)])],_0x309383[_0xbc4bab(0x3bb)]);var _0x4fd73c=Object[_0xbc4bab(0x218)],_0xcf4bd5=(_0xc1f51a,_0x23d1f0,_0x1134e4,_0x2e1853)=>{const _0x311d6c=_0xbc4bab;for(var _0x22132a=_0x2e1853>0x1?void 0x0:_0x2e1853?_0x4fd73c(_0x23d1f0,_0x1134e4):_0x23d1f0,_0x4a42a6=_0xc1f51a[_0x311d6c(0x277)]-0x1,_0x38b0d3;_0x4a42a6>=0x0;_0x4a42a6--)(_0x38b0d3=_0xc1f51a[_0x4a42a6])&&(_0x22132a=_0x38b0d3(_0x22132a)||_0x22132a);return _0x22132a;},_0x4f0922=(_0x19689e,_0x17b53b)=>(_0x539f1e,_0x2ae070)=>_0x17b53b(_0x539f1e,_0x2ae070,_0x19689e);_0x309383[_0xbc4bab(0x3c7)]=class extends _0x45d92a[_0xbc4bab(0x18b)]{constructor(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601){super(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601);}async[_0xbc4bab(0x1ec)](_0x5999bb){const _0x4864c6=_0xbc4bab,_0x218ae4=await this[_0x4864c6(0x37a)](),_0xcc23ec=this[_0x4864c6(0x1ac)](_0x5999bb,_0x218ae4);return this[_0x4864c6(0x2f1)](_0xcc23ec);}[_0xbc4bab(0x1ac)](_0x4804a7,_0x2069fd){const _0x56442f=_0xbc4bab,_0xd33b30=typeof window>'u'?new URL(_0x4804a7):new URL(_0x4804a7,window[_0x56442f(0x38a)][_0x56442f(0x250)]);_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)]('sessionTicket',_0x2069fd);const _0x58bcbe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x58bcbe['get'](_0x56442f(0x3aa))&&_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)](_0x56442f(0x3aa),_0x58bcbe[_0x56442f(0x194)](_0x56442f(0x3aa))),_0xd33b30[_0x56442f(0x193)]();}async['_getSessionTicket'](){const _0x33fb15=_0xbc4bab;var _0x216d70,_0x55efac,_0x2e1564;const _0x4dc396=this[_0x33fb15(0x163)][_0x33fb15(0x175)](_0x45d92a[_0x33fb15(0x180)]),_0x2f1188=(_0x216d70=_0x4dc396==null?void 0x0:_0x4dc396[_0x33fb15(0x316)])!=null?_0x216d70:_0x45d92a[_0x33fb15(0x270)];return(_0x2e1564=(_0x55efac=(await this[_0x33fb15(0x25d)][_0x33fb15(0x194)](_0x2f1188,{'headers':{'Content-Type':_0x33fb15(0x300)}}))[_0x33fb15(0x203)])==null?void 0x0:_0x55efac[_0x33fb15(0x169)])!=null?_0x2e1564:'';}},_0x309383[_0xbc4bab(0x3c7)]=_0xcf4bd5([_0x4f0922(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x4f0922(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x4f0922(0x2,_0x51234e['IConfigService']),_0x4f0922(0x3,_0x51234e['ILogService']),_0x4f0922(0x4,_0x2bb387[_0xbc4bab(0x227)])],_0x309383[_0xbc4bab(0x3c7)]);var _0x55b5e5=(_0x51659c=>(_0x51659c[_0x51659c[_0xbc4bab(0x22f)]=0x0]=_0xbc4bab(0x22f),_0x51659c[_0x51659c['OK']=0x1]='OK',_0x51659c[_0x51659c[_0xbc4bab(0x2ce)]=0x2]='INTERNAL_ERROR',_0x51659c[_0x51659c[_0xbc4bab(0x1f0)]=0x3]=_0xbc4bab(0x1f0),_0x51659c[_0x51659c[_0xbc4bab(0x2f4)]=0x4]=_0xbc4bab(0x2f4),_0x51659c[_0x51659c[_0xbc4bab(0x231)]=0x5]='UNAUTHENTICATED',_0x51659c[_0x51659c[_0xbc4bab(0x257)]=0x6]=_0xbc4bab(0x257),_0x51659c[_0x51659c['INVALID_ARGUMENT']=0x7]=_0xbc4bab(0x1cd),_0x51659c[_0x51659c[_0xbc4bab(0x2bb)]=0x8]=_0xbc4bab(0x2bb),_0x51659c[_0x51659c['COMPLETION_FINISHED']=0x9]=_0xbc4bab(0x26d),_0x51659c[_0x51659c[_0xbc4bab(0x21e)]=0xa]='LOGIN_FAILED',_0x51659c[_0x51659c[_0xbc4bab(0x14b)]=0xb]=_0xbc4bab(0x14b),_0x51659c[_0x51659c[_0xbc4bab(0x22b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x51659c[_0x51659c[_0xbc4bab(0x1c3)]=0xd]=_0xbc4bab(0x1c3),_0x51659c[_0x51659c[_0xbc4bab(0x2a1)]=0xe]=_0xbc4bab(0x2a1),_0x51659c[_0x51659c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbc4bab(0x236),_0x51659c[_0x51659c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x51659c[_0x51659c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x51659c[_0x51659c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbc4bab(0x3c5),_0x51659c[_0x51659c[_0xbc4bab(0x3ac)]=0x1b59]=_0xbc4bab(0x3ac),_0x51659c[_0x51659c[_0xbc4bab(0x184)]=0x1b5a]=_0xbc4bab(0x184),_0x51659c[_0x51659c[_0xbc4bab(0x322)]=0x1b5b]=_0xbc4bab(0x322),_0x51659c[_0x51659c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbc4bab(0x360),_0x51659c[_0x51659c['APPLY_DUPLICATED']=0x1b5d]=_0xbc4bab(0x1ff),_0x51659c[_0x51659c[_0xbc4bab(0x253)]=0x1f41]=_0xbc4bab(0x253),_0x51659c[_0x51659c[_0xbc4bab(0x2c6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51659c[_0x51659c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbc4bab(0x29e),_0x51659c[_0x51659c[_0xbc4bab(0x3ca)]=0x232b]=_0xbc4bab(0x3ca),_0x51659c[_0x51659c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xbc4bab(0x173),_0x51659c[_0x51659c['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbc4bab(0x279),_0x51659c[_0x51659c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xbc4bab(0x208),_0x51659c[_0x51659c[_0xbc4bab(0x15d)]=0x2712]=_0xbc4bab(0x15d),_0x51659c[_0x51659c[_0xbc4bab(0x15b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51659c[_0x51659c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x2ad)]=0x271a]=_0xbc4bab(0x2ad),_0x51659c[_0x51659c[_0xbc4bab(0x330)]=0x271b]=_0xbc4bab(0x330),_0x51659c[_0x51659c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x51659c[_0x51659c[_0xbc4bab(0x261)]=0x271d]=_0xbc4bab(0x261),_0x51659c[_0x51659c[_0xbc4bab(0x235)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x51659c[_0x51659c['YUUMI_AI_RUN_FAILED']=0x271f]=_0xbc4bab(0x271),_0x51659c[_0x51659c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x233)]=0x2af9]=_0xbc4bab(0x233),_0x51659c[_0x51659c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x51659c[_0x51659c['INVALID_INVITE_CODE']=0x2ee2]=_0xbc4bab(0x2c4),_0x51659c[_0x51659c[_0xbc4bab(0x164)]=0x2ee3]=_0xbc4bab(0x164),_0x51659c[_0x51659c[_0xbc4bab(0x365)]=0x2ee4]=_0xbc4bab(0x365),_0x51659c[_0x51659c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xbc4bab(0x389),_0x51659c[_0x51659c[_0xbc4bab(0x146)]=0x32c9]=_0xbc4bab(0x146),_0x51659c[_0x51659c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xbc4bab(0x1c1),_0x51659c[_0x51659c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbc4bab(0x1e3),_0x51659c[_0x51659c['UNRECOGNIZED']=-0x1]=_0xbc4bab(0x265),_0x51659c))(_0x55b5e5||{}),_0x3c4a51=Object[_0xbc4bab(0x218)],_0x4734ba=(_0x102cdc,_0x14dc55,_0x1dd656,_0x81b107)=>{const _0x10442e=_0xbc4bab;for(var _0x55dc2f=_0x81b107>0x1?void 0x0:_0x81b107?_0x3c4a51(_0x14dc55,_0x1dd656):_0x14dc55,_0x249e69=_0x102cdc[_0x10442e(0x277)]-0x1,_0x1b3693;_0x249e69>=0x0;_0x249e69--)(_0x1b3693=_0x102cdc[_0x249e69])&&(_0x55dc2f=_0x1b3693(_0x55dc2f)||_0x55dc2f);return _0x55dc2f;},_0x494e48=(_0x2e701f,_0x3472f5)=>(_0x130f34,_0x5165ec)=>_0x3472f5(_0x130f34,_0x5165ec,_0x2e701f);_0x309383[_0xbc4bab(0x331)]=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x42778f,_0x2a9552,_0x38bedc){const _0xcb7e63=_0xbc4bab;super(),this[_0xcb7e63(0x35a)]=_0x42778f,this[_0xcb7e63(0x25d)]=_0x2a9552,this['_configService']=_0x38bedc;}async['runOnServer'](_0x323d0f,_0x5d73d7,_0xe5b761,..._0xcbc21f){const _0xd6f326=_0xbc4bab;var _0x212872,_0x4ac424,_0x27a0e9,_0xa558f0;const _0x39a6cc=this['_instanceService'][_0xd6f326(0x3d9)]();if(!_0x39a6cc)throw new Error(_0xd6f326(0x27c));const _0x51fb99=((_0x212872=this[_0xd6f326(0x163)][_0xd6f326(0x175)](_0x45d92a[_0xd6f326(0x1ee)]))!=null?_0x212872:_0x45d92a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x323d0f+_0xd6f326(0x14e)+_0x5d73d7,_0x4c3bcb=new URL(window[_0xd6f326(0x38a)][_0xd6f326(0x23f)]),_0x3a4af9={'scriptId':_0x323d0f,'runId':(_0x4ac424=_0x4c3bcb[_0xd6f326(0x31d)][_0xd6f326(0x194)](_0xd6f326(0x3aa)))!=null?_0x4ac424:'','function':_0x5d73d7,'unitId':_0x39a6cc[_0xd6f326(0x27a)](),'argsOfFunction':JSON['stringify'](_0xcbc21f),'invokeId':(_0x27a0e9=_0xe5b761[_0xd6f326(0x19a)])!=null?_0x27a0e9:'','executionId':(_0xa558f0=_0xe5b761[_0xd6f326(0x19f)])!=null?_0xa558f0:''};try{const _0x323f74=await this[_0xd6f326(0x25d)][_0xd6f326(0x2f7)](_0x51fb99,{'body':_0x3a4af9});return _0x323f74['body'][_0xd6f326(0x25a)]&&_0x323f74[_0xd6f326(0x203)]['error'][_0xd6f326(0x34f)]!==_0x55b5e5['OK']?_0xd6f326(0x3b3):_0x323f74[_0xd6f326(0x203)][_0xd6f326(0x2f3)];}catch{return _0xd6f326(0x3b3);}}},_0x309383['RemoteUniscriptService']=_0x4734ba([_0x494e48(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x494e48(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x494e48(0x2,_0x51234e[_0xbc4bab(0x388)])],_0x309383['RemoteUniscriptService']);const _0x95d128=0x7530,_0x1669bd=_0xbc4bab(0x2c3);class _0x164101 extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x4adf21=_0xbc4bab;super(),_0x1e1d43(this,_0x4adf21(0x1a9),_0x51234e[_0x4adf21(0x1a2)]()),_0x1e1d43(this,_0x4adf21(0x232),new Set()),_0x1e1d43(this,_0x4adf21(0x177),new Map()),_0x1e1d43(this,_0x4adf21(0x347),null),_0x1e1d43(this,_0x4adf21(0x15c),new Map()),_0x1e1d43(this,'_unitStatus',new Map()),this[_0x4adf21(0x1d6)]();}[_0xbc4bab(0x310)](){const _0x3ad269=_0xbc4bab;super[_0x3ad269(0x310)](),this['_clearOtherTimers'][_0x3ad269(0x35f)]((_0x33083a,_0x44e2e7)=>this[_0x3ad269(0x29f)](_0x44e2e7)),this[_0x3ad269(0x347)]&&window[_0x3ad269(0x2aa)](this['_heartbeatTimer']);}[_0xbc4bab(0x21f)](_0x19d19e){const _0x54e7a7=_0xbc4bab;return this[_0x54e7a7(0x1c8)](_0x19d19e)[_0x54e7a7(0x3bd)](_0x5bbaf2[_0x54e7a7(0x14c)]());}[_0xbc4bab(0x24a)](_0x5f0f4b){const _0x4e065c=_0xbc4bab;this[_0x4e065c(0x232)][_0x4e065c(0x293)]===0x0&&this[_0x4e065c(0x3ab)](),this[_0x4e065c(0x232)][_0x4e065c(0x2fb)](_0x5f0f4b),this[_0x4e065c(0x166)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5f0f4b],'isForwarded':!0x1});}[_0xbc4bab(0x1e8)](_0x410ce9){const _0x2a6494=_0xbc4bab;this[_0x2a6494(0x232)][_0x2a6494(0x339)](_0x410ce9),this['_selfUnitIDs']['size']===0x0&&this[_0x2a6494(0x347)]&&window[_0x2a6494(0x2aa)](this[_0x2a6494(0x347)]);}[_0xbc4bab(0x1d6)](){const _0x52b0ec=_0xbc4bab;this[_0x52b0ec(0x2de)](_0x51234e[_0x52b0ec(0x33a)](_0x5bbaf2[_0x52b0ec(0x189)](window,_0x52b0ec(0x2ab))[_0x52b0ec(0x2ae)](_0x48a0c6=>{const _0x2581c1=_0x52b0ec;if(_0x48a0c6[_0x2581c1(0x21d)]!==_0x1669bd||!_0x48a0c6[_0x2581c1(0x1b6)])return;const _0xc49fe2=JSON['parse'](_0x48a0c6['newValue']);this['_handleEvent'](_0xc49fe2);}))),window[_0x52b0ec(0x391)](_0x52b0ec(0x3d6),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x52b0ec(0x1ea)](this[_0x52b0ec(0x232)])}));}[_0xbc4bab(0x216)](_0x15445c){const _0x1d8a1a=_0xbc4bab;switch(_0x15445c[_0x1d8a1a(0x3c2)]){case 0x0:this[_0x1d8a1a(0x364)](_0x15445c);break;case 0x1:this[_0x1d8a1a(0x1fd)](_0x15445c);break;case 0x2:this[_0x1d8a1a(0x18e)](_0x15445c);break;}}[_0xbc4bab(0x364)](_0x7d3614){const _0x2e64bb=_0xbc4bab,{unitIDs:_0xd8c7f9,memberID:_0x447bcb,isForwarded:_0x273034}=_0x7d3614;_0xd8c7f9[_0x2e64bb(0x35f)](_0x3898ec=>{const _0x23daea=_0x2e64bb;if(!_0x273034&&this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)&&this[_0x23daea(0x1c8)](_0x3898ec)[_0x23daea(0x1ab)](_0x45d92a[_0x23daea(0x27b)]['OTHER_CLIENTS_EDITING']),!this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)||!this[_0x23daea(0x177)]['get'](_0x3898ec)[_0x23daea(0x172)](_0x447bcb)){const _0x42bfa7=this[_0x23daea(0x177)][_0x23daea(0x194)](_0x3898ec)||new Set();_0x42bfa7[_0x23daea(0x2fb)](_0x447bcb),this[_0x23daea(0x177)][_0x23daea(0x36c)](_0x3898ec,_0x42bfa7),this[_0x23daea(0x289)](_0x447bcb);}}),_0x273034||this[_0x2e64bb(0x166)]({'type':0x0,'memberID':this[_0x2e64bb(0x1a9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbc4bab(0x289)](_0x27111e){const _0x438109=_0xbc4bab;this[_0x438109(0x29f)](_0x27111e);const _0x59d149=window[_0x438109(0x2df)](()=>{const _0xaec0e2=_0x438109;this[_0xaec0e2(0x177)]['forEach'](_0x3f98c6=>{const _0x29d79e=_0xaec0e2;_0x3f98c6[_0x29d79e(0x339)](_0x27111e);});},_0x95d128*0x2);this['_clearOtherTimers']['set'](_0x27111e,_0x59d149);}['_removeClearOtherTimer'](_0xff8389){const _0x3c1828=_0xbc4bab;if(this[_0x3c1828(0x15c)][_0x3c1828(0x172)](_0xff8389)){const _0x2ac0d7=this['_clearOtherTimers'][_0x3c1828(0x194)](_0xff8389);_0x2ac0d7&&window[_0x3c1828(0x171)](_0x2ac0d7),this['_clearOtherTimers'][_0x3c1828(0x36c)](_0xff8389,null);}}['_handleLeaveEvent'](_0x18059e){const _0x19ea34=_0xbc4bab,{memberID:_0x2e4def,unitIDs:_0x4e19f9}=_0x18059e;_0x4e19f9[_0x19ea34(0x35f)](_0x1a5ba5=>{const _0x55b234=_0x19ea34;var _0x28bd0e;const _0x8b98b7=this[_0x55b234(0x177)][_0x55b234(0x194)](_0x1a5ba5);_0x8b98b7&&(_0x8b98b7[_0x55b234(0x339)](_0x2e4def),(_0x28bd0e=this[_0x55b234(0x1c8)](_0x1a5ba5))==null||_0x28bd0e[_0x55b234(0x1ab)](_0x8b98b7[_0x55b234(0x293)]===0x0?_0x45d92a['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x45d92a[_0x55b234(0x27b)][_0x55b234(0x30b)]));}),this[_0x19ea34(0x29f)](_0x2e4def);}[_0xbc4bab(0x18e)](_0x53b142){const _0x27c58f=_0xbc4bab;this[_0x27c58f(0x289)](_0x53b142['memberID']);}[_0xbc4bab(0x166)](_0x52e9b0){const _0x5582c1=_0xbc4bab;localStorage['setItem'](_0x1669bd,JSON[_0x5582c1(0x19c)](_0x52e9b0));}[_0xbc4bab(0x3ab)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x131f0a=_0x3b2a;this[_0x131f0a(0x166)]({'type':0x2,'memberID':this[_0x131f0a(0x1a9)]});},_0x95d128);}['_ensureSubject'](_0xb7f8f7){const _0x4a340f=_0xbc4bab;return this[_0x4a340f(0x313)]['has'](_0xb7f8f7)||this[_0x4a340f(0x313)][_0x4a340f(0x36c)](_0xb7f8f7,new _0x5bbaf2[(_0x4a340f(0x20d))](_0x45d92a[_0x4a340f(0x27b)][_0x4a340f(0x249)])),this[_0x4a340f(0x313)][_0x4a340f(0x194)](_0xb7f8f7);}}_0x309383[_0xbc4bab(0x1dd)]=_0x15568a,_0x309383[_0xbc4bab(0x176)]=_0xd3b6c4,_0x309383[_0xbc4bab(0x297)]=_0x164101,_0x309383['WebURLService']=_0x196ee5,Object['defineProperty'](_0x309383,Symbol['toStringTag'],{'value':_0xbc4bab(0x1eb)});}));
1
+ function _0x31db(_0x39900b,_0x3a5b87){const _0x48d2f5=_0x48d2();return _0x31db=function(_0x31dba7,_0x29589f){_0x31dba7=_0x31dba7-0xeb;let _0x1e2c25=_0x48d2f5[_0x31dba7];return _0x1e2c25;},_0x31db(_0x39900b,_0x3a5b87);}function _0x48d2(){const _0x3a5de7=['INTERNAL_ERROR','delete','_updateLocalCursor','FETCH_MISS','YUUMI_ASYNCIO_CANCELLED','div','m1Prime','onCommandExecuted','@univerjs/design','round','top','_textBubble','saveImage','distinctUntilChanged','UNIVER_SHEET','stringify','_clearOtherTimers','debounce','icon','_lastPointer','InsertColCommandId','APPLY_NON_SEQUENTIAL_REVISION','with','_docSkeleton','wsSessionTicketUrl','LOCAL_CACHE_INTERVAL_KEY','session.collaboration-timeout','on-line-icon_clip0_910_349','endColumn','min','_colorAssignService','getRelativeToViewportCoord','getConfig','LICENSE_DISTRO_REJECTED','_urlService','_collabSessionService','InsertRangeMoveDownCommandId','getTypeOfUnitDisposed$','CollaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getUnitStatus$','IURLService','_getScale','newValue','searchParams','_createSocketURL','extend','WECHAT_HAS_BEEN_BOUND','MOBILE_HAS_BEEN_BOUND','invokeId','Disposable','fillStyle','getCurrent','measureText','_memberService','currentSkeleton$','_toggleOnline','_handleEvent','UniverIcon','_range','_syncEditingCollabCursorService','SOCKET_FAILED','post','OffLineIcon','CommandType','_initEntityListener','current','redoState','font','YUUMI_SUBSCRIPTION_NOT_FOUND','Injector','getCoordByCell','green.600','colorChannel1','_disabled','values','_name','CollaborationSocketService','getSheetId','@univerjs/engine-formula','combineLatest','10POzwVY','enableLocalCache','function','5390464nMWKaE','IImageIoService','apply','transform','onPointerEnter$','replace','imageSourceType','BehaviorSubject','displayName','3620372FWYmpW','_scene','amd','ALREADY_EXISTS','mutations','collaboration.single-unit.warning','createSocket','contains','NodePositionConvertToRectRange','_refRangeService','DocStateChangeManagerService','_getMergeRange','editingUnit','getColor','DataLoaderService','APPLY_DUPLICATED','_labelPosition','_notificationService','_sheetSkeletonManagerService','type','_docTransformStateCacheService','getUndoRedoMutationParamsCache','registerDependencies','unsubscribe','onTransformChange$','startRow','updateOfflineData','_cursor','red.300','1em','_color','save','then','hasOwnProperty','_init','UNAUTHENTICATED','_config','roomMembers$','MemberService','_docSyncEditingCollabCursorService','getSheetBySheetId','_hovered','45KRSvpL','triggerDblclick','executionId','exhaustSavingTask','mask','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','SNAPSHOT_HAS_BEEN_REMOVED','IUniverInstanceService','white','findNodePositionByCharIndex','setActiveRange','ITransformService','session.will-retry','CollaborationSessionService','VIEW_MAIN','className','on-line-icon','ICommandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_localCacheService','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_MISMATCH','width','ticket','registerRenderModule','clearTimeout','_getAnchorBounding','location','NOT_FOUND','createIdentifier','rxjs','_revisionService','UniverInstanceType','_context','_docTransformIMECacheService','ISocketService','UniverCollaborationClientPlugin','UniverCore','split','_commandService','_render','LICENSE_MAX_UNITS_EXCEEDED','_ensureSubject','_drawAnchor','propertyIsEnumerable','syncEditingCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','string','undoState','currentColor','trim','_hover','pluginName','_scheduleSaving','currentTheme$','CLOSE_ROOM','CollaborationController','_setupBeforeClosingHandler','replaceDocRanges','_colorIndex','UniverProCollaborationClient','DOC_RANGE_TYPE','toDisposable','IDocClipboardService','getLocalCacheKey','getCollabCursors$','_cursorShapes','18OdDarX','_drawRectRange','useRef','_removeCollabCursors','fromEvent','collabCursorState$','height','BrowserCollaborationSocketService','_online','LOGIN_FAILED','getDocRanges','flatMap','DocSelectionManagerService','getSkeleton','_injector','setTimeout','_unitOnClients','BuiltInUIPart','defIds','runRefRangeMutations','mapTo','getUnitId','executeCommand','collabStatus.offline','setParam','setItem','_initStatusListener','storage','lineTo','@univerjs/rpc','CONFLICT','handleIRemoveRow','_anchor','collabStatus.synced','_unitStatus','@univerjs/drawing','UniverSheets','_entities','CollaborationUIEventId','_renderManagerService','FromArray','getMember','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/sheets-ui','_eventUnsubscribe','WebSocketService','MUTATION','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','restore','_cachedData','APPLY_REJECT','activeSheet$','generateRandomId','UniverDocsUi','toRgbString','_saveCache','mergeOverrideWithDependencies','collaboration-client.offline-data-not-saved','PY_RUNTIME_SCRIPT_ERROR','debounceTime','_transformPreviousActiveRange','DisposableCollection','collab-rect-range-','next','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','init','_updateSubUnitFromURLParams','RemoveColCommandId','_collabCursorController','object','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','_entityInit$','MoveRangeCommandId','path','103058WOpeWS','transformStateCache','_onCursorUpdate','onPointerLeave$','result','translate(.97)','entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unitId','connectInjector','merge','EMAIL_HAS_BEEN_BOUND','setAlpha','_setupSubUnitSync','DocIMEInputManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','540354qhdPli','color','INVITE_CODE_ALREADY_BOUND','0\x200\x2017\x2016','getViewport','unshift','bottom','UniverCollaborationClientUIPlugin','_collabCursorState$','getFocusedUnit','@univerjs/sheets','_refreshCollabCursors','UPDATE_CURSOR','RichTextEditingMutation','getActiveSheet','SetTextSelectionsOperation','_instanceService','IMessageService','entries','dispose','sessionStatus$','COLORS','whenReady','makeDirty','YUUMI_RATE_OVER_LIMIT','TEXT_RANGE_LAYER_INDEX','handleMoveRange','DEFAULT_WS_SESSION_TICKET_URL','APPLY_PERMISSION_DENIED','runId','getParam','setShapeProps','_startSheetCollabCursor','asObservable','yellow.400','getOwnPropertyDescriptor','55ybHkzK','defs','column','SetDocZoomRatioOperation','ILocalCacheService','operators','COMPLETION_FINISHED','handleInsertRangeMoveDown','handleDeleteRangeMoveUp','_roomMembers$','Module','replaceState','_localeService','Subject','getActiveRange','UNDEFINED','range','getTypeOfUnitAdded$','#FFF','deserializeRangeWithSheet','react','ILogService','registerBeforeClose','push','SheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','onPointerMove$','getValue','closePath','_transformHistoryAndStateStack','react/jsx-runtime','getColorFromTheme','show','getCellPositionByOffset','beginPath','getCurrentSelections','_assignedColors','has','_hideTimer','onStarting','UniverNetwork','switchMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverDrawing','_configService','unload','call','RemoteUniscriptService','_uiPartsService','application/json','UniverUi','subscribe','_id','_docTransformSelectionsService','PERMISSION_DENIED','_httpService','Vector2','assign','reconnect','_heartbeatTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverRpc','SheetsSelectionsService','_messageService','OnLineIcon','pushState','Unknown\x20user','createElement','UnitStatus','isActive','IRenderManagerService','assignAColorForMemberID','SHEET_VIEWPORT_KEY','getOwnPropertySymbols','unit','map','get','none','@univerjs/network','send','selection','origin','addObject','href','SetWorksheetActivateCommand','getMergeData','dispose$','_univerInstanceService','Failed','prototype','Rect','IBeforeCloseService','useDependency','IRemoteInstanceService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','DeleteRangeMoveUpCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','_status$','black','saveOfflineData','APPLY_REVISION_CONFILICT','_cursorInfo$','cursorInfo','_scheduleHeartbeat','clipPath','OFFLINE','@univerjs/core','_initEvent','RegularPolygon','YUUMI_AI_RUN_FAILED','_collaborationController','_getSheetObject','_anchorDot','purple.300','Shape','pipe','requireSession','event$','text','_transformUndoRedoStack','addClipboardHook','@univerjs-pro/collaboration-client','660240WgBBOE','fill','USERS_LEAVE','collabStatus.conflict','isTransformMutationsWithChangesetSuccess','handleInsertCol','getCollabEntity$','startsWith','NO_OTHER_CLIENTS_EDITING','Inject','Warning','toString','_initStatusComponent','_beforeCloseService','data','disposeWithMe','setInterval','key','_shapes','fillRule','_handleLeaveEvent','collabStatus.fetchMiss','[CollaborationDataLoaderController]','collab-text-range-','SetSelectionsOperation','InsertRowCommandId','resize','createInstance','...','_logService','CollaborationStatus','RemoveRowCommandId','getItem','_localStorageService','IUIPartsService','transformIMECache','error','getOffsetConfig','evenodd','jsxs','_saveTaskMap','_updateURLWithCurrentState','length','SNAPSHOT_INVALID_SNAPSHOT','NodePositionConvertToCursor','runOnServer','transformMutationsWithChangeset','_session','xlink:href','RxDisposable','off-line-icon_clip0_910_343','_selfUnitIDs','addObjects','params','row','INotificationService','deepClone','ColorKit','throttleTime','onRendered','isArray','_initResize','engine','RECT','ranges','url(#$1','onLocalMutation','Error','size','transformMutation','complete','UniverSheetsUi','uni.network.url-service','defineProperty','removeParam','_dataLoaderService','symbol','rxjs/operators','MessageType','all','set','clearInterval','registerComponent','INVALID_ARGUMENT','_onRefRangeChange','getMemberID','809256woFcIb','getRenderById','_startDocCollabCursor','url(#on-line-icon_clip0_910_349)','exports','Rectangle','hide','actions','history','add','url(#off-line-icon_clip0_910_343)','includes','_cursors','EffectRefRangId','_removeClearOtherTimer','_onCursorDelete','filter','indexOf','from','UniverEngineRender','RevisionService','_transformService','fromEventSubject','transformRemoteChangeset','NOT_COLLAB','disposeUnit','registerRefRange','getSheetObject','8495674rmKlfN','UniverProCollaborationClientUi','OTHER_CLIENTS_EDITING','SYNCED','fillText','_imageIoService','status$','forEach','drawWith','ONLINE','_scheduleClearOtherTimer','docStateChange$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_toggleOffline','children','DesktopCollaborationStatusDisplayController','attrs','toStringTag','handleInsertRangeMoveRight','PENDING','takeUntil','collaboration.closeRoom','hovered','idSuffix','CollaborationEvent','subscribeEvent','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','HTTPService','@univerjs/ui','UniverProCollaboration','_themeService','urlChange$','@univerjs/docs','LocaleService','_backgroundColor','Tools','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_INVITE_CODE','_initDependencies','_registerRenderDependencies','UNIVER_DOC','CONNECTOR_DATA_TOO_LARGE','find','forwardRef','_handleHover','onMouseMove','random','Workbook','touchDependencies','session.connection-failed','transformSelections','_docStateChangeManagerService','eventID','http://www.w3.org/2000/svg','TEXT','_send','_document','sheetId','UniverDesign','code','CollaborationDataLoaderController','unitID','isEditing','isTransformMutationFailure','SOCKET_FAILED_RETRY','body','_getSaveTimeout','INVITE_CODE_REQUIRED','getRangePointData','labelPosition','DeleteRangeMoveLeftCommandId','AWAITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','@univerjs/engine-render','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','name','DependentOn','doc.mutation.rich-text-editing','roomMembers','tag','_updateCollabCursors','IConfigService','Tooltip','_collaborationUIEventService','InsertRangeMoveRightCommandId','UNRECOGNIZED','skeleton','serializeRangeWithSheet','M0\x200H16V16H0z','concat','jsx','YUUMI_ALL_TABLES_IS_INVALID','debug','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','_registerDependencies','disableLocalCache','_docSkeletonManagerService','SessionStatus','subunit','cursorInfo$','_drawTextRange','INVITE_CODE_HAS_BEEN_UES','m2Prime'];_0x48d2=function(){return _0x3a5de7;};return _0x48d2();}(function(_0x45e85c,_0x396565){const _0x106bc3=_0x31db,_0x1d7b99=_0x45e85c();while(!![]){try{const _0x4c6747=parseInt(_0x106bc3(0x167))/0x1+parseInt(_0x106bc3(0x157))/0x2*(-parseInt(_0x106bc3(0x36a))/0x3)+parseInt(_0x106bc3(0x337))/0x4+-parseInt(_0x106bc3(0x18b))/0x5*(parseInt(_0x106bc3(0x25c))/0x6)+parseInt(_0x106bc3(0x340))/0x7+-parseInt(_0x106bc3(0x206))/0x8*(parseInt(_0x106bc3(0x108))/0x9)+parseInt(_0x106bc3(0x334))/0xa*(parseInt(_0x106bc3(0x278))/0xb);if(_0x4c6747===_0x396565)break;else _0x1d7b99['push'](_0x1d7b99['shift']());}catch(_0x1a1fd2){_0x1d7b99['push'](_0x1d7b99['shift']());}}}(_0x48d2,0xb889d),function(_0x32fff8,_0x2711d9){const _0x344b86=_0x31db;typeof exports==_0x344b86(0x151)&&typeof module<'u'?_0x2711d9(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==_0x344b86(0x336)&&define[_0x344b86(0x342)]?define([_0x344b86(0x260),_0x344b86(0x1a9),_0x344b86(0x205),_0x344b86(0x1f6),_0x344b86(0x295),_0x344b86(0x389),_0x344b86(0x2eb),_0x344b86(0x19f),_0x344b86(0x125),_0x344b86(0x171),_0x344b86(0x2c4),_0x344b86(0x1d9),'@univerjs/docs-ui',_0x344b86(0x12b),'@univerjs-pro/collaboration',_0x344b86(0x299),_0x344b86(0x332),_0x344b86(0x253),_0x344b86(0x133)],_0x2711d9):(_0x32fff8=typeof globalThis<'u'?globalThis:_0x32fff8||self,_0x2711d9(_0x32fff8[_0x344b86(0x279)]={},_0x32fff8['React'],_0x32fff8[_0x344b86(0x101)],_0x32fff8[_0x344b86(0x390)],_0x32fff8[_0x344b86(0x1bd)],_0x32fff8['rxjs'],_0x32fff8[_0x344b86(0x2b3)],_0x32fff8['React'],_0x32fff8[_0x344b86(0x1c8)],_0x32fff8[_0x344b86(0x12c)],_0x32fff8[_0x344b86(0x26f)],_0x32fff8[_0x344b86(0x1b3)],_0x32fff8[_0x344b86(0x13e)],_0x32fff8[_0x344b86(0x1b6)],_0x32fff8[_0x344b86(0x296)],_0x32fff8['UniverDocs'],_0x32fff8['UniverEngineFormula'],_0x32fff8[_0x344b86(0x389)][_0x344b86(0x190)],_0x32fff8[_0x344b86(0x24d)]));}(this,function(_0x427b6e,_0x219e43,_0x14cc37,_0x233149,_0x5ec1c1,_0x12fec3,_0x14667c,_0x4595a8,_0x467414,_0x21b9bf,_0x5ee778,_0xabfec4,_0x35cd67,_0xae7fbc,_0x16f706,_0x31d980,_0x1df0d9,_0x493a5f,_0xcb2717){'use strict';const _0x3e20bb=_0x31db;var _0x155d57=Object['defineProperty'],_0x254438=(_0x135f32,_0x590a8d,_0x5b1937)=>_0x590a8d in _0x135f32?_0x155d57(_0x135f32,_0x590a8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1937}):_0x135f32[_0x590a8d]=_0x5b1937,_0x18ecd9=(_0x2257e9,_0x54fd78,_0x34a7e8)=>_0x254438(_0x2257e9,typeof _0x54fd78!=_0x3e20bb(0x252)?_0x54fd78+'':_0x54fd78,_0x34a7e8),_0x59efa0=function(){const _0x25ef9b=_0x3e20bb;return _0x59efa0=Object[_0x25ef9b(0x1c4)]||function(_0x38e6aa){const _0x3e2af7=_0x25ef9b;for(var _0x29310d,_0x25729e=0x1,_0x4c32bc=arguments['length'];_0x25729e<_0x4c32bc;_0x25729e++){_0x29310d=arguments[_0x25729e];for(var _0xd269dd in _0x29310d)Object[_0x3e2af7(0x1e4)][_0x3e2af7(0x361)]['call'](_0x29310d,_0xd269dd)&&(_0x38e6aa[_0xd269dd]=_0x29310d[_0xd269dd]);}return _0x38e6aa;},_0x59efa0[_0x25ef9b(0x339)](this,arguments);},_0x16e51f=function(_0x434cde,_0x2a1af4){const _0x13584e=_0x3e20bb;var _0x2cd0f2={};for(var _0x1bcd8b in _0x434cde)Object['prototype'][_0x13584e(0x361)][_0x13584e(0x1b9)](_0x434cde,_0x1bcd8b)&&_0x2a1af4['indexOf'](_0x1bcd8b)<0x0&&(_0x2cd0f2[_0x1bcd8b]=_0x434cde[_0x1bcd8b]);if(_0x434cde!=null&&typeof Object[_0x13584e(0x1d4)]==_0x13584e(0x336)){for(var _0x3d1111=0x0,_0x1bcd8b=Object[_0x13584e(0x1d4)](_0x434cde);_0x3d1111<_0x1bcd8b['length'];_0x3d1111++)_0x2a1af4[_0x13584e(0x26d)](_0x1bcd8b[_0x3d1111])<0x0&&Object[_0x13584e(0x1e4)][_0x13584e(0xf1)]['call'](_0x434cde,_0x1bcd8b[_0x3d1111])&&(_0x2cd0f2[_0x1bcd8b[_0x3d1111]]=_0x434cde[_0x1bcd8b[_0x3d1111]]);}return _0x2cd0f2;},_0xbdc5ab=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x521f61,_0x3b2019){const _0x168922=_0x3e20bb;var _0x218b04=_0x521f61[_0x168922(0x2f5)],_0x488bf7=_0x521f61['id'],_0x294db8=_0x521f61[_0x168922(0x379)],_0x1e8a7d=_0x521f61['extend'],_0x41c6a2=_0x16e51f(_0x521f61,[_0x168922(0x2f5),'id',_0x168922(0x379),_0x168922(0x311)]),_0xee763d=_0x168922(0x149)[_0x168922(0x2d4)](_0x488bf7,'\x20')[_0x168922(0x2d4)](_0x294db8||'')[_0x168922(0xf7)](),_0xdf810b=_0x4595a8[_0x168922(0x10a)]('_'[_0x168922(0x2d4)](_0x2195ab()));return _0x5ea65c(_0x218b04,''[_0x168922(0x2d4)](_0x488bf7),{'defIds':_0x218b04[_0x168922(0x11a)],'idSuffix':_0xdf810b[_0x168922(0x325)]},_0x59efa0({'ref':_0x3b2019,'className':_0xee763d},_0x41c6a2),_0x1e8a7d);});function _0x5ea65c(_0x543eec,_0x44eb3b,_0xcd186d,_0x1087ce,_0x14cef7){const _0x44f0b1=_0x3e20bb;return _0x4595a8[_0x44f0b1(0x1ce)](_0x543eec[_0x44f0b1(0x2ca)],_0x59efa0(_0x59efa0({'key':_0x44eb3b},_0x4d355f(_0x543eec,_0xcd186d,_0x14cef7)),_0x1087ce),(_0x266576(_0x543eec,_0xcd186d)[_0x44f0b1(0x286)]||[])[_0x44f0b1(0x1d6)](function(_0xe66770,_0x4e1ebf){const _0x278c89=_0x44f0b1;return _0x5ea65c(_0xe66770,''[_0x278c89(0x2d4)](_0x44eb3b,'-')[_0x278c89(0x2d4)](_0x543eec[_0x278c89(0x2ca)],'-')[_0x278c89(0x2d4)](_0x4e1ebf),_0xcd186d,void 0x0,_0x14cef7);}));}function _0x4d355f(_0x106e65,_0x256467,_0x44cb3a){const _0x47c64d=_0x3e20bb;var _0x4a12ea=_0x59efa0({},_0x106e65['attrs']);_0x44cb3a!=null&&_0x44cb3a[_0x47c64d(0x32c)]&&_0x4a12ea[_0x47c64d(0x207)]===_0x47c64d(0x32c)&&(_0x4a12ea[_0x47c64d(0x207)]=_0x44cb3a[_0x47c64d(0x32c)]),_0x106e65['tag']===_0x47c64d(0x36e)&&_0x4a12ea['id']&&(_0x4a12ea['id']=_0x4a12ea['id']+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)['forEach'](function(_0xd92bb7){const _0x4e800a=_0x47c64d;var _0x325e52=_0xd92bb7[0x0],_0x38e84b=_0xd92bb7[0x1];_0x325e52===_0x4e800a(0x36e)&&typeof _0x38e84b=='string'&&(_0x4a12ea[_0x325e52]=_0x38e84b[_0x4e800a(0x33c)](/url\(#(.*)\)/,_0x4e800a(0x247)[_0x4e800a(0x2d4)](_0x256467[_0x4e800a(0x28f)],')')));});var _0x476e53=_0x256467['defIds'];return!_0x476e53||_0x476e53['length']===0x0||(_0x106e65[_0x47c64d(0x2ca)]==='use'&&_0x4a12ea[_0x47c64d(0x236)]&&(_0x4a12ea[_0x47c64d(0x236)]=_0x4a12ea[_0x47c64d(0x236)]+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)[_0x47c64d(0x27f)](function(_0x40d9ca){const _0x261aa9=_0x47c64d;var _0x8cfcbb=_0x40d9ca[0x0],_0x474ba2=_0x40d9ca[0x1];typeof _0x474ba2==_0x261aa9(0xf4)&&(_0x4a12ea[_0x8cfcbb]=_0x474ba2[_0x261aa9(0x33c)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x256467[_0x261aa9(0x28f)],')')));})),_0x4a12ea;}function _0x266576(_0x27c76b,_0x278bff){const _0x53b9c8=_0x3e20bb;var _0xc4df0a,_0x383c11=_0x278bff[_0x53b9c8(0x11a)];return!_0x383c11||_0x383c11[_0x53b9c8(0x230)]===0x0?_0x27c76b:_0x27c76b[_0x53b9c8(0x2ca)]===_0x53b9c8(0x18c)&&(!((_0xc4df0a=_0x27c76b['children'])===null||_0xc4df0a===void 0x0)&&_0xc4df0a[_0x53b9c8(0x230)])?_0x59efa0(_0x59efa0({},_0x27c76b),{'children':_0x27c76b['children'][_0x53b9c8(0x1d6)](function(_0x39bb9d){const _0x2e5f66=_0x53b9c8;return typeof _0x39bb9d['attrs']['id']==_0x2e5f66(0xf4)&&_0x383c11&&_0x383c11[_0x2e5f66(0x267)](_0x39bb9d[_0x2e5f66(0x288)]['id'])?_0x59efa0(_0x59efa0({},_0x39bb9d),{'attrs':_0x59efa0(_0x59efa0({},_0x39bb9d[_0x2e5f66(0x288)]),{'id':_0x39bb9d[_0x2e5f66(0x288)]['id']+_0x278bff['idSuffix']})}):_0x39bb9d;})}):_0x27c76b;}function _0x2195ab(){const _0x1e523a=_0x3e20bb;return Math[_0x1e523a(0x2a7)]()[_0x1e523a(0x211)](0x24)['substring'](0x2,0x8);}_0xbdc5ab[_0x3e20bb(0x33f)]=_0x3e20bb(0x31d);var _0x430e28={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e20bb(0x1d8),'viewBox':_0x3e20bb(0x153),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x266)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x36f),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':_0x3e20bb(0x18c),'attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':_0x3e20bb(0x238)},'children':[{'tag':'path','attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3)}}]}]}],'defIds':[_0x3e20bb(0x238)]},_0x56f6b9=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x29549b,_0x927fb6){const _0x252393=_0x3e20bb;return _0x4595a8[_0x252393(0x1ce)](_0xbdc5ab,Object[_0x252393(0x1c4)]({},_0x29549b,{'id':'off-line-icon','ref':_0x927fb6,'icon':_0x430e28}));});_0x56f6b9[_0x3e20bb(0x33f)]=_0x3e20bb(0x322);var _0x76c0f5={'tag':'svg','attrs':{'xmlns':_0x3e20bb(0x2ae),'fill':'none','viewBox':_0x3e20bb(0x16a),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x25f)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x2c5),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3),'transform':_0x3e20bb(0x15c)}}]}]}],'defIds':[_0x3e20bb(0x2fe)]},_0x4f9221=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x5379db,_0x422cb0){const _0x3561e4=_0x3e20bb;return _0x4595a8['createElement'](_0xbdc5ab,Object[_0x3561e4(0x1c4)]({},_0x5379db,{'id':_0x3561e4(0x37a),'ref':_0x422cb0,'icon':_0x76c0f5}));});_0x4f9221[_0x3e20bb(0x33f)]=_0x3e20bb(0x1cb);function _0xc96513(_0x58c297){const _0x1d52d9=_0x3e20bb;switch(_0x58c297){case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x1f5)]:return _0x1d52d9(0x11f);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x126)]:return _0x1d52d9(0x209);case _0x14cc37['CollaborationStatus'][_0x1d52d9(0x2e6)]:return _0x1d52d9(0x21b);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x274)]:return'collabStatus.notCollab';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x2c0)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x37f)]:return'collabStatus.syncing';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x27b)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x28b)]:return _0x1d52d9(0x129);}}function _0x501983(_0x195a3e){const _0xab2826=_0x3e20bb,{status$:_0x4c99ce}=_0x195a3e,_0x39d167=_0x5ec1c1['useObservable'](_0x4c99ce,_0x14cc37[_0xab2826(0x224)][_0xab2826(0x274)]),_0x22d9de=_0x5ec1c1[_0xab2826(0x1e7)](_0x233149[_0xab2826(0x29a)]),_0x17eb4f=_0x5ec1c1[_0xab2826(0x1e7)](_0x14cc37[_0xab2826(0x377)]),_0x10fa59=_0x39d167!==_0x14cc37[_0xab2826(0x224)][_0xab2826(0x1f5)],_0x5c8115=_0x22d9de['t'](_0xc96513(_0x39d167)),_0x172e75=_0x10fa59?_0x219e43[_0xab2826(0x2d5)](_0x4f9221,{}):_0x219e43[_0xab2826(0x2d5)](_0x56f6b9,{}),_0x192f6c=_0x4595a8['useCallback'](()=>{const _0x4367a2=_0xab2826;_0x10fa59||_0x17eb4f[_0x4367a2(0x1c5)]();},[_0x10fa59,_0x17eb4f]);function _0x596542(){const _0x4ef73c=_0xab2826;return _0x219e43[_0x4ef73c(0x22d)](_0x4ef73c(0x2e8),{'className':'univer-flex\x20univer-items-center','onClick':_0x192f6c,'children':[_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':_0x14667c['clsx'](_0x4ef73c(0x166),{'univer-text-green-500':_0x10fa59,'univer-text-red-500':!_0x10fa59}),'children':_0x172e75}),_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c8115})]});}return _0x10fa59?_0x596542():_0x219e43['jsx'](_0x14667c[_0xab2826(0x2cd)],{'title':_0x22d9de['t']('collab-client.tooltip.reconnect'),'children':_0x596542()});}var _0x23f172=Object[_0x3e20bb(0x18a)],_0x8b857=(_0x95c8ed,_0x1ef2c3,_0x70e9b6,_0xd37eae)=>{const _0xac3195=_0x3e20bb;for(var _0x1e2132=_0xd37eae>0x1?void 0x0:_0xd37eae?_0x23f172(_0x1ef2c3,_0x70e9b6):_0x1ef2c3,_0x2597da=_0x95c8ed[_0xac3195(0x230)]-0x1,_0x72cbb4;_0x2597da>=0x0;_0x2597da--)(_0x72cbb4=_0x95c8ed[_0x2597da])&&(_0x1e2132=_0x72cbb4(_0x1e2132)||_0x1e2132);return _0x1e2132;},_0x58f005=(_0x401fbc,_0x4ee871)=>(_0x4c5601,_0x4acf00)=>_0x4ee871(_0x4c5601,_0x4acf00,_0x401fbc);_0x427b6e[_0x3e20bb(0x287)]=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1376a4,_0x1ed376,_0x1fc2ee,_0x4c55de){const _0x665207=_0x3e20bb;super(),_0x18ecd9(this,_0x665207(0x1ed),new _0x12fec3[(_0x665207(0x33e))](_0x14cc37[_0x665207(0x224)][_0x665207(0x274)])),(this[_0x665207(0x1e2)]=_0x1376a4,this[_0x665207(0x116)]=_0x1ed376,this['_collaborationController']=_0x1fc2ee,this[_0x665207(0x1bb)]=_0x4c55de,this[_0x665207(0x212)](),this[_0x665207(0x122)]());}[_0x3e20bb(0x122)](){const _0x48ee94=_0x3e20bb;this[_0x48ee94(0x215)](this[_0x48ee94(0x1e2)]['focused$']['pipe'](_0x12fec3[_0x48ee94(0x1b4)](()=>{const _0x1e5644=_0x48ee94,_0x23f464=this[_0x1e5644(0x1e2)][_0x1e5644(0x170)]();return _0x23f464?this[_0x1e5644(0x1fa)][_0x1e5644(0x20c)](_0x23f464[_0x1e5644(0x11d)]()):_0x12fec3['of'](null);}),_0x12fec3[_0x48ee94(0x1b4)](_0x1ade6b=>_0x1ade6b?_0x1ade6b[_0x48ee94(0x27e)]:_0x12fec3['of'](_0x14cc37[_0x48ee94(0x224)]['NOT_COLLAB'])))['subscribe'](_0xd90a4f=>{const _0x4f4df6=_0x48ee94;this[_0x4f4df6(0x1ed)][_0x4f4df6(0x148)](_0xd90a4f);}));}[_0x3e20bb(0x212)](){const _0x10b8cd=_0x3e20bb;this[_0x10b8cd(0x215)](this[_0x10b8cd(0x1bb)][_0x10b8cd(0x258)](_0x5ec1c1[_0x10b8cd(0x119)]['HEADER_MENU'],()=>_0x5ec1c1[_0x10b8cd(0x160)](_0x388978({'status$':this[_0x10b8cd(0x1ed)]['asObservable']()}),this[_0x10b8cd(0x116)])));}},_0x427b6e[_0x3e20bb(0x287)]=_0x8b857([_0x58f005(0x0,_0x233149[_0x3e20bb(0x371)]),_0x58f005(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x58f005(0x2,_0x233149['Inject'](_0x14cc37['CollaborationController'])),_0x58f005(0x3,_0x5ec1c1[_0x3e20bb(0x228)])],_0x427b6e[_0x3e20bb(0x287)]);function _0x388978(_0x52bc6d){const {status$:_0x3c6136}=_0x52bc6d;return function(){return _0x219e43['jsx'](_0x501983,{'status$':_0x3c6136});};}const _0x172ebe=_0x233149[_0x3e20bb(0x388)](_0x3e20bb(0x24e));var _0x38a100=Object[_0x3e20bb(0x18a)],_0x571fb9=(_0x2da5c6,_0x392b4f,_0x1de91e,_0xf1e008)=>{for(var _0x324d4a=_0xf1e008>0x1?void 0x0:_0xf1e008?_0x38a100(_0x392b4f,_0x1de91e):_0x392b4f,_0x49b976=_0x2da5c6['length']-0x1,_0x1d0de8;_0x49b976>=0x0;_0x49b976--)(_0x1d0de8=_0x2da5c6[_0x49b976])&&(_0x324d4a=_0x1d0de8(_0x324d4a)||_0x324d4a);return _0x324d4a;},_0x505369=(_0xeb2ce2,_0x25e5dd)=>(_0x596712,_0x3f85ea)=>_0x25e5dd(_0x596712,_0x3f85ea,_0xeb2ce2);_0x427b6e[_0x3e20bb(0x2b5)]=class extends _0x233149['RxDisposable']{constructor(_0xf52437,_0x5f4de9,_0x48386b,_0x369b45,_0x3dd12b){const _0x33475b=_0x3e20bb;super(),this[_0x33475b(0x305)]=_0xf52437,this[_0x33475b(0x223)]=_0x5f4de9,this['_commandService']=_0x48386b,this[_0x33475b(0x251)]=_0x369b45,_0x3dd12b?_0x3dd12b==null||_0x3dd12b[_0x33475b(0x17d)]()[_0x33475b(0x360)](()=>this['_init']()):(this[_0x33475b(0x223)][_0x33475b(0x2d7)](_0x33475b(0x21c),_0x33475b(0x14b)),this[_0x33475b(0x362)]());}async['_init'](){const _0x1ecb65=_0x3e20bb,_0x2c7ce6=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x1d5)),_0x397baf=this[_0x1ecb65(0x305)][_0x1ecb65(0x185)]('type'),_0x5736d2=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x2de));if(!_0x2c7ce6||!_0x397baf){this[_0x1ecb65(0x223)]['debug']('[CollaborationDataLoaderController]',_0x1ecb65(0x1b5));return;}const _0x103e68=await this[_0x1ecb65(0x251)]['loadUnit'](_0x2c7ce6,Number(_0x397baf),_0x5736d2);_0x103e68&&_0x103e68 instanceof _0x233149[_0x1ecb65(0x2a8)]&&this[_0x1ecb65(0x164)](_0x103e68);}async['_setupSubUnitSync'](_0x595f61){const _0x5812bc=_0x3e20bb;await this[_0x5812bc(0x14e)](_0x595f61),_0x595f61[_0x5812bc(0x13c)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](_0x1695ec=>{_0x1695ec&&this['_updateURLWithCurrentState'](_0x1695ec);}),this[_0x5812bc(0x305)][_0x5812bc(0x298)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](()=>this[_0x5812bc(0x14e)](_0x595f61));}[_0x3e20bb(0x22f)](_0x3bfad3,_0x5e585c=!0x1){const _0x4a318c=_0x3e20bb,_0x3096ab=this[_0x4a318c(0x305)][_0x4a318c(0x185)]('subunit');_0x3bfad3['getSheetId']()!==_0x3096ab&&this['_urlService'][_0x4a318c(0x120)]('subunit',_0x3bfad3[_0x4a318c(0x331)](),_0x5e585c);}async[_0x3e20bb(0x14e)](_0xdbbf0){const _0x18fe32=_0x3e20bb;var _0x18b595;const _0x147624=this[_0x18fe32(0x305)][_0x18fe32(0x185)](_0x18fe32(0x2de));if(!_0x147624||!_0xdbbf0[_0x18fe32(0x368)](_0x147624)){const _0x7b9e04=_0xdbbf0['getUnhiddenWorksheets']()[0x0],_0x3042a8=_0xdbbf0[_0x18fe32(0x368)](_0x7b9e04);if(!_0x3042a8)return;this[_0x18fe32(0x22f)](_0x3042a8,!0x0),await this[_0x18fe32(0xec)][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x7b9e04});return;}((_0x18b595=_0xdbbf0[_0x18fe32(0x175)]())==null?void 0x0:_0x18b595['getSheetId']())!==_0x147624&&await this['_commandService'][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x147624});}},_0x427b6e[_0x3e20bb(0x2b5)]=_0x571fb9([_0x505369(0x0,_0x172ebe),_0x505369(0x1,_0x233149[_0x3e20bb(0x1a0)]),_0x505369(0x2,_0x233149[_0x3e20bb(0x37b)]),_0x505369(0x3,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x34e)])),_0x505369(0x4,_0x233149['Optional'](_0x467414[_0x3e20bb(0x1e8)]))],_0x427b6e[_0x3e20bb(0x2b5)]);var _0x4c9944=Object['getOwnPropertyDescriptor'],_0x2c21c5=(_0x2a765e,_0x512d18,_0x303ca4,_0x5ccfa4)=>{const _0x1d3d7b=_0x3e20bb;for(var _0x107048=_0x5ccfa4>0x1?void 0x0:_0x5ccfa4?_0x4c9944(_0x512d18,_0x303ca4):_0x512d18,_0x3c02d8=_0x2a765e[_0x1d3d7b(0x230)]-0x1,_0x3e1dd3;_0x3c02d8>=0x0;_0x3c02d8--)(_0x3e1dd3=_0x2a765e[_0x3c02d8])&&(_0x107048=_0x3e1dd3(_0x107048)||_0x107048);return _0x107048;},_0x5717d9=(_0x24ed14,_0x3cc2a7)=>(_0x44a55f,_0x24b1f0)=>_0x3cc2a7(_0x44a55f,_0x24b1f0,_0x24ed14);let _0xdff79c=class extends _0x233149['RxDisposable']{constructor(_0x2b0dee,_0x613d93){const _0x476578=_0x3e20bb;super(),this[_0x476578(0x2d9)]=_0x2b0dee,this[_0x476578(0x27d)]=_0x613d93,this[_0x476578(0x362)]();}[_0x3e20bb(0x362)](){const _0x13cb43=_0x3e20bb,_0x3b66e3=this;this[_0x13cb43(0x215)](this[_0x13cb43(0x2d9)][_0x13cb43(0x204)]({'onBeforePasteImage':async _0x1577f5=>{const _0x1aa227=_0x13cb43,_0xdad086=await _0x3b66e3[_0x1aa227(0x27d)][_0x1aa227(0x2ef)](_0x1577f5);return _0xdad086?{'source':_0xdad086['source'],'imageSourceType':_0xdad086[_0x1aa227(0x33d)]}:null;}}));}};_0xdff79c=_0x2c21c5([_0x5717d9(0x0,_0x35cd67[_0x3e20bb(0x104)]),_0x5717d9(0x1,_0xae7fbc[_0x3e20bb(0x338)])],_0xdff79c);const _0x215996=[_0x3e20bb(0x1fd),'jiqing.500',_0x3e20bb(0x32b),_0x3e20bb(0x35c),'blue.400',_0x3e20bb(0x189)];class _0xc47850 extends _0x233149[_0x3e20bb(0x315)]{constructor(){const _0x4821c0=_0x3e20bb;super(...arguments),_0x18ecd9(this,_0x4821c0(0x1af),new Map()),_0x18ecd9(this,_0x4821c0(0x100),0x0);}[_0x3e20bb(0x1d2)](_0x3ee981){const _0x131cf2=_0x3e20bb;if(this[_0x131cf2(0x1af)][_0x131cf2(0x1b0)](_0x3ee981))return this[_0x131cf2(0x1af)][_0x131cf2(0x1d7)](_0x3ee981);const _0x408af1=_0x215996[this[_0x131cf2(0x100)]];return this['_colorIndex']=(this[_0x131cf2(0x100)]+0x1)%_0x215996[_0x131cf2(0x230)],this[_0x131cf2(0x1af)][_0x131cf2(0x256)](_0x3ee981,_0x408af1),_0x408af1;}}function _0x29940a(_0x3d55e3){const _0x1c19e0=_0x3e20bb;let _0x386d0c='';for(const _0x4c4b28 of _0x3d55e3){const {startOffset:_0x433c29,endOffset:_0x206e73,isActive:_0x3f7b20,rangeType:_0x233da3,segmentId:_0x4be929,segmentPage:_0x30b56e}=_0x4c4b28;_0x386d0c[_0x1c19e0(0x230)]&&(_0x386d0c+=','),_0x386d0c+=_0x433c29+':'+_0x206e73+':'+(_0x3f7b20?'1':'0')+':'+_0x233da3+':'+_0x4be929+':'+_0x30b56e;}return _0x386d0c;}function _0x154183(_0xf8dd65){const _0x22a182=_0x3e20bb,_0xb88db1=_0xf8dd65['split'](','),_0x189716=[];for(const _0x3b99d9 of _0xb88db1){const [_0x82a4f2,_0xa657e2,_0x1e63af,_0x38035b,_0x485e19,_0x5b6929]=_0x3b99d9[_0x22a182(0xeb)](':');_0x189716[_0x22a182(0x1a2)]({'startOffset':Number(_0x82a4f2),'endOffset':Number(_0xa657e2),'collapsed':_0x82a4f2===_0xa657e2,'isActive':_0x1e63af==='1','rangeType':_0x38035b===_0x233149['DOC_RANGE_TYPE'][_0x22a182(0x2af)]?_0x233149[_0x22a182(0x102)]['TEXT']:_0x233149[_0x22a182(0x102)][_0x22a182(0x245)],'segmentId':typeof _0x485e19==_0x22a182(0xf4)?String(_0x485e19):'','segmentPage':Number(_0x5b6929!=null?_0x5b6929:-0x1)});}return _0x189716['some'](_0x10f900=>_0x10f900[_0x22a182(0x1d0)])||(_0x189716[0x0][_0x22a182(0x1d0)]=!0x0),_0x189716;}class _0x573383 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0xce7490=_0x3e20bb;super(...arguments),_0x18ecd9(this,'_collabCursorState$',new _0x12fec3[(_0xce7490(0x33e))](null)),_0x18ecd9(this,'collabCursorState$',this[_0xce7490(0x16f)]['asObservable']());}['syncEditingCollabCursor'](_0x59dd3a){const _0x24eca2=_0x3e20bb,{unitID:_0x3f1728,memberID:_0x1e0273,textRanges:_0x4a4d37}=_0x59dd3a,_0x36d33b=_0x29940a(_0x4a4d37);if(_0x36d33b==='')return;const _0x31f55c={'unitID':_0x3f1728,'memberID':_0x1e0273,'selection':_0x36d33b};this[_0x24eca2(0x16f)][_0x24eca2(0x148)](_0x31f55c);}}var _0x297c0b=Object[_0x3e20bb(0x18a)],_0x2d45c4=(_0x3a33fa,_0x159b09,_0x101bce,_0x45bce4)=>{for(var _0x39623b=_0x45bce4>0x1?void 0x0:_0x45bce4?_0x297c0b(_0x159b09,_0x101bce):_0x159b09,_0x10f271=_0x3a33fa['length']-0x1,_0x2742a2;_0x10f271>=0x0;_0x10f271--)(_0x2742a2=_0x3a33fa[_0x10f271])&&(_0x39623b=_0x2742a2(_0x39623b)||_0x39623b);return _0x39623b;},_0x108360=(_0x5eab3f,_0x247ec6)=>(_0x2739da,_0x466e58)=>_0x247ec6(_0x2739da,_0x466e58,_0x5eab3f);const _0x45783c=0x12c,_0xfb2bf=0x64;let _0x2da733=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x283c67,_0x35b6ca,_0x3c8385,_0x4fa244,_0x2c5a51,_0x553bc8,_0x354a81,_0x5cd041,_0x30a186){const _0x2dd0cc=_0x3e20bb;super(),_0x18ecd9(this,_0x2dd0cc(0x110),!0x1),_0x18ecd9(this,_0x2dd0cc(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x2dd0cc(0x33e))](new Map())),_0x18ecd9(this,'cursorInfo$',this[_0x2dd0cc(0x1f1)]['asObservable']()),_0x18ecd9(this,'_roomMembers$',new _0x12fec3[(_0x2dd0cc(0x33e))]([])),_0x18ecd9(this,_0x2dd0cc(0x365),this[_0x2dd0cc(0x194)][_0x2dd0cc(0x1ff)](_0x12fec3['debounceTime'](_0x45783c))),_0x18ecd9(this,_0x2dd0cc(0x2e5),_0x233149[_0x2dd0cc(0x2f4)](_0x1dee2a=>{const _0x5d0f58=_0x2dd0cc,_0x1361ce={'eventID':_0x16f706['CollaborationEvent'][_0x5d0f58(0x173)],'data':{'unitID':this[_0x5d0f58(0x2b6)],'memberID':this['_session'][_0x5d0f58(0x25b)](),'selection':_0x29940a(_0x1dee2a)}};this['_session'][_0x5d0f58(0x1da)](_0x1361ce,this[_0x5d0f58(0x2b6)]);},_0xfb2bf)),(this['unitID']=_0x283c67,this[_0x2dd0cc(0x235)]=_0x35b6ca,this[_0x2dd0cc(0x116)]=_0x3c8385,this[_0x2dd0cc(0x301)]=_0x4fa244,this['_memberService']=_0x2c5a51,this[_0x2dd0cc(0x31f)]=_0x553bc8,this[_0x2dd0cc(0x271)]=_0x354a81,this[_0x2dd0cc(0x1e2)]=_0x5cd041,this['_commandService']=_0x30a186);}get['cursorInfo'](){const _0xe613a0=_0x3e20bb;return this[_0xe613a0(0x1f1)]['getValue']();}get['roomMembers'](){const _0x53f91e=_0x3e20bb;return this['_roomMembers$'][_0x53f91e(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0x451356=_0x3e20bb;super[_0x451356(0x17a)](),this[_0x451356(0x1f1)][_0x451356(0x148)](new Map()),this[_0x451356(0x1f1)][_0x451356(0x24c)](),this[_0x451356(0x194)][_0x451356(0x148)]([]),this[_0x451356(0x194)][_0x451356(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x10d7fa=_0x3e20bb;this[_0x10d7fa(0x362)]||(this[_0x10d7fa(0x362)]=!0x0,this[_0x10d7fa(0x235)][_0x10d7fa(0x17b)]['pipe'](_0x12fec3['takeUntil'](this[_0x10d7fa(0x1e1)]))['subscribe'](_0x401f87=>{const _0x36db83=_0x10d7fa;_0x401f87===_0x14cc37[_0x36db83(0x2dd)][_0x36db83(0x281)]?this[_0x36db83(0x31b)]():this[_0x36db83(0x285)]();}),this[_0x10d7fa(0x235)][_0x10d7fa(0x201)][_0x10d7fa(0x1ff)](_0x12fec3[_0x10d7fa(0x28c)](this[_0x10d7fa(0x1e1)]))[_0x10d7fa(0x1be)](_0x4ce6a0=>{const _0x4280e5=_0x10d7fa,_0x3d5bcd=_0x4ce6a0['eventID'];_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x173)]&&this[_0x4280e5(0x159)](_0x4ce6a0),_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x208)]&&this[_0x4280e5(0x26b)](_0x4ce6a0);}),this['disposeWithMe'](this['_commandService'][_0x10d7fa(0x2ea)](_0x279c4d=>{const _0x4f5804=_0x10d7fa,_0x5c3d24=_0x279c4d[_0x4f5804(0x23b)];_0x5c3d24!=null&&this['_online']&&_0x279c4d['id']===_0x31d980[_0x4f5804(0x176)]['id']&&_0x5c3d24[_0x4f5804(0x15f)]===this[_0x4f5804(0x2b6)]&&_0x5c3d24[_0x4f5804(0x2b7)]===!0x1&&_0x5c3d24[_0x4f5804(0x246)][_0x4f5804(0x230)]>0x0&&this[_0x4f5804(0x2e5)](_0x5c3d24[_0x4f5804(0x246)]);})),this['_syncEditingCollabCursorService'][_0x10d7fa(0x10d)][_0x10d7fa(0x1ff)](_0x12fec3['takeUntil'](this['dispose$']))[_0x10d7fa(0x1be)](_0xa5dce5=>{const _0x31bbb0=_0x10d7fa;if((_0xa5dce5==null?void 0x0:_0xa5dce5['unitID'])!==this[_0x31bbb0(0x2b6)])return;const _0xb26631={'eventID':_0x16f706['CollaborationEvent'][_0x31bbb0(0x173)],'data':_0xa5dce5};this['_onCursorUpdate'](_0xb26631);}),this[_0x10d7fa(0x215)](this[_0x10d7fa(0xec)][_0x10d7fa(0x2ea)](_0x169892=>{const _0x4b806c=_0x10d7fa;if(_0x169892['params']==null)return;const _0x25c00f=_0x169892[_0x4b806c(0x23b)];if(_0x169892['id']!==_0x31d980[_0x4b806c(0x174)]['id']||_0x25c00f[_0x4b806c(0x15f)]!==this[_0x4b806c(0x2b6)])return;const _0xf7156={'id':_0x4b806c(0x2c8),'params':_0x25c00f},_0x21c0d1=this[_0x4b806c(0x1f2)];for(const [_0x40ad43,_0x158e6b]of _0x21c0d1){const _0x17d6c0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x158e6b[_0x4b806c(0x246)]}},_0x247cdb=this[_0x4b806c(0x271)][_0x4b806c(0x24b)](_0xf7156,_0x17d6c0,!0x1);if(_0x16f706[_0x4b806c(0x2b8)](_0x247cdb))throw _0x247cdb['error'];_0x21c0d1['set'](_0x40ad43,{..._0x158e6b,'ranges':_0x247cdb[_0x4b806c(0x2e2)][_0x4b806c(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x507f2b=_0x4b806c;this[_0x507f2b(0x1f1)][_0x507f2b(0x148)](_0x21c0d1);});})));}['_onCursorUpdate'](_0x141c04){const _0x22231d=_0x3e20bb;var _0x37752f,_0x4041ae;const {memberID:_0x1fa24a,selection:_0x381f01}=_0x141c04[_0x22231d(0x214)],_0x34caa5=_0x154183(_0x381f01),_0xa055f6=(_0x4041ae=(_0x37752f=this[_0x22231d(0x319)]['getMember'](this[_0x22231d(0x2b6)],_0x1fa24a))==null?void 0x0:_0x37752f[_0x22231d(0x2c6)])!=null?_0x4041ae:_0x22231d(0x1cd),_0x2a9ba5={'color':this[_0x22231d(0x301)][_0x22231d(0x1d2)](_0x1fa24a),'name':_0xa055f6,'ranges':_0x34caa5},_0x411f23=this['cursorInfo'];_0x411f23[_0x22231d(0x256)](_0x1fa24a,_0x2a9ba5),this[_0x22231d(0x1f1)][_0x22231d(0x148)](_0x411f23);}[_0x3e20bb(0x26b)](_0x2b0393){const _0xbf206a=_0x3e20bb,{memberID:_0x46c890}=_0x2b0393['data'],_0x22a683=this[_0xbf206a(0x1f2)];_0x22a683['delete'](_0x46c890),this[_0xbf206a(0x1f1)]['next'](_0x22a683);}[_0x3e20bb(0x31b)](){const _0x3f57f3=_0x3e20bb;var _0x25c486;if(this[_0x3f57f3(0x110)]=!0x0,((_0x25c486=this[_0x3f57f3(0x1e2)][_0x3f57f3(0x170)]())==null?void 0x0:_0x25c486['getUnitId']())!==this['unitID'])return;const _0xd5679f=this['_injector'][_0x3f57f3(0x1d7)](_0x31d980[_0x3f57f3(0x114)])[_0x3f57f3(0x112)]();Array[_0x3f57f3(0x242)](_0xd5679f)&&_0xd5679f[_0x3f57f3(0x230)]>0x0&&this[_0x3f57f3(0x2e5)](_0xd5679f);}[_0x3e20bb(0x285)](){const _0xe0c81e=_0x3e20bb;this[_0xe0c81e(0x110)]=!0x1;}};_0x2da733=_0x2d45c4([_0x108360(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x108360(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x108360(0x4,_0x233149['Inject'](_0x14cc37[_0x3e20bb(0x366)])),_0x108360(0x5,_0x233149['Inject'](_0x573383)),_0x108360(0x6,_0x16f706['ITransformService']),_0x108360(0x7,_0x233149[_0x3e20bb(0x371)]),_0x108360(0x8,_0x233149['ICommandService'])],_0x2da733);var _0x2e19dd=Object['getOwnPropertyDescriptor'],_0x331924=(_0x3c500b,_0x217205,_0x37e164,_0x1e230d)=>{const _0x568355=_0x3e20bb;for(var _0x4ede28=_0x1e230d>0x1?void 0x0:_0x1e230d?_0x2e19dd(_0x217205,_0x37e164):_0x217205,_0x57eb7e=_0x3c500b[_0x568355(0x230)]-0x1,_0x331100;_0x57eb7e>=0x0;_0x57eb7e--)(_0x331100=_0x3c500b[_0x57eb7e])&&(_0x4ede28=_0x331100(_0x4ede28)||_0x4ede28);return _0x4ede28;},_0x470f34=(_0x4cbe8c,_0xd5c620)=>(_0x56f4b5,_0x5f0a62)=>_0xd5c620(_0x56f4b5,_0x5f0a62,_0x4cbe8c);const _0x396a68=0x12c,_0x365bd6=0x64,_0x36ef6b=()=>{let _0x40bda3=[],_0x4b521e=!0x1;return _0x1030a7=>{_0x40bda3['push'](_0x1030a7),_0x4b521e||(_0x4b521e=!0x0,setTimeout(()=>{const _0x2f9980=_0x31db;_0x40bda3[_0x2f9980(0x27f)](_0x288056=>_0x288056()),_0x40bda3=[],_0x4b521e=!0x1;}));};};let _0x29051=class extends _0x233149['RxDisposable']{constructor(_0x2bf1b9,_0x34d65a,_0x54180f,_0x5c876d,_0x24d5b7,_0x65b49e,_0x55e0c8,_0x21ec8e){const _0x5bf799=_0x3e20bb;super(),_0x18ecd9(this,'_online',!0x1),_0x18ecd9(this,_0x5bf799(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x5bf799(0x33e))](new Map())),_0x18ecd9(this,_0x5bf799(0x2df),this[_0x5bf799(0x1f1)][_0x5bf799(0x188)]()),_0x18ecd9(this,_0x5bf799(0x194),new _0x12fec3['BehaviorSubject']([])),_0x18ecd9(this,_0x5bf799(0x365),this[_0x5bf799(0x194)][_0x5bf799(0x1ff)](_0x12fec3[_0x5bf799(0x144)](_0x396a68))),_0x18ecd9(this,'_updateLocalCursor',_0x233149['debounce']((_0xa1e172,_0x4282dc)=>{const _0x4a683d=_0x5bf799,_0x3ce4b4={'eventID':_0x16f706['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x4a683d(0x2b6)],'memberID':this[_0x4a683d(0x235)][_0x4a683d(0x25b)](),'selection':_0x1df0d9[_0x4a683d(0x2d2)](_0xa1e172,_0x4282dc[_0x4a683d(0x19b)])}};this['_session']['send'](_0x3ce4b4,this[_0x4a683d(0x2b6)]);},_0x365bd6)),(this[_0x5bf799(0x2b6)]=_0x2bf1b9,this['_session']=_0x34d65a,this[_0x5bf799(0x116)]=_0x54180f,this[_0x5bf799(0x301)]=_0x5c876d,this[_0x5bf799(0x319)]=_0x24d5b7,this[_0x5bf799(0x1e2)]=_0x65b49e,this['_commandService']=_0x55e0c8,this[_0x5bf799(0x349)]=_0x21ec8e);}get['cursorInfo'](){const _0x34fcaf=_0x3e20bb;return this[_0x34fcaf(0x1f1)]['getValue']();}get[_0x3e20bb(0x2c9)](){const _0xee2f28=_0x3e20bb;return this[_0xee2f28(0x194)][_0xee2f28(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0xca7f28=_0x3e20bb;super['dispose'](),this[_0xca7f28(0x1f1)][_0xca7f28(0x148)](new Map()),this[_0xca7f28(0x1f1)][_0xca7f28(0x24c)](),this[_0xca7f28(0x194)][_0xca7f28(0x148)]([]),this[_0xca7f28(0x194)][_0xca7f28(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x31e29b=_0x3e20bb;this[_0x31e29b(0x362)]||(this[_0x31e29b(0x362)]=!0x0,this['_session'][_0x31e29b(0x17b)][_0x31e29b(0x1ff)](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x3113d4=>{const _0x2a61c8=_0x31e29b;_0x3113d4===_0x14cc37[_0x2a61c8(0x2dd)][_0x2a61c8(0x281)]?this['_toggleOnline']():this[_0x2a61c8(0x285)]();}),this[_0x31e29b(0x235)][_0x31e29b(0x201)]['pipe'](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x450302=>{const _0x2f0d97=_0x31e29b,_0x4c93d0=_0x450302[_0x2f0d97(0x2ad)];_0x4c93d0===_0x16f706[_0x2f0d97(0x290)]['UPDATE_CURSOR']&&this[_0x2f0d97(0x159)](_0x450302),_0x4c93d0===_0x16f706['CollaborationEvent']['USERS_LEAVE']&&this[_0x2f0d97(0x26b)](_0x450302);}),this[_0x31e29b(0x25a)](),this[_0x31e29b(0x215)](this[_0x31e29b(0xec)][_0x31e29b(0x2ea)](_0xf6578c=>{const _0x3736f4=_0x31e29b;if(this[_0x3736f4(0x110)]&&_0xf6578c['id']===_0x21b9bf[_0x3736f4(0x21e)]['id']&&_0xf6578c[_0x3736f4(0x23b)][_0x3736f4(0x15f)]===this[_0x3736f4(0x2b6)]){const _0x1c7346=_0xf6578c[_0x3736f4(0x23b)];this[_0x3736f4(0x2e5)](_0x1c7346['subUnitId'],_0x1c7346['selections'][0x0]);}})));}[_0x3e20bb(0x159)](_0x3c13bf){const _0xf1c010=_0x3e20bb;var _0x4a3a0b,_0x5488a3;const {memberID:_0x20c82c,selection:_0x173efb}=_0x3c13bf[_0xf1c010(0x214)],{sheetName:_0x5f01d4,range:_0x134e3b}=_0x1df0d9[_0xf1c010(0x19e)](_0x173efb),_0x335a2d={'name':(_0x5488a3=(_0x4a3a0b=this[_0xf1c010(0x319)][_0xf1c010(0x131)](this[_0xf1c010(0x2b6)],_0x20c82c))==null?void 0x0:_0x4a3a0b[_0xf1c010(0x2c6)])!=null?_0x5488a3:_0xf1c010(0x1cd),'range':this[_0xf1c010(0x34b)](_0x5f01d4,_0x134e3b),'sheetID':_0x5f01d4,'color':this['_colorAssignService'][_0xf1c010(0x1d2)](_0x20c82c),'selection':_0x173efb},_0x5e1e50=this[_0xf1c010(0x1f2)];_0x5e1e50[_0xf1c010(0x256)](_0x20c82c,_0x335a2d),this['_cursorInfo$'][_0xf1c010(0x148)](_0x5e1e50);}['_onCursorDelete'](_0x27dd01){const _0x526fdc=_0x3e20bb,{memberID:_0x40716f}=_0x27dd01[_0x526fdc(0x214)],_0x3c7bf2=this['cursorInfo'];_0x3c7bf2[_0x526fdc(0x2e4)](_0x40716f),this[_0x526fdc(0x1f1)][_0x526fdc(0x148)](_0x3c7bf2);}[_0x3e20bb(0x34b)](_0x330813,_0x4865d8){const _0x49e966=_0x3e20bb;var _0x4ebc61,_0x3a6071;const _0x56b22d=(_0x3a6071=(_0x4ebc61=this[_0x49e966(0x1e2)]['getUniverSheetInstance'](this[_0x49e966(0x2b6)]))==null?void 0x0:_0x4ebc61['getSheetBySheetId'](_0x330813))==null?void 0x0:_0x3a6071[_0x49e966(0x1e0)]();return(_0x56b22d==null?void 0x0:_0x56b22d[_0x49e966(0x2a3)](_0x4810de=>_0x233149[_0x49e966(0x261)][_0x49e966(0x347)](_0x4810de,_0x4865d8)))||_0x4865d8;}[_0x3e20bb(0x25a)](){const _0x2e26b2=_0x3e20bb,_0x3e7d19=new _0x233149[(_0x2e26b2(0x146))](),_0x21d5bc=_0x36ef6b(),_0x3b1a4d=()=>{const _0x28a8d6=_0x2e26b2;_0x3e7d19[_0x28a8d6(0x17a)]();const _0x550944=(_0x105487,_0x5dff11,_0x1a180b,_0x2e899a)=>{const _0x5c965f=_0x28a8d6;let _0x4e430f=[];switch(_0x105487['id']){case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2bf)]:{_0x4e430f=_0x21b9bf['handleDeleteRangeMoveLeft'](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x1eb)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x193)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2f7)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x20b)](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x307)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x192)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2cf)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x28a)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x21f)]:{_0x4e430f=_0x21b9bf['handleInsertRow'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x155)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x181)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x14f)]:{_0x4e430f=_0x21b9bf['handleIRemoveCol'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x225)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x127)](_0x105487,_0x2e899a);break;}}const _0xa429da=_0x21b9bf[_0x5c965f(0x11b)](_0x4e430f,_0x2e899a),_0x19187c=this['cursorInfo'][_0x5c965f(0x1d7)](_0x5dff11);if(_0x19187c&&_0xa429da){const _0x39cf7b={..._0x19187c,'range':_0xa429da};this['cursorInfo']['set'](_0x5dff11,_0x39cf7b),_0x21d5bc(()=>{const _0x2827ac=_0x5c965f,_0x59c4f4=this['_refRangeService'][_0x2827ac(0x276)](_0xa429da,_0x45182f=>(_0x59c4f4[_0x2827ac(0x17a)](),_0x550944(_0x45182f,_0x5dff11,_0x1a180b,_0xa429da)));_0x3e7d19[_0x2827ac(0x265)](_0x59c4f4);});}return{'redos':[],'undos':[]};};this[_0x28a8d6(0x1f2)][_0x28a8d6(0x27f)]((_0x4840f3,_0x2732b3)=>{const _0x57228a=_0x28a8d6,{range:_0x55e9b3,sheetID:_0x3d4074}=_0x4840f3,_0x24dee9=this[_0x57228a(0x349)][_0x57228a(0x276)](_0x55e9b3,_0x3e17db=>(_0x24dee9['dispose'](),_0x550944(_0x3e17db,_0x2732b3,_0x3d4074,_0x55e9b3)));_0x3e7d19[_0x57228a(0x265)](_0x24dee9);});};this[_0x2e26b2(0x215)](_0x233149[_0x2e26b2(0x103)](this[_0x2e26b2(0x1f1)]['subscribe'](()=>{_0x3b1a4d();})));}[_0x3e20bb(0x31b)](){const _0x8dc629=_0x3e20bb;var _0x53b2d7,_0x3abb80;if(this[_0x8dc629(0x110)]=!0x0,((_0x53b2d7=this[_0x8dc629(0x1e2)][_0x8dc629(0x170)]())==null?void 0x0:_0x53b2d7[_0x8dc629(0x11d)]())!==this['unitID'])return;const _0x50de8c=(_0x3abb80=this[_0x8dc629(0x116)]['get'](_0x21b9bf[_0x8dc629(0x1c9)])[_0x8dc629(0x1ae)]())==null?void 0x0:_0x3abb80[0x0],_0x5dbf51=this[_0x8dc629(0x1e2)]['getCurrentUnitForType'](_0x233149[_0x8dc629(0x38b)][_0x8dc629(0x2f1)])[_0x8dc629(0x175)]();_0x50de8c&&_0x5dbf51&&this[_0x8dc629(0x2e5)](_0x5dbf51[_0x8dc629(0x331)](),_0x50de8c);}['_toggleOffline'](){const _0x4752ad=_0x3e20bb;this[_0x4752ad(0x110)]=!0x1;}};_0x29051=_0x331924([_0x470f34(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x470f34(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x470f34(0x4,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x366)])),_0x470f34(0x5,_0x233149[_0x3e20bb(0x371)]),_0x470f34(0x6,_0x233149[_0x3e20bb(0x37b)]),_0x470f34(0x7,_0x233149[_0x3e20bb(0x20f)](_0x21b9bf['RefRangeService']))],_0x29051);var _0x2a095a=Object[_0x3e20bb(0x18a)],_0x5d24e5=(_0x3d5cca,_0x1ef3bf,_0x869ade,_0x3eaf15)=>{const _0x24b0e0=_0x3e20bb;for(var _0xf0a1dc=_0x3eaf15>0x1?void 0x0:_0x3eaf15?_0x2a095a(_0x1ef3bf,_0x869ade):_0x1ef3bf,_0xa1f8fe=_0x3d5cca[_0x24b0e0(0x230)]-0x1,_0x3b15ae;_0xa1f8fe>=0x0;_0xa1f8fe--)(_0x3b15ae=_0x3d5cca[_0xa1f8fe])&&(_0xf0a1dc=_0x3b15ae(_0xf0a1dc)||_0xf0a1dc);return _0xf0a1dc;},_0x5353b1=(_0x2d54bb,_0x51e532)=>(_0x3c928f,_0x3ef198)=>_0x51e532(_0x3c928f,_0x3ef198,_0x2d54bb);let _0x221bad=class extends _0x233149['RxDisposable']{constructor(_0x3be1b6,_0x2a19eb,_0x20b8fb){const _0x8af46=_0x3e20bb;super(),_0x18ecd9(this,_0x8af46(0x12d),new Map()),_0x18ecd9(this,_0x8af46(0x154),new _0x12fec3[(_0x8af46(0x198))]()),(this[_0x8af46(0x1e2)]=_0x3be1b6,this[_0x8af46(0x116)]=_0x2a19eb,this[_0x8af46(0x306)]=_0x20b8fb,this[_0x8af46(0x362)]());}[_0x3e20bb(0x17a)](){const _0x5869f0=_0x3e20bb;super[_0x5869f0(0x17a)](),this['_entityInit$'][_0x5869f0(0x24c)](),this[_0x5869f0(0x12d)][_0x5869f0(0x27f)](_0x3cdd92=>_0x3cdd92[_0x5869f0(0x17a)]());}[_0x3e20bb(0x106)](_0x1ff441){const _0x2fc853=_0x3e20bb;return this[_0x2fc853(0x12d)][_0x2fc853(0x1b0)](_0x1ff441)?this[_0x2fc853(0x12d)][_0x2fc853(0x1d7)](_0x1ff441)[_0x2fc853(0x2df)]:this[_0x2fc853(0x154)][_0x2fc853(0x1ff)](_0x12fec3[_0x2fc853(0x26c)](_0x2920b8=>_0x2920b8[_0x2fc853(0x2b6)]===_0x1ff441),_0x12fec3['switchMap'](_0x38b525=>_0x38b525[_0x2fc853(0x2df)]));}[_0x3e20bb(0x362)](){const _0x21af4c=_0x3e20bb;this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)])[_0x21af4c(0x1ff)](_0x12fec3[_0x21af4c(0x28c)](this['dispose$']))[_0x21af4c(0x1be)](async _0x67969e=>{const _0x53e125=_0x21af4c,_0x3c32ed=_0x67969e[_0x53e125(0x11d)](),_0x1cd55c=await this[_0x53e125(0x187)](_0x3c32ed);this[_0x53e125(0x154)]['next'](_0x1cd55c),this[_0x53e125(0x12d)]['set'](_0x3c32ed,_0x1cd55c);}),this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)])[_0x21af4c(0x1ff)](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['pipe'](_0x12fec3['filter'](_0x3eba12=>!_0x3eba12['getUnitId']()[_0x21af4c(0x20d)]('__')))[_0x21af4c(0x1be)](async _0x265abc=>{const _0x153a69=_0x21af4c,_0x5d2543=_0x265abc[_0x153a69(0x11d)](),_0x460da0=await this[_0x153a69(0x25e)](_0x5d2543);this[_0x153a69(0x154)][_0x153a69(0x148)](_0x460da0),this['_entities']['set'](_0x5d2543,_0x460da0);}),_0x12fec3[_0x21af4c(0x161)](this[_0x21af4c(0x1e2)]['getTypeOfUnitDisposed$'](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)]),this[_0x21af4c(0x1e2)][_0x21af4c(0x308)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)]))['pipe'](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['subscribe'](_0x20af7b=>{const _0x27cbcd=_0x21af4c,_0x1c8c86=_0x20af7b['getUnitId'](),_0x12b606=this['_entities'][_0x27cbcd(0x1d7)](_0x1c8c86);_0x12b606&&(_0x12b606[_0x27cbcd(0x17a)](),this['_entities'][_0x27cbcd(0x2e4)](_0x1c8c86));});}async[_0x3e20bb(0x187)](_0x56d930){const _0x2c8d70=_0x3e20bb,_0x5bdd78=await this[_0x2c8d70(0x306)][_0x2c8d70(0x200)](_0x56d930),_0x4f80dc=this['_injector'][_0x2c8d70(0x221)](_0x29051,_0x56d930,_0x5bdd78);return _0x4f80dc['init'](),_0x4f80dc;}async[_0x3e20bb(0x25e)](_0x1b712e){const _0x3cbc84=_0x3e20bb,_0x20b7d6=await this[_0x3cbc84(0x306)][_0x3cbc84(0x200)](_0x1b712e),_0x9a814a=this[_0x3cbc84(0x116)][_0x3cbc84(0x221)](_0x2da733,_0x1b712e,_0x20b7d6);return _0x9a814a[_0x3cbc84(0x14d)](),_0x9a814a;}};_0x221bad=_0x5d24e5([_0x5353b1(0x0,_0x233149[_0x3e20bb(0x371)]),_0x5353b1(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5353b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x377)]))],_0x221bad);const _0x17f2f0=0x14,_0x3f9796=0xc8,_0x34f942=0x4,_0x50e9a2=0x5;function _0x2bf7ca(_0x46ed8d,_0xddb40e){const _0x20a5b8=_0x3e20bb;let {radius:_0x174c9c,width:_0x347899,height:_0x2c93c9}=_0xddb40e;_0x174c9c=_0x174c9c!=null?_0x174c9c:0x0,_0x347899=_0x347899!=null?_0x347899:0x1e,_0x2c93c9=_0x2c93c9!=null?_0x2c93c9:0x1e;let _0x497401=0x0,_0x551130=0x0,_0x352bdc=0x0;_0x497401=_0x551130=_0x352bdc=Math['min'](_0x174c9c,_0x347899/0x2,_0x2c93c9/0x2),_0x46ed8d[_0x20a5b8(0x1ad)](),_0x46ed8d['moveTo'](_0x497401,0x0),_0x46ed8d[_0x20a5b8(0x124)](_0x347899-_0x551130,0x0),_0x46ed8d['arc'](_0x347899-_0x551130,_0x551130,_0x551130,Math['PI']*0x3/0x2,0x0,!0x1),_0x46ed8d[_0x20a5b8(0x124)](_0x347899,_0x2c93c9-_0x352bdc),_0x46ed8d['arc'](_0x347899-_0x352bdc,_0x2c93c9-_0x352bdc,_0x352bdc,0x0,Math['PI']/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x124)](0x0,_0x2c93c9),_0x46ed8d['lineTo'](0x0,_0x497401),_0x46ed8d['arc'](_0x497401,_0x497401,_0x497401,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x1a7)](),_0xddb40e['fill']&&(_0x46ed8d[_0x20a5b8(0x35f)](),_0x46ed8d[_0x20a5b8(0x316)]=_0xddb40e['fill'],_0xddb40e[_0x20a5b8(0x219)]===_0x20a5b8(0x22c)?_0x46ed8d[_0x20a5b8(0x207)]('evenodd'):_0x46ed8d[_0x20a5b8(0x207)](),_0x46ed8d['restore']());}class _0x43793b extends _0x5ee778[_0x3e20bb(0x1fe)]{constructor(_0x452243,_0x5813da){const _0x584e2c=_0x3e20bb;super(_0x452243,_0x5813da),_0x18ecd9(this,'color'),_0x18ecd9(this,_0x584e2c(0x202)),(this['color']=_0x5813da==null?void 0x0:_0x5813da['color'],this[_0x584e2c(0x202)]=_0x5813da==null?void 0x0:_0x5813da[_0x584e2c(0x202)]);}static['drawWith'](_0x5c5291,_0x1511d0){const _0x3098f9=_0x3e20bb,{text:_0xb29c6d,color:_0x11f56e}=_0x1511d0;_0x5c5291['save'](),_0x5c5291[_0x3098f9(0x327)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x382022=_0x5c5291[_0x3098f9(0x318)](_0xb29c6d)[_0x3098f9(0x381)],_0xf18259=Math[_0x3098f9(0x300)](_0x382022+0x2*_0x34f942,_0x3f9796);_0x2bf7ca(_0x5c5291,{'height':_0x17f2f0,'radius':0x4,'width':_0xf18259,'fill':_0x11f56e}),_0x5c5291[_0x3098f9(0x316)]=_0x3098f9(0x19d);const _0xf76f1f=_0x34f942,_0x1b1a89=_0x17f2f0-_0x50e9a2,_0x4771c0=_0x3f9796-0x2*_0x34f942;if(_0x382022>_0x4771c0){let _0x5cf794='',_0x4e8670=0x0;for(const _0x57ee9f of _0xb29c6d){const _0x50588c=_0x5c5291['measureText'](_0x57ee9f)[_0x3098f9(0x381)];if(_0x4e8670+_0x50588c<=_0x4771c0-_0x5c5291[_0x3098f9(0x318)]('...')['width'])_0x5cf794+=_0x57ee9f,_0x4e8670+=_0x50588c;else{_0x5cf794+=_0x3098f9(0x222);break;}}_0x5c5291[_0x3098f9(0x27c)](_0x5cf794,_0xf76f1f,_0x1b1a89);}else _0x5c5291[_0x3098f9(0x27c)](_0xb29c6d,_0xf76f1f,_0x1b1a89);_0x5c5291[_0x3098f9(0x139)]();}[_0x3e20bb(0x292)](_0x3d9672){const _0x5efd07=_0x3e20bb;_0x43793b[_0x5efd07(0x280)](_0x3d9672,this);}}const _0x81696a='collab-text-anchor-',_0x5b31fc=_0x3e20bb(0x21d),_0x4f7ed6=_0x3e20bb(0x147),_0x15725b=0x6,_0x5aad7a=1.5,_0x25a9c8=0x4,_0x3ddfab=1.5,_0x4c5a74=_0x3e20bb(0x30a);class _0x40ca3c{constructor(_0x44f0a7,_0x5741cb,_0x55fe31,_0x3a0739){const _0x16e44e=_0x3e20bb;_0x18ecd9(this,_0x16e44e(0x218),[]),_0x18ecd9(this,_0x16e44e(0x128),null),_0x18ecd9(this,_0x16e44e(0x2ee),null),_0x18ecd9(this,_0x16e44e(0x1fc),null),_0x18ecd9(this,_0x16e44e(0x1b1),null),_0x18ecd9(this,'_eventUnsubscribe',null),(this[_0x16e44e(0x35b)]=_0x44f0a7,this[_0x16e44e(0x341)]=_0x5741cb,this[_0x16e44e(0x2fa)]=_0x55fe31,this[_0x16e44e(0x2b1)]=_0x3a0739,this[_0x16e44e(0xed)]());}set[_0x3e20bb(0xf8)](_0x9e30aa){const _0x3f0e55=_0x3e20bb;_0x9e30aa?(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x262)](),this[_0x3f0e55(0x2ee)]&&this['_textBubble'][_0x3f0e55(0x1ab)]()):(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x1ab)](),this['_textBubble']&&this[_0x3f0e55(0x2ee)][_0x3f0e55(0x262)]());}[_0x3e20bb(0x17a)](){const _0x49bf0a=_0x3e20bb;for(const _0x3ad9ea of this['_shapes'])_0x3ad9ea[_0x49bf0a(0x17a)]();this[_0x49bf0a(0x2ee)]&&this[_0x49bf0a(0x2ee)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x1fc)]&&this[_0x49bf0a(0x1fc)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x128)]&&this[_0x49bf0a(0x128)][_0x49bf0a(0x17a)](),this['_eventUnsubscribe']&&this[_0x49bf0a(0x134)]();}[_0x3e20bb(0xed)](){const _0x554a66=_0x3e20bb;var _0x4144c7;const {_docSkeleton:_0x1cc711,_document:_0x12b793}=this,{color:_0x5715e4,name:_0x44832d,ranges:_0x1dac6f}=this[_0x554a66(0x35b)],_0x1b8254=_0x12b793[_0x554a66(0x22b)](),{docsLeft:_0x4d68a2,docsTop:_0x12b542}=_0x1b8254,_0x2812a2=new _0x35cd67[(_0x554a66(0x232))](_0x1b8254,_0x1cc711);for(const {startOffset:_0x1d2d7b,endOffset:_0x4d2390,rangeType:_0x2f3d9f,segmentId:_0x5ac905,segmentPage:_0x48d5b5,collapsed:_0x58c112,isActive:_0xdd3c0f}of _0x1dac6f){const _0x2186e8=_0x1cc711[_0x554a66(0x373)](_0x1d2d7b,!0x0,_0x5ac905,_0x48d5b5);let _0x46b827=_0x1cc711['findNodePositionByCharIndex'](_0x4d2390,!0x0,_0x5ac905,_0x48d5b5);if(_0x46b827==null&&(_0x46b827=_0x1cc711[_0x554a66(0x373)](_0x4d2390-0x1,!0x1,_0x5ac905,_0x48d5b5)),_0xdd3c0f){const {contentBoxPointGroup:_0x15d388}=_0x2812a2['getRangePointData'](_0x46b827,_0x46b827);if(_0x15d388[_0x554a66(0x230)]===0x0)continue;this['_drawAnchor'](_0x5715e4,_0x15d388,_0x4d68a2,_0x12b542,_0x44832d),this[_0x554a66(0x134)]=this[_0x554a66(0x2a5)]();}if(_0x2186e8&&_0x46b827){if(_0x2f3d9f===_0x233149[_0x554a66(0x102)][_0x554a66(0x245)]){const _0x38fa48=new _0x35cd67[(_0x554a66(0x348))](_0x1b8254,_0x1cc711),{pointGroup:_0x4620d5}=(_0x4144c7=_0x38fa48[_0x554a66(0x2bd)](_0x2186e8,_0x46b827))!=null?_0x4144c7:{};if(_0x4620d5==null||_0x4620d5[_0x554a66(0x230)]===0x0)continue;this[_0x554a66(0x109)](_0x5715e4,_0x4620d5,_0x4d68a2,_0x12b542);}else{if(!_0x58c112){const {borderBoxPointGroup:_0x2481b1}=_0x2812a2['getRangePointData'](_0x2186e8,_0x46b827);if(_0x2481b1['length']===0x0)continue;this[_0x554a66(0x2e0)](_0x5715e4,_0x2481b1,_0x4d68a2,_0x12b542);}}}}}[_0x3e20bb(0xf0)](_0x49d3ad,_0x4da1ee,_0x131f91,_0x31a3cc,_0x483a0e){const _0x462824=_0x3e20bb,_0x4770bc=this[_0x462824(0x385)](_0x4da1ee),{left:_0x1822bb,top:_0x3a1517,height:_0x205aa5}=_0x4770bc,_0x118bd7=this[_0x462824(0x30d)](),_0x166979=_0x3ddfab/_0x118bd7,_0x1fbaed=new _0x5ee778['Rect'](_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc,'height':_0x205aa5,'width':_0x5aad7a,'fill':_0x49d3ad||_0x5ee778['getColor'](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':_0x166979,'stroke':_0x4c5a74,'evented':!0x0});this[_0x462824(0x128)]=_0x1fbaed,this['_scene'][_0x462824(0x1dd)](_0x1fbaed,_0x35cd67[_0x462824(0x180)]);const _0x5d9ef6=new _0x5ee778[(_0x462824(0x1e5))](_0x81696a+_0x233149['generateRandomId'](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x25a9c8/0x2,'height':_0x25a9c8,'width':_0x25a9c8,'fill':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':0x0,'stroke':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'evented':!0x1});this[_0x462824(0x1fc)]=_0x5d9ef6,this[_0x462824(0x341)][_0x462824(0x1dd)](_0x5d9ef6,_0x35cd67['TEXT_RANGE_LAYER_INDEX']);const _0x238962=new _0x43793b(_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x17f2f0,'text':_0x483a0e,'color':_0x49d3ad});this[_0x462824(0x2ee)]=_0x238962,this['_scene']['addObject'](_0x238962,_0x35cd67[_0x462824(0x180)]),this[_0x462824(0xf8)]=!0x1;}[_0x3e20bb(0x2a5)](){const _0x2efbed=_0x3e20bb,_0x32defb=this[_0x2efbed(0x128)][_0x2efbed(0x33b)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x35d051=this[_0x2efbed(0x128)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x372ca2=_0x2efbed;this[_0x372ca2(0x1b1)]&&clearTimeout(this[_0x372ca2(0x1b1)]),this[_0x372ca2(0x1b1)]=setTimeout(()=>{const _0x2ca0e8=_0x372ca2;this[_0x2ca0e8(0xf8)]=!0x1;},0x7d0);});return()=>{const _0x3c5ca0=_0x2efbed;_0x32defb[_0x3c5ca0(0x357)](),_0x35d051[_0x3c5ca0(0x357)]();};}[_0x3e20bb(0x2e0)](_0x4d2bb4,_0x159b7c,_0x3fca66,_0x3b3a14){const _0xf540bf=_0x3e20bb,_0x39f233=new _0x233149[(_0xf540bf(0x23f))](_0x4d2bb4)['setAlpha'](0.2)[_0xf540bf(0x13f)](),_0x2e72ae=new _0x5ee778[(_0xf540bf(0x1f8))](_0x5b31fc+_0x233149['generateRandomId'](_0x15725b),{'pointsGroup':_0x159b7c,'fill':_0x39f233||_0x5ee778['getColor'](_0x233149['COLORS']['black'],0.2),'left':_0x3fca66,'top':_0x3b3a14,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf540bf(0x1a2)](_0x2e72ae),this['_scene'][_0xf540bf(0x1dd)](_0x2e72ae,_0x35cd67[_0xf540bf(0x180)]);}[_0x3e20bb(0x109)](_0x4a66ca,_0x1b0167,_0x4e68cf,_0xf09205){const _0x307a80=_0x3e20bb,_0x195cc6=new _0x233149[(_0x307a80(0x23f))](_0x4a66ca)[_0x307a80(0x163)](0.2)[_0x307a80(0x13f)](),_0x1dcaa7=new _0x5ee778[(_0x307a80(0x1f8))](_0x4f7ed6+_0x233149[_0x307a80(0x13d)](_0x15725b),{'pointsGroup':_0x1b0167,'fill':_0x195cc6||_0x5ee778[_0x307a80(0x34d)](_0x233149[_0x307a80(0x17c)][_0x307a80(0x1ee)],0.2),'left':_0x4e68cf,'top':_0xf09205,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x307a80(0x1a2)](_0x1dcaa7),this[_0x307a80(0x341)][_0x307a80(0x1dd)](_0x1dcaa7,_0x35cd67[_0x307a80(0x180)]);}[_0x3e20bb(0x385)](_0x1ffe7c){const _0x4e5011=_0x1ffe7c[0x0],_0x5998a5=_0x4e5011[0x0],_0x3e89d6=_0x4e5011[0x2],{x:_0x56e6ee,y:_0x5a1f82}=_0x5998a5,{x:_0x57d936,y:_0x5e8d55}=_0x3e89d6;return{'left':_0x56e6ee,'top':_0x5a1f82,'width':_0x57d936-_0x56e6ee,'height':_0x5e8d55-_0x5a1f82};}[_0x3e20bb(0x30d)](){const {scaleX:_0xfeca74,scaleY:_0x5b78f0}=this['_scene']['getAncestorScale']();return Math['max'](_0xfeca74,_0x5b78f0);}}var _0x192322=Object['getOwnPropertyDescriptor'],_0x218169=(_0x199061,_0x53b2ba,_0x5589b2,_0x4bde0c)=>{const _0x27d726=_0x3e20bb;for(var _0x38092b=_0x4bde0c>0x1?void 0x0:_0x4bde0c?_0x192322(_0x53b2ba,_0x5589b2):_0x53b2ba,_0x4e52e9=_0x199061[_0x27d726(0x230)]-0x1,_0x2d4cb3;_0x4e52e9>=0x0;_0x4e52e9--)(_0x2d4cb3=_0x199061[_0x4e52e9])&&(_0x38092b=_0x2d4cb3(_0x38092b)||_0x38092b);return _0x38092b;},_0x2df0e5=(_0x85529f,_0x41b114)=>(_0x2cae13,_0x1ad55b)=>_0x41b114(_0x2cae13,_0x1ad55b,_0x85529f);let _0x33ecbd=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x2ea58b,_0x287f08,_0x5534ef,_0x598cfb,_0x2b619b){const _0x753f09=_0x3e20bb;super(),_0x18ecd9(this,'_cursorShapes',[]),_0x18ecd9(this,_0x753f09(0x268),[]),(this[_0x753f09(0x38c)]=_0x2ea58b,this['_docSkeletonManagerService']=_0x287f08,this['_collabCursorController']=_0x5534ef,this[_0x753f09(0xec)]=_0x598cfb,this[_0x753f09(0x297)]=_0x2b619b,this[_0x753f09(0x362)]());}[_0x3e20bb(0x362)](){const _0x2ed4e4=_0x3e20bb,_0x26c481=this[_0x2ed4e4(0x38c)][_0x2ed4e4(0x15f)],_0x1c8d7e=this[_0x2ed4e4(0x2dc)];this['disposeWithMe'](_0x12fec3[_0x2ed4e4(0x333)]([this['_collabCursorController'][_0x2ed4e4(0x106)](_0x26c481),this[_0x2ed4e4(0x297)][_0x2ed4e4(0xfb)]])['pipe'](_0x493a5f['map'](([_0x1dea28,_0x58d1b3])=>({'skeleton':_0x1c8d7e[_0x2ed4e4(0x115)](),'cursors':[..._0x1dea28[_0x2ed4e4(0x32e)]()][_0x2ed4e4(0x113)](_0x400af3=>({..._0x400af3,'color':this[_0x2ed4e4(0x297)]['getColorFromTheme'](_0x400af3[_0x2ed4e4(0x168)])}))})))['subscribe'](_0x1d011d=>{const _0x488b57=_0x2ed4e4;if(this[_0x488b57(0x10b)](),_0x1d011d){const {skeleton:_0xeefece,cursors:_0x4fd4ea}=_0x1d011d;this[_0x488b57(0x2cb)](_0xeefece,_0x4fd4ea);}})),this[_0x2ed4e4(0x243)](),this['_initCommandExecutedListener']();}[_0x3e20bb(0x2cb)](_0x5445af,_0x542794){const _0x168b5e=_0x3e20bb,{scene:_0x1a82ba,mainComponent:_0x51c774}=this[_0x168b5e(0x38c)],_0x126d1b=_0x542794[_0x168b5e(0x1d6)](_0x44806b=>new _0x40ca3c(_0x44806b,_0x1a82ba,_0x5445af,_0x51c774));this[_0x168b5e(0x107)]=_0x126d1b,this[_0x168b5e(0x268)]=_0x542794;}['_refreshCollabCursors'](){const _0x2225f1=_0x3e20bb;this[_0x2225f1(0x10b)]();const {scene:_0x5a64cb,mainComponent:_0x1850db}=this[_0x2225f1(0x38c)],_0x456dbe=this[_0x2225f1(0x2dc)]['getSkeleton'](),_0xa2b7d7=this['_cursors'][_0x2225f1(0x1d6)](_0x14fb86=>new _0x40ca3c(_0x14fb86,_0x5a64cb,_0x456dbe,_0x1850db));this[_0x2225f1(0x107)]=_0xa2b7d7;}[_0x3e20bb(0x10b)](){const _0xa17afd=_0x3e20bb;this[_0xa17afd(0x107)][_0xa17afd(0x27f)](_0x2bff92=>_0x2bff92['dispose']()),this[_0xa17afd(0x107)]=[];}['_initCommandExecutedListener'](){const _0x57fde8=_0x3e20bb,_0x99995e=[_0x35cd67[_0x57fde8(0x18e)]['id']];this[_0x57fde8(0x215)](this[_0x57fde8(0xec)][_0x57fde8(0x2ea)](_0x17ad98=>{const _0x456e8f=_0x57fde8;_0x99995e[_0x456e8f(0x267)](_0x17ad98['id'])&&_0x17ad98[_0x456e8f(0x23b)]['unitId']===this[_0x456e8f(0x38c)][_0x456e8f(0x15f)]&&this[_0x456e8f(0x172)]();}));}[_0x3e20bb(0x243)](){const _0x241718=_0x3e20bb;this[_0x241718(0x215)](_0x233149[_0x241718(0x272)](this[_0x241718(0x38c)][_0x241718(0x244)][_0x241718(0x358)])[_0x241718(0x1ff)](_0x493a5f['filter'](_0x4d54f=>_0x4d54f[_0x241718(0x353)]===_0x5ee778[_0x241718(0x284)][_0x241718(0x220)]),_0x493a5f[_0x241718(0x240)](0x10))[_0x241718(0x1be)](()=>{const _0x4a6d4f=_0x241718;this[_0x4a6d4f(0x172)]();}));}};_0x33ecbd=_0x218169([_0x2df0e5(0x1,_0x233149[_0x3e20bb(0x20f)](_0x31d980['DocSkeletonManagerService'])),_0x2df0e5(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x2df0e5(0x3,_0x233149[_0x3e20bb(0x37b)]),_0x2df0e5(0x4,_0x233149[_0x3e20bb(0x20f)](_0x233149['ThemeService']))],_0x33ecbd);const _0x4ee69b=0x1,_0x49aeed=1.5;class _0x3b379f extends _0x5ee778['Shape']{constructor(_0x1dbea5,_0x3308ee){const _0x481fa6=_0x3e20bb;super(_0x1dbea5,_0x3308ee),_0x18ecd9(this,'_color'),_0x18ecd9(this,'_hovered',!0x1),_0x18ecd9(this,'_range'),_0x18ecd9(this,_0x481fa6(0x32f),''),_0x18ecd9(this,_0x481fa6(0x350),_0x481fa6(0x2ed)),_0x18ecd9(this,'_backgroundColor'),(_0x3308ee&&this['setShapeProps'](_0x3308ee),this[_0x481fa6(0x33b)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x0})),this[_0x481fa6(0x15a)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x1})));}[_0x3e20bb(0x186)](_0x5a1fe5){const _0x73baf4=_0x3e20bb;var _0x4be165,_0x4e0dbc,_0x5474fe,_0x46d7a1,_0x5c7d77,_0x4cd220;this['_color']=(_0x4be165=_0x5a1fe5[_0x73baf4(0x168)])!=null?_0x4be165:this[_0x73baf4(0x35e)],this[_0x73baf4(0x369)]=(_0x4e0dbc=_0x5a1fe5[_0x73baf4(0x28e)])!=null?_0x4e0dbc:this['_hovered'],this[_0x73baf4(0x31e)]=(_0x5474fe=_0x5a1fe5[_0x73baf4(0x19b)])!=null?_0x5474fe:this[_0x73baf4(0x31e)],this[_0x73baf4(0x32f)]=(_0x46d7a1=_0x5a1fe5[_0x73baf4(0x2c6)])!=null?_0x46d7a1:this[_0x73baf4(0x32f)],this[_0x73baf4(0x350)]=(_0x5c7d77=_0x5a1fe5[_0x73baf4(0x2be)])!=null?_0x5c7d77:this['_labelPosition'],this['_backgroundColor']=(_0x4cd220=_0x5a1fe5['backgroundColor'])!=null?_0x4cd220:this[_0x73baf4(0x29b)],this['transformByState']({'width':_0x5a1fe5['width'],'height':_0x5a1fe5[_0x73baf4(0x10e)]});}[_0x3e20bb(0x2a6)](_0x581ed9){const _0x23c614=_0x3e20bb,{row:_0x446874,column:_0x4b02c1}=_0x581ed9;if(_0x446874>=this[_0x23c614(0x31e)][_0x23c614(0x359)]&&_0x446874<=this['_range']['endRow']&&_0x4b02c1>=this[_0x23c614(0x31e)]['startColumn']&&_0x4b02c1<=this['_range'][_0x23c614(0x2ff)]){this[_0x23c614(0x186)]({'hovered':!0x0});return;}this[_0x23c614(0x186)]({'hovered':!0x1});}[_0x3e20bb(0x36b)](_0x2d1ed6){return!0x1;}[_0x3e20bb(0x292)](_0x4d4df8){const _0x4dcca4=_0x3e20bb;_0x5ee778[_0x4dcca4(0x1e5)]['drawWith'](_0x4d4df8,{'width':this['width'],'height':this[_0x4dcca4(0x10e)],'strokeWidth':_0x49aeed,'stroke':this[_0x4dcca4(0x35e)],'evented':!0x1,'fill':this[_0x4dcca4(0x29b)]}),this[_0x4dcca4(0x369)]&&(_0x4d4df8[_0x4dcca4(0x35f)](),_0x4d4df8[_0x4dcca4(0x33a)](0x1,0x0,0x0,0x1,this['width'],this[_0x4dcca4(0x350)]==='bottom'?0x0:-_0x17f2f0),_0x43793b['drawWith'](_0x4d4df8,{'text':this[_0x4dcca4(0x32f)],'color':this[_0x4dcca4(0x35e)]}),_0x4d4df8['restore']());}}var _0x2c7ff8=Object[_0x3e20bb(0x18a)],_0x246849=(_0x2a1826,_0x32c17a,_0x3346d3,_0x4f69de)=>{for(var _0x3ac230=_0x4f69de>0x1?void 0x0:_0x4f69de?_0x2c7ff8(_0x32c17a,_0x3346d3):_0x32c17a,_0x2e4f47=_0x2a1826['length']-0x1,_0x383151;_0x2e4f47>=0x0;_0x2e4f47--)(_0x383151=_0x2a1826[_0x2e4f47])&&(_0x3ac230=_0x383151(_0x3ac230)||_0x3ac230);return _0x3ac230;},_0x57920a=(_0x5ab0c7,_0xe0c7e7)=>(_0x4e1afa,_0x1ebee2)=>_0xe0c7e7(_0x4e1afa,_0x1ebee2,_0x5ab0c7);const _0x25c630=0x1389;let _0x1c14f5=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x1c7cfb,_0x17429f,_0x1b7533,_0x3a2961){const _0x2c6f86=_0x3e20bb;super(),_0x18ecd9(this,'_cursors',new Set()),_0x18ecd9(this,'_lastPointer',null),(this[_0x2c6f86(0x38c)]=_0x1c7cfb,this[_0x2c6f86(0x352)]=_0x17429f,this['_collabCursorController']=_0x1b7533,this[_0x2c6f86(0x297)]=_0x3a2961,this['_init']());}[_0x3e20bb(0x362)](){const _0x316117=_0x3e20bb;this['_sheetSkeletonManagerService'][_0x316117(0x31a)]['pipe'](_0x493a5f[_0x316117(0x28c)](this[_0x316117(0x1e1)]),_0x493a5f[_0x316117(0x1b4)](_0x1fb6ee=>{const _0x20848b=_0x316117;if(_0x1fb6ee){const _0x40cecf=_0x1fb6ee[_0x20848b(0x2b2)];return _0x12fec3['combineLatest'](this[_0x20848b(0x150)][_0x20848b(0x106)](this[_0x20848b(0x38c)]['unitId']),this[_0x20848b(0x297)][_0x20848b(0xfb)])[_0x20848b(0x1ff)](_0x493a5f[_0x20848b(0x1d6)](([_0x180b72,_0x35f6aa])=>{const _0x3be043=_0x20848b,_0x2f2a11=new Map();return _0x180b72[_0x3be043(0x27f)]((_0x1c1b87,_0x5e5693)=>{const _0x127418=_0x3be043;if(_0x1c1b87['sheetID']===_0x40cecf){const _0x4dd9e0={..._0x1c1b87};_0x4dd9e0[_0x127418(0x168)]=this[_0x127418(0x297)][_0x127418(0x1aa)](_0x1c1b87[_0x127418(0x168)]),_0x2f2a11[_0x127418(0x256)](_0x5e5693,_0x4dd9e0);}}),{'skeleton':_0x1fb6ee,'cursors':_0x2f2a11};}));}return _0x12fec3['of']({'skeleton':null,'cursors':new Map()});}))[_0x316117(0x1be)](({skeleton:_0x5c4179,cursors:_0x437c66})=>{const _0x1a4e7f=_0x316117;this[_0x1a4e7f(0x10b)](),_0x5c4179&&this[_0x1a4e7f(0x2cb)](_0x5c4179,_0x437c66);}),this[_0x316117(0x352)][_0x316117(0x31a)][_0x316117(0x1be)](_0x10d1ef=>{const _0x318670=_0x316117;if(_0x10d1ef==null)return;const {skeleton:_0x2a1ce3}=_0x10d1ef,{scene:_0x53d887}=this[_0x318670(0x38c)];_0x53d887[_0x318670(0x1a5)][_0x318670(0x291)](_0x233149['debounce'](_0x2a015d=>{const _0x488a5b=_0x318670;var _0x2a506a,_0x4a5b0a;const {offsetX:_0x4a72bf,offsetY:_0x41dc46}=_0x2a015d,{x:_0x3767ff,y:_0x32137a}=_0x53d887[_0x488a5b(0x302)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x4a72bf,_0x41dc46])),{scaleX:_0x215b71,scaleY:_0x4d32a8}=_0x53d887['getAncestorScale'](),_0x1d7603=_0x53d887[_0x488a5b(0x16b)](_0x5ee778[_0x488a5b(0x1d3)][_0x488a5b(0x378)]),_0x2ccabe=_0x53d887[_0x488a5b(0x1a4)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x3767ff,_0x32137a]),_0x1d7603),_0x58469b=_0x2a1ce3[_0x488a5b(0x1ac)](_0x4a72bf,_0x41dc46,_0x215b71,_0x4d32a8,_0x2ccabe);((_0x2a506a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x2a506a[_0x488a5b(0x18d)])===_0x58469b[_0x488a5b(0x18d)]&&((_0x4a5b0a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x4a5b0a[_0x488a5b(0x23c)])===_0x58469b[_0x488a5b(0x23c)]||this[_0x488a5b(0x268)][_0x488a5b(0x27f)](_0x374ad8=>{const _0x31f795=_0x488a5b;_0x374ad8[_0x31f795(0x2a6)](_0x58469b);});},0x64));});}[_0x3e20bb(0x2cb)](_0x14729e,_0x4223c4){const _0x163727=_0x3e20bb;var _0x384d8d;const _0x54774f=(_0x384d8d=this['_sheetSkeletonManagerService'][_0x163727(0x317)]())==null?void 0x0:_0x384d8d[_0x163727(0x2d1)];if(!_0x54774f)return;const _0x19eeb1=this[_0x163727(0x1fb)]();if(!_0x19eeb1)return;this[_0x163727(0x268)][_0x163727(0x27f)](_0x541d4d=>{const _0x95aa17=_0x163727;_0x541d4d[_0x95aa17(0x17e)]();});const {scene:_0xea81ec}=_0x19eeb1,_0x7a7042=_0x55705a(Array[_0x163727(0x26e)](_0x4223c4[_0x163727(0x32e)]()))['map'](_0x372578=>{const _0x117bd5=_0x163727,{color:_0x406186,range:_0x2e2bf7,name:_0x175662,selection:_0x39de9f,sheetID:_0x2d343f}=_0x372578,{startColumn:_0xf5ba07,startRow:_0xb7366a,endColumn:_0x4a88e3,endRow:_0x4ffa82}=_0x2e2bf7,_0x10bc94=_0xcb2717[_0x117bd5(0x32a)](_0xb7366a,_0xf5ba07,_0xea81ec,_0x54774f),_0x51d976=_0xcb2717[_0x117bd5(0x32a)](_0x4ffa82,_0x4a88e3,_0xea81ec,_0x54774f),{columnHeaderHeightAndMarginTop:_0xc1575b}=_0x54774f,{startX:_0xd7ffe5,startY:_0x4cd6db}=_0x10bc94,{endX:_0x418d5c,endY:_0x271bf3}=_0x51d976,_0x981ff4=_0x418d5c-_0xd7ffe5,_0x4e60d8=_0x271bf3-_0x4cd6db,_0x46b258={'labelPosition':_0x4cd6db-_0xc1575b>=_0x17f2f0?_0x117bd5(0x2ed):_0x117bd5(0x16d),'sheetID':_0x2d343f,'range':_0x2e2bf7,'color':_0x406186,'name':_0x175662,'selection':_0x39de9f,'left':_0xd7ffe5,'top':_0x4cd6db,'width':_0x981ff4,'height':_0x4e60d8,'evented':!0x1,'zIndex':_0x25c630};return new _0x3b379f(_0x175662,_0x46b258);});_0xea81ec[_0x163727(0x23a)](_0x7a7042,_0x4ee69b),this['_cursors']=new Set(_0x7a7042);}['_removeCollabCursors'](){const _0x10ee18=_0x3e20bb;var _0x1973cd;(_0x1973cd=this[_0x10ee18(0x268)])==null||_0x1973cd[_0x10ee18(0x27f)](_0x3d99d4=>_0x3d99d4[_0x10ee18(0x17a)]());}[_0x3e20bb(0x1fb)](){const _0x23a167=_0x3e20bb;return _0xcb2717[_0x23a167(0x277)](this[_0x23a167(0x38c)]['unit'],this[_0x23a167(0x38c)]);}};_0x1c14f5=_0x246849([_0x57920a(0x1,_0x233149['Inject'](_0xcb2717[_0x3e20bb(0x1a3)])),_0x57920a(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x57920a(0x3,_0x233149['Inject'](_0x233149['ThemeService']))],_0x1c14f5);function _0x55705a(_0x10c2b6){const _0x2265b2=_0x3e20bb,_0x2aa13e=new Map();return _0x10c2b6[_0x2265b2(0x27f)](_0x4607b1=>{const _0x17639c=_0x2265b2;if(_0x2aa13e[_0x17639c(0x1b0)](_0x4607b1[_0x17639c(0x1db)])){const _0x4e0a91=_0x2aa13e[_0x17639c(0x1d7)](_0x4607b1[_0x17639c(0x1db)]);_0x4e0a91['name']+=',\x20'+_0x4607b1['name'];}else _0x2aa13e[_0x17639c(0x256)](_0x4607b1['selection'],_0x4607b1);}),Array[_0x2265b2(0x26e)](_0x2aa13e[_0x2265b2(0x32e)]());}var _0x512ee3=Object[_0x3e20bb(0x18a)],_0x392f5b=(_0x40b1ce,_0x268193,_0x152845,_0x1ca9f2)=>{const _0x1e4514=_0x3e20bb;for(var _0x4f2613=_0x1ca9f2>0x1?void 0x0:_0x1ca9f2?_0x512ee3(_0x268193,_0x152845):_0x268193,_0x950b57=_0x40b1ce[_0x1e4514(0x230)]-0x1,_0x335df3;_0x950b57>=0x0;_0x950b57--)(_0x335df3=_0x40b1ce[_0x950b57])&&(_0x4f2613=_0x335df3(_0x4f2613)||_0x4f2613);return _0x4f2613;},_0xce51b1=(_0xe1ff6d,_0x2a1083)=>(_0x4929b0,_0x58fb11)=>_0x2a1083(_0x4929b0,_0x58fb11,_0xe1ff6d);let _0x51fdcb=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x46650f,_0x37e302,_0x3b9fe2,_0x955576,_0x639383,_0x500075){const _0x4c8d31=_0x3e20bb;super(),this['_beforeCloseService']=_0x46650f,this[_0x4c8d31(0x37e)]=_0x37e302,this['_collaborationUIEventService']=_0x3b9fe2,this[_0x4c8d31(0x1ca)]=_0x955576,this[_0x4c8d31(0x351)]=_0x639383,this['_localeService']=_0x500075,this[_0x4c8d31(0xfe)](),this[_0x4c8d31(0x1f7)]();}[_0x3e20bb(0xfe)](){const _0x49687e=_0x3e20bb;this['disposeWithMe'](this[_0x49687e(0x213)][_0x49687e(0x1a1)](()=>{const _0x39f163=_0x49687e;if(this[_0x39f163(0x37e)]['saveTaskMap'][_0x39f163(0x24a)])return this[_0x39f163(0x197)]['t'](_0x39f163(0x142));}));}[_0x3e20bb(0x1f7)](){const _0x1223dc=_0x3e20bb;this[_0x1223dc(0x215)](this[_0x1223dc(0x2ce)]['event$'][_0x1223dc(0x1be)](_0x14aec2=>{const _0x4a5d77=_0x1223dc;_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['OTHER_CLIENT_EDITING']&&this[_0x4a5d77(0x1ca)][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x345))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0xfc)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x28d))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['PERMISSION_DENIED']&&this[_0x4a5d77(0x351)][_0x4a5d77(0x1ab)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x14c)),'type':_0x4a5d77(0x22a),'duration':0x0}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x126)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x28d))+'('+_0x14aec2[_0x4a5d77(0x214)]+')'}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['JOIN_ROOM_FAILED']&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x210)],'content':this['_localeService']['t'](_0x14aec2[_0x4a5d77(0x214)]||'')}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x2b9)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)]['Warning'],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x376))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x320)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x2aa))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x249)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x2fd))});}));}};_0x51fdcb=_0x392f5b([_0xce51b1(0x0,_0x5ec1c1[_0x3e20bb(0x1e6)]),_0xce51b1(0x1,_0x14cc37['ILocalCacheService']),_0xce51b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x309)])),_0xce51b1(0x3,_0x5ec1c1[_0x3e20bb(0x178)]),_0xce51b1(0x4,_0x5ec1c1[_0x3e20bb(0x23d)]),_0xce51b1(0x5,_0x233149['Inject'](_0x233149['LocaleService']))],_0x51fdcb);const _0xb605fd='collaboration-client-ui.config',_0x202710={};var _0x454336=Object[_0x3e20bb(0x18a)],_0x1ad895=(_0xd853c2,_0x4f9752,_0x27282b,_0x4a7b35)=>{const _0x50e620=_0x3e20bb;for(var _0x33270c=_0x4a7b35>0x1?void 0x0:_0x4a7b35?_0x454336(_0x4f9752,_0x27282b):_0x4f9752,_0x4980f7=_0xd853c2[_0x50e620(0x230)]-0x1,_0x292d70;_0x4980f7>=0x0;_0x4980f7--)(_0x292d70=_0xd853c2[_0x4980f7])&&(_0x33270c=_0x292d70(_0x33270c)||_0x33270c);return _0x33270c;},_0x245597=(_0x99cfff,_0x5e6b88)=>(_0x334b81,_0x5422aa)=>_0x5e6b88(_0x334b81,_0x5422aa,_0x99cfff);let _0x2985fb=class{constructor(_0x29fc17,_0x2de1d2){const _0x426f3b=_0x3e20bb;this[_0x426f3b(0x271)]=_0x29fc17,this[_0x426f3b(0x12f)]=_0x2de1d2;}[_0x3e20bb(0x229)](_0x4b85d8){const _0x1cdb66=_0x3e20bb;this[_0x1cdb66(0x203)](_0x4b85d8),this['_transformPreviousActiveRange'](_0x4b85d8);}[_0x3e20bb(0x273)](_0x2f5622){const _0x51104a=_0x3e20bb,{unitID:_0x37459d}=_0x2f5622,_0xa70ef=this[_0x51104a(0x12f)]['getRenderById'](_0x37459d)['with'](_0x35cd67['DocIMEInputManagerService']),{redoCache:_0x1536ce}=_0xa70ef[_0x51104a(0x355)]();if(_0x1536ce['length']===0x0)return _0x2f5622;let _0x1c68c5=_0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622[_0x51104a(0x344)][0x0]);for(let _0x2fd5f8=0x0;_0x2fd5f8<_0x1536ce[_0x51104a(0x230)];_0x2fd5f8++){const _0x5641c6={'id':'doc.mutation.rich-text-editing','params':{..._0x1536ce[_0x2fd5f8]}},_0x207721=this[_0x51104a(0x271)]['transformMutation'](_0x1c68c5,_0x5641c6,!0x1);if(_0x16f706[_0x51104a(0x2b8)](_0x207721))throw _0x207721[_0x51104a(0x22a)];_0x1c68c5=_0x207721[_0x51104a(0x2e9)];}return{..._0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622),'mutations':[_0x1c68c5]};}[_0x3e20bb(0x203)](_0x2870bf){const _0x4543db=_0x3e20bb,{unitID:_0x242856}=_0x2870bf,_0x33d18=this[_0x4543db(0x12f)]['getRenderById'](_0x242856)[_0x4543db(0x2f9)](_0x35cd67[_0x4543db(0x165)]),{undoCache:_0x1c2923,redoCache:_0xc6535d}=_0x33d18[_0x4543db(0x355)]();if(_0x1c2923[_0x4543db(0x230)]===0x0||_0xc6535d['length']===0x0)return;const _0x3e1d50=[],_0xeb02a2=[];let _0x2efc6b=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf['mutations'][0x0]),_0x500cc5=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf[_0x4543db(0x344)][0x0]);for(let _0x3e410b=_0x1c2923[_0x4543db(0x230)]-0x1;_0x3e410b>=0x0;_0x3e410b--){const _0x34d535={'id':_0x4543db(0x2c8),'params':{..._0x1c2923[_0x3e410b]}},_0x4ae441={'id':_0x4543db(0x2c8),'params':{..._0xc6535d[_0x3e410b]}},_0x4cd39d=this[_0x4543db(0x271)]['transformMutation'](_0x2efc6b,_0x34d535,!0x1),_0xf286a6=this['_transformService'][_0x4543db(0x24b)](_0x500cc5,_0x4ae441,!0x1);if(_0x16f706[_0x4543db(0x2b8)](_0x4cd39d))throw _0x4cd39d[_0x4543db(0x22a)];if(_0x16f706[_0x4543db(0x2b8)](_0xf286a6))throw _0xf286a6['error'];_0x3e1d50['unshift'](_0x4cd39d['m2Prime'][_0x4543db(0x23b)]),_0xeb02a2['unshift'](_0xf286a6[_0x4543db(0x2e2)]['params']),_0x2efc6b=_0x4cd39d[_0x4543db(0x2e9)],_0x500cc5=_0xf286a6[_0x4543db(0x2e9)];}_0x33d18['setUndoRedoMutationParamsCache']({'undoCache':_0x3e1d50,'redoCache':_0xeb02a2});}[_0x3e20bb(0x145)](_0x2f36c3){const _0x1d5d5d=_0x3e20bb,{unitID:_0x581393}=_0x2f36c3,_0x2ac7ba=this[_0x1d5d5d(0x12f)][_0x1d5d5d(0x25d)](_0x581393)[_0x1d5d5d(0x2f9)](_0x35cd67[_0x1d5d5d(0x165)]),_0x2f229f=_0x2ac7ba[_0x1d5d5d(0x199)]();if(_0x2f229f==null)return;const _0x3e2057=[{'id':_0x1d5d5d(0x2c8),'params':{'unitId':_0x2f36c3['unitID'],'actions':null,'textRanges':[_0x2f229f]}}],_0x2d33a3=this[_0x1d5d5d(0x271)]['transformMutationsWithChangeset'](_0x2f36c3,_0x3e2057);if(!_0x16f706['isTransformMutationsWithChangesetSuccess'](_0x2d33a3))throw _0x2d33a3[_0x1d5d5d(0x22a)];const _0x451a8e=_0x2d33a3[_0x1d5d5d(0x2e2)][0x0][_0x1d5d5d(0x23b)]['textRanges'];Array['isArray'](_0x451a8e)&&_0x451a8e[_0x1d5d5d(0x230)]&&_0x2ac7ba[_0x1d5d5d(0x374)](_0x451a8e[0x0]);}};_0x2985fb=_0x1ad895([_0x245597(0x0,_0x16f706[_0x3e20bb(0x375)]),_0x245597(0x1,_0x5ee778[_0x3e20bb(0x1d1)])],_0x2985fb);var _0x345349=Object['getOwnPropertyDescriptor'],_0x923728=(_0x3ac6b1,_0x198401,_0x4dabcb,_0x472ea5)=>{const _0x163325=_0x3e20bb;for(var _0x1d08a7=_0x472ea5>0x1?void 0x0:_0x472ea5?_0x345349(_0x198401,_0x4dabcb):_0x198401,_0x4d77cc=_0x3ac6b1[_0x163325(0x230)]-0x1,_0x38665a;_0x4d77cc>=0x0;_0x4d77cc--)(_0x38665a=_0x3ac6b1[_0x4d77cc])&&(_0x1d08a7=_0x38665a(_0x1d08a7)||_0x1d08a7);return _0x1d08a7;},_0x240b13=(_0x1e382f,_0xf6c3c6)=>(_0x49b186,_0x54abe1)=>_0xf6c3c6(_0x49b186,_0x54abe1,_0x1e382f);let _0x29d91d=class{constructor(_0x4c709e,_0x1cc17e,_0x521425){const _0x1cf607=_0x3e20bb;this['_injector']=_0x4c709e,this[_0x1cf607(0x271)]=_0x1cc17e,this[_0x1cf607(0x2ac)]=_0x521425;}[_0x3e20bb(0x158)](_0x104b86){const _0x2fd9f2=_0x3e20bb;this[_0x2fd9f2(0x1a8)](_0x104b86);}['transformRemoteChangeset'](_0xa657e1){const _0x204ca5=_0x3e20bb,{unitID:_0x14388c}=_0xa657e1,{collaboration:_0x1a0e48}=this['_docStateChangeManagerService']['getStateCache'](_0x14388c);if(_0x1a0e48[_0x204ca5(0x230)]===0x0)return _0xa657e1;let _0x54aaa4=_0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1[_0x204ca5(0x344)][0x0]);for(let _0x51fc1d=0x0;_0x51fc1d<_0x1a0e48[_0x204ca5(0x230)];_0x51fc1d++){const _0x3de456={'id':_0x204ca5(0x2c8),'params':{'unitId':_0x1a0e48[_0x51fc1d]['unitId'],..._0x1a0e48[_0x51fc1d][_0x204ca5(0x326)]}},_0x193e39=this[_0x204ca5(0x271)][_0x204ca5(0x24b)](_0x54aaa4,_0x3de456,!0x1);if(_0x16f706[_0x204ca5(0x2b8)](_0x193e39))throw _0x193e39[_0x204ca5(0x22a)];_0x54aaa4=_0x193e39[_0x204ca5(0x2e9)];}return{..._0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1),'mutations':[_0x54aaa4]};}['_transformHistoryAndStateStack'](_0x38e3f5){const _0x122ef7=_0x3e20bb,{unitID:_0x335b04}=_0x38e3f5,{history:_0xe8a1b2,collaboration:_0x25135b}=this[_0x122ef7(0x2ac)]['getStateCache'](_0x335b04);if(_0xe8a1b2[_0x122ef7(0x230)]===0x0&&_0x25135b[_0x122ef7(0x230)]===0x0)return;const _0x2db9d4=[],_0x48bf7c=[];let _0x430f6f=_0x233149[_0x122ef7(0x29c)][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5['mutations'][0x0]);for(let _0x215b4a=_0xe8a1b2['length']-0x1;_0x215b4a>=0x0;_0x215b4a--){const _0x5e0532={'id':_0x122ef7(0x2c8),'params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a]['undoState']}},_0x2d1f5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a][_0x122ef7(0x326)]}},_0x29f365=this[_0x122ef7(0x271)]['transformMutation'](_0x430f6f,_0x5e0532,!0x1),_0x171a21=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x31e88b,_0x2d1f5b,!0x1);if(_0x16f706['isTransformMutationFailure'](_0x29f365))throw _0x29f365['error'];if(_0x16f706[_0x122ef7(0x2b8)](_0x171a21))throw _0x171a21['error'];_0x2db9d4[_0x122ef7(0x16c)]({..._0xe8a1b2[_0x215b4a],'undoState':_0x29f365[_0x122ef7(0x2e2)][_0x122ef7(0x23b)],'redoState':_0x171a21['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x29f365[_0x122ef7(0x2e9)],_0x31e88b=_0x171a21[_0x122ef7(0x2e9)];}_0x430f6f=_0x233149[_0x122ef7(0x29c)]['deepClone'](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]);for(let _0x5dd168=_0x25135b[_0x122ef7(0x230)]-0x1;_0x5dd168>=0x0;_0x5dd168--){const _0x44caf5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0xf5)]}},_0x4fd7b2={'id':_0x122ef7(0x2c8),'params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0x326)]}},_0x474212=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x430f6f,_0x44caf5,!0x1),_0x389d69=this['_transformService'][_0x122ef7(0x24b)](_0x31e88b,_0x4fd7b2,!0x1);if(_0x16f706[_0x122ef7(0x2b8)](_0x474212))throw _0x474212[_0x122ef7(0x22a)];if(_0x16f706[_0x122ef7(0x2b8)](_0x389d69))throw _0x389d69[_0x122ef7(0x22a)];_0x48bf7c[_0x122ef7(0x16c)]({..._0x25135b[_0x5dd168],'undoState':_0x474212['m2Prime']['params'],'redoState':_0x389d69['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x474212[_0x122ef7(0x2e9)],_0x31e88b=_0x389d69['m1Prime'];}this[_0x122ef7(0x2ac)]['setStateCache'](_0x335b04,{'history':_0x2db9d4,'collaboration':_0x48bf7c});}};_0x29d91d=_0x923728([_0x240b13(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x240b13(0x1,_0x16f706[_0x3e20bb(0x375)]),_0x240b13(0x2,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)]))],_0x29d91d);var _0x4ff3ab=Object[_0x3e20bb(0x18a)],_0x5b0256=(_0x3e94e4,_0x7f19f1,_0x1b7c6e,_0x1c95de)=>{const _0x187019=_0x3e20bb;for(var _0x3d2c3f=_0x1c95de>0x1?void 0x0:_0x1c95de?_0x4ff3ab(_0x7f19f1,_0x1b7c6e):_0x7f19f1,_0x40c23e=_0x3e94e4[_0x187019(0x230)]-0x1,_0x2e1715;_0x40c23e>=0x0;_0x40c23e--)(_0x2e1715=_0x3e94e4[_0x40c23e])&&(_0x3d2c3f=_0x2e1715(_0x3d2c3f)||_0x3d2c3f);return _0x3d2c3f;},_0x448f1f=(_0x4ac14d,_0x15691e)=>(_0x5556ed,_0x4f91be)=>_0x15691e(_0x5556ed,_0x4f91be,_0x4ac14d);let _0x3a9659=class{constructor(_0x479c3a,_0x25dd70){const _0x4c2321=_0x3e20bb;this['_injector']=_0x479c3a,this[_0x4c2321(0x271)]=_0x25dd70;}[_0x3e20bb(0x2ab)](_0xfe4b1f){const _0x189d82=_0x3e20bb;var _0x380d8c;const _0x57472a=this[_0x189d82(0x116)]['get'](_0x31d980['DocSelectionManagerService']),_0x367b6e=(_0x380d8c=_0x57472a[_0x189d82(0x112)]())!=null?_0x380d8c:[];if(_0x367b6e[_0x189d82(0x230)]===0x0)return;const _0x4a5b6a=_0xfe4b1f[_0x189d82(0x2b6)],_0x56673a=[{'id':_0x189d82(0x2c8),'params':{'unitId':_0x4a5b6a,'actions':null,'textRanges':_0x367b6e}}],_0x2da9e7=this['_transformService'][_0x189d82(0x234)](_0xfe4b1f,_0x56673a);if(!_0x16f706[_0x189d82(0x20a)](_0x2da9e7))throw _0x2da9e7[_0x189d82(0x22a)];const _0x1048da=_0x2da9e7[_0x189d82(0x2e2)][0x0]['params']['textRanges'];Array[_0x189d82(0x242)](_0x1048da)&&_0x1048da['length']&&_0x57472a[_0x189d82(0xff)](_0x1048da,{'unitId':_0x4a5b6a,'subUnitId':_0x4a5b6a},!0x1);}};_0x3a9659=_0x5b0256([_0x448f1f(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x448f1f(0x1,_0x16f706[_0x3e20bb(0x375)])],_0x3a9659);var _0x37f184=Object[_0x3e20bb(0x18a)],_0x2734d1=(_0x2e6c2f,_0x1e0ec8,_0x1aa7f5,_0x1f8570)=>{const _0x162f71=_0x3e20bb;for(var _0x1d3ad3=_0x1f8570>0x1?void 0x0:_0x1f8570?_0x37f184(_0x1e0ec8,_0x1aa7f5):_0x1e0ec8,_0x5b89f2=_0x2e6c2f[_0x162f71(0x230)]-0x1,_0x3eafd1;_0x5b89f2>=0x0;_0x5b89f2--)(_0x3eafd1=_0x2e6c2f[_0x5b89f2])&&(_0x1d3ad3=_0x3eafd1(_0x1d3ad3)||_0x1d3ad3);return _0x1d3ad3;},_0x273a8d=(_0xa18d61,_0x1eff5e)=>(_0x2dcbaf,_0x1e9f22)=>_0x1eff5e(_0x2dcbaf,_0x1e9f22,_0xa18d61);let _0xe02291=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1fa242,_0x55f716,_0x5a945e,_0x10edde,_0x100b63,_0xbf47c1,_0x268a92,_0x4421c8){const _0xe08b33=_0x3e20bb;super(),_0x18ecd9(this,_0xe08b33(0x1ed),new _0x12fec3[(_0xe08b33(0x33e))](_0x14cc37[_0xe08b33(0x224)][_0xe08b33(0x274)])),(this[_0xe08b33(0x2ac)]=_0x1fa242,this[_0xe08b33(0x1fa)]=_0x55f716,this[_0xe08b33(0x38d)]=_0x5a945e,this[_0xe08b33(0x354)]=_0x10edde,this['_docTransformSelectionsService']=_0x100b63,this[_0xe08b33(0x367)]=_0xbf47c1,this[_0xe08b33(0x1ca)]=_0x268a92,this[_0xe08b33(0x197)]=_0x4421c8,this[_0xe08b33(0x324)]());}[_0x3e20bb(0x324)](){const _0x56fa0a=_0x3e20bb;this['disposeWithMe'](this['_collaborationController'][_0x56fa0a(0x15d)][_0x56fa0a(0x1be)](_0x166f3c=>{const _0x4d2805=_0x56fa0a,_0x41e7a5=this[_0x4d2805(0x2ac)][_0x4d2805(0x283)][_0x4d2805(0x1be)](_0x23a686=>{const _0x17831a=_0x4d2805;if(_0x23a686==null)return;const {unitId:_0x467d74,redoState:_0x376207,commandId:_0x11ec08}=_0x23a686;if(_0x467d74!==_0x166f3c['unitID'])return;const _0x4602ab={'id':_0x11ec08,'type':_0x233149[_0x17831a(0x323)][_0x17831a(0x136)],'params':{'unitId':_0x467d74,'actions':_0x376207[_0x17831a(0x263)],'textRanges':null}};_0x166f3c[_0x17831a(0x248)](_0x4602ab);});if(_0x166f3c[_0x4d2805(0x215)](_0x41e7a5),_0x166f3c instanceof _0x14cc37['DocCollaborationEntity']){const _0x5addcf={'onTransformIME':_0x5be3c9=>this['_docTransformIMECacheService'][_0x4d2805(0x229)](_0x5be3c9),'onTransformState':_0xdc5147=>this['_docTransformStateCacheService'][_0x4d2805(0x158)](_0xdc5147),'onTransformSelections':_0x442456=>this[_0x4d2805(0x1c0)][_0x4d2805(0x2ab)](_0x442456),'onSyncEditingCollabCursor':_0x5e55ba=>this[_0x4d2805(0x367)][_0x4d2805(0xf2)](_0x5e55ba),'onTransformRemoteChangesetByIMECache':_0x3ce7c8=>this[_0x4d2805(0x38d)]['transformRemoteChangeset'](_0x3ce7c8),'onTransformRemoteChangesetByStateCache':_0x51828b=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x51828b)};_0x166f3c['addHandlerCallback'](_0x5addcf);}}));}};_0xe02291=_0x2734d1([_0x273a8d(0x0,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)])),_0x273a8d(0x1,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0xfd)])),_0x273a8d(0x2,_0x233149[_0x3e20bb(0x20f)](_0x2985fb)),_0x273a8d(0x3,_0x233149[_0x3e20bb(0x20f)](_0x29d91d)),_0x273a8d(0x4,_0x233149[_0x3e20bb(0x20f)](_0x3a9659)),_0x273a8d(0x5,_0x233149[_0x3e20bb(0x20f)](_0x573383)),_0x273a8d(0x6,_0x5ec1c1[_0x3e20bb(0x178)]),_0x273a8d(0x7,_0x233149['Inject'](_0x233149['LocaleService']))],_0xe02291);var _0x2988a2=Object[_0x3e20bb(0x18a)],_0x1600de=(_0x1d336e,_0x5bb4ba,_0x35d0a5,_0x14b54a)=>{const _0x516a5f=_0x3e20bb;for(var _0x530ad9=_0x14b54a>0x1?void 0x0:_0x14b54a?_0x2988a2(_0x5bb4ba,_0x35d0a5):_0x5bb4ba,_0x51774f=_0x1d336e[_0x516a5f(0x230)]-0x1,_0x49debe;_0x51774f>=0x0;_0x51774f--)(_0x49debe=_0x1d336e[_0x51774f])&&(_0x530ad9=_0x49debe(_0x530ad9)||_0x530ad9);return _0x530ad9;},_0x4ca594=(_0x57ebec,_0x59f95f)=>(_0x527a4b,_0x3add92)=>_0x59f95f(_0x527a4b,_0x3add92,_0x57ebec);let _0x428e38=class extends _0x233149['Disposable']{constructor(_0x1cf781,_0x2fca2c,_0x13aed8){const _0x87666a=_0x3e20bb;super(),_0x18ecd9(this,_0x87666a(0x13a),new Map()),_0x18ecd9(this,'_saveTaskMap',new Map()),_0x18ecd9(this,_0x87666a(0x32d),!0x1),(this[_0x87666a(0x1b7)]=_0x1cf781,this['_localStorageService']=_0x2fca2c,this[_0x87666a(0x38a)]=_0x13aed8);}[_0x3e20bb(0x2db)](){const _0x4db0d7=_0x3e20bb;this[_0x4db0d7(0x32d)]=!0x0;}[_0x3e20bb(0x335)](){const _0x1ca744=_0x3e20bb;this[_0x1ca744(0x32d)]=!0x1;}get['saveTaskMap'](){const _0x23cfac=_0x3e20bb;return this[_0x23cfac(0x22e)];}['dispose'](){const _0x5eeae2=_0x3e20bb;this['exhaustSavingTask']()[_0x5eeae2(0x360)](()=>super[_0x5eeae2(0x17a)]());}async['loadOfflineData'](_0x4f4204){const _0x14a260=_0x3e20bb;return this['_disabled']?null:this[_0x14a260(0x227)][_0x14a260(0x226)](_0x14cc37[_0x14a260(0x105)](_0x4f4204));}async[_0x3e20bb(0x1ef)](_0x25b436,_0x4f9256){const _0x50f340=_0x3e20bb;return!!this[_0x50f340(0x227)][_0x50f340(0x121)](_0x25b436,_0x4f9256);}[_0x3e20bb(0x35a)](_0x5eaa34,_0x28c472,_0x23d69c,_0x2812dd){const _0x276518=_0x3e20bb,_0x583934=this[_0x276518(0x38a)]['getCurrentRevOfUnit'](_0x5eaa34);this[_0x276518(0x13a)]['set'](_0x5eaa34,{'unitID':_0x5eaa34,'type':_0x28c472,'awaitingChangeset':_0x23d69c,'mutations':_0x2812dd,'rev':_0x583934}),this[_0x276518(0x22e)]['has'](_0x5eaa34)||this[_0x276518(0xfa)](_0x5eaa34);}[_0x3e20bb(0xfa)](_0x360a43){const _0x217006=_0x3e20bb,_0x2b9771=this[_0x217006(0x2bb)]();_0x2b9771===0x0?this[_0x217006(0x140)](_0x360a43):this[_0x217006(0x22e)][_0x217006(0x256)](_0x360a43,setTimeout(()=>this[_0x217006(0x140)](_0x360a43),_0x2b9771));}[_0x3e20bb(0x2bb)](){const _0x3cd56f=_0x3e20bb;var _0x4af89f;return(_0x4af89f=this[_0x3cd56f(0x1b7)][_0x3cd56f(0x303)](_0x14cc37[_0x3cd56f(0x2fc)]))!=null?_0x4af89f:_0x14cc37['LOCAL_CACHE_INTERVAL'];}[_0x3e20bb(0x140)](_0x161e3a){const _0x11092e=_0x3e20bb,_0x52b9f0=this[_0x11092e(0x22e)]['get'](_0x161e3a);return _0x52b9f0!==void 0x0&&window[_0x11092e(0x384)](_0x52b9f0),this['_localStorageService'][_0x11092e(0x121)](_0x14cc37[_0x11092e(0x105)](_0x161e3a),this['_cachedData'][_0x11092e(0x1d7)](_0x161e3a))['then'](()=>this[_0x11092e(0x22e)][_0x11092e(0x2e4)](_0x161e3a));}async[_0x3e20bb(0x36d)](){const _0x2b36a7=_0x3e20bb,_0x2da330=[];this['_saveTaskMap'][_0x2b36a7(0x27f)]((_0x31ebe2,_0x1099bd)=>{const _0x34e7f3=_0x2b36a7;window['clearTimeout'](_0x31ebe2),_0x2da330['push'](this[_0x34e7f3(0x140)](_0x1099bd)[_0x34e7f3(0x360)](()=>{const _0x2baad0=_0x34e7f3;this[_0x2baad0(0x22e)][_0x2baad0(0x2e4)](_0x1099bd);}));}),await Promise[_0x2b36a7(0x255)](_0x2da330);}};_0x428e38=_0x1600de([_0x4ca594(0x0,_0x233149['IConfigService']),_0x4ca594(0x1,_0x233149['ILocalStorageService']),_0x4ca594(0x2,_0x233149[_0x3e20bb(0x20f)](_0x16f706[_0x3e20bb(0x270)]))],_0x428e38);class _0x135873 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0x44182d=_0x3e20bb;super(),_0x18ecd9(this,'urlChange$'),this['urlChange$']=_0x12fec3[_0x44182d(0x10c)](window,'popstate')[_0x44182d(0x1ff)](_0x12fec3['takeUntil'](this[_0x44182d(0x1e1)]),_0x12fec3['shareReplay'](0x1),_0x12fec3[_0x44182d(0x11c)](void 0x0));}[_0x3e20bb(0x120)](_0x138494,_0x5f3c86,_0x8b2f66=!0x1){const _0xd3527b=_0x3e20bb,_0x164626=new URL(window[_0xd3527b(0x386)]['href']);_0x164626[_0xd3527b(0x30f)][_0xd3527b(0x256)](_0x138494,_0x5f3c86),_0x8b2f66?window[_0xd3527b(0x264)]['replaceState']('','',_0x164626[_0xd3527b(0x211)]()):window[_0xd3527b(0x264)]['pushState']('','',_0x164626[_0xd3527b(0x211)]());}[_0x3e20bb(0x250)](_0x28b568,_0x2a0d31=!0x1){const _0x2fee45=_0x3e20bb,_0x44bf66=new URL(window[_0x2fee45(0x386)][_0x2fee45(0x1de)]);_0x44bf66['searchParams']['delete'](_0x28b568),_0x2a0d31?window['history'][_0x2fee45(0x196)]('','',_0x44bf66[_0x2fee45(0x211)]()):window[_0x2fee45(0x264)][_0x2fee45(0x1cc)]('','',_0x44bf66[_0x2fee45(0x211)]());}[_0x3e20bb(0x185)](_0x5ba964){const _0x1ff161=_0x3e20bb;var _0x2c00fb;return(_0x2c00fb=new URL(window['location']['href'])[_0x1ff161(0x30f)][_0x1ff161(0x1d7)](_0x5ba964))!=null?_0x2c00fb:void 0x0;}}var _0x40ea95=Object[_0x3e20bb(0x24f)],_0x399a16=Object[_0x3e20bb(0x18a)],_0x2d6186=(_0x4412d7,_0x4b144b,_0x229974)=>_0x4b144b in _0x4412d7?_0x40ea95(_0x4412d7,_0x4b144b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x229974}):_0x4412d7[_0x4b144b]=_0x229974,_0x1256dd=(_0x2065b8,_0x4776f6,_0x398557,_0x3a29c6)=>{const _0x4e2596=_0x3e20bb;for(var _0x574d45=_0x3a29c6>0x1?void 0x0:_0x3a29c6?_0x399a16(_0x4776f6,_0x398557):_0x4776f6,_0x15d0f7=_0x2065b8[_0x4e2596(0x230)]-0x1,_0x1dec44;_0x15d0f7>=0x0;_0x15d0f7--)(_0x1dec44=_0x2065b8[_0x15d0f7])&&(_0x574d45=_0x1dec44(_0x574d45)||_0x574d45);return _0x574d45;},_0x167d1c=(_0x53ccfd,_0x50c6e0)=>(_0x13815c,_0xf7e305)=>_0x50c6e0(_0x13815c,_0xf7e305,_0x53ccfd),_0x36eb2f=(_0x21e3b8,_0x508b5b,_0x1ff430)=>_0x2d6186(_0x21e3b8,_0x508b5b+'',_0x1ff430);const _0x48d124=_0x3e20bb(0x15e);_0x427b6e[_0x3e20bb(0x16e)]=class extends _0x233149['Plugin']{constructor(_0xda5660=_0x202710,_0x3cc0f3,_0x3c11fc,_0x56953d){const _0x50d251=_0x3e20bb;super(),this[_0x50d251(0x364)]=_0xda5660,this[_0x50d251(0x12f)]=_0x3cc0f3,this[_0x50d251(0x116)]=_0x3c11fc,this['_configService']=_0x56953d;const {..._0xd0e3d5}=_0x233149['merge']({},_0x202710,this['_config']);this['_configService']['setConfig'](_0xb605fd,_0xd0e3d5);}[_0x3e20bb(0x1b2)](){const _0x3fe067=_0x3e20bb;this[_0x3fe067(0x2da)](),this[_0x3fe067(0x29f)]();}[_0x3e20bb(0x241)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x164f5b=_0x3e20bb;var _0x552fed;const _0x15657f=[[_0xc47850],[_0x3a9659],[_0x2985fb],[_0x29d91d],[_0x573383],[_0x172ebe,{'useClass':_0x135873}],[_0xabfec4[_0x164f5b(0x38e)],{'useClass':_0xabfec4[_0x164f5b(0x135)]}],[_0x14cc37[_0x164f5b(0x18f)],{'useClass':_0x428e38}],[_0x427b6e['DesktopCollaborationStatusDisplayController']],[_0xe02291],[_0x51fdcb],[_0x221bad],[_0xdff79c],[_0x427b6e[_0x164f5b(0x2b5)]]];_0x233149[_0x164f5b(0x356)](this[_0x164f5b(0x116)],_0x233149[_0x164f5b(0x141)](_0x15657f,(_0x552fed=this[_0x164f5b(0x364)])==null?void 0x0:_0x552fed['override']));}[_0x3e20bb(0x2a0)](){const _0x119707=_0x3e20bb;this['disposeWithMe'](this[_0x119707(0x12f)]['registerRenderModule'](_0x233149['UniverInstanceType'][_0x119707(0x2a1)],[_0x33ecbd])),this[_0x119707(0x215)](this[_0x119707(0x12f)][_0x119707(0x383)](_0x233149['UniverInstanceType'][_0x119707(0x2f1)],[_0x1c14f5]));}[_0x3e20bb(0x29f)](){const _0x421e91=_0x3e20bb;_0x233149[_0x421e91(0x2a9)](this[_0x421e91(0x116)],[[_0x221bad],[_0x427b6e[_0x421e91(0x287)]],[_0xe02291],[_0x51fdcb],[_0x427b6e[_0x421e91(0x2b5)]]]);}},_0x36eb2f(_0x427b6e['UniverCollaborationClientUIPlugin'],_0x3e20bb(0xf9),_0x48d124),_0x427b6e[_0x3e20bb(0x16e)]=_0x1256dd([_0x233149[_0x3e20bb(0x2c7)](_0x14cc37[_0x3e20bb(0x38f)]),_0x167d1c(0x1,_0x5ee778[_0x3e20bb(0x1d1)]),_0x167d1c(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x167d1c(0x3,_0x233149['IConfigService'])],_0x427b6e[_0x3e20bb(0x16e)]);var _0x12a4ca=Object[_0x3e20bb(0x18a)],_0x40ecad=(_0x3da1a3,_0x52ebb1,_0xffb7b6,_0x557dd2)=>{for(var _0x2b6308=_0x557dd2>0x1?void 0x0:_0x557dd2?_0x12a4ca(_0x52ebb1,_0xffb7b6):_0x52ebb1,_0x1f0468=_0x3da1a3['length']-0x1,_0x1c8a99;_0x1f0468>=0x0;_0x1f0468--)(_0x1c8a99=_0x3da1a3[_0x1f0468])&&(_0x2b6308=_0x1c8a99(_0x2b6308)||_0x2b6308);return _0x2b6308;},_0x5abbb6=(_0x582116,_0x299cdc)=>(_0x58d2f5,_0x5b7c10)=>_0x299cdc(_0x58d2f5,_0x5b7c10,_0x582116);_0x427b6e[_0x3e20bb(0x10f)]=class extends _0x14cc37[_0x3e20bb(0x330)]{constructor(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5){super(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5);}async[_0x3e20bb(0x346)](_0x31fe6f){const _0x166dbe=_0x3e20bb,_0x317a61=await this['_getSessionTicket'](),_0x4d9ff6=this[_0x166dbe(0x310)](_0x31fe6f,_0x317a61);return this[_0x166dbe(0x137)](_0x4d9ff6);}[_0x3e20bb(0x310)](_0x47d80e,_0x8bf0ef){const _0x5e45d0=_0x3e20bb,_0x1e35d6=typeof window>'u'?new URL(_0x47d80e):new URL(_0x47d80e,window[_0x5e45d0(0x386)][_0x5e45d0(0x1dc)]);_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)]('sessionTicket',_0x8bf0ef);const _0x7c6b01=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x7c6b01[_0x5e45d0(0x1d7)](_0x5e45d0(0x184))&&_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)](_0x5e45d0(0x184),_0x7c6b01['get'](_0x5e45d0(0x184))),_0x1e35d6['toString']();}async['_getSessionTicket'](){const _0x5d167d=_0x3e20bb;var _0x30b9f9,_0xe7633f,_0x30db71;const _0x58d362=this[_0x5d167d(0x1b7)][_0x5d167d(0x303)](_0x14cc37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x8c053e=(_0x30b9f9=_0x58d362==null?void 0x0:_0x58d362[_0x5d167d(0x2fb)])!=null?_0x30b9f9:_0x14cc37[_0x5d167d(0x182)];return(_0x30db71=(_0xe7633f=(await this[_0x5d167d(0x1c2)][_0x5d167d(0x1d7)](_0x8c053e,{'headers':{'Content-Type':_0x5d167d(0x1bc)}}))[_0x5d167d(0x2ba)])==null?void 0x0:_0xe7633f[_0x5d167d(0x382)])!=null?_0x30db71:'';}},_0x427b6e[_0x3e20bb(0x10f)]=_0x40ecad([_0x5abbb6(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5abbb6(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x5abbb6(0x2,_0x233149[_0x3e20bb(0x2cc)]),_0x5abbb6(0x3,_0x233149['ILogService']),_0x5abbb6(0x4,_0x16f706['ISnapshotServerService'])],_0x427b6e[_0x3e20bb(0x10f)]);var _0x5eca67=(_0x9f2a41=>(_0x9f2a41[_0x9f2a41[_0x3e20bb(0x19a)]=0x0]=_0x3e20bb(0x19a),_0x9f2a41[_0x9f2a41['OK']=0x1]='OK',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2e3)]=0x2]='INTERNAL_ERROR',_0x9f2a41[_0x9f2a41['PERMISSION_DENIED']=0x3]=_0x3e20bb(0x1c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x387)]=0x4]=_0x3e20bb(0x387),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x363)]=0x5]=_0x3e20bb(0x363),_0x9f2a41[_0x9f2a41['ALREADY_EXISTS']=0x6]=_0x3e20bb(0x343),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x259)]=0x7]='INVALID_ARGUMENT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x14a)]=0x8]=_0x3e20bb(0x14a),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x191)]=0x9]='COMPLETION_FINISHED',_0x9f2a41[_0x9f2a41['LOGIN_FAILED']=0xa]=_0x3e20bb(0x111),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x380)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c1)]=0xc]=_0x3e20bb(0x2c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x132)]=0xd]=_0x3e20bb(0x132),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xf3)]=0xe]=_0x3e20bb(0xf3),_0x9f2a41[_0x9f2a41['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x231)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x370)]=0x1772]=_0x3e20bb(0x370),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x138)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x9f2a41[_0x9f2a41['APPLY_REJECT']=0x1b59]=_0x3e20bb(0x13b),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2f8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f0)]=0x1b5b]=_0x3e20bb(0x1f0),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x183)]=0x1b5c]=_0x3e20bb(0x183),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x34f)]=0x1b5d]=_0x3e20bb(0x34f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2a2)]=0x1f41]=_0x3e20bb(0x2a2),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xee)]=0x2329]=_0x3e20bb(0xee),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x37c)]=0x232a]=_0x3e20bb(0x37c),_0x9f2a41[_0x9f2a41['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3e20bb(0x37d),_0x9f2a41[_0x9f2a41['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3e20bb(0x293),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x304)]=0x232d]=_0x3e20bb(0x304),_0x9f2a41[_0x9f2a41['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x9f2a41[_0x9f2a41['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3e20bb(0x2d8),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x17f)]=0x2713]=_0x3e20bb(0x17f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x328)]=0x2714]=_0x3e20bb(0x328),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x152)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9f2a41[_0x9f2a41['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3e20bb(0x2e7),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29d)]=0x271c]=_0x3e20bb(0x29d),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c2)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f9)]=0x271f]=_0x3e20bb(0x1f9),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ec)]=0x2720]=_0x3e20bb(0x1ec),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x143)]=0x2af9]=_0x3e20bb(0x143),_0x9f2a41[_0x9f2a41['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3e20bb(0x2e1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29e)]=0x2ee2]=_0x3e20bb(0x29e),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2bc)]=0x2ee3]=_0x3e20bb(0x2bc),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ea)]=0x2ee4]=_0x3e20bb(0x1ea),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x169)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x312)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x313)]=0x32ca]=_0x3e20bb(0x313),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x162)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d0)]=-0x1]='UNRECOGNIZED',_0x9f2a41))(_0x5eca67||{}),_0x14c998=Object['getOwnPropertyDescriptor'],_0x3aa02d=(_0x107370,_0x14c5ae,_0x24983d,_0xeb1797)=>{const _0x1e36e2=_0x3e20bb;for(var _0x9e7950=_0xeb1797>0x1?void 0x0:_0xeb1797?_0x14c998(_0x14c5ae,_0x24983d):_0x14c5ae,_0x2cdf82=_0x107370[_0x1e36e2(0x230)]-0x1,_0x500811;_0x2cdf82>=0x0;_0x2cdf82--)(_0x500811=_0x107370[_0x2cdf82])&&(_0x9e7950=_0x500811(_0x9e7950)||_0x9e7950);return _0x9e7950;},_0x26fd4b=(_0x15c66f,_0x36c444)=>(_0x1e7fa7,_0x59d398)=>_0x36c444(_0x1e7fa7,_0x59d398,_0x15c66f);_0x427b6e['RemoteUniscriptService']=class extends _0x233149['Disposable']{constructor(_0x30eae9,_0x1bf9b7,_0x2736bc){const _0xd8d127=_0x3e20bb;super(),this[_0xd8d127(0x177)]=_0x30eae9,this['_httpService']=_0x1bf9b7,this[_0xd8d127(0x1b7)]=_0x2736bc;}async[_0x3e20bb(0x233)](_0x5eaff7,_0x22e18a,_0x4234e6,..._0x12a944){const _0x2946cf=_0x3e20bb;var _0x57062b,_0x1b401a,_0x22eaae,_0x334907;const _0x496f86=this[_0x2946cf(0x177)][_0x2946cf(0x170)]();if(!_0x496f86)throw new Error(_0x2946cf(0x1e9));const _0x153b8c=((_0x57062b=this[_0x2946cf(0x1b7)][_0x2946cf(0x303)](_0x14cc37['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x57062b:_0x14cc37[_0x2946cf(0x1c7)])+'/'+_0x5eaff7+'/run/'+_0x22e18a,_0x265c06=new URL(window[_0x2946cf(0x386)][_0x2946cf(0x1de)]),_0x43f801={'scriptId':_0x5eaff7,'runId':(_0x1b401a=_0x265c06['searchParams'][_0x2946cf(0x1d7)]('runId'))!=null?_0x1b401a:'','function':_0x22e18a,'unitId':_0x496f86[_0x2946cf(0x11d)](),'argsOfFunction':JSON[_0x2946cf(0x2f2)](_0x12a944),'invokeId':(_0x22eaae=_0x4234e6[_0x2946cf(0x314)])!=null?_0x22eaae:'','executionId':(_0x334907=_0x4234e6[_0x2946cf(0x36c)])!=null?_0x334907:''};try{const _0x2f2901=await this[_0x2946cf(0x1c2)][_0x2946cf(0x321)](_0x153b8c,{'body':_0x43f801});return _0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)]&&_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)][_0x2946cf(0x2b4)]!==_0x5eca67['OK']?_0x2946cf(0x1e3):_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x15b)];}catch{return _0x2946cf(0x1e3);}}},_0x427b6e[_0x3e20bb(0x1ba)]=_0x3aa02d([_0x26fd4b(0x0,_0x233149[_0x3e20bb(0x371)]),_0x26fd4b(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x26fd4b(0x2,_0x233149[_0x3e20bb(0x2cc)])],_0x427b6e['RemoteUniscriptService']);const _0x579af8=0x7530,_0x4beeda='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4a273a extends _0x233149['Disposable']{constructor(){const _0x450394=_0x3e20bb;super(),_0x18ecd9(this,_0x450394(0x1bf),_0x233149[_0x450394(0x13d)]()),_0x18ecd9(this,_0x450394(0x239),new Set()),_0x18ecd9(this,_0x450394(0x118),new Map()),_0x18ecd9(this,'_heartbeatTimer',null),_0x18ecd9(this,_0x450394(0x2f3),new Map()),_0x18ecd9(this,_0x450394(0x12a),new Map()),this['_init']();}[_0x3e20bb(0x17a)](){const _0x130343=_0x3e20bb;super[_0x130343(0x17a)](),this[_0x130343(0x2f3)][_0x130343(0x27f)]((_0x200450,_0x58df6d)=>this[_0x130343(0x26a)](_0x58df6d)),this[_0x130343(0x1c6)]&&window[_0x130343(0x257)](this['_heartbeatTimer']);}[_0x3e20bb(0x30b)](_0x52df7f){const _0x401a94=_0x3e20bb;return this[_0x401a94(0xef)](_0x52df7f)[_0x401a94(0x1ff)](_0x12fec3[_0x401a94(0x2f0)]());}[_0x3e20bb(0x34c)](_0x30237b){const _0x347dff=_0x3e20bb;this[_0x347dff(0x239)][_0x347dff(0x24a)]===0x0&&this[_0x347dff(0x1f3)](),this[_0x347dff(0x239)][_0x347dff(0x265)](_0x30237b),this[_0x347dff(0x2b0)]({'type':0x0,'memberID':this[_0x347dff(0x1bf)],'unitIDs':[_0x30237b],'isForwarded':!0x1});}[_0x3e20bb(0x275)](_0x1f510f){const _0x451d66=_0x3e20bb;this['_selfUnitIDs'][_0x451d66(0x2e4)](_0x1f510f),this['_selfUnitIDs'][_0x451d66(0x24a)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x451d66(0x1c6)]);}[_0x3e20bb(0x362)](){const _0x371d46=_0x3e20bb;this[_0x371d46(0x215)](_0x233149[_0x371d46(0x103)](_0x12fec3['fromEvent'](window,_0x371d46(0x123))[_0x371d46(0x1be)](_0x38ab8=>{const _0x2bec00=_0x371d46;if(_0x38ab8[_0x2bec00(0x217)]!==_0x4beeda||!_0x38ab8[_0x2bec00(0x30e)])return;const _0x424c89=JSON['parse'](_0x38ab8[_0x2bec00(0x30e)]);this[_0x2bec00(0x31c)](_0x424c89);}))),window['addEventListener'](_0x371d46(0x1b8),()=>this['_send']({'type':0x1,'memberID':this[_0x371d46(0x1bf)],'unitIDs':Array[_0x371d46(0x26e)](this[_0x371d46(0x239)])}));}[_0x3e20bb(0x31c)](_0x14c512){const _0x332e89=_0x3e20bb;switch(_0x14c512[_0x332e89(0x353)]){case 0x0:this['_handleJoinEvent'](_0x14c512);break;case 0x1:this[_0x332e89(0x21a)](_0x14c512);break;case 0x2:this[_0x332e89(0x2c3)](_0x14c512);break;}}['_handleJoinEvent'](_0x4288b7){const _0x1c2e7f=_0x3e20bb,{unitIDs:_0x396d5a,memberID:_0x34a044,isForwarded:_0x201c64}=_0x4288b7;_0x396d5a[_0x1c2e7f(0x27f)](_0x3430d2=>{const _0xead7d9=_0x1c2e7f;if(!_0x201c64&&this[_0xead7d9(0x118)][_0xead7d9(0x1b0)](_0x3430d2)&&this[_0xead7d9(0xef)](_0x3430d2)['next'](_0x14cc37[_0xead7d9(0x1cf)][_0xead7d9(0x27a)]),!this['_unitOnClients']['has'](_0x3430d2)||!this[_0xead7d9(0x118)][_0xead7d9(0x1d7)](_0x3430d2)[_0xead7d9(0x1b0)](_0x34a044)){const _0x273f56=this[_0xead7d9(0x118)]['get'](_0x3430d2)||new Set();_0x273f56[_0xead7d9(0x265)](_0x34a044),this[_0xead7d9(0x118)][_0xead7d9(0x256)](_0x3430d2,_0x273f56),this[_0xead7d9(0x282)](_0x34a044);}}),_0x201c64||this['_send']({'type':0x0,'memberID':this[_0x1c2e7f(0x1bf)],'unitIDs':[...this[_0x1c2e7f(0x239)]],'isForwarded':!0x0});}[_0x3e20bb(0x282)](_0x2f23d0){const _0x557c9e=_0x3e20bb;this[_0x557c9e(0x26a)](_0x2f23d0);const _0x3f7344=window[_0x557c9e(0x117)](()=>{const _0x268c1e=_0x557c9e;this[_0x268c1e(0x118)]['forEach'](_0x14e8ac=>{const _0x56e221=_0x268c1e;_0x14e8ac[_0x56e221(0x2e4)](_0x2f23d0);});},_0x579af8*0x2);this['_clearOtherTimers'][_0x557c9e(0x256)](_0x2f23d0,_0x3f7344);}[_0x3e20bb(0x26a)](_0x2a2a9d){const _0x352551=_0x3e20bb;if(this['_clearOtherTimers'][_0x352551(0x1b0)](_0x2a2a9d)){const _0x40f57e=this[_0x352551(0x2f3)][_0x352551(0x1d7)](_0x2a2a9d);_0x40f57e&&window[_0x352551(0x384)](_0x40f57e),this[_0x352551(0x2f3)][_0x352551(0x256)](_0x2a2a9d,null);}}['_handleLeaveEvent'](_0x1ec692){const _0x312eb4=_0x3e20bb,{memberID:_0x355eb8,unitIDs:_0x4933f4}=_0x1ec692;_0x4933f4[_0x312eb4(0x27f)](_0x414183=>{const _0x33f334=_0x312eb4;var _0x4928d2;const _0xea251b=this[_0x33f334(0x118)]['get'](_0x414183);_0xea251b&&(_0xea251b[_0x33f334(0x2e4)](_0x355eb8),(_0x4928d2=this['_ensureSubject'](_0x414183))==null||_0x4928d2[_0x33f334(0x148)](_0xea251b['size']===0x0?_0x14cc37[_0x33f334(0x1cf)][_0x33f334(0x20e)]:_0x14cc37['UnitStatus'][_0x33f334(0x27a)]));}),this[_0x312eb4(0x26a)](_0x355eb8);}[_0x3e20bb(0x2c3)](_0xff7049){const _0x2ea13f=_0x3e20bb;this[_0x2ea13f(0x282)](_0xff7049['memberID']);}[_0x3e20bb(0x2b0)](_0x5452d1){const _0x232fe3=_0x3e20bb;localStorage[_0x232fe3(0x121)](_0x4beeda,JSON[_0x232fe3(0x2f2)](_0x5452d1));}[_0x3e20bb(0x1f3)](){const _0x12159f=_0x3e20bb;this[_0x12159f(0x1c6)]=window[_0x12159f(0x216)](()=>{const _0x3436ae=_0x12159f;this[_0x3436ae(0x2b0)]({'type':0x2,'memberID':this['_id']});},_0x579af8);}[_0x3e20bb(0xef)](_0x3f026a){const _0x2f6903=_0x3e20bb;return this[_0x2f6903(0x12a)][_0x2f6903(0x1b0)](_0x3f026a)||this[_0x2f6903(0x12a)][_0x2f6903(0x256)](_0x3f026a,new _0x12fec3[(_0x2f6903(0x33e))](_0x14cc37[_0x2f6903(0x1cf)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x2f6903(0x1d7)](_0x3f026a);}}_0x427b6e[_0x3e20bb(0x30c)]=_0x172ebe,_0x427b6e['SheetCollabCursorShape']=_0x3b379f,_0x427b6e['WebBrowserSingleActiveUnitService']=_0x4a273a,_0x427b6e['WebURLService']=_0x135873,Object[_0x3e20bb(0x24f)](_0x427b6e,Symbol[_0x3e20bb(0x289)],{'value':_0x3e20bb(0x195)});}));