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

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 (50) 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/types/index.d.ts +5 -5
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1bfb(_0x4d2536,_0x3ac9aa){const _0x3f6bbe=_0x3f6b();return _0x1bfb=function(_0x1bfbd8,_0x56e38b){_0x1bfbd8=_0x1bfbd8-0x6f;let _0x59e79f=_0x3f6bbe[_0x1bfbd8];return _0x59e79f;},_0x1bfb(_0x4d2536,_0x3ac9aa);}function _0x3f6b(){const _0x5a7927=['_heartbeatTimer','IRenderManagerService','onMouseMove','_cursors','application/json','clipPath','_uiPartsService','_imageIoService','getFocusedUnit','getParam','6986084QulsrP','purple.300','YUUMI_UNABLE_LOAD_URL','xlink:href','CollaborationDataLoaderController','setAlpha','connectInjector','getOffsetConfig','getTypeOfUnitAdded$','unitId','IMessageService','UniverDocs','_setupSubUnitSync','off-line-icon','combineLatest','assign','DependentOn','white','_drawTextRange','className','getCurrentRevOfUnit','setActiveRange','length','RemoveColCommandId','transformRemoteChangeset','452990qEaveG','DeleteRangeMoveUpCommandId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','useRef','MOBILE_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','UNAUTHENTICATED','_saveCache','distinctUntilChanged','currentColor','hasOwnProperty','_getAnchorBounding','_refRangeService','_scheduleClearOtherTimer','getUnitId','eventID','_ensureSubject','collaboration.closeRoom','_getScale','collabStatus.notCollab','stringify','function','EMAIL_VERIFY_CODE_MISMATCH','INTERNAL_ERROR','Subject','_eventUnsubscribe','idSuffix','collaboration-client-ui.config','_initEvent','searchParams','EffectRefRangId','UniverEngineRender','transformByState','USER_NOT_INVITED_CODE','height','Unknown\x20user','onLocalMutation','setStateCache','row','IConfigService','has','arc','symbol','TEXT_RANGE_LAYER_INDEX','Shape','_render','_dataLoaderService','_createSocketURL','restore','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','green.600','CONNECTOR_DATA_TOO_LARGE','colorChannel1','ThemeService','transform','_config','entries','startColumn','substring','UniverInstanceType','_removeClearOtherTimer','_online','_anchorDot','_cursor','DEFAULT_WS_SESSION_TICKET_URL','_localeService','ranges','transformMutation','APPLY_DUPLICATED','SOCKET_FAILED','_docSkeletonManagerService','DeleteRangeMoveLeftCommandId','saveImage','react','addHandlerCallback','addObject','push','_id','handleIRemoveCol','registerDependencies','post','UniverProCollaboration','concat','resize','selection','registerRefRange','origin','transformStateCache','params','isArray','some','icon','map','getDocRanges','random','unload','show','ISocketService','EMAIL_HAS_BEEN_BOUND','getValue','currentSkeleton$','UniverCore','CollaborationUIEventService','getTypeOfUnitDisposed$','newValue','collaboration-client.offline-data-not-saved','debug','@univerjs/docs','0\x200\x2017\x2016','YUUMI_ALL_TABLES_IS_INVALID','getViewport','@univerjs/design','handleDeleteRangeMoveUp','PY_RUNTIME_SCRIPT_ERROR','_collabCursorState$','replaceState','FromArray','WebSocketService','CLOSE_ROOM','_drawAnchor','_revisionService','call','fillRule','deepClone','round','session.will-retry','handleDeleteRangeMoveLeft','subscribeEvent','_transformUndoRedoStack','filter','INVALID_ARGUMENT','handleInsertRangeMoveRight','getMemberID','MessageType','collabStatus.synced','NOT_FOUND','DisposableCollection','_initResize','min','_shapes','jsxs','width','_scheduleHeartbeat','_sheetSkeletonManagerService','_docTransformSelectionsService','Optional','NodePositionConvertToRectRange','column','translate(.97)','Tools','handleInsertCol','@univerjs/docs-ui','measureText','m1Prime','endRow','createElement','off-line-icon_clip0_910_343','Injector','MemberService','toStringTag','urlChange$','SetWorksheetActivateCommand','_range','UniverNetwork','_onCursorDelete','loadOfflineData','unitID','LICENSE_DISTRO_REJECTED','memberID','_init','clearInterval','loadUnit','collabStatus.offline','getCollabCursors$','React','setConfig','status$','@univerjs-pro/collaboration','lineTo','_registerRenderDependencies','yellow.400','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','whenReady','displayName','disposeUnit','session.connection-failed','Failed','isActive','Workbook','type','_localCacheService','getRangePointData','code','rxjs','extend','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRendered','SessionStatus','_transformPreviousActiveRange','shareReplay','_hideTimer','size','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collabCursorController','updateOfflineData','_toggleOffline','getUndoRedoMutationParamsCache','HTTPService','actions','DocCollaborationEntity','session.collaboration-timeout','operators','hovered','collab-rect-range-','sessionStatus$','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','hide','UniverDesign','_injector','CollaborationStatus','focused$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabCursorState$','send','onTransformChange$','LocaleService','RemoteUniscriptService','pushState','LOCAL_CACHE_INTERVAL_KEY','5132166zTyhZU','syncEditingCollabCursor','jsx','UNIVER_DOC','INVALID_INVITE_CODE','_anchor','tag','_transformHistoryAndStateStack','children','OffLineIcon','_getSheetObject','sheetID','UniverRpc','forEach','drawWith','FETCH_MISS','getOwnPropertyDescriptor','Rectangle','_urlService','debounce','replaceDocRanges','registerBeforeClose','IUniverInstanceService','SNAPSHOT_INVALID_SNAPSHOT','mask','dispose','295416ILuSmT','DOC_RANGE_TYPE','saveOfflineData','use','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','color','handleInsertRangeMoveDown','executionId','unsubscribe','_getMergeRange','attrs','body','RefRangeService','_session','_refreshCollabCursors','subscribe','triggerDblclick','invokeId','values','setShapeProps','CommandType','_toggleOnline','SheetCollabCursorShape','Warning','@univerjs/ui','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','#FFF','entityInit$','_textBubble','_beforeCloseService','fillText','defs','_unitStatus','/run/','BuiltInUIPart','_commandService','save','BrowserCollaborationSocketService','get','history','16194216CJQZnH','none','_removeCollabCursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','ACTIVE_UNIT_EVENT_CHANNEL','OnLineIcon','skeleton','defIds','createIdentifier','handleMoveRange','YUUMI_AI_RUN_FAILED','ONLINE','_configService','getOwnPropertySymbols','indexOf','Error','_initStatusComponent','moveTo','SOCKET_FAILED_RETRY','RemoveRowCommandId','url(#off-line-icon_clip0_910_343)','redoState','backgroundColor','complete','OTHER_CLIENT_EDITING','RevisionService','MOBILE_HAS_BEEN_BOUND','_clearOtherTimers','@univerjs/sheets','CollaborationUIEventId','_localStorageService','RxDisposable','_messageService','getColor','WECHAT_HAS_BEEN_BOUND','UniverDocsUi','_status$','disposeWithMe','url(#on-line-icon_clip0_910_349)','ColorKit','name','from','MUTATION','_assignedColors','string','SetTextSelectionsOperation','_updateLocalCursor','_collaborationUIEventService','getSheetId','find','_themeService','UPDATE_CURSOR','black','APPLY_REJECT','_colorAssignService','href','div','collabStatus.syncing','collabStatus.fetchMiss','with','NOT_COLLAB','COMPLETION_FINISHED','IUIPartsService','PERMISSION_DENIED','toDisposable','runId','roomMembers$','_docSkeleton','_docTransformStateCacheService','_updateURLWithCurrentState','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','setParam','getSkeleton','APPLY_PERMISSION_DENIED','startRow','undoState','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REVISION_CONFILICT','search','Module','result','VIEW_MAIN','_registerDependencies','collab-text-range-','prototype','INVITE_CODE_REQUIRED','closePath','YUUMI_ASYNCIO_CANCELLED','_selfUnitIDs','merge','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleSaving','takeUntil','clearTimeout','trim','_initCommandExecutedListener','svg','error','currentTheme$','_memberService','text','_hovered','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','on-line-icon','getConfig','DesktopCollaborationStatusDisplayController','transformSelections','_draw','on-line-icon_clip0_910_349','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEventSubject','transformIMECache','asObservable','_handleLeaveEvent','mapTo','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','getSheetObject','getColorFromTheme','CollaborationSessionService','_docStateChangeManagerService','Disposable','_getSessionTicket','enableLocalCache','getLocalCacheKey','beginPath','next','isTransformMutationsWithChangesetSuccess','ICommandService','onPointerMove$','doc.mutation.rich-text-editing','ILocalCacheService','Vector2','collab-client.tooltip.reconnect','removeParam','url(#$1','_renderManagerService','setItem','UnitStatus','generateRandomId','_scene','CollaborationController','Rect','CHANGESET_REVISION_CONFILICT','popstate','deserializeRangeWithSheet','range','toString','APPLY_NON_SEQUENTIAL_REVISION','add','replace','_unitOnClients','_collaborationController','_initStatusListener','LOGIN_FAILED','setTimeout','object','m2Prime','flatMap','OTHER_CLIENTS_EDITING','_notificationService','toRgbString','mutations','max','UniverProCollaborationClient','sessionTicket','addEventListener','SYNCED','_lastPointer','USERS_LEAVE','_handleEvent','jiqing.500','@univerjs/engine-formula','then','_handleHover','propertyIsEnumerable','_hover','INVITE_CODE_ALREADY_BOUND','pipe','...','_syncEditingCollabCursorService','_roomMembers$','source','textRanges','imageSourceType','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','UniverIcon','bottom','@univerjs/network','cursorInfo$','switchMap','InsertColCommandId','unshift','font','UNIVER_SHEET','getMember','INVITE_CODE_HAS_BEEN_UES','IDocClipboardService','_handleJoinEvent','_startSheetCollabCursor','DocIMEInputManagerService','_disabled','ILocalStorageService','@univerjs/sheets-ui','DocSelectionManagerService','pluginName','event$','Inject','_cursorInfo$','fill','_docClipboardService','_httpService','_collabSessionService','UNRECOGNIZED','sheetId','collab-text-anchor-','parse','red.300','LICENSE_EXPORT_SIZE_EXCEEDED','_send','onPointerEnter$','getAncestorScale','executeCommand','wsSessionTicketUrl','COLORS','Tooltip','_docSyncEditingCollabCursorService','storage','editingUnit','_labelPosition','subunit','registerRenderModule','registerComponent','includes','getSheetBySheetId','_colorIndex','createInstance','onCommandExecuted','onStarting','isTransformMutationFailure','engine','@univerjs-pro/collaboration-client','TEXT','_color','[CollaborationDataLoaderController]','setInterval','RichTextEditingMutation','BehaviorSubject','IBeforeCloseService','RegularPolygon','UniverCollaborationClientUIPlugin','_entityInit$','_initEntityListener','InsertRowCommandId','evenodd','getUniverSheetInstance','path','INotificationService','LICENSE_MAX_UNITS_EXCEEDED','react/jsx-runtime','location','_handleHeartbeatEvent','ITransformService','dispose$','ILogService','_cachedData','getCoordByCell','findNodePositionByCharIndex','cursorInfo','exhaustSavingTask','_backgroundColor','_saveTaskMap','override','_transformService','top','defineProperty','_name','_getSaveTimeout','1em','RECT','getUnhiddenWorksheets','1016920rWrqBt','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENSURE_SNAPSHOT_EXECUTION','debounceTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEvent','forwardRef','isEditing','_univerInstanceService','_initDependencies','DocSkeletonManagerService','getUnitStatus$','makeDirty','_context','UniverDrawing','@univerjs/engine-render','key','getActiveSheet','getActiveRange','ticket','exports','contains','useDependency','rxjs/operators','NO_OTHER_CLIENTS_EDITING','fillStyle','addObjects','createSocket','unit','getStateCache','TOO_MANY_REQUESTS','requireSession','_logService','_cursorShapes','delete','M0\x200H16V16H0z','CollaborationEvent','_entities','_updateCollabCursors','_instanceService','2246516jhRHDd','IURLService','InsertRangeMoveRightCommandId','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','init','permission.title','useCallback','roomMembers','5UCVhAl'];_0x3f6b=function(){return _0x5a7927;};return _0x3f6b();}(function(_0x47674f,_0x53209b){const _0x3ae961=_0x1bfb,_0x431aa7=_0x47674f();while(!![]){try{const _0x8b4571=parseInt(_0x3ae961(0x213))/0x1+-parseInt(_0x3ae961(0x1bc))/0x2+-parseInt(_0x3ae961(0x76))/0x3+-parseInt(_0x3ae961(0x1e6))/0x4*(-parseInt(_0x3ae961(0x1ef))/0x5)+-parseInt(_0x3ae961(0x300))/0x6+-parseInt(_0x3ae961(0x1fa))/0x7+parseInt(_0x3ae961(0xa0))/0x8;if(_0x8b4571===_0x53209b)break;else _0x431aa7['push'](_0x431aa7['shift']());}catch(_0x15268e){_0x431aa7['push'](_0x431aa7['shift']());}}}(_0x3f6b,0x8d41f),function(_0x330c26,_0x51112a){const _0x14ece9=_0x1bfb;typeof exports==_0x14ece9(0x13e)&&typeof module<'u'?_0x51112a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x14ece9(0x22b)&&define['amd']?define([_0x14ece9(0x1d2),_0x14ece9(0x194),'@univerjs/core',_0x14ece9(0x1cd),_0x14ece9(0x15f),_0x14ece9(0x2af),'@univerjs/drawing',_0x14ece9(0x2db),_0x14ece9(0x2c9),_0x14ece9(0x283),_0x14ece9(0x14e),_0x14ece9(0xbd),_0x14ece9(0x1d5),_0x14ece9(0x16e),_0x14ece9(0x1a6),_0x14ece9(0x8f),_0x14ece9(0x287),_0x14ece9(0x261),'@univerjs/rpc'],_0x51112a):(_0x330c26=typeof globalThis<'u'?globalThis:_0x330c26||self,_0x51112a(_0x330c26['UniverProCollaborationClientUi']={},_0x330c26[_0x14ece9(0x146)],_0x330c26[_0x14ece9(0x27d)],_0x330c26[_0x14ece9(0x235)],_0x330c26[_0x14ece9(0x2bb)],_0x330c26[_0x14ece9(0xc4)],_0x330c26[_0x14ece9(0x1cc)],_0x330c26[_0x14ece9(0x2db)],_0x330c26[_0x14ece9(0x269)],_0x330c26[_0x14ece9(0x205)],_0x330c26['UniverEngineFormula'],_0x330c26['UniverSheets'],_0x330c26[_0x14ece9(0x2db)][_0x14ece9(0x2ed)],_0x330c26['UniverSheetsUi'],_0x330c26[_0x14ece9(0x2c6)],_0x330c26['UniverUi'],_0x330c26[_0x14ece9(0x2f4)],_0x330c26[_0x14ece9(0x2c6)],_0x330c26[_0x14ece9(0x30c)]));}(this,function(_0x4e590a,_0x4d8e7c,_0x3c1804,_0x214f70,_0x3ceccb,_0x4aced0,_0x218659,_0x23318b,_0x4b9b03,_0x3c10b0,_0x5f241f,_0x441e63,_0x46a0e3,_0x476013,_0x508896,_0xb7c596,_0x2e0a42,_0x264b32,_0x9f1645){'use strict';const _0x2a4230=_0x1bfb;var _0x380276=Object[_0x2a4230(0x1b6)],_0x1c82e5=(_0x15d054,_0x236b24,_0x1c9404)=>_0x236b24 in _0x15d054?_0x380276(_0x15d054,_0x236b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c9404}):_0x15d054[_0x236b24]=_0x1c9404,_0x275745=(_0x1bed32,_0x492827,_0x10bca9)=>_0x1c82e5(_0x1bed32,typeof _0x492827!=_0x2a4230(0x240)?_0x492827+'':_0x492827,_0x10bca9),_0x3d403f=Object['getOwnPropertyDescriptor'],_0x1fe922=(_0x5553a3,_0x5e7d42,_0x558daa,_0x109cf6)=>{const _0xc8ea23=_0x2a4230;for(var _0x17b5dd=_0x109cf6>0x1?void 0x0:_0x109cf6?_0x3d403f(_0x5e7d42,_0x558daa):_0x5e7d42,_0x44928a=_0x5553a3[_0xc8ea23(0x210)]-0x1,_0x1f6e35;_0x44928a>=0x0;_0x44928a--)(_0x1f6e35=_0x5553a3[_0x44928a])&&(_0x17b5dd=_0x1f6e35(_0x17b5dd)||_0x17b5dd);return _0x17b5dd;},_0x5ad8e6=(_0x12c773,_0x40f69f)=>(_0xe3e779,_0x53db87)=>_0x40f69f(_0xe3e779,_0x53db87,_0x12c773);let _0x34b7fc=class extends _0x3c1804['RxDisposable']{constructor(_0x16105d,_0x2bf1a2){const _0x37d369=_0x2a4230;super(),this[_0x37d369(0x175)]=_0x16105d,this[_0x37d369(0x1f7)]=_0x2bf1a2,this[_0x37d369(0x2c1)]();}['_init'](){const _0x43380d=_0x2a4230,_0x3092ee=this;this[_0x43380d(0xc6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5dbdde=>{const _0x5c014f=_0x43380d,_0x11312f=await _0x3092ee[_0x5c014f(0x1f7)][_0x5c014f(0x260)](_0x5dbdde);return _0x11312f?{'source':_0x11312f[_0x5c014f(0x158)],'imageSourceType':_0x11312f[_0x5c014f(0x15a)]}:null;}}));}};_0x34b7fc=_0x1fe922([_0x5ad8e6(0x0,_0x4aced0[_0x2a4230(0x168)]),_0x5ad8e6(0x1,_0x218659['IImageIoService'])],_0x34b7fc);const _0x5d0736=[_0x2a4230(0x1fb),_0x2a4230(0x14d),_0x2a4230(0x24a),_0x2a4230(0x17c),'blue.400',_0x2a4230(0x2cc)];class _0x7baa89 extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x5358ee=_0x2a4230;super(...arguments),_0x275745(this,_0x5358ee(0xcc),new Map()),_0x275745(this,_0x5358ee(0x18e),0x0);}[_0x2a4230(0x116)](_0x590c55){const _0x38326a=_0x2a4230;if(this[_0x38326a(0xcc)]['has'](_0x590c55))return this[_0x38326a(0xcc)]['get'](_0x590c55);const _0x15b059=_0x5d0736[this['_colorIndex']];return this[_0x38326a(0x18e)]=(this[_0x38326a(0x18e)]+0x1)%_0x5d0736[_0x38326a(0x210)],this[_0x38326a(0xcc)][_0x38326a(0x2cd)](_0x590c55,_0x15b059),_0x15b059;}}function _0x16b563(_0x125c96){const _0x68dc4c=_0x2a4230;let _0x3f2d17='';for(const _0x96525b of _0x125c96){const {startOffset:_0x4a32e5,endOffset:_0x5086b0,isActive:_0x33d863,rangeType:_0x2eeac8,segmentId:_0xe46ddf,segmentPage:_0x910b4d}=_0x96525b;_0x3f2d17[_0x68dc4c(0x210)]&&(_0x3f2d17+=','),_0x3f2d17+=_0x4a32e5+':'+_0x5086b0+':'+(_0x33d863?'1':'0')+':'+_0x2eeac8+':'+_0xe46ddf+':'+_0x910b4d;}return _0x3f2d17;}function _0x2357db(_0xd96c48){const _0x325e9c=_0x2a4230,_0x34d425=_0xd96c48['split'](','),_0x464a68=[];for(const _0x37bf30 of _0x34d425){const [_0x232a32,_0x447c5f,_0x2fdf8f,_0x370c83,_0x4e62d1,_0x2bcdc7]=_0x37bf30['split'](':');_0x464a68[_0x325e9c(0x264)]({'startOffset':Number(_0x232a32),'endOffset':Number(_0x447c5f),'collapsed':_0x232a32===_0x447c5f,'isActive':_0x2fdf8f==='1','rangeType':_0x370c83===_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]?_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]:_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x1ba)],'segmentId':typeof _0x4e62d1==_0x325e9c(0xcd)?String(_0x4e62d1):'','segmentPage':Number(_0x2bcdc7!=null?_0x2bcdc7:-0x1)});}return _0x464a68[_0x325e9c(0x272)](_0x556dc1=>_0x556dc1[_0x325e9c(0x2d5)])||(_0x464a68[0x0][_0x325e9c(0x2d5)]=!0x0),_0x464a68;}class _0x149923 extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x421fc4=_0x2a4230;super(...arguments),_0x275745(this,'_collabCursorState$',new _0x23318b[(_0x421fc4(0x19a))](null)),_0x275745(this,_0x421fc4(0x2f9),this[_0x421fc4(0x28a)][_0x421fc4(0x112)]());}[_0x2a4230(0x301)](_0x1a0b5b){const _0x26a70f=_0x2a4230,{unitID:_0x3314c9,memberID:_0x3671f5,textRanges:_0x176b10}=_0x1a0b5b,_0x16b09c=_0x16b563(_0x176b10);if(_0x16b09c==='')return;const _0x295e34={'unitID':_0x3314c9,'memberID':_0x3671f5,'selection':_0x16b09c};this[_0x26a70f(0x28a)][_0x26a70f(0x120)](_0x295e34);}}var _0x4d7bdb=Object[_0x2a4230(0x310)],_0x309cb6=(_0x191df8,_0x3d7ed,_0x58ca6a,_0x5c3fea)=>{const _0x586a4d=_0x2a4230;for(var _0x256c72=_0x5c3fea>0x1?void 0x0:_0x5c3fea?_0x4d7bdb(_0x3d7ed,_0x58ca6a):_0x3d7ed,_0x503230=_0x191df8[_0x586a4d(0x210)]-0x1,_0xe4bf9f;_0x503230>=0x0;_0x503230--)(_0xe4bf9f=_0x191df8[_0x503230])&&(_0x256c72=_0xe4bf9f(_0x256c72)||_0x256c72);return _0x256c72;},_0x5def13=(_0x288c71,_0x54703b)=>(_0x251096,_0x418cfb)=>_0x54703b(_0x251096,_0x418cfb,_0x288c71);const _0x8abd4f=0x12c,_0xd996b=0x64;let _0xe43420=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x64fe76,_0x5fd131,_0x1b7b1d,_0x3283e6,_0x1723de,_0x33b8d4,_0x4490f2,_0x27cbae,_0x280b4f){const _0x35210a=_0x2a4230;super(),_0x275745(this,_0x35210a(0x255),!0x1),_0x275745(this,_0x35210a(0x2c1),!0x1),_0x275745(this,_0x35210a(0x173),new _0x23318b[(_0x35210a(0x19a))](new Map())),_0x275745(this,_0x35210a(0x160),this[_0x35210a(0x173)][_0x35210a(0x112)]()),_0x275745(this,_0x35210a(0x157),new _0x23318b[(_0x35210a(0x19a))]([])),_0x275745(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x23318b[_0x35210a(0x1c1)](_0x8abd4f))),_0x275745(this,'_updateLocalCursor',_0x3c1804[_0x35210a(0x6f)](_0x4152e2=>{const _0xde52e=_0x35210a,_0x2c51f8={'eventID':_0x4b9b03['CollaborationEvent'][_0xde52e(0xd4)],'data':{'unitID':this[_0xde52e(0x2be)],'memberID':this[_0xde52e(0x84)][_0xde52e(0x29c)](),'selection':_0x16b563(_0x4152e2)}};this[_0xde52e(0x84)][_0xde52e(0x2fa)](_0x2c51f8,this[_0xde52e(0x2be)]);},_0xd996b)),(this['unitID']=_0x64fe76,this[_0x35210a(0x84)]=_0x5fd131,this[_0x35210a(0x2f5)]=_0x1b7b1d,this[_0x35210a(0xd7)]=_0x3283e6,this[_0x35210a(0x105)]=_0x1723de,this[_0x35210a(0x156)]=_0x33b8d4,this[_0x35210a(0x1b4)]=_0x4490f2,this[_0x35210a(0x1c6)]=_0x27cbae,this['_commandService']=_0x280b4f);}get[_0x2a4230(0x1af)](){const _0x5f17e3=_0x2a4230;return this[_0x5f17e3(0x173)][_0x5f17e3(0x27b)]();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}[_0x2a4230(0x75)](){const _0x5839ab=_0x2a4230;super[_0x5839ab(0x75)](),this[_0x5839ab(0x173)][_0x5839ab(0x120)](new Map()),this[_0x5839ab(0x173)][_0x5839ab(0xb8)](),this['_roomMembers$']['next']([]),this[_0x5839ab(0x157)][_0x5839ab(0xb8)]();}[_0x2a4230(0x1eb)](){const _0x9dbda5=_0x2a4230;this[_0x9dbda5(0x2c1)]||(this[_0x9dbda5(0x2c1)]=!0x0,this[_0x9dbda5(0x84)][_0x9dbda5(0x2f0)][_0x9dbda5(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x9dbda5(0x86)](_0x448df7=>{const _0x213078=_0x9dbda5;_0x448df7===_0x4d8e7c[_0x213078(0x2df)][_0x213078(0xac)]?this[_0x213078(0x8c)]():this['_toggleOffline']();}),this['_session'][_0x9dbda5(0x171)][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this[_0x9dbda5(0x1aa)]))[_0x9dbda5(0x86)](_0x20eb96=>{const _0xd029e1=_0x9dbda5,_0x17a134=_0x20eb96[_0xd029e1(0x225)];_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)][_0xd029e1(0xd4)]&&this['_onCursorUpdate'](_0x20eb96),_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)]['USERS_LEAVE']&&this[_0xd029e1(0x2bc)](_0x20eb96);}),this[_0x9dbda5(0xc6)](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x2674b0=>{const _0x188ee6=_0x9dbda5,_0x366938=_0x2674b0[_0x188ee6(0x270)];_0x366938!=null&&this[_0x188ee6(0x255)]&&_0x2674b0['id']===_0x3c10b0[_0x188ee6(0xce)]['id']&&_0x366938['unitId']===this['unitID']&&_0x366938[_0x188ee6(0x1c5)]===!0x1&&_0x366938[_0x188ee6(0x25a)][_0x188ee6(0x210)]>0x0&&this['_updateLocalCursor'](_0x366938[_0x188ee6(0x25a)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this['dispose$']))[_0x9dbda5(0x86)](_0x4a7b77=>{const _0x4191b6=_0x9dbda5;if((_0x4a7b77==null?void 0x0:_0x4a7b77[_0x4191b6(0x2be)])!==this[_0x4191b6(0x2be)])return;const _0x389cc2={'eventID':_0x4b9b03[_0x4191b6(0x1e2)][_0x4191b6(0xd4)],'data':_0x4a7b77};this[_0x4191b6(0x218)](_0x389cc2);}),this['disposeWithMe'](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x767cf7=>{const _0x597b79=_0x9dbda5;if(_0x767cf7[_0x597b79(0x270)]==null)return;const _0x4c8bd6=_0x767cf7['params'];if(_0x767cf7['id']!==_0x3c10b0[_0x597b79(0x199)]['id']||_0x4c8bd6[_0x597b79(0x203)]!==this['unitID'])return;const _0x3277c3={'id':_0x597b79(0x124),'params':_0x4c8bd6},_0x2115a5=this['cursorInfo'];for(const [_0x1952a5,_0x147dd1]of _0x2115a5){const _0x27c339={'id':_0x597b79(0x124),'params':{'unitId':this[_0x597b79(0x2be)],'actions':null,'textRanges':_0x147dd1[_0x597b79(0x25a)]}},_0x248729=this[_0x597b79(0x1b4)][_0x597b79(0x25b)](_0x3277c3,_0x27c339,!0x1);if(_0x4b9b03[_0x597b79(0x192)](_0x248729))throw _0x248729['error'];_0x2115a5[_0x597b79(0x2cd)](_0x1952a5,{..._0x147dd1,'ranges':_0x248729['m2Prime'][_0x597b79(0x270)][_0x597b79(0x159)]});}queueMicrotask(()=>{const _0x410eba=_0x597b79;this[_0x410eba(0x173)][_0x410eba(0x120)](_0x2115a5);});})));}['_onCursorUpdate'](_0x1af999){const _0x1c1be0=_0x2a4230;var _0x4eb9c3,_0x5d328c;const {memberID:_0x162b4d,selection:_0x418822}=_0x1af999[_0x1c1be0(0xa4)],_0x57d696=_0x2357db(_0x418822),_0x466e9c=(_0x5d328c=(_0x4eb9c3=this[_0x1c1be0(0x105)][_0x1c1be0(0x166)](this[_0x1c1be0(0x2be)],_0x162b4d))==null?void 0x0:_0x4eb9c3[_0x1c1be0(0xc9)])!=null?_0x5d328c:_0x1c1be0(0x239),_0x16f604={'color':this[_0x1c1be0(0xd7)][_0x1c1be0(0x116)](_0x162b4d),'name':_0x466e9c,'ranges':_0x57d696},_0x86def6=this[_0x1c1be0(0x1af)];_0x86def6['set'](_0x162b4d,_0x16f604),this[_0x1c1be0(0x173)][_0x1c1be0(0x120)](_0x86def6);}[_0x2a4230(0x2bc)](_0x11f519){const _0x5dc8c1=_0x2a4230,{memberID:_0x21d0c8}=_0x11f519[_0x5dc8c1(0xa4)],_0x312cbe=this[_0x5dc8c1(0x1af)];_0x312cbe[_0x5dc8c1(0x1e0)](_0x21d0c8),this[_0x5dc8c1(0x173)][_0x5dc8c1(0x120)](_0x312cbe);}['_toggleOnline'](){const _0x59cc9d=_0x2a4230;var _0x16c87c;if(this[_0x59cc9d(0x255)]=!0x0,((_0x16c87c=this['_univerInstanceService'][_0x59cc9d(0x1f8)]())==null?void 0x0:_0x16c87c['getUnitId']())!==this[_0x59cc9d(0x2be)])return;const _0x271c9e=this[_0x59cc9d(0x2f5)][_0x59cc9d(0x9e)](_0x3c10b0[_0x59cc9d(0x16f)])[_0x59cc9d(0x275)]();Array[_0x59cc9d(0x271)](_0x271c9e)&&_0x271c9e[_0x59cc9d(0x210)]>0x0&&this[_0x59cc9d(0xcf)](_0x271c9e);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0xe43420=_0x309cb6([_0x5def13(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5def13(0x3,_0x3c1804[_0x2a4230(0x172)](_0x7baa89)),_0x5def13(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x5def13(0x5,_0x3c1804[_0x2a4230(0x172)](_0x149923)),_0x5def13(0x6,_0x4b9b03[_0x2a4230(0x1a9)]),_0x5def13(0x7,_0x3c1804[_0x2a4230(0x72)]),_0x5def13(0x8,_0x3c1804[_0x2a4230(0x122)])],_0xe43420);var _0x2a39ea=Object['getOwnPropertyDescriptor'],_0x209e9f=(_0x122f81,_0x3d4769,_0x22732a,_0x2f7fe8)=>{for(var _0x569ccb=_0x2f7fe8>0x1?void 0x0:_0x2f7fe8?_0x2a39ea(_0x3d4769,_0x22732a):_0x3d4769,_0x3fd904=_0x122f81['length']-0x1,_0x285981;_0x3fd904>=0x0;_0x3fd904--)(_0x285981=_0x122f81[_0x3fd904])&&(_0x569ccb=_0x285981(_0x569ccb)||_0x569ccb);return _0x569ccb;},_0x6eef53=(_0x4d68da,_0x374d4b)=>(_0x4398cb,_0x3075c8)=>_0x374d4b(_0x4398cb,_0x3075c8,_0x4d68da);const _0x1acebf=0x12c,_0x21d725=0x64,_0x52d308=()=>{let _0x3ce80c=[],_0x4087e4=!0x1;return _0x2e92ce=>{const _0x2eee88=_0x1bfb;_0x3ce80c[_0x2eee88(0x264)](_0x2e92ce),_0x4087e4||(_0x4087e4=!0x0,setTimeout(()=>{_0x3ce80c['forEach'](_0x7314b4=>_0x7314b4()),_0x3ce80c=[],_0x4087e4=!0x1;}));};};let _0x3b49f4=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x11cdcd,_0x251285,_0xe2752f,_0x15e388,_0x3c013c,_0x13342c,_0x3366cb,_0x417020){const _0x39cc7c=_0x2a4230;super(),_0x275745(this,_0x39cc7c(0x255),!0x1),_0x275745(this,'_init',!0x1),_0x275745(this,_0x39cc7c(0x173),new _0x23318b[(_0x39cc7c(0x19a))](new Map())),_0x275745(this,'cursorInfo$',this[_0x39cc7c(0x173)][_0x39cc7c(0x112)]()),_0x275745(this,'_roomMembers$',new _0x23318b[(_0x39cc7c(0x19a))]([])),_0x275745(this,_0x39cc7c(0xe3),this[_0x39cc7c(0x157)][_0x39cc7c(0x154)](_0x23318b[_0x39cc7c(0x1c1)](_0x1acebf))),_0x275745(this,'_updateLocalCursor',_0x3c1804['debounce']((_0xc4ab2f,_0x5129da)=>{const _0xa372ad=_0x39cc7c,_0x3d3c7b={'eventID':_0x4b9b03[_0xa372ad(0x1e2)][_0xa372ad(0xd4)],'data':{'unitID':this['unitID'],'memberID':this[_0xa372ad(0x84)][_0xa372ad(0x29c)](),'selection':_0x5f241f['serializeRangeWithSheet'](_0xc4ab2f,_0x5129da[_0xa372ad(0x134)])}};this[_0xa372ad(0x84)][_0xa372ad(0x2fa)](_0x3d3c7b,this[_0xa372ad(0x2be)]);},_0x21d725)),(this[_0x39cc7c(0x2be)]=_0x11cdcd,this['_session']=_0x251285,this['_injector']=_0xe2752f,this[_0x39cc7c(0xd7)]=_0x15e388,this['_memberService']=_0x3c013c,this['_univerInstanceService']=_0x13342c,this[_0x39cc7c(0x9b)]=_0x3366cb,this[_0x39cc7c(0x222)]=_0x417020);}get[_0x2a4230(0x1af)](){return this['_cursorInfo$']['getValue']();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xb355cb=_0x2a4230;super[_0xb355cb(0x75)](),this[_0xb355cb(0x173)][_0xb355cb(0x120)](new Map()),this[_0xb355cb(0x173)][_0xb355cb(0xb8)](),this[_0xb355cb(0x157)][_0xb355cb(0x120)]([]),this['_roomMembers$'][_0xb355cb(0xb8)]();}['init'](){const _0x40aa7e=_0x2a4230;this[_0x40aa7e(0x2c1)]||(this[_0x40aa7e(0x2c1)]=!0x0,this[_0x40aa7e(0x84)][_0x40aa7e(0x2f0)]['pipe'](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x3fa38e=>{const _0x274179=_0x40aa7e;_0x3fa38e===_0x4d8e7c['SessionStatus'][_0x274179(0xac)]?this[_0x274179(0x8c)]():this['_toggleOffline']();}),this[_0x40aa7e(0x84)][_0x40aa7e(0x171)][_0x40aa7e(0x154)](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x1415d4=>{const _0xcc6b68=_0x40aa7e,_0x589bf5=_0x1415d4[_0xcc6b68(0x225)];_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0xd4)]&&this[_0xcc6b68(0x218)](_0x1415d4),_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0x14b)]&&this[_0xcc6b68(0x2bc)](_0x1415d4);}),this[_0x40aa7e(0x2cf)](),this[_0x40aa7e(0xc6)](this['_commandService']['onCommandExecuted'](_0xde272e=>{const _0x298582=_0x40aa7e;if(this['_online']&&_0xde272e['id']===_0x441e63['SetSelectionsOperation']['id']&&_0xde272e[_0x298582(0x270)][_0x298582(0x203)]===this[_0x298582(0x2be)]){const _0x1ae982=_0xde272e[_0x298582(0x270)];this[_0x298582(0xcf)](_0x1ae982['subUnitId'],_0x1ae982['selections'][0x0]);}})));}[_0x2a4230(0x218)](_0x12a612){const _0x27f0d2=_0x2a4230;var _0x2517bf,_0x5163e9;const {memberID:_0x3d2549,selection:_0x41ec11}=_0x12a612[_0x27f0d2(0xa4)],{sheetName:_0x167449,range:_0x486725}=_0x5f241f[_0x27f0d2(0x133)](_0x41ec11),_0x40cc5c={'name':(_0x5163e9=(_0x2517bf=this['_memberService']['getMember'](this[_0x27f0d2(0x2be)],_0x3d2549))==null?void 0x0:_0x2517bf['name'])!=null?_0x5163e9:_0x27f0d2(0x239),'range':this[_0x27f0d2(0x80)](_0x167449,_0x486725),'sheetID':_0x167449,'color':this['_colorAssignService'][_0x27f0d2(0x116)](_0x3d2549),'selection':_0x41ec11},_0x56f44b=this[_0x27f0d2(0x1af)];_0x56f44b['set'](_0x3d2549,_0x40cc5c),this[_0x27f0d2(0x173)][_0x27f0d2(0x120)](_0x56f44b);}[_0x2a4230(0x2bc)](_0x177a4b){const _0x2abb3b=_0x2a4230,{memberID:_0x5db0b9}=_0x177a4b['data'],_0x35d5fe=this[_0x2abb3b(0x1af)];_0x35d5fe['delete'](_0x5db0b9),this['_cursorInfo$'][_0x2abb3b(0x120)](_0x35d5fe);}[_0x2a4230(0x80)](_0x2cb537,_0x3a1623){const _0x18c111=_0x2a4230;var _0xe2869c,_0x279ccc;const _0x4cede3=(_0x279ccc=(_0xe2869c=this[_0x18c111(0x1c6)][_0x18c111(0x1a2)](this[_0x18c111(0x2be)]))==null?void 0x0:_0xe2869c[_0x18c111(0x18d)](_0x2cb537))==null?void 0x0:_0x279ccc['getMergeData']();return(_0x4cede3==null?void 0x0:_0x4cede3[_0x18c111(0xd2)](_0x49bc1a=>_0x3c1804[_0x18c111(0x311)][_0x18c111(0x1d3)](_0x49bc1a,_0x3a1623)))||_0x3a1623;}[_0x2a4230(0x2cf)](){const _0xa019fc=_0x2a4230,_0x28c2a4=new _0x3c1804[(_0xa019fc(0x2a0))](),_0x2a16e7=_0x52d308(),_0x3f03f6=()=>{const _0x183398=_0xa019fc;_0x28c2a4[_0x183398(0x75)]();const _0x21f6e5=(_0x341224,_0x10081f,_0x2d4086,_0x2eee98)=>{const _0x116381=_0x183398;let _0x2a1f89=[];switch(_0x341224['id']){case _0x441e63['EffectRefRangId'][_0x116381(0x25f)]:{_0x2a1f89=_0x441e63[_0x116381(0x296)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x214)]:{_0x2a1f89=_0x441e63[_0x116381(0x288)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x162)]:{_0x2a1f89=_0x441e63[_0x116381(0x2ae)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0x7d)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x1e8)]:{_0x2a1f89=_0x441e63[_0x116381(0x29b)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x1a0)]:{_0x2a1f89=_0x441e63['handleInsertRow'](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['MoveRangeCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0xaa)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x211)]:{_0x2a1f89=_0x441e63[_0x116381(0x266)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0xb4)]:{_0x2a1f89=_0x441e63['handleIRemoveRow'](_0x341224,_0x2eee98);break;}}const _0x5152cd=_0x441e63['runRefRangeMutations'](_0x2a1f89,_0x2eee98),_0x43b44a=this['cursorInfo'][_0x116381(0x9e)](_0x10081f);if(_0x43b44a&&_0x5152cd){const _0x479b91={..._0x43b44a,'range':_0x5152cd};this[_0x116381(0x1af)]['set'](_0x10081f,_0x479b91),_0x2a16e7(()=>{const _0x17a931=_0x116381,_0x463983=this['_refRangeService']['registerRefRange'](_0x5152cd,_0x295c18=>(_0x463983['dispose'](),_0x21f6e5(_0x295c18,_0x10081f,_0x2d4086,_0x5152cd)));_0x28c2a4[_0x17a931(0x137)](_0x463983);});}return{'redos':[],'undos':[]};};this[_0x183398(0x1af)][_0x183398(0x30d)]((_0xea0cf4,_0x202583)=>{const _0x39e2d2=_0x183398,{range:_0x308a16,sheetID:_0x59ebbb}=_0xea0cf4,_0x19760d=this[_0x39e2d2(0x222)][_0x39e2d2(0x26d)](_0x308a16,_0x248713=>(_0x19760d[_0x39e2d2(0x75)](),_0x21f6e5(_0x248713,_0x202583,_0x59ebbb,_0x308a16)));_0x28c2a4[_0x39e2d2(0x137)](_0x19760d);});};this[_0xa019fc(0xc6)](_0x3c1804[_0xa019fc(0xe1)](this[_0xa019fc(0x173)][_0xa019fc(0x86)](()=>{_0x3f03f6();})));}[_0x2a4230(0x8c)](){const _0x6daa77=_0x2a4230;var _0x149784,_0x190bba;if(this[_0x6daa77(0x255)]=!0x0,((_0x149784=this[_0x6daa77(0x1c6)][_0x6daa77(0x1f8)]())==null?void 0x0:_0x149784[_0x6daa77(0x224)]())!==this[_0x6daa77(0x2be)])return;const _0x2ec9c9=(_0x190bba=this['_injector']['get'](_0x441e63['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x190bba[0x0],_0xa3730b=this['_univerInstanceService']['getCurrentUnitForType'](_0x3c1804[_0x6daa77(0x253)]['UNIVER_SHEET'])[_0x6daa77(0x1cf)]();_0x2ec9c9&&_0xa3730b&&this[_0x6daa77(0xcf)](_0xa3730b[_0x6daa77(0xd1)](),_0x2ec9c9);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0x3b49f4=_0x209e9f([_0x6eef53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x6eef53(0x3,_0x3c1804['Inject'](_0x7baa89)),_0x6eef53(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x6eef53(0x5,_0x3c1804['IUniverInstanceService']),_0x6eef53(0x6,_0x3c1804['ICommandService']),_0x6eef53(0x7,_0x3c1804[_0x2a4230(0x172)](_0x441e63[_0x2a4230(0x83)]))],_0x3b49f4);var _0x374931=Object[_0x2a4230(0x310)],_0xa8e2db=(_0x25cd54,_0x17de9a,_0x138d22,_0x37f122)=>{for(var _0x4432ed=_0x37f122>0x1?void 0x0:_0x37f122?_0x374931(_0x17de9a,_0x138d22):_0x17de9a,_0x297e47=_0x25cd54['length']-0x1,_0x34f680;_0x297e47>=0x0;_0x297e47--)(_0x34f680=_0x25cd54[_0x297e47])&&(_0x4432ed=_0x34f680(_0x4432ed)||_0x4432ed);return _0x4432ed;},_0x5b6c99=(_0x838315,_0x59662f)=>(_0x3bceb3,_0x112391)=>_0x59662f(_0x3bceb3,_0x112391,_0x838315);let _0x120278=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x9f51e2,_0x4f8047,_0x583da1){const _0x41d699=_0x2a4230;super(),_0x275745(this,'_entities',new Map()),_0x275745(this,_0x41d699(0x19e),new _0x23318b[(_0x41d699(0x22e))]()),(this[_0x41d699(0x1c6)]=_0x9f51e2,this[_0x41d699(0x2f5)]=_0x4f8047,this['_collabSessionService']=_0x583da1,this[_0x41d699(0x2c1)]());}[_0x2a4230(0x75)](){const _0x2ad6f5=_0x2a4230;super[_0x2ad6f5(0x75)](),this['_entityInit$'][_0x2ad6f5(0xb8)](),this[_0x2ad6f5(0x1e3)][_0x2ad6f5(0x30d)](_0x373ab7=>_0x373ab7[_0x2ad6f5(0x75)]());}[_0x2a4230(0x2c5)](_0x52c4ac){const _0x235674=_0x2a4230;return this[_0x235674(0x1e3)][_0x235674(0x23e)](_0x52c4ac)?this[_0x235674(0x1e3)]['get'](_0x52c4ac)[_0x235674(0x160)]:this[_0x235674(0x19e)][_0x235674(0x154)](_0x23318b[_0x235674(0x299)](_0x2d9715=>_0x2d9715[_0x235674(0x2be)]===_0x52c4ac),_0x23318b[_0x235674(0x161)](_0x256e60=>_0x256e60['cursorInfo$']));}[_0x2a4230(0x2c1)](){const _0x4e56c7=_0x2a4230;this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)])[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0xfe)](this[_0x4e56c7(0x1aa)]))['subscribe'](async _0x217d31=>{const _0x36198a=_0x4e56c7,_0x59ce08=_0x217d31[_0x36198a(0x224)](),_0x24256b=await this[_0x36198a(0x16a)](_0x59ce08);this[_0x36198a(0x19e)]['next'](_0x24256b),this[_0x36198a(0x1e3)][_0x36198a(0x2cd)](_0x59ce08,_0x24256b);}),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)])[_0x4e56c7(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0x299)](_0x2ea437=>!_0x2ea437[_0x4e56c7(0x224)]()['startsWith']('__')))[_0x4e56c7(0x86)](async _0x4c906b=>{const _0x5f0547=_0x4e56c7,_0x47c08d=_0x4c906b['getUnitId'](),_0x4c6f83=await this['_startDocCollabCursor'](_0x47c08d);this[_0x5f0547(0x19e)][_0x5f0547(0x120)](_0x4c6f83),this['_entities'][_0x5f0547(0x2cd)](_0x47c08d,_0x4c6f83);}),_0x23318b[_0x4e56c7(0xfb)](this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)]),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)]))['pipe'](_0x23318b['takeUntil'](this[_0x4e56c7(0x1aa)]))[_0x4e56c7(0x86)](_0x4c595e=>{const _0x374b57=_0x4e56c7,_0x2405c8=_0x4c595e[_0x374b57(0x224)](),_0xa0eaa6=this[_0x374b57(0x1e3)]['get'](_0x2405c8);_0xa0eaa6&&(_0xa0eaa6[_0x374b57(0x75)](),this[_0x374b57(0x1e3)][_0x374b57(0x1e0)](_0x2405c8));});}async[_0x2a4230(0x16a)](_0x22be76){const _0x57092d=_0x2a4230,_0x311917=await this['_collabSessionService'][_0x57092d(0x1dd)](_0x22be76),_0x19b50a=this[_0x57092d(0x2f5)][_0x57092d(0x18f)](_0x3b49f4,_0x22be76,_0x311917);return _0x19b50a[_0x57092d(0x1eb)](),_0x19b50a;}async['_startDocCollabCursor'](_0x427681){const _0x4ef5cd=_0x2a4230,_0x5862f8=await this[_0x4ef5cd(0x177)][_0x4ef5cd(0x1dd)](_0x427681),_0x2a92cb=this[_0x4ef5cd(0x2f5)][_0x4ef5cd(0x18f)](_0xe43420,_0x427681,_0x5862f8);return _0x2a92cb[_0x4ef5cd(0x1eb)](),_0x2a92cb;}};_0x120278=_0xa8e2db([_0x5b6c99(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x5b6c99(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5b6c99(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x119)]))],_0x120278);const _0xfc8153=0x14,_0x51fabc=0xc8,_0x3451a1=0x4,_0x12a43c=0x5;function _0x18b18c(_0x19ea8f,_0x4b111b){const _0x5b542b=_0x2a4230;let {radius:_0x400b01,width:_0x551ee2,height:_0xb128ac}=_0x4b111b;_0x400b01=_0x400b01!=null?_0x400b01:0x0,_0x551ee2=_0x551ee2!=null?_0x551ee2:0x1e,_0xb128ac=_0xb128ac!=null?_0xb128ac:0x1e;let _0x412233=0x0,_0x575ffc=0x0,_0x12a4c3=0x0;_0x412233=_0x575ffc=_0x12a4c3=Math[_0x5b542b(0x2a2)](_0x400b01,_0x551ee2/0x2,_0xb128ac/0x2),_0x19ea8f[_0x5b542b(0x11f)](),_0x19ea8f[_0x5b542b(0xb2)](_0x412233,0x0),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2-_0x575ffc,0x0),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x575ffc,_0x575ffc,_0x575ffc,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2,_0xb128ac-_0x12a4c3),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x12a4c3,_0xb128ac-_0x12a4c3,_0x12a4c3,0x0,Math['PI']/0x2,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0xb128ac),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0x412233),_0x19ea8f['arc'](_0x412233,_0x412233,_0x412233,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ea8f[_0x5b542b(0xf8)](),_0x4b111b['fill']&&(_0x19ea8f[_0x5b542b(0x9c)](),_0x19ea8f[_0x5b542b(0x1d7)]=_0x4b111b['fill'],_0x4b111b[_0x5b542b(0x292)]===_0x5b542b(0x1a1)?_0x19ea8f[_0x5b542b(0x174)](_0x5b542b(0x1a1)):_0x19ea8f[_0x5b542b(0x174)](),_0x19ea8f[_0x5b542b(0x246)]());}class _0x49c000 extends _0x214f70[_0x2a4230(0x242)]{constructor(_0xdb6f63,_0xdc2041){const _0x45a891=_0x2a4230;super(_0xdb6f63,_0xdc2041),_0x275745(this,_0x45a891(0x7c)),_0x275745(this,_0x45a891(0x106)),(this['color']=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x7c)],this[_0x45a891(0x106)]=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x106)]);}static[_0x2a4230(0x30e)](_0x5703f6,_0x574eb9){const _0xd517b0=_0x2a4230,{text:_0x1da70a,color:_0x4682c6}=_0x574eb9;_0x5703f6['save'](),_0x5703f6[_0xd517b0(0x164)]=_0xd517b0(0xa3);const _0x32cfbf=_0x5703f6[_0xd517b0(0x2b0)](_0x1da70a)['width'],_0x253707=Math[_0xd517b0(0x2a2)](_0x32cfbf+0x2*_0x3451a1,_0x51fabc);_0x18b18c(_0x5703f6,{'height':_0xfc8153,'radius':0x4,'width':_0x253707,'fill':_0x4682c6}),_0x5703f6[_0xd517b0(0x1d7)]=_0xd517b0(0x92);const _0x527db4=_0x3451a1,_0x2e75e2=_0xfc8153-_0x12a43c,_0x54592b=_0x51fabc-0x2*_0x3451a1;if(_0x32cfbf>_0x54592b){let _0x4e97e0='',_0x1cc19e=0x0;for(const _0x30b071 of _0x1da70a){const _0x3d6f1d=_0x5703f6[_0xd517b0(0x2b0)](_0x30b071)[_0xd517b0(0x2a5)];if(_0x1cc19e+_0x3d6f1d<=_0x54592b-_0x5703f6[_0xd517b0(0x2b0)](_0xd517b0(0x155))[_0xd517b0(0x2a5)])_0x4e97e0+=_0x30b071,_0x1cc19e+=_0x3d6f1d;else{_0x4e97e0+=_0xd517b0(0x155);break;}}_0x5703f6[_0xd517b0(0x96)](_0x4e97e0,_0x527db4,_0x2e75e2);}else _0x5703f6['fillText'](_0x1da70a,_0x527db4,_0x2e75e2);_0x5703f6[_0xd517b0(0x246)]();}[_0x2a4230(0x10d)](_0x139a14){const _0xe0bce5=_0x2a4230;_0x49c000[_0xe0bce5(0x30e)](_0x139a14,this);}}const _0x4246ea=_0x2a4230(0x17a),_0x59d2ca=_0x2a4230(0xf5),_0x28663b=_0x2a4230(0x2ef),_0x1cab94=0x6,_0x45dd66=1.5,_0x1def78=0x4,_0x1fbb32=1.5,_0x155ab8=_0x2a4230(0x7a);class _0x1af15c{constructor(_0x486bc4,_0x385a2e,_0x4cbb4b,_0x4ba366){const _0x5185e0=_0x2a4230;_0x275745(this,_0x5185e0(0x2a3),[]),_0x275745(this,_0x5185e0(0x305),null),_0x275745(this,_0x5185e0(0x94),null),_0x275745(this,'_anchorDot',null),_0x275745(this,_0x5185e0(0x2e2),null),_0x275745(this,_0x5185e0(0x22f),null),(this[_0x5185e0(0x257)]=_0x486bc4,this[_0x5185e0(0x12e)]=_0x385a2e,this[_0x5185e0(0xe4)]=_0x4cbb4b,this['_document']=_0x4ba366,this['_render']());}set[_0x2a4230(0x152)](_0x2751e7){const _0x5d21c5=_0x2a4230;_0x2751e7?(this[_0x5d21c5(0x256)]&&this[_0x5d21c5(0x256)]['hide'](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x278)]()):(this['_anchorDot']&&this[_0x5d21c5(0x256)][_0x5d21c5(0x278)](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x2f3)]());}[_0x2a4230(0x75)](){const _0x165a89=_0x2a4230;for(const _0x4f3973 of this['_shapes'])_0x4f3973['dispose']();this[_0x165a89(0x94)]&&this[_0x165a89(0x94)][_0x165a89(0x75)](),this[_0x165a89(0x256)]&&this[_0x165a89(0x256)]['dispose'](),this['_anchor']&&this[_0x165a89(0x305)]['dispose'](),this[_0x165a89(0x22f)]&&this[_0x165a89(0x22f)]();}[_0x2a4230(0x243)](){const _0x3ad07d=_0x2a4230;var _0x26b581;const {_docSkeleton:_0x1fbd00,_document:_0x432c4a}=this,{color:_0x20578d,name:_0x453b6c,ranges:_0xd5eb09}=this['_cursor'],_0x9066b0=_0x432c4a[_0x3ad07d(0x201)](),{docsLeft:_0x2a4f59,docsTop:_0x35ee1c}=_0x9066b0,_0x42278b=new _0x4aced0['NodePositionConvertToCursor'](_0x9066b0,_0x1fbd00);for(const {startOffset:_0x5ea81a,endOffset:_0x5e2f72,rangeType:_0x133b36,segmentId:_0x3fd846,segmentPage:_0x57709d,collapsed:_0x1aa0d7,isActive:_0x4f674e}of _0xd5eb09){const _0x1443db=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5ea81a,!0x0,_0x3fd846,_0x57709d);let _0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72,!0x0,_0x3fd846,_0x57709d);if(_0x1d363f==null&&(_0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72-0x1,!0x1,_0x3fd846,_0x57709d)),_0x4f674e){const {contentBoxPointGroup:_0x3970c7}=_0x42278b[_0x3ad07d(0x2d9)](_0x1d363f,_0x1d363f);if(_0x3970c7[_0x3ad07d(0x210)]===0x0)continue;this[_0x3ad07d(0x28f)](_0x20578d,_0x3970c7,_0x2a4f59,_0x35ee1c,_0x453b6c),this['_eventUnsubscribe']=this[_0x3ad07d(0x150)]();}if(_0x1443db&&_0x1d363f){if(_0x133b36===_0x3c1804['DOC_RANGE_TYPE']['RECT']){const _0x25cacf=new _0x4aced0[(_0x3ad07d(0x2aa))](_0x9066b0,_0x1fbd00),{pointGroup:_0x42668e}=(_0x26b581=_0x25cacf[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f))!=null?_0x26b581:{};if(_0x42668e==null||_0x42668e[_0x3ad07d(0x210)]===0x0)continue;this['_drawRectRange'](_0x20578d,_0x42668e,_0x2a4f59,_0x35ee1c);}else{if(!_0x1aa0d7){const {borderBoxPointGroup:_0x376493}=_0x42278b[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f);if(_0x376493[_0x3ad07d(0x210)]===0x0)continue;this['_drawTextRange'](_0x20578d,_0x376493,_0x2a4f59,_0x35ee1c);}}}}}[_0x2a4230(0x28f)](_0x359374,_0x295fef,_0x25c13a,_0x453b01,_0x4eaa67){const _0x5f3b6b=_0x2a4230,_0x2f95c8=this[_0x5f3b6b(0x221)](_0x295fef),{left:_0x3e53fb,top:_0x289382,height:_0x846b41}=_0x2f95c8,_0x2e3382=this[_0x5f3b6b(0x228)](),_0x134e17=_0x1fbb32/_0x2e3382,_0x25114c=new _0x214f70[(_0x5f3b6b(0x130))](_0x4246ea+_0x3c1804['generateRandomId'](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01,'height':_0x846b41,'width':_0x45dd66,'fill':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)]['black'],0x0),'strokeWidth':_0x134e17,'stroke':_0x155ab8,'evented':!0x0});this['_anchor']=_0x25114c,this['_scene'][_0x5f3b6b(0x263)](_0x25114c,_0x4aced0[_0x5f3b6b(0x241)]);const _0x36fd91=new _0x214f70['Rect'](_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0x1def78/0x2,'height':_0x1def78,'width':_0x1def78,'fill':_0x359374||_0x214f70['getColor'](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'strokeWidth':0x0,'stroke':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'evented':!0x1});this[_0x5f3b6b(0x256)]=_0x36fd91,this['_scene'][_0x5f3b6b(0x263)](_0x36fd91,_0x4aced0[_0x5f3b6b(0x241)]);const _0x5e27c4=new _0x49c000(_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0xfc8153,'text':_0x4eaa67,'color':_0x359374});this[_0x5f3b6b(0x94)]=_0x5e27c4,this[_0x5f3b6b(0x12e)][_0x5f3b6b(0x263)](_0x5e27c4,_0x4aced0[_0x5f3b6b(0x241)]),this[_0x5f3b6b(0x152)]=!0x1;}[_0x2a4230(0x150)](){const _0x510165=_0x2a4230,_0x148dc0=this[_0x510165(0x305)][_0x510165(0x17f)]['subscribeEvent'](()=>{const _0x297798=_0x510165;this[_0x297798(0x152)]=!0x0;}),_0x5181ec=this[_0x510165(0x305)]['onPointerLeave$'][_0x510165(0x297)](()=>{const _0x22258b=_0x510165;this['_hideTimer']&&clearTimeout(this[_0x22258b(0x2e2)]),this['_hideTimer']=setTimeout(()=>{const _0x130bbb=_0x22258b;this[_0x130bbb(0x152)]=!0x1;},0x7d0);});return()=>{const _0x3edb74=_0x510165;_0x148dc0[_0x3edb74(0x7f)](),_0x5181ec[_0x3edb74(0x7f)]();};}[_0x2a4230(0x20c)](_0x54b466,_0x26b1c5,_0x4d29af,_0x5b686d){const _0x35e534=_0x2a4230,_0xcb7772=new _0x3c1804[(_0x35e534(0xc8))](_0x54b466)[_0x35e534(0x1ff)](0.2)[_0x35e534(0x143)](),_0x216698=new _0x214f70[(_0x35e534(0x19c))](_0x59d2ca+_0x3c1804['generateRandomId'](_0x1cab94),{'pointsGroup':_0x26b1c5,'fill':_0xcb7772||_0x214f70[_0x35e534(0xc2)](_0x3c1804[_0x35e534(0x183)][_0x35e534(0xd5)],0.2),'left':_0x4d29af,'top':_0x5b686d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35e534(0x264)](_0x216698),this['_scene'][_0x35e534(0x263)](_0x216698,_0x4aced0[_0x35e534(0x241)]);}['_drawRectRange'](_0x5be2dd,_0x53cdff,_0x1c5560,_0x3cc537){const _0xb002a1=_0x2a4230,_0x5b40ea=new _0x3c1804[(_0xb002a1(0xc8))](_0x5be2dd)[_0xb002a1(0x1ff)](0.2)['toRgbString'](),_0x4b26bc=new _0x214f70[(_0xb002a1(0x19c))](_0x28663b+_0x3c1804[_0xb002a1(0x12d)](_0x1cab94),{'pointsGroup':_0x53cdff,'fill':_0x5b40ea||_0x214f70[_0xb002a1(0xc2)](_0x3c1804[_0xb002a1(0x183)][_0xb002a1(0xd5)],0.2),'left':_0x1c5560,'top':_0x3cc537,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb002a1(0x2a3)][_0xb002a1(0x264)](_0x4b26bc),this[_0xb002a1(0x12e)][_0xb002a1(0x263)](_0x4b26bc,_0x4aced0[_0xb002a1(0x241)]);}[_0x2a4230(0x221)](_0x2eac69){const _0x280cc2=_0x2eac69[0x0],_0x30b0de=_0x280cc2[0x0],_0x58e336=_0x280cc2[0x2],{x:_0x5309b5,y:_0x1b88e5}=_0x30b0de,{x:_0x18c7c4,y:_0x2df576}=_0x58e336;return{'left':_0x5309b5,'top':_0x1b88e5,'width':_0x18c7c4-_0x5309b5,'height':_0x2df576-_0x1b88e5};}['_getScale'](){const _0x3e61e7=_0x2a4230,{scaleX:_0x3123b8,scaleY:_0x495f3d}=this['_scene'][_0x3e61e7(0x180)]();return Math[_0x3e61e7(0x145)](_0x3123b8,_0x495f3d);}}var _0x7b9f27=Object[_0x2a4230(0x310)],_0x239aad=(_0x409e8c,_0x578abe,_0x2a848b,_0x14307c)=>{const _0x57991=_0x2a4230;for(var _0x2c06aa=_0x14307c>0x1?void 0x0:_0x14307c?_0x7b9f27(_0x578abe,_0x2a848b):_0x578abe,_0x3b2e5c=_0x409e8c[_0x57991(0x210)]-0x1,_0x1128d8;_0x3b2e5c>=0x0;_0x3b2e5c--)(_0x1128d8=_0x409e8c[_0x3b2e5c])&&(_0x2c06aa=_0x1128d8(_0x2c06aa)||_0x2c06aa);return _0x2c06aa;},_0x36a65f=(_0x39b179,_0x191e6c)=>(_0xc564f1,_0x21f014)=>_0x191e6c(_0xc564f1,_0x21f014,_0x39b179);let _0x5eb364=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x417f66,_0x433ae9,_0x51a664,_0x15b693,_0x1c75a5){const _0x238827=_0x2a4230;super(),_0x275745(this,'_cursorShapes',[]),_0x275745(this,_0x238827(0x1f3),[]),(this[_0x238827(0x1cb)]=_0x417f66,this[_0x238827(0x25e)]=_0x433ae9,this[_0x238827(0x2e5)]=_0x51a664,this['_commandService']=_0x15b693,this[_0x238827(0xd3)]=_0x1c75a5,this[_0x238827(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x235804=_0x2a4230,_0x1d763c=this[_0x235804(0x1cb)]['unitId'],_0x14fc00=this[_0x235804(0x25e)];this['disposeWithMe'](_0x23318b['combineLatest']([this[_0x235804(0x2e5)][_0x235804(0x2c5)](_0x1d763c),this[_0x235804(0xd3)][_0x235804(0x104)]])['pipe'](_0x46a0e3['map'](([_0x5c9844,_0x457cd5])=>({'skeleton':_0x14fc00['getSkeleton'](),'cursors':[..._0x5c9844[_0x235804(0x89)]()][_0x235804(0x140)](_0x12665c=>({..._0x12665c,'color':this['_themeService'][_0x235804(0x118)](_0x12665c[_0x235804(0x7c)])}))})))[_0x235804(0x86)](_0x4aa1a9=>{const _0x557802=_0x235804;if(this[_0x557802(0xa2)](),_0x4aa1a9){const {skeleton:_0xbc45d8,cursors:_0x5af445}=_0x4aa1a9;this[_0x557802(0x1e4)](_0xbc45d8,_0x5af445);}})),this[_0x235804(0x2a1)](),this['_initCommandExecutedListener']();}[_0x2a4230(0x1e4)](_0x966920,_0x1ed703){const _0xaaae=_0x2a4230,{scene:_0x35c4a1,mainComponent:_0x4808ee}=this[_0xaaae(0x1cb)],_0x532aed=_0x1ed703[_0xaaae(0x274)](_0x4b4f4c=>new _0x1af15c(_0x4b4f4c,_0x35c4a1,_0x966920,_0x4808ee));this[_0xaaae(0x1df)]=_0x532aed,this['_cursors']=_0x1ed703;}[_0x2a4230(0x85)](){const _0x20ae75=_0x2a4230;this['_removeCollabCursors']();const {scene:_0x3a233d,mainComponent:_0x405985}=this[_0x20ae75(0x1cb)],_0x439faf=this[_0x20ae75(0x25e)][_0x20ae75(0xea)](),_0x4e6c19=this[_0x20ae75(0x1f3)]['map'](_0x531c98=>new _0x1af15c(_0x531c98,_0x3a233d,_0x439faf,_0x405985));this[_0x20ae75(0x1df)]=_0x4e6c19;}['_removeCollabCursors'](){const _0x150f3b=_0x2a4230;this[_0x150f3b(0x1df)][_0x150f3b(0x30d)](_0x39a583=>_0x39a583['dispose']()),this['_cursorShapes']=[];}[_0x2a4230(0x101)](){const _0x87459d=_0x2a4230,_0x7a789=[_0x4aced0['SetDocZoomRatioOperation']['id']];this[_0x87459d(0xc6)](this[_0x87459d(0x9b)][_0x87459d(0x190)](_0x123f98=>{const _0x5bdd73=_0x87459d;_0x7a789[_0x5bdd73(0x18c)](_0x123f98['id'])&&_0x123f98['params']['unitId']===this['_context'][_0x5bdd73(0x203)]&&this[_0x5bdd73(0x85)]();}));}['_initResize'](){const _0x59ddba=_0x2a4230;this[_0x59ddba(0xc6)](_0x3c1804[_0x59ddba(0x110)](this[_0x59ddba(0x1cb)][_0x59ddba(0x193)][_0x59ddba(0x2fb)])[_0x59ddba(0x154)](_0x46a0e3[_0x59ddba(0x299)](_0x50a60a=>_0x50a60a[_0x59ddba(0x2d7)]===_0x214f70['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x59ddba(0x26b)]),_0x46a0e3['throttleTime'](0x10))[_0x59ddba(0x86)](()=>{const _0x2bc337=_0x59ddba;this[_0x2bc337(0x85)]();}));}};_0x5eb364=_0x239aad([_0x36a65f(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c10b0[_0x2a4230(0x1c8)])),_0x36a65f(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x36a65f(0x3,_0x3c1804['ICommandService']),_0x36a65f(0x4,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x24d)]))],_0x5eb364);const _0x17721a=0x1,_0x4bc1b3=1.5;class _0xfe2e0a extends _0x214f70[_0x2a4230(0x242)]{constructor(_0x1e790a,_0x5ee2ca){const _0x2524bc=_0x2a4230;super(_0x1e790a,_0x5ee2ca),_0x275745(this,'_color'),_0x275745(this,_0x2524bc(0x107),!0x1),_0x275745(this,'_range'),_0x275745(this,_0x2524bc(0x1b7),''),_0x275745(this,_0x2524bc(0x188),_0x2524bc(0x1b5)),_0x275745(this,_0x2524bc(0x1b1)),(_0x5ee2ca&&this[_0x2524bc(0x8a)](_0x5ee2ca),this[_0x2524bc(0x17f)][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x1})));}[_0x2a4230(0x8a)](_0x38e02f){const _0x345340=_0x2a4230;var _0x349f55,_0x37645c,_0x187c53,_0x166042,_0xc0fb4a,_0x5574ae;this[_0x345340(0x196)]=(_0x349f55=_0x38e02f[_0x345340(0x7c)])!=null?_0x349f55:this['_color'],this[_0x345340(0x107)]=(_0x37645c=_0x38e02f[_0x345340(0x2ee)])!=null?_0x37645c:this['_hovered'],this['_range']=(_0x187c53=_0x38e02f[_0x345340(0x134)])!=null?_0x187c53:this[_0x345340(0x2ba)],this[_0x345340(0x1b7)]=(_0x166042=_0x38e02f[_0x345340(0xc9)])!=null?_0x166042:this['_name'],this['_labelPosition']=(_0xc0fb4a=_0x38e02f['labelPosition'])!=null?_0xc0fb4a:this['_labelPosition'],this[_0x345340(0x1b1)]=(_0x5574ae=_0x38e02f[_0x345340(0xb7)])!=null?_0x5574ae:this[_0x345340(0x1b1)],this[_0x345340(0x236)]({'width':_0x38e02f[_0x345340(0x2a5)],'height':_0x38e02f[_0x345340(0x238)]});}[_0x2a4230(0x1f2)](_0x4d76fa){const _0x5b3883=_0x2a4230,{row:_0x508918,column:_0x23d122}=_0x4d76fa;if(_0x508918>=this[_0x5b3883(0x2ba)][_0x5b3883(0xec)]&&_0x508918<=this[_0x5b3883(0x2ba)][_0x5b3883(0x2b2)]&&_0x23d122>=this[_0x5b3883(0x2ba)][_0x5b3883(0x251)]&&_0x23d122<=this[_0x5b3883(0x2ba)]['endColumn']){this[_0x5b3883(0x8a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4230(0x87)](_0x57d02b){return!0x1;}[_0x2a4230(0x10d)](_0x4304fd){const _0x3ea1c7=_0x2a4230;_0x214f70[_0x3ea1c7(0x130)][_0x3ea1c7(0x30e)](_0x4304fd,{'width':this['width'],'height':this[_0x3ea1c7(0x238)],'strokeWidth':_0x4bc1b3,'stroke':this[_0x3ea1c7(0x196)],'evented':!0x1,'fill':this[_0x3ea1c7(0x1b1)]}),this['_hovered']&&(_0x4304fd[_0x3ea1c7(0x9c)](),_0x4304fd[_0x3ea1c7(0x24e)](0x1,0x0,0x0,0x1,this[_0x3ea1c7(0x2a5)],this[_0x3ea1c7(0x188)]===_0x3ea1c7(0x15e)?0x0:-_0xfc8153),_0x49c000[_0x3ea1c7(0x30e)](_0x4304fd,{'text':this[_0x3ea1c7(0x1b7)],'color':this[_0x3ea1c7(0x196)]}),_0x4304fd[_0x3ea1c7(0x246)]());}}var _0x5e65ad=Object[_0x2a4230(0x310)],_0x4a1d02=(_0x223946,_0x11b22a,_0x352d97,_0x114b3f)=>{const _0x57b473=_0x2a4230;for(var _0x48d361=_0x114b3f>0x1?void 0x0:_0x114b3f?_0x5e65ad(_0x11b22a,_0x352d97):_0x11b22a,_0x6e05ff=_0x223946[_0x57b473(0x210)]-0x1,_0x532a83;_0x6e05ff>=0x0;_0x6e05ff--)(_0x532a83=_0x223946[_0x6e05ff])&&(_0x48d361=_0x532a83(_0x48d361)||_0x48d361);return _0x48d361;},_0x33ed27=(_0x5f4494,_0x2a3dd1)=>(_0x232ba7,_0x27e3a2)=>_0x2a3dd1(_0x232ba7,_0x27e3a2,_0x5f4494);const _0x261855=0x1389;let _0x1f6d7b=class extends _0x3c1804['RxDisposable']{constructor(_0x55ec91,_0x1469c1,_0x4e3c64,_0x56c84d){const _0x483d5a=_0x2a4230;super(),_0x275745(this,_0x483d5a(0x1f3),new Set()),_0x275745(this,_0x483d5a(0x14a),null),(this[_0x483d5a(0x1cb)]=_0x55ec91,this[_0x483d5a(0x2a7)]=_0x1469c1,this[_0x483d5a(0x2e5)]=_0x4e3c64,this['_themeService']=_0x56c84d,this[_0x483d5a(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x3fc94e=_0x2a4230;this[_0x3fc94e(0x2a7)]['currentSkeleton$']['pipe'](_0x46a0e3['takeUntil'](this['dispose$']),_0x46a0e3[_0x3fc94e(0x161)](_0xcfc373=>{const _0x4ed379=_0x3fc94e;if(_0xcfc373){const _0xa457c2=_0xcfc373[_0x4ed379(0x179)];return _0x23318b[_0x4ed379(0x208)](this[_0x4ed379(0x2e5)][_0x4ed379(0x2c5)](this[_0x4ed379(0x1cb)][_0x4ed379(0x203)]),this[_0x4ed379(0xd3)]['currentTheme$'])[_0x4ed379(0x154)](_0x46a0e3[_0x4ed379(0x274)](([_0x431aeb,_0x8d99fb])=>{const _0x4acf2e=_0x4ed379,_0x335a9d=new Map();return _0x431aeb[_0x4acf2e(0x30d)]((_0x28def4,_0x5537cd)=>{const _0x5883b=_0x4acf2e;if(_0x28def4[_0x5883b(0x30b)]===_0xa457c2){const _0x405c36={..._0x28def4};_0x405c36['color']=this[_0x5883b(0xd3)][_0x5883b(0x118)](_0x28def4[_0x5883b(0x7c)]),_0x335a9d[_0x5883b(0x2cd)](_0x5537cd,_0x405c36);}}),{'skeleton':_0xcfc373,'cursors':_0x335a9d};}));}return _0x23318b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3fc94e(0x86)](({skeleton:_0x510fff,cursors:_0x42e0dd})=>{const _0x5ecd2a=_0x3fc94e;this[_0x5ecd2a(0xa2)](),_0x510fff&&this['_updateCollabCursors'](_0x510fff,_0x42e0dd);}),this[_0x3fc94e(0x2a7)][_0x3fc94e(0x27c)][_0x3fc94e(0x86)](_0x1971d2=>{const _0x45794c=_0x3fc94e;if(_0x1971d2==null)return;const {skeleton:_0x38e4d2}=_0x1971d2,{scene:_0x1d5642}=this[_0x45794c(0x1cb)];_0x1d5642[_0x45794c(0x123)][_0x45794c(0x297)](_0x3c1804[_0x45794c(0x6f)](_0xc12db8=>{const _0x16ef0d=_0x45794c;var _0x1cedb0,_0x14e154;const {offsetX:_0xf21346,offsetY:_0x5dac26}=_0xc12db8,{x:_0x517510,y:_0x4f56b1}=_0x1d5642['getRelativeToViewportCoord'](_0x214f70['Vector2']['FromArray']([_0xf21346,_0x5dac26])),{scaleX:_0x84d840,scaleY:_0xdebce0}=_0x1d5642[_0x16ef0d(0x180)](),_0xb95bc4=_0x1d5642[_0x16ef0d(0x286)](_0x214f70[_0x16ef0d(0x1e9)][_0x16ef0d(0xf3)]),_0x395681=_0x1d5642[_0x16ef0d(0x115)](_0x214f70[_0x16ef0d(0x126)][_0x16ef0d(0x28c)]([_0x517510,_0x4f56b1]),_0xb95bc4),_0x1b4197=_0x38e4d2['getCellPositionByOffset'](_0xf21346,_0x5dac26,_0x84d840,_0xdebce0,_0x395681);((_0x1cedb0=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x1cedb0[_0x16ef0d(0x2ab)])===_0x1b4197[_0x16ef0d(0x2ab)]&&((_0x14e154=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x14e154[_0x16ef0d(0x23c)])===_0x1b4197[_0x16ef0d(0x23c)]||this[_0x16ef0d(0x1f3)][_0x16ef0d(0x30d)](_0x44c845=>{_0x44c845['onMouseMove'](_0x1b4197);});},0x64));});}['_updateCollabCursors'](_0x9147b7,_0x21fd6b){const _0x2172ba=_0x2a4230;var _0x2b4561;const _0x3f3af8=(_0x2b4561=this[_0x2172ba(0x2a7)]['getCurrent']())==null?void 0x0:_0x2b4561[_0x2172ba(0xa7)];if(!_0x3f3af8)return;const _0x59126a=this[_0x2172ba(0x30a)]();if(!_0x59126a)return;this[_0x2172ba(0x1f3)]['forEach'](_0x5a56c0=>{const _0x4434f8=_0x2172ba;_0x5a56c0[_0x4434f8(0x1ca)]();});const {scene:_0x8fc02d}=_0x59126a,_0x2753c8=_0x3c6a46(Array[_0x2172ba(0xca)](_0x21fd6b['values']()))[_0x2172ba(0x274)](_0x2dc6a6=>{const _0x3ec7a1=_0x2172ba,{color:_0x403110,range:_0x2fefda,name:_0x66428a,selection:_0x49d3bc,sheetID:_0x130d49}=_0x2dc6a6,{startColumn:_0x36f25a,startRow:_0x2431ef,endColumn:_0x43dbb3,endRow:_0x19120d}=_0x2fefda,_0x31d0cd=_0x476013[_0x3ec7a1(0x1ad)](_0x2431ef,_0x36f25a,_0x8fc02d,_0x3f3af8),_0x56efb3=_0x476013[_0x3ec7a1(0x1ad)](_0x19120d,_0x43dbb3,_0x8fc02d,_0x3f3af8),{columnHeaderHeightAndMarginTop:_0x5ac9f3}=_0x3f3af8,{startX:_0x3167b0,startY:_0x43a0f7}=_0x31d0cd,{endX:_0x501c87,endY:_0x4e42c8}=_0x56efb3,_0x4cf7b9=_0x501c87-_0x3167b0,_0xb411ca=_0x4e42c8-_0x43a0f7,_0x1c5dee={'labelPosition':_0x43a0f7-_0x5ac9f3>=_0xfc8153?_0x3ec7a1(0x1b5):_0x3ec7a1(0x15e),'sheetID':_0x130d49,'range':_0x2fefda,'color':_0x403110,'name':_0x66428a,'selection':_0x49d3bc,'left':_0x3167b0,'top':_0x43a0f7,'width':_0x4cf7b9,'height':_0xb411ca,'evented':!0x1,'zIndex':_0x261855};return new _0xfe2e0a(_0x66428a,_0x1c5dee);});_0x8fc02d[_0x2172ba(0x1d8)](_0x2753c8,_0x17721a),this['_cursors']=new Set(_0x2753c8);}[_0x2a4230(0xa2)](){const _0x1df685=_0x2a4230;var _0x28962d;(_0x28962d=this[_0x1df685(0x1f3)])==null||_0x28962d[_0x1df685(0x30d)](_0x4417f5=>_0x4417f5[_0x1df685(0x75)]());}[_0x2a4230(0x30a)](){const _0x15ce0c=_0x2a4230;return _0x476013[_0x15ce0c(0x117)](this['_context']['unit'],this[_0x15ce0c(0x1cb)]);}};_0x1f6d7b=_0x4a1d02([_0x33ed27(0x1,_0x3c1804[_0x2a4230(0x172)](_0x476013[_0x2a4230(0x7b)])),_0x33ed27(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x33ed27(0x3,_0x3c1804['Inject'](_0x3c1804[_0x2a4230(0x24d)]))],_0x1f6d7b);function _0x3c6a46(_0x91f0b2){const _0x174bfb=_0x2a4230,_0xe641e4=new Map();return _0x91f0b2[_0x174bfb(0x30d)](_0x1bb60b=>{const _0x1b4701=_0x174bfb;if(_0xe641e4['has'](_0x1bb60b['selection'])){const _0x253b90=_0xe641e4[_0x1b4701(0x9e)](_0x1bb60b[_0x1b4701(0x26c)]);_0x253b90[_0x1b4701(0xc9)]+=',\x20'+_0x1bb60b['name'];}else _0xe641e4[_0x1b4701(0x2cd)](_0x1bb60b[_0x1b4701(0x26c)],_0x1bb60b);}),Array[_0x174bfb(0xca)](_0xe641e4['values']());}var _0x35d1e5=function(){const _0x2bc8dc=_0x2a4230;return _0x35d1e5=Object[_0x2bc8dc(0x209)]||function(_0x25c54f){const _0x52e0cb=_0x2bc8dc;for(var _0x57186e,_0x1cacf4=0x1,_0x47c164=arguments[_0x52e0cb(0x210)];_0x1cacf4<_0x47c164;_0x1cacf4++){_0x57186e=arguments[_0x1cacf4];for(var _0x34d59d in _0x57186e)Object[_0x52e0cb(0xf6)][_0x52e0cb(0x220)][_0x52e0cb(0x291)](_0x57186e,_0x34d59d)&&(_0x25c54f[_0x34d59d]=_0x57186e[_0x34d59d]);}return _0x25c54f;},_0x35d1e5['apply'](this,arguments);},_0x38a142=function(_0x55027c,_0xc739fd){const _0x889e08=_0x2a4230;var _0x23c07f={};for(var _0x351dfa in _0x55027c)Object[_0x889e08(0xf6)]['hasOwnProperty'][_0x889e08(0x291)](_0x55027c,_0x351dfa)&&_0xc739fd[_0x889e08(0xaf)](_0x351dfa)<0x0&&(_0x23c07f[_0x351dfa]=_0x55027c[_0x351dfa]);if(_0x55027c!=null&&typeof Object[_0x889e08(0xae)]==_0x889e08(0x22b)){for(var _0x1d50a5=0x0,_0x351dfa=Object[_0x889e08(0xae)](_0x55027c);_0x1d50a5<_0x351dfa[_0x889e08(0x210)];_0x1d50a5++)_0xc739fd[_0x889e08(0xaf)](_0x351dfa[_0x1d50a5])<0x0&&Object['prototype'][_0x889e08(0x151)][_0x889e08(0x291)](_0x55027c,_0x351dfa[_0x1d50a5])&&(_0x23c07f[_0x351dfa[_0x1d50a5]]=_0x55027c[_0x351dfa[_0x1d50a5]]);}return _0x23c07f;},_0x3aa54e=_0x264b32[_0x2a4230(0x1c4)](function(_0x4907d1,_0x26a963){const _0x4ba1bd=_0x2a4230;var _0x203fc5=_0x4907d1[_0x4ba1bd(0x273)],_0x4c034c=_0x4907d1['id'],_0xe9dba0=_0x4907d1['className'],_0x3862c4=_0x4907d1[_0x4ba1bd(0x2dc)],_0x3b49da=_0x38a142(_0x4907d1,[_0x4ba1bd(0x273),'id',_0x4ba1bd(0x20d),_0x4ba1bd(0x2dc)]),_0x1de701=_0x4ba1bd(0xe8)['concat'](_0x4c034c,'\x20')[_0x4ba1bd(0x26a)](_0xe9dba0||'')[_0x4ba1bd(0x100)](),_0x38be57=_0x264b32[_0x4ba1bd(0x219)]('_'[_0x4ba1bd(0x26a)](_0x33899b()));return _0x214c91(_0x203fc5,''['concat'](_0x4c034c),{'defIds':_0x203fc5['defIds'],'idSuffix':_0x38be57['current']},_0x35d1e5({'ref':_0x26a963,'className':_0x1de701},_0x3b49da),_0x3862c4);});function _0x214c91(_0x34ab7f,_0x12983c,_0x514bd3,_0x575a76,_0x10935c){const _0x8724da=_0x2a4230;return _0x264b32[_0x8724da(0x2b3)](_0x34ab7f[_0x8724da(0x306)],_0x35d1e5(_0x35d1e5({'key':_0x12983c},_0x434d3e(_0x34ab7f,_0x514bd3,_0x10935c)),_0x575a76),(_0x25cf0d(_0x34ab7f,_0x514bd3)[_0x8724da(0x308)]||[])['map'](function(_0x1dab6c,_0x4d3402){const _0x421b1c=_0x8724da;return _0x214c91(_0x1dab6c,''[_0x421b1c(0x26a)](_0x12983c,'-')['concat'](_0x34ab7f['tag'],'-')['concat'](_0x4d3402),_0x514bd3,void 0x0,_0x10935c);}));}function _0x434d3e(_0x33bbac,_0x2bb4a4,_0xa6bc9){const _0x432c22=_0x2a4230;var _0x2960cf=_0x35d1e5({},_0x33bbac['attrs']);_0xa6bc9!=null&&_0xa6bc9['colorChannel1']&&_0x2960cf['fill']===_0x432c22(0x24c)&&(_0x2960cf[_0x432c22(0x174)]=_0xa6bc9[_0x432c22(0x24c)]),_0x33bbac['tag']==='mask'&&_0x2960cf['id']&&(_0x2960cf['id']=_0x2960cf['id']+_0x2bb4a4['idSuffix']),Object['entries'](_0x2960cf)[_0x432c22(0x30d)](function(_0xe5f836){const _0x3011f9=_0x432c22;var _0xbbe367=_0xe5f836[0x0],_0x59d618=_0xe5f836[0x1];_0xbbe367===_0x3011f9(0x74)&&typeof _0x59d618=='string'&&(_0x2960cf[_0xbbe367]=_0x59d618[_0x3011f9(0x138)](/url\(#(.*)\)/,'url(#$1'[_0x3011f9(0x26a)](_0x2bb4a4[_0x3011f9(0x230)],')')));});var _0x20db6e=_0x2bb4a4[_0x432c22(0xa8)];return!_0x20db6e||_0x20db6e[_0x432c22(0x210)]===0x0||(_0x33bbac[_0x432c22(0x306)]===_0x432c22(0x79)&&_0x2960cf[_0x432c22(0x1fd)]&&(_0x2960cf[_0x432c22(0x1fd)]=_0x2960cf['xlink:href']+_0x2bb4a4[_0x432c22(0x230)]),Object[_0x432c22(0x250)](_0x2960cf)[_0x432c22(0x30d)](function(_0x485374){const _0x1de4d9=_0x432c22;var _0x1df814=_0x485374[0x0],_0x2e0f67=_0x485374[0x1];typeof _0x2e0f67==_0x1de4d9(0xcd)&&(_0x2960cf[_0x1df814]=_0x2e0f67[_0x1de4d9(0x138)](/url\(#(.*)\)/,_0x1de4d9(0x129)['concat'](_0x2bb4a4['idSuffix'],')')));})),_0x2960cf;}function _0x25cf0d(_0x43605a,_0x39d720){const _0x14cbec=_0x2a4230;var _0x36e350,_0x2f9eed=_0x39d720['defIds'];return!_0x2f9eed||_0x2f9eed[_0x14cbec(0x210)]===0x0?_0x43605a:_0x43605a['tag']===_0x14cbec(0x97)&&(!((_0x36e350=_0x43605a[_0x14cbec(0x308)])===null||_0x36e350===void 0x0)&&_0x36e350[_0x14cbec(0x210)])?_0x35d1e5(_0x35d1e5({},_0x43605a),{'children':_0x43605a['children'][_0x14cbec(0x274)](function(_0x4938d0){const _0x3c8bd6=_0x14cbec;return typeof _0x4938d0[_0x3c8bd6(0x81)]['id']==_0x3c8bd6(0xcd)&&_0x2f9eed&&_0x2f9eed[_0x3c8bd6(0x18c)](_0x4938d0[_0x3c8bd6(0x81)]['id'])?_0x35d1e5(_0x35d1e5({},_0x4938d0),{'attrs':_0x35d1e5(_0x35d1e5({},_0x4938d0[_0x3c8bd6(0x81)]),{'id':_0x4938d0[_0x3c8bd6(0x81)]['id']+_0x39d720[_0x3c8bd6(0x230)]})}):_0x4938d0;})}):_0x43605a;}function _0x33899b(){const _0x5061a3=_0x2a4230;return Math[_0x5061a3(0x276)]()['toString'](0x24)[_0x5061a3(0x252)](0x2,0x8);}_0x3aa54e[_0x2a4230(0x2d1)]=_0x2a4230(0x15d);var _0x585497={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':'0\x200\x2016\x2016','width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xb5)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':_0x2a4230(0x97),'attrs':{},'children':[{'tag':_0x2a4230(0x1f5),'attrs':{'id':_0x2a4230(0x2b4)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':_0x2a4230(0x20b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4230(0x2b4)]},_0x281cb6=_0x264b32['forwardRef'](function(_0x42772f,_0x19a6d4){const _0x2921a5=_0x2a4230;return _0x264b32[_0x2921a5(0x2b3)](_0x3aa54e,Object[_0x2921a5(0x209)]({},_0x42772f,{'id':_0x2921a5(0x207),'ref':_0x19a6d4,'icon':_0x585497}));});_0x281cb6[_0x2a4230(0x2d1)]=_0x2a4230(0x309);var _0x12121e={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':_0x2a4230(0x284),'width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xc7)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':_0x2a4230(0x108),'strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a4230(0x10e)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':'white','d':_0x2a4230(0x1e1),'transform':_0x2a4230(0x2ac)}}]}]}],'defIds':[_0x2a4230(0x10e)]},_0x4a27e6=_0x264b32[_0x2a4230(0x1c4)](function(_0x5f0a89,_0x3b061e){const _0x434a3c=_0x2a4230;return _0x264b32[_0x434a3c(0x2b3)](_0x3aa54e,Object[_0x434a3c(0x209)]({},_0x5f0a89,{'id':_0x434a3c(0x109),'ref':_0x3b061e,'icon':_0x12121e}));});_0x4a27e6[_0x2a4230(0x2d1)]=_0x2a4230(0xa6);function _0x3514f5(_0xa6343b){const _0xea6084=_0x2a4230;switch(_0xa6343b){case _0x4d8e7c[_0xea6084(0x2f6)]['OFFLINE']:return _0xea6084(0x2c4);case _0x4d8e7c['CollaborationStatus'][_0xea6084(0x90)]:return'collabStatus.conflict';case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x30f)]:return _0xea6084(0xdb);case _0x4d8e7c[_0xea6084(0x2f6)]['NOT_COLLAB']:return _0xea6084(0x229);case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING']:case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING_WITH_PENDING']:return _0xea6084(0xda);case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x149)]:case _0x4d8e7c[_0xea6084(0x2f6)]['PENDING']:return _0xea6084(0x29e);}}function _0x53356e(_0x369fa0){const _0x134ca2=_0x2a4230,{status$:_0x3a4d2c}=_0x369fa0,_0x14ec24=_0xb7c596['useObservable'](_0x3a4d2c,_0x4d8e7c[_0x134ca2(0x2f6)]['NOT_COLLAB']),_0xcfad2d=_0xb7c596[_0x134ca2(0x1d4)](_0x3c1804[_0x134ca2(0x2fc)]),_0x4de713=_0xb7c596[_0x134ca2(0x1d4)](_0x4d8e7c[_0x134ca2(0x119)]),_0x38c915=_0x14ec24!==_0x4d8e7c[_0x134ca2(0x2f6)]['OFFLINE'],_0x4a722e=_0xcfad2d['t'](_0x3514f5(_0x14ec24)),_0x2842d9=_0x38c915?_0x508896['jsx'](_0x4a27e6,{}):_0x508896[_0x134ca2(0x302)](_0x281cb6,{}),_0x154b86=_0x264b32[_0x134ca2(0x1ed)](()=>{_0x38c915||_0x4de713['reconnect']();},[_0x38c915,_0x4de713]);function _0x3784ee(){const _0x35e666=_0x134ca2;return _0x508896[_0x35e666(0x2a4)](_0x35e666(0xd9),{'className':'univer-flex\x20univer-items-center','onClick':_0x154b86,'children':[_0x508896['jsx']('div',{'className':_0x2e0a42['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x38c915,'univer-text-red-500':!_0x38c915}),'children':_0x2842d9}),_0x508896[_0x35e666(0x302)](_0x35e666(0xd9),{'className':_0x35e666(0x215),'children':_0x4a722e})]});}return _0x38c915?_0x3784ee():_0x508896[_0x134ca2(0x302)](_0x2e0a42[_0x134ca2(0x184)],{'title':_0xcfad2d['t'](_0x134ca2(0x127)),'children':_0x3784ee()});}var _0x267bdb=Object[_0x2a4230(0x310)],_0x3e1a15=(_0x1724bb,_0x40baae,_0x467fbc,_0x1213d8)=>{for(var _0x526952=_0x1213d8>0x1?void 0x0:_0x1213d8?_0x267bdb(_0x40baae,_0x467fbc):_0x40baae,_0x4cd1ce=_0x1724bb['length']-0x1,_0x54f95c;_0x4cd1ce>=0x0;_0x4cd1ce--)(_0x54f95c=_0x1724bb[_0x4cd1ce])&&(_0x526952=_0x54f95c(_0x526952)||_0x526952);return _0x526952;},_0x152d53=(_0x585a2c,_0x45a067)=>(_0x1c16b1,_0x5ce727)=>_0x45a067(_0x1c16b1,_0x5ce727,_0x585a2c);_0x4e590a[_0x2a4230(0x10b)]=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x22ae6e,_0x25a307,_0x5a4c3f,_0xc390f6){const _0x1d072a=_0x2a4230;super(),_0x275745(this,_0x1d072a(0xc5),new _0x23318b[(_0x1d072a(0x19a))](_0x4d8e7c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1d072a(0x1c6)]=_0x22ae6e,this[_0x1d072a(0x2f5)]=_0x25a307,this[_0x1d072a(0x13a)]=_0x5a4c3f,this[_0x1d072a(0x1f6)]=_0xc390f6,this[_0x1d072a(0xb1)](),this['_initStatusListener']());}[_0x2a4230(0x13b)](){const _0x2309de=_0x2a4230;this[_0x2309de(0xc6)](this[_0x2309de(0x1c6)][_0x2309de(0x2f7)][_0x2309de(0x154)](_0x23318b[_0x2309de(0x161)](()=>{const _0x13c5c3=_0x2309de,_0x4714f5=this['_univerInstanceService'][_0x13c5c3(0x1f8)]();return _0x4714f5?this[_0x13c5c3(0x13a)]['getCollabEntity$'](_0x4714f5['getUnitId']()):_0x23318b['of'](null);}),_0x23318b[_0x2309de(0x161)](_0x494d6d=>_0x494d6d?_0x494d6d[_0x2309de(0x2c8)]:_0x23318b['of'](_0x4d8e7c[_0x2309de(0x2f6)][_0x2309de(0xdd)])))[_0x2309de(0x86)](_0x1c4a49=>{const _0x502525=_0x2309de;this[_0x502525(0xc5)][_0x502525(0x120)](_0x1c4a49);}));}['_initStatusComponent'](){const _0x2f4347=_0x2a4230;this[_0x2f4347(0xc6)](this[_0x2f4347(0x1f6)][_0x2f4347(0x18b)](_0xb7c596[_0x2f4347(0x9a)]['HEADER_MENU'],()=>_0xb7c596[_0x2f4347(0x200)](_0x2fe208({'status$':this[_0x2f4347(0xc5)]['asObservable']()}),this[_0x2f4347(0x2f5)])));}},_0x4e590a[_0x2a4230(0x10b)]=_0x3e1a15([_0x152d53(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x152d53(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x152d53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x152d53(0x3,_0xb7c596[_0x2a4230(0xdf)])],_0x4e590a[_0x2a4230(0x10b)]);function _0x2fe208(_0x13fb13){const {status$:_0x3afb71}=_0x13fb13;return function(){const _0x2a8c6d=_0x1bfb;return _0x508896[_0x2a8c6d(0x302)](_0x53356e,{'status$':_0x3afb71});};}var _0x1862ad=Object[_0x2a4230(0x310)],_0x2854c6=(_0x593041,_0xe13d3c,_0x5a539e,_0x37aab1)=>{for(var _0x5b8b4f=_0x37aab1>0x1?void 0x0:_0x37aab1?_0x1862ad(_0xe13d3c,_0x5a539e):_0xe13d3c,_0x1f1e64=_0x593041['length']-0x1,_0x3e90c5;_0x1f1e64>=0x0;_0x1f1e64--)(_0x3e90c5=_0x593041[_0x1f1e64])&&(_0x5b8b4f=_0x3e90c5(_0x5b8b4f)||_0x5b8b4f);return _0x5b8b4f;},_0x42d1e5=(_0x2ce331,_0x18de0b)=>(_0x20e3e9,_0x2292a8)=>_0x18de0b(_0x20e3e9,_0x2292a8,_0x2ce331);let _0x5be03f=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0xfe6cb9,_0x158f54,_0x5d7737,_0x1bcd47,_0x598924,_0x5b2ea3){const _0x13481b=_0x2a4230;super(),this[_0x13481b(0x95)]=_0xfe6cb9,this[_0x13481b(0x2d8)]=_0x158f54,this[_0x13481b(0xd0)]=_0x5d7737,this[_0x13481b(0xc1)]=_0x1bcd47,this[_0x13481b(0x142)]=_0x598924,this[_0x13481b(0x259)]=_0x5b2ea3,this[_0x13481b(0x21b)](),this[_0x13481b(0x232)]();}[_0x2a4230(0x21b)](){const _0x3433fc=_0x2a4230;this['disposeWithMe'](this[_0x3433fc(0x95)][_0x3433fc(0x71)](()=>{const _0x200caa=_0x3433fc;if(this[_0x200caa(0x2d8)]['saveTaskMap'][_0x200caa(0x2e3)])return this['_localeService']['t'](_0x200caa(0x281));}));}[_0x2a4230(0x232)](){const _0x1cccaf=_0x2a4230;this[_0x1cccaf(0xc6)](this[_0x1cccaf(0xd0)][_0x1cccaf(0x171)][_0x1cccaf(0x86)](_0x285e4b=>{const _0x580c8e=_0x1cccaf;_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb9)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x28e)]&&this['_messageService'][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0xe0)]&&this['_notificationService'][_0x580c8e(0x278)]({'title':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x1ec)),'content':this[_0x580c8e(0x259)]['t']('permission.content'),'type':'error','duration':0x0}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x90)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))+'('+_0x285e4b[_0x580c8e(0xa4)]+')'}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x285e4b[_0x580c8e(0xa4)]||'')}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb3)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x295))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x25d)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x2d3))}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x217)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0xb0)],'content':this['_localeService']['t'](_0x580c8e(0x2ec))});}));}};_0x5be03f=_0x2854c6([_0x42d1e5(0x0,_0xb7c596[_0x2a4230(0x19b)]),_0x42d1e5(0x1,_0x4d8e7c[_0x2a4230(0x125)]),_0x42d1e5(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x27e)])),_0x42d1e5(0x3,_0xb7c596[_0x2a4230(0x204)]),_0x42d1e5(0x4,_0xb7c596[_0x2a4230(0x1a4)]),_0x42d1e5(0x5,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x5be03f);const _0x5b970e=_0x2a4230(0x231),_0x3a187b={},_0x56d03c=_0x3c1804[_0x2a4230(0xa9)]('uni.network.url-service');var _0x27ab41=Object['getOwnPropertyDescriptor'],_0x384d80=(_0x22eaad,_0x4da01b,_0x3cbc9a,_0x4e71d1)=>{const _0x5506d2=_0x2a4230;for(var _0x1e58f1=_0x4e71d1>0x1?void 0x0:_0x4e71d1?_0x27ab41(_0x4da01b,_0x3cbc9a):_0x4da01b,_0x53ad5e=_0x22eaad[_0x5506d2(0x210)]-0x1,_0xe77745;_0x53ad5e>=0x0;_0x53ad5e--)(_0xe77745=_0x22eaad[_0x53ad5e])&&(_0x1e58f1=_0xe77745(_0x1e58f1)||_0x1e58f1);return _0x1e58f1;},_0xe0f450=(_0x3653ec,_0x36aade)=>(_0x521563,_0x304c3f)=>_0x36aade(_0x521563,_0x304c3f,_0x3653ec);_0x4e590a[_0x2a4230(0x1fe)]=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x29fd9b,_0x36b1fd,_0x36307b,_0x1cd40b,_0xa6d70a){const _0x3e3e57=_0x2a4230;super(),this[_0x3e3e57(0x312)]=_0x29fd9b,this[_0x3e3e57(0x1de)]=_0x36b1fd,this['_commandService']=_0x36307b,this[_0x3e3e57(0x244)]=_0x1cd40b,_0xa6d70a?_0xa6d70a==null||_0xa6d70a[_0x3e3e57(0x2d0)]()[_0x3e3e57(0x14f)](()=>this[_0x3e3e57(0x2c1)]()):(this['_logService'][_0x3e3e57(0x282)](_0x3e3e57(0x197),_0x3e3e57(0x2ce)),this['_init']());}async[_0x2a4230(0x2c1)](){const _0x47a562=_0x2a4230,_0x4a5c30=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x1da)),_0x4722ae=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x2d7)),_0x161a72=this[_0x47a562(0x312)][_0x47a562(0x1f9)](_0x47a562(0x189));if(!_0x4a5c30||!_0x4722ae){this['_logService'][_0x47a562(0x282)](_0x47a562(0x197),_0x47a562(0x249));return;}const _0x348233=await this['_dataLoaderService'][_0x47a562(0x2c3)](_0x4a5c30,Number(_0x4722ae),_0x161a72);_0x348233&&_0x348233 instanceof _0x3c1804[_0x47a562(0x2d6)]&&this['_setupSubUnitSync'](_0x348233);}async[_0x2a4230(0x206)](_0x3f2043){const _0xc9ff06=_0x2a4230;await this['_updateSubUnitFromURLParams'](_0x3f2043),_0x3f2043[_0xc9ff06(0x2f1)][_0xc9ff06(0x154)](_0x23318b[_0xc9ff06(0xfe)](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](_0x2e6389=>{const _0x200e63=_0xc9ff06;_0x2e6389&&this[_0x200e63(0xe6)](_0x2e6389);}),this[_0xc9ff06(0x312)][_0xc9ff06(0x2b8)]['pipe'](_0x23318b['takeUntil'](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](()=>this['_updateSubUnitFromURLParams'](_0x3f2043));}[_0x2a4230(0xe6)](_0x866f8e,_0x78a825=!0x1){const _0x10b3e0=_0x2a4230,_0x2cb10e=this[_0x10b3e0(0x312)][_0x10b3e0(0x1f9)](_0x10b3e0(0x189));_0x866f8e[_0x10b3e0(0xd1)]()!==_0x2cb10e&&this[_0x10b3e0(0x312)][_0x10b3e0(0xe9)](_0x10b3e0(0x189),_0x866f8e[_0x10b3e0(0xd1)](),_0x78a825);}async['_updateSubUnitFromURLParams'](_0x29c59a){const _0x2cf03e=_0x2a4230;var _0x5bbf3f;const _0x3fadc2=this[_0x2cf03e(0x312)][_0x2cf03e(0x1f9)](_0x2cf03e(0x189));if(!_0x3fadc2||!_0x29c59a[_0x2cf03e(0x18d)](_0x3fadc2)){const _0x566cf9=_0x29c59a[_0x2cf03e(0x1bb)]()[0x0],_0x3b478c=_0x29c59a[_0x2cf03e(0x18d)](_0x566cf9);if(!_0x3b478c)return;this['_updateURLWithCurrentState'](_0x3b478c,!0x0),await this['_commandService'][_0x2cf03e(0x181)](_0x441e63[_0x2cf03e(0x2b9)]['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x566cf9});return;}((_0x5bbf3f=_0x29c59a[_0x2cf03e(0x1cf)]())==null?void 0x0:_0x5bbf3f[_0x2cf03e(0xd1)]())!==_0x3fadc2&&await this[_0x2cf03e(0x9b)][_0x2cf03e(0x181)](_0x441e63['SetWorksheetActivateCommand']['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x3fadc2});}},_0x4e590a[_0x2a4230(0x1fe)]=_0x384d80([_0xe0f450(0x0,_0x56d03c),_0xe0f450(0x1,_0x3c1804['ILogService']),_0xe0f450(0x2,_0x3c1804[_0x2a4230(0x122)]),_0xe0f450(0x3,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c['DataLoaderService'])),_0xe0f450(0x4,_0x3c1804[_0x2a4230(0x2a9)](_0x9f1645['IRemoteInstanceService']))],_0x4e590a[_0x2a4230(0x1fe)]);var _0x4e5591=Object[_0x2a4230(0x310)],_0x102740=(_0x5c5730,_0x289487,_0x5bcc6e,_0x2f309e)=>{const _0x4a8b03=_0x2a4230;for(var _0x14a413=_0x2f309e>0x1?void 0x0:_0x2f309e?_0x4e5591(_0x289487,_0x5bcc6e):_0x289487,_0x529bc2=_0x5c5730[_0x4a8b03(0x210)]-0x1,_0x1b50f9;_0x529bc2>=0x0;_0x529bc2--)(_0x1b50f9=_0x5c5730[_0x529bc2])&&(_0x14a413=_0x1b50f9(_0x14a413)||_0x14a413);return _0x14a413;},_0x4222c4=(_0x432623,_0x4576ad)=>(_0x53c7cc,_0x456dd4)=>_0x4576ad(_0x53c7cc,_0x456dd4,_0x432623);let _0x291d78=class{constructor(_0x2100fa,_0x51e649){const _0x133f39=_0x2a4230;this['_transformService']=_0x2100fa,this[_0x133f39(0x12a)]=_0x51e649;}[_0x2a4230(0x111)](_0x4db1bf){const _0x24787e=_0x2a4230;this[_0x24787e(0x298)](_0x4db1bf),this[_0x24787e(0x2e0)](_0x4db1bf);}[_0x2a4230(0x212)](_0x2ea209){const _0x42f6f6=_0x2a4230,{unitID:_0x318ed1}=_0x2ea209,_0x10fd8f=this[_0x42f6f6(0x12a)]['getRenderById'](_0x318ed1)[_0x42f6f6(0xdc)](_0x4aced0[_0x42f6f6(0x16b)]),{redoCache:_0x44e83b}=_0x10fd8f['getUndoRedoMutationParamsCache']();if(_0x44e83b[_0x42f6f6(0x210)]===0x0)return _0x2ea209;let _0x10721a=_0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209[_0x42f6f6(0x144)][0x0]);for(let _0x42d2bd=0x0;_0x42d2bd<_0x44e83b['length'];_0x42d2bd++){const _0x3d4577={'id':_0x42f6f6(0x124),'params':{..._0x44e83b[_0x42d2bd]}},_0x106083=this[_0x42f6f6(0x1b4)]['transformMutation'](_0x10721a,_0x3d4577,!0x1);if(_0x4b9b03[_0x42f6f6(0x192)](_0x106083))throw _0x106083[_0x42f6f6(0x103)];_0x10721a=_0x106083[_0x42f6f6(0x2b1)];}return{..._0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209),'mutations':[_0x10721a]};}[_0x2a4230(0x298)](_0x2db7ff){const _0x15d71a=_0x2a4230,{unitID:_0x31744c}=_0x2db7ff,_0x5dc95d=this[_0x15d71a(0x12a)]['getRenderById'](_0x31744c)[_0x15d71a(0xdc)](_0x4aced0[_0x15d71a(0x16b)]),{undoCache:_0x27ee2e,redoCache:_0x2af9a7}=_0x5dc95d[_0x15d71a(0x2e8)]();if(_0x27ee2e['length']===0x0||_0x2af9a7['length']===0x0)return;const _0x379bc3=[],_0x204c31=[];let _0x15e510=_0x3c1804['Tools'][_0x15d71a(0x293)](_0x2db7ff[_0x15d71a(0x144)][0x0]),_0x4487df=_0x3c1804[_0x15d71a(0x2ad)][_0x15d71a(0x293)](_0x2db7ff['mutations'][0x0]);for(let _0x4c1653=_0x27ee2e['length']-0x1;_0x4c1653>=0x0;_0x4c1653--){const _0x4a3d0f={'id':_0x15d71a(0x124),'params':{..._0x27ee2e[_0x4c1653]}},_0x49720c={'id':'doc.mutation.rich-text-editing','params':{..._0x2af9a7[_0x4c1653]}},_0x3242fe=this[_0x15d71a(0x1b4)]['transformMutation'](_0x15e510,_0x4a3d0f,!0x1),_0x113632=this[_0x15d71a(0x1b4)]['transformMutation'](_0x4487df,_0x49720c,!0x1);if(_0x4b9b03[_0x15d71a(0x192)](_0x3242fe))throw _0x3242fe[_0x15d71a(0x103)];if(_0x4b9b03['isTransformMutationFailure'](_0x113632))throw _0x113632[_0x15d71a(0x103)];_0x379bc3['unshift'](_0x3242fe[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x204c31['unshift'](_0x113632[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x15e510=_0x3242fe[_0x15d71a(0x2b1)],_0x4487df=_0x113632[_0x15d71a(0x2b1)];}_0x5dc95d[_0x15d71a(0xe7)]({'undoCache':_0x379bc3,'redoCache':_0x204c31});}[_0x2a4230(0x2e0)](_0x1a00d2){const _0x516edc=_0x2a4230,{unitID:_0x3b0c1a}=_0x1a00d2,_0x4a0ac4=this[_0x516edc(0x12a)]['getRenderById'](_0x3b0c1a)[_0x516edc(0xdc)](_0x4aced0[_0x516edc(0x16b)]),_0x23afc6=_0x4a0ac4[_0x516edc(0x1d0)]();if(_0x23afc6==null)return;const _0xa796dc=[{'id':_0x516edc(0x124),'params':{'unitId':_0x1a00d2[_0x516edc(0x2be)],'actions':null,'textRanges':[_0x23afc6]}}],_0x558d67=this['_transformService']['transformMutationsWithChangeset'](_0x1a00d2,_0xa796dc);if(!_0x4b9b03['isTransformMutationsWithChangesetSuccess'](_0x558d67))throw _0x558d67[_0x516edc(0x103)];const _0x44f39e=_0x558d67[_0x516edc(0x13f)][0x0][_0x516edc(0x270)][_0x516edc(0x159)];Array[_0x516edc(0x271)](_0x44f39e)&&_0x44f39e[_0x516edc(0x210)]&&_0x4a0ac4[_0x516edc(0x20f)](_0x44f39e[0x0]);}};_0x291d78=_0x102740([_0x4222c4(0x0,_0x4b9b03[_0x2a4230(0x1a9)]),_0x4222c4(0x1,_0x214f70[_0x2a4230(0x1f1)])],_0x291d78);var _0x645181=Object['getOwnPropertyDescriptor'],_0x33cbc1=(_0x6b3f06,_0x42550b,_0x56bb8c,_0x329cf7)=>{const _0x4c76c1=_0x2a4230;for(var _0x5e6086=_0x329cf7>0x1?void 0x0:_0x329cf7?_0x645181(_0x42550b,_0x56bb8c):_0x42550b,_0x1c9737=_0x6b3f06[_0x4c76c1(0x210)]-0x1,_0xdb3377;_0x1c9737>=0x0;_0x1c9737--)(_0xdb3377=_0x6b3f06[_0x1c9737])&&(_0x5e6086=_0xdb3377(_0x5e6086)||_0x5e6086);return _0x5e6086;},_0xe057d=(_0x3961c8,_0x2b2934)=>(_0x3accc0,_0x5e752f)=>_0x2b2934(_0x3accc0,_0x5e752f,_0x3961c8);let _0x234507=class{constructor(_0x23896b,_0x3b5791,_0xda143a){const _0x2d740b=_0x2a4230;this[_0x2d740b(0x2f5)]=_0x23896b,this['_transformService']=_0x3b5791,this[_0x2d740b(0x11a)]=_0xda143a;}[_0x2a4230(0x26f)](_0x89ba9a){this['_transformHistoryAndStateStack'](_0x89ba9a);}[_0x2a4230(0x212)](_0x42d0ba){const _0x4bacd7=_0x2a4230,{unitID:_0x1a72b4}=_0x42d0ba,{collaboration:_0x29839a}=this[_0x4bacd7(0x11a)]['getStateCache'](_0x1a72b4);if(_0x29839a[_0x4bacd7(0x210)]===0x0)return _0x42d0ba;let _0x144027=_0x3c1804[_0x4bacd7(0x2ad)][_0x4bacd7(0x293)](_0x42d0ba[_0x4bacd7(0x144)][0x0]);for(let _0x3167a8=0x0;_0x3167a8<_0x29839a[_0x4bacd7(0x210)];_0x3167a8++){const _0x517000={'id':_0x4bacd7(0x124),'params':{'unitId':_0x29839a[_0x3167a8][_0x4bacd7(0x203)],..._0x29839a[_0x3167a8]['redoState']}},_0x133cdf=this['_transformService'][_0x4bacd7(0x25b)](_0x144027,_0x517000,!0x1);if(_0x4b9b03[_0x4bacd7(0x192)](_0x133cdf))throw _0x133cdf[_0x4bacd7(0x103)];_0x144027=_0x133cdf[_0x4bacd7(0x2b1)];}return{..._0x3c1804[_0x4bacd7(0x2ad)]['deepClone'](_0x42d0ba),'mutations':[_0x144027]};}[_0x2a4230(0x307)](_0x2db74f){const _0x373cb6=_0x2a4230,{unitID:_0x5b899c}=_0x2db74f,{history:_0x462174,collaboration:_0x29f0ee}=this[_0x373cb6(0x11a)][_0x373cb6(0x1db)](_0x5b899c);if(_0x462174[_0x373cb6(0x210)]===0x0&&_0x29f0ee[_0x373cb6(0x210)]===0x0)return;const _0x3abe27=[],_0x38ecfe=[];let _0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f['mutations'][0x0]),_0x45f137=_0x3c1804['Tools'][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x2b67ac=_0x462174['length']-0x1;_0x2b67ac>=0x0;_0x2b67ac--){const _0xf1b99e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xed)]}},_0x33ae02={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xb6)]}},_0x420a87=this[_0x373cb6(0x1b4)]['transformMutation'](_0x49a7f1,_0xf1b99e,!0x1),_0x4ae316=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x45f137,_0x33ae02,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x420a87))throw _0x420a87[_0x373cb6(0x103)];if(_0x4b9b03[_0x373cb6(0x192)](_0x4ae316))throw _0x4ae316[_0x373cb6(0x103)];_0x3abe27['unshift']({..._0x462174[_0x2b67ac],'undoState':_0x420a87[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x4ae316['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x420a87[_0x373cb6(0x2b1)],_0x45f137=_0x4ae316['m1Prime'];}_0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)]['deepClone'](_0x2db74f[_0x373cb6(0x144)][0x0]),_0x45f137=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x317777=_0x29f0ee[_0x373cb6(0x210)]-0x1;_0x317777>=0x0;_0x317777--){const _0x5319f8={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777]['undoState']}},_0x147509={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777][_0x373cb6(0xb6)]}},_0x4050d3=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x49a7f1,_0x5319f8,!0x1),_0x3defcc=this['_transformService'][_0x373cb6(0x25b)](_0x45f137,_0x147509,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x4050d3))throw _0x4050d3['error'];if(_0x4b9b03['isTransformMutationFailure'](_0x3defcc))throw _0x3defcc['error'];_0x38ecfe[_0x373cb6(0x163)]({..._0x29f0ee[_0x317777],'undoState':_0x4050d3[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x3defcc['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x4050d3[_0x373cb6(0x2b1)],_0x45f137=_0x3defcc[_0x373cb6(0x2b1)];}this[_0x373cb6(0x11a)][_0x373cb6(0x23b)](_0x5b899c,{'history':_0x3abe27,'collaboration':_0x38ecfe});}};_0x234507=_0x33cbc1([_0xe057d(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0xe057d(0x1,_0x4b9b03[_0x2a4230(0x1a9)]),_0xe057d(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4aced0['DocStateChangeManagerService']))],_0x234507);var _0x89c548=Object['getOwnPropertyDescriptor'],_0x1f6356=(_0x41d403,_0x4e5e27,_0x45b7de,_0x4a9bf6)=>{const _0x317e91=_0x2a4230;for(var _0x2cd5a6=_0x4a9bf6>0x1?void 0x0:_0x4a9bf6?_0x89c548(_0x4e5e27,_0x45b7de):_0x4e5e27,_0x420aa9=_0x41d403[_0x317e91(0x210)]-0x1,_0x4aa5df;_0x420aa9>=0x0;_0x420aa9--)(_0x4aa5df=_0x41d403[_0x420aa9])&&(_0x2cd5a6=_0x4aa5df(_0x2cd5a6)||_0x2cd5a6);return _0x2cd5a6;},_0x67c924=(_0x4e2078,_0x462861)=>(_0x50fe42,_0x4a0c43)=>_0x462861(_0x50fe42,_0x4a0c43,_0x4e2078);let _0x52d2d4=class{constructor(_0x1d5f88,_0x49a189){const _0xb7272f=_0x2a4230;this[_0xb7272f(0x2f5)]=_0x1d5f88,this[_0xb7272f(0x1b4)]=_0x49a189;}['transformSelections'](_0xfc43f6){const _0x52db3d=_0x2a4230;var _0x9b89c3;const _0x519ba3=this[_0x52db3d(0x2f5)]['get'](_0x3c10b0['DocSelectionManagerService']),_0x129e76=(_0x9b89c3=_0x519ba3['getDocRanges']())!=null?_0x9b89c3:[];if(_0x129e76[_0x52db3d(0x210)]===0x0)return;const _0x2a5894=_0xfc43f6[_0x52db3d(0x2be)],_0x42e949=[{'id':_0x52db3d(0x124),'params':{'unitId':_0x2a5894,'actions':null,'textRanges':_0x129e76}}],_0x110473=this['_transformService']['transformMutationsWithChangeset'](_0xfc43f6,_0x42e949);if(!_0x4b9b03[_0x52db3d(0x121)](_0x110473))throw _0x110473[_0x52db3d(0x103)];const _0x3de66d=_0x110473[_0x52db3d(0x13f)][0x0][_0x52db3d(0x270)][_0x52db3d(0x159)];Array[_0x52db3d(0x271)](_0x3de66d)&&_0x3de66d[_0x52db3d(0x210)]&&_0x519ba3[_0x52db3d(0x70)](_0x3de66d,{'unitId':_0x2a5894,'subUnitId':_0x2a5894},!0x1);}};_0x52d2d4=_0x1f6356([_0x67c924(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x67c924(0x1,_0x4b9b03[_0x2a4230(0x1a9)])],_0x52d2d4);var _0x2d3df1=Object['getOwnPropertyDescriptor'],_0x5a6468=(_0x2536c3,_0x1aea9b,_0x31a2f4,_0x186dba)=>{const _0x3eb843=_0x2a4230;for(var _0x288b35=_0x186dba>0x1?void 0x0:_0x186dba?_0x2d3df1(_0x1aea9b,_0x31a2f4):_0x1aea9b,_0x5925e6=_0x2536c3[_0x3eb843(0x210)]-0x1,_0x5e0be2;_0x5925e6>=0x0;_0x5925e6--)(_0x5e0be2=_0x2536c3[_0x5925e6])&&(_0x288b35=_0x5e0be2(_0x288b35)||_0x288b35);return _0x288b35;},_0x5ddcad=(_0x29aac3,_0x2fbd05)=>(_0xc0f0a5,_0x3cee07)=>_0x2fbd05(_0xc0f0a5,_0x3cee07,_0x29aac3);let _0x4eac55=class extends _0x3c1804['Disposable']{constructor(_0x559481,_0x4602,_0x5de09a,_0x32a202,_0x1dafa4,_0x2a00a0,_0x2c5cbd,_0x5acd98){const _0xd2f2b=_0x2a4230;super(),_0x275745(this,_0xd2f2b(0xc5),new _0x23318b[(_0xd2f2b(0x19a))](_0x4d8e7c[_0xd2f2b(0x2f6)][_0xd2f2b(0xdd)])),(this[_0xd2f2b(0x11a)]=_0x559481,this[_0xd2f2b(0x13a)]=_0x4602,this['_docTransformIMECacheService']=_0x5de09a,this[_0xd2f2b(0xe5)]=_0x32a202,this[_0xd2f2b(0x2a8)]=_0x1dafa4,this[_0xd2f2b(0x185)]=_0x2a00a0,this[_0xd2f2b(0xc1)]=_0x2c5cbd,this[_0xd2f2b(0x259)]=_0x5acd98,this[_0xd2f2b(0x19f)]());}['_initEntityListener'](){const _0x2d7eba=_0x2a4230;this[_0x2d7eba(0xc6)](this[_0x2d7eba(0x13a)][_0x2d7eba(0x93)]['subscribe'](_0x2ff8bd=>{const _0x3064d5=_0x2d7eba,_0x46abd0=this[_0x3064d5(0x11a)]['docStateChange$'][_0x3064d5(0x86)](_0x82e7ad=>{const _0x259902=_0x3064d5;if(_0x82e7ad==null)return;const {unitId:_0x53d5fd,redoState:_0x498a6c,commandId:_0x1caf3b}=_0x82e7ad;if(_0x53d5fd!==_0x2ff8bd[_0x259902(0x2be)])return;const _0x59f7e0={'id':_0x1caf3b,'type':_0x3c1804[_0x259902(0x8b)][_0x259902(0xcb)],'params':{'unitId':_0x53d5fd,'actions':_0x498a6c[_0x259902(0x2ea)],'textRanges':null}};_0x2ff8bd[_0x259902(0x23a)](_0x59f7e0);});if(_0x2ff8bd['disposeWithMe'](_0x46abd0),_0x2ff8bd instanceof _0x4d8e7c[_0x3064d5(0x2eb)]){const _0x22558a={'onTransformIME':_0x5c4c=>this[_0x3064d5(0x15c)]['transformIMECache'](_0x5c4c),'onTransformState':_0x4a4474=>this[_0x3064d5(0xe5)][_0x3064d5(0x26f)](_0x4a4474),'onTransformSelections':_0x582153=>this[_0x3064d5(0x2a8)][_0x3064d5(0x10c)](_0x582153),'onSyncEditingCollabCursor':_0x24aacf=>this[_0x3064d5(0x185)][_0x3064d5(0x301)](_0x24aacf),'onTransformRemoteChangesetByIMECache':_0x45fd7b=>this[_0x3064d5(0x15c)][_0x3064d5(0x212)](_0x45fd7b),'onTransformRemoteChangesetByStateCache':_0x2f7dc5=>this[_0x3064d5(0xe5)][_0x3064d5(0x212)](_0x2f7dc5)};_0x2ff8bd[_0x3064d5(0x262)](_0x22558a);}}));}};_0x4eac55=_0x5a6468([_0x5ddcad(0x0,_0x3c1804[_0x2a4230(0x172)](_0x4aced0[_0x2a4230(0x247)])),_0x5ddcad(0x1,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x5ddcad(0x2,_0x3c1804['Inject'](_0x291d78)),_0x5ddcad(0x3,_0x3c1804['Inject'](_0x234507)),_0x5ddcad(0x4,_0x3c1804['Inject'](_0x52d2d4)),_0x5ddcad(0x5,_0x3c1804['Inject'](_0x149923)),_0x5ddcad(0x6,_0xb7c596[_0x2a4230(0x204)]),_0x5ddcad(0x7,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x4eac55);var _0x3197aa=Object[_0x2a4230(0x310)],_0x599b5e=(_0x1d920c,_0x2c9b9c,_0x2f735d,_0x111914)=>{for(var _0x1465fc=_0x111914>0x1?void 0x0:_0x111914?_0x3197aa(_0x2c9b9c,_0x2f735d):_0x2c9b9c,_0x3788d3=_0x1d920c['length']-0x1,_0x107bb5;_0x3788d3>=0x0;_0x3788d3--)(_0x107bb5=_0x1d920c[_0x3788d3])&&(_0x1465fc=_0x107bb5(_0x1465fc)||_0x1465fc);return _0x1465fc;},_0x583c4b=(_0x40195a,_0x347cb8)=>(_0x1557e6,_0x28f0de)=>_0x347cb8(_0x1557e6,_0x28f0de,_0x40195a);let _0x3b652d=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x27b376,_0x432946,_0x119d36){const _0x1b7935=_0x2a4230;super(),_0x275745(this,_0x1b7935(0x1ac),new Map()),_0x275745(this,_0x1b7935(0x1b2),new Map()),_0x275745(this,'_disabled',!0x1),(this['_configService']=_0x27b376,this[_0x1b7935(0xbf)]=_0x432946,this[_0x1b7935(0x290)]=_0x119d36);}['disableLocalCache'](){const _0x1cb916=_0x2a4230;this[_0x1cb916(0x16c)]=!0x0;}[_0x2a4230(0x11d)](){const _0x51ceed=_0x2a4230;this[_0x51ceed(0x16c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0xd36ccc=_0x2a4230;this[_0xd36ccc(0x1b0)]()[_0xd36ccc(0x14f)](()=>super[_0xd36ccc(0x75)]());}async[_0x2a4230(0x2bd)](_0x41499a){const _0x5ab1dd=_0x2a4230;return this[_0x5ab1dd(0x16c)]?null:this[_0x5ab1dd(0xbf)]['getItem'](_0x4d8e7c[_0x5ab1dd(0x11e)](_0x41499a));}async[_0x2a4230(0x78)](_0x187128,_0x3fa472){const _0x39b722=_0x2a4230;return!!this[_0x39b722(0xbf)][_0x39b722(0x12b)](_0x187128,_0x3fa472);}[_0x2a4230(0x2e6)](_0x4dd887,_0x1abf14,_0x49ee85,_0x15f7fd){const _0x5547dd=_0x2a4230,_0x1f9b84=this['_revisionService'][_0x5547dd(0x20e)](_0x4dd887);this[_0x5547dd(0x1ac)][_0x5547dd(0x2cd)](_0x4dd887,{'unitID':_0x4dd887,'type':_0x1abf14,'awaitingChangeset':_0x49ee85,'mutations':_0x15f7fd,'rev':_0x1f9b84}),this[_0x5547dd(0x1b2)][_0x5547dd(0x23e)](_0x4dd887)||this[_0x5547dd(0xfd)](_0x4dd887);}[_0x2a4230(0xfd)](_0x1a1662){const _0x3fbede=_0x2a4230,_0xeef60e=this[_0x3fbede(0x1b8)]();_0xeef60e===0x0?this['_saveCache'](_0x1a1662):this[_0x3fbede(0x1b2)][_0x3fbede(0x2cd)](_0x1a1662,setTimeout(()=>this['_saveCache'](_0x1a1662),_0xeef60e));}[_0x2a4230(0x1b8)](){const _0x14bf57=_0x2a4230;var _0x1617a8;return(_0x1617a8=this[_0x14bf57(0xad)][_0x14bf57(0x10a)](_0x4d8e7c[_0x14bf57(0x2ff)]))!=null?_0x1617a8:_0x4d8e7c['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x3a98d4){const _0x1d8c93=_0x2a4230,_0xfdbc0a=this['_saveTaskMap'][_0x1d8c93(0x9e)](_0x3a98d4);return _0xfdbc0a!==void 0x0&&window[_0x1d8c93(0xff)](_0xfdbc0a),this[_0x1d8c93(0xbf)]['setItem'](_0x4d8e7c[_0x1d8c93(0x11e)](_0x3a98d4),this['_cachedData'][_0x1d8c93(0x9e)](_0x3a98d4))[_0x1d8c93(0x14f)](()=>this[_0x1d8c93(0x1b2)][_0x1d8c93(0x1e0)](_0x3a98d4));}async[_0x2a4230(0x1b0)](){const _0x4149a0=_0x2a4230,_0x1db28c=[];this[_0x4149a0(0x1b2)][_0x4149a0(0x30d)]((_0x5457d2,_0x53997b)=>{const _0x1566f7=_0x4149a0;window[_0x1566f7(0xff)](_0x5457d2),_0x1db28c['push'](this[_0x1566f7(0x21d)](_0x53997b)[_0x1566f7(0x14f)](()=>{const _0x2954ba=_0x1566f7;this[_0x2954ba(0x1b2)][_0x2954ba(0x1e0)](_0x53997b);}));}),await Promise['all'](_0x1db28c);}};_0x3b652d=_0x599b5e([_0x583c4b(0x0,_0x3c1804[_0x2a4230(0x23d)]),_0x583c4b(0x1,_0x3c1804[_0x2a4230(0x16d)]),_0x583c4b(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4b9b03[_0x2a4230(0xba)]))],_0x3b652d);class _0x50a82d extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x23ea13=_0x2a4230;super(),_0x275745(this,_0x23ea13(0x2b8)),this[_0x23ea13(0x2b8)]=_0x23318b[_0x23ea13(0x1c3)](window,_0x23ea13(0x132))['pipe'](_0x23318b[_0x23ea13(0xfe)](this['dispose$']),_0x23318b[_0x23ea13(0x2e1)](0x1),_0x23318b[_0x23ea13(0x114)](void 0x0));}['setParam'](_0x32986a,_0x3d6091,_0x10dd8e=!0x1){const _0x2dfbd7=_0x2a4230,_0x19f199=new URL(window['location']['href']);_0x19f199[_0x2dfbd7(0x233)]['set'](_0x32986a,_0x3d6091),_0x10dd8e?window[_0x2dfbd7(0x9f)][_0x2dfbd7(0x28b)]('','',_0x19f199[_0x2dfbd7(0x135)]()):window[_0x2dfbd7(0x9f)]['pushState']('','',_0x19f199[_0x2dfbd7(0x135)]());}[_0x2a4230(0x128)](_0x9179c5,_0x530fb4=!0x1){const _0x158d7a=_0x2a4230,_0x3f092=new URL(window[_0x158d7a(0x1a7)]['href']);_0x3f092['searchParams'][_0x158d7a(0x1e0)](_0x9179c5),_0x530fb4?window[_0x158d7a(0x9f)]['replaceState']('','',_0x3f092[_0x158d7a(0x135)]()):window['history'][_0x158d7a(0x2fe)]('','',_0x3f092[_0x158d7a(0x135)]());}[_0x2a4230(0x1f9)](_0x3c23d2){const _0x498890=_0x2a4230;var _0x430266;return(_0x430266=new URL(window[_0x498890(0x1a7)][_0x498890(0xd8)])[_0x498890(0x233)][_0x498890(0x9e)](_0x3c23d2))!=null?_0x430266:void 0x0;}}var _0x1473bd=Object[_0x2a4230(0x1b6)],_0x2f61b0=Object[_0x2a4230(0x310)],_0x3295c6=(_0x414cd7,_0x507629,_0x2ced58)=>_0x507629 in _0x414cd7?_0x1473bd(_0x414cd7,_0x507629,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced58}):_0x414cd7[_0x507629]=_0x2ced58,_0x39ddfa=(_0x7daa9c,_0x1c980f,_0x39d0c7,_0x5d38c2)=>{for(var _0x566f26=_0x5d38c2>0x1?void 0x0:_0x5d38c2?_0x2f61b0(_0x1c980f,_0x39d0c7):_0x1c980f,_0x8ea48b=_0x7daa9c['length']-0x1,_0xa10d12;_0x8ea48b>=0x0;_0x8ea48b--)(_0xa10d12=_0x7daa9c[_0x8ea48b])&&(_0x566f26=_0xa10d12(_0x566f26)||_0x566f26);return _0x566f26;},_0x2920db=(_0x301313,_0x1cc36a)=>(_0x336717,_0x591ae1)=>_0x1cc36a(_0x336717,_0x591ae1,_0x301313),_0xa93bb0=(_0x187089,_0x24352a,_0x225c04)=>_0x3295c6(_0x187089,_0x24352a+'',_0x225c04);const _0x383fdc=_0x2a4230(0x2e4);_0x4e590a['UniverCollaborationClientUIPlugin']=class extends _0x3c1804['Plugin']{constructor(_0x346e3e=_0x3a187b,_0x34fc35,_0x2bfe00,_0x5ded75){const _0x207415=_0x2a4230;super(),this['_config']=_0x346e3e,this[_0x207415(0x12a)]=_0x34fc35,this[_0x207415(0x2f5)]=_0x2bfe00,this['_configService']=_0x5ded75;const {..._0x51f7d6}=_0x3c1804['merge']({},_0x3a187b,this[_0x207415(0x24f)]);this[_0x207415(0xad)][_0x207415(0x2c7)](_0x5b970e,_0x51f7d6);}[_0x2a4230(0x191)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a4230(0x2de)](){this['_registerRenderDependencies']();}[_0x2a4230(0xf4)](){const _0x4420c5=_0x2a4230;var _0x502e0;const _0xc3b002=[[_0x7baa89],[_0x52d2d4],[_0x291d78],[_0x234507],[_0x149923],[_0x56d03c,{'useClass':_0x50a82d}],[_0x3ceccb[_0x4420c5(0x279)],{'useClass':_0x3ceccb[_0x4420c5(0x28d)]}],[_0x4d8e7c['ILocalCacheService'],{'useClass':_0x3b652d}],[_0x4e590a[_0x4420c5(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x120278],[_0x34b7fc],[_0x4e590a[_0x4420c5(0x1fe)]]];_0x3c1804[_0x4420c5(0x267)](this[_0x4420c5(0x2f5)],_0x3c1804['mergeOverrideWithDependencies'](_0xc3b002,(_0x502e0=this[_0x4420c5(0x24f)])==null?void 0x0:_0x502e0[_0x4420c5(0x1b3)]));}[_0x2a4230(0x2cb)](){const _0x4c5383=_0x2a4230;this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804[_0x4c5383(0x253)]['UNIVER_DOC'],[_0x5eb364])),this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804['UniverInstanceType'][_0x4c5383(0x165)],[_0x1f6d7b]));}[_0x2a4230(0x1c7)](){const _0x3ec9f4=_0x2a4230;_0x3c1804['touchDependencies'](this[_0x3ec9f4(0x2f5)],[[_0x120278],[_0x4e590a[_0x3ec9f4(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x4e590a[_0x3ec9f4(0x1fe)]]]);}},_0xa93bb0(_0x4e590a[_0x2a4230(0x19d)],_0x2a4230(0x170),_0x383fdc),_0x4e590a[_0x2a4230(0x19d)]=_0x39ddfa([_0x3c1804[_0x2a4230(0x20a)](_0x4d8e7c['UniverCollaborationClientPlugin']),_0x2920db(0x1,_0x214f70[_0x2a4230(0x1f1)]),_0x2920db(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x2920db(0x3,_0x3c1804[_0x2a4230(0x23d)])],_0x4e590a[_0x2a4230(0x19d)]);var _0x2fb126=Object[_0x2a4230(0x310)],_0x350a73=(_0x4cbed8,_0x39c830,_0x208bf2,_0x26b023)=>{const _0x4b29dc=_0x2a4230;for(var _0x112e9b=_0x26b023>0x1?void 0x0:_0x26b023?_0x2fb126(_0x39c830,_0x208bf2):_0x39c830,_0x3773c3=_0x4cbed8[_0x4b29dc(0x210)]-0x1,_0xd3d7e1;_0x3773c3>=0x0;_0x3773c3--)(_0xd3d7e1=_0x4cbed8[_0x3773c3])&&(_0x112e9b=_0xd3d7e1(_0x112e9b)||_0x112e9b);return _0x112e9b;},_0x1626ef=(_0x5a6515,_0x3b4506)=>(_0x1ecaaf,_0x4dfce2)=>_0x3b4506(_0x1ecaaf,_0x4dfce2,_0x5a6515);_0x4e590a[_0x2a4230(0x9d)]=class extends _0x4d8e7c['CollaborationSocketService']{constructor(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89){super(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89);}async[_0x2a4230(0x1d9)](_0x555400){const _0x4295d6=_0x2a4230,_0x671a0a=await this['_getSessionTicket'](),_0x4e2bfa=this[_0x4295d6(0x245)](_0x555400,_0x671a0a);return this['_doCreateSocket'](_0x4e2bfa);}[_0x2a4230(0x245)](_0xc577c0,_0x11f213){const _0x319919=_0x2a4230,_0x53a6f0=typeof window>'u'?new URL(_0xc577c0):new URL(_0xc577c0,window[_0x319919(0x1a7)][_0x319919(0x26e)]);_0x53a6f0['searchParams'][_0x319919(0x2cd)](_0x319919(0x147),_0x11f213);const _0x5a0886=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x319919(0x1a7)][_0x319919(0xf0)]);return _0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))&&_0x53a6f0[_0x319919(0x233)][_0x319919(0x2cd)](_0x319919(0xe2),_0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))),_0x53a6f0[_0x319919(0x135)]();}async[_0x2a4230(0x11c)](){const _0x5792f3=_0x2a4230;var _0xb57c36,_0x8456a7,_0x5dcdc3;const _0x4184f0=this[_0x5792f3(0xad)][_0x5792f3(0x10a)](_0x4d8e7c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x34b9b4=(_0xb57c36=_0x4184f0==null?void 0x0:_0x4184f0[_0x5792f3(0x182)])!=null?_0xb57c36:_0x4d8e7c[_0x5792f3(0x258)];return(_0x5dcdc3=(_0x8456a7=(await this[_0x5792f3(0x176)][_0x5792f3(0x9e)](_0x34b9b4,{'headers':{'Content-Type':_0x5792f3(0x1f4)}}))['body'])==null?void 0x0:_0x8456a7[_0x5792f3(0x1d1)])!=null?_0x5dcdc3:'';}},_0x4e590a['BrowserCollaborationSocketService']=_0x350a73([_0x1626ef(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x1626ef(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb[_0x2a4230(0x2e9)])),_0x1626ef(0x2,_0x3c1804[_0x2a4230(0x23d)]),_0x1626ef(0x3,_0x3c1804[_0x2a4230(0x1ab)]),_0x1626ef(0x4,_0x4b9b03['ISnapshotServerService'])],_0x4e590a[_0x2a4230(0x9d)]);const _0x461d63=0x7530,_0xd734cb=_0x2a4230(0xa5);class _0x33492f extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x247a22=_0x2a4230;super(),_0x275745(this,_0x247a22(0x265),_0x3c1804[_0x247a22(0x12d)]()),_0x275745(this,_0x247a22(0xfa),new Set()),_0x275745(this,_0x247a22(0x139),new Map()),_0x275745(this,_0x247a22(0x1f0),null),_0x275745(this,_0x247a22(0xbc),new Map()),_0x275745(this,_0x247a22(0x98),new Map()),this['_init']();}[_0x2a4230(0x75)](){const _0x246c04=_0x2a4230;super[_0x246c04(0x75)](),this['_clearOtherTimers'][_0x246c04(0x30d)]((_0x56c57d,_0x148f7f)=>this['_removeClearOtherTimer'](_0x148f7f)),this[_0x246c04(0x1f0)]&&window[_0x246c04(0x2c2)](this['_heartbeatTimer']);}[_0x2a4230(0x1c9)](_0x519d9c){const _0x257767=_0x2a4230;return this[_0x257767(0x226)](_0x519d9c)['pipe'](_0x23318b[_0x257767(0x21e)]());}[_0x2a4230(0x187)](_0x132cbd){const _0xcaeb5e=_0x2a4230;this[_0xcaeb5e(0xfa)][_0xcaeb5e(0x2e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0xcaeb5e(0xfa)]['add'](_0x132cbd),this[_0xcaeb5e(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x132cbd],'isForwarded':!0x1});}[_0x2a4230(0x2d2)](_0x2c282c){const _0xe20de4=_0x2a4230;this['_selfUnitIDs'][_0xe20de4(0x1e0)](_0x2c282c),this[_0xe20de4(0xfa)]['size']===0x0&&this[_0xe20de4(0x1f0)]&&window[_0xe20de4(0x2c2)](this[_0xe20de4(0x1f0)]);}[_0x2a4230(0x2c1)](){const _0x1618e5=_0x2a4230;this['disposeWithMe'](_0x3c1804[_0x1618e5(0xe1)](_0x23318b[_0x1618e5(0x1c3)](window,_0x1618e5(0x186))[_0x1618e5(0x86)](_0x37727d=>{const _0x12ead9=_0x1618e5;if(_0x37727d[_0x12ead9(0x1ce)]!==_0xd734cb||!_0x37727d[_0x12ead9(0x280)])return;const _0x535c9d=JSON[_0x12ead9(0x17b)](_0x37727d[_0x12ead9(0x280)]);this[_0x12ead9(0x14c)](_0x535c9d);}))),window[_0x1618e5(0x148)](_0x1618e5(0x277),()=>this[_0x1618e5(0x17e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x1618e5(0xfa)])}));}[_0x2a4230(0x14c)](_0x3bc93e){const _0x4365ee=_0x2a4230;switch(_0x3bc93e[_0x4365ee(0x2d7)]){case 0x0:this[_0x4365ee(0x169)](_0x3bc93e);break;case 0x1:this[_0x4365ee(0x113)](_0x3bc93e);break;case 0x2:this[_0x4365ee(0x1a8)](_0x3bc93e);break;}}[_0x2a4230(0x169)](_0x5451ec){const _0x3c99f6=_0x2a4230,{unitIDs:_0x5b9daa,memberID:_0x1e1ee5,isForwarded:_0x43d55e}=_0x5451ec;_0x5b9daa['forEach'](_0x52da0c=>{const _0x12a1f0=_0x1bfb;if(!_0x43d55e&&this[_0x12a1f0(0x139)][_0x12a1f0(0x23e)](_0x52da0c)&&this[_0x12a1f0(0x226)](_0x52da0c)['next'](_0x4d8e7c[_0x12a1f0(0x12c)][_0x12a1f0(0x141)]),!this['_unitOnClients'][_0x12a1f0(0x23e)](_0x52da0c)||!this[_0x12a1f0(0x139)][_0x12a1f0(0x9e)](_0x52da0c)[_0x12a1f0(0x23e)](_0x1e1ee5)){const _0x4c4cb5=this[_0x12a1f0(0x139)]['get'](_0x52da0c)||new Set();_0x4c4cb5[_0x12a1f0(0x137)](_0x1e1ee5),this[_0x12a1f0(0x139)]['set'](_0x52da0c,_0x4c4cb5),this[_0x12a1f0(0x223)](_0x1e1ee5);}}),_0x43d55e||this[_0x3c99f6(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2a4230(0x223)](_0x53ab4c){const _0x57df08=_0x2a4230;this[_0x57df08(0x254)](_0x53ab4c);const _0x32ea93=window[_0x57df08(0x13d)](()=>{const _0x59765f=_0x57df08;this['_unitOnClients'][_0x59765f(0x30d)](_0x1155a9=>{const _0x5e0215=_0x59765f;_0x1155a9[_0x5e0215(0x1e0)](_0x53ab4c);});},_0x461d63*0x2);this[_0x57df08(0xbc)][_0x57df08(0x2cd)](_0x53ab4c,_0x32ea93);}[_0x2a4230(0x254)](_0xa4ce39){const _0x406773=_0x2a4230;if(this[_0x406773(0xbc)]['has'](_0xa4ce39)){const _0x1bac57=this[_0x406773(0xbc)][_0x406773(0x9e)](_0xa4ce39);_0x1bac57&&window['clearTimeout'](_0x1bac57),this['_clearOtherTimers'][_0x406773(0x2cd)](_0xa4ce39,null);}}[_0x2a4230(0x113)](_0x30e8c3){const _0x5745fe=_0x2a4230,{memberID:_0x2d14e4,unitIDs:_0x1b678e}=_0x30e8c3;_0x1b678e['forEach'](_0x4ba272=>{const _0x46999d=_0x1bfb;var _0x5f385a;const _0x11b7b7=this['_unitOnClients'][_0x46999d(0x9e)](_0x4ba272);_0x11b7b7&&(_0x11b7b7['delete'](_0x2d14e4),(_0x5f385a=this['_ensureSubject'](_0x4ba272))==null||_0x5f385a[_0x46999d(0x120)](_0x11b7b7[_0x46999d(0x2e3)]===0x0?_0x4d8e7c['UnitStatus'][_0x46999d(0x1d6)]:_0x4d8e7c[_0x46999d(0x12c)]['OTHER_CLIENTS_EDITING']));}),this[_0x5745fe(0x254)](_0x2d14e4);}[_0x2a4230(0x1a8)](_0x17c916){const _0x553fd3=_0x2a4230;this[_0x553fd3(0x223)](_0x17c916[_0x553fd3(0x2c0)]);}['_send'](_0x5e8f8d){const _0x28fc6f=_0x2a4230;localStorage[_0x28fc6f(0x12b)](_0xd734cb,JSON[_0x28fc6f(0x22a)](_0x5e8f8d));}[_0x2a4230(0x2a6)](){const _0xd8cd16=_0x2a4230;this['_heartbeatTimer']=window[_0xd8cd16(0x198)](()=>{const _0x9dbcdb=_0xd8cd16;this[_0x9dbcdb(0x17e)]({'type':0x2,'memberID':this['_id']});},_0x461d63);}['_ensureSubject'](_0x2c2072){const _0x3d4db8=_0x2a4230;return this[_0x3d4db8(0x98)][_0x3d4db8(0x23e)](_0x2c2072)||this[_0x3d4db8(0x98)][_0x3d4db8(0x2cd)](_0x2c2072,new _0x23318b['BehaviorSubject'](_0x4d8e7c[_0x3d4db8(0x12c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d4db8(0x98)][_0x3d4db8(0x9e)](_0x2c2072);}}var _0x37a998=(_0x41bd73=>(_0x41bd73[_0x41bd73['UNDEFINED']=0x0]=_0x2a4230(0x216),_0x41bd73[_0x41bd73['OK']=0x1]='OK',_0x41bd73[_0x41bd73[_0x2a4230(0x22d)]=0x2]='INTERNAL_ERROR',_0x41bd73[_0x41bd73['PERMISSION_DENIED']=0x3]=_0x2a4230(0xe0),_0x41bd73[_0x41bd73[_0x2a4230(0x29f)]=0x4]=_0x2a4230(0x29f),_0x41bd73[_0x41bd73[_0x2a4230(0x21c)]=0x5]='UNAUTHENTICATED',_0x41bd73[_0x41bd73[_0x2a4230(0x1bd)]=0x6]=_0x2a4230(0x1bd),_0x41bd73[_0x41bd73[_0x2a4230(0x29a)]=0x7]=_0x2a4230(0x29a),_0x41bd73[_0x41bd73[_0x2a4230(0x1dc)]=0x8]=_0x2a4230(0x1dc),_0x41bd73[_0x41bd73[_0x2a4230(0xde)]=0x9]=_0x2a4230(0xde),_0x41bd73[_0x41bd73[_0x2a4230(0x13c)]=0xa]=_0x2a4230(0x13c),_0x41bd73[_0x41bd73[_0x2a4230(0x21a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x41bd73[_0x41bd73[_0x2a4230(0x2dd)]=0xc]=_0x2a4230(0x2dd),_0x41bd73[_0x41bd73['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2a4230(0x22c),_0x41bd73[_0x41bd73[_0x2a4230(0x1c2)]=0xe]=_0x2a4230(0x1c2),_0x41bd73[_0x41bd73['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2a4230(0x131),_0x41bd73[_0x41bd73[_0x2a4230(0x73)]=0x1771]=_0x2a4230(0x73),_0x41bd73[_0x41bd73[_0x2a4230(0x91)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41bd73[_0x41bd73[_0x2a4230(0x1c0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bd73[_0x41bd73[_0x2a4230(0xd6)]=0x1b59]='APPLY_REJECT',_0x41bd73[_0x41bd73[_0x2a4230(0x136)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bd73[_0x41bd73[_0x2a4230(0xef)]=0x1b5b]=_0x2a4230(0xef),_0x41bd73[_0x41bd73[_0x2a4230(0xeb)]=0x1b5c]=_0x2a4230(0xeb),_0x41bd73[_0x41bd73[_0x2a4230(0x25c)]=0x1b5d]=_0x2a4230(0x25c),_0x41bd73[_0x41bd73[_0x2a4230(0x24b)]=0x1f41]=_0x2a4230(0x24b),_0x41bd73[_0x41bd73[_0x2a4230(0x1a5)]=0x2329]=_0x2a4230(0x1a5),_0x41bd73[_0x41bd73[_0x2a4230(0xfc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x248)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x17d)]=0x232c]=_0x2a4230(0x17d),_0x41bd73[_0x41bd73[_0x2a4230(0x2bf)]=0x232d]=_0x2a4230(0x2bf),_0x41bd73[_0x41bd73[_0x2a4230(0x1fc)]=0x2711]=_0x2a4230(0x1fc),_0x41bd73[_0x41bd73[_0x2a4230(0x15b)]=0x2712]=_0x2a4230(0x15b),_0x41bd73[_0x41bd73[_0x2a4230(0x1ea)]=0x2713]=_0x2a4230(0x1ea),_0x41bd73[_0x41bd73[_0x2a4230(0x2f2)]=0x2714]=_0x2a4230(0x2f2),_0x41bd73[_0x41bd73[_0x2a4230(0xee)]=0x271a]=_0x2a4230(0xee),_0x41bd73[_0x41bd73[_0x2a4230(0xf9)]=0x271b]=_0x2a4230(0xf9),_0x41bd73[_0x41bd73[_0x2a4230(0x1be)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x41bd73[_0x41bd73[_0x2a4230(0x285)]=0x271d]=_0x2a4230(0x285),_0x41bd73[_0x41bd73[_0x2a4230(0x10f)]=0x271e]=_0x2a4230(0x10f),_0x41bd73[_0x41bd73[_0x2a4230(0xab)]=0x271f]=_0x2a4230(0xab),_0x41bd73[_0x41bd73['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x41bd73[_0x41bd73['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2a4230(0x289),_0x41bd73[_0x41bd73[_0x2a4230(0x167)]=0x2ee1]=_0x2a4230(0x167),_0x41bd73[_0x41bd73[_0x2a4230(0x304)]=0x2ee2]='INVALID_INVITE_CODE',_0x41bd73[_0x41bd73[_0x2a4230(0xf7)]=0x2ee3]=_0x2a4230(0xf7),_0x41bd73[_0x41bd73[_0x2a4230(0x237)]=0x2ee4]=_0x2a4230(0x237),_0x41bd73[_0x41bd73['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2a4230(0x153),_0x41bd73[_0x41bd73[_0x2a4230(0xc3)]=0x32c9]=_0x2a4230(0xc3),_0x41bd73[_0x41bd73[_0x2a4230(0xbb)]=0x32ca]=_0x2a4230(0xbb),_0x41bd73[_0x41bd73['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2a4230(0x27a),_0x41bd73[_0x41bd73[_0x2a4230(0x178)]=-0x1]=_0x2a4230(0x178),_0x41bd73))(_0x37a998||{}),_0x5606fe=Object['getOwnPropertyDescriptor'],_0x425895=(_0x3fbc88,_0x103504,_0x57ea1b,_0x44c08f)=>{const _0x3cb200=_0x2a4230;for(var _0x23c0a8=_0x44c08f>0x1?void 0x0:_0x44c08f?_0x5606fe(_0x103504,_0x57ea1b):_0x103504,_0x594e63=_0x3fbc88[_0x3cb200(0x210)]-0x1,_0x363050;_0x594e63>=0x0;_0x594e63--)(_0x363050=_0x3fbc88[_0x594e63])&&(_0x23c0a8=_0x363050(_0x23c0a8)||_0x23c0a8);return _0x23c0a8;},_0x2ad9b9=(_0x56aae2,_0x12b543)=>(_0x33ef77,_0x3a52b9)=>_0x12b543(_0x33ef77,_0x3a52b9,_0x56aae2);_0x4e590a[_0x2a4230(0x2fd)]=class extends _0x3c1804['Disposable']{constructor(_0x155676,_0x4b39bd,_0x510036){const _0x14f416=_0x2a4230;super(),this[_0x14f416(0x1e5)]=_0x155676,this[_0x14f416(0x176)]=_0x4b39bd,this['_configService']=_0x510036;}async['runOnServer'](_0xad879a,_0x1a6d91,_0x320a9d,..._0x4f5d50){const _0x526b73=_0x2a4230;var _0x33d074,_0x1d27dd,_0x2e1877,_0x461656;const _0x2f19d5=this[_0x526b73(0x1e5)][_0x526b73(0x1f8)]();if(!_0x2f19d5)throw new Error(_0x526b73(0x2f8));const _0x2ab6bb=((_0x33d074=this[_0x526b73(0xad)]['getConfig'](_0x4d8e7c[_0x526b73(0x1bf)]))!=null?_0x33d074:_0x4d8e7c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xad879a+_0x526b73(0x99)+_0x1a6d91,_0x493d80=new URL(window[_0x526b73(0x1a7)][_0x526b73(0xd8)]),_0x226fcb={'scriptId':_0xad879a,'runId':(_0x1d27dd=_0x493d80['searchParams'][_0x526b73(0x9e)](_0x526b73(0xe2)))!=null?_0x1d27dd:'','function':_0x1a6d91,'unitId':_0x2f19d5[_0x526b73(0x224)](),'argsOfFunction':JSON[_0x526b73(0x22a)](_0x4f5d50),'invokeId':(_0x2e1877=_0x320a9d[_0x526b73(0x88)])!=null?_0x2e1877:'','executionId':(_0x461656=_0x320a9d[_0x526b73(0x7e)])!=null?_0x461656:''};try{const _0x899da5=await this[_0x526b73(0x176)][_0x526b73(0x268)](_0x2ab6bb,{'body':_0x226fcb});return _0x899da5[_0x526b73(0x82)][_0x526b73(0x103)]&&_0x899da5[_0x526b73(0x82)]['error'][_0x526b73(0x2da)]!==_0x37a998['OK']?_0x526b73(0x2d4):_0x899da5[_0x526b73(0x82)][_0x526b73(0xf2)];}catch{return _0x526b73(0x2d4);}}},_0x4e590a['RemoteUniscriptService']=_0x425895([_0x2ad9b9(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x2ad9b9(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb['HTTPService'])),_0x2ad9b9(0x2,_0x3c1804['IConfigService'])],_0x4e590a[_0x2a4230(0x2fd)]),_0x4e590a[_0x2a4230(0x1e7)]=_0x56d03c,_0x4e590a[_0x2a4230(0x8d)]=_0xfe2e0a,_0x4e590a['WebBrowserSingleActiveUnitService']=_0x33492f,_0x4e590a['WebURLService']=_0x50a82d,Object[_0x2a4230(0x1b6)](_0x4e590a,Symbol[_0x2a4230(0x2b7)],{'value':_0x2a4230(0xf1)});}));
1
+ function _0x39c5(_0x703a98,_0x411ee3){const _0x49805a=_0x4980();return _0x39c5=function(_0x39c547,_0x291b12){_0x39c547=_0x39c547-0x113;let _0x1f3b64=_0x49805a[_0x39c547];return _0x1f3b64;},_0x39c5(_0x703a98,_0x411ee3);}function _0x4980(){const _0x1ea7cb=['color','split','transform','setActiveRange','4093268TOPzQd','defineProperty','_range','getUnitId','_handleJoinEvent','UniverProCollaborationClientUi','Disposable','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','createElement','setTimeout','Warning','type','INVITE_CODE_ALREADY_BOUND','white','_localStorageService','_collabCursorState$','hovered','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','SUBMIT_CHANGESET_TIMEOUT','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','range','collabStatus.syncing','_id','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','off-line-icon','116178lFHMKk','DocCollaborationEntity','@univerjs/sheets-ui','isArray','handleInsertRangeMoveDown','useDependency','UniverRpc','@univerjs-pro/collaboration','then','_backgroundColor','_scene','generateRandomId','translate(.97)','IUniverInstanceService','debug','_initStatusComponent','ColorKit','getConfig','forEach','undoState','_transformPreviousActiveRange','min','BrowserCollaborationSocketService','_shapes','toString','_removeClearOtherTimer','_notificationService','init','_saveCache','_initEntityListener','Inject','merge','text','addObject','forwardRef','drawWith','ranges','UNIVER_SHEET','NOT_FOUND','ACTIVE_UNIT_EVENT_CHANNEL','_eventUnsubscribe','function','getStateCache','eventID','height','RECT','_roomMembers$','TEXT_RANGE_LAYER_INDEX','beginPath','1em','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','@univerjs/rpc','dispose$','size','next','DataLoaderService','prototype','triggerDblclick','WebBrowserSingleActiveUnitService','UniverDocsUi','UPDATE_CURSOR','CollaborationEvent','show','error','transformSelections','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','replaceState','delete','YUUMI_UNABLE_LOAD_URL','tag','@univerjs/engine-render','getMergeData','_handleHeartbeatEvent','trim','ALREADY_EXISTS','complete','9wlKhit','combineLatest','_collaborationController','assignAColorForMemberID','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','getCurrentUnitForType','disposeUnit','green.600','124958ZVIGJr','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','code','390MHHNmd','UNRECOGNIZED','column','use','EffectRefRangId','getMember','with','isTransformMutationFailure','executeCommand','Unknown\x20user','_send','round','UNAUTHENTICATED','MessageType','clipPath','substring','isTransformMutationsWithChangesetSuccess','arc','_selfUnitIDs','RemoteUniscriptService','_updateURLWithCurrentState','APPLY_NON_SEQUENTIAL_REVISION','defs','collab-text-anchor-','NodePositionConvertToRectRange','startsWith','react','handleIRemoveRow','DOC_RANGE_TYPE','_refreshCollabCursors','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','unitId','resize','USER_NOT_INVITED_CODE','getUniverSheetInstance','collaboration.closeRoom','IRenderManagerService','_collaborationUIEventService','ONLINE','OTHER_CLIENT_EDITING','_registerDependencies','editingUnit','_startDocCollabCursor','getOwnPropertySymbols','_logService','_clearOtherTimers','LocaleService','saveImage','top','YUUMI_RATE_OVER_LIMIT','10bGyWhO','RxDisposable','selection','createSocket','add','getSkeleton','_renderManagerService','Error','_getAnchorBounding','_uiPartsService','fromEvent','actions','HTTPService','IImageIoService','_colorIndex','has','OnLineIcon','UNDEFINED','source','addEventListener','UniverDrawing','redoState','_docSyncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','_removeCollabCursors','_dataLoaderService','collab-text-range-','_hideTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverNetwork','DocIMEInputManagerService','updateOfflineData','deepClone','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','fill','_getSessionTicket','unitID','evenodd','_status$','IUIPartsService','_online','HEADER_MENU','subscribeEvent','_httpService','onMouseMove','_textBubble','engine','mapTo','mask','sheetId','href','PERMISSION_DENIED','session.connection-failed','application/json','univer-mr-2\x20univer-flex\x20univer-text-xl','backgroundColor','row','getOffsetConfig','_docTransformStateCacheService','_onRefRangeChange','from','transformIMECache','getRangePointData','getFocusedUnit','SheetCollabCursorShape','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Shape','result','_getMergeRange','INVITE_CODE_REQUIRED','_docTransformIMECacheService','random','_colorAssignService','SOCKET_FAILED_RETRY','CollaborationController','transformStateCache','UniverUi','RegularPolygon','dispose','uni.network.url-service','Tooltip','handleIRemoveCol','endRow','_cursor','debounceTime','_cursors','handleDeleteRangeMoveLeft','_docSkeleton','setShapeProps','purple.300','hasOwnProperty','_document','_render','_onCursorDelete','UniverDocs','serializeRangeWithSheet','data','_updateLocalCursor','idSuffix','exhaustSavingTask','whenReady','labelPosition','LICENSE_DISTRO_REJECTED','_collabSessionService','collaboration.single-unit.warning','_heartbeatTimer','INVALID_ARGUMENT','_drawRectRange','SetWorksheetActivateCommand','contains','endColumn','newValue','touchDependencies','doc.mutation.rich-text-editing','onCommandExecuted','_urlService','flatMap','sheetID','subunit','_setupSubUnitSync','runId','useObservable','includes','_univerInstanceService','body','...','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','_anchorDot','width','_draw','displayName','red.300','stringify','map','toStringTag','currentTheme$','fillText','SOCKET_FAILED','_getSheetObject','runOnServer','jiqing.500','Module','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','closePath','UnitStatus','ILogService','propertyIsEnumerable','getLocalCacheKey','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','toRgbString','2431665ZMnbvV','setItem','m2Prime','extend','getVpScrollXYInfoByPosToVp','_drawAnchor','getOwnPropertyDescriptor','permission.title','M0\x200H16V16H0z','apply','createIdentifier','collab-rect-range-','RichTextEditingMutation','url(#$1','popstate','NO_OTHER_CLIENTS_EDITING','_entities','_memberService','transformRemoteChangeset','getColor','INTERNAL_ERROR','current','mutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_localeService','getCellPositionByOffset','231uBwpwu','_transformUndoRedoStack','invokeId','_lastPointer','cursorInfo$','pushState','onPointerMove$','post','blue.400','handleInsertRow','debounce','addObjects','RevisionService','WebURLService','MoveRangeCommandId','length','getUnitStatus$','0\x200\x2016\x2016','jsx','MemberService','InsertColCommandId','Tools','setInterval','clearInterval','@univerjs/design','syncEditingCollabCursor','InsertRangeMoveDownCommandId','onPointerEnter$','getParam','rxjs/operators','setUndoRedoMutationParamsCache','_handleEvent','_registerRenderDependencies','http://www.w3.org/2000/svg','DocSelectionManagerService','CLOSE_ROOM','10186808dplBAW','USERS_LEAVE','_labelPosition','_transformService','NodePositionConvertToCursor','getCurrent','CollaborationSessionService','exports','replaceDocRanges','FromArray','asObservable','registerRenderModule','_disabled','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','get','_color','_name','UniverSheets','getValue','_docTransformSelectionsService','registerRefRange','_init','getUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','APPLY_REJECT','wsSessionTicketUrl','_initResize','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','TOO_MANY_REQUESTS','YUUMI_ALL_TABLES_IS_INVALID','unit','history','saveTaskMap','shareReplay','unsubscribe','svg','ILocalCacheService','isEditing','_ensureSubject','rxjs','_session','_hovered','textRanges','getCollabCursors$','yellow.400','startColumn','DependentOn','collab-client.tooltip.reconnect','_saveTaskMap','colorChannel1','black','IMessageService','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','_sheetSkeletonManagerService','urlChange$','_unitStatus','values','handleMoveRange','SetDocZoomRatioOperation','SheetSkeletonManagerService','children','218940eQUhVY','SessionStatus','div','ThemeService','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','Workbook','pluginName','defIds','FETCH_MISS','SHEET_VIEWPORT_KEY','IRemoteInstanceService','CollaborationUIEventId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toDisposable','Failed','_scheduleHeartbeat','hide','Injector','useCallback','filter','@univerjs/drawing','_updateSubUnitFromURLParams','font','collaboration-client.offline-data-not-saved','_startSheetCollabCursor','getActiveSheet','OTHER_CLIENTS_EDITING','UniverSheetsUi','DocStateChangeManagerService','docStateChange$','location','_setupBeforeClosingHandler','replace','_scheduleClearOtherTimer','createInstance','focused$','getMemberID','APPLY_DUPLICATED','m1Prime','some','CONNECTOR_DATA_TOO_LARGE','_getScale','ITransformService','unshift','getActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sessionTicket','call','getTypeOfUnitDisposed$','pipe','SNAPSHOT_HAS_BEEN_REMOVED','CONFLICT','subscribe','_drawTextRange','mergeOverrideWithDependencies','setConfig','_cachedData','registerComponent','_commandService','SetTextSelectionsOperation','collabCursorState$','measureText','setParam','_onCursorUpdate','_collabCursorController','name','disableLocalCache','RemoveRowCommandId','ENSURE_SNAPSHOT_EXECUTION','lineTo','onStarting','takeUntil','string','storage','path','_themeService','LOCAL_CACHE_INTERVAL','_getSaveTimeout','clsx','max','MOBILE_HAS_BEEN_BOUND','_entityInit$','removeParam','addHandlerCallback','distinctUntilChanged','TEXT','_injector','APPLY_REVISION_CONFILICT','InsertRowCommandId','getViewport','_docSkeletonManagerService','_docStateChangeManagerService','_initDependencies','@univerjs/network','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_docClipboardService','NOT_COLLAB','IConfigService','_hover','clearTimeout','_cursorInfo$','assign','icon','set','getAncestorScale','currentSkeleton$','searchParams','onPointerLeave$','UniverProCollaborationClient','disposeWithMe','@univerjs/docs','Optional','DeleteRangeMoveLeftCommandId','fillRule','BehaviorSubject','_handleHover','@univerjs/core','DesktopCollaborationStatusDisplayController','ICommandService','requireSession','@univerjs/docs-ui','url(#off-line-icon_clip0_910_343)','origin','off-line-icon_clip0_910_343','setAlpha','WECHAT_HAS_BEEN_BOUND','_toggleOnline','indexOf','startRow','currentColor','loadOfflineData','isActive','OffLineIcon','_refRangeService','handleInsertRangeMoveRight','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','save','DeleteRangeMoveUpCommandId','onLocalMutation','@univerjs/sheets','cursorInfo','getCoordByCell','CHANGESET_REVISION_CONFILICT','restore','none','getRenderById','attrs','_createSocketURL','on-line-icon_clip0_910_349','_beforeCloseService','_anchor','_initEvent','push','IURLService','on-line-icon','symbol','getDocRanges','DocSkeletonManagerService','COLORS','DEFAULT_WS_SESSION_TICKET_URL','_toggleOffline','handleInsertCol','enableLocalCache','Plugin','switchMap','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','_configService','roomMembers','SetSelectionsOperation','_instanceService','OFFLINE','send','/run/','UniverDesign','UNIVER_DOC','INVALID_INVITE_CODE','_updateCollabCursors','UniverInstanceType','connectInjector','fillStyle','getColorFromTheme','onRendered','_unitOnClients','_messageService','params','collabStatus.offline','key','_localCacheService','react/jsx-runtime','EMAIL_VERIFY_CODE_MISMATCH','CollaborationDataLoaderController','saveOfflineData','IDocClipboardService','SheetsSelectionsService','44022OFgNNZ','_initStatusListener','all','_imageIoService','onTransformChange$','JOIN_ROOM_FAILED','imageSourceType','_context','Rect','_assignedColors','Rectangle','LOGIN_FAILED','className'];_0x4980=function(){return _0x1ea7cb;};return _0x4980();}(function(_0x59fd7f,_0x5c6961){const _0x2bac4b=_0x39c5,_0x257687=_0x59fd7f();while(!![]){try{const _0x34cb43=-parseInt(_0x2bac4b(0x300))/0x1*(parseInt(_0x2bac4b(0x336))/0x2)+-parseInt(_0x2bac4b(0x2a8))/0x3+parseInt(_0x2bac4b(0x28a))/0x4+parseInt(_0x2bac4b(0x135))/0x5+parseInt(_0x2bac4b(0x1b4))/0x6*(parseInt(_0x2bac4b(0x14f))/0x7)+parseInt(_0x2bac4b(0x173))/0x8*(-parseInt(_0x2bac4b(0x2f7))/0x9)+parseInt(_0x2bac4b(0x303))/0xa*(parseInt(_0x2bac4b(0x279))/0xb);if(_0x34cb43===_0x5c6961)break;else _0x257687['push'](_0x257687['shift']());}catch(_0x416fc5){_0x257687['push'](_0x257687['shift']());}}}(_0x4980,0xe3ca7),function(_0xfb10e,_0x17f0d2){const _0x2014c5=_0x39c5;typeof exports=='object'&&typeof module<'u'?_0x17f0d2(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2014c5(0x2d1)&&define['amd']?define([_0x2014c5(0x17a),_0x2014c5(0x273),'@univerjs-pro/collaboration-client',_0x2014c5(0x22a),'@univerjs/ui','rxjs',_0x2014c5(0x167),_0x2014c5(0x31d),_0x2014c5(0x2dd),_0x2014c5(0x241),_0x2014c5(0x2f1),_0x2014c5(0x212),_0x2014c5(0x22e),_0x2014c5(0x1c9),_0x2014c5(0x2af),_0x2014c5(0x224),'@univerjs/engine-formula',_0x2014c5(0x16c),_0x2014c5(0x2aa)],_0x17f0d2):(_0xfb10e=typeof globalThis<'u'?globalThis:_0xfb10e||self,_0x17f0d2(_0xfb10e[_0x2014c5(0x28f)]={},_0xfb10e['React'],_0xfb10e[_0x2014c5(0x222)],_0xfb10e['UniverCore'],_0xfb10e[_0x2014c5(0x383)],_0xfb10e[_0x2014c5(0x19d)],_0xfb10e[_0x2014c5(0x264)],_0xfb10e['React'],_0xfb10e[_0x2014c5(0x2ae)],_0xfb10e[_0x2014c5(0x185)],_0xfb10e['UniverEngineRender'],_0xfb10e[_0x2014c5(0x354)],_0xfb10e[_0x2014c5(0x2e5)],_0xfb10e[_0x2014c5(0x34a)],_0xfb10e['UniverProCollaboration'],_0xfb10e[_0x2014c5(0x395)],_0xfb10e['UniverEngineFormula'],_0xfb10e['rxjs']['operators'],_0xfb10e[_0x2014c5(0x1d0)]));}(this,function(_0x218781,_0x5536b0,_0x2600cf,_0x5e3300,_0x48ab34,_0x50b64e,_0x244ea9,_0x3146b7,_0x2f8e17,_0x101dc9,_0x1b825c,_0x5771f5,_0x1b316e,_0xc83503,_0x4384c1,_0x3a8334,_0x5aa429,_0x3987d5,_0x1b0390){'use strict';const _0x41a185=_0x39c5;var _0x11631e=Object['defineProperty'],_0x1c4428=(_0x7b6af,_0x4c04f0,_0x1e3dec)=>_0x4c04f0 in _0x7b6af?_0x11631e(_0x7b6af,_0x4c04f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3dec}):_0x7b6af[_0x4c04f0]=_0x1e3dec,_0x528ae5=(_0x469425,_0x5413c4,_0x28feac)=>_0x1c4428(_0x469425,typeof _0x5413c4!=_0x41a185(0x251)?_0x5413c4+'':_0x5413c4,_0x28feac),_0x1525d3=function(){const _0x41d2c9=_0x41a185;return _0x1525d3=Object[_0x41d2c9(0x21b)]||function(_0x492e41){const _0x44d486=_0x41d2c9;for(var _0x272de9,_0x48aeb6=0x1,_0xd28e50=arguments[_0x44d486(0x15e)];_0x48aeb6<_0xd28e50;_0x48aeb6++){_0x272de9=arguments[_0x48aeb6];for(var _0x1f6ecf in _0x272de9)Object['prototype'][_0x44d486(0x391)][_0x44d486(0x1e4)](_0x272de9,_0x1f6ecf)&&(_0x492e41[_0x1f6ecf]=_0x272de9[_0x1f6ecf]);}return _0x492e41;},_0x1525d3[_0x41d2c9(0x13e)](this,arguments);},_0x1366b=function(_0x3cc3b7,_0x15a958){const _0x256ab9=_0x41a185;var _0x434ca4={};for(var _0x86ecec in _0x3cc3b7)Object[_0x256ab9(0x2e2)][_0x256ab9(0x391)][_0x256ab9(0x1e4)](_0x3cc3b7,_0x86ecec)&&_0x15a958[_0x256ab9(0x235)](_0x86ecec)<0x0&&(_0x434ca4[_0x86ecec]=_0x3cc3b7[_0x86ecec]);if(_0x3cc3b7!=null&&typeof Object[_0x256ab9(0x32f)]==_0x256ab9(0x2d1)){for(var _0x527287=0x0,_0x86ecec=Object['getOwnPropertySymbols'](_0x3cc3b7);_0x527287<_0x86ecec[_0x256ab9(0x15e)];_0x527287++)_0x15a958[_0x256ab9(0x235)](_0x86ecec[_0x527287])<0x0&&Object[_0x256ab9(0x2e2)][_0x256ab9(0x131)]['call'](_0x3cc3b7,_0x86ecec[_0x527287])&&(_0x434ca4[_0x86ecec[_0x527287]]=_0x3cc3b7[_0x86ecec[_0x527287]]);}return _0x434ca4;},_0x146f6c=_0x3146b7['forwardRef'](function(_0x44adda,_0x5c4d50){const _0x25352e=_0x41a185;var _0x1efeaa=_0x44adda[_0x25352e(0x21c)],_0x1a5839=_0x44adda['id'],_0x472620=_0x44adda[_0x25352e(0x285)],_0x4bf3aa=_0x44adda['extend'],_0x57545b=_0x1366b(_0x44adda,[_0x25352e(0x21c),'id','className',_0x25352e(0x138)]),_0x590c22='univerjs-icon\x20univerjs-icon-'[_0x25352e(0x2a6)](_0x1a5839,'\x20')[_0x25352e(0x2a6)](_0x472620||'')[_0x25352e(0x2f4)](),_0x58a350=_0x3146b7['useRef']('_'[_0x25352e(0x2a6)](_0x3665c3()));return _0xdc07d0(_0x1efeaa,''[_0x25352e(0x2a6)](_0x1a5839),{'defIds':_0x1efeaa['defIds'],'idSuffix':_0x58a350[_0x25352e(0x14a)]},_0x1525d3({'ref':_0x5c4d50,'className':_0x590c22},_0x57545b),_0x4bf3aa);});function _0xdc07d0(_0x489d9e,_0x4eb817,_0x163b0e,_0x11551b,_0x3cab57){const _0x152849=_0x41a185;return _0x3146b7[_0x152849(0x294)](_0x489d9e[_0x152849(0x2f0)],_0x1525d3(_0x1525d3({'key':_0x4eb817},_0x516c78(_0x489d9e,_0x163b0e,_0x3cab57)),_0x11551b),(_0x1ac1cd(_0x489d9e,_0x163b0e)[_0x152849(0x1b3)]||[])[_0x152849(0x123)](function(_0x1fbb8c,_0x3abffe){const _0x18d1a8=_0x152849;return _0xdc07d0(_0x1fbb8c,''[_0x18d1a8(0x2a6)](_0x4eb817,'-')['concat'](_0x489d9e['tag'],'-')[_0x18d1a8(0x2a6)](_0x3abffe),_0x163b0e,void 0x0,_0x3cab57);}));}function _0x516c78(_0x4ff139,_0x10a05e,_0x5571b2){const _0x36beec=_0x41a185;var _0x9fea7=_0x1525d3({},_0x4ff139[_0x36beec(0x248)]);_0x5571b2!=null&&_0x5571b2[_0x36beec(0x1a7)]&&_0x9fea7[_0x36beec(0x359)]===_0x36beec(0x1a7)&&(_0x9fea7[_0x36beec(0x359)]=_0x5571b2['colorChannel1']),_0x4ff139[_0x36beec(0x2f0)]===_0x36beec(0x367)&&_0x9fea7['id']&&(_0x9fea7['id']=_0x9fea7['id']+_0x10a05e[_0x36beec(0x399)]),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x3c6ca9){const _0x69ac4f=_0x36beec;var _0x2e108a=_0x3c6ca9[0x0],_0x105d4c=_0x3c6ca9[0x1];_0x2e108a===_0x69ac4f(0x367)&&typeof _0x105d4c==_0x69ac4f(0x1fd)&&(_0x9fea7[_0x2e108a]=_0x105d4c[_0x69ac4f(0x1d5)](/url\(#(.*)\)/,_0x69ac4f(0x142)[_0x69ac4f(0x2a6)](_0x10a05e[_0x69ac4f(0x399)],')')));});var _0x3f4264=_0x10a05e[_0x36beec(0x1bc)];return!_0x3f4264||_0x3f4264[_0x36beec(0x15e)]===0x0||(_0x4ff139['tag']===_0x36beec(0x306)&&_0x9fea7['xlink:href']&&(_0x9fea7[_0x36beec(0x11c)]=_0x9fea7[_0x36beec(0x11c)]+_0x10a05e['idSuffix']),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x287a95){const _0xd3b229=_0x36beec;var _0x25fa78=_0x287a95[0x0],_0x54a79e=_0x287a95[0x1];typeof _0x54a79e=='string'&&(_0x9fea7[_0x25fa78]=_0x54a79e[_0xd3b229(0x1d5)](/url\(#(.*)\)/,'url(#$1'[_0xd3b229(0x2a6)](_0x10a05e[_0xd3b229(0x399)],')')));})),_0x9fea7;}function _0x1ac1cd(_0x22b75,_0x3d941a){const _0x56301b=_0x41a185;var _0x253b38,_0x950b95=_0x3d941a['defIds'];return!_0x950b95||_0x950b95[_0x56301b(0x15e)]===0x0?_0x22b75:_0x22b75['tag']===_0x56301b(0x319)&&(!((_0x253b38=_0x22b75[_0x56301b(0x1b3)])===null||_0x253b38===void 0x0)&&_0x253b38[_0x56301b(0x15e)])?_0x1525d3(_0x1525d3({},_0x22b75),{'children':_0x22b75[_0x56301b(0x1b3)][_0x56301b(0x123)](function(_0x4dae45){const _0x5dd4a3=_0x56301b;return typeof _0x4dae45[_0x5dd4a3(0x248)]['id']==_0x5dd4a3(0x1fd)&&_0x950b95&&_0x950b95[_0x5dd4a3(0x117)](_0x4dae45[_0x5dd4a3(0x248)]['id'])?_0x1525d3(_0x1525d3({},_0x4dae45),{'attrs':_0x1525d3(_0x1525d3({},_0x4dae45[_0x5dd4a3(0x248)]),{'id':_0x4dae45[_0x5dd4a3(0x248)]['id']+_0x3d941a[_0x5dd4a3(0x399)]})}):_0x4dae45;})}):_0x22b75;}function _0x3665c3(){const _0x3a10a3=_0x41a185;return Math[_0x3a10a3(0x37e)]()[_0x3a10a3(0x2c0)](0x24)[_0x3a10a3(0x312)](0x2,0x8);}_0x146f6c[_0x41a185(0x120)]='UniverIcon';var _0x24587d={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':'none','viewBox':_0x41a185(0x160),'width':_0x41a185(0x2d9),'height':_0x41a185(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x22f)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':_0x41a185(0x237),'d':_0x41a185(0x358),'strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x231)},'children':[{'tag':'path','attrs':{'fill':_0x41a185(0x299),'d':_0x41a185(0x13d)}}]}]}],'defIds':[_0x41a185(0x231)]},_0xf3e0b2=_0x3146b7[_0x41a185(0x2ca)](function(_0x4785a2,_0x2a523c){const _0x21b4a1=_0x41a185;return _0x3146b7[_0x21b4a1(0x294)](_0x146f6c,Object[_0x21b4a1(0x21b)]({},_0x4785a2,{'id':_0x21b4a1(0x2a7),'ref':_0x2a523c,'icon':_0x24587d}));});_0xf3e0b2[_0x41a185(0x120)]=_0x41a185(0x23a);var _0x2a8e7f={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':_0x41a185(0x246),'viewBox':'0\x200\x2017\x2016','width':_0x41a185(0x2d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x1ab)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':_0x41a185(0x30e),'strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x24a)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'fill':'white','d':_0x41a185(0x13d),'transform':_0x41a185(0x2b4)}}]}]}],'defIds':[_0x41a185(0x24a)]},_0x2e5f75=_0x3146b7['forwardRef'](function(_0x3b0d28,_0x3f66fd){const _0x383f24=_0x41a185;return _0x3146b7[_0x383f24(0x294)](_0x146f6c,Object['assign']({},_0x3b0d28,{'id':_0x383f24(0x250),'ref':_0x3f66fd,'icon':_0x2a8e7f}));});_0x2e5f75['displayName']=_0x41a185(0x346);function _0x2057fc(_0x488815){const _0x547079=_0x41a185;switch(_0x488815){case _0x2600cf[_0x547079(0x191)][_0x547079(0x261)]:return _0x547079(0x270);case _0x2600cf['CollaborationStatus'][_0x547079(0x1e8)]:return _0x547079(0x214);case _0x2600cf[_0x547079(0x191)][_0x547079(0x1bd)]:return'collabStatus.fetchMiss';case _0x2600cf[_0x547079(0x191)][_0x547079(0x216)]:return'collabStatus.notCollab';case _0x2600cf[_0x547079(0x191)]['AWAITING']:case _0x2600cf['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x547079(0x2a3);case _0x2600cf[_0x547079(0x191)][_0x547079(0x293)]:case _0x2600cf[_0x547079(0x191)]['PENDING']:return'collabStatus.synced';}}function _0x4cb787(_0x5269bf){const _0x282759=_0x41a185,{status$:_0x461e1e}=_0x5269bf,_0x595309=_0x48ab34[_0x282759(0x116)](_0x461e1e,_0x2600cf['CollaborationStatus'][_0x282759(0x216)]),_0x4266ab=_0x48ab34[_0x282759(0x2ad)](_0x5e3300['LocaleService']),_0x39c333=_0x48ab34[_0x282759(0x2ad)](_0x2600cf[_0x282759(0x179)]),_0x47ec3d=_0x595309!==_0x2600cf[_0x282759(0x191)][_0x282759(0x261)],_0x9baa35=_0x4266ab['t'](_0x2057fc(_0x595309)),_0xf2f3bb=_0x47ec3d?_0x5536b0['jsx'](_0x2e5f75,{}):_0x5536b0['jsx'](_0xf3e0b2,{}),_0x240d67=_0x3146b7[_0x282759(0x1c7)](()=>{_0x47ec3d||_0x39c333['reconnect']();},[_0x47ec3d,_0x39c333]);function _0x44d337(){const _0xce0166=_0x282759;return _0x5536b0['jsxs'](_0xce0166(0x1b6),{'className':'univer-flex\x20univer-items-center','onClick':_0x240d67,'children':[_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0x244ea9[_0xce0166(0x203)](_0xce0166(0x36d),{'univer-text-green-500':_0x47ec3d,'univer-text-red-500':!_0x47ec3d}),'children':_0xf2f3bb}),_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0xce0166(0x301),'children':_0x9baa35})]});}return _0x47ec3d?_0x44d337():_0x5536b0[_0x282759(0x161)](_0x244ea9[_0x282759(0x387)],{'title':_0x4266ab['t'](_0x282759(0x1a5)),'children':_0x44d337()});}var _0x2ed400=Object[_0x41a185(0x13b)],_0x52272e=(_0x48116b,_0xfd8363,_0x5dc18a,_0x3adcd2)=>{for(var _0x4f331e=_0x3adcd2>0x1?void 0x0:_0x3adcd2?_0x2ed400(_0xfd8363,_0x5dc18a):_0xfd8363,_0x4ea714=_0x48116b['length']-0x1,_0x1f0484;_0x4ea714>=0x0;_0x4ea714--)(_0x1f0484=_0x48116b[_0x4ea714])&&(_0x4f331e=_0x1f0484(_0x4f331e)||_0x4f331e);return _0x4f331e;},_0xfb8d56=(_0x3f1738,_0x4a52c8)=>(_0x50de1b,_0xa9999b)=>_0x4a52c8(_0x50de1b,_0xa9999b,_0x3f1738);_0x218781['DesktopCollaborationStatusDisplayController']=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x173e2e,_0x6a2e96,_0x361d25,_0x34c541){const _0x2fd43b=_0x41a185;super(),_0x528ae5(this,_0x2fd43b(0x35d),new _0x50b64e[(_0x2fd43b(0x228))](_0x2600cf[_0x2fd43b(0x191)]['NOT_COLLAB'])),(this[_0x2fd43b(0x118)]=_0x173e2e,this[_0x2fd43b(0x20b)]=_0x6a2e96,this[_0x2fd43b(0x2f9)]=_0x361d25,this[_0x2fd43b(0x33f)]=_0x34c541,this['_initStatusComponent'](),this[_0x2fd43b(0x27a)]());}[_0x41a185(0x27a)](){const _0x17cdd1=_0x41a185;this[_0x17cdd1(0x223)](this[_0x17cdd1(0x118)][_0x17cdd1(0x1d8)][_0x17cdd1(0x1e6)](_0x50b64e[_0x17cdd1(0x25a)](()=>{const _0x589c8c=_0x17cdd1,_0x4afb88=this['_univerInstanceService'][_0x589c8c(0x376)]();return _0x4afb88?this[_0x589c8c(0x2f9)]['getCollabEntity$'](_0x4afb88[_0x589c8c(0x28d)]()):_0x50b64e['of'](null);}),_0x50b64e[_0x17cdd1(0x25a)](_0xe49d8b=>_0xe49d8b?_0xe49d8b['status$']:_0x50b64e['of'](_0x2600cf[_0x17cdd1(0x191)][_0x17cdd1(0x216)])))[_0x17cdd1(0x1e9)](_0x58cf47=>{this['_status$']['next'](_0x58cf47);}));}[_0x41a185(0x2b7)](){const _0x11ac1f=_0x41a185;this['disposeWithMe'](this[_0x11ac1f(0x33f)][_0x11ac1f(0x1ee)](_0x48ab34['BuiltInUIPart'][_0x11ac1f(0x360)],()=>_0x48ab34[_0x11ac1f(0x269)](_0x1ce05b({'status$':this[_0x11ac1f(0x35d)][_0x11ac1f(0x17d)]()}),this['_injector'])));}},_0x218781['DesktopCollaborationStatusDisplayController']=_0x52272e([_0xfb8d56(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0xfb8d56(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0xfb8d56(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0xfb8d56(0x3,_0x48ab34[_0x41a185(0x35e)])],_0x218781[_0x41a185(0x22b)]);function _0x1ce05b(_0x34615c){const {status$:_0x336105}=_0x34615c;return function(){const _0x444786=_0x39c5;return _0x5536b0[_0x444786(0x161)](_0x4cb787,{'status$':_0x336105});};}const _0x48a0eb=_0x5e3300[_0x41a185(0x13f)](_0x41a185(0x386));var _0x5bab6f=Object[_0x41a185(0x13b)],_0x56e5ec=(_0x1b5e41,_0x54b5a8,_0x16afa6,_0x1a53b5)=>{const _0x223ca9=_0x41a185;for(var _0x4f844a=_0x1a53b5>0x1?void 0x0:_0x1a53b5?_0x5bab6f(_0x54b5a8,_0x16afa6):_0x54b5a8,_0x2bbb9b=_0x1b5e41[_0x223ca9(0x15e)]-0x1,_0x360012;_0x2bbb9b>=0x0;_0x2bbb9b--)(_0x360012=_0x1b5e41[_0x2bbb9b])&&(_0x4f844a=_0x360012(_0x4f844a)||_0x4f844a);return _0x4f844a;},_0x2cfcdb=(_0x299aa2,_0x1a057c)=>(_0x2fba3b,_0x41c06c)=>_0x1a057c(_0x2fba3b,_0x41c06c,_0x299aa2);_0x218781[_0x41a185(0x275)]=class extends _0x5e3300['RxDisposable']{constructor(_0x29652d,_0x4d2f87,_0x9bf52b,_0x1f98a2,_0x3ca21c){const _0x3720ac=_0x41a185;super(),this[_0x3720ac(0x3aa)]=_0x29652d,this[_0x3720ac(0x330)]=_0x4d2f87,this[_0x3720ac(0x1ef)]=_0x9bf52b,this[_0x3720ac(0x34f)]=_0x1f98a2,_0x3ca21c?_0x3ca21c==null||_0x3ca21c[_0x3720ac(0x39b)]()[_0x3720ac(0x2b0)](()=>this[_0x3720ac(0x189)]()):(this[_0x3720ac(0x330)][_0x3720ac(0x2b6)](_0x3720ac(0x18b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3720ac(0x189)]());}async['_init'](){const _0x26b163=_0x41a185,_0x1d5208=this['_urlService'][_0x26b163(0x16b)](_0x26b163(0x194)),_0x186baa=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x297)),_0x17b814=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x113));if(!_0x1d5208||!_0x186baa){this[_0x26b163(0x330)]['debug']('[CollaborationDataLoaderController]',_0x26b163(0x190));return;}const _0x4e7577=await this[_0x26b163(0x34f)]['loadUnit'](_0x1d5208,Number(_0x186baa),_0x17b814);_0x4e7577&&_0x4e7577 instanceof _0x5e3300[_0x26b163(0x1ba)]&&this[_0x26b163(0x114)](_0x4e7577);}async['_setupSubUnitSync'](_0x404fd9){const _0x18d42d=_0x41a185;await this[_0x18d42d(0x1ca)](_0x404fd9),_0x404fd9['activeSheet$'][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this[_0x18d42d(0x2de)]))[_0x18d42d(0x1e9)](_0x468611=>{_0x468611&&this['_updateURLWithCurrentState'](_0x468611);}),this[_0x18d42d(0x3aa)][_0x18d42d(0x1ad)][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this['dispose$']))[_0x18d42d(0x1e9)](()=>this['_updateSubUnitFromURLParams'](_0x404fd9));}[_0x41a185(0x317)](_0xcbc860,_0x221a86=!0x1){const _0x4d230a=_0x41a185,_0x329180=this['_urlService']['getParam'](_0x4d230a(0x113));_0xcbc860[_0x4d230a(0x291)]()!==_0x329180&&this[_0x4d230a(0x3aa)][_0x4d230a(0x1f3)](_0x4d230a(0x113),_0xcbc860[_0x4d230a(0x291)](),_0x221a86);}async[_0x41a185(0x1ca)](_0x1ec93b){const _0x550f81=_0x41a185;var _0x22e5a0;const _0x5e6fba=this[_0x550f81(0x3aa)][_0x550f81(0x16b)](_0x550f81(0x113));if(!_0x5e6fba||!_0x1ec93b['getSheetBySheetId'](_0x5e6fba)){const _0x277d93=_0x1ec93b['getUnhiddenWorksheets']()[0x0],_0x343297=_0x1ec93b['getSheetBySheetId'](_0x277d93);if(!_0x343297)return;this[_0x550f81(0x317)](_0x343297,!0x0),await this['_commandService']['executeCommand'](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x277d93});return;}((_0x22e5a0=_0x1ec93b[_0x550f81(0x1ce)]())==null?void 0x0:_0x22e5a0[_0x550f81(0x291)]())!==_0x5e6fba&&await this[_0x550f81(0x1ef)][_0x550f81(0x30b)](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x5e6fba});}},_0x218781['CollaborationDataLoaderController']=_0x56e5ec([_0x2cfcdb(0x0,_0x48a0eb),_0x2cfcdb(0x1,_0x5e3300['ILogService']),_0x2cfcdb(0x2,_0x5e3300[_0x41a185(0x22c)]),_0x2cfcdb(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x2e1)])),_0x2cfcdb(0x4,_0x5e3300[_0x41a185(0x225)](_0x2f8e17[_0x41a185(0x1bf)]))],_0x218781[_0x41a185(0x275)]);var _0x21fd32=Object[_0x41a185(0x13b)],_0x16736e=(_0x44cd3f,_0x235db7,_0x5dd57e,_0x32ca39)=>{for(var _0x50229a=_0x32ca39>0x1?void 0x0:_0x32ca39?_0x21fd32(_0x235db7,_0x5dd57e):_0x235db7,_0x1e341e=_0x44cd3f['length']-0x1,_0x1f0502;_0x1e341e>=0x0;_0x1e341e--)(_0x1f0502=_0x44cd3f[_0x1e341e])&&(_0x50229a=_0x1f0502(_0x50229a)||_0x50229a);return _0x50229a;},_0x432b9d=(_0x160484,_0x288d7e)=>(_0x30da2d,_0x1f28ca)=>_0x288d7e(_0x30da2d,_0x1f28ca,_0x160484);let _0x282384=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x514dc9,_0x388bf2){const _0x4d0f1b=_0x41a185;super(),this[_0x4d0f1b(0x215)]=_0x514dc9,this['_imageIoService']=_0x388bf2,this[_0x4d0f1b(0x189)]();}[_0x41a185(0x189)](){const _0x5433d7=_0x41a185,_0x46252c=this;this[_0x5433d7(0x223)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1c45f7=>{const _0x334b25=_0x5433d7,_0x5defc6=await _0x46252c[_0x334b25(0x27c)][_0x334b25(0x333)](_0x1c45f7);return _0x5defc6?{'source':_0x5defc6[_0x334b25(0x348)],'imageSourceType':_0x5defc6[_0x334b25(0x27f)]}:null;}}));}};_0x282384=_0x16736e([_0x432b9d(0x0,_0x1b316e[_0x41a185(0x277)]),_0x432b9d(0x1,_0xc83503[_0x41a185(0x343)])],_0x282384);const _0x58ce6f=[_0x41a185(0x390),_0x41a185(0x12a),_0x41a185(0x2ff),_0x41a185(0x121),_0x41a185(0x157),_0x41a185(0x1a2)];class _0xc0d63f extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x28dca1=_0x41a185;super(...arguments),_0x528ae5(this,_0x28dca1(0x282),new Map()),_0x528ae5(this,'_colorIndex',0x0);}[_0x41a185(0x2fa)](_0x13d34d){const _0x5614e3=_0x41a185;if(this[_0x5614e3(0x282)][_0x5614e3(0x345)](_0x13d34d))return this[_0x5614e3(0x282)][_0x5614e3(0x182)](_0x13d34d);const _0x184fc4=_0x58ce6f[this['_colorIndex']];return this[_0x5614e3(0x344)]=(this['_colorIndex']+0x1)%_0x58ce6f[_0x5614e3(0x15e)],this[_0x5614e3(0x282)][_0x5614e3(0x21d)](_0x13d34d,_0x184fc4),_0x184fc4;}}function _0x3ffd36(_0x582957){const _0x243fd2=_0x41a185;let _0x11b965='';for(const _0x570f38 of _0x582957){const {startOffset:_0x222f63,endOffset:_0x37f53d,isActive:_0x3ffed7,rangeType:_0x1b3e7b,segmentId:_0x2fc253,segmentPage:_0x3a510d}=_0x570f38;_0x11b965[_0x243fd2(0x15e)]&&(_0x11b965+=','),_0x11b965+=_0x222f63+':'+_0x37f53d+':'+(_0x3ffed7?'1':'0')+':'+_0x1b3e7b+':'+_0x2fc253+':'+_0x3a510d;}return _0x11b965;}function _0x87d182(_0x138616){const _0x2d4e94=_0x41a185,_0x22c471=_0x138616[_0x2d4e94(0x287)](','),_0x325615=[];for(const _0x2ffa4c of _0x22c471){const [_0x22ff3f,_0x400c35,_0x3b08f8,_0x4d65fa,_0x32380f,_0x3e1faa]=_0x2ffa4c[_0x2d4e94(0x287)](':');_0x325615['push']({'startOffset':Number(_0x22ff3f),'endOffset':Number(_0x400c35),'collapsed':_0x22ff3f===_0x400c35,'isActive':_0x3b08f8==='1','rangeType':_0x4d65fa===_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]?_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]:_0x5e3300['DOC_RANGE_TYPE'][_0x2d4e94(0x2d5)],'segmentId':typeof _0x32380f==_0x2d4e94(0x1fd)?String(_0x32380f):'','segmentPage':Number(_0x3e1faa!=null?_0x3e1faa:-0x1)});}return _0x325615[_0x2d4e94(0x1dc)](_0xc34d27=>_0xc34d27[_0x2d4e94(0x239)])||(_0x325615[0x0][_0x2d4e94(0x239)]=!0x0),_0x325615;}class _0xa68806 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x33d8f6=_0x41a185;super(...arguments),_0x528ae5(this,_0x33d8f6(0x29b),new _0x50b64e[(_0x33d8f6(0x228))](null)),_0x528ae5(this,_0x33d8f6(0x1f1),this['_collabCursorState$'][_0x33d8f6(0x17d)]());}[_0x41a185(0x168)](_0x1daab5){const _0x3339ed=_0x41a185,{unitID:_0x203d5a,memberID:_0x29e67,textRanges:_0x5817d3}=_0x1daab5,_0x4b596f=_0x3ffd36(_0x5817d3);if(_0x4b596f==='')return;const _0x1fe76a={'unitID':_0x203d5a,'memberID':_0x29e67,'selection':_0x4b596f};this['_collabCursorState$'][_0x3339ed(0x2e0)](_0x1fe76a);}}var _0x573b07=Object[_0x41a185(0x13b)],_0x2bae9f=(_0x55da5b,_0x825df2,_0x1a8a4f,_0x2da851)=>{const _0x471ab6=_0x41a185;for(var _0x9b09a8=_0x2da851>0x1?void 0x0:_0x2da851?_0x573b07(_0x825df2,_0x1a8a4f):_0x825df2,_0x6e9952=_0x55da5b[_0x471ab6(0x15e)]-0x1,_0x203ed3;_0x6e9952>=0x0;_0x6e9952--)(_0x203ed3=_0x55da5b[_0x6e9952])&&(_0x9b09a8=_0x203ed3(_0x9b09a8)||_0x9b09a8);return _0x9b09a8;},_0x3d5c12=(_0x54ecce,_0x5ad027)=>(_0x444fdb,_0x2000f7)=>_0x5ad027(_0x444fdb,_0x2000f7,_0x54ecce);const _0x275a8d=0x12c,_0x57d848=0x64;let _0x2ef3a8=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x25bd14,_0x30a6d8,_0xa90456,_0x14fbe2,_0x5674dc,_0x44d6ab,_0x142ef7,_0x517c57,_0x72a5b5){const _0x7b9ad=_0x41a185;super(),_0x528ae5(this,_0x7b9ad(0x35f),!0x1),_0x528ae5(this,'_init',!0x1),_0x528ae5(this,_0x7b9ad(0x21a),new _0x50b64e[(_0x7b9ad(0x228))](new Map())),_0x528ae5(this,_0x7b9ad(0x153),this[_0x7b9ad(0x21a)]['asObservable']()),_0x528ae5(this,_0x7b9ad(0x2d6),new _0x50b64e['BehaviorSubject']([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x50b64e[_0x7b9ad(0x38b)](_0x275a8d))),_0x528ae5(this,'_updateLocalCursor',_0x5e3300[_0x7b9ad(0x159)](_0x338c2f=>{const _0x25436b=_0x7b9ad,_0x553465={'eventID':_0x4384c1['CollaborationEvent'][_0x25436b(0x2e6)],'data':{'unitID':this[_0x25436b(0x35b)],'memberID':this['_session'][_0x25436b(0x1d9)](),'selection':_0x3ffd36(_0x338c2f)}};this[_0x25436b(0x19e)][_0x25436b(0x262)](_0x553465,this['unitID']);},_0x57d848)),(this[_0x7b9ad(0x35b)]=_0x25bd14,this[_0x7b9ad(0x19e)]=_0x30a6d8,this[_0x7b9ad(0x20b)]=_0xa90456,this['_colorAssignService']=_0x14fbe2,this[_0x7b9ad(0x146)]=_0x5674dc,this['_syncEditingCollabCursorService']=_0x44d6ab,this[_0x7b9ad(0x176)]=_0x142ef7,this[_0x7b9ad(0x118)]=_0x517c57,this['_commandService']=_0x72a5b5);}get['cursorInfo'](){const _0x5cd0c7=_0x41a185;return this[_0x5cd0c7(0x21a)][_0x5cd0c7(0x186)]();}get[_0x41a185(0x25e)](){const _0x245dfe=_0x41a185;return this['_roomMembers$'][_0x245dfe(0x186)]();}[_0x41a185(0x385)](){const _0x556722=_0x41a185;super['dispose'](),this[_0x556722(0x21a)][_0x556722(0x2e0)](new Map()),this[_0x556722(0x21a)][_0x556722(0x2f6)](),this[_0x556722(0x2d6)][_0x556722(0x2e0)]([]),this[_0x556722(0x2d6)][_0x556722(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x56bd86=_0x41a185;this[_0x56bd86(0x189)]||(this[_0x56bd86(0x189)]=!0x0,this[_0x56bd86(0x19e)]['sessionStatus$'][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x12c3e2=>{const _0x2b057e=_0x56bd86;_0x12c3e2===_0x2600cf[_0x2b057e(0x1b5)][_0x2b057e(0x32a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56bd86(0x19e)][_0x56bd86(0x12c)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this['dispose$']))[_0x56bd86(0x1e9)](_0x6bb761=>{const _0x5df52c=_0x56bd86,_0x3d8805=_0x6bb761[_0x5df52c(0x2d3)];_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x2e6)]&&this[_0x5df52c(0x1f4)](_0x6bb761),_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x174)]&&this[_0x5df52c(0x394)](_0x6bb761);}),this[_0x56bd86(0x223)](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x2d4135=>{const _0x489af3=_0x56bd86,_0x530fb0=_0x2d4135[_0x489af3(0x26f)];_0x530fb0!=null&&this['_online']&&_0x2d4135['id']===_0x3a8334[_0x489af3(0x1f0)]['id']&&_0x530fb0['unitId']===this[_0x489af3(0x35b)]&&_0x530fb0[_0x489af3(0x19b)]===!0x1&&_0x530fb0[_0x489af3(0x2cc)][_0x489af3(0x15e)]>0x0&&this[_0x489af3(0x398)](_0x530fb0[_0x489af3(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x56bd86(0x1f1)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x591963=>{const _0x1257f3=_0x56bd86;if((_0x591963==null?void 0x0:_0x591963[_0x1257f3(0x35b)])!==this[_0x1257f3(0x35b)])return;const _0x259de2={'eventID':_0x4384c1['CollaborationEvent'][_0x1257f3(0x2e6)],'data':_0x591963};this['_onCursorUpdate'](_0x259de2);}),this['disposeWithMe'](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x139af5=>{const _0x3ff3b9=_0x56bd86;if(_0x139af5[_0x3ff3b9(0x26f)]==null)return;const _0x1924e4=_0x139af5[_0x3ff3b9(0x26f)];if(_0x139af5['id']!==_0x3a8334[_0x3ff3b9(0x141)]['id']||_0x1924e4[_0x3ff3b9(0x323)]!==this['unitID'])return;const _0x51b1e7={'id':_0x3ff3b9(0x3a8),'params':_0x1924e4},_0x26eab2=this[_0x3ff3b9(0x242)];for(const [_0x54a311,_0x4e08bd]of _0x26eab2){const _0x254ece={'id':_0x3ff3b9(0x3a8),'params':{'unitId':this[_0x3ff3b9(0x35b)],'actions':null,'textRanges':_0x4e08bd[_0x3ff3b9(0x2cc)]}},_0x3f55a5=this['_transformService'][_0x3ff3b9(0x1b9)](_0x51b1e7,_0x254ece,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x3f55a5))throw _0x3f55a5[_0x3ff3b9(0x2e9)];_0x26eab2[_0x3ff3b9(0x21d)](_0x54a311,{..._0x4e08bd,'ranges':_0x3f55a5[_0x3ff3b9(0x137)][_0x3ff3b9(0x26f)][_0x3ff3b9(0x1a0)]});}queueMicrotask(()=>{const _0x13ecad=_0x3ff3b9;this[_0x13ecad(0x21a)]['next'](_0x26eab2);});})));}[_0x41a185(0x1f4)](_0x565d42){const _0x5d9375=_0x41a185;var _0x5499e3,_0x278c79;const {memberID:_0xac4222,selection:_0x1e0b7f}=_0x565d42['data'],_0x2d008f=_0x87d182(_0x1e0b7f),_0x5900ab=(_0x278c79=(_0x5499e3=this[_0x5d9375(0x146)]['getMember'](this[_0x5d9375(0x35b)],_0xac4222))==null?void 0x0:_0x5499e3[_0x5d9375(0x1f6)])!=null?_0x278c79:_0x5d9375(0x30c),_0x42b6ae={'color':this[_0x5d9375(0x37f)][_0x5d9375(0x2fa)](_0xac4222),'name':_0x5900ab,'ranges':_0x2d008f},_0xe0aa00=this[_0x5d9375(0x242)];_0xe0aa00[_0x5d9375(0x21d)](_0xac4222,_0x42b6ae),this[_0x5d9375(0x21a)]['next'](_0xe0aa00);}[_0x41a185(0x394)](_0x4020a5){const _0x32bdf8=_0x41a185,{memberID:_0x58a8a5}=_0x4020a5[_0x32bdf8(0x397)],_0x24829d=this[_0x32bdf8(0x242)];_0x24829d[_0x32bdf8(0x2ee)](_0x58a8a5),this[_0x32bdf8(0x21a)][_0x32bdf8(0x2e0)](_0x24829d);}['_toggleOnline'](){const _0x5cd3d3=_0x41a185;var _0x19fc32;if(this[_0x5cd3d3(0x35f)]=!0x0,((_0x19fc32=this[_0x5cd3d3(0x118)][_0x5cd3d3(0x376)]())==null?void 0x0:_0x19fc32[_0x5cd3d3(0x28d)]())!==this[_0x5cd3d3(0x35b)])return;const _0x5c3243=this[_0x5cd3d3(0x20b)][_0x5cd3d3(0x182)](_0x3a8334[_0x5cd3d3(0x171)])[_0x5cd3d3(0x252)]();Array[_0x5cd3d3(0x2ab)](_0x5c3243)&&_0x5c3243[_0x5cd3d3(0x15e)]>0x0&&this[_0x5cd3d3(0x398)](_0x5c3243);}[_0x41a185(0x256)](){const _0x16d0a7=_0x41a185;this[_0x16d0a7(0x35f)]=!0x1;}};_0x2ef3a8=_0x2bae9f([_0x3d5c12(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x3d5c12(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x3d5c12(0x4,_0x5e3300['Inject'](_0x2600cf[_0x41a185(0x162)])),_0x3d5c12(0x5,_0x5e3300['Inject'](_0xa68806)),_0x3d5c12(0x6,_0x4384c1[_0x41a185(0x1df)]),_0x3d5c12(0x7,_0x5e3300[_0x41a185(0x2b5)]),_0x3d5c12(0x8,_0x5e3300[_0x41a185(0x22c)])],_0x2ef3a8);var _0x402f88=Object[_0x41a185(0x13b)],_0x3a793=(_0x352090,_0x199cad,_0x5e390f,_0x4397bf)=>{const _0x409593=_0x41a185;for(var _0x5def69=_0x4397bf>0x1?void 0x0:_0x4397bf?_0x402f88(_0x199cad,_0x5e390f):_0x199cad,_0x24431c=_0x352090[_0x409593(0x15e)]-0x1,_0x170566;_0x24431c>=0x0;_0x24431c--)(_0x170566=_0x352090[_0x24431c])&&(_0x5def69=_0x170566(_0x5def69)||_0x5def69);return _0x5def69;},_0x354548=(_0x489aee,_0x5b854d)=>(_0x45b3e5,_0x222362)=>_0x5b854d(_0x45b3e5,_0x222362,_0x489aee);const _0x200180=0x12c,_0x57474d=0x64,_0x28324f=()=>{let _0x1a591e=[],_0x54e451=!0x1;return _0x3555de=>{const _0x228243=_0x39c5;_0x1a591e[_0x228243(0x24e)](_0x3555de),_0x54e451||(_0x54e451=!0x0,setTimeout(()=>{_0x1a591e['forEach'](_0x169ba5=>_0x169ba5()),_0x1a591e=[],_0x54e451=!0x1;}));};};let _0x4fce6c=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x5aeaad,_0x58e920,_0x291448,_0x43901b,_0x26e0b6,_0x7bd806,_0x5c038a,_0x2e0a41){const _0xdc9731=_0x41a185;super(),_0x528ae5(this,'_online',!0x1),_0x528ae5(this,_0xdc9731(0x189),!0x1),_0x528ae5(this,_0xdc9731(0x21a),new _0x50b64e[(_0xdc9731(0x228))](new Map())),_0x528ae5(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x528ae5(this,_0xdc9731(0x2d6),new _0x50b64e[(_0xdc9731(0x228))]([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$'][_0xdc9731(0x1e6)](_0x50b64e[_0xdc9731(0x38b)](_0x200180))),_0x528ae5(this,_0xdc9731(0x398),_0x5e3300[_0xdc9731(0x159)]((_0x37e819,_0x58d633)=>{const _0x140349=_0xdc9731,_0x428a3e={'eventID':_0x4384c1[_0x140349(0x2e7)][_0x140349(0x2e6)],'data':{'unitID':this[_0x140349(0x35b)],'memberID':this[_0x140349(0x19e)][_0x140349(0x1d9)](),'selection':_0x5aa429[_0x140349(0x396)](_0x37e819,_0x58d633['range'])}};this[_0x140349(0x19e)][_0x140349(0x262)](_0x428a3e,this[_0x140349(0x35b)]);},_0x57474d)),(this[_0xdc9731(0x35b)]=_0x5aeaad,this[_0xdc9731(0x19e)]=_0x58e920,this[_0xdc9731(0x20b)]=_0x291448,this[_0xdc9731(0x37f)]=_0x43901b,this[_0xdc9731(0x146)]=_0x26e0b6,this['_univerInstanceService']=_0x7bd806,this[_0xdc9731(0x1ef)]=_0x5c038a,this[_0xdc9731(0x23b)]=_0x2e0a41);}get[_0x41a185(0x242)](){return this['_cursorInfo$']['getValue']();}get[_0x41a185(0x25e)](){const _0x1a2bbf=_0x41a185;return this[_0x1a2bbf(0x2d6)]['getValue']();}[_0x41a185(0x385)](){const _0xe308b2=_0x41a185;super[_0xe308b2(0x385)](),this[_0xe308b2(0x21a)][_0xe308b2(0x2e0)](new Map()),this[_0xe308b2(0x21a)][_0xe308b2(0x2f6)](),this[_0xe308b2(0x2d6)][_0xe308b2(0x2e0)]([]),this[_0xe308b2(0x2d6)][_0xe308b2(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x28c568=_0x41a185;this[_0x28c568(0x189)]||(this[_0x28c568(0x189)]=!0x0,this['_session']['sessionStatus$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))['subscribe'](_0x217880=>{const _0x345dd4=_0x28c568;_0x217880===_0x2600cf[_0x345dd4(0x1b5)]['ONLINE']?this[_0x345dd4(0x234)]():this[_0x345dd4(0x256)]();}),this[_0x28c568(0x19e)]['event$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))[_0x28c568(0x1e9)](_0x5dbd04=>{const _0x138c60=_0x28c568,_0x3edcce=_0x5dbd04[_0x138c60(0x2d3)];_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x2e6)]&&this['_onCursorUpdate'](_0x5dbd04),_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x174)]&&this[_0x138c60(0x394)](_0x5dbd04);}),this[_0x28c568(0x372)](),this[_0x28c568(0x223)](this[_0x28c568(0x1ef)][_0x28c568(0x3a9)](_0x2c0120=>{const _0x1fb9c8=_0x28c568;if(this['_online']&&_0x2c0120['id']===_0x101dc9[_0x1fb9c8(0x25f)]['id']&&_0x2c0120[_0x1fb9c8(0x26f)]['unitId']===this[_0x1fb9c8(0x35b)]){const _0x13d848=_0x2c0120[_0x1fb9c8(0x26f)];this[_0x1fb9c8(0x398)](_0x13d848['subUnitId'],_0x13d848['selections'][0x0]);}})));}[_0x41a185(0x1f4)](_0x2d4899){const _0x28e4a2=_0x41a185;var _0x600d5f,_0x115025;const {memberID:_0x5a2d1b,selection:_0x4ec7cd}=_0x2d4899[_0x28e4a2(0x397)],{sheetName:_0x124cf0,range:_0x4a5e9e}=_0x5aa429['deserializeRangeWithSheet'](_0x4ec7cd),_0x3b374a={'name':(_0x115025=(_0x600d5f=this[_0x28e4a2(0x146)][_0x28e4a2(0x308)](this[_0x28e4a2(0x35b)],_0x5a2d1b))==null?void 0x0:_0x600d5f[_0x28e4a2(0x1f6)])!=null?_0x115025:'Unknown\x20user','range':this[_0x28e4a2(0x37b)](_0x124cf0,_0x4a5e9e),'sheetID':_0x124cf0,'color':this[_0x28e4a2(0x37f)]['assignAColorForMemberID'](_0x5a2d1b),'selection':_0x4ec7cd},_0x52f6aa=this[_0x28e4a2(0x242)];_0x52f6aa[_0x28e4a2(0x21d)](_0x5a2d1b,_0x3b374a),this[_0x28e4a2(0x21a)][_0x28e4a2(0x2e0)](_0x52f6aa);}[_0x41a185(0x394)](_0x5b857c){const _0xe38b34=_0x41a185,{memberID:_0x3797f9}=_0x5b857c[_0xe38b34(0x397)],_0x1a7f06=this[_0xe38b34(0x242)];_0x1a7f06[_0xe38b34(0x2ee)](_0x3797f9),this[_0xe38b34(0x21a)][_0xe38b34(0x2e0)](_0x1a7f06);}[_0x41a185(0x37b)](_0x212979,_0x26c49a){const _0x7857b0=_0x41a185;var _0xb5195e,_0xcf3404;const _0x2ddad1=(_0xcf3404=(_0xb5195e=this[_0x7857b0(0x118)][_0x7857b0(0x326)](this[_0x7857b0(0x35b)]))==null?void 0x0:_0xb5195e['getSheetBySheetId'](_0x212979))==null?void 0x0:_0xcf3404[_0x7857b0(0x2f2)]();return(_0x2ddad1==null?void 0x0:_0x2ddad1['find'](_0x27fa93=>_0x5e3300[_0x7857b0(0x283)][_0x7857b0(0x3a4)](_0x27fa93,_0x26c49a)))||_0x26c49a;}[_0x41a185(0x372)](){const _0x42c5ae=_0x41a185,_0x2f8c42=new _0x5e3300['DisposableCollection'](),_0x2ccf39=_0x28324f(),_0x49ce47=()=>{const _0xd824c3=_0x39c5;_0x2f8c42[_0xd824c3(0x385)]();const _0x3c5c8f=(_0x4ba870,_0x4d9ed7,_0x175ddd,_0x3cb7c3)=>{const _0x3a6c92=_0xd824c3;let _0x1f9b07=[];switch(_0x4ba870['id']){case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x226)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x38d)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x23f)]:{_0x1f9b07=_0x101dc9['handleDeleteRangeMoveUp'](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x163)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x257)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x169)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x2ac)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)]['InsertRangeMoveRightCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x23c)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x20d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x158)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x15d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x1b0)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId']['RemoveColCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x388)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x1f8)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x31e)](_0x4ba870,_0x3cb7c3);break;}}const _0x18577a=_0x101dc9['runRefRangeMutations'](_0x1f9b07,_0x3cb7c3),_0x33d0a0=this[_0x3a6c92(0x242)]['get'](_0x4d9ed7);if(_0x33d0a0&&_0x18577a){const _0x29e9a3={..._0x33d0a0,'range':_0x18577a};this['cursorInfo'][_0x3a6c92(0x21d)](_0x4d9ed7,_0x29e9a3),_0x2ccf39(()=>{const _0x234667=_0x3a6c92,_0x4cf24b=this['_refRangeService'][_0x234667(0x188)](_0x18577a,_0x19014a=>(_0x4cf24b[_0x234667(0x385)](),_0x3c5c8f(_0x19014a,_0x4d9ed7,_0x175ddd,_0x18577a)));_0x2f8c42['add'](_0x4cf24b);});}return{'redos':[],'undos':[]};};this[_0xd824c3(0x242)][_0xd824c3(0x2ba)]((_0x3f09e5,_0x5400d9)=>{const _0xf33726=_0xd824c3,{range:_0x28d5ae,sheetID:_0x434eae}=_0x3f09e5,_0x112f83=this[_0xf33726(0x23b)][_0xf33726(0x188)](_0x28d5ae,_0x4a4b97=>(_0x112f83[_0xf33726(0x385)](),_0x3c5c8f(_0x4a4b97,_0x5400d9,_0x434eae,_0x28d5ae)));_0x2f8c42['add'](_0x112f83);});};this['disposeWithMe'](_0x5e3300[_0x42c5ae(0x1c2)](this[_0x42c5ae(0x21a)][_0x42c5ae(0x1e9)](()=>{_0x49ce47();})));}['_toggleOnline'](){const _0x3bcd9a=_0x41a185;var _0x5482e7,_0x2358c3;if(this['_online']=!0x0,((_0x5482e7=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x376)]())==null?void 0x0:_0x5482e7[_0x3bcd9a(0x28d)]())!==this[_0x3bcd9a(0x35b)])return;const _0x44f1b7=(_0x2358c3=this[_0x3bcd9a(0x20b)][_0x3bcd9a(0x182)](_0x101dc9[_0x3bcd9a(0x278)])['getCurrentSelections']())==null?void 0x0:_0x2358c3[0x0],_0x456519=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x2fd)](_0x5e3300[_0x3bcd9a(0x268)]['UNIVER_SHEET'])[_0x3bcd9a(0x1ce)]();_0x44f1b7&&_0x456519&&this[_0x3bcd9a(0x398)](_0x456519[_0x3bcd9a(0x291)](),_0x44f1b7);}[_0x41a185(0x256)](){const _0xa744a8=_0x41a185;this[_0xa744a8(0x35f)]=!0x1;}};_0x4fce6c=_0x3a793([_0x354548(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x354548(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x354548(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x162)])),_0x354548(0x5,_0x5e3300[_0x41a185(0x2b5)]),_0x354548(0x6,_0x5e3300[_0x41a185(0x22c)]),_0x354548(0x7,_0x5e3300['Inject'](_0x101dc9['RefRangeService']))],_0x4fce6c);var _0x5d2fbe=Object[_0x41a185(0x13b)],_0x5077b0=(_0x4ad502,_0x795432,_0x4e5803,_0x1a1c57)=>{const _0x29f6aa=_0x41a185;for(var _0x1e3653=_0x1a1c57>0x1?void 0x0:_0x1a1c57?_0x5d2fbe(_0x795432,_0x4e5803):_0x795432,_0x4bbc2e=_0x4ad502[_0x29f6aa(0x15e)]-0x1,_0x2e7bec;_0x4bbc2e>=0x0;_0x4bbc2e--)(_0x2e7bec=_0x4ad502[_0x4bbc2e])&&(_0x1e3653=_0x2e7bec(_0x1e3653)||_0x1e3653);return _0x1e3653;},_0x1aa2e5=(_0x4a9fba,_0x547fbc)=>(_0xae0f23,_0x275a62)=>_0x547fbc(_0xae0f23,_0x275a62,_0x4a9fba);let _0x17492c=class extends _0x5e3300['RxDisposable']{constructor(_0x8ea94e,_0x57494b,_0x38c0b5){const _0x2c3de3=_0x41a185;super(),_0x528ae5(this,'_entities',new Map()),_0x528ae5(this,_0x2c3de3(0x206),new _0x50b64e['Subject']()),(this[_0x2c3de3(0x118)]=_0x8ea94e,this[_0x2c3de3(0x20b)]=_0x57494b,this['_collabSessionService']=_0x38c0b5,this[_0x2c3de3(0x189)]());}[_0x41a185(0x385)](){const _0x398775=_0x41a185;super[_0x398775(0x385)](),this[_0x398775(0x206)]['complete'](),this[_0x398775(0x145)][_0x398775(0x2ba)](_0x3b6309=>_0x3b6309[_0x398775(0x385)]());}[_0x41a185(0x1a1)](_0x228196){const _0xa16c4e=_0x41a185;return this['_entities']['has'](_0x228196)?this[_0xa16c4e(0x145)][_0xa16c4e(0x182)](_0x228196)[_0xa16c4e(0x153)]:this[_0xa16c4e(0x206)][_0xa16c4e(0x1e6)](_0x50b64e[_0xa16c4e(0x1c8)](_0x63e516=>_0x63e516['unitID']===_0x228196),_0x50b64e[_0xa16c4e(0x25a)](_0x19f13c=>_0x19f13c[_0xa16c4e(0x153)]));}[_0x41a185(0x189)](){const _0xf94fe6=_0x41a185;this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](async _0x57a720=>{const _0x101473=_0xf94fe6,_0x3755be=_0x57a720[_0x101473(0x28d)](),_0x479d99=await this[_0x101473(0x1cd)](_0x3755be);this[_0x101473(0x206)]['next'](_0x479d99),this[_0x101473(0x145)]['set'](_0x3755be,_0x479d99);}),this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x265)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))['pipe'](_0x50b64e[_0xf94fe6(0x1c8)](_0x35e67e=>!_0x35e67e[_0xf94fe6(0x28d)]()[_0xf94fe6(0x31c)]('__')))[_0xf94fe6(0x1e9)](async _0x2af2e7=>{const _0xd1d674=_0xf94fe6,_0x670c5b=_0x2af2e7[_0xd1d674(0x28d)](),_0x31010e=await this[_0xd1d674(0x32e)](_0x670c5b);this['_entityInit$'][_0xd1d674(0x2e0)](_0x31010e),this[_0xd1d674(0x145)][_0xd1d674(0x21d)](_0x670c5b,_0x31010e);}),_0x50b64e[_0xf94fe6(0x2c7)](this[_0xf94fe6(0x118)]['getTypeOfUnitDisposed$'](_0x5e3300[_0xf94fe6(0x268)]['UNIVER_DOC']),this[_0xf94fe6(0x118)][_0xf94fe6(0x1e5)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)]))[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](_0x57c3c8=>{const _0xbbfcbc=_0xf94fe6,_0x3236d9=_0x57c3c8[_0xbbfcbc(0x28d)](),_0x3ebb8d=this['_entities'][_0xbbfcbc(0x182)](_0x3236d9);_0x3ebb8d&&(_0x3ebb8d[_0xbbfcbc(0x385)](),this[_0xbbfcbc(0x145)][_0xbbfcbc(0x2ee)](_0x3236d9));});}async[_0x41a185(0x1cd)](_0x1bf7f2){const _0x4a8d45=_0x41a185,_0x111636=await this[_0x4a8d45(0x39e)][_0x4a8d45(0x22d)](_0x1bf7f2),_0x28f935=this[_0x4a8d45(0x20b)][_0x4a8d45(0x1d7)](_0x4fce6c,_0x1bf7f2,_0x111636);return _0x28f935[_0x4a8d45(0x2c3)](),_0x28f935;}async['_startDocCollabCursor'](_0x47ff84){const _0x3383f7=_0x41a185,_0x390b5e=await this[_0x3383f7(0x39e)][_0x3383f7(0x22d)](_0x47ff84),_0x42a994=this[_0x3383f7(0x20b)][_0x3383f7(0x1d7)](_0x2ef3a8,_0x47ff84,_0x390b5e);return _0x42a994[_0x3383f7(0x2c3)](),_0x42a994;}};_0x17492c=_0x5077b0([_0x1aa2e5(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0x1aa2e5(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x1aa2e5(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x179)]))],_0x17492c);const _0x352025=0x14,_0x27975c=0xc8,_0x47d14b=0x4,_0x1a9088=0x5;function _0x7bf8f1(_0x11a885,_0x58618b){const _0x551b8c=_0x41a185;let {radius:_0x5b6031,width:_0xc60436,height:_0x21f7ae}=_0x58618b;_0x5b6031=_0x5b6031!=null?_0x5b6031:0x0,_0xc60436=_0xc60436!=null?_0xc60436:0x1e,_0x21f7ae=_0x21f7ae!=null?_0x21f7ae:0x1e;let _0xc04b50=0x0,_0x39e0b1=0x0,_0x1958d8=0x0;_0xc04b50=_0x39e0b1=_0x1958d8=Math[_0x551b8c(0x2bd)](_0x5b6031,_0xc60436/0x2,_0x21f7ae/0x2),_0x11a885[_0x551b8c(0x2d8)](),_0x11a885['moveTo'](_0xc04b50,0x0),_0x11a885['lineTo'](_0xc60436-_0x39e0b1,0x0),_0x11a885[_0x551b8c(0x314)](_0xc60436-_0x39e0b1,_0x39e0b1,_0x39e0b1,Math['PI']*0x3/0x2,0x0,!0x1),_0x11a885[_0x551b8c(0x1fa)](_0xc60436,_0x21f7ae-_0x1958d8),_0x11a885['arc'](_0xc60436-_0x1958d8,_0x21f7ae-_0x1958d8,_0x1958d8,0x0,Math['PI']/0x2,!0x1),_0x11a885[_0x551b8c(0x1fa)](0x0,_0x21f7ae),_0x11a885[_0x551b8c(0x1fa)](0x0,_0xc04b50),_0x11a885[_0x551b8c(0x314)](_0xc04b50,_0xc04b50,_0xc04b50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11a885[_0x551b8c(0x12e)](),_0x58618b['fill']&&(_0x11a885[_0x551b8c(0x23e)](),_0x11a885[_0x551b8c(0x26a)]=_0x58618b[_0x551b8c(0x359)],_0x58618b[_0x551b8c(0x227)]===_0x551b8c(0x35c)?_0x11a885[_0x551b8c(0x359)](_0x551b8c(0x35c)):_0x11a885[_0x551b8c(0x359)](),_0x11a885[_0x551b8c(0x245)]());}class _0x128905 extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x1ed0da,_0x2598f9){const _0x518785=_0x41a185;super(_0x1ed0da,_0x2598f9),_0x528ae5(this,'color'),_0x528ae5(this,_0x518785(0x2c8)),(this['color']=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x286)],this[_0x518785(0x2c8)]=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x2c8)]);}static[_0x41a185(0x2cb)](_0x1d73e3,_0x451e35){const _0x54136b=_0x41a185,{text:_0x2eb0b7,color:_0x5dc7d7}=_0x451e35;_0x1d73e3[_0x54136b(0x23e)](),_0x1d73e3[_0x54136b(0x1cb)]=_0x54136b(0x353);const _0x2c3fad=_0x1d73e3[_0x54136b(0x1f2)](_0x2eb0b7)[_0x54136b(0x11e)],_0xd9e4eb=Math[_0x54136b(0x2bd)](_0x2c3fad+0x2*_0x47d14b,_0x27975c);_0x7bf8f1(_0x1d73e3,{'height':_0x352025,'radius':0x4,'width':_0xd9e4eb,'fill':_0x5dc7d7}),_0x1d73e3[_0x54136b(0x26a)]='#FFF';const _0x5b82ac=_0x47d14b,_0xff464=_0x352025-_0x1a9088,_0x272aa0=_0x27975c-0x2*_0x47d14b;if(_0x2c3fad>_0x272aa0){let _0x519bbf='',_0x247499=0x0;for(const _0x3746b0 of _0x2eb0b7){const _0x240f2a=_0x1d73e3[_0x54136b(0x1f2)](_0x3746b0)[_0x54136b(0x11e)];if(_0x247499+_0x240f2a<=_0x272aa0-_0x1d73e3['measureText'](_0x54136b(0x11a))[_0x54136b(0x11e)])_0x519bbf+=_0x3746b0,_0x247499+=_0x240f2a;else{_0x519bbf+=_0x54136b(0x11a);break;}}_0x1d73e3[_0x54136b(0x126)](_0x519bbf,_0x5b82ac,_0xff464);}else _0x1d73e3[_0x54136b(0x126)](_0x2eb0b7,_0x5b82ac,_0xff464);_0x1d73e3['restore']();}[_0x41a185(0x11f)](_0x78ffb1){_0x128905['drawWith'](_0x78ffb1,this);}}const _0xa11a8e=_0x41a185(0x31a),_0x28715d=_0x41a185(0x350),_0x2fad1b=_0x41a185(0x140),_0xaf64a0=0x6,_0x1f02cc=1.5,_0x32de74=0x4,_0x552c09=1.5,_0x56cd5b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f61e7{constructor(_0xfe6a09,_0x30d031,_0x152251,_0x2bcf79){const _0x1e1ff2=_0x41a185;_0x528ae5(this,'_shapes',[]),_0x528ae5(this,_0x1e1ff2(0x24c),null),_0x528ae5(this,'_textBubble',null),_0x528ae5(this,_0x1e1ff2(0x11d),null),_0x528ae5(this,'_hideTimer',null),_0x528ae5(this,'_eventUnsubscribe',null),(this['_cursor']=_0xfe6a09,this[_0x1e1ff2(0x2b2)]=_0x30d031,this[_0x1e1ff2(0x38e)]=_0x152251,this[_0x1e1ff2(0x392)]=_0x2bcf79,this[_0x1e1ff2(0x393)]());}set[_0x41a185(0x218)](_0x55ca80){const _0x62d28c=_0x41a185;_0x55ca80?(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x1c5)](),this['_textBubble']&&this[_0x62d28c(0x364)][_0x62d28c(0x2e8)]()):(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x2e8)](),this[_0x62d28c(0x364)]&&this[_0x62d28c(0x364)][_0x62d28c(0x1c5)]());}[_0x41a185(0x385)](){const _0x4635f9=_0x41a185;for(const _0x4e7fd2 of this[_0x4635f9(0x2bf)])_0x4e7fd2[_0x4635f9(0x385)]();this[_0x4635f9(0x364)]&&this[_0x4635f9(0x364)][_0x4635f9(0x385)](),this[_0x4635f9(0x11d)]&&this[_0x4635f9(0x11d)][_0x4635f9(0x385)](),this[_0x4635f9(0x24c)]&&this['_anchor']['dispose'](),this[_0x4635f9(0x2d0)]&&this[_0x4635f9(0x2d0)]();}[_0x41a185(0x393)](){const _0x145342=_0x41a185;var _0x109d6a;const {_docSkeleton:_0x26d9af,_document:_0x1ddb69}=this,{color:_0x4bfc24,name:_0x531523,ranges:_0x57849f}=this[_0x145342(0x38a)],_0x3d0824=_0x1ddb69[_0x145342(0x370)](),{docsLeft:_0x1b7a0f,docsTop:_0x152b1f}=_0x3d0824,_0x4c1d0f=new _0x1b316e[(_0x145342(0x177))](_0x3d0824,_0x26d9af);for(const {startOffset:_0x2533a4,endOffset:_0x50db23,rangeType:_0x478b30,segmentId:_0x2a33d3,segmentPage:_0x1638e6,collapsed:_0x44a467,isActive:_0x597e61}of _0x57849f){const _0x579d4c=_0x26d9af[_0x145342(0x1aa)](_0x2533a4,!0x0,_0x2a33d3,_0x1638e6);let _0x4653e0=_0x26d9af['findNodePositionByCharIndex'](_0x50db23,!0x0,_0x2a33d3,_0x1638e6);if(_0x4653e0==null&&(_0x4653e0=_0x26d9af[_0x145342(0x1aa)](_0x50db23-0x1,!0x1,_0x2a33d3,_0x1638e6)),_0x597e61){const {contentBoxPointGroup:_0x212531}=_0x4c1d0f[_0x145342(0x375)](_0x4653e0,_0x4653e0);if(_0x212531[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x13a)](_0x4bfc24,_0x212531,_0x1b7a0f,_0x152b1f,_0x531523),this[_0x145342(0x2d0)]=this[_0x145342(0x229)]();}if(_0x579d4c&&_0x4653e0){if(_0x478b30===_0x5e3300[_0x145342(0x31f)][_0x145342(0x2d5)]){const _0x2f12ca=new _0x1b316e[(_0x145342(0x31b))](_0x3d0824,_0x26d9af),{pointGroup:_0x4fa3b4}=(_0x109d6a=_0x2f12ca[_0x145342(0x375)](_0x579d4c,_0x4653e0))!=null?_0x109d6a:{};if(_0x4fa3b4==null||_0x4fa3b4[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x3a2)](_0x4bfc24,_0x4fa3b4,_0x1b7a0f,_0x152b1f);}else{if(!_0x44a467){const {borderBoxPointGroup:_0x48abe8}=_0x4c1d0f[_0x145342(0x375)](_0x579d4c,_0x4653e0);if(_0x48abe8[_0x145342(0x15e)]===0x0)continue;this['_drawTextRange'](_0x4bfc24,_0x48abe8,_0x1b7a0f,_0x152b1f);}}}}}['_drawAnchor'](_0x59f788,_0x6d2a6,_0x5a5480,_0x49f7ee,_0x37e6fe){const _0x494309=_0x41a185,_0x24108f=this[_0x494309(0x33e)](_0x6d2a6),{left:_0x558537,top:_0x5f9656,height:_0x2e7780}=_0x24108f,_0xdb1085=this[_0x494309(0x1de)](),_0x572ee3=_0x552c09/_0xdb1085,_0xd70d=new _0x1b825c[(_0x494309(0x281))](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee,'height':_0x2e7780,'width':_0x1f02cc,'fill':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':_0x572ee3,'stroke':_0x56cd5b,'evented':!0x0});this[_0x494309(0x24c)]=_0xd70d,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0xd70d,_0x1b316e[_0x494309(0x2d7)]);const _0x3c8f7c=new _0x1b825c['Rect'](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x32de74/0x2,'height':_0x32de74,'width':_0x32de74,'fill':_0x59f788||_0x1b825c['getColor'](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':0x0,'stroke':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300['COLORS']['black'],0x0),'evented':!0x1});this[_0x494309(0x11d)]=_0x3c8f7c,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0x3c8f7c,_0x1b316e[_0x494309(0x2d7)]);const _0x514018=new _0x128905(_0xa11a8e+_0x5e3300['generateRandomId'](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x352025,'text':_0x37e6fe,'color':_0x59f788});this[_0x494309(0x364)]=_0x514018,this[_0x494309(0x2b2)]['addObject'](_0x514018,_0x1b316e[_0x494309(0x2d7)]),this['_hover']=!0x1;}[_0x41a185(0x229)](){const _0x1e6265=_0x41a185,_0x115d62=this[_0x1e6265(0x24c)][_0x1e6265(0x16a)][_0x1e6265(0x361)](()=>{const _0x2768c6=_0x1e6265;this[_0x2768c6(0x218)]=!0x0;}),_0x34f040=this[_0x1e6265(0x24c)][_0x1e6265(0x221)][_0x1e6265(0x361)](()=>{const _0x4eceb9=_0x1e6265;this[_0x4eceb9(0x351)]&&clearTimeout(this[_0x4eceb9(0x351)]),this[_0x4eceb9(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1ca0cc=_0x1e6265;_0x115d62[_0x1ca0cc(0x198)](),_0x34f040[_0x1ca0cc(0x198)]();};}[_0x41a185(0x1ea)](_0x5b3f45,_0x480127,_0x185f78,_0xe7241){const _0x5ca5c8=_0x41a185,_0x2addf7=new _0x5e3300[(_0x5ca5c8(0x2b8))](_0x5b3f45)[_0x5ca5c8(0x232)](0.2)[_0x5ca5c8(0x134)](),_0x429967=new _0x1b825c[(_0x5ca5c8(0x384))](_0x28715d+_0x5e3300[_0x5ca5c8(0x2b3)](_0xaf64a0),{'pointsGroup':_0x480127,'fill':_0x2addf7||_0x1b825c[_0x5ca5c8(0x148)](_0x5e3300['COLORS'][_0x5ca5c8(0x1a8)],0.2),'left':_0x185f78,'top':_0xe7241,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x429967),this['_scene']['addObject'](_0x429967,_0x1b316e[_0x5ca5c8(0x2d7)]);}[_0x41a185(0x3a2)](_0x2633d9,_0x72e547,_0x489d15,_0x1043ec){const _0x10ce93=_0x41a185,_0x47f0ba=new _0x5e3300['ColorKit'](_0x2633d9)[_0x10ce93(0x232)](0.2)[_0x10ce93(0x134)](),_0x5cf574=new _0x1b825c['RegularPolygon'](_0x2fad1b+_0x5e3300['generateRandomId'](_0xaf64a0),{'pointsGroup':_0x72e547,'fill':_0x47f0ba||_0x1b825c[_0x10ce93(0x148)](_0x5e3300['COLORS']['black'],0.2),'left':_0x489d15,'top':_0x1043ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10ce93(0x2bf)]['push'](_0x5cf574),this[_0x10ce93(0x2b2)][_0x10ce93(0x2c9)](_0x5cf574,_0x1b316e[_0x10ce93(0x2d7)]);}[_0x41a185(0x33e)](_0x30636e){const _0x45b767=_0x30636e[0x0],_0x5e009f=_0x45b767[0x0],_0xf522d4=_0x45b767[0x2],{x:_0x166667,y:_0x13df5e}=_0x5e009f,{x:_0x245b78,y:_0x1b6496}=_0xf522d4;return{'left':_0x166667,'top':_0x13df5e,'width':_0x245b78-_0x166667,'height':_0x1b6496-_0x13df5e};}[_0x41a185(0x1de)](){const _0x42ed7b=_0x41a185,{scaleX:_0x2ed10e,scaleY:_0x440ad5}=this['_scene']['getAncestorScale']();return Math[_0x42ed7b(0x204)](_0x2ed10e,_0x440ad5);}}var _0x46ccf9=Object[_0x41a185(0x13b)],_0x568611=(_0x121b3e,_0x401077,_0x57b9e8,_0x413f01)=>{for(var _0x1add8b=_0x413f01>0x1?void 0x0:_0x413f01?_0x46ccf9(_0x401077,_0x57b9e8):_0x401077,_0x61228c=_0x121b3e['length']-0x1,_0x134cb4;_0x61228c>=0x0;_0x61228c--)(_0x134cb4=_0x121b3e[_0x61228c])&&(_0x1add8b=_0x134cb4(_0x1add8b)||_0x1add8b);return _0x1add8b;},_0x26e182=(_0x97936b,_0x32ddab)=>(_0x258b4d,_0xb58d93)=>_0x32ddab(_0x258b4d,_0xb58d93,_0x97936b);let _0x54fb8b=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x392916,_0x29bb8f,_0x5e1b8b,_0x561d36,_0x924c67){const _0x372ab6=_0x41a185;super(),_0x528ae5(this,_0x372ab6(0x2eb),[]),_0x528ae5(this,_0x372ab6(0x38c),[]),(this['_context']=_0x392916,this[_0x372ab6(0x20f)]=_0x29bb8f,this[_0x372ab6(0x1f5)]=_0x5e1b8b,this[_0x372ab6(0x1ef)]=_0x561d36,this[_0x372ab6(0x200)]=_0x924c67,this['_init']());}['_init'](){const _0x1bb58d=_0x41a185,_0x25baf7=this[_0x1bb58d(0x280)]['unitId'],_0x336743=this[_0x1bb58d(0x20f)];this[_0x1bb58d(0x223)](_0x50b64e[_0x1bb58d(0x2f8)]([this[_0x1bb58d(0x1f5)]['getCollabCursors$'](_0x25baf7),this[_0x1bb58d(0x200)][_0x1bb58d(0x125)]])['pipe'](_0x3987d5[_0x1bb58d(0x123)](([_0x4876d1,_0x419b1a])=>({'skeleton':_0x336743[_0x1bb58d(0x33b)](),'cursors':[..._0x4876d1['values']()][_0x1bb58d(0x3ab)](_0x283c78=>({..._0x283c78,'color':this[_0x1bb58d(0x200)][_0x1bb58d(0x26b)](_0x283c78[_0x1bb58d(0x286)])}))})))[_0x1bb58d(0x1e9)](_0x1e23b5=>{const _0x52c7ab=_0x1bb58d;if(this['_removeCollabCursors'](),_0x1e23b5){const {skeleton:_0x37a49d,cursors:_0x4e9548}=_0x1e23b5;this[_0x52c7ab(0x267)](_0x37a49d,_0x4e9548);}})),this[_0x1bb58d(0x18e)](),this['_initCommandExecutedListener']();}[_0x41a185(0x267)](_0x10f738,_0x3c4c16){const _0x177ede=_0x41a185,{scene:_0x5f0388,mainComponent:_0x233b65}=this[_0x177ede(0x280)],_0x1da102=_0x3c4c16['map'](_0xaad94c=>new _0x1f61e7(_0xaad94c,_0x5f0388,_0x10f738,_0x233b65));this['_cursorShapes']=_0x1da102,this[_0x177ede(0x38c)]=_0x3c4c16;}[_0x41a185(0x320)](){const _0x198ea3=_0x41a185;this[_0x198ea3(0x34e)]();const {scene:_0x296f26,mainComponent:_0xe27f82}=this[_0x198ea3(0x280)],_0x34f2f9=this[_0x198ea3(0x20f)][_0x198ea3(0x33b)](),_0x3b807c=this[_0x198ea3(0x38c)][_0x198ea3(0x123)](_0x1de0d3=>new _0x1f61e7(_0x1de0d3,_0x296f26,_0x34f2f9,_0xe27f82));this['_cursorShapes']=_0x3b807c;}['_removeCollabCursors'](){const _0x3aceff=_0x41a185;this[_0x3aceff(0x2eb)]['forEach'](_0x75b7af=>_0x75b7af['dispose']()),this[_0x3aceff(0x2eb)]=[];}['_initCommandExecutedListener'](){const _0x436f26=_0x41a185,_0x3923df=[_0x1b316e[_0x436f26(0x1b1)]['id']];this['disposeWithMe'](this[_0x436f26(0x1ef)]['onCommandExecuted'](_0x41ea6b=>{const _0x2fb507=_0x436f26;_0x3923df[_0x2fb507(0x117)](_0x41ea6b['id'])&&_0x41ea6b[_0x2fb507(0x26f)][_0x2fb507(0x323)]===this['_context'][_0x2fb507(0x323)]&&this[_0x2fb507(0x320)]();}));}[_0x41a185(0x18e)](){const _0x52a273=_0x41a185;this['disposeWithMe'](_0x5e3300['fromEventSubject'](this[_0x52a273(0x280)][_0x52a273(0x365)][_0x52a273(0x27d)])[_0x52a273(0x1e6)](_0x3987d5[_0x52a273(0x1c8)](_0x1abab6=>_0x1abab6[_0x52a273(0x297)]===_0x1b825c[_0x52a273(0x1e2)][_0x52a273(0x324)]),_0x3987d5['throttleTime'](0x10))[_0x52a273(0x1e9)](()=>{this['_refreshCollabCursors']();}));}};_0x54fb8b=_0x568611([_0x26e182(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x3a8334[_0x41a185(0x253)])),_0x26e182(0x2,_0x5e3300['Inject'](_0x17492c)),_0x26e182(0x3,_0x5e3300['ICommandService']),_0x26e182(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x54fb8b);const _0x580f25=0x1,_0x2d51ac=1.5;class _0x2a41ec extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x14b45a,_0x234cab){const _0x4c2301=_0x41a185;super(_0x14b45a,_0x234cab),_0x528ae5(this,_0x4c2301(0x183)),_0x528ae5(this,_0x4c2301(0x19f),!0x1),_0x528ae5(this,_0x4c2301(0x28c)),_0x528ae5(this,'_name',''),_0x528ae5(this,_0x4c2301(0x175),_0x4c2301(0x334)),_0x528ae5(this,_0x4c2301(0x2b1)),(_0x234cab&&this['setShapeProps'](_0x234cab),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2301(0x221)]['subscribeEvent'](()=>this[_0x4c2301(0x38f)]({'hovered':!0x1})));}[_0x41a185(0x38f)](_0x3ed06c){const _0xcb5b17=_0x41a185;var _0x4cf1df,_0x337cf1,_0x3a4865,_0xfaba42,_0x5c48ce,_0x3c3f0e;this[_0xcb5b17(0x183)]=(_0x4cf1df=_0x3ed06c[_0xcb5b17(0x286)])!=null?_0x4cf1df:this[_0xcb5b17(0x183)],this[_0xcb5b17(0x19f)]=(_0x337cf1=_0x3ed06c[_0xcb5b17(0x29c)])!=null?_0x337cf1:this[_0xcb5b17(0x19f)],this[_0xcb5b17(0x28c)]=(_0x3a4865=_0x3ed06c[_0xcb5b17(0x2a2)])!=null?_0x3a4865:this[_0xcb5b17(0x28c)],this[_0xcb5b17(0x184)]=(_0xfaba42=_0x3ed06c[_0xcb5b17(0x1f6)])!=null?_0xfaba42:this[_0xcb5b17(0x184)],this['_labelPosition']=(_0x5c48ce=_0x3ed06c[_0xcb5b17(0x39c)])!=null?_0x5c48ce:this[_0xcb5b17(0x175)],this[_0xcb5b17(0x2b1)]=(_0x3c3f0e=_0x3ed06c[_0xcb5b17(0x36e)])!=null?_0x3c3f0e:this['_backgroundColor'],this['transformByState']({'width':_0x3ed06c[_0xcb5b17(0x11e)],'height':_0x3ed06c[_0xcb5b17(0x2d4)]});}[_0x41a185(0x363)](_0xd90b62){const _0x1ba14b=_0x41a185,{row:_0x59486d,column:_0x5466aa}=_0xd90b62;if(_0x59486d>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x236)]&&_0x59486d<=this['_range'][_0x1ba14b(0x389)]&&_0x5466aa>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x1a3)]&&_0x5466aa<=this[_0x1ba14b(0x28c)][_0x1ba14b(0x3a5)]){this[_0x1ba14b(0x38f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x41a185(0x2e3)](_0x53ae7a){return!0x1;}[_0x41a185(0x11f)](_0x41b7df){const _0x64d9f4=_0x41a185;_0x1b825c[_0x64d9f4(0x281)][_0x64d9f4(0x2cb)](_0x41b7df,{'width':this[_0x64d9f4(0x11e)],'height':this[_0x64d9f4(0x2d4)],'strokeWidth':_0x2d51ac,'stroke':this[_0x64d9f4(0x183)],'evented':!0x1,'fill':this[_0x64d9f4(0x2b1)]}),this[_0x64d9f4(0x19f)]&&(_0x41b7df[_0x64d9f4(0x23e)](),_0x41b7df[_0x64d9f4(0x288)](0x1,0x0,0x0,0x1,this[_0x64d9f4(0x11e)],this[_0x64d9f4(0x175)]===_0x64d9f4(0x18f)?0x0:-_0x352025),_0x128905[_0x64d9f4(0x2cb)](_0x41b7df,{'text':this[_0x64d9f4(0x184)],'color':this[_0x64d9f4(0x183)]}),_0x41b7df[_0x64d9f4(0x245)]());}}var _0x23d890=Object[_0x41a185(0x13b)],_0x38884e=(_0x355cfa,_0x518982,_0x3355d3,_0x57e44e)=>{for(var _0x5c7653=_0x57e44e>0x1?void 0x0:_0x57e44e?_0x23d890(_0x518982,_0x3355d3):_0x518982,_0x2bf5e9=_0x355cfa['length']-0x1,_0x1abfb1;_0x2bf5e9>=0x0;_0x2bf5e9--)(_0x1abfb1=_0x355cfa[_0x2bf5e9])&&(_0x5c7653=_0x1abfb1(_0x5c7653)||_0x5c7653);return _0x5c7653;},_0x3ae049=(_0x22e5fd,_0x55eb8f)=>(_0x54f5fb,_0x51ad5d)=>_0x55eb8f(_0x54f5fb,_0x51ad5d,_0x22e5fd);const _0x20ed03=0x1389;let _0x1d9dc1=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x4a99c6,_0x2eb338,_0x4882fe,_0x9ec04f){const _0x87b54a=_0x41a185;super(),_0x528ae5(this,_0x87b54a(0x38c),new Set()),_0x528ae5(this,_0x87b54a(0x152),null),(this[_0x87b54a(0x280)]=_0x4a99c6,this['_sheetSkeletonManagerService']=_0x2eb338,this['_collabCursorController']=_0x4882fe,this[_0x87b54a(0x200)]=_0x9ec04f,this[_0x87b54a(0x189)]());}[_0x41a185(0x189)](){const _0x380740=_0x41a185;this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e6)](_0x3987d5['takeUntil'](this['dispose$']),_0x3987d5[_0x380740(0x25a)](_0xda2748=>{const _0x244477=_0x380740;if(_0xda2748){const _0x2674de=_0xda2748[_0x244477(0x368)];return _0x50b64e[_0x244477(0x2f8)](this[_0x244477(0x1f5)][_0x244477(0x1a1)](this[_0x244477(0x280)][_0x244477(0x323)]),this['_themeService'][_0x244477(0x125)])[_0x244477(0x1e6)](_0x3987d5[_0x244477(0x123)](([_0x16aea6,_0x56b927])=>{const _0x3f36f6=_0x244477,_0x19dad1=new Map();return _0x16aea6[_0x3f36f6(0x2ba)]((_0x20555f,_0x2e368d)=>{const _0x3a4e61=_0x3f36f6;if(_0x20555f[_0x3a4e61(0x3ac)]===_0x2674de){const _0x18c975={..._0x20555f};_0x18c975[_0x3a4e61(0x286)]=this[_0x3a4e61(0x200)][_0x3a4e61(0x26b)](_0x20555f[_0x3a4e61(0x286)]),_0x19dad1[_0x3a4e61(0x21d)](_0x2e368d,_0x18c975);}}),{'skeleton':_0xda2748,'cursors':_0x19dad1};}));}return _0x50b64e['of']({'skeleton':null,'cursors':new Map()});}))[_0x380740(0x1e9)](({skeleton:_0x557034,cursors:_0x106f1e})=>{this['_removeCollabCursors'](),_0x557034&&this['_updateCollabCursors'](_0x557034,_0x106f1e);}),this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e9)](_0x347feb=>{const _0x1d2285=_0x380740;if(_0x347feb==null)return;const {skeleton:_0x18ef68}=_0x347feb,{scene:_0x171f74}=this['_context'];_0x171f74[_0x1d2285(0x155)][_0x1d2285(0x361)](_0x5e3300['debounce'](_0x54a86c=>{const _0x2553a8=_0x1d2285;var _0x4cafe5,_0x348973;const {offsetX:_0x3f5d87,offsetY:_0x2c5e51}=_0x54a86c,{x:_0x48170c,y:_0x4dfc41}=_0x171f74[_0x2553a8(0x181)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x3f5d87,_0x2c5e51])),{scaleX:_0x249ffe,scaleY:_0x400bcc}=_0x171f74[_0x2553a8(0x21e)](),_0x6fecb7=_0x171f74[_0x2553a8(0x20e)](_0x1b825c[_0x2553a8(0x1be)]['VIEW_MAIN']),_0x19f595=_0x171f74[_0x2553a8(0x139)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x48170c,_0x4dfc41]),_0x6fecb7),_0x48b069=_0x18ef68[_0x2553a8(0x14e)](_0x3f5d87,_0x2c5e51,_0x249ffe,_0x400bcc,_0x19f595);((_0x4cafe5=this[_0x2553a8(0x152)])==null?void 0x0:_0x4cafe5[_0x2553a8(0x305)])===_0x48b069[_0x2553a8(0x305)]&&((_0x348973=this['_lastPointer'])==null?void 0x0:_0x348973[_0x2553a8(0x36f)])===_0x48b069['row']||this[_0x2553a8(0x38c)]['forEach'](_0x5e25a8=>{const _0x3aadfb=_0x2553a8;_0x5e25a8[_0x3aadfb(0x363)](_0x48b069);});},0x64));});}[_0x41a185(0x267)](_0x465782,_0x412150){const _0x12cda4=_0x41a185;var _0x4a7682;const _0x161142=(_0x4a7682=this[_0x12cda4(0x1ac)][_0x12cda4(0x178)]())==null?void 0x0:_0x4a7682['skeleton'];if(!_0x161142)return;const _0x13aeb0=this[_0x12cda4(0x128)]();if(!_0x13aeb0)return;this['_cursors'][_0x12cda4(0x2ba)](_0x28e280=>{_0x28e280['makeDirty']();});const {scene:_0x3a235c}=_0x13aeb0,_0x56ce42=_0x51e374(Array[_0x12cda4(0x373)](_0x412150[_0x12cda4(0x1af)]()))['map'](_0x487da8=>{const _0x1bbd0a=_0x12cda4,{color:_0x29eae5,range:_0x4e88bb,name:_0x2d7712,selection:_0x127c94,sheetID:_0x6711fd}=_0x487da8,{startColumn:_0x2352db,startRow:_0x20ae30,endColumn:_0x5eb936,endRow:_0x3621c5}=_0x4e88bb,_0x540f50=_0x1b0390[_0x1bbd0a(0x243)](_0x20ae30,_0x2352db,_0x3a235c,_0x161142),_0x1a5bc6=_0x1b0390[_0x1bbd0a(0x243)](_0x3621c5,_0x5eb936,_0x3a235c,_0x161142),{columnHeaderHeightAndMarginTop:_0x489a84}=_0x161142,{startX:_0x1411b3,startY:_0x9ce280}=_0x540f50,{endX:_0x3ba285,endY:_0xdf85ed}=_0x1a5bc6,_0x242ca9=_0x3ba285-_0x1411b3,_0x2c3f21=_0xdf85ed-_0x9ce280,_0x11e728={'labelPosition':_0x9ce280-_0x489a84>=_0x352025?'top':_0x1bbd0a(0x18f),'sheetID':_0x6711fd,'range':_0x4e88bb,'color':_0x29eae5,'name':_0x2d7712,'selection':_0x127c94,'left':_0x1411b3,'top':_0x9ce280,'width':_0x242ca9,'height':_0x2c3f21,'evented':!0x1,'zIndex':_0x20ed03};return new _0x2a41ec(_0x2d7712,_0x11e728);});_0x3a235c[_0x12cda4(0x15a)](_0x56ce42,_0x580f25),this[_0x12cda4(0x38c)]=new Set(_0x56ce42);}[_0x41a185(0x34e)](){const _0x327984=_0x41a185;var _0x52d12d;(_0x52d12d=this[_0x327984(0x38c)])==null||_0x52d12d[_0x327984(0x2ba)](_0x333256=>_0x333256[_0x327984(0x385)]());}[_0x41a185(0x128)](){const _0x3f90a7=_0x41a185;return _0x1b0390['getSheetObject'](this[_0x3f90a7(0x280)][_0x3f90a7(0x194)],this[_0x3f90a7(0x280)]);}};_0x1d9dc1=_0x38884e([_0x3ae049(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x1b0390[_0x41a185(0x1b2)])),_0x3ae049(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x17492c)),_0x3ae049(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x1d9dc1);function _0x51e374(_0x161b15){const _0x540846=_0x41a185,_0x2bd12d=new Map();return _0x161b15[_0x540846(0x2ba)](_0x2d0492=>{const _0x5f4d87=_0x540846;if(_0x2bd12d[_0x5f4d87(0x345)](_0x2d0492[_0x5f4d87(0x338)])){const _0x2f2889=_0x2bd12d['get'](_0x2d0492[_0x5f4d87(0x338)]);_0x2f2889[_0x5f4d87(0x1f6)]+=',\x20'+_0x2d0492['name'];}else _0x2bd12d['set'](_0x2d0492[_0x5f4d87(0x338)],_0x2d0492);}),Array[_0x540846(0x373)](_0x2bd12d[_0x540846(0x1af)]());}var _0x3a77d5=Object[_0x41a185(0x13b)],_0x1d35c2=(_0x4f51c6,_0x4d7db7,_0x3b18ea,_0x55f0be)=>{const _0x11d727=_0x41a185;for(var _0x2db5c7=_0x55f0be>0x1?void 0x0:_0x55f0be?_0x3a77d5(_0x4d7db7,_0x3b18ea):_0x4d7db7,_0x566c77=_0x4f51c6[_0x11d727(0x15e)]-0x1,_0x1f6168;_0x566c77>=0x0;_0x566c77--)(_0x1f6168=_0x4f51c6[_0x566c77])&&(_0x2db5c7=_0x1f6168(_0x2db5c7)||_0x2db5c7);return _0x2db5c7;},_0x5d9663=(_0x4bd8b1,_0x10dd8f)=>(_0x57276b,_0xdcf5f7)=>_0x10dd8f(_0x57276b,_0xdcf5f7,_0x4bd8b1);let _0x3b66a5=class extends _0x5e3300['Disposable']{constructor(_0x3d5f50,_0x52bbad,_0x3015d2,_0x3419e7,_0x23619f,_0x20dd39){const _0x4aaceb=_0x41a185;super(),this[_0x4aaceb(0x24b)]=_0x3d5f50,this[_0x4aaceb(0x272)]=_0x52bbad,this[_0x4aaceb(0x329)]=_0x3015d2,this[_0x4aaceb(0x26e)]=_0x3419e7,this[_0x4aaceb(0x2c2)]=_0x23619f,this['_localeService']=_0x20dd39,this[_0x4aaceb(0x1d4)](),this[_0x4aaceb(0x24d)]();}[_0x41a185(0x1d4)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x17d3a8=_0x39c5;if(this[_0x17d3a8(0x272)][_0x17d3a8(0x196)][_0x17d3a8(0x2df)])return this[_0x17d3a8(0x14d)]['t'](_0x17d3a8(0x1cc));}));}[_0x41a185(0x24d)](){const _0x4454c4=_0x41a185;this[_0x4454c4(0x223)](this['_collaborationUIEventService'][_0x4454c4(0x12c)]['subscribe'](_0x1595f9=>{const _0xac2ccf=_0x4454c4;_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x32b)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x39f))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x172)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x36a)]&&this[_0xac2ccf(0x2c2)][_0xac2ccf(0x2e8)]({'title':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x13c)),'content':this[_0xac2ccf(0x14d)]['t']('permission.content'),'type':_0xac2ccf(0x2e9),'duration':0x0}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x1e8)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)][_0xac2ccf(0x33d)],'content':this['_localeService']['t'](_0xac2ccf(0x327))+'('+_0x1595f9[_0xac2ccf(0x397)]+')'}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x27e)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x296)],'content':this[_0xac2ccf(0x14d)]['t'](_0x1595f9[_0xac2ccf(0x397)]||'')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x380)]&&this[_0xac2ccf(0x26e)]['show']({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x127)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x36b))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x29f)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t']('session.collaboration-timeout')});}));}};_0x3b66a5=_0x1d35c2([_0x5d9663(0x0,_0x48ab34['IBeforeCloseService']),_0x5d9663(0x1,_0x2600cf['ILocalCacheService']),_0x5d9663(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf['CollaborationUIEventService'])),_0x5d9663(0x3,_0x48ab34[_0x41a185(0x1a9)]),_0x5d9663(0x4,_0x48ab34['INotificationService']),_0x5d9663(0x5,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x3b66a5);const _0x4b6e86='collaboration-client-ui.config',_0x1fb5ee={};var _0x3be7c3=Object[_0x41a185(0x13b)],_0x10a3fa=(_0x55cac1,_0x5c0cea,_0x4b4652,_0x167cbb)=>{const _0x1acf17=_0x41a185;for(var _0x12d0e2=_0x167cbb>0x1?void 0x0:_0x167cbb?_0x3be7c3(_0x5c0cea,_0x4b4652):_0x5c0cea,_0x252c9e=_0x55cac1[_0x1acf17(0x15e)]-0x1,_0x4ddf13;_0x252c9e>=0x0;_0x252c9e--)(_0x4ddf13=_0x55cac1[_0x252c9e])&&(_0x12d0e2=_0x4ddf13(_0x12d0e2)||_0x12d0e2);return _0x12d0e2;},_0x3a8e9b=(_0x4f0bc9,_0x497322)=>(_0x4378a1,_0xdf3270)=>_0x497322(_0x4378a1,_0xdf3270,_0x4f0bc9);let _0x12b6aa=class{constructor(_0x2c49f1,_0xbbadda){this['_transformService']=_0x2c49f1,this['_renderManagerService']=_0xbbadda;}[_0x41a185(0x374)](_0x4a9c1c){const _0x28ee69=_0x41a185;this[_0x28ee69(0x150)](_0x4a9c1c),this[_0x28ee69(0x2bc)](_0x4a9c1c);}[_0x41a185(0x147)](_0x36a4ba){const _0x4bcb17=_0x41a185,{unitID:_0x36b187}=_0x36a4ba,_0x282d52=this[_0x4bcb17(0x33c)][_0x4bcb17(0x247)](_0x36b187)[_0x4bcb17(0x309)](_0x1b316e[_0x4bcb17(0x355)]),{redoCache:_0x2ee152}=_0x282d52[_0x4bcb17(0x18a)]();if(_0x2ee152['length']===0x0)return _0x36a4ba;let _0x23b314=_0x5e3300[_0x4bcb17(0x164)][_0x4bcb17(0x357)](_0x36a4ba[_0x4bcb17(0x14b)][0x0]);for(let _0xc9ced7=0x0;_0xc9ced7<_0x2ee152[_0x4bcb17(0x15e)];_0xc9ced7++){const _0x55205c={'id':_0x4bcb17(0x3a8),'params':{..._0x2ee152[_0xc9ced7]}},_0x4a2eaf=this[_0x4bcb17(0x176)][_0x4bcb17(0x1b9)](_0x23b314,_0x55205c,!0x1);if(_0x4384c1[_0x4bcb17(0x30a)](_0x4a2eaf))throw _0x4a2eaf[_0x4bcb17(0x2e9)];_0x23b314=_0x4a2eaf[_0x4bcb17(0x1db)];}return{..._0x5e3300[_0x4bcb17(0x164)]['deepClone'](_0x36a4ba),'mutations':[_0x23b314]};}['_transformUndoRedoStack'](_0x35edce){const _0x21baa6=_0x41a185,{unitID:_0x7ffb4f}=_0x35edce,_0x2ba60c=this[_0x21baa6(0x33c)][_0x21baa6(0x247)](_0x7ffb4f)['with'](_0x1b316e[_0x21baa6(0x355)]),{undoCache:_0x529a10,redoCache:_0x27b3de}=_0x2ba60c[_0x21baa6(0x18a)]();if(_0x529a10[_0x21baa6(0x15e)]===0x0||_0x27b3de[_0x21baa6(0x15e)]===0x0)return;const _0x276b2a=[],_0xb90e26=[];let _0x359506=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce[_0x21baa6(0x14b)][0x0]),_0x40a339=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce['mutations'][0x0]);for(let _0xdcbe23=_0x529a10[_0x21baa6(0x15e)]-0x1;_0xdcbe23>=0x0;_0xdcbe23--){const _0x1875a7={'id':'doc.mutation.rich-text-editing','params':{..._0x529a10[_0xdcbe23]}},_0x23c26b={'id':'doc.mutation.rich-text-editing','params':{..._0x27b3de[_0xdcbe23]}},_0x43beb1=this[_0x21baa6(0x176)]['transformMutation'](_0x359506,_0x1875a7,!0x1),_0x276f10=this[_0x21baa6(0x176)]['transformMutation'](_0x40a339,_0x23c26b,!0x1);if(_0x4384c1[_0x21baa6(0x30a)](_0x43beb1))throw _0x43beb1[_0x21baa6(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x276f10))throw _0x276f10[_0x21baa6(0x2e9)];_0x276b2a[_0x21baa6(0x1e0)](_0x43beb1['m2Prime'][_0x21baa6(0x26f)]),_0xb90e26[_0x21baa6(0x1e0)](_0x276f10[_0x21baa6(0x137)]['params']),_0x359506=_0x43beb1[_0x21baa6(0x1db)],_0x40a339=_0x276f10[_0x21baa6(0x1db)];}_0x2ba60c[_0x21baa6(0x16d)]({'undoCache':_0x276b2a,'redoCache':_0xb90e26});}['_transformPreviousActiveRange'](_0x444b6f){const _0x3a5bd3=_0x41a185,{unitID:_0x5751c4}=_0x444b6f,_0x260e6b=this[_0x3a5bd3(0x33c)]['getRenderById'](_0x5751c4)['with'](_0x1b316e['DocIMEInputManagerService']),_0x45722c=_0x260e6b[_0x3a5bd3(0x1e1)]();if(_0x45722c==null)return;const _0x18d977=[{'id':_0x3a5bd3(0x3a8),'params':{'unitId':_0x444b6f[_0x3a5bd3(0x35b)],'actions':null,'textRanges':[_0x45722c]}}],_0x53162a=this[_0x3a5bd3(0x176)]['transformMutationsWithChangeset'](_0x444b6f,_0x18d977);if(!_0x4384c1[_0x3a5bd3(0x313)](_0x53162a))throw _0x53162a[_0x3a5bd3(0x2e9)];const _0x2e799f=_0x53162a[_0x3a5bd3(0x137)][0x0][_0x3a5bd3(0x26f)][_0x3a5bd3(0x1a0)];Array['isArray'](_0x2e799f)&&_0x2e799f[_0x3a5bd3(0x15e)]&&_0x260e6b[_0x3a5bd3(0x289)](_0x2e799f[0x0]);}};_0x12b6aa=_0x10a3fa([_0x3a8e9b(0x0,_0x4384c1[_0x41a185(0x1df)]),_0x3a8e9b(0x1,_0x1b825c[_0x41a185(0x328)])],_0x12b6aa);var _0x49fa75=Object[_0x41a185(0x13b)],_0x5d18e9=(_0x18400c,_0x3d7b33,_0x2c3771,_0x3fd66c)=>{const _0x425061=_0x41a185;for(var _0x2577f5=_0x3fd66c>0x1?void 0x0:_0x3fd66c?_0x49fa75(_0x3d7b33,_0x2c3771):_0x3d7b33,_0xae966=_0x18400c[_0x425061(0x15e)]-0x1,_0x277e8e;_0xae966>=0x0;_0xae966--)(_0x277e8e=_0x18400c[_0xae966])&&(_0x2577f5=_0x277e8e(_0x2577f5)||_0x2577f5);return _0x2577f5;},_0x405da9=(_0x49cbe9,_0x45b29b)=>(_0x45498e,_0x2ef852)=>_0x45b29b(_0x45498e,_0x2ef852,_0x49cbe9);let _0x24cfdc=class{constructor(_0x17435c,_0x579c98,_0x4c7664){const _0x4f34fe=_0x41a185;this[_0x4f34fe(0x20b)]=_0x17435c,this[_0x4f34fe(0x176)]=_0x579c98,this[_0x4f34fe(0x210)]=_0x4c7664;}[_0x41a185(0x382)](_0x15796e){this['_transformHistoryAndStateStack'](_0x15796e);}['transformRemoteChangeset'](_0x46ead0){const _0x339f8a=_0x41a185,{unitID:_0x97356}=_0x46ead0,{collaboration:_0x16cf77}=this[_0x339f8a(0x210)][_0x339f8a(0x2d2)](_0x97356);if(_0x16cf77[_0x339f8a(0x15e)]===0x0)return _0x46ead0;let _0x665534=_0x5e3300[_0x339f8a(0x164)][_0x339f8a(0x357)](_0x46ead0[_0x339f8a(0x14b)][0x0]);for(let _0x303671=0x0;_0x303671<_0x16cf77['length'];_0x303671++){const _0x77e338={'id':_0x339f8a(0x3a8),'params':{'unitId':_0x16cf77[_0x303671]['unitId'],..._0x16cf77[_0x303671][_0x339f8a(0x34b)]}},_0x2d86ac=this['_transformService'][_0x339f8a(0x1b9)](_0x665534,_0x77e338,!0x1);if(_0x4384c1[_0x339f8a(0x30a)](_0x2d86ac))throw _0x2d86ac['error'];_0x665534=_0x2d86ac['m1Prime'];}return{..._0x5e3300[_0x339f8a(0x164)]['deepClone'](_0x46ead0),'mutations':[_0x665534]};}['_transformHistoryAndStateStack'](_0x26d7c5){const _0x35825f=_0x41a185,{unitID:_0x59abc4}=_0x26d7c5,{history:_0x43314f,collaboration:_0x719c3}=this[_0x35825f(0x210)][_0x35825f(0x2d2)](_0x59abc4);if(_0x43314f[_0x35825f(0x15e)]===0x0&&_0x719c3[_0x35825f(0x15e)]===0x0)return;const _0x4f622c=[],_0x5d2531=[];let _0x5832a8=_0x5e3300['Tools'][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]),_0x53b5a1=_0x5e3300['Tools']['deepClone'](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0x5a1ba8=_0x43314f['length']-0x1;_0x5a1ba8>=0x0;_0x5a1ba8--){const _0x2a0b1f={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8][_0x35825f(0x323)],..._0x43314f[_0x5a1ba8]['undoState']}},_0x38b77a={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8]['unitId'],..._0x43314f[_0x5a1ba8][_0x35825f(0x34b)]}},_0x3e3df3=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x2a0b1f,!0x1),_0x157467=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x53b5a1,_0x38b77a,!0x1);if(_0x4384c1[_0x35825f(0x30a)](_0x3e3df3))throw _0x3e3df3[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x157467))throw _0x157467[_0x35825f(0x2e9)];_0x4f622c['unshift']({..._0x43314f[_0x5a1ba8],'undoState':_0x3e3df3['m2Prime']['params'],'redoState':_0x157467[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x3e3df3[_0x35825f(0x1db)],_0x53b5a1=_0x157467[_0x35825f(0x1db)];}_0x5832a8=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5['mutations'][0x0]),_0x53b5a1=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0xe6aa82=_0x719c3[_0x35825f(0x15e)]-0x1;_0xe6aa82>=0x0;_0xe6aa82--){const _0x59a862={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x2bb)]}},_0x401e40={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x34b)]}},_0x233ecc=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x59a862,!0x1),_0x3251ca=this['_transformService']['transformMutation'](_0x53b5a1,_0x401e40,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x233ecc))throw _0x233ecc[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x3251ca))throw _0x3251ca[_0x35825f(0x2e9)];_0x5d2531[_0x35825f(0x1e0)]({..._0x719c3[_0xe6aa82],'undoState':_0x233ecc[_0x35825f(0x137)][_0x35825f(0x26f)],'redoState':_0x3251ca[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x233ecc[_0x35825f(0x1db)],_0x53b5a1=_0x3251ca[_0x35825f(0x1db)];}this[_0x35825f(0x210)]['setStateCache'](_0x59abc4,{'history':_0x4f622c,'collaboration':_0x5d2531});}};_0x24cfdc=_0x5d18e9([_0x405da9(0x0,_0x5e3300['Inject'](_0x5e3300[_0x41a185(0x1c6)])),_0x405da9(0x1,_0x4384c1['ITransformService']),_0x405da9(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e[_0x41a185(0x1d1)]))],_0x24cfdc);var _0xdc0b10=Object['getOwnPropertyDescriptor'],_0x4be71e=(_0xfdb84d,_0x44bedb,_0x14110c,_0x56832a)=>{const _0x2cfcfb=_0x41a185;for(var _0x534788=_0x56832a>0x1?void 0x0:_0x56832a?_0xdc0b10(_0x44bedb,_0x14110c):_0x44bedb,_0x5ba1fc=_0xfdb84d[_0x2cfcfb(0x15e)]-0x1,_0x4894fd;_0x5ba1fc>=0x0;_0x5ba1fc--)(_0x4894fd=_0xfdb84d[_0x5ba1fc])&&(_0x534788=_0x4894fd(_0x534788)||_0x534788);return _0x534788;},_0x7ab9c3=(_0x49be84,_0x23a768)=>(_0x2b2484,_0x200da7)=>_0x23a768(_0x2b2484,_0x200da7,_0x49be84);let _0x4c6035=class{constructor(_0x4ab6c9,_0x2221de){const _0x43067a=_0x41a185;this[_0x43067a(0x20b)]=_0x4ab6c9,this[_0x43067a(0x176)]=_0x2221de;}[_0x41a185(0x2ea)](_0xfc2715){const _0x525ce5=_0x41a185;var _0x3973be;const _0x466775=this[_0x525ce5(0x20b)][_0x525ce5(0x182)](_0x3a8334[_0x525ce5(0x171)]),_0x4038e4=(_0x3973be=_0x466775[_0x525ce5(0x252)]())!=null?_0x3973be:[];if(_0x4038e4['length']===0x0)return;const _0x30c548=_0xfc2715[_0x525ce5(0x35b)],_0x2f273a=[{'id':_0x525ce5(0x3a8),'params':{'unitId':_0x30c548,'actions':null,'textRanges':_0x4038e4}}],_0xc7e8cd=this[_0x525ce5(0x176)]['transformMutationsWithChangeset'](_0xfc2715,_0x2f273a);if(!_0x4384c1[_0x525ce5(0x313)](_0xc7e8cd))throw _0xc7e8cd['error'];const _0x453d15=_0xc7e8cd[_0x525ce5(0x137)][0x0][_0x525ce5(0x26f)][_0x525ce5(0x1a0)];Array[_0x525ce5(0x2ab)](_0x453d15)&&_0x453d15['length']&&_0x466775[_0x525ce5(0x17b)](_0x453d15,{'unitId':_0x30c548,'subUnitId':_0x30c548},!0x1);}};_0x4c6035=_0x4be71e([_0x7ab9c3(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x7ab9c3(0x1,_0x4384c1[_0x41a185(0x1df)])],_0x4c6035);var _0x5827b6=Object[_0x41a185(0x13b)],_0x2ec861=(_0x2d5cde,_0x5addc8,_0x3455a9,_0x1f83b0)=>{const _0x284f52=_0x41a185;for(var _0x2cb71b=_0x1f83b0>0x1?void 0x0:_0x1f83b0?_0x5827b6(_0x5addc8,_0x3455a9):_0x5addc8,_0x4ecb54=_0x2d5cde[_0x284f52(0x15e)]-0x1,_0x519489;_0x4ecb54>=0x0;_0x4ecb54--)(_0x519489=_0x2d5cde[_0x4ecb54])&&(_0x2cb71b=_0x519489(_0x2cb71b)||_0x2cb71b);return _0x2cb71b;},_0x271806=(_0x39e8b7,_0x4d28e8)=>(_0x27b85b,_0x204c0d)=>_0x4d28e8(_0x27b85b,_0x204c0d,_0x39e8b7);let _0x216e6e=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x5c5db8,_0x2cb1a5,_0x472323,_0x4e0f23,_0x3ff93f,_0x7a8e9d,_0x57e145,_0x1f8a79){const _0x16f0bc=_0x41a185;super(),_0x528ae5(this,_0x16f0bc(0x35d),new _0x50b64e[(_0x16f0bc(0x228))](_0x2600cf[_0x16f0bc(0x191)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5c5db8,this[_0x16f0bc(0x2f9)]=_0x2cb1a5,this[_0x16f0bc(0x37d)]=_0x472323,this[_0x16f0bc(0x371)]=_0x4e0f23,this[_0x16f0bc(0x187)]=_0x3ff93f,this[_0x16f0bc(0x34c)]=_0x7a8e9d,this[_0x16f0bc(0x26e)]=_0x57e145,this[_0x16f0bc(0x14d)]=_0x1f8a79,this[_0x16f0bc(0x2c5)]());}[_0x41a185(0x2c5)](){const _0x5b01b5=_0x41a185;this[_0x5b01b5(0x223)](this[_0x5b01b5(0x2f9)][_0x5b01b5(0x2fb)][_0x5b01b5(0x1e9)](_0x13fa28=>{const _0x1e15e5=_0x5b01b5,_0x17fd66=this[_0x1e15e5(0x210)][_0x1e15e5(0x1d2)][_0x1e15e5(0x1e9)](_0x383c2d=>{const _0x55491a=_0x1e15e5;if(_0x383c2d==null)return;const {unitId:_0x58474b,redoState:_0x438ddf,commandId:_0x4adacb}=_0x383c2d;if(_0x58474b!==_0x13fa28[_0x55491a(0x35b)])return;const _0x5e36fc={'id':_0x4adacb,'type':_0x5e3300['CommandType']['MUTATION'],'params':{'unitId':_0x58474b,'actions':_0x438ddf[_0x55491a(0x341)],'textRanges':null}};_0x13fa28[_0x55491a(0x240)](_0x5e36fc);});if(_0x13fa28[_0x1e15e5(0x223)](_0x17fd66),_0x13fa28 instanceof _0x2600cf[_0x1e15e5(0x2a9)]){const _0x5a95c4={'onTransformIME':_0x3a0344=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x374)](_0x3a0344),'onTransformState':_0x54a564=>this['_docTransformStateCacheService'][_0x1e15e5(0x382)](_0x54a564),'onTransformSelections':_0x14e3f0=>this[_0x1e15e5(0x187)][_0x1e15e5(0x2ea)](_0x14e3f0),'onSyncEditingCollabCursor':_0x498194=>this[_0x1e15e5(0x34c)][_0x1e15e5(0x168)](_0x498194),'onTransformRemoteChangesetByIMECache':_0x375038=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x147)](_0x375038),'onTransformRemoteChangesetByStateCache':_0x4e21d1=>this[_0x1e15e5(0x371)]['transformRemoteChangeset'](_0x4e21d1)};_0x13fa28[_0x1e15e5(0x208)](_0x5a95c4);}}));}};_0x216e6e=_0x2ec861([_0x271806(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e['DocStateChangeManagerService'])),_0x271806(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0x271806(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x12b6aa)),_0x271806(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x24cfdc)),_0x271806(0x4,_0x5e3300['Inject'](_0x4c6035)),_0x271806(0x5,_0x5e3300['Inject'](_0xa68806)),_0x271806(0x6,_0x48ab34[_0x41a185(0x1a9)]),_0x271806(0x7,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x216e6e);var _0x3b11ed=Object[_0x41a185(0x13b)],_0x4810a6=(_0x234a2d,_0x2c6061,_0x25bc1b,_0x1143df)=>{const _0x479575=_0x41a185;for(var _0x205f1c=_0x1143df>0x1?void 0x0:_0x1143df?_0x3b11ed(_0x2c6061,_0x25bc1b):_0x2c6061,_0x15e6de=_0x234a2d[_0x479575(0x15e)]-0x1,_0xf265a5;_0x15e6de>=0x0;_0x15e6de--)(_0xf265a5=_0x234a2d[_0x15e6de])&&(_0x205f1c=_0xf265a5(_0x205f1c)||_0x205f1c);return _0x205f1c;},_0x3e623e=(_0x370b14,_0x477852)=>(_0x4d293e,_0x53b18a)=>_0x477852(_0x4d293e,_0x53b18a,_0x370b14);let _0x189146=class extends _0x5e3300['Disposable']{constructor(_0x286962,_0x55e1d2,_0xb45f1){const _0x12a438=_0x41a185;super(),_0x528ae5(this,'_cachedData',new Map()),_0x528ae5(this,_0x12a438(0x1a6),new Map()),_0x528ae5(this,_0x12a438(0x17f),!0x1),(this[_0x12a438(0x25d)]=_0x286962,this[_0x12a438(0x29a)]=_0x55e1d2,this['_revisionService']=_0xb45f1);}[_0x41a185(0x1f7)](){const _0x2918dc=_0x41a185;this[_0x2918dc(0x17f)]=!0x0;}[_0x41a185(0x258)](){this['_disabled']=!0x1;}get[_0x41a185(0x196)](){const _0x312dd8=_0x41a185;return this[_0x312dd8(0x1a6)];}[_0x41a185(0x385)](){const _0x413b4a=_0x41a185;this[_0x413b4a(0x39a)]()[_0x413b4a(0x2b0)](()=>super['dispose']());}async[_0x41a185(0x238)](_0x541174){const _0x241357=_0x41a185;return this[_0x241357(0x17f)]?null:this[_0x241357(0x29a)]['getItem'](_0x2600cf['getLocalCacheKey'](_0x541174));}async[_0x41a185(0x276)](_0x1f89b6,_0x4410c9){const _0x366707=_0x41a185;return!!this[_0x366707(0x29a)]['setItem'](_0x1f89b6,_0x4410c9);}[_0x41a185(0x356)](_0x54c5be,_0xc4785f,_0x2106e4,_0xfd5deb){const _0x559a01=_0x41a185,_0x110d23=this['_revisionService']['getCurrentRevOfUnit'](_0x54c5be);this['_cachedData'][_0x559a01(0x21d)](_0x54c5be,{'unitID':_0x54c5be,'type':_0xc4785f,'awaitingChangeset':_0x2106e4,'mutations':_0xfd5deb,'rev':_0x110d23}),this[_0x559a01(0x1a6)]['has'](_0x54c5be)||this['_scheduleSaving'](_0x54c5be);}['_scheduleSaving'](_0x51a5e2){const _0x3d0121=_0x41a185,_0x30fa90=this[_0x3d0121(0x202)]();_0x30fa90===0x0?this['_saveCache'](_0x51a5e2):this['_saveTaskMap'][_0x3d0121(0x21d)](_0x51a5e2,setTimeout(()=>this[_0x3d0121(0x2c4)](_0x51a5e2),_0x30fa90));}[_0x41a185(0x202)](){const _0x21481a=_0x41a185;var _0x14f526;return(_0x14f526=this[_0x21481a(0x25d)][_0x21481a(0x2b9)](_0x2600cf['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x14f526:_0x2600cf[_0x21481a(0x201)];}[_0x41a185(0x2c4)](_0x4382f5){const _0x1d1af8=_0x41a185,_0x3b702b=this[_0x1d1af8(0x1a6)][_0x1d1af8(0x182)](_0x4382f5);return _0x3b702b!==void 0x0&&window[_0x1d1af8(0x219)](_0x3b702b),this['_localStorageService'][_0x1d1af8(0x136)](_0x2600cf[_0x1d1af8(0x132)](_0x4382f5),this[_0x1d1af8(0x1ed)]['get'](_0x4382f5))[_0x1d1af8(0x2b0)](()=>this[_0x1d1af8(0x1a6)][_0x1d1af8(0x2ee)](_0x4382f5));}async[_0x41a185(0x39a)](){const _0x23b45a=_0x41a185,_0x337699=[];this[_0x23b45a(0x1a6)][_0x23b45a(0x2ba)]((_0x49d5e5,_0x291504)=>{const _0xcc572f=_0x23b45a;window['clearTimeout'](_0x49d5e5),_0x337699['push'](this[_0xcc572f(0x2c4)](_0x291504)[_0xcc572f(0x2b0)](()=>{const _0x583a8d=_0xcc572f;this[_0x583a8d(0x1a6)][_0x583a8d(0x2ee)](_0x291504);}));}),await Promise[_0x23b45a(0x27b)](_0x337699);}};_0x189146=_0x4810a6([_0x3e623e(0x0,_0x5e3300[_0x41a185(0x217)]),_0x3e623e(0x1,_0x5e3300['ILocalStorageService']),_0x3e623e(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x4384c1[_0x41a185(0x15b)]))],_0x189146);class _0x325c93 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x368b60=_0x41a185;super(),_0x528ae5(this,'urlChange$'),this[_0x368b60(0x1ad)]=_0x50b64e['fromEvent'](window,_0x368b60(0x143))[_0x368b60(0x1e6)](_0x50b64e[_0x368b60(0x1fc)](this[_0x368b60(0x2de)]),_0x50b64e[_0x368b60(0x197)](0x1),_0x50b64e[_0x368b60(0x366)](void 0x0));}['setParam'](_0xd528b3,_0x1b3a4a,_0x474074=!0x1){const _0x58e0b0=_0x41a185,_0x6fcbd7=new URL(window[_0x58e0b0(0x1d3)][_0x58e0b0(0x369)]);_0x6fcbd7[_0x58e0b0(0x220)][_0x58e0b0(0x21d)](_0xd528b3,_0x1b3a4a),_0x474074?window[_0x58e0b0(0x195)][_0x58e0b0(0x2ed)]('','',_0x6fcbd7[_0x58e0b0(0x2c0)]()):window['history'][_0x58e0b0(0x154)]('','',_0x6fcbd7['toString']());}[_0x41a185(0x207)](_0x1729d3,_0x40359b=!0x1){const _0x1f9048=_0x41a185,_0x42a696=new URL(window[_0x1f9048(0x1d3)][_0x1f9048(0x369)]);_0x42a696[_0x1f9048(0x220)][_0x1f9048(0x2ee)](_0x1729d3),_0x40359b?window[_0x1f9048(0x195)][_0x1f9048(0x2ed)]('','',_0x42a696['toString']()):window[_0x1f9048(0x195)][_0x1f9048(0x154)]('','',_0x42a696[_0x1f9048(0x2c0)]());}[_0x41a185(0x16b)](_0x216298){const _0x99f14f=_0x41a185;var _0x3e706c;return(_0x3e706c=new URL(window[_0x99f14f(0x1d3)][_0x99f14f(0x369)])[_0x99f14f(0x220)][_0x99f14f(0x182)](_0x216298))!=null?_0x3e706c:void 0x0;}}var _0x211859=Object[_0x41a185(0x28b)],_0x21fd79=Object[_0x41a185(0x13b)],_0x134bf8=(_0x5210f2,_0x216055,_0x1627d4)=>_0x216055 in _0x5210f2?_0x211859(_0x5210f2,_0x216055,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1627d4}):_0x5210f2[_0x216055]=_0x1627d4,_0x61d69b=(_0x3e59f4,_0x2cde00,_0x4179e2,_0x33e2c5)=>{const _0x64e92e=_0x41a185;for(var _0x2f5a23=_0x33e2c5>0x1?void 0x0:_0x33e2c5?_0x21fd79(_0x2cde00,_0x4179e2):_0x2cde00,_0x2da053=_0x3e59f4[_0x64e92e(0x15e)]-0x1,_0x19730a;_0x2da053>=0x0;_0x2da053--)(_0x19730a=_0x3e59f4[_0x2da053])&&(_0x2f5a23=_0x19730a(_0x2f5a23)||_0x2f5a23);return _0x2f5a23;},_0x24cc65=(_0x111957,_0xa7f27d)=>(_0x5a490a,_0x18b9e9)=>_0xa7f27d(_0x5a490a,_0x18b9e9,_0x111957),_0x46d61f=(_0x5129fc,_0x1e913f,_0x21fa19)=>_0x134bf8(_0x5129fc,_0x1e913f+'',_0x21fa19);const _0x142c54=_0x41a185(0x23d);_0x218781[_0x41a185(0x25c)]=class extends _0x5e3300[_0x41a185(0x259)]{constructor(_0x164309=_0x1fb5ee,_0x8dd459,_0x3cbbbd,_0x1e2db6){const _0x5a9228=_0x41a185;super(),this['_config']=_0x164309,this[_0x5a9228(0x33c)]=_0x8dd459,this[_0x5a9228(0x20b)]=_0x3cbbbd,this['_configService']=_0x1e2db6;const {..._0x246871}=_0x5e3300['merge']({},_0x1fb5ee,this['_config']);this[_0x5a9228(0x25d)][_0x5a9228(0x1ec)](_0x4b6e86,_0x246871);}[_0x41a185(0x1fb)](){const _0x230ae3=_0x41a185;this[_0x230ae3(0x32c)](),this[_0x230ae3(0x211)]();}[_0x41a185(0x26c)](){const _0x43098d=_0x41a185;this[_0x43098d(0x16f)]();}[_0x41a185(0x32c)](){const _0x2bbda2=_0x41a185;var _0x576478;const _0x25ad4c=[[_0xc0d63f],[_0x4c6035],[_0x12b6aa],[_0x24cfdc],[_0xa68806],[_0x48a0eb,{'useClass':_0x325c93}],[_0x5771f5['ISocketService'],{'useClass':_0x5771f5['WebSocketService']}],[_0x2600cf[_0x2bbda2(0x19a)],{'useClass':_0x189146}],[_0x218781[_0x2bbda2(0x22b)]],[_0x216e6e],[_0x3b66a5],[_0x17492c],[_0x282384],[_0x218781['CollaborationDataLoaderController']]];_0x5e3300['registerDependencies'](this['_injector'],_0x5e3300[_0x2bbda2(0x1eb)](_0x25ad4c,(_0x576478=this['_config'])==null?void 0x0:_0x576478['override']));}[_0x41a185(0x16f)](){const _0x26cb58=_0x41a185;this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)][_0x26cb58(0x17e)](_0x5e3300[_0x26cb58(0x268)]['UNIVER_DOC'],[_0x54fb8b])),this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)]['registerRenderModule'](_0x5e3300[_0x26cb58(0x268)][_0x26cb58(0x2cd)],[_0x1d9dc1]));}['_initDependencies'](){const _0x8cefac=_0x41a185;_0x5e3300[_0x8cefac(0x3a7)](this['_injector'],[[_0x17492c],[_0x218781['DesktopCollaborationStatusDisplayController']],[_0x216e6e],[_0x3b66a5],[_0x218781[_0x8cefac(0x275)]]]);}},_0x46d61f(_0x218781[_0x41a185(0x25c)],_0x41a185(0x1bb),_0x142c54),_0x218781['UniverCollaborationClientUIPlugin']=_0x61d69b([_0x5e3300[_0x41a185(0x1a4)](_0x2600cf['UniverCollaborationClientPlugin']),_0x24cc65(0x1,_0x1b825c[_0x41a185(0x328)]),_0x24cc65(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x24cc65(0x3,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x25c)]);var _0x305af9=Object['getOwnPropertyDescriptor'],_0x7bc798=(_0x5135a9,_0x55ce91,_0x3f6ca0,_0x3667f2)=>{const _0x2f3b91=_0x41a185;for(var _0x52a653=_0x3667f2>0x1?void 0x0:_0x3667f2?_0x305af9(_0x55ce91,_0x3f6ca0):_0x55ce91,_0x4df388=_0x5135a9[_0x2f3b91(0x15e)]-0x1,_0x592570;_0x4df388>=0x0;_0x4df388--)(_0x592570=_0x5135a9[_0x4df388])&&(_0x52a653=_0x592570(_0x52a653)||_0x52a653);return _0x52a653;},_0x1d29fa=(_0x2d66f9,_0x129154)=>(_0xa3d1cb,_0x45253c)=>_0x129154(_0xa3d1cb,_0x45253c,_0x2d66f9);_0x218781[_0x41a185(0x2be)]=class extends _0x2600cf[_0x41a185(0x2dc)]{constructor(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66){super(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66);}async[_0x41a185(0x339)](_0x5d2714){const _0x3c38bf=_0x41a185,_0x1e49e9=await this[_0x3c38bf(0x35a)](),_0x2291b6=this['_createSocketURL'](_0x5d2714,_0x1e49e9);return this['_doCreateSocket'](_0x2291b6);}[_0x41a185(0x249)](_0x2c1ae1,_0x393864){const _0x140e8a=_0x41a185,_0x2c71db=typeof window>'u'?new URL(_0x2c1ae1):new URL(_0x2c1ae1,window['location'][_0x140e8a(0x230)]);_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x1e3),_0x393864);const _0x2bdc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x140e8a(0x1d3)]['search']);return _0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))&&_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x115),_0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))),_0x2c71db[_0x140e8a(0x2c0)]();}async[_0x41a185(0x35a)](){const _0x3f083f=_0x41a185;var _0x5d9faa,_0xeed749,_0x468cca;const _0x44da9a=this['_configService'][_0x3f083f(0x2b9)](_0x2600cf[_0x3f083f(0x133)]),_0x5b34c3=(_0x5d9faa=_0x44da9a==null?void 0x0:_0x44da9a[_0x3f083f(0x18d)])!=null?_0x5d9faa:_0x2600cf[_0x3f083f(0x255)];return(_0x468cca=(_0xeed749=(await this['_httpService'][_0x3f083f(0x182)](_0x5b34c3,{'headers':{'Content-Type':_0x3f083f(0x36c)}}))[_0x3f083f(0x119)])==null?void 0x0:_0xeed749['ticket'])!=null?_0x468cca:'';}},_0x218781[_0x41a185(0x2be)]=_0x7bc798([_0x1d29fa(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300['Injector'])),_0x1d29fa(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x1d29fa(0x2,_0x5e3300['IConfigService']),_0x1d29fa(0x3,_0x5e3300[_0x41a185(0x130)]),_0x1d29fa(0x4,_0x4384c1['ISnapshotServerService'])],_0x218781[_0x41a185(0x2be)]);var _0x22b361=(_0x4a0e5a=>(_0x4a0e5a[_0x4a0e5a[_0x41a185(0x347)]=0x0]='UNDEFINED',_0x4a0e5a[_0x4a0e5a['OK']=0x1]='OK',_0x4a0e5a[_0x4a0e5a['INTERNAL_ERROR']=0x2]=_0x41a185(0x149),_0x4a0e5a[_0x4a0e5a['PERMISSION_DENIED']=0x3]=_0x41a185(0x36a),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ce)]=0x4]=_0x41a185(0x2ce),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x30f)]=0x5]=_0x41a185(0x30f),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2f5)]=0x6]=_0x41a185(0x2f5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x3a1)]=0x7]=_0x41a185(0x3a1),_0x4a0e5a[_0x4a0e5a['TOO_MANY_REQUESTS']=0x8]=_0x41a185(0x192),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x25b)]=0x9]=_0x41a185(0x25b),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x284)]=0xa]=_0x41a185(0x284),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x321)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x274)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1c1)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x244)]=0x1389]=_0x41a185(0x244),_0x4a0e5a[_0x4a0e5a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x41a185(0x2fc),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1e7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1f9)]=0x1773]=_0x41a185(0x1f9),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x18c)]=0x1b59]=_0x41a185(0x18c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x20c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x352)]=0x1b5c]=_0x41a185(0x352),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1da)]=0x1b5d]=_0x41a185(0x1da),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x180)]=0x2329]=_0x41a185(0x180),_0x4a0e5a[_0x4a0e5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1b8)]=0x232b]=_0x41a185(0x1b8),_0x4a0e5a[_0x4a0e5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41a185(0x292),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x39d)]=0x232d]=_0x41a185(0x39d),_0x4a0e5a[_0x4a0e5a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41a185(0x2ef),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2db)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x335)]=0x2713]=_0x41a185(0x335),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2da)]=0x2714]=_0x41a185(0x2da),_0x4a0e5a[_0x4a0e5a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0e5a[_0x4a0e5a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a5)]=0x271c]=_0x41a185(0x2a5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x193)]=0x271d]=_0x41a185(0x193),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x378)]=0x271e]=_0x41a185(0x378),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x29e)]=0x271f]=_0x41a185(0x29e),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a1)]=0x2720]=_0x41a185(0x2a1),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ec)]=0x2af9]=_0x41a185(0x2ec),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x34d)]=0x2ee1]=_0x41a185(0x34d),_0x4a0e5a[_0x4a0e5a['INVALID_INVITE_CODE']=0x2ee2]=_0x41a185(0x266),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x37c)]=0x2ee3]=_0x41a185(0x37c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x298)]=0x2ee5]=_0x41a185(0x298),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x233)]=0x32c9]=_0x41a185(0x233),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x205)]=0x32ca]=_0x41a185(0x205),_0x4a0e5a[_0x4a0e5a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x41a185(0x213),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x304)]=-0x1]='UNRECOGNIZED',_0x4a0e5a))(_0x22b361||{}),_0x231e84=Object[_0x41a185(0x13b)],_0x2c6b4c=(_0x1bbcbe,_0x598719,_0x23b2b7,_0x328407)=>{const _0x4e7cbc=_0x41a185;for(var _0x4829e0=_0x328407>0x1?void 0x0:_0x328407?_0x231e84(_0x598719,_0x23b2b7):_0x598719,_0xbe471e=_0x1bbcbe[_0x4e7cbc(0x15e)]-0x1,_0x29ad36;_0xbe471e>=0x0;_0xbe471e--)(_0x29ad36=_0x1bbcbe[_0xbe471e])&&(_0x4829e0=_0x29ad36(_0x4829e0)||_0x4829e0);return _0x4829e0;},_0x3ce525=(_0x501755,_0x2ff53a)=>(_0x516216,_0x145e7c)=>_0x2ff53a(_0x516216,_0x145e7c,_0x501755);_0x218781[_0x41a185(0x316)]=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x294f4b,_0xc473b4,_0x2f9b96){const _0x62036c=_0x41a185;super(),this[_0x62036c(0x260)]=_0x294f4b,this[_0x62036c(0x362)]=_0xc473b4,this['_configService']=_0x2f9b96;}async[_0x41a185(0x129)](_0x3494ef,_0x1aadd9,_0x351640,..._0x25db27){const _0x27226e=_0x41a185;var _0xd3f9a1,_0x3be72a,_0x1b2f6b,_0xf15ac;const _0x2b21e0=this[_0x27226e(0x260)][_0x27226e(0x376)]();if(!_0x2b21e0)throw new Error(_0x27226e(0x11b));const _0x49fc03=((_0xd3f9a1=this[_0x27226e(0x25d)]['getConfig'](_0x2600cf[_0x27226e(0x14c)]))!=null?_0xd3f9a1:_0x2600cf[_0x27226e(0x12d)])+'/'+_0x3494ef+_0x27226e(0x263)+_0x1aadd9,_0x54a82b=new URL(window[_0x27226e(0x1d3)][_0x27226e(0x369)]),_0x1206fb={'scriptId':_0x3494ef,'runId':(_0x3be72a=_0x54a82b['searchParams']['get'](_0x27226e(0x115)))!=null?_0x3be72a:'','function':_0x1aadd9,'unitId':_0x2b21e0[_0x27226e(0x28d)](),'argsOfFunction':JSON[_0x27226e(0x122)](_0x25db27),'invokeId':(_0x1b2f6b=_0x351640[_0x27226e(0x151)])!=null?_0x1b2f6b:'','executionId':(_0xf15ac=_0x351640['executionId'])!=null?_0xf15ac:''};try{const _0x55d9a3=await this['_httpService'][_0x27226e(0x156)](_0x49fc03,{'body':_0x1206fb});return _0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)]&&_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)][_0x27226e(0x302)]!==_0x22b361['OK']?_0x27226e(0x1c3):_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x37a)];}catch{return _0x27226e(0x1c3);}}},_0x218781[_0x41a185(0x316)]=_0x2c6b4c([_0x3ce525(0x0,_0x5e3300['IUniverInstanceService']),_0x3ce525(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x3ce525(0x2,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x316)]);const _0x565a14=0x7530,_0x2ab163=_0x41a185(0x2cf);class _0xc18a05 extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x4bc1f5=_0x41a185;super(),_0x528ae5(this,'_id',_0x5e3300['generateRandomId']()),_0x528ae5(this,'_selfUnitIDs',new Set()),_0x528ae5(this,'_unitOnClients',new Map()),_0x528ae5(this,'_heartbeatTimer',null),_0x528ae5(this,_0x4bc1f5(0x331),new Map()),_0x528ae5(this,_0x4bc1f5(0x1ae),new Map()),this['_init']();}[_0x41a185(0x385)](){const _0x2ecede=_0x41a185;super[_0x2ecede(0x385)](),this[_0x2ecede(0x331)][_0x2ecede(0x2ba)]((_0x32e710,_0x6dce88)=>this[_0x2ecede(0x2c1)](_0x6dce88)),this['_heartbeatTimer']&&window[_0x2ecede(0x166)](this[_0x2ecede(0x3a0)]);}[_0x41a185(0x15f)](_0x3ccee3){const _0x3f77c5=_0x41a185;return this[_0x3f77c5(0x19c)](_0x3ccee3)[_0x3f77c5(0x1e6)](_0x50b64e[_0x3f77c5(0x209)]());}[_0x41a185(0x32d)](_0x3f184b){const _0x48394e=_0x41a185;this[_0x48394e(0x315)][_0x48394e(0x2df)]===0x0&&this[_0x48394e(0x1c4)](),this['_selfUnitIDs']['add'](_0x3f184b),this[_0x48394e(0x30d)]({'type':0x0,'memberID':this[_0x48394e(0x2a4)],'unitIDs':[_0x3f184b],'isForwarded':!0x1});}[_0x41a185(0x2fe)](_0x15a4f9){const _0x5844ed=_0x41a185;this[_0x5844ed(0x315)][_0x5844ed(0x2ee)](_0x15a4f9),this[_0x5844ed(0x315)][_0x5844ed(0x2df)]===0x0&&this[_0x5844ed(0x3a0)]&&window[_0x5844ed(0x166)](this[_0x5844ed(0x3a0)]);}[_0x41a185(0x189)](){const _0x2d62a6=_0x41a185;this[_0x2d62a6(0x223)](_0x5e3300[_0x2d62a6(0x1c2)](_0x50b64e[_0x2d62a6(0x340)](window,_0x2d62a6(0x1fe))[_0x2d62a6(0x1e9)](_0x1efe90=>{const _0x2c0792=_0x2d62a6;if(_0x1efe90[_0x2c0792(0x271)]!==_0x2ab163||!_0x1efe90[_0x2c0792(0x3a6)])return;const _0x4b44e2=JSON['parse'](_0x1efe90[_0x2c0792(0x3a6)]);this[_0x2c0792(0x16e)](_0x4b44e2);}))),window[_0x2d62a6(0x349)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2d62a6(0x2a4)],'unitIDs':Array[_0x2d62a6(0x373)](this[_0x2d62a6(0x315)])}));}[_0x41a185(0x16e)](_0x4be764){const _0x50a64c=_0x41a185;switch(_0x4be764[_0x50a64c(0x297)]){case 0x0:this[_0x50a64c(0x28e)](_0x4be764);break;case 0x1:this[_0x50a64c(0x29d)](_0x4be764);break;case 0x2:this[_0x50a64c(0x2f3)](_0x4be764);break;}}[_0x41a185(0x28e)](_0x29b160){const _0x4a7f24=_0x41a185,{unitIDs:_0x39a63f,memberID:_0x1873f7,isForwarded:_0x4e6fc8}=_0x29b160;_0x39a63f[_0x4a7f24(0x2ba)](_0x4077a3=>{const _0x54d34f=_0x4a7f24;if(!_0x4e6fc8&&this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)&&this[_0x54d34f(0x19c)](_0x4077a3)[_0x54d34f(0x2e0)](_0x2600cf[_0x54d34f(0x12f)][_0x54d34f(0x1cf)]),!this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)||!this['_unitOnClients']['get'](_0x4077a3)[_0x54d34f(0x345)](_0x1873f7)){const _0x2f961d=this['_unitOnClients']['get'](_0x4077a3)||new Set();_0x2f961d[_0x54d34f(0x33a)](_0x1873f7),this[_0x54d34f(0x26d)]['set'](_0x4077a3,_0x2f961d),this[_0x54d34f(0x1d6)](_0x1873f7);}}),_0x4e6fc8||this['_send']({'type':0x0,'memberID':this[_0x4a7f24(0x2a4)],'unitIDs':[...this[_0x4a7f24(0x315)]],'isForwarded':!0x0});}[_0x41a185(0x1d6)](_0x12b7e8){const _0x36cdc4=_0x41a185;this[_0x36cdc4(0x2c1)](_0x12b7e8);const _0x56f446=window[_0x36cdc4(0x295)](()=>{const _0x2a18fc=_0x36cdc4;this['_unitOnClients'][_0x2a18fc(0x2ba)](_0x47729c=>{const _0x32947e=_0x2a18fc;_0x47729c[_0x32947e(0x2ee)](_0x12b7e8);});},_0x565a14*0x2);this[_0x36cdc4(0x331)]['set'](_0x12b7e8,_0x56f446);}[_0x41a185(0x2c1)](_0x5ee66d){const _0x8dc61a=_0x41a185;if(this['_clearOtherTimers'][_0x8dc61a(0x345)](_0x5ee66d)){const _0x5a35d8=this['_clearOtherTimers']['get'](_0x5ee66d);_0x5a35d8&&window[_0x8dc61a(0x219)](_0x5a35d8),this['_clearOtherTimers'][_0x8dc61a(0x21d)](_0x5ee66d,null);}}['_handleLeaveEvent'](_0x42acd9){const _0x3b615d=_0x41a185,{memberID:_0xd1ab32,unitIDs:_0x1b1761}=_0x42acd9;_0x1b1761[_0x3b615d(0x2ba)](_0x2a377b=>{const _0x5308c0=_0x3b615d;var _0x2545e1;const _0x3b6305=this[_0x5308c0(0x26d)]['get'](_0x2a377b);_0x3b6305&&(_0x3b6305[_0x5308c0(0x2ee)](_0xd1ab32),(_0x2545e1=this[_0x5308c0(0x19c)](_0x2a377b))==null||_0x2545e1[_0x5308c0(0x2e0)](_0x3b6305['size']===0x0?_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x144)]:_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x1cf)]));}),this[_0x3b615d(0x2c1)](_0xd1ab32);}['_handleHeartbeatEvent'](_0x4fb648){const _0x1a1944=_0x41a185;this['_scheduleClearOtherTimer'](_0x4fb648[_0x1a1944(0x2a0)]);}[_0x41a185(0x30d)](_0x537548){const _0x3e99b3=_0x41a185;localStorage[_0x3e99b3(0x136)](_0x2ab163,JSON[_0x3e99b3(0x122)](_0x537548));}[_0x41a185(0x1c4)](){const _0x373ade=_0x41a185;this['_heartbeatTimer']=window[_0x373ade(0x165)](()=>{const _0x4d4906=_0x373ade;this[_0x4d4906(0x30d)]({'type':0x2,'memberID':this[_0x4d4906(0x2a4)]});},_0x565a14);}[_0x41a185(0x19c)](_0x46a580){const _0x37e463=_0x41a185;return this['_unitStatus'][_0x37e463(0x345)](_0x46a580)||this['_unitStatus']['set'](_0x46a580,new _0x50b64e[(_0x37e463(0x228))](_0x2600cf[_0x37e463(0x12f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37e463(0x1ae)][_0x37e463(0x182)](_0x46a580);}}_0x218781[_0x41a185(0x24f)]=_0x48a0eb,_0x218781[_0x41a185(0x377)]=_0x2a41ec,_0x218781[_0x41a185(0x2e4)]=_0xc18a05,_0x218781[_0x41a185(0x15c)]=_0x325c93,Object[_0x41a185(0x28b)](_0x218781,Symbol[_0x41a185(0x124)],{'value':_0x41a185(0x12b)});}));