@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505221607 → 0.7.0-nightly.202505241606

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 (44) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +1 -1
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/locale/en-US.d.ts +38 -2
  29. package/lib/types/locale/fa-IR.d.ts +2 -2
  30. package/lib/types/locale/fr-FR.d.ts +2 -2
  31. package/lib/types/locale/ru-RU.d.ts +2 -2
  32. package/lib/types/locale/vi-VN.d.ts +2 -2
  33. package/lib/types/locale/zh-CN.d.ts +3 -39
  34. package/lib/types/locale/zh-TW.d.ts +2 -2
  35. package/lib/umd/facade.js +1 -1
  36. package/lib/umd/index.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ru-RU.js +1 -1
  41. package/lib/umd/locale/vi-VN.js +1 -1
  42. package/lib/umd/locale/zh-CN.js +1 -1
  43. package/lib/umd/locale/zh-TW.js +1 -1
  44. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x15a6(_0x15e0ba,_0x4e7f27){const _0x278302=_0x2783();return _0x15a6=function(_0x15a6f3,_0x4d159c){_0x15a6f3=_0x15a6f3-0x111;let _0x57d735=_0x278302[_0x15a6f3];return _0x57d735;},_0x15a6(_0x15e0ba,_0x4e7f27);}function _0x2783(){const _0x5a391c=['onCommandExecuted','_httpService','_transformPreviousActiveRange','debounceTime','_roomMembers$','startsWith','Optional','with','createSocket','clsx','onTransformChange$','getUniverSheetInstance','@univerjs-pro/collaboration-client','roomMembers$','application/json','url(#$1','unitID','getCurrentUnitForType','clearInterval','getCollabCursors$','fillStyle','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isActive','activeSheet$','registerRefRange','subunit','IURLService','_drawTextRange','setActiveRange','enableLocalCache','handleInsertRangeMoveDown','BehaviorSubject','getCurrentSelections','WebURLService','SYNCED','_getAnchorBounding','use','endRow','_collabSessionService','NodePositionConvertToRectRange','reconnect','unsubscribe','requireSession','range','textRanges','Unknown\x20user','has','Subject','assignAColorForMemberID','[CollaborationDataLoaderController]','session.connection-failed','path','getCoordByCell','disposeWithMe','_docSkeletonManagerService','DocIMEInputManagerService','cursorInfo','off-line-single','setUndoRedoMutationParamsCache','onPointerLeave$','UNIVER_DOC','DataLoaderService','forwardRef','UniverInstanceType','CONFLICT','_logService','0\x200\x2016\x2016','Tooltip','_scheduleClearOtherTimer','_backgroundColor','CollaborationUIEventId','triggerDblclick','amd','CollaborationController','_getSaveTimeout','_initDependencies','transformSelections','28sRaoES','idSuffix','stringify','COLORS','url(#on-line-single_clip0_910_349)','getLocalCacheKey','_colorIndex','registerBeforeClose','_selfUnitIDs','handleDeleteRangeMoveLeft','addObject','getCellPositionByOffset','TEXT_RANGE_LAYER_INDEX','collaboration.closeRoom','_cursors','url(#off-line-single_clip0_910_343)','executionId','sessionTicket','clipPath','labelPosition','CollaborationStatus','indexOf','UniverDocs','href','_toggleOffline','transformRemoteChangeset','_updateCollabCursors','selection','_configService','INTERNAL_ERROR','replaceDocRanges','map','key','jsxs','ITransformService','Rect','_scene','transformStateCache','_online','call','M0\x200H16V16H0z','generateRandomId','809581rePhMr','WebSocketService','NodePositionConvertToCursor','IMessageService','_disabled','IRenderManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','prototype','_univerInstanceService','getMergeData','_entityInit$','fillText','row','handleMoveRange','InsertRangeMoveDownCommandId','_memberService','_initResize','UNDEFINED','top','RxDisposable','width','Failed','SetTextSelectionsOperation','dispose','_hover','INotificationService','YUUMI_URL_COL_OUT_OF_RANGE','_unitStatus','TEXT','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_INVALID_SNAPSHOT','function','getFocusedUnit','DEFAULT_WS_SESSION_TICKET_URL','_status$','RECT','pushState','column','_name','CollaborationEvent','subscribe','ISocketService','executeCommand','lineTo','RegularPolygon','3114120oNJqKv','_beforeCloseService','getActiveRange','_color','rxjs','getOwnPropertyDescriptor','useDependency','setShapeProps','currentColor','_docClipboardService','_handleJoinEvent','subscribeEvent','toRgbString','LocaleService','docStateChange$','name','getColor','asObservable','string','object','useObservable','_eventUnsubscribe','AWAITING','urlChange$','merge','data','SetSelectionsOperation','_draw','NOT_FOUND','Inject','UniverNetwork','takeUntil','getOwnPropertySymbols','_scheduleSaving','evenodd','session.collaboration-timeout','_transformUndoRedoStack','unit','collaboration.single-unit.warning','startColumn','_id','currentSkeleton$','LICENSE_MAX_UNITS_EXCEEDED','exhaustSavingTask','LOCAL_CACHE_INTERVAL','UniverProCollaborationClient','arc','@univerjs/sheets-ui','_initEntityListener','collab-text-anchor-','defs','_setupSubUnitSync','collabStatus.fetchMiss','...','getCollabEntity$','off-line-single_clip0_910_343','getRenderById','UniverEngineFormula','APPLY_NON_SEQUENTIAL_REVISION','SHEET_VIEWPORT_KEY','doc.mutation.rich-text-editing','handleIRemoveRow','OffLineSingle','_send','SheetCollabCursorShape','transformByState','MOBILE_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','@univerjs/network','_instanceService','color','source','find','rxjs/operators','closePath','IUniverInstanceService','setParam','_handleHover','all','APPLY_DUPLICATED','Shape','DocStateChangeManagerService','_notificationService','@univerjs/engine-render','show','INVITE_CODE_HAS_BEEN_UES','OTHER_CLIENTS_EDITING','_getSheetObject','Tools','font','split','OFFLINE','blue.400','addObjects','getConfig','_docTransformIMECacheService','_docTransformStateCacheService','_localStorageService','whenReady','_createSocketURL','_ensureSubject','getColorFromTheme','_saveCache','_uiPartsService','_collabCursorState$','_document','_handleEvent','fill','UniverCore','_drawRectRange','bottom','CollaborationUIEventService','status$','SessionStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_docStateChangeManagerService','hide','distinctUntilChanged','dispose$','mapTo','PY_RUNTIME_SCRIPT_ERROR','getRelativeToViewportCoord','m2Prime','CONNECTOR_DATA_TOO_LARGE','_startDocCollabCursor','syncEditingCollabCursor','toDisposable','m1Prime','ILocalStorageService','OTHER_CLIENT_EDITING','IRemoteInstanceService','UNRECOGNIZED','Workbook','PERMISSION_DENIED','black','newValue','div','forEach','add','@univerjs/ui','post','_shapes','touchDependencies','@univerjs/rpc','resize','_drawAnchor','drawWith','SheetSkeletonManagerService','location','debounce','disableLocalCache','getVpScrollXYInfoByPosToVp','react','collaboration-client.offline-data-not-saved','RefRangeService','toString','getParam','onPointerMove$','getValue','getSkeleton','from','RemoteUniscriptService','SheetsSelectionsService','/run/','_getMergeRange','deepClone','permission.content','YUUMI_UNABLE_LOAD_URL','_hovered','storage','EffectRefRangId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','React','transformIMECache','onMouseMove','purple.300','2346573AXEZKE','collab-text-range-','@univerjs/design','_docSyncEditingCollabCursorService','_anchor','getSheetId','INVITE_CODE_REQUIRED','searchParams','tag','setTimeout','_render','#fff','INVITE_CODE_ALREADY_BOUND','DependentOn','push','translate(.97)','saveTaskMap','handleDeleteRangeMoveUp','WebBrowserSingleActiveUnitService','BrowserCollaborationSocketService','ranges','EMAIL_HAS_BEEN_BOUND','ColorKit','Module','getTypeOfUnitDisposed$','LICENSE_IMPORT_SIZE_EXCEEDED','_imageIoService','concat','_registerRenderDependencies','sessionStatus$','updateOfflineData','_handleHeartbeatEvent','_sheetSkeletonManagerService','CollaborationDataLoaderController','switchMap','TOO_MANY_REQUESTS','_assignedColors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MoveRangeCommandId','createElement','DesktopCollaborationStatusDisplayController','removeParam','CHANGESET_REVISION_CONFILICT','univerjs-icon\x20univerjs-icon-','66335IUAkfR','_anchorDot','SOCKET_FAILED_RETRY','loadOfflineData','_lastPointer','getCurrentRevOfUnit','throttleTime','apply','Rectangle','YUUMI_ASYNCIO_CANCELLED','getAncestorScale','@univerjs/core','UNIVER_SHEET','body','YUUMI_AI_RUN_FAILED','MessageType','DisposableCollection','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','red.300','min','FromArray','UniverDesign','Injector','_collaborationUIEventService','UniverIcon','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_RATE_OVER_LIMIT','_colorAssignService','height','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformService','filter','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UPDATE_CURSOR','runId','2qZqtqD','eventID','collabStatus.synced','472374puTCtW','_messageService','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','pluginName','getTypeOfUnitAdded$','@univerjs/engine-formula','6625960MaVSFi','addClipboardHook','RemoveRowCommandId','set','Disposable','yellow.400','collabStatus.syncing','RemoveColCommandId','_commandService','univer-flex\x20univer-mr-2\x20univer-text-xl','1515843gHQJHW','fromEvent','onStarting','roomMembers','isTransformMutationsWithChangesetSuccess','_cursorInfo$','140XTYhND','JOIN_ROOM_FAILED','findNodePositionByCharIndex','pipe','xlink:href','UniverCollaborationClientUIPlugin','current','serializeRangeWithSheet','beginPath','USERS_LEAVE','_localeService','children','ICommandService','includes','_urlService','USER_NOT_INVITED_CODE','getStateCache','assign','_removeClearOtherTimer','collabStatus.conflict','_revisionService','DeleteRangeMoveLeftCommandId','APPLY_PERMISSION_DENIED','event$','_init','_updateLocalCursor','NOT_COLLAB','getMember','DOC_RANGE_TYPE','DocCollaborationEntity','IDocClipboardService','_toggleOnline','univer-flex\x20univer-items-center','_docTransformSelectionsService','UniverEngineRender','useCallback','getViewport','WECHAT_HAS_BEEN_BOUND','jiqing.500','subUnitId','APPLY_REVISION_CONFILICT','CollaborationSessionService','getMemberID','substring','fillRule','_initEvent','getActiveSheet','_textBubble','collabStatus.notCollab','getSheetBySheetId','text','InsertColCommandId','invokeId','_scheduleHeartbeat','isArray','_themeService','setItem','loadUnit','COMPLETION_FINISHED','size','redoState','permission.title','getUnhiddenWorksheets','isTransformMutationFailure','editingUnit','_config','get','AWAITING_WITH_PENDING','error','_cursor','getUnitId','wsSessionTicketUrl','attrs','@univerjs-pro/collaboration','none','fromEventSubject','_cachedData','unitId','_updateSubUnitFromURLParams','next','className','ALREADY_EXISTS','handleInsertRangeMoveRight','_unitOnClients','LICENSE_EXPORT_SIZE_EXCEEDED','length','getOffsetConfig','_removeCollabCursors','selections','YUUMI_NO_CUBOID_FOR_QUESTION','_injector','UniverSheets','NO_OTHER_CLIENTS_EDITING','transformMutationsWithChangeset','entries','UNAUTHENTICATED','INVALID_INVITE_CODE','green.600','undoState','Warning','svg','addEventListener','_session','delete','override','_initStatusComponent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SUBMIT_CHANGESET_TIMEOUT','@univerjs/docs-ui','values','rgba(255,\x20255,\x20255,\x200.01)','onPointerEnter$','defineProperty','complete','history','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_dataLoaderService','getDocRanges','setAlpha','unshift','collabStatus.offline','_handleLeaveEvent','_renderManagerService','isEditing','#FFF','_range','collab-rect-range-','on-line-single_clip0_910_349','IUIPartsService','1em','clearTimeout','type','LOGIN_FAILED','@univerjs/docs','saveOfflineData','BuiltInUIPart','sheetId','_labelPosition','send','saveImage','_onCursorUpdate','parse','YUUMI_ALL_TABLES_IS_INVALID','init','UniverProCollaboration','cursorInfo$','Error','_refreshCollabCursors','transformMutation','IImageIoService','random','_saveTaskMap','save','InsertRangeMoveRightCommandId','session.will-retry','startRow','setConfig','ONLINE','actions','_startSheetCollabCursor','MemberService','react/jsx-runtime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SetWorksheetActivateCommand','_syncEditingCollabCursorService','operators','DeleteRangeMoveUpCommandId','runRefRangeMutations','colorChannel1','ILocalCacheService','currentTheme$','UniverDocsUi','createInstance','some','_localCacheService','UniverUi','getSheetObject','measureText','UnitStatus','displayName','_clearOtherTimers','getRangePointData','LICENSE_DISTRO_REJECTED','deserializeRangeWithSheet','registerDependencies','round','ENSURE_SNAPSHOT_EXECUTION','replace','jsx','defIds','_collaborationController','_context','origin','_entities','SetDocZoomRatioOperation','restore','hovered','_onCursorDelete','params','0\x200\x2017\x2016','DocSelectionManagerService','createIdentifier','_heartbeatTimer','_setupBeforeClosingHandler','_collabCursorController','_refRangeService','getUnitStatus$','collabCursorState$','code','replaceState','mutations','memberID','IConfigService','disposeUnit','_cursorShapes','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertRowCommandId','@univerjs/drawing','icon','_registerDependencies','Vector2','hasOwnProperty','CollaborationSocketService'];_0x2783=function(){return _0x5a391c;};return _0x2783();}(function(_0x429aec,_0x1a9852){const _0x302904=_0x15a6,_0x305bc6=_0x429aec();while(!![]){try{const _0x52c932=-parseInt(_0x302904(0x301))/0x1+-parseInt(_0x302904(0x192))/0x2*(parseInt(_0x302904(0x142))/0x3)+-parseInt(_0x302904(0x2d7))/0x4*(-parseInt(_0x302904(0x16e))/0x5)+parseInt(_0x302904(0x32e))/0x6+-parseInt(_0x302904(0x195))/0x7+-parseInt(_0x302904(0x19b))/0x8+-parseInt(_0x302904(0x1a5))/0x9*(-parseInt(_0x302904(0x1ab))/0xa);if(_0x52c932===_0x1a9852)break;else _0x305bc6['push'](_0x305bc6['shift']());}catch(_0x3e1d21){_0x305bc6['push'](_0x305bc6['shift']());}}}(_0x2783,0x75c40),function(_0x2f482a,_0x3534ef){const _0x2ccbbb=_0x15a6;typeof exports==_0x2ccbbb(0x341)&&typeof module<'u'?_0x3534ef(exports,require(_0x2ccbbb(0x296)),require(_0x2ccbbb(0x179)),require(_0x2ccbbb(0x381)),require('@univerjs/network'),require(_0x2ccbbb(0x217)),require(_0x2ccbbb(0x284)),require(_0x2ccbbb(0x332)),require('@univerjs/docs'),require(_0x2ccbbb(0x1f4)),require(_0x2ccbbb(0x19a)),require('@univerjs/sheets'),require(_0x2ccbbb(0x377)),require(_0x2ccbbb(0x35d)),require(_0x2ccbbb(0x24c)),require(_0x2ccbbb(0x11c)),require(_0x2ccbbb(0x144)),require('react'),require('@univerjs/rpc')):typeof define==_0x2ccbbb(0x320)&&define[_0x2ccbbb(0x2d2)]?define(['exports',_0x2ccbbb(0x296),_0x2ccbbb(0x179),'@univerjs/engine-render',_0x2ccbbb(0x372),_0x2ccbbb(0x217),'@univerjs/drawing',_0x2ccbbb(0x332),_0x2ccbbb(0x230),_0x2ccbbb(0x1f4),_0x2ccbbb(0x19a),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui','react/jsx-runtime','@univerjs/ui','@univerjs/design',_0x2ccbbb(0x129),_0x2ccbbb(0x120)],_0x3534ef):(_0x2f482a=typeof globalThis<'u'?globalThis:_0x2f482a||self,_0x3534ef(_0x2f482a['UniverProCollaborationClientUi']={},_0x2f482a[_0x2ccbbb(0x35b)],_0x2f482a[_0x2ccbbb(0x39a)],_0x2f482a[_0x2ccbbb(0x1cd)],_0x2f482a[_0x2ccbbb(0x34c)],_0x2f482a[_0x2ccbbb(0x256)],_0x2f482a['UniverDrawing'],_0x2f482a['rxjs'],_0x2f482a[_0x2ccbbb(0x2ed)],_0x2f482a[_0x2ccbbb(0x23b)],_0x2f482a[_0x2ccbbb(0x367)],_0x2f482a[_0x2ccbbb(0x206)],_0x2f482a[_0x2ccbbb(0x332)][_0x2ccbbb(0x250)],_0x2f482a['UniverSheetsUi'],_0x2f482a[_0x2ccbbb(0x13e)],_0x2f482a[_0x2ccbbb(0x25a)],_0x2f482a[_0x2ccbbb(0x184)],_0x2f482a[_0x2ccbbb(0x13e)],_0x2f482a['UniverRpc']));}(this,function(_0x67c957,_0x5d9669,_0xdc78a3,_0x4426a9,_0x277e3d,_0x2b0fe2,_0x1e14b9,_0x5985fb,_0x2cf963,_0x58d079,_0x467abe,_0x2615ce,_0x5319cd,_0x583f50,_0xf65799,_0x34dee8,_0x105961,_0x4c952c,_0x145f5f){'use strict';const _0xfc589d=_0x15a6;var _0x2d9ce0=Object['defineProperty'],_0x938a81=(_0x41a44f,_0xf3b5e6,_0x254c1a)=>_0xf3b5e6 in _0x41a44f?_0x2d9ce0(_0x41a44f,_0xf3b5e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x254c1a}):_0x41a44f[_0xf3b5e6]=_0x254c1a,_0x1b4a80=(_0x325bdc,_0x2f059a,_0x9fd7af)=>_0x938a81(_0x325bdc,typeof _0x2f059a!='symbol'?_0x2f059a+'':_0x2f059a,_0x9fd7af),_0x5ac4ab=Object[_0xfc589d(0x333)],_0x295253=(_0x159416,_0x3a5b13,_0x5d27bf,_0x38bf36)=>{for(var _0x4193c4=_0x38bf36>0x1?void 0x0:_0x38bf36?_0x5ac4ab(_0x3a5b13,_0x5d27bf):_0x3a5b13,_0x540cf3=_0x159416['length']-0x1,_0x56276f;_0x540cf3>=0x0;_0x540cf3--)(_0x56276f=_0x159416[_0x540cf3])&&(_0x4193c4=_0x56276f(_0x4193c4)||_0x4193c4);return _0x4193c4;},_0x27f385=(_0x16eea7,_0x4c48a3)=>(_0x169b46,_0x38c1df)=>_0x4c48a3(_0x169b46,_0x38c1df,_0x16eea7);let _0x7e02b8=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x30b208,_0x5add11){const _0x2e36d5=_0xfc589d;super(),this[_0x2e36d5(0x337)]=_0x30b208,this[_0x2e36d5(0x15c)]=_0x5add11,this[_0x2e36d5(0x1c3)]();}[_0xfc589d(0x1c3)](){const _0x295a11=_0xfc589d,_0x1d88a3=this;this[_0x295a11(0x2bf)](this[_0x295a11(0x337)][_0x295a11(0x19c)]({'onBeforePasteImage':async _0x3680c4=>{const _0x12ed26=_0x295a11,_0x185e09=await _0x1d88a3['_imageIoService'][_0x12ed26(0x236)](_0x3680c4);return _0x185e09?{'source':_0x185e09[_0x12ed26(0x375)],'imageSourceType':_0x185e09['imageSourceType']}:null;}}));}};_0x7e02b8=_0x295253([_0x27f385(0x0,_0x2b0fe2[_0xfc589d(0x1c9)]),_0x27f385(0x1,_0x1e14b9[_0xfc589d(0x240)])],_0x7e02b8);const _0x4470b3=[_0xfc589d(0x141),_0xfc589d(0x1d1),_0xfc589d(0x20c),_0xfc589d(0x181),_0xfc589d(0x38a),_0xfc589d(0x1a0)];class _0x548c1e extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(){const _0x8e078b=_0xfc589d;super(...arguments),_0x1b4a80(this,_0x8e078b(0x166),new Map()),_0x1b4a80(this,'_colorIndex',0x0);}[_0xfc589d(0x2ba)](_0x30ea38){const _0x4df59d=_0xfc589d;if(this['_assignedColors']['has'](_0x30ea38))return this[_0x4df59d(0x166)][_0x4df59d(0x1ed)](_0x30ea38);const _0x18948d=_0x4470b3[this[_0x4df59d(0x2dd)]];return this[_0x4df59d(0x2dd)]=(this['_colorIndex']+0x1)%_0x4470b3[_0x4df59d(0x200)],this[_0x4df59d(0x166)][_0x4df59d(0x19e)](_0x30ea38,_0x18948d),_0x18948d;}}function _0x7a401a(_0x15a54b){const _0x277541=_0xfc589d;let _0x3d11b4='';for(const _0x4ca3b7 of _0x15a54b){const {startOffset:_0x4cadd4,endOffset:_0x2ff641,isActive:_0x3a70d6,rangeType:_0x4e2094,segmentId:_0x33848c,segmentPage:_0x9c03be}=_0x4ca3b7;_0x3d11b4[_0x277541(0x200)]&&(_0x3d11b4+=','),_0x3d11b4+=_0x4cadd4+':'+_0x2ff641+':'+(_0x3a70d6?'1':'0')+':'+_0x4e2094+':'+_0x33848c+':'+_0x9c03be;}return _0x3d11b4;}function _0x4cadf4(_0x5bbe7c){const _0x279d8e=_0xfc589d,_0x4e8a19=_0x5bbe7c[_0x279d8e(0x388)](','),_0x2dff8f=[];for(const _0x4675b5 of _0x4e8a19){const [_0x5517dc,_0x382f0b,_0x401e84,_0x2f6ac6,_0x2507ae,_0x2aee76]=_0x4675b5[_0x279d8e(0x388)](':');_0x2dff8f[_0x279d8e(0x150)]({'startOffset':Number(_0x5517dc),'endOffset':Number(_0x382f0b),'collapsed':_0x5517dc===_0x382f0b,'isActive':_0x401e84==='1','rangeType':_0x2f6ac6===_0xdc78a3[_0x279d8e(0x1c7)][_0x279d8e(0x31d)]?_0xdc78a3[_0x279d8e(0x1c7)][_0x279d8e(0x31d)]:_0xdc78a3['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2507ae==_0x279d8e(0x340)?String(_0x2507ae):'','segmentPage':Number(_0x2aee76!=null?_0x2aee76:-0x1)});}return _0x2dff8f[_0x279d8e(0x258)](_0x200071=>_0x200071[_0x279d8e(0x2a0)])||(_0x2dff8f[0x0][_0x279d8e(0x2a0)]=!0x0),_0x2dff8f;}class _0x3bbdcd extends _0xdc78a3['RxDisposable']{constructor(){const _0x5d1bc0=_0xfc589d;super(...arguments),_0x1b4a80(this,_0x5d1bc0(0x396),new _0x5985fb['BehaviorSubject'](null)),_0x1b4a80(this,'collabCursorState$',this[_0x5d1bc0(0x396)][_0x5d1bc0(0x33f)]());}[_0xfc589d(0x3ab)](_0x23c54e){const _0x59ef94=_0xfc589d,{unitID:_0x263ab2,memberID:_0x3966e8,textRanges:_0x584894}=_0x23c54e,_0xe89b56=_0x7a401a(_0x584894);if(_0xe89b56==='')return;const _0x555ac1={'unitID':_0x263ab2,'memberID':_0x3966e8,'selection':_0xe89b56};this[_0x59ef94(0x396)][_0x59ef94(0x1fa)](_0x555ac1);}}var _0x374d35=Object[_0xfc589d(0x333)],_0x529b42=(_0xb3901f,_0x1c2b52,_0x1bdcbe,_0x12ea4f)=>{const _0x4abf43=_0xfc589d;for(var _0x38b4e2=_0x12ea4f>0x1?void 0x0:_0x12ea4f?_0x374d35(_0x1c2b52,_0x1bdcbe):_0x1c2b52,_0x9b2720=_0xb3901f[_0x4abf43(0x200)]-0x1,_0x502456;_0x9b2720>=0x0;_0x9b2720--)(_0x502456=_0xb3901f[_0x9b2720])&&(_0x38b4e2=_0x502456(_0x38b4e2)||_0x38b4e2);return _0x38b4e2;},_0x5a513a=(_0xa331e,_0x261114)=>(_0x25efe7,_0x45e22b)=>_0x261114(_0x25efe7,_0x45e22b,_0xa331e);const _0x129efe=0x12c,_0x37c03a=0x64;let _0x5202de=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x1f8bbe,_0x5dcf78,_0x357d41,_0x1c1c10,_0x2ac37b,_0x596d61,_0x4c68fe,_0x54730d,_0x40a88b){const _0x17ac2b=_0xfc589d;super(),_0x1b4a80(this,_0x17ac2b(0x2fd),!0x1),_0x1b4a80(this,_0x17ac2b(0x1c3),!0x1),_0x1b4a80(this,_0x17ac2b(0x1aa),new _0x5985fb[(_0x17ac2b(0x2a9))](new Map())),_0x1b4a80(this,_0x17ac2b(0x23c),this[_0x17ac2b(0x1aa)][_0x17ac2b(0x33f)]()),_0x1b4a80(this,_0x17ac2b(0x28e),new _0x5985fb['BehaviorSubject']([])),_0x1b4a80(this,_0x17ac2b(0x297),this['_roomMembers$'][_0x17ac2b(0x1ae)](_0x5985fb[_0x17ac2b(0x28d)](_0x129efe))),_0x1b4a80(this,_0x17ac2b(0x1c4),_0xdc78a3[_0x17ac2b(0x126)](_0x539ad8=>{const _0x564b32=_0x17ac2b,_0x1448d5={'eventID':_0x58d079['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x564b32(0x29a)],'memberID':this[_0x564b32(0x211)]['getMemberID'](),'selection':_0x7a401a(_0x539ad8)}};this[_0x564b32(0x211)][_0x564b32(0x235)](_0x1448d5,this[_0x564b32(0x29a)]);},_0x37c03a)),(this[_0x17ac2b(0x29a)]=_0x1f8bbe,this[_0x17ac2b(0x211)]=_0x5dcf78,this['_injector']=_0x357d41,this[_0x17ac2b(0x18a)]=_0x1c1c10,this['_memberService']=_0x2ac37b,this[_0x17ac2b(0x24f)]=_0x596d61,this[_0x17ac2b(0x18d)]=_0x4c68fe,this[_0x17ac2b(0x309)]=_0x54730d,this[_0x17ac2b(0x1a3)]=_0x40a88b);}get[_0xfc589d(0x2c2)](){const _0x23bd53=_0xfc589d;return this[_0x23bd53(0x1aa)][_0x23bd53(0x12f)]();}get[_0xfc589d(0x1a8)](){const _0x5ac3ef=_0xfc589d;return this['_roomMembers$'][_0x5ac3ef(0x12f)]();}[_0xfc589d(0x318)](){const _0x2742f9=_0xfc589d;super['dispose'](),this[_0x2742f9(0x1aa)][_0x2742f9(0x1fa)](new Map()),this[_0x2742f9(0x1aa)][_0x2742f9(0x21c)](),this['_roomMembers$']['next']([]),this[_0x2742f9(0x28e)]['complete']();}[_0xfc589d(0x23a)](){const _0x4aab81=_0xfc589d;this['_init']||(this[_0x4aab81(0x1c3)]=!0x0,this[_0x4aab81(0x211)][_0x4aab81(0x15f)][_0x4aab81(0x1ae)](_0x5985fb[_0x4aab81(0x34d)](this[_0x4aab81(0x3a4)]))['subscribe'](_0xab749=>{const _0x496789=_0x4aab81;_0xab749===_0x5d9669[_0x496789(0x39f)][_0x496789(0x248)]?this[_0x496789(0x1ca)]():this[_0x496789(0x2ef)]();}),this['_session'][_0x4aab81(0x1c2)][_0x4aab81(0x1ae)](_0x5985fb['takeUntil'](this[_0x4aab81(0x3a4)]))[_0x4aab81(0x329)](_0x3de03a=>{const _0x29913b=_0x4aab81,_0x4dbe84=_0x3de03a[_0x29913b(0x193)];_0x4dbe84===_0x58d079[_0x29913b(0x328)][_0x29913b(0x190)]&&this[_0x29913b(0x237)](_0x3de03a),_0x4dbe84===_0x58d079['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x3de03a);}),this['disposeWithMe'](this['_commandService'][_0x4aab81(0x28a)](_0x6c51d4=>{const _0x3ad74c=_0x4aab81,_0x43f655=_0x6c51d4[_0x3ad74c(0x271)];_0x43f655!=null&&this[_0x3ad74c(0x2fd)]&&_0x6c51d4['id']===_0x2cf963[_0x3ad74c(0x317)]['id']&&_0x43f655[_0x3ad74c(0x1f8)]===this['unitID']&&_0x43f655[_0x3ad74c(0x226)]===!0x1&&_0x43f655['ranges'][_0x3ad74c(0x200)]>0x0&&this[_0x3ad74c(0x1c4)](_0x43f655[_0x3ad74c(0x156)]);})),this['_syncEditingCollabCursorService'][_0x4aab81(0x27a)][_0x4aab81(0x1ae)](_0x5985fb[_0x4aab81(0x34d)](this['dispose$']))[_0x4aab81(0x329)](_0x384d13=>{const _0x1ed22b=_0x4aab81;if((_0x384d13==null?void 0x0:_0x384d13[_0x1ed22b(0x29a)])!==this[_0x1ed22b(0x29a)])return;const _0x9b449b={'eventID':_0x58d079[_0x1ed22b(0x328)][_0x1ed22b(0x190)],'data':_0x384d13};this['_onCursorUpdate'](_0x9b449b);}),this[_0x4aab81(0x2bf)](this[_0x4aab81(0x1a3)][_0x4aab81(0x28a)](_0x49f5ce=>{const _0x4cd5d8=_0x4aab81;if(_0x49f5ce[_0x4cd5d8(0x271)]==null)return;const _0x4c718b=_0x49f5ce[_0x4cd5d8(0x271)];if(_0x49f5ce['id']!==_0x2cf963['RichTextEditingMutation']['id']||_0x4c718b[_0x4cd5d8(0x1f8)]!==this['unitID'])return;const _0x1928b4={'id':_0x4cd5d8(0x36a),'params':_0x4c718b},_0x178e75=this[_0x4cd5d8(0x2c2)];for(const [_0x33e967,_0x5cdd3f]of _0x178e75){const _0x4d03b7={'id':_0x4cd5d8(0x36a),'params':{'unitId':this[_0x4cd5d8(0x29a)],'actions':null,'textRanges':_0x5cdd3f[_0x4cd5d8(0x156)]}},_0x425e8f=this[_0x4cd5d8(0x18d)][_0x4cd5d8(0x23f)](_0x1928b4,_0x4d03b7,!0x1);if(_0x58d079[_0x4cd5d8(0x1ea)](_0x425e8f))throw _0x425e8f[_0x4cd5d8(0x1ef)];_0x178e75[_0x4cd5d8(0x19e)](_0x33e967,{..._0x5cdd3f,'ranges':_0x425e8f[_0x4cd5d8(0x3a8)]['params'][_0x4cd5d8(0x2b6)]});}queueMicrotask(()=>{const _0x1c9cb5=_0x4cd5d8;this['_cursorInfo$'][_0x1c9cb5(0x1fa)](_0x178e75);});})));}[_0xfc589d(0x237)](_0x377420){const _0x376220=_0xfc589d;var _0x78239b,_0x30e1e4;const {memberID:_0x3fe7e0,selection:_0x424f00}=_0x377420[_0x376220(0x347)],_0x34404e=_0x4cadf4(_0x424f00),_0x59462f=(_0x30e1e4=(_0x78239b=this[_0x376220(0x310)][_0x376220(0x1c6)](this[_0x376220(0x29a)],_0x3fe7e0))==null?void 0x0:_0x78239b['name'])!=null?_0x30e1e4:_0x376220(0x2b7),_0x1635ce={'color':this[_0x376220(0x18a)][_0x376220(0x2ba)](_0x3fe7e0),'name':_0x59462f,'ranges':_0x34404e},_0x577f5d=this[_0x376220(0x2c2)];_0x577f5d[_0x376220(0x19e)](_0x3fe7e0,_0x1635ce),this[_0x376220(0x1aa)]['next'](_0x577f5d);}[_0xfc589d(0x270)](_0x300e8e){const _0x2f4499=_0xfc589d,{memberID:_0x247d54}=_0x300e8e['data'],_0x567315=this['cursorInfo'];_0x567315['delete'](_0x247d54),this[_0x2f4499(0x1aa)]['next'](_0x567315);}['_toggleOnline'](){const _0x3c1feb=_0xfc589d;var _0x1f8c09;if(this[_0x3c1feb(0x2fd)]=!0x0,((_0x1f8c09=this[_0x3c1feb(0x309)][_0x3c1feb(0x321)]())==null?void 0x0:_0x1f8c09[_0x3c1feb(0x1f1)]())!==this[_0x3c1feb(0x29a)])return;const _0x510113=this[_0x3c1feb(0x205)][_0x3c1feb(0x1ed)](_0x2cf963[_0x3c1feb(0x273)])[_0x3c1feb(0x220)]();Array[_0x3c1feb(0x1e1)](_0x510113)&&_0x510113[_0x3c1feb(0x200)]>0x0&&this[_0x3c1feb(0x1c4)](_0x510113);}['_toggleOffline'](){const _0x1e0022=_0xfc589d;this[_0x1e0022(0x2fd)]=!0x1;}};_0x5202de=_0x529b42([_0x5a513a(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x5a513a(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x548c1e)),_0x5a513a(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x24b)])),_0x5a513a(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0x3bbdcd)),_0x5a513a(0x6,_0x58d079[_0xfc589d(0x2f9)]),_0x5a513a(0x7,_0xdc78a3[_0xfc589d(0x379)]),_0x5a513a(0x8,_0xdc78a3['ICommandService'])],_0x5202de);var _0x377409=Object['getOwnPropertyDescriptor'],_0x2c20d8=(_0x306e75,_0x5edcba,_0x357bab,_0x178f7f)=>{for(var _0x2b9ca8=_0x178f7f>0x1?void 0x0:_0x178f7f?_0x377409(_0x5edcba,_0x357bab):_0x5edcba,_0x2e5f58=_0x306e75['length']-0x1,_0x237a28;_0x2e5f58>=0x0;_0x2e5f58--)(_0x237a28=_0x306e75[_0x2e5f58])&&(_0x2b9ca8=_0x237a28(_0x2b9ca8)||_0x2b9ca8);return _0x2b9ca8;},_0x585253=(_0x57c9c4,_0x479750)=>(_0x41112d,_0xf5e7a9)=>_0x479750(_0x41112d,_0xf5e7a9,_0x57c9c4);const _0x176260=0x12c,_0x3fb02e=0x64,_0x2a2788=()=>{let _0x1a84ab=[],_0x44f4c6=!0x1;return _0x5f093f=>{const _0x9c3d46=_0x15a6;_0x1a84ab[_0x9c3d46(0x150)](_0x5f093f),_0x44f4c6||(_0x44f4c6=!0x0,setTimeout(()=>{_0x1a84ab['forEach'](_0x4ea0c2=>_0x4ea0c2()),_0x1a84ab=[],_0x44f4c6=!0x1;}));};};let _0x562e41=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x14130f,_0x595d69,_0x48ae3c,_0xe59953,_0x1e6696,_0x3967b8,_0x539bdb,_0x23e002){const _0x2cdd23=_0xfc589d;super(),_0x1b4a80(this,'_online',!0x1),_0x1b4a80(this,'_init',!0x1),_0x1b4a80(this,_0x2cdd23(0x1aa),new _0x5985fb[(_0x2cdd23(0x2a9))](new Map())),_0x1b4a80(this,_0x2cdd23(0x23c),this[_0x2cdd23(0x1aa)][_0x2cdd23(0x33f)]()),_0x1b4a80(this,_0x2cdd23(0x28e),new _0x5985fb[(_0x2cdd23(0x2a9))]([])),_0x1b4a80(this,'roomMembers$',this[_0x2cdd23(0x28e)][_0x2cdd23(0x1ae)](_0x5985fb[_0x2cdd23(0x28d)](_0x176260))),_0x1b4a80(this,_0x2cdd23(0x1c4),_0xdc78a3['debounce']((_0x92eb11,_0x95b6ff)=>{const _0x308696=_0x2cdd23,_0xf374cc={'eventID':_0x58d079[_0x308696(0x328)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x308696(0x1d5)](),'selection':_0x467abe[_0x308696(0x1b2)](_0x92eb11,_0x95b6ff[_0x308696(0x2b5)])}};this[_0x308696(0x211)][_0x308696(0x235)](_0xf374cc,this[_0x308696(0x29a)]);},_0x3fb02e)),(this[_0x2cdd23(0x29a)]=_0x14130f,this[_0x2cdd23(0x211)]=_0x595d69,this['_injector']=_0x48ae3c,this[_0x2cdd23(0x18a)]=_0xe59953,this[_0x2cdd23(0x310)]=_0x1e6696,this['_univerInstanceService']=_0x3967b8,this['_commandService']=_0x539bdb,this['_refRangeService']=_0x23e002);}get[_0xfc589d(0x2c2)](){const _0x3eae41=_0xfc589d;return this[_0x3eae41(0x1aa)][_0x3eae41(0x12f)]();}get[_0xfc589d(0x1a8)](){const _0x4604bd=_0xfc589d;return this[_0x4604bd(0x28e)][_0x4604bd(0x12f)]();}[_0xfc589d(0x318)](){const _0x1025f8=_0xfc589d;super[_0x1025f8(0x318)](),this[_0x1025f8(0x1aa)]['next'](new Map()),this[_0x1025f8(0x1aa)][_0x1025f8(0x21c)](),this[_0x1025f8(0x28e)]['next']([]),this['_roomMembers$'][_0x1025f8(0x21c)]();}[_0xfc589d(0x23a)](){const _0x1ee483=_0xfc589d;this[_0x1ee483(0x1c3)]||(this[_0x1ee483(0x1c3)]=!0x0,this[_0x1ee483(0x211)]['sessionStatus$'][_0x1ee483(0x1ae)](_0x5985fb[_0x1ee483(0x34d)](this[_0x1ee483(0x3a4)]))[_0x1ee483(0x329)](_0x476134=>{const _0x36ca53=_0x1ee483;_0x476134===_0x5d9669['SessionStatus'][_0x36ca53(0x248)]?this['_toggleOnline']():this[_0x36ca53(0x2ef)]();}),this[_0x1ee483(0x211)][_0x1ee483(0x1c2)][_0x1ee483(0x1ae)](_0x5985fb['takeUntil'](this[_0x1ee483(0x3a4)]))[_0x1ee483(0x329)](_0x4ada70=>{const _0x236155=_0x1ee483,_0x177930=_0x4ada70['eventID'];_0x177930===_0x58d079['CollaborationEvent'][_0x236155(0x190)]&&this['_onCursorUpdate'](_0x4ada70),_0x177930===_0x58d079[_0x236155(0x328)][_0x236155(0x1b4)]&&this[_0x236155(0x270)](_0x4ada70);}),this['_onRefRangeChange'](),this[_0x1ee483(0x2bf)](this[_0x1ee483(0x1a3)][_0x1ee483(0x28a)](_0x2bdced=>{const _0x2145d2=_0x1ee483;if(this[_0x2145d2(0x2fd)]&&_0x2bdced['id']===_0x2615ce[_0x2145d2(0x348)]['id']&&_0x2bdced[_0x2145d2(0x271)][_0x2145d2(0x1f8)]===this[_0x2145d2(0x29a)]){const _0x2ff154=_0x2bdced[_0x2145d2(0x271)];this[_0x2145d2(0x1c4)](_0x2ff154[_0x2145d2(0x1d2)],_0x2ff154[_0x2145d2(0x203)][0x0]);}})));}['_onCursorUpdate'](_0x4a5e69){const _0x25cc84=_0xfc589d;var _0x487494,_0x4ef9cc;const {memberID:_0x5d74ba,selection:_0x1c5a6b}=_0x4a5e69[_0x25cc84(0x347)],{sheetName:_0x48eeda,range:_0x36906a}=_0x467abe[_0x25cc84(0x262)](_0x1c5a6b),_0x49ce30={'name':(_0x4ef9cc=(_0x487494=this[_0x25cc84(0x310)][_0x25cc84(0x1c6)](this[_0x25cc84(0x29a)],_0x5d74ba))==null?void 0x0:_0x487494[_0x25cc84(0x33d)])!=null?_0x4ef9cc:_0x25cc84(0x2b7),'range':this['_getMergeRange'](_0x48eeda,_0x36906a),'sheetID':_0x48eeda,'color':this[_0x25cc84(0x18a)][_0x25cc84(0x2ba)](_0x5d74ba),'selection':_0x1c5a6b},_0x2c5b83=this[_0x25cc84(0x2c2)];_0x2c5b83[_0x25cc84(0x19e)](_0x5d74ba,_0x49ce30),this[_0x25cc84(0x1aa)][_0x25cc84(0x1fa)](_0x2c5b83);}[_0xfc589d(0x270)](_0x10ce58){const _0x20d17c=_0xfc589d,{memberID:_0x5b58ae}=_0x10ce58[_0x20d17c(0x347)],_0xd6fb17=this[_0x20d17c(0x2c2)];_0xd6fb17[_0x20d17c(0x212)](_0x5b58ae),this[_0x20d17c(0x1aa)][_0x20d17c(0x1fa)](_0xd6fb17);}[_0xfc589d(0x135)](_0x40dd1d,_0x583f3f){const _0x22879a=_0xfc589d;var _0xc0e1d,_0x149e0;const _0x51dbd1=(_0x149e0=(_0xc0e1d=this[_0x22879a(0x309)][_0x22879a(0x295)](this[_0x22879a(0x29a)]))==null?void 0x0:_0xc0e1d[_0x22879a(0x1dc)](_0x40dd1d))==null?void 0x0:_0x149e0[_0x22879a(0x30a)]();return(_0x51dbd1==null?void 0x0:_0x51dbd1[_0x22879a(0x376)](_0x2d5dd5=>_0xdc78a3[_0x22879a(0x176)]['contains'](_0x2d5dd5,_0x583f3f)))||_0x583f3f;}['_onRefRangeChange'](){const _0x23996d=_0xfc589d,_0x16817b=new _0xdc78a3[(_0x23996d(0x17e))](),_0x413c0f=_0x2a2788(),_0x5e052e=()=>{const _0x3e4c65=_0x23996d;_0x16817b[_0x3e4c65(0x318)]();const _0x4cf656=(_0x4d1249,_0x30c7a0,_0x17cf51,_0x5e46e8)=>{const _0x198a30=_0x3e4c65;let _0x505e76=[];switch(_0x4d1249['id']){case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x1c0)]:{_0x505e76=_0x2615ce[_0x198a30(0x2e0)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x251)]:{_0x505e76=_0x2615ce[_0x198a30(0x153)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x1de)]:{_0x505e76=_0x2615ce['handleInsertCol'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x30f)]:{_0x505e76=_0x2615ce[_0x198a30(0x2a8)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x244)]:{_0x505e76=_0x2615ce[_0x198a30(0x1fd)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x283)]:{_0x505e76=_0x2615ce['handleInsertRow'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x168)]:{_0x505e76=_0x2615ce[_0x198a30(0x30e)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x1a2)]:{_0x505e76=_0x2615ce['handleIRemoveCol'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x19d)]:{_0x505e76=_0x2615ce[_0x198a30(0x36b)](_0x4d1249,_0x5e46e8);break;}}const _0x441669=_0x2615ce[_0x198a30(0x252)](_0x505e76,_0x5e46e8),_0x37de4b=this['cursorInfo']['get'](_0x30c7a0);if(_0x37de4b&&_0x441669){const _0x1d70c0={..._0x37de4b,'range':_0x441669};this['cursorInfo'][_0x198a30(0x19e)](_0x30c7a0,_0x1d70c0),_0x413c0f(()=>{const _0x27ca23=_0x198a30,_0x127597=this['_refRangeService']['registerRefRange'](_0x441669,_0x44f461=>(_0x127597['dispose'](),_0x4cf656(_0x44f461,_0x30c7a0,_0x17cf51,_0x441669)));_0x16817b[_0x27ca23(0x11b)](_0x127597);});}return{'redos':[],'undos':[]};};this[_0x3e4c65(0x2c2)][_0x3e4c65(0x11a)]((_0x1b516a,_0x1f699f)=>{const _0x3ef8ca=_0x3e4c65,{range:_0x266490,sheetID:_0x46c753}=_0x1b516a,_0x17f03a=this[_0x3ef8ca(0x278)][_0x3ef8ca(0x2a2)](_0x266490,_0xa2fb5=>(_0x17f03a[_0x3ef8ca(0x318)](),_0x4cf656(_0xa2fb5,_0x1f699f,_0x46c753,_0x266490)));_0x16817b[_0x3ef8ca(0x11b)](_0x17f03a);});};this[_0x23996d(0x2bf)](_0xdc78a3[_0x23996d(0x3ac)](this[_0x23996d(0x1aa)][_0x23996d(0x329)](()=>{_0x5e052e();})));}['_toggleOnline'](){const _0x1dc79d=_0xfc589d;var _0x22c2a1,_0xa622a4;if(this[_0x1dc79d(0x2fd)]=!0x0,((_0x22c2a1=this['_univerInstanceService'][_0x1dc79d(0x321)]())==null?void 0x0:_0x22c2a1['getUnitId']())!==this['unitID'])return;const _0x6c854e=(_0xa622a4=this['_injector'][_0x1dc79d(0x1ed)](_0x2615ce[_0x1dc79d(0x133)])[_0x1dc79d(0x2aa)]())==null?void 0x0:_0xa622a4[0x0],_0xebc11b=this[_0x1dc79d(0x309)][_0x1dc79d(0x29b)](_0xdc78a3[_0x1dc79d(0x2c9)][_0x1dc79d(0x17a)])[_0x1dc79d(0x1d9)]();_0x6c854e&&_0xebc11b&&this[_0x1dc79d(0x1c4)](_0xebc11b[_0x1dc79d(0x147)](),_0x6c854e);}[_0xfc589d(0x2ef)](){const _0x2d3c62=_0xfc589d;this[_0x2d3c62(0x2fd)]=!0x1;}};_0x562e41=_0x2c20d8([_0x585253(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['Injector'])),_0x585253(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x548c1e)),_0x585253(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x24b)])),_0x585253(0x5,_0xdc78a3[_0xfc589d(0x379)]),_0x585253(0x6,_0xdc78a3[_0xfc589d(0x1b7)]),_0x585253(0x7,_0xdc78a3[_0xfc589d(0x34b)](_0x2615ce[_0xfc589d(0x12b)]))],_0x562e41);var _0x3001b2=Object[_0xfc589d(0x333)],_0x69189=(_0x18d653,_0x42d856,_0x5851a2,_0x1b4b2c)=>{for(var _0xc8fa0c=_0x1b4b2c>0x1?void 0x0:_0x1b4b2c?_0x3001b2(_0x42d856,_0x5851a2):_0x42d856,_0x25b662=_0x18d653['length']-0x1,_0x36e655;_0x25b662>=0x0;_0x25b662--)(_0x36e655=_0x18d653[_0x25b662])&&(_0xc8fa0c=_0x36e655(_0xc8fa0c)||_0xc8fa0c);return _0xc8fa0c;},_0x4f9b90=(_0x546b4e,_0x2c0746)=>(_0x2f0349,_0x34b72c)=>_0x2c0746(_0x2f0349,_0x34b72c,_0x546b4e);let _0x28169a=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x543dcf,_0x12146d,_0x404996){const _0x469088=_0xfc589d;super(),_0x1b4a80(this,_0x469088(0x26c),new Map()),_0x1b4a80(this,_0x469088(0x30b),new _0x5985fb[(_0x469088(0x2b9))]()),(this[_0x469088(0x309)]=_0x543dcf,this[_0x469088(0x205)]=_0x12146d,this[_0x469088(0x2b0)]=_0x404996,this[_0x469088(0x1c3)]());}[_0xfc589d(0x318)](){const _0x395142=_0xfc589d;super[_0x395142(0x318)](),this[_0x395142(0x30b)][_0x395142(0x21c)](),this[_0x395142(0x26c)][_0x395142(0x11a)](_0x3e8b32=>_0x3e8b32['dispose']());}[_0xfc589d(0x29d)](_0x270ad1){const _0xdb3e1c=_0xfc589d;return this[_0xdb3e1c(0x26c)][_0xdb3e1c(0x2b8)](_0x270ad1)?this['_entities'][_0xdb3e1c(0x1ed)](_0x270ad1)[_0xdb3e1c(0x23c)]:this[_0xdb3e1c(0x30b)][_0xdb3e1c(0x1ae)](_0x5985fb[_0xdb3e1c(0x18e)](_0x2cb069=>_0x2cb069[_0xdb3e1c(0x29a)]===_0x270ad1),_0x5985fb['switchMap'](_0x594ebd=>_0x594ebd['cursorInfo$']));}[_0xfc589d(0x1c3)](){const _0x4b24be=_0xfc589d;this[_0x4b24be(0x309)][_0x4b24be(0x199)](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x17a)])['pipe'](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x329)](async _0x8d5ec6=>{const _0x53e478=_0x4b24be,_0x1254e1=_0x8d5ec6[_0x53e478(0x1f1)](),_0x211f7c=await this[_0x53e478(0x24a)](_0x1254e1);this['_entityInit$'][_0x53e478(0x1fa)](_0x211f7c),this[_0x53e478(0x26c)][_0x53e478(0x19e)](_0x1254e1,_0x211f7c);}),this[_0x4b24be(0x309)]['getTypeOfUnitAdded$'](_0xdc78a3[_0x4b24be(0x2c9)]['UNIVER_DOC'])['pipe'](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x1ae)](_0x5985fb[_0x4b24be(0x18e)](_0x30341e=>!_0x30341e[_0x4b24be(0x1f1)]()[_0x4b24be(0x28f)]('__')))['subscribe'](async _0x1e42fc=>{const _0x5ea6df=_0x4b24be,_0x57f584=_0x1e42fc[_0x5ea6df(0x1f1)](),_0x596f80=await this[_0x5ea6df(0x3aa)](_0x57f584);this[_0x5ea6df(0x30b)]['next'](_0x596f80),this[_0x5ea6df(0x26c)][_0x5ea6df(0x19e)](_0x57f584,_0x596f80);}),_0x5985fb['merge'](this[_0x4b24be(0x309)][_0x4b24be(0x15a)](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x2c6)]),this[_0x4b24be(0x309)]['getTypeOfUnitDisposed$'](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x17a)]))[_0x4b24be(0x1ae)](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x329)](_0x1b4153=>{const _0x42adbb=_0x4b24be,_0x1c9db1=_0x1b4153[_0x42adbb(0x1f1)](),_0x29cd88=this['_entities'][_0x42adbb(0x1ed)](_0x1c9db1);_0x29cd88&&(_0x29cd88[_0x42adbb(0x318)](),this[_0x42adbb(0x26c)][_0x42adbb(0x212)](_0x1c9db1));});}async[_0xfc589d(0x24a)](_0x488bcf){const _0x39f328=_0xfc589d,_0x5a14ab=await this[_0x39f328(0x2b0)][_0x39f328(0x2b4)](_0x488bcf),_0x5a3a51=this[_0x39f328(0x205)][_0x39f328(0x257)](_0x562e41,_0x488bcf,_0x5a14ab);return _0x5a3a51['init'](),_0x5a3a51;}async[_0xfc589d(0x3aa)](_0x34c067){const _0x4af650=_0xfc589d,_0x507646=await this['_collabSessionService'][_0x4af650(0x2b4)](_0x34c067),_0x303bdf=this[_0x4af650(0x205)][_0x4af650(0x257)](_0x5202de,_0x34c067,_0x507646);return _0x303bdf['init'](),_0x303bdf;}};_0x28169a=_0x69189([_0x4f9b90(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x4f9b90(0x1,_0xdc78a3['Inject'](_0xdc78a3[_0xfc589d(0x185)])),_0x4f9b90(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x1d4)]))],_0x28169a);const _0x32c39a=0x14,_0x11037e=0xc8,_0x5ac609=0x4,_0x5d4b7d=0x5;function _0x28df16(_0x583cf6,_0x3997e4){const _0x12e68a=_0xfc589d;let {radius:_0x142914,width:_0x4bed57,height:_0x5e33b2}=_0x3997e4;_0x142914=_0x142914!=null?_0x142914:0x0,_0x4bed57=_0x4bed57!=null?_0x4bed57:0x1e,_0x5e33b2=_0x5e33b2!=null?_0x5e33b2:0x1e;let _0x98ff7=0x0,_0x312dd8=0x0,_0x134845=0x0;_0x98ff7=_0x312dd8=_0x134845=Math[_0x12e68a(0x182)](_0x142914,_0x4bed57/0x2,_0x5e33b2/0x2),_0x583cf6[_0x12e68a(0x1b3)](),_0x583cf6['moveTo'](_0x98ff7,0x0),_0x583cf6[_0x12e68a(0x32c)](_0x4bed57-_0x312dd8,0x0),_0x583cf6[_0x12e68a(0x35c)](_0x4bed57-_0x312dd8,_0x312dd8,_0x312dd8,Math['PI']*0x3/0x2,0x0,!0x1),_0x583cf6[_0x12e68a(0x32c)](_0x4bed57,_0x5e33b2-_0x134845),_0x583cf6[_0x12e68a(0x35c)](_0x4bed57-_0x134845,_0x5e33b2-_0x134845,_0x134845,0x0,Math['PI']/0x2,!0x1),_0x583cf6[_0x12e68a(0x32c)](0x0,_0x5e33b2),_0x583cf6[_0x12e68a(0x32c)](0x0,_0x98ff7),_0x583cf6['arc'](_0x98ff7,_0x98ff7,_0x98ff7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x583cf6[_0x12e68a(0x378)](),_0x3997e4[_0x12e68a(0x399)]&&(_0x583cf6['save'](),_0x583cf6[_0x12e68a(0x29e)]=_0x3997e4[_0x12e68a(0x399)],_0x3997e4[_0x12e68a(0x1d7)]===_0x12e68a(0x350)?_0x583cf6['fill'](_0x12e68a(0x350)):_0x583cf6[_0x12e68a(0x399)](),_0x583cf6[_0x12e68a(0x26e)]());}class _0x36f48e extends _0x4426a9[_0xfc589d(0x37e)]{constructor(_0x2e4673,_0x499918){const _0x2ad8ea=_0xfc589d;super(_0x2e4673,_0x499918),_0x1b4a80(this,_0x2ad8ea(0x374)),_0x1b4a80(this,_0x2ad8ea(0x1dd)),(this['color']=_0x499918==null?void 0x0:_0x499918[_0x2ad8ea(0x374)],this[_0x2ad8ea(0x1dd)]=_0x499918==null?void 0x0:_0x499918[_0x2ad8ea(0x1dd)]);}static[_0xfc589d(0x123)](_0x3483e2,_0x661145){const _0x4dcceb=_0xfc589d,{text:_0x3bead7,color:_0x2112eb}=_0x661145;_0x3483e2[_0x4dcceb(0x243)](),_0x3483e2[_0x4dcceb(0x387)]=_0x4dcceb(0x29f);const _0xc0ab7c=_0x3483e2[_0x4dcceb(0x25c)](_0x3bead7)[_0x4dcceb(0x315)],_0x5eef34=Math[_0x4dcceb(0x182)](_0xc0ab7c+0x2*_0x5ac609,_0x11037e);_0x28df16(_0x3483e2,{'height':_0x32c39a,'radius':0x4,'width':_0x5eef34,'fill':_0x2112eb}),_0x3483e2[_0x4dcceb(0x29e)]=_0x4dcceb(0x227);const _0x3d1f5e=_0x5ac609,_0x571a0a=_0x32c39a-_0x5d4b7d,_0x2f356a=_0x11037e-0x2*_0x5ac609;if(_0xc0ab7c>_0x2f356a){let _0x1d41e5='',_0x41a157=0x0;for(const _0x51eec2 of _0x3bead7){const _0x3908a5=_0x3483e2[_0x4dcceb(0x25c)](_0x51eec2)[_0x4dcceb(0x315)];if(_0x41a157+_0x3908a5<=_0x2f356a-_0x3483e2['measureText'](_0x4dcceb(0x363))['width'])_0x1d41e5+=_0x51eec2,_0x41a157+=_0x3908a5;else{_0x1d41e5+=_0x4dcceb(0x363);break;}}_0x3483e2[_0x4dcceb(0x30c)](_0x1d41e5,_0x3d1f5e,_0x571a0a);}else _0x3483e2[_0x4dcceb(0x30c)](_0x3bead7,_0x3d1f5e,_0x571a0a);_0x3483e2[_0x4dcceb(0x26e)]();}[_0xfc589d(0x349)](_0x2c68f0){const _0x1b0810=_0xfc589d;_0x36f48e[_0x1b0810(0x123)](_0x2c68f0,this);}}const _0x5458c9=_0xfc589d(0x35f),_0x567d3b=_0xfc589d(0x143),_0x5208ac=_0xfc589d(0x229),_0x33fb55=0x6,_0x52e6cf=1.5,_0x3b0832=0x4,_0x198386=1.5,_0x2460ad=_0xfc589d(0x219);class _0x27e883{constructor(_0x3a2aae,_0x37931e,_0xa10016,_0x21c670){const _0x55f35f=_0xfc589d;_0x1b4a80(this,_0x55f35f(0x11e),[]),_0x1b4a80(this,_0x55f35f(0x146),null),_0x1b4a80(this,_0x55f35f(0x1da),null),_0x1b4a80(this,_0x55f35f(0x16f),null),_0x1b4a80(this,'_hideTimer',null),_0x1b4a80(this,_0x55f35f(0x343),null),(this[_0x55f35f(0x1f0)]=_0x3a2aae,this[_0x55f35f(0x2fb)]=_0x37931e,this['_docSkeleton']=_0xa10016,this[_0x55f35f(0x397)]=_0x21c670,this[_0x55f35f(0x14c)]());}set[_0xfc589d(0x319)](_0x5c3fce){const _0x4e9a22=_0xfc589d;_0x5c3fce?(this[_0x4e9a22(0x16f)]&&this[_0x4e9a22(0x16f)][_0x4e9a22(0x3a2)](),this[_0x4e9a22(0x1da)]&&this[_0x4e9a22(0x1da)][_0x4e9a22(0x382)]()):(this['_anchorDot']&&this[_0x4e9a22(0x16f)][_0x4e9a22(0x382)](),this[_0x4e9a22(0x1da)]&&this[_0x4e9a22(0x1da)][_0x4e9a22(0x3a2)]());}['dispose'](){const _0x305b63=_0xfc589d;for(const _0x25c512 of this[_0x305b63(0x11e)])_0x25c512[_0x305b63(0x318)]();this[_0x305b63(0x1da)]&&this[_0x305b63(0x1da)][_0x305b63(0x318)](),this[_0x305b63(0x16f)]&&this[_0x305b63(0x16f)][_0x305b63(0x318)](),this['_anchor']&&this['_anchor'][_0x305b63(0x318)](),this[_0x305b63(0x343)]&&this[_0x305b63(0x343)]();}[_0xfc589d(0x14c)](){const _0x100fea=_0xfc589d;var _0x36c63f;const {_docSkeleton:_0x2e825d,_document:_0x4f1dfa}=this,{color:_0xc5c396,name:_0x3319f3,ranges:_0x31b716}=this[_0x100fea(0x1f0)],_0x4020f6=_0x4f1dfa[_0x100fea(0x201)](),{docsLeft:_0x4e2e29,docsTop:_0x1c058c}=_0x4020f6,_0x2f8989=new _0x2b0fe2[(_0x100fea(0x303))](_0x4020f6,_0x2e825d);for(const {startOffset:_0x5b5d5c,endOffset:_0x5cc194,rangeType:_0x147230,segmentId:_0x4fa0cd,segmentPage:_0x41c667,collapsed:_0x328e11,isActive:_0x4fa4b4}of _0x31b716){const _0x2bbf8a=_0x2e825d['findNodePositionByCharIndex'](_0x5b5d5c,!0x0,_0x4fa0cd,_0x41c667);let _0xb85322=_0x2e825d['findNodePositionByCharIndex'](_0x5cc194,!0x0,_0x4fa0cd,_0x41c667);if(_0xb85322==null&&(_0xb85322=_0x2e825d[_0x100fea(0x1ad)](_0x5cc194-0x1,!0x1,_0x4fa0cd,_0x41c667)),_0x4fa4b4){const {contentBoxPointGroup:_0x46e4b2}=_0x2f8989[_0x100fea(0x260)](_0xb85322,_0xb85322);if(_0x46e4b2['length']===0x0)continue;this['_drawAnchor'](_0xc5c396,_0x46e4b2,_0x4e2e29,_0x1c058c,_0x3319f3),this[_0x100fea(0x343)]=this[_0x100fea(0x37b)]();}if(_0x2bbf8a&&_0xb85322){if(_0x147230===_0xdc78a3['DOC_RANGE_TYPE'][_0x100fea(0x324)]){const _0xc2391c=new _0x2b0fe2[(_0x100fea(0x2b1))](_0x4020f6,_0x2e825d),{pointGroup:_0x4fee7c}=(_0x36c63f=_0xc2391c[_0x100fea(0x260)](_0x2bbf8a,_0xb85322))!=null?_0x36c63f:{};if(_0x4fee7c==null||_0x4fee7c['length']===0x0)continue;this[_0x100fea(0x39b)](_0xc5c396,_0x4fee7c,_0x4e2e29,_0x1c058c);}else{if(!_0x328e11){const {borderBoxPointGroup:_0x560499}=_0x2f8989[_0x100fea(0x260)](_0x2bbf8a,_0xb85322);if(_0x560499[_0x100fea(0x200)]===0x0)continue;this['_drawTextRange'](_0xc5c396,_0x560499,_0x4e2e29,_0x1c058c);}}}}}[_0xfc589d(0x122)](_0x4a5acc,_0x465e19,_0x2f6308,_0x5323a1,_0x3ed944){const _0x11de40=_0xfc589d,_0x51dfdf=this['_getAnchorBounding'](_0x465e19),{left:_0x4890d1,top:_0x3d82a0,height:_0x1b94f0}=_0x51dfdf,_0x20cf77=this['_getScale'](),_0x536a78=_0x198386/_0x20cf77,_0x30bb41=new _0x4426a9[(_0x11de40(0x2fa))](_0x5458c9+_0xdc78a3[_0x11de40(0x386)]['generateRandomId'](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1,'height':_0x1b94f0,'width':_0x52e6cf,'fill':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3[_0x11de40(0x2da)][_0x11de40(0x117)],0x0),'strokeWidth':_0x536a78,'stroke':_0x2460ad,'evented':!0x0});this[_0x11de40(0x146)]=_0x30bb41,this[_0x11de40(0x2fb)][_0x11de40(0x2e1)](_0x30bb41,_0x2b0fe2['TEXT_RANGE_LAYER_INDEX']);const _0x1a56ed=new _0x4426a9[(_0x11de40(0x2fa))](_0x5458c9+_0xdc78a3[_0x11de40(0x386)][_0x11de40(0x300)](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1-_0x3b0832/0x2,'height':_0x3b0832,'width':_0x3b0832,'fill':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3[_0x11de40(0x2da)][_0x11de40(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3['COLORS'][_0x11de40(0x117)],0x0),'evented':!0x1});this[_0x11de40(0x16f)]=_0x1a56ed,this[_0x11de40(0x2fb)]['addObject'](_0x1a56ed,_0x2b0fe2[_0x11de40(0x2e3)]);const _0x1cffbf=new _0x36f48e(_0x5458c9+_0xdc78a3[_0x11de40(0x386)]['generateRandomId'](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1-_0x32c39a,'text':_0x3ed944,'color':_0x4a5acc});this[_0x11de40(0x1da)]=_0x1cffbf,this['_scene'][_0x11de40(0x2e1)](_0x1cffbf,_0x2b0fe2[_0x11de40(0x2e3)]),this[_0x11de40(0x319)]=!0x1;}['_handleHover'](){const _0x114f4f=_0xfc589d,_0x40a427=this[_0x114f4f(0x146)][_0x114f4f(0x21a)][_0x114f4f(0x339)](()=>{this['_hover']=!0x0;}),_0xf7e082=this[_0x114f4f(0x146)][_0x114f4f(0x2c5)]['subscribeEvent'](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x399d96=_0x15a6;this[_0x399d96(0x319)]=!0x1;},0x7d0);});return()=>{const _0x4fb842=_0x114f4f;_0x40a427['unsubscribe'](),_0xf7e082[_0x4fb842(0x2b3)]();};}[_0xfc589d(0x2a5)](_0x2c2966,_0x5739ab,_0x32596a,_0x3c2a60){const _0x11ee40=_0xfc589d,_0xe5ac72=new _0xdc78a3[(_0x11ee40(0x158))](_0x2c2966)[_0x11ee40(0x221)](0.2)[_0x11ee40(0x33a)](),_0x5dff17=new _0x4426a9[(_0x11ee40(0x32d))](_0x567d3b+_0xdc78a3[_0x11ee40(0x386)][_0x11ee40(0x300)](_0x33fb55),{'pointsGroup':_0x5739ab,'fill':_0xe5ac72||_0x4426a9[_0x11ee40(0x33e)](_0xdc78a3[_0x11ee40(0x2da)][_0x11ee40(0x117)],0.2),'left':_0x32596a,'top':_0x3c2a60,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11ee40(0x11e)][_0x11ee40(0x150)](_0x5dff17),this[_0x11ee40(0x2fb)][_0x11ee40(0x2e1)](_0x5dff17,_0x2b0fe2[_0x11ee40(0x2e3)]);}[_0xfc589d(0x39b)](_0x4205f4,_0x315d56,_0x293cd6,_0x28d525){const _0x350086=_0xfc589d,_0x550914=new _0xdc78a3[(_0x350086(0x158))](_0x4205f4)[_0x350086(0x221)](0.2)['toRgbString'](),_0x4ed48f=new _0x4426a9[(_0x350086(0x32d))](_0x5208ac+_0xdc78a3[_0x350086(0x386)][_0x350086(0x300)](_0x33fb55),{'pointsGroup':_0x315d56,'fill':_0x550914||_0x4426a9[_0x350086(0x33e)](_0xdc78a3[_0x350086(0x2da)][_0x350086(0x117)],0.2),'left':_0x293cd6,'top':_0x28d525,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4ed48f),this[_0x350086(0x2fb)][_0x350086(0x2e1)](_0x4ed48f,_0x2b0fe2[_0x350086(0x2e3)]);}[_0xfc589d(0x2ad)](_0x60f5da){const _0x4a5605=_0x60f5da[0x0],_0x116dbe=_0x4a5605[0x0],_0x4b5672=_0x4a5605[0x2],{x:_0x17f415,y:_0x3c476b}=_0x116dbe,{x:_0x5e920f,y:_0x2d27ec}=_0x4b5672;return{'left':_0x17f415,'top':_0x3c476b,'width':_0x5e920f-_0x17f415,'height':_0x2d27ec-_0x3c476b};}['_getScale'](){const _0x5d697f=_0xfc589d,{scaleX:_0xbc281e,scaleY:_0x17b74e}=this[_0x5d697f(0x2fb)]['getAncestorScale']();return Math['max'](_0xbc281e,_0x17b74e);}}var _0x39dae6=Object[_0xfc589d(0x333)],_0x116437=(_0x54b965,_0x40e7de,_0xb5a414,_0x18f81a)=>{const _0x46eb66=_0xfc589d;for(var _0x4690b1=_0x18f81a>0x1?void 0x0:_0x18f81a?_0x39dae6(_0x40e7de,_0xb5a414):_0x40e7de,_0x5d5ea0=_0x54b965[_0x46eb66(0x200)]-0x1,_0x574f6c;_0x5d5ea0>=0x0;_0x5d5ea0--)(_0x574f6c=_0x54b965[_0x5d5ea0])&&(_0x4690b1=_0x574f6c(_0x4690b1)||_0x4690b1);return _0x4690b1;},_0x4020f4=(_0x4582ed,_0x2db71a)=>(_0x5a1e57,_0x54b69a)=>_0x2db71a(_0x5a1e57,_0x54b69a,_0x4582ed);let _0x3039e7=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0xc7f3b1,_0x3fbfd5,_0xb13829,_0x28b7f2,_0x2466aa){const _0x5eb45f=_0xfc589d;super(),_0x1b4a80(this,_0x5eb45f(0x281),[]),_0x1b4a80(this,'_cursors',[]),(this[_0x5eb45f(0x26a)]=_0xc7f3b1,this[_0x5eb45f(0x2c0)]=_0x3fbfd5,this[_0x5eb45f(0x277)]=_0xb13829,this['_commandService']=_0x28b7f2,this[_0x5eb45f(0x1e2)]=_0x2466aa,this[_0x5eb45f(0x1c3)]());}[_0xfc589d(0x1c3)](){const _0x5723a4=_0xfc589d,_0x1fb131=this[_0x5723a4(0x26a)][_0x5723a4(0x1f8)],_0x552870=this[_0x5723a4(0x2c0)];this[_0x5723a4(0x2bf)](_0x5985fb['combineLatest']([this[_0x5723a4(0x277)]['getCollabCursors$'](_0x1fb131),this['_themeService'][_0x5723a4(0x255)]])[_0x5723a4(0x1ae)](_0x5319cd[_0x5723a4(0x2f6)](([_0x275f63,_0x271ca1])=>({'skeleton':_0x552870[_0x5723a4(0x130)](),'cursors':[..._0x275f63['values']()]['flatMap'](_0x381aa9=>({..._0x381aa9,'color':this[_0x5723a4(0x1e2)][_0x5723a4(0x393)](_0x381aa9[_0x5723a4(0x374)])}))})))[_0x5723a4(0x329)](_0x431402=>{const _0x42b35f=_0x5723a4;if(this[_0x42b35f(0x202)](),_0x431402){const {skeleton:_0x474737,cursors:_0x1592d0}=_0x431402;this[_0x42b35f(0x2f1)](_0x474737,_0x1592d0);}})),this[_0x5723a4(0x311)](),this['_initCommandExecutedListener']();}[_0xfc589d(0x2f1)](_0x19b0fa,_0x267297){const _0x1cca98=_0xfc589d,{scene:_0x4e1cf0,mainComponent:_0x338349}=this[_0x1cca98(0x26a)],_0x30afa4=_0x267297[_0x1cca98(0x2f6)](_0x558c22=>new _0x27e883(_0x558c22,_0x4e1cf0,_0x19b0fa,_0x338349));this['_cursorShapes']=_0x30afa4,this[_0x1cca98(0x2e5)]=_0x267297;}[_0xfc589d(0x23e)](){const _0x6f5a06=_0xfc589d;this[_0x6f5a06(0x202)]();const {scene:_0x3c953a,mainComponent:_0x33580d}=this[_0x6f5a06(0x26a)],_0x160888=this[_0x6f5a06(0x2c0)][_0x6f5a06(0x130)](),_0x52d83d=this[_0x6f5a06(0x2e5)][_0x6f5a06(0x2f6)](_0x255e6d=>new _0x27e883(_0x255e6d,_0x3c953a,_0x160888,_0x33580d));this[_0x6f5a06(0x281)]=_0x52d83d;}[_0xfc589d(0x202)](){const _0x53b9f9=_0xfc589d;this[_0x53b9f9(0x281)][_0x53b9f9(0x11a)](_0x111296=>_0x111296[_0x53b9f9(0x318)]()),this[_0x53b9f9(0x281)]=[];}['_initCommandExecutedListener'](){const _0x12e02f=_0xfc589d,_0x1b2ad5=[_0x2b0fe2[_0x12e02f(0x26d)]['id']];this[_0x12e02f(0x2bf)](this[_0x12e02f(0x1a3)][_0x12e02f(0x28a)](_0x3090ac=>{const _0x744b98=_0x12e02f;_0x1b2ad5[_0x744b98(0x1b8)](_0x3090ac['id'])&&_0x3090ac[_0x744b98(0x271)][_0x744b98(0x1f8)]===this['_context'][_0x744b98(0x1f8)]&&this[_0x744b98(0x23e)]();}));}['_initResize'](){const _0xdec87e=_0xfc589d;this[_0xdec87e(0x2bf)](_0xdc78a3[_0xdec87e(0x1f6)](this[_0xdec87e(0x26a)]['engine'][_0xdec87e(0x294)])[_0xdec87e(0x1ae)](_0x5319cd[_0xdec87e(0x18e)](_0x4e47b3=>_0x4e47b3[_0xdec87e(0x22e)]===_0x4426a9[_0xdec87e(0x3a0)][_0xdec87e(0x121)]),_0x5319cd[_0xdec87e(0x174)](0x10))[_0xdec87e(0x329)](()=>{this['_refreshCollabCursors']();}));}};_0x3039e7=_0x116437([_0x4020f4(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x2cf963['DocSkeletonManagerService'])),_0x4020f4(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x28169a)),_0x4020f4(0x3,_0xdc78a3[_0xfc589d(0x1b7)]),_0x4020f4(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['ThemeService']))],_0x3039e7);const _0x42ed70=0x1,_0x1bd8e6=1.5;class _0x3a1717 extends _0x4426a9[_0xfc589d(0x37e)]{constructor(_0x4639c8,_0xb5bab1){const _0x295214=_0xfc589d;super(_0x4639c8,_0xb5bab1),_0x1b4a80(this,'_color'),_0x1b4a80(this,_0x295214(0x139),!0x1),_0x1b4a80(this,_0x295214(0x228)),_0x1b4a80(this,_0x295214(0x327),''),_0x1b4a80(this,_0x295214(0x234),_0x295214(0x313)),_0x1b4a80(this,'_backgroundColor'),(_0xb5bab1&&this[_0x295214(0x335)](_0xb5bab1),this[_0x295214(0x21a)][_0x295214(0x339)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x295214(0x339)](()=>this[_0x295214(0x335)]({'hovered':!0x1})));}['setShapeProps'](_0x328d87){const _0x49ef32=_0xfc589d;var _0x533416,_0x294f2f,_0x2390f1,_0x2ce956,_0x1672d2,_0x2fa1df;this[_0x49ef32(0x331)]=(_0x533416=_0x328d87[_0x49ef32(0x374)])!=null?_0x533416:this[_0x49ef32(0x331)],this[_0x49ef32(0x139)]=(_0x294f2f=_0x328d87[_0x49ef32(0x26f)])!=null?_0x294f2f:this['_hovered'],this[_0x49ef32(0x228)]=(_0x2390f1=_0x328d87[_0x49ef32(0x2b5)])!=null?_0x2390f1:this[_0x49ef32(0x228)],this[_0x49ef32(0x327)]=(_0x2ce956=_0x328d87[_0x49ef32(0x33d)])!=null?_0x2ce956:this['_name'],this[_0x49ef32(0x234)]=(_0x1672d2=_0x328d87[_0x49ef32(0x2ea)])!=null?_0x1672d2:this[_0x49ef32(0x234)],this[_0x49ef32(0x2cf)]=(_0x2fa1df=_0x328d87['backgroundColor'])!=null?_0x2fa1df:this[_0x49ef32(0x2cf)],this[_0x49ef32(0x36f)]({'width':_0x328d87[_0x49ef32(0x315)],'height':_0x328d87['height']});}[_0xfc589d(0x140)](_0x5276c8){const _0x395987=_0xfc589d,{row:_0x290c92,column:_0x32ffef}=_0x5276c8;if(_0x290c92>=this['_range'][_0x395987(0x246)]&&_0x290c92<=this[_0x395987(0x228)][_0x395987(0x2af)]&&_0x32ffef>=this['_range'][_0x395987(0x355)]&&_0x32ffef<=this[_0x395987(0x228)]['endColumn']){this[_0x395987(0x335)]({'hovered':!0x0});return;}this[_0x395987(0x335)]({'hovered':!0x1});}[_0xfc589d(0x2d1)](_0x5ce1a5){return!0x1;}['_draw'](_0xc72ae9){const _0x13a7ad=_0xfc589d;_0x4426a9[_0x13a7ad(0x2fa)]['drawWith'](_0xc72ae9,{'width':this[_0x13a7ad(0x315)],'height':this[_0x13a7ad(0x18b)],'strokeWidth':_0x1bd8e6,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x13a7ad(0x139)]&&(_0xc72ae9[_0x13a7ad(0x243)](),_0xc72ae9['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x13a7ad(0x234)]==='bottom'?0x0:-0x14),_0x36f48e[_0x13a7ad(0x123)](_0xc72ae9,{'text':this[_0x13a7ad(0x327)],'color':this[_0x13a7ad(0x331)]}),_0xc72ae9['restore']());}}var _0x4467e8=Object[_0xfc589d(0x333)],_0x2321f2=(_0x2dd1c0,_0x29faf3,_0x10a7c8,_0x5c6854)=>{for(var _0x3a1716=_0x5c6854>0x1?void 0x0:_0x5c6854?_0x4467e8(_0x29faf3,_0x10a7c8):_0x29faf3,_0x2618c3=_0x2dd1c0['length']-0x1,_0xedcdb3;_0x2618c3>=0x0;_0x2618c3--)(_0xedcdb3=_0x2dd1c0[_0x2618c3])&&(_0x3a1716=_0xedcdb3(_0x3a1716)||_0x3a1716);return _0x3a1716;},_0x5524cd=(_0x978e32,_0x88b8e6)=>(_0x1718fd,_0x498136)=>_0x88b8e6(_0x1718fd,_0x498136,_0x978e32);const _0x131b25=0x1389;let _0x20239c=class extends _0xdc78a3['RxDisposable']{constructor(_0x40078d,_0x463e89,_0x192d52,_0xb4b931){const _0x5601a8=_0xfc589d;super(),_0x1b4a80(this,_0x5601a8(0x2e5),new Set()),_0x1b4a80(this,_0x5601a8(0x172),null),(this[_0x5601a8(0x26a)]=_0x40078d,this[_0x5601a8(0x162)]=_0x463e89,this[_0x5601a8(0x277)]=_0x192d52,this[_0x5601a8(0x1e2)]=_0xb4b931,this[_0x5601a8(0x1c3)]());}[_0xfc589d(0x1c3)](){const _0x449bb7=_0xfc589d;this[_0x449bb7(0x162)]['currentSkeleton$'][_0x449bb7(0x1ae)](_0x5319cd[_0x449bb7(0x34d)](this['dispose$']),_0x5319cd['switchMap'](_0x5a130d=>{const _0xc3ae2f=_0x449bb7;if(_0x5a130d){const _0x42bb1a=_0x5a130d[_0xc3ae2f(0x233)];return _0x5985fb['combineLatest'](this[_0xc3ae2f(0x277)][_0xc3ae2f(0x29d)](this['_context'][_0xc3ae2f(0x1f8)]),this[_0xc3ae2f(0x1e2)]['currentTheme$'])[_0xc3ae2f(0x1ae)](_0x5319cd[_0xc3ae2f(0x2f6)](([_0xa0966,_0x148891])=>{const _0x2758ed=_0xc3ae2f,_0x26d15f=new Map();return _0xa0966[_0x2758ed(0x11a)]((_0x23b324,_0x260817)=>{const _0x8a9797=_0x2758ed;if(_0x23b324['sheetID']===_0x42bb1a){const _0x5428b3={..._0x23b324};_0x5428b3[_0x8a9797(0x374)]=this['_themeService'][_0x8a9797(0x393)](_0x23b324[_0x8a9797(0x374)]),_0x26d15f['set'](_0x260817,_0x5428b3);}}),{'skeleton':_0x5a130d,'cursors':_0x26d15f};}));}return _0x5985fb['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x374810,cursors:_0x1f6688})=>{const _0x36fcca=_0x449bb7;this[_0x36fcca(0x202)](),_0x374810&&this[_0x36fcca(0x2f1)](_0x374810,_0x1f6688);}),this[_0x449bb7(0x162)][_0x449bb7(0x357)][_0x449bb7(0x329)](_0x129e8c=>{const _0x453ff0=_0x449bb7;if(_0x129e8c==null)return;const {skeleton:_0x2cfa36}=_0x129e8c,{scene:_0xf9301f}=this['_context'];_0xf9301f[_0x453ff0(0x12e)][_0x453ff0(0x339)](_0xdc78a3[_0x453ff0(0x126)](_0x6934d1=>{const _0x21545c=_0x453ff0;var _0x2e92a4,_0x2f7590;const {offsetX:_0xbfcec0,offsetY:_0xe70d73}=_0x6934d1,{x:_0x55df78,y:_0x45f720}=_0xf9301f[_0x21545c(0x3a7)](_0x4426a9['Vector2']['FromArray']([_0xbfcec0,_0xe70d73])),{scaleX:_0x427b29,scaleY:_0x1600aa}=_0xf9301f[_0x21545c(0x178)](),_0x21b8d5=_0xf9301f[_0x21545c(0x1cf)](_0x4426a9[_0x21545c(0x369)]['VIEW_MAIN']),_0x236c3b=_0xf9301f[_0x21545c(0x128)](_0x4426a9[_0x21545c(0x287)][_0x21545c(0x183)]([_0x55df78,_0x45f720]),_0x21b8d5),_0x390d72=_0x2cfa36[_0x21545c(0x2e2)](_0xbfcec0,_0xe70d73,_0x427b29,_0x1600aa,_0x236c3b);((_0x2e92a4=this[_0x21545c(0x172)])==null?void 0x0:_0x2e92a4[_0x21545c(0x326)])===_0x390d72[_0x21545c(0x326)]&&((_0x2f7590=this[_0x21545c(0x172)])==null?void 0x0:_0x2f7590[_0x21545c(0x30d)])===_0x390d72['row']||this['_cursors']['forEach'](_0x5c9b8a=>{const _0x671973=_0x21545c;_0x5c9b8a[_0x671973(0x140)](_0x390d72);});},0x64));});}['_updateCollabCursors'](_0x599fa1,_0x4157de){const _0x5876af=_0xfc589d;var _0x631cea;const _0x15d59f=(_0x631cea=this[_0x5876af(0x162)]['getCurrent']())==null?void 0x0:_0x631cea['skeleton'];if(!_0x15d59f)return;const _0x375076=this[_0x5876af(0x385)]();if(!_0x375076)return;this[_0x5876af(0x2e5)][_0x5876af(0x11a)](_0x16acc3=>{_0x16acc3['makeDirty']();});const {scene:_0x2d3908}=_0x375076,_0x575d7b=_0x555459(Array[_0x5876af(0x131)](_0x4157de[_0x5876af(0x218)]()))[_0x5876af(0x2f6)](_0x1b6d92=>{const _0xb136bf=_0x5876af,{color:_0x7a6a92,range:_0x290afb,name:_0x3d69b7,selection:_0x2df755,sheetID:_0x22e197}=_0x1b6d92,{startColumn:_0x211121,startRow:_0x4e7260,endColumn:_0x4dd855,endRow:_0x12e3b2}=_0x290afb,_0x2bd302=_0x583f50['getCoordByCell'](_0x4e7260,_0x211121,_0x2d3908,_0x15d59f),_0x183e05=_0x583f50[_0xb136bf(0x2be)](_0x12e3b2,_0x4dd855,_0x2d3908,_0x15d59f),{columnHeaderHeightAndMarginTop:_0x579f27}=_0x15d59f,{startX:_0x2e0a9c,startY:_0x49467c}=_0x2bd302,{endX:_0x2bed5a,endY:_0x31da6e}=_0x183e05,_0x1fc833=_0x2bed5a-_0x2e0a9c,_0x422198=_0x31da6e-_0x49467c,_0x5e1d4a={'labelPosition':_0x49467c-_0x579f27>=_0x32c39a?'top':_0xb136bf(0x39c),'sheetID':_0x22e197,'range':_0x290afb,'color':_0x7a6a92,'name':_0x3d69b7,'selection':_0x2df755,'left':_0x2e0a9c,'top':_0x49467c,'width':_0x1fc833,'height':_0x422198,'evented':!0x1,'zIndex':_0x131b25};return new _0x3a1717(_0x3d69b7,_0x5e1d4a);});_0x2d3908[_0x5876af(0x38b)](_0x575d7b,_0x42ed70),this[_0x5876af(0x2e5)]=new Set(_0x575d7b);}[_0xfc589d(0x202)](){const _0x198b8b=_0xfc589d;var _0xff3502;(_0xff3502=this[_0x198b8b(0x2e5)])==null||_0xff3502[_0x198b8b(0x11a)](_0x16a1d2=>_0x16a1d2[_0x198b8b(0x318)]());}[_0xfc589d(0x385)](){const _0x366418=_0xfc589d;return _0x583f50[_0x366418(0x25b)](this[_0x366418(0x26a)][_0x366418(0x353)],this['_context']);}};_0x20239c=_0x2321f2([_0x5524cd(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x583f50[_0xfc589d(0x124)])),_0x5524cd(0x2,_0xdc78a3['Inject'](_0x28169a)),_0x5524cd(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['ThemeService']))],_0x20239c);function _0x555459(_0x12d79a){const _0x16e7f8=_0xfc589d,_0x4d0a99=new Map();return _0x12d79a[_0x16e7f8(0x11a)](_0x5e650e=>{const _0x405069=_0x16e7f8;if(_0x4d0a99['has'](_0x5e650e[_0x405069(0x2f2)])){const _0x56dde4=_0x4d0a99[_0x405069(0x1ed)](_0x5e650e[_0x405069(0x2f2)]);_0x56dde4[_0x405069(0x33d)]+=',\x20'+_0x5e650e[_0x405069(0x33d)];}else _0x4d0a99[_0x405069(0x19e)](_0x5e650e['selection'],_0x5e650e);}),Array['from'](_0x4d0a99['values']());}var _0x5777f7=function(){const _0x587bcd=_0xfc589d;return _0x5777f7=Object[_0x587bcd(0x1bc)]||function(_0x346cd7){const _0x2ac355=_0x587bcd;for(var _0x4a4a09,_0x490b55=0x1,_0x58fd60=arguments[_0x2ac355(0x200)];_0x490b55<_0x58fd60;_0x490b55++){_0x4a4a09=arguments[_0x490b55];for(var _0x3bf844 in _0x4a4a09)Object[_0x2ac355(0x308)]['hasOwnProperty']['call'](_0x4a4a09,_0x3bf844)&&(_0x346cd7[_0x3bf844]=_0x4a4a09[_0x3bf844]);}return _0x346cd7;},_0x5777f7[_0x587bcd(0x175)](this,arguments);},_0x3a9d4a=function(_0x374c11,_0x50bf48){const _0x4f655b=_0xfc589d;var _0x2bc00e={};for(var _0x114f7e in _0x374c11)Object['prototype'][_0x4f655b(0x288)]['call'](_0x374c11,_0x114f7e)&&_0x50bf48[_0x4f655b(0x2ec)](_0x114f7e)<0x0&&(_0x2bc00e[_0x114f7e]=_0x374c11[_0x114f7e]);if(_0x374c11!=null&&typeof Object[_0x4f655b(0x34e)]==_0x4f655b(0x320)){for(var _0x1eca78=0x0,_0x114f7e=Object[_0x4f655b(0x34e)](_0x374c11);_0x1eca78<_0x114f7e['length'];_0x1eca78++)_0x50bf48[_0x4f655b(0x2ec)](_0x114f7e[_0x1eca78])<0x0&&Object[_0x4f655b(0x308)]['propertyIsEnumerable'][_0x4f655b(0x2fe)](_0x374c11,_0x114f7e[_0x1eca78])&&(_0x2bc00e[_0x114f7e[_0x1eca78]]=_0x374c11[_0x114f7e[_0x1eca78]]);}return _0x2bc00e;},_0x398705=_0x4c952c[_0xfc589d(0x2c8)](function(_0x136ea2,_0x4b9fdb){const _0x57c577=_0xfc589d;var _0x14df2a=_0x136ea2[_0x57c577(0x285)],_0x33917a=_0x136ea2['id'],_0x2d01a6=_0x136ea2[_0x57c577(0x1fb)],_0x194140=_0x136ea2['extend'],_0x55ec72=_0x3a9d4a(_0x136ea2,[_0x57c577(0x285),'id','className','extend']),_0x3a3a96=_0x57c577(0x16d)['concat'](_0x33917a,'\x20')[_0x57c577(0x15d)](_0x2d01a6||'')['trim'](),_0x89cda2=_0x4c952c['useRef']('_'['concat'](_0xa004()));return _0x35a8d5(_0x14df2a,''['concat'](_0x33917a),{'defIds':_0x14df2a[_0x57c577(0x268)],'idSuffix':_0x89cda2[_0x57c577(0x1b1)]},_0x5777f7({'ref':_0x4b9fdb,'className':_0x3a3a96},_0x55ec72),_0x194140);});function _0x35a8d5(_0x285be0,_0x51607f,_0x470727,_0x30da27,_0x37f3a1){const _0x48d763=_0xfc589d;return _0x4c952c[_0x48d763(0x169)](_0x285be0[_0x48d763(0x14a)],_0x5777f7(_0x5777f7({'key':_0x51607f},_0x48711b(_0x285be0,_0x470727,_0x37f3a1)),_0x30da27),(_0x4c01fd(_0x285be0,_0x470727)[_0x48d763(0x1b6)]||[])['map'](function(_0x56d786,_0x4e4c4c){const _0x4512c9=_0x48d763;return _0x35a8d5(_0x56d786,''[_0x4512c9(0x15d)](_0x51607f,'-')['concat'](_0x285be0['tag'],'-')[_0x4512c9(0x15d)](_0x4e4c4c),_0x470727,void 0x0,_0x37f3a1);}));}function _0x48711b(_0x2b4525,_0x145bde,_0x48af18){const _0x48fd94=_0xfc589d;var _0x9a8f41=_0x5777f7({},_0x2b4525[_0x48fd94(0x1f3)]);_0x48af18!=null&&_0x48af18[_0x48fd94(0x253)]&&_0x9a8f41['fill']===_0x48fd94(0x253)&&(_0x9a8f41[_0x48fd94(0x399)]=_0x48af18[_0x48fd94(0x253)]),_0x2b4525[_0x48fd94(0x14a)]==='mask'&&_0x9a8f41['id']&&(_0x9a8f41['id']=_0x9a8f41['id']+_0x145bde[_0x48fd94(0x2d8)]),Object[_0x48fd94(0x209)](_0x9a8f41)['forEach'](function(_0x43494e){const _0x3c2f10=_0x48fd94;var _0x4579bf=_0x43494e[0x0],_0x519efb=_0x43494e[0x1];_0x4579bf==='mask'&&typeof _0x519efb==_0x3c2f10(0x340)&&(_0x9a8f41[_0x4579bf]=_0x519efb['replace'](/url\(#(.*)\)/,_0x3c2f10(0x299)[_0x3c2f10(0x15d)](_0x145bde[_0x3c2f10(0x2d8)],')')));});var _0x221e06=_0x145bde[_0x48fd94(0x268)];return!_0x221e06||_0x221e06[_0x48fd94(0x200)]===0x0||(_0x2b4525['tag']===_0x48fd94(0x2ae)&&_0x9a8f41[_0x48fd94(0x1af)]&&(_0x9a8f41[_0x48fd94(0x1af)]=_0x9a8f41[_0x48fd94(0x1af)]+_0x145bde[_0x48fd94(0x2d8)]),Object['entries'](_0x9a8f41)[_0x48fd94(0x11a)](function(_0x1ea6fa){const _0x4c0cc3=_0x48fd94;var _0x22f5fe=_0x1ea6fa[0x0],_0x3049ff=_0x1ea6fa[0x1];typeof _0x3049ff==_0x4c0cc3(0x340)&&(_0x9a8f41[_0x22f5fe]=_0x3049ff[_0x4c0cc3(0x266)](/url\(#(.*)\)/,_0x4c0cc3(0x299)[_0x4c0cc3(0x15d)](_0x145bde[_0x4c0cc3(0x2d8)],')')));})),_0x9a8f41;}function _0x4c01fd(_0x107c27,_0x475adc){const _0x3c3ed2=_0xfc589d;var _0x417a82,_0x422e59=_0x475adc[_0x3c3ed2(0x268)];return!_0x422e59||_0x422e59[_0x3c3ed2(0x200)]===0x0?_0x107c27:_0x107c27[_0x3c3ed2(0x14a)]==='defs'&&(!((_0x417a82=_0x107c27[_0x3c3ed2(0x1b6)])===null||_0x417a82===void 0x0)&&_0x417a82['length'])?_0x5777f7(_0x5777f7({},_0x107c27),{'children':_0x107c27[_0x3c3ed2(0x1b6)][_0x3c3ed2(0x2f6)](function(_0x3df6de){const _0x407072=_0x3c3ed2;return typeof _0x3df6de[_0x407072(0x1f3)]['id']==_0x407072(0x340)&&_0x422e59&&_0x422e59[_0x407072(0x2ec)](_0x3df6de[_0x407072(0x1f3)]['id'])>-0x1?_0x5777f7(_0x5777f7({},_0x3df6de),{'attrs':_0x5777f7(_0x5777f7({},_0x3df6de['attrs']),{'id':_0x3df6de[_0x407072(0x1f3)]['id']+_0x475adc['idSuffix']})}):_0x3df6de;})}):_0x107c27;}function _0xa004(){const _0x53a934=_0xfc589d;return Math[_0x53a934(0x241)]()[_0x53a934(0x12c)](0x24)[_0x53a934(0x1d6)](0x2,0x8);}_0x398705[_0xfc589d(0x25e)]=_0xfc589d(0x187);var _0x5124e8={'tag':_0xfc589d(0x20f),'attrs':{'fill':'none','viewBox':_0xfc589d(0x2cc),'width':_0xfc589d(0x22c),'height':_0xfc589d(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0xfc589d(0x2e6)},'children':[{'tag':_0xfc589d(0x2bd),'attrs':{'stroke':'currentColor','d':_0xfc589d(0x197),'strokeLinecap':'round','strokeLinejoin':_0xfc589d(0x264),'strokeWidth':1.2}}]},{'tag':_0xfc589d(0x360),'attrs':{},'children':[{'tag':_0xfc589d(0x2e9),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0xfc589d(0x14d),'d':_0xfc589d(0x2ff)}}]}]}],'defIds':[_0xfc589d(0x365)]},_0x2413ca=_0x4c952c[_0xfc589d(0x2c8)](function(_0x24bd73,_0x371f3d){const _0x95c6fa=_0xfc589d;return _0x4c952c['createElement'](_0x398705,Object[_0x95c6fa(0x1bc)]({},_0x24bd73,{'id':_0x95c6fa(0x2c3),'ref':_0x371f3d,'icon':_0x5124e8}));});_0x2413ca[_0xfc589d(0x25e)]=_0xfc589d(0x36c);var _0x1780e2={'tag':_0xfc589d(0x20f),'attrs':{'fill':_0xfc589d(0x1f5),'viewBox':_0xfc589d(0x272),'width':_0xfc589d(0x22c),'height':_0xfc589d(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0xfc589d(0x2db)},'children':[{'tag':_0xfc589d(0x2bd),'attrs':{'stroke':_0xfc589d(0x336),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xfc589d(0x264),'strokeLinejoin':_0xfc589d(0x264),'strokeWidth':1.2}}]},{'tag':_0xfc589d(0x360),'attrs':{},'children':[{'tag':_0xfc589d(0x2e9),'attrs':{'id':_0xfc589d(0x22a)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xfc589d(0x2ff),'transform':_0xfc589d(0x151)}}]}]}],'defIds':[_0xfc589d(0x22a)]},_0x17d699=_0x4c952c[_0xfc589d(0x2c8)](function(_0x27c201,_0x4f0daf){const _0x1047ac=_0xfc589d;return _0x4c952c[_0x1047ac(0x169)](_0x398705,Object['assign']({},_0x27c201,{'id':'on-line-single','ref':_0x4f0daf,'icon':_0x1780e2}));});_0x17d699[_0xfc589d(0x25e)]='OnLineSingle';function _0x17eddb(_0x7b9a5d){const _0x541484=_0xfc589d;switch(_0x7b9a5d){case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x389)]:return _0x541484(0x223);case _0x5d9669['CollaborationStatus'][_0x541484(0x2ca)]:return _0x541484(0x1be);case _0x5d9669['CollaborationStatus']['FETCH_MISS']:return _0x541484(0x362);case _0x5d9669[_0x541484(0x2eb)]['NOT_COLLAB']:return _0x541484(0x1db);case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x344)]:case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x1ee)]:return _0x541484(0x1a1);case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x2ac)]:case _0x5d9669[_0x541484(0x2eb)]['PENDING']:return _0x541484(0x194);}}function _0x54564d(_0x1a4b1b){const _0x10540b=_0xfc589d,{status$:_0x723837}=_0x1a4b1b,_0x5a9def=_0x34dee8[_0x10540b(0x342)](_0x723837,_0x5d9669['CollaborationStatus'][_0x10540b(0x1c5)]),_0x453a5c=_0x34dee8[_0x10540b(0x334)](_0xdc78a3['LocaleService']),_0x4688b3=_0x34dee8[_0x10540b(0x334)](_0x5d9669[_0x10540b(0x1d4)]),_0x3d21de=_0x5a9def!==_0x5d9669[_0x10540b(0x2eb)][_0x10540b(0x389)],_0x5af58d=_0x453a5c['t'](_0x17eddb(_0x5a9def)),_0xab3929=_0x3d21de?_0xf65799[_0x10540b(0x267)](_0x17d699,{}):_0xf65799[_0x10540b(0x267)](_0x2413ca,{}),_0xeada8a=_0x4c952c[_0x10540b(0x1ce)](()=>{const _0x195b4c=_0x10540b;_0x3d21de||_0x4688b3[_0x195b4c(0x2b2)]();},[_0x3d21de,_0x4688b3]);function _0x4b7a9f(){const _0x5398b7=_0x10540b;return _0xf65799[_0x5398b7(0x2f8)]('div',{'className':_0x5398b7(0x1cb),'onClick':_0xeada8a,'children':[_0xf65799[_0x5398b7(0x267)](_0x5398b7(0x119),{'className':_0x105961[_0x5398b7(0x293)](_0x5398b7(0x1a4),{'univer-text-green-500':_0x3d21de,'univer-text-red-500':!_0x3d21de}),'children':_0xab3929}),_0xf65799['jsx'](_0x5398b7(0x119),{'className':_0x5398b7(0x282),'children':_0x5af58d})]});}return _0x3d21de?_0x4b7a9f():_0xf65799[_0x10540b(0x267)](_0x105961[_0x10540b(0x2cd)],{'title':_0x453a5c['t']('collab-client.tooltip.reconnect'),'children':_0x4b7a9f()});}var _0x20d708=Object[_0xfc589d(0x333)],_0x4debac=(_0x110603,_0x5c1eef,_0x2bd0d6,_0x2f9668)=>{const _0x2610ca=_0xfc589d;for(var _0x2bbbbe=_0x2f9668>0x1?void 0x0:_0x2f9668?_0x20d708(_0x5c1eef,_0x2bd0d6):_0x5c1eef,_0x29742e=_0x110603[_0x2610ca(0x200)]-0x1,_0x5a885c;_0x29742e>=0x0;_0x29742e--)(_0x5a885c=_0x110603[_0x29742e])&&(_0x2bbbbe=_0x5a885c(_0x2bbbbe)||_0x2bbbbe);return _0x2bbbbe;},_0x152546=(_0xfec28b,_0x3f37bd)=>(_0x20285a,_0x5cc760)=>_0x3f37bd(_0x20285a,_0x5cc760,_0xfec28b);_0x67c957[_0xfc589d(0x16a)]=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0xcece91,_0x2418fe,_0x10a23a,_0x1f609a){const _0x28b39a=_0xfc589d;super(),_0x1b4a80(this,_0x28b39a(0x323),new _0x5985fb['BehaviorSubject'](_0x5d9669['CollaborationStatus'][_0x28b39a(0x1c5)])),(this[_0x28b39a(0x309)]=_0xcece91,this['_injector']=_0x2418fe,this[_0x28b39a(0x269)]=_0x10a23a,this['_uiPartsService']=_0x1f609a,this[_0x28b39a(0x214)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x4fc15d=_0xfc589d;this[_0x4fc15d(0x2bf)](this[_0x4fc15d(0x309)]['focused$'][_0x4fc15d(0x1ae)](_0x5985fb[_0x4fc15d(0x164)](()=>{const _0x134d5e=_0x4fc15d,_0x3de259=this[_0x134d5e(0x309)][_0x134d5e(0x321)]();return _0x3de259?this[_0x134d5e(0x269)][_0x134d5e(0x364)](_0x3de259[_0x134d5e(0x1f1)]()):_0x5985fb['of'](null);}),_0x5985fb[_0x4fc15d(0x164)](_0x520757=>_0x520757?_0x520757[_0x4fc15d(0x39e)]:_0x5985fb['of'](_0x5d9669[_0x4fc15d(0x2eb)][_0x4fc15d(0x1c5)])))[_0x4fc15d(0x329)](_0x456595=>{const _0x3638a9=_0x4fc15d;this['_status$'][_0x3638a9(0x1fa)](_0x456595);}));}[_0xfc589d(0x214)](){const _0x4375e1=_0xfc589d;this[_0x4375e1(0x2bf)](this[_0x4375e1(0x395)]['registerComponent'](_0x34dee8[_0x4375e1(0x232)]['HEADER_MENU'],()=>_0x34dee8['connectInjector'](_0x2cc919({'status$':this[_0x4375e1(0x323)][_0x4375e1(0x33f)]()}),this['_injector'])));}},_0x67c957[_0xfc589d(0x16a)]=_0x4debac([_0x152546(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x152546(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x152546(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x2d3)])),_0x152546(0x3,_0x34dee8[_0xfc589d(0x22b)])],_0x67c957[_0xfc589d(0x16a)]);function _0x2cc919(_0x97c92b){const {status$:_0x45eb14}=_0x97c92b;return function(){const _0x15adb5=_0x15a6;return _0xf65799[_0x15adb5(0x267)](_0x54564d,{'status$':_0x45eb14});};}var _0x461bc9=Object[_0xfc589d(0x333)],_0x230593=(_0x82bf6c,_0x5813ff,_0x25afa5,_0x56cd64)=>{const _0x9273dd=_0xfc589d;for(var _0x278d58=_0x56cd64>0x1?void 0x0:_0x56cd64?_0x461bc9(_0x5813ff,_0x25afa5):_0x5813ff,_0x92d29b=_0x82bf6c[_0x9273dd(0x200)]-0x1,_0x43d486;_0x92d29b>=0x0;_0x92d29b--)(_0x43d486=_0x82bf6c[_0x92d29b])&&(_0x278d58=_0x43d486(_0x278d58)||_0x278d58);return _0x278d58;},_0x481c9f=(_0x5dfd78,_0x4d83f9)=>(_0x5acce6,_0x5423cc)=>_0x4d83f9(_0x5acce6,_0x5423cc,_0x5dfd78);let _0x20d73b=class extends _0xdc78a3['Disposable']{constructor(_0x3ad64,_0x370321,_0x17abc7,_0x54f495,_0xe4b8b,_0x2fd4c7){const _0xfc119b=_0xfc589d;super(),this[_0xfc119b(0x32f)]=_0x3ad64,this[_0xfc119b(0x259)]=_0x370321,this[_0xfc119b(0x186)]=_0x17abc7,this[_0xfc119b(0x196)]=_0x54f495,this[_0xfc119b(0x380)]=_0xe4b8b,this[_0xfc119b(0x1b5)]=_0x2fd4c7,this[_0xfc119b(0x276)](),this[_0xfc119b(0x1d8)]();}['_setupBeforeClosingHandler'](){const _0x4bf831=_0xfc589d;this[_0x4bf831(0x2bf)](this[_0x4bf831(0x32f)][_0x4bf831(0x2de)](()=>{const _0x4e067f=_0x4bf831;if(this['_localCacheService'][_0x4e067f(0x152)][_0x4e067f(0x1e6)])return this[_0x4e067f(0x1b5)]['t'](_0x4e067f(0x12a));}));}[_0xfc589d(0x1d8)](){const _0x22cb2c=_0xfc589d;this[_0x22cb2c(0x2bf)](this['_collaborationUIEventService']['event$'][_0x22cb2c(0x329)](_0x201d28=>{const _0x38055f=_0x22cb2c;_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x112)]&&this[_0x38055f(0x196)][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x354))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)]['CLOSE_ROOM']&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2e4))}),_0x201d28['id']===_0x5d9669['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x38055f(0x380)][_0x38055f(0x382)]({'title':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x1e8)),'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x137)),'type':_0x38055f(0x1ef),'duration':0x0}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x2ca)]&&this['_messageService']['show']({'type':_0x105961['MessageType'][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2e4))+'('+_0x201d28[_0x38055f(0x347)]+')'}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x1ac)]&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x201d28[_0x38055f(0x347)]||'')}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x170)]&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this['_localeService']['t'](_0x38055f(0x245))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)]['SOCKET_FAILED']&&this[_0x38055f(0x196)][_0x38055f(0x382)]({'type':_0x105961['MessageType'][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2bc))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x216)]&&this[_0x38055f(0x196)]['show']({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x351))});}));}};_0x20d73b=_0x230593([_0x481c9f(0x0,_0x34dee8['IBeforeCloseService']),_0x481c9f(0x1,_0x5d9669[_0xfc589d(0x254)]),_0x481c9f(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x39d)])),_0x481c9f(0x3,_0x34dee8[_0xfc589d(0x304)]),_0x481c9f(0x4,_0x34dee8[_0xfc589d(0x31a)]),_0x481c9f(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x33b)]))],_0x20d73b);const _0x44f7e4='collaboration-client-ui.config',_0x2e450b={},_0x180cbd=_0xdc78a3[_0xfc589d(0x274)]('uni.network.url-service');var _0x18b06d=Object['getOwnPropertyDescriptor'],_0x43f7c8=(_0x5a5a2b,_0x3d6400,_0x5c6734,_0x4baf00)=>{for(var _0x5699a3=_0x4baf00>0x1?void 0x0:_0x4baf00?_0x18b06d(_0x3d6400,_0x5c6734):_0x3d6400,_0x1a138e=_0x5a5a2b['length']-0x1,_0x4f0349;_0x1a138e>=0x0;_0x1a138e--)(_0x4f0349=_0x5a5a2b[_0x1a138e])&&(_0x5699a3=_0x4f0349(_0x5699a3)||_0x5699a3);return _0x5699a3;},_0x43a6c3=(_0x5e3928,_0x119075)=>(_0x5626f7,_0x19eb87)=>_0x119075(_0x5626f7,_0x19eb87,_0x5e3928);_0x67c957[_0xfc589d(0x163)]=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x50e244,_0x1f7e4e,_0x10ee87,_0x13ea4f,_0x7e4fdb){const _0x1ecf57=_0xfc589d;super(),this[_0x1ecf57(0x1b9)]=_0x50e244,this[_0x1ecf57(0x2cb)]=_0x1f7e4e,this[_0x1ecf57(0x1a3)]=_0x10ee87,this['_dataLoaderService']=_0x13ea4f,_0x7e4fdb?_0x7e4fdb==null||_0x7e4fdb[_0x1ecf57(0x390)]()['then'](()=>this['_init']()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1ecf57(0x21e)),this[_0x1ecf57(0x1c3)]());}async[_0xfc589d(0x1c3)](){const _0x1cc396=_0xfc589d,_0x2a793c=this[_0x1cc396(0x1b9)][_0x1cc396(0x12d)](_0x1cc396(0x353)),_0xca43f1=this[_0x1cc396(0x1b9)][_0x1cc396(0x12d)](_0x1cc396(0x22e)),_0x351ab5=this['_urlService'][_0x1cc396(0x12d)](_0x1cc396(0x2a3));if(!_0x2a793c||!_0xca43f1){this[_0x1cc396(0x2cb)]['debug'](_0x1cc396(0x2bb),_0x1cc396(0x215));return;}const _0x7dcd3c=await this[_0x1cc396(0x21f)][_0x1cc396(0x1e4)](_0x2a793c,Number(_0xca43f1),_0x351ab5);_0x7dcd3c&&_0x7dcd3c instanceof _0xdc78a3[_0x1cc396(0x115)]&&this[_0x1cc396(0x361)](_0x7dcd3c);}async[_0xfc589d(0x361)](_0x541a39){const _0x4eede1=_0xfc589d;await this[_0x4eede1(0x1f9)](_0x541a39),_0x541a39[_0x4eede1(0x2a1)]['pipe'](_0x5985fb[_0x4eede1(0x34d)](this[_0x4eede1(0x3a4)]))['subscribe'](_0x142a6b=>{_0x142a6b&&this['_updateURLWithCurrentState'](_0x142a6b);}),this[_0x4eede1(0x1b9)]['urlChange$'][_0x4eede1(0x1ae)](_0x5985fb[_0x4eede1(0x34d)](this[_0x4eede1(0x3a4)]))[_0x4eede1(0x329)](()=>this[_0x4eede1(0x1f9)](_0x541a39));}['_updateURLWithCurrentState'](_0x5a3d58,_0xa5c25e=!0x1){const _0xf63bde=_0xfc589d,_0x20b0f1=this['_urlService'][_0xf63bde(0x12d)]('subunit');_0x5a3d58['getSheetId']()!==_0x20b0f1&&this[_0xf63bde(0x1b9)]['setParam'](_0xf63bde(0x2a3),_0x5a3d58['getSheetId'](),_0xa5c25e);}async[_0xfc589d(0x1f9)](_0x483335){const _0x1c803c=_0xfc589d;var _0x276a7f;const _0x739fd8=this[_0x1c803c(0x1b9)][_0x1c803c(0x12d)](_0x1c803c(0x2a3));if(!_0x739fd8||!_0x483335[_0x1c803c(0x1dc)](_0x739fd8)){const _0x243245=_0x483335[_0x1c803c(0x1e9)]()[0x0],_0x9b31a6=_0x483335[_0x1c803c(0x1dc)](_0x243245);if(!_0x9b31a6)return;this['_updateURLWithCurrentState'](_0x9b31a6,!0x0),await this[_0x1c803c(0x1a3)]['executeCommand'](_0x2615ce[_0x1c803c(0x24e)]['id'],{'unitId':_0x483335[_0x1c803c(0x1f1)](),'subUnitId':_0x243245});return;}((_0x276a7f=_0x483335['getActiveSheet']())==null?void 0x0:_0x276a7f[_0x1c803c(0x147)]())!==_0x739fd8&&await this[_0x1c803c(0x1a3)][_0x1c803c(0x32b)](_0x2615ce[_0x1c803c(0x24e)]['id'],{'unitId':_0x483335[_0x1c803c(0x1f1)](),'subUnitId':_0x739fd8});}},_0x67c957[_0xfc589d(0x163)]=_0x43f7c8([_0x43a6c3(0x0,_0x180cbd),_0x43a6c3(0x1,_0xdc78a3['ILogService']),_0x43a6c3(0x2,_0xdc78a3[_0xfc589d(0x1b7)]),_0x43a6c3(0x3,_0xdc78a3['Inject'](_0x5d9669[_0xfc589d(0x2c7)])),_0x43a6c3(0x4,_0xdc78a3[_0xfc589d(0x290)](_0x145f5f[_0xfc589d(0x113)]))],_0x67c957[_0xfc589d(0x163)]);var _0x1dafcc=Object[_0xfc589d(0x333)],_0x5148de=(_0x1db774,_0x44974c,_0x17a529,_0x2bddf9)=>{const _0x1293ef=_0xfc589d;for(var _0x3c5e08=_0x2bddf9>0x1?void 0x0:_0x2bddf9?_0x1dafcc(_0x44974c,_0x17a529):_0x44974c,_0x2f21c4=_0x1db774[_0x1293ef(0x200)]-0x1,_0x50578a;_0x2f21c4>=0x0;_0x2f21c4--)(_0x50578a=_0x1db774[_0x2f21c4])&&(_0x3c5e08=_0x50578a(_0x3c5e08)||_0x3c5e08);return _0x3c5e08;},_0x2735fd=(_0x2d7add,_0x457711)=>(_0x5c45a4,_0x449cc5)=>_0x457711(_0x5c45a4,_0x449cc5,_0x2d7add);let _0x3ccdea=class{constructor(_0x40abac,_0x296bf2,_0x1da72e){const _0x102656=_0xfc589d;this['_injector']=_0x40abac,this[_0x102656(0x18d)]=_0x296bf2,this[_0x102656(0x225)]=_0x1da72e;}[_0xfc589d(0x13f)](_0x259067){const _0x5d0907=_0xfc589d;this[_0x5d0907(0x352)](_0x259067),this[_0x5d0907(0x28c)](_0x259067);}['transformRemoteChangeset'](_0x36e966){const _0x102235=_0xfc589d,{unitID:_0x2c8eb2}=_0x36e966,_0xa03fee=this['_renderManagerService'][_0x102235(0x366)](_0x2c8eb2)[_0x102235(0x291)](_0x2b0fe2['DocIMEInputManagerService']),{redoCache:_0x3961d0}=_0xa03fee[_0x102235(0x371)]();if(_0x3961d0[_0x102235(0x200)]===0x0)return _0x36e966;let _0x523b58=_0xdc78a3[_0x102235(0x386)][_0x102235(0x136)](_0x36e966[_0x102235(0x27d)][0x0]);for(let _0x16a7c4=0x0;_0x16a7c4<_0x3961d0['length'];_0x16a7c4++){const _0x5545ac={'id':_0x102235(0x36a),'params':{..._0x3961d0[_0x16a7c4]}},_0x31356d=this[_0x102235(0x18d)][_0x102235(0x23f)](_0x523b58,_0x5545ac,!0x1);if(_0x58d079[_0x102235(0x1ea)](_0x31356d))throw _0x31356d[_0x102235(0x1ef)];_0x523b58=_0x31356d[_0x102235(0x3ad)];}return{..._0xdc78a3['Tools'][_0x102235(0x136)](_0x36e966),'mutations':[_0x523b58]};}[_0xfc589d(0x352)](_0x15f191){const _0x5515de=_0xfc589d,{unitID:_0x9a90ec}=_0x15f191,_0x251802=this[_0x5515de(0x225)][_0x5515de(0x366)](_0x9a90ec)['with'](_0x2b0fe2[_0x5515de(0x2c1)]),{undoCache:_0x4259fe,redoCache:_0x304a06}=_0x251802[_0x5515de(0x371)]();if(_0x4259fe[_0x5515de(0x200)]===0x0||_0x304a06[_0x5515de(0x200)]===0x0)return;const _0x22cccb=[],_0x265505=[];let _0x335a1f=_0xdc78a3[_0x5515de(0x386)][_0x5515de(0x136)](_0x15f191[_0x5515de(0x27d)][0x0]),_0x5468f8=_0xdc78a3[_0x5515de(0x386)][_0x5515de(0x136)](_0x15f191[_0x5515de(0x27d)][0x0]);for(let _0x227010=_0x4259fe[_0x5515de(0x200)]-0x1;_0x227010>=0x0;_0x227010--){const _0x3a5ddb={'id':_0x5515de(0x36a),'params':{..._0x4259fe[_0x227010]}},_0x529cd={'id':'doc.mutation.rich-text-editing','params':{..._0x304a06[_0x227010]}},_0x1cf654=this['_transformService'][_0x5515de(0x23f)](_0x335a1f,_0x3a5ddb,!0x1),_0xba089b=this[_0x5515de(0x18d)]['transformMutation'](_0x5468f8,_0x529cd,!0x1);if(_0x58d079[_0x5515de(0x1ea)](_0x1cf654))throw _0x1cf654[_0x5515de(0x1ef)];if(_0x58d079[_0x5515de(0x1ea)](_0xba089b))throw _0xba089b[_0x5515de(0x1ef)];_0x22cccb[_0x5515de(0x222)](_0x1cf654[_0x5515de(0x3a8)]['params']),_0x265505[_0x5515de(0x222)](_0xba089b[_0x5515de(0x3a8)][_0x5515de(0x271)]),_0x335a1f=_0x1cf654[_0x5515de(0x3ad)],_0x5468f8=_0xba089b[_0x5515de(0x3ad)];}_0x251802[_0x5515de(0x2c4)]({'undoCache':_0x22cccb,'redoCache':_0x265505});}['_transformPreviousActiveRange'](_0x316efa){const _0x3276ff=_0xfc589d,{unitID:_0x3864f7}=_0x316efa,_0x59d7d6=this[_0x3276ff(0x225)][_0x3276ff(0x366)](_0x3864f7)[_0x3276ff(0x291)](_0x2b0fe2[_0x3276ff(0x2c1)]),_0x5a9834=_0x59d7d6[_0x3276ff(0x330)]();if(_0x5a9834==null)return;const _0x4b6907=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x316efa[_0x3276ff(0x29a)],'actions':null,'textRanges':[_0x5a9834]}}],_0x542452=this['_transformService'][_0x3276ff(0x208)](_0x316efa,_0x4b6907);if(!_0x58d079[_0x3276ff(0x1a9)](_0x542452))throw _0x542452[_0x3276ff(0x1ef)];const _0x57e40e=_0x542452['m2Prime'][0x0][_0x3276ff(0x271)]['textRanges'];Array[_0x3276ff(0x1e1)](_0x57e40e)&&_0x57e40e[_0x3276ff(0x200)]&&_0x59d7d6[_0x3276ff(0x2a6)](_0x57e40e[0x0]);}};_0x3ccdea=_0x5148de([_0x2735fd(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['Injector'])),_0x2735fd(0x1,_0x58d079[_0xfc589d(0x2f9)]),_0x2735fd(0x2,_0x4426a9[_0xfc589d(0x306)])],_0x3ccdea);var _0x491382=Object[_0xfc589d(0x333)],_0x258112=(_0x3b50f7,_0x4e8e6f,_0x2f9558,_0x16617c)=>{const _0x3bc6d7=_0xfc589d;for(var _0x42d61d=_0x16617c>0x1?void 0x0:_0x16617c?_0x491382(_0x4e8e6f,_0x2f9558):_0x4e8e6f,_0x2429a9=_0x3b50f7[_0x3bc6d7(0x200)]-0x1,_0x17191d;_0x2429a9>=0x0;_0x2429a9--)(_0x17191d=_0x3b50f7[_0x2429a9])&&(_0x42d61d=_0x17191d(_0x42d61d)||_0x42d61d);return _0x42d61d;},_0x5ed668=(_0x10f7cb,_0x507e07)=>(_0x4ed3be,_0x2723c8)=>_0x507e07(_0x4ed3be,_0x2723c8,_0x10f7cb);let _0x1f18b5=class{constructor(_0x16f257,_0x20668f,_0x32af3a){const _0x22ac1d=_0xfc589d;this[_0x22ac1d(0x205)]=_0x16f257,this[_0x22ac1d(0x18d)]=_0x20668f,this[_0x22ac1d(0x3a1)]=_0x32af3a;}[_0xfc589d(0x2fc)](_0x180ed7){this['_transformHistoryAndStateStack'](_0x180ed7);}[_0xfc589d(0x2f0)](_0x388357){const _0x51423a=_0xfc589d,{unitID:_0x553479}=_0x388357,{collaboration:_0x1ead90}=this[_0x51423a(0x3a1)][_0x51423a(0x1bb)](_0x553479);if(_0x1ead90[_0x51423a(0x200)]===0x0)return _0x388357;let _0x45b26e=_0xdc78a3[_0x51423a(0x386)][_0x51423a(0x136)](_0x388357[_0x51423a(0x27d)][0x0]);for(let _0x2aa84d=0x0;_0x2aa84d<_0x1ead90[_0x51423a(0x200)];_0x2aa84d++){const _0x1ac1cd={'id':_0x51423a(0x36a),'params':{'unitId':_0x1ead90[_0x2aa84d][_0x51423a(0x1f8)],..._0x1ead90[_0x2aa84d][_0x51423a(0x1e7)]}},_0x4edf3e=this[_0x51423a(0x18d)][_0x51423a(0x23f)](_0x45b26e,_0x1ac1cd,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x4edf3e))throw _0x4edf3e[_0x51423a(0x1ef)];_0x45b26e=_0x4edf3e[_0x51423a(0x3ad)];}return{..._0xdc78a3[_0x51423a(0x386)]['deepClone'](_0x388357),'mutations':[_0x45b26e]};}['_transformHistoryAndStateStack'](_0x1acd29){const _0x4ba5b3=_0xfc589d,{unitID:_0x12d0fe}=_0x1acd29,{history:_0x26e36a,collaboration:_0x9d8408}=this[_0x4ba5b3(0x3a1)][_0x4ba5b3(0x1bb)](_0x12d0fe);if(_0x26e36a[_0x4ba5b3(0x200)]===0x0&&_0x9d8408[_0x4ba5b3(0x200)]===0x0)return;const _0x324c5e=[],_0x443357=[];let _0x18cd24=_0xdc78a3['Tools'][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]),_0x595a57=_0xdc78a3[_0x4ba5b3(0x386)][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]);for(let _0xb0e3a7=_0x26e36a[_0x4ba5b3(0x200)]-0x1;_0xb0e3a7>=0x0;_0xb0e3a7--){const _0x374337={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x26e36a[_0xb0e3a7][_0x4ba5b3(0x1f8)],..._0x26e36a[_0xb0e3a7][_0x4ba5b3(0x20d)]}},_0x4315ae={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x26e36a[_0xb0e3a7][_0x4ba5b3(0x1f8)],..._0x26e36a[_0xb0e3a7]['redoState']}},_0x15e63f=this['_transformService'][_0x4ba5b3(0x23f)](_0x18cd24,_0x374337,!0x1),_0x19f594=this[_0x4ba5b3(0x18d)][_0x4ba5b3(0x23f)](_0x595a57,_0x4315ae,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x15e63f))throw _0x15e63f[_0x4ba5b3(0x1ef)];if(_0x58d079['isTransformMutationFailure'](_0x19f594))throw _0x19f594[_0x4ba5b3(0x1ef)];_0x324c5e[_0x4ba5b3(0x222)]({..._0x26e36a[_0xb0e3a7],'undoState':_0x15e63f[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)],'redoState':_0x19f594[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)]}),_0x18cd24=_0x15e63f[_0x4ba5b3(0x3ad)],_0x595a57=_0x19f594[_0x4ba5b3(0x3ad)];}_0x18cd24=_0xdc78a3[_0x4ba5b3(0x386)]['deepClone'](_0x1acd29[_0x4ba5b3(0x27d)][0x0]),_0x595a57=_0xdc78a3['Tools'][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]);for(let _0x3c473e=_0x9d8408[_0x4ba5b3(0x200)]-0x1;_0x3c473e>=0x0;_0x3c473e--){const _0x2b30ee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x9d8408[_0x3c473e][_0x4ba5b3(0x1f8)],..._0x9d8408[_0x3c473e][_0x4ba5b3(0x20d)]}},_0x90c5b={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x9d8408[_0x3c473e][_0x4ba5b3(0x1f8)],..._0x9d8408[_0x3c473e][_0x4ba5b3(0x1e7)]}},_0x24d743=this[_0x4ba5b3(0x18d)][_0x4ba5b3(0x23f)](_0x18cd24,_0x2b30ee,!0x1),_0x16c62e=this[_0x4ba5b3(0x18d)]['transformMutation'](_0x595a57,_0x90c5b,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x24d743))throw _0x24d743[_0x4ba5b3(0x1ef)];if(_0x58d079[_0x4ba5b3(0x1ea)](_0x16c62e))throw _0x16c62e[_0x4ba5b3(0x1ef)];_0x443357[_0x4ba5b3(0x222)]({..._0x9d8408[_0x3c473e],'undoState':_0x24d743[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)],'redoState':_0x16c62e['m2Prime'][_0x4ba5b3(0x271)]}),_0x18cd24=_0x24d743[_0x4ba5b3(0x3ad)],_0x595a57=_0x16c62e[_0x4ba5b3(0x3ad)];}this[_0x4ba5b3(0x3a1)]['setStateCache'](_0x12d0fe,{'history':_0x324c5e,'collaboration':_0x443357});}};_0x1f18b5=_0x258112([_0x5ed668(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x5ed668(0x1,_0x58d079[_0xfc589d(0x2f9)]),_0x5ed668(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x2b0fe2[_0xfc589d(0x37f)]))],_0x1f18b5);var _0x3fb055=Object[_0xfc589d(0x333)],_0x467117=(_0xefd534,_0x16d0c2,_0x36ef18,_0xb2f356)=>{const _0x38f453=_0xfc589d;for(var _0x1e12fe=_0xb2f356>0x1?void 0x0:_0xb2f356?_0x3fb055(_0x16d0c2,_0x36ef18):_0x16d0c2,_0x12459e=_0xefd534[_0x38f453(0x200)]-0x1,_0x544b16;_0x12459e>=0x0;_0x12459e--)(_0x544b16=_0xefd534[_0x12459e])&&(_0x1e12fe=_0x544b16(_0x1e12fe)||_0x1e12fe);return _0x1e12fe;},_0x4f2ce9=(_0x50d519,_0x3ddf39)=>(_0x59e296,_0x23ee68)=>_0x3ddf39(_0x59e296,_0x23ee68,_0x50d519);let _0x5c5b1d=class{constructor(_0x368c46,_0x46e1fd){const _0x1bac35=_0xfc589d;this[_0x1bac35(0x205)]=_0x368c46,this[_0x1bac35(0x18d)]=_0x46e1fd;}[_0xfc589d(0x2d6)](_0x26599b){const _0x5ceab3=_0xfc589d;var _0x1d3d1d;const _0x5c9d57=this[_0x5ceab3(0x205)]['get'](_0x2cf963['DocSelectionManagerService']),_0x35390a=(_0x1d3d1d=_0x5c9d57[_0x5ceab3(0x220)]())!=null?_0x1d3d1d:[];if(_0x35390a[_0x5ceab3(0x200)]===0x0)return;const _0x44bc8a=_0x26599b[_0x5ceab3(0x29a)],_0x45becc=[{'id':_0x5ceab3(0x36a),'params':{'unitId':_0x44bc8a,'actions':null,'textRanges':_0x35390a}}],_0x2781c6=this[_0x5ceab3(0x18d)]['transformMutationsWithChangeset'](_0x26599b,_0x45becc);if(!_0x58d079['isTransformMutationsWithChangesetSuccess'](_0x2781c6))throw _0x2781c6['error'];const _0x220da4=_0x2781c6[_0x5ceab3(0x3a8)][0x0][_0x5ceab3(0x271)][_0x5ceab3(0x2b6)];Array[_0x5ceab3(0x1e1)](_0x220da4)&&_0x220da4['length']&&_0x5c9d57[_0x5ceab3(0x2f5)](_0x220da4,{'unitId':_0x44bc8a,'subUnitId':_0x44bc8a},!0x1);}};_0x5c5b1d=_0x467117([_0x4f2ce9(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x4f2ce9(0x1,_0x58d079[_0xfc589d(0x2f9)])],_0x5c5b1d);var _0xdb9bcf=Object[_0xfc589d(0x333)],_0x57e971=(_0x29ca85,_0x37d058,_0x16f650,_0x79d171)=>{for(var _0x28374d=_0x79d171>0x1?void 0x0:_0x79d171?_0xdb9bcf(_0x37d058,_0x16f650):_0x37d058,_0x56eb24=_0x29ca85['length']-0x1,_0x32049e;_0x56eb24>=0x0;_0x56eb24--)(_0x32049e=_0x29ca85[_0x56eb24])&&(_0x28374d=_0x32049e(_0x28374d)||_0x28374d);return _0x28374d;},_0x370269=(_0x5ea043,_0x11aa66)=>(_0x5de10c,_0x21a8ef)=>_0x11aa66(_0x5de10c,_0x21a8ef,_0x5ea043);let _0x4fb34c=class extends _0xdc78a3['Disposable']{constructor(_0x5866b2,_0x321854,_0x1c1f0a,_0x3e36e2,_0x573d91,_0xb578e0,_0x1f3b4a,_0xab96ad){const _0x81917c=_0xfc589d;super(),_0x1b4a80(this,_0x81917c(0x323),new _0x5985fb[(_0x81917c(0x2a9))](_0x5d9669['CollaborationStatus'][_0x81917c(0x1c5)])),(this[_0x81917c(0x3a1)]=_0x5866b2,this['_collaborationController']=_0x321854,this[_0x81917c(0x38d)]=_0x1c1f0a,this[_0x81917c(0x38e)]=_0x3e36e2,this[_0x81917c(0x1cc)]=_0x573d91,this[_0x81917c(0x145)]=_0xb578e0,this['_messageService']=_0x1f3b4a,this[_0x81917c(0x1b5)]=_0xab96ad,this[_0x81917c(0x35e)]());}[_0xfc589d(0x35e)](){const _0x2e740d=_0xfc589d;this[_0x2e740d(0x2bf)](this[_0x2e740d(0x269)]['entityInit$']['subscribe'](_0x1a480d=>{const _0x4ab326=_0x2e740d,_0x461c84=this[_0x4ab326(0x3a1)][_0x4ab326(0x33c)][_0x4ab326(0x329)](_0x3fb644=>{const _0x5595b1=_0x4ab326;if(_0x3fb644==null)return;const {unitId:_0x16c990,redoState:_0x5c6963,commandId:_0x379b0a}=_0x3fb644;if(_0x16c990!==_0x1a480d[_0x5595b1(0x29a)])return;const _0x1deab9={'id':_0x379b0a,'type':_0xdc78a3['CommandType']['MUTATION'],'params':{'unitId':_0x16c990,'actions':_0x5c6963[_0x5595b1(0x249)],'textRanges':null}};_0x1a480d['onLocalMutation'](_0x1deab9);});if(_0x1a480d[_0x4ab326(0x2bf)](_0x461c84),_0x1a480d instanceof _0x5d9669[_0x4ab326(0x1c8)]){const _0x6b2d97={'onTransformIME':_0x1a1cba=>this[_0x4ab326(0x38d)][_0x4ab326(0x13f)](_0x1a1cba),'onTransformState':_0x46453d=>this[_0x4ab326(0x38e)][_0x4ab326(0x2fc)](_0x46453d),'onTransformSelections':_0x459f17=>this['_docTransformSelectionsService']['transformSelections'](_0x459f17),'onSyncEditingCollabCursor':_0x2cd35e=>this[_0x4ab326(0x145)][_0x4ab326(0x3ab)](_0x2cd35e),'onTransformRemoteChangesetByIMECache':_0x318314=>this[_0x4ab326(0x38d)][_0x4ab326(0x2f0)](_0x318314),'onTransformRemoteChangesetByStateCache':_0x54aeac=>this[_0x4ab326(0x38e)]['transformRemoteChangeset'](_0x54aeac)};_0x1a480d['addHandlerCallback'](_0x6b2d97);}}));}};_0x4fb34c=_0x57e971([_0x370269(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0x2b0fe2[_0xfc589d(0x37f)])),_0x370269(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x2d3)])),_0x370269(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x3ccdea)),_0x370269(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x1f18b5)),_0x370269(0x4,_0xdc78a3['Inject'](_0x5c5b1d)),_0x370269(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0x3bbdcd)),_0x370269(0x6,_0x34dee8[_0xfc589d(0x304)]),_0x370269(0x7,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x33b)]))],_0x4fb34c);var _0x364887=Object[_0xfc589d(0x333)],_0xa6cabc=(_0x54b326,_0x3dc2ab,_0x32778b,_0x162688)=>{const _0xf9d3b1=_0xfc589d;for(var _0x574921=_0x162688>0x1?void 0x0:_0x162688?_0x364887(_0x3dc2ab,_0x32778b):_0x3dc2ab,_0x11449b=_0x54b326[_0xf9d3b1(0x200)]-0x1,_0x1bea97;_0x11449b>=0x0;_0x11449b--)(_0x1bea97=_0x54b326[_0x11449b])&&(_0x574921=_0x1bea97(_0x574921)||_0x574921);return _0x574921;},_0x314f70=(_0x1c6032,_0x42b261)=>(_0x3aecda,_0x35feb5)=>_0x42b261(_0x3aecda,_0x35feb5,_0x1c6032);let _0x1a54f1=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0x21580b,_0x552c25,_0xde84bb){const _0x28f376=_0xfc589d;super(),_0x1b4a80(this,'_cachedData',new Map()),_0x1b4a80(this,_0x28f376(0x242),new Map()),_0x1b4a80(this,_0x28f376(0x305),!0x1),(this[_0x28f376(0x2f3)]=_0x21580b,this['_localStorageService']=_0x552c25,this[_0x28f376(0x1bf)]=_0xde84bb);}[_0xfc589d(0x127)](){const _0x334dde=_0xfc589d;this[_0x334dde(0x305)]=!0x0;}[_0xfc589d(0x2a7)](){const _0x2d83cd=_0xfc589d;this[_0x2d83cd(0x305)]=!0x1;}get[_0xfc589d(0x152)](){const _0x448782=_0xfc589d;return this[_0x448782(0x242)];}[_0xfc589d(0x318)](){const _0x2d3705=_0xfc589d;this[_0x2d3705(0x359)]()['then'](()=>super[_0x2d3705(0x318)]());}async[_0xfc589d(0x171)](_0x2f3bee){const _0x118127=_0xfc589d;return this[_0x118127(0x305)]?null:this[_0x118127(0x38f)]['getItem'](_0x5d9669[_0x118127(0x2dc)](_0x2f3bee));}async[_0xfc589d(0x231)](_0x2659ac,_0x486edb){const _0xc5bc7b=_0xfc589d;return!!this[_0xc5bc7b(0x38f)]['setItem'](_0x2659ac,_0x486edb);}[_0xfc589d(0x160)](_0x568ad4,_0x1c1a98,_0x203ced,_0x202f8f){const _0x36e0c6=_0xfc589d,_0x4477c0=this[_0x36e0c6(0x1bf)][_0x36e0c6(0x173)](_0x568ad4);this[_0x36e0c6(0x1f7)][_0x36e0c6(0x19e)](_0x568ad4,{'unitID':_0x568ad4,'type':_0x1c1a98,'awaitingChangeset':_0x203ced,'mutations':_0x202f8f,'rev':_0x4477c0}),this[_0x36e0c6(0x242)]['has'](_0x568ad4)||this['_scheduleSaving'](_0x568ad4);}[_0xfc589d(0x34f)](_0x1872aa){const _0x292691=_0xfc589d,_0x2dd263=this[_0x292691(0x2d4)]();_0x2dd263===0x0?this[_0x292691(0x394)](_0x1872aa):this['_saveTaskMap']['set'](_0x1872aa,setTimeout(()=>this[_0x292691(0x394)](_0x1872aa),_0x2dd263));}[_0xfc589d(0x2d4)](){const _0x2ef4b7=_0xfc589d;var _0xead751;return(_0xead751=this[_0x2ef4b7(0x2f3)][_0x2ef4b7(0x38c)](_0x5d9669[_0x2ef4b7(0x31e)]))!=null?_0xead751:_0x5d9669[_0x2ef4b7(0x35a)];}[_0xfc589d(0x394)](_0x2cf8d9){const _0x597e48=_0xfc589d,_0x196bdb=this[_0x597e48(0x242)][_0x597e48(0x1ed)](_0x2cf8d9);return _0x196bdb!==void 0x0&&window['clearTimeout'](_0x196bdb),this[_0x597e48(0x38f)][_0x597e48(0x1e3)](_0x5d9669['getLocalCacheKey'](_0x2cf8d9),this[_0x597e48(0x1f7)]['get'](_0x2cf8d9))['then'](()=>this[_0x597e48(0x242)]['delete'](_0x2cf8d9));}async[_0xfc589d(0x359)](){const _0x539a4a=_0xfc589d,_0x3506f9=[];this[_0x539a4a(0x242)][_0x539a4a(0x11a)]((_0x173e43,_0x2d3e56)=>{const _0x3f456a=_0x539a4a;window[_0x3f456a(0x22d)](_0x173e43),_0x3506f9[_0x3f456a(0x150)](this[_0x3f456a(0x394)](_0x2d3e56)['then'](()=>{const _0x341f45=_0x3f456a;this[_0x341f45(0x242)][_0x341f45(0x212)](_0x2d3e56);}));}),await Promise[_0x539a4a(0x37c)](_0x3506f9);}};_0x1a54f1=_0xa6cabc([_0x314f70(0x0,_0xdc78a3[_0xfc589d(0x27f)]),_0x314f70(0x1,_0xdc78a3[_0xfc589d(0x111)]),_0x314f70(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x58d079['RevisionService']))],_0x1a54f1);class _0xfe9f6b extends _0xdc78a3[_0xfc589d(0x314)]{constructor(){const _0x397b92=_0xfc589d;super(),_0x1b4a80(this,_0x397b92(0x345)),this[_0x397b92(0x345)]=_0x5985fb[_0x397b92(0x1a6)](window,'popstate')['pipe'](_0x5985fb['takeUntil'](this[_0x397b92(0x3a4)]),_0x5985fb['shareReplay'](0x1),_0x5985fb[_0x397b92(0x3a5)](void 0x0));}[_0xfc589d(0x37a)](_0x1cc63c,_0x226b11,_0x1a90c4=!0x1){const _0x47d632=_0xfc589d,_0x3b5043=new URL(window['location'][_0x47d632(0x2ee)]);_0x3b5043[_0x47d632(0x149)][_0x47d632(0x19e)](_0x1cc63c,_0x226b11),_0x1a90c4?window[_0x47d632(0x21d)]['replaceState']('','',_0x3b5043['toString']()):window[_0x47d632(0x21d)][_0x47d632(0x325)]('','',_0x3b5043[_0x47d632(0x12c)]());}[_0xfc589d(0x16b)](_0x21a598,_0x472359=!0x1){const _0x164690=_0xfc589d,_0x36619f=new URL(window['location'][_0x164690(0x2ee)]);_0x36619f[_0x164690(0x149)]['delete'](_0x21a598),_0x472359?window[_0x164690(0x21d)][_0x164690(0x27c)]('','',_0x36619f[_0x164690(0x12c)]()):window[_0x164690(0x21d)][_0x164690(0x325)]('','',_0x36619f[_0x164690(0x12c)]());}[_0xfc589d(0x12d)](_0x59cc20){const _0x113abb=_0xfc589d;var _0x50f32c;return(_0x50f32c=new URL(window['location']['href'])[_0x113abb(0x149)]['get'](_0x59cc20))!=null?_0x50f32c:void 0x0;}}var _0x2e5e0b=Object[_0xfc589d(0x21b)],_0x223d07=Object[_0xfc589d(0x333)],_0x1ecbc6=(_0x5dc749,_0x348d73,_0x86c4ed)=>_0x348d73 in _0x5dc749?_0x2e5e0b(_0x5dc749,_0x348d73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x86c4ed}):_0x5dc749[_0x348d73]=_0x86c4ed,_0x1db1d9=(_0x1c2661,_0x2b71e1,_0x42d9a8,_0x12c92d)=>{const _0x32abe7=_0xfc589d;for(var _0x2ed055=_0x12c92d>0x1?void 0x0:_0x12c92d?_0x223d07(_0x2b71e1,_0x42d9a8):_0x2b71e1,_0x17de90=_0x1c2661[_0x32abe7(0x200)]-0x1,_0x2cf54a;_0x17de90>=0x0;_0x17de90--)(_0x2cf54a=_0x1c2661[_0x17de90])&&(_0x2ed055=_0x2cf54a(_0x2ed055)||_0x2ed055);return _0x2ed055;},_0x4b1850=(_0x4ab5c2,_0x15a421)=>(_0x6dae99,_0x2c3fd0)=>_0x15a421(_0x6dae99,_0x2c3fd0,_0x4ab5c2),_0xaa9e5e=(_0x2d73bf,_0x1a6c60,_0x2c6d5c)=>_0x1ecbc6(_0x2d73bf,_0x1a6c60+'',_0x2c6d5c);const _0x7e0559='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x67c957[_0xfc589d(0x1b0)]=class extends _0xdc78a3['Plugin']{constructor(_0x51512e=_0x2e450b,_0xe5dce6,_0x2681c5,_0x4da22e){const _0x2024aa=_0xfc589d;super(),this['_config']=_0x51512e,this[_0x2024aa(0x225)]=_0xe5dce6,this[_0x2024aa(0x205)]=_0x2681c5,this[_0x2024aa(0x2f3)]=_0x4da22e;const {..._0x55a38f}=_0xdc78a3[_0x2024aa(0x346)]({},_0x2e450b,this[_0x2024aa(0x1ec)]);this[_0x2024aa(0x2f3)][_0x2024aa(0x247)](_0x44f7e4,_0x55a38f);}[_0xfc589d(0x1a7)](){const _0xc7fef8=_0xfc589d;this[_0xc7fef8(0x286)](),this[_0xc7fef8(0x2d5)]();}['onRendered'](){const _0x4e1330=_0xfc589d;this[_0x4e1330(0x15e)]();}[_0xfc589d(0x286)](){const _0x441598=_0xfc589d;var _0xf63b66;const _0x3ef182=[[_0x548c1e],[_0x5c5b1d],[_0x3ccdea],[_0x1f18b5],[_0x3bbdcd],[_0x180cbd,{'useClass':_0xfe9f6b}],[_0x277e3d[_0x441598(0x32a)],{'useClass':_0x277e3d[_0x441598(0x302)]}],[_0x5d9669[_0x441598(0x254)],{'useClass':_0x1a54f1}],[_0x67c957[_0x441598(0x16a)]],[_0x4fb34c],[_0x20d73b],[_0x28169a],[_0x7e02b8],[_0x67c957[_0x441598(0x163)]]];_0xdc78a3[_0x441598(0x263)](this[_0x441598(0x205)],_0xdc78a3['mergeOverrideWithDependencies'](_0x3ef182,(_0xf63b66=this[_0x441598(0x1ec)])==null?void 0x0:_0xf63b66[_0x441598(0x213)]));}['_registerRenderDependencies'](){const _0x2e6f2d=_0xfc589d;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0xdc78a3[_0x2e6f2d(0x2c9)][_0x2e6f2d(0x2c6)],[_0x3039e7])),this[_0x2e6f2d(0x2bf)](this[_0x2e6f2d(0x225)]['registerRenderModule'](_0xdc78a3[_0x2e6f2d(0x2c9)]['UNIVER_SHEET'],[_0x20239c]));}[_0xfc589d(0x2d5)](){const _0x3f1ef9=_0xfc589d;_0xdc78a3[_0x3f1ef9(0x11f)](this['_injector'],[[_0x28169a],[_0x67c957[_0x3f1ef9(0x16a)]],[_0x4fb34c],[_0x20d73b],[_0x67c957[_0x3f1ef9(0x163)]]]);}},_0xaa9e5e(_0x67c957[_0xfc589d(0x1b0)],_0xfc589d(0x198),_0x7e0559),_0x67c957[_0xfc589d(0x1b0)]=_0x1db1d9([_0xdc78a3[_0xfc589d(0x14f)](_0x5d9669[_0xfc589d(0x17f)]),_0x4b1850(0x1,_0x4426a9[_0xfc589d(0x306)]),_0x4b1850(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x4b1850(0x3,_0xdc78a3['IConfigService'])],_0x67c957[_0xfc589d(0x1b0)]);var _0x36f9c0=Object[_0xfc589d(0x333)],_0x54bc04=(_0x1dac29,_0x235347,_0x394182,_0x21d73f)=>{for(var _0x484f19=_0x21d73f>0x1?void 0x0:_0x21d73f?_0x36f9c0(_0x235347,_0x394182):_0x235347,_0x30ce0e=_0x1dac29['length']-0x1,_0x24fa3d;_0x30ce0e>=0x0;_0x30ce0e--)(_0x24fa3d=_0x1dac29[_0x30ce0e])&&(_0x484f19=_0x24fa3d(_0x484f19)||_0x484f19);return _0x484f19;},_0x13e0ee=(_0x25bb5b,_0x5d25f9)=>(_0x6ceef6,_0x406b79)=>_0x5d25f9(_0x6ceef6,_0x406b79,_0x25bb5b);_0x67c957[_0xfc589d(0x155)]=class extends _0x5d9669[_0xfc589d(0x289)]{constructor(_0x53c8ae,_0x38b78a,_0x6adce3,_0x59d383,_0x34435c){super(_0x53c8ae,_0x38b78a,_0x6adce3,_0x59d383,_0x34435c);}async[_0xfc589d(0x292)](_0x49bc66){const _0x42f26e=_0xfc589d,_0x1f4d70=await this['_getSessionTicket'](),_0x2a28ed=this[_0x42f26e(0x391)](_0x49bc66,_0x1f4d70);return this['_doCreateSocket'](_0x2a28ed);}['_createSocketURL'](_0x7241cd,_0x265468){const _0x18446f=_0xfc589d,_0xa97a1b=typeof window>'u'?new URL(_0x7241cd):new URL(_0x7241cd,window[_0x18446f(0x125)][_0x18446f(0x26b)]);_0xa97a1b[_0x18446f(0x149)][_0x18446f(0x19e)](_0x18446f(0x2e8),_0x265468);const _0x38fc8b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38fc8b['get'](_0x18446f(0x191))&&_0xa97a1b['searchParams'][_0x18446f(0x19e)](_0x18446f(0x191),_0x38fc8b[_0x18446f(0x1ed)](_0x18446f(0x191))),_0xa97a1b['toString']();}async['_getSessionTicket'](){const _0x407215=_0xfc589d;var _0x144cde,_0x17a392,_0x599857;const _0x275a36=this[_0x407215(0x2f3)]['getConfig'](_0x5d9669[_0x407215(0x18f)]),_0x339a05=(_0x144cde=_0x275a36==null?void 0x0:_0x275a36[_0x407215(0x1f2)])!=null?_0x144cde:_0x5d9669[_0x407215(0x322)];return(_0x599857=(_0x17a392=(await this[_0x407215(0x28b)][_0x407215(0x1ed)](_0x339a05,{'headers':{'Content-Type':_0x407215(0x298)}}))[_0x407215(0x17b)])==null?void 0x0:_0x17a392['ticket'])!=null?_0x599857:'';}},_0x67c957[_0xfc589d(0x155)]=_0x54bc04([_0x13e0ee(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x13e0ee(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x277e3d['HTTPService'])),_0x13e0ee(0x2,_0xdc78a3[_0xfc589d(0x27f)]),_0x13e0ee(0x3,_0xdc78a3['ILogService']),_0x13e0ee(0x4,_0x58d079['ISnapshotServerService'])],_0x67c957[_0xfc589d(0x155)]);const _0x395b68=0x7530,_0x5cf24d=_0xfc589d(0x180);class _0x101620 extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(){const _0x480839=_0xfc589d;super(),_0x1b4a80(this,_0x480839(0x356),_0xdc78a3[_0x480839(0x300)]()),_0x1b4a80(this,_0x480839(0x2df),new Set()),_0x1b4a80(this,_0x480839(0x1fe),new Map()),_0x1b4a80(this,_0x480839(0x275),null),_0x1b4a80(this,_0x480839(0x25f),new Map()),_0x1b4a80(this,_0x480839(0x31c),new Map()),this[_0x480839(0x1c3)]();}[_0xfc589d(0x318)](){const _0x5c3c29=_0xfc589d;super[_0x5c3c29(0x318)](),this[_0x5c3c29(0x25f)][_0x5c3c29(0x11a)]((_0x285200,_0x2c0c6d)=>this[_0x5c3c29(0x1bd)](_0x2c0c6d)),this[_0x5c3c29(0x275)]&&window['clearInterval'](this[_0x5c3c29(0x275)]);}[_0xfc589d(0x279)](_0x15028d){const _0xcab5ad=_0xfc589d;return this[_0xcab5ad(0x392)](_0x15028d)[_0xcab5ad(0x1ae)](_0x5985fb[_0xcab5ad(0x3a3)]());}[_0xfc589d(0x1eb)](_0x24c47b){const _0x2d913d=_0xfc589d;this['_selfUnitIDs'][_0x2d913d(0x1e6)]===0x0&&this[_0x2d913d(0x1e0)](),this[_0x2d913d(0x2df)][_0x2d913d(0x11b)](_0x24c47b),this[_0x2d913d(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x24c47b],'isForwarded':!0x1});}[_0xfc589d(0x280)](_0xa872e3){const _0xd0ca88=_0xfc589d;this[_0xd0ca88(0x2df)][_0xd0ca88(0x212)](_0xa872e3),this[_0xd0ca88(0x2df)]['size']===0x0&&this[_0xd0ca88(0x275)]&&window[_0xd0ca88(0x29c)](this[_0xd0ca88(0x275)]);}[_0xfc589d(0x1c3)](){const _0x5c10e7=_0xfc589d;this[_0x5c10e7(0x2bf)](_0xdc78a3[_0x5c10e7(0x3ac)](_0x5985fb[_0x5c10e7(0x1a6)](window,_0x5c10e7(0x13a))['subscribe'](_0x357bfd=>{const _0xae15f3=_0x5c10e7;if(_0x357bfd[_0xae15f3(0x2f7)]!==_0x5cf24d||!_0x357bfd['newValue'])return;const _0x3e5cab=JSON[_0xae15f3(0x238)](_0x357bfd[_0xae15f3(0x118)]);this[_0xae15f3(0x398)](_0x3e5cab);}))),window[_0x5c10e7(0x210)]('unload',()=>this[_0x5c10e7(0x36d)]({'type':0x1,'memberID':this[_0x5c10e7(0x356)],'unitIDs':Array[_0x5c10e7(0x131)](this['_selfUnitIDs'])}));}[_0xfc589d(0x398)](_0x2b87d8){const _0x3edcbb=_0xfc589d;switch(_0x2b87d8[_0x3edcbb(0x22e)]){case 0x0:this[_0x3edcbb(0x338)](_0x2b87d8);break;case 0x1:this[_0x3edcbb(0x224)](_0x2b87d8);break;case 0x2:this[_0x3edcbb(0x161)](_0x2b87d8);break;}}[_0xfc589d(0x338)](_0x1f76dc){const _0x124f49=_0xfc589d,{unitIDs:_0xc982fa,memberID:_0x17e27f,isForwarded:_0x10ae70}=_0x1f76dc;_0xc982fa[_0x124f49(0x11a)](_0x1c22f9=>{const _0x47dd0c=_0x124f49;if(!_0x10ae70&&this[_0x47dd0c(0x1fe)][_0x47dd0c(0x2b8)](_0x1c22f9)&&this[_0x47dd0c(0x392)](_0x1c22f9)[_0x47dd0c(0x1fa)](_0x5d9669[_0x47dd0c(0x25d)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x1c22f9)||!this[_0x47dd0c(0x1fe)]['get'](_0x1c22f9)[_0x47dd0c(0x2b8)](_0x17e27f)){const _0x369a2d=this[_0x47dd0c(0x1fe)][_0x47dd0c(0x1ed)](_0x1c22f9)||new Set();_0x369a2d['add'](_0x17e27f),this[_0x47dd0c(0x1fe)][_0x47dd0c(0x19e)](_0x1c22f9,_0x369a2d),this[_0x47dd0c(0x2ce)](_0x17e27f);}}),_0x10ae70||this['_send']({'type':0x0,'memberID':this[_0x124f49(0x356)],'unitIDs':[...this[_0x124f49(0x2df)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x366e71){const _0x32d833=_0xfc589d;this['_removeClearOtherTimer'](_0x366e71);const _0x15d15e=window[_0x32d833(0x14b)](()=>{const _0x386c30=_0x32d833;this[_0x386c30(0x1fe)][_0x386c30(0x11a)](_0x300a79=>{const _0x378b57=_0x386c30;_0x300a79[_0x378b57(0x212)](_0x366e71);});},_0x395b68*0x2);this[_0x32d833(0x25f)][_0x32d833(0x19e)](_0x366e71,_0x15d15e);}[_0xfc589d(0x1bd)](_0x516e0d){const _0x1799de=_0xfc589d;if(this[_0x1799de(0x25f)][_0x1799de(0x2b8)](_0x516e0d)){const _0x19a579=this[_0x1799de(0x25f)][_0x1799de(0x1ed)](_0x516e0d);_0x19a579&&window[_0x1799de(0x22d)](_0x19a579),this[_0x1799de(0x25f)][_0x1799de(0x19e)](_0x516e0d,null);}}[_0xfc589d(0x224)](_0x1152f6){const _0x17b2ca=_0xfc589d,{memberID:_0x384016,unitIDs:_0x48ec37}=_0x1152f6;_0x48ec37[_0x17b2ca(0x11a)](_0x5709b0=>{const _0x15a28d=_0x17b2ca;var _0x3e91f2;const _0x69e263=this[_0x15a28d(0x1fe)]['get'](_0x5709b0);_0x69e263&&(_0x69e263['delete'](_0x384016),(_0x3e91f2=this[_0x15a28d(0x392)](_0x5709b0))==null||_0x3e91f2[_0x15a28d(0x1fa)](_0x69e263[_0x15a28d(0x1e6)]===0x0?_0x5d9669[_0x15a28d(0x25d)]['NO_OTHER_CLIENTS_EDITING']:_0x5d9669[_0x15a28d(0x25d)][_0x15a28d(0x384)]));}),this['_removeClearOtherTimer'](_0x384016);}[_0xfc589d(0x161)](_0x2080ce){const _0x27a82f=_0xfc589d;this[_0x27a82f(0x2ce)](_0x2080ce[_0x27a82f(0x27e)]);}[_0xfc589d(0x36d)](_0x203873){const _0x3023bf=_0xfc589d;localStorage['setItem'](_0x5cf24d,JSON[_0x3023bf(0x2d9)](_0x203873));}[_0xfc589d(0x1e0)](){const _0xda7bca=_0xfc589d;this[_0xda7bca(0x275)]=window['setInterval'](()=>{const _0x390e95=_0xda7bca;this[_0x390e95(0x36d)]({'type':0x2,'memberID':this[_0x390e95(0x356)]});},_0x395b68);}[_0xfc589d(0x392)](_0x3991a2){const _0x2de8c5=_0xfc589d;return this[_0x2de8c5(0x31c)][_0x2de8c5(0x2b8)](_0x3991a2)||this['_unitStatus'][_0x2de8c5(0x19e)](_0x3991a2,new _0x5985fb[(_0x2de8c5(0x2a9))](_0x5d9669['UnitStatus'][_0x2de8c5(0x207)])),this[_0x2de8c5(0x31c)]['get'](_0x3991a2);}}var _0x29320b=(_0x24588e=>(_0x24588e[_0x24588e['UNDEFINED']=0x0]=_0xfc589d(0x312),_0x24588e[_0x24588e['OK']=0x1]='OK',_0x24588e[_0x24588e[_0xfc589d(0x2f4)]=0x2]='INTERNAL_ERROR',_0x24588e[_0x24588e['PERMISSION_DENIED']=0x3]=_0xfc589d(0x116),_0x24588e[_0x24588e[_0xfc589d(0x34a)]=0x4]=_0xfc589d(0x34a),_0x24588e[_0x24588e[_0xfc589d(0x20a)]=0x5]=_0xfc589d(0x20a),_0x24588e[_0x24588e[_0xfc589d(0x1fc)]=0x6]=_0xfc589d(0x1fc),_0x24588e[_0x24588e[_0xfc589d(0x13d)]=0x7]=_0xfc589d(0x13d),_0x24588e[_0x24588e[_0xfc589d(0x165)]=0x8]=_0xfc589d(0x165),_0x24588e[_0x24588e[_0xfc589d(0x1e5)]=0x9]='COMPLETION_FINISHED',_0x24588e[_0x24588e[_0xfc589d(0x22f)]=0xa]='LOGIN_FAILED',_0x24588e[_0x24588e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xfc589d(0x16c),_0x24588e[_0x24588e[_0xfc589d(0x31f)]=0x1771]=_0xfc589d(0x31f),_0x24588e[_0x24588e[_0xfc589d(0x188)]=0x1772]=_0xfc589d(0x188),_0x24588e[_0x24588e[_0xfc589d(0x265)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x24588e[_0x24588e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x24588e[_0x24588e[_0xfc589d(0x368)]=0x1b5a]=_0xfc589d(0x368),_0x24588e[_0x24588e[_0xfc589d(0x1d3)]=0x1b5b]=_0xfc589d(0x1d3),_0x24588e[_0x24588e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xfc589d(0x1c1),_0x24588e[_0x24588e[_0xfc589d(0x37d)]=0x1b5d]=_0xfc589d(0x37d),_0x24588e[_0x24588e[_0xfc589d(0x3a9)]=0x1f41]=_0xfc589d(0x3a9),_0x24588e[_0x24588e[_0xfc589d(0x358)]=0x2329]=_0xfc589d(0x358),_0x24588e[_0x24588e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xfc589d(0x18c),_0x24588e[_0x24588e[_0xfc589d(0x15b)]=0x232b]=_0xfc589d(0x15b),_0x24588e[_0x24588e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xfc589d(0x1ff),_0x24588e[_0x24588e[_0xfc589d(0x261)]=0x232d]=_0xfc589d(0x261),_0x24588e[_0x24588e[_0xfc589d(0x138)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x24588e[_0x24588e[_0xfc589d(0x31b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x24588e[_0x24588e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xfc589d(0x189),_0x24588e[_0x24588e[_0xfc589d(0x307)]=0x2714]=_0xfc589d(0x307),_0x24588e[_0x24588e[_0xfc589d(0x204)]=0x271a]=_0xfc589d(0x204),_0x24588e[_0x24588e[_0xfc589d(0x177)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x24588e[_0x24588e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x24588e[_0x24588e[_0xfc589d(0x239)]=0x271d]=_0xfc589d(0x239),_0x24588e[_0x24588e[_0xfc589d(0x13c)]=0x271e]=_0xfc589d(0x13c),_0x24588e[_0x24588e['YUUMI_AI_RUN_FAILED']=0x271f]=_0xfc589d(0x17c),_0x24588e[_0x24588e[_0xfc589d(0x3a6)]=0x2af9]=_0xfc589d(0x3a6),_0x24588e[_0x24588e[_0xfc589d(0x383)]=0x2ee1]=_0xfc589d(0x383),_0x24588e[_0x24588e[_0xfc589d(0x20b)]=0x2ee2]=_0xfc589d(0x20b),_0x24588e[_0x24588e['INVITE_CODE_REQUIRED']=0x2ee3]=_0xfc589d(0x148),_0x24588e[_0x24588e[_0xfc589d(0x1ba)]=0x2ee4]=_0xfc589d(0x1ba),_0x24588e[_0x24588e[_0xfc589d(0x14e)]=0x2ee5]=_0xfc589d(0x14e),_0x24588e[_0x24588e[_0xfc589d(0x1d0)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x24588e[_0x24588e[_0xfc589d(0x370)]=0x32ca]=_0xfc589d(0x370),_0x24588e[_0x24588e[_0xfc589d(0x157)]=0x32cb]=_0xfc589d(0x157),_0x24588e[_0x24588e['UNRECOGNIZED']=-0x1]=_0xfc589d(0x114),_0x24588e))(_0x29320b||{}),_0x4f568a=Object[_0xfc589d(0x333)],_0x3d3e4a=(_0x2769ed,_0x447217,_0x2a5489,_0x30baf9)=>{const _0x55fe19=_0xfc589d;for(var _0xa844ff=_0x30baf9>0x1?void 0x0:_0x30baf9?_0x4f568a(_0x447217,_0x2a5489):_0x447217,_0x13c392=_0x2769ed[_0x55fe19(0x200)]-0x1,_0x287b90;_0x13c392>=0x0;_0x13c392--)(_0x287b90=_0x2769ed[_0x13c392])&&(_0xa844ff=_0x287b90(_0xa844ff)||_0xa844ff);return _0xa844ff;},_0x5cf701=(_0x152664,_0x27f849)=>(_0x25e5fa,_0x570611)=>_0x27f849(_0x25e5fa,_0x570611,_0x152664);_0x67c957[_0xfc589d(0x132)]=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0x24131f,_0x5875af,_0x283a66){const _0x85c343=_0xfc589d;super(),this[_0x85c343(0x373)]=_0x24131f,this[_0x85c343(0x28b)]=_0x5875af,this[_0x85c343(0x2f3)]=_0x283a66;}async['runOnServer'](_0x3676c6,_0x34a9d6,_0x7cd8af,..._0x56250b){const _0x28aaa4=_0xfc589d;var _0x5241ff,_0x1d67aa,_0x37dc79,_0x21841b;const _0x20a8b9=this[_0x28aaa4(0x373)][_0x28aaa4(0x321)]();if(!_0x20a8b9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x720029=((_0x5241ff=this[_0x28aaa4(0x2f3)][_0x28aaa4(0x38c)](_0x5d9669[_0x28aaa4(0x24d)]))!=null?_0x5241ff:_0x5d9669[_0x28aaa4(0x167)])+'/'+_0x3676c6+_0x28aaa4(0x134)+_0x34a9d6,_0x33ff5f=new URL(window[_0x28aaa4(0x125)][_0x28aaa4(0x2ee)]),_0x4f61c7={'scriptId':_0x3676c6,'runId':(_0x1d67aa=_0x33ff5f['searchParams'][_0x28aaa4(0x1ed)](_0x28aaa4(0x191)))!=null?_0x1d67aa:'','function':_0x34a9d6,'unitId':_0x20a8b9['getUnitId'](),'argsOfFunction':JSON[_0x28aaa4(0x2d9)](_0x56250b),'invokeId':(_0x37dc79=_0x7cd8af[_0x28aaa4(0x1df)])!=null?_0x37dc79:'','executionId':(_0x21841b=_0x7cd8af[_0x28aaa4(0x2e7)])!=null?_0x21841b:''};try{const _0x2cb223=await this[_0x28aaa4(0x28b)][_0x28aaa4(0x11d)](_0x720029,{'body':_0x4f61c7});return _0x2cb223[_0x28aaa4(0x17b)][_0x28aaa4(0x1ef)]&&_0x2cb223['body'][_0x28aaa4(0x1ef)][_0x28aaa4(0x27b)]!==_0x29320b['OK']?_0x28aaa4(0x316):_0x2cb223[_0x28aaa4(0x17b)]['result'];}catch{return _0x28aaa4(0x316);}}},_0x67c957[_0xfc589d(0x132)]=_0x3d3e4a([_0x5cf701(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x5cf701(0x1,_0xdc78a3['Inject'](_0x277e3d['HTTPService'])),_0x5cf701(0x2,_0xdc78a3[_0xfc589d(0x27f)])],_0x67c957[_0xfc589d(0x132)]),_0x67c957['CollaborationStatusDisplay']=_0x54564d,_0x67c957[_0xfc589d(0x2a4)]=_0x180cbd,_0x67c957[_0xfc589d(0x36e)]=_0x3a1717,_0x67c957[_0xfc589d(0x154)]=_0x101620,_0x67c957[_0xfc589d(0x2ab)]=_0xfe9f6b,Object[_0xfc589d(0x21b)](_0x67c957,Symbol['toStringTag'],{'value':_0xfc589d(0x159)});}));
1
+ function _0x32fc(_0x459f2f,_0x51859d){const _0x11c3cc=_0x11c3();return _0x32fc=function(_0x32fc97,_0x190252){_0x32fc97=_0x32fc97-0x17e;let _0x2b788d=_0x11c3cc[_0x32fc97];return _0x2b788d;},_0x32fc(_0x459f2f,_0x51859d);}function _0x11c3(){const _0x45b257=['transformMutation','collaboration.single-unit.warning','saveImage','deepClone','dispose$','_lastPointer','reconnect','UniverSheetsUi','fillText','transformByState','getCoordByCell','HTTPService','selection','indexOf','@univerjs/engine-render','event$','_onRefRangeChange','loadUnit','setItem','handleInsertCol','getSheetId','override','values','IUIPartsService','UNAUTHENTICATED','react/jsx-runtime','switchMap','_commandService','clsx','onCommandExecuted','_themeService','m1Prime','LICENSE_MAX_UNITS_EXCEEDED','DependentOn','session.will-retry','DisposableCollection','1em','UniverEngineFormula','touchDependencies','attrs','_drawRectRange','_scene','deserializeRangeWithSheet','with','setStateCache','getCurrentSelections','_transformHistoryAndStateStack','DocIMEInputManagerService','unitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MUTATION','undoState','InsertRangeMoveRightCommandId','className','imageSourceType','exhaustSavingTask','getRangePointData','USER_NOT_INVITED_CODE','UniverSheets','onPointerEnter$','_docClipboardService','MOBILE_HAS_BEEN_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','next','registerDependencies','@univerjs-pro/collaboration-client','CLOSE_ROOM','_textBubble','extend','mapTo','CollaborationController','getRenderById','location','unshift','unsubscribe','UNIVER_SHEET','fillStyle','YUUMI_ASYNCIO_CANCELLED','rxjs','getSkeleton','debounce','@univerjs/core','forEach','UniverProCollaboration','INVALID_ARGUMENT','_cursorShapes','sessionStatus$','unitID','findNodePositionByCharIndex','handleInsertRangeMoveDown','trim','beginPath','TEXT_RANGE_LAYER_INDEX','runId','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','jiqing.500','entityInit$','transform','_updateLocalCursor','27UXhjHH','removeParam','pushState','transformIMECache','setTimeout','_refRangeService','NO_OTHER_CLIENTS_EDITING','restore','YUUMI_NO_CUBOID_FOR_QUESTION','ALREADY_EXISTS','_instanceService','_colorIndex','InsertColCommandId','TEXT','FromArray','color','isEditing','_context','UniverDrawing','ticket','_drawTextRange','search','WECHAT_HAS_BEEN_BOUND','JOIN_ROOM_FAILED','onLocalMutation','getTypeOfUnitDisposed$','measureText','INVALID_INVITE_CODE','fromEventSubject','WebSocketService','Subject','Injector','assignAColorForMemberID','PERMISSION_DENIED','_roomMembers$','_createSocketURL','_beforeCloseService','isActive','11558430YrDZlr','Disposable','_handleHover','send','UniverEngineRender','_cursorInfo$','unload','debounceTime','min','_collaborationController','getOffsetConfig','clearInterval','_saveCache','column','useObservable','_session','collabCursorState$','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','setAlpha','_eventUnsubscribe','jsx','IMessageService','_logService','getUnitId','requireSession','APPLY_DUPLICATED','INotificationService','_refreshCollabCursors','getMember','getOwnPropertySymbols','IImageIoService','unit','toRgbString','name','endRow','getValue','_docSkeletonManagerService','delete','split','WebBrowserSingleActiveUnitService','getUndoRedoMutationParamsCache','sessionTicket','_onCursorDelete','_transformService','focused$','getItem','replaceState','@univerjs/engine-formula','NOT_COLLAB','YUUMI_AI_RUN_FAILED','permission.content','@univerjs/rpc','ACTIVE_UNIT_EVENT_CHANNEL','COMPLETION_FINISHED','SheetsSelectionsService','LocaleService','getUnitStatus$','collabStatus.synced','isTransformMutationsWithChangesetSuccess','FETCH_MISS','_handleLeaveEvent','PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_revisionService','Shape','LOGIN_FAILED','transformMutationsWithChangeset','concat','range','then','RevisionService','UniverIcon','_heartbeatTimer','closePath','row','docStateChange$','getAncestorScale','NodePositionConvertToRectRange','disposeUnit','startColumn','post','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_colorAssignService','isArray','_backgroundColor','NOT_FOUND','[CollaborationDataLoaderController]','USERS_LEAVE','UNRECOGNIZED','SetWorksheetActivateCommand','from','_updateURLWithCurrentState','UniverDocs','Workbook','font','code','UnitStatus','setActiveRange','type','_setupSubUnitSync','_ensureSubject','lineTo','APPLY_NON_SEQUENTIAL_REVISION','application/json','@univerjs/sheets','_localeService','27187716SoZYQl','RemoveColCommandId','_collabCursorController','_initEntityListener','disableLocalCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','ENSURE_SNAPSHOT_EXECUTION','memberID','displayName','_httpService','SetTextSelectionsOperation','WebURLService','_updateCollabCursors','currentColor','save','EffectRefRangId','clearTimeout','call','throttleTime','SNAPSHOT_HAS_BEEN_REMOVED','IRenderManagerService','collaboration-client-ui.config','createSocket','SNAPSHOT_INVALID_SNAPSHOT','AWAITING','registerRefRange','saveTaskMap','univerjs-icon\x20univerjs-icon-','mutations','SYNCED','executionId','_collaborationUIEventService','getMergeData','cursorInfo$','getActiveSheet','_notificationService','@univerjs/network','_render','RegularPolygon','_docSyncEditingCollabCursorService','_hideTimer','size','@univerjs-pro/collaboration','_scheduleHeartbeat','origin','Failed','getFocusedUnit','InsertRangeMoveDownCommandId','idSuffix','getColorFromTheme','setShapeProps','11DxeOsX','none','max','_getSheetObject','useCallback','UNDEFINED','clipPath','ThemeService','_disabled','_docTransformSelectionsService','sheetID','colorChannel1','isTransformMutationFailure','_id','UniverCollaborationClientUIPlugin','CHANGESET_REVISION_CONFILICT','APPLY_REVISION_CONFILICT','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','createInstance','runRefRangeMutations','_entities','OTHER_CLIENT_EDITING','red.300','_init','CollaborationSocketService','20yDqLul','error','bottom','OTHER_CLIENTS_EDITING','history','ISocketService','transformSelections','permission.title','_handleJoinEvent','addHandlerCallback','moveTo','init','push','setParam','black','rxjs/operators','operators','blue.400','_entityInit$','generateRandomId','getActiveRange','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','_getSessionTicket','_registerDependencies','uni.network.url-service','defs','SUBMIT_CHANGESET_TIMEOUT','YUUMI_RATE_OVER_LIMIT','defIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onMouseMove','getConfig','_urlService','urlChange$','debug','BehaviorSubject','makeDirty','exports','RefRangeService','getCurrent','editingUnit','ITransformService','_getMergeRange','_startSheetCollabCursor','_removeClearOtherTimer','_unitOnClients','EMAIL_HAS_BEEN_BOUND','apply','TRANSFORM_CHANGE_OBSERVABLE_TYPE','hide','connectInjector','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitAdded$','runOnServer','INVITE_CODE_REQUIRED','RichTextEditingMutation','_labelPosition','ranges','random','_updateSubUnitFromURLParams','svg','UPDATE_CURSOR','DOC_RANGE_TYPE','toStringTag','_cachedData','transformStateCache','amd','top','fill','triggerDblclick','_anchor','getCurrentRevOfUnit','ColorKit','SessionStatus','IRemoteInstanceService','toDisposable','React','CONFLICT','_toggleOnline','@univerjs/docs','map','_toggleOffline','_saveTaskMap','combineLatest','updateOfflineData','_getScale','hasOwnProperty','storage','function','handleIRemoveRow','collab-rect-range-','getColor','redoState','_handleEvent','MoveRangeCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','13pcSysu','prototype','icon','_cursor','COLORS','INVITE_CODE_ALREADY_BOUND','disposeWithMe','collaboration.closeRoom','UniverDesign','onPointerLeave$','add','Error','drawWith','OnLineSingle','setConfig','IDocClipboardService','addObject','SheetCollabCursorShape','APPLY_REJECT','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','LOCAL_CACHE_INTERVAL','276126atlbzt','loadOfflineData','getVpScrollXYInfoByPosToVp','_uiPartsService','CONNECTOR_DATA_TOO_LARGE','_imageIoService','SetSelectionsOperation','newValue','IUniverInstanceService','_assignedColors','off-line-single','...','on-line-single','_setupBeforeClosingHandler','119qvmdFV','_sheetSkeletonManagerService','entries','getRelativeToViewportCoord','_color','MemberService','_injector','getOwnPropertyDescriptor','wsSessionTicketUrl','LICENSE_DISTRO_REJECTED','substring','IConfigService','round','sheetId','set','_localStorageService','_univerInstanceService','xlink:href','merge','MessageType','_renderManagerService','_initCommandExecutedListener','children','_collabSessionService','_docTransformIMECacheService','searchParams','registerComponent','_configService','UniverProCollaborationClientUi','ILogService','get','arc','asObservable','RxDisposable','data','defineProperty','has','filter','params','DocStateChangeManagerService','getSheetBySheetId','InsertRowCommandId','eventID','string','actions','UniverCore','Warning','_status$','createElement','assign','_transformUndoRedoStack','_clearOtherTimers','text','1232986hDtFuH','INVITE_CODE_HAS_BEEN_UES','subscribe','_handleHeartbeatEvent','CollaborationUIEventId','/run/','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','labelPosition','syncEditingCollabCursor','collabStatus.offline','pipe','_selfUnitIDs','_scheduleClearOtherTimer','_memberService','length','evenodd','1073065MVcLeq','show','BuiltInUIPart','_dataLoaderService','TOO_MANY_REQUESTS','handleDeleteRangeMoveUp','toString','2227929UEOiCI','BrowserCollaborationSocketService','DataLoaderService','getViewport','useDependency','_unitStatus','_config','body','_shapes','@univerjs/drawing','onTransformChange$','some','_onCursorUpdate','UniverDocsUi','_messageService','onStarting','collab-client.tooltip.reconnect','DocSelectionManagerService','roomMembers','tag','SOCKET_FAILED','_initStatusComponent','UniverInstanceType','1154728rfZjtg','transformRemoteChangeset','_transformPreviousActiveRange','_initResize','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','subunit','_hover','Tools','getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','onRendered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','registerRenderModule','Inject','YUUMI_UNABLE_LOAD_URL','subscribeEvent','parse','UniverProCollaborationClient','_removeCollabCursors','engine','fromEvent','getCollabEntity$','serializeRangeWithSheet','RemoveRowCommandId','setUndoRedoMutationParamsCache','ONLINE','getStateCache','roomMembers$','off-line-single_clip0_910_343','whenReady','_initEvent','@univerjs/sheets-ui','textRanges','_collabCursorState$','currentTheme$','_docStateChangeManagerService','Rect','_name','RemoteUniscriptService','dispose','enableLocalCache','mask','_send','UNIVER_DOC','DeleteRangeMoveUpCommandId','_doCreateSocket','_hovered','SheetSkeletonManagerService','collabStatus.conflict','path','complete','#fff','addObjects','executeCommand','height','_range','getLocalCacheKey','univer-flex\x20univer-items-center','_registerRenderDependencies','getParam','CollaborationEvent','_startDocCollabCursor','takeUntil','createIdentifier','ICommandService','href','forwardRef','Unknown\x20user','CollaborationDataLoaderController','collaboration-client.offline-data-not-saved','contains','_localCacheService','doc.mutation.rich-text-editing','cursorInfo','div','_draw','_anchorDot','_syncEditingCollabCursorService','getDocRanges','@univerjs/ui','replace','ISnapshotServerService','OffLineSingle','resize','_initDependencies','APPLY_PERMISSION_DENIED','_scheduleSaving','DocSkeletonManagerService','addClipboardHook','_cursors','selections','_getAnchorBounding','CollaborationStatus','width','0\x200\x2017\x2016','getCollabCursors$','_online','collabStatus.notCollab','session.connection-failed','currentSkeleton$','#FFF','url(#$1','1YJFPBw','onPointerMove$','mergeOverrideWithDependencies','_docTransformStateCacheService','M0\x200H16V16H0z','_getSaveTimeout','handleInsertRangeMoveRight'];_0x11c3=function(){return _0x45b257;};return _0x11c3();}(function(_0x322f4b,_0x466d0b){const _0x2f85bd=_0x32fc,_0x58d6f9=_0x322f4b();while(!![]){try{const _0x2bc3a6=parseInt(_0x2f85bd(0x312))/0x1*(-parseInt(_0x2f85bd(0x27d))/0x2)+-parseInt(_0x2f85bd(0x294))/0x3+-parseInt(_0x2f85bd(0x1c3))/0x4*(parseInt(_0x2f85bd(0x28d))/0x5)+parseInt(_0x2f85bd(0x23a))/0x6*(-parseInt(_0x2f85bd(0x248))/0x7)+-parseInt(_0x2f85bd(0x2ab))/0x8*(-parseInt(_0x2f85bd(0x37d))/0x9)+-parseInt(_0x2f85bd(0x3a3))/0xa*(-parseInt(_0x2f85bd(0x1aa))/0xb)+-parseInt(_0x2f85bd(0x40f))/0xc*(-parseInt(_0x2f85bd(0x224))/0xd);if(_0x2bc3a6===_0x466d0b)break;else _0x58d6f9['push'](_0x58d6f9['shift']());}catch(_0x5d61dc){_0x58d6f9['push'](_0x58d6f9['shift']());}}}(_0x11c3,0x9c3cf),function(_0x2304c2,_0x5fbc90){const _0x235006=_0x32fc;typeof exports=='object'&&typeof module<'u'?_0x5fbc90(exports,require(_0x235006(0x35a)),require(_0x235006(0x36a)),require('@univerjs/engine-render'),require(_0x235006(0x19b)),require('@univerjs/docs-ui'),require(_0x235006(0x29d)),require('rxjs'),require(_0x235006(0x213)),require(_0x235006(0x1a1)),require(_0x235006(0x3d3)),require(_0x235006(0x40d)),require('rxjs/operators'),require(_0x235006(0x2cb)),require(_0x235006(0x332)),require(_0x235006(0x2fb)),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x235006(0x21c)&&define[_0x235006(0x206)]?define([_0x235006(0x1e9),_0x235006(0x35a),_0x235006(0x36a),_0x235006(0x327),_0x235006(0x19b),'@univerjs/docs-ui',_0x235006(0x29d),_0x235006(0x367),_0x235006(0x213),_0x235006(0x1a1),'@univerjs/engine-formula',_0x235006(0x40d),_0x235006(0x1d2),_0x235006(0x2cb),_0x235006(0x332),_0x235006(0x2fb),'@univerjs/design','react',_0x235006(0x3d7)],_0x5fbc90):(_0x2304c2=typeof globalThis<'u'?globalThis:_0x2304c2||self,_0x5fbc90(_0x2304c2[_0x235006(0x264)]={},_0x2304c2[_0x235006(0x2bd)],_0x2304c2[_0x235006(0x275)],_0x2304c2[_0x235006(0x3a7)],_0x2304c2['UniverNetwork'],_0x2304c2[_0x235006(0x2a1)],_0x2304c2[_0x235006(0x38f)],_0x2304c2[_0x235006(0x367)],_0x2304c2[_0x235006(0x401)],_0x2304c2[_0x235006(0x36c)],_0x2304c2[_0x235006(0x33e)],_0x2304c2[_0x235006(0x353)],_0x2304c2[_0x235006(0x367)][_0x235006(0x1d3)],_0x2304c2[_0x235006(0x320)],_0x2304c2[_0x235006(0x210)],_0x2304c2['UniverUi'],_0x2304c2[_0x235006(0x22c)],_0x2304c2[_0x235006(0x210)],_0x2304c2['UniverRpc']));}(this,function(_0x243df5,_0x5bd788,_0x9ac8b8,_0x127f35,_0x1221cf,_0x5888c2,_0x81b286,_0x42f3f5,_0x475cdc,_0x559617,_0x53b0e1,_0x3bf02d,_0x5e4788,_0x398864,_0x1a281b,_0x47fca6,_0x3ccbfd,_0xf2d60f,_0x1d5b11){'use strict';const _0x404ce7=_0x32fc;var _0x2ef9b4=Object['defineProperty'],_0x2c4efe=(_0x518c6b,_0x5d0567,_0x54316d)=>_0x5d0567 in _0x518c6b?_0x2ef9b4(_0x518c6b,_0x5d0567,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54316d}):_0x518c6b[_0x5d0567]=_0x54316d,_0x4bb0b3=(_0x3685a0,_0x95cb74,_0x29d8a5)=>_0x2c4efe(_0x3685a0,typeof _0x95cb74!='symbol'?_0x95cb74+'':_0x95cb74,_0x29d8a5),_0x7fe159=Object[_0x404ce7(0x24f)],_0x34320b=(_0x5c241e,_0x1ddec9,_0x78ead4,_0x1b7c93)=>{const _0x2ece06=_0x404ce7;for(var _0x55d20f=_0x1b7c93>0x1?void 0x0:_0x1b7c93?_0x7fe159(_0x1ddec9,_0x78ead4):_0x1ddec9,_0x1197d7=_0x5c241e[_0x2ece06(0x28b)]-0x1,_0x7b17e3;_0x1197d7>=0x0;_0x1197d7--)(_0x7b17e3=_0x5c241e[_0x1197d7])&&(_0x55d20f=_0x7b17e3(_0x55d20f)||_0x55d20f);return _0x55d20f;},_0x197c43=(_0x29d6a5,_0x59f148)=>(_0x22798d,_0x205c8a)=>_0x59f148(_0x22798d,_0x205c8a,_0x29d6a5);let _0x4bd81c=class extends _0x9ac8b8[_0x404ce7(0x269)]{constructor(_0x4438b0,_0x3e938d){const _0x30cbae=_0x404ce7;super(),this[_0x30cbae(0x355)]=_0x4438b0,this[_0x30cbae(0x23f)]=_0x3e938d,this[_0x30cbae(0x1c1)]();}[_0x404ce7(0x1c1)](){const _0x4b6a66=_0x404ce7,_0x2726a6=this;this[_0x4b6a66(0x22a)](this[_0x4b6a66(0x355)][_0x4b6a66(0x304)]({'onBeforePasteImage':async _0x1cedd6=>{const _0x29eb71=_0x4b6a66,_0x2b70d4=await _0x2726a6[_0x29eb71(0x23f)][_0x29eb71(0x31b)](_0x1cedd6);return _0x2b70d4?{'source':_0x2b70d4['source'],'imageSourceType':_0x2b70d4[_0x29eb71(0x34f)]}:null;}}));}};_0x4bd81c=_0x34320b([_0x197c43(0x0,_0x5888c2[_0x404ce7(0x233)]),_0x197c43(0x1,_0x81b286[_0x404ce7(0x3c2)])],_0x4bd81c);const _0x154716=['purple.300',_0x404ce7(0x379),'green.600',_0x404ce7(0x1c0),_0x404ce7(0x1d4),'yellow.400'];class _0x2d8d96 extends _0x9ac8b8['Disposable']{constructor(){const _0x5d7433=_0x404ce7;super(...arguments),_0x4bb0b3(this,'_assignedColors',new Map()),_0x4bb0b3(this,_0x5d7433(0x388),0x0);}[_0x404ce7(0x39d)](_0x4e92f9){const _0x229fde=_0x404ce7;if(this[_0x229fde(0x243)][_0x229fde(0x26c)](_0x4e92f9))return this[_0x229fde(0x243)][_0x229fde(0x266)](_0x4e92f9);const _0x357f7d=_0x154716[this[_0x229fde(0x388)]];return this[_0x229fde(0x388)]=(this[_0x229fde(0x388)]+0x1)%_0x154716[_0x229fde(0x28b)],this[_0x229fde(0x243)][_0x229fde(0x256)](_0x4e92f9,_0x357f7d),_0x357f7d;}}function _0x492264(_0x3d2049){const _0x2e2fbf=_0x404ce7;let _0x27ffe1='';for(const _0x4b30bd of _0x3d2049){const {startOffset:_0x58f1a6,endOffset:_0x10f4d0,isActive:_0x50b176,rangeType:_0x3e08d5,segmentId:_0x14ea03,segmentPage:_0x180068}=_0x4b30bd;_0x27ffe1[_0x2e2fbf(0x28b)]&&(_0x27ffe1+=','),_0x27ffe1+=_0x58f1a6+':'+_0x10f4d0+':'+(_0x50b176?'1':'0')+':'+_0x3e08d5+':'+_0x14ea03+':'+_0x180068;}return _0x27ffe1;}function _0x232c59(_0x3e77bd){const _0x5e1898=_0x404ce7,_0x5b3499=_0x3e77bd[_0x5e1898(0x3ca)](','),_0x58e185=[];for(const _0x2cf46d of _0x5b3499){const [_0x4f63e1,_0x5d7bfb,_0x3be36f,_0x150302,_0x268588,_0x21f252]=_0x2cf46d['split'](':');_0x58e185[_0x5e1898(0x1cf)]({'startOffset':Number(_0x4f63e1),'endOffset':Number(_0x5d7bfb),'collapsed':_0x4f63e1===_0x5d7bfb,'isActive':_0x3be36f==='1','rangeType':_0x150302===_0x9ac8b8[_0x5e1898(0x202)][_0x5e1898(0x38a)]?_0x9ac8b8[_0x5e1898(0x202)][_0x5e1898(0x38a)]:_0x9ac8b8[_0x5e1898(0x202)]['RECT'],'segmentId':typeof _0x268588=='string'?String(_0x268588):'','segmentPage':Number(_0x21f252!=null?_0x21f252:-0x1)});}return _0x58e185[_0x5e1898(0x29f)](_0x590eff=>_0x590eff[_0x5e1898(0x3a2)])||(_0x58e185[0x0]['isActive']=!0x0),_0x58e185;}class _0x211350 extends _0x9ac8b8['RxDisposable']{constructor(){const _0x11e92a=_0x404ce7;super(...arguments),_0x4bb0b3(this,_0x11e92a(0x2cd),new _0x42f3f5[(_0x11e92a(0x1e7))](null)),_0x4bb0b3(this,_0x11e92a(0x3b3),this[_0x11e92a(0x2cd)][_0x11e92a(0x268)]());}[_0x404ce7(0x285)](_0x1def8e){const _0x46c0dc=_0x404ce7,{unitID:_0x4abe18,memberID:_0x8ff91d,textRanges:_0x5dbf0b}=_0x1def8e,_0x2563ef=_0x492264(_0x5dbf0b);if(_0x2563ef==='')return;const _0x349dec={'unitID':_0x4abe18,'memberID':_0x8ff91d,'selection':_0x2563ef};this['_collabCursorState$'][_0x46c0dc(0x358)](_0x349dec);}}var _0x1cfccb=Object['getOwnPropertyDescriptor'],_0x1634fb=(_0x267a92,_0x5729c7,_0x523d0c,_0x187a4f)=>{const _0xf7bdd4=_0x404ce7;for(var _0x3835de=_0x187a4f>0x1?void 0x0:_0x187a4f?_0x1cfccb(_0x5729c7,_0x523d0c):_0x5729c7,_0x322406=_0x267a92[_0xf7bdd4(0x28b)]-0x1,_0x3776c2;_0x322406>=0x0;_0x322406--)(_0x3776c2=_0x267a92[_0x322406])&&(_0x3835de=_0x3776c2(_0x3835de)||_0x3835de);return _0x3835de;},_0x93efeb=(_0x34032b,_0x1a23c5)=>(_0x20a786,_0x474ee6)=>_0x1a23c5(_0x20a786,_0x474ee6,_0x34032b);const _0x4fbcd4=0x12c,_0x5acbad=0x64;let _0x505f56=class extends _0x9ac8b8['RxDisposable']{constructor(_0x13d0df,_0x2c3f03,_0x59a48c,_0x264038,_0x3474e5,_0x329e34,_0x2c2763,_0x159e73,_0x53e986){const _0x316b50=_0x404ce7;super(),_0x4bb0b3(this,_0x316b50(0x30c),!0x1),_0x4bb0b3(this,_0x316b50(0x1c1),!0x1),_0x4bb0b3(this,_0x316b50(0x3a8),new _0x42f3f5['BehaviorSubject'](new Map())),_0x4bb0b3(this,_0x316b50(0x198),this['_cursorInfo$'][_0x316b50(0x268)]()),_0x4bb0b3(this,'_roomMembers$',new _0x42f3f5[(_0x316b50(0x1e7))]([])),_0x4bb0b3(this,_0x316b50(0x2c7),this[_0x316b50(0x39f)][_0x316b50(0x287)](_0x42f3f5[_0x316b50(0x3aa)](_0x4fbcd4))),_0x4bb0b3(this,_0x316b50(0x37c),_0x9ac8b8[_0x316b50(0x369)](_0x5359e5=>{const _0xaf572f=_0x316b50,_0x2a7943={'eventID':_0x559617[_0xaf572f(0x2e8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xaf572f(0x370)],'memberID':this[_0xaf572f(0x3b2)]['getMemberID'](),'selection':_0x492264(_0x5359e5)}};this['_session']['send'](_0x2a7943,this[_0xaf572f(0x370)]);},_0x5acbad)),(this['unitID']=_0x13d0df,this[_0x316b50(0x3b2)]=_0x2c3f03,this[_0x316b50(0x24e)]=_0x59a48c,this[_0x316b50(0x3f7)]=_0x264038,this[_0x316b50(0x28a)]=_0x3474e5,this[_0x316b50(0x2f9)]=_0x329e34,this[_0x316b50(0x3cf)]=_0x2c2763,this[_0x316b50(0x258)]=_0x159e73,this['_commandService']=_0x53e986);}get[_0x404ce7(0x2f5)](){const _0x39f989=_0x404ce7;return this[_0x39f989(0x3a8)]['getValue']();}get[_0x404ce7(0x2a6)](){const _0x7f8ca6=_0x404ce7;return this[_0x7f8ca6(0x39f)][_0x7f8ca6(0x3c7)]();}[_0x404ce7(0x2d3)](){const _0xc181=_0x404ce7;super[_0xc181(0x2d3)](),this[_0xc181(0x3a8)][_0xc181(0x358)](new Map()),this[_0xc181(0x3a8)]['complete'](),this[_0xc181(0x39f)]['next']([]),this[_0xc181(0x39f)][_0xc181(0x2de)]();}[_0x404ce7(0x1ce)](){const _0xa62aea=_0x404ce7;this[_0xa62aea(0x1c1)]||(this['_init']=!0x0,this[_0xa62aea(0x3b2)][_0xa62aea(0x36f)]['pipe'](_0x42f3f5[_0xa62aea(0x2ea)](this[_0xa62aea(0x31d)]))[_0xa62aea(0x27f)](_0x2814d7=>{const _0x3708e0=_0xa62aea;_0x2814d7===_0x5bd788['SessionStatus'][_0x3708e0(0x2c5)]?this[_0x3708e0(0x212)]():this[_0x3708e0(0x215)]();}),this[_0xa62aea(0x3b2)][_0xa62aea(0x328)][_0xa62aea(0x287)](_0x42f3f5['takeUntil'](this[_0xa62aea(0x31d)]))[_0xa62aea(0x27f)](_0x4bb8d2=>{const _0xd0e321=_0xa62aea,_0x3b7eb5=_0x4bb8d2['eventID'];_0x3b7eb5===_0x559617[_0xd0e321(0x2e8)][_0xd0e321(0x201)]&&this[_0xd0e321(0x2a0)](_0x4bb8d2),_0x3b7eb5===_0x559617[_0xd0e321(0x2e8)][_0xd0e321(0x3fc)]&&this[_0xd0e321(0x3ce)](_0x4bb8d2);}),this[_0xa62aea(0x22a)](this[_0xa62aea(0x334)][_0xa62aea(0x336)](_0x12a5f4=>{const _0x293db5=_0xa62aea,_0x17e35f=_0x12a5f4['params'];_0x17e35f!=null&&this[_0x293db5(0x30c)]&&_0x12a5f4['id']===_0x475cdc[_0x293db5(0x181)]['id']&&_0x17e35f[_0x293db5(0x349)]===this[_0x293db5(0x370)]&&_0x17e35f[_0x293db5(0x38d)]===!0x1&&_0x17e35f[_0x293db5(0x1fd)]['length']>0x0&&this[_0x293db5(0x37c)](_0x17e35f[_0x293db5(0x1fd)]);})),this[_0xa62aea(0x2f9)]['collabCursorState$'][_0xa62aea(0x287)](_0x42f3f5[_0xa62aea(0x2ea)](this[_0xa62aea(0x31d)]))['subscribe'](_0x3e1b2a=>{const _0x4d9997=_0xa62aea;if((_0x3e1b2a==null?void 0x0:_0x3e1b2a['unitID'])!==this['unitID'])return;const _0x120741={'eventID':_0x559617[_0x4d9997(0x2e8)][_0x4d9997(0x201)],'data':_0x3e1b2a};this[_0x4d9997(0x2a0)](_0x120741);}),this[_0xa62aea(0x22a)](this[_0xa62aea(0x334)][_0xa62aea(0x336)](_0x325eaa=>{const _0x384ecb=_0xa62aea;if(_0x325eaa[_0x384ecb(0x26e)]==null)return;const _0x3912b7=_0x325eaa[_0x384ecb(0x26e)];if(_0x325eaa['id']!==_0x475cdc[_0x384ecb(0x1fb)]['id']||_0x3912b7[_0x384ecb(0x349)]!==this[_0x384ecb(0x370)])return;const _0x28c370={'id':_0x384ecb(0x2f4),'params':_0x3912b7},_0x3672a4=this['cursorInfo'];for(const [_0x3b84e1,_0x3e88da]of _0x3672a4){const _0x1e4670={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x384ecb(0x370)],'actions':null,'textRanges':_0x3e88da[_0x384ecb(0x1fd)]}},_0x492659=this[_0x384ecb(0x3cf)][_0x384ecb(0x319)](_0x28c370,_0x1e4670,!0x1);if(_0x559617[_0x384ecb(0x1b6)](_0x492659))throw _0x492659[_0x384ecb(0x1c4)];_0x3672a4[_0x384ecb(0x256)](_0x3b84e1,{..._0x3e88da,'ranges':_0x492659['m2Prime'][_0x384ecb(0x26e)][_0x384ecb(0x2cc)]});}queueMicrotask(()=>{const _0x136bb9=_0x384ecb;this['_cursorInfo$'][_0x136bb9(0x358)](_0x3672a4);});})));}['_onCursorUpdate'](_0x50b272){const _0x40e155=_0x404ce7;var _0xe17268,_0x3ba0a4;const {memberID:_0x357cf4,selection:_0xabd8f}=_0x50b272[_0x40e155(0x26a)],_0x1ab267=_0x232c59(_0xabd8f),_0x42be3c=(_0x3ba0a4=(_0xe17268=this[_0x40e155(0x28a)][_0x40e155(0x3c0)](this[_0x40e155(0x370)],_0x357cf4))==null?void 0x0:_0xe17268[_0x40e155(0x3c5)])!=null?_0x3ba0a4:_0x40e155(0x2ef),_0x4ee73b={'color':this['_colorAssignService'][_0x40e155(0x39d)](_0x357cf4),'name':_0x42be3c,'ranges':_0x1ab267},_0xe6104e=this[_0x40e155(0x2f5)];_0xe6104e[_0x40e155(0x256)](_0x357cf4,_0x4ee73b),this[_0x40e155(0x3a8)][_0x40e155(0x358)](_0xe6104e);}[_0x404ce7(0x3ce)](_0x57bc02){const _0x101c73=_0x404ce7,{memberID:_0x23e52e}=_0x57bc02[_0x101c73(0x26a)],_0x17d9d5=this[_0x101c73(0x2f5)];_0x17d9d5[_0x101c73(0x3c9)](_0x23e52e),this['_cursorInfo$']['next'](_0x17d9d5);}[_0x404ce7(0x212)](){const _0x227e99=_0x404ce7;var _0x28846d;if(this['_online']=!0x0,((_0x28846d=this[_0x227e99(0x258)][_0x227e99(0x1a5)]())==null?void 0x0:_0x28846d[_0x227e99(0x3bb)]())!==this[_0x227e99(0x370)])return;const _0x750c8f=this['_injector'][_0x227e99(0x266)](_0x475cdc[_0x227e99(0x2a5)])['getDocRanges']();Array['isArray'](_0x750c8f)&&_0x750c8f[_0x227e99(0x28b)]>0x0&&this[_0x227e99(0x37c)](_0x750c8f);}[_0x404ce7(0x215)](){const _0x224a38=_0x404ce7;this[_0x224a38(0x30c)]=!0x1;}};_0x505f56=_0x1634fb([_0x93efeb(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8['Injector'])),_0x93efeb(0x3,_0x9ac8b8['Inject'](_0x2d8d96)),_0x93efeb(0x4,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5bd788[_0x404ce7(0x24d)])),_0x93efeb(0x5,_0x9ac8b8[_0x404ce7(0x2b9)](_0x211350)),_0x93efeb(0x6,_0x559617[_0x404ce7(0x1ed)]),_0x93efeb(0x7,_0x9ac8b8[_0x404ce7(0x242)]),_0x93efeb(0x8,_0x9ac8b8['ICommandService'])],_0x505f56);var _0x27a2bb=Object[_0x404ce7(0x24f)],_0x43beec=(_0x2d40fb,_0x2fd0bb,_0x306a4e,_0x378918)=>{for(var _0xd94ccf=_0x378918>0x1?void 0x0:_0x378918?_0x27a2bb(_0x2fd0bb,_0x306a4e):_0x2fd0bb,_0x36d415=_0x2d40fb['length']-0x1,_0x5c6fe0;_0x36d415>=0x0;_0x36d415--)(_0x5c6fe0=_0x2d40fb[_0x36d415])&&(_0xd94ccf=_0x5c6fe0(_0xd94ccf)||_0xd94ccf);return _0xd94ccf;},_0x50e78c=(_0x326b9f,_0x3bf3d7)=>(_0x3dfa5c,_0x23167d)=>_0x3bf3d7(_0x3dfa5c,_0x23167d,_0x326b9f);const _0x77aa2=0x12c,_0x3d74d9=0x64,_0x552f04=()=>{let _0x51194f=[],_0x3b9ef2=!0x1;return _0x18bac5=>{_0x51194f['push'](_0x18bac5),_0x3b9ef2||(_0x3b9ef2=!0x0,setTimeout(()=>{_0x51194f['forEach'](_0x5f086c=>_0x5f086c()),_0x51194f=[],_0x3b9ef2=!0x1;}));};};let _0x5dcf1d=class extends _0x9ac8b8[_0x404ce7(0x269)]{constructor(_0x25dffd,_0x5f0608,_0x1cc3d3,_0x134354,_0x5e6833,_0x5c08ca,_0x994ccc,_0x599403){const _0x35dfeb=_0x404ce7;super(),_0x4bb0b3(this,_0x35dfeb(0x30c),!0x1),_0x4bb0b3(this,'_init',!0x1),_0x4bb0b3(this,_0x35dfeb(0x3a8),new _0x42f3f5[(_0x35dfeb(0x1e7))](new Map())),_0x4bb0b3(this,_0x35dfeb(0x198),this[_0x35dfeb(0x3a8)][_0x35dfeb(0x268)]()),_0x4bb0b3(this,_0x35dfeb(0x39f),new _0x42f3f5[(_0x35dfeb(0x1e7))]([])),_0x4bb0b3(this,'roomMembers$',this[_0x35dfeb(0x39f)][_0x35dfeb(0x287)](_0x42f3f5[_0x35dfeb(0x3aa)](_0x77aa2))),_0x4bb0b3(this,_0x35dfeb(0x37c),_0x9ac8b8[_0x35dfeb(0x369)]((_0x19a79a,_0x59774a)=>{const _0x3a3b74=_0x35dfeb,_0x18cc24={'eventID':_0x559617[_0x3a3b74(0x2e8)][_0x3a3b74(0x201)],'data':{'unitID':this[_0x3a3b74(0x370)],'memberID':this[_0x3a3b74(0x3b2)]['getMemberID'](),'selection':_0x53b0e1[_0x3a3b74(0x2c2)](_0x19a79a,_0x59774a[_0x3a3b74(0x3e8)])}};this['_session'][_0x3a3b74(0x3a6)](_0x18cc24,this[_0x3a3b74(0x370)]);},_0x3d74d9)),(this[_0x35dfeb(0x370)]=_0x25dffd,this[_0x35dfeb(0x3b2)]=_0x5f0608,this[_0x35dfeb(0x24e)]=_0x1cc3d3,this[_0x35dfeb(0x3f7)]=_0x134354,this[_0x35dfeb(0x28a)]=_0x5e6833,this[_0x35dfeb(0x258)]=_0x5c08ca,this[_0x35dfeb(0x334)]=_0x994ccc,this[_0x35dfeb(0x382)]=_0x599403);}get[_0x404ce7(0x2f5)](){const _0x5f4fa2=_0x404ce7;return this[_0x5f4fa2(0x3a8)][_0x5f4fa2(0x3c7)]();}get[_0x404ce7(0x2a6)](){const _0x25f926=_0x404ce7;return this[_0x25f926(0x39f)][_0x25f926(0x3c7)]();}[_0x404ce7(0x2d3)](){const _0x16a225=_0x404ce7;super['dispose'](),this[_0x16a225(0x3a8)]['next'](new Map()),this['_cursorInfo$'][_0x16a225(0x2de)](),this[_0x16a225(0x39f)][_0x16a225(0x358)]([]),this[_0x16a225(0x39f)][_0x16a225(0x2de)]();}[_0x404ce7(0x1ce)](){const _0x2cec92=_0x404ce7;this[_0x2cec92(0x1c1)]||(this['_init']=!0x0,this[_0x2cec92(0x3b2)]['sessionStatus$'][_0x2cec92(0x287)](_0x42f3f5['takeUntil'](this[_0x2cec92(0x31d)]))[_0x2cec92(0x27f)](_0x17e3a8=>{const _0x275fa3=_0x2cec92;_0x17e3a8===_0x5bd788[_0x275fa3(0x20d)][_0x275fa3(0x2c5)]?this[_0x275fa3(0x212)]():this[_0x275fa3(0x215)]();}),this[_0x2cec92(0x3b2)][_0x2cec92(0x328)][_0x2cec92(0x287)](_0x42f3f5[_0x2cec92(0x2ea)](this['dispose$']))['subscribe'](_0x1ac423=>{const _0x3f958b=_0x2cec92,_0x1c8767=_0x1ac423[_0x3f958b(0x272)];_0x1c8767===_0x559617[_0x3f958b(0x2e8)]['UPDATE_CURSOR']&&this[_0x3f958b(0x2a0)](_0x1ac423),_0x1c8767===_0x559617[_0x3f958b(0x2e8)]['USERS_LEAVE']&&this[_0x3f958b(0x3ce)](_0x1ac423);}),this[_0x2cec92(0x329)](),this[_0x2cec92(0x22a)](this[_0x2cec92(0x334)][_0x2cec92(0x336)](_0x2853b3=>{const _0x6359e4=_0x2cec92;if(this[_0x6359e4(0x30c)]&&_0x2853b3['id']===_0x3bf02d[_0x6359e4(0x240)]['id']&&_0x2853b3[_0x6359e4(0x26e)]['unitId']===this['unitID']){const _0x2f43e6=_0x2853b3[_0x6359e4(0x26e)];this['_updateLocalCursor'](_0x2f43e6['subUnitId'],_0x2f43e6[_0x6359e4(0x306)][0x0]);}})));}['_onCursorUpdate'](_0x513722){const _0x160ea1=_0x404ce7;var _0x6e47e4,_0x11a7a8;const {memberID:_0xc8437a,selection:_0x36649c}=_0x513722[_0x160ea1(0x26a)],{sheetName:_0x12b145,range:_0x165222}=_0x53b0e1[_0x160ea1(0x343)](_0x36649c),_0x543122={'name':(_0x11a7a8=(_0x6e47e4=this[_0x160ea1(0x28a)][_0x160ea1(0x3c0)](this['unitID'],_0xc8437a))==null?void 0x0:_0x6e47e4['name'])!=null?_0x11a7a8:_0x160ea1(0x2ef),'range':this[_0x160ea1(0x1ee)](_0x12b145,_0x165222),'sheetID':_0x12b145,'color':this['_colorAssignService'][_0x160ea1(0x39d)](_0xc8437a),'selection':_0x36649c},_0x87fe21=this[_0x160ea1(0x2f5)];_0x87fe21[_0x160ea1(0x256)](_0xc8437a,_0x543122),this[_0x160ea1(0x3a8)][_0x160ea1(0x358)](_0x87fe21);}[_0x404ce7(0x3ce)](_0x13ec9b){const _0x3ff96c=_0x404ce7,{memberID:_0x44d876}=_0x13ec9b[_0x3ff96c(0x26a)],_0x17213b=this[_0x3ff96c(0x2f5)];_0x17213b[_0x3ff96c(0x3c9)](_0x44d876),this['_cursorInfo$']['next'](_0x17213b);}[_0x404ce7(0x1ee)](_0x2be6e2,_0x237a29){const _0x45ccd4=_0x404ce7;var _0x10ca57,_0x57981b;const _0x361318=(_0x57981b=(_0x10ca57=this['_univerInstanceService'][_0x45ccd4(0x3b5)](this[_0x45ccd4(0x370)]))==null?void 0x0:_0x10ca57[_0x45ccd4(0x270)](_0x2be6e2))==null?void 0x0:_0x57981b[_0x45ccd4(0x197)]();return(_0x361318==null?void 0x0:_0x361318['find'](_0x2cfcf2=>_0x9ac8b8['Rectangle'][_0x45ccd4(0x2f2)](_0x2cfcf2,_0x237a29)))||_0x237a29;}[_0x404ce7(0x329)](){const _0x15ab81=_0x404ce7,_0x3412fc=new _0x9ac8b8[(_0x15ab81(0x33c))](),_0x1e0e30=_0x552f04(),_0x1b608b=()=>{const _0x15e422=_0x15ab81;_0x3412fc[_0x15e422(0x2d3)]();const _0x5ba029=(_0x149b27,_0x4c2c61,_0x1725e9,_0x2a7b3f)=>{const _0x17637c=_0x15e422;let _0x276f63=[];switch(_0x149b27['id']){case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x3f5)]:{_0x276f63=_0x3bf02d['handleDeleteRangeMoveLeft'](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d['EffectRefRangId'][_0x17637c(0x2d8)]:{_0x276f63=_0x3bf02d[_0x17637c(0x292)](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x389)]:{_0x276f63=_0x3bf02d[_0x17637c(0x32c)](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x1a6)]:{_0x276f63=_0x3bf02d[_0x17637c(0x372)](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x34d)]:{_0x276f63=_0x3bf02d[_0x17637c(0x318)](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x271)]:{_0x276f63=_0x3bf02d['handleInsertRow'](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d['EffectRefRangId'][_0x17637c(0x222)]:{_0x276f63=_0x3bf02d['handleMoveRange'](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d[_0x17637c(0x186)][_0x17637c(0x410)]:{_0x276f63=_0x3bf02d['handleIRemoveCol'](_0x149b27,_0x2a7b3f);break;}case _0x3bf02d['EffectRefRangId'][_0x17637c(0x2c3)]:{_0x276f63=_0x3bf02d[_0x17637c(0x21d)](_0x149b27,_0x2a7b3f);break;}}const _0x217d07=_0x3bf02d[_0x17637c(0x1bd)](_0x276f63,_0x2a7b3f),_0x1fe0ca=this[_0x17637c(0x2f5)][_0x17637c(0x266)](_0x4c2c61);if(_0x1fe0ca&&_0x217d07){const _0x243643={..._0x1fe0ca,'range':_0x217d07};this[_0x17637c(0x2f5)][_0x17637c(0x256)](_0x4c2c61,_0x243643),_0x1e0e30(()=>{const _0x3285c8=_0x17637c,_0x123429=this['_refRangeService'][_0x3285c8(0x190)](_0x217d07,_0x4c5fa9=>(_0x123429[_0x3285c8(0x2d3)](),_0x5ba029(_0x4c5fa9,_0x4c2c61,_0x1725e9,_0x217d07)));_0x3412fc[_0x3285c8(0x22e)](_0x123429);});}return{'redos':[],'undos':[]};};this[_0x15e422(0x2f5)][_0x15e422(0x36b)]((_0x5250c3,_0x21d395)=>{const _0x62f0ed=_0x15e422,{range:_0x3eaebc,sheetID:_0x179f80}=_0x5250c3,_0x44ede5=this[_0x62f0ed(0x382)]['registerRefRange'](_0x3eaebc,_0x472bcf=>(_0x44ede5[_0x62f0ed(0x2d3)](),_0x5ba029(_0x472bcf,_0x21d395,_0x179f80,_0x3eaebc)));_0x3412fc['add'](_0x44ede5);});};this[_0x15ab81(0x22a)](_0x9ac8b8['toDisposable'](this['_cursorInfo$'][_0x15ab81(0x27f)](()=>{_0x1b608b();})));}[_0x404ce7(0x212)](){const _0x4b0bd3=_0x404ce7;var _0x53691d,_0x599bc8;if(this[_0x4b0bd3(0x30c)]=!0x0,((_0x53691d=this[_0x4b0bd3(0x258)][_0x4b0bd3(0x1a5)]())==null?void 0x0:_0x53691d[_0x4b0bd3(0x3bb)]())!==this[_0x4b0bd3(0x370)])return;const _0x6b3736=(_0x599bc8=this['_injector'][_0x4b0bd3(0x266)](_0x3bf02d[_0x4b0bd3(0x3da)])[_0x4b0bd3(0x346)]())==null?void 0x0:_0x599bc8[0x0],_0x457c54=this['_univerInstanceService']['getCurrentUnitForType'](_0x9ac8b8['UniverInstanceType']['UNIVER_SHEET'])[_0x4b0bd3(0x199)]();_0x6b3736&&_0x457c54&&this['_updateLocalCursor'](_0x457c54['getSheetId'](),_0x6b3736);}[_0x404ce7(0x215)](){const _0x51a29c=_0x404ce7;this[_0x51a29c(0x30c)]=!0x1;}};_0x5dcf1d=_0x43beec([_0x50e78c(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x39c)])),_0x50e78c(0x3,_0x9ac8b8[_0x404ce7(0x2b9)](_0x2d8d96)),_0x50e78c(0x4,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5bd788[_0x404ce7(0x24d)])),_0x50e78c(0x5,_0x9ac8b8[_0x404ce7(0x242)]),_0x50e78c(0x6,_0x9ac8b8[_0x404ce7(0x2ec)]),_0x50e78c(0x7,_0x9ac8b8[_0x404ce7(0x2b9)](_0x3bf02d[_0x404ce7(0x1ea)]))],_0x5dcf1d);var _0x10f171=Object[_0x404ce7(0x24f)],_0x4afc42=(_0x5cf52f,_0x434c0c,_0x59fdae,_0x59e590)=>{const _0x2fe524=_0x404ce7;for(var _0x139c1d=_0x59e590>0x1?void 0x0:_0x59e590?_0x10f171(_0x434c0c,_0x59fdae):_0x434c0c,_0x191ca9=_0x5cf52f[_0x2fe524(0x28b)]-0x1,_0x3e45a7;_0x191ca9>=0x0;_0x191ca9--)(_0x3e45a7=_0x5cf52f[_0x191ca9])&&(_0x139c1d=_0x3e45a7(_0x139c1d)||_0x139c1d);return _0x139c1d;},_0x1cce4f=(_0x1aa2f3,_0x1652d3)=>(_0x91b960,_0x194c73)=>_0x1652d3(_0x91b960,_0x194c73,_0x1aa2f3);let _0x3b9d90=class extends _0x9ac8b8['RxDisposable']{constructor(_0x397ee8,_0x5e6195,_0x54115c){const _0x165cf0=_0x404ce7;super(),_0x4bb0b3(this,'_entities',new Map()),_0x4bb0b3(this,'_entityInit$',new _0x42f3f5[(_0x165cf0(0x39b))]()),(this[_0x165cf0(0x258)]=_0x397ee8,this['_injector']=_0x5e6195,this[_0x165cf0(0x25f)]=_0x54115c,this[_0x165cf0(0x1c1)]());}['dispose'](){const _0x5440bd=_0x404ce7;super[_0x5440bd(0x2d3)](),this[_0x5440bd(0x1d5)]['complete'](),this[_0x5440bd(0x1be)][_0x5440bd(0x36b)](_0x1b9fb0=>_0x1b9fb0['dispose']());}['getCollabCursors$'](_0x5566fe){const _0x1aa38f=_0x404ce7;return this[_0x1aa38f(0x1be)][_0x1aa38f(0x26c)](_0x5566fe)?this[_0x1aa38f(0x1be)][_0x1aa38f(0x266)](_0x5566fe)[_0x1aa38f(0x198)]:this[_0x1aa38f(0x1d5)][_0x1aa38f(0x287)](_0x42f3f5[_0x1aa38f(0x26d)](_0x337cb2=>_0x337cb2[_0x1aa38f(0x370)]===_0x5566fe),_0x42f3f5[_0x1aa38f(0x333)](_0x5c1ce4=>_0x5c1ce4['cursorInfo$']));}[_0x404ce7(0x1c1)](){const _0x11b111=_0x404ce7;this['_univerInstanceService'][_0x11b111(0x1f8)](_0x9ac8b8[_0x11b111(0x2aa)][_0x11b111(0x364)])[_0x11b111(0x287)](_0x42f3f5[_0x11b111(0x2ea)](this['dispose$']))[_0x11b111(0x27f)](async _0x4fc1b7=>{const _0x31f919=_0x11b111,_0x45a958=_0x4fc1b7[_0x31f919(0x3bb)](),_0x33edb5=await this[_0x31f919(0x1ef)](_0x45a958);this[_0x31f919(0x1d5)][_0x31f919(0x358)](_0x33edb5),this[_0x31f919(0x1be)][_0x31f919(0x256)](_0x45a958,_0x33edb5);}),this[_0x11b111(0x258)][_0x11b111(0x1f8)](_0x9ac8b8[_0x11b111(0x2aa)]['UNIVER_DOC'])[_0x11b111(0x287)](_0x42f3f5[_0x11b111(0x2ea)](this['dispose$']))[_0x11b111(0x287)](_0x42f3f5['filter'](_0x55ef13=>!_0x55ef13[_0x11b111(0x3bb)]()['startsWith']('__')))[_0x11b111(0x27f)](async _0x4fa587=>{const _0x5cbb3f=_0x11b111,_0x51d2ab=_0x4fa587['getUnitId'](),_0x583061=await this[_0x5cbb3f(0x2e9)](_0x51d2ab);this[_0x5cbb3f(0x1d5)][_0x5cbb3f(0x358)](_0x583061),this[_0x5cbb3f(0x1be)][_0x5cbb3f(0x256)](_0x51d2ab,_0x583061);}),_0x42f3f5['merge'](this[_0x11b111(0x258)][_0x11b111(0x396)](_0x9ac8b8[_0x11b111(0x2aa)][_0x11b111(0x2d7)]),this[_0x11b111(0x258)][_0x11b111(0x396)](_0x9ac8b8[_0x11b111(0x2aa)][_0x11b111(0x364)]))[_0x11b111(0x287)](_0x42f3f5[_0x11b111(0x2ea)](this['dispose$']))[_0x11b111(0x27f)](_0x7bcae7=>{const _0x275496=_0x11b111,_0x115786=_0x7bcae7['getUnitId'](),_0x1ec0fb=this[_0x275496(0x1be)][_0x275496(0x266)](_0x115786);_0x1ec0fb&&(_0x1ec0fb[_0x275496(0x2d3)](),this[_0x275496(0x1be)][_0x275496(0x3c9)](_0x115786));});}async[_0x404ce7(0x1ef)](_0x315c55){const _0x24a2c4=_0x404ce7,_0x2b1f1b=await this[_0x24a2c4(0x25f)][_0x24a2c4(0x3bc)](_0x315c55),_0x5b348e=this[_0x24a2c4(0x24e)][_0x24a2c4(0x1bc)](_0x5dcf1d,_0x315c55,_0x2b1f1b);return _0x5b348e['init'](),_0x5b348e;}async[_0x404ce7(0x2e9)](_0x20b90c){const _0x20a20b=_0x404ce7,_0x11b0a7=await this['_collabSessionService'][_0x20a20b(0x3bc)](_0x20b90c),_0x88e1ff=this['_injector'][_0x20a20b(0x1bc)](_0x505f56,_0x20b90c,_0x11b0a7);return _0x88e1ff[_0x20a20b(0x1ce)](),_0x88e1ff;}};_0x3b9d90=_0x4afc42([_0x1cce4f(0x0,_0x9ac8b8[_0x404ce7(0x242)]),_0x1cce4f(0x1,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x39c)])),_0x1cce4f(0x2,_0x9ac8b8['Inject'](_0x5bd788['CollaborationSessionService']))],_0x3b9d90);const _0x47b331=0x14,_0x20913d=0xc8,_0x2da30a=0x4,_0x2b5bb8=0x5;function _0x3a092b(_0x371037,_0x3ff794){const _0x20c737=_0x404ce7;let {radius:_0x542509,width:_0x524e62,height:_0x3e4925}=_0x3ff794;_0x542509=_0x542509!=null?_0x542509:0x0,_0x524e62=_0x524e62!=null?_0x524e62:0x1e,_0x3e4925=_0x3e4925!=null?_0x3e4925:0x1e;let _0x550f5c=0x0,_0x2c9319=0x0,_0x372d98=0x0;_0x550f5c=_0x2c9319=_0x372d98=Math[_0x20c737(0x3ab)](_0x542509,_0x524e62/0x2,_0x3e4925/0x2),_0x371037[_0x20c737(0x374)](),_0x371037[_0x20c737(0x1cd)](_0x550f5c,0x0),_0x371037[_0x20c737(0x40a)](_0x524e62-_0x2c9319,0x0),_0x371037['arc'](_0x524e62-_0x2c9319,_0x2c9319,_0x2c9319,Math['PI']*0x3/0x2,0x0,!0x1),_0x371037[_0x20c737(0x40a)](_0x524e62,_0x3e4925-_0x372d98),_0x371037[_0x20c737(0x267)](_0x524e62-_0x372d98,_0x3e4925-_0x372d98,_0x372d98,0x0,Math['PI']/0x2,!0x1),_0x371037[_0x20c737(0x40a)](0x0,_0x3e4925),_0x371037[_0x20c737(0x40a)](0x0,_0x550f5c),_0x371037['arc'](_0x550f5c,_0x550f5c,_0x550f5c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x371037[_0x20c737(0x3ed)](),_0x3ff794['fill']&&(_0x371037[_0x20c737(0x185)](),_0x371037[_0x20c737(0x365)]=_0x3ff794[_0x20c737(0x208)],_0x3ff794['fillRule']===_0x20c737(0x28c)?_0x371037['fill'](_0x20c737(0x28c)):_0x371037[_0x20c737(0x208)](),_0x371037['restore']());}class _0x506de7 extends _0x127f35[_0x404ce7(0x3e4)]{constructor(_0x16705d,_0x46ce80){const _0x52836f=_0x404ce7;super(_0x16705d,_0x46ce80),_0x4bb0b3(this,_0x52836f(0x38c)),_0x4bb0b3(this,_0x52836f(0x27c)),(this[_0x52836f(0x38c)]=_0x46ce80==null?void 0x0:_0x46ce80['color'],this['text']=_0x46ce80==null?void 0x0:_0x46ce80[_0x52836f(0x27c)]);}static[_0x404ce7(0x230)](_0x5ef1a5,_0x4cac1f){const _0x55f4a0=_0x404ce7,{text:_0x2814f3,color:_0x38438e}=_0x4cac1f;_0x5ef1a5[_0x55f4a0(0x185)](),_0x5ef1a5[_0x55f4a0(0x403)]=_0x55f4a0(0x3f6);const _0x4d0d40=_0x5ef1a5[_0x55f4a0(0x397)](_0x2814f3)['width'],_0x460073=Math['min'](_0x4d0d40+0x2*_0x2da30a,_0x20913d);_0x3a092b(_0x5ef1a5,{'height':_0x47b331,'radius':0x4,'width':_0x460073,'fill':_0x38438e}),_0x5ef1a5['fillStyle']=_0x55f4a0(0x310);const _0x5610e2=_0x2da30a,_0xcc3400=_0x47b331-_0x2b5bb8,_0x1fe0ef=_0x20913d-0x2*_0x2da30a;if(_0x4d0d40>_0x1fe0ef){let _0x39dd31='',_0x5a81dd=0x0;for(const _0x99cce2 of _0x2814f3){const _0x585042=_0x5ef1a5['measureText'](_0x99cce2)[_0x55f4a0(0x309)];if(_0x5a81dd+_0x585042<=_0x1fe0ef-_0x5ef1a5['measureText'](_0x55f4a0(0x245))[_0x55f4a0(0x309)])_0x39dd31+=_0x99cce2,_0x5a81dd+=_0x585042;else{_0x39dd31+='...';break;}}_0x5ef1a5[_0x55f4a0(0x321)](_0x39dd31,_0x5610e2,_0xcc3400);}else _0x5ef1a5[_0x55f4a0(0x321)](_0x2814f3,_0x5610e2,_0xcc3400);_0x5ef1a5[_0x55f4a0(0x384)]();}[_0x404ce7(0x2f7)](_0x4510a8){_0x506de7['drawWith'](_0x4510a8,this);}}const _0x580fb6='collab-text-anchor-',_0x1050d5='collab-text-range-',_0x1b2a20=_0x404ce7(0x21e),_0x44efe9=0x6,_0x3f1fde=1.5,_0x76e726=0x4,_0x2e510b=1.5,_0x177aec=_0x404ce7(0x1d9);class _0x5595cf{constructor(_0x50cf4e,_0x25b611,_0x17383e,_0x43a2cb){const _0x3dcf87=_0x404ce7;_0x4bb0b3(this,'_shapes',[]),_0x4bb0b3(this,'_anchor',null),_0x4bb0b3(this,_0x3dcf87(0x35c),null),_0x4bb0b3(this,'_anchorDot',null),_0x4bb0b3(this,_0x3dcf87(0x19f),null),_0x4bb0b3(this,_0x3dcf87(0x3b7),null),(this['_cursor']=_0x50cf4e,this['_scene']=_0x25b611,this['_docSkeleton']=_0x17383e,this['_document']=_0x43a2cb,this[_0x3dcf87(0x19c)]());}set[_0x404ce7(0x2b2)](_0x22f33b){const _0x5b2792=_0x404ce7;_0x22f33b?(this[_0x5b2792(0x2f8)]&&this[_0x5b2792(0x2f8)][_0x5b2792(0x1f5)](),this[_0x5b2792(0x35c)]&&this[_0x5b2792(0x35c)][_0x5b2792(0x28e)]()):(this[_0x5b2792(0x2f8)]&&this['_anchorDot'][_0x5b2792(0x28e)](),this['_textBubble']&&this['_textBubble'][_0x5b2792(0x1f5)]());}['dispose'](){const _0x66b16f=_0x404ce7;for(const _0x56e963 of this['_shapes'])_0x56e963[_0x66b16f(0x2d3)]();this['_textBubble']&&this[_0x66b16f(0x35c)]['dispose'](),this[_0x66b16f(0x2f8)]&&this[_0x66b16f(0x2f8)]['dispose'](),this[_0x66b16f(0x20a)]&&this[_0x66b16f(0x20a)][_0x66b16f(0x2d3)](),this['_eventUnsubscribe']&&this[_0x66b16f(0x3b7)]();}[_0x404ce7(0x19c)](){const _0x392593=_0x404ce7;var _0x23187d;const {_docSkeleton:_0x43e291,_document:_0x2ddd50}=this,{color:_0x1f5466,name:_0xb64d7c,ranges:_0x477529}=this[_0x392593(0x227)],_0x4861be=_0x2ddd50[_0x392593(0x3ad)](),{docsLeft:_0x241c23,docsTop:_0x151796}=_0x4861be,_0x4f01d9=new _0x5888c2['NodePositionConvertToCursor'](_0x4861be,_0x43e291);for(const {startOffset:_0x34fcc8,endOffset:_0x3a0206,rangeType:_0x4a96d1,segmentId:_0x4300fe,segmentPage:_0x2688d6,collapsed:_0x22bc1c,isActive:_0x42c3a1}of _0x477529){const _0x3aeabe=_0x43e291['findNodePositionByCharIndex'](_0x34fcc8,!0x0,_0x4300fe,_0x2688d6);let _0x5c5453=_0x43e291[_0x392593(0x371)](_0x3a0206,!0x0,_0x4300fe,_0x2688d6);if(_0x5c5453==null&&(_0x5c5453=_0x43e291[_0x392593(0x371)](_0x3a0206-0x1,!0x1,_0x4300fe,_0x2688d6)),_0x42c3a1){const {contentBoxPointGroup:_0x56feb4}=_0x4f01d9['getRangePointData'](_0x5c5453,_0x5c5453);if(_0x56feb4[_0x392593(0x28b)]===0x0)continue;this['_drawAnchor'](_0x1f5466,_0x56feb4,_0x241c23,_0x151796,_0xb64d7c),this['_eventUnsubscribe']=this[_0x392593(0x3a5)]();}if(_0x3aeabe&&_0x5c5453){if(_0x4a96d1===_0x9ac8b8['DOC_RANGE_TYPE']['RECT']){const _0x283293=new _0x5888c2[(_0x392593(0x3f1))](_0x4861be,_0x43e291),{pointGroup:_0x117791}=(_0x23187d=_0x283293[_0x392593(0x351)](_0x3aeabe,_0x5c5453))!=null?_0x23187d:{};if(_0x117791==null||_0x117791[_0x392593(0x28b)]===0x0)continue;this['_drawRectRange'](_0x1f5466,_0x117791,_0x241c23,_0x151796);}else{if(!_0x22bc1c){const {borderBoxPointGroup:_0x314a47}=_0x4f01d9[_0x392593(0x351)](_0x3aeabe,_0x5c5453);if(_0x314a47[_0x392593(0x28b)]===0x0)continue;this['_drawTextRange'](_0x1f5466,_0x314a47,_0x241c23,_0x151796);}}}}}['_drawAnchor'](_0x46eb4e,_0x4a2fc6,_0x5e7a47,_0xd423f1,_0x494164){const _0x55472e=_0x404ce7,_0x10a513=this[_0x55472e(0x307)](_0x4a2fc6),{left:_0x2f1a64,top:_0x5e181b,height:_0x4ea621}=_0x10a513,_0x590e84=this[_0x55472e(0x219)](),_0x3e992d=_0x2e510b/_0x590e84,_0x105c85=new _0x127f35['Rect'](_0x580fb6+_0x9ac8b8['Tools'][_0x55472e(0x1d6)](_0x44efe9),{'left':_0x2f1a64+_0x5e7a47-_0x3e992d,'top':_0x5e181b+_0xd423f1,'height':_0x4ea621,'width':_0x3f1fde,'fill':_0x46eb4e||_0x127f35[_0x55472e(0x21f)](_0x9ac8b8[_0x55472e(0x228)][_0x55472e(0x1d1)],0x0),'strokeWidth':_0x3e992d,'stroke':_0x177aec,'evented':!0x0});this[_0x55472e(0x20a)]=_0x105c85,this[_0x55472e(0x342)][_0x55472e(0x234)](_0x105c85,_0x5888c2[_0x55472e(0x375)]);const _0x16b4f8=new _0x127f35[(_0x55472e(0x2d0))](_0x580fb6+_0x9ac8b8[_0x55472e(0x2b3)][_0x55472e(0x1d6)](_0x44efe9),{'left':_0x2f1a64+_0x5e7a47-_0x3e992d,'top':_0x5e181b+_0xd423f1-_0x76e726/0x2,'height':_0x76e726,'width':_0x76e726,'fill':_0x46eb4e||_0x127f35[_0x55472e(0x21f)](_0x9ac8b8[_0x55472e(0x228)][_0x55472e(0x1d1)],0x0),'strokeWidth':0x0,'stroke':_0x46eb4e||_0x127f35[_0x55472e(0x21f)](_0x9ac8b8['COLORS']['black'],0x0),'evented':!0x1});this[_0x55472e(0x2f8)]=_0x16b4f8,this[_0x55472e(0x342)][_0x55472e(0x234)](_0x16b4f8,_0x5888c2[_0x55472e(0x375)]);const _0x272601=new _0x506de7(_0x580fb6+_0x9ac8b8[_0x55472e(0x2b3)][_0x55472e(0x1d6)](_0x44efe9),{'left':_0x2f1a64+_0x5e7a47-_0x3e992d,'top':_0x5e181b+_0xd423f1-_0x47b331,'text':_0x494164,'color':_0x46eb4e});this[_0x55472e(0x35c)]=_0x272601,this[_0x55472e(0x342)][_0x55472e(0x234)](_0x272601,_0x5888c2[_0x55472e(0x375)]),this[_0x55472e(0x2b2)]=!0x1;}[_0x404ce7(0x3a5)](){const _0x1a12f1=_0x404ce7,_0x3c36d3=this[_0x1a12f1(0x20a)][_0x1a12f1(0x354)][_0x1a12f1(0x2bb)](()=>{const _0x37299c=_0x1a12f1;this[_0x37299c(0x2b2)]=!0x0;}),_0xb13831=this[_0x1a12f1(0x20a)][_0x1a12f1(0x22d)][_0x1a12f1(0x2bb)](()=>{const _0x300522=_0x1a12f1;this[_0x300522(0x19f)]&&clearTimeout(this['_hideTimer']),this[_0x300522(0x19f)]=setTimeout(()=>{const _0x435a20=_0x300522;this[_0x435a20(0x2b2)]=!0x1;},0x7d0);});return()=>{const _0x367786=_0x1a12f1;_0x3c36d3[_0x367786(0x363)](),_0xb13831[_0x367786(0x363)]();};}[_0x404ce7(0x391)](_0x558722,_0x16f294,_0x58db8c,_0x4496a6){const _0x1e3a08=_0x404ce7,_0x3faf0e=new _0x9ac8b8[(_0x1e3a08(0x20c))](_0x558722)[_0x1e3a08(0x3b6)](0.2)[_0x1e3a08(0x3c4)](),_0x3d76f9=new _0x127f35[(_0x1e3a08(0x19d))](_0x1050d5+_0x9ac8b8['Tools']['generateRandomId'](_0x44efe9),{'pointsGroup':_0x16f294,'fill':_0x3faf0e||_0x127f35[_0x1e3a08(0x21f)](_0x9ac8b8['COLORS'][_0x1e3a08(0x1d1)],0.2),'left':_0x58db8c,'top':_0x4496a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1e3a08(0x29c)]['push'](_0x3d76f9),this[_0x1e3a08(0x342)][_0x1e3a08(0x234)](_0x3d76f9,_0x5888c2[_0x1e3a08(0x375)]);}[_0x404ce7(0x341)](_0x2947ad,_0x2fd946,_0x21728b,_0x30cbe7){const _0x30ec14=_0x404ce7,_0x4b1cc3=new _0x9ac8b8[(_0x30ec14(0x20c))](_0x2947ad)[_0x30ec14(0x3b6)](0.2)['toRgbString'](),_0x31c185=new _0x127f35[(_0x30ec14(0x19d))](_0x1b2a20+_0x9ac8b8[_0x30ec14(0x2b3)][_0x30ec14(0x1d6)](_0x44efe9),{'pointsGroup':_0x2fd946,'fill':_0x4b1cc3||_0x127f35['getColor'](_0x9ac8b8[_0x30ec14(0x228)][_0x30ec14(0x1d1)],0.2),'left':_0x21728b,'top':_0x30cbe7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30ec14(0x29c)][_0x30ec14(0x1cf)](_0x31c185),this[_0x30ec14(0x342)]['addObject'](_0x31c185,_0x5888c2[_0x30ec14(0x375)]);}[_0x404ce7(0x307)](_0x2ee4d7){const _0x5c6858=_0x2ee4d7[0x0],_0x5aa291=_0x5c6858[0x0],_0x5cd33e=_0x5c6858[0x2],{x:_0x21f383,y:_0x31efe1}=_0x5aa291,{x:_0x22b088,y:_0x49254f}=_0x5cd33e;return{'left':_0x21f383,'top':_0x31efe1,'width':_0x22b088-_0x21f383,'height':_0x49254f-_0x31efe1};}[_0x404ce7(0x219)](){const _0x3b8b8e=_0x404ce7,{scaleX:_0x13216e,scaleY:_0x56aae1}=this['_scene'][_0x3b8b8e(0x3f0)]();return Math[_0x3b8b8e(0x1ac)](_0x13216e,_0x56aae1);}}var _0x577e30=Object[_0x404ce7(0x24f)],_0x4ebd5b=(_0x25aff1,_0x5aeb6d,_0x17ab53,_0x256c24)=>{const _0x1ef818=_0x404ce7;for(var _0x1bd999=_0x256c24>0x1?void 0x0:_0x256c24?_0x577e30(_0x5aeb6d,_0x17ab53):_0x5aeb6d,_0x51c245=_0x25aff1[_0x1ef818(0x28b)]-0x1,_0x39a679;_0x51c245>=0x0;_0x51c245--)(_0x39a679=_0x25aff1[_0x51c245])&&(_0x1bd999=_0x39a679(_0x1bd999)||_0x1bd999);return _0x1bd999;},_0x48c2e6=(_0x3275f4,_0x49b150)=>(_0x2c7e39,_0x12ee8c)=>_0x49b150(_0x2c7e39,_0x12ee8c,_0x3275f4);let _0xd2c1bf=class extends _0x9ac8b8[_0x404ce7(0x269)]{constructor(_0x32b4df,_0x42456e,_0x59bcb5,_0x484cec,_0x51ca5c){const _0x4b3251=_0x404ce7;super(),_0x4bb0b3(this,'_cursorShapes',[]),_0x4bb0b3(this,_0x4b3251(0x305),[]),(this['_context']=_0x32b4df,this[_0x4b3251(0x3c8)]=_0x42456e,this[_0x4b3251(0x411)]=_0x59bcb5,this[_0x4b3251(0x334)]=_0x484cec,this[_0x4b3251(0x337)]=_0x51ca5c,this[_0x4b3251(0x1c1)]());}['_init'](){const _0x183bc9=_0x404ce7,_0x3af5f3=this['_context'][_0x183bc9(0x349)],_0x300604=this[_0x183bc9(0x3c8)];this[_0x183bc9(0x22a)](_0x42f3f5[_0x183bc9(0x217)]([this[_0x183bc9(0x411)]['getCollabCursors$'](_0x3af5f3),this['_themeService']['currentTheme$']])[_0x183bc9(0x287)](_0x5e4788['map'](([_0xbfa82b,_0x31fa5b])=>({'skeleton':_0x300604[_0x183bc9(0x368)](),'cursors':[..._0xbfa82b[_0x183bc9(0x32f)]()]['flatMap'](_0x21ba69=>({..._0x21ba69,'color':this[_0x183bc9(0x337)]['getColorFromTheme'](_0x21ba69[_0x183bc9(0x38c)])}))})))[_0x183bc9(0x27f)](_0x267490=>{const _0x5ac996=_0x183bc9;if(this[_0x5ac996(0x2be)](),_0x267490){const {skeleton:_0x35650b,cursors:_0x221bdf}=_0x267490;this[_0x5ac996(0x183)](_0x35650b,_0x221bdf);}})),this[_0x183bc9(0x2ae)](),this[_0x183bc9(0x25d)]();}['_updateCollabCursors'](_0xdc19b6,_0x1a0541){const _0x373ecf=_0x404ce7,{scene:_0x4552b8,mainComponent:_0x5eb5fb}=this['_context'],_0x162b19=_0x1a0541[_0x373ecf(0x214)](_0x59a1db=>new _0x5595cf(_0x59a1db,_0x4552b8,_0xdc19b6,_0x5eb5fb));this[_0x373ecf(0x36e)]=_0x162b19,this['_cursors']=_0x1a0541;}['_refreshCollabCursors'](){const _0x145190=_0x404ce7;this['_removeCollabCursors']();const {scene:_0x49ffb8,mainComponent:_0x4a97f1}=this['_context'],_0x399a87=this[_0x145190(0x3c8)][_0x145190(0x368)](),_0x565ee5=this[_0x145190(0x305)][_0x145190(0x214)](_0x281440=>new _0x5595cf(_0x281440,_0x49ffb8,_0x399a87,_0x4a97f1));this['_cursorShapes']=_0x565ee5;}['_removeCollabCursors'](){const _0x16b7e6=_0x404ce7;this[_0x16b7e6(0x36e)]['forEach'](_0x12ebbc=>_0x12ebbc[_0x16b7e6(0x2d3)]()),this[_0x16b7e6(0x36e)]=[];}[_0x404ce7(0x25d)](){const _0x26cad4=_0x404ce7,_0x30c118=[_0x5888c2['SetDocZoomRatioOperation']['id']];this[_0x26cad4(0x22a)](this[_0x26cad4(0x334)][_0x26cad4(0x336)](_0x2f3076=>{const _0x71522e=_0x26cad4;_0x30c118['includes'](_0x2f3076['id'])&&_0x2f3076['params'][_0x71522e(0x349)]===this[_0x71522e(0x38e)][_0x71522e(0x349)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5d4834=_0x404ce7;this[_0x5d4834(0x22a)](_0x9ac8b8[_0x5d4834(0x399)](this['_context'][_0x5d4834(0x2bf)][_0x5d4834(0x29e)])[_0x5d4834(0x287)](_0x5e4788[_0x5d4834(0x26d)](_0x218bbe=>_0x218bbe[_0x5d4834(0x407)]===_0x127f35[_0x5d4834(0x1f4)][_0x5d4834(0x2ff)]),_0x5e4788[_0x5d4834(0x189)](0x10))[_0x5d4834(0x27f)](()=>{const _0x4576f9=_0x5d4834;this[_0x4576f9(0x3bf)]();}));}};_0xd2c1bf=_0x4ebd5b([_0x48c2e6(0x1,_0x9ac8b8[_0x404ce7(0x2b9)](_0x475cdc[_0x404ce7(0x303)])),_0x48c2e6(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x3b9d90)),_0x48c2e6(0x3,_0x9ac8b8[_0x404ce7(0x2ec)]),_0x48c2e6(0x4,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x1b1)]))],_0xd2c1bf);const _0x52c3e0=0x1,_0x32d261=1.5;class _0xead6f3 extends _0x127f35[_0x404ce7(0x3e4)]{constructor(_0x49d6b3,_0x58e69f){const _0x153dbc=_0x404ce7;super(_0x49d6b3,_0x58e69f),_0x4bb0b3(this,'_color'),_0x4bb0b3(this,_0x153dbc(0x2da),!0x1),_0x4bb0b3(this,'_range'),_0x4bb0b3(this,'_name',''),_0x4bb0b3(this,_0x153dbc(0x1fc),_0x153dbc(0x207)),_0x4bb0b3(this,_0x153dbc(0x3f9)),(_0x58e69f&&this[_0x153dbc(0x1a9)](_0x58e69f),this[_0x153dbc(0x354)][_0x153dbc(0x2bb)](()=>this[_0x153dbc(0x1a9)]({'hovered':!0x0})),this['onPointerLeave$'][_0x153dbc(0x2bb)](()=>this[_0x153dbc(0x1a9)]({'hovered':!0x1})));}[_0x404ce7(0x1a9)](_0x775481){const _0x358d14=_0x404ce7;var _0x3f7f6b,_0xd4d3f9,_0x42d8be,_0x2f0410,_0x380afa,_0x3d3c6a;this[_0x358d14(0x24c)]=(_0x3f7f6b=_0x775481[_0x358d14(0x38c)])!=null?_0x3f7f6b:this[_0x358d14(0x24c)],this[_0x358d14(0x2da)]=(_0xd4d3f9=_0x775481['hovered'])!=null?_0xd4d3f9:this[_0x358d14(0x2da)],this[_0x358d14(0x2e3)]=(_0x42d8be=_0x775481[_0x358d14(0x3e8)])!=null?_0x42d8be:this[_0x358d14(0x2e3)],this[_0x358d14(0x2d1)]=(_0x2f0410=_0x775481[_0x358d14(0x3c5)])!=null?_0x2f0410:this[_0x358d14(0x2d1)],this[_0x358d14(0x1fc)]=(_0x380afa=_0x775481[_0x358d14(0x284)])!=null?_0x380afa:this[_0x358d14(0x1fc)],this[_0x358d14(0x3f9)]=(_0x3d3c6a=_0x775481['backgroundColor'])!=null?_0x3d3c6a:this['_backgroundColor'],this[_0x358d14(0x322)]({'width':_0x775481[_0x358d14(0x309)],'height':_0x775481[_0x358d14(0x2e2)]});}['onMouseMove'](_0x486ae8){const _0x34a41b=_0x404ce7,{row:_0x3cb2d8,column:_0x2eb604}=_0x486ae8;if(_0x3cb2d8>=this['_range']['startRow']&&_0x3cb2d8<=this[_0x34a41b(0x2e3)][_0x34a41b(0x3c6)]&&_0x2eb604>=this[_0x34a41b(0x2e3)][_0x34a41b(0x3f3)]&&_0x2eb604<=this['_range']['endColumn']){this[_0x34a41b(0x1a9)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x404ce7(0x209)](_0x5e352e){return!0x1;}[_0x404ce7(0x2f7)](_0xb7fca6){const _0x1589af=_0x404ce7;_0x127f35[_0x1589af(0x2d0)][_0x1589af(0x230)](_0xb7fca6,{'width':this['width'],'height':this['height'],'strokeWidth':_0x32d261,'stroke':this[_0x1589af(0x24c)],'evented':!0x1,'fill':this[_0x1589af(0x3f9)]}),this[_0x1589af(0x2da)]&&(_0xb7fca6[_0x1589af(0x185)](),_0xb7fca6[_0x1589af(0x37b)](0x1,0x0,0x0,0x1,this[_0x1589af(0x309)],this[_0x1589af(0x1fc)]===_0x1589af(0x1c5)?0x0:-0x14),_0x506de7[_0x1589af(0x230)](_0xb7fca6,{'text':this[_0x1589af(0x2d1)],'color':this[_0x1589af(0x24c)]}),_0xb7fca6[_0x1589af(0x384)]());}}var _0x4a3756=Object[_0x404ce7(0x24f)],_0x5cdbad=(_0x1220eb,_0xead79d,_0x173034,_0x242594)=>{const _0x197478=_0x404ce7;for(var _0x46c6ae=_0x242594>0x1?void 0x0:_0x242594?_0x4a3756(_0xead79d,_0x173034):_0xead79d,_0x168495=_0x1220eb[_0x197478(0x28b)]-0x1,_0x12a429;_0x168495>=0x0;_0x168495--)(_0x12a429=_0x1220eb[_0x168495])&&(_0x46c6ae=_0x12a429(_0x46c6ae)||_0x46c6ae);return _0x46c6ae;},_0x4e2f36=(_0x360ba3,_0x2a2dc8)=>(_0xa1d404,_0x226022)=>_0x2a2dc8(_0xa1d404,_0x226022,_0x360ba3);const _0x4ca931=0x1389;let _0x5afaa0=class extends _0x9ac8b8['RxDisposable']{constructor(_0x43bae8,_0x494b9b,_0xc7d79d,_0x4d4e4b){const _0x57da25=_0x404ce7;super(),_0x4bb0b3(this,_0x57da25(0x305),new Set()),_0x4bb0b3(this,_0x57da25(0x31e),null),(this[_0x57da25(0x38e)]=_0x43bae8,this[_0x57da25(0x249)]=_0x494b9b,this['_collabCursorController']=_0xc7d79d,this[_0x57da25(0x337)]=_0x4d4e4b,this[_0x57da25(0x1c1)]());}[_0x404ce7(0x1c1)](){const _0x3b8c66=_0x404ce7;this[_0x3b8c66(0x249)][_0x3b8c66(0x30f)][_0x3b8c66(0x287)](_0x5e4788[_0x3b8c66(0x2ea)](this[_0x3b8c66(0x31d)]),_0x5e4788[_0x3b8c66(0x333)](_0x554e18=>{const _0x540149=_0x3b8c66;if(_0x554e18){const _0x5ad1bd=_0x554e18[_0x540149(0x255)];return _0x42f3f5[_0x540149(0x217)](this[_0x540149(0x411)][_0x540149(0x30b)](this['_context'][_0x540149(0x349)]),this['_themeService'][_0x540149(0x2ce)])['pipe'](_0x5e4788[_0x540149(0x214)](([_0x44966d,_0x393728])=>{const _0x412691=_0x540149,_0x1b03b7=new Map();return _0x44966d[_0x412691(0x36b)]((_0x2f3838,_0x2756d9)=>{const _0x8b6801=_0x412691;if(_0x2f3838[_0x8b6801(0x1b4)]===_0x5ad1bd){const _0x16acf4={..._0x2f3838};_0x16acf4[_0x8b6801(0x38c)]=this[_0x8b6801(0x337)][_0x8b6801(0x1a8)](_0x2f3838['color']),_0x1b03b7[_0x8b6801(0x256)](_0x2756d9,_0x16acf4);}}),{'skeleton':_0x554e18,'cursors':_0x1b03b7};}));}return _0x42f3f5['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3265bc,cursors:_0x11830c})=>{const _0x58b90c=_0x3b8c66;this[_0x58b90c(0x2be)](),_0x3265bc&&this[_0x58b90c(0x183)](_0x3265bc,_0x11830c);}),this[_0x3b8c66(0x249)][_0x3b8c66(0x30f)][_0x3b8c66(0x27f)](_0x3d7d52=>{const _0x50c4fb=_0x3b8c66;if(_0x3d7d52==null)return;const {skeleton:_0x4d68f0}=_0x3d7d52,{scene:_0x8548e4}=this['_context'];_0x8548e4[_0x50c4fb(0x313)][_0x50c4fb(0x2bb)](_0x9ac8b8[_0x50c4fb(0x369)](_0x5a43da=>{const _0x118e90=_0x50c4fb;var _0xae638e,_0x322fda;const {offsetX:_0x237beb,offsetY:_0x13b209}=_0x5a43da,{x:_0x5b9500,y:_0x2b6a77}=_0x8548e4[_0x118e90(0x24b)](_0x127f35['Vector2'][_0x118e90(0x38b)]([_0x237beb,_0x13b209])),{scaleX:_0x2fe446,scaleY:_0x3b2e76}=_0x8548e4[_0x118e90(0x3f0)](),_0x2a8950=_0x8548e4[_0x118e90(0x297)](_0x127f35['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x36d859=_0x8548e4[_0x118e90(0x23c)](_0x127f35[_0x118e90(0x378)][_0x118e90(0x38b)]([_0x5b9500,_0x2b6a77]),_0x2a8950),_0x55ce0d=_0x4d68f0['getCellPositionByOffset'](_0x237beb,_0x13b209,_0x2fe446,_0x3b2e76,_0x36d859);((_0xae638e=this[_0x118e90(0x31e)])==null?void 0x0:_0xae638e[_0x118e90(0x3b0)])===_0x55ce0d['column']&&((_0x322fda=this['_lastPointer'])==null?void 0x0:_0x322fda['row'])===_0x55ce0d[_0x118e90(0x3ee)]||this[_0x118e90(0x305)][_0x118e90(0x36b)](_0x1e3fa6=>{const _0x114026=_0x118e90;_0x1e3fa6[_0x114026(0x1e2)](_0x55ce0d);});},0x64));});}[_0x404ce7(0x183)](_0x1a2d29,_0x5ad2fc){const _0x3a71b5=_0x404ce7;var _0x26ba0a;const _0x42409d=(_0x26ba0a=this[_0x3a71b5(0x249)][_0x3a71b5(0x1eb)]())==null?void 0x0:_0x26ba0a['skeleton'];if(!_0x42409d)return;const _0x1f50fb=this[_0x3a71b5(0x1ad)]();if(!_0x1f50fb)return;this[_0x3a71b5(0x305)][_0x3a71b5(0x36b)](_0x3d0bd4=>{const _0x55dc49=_0x3a71b5;_0x3d0bd4[_0x55dc49(0x1e8)]();});const {scene:_0x597e8c}=_0x1f50fb,_0x52b24f=_0x571142(Array[_0x3a71b5(0x3ff)](_0x5ad2fc[_0x3a71b5(0x32f)]()))[_0x3a71b5(0x214)](_0x19ab31=>{const _0xfdcc25=_0x3a71b5,{color:_0x3d0ba6,range:_0x91dd36,name:_0x2dfefa,selection:_0x1d2b87,sheetID:_0x342365}=_0x19ab31,{startColumn:_0x305016,startRow:_0x52acfe,endColumn:_0x491359,endRow:_0x293d74}=_0x91dd36,_0x14ba46=_0x398864[_0xfdcc25(0x323)](_0x52acfe,_0x305016,_0x597e8c,_0x42409d),_0x2e9a63=_0x398864[_0xfdcc25(0x323)](_0x293d74,_0x491359,_0x597e8c,_0x42409d),{columnHeaderHeightAndMarginTop:_0x4866ae}=_0x42409d,{startX:_0x468c6c,startY:_0x6a9f2f}=_0x14ba46,{endX:_0x1235bd,endY:_0x5fe900}=_0x2e9a63,_0x1d0925=_0x1235bd-_0x468c6c,_0x39c9aa=_0x5fe900-_0x6a9f2f,_0x6d474a={'labelPosition':_0x6a9f2f-_0x4866ae>=_0x47b331?_0xfdcc25(0x207):_0xfdcc25(0x1c5),'sheetID':_0x342365,'range':_0x91dd36,'color':_0x3d0ba6,'name':_0x2dfefa,'selection':_0x1d2b87,'left':_0x468c6c,'top':_0x6a9f2f,'width':_0x1d0925,'height':_0x39c9aa,'evented':!0x1,'zIndex':_0x4ca931};return new _0xead6f3(_0x2dfefa,_0x6d474a);});_0x597e8c[_0x3a71b5(0x2e0)](_0x52b24f,_0x52c3e0),this[_0x3a71b5(0x305)]=new Set(_0x52b24f);}['_removeCollabCursors'](){const _0x104ccb=_0x404ce7;var _0x2f9edd;(_0x2f9edd=this['_cursors'])==null||_0x2f9edd['forEach'](_0x37512c=>_0x37512c[_0x104ccb(0x2d3)]());}[_0x404ce7(0x1ad)](){const _0x5e660c=_0x404ce7;return _0x398864[_0x5e660c(0x2b4)](this[_0x5e660c(0x38e)][_0x5e660c(0x3c3)],this['_context']);}};_0x5afaa0=_0x5cdbad([_0x4e2f36(0x1,_0x9ac8b8[_0x404ce7(0x2b9)](_0x398864[_0x404ce7(0x2db)])),_0x4e2f36(0x2,_0x9ac8b8['Inject'](_0x3b9d90)),_0x4e2f36(0x3,_0x9ac8b8['Inject'](_0x9ac8b8['ThemeService']))],_0x5afaa0);function _0x571142(_0x356f47){const _0x68ce4b=_0x404ce7,_0x24f78c=new Map();return _0x356f47[_0x68ce4b(0x36b)](_0x4cafc3=>{const _0x1a4166=_0x68ce4b;if(_0x24f78c[_0x1a4166(0x26c)](_0x4cafc3[_0x1a4166(0x325)])){const _0x21425d=_0x24f78c[_0x1a4166(0x266)](_0x4cafc3[_0x1a4166(0x325)]);_0x21425d[_0x1a4166(0x3c5)]+=',\x20'+_0x4cafc3[_0x1a4166(0x3c5)];}else _0x24f78c[_0x1a4166(0x256)](_0x4cafc3['selection'],_0x4cafc3);}),Array[_0x68ce4b(0x3ff)](_0x24f78c[_0x68ce4b(0x32f)]());}var _0x4be2b3=function(){const _0x4b46f7=_0x404ce7;return _0x4be2b3=Object[_0x4b46f7(0x279)]||function(_0x2662d7){const _0x8adb02=_0x4b46f7;for(var _0x6a1bf4,_0x140402=0x1,_0x29646e=arguments['length'];_0x140402<_0x29646e;_0x140402++){_0x6a1bf4=arguments[_0x140402];for(var _0xbf74b6 in _0x6a1bf4)Object[_0x8adb02(0x225)][_0x8adb02(0x21a)]['call'](_0x6a1bf4,_0xbf74b6)&&(_0x2662d7[_0xbf74b6]=_0x6a1bf4[_0xbf74b6]);}return _0x2662d7;},_0x4be2b3[_0x4b46f7(0x1f3)](this,arguments);},_0x3e9cc8=function(_0x1a2112,_0x3d0bdb){const _0x194536=_0x404ce7;var _0x75943c={};for(var _0x237337 in _0x1a2112)Object[_0x194536(0x225)]['hasOwnProperty'][_0x194536(0x188)](_0x1a2112,_0x237337)&&_0x3d0bdb['indexOf'](_0x237337)<0x0&&(_0x75943c[_0x237337]=_0x1a2112[_0x237337]);if(_0x1a2112!=null&&typeof Object[_0x194536(0x3c1)]=='function'){for(var _0xbe67af=0x0,_0x237337=Object[_0x194536(0x3c1)](_0x1a2112);_0xbe67af<_0x237337['length'];_0xbe67af++)_0x3d0bdb[_0x194536(0x326)](_0x237337[_0xbe67af])<0x0&&Object[_0x194536(0x225)]['propertyIsEnumerable']['call'](_0x1a2112,_0x237337[_0xbe67af])&&(_0x75943c[_0x237337[_0xbe67af]]=_0x1a2112[_0x237337[_0xbe67af]]);}return _0x75943c;},_0x14dc9c=_0xf2d60f[_0x404ce7(0x2ee)](function(_0x4ca1a8,_0x24534e){const _0x372c9b=_0x404ce7;var _0x558c36=_0x4ca1a8[_0x372c9b(0x226)],_0x204ac9=_0x4ca1a8['id'],_0x4b4879=_0x4ca1a8[_0x372c9b(0x34e)],_0x4d8a08=_0x4ca1a8['extend'],_0x282191=_0x3e9cc8(_0x4ca1a8,[_0x372c9b(0x226),'id','className',_0x372c9b(0x35d)]),_0x28c099=_0x372c9b(0x192)[_0x372c9b(0x3e7)](_0x204ac9,'\x20')[_0x372c9b(0x3e7)](_0x4b4879||'')[_0x372c9b(0x373)](),_0x3f2599=_0xf2d60f['useRef']('_'[_0x372c9b(0x3e7)](_0x367caf()));return _0x4c8c6e(_0x558c36,''[_0x372c9b(0x3e7)](_0x204ac9),{'defIds':_0x558c36['defIds'],'idSuffix':_0x3f2599['current']},_0x4be2b3({'ref':_0x24534e,'className':_0x28c099},_0x282191),_0x4d8a08);});function _0x4c8c6e(_0x218a03,_0x93381a,_0x399af2,_0x3773ef,_0x57553d){const _0x199eb9=_0x404ce7;return _0xf2d60f[_0x199eb9(0x278)](_0x218a03[_0x199eb9(0x2a7)],_0x4be2b3(_0x4be2b3({'key':_0x93381a},_0x2be5b3(_0x218a03,_0x399af2,_0x57553d)),_0x3773ef),(_0x1142ab(_0x218a03,_0x399af2)[_0x199eb9(0x25e)]||[])[_0x199eb9(0x214)](function(_0x34c858,_0x3cfa37){const _0x209f2c=_0x199eb9;return _0x4c8c6e(_0x34c858,''[_0x209f2c(0x3e7)](_0x93381a,'-')['concat'](_0x218a03[_0x209f2c(0x2a7)],'-')[_0x209f2c(0x3e7)](_0x3cfa37),_0x399af2,void 0x0,_0x57553d);}));}function _0x2be5b3(_0x5ce988,_0x2778a6,_0x3fc45f){const _0x53ed25=_0x404ce7;var _0x452712=_0x4be2b3({},_0x5ce988[_0x53ed25(0x340)]);_0x3fc45f!=null&&_0x3fc45f[_0x53ed25(0x1b5)]&&_0x452712['fill']===_0x53ed25(0x1b5)&&(_0x452712[_0x53ed25(0x208)]=_0x3fc45f[_0x53ed25(0x1b5)]),_0x5ce988[_0x53ed25(0x2a7)]==='mask'&&_0x452712['id']&&(_0x452712['id']=_0x452712['id']+_0x2778a6[_0x53ed25(0x1a7)]),Object[_0x53ed25(0x24a)](_0x452712)['forEach'](function(_0x12f44c){const _0x1c8524=_0x53ed25;var _0x4b6cc2=_0x12f44c[0x0],_0x20ab01=_0x12f44c[0x1];_0x4b6cc2===_0x1c8524(0x2d5)&&typeof _0x20ab01=='string'&&(_0x452712[_0x4b6cc2]=_0x20ab01[_0x1c8524(0x2fc)](/url\(#(.*)\)/,_0x1c8524(0x311)[_0x1c8524(0x3e7)](_0x2778a6['idSuffix'],')')));});var _0x1198d6=_0x2778a6[_0x53ed25(0x1e0)];return!_0x1198d6||_0x1198d6[_0x53ed25(0x28b)]===0x0||(_0x5ce988['tag']==='use'&&_0x452712['xlink:href']&&(_0x452712['xlink:href']=_0x452712[_0x53ed25(0x259)]+_0x2778a6[_0x53ed25(0x1a7)]),Object[_0x53ed25(0x24a)](_0x452712)[_0x53ed25(0x36b)](function(_0x2a79f4){const _0x208148=_0x53ed25;var _0x3bb87c=_0x2a79f4[0x0],_0xb2a262=_0x2a79f4[0x1];typeof _0xb2a262==_0x208148(0x273)&&(_0x452712[_0x3bb87c]=_0xb2a262[_0x208148(0x2fc)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2778a6['idSuffix'],')')));})),_0x452712;}function _0x1142ab(_0x5ad8b9,_0x47c75b){const _0x2a9b93=_0x404ce7;var _0x4db4c7,_0xaec7a5=_0x47c75b[_0x2a9b93(0x1e0)];return!_0xaec7a5||_0xaec7a5[_0x2a9b93(0x28b)]===0x0?_0x5ad8b9:_0x5ad8b9[_0x2a9b93(0x2a7)]===_0x2a9b93(0x1dd)&&(!((_0x4db4c7=_0x5ad8b9[_0x2a9b93(0x25e)])===null||_0x4db4c7===void 0x0)&&_0x4db4c7[_0x2a9b93(0x28b)])?_0x4be2b3(_0x4be2b3({},_0x5ad8b9),{'children':_0x5ad8b9['children'][_0x2a9b93(0x214)](function(_0x59fd3e){const _0x438a60=_0x2a9b93;return typeof _0x59fd3e[_0x438a60(0x340)]['id']==_0x438a60(0x273)&&_0xaec7a5&&_0xaec7a5[_0x438a60(0x326)](_0x59fd3e[_0x438a60(0x340)]['id'])>-0x1?_0x4be2b3(_0x4be2b3({},_0x59fd3e),{'attrs':_0x4be2b3(_0x4be2b3({},_0x59fd3e[_0x438a60(0x340)]),{'id':_0x59fd3e[_0x438a60(0x340)]['id']+_0x47c75b['idSuffix']})}):_0x59fd3e;})}):_0x5ad8b9;}function _0x367caf(){const _0x475c8b=_0x404ce7;return Math[_0x475c8b(0x1fe)]()[_0x475c8b(0x293)](0x24)[_0x475c8b(0x252)](0x2,0x8);}_0x14dc9c[_0x404ce7(0x17f)]=_0x404ce7(0x3eb);var _0x51966b={'tag':'svg','attrs':{'fill':_0x404ce7(0x1ab),'viewBox':'0\x200\x2016\x2016','width':_0x404ce7(0x33d),'height':_0x404ce7(0x33d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x404ce7(0x2dd),'attrs':{'stroke':_0x404ce7(0x184),'d':_0x404ce7(0x283),'strokeLinecap':'round','strokeLinejoin':_0x404ce7(0x254),'strokeWidth':1.2}}]},{'tag':_0x404ce7(0x1dd),'attrs':{},'children':[{'tag':_0x404ce7(0x1b0),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x404ce7(0x2dd),'attrs':{'fill':_0x404ce7(0x2df),'d':_0x404ce7(0x316)}}]}]}],'defIds':[_0x404ce7(0x2c8)]},_0x3c79a9=_0xf2d60f[_0x404ce7(0x2ee)](function(_0x216123,_0x464e0c){const _0x34d702=_0x404ce7;return _0xf2d60f['createElement'](_0x14dc9c,Object[_0x34d702(0x279)]({},_0x216123,{'id':_0x34d702(0x244),'ref':_0x464e0c,'icon':_0x51966b}));});_0x3c79a9['displayName']=_0x404ce7(0x2fe);var _0x46033d={'tag':_0x404ce7(0x200),'attrs':{'fill':_0x404ce7(0x1ab),'viewBox':_0x404ce7(0x30a),'width':_0x404ce7(0x33d),'height':_0x404ce7(0x33d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x404ce7(0x2dd),'attrs':{'stroke':_0x404ce7(0x184),'d':_0x404ce7(0x1bb),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x404ce7(0x1dd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x404ce7(0x2dd),'attrs':{'fill':_0x404ce7(0x2df),'d':_0x404ce7(0x316),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1816d3=_0xf2d60f[_0x404ce7(0x2ee)](function(_0x4c8478,_0x2da5a9){const _0x1a084e=_0x404ce7;return _0xf2d60f[_0x1a084e(0x278)](_0x14dc9c,Object['assign']({},_0x4c8478,{'id':_0x1a084e(0x246),'ref':_0x2da5a9,'icon':_0x46033d}));});_0x1816d3[_0x404ce7(0x17f)]=_0x404ce7(0x231);function _0x14abe0(_0x4522f8){const _0x5b723d=_0x404ce7;switch(_0x4522f8){case _0x5bd788['CollaborationStatus']['OFFLINE']:return _0x5b723d(0x286);case _0x5bd788[_0x5b723d(0x308)][_0x5b723d(0x211)]:return _0x5b723d(0x2dc);case _0x5bd788[_0x5b723d(0x308)][_0x5b723d(0x3df)]:return'collabStatus.fetchMiss';case _0x5bd788[_0x5b723d(0x308)]['NOT_COLLAB']:return _0x5b723d(0x30d);case _0x5bd788[_0x5b723d(0x308)][_0x5b723d(0x18f)]:case _0x5bd788[_0x5b723d(0x308)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5bd788[_0x5b723d(0x308)][_0x5b723d(0x194)]:case _0x5bd788[_0x5b723d(0x308)][_0x5b723d(0x3e1)]:return _0x5b723d(0x3dd);}}function _0x33ea42(_0x293153){const _0x2eb946=_0x404ce7,{status$:_0x3623ee}=_0x293153,_0x1a601d=_0x47fca6[_0x2eb946(0x3b1)](_0x3623ee,_0x5bd788[_0x2eb946(0x308)][_0x2eb946(0x3d4)]),_0x39519f=_0x47fca6[_0x2eb946(0x298)](_0x9ac8b8['LocaleService']),_0x51912e=_0x47fca6[_0x2eb946(0x298)](_0x5bd788['CollaborationSessionService']),_0x1ca1cd=_0x1a601d!==_0x5bd788['CollaborationStatus']['OFFLINE'],_0x1fbbf6=_0x39519f['t'](_0x14abe0(_0x1a601d)),_0x5d8b47=_0x1ca1cd?_0x1a281b['jsx'](_0x1816d3,{}):_0x1a281b[_0x2eb946(0x3b8)](_0x3c79a9,{}),_0x32af2d=_0xf2d60f[_0x2eb946(0x1ae)](()=>{const _0x154e10=_0x2eb946;_0x1ca1cd||_0x51912e[_0x154e10(0x31f)]();},[_0x1ca1cd,_0x51912e]);function _0x155dfb(){const _0xd72ed9=_0x2eb946;return _0x1a281b['jsxs'](_0xd72ed9(0x2f6),{'className':_0xd72ed9(0x2e5),'onClick':_0x32af2d,'children':[_0x1a281b[_0xd72ed9(0x3b8)]('div',{'className':_0x3ccbfd[_0xd72ed9(0x335)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x1ca1cd,'univer-text-red-500':!_0x1ca1cd}),'children':_0x5d8b47}),_0x1a281b[_0xd72ed9(0x3b8)](_0xd72ed9(0x2f6),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1fbbf6})]});}return _0x1ca1cd?_0x155dfb():_0x1a281b[_0x2eb946(0x3b8)](_0x3ccbfd['Tooltip'],{'title':_0x39519f['t'](_0x2eb946(0x2a4)),'children':_0x155dfb()});}var _0x52c572=Object[_0x404ce7(0x24f)],_0x998a71=(_0x5d1620,_0xa8cedc,_0x4fb282,_0x13d09b)=>{const _0x43f948=_0x404ce7;for(var _0x5bc427=_0x13d09b>0x1?void 0x0:_0x13d09b?_0x52c572(_0xa8cedc,_0x4fb282):_0xa8cedc,_0x157567=_0x5d1620[_0x43f948(0x28b)]-0x1,_0x38300a;_0x157567>=0x0;_0x157567--)(_0x38300a=_0x5d1620[_0x157567])&&(_0x5bc427=_0x38300a(_0x5bc427)||_0x5bc427);return _0x5bc427;},_0x4aad63=(_0x138fda,_0x233ff8)=>(_0x277fbe,_0x1ea95c)=>_0x233ff8(_0x277fbe,_0x1ea95c,_0x138fda);_0x243df5['DesktopCollaborationStatusDisplayController']=class extends _0x9ac8b8['Disposable']{constructor(_0xfcf361,_0x5de2e9,_0x21859e,_0x170a62){const _0x2b0d24=_0x404ce7;super(),_0x4bb0b3(this,_0x2b0d24(0x277),new _0x42f3f5[(_0x2b0d24(0x1e7))](_0x5bd788['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0xfcf361,this[_0x2b0d24(0x24e)]=_0x5de2e9,this[_0x2b0d24(0x3ac)]=_0x21859e,this[_0x2b0d24(0x23d)]=_0x170a62,this['_initStatusComponent'](),this[_0x2b0d24(0x1d8)]());}[_0x404ce7(0x1d8)](){const _0x2d4743=_0x404ce7;this[_0x2d4743(0x22a)](this[_0x2d4743(0x258)][_0x2d4743(0x3d0)][_0x2d4743(0x287)](_0x42f3f5[_0x2d4743(0x333)](()=>{const _0x487fbe=_0x2d4743,_0x4e816a=this[_0x487fbe(0x258)]['getFocusedUnit']();return _0x4e816a?this[_0x487fbe(0x3ac)][_0x487fbe(0x2c1)](_0x4e816a[_0x487fbe(0x3bb)]()):_0x42f3f5['of'](null);}),_0x42f3f5[_0x2d4743(0x333)](_0x346b5a=>_0x346b5a?_0x346b5a['status$']:_0x42f3f5['of'](_0x5bd788[_0x2d4743(0x308)]['NOT_COLLAB'])))[_0x2d4743(0x27f)](_0x53df7a=>{const _0x23726b=_0x2d4743;this[_0x23726b(0x277)]['next'](_0x53df7a);}));}[_0x404ce7(0x2a9)](){const _0x545a1f=_0x404ce7;this[_0x545a1f(0x22a)](this[_0x545a1f(0x23d)][_0x545a1f(0x262)](_0x47fca6[_0x545a1f(0x28f)]['HEADER_MENU'],()=>_0x47fca6[_0x545a1f(0x1f6)](_0x5749a0({'status$':this[_0x545a1f(0x277)][_0x545a1f(0x268)]()}),this[_0x545a1f(0x24e)])));}},_0x243df5[_0x404ce7(0x238)]=_0x998a71([_0x4aad63(0x0,_0x9ac8b8[_0x404ce7(0x242)]),_0x4aad63(0x1,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x39c)])),_0x4aad63(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5bd788[_0x404ce7(0x35f)])),_0x4aad63(0x3,_0x47fca6[_0x404ce7(0x330)])],_0x243df5[_0x404ce7(0x238)]);function _0x5749a0(_0x24f22c){const {status$:_0x2dcc7f}=_0x24f22c;return function(){const _0x7fba3e=_0x32fc;return _0x1a281b[_0x7fba3e(0x3b8)](_0x33ea42,{'status$':_0x2dcc7f});};}var _0x635d4=Object['getOwnPropertyDescriptor'],_0x418fa=(_0x56cb8a,_0x5ddeae,_0x4a7abe,_0x783b36)=>{const _0x1d5ff0=_0x404ce7;for(var _0x1a0583=_0x783b36>0x1?void 0x0:_0x783b36?_0x635d4(_0x5ddeae,_0x4a7abe):_0x5ddeae,_0x17a8fb=_0x56cb8a[_0x1d5ff0(0x28b)]-0x1,_0x339693;_0x17a8fb>=0x0;_0x17a8fb--)(_0x339693=_0x56cb8a[_0x17a8fb])&&(_0x1a0583=_0x339693(_0x1a0583)||_0x1a0583);return _0x1a0583;},_0x14180c=(_0x4a3935,_0x50433b)=>(_0x1c9edc,_0xb90deb)=>_0x50433b(_0x1c9edc,_0xb90deb,_0x4a3935);let _0x3f71ea=class extends _0x9ac8b8[_0x404ce7(0x3a4)]{constructor(_0x5796d6,_0x3ead1a,_0xa79fd9,_0x59105d,_0x350288,_0x58ffa5){const _0x1e8d35=_0x404ce7;super(),this[_0x1e8d35(0x3a1)]=_0x5796d6,this[_0x1e8d35(0x2f3)]=_0x3ead1a,this[_0x1e8d35(0x196)]=_0xa79fd9,this['_messageService']=_0x59105d,this['_notificationService']=_0x350288,this[_0x1e8d35(0x40e)]=_0x58ffa5,this[_0x1e8d35(0x247)](),this[_0x1e8d35(0x2ca)]();}[_0x404ce7(0x247)](){const _0x4f45bf=_0x404ce7;this[_0x4f45bf(0x22a)](this[_0x4f45bf(0x3a1)]['registerBeforeClose'](()=>{const _0xead38b=_0x4f45bf;if(this[_0xead38b(0x2f3)][_0xead38b(0x191)][_0xead38b(0x1a0)])return this[_0xead38b(0x40e)]['t'](_0xead38b(0x2f1));}));}['_initEvent'](){const _0x39ffb5=_0x404ce7;this[_0x39ffb5(0x22a)](this[_0x39ffb5(0x196)][_0x39ffb5(0x328)][_0x39ffb5(0x27f)](_0x5aef71=>{const _0x263329=_0x39ffb5;_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x1bf)]&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd[_0x263329(0x25b)][_0x263329(0x276)],'content':this[_0x263329(0x40e)]['t'](_0x263329(0x31a))}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x35b)]&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd[_0x263329(0x25b)][_0x263329(0x276)],'content':this['_localeService']['t'](_0x263329(0x22b))}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x39e)]&&this[_0x263329(0x19a)][_0x263329(0x28e)]({'title':this[_0x263329(0x40e)]['t'](_0x263329(0x1ca)),'content':this[_0x263329(0x40e)]['t'](_0x263329(0x3d6)),'type':_0x263329(0x1c4),'duration':0x0}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)]['CONFLICT']&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd[_0x263329(0x25b)][_0x263329(0x22f)],'content':this[_0x263329(0x40e)]['t'](_0x263329(0x22b))+'('+_0x5aef71[_0x263329(0x26a)]+')'}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x394)]&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd[_0x263329(0x25b)][_0x263329(0x276)],'content':this['_localeService']['t'](_0x5aef71[_0x263329(0x26a)]||'')}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)]['SOCKET_FAILED_RETRY']&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd[_0x263329(0x25b)][_0x263329(0x276)],'content':this[_0x263329(0x40e)]['t'](_0x263329(0x33b))}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x2a8)]&&this[_0x263329(0x2a2)]['show']({'type':_0x3ccbfd[_0x263329(0x25b)]['Error'],'content':this[_0x263329(0x40e)]['t'](_0x263329(0x30e))}),_0x5aef71['id']===_0x5bd788[_0x263329(0x281)][_0x263329(0x1de)]&&this[_0x263329(0x2a2)][_0x263329(0x28e)]({'type':_0x3ccbfd['MessageType'][_0x263329(0x22f)],'content':this[_0x263329(0x40e)]['t']('session.collaboration-timeout')});}));}};_0x3f71ea=_0x418fa([_0x14180c(0x0,_0x47fca6['IBeforeCloseService']),_0x14180c(0x1,_0x5bd788['ILocalCacheService']),_0x14180c(0x2,_0x9ac8b8['Inject'](_0x5bd788['CollaborationUIEventService'])),_0x14180c(0x3,_0x47fca6[_0x404ce7(0x3b9)]),_0x14180c(0x4,_0x47fca6[_0x404ce7(0x3be)]),_0x14180c(0x5,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x3db)]))],_0x3f71ea);const _0xe2c48f=_0x404ce7(0x18c),_0x109564={},_0x1271f7=_0x9ac8b8[_0x404ce7(0x2eb)](_0x404ce7(0x1dc));var _0x2738cf=Object[_0x404ce7(0x24f)],_0x5e1cce=(_0x4b8123,_0x2977db,_0x32ce60,_0x4c3d55)=>{for(var _0x9777a=_0x4c3d55>0x1?void 0x0:_0x4c3d55?_0x2738cf(_0x2977db,_0x32ce60):_0x2977db,_0x866ff4=_0x4b8123['length']-0x1,_0x3dfcaf;_0x866ff4>=0x0;_0x866ff4--)(_0x3dfcaf=_0x4b8123[_0x866ff4])&&(_0x9777a=_0x3dfcaf(_0x9777a)||_0x9777a);return _0x9777a;},_0x287d93=(_0xb8a24,_0x3f0683)=>(_0xc0ca05,_0x52aca6)=>_0x3f0683(_0xc0ca05,_0x52aca6,_0xb8a24);_0x243df5[_0x404ce7(0x2f0)]=class extends _0x9ac8b8[_0x404ce7(0x269)]{constructor(_0x2b764b,_0x4eb1ef,_0x48e0e6,_0x54341f,_0x33b5aa){const _0x3e8f8b=_0x404ce7;super(),this[_0x3e8f8b(0x1e4)]=_0x2b764b,this[_0x3e8f8b(0x3ba)]=_0x4eb1ef,this[_0x3e8f8b(0x334)]=_0x48e0e6,this[_0x3e8f8b(0x290)]=_0x54341f,_0x33b5aa?_0x33b5aa==null||_0x33b5aa[_0x3e8f8b(0x2c9)]()['then'](()=>this[_0x3e8f8b(0x1c1)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x3e8f8b(0x1e1)),this[_0x3e8f8b(0x1c1)]());}async[_0x404ce7(0x1c1)](){const _0x495975=_0x404ce7,_0x8f5dd=this[_0x495975(0x1e4)]['getParam'](_0x495975(0x3c3)),_0xdb464e=this['_urlService']['getParam']('type'),_0x50810e=this[_0x495975(0x1e4)][_0x495975(0x2e7)](_0x495975(0x2b1));if(!_0x8f5dd||!_0xdb464e){this[_0x495975(0x3ba)][_0x495975(0x1e6)](_0x495975(0x3fb),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4a498d=await this['_dataLoaderService'][_0x495975(0x32a)](_0x8f5dd,Number(_0xdb464e),_0x50810e);_0x4a498d&&_0x4a498d instanceof _0x9ac8b8[_0x495975(0x402)]&&this['_setupSubUnitSync'](_0x4a498d);}async[_0x404ce7(0x408)](_0x46556c){const _0x460282=_0x404ce7;await this[_0x460282(0x1ff)](_0x46556c),_0x46556c['activeSheet$'][_0x460282(0x287)](_0x42f3f5[_0x460282(0x2ea)](this[_0x460282(0x31d)]))[_0x460282(0x27f)](_0x350aa4=>{const _0x4b2dc5=_0x460282;_0x350aa4&&this[_0x4b2dc5(0x400)](_0x350aa4);}),this[_0x460282(0x1e4)]['urlChange$'][_0x460282(0x287)](_0x42f3f5['takeUntil'](this[_0x460282(0x31d)]))['subscribe'](()=>this[_0x460282(0x1ff)](_0x46556c));}[_0x404ce7(0x400)](_0x4a6aa7,_0x840474=!0x1){const _0x439563=_0x404ce7,_0x5f36a5=this['_urlService'][_0x439563(0x2e7)](_0x439563(0x2b1));_0x4a6aa7[_0x439563(0x32d)]()!==_0x5f36a5&&this[_0x439563(0x1e4)][_0x439563(0x1d0)]('subunit',_0x4a6aa7[_0x439563(0x32d)](),_0x840474);}async[_0x404ce7(0x1ff)](_0x15ee0a){const _0x3dc866=_0x404ce7;var _0x14abc6;const _0x2fe40e=this['_urlService'][_0x3dc866(0x2e7)](_0x3dc866(0x2b1));if(!_0x2fe40e||!_0x15ee0a['getSheetBySheetId'](_0x2fe40e)){const _0x49b01d=_0x15ee0a[_0x3dc866(0x237)]()[0x0],_0x2f87a4=_0x15ee0a[_0x3dc866(0x270)](_0x49b01d);if(!_0x2f87a4)return;this['_updateURLWithCurrentState'](_0x2f87a4,!0x0),await this[_0x3dc866(0x334)][_0x3dc866(0x2e1)](_0x3bf02d[_0x3dc866(0x3fe)]['id'],{'unitId':_0x15ee0a[_0x3dc866(0x3bb)](),'subUnitId':_0x49b01d});return;}((_0x14abc6=_0x15ee0a[_0x3dc866(0x199)]())==null?void 0x0:_0x14abc6['getSheetId']())!==_0x2fe40e&&await this[_0x3dc866(0x334)][_0x3dc866(0x2e1)](_0x3bf02d[_0x3dc866(0x3fe)]['id'],{'unitId':_0x15ee0a[_0x3dc866(0x3bb)](),'subUnitId':_0x2fe40e});}},_0x243df5[_0x404ce7(0x2f0)]=_0x5e1cce([_0x287d93(0x0,_0x1271f7),_0x287d93(0x1,_0x9ac8b8[_0x404ce7(0x265)]),_0x287d93(0x2,_0x9ac8b8[_0x404ce7(0x2ec)]),_0x287d93(0x3,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5bd788[_0x404ce7(0x296)])),_0x287d93(0x4,_0x9ac8b8['Optional'](_0x1d5b11[_0x404ce7(0x20e)]))],_0x243df5[_0x404ce7(0x2f0)]);var _0x2d9755=Object[_0x404ce7(0x24f)],_0x46e393=(_0x45df1d,_0x5cd2a5,_0x10015a,_0x2203f8)=>{const _0x1a27e8=_0x404ce7;for(var _0x1b2a4d=_0x2203f8>0x1?void 0x0:_0x2203f8?_0x2d9755(_0x5cd2a5,_0x10015a):_0x5cd2a5,_0x2feb0a=_0x45df1d[_0x1a27e8(0x28b)]-0x1,_0x59ec77;_0x2feb0a>=0x0;_0x2feb0a--)(_0x59ec77=_0x45df1d[_0x2feb0a])&&(_0x1b2a4d=_0x59ec77(_0x1b2a4d)||_0x1b2a4d);return _0x1b2a4d;},_0x36879d=(_0x2557de,_0x119537)=>(_0x4e3ed6,_0x4f79ef)=>_0x119537(_0x4e3ed6,_0x4f79ef,_0x2557de);let _0x592893=class{constructor(_0x4af934,_0x2f5d8f,_0x44e2aa){const _0x571dd1=_0x404ce7;this[_0x571dd1(0x24e)]=_0x4af934,this[_0x571dd1(0x3cf)]=_0x2f5d8f,this['_renderManagerService']=_0x44e2aa;}[_0x404ce7(0x380)](_0x36f76c){const _0x5212d4=_0x404ce7;this[_0x5212d4(0x27a)](_0x36f76c),this[_0x5212d4(0x2ad)](_0x36f76c);}[_0x404ce7(0x2ac)](_0x59e96d){const _0x56bc49=_0x404ce7,{unitID:_0x361000}=_0x59e96d,_0x3d801c=this[_0x56bc49(0x25c)][_0x56bc49(0x360)](_0x361000)[_0x56bc49(0x344)](_0x5888c2['DocIMEInputManagerService']),{redoCache:_0x42cbef}=_0x3d801c[_0x56bc49(0x3cc)]();if(_0x42cbef['length']===0x0)return _0x59e96d;let _0x84401d=_0x9ac8b8[_0x56bc49(0x2b3)][_0x56bc49(0x31c)](_0x59e96d[_0x56bc49(0x193)][0x0]);for(let _0x55966d=0x0;_0x55966d<_0x42cbef[_0x56bc49(0x28b)];_0x55966d++){const _0x3f8b72={'id':'doc.mutation.rich-text-editing','params':{..._0x42cbef[_0x55966d]}},_0x5e3bd3=this[_0x56bc49(0x3cf)][_0x56bc49(0x319)](_0x84401d,_0x3f8b72,!0x1);if(_0x559617[_0x56bc49(0x1b6)](_0x5e3bd3))throw _0x5e3bd3['error'];_0x84401d=_0x5e3bd3['m1Prime'];}return{..._0x9ac8b8['Tools'][_0x56bc49(0x31c)](_0x59e96d),'mutations':[_0x84401d]};}[_0x404ce7(0x27a)](_0x58360f){const _0x49a2d6=_0x404ce7,{unitID:_0x3e08b1}=_0x58360f,_0x50d992=this[_0x49a2d6(0x25c)]['getRenderById'](_0x3e08b1)['with'](_0x5888c2[_0x49a2d6(0x348)]),{undoCache:_0xfdf812,redoCache:_0x20c7d6}=_0x50d992[_0x49a2d6(0x3cc)]();if(_0xfdf812[_0x49a2d6(0x28b)]===0x0||_0x20c7d6[_0x49a2d6(0x28b)]===0x0)return;const _0x3df49e=[],_0x2ee9cf=[];let _0x16077e=_0x9ac8b8['Tools'][_0x49a2d6(0x31c)](_0x58360f['mutations'][0x0]),_0x51ed30=_0x9ac8b8[_0x49a2d6(0x2b3)]['deepClone'](_0x58360f[_0x49a2d6(0x193)][0x0]);for(let _0x2cf715=_0xfdf812[_0x49a2d6(0x28b)]-0x1;_0x2cf715>=0x0;_0x2cf715--){const _0x3fef5a={'id':_0x49a2d6(0x2f4),'params':{..._0xfdf812[_0x2cf715]}},_0x2bcabf={'id':_0x49a2d6(0x2f4),'params':{..._0x20c7d6[_0x2cf715]}},_0x399857=this[_0x49a2d6(0x3cf)][_0x49a2d6(0x319)](_0x16077e,_0x3fef5a,!0x1),_0x1d76cc=this['_transformService'][_0x49a2d6(0x319)](_0x51ed30,_0x2bcabf,!0x1);if(_0x559617[_0x49a2d6(0x1b6)](_0x399857))throw _0x399857[_0x49a2d6(0x1c4)];if(_0x559617[_0x49a2d6(0x1b6)](_0x1d76cc))throw _0x1d76cc[_0x49a2d6(0x1c4)];_0x3df49e['unshift'](_0x399857[_0x49a2d6(0x2b0)][_0x49a2d6(0x26e)]),_0x2ee9cf['unshift'](_0x1d76cc[_0x49a2d6(0x2b0)]['params']),_0x16077e=_0x399857['m1Prime'],_0x51ed30=_0x1d76cc[_0x49a2d6(0x338)];}_0x50d992[_0x49a2d6(0x2c4)]({'undoCache':_0x3df49e,'redoCache':_0x2ee9cf});}[_0x404ce7(0x2ad)](_0x456c68){const _0x25556a=_0x404ce7,{unitID:_0x216689}=_0x456c68,_0x401069=this[_0x25556a(0x25c)][_0x25556a(0x360)](_0x216689)['with'](_0x5888c2[_0x25556a(0x348)]),_0x53b8f4=_0x401069[_0x25556a(0x1d7)]();if(_0x53b8f4==null)return;const _0x1a95e8=[{'id':_0x25556a(0x2f4),'params':{'unitId':_0x456c68['unitID'],'actions':null,'textRanges':[_0x53b8f4]}}],_0x25e5a4=this['_transformService'][_0x25556a(0x3e6)](_0x456c68,_0x1a95e8);if(!_0x559617[_0x25556a(0x3de)](_0x25e5a4))throw _0x25e5a4['error'];const _0x4f02f2=_0x25e5a4[_0x25556a(0x2b0)][0x0]['params'][_0x25556a(0x2cc)];Array['isArray'](_0x4f02f2)&&_0x4f02f2['length']&&_0x401069[_0x25556a(0x406)](_0x4f02f2[0x0]);}};_0x592893=_0x46e393([_0x36879d(0x0,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x39c)])),_0x36879d(0x1,_0x559617[_0x404ce7(0x1ed)]),_0x36879d(0x2,_0x127f35[_0x404ce7(0x18b)])],_0x592893);var _0x3bf769=Object[_0x404ce7(0x24f)],_0x3e9906=(_0x5ca94c,_0x3f4ad1,_0x193517,_0x59462d)=>{const _0x256893=_0x404ce7;for(var _0x129c08=_0x59462d>0x1?void 0x0:_0x59462d?_0x3bf769(_0x3f4ad1,_0x193517):_0x3f4ad1,_0x3941f2=_0x5ca94c[_0x256893(0x28b)]-0x1,_0x30cbe4;_0x3941f2>=0x0;_0x3941f2--)(_0x30cbe4=_0x5ca94c[_0x3941f2])&&(_0x129c08=_0x30cbe4(_0x129c08)||_0x129c08);return _0x129c08;},_0x9823a6=(_0x514f5e,_0x306fa8)=>(_0x3defa2,_0x268c39)=>_0x306fa8(_0x3defa2,_0x268c39,_0x514f5e);let _0x59af12=class{constructor(_0x1e9682,_0x3fc412,_0x9d7c68){const _0x20f9e1=_0x404ce7;this[_0x20f9e1(0x24e)]=_0x1e9682,this[_0x20f9e1(0x3cf)]=_0x3fc412,this[_0x20f9e1(0x2cf)]=_0x9d7c68;}[_0x404ce7(0x205)](_0x4ec7a4){const _0xf1bde6=_0x404ce7;this[_0xf1bde6(0x347)](_0x4ec7a4);}[_0x404ce7(0x2ac)](_0x144ccc){const _0x54fc6a=_0x404ce7,{unitID:_0x32af4f}=_0x144ccc,{collaboration:_0x32f8c9}=this[_0x54fc6a(0x2cf)][_0x54fc6a(0x2c6)](_0x32af4f);if(_0x32f8c9['length']===0x0)return _0x144ccc;let _0x20421c=_0x9ac8b8[_0x54fc6a(0x2b3)][_0x54fc6a(0x31c)](_0x144ccc[_0x54fc6a(0x193)][0x0]);for(let _0x2742d5=0x0;_0x2742d5<_0x32f8c9[_0x54fc6a(0x28b)];_0x2742d5++){const _0x449ca0={'id':_0x54fc6a(0x2f4),'params':{'unitId':_0x32f8c9[_0x2742d5][_0x54fc6a(0x349)],..._0x32f8c9[_0x2742d5][_0x54fc6a(0x220)]}},_0x4360b5=this[_0x54fc6a(0x3cf)]['transformMutation'](_0x20421c,_0x449ca0,!0x1);if(_0x559617['isTransformMutationFailure'](_0x4360b5))throw _0x4360b5['error'];_0x20421c=_0x4360b5[_0x54fc6a(0x338)];}return{..._0x9ac8b8[_0x54fc6a(0x2b3)][_0x54fc6a(0x31c)](_0x144ccc),'mutations':[_0x20421c]};}[_0x404ce7(0x347)](_0x14cb57){const _0x143b99=_0x404ce7,{unitID:_0x4b35b9}=_0x14cb57,{history:_0x4257a5,collaboration:_0x322809}=this[_0x143b99(0x2cf)]['getStateCache'](_0x4b35b9);if(_0x4257a5[_0x143b99(0x28b)]===0x0&&_0x322809[_0x143b99(0x28b)]===0x0)return;const _0x40bcde=[],_0x8f7edd=[];let _0x214d7f=_0x9ac8b8[_0x143b99(0x2b3)][_0x143b99(0x31c)](_0x14cb57[_0x143b99(0x193)][0x0]),_0x2c81b3=_0x9ac8b8[_0x143b99(0x2b3)]['deepClone'](_0x14cb57[_0x143b99(0x193)][0x0]);for(let _0x1fe04e=_0x4257a5['length']-0x1;_0x1fe04e>=0x0;_0x1fe04e--){const _0x5e4f4b={'id':_0x143b99(0x2f4),'params':{'unitId':_0x4257a5[_0x1fe04e][_0x143b99(0x349)],..._0x4257a5[_0x1fe04e][_0x143b99(0x34c)]}},_0x5916e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4257a5[_0x1fe04e]['unitId'],..._0x4257a5[_0x1fe04e][_0x143b99(0x220)]}},_0x35e9fe=this[_0x143b99(0x3cf)][_0x143b99(0x319)](_0x214d7f,_0x5e4f4b,!0x1),_0x2439f1=this[_0x143b99(0x3cf)]['transformMutation'](_0x2c81b3,_0x5916e0,!0x1);if(_0x559617[_0x143b99(0x1b6)](_0x35e9fe))throw _0x35e9fe[_0x143b99(0x1c4)];if(_0x559617[_0x143b99(0x1b6)](_0x2439f1))throw _0x2439f1[_0x143b99(0x1c4)];_0x40bcde[_0x143b99(0x362)]({..._0x4257a5[_0x1fe04e],'undoState':_0x35e9fe[_0x143b99(0x2b0)][_0x143b99(0x26e)],'redoState':_0x2439f1['m2Prime']['params']}),_0x214d7f=_0x35e9fe[_0x143b99(0x338)],_0x2c81b3=_0x2439f1[_0x143b99(0x338)];}_0x214d7f=_0x9ac8b8[_0x143b99(0x2b3)][_0x143b99(0x31c)](_0x14cb57['mutations'][0x0]),_0x2c81b3=_0x9ac8b8[_0x143b99(0x2b3)]['deepClone'](_0x14cb57[_0x143b99(0x193)][0x0]);for(let _0x5c3199=_0x322809['length']-0x1;_0x5c3199>=0x0;_0x5c3199--){const _0x7cff8d={'id':_0x143b99(0x2f4),'params':{'unitId':_0x322809[_0x5c3199][_0x143b99(0x349)],..._0x322809[_0x5c3199][_0x143b99(0x34c)]}},_0xe2d36c={'id':_0x143b99(0x2f4),'params':{'unitId':_0x322809[_0x5c3199][_0x143b99(0x349)],..._0x322809[_0x5c3199]['redoState']}},_0x2bdc0b=this[_0x143b99(0x3cf)][_0x143b99(0x319)](_0x214d7f,_0x7cff8d,!0x1),_0x47821e=this['_transformService'][_0x143b99(0x319)](_0x2c81b3,_0xe2d36c,!0x1);if(_0x559617[_0x143b99(0x1b6)](_0x2bdc0b))throw _0x2bdc0b[_0x143b99(0x1c4)];if(_0x559617[_0x143b99(0x1b6)](_0x47821e))throw _0x47821e['error'];_0x8f7edd['unshift']({..._0x322809[_0x5c3199],'undoState':_0x2bdc0b[_0x143b99(0x2b0)]['params'],'redoState':_0x47821e['m2Prime'][_0x143b99(0x26e)]}),_0x214d7f=_0x2bdc0b[_0x143b99(0x338)],_0x2c81b3=_0x47821e['m1Prime'];}this[_0x143b99(0x2cf)][_0x143b99(0x345)](_0x4b35b9,{'history':_0x40bcde,'collaboration':_0x8f7edd});}};_0x59af12=_0x3e9906([_0x9823a6(0x0,_0x9ac8b8['Inject'](_0x9ac8b8['Injector'])),_0x9823a6(0x1,_0x559617[_0x404ce7(0x1ed)]),_0x9823a6(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5888c2['DocStateChangeManagerService']))],_0x59af12);var _0x56f63b=Object['getOwnPropertyDescriptor'],_0x2993df=(_0x99dc53,_0x2799f5,_0x5f11b4,_0x215f66)=>{const _0x13e449=_0x404ce7;for(var _0x3f5439=_0x215f66>0x1?void 0x0:_0x215f66?_0x56f63b(_0x2799f5,_0x5f11b4):_0x2799f5,_0x546fba=_0x99dc53[_0x13e449(0x28b)]-0x1,_0x1ae44a;_0x546fba>=0x0;_0x546fba--)(_0x1ae44a=_0x99dc53[_0x546fba])&&(_0x3f5439=_0x1ae44a(_0x3f5439)||_0x3f5439);return _0x3f5439;},_0x3b1b2a=(_0x29dc19,_0x290e39)=>(_0x522a78,_0x450d33)=>_0x290e39(_0x522a78,_0x450d33,_0x29dc19);let _0x37fc53=class{constructor(_0x55a4fd,_0x2f0cfd){const _0x1c1ab0=_0x404ce7;this[_0x1c1ab0(0x24e)]=_0x55a4fd,this[_0x1c1ab0(0x3cf)]=_0x2f0cfd;}[_0x404ce7(0x1c9)](_0x468602){const _0x57327d=_0x404ce7;var _0x5a9b31;const _0x43b6b0=this[_0x57327d(0x24e)]['get'](_0x475cdc[_0x57327d(0x2a5)]),_0x489c0e=(_0x5a9b31=_0x43b6b0[_0x57327d(0x2fa)]())!=null?_0x5a9b31:[];if(_0x489c0e[_0x57327d(0x28b)]===0x0)return;const _0xd6d3e1=_0x468602[_0x57327d(0x370)],_0x22574f=[{'id':_0x57327d(0x2f4),'params':{'unitId':_0xd6d3e1,'actions':null,'textRanges':_0x489c0e}}],_0x2f4872=this[_0x57327d(0x3cf)][_0x57327d(0x3e6)](_0x468602,_0x22574f);if(!_0x559617[_0x57327d(0x3de)](_0x2f4872))throw _0x2f4872['error'];const _0x476ec0=_0x2f4872[_0x57327d(0x2b0)][0x0]['params'][_0x57327d(0x2cc)];Array[_0x57327d(0x3f8)](_0x476ec0)&&_0x476ec0['length']&&_0x43b6b0['replaceDocRanges'](_0x476ec0,{'unitId':_0xd6d3e1,'subUnitId':_0xd6d3e1},!0x1);}};_0x37fc53=_0x2993df([_0x3b1b2a(0x0,_0x9ac8b8['Inject'](_0x9ac8b8[_0x404ce7(0x39c)])),_0x3b1b2a(0x1,_0x559617['ITransformService'])],_0x37fc53);var _0x114451=Object['getOwnPropertyDescriptor'],_0x286cc9=(_0xcb0b26,_0x3c2e23,_0x2352bc,_0x5c8bb0)=>{const _0x38f401=_0x404ce7;for(var _0x4172a8=_0x5c8bb0>0x1?void 0x0:_0x5c8bb0?_0x114451(_0x3c2e23,_0x2352bc):_0x3c2e23,_0xe391f1=_0xcb0b26[_0x38f401(0x28b)]-0x1,_0x394387;_0xe391f1>=0x0;_0xe391f1--)(_0x394387=_0xcb0b26[_0xe391f1])&&(_0x4172a8=_0x394387(_0x4172a8)||_0x4172a8);return _0x4172a8;},_0x37be0d=(_0x3f357f,_0x3bb74e)=>(_0x5cece,_0x466f99)=>_0x3bb74e(_0x5cece,_0x466f99,_0x3f357f);let _0x5a6368=class extends _0x9ac8b8['Disposable']{constructor(_0xa0add7,_0x27c324,_0x28db81,_0x16626e,_0x18bd32,_0x22e115,_0x58c7a4,_0x3f8e8c){const _0x2885e0=_0x404ce7;super(),_0x4bb0b3(this,'_status$',new _0x42f3f5[(_0x2885e0(0x1e7))](_0x5bd788[_0x2885e0(0x308)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xa0add7,this['_collaborationController']=_0x27c324,this[_0x2885e0(0x260)]=_0x28db81,this[_0x2885e0(0x315)]=_0x16626e,this['_docTransformSelectionsService']=_0x18bd32,this[_0x2885e0(0x19e)]=_0x22e115,this['_messageService']=_0x58c7a4,this[_0x2885e0(0x40e)]=_0x3f8e8c,this[_0x2885e0(0x412)]());}[_0x404ce7(0x412)](){const _0x4dbaca=_0x404ce7;this[_0x4dbaca(0x22a)](this[_0x4dbaca(0x3ac)][_0x4dbaca(0x37a)][_0x4dbaca(0x27f)](_0x277d5f=>{const _0x438653=_0x4dbaca,_0x25d712=this[_0x438653(0x2cf)][_0x438653(0x3ef)]['subscribe'](_0x16fb9d=>{const _0x5e4a60=_0x438653;if(_0x16fb9d==null)return;const {unitId:_0x32ba19,redoState:_0x25fca5,commandId:_0x578252}=_0x16fb9d;if(_0x32ba19!==_0x277d5f[_0x5e4a60(0x370)])return;const _0x1eddf6={'id':_0x578252,'type':_0x9ac8b8['CommandType'][_0x5e4a60(0x34b)],'params':{'unitId':_0x32ba19,'actions':_0x25fca5[_0x5e4a60(0x274)],'textRanges':null}};_0x277d5f[_0x5e4a60(0x395)](_0x1eddf6);});if(_0x277d5f['disposeWithMe'](_0x25d712),_0x277d5f instanceof _0x5bd788['DocCollaborationEntity']){const _0x34b6c1={'onTransformIME':_0x2d9f12=>this[_0x438653(0x260)][_0x438653(0x380)](_0x2d9f12),'onTransformState':_0x26ed17=>this[_0x438653(0x315)]['transformStateCache'](_0x26ed17),'onTransformSelections':_0x226db1=>this[_0x438653(0x1b3)][_0x438653(0x1c9)](_0x226db1),'onSyncEditingCollabCursor':_0x449281=>this['_docSyncEditingCollabCursorService'][_0x438653(0x285)](_0x449281),'onTransformRemoteChangesetByIMECache':_0x328d8c=>this[_0x438653(0x260)][_0x438653(0x2ac)](_0x328d8c),'onTransformRemoteChangesetByStateCache':_0x4caee3=>this['_docTransformStateCacheService'][_0x438653(0x2ac)](_0x4caee3)};_0x277d5f[_0x438653(0x1cc)](_0x34b6c1);}}));}};_0x5a6368=_0x286cc9([_0x37be0d(0x0,_0x9ac8b8[_0x404ce7(0x2b9)](_0x5888c2[_0x404ce7(0x26f)])),_0x37be0d(0x1,_0x9ac8b8['Inject'](_0x5bd788[_0x404ce7(0x35f)])),_0x37be0d(0x2,_0x9ac8b8['Inject'](_0x592893)),_0x37be0d(0x3,_0x9ac8b8[_0x404ce7(0x2b9)](_0x59af12)),_0x37be0d(0x4,_0x9ac8b8[_0x404ce7(0x2b9)](_0x37fc53)),_0x37be0d(0x5,_0x9ac8b8['Inject'](_0x211350)),_0x37be0d(0x6,_0x47fca6['IMessageService']),_0x37be0d(0x7,_0x9ac8b8['Inject'](_0x9ac8b8[_0x404ce7(0x3db)]))],_0x5a6368);var _0x13d823=Object[_0x404ce7(0x24f)],_0x483941=(_0x29f78a,_0x4bf35a,_0x10ddbc,_0x1c112a)=>{const _0x443380=_0x404ce7;for(var _0xc13182=_0x1c112a>0x1?void 0x0:_0x1c112a?_0x13d823(_0x4bf35a,_0x10ddbc):_0x4bf35a,_0x52b66b=_0x29f78a[_0x443380(0x28b)]-0x1,_0x28c8af;_0x52b66b>=0x0;_0x52b66b--)(_0x28c8af=_0x29f78a[_0x52b66b])&&(_0xc13182=_0x28c8af(_0xc13182)||_0xc13182);return _0xc13182;},_0xa04408=(_0x2f579e,_0x4ae1f8)=>(_0xde9c63,_0xa24796)=>_0x4ae1f8(_0xde9c63,_0xa24796,_0x2f579e);let _0x33696e=class extends _0x9ac8b8['Disposable']{constructor(_0x481476,_0x32baf9,_0x25b95e){const _0x2b0a06=_0x404ce7;super(),_0x4bb0b3(this,'_cachedData',new Map()),_0x4bb0b3(this,_0x2b0a06(0x216),new Map()),_0x4bb0b3(this,_0x2b0a06(0x1b2),!0x1),(this[_0x2b0a06(0x263)]=_0x481476,this['_localStorageService']=_0x32baf9,this[_0x2b0a06(0x3e3)]=_0x25b95e);}[_0x404ce7(0x413)](){this['_disabled']=!0x0;}[_0x404ce7(0x2d4)](){this['_disabled']=!0x1;}get[_0x404ce7(0x191)](){const _0x54f14d=_0x404ce7;return this[_0x54f14d(0x216)];}[_0x404ce7(0x2d3)](){const _0x2e0e0c=_0x404ce7;this[_0x2e0e0c(0x350)]()['then'](()=>super['dispose']());}async[_0x404ce7(0x23b)](_0x3e3281){const _0x50cbe2=_0x404ce7;return this['_disabled']?null:this[_0x50cbe2(0x257)][_0x50cbe2(0x3d1)](_0x5bd788['getLocalCacheKey'](_0x3e3281));}async['saveOfflineData'](_0x4a82ff,_0x483582){const _0x11a37c=_0x404ce7;return!!this[_0x11a37c(0x257)][_0x11a37c(0x32b)](_0x4a82ff,_0x483582);}[_0x404ce7(0x218)](_0x3021a4,_0x20e34e,_0x17b388,_0x3990c9){const _0x58dda4=_0x404ce7,_0x37e745=this[_0x58dda4(0x3e3)][_0x58dda4(0x20b)](_0x3021a4);this[_0x58dda4(0x204)][_0x58dda4(0x256)](_0x3021a4,{'unitID':_0x3021a4,'type':_0x20e34e,'awaitingChangeset':_0x17b388,'mutations':_0x3990c9,'rev':_0x37e745}),this[_0x58dda4(0x216)][_0x58dda4(0x26c)](_0x3021a4)||this[_0x58dda4(0x302)](_0x3021a4);}[_0x404ce7(0x302)](_0x566568){const _0x4f5103=_0x404ce7,_0x40d978=this[_0x4f5103(0x317)]();_0x40d978===0x0?this['_saveCache'](_0x566568):this['_saveTaskMap'][_0x4f5103(0x256)](_0x566568,setTimeout(()=>this[_0x4f5103(0x3af)](_0x566568),_0x40d978));}[_0x404ce7(0x317)](){const _0x110a50=_0x404ce7;var _0x55c854;return(_0x55c854=this[_0x110a50(0x263)]['getConfig'](_0x5bd788['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x55c854:_0x5bd788[_0x110a50(0x239)];}[_0x404ce7(0x3af)](_0x3935ad){const _0x1e1712=_0x404ce7,_0x14dc39=this[_0x1e1712(0x216)]['get'](_0x3935ad);return _0x14dc39!==void 0x0&&window[_0x1e1712(0x187)](_0x14dc39),this[_0x1e1712(0x257)]['setItem'](_0x5bd788[_0x1e1712(0x2e4)](_0x3935ad),this['_cachedData'][_0x1e1712(0x266)](_0x3935ad))[_0x1e1712(0x3e9)](()=>this[_0x1e1712(0x216)][_0x1e1712(0x3c9)](_0x3935ad));}async[_0x404ce7(0x350)](){const _0x1a4386=_0x404ce7,_0x238152=[];this[_0x1a4386(0x216)][_0x1a4386(0x36b)]((_0x9f421a,_0x56719e)=>{const _0x4c1e8a=_0x1a4386;window[_0x4c1e8a(0x187)](_0x9f421a),_0x238152[_0x4c1e8a(0x1cf)](this[_0x4c1e8a(0x3af)](_0x56719e)['then'](()=>{const _0x22a667=_0x4c1e8a;this[_0x22a667(0x216)][_0x22a667(0x3c9)](_0x56719e);}));}),await Promise['all'](_0x238152);}};_0x33696e=_0x483941([_0xa04408(0x0,_0x9ac8b8['IConfigService']),_0xa04408(0x1,_0x9ac8b8['ILocalStorageService']),_0xa04408(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x559617[_0x404ce7(0x3ea)]))],_0x33696e);class _0x317689 extends _0x9ac8b8[_0x404ce7(0x269)]{constructor(){const _0x218d50=_0x404ce7;super(),_0x4bb0b3(this,_0x218d50(0x1e5)),this['urlChange$']=_0x42f3f5['fromEvent'](window,_0x218d50(0x415))[_0x218d50(0x287)](_0x42f3f5[_0x218d50(0x2ea)](this[_0x218d50(0x31d)]),_0x42f3f5['shareReplay'](0x1),_0x42f3f5[_0x218d50(0x35e)](void 0x0));}[_0x404ce7(0x1d0)](_0x1ace07,_0x120e22,_0x478ec3=!0x1){const _0x4f0026=_0x404ce7,_0x54ee66=new URL(window['location'][_0x4f0026(0x2ed)]);_0x54ee66[_0x4f0026(0x261)][_0x4f0026(0x256)](_0x1ace07,_0x120e22),_0x478ec3?window['history'][_0x4f0026(0x3d2)]('','',_0x54ee66[_0x4f0026(0x293)]()):window[_0x4f0026(0x1c7)][_0x4f0026(0x37f)]('','',_0x54ee66['toString']());}[_0x404ce7(0x37e)](_0x22c282,_0x1adc89=!0x1){const _0x383641=_0x404ce7,_0x41f740=new URL(window[_0x383641(0x361)][_0x383641(0x2ed)]);_0x41f740[_0x383641(0x261)][_0x383641(0x3c9)](_0x22c282),_0x1adc89?window['history'][_0x383641(0x3d2)]('','',_0x41f740[_0x383641(0x293)]()):window[_0x383641(0x1c7)][_0x383641(0x37f)]('','',_0x41f740[_0x383641(0x293)]());}[_0x404ce7(0x2e7)](_0xdd2a2b){const _0x915bbf=_0x404ce7;var _0x23ece8;return(_0x23ece8=new URL(window['location'][_0x915bbf(0x2ed)])[_0x915bbf(0x261)][_0x915bbf(0x266)](_0xdd2a2b))!=null?_0x23ece8:void 0x0;}}var _0x504032=Object[_0x404ce7(0x26b)],_0x13d280=Object[_0x404ce7(0x24f)],_0x336742=(_0x276d01,_0x3e3f25,_0x498ee7)=>_0x3e3f25 in _0x276d01?_0x504032(_0x276d01,_0x3e3f25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x498ee7}):_0x276d01[_0x3e3f25]=_0x498ee7,_0x937f3e=(_0x2ae59d,_0x4c7738,_0x42a0f4,_0x51be7f)=>{for(var _0x3955db=_0x51be7f>0x1?void 0x0:_0x51be7f?_0x13d280(_0x4c7738,_0x42a0f4):_0x4c7738,_0x3f95c1=_0x2ae59d['length']-0x1,_0x801842;_0x3f95c1>=0x0;_0x3f95c1--)(_0x801842=_0x2ae59d[_0x3f95c1])&&(_0x3955db=_0x801842(_0x3955db)||_0x3955db);return _0x3955db;},_0x42ca15=(_0x218ab1,_0x58fe14)=>(_0xb087b8,_0x5bddb2)=>_0x58fe14(_0xb087b8,_0x5bddb2,_0x218ab1),_0x26ee1a=(_0x1215fe,_0x4892af,_0x517ee6)=>_0x336742(_0x1215fe,_0x4892af+'',_0x517ee6);const _0x5a90ea='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x243df5[_0x404ce7(0x1b8)]=class extends _0x9ac8b8['Plugin']{constructor(_0x2a7acd=_0x109564,_0x6c9df2,_0x371e6d,_0x447eb7){const _0x2da8aa=_0x404ce7;super(),this[_0x2da8aa(0x29a)]=_0x2a7acd,this[_0x2da8aa(0x25c)]=_0x6c9df2,this[_0x2da8aa(0x24e)]=_0x371e6d,this[_0x2da8aa(0x263)]=_0x447eb7;const {..._0x23d3cb}=_0x9ac8b8[_0x2da8aa(0x25a)]({},_0x109564,this[_0x2da8aa(0x29a)]);this[_0x2da8aa(0x263)][_0x2da8aa(0x232)](_0xe2c48f,_0x23d3cb);}[_0x404ce7(0x2a3)](){const _0x45159a=_0x404ce7;this[_0x45159a(0x1db)](),this[_0x45159a(0x300)]();}[_0x404ce7(0x2b6)](){const _0x498be4=_0x404ce7;this[_0x498be4(0x2e6)]();}[_0x404ce7(0x1db)](){const _0x1cdba0=_0x404ce7;var _0x9b4f7;const _0x258af6=[[_0x2d8d96],[_0x37fc53],[_0x592893],[_0x59af12],[_0x211350],[_0x1271f7,{'useClass':_0x317689}],[_0x1221cf[_0x1cdba0(0x1c8)],{'useClass':_0x1221cf[_0x1cdba0(0x39a)]}],[_0x5bd788['ILocalCacheService'],{'useClass':_0x33696e}],[_0x243df5[_0x1cdba0(0x238)]],[_0x5a6368],[_0x3f71ea],[_0x3b9d90],[_0x4bd81c],[_0x243df5[_0x1cdba0(0x2f0)]]];_0x9ac8b8[_0x1cdba0(0x359)](this['_injector'],_0x9ac8b8[_0x1cdba0(0x314)](_0x258af6,(_0x9b4f7=this[_0x1cdba0(0x29a)])==null?void 0x0:_0x9b4f7[_0x1cdba0(0x32e)]));}[_0x404ce7(0x2e6)](){const _0x236d87=_0x404ce7;this[_0x236d87(0x22a)](this['_renderManagerService'][_0x236d87(0x2b8)](_0x9ac8b8['UniverInstanceType'][_0x236d87(0x2d7)],[_0xd2c1bf])),this[_0x236d87(0x22a)](this['_renderManagerService'][_0x236d87(0x2b8)](_0x9ac8b8[_0x236d87(0x2aa)][_0x236d87(0x364)],[_0x5afaa0]));}[_0x404ce7(0x300)](){const _0x25a8be=_0x404ce7;_0x9ac8b8[_0x25a8be(0x33f)](this[_0x25a8be(0x24e)],[[_0x3b9d90],[_0x243df5[_0x25a8be(0x238)]],[_0x5a6368],[_0x3f71ea],[_0x243df5[_0x25a8be(0x2f0)]]]);}},_0x26ee1a(_0x243df5[_0x404ce7(0x1b8)],'pluginName',_0x5a90ea),_0x243df5[_0x404ce7(0x1b8)]=_0x937f3e([_0x9ac8b8[_0x404ce7(0x33a)](_0x5bd788['UniverCollaborationClientPlugin']),_0x42ca15(0x1,_0x127f35[_0x404ce7(0x18b)]),_0x42ca15(0x2,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8[_0x404ce7(0x39c)])),_0x42ca15(0x3,_0x9ac8b8[_0x404ce7(0x253)])],_0x243df5['UniverCollaborationClientUIPlugin']);var _0x3ae338=Object[_0x404ce7(0x24f)],_0x259a91=(_0xf1fc0c,_0xad44f4,_0x37b95b,_0x168e65)=>{for(var _0x1bfdd9=_0x168e65>0x1?void 0x0:_0x168e65?_0x3ae338(_0xad44f4,_0x37b95b):_0xad44f4,_0x5d88fe=_0xf1fc0c['length']-0x1,_0x195ed5;_0x5d88fe>=0x0;_0x5d88fe--)(_0x195ed5=_0xf1fc0c[_0x5d88fe])&&(_0x1bfdd9=_0x195ed5(_0x1bfdd9)||_0x1bfdd9);return _0x1bfdd9;},_0x2c3b4c=(_0x473102,_0xdaf520)=>(_0x481281,_0x9b4802)=>_0xdaf520(_0x481281,_0x9b4802,_0x473102);_0x243df5[_0x404ce7(0x295)]=class extends _0x5bd788[_0x404ce7(0x1c2)]{constructor(_0x5193e1,_0x4b7577,_0x15074b,_0x3d3967,_0x39f88b){super(_0x5193e1,_0x4b7577,_0x15074b,_0x3d3967,_0x39f88b);}async[_0x404ce7(0x18d)](_0x4ab4c9){const _0x655255=_0x404ce7,_0x30b1e0=await this['_getSessionTicket'](),_0x33f309=this['_createSocketURL'](_0x4ab4c9,_0x30b1e0);return this[_0x655255(0x2d9)](_0x33f309);}[_0x404ce7(0x3a0)](_0x759932,_0x89edba){const _0x4eb6de=_0x404ce7,_0x380a05=typeof window>'u'?new URL(_0x759932):new URL(_0x759932,window[_0x4eb6de(0x361)][_0x4eb6de(0x1a3)]);_0x380a05['searchParams']['set'](_0x4eb6de(0x3cd),_0x89edba);const _0x57c7b8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4eb6de(0x361)][_0x4eb6de(0x392)]);return _0x57c7b8[_0x4eb6de(0x266)](_0x4eb6de(0x376))&&_0x380a05[_0x4eb6de(0x261)]['set'](_0x4eb6de(0x376),_0x57c7b8['get']('runId')),_0x380a05['toString']();}async[_0x404ce7(0x1da)](){const _0x211f1b=_0x404ce7;var _0x3dd3fc,_0x1013f8,_0x3d06d9;const _0x4ece04=this[_0x211f1b(0x263)][_0x211f1b(0x1e3)](_0x5bd788['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b59f6=(_0x3dd3fc=_0x4ece04==null?void 0x0:_0x4ece04[_0x211f1b(0x250)])!=null?_0x3dd3fc:_0x5bd788[_0x211f1b(0x2af)];return(_0x3d06d9=(_0x1013f8=(await this[_0x211f1b(0x180)][_0x211f1b(0x266)](_0x1b59f6,{'headers':{'Content-Type':_0x211f1b(0x40c)}}))[_0x211f1b(0x29b)])==null?void 0x0:_0x1013f8[_0x211f1b(0x390)])!=null?_0x3d06d9:'';}},_0x243df5[_0x404ce7(0x295)]=_0x259a91([_0x2c3b4c(0x0,_0x9ac8b8[_0x404ce7(0x2b9)](_0x9ac8b8['Injector'])),_0x2c3b4c(0x1,_0x9ac8b8['Inject'](_0x1221cf[_0x404ce7(0x324)])),_0x2c3b4c(0x2,_0x9ac8b8[_0x404ce7(0x253)]),_0x2c3b4c(0x3,_0x9ac8b8[_0x404ce7(0x265)]),_0x2c3b4c(0x4,_0x559617[_0x404ce7(0x2fd)])],_0x243df5['BrowserCollaborationSocketService']);const _0x4db5f2=0x7530,_0x342e45=_0x404ce7(0x3d8);class _0x17bf35 extends _0x9ac8b8[_0x404ce7(0x3a4)]{constructor(){const _0x1c2058=_0x404ce7;super(),_0x4bb0b3(this,_0x1c2058(0x1b7),_0x9ac8b8[_0x1c2058(0x1d6)]()),_0x4bb0b3(this,'_selfUnitIDs',new Set()),_0x4bb0b3(this,_0x1c2058(0x1f1),new Map()),_0x4bb0b3(this,'_heartbeatTimer',null),_0x4bb0b3(this,_0x1c2058(0x27b),new Map()),_0x4bb0b3(this,_0x1c2058(0x299),new Map()),this[_0x1c2058(0x1c1)]();}[_0x404ce7(0x2d3)](){const _0x49cb8b=_0x404ce7;super[_0x49cb8b(0x2d3)](),this[_0x49cb8b(0x27b)][_0x49cb8b(0x36b)]((_0x4513dd,_0x46f448)=>this[_0x49cb8b(0x1f0)](_0x46f448)),this[_0x49cb8b(0x3ec)]&&window[_0x49cb8b(0x3ae)](this[_0x49cb8b(0x3ec)]);}[_0x404ce7(0x3dc)](_0x1e17d0){const _0xe47385=_0x404ce7;return this['_ensureSubject'](_0x1e17d0)[_0xe47385(0x287)](_0x42f3f5['distinctUntilChanged']());}[_0x404ce7(0x1ec)](_0x58bfce){const _0x3b284c=_0x404ce7;this['_selfUnitIDs'][_0x3b284c(0x1a0)]===0x0&&this[_0x3b284c(0x1a2)](),this['_selfUnitIDs'][_0x3b284c(0x22e)](_0x58bfce),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58bfce],'isForwarded':!0x1});}[_0x404ce7(0x3f2)](_0xc53526){const _0x30407e=_0x404ce7;this[_0x30407e(0x288)]['delete'](_0xc53526),this[_0x30407e(0x288)]['size']===0x0&&this[_0x30407e(0x3ec)]&&window[_0x30407e(0x3ae)](this['_heartbeatTimer']);}[_0x404ce7(0x1c1)](){const _0x198f6d=_0x404ce7;this['disposeWithMe'](_0x9ac8b8[_0x198f6d(0x20f)](_0x42f3f5[_0x198f6d(0x2c0)](window,_0x198f6d(0x21b))[_0x198f6d(0x27f)](_0x46e4cb=>{const _0x1f1590=_0x198f6d;if(_0x46e4cb['key']!==_0x342e45||!_0x46e4cb[_0x1f1590(0x241)])return;const _0x37194d=JSON[_0x1f1590(0x2bc)](_0x46e4cb[_0x1f1590(0x241)]);this[_0x1f1590(0x221)](_0x37194d);}))),window['addEventListener'](_0x198f6d(0x3a9),()=>this[_0x198f6d(0x2d6)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x198f6d(0x3ff)](this[_0x198f6d(0x288)])}));}[_0x404ce7(0x221)](_0x5048f3){const _0x2af841=_0x404ce7;switch(_0x5048f3[_0x2af841(0x407)]){case 0x0:this[_0x2af841(0x1cb)](_0x5048f3);break;case 0x1:this[_0x2af841(0x3e0)](_0x5048f3);break;case 0x2:this['_handleHeartbeatEvent'](_0x5048f3);break;}}[_0x404ce7(0x1cb)](_0x3ed957){const _0xc74e5c=_0x404ce7,{unitIDs:_0x2f4f38,memberID:_0x5daa3f,isForwarded:_0x3efc2b}=_0x3ed957;_0x2f4f38[_0xc74e5c(0x36b)](_0x55794d=>{const _0x3f050b=_0xc74e5c;if(!_0x3efc2b&&this['_unitOnClients'][_0x3f050b(0x26c)](_0x55794d)&&this[_0x3f050b(0x409)](_0x55794d)[_0x3f050b(0x358)](_0x5bd788[_0x3f050b(0x405)][_0x3f050b(0x1c6)]),!this[_0x3f050b(0x1f1)][_0x3f050b(0x26c)](_0x55794d)||!this['_unitOnClients'][_0x3f050b(0x266)](_0x55794d)[_0x3f050b(0x26c)](_0x5daa3f)){const _0x4bb722=this['_unitOnClients']['get'](_0x55794d)||new Set();_0x4bb722[_0x3f050b(0x22e)](_0x5daa3f),this[_0x3f050b(0x1f1)][_0x3f050b(0x256)](_0x55794d,_0x4bb722),this['_scheduleClearOtherTimer'](_0x5daa3f);}}),_0x3efc2b||this[_0xc74e5c(0x2d6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc74e5c(0x288)]],'isForwarded':!0x0});}[_0x404ce7(0x289)](_0x554ddb){const _0x3b875d=_0x404ce7;this[_0x3b875d(0x1f0)](_0x554ddb);const _0x27788f=window[_0x3b875d(0x381)](()=>{const _0x504009=_0x3b875d;this['_unitOnClients'][_0x504009(0x36b)](_0x43815a=>{const _0x564c64=_0x504009;_0x43815a[_0x564c64(0x3c9)](_0x554ddb);});},_0x4db5f2*0x2);this[_0x3b875d(0x27b)][_0x3b875d(0x256)](_0x554ddb,_0x27788f);}['_removeClearOtherTimer'](_0x323ffb){const _0x92e28b=_0x404ce7;if(this['_clearOtherTimers'][_0x92e28b(0x26c)](_0x323ffb)){const _0x3cc613=this[_0x92e28b(0x27b)]['get'](_0x323ffb);_0x3cc613&&window[_0x92e28b(0x187)](_0x3cc613),this['_clearOtherTimers'][_0x92e28b(0x256)](_0x323ffb,null);}}[_0x404ce7(0x3e0)](_0x112c42){const _0x5145b5=_0x404ce7,{memberID:_0x185d1b,unitIDs:_0x5c1968}=_0x112c42;_0x5c1968['forEach'](_0x12ac1e=>{const _0x50b16e=_0x32fc;var _0x7f81fc;const _0x82d488=this['_unitOnClients'][_0x50b16e(0x266)](_0x12ac1e);_0x82d488&&(_0x82d488['delete'](_0x185d1b),(_0x7f81fc=this[_0x50b16e(0x409)](_0x12ac1e))==null||_0x7f81fc['next'](_0x82d488[_0x50b16e(0x1a0)]===0x0?_0x5bd788['UnitStatus'][_0x50b16e(0x383)]:_0x5bd788['UnitStatus'][_0x50b16e(0x1c6)]));}),this[_0x5145b5(0x1f0)](_0x185d1b);}[_0x404ce7(0x280)](_0xb06351){const _0x50c677=_0x404ce7;this[_0x50c677(0x289)](_0xb06351[_0x50c677(0x17e)]);}[_0x404ce7(0x2d6)](_0xa094a4){const _0x2d62d4=_0x404ce7;localStorage[_0x2d62d4(0x32b)](_0x342e45,JSON['stringify'](_0xa094a4));}[_0x404ce7(0x1a2)](){const _0x48858c=_0x404ce7;this[_0x48858c(0x3ec)]=window['setInterval'](()=>{const _0x265ab5=_0x48858c;this[_0x265ab5(0x2d6)]({'type':0x2,'memberID':this['_id']});},_0x4db5f2);}[_0x404ce7(0x409)](_0x2e25aa){const _0x280442=_0x404ce7;return this[_0x280442(0x299)][_0x280442(0x26c)](_0x2e25aa)||this[_0x280442(0x299)][_0x280442(0x256)](_0x2e25aa,new _0x42f3f5[(_0x280442(0x1e7))](_0x5bd788[_0x280442(0x405)][_0x280442(0x383)])),this[_0x280442(0x299)][_0x280442(0x266)](_0x2e25aa);}}var _0x56218e=(_0x429967=>(_0x429967[_0x429967[_0x404ce7(0x1af)]=0x0]='UNDEFINED',_0x429967[_0x429967['OK']=0x1]='OK',_0x429967[_0x429967['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x429967[_0x429967[_0x404ce7(0x39e)]=0x3]=_0x404ce7(0x39e),_0x429967[_0x429967[_0x404ce7(0x3fa)]=0x4]=_0x404ce7(0x3fa),_0x429967[_0x429967[_0x404ce7(0x331)]=0x5]='UNAUTHENTICATED',_0x429967[_0x429967[_0x404ce7(0x386)]=0x6]=_0x404ce7(0x386),_0x429967[_0x429967['INVALID_ARGUMENT']=0x7]=_0x404ce7(0x36d),_0x429967[_0x429967[_0x404ce7(0x291)]=0x8]='TOO_MANY_REQUESTS',_0x429967[_0x429967[_0x404ce7(0x3d9)]=0x9]='COMPLETION_FINISHED',_0x429967[_0x429967['LOGIN_FAILED']=0xa]=_0x404ce7(0x3e5),_0x429967[_0x429967[_0x404ce7(0x1b9)]=0x1389]=_0x404ce7(0x1b9),_0x429967[_0x429967[_0x404ce7(0x18e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x429967[_0x429967[_0x404ce7(0x18a)]=0x1772]=_0x404ce7(0x18a),_0x429967[_0x429967[_0x404ce7(0x416)]=0x1773]=_0x404ce7(0x416),_0x429967[_0x429967['APPLY_REJECT']=0x1b59]=_0x404ce7(0x236),_0x429967[_0x429967[_0x404ce7(0x40b)]=0x1b5a]=_0x404ce7(0x40b),_0x429967[_0x429967[_0x404ce7(0x1ba)]=0x1b5b]=_0x404ce7(0x1ba),_0x429967[_0x429967[_0x404ce7(0x301)]=0x1b5c]=_0x404ce7(0x301),_0x429967[_0x429967[_0x404ce7(0x3bd)]=0x1b5d]='APPLY_DUPLICATED',_0x429967[_0x429967[_0x404ce7(0x23e)]=0x1f41]=_0x404ce7(0x23e),_0x429967[_0x429967[_0x404ce7(0x339)]=0x2329]=_0x404ce7(0x339),_0x429967[_0x429967[_0x404ce7(0x2b7)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x429967[_0x429967[_0x404ce7(0x3b4)]=0x232b]=_0x404ce7(0x3b4),_0x429967[_0x429967[_0x404ce7(0x357)]=0x232c]=_0x404ce7(0x357),_0x429967[_0x429967[_0x404ce7(0x251)]=0x232d]=_0x404ce7(0x251),_0x429967[_0x429967[_0x404ce7(0x2ba)]=0x2711]=_0x404ce7(0x2ba),_0x429967[_0x429967[_0x404ce7(0x2b5)]=0x2712]=_0x404ce7(0x2b5),_0x429967[_0x429967[_0x404ce7(0x1df)]=0x2713]=_0x404ce7(0x1df),_0x429967[_0x429967[_0x404ce7(0x377)]=0x2714]=_0x404ce7(0x377),_0x429967[_0x429967[_0x404ce7(0x385)]=0x271a]=_0x404ce7(0x385),_0x429967[_0x429967['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x404ce7(0x366),_0x429967[_0x429967[_0x404ce7(0x414)]=0x271c]=_0x404ce7(0x414),_0x429967[_0x429967['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x429967[_0x429967[_0x404ce7(0x3e2)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x429967[_0x429967[_0x404ce7(0x3d5)]=0x271f]=_0x404ce7(0x3d5),_0x429967[_0x429967[_0x404ce7(0x1f7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x429967[_0x429967[_0x404ce7(0x27e)]=0x2ee1]=_0x404ce7(0x27e),_0x429967[_0x429967[_0x404ce7(0x398)]=0x2ee2]=_0x404ce7(0x398),_0x429967[_0x429967[_0x404ce7(0x1fa)]=0x2ee3]=_0x404ce7(0x1fa),_0x429967[_0x429967[_0x404ce7(0x352)]=0x2ee4]=_0x404ce7(0x352),_0x429967[_0x429967[_0x404ce7(0x229)]=0x2ee5]=_0x404ce7(0x229),_0x429967[_0x429967[_0x404ce7(0x393)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x429967[_0x429967[_0x404ce7(0x356)]=0x32ca]=_0x404ce7(0x356),_0x429967[_0x429967[_0x404ce7(0x1f2)]=0x32cb]=_0x404ce7(0x1f2),_0x429967[_0x429967['UNRECOGNIZED']=-0x1]=_0x404ce7(0x3fd),_0x429967))(_0x56218e||{}),_0x4e314e=Object[_0x404ce7(0x24f)],_0x2c9a9a=(_0x329db2,_0x4f7812,_0x4b6134,_0x8a4769)=>{const _0x4be9e9=_0x404ce7;for(var _0xe8f085=_0x8a4769>0x1?void 0x0:_0x8a4769?_0x4e314e(_0x4f7812,_0x4b6134):_0x4f7812,_0x5d4491=_0x329db2[_0x4be9e9(0x28b)]-0x1,_0x34541e;_0x5d4491>=0x0;_0x5d4491--)(_0x34541e=_0x329db2[_0x5d4491])&&(_0xe8f085=_0x34541e(_0xe8f085)||_0xe8f085);return _0xe8f085;},_0x45d0ce=(_0x5a58b7,_0x1307a5)=>(_0x272da0,_0x396a5b)=>_0x1307a5(_0x272da0,_0x396a5b,_0x5a58b7);_0x243df5[_0x404ce7(0x2d2)]=class extends _0x9ac8b8[_0x404ce7(0x3a4)]{constructor(_0x686bf8,_0x9d4988,_0x5c819e){const _0x5c33ed=_0x404ce7;super(),this[_0x5c33ed(0x387)]=_0x686bf8,this[_0x5c33ed(0x180)]=_0x9d4988,this[_0x5c33ed(0x263)]=_0x5c819e;}async[_0x404ce7(0x1f9)](_0x3405fd,_0x5bfe50,_0x475b3f,..._0x50a301){const _0x38b0bf=_0x404ce7;var _0x4d543b,_0x4eba61,_0x24ee23,_0x42c7d6;const _0x264290=this[_0x38b0bf(0x387)][_0x38b0bf(0x1a5)]();if(!_0x264290)throw new Error(_0x38b0bf(0x34a));const _0x385818=((_0x4d543b=this[_0x38b0bf(0x263)][_0x38b0bf(0x1e3)](_0x5bd788['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4d543b:_0x5bd788[_0x38b0bf(0x223)])+'/'+_0x3405fd+_0x38b0bf(0x282)+_0x5bfe50,_0x1a3d77=new URL(window[_0x38b0bf(0x361)][_0x38b0bf(0x2ed)]),_0x25b324={'scriptId':_0x3405fd,'runId':(_0x4eba61=_0x1a3d77[_0x38b0bf(0x261)][_0x38b0bf(0x266)]('runId'))!=null?_0x4eba61:'','function':_0x5bfe50,'unitId':_0x264290['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x50a301),'invokeId':(_0x24ee23=_0x475b3f['invokeId'])!=null?_0x24ee23:'','executionId':(_0x42c7d6=_0x475b3f[_0x38b0bf(0x195)])!=null?_0x42c7d6:''};try{const _0x292dfd=await this['_httpService'][_0x38b0bf(0x3f4)](_0x385818,{'body':_0x25b324});return _0x292dfd['body'][_0x38b0bf(0x1c4)]&&_0x292dfd['body'][_0x38b0bf(0x1c4)][_0x38b0bf(0x404)]!==_0x56218e['OK']?'Failed':_0x292dfd[_0x38b0bf(0x29b)]['result'];}catch{return _0x38b0bf(0x1a4);}}},_0x243df5[_0x404ce7(0x2d2)]=_0x2c9a9a([_0x45d0ce(0x0,_0x9ac8b8[_0x404ce7(0x242)]),_0x45d0ce(0x1,_0x9ac8b8[_0x404ce7(0x2b9)](_0x1221cf[_0x404ce7(0x324)])),_0x45d0ce(0x2,_0x9ac8b8[_0x404ce7(0x253)])],_0x243df5['RemoteUniscriptService']),_0x243df5['CollaborationStatusDisplay']=_0x33ea42,_0x243df5['IURLService']=_0x1271f7,_0x243df5[_0x404ce7(0x235)]=_0xead6f3,_0x243df5[_0x404ce7(0x3cb)]=_0x17bf35,_0x243df5[_0x404ce7(0x182)]=_0x317689,Object[_0x404ce7(0x26b)](_0x243df5,Symbol[_0x404ce7(0x203)],{'value':'Module'});}));