@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507181608 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4631(){const _0x4d6f9c=['CLOSE_ROOM','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','http://www.w3.org/2000/svg','_onCursorDelete','get','Workbook','onRendered','idSuffix','deserializeRangeWithSheet','getMemberID','transform','YUUMI_URL_COL_OUT_OF_RANGE','SNAPSHOT_INVALID_SNAPSHOT','_draw','_renderManagerService','textRanges','OTHER_CLIENTS_EDITING','DOC_RANGE_TYPE','_messageService','isActive','univer-flex\x20univer-items-center','_docTransformSelectionsService','SHEET_VIEWPORT_KEY','MOBILE_VERIFY_CODE_MISMATCH','224632maABsm','_updateURLWithCurrentState','setActiveRange','MoveRangeCommandId','Module','SetTextSelectionsOperation','SheetCollabCursorShape','disposeWithMe','rxjs','unitID','debounce','delete','_setupBeforeClosingHandler','Injector','TOO_MANY_REQUESTS','column','closePath','UNIVER_DOC','EMAIL_HAS_BEEN_BOUND','InsertRowCommandId','debug','_hovered','Warning','displayName','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CHANGESET_REVISION_CONFILICT','status$','replaceState','_handleJoinEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','_imageIoService','CollaborationController','getActiveRange','measureText','IImageIoService','_onCursorUpdate','_docTransformIMECacheService','getFocusedUnit','handleDeleteRangeMoveLeft','hasOwnProperty','Error','roomMembers$','_disabled','APPLY_PERMISSION_DENIED','clipPath','Disposable','findNodePositionByCharIndex','SUBMIT_CHANGESET_TIMEOUT','jsxs','InsertColCommandId','show','IBeforeCloseService','_lastPointer','_unitOnClients','icon','className','_startSheetCollabCursor','newValue','_getScale','transformIMECache','_removeClearOtherTimer','_initStatusListener','actions','flatMap','pluginName','history','getCoordByCell','selection','COMPLETION_FINISHED','useObservable','HTTPService','next','@univerjs/sheets','2929998cBTfnP','_ensureSubject','propertyIsEnumerable','_notificationService','NO_OTHER_CLIENTS_EDITING','whenReady','CollaborationUIEventService','_cursorShapes','getUndoRedoMutationParamsCache','_collabSessionService','APPLY_NON_SEQUENTIAL_REVISION','UniverDocsUi','390258MyfcYi','contains','getSkeleton','collaboration.single-unit.warning','string','defineProperty','getUnhiddenWorksheets','bottom','_revisionService','getValue','event$','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','ISocketService','getRangePointData','_entityInit$','attrs','_heartbeatTimer','_memberService','_cursor','UNIVER_SHEET','data','setTimeout','getOffsetConfig','_anchorDot','_drawAnchor','arc','UniverRpc','redoState','_cursors','_getAnchorBounding','isTransformMutationFailure','LICENSE_DISTRO_REJECTED','round','result','transformSelections','_refRangeService','_transformService','docStateChange$','JOIN_ROOM_FAILED','handleInsertRow','_sheetSkeletonManagerService','add','set','unload','has','_cachedData','_updateSubUnitFromURLParams','transformStateCache','isEditing','YUUMI_AI_RUN_FAILED','AWAITING','exports','currentTheme$','dispose$','UniverIcon','/run/','saveImage','url(#on-line-icon_clip0_910_349)','TEXT_RANGE_LAYER_INDEX','collabStatus.conflict','assign','NodePositionConvertToRectRange','IRenderManagerService','call','setStateCache','_textBubble','registerComponent','React','handleIRemoveCol','init','_transformPreviousActiveRange','clearTimeout','CollaborationSocketService','getUnitStatus$','black','getMergeData','addClipboardHook','current','loadOfflineData','distinctUntilChanged','min','_online','_cursorInfo$','_entities','on-line-icon','CollaborationEvent','INVITE_CODE_REQUIRED','_docSkeletonManagerService','getCollabCursors$','replace','@univerjs/ui','WebURLService','generateRandomId','_httpService','UniverDocs','trim','loadUnit','subscribeEvent','onCommandExecuted','fill','_localCacheService','collabCursorState$','drawWith','createElement','OFFLINE','roomMembers','useCallback','switchMap','_collaborationController','_scheduleClearOtherTimer','SetSelectionsOperation','PENDING','9790956oCsCGv','red.300','entries','collab-client.tooltip.reconnect','setInterval','currentSkeleton$','addObjects','_assignedColors','FromArray','push','origin','_initEvent','executeCommand','_getSessionTicket','_configService','YUUMI_NO_CUBOID_FOR_QUESTION','asObservable','RemoteUniscriptService','INTERNAL_ERROR','LICENSE_EXPORT_SIZE_EXCEEDED','type','UNAUTHENTICATED','@univerjs/drawing','complete','CollaborationDataLoaderController','@univerjs/docs','IMessageService','COLORS','_status$','INVALID_ARGUMENT','LICENSE_IMPORT_SIZE_EXCEEDED','_urlService','unsubscribe','ColorKit','_collaborationUIEventService','backgroundColor','fillRule','_docClipboardService','disableLocalCache','APPLY_DUPLICATED','LocaleService','CommandType','APPLY_REJECT','getCellPositionByOffset','_color','ILogService','ticket','UnitStatus','Rect','cursorInfo','_initEntityListener','...','on-line-icon_clip0_910_349','stringify','registerRenderModule','startsWith','univerjs-icon\x20univerjs-icon-','MUTATION','OffLineIcon','getSheetBySheetId','split','combineLatest','setItem','OTHER_CLIENT_EDITING','invokeId','startRow','connectInjector','forwardRef','SetWorksheetActivateCommand','getActiveSheet','IDocClipboardService','NOT_FOUND','mapTo','wsSessionTicketUrl','UNRECOGNIZED','currentColor','undoState','_docTransformStateCacheService','unitId','runId','UPDATE_CURSOR','m2Prime','UniverCore','clearInterval','RxDisposable','find','Inject','shareReplay','getCurrentRevOfUnit','BrowserCollaborationSocketService','CollaborationStatus','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','ranges','deepClone','INVALID_INVITE_CODE','key','_init','getRenderById','_localStorageService','LOCAL_CACHE_INTERVAL','_context','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','labelPosition','getOwnPropertyDescriptor','_refreshCollabCursors','forEach','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_HAS_BEEN_UES','url(#off-line-icon_clip0_910_343)','size','BehaviorSubject','UniverSheetsUi','#FFF','DocCollaborationEntity','_instanceService','_beforeCloseService','@univerjs/core','_hideTimer','_docSyncEditingCollabCursorService','ACTIVE_UNIT_EVENT_CHANNEL','throttleTime','onPointerLeave$','body','endColumn','ThemeService','mutations','endRow','getUniverSheetInstance','unshift','_clearOtherTimers','collaboration-client.offline-data-not-saved','_roomMembers$','code','addEventListener','getOwnPropertySymbols','saveOfflineData','engine','RevisionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.synced','IConfigService','RECT','getColor','ISnapshotServerService','selections','createIdentifier','react/jsx-runtime','TEXT','UniverInstanceType','0\x200\x2017\x2016','text','permission.title','_onRefRangeChange','collab-text-range-','children','url(#$1','font','_id','rxjs/operators','LOCAL_CACHE_INTERVAL_KEY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','session.will-retry','toString','NOT_COLLAB','NodePositionConvertToCursor','merge','length','clsx','pipe','color','onPointerEnter$','18138SKcpBy','@univerjs/sheets-ui','editingUnit','RemoveRowCommandId','MessageType','filter','assignAColorForMemberID','_handleHover','react','_saveTaskMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerDependencies','_initStatusComponent','isTransformMutationsWithChangesetSuccess','exhaustSavingTask','Tooltip','useDependency','INVITE_CODE_ALREADY_BOUND','transformMutationsWithChangeset','entityInit$','2VSNNrM','_collabCursorController','ICommandService','ALREADY_EXISTS','_config','permission.content','_colorIndex','Subject','YUUMI_UNABLE_LOAD_URL','onMouseMove','_anchor','getViewport','_univerInstanceService','DependentOn','takeUntil','syncEditingCollabCursor','transformRemoteChangeset','hovered','collabStatus.fetchMiss','symbol','_startDocCollabCursor','mask','operators','getParam','cursorInfo$','Failed','RefRangeService','EMAIL_VERIFY_CODE_MISMATCH','override','_injector','getCurrentUnitForType','ONLINE','eventID','dispose','path','setShapeProps','collaboration-client-ui.config','_name','getMember','map','_getSaveTimeout','getSheetObject','debounceTime','_eventUnsubscribe','toStringTag','send','ILocalCacheService','_createSocketURL','Rectangle','saveTaskMap','blue.400','enableLocalCache','DocSelectionManagerService','_logService','sessionStatus$','_docStateChangeManagerService','DesktopCollaborationStatusDisplayController','Tools','doc.mutation.rich-text-editing','addHandlerCallback','application/json','fromEvent','isArray','indexOf','xlink:href','_toggleOnline','Plugin','YUUMI_ALL_TABLES_IS_INVALID','UniverDesign','_drawRectRange','11dYmyuY','requireSession','focused$','handleInsertRangeMoveRight','getConfig','AWAITING_WITH_PENDING','_themeService','startColumn','handleInsertCol','IUIPartsService','UniverProCollaboration','toRgbString','error','_session','getDocRanges','_labelPosition','collabStatus.syncing','transformByState','createSocket','UniverSheets','_docSkeleton','prototype','SOCKET_FAILED','setAlpha','DocIMEInputManagerService','ENSURE_SNAPSHOT_EXECUTION','addObject','registerRefRange','UniverProCollaborationClient','CollaborationUIEventId','collab-text-anchor-','subscribe','activeSheet$','lineTo','_backgroundColor','_selfUnitIDs','UniverCollaborationClientPlugin','SheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','hide','none','includes','toDisposable','name','height','@univerjs-pro/collaboration','handleIRemoveRow','_initCommandExecutedListener','tag','href','SheetsSelectionsService','@univerjs-pro/collaboration-client','945QGbewS','reconnect','_registerRenderDependencies','handleInsertRangeMoveDown','row','mergeOverrideWithDependencies','executionId','MOBILE_HAS_BEEN_BOUND','_shapes','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleHeartbeatEvent','UniverCollaborationClientUIPlugin','0\x200\x2016\x2016','_scheduleSaving','off-line-icon_clip0_910_343','div','_range','svg','searchParams','WebSocketService','handleMoveRange','DocSkeletonManagerService','with','setConfig','beginPath','APPLY_REVISION_CONFILICT','IRemoteInstanceService','getTypeOfUnitDisposed$','_updateLocalCursor','RichTextEditingMutation','10234670wIcnFB','then','search','CONNECTOR_DATA_TOO_LARGE','_drawTextRange','_dataLoaderService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defs','sheetId','CollaborationSessionService','DocStateChangeManagerService','handleDeleteRangeMoveUp','_removeCollabCursors','UNDEFINED','getCollabEntity$','values','_colorAssignService','UniverEngineFormula','IURLService','getCurrent','runRefRangeMutations','from','concat','white','PERMISSION_DENIED','_doCreateSocket','Vector2','LICENSE_MAX_UNITS_EXCEEDED','yellow.400','collab-rect-range-','getRelativeToViewportCoord','_initResize','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_send','getSheetId','top','width','storage','_commandService','pushState','function','DisposableCollection','SYNCED','YUUMI_RATE_OVER_LIMIT','_toggleOffline','m1Prime','INotificationService','Unknown\x20user','WECHAT_HAS_BEEN_BOUND','SessionStatus','45WyFuov','RemoveColCommandId','rgba(255,\x20255,\x20255,\x200.01)','location','imageSourceType','green.600','1em','substring','USER_NOT_INVITED_CODE','CONFLICT','subunit','ITransformService','off-line-icon','IUniverInstanceService','restore','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','urlChange$','2782968nRmQki','@univerjs/design','_updateCollabCursors','fromEventSubject','serializeRangeWithSheet','_collabCursorState$','_setupSubUnitSync','ILocalStorageService','jsx','[CollaborationDataLoaderController]','setParam','_transformUndoRedoStack','params','EffectRefRangId','_scene','SetDocZoomRatioOperation','collabStatus.offline','DeleteRangeMoveUpCommandId','range','@univerjs/rpc','_localeService','fillStyle','USERS_LEAVE','_initDependencies','disposeUnit','fillText','InsertRangeMoveRightCommandId','defIds','_saveCache','session.connection-failed','getUnitId','DeleteRangeMoveLeftCommandId','save','getStateCache','_handleEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SNAPSHOT_HAS_BEEN_REMOVED','_hover','_unitStatus','evenodd','source','@univerjs/docs-ui','createInstance'];_0x4631=function(){return _0x4d6f9c;};return _0x4631();}function _0x5d7e(_0x289b5d,_0x83abaf){const _0x4631d4=_0x4631();return _0x5d7e=function(_0x5d7e79,_0x2eb8bc){_0x5d7e79=_0x5d7e79-0x13c;let _0x61b74e=_0x4631d4[_0x5d7e79];return _0x61b74e;},_0x5d7e(_0x289b5d,_0x83abaf);}(function(_0x411992,_0xde462a){const _0x10e9b5=_0x5d7e,_0xdc550=_0x411992();while(!![]){try{const _0x575476=parseInt(_0x10e9b5(0x140))/0x1+parseInt(_0x10e9b5(0x272))/0x2*(-parseInt(_0x10e9b5(0x3d9))/0x3)+parseInt(_0x10e9b5(0x34d))/0x4+-parseInt(_0x10e9b5(0x2ec))/0x5*(-parseInt(_0x10e9b5(0x25e))/0x6)+parseInt(_0x10e9b5(0x1b0))/0x7+-parseInt(_0x10e9b5(0x390))/0x8*(parseInt(_0x10e9b5(0x33c))/0x9)+-parseInt(_0x10e9b5(0x30a))/0xa*(parseInt(_0x10e9b5(0x2b8))/0xb);if(_0x575476===_0xde462a)break;else _0xdc550['push'](_0xdc550['shift']());}catch(_0x42271e){_0xdc550['push'](_0xdc550['shift']());}}}(_0x4631,0xdf847),function(_0x795d75,_0x40512f){const _0xcfb3ee=_0x5d7e;typeof exports=='object'&&typeof module<'u'?_0x40512f(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==_0xcfb3ee(0x332)&&define['amd']?define([_0xcfb3ee(0x173),_0xcfb3ee(0x2eb),_0xcfb3ee(0x227),'@univerjs/engine-render','@univerjs/network',_0xcfb3ee(0x376),_0xcfb3ee(0x1c6),_0xcfb3ee(0x398),_0xcfb3ee(0x2e5),_0xcfb3ee(0x1c9),'@univerjs/engine-formula',_0xcfb3ee(0x3d8),_0xcfb3ee(0x251),_0xcfb3ee(0x25f),_0xcfb3ee(0x245),_0xcfb3ee(0x19a),_0xcfb3ee(0x34e),_0xcfb3ee(0x266),_0xcfb3ee(0x360)],_0x40512f):(_0x795d75=typeof globalThis<'u'?globalThis:_0x795d75||self,_0x40512f(_0x795d75['UniverProCollaborationClientUi']={},_0x795d75[_0xcfb3ee(0x2d4)],_0x795d75[_0xcfb3ee(0x202)],_0x795d75['UniverEngineRender'],_0x795d75['UniverNetwork'],_0x795d75[_0xcfb3ee(0x13f)],_0x795d75['UniverDrawing'],_0x795d75['rxjs'],_0x795d75[_0xcfb3ee(0x2c2)],_0x795d75[_0xcfb3ee(0x19e)],_0x795d75[_0xcfb3ee(0x31b)],_0x795d75[_0xcfb3ee(0x2cb)],_0x795d75[_0xcfb3ee(0x398)][_0xcfb3ee(0x288)],_0x795d75[_0xcfb3ee(0x222)],_0x795d75[_0xcfb3ee(0x183)],_0x795d75['UniverUi'],_0x795d75[_0xcfb3ee(0x2b6)],_0x795d75[_0xcfb3ee(0x183)],_0x795d75[_0xcfb3ee(0x15a)]));}(this,function(_0x2166b9,_0x49c0aa,_0x10bc43,_0x2f8a25,_0x48b5e7,_0x3b663b,_0x3e661b,_0x1fa918,_0xd210a5,_0x5dbb9f,_0x905975,_0x35cb04,_0x4241f0,_0x151729,_0x4f3a1b,_0xec16ce,_0x1848ff,_0x244929,_0x5345ea){'use strict';const _0x5844b3=_0x5d7e;var _0x547c6e=Object[_0x5844b3(0x145)],_0x3735ce=(_0x1f4247,_0x54a9e3,_0x15be4b)=>_0x54a9e3 in _0x1f4247?_0x547c6e(_0x1f4247,_0x54a9e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15be4b}):_0x1f4247[_0x54a9e3]=_0x15be4b,_0x1e2e9a=(_0x5d126c,_0x2838f1,_0x3feb3c)=>_0x3735ce(_0x5d126c,typeof _0x2838f1!=_0x5844b3(0x285)?_0x2838f1+'':_0x2838f1,_0x3feb3c),_0x10bc16=Object[_0x5844b3(0x21a)],_0x1dc09b=(_0x114416,_0x1dbc59,_0x3e6dc1,_0x244449)=>{const _0x1b4028=_0x5844b3;for(var _0x45badd=_0x244449>0x1?void 0x0:_0x244449?_0x10bc16(_0x1dbc59,_0x3e6dc1):_0x1dbc59,_0x57285e=_0x114416[_0x1b4028(0x259)]-0x1,_0x2f8631;_0x57285e>=0x0;_0x57285e--)(_0x2f8631=_0x114416[_0x57285e])&&(_0x45badd=_0x2f8631(_0x45badd)||_0x45badd);return _0x45badd;},_0x2e723a=(_0x9b9495,_0xa03329)=>(_0x4e13ef,_0x5b6ede)=>_0xa03329(_0x4e13ef,_0x5b6ede,_0x9b9495);let _0x40c61c=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x1e67b2,_0xe29b5){const _0xb808fc=_0x5844b3;super(),this[_0xb808fc(0x1d5)]=_0x1e67b2,this[_0xb808fc(0x3ae)]=_0xe29b5,this[_0xb808fc(0x212)]();}[_0x5844b3(0x212)](){const _0x401c69=_0x5844b3,_0x1338ca=this;this[_0x401c69(0x397)](this[_0x401c69(0x1d5)][_0x401c69(0x18c)]({'onBeforePasteImage':async _0x38df3e=>{const _0x3b6c47=_0x401c69,_0x48f0b2=await _0x1338ca[_0x3b6c47(0x3ae)][_0x3b6c47(0x178)](_0x38df3e);return _0x48f0b2?{'source':_0x48f0b2[_0x3b6c47(0x375)],'imageSourceType':_0x48f0b2[_0x3b6c47(0x340)]}:null;}}));}};_0x40c61c=_0x1dc09b([_0x2e723a(0x0,_0x3b663b[_0x5844b3(0x1f6)]),_0x2e723a(0x1,_0x3e661b[_0x5844b3(0x3b2)])],_0x40c61c);const _0x2e9d41=['purple.300','jiqing.500',_0x5844b3(0x341),_0x5844b3(0x1b1),_0x5844b3(0x2a4),_0x5844b3(0x326)];class _0x467bc7 extends _0x10bc43[_0x5844b3(0x3bd)]{constructor(){const _0x5b028f=_0x5844b3;super(...arguments),_0x1e2e9a(this,_0x5b028f(0x1b7),new Map()),_0x1e2e9a(this,_0x5b028f(0x278),0x0);}[_0x5844b3(0x264)](_0x4c6505){const _0x7e7ac9=_0x5844b3;if(this[_0x7e7ac9(0x1b7)][_0x7e7ac9(0x16c)](_0x4c6505))return this[_0x7e7ac9(0x1b7)][_0x7e7ac9(0x37c)](_0x4c6505);const _0x3b7523=_0x2e9d41[this[_0x7e7ac9(0x278)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x2e9d41['length'],this[_0x7e7ac9(0x1b7)][_0x7e7ac9(0x16a)](_0x4c6505,_0x3b7523),_0x3b7523;}}function _0x40ba0f(_0x2b5d5c){const _0x12b0c7=_0x5844b3;let _0x2dfbed='';for(const _0x42ed0a of _0x2b5d5c){const {startOffset:_0x227737,endOffset:_0x47395f,isActive:_0x5ade94,rangeType:_0x36b3d3,segmentId:_0xd27ebd,segmentPage:_0xd55319}=_0x42ed0a;_0x2dfbed[_0x12b0c7(0x259)]&&(_0x2dfbed+=','),_0x2dfbed+=_0x227737+':'+_0x47395f+':'+(_0x5ade94?'1':'0')+':'+_0x36b3d3+':'+_0xd27ebd+':'+_0xd55319;}return _0x2dfbed;}function _0x391a05(_0x5a171a){const _0x3960e7=_0x5844b3,_0x90fda3=_0x5a171a[_0x3960e7(0x1ec)](','),_0x16c89c=[];for(const _0x382f7e of _0x90fda3){const [_0x4078a6,_0x47cda7,_0x14b94b,_0x5d943c,_0x2424b6,_0x49a8ff]=_0x382f7e[_0x3960e7(0x1ec)](':');_0x16c89c[_0x3960e7(0x1b9)]({'startOffset':Number(_0x4078a6),'endOffset':Number(_0x47cda7),'collapsed':_0x4078a6===_0x47cda7,'isActive':_0x14b94b==='1','rangeType':_0x5d943c===_0x10bc43[_0x3960e7(0x389)][_0x3960e7(0x246)]?_0x10bc43['DOC_RANGE_TYPE']['TEXT']:_0x10bc43[_0x3960e7(0x389)]['RECT'],'segmentId':typeof _0x2424b6==_0x3960e7(0x144)?String(_0x2424b6):'','segmentPage':Number(_0x49a8ff!=null?_0x49a8ff:-0x1)});}return _0x16c89c['some'](_0x45046c=>_0x45046c[_0x3960e7(0x38b)])||(_0x16c89c[0x0][_0x3960e7(0x38b)]=!0x0),_0x16c89c;}class _0x1de3ce extends _0x10bc43[_0x5844b3(0x204)]{constructor(){const _0x3d143c=_0x5844b3;super(...arguments),_0x1e2e9a(this,'_collabCursorState$',new _0x1fa918[(_0x3d143c(0x221))](null)),_0x1e2e9a(this,_0x3d143c(0x1a5),this[_0x3d143c(0x352)][_0x3d143c(0x1c0)]());}['syncEditingCollabCursor'](_0x4e42d9){const _0xf20626=_0x5844b3,{unitID:_0x2ffa37,memberID:_0x4fb1e1,textRanges:_0x268337}=_0x4e42d9,_0x1f69b8=_0x40ba0f(_0x268337);if(_0x1f69b8==='')return;const _0x418076={'unitID':_0x2ffa37,'memberID':_0x4fb1e1,'selection':_0x1f69b8};this[_0xf20626(0x352)][_0xf20626(0x3d7)](_0x418076);}}var _0x431df5=Object[_0x5844b3(0x21a)],_0x324596=(_0x91060b,_0x36da82,_0x3ab0b6,_0x2aa501)=>{const _0x43909a=_0x5844b3;for(var _0x5d4fbb=_0x2aa501>0x1?void 0x0:_0x2aa501?_0x431df5(_0x36da82,_0x3ab0b6):_0x36da82,_0x1e225e=_0x91060b[_0x43909a(0x259)]-0x1,_0x232f9f;_0x1e225e>=0x0;_0x1e225e--)(_0x232f9f=_0x91060b[_0x1e225e])&&(_0x5d4fbb=_0x232f9f(_0x5d4fbb)||_0x5d4fbb);return _0x5d4fbb;},_0x2dbd05=(_0x197531,_0x257717)=>(_0x203495,_0xb6a47d)=>_0x257717(_0x203495,_0xb6a47d,_0x197531);const _0x3f9664=0x12c,_0x580dce=0x64;let _0x27b90f=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x563ad8,_0x524263,_0x6a2981,_0x243d41,_0x268ba4,_0x307197,_0x5549dd,_0x21dc27,_0x24491d){const _0x1b28f6=_0x5844b3;super(),_0x1e2e9a(this,_0x1b28f6(0x191),!0x1),_0x1e2e9a(this,'_init',!0x1),_0x1e2e9a(this,_0x1b28f6(0x192),new _0x1fa918[(_0x1b28f6(0x221))](new Map())),_0x1e2e9a(this,'cursorInfo$',this[_0x1b28f6(0x192)][_0x1b28f6(0x1c0)]()),_0x1e2e9a(this,_0x1b28f6(0x236),new _0x1fa918[(_0x1b28f6(0x221))]([])),_0x1e2e9a(this,_0x1b28f6(0x3b9),this[_0x1b28f6(0x236)][_0x1b28f6(0x25b)](_0x1fa918[_0x1b28f6(0x29c)](_0x3f9664))),_0x1e2e9a(this,_0x1b28f6(0x308),_0x10bc43[_0x1b28f6(0x39a)](_0x162f00=>{const _0x306e27=_0x1b28f6,_0xfb9a18={'eventID':_0xd210a5[_0x306e27(0x195)][_0x306e27(0x200)],'data':{'unitID':this['unitID'],'memberID':this[_0x306e27(0x2c5)][_0x306e27(0x381)](),'selection':_0x40ba0f(_0x162f00)}};this[_0x306e27(0x2c5)][_0x306e27(0x29f)](_0xfb9a18,this[_0x306e27(0x399)]);},_0x580dce)),(this['unitID']=_0x563ad8,this['_session']=_0x524263,this[_0x1b28f6(0x28f)]=_0x6a2981,this[_0x1b28f6(0x31a)]=_0x243d41,this[_0x1b28f6(0x151)]=_0x268ba4,this['_syncEditingCollabCursorService']=_0x307197,this[_0x1b28f6(0x164)]=_0x5549dd,this[_0x1b28f6(0x27e)]=_0x21dc27,this['_commandService']=_0x24491d);}get[_0x5844b3(0x1e1)](){const _0xece22c=_0x5844b3;return this[_0xece22c(0x192)][_0xece22c(0x149)]();}get[_0x5844b3(0x1a9)](){return this['_roomMembers$']['getValue']();}[_0x5844b3(0x293)](){const _0x51e411=_0x5844b3;super['dispose'](),this[_0x51e411(0x192)][_0x51e411(0x3d7)](new Map()),this['_cursorInfo$']['complete'](),this[_0x51e411(0x236)][_0x51e411(0x3d7)]([]),this['_roomMembers$'][_0x51e411(0x1c7)]();}['init'](){const _0x3b09a9=_0x5844b3;this[_0x3b09a9(0x212)]||(this[_0x3b09a9(0x212)]=!0x0,this[_0x3b09a9(0x2c5)][_0x3b09a9(0x2a8)][_0x3b09a9(0x25b)](_0x1fa918[_0x3b09a9(0x280)](this['dispose$']))[_0x3b09a9(0x2d7)](_0x44626e=>{const _0x553321=_0x3b09a9;_0x44626e===_0x49c0aa['SessionStatus'][_0x553321(0x291)]?this[_0x553321(0x2b3)]():this[_0x553321(0x336)]();}),this[_0x3b09a9(0x2c5)][_0x3b09a9(0x14a)]['pipe'](_0x1fa918[_0x3b09a9(0x280)](this[_0x3b09a9(0x175)]))[_0x3b09a9(0x2d7)](_0x3f812a=>{const _0x5b8d28=_0x3b09a9,_0x256f00=_0x3f812a['eventID'];_0x256f00===_0xd210a5['CollaborationEvent'][_0x5b8d28(0x200)]&&this[_0x5b8d28(0x3b3)](_0x3f812a),_0x256f00===_0xd210a5[_0x5b8d28(0x195)][_0x5b8d28(0x363)]&&this[_0x5b8d28(0x37b)](_0x3f812a);}),this['disposeWithMe'](this['_commandService'][_0x3b09a9(0x1a2)](_0x12fb40=>{const _0x336f9a=_0x3b09a9,_0x5d1342=_0x12fb40[_0x336f9a(0x359)];_0x5d1342!=null&&this[_0x336f9a(0x191)]&&_0x12fb40['id']===_0x5dbb9f[_0x336f9a(0x395)]['id']&&_0x5d1342[_0x336f9a(0x1fe)]===this[_0x336f9a(0x399)]&&_0x5d1342[_0x336f9a(0x170)]===!0x1&&_0x5d1342[_0x336f9a(0x20e)][_0x336f9a(0x259)]>0x0&&this[_0x336f9a(0x308)](_0x5d1342['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x3b09a9(0x25b)](_0x1fa918['takeUntil'](this[_0x3b09a9(0x175)]))[_0x3b09a9(0x2d7)](_0x399aad=>{const _0x1a343c=_0x3b09a9;if((_0x399aad==null?void 0x0:_0x399aad[_0x1a343c(0x399)])!==this[_0x1a343c(0x399)])return;const _0x3a73bd={'eventID':_0xd210a5[_0x1a343c(0x195)][_0x1a343c(0x200)],'data':_0x399aad};this['_onCursorUpdate'](_0x3a73bd);}),this['disposeWithMe'](this[_0x3b09a9(0x330)]['onCommandExecuted'](_0x359231=>{const _0x37722b=_0x3b09a9;if(_0x359231[_0x37722b(0x359)]==null)return;const _0x4c3499=_0x359231['params'];if(_0x359231['id']!==_0x5dbb9f[_0x37722b(0x309)]['id']||_0x4c3499[_0x37722b(0x1fe)]!==this['unitID'])return;const _0x1f68be={'id':_0x37722b(0x2ac),'params':_0x4c3499},_0x4964cb=this[_0x37722b(0x1e1)];for(const [_0x4f8650,_0x5584f5]of _0x4964cb){const _0x4804e9={'id':_0x37722b(0x2ac),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5584f5['ranges']}},_0x40429a=this[_0x37722b(0x164)]['transformMutation'](_0x1f68be,_0x4804e9,!0x1);if(_0xd210a5[_0x37722b(0x15e)](_0x40429a))throw _0x40429a[_0x37722b(0x2c4)];_0x4964cb[_0x37722b(0x16a)](_0x4f8650,{..._0x5584f5,'ranges':_0x40429a[_0x37722b(0x201)]['params']['textRanges']});}queueMicrotask(()=>{const _0x1997c4=_0x37722b;this[_0x1997c4(0x192)][_0x1997c4(0x3d7)](_0x4964cb);});})));}['_onCursorUpdate'](_0x1c4a99){const _0x1fab08=_0x5844b3;var _0x3285d7,_0xa07f4a;const {memberID:_0x50fbc2,selection:_0x3ccc12}=_0x1c4a99[_0x1fab08(0x154)],_0x10f477=_0x391a05(_0x3ccc12),_0x32bda4=(_0xa07f4a=(_0x3285d7=this['_memberService'][_0x1fab08(0x298)](this['unitID'],_0x50fbc2))==null?void 0x0:_0x3285d7[_0x1fab08(0x2e3)])!=null?_0xa07f4a:'Unknown\x20user',_0xd82bf9={'color':this['_colorAssignService'][_0x1fab08(0x264)](_0x50fbc2),'name':_0x32bda4,'ranges':_0x10f477},_0x5c5ca7=this[_0x1fab08(0x1e1)];_0x5c5ca7['set'](_0x50fbc2,_0xd82bf9),this[_0x1fab08(0x192)]['next'](_0x5c5ca7);}[_0x5844b3(0x37b)](_0x455e60){const _0x10e391=_0x5844b3,{memberID:_0x53faed}=_0x455e60[_0x10e391(0x154)],_0x7b9a9c=this[_0x10e391(0x1e1)];_0x7b9a9c['delete'](_0x53faed),this[_0x10e391(0x192)]['next'](_0x7b9a9c);}[_0x5844b3(0x2b3)](){const _0x8936fd=_0x5844b3;var _0x285172;if(this[_0x8936fd(0x191)]=!0x0,((_0x285172=this[_0x8936fd(0x27e)][_0x8936fd(0x3b5)]())==null?void 0x0:_0x285172[_0x8936fd(0x36b)]())!==this['unitID'])return;const _0x1f26c7=this['_injector'][_0x8936fd(0x37c)](_0x5dbb9f[_0x8936fd(0x2a6)])[_0x8936fd(0x2c6)]();Array[_0x8936fd(0x2b0)](_0x1f26c7)&&_0x1f26c7[_0x8936fd(0x259)]>0x0&&this['_updateLocalCursor'](_0x1f26c7);}[_0x5844b3(0x336)](){const _0x4e0899=_0x5844b3;this[_0x4e0899(0x191)]=!0x1;}};_0x27b90f=_0x324596([_0x2dbd05(0x2,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x2dbd05(0x3,_0x10bc43[_0x5844b3(0x206)](_0x467bc7)),_0x2dbd05(0x4,_0x10bc43[_0x5844b3(0x206)](_0x49c0aa['MemberService'])),_0x2dbd05(0x5,_0x10bc43[_0x5844b3(0x206)](_0x1de3ce)),_0x2dbd05(0x6,_0xd210a5[_0x5844b3(0x347)]),_0x2dbd05(0x7,_0x10bc43[_0x5844b3(0x349)]),_0x2dbd05(0x8,_0x10bc43[_0x5844b3(0x274)])],_0x27b90f);var _0x45a844=Object[_0x5844b3(0x21a)],_0x1ae12e=(_0x533e32,_0x52957b,_0x1b51d1,_0x55a67e)=>{const _0x1bdbc3=_0x5844b3;for(var _0xa22f42=_0x55a67e>0x1?void 0x0:_0x55a67e?_0x45a844(_0x52957b,_0x1b51d1):_0x52957b,_0x3be1ac=_0x533e32[_0x1bdbc3(0x259)]-0x1,_0x1ae98d;_0x3be1ac>=0x0;_0x3be1ac--)(_0x1ae98d=_0x533e32[_0x3be1ac])&&(_0xa22f42=_0x1ae98d(_0xa22f42)||_0xa22f42);return _0xa22f42;},_0x5eda28=(_0xe28eb,_0x49a06c)=>(_0x8b3d38,_0x204628)=>_0x49a06c(_0x8b3d38,_0x204628,_0xe28eb);const _0x1e8149=0x12c,_0x24d876=0x64,_0x3e1e09=()=>{let _0x52ee9a=[],_0x49ea0c=!0x1;return _0x1ac924=>{_0x52ee9a['push'](_0x1ac924),_0x49ea0c||(_0x49ea0c=!0x0,setTimeout(()=>{const _0x1282c8=_0x5d7e;_0x52ee9a[_0x1282c8(0x21c)](_0x304cfc=>_0x304cfc()),_0x52ee9a=[],_0x49ea0c=!0x1;}));};};let _0x122a92=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x5af0b2,_0x491951,_0x11be7b,_0x2352d0,_0x30bc54,_0x8837af,_0x4ab1bb,_0x218803){const _0x1d7078=_0x5844b3;super(),_0x1e2e9a(this,_0x1d7078(0x191),!0x1),_0x1e2e9a(this,'_init',!0x1),_0x1e2e9a(this,_0x1d7078(0x192),new _0x1fa918[(_0x1d7078(0x221))](new Map())),_0x1e2e9a(this,_0x1d7078(0x28a),this[_0x1d7078(0x192)][_0x1d7078(0x1c0)]()),_0x1e2e9a(this,_0x1d7078(0x236),new _0x1fa918[(_0x1d7078(0x221))]([])),_0x1e2e9a(this,_0x1d7078(0x3b9),this[_0x1d7078(0x236)][_0x1d7078(0x25b)](_0x1fa918[_0x1d7078(0x29c)](_0x1e8149))),_0x1e2e9a(this,_0x1d7078(0x308),_0x10bc43[_0x1d7078(0x39a)]((_0x47c044,_0x253f2d)=>{const _0x84e9c0=_0x1d7078,_0x33a9d6={'eventID':_0xd210a5[_0x84e9c0(0x195)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x84e9c0(0x399)],'memberID':this['_session']['getMemberID'](),'selection':_0x905975[_0x84e9c0(0x351)](_0x47c044,_0x253f2d[_0x84e9c0(0x35f)])}};this[_0x84e9c0(0x2c5)][_0x84e9c0(0x29f)](_0x33a9d6,this['unitID']);},_0x24d876)),(this[_0x1d7078(0x399)]=_0x5af0b2,this[_0x1d7078(0x2c5)]=_0x491951,this[_0x1d7078(0x28f)]=_0x11be7b,this['_colorAssignService']=_0x2352d0,this[_0x1d7078(0x151)]=_0x30bc54,this[_0x1d7078(0x27e)]=_0x8837af,this[_0x1d7078(0x330)]=_0x4ab1bb,this[_0x1d7078(0x163)]=_0x218803);}get[_0x5844b3(0x1e1)](){const _0x646943=_0x5844b3;return this[_0x646943(0x192)][_0x646943(0x149)]();}get[_0x5844b3(0x1a9)](){const _0x4a45df=_0x5844b3;return this[_0x4a45df(0x236)][_0x4a45df(0x149)]();}[_0x5844b3(0x293)](){const _0x4138e6=_0x5844b3;super['dispose'](),this[_0x4138e6(0x192)][_0x4138e6(0x3d7)](new Map()),this[_0x4138e6(0x192)][_0x4138e6(0x1c7)](),this[_0x4138e6(0x236)][_0x4138e6(0x3d7)]([]),this['_roomMembers$'][_0x4138e6(0x1c7)]();}[_0x5844b3(0x185)](){const _0x3ca1c2=_0x5844b3;this[_0x3ca1c2(0x212)]||(this['_init']=!0x0,this[_0x3ca1c2(0x2c5)][_0x3ca1c2(0x2a8)]['pipe'](_0x1fa918['takeUntil'](this[_0x3ca1c2(0x175)]))[_0x3ca1c2(0x2d7)](_0x80c0d0=>{const _0x477b36=_0x3ca1c2;_0x80c0d0===_0x49c0aa[_0x477b36(0x33b)][_0x477b36(0x291)]?this[_0x477b36(0x2b3)]():this[_0x477b36(0x336)]();}),this['_session'][_0x3ca1c2(0x14a)][_0x3ca1c2(0x25b)](_0x1fa918[_0x3ca1c2(0x280)](this[_0x3ca1c2(0x175)]))[_0x3ca1c2(0x2d7)](_0x21c463=>{const _0x515b5=_0x3ca1c2,_0x404478=_0x21c463[_0x515b5(0x292)];_0x404478===_0xd210a5[_0x515b5(0x195)]['UPDATE_CURSOR']&&this[_0x515b5(0x3b3)](_0x21c463),_0x404478===_0xd210a5['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x21c463);}),this[_0x3ca1c2(0x24b)](),this[_0x3ca1c2(0x397)](this[_0x3ca1c2(0x330)][_0x3ca1c2(0x1a2)](_0x201ecb=>{const _0xb5cf61=_0x3ca1c2;if(this['_online']&&_0x201ecb['id']===_0x35cb04[_0xb5cf61(0x1ae)]['id']&&_0x201ecb[_0xb5cf61(0x359)][_0xb5cf61(0x1fe)]===this[_0xb5cf61(0x399)]){const _0xeb1f4d=_0x201ecb['params'];this[_0xb5cf61(0x308)](_0xeb1f4d['subUnitId'],_0xeb1f4d[_0xb5cf61(0x243)][0x0]);}})));}[_0x5844b3(0x3b3)](_0x22f4f7){const _0x3a0e2d=_0x5844b3;var _0x2bf990,_0x213b5a;const {memberID:_0x231775,selection:_0x298359}=_0x22f4f7[_0x3a0e2d(0x154)],{sheetName:_0x3325b2,range:_0x128510}=_0x905975[_0x3a0e2d(0x380)](_0x298359),_0x50ef6b={'name':(_0x213b5a=(_0x2bf990=this['_memberService'][_0x3a0e2d(0x298)](this[_0x3a0e2d(0x399)],_0x231775))==null?void 0x0:_0x2bf990['name'])!=null?_0x213b5a:_0x3a0e2d(0x339),'range':this['_getMergeRange'](_0x3325b2,_0x128510),'sheetID':_0x3325b2,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x231775),'selection':_0x298359},_0x4b130a=this[_0x3a0e2d(0x1e1)];_0x4b130a[_0x3a0e2d(0x16a)](_0x231775,_0x50ef6b),this[_0x3a0e2d(0x192)][_0x3a0e2d(0x3d7)](_0x4b130a);}['_onCursorDelete'](_0x5a6536){const _0x25e1cb=_0x5844b3,{memberID:_0x700d02}=_0x5a6536['data'],_0x5ad33a=this[_0x25e1cb(0x1e1)];_0x5ad33a[_0x25e1cb(0x39b)](_0x700d02),this[_0x25e1cb(0x192)][_0x25e1cb(0x3d7)](_0x5ad33a);}['_getMergeRange'](_0x3951ea,_0x1f80af){const _0x4261a9=_0x5844b3;var _0x1e3e32,_0x1ecb3f;const _0x179b01=(_0x1ecb3f=(_0x1e3e32=this[_0x4261a9(0x27e)][_0x4261a9(0x232)](this[_0x4261a9(0x399)]))==null?void 0x0:_0x1e3e32['getSheetBySheetId'](_0x3951ea))==null?void 0x0:_0x1ecb3f[_0x4261a9(0x18b)]();return(_0x179b01==null?void 0x0:_0x179b01[_0x4261a9(0x205)](_0x5ae514=>_0x10bc43[_0x4261a9(0x2a2)][_0x4261a9(0x141)](_0x5ae514,_0x1f80af)))||_0x1f80af;}[_0x5844b3(0x24b)](){const _0x264b8f=_0x5844b3,_0x30bbf6=new _0x10bc43[(_0x264b8f(0x333))](),_0x3a17f1=_0x3e1e09(),_0x2f3801=()=>{const _0xbd0696=_0x264b8f;_0x30bbf6[_0xbd0696(0x293)]();const _0x389dde=(_0x28c817,_0x7024c,_0x189bfd,_0x5ce5b7)=>{const _0x4f5060=_0xbd0696;let _0x63c954=[];switch(_0x28c817['id']){case _0x35cb04[_0x4f5060(0x35a)][_0x4f5060(0x36c)]:{_0x63c954=_0x35cb04[_0x4f5060(0x3b6)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04['EffectRefRangId'][_0x4f5060(0x35e)]:{_0x63c954=_0x35cb04[_0x4f5060(0x315)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04[_0x4f5060(0x35a)][_0x4f5060(0x3c1)]:{_0x63c954=_0x35cb04[_0x4f5060(0x2c0)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04[_0x4f5060(0x35a)]['InsertRangeMoveDownCommandId']:{_0x63c954=_0x35cb04[_0x4f5060(0x2ef)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04[_0x4f5060(0x35a)][_0x4f5060(0x367)]:{_0x63c954=_0x35cb04[_0x4f5060(0x2bb)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04[_0x4f5060(0x35a)][_0x4f5060(0x3a3)]:{_0x63c954=_0x35cb04[_0x4f5060(0x167)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04[_0x4f5060(0x35a)][_0x4f5060(0x393)]:{_0x63c954=_0x35cb04[_0x4f5060(0x300)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04['EffectRefRangId'][_0x4f5060(0x33d)]:{_0x63c954=_0x35cb04[_0x4f5060(0x184)](_0x28c817,_0x5ce5b7);break;}case _0x35cb04['EffectRefRangId'][_0x4f5060(0x261)]:{_0x63c954=_0x35cb04[_0x4f5060(0x2e6)](_0x28c817,_0x5ce5b7);break;}}const _0x2335dd=_0x35cb04[_0x4f5060(0x31e)](_0x63c954,_0x5ce5b7),_0x21d0c4=this[_0x4f5060(0x1e1)][_0x4f5060(0x37c)](_0x7024c);if(_0x21d0c4&&_0x2335dd){const _0x3b8739={..._0x21d0c4,'range':_0x2335dd};this[_0x4f5060(0x1e1)][_0x4f5060(0x16a)](_0x7024c,_0x3b8739),_0x3a17f1(()=>{const _0x3fb4ca=_0x4f5060,_0x438310=this[_0x3fb4ca(0x163)][_0x3fb4ca(0x2d3)](_0x2335dd,_0x1701cd=>(_0x438310['dispose'](),_0x389dde(_0x1701cd,_0x7024c,_0x189bfd,_0x2335dd)));_0x30bbf6[_0x3fb4ca(0x169)](_0x438310);});}return{'redos':[],'undos':[]};};this[_0xbd0696(0x1e1)]['forEach']((_0x132fdf,_0x87403c)=>{const _0x361d8f=_0xbd0696,{range:_0x5bb2fc,sheetID:_0x17fc55}=_0x132fdf,_0x5d7d01=this['_refRangeService']['registerRefRange'](_0x5bb2fc,_0x7d68d9=>(_0x5d7d01[_0x361d8f(0x293)](),_0x389dde(_0x7d68d9,_0x87403c,_0x17fc55,_0x5bb2fc)));_0x30bbf6[_0x361d8f(0x169)](_0x5d7d01);});};this['disposeWithMe'](_0x10bc43[_0x264b8f(0x2e2)](this['_cursorInfo$']['subscribe'](()=>{_0x2f3801();})));}[_0x5844b3(0x2b3)](){const _0x833127=_0x5844b3;var _0x3d1591,_0xf8d5f0;if(this['_online']=!0x0,((_0x3d1591=this[_0x833127(0x27e)][_0x833127(0x3b5)]())==null?void 0x0:_0x3d1591[_0x833127(0x36b)]())!==this['unitID'])return;const _0x39067c=(_0xf8d5f0=this['_injector'][_0x833127(0x37c)](_0x35cb04[_0x833127(0x2ea)])['getCurrentSelections']())==null?void 0x0:_0xf8d5f0[0x0],_0x2fa7d0=this['_univerInstanceService'][_0x833127(0x290)](_0x10bc43[_0x833127(0x247)]['UNIVER_SHEET'])[_0x833127(0x1f5)]();_0x39067c&&_0x2fa7d0&&this[_0x833127(0x308)](_0x2fa7d0['getSheetId'](),_0x39067c);}[_0x5844b3(0x336)](){const _0x3bb68a=_0x5844b3;this[_0x3bb68a(0x191)]=!0x1;}};_0x122a92=_0x1ae12e([_0x5eda28(0x2,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x5eda28(0x3,_0x10bc43['Inject'](_0x467bc7)),_0x5eda28(0x4,_0x10bc43['Inject'](_0x49c0aa['MemberService'])),_0x5eda28(0x5,_0x10bc43[_0x5844b3(0x349)]),_0x5eda28(0x6,_0x10bc43[_0x5844b3(0x274)]),_0x5eda28(0x7,_0x10bc43['Inject'](_0x35cb04[_0x5844b3(0x28c)]))],_0x122a92);var _0x59ce8f=Object[_0x5844b3(0x21a)],_0x267c98=(_0x576d2c,_0x205e20,_0x5687dc,_0x372fec)=>{const _0x45a419=_0x5844b3;for(var _0x1dcc70=_0x372fec>0x1?void 0x0:_0x372fec?_0x59ce8f(_0x205e20,_0x5687dc):_0x205e20,_0xe3b21=_0x576d2c[_0x45a419(0x259)]-0x1,_0x2f1b9f;_0xe3b21>=0x0;_0xe3b21--)(_0x2f1b9f=_0x576d2c[_0xe3b21])&&(_0x1dcc70=_0x2f1b9f(_0x1dcc70)||_0x1dcc70);return _0x1dcc70;},_0x38ec60=(_0x2b1aba,_0x83b282)=>(_0x92406c,_0x15118c)=>_0x83b282(_0x92406c,_0x15118c,_0x2b1aba);let _0x572a17=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x307890,_0x141be6,_0x444f4a){const _0x1430e9=_0x5844b3;super(),_0x1e2e9a(this,_0x1430e9(0x193),new Map()),_0x1e2e9a(this,_0x1430e9(0x14e),new _0x1fa918[(_0x1430e9(0x279))]()),(this[_0x1430e9(0x27e)]=_0x307890,this[_0x1430e9(0x28f)]=_0x141be6,this[_0x1430e9(0x13d)]=_0x444f4a,this['_init']());}[_0x5844b3(0x293)](){const _0x2b888c=_0x5844b3;super[_0x2b888c(0x293)](),this[_0x2b888c(0x14e)][_0x2b888c(0x1c7)](),this['_entities'][_0x2b888c(0x21c)](_0x59a279=>_0x59a279[_0x2b888c(0x293)]());}[_0x5844b3(0x198)](_0x94e77f){const _0xbb508a=_0x5844b3;return this[_0xbb508a(0x193)]['has'](_0x94e77f)?this[_0xbb508a(0x193)]['get'](_0x94e77f)[_0xbb508a(0x28a)]:this[_0xbb508a(0x14e)][_0xbb508a(0x25b)](_0x1fa918[_0xbb508a(0x263)](_0x2ce85e=>_0x2ce85e[_0xbb508a(0x399)]===_0x94e77f),_0x1fa918[_0xbb508a(0x1ab)](_0x442e33=>_0x442e33[_0xbb508a(0x28a)]));}[_0x5844b3(0x212)](){const _0x1eee15=_0x5844b3;this[_0x1eee15(0x27e)]['getTypeOfUnitAdded$'](_0x10bc43['UniverInstanceType'][_0x1eee15(0x153)])['pipe'](_0x1fa918[_0x1eee15(0x280)](this[_0x1eee15(0x175)]))['subscribe'](async _0x172a72=>{const _0x4a5f1c=_0x1eee15,_0x398751=_0x172a72['getUnitId'](),_0x62ce85=await this[_0x4a5f1c(0x3c8)](_0x398751);this[_0x4a5f1c(0x14e)][_0x4a5f1c(0x3d7)](_0x62ce85),this['_entities'][_0x4a5f1c(0x16a)](_0x398751,_0x62ce85);}),this[_0x1eee15(0x27e)]['getTypeOfUnitAdded$'](_0x10bc43[_0x1eee15(0x247)][_0x1eee15(0x3a1)])[_0x1eee15(0x25b)](_0x1fa918[_0x1eee15(0x280)](this[_0x1eee15(0x175)]))[_0x1eee15(0x25b)](_0x1fa918['filter'](_0x393780=>!_0x393780[_0x1eee15(0x36b)]()[_0x1eee15(0x1e7)]('__')))[_0x1eee15(0x2d7)](async _0x464422=>{const _0xca6614=_0x1eee15,_0x4d6485=_0x464422[_0xca6614(0x36b)](),_0x3e458a=await this['_startDocCollabCursor'](_0x4d6485);this['_entityInit$'][_0xca6614(0x3d7)](_0x3e458a),this['_entities'][_0xca6614(0x16a)](_0x4d6485,_0x3e458a);}),_0x1fa918[_0x1eee15(0x258)](this[_0x1eee15(0x27e)][_0x1eee15(0x307)](_0x10bc43['UniverInstanceType']['UNIVER_DOC']),this[_0x1eee15(0x27e)][_0x1eee15(0x307)](_0x10bc43['UniverInstanceType'][_0x1eee15(0x153)]))[_0x1eee15(0x25b)](_0x1fa918[_0x1eee15(0x280)](this[_0x1eee15(0x175)]))['subscribe'](_0x48fe6d=>{const _0x5ee680=_0x1eee15,_0x2f11c6=_0x48fe6d['getUnitId'](),_0x45b881=this[_0x5ee680(0x193)][_0x5ee680(0x37c)](_0x2f11c6);_0x45b881&&(_0x45b881['dispose'](),this[_0x5ee680(0x193)]['delete'](_0x2f11c6));});}async[_0x5844b3(0x3c8)](_0x3bee81){const _0x5724b1=_0x5844b3,_0x4dee50=await this['_collabSessionService']['requireSession'](_0x3bee81),_0x468523=this[_0x5724b1(0x28f)][_0x5724b1(0x377)](_0x122a92,_0x3bee81,_0x4dee50);return _0x468523[_0x5724b1(0x185)](),_0x468523;}async[_0x5844b3(0x286)](_0x163651){const _0x38d7b2=_0x5844b3,_0x3545f4=await this[_0x38d7b2(0x13d)][_0x38d7b2(0x2b9)](_0x163651),_0x3a464b=this[_0x38d7b2(0x28f)][_0x38d7b2(0x377)](_0x27b90f,_0x163651,_0x3545f4);return _0x3a464b['init'](),_0x3a464b;}};_0x572a17=_0x267c98([_0x38ec60(0x0,_0x10bc43[_0x5844b3(0x349)]),_0x38ec60(0x1,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x38ec60(0x2,_0x10bc43['Inject'](_0x49c0aa[_0x5844b3(0x313)]))],_0x572a17);const _0x44387b=0x14,_0xad6496=0xc8,_0x320e7d=0x4,_0x330115=0x5;function _0x5de8d4(_0x47102f,_0x549325){const _0x3474e3=_0x5844b3;let {radius:_0x594b93,width:_0x3de736,height:_0x178149}=_0x549325;_0x594b93=_0x594b93!=null?_0x594b93:0x0,_0x3de736=_0x3de736!=null?_0x3de736:0x1e,_0x178149=_0x178149!=null?_0x178149:0x1e;let _0x44ccea=0x0,_0x223efb=0x0,_0x2b2582=0x0;_0x44ccea=_0x223efb=_0x2b2582=Math['min'](_0x594b93,_0x3de736/0x2,_0x178149/0x2),_0x47102f[_0x3474e3(0x304)](),_0x47102f['moveTo'](_0x44ccea,0x0),_0x47102f[_0x3474e3(0x2d9)](_0x3de736-_0x223efb,0x0),_0x47102f[_0x3474e3(0x159)](_0x3de736-_0x223efb,_0x223efb,_0x223efb,Math['PI']*0x3/0x2,0x0,!0x1),_0x47102f[_0x3474e3(0x2d9)](_0x3de736,_0x178149-_0x2b2582),_0x47102f[_0x3474e3(0x159)](_0x3de736-_0x2b2582,_0x178149-_0x2b2582,_0x2b2582,0x0,Math['PI']/0x2,!0x1),_0x47102f[_0x3474e3(0x2d9)](0x0,_0x178149),_0x47102f[_0x3474e3(0x2d9)](0x0,_0x44ccea),_0x47102f[_0x3474e3(0x159)](_0x44ccea,_0x44ccea,_0x44ccea,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47102f[_0x3474e3(0x3a0)](),_0x549325['fill']&&(_0x47102f[_0x3474e3(0x36d)](),_0x47102f[_0x3474e3(0x362)]=_0x549325[_0x3474e3(0x1a3)],_0x549325[_0x3474e3(0x1d4)]===_0x3474e3(0x374)?_0x47102f[_0x3474e3(0x1a3)](_0x3474e3(0x374)):_0x47102f[_0x3474e3(0x1a3)](),_0x47102f[_0x3474e3(0x34a)]());}class _0x3238ac extends _0x2f8a25['Shape']{constructor(_0x32de53,_0x4e2e3a){const _0x4015c0=_0x5844b3;super(_0x32de53,_0x4e2e3a),_0x1e2e9a(this,_0x4015c0(0x25c)),_0x1e2e9a(this,_0x4015c0(0x249)),(this[_0x4015c0(0x25c)]=_0x4e2e3a==null?void 0x0:_0x4e2e3a[_0x4015c0(0x25c)],this[_0x4015c0(0x249)]=_0x4e2e3a==null?void 0x0:_0x4e2e3a[_0x4015c0(0x249)]);}static[_0x5844b3(0x1a6)](_0x287287,_0x406884){const _0x2e4697=_0x5844b3,{text:_0x31cc9b,color:_0x5aea4b}=_0x406884;_0x287287[_0x2e4697(0x36d)](),_0x287287[_0x2e4697(0x24f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2c6d4d=_0x287287[_0x2e4697(0x3b1)](_0x31cc9b)[_0x2e4697(0x32e)],_0x544f27=Math[_0x2e4697(0x190)](_0x2c6d4d+0x2*_0x320e7d,_0xad6496);_0x5de8d4(_0x287287,{'height':_0x44387b,'radius':0x4,'width':_0x544f27,'fill':_0x5aea4b}),_0x287287[_0x2e4697(0x362)]=_0x2e4697(0x223);const _0x46c9fb=_0x320e7d,_0xd210ad=_0x44387b-_0x330115,_0x2add4c=_0xad6496-0x2*_0x320e7d;if(_0x2c6d4d>_0x2add4c){let _0x3b1ef1='',_0x477e96=0x0;for(const _0x57ff3a of _0x31cc9b){const _0x28ac25=_0x287287['measureText'](_0x57ff3a)['width'];if(_0x477e96+_0x28ac25<=_0x2add4c-_0x287287['measureText'](_0x2e4697(0x1e3))[_0x2e4697(0x32e)])_0x3b1ef1+=_0x57ff3a,_0x477e96+=_0x28ac25;else{_0x3b1ef1+='...';break;}}_0x287287[_0x2e4697(0x366)](_0x3b1ef1,_0x46c9fb,_0xd210ad);}else _0x287287['fillText'](_0x31cc9b,_0x46c9fb,_0xd210ad);_0x287287['restore']();}[_0x5844b3(0x385)](_0x50d9d0){const _0x351ac1=_0x5844b3;_0x3238ac[_0x351ac1(0x1a6)](_0x50d9d0,this);}}const _0xc4ac41=_0x5844b3(0x2d6),_0x5ffeaa=_0x5844b3(0x24c),_0x15017d=_0x5844b3(0x327),_0x382616=0x6,_0x21fffb=1.5,_0x3d28fa=0x4,_0xc58357=1.5,_0x386813=_0x5844b3(0x33e);class _0x4bedf3{constructor(_0x348dc2,_0x1e7c0a,_0x1f47bb,_0xb442d6){const _0x4b54fc=_0x5844b3;_0x1e2e9a(this,_0x4b54fc(0x2f4),[]),_0x1e2e9a(this,'_anchor',null),_0x1e2e9a(this,_0x4b54fc(0x181),null),_0x1e2e9a(this,_0x4b54fc(0x157),null),_0x1e2e9a(this,_0x4b54fc(0x228),null),_0x1e2e9a(this,'_eventUnsubscribe',null),(this[_0x4b54fc(0x152)]=_0x348dc2,this[_0x4b54fc(0x35b)]=_0x1e7c0a,this[_0x4b54fc(0x2cc)]=_0x1f47bb,this['_document']=_0xb442d6,this['_render']());}set[_0x5844b3(0x372)](_0x38bc06){const _0x4f6889=_0x5844b3;_0x38bc06?(this[_0x4f6889(0x157)]&&this[_0x4f6889(0x157)][_0x4f6889(0x2df)](),this[_0x4f6889(0x181)]&&this[_0x4f6889(0x181)][_0x4f6889(0x3c2)]()):(this[_0x4f6889(0x157)]&&this[_0x4f6889(0x157)]['show'](),this[_0x4f6889(0x181)]&&this[_0x4f6889(0x181)]['hide']());}['dispose'](){const _0x4af665=_0x5844b3;for(const _0x50fd6d of this[_0x4af665(0x2f4)])_0x50fd6d[_0x4af665(0x293)]();this[_0x4af665(0x181)]&&this[_0x4af665(0x181)][_0x4af665(0x293)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x4af665(0x27c)]&&this[_0x4af665(0x27c)][_0x4af665(0x293)](),this[_0x4af665(0x29d)]&&this['_eventUnsubscribe']();}['_render'](){const _0x544704=_0x5844b3;var _0x4fa842;const {_docSkeleton:_0x1410d7,_document:_0x4025c8}=this,{color:_0x4c5694,name:_0xff5210,ranges:_0x5bc9b6}=this[_0x544704(0x152)],_0x451ff2=_0x4025c8[_0x544704(0x156)](),{docsLeft:_0x38fa6c,docsTop:_0x592cf4}=_0x451ff2,_0xba223e=new _0x3b663b[(_0x544704(0x257))](_0x451ff2,_0x1410d7);for(const {startOffset:_0xffeb2f,endOffset:_0x2b3066,rangeType:_0x1dd4f8,segmentId:_0x5a5af5,segmentPage:_0x4227da,collapsed:_0x1f2dc2,isActive:_0x18edff}of _0x5bc9b6){const _0x1918a8=_0x1410d7['findNodePositionByCharIndex'](_0xffeb2f,!0x0,_0x5a5af5,_0x4227da);let _0x5a6cb5=_0x1410d7[_0x544704(0x3be)](_0x2b3066,!0x0,_0x5a5af5,_0x4227da);if(_0x5a6cb5==null&&(_0x5a6cb5=_0x1410d7['findNodePositionByCharIndex'](_0x2b3066-0x1,!0x1,_0x5a5af5,_0x4227da)),_0x18edff){const {contentBoxPointGroup:_0x200f9c}=_0xba223e[_0x544704(0x14d)](_0x5a6cb5,_0x5a6cb5);if(_0x200f9c[_0x544704(0x259)]===0x0)continue;this[_0x544704(0x158)](_0x4c5694,_0x200f9c,_0x38fa6c,_0x592cf4,_0xff5210),this['_eventUnsubscribe']=this[_0x544704(0x265)]();}if(_0x1918a8&&_0x5a6cb5){if(_0x1dd4f8===_0x10bc43[_0x544704(0x389)][_0x544704(0x240)]){const _0x3f2163=new _0x3b663b[(_0x544704(0x17d))](_0x451ff2,_0x1410d7),{pointGroup:_0x21ff3b}=(_0x4fa842=_0x3f2163[_0x544704(0x14d)](_0x1918a8,_0x5a6cb5))!=null?_0x4fa842:{};if(_0x21ff3b==null||_0x21ff3b[_0x544704(0x259)]===0x0)continue;this[_0x544704(0x2b7)](_0x4c5694,_0x21ff3b,_0x38fa6c,_0x592cf4);}else{if(!_0x1f2dc2){const {borderBoxPointGroup:_0x3e96ae}=_0xba223e['getRangePointData'](_0x1918a8,_0x5a6cb5);if(_0x3e96ae[_0x544704(0x259)]===0x0)continue;this[_0x544704(0x30e)](_0x4c5694,_0x3e96ae,_0x38fa6c,_0x592cf4);}}}}}[_0x5844b3(0x158)](_0x174b67,_0x279521,_0xa716e6,_0x195fd0,_0x4e74b6){const _0x156a2d=_0x5844b3,_0x295da8=this[_0x156a2d(0x15d)](_0x279521),{left:_0x5b6246,top:_0x354bde,height:_0x40d554}=_0x295da8,_0x1addfa=this[_0x156a2d(0x3ca)](),_0x76080a=_0xc58357/_0x1addfa,_0x302ff4=new _0x2f8a25[(_0x156a2d(0x1e0))](_0xc4ac41+_0x10bc43[_0x156a2d(0x19c)](_0x382616),{'left':_0x5b6246+_0xa716e6-_0x76080a,'top':_0x354bde+_0x195fd0,'height':_0x40d554,'width':_0x21fffb,'fill':_0x174b67||_0x2f8a25[_0x156a2d(0x241)](_0x10bc43['COLORS'][_0x156a2d(0x18a)],0x0),'strokeWidth':_0x76080a,'stroke':_0x386813,'evented':!0x0});this[_0x156a2d(0x27c)]=_0x302ff4,this[_0x156a2d(0x35b)][_0x156a2d(0x2d2)](_0x302ff4,_0x3b663b[_0x156a2d(0x17a)]);const _0x36b847=new _0x2f8a25['Rect'](_0xc4ac41+_0x10bc43[_0x156a2d(0x19c)](_0x382616),{'left':_0x5b6246+_0xa716e6-_0x76080a,'top':_0x354bde+_0x195fd0-_0x3d28fa/0x2,'height':_0x3d28fa,'width':_0x3d28fa,'fill':_0x174b67||_0x2f8a25['getColor'](_0x10bc43[_0x156a2d(0x1cb)][_0x156a2d(0x18a)],0x0),'strokeWidth':0x0,'stroke':_0x174b67||_0x2f8a25['getColor'](_0x10bc43[_0x156a2d(0x1cb)][_0x156a2d(0x18a)],0x0),'evented':!0x1});this[_0x156a2d(0x157)]=_0x36b847,this[_0x156a2d(0x35b)][_0x156a2d(0x2d2)](_0x36b847,_0x3b663b[_0x156a2d(0x17a)]);const _0x272ef4=new _0x3238ac(_0xc4ac41+_0x10bc43[_0x156a2d(0x19c)](_0x382616),{'left':_0x5b6246+_0xa716e6-_0x76080a,'top':_0x354bde+_0x195fd0-_0x44387b,'text':_0x4e74b6,'color':_0x174b67});this[_0x156a2d(0x181)]=_0x272ef4,this[_0x156a2d(0x35b)][_0x156a2d(0x2d2)](_0x272ef4,_0x3b663b[_0x156a2d(0x17a)]),this[_0x156a2d(0x372)]=!0x1;}[_0x5844b3(0x265)](){const _0x4d88ea=_0x5844b3,_0xcf54a0=this['_anchor'][_0x4d88ea(0x25d)][_0x4d88ea(0x1a1)](()=>{const _0x2dfa47=_0x4d88ea;this[_0x2dfa47(0x372)]=!0x0;}),_0x17d2ad=this[_0x4d88ea(0x27c)][_0x4d88ea(0x22c)][_0x4d88ea(0x1a1)](()=>{const _0x5330d8=_0x4d88ea;this['_hideTimer']&&clearTimeout(this[_0x5330d8(0x228)]),this[_0x5330d8(0x228)]=setTimeout(()=>{const _0x51264d=_0x5330d8;this[_0x51264d(0x372)]=!0x1;},0x7d0);});return()=>{const _0x46ba54=_0x4d88ea;_0xcf54a0[_0x46ba54(0x1d0)](),_0x17d2ad[_0x46ba54(0x1d0)]();};}[_0x5844b3(0x30e)](_0x4e6973,_0x5d8493,_0x49e3a1,_0x53fbf7){const _0x5c6029=_0x5844b3,_0x4fcc45=new _0x10bc43['ColorKit'](_0x4e6973)['setAlpha'](0.2)[_0x5c6029(0x2c3)](),_0x2ec369=new _0x2f8a25['RegularPolygon'](_0x5ffeaa+_0x10bc43[_0x5c6029(0x19c)](_0x382616),{'pointsGroup':_0x5d8493,'fill':_0x4fcc45||_0x2f8a25[_0x5c6029(0x241)](_0x10bc43[_0x5c6029(0x1cb)][_0x5c6029(0x18a)],0.2),'left':_0x49e3a1,'top':_0x53fbf7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5c6029(0x2f4)][_0x5c6029(0x1b9)](_0x2ec369),this[_0x5c6029(0x35b)][_0x5c6029(0x2d2)](_0x2ec369,_0x3b663b['TEXT_RANGE_LAYER_INDEX']);}[_0x5844b3(0x2b7)](_0x1b9326,_0x2fc527,_0x59050f,_0x23a337){const _0x5a5a95=_0x5844b3,_0x374e2c=new _0x10bc43[(_0x5a5a95(0x1d1))](_0x1b9326)[_0x5a5a95(0x2cf)](0.2)[_0x5a5a95(0x2c3)](),_0xc87b31=new _0x2f8a25['RegularPolygon'](_0x15017d+_0x10bc43[_0x5a5a95(0x19c)](_0x382616),{'pointsGroup':_0x2fc527,'fill':_0x374e2c||_0x2f8a25['getColor'](_0x10bc43[_0x5a5a95(0x1cb)][_0x5a5a95(0x18a)],0.2),'left':_0x59050f,'top':_0x23a337,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a5a95(0x2f4)]['push'](_0xc87b31),this[_0x5a5a95(0x35b)][_0x5a5a95(0x2d2)](_0xc87b31,_0x3b663b[_0x5a5a95(0x17a)]);}[_0x5844b3(0x15d)](_0x5a29af){const _0x429d8b=_0x5a29af[0x0],_0x415bb6=_0x429d8b[0x0],_0x3955a6=_0x429d8b[0x2],{x:_0x468638,y:_0x17d564}=_0x415bb6,{x:_0x4b3cbc,y:_0x23942f}=_0x3955a6;return{'left':_0x468638,'top':_0x17d564,'width':_0x4b3cbc-_0x468638,'height':_0x23942f-_0x17d564};}['_getScale'](){const _0xbff481=_0x5844b3,{scaleX:_0x35ec5d,scaleY:_0x4ed943}=this[_0xbff481(0x35b)]['getAncestorScale']();return Math['max'](_0x35ec5d,_0x4ed943);}}var _0x1683f8=Object[_0x5844b3(0x21a)],_0x4627c2=(_0x32d9e0,_0x40818c,_0x4b0f2a,_0x415c0f)=>{for(var _0x3c050c=_0x415c0f>0x1?void 0x0:_0x415c0f?_0x1683f8(_0x40818c,_0x4b0f2a):_0x40818c,_0x4eb57c=_0x32d9e0['length']-0x1,_0x2c608a;_0x4eb57c>=0x0;_0x4eb57c--)(_0x2c608a=_0x32d9e0[_0x4eb57c])&&(_0x3c050c=_0x2c608a(_0x3c050c)||_0x3c050c);return _0x3c050c;},_0x14493e=(_0x222481,_0x55b3d8)=>(_0x20069a,_0x52c226)=>_0x55b3d8(_0x20069a,_0x52c226,_0x222481);let _0x1fb83c=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x47d63f,_0x5626d6,_0x453008,_0x339067,_0x2db480){const _0x21c812=_0x5844b3;super(),_0x1e2e9a(this,_0x21c812(0x3e0),[]),_0x1e2e9a(this,_0x21c812(0x15c),[]),(this[_0x21c812(0x216)]=_0x47d63f,this[_0x21c812(0x197)]=_0x5626d6,this[_0x21c812(0x273)]=_0x453008,this['_commandService']=_0x339067,this[_0x21c812(0x2be)]=_0x2db480,this[_0x21c812(0x212)]());}[_0x5844b3(0x212)](){const _0x419451=_0x5844b3,_0x23376b=this[_0x419451(0x216)][_0x419451(0x1fe)],_0x9d3a10=this[_0x419451(0x197)];this[_0x419451(0x397)](_0x1fa918[_0x419451(0x1ed)]([this[_0x419451(0x273)][_0x419451(0x198)](_0x23376b),this[_0x419451(0x2be)][_0x419451(0x174)]])['pipe'](_0x4241f0[_0x419451(0x299)](([_0x2d63ae,_0x311f81])=>({'skeleton':_0x9d3a10[_0x419451(0x142)](),'cursors':[..._0x2d63ae[_0x419451(0x319)]()][_0x419451(0x3cf)](_0x464864=>({..._0x464864,'color':this[_0x419451(0x2be)]['getColorFromTheme'](_0x464864[_0x419451(0x25c)])}))})))['subscribe'](_0x2d3707=>{const _0x3c6fd1=_0x419451;if(this[_0x3c6fd1(0x316)](),_0x2d3707){const {skeleton:_0x3fb7a5,cursors:_0x6c1ae5}=_0x2d3707;this[_0x3c6fd1(0x34f)](_0x3fb7a5,_0x6c1ae5);}})),this[_0x419451(0x329)](),this[_0x419451(0x2e7)]();}[_0x5844b3(0x34f)](_0xbb2915,_0x10edea){const _0x4a763d=_0x5844b3,{scene:_0x3beb8f,mainComponent:_0x4997ac}=this[_0x4a763d(0x216)],_0x24a276=_0x10edea[_0x4a763d(0x299)](_0x43a290=>new _0x4bedf3(_0x43a290,_0x3beb8f,_0xbb2915,_0x4997ac));this[_0x4a763d(0x3e0)]=_0x24a276,this['_cursors']=_0x10edea;}[_0x5844b3(0x21b)](){const _0x1a1aad=_0x5844b3;this['_removeCollabCursors']();const {scene:_0x23806b,mainComponent:_0x28a792}=this['_context'],_0x46a844=this[_0x1a1aad(0x197)][_0x1a1aad(0x142)](),_0xdf58d3=this[_0x1a1aad(0x15c)][_0x1a1aad(0x299)](_0x44ca6f=>new _0x4bedf3(_0x44ca6f,_0x23806b,_0x46a844,_0x28a792));this[_0x1a1aad(0x3e0)]=_0xdf58d3;}[_0x5844b3(0x316)](){const _0x3c4869=_0x5844b3;this[_0x3c4869(0x3e0)][_0x3c4869(0x21c)](_0x3b1aeb=>_0x3b1aeb[_0x3c4869(0x293)]()),this[_0x3c4869(0x3e0)]=[];}[_0x5844b3(0x2e7)](){const _0x4bce44=_0x5844b3,_0x1e0c05=[_0x3b663b[_0x4bce44(0x35c)]['id']];this[_0x4bce44(0x397)](this[_0x4bce44(0x330)][_0x4bce44(0x1a2)](_0x4b1093=>{const _0x5765dc=_0x4bce44;_0x1e0c05[_0x5765dc(0x2e1)](_0x4b1093['id'])&&_0x4b1093[_0x5765dc(0x359)][_0x5765dc(0x1fe)]===this['_context'][_0x5765dc(0x1fe)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4d8572=_0x5844b3;this[_0x4d8572(0x397)](_0x10bc43[_0x4d8572(0x350)](this[_0x4d8572(0x216)][_0x4d8572(0x23b)]['onTransformChange$'])['pipe'](_0x4241f0[_0x4d8572(0x263)](_0x2321e9=>_0x2321e9[_0x4d8572(0x1c4)]===_0x2f8a25['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x4241f0[_0x4d8572(0x22b)](0x10))['subscribe'](()=>{const _0x3db0e7=_0x4d8572;this[_0x3db0e7(0x21b)]();}));}};_0x1fb83c=_0x4627c2([_0x14493e(0x1,_0x10bc43[_0x5844b3(0x206)](_0x5dbb9f[_0x5844b3(0x301)])),_0x14493e(0x2,_0x10bc43[_0x5844b3(0x206)](_0x572a17)),_0x14493e(0x3,_0x10bc43[_0x5844b3(0x274)]),_0x14493e(0x4,_0x10bc43['Inject'](_0x10bc43[_0x5844b3(0x22f)]))],_0x1fb83c);const _0x29592d=0x1,_0x2a5539=1.5;class _0xb2fdd extends _0x2f8a25['Shape']{constructor(_0x10c444,_0x1fa050){const _0x3dd793=_0x5844b3;super(_0x10c444,_0x1fa050),_0x1e2e9a(this,_0x3dd793(0x1dc)),_0x1e2e9a(this,'_hovered',!0x1),_0x1e2e9a(this,_0x3dd793(0x2fc)),_0x1e2e9a(this,'_name',''),_0x1e2e9a(this,_0x3dd793(0x2c7),'top'),_0x1e2e9a(this,_0x3dd793(0x2da)),(_0x1fa050&&this[_0x3dd793(0x295)](_0x1fa050),this[_0x3dd793(0x25d)][_0x3dd793(0x1a1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3dd793(0x22c)]['subscribeEvent'](()=>this[_0x3dd793(0x295)]({'hovered':!0x1})));}[_0x5844b3(0x295)](_0xaea30f){const _0x2b67a7=_0x5844b3;var _0x4cb59a,_0x450805,_0x343f5b,_0x11d3d4,_0x191515,_0x25f3e2;this['_color']=(_0x4cb59a=_0xaea30f[_0x2b67a7(0x25c)])!=null?_0x4cb59a:this[_0x2b67a7(0x1dc)],this[_0x2b67a7(0x3a5)]=(_0x450805=_0xaea30f[_0x2b67a7(0x283)])!=null?_0x450805:this[_0x2b67a7(0x3a5)],this['_range']=(_0x343f5b=_0xaea30f[_0x2b67a7(0x35f)])!=null?_0x343f5b:this['_range'],this['_name']=(_0x11d3d4=_0xaea30f[_0x2b67a7(0x2e3)])!=null?_0x11d3d4:this[_0x2b67a7(0x297)],this[_0x2b67a7(0x2c7)]=(_0x191515=_0xaea30f[_0x2b67a7(0x219)])!=null?_0x191515:this['_labelPosition'],this[_0x2b67a7(0x2da)]=(_0x25f3e2=_0xaea30f[_0x2b67a7(0x1d3)])!=null?_0x25f3e2:this['_backgroundColor'],this[_0x2b67a7(0x2c9)]({'width':_0xaea30f['width'],'height':_0xaea30f[_0x2b67a7(0x2e4)]});}[_0x5844b3(0x27b)](_0x43685d){const _0x5778c9=_0x5844b3,{row:_0x1ee40d,column:_0x2df107}=_0x43685d;if(_0x1ee40d>=this['_range'][_0x5778c9(0x1f1)]&&_0x1ee40d<=this['_range'][_0x5778c9(0x231)]&&_0x2df107>=this['_range'][_0x5778c9(0x2bf)]&&_0x2df107<=this[_0x5778c9(0x2fc)][_0x5778c9(0x22e)]){this[_0x5778c9(0x295)]({'hovered':!0x0});return;}this[_0x5778c9(0x295)]({'hovered':!0x1});}['triggerDblclick'](_0x58f438){return!0x1;}[_0x5844b3(0x385)](_0x5f0023){const _0x207a3d=_0x5844b3;_0x2f8a25[_0x207a3d(0x1e0)][_0x207a3d(0x1a6)](_0x5f0023,{'width':this[_0x207a3d(0x32e)],'height':this[_0x207a3d(0x2e4)],'strokeWidth':_0x2a5539,'stroke':this[_0x207a3d(0x1dc)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x207a3d(0x3a5)]&&(_0x5f0023[_0x207a3d(0x36d)](),_0x5f0023[_0x207a3d(0x382)](0x1,0x0,0x0,0x1,this[_0x207a3d(0x32e)],this['_labelPosition']===_0x207a3d(0x147)?0x0:-0x14),_0x3238ac['drawWith'](_0x5f0023,{'text':this[_0x207a3d(0x297)],'color':this['_color']}),_0x5f0023['restore']());}}var _0x1ed28a=Object[_0x5844b3(0x21a)],_0x57887b=(_0x4bcab0,_0x591a8d,_0x963658,_0x10a953)=>{const _0x2c17b7=_0x5844b3;for(var _0x127c7d=_0x10a953>0x1?void 0x0:_0x10a953?_0x1ed28a(_0x591a8d,_0x963658):_0x591a8d,_0x3cd797=_0x4bcab0[_0x2c17b7(0x259)]-0x1,_0x6a9691;_0x3cd797>=0x0;_0x3cd797--)(_0x6a9691=_0x4bcab0[_0x3cd797])&&(_0x127c7d=_0x6a9691(_0x127c7d)||_0x127c7d);return _0x127c7d;},_0x2df615=(_0x35095a,_0x3d02b1)=>(_0x42c462,_0x334aba)=>_0x3d02b1(_0x42c462,_0x334aba,_0x35095a);const _0x5befd6=0x1389;let _0x44e6a7=class extends _0x10bc43['RxDisposable']{constructor(_0x3d3e6b,_0x191092,_0x2c15b2,_0x1a29b5){const _0x277e9e=_0x5844b3;super(),_0x1e2e9a(this,_0x277e9e(0x15c),new Set()),_0x1e2e9a(this,_0x277e9e(0x3c4),null),(this[_0x277e9e(0x216)]=_0x3d3e6b,this[_0x277e9e(0x168)]=_0x191092,this['_collabCursorController']=_0x2c15b2,this[_0x277e9e(0x2be)]=_0x1a29b5,this[_0x277e9e(0x212)]());}[_0x5844b3(0x212)](){const _0x1aeaa2=_0x5844b3;this[_0x1aeaa2(0x168)][_0x1aeaa2(0x1b5)]['pipe'](_0x4241f0[_0x1aeaa2(0x280)](this[_0x1aeaa2(0x175)]),_0x4241f0[_0x1aeaa2(0x1ab)](_0x474999=>{const _0x5c312b=_0x1aeaa2;if(_0x474999){const _0x3afce7=_0x474999[_0x5c312b(0x312)];return _0x1fa918[_0x5c312b(0x1ed)](this[_0x5c312b(0x273)]['getCollabCursors$'](this[_0x5c312b(0x216)]['unitId']),this['_themeService'][_0x5c312b(0x174)])[_0x5c312b(0x25b)](_0x4241f0[_0x5c312b(0x299)](([_0x3a1ffb,_0x25abc5])=>{const _0x2878c1=_0x5c312b,_0x97756e=new Map();return _0x3a1ffb[_0x2878c1(0x21c)]((_0x286e98,_0x5828cb)=>{const _0x103f9c=_0x2878c1;if(_0x286e98['sheetID']===_0x3afce7){const _0x2eb46e={..._0x286e98};_0x2eb46e[_0x103f9c(0x25c)]=this[_0x103f9c(0x2be)]['getColorFromTheme'](_0x286e98['color']),_0x97756e[_0x103f9c(0x16a)](_0x5828cb,_0x2eb46e);}}),{'skeleton':_0x474999,'cursors':_0x97756e};}));}return _0x1fa918['of']({'skeleton':null,'cursors':new Map()});}))[_0x1aeaa2(0x2d7)](({skeleton:_0xf7b44a,cursors:_0x3310f1})=>{const _0x4442c6=_0x1aeaa2;this['_removeCollabCursors'](),_0xf7b44a&&this[_0x4442c6(0x34f)](_0xf7b44a,_0x3310f1);}),this[_0x1aeaa2(0x168)][_0x1aeaa2(0x1b5)]['subscribe'](_0x302257=>{const _0xd885bf=_0x1aeaa2;if(_0x302257==null)return;const {skeleton:_0x3f31ea}=_0x302257,{scene:_0x9b5e58}=this[_0xd885bf(0x216)];_0x9b5e58['onPointerMove$'][_0xd885bf(0x1a1)](_0x10bc43[_0xd885bf(0x39a)](_0x49804e=>{const _0x31ae0e=_0xd885bf;var _0x540703,_0x19ee79;const {offsetX:_0x2f3b48,offsetY:_0x4e0b5a}=_0x49804e,{x:_0x395eb5,y:_0x448852}=_0x9b5e58[_0x31ae0e(0x328)](_0x2f8a25[_0x31ae0e(0x324)][_0x31ae0e(0x1b8)]([_0x2f3b48,_0x4e0b5a])),{scaleX:_0x4c9247,scaleY:_0x4cfa98}=_0x9b5e58['getAncestorScale'](),_0x458bff=_0x9b5e58[_0x31ae0e(0x27d)](_0x2f8a25[_0x31ae0e(0x38e)]['VIEW_MAIN']),_0x4ec3d5=_0x9b5e58[_0x31ae0e(0x2de)](_0x2f8a25['Vector2']['FromArray']([_0x395eb5,_0x448852]),_0x458bff),_0x49ea02=_0x3f31ea[_0x31ae0e(0x1db)](_0x2f3b48,_0x4e0b5a,_0x4c9247,_0x4cfa98,_0x4ec3d5);((_0x540703=this[_0x31ae0e(0x3c4)])==null?void 0x0:_0x540703[_0x31ae0e(0x39f)])===_0x49ea02['column']&&((_0x19ee79=this[_0x31ae0e(0x3c4)])==null?void 0x0:_0x19ee79[_0x31ae0e(0x2f0)])===_0x49ea02[_0x31ae0e(0x2f0)]||this[_0x31ae0e(0x15c)][_0x31ae0e(0x21c)](_0x55ffb9=>{const _0x221157=_0x31ae0e;_0x55ffb9[_0x221157(0x27b)](_0x49ea02);});},0x64));});}['_updateCollabCursors'](_0x3863dd,_0x183b64){const _0x2171d7=_0x5844b3;var _0x42cba7;const _0x4bf204=(_0x42cba7=this[_0x2171d7(0x168)][_0x2171d7(0x31d)]())==null?void 0x0:_0x42cba7['skeleton'];if(!_0x4bf204)return;const _0xca1d7f=this['_getSheetObject']();if(!_0xca1d7f)return;this[_0x2171d7(0x15c)]['forEach'](_0x4bfcb5=>{_0x4bfcb5['makeDirty']();});const {scene:_0x12b17d}=_0xca1d7f,_0x1e0a1c=_0x57d923(Array['from'](_0x183b64['values']()))['map'](_0x49bb8d=>{const _0x1dfa9a=_0x2171d7,{color:_0x41d71a,range:_0x15db63,name:_0x4b32fb,selection:_0x49de12,sheetID:_0x281a79}=_0x49bb8d,{startColumn:_0x575c6b,startRow:_0x220fd1,endColumn:_0x2ab889,endRow:_0x481535}=_0x15db63,_0x2ebecb=_0x151729[_0x1dfa9a(0x3d2)](_0x220fd1,_0x575c6b,_0x12b17d,_0x4bf204),_0x1a1de5=_0x151729[_0x1dfa9a(0x3d2)](_0x481535,_0x2ab889,_0x12b17d,_0x4bf204),{columnHeaderHeightAndMarginTop:_0x52bd12}=_0x4bf204,{startX:_0x527b12,startY:_0x461d96}=_0x2ebecb,{endX:_0x3c15bf,endY:_0xfa8616}=_0x1a1de5,_0x63a1c4=_0x3c15bf-_0x527b12,_0x25675f=_0xfa8616-_0x461d96,_0x47ccc9={'labelPosition':_0x461d96-_0x52bd12>=_0x44387b?_0x1dfa9a(0x32d):_0x1dfa9a(0x147),'sheetID':_0x281a79,'range':_0x15db63,'color':_0x41d71a,'name':_0x4b32fb,'selection':_0x49de12,'left':_0x527b12,'top':_0x461d96,'width':_0x63a1c4,'height':_0x25675f,'evented':!0x1,'zIndex':_0x5befd6};return new _0xb2fdd(_0x4b32fb,_0x47ccc9);});_0x12b17d[_0x2171d7(0x1b6)](_0x1e0a1c,_0x29592d),this[_0x2171d7(0x15c)]=new Set(_0x1e0a1c);}[_0x5844b3(0x316)](){const _0x537e23=_0x5844b3;var _0x16d41b;(_0x16d41b=this[_0x537e23(0x15c)])==null||_0x16d41b['forEach'](_0x3a812a=>_0x3a812a[_0x537e23(0x293)]());}['_getSheetObject'](){const _0x556f4b=_0x5844b3;return _0x151729[_0x556f4b(0x29b)](this[_0x556f4b(0x216)]['unit'],this[_0x556f4b(0x216)]);}};_0x44e6a7=_0x57887b([_0x2df615(0x1,_0x10bc43['Inject'](_0x151729[_0x5844b3(0x2dd)])),_0x2df615(0x2,_0x10bc43['Inject'](_0x572a17)),_0x2df615(0x3,_0x10bc43['Inject'](_0x10bc43['ThemeService']))],_0x44e6a7);function _0x57d923(_0x364ac6){const _0x4d68af=_0x5844b3,_0x36b97d=new Map();return _0x364ac6[_0x4d68af(0x21c)](_0x30dfbb=>{const _0x58d6b1=_0x4d68af;if(_0x36b97d[_0x58d6b1(0x16c)](_0x30dfbb[_0x58d6b1(0x3d3)])){const _0xc38305=_0x36b97d[_0x58d6b1(0x37c)](_0x30dfbb[_0x58d6b1(0x3d3)]);_0xc38305['name']+=',\x20'+_0x30dfbb[_0x58d6b1(0x2e3)];}else _0x36b97d[_0x58d6b1(0x16a)](_0x30dfbb[_0x58d6b1(0x3d3)],_0x30dfbb);}),Array['from'](_0x36b97d['values']());}var _0xdb1d5c=function(){const _0x13328d=_0x5844b3;return _0xdb1d5c=Object[_0x13328d(0x17c)]||function(_0xb393f9){const _0x3bd67b=_0x13328d;for(var _0x3e740c,_0xe79138=0x1,_0x5bd5a8=arguments[_0x3bd67b(0x259)];_0xe79138<_0x5bd5a8;_0xe79138++){_0x3e740c=arguments[_0xe79138];for(var _0x11d188 in _0x3e740c)Object['prototype'][_0x3bd67b(0x3b7)][_0x3bd67b(0x17f)](_0x3e740c,_0x11d188)&&(_0xb393f9[_0x11d188]=_0x3e740c[_0x11d188]);}return _0xb393f9;},_0xdb1d5c['apply'](this,arguments);},_0x32316c=function(_0xd3cdb5,_0x127f09){const _0x5601b5=_0x5844b3;var _0x3cdc1d={};for(var _0x394db2 in _0xd3cdb5)Object['prototype']['hasOwnProperty'][_0x5601b5(0x17f)](_0xd3cdb5,_0x394db2)&&_0x127f09[_0x5601b5(0x2b1)](_0x394db2)<0x0&&(_0x3cdc1d[_0x394db2]=_0xd3cdb5[_0x394db2]);if(_0xd3cdb5!=null&&typeof Object[_0x5601b5(0x239)]=='function'){for(var _0x53ff72=0x0,_0x394db2=Object['getOwnPropertySymbols'](_0xd3cdb5);_0x53ff72<_0x394db2[_0x5601b5(0x259)];_0x53ff72++)_0x127f09[_0x5601b5(0x2b1)](_0x394db2[_0x53ff72])<0x0&&Object[_0x5601b5(0x2cd)][_0x5601b5(0x3db)][_0x5601b5(0x17f)](_0xd3cdb5,_0x394db2[_0x53ff72])&&(_0x3cdc1d[_0x394db2[_0x53ff72]]=_0xd3cdb5[_0x394db2[_0x53ff72]]);}return _0x3cdc1d;},_0x258703=_0x244929[_0x5844b3(0x1f3)](function(_0x107780,_0x2e8f8b){const _0x3f4c4c=_0x5844b3;var _0x5842f3=_0x107780[_0x3f4c4c(0x3c6)],_0x4ecd83=_0x107780['id'],_0x97d53f=_0x107780[_0x3f4c4c(0x3c7)],_0xb95e4e=_0x107780['extend'],_0x27a0de=_0x32316c(_0x107780,[_0x3f4c4c(0x3c6),'id','className','extend']),_0x2cfcfc=_0x3f4c4c(0x1e8)['concat'](_0x4ecd83,'\x20')[_0x3f4c4c(0x320)](_0x97d53f||'')[_0x3f4c4c(0x19f)](),_0x186b5a=_0x244929['useRef']('_'['concat'](_0x93aa31()));return _0x391e8b(_0x5842f3,''[_0x3f4c4c(0x320)](_0x4ecd83),{'defIds':_0x5842f3[_0x3f4c4c(0x368)],'idSuffix':_0x186b5a[_0x3f4c4c(0x18d)]},_0xdb1d5c({'ref':_0x2e8f8b,'className':_0x2cfcfc},_0x27a0de),_0xb95e4e);});function _0x391e8b(_0x228dd4,_0x5111f1,_0x284247,_0x411efd,_0x180c4f){const _0x595dad=_0x5844b3;return _0x244929['createElement'](_0x228dd4[_0x595dad(0x2e8)],_0xdb1d5c(_0xdb1d5c({'key':_0x5111f1},_0x2c02a1(_0x228dd4,_0x284247,_0x180c4f)),_0x411efd),(_0x551a36(_0x228dd4,_0x284247)[_0x595dad(0x24d)]||[])[_0x595dad(0x299)](function(_0xd69106,_0x514937){const _0x28f6cc=_0x595dad;return _0x391e8b(_0xd69106,''[_0x28f6cc(0x320)](_0x5111f1,'-')[_0x28f6cc(0x320)](_0x228dd4[_0x28f6cc(0x2e8)],'-')[_0x28f6cc(0x320)](_0x514937),_0x284247,void 0x0,_0x180c4f);}));}function _0x2c02a1(_0x47b645,_0x56eba3,_0x3c6565){const _0xb6ca=_0x5844b3;var _0x192aec=_0xdb1d5c({},_0x47b645[_0xb6ca(0x14f)]);_0x3c6565!=null&&_0x3c6565['colorChannel1']&&_0x192aec[_0xb6ca(0x1a3)]==='colorChannel1'&&(_0x192aec[_0xb6ca(0x1a3)]=_0x3c6565['colorChannel1']),_0x47b645[_0xb6ca(0x2e8)]===_0xb6ca(0x287)&&_0x192aec['id']&&(_0x192aec['id']=_0x192aec['id']+_0x56eba3[_0xb6ca(0x37f)]),Object[_0xb6ca(0x1b2)](_0x192aec)[_0xb6ca(0x21c)](function(_0x46fd06){const _0x9471c9=_0xb6ca;var _0x55c754=_0x46fd06[0x0],_0x45af72=_0x46fd06[0x1];_0x55c754===_0x9471c9(0x287)&&typeof _0x45af72==_0x9471c9(0x144)&&(_0x192aec[_0x55c754]=_0x45af72[_0x9471c9(0x199)](/url\(#(.*)\)/,_0x9471c9(0x24e)[_0x9471c9(0x320)](_0x56eba3[_0x9471c9(0x37f)],')')));});var _0x42234c=_0x56eba3[_0xb6ca(0x368)];return!_0x42234c||_0x42234c[_0xb6ca(0x259)]===0x0||(_0x47b645[_0xb6ca(0x2e8)]==='use'&&_0x192aec[_0xb6ca(0x2b2)]&&(_0x192aec['xlink:href']=_0x192aec[_0xb6ca(0x2b2)]+_0x56eba3[_0xb6ca(0x37f)]),Object['entries'](_0x192aec)[_0xb6ca(0x21c)](function(_0x4a16a4){const _0x18187c=_0xb6ca;var _0xaac97d=_0x4a16a4[0x0],_0x1512bf=_0x4a16a4[0x1];typeof _0x1512bf==_0x18187c(0x144)&&(_0x192aec[_0xaac97d]=_0x1512bf[_0x18187c(0x199)](/url\(#(.*)\)/,_0x18187c(0x24e)['concat'](_0x56eba3[_0x18187c(0x37f)],')')));})),_0x192aec;}function _0x551a36(_0x5b4417,_0x2e9152){const _0x4fa31e=_0x5844b3;var _0x235358,_0x171071=_0x2e9152[_0x4fa31e(0x368)];return!_0x171071||_0x171071[_0x4fa31e(0x259)]===0x0?_0x5b4417:_0x5b4417[_0x4fa31e(0x2e8)]===_0x4fa31e(0x311)&&(!((_0x235358=_0x5b4417[_0x4fa31e(0x24d)])===null||_0x235358===void 0x0)&&_0x235358[_0x4fa31e(0x259)])?_0xdb1d5c(_0xdb1d5c({},_0x5b4417),{'children':_0x5b4417['children'][_0x4fa31e(0x299)](function(_0x3595a8){const _0x232970=_0x4fa31e;return typeof _0x3595a8[_0x232970(0x14f)]['id']=='string'&&_0x171071&&_0x171071[_0x232970(0x2e1)](_0x3595a8[_0x232970(0x14f)]['id'])?_0xdb1d5c(_0xdb1d5c({},_0x3595a8),{'attrs':_0xdb1d5c(_0xdb1d5c({},_0x3595a8[_0x232970(0x14f)]),{'id':_0x3595a8[_0x232970(0x14f)]['id']+_0x2e9152[_0x232970(0x37f)]})}):_0x3595a8;})}):_0x5b4417;}function _0x93aa31(){const _0x402b53=_0x5844b3;return Math['random']()[_0x402b53(0x255)](0x24)[_0x402b53(0x343)](0x2,0x8);}_0x258703[_0x5844b3(0x3a7)]=_0x5844b3(0x176);var _0x22178={'tag':_0x5844b3(0x2fd),'attrs':{'xmlns':_0x5844b3(0x37a),'fill':_0x5844b3(0x2e0),'viewBox':_0x5844b3(0x2f8),'width':_0x5844b3(0x342),'height':_0x5844b3(0x342)},'children':[{'tag':'g','attrs':{'clipPath':_0x5844b3(0x21f)},'children':[{'tag':_0x5844b3(0x294),'attrs':{'stroke':'currentColor','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':_0x5844b3(0x160),'strokeLinejoin':_0x5844b3(0x160),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5844b3(0x2fa)},'children':[{'tag':'path','attrs':{'fill':_0x5844b3(0x321),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5844b3(0x2fa)]},_0x1ce88f=_0x244929[_0x5844b3(0x1f3)](function(_0x4d1f69,_0x452d6c){const _0x19fcd7=_0x5844b3;return _0x244929[_0x19fcd7(0x1a7)](_0x258703,Object[_0x19fcd7(0x17c)]({},_0x4d1f69,{'id':_0x19fcd7(0x348),'ref':_0x452d6c,'icon':_0x22178}));});_0x1ce88f['displayName']=_0x5844b3(0x1ea);var _0x301183={'tag':'svg','attrs':{'xmlns':_0x5844b3(0x37a),'fill':_0x5844b3(0x2e0),'viewBox':_0x5844b3(0x248),'width':_0x5844b3(0x342),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5844b3(0x179)},'children':[{'tag':_0x5844b3(0x294),'attrs':{'stroke':_0x5844b3(0x1fb),'d':_0x5844b3(0x14b),'strokeLinecap':_0x5844b3(0x160),'strokeLinejoin':_0x5844b3(0x160),'strokeWidth':1.2}}]},{'tag':_0x5844b3(0x311),'attrs':{},'children':[{'tag':_0x5844b3(0x3bc),'attrs':{'id':_0x5844b3(0x1e4)},'children':[{'tag':_0x5844b3(0x294),'attrs':{'fill':_0x5844b3(0x321),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x5844b3(0x1e4)]},_0x429c34=_0x244929[_0x5844b3(0x1f3)](function(_0x270728,_0x17529e){const _0x168fd9=_0x5844b3;return _0x244929[_0x168fd9(0x1a7)](_0x258703,Object[_0x168fd9(0x17c)]({},_0x270728,{'id':_0x168fd9(0x194),'ref':_0x17529e,'icon':_0x301183}));});_0x429c34[_0x5844b3(0x3a7)]='OnLineIcon';function _0xc88938(_0x873054){const _0x5a74cf=_0x5844b3;switch(_0x873054){case _0x49c0aa['CollaborationStatus'][_0x5a74cf(0x1a8)]:return _0x5a74cf(0x35d);case _0x49c0aa[_0x5a74cf(0x20a)]['CONFLICT']:return _0x5a74cf(0x17b);case _0x49c0aa[_0x5a74cf(0x20a)]['FETCH_MISS']:return _0x5a74cf(0x284);case _0x49c0aa[_0x5a74cf(0x20a)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x49c0aa[_0x5a74cf(0x20a)][_0x5a74cf(0x172)]:case _0x49c0aa[_0x5a74cf(0x20a)][_0x5a74cf(0x2bd)]:return _0x5a74cf(0x2c8);case _0x49c0aa[_0x5a74cf(0x20a)][_0x5a74cf(0x334)]:case _0x49c0aa[_0x5a74cf(0x20a)][_0x5a74cf(0x1af)]:return _0x5a74cf(0x23e);}}function _0x1f8322(_0x24e668){const _0x2be911=_0x5844b3,{status$:_0xbc2e95}=_0x24e668,_0x2dd385=_0xec16ce[_0x2be911(0x3d5)](_0xbc2e95,_0x49c0aa[_0x2be911(0x20a)]['NOT_COLLAB']),_0x4f5c89=_0xec16ce['useDependency'](_0x10bc43[_0x2be911(0x1d8)]),_0x280f80=_0xec16ce[_0x2be911(0x26e)](_0x49c0aa[_0x2be911(0x313)]),_0x5d83b4=_0x2dd385!==_0x49c0aa[_0x2be911(0x20a)][_0x2be911(0x1a8)],_0x4b4dd=_0x4f5c89['t'](_0xc88938(_0x2dd385)),_0x8020be=_0x5d83b4?_0x4f3a1b['jsx'](_0x429c34,{}):_0x4f3a1b['jsx'](_0x1ce88f,{}),_0x20a7b8=_0x244929[_0x2be911(0x1aa)](()=>{const _0x410c42=_0x2be911;_0x5d83b4||_0x280f80[_0x410c42(0x2ed)]();},[_0x5d83b4,_0x280f80]);function _0xdb0df3(){const _0x19f5aa=_0x2be911;return _0x4f3a1b[_0x19f5aa(0x3c0)](_0x19f5aa(0x2fb),{'className':_0x19f5aa(0x38c),'onClick':_0x20a7b8,'children':[_0x4f3a1b[_0x19f5aa(0x355)](_0x19f5aa(0x2fb),{'className':_0x1848ff[_0x19f5aa(0x25a)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5d83b4,'univer-text-red-500':!_0x5d83b4}),'children':_0x8020be}),_0x4f3a1b[_0x19f5aa(0x355)]('div',{'className':_0x19f5aa(0x2f5),'children':_0x4b4dd})]});}return _0x5d83b4?_0xdb0df3():_0x4f3a1b['jsx'](_0x1848ff[_0x2be911(0x26d)],{'title':_0x4f5c89['t'](_0x2be911(0x1b3)),'children':_0xdb0df3()});}var _0x17a157=Object[_0x5844b3(0x21a)],_0x19e910=(_0xd363d,_0x467842,_0x22d3f2,_0x71f1ee)=>{for(var _0x50a993=_0x71f1ee>0x1?void 0x0:_0x71f1ee?_0x17a157(_0x467842,_0x22d3f2):_0x467842,_0x1cd36c=_0xd363d['length']-0x1,_0x45ba18;_0x1cd36c>=0x0;_0x1cd36c--)(_0x45ba18=_0xd363d[_0x1cd36c])&&(_0x50a993=_0x45ba18(_0x50a993)||_0x50a993);return _0x50a993;},_0x305611=(_0x5ad38c,_0x4c805e)=>(_0x342ee0,_0xbfcd11)=>_0x4c805e(_0x342ee0,_0xbfcd11,_0x5ad38c);_0x2166b9[_0x5844b3(0x2aa)]=class extends _0x10bc43[_0x5844b3(0x3bd)]{constructor(_0x3a63c0,_0x4fdfce,_0x4daf00,_0x14e3b7){const _0xa5686b=_0x5844b3;super(),_0x1e2e9a(this,_0xa5686b(0x1cc),new _0x1fa918['BehaviorSubject'](_0x49c0aa[_0xa5686b(0x20a)][_0xa5686b(0x256)])),(this[_0xa5686b(0x27e)]=_0x3a63c0,this[_0xa5686b(0x28f)]=_0x4fdfce,this[_0xa5686b(0x1ac)]=_0x4daf00,this['_uiPartsService']=_0x14e3b7,this[_0xa5686b(0x26a)](),this[_0xa5686b(0x3cd)]());}['_initStatusListener'](){const _0x3045d0=_0x5844b3;this['disposeWithMe'](this[_0x3045d0(0x27e)][_0x3045d0(0x2ba)][_0x3045d0(0x25b)](_0x1fa918[_0x3045d0(0x1ab)](()=>{const _0x76d786=_0x3045d0,_0x56e70b=this[_0x76d786(0x27e)][_0x76d786(0x3b5)]();return _0x56e70b?this[_0x76d786(0x1ac)][_0x76d786(0x318)](_0x56e70b[_0x76d786(0x36b)]()):_0x1fa918['of'](null);}),_0x1fa918[_0x3045d0(0x1ab)](_0x136d7a=>_0x136d7a?_0x136d7a[_0x3045d0(0x3aa)]:_0x1fa918['of'](_0x49c0aa[_0x3045d0(0x20a)][_0x3045d0(0x256)])))['subscribe'](_0x4482e5=>{const _0xd93ff1=_0x3045d0;this[_0xd93ff1(0x1cc)][_0xd93ff1(0x3d7)](_0x4482e5);}));}['_initStatusComponent'](){const _0x16501c=_0x5844b3;this['disposeWithMe'](this['_uiPartsService'][_0x16501c(0x182)](_0xec16ce['BuiltInUIPart']['HEADER_MENU'],()=>_0xec16ce[_0x16501c(0x1f2)](_0x2e05fa({'status$':this[_0x16501c(0x1cc)]['asObservable']()}),this[_0x16501c(0x28f)])));}},_0x2166b9[_0x5844b3(0x2aa)]=_0x19e910([_0x305611(0x0,_0x10bc43['IUniverInstanceService']),_0x305611(0x1,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x305611(0x2,_0x10bc43[_0x5844b3(0x206)](_0x49c0aa[_0x5844b3(0x3af)])),_0x305611(0x3,_0xec16ce[_0x5844b3(0x2c1)])],_0x2166b9[_0x5844b3(0x2aa)]);function _0x2e05fa(_0x2b84f4){const {status$:_0x51d97f}=_0x2b84f4;return function(){const _0x1bcc27=_0x5d7e;return _0x4f3a1b[_0x1bcc27(0x355)](_0x1f8322,{'status$':_0x51d97f});};}var _0x2b04a3=Object[_0x5844b3(0x21a)],_0x4f4445=(_0x57441b,_0x2977b5,_0x33c9a5,_0x168116)=>{const _0x331121=_0x5844b3;for(var _0xa6c05a=_0x168116>0x1?void 0x0:_0x168116?_0x2b04a3(_0x2977b5,_0x33c9a5):_0x2977b5,_0x4e18ba=_0x57441b[_0x331121(0x259)]-0x1,_0x2a0631;_0x4e18ba>=0x0;_0x4e18ba--)(_0x2a0631=_0x57441b[_0x4e18ba])&&(_0xa6c05a=_0x2a0631(_0xa6c05a)||_0xa6c05a);return _0xa6c05a;},_0x5d69a8=(_0x24d394,_0x26bc70)=>(_0x2474ec,_0xeaac8d)=>_0x26bc70(_0x2474ec,_0xeaac8d,_0x24d394);let _0x5c318e=class extends _0x10bc43['Disposable']{constructor(_0x658510,_0x493755,_0x4452e2,_0x2085d6,_0xbdd202,_0x5f432a){const _0x453ad9=_0x5844b3;super(),this[_0x453ad9(0x226)]=_0x658510,this[_0x453ad9(0x1a4)]=_0x493755,this['_collaborationUIEventService']=_0x4452e2,this[_0x453ad9(0x38a)]=_0x2085d6,this[_0x453ad9(0x3dc)]=_0xbdd202,this['_localeService']=_0x5f432a,this[_0x453ad9(0x39c)](),this[_0x453ad9(0x1bb)]();}['_setupBeforeClosingHandler'](){const _0x5d20c1=_0x5844b3;this[_0x5d20c1(0x397)](this[_0x5d20c1(0x226)]['registerBeforeClose'](()=>{const _0xc77f6b=_0x5d20c1;if(this[_0xc77f6b(0x1a4)]['saveTaskMap']['size'])return this[_0xc77f6b(0x361)]['t'](_0xc77f6b(0x235));}));}[_0x5844b3(0x1bb)](){const _0x28952d=_0x5844b3;this[_0x28952d(0x397)](this[_0x28952d(0x1d2)][_0x28952d(0x14a)][_0x28952d(0x2d7)](_0x2d2c4e=>{const _0x287601=_0x28952d;_0x2d2c4e['id']===_0x49c0aa[_0x287601(0x2d5)][_0x287601(0x1ef)]&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff['MessageType'][_0x287601(0x3a6)],'content':this[_0x287601(0x361)]['t'](_0x287601(0x143))}),_0x2d2c4e['id']===_0x49c0aa[_0x287601(0x2d5)][_0x287601(0x378)]&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff[_0x287601(0x262)][_0x287601(0x3a6)],'content':this[_0x287601(0x361)]['t']('collaboration.closeRoom')}),_0x2d2c4e['id']===_0x49c0aa['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x287601(0x3dc)][_0x287601(0x3c2)]({'title':this['_localeService']['t'](_0x287601(0x24a)),'content':this['_localeService']['t'](_0x287601(0x277)),'type':_0x287601(0x2c4),'duration':0x0}),_0x2d2c4e['id']===_0x49c0aa['CollaborationUIEventId'][_0x287601(0x345)]&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff['MessageType'][_0x287601(0x3b8)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2d2c4e[_0x287601(0x154)]+')'}),_0x2d2c4e['id']===_0x49c0aa[_0x287601(0x2d5)][_0x287601(0x166)]&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff['MessageType']['Warning'],'content':this[_0x287601(0x361)]['t'](_0x2d2c4e[_0x287601(0x154)]||'')}),_0x2d2c4e['id']===_0x49c0aa['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff[_0x287601(0x262)][_0x287601(0x3a6)],'content':this['_localeService']['t'](_0x287601(0x254))}),_0x2d2c4e['id']===_0x49c0aa['CollaborationUIEventId'][_0x287601(0x2ce)]&&this['_messageService'][_0x287601(0x3c2)]({'type':_0x1848ff['MessageType'][_0x287601(0x3b8)],'content':this[_0x287601(0x361)]['t'](_0x287601(0x36a))}),_0x2d2c4e['id']===_0x49c0aa['CollaborationUIEventId'][_0x287601(0x3bf)]&&this[_0x287601(0x38a)][_0x287601(0x3c2)]({'type':_0x1848ff[_0x287601(0x262)][_0x287601(0x3b8)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x5c318e=_0x4f4445([_0x5d69a8(0x0,_0xec16ce[_0x5844b3(0x3c3)]),_0x5d69a8(0x1,_0x49c0aa[_0x5844b3(0x2a0)]),_0x5d69a8(0x2,_0x10bc43[_0x5844b3(0x206)](_0x49c0aa[_0x5844b3(0x3df)])),_0x5d69a8(0x3,_0xec16ce['IMessageService']),_0x5d69a8(0x4,_0xec16ce[_0x5844b3(0x338)]),_0x5d69a8(0x5,_0x10bc43[_0x5844b3(0x206)](_0x10bc43['LocaleService']))],_0x5c318e);const _0x422c5e=_0x5844b3(0x296),_0x57ffe5={},_0x3792c2=_0x10bc43[_0x5844b3(0x244)]('uni.network.url-service');var _0x5b5ca8=Object[_0x5844b3(0x21a)],_0x130318=(_0x5798e6,_0x3bc7d5,_0x1c4924,_0x279697)=>{const _0xec45ef=_0x5844b3;for(var _0x1d43eb=_0x279697>0x1?void 0x0:_0x279697?_0x5b5ca8(_0x3bc7d5,_0x1c4924):_0x3bc7d5,_0x2043a2=_0x5798e6[_0xec45ef(0x259)]-0x1,_0x596a76;_0x2043a2>=0x0;_0x2043a2--)(_0x596a76=_0x5798e6[_0x2043a2])&&(_0x1d43eb=_0x596a76(_0x1d43eb)||_0x1d43eb);return _0x1d43eb;},_0x27a616=(_0x46e3fd,_0x50f224)=>(_0xe15808,_0x365c5e)=>_0x50f224(_0xe15808,_0x365c5e,_0x46e3fd);_0x2166b9['CollaborationDataLoaderController']=class extends _0x10bc43[_0x5844b3(0x204)]{constructor(_0x5cd2bb,_0x5c549f,_0x144336,_0x2233c8,_0x7815d2){const _0x591746=_0x5844b3;super(),this['_urlService']=_0x5cd2bb,this['_logService']=_0x5c549f,this[_0x591746(0x330)]=_0x144336,this[_0x591746(0x30f)]=_0x2233c8,_0x7815d2?_0x7815d2==null||_0x7815d2[_0x591746(0x3de)]()[_0x591746(0x30b)](()=>this[_0x591746(0x212)]()):(this[_0x591746(0x2a7)][_0x591746(0x3a4)](_0x591746(0x356),_0x591746(0x370)),this[_0x591746(0x212)]());}async[_0x5844b3(0x212)](){const _0x5f0d80=_0x5844b3,_0x48daa8=this[_0x5f0d80(0x1cf)]['getParam']('unit'),_0x63c210=this[_0x5f0d80(0x1cf)]['getParam'](_0x5f0d80(0x1c4)),_0x11bb9b=this[_0x5f0d80(0x1cf)][_0x5f0d80(0x289)]('subunit');if(!_0x48daa8||!_0x63c210){this[_0x5f0d80(0x2a7)][_0x5f0d80(0x3a4)]('[CollaborationDataLoaderController]',_0x5f0d80(0x23d));return;}const _0x3bdbc7=await this['_dataLoaderService'][_0x5f0d80(0x1a0)](_0x48daa8,Number(_0x63c210),_0x11bb9b);_0x3bdbc7&&_0x3bdbc7 instanceof _0x10bc43[_0x5f0d80(0x37d)]&&this[_0x5f0d80(0x353)](_0x3bdbc7);}async[_0x5844b3(0x353)](_0x59c2fc){const _0x43dd7f=_0x5844b3;await this['_updateSubUnitFromURLParams'](_0x59c2fc),_0x59c2fc[_0x43dd7f(0x2d8)]['pipe'](_0x1fa918[_0x43dd7f(0x280)](this[_0x43dd7f(0x175)]))[_0x43dd7f(0x2d7)](_0x1ca72a=>{const _0x252167=_0x43dd7f;_0x1ca72a&&this[_0x252167(0x391)](_0x1ca72a);}),this[_0x43dd7f(0x1cf)][_0x43dd7f(0x34c)][_0x43dd7f(0x25b)](_0x1fa918[_0x43dd7f(0x280)](this[_0x43dd7f(0x175)]))[_0x43dd7f(0x2d7)](()=>this['_updateSubUnitFromURLParams'](_0x59c2fc));}['_updateURLWithCurrentState'](_0x22c2c1,_0x4ea98e=!0x1){const _0x21bd54=_0x5844b3,_0x315505=this[_0x21bd54(0x1cf)][_0x21bd54(0x289)](_0x21bd54(0x346));_0x22c2c1[_0x21bd54(0x32c)]()!==_0x315505&&this[_0x21bd54(0x1cf)][_0x21bd54(0x357)](_0x21bd54(0x346),_0x22c2c1[_0x21bd54(0x32c)](),_0x4ea98e);}async[_0x5844b3(0x16e)](_0x284504){const _0xd7245f=_0x5844b3;var _0x3ce0d5;const _0x5912b1=this[_0xd7245f(0x1cf)][_0xd7245f(0x289)](_0xd7245f(0x346));if(!_0x5912b1||!_0x284504[_0xd7245f(0x1eb)](_0x5912b1)){const _0x4ec8ee=_0x284504[_0xd7245f(0x146)]()[0x0],_0x126918=_0x284504[_0xd7245f(0x1eb)](_0x4ec8ee);if(!_0x126918)return;this['_updateURLWithCurrentState'](_0x126918,!0x0),await this['_commandService']['executeCommand'](_0x35cb04[_0xd7245f(0x1f4)]['id'],{'unitId':_0x284504[_0xd7245f(0x36b)](),'subUnitId':_0x4ec8ee});return;}((_0x3ce0d5=_0x284504[_0xd7245f(0x1f5)]())==null?void 0x0:_0x3ce0d5['getSheetId']())!==_0x5912b1&&await this['_commandService'][_0xd7245f(0x1bc)](_0x35cb04[_0xd7245f(0x1f4)]['id'],{'unitId':_0x284504[_0xd7245f(0x36b)](),'subUnitId':_0x5912b1});}},_0x2166b9[_0x5844b3(0x1c8)]=_0x130318([_0x27a616(0x0,_0x3792c2),_0x27a616(0x1,_0x10bc43[_0x5844b3(0x1dd)]),_0x27a616(0x2,_0x10bc43[_0x5844b3(0x274)]),_0x27a616(0x3,_0x10bc43[_0x5844b3(0x206)](_0x49c0aa['DataLoaderService'])),_0x27a616(0x4,_0x10bc43['Optional'](_0x5345ea[_0x5844b3(0x306)]))],_0x2166b9[_0x5844b3(0x1c8)]);var _0x2d4dc2=Object[_0x5844b3(0x21a)],_0x133789=(_0x420764,_0x4540cd,_0x26558f,_0x4edc33)=>{const _0x49b62f=_0x5844b3;for(var _0x140ecf=_0x4edc33>0x1?void 0x0:_0x4edc33?_0x2d4dc2(_0x4540cd,_0x26558f):_0x4540cd,_0x41fc01=_0x420764[_0x49b62f(0x259)]-0x1,_0x1b807b;_0x41fc01>=0x0;_0x41fc01--)(_0x1b807b=_0x420764[_0x41fc01])&&(_0x140ecf=_0x1b807b(_0x140ecf)||_0x140ecf);return _0x140ecf;},_0x58b81f=(_0x2fb515,_0x2dedad)=>(_0x4b4f2e,_0x2e156e)=>_0x2dedad(_0x4b4f2e,_0x2e156e,_0x2fb515);let _0x354e6d=class{constructor(_0x320d95,_0x5cb967,_0x54cfef){const _0x4c84a1=_0x5844b3;this['_injector']=_0x320d95,this['_transformService']=_0x5cb967,this[_0x4c84a1(0x386)]=_0x54cfef;}[_0x5844b3(0x3cb)](_0x1082b1){this['_transformUndoRedoStack'](_0x1082b1),this['_transformPreviousActiveRange'](_0x1082b1);}['transformRemoteChangeset'](_0x295a82){const _0x2d4e42=_0x5844b3,{unitID:_0x2061b4}=_0x295a82,_0x46000a=this['_renderManagerService'][_0x2d4e42(0x213)](_0x2061b4)[_0x2d4e42(0x302)](_0x3b663b['DocIMEInputManagerService']),{redoCache:_0x145fa4}=_0x46000a[_0x2d4e42(0x13c)]();if(_0x145fa4[_0x2d4e42(0x259)]===0x0)return _0x295a82;let _0x1d8853=_0x10bc43[_0x2d4e42(0x2ab)][_0x2d4e42(0x20f)](_0x295a82[_0x2d4e42(0x230)][0x0]);for(let _0x5c8dc8=0x0;_0x5c8dc8<_0x145fa4[_0x2d4e42(0x259)];_0x5c8dc8++){const _0x20184e={'id':_0x2d4e42(0x2ac),'params':{..._0x145fa4[_0x5c8dc8]}},_0x42961b=this[_0x2d4e42(0x164)]['transformMutation'](_0x1d8853,_0x20184e,!0x1);if(_0xd210a5['isTransformMutationFailure'](_0x42961b))throw _0x42961b['error'];_0x1d8853=_0x42961b[_0x2d4e42(0x337)];}return{..._0x10bc43[_0x2d4e42(0x2ab)][_0x2d4e42(0x20f)](_0x295a82),'mutations':[_0x1d8853]};}[_0x5844b3(0x358)](_0x408c01){const _0x2c93bd=_0x5844b3,{unitID:_0x716da7}=_0x408c01,_0x5a2439=this['_renderManagerService'][_0x2c93bd(0x213)](_0x716da7)[_0x2c93bd(0x302)](_0x3b663b[_0x2c93bd(0x2d0)]),{undoCache:_0x5657a1,redoCache:_0x53d0a5}=_0x5a2439[_0x2c93bd(0x13c)]();if(_0x5657a1[_0x2c93bd(0x259)]===0x0||_0x53d0a5[_0x2c93bd(0x259)]===0x0)return;const _0x54feb3=[],_0x176886=[];let _0x573a51=_0x10bc43['Tools'][_0x2c93bd(0x20f)](_0x408c01[_0x2c93bd(0x230)][0x0]),_0x22e8a6=_0x10bc43[_0x2c93bd(0x2ab)][_0x2c93bd(0x20f)](_0x408c01[_0x2c93bd(0x230)][0x0]);for(let _0x553f76=_0x5657a1[_0x2c93bd(0x259)]-0x1;_0x553f76>=0x0;_0x553f76--){const _0x548f82={'id':_0x2c93bd(0x2ac),'params':{..._0x5657a1[_0x553f76]}},_0x370825={'id':'doc.mutation.rich-text-editing','params':{..._0x53d0a5[_0x553f76]}},_0xb8ee0e=this[_0x2c93bd(0x164)]['transformMutation'](_0x573a51,_0x548f82,!0x1),_0x30b14b=this[_0x2c93bd(0x164)][_0x2c93bd(0x20c)](_0x22e8a6,_0x370825,!0x1);if(_0xd210a5[_0x2c93bd(0x15e)](_0xb8ee0e))throw _0xb8ee0e[_0x2c93bd(0x2c4)];if(_0xd210a5[_0x2c93bd(0x15e)](_0x30b14b))throw _0x30b14b[_0x2c93bd(0x2c4)];_0x54feb3[_0x2c93bd(0x233)](_0xb8ee0e[_0x2c93bd(0x201)]['params']),_0x176886[_0x2c93bd(0x233)](_0x30b14b[_0x2c93bd(0x201)]['params']),_0x573a51=_0xb8ee0e['m1Prime'],_0x22e8a6=_0x30b14b[_0x2c93bd(0x337)];}_0x5a2439[_0x2c93bd(0x218)]({'undoCache':_0x54feb3,'redoCache':_0x176886});}[_0x5844b3(0x186)](_0x11a6a5){const _0x4d8943=_0x5844b3,{unitID:_0x4d7088}=_0x11a6a5,_0x245bae=this['_renderManagerService'][_0x4d8943(0x213)](_0x4d7088)[_0x4d8943(0x302)](_0x3b663b['DocIMEInputManagerService']),_0x29ecbc=_0x245bae[_0x4d8943(0x3b0)]();if(_0x29ecbc==null)return;const _0x3ac971=[{'id':_0x4d8943(0x2ac),'params':{'unitId':_0x11a6a5[_0x4d8943(0x399)],'actions':null,'textRanges':[_0x29ecbc]}}],_0x4b2b75=this[_0x4d8943(0x164)]['transformMutationsWithChangeset'](_0x11a6a5,_0x3ac971);if(!_0xd210a5['isTransformMutationsWithChangesetSuccess'](_0x4b2b75))throw _0x4b2b75[_0x4d8943(0x2c4)];const _0x1ada6f=_0x4b2b75['m2Prime'][0x0][_0x4d8943(0x359)]['textRanges'];Array[_0x4d8943(0x2b0)](_0x1ada6f)&&_0x1ada6f['length']&&_0x245bae[_0x4d8943(0x392)](_0x1ada6f[0x0]);}};_0x354e6d=_0x133789([_0x58b81f(0x0,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x58b81f(0x1,_0xd210a5[_0x5844b3(0x347)]),_0x58b81f(0x2,_0x2f8a25[_0x5844b3(0x17e)])],_0x354e6d);var _0x4e7c98=Object[_0x5844b3(0x21a)],_0x18a6ce=(_0x3d78e5,_0x18159e,_0x1d0efb,_0x1e1b77)=>{for(var _0x1e9781=_0x1e1b77>0x1?void 0x0:_0x1e1b77?_0x4e7c98(_0x18159e,_0x1d0efb):_0x18159e,_0xa4f7d1=_0x3d78e5['length']-0x1,_0x39a3e9;_0xa4f7d1>=0x0;_0xa4f7d1--)(_0x39a3e9=_0x3d78e5[_0xa4f7d1])&&(_0x1e9781=_0x39a3e9(_0x1e9781)||_0x1e9781);return _0x1e9781;},_0x272147=(_0x266f7f,_0x3833cd)=>(_0x41bc3d,_0x44f0df)=>_0x3833cd(_0x41bc3d,_0x44f0df,_0x266f7f);let _0xd7228=class{constructor(_0x4cf9c5,_0x3803e1,_0x260b57){const _0x4b5682=_0x5844b3;this[_0x4b5682(0x28f)]=_0x4cf9c5,this[_0x4b5682(0x164)]=_0x3803e1,this[_0x4b5682(0x2a9)]=_0x260b57;}[_0x5844b3(0x16f)](_0x346c46){const _0x430a1e=_0x5844b3;this[_0x430a1e(0x217)](_0x346c46);}['transformRemoteChangeset'](_0x382357){const _0x3e7400=_0x5844b3,{unitID:_0x51a858}=_0x382357,{collaboration:_0x188dbd}=this[_0x3e7400(0x2a9)]['getStateCache'](_0x51a858);if(_0x188dbd[_0x3e7400(0x259)]===0x0)return _0x382357;let _0x9f5d16=_0x10bc43[_0x3e7400(0x2ab)][_0x3e7400(0x20f)](_0x382357[_0x3e7400(0x230)][0x0]);for(let _0x2c71ba=0x0;_0x2c71ba<_0x188dbd['length'];_0x2c71ba++){const _0xed70fa={'id':_0x3e7400(0x2ac),'params':{'unitId':_0x188dbd[_0x2c71ba][_0x3e7400(0x1fe)],..._0x188dbd[_0x2c71ba][_0x3e7400(0x15b)]}},_0x2bb65d=this[_0x3e7400(0x164)]['transformMutation'](_0x9f5d16,_0xed70fa,!0x1);if(_0xd210a5[_0x3e7400(0x15e)](_0x2bb65d))throw _0x2bb65d['error'];_0x9f5d16=_0x2bb65d[_0x3e7400(0x337)];}return{..._0x10bc43[_0x3e7400(0x2ab)][_0x3e7400(0x20f)](_0x382357),'mutations':[_0x9f5d16]};}[_0x5844b3(0x217)](_0x2dc989){const _0x4bc80e=_0x5844b3,{unitID:_0x5ee6ba}=_0x2dc989,{history:_0x1db787,collaboration:_0x526ad4}=this[_0x4bc80e(0x2a9)][_0x4bc80e(0x36e)](_0x5ee6ba);if(_0x1db787[_0x4bc80e(0x259)]===0x0&&_0x526ad4[_0x4bc80e(0x259)]===0x0)return;const _0x13d868=[],_0x4bb191=[];let _0x5db83f=_0x10bc43[_0x4bc80e(0x2ab)][_0x4bc80e(0x20f)](_0x2dc989[_0x4bc80e(0x230)][0x0]),_0x19a20b=_0x10bc43[_0x4bc80e(0x2ab)][_0x4bc80e(0x20f)](_0x2dc989['mutations'][0x0]);for(let _0x5a9487=_0x1db787[_0x4bc80e(0x259)]-0x1;_0x5a9487>=0x0;_0x5a9487--){const _0x122cc8={'id':_0x4bc80e(0x2ac),'params':{'unitId':_0x1db787[_0x5a9487][_0x4bc80e(0x1fe)],..._0x1db787[_0x5a9487]['undoState']}},_0x5caee1={'id':_0x4bc80e(0x2ac),'params':{'unitId':_0x1db787[_0x5a9487][_0x4bc80e(0x1fe)],..._0x1db787[_0x5a9487][_0x4bc80e(0x15b)]}},_0x1d32e1=this[_0x4bc80e(0x164)][_0x4bc80e(0x20c)](_0x5db83f,_0x122cc8,!0x1),_0x254f13=this[_0x4bc80e(0x164)][_0x4bc80e(0x20c)](_0x19a20b,_0x5caee1,!0x1);if(_0xd210a5[_0x4bc80e(0x15e)](_0x1d32e1))throw _0x1d32e1[_0x4bc80e(0x2c4)];if(_0xd210a5[_0x4bc80e(0x15e)](_0x254f13))throw _0x254f13[_0x4bc80e(0x2c4)];_0x13d868[_0x4bc80e(0x233)]({..._0x1db787[_0x5a9487],'undoState':_0x1d32e1[_0x4bc80e(0x201)][_0x4bc80e(0x359)],'redoState':_0x254f13[_0x4bc80e(0x201)][_0x4bc80e(0x359)]}),_0x5db83f=_0x1d32e1['m1Prime'],_0x19a20b=_0x254f13[_0x4bc80e(0x337)];}_0x5db83f=_0x10bc43[_0x4bc80e(0x2ab)][_0x4bc80e(0x20f)](_0x2dc989[_0x4bc80e(0x230)][0x0]),_0x19a20b=_0x10bc43[_0x4bc80e(0x2ab)][_0x4bc80e(0x20f)](_0x2dc989['mutations'][0x0]);for(let _0x2365b4=_0x526ad4[_0x4bc80e(0x259)]-0x1;_0x2365b4>=0x0;_0x2365b4--){const _0x5bf276={'id':_0x4bc80e(0x2ac),'params':{'unitId':_0x526ad4[_0x2365b4][_0x4bc80e(0x1fe)],..._0x526ad4[_0x2365b4][_0x4bc80e(0x1fc)]}},_0x8d52da={'id':_0x4bc80e(0x2ac),'params':{'unitId':_0x526ad4[_0x2365b4][_0x4bc80e(0x1fe)],..._0x526ad4[_0x2365b4][_0x4bc80e(0x15b)]}},_0x2c2b4a=this['_transformService']['transformMutation'](_0x5db83f,_0x5bf276,!0x1),_0x2afc3b=this['_transformService']['transformMutation'](_0x19a20b,_0x8d52da,!0x1);if(_0xd210a5[_0x4bc80e(0x15e)](_0x2c2b4a))throw _0x2c2b4a['error'];if(_0xd210a5[_0x4bc80e(0x15e)](_0x2afc3b))throw _0x2afc3b[_0x4bc80e(0x2c4)];_0x4bb191[_0x4bc80e(0x233)]({..._0x526ad4[_0x2365b4],'undoState':_0x2c2b4a['m2Prime'][_0x4bc80e(0x359)],'redoState':_0x2afc3b[_0x4bc80e(0x201)]['params']}),_0x5db83f=_0x2c2b4a['m1Prime'],_0x19a20b=_0x2afc3b[_0x4bc80e(0x337)];}this[_0x4bc80e(0x2a9)][_0x4bc80e(0x180)](_0x5ee6ba,{'history':_0x13d868,'collaboration':_0x4bb191});}};_0xd7228=_0x18a6ce([_0x272147(0x0,_0x10bc43[_0x5844b3(0x206)](_0x10bc43['Injector'])),_0x272147(0x1,_0xd210a5[_0x5844b3(0x347)]),_0x272147(0x2,_0x10bc43[_0x5844b3(0x206)](_0x3b663b[_0x5844b3(0x314)]))],_0xd7228);var _0x3c69a7=Object[_0x5844b3(0x21a)],_0x2f9d36=(_0xa0cddd,_0x15488f,_0x40cd49,_0x19f565)=>{for(var _0x45c587=_0x19f565>0x1?void 0x0:_0x19f565?_0x3c69a7(_0x15488f,_0x40cd49):_0x15488f,_0xe70eec=_0xa0cddd['length']-0x1,_0x5c438b;_0xe70eec>=0x0;_0xe70eec--)(_0x5c438b=_0xa0cddd[_0xe70eec])&&(_0x45c587=_0x5c438b(_0x45c587)||_0x45c587);return _0x45c587;},_0x51c8ff=(_0x43d276,_0x59be5a)=>(_0x54a072,_0x56742f)=>_0x59be5a(_0x54a072,_0x56742f,_0x43d276);let _0x29c3e6=class{constructor(_0x44bcb5,_0x1d8e4b){const _0x34d174=_0x5844b3;this[_0x34d174(0x28f)]=_0x44bcb5,this['_transformService']=_0x1d8e4b;}[_0x5844b3(0x162)](_0x3e80ce){const _0x35bee8=_0x5844b3;var _0x57dd94;const _0x50080d=this[_0x35bee8(0x28f)]['get'](_0x5dbb9f[_0x35bee8(0x2a6)]),_0x324847=(_0x57dd94=_0x50080d[_0x35bee8(0x2c6)]())!=null?_0x57dd94:[];if(_0x324847[_0x35bee8(0x259)]===0x0)return;const _0x5a6eb2=_0x3e80ce[_0x35bee8(0x399)],_0x58042d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a6eb2,'actions':null,'textRanges':_0x324847}}],_0x13b631=this[_0x35bee8(0x164)][_0x35bee8(0x270)](_0x3e80ce,_0x58042d);if(!_0xd210a5[_0x35bee8(0x26b)](_0x13b631))throw _0x13b631[_0x35bee8(0x2c4)];const _0x29a757=_0x13b631[_0x35bee8(0x201)][0x0][_0x35bee8(0x359)][_0x35bee8(0x387)];Array[_0x35bee8(0x2b0)](_0x29a757)&&_0x29a757[_0x35bee8(0x259)]&&_0x50080d['replaceDocRanges'](_0x29a757,{'unitId':_0x5a6eb2,'subUnitId':_0x5a6eb2},!0x1);}};_0x29c3e6=_0x2f9d36([_0x51c8ff(0x0,_0x10bc43['Inject'](_0x10bc43[_0x5844b3(0x39d)])),_0x51c8ff(0x1,_0xd210a5[_0x5844b3(0x347)])],_0x29c3e6);var _0x3ddf91=Object[_0x5844b3(0x21a)],_0x3d00ef=(_0x155cd5,_0x358bd3,_0x53a97f,_0x239e2f)=>{for(var _0x56fc0b=_0x239e2f>0x1?void 0x0:_0x239e2f?_0x3ddf91(_0x358bd3,_0x53a97f):_0x358bd3,_0x5a5e8c=_0x155cd5['length']-0x1,_0x45f80c;_0x5a5e8c>=0x0;_0x5a5e8c--)(_0x45f80c=_0x155cd5[_0x5a5e8c])&&(_0x56fc0b=_0x45f80c(_0x56fc0b)||_0x56fc0b);return _0x56fc0b;},_0x49e6a0=(_0x1a7052,_0x553954)=>(_0xb61460,_0x4927b4)=>_0x553954(_0xb61460,_0x4927b4,_0x1a7052);let _0x28dcab=class extends _0x10bc43[_0x5844b3(0x3bd)]{constructor(_0x73b58e,_0x254b96,_0x50c893,_0x4e2f88,_0x4f1c58,_0x2b0dbd,_0x42d6dd,_0x56fffe){const _0x3aeb2f=_0x5844b3;super(),_0x1e2e9a(this,_0x3aeb2f(0x1cc),new _0x1fa918['BehaviorSubject'](_0x49c0aa[_0x3aeb2f(0x20a)][_0x3aeb2f(0x256)])),(this['_docStateChangeManagerService']=_0x73b58e,this[_0x3aeb2f(0x1ac)]=_0x254b96,this[_0x3aeb2f(0x3b4)]=_0x50c893,this[_0x3aeb2f(0x1fd)]=_0x4e2f88,this[_0x3aeb2f(0x38d)]=_0x4f1c58,this[_0x3aeb2f(0x229)]=_0x2b0dbd,this[_0x3aeb2f(0x38a)]=_0x42d6dd,this[_0x3aeb2f(0x361)]=_0x56fffe,this['_initEntityListener']());}[_0x5844b3(0x1e2)](){const _0x3b486b=_0x5844b3;this[_0x3b486b(0x397)](this[_0x3b486b(0x1ac)][_0x3b486b(0x271)][_0x3b486b(0x2d7)](_0x521825=>{const _0x1f1605=_0x3b486b,_0x5a8da3=this[_0x1f1605(0x2a9)][_0x1f1605(0x165)][_0x1f1605(0x2d7)](_0x453a34=>{const _0x4091e2=_0x1f1605;if(_0x453a34==null)return;const {unitId:_0x306e2f,redoState:_0x412e60,commandId:_0x327122}=_0x453a34;if(_0x306e2f!==_0x521825[_0x4091e2(0x399)])return;const _0x40a34e={'id':_0x327122,'type':_0x10bc43[_0x4091e2(0x1d9)][_0x4091e2(0x1e9)],'params':{'unitId':_0x306e2f,'actions':_0x412e60[_0x4091e2(0x3ce)],'textRanges':null}};_0x521825['onLocalMutation'](_0x40a34e);});if(_0x521825[_0x1f1605(0x397)](_0x5a8da3),_0x521825 instanceof _0x49c0aa[_0x1f1605(0x224)]){const _0x5933ea={'onTransformIME':_0x1e0343=>this['_docTransformIMECacheService'][_0x1f1605(0x3cb)](_0x1e0343),'onTransformState':_0x3a6aa9=>this[_0x1f1605(0x1fd)][_0x1f1605(0x16f)](_0x3a6aa9),'onTransformSelections':_0x4be3a3=>this['_docTransformSelectionsService'][_0x1f1605(0x162)](_0x4be3a3),'onSyncEditingCollabCursor':_0x44f5ce=>this['_docSyncEditingCollabCursorService'][_0x1f1605(0x281)](_0x44f5ce),'onTransformRemoteChangesetByIMECache':_0x9a17c3=>this['_docTransformIMECacheService'][_0x1f1605(0x282)](_0x9a17c3),'onTransformRemoteChangesetByStateCache':_0x20f86f=>this[_0x1f1605(0x1fd)]['transformRemoteChangeset'](_0x20f86f)};_0x521825[_0x1f1605(0x2ad)](_0x5933ea);}}));}};_0x28dcab=_0x3d00ef([_0x49e6a0(0x0,_0x10bc43[_0x5844b3(0x206)](_0x3b663b[_0x5844b3(0x314)])),_0x49e6a0(0x1,_0x10bc43[_0x5844b3(0x206)](_0x49c0aa['CollaborationController'])),_0x49e6a0(0x2,_0x10bc43[_0x5844b3(0x206)](_0x354e6d)),_0x49e6a0(0x3,_0x10bc43[_0x5844b3(0x206)](_0xd7228)),_0x49e6a0(0x4,_0x10bc43[_0x5844b3(0x206)](_0x29c3e6)),_0x49e6a0(0x5,_0x10bc43[_0x5844b3(0x206)](_0x1de3ce)),_0x49e6a0(0x6,_0xec16ce[_0x5844b3(0x1ca)]),_0x49e6a0(0x7,_0x10bc43[_0x5844b3(0x206)](_0x10bc43['LocaleService']))],_0x28dcab);var _0xa699b9=Object['getOwnPropertyDescriptor'],_0x2bcb4d=(_0xee69a2,_0x82b087,_0x5348fb,_0x365606)=>{const _0x10c2a1=_0x5844b3;for(var _0xdf5487=_0x365606>0x1?void 0x0:_0x365606?_0xa699b9(_0x82b087,_0x5348fb):_0x82b087,_0xfad3c=_0xee69a2[_0x10c2a1(0x259)]-0x1,_0x345eb5;_0xfad3c>=0x0;_0xfad3c--)(_0x345eb5=_0xee69a2[_0xfad3c])&&(_0xdf5487=_0x345eb5(_0xdf5487)||_0xdf5487);return _0xdf5487;},_0x2614a1=(_0x4dd7ae,_0x377bda)=>(_0x1a229d,_0x2a5f79)=>_0x377bda(_0x1a229d,_0x2a5f79,_0x4dd7ae);let _0x568aca=class extends _0x10bc43[_0x5844b3(0x3bd)]{constructor(_0x3ada6e,_0x5acfb1,_0x35138a){const _0x2d5fa5=_0x5844b3;super(),_0x1e2e9a(this,_0x2d5fa5(0x16d),new Map()),_0x1e2e9a(this,_0x2d5fa5(0x267),new Map()),_0x1e2e9a(this,'_disabled',!0x1),(this[_0x2d5fa5(0x1be)]=_0x3ada6e,this['_localStorageService']=_0x5acfb1,this[_0x2d5fa5(0x148)]=_0x35138a);}[_0x5844b3(0x1d6)](){const _0x488552=_0x5844b3;this[_0x488552(0x3ba)]=!0x0;}[_0x5844b3(0x2a5)](){const _0x4477f4=_0x5844b3;this[_0x4477f4(0x3ba)]=!0x1;}get[_0x5844b3(0x2a3)](){return this['_saveTaskMap'];}['dispose'](){const _0x4cabc9=_0x5844b3;this[_0x4cabc9(0x26c)]()['then'](()=>super[_0x4cabc9(0x293)]());}async[_0x5844b3(0x18e)](_0x51b4af){const _0x14b709=_0x5844b3;return this[_0x14b709(0x3ba)]?null:this[_0x14b709(0x214)]['getItem'](_0x49c0aa['getLocalCacheKey'](_0x51b4af));}async[_0x5844b3(0x23a)](_0x56a8d4,_0x3412dd){const _0x87dcb5=_0x5844b3;return!!this[_0x87dcb5(0x214)][_0x87dcb5(0x1ee)](_0x56a8d4,_0x3412dd);}['updateOfflineData'](_0x2a8e07,_0x239c63,_0x5107cd,_0x2ee946){const _0x15410c=_0x5844b3,_0x2d72eb=this[_0x15410c(0x148)][_0x15410c(0x208)](_0x2a8e07);this[_0x15410c(0x16d)]['set'](_0x2a8e07,{'unitID':_0x2a8e07,'type':_0x239c63,'awaitingChangeset':_0x5107cd,'mutations':_0x2ee946,'rev':_0x2d72eb}),this[_0x15410c(0x267)][_0x15410c(0x16c)](_0x2a8e07)||this[_0x15410c(0x2f9)](_0x2a8e07);}['_scheduleSaving'](_0x4f6d56){const _0x3b5ea0=_0x5844b3,_0x59a0c1=this[_0x3b5ea0(0x29a)]();_0x59a0c1===0x0?this['_saveCache'](_0x4f6d56):this[_0x3b5ea0(0x267)][_0x3b5ea0(0x16a)](_0x4f6d56,setTimeout(()=>this[_0x3b5ea0(0x369)](_0x4f6d56),_0x59a0c1));}[_0x5844b3(0x29a)](){const _0x41f84a=_0x5844b3;var _0x436797;return(_0x436797=this[_0x41f84a(0x1be)][_0x41f84a(0x2bc)](_0x49c0aa[_0x41f84a(0x252)]))!=null?_0x436797:_0x49c0aa[_0x41f84a(0x215)];}[_0x5844b3(0x369)](_0xa97990){const _0x1c7624=_0x5844b3,_0x4de336=this[_0x1c7624(0x267)][_0x1c7624(0x37c)](_0xa97990);return _0x4de336!==void 0x0&&window[_0x1c7624(0x187)](_0x4de336),this[_0x1c7624(0x214)][_0x1c7624(0x1ee)](_0x49c0aa['getLocalCacheKey'](_0xa97990),this[_0x1c7624(0x16d)]['get'](_0xa97990))[_0x1c7624(0x30b)](()=>this[_0x1c7624(0x267)][_0x1c7624(0x39b)](_0xa97990));}async[_0x5844b3(0x26c)](){const _0x1354a1=_0x5844b3,_0x2469f3=[];this[_0x1354a1(0x267)][_0x1354a1(0x21c)]((_0x406d80,_0x1575f0)=>{const _0x155d85=_0x1354a1;window['clearTimeout'](_0x406d80),_0x2469f3['push'](this[_0x155d85(0x369)](_0x1575f0)['then'](()=>{const _0x282e3a=_0x155d85;this[_0x282e3a(0x267)]['delete'](_0x1575f0);}));}),await Promise['all'](_0x2469f3);}};_0x568aca=_0x2bcb4d([_0x2614a1(0x0,_0x10bc43[_0x5844b3(0x23f)]),_0x2614a1(0x1,_0x10bc43[_0x5844b3(0x354)]),_0x2614a1(0x2,_0x10bc43[_0x5844b3(0x206)](_0xd210a5[_0x5844b3(0x23c)]))],_0x568aca);class _0x62f2c3 extends _0x10bc43[_0x5844b3(0x204)]{constructor(){const _0x7cc8e1=_0x5844b3;super(),_0x1e2e9a(this,_0x7cc8e1(0x34c)),this[_0x7cc8e1(0x34c)]=_0x1fa918[_0x7cc8e1(0x2af)](window,'popstate')[_0x7cc8e1(0x25b)](_0x1fa918[_0x7cc8e1(0x280)](this[_0x7cc8e1(0x175)]),_0x1fa918[_0x7cc8e1(0x207)](0x1),_0x1fa918[_0x7cc8e1(0x1f8)](void 0x0));}[_0x5844b3(0x357)](_0x199885,_0x157b75,_0x5f132d=!0x1){const _0x5c5b98=_0x5844b3,_0x3daca2=new URL(window['location'][_0x5c5b98(0x2e9)]);_0x3daca2[_0x5c5b98(0x2fe)][_0x5c5b98(0x16a)](_0x199885,_0x157b75),_0x5f132d?window[_0x5c5b98(0x3d1)]['replaceState']('','',_0x3daca2['toString']()):window[_0x5c5b98(0x3d1)][_0x5c5b98(0x331)]('','',_0x3daca2['toString']());}['removeParam'](_0x2578e6,_0x3996e8=!0x1){const _0x113562=_0x5844b3,_0xeb0b1=new URL(window[_0x113562(0x33f)]['href']);_0xeb0b1[_0x113562(0x2fe)][_0x113562(0x39b)](_0x2578e6),_0x3996e8?window[_0x113562(0x3d1)][_0x113562(0x3ab)]('','',_0xeb0b1['toString']()):window['history']['pushState']('','',_0xeb0b1[_0x113562(0x255)]());}[_0x5844b3(0x289)](_0x3d0e49){const _0x25a9cd=_0x5844b3;var _0x51345b;return(_0x51345b=new URL(window[_0x25a9cd(0x33f)]['href'])[_0x25a9cd(0x2fe)][_0x25a9cd(0x37c)](_0x3d0e49))!=null?_0x51345b:void 0x0;}}var _0x2bad1c=Object[_0x5844b3(0x145)],_0x518320=Object[_0x5844b3(0x21a)],_0x4b85a4=(_0x51d0eb,_0x1794b9,_0x159e39)=>_0x1794b9 in _0x51d0eb?_0x2bad1c(_0x51d0eb,_0x1794b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x159e39}):_0x51d0eb[_0x1794b9]=_0x159e39,_0x59d920=(_0x4c1eaf,_0x3270b4,_0x5d65e7,_0x4921b1)=>{for(var _0x717f54=_0x4921b1>0x1?void 0x0:_0x4921b1?_0x518320(_0x3270b4,_0x5d65e7):_0x3270b4,_0x5330e3=_0x4c1eaf['length']-0x1,_0x1bd8bb;_0x5330e3>=0x0;_0x5330e3--)(_0x1bd8bb=_0x4c1eaf[_0x5330e3])&&(_0x717f54=_0x1bd8bb(_0x717f54)||_0x717f54);return _0x717f54;},_0x4317bf=(_0x3a3043,_0x458b65)=>(_0xf3bd0,_0x2d935a)=>_0x458b65(_0xf3bd0,_0x2d935a,_0x3a3043),_0x1e0b26=(_0x37de2b,_0x12a9ad,_0x33d597)=>_0x4b85a4(_0x37de2b,_0x12a9ad+'',_0x33d597);const _0x5d68f4=_0x5844b3(0x20b);_0x2166b9['UniverCollaborationClientUIPlugin']=class extends _0x10bc43[_0x5844b3(0x2b4)]{constructor(_0x5cc0af=_0x57ffe5,_0x3cbd52,_0x356aa6,_0x5c8a86){const _0x4a5360=_0x5844b3;super(),this[_0x4a5360(0x276)]=_0x5cc0af,this['_renderManagerService']=_0x3cbd52,this['_injector']=_0x356aa6,this[_0x4a5360(0x1be)]=_0x5c8a86;const {..._0x38f5f4}=_0x10bc43['merge']({},_0x57ffe5,this[_0x4a5360(0x276)]);this[_0x4a5360(0x1be)][_0x4a5360(0x303)](_0x422c5e,_0x38f5f4);}['onStarting'](){const _0x5bd2f9=_0x5844b3;this['_registerDependencies'](),this[_0x5bd2f9(0x364)]();}[_0x5844b3(0x37e)](){const _0x5c6fff=_0x5844b3;this[_0x5c6fff(0x2ee)]();}[_0x5844b3(0x269)](){const _0xb6b544=_0x5844b3;var _0xee25a;const _0x31f2b2=[[_0x467bc7],[_0x29c3e6],[_0x354e6d],[_0xd7228],[_0x1de3ce],[_0x3792c2,{'useClass':_0x62f2c3}],[_0x48b5e7[_0xb6b544(0x14c)],{'useClass':_0x48b5e7[_0xb6b544(0x2ff)]}],[_0x49c0aa[_0xb6b544(0x2a0)],{'useClass':_0x568aca}],[_0x2166b9[_0xb6b544(0x2aa)]],[_0x28dcab],[_0x5c318e],[_0x572a17],[_0x40c61c],[_0x2166b9[_0xb6b544(0x1c8)]]];_0x10bc43['registerDependencies'](this[_0xb6b544(0x28f)],_0x10bc43[_0xb6b544(0x2f1)](_0x31f2b2,(_0xee25a=this[_0xb6b544(0x276)])==null?void 0x0:_0xee25a[_0xb6b544(0x28e)]));}[_0x5844b3(0x2ee)](){const _0x4e6ee2=_0x5844b3;this[_0x4e6ee2(0x397)](this['_renderManagerService']['registerRenderModule'](_0x10bc43[_0x4e6ee2(0x247)][_0x4e6ee2(0x3a1)],[_0x1fb83c])),this[_0x4e6ee2(0x397)](this[_0x4e6ee2(0x386)][_0x4e6ee2(0x1e6)](_0x10bc43[_0x4e6ee2(0x247)]['UNIVER_SHEET'],[_0x44e6a7]));}[_0x5844b3(0x364)](){const _0x2deed2=_0x5844b3;_0x10bc43['touchDependencies'](this['_injector'],[[_0x572a17],[_0x2166b9[_0x2deed2(0x2aa)]],[_0x28dcab],[_0x5c318e],[_0x2166b9[_0x2deed2(0x1c8)]]]);}},_0x1e0b26(_0x2166b9[_0x5844b3(0x2f7)],_0x5844b3(0x3d0),_0x5d68f4),_0x2166b9[_0x5844b3(0x2f7)]=_0x59d920([_0x10bc43[_0x5844b3(0x27f)](_0x49c0aa[_0x5844b3(0x2dc)]),_0x4317bf(0x1,_0x2f8a25[_0x5844b3(0x17e)]),_0x4317bf(0x2,_0x10bc43['Inject'](_0x10bc43[_0x5844b3(0x39d)])),_0x4317bf(0x3,_0x10bc43[_0x5844b3(0x23f)])],_0x2166b9['UniverCollaborationClientUIPlugin']);var _0x5943e3=Object[_0x5844b3(0x21a)],_0x483d2a=(_0x15c195,_0x3d5e55,_0x4da80d,_0x4c340c)=>{for(var _0x409eb2=_0x4c340c>0x1?void 0x0:_0x4c340c?_0x5943e3(_0x3d5e55,_0x4da80d):_0x3d5e55,_0x4f621f=_0x15c195['length']-0x1,_0x363224;_0x4f621f>=0x0;_0x4f621f--)(_0x363224=_0x15c195[_0x4f621f])&&(_0x409eb2=_0x363224(_0x409eb2)||_0x409eb2);return _0x409eb2;},_0x387a2d=(_0x3673cc,_0x3721c3)=>(_0x55bbe5,_0x238fbc)=>_0x3721c3(_0x55bbe5,_0x238fbc,_0x3673cc);_0x2166b9[_0x5844b3(0x209)]=class extends _0x49c0aa[_0x5844b3(0x188)]{constructor(_0x2fd701,_0x1203b8,_0xb586df,_0xccec76,_0x1bae56){super(_0x2fd701,_0x1203b8,_0xb586df,_0xccec76,_0x1bae56);}async[_0x5844b3(0x2ca)](_0x50b2c7){const _0x4f9b81=_0x5844b3,_0x54fa3a=await this[_0x4f9b81(0x1bd)](),_0x4d39ae=this['_createSocketURL'](_0x50b2c7,_0x54fa3a);return this[_0x4f9b81(0x323)](_0x4d39ae);}[_0x5844b3(0x2a1)](_0x29aac9,_0x289e65){const _0x3f1fad=_0x5844b3,_0xc32f1c=typeof window>'u'?new URL(_0x29aac9):new URL(_0x29aac9,window[_0x3f1fad(0x33f)][_0x3f1fad(0x1ba)]);_0xc32f1c[_0x3f1fad(0x2fe)]['set']('sessionTicket',_0x289e65);const _0x271944=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f1fad(0x33f)][_0x3f1fad(0x30c)]);return _0x271944[_0x3f1fad(0x37c)](_0x3f1fad(0x1ff))&&_0xc32f1c[_0x3f1fad(0x2fe)][_0x3f1fad(0x16a)]('runId',_0x271944[_0x3f1fad(0x37c)]('runId')),_0xc32f1c[_0x3f1fad(0x255)]();}async[_0x5844b3(0x1bd)](){const _0x5eed0c=_0x5844b3;var _0x38038e,_0x4699d5,_0x17e906;const _0x1d17e2=this['_configService'][_0x5eed0c(0x2bc)](_0x49c0aa['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xcdc16b=(_0x38038e=_0x1d17e2==null?void 0x0:_0x1d17e2[_0x5eed0c(0x1f9)])!=null?_0x38038e:_0x49c0aa['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x17e906=(_0x4699d5=(await this[_0x5eed0c(0x19d)]['get'](_0xcdc16b,{'headers':{'Content-Type':_0x5eed0c(0x2ae)}}))[_0x5eed0c(0x22d)])==null?void 0x0:_0x4699d5[_0x5eed0c(0x1de)])!=null?_0x17e906:'';}},_0x2166b9['BrowserCollaborationSocketService']=_0x483d2a([_0x387a2d(0x0,_0x10bc43[_0x5844b3(0x206)](_0x10bc43[_0x5844b3(0x39d)])),_0x387a2d(0x1,_0x10bc43['Inject'](_0x48b5e7['HTTPService'])),_0x387a2d(0x2,_0x10bc43[_0x5844b3(0x23f)]),_0x387a2d(0x3,_0x10bc43[_0x5844b3(0x1dd)]),_0x387a2d(0x4,_0xd210a5[_0x5844b3(0x242)])],_0x2166b9[_0x5844b3(0x209)]);const _0x44299d=0x7530,_0x55e0dc=_0x5844b3(0x22a);class _0xee0ca0 extends _0x10bc43['Disposable']{constructor(){const _0x42f0da=_0x5844b3;super(),_0x1e2e9a(this,_0x42f0da(0x250),_0x10bc43[_0x42f0da(0x19c)]()),_0x1e2e9a(this,_0x42f0da(0x2db),new Set()),_0x1e2e9a(this,_0x42f0da(0x3c5),new Map()),_0x1e2e9a(this,_0x42f0da(0x150),null),_0x1e2e9a(this,'_clearOtherTimers',new Map()),_0x1e2e9a(this,'_unitStatus',new Map()),this[_0x42f0da(0x212)]();}['dispose'](){const _0xe6782b=_0x5844b3;super[_0xe6782b(0x293)](),this[_0xe6782b(0x234)][_0xe6782b(0x21c)]((_0x1bad32,_0x3774b6)=>this['_removeClearOtherTimer'](_0x3774b6)),this[_0xe6782b(0x150)]&&window[_0xe6782b(0x203)](this[_0xe6782b(0x150)]);}[_0x5844b3(0x189)](_0x5a4623){const _0x143f38=_0x5844b3;return this[_0x143f38(0x3da)](_0x5a4623)[_0x143f38(0x25b)](_0x1fa918[_0x143f38(0x18f)]());}[_0x5844b3(0x260)](_0x289dff){const _0x49e712=_0x5844b3;this['_selfUnitIDs'][_0x49e712(0x220)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x289dff),this[_0x49e712(0x32b)]({'type':0x0,'memberID':this[_0x49e712(0x250)],'unitIDs':[_0x289dff],'isForwarded':!0x1});}[_0x5844b3(0x365)](_0x4a6889){const _0x5ef0fa=_0x5844b3;this[_0x5ef0fa(0x2db)][_0x5ef0fa(0x39b)](_0x4a6889),this[_0x5ef0fa(0x2db)][_0x5ef0fa(0x220)]===0x0&&this[_0x5ef0fa(0x150)]&&window[_0x5ef0fa(0x203)](this[_0x5ef0fa(0x150)]);}[_0x5844b3(0x212)](){const _0x491178=_0x5844b3;this['disposeWithMe'](_0x10bc43[_0x491178(0x2e2)](_0x1fa918[_0x491178(0x2af)](window,_0x491178(0x32f))[_0x491178(0x2d7)](_0x6f7ef=>{const _0xc5ad40=_0x491178;if(_0x6f7ef[_0xc5ad40(0x211)]!==_0x55e0dc||!_0x6f7ef[_0xc5ad40(0x3c9)])return;const _0x3e5955=JSON['parse'](_0x6f7ef[_0xc5ad40(0x3c9)]);this[_0xc5ad40(0x36f)](_0x3e5955);}))),window[_0x491178(0x238)](_0x491178(0x16b),()=>this['_send']({'type':0x1,'memberID':this[_0x491178(0x250)],'unitIDs':Array[_0x491178(0x31f)](this['_selfUnitIDs'])}));}[_0x5844b3(0x36f)](_0xe29f1){const _0x589579=_0x5844b3;switch(_0xe29f1['type']){case 0x0:this[_0x589579(0x3ac)](_0xe29f1);break;case 0x1:this['_handleLeaveEvent'](_0xe29f1);break;case 0x2:this[_0x589579(0x2f6)](_0xe29f1);break;}}[_0x5844b3(0x3ac)](_0x4af5f8){const _0x43d88f=_0x5844b3,{unitIDs:_0x3b845a,memberID:_0x3b3250,isForwarded:_0x5b908d}=_0x4af5f8;_0x3b845a[_0x43d88f(0x21c)](_0x1e1b55=>{const _0x4dcd9a=_0x43d88f;if(!_0x5b908d&&this['_unitOnClients']['has'](_0x1e1b55)&&this[_0x4dcd9a(0x3da)](_0x1e1b55)[_0x4dcd9a(0x3d7)](_0x49c0aa[_0x4dcd9a(0x1df)][_0x4dcd9a(0x388)]),!this[_0x4dcd9a(0x3c5)][_0x4dcd9a(0x16c)](_0x1e1b55)||!this['_unitOnClients'][_0x4dcd9a(0x37c)](_0x1e1b55)[_0x4dcd9a(0x16c)](_0x3b3250)){const _0x34efb2=this['_unitOnClients'][_0x4dcd9a(0x37c)](_0x1e1b55)||new Set();_0x34efb2[_0x4dcd9a(0x169)](_0x3b3250),this[_0x4dcd9a(0x3c5)][_0x4dcd9a(0x16a)](_0x1e1b55,_0x34efb2),this[_0x4dcd9a(0x1ad)](_0x3b3250);}}),_0x5b908d||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x43d88f(0x2db)]],'isForwarded':!0x0});}[_0x5844b3(0x1ad)](_0x29568f){const _0x566f46=_0x5844b3;this[_0x566f46(0x3cc)](_0x29568f);const _0x5eeb10=window[_0x566f46(0x155)](()=>{const _0x20fb1e=_0x566f46;this['_unitOnClients'][_0x20fb1e(0x21c)](_0x16d14d=>{const _0x493163=_0x20fb1e;_0x16d14d[_0x493163(0x39b)](_0x29568f);});},_0x44299d*0x2);this[_0x566f46(0x234)][_0x566f46(0x16a)](_0x29568f,_0x5eeb10);}[_0x5844b3(0x3cc)](_0x4e57ed){const _0x4cd816=_0x5844b3;if(this[_0x4cd816(0x234)]['has'](_0x4e57ed)){const _0x3011b0=this[_0x4cd816(0x234)][_0x4cd816(0x37c)](_0x4e57ed);_0x3011b0&&window[_0x4cd816(0x187)](_0x3011b0),this[_0x4cd816(0x234)]['set'](_0x4e57ed,null);}}['_handleLeaveEvent'](_0x4a4eeb){const _0x566340=_0x5844b3,{memberID:_0x18dbeb,unitIDs:_0x464a73}=_0x4a4eeb;_0x464a73[_0x566340(0x21c)](_0x43faf5=>{const _0x37189a=_0x566340;var _0x3c4f5b;const _0x2cab9e=this[_0x37189a(0x3c5)][_0x37189a(0x37c)](_0x43faf5);_0x2cab9e&&(_0x2cab9e[_0x37189a(0x39b)](_0x18dbeb),(_0x3c4f5b=this[_0x37189a(0x3da)](_0x43faf5))==null||_0x3c4f5b[_0x37189a(0x3d7)](_0x2cab9e['size']===0x0?_0x49c0aa[_0x37189a(0x1df)][_0x37189a(0x3dd)]:_0x49c0aa['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x18dbeb);}[_0x5844b3(0x2f6)](_0x1d060e){this['_scheduleClearOtherTimer'](_0x1d060e['memberID']);}[_0x5844b3(0x32b)](_0x399acd){const _0x4d28ab=_0x5844b3;localStorage['setItem'](_0x55e0dc,JSON[_0x4d28ab(0x1e5)](_0x399acd));}['_scheduleHeartbeat'](){const _0x4cb63b=_0x5844b3;this[_0x4cb63b(0x150)]=window[_0x4cb63b(0x1b4)](()=>{const _0x6daaa5=_0x4cb63b;this['_send']({'type':0x2,'memberID':this[_0x6daaa5(0x250)]});},_0x44299d);}[_0x5844b3(0x3da)](_0x55a620){const _0x2ad94a=_0x5844b3;return this['_unitStatus'][_0x2ad94a(0x16c)](_0x55a620)||this[_0x2ad94a(0x373)][_0x2ad94a(0x16a)](_0x55a620,new _0x1fa918[(_0x2ad94a(0x221))](_0x49c0aa[_0x2ad94a(0x1df)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x2ad94a(0x37c)](_0x55a620);}}var _0x4afc50=(_0x275e6a=>(_0x275e6a[_0x275e6a[_0x5844b3(0x317)]=0x0]=_0x5844b3(0x317),_0x275e6a[_0x275e6a['OK']=0x1]='OK',_0x275e6a[_0x275e6a[_0x5844b3(0x1c2)]=0x2]=_0x5844b3(0x1c2),_0x275e6a[_0x275e6a['PERMISSION_DENIED']=0x3]=_0x5844b3(0x322),_0x275e6a[_0x275e6a[_0x5844b3(0x1f7)]=0x4]=_0x5844b3(0x1f7),_0x275e6a[_0x275e6a['UNAUTHENTICATED']=0x5]=_0x5844b3(0x1c5),_0x275e6a[_0x275e6a[_0x5844b3(0x275)]=0x6]=_0x5844b3(0x275),_0x275e6a[_0x275e6a[_0x5844b3(0x1cd)]=0x7]='INVALID_ARGUMENT',_0x275e6a[_0x275e6a[_0x5844b3(0x39e)]=0x8]='TOO_MANY_REQUESTS',_0x275e6a[_0x275e6a[_0x5844b3(0x3d4)]=0x9]=_0x5844b3(0x3d4),_0x275e6a[_0x275e6a['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x275e6a[_0x275e6a[_0x5844b3(0x38f)]=0xb]=_0x5844b3(0x38f),_0x275e6a[_0x275e6a[_0x5844b3(0x32a)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x275e6a[_0x275e6a[_0x5844b3(0x28d)]=0xd]=_0x5844b3(0x28d),_0x275e6a[_0x275e6a[_0x5844b3(0x3a8)]=0xe]=_0x5844b3(0x3a8),_0x275e6a[_0x275e6a[_0x5844b3(0x3a9)]=0x1389]=_0x5844b3(0x3a9),_0x275e6a[_0x275e6a[_0x5844b3(0x384)]=0x1771]=_0x5844b3(0x384),_0x275e6a[_0x275e6a[_0x5844b3(0x371)]=0x1772]=_0x5844b3(0x371),_0x275e6a[_0x275e6a[_0x5844b3(0x2d1)]=0x1773]=_0x5844b3(0x2d1),_0x275e6a[_0x275e6a['APPLY_REJECT']=0x1b59]=_0x5844b3(0x1da),_0x275e6a[_0x275e6a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5844b3(0x13e),_0x275e6a[_0x275e6a[_0x5844b3(0x305)]=0x1b5b]=_0x5844b3(0x305),_0x275e6a[_0x275e6a[_0x5844b3(0x3bb)]=0x1b5c]=_0x5844b3(0x3bb),_0x275e6a[_0x275e6a[_0x5844b3(0x1d7)]=0x1b5d]='APPLY_DUPLICATED',_0x275e6a[_0x275e6a[_0x5844b3(0x30d)]=0x1f41]=_0x5844b3(0x30d),_0x275e6a[_0x275e6a[_0x5844b3(0x325)]=0x2329]=_0x5844b3(0x325),_0x275e6a[_0x275e6a[_0x5844b3(0x379)]=0x232a]=_0x5844b3(0x379),_0x275e6a[_0x275e6a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5844b3(0x1ce),_0x275e6a[_0x275e6a[_0x5844b3(0x1c3)]=0x232c]=_0x5844b3(0x1c3),_0x275e6a[_0x275e6a[_0x5844b3(0x15f)]=0x232d]=_0x5844b3(0x15f),_0x275e6a[_0x275e6a[_0x5844b3(0x27a)]=0x2711]=_0x5844b3(0x27a),_0x275e6a[_0x275e6a[_0x5844b3(0x383)]=0x2712]=_0x5844b3(0x383),_0x275e6a[_0x275e6a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5844b3(0x335),_0x275e6a[_0x275e6a[_0x5844b3(0x20d)]=0x2714]=_0x5844b3(0x20d),_0x275e6a[_0x275e6a[_0x5844b3(0x1bf)]=0x271a]=_0x5844b3(0x1bf),_0x275e6a[_0x275e6a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x275e6a[_0x275e6a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5844b3(0x310),_0x275e6a[_0x275e6a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5844b3(0x2b5),_0x275e6a[_0x275e6a[_0x5844b3(0x34b)]=0x271e]=_0x5844b3(0x34b),_0x275e6a[_0x275e6a[_0x5844b3(0x171)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x275e6a[_0x275e6a[_0x5844b3(0x3ad)]=0x2720]=_0x5844b3(0x3ad),_0x275e6a[_0x275e6a[_0x5844b3(0x21d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x275e6a[_0x275e6a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5844b3(0x21e),_0x275e6a[_0x275e6a[_0x5844b3(0x210)]=0x2ee2]=_0x5844b3(0x210),_0x275e6a[_0x275e6a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5844b3(0x196),_0x275e6a[_0x275e6a[_0x5844b3(0x344)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x275e6a[_0x275e6a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5844b3(0x26f),_0x275e6a[_0x275e6a[_0x5844b3(0x33a)]=0x32c9]=_0x5844b3(0x33a),_0x275e6a[_0x275e6a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5844b3(0x2f3),_0x275e6a[_0x275e6a[_0x5844b3(0x3a2)]=0x32cb]=_0x5844b3(0x3a2),_0x275e6a[_0x275e6a[_0x5844b3(0x1fa)]=-0x1]='UNRECOGNIZED',_0x275e6a))(_0x4afc50||{}),_0x55a201=Object[_0x5844b3(0x21a)],_0x154e20=(_0x267da1,_0xf2959b,_0xbeaef2,_0x5c279f)=>{const _0x30ea97=_0x5844b3;for(var _0x33faba=_0x5c279f>0x1?void 0x0:_0x5c279f?_0x55a201(_0xf2959b,_0xbeaef2):_0xf2959b,_0x4024de=_0x267da1[_0x30ea97(0x259)]-0x1,_0x4f6a60;_0x4024de>=0x0;_0x4024de--)(_0x4f6a60=_0x267da1[_0x4024de])&&(_0x33faba=_0x4f6a60(_0x33faba)||_0x33faba);return _0x33faba;},_0x5a14f5=(_0x32904c,_0x215f5a)=>(_0x419807,_0x424f59)=>_0x215f5a(_0x419807,_0x424f59,_0x32904c);_0x2166b9[_0x5844b3(0x1c1)]=class extends _0x10bc43[_0x5844b3(0x3bd)]{constructor(_0x28cc58,_0x1075e4,_0x438f93){const _0x4f757d=_0x5844b3;super(),this[_0x4f757d(0x225)]=_0x28cc58,this['_httpService']=_0x1075e4,this[_0x4f757d(0x1be)]=_0x438f93;}async['runOnServer'](_0x72e6d3,_0x3883b4,_0x5c3a85,..._0xad36ab){const _0x37ae52=_0x5844b3;var _0x5e6d76,_0x649742,_0x3ce962,_0x21d56a;const _0x52ea4b=this[_0x37ae52(0x225)][_0x37ae52(0x3b5)]();if(!_0x52ea4b)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2b2602=((_0x5e6d76=this[_0x37ae52(0x1be)][_0x37ae52(0x2bc)](_0x49c0aa[_0x37ae52(0x253)]))!=null?_0x5e6d76:_0x49c0aa[_0x37ae52(0x268)])+'/'+_0x72e6d3+_0x37ae52(0x177)+_0x3883b4,_0x3f220b=new URL(window[_0x37ae52(0x33f)][_0x37ae52(0x2e9)]),_0xefece4={'scriptId':_0x72e6d3,'runId':(_0x649742=_0x3f220b[_0x37ae52(0x2fe)][_0x37ae52(0x37c)](_0x37ae52(0x1ff)))!=null?_0x649742:'','function':_0x3883b4,'unitId':_0x52ea4b[_0x37ae52(0x36b)](),'argsOfFunction':JSON[_0x37ae52(0x1e5)](_0xad36ab),'invokeId':(_0x3ce962=_0x5c3a85[_0x37ae52(0x1f0)])!=null?_0x3ce962:'','executionId':(_0x21d56a=_0x5c3a85[_0x37ae52(0x2f2)])!=null?_0x21d56a:''};try{const _0x112cdc=await this[_0x37ae52(0x19d)]['post'](_0x2b2602,{'body':_0xefece4});return _0x112cdc['body'][_0x37ae52(0x2c4)]&&_0x112cdc[_0x37ae52(0x22d)][_0x37ae52(0x2c4)][_0x37ae52(0x237)]!==_0x4afc50['OK']?'Failed':_0x112cdc[_0x37ae52(0x22d)][_0x37ae52(0x161)];}catch{return _0x37ae52(0x28b);}}},_0x2166b9['RemoteUniscriptService']=_0x154e20([_0x5a14f5(0x0,_0x10bc43[_0x5844b3(0x349)]),_0x5a14f5(0x1,_0x10bc43[_0x5844b3(0x206)](_0x48b5e7[_0x5844b3(0x3d6)])),_0x5a14f5(0x2,_0x10bc43['IConfigService'])],_0x2166b9[_0x5844b3(0x1c1)]),_0x2166b9['CollaborationStatusDisplay']=_0x1f8322,_0x2166b9[_0x5844b3(0x31c)]=_0x3792c2,_0x2166b9[_0x5844b3(0x396)]=_0xb2fdd,_0x2166b9['WebBrowserSingleActiveUnitService']=_0xee0ca0,_0x2166b9[_0x5844b3(0x19b)]=_0x62f2c3,Object[_0x5844b3(0x145)](_0x2166b9,Symbol[_0x5844b3(0x29e)],{'value':_0x5844b3(0x394)});}));
1
+ (function(_0x2599d2,_0x41a234){const _0x57355d=_0x1efe,_0x46cbd5=_0x2599d2();while(!![]){try{const _0x4aff0e=parseInt(_0x57355d(0x365))/0x1+-parseInt(_0x57355d(0x409))/0x2*(-parseInt(_0x57355d(0x37f))/0x3)+-parseInt(_0x57355d(0x422))/0x4*(parseInt(_0x57355d(0x243))/0x5)+parseInt(_0x57355d(0x439))/0x6+parseInt(_0x57355d(0x3ad))/0x7+-parseInt(_0x57355d(0x3f4))/0x8+-parseInt(_0x57355d(0x1ac))/0x9*(parseInt(_0x57355d(0x33a))/0xa);if(_0x4aff0e===_0x41a234)break;else _0x46cbd5['push'](_0x46cbd5['shift']());}catch(_0x4f4d5d){_0x46cbd5['push'](_0x46cbd5['shift']());}}}(_0x55f2,0x36bac),function(_0x5ab966,_0x4f9d43){const _0xbb272a=_0x1efe;typeof exports==_0xbb272a(0x23c)&&typeof module<'u'?_0x4f9d43(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==_0xbb272a(0x28b)&&define[_0xbb272a(0x39e)]?define([_0xbb272a(0x445),_0xbb272a(0x31e),'@univerjs/core',_0xbb272a(0x2c0),'@univerjs/network','@univerjs/docs-ui',_0xbb272a(0x31a),_0xbb272a(0x35a),_0xbb272a(0x410),_0xbb272a(0x425),_0xbb272a(0x2b6),_0xbb272a(0x32c),_0xbb272a(0x434),_0xbb272a(0x314),'react/jsx-runtime',_0xbb272a(0x3b7),_0xbb272a(0x1fa),_0xbb272a(0x43f),_0xbb272a(0x3d5)],_0x4f9d43):(_0x5ab966=typeof globalThis<'u'?globalThis:_0x5ab966||self,_0x4f9d43(_0x5ab966['UniverProCollaborationClientUi']={},_0x5ab966[_0xbb272a(0x282)],_0x5ab966[_0xbb272a(0x1a7)],_0x5ab966[_0xbb272a(0x1fd)],_0x5ab966[_0xbb272a(0x38f)],_0x5ab966[_0xbb272a(0x423)],_0x5ab966[_0xbb272a(0x2e1)],_0x5ab966[_0xbb272a(0x35a)],_0x5ab966[_0xbb272a(0x276)],_0x5ab966['UniverDocs'],_0x5ab966[_0xbb272a(0x3de)],_0x5ab966[_0xbb272a(0x3c3)],_0x5ab966[_0xbb272a(0x35a)][_0xbb272a(0x348)],_0x5ab966[_0xbb272a(0x317)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverUi'],_0x5ab966[_0xbb272a(0x39f)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverRpc']));}(this,function(_0x5527a1,_0x5a7b55,_0x1f0a18,_0x1b328b,_0x254943,_0x4dd21f,_0x6b8129,_0x5900c2,_0x1cac3e,_0xb349ea,_0x512390,_0x5e0c6b,_0x58e73e,_0x2642d0,_0x35553a,_0x3835ea,_0x177c57,_0x35c730,_0x29d29a){'use strict';const _0x530ea4=_0x1efe;var _0x510b9e=Object[_0x530ea4(0x36e)],_0x1b2207=(_0xd62896,_0x1fca83,_0x5b1c30)=>_0x1fca83 in _0xd62896?_0x510b9e(_0xd62896,_0x1fca83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1c30}):_0xd62896[_0x1fca83]=_0x5b1c30,_0x1b53be=(_0x13300a,_0x29f074,_0x451646)=>_0x1b2207(_0x13300a,typeof _0x29f074!='symbol'?_0x29f074+'':_0x29f074,_0x451646),_0x28f99e=Object[_0x530ea4(0x201)],_0x31b2c2=(_0xfdc19,_0x120328,_0x2f621f,_0x103084)=>{const _0x3c168d=_0x530ea4;for(var _0x151cf5=_0x103084>0x1?void 0x0:_0x103084?_0x28f99e(_0x120328,_0x2f621f):_0x120328,_0x5d0c21=_0xfdc19[_0x3c168d(0x2ee)]-0x1,_0x4b49b2;_0x5d0c21>=0x0;_0x5d0c21--)(_0x4b49b2=_0xfdc19[_0x5d0c21])&&(_0x151cf5=_0x4b49b2(_0x151cf5)||_0x151cf5);return _0x151cf5;},_0x54ae1a=(_0x45cb6c,_0x4d359e)=>(_0x3cee1c,_0x3cd7e7)=>_0x4d359e(_0x3cee1c,_0x3cd7e7,_0x45cb6c);let _0x25d763=class extends _0x1f0a18['RxDisposable']{constructor(_0x2b91a9,_0x58987f){const _0x365610=_0x530ea4;super(),this[_0x365610(0x3f3)]=_0x2b91a9,this[_0x365610(0x323)]=_0x58987f,this['_init']();}['_init'](){const _0x17f193=_0x530ea4,_0x229069=this;this[_0x17f193(0x3b8)](this[_0x17f193(0x3f3)][_0x17f193(0x26b)]({'onBeforePasteImage':async _0x3d3591=>{const _0x20f6ed=_0x17f193,_0x1ee4e7=await _0x229069[_0x20f6ed(0x323)][_0x20f6ed(0x2d3)](_0x3d3591);return _0x1ee4e7?{'source':_0x1ee4e7['source'],'imageSourceType':_0x1ee4e7[_0x20f6ed(0x41a)]}:null;}}));}};_0x25d763=_0x31b2c2([_0x54ae1a(0x0,_0x4dd21f[_0x530ea4(0x269)]),_0x54ae1a(0x1,_0x6b8129[_0x530ea4(0x205)])],_0x25d763);const _0x18bd82=[_0x530ea4(0x235),_0x530ea4(0x3d8),_0x530ea4(0x27d),_0x530ea4(0x21e),_0x530ea4(0x260),_0x530ea4(0x25a)];class _0x3e294f extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x3a9312=_0x530ea4;super(...arguments),_0x1b53be(this,_0x3a9312(0x2ba),new Map()),_0x1b53be(this,_0x3a9312(0x3ef),0x0);}['assignAColorForMemberID'](_0xe8bb15){const _0x1f8b7d=_0x530ea4;if(this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x447)](_0xe8bb15))return this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x22f)](_0xe8bb15);const _0x5393e3=_0x18bd82[this['_colorIndex']];return this[_0x1f8b7d(0x3ef)]=(this['_colorIndex']+0x1)%_0x18bd82[_0x1f8b7d(0x2ee)],this[_0x1f8b7d(0x2ba)]['set'](_0xe8bb15,_0x5393e3),_0x5393e3;}}function _0x3ba1e2(_0x5915c8){const _0x409110=_0x530ea4;let _0x39317d='';for(const _0x58ace9 of _0x5915c8){const {startOffset:_0x1beb2e,endOffset:_0x1266ae,isActive:_0x34a347,rangeType:_0x21725f,segmentId:_0x5a9e5b,segmentPage:_0x1019a4}=_0x58ace9;_0x39317d[_0x409110(0x2ee)]&&(_0x39317d+=','),_0x39317d+=_0x1beb2e+':'+_0x1266ae+':'+(_0x34a347?'1':'0')+':'+_0x21725f+':'+_0x5a9e5b+':'+_0x1019a4;}return _0x39317d;}function _0x472396(_0x17cda6){const _0x4f3ee0=_0x530ea4,_0x3ff926=_0x17cda6[_0x4f3ee0(0x3b5)](','),_0x28ff1d=[];for(const _0x596123 of _0x3ff926){const [_0x537936,_0x283eca,_0x584889,_0x1fa993,_0x4566ce,_0x4c3f2c]=_0x596123['split'](':');_0x28ff1d[_0x4f3ee0(0x36a)]({'startOffset':Number(_0x537936),'endOffset':Number(_0x283eca),'collapsed':_0x537936===_0x283eca,'isActive':_0x584889==='1','rangeType':_0x1fa993===_0x1f0a18['DOC_RANGE_TYPE'][_0x4f3ee0(0x3db)]?_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3db)]:_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3c8)],'segmentId':typeof _0x4566ce==_0x4f3ee0(0x39b)?String(_0x4566ce):'','segmentPage':Number(_0x4c3f2c!=null?_0x4c3f2c:-0x1)});}return _0x28ff1d[_0x4f3ee0(0x263)](_0xd1f7c9=>_0xd1f7c9[_0x4f3ee0(0x431)])||(_0x28ff1d[0x0]['isActive']=!0x0),_0x28ff1d;}class _0x50ea68 extends _0x1f0a18['RxDisposable']{constructor(){const _0x2ff5a9=_0x530ea4;super(...arguments),_0x1b53be(this,_0x2ff5a9(0x2e3),new _0x5900c2['BehaviorSubject'](null)),_0x1b53be(this,_0x2ff5a9(0x3e1),this[_0x2ff5a9(0x2e3)]['asObservable']());}['syncEditingCollabCursor'](_0x10f8d2){const _0x2f2ef8=_0x530ea4,{unitID:_0x5d75b8,memberID:_0x11394d,textRanges:_0x37b6a7}=_0x10f8d2,_0x33aca9=_0x3ba1e2(_0x37b6a7);if(_0x33aca9==='')return;const _0x32b5c8={'unitID':_0x5d75b8,'memberID':_0x11394d,'selection':_0x33aca9};this['_collabCursorState$'][_0x2f2ef8(0x428)](_0x32b5c8);}}var _0x99c464=Object[_0x530ea4(0x201)],_0x4fd055=(_0x6ef960,_0x171d21,_0x449254,_0x38b92a)=>{const _0x4b3289=_0x530ea4;for(var _0x1adc76=_0x38b92a>0x1?void 0x0:_0x38b92a?_0x99c464(_0x171d21,_0x449254):_0x171d21,_0x4a6a7e=_0x6ef960[_0x4b3289(0x2ee)]-0x1,_0x29d958;_0x4a6a7e>=0x0;_0x4a6a7e--)(_0x29d958=_0x6ef960[_0x4a6a7e])&&(_0x1adc76=_0x29d958(_0x1adc76)||_0x1adc76);return _0x1adc76;},_0x2c9cff=(_0x59967d,_0x4e6205)=>(_0x2c0d3f,_0x52a473)=>_0x4e6205(_0x2c0d3f,_0x52a473,_0x59967d);const _0xbf49a1=0x12c,_0x3c0c1e=0x64;let _0x2ccc25=class extends _0x1f0a18['RxDisposable']{constructor(_0x4820a6,_0x1257bf,_0x2b7f6f,_0x26d71a,_0x3ace50,_0x29bf4a,_0x4680b9,_0x4aa67c,_0xf3003c){const _0xaff32f=_0x530ea4;super(),_0x1b53be(this,_0xaff32f(0x2dd),!0x1),_0x1b53be(this,_0xaff32f(0x30a),!0x1),_0x1b53be(this,_0xaff32f(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0xaff32f(0x318),this['_cursorInfo$']['asObservable']()),_0x1b53be(this,'_roomMembers$',new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,_0xaff32f(0x22e),this[_0xaff32f(0x1d3)][_0xaff32f(0x420)](_0x5900c2['debounceTime'](_0xbf49a1))),_0x1b53be(this,_0xaff32f(0x1c1),_0x1f0a18[_0xaff32f(0x248)](_0x14144a=>{const _0x55affe=_0xaff32f,_0xac4197={'eventID':_0x1cac3e[_0x55affe(0x232)][_0x55affe(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x55affe(0x1aa)]['getMemberID'](),'selection':_0x3ba1e2(_0x14144a)}};this[_0x55affe(0x1aa)][_0x55affe(0x274)](_0xac4197,this[_0x55affe(0x275)]);},_0x3c0c1e)),(this[_0xaff32f(0x275)]=_0x4820a6,this[_0xaff32f(0x1aa)]=_0x1257bf,this['_injector']=_0x2b7f6f,this[_0xaff32f(0x1f5)]=_0x26d71a,this[_0xaff32f(0x3fd)]=_0x3ace50,this[_0xaff32f(0x3b4)]=_0x29bf4a,this[_0xaff32f(0x297)]=_0x4680b9,this[_0xaff32f(0x2cd)]=_0x4aa67c,this[_0xaff32f(0x3c2)]=_0xf3003c);}get[_0x530ea4(0x2eb)](){const _0xd3fc98=_0x530ea4;return this[_0xd3fc98(0x30e)][_0xd3fc98(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x178d33=_0x530ea4;return this[_0x178d33(0x1d3)][_0x178d33(0x1e4)]();}['dispose'](){const _0x280420=_0x530ea4;super[_0x280420(0x342)](),this[_0x280420(0x30e)][_0x280420(0x428)](new Map()),this[_0x280420(0x30e)]['complete'](),this['_roomMembers$'][_0x280420(0x428)]([]),this['_roomMembers$'][_0x280420(0x361)]();}[_0x530ea4(0x29f)](){const _0x222d28=_0x530ea4;this['_init']||(this[_0x222d28(0x30a)]=!0x0,this[_0x222d28(0x1aa)]['sessionStatus$'][_0x222d28(0x420)](_0x5900c2['takeUntil'](this[_0x222d28(0x211)]))['subscribe'](_0x2da77c=>{const _0xb53f3d=_0x222d28;_0x2da77c===_0x5a7b55['SessionStatus'][_0xb53f3d(0x3ca)]?this[_0xb53f3d(0x25e)]():this[_0xb53f3d(0x344)]();}),this['_session'][_0x222d28(0x21d)][_0x222d28(0x420)](_0x5900c2[_0x222d28(0x24a)](this['dispose$']))[_0x222d28(0x272)](_0x326570=>{const _0x17f2e8=_0x222d28,_0x5f300f=_0x326570[_0x17f2e8(0x289)];_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x3bc)]&&this['_onCursorUpdate'](_0x326570),_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x2d5)]&&this['_onCursorDelete'](_0x326570);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)]['onCommandExecuted'](_0x432522=>{const _0x4dc5d3=_0x222d28,_0x3e1efe=_0x432522['params'];_0x3e1efe!=null&&this[_0x4dc5d3(0x2dd)]&&_0x432522['id']===_0xb349ea['SetTextSelectionsOperation']['id']&&_0x3e1efe[_0x4dc5d3(0x3f0)]===this[_0x4dc5d3(0x275)]&&_0x3e1efe[_0x4dc5d3(0x1be)]===!0x1&&_0x3e1efe[_0x4dc5d3(0x28e)][_0x4dc5d3(0x2ee)]>0x0&&this[_0x4dc5d3(0x1c1)](_0x3e1efe['ranges']);})),this[_0x222d28(0x3b4)][_0x222d28(0x3e1)][_0x222d28(0x420)](_0x5900c2['takeUntil'](this['dispose$']))[_0x222d28(0x272)](_0x122a42=>{const _0x313469=_0x222d28;if((_0x122a42==null?void 0x0:_0x122a42[_0x313469(0x275)])!==this[_0x313469(0x275)])return;const _0x3dec95={'eventID':_0x1cac3e[_0x313469(0x232)][_0x313469(0x3bc)],'data':_0x122a42};this[_0x313469(0x356)](_0x3dec95);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)][_0x222d28(0x3fb)](_0x4909b4=>{const _0x1f3adb=_0x222d28;if(_0x4909b4['params']==null)return;const _0x44c4d7=_0x4909b4[_0x1f3adb(0x357)];if(_0x4909b4['id']!==_0xb349ea[_0x1f3adb(0x36b)]['id']||_0x44c4d7['unitId']!==this[_0x1f3adb(0x275)])return;const _0x401919={'id':'doc.mutation.rich-text-editing','params':_0x44c4d7},_0x7065fb=this['cursorInfo'];for(const [_0x1e1d1c,_0x24988d]of _0x7065fb){const _0x272950={'id':_0x1f3adb(0x28f),'params':{'unitId':this[_0x1f3adb(0x275)],'actions':null,'textRanges':_0x24988d[_0x1f3adb(0x28e)]}},_0x2c45e8=this[_0x1f3adb(0x297)][_0x1f3adb(0x1d5)](_0x401919,_0x272950,!0x1);if(_0x1cac3e[_0x1f3adb(0x3da)](_0x2c45e8))throw _0x2c45e8[_0x1f3adb(0x31b)];_0x7065fb[_0x1f3adb(0x3ec)](_0x1e1d1c,{..._0x24988d,'ranges':_0x2c45e8[_0x1f3adb(0x1ab)][_0x1f3adb(0x357)][_0x1f3adb(0x2f4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x7065fb);});})));}[_0x530ea4(0x356)](_0x253475){const _0x30ef6a=_0x530ea4;var _0x2a1203,_0x15b8ed;const {memberID:_0x216d8c,selection:_0x3b97fc}=_0x253475[_0x30ef6a(0x2b9)],_0x139957=_0x472396(_0x3b97fc),_0x263ce5=(_0x15b8ed=(_0x2a1203=this['_memberService']['getMember'](this[_0x30ef6a(0x275)],_0x216d8c))==null?void 0x0:_0x2a1203[_0x30ef6a(0x249)])!=null?_0x15b8ed:_0x30ef6a(0x39d),_0x189d15={'color':this[_0x30ef6a(0x1f5)][_0x30ef6a(0x343)](_0x216d8c),'name':_0x263ce5,'ranges':_0x139957},_0x54dcb9=this['cursorInfo'];_0x54dcb9[_0x30ef6a(0x3ec)](_0x216d8c,_0x189d15),this[_0x30ef6a(0x30e)][_0x30ef6a(0x428)](_0x54dcb9);}[_0x530ea4(0x2ab)](_0xd2de37){const _0xb65af2=_0x530ea4,{memberID:_0x2503c1}=_0xd2de37['data'],_0x15244d=this[_0xb65af2(0x2eb)];_0x15244d[_0xb65af2(0x222)](_0x2503c1),this[_0xb65af2(0x30e)][_0xb65af2(0x428)](_0x15244d);}[_0x530ea4(0x25e)](){const _0x3ead3d=_0x530ea4;var _0x3a377c;if(this[_0x3ead3d(0x2dd)]=!0x0,((_0x3a377c=this[_0x3ead3d(0x2cd)][_0x3ead3d(0x3d6)]())==null?void 0x0:_0x3a377c[_0x3ead3d(0x1e8)]())!==this['unitID'])return;const _0x210fa4=this['_injector'][_0x3ead3d(0x22f)](_0xb349ea[_0x3ead3d(0x3f6)])[_0x3ead3d(0x35f)]();Array[_0x3ead3d(0x307)](_0x210fa4)&&_0x210fa4[_0x3ead3d(0x2ee)]>0x0&&this[_0x3ead3d(0x1c1)](_0x210fa4);}['_toggleOffline'](){const _0x1564c2=_0x530ea4;this[_0x1564c2(0x2dd)]=!0x1;}};_0x2ccc25=_0x4fd055([_0x2c9cff(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2c9cff(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x2c9cff(0x4,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x3a3)])),_0x2c9cff(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x50ea68)),_0x2c9cff(0x6,_0x1cac3e[_0x530ea4(0x41e)]),_0x2c9cff(0x7,_0x1f0a18[_0x530ea4(0x2db)]),_0x2c9cff(0x8,_0x1f0a18[_0x530ea4(0x3d7)])],_0x2ccc25);var _0x207dcb=Object[_0x530ea4(0x201)],_0x1ee03d=(_0x5357ac,_0x578d5f,_0x1f618f,_0x561a26)=>{const _0x21fcc3=_0x530ea4;for(var _0x3cb56d=_0x561a26>0x1?void 0x0:_0x561a26?_0x207dcb(_0x578d5f,_0x1f618f):_0x578d5f,_0x18e4f7=_0x5357ac[_0x21fcc3(0x2ee)]-0x1,_0x43ce34;_0x18e4f7>=0x0;_0x18e4f7--)(_0x43ce34=_0x5357ac[_0x18e4f7])&&(_0x3cb56d=_0x43ce34(_0x3cb56d)||_0x3cb56d);return _0x3cb56d;},_0x1ef04f=(_0x5bd732,_0x524281)=>(_0x2a87dc,_0x464bd3)=>_0x524281(_0x2a87dc,_0x464bd3,_0x5bd732);const _0xb532ee=0x12c,_0x21482b=0x64,_0x1ffd99=()=>{let _0x422cc1=[],_0x31de6b=!0x1;return _0x589315=>{const _0x3e2f35=_0x1efe;_0x422cc1[_0x3e2f35(0x36a)](_0x589315),_0x31de6b||(_0x31de6b=!0x0,setTimeout(()=>{_0x422cc1['forEach'](_0x7bfae2=>_0x7bfae2()),_0x422cc1=[],_0x31de6b=!0x1;}));};};let _0x553a42=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x15be43,_0x12d922,_0xb65e2c,_0x2896af,_0x412cc3,_0x2f0726,_0x24537f,_0x429ae8){const _0x338e8b=_0x530ea4;super(),_0x1b53be(this,_0x338e8b(0x2dd),!0x1),_0x1b53be(this,_0x338e8b(0x30a),!0x1),_0x1b53be(this,_0x338e8b(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0x338e8b(0x318),this[_0x338e8b(0x30e)][_0x338e8b(0x380)]()),_0x1b53be(this,_0x338e8b(0x1d3),new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,'roomMembers$',this['_roomMembers$'][_0x338e8b(0x420)](_0x5900c2[_0x338e8b(0x285)](_0xb532ee))),_0x1b53be(this,_0x338e8b(0x1c1),_0x1f0a18[_0x338e8b(0x248)]((_0x1fb4fc,_0x101536)=>{const _0x359fa5=_0x338e8b,_0x5b0686={'eventID':_0x1cac3e[_0x359fa5(0x232)][_0x359fa5(0x3bc)],'data':{'unitID':this[_0x359fa5(0x275)],'memberID':this[_0x359fa5(0x1aa)][_0x359fa5(0x27f)](),'selection':_0x512390['serializeRangeWithSheet'](_0x1fb4fc,_0x101536[_0x359fa5(0x1ef)])}};this[_0x359fa5(0x1aa)][_0x359fa5(0x274)](_0x5b0686,this[_0x359fa5(0x275)]);},_0x21482b)),(this[_0x338e8b(0x275)]=_0x15be43,this['_session']=_0x12d922,this[_0x338e8b(0x335)]=_0xb65e2c,this[_0x338e8b(0x1f5)]=_0x2896af,this[_0x338e8b(0x3fd)]=_0x412cc3,this[_0x338e8b(0x2cd)]=_0x2f0726,this[_0x338e8b(0x3c2)]=_0x24537f,this[_0x338e8b(0x25d)]=_0x429ae8);}get['cursorInfo'](){const _0x517a4b=_0x530ea4;return this[_0x517a4b(0x30e)][_0x517a4b(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x2e8558=_0x530ea4;return this[_0x2e8558(0x1d3)][_0x2e8558(0x1e4)]();}[_0x530ea4(0x342)](){const _0x48ee86=_0x530ea4;super[_0x48ee86(0x342)](),this[_0x48ee86(0x30e)][_0x48ee86(0x428)](new Map()),this['_cursorInfo$'][_0x48ee86(0x361)](),this['_roomMembers$'][_0x48ee86(0x428)]([]),this['_roomMembers$'][_0x48ee86(0x361)]();}['init'](){const _0x5440a2=_0x530ea4;this[_0x5440a2(0x30a)]||(this[_0x5440a2(0x30a)]=!0x0,this[_0x5440a2(0x1aa)][_0x5440a2(0x333)][_0x5440a2(0x420)](_0x5900c2[_0x5440a2(0x24a)](this[_0x5440a2(0x211)]))['subscribe'](_0x1e4be1=>{const _0x3df592=_0x5440a2;_0x1e4be1===_0x5a7b55[_0x3df592(0x313)][_0x3df592(0x3ca)]?this['_toggleOnline']():this[_0x3df592(0x344)]();}),this['_session'][_0x5440a2(0x21d)][_0x5440a2(0x420)](_0x5900c2['takeUntil'](this['dispose$']))['subscribe'](_0x49de7f=>{const _0x33114d=_0x5440a2,_0x326b12=_0x49de7f['eventID'];_0x326b12===_0x1cac3e[_0x33114d(0x232)]['UPDATE_CURSOR']&&this[_0x33114d(0x356)](_0x49de7f),_0x326b12===_0x1cac3e[_0x33114d(0x232)][_0x33114d(0x2d5)]&&this[_0x33114d(0x2ab)](_0x49de7f);}),this[_0x5440a2(0x21f)](),this[_0x5440a2(0x3b8)](this[_0x5440a2(0x3c2)][_0x5440a2(0x3fb)](_0x3b3b19=>{const _0x3d95ca=_0x5440a2;if(this[_0x3d95ca(0x2dd)]&&_0x3b3b19['id']===_0x5e0c6b[_0x3d95ca(0x1bb)]['id']&&_0x3b3b19[_0x3d95ca(0x357)][_0x3d95ca(0x3f0)]===this[_0x3d95ca(0x275)]){const _0x52092f=_0x3b3b19[_0x3d95ca(0x357)];this['_updateLocalCursor'](_0x52092f[_0x3d95ca(0x2f8)],_0x52092f['selections'][0x0]);}})));}[_0x530ea4(0x356)](_0x3cc600){const _0x2b1c39=_0x530ea4;var _0xd37296,_0x3976bc;const {memberID:_0x1b2a8d,selection:_0xbf364}=_0x3cc600[_0x2b1c39(0x2b9)],{sheetName:_0x1fd41f,range:_0x401a68}=_0x512390[_0x2b1c39(0x30f)](_0xbf364),_0x262520={'name':(_0x3976bc=(_0xd37296=this[_0x2b1c39(0x3fd)][_0x2b1c39(0x405)](this['unitID'],_0x1b2a8d))==null?void 0x0:_0xd37296[_0x2b1c39(0x249)])!=null?_0x3976bc:_0x2b1c39(0x39d),'range':this[_0x2b1c39(0x39a)](_0x1fd41f,_0x401a68),'sheetID':_0x1fd41f,'color':this[_0x2b1c39(0x1f5)][_0x2b1c39(0x343)](_0x1b2a8d),'selection':_0xbf364},_0x25d3de=this[_0x2b1c39(0x2eb)];_0x25d3de[_0x2b1c39(0x3ec)](_0x1b2a8d,_0x262520),this[_0x2b1c39(0x30e)][_0x2b1c39(0x428)](_0x25d3de);}[_0x530ea4(0x2ab)](_0x3fd1b6){const _0x22ba72=_0x530ea4,{memberID:_0x20b203}=_0x3fd1b6[_0x22ba72(0x2b9)],_0x23681e=this['cursorInfo'];_0x23681e[_0x22ba72(0x222)](_0x20b203),this['_cursorInfo$'][_0x22ba72(0x428)](_0x23681e);}[_0x530ea4(0x39a)](_0x3415f9,_0x15dca6){const _0x3cd729=_0x530ea4;var _0x52a287,_0x28bb93;const _0x3de575=(_0x28bb93=(_0x52a287=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3cd729(0x275)]))==null?void 0x0:_0x52a287[_0x3cd729(0x3f8)](_0x3415f9))==null?void 0x0:_0x28bb93[_0x3cd729(0x3e2)]();return(_0x3de575==null?void 0x0:_0x3de575[_0x3cd729(0x2c8)](_0x15b28e=>_0x1f0a18[_0x3cd729(0x1b1)][_0x3cd729(0x2d1)](_0x15b28e,_0x15dca6)))||_0x15dca6;}['_onRefRangeChange'](){const _0x4f5939=_0x530ea4,_0x4ec81f=new _0x1f0a18[(_0x4f5939(0x2c5))](),_0x39a936=_0x1ffd99(),_0xba4d11=()=>{const _0x5872b8=_0x4f5939;_0x4ec81f[_0x5872b8(0x342)]();const _0x5e0a2d=(_0x310342,_0x3deac1,_0xb8ab2f,_0x3d34c7)=>{const _0x29b4f7=_0x5872b8;let _0x190fcd=[];switch(_0x310342['id']){case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x1ce)]:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveLeft'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveUp'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x352)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x247)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x345)]:{_0x190fcd=_0x5e0c6b['handleInsertRangeMoveDown'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x384)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x25b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['InsertRowCommandId']:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x337)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x364)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x2b1)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40d)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x3f9)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x349)](_0x310342,_0x3d34c7);break;}}const _0x42af65=_0x5e0c6b[_0x29b4f7(0x3a1)](_0x190fcd,_0x3d34c7),_0x308e54=this[_0x29b4f7(0x2eb)][_0x29b4f7(0x22f)](_0x3deac1);if(_0x308e54&&_0x42af65){const _0x5dcf61={..._0x308e54,'range':_0x42af65};this[_0x29b4f7(0x2eb)][_0x29b4f7(0x3ec)](_0x3deac1,_0x5dcf61),_0x39a936(()=>{const _0x251cdb=_0x29b4f7,_0x330bce=this[_0x251cdb(0x25d)][_0x251cdb(0x226)](_0x42af65,_0x121720=>(_0x330bce[_0x251cdb(0x342)](),_0x5e0a2d(_0x121720,_0x3deac1,_0xb8ab2f,_0x42af65)));_0x4ec81f[_0x251cdb(0x20b)](_0x330bce);});}return{'redos':[],'undos':[]};};this[_0x5872b8(0x2eb)]['forEach']((_0x399960,_0xca098a)=>{const _0x3c1315=_0x5872b8,{range:_0x4333e6,sheetID:_0x4032fd}=_0x399960,_0x4f0c1a=this[_0x3c1315(0x25d)][_0x3c1315(0x226)](_0x4333e6,_0x2efc6a=>(_0x4f0c1a['dispose'](),_0x5e0a2d(_0x2efc6a,_0xca098a,_0x4032fd,_0x4333e6)));_0x4ec81f[_0x3c1315(0x20b)](_0x4f0c1a);});};this[_0x4f5939(0x3b8)](_0x1f0a18[_0x4f5939(0x303)](this[_0x4f5939(0x30e)][_0x4f5939(0x272)](()=>{_0xba4d11();})));}[_0x530ea4(0x25e)](){const _0x496082=_0x530ea4;var _0x1f5992,_0x269c4b;if(this['_online']=!0x0,((_0x1f5992=this[_0x496082(0x2cd)][_0x496082(0x3d6)]())==null?void 0x0:_0x1f5992[_0x496082(0x1e8)]())!==this['unitID'])return;const _0x280020=(_0x269c4b=this[_0x496082(0x335)][_0x496082(0x22f)](_0x5e0c6b[_0x496082(0x350)])['getCurrentSelections']())==null?void 0x0:_0x269c4b[0x0],_0x308f31=this[_0x496082(0x2cd)][_0x496082(0x3e3)](_0x1f0a18[_0x496082(0x358)]['UNIVER_SHEET'])['getActiveSheet']();_0x280020&&_0x308f31&&this[_0x496082(0x1c1)](_0x308f31[_0x496082(0x1a9)](),_0x280020);}[_0x530ea4(0x344)](){const _0x50f126=_0x530ea4;this[_0x50f126(0x2dd)]=!0x1;}};_0x553a42=_0x1ee03d([_0x1ef04f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x1ef04f(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x1ef04f(0x4,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x3a3)])),_0x1ef04f(0x5,_0x1f0a18[_0x530ea4(0x2db)]),_0x1ef04f(0x6,_0x1f0a18['ICommandService']),_0x1ef04f(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x5e0c6b[_0x530ea4(0x1e9)]))],_0x553a42);var _0x42a267=Object['getOwnPropertyDescriptor'],_0x4c0614=(_0x16d296,_0x29dfbd,_0x2caf5d,_0x103d13)=>{const _0x14f3cc=_0x530ea4;for(var _0xc3dbe4=_0x103d13>0x1?void 0x0:_0x103d13?_0x42a267(_0x29dfbd,_0x2caf5d):_0x29dfbd,_0x4fb40f=_0x16d296[_0x14f3cc(0x2ee)]-0x1,_0x4116f8;_0x4fb40f>=0x0;_0x4fb40f--)(_0x4116f8=_0x16d296[_0x4fb40f])&&(_0xc3dbe4=_0x4116f8(_0xc3dbe4)||_0xc3dbe4);return _0xc3dbe4;},_0x173ee3=(_0x4461a8,_0x293bd1)=>(_0x1128f,_0x3ca8d8)=>_0x293bd1(_0x1128f,_0x3ca8d8,_0x4461a8);let _0x201d0c=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x5f513a,_0x905e26,_0x228505){const _0x50cf57=_0x530ea4;super(),_0x1b53be(this,_0x50cf57(0x1dd),new Map()),_0x1b53be(this,_0x50cf57(0x227),new _0x5900c2[(_0x50cf57(0x1c7))]()),(this['_univerInstanceService']=_0x5f513a,this[_0x50cf57(0x335)]=_0x905e26,this[_0x50cf57(0x241)]=_0x228505,this['_init']());}[_0x530ea4(0x342)](){const _0x12f66f=_0x530ea4;super[_0x12f66f(0x342)](),this['_entityInit$'][_0x12f66f(0x361)](),this[_0x12f66f(0x1dd)][_0x12f66f(0x371)](_0x29c6fc=>_0x29c6fc[_0x12f66f(0x342)]());}[_0x530ea4(0x3be)](_0x19ad77){const _0x2d2aec=_0x530ea4;return this[_0x2d2aec(0x1dd)]['has'](_0x19ad77)?this['_entities'][_0x2d2aec(0x22f)](_0x19ad77)[_0x2d2aec(0x318)]:this[_0x2d2aec(0x227)][_0x2d2aec(0x420)](_0x5900c2[_0x2d2aec(0x26d)](_0x2c3a27=>_0x2c3a27['unitID']===_0x19ad77),_0x5900c2['switchMap'](_0xd72bae=>_0xd72bae[_0x2d2aec(0x318)]));}[_0x530ea4(0x30a)](){const _0x596cbb=_0x530ea4;this[_0x596cbb(0x2cd)][_0x596cbb(0x36c)](_0x1f0a18['UniverInstanceType'][_0x596cbb(0x1ff)])[_0x596cbb(0x420)](_0x5900c2['takeUntil'](this[_0x596cbb(0x211)]))[_0x596cbb(0x272)](async _0x1d966a=>{const _0x174efa=_0x596cbb,_0x29d88c=_0x1d966a['getUnitId'](),_0x54be56=await this[_0x174efa(0x2fd)](_0x29d88c);this[_0x174efa(0x227)]['next'](_0x54be56),this[_0x174efa(0x1dd)]['set'](_0x29d88c,_0x54be56);}),this['_univerInstanceService'][_0x596cbb(0x36c)](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)])[_0x596cbb(0x420)](_0x5900c2[_0x596cbb(0x24a)](this[_0x596cbb(0x211)]))[_0x596cbb(0x420)](_0x5900c2['filter'](_0x464db6=>!_0x464db6[_0x596cbb(0x1e8)]()[_0x596cbb(0x398)]('__')))[_0x596cbb(0x272)](async _0x12614b=>{const _0x5a5a1e=_0x596cbb,_0x35c7d7=_0x12614b['getUnitId'](),_0x2be09d=await this[_0x5a5a1e(0x34c)](_0x35c7d7);this[_0x5a5a1e(0x227)][_0x5a5a1e(0x428)](_0x2be09d),this[_0x5a5a1e(0x1dd)][_0x5a5a1e(0x3ec)](_0x35c7d7,_0x2be09d);}),_0x5900c2[_0x596cbb(0x35e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)]),this[_0x596cbb(0x2cd)]['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)]['UNIVER_SHEET']))['pipe'](_0x5900c2['takeUntil'](this['dispose$']))[_0x596cbb(0x272)](_0x4b367c=>{const _0xe1ed70=_0x596cbb,_0x2ceaf5=_0x4b367c[_0xe1ed70(0x1e8)](),_0xd49afe=this[_0xe1ed70(0x1dd)][_0xe1ed70(0x22f)](_0x2ceaf5);_0xd49afe&&(_0xd49afe[_0xe1ed70(0x342)](),this[_0xe1ed70(0x1dd)][_0xe1ed70(0x222)](_0x2ceaf5));});}async[_0x530ea4(0x2fd)](_0xbf9f0a){const _0x439c39=_0x530ea4,_0x447fbe=await this['_collabSessionService'][_0x439c39(0x362)](_0xbf9f0a),_0x117cf8=this['_injector'][_0x439c39(0x2e9)](_0x553a42,_0xbf9f0a,_0x447fbe);return _0x117cf8['init'](),_0x117cf8;}async['_startDocCollabCursor'](_0x3b0dbd){const _0x28107e=_0x530ea4,_0x173837=await this[_0x28107e(0x241)]['requireSession'](_0x3b0dbd),_0x10e3c6=this[_0x28107e(0x335)][_0x28107e(0x2e9)](_0x2ccc25,_0x3b0dbd,_0x173837);return _0x10e3c6[_0x28107e(0x29f)](),_0x10e3c6;}};_0x201d0c=_0x4c0614([_0x173ee3(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x173ee3(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x173ee3(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationSessionService']))],_0x201d0c);const _0x4c79ca=0x14,_0x1b2881=0xc8,_0x390ed3=0x4,_0x2afd1e=0x5;function _0x3874d2(_0x16719e,_0x5ae0fc){const _0x4c2eaa=_0x530ea4;let {radius:_0x3a55f7,width:_0x26ba28,height:_0x155093}=_0x5ae0fc;_0x3a55f7=_0x3a55f7!=null?_0x3a55f7:0x0,_0x26ba28=_0x26ba28!=null?_0x26ba28:0x1e,_0x155093=_0x155093!=null?_0x155093:0x1e;let _0x5c9d6b=0x0,_0x523f40=0x0,_0x27c517=0x0;_0x5c9d6b=_0x523f40=_0x27c517=Math[_0x4c2eaa(0x30d)](_0x3a55f7,_0x26ba28/0x2,_0x155093/0x2),_0x16719e[_0x4c2eaa(0x417)](),_0x16719e[_0x4c2eaa(0x402)](_0x5c9d6b,0x0),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28-_0x523f40,0x0),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x523f40,_0x523f40,_0x523f40,Math['PI']*0x3/0x2,0x0,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28,_0x155093-_0x27c517),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x27c517,_0x155093-_0x27c517,_0x27c517,0x0,Math['PI']/0x2,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x155093),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x5c9d6b),_0x16719e['arc'](_0x5c9d6b,_0x5c9d6b,_0x5c9d6b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16719e[_0x4c2eaa(0x33b)](),_0x5ae0fc['fill']&&(_0x16719e[_0x4c2eaa(0x412)](),_0x16719e[_0x4c2eaa(0x3a4)]=_0x5ae0fc['fill'],_0x5ae0fc[_0x4c2eaa(0x3e0)]===_0x4c2eaa(0x3c9)?_0x16719e[_0x4c2eaa(0x1c4)](_0x4c2eaa(0x3c9)):_0x16719e[_0x4c2eaa(0x1c4)](),_0x16719e['restore']());}class _0x2d6177 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x54d587,_0x53d90e){const _0x378841=_0x530ea4;super(_0x54d587,_0x53d90e),_0x1b53be(this,_0x378841(0x1b4)),_0x1b53be(this,_0x378841(0x1b2)),(this[_0x378841(0x1b4)]=_0x53d90e==null?void 0x0:_0x53d90e[_0x378841(0x1b4)],this['text']=_0x53d90e==null?void 0x0:_0x53d90e['text']);}static[_0x530ea4(0x400)](_0x9e617a,_0x17e975){const _0x1bf4be=_0x530ea4,{text:_0x240dd2,color:_0x5d0905}=_0x17e975;_0x9e617a[_0x1bf4be(0x412)](),_0x9e617a['font']=_0x1bf4be(0x3fc);const _0x516dd8=_0x9e617a[_0x1bf4be(0x2ff)](_0x240dd2)[_0x1bf4be(0x25c)],_0x22fb3c=Math['min'](_0x516dd8+0x2*_0x390ed3,_0x1b2881);_0x3874d2(_0x9e617a,{'height':_0x4c79ca,'radius':0x4,'width':_0x22fb3c,'fill':_0x5d0905}),_0x9e617a[_0x1bf4be(0x3a4)]=_0x1bf4be(0x32d);const _0x525f34=_0x390ed3,_0x5949bf=_0x4c79ca-_0x2afd1e,_0x2a7a69=_0x1b2881-0x2*_0x390ed3;if(_0x516dd8>_0x2a7a69){let _0x35d5ae='',_0x582505=0x0;for(const _0x14357f of _0x240dd2){const _0x47207f=_0x9e617a[_0x1bf4be(0x2ff)](_0x14357f)[_0x1bf4be(0x25c)];if(_0x582505+_0x47207f<=_0x2a7a69-_0x9e617a['measureText']('...')[_0x1bf4be(0x25c)])_0x35d5ae+=_0x14357f,_0x582505+=_0x47207f;else{_0x35d5ae+=_0x1bf4be(0x340);break;}}_0x9e617a['fillText'](_0x35d5ae,_0x525f34,_0x5949bf);}else _0x9e617a[_0x1bf4be(0x1e6)](_0x240dd2,_0x525f34,_0x5949bf);_0x9e617a[_0x1bf4be(0x391)]();}['_draw'](_0x1a83d6){const _0x5ee558=_0x530ea4;_0x2d6177[_0x5ee558(0x400)](_0x1a83d6,this);}}const _0x2f287c=_0x530ea4(0x238),_0x383cc0=_0x530ea4(0x2f6),_0x46878b='collab-rect-range-',_0x49a11a=0x6,_0x4b20f8=1.5,_0x1f854d=0x4,_0x220ce7=1.5,_0xa7614='rgba(255,\x20255,\x20255,\x200.01)';class _0x2d8475{constructor(_0x3640ee,_0x108444,_0x15859a,_0x16d320){const _0x11edcf=_0x530ea4;_0x1b53be(this,_0x11edcf(0x429),[]),_0x1b53be(this,'_anchor',null),_0x1b53be(this,'_textBubble',null),_0x1b53be(this,'_anchorDot',null),_0x1b53be(this,_0x11edcf(0x230),null),_0x1b53be(this,_0x11edcf(0x270),null),(this[_0x11edcf(0x1e5)]=_0x3640ee,this[_0x11edcf(0x42f)]=_0x108444,this[_0x11edcf(0x2a8)]=_0x15859a,this[_0x11edcf(0x3a0)]=_0x16d320,this[_0x11edcf(0x291)]());}set['_hover'](_0x1f9e55){const _0x37f044=_0x530ea4;_0x1f9e55?(this[_0x37f044(0x265)]&&this[_0x37f044(0x265)][_0x37f044(0x3ce)](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x40a)]()):(this['_anchorDot']&&this[_0x37f044(0x265)]['show'](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x3ce)]());}[_0x530ea4(0x342)](){const _0x5f8f12=_0x530ea4;for(const _0x4ad786 of this[_0x5f8f12(0x429)])_0x4ad786['dispose']();this[_0x5f8f12(0x256)]&&this[_0x5f8f12(0x256)]['dispose'](),this[_0x5f8f12(0x265)]&&this[_0x5f8f12(0x265)]['dispose'](),this['_anchor']&&this[_0x5f8f12(0x406)][_0x5f8f12(0x342)](),this[_0x5f8f12(0x270)]&&this[_0x5f8f12(0x270)]();}[_0x530ea4(0x291)](){const _0x1ab197=_0x530ea4;var _0x53f058;const {_docSkeleton:_0x3763be,_document:_0x145b69}=this,{color:_0x5dbfd9,name:_0x39c00f,ranges:_0x3db144}=this[_0x1ab197(0x1e5)],_0x233d83=_0x145b69[_0x1ab197(0x3bf)](),{docsLeft:_0x87aba5,docsTop:_0xfc2c1e}=_0x233d83,_0x1e331a=new _0x4dd21f[(_0x1ab197(0x1ad))](_0x233d83,_0x3763be);for(const {startOffset:_0x261c86,endOffset:_0x326909,rangeType:_0x23c239,segmentId:_0x513c54,segmentPage:_0x5210c5,collapsed:_0x10c914,isActive:_0x4c59c7}of _0x3db144){const _0x117037=_0x3763be[_0x1ab197(0x2e7)](_0x261c86,!0x0,_0x513c54,_0x5210c5);let _0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909,!0x0,_0x513c54,_0x5210c5);if(_0x318f94==null&&(_0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909-0x1,!0x1,_0x513c54,_0x5210c5)),_0x4c59c7){const {contentBoxPointGroup:_0x35cfb7}=_0x1e331a[_0x1ab197(0x261)](_0x318f94,_0x318f94);if(_0x35cfb7[_0x1ab197(0x2ee)]===0x0)continue;this[_0x1ab197(0x2d9)](_0x5dbfd9,_0x35cfb7,_0x87aba5,_0xfc2c1e,_0x39c00f),this[_0x1ab197(0x270)]=this['_handleHover']();}if(_0x117037&&_0x318f94){if(_0x23c239===_0x1f0a18[_0x1ab197(0x2df)][_0x1ab197(0x3c8)]){const _0x6efb71=new _0x4dd21f[(_0x1ab197(0x39c))](_0x233d83,_0x3763be),{pointGroup:_0x4e0edc}=(_0x53f058=_0x6efb71[_0x1ab197(0x261)](_0x117037,_0x318f94))!=null?_0x53f058:{};if(_0x4e0edc==null||_0x4e0edc['length']===0x0)continue;this[_0x1ab197(0x403)](_0x5dbfd9,_0x4e0edc,_0x87aba5,_0xfc2c1e);}else{if(!_0x10c914){const {borderBoxPointGroup:_0xadacc2}=_0x1e331a[_0x1ab197(0x261)](_0x117037,_0x318f94);if(_0xadacc2['length']===0x0)continue;this[_0x1ab197(0x33d)](_0x5dbfd9,_0xadacc2,_0x87aba5,_0xfc2c1e);}}}}}[_0x530ea4(0x2d9)](_0x32d5a6,_0x123eaf,_0x9e78a4,_0x3a7d21,_0x24958a){const _0x41667c=_0x530ea4,_0x3cd718=this['_getAnchorBounding'](_0x123eaf),{left:_0x70a58a,top:_0x3f2e99,height:_0x3b146a}=_0x3cd718,_0x2c58a5=this[_0x41667c(0x386)](),_0x249acc=_0x220ce7/_0x2c58a5,_0x12af96=new _0x1b328b[(_0x41667c(0x311))](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21,'height':_0x3b146a,'width':_0x4b20f8,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'strokeWidth':_0x249acc,'stroke':_0xa7614,'evented':!0x0});this['_anchor']=_0x12af96,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x12af96,_0x4dd21f[_0x41667c(0x29e)]);const _0x2fa387=new _0x1b328b['Rect'](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x1f854d/0x2,'height':_0x1f854d,'width':_0x1f854d,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18['COLORS'][_0x41667c(0x20e)],0x0),'strokeWidth':0x0,'stroke':_0x32d5a6||_0x1b328b['getColor'](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'evented':!0x1});this['_anchorDot']=_0x2fa387,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x2fa387,_0x4dd21f[_0x41667c(0x29e)]);const _0xf09ed6=new _0x2d6177(_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x4c79ca,'text':_0x24958a,'color':_0x32d5a6});this[_0x41667c(0x256)]=_0xf09ed6,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0xf09ed6,_0x4dd21f['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x530ea4(0x327)](){const _0x33c784=_0x530ea4,_0x302cbd=this[_0x33c784(0x406)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x137b6e=this[_0x33c784(0x406)][_0x33c784(0x245)][_0x33c784(0x1df)](()=>{const _0x2b3b5a=_0x33c784;this[_0x2b3b5a(0x230)]&&clearTimeout(this[_0x2b3b5a(0x230)]),this['_hideTimer']=setTimeout(()=>{const _0x5ed067=_0x2b3b5a;this[_0x5ed067(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x50e411=_0x33c784;_0x302cbd[_0x50e411(0x2ea)](),_0x137b6e[_0x50e411(0x2ea)]();};}[_0x530ea4(0x33d)](_0x1def34,_0x3b3bb5,_0x321469,_0x3a457c){const _0x4f6961=_0x530ea4,_0x5a428b=new _0x1f0a18['ColorKit'](_0x1def34)[_0x4f6961(0x382)](0.2)[_0x4f6961(0x34b)](),_0x18202c=new _0x1b328b[(_0x4f6961(0x215))](_0x383cc0+_0x1f0a18[_0x4f6961(0x23b)](_0x49a11a),{'pointsGroup':_0x3b3bb5,'fill':_0x5a428b||_0x1b328b['getColor'](_0x1f0a18['COLORS']['black'],0.2),'left':_0x321469,'top':_0x3a457c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f6961(0x429)][_0x4f6961(0x36a)](_0x18202c),this['_scene'][_0x4f6961(0x3c0)](_0x18202c,_0x4dd21f[_0x4f6961(0x29e)]);}['_drawRectRange'](_0x4cb3ec,_0x38ef1b,_0x54c384,_0x2dbb09){const _0x2911f2=_0x530ea4,_0x531840=new _0x1f0a18[(_0x2911f2(0x3e6))](_0x4cb3ec)[_0x2911f2(0x382)](0.2)[_0x2911f2(0x34b)](),_0x4cf47a=new _0x1b328b[(_0x2911f2(0x215))](_0x46878b+_0x1f0a18[_0x2911f2(0x23b)](_0x49a11a),{'pointsGroup':_0x38ef1b,'fill':_0x531840||_0x1b328b[_0x2911f2(0x1fb)](_0x1f0a18[_0x2911f2(0x3c4)]['black'],0.2),'left':_0x54c384,'top':_0x2dbb09,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2911f2(0x429)][_0x2911f2(0x36a)](_0x4cf47a),this[_0x2911f2(0x42f)]['addObject'](_0x4cf47a,_0x4dd21f[_0x2911f2(0x29e)]);}[_0x530ea4(0x259)](_0x2d064f){const _0x29cbca=_0x2d064f[0x0],_0x115ac0=_0x29cbca[0x0],_0xdb5074=_0x29cbca[0x2],{x:_0x3ef336,y:_0x3fed42}=_0x115ac0,{x:_0x238388,y:_0x45bce5}=_0xdb5074;return{'left':_0x3ef336,'top':_0x3fed42,'width':_0x238388-_0x3ef336,'height':_0x45bce5-_0x3fed42};}[_0x530ea4(0x386)](){const _0x18afc1=_0x530ea4,{scaleX:_0x473a9c,scaleY:_0x3d2842}=this[_0x18afc1(0x42f)][_0x18afc1(0x24b)]();return Math[_0x18afc1(0x3d9)](_0x473a9c,_0x3d2842);}}var _0x1a6180=Object[_0x530ea4(0x201)],_0x41c84c=(_0x5aaa70,_0x542dc0,_0xa2a347,_0x5e2978)=>{const _0x484009=_0x530ea4;for(var _0x2c8391=_0x5e2978>0x1?void 0x0:_0x5e2978?_0x1a6180(_0x542dc0,_0xa2a347):_0x542dc0,_0x7dffe0=_0x5aaa70[_0x484009(0x2ee)]-0x1,_0x33777f;_0x7dffe0>=0x0;_0x7dffe0--)(_0x33777f=_0x5aaa70[_0x7dffe0])&&(_0x2c8391=_0x33777f(_0x2c8391)||_0x2c8391);return _0x2c8391;},_0x1e14ef=(_0x441141,_0xed53a5)=>(_0x412e67,_0x5630d3)=>_0xed53a5(_0x412e67,_0x5630d3,_0x441141);let _0x2d1851=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x18ac57,_0x1b72c0,_0x25c411,_0x59c7f7,_0x146f75){const _0x56af62=_0x530ea4;super(),_0x1b53be(this,_0x56af62(0x3ac),[]),_0x1b53be(this,_0x56af62(0x1fc),[]),(this[_0x56af62(0x3ee)]=_0x18ac57,this[_0x56af62(0x441)]=_0x1b72c0,this[_0x56af62(0x1d7)]=_0x25c411,this[_0x56af62(0x3c2)]=_0x59c7f7,this['_themeService']=_0x146f75,this[_0x56af62(0x30a)]());}[_0x530ea4(0x30a)](){const _0x5a5fae=_0x530ea4,_0x29235a=this['_context'][_0x5a5fae(0x3f0)],_0x423ab5=this[_0x5a5fae(0x441)];this[_0x5a5fae(0x3b8)](_0x5900c2[_0x5a5fae(0x421)]([this[_0x5a5fae(0x1d7)]['getCollabCursors$'](_0x29235a),this[_0x5a5fae(0x341)][_0x5a5fae(0x26c)]])[_0x5a5fae(0x420)](_0x58e73e[_0x5a5fae(0x203)](([_0x37fdd5,_0xf4f642])=>({'skeleton':_0x423ab5[_0x5a5fae(0x1c6)](),'cursors':[..._0x37fdd5[_0x5a5fae(0x310)]()]['flatMap'](_0x131a41=>({..._0x131a41,'color':this[_0x5a5fae(0x341)][_0x5a5fae(0x3e5)](_0x131a41[_0x5a5fae(0x1b4)])}))})))[_0x5a5fae(0x272)](_0x28aa34=>{const _0xddb216=_0x5a5fae;if(this['_removeCollabCursors'](),_0x28aa34){const {skeleton:_0x21b017,cursors:_0x266654}=_0x28aa34;this[_0xddb216(0x2c1)](_0x21b017,_0x266654);}})),this[_0x5a5fae(0x3f1)](),this[_0x5a5fae(0x41b)]();}[_0x530ea4(0x2c1)](_0x3b5d12,_0xb53446){const _0x86711f=_0x530ea4,{scene:_0x534f9a,mainComponent:_0x2836da}=this[_0x86711f(0x3ee)],_0x5ad020=_0xb53446[_0x86711f(0x203)](_0x298623=>new _0x2d8475(_0x298623,_0x534f9a,_0x3b5d12,_0x2836da));this[_0x86711f(0x3ac)]=_0x5ad020,this[_0x86711f(0x1fc)]=_0xb53446;}[_0x530ea4(0x3aa)](){const _0x40a7c9=_0x530ea4;this[_0x40a7c9(0x2f3)]();const {scene:_0x37ee97,mainComponent:_0x25e85a}=this[_0x40a7c9(0x3ee)],_0x3f5b4d=this[_0x40a7c9(0x441)][_0x40a7c9(0x1c6)](),_0x3d58be=this['_cursors'][_0x40a7c9(0x203)](_0xc6cceb=>new _0x2d8475(_0xc6cceb,_0x37ee97,_0x3f5b4d,_0x25e85a));this[_0x40a7c9(0x3ac)]=_0x3d58be;}['_removeCollabCursors'](){const _0x2c72eb=_0x530ea4;this[_0x2c72eb(0x3ac)][_0x2c72eb(0x371)](_0x23b210=>_0x23b210[_0x2c72eb(0x342)]()),this[_0x2c72eb(0x3ac)]=[];}['_initCommandExecutedListener'](){const _0xcc618d=_0x530ea4,_0x5ac53c=[_0x4dd21f[_0xcc618d(0x360)]['id']];this[_0xcc618d(0x3b8)](this[_0xcc618d(0x3c2)][_0xcc618d(0x3fb)](_0x6bafe2=>{const _0x28e174=_0xcc618d;_0x5ac53c[_0x28e174(0x1bc)](_0x6bafe2['id'])&&_0x6bafe2['params'][_0x28e174(0x3f0)]===this[_0x28e174(0x3ee)][_0x28e174(0x3f0)]&&this[_0x28e174(0x3aa)]();}));}[_0x530ea4(0x3f1)](){const _0x394e83=_0x530ea4;this[_0x394e83(0x3b8)](_0x1f0a18[_0x394e83(0x26a)](this[_0x394e83(0x3ee)][_0x394e83(0x3ed)][_0x394e83(0x44a)])['pipe'](_0x58e73e[_0x394e83(0x26d)](_0x32e786=>_0x32e786['type']===_0x1b328b[_0x394e83(0x40f)]['resize']),_0x58e73e[_0x394e83(0x20d)](0x10))['subscribe'](()=>{const _0x437b3a=_0x394e83;this[_0x437b3a(0x3aa)]();}));}};_0x2d1851=_0x41c84c([_0x1e14ef(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0xb349ea[_0x530ea4(0x3f2)])),_0x1e14ef(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x1e14ef(0x3,_0x1f0a18[_0x530ea4(0x3d7)]),_0x1e14ef(0x4,_0x1f0a18['Inject'](_0x1f0a18[_0x530ea4(0x2d0)]))],_0x2d1851);const _0x3153bd=0x1,_0xc43c77=1.5;class _0x4b5ae2 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x1aa83f,_0x112422){const _0x540b92=_0x530ea4;super(_0x1aa83f,_0x112422),_0x1b53be(this,_0x540b92(0x32a)),_0x1b53be(this,_0x540b92(0x306),!0x1),_0x1b53be(this,'_range'),_0x1b53be(this,_0x540b92(0x328),''),_0x1b53be(this,'_labelPosition',_0x540b92(0x324)),_0x1b53be(this,'_backgroundColor'),(_0x112422&&this[_0x540b92(0x43a)](_0x112422),this[_0x540b92(0x1b0)]['subscribeEvent'](()=>this[_0x540b92(0x43a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x540b92(0x1df)](()=>this[_0x540b92(0x43a)]({'hovered':!0x1})));}[_0x530ea4(0x43a)](_0x32e4b4){const _0x154b5f=_0x530ea4;var _0x28233d,_0x2f5fcc,_0x2d440e,_0x5ea55c,_0xefa8f9,_0x59af01;this['_color']=(_0x28233d=_0x32e4b4[_0x154b5f(0x1b4)])!=null?_0x28233d:this['_color'],this[_0x154b5f(0x306)]=(_0x2f5fcc=_0x32e4b4['hovered'])!=null?_0x2f5fcc:this['_hovered'],this[_0x154b5f(0x2fe)]=(_0x2d440e=_0x32e4b4[_0x154b5f(0x1ef)])!=null?_0x2d440e:this[_0x154b5f(0x2fe)],this[_0x154b5f(0x328)]=(_0x5ea55c=_0x32e4b4[_0x154b5f(0x249)])!=null?_0x5ea55c:this['_name'],this['_labelPosition']=(_0xefa8f9=_0x32e4b4[_0x154b5f(0x2e4)])!=null?_0xefa8f9:this[_0x154b5f(0x3bb)],this[_0x154b5f(0x3df)]=(_0x59af01=_0x32e4b4[_0x154b5f(0x370)])!=null?_0x59af01:this[_0x154b5f(0x3df)],this[_0x154b5f(0x1ec)]({'width':_0x32e4b4[_0x154b5f(0x25c)],'height':_0x32e4b4[_0x154b5f(0x437)]});}[_0x530ea4(0x24f)](_0x9f0c26){const _0x3ed63f=_0x530ea4,{row:_0x3ad8b3,column:_0x31cdc9}=_0x9f0c26;if(_0x3ad8b3>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x3eb)]&&_0x3ad8b3<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x286)]&&_0x31cdc9>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x1f1)]&&_0x31cdc9<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x2fc)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x530ea4(0x1a6)](_0x22b168){return!0x1;}['_draw'](_0x27c962){const _0xab28ee=_0x530ea4;_0x1b328b[_0xab28ee(0x311)]['drawWith'](_0x27c962,{'width':this['width'],'height':this[_0xab28ee(0x437)],'strokeWidth':_0xc43c77,'stroke':this[_0xab28ee(0x32a)],'evented':!0x1,'fill':this[_0xab28ee(0x3df)]}),this[_0xab28ee(0x306)]&&(_0x27c962[_0xab28ee(0x412)](),_0x27c962[_0xab28ee(0x2b0)](0x1,0x0,0x0,0x1,this[_0xab28ee(0x25c)],this[_0xab28ee(0x3bb)]==='bottom'?0x0:-0x14),_0x2d6177[_0xab28ee(0x400)](_0x27c962,{'text':this[_0xab28ee(0x328)],'color':this[_0xab28ee(0x32a)]}),_0x27c962['restore']());}}var _0x4956ea=Object[_0x530ea4(0x201)],_0xe784c0=(_0x4072a7,_0x5c8b23,_0x399df2,_0x178752)=>{const _0x20d4cf=_0x530ea4;for(var _0x2ba05d=_0x178752>0x1?void 0x0:_0x178752?_0x4956ea(_0x5c8b23,_0x399df2):_0x5c8b23,_0xdb3c30=_0x4072a7[_0x20d4cf(0x2ee)]-0x1,_0x547bb8;_0xdb3c30>=0x0;_0xdb3c30--)(_0x547bb8=_0x4072a7[_0xdb3c30])&&(_0x2ba05d=_0x547bb8(_0x2ba05d)||_0x2ba05d);return _0x2ba05d;},_0x22eb72=(_0x1d337c,_0x355d92)=>(_0x1b3256,_0x336979)=>_0x355d92(_0x1b3256,_0x336979,_0x1d337c);const _0x1e60b2=0x1389;let _0xbcec20=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x16ff1a,_0x33810c,_0x1d0da5,_0x5a20c0){const _0x37b3f0=_0x530ea4;super(),_0x1b53be(this,'_cursors',new Set()),_0x1b53be(this,_0x37b3f0(0x257),null),(this['_context']=_0x16ff1a,this['_sheetSkeletonManagerService']=_0x33810c,this[_0x37b3f0(0x1d7)]=_0x1d0da5,this[_0x37b3f0(0x341)]=_0x5a20c0,this[_0x37b3f0(0x30a)]());}['_init'](){const _0x5ebfd1=_0x530ea4;this[_0x5ebfd1(0x1a8)][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x420)](_0x58e73e[_0x5ebfd1(0x24a)](this['dispose$']),_0x58e73e[_0x5ebfd1(0x415)](_0xd4dedb=>{const _0x565ddf=_0x5ebfd1;if(_0xd4dedb){const _0x5bc7d6=_0xd4dedb[_0x565ddf(0x250)];return _0x5900c2[_0x565ddf(0x421)](this[_0x565ddf(0x1d7)][_0x565ddf(0x3be)](this[_0x565ddf(0x3ee)][_0x565ddf(0x3f0)]),this[_0x565ddf(0x341)][_0x565ddf(0x26c)])['pipe'](_0x58e73e[_0x565ddf(0x203)](([_0x30a347,_0x52d23c])=>{const _0x5c8ea8=_0x565ddf,_0x1c1738=new Map();return _0x30a347[_0x5c8ea8(0x371)]((_0x4e675f,_0x5d9243)=>{const _0x1ab4b2=_0x5c8ea8;if(_0x4e675f[_0x1ab4b2(0x315)]===_0x5bc7d6){const _0x453b81={..._0x4e675f};_0x453b81[_0x1ab4b2(0x1b4)]=this[_0x1ab4b2(0x341)][_0x1ab4b2(0x3e5)](_0x4e675f[_0x1ab4b2(0x1b4)]),_0x1c1738[_0x1ab4b2(0x3ec)](_0x5d9243,_0x453b81);}}),{'skeleton':_0xd4dedb,'cursors':_0x1c1738};}));}return _0x5900c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ebfd1(0x272)](({skeleton:_0x470d6e,cursors:_0x1d39c1})=>{const _0x3892a3=_0x5ebfd1;this['_removeCollabCursors'](),_0x470d6e&&this[_0x3892a3(0x2c1)](_0x470d6e,_0x1d39c1);}),this['_sheetSkeletonManagerService'][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x272)](_0x4293d8=>{const _0x3e4fe5=_0x5ebfd1;if(_0x4293d8==null)return;const {skeleton:_0x472bc5}=_0x4293d8,{scene:_0xf60295}=this['_context'];_0xf60295[_0x3e4fe5(0x3cc)][_0x3e4fe5(0x1df)](_0x1f0a18[_0x3e4fe5(0x248)](_0x13475c=>{const _0x404bc0=_0x3e4fe5;var _0x153119,_0xfe1205;const {offsetX:_0x40b947,offsetY:_0x5e4806}=_0x13475c,{x:_0x275d22,y:_0xe11c83}=_0xf60295[_0x404bc0(0x390)](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x40b947,_0x5e4806])),{scaleX:_0x3c5856,scaleY:_0x127d6d}=_0xf60295['getAncestorScale'](),_0xb3c753=_0xf60295['getViewport'](_0x1b328b[_0x404bc0(0x2c7)]['VIEW_MAIN']),_0x38747d=_0xf60295['getVpScrollXYInfoByPosToVp'](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x275d22,_0xe11c83]),_0xb3c753),_0x515e1b=_0x472bc5[_0x404bc0(0x1d0)](_0x40b947,_0x5e4806,_0x3c5856,_0x127d6d,_0x38747d);((_0x153119=this[_0x404bc0(0x257)])==null?void 0x0:_0x153119['column'])===_0x515e1b[_0x404bc0(0x330)]&&((_0xfe1205=this['_lastPointer'])==null?void 0x0:_0xfe1205[_0x404bc0(0x2cc)])===_0x515e1b[_0x404bc0(0x2cc)]||this[_0x404bc0(0x1fc)][_0x404bc0(0x371)](_0x27e091=>{const _0x49c4f1=_0x404bc0;_0x27e091[_0x49c4f1(0x24f)](_0x515e1b);});},0x64));});}[_0x530ea4(0x2c1)](_0xdf8c64,_0x164c5a){const _0x4498ba=_0x530ea4;var _0x57bd3a;const _0x732c86=(_0x57bd3a=this['_sheetSkeletonManagerService'][_0x4498ba(0x223)]())==null?void 0x0:_0x57bd3a[_0x4498ba(0x3cf)];if(!_0x732c86)return;const _0x224dc6=this['_getSheetObject']();if(!_0x224dc6)return;this[_0x4498ba(0x1fc)][_0x4498ba(0x371)](_0x3ddca2=>{const _0x4a6639=_0x4498ba;_0x3ddca2[_0x4a6639(0x392)]();});const {scene:_0x2a7e02}=_0x224dc6,_0x28aaae=_0x438bcb(Array[_0x4498ba(0x1d2)](_0x164c5a[_0x4498ba(0x310)]()))[_0x4498ba(0x203)](_0x36ae4c=>{const _0x1f211d=_0x4498ba,{color:_0x55bf34,range:_0x369bc2,name:_0x2aa69c,selection:_0x5630ee,sheetID:_0x41aab5}=_0x36ae4c,{startColumn:_0x13300f,startRow:_0x4b0611,endColumn:_0x1b3878,endRow:_0x2f8cc1}=_0x369bc2,_0xc54e0a=_0x2642d0['getCoordByCell'](_0x4b0611,_0x13300f,_0x2a7e02,_0x732c86),_0x1d8f78=_0x2642d0[_0x1f211d(0x200)](_0x2f8cc1,_0x1b3878,_0x2a7e02,_0x732c86),{columnHeaderHeightAndMarginTop:_0x3ea990}=_0x732c86,{startX:_0x4a0534,startY:_0x8f5615}=_0xc54e0a,{endX:_0x30a493,endY:_0x45b342}=_0x1d8f78,_0x56c5fb=_0x30a493-_0x4a0534,_0x548788=_0x45b342-_0x8f5615,_0x4847c9={'labelPosition':_0x8f5615-_0x3ea990>=_0x4c79ca?'top':_0x1f211d(0x2b7),'sheetID':_0x41aab5,'range':_0x369bc2,'color':_0x55bf34,'name':_0x2aa69c,'selection':_0x5630ee,'left':_0x4a0534,'top':_0x8f5615,'width':_0x56c5fb,'height':_0x548788,'evented':!0x1,'zIndex':_0x1e60b2};return new _0x4b5ae2(_0x2aa69c,_0x4847c9);});_0x2a7e02['addObjects'](_0x28aaae,_0x3153bd),this['_cursors']=new Set(_0x28aaae);}['_removeCollabCursors'](){const _0x5b1c9a=_0x530ea4;var _0x2627ec;(_0x2627ec=this[_0x5b1c9a(0x1fc)])==null||_0x2627ec[_0x5b1c9a(0x371)](_0x283f51=>_0x283f51['dispose']());}[_0x530ea4(0x299)](){const _0x3bfb3b=_0x530ea4;return _0x2642d0[_0x3bfb3b(0x236)](this[_0x3bfb3b(0x3ee)][_0x3bfb3b(0x206)],this[_0x3bfb3b(0x3ee)]);}};_0xbcec20=_0xe784c0([_0x22eb72(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x2642d0[_0x530ea4(0x37c)])),_0x22eb72(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x22eb72(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['ThemeService']))],_0xbcec20);function _0x438bcb(_0x41c0ea){const _0x10576f=_0x530ea4,_0x3f5352=new Map();return _0x41c0ea[_0x10576f(0x371)](_0x4e832e=>{const _0x5929ec=_0x10576f;if(_0x3f5352['has'](_0x4e832e[_0x5929ec(0x210)])){const _0x12b414=_0x3f5352['get'](_0x4e832e[_0x5929ec(0x210)]);_0x12b414[_0x5929ec(0x249)]+=',\x20'+_0x4e832e[_0x5929ec(0x249)];}else _0x3f5352[_0x5929ec(0x3ec)](_0x4e832e['selection'],_0x4e832e);}),Array[_0x10576f(0x1d2)](_0x3f5352[_0x10576f(0x310)]());}var _0x2e89f5=function(){const _0x44b43c=_0x530ea4;return _0x2e89f5=Object[_0x44b43c(0x292)]||function(_0x264735){const _0x1f44db=_0x44b43c;for(var _0x438c83,_0x4174d3=0x1,_0x27ea14=arguments[_0x1f44db(0x2ee)];_0x4174d3<_0x27ea14;_0x4174d3++){_0x438c83=arguments[_0x4174d3];for(var _0x4eb05e in _0x438c83)Object[_0x1f44db(0x37e)][_0x1f44db(0x1b6)][_0x1f44db(0x23e)](_0x438c83,_0x4eb05e)&&(_0x264735[_0x4eb05e]=_0x438c83[_0x4eb05e]);}return _0x264735;},_0x2e89f5[_0x44b43c(0x2d4)](this,arguments);},_0x553b71=function(_0x2d6968,_0x35f277){const _0x1bf01b=_0x530ea4;var _0x570d67={};for(var _0x1bca31 in _0x2d6968)Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1b6)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31)&&_0x35f277['indexOf'](_0x1bca31)<0x0&&(_0x570d67[_0x1bca31]=_0x2d6968[_0x1bca31]);if(_0x2d6968!=null&&typeof Object['getOwnPropertySymbols']==_0x1bf01b(0x28b)){for(var _0x26db9d=0x0,_0x1bca31=Object[_0x1bf01b(0x27b)](_0x2d6968);_0x26db9d<_0x1bca31[_0x1bf01b(0x2ee)];_0x26db9d++)_0x35f277[_0x1bf01b(0x320)](_0x1bca31[_0x26db9d])<0x0&&Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1f7)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31[_0x26db9d])&&(_0x570d67[_0x1bca31[_0x26db9d]]=_0x2d6968[_0x1bca31[_0x26db9d]]);}return _0x570d67;},_0x5cdc39=_0x35c730[_0x530ea4(0x2c6)](function(_0x373031,_0x128f3e){const _0x12b340=_0x530ea4;var _0x51c43f=_0x373031[_0x12b340(0x239)],_0x1fd067=_0x373031['id'],_0x405df5=_0x373031[_0x12b340(0x207)],_0x1dc810=_0x373031['extend'],_0x21b226=_0x553b71(_0x373031,['icon','id','className',_0x12b340(0x228)]),_0x3e1bfe=_0x12b340(0x1b5)[_0x12b340(0x251)](_0x1fd067,'\x20')[_0x12b340(0x251)](_0x405df5||'')[_0x12b340(0x43c)](),_0x5662af=_0x35c730[_0x12b340(0x1a4)]('_'[_0x12b340(0x251)](_0x5ef82d()));return _0x3f369a(_0x51c43f,''[_0x12b340(0x251)](_0x1fd067),{'defIds':_0x51c43f['defIds'],'idSuffix':_0x5662af[_0x12b340(0x1b7)]},_0x2e89f5({'ref':_0x128f3e,'className':_0x3e1bfe},_0x21b226),_0x1dc810);});function _0x3f369a(_0x3ccf3b,_0x5f030b,_0x455cda,_0x5826b5,_0x4ca939){const _0x26436b=_0x530ea4;return _0x35c730[_0x26436b(0x28c)](_0x3ccf3b[_0x26436b(0x3c1)],_0x2e89f5(_0x2e89f5({'key':_0x5f030b},_0x3ca25c(_0x3ccf3b,_0x455cda,_0x4ca939)),_0x5826b5),(_0x20bede(_0x3ccf3b,_0x455cda)[_0x26436b(0x240)]||[])[_0x26436b(0x203)](function(_0x347ea7,_0x1576af){const _0xbdd09f=_0x26436b;return _0x3f369a(_0x347ea7,''[_0xbdd09f(0x251)](_0x5f030b,'-')[_0xbdd09f(0x251)](_0x3ccf3b[_0xbdd09f(0x3c1)],'-')[_0xbdd09f(0x251)](_0x1576af),_0x455cda,void 0x0,_0x4ca939);}));}function _0x3ca25c(_0x22fa92,_0x8dbf43,_0xf159a0){const _0x58e4b0=_0x530ea4;var _0x5673fc=_0x2e89f5({},_0x22fa92[_0x58e4b0(0x1e2)]);_0xf159a0!=null&&_0xf159a0[_0x58e4b0(0x347)]&&_0x5673fc[_0x58e4b0(0x1c4)]===_0x58e4b0(0x347)&&(_0x5673fc[_0x58e4b0(0x1c4)]=_0xf159a0[_0x58e4b0(0x347)]),_0x22fa92[_0x58e4b0(0x3c1)]==='mask'&&_0x5673fc['id']&&(_0x5673fc['id']=_0x5673fc['id']+_0x8dbf43[_0x58e4b0(0x401)]),Object['entries'](_0x5673fc)['forEach'](function(_0x5717b6){const _0x505cf4=_0x58e4b0;var _0x59f72e=_0x5717b6[0x0],_0x33e5ec=_0x5717b6[0x1];_0x59f72e===_0x505cf4(0x1d8)&&typeof _0x33e5ec==_0x505cf4(0x39b)&&(_0x5673fc[_0x59f72e]=_0x33e5ec[_0x505cf4(0x3f7)](/url\(#(.*)\)/,_0x505cf4(0x3ff)[_0x505cf4(0x251)](_0x8dbf43[_0x505cf4(0x401)],')')));});var _0x324838=_0x8dbf43[_0x58e4b0(0x1a5)];return!_0x324838||_0x324838[_0x58e4b0(0x2ee)]===0x0||(_0x22fa92[_0x58e4b0(0x3c1)]===_0x58e4b0(0x278)&&_0x5673fc[_0x58e4b0(0x29c)]&&(_0x5673fc[_0x58e4b0(0x29c)]=_0x5673fc[_0x58e4b0(0x29c)]+_0x8dbf43['idSuffix']),Object['entries'](_0x5673fc)[_0x58e4b0(0x371)](function(_0x35abbb){const _0xd50326=_0x58e4b0;var _0x5e3170=_0x35abbb[0x0],_0x338e3f=_0x35abbb[0x1];typeof _0x338e3f==_0xd50326(0x39b)&&(_0x5673fc[_0x5e3170]=_0x338e3f[_0xd50326(0x3f7)](/url\(#(.*)\)/,_0xd50326(0x3ff)['concat'](_0x8dbf43[_0xd50326(0x401)],')')));})),_0x5673fc;}function _0x20bede(_0xf1584b,_0xdd1183){const _0x4e84e7=_0x530ea4;var _0x552ad7,_0xc8f4f1=_0xdd1183[_0x4e84e7(0x1a5)];return!_0xc8f4f1||_0xc8f4f1[_0x4e84e7(0x2ee)]===0x0?_0xf1584b:_0xf1584b[_0x4e84e7(0x3c1)]==='defs'&&(!((_0x552ad7=_0xf1584b['children'])===null||_0x552ad7===void 0x0)&&_0x552ad7[_0x4e84e7(0x2ee)])?_0x2e89f5(_0x2e89f5({},_0xf1584b),{'children':_0xf1584b[_0x4e84e7(0x240)][_0x4e84e7(0x203)](function(_0x2a6423){const _0x1d2dfe=_0x4e84e7;return typeof _0x2a6423[_0x1d2dfe(0x1e2)]['id']==_0x1d2dfe(0x39b)&&_0xc8f4f1&&_0xc8f4f1[_0x1d2dfe(0x1bc)](_0x2a6423['attrs']['id'])?_0x2e89f5(_0x2e89f5({},_0x2a6423),{'attrs':_0x2e89f5(_0x2e89f5({},_0x2a6423[_0x1d2dfe(0x1e2)]),{'id':_0x2a6423[_0x1d2dfe(0x1e2)]['id']+_0xdd1183[_0x1d2dfe(0x401)]})}):_0x2a6423;})}):_0xf1584b;}function _0x5ef82d(){const _0x55abf6=_0x530ea4;return Math[_0x55abf6(0x444)]()[_0x55abf6(0x418)](0x24)[_0x55abf6(0x281)](0x2,0x8);}_0x5cdc39[_0x530ea4(0x31c)]=_0x530ea4(0x375);var _0x577ab9={'tag':'svg','attrs':{'xmlns':_0x530ea4(0x3d2),'fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x1eb),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x242),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':_0x530ea4(0x438),'strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x331)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':_0x530ea4(0x44b),'d':_0x530ea4(0x2de)}}]}]}],'defIds':[_0x530ea4(0x331)]},_0x431f29=_0x35c730['forwardRef'](function(_0x28c296,_0xf8f2df){const _0x2dcfd8=_0x530ea4;return _0x35c730['createElement'](_0x5cdc39,Object[_0x2dcfd8(0x292)]({},_0x28c296,{'id':_0x2dcfd8(0x3a6),'ref':_0xf8f2df,'icon':_0x577ab9}));});_0x431f29['displayName']=_0x530ea4(0x2ad);var _0x59e475={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x2be),'width':'1em','height':_0x530ea4(0x254)},'children':[{'tag':'g','attrs':{'clipPath':_0x530ea4(0x2ca)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x404),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x1ba)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':'white','d':_0x530ea4(0x2de),'transform':_0x530ea4(0x24e)}}]}]}],'defIds':[_0x530ea4(0x1ba)]},_0x2a061d=_0x35c730[_0x530ea4(0x2c6)](function(_0x5c1fb9,_0xdff655){const _0x5041dc=_0x530ea4;return _0x35c730[_0x5041dc(0x28c)](_0x5cdc39,Object[_0x5041dc(0x292)]({},_0x5c1fb9,{'id':_0x5041dc(0x2bf),'ref':_0xdff655,'icon':_0x59e475}));});_0x2a061d[_0x530ea4(0x31c)]=_0x530ea4(0x1f4);function _0x4c2b2d(_0x12534d){const _0x34d2c4=_0x530ea4;switch(_0x12534d){case _0x5a7b55[_0x34d2c4(0x3d4)]['OFFLINE']:return _0x34d2c4(0x316);case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x244)]:return _0x34d2c4(0x3ab);case _0x5a7b55['CollaborationStatus'][_0x34d2c4(0x1cb)]:return'collabStatus.fetchMiss';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x2f5)]:return'collabStatus.notCollab';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1fe)]:case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1d6)]:return'collabStatus.syncing';case _0x5a7b55[_0x34d2c4(0x3d4)]['SYNCED']:case _0x5a7b55['CollaborationStatus']['PENDING']:return _0x34d2c4(0x385);}}function _0x4da86a(_0x38bf64){const _0x547488=_0x530ea4,{status$:_0x5a7b4b}=_0x38bf64,_0x47e343=_0x3835ea[_0x547488(0x1ea)](_0x5a7b4b,_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x2f5)]),_0x23d4f0=_0x3835ea[_0x547488(0x442)](_0x1f0a18['LocaleService']),_0x3b9849=_0x3835ea[_0x547488(0x442)](_0x5a7b55[_0x547488(0x3a2)]),_0x314909=_0x47e343!==_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x3b2)],_0x48245e=_0x23d4f0['t'](_0x4c2b2d(_0x47e343)),_0x195373=_0x314909?_0x35553a['jsx'](_0x2a061d,{}):_0x35553a[_0x547488(0x3c7)](_0x431f29,{}),_0x48bf5b=_0x35c730[_0x547488(0x1cf)](()=>{const _0x49bd8e=_0x547488;_0x314909||_0x3b9849[_0x49bd8e(0x2ae)]();},[_0x314909,_0x3b9849]);function _0x38a651(){const _0x537bc3=_0x547488;return _0x35553a[_0x537bc3(0x374)](_0x537bc3(0x394),{'className':_0x537bc3(0x1da),'onClick':_0x48bf5b,'children':[_0x35553a[_0x537bc3(0x3c7)](_0x537bc3(0x394),{'className':_0x177c57['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x314909,'univer-text-red-500':!_0x314909}),'children':_0x195373}),_0x35553a['jsx'](_0x537bc3(0x394),{'className':_0x537bc3(0x1de),'children':_0x48245e})]});}return _0x314909?_0x38a651():_0x35553a['jsx'](_0x177c57[_0x547488(0x2c2)],{'title':_0x23d4f0['t']('collab-client.tooltip.reconnect'),'children':_0x38a651()});}var _0x113af8=Object['getOwnPropertyDescriptor'],_0x252f67=(_0x257edc,_0x37b716,_0x2a6237,_0xa69aad)=>{for(var _0x303069=_0xa69aad>0x1?void 0x0:_0xa69aad?_0x113af8(_0x37b716,_0x2a6237):_0x37b716,_0x362f16=_0x257edc['length']-0x1,_0x21ed7f;_0x362f16>=0x0;_0x362f16--)(_0x21ed7f=_0x257edc[_0x362f16])&&(_0x303069=_0x21ed7f(_0x303069)||_0x303069);return _0x303069;},_0x583f9f=(_0x3fa159,_0x4ee090)=>(_0x315aff,_0x52ac5f)=>_0x4ee090(_0x315aff,_0x52ac5f,_0x3fa159);_0x5527a1[_0x530ea4(0x42a)]=class extends _0x1f0a18['Disposable']{constructor(_0x44986c,_0x43fe07,_0x44f583,_0x4f6417){const _0x38538e=_0x530ea4;super(),_0x1b53be(this,'_status$',new _0x5900c2[(_0x38538e(0x1d9))](_0x5a7b55[_0x38538e(0x3d4)][_0x38538e(0x2f5)])),(this[_0x38538e(0x2cd)]=_0x44986c,this[_0x38538e(0x335)]=_0x43fe07,this[_0x38538e(0x1bf)]=_0x44f583,this['_uiPartsService']=_0x4f6417,this[_0x38538e(0x304)](),this[_0x38538e(0x38a)]());}['_initStatusListener'](){const _0x19cef4=_0x530ea4;this[_0x19cef4(0x3b8)](this['_univerInstanceService']['focused$'][_0x19cef4(0x420)](_0x5900c2[_0x19cef4(0x415)](()=>{const _0x9a7f9f=_0x19cef4,_0x2de0e4=this[_0x9a7f9f(0x2cd)]['getFocusedUnit']();return _0x2de0e4?this['_collaborationController'][_0x9a7f9f(0x35c)](_0x2de0e4[_0x9a7f9f(0x1e8)]()):_0x5900c2['of'](null);}),_0x5900c2[_0x19cef4(0x415)](_0x5c9061=>_0x5c9061?_0x5c9061[_0x19cef4(0x1e7)]:_0x5900c2['of'](_0x5a7b55[_0x19cef4(0x3d4)][_0x19cef4(0x2f5)])))[_0x19cef4(0x272)](_0x575738=>{const _0x4b356b=_0x19cef4;this[_0x4b356b(0x3e8)]['next'](_0x575738);}));}[_0x530ea4(0x304)](){const _0x118582=_0x530ea4;this['disposeWithMe'](this[_0x118582(0x43b)]['registerComponent'](_0x3835ea['BuiltInUIPart'][_0x118582(0x379)],()=>_0x3835ea[_0x118582(0x436)](_0x383a83({'status$':this[_0x118582(0x3e8)][_0x118582(0x380)]()}),this[_0x118582(0x335)])));}},_0x5527a1['DesktopCollaborationStatusDisplayController']=_0x252f67([_0x583f9f(0x0,_0x1f0a18['IUniverInstanceService']),_0x583f9f(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x583f9f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x583f9f(0x3,_0x3835ea[_0x530ea4(0x3cb)])],_0x5527a1[_0x530ea4(0x42a)]);function _0x383a83(_0x2157ef){const {status$:_0x19b965}=_0x2157ef;return function(){const _0xb4ad0c=_0x1efe;return _0x35553a[_0xb4ad0c(0x3c7)](_0x4da86a,{'status$':_0x19b965});};}var _0x6a976d=Object[_0x530ea4(0x201)],_0x426b21=(_0x9aca3b,_0x1ba28f,_0x4eab83,_0x3da343)=>{const _0xd0cb2c=_0x530ea4;for(var _0x6874ad=_0x3da343>0x1?void 0x0:_0x3da343?_0x6a976d(_0x1ba28f,_0x4eab83):_0x1ba28f,_0x577cec=_0x9aca3b[_0xd0cb2c(0x2ee)]-0x1,_0x12f537;_0x577cec>=0x0;_0x577cec--)(_0x12f537=_0x9aca3b[_0x577cec])&&(_0x6874ad=_0x12f537(_0x6874ad)||_0x6874ad);return _0x6874ad;},_0x50cb98=(_0x20d80a,_0x547982)=>(_0x3bd4eb,_0x30aa5c)=>_0x547982(_0x3bd4eb,_0x30aa5c,_0x20d80a);let _0x257a98=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x23efb0,_0x36384c,_0x7e336e,_0x1230d5,_0x1ebcfa,_0x50db18){const _0x2a0956=_0x530ea4;super(),this[_0x2a0956(0x378)]=_0x23efb0,this[_0x2a0956(0x29a)]=_0x36384c,this['_collaborationUIEventService']=_0x7e336e,this[_0x2a0956(0x1c9)]=_0x1230d5,this[_0x2a0956(0x34d)]=_0x1ebcfa,this['_localeService']=_0x50db18,this[_0x2a0956(0x1f8)](),this[_0x2a0956(0x346)]();}[_0x530ea4(0x1f8)](){const _0x3eb8cc=_0x530ea4;this[_0x3eb8cc(0x3b8)](this[_0x3eb8cc(0x378)][_0x3eb8cc(0x368)](()=>{const _0x4c81af=_0x3eb8cc;if(this[_0x4c81af(0x29a)][_0x4c81af(0x2c3)]['size'])return this[_0x4c81af(0x1ca)]['t'](_0x4c81af(0x1c5));}));}['_initEvent'](){const _0x459975=_0x530ea4;this[_0x459975(0x3b8)](this['_collaborationUIEventService'][_0x459975(0x21d)][_0x459975(0x272)](_0x21ce7e=>{const _0x3a383b=_0x459975;_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x2bc)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)]['Warning'],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2da))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x218)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x1ed)]&&this['_notificationService'][_0x3a383b(0x40a)]({'title':this[_0x3a383b(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x3a383b(0x27c)),'type':_0x3a383b(0x31b),'duration':0x0}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x244)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))+'('+_0x21ce7e['data']+')'}),_0x21ce7e['id']===_0x5a7b55['CollaborationUIEventId'][_0x3a383b(0x288)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x21ce7e[_0x3a383b(0x2b9)]||'')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t']('session.will-retry')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x435)]&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType']['Error'],'content':this['_localeService']['t'](_0x3a383b(0x2ef))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x332)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2d8))});}));}};_0x257a98=_0x426b21([_0x50cb98(0x0,_0x3835ea[_0x530ea4(0x283)]),_0x50cb98(0x1,_0x5a7b55[_0x530ea4(0x294)]),_0x50cb98(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationUIEventService'])),_0x50cb98(0x3,_0x3835ea[_0x530ea4(0x38d)]),_0x50cb98(0x4,_0x3835ea[_0x530ea4(0x2f2)]),_0x50cb98(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x257a98);const _0xcf2e1e='collaboration-client-ui.config',_0x2b46de={},_0x2d199b=_0x1f0a18[_0x530ea4(0x3c5)](_0x530ea4(0x3e9));var _0x539802=Object[_0x530ea4(0x201)],_0x2bd657=(_0x9273b1,_0x2d3d05,_0x2eb1dc,_0x51ebc3)=>{const _0x3ae053=_0x530ea4;for(var _0x1d6197=_0x51ebc3>0x1?void 0x0:_0x51ebc3?_0x539802(_0x2d3d05,_0x2eb1dc):_0x2d3d05,_0xd5133c=_0x9273b1[_0x3ae053(0x2ee)]-0x1,_0x1c3ab3;_0xd5133c>=0x0;_0xd5133c--)(_0x1c3ab3=_0x9273b1[_0xd5133c])&&(_0x1d6197=_0x1c3ab3(_0x1d6197)||_0x1d6197);return _0x1d6197;},_0x600337=(_0x53a190,_0x4fed4b)=>(_0x429788,_0x347c39)=>_0x4fed4b(_0x429788,_0x347c39,_0x53a190);_0x5527a1[_0x530ea4(0x37b)]=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x3b68c1,_0x3a326b,_0x41385d,_0x5b23ca,_0x35ad30){const _0x3bbab3=_0x530ea4;super(),this[_0x3bbab3(0x38b)]=_0x3b68c1,this[_0x3bbab3(0x1f3)]=_0x3a326b,this[_0x3bbab3(0x3c2)]=_0x41385d,this[_0x3bbab3(0x2d7)]=_0x5b23ca,_0x35ad30?_0x35ad30==null||_0x35ad30['whenReady']()[_0x3bbab3(0x424)](()=>this['_init']()):(this[_0x3bbab3(0x1f3)][_0x3bbab3(0x21a)](_0x3bbab3(0x213),_0x3bbab3(0x40c)),this[_0x3bbab3(0x30a)]());}async['_init'](){const _0x1c02e3=_0x530ea4,_0x348539=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x206)),_0x593398=this['_urlService'][_0x1c02e3(0x273)](_0x1c02e3(0x3b9)),_0x195840=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x35b));if(!_0x348539||!_0x593398){this['_logService'][_0x1c02e3(0x21a)]('[CollaborationDataLoaderController]',_0x1c02e3(0x1db));return;}const _0x4cd20f=await this['_dataLoaderService'][_0x1c02e3(0x212)](_0x348539,Number(_0x593398),_0x195840);_0x4cd20f&&_0x4cd20f instanceof _0x1f0a18[_0x1c02e3(0x264)]&&this['_setupSubUnitSync'](_0x4cd20f);}async['_setupSubUnitSync'](_0x4085e6){const _0x47bb84=_0x530ea4;await this[_0x47bb84(0x202)](_0x4085e6),_0x4085e6['activeSheet$']['pipe'](_0x5900c2[_0x47bb84(0x24a)](this['dispose$']))['subscribe'](_0x38b71b=>{const _0x16f044=_0x47bb84;_0x38b71b&&this[_0x16f044(0x2fa)](_0x38b71b);}),this[_0x47bb84(0x38b)][_0x47bb84(0x43d)][_0x47bb84(0x420)](_0x5900c2['takeUntil'](this[_0x47bb84(0x211)]))[_0x47bb84(0x272)](()=>this['_updateSubUnitFromURLParams'](_0x4085e6));}[_0x530ea4(0x2fa)](_0x3d4cc2,_0x2160de=!0x1){const _0x32cc7e=_0x530ea4,_0xbbe1b9=this[_0x32cc7e(0x38b)][_0x32cc7e(0x273)]('subunit');_0x3d4cc2[_0x32cc7e(0x1a9)]()!==_0xbbe1b9&&this[_0x32cc7e(0x38b)][_0x32cc7e(0x395)](_0x32cc7e(0x35b),_0x3d4cc2[_0x32cc7e(0x1a9)](),_0x2160de);}async[_0x530ea4(0x202)](_0x16c017){const _0x2c727b=_0x530ea4;var _0x5253f6;const _0x1d9489=this[_0x2c727b(0x38b)]['getParam'](_0x2c727b(0x35b));if(!_0x1d9489||!_0x16c017[_0x2c727b(0x3f8)](_0x1d9489)){const _0x56aef4=_0x16c017[_0x2c727b(0x3a5)]()[0x0],_0x878b59=_0x16c017[_0x2c727b(0x3f8)](_0x56aef4);if(!_0x878b59)return;this[_0x2c727b(0x2fa)](_0x878b59,!0x0),await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017[_0x2c727b(0x1e8)](),'subUnitId':_0x56aef4});return;}((_0x5253f6=_0x16c017[_0x2c727b(0x42d)]())==null?void 0x0:_0x5253f6[_0x2c727b(0x1a9)]())!==_0x1d9489&&await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017['getUnitId'](),'subUnitId':_0x1d9489});}},_0x5527a1[_0x530ea4(0x37b)]=_0x2bd657([_0x600337(0x0,_0x2d199b),_0x600337(0x1,_0x1f0a18[_0x530ea4(0x1ae)]),_0x600337(0x2,_0x1f0a18[_0x530ea4(0x3d7)]),_0x600337(0x3,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x2cf)])),_0x600337(0x4,_0x1f0a18[_0x530ea4(0x432)](_0x29d29a['IRemoteInstanceService']))],_0x5527a1['CollaborationDataLoaderController']);var _0x11a66f=Object['getOwnPropertyDescriptor'],_0x1aad1b=(_0x3d5261,_0x25243f,_0x163244,_0x4bc43c)=>{const _0x2c5375=_0x530ea4;for(var _0x20a355=_0x4bc43c>0x1?void 0x0:_0x4bc43c?_0x11a66f(_0x25243f,_0x163244):_0x25243f,_0x205320=_0x3d5261[_0x2c5375(0x2ee)]-0x1,_0x12383d;_0x205320>=0x0;_0x205320--)(_0x12383d=_0x3d5261[_0x205320])&&(_0x20a355=_0x12383d(_0x20a355)||_0x20a355);return _0x20a355;},_0xe668b7=(_0x1a9e2c,_0x53633f)=>(_0xf19cd5,_0x2738a0)=>_0x53633f(_0xf19cd5,_0x2738a0,_0x1a9e2c);let _0x4e7530=class{constructor(_0x382c3e,_0xf12e3b,_0x5d43ac){const _0x93a42f=_0x530ea4;this['_injector']=_0x382c3e,this[_0x93a42f(0x297)]=_0xf12e3b,this[_0x93a42f(0x1c3)]=_0x5d43ac;}[_0x530ea4(0x367)](_0x532361){const _0x4e4243=_0x530ea4;this[_0x4e4243(0x267)](_0x532361),this[_0x4e4243(0x359)](_0x532361);}['transformRemoteChangeset'](_0x6bb7de){const _0x5abcba=_0x530ea4,{unitID:_0x1ff984}=_0x6bb7de,_0x4fda32=this['_renderManagerService'][_0x5abcba(0x30b)](_0x1ff984)['with'](_0x4dd21f[_0x5abcba(0x20f)]),{redoCache:_0x48ad85}=_0x4fda32[_0x5abcba(0x204)]();if(_0x48ad85['length']===0x0)return _0x6bb7de;let _0x448d11=_0x1f0a18['Tools']['deepClone'](_0x6bb7de[_0x5abcba(0x2a2)][0x0]);for(let _0x5d358c=0x0;_0x5d358c<_0x48ad85['length'];_0x5d358c++){const _0x45f470={'id':_0x5abcba(0x28f),'params':{..._0x48ad85[_0x5d358c]}},_0x178a2e=this[_0x5abcba(0x297)][_0x5abcba(0x1d5)](_0x448d11,_0x45f470,!0x1);if(_0x1cac3e[_0x5abcba(0x3da)](_0x178a2e))throw _0x178a2e[_0x5abcba(0x31b)];_0x448d11=_0x178a2e[_0x5abcba(0x2a3)];}return{..._0x1f0a18['Tools'][_0x5abcba(0x33e)](_0x6bb7de),'mutations':[_0x448d11]};}[_0x530ea4(0x267)](_0x1535fc){const _0x2c50a5=_0x530ea4,{unitID:_0x5f062d}=_0x1535fc,_0x3168df=this['_renderManagerService'][_0x2c50a5(0x30b)](_0x5f062d)[_0x2c50a5(0x334)](_0x4dd21f['DocIMEInputManagerService']),{undoCache:_0xd6d68c,redoCache:_0xb68f25}=_0x3168df[_0x2c50a5(0x204)]();if(_0xd6d68c['length']===0x0||_0xb68f25[_0x2c50a5(0x2ee)]===0x0)return;const _0x1d1f4f=[],_0x7b67c3=[];let _0x2d98e2=_0x1f0a18[_0x2c50a5(0x32f)]['deepClone'](_0x1535fc[_0x2c50a5(0x2a2)][0x0]),_0x1be476=_0x1f0a18[_0x2c50a5(0x32f)][_0x2c50a5(0x33e)](_0x1535fc[_0x2c50a5(0x2a2)][0x0]);for(let _0x5c4d10=_0xd6d68c[_0x2c50a5(0x2ee)]-0x1;_0x5c4d10>=0x0;_0x5c4d10--){const _0xd38f56={'id':'doc.mutation.rich-text-editing','params':{..._0xd6d68c[_0x5c4d10]}},_0x1e695e={'id':_0x2c50a5(0x28f),'params':{..._0xb68f25[_0x5c4d10]}},_0x1c4d5e=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x2d98e2,_0xd38f56,!0x1),_0x32d172=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x1be476,_0x1e695e,!0x1);if(_0x1cac3e['isTransformMutationFailure'](_0x1c4d5e))throw _0x1c4d5e[_0x2c50a5(0x31b)];if(_0x1cac3e[_0x2c50a5(0x3da)](_0x32d172))throw _0x32d172[_0x2c50a5(0x31b)];_0x1d1f4f['unshift'](_0x1c4d5e[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x7b67c3['unshift'](_0x32d172[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x2d98e2=_0x1c4d5e[_0x2c50a5(0x2a3)],_0x1be476=_0x32d172[_0x2c50a5(0x2a3)];}_0x3168df[_0x2c50a5(0x427)]({'undoCache':_0x1d1f4f,'redoCache':_0x7b67c3});}[_0x530ea4(0x359)](_0x225b04){const _0x244c48=_0x530ea4,{unitID:_0x359366}=_0x225b04,_0x7d641=this[_0x244c48(0x1c3)][_0x244c48(0x30b)](_0x359366)[_0x244c48(0x334)](_0x4dd21f['DocIMEInputManagerService']),_0x2de217=_0x7d641['getActiveRange']();if(_0x2de217==null)return;const _0x83baaa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x225b04[_0x244c48(0x275)],'actions':null,'textRanges':[_0x2de217]}}],_0xeb3a43=this['_transformService'][_0x244c48(0x353)](_0x225b04,_0x83baaa);if(!_0x1cac3e[_0x244c48(0x3dc)](_0xeb3a43))throw _0xeb3a43[_0x244c48(0x31b)];const _0x2df287=_0xeb3a43[_0x244c48(0x1ab)][0x0][_0x244c48(0x357)]['textRanges'];Array['isArray'](_0x2df287)&&_0x2df287['length']&&_0x7d641[_0x244c48(0x326)](_0x2df287[0x0]);}};_0x4e7530=_0x1aad1b([_0xe668b7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xe668b7(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0xe668b7(0x2,_0x1b328b['IRenderManagerService'])],_0x4e7530);var _0x5ef874=Object[_0x530ea4(0x201)],_0x58c3e0=(_0x52e859,_0x227e2c,_0x289f71,_0x22e0d8)=>{const _0x54acbb=_0x530ea4;for(var _0x3bca6e=_0x22e0d8>0x1?void 0x0:_0x22e0d8?_0x5ef874(_0x227e2c,_0x289f71):_0x227e2c,_0x3f36b8=_0x52e859[_0x54acbb(0x2ee)]-0x1,_0xac093;_0x3f36b8>=0x0;_0x3f36b8--)(_0xac093=_0x52e859[_0x3f36b8])&&(_0x3bca6e=_0xac093(_0x3bca6e)||_0x3bca6e);return _0x3bca6e;},_0x2ef681=(_0x9123da,_0xcbfbd1)=>(_0x5b873d,_0x4b2ef8)=>_0xcbfbd1(_0x5b873d,_0x4b2ef8,_0x9123da);let _0x2a5f6a=class{constructor(_0x3ef8f3,_0x19735f,_0xf7b0aa){const _0x4c2949=_0x530ea4;this[_0x4c2949(0x335)]=_0x3ef8f3,this[_0x4c2949(0x297)]=_0x19735f,this[_0x4c2949(0x277)]=_0xf7b0aa;}['transformStateCache'](_0x585be1){this['_transformHistoryAndStateStack'](_0x585be1);}[_0x530ea4(0x2a5)](_0x2a0c86){const _0x3e6fe7=_0x530ea4,{unitID:_0x5694d0}=_0x2a0c86,{collaboration:_0x47165a}=this['_docStateChangeManagerService'][_0x3e6fe7(0x387)](_0x5694d0);if(_0x47165a[_0x3e6fe7(0x2ee)]===0x0)return _0x2a0c86;let _0x12729d=_0x1f0a18[_0x3e6fe7(0x32f)][_0x3e6fe7(0x33e)](_0x2a0c86[_0x3e6fe7(0x2a2)][0x0]);for(let _0x3df425=0x0;_0x3df425<_0x47165a[_0x3e6fe7(0x2ee)];_0x3df425++){const _0x32e653={'id':_0x3e6fe7(0x28f),'params':{'unitId':_0x47165a[_0x3df425]['unitId'],..._0x47165a[_0x3df425][_0x3e6fe7(0x271)]}},_0x3dfe54=this[_0x3e6fe7(0x297)][_0x3e6fe7(0x1d5)](_0x12729d,_0x32e653,!0x1);if(_0x1cac3e[_0x3e6fe7(0x3da)](_0x3dfe54))throw _0x3dfe54[_0x3e6fe7(0x31b)];_0x12729d=_0x3dfe54[_0x3e6fe7(0x2a3)];}return{..._0x1f0a18[_0x3e6fe7(0x32f)]['deepClone'](_0x2a0c86),'mutations':[_0x12729d]};}[_0x530ea4(0x302)](_0x54b0ee){const _0x5b1c9f=_0x530ea4,{unitID:_0x50b842}=_0x54b0ee,{history:_0x142ec1,collaboration:_0x34af7a}=this[_0x5b1c9f(0x277)][_0x5b1c9f(0x387)](_0x50b842);if(_0x142ec1[_0x5b1c9f(0x2ee)]===0x0&&_0x34af7a[_0x5b1c9f(0x2ee)]===0x0)return;const _0x2ec4fa=[],_0x5426cf=[];let _0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee['mutations'][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x328d6b=_0x142ec1[_0x5b1c9f(0x2ee)]-0x1;_0x328d6b>=0x0;_0x328d6b--){const _0x1eaec8={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x1c8)]}},_0x23320c={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x271)]}},_0x5a2a5f=this['_transformService'][_0x5b1c9f(0x1d5)](_0x2871ed,_0x1eaec8,!0x1),_0x58d6c7=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x49361c,_0x23320c,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x5a2a5f))throw _0x5a2a5f[_0x5b1c9f(0x31b)];if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x58d6c7))throw _0x58d6c7[_0x5b1c9f(0x31b)];_0x2ec4fa[_0x5b1c9f(0x34a)]({..._0x142ec1[_0x328d6b],'undoState':_0x5a2a5f[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x58d6c7['m2Prime'][_0x5b1c9f(0x357)]}),_0x2871ed=_0x5a2a5f[_0x5b1c9f(0x2a3)],_0x49361c=_0x58d6c7[_0x5b1c9f(0x2a3)];}_0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x2b6bd3=_0x34af7a[_0x5b1c9f(0x2ee)]-0x1;_0x2b6bd3>=0x0;_0x2b6bd3--){const _0x2e8f7a={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3]['undoState']}},_0x5eee53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3][_0x5b1c9f(0x271)]}},_0x3fec76=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x2871ed,_0x2e8f7a,!0x1),_0x325dab=this[_0x5b1c9f(0x297)]['transformMutation'](_0x49361c,_0x5eee53,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x3fec76))throw _0x3fec76['error'];if(_0x1cac3e['isTransformMutationFailure'](_0x325dab))throw _0x325dab['error'];_0x5426cf[_0x5b1c9f(0x34a)]({..._0x34af7a[_0x2b6bd3],'undoState':_0x3fec76[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x325dab[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)]}),_0x2871ed=_0x3fec76[_0x5b1c9f(0x2a3)],_0x49361c=_0x325dab['m1Prime'];}this['_docStateChangeManagerService'][_0x5b1c9f(0x3a9)](_0x50b842,{'history':_0x2ec4fa,'collaboration':_0x5426cf});}};_0x2a5f6a=_0x58c3e0([_0x2ef681(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2ef681(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0x2ef681(0x2,_0x1f0a18['Inject'](_0x4dd21f[_0x530ea4(0x290)]))],_0x2a5f6a);var _0x35d293=Object['getOwnPropertyDescriptor'],_0x1335c1=(_0x400706,_0x34963e,_0x253838,_0x237bba)=>{const _0x386318=_0x530ea4;for(var _0x3c3b8a=_0x237bba>0x1?void 0x0:_0x237bba?_0x35d293(_0x34963e,_0x253838):_0x34963e,_0x3c33ae=_0x400706[_0x386318(0x2ee)]-0x1,_0x31dede;_0x3c33ae>=0x0;_0x3c33ae--)(_0x31dede=_0x400706[_0x3c33ae])&&(_0x3c3b8a=_0x31dede(_0x3c3b8a)||_0x3c3b8a);return _0x3c3b8a;},_0xc322e7=(_0x3e2644,_0x4ab04b)=>(_0x2c11df,_0xcabc16)=>_0x4ab04b(_0x2c11df,_0xcabc16,_0x3e2644);let _0x111326=class{constructor(_0x419f41,_0x43ee5c){const _0x4a7a78=_0x530ea4;this[_0x4a7a78(0x335)]=_0x419f41,this[_0x4a7a78(0x297)]=_0x43ee5c;}[_0x530ea4(0x237)](_0x2ad020){const _0x3027b7=_0x530ea4;var _0x5165ce;const _0xf00306=this[_0x3027b7(0x335)][_0x3027b7(0x22f)](_0xb349ea[_0x3027b7(0x3f6)]),_0x37bd53=(_0x5165ce=_0xf00306[_0x3027b7(0x35f)]())!=null?_0x5165ce:[];if(_0x37bd53['length']===0x0)return;const _0x40622e=_0x2ad020[_0x3027b7(0x275)],_0x4fdbe7=[{'id':_0x3027b7(0x28f),'params':{'unitId':_0x40622e,'actions':null,'textRanges':_0x37bd53}}],_0x449fb0=this['_transformService'][_0x3027b7(0x353)](_0x2ad020,_0x4fdbe7);if(!_0x1cac3e[_0x3027b7(0x3dc)](_0x449fb0))throw _0x449fb0[_0x3027b7(0x31b)];const _0x43ee5e=_0x449fb0['m2Prime'][0x0][_0x3027b7(0x357)][_0x3027b7(0x2f4)];Array[_0x3027b7(0x307)](_0x43ee5e)&&_0x43ee5e[_0x3027b7(0x2ee)]&&_0xf00306[_0x3027b7(0x1f2)](_0x43ee5e,{'unitId':_0x40622e,'subUnitId':_0x40622e},!0x1);}};_0x111326=_0x1335c1([_0xc322e7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xc322e7(0x1,_0x1cac3e[_0x530ea4(0x41e)])],_0x111326);var _0x5b351d=Object[_0x530ea4(0x201)],_0x406447=(_0xe096c9,_0x3f8e82,_0xe21034,_0x451510)=>{const _0x52398a=_0x530ea4;for(var _0x381412=_0x451510>0x1?void 0x0:_0x451510?_0x5b351d(_0x3f8e82,_0xe21034):_0x3f8e82,_0x4f58ed=_0xe096c9[_0x52398a(0x2ee)]-0x1,_0x43fe76;_0x4f58ed>=0x0;_0x4f58ed--)(_0x43fe76=_0xe096c9[_0x4f58ed])&&(_0x381412=_0x43fe76(_0x381412)||_0x381412);return _0x381412;},_0x179726=(_0x4ef169,_0x69e861)=>(_0xb28538,_0x4e96cc)=>_0x69e861(_0xb28538,_0x4e96cc,_0x4ef169);let _0x282265=class extends _0x1f0a18['Disposable']{constructor(_0x42422f,_0x302016,_0x3a36c6,_0x45390d,_0x46e4b8,_0x31fcc2,_0x2c4717,_0x31b872){const _0x27873d=_0x530ea4;super(),_0x1b53be(this,_0x27873d(0x3e8),new _0x5900c2[(_0x27873d(0x1d9))](_0x5a7b55[_0x27873d(0x3d4)][_0x27873d(0x2f5)])),(this[_0x27873d(0x277)]=_0x42422f,this['_collaborationController']=_0x302016,this[_0x27873d(0x3b0)]=_0x3a36c6,this[_0x27873d(0x3ae)]=_0x45390d,this[_0x27873d(0x373)]=_0x46e4b8,this['_docSyncEditingCollabCursorService']=_0x31fcc2,this['_messageService']=_0x2c4717,this[_0x27873d(0x1ca)]=_0x31b872,this[_0x27873d(0x3e4)]());}[_0x530ea4(0x3e4)](){const _0xd727a0=_0x530ea4;this[_0xd727a0(0x3b8)](this[_0xd727a0(0x1bf)][_0xd727a0(0x2a1)][_0xd727a0(0x272)](_0xe63cd1=>{const _0x34d227=_0xd727a0,_0x22b4be=this[_0x34d227(0x277)][_0x34d227(0x300)]['subscribe'](_0xa91aef=>{const _0x24cedc=_0x34d227;if(_0xa91aef==null)return;const {unitId:_0x125e11,redoState:_0x2f0a31,commandId:_0x4a2d2d}=_0xa91aef;if(_0x125e11!==_0xe63cd1[_0x24cedc(0x275)])return;const _0x5c0620={'id':_0x4a2d2d,'type':_0x1f0a18[_0x24cedc(0x2b5)]['MUTATION'],'params':{'unitId':_0x125e11,'actions':_0x2f0a31[_0x24cedc(0x308)],'textRanges':null}};_0xe63cd1[_0x24cedc(0x258)](_0x5c0620);});if(_0xe63cd1[_0x34d227(0x3b8)](_0x22b4be),_0xe63cd1 instanceof _0x5a7b55[_0x34d227(0x2cb)]){const _0x3981e9={'onTransformIME':_0x8db98=>this[_0x34d227(0x3b0)]['transformIMECache'](_0x8db98),'onTransformState':_0x297d30=>this[_0x34d227(0x3ae)][_0x34d227(0x34e)](_0x297d30),'onTransformSelections':_0x18d676=>this[_0x34d227(0x373)][_0x34d227(0x237)](_0x18d676),'onSyncEditingCollabCursor':_0xe69e82=>this['_docSyncEditingCollabCursorService'][_0x34d227(0x1b3)](_0xe69e82),'onTransformRemoteChangesetByIMECache':_0xb6e2bb=>this[_0x34d227(0x3b0)][_0x34d227(0x2a5)](_0xb6e2bb),'onTransformRemoteChangesetByStateCache':_0x49f74a=>this[_0x34d227(0x3ae)]['transformRemoteChangeset'](_0x49f74a)};_0xe63cd1[_0x34d227(0x1a3)](_0x3981e9);}}));}};_0x282265=_0x406447([_0x179726(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x4dd21f['DocStateChangeManagerService'])),_0x179726(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x179726(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x4e7530)),_0x179726(0x3,_0x1f0a18['Inject'](_0x2a5f6a)),_0x179726(0x4,_0x1f0a18['Inject'](_0x111326)),_0x179726(0x5,_0x1f0a18['Inject'](_0x50ea68)),_0x179726(0x6,_0x3835ea[_0x530ea4(0x38d)]),_0x179726(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x282265);var _0x15750a=Object[_0x530ea4(0x201)],_0x53d2a9=(_0x23d9be,_0x3101e8,_0x2d58c3,_0xa0d9ed)=>{for(var _0x1c8524=_0xa0d9ed>0x1?void 0x0:_0xa0d9ed?_0x15750a(_0x3101e8,_0x2d58c3):_0x3101e8,_0x585a06=_0x23d9be['length']-0x1,_0x54e5a3;_0x585a06>=0x0;_0x585a06--)(_0x54e5a3=_0x23d9be[_0x585a06])&&(_0x1c8524=_0x54e5a3(_0x1c8524)||_0x1c8524);return _0x1c8524;},_0x5ec6e1=(_0x36e138,_0x2abb65)=>(_0x3b41c9,_0x4b8064)=>_0x2abb65(_0x3b41c9,_0x4b8064,_0x36e138);let _0x35301a=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x223b3c,_0x37d446,_0x4cc343){const _0x1b1aa9=_0x530ea4;super(),_0x1b53be(this,_0x1b1aa9(0x372),new Map()),_0x1b53be(this,_0x1b1aa9(0x30c),new Map()),_0x1b53be(this,_0x1b1aa9(0x32e),!0x1),(this['_configService']=_0x223b3c,this['_localStorageService']=_0x37d446,this[_0x1b1aa9(0x23f)]=_0x4cc343);}[_0x530ea4(0x1f9)](){this['_disabled']=!0x0;}[_0x530ea4(0x363)](){this['_disabled']=!0x1;}get[_0x530ea4(0x2c3)](){return this['_saveTaskMap'];}[_0x530ea4(0x342)](){const _0x51ee4c=_0x530ea4;this[_0x51ee4c(0x21b)]()[_0x51ee4c(0x424)](()=>super[_0x51ee4c(0x342)]());}async['loadOfflineData'](_0x114a61){const _0x3d2407=_0x530ea4;return this[_0x3d2407(0x32e)]?null:this[_0x3d2407(0x266)]['getItem'](_0x5a7b55[_0x3d2407(0x26e)](_0x114a61));}async[_0x530ea4(0x305)](_0x56d8a4,_0x1f0ea0){const _0x3da787=_0x530ea4;return!!this['_localStorageService'][_0x3da787(0x284)](_0x56d8a4,_0x1f0ea0);}['updateOfflineData'](_0x2db8f5,_0x2a2a08,_0x54ce74,_0x1c8eb4){const _0x3c6536=_0x530ea4,_0x4d001a=this['_revisionService'][_0x3c6536(0x268)](_0x2db8f5);this[_0x3c6536(0x372)]['set'](_0x2db8f5,{'unitID':_0x2db8f5,'type':_0x2a2a08,'awaitingChangeset':_0x54ce74,'mutations':_0x1c8eb4,'rev':_0x4d001a}),this[_0x3c6536(0x30c)][_0x3c6536(0x447)](_0x2db8f5)||this[_0x3c6536(0x21c)](_0x2db8f5);}['_scheduleSaving'](_0x3b1e7e){const _0x7bc496=_0x530ea4,_0x40098d=this[_0x7bc496(0x408)]();_0x40098d===0x0?this[_0x7bc496(0x312)](_0x3b1e7e):this[_0x7bc496(0x30c)][_0x7bc496(0x3ec)](_0x3b1e7e,setTimeout(()=>this[_0x7bc496(0x312)](_0x3b1e7e),_0x40098d));}[_0x530ea4(0x408)](){const _0x3eee52=_0x530ea4;var _0x5b482e;return(_0x5b482e=this['_configService'][_0x3eee52(0x2a0)](_0x5a7b55[_0x3eee52(0x24c)]))!=null?_0x5b482e:_0x5a7b55['LOCAL_CACHE_INTERVAL'];}[_0x530ea4(0x312)](_0x21c2a1){const _0x33845c=_0x530ea4,_0x208b7f=this[_0x33845c(0x30c)][_0x33845c(0x22f)](_0x21c2a1);return _0x208b7f!==void 0x0&&window['clearTimeout'](_0x208b7f),this[_0x33845c(0x266)][_0x33845c(0x284)](_0x5a7b55[_0x33845c(0x26e)](_0x21c2a1),this[_0x33845c(0x372)][_0x33845c(0x22f)](_0x21c2a1))['then'](()=>this[_0x33845c(0x30c)][_0x33845c(0x222)](_0x21c2a1));}async[_0x530ea4(0x21b)](){const _0x57d004=_0x530ea4,_0x1ddc44=[];this[_0x57d004(0x30c)][_0x57d004(0x371)]((_0x33fe4f,_0x239fb0)=>{const _0x5713bd=_0x57d004;window[_0x5713bd(0x221)](_0x33fe4f),_0x1ddc44[_0x5713bd(0x36a)](this[_0x5713bd(0x312)](_0x239fb0)['then'](()=>{const _0x9dae72=_0x5713bd;this[_0x9dae72(0x30c)][_0x9dae72(0x222)](_0x239fb0);}));}),await Promise[_0x57d004(0x3e7)](_0x1ddc44);}};_0x35301a=_0x53d2a9([_0x5ec6e1(0x0,_0x1f0a18[_0x530ea4(0x3fe)]),_0x5ec6e1(0x1,_0x1f0a18[_0x530ea4(0x355)]),_0x5ec6e1(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1cac3e['RevisionService']))],_0x35301a);class _0x5bd741 extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(){const _0x30a749=_0x530ea4;super(),_0x1b53be(this,_0x30a749(0x43d)),this[_0x30a749(0x43d)]=_0x5900c2[_0x30a749(0x2e5)](window,_0x30a749(0x22c))[_0x30a749(0x420)](_0x5900c2[_0x30a749(0x24a)](this[_0x30a749(0x211)]),_0x5900c2['shareReplay'](0x1),_0x5900c2[_0x30a749(0x40e)](void 0x0));}[_0x530ea4(0x395)](_0x4fd53e,_0x15ae5e,_0x31ef9e=!0x1){const _0x1f6937=_0x530ea4,_0x4f9baf=new URL(window['location'][_0x1f6937(0x208)]);_0x4f9baf[_0x1f6937(0x325)]['set'](_0x4fd53e,_0x15ae5e),_0x31ef9e?window['history'][_0x1f6937(0x1c0)]('','',_0x4f9baf[_0x1f6937(0x418)]()):window['history']['pushState']('','',_0x4f9baf['toString']());}[_0x530ea4(0x36d)](_0x4a7859,_0x57564a=!0x1){const _0x4707dd=_0x530ea4,_0x657216=new URL(window[_0x4707dd(0x23a)][_0x4707dd(0x208)]);_0x657216[_0x4707dd(0x325)][_0x4707dd(0x222)](_0x4a7859),_0x57564a?window[_0x4707dd(0x31f)][_0x4707dd(0x1c0)]('','',_0x657216[_0x4707dd(0x418)]()):window[_0x4707dd(0x31f)][_0x4707dd(0x3d1)]('','',_0x657216['toString']());}['getParam'](_0x602318){const _0x20863b=_0x530ea4;var _0x294cb1;return(_0x294cb1=new URL(window['location'][_0x20863b(0x208)])[_0x20863b(0x325)]['get'](_0x602318))!=null?_0x294cb1:void 0x0;}}var _0x59ebb7=Object[_0x530ea4(0x36e)],_0x27f288=Object['getOwnPropertyDescriptor'],_0xbce48=(_0x3449aa,_0x68d070,_0x1f8619)=>_0x68d070 in _0x3449aa?_0x59ebb7(_0x3449aa,_0x68d070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8619}):_0x3449aa[_0x68d070]=_0x1f8619,_0x5b73b2=(_0x6d6e4c,_0x1954be,_0xd9de4f,_0x1f1581)=>{const _0x53b41f=_0x530ea4;for(var _0x2cee3d=_0x1f1581>0x1?void 0x0:_0x1f1581?_0x27f288(_0x1954be,_0xd9de4f):_0x1954be,_0x11c923=_0x6d6e4c[_0x53b41f(0x2ee)]-0x1,_0xdd9bb8;_0x11c923>=0x0;_0x11c923--)(_0xdd9bb8=_0x6d6e4c[_0x11c923])&&(_0x2cee3d=_0xdd9bb8(_0x2cee3d)||_0x2cee3d);return _0x2cee3d;},_0xd6f6e0=(_0x415049,_0x27b84d)=>(_0x4a05d2,_0xb6d4b2)=>_0x27b84d(_0x4a05d2,_0xb6d4b2,_0x415049),_0x23c91e=(_0x316dd3,_0x5757cf,_0x261cf6)=>_0xbce48(_0x316dd3,_0x5757cf+'',_0x261cf6);const _0x39274e=_0x530ea4(0x2a4);_0x5527a1[_0x530ea4(0x42c)]=class extends _0x1f0a18['Plugin']{constructor(_0x57f292=_0x2b46de,_0x1f0ac0,_0x503312,_0x110867){const _0x278980=_0x530ea4;super(),this[_0x278980(0x293)]=_0x57f292,this[_0x278980(0x1c3)]=_0x1f0ac0,this[_0x278980(0x335)]=_0x503312,this[_0x278980(0x339)]=_0x110867;const {..._0x1e1ff3}=_0x1f0a18[_0x278980(0x35e)]({},_0x2b46de,this[_0x278980(0x293)]);this[_0x278980(0x339)][_0x278980(0x322)](_0xcf2e1e,_0x1e1ff3);}[_0x530ea4(0x209)](){const _0x57fefd=_0x530ea4;this[_0x57fefd(0x413)](),this[_0x57fefd(0x1ee)]();}[_0x530ea4(0x33f)](){const _0xb53f4e=_0x530ea4;this[_0xb53f4e(0x22a)]();}[_0x530ea4(0x413)](){const _0x4a1f94=_0x530ea4;var _0x4446ee;const _0x41a874=[[_0x3e294f],[_0x111326],[_0x4e7530],[_0x2a5f6a],[_0x50ea68],[_0x2d199b,{'useClass':_0x5bd741}],[_0x254943[_0x4a1f94(0x233)],{'useClass':_0x254943[_0x4a1f94(0x3c6)]}],[_0x5a7b55[_0x4a1f94(0x294)],{'useClass':_0x35301a}],[_0x5527a1[_0x4a1f94(0x42a)]],[_0x282265],[_0x257a98],[_0x201d0c],[_0x25d763],[_0x5527a1[_0x4a1f94(0x37b)]]];_0x1f0a18[_0x4a1f94(0x28a)](this[_0x4a1f94(0x335)],_0x1f0a18[_0x4a1f94(0x1f6)](_0x41a874,(_0x4446ee=this[_0x4a1f94(0x293)])==null?void 0x0:_0x4446ee['override']));}[_0x530ea4(0x22a)](){const _0x47b4d9=_0x530ea4;this[_0x47b4d9(0x3b8)](this[_0x47b4d9(0x1c3)][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x389)],[_0x2d1851])),this[_0x47b4d9(0x3b8)](this['_renderManagerService'][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x1ff)],[_0xbcec20]));}[_0x530ea4(0x1ee)](){const _0x264993=_0x530ea4;_0x1f0a18[_0x264993(0x426)](this[_0x264993(0x335)],[[_0x201d0c],[_0x5527a1[_0x264993(0x42a)]],[_0x282265],[_0x257a98],[_0x5527a1['CollaborationDataLoaderController']]]);}},_0x23c91e(_0x5527a1[_0x530ea4(0x42c)],_0x530ea4(0x29d),_0x39274e),_0x5527a1['UniverCollaborationClientUIPlugin']=_0x5b73b2([_0x1f0a18[_0x530ea4(0x3cd)](_0x5a7b55[_0x530ea4(0x411)]),_0xd6f6e0(0x1,_0x1b328b[_0x530ea4(0x2af)]),_0xd6f6e0(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xd6f6e0(0x3,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['UniverCollaborationClientUIPlugin']);var _0x32d56=Object[_0x530ea4(0x201)],_0x29468d=(_0x420523,_0x1b0682,_0x42ac1f,_0x1ea4b7)=>{const _0x3f42c1=_0x530ea4;for(var _0x1856b5=_0x1ea4b7>0x1?void 0x0:_0x1ea4b7?_0x32d56(_0x1b0682,_0x42ac1f):_0x1b0682,_0x3232c5=_0x420523[_0x3f42c1(0x2ee)]-0x1,_0x21fad1;_0x3232c5>=0x0;_0x3232c5--)(_0x21fad1=_0x420523[_0x3232c5])&&(_0x1856b5=_0x21fad1(_0x1856b5)||_0x1856b5);return _0x1856b5;},_0x44494e=(_0x4f9eae,_0x1a80ff)=>(_0x1aa4dc,_0x2b6f49)=>_0x1a80ff(_0x1aa4dc,_0x2b6f49,_0x4f9eae);_0x5527a1[_0x530ea4(0x37a)]=class extends _0x5a7b55[_0x530ea4(0x296)]{constructor(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3){super(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3);}async[_0x530ea4(0x22b)](_0x2cd8f8){const _0x1d40b1=_0x530ea4,_0x2a6204=await this[_0x1d40b1(0x2c4)](),_0xfd03cc=this[_0x1d40b1(0x287)](_0x2cd8f8,_0x2a6204);return this[_0x1d40b1(0x2b2)](_0xfd03cc);}[_0x530ea4(0x287)](_0x418b69,_0x23afbb){const _0x2eddae=_0x530ea4,_0x27d61d=typeof window>'u'?new URL(_0x418b69):new URL(_0x418b69,window['location'][_0x2eddae(0x43e)]);_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x3a8),_0x23afbb);const _0x8b1de2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2eddae(0x388)]);return _0x8b1de2[_0x2eddae(0x22f)]('runId')&&_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x42e),_0x8b1de2['get'](_0x2eddae(0x42e))),_0x27d61d['toString']();}async[_0x530ea4(0x2c4)](){const _0xb8ea15=_0x530ea4;var _0x3ef86d,_0x79f613,_0x576c4b;const _0x25e884=this[_0xb8ea15(0x339)]['getConfig'](_0x5a7b55[_0xb8ea15(0x443)]),_0x11c523=(_0x3ef86d=_0x25e884==null?void 0x0:_0x25e884[_0xb8ea15(0x3d3)])!=null?_0x3ef86d:_0x5a7b55[_0xb8ea15(0x1f0)];return(_0x576c4b=(_0x79f613=(await this[_0xb8ea15(0x20c)][_0xb8ea15(0x22f)](_0x11c523,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x79f613['ticket'])!=null?_0x576c4b:'';}},_0x5527a1[_0x530ea4(0x37a)]=_0x29468d([_0x44494e(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['Injector'])),_0x44494e(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943[_0x530ea4(0x2a6)])),_0x44494e(0x2,_0x1f0a18[_0x530ea4(0x3fe)]),_0x44494e(0x3,_0x1f0a18[_0x530ea4(0x1ae)]),_0x44494e(0x4,_0x1cac3e[_0x530ea4(0x2f1)])],_0x5527a1[_0x530ea4(0x37a)]);const _0x50c5fa=0x7530,_0x305c8d=_0x530ea4(0x2dc);class _0x58e646 extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x7618cc=_0x530ea4;super(),_0x1b53be(this,_0x7618cc(0x246),_0x1f0a18['generateRandomId']()),_0x1b53be(this,'_selfUnitIDs',new Set()),_0x1b53be(this,_0x7618cc(0x279),new Map()),_0x1b53be(this,_0x7618cc(0x1dc),null),_0x1b53be(this,_0x7618cc(0x2c9),new Map()),_0x1b53be(this,_0x7618cc(0x224),new Map()),this[_0x7618cc(0x30a)]();}[_0x530ea4(0x342)](){const _0x475ccd=_0x530ea4;super[_0x475ccd(0x342)](),this[_0x475ccd(0x2c9)]['forEach']((_0x213fe6,_0x3832e3)=>this[_0x475ccd(0x309)](_0x3832e3)),this[_0x475ccd(0x1dc)]&&window['clearInterval'](this[_0x475ccd(0x1dc)]);}[_0x530ea4(0x3b3)](_0x4c9b40){const _0x2e6b02=_0x530ea4;return this[_0x2e6b02(0x449)](_0x4c9b40)[_0x2e6b02(0x420)](_0x5900c2['distinctUntilChanged']());}['editingUnit'](_0x36de5c){const _0x85b223=_0x530ea4;this[_0x85b223(0x20a)]['size']===0x0&&this[_0x85b223(0x295)](),this[_0x85b223(0x20a)]['add'](_0x36de5c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x36de5c],'isForwarded':!0x1});}[_0x530ea4(0x2ac)](_0x3528e9){const _0x1b110d=_0x530ea4;this[_0x1b110d(0x20a)][_0x1b110d(0x222)](_0x3528e9),this[_0x1b110d(0x20a)][_0x1b110d(0x383)]===0x0&&this[_0x1b110d(0x1dc)]&&window[_0x1b110d(0x3f5)](this[_0x1b110d(0x1dc)]);}[_0x530ea4(0x30a)](){const _0x12e1c8=_0x530ea4;this[_0x12e1c8(0x3b8)](_0x1f0a18['toDisposable'](_0x5900c2[_0x12e1c8(0x2e5)](window,_0x12e1c8(0x219))[_0x12e1c8(0x272)](_0x25a25a=>{const _0x50287b=_0x12e1c8;if(_0x25a25a['key']!==_0x305c8d||!_0x25a25a['newValue'])return;const _0x26f3b5=JSON['parse'](_0x25a25a[_0x50287b(0x36f)]);this['_handleEvent'](_0x26f3b5);}))),window[_0x12e1c8(0x1d1)](_0x12e1c8(0x252),()=>this[_0x12e1c8(0x2d6)]({'type':0x1,'memberID':this[_0x12e1c8(0x246)],'unitIDs':Array[_0x12e1c8(0x1d2)](this[_0x12e1c8(0x20a)])}));}['_handleEvent'](_0x182854){const _0x1a3096=_0x530ea4;switch(_0x182854[_0x1a3096(0x3b9)]){case 0x0:this[_0x1a3096(0x41f)](_0x182854);break;case 0x1:this[_0x1a3096(0x396)](_0x182854);break;case 0x2:this[_0x1a3096(0x366)](_0x182854);break;}}[_0x530ea4(0x41f)](_0x5c8559){const _0x1b929d=_0x530ea4,{unitIDs:_0x3086fd,memberID:_0x4a8b95,isForwarded:_0x1f3957}=_0x5c8559;_0x3086fd[_0x1b929d(0x371)](_0x4f052a=>{const _0x1bc0bd=_0x1b929d;if(!_0x1f3957&&this['_unitOnClients']['has'](_0x4f052a)&&this[_0x1bc0bd(0x449)](_0x4f052a)['next'](_0x5a7b55[_0x1bc0bd(0x433)][_0x1bc0bd(0x1cc)]),!this[_0x1bc0bd(0x279)][_0x1bc0bd(0x447)](_0x4f052a)||!this[_0x1bc0bd(0x279)]['get'](_0x4f052a)[_0x1bc0bd(0x447)](_0x4a8b95)){const _0x1ecf8b=this[_0x1bc0bd(0x279)][_0x1bc0bd(0x22f)](_0x4f052a)||new Set();_0x1ecf8b[_0x1bc0bd(0x20b)](_0x4a8b95),this['_unitOnClients'][_0x1bc0bd(0x3ec)](_0x4f052a,_0x1ecf8b),this[_0x1bc0bd(0x2b3)](_0x4a8b95);}}),_0x1f3957||this[_0x1b929d(0x2d6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1b929d(0x20a)]],'isForwarded':!0x0});}[_0x530ea4(0x2b3)](_0x30366a){const _0x2eb3a3=_0x530ea4;this[_0x2eb3a3(0x309)](_0x30366a);const _0x256938=window[_0x2eb3a3(0x2ec)](()=>{const _0x2b64ed=_0x2eb3a3;this[_0x2b64ed(0x279)][_0x2b64ed(0x371)](_0x2dc6c2=>{const _0x16db50=_0x2b64ed;_0x2dc6c2[_0x16db50(0x222)](_0x30366a);});},_0x50c5fa*0x2);this[_0x2eb3a3(0x2c9)][_0x2eb3a3(0x3ec)](_0x30366a,_0x256938);}[_0x530ea4(0x309)](_0x31663c){const _0x29954f=_0x530ea4;if(this['_clearOtherTimers'][_0x29954f(0x447)](_0x31663c)){const _0x4673ea=this['_clearOtherTimers'][_0x29954f(0x22f)](_0x31663c);_0x4673ea&&window['clearTimeout'](_0x4673ea),this[_0x29954f(0x2c9)][_0x29954f(0x3ec)](_0x31663c,null);}}[_0x530ea4(0x396)](_0x5b8982){const _0x5393a6=_0x530ea4,{memberID:_0x45ad55,unitIDs:_0x13ce30}=_0x5b8982;_0x13ce30['forEach'](_0x2dd6d9=>{const _0x47303e=_0x1efe;var _0xb2028f;const _0x57cf6b=this[_0x47303e(0x279)]['get'](_0x2dd6d9);_0x57cf6b&&(_0x57cf6b[_0x47303e(0x222)](_0x45ad55),(_0xb2028f=this[_0x47303e(0x449)](_0x2dd6d9))==null||_0xb2028f['next'](_0x57cf6b[_0x47303e(0x383)]===0x0?_0x5a7b55['UnitStatus'][_0x47303e(0x1cd)]:_0x5a7b55[_0x47303e(0x433)][_0x47303e(0x1cc)]));}),this[_0x5393a6(0x309)](_0x45ad55);}[_0x530ea4(0x366)](_0x56ce93){const _0x5e3ef1=_0x530ea4;this[_0x5e3ef1(0x2b3)](_0x56ce93[_0x5e3ef1(0x377)]);}[_0x530ea4(0x2d6)](_0x24a42e){const _0x4b98ef=_0x530ea4;localStorage[_0x4b98ef(0x284)](_0x305c8d,JSON[_0x4b98ef(0x33c)](_0x24a42e));}[_0x530ea4(0x295)](){const _0x27c3e6=_0x530ea4;this['_heartbeatTimer']=window[_0x27c3e6(0x2d2)](()=>{const _0x50eea4=_0x27c3e6;this[_0x50eea4(0x2d6)]({'type':0x2,'memberID':this[_0x50eea4(0x246)]});},_0x50c5fa);}['_ensureSubject'](_0x53f4f6){const _0x3ae2df=_0x530ea4;return this['_unitStatus'][_0x3ae2df(0x447)](_0x53f4f6)||this[_0x3ae2df(0x224)]['set'](_0x53f4f6,new _0x5900c2[(_0x3ae2df(0x1d9))](_0x5a7b55[_0x3ae2df(0x433)][_0x3ae2df(0x1cd)])),this[_0x3ae2df(0x224)][_0x3ae2df(0x22f)](_0x53f4f6);}}var _0x4cb49e=(_0x522874=>(_0x522874[_0x522874[_0x530ea4(0x3a7)]=0x0]=_0x530ea4(0x3a7),_0x522874[_0x522874['OK']=0x1]='OK',_0x522874[_0x522874['INTERNAL_ERROR']=0x2]=_0x530ea4(0x2a9),_0x522874[_0x522874[_0x530ea4(0x1ed)]=0x3]='PERMISSION_DENIED',_0x522874[_0x522874[_0x530ea4(0x29b)]=0x4]=_0x530ea4(0x29b),_0x522874[_0x522874['UNAUTHENTICATED']=0x5]=_0x530ea4(0x2ed),_0x522874[_0x522874[_0x530ea4(0x255)]=0x6]=_0x530ea4(0x255),_0x522874[_0x522874[_0x530ea4(0x448)]=0x7]=_0x530ea4(0x448),_0x522874[_0x522874[_0x530ea4(0x416)]=0x8]=_0x530ea4(0x416),_0x522874[_0x522874[_0x530ea4(0x2b8)]=0x9]=_0x530ea4(0x2b8),_0x522874[_0x522874[_0x530ea4(0x1d4)]=0xa]=_0x530ea4(0x1d4),_0x522874[_0x522874[_0x530ea4(0x2e0)]=0xb]=_0x530ea4(0x2e0),_0x522874[_0x522874['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x530ea4(0x2ce),_0x522874[_0x522874[_0x530ea4(0x234)]=0xd]=_0x530ea4(0x234),_0x522874[_0x522874[_0x530ea4(0x1a2)]=0xe]=_0x530ea4(0x1a2),_0x522874[_0x522874[_0x530ea4(0x1af)]=0x1389]=_0x530ea4(0x1af),_0x522874[_0x522874[_0x530ea4(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x522874[_0x522874[_0x530ea4(0x214)]=0x1772]=_0x530ea4(0x214),_0x522874[_0x522874[_0x530ea4(0x381)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x522874[_0x522874[_0x530ea4(0x28d)]=0x1b59]='APPLY_REJECT',_0x522874[_0x522874[_0x530ea4(0x2f0)]=0x1b5a]=_0x530ea4(0x2f0),_0x522874[_0x522874[_0x530ea4(0x23d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x522874[_0x522874[_0x530ea4(0x399)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x522874[_0x522874['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x522874[_0x522874[_0x530ea4(0x2e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x522874[_0x522874[_0x530ea4(0x1bd)]=0x2329]=_0x530ea4(0x1bd),_0x522874[_0x522874[_0x530ea4(0x44d)]=0x232a]=_0x530ea4(0x44d),_0x522874[_0x522874[_0x530ea4(0x376)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x522874[_0x522874['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x530ea4(0x393),_0x522874[_0x522874['LICENSE_DISTRO_REJECTED']=0x232d]=_0x530ea4(0x44c),_0x522874[_0x522874[_0x530ea4(0x22d)]=0x2711]=_0x530ea4(0x22d),_0x522874[_0x522874[_0x530ea4(0x34f)]=0x2712]=_0x530ea4(0x34f),_0x522874[_0x522874[_0x530ea4(0x369)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x522874[_0x522874[_0x530ea4(0x41c)]=0x2714]=_0x530ea4(0x41c),_0x522874[_0x522874['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x530ea4(0x37d),_0x522874[_0x522874[_0x530ea4(0x2e2)]=0x271b]=_0x530ea4(0x2e2),_0x522874[_0x522874[_0x530ea4(0x220)]=0x271c]=_0x530ea4(0x220),_0x522874[_0x522874[_0x530ea4(0x397)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x522874[_0x522874[_0x530ea4(0x2f7)]=0x271e]=_0x530ea4(0x2f7),_0x522874[_0x522874[_0x530ea4(0x446)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x522874[_0x522874[_0x530ea4(0x329)]=0x2720]=_0x530ea4(0x329),_0x522874[_0x522874[_0x530ea4(0x25f)]=0x2af9]=_0x530ea4(0x25f),_0x522874[_0x522874[_0x530ea4(0x253)]=0x2ee1]=_0x530ea4(0x253),_0x522874[_0x522874[_0x530ea4(0x2a7)]=0x2ee2]=_0x530ea4(0x2a7),_0x522874[_0x522874[_0x530ea4(0x3fa)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x522874[_0x522874['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x522874[_0x522874[_0x530ea4(0x38c)]=0x2ee5]=_0x530ea4(0x38c),_0x522874[_0x522874[_0x530ea4(0x2bd)]=0x32c9]=_0x530ea4(0x2bd),_0x522874[_0x522874[_0x530ea4(0x301)]=0x32ca]=_0x530ea4(0x301),_0x522874[_0x522874[_0x530ea4(0x27e)]=0x32cb]=_0x530ea4(0x27e),_0x522874[_0x522874[_0x530ea4(0x1e3)]=-0x1]=_0x530ea4(0x1e3),_0x522874))(_0x4cb49e||{}),_0x1c9548=Object[_0x530ea4(0x201)],_0x5638ff=(_0x21f438,_0x4b63a7,_0x5d0c09,_0xcf8e6)=>{const _0x527d50=_0x530ea4;for(var _0x47cddc=_0xcf8e6>0x1?void 0x0:_0xcf8e6?_0x1c9548(_0x4b63a7,_0x5d0c09):_0x4b63a7,_0x50ba5e=_0x21f438[_0x527d50(0x2ee)]-0x1,_0x1a2f8a;_0x50ba5e>=0x0;_0x50ba5e--)(_0x1a2f8a=_0x21f438[_0x50ba5e])&&(_0x47cddc=_0x1a2f8a(_0x47cddc)||_0x47cddc);return _0x47cddc;},_0x246f37=(_0x4440ca,_0x16d64d)=>(_0x593eef,_0x41f47a)=>_0x16d64d(_0x593eef,_0x41f47a,_0x4440ca);_0x5527a1['RemoteUniscriptService']=class extends _0x1f0a18['Disposable']{constructor(_0x3e64a6,_0x53003c,_0x5e32c5){const _0x3b9d81=_0x530ea4;super(),this[_0x3b9d81(0x298)]=_0x3e64a6,this[_0x3b9d81(0x20c)]=_0x53003c,this[_0x3b9d81(0x339)]=_0x5e32c5;}async[_0x530ea4(0x407)](_0x205169,_0x4be83c,_0x520747,..._0x4448ae){const _0x85588b=_0x530ea4;var _0x1983d2,_0x4dc89a,_0x4c12c1,_0xd25412;const _0x2035cb=this['_instanceService'][_0x85588b(0x3d6)]();if(!_0x2035cb)throw new Error(_0x85588b(0x336));const _0x16f7b5=((_0x1983d2=this[_0x85588b(0x339)]['getConfig'](_0x5a7b55[_0x85588b(0x31d)]))!=null?_0x1983d2:_0x5a7b55[_0x85588b(0x3b6)])+'/'+_0x205169+_0x85588b(0x32b)+_0x4be83c,_0x58408b=new URL(window[_0x85588b(0x23a)]['href']),_0x275bbe={'scriptId':_0x205169,'runId':(_0x4dc89a=_0x58408b[_0x85588b(0x325)][_0x85588b(0x22f)](_0x85588b(0x42e)))!=null?_0x4dc89a:'','function':_0x4be83c,'unitId':_0x2035cb[_0x85588b(0x1e8)](),'argsOfFunction':JSON[_0x85588b(0x33c)](_0x4448ae),'invokeId':(_0x4c12c1=_0x520747[_0x85588b(0x229)])!=null?_0x4c12c1:'','executionId':(_0xd25412=_0x520747[_0x85588b(0x280)])!=null?_0xd25412:''};try{const _0x253163=await this['_httpService'][_0x85588b(0x319)](_0x16f7b5,{'body':_0x275bbe});return _0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]&&_0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]['code']!==_0x4cb49e['OK']?_0x85588b(0x35d):_0x253163[_0x85588b(0x414)]['result'];}catch{return _0x85588b(0x35d);}}},_0x5527a1[_0x530ea4(0x351)]=_0x5638ff([_0x246f37(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x246f37(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943['HTTPService'])),_0x246f37(0x2,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['RemoteUniscriptService']),_0x5527a1[_0x530ea4(0x440)]=_0x4da86a,_0x5527a1[_0x530ea4(0x419)]=_0x2d199b,_0x5527a1['SheetCollabCursorShape']=_0x4b5ae2,_0x5527a1[_0x530ea4(0x27a)]=_0x58e646,_0x5527a1[_0x530ea4(0x262)]=_0x5bd741,Object[_0x530ea4(0x36e)](_0x5527a1,Symbol[_0x530ea4(0x217)],{'value':'Module'});}));function _0x1efe(_0x520d97,_0x2fb2d2){const _0x55f24e=_0x55f2();return _0x1efe=function(_0x1efebe,_0x1b827c){_0x1efebe=_0x1efebe-0x1a2;let _0x23fe5e=_0x55f24e[_0x1efebe];return _0x23fe5e;},_0x1efe(_0x520d97,_0x2fb2d2);}function _0x55f2(){const _0x20240b=['INVALID_INVITE_CODE','_docSkeleton','INTERNAL_ERROR','Shape','_onCursorDelete','disposeUnit','OffLineIcon','reconnect','IRenderManagerService','transform','RemoveColCommandId','_doCreateSocket','_scheduleClearOtherTimer','CollaborationController','CommandType','@univerjs/engine-formula','bottom','COMPLETION_FINISHED','data','_assignedColors','RxDisposable','OTHER_CLIENT_EDITING','WECHAT_HAS_BEEN_BOUND','0\x200\x2017\x2016','on-line-icon','@univerjs/engine-render','_updateCollabCursors','Tooltip','saveTaskMap','_getSessionTicket','DisposableCollection','forwardRef','SHEET_VIEWPORT_KEY','find','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','DocCollaborationEntity','row','_univerInstanceService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DataLoaderService','ThemeService','contains','setInterval','saveImage','apply','USERS_LEAVE','_send','_dataLoaderService','session.collaboration-timeout','_drawAnchor','collaboration.single-unit.warning','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','_online','M0\x200H16V16H0z','DOC_RANGE_TYPE','MOBILE_VERIFY_CODE_MISMATCH','UniverDrawing','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','labelPosition','fromEvent','CONNECTOR_DATA_TOO_LARGE','findNodePositionByCharIndex','roomMembers','createInstance','unsubscribe','cursorInfo','setTimeout','UNAUTHENTICATED','length','session.connection-failed','APPLY_NON_SEQUENTIAL_REVISION','ISnapshotServerService','INotificationService','_removeCollabCursors','textRanges','NOT_COLLAB','collab-text-range-','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','EffectRefRangId','_updateURLWithCurrentState','_hover','endColumn','_startSheetCollabCursor','_range','measureText','docStateChange$','MOBILE_HAS_BEEN_BOUND','_transformHistoryAndStateStack','toDisposable','_initStatusComponent','saveOfflineData','_hovered','isArray','actions','_removeClearOtherTimer','_init','getRenderById','_saveTaskMap','min','_cursorInfo$','deserializeRangeWithSheet','values','Rect','_saveCache','SessionStatus','@univerjs/sheets-ui','sheetID','collabStatus.offline','UniverSheetsUi','cursorInfo$','post','@univerjs/drawing','error','displayName','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration-client','history','indexOf','executeCommand','setConfig','_imageIoService','top','searchParams','setActiveRange','_handleHover','_name','YUUMI_CONNECTOR_URL_NOT_FOUND','_color','/run/','@univerjs/sheets','#FFF','_disabled','Tools','column','off-line-icon_clip0_910_343','SUBMIT_CHANGESET_TIMEOUT','sessionStatus$','with','_injector','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertRow','LocaleService','_configService','10xstveY','closePath','stringify','_drawTextRange','deepClone','onRendered','...','_themeService','dispose','assignAColorForMemberID','_toggleOffline','InsertRangeMoveDownCommandId','_initEvent','colorChannel1','operators','handleIRemoveRow','unshift','toRgbString','_startDocCollabCursor','_notificationService','transformStateCache','YUUMI_URL_COL_OUT_OF_RANGE','SheetsSelectionsService','RemoteUniscriptService','InsertColCommandId','transformMutationsWithChangeset','currentColor','ILocalStorageService','_onCursorUpdate','params','UniverInstanceType','_transformPreviousActiveRange','rxjs','subunit','getCollabEntity$','Failed','merge','getDocRanges','SetDocZoomRatioOperation','complete','requireSession','enableLocalCache','MoveRangeCommandId','132303hQPSJR','_handleHeartbeatEvent','transformIMECache','registerBeforeClose','YUUMI_RATE_OVER_LIMIT','push','RichTextEditingMutation','getTypeOfUnitAdded$','removeParam','defineProperty','newValue','backgroundColor','forEach','_cachedData','_docTransformSelectionsService','jsxs','UniverIcon','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','_beforeCloseService','HEADER_MENU','BrowserCollaborationSocketService','CollaborationDataLoaderController','SheetSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','prototype','3nifveG','asObservable','ENSURE_SNAPSHOT_EXECUTION','setAlpha','size','InsertRangeMoveRightCommandId','collabStatus.synced','_getScale','getStateCache','search','UNIVER_DOC','_initStatusListener','_urlService','INVITE_CODE_ALREADY_BOUND','IMessageService','React','UniverNetwork','getRelativeToViewportCoord','restore','makeDirty','LICENSE_EXPORT_SIZE_EXCEEDED','div','setParam','_handleLeaveEvent','YUUMI_ALL_TABLES_IS_INVALID','startsWith','APPLY_PERMISSION_DENIED','_getMergeRange','string','NodePositionConvertToRectRange','Unknown\x20user','amd','UniverDesign','_document','runRefRangeMutations','CollaborationSessionService','MemberService','fillStyle','getUnhiddenWorksheets','off-line-icon','UNDEFINED','sessionTicket','setStateCache','_refreshCollabCursors','collabStatus.conflict','_cursorShapes','310632sCcUDY','_docTransformStateCacheService','arc','_docTransformIMECacheService','CollaborationUIEventId','OFFLINE','getUnitStatus$','_syncEditingCollabCursorService','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/ui','disposeWithMe','type','currentSkeleton$','_labelPosition','UPDATE_CURSOR','Disposable','getCollabCursors$','getOffsetConfig','addObject','tag','_commandService','UniverSheets','COLORS','createIdentifier','WebSocketService','jsx','RECT','evenodd','ONLINE','IUIPartsService','onPointerMove$','DependentOn','hide','skeleton','path','pushState','http://www.w3.org/2000/svg','wsSessionTicketUrl','CollaborationStatus','@univerjs/rpc','getFocusedUnit','ICommandService','jiqing.500','max','isTransformMutationFailure','TEXT','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','UniverEngineFormula','_backgroundColor','fillRule','collabCursorState$','getMergeData','getCurrentUnitForType','_initEntityListener','getColorFromTheme','ColorKit','all','_status$','uni.network.url-service','SetWorksheetActivateCommand','startRow','set','engine','_context','_colorIndex','unitId','_initResize','DocSkeletonManagerService','_docClipboardService','1544072jwLgsY','clearInterval','DocSelectionManagerService','replace','getSheetBySheetId','RemoveRowCommandId','INVITE_CODE_REQUIRED','onCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_memberService','IConfigService','url(#$1','drawWith','idSuffix','moveTo','_drawRectRange','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','getMember','_anchor','runOnServer','_getSaveTimeout','593674jfJIoh','show','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','mapTo','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs-pro/collaboration','UniverCollaborationClientPlugin','save','_registerDependencies','body','switchMap','TOO_MANY_REQUESTS','beginPath','toString','IURLService','imageSourceType','_initCommandExecutedListener','YUUMI_SUBSCRIPTION_NOT_FOUND','Inject','ITransformService','_handleJoinEvent','pipe','combineLatest','188Stfalr','UniverDocsUi','then','@univerjs/docs','touchDependencies','setUndoRedoMutationParamsCache','next','_shapes','DesktopCollaborationStatusDisplayController','Error','UniverCollaborationClientUIPlugin','getActiveSheet','runId','_scene','collaboration.closeRoom','isActive','Optional','UnitStatus','rxjs/operators','SOCKET_FAILED','connectInjector','height','round','2647314dZdlgj','setShapeProps','_uiPartsService','trim','urlChange$','origin','react','CollaborationStatusDisplay','_docSkeletonManagerService','useDependency','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','random','exports','YUUMI_AI_RUN_FAILED','has','INVALID_ARGUMENT','_ensureSubject','onTransformChange$','white','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addHandlerCallback','useRef','defIds','triggerDblclick','UniverCore','_sheetSkeletonManagerService','getSheetId','_session','m2Prime','4025799MrTtcN','NodePositionConvertToCursor','ILogService','CHANGESET_REVISION_CONFILICT','onPointerEnter$','Rectangle','text','syncEditingCollabCursor','color','univerjs-icon\x20univerjs-icon-','hasOwnProperty','current','MessageType','defs','on-line-icon_clip0_910_349','SetSelectionsOperation','includes','LICENSE_MAX_UNITS_EXCEEDED','isEditing','_collaborationController','replaceState','_updateLocalCursor','lineTo','_renderManagerService','fill','collaboration-client.offline-data-not-saved','getSkeleton','Subject','undoState','_messageService','_localeService','FETCH_MISS','OTHER_CLIENTS_EDITING','NO_OTHER_CLIENTS_EDITING','DeleteRangeMoveLeftCommandId','useCallback','getCellPositionByOffset','addEventListener','from','_roomMembers$','LOGIN_FAILED','transformMutation','AWAITING_WITH_PENDING','_collabCursorController','mask','BehaviorSubject','univer-flex\x20univer-items-center','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_heartbeatTimer','_entities','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribeEvent','Warning','Injector','attrs','UNRECOGNIZED','getValue','_cursor','fillText','status$','getUnitId','RefRangeService','useObservable','0\x200\x2016\x2016','transformByState','PERMISSION_DENIED','_initDependencies','range','DEFAULT_WS_SESSION_TICKET_URL','startColumn','replaceDocRanges','_logService','OnLineIcon','_colorAssignService','mergeOverrideWithDependencies','propertyIsEnumerable','_setupBeforeClosingHandler','disableLocalCache','@univerjs/design','getColor','_cursors','UniverEngineRender','AWAITING','UNIVER_SHEET','getCoordByCell','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','map','getUndoRedoMutationParamsCache','IImageIoService','unit','className','href','onStarting','_selfUnitIDs','add','_httpService','throttleTime','black','DocIMEInputManagerService','selection','dispose$','loadUnit','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','registerRenderModule','toStringTag','CLOSE_ROOM','storage','debug','exhaustSavingTask','_scheduleSaving','event$','red.300','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clearTimeout','delete','getCurrent','_unitStatus','FromArray','registerRefRange','_entityInit$','extend','invokeId','_registerRenderDependencies','createSocket','popstate','YUUMI_UNABLE_LOAD_URL','roomMembers$','get','_hideTimer','none','CollaborationEvent','ISocketService','EMAIL_VERIFY_CODE_MISMATCH','purple.300','getSheetObject','transformSelections','collab-text-anchor-','icon','location','generateRandomId','object','APPLY_REVISION_CONFILICT','call','_revisionService','children','_collabSessionService','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','5345EdxZPP','CONFLICT','onPointerLeave$','_id','handleInsertCol','debounce','name','takeUntil','getAncestorScale','LOCAL_CACHE_INTERVAL_KEY','Vector2','translate(.97)','onMouseMove','sheetId','concat','unload','INVITE_CODE_HAS_BEEN_UES','1em','ALREADY_EXISTS','_textBubble','_lastPointer','onLocalMutation','_getAnchorBounding','yellow.400','handleInsertRangeMoveRight','width','_refRangeService','_toggleOnline','PY_RUNTIME_SCRIPT_ERROR','blue.400','getRangePointData','WebURLService','some','Workbook','_anchorDot','_localStorageService','_transformUndoRedoStack','getCurrentRevOfUnit','IDocClipboardService','fromEventSubject','addClipboardHook','currentTheme$','filter','getLocalCacheKey','clipPath','_eventUnsubscribe','redoState','subscribe','getParam','send','unitID','UniverProCollaboration','_docStateChangeManagerService','use','_unitOnClients','WebBrowserSingleActiveUnitService','getOwnPropertySymbols','permission.content','green.600','EMAIL_HAS_BEEN_BOUND','getMemberID','executionId','substring','UniverProCollaborationClient','IBeforeCloseService','setItem','debounceTime','endRow','_createSocketURL','JOIN_ROOM_FAILED','eventID','registerDependencies','function','createElement','APPLY_REJECT','ranges','doc.mutation.rich-text-editing','DocStateChangeManagerService','_render','assign','_config','ILocalCacheService','_scheduleHeartbeat','CollaborationSocketService','_transformService','_instanceService','_getSheetObject','_localCacheService','NOT_FOUND','xlink:href','pluginName','TEXT_RANGE_LAYER_INDEX','init','getConfig','entityInit$','mutations','m1Prime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformRemoteChangeset','HTTPService'];_0x55f2=function(){return _0x20240b;};return _0x55f2();}