@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505221607 → 0.7.0-nightly.202505231607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +38 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -39
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _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 _0x156e(_0xa8619b,_0x15e4f0){const _0xf56a06=_0xf56a();return _0x156e=function(_0x156ebd,_0x4066e7){_0x156ebd=_0x156ebd-0x113;let _0x3b98e8=_0xf56a06[_0x156ebd];return _0x3b98e8;},_0x156e(_0xa8619b,_0x15e4f0);}function _0xf56a(){const _0x46cdb3=['displayName','_saveTaskMap','NOT_COLLAB','UnitStatus','stringify','bottom','@univerjs/sheets','roomMembers$','RichTextEditingMutation','forEach','react','jsxs','symbol','colorChannel1','LocaleService','rxjs/operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','handleMoveRange','onLocalMutation','OTHER_CLIENT_EDITING','_cachedData','@univerjs/rpc','_toggleOffline','_docSkeletonManagerService','disableLocalCache','undoState','getCoordByCell','measureText','touchDependencies','IRenderManagerService','YUUMI_AI_RUN_FAILED','collabStatus.offline','handleIRemoveRow','_handleHover','UniverNetwork','CONFLICT','@univerjs/core','BehaviorSubject','UNDEFINED','labelPosition','CollaborationUIEventService','type','IMessageService','_dataLoaderService','setActiveRange','reconnect','getItem','@univerjs-pro/collaboration-client','disposeWithMe','text','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_instanceService','INTERNAL_ERROR','name','ThemeService','ILocalCacheService','UniverCollaborationClientPlugin','clearTimeout','_shapes','_refreshCollabCursors','APPLY_REVISION_CONFILICT','unitID','APPLY_NON_SEQUENTIAL_REVISION','CLOSE_ROOM','_draw','_uiPartsService','from','_renderManagerService','selections','_doCreateSocket','RemoteUniscriptService','_getSaveTimeout','UniverUi','SheetCollabCursorShape','getActiveRange','_revisionService','Unknown\x20user','assign','_refRangeService','_status$','takeUntil','IImageIoService','getSheetObject','extend','getTypeOfUnitDisposed$','get','subscribe','deserializeRangeWithSheet','INVITE_CODE_ALREADY_BOUND','fillStyle','CollaborationController','getMergeData','PERMISSION_DENIED','lineTo','_unitOnClients','YUUMI_UNABLE_LOAD_URL','setShapeProps','override','_config','save','svg','_anchorDot','dispose','_collabSessionService','runId','MUTATION','collabCursorState$','_labelPosition','engine','RefRangeService','_configService','useDependency','SheetSkeletonManagerService','cursorInfo$','_createSocketURL','getRangePointData','WECHAT_HAS_BEEN_BOUND','popstate','_initStatusComponent','trim','selection','flatMap','_getScale','on-line-single','collab-text-range-','BuiltInUIPart','_onCursorDelete','sheetId','useRef','UniverProCollaboration','transformIMECache','registerRefRange','key','UNIVER_DOC','mergeOverrideWithDependencies','CollaborationSessionService','WebSocketService','blue.400','createIdentifier','indexOf','location','registerDependencies','show','set','handleInsertRangeMoveDown','getMember','YUUMI_URL_COL_OUT_OF_RANGE','values','assignAColorForMemberID','imageSourceType','getOwnPropertySymbols','connectInjector','collabStatus.conflict','_range','random','setUndoRedoMutationParamsCache','onCommandExecuted','_imageIoService','Optional','shareReplay','TEXT','replace','has','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','RegularPolygon','_name','jsx','includes','_context','_onCursorUpdate','operators','substring','string','then','params','clsx','_eventUnsubscribe','addObject','debounceTime','EffectRefRangId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_colorAssignService','_heartbeatTimer','CollaborationDataLoaderController','@univerjs/docs-ui','BrowserCollaborationSocketService','textRanges','_handleHeartbeatEvent','history','rxjs','SetWorksheetActivateCommand','_docTransformIMECacheService','syncEditingCollabCursor','_setupSubUnitSync','handleDeleteRangeMoveLeft','onPointerEnter$','activeSheet$','clearInterval','handleDeleteRangeMoveUp','getUndoRedoMutationParamsCache','_scheduleClearOtherTimer','React','getColorFromTheme','DOC_RANGE_TYPE','fromEvent','getOwnPropertyDescriptor','saveTaskMap','_initCommandExecutedListener','currentSkeleton$','fill','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','getUnitId','enableLocalCache','getStateCache','toDisposable','APPLY_REJECT','onMouseMove','_docStateChangeManagerService','DisposableCollection','m2Prime','2292tYTizs','color','green.600','fillRule','_updateLocalCursor','height','yellow.400','_session','collaboration-client.offline-data-not-saved','throttleTime','cursorInfo','_updateSubUnitFromURLParams','toRgbString','subUnitId','1519938nkzISS','@univerjs/docs','RemoveColCommandId','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','range','round','_cursors','forwardRef','_httpService','LICENSE_DISTRO_REJECTED','@univerjs/drawing','ALREADY_EXISTS','_initEntityListener','addClipboardHook','getColor','_unitStatus','complete','UniverSheets','INVALID_INVITE_CODE','getUniverSheetInstance','4858016BWWTUX','_drawAnchor','APPLY_DUPLICATED','@univerjs-pro/collaboration','with','ticket','mask','amd','getVpScrollXYInfoByPosToVp','_syncEditingCollabCursorService','unsubscribe','_removeCollabCursors','init','getTypeOfUnitAdded$','UNIVER_SHEET','isArray','CollaborationUIEventId','onStarting','tag','LOGIN_FAILED','_setupBeforeClosingHandler','saveOfflineData','_handleJoinEvent','_getSheetObject','ONLINE','debug','_registerDependencies','contains','startsWith','doc.mutation.rich-text-editing','getCollabCursors$','isTransformMutationFailure','fillText','_colorIndex','asObservable','_docClipboardService','CONNECTOR_DATA_TOO_LARGE','map','YUUMI_ALL_TABLES_IS_INVALID','_scheduleSaving','Vector2','result','runOnServer','getOffsetConfig','event$','Injector','_startDocCollabCursor','_assignedColors','_transformUndoRedoStack','_hover','_urlService','href','_transformService','_initStatusListener','concat','COLORS','onPointerLeave$','on-line-single_clip0_910_349','fromEventSubject','_online','transformSelections','DeleteRangeMoveLeftCommandId','1em','debounce','defIds','createElement','0\x200\x2016\x2016','_textBubble','resize','wsSessionTicketUrl','Inject','@univerjs/network','SOCKET_FAILED_RETRY','add','_selfUnitIDs','jiqing.500','setParam','_registerRenderDependencies','AWAITING','transformMutation','some','find','function','data','drawWith','_cursor','executeCommand','_scheduleHeartbeat','FETCH_MISS','OFFLINE','width','_cursorShapes','univer-flex\x20univer-items-center','HTTPService','WebURLService','getUnhiddenWorksheets','ILogService','_sheetSkeletonManagerService','9ZShWxt','INVITE_CODE_REQUIRED','react/jsx-runtime','1433262nPDJvc','_getSessionTicket','row','max','executionId','RxDisposable','@univerjs/design','actions','attrs','mapTo','_getAnchorBounding','merge','application/json','APPLY_PERMISSION_DENIED','_initDependencies','_transformPreviousActiveRange','SYNCED','top','setAlpha','toString','pushState','FromArray','entityInit$','exhaustSavingTask','min','purple.300','_ensureSubject','length','_roomMembers$','_localCacheService','DeleteRangeMoveUpCommandId','disposeUnit','transformStateCache','COMPLETION_FINISHED','transformRemoteChangeset','unit','div','SetSelectionsOperation','permission.content','Tools','url(#$1','7wyXHep','INotificationService','searchParams','_backgroundColor','UniverInstanceType','collab-client.tooltip.reconnect','arc','0\x200\x2017\x2016','UniverDocsUi','@univerjs/engine-render','_scene','none','combineLatest','uni.network.url-service','[CollaborationDataLoaderController]','Error','_init','icon','collabStatus.synced','className','setConfig','InsertRangeMoveDownCommandId','IConfigService','_commandService','SheetsSelectionsService','ITransformService','...','SessionStatus','INVITE_CODE_HAS_BEEN_UES','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverEngineFormula','InsertRowCommandId','unshift','UNRECOGNIZED','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','ICommandService','_themeService','rgba(255,\x20255,\x20255,\x200.01)','SNAPSHOT_INVALID_SNAPSHOT','size','switchMap','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IDocClipboardService','error','SetDocZoomRatioOperation','getSkeleton','post','_lastPointer','_cursorInfo$','MOBILE_HAS_BEEN_BOUND','createSocket','_clearOtherTimers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','VIEW_MAIN','redoState','#fff','UniverEngineRender','_messageService','SetTextSelectionsOperation','_handleEvent','push','replaceDocRanges','PY_RUNTIME_SCRIPT_ERROR','onTransformChange$','removeParam','_color','_hovered','getParam','getMemberID','_startSheetCollabCursor','defs','whenReady','UniverCore','storage','defineProperty','univer-flex\x20univer-mr-2\x20univer-text-xl','OnLineSingle','red.300','_initEvent','isTransformMutationsWithChangesetSuccess','11lPawoS','DocStateChangeManagerService','delete','UniverIcon','getConfig','UniverDesign','pipe','ACTIVE_UNIT_EVENT_CHANNEL','entries','isActive','pluginName','filter','CollaborationEvent','send','mutations','DEFAULT_WS_SESSION_TICKET_URL','_collabCursorState$','closePath','UNAUTHENTICATED','registerComponent','handleIRemoveCol','addObjects','_entityInit$','InsertRangeMoveRightCommandId','@univerjs/sheets-ui','ILocalStorageService','_collabCursorController','_localeService','collaboration.closeRoom','_transformHistoryAndStateStack','clipPath','NO_OTHER_CLIENTS_EDITING','body','_hideTimer','OTHER_CLIENTS_EDITING','_getMergeRange','idSuffix','black','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCurrentRevOfUnit','getCurrent','getFocusedUnit','EMAIL_HAS_BEEN_BOUND','912608sdSLZj','CHANGESET_REVISION_CONFILICT','Rect','_collaborationController','getCellPositionByOffset','2980qmcXSv','evenodd','currentTheme$','registerBeforeClose','NodePositionConvertToRectRange','UniverCollaborationClientUIPlugin','_saveCache','M0\x200H16V16H0z','LOCAL_CACHE_INTERVAL','USER_NOT_INVITED_CODE','getCollabEntity$','#FFF','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','parse','WebBrowserSingleActiveUnitService','_id','split','getCurrentSelections','Warning','_docSyncEditingCollabCursorService','DataLoaderService','url(#on-line-single_clip0_910_349)','restore','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','findNodePositionByCharIndex','UniverRpc','USERS_LEAVE','Shape','registerRenderModule','Rectangle','_initResize','YUUMI_RATE_OVER_LIMIT','handleInsertCol','CollaborationStatus','_injector','onPointerMove$','DocIMEInputManagerService','use','getRelativeToViewportCoord','SOCKET_FAILED','_memberService','useObservable','addEventListener','hasOwnProperty','createInstance','_logService','101372mIbuzM','getLocalCacheKey','subscribeEvent','_toggleOnline','UPDATE_CURSOR','_beforeCloseService','children','getActiveSheet','DesktopCollaborationStatusDisplayController','UniverDrawing','newValue','_collaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','eventID','subunit','saveImage','UniverSheetsUi','_docSkeleton','Plugin','xlink:href','_anchor','ColorKit','MessageType','source','endColumn','Disposable','updateOfflineData','TOO_MANY_REQUESTS','invokeId','ISnapshotServerService','_drawRectRange','getAncestorScale','RevisionService','_updateCollabCursors','replaceState','_removeClearOtherTimer','makeDirty','handleInsertRow','propertyIsEnumerable','dispose$','deepClone','unitId','Failed','path','_docTransformStateCacheService','_document','UniverDocs','sessionStatus$','_drawTextRange','call','IUniverInstanceService','Subject','prototype','loadUnit','hide','_localStorageService','_univerInstanceService','6394050ZeaRzA','NOT_FOUND','_disabled','YUUMI_ASYNCIO_CANCELLED','next','ranges','setItem','getRenderById','getViewport','TEXT_RANGE_LAYER_INDEX','isEditing','handleInsertRangeMoveRight','roomMembers','_render','session.will-retry','@univerjs/ui','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','IRemoteInstanceService','_send','editingUnit','runRefRangeMutations','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','getSheetId','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','m1Prime','HEADER_MENU','collabStatus.notCollab','/run/','_notificationService','DocCollaborationEntity','serializeRangeWithSheet'];_0xf56a=function(){return _0x46cdb3;};return _0xf56a();}(function(_0x26f113,_0x1d2095){const _0x2205ca=_0x156e,_0x136887=_0x26f113();while(!![]){try{const _0x24ad3f=-parseInt(_0x2205ca(0x2b7))/0x1+parseInt(_0x2205ca(0x282))/0x2+parseInt(_0x2205ca(0x163))/0x3+-parseInt(_0x2205ca(0x155))/0x4*(parseInt(_0x2205ca(0x287))/0x5)+-parseInt(_0x2205ca(0x1dd))/0x6*(parseInt(_0x2205ca(0x206))/0x7)+-parseInt(_0x2205ca(0x178))/0x8*(parseInt(_0x2205ca(0x1da))/0x9)+-parseInt(_0x2205ca(0x2f2))/0xa*(-parseInt(_0x2205ca(0x257))/0xb);if(_0x24ad3f===_0x1d2095)break;else _0x136887['push'](_0x136887['shift']());}catch(_0x55f4d2){_0x136887['push'](_0x136887['shift']());}}}(_0xf56a,0x4c802),function(_0x2556dc,_0x1ca055){const _0x6c52c3=_0x156e;typeof exports=='object'&&typeof module<'u'?_0x1ca055(exports,require(_0x6c52c3(0x344)),require('@univerjs/core'),require(_0x6c52c3(0x20f)),require(_0x6c52c3(0x1bf)),require('@univerjs/docs-ui'),require(_0x6c52c3(0x16e)),require(_0x6c52c3(0x136)),require(_0x6c52c3(0x164)),require(_0x6c52c3(0x17b)),require('@univerjs/engine-formula'),require(_0x6c52c3(0x31a)),require(_0x6c52c3(0x323)),require(_0x6c52c3(0x26f)),require(_0x6c52c3(0x1dc)),require(_0x6c52c3(0x301)),require(_0x6c52c3(0x1e3)),require('react'),require(_0x6c52c3(0x32a))):typeof define==_0x6c52c3(0x1ca)&&define[_0x6c52c3(0x17f)]?define(['exports',_0x6c52c3(0x344),_0x6c52c3(0x339),_0x6c52c3(0x20f),'@univerjs/network',_0x6c52c3(0x131),_0x6c52c3(0x16e),_0x6c52c3(0x136),'@univerjs/docs',_0x6c52c3(0x17b),'@univerjs/engine-formula',_0x6c52c3(0x31a),_0x6c52c3(0x323),'@univerjs/sheets-ui',_0x6c52c3(0x1dc),'@univerjs/ui',_0x6c52c3(0x1e3),_0x6c52c3(0x31e),_0x6c52c3(0x32a)],_0x1ca055):(_0x2556dc=typeof globalThis<'u'?globalThis:_0x2556dc||self,_0x1ca055(_0x2556dc['UniverProCollaborationClientUi']={},_0x2556dc['UniverProCollaborationClient'],_0x2556dc[_0x6c52c3(0x24f)],_0x2556dc[_0x6c52c3(0x23f)],_0x2556dc[_0x6c52c3(0x337)],_0x2556dc[_0x6c52c3(0x20e)],_0x2556dc[_0x6c52c3(0x2c0)],_0x2556dc[_0x6c52c3(0x136)],_0x2556dc[_0x6c52c3(0x2e7)],_0x2556dc[_0x6c52c3(0x396)],_0x2556dc[_0x6c52c3(0x224)],_0x2556dc[_0x6c52c3(0x175)],_0x2556dc[_0x6c52c3(0x136)][_0x6c52c3(0x122)],_0x2556dc[_0x6c52c3(0x2c9)],_0x2556dc[_0x6c52c3(0x142)],_0x2556dc[_0x6c52c3(0x35d)],_0x2556dc[_0x6c52c3(0x25c)],_0x2556dc['React'],_0x2556dc[_0x6c52c3(0x2a2)]));}(this,function(_0x1ebb4a,_0x2eddce,_0x268d3b,_0xb8fc77,_0x45e235,_0x58ed4c,_0x4afe1c,_0x399a7e,_0x688e2,_0x2ac5d3,_0xcce0ed,_0x26ad5a,_0x30c278,_0x41fdc4,_0xdd3140,_0x29ec39,_0x5333e1,_0x4964a2,_0x7ad451){'use strict';const _0x2c8ec4=_0x156e;var _0x2b6d14=Object['defineProperty'],_0x3a0385=(_0x15c311,_0x59fed0,_0x351a80)=>_0x59fed0 in _0x15c311?_0x2b6d14(_0x15c311,_0x59fed0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x351a80}):_0x15c311[_0x59fed0]=_0x351a80,_0x42374b=(_0x2e86d4,_0x4d874b,_0x42b01a)=>_0x3a0385(_0x2e86d4,typeof _0x4d874b!=_0x2c8ec4(0x320)?_0x4d874b+'':_0x4d874b,_0x42b01a),_0x34e34c=Object['getOwnPropertyDescriptor'],_0x14ab39=(_0x492fef,_0x3b4ca7,_0x53a3bb,_0x3e7b3b)=>{const _0x4a8a9d=_0x2c8ec4;for(var _0x275cdb=_0x3e7b3b>0x1?void 0x0:_0x3e7b3b?_0x34e34c(_0x3b4ca7,_0x53a3bb):_0x3b4ca7,_0x153262=_0x492fef[_0x4a8a9d(0x1f8)]-0x1,_0x4b1f6d;_0x153262>=0x0;_0x153262--)(_0x4b1f6d=_0x492fef[_0x153262])&&(_0x275cdb=_0x4b1f6d(_0x275cdb)||_0x275cdb);return _0x275cdb;},_0x457963=(_0x3743f2,_0x4e3ea2)=>(_0x160dea,_0x34ae89)=>_0x4e3ea2(_0x160dea,_0x34ae89,_0x3743f2);let _0x2c02c5=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x4d4394,_0x53e0aa){const _0x386c21=_0x2c8ec4;super(),this[_0x386c21(0x19b)]=_0x4d4394,this[_0x386c21(0x114)]=_0x53e0aa,this[_0x386c21(0x216)]();}[_0x2c8ec4(0x216)](){const _0x50c37c=_0x2c8ec4,_0x15f63b=this;this[_0x50c37c(0x345)](this[_0x50c37c(0x19b)][_0x50c37c(0x171)]({'onBeforePasteImage':async _0x23f6bd=>{const _0x196927=_0x50c37c,_0x590f30=await _0x15f63b[_0x196927(0x114)][_0x196927(0x2c8)](_0x23f6bd);return _0x590f30?{'source':_0x590f30[_0x196927(0x2d0)],'imageSourceType':_0x590f30[_0x196927(0x3aa)]}:null;}}));}};_0x2c02c5=_0x14ab39([_0x457963(0x0,_0x58ed4c[_0x2c8ec4(0x231)]),_0x457963(0x1,_0x4afe1c[_0x2c8ec4(0x366)])],_0x2c02c5);const _0x2a8919=[_0x2c8ec4(0x1f6),_0x2c8ec4(0x1c3),_0x2c8ec4(0x157),_0x2c8ec4(0x254),_0x2c8ec4(0x39e),_0x2c8ec4(0x15b)];class _0x1ad7cd extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(){const _0xb69db9=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb69db9(0x1a7),new Map()),_0x42374b(this,'_colorIndex',0x0);}[_0x2c8ec4(0x3a9)](_0x4edf1d){const _0x1aa704=_0x2c8ec4;if(this[_0x1aa704(0x1a7)]['has'](_0x4edf1d))return this[_0x1aa704(0x1a7)]['get'](_0x4edf1d);const _0x3860ff=_0x2a8919[this[_0x1aa704(0x199)]];return this[_0x1aa704(0x199)]=(this['_colorIndex']+0x1)%_0x2a8919['length'],this['_assignedColors'][_0x1aa704(0x3a4)](_0x4edf1d,_0x3860ff),_0x3860ff;}}function _0x25e978(_0x22bf21){const _0x3a299c=_0x2c8ec4;let _0x1817ad='';for(const _0xfe2ab7 of _0x22bf21){const {startOffset:_0x153a2a,endOffset:_0x486dda,isActive:_0x1f66b7,rangeType:_0x35eb05,segmentId:_0x4797ec,segmentPage:_0x45a51b}=_0xfe2ab7;_0x1817ad[_0x3a299c(0x1f8)]&&(_0x1817ad+=','),_0x1817ad+=_0x153a2a+':'+_0x486dda+':'+(_0x1f66b7?'1':'0')+':'+_0x35eb05+':'+_0x4797ec+':'+_0x45a51b;}return _0x1817ad;}function _0x10f436(_0x430054){const _0x405c47=_0x2c8ec4,_0x29688e=_0x430054[_0x405c47(0x298)](','),_0x298d90=[];for(const _0x535b38 of _0x29688e){const [_0x364acc,_0x1941ce,_0x264c2a,_0x49bba4,_0x2540e7,_0x1ac26a]=_0x535b38['split'](':');_0x298d90['push']({'startOffset':Number(_0x364acc),'endOffset':Number(_0x1941ce),'collapsed':_0x364acc===_0x1941ce,'isActive':_0x264c2a==='1','rangeType':_0x49bba4===_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]?_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]:_0x268d3b['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2540e7==_0x405c47(0x124)?String(_0x2540e7):'','segmentPage':Number(_0x1ac26a!=null?_0x1ac26a:-0x1)});}return _0x298d90[_0x405c47(0x1c8)](_0x50213c=>_0x50213c[_0x405c47(0x260)])||(_0x298d90[0x0][_0x405c47(0x260)]=!0x0),_0x298d90;}class _0x2fcdcb extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(){const _0xb1c8d7=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb1c8d7(0x267),new _0x399a7e[(_0xb1c8d7(0x33a))](null)),_0x42374b(this,'collabCursorState$',this[_0xb1c8d7(0x267)][_0xb1c8d7(0x19a)]());}[_0x2c8ec4(0x139)](_0x315b82){const _0x4d8084=_0x2c8ec4,{unitID:_0x358c8d,memberID:_0xb9f861,textRanges:_0x2c139d}=_0x315b82,_0x4b2cb0=_0x25e978(_0x2c139d);if(_0x4b2cb0==='')return;const _0x47901e={'unitID':_0x358c8d,'memberID':_0xb9f861,'selection':_0x4b2cb0};this[_0x4d8084(0x267)][_0x4d8084(0x2f6)](_0x47901e);}}var _0x53671f=Object['getOwnPropertyDescriptor'],_0x4d24dd=(_0x2948d1,_0x3081d7,_0x5466fe,_0x3bc45c)=>{const _0x352eb8=_0x2c8ec4;for(var _0x4f1f29=_0x3bc45c>0x1?void 0x0:_0x3bc45c?_0x53671f(_0x3081d7,_0x5466fe):_0x3081d7,_0x814f7f=_0x2948d1[_0x352eb8(0x1f8)]-0x1,_0x4af9f0;_0x814f7f>=0x0;_0x814f7f--)(_0x4af9f0=_0x2948d1[_0x814f7f])&&(_0x4f1f29=_0x4af9f0(_0x4f1f29)||_0x4f1f29);return _0x4f1f29;},_0x5adf12=(_0x56e68b,_0x4f438b)=>(_0x496524,_0x56684d)=>_0x4f438b(_0x496524,_0x56684d,_0x56e68b);const _0x31df47=0x12c,_0xd3d400=0x64;let _0x158431=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x179ece,_0xf9b3a2,_0x26266f,_0xa26bc6,_0x10bdb2,_0x5dbc04,_0x1f0698,_0x4a95d6,_0x54923e){const _0x152103=_0x2c8ec4;super(),_0x42374b(this,_0x152103(0x1b3),!0x1),_0x42374b(this,_0x152103(0x216),!0x1),_0x42374b(this,_0x152103(0x237),new _0x399a7e['BehaviorSubject'](new Map())),_0x42374b(this,_0x152103(0x386),this['_cursorInfo$'][_0x152103(0x19a)]()),_0x42374b(this,_0x152103(0x1f9),new _0x399a7e[(_0x152103(0x33a))]([])),_0x42374b(this,'roomMembers$',this[_0x152103(0x1f9)][_0x152103(0x25d)](_0x399a7e[_0x152103(0x12a)](_0x31df47))),_0x42374b(this,_0x152103(0x159),_0x268d3b[_0x152103(0x1b7)](_0x6c0173=>{const _0x439150=_0x152103,_0x3b9a84={'eventID':_0x2ac5d3['CollaborationEvent'][_0x439150(0x2bb)],'data':{'unitID':this['unitID'],'memberID':this[_0x439150(0x15c)][_0x439150(0x24b)](),'selection':_0x25e978(_0x6c0173)}};this[_0x439150(0x15c)]['send'](_0x3b9a84,this[_0x439150(0x352)]);},_0xd3d400)),(this[_0x152103(0x352)]=_0x179ece,this['_session']=_0xf9b3a2,this[_0x152103(0x2ab)]=_0x26266f,this[_0x152103(0x12e)]=_0xa26bc6,this[_0x152103(0x2b1)]=_0x10bdb2,this[_0x152103(0x181)]=_0x5dbc04,this['_transformService']=_0x1f0698,this[_0x152103(0x2f1)]=_0x4a95d6,this[_0x152103(0x21d)]=_0x54923e);}get[_0x2c8ec4(0x15f)](){const _0x55313f=_0x2c8ec4;return this[_0x55313f(0x237)]['getValue']();}get['roomMembers'](){const _0x3a5a1c=_0x2c8ec4;return this[_0x3a5a1c(0x1f9)]['getValue']();}['dispose'](){const _0x5ac99a=_0x2c8ec4;super[_0x5ac99a(0x37b)](),this[_0x5ac99a(0x237)]['next'](new Map()),this[_0x5ac99a(0x237)][_0x5ac99a(0x174)](),this[_0x5ac99a(0x1f9)][_0x5ac99a(0x2f6)]([]),this['_roomMembers$'][_0x5ac99a(0x174)]();}[_0x2c8ec4(0x184)](){const _0x29d244=_0x2c8ec4;this[_0x29d244(0x216)]||(this['_init']=!0x0,this[_0x29d244(0x15c)][_0x29d244(0x2e8)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this[_0x29d244(0x2e0)]))['subscribe'](_0x5401dd=>{const _0x5f43e8=_0x29d244;_0x5401dd===_0x2eddce[_0x5f43e8(0x221)][_0x5f43e8(0x190)]?this['_toggleOnline']():this[_0x5f43e8(0x32b)]();}),this[_0x29d244(0x15c)][_0x29d244(0x1a4)]['pipe'](_0x399a7e[_0x29d244(0x365)](this[_0x29d244(0x2e0)]))['subscribe'](_0x536fde=>{const _0xfcba63=_0x29d244,_0x29db52=_0x536fde['eventID'];_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2bb)]&&this[_0xfcba63(0x121)](_0x536fde),_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2a3)]&&this[_0xfcba63(0x393)](_0x536fde);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x1a63db=>{const _0x24a92c=_0x29d244,_0x492451=_0x1a63db[_0x24a92c(0x126)];_0x492451!=null&&this[_0x24a92c(0x1b3)]&&_0x1a63db['id']===_0x688e2[_0x24a92c(0x241)]['id']&&_0x492451['unitId']===this[_0x24a92c(0x352)]&&_0x492451[_0x24a92c(0x2fc)]===!0x1&&_0x492451[_0x24a92c(0x2f7)][_0x24a92c(0x1f8)]>0x0&&this[_0x24a92c(0x159)](_0x492451[_0x24a92c(0x2f7)]);})),this[_0x29d244(0x181)][_0x29d244(0x37f)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this['dispose$']))[_0x29d244(0x36b)](_0x49db66=>{const _0x50a7d6=_0x29d244;if((_0x49db66==null?void 0x0:_0x49db66[_0x50a7d6(0x352)])!==this[_0x50a7d6(0x352)])return;const _0x56215b={'eventID':_0x2ac5d3[_0x50a7d6(0x263)][_0x50a7d6(0x2bb)],'data':_0x49db66};this['_onCursorUpdate'](_0x56215b);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x4c3e5e=>{const _0x4f1779=_0x29d244;if(_0x4c3e5e['params']==null)return;const _0x9af82d=_0x4c3e5e[_0x4f1779(0x126)];if(_0x4c3e5e['id']!==_0x688e2[_0x4f1779(0x31c)]['id']||_0x9af82d['unitId']!==this['unitID'])return;const _0x29c00c={'id':'doc.mutation.rich-text-editing','params':_0x9af82d},_0x5557e2=this['cursorInfo'];for(const [_0x1356d4,_0x5ab389]of _0x5557e2){const _0x4b0ca5={'id':_0x4f1779(0x195),'params':{'unitId':this[_0x4f1779(0x352)],'actions':null,'textRanges':_0x5ab389['ranges']}},_0x1a7086=this[_0x4f1779(0x1ac)][_0x4f1779(0x1c7)](_0x29c00c,_0x4b0ca5,!0x1);if(_0x2ac5d3[_0x4f1779(0x197)](_0x1a7086))throw _0x1a7086[_0x4f1779(0x232)];_0x5557e2['set'](_0x1356d4,{..._0x5ab389,'ranges':_0x1a7086[_0x4f1779(0x154)][_0x4f1779(0x126)][_0x4f1779(0x133)]});}queueMicrotask(()=>{const _0x351f8b=_0x4f1779;this[_0x351f8b(0x237)][_0x351f8b(0x2f6)](_0x5557e2);});})));}['_onCursorUpdate'](_0x527e8a){const _0x523855=_0x2c8ec4;var _0x2bd094,_0x784caf;const {memberID:_0x1e274b,selection:_0x356465}=_0x527e8a[_0x523855(0x1cb)],_0x578318=_0x10f436(_0x356465),_0x5e0aec=(_0x784caf=(_0x2bd094=this['_memberService'][_0x523855(0x3a6)](this[_0x523855(0x352)],_0x1e274b))==null?void 0x0:_0x2bd094[_0x523855(0x34a)])!=null?_0x784caf:_0x523855(0x361),_0x213cd2={'color':this[_0x523855(0x12e)][_0x523855(0x3a9)](_0x1e274b),'name':_0x5e0aec,'ranges':_0x578318},_0x37589b=this[_0x523855(0x15f)];_0x37589b[_0x523855(0x3a4)](_0x1e274b,_0x213cd2),this['_cursorInfo$']['next'](_0x37589b);}[_0x2c8ec4(0x393)](_0x5a3c6a){const _0x18c91f=_0x2c8ec4,{memberID:_0x533d6e}=_0x5a3c6a[_0x18c91f(0x1cb)],_0x39e37d=this['cursorInfo'];_0x39e37d[_0x18c91f(0x259)](_0x533d6e),this[_0x18c91f(0x237)][_0x18c91f(0x2f6)](_0x39e37d);}[_0x2c8ec4(0x2ba)](){const _0x5e6703=_0x2c8ec4;var _0x1636ba;if(this['_online']=!0x0,((_0x1636ba=this[_0x5e6703(0x2f1)]['getFocusedUnit']())==null?void 0x0:_0x1636ba[_0x5e6703(0x14c)]())!==this['unitID'])return;const _0x57ed60=this[_0x5e6703(0x2ab)][_0x5e6703(0x36a)](_0x688e2['DocSelectionManagerService'])[_0x5e6703(0x307)]();Array[_0x5e6703(0x187)](_0x57ed60)&&_0x57ed60[_0x5e6703(0x1f8)]>0x0&&this[_0x5e6703(0x159)](_0x57ed60);}['_toggleOffline'](){const _0x4b3745=_0x2c8ec4;this[_0x4b3745(0x1b3)]=!0x1;}};_0x158431=_0x4d24dd([_0x5adf12(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5adf12(0x3,_0x268d3b['Inject'](_0x1ad7cd)),_0x5adf12(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x5adf12(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x5adf12(0x6,_0x2ac5d3[_0x2c8ec4(0x21f)]),_0x5adf12(0x7,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5adf12(0x8,_0x268d3b['ICommandService'])],_0x158431);var _0x7ccdf3=Object[_0x2c8ec4(0x146)],_0x3f9485=(_0x320cb7,_0x116aff,_0x30ce51,_0x10a70f)=>{for(var _0x436d25=_0x10a70f>0x1?void 0x0:_0x10a70f?_0x7ccdf3(_0x116aff,_0x30ce51):_0x116aff,_0x1d32bf=_0x320cb7['length']-0x1,_0x5616e8;_0x1d32bf>=0x0;_0x1d32bf--)(_0x5616e8=_0x320cb7[_0x1d32bf])&&(_0x436d25=_0x5616e8(_0x436d25)||_0x436d25);return _0x436d25;},_0x369b84=(_0x208d7c,_0x2ffb2e)=>(_0x4b5d8e,_0x59d1be)=>_0x2ffb2e(_0x4b5d8e,_0x59d1be,_0x208d7c);const _0x27d924=0x12c,_0x238c6e=0x64,_0x238801=()=>{let _0x10413c=[],_0x619f64=!0x1;return _0x36c1f4=>{const _0x206828=_0x156e;_0x10413c[_0x206828(0x243)](_0x36c1f4),_0x619f64||(_0x619f64=!0x0,setTimeout(()=>{const _0x46b680=_0x206828;_0x10413c[_0x46b680(0x31d)](_0x1bb4b7=>_0x1bb4b7()),_0x10413c=[],_0x619f64=!0x1;}));};};let _0x59e814=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x3a83fa,_0x1d8f5d,_0x3ec19d,_0x358284,_0x4e3ee5,_0x52e2a0,_0x453482,_0x435587){const _0x40836a=_0x2c8ec4;super(),_0x42374b(this,'_online',!0x1),_0x42374b(this,_0x40836a(0x216),!0x1),_0x42374b(this,_0x40836a(0x237),new _0x399a7e[(_0x40836a(0x33a))](new Map())),_0x42374b(this,'cursorInfo$',this[_0x40836a(0x237)]['asObservable']()),_0x42374b(this,_0x40836a(0x1f9),new _0x399a7e[(_0x40836a(0x33a))]([])),_0x42374b(this,_0x40836a(0x31b),this[_0x40836a(0x1f9)][_0x40836a(0x25d)](_0x399a7e['debounceTime'](_0x27d924))),_0x42374b(this,_0x40836a(0x159),_0x268d3b['debounce']((_0x2b9663,_0x35aa01)=>{const _0x16673e=_0x40836a,_0x5aa7d1={'eventID':_0x2ac5d3[_0x16673e(0x263)][_0x16673e(0x2bb)],'data':{'unitID':this[_0x16673e(0x352)],'memberID':this['_session'][_0x16673e(0x24b)](),'selection':_0xcce0ed[_0x16673e(0x313)](_0x2b9663,_0x35aa01[_0x16673e(0x168)])}};this[_0x16673e(0x15c)][_0x16673e(0x264)](_0x5aa7d1,this[_0x16673e(0x352)]);},_0x238c6e)),(this['unitID']=_0x3a83fa,this['_session']=_0x1d8f5d,this[_0x40836a(0x2ab)]=_0x3ec19d,this['_colorAssignService']=_0x358284,this[_0x40836a(0x2b1)]=_0x4e3ee5,this[_0x40836a(0x2f1)]=_0x52e2a0,this[_0x40836a(0x21d)]=_0x453482,this[_0x40836a(0x363)]=_0x435587);}get[_0x2c8ec4(0x15f)](){return this['_cursorInfo$']['getValue']();}get[_0x2c8ec4(0x2fe)](){const _0x273179=_0x2c8ec4;return this[_0x273179(0x1f9)]['getValue']();}[_0x2c8ec4(0x37b)](){const _0x5ee131=_0x2c8ec4;super['dispose'](),this['_cursorInfo$'][_0x5ee131(0x2f6)](new Map()),this['_cursorInfo$'][_0x5ee131(0x174)](),this[_0x5ee131(0x1f9)][_0x5ee131(0x2f6)]([]),this['_roomMembers$']['complete']();}[_0x2c8ec4(0x184)](){const _0x21a0c6=_0x2c8ec4;this[_0x21a0c6(0x216)]||(this['_init']=!0x0,this[_0x21a0c6(0x15c)][_0x21a0c6(0x2e8)]['pipe'](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x3528db=>{const _0x2c562d=_0x21a0c6;_0x3528db===_0x2eddce[_0x2c562d(0x221)][_0x2c562d(0x190)]?this[_0x2c562d(0x2ba)]():this[_0x2c562d(0x32b)]();}),this['_session'][_0x21a0c6(0x1a4)][_0x21a0c6(0x25d)](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x15d2c9=>{const _0x396b3f=_0x21a0c6,_0x15ae5d=_0x15d2c9[_0x396b3f(0x2c6)];_0x15ae5d===_0x2ac5d3[_0x396b3f(0x263)][_0x396b3f(0x2bb)]&&this['_onCursorUpdate'](_0x15d2c9),_0x15ae5d===_0x2ac5d3['CollaborationEvent'][_0x396b3f(0x2a3)]&&this[_0x396b3f(0x393)](_0x15d2c9);}),this[_0x21a0c6(0x11b)](),this[_0x21a0c6(0x345)](this[_0x21a0c6(0x21d)][_0x21a0c6(0x113)](_0x3b05bf=>{const _0xff934=_0x21a0c6;if(this['_online']&&_0x3b05bf['id']===_0x26ad5a[_0xff934(0x202)]['id']&&_0x3b05bf[_0xff934(0x126)][_0xff934(0x2e2)]===this[_0xff934(0x352)]){const _0x35b00c=_0x3b05bf[_0xff934(0x126)];this['_updateLocalCursor'](_0x35b00c[_0xff934(0x162)],_0x35b00c[_0xff934(0x359)][0x0]);}})));}[_0x2c8ec4(0x121)](_0x3564de){const _0x3a4090=_0x2c8ec4;var _0xcff3cb,_0x5b8a12;const {memberID:_0x2a82e2,selection:_0x4c1682}=_0x3564de[_0x3a4090(0x1cb)],{sheetName:_0x543085,range:_0x511f14}=_0xcce0ed[_0x3a4090(0x36c)](_0x4c1682),_0x45ce5c={'name':(_0x5b8a12=(_0xcff3cb=this['_memberService'][_0x3a4090(0x3a6)](this[_0x3a4090(0x352)],_0x2a82e2))==null?void 0x0:_0xcff3cb[_0x3a4090(0x34a)])!=null?_0x5b8a12:'Unknown\x20user','range':this[_0x3a4090(0x27a)](_0x543085,_0x511f14),'sheetID':_0x543085,'color':this[_0x3a4090(0x12e)]['assignAColorForMemberID'](_0x2a82e2),'selection':_0x4c1682},_0x3ce4d4=this[_0x3a4090(0x15f)];_0x3ce4d4[_0x3a4090(0x3a4)](_0x2a82e2,_0x45ce5c),this[_0x3a4090(0x237)]['next'](_0x3ce4d4);}['_onCursorDelete'](_0x4c4329){const _0x3e031e=_0x2c8ec4,{memberID:_0x7337e3}=_0x4c4329[_0x3e031e(0x1cb)],_0x4e93fe=this[_0x3e031e(0x15f)];_0x4e93fe[_0x3e031e(0x259)](_0x7337e3),this['_cursorInfo$'][_0x3e031e(0x2f6)](_0x4e93fe);}[_0x2c8ec4(0x27a)](_0xd49a21,_0x58a08a){const _0x5bc1db=_0x2c8ec4;var _0x51f647,_0x5ed106;const _0x5d9ef2=(_0x5ed106=(_0x51f647=this['_univerInstanceService'][_0x5bc1db(0x177)](this[_0x5bc1db(0x352)]))==null?void 0x0:_0x51f647['getSheetBySheetId'](_0xd49a21))==null?void 0x0:_0x5ed106[_0x5bc1db(0x370)]();return(_0x5d9ef2==null?void 0x0:_0x5d9ef2[_0x5bc1db(0x1c9)](_0x36a2f7=>_0x268d3b[_0x5bc1db(0x2a6)][_0x5bc1db(0x193)](_0x36a2f7,_0x58a08a)))||_0x58a08a;}[_0x2c8ec4(0x11b)](){const _0x240061=_0x2c8ec4,_0xaefd1=new _0x268d3b[(_0x240061(0x153))](),_0x323217=_0x238801(),_0x59112d=()=>{const _0x15c0e8=_0x240061;_0xaefd1[_0x15c0e8(0x37b)]();const _0x4a0a0a=(_0x28adf9,_0x50e06f,_0x2827f4,_0x3c9a2a)=>{const _0x41013e=_0x15c0e8;let _0x1cf602=[];switch(_0x28adf9['id']){case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1b5)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1fb)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13f)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['InsertColCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x2a9)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x21b)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x3a5)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x26e)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2fd)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x225)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2de)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['MoveRangeCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x326)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x165)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x26b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['RemoveRowCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x335)](_0x28adf9,_0x3c9a2a);break;}}const _0x1828f0=_0x26ad5a[_0x41013e(0x306)](_0x1cf602,_0x3c9a2a),_0x4f96ad=this[_0x41013e(0x15f)][_0x41013e(0x36a)](_0x50e06f);if(_0x4f96ad&&_0x1828f0){const _0x4bf21d={..._0x4f96ad,'range':_0x1828f0};this[_0x41013e(0x15f)][_0x41013e(0x3a4)](_0x50e06f,_0x4bf21d),_0x323217(()=>{const _0x257315=_0x41013e,_0x467667=this[_0x257315(0x363)][_0x257315(0x398)](_0x1828f0,_0x5c5bc5=>(_0x467667[_0x257315(0x37b)](),_0x4a0a0a(_0x5c5bc5,_0x50e06f,_0x2827f4,_0x1828f0)));_0xaefd1[_0x257315(0x1c1)](_0x467667);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x15c0e8(0x31d)]((_0x5a7b4b,_0x44b233)=>{const _0x3c59a7=_0x15c0e8,{range:_0x5cf995,sheetID:_0x2620ce}=_0x5a7b4b,_0x17814c=this[_0x3c59a7(0x363)][_0x3c59a7(0x398)](_0x5cf995,_0xbeb460=>(_0x17814c[_0x3c59a7(0x37b)](),_0x4a0a0a(_0xbeb460,_0x44b233,_0x2620ce,_0x5cf995)));_0xaefd1[_0x3c59a7(0x1c1)](_0x17814c);});};this[_0x240061(0x345)](_0x268d3b['toDisposable'](this[_0x240061(0x237)]['subscribe'](()=>{_0x59112d();})));}['_toggleOnline'](){const _0x27a291=_0x2c8ec4;var _0x5deac8,_0x594a47;if(this[_0x27a291(0x1b3)]=!0x0,((_0x5deac8=this['_univerInstanceService'][_0x27a291(0x280)]())==null?void 0x0:_0x5deac8['getUnitId']())!==this[_0x27a291(0x352)])return;const _0x50fce4=(_0x594a47=this[_0x27a291(0x2ab)][_0x27a291(0x36a)](_0x26ad5a[_0x27a291(0x21e)])[_0x27a291(0x299)]())==null?void 0x0:_0x594a47[0x0],_0x29338e=this[_0x27a291(0x2f1)]['getCurrentUnitForType'](_0x268d3b[_0x27a291(0x20a)][_0x27a291(0x186)])['getActiveSheet']();_0x50fce4&&_0x29338e&&this[_0x27a291(0x159)](_0x29338e['getSheetId'](),_0x50fce4);}[_0x2c8ec4(0x32b)](){const _0x4ee95e=_0x2c8ec4;this[_0x4ee95e(0x1b3)]=!0x1;}};_0x59e814=_0x3f9485([_0x369b84(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x369b84(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x1ad7cd)),_0x369b84(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x369b84(0x5,_0x268d3b['IUniverInstanceService']),_0x369b84(0x6,_0x268d3b['ICommandService']),_0x369b84(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x26ad5a[_0x2c8ec4(0x382)]))],_0x59e814);var _0x488512=Object['getOwnPropertyDescriptor'],_0x4187d9=(_0x39578b,_0x36e0b7,_0x802cd8,_0x1570e4)=>{const _0x5f4088=_0x2c8ec4;for(var _0x3c1588=_0x1570e4>0x1?void 0x0:_0x1570e4?_0x488512(_0x36e0b7,_0x802cd8):_0x36e0b7,_0x2c214a=_0x39578b[_0x5f4088(0x1f8)]-0x1,_0x531612;_0x2c214a>=0x0;_0x2c214a--)(_0x531612=_0x39578b[_0x2c214a])&&(_0x3c1588=_0x531612(_0x3c1588)||_0x3c1588);return _0x3c1588;},_0x5a63b6=(_0x5e0167,_0x2d5a1c)=>(_0x580ea7,_0x12744d)=>_0x2d5a1c(_0x580ea7,_0x12744d,_0x5e0167);let _0x2e97d2=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x455819,_0x35bf92,_0xf2bcd4){const _0x3518fb=_0x2c8ec4;super(),_0x42374b(this,_0x3518fb(0x166),new Map()),_0x42374b(this,'_entityInit$',new _0x399a7e[(_0x3518fb(0x2ec))]()),(this['_univerInstanceService']=_0x455819,this['_injector']=_0x35bf92,this[_0x3518fb(0x37c)]=_0xf2bcd4,this['_init']());}[_0x2c8ec4(0x37b)](){const _0x43f18b=_0x2c8ec4;super[_0x43f18b(0x37b)](),this[_0x43f18b(0x26d)]['complete'](),this[_0x43f18b(0x166)][_0x43f18b(0x31d)](_0x5c7e18=>_0x5c7e18[_0x43f18b(0x37b)]());}['getCollabCursors$'](_0x51901d){const _0x1baf95=_0x2c8ec4;return this['_entities'][_0x1baf95(0x119)](_0x51901d)?this[_0x1baf95(0x166)]['get'](_0x51901d)[_0x1baf95(0x386)]:this[_0x1baf95(0x26d)][_0x1baf95(0x25d)](_0x399a7e['filter'](_0x3065ae=>_0x3065ae['unitID']===_0x51901d),_0x399a7e[_0x1baf95(0x22f)](_0x556d59=>_0x556d59[_0x1baf95(0x386)]));}['_init'](){const _0x11d26a=_0x2c8ec4;this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)])[_0x11d26a(0x25d)](_0x399a7e['takeUntil'](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](async _0x18b98b=>{const _0x2c8642=_0x11d26a,_0x596dd3=_0x18b98b[_0x2c8642(0x14c)](),_0x454c07=await this[_0x2c8642(0x24c)](_0x596dd3);this[_0x2c8642(0x26d)]['next'](_0x454c07),this[_0x2c8642(0x166)]['set'](_0x596dd3,_0x454c07);}),this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)])['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x25d)](_0x399a7e[_0x11d26a(0x262)](_0x44549f=>!_0x44549f[_0x11d26a(0x14c)]()[_0x11d26a(0x194)]('__')))[_0x11d26a(0x36b)](async _0x203bb1=>{const _0x16b10d=_0x11d26a,_0xe75b42=_0x203bb1[_0x16b10d(0x14c)](),_0x4a9019=await this[_0x16b10d(0x1a6)](_0xe75b42);this[_0x16b10d(0x26d)][_0x16b10d(0x2f6)](_0x4a9019),this[_0x16b10d(0x166)][_0x16b10d(0x3a4)](_0xe75b42,_0x4a9019);}),_0x399a7e[_0x11d26a(0x1e8)](this[_0x11d26a(0x2f1)][_0x11d26a(0x369)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)]))['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](_0x1cb8cd=>{const _0x19ee51=_0x11d26a,_0x412f25=_0x1cb8cd[_0x19ee51(0x14c)](),_0x3ac136=this[_0x19ee51(0x166)][_0x19ee51(0x36a)](_0x412f25);_0x3ac136&&(_0x3ac136[_0x19ee51(0x37b)](),this['_entities'][_0x19ee51(0x259)](_0x412f25));});}async[_0x2c8ec4(0x24c)](_0x3727f4){const _0x51aa59=_0x2c8ec4,_0xfb9182=await this[_0x51aa59(0x37c)][_0x51aa59(0x2c5)](_0x3727f4),_0x3cd519=this[_0x51aa59(0x2ab)][_0x51aa59(0x2b5)](_0x59e814,_0x3727f4,_0xfb9182);return _0x3cd519['init'](),_0x3cd519;}async[_0x2c8ec4(0x1a6)](_0x503952){const _0x1d10c8=_0x2c8ec4,_0x3211ee=await this[_0x1d10c8(0x37c)][_0x1d10c8(0x2c5)](_0x503952),_0x127558=this[_0x1d10c8(0x2ab)][_0x1d10c8(0x2b5)](_0x158431,_0x503952,_0x3211ee);return _0x127558[_0x1d10c8(0x184)](),_0x127558;}};_0x2e97d2=_0x4187d9([_0x5a63b6(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5a63b6(0x1,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x5a63b6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x39c)]))],_0x2e97d2);const _0x684608=0x14,_0x22656b=0xc8,_0x13916d=0x4,_0x4e2066=0x5;function _0x2796ea(_0x59a5aa,_0x4d29f6){const _0x5e7522=_0x2c8ec4;let {radius:_0x136caa,width:_0x59e704,height:_0x569860}=_0x4d29f6;_0x136caa=_0x136caa!=null?_0x136caa:0x0,_0x59e704=_0x59e704!=null?_0x59e704:0x1e,_0x569860=_0x569860!=null?_0x569860:0x1e;let _0x4af900=0x0,_0xa80e07=0x0,_0x4109bb=0x0;_0x4af900=_0xa80e07=_0x4109bb=Math['min'](_0x136caa,_0x59e704/0x2,_0x569860/0x2),_0x59a5aa['beginPath'](),_0x59a5aa['moveTo'](_0x4af900,0x0),_0x59a5aa[_0x5e7522(0x372)](_0x59e704-_0xa80e07,0x0),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0xa80e07,_0xa80e07,_0xa80e07,Math['PI']*0x3/0x2,0x0,!0x1),_0x59a5aa['lineTo'](_0x59e704,_0x569860-_0x4109bb),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0x4109bb,_0x569860-_0x4109bb,_0x4109bb,0x0,Math['PI']/0x2,!0x1),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x569860),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x4af900),_0x59a5aa[_0x5e7522(0x20c)](_0x4af900,_0x4af900,_0x4af900,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59a5aa[_0x5e7522(0x268)](),_0x4d29f6['fill']&&(_0x59a5aa['save'](),_0x59a5aa[_0x5e7522(0x36e)]=_0x4d29f6[_0x5e7522(0x14a)],_0x4d29f6[_0x5e7522(0x158)]===_0x5e7522(0x288)?_0x59a5aa['fill']('evenodd'):_0x59a5aa[_0x5e7522(0x14a)](),_0x59a5aa[_0x5e7522(0x29e)]());}class _0x1ad70a extends _0xb8fc77['Shape']{constructor(_0x59f3b2,_0x39477e){const _0xed2cc6=_0x2c8ec4;super(_0x59f3b2,_0x39477e),_0x42374b(this,'color'),_0x42374b(this,'text'),(this['color']=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x156)],this[_0xed2cc6(0x346)]=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x346)]);}static[_0x2c8ec4(0x1cc)](_0x1f4f31,_0x30d81f){const _0x210af7=_0x2c8ec4,{text:_0x423b37,color:_0x545b2a}=_0x30d81f;_0x1f4f31[_0x210af7(0x378)](),_0x1f4f31['font']=_0x210af7(0x324);const _0x1a9b42=_0x1f4f31[_0x210af7(0x330)](_0x423b37)['width'],_0x384b7a=Math[_0x210af7(0x1f5)](_0x1a9b42+0x2*_0x13916d,_0x22656b);_0x2796ea(_0x1f4f31,{'height':_0x684608,'radius':0x4,'width':_0x384b7a,'fill':_0x545b2a}),_0x1f4f31[_0x210af7(0x36e)]=_0x210af7(0x292);const _0x328fbd=_0x13916d,_0x5b21ef=_0x684608-_0x4e2066,_0x59f46b=_0x22656b-0x2*_0x13916d;if(_0x1a9b42>_0x59f46b){let _0xe5dd7d='',_0xa7853e=0x0;for(const _0x5276df of _0x423b37){const _0x539cf8=_0x1f4f31[_0x210af7(0x330)](_0x5276df)[_0x210af7(0x1d2)];if(_0xa7853e+_0x539cf8<=_0x59f46b-_0x1f4f31['measureText'](_0x210af7(0x220))[_0x210af7(0x1d2)])_0xe5dd7d+=_0x5276df,_0xa7853e+=_0x539cf8;else{_0xe5dd7d+=_0x210af7(0x220);break;}}_0x1f4f31[_0x210af7(0x198)](_0xe5dd7d,_0x328fbd,_0x5b21ef);}else _0x1f4f31[_0x210af7(0x198)](_0x423b37,_0x328fbd,_0x5b21ef);_0x1f4f31['restore']();}[_0x2c8ec4(0x355)](_0x1fb5e9){const _0x263de1=_0x2c8ec4;_0x1ad70a[_0x263de1(0x1cc)](_0x1fb5e9,this);}}const _0x217d8b='collab-text-anchor-',_0x304560=_0x2c8ec4(0x391),_0x51a22e='collab-rect-range-',_0x210f90=0x6,_0x269ec5=1.5,_0x1e45ae=0x4,_0x20a25d=1.5,_0x549bcf=_0x2c8ec4(0x22c);class _0x2ec862{constructor(_0x3fcec4,_0x2f4522,_0x351c42,_0x3becdc){const _0xf9149f=_0x2c8ec4;_0x42374b(this,_0xf9149f(0x34f),[]),_0x42374b(this,_0xf9149f(0x2cd),null),_0x42374b(this,'_textBubble',null),_0x42374b(this,_0xf9149f(0x37a),null),_0x42374b(this,_0xf9149f(0x278),null),_0x42374b(this,_0xf9149f(0x128),null),(this[_0xf9149f(0x1cd)]=_0x3fcec4,this['_scene']=_0x2f4522,this[_0xf9149f(0x2ca)]=_0x351c42,this[_0xf9149f(0x2e6)]=_0x3becdc,this['_render']());}set[_0x2c8ec4(0x1a9)](_0x31062d){const _0x1cdb52=_0x2c8ec4;_0x31062d?(this[_0x1cdb52(0x37a)]&&this[_0x1cdb52(0x37a)]['hide'](),this[_0x1cdb52(0x1bb)]&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x3a3)]()):(this[_0x1cdb52(0x37a)]&&this['_anchorDot'][_0x1cdb52(0x3a3)](),this['_textBubble']&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x2ef)]());}['dispose'](){const _0x30b023=_0x2c8ec4;for(const _0x15f1ae of this['_shapes'])_0x15f1ae[_0x30b023(0x37b)]();this[_0x30b023(0x1bb)]&&this[_0x30b023(0x1bb)][_0x30b023(0x37b)](),this[_0x30b023(0x37a)]&&this[_0x30b023(0x37a)][_0x30b023(0x37b)](),this[_0x30b023(0x2cd)]&&this[_0x30b023(0x2cd)][_0x30b023(0x37b)](),this[_0x30b023(0x128)]&&this[_0x30b023(0x128)]();}[_0x2c8ec4(0x2ff)](){const _0x9fb647=_0x2c8ec4;var _0x1b942a;const {_docSkeleton:_0x573773,_document:_0x5a21d3}=this,{color:_0x2dc69c,name:_0x544a63,ranges:_0x4c850f}=this[_0x9fb647(0x1cd)],_0x39da69=_0x5a21d3[_0x9fb647(0x1a3)](),{docsLeft:_0x5c53f1,docsTop:_0x3f5857}=_0x39da69,_0x4beab5=new _0x58ed4c['NodePositionConvertToCursor'](_0x39da69,_0x573773);for(const {startOffset:_0xecc065,endOffset:_0x4fd2dd,rangeType:_0x29ef62,segmentId:_0x4fb84b,segmentPage:_0x7b8879,collapsed:_0x3034b5,isActive:_0x3e534d}of _0x4c850f){const _0x1c2abd=_0x573773[_0x9fb647(0x2a1)](_0xecc065,!0x0,_0x4fb84b,_0x7b8879);let _0x421bba=_0x573773['findNodePositionByCharIndex'](_0x4fd2dd,!0x0,_0x4fb84b,_0x7b8879);if(_0x421bba==null&&(_0x421bba=_0x573773[_0x9fb647(0x2a1)](_0x4fd2dd-0x1,!0x1,_0x4fb84b,_0x7b8879)),_0x3e534d){const {contentBoxPointGroup:_0x29d9c2}=_0x4beab5[_0x9fb647(0x388)](_0x421bba,_0x421bba);if(_0x29d9c2[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x179)](_0x2dc69c,_0x29d9c2,_0x5c53f1,_0x3f5857,_0x544a63),this[_0x9fb647(0x128)]=this['_handleHover']();}if(_0x1c2abd&&_0x421bba){if(_0x29ef62===_0x268d3b[_0x9fb647(0x144)]['RECT']){const _0x15e6f7=new _0x58ed4c[(_0x9fb647(0x28b))](_0x39da69,_0x573773),{pointGroup:_0x38f377}=(_0x1b942a=_0x15e6f7['getRangePointData'](_0x1c2abd,_0x421bba))!=null?_0x1b942a:{};if(_0x38f377==null||_0x38f377[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x2d7)](_0x2dc69c,_0x38f377,_0x5c53f1,_0x3f5857);}else{if(!_0x3034b5){const {borderBoxPointGroup:_0x200703}=_0x4beab5[_0x9fb647(0x388)](_0x1c2abd,_0x421bba);if(_0x200703[_0x9fb647(0x1f8)]===0x0)continue;this['_drawTextRange'](_0x2dc69c,_0x200703,_0x5c53f1,_0x3f5857);}}}}}[_0x2c8ec4(0x179)](_0x55f168,_0x452944,_0x53f67a,_0x3b0d77,_0x3135f9){const _0x51d752=_0x2c8ec4,_0x95bba3=this[_0x51d752(0x1e7)](_0x452944),{left:_0x35c768,top:_0x31897b,height:_0x578283}=_0x95bba3,_0x419ef1=this[_0x51d752(0x38f)](),_0x2fae8d=_0x20a25d/_0x419ef1,_0x2e391b=new _0xb8fc77[(_0x51d752(0x284))](_0x217d8b+_0x268d3b[_0x51d752(0x204)][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77,'height':_0x578283,'width':_0x269ec5,'fill':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)]['black'],0x0),'strokeWidth':_0x2fae8d,'stroke':_0x549bcf,'evented':!0x0});this['_anchor']=_0x2e391b,this['_scene']['addObject'](_0x2e391b,_0x58ed4c[_0x51d752(0x2fb)]);const _0x4f0f02=new _0xb8fc77['Rect'](_0x217d8b+_0x268d3b[_0x51d752(0x204)]['generateRandomId'](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x1e45ae/0x2,'height':_0x1e45ae,'width':_0x1e45ae,'fill':_0x55f168||_0xb8fc77['getColor'](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'strokeWidth':0x0,'stroke':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'evented':!0x1});this['_anchorDot']=_0x4f0f02,this['_scene']['addObject'](_0x4f0f02,_0x58ed4c[_0x51d752(0x2fb)]);const _0x1940a2=new _0x1ad70a(_0x217d8b+_0x268d3b['Tools'][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x684608,'text':_0x3135f9,'color':_0x55f168});this[_0x51d752(0x1bb)]=_0x1940a2,this[_0x51d752(0x210)][_0x51d752(0x129)](_0x1940a2,_0x58ed4c[_0x51d752(0x2fb)]),this[_0x51d752(0x1a9)]=!0x1;}[_0x2c8ec4(0x336)](){const _0x3532cd=_0x2c8ec4,_0x2c9fae=this[_0x3532cd(0x2cd)][_0x3532cd(0x13c)]['subscribeEvent'](()=>{const _0x65f47=_0x3532cd;this[_0x65f47(0x1a9)]=!0x0;}),_0x1448b0=this['_anchor'][_0x3532cd(0x1b0)][_0x3532cd(0x2b9)](()=>{const _0x9c3283=_0x3532cd;this[_0x9c3283(0x278)]&&clearTimeout(this[_0x9c3283(0x278)]),this[_0x9c3283(0x278)]=setTimeout(()=>{const _0x544eb2=_0x9c3283;this[_0x544eb2(0x1a9)]=!0x1;},0x7d0);});return()=>{const _0x3fac44=_0x3532cd;_0x2c9fae[_0x3fac44(0x182)](),_0x1448b0['unsubscribe']();};}[_0x2c8ec4(0x2e9)](_0x2d860b,_0x484bcd,_0xd0f7f0,_0x17dbc5){const _0x3696d7=_0x2c8ec4,_0x4b7ade=new _0x268d3b[(_0x3696d7(0x2ce))](_0x2d860b)['setAlpha'](0.2)[_0x3696d7(0x161)](),_0xe7bc5b=new _0xb8fc77[(_0x3696d7(0x11c))](_0x304560+_0x268d3b[_0x3696d7(0x204)]['generateRandomId'](_0x210f90),{'pointsGroup':_0x484bcd,'fill':_0x4b7ade||_0xb8fc77[_0x3696d7(0x172)](_0x268d3b[_0x3696d7(0x1af)][_0x3696d7(0x27c)],0.2),'left':_0xd0f7f0,'top':_0x17dbc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3696d7(0x34f)]['push'](_0xe7bc5b),this[_0x3696d7(0x210)]['addObject'](_0xe7bc5b,_0x58ed4c[_0x3696d7(0x2fb)]);}[_0x2c8ec4(0x2d7)](_0x128c24,_0x2cbac4,_0x46a555,_0x48678e){const _0xcfd70c=_0x2c8ec4,_0x8309ef=new _0x268d3b['ColorKit'](_0x128c24)[_0xcfd70c(0x1ef)](0.2)['toRgbString'](),_0x3693b7=new _0xb8fc77[(_0xcfd70c(0x11c))](_0x51a22e+_0x268d3b['Tools'][_0xcfd70c(0x228)](_0x210f90),{'pointsGroup':_0x2cbac4,'fill':_0x8309ef||_0xb8fc77['getColor'](_0x268d3b[_0xcfd70c(0x1af)]['black'],0.2),'left':_0x46a555,'top':_0x48678e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xcfd70c(0x34f)][_0xcfd70c(0x243)](_0x3693b7),this[_0xcfd70c(0x210)][_0xcfd70c(0x129)](_0x3693b7,_0x58ed4c[_0xcfd70c(0x2fb)]);}[_0x2c8ec4(0x1e7)](_0x147057){const _0x2899c6=_0x147057[0x0],_0x20f81c=_0x2899c6[0x0],_0x229c84=_0x2899c6[0x2],{x:_0x27ceb3,y:_0x375777}=_0x20f81c,{x:_0x3aa847,y:_0x292d99}=_0x229c84;return{'left':_0x27ceb3,'top':_0x375777,'width':_0x3aa847-_0x27ceb3,'height':_0x292d99-_0x375777};}[_0x2c8ec4(0x38f)](){const _0x367742=_0x2c8ec4,{scaleX:_0x2f7444,scaleY:_0x528a32}=this[_0x367742(0x210)][_0x367742(0x2d8)]();return Math[_0x367742(0x1e0)](_0x2f7444,_0x528a32);}}var _0x48cb84=Object['getOwnPropertyDescriptor'],_0x1d6364=(_0x3168b1,_0x45cf50,_0x2d43e5,_0x4e074b)=>{const _0x4b0264=_0x2c8ec4;for(var _0x444c6e=_0x4e074b>0x1?void 0x0:_0x4e074b?_0x48cb84(_0x45cf50,_0x2d43e5):_0x45cf50,_0xd38eba=_0x3168b1[_0x4b0264(0x1f8)]-0x1,_0x10462b;_0xd38eba>=0x0;_0xd38eba--)(_0x10462b=_0x3168b1[_0xd38eba])&&(_0x444c6e=_0x10462b(_0x444c6e)||_0x444c6e);return _0x444c6e;},_0x2d3a71=(_0x262830,_0x1e8baa)=>(_0x4d959e,_0x1c17f7)=>_0x1e8baa(_0x4d959e,_0x1c17f7,_0x262830);let _0x269418=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x120141,_0x5343ec,_0x104896,_0x106d58,_0xdf8175){const _0x215729=_0x2c8ec4;super(),_0x42374b(this,_0x215729(0x1d3),[]),_0x42374b(this,_0x215729(0x16a),[]),(this['_context']=_0x120141,this[_0x215729(0x32c)]=_0x5343ec,this[_0x215729(0x271)]=_0x104896,this[_0x215729(0x21d)]=_0x106d58,this[_0x215729(0x22b)]=_0xdf8175,this['_init']());}['_init'](){const _0x3c6a87=_0x2c8ec4,_0x157d2b=this['_context']['unitId'],_0x17bd9a=this[_0x3c6a87(0x32c)];this[_0x3c6a87(0x345)](_0x399a7e['combineLatest']([this[_0x3c6a87(0x271)][_0x3c6a87(0x196)](_0x157d2b),this[_0x3c6a87(0x22b)][_0x3c6a87(0x289)]])[_0x3c6a87(0x25d)](_0x30c278['map'](([_0xd39a41,_0x4d1aa8])=>({'skeleton':_0x17bd9a[_0x3c6a87(0x234)](),'cursors':[..._0xd39a41[_0x3c6a87(0x3a8)]()][_0x3c6a87(0x38e)](_0x48cc4d=>({..._0x48cc4d,'color':this['_themeService'][_0x3c6a87(0x143)](_0x48cc4d[_0x3c6a87(0x156)])}))})))[_0x3c6a87(0x36b)](_0x17ca04=>{const _0xa0043c=_0x3c6a87;if(this[_0xa0043c(0x183)](),_0x17ca04){const {skeleton:_0x48af9d,cursors:_0x3c2fda}=_0x17ca04;this[_0xa0043c(0x2da)](_0x48af9d,_0x3c2fda);}})),this[_0x3c6a87(0x2a7)](),this[_0x3c6a87(0x148)]();}[_0x2c8ec4(0x2da)](_0x14c205,_0x2dacf7){const _0x3a2bdb=_0x2c8ec4,{scene:_0x47e88b,mainComponent:_0x19e558}=this[_0x3a2bdb(0x120)],_0x1ed638=_0x2dacf7['map'](_0x88369f=>new _0x2ec862(_0x88369f,_0x47e88b,_0x14c205,_0x19e558));this[_0x3a2bdb(0x1d3)]=_0x1ed638,this[_0x3a2bdb(0x16a)]=_0x2dacf7;}[_0x2c8ec4(0x350)](){const _0x29a19e=_0x2c8ec4;this[_0x29a19e(0x183)]();const {scene:_0xb2d703,mainComponent:_0x4f507a}=this[_0x29a19e(0x120)],_0x22acf6=this['_docSkeletonManagerService'][_0x29a19e(0x234)](),_0x2f072b=this[_0x29a19e(0x16a)]['map'](_0x40d8ed=>new _0x2ec862(_0x40d8ed,_0xb2d703,_0x22acf6,_0x4f507a));this[_0x29a19e(0x1d3)]=_0x2f072b;}['_removeCollabCursors'](){const _0x36735e=_0x2c8ec4;this[_0x36735e(0x1d3)][_0x36735e(0x31d)](_0x371b4b=>_0x371b4b[_0x36735e(0x37b)]()),this[_0x36735e(0x1d3)]=[];}[_0x2c8ec4(0x148)](){const _0x1ebac4=_0x2c8ec4,_0x4ed7df=[_0x58ed4c[_0x1ebac4(0x233)]['id']];this[_0x1ebac4(0x345)](this[_0x1ebac4(0x21d)]['onCommandExecuted'](_0x4ce7b7=>{const _0x30c3b8=_0x1ebac4;_0x4ed7df[_0x30c3b8(0x11f)](_0x4ce7b7['id'])&&_0x4ce7b7[_0x30c3b8(0x126)][_0x30c3b8(0x2e2)]===this[_0x30c3b8(0x120)][_0x30c3b8(0x2e2)]&&this[_0x30c3b8(0x350)]();}));}[_0x2c8ec4(0x2a7)](){const _0x3be7e2=_0x2c8ec4;this['disposeWithMe'](_0x268d3b[_0x3be7e2(0x1b2)](this['_context'][_0x3be7e2(0x381)][_0x3be7e2(0x246)])['pipe'](_0x30c278['filter'](_0x752521=>_0x752521['type']===_0xb8fc77[_0x3be7e2(0x23b)][_0x3be7e2(0x1bc)]),_0x30c278[_0x3be7e2(0x15e)](0x10))['subscribe'](()=>{const _0x2c5e11=_0x3be7e2;this[_0x2c5e11(0x350)]();}));}};_0x269418=_0x1d6364([_0x2d3a71(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x688e2['DocSkeletonManagerService'])),_0x2d3a71(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x2d3a71(0x3,_0x268d3b[_0x2c8ec4(0x22a)]),_0x2d3a71(0x4,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['ThemeService']))],_0x269418);const _0x3448fd=0x1,_0x1b9267=1.5;class _0x9f5a04 extends _0xb8fc77[_0x2c8ec4(0x2a4)]{constructor(_0xfd2998,_0x582b59){const _0x14410b=_0x2c8ec4;super(_0xfd2998,_0x582b59),_0x42374b(this,_0x14410b(0x248)),_0x42374b(this,_0x14410b(0x249),!0x1),_0x42374b(this,'_range'),_0x42374b(this,_0x14410b(0x11d),''),_0x42374b(this,_0x14410b(0x380),_0x14410b(0x1ee)),_0x42374b(this,'_backgroundColor'),(_0x582b59&&this[_0x14410b(0x375)](_0x582b59),this['onPointerEnter$'][_0x14410b(0x2b9)](()=>this[_0x14410b(0x375)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x14410b(0x375)]({'hovered':!0x1})));}[_0x2c8ec4(0x375)](_0x72dde8){const _0x304bf5=_0x2c8ec4;var _0x279f3a,_0x39e1b8,_0x389c1a,_0x428d05,_0x57a395,_0x4410d8;this[_0x304bf5(0x248)]=(_0x279f3a=_0x72dde8[_0x304bf5(0x156)])!=null?_0x279f3a:this[_0x304bf5(0x248)],this['_hovered']=(_0x39e1b8=_0x72dde8['hovered'])!=null?_0x39e1b8:this[_0x304bf5(0x249)],this[_0x304bf5(0x3ae)]=(_0x389c1a=_0x72dde8[_0x304bf5(0x168)])!=null?_0x389c1a:this[_0x304bf5(0x3ae)],this[_0x304bf5(0x11d)]=(_0x428d05=_0x72dde8[_0x304bf5(0x34a)])!=null?_0x428d05:this[_0x304bf5(0x11d)],this[_0x304bf5(0x380)]=(_0x57a395=_0x72dde8[_0x304bf5(0x33c)])!=null?_0x57a395:this['_labelPosition'],this['_backgroundColor']=(_0x4410d8=_0x72dde8['backgroundColor'])!=null?_0x4410d8:this[_0x304bf5(0x209)],this['transformByState']({'width':_0x72dde8[_0x304bf5(0x1d2)],'height':_0x72dde8[_0x304bf5(0x15a)]});}['onMouseMove'](_0xe8c0e8){const _0x782211=_0x2c8ec4,{row:_0x496ac5,column:_0x4f9b65}=_0xe8c0e8;if(_0x496ac5>=this['_range']['startRow']&&_0x496ac5<=this[_0x782211(0x3ae)]['endRow']&&_0x4f9b65>=this[_0x782211(0x3ae)]['startColumn']&&_0x4f9b65<=this[_0x782211(0x3ae)][_0x782211(0x2d1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x782211(0x375)]({'hovered':!0x1});}['triggerDblclick'](_0x597e57){return!0x1;}[_0x2c8ec4(0x355)](_0x1169b1){const _0x37fbfe=_0x2c8ec4;_0xb8fc77[_0x37fbfe(0x284)]['drawWith'](_0x1169b1,{'width':this[_0x37fbfe(0x1d2)],'height':this[_0x37fbfe(0x15a)],'strokeWidth':_0x1b9267,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x37fbfe(0x209)]}),this[_0x37fbfe(0x249)]&&(_0x1169b1[_0x37fbfe(0x378)](),_0x1169b1['transform'](0x1,0x0,0x0,0x1,this[_0x37fbfe(0x1d2)],this[_0x37fbfe(0x380)]===_0x37fbfe(0x319)?0x0:-0x14),_0x1ad70a[_0x37fbfe(0x1cc)](_0x1169b1,{'text':this[_0x37fbfe(0x11d)],'color':this[_0x37fbfe(0x248)]}),_0x1169b1[_0x37fbfe(0x29e)]());}}var _0x37c1c8=Object[_0x2c8ec4(0x146)],_0x4a41db=(_0x5a0e88,_0x15125a,_0x201055,_0x1631df)=>{const _0x2ded60=_0x2c8ec4;for(var _0x1dbc9a=_0x1631df>0x1?void 0x0:_0x1631df?_0x37c1c8(_0x15125a,_0x201055):_0x15125a,_0x40275b=_0x5a0e88[_0x2ded60(0x1f8)]-0x1,_0x480d51;_0x40275b>=0x0;_0x40275b--)(_0x480d51=_0x5a0e88[_0x40275b])&&(_0x1dbc9a=_0x480d51(_0x1dbc9a)||_0x1dbc9a);return _0x1dbc9a;},_0x25b606=(_0x48329a,_0xb5a4f4)=>(_0x569ed3,_0xc26c7a)=>_0xb5a4f4(_0x569ed3,_0xc26c7a,_0x48329a);const _0x4ee533=0x1389;let _0x4f4f9f=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2fd1ff,_0x455103,_0x5022b2,_0x583f21){const _0x1a4221=_0x2c8ec4;super(),_0x42374b(this,_0x1a4221(0x16a),new Set()),_0x42374b(this,_0x1a4221(0x236),null),(this[_0x1a4221(0x120)]=_0x2fd1ff,this[_0x1a4221(0x1d9)]=_0x455103,this[_0x1a4221(0x271)]=_0x5022b2,this[_0x1a4221(0x22b)]=_0x583f21,this[_0x1a4221(0x216)]());}[_0x2c8ec4(0x216)](){const _0x95a31f=_0x2c8ec4;this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x25d)](_0x30c278[_0x95a31f(0x365)](this[_0x95a31f(0x2e0)]),_0x30c278[_0x95a31f(0x22f)](_0x5a8e22=>{const _0x2b681f=_0x95a31f;if(_0x5a8e22){const _0x57167d=_0x5a8e22[_0x2b681f(0x394)];return _0x399a7e[_0x2b681f(0x212)](this[_0x2b681f(0x271)][_0x2b681f(0x196)](this['_context'][_0x2b681f(0x2e2)]),this[_0x2b681f(0x22b)][_0x2b681f(0x289)])[_0x2b681f(0x25d)](_0x30c278[_0x2b681f(0x19d)](([_0xa22f58,_0x102761])=>{const _0x556928=_0x2b681f,_0x23d809=new Map();return _0xa22f58[_0x556928(0x31d)]((_0x5a1fce,_0x39589f)=>{const _0x3bbd9f=_0x556928;if(_0x5a1fce['sheetID']===_0x57167d){const _0xe446e7={..._0x5a1fce};_0xe446e7[_0x3bbd9f(0x156)]=this['_themeService'][_0x3bbd9f(0x143)](_0x5a1fce['color']),_0x23d809[_0x3bbd9f(0x3a4)](_0x39589f,_0xe446e7);}}),{'skeleton':_0x5a8e22,'cursors':_0x23d809};}));}return _0x399a7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x95a31f(0x36b)](({skeleton:_0x4fd81c,cursors:_0x3eed40})=>{const _0xc21b84=_0x95a31f;this[_0xc21b84(0x183)](),_0x4fd81c&&this[_0xc21b84(0x2da)](_0x4fd81c,_0x3eed40);}),this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x36b)](_0x39ab8d=>{const _0x81e5a=_0x95a31f;if(_0x39ab8d==null)return;const {skeleton:_0x548d0a}=_0x39ab8d,{scene:_0x1d36a3}=this[_0x81e5a(0x120)];_0x1d36a3[_0x81e5a(0x2ac)][_0x81e5a(0x2b9)](_0x268d3b[_0x81e5a(0x1b7)](_0x4d3ac0=>{const _0x544dff=_0x81e5a;var _0x3b9fb6,_0x55a17c;const {offsetX:_0x247f96,offsetY:_0x2095da}=_0x4d3ac0,{x:_0x48f967,y:_0x30533f}=_0x1d36a3[_0x544dff(0x2af)](_0xb8fc77[_0x544dff(0x1a0)][_0x544dff(0x1f2)]([_0x247f96,_0x2095da])),{scaleX:_0x5d25f1,scaleY:_0x1e8336}=_0x1d36a3[_0x544dff(0x2d8)](),_0xd63e6=_0x1d36a3[_0x544dff(0x2fa)](_0xb8fc77[_0x544dff(0x293)][_0x544dff(0x23c)]),_0xfbc473=_0x1d36a3[_0x544dff(0x180)](_0xb8fc77['Vector2'][_0x544dff(0x1f2)]([_0x48f967,_0x30533f]),_0xd63e6),_0x320c8d=_0x548d0a[_0x544dff(0x286)](_0x247f96,_0x2095da,_0x5d25f1,_0x1e8336,_0xfbc473);((_0x3b9fb6=this[_0x544dff(0x236)])==null?void 0x0:_0x3b9fb6['column'])===_0x320c8d['column']&&((_0x55a17c=this[_0x544dff(0x236)])==null?void 0x0:_0x55a17c[_0x544dff(0x1df)])===_0x320c8d['row']||this[_0x544dff(0x16a)][_0x544dff(0x31d)](_0x938b50=>{const _0x4f3b2c=_0x544dff;_0x938b50[_0x4f3b2c(0x151)](_0x320c8d);});},0x64));});}[_0x2c8ec4(0x2da)](_0x256420,_0x5970f6){const _0x19f2bb=_0x2c8ec4;var _0x7e4af3;const _0x52f7db=(_0x7e4af3=this[_0x19f2bb(0x1d9)][_0x19f2bb(0x27f)]())==null?void 0x0:_0x7e4af3['skeleton'];if(!_0x52f7db)return;const _0x271aa8=this[_0x19f2bb(0x18f)]();if(!_0x271aa8)return;this[_0x19f2bb(0x16a)]['forEach'](_0x3f9583=>{const _0x4e6879=_0x19f2bb;_0x3f9583[_0x4e6879(0x2dd)]();});const {scene:_0x2cf4d6}=_0x271aa8,_0x2c1828=_0x3e08e0(Array[_0x19f2bb(0x357)](_0x5970f6[_0x19f2bb(0x3a8)]()))[_0x19f2bb(0x19d)](_0x4db418=>{const _0x283027=_0x19f2bb,{color:_0x125b8d,range:_0x583c18,name:_0x26dad6,selection:_0x181757,sheetID:_0x57b783}=_0x4db418,{startColumn:_0x4e5e96,startRow:_0x354a7b,endColumn:_0x42f2ee,endRow:_0x3da986}=_0x583c18,_0x4c1312=_0x41fdc4['getCoordByCell'](_0x354a7b,_0x4e5e96,_0x2cf4d6,_0x52f7db),_0x4740ba=_0x41fdc4[_0x283027(0x32f)](_0x3da986,_0x42f2ee,_0x2cf4d6,_0x52f7db),{columnHeaderHeightAndMarginTop:_0x18c1ea}=_0x52f7db,{startX:_0x46390b,startY:_0x562c21}=_0x4c1312,{endX:_0x4136c7,endY:_0x5cb457}=_0x4740ba,_0x279144=_0x4136c7-_0x46390b,_0x53498d=_0x5cb457-_0x562c21,_0x4349ba={'labelPosition':_0x562c21-_0x18c1ea>=_0x684608?_0x283027(0x1ee):_0x283027(0x319),'sheetID':_0x57b783,'range':_0x583c18,'color':_0x125b8d,'name':_0x26dad6,'selection':_0x181757,'left':_0x46390b,'top':_0x562c21,'width':_0x279144,'height':_0x53498d,'evented':!0x1,'zIndex':_0x4ee533};return new _0x9f5a04(_0x26dad6,_0x4349ba);});_0x2cf4d6[_0x19f2bb(0x26c)](_0x2c1828,_0x3448fd),this[_0x19f2bb(0x16a)]=new Set(_0x2c1828);}[_0x2c8ec4(0x183)](){const _0x472913=_0x2c8ec4;var _0x512c0e;(_0x512c0e=this[_0x472913(0x16a)])==null||_0x512c0e[_0x472913(0x31d)](_0x19d490=>_0x19d490[_0x472913(0x37b)]());}[_0x2c8ec4(0x18f)](){const _0xf9543=_0x2c8ec4;return _0x41fdc4[_0xf9543(0x367)](this[_0xf9543(0x120)][_0xf9543(0x200)],this[_0xf9543(0x120)]);}};_0x4f4f9f=_0x4a41db([_0x25b606(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x41fdc4[_0x2c8ec4(0x385)])),_0x25b606(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x25b606(0x3,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x34b)]))],_0x4f4f9f);function _0x3e08e0(_0x4c48bc){const _0x527fb5=_0x2c8ec4,_0xc3bbb0=new Map();return _0x4c48bc[_0x527fb5(0x31d)](_0x4f9ef4=>{const _0x1963be=_0x527fb5;if(_0xc3bbb0['has'](_0x4f9ef4['selection'])){const _0x4d3d2e=_0xc3bbb0['get'](_0x4f9ef4[_0x1963be(0x38d)]);_0x4d3d2e[_0x1963be(0x34a)]+=',\x20'+_0x4f9ef4[_0x1963be(0x34a)];}else _0xc3bbb0[_0x1963be(0x3a4)](_0x4f9ef4[_0x1963be(0x38d)],_0x4f9ef4);}),Array['from'](_0xc3bbb0[_0x527fb5(0x3a8)]());}var _0x4a5033=function(){const _0x24e97b=_0x2c8ec4;return _0x4a5033=Object[_0x24e97b(0x362)]||function(_0x36c114){const _0x3a1b17=_0x24e97b;for(var _0x331e3b,_0x2f03bf=0x1,_0x4fed76=arguments[_0x3a1b17(0x1f8)];_0x2f03bf<_0x4fed76;_0x2f03bf++){_0x331e3b=arguments[_0x2f03bf];for(var _0x55e80a in _0x331e3b)Object[_0x3a1b17(0x2ed)][_0x3a1b17(0x2b4)][_0x3a1b17(0x2ea)](_0x331e3b,_0x55e80a)&&(_0x36c114[_0x55e80a]=_0x331e3b[_0x55e80a]);}return _0x36c114;},_0x4a5033['apply'](this,arguments);},_0x4f7116=function(_0x3eb99b,_0x2af8a8){const _0x26274d=_0x2c8ec4;var _0x175ba1={};for(var _0x5c16e1 in _0x3eb99b)Object[_0x26274d(0x2ed)][_0x26274d(0x2b4)][_0x26274d(0x2ea)](_0x3eb99b,_0x5c16e1)&&_0x2af8a8['indexOf'](_0x5c16e1)<0x0&&(_0x175ba1[_0x5c16e1]=_0x3eb99b[_0x5c16e1]);if(_0x3eb99b!=null&&typeof Object[_0x26274d(0x3ab)]==_0x26274d(0x1ca)){for(var _0x1af89b=0x0,_0x5c16e1=Object['getOwnPropertySymbols'](_0x3eb99b);_0x1af89b<_0x5c16e1['length'];_0x1af89b++)_0x2af8a8[_0x26274d(0x3a0)](_0x5c16e1[_0x1af89b])<0x0&&Object[_0x26274d(0x2ed)][_0x26274d(0x2df)]['call'](_0x3eb99b,_0x5c16e1[_0x1af89b])&&(_0x175ba1[_0x5c16e1[_0x1af89b]]=_0x3eb99b[_0x5c16e1[_0x1af89b]]);}return _0x175ba1;},_0x44563d=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x48515d,_0x548c15){const _0xf75da=_0x2c8ec4;var _0xef9209=_0x48515d[_0xf75da(0x217)],_0xff2f1c=_0x48515d['id'],_0x2f1306=_0x48515d[_0xf75da(0x219)],_0x248acf=_0x48515d[_0xf75da(0x368)],_0x3afd02=_0x4f7116(_0x48515d,[_0xf75da(0x217),'id','className',_0xf75da(0x368)]),_0x87dca9='univerjs-icon\x20univerjs-icon-'[_0xf75da(0x1ae)](_0xff2f1c,'\x20')['concat'](_0x2f1306||'')[_0xf75da(0x38c)](),_0xa440b9=_0x4964a2[_0xf75da(0x395)]('_'[_0xf75da(0x1ae)](_0x2924a8()));return _0x134d6d(_0xef9209,''['concat'](_0xff2f1c),{'defIds':_0xef9209[_0xf75da(0x1b8)],'idSuffix':_0xa440b9['current']},_0x4a5033({'ref':_0x548c15,'className':_0x87dca9},_0x3afd02),_0x248acf);});function _0x134d6d(_0x55033d,_0x312688,_0x12ee53,_0x3c005f,_0xefca3d){const _0x4a40b7=_0x2c8ec4;return _0x4964a2[_0x4a40b7(0x1b9)](_0x55033d[_0x4a40b7(0x18a)],_0x4a5033(_0x4a5033({'key':_0x312688},_0x2236d9(_0x55033d,_0x12ee53,_0xefca3d)),_0x3c005f),(_0x8cba41(_0x55033d,_0x12ee53)['children']||[])[_0x4a40b7(0x19d)](function(_0x172072,_0x44eb35){const _0x39b14a=_0x4a40b7;return _0x134d6d(_0x172072,''[_0x39b14a(0x1ae)](_0x312688,'-')[_0x39b14a(0x1ae)](_0x55033d[_0x39b14a(0x18a)],'-')['concat'](_0x44eb35),_0x12ee53,void 0x0,_0xefca3d);}));}function _0x2236d9(_0x22d367,_0x31196c,_0x35d5ab){const _0x1be58a=_0x2c8ec4;var _0x1c8114=_0x4a5033({},_0x22d367[_0x1be58a(0x1e5)]);_0x35d5ab!=null&&_0x35d5ab[_0x1be58a(0x321)]&&_0x1c8114['fill']===_0x1be58a(0x321)&&(_0x1c8114[_0x1be58a(0x14a)]=_0x35d5ab['colorChannel1']),_0x22d367['tag']===_0x1be58a(0x17e)&&_0x1c8114['id']&&(_0x1c8114['id']=_0x1c8114['id']+_0x31196c[_0x1be58a(0x27b)]),Object[_0x1be58a(0x25f)](_0x1c8114)['forEach'](function(_0x3b8341){const _0x1f8d88=_0x1be58a;var _0x25a99d=_0x3b8341[0x0],_0x5c6526=_0x3b8341[0x1];_0x25a99d===_0x1f8d88(0x17e)&&typeof _0x5c6526==_0x1f8d88(0x124)&&(_0x1c8114[_0x25a99d]=_0x5c6526['replace'](/url\(#(.*)\)/,_0x1f8d88(0x205)[_0x1f8d88(0x1ae)](_0x31196c['idSuffix'],')')));});var _0x1ad4b2=_0x31196c[_0x1be58a(0x1b8)];return!_0x1ad4b2||_0x1ad4b2[_0x1be58a(0x1f8)]===0x0||(_0x22d367[_0x1be58a(0x18a)]===_0x1be58a(0x2ae)&&_0x1c8114[_0x1be58a(0x2cc)]&&(_0x1c8114[_0x1be58a(0x2cc)]=_0x1c8114[_0x1be58a(0x2cc)]+_0x31196c[_0x1be58a(0x27b)]),Object['entries'](_0x1c8114)[_0x1be58a(0x31d)](function(_0x33836e){const _0x173118=_0x1be58a;var _0x15ce43=_0x33836e[0x0],_0x202863=_0x33836e[0x1];typeof _0x202863==_0x173118(0x124)&&(_0x1c8114[_0x15ce43]=_0x202863[_0x173118(0x118)](/url\(#(.*)\)/,_0x173118(0x205)[_0x173118(0x1ae)](_0x31196c[_0x173118(0x27b)],')')));})),_0x1c8114;}function _0x8cba41(_0x3aa41e,_0x35811f){const _0x57d58e=_0x2c8ec4;var _0xc632bb,_0x5d3c5f=_0x35811f[_0x57d58e(0x1b8)];return!_0x5d3c5f||_0x5d3c5f[_0x57d58e(0x1f8)]===0x0?_0x3aa41e:_0x3aa41e['tag']==='defs'&&(!((_0xc632bb=_0x3aa41e[_0x57d58e(0x2bd)])===null||_0xc632bb===void 0x0)&&_0xc632bb[_0x57d58e(0x1f8)])?_0x4a5033(_0x4a5033({},_0x3aa41e),{'children':_0x3aa41e[_0x57d58e(0x2bd)][_0x57d58e(0x19d)](function(_0x42595c){const _0x388c19=_0x57d58e;return typeof _0x42595c[_0x388c19(0x1e5)]['id']==_0x388c19(0x124)&&_0x5d3c5f&&_0x5d3c5f[_0x388c19(0x3a0)](_0x42595c[_0x388c19(0x1e5)]['id'])>-0x1?_0x4a5033(_0x4a5033({},_0x42595c),{'attrs':_0x4a5033(_0x4a5033({},_0x42595c[_0x388c19(0x1e5)]),{'id':_0x42595c[_0x388c19(0x1e5)]['id']+_0x35811f[_0x388c19(0x27b)]})}):_0x42595c;})}):_0x3aa41e;}function _0x2924a8(){const _0x3705ec=_0x2c8ec4;return Math[_0x3705ec(0x3af)]()[_0x3705ec(0x1f0)](0x24)[_0x3705ec(0x123)](0x2,0x8);}_0x44563d[_0x2c8ec4(0x314)]=_0x2c8ec4(0x25a);var _0x23b86d={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c8ec4(0x1ba),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x302),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':_0x2c8ec4(0x28e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x582ba3=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x5b773d,_0x4574d6){const _0x459308=_0x2c8ec4;return _0x4964a2[_0x459308(0x1b9)](_0x44563d,Object[_0x459308(0x362)]({},_0x5b773d,{'id':'off-line-single','ref':_0x4574d6,'icon':_0x23b86d}));});_0x582ba3[_0x2c8ec4(0x314)]='OffLineSingle';var _0x109f87={'tag':_0x2c8ec4(0x379),'attrs':{'fill':_0x2c8ec4(0x211),'viewBox':_0x2c8ec4(0x20d),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c8ec4(0x29d)},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':_0x2c8ec4(0x24d),'attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x2c8ec4(0x1b1)]},_0x53dcc2=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x2adb89,_0x3fc55f){const _0x2f9184=_0x2c8ec4;return _0x4964a2['createElement'](_0x44563d,Object['assign']({},_0x2adb89,{'id':_0x2f9184(0x390),'ref':_0x3fc55f,'icon':_0x109f87}));});_0x53dcc2[_0x2c8ec4(0x314)]=_0x2c8ec4(0x253);function _0x4ba6bf(_0x3522f8){const _0x156f03=_0x2c8ec4;switch(_0x3522f8){case _0x2eddce['CollaborationStatus'][_0x156f03(0x1d1)]:return _0x156f03(0x334);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x338)]:return _0x156f03(0x3ad);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1d0)]:return'collabStatus.fetchMiss';case _0x2eddce[_0x156f03(0x2aa)]['NOT_COLLAB']:return _0x156f03(0x30f);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1c6)]:case _0x2eddce[_0x156f03(0x2aa)]['AWAITING_WITH_PENDING']:return _0x156f03(0x12d);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1ed)]:case _0x2eddce[_0x156f03(0x2aa)]['PENDING']:return _0x156f03(0x218);}}function _0x3891f9(_0x1bd2d7){const _0x1badf1=_0x2c8ec4,{status$:_0x1a208d}=_0x1bd2d7,_0x248ae5=_0x29ec39[_0x1badf1(0x2b2)](_0x1a208d,_0x2eddce[_0x1badf1(0x2aa)][_0x1badf1(0x316)]),_0x105616=_0x29ec39[_0x1badf1(0x384)](_0x268d3b[_0x1badf1(0x322)]),_0x426a52=_0x29ec39[_0x1badf1(0x384)](_0x2eddce[_0x1badf1(0x39c)]),_0x1f9e3d=_0x248ae5!==_0x2eddce['CollaborationStatus']['OFFLINE'],_0x2a46c8=_0x105616['t'](_0x4ba6bf(_0x248ae5)),_0x14480e=_0x1f9e3d?_0xdd3140['jsx'](_0x53dcc2,{}):_0xdd3140[_0x1badf1(0x11e)](_0x582ba3,{}),_0x143dde=_0x4964a2['useCallback'](()=>{const _0x22355b=_0x1badf1;_0x1f9e3d||_0x426a52[_0x22355b(0x342)]();},[_0x1f9e3d,_0x426a52]);function _0x4a808(){const _0x2b2932=_0x1badf1;return _0xdd3140[_0x2b2932(0x31f)](_0x2b2932(0x201),{'className':_0x2b2932(0x1d4),'onClick':_0x143dde,'children':[_0xdd3140['jsx'](_0x2b2932(0x201),{'className':_0x5333e1[_0x2b2932(0x127)](_0x2b2932(0x252),{'univer-text-green-500':_0x1f9e3d,'univer-text-red-500':!_0x1f9e3d}),'children':_0x14480e}),_0xdd3140[_0x2b2932(0x11e)](_0x2b2932(0x201),{'className':_0x2b2932(0x347),'children':_0x2a46c8})]});}return _0x1f9e3d?_0x4a808():_0xdd3140[_0x1badf1(0x11e)](_0x5333e1['Tooltip'],{'title':_0x105616['t'](_0x1badf1(0x20b)),'children':_0x4a808()});}var _0x37cd65=Object[_0x2c8ec4(0x146)],_0x4d569e=(_0x2779dd,_0x2989bd,_0x57edb1,_0x3165fc)=>{const _0xac1926=_0x2c8ec4;for(var _0x47ab06=_0x3165fc>0x1?void 0x0:_0x3165fc?_0x37cd65(_0x2989bd,_0x57edb1):_0x2989bd,_0x40d2b6=_0x2779dd[_0xac1926(0x1f8)]-0x1,_0x2d53e9;_0x40d2b6>=0x0;_0x40d2b6--)(_0x2d53e9=_0x2779dd[_0x40d2b6])&&(_0x47ab06=_0x2d53e9(_0x47ab06)||_0x47ab06);return _0x47ab06;},_0x99ec82=(_0x5bf246,_0x2d3962)=>(_0x31e702,_0x1f2aac)=>_0x2d3962(_0x31e702,_0x1f2aac,_0x5bf246);_0x1ebb4a[_0x2c8ec4(0x2bf)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x2e883a,_0x5d53a9,_0x463946,_0x2b0faf){const _0x2d5c05=_0x2c8ec4;super(),_0x42374b(this,'_status$',new _0x399a7e[(_0x2d5c05(0x33a))](_0x2eddce[_0x2d5c05(0x2aa)][_0x2d5c05(0x316)])),(this[_0x2d5c05(0x2f1)]=_0x2e883a,this[_0x2d5c05(0x2ab)]=_0x5d53a9,this[_0x2d5c05(0x285)]=_0x463946,this[_0x2d5c05(0x356)]=_0x2b0faf,this[_0x2d5c05(0x38b)](),this[_0x2d5c05(0x1ad)]());}[_0x2c8ec4(0x1ad)](){const _0x2a5a8b=_0x2c8ec4;this[_0x2a5a8b(0x345)](this[_0x2a5a8b(0x2f1)]['focused$'][_0x2a5a8b(0x25d)](_0x399a7e[_0x2a5a8b(0x22f)](()=>{const _0xa4f110=_0x2a5a8b,_0x2503f4=this['_univerInstanceService'][_0xa4f110(0x280)]();return _0x2503f4?this[_0xa4f110(0x285)][_0xa4f110(0x291)](_0x2503f4['getUnitId']()):_0x399a7e['of'](null);}),_0x399a7e[_0x2a5a8b(0x22f)](_0x2b5d14=>_0x2b5d14?_0x2b5d14['status$']:_0x399a7e['of'](_0x2eddce['CollaborationStatus'][_0x2a5a8b(0x316)])))['subscribe'](_0x1a5a18=>{const _0x2b5e7f=_0x2a5a8b;this[_0x2b5e7f(0x364)][_0x2b5e7f(0x2f6)](_0x1a5a18);}));}[_0x2c8ec4(0x38b)](){const _0x36af6a=_0x2c8ec4;this[_0x36af6a(0x345)](this[_0x36af6a(0x356)][_0x36af6a(0x26a)](_0x29ec39[_0x36af6a(0x392)][_0x36af6a(0x30e)],()=>_0x29ec39[_0x36af6a(0x3ac)](_0x286477({'status$':this[_0x36af6a(0x364)][_0x36af6a(0x19a)]()}),this['_injector'])));}},_0x1ebb4a[_0x2c8ec4(0x2bf)]=_0x4d569e([_0x99ec82(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x99ec82(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x99ec82(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x99ec82(0x3,_0x29ec39['IUIPartsService'])],_0x1ebb4a['DesktopCollaborationStatusDisplayController']);function _0x286477(_0x208670){const {status$:_0x2c9706}=_0x208670;return function(){return _0xdd3140['jsx'](_0x3891f9,{'status$':_0x2c9706});};}var _0x45bc39=Object[_0x2c8ec4(0x146)],_0x5f067b=(_0x7c6b86,_0x401673,_0x112ccd,_0x2ec35a)=>{const _0x1107a5=_0x2c8ec4;for(var _0x48c3dd=_0x2ec35a>0x1?void 0x0:_0x2ec35a?_0x45bc39(_0x401673,_0x112ccd):_0x401673,_0x549732=_0x7c6b86[_0x1107a5(0x1f8)]-0x1,_0x347ede;_0x549732>=0x0;_0x549732--)(_0x347ede=_0x7c6b86[_0x549732])&&(_0x48c3dd=_0x347ede(_0x48c3dd)||_0x48c3dd);return _0x48c3dd;},_0x136504=(_0x5dce78,_0x5442ea)=>(_0x361d03,_0x12b5e3)=>_0x5442ea(_0x361d03,_0x12b5e3,_0x5dce78);let _0x17971b=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x3701d0,_0x4d81db,_0x4b88b1,_0x5369cf,_0x21a1da,_0x5a9370){const _0x17fb80=_0x2c8ec4;super(),this[_0x17fb80(0x2bc)]=_0x3701d0,this['_localCacheService']=_0x4d81db,this[_0x17fb80(0x2c2)]=_0x4b88b1,this['_messageService']=_0x5369cf,this[_0x17fb80(0x311)]=_0x21a1da,this['_localeService']=_0x5a9370,this[_0x17fb80(0x18c)](),this[_0x17fb80(0x255)]();}[_0x2c8ec4(0x18c)](){const _0x19fde0=_0x2c8ec4;this['disposeWithMe'](this[_0x19fde0(0x2bc)][_0x19fde0(0x28a)](()=>{const _0x236211=_0x19fde0;if(this[_0x236211(0x1fa)]['saveTaskMap'][_0x236211(0x22e)])return this[_0x236211(0x272)]['t'](_0x236211(0x15d));}));}[_0x2c8ec4(0x255)](){const _0x39f17e=_0x2c8ec4;this[_0x39f17e(0x345)](this[_0x39f17e(0x2c2)][_0x39f17e(0x1a4)][_0x39f17e(0x36b)](_0x20d74e=>{const _0x1f4e5e=_0x39f17e;_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x328)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t']('collaboration.single-unit.warning')}),_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x354)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x273))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x371)]&&this[_0x1f4e5e(0x311)][_0x1f4e5e(0x3a3)]({'title':this[_0x1f4e5e(0x272)]['t']('permission.title'),'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x203)),'type':_0x1f4e5e(0x232),'duration':0x0}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x338)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x215)],'content':this['_localeService']['t'](_0x1f4e5e(0x273))+'('+_0x20d74e[_0x1f4e5e(0x1cb)]+')'}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['JOIN_ROOM_FAILED']&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x20d74e[_0x1f4e5e(0x1cb)]||'')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x1c0)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x300))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x2b0)]&&this[_0x1f4e5e(0x240)]['show']({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this['_localeService']['t']('session.connection-failed')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1f4e5e(0x3a3)]({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this[_0x1f4e5e(0x272)]['t']('session.collaboration-timeout')});}));}};_0x17971b=_0x5f067b([_0x136504(0x0,_0x29ec39['IBeforeCloseService']),_0x136504(0x1,_0x2eddce[_0x2c8ec4(0x34c)]),_0x136504(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x33d)])),_0x136504(0x3,_0x29ec39[_0x2c8ec4(0x33f)]),_0x136504(0x4,_0x29ec39[_0x2c8ec4(0x207)]),_0x136504(0x5,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x322)]))],_0x17971b);const _0x483d07='collaboration-client-ui.config',_0x32b909={},_0x60b938=_0x268d3b[_0x2c8ec4(0x39f)](_0x2c8ec4(0x213));var _0x55f25f=Object[_0x2c8ec4(0x146)],_0xad6530=(_0x28900b,_0xd9a873,_0x2091c5,_0x5b9c0f)=>{for(var _0x50b287=_0x5b9c0f>0x1?void 0x0:_0x5b9c0f?_0x55f25f(_0xd9a873,_0x2091c5):_0xd9a873,_0xa24fb4=_0x28900b['length']-0x1,_0x233460;_0xa24fb4>=0x0;_0xa24fb4--)(_0x233460=_0x28900b[_0xa24fb4])&&(_0x50b287=_0x233460(_0x50b287)||_0x50b287);return _0x50b287;},_0x4ddf7d=(_0x1b1f12,_0x3fa41e)=>(_0x108971,_0xe3d86f)=>_0x3fa41e(_0x108971,_0xe3d86f,_0x1b1f12);_0x1ebb4a['CollaborationDataLoaderController']=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2c9a29,_0x38c6fc,_0x49fcf8,_0x5b08cc,_0x15fc0e){const _0x56122d=_0x2c8ec4;super(),this[_0x56122d(0x1aa)]=_0x2c9a29,this[_0x56122d(0x2b6)]=_0x38c6fc,this[_0x56122d(0x21d)]=_0x49fcf8,this[_0x56122d(0x340)]=_0x5b08cc,_0x15fc0e?_0x15fc0e==null||_0x15fc0e[_0x56122d(0x24e)]()[_0x56122d(0x125)](()=>this[_0x56122d(0x216)]()):(this[_0x56122d(0x2b6)][_0x56122d(0x191)](_0x56122d(0x214),_0x56122d(0x230)),this[_0x56122d(0x216)]());}async['_init'](){const _0x4056e0=_0x2c8ec4,_0x1a63b1=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)]('unit'),_0x32d1d8=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)](_0x4056e0(0x33e)),_0x1d0cdf=this[_0x4056e0(0x1aa)]['getParam'](_0x4056e0(0x2c7));if(!_0x1a63b1||!_0x32d1d8){this[_0x4056e0(0x2b6)][_0x4056e0(0x191)](_0x4056e0(0x214),_0x4056e0(0x12c));return;}const _0x2c2b92=await this['_dataLoaderService'][_0x4056e0(0x2ee)](_0x1a63b1,Number(_0x32d1d8),_0x1d0cdf);_0x2c2b92&&_0x2c2b92 instanceof _0x268d3b['Workbook']&&this[_0x4056e0(0x13a)](_0x2c2b92);}async[_0x2c8ec4(0x13a)](_0x1b9c93){const _0x2157c4=_0x2c8ec4;await this[_0x2157c4(0x160)](_0x1b9c93),_0x1b9c93[_0x2157c4(0x13d)][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this[_0x2157c4(0x2e0)]))['subscribe'](_0x593d63=>{_0x593d63&&this['_updateURLWithCurrentState'](_0x593d63);}),this[_0x2157c4(0x1aa)]['urlChange$'][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this['dispose$']))[_0x2157c4(0x36b)](()=>this['_updateSubUnitFromURLParams'](_0x1b9c93));}['_updateURLWithCurrentState'](_0x263c9d,_0x18345f=!0x1){const _0xd876f9=_0x2c8ec4,_0x4d19bc=this['_urlService'][_0xd876f9(0x24a)](_0xd876f9(0x2c7));_0x263c9d[_0xd876f9(0x30a)]()!==_0x4d19bc&&this['_urlService']['setParam'](_0xd876f9(0x2c7),_0x263c9d[_0xd876f9(0x30a)](),_0x18345f);}async[_0x2c8ec4(0x160)](_0x564ec2){const _0x215fdb=_0x2c8ec4;var _0x41ee25;const _0x23b286=this[_0x215fdb(0x1aa)][_0x215fdb(0x24a)](_0x215fdb(0x2c7));if(!_0x23b286||!_0x564ec2[_0x215fdb(0x309)](_0x23b286)){const _0x1c324a=_0x564ec2[_0x215fdb(0x1d7)]()[0x0],_0x5a0bdf=_0x564ec2[_0x215fdb(0x309)](_0x1c324a);if(!_0x5a0bdf)return;this[_0x215fdb(0x294)](_0x5a0bdf,!0x0),await this[_0x215fdb(0x21d)][_0x215fdb(0x1ce)](_0x26ad5a[_0x215fdb(0x137)]['id'],{'unitId':_0x564ec2[_0x215fdb(0x14c)](),'subUnitId':_0x1c324a});return;}((_0x41ee25=_0x564ec2[_0x215fdb(0x2be)]())==null?void 0x0:_0x41ee25[_0x215fdb(0x30a)]())!==_0x23b286&&await this[_0x215fdb(0x21d)]['executeCommand'](_0x26ad5a['SetWorksheetActivateCommand']['id'],{'unitId':_0x564ec2['getUnitId'](),'subUnitId':_0x23b286});}},_0x1ebb4a[_0x2c8ec4(0x130)]=_0xad6530([_0x4ddf7d(0x0,_0x60b938),_0x4ddf7d(0x1,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x4ddf7d(0x2,_0x268d3b['ICommandService']),_0x4ddf7d(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x29c)])),_0x4ddf7d(0x4,_0x268d3b[_0x2c8ec4(0x115)](_0x7ad451[_0x2c8ec4(0x303)]))],_0x1ebb4a['CollaborationDataLoaderController']);var _0x489cd2=Object[_0x2c8ec4(0x146)],_0x1a7118=(_0x399f2d,_0x3d179e,_0x59db9b,_0x502384)=>{const _0x58e4d0=_0x2c8ec4;for(var _0x3395d9=_0x502384>0x1?void 0x0:_0x502384?_0x489cd2(_0x3d179e,_0x59db9b):_0x3d179e,_0x474e7c=_0x399f2d[_0x58e4d0(0x1f8)]-0x1,_0x1891d5;_0x474e7c>=0x0;_0x474e7c--)(_0x1891d5=_0x399f2d[_0x474e7c])&&(_0x3395d9=_0x1891d5(_0x3395d9)||_0x3395d9);return _0x3395d9;},_0x307880=(_0x1d8ce1,_0x4d0c74)=>(_0x537fe3,_0x303e76)=>_0x4d0c74(_0x537fe3,_0x303e76,_0x1d8ce1);let _0x2726a6=class{constructor(_0x162989,_0x582060,_0x37e491){const _0x46f9ae=_0x2c8ec4;this['_injector']=_0x162989,this[_0x46f9ae(0x1ac)]=_0x582060,this['_renderManagerService']=_0x37e491;}[_0x2c8ec4(0x397)](_0x390529){this['_transformUndoRedoStack'](_0x390529),this['_transformPreviousActiveRange'](_0x390529);}[_0x2c8ec4(0x1ff)](_0x5875c0){const _0x2b48b6=_0x2c8ec4,{unitID:_0x5cd389}=_0x5875c0,_0x149413=this['_renderManagerService'][_0x2b48b6(0x2f9)](_0x5cd389)[_0x2b48b6(0x17c)](_0x58ed4c[_0x2b48b6(0x2ad)]),{redoCache:_0x488639}=_0x149413[_0x2b48b6(0x140)]();if(_0x488639[_0x2b48b6(0x1f8)]===0x0)return _0x5875c0;let _0x1c1f6f=_0x268d3b['Tools']['deepClone'](_0x5875c0['mutations'][0x0]);for(let _0x181b50=0x0;_0x181b50<_0x488639[_0x2b48b6(0x1f8)];_0x181b50++){const _0x5285fc={'id':'doc.mutation.rich-text-editing','params':{..._0x488639[_0x181b50]}},_0x38cadd=this[_0x2b48b6(0x1ac)]['transformMutation'](_0x1c1f6f,_0x5285fc,!0x1);if(_0x2ac5d3[_0x2b48b6(0x197)](_0x38cadd))throw _0x38cadd[_0x2b48b6(0x232)];_0x1c1f6f=_0x38cadd[_0x2b48b6(0x30d)];}return{..._0x268d3b[_0x2b48b6(0x204)][_0x2b48b6(0x2e1)](_0x5875c0),'mutations':[_0x1c1f6f]};}[_0x2c8ec4(0x1a8)](_0xe588ba){const _0x34efd9=_0x2c8ec4,{unitID:_0x54d4df}=_0xe588ba,_0x4ff7cb=this[_0x34efd9(0x358)][_0x34efd9(0x2f9)](_0x54d4df)['with'](_0x58ed4c[_0x34efd9(0x2ad)]),{undoCache:_0x1017ae,redoCache:_0x33b18a}=_0x4ff7cb['getUndoRedoMutationParamsCache']();if(_0x1017ae[_0x34efd9(0x1f8)]===0x0||_0x33b18a[_0x34efd9(0x1f8)]===0x0)return;const _0x540669=[],_0x45e730=[];let _0x4b376a=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba[_0x34efd9(0x265)][0x0]),_0x41efb4=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba['mutations'][0x0]);for(let _0x1331da=_0x1017ae['length']-0x1;_0x1331da>=0x0;_0x1331da--){const _0x137155={'id':_0x34efd9(0x195),'params':{..._0x1017ae[_0x1331da]}},_0x44e05b={'id':_0x34efd9(0x195),'params':{..._0x33b18a[_0x1331da]}},_0x11fd1e=this[_0x34efd9(0x1ac)][_0x34efd9(0x1c7)](_0x4b376a,_0x137155,!0x1),_0x26a38c=this[_0x34efd9(0x1ac)]['transformMutation'](_0x41efb4,_0x44e05b,!0x1);if(_0x2ac5d3[_0x34efd9(0x197)](_0x11fd1e))throw _0x11fd1e[_0x34efd9(0x232)];if(_0x2ac5d3[_0x34efd9(0x197)](_0x26a38c))throw _0x26a38c[_0x34efd9(0x232)];_0x540669[_0x34efd9(0x226)](_0x11fd1e[_0x34efd9(0x154)][_0x34efd9(0x126)]),_0x45e730['unshift'](_0x26a38c['m2Prime'][_0x34efd9(0x126)]),_0x4b376a=_0x11fd1e[_0x34efd9(0x30d)],_0x41efb4=_0x26a38c[_0x34efd9(0x30d)];}_0x4ff7cb[_0x34efd9(0x3b0)]({'undoCache':_0x540669,'redoCache':_0x45e730});}[_0x2c8ec4(0x1ec)](_0xcf0d8e){const _0x20d5fa=_0x2c8ec4,{unitID:_0x130979}=_0xcf0d8e,_0x530b60=this[_0x20d5fa(0x358)][_0x20d5fa(0x2f9)](_0x130979)[_0x20d5fa(0x17c)](_0x58ed4c[_0x20d5fa(0x2ad)]),_0x11303f=_0x530b60[_0x20d5fa(0x35f)]();if(_0x11303f==null)return;const _0x1c1766=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcf0d8e[_0x20d5fa(0x352)],'actions':null,'textRanges':[_0x11303f]}}],_0x17f03a=this[_0x20d5fa(0x1ac)]['transformMutationsWithChangeset'](_0xcf0d8e,_0x1c1766);if(!_0x2ac5d3[_0x20d5fa(0x256)](_0x17f03a))throw _0x17f03a[_0x20d5fa(0x232)];const _0x55564f=_0x17f03a[_0x20d5fa(0x154)][0x0][_0x20d5fa(0x126)][_0x20d5fa(0x133)];Array['isArray'](_0x55564f)&&_0x55564f['length']&&_0x530b60[_0x20d5fa(0x341)](_0x55564f[0x0]);}};_0x2726a6=_0x1a7118([_0x307880(0x0,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x307880(0x1,_0x2ac5d3['ITransformService']),_0x307880(0x2,_0xb8fc77[_0x2c8ec4(0x332)])],_0x2726a6);var _0xf83d99=Object[_0x2c8ec4(0x146)],_0x1f7636=(_0x499a3f,_0x48c77a,_0x37ef73,_0x2d741b)=>{const _0x310117=_0x2c8ec4;for(var _0x1809e3=_0x2d741b>0x1?void 0x0:_0x2d741b?_0xf83d99(_0x48c77a,_0x37ef73):_0x48c77a,_0x84d4b2=_0x499a3f[_0x310117(0x1f8)]-0x1,_0xa4e2fc;_0x84d4b2>=0x0;_0x84d4b2--)(_0xa4e2fc=_0x499a3f[_0x84d4b2])&&(_0x1809e3=_0xa4e2fc(_0x1809e3)||_0x1809e3);return _0x1809e3;},_0x226c7f=(_0x17acf0,_0x31c0e7)=>(_0x1db17a,_0x53e5a2)=>_0x31c0e7(_0x1db17a,_0x53e5a2,_0x17acf0);let _0x20b9d9=class{constructor(_0x40b6cd,_0x837dd8,_0xe64f02){const _0x40f346=_0x2c8ec4;this[_0x40f346(0x2ab)]=_0x40b6cd,this[_0x40f346(0x1ac)]=_0x837dd8,this[_0x40f346(0x152)]=_0xe64f02;}[_0x2c8ec4(0x1fd)](_0x59e9f2){this['_transformHistoryAndStateStack'](_0x59e9f2);}[_0x2c8ec4(0x1ff)](_0x2af7d2){const _0x1cf62a=_0x2c8ec4,{unitID:_0x2ad9b2}=_0x2af7d2,{collaboration:_0x10032c}=this[_0x1cf62a(0x152)][_0x1cf62a(0x14e)](_0x2ad9b2);if(_0x10032c['length']===0x0)return _0x2af7d2;let _0x3b1b89=_0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2[_0x1cf62a(0x265)][0x0]);for(let _0x1d6a47=0x0;_0x1d6a47<_0x10032c[_0x1cf62a(0x1f8)];_0x1d6a47++){const _0x50e1f8={'id':_0x1cf62a(0x195),'params':{'unitId':_0x10032c[_0x1d6a47]['unitId'],..._0x10032c[_0x1d6a47][_0x1cf62a(0x23d)]}},_0x3444ef=this['_transformService'][_0x1cf62a(0x1c7)](_0x3b1b89,_0x50e1f8,!0x1);if(_0x2ac5d3['isTransformMutationFailure'](_0x3444ef))throw _0x3444ef[_0x1cf62a(0x232)];_0x3b1b89=_0x3444ef[_0x1cf62a(0x30d)];}return{..._0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2),'mutations':[_0x3b1b89]};}[_0x2c8ec4(0x274)](_0x24df1e){const _0x5d1089=_0x2c8ec4,{unitID:_0x27bfaf}=_0x24df1e,{history:_0xad71e7,collaboration:_0x69d0fa}=this[_0x5d1089(0x152)]['getStateCache'](_0x27bfaf);if(_0xad71e7['length']===0x0&&_0x69d0fa['length']===0x0)return;const _0x3d034b=[],_0x513eb6=[];let _0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x3d8dde=_0xad71e7[_0x5d1089(0x1f8)]-0x1;_0x3d8dde>=0x0;_0x3d8dde--){const _0x141aad={'id':_0x5d1089(0x195),'params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['undoState']}},_0x16d9a2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['redoState']}},_0x190f8a=this['_transformService'][_0x5d1089(0x1c7)](_0x13c1a5,_0x141aad,!0x1),_0xb52e2f=this[_0x5d1089(0x1ac)][_0x5d1089(0x1c7)](_0xe0dfe9,_0x16d9a2,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x190f8a))throw _0x190f8a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0xb52e2f))throw _0xb52e2f[_0x5d1089(0x232)];_0x3d034b['unshift']({..._0xad71e7[_0x3d8dde],'undoState':_0x190f8a[_0x5d1089(0x154)]['params'],'redoState':_0xb52e2f[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x190f8a['m1Prime'],_0xe0dfe9=_0xb52e2f[_0x5d1089(0x30d)];}_0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)]['deepClone'](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x25c550=_0x69d0fa[_0x5d1089(0x1f8)]-0x1;_0x25c550>=0x0;_0x25c550--){const _0x3dd6d4={'id':_0x5d1089(0x195),'params':{'unitId':_0x69d0fa[_0x25c550][_0x5d1089(0x2e2)],..._0x69d0fa[_0x25c550][_0x5d1089(0x32e)]}},_0x34e183={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x69d0fa[_0x25c550]['unitId'],..._0x69d0fa[_0x25c550]['redoState']}},_0x17906a=this[_0x5d1089(0x1ac)]['transformMutation'](_0x13c1a5,_0x3dd6d4,!0x1),_0x4f1cb8=this[_0x5d1089(0x1ac)]['transformMutation'](_0xe0dfe9,_0x34e183,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x17906a))throw _0x17906a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0x4f1cb8))throw _0x4f1cb8['error'];_0x513eb6['unshift']({..._0x69d0fa[_0x25c550],'undoState':_0x17906a[_0x5d1089(0x154)]['params'],'redoState':_0x4f1cb8[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x17906a[_0x5d1089(0x30d)],_0xe0dfe9=_0x4f1cb8[_0x5d1089(0x30d)];}this[_0x5d1089(0x152)]['setStateCache'](_0x27bfaf,{'history':_0x3d034b,'collaboration':_0x513eb6});}};_0x20b9d9=_0x1f7636([_0x226c7f(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x226c7f(0x1,_0x2ac5d3['ITransformService']),_0x226c7f(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c['DocStateChangeManagerService']))],_0x20b9d9);var _0xba16ee=Object[_0x2c8ec4(0x146)],_0x4e7ae7=(_0x59317b,_0xfb3ece,_0x153f29,_0x13895a)=>{const _0x1af7b5=_0x2c8ec4;for(var _0x12e303=_0x13895a>0x1?void 0x0:_0x13895a?_0xba16ee(_0xfb3ece,_0x153f29):_0xfb3ece,_0x59f783=_0x59317b[_0x1af7b5(0x1f8)]-0x1,_0x490789;_0x59f783>=0x0;_0x59f783--)(_0x490789=_0x59317b[_0x59f783])&&(_0x12e303=_0x490789(_0x12e303)||_0x12e303);return _0x12e303;},_0x10bb84=(_0x4a8a4b,_0x495636)=>(_0x573c64,_0xe296ad)=>_0x495636(_0x573c64,_0xe296ad,_0x4a8a4b);let _0x43e811=class{constructor(_0x24dbdc,_0x3a752d){const _0x3d112e=_0x2c8ec4;this[_0x3d112e(0x2ab)]=_0x24dbdc,this['_transformService']=_0x3a752d;}[_0x2c8ec4(0x1b4)](_0x24dae5){const _0x277e30=_0x2c8ec4;var _0x5df4dc;const _0x2bf9b7=this[_0x277e30(0x2ab)][_0x277e30(0x36a)](_0x688e2['DocSelectionManagerService']),_0x24a79b=(_0x5df4dc=_0x2bf9b7[_0x277e30(0x307)]())!=null?_0x5df4dc:[];if(_0x24a79b['length']===0x0)return;const _0x2d0ef0=_0x24dae5[_0x277e30(0x352)],_0x45c24b=[{'id':_0x277e30(0x195),'params':{'unitId':_0x2d0ef0,'actions':null,'textRanges':_0x24a79b}}],_0x227697=this[_0x277e30(0x1ac)]['transformMutationsWithChangeset'](_0x24dae5,_0x45c24b);if(!_0x2ac5d3[_0x277e30(0x256)](_0x227697))throw _0x227697['error'];const _0x320c99=_0x227697[_0x277e30(0x154)][0x0][_0x277e30(0x126)][_0x277e30(0x133)];Array[_0x277e30(0x187)](_0x320c99)&&_0x320c99[_0x277e30(0x1f8)]&&_0x2bf9b7[_0x277e30(0x244)](_0x320c99,{'unitId':_0x2d0ef0,'subUnitId':_0x2d0ef0},!0x1);}};_0x43e811=_0x4e7ae7([_0x10bb84(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x10bb84(0x1,_0x2ac5d3['ITransformService'])],_0x43e811);var _0x516cfb=Object[_0x2c8ec4(0x146)],_0x364353=(_0x1812de,_0xbcfd15,_0x4e614d,_0x83e0d7)=>{const _0x95c083=_0x2c8ec4;for(var _0x533e12=_0x83e0d7>0x1?void 0x0:_0x83e0d7?_0x516cfb(_0xbcfd15,_0x4e614d):_0xbcfd15,_0x404d14=_0x1812de[_0x95c083(0x1f8)]-0x1,_0x3300b2;_0x404d14>=0x0;_0x404d14--)(_0x3300b2=_0x1812de[_0x404d14])&&(_0x533e12=_0x3300b2(_0x533e12)||_0x533e12);return _0x533e12;},_0x2f69b8=(_0x3ee704,_0x81c2da)=>(_0x5dc6dd,_0x437f5b)=>_0x81c2da(_0x5dc6dd,_0x437f5b,_0x3ee704);let _0x225927=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x387be2,_0x3485b0,_0x1f4920,_0x475a42,_0x4072e8,_0x12b396,_0x291925,_0x5de8cc){const _0x523b5b=_0x2c8ec4;super(),_0x42374b(this,_0x523b5b(0x364),new _0x399a7e[(_0x523b5b(0x33a))](_0x2eddce[_0x523b5b(0x2aa)][_0x523b5b(0x316)])),(this[_0x523b5b(0x152)]=_0x387be2,this['_collaborationController']=_0x3485b0,this[_0x523b5b(0x138)]=_0x1f4920,this[_0x523b5b(0x2e5)]=_0x475a42,this['_docTransformSelectionsService']=_0x4072e8,this[_0x523b5b(0x29b)]=_0x12b396,this['_messageService']=_0x291925,this[_0x523b5b(0x272)]=_0x5de8cc,this[_0x523b5b(0x170)]());}[_0x2c8ec4(0x170)](){const _0x50d685=_0x2c8ec4;this[_0x50d685(0x345)](this[_0x50d685(0x285)][_0x50d685(0x1f3)]['subscribe'](_0x328082=>{const _0x5293bb=_0x50d685,_0x528170=this[_0x5293bb(0x152)]['docStateChange$'][_0x5293bb(0x36b)](_0x269882=>{const _0x36fc9c=_0x5293bb;if(_0x269882==null)return;const {unitId:_0x10ab63,redoState:_0x4a3fec,commandId:_0x1411e7}=_0x269882;if(_0x10ab63!==_0x328082[_0x36fc9c(0x352)])return;const _0x12ea17={'id':_0x1411e7,'type':_0x268d3b['CommandType'][_0x36fc9c(0x37e)],'params':{'unitId':_0x10ab63,'actions':_0x4a3fec[_0x36fc9c(0x1e4)],'textRanges':null}};_0x328082[_0x36fc9c(0x327)](_0x12ea17);});if(_0x328082[_0x5293bb(0x345)](_0x528170),_0x328082 instanceof _0x2eddce[_0x5293bb(0x312)]){const _0x2be573={'onTransformIME':_0x2ea269=>this[_0x5293bb(0x138)][_0x5293bb(0x397)](_0x2ea269),'onTransformState':_0x4ec2f1=>this['_docTransformStateCacheService']['transformStateCache'](_0x4ec2f1),'onTransformSelections':_0x5c88b5=>this['_docTransformSelectionsService']['transformSelections'](_0x5c88b5),'onSyncEditingCollabCursor':_0x3bb27d=>this['_docSyncEditingCollabCursorService'][_0x5293bb(0x139)](_0x3bb27d),'onTransformRemoteChangesetByIMECache':_0x3ddb8e=>this[_0x5293bb(0x138)][_0x5293bb(0x1ff)](_0x3ddb8e),'onTransformRemoteChangesetByStateCache':_0x3cccd8=>this[_0x5293bb(0x2e5)][_0x5293bb(0x1ff)](_0x3cccd8)};_0x328082['addHandlerCallback'](_0x2be573);}}));}};_0x225927=_0x364353([_0x2f69b8(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c[_0x2c8ec4(0x258)])),_0x2f69b8(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x2f69b8(0x2,_0x268d3b['Inject'](_0x2726a6)),_0x2f69b8(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x20b9d9)),_0x2f69b8(0x4,_0x268d3b['Inject'](_0x43e811)),_0x2f69b8(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x2f69b8(0x6,_0x29ec39[_0x2c8ec4(0x33f)]),_0x2f69b8(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x322)]))],_0x225927);var _0x41ca7c=Object[_0x2c8ec4(0x146)],_0x3decd4=(_0x4c48e2,_0xa263ac,_0x5ccebc,_0x1576eb)=>{const _0x22b4c4=_0x2c8ec4;for(var _0xd522e5=_0x1576eb>0x1?void 0x0:_0x1576eb?_0x41ca7c(_0xa263ac,_0x5ccebc):_0xa263ac,_0x411cd0=_0x4c48e2[_0x22b4c4(0x1f8)]-0x1,_0x222faf;_0x411cd0>=0x0;_0x411cd0--)(_0x222faf=_0x4c48e2[_0x411cd0])&&(_0xd522e5=_0x222faf(_0xd522e5)||_0xd522e5);return _0xd522e5;},_0x4542c6=(_0x1c2603,_0x3d43a4)=>(_0xfb4e3f,_0x1e7193)=>_0x3d43a4(_0xfb4e3f,_0x1e7193,_0x1c2603);let _0x583834=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x59999e,_0x542593,_0x5563c1){const _0x45de33=_0x2c8ec4;super(),_0x42374b(this,_0x45de33(0x329),new Map()),_0x42374b(this,_0x45de33(0x315),new Map()),_0x42374b(this,_0x45de33(0x2f4),!0x1),(this[_0x45de33(0x383)]=_0x59999e,this['_localStorageService']=_0x542593,this['_revisionService']=_0x5563c1);}[_0x2c8ec4(0x32d)](){const _0x5944cb=_0x2c8ec4;this[_0x5944cb(0x2f4)]=!0x0;}[_0x2c8ec4(0x14d)](){this['_disabled']=!0x1;}get[_0x2c8ec4(0x147)](){const _0xda628d=_0x2c8ec4;return this[_0xda628d(0x315)];}[_0x2c8ec4(0x37b)](){const _0xd2a091=_0x2c8ec4;this['exhaustSavingTask']()[_0xd2a091(0x125)](()=>super[_0xd2a091(0x37b)]());}async['loadOfflineData'](_0x1ca4c3){const _0x290c62=_0x2c8ec4;return this['_disabled']?null:this[_0x290c62(0x2f0)][_0x290c62(0x343)](_0x2eddce[_0x290c62(0x2b8)](_0x1ca4c3));}async[_0x2c8ec4(0x18d)](_0x38ea7d,_0x3730af){const _0x409bdd=_0x2c8ec4;return!!this[_0x409bdd(0x2f0)]['setItem'](_0x38ea7d,_0x3730af);}[_0x2c8ec4(0x2d3)](_0x1e7899,_0x4a142d,_0x22e670,_0x1dca24){const _0x1f9aba=_0x2c8ec4,_0x3da78b=this[_0x1f9aba(0x360)][_0x1f9aba(0x27e)](_0x1e7899);this[_0x1f9aba(0x329)]['set'](_0x1e7899,{'unitID':_0x1e7899,'type':_0x4a142d,'awaitingChangeset':_0x22e670,'mutations':_0x1dca24,'rev':_0x3da78b}),this['_saveTaskMap']['has'](_0x1e7899)||this[_0x1f9aba(0x19f)](_0x1e7899);}[_0x2c8ec4(0x19f)](_0x5070dc){const _0x40c38f=_0x2c8ec4,_0x467d01=this[_0x40c38f(0x35c)]();_0x467d01===0x0?this[_0x40c38f(0x28d)](_0x5070dc):this['_saveTaskMap'][_0x40c38f(0x3a4)](_0x5070dc,setTimeout(()=>this[_0x40c38f(0x28d)](_0x5070dc),_0x467d01));}[_0x2c8ec4(0x35c)](){const _0x39440c=_0x2c8ec4;var _0x938445;return(_0x938445=this[_0x39440c(0x383)][_0x39440c(0x25b)](_0x2eddce['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x938445:_0x2eddce[_0x39440c(0x28f)];}[_0x2c8ec4(0x28d)](_0x5e249c){const _0x4bef3f=_0x2c8ec4,_0x4fcca3=this[_0x4bef3f(0x315)][_0x4bef3f(0x36a)](_0x5e249c);return _0x4fcca3!==void 0x0&&window[_0x4bef3f(0x34e)](_0x4fcca3),this[_0x4bef3f(0x2f0)][_0x4bef3f(0x2f8)](_0x2eddce[_0x4bef3f(0x2b8)](_0x5e249c),this['_cachedData'][_0x4bef3f(0x36a)](_0x5e249c))[_0x4bef3f(0x125)](()=>this[_0x4bef3f(0x315)][_0x4bef3f(0x259)](_0x5e249c));}async[_0x2c8ec4(0x1f4)](){const _0x34c3bc=_0x2c8ec4,_0x2f7256=[];this[_0x34c3bc(0x315)][_0x34c3bc(0x31d)]((_0x53fa13,_0x36cfc8)=>{const _0xbbb208=_0x34c3bc;window['clearTimeout'](_0x53fa13),_0x2f7256[_0xbbb208(0x243)](this['_saveCache'](_0x36cfc8)[_0xbbb208(0x125)](()=>{const _0x49c4ed=_0xbbb208;this['_saveTaskMap'][_0x49c4ed(0x259)](_0x36cfc8);}));}),await Promise['all'](_0x2f7256);}};_0x583834=_0x3decd4([_0x4542c6(0x0,_0x268d3b['IConfigService']),_0x4542c6(0x1,_0x268d3b[_0x2c8ec4(0x270)]),_0x4542c6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2ac5d3[_0x2c8ec4(0x2d9)]))],_0x583834);class _0x199640 extends _0x268d3b['RxDisposable']{constructor(){const _0x2f4c81=_0x2c8ec4;super(),_0x42374b(this,'urlChange$'),this['urlChange$']=_0x399a7e[_0x2f4c81(0x145)](window,_0x2f4c81(0x38a))['pipe'](_0x399a7e['takeUntil'](this['dispose$']),_0x399a7e[_0x2f4c81(0x116)](0x1),_0x399a7e[_0x2f4c81(0x1e6)](void 0x0));}[_0x2c8ec4(0x1c4)](_0x2d0c67,_0x3ee2bc,_0xdfc96b=!0x1){const _0x5135dd=_0x2c8ec4,_0x3a6230=new URL(window[_0x5135dd(0x3a1)]['href']);_0x3a6230[_0x5135dd(0x208)][_0x5135dd(0x3a4)](_0x2d0c67,_0x3ee2bc),_0xdfc96b?window['history'][_0x5135dd(0x2db)]('','',_0x3a6230[_0x5135dd(0x1f0)]()):window[_0x5135dd(0x135)][_0x5135dd(0x1f1)]('','',_0x3a6230[_0x5135dd(0x1f0)]());}[_0x2c8ec4(0x247)](_0x28c776,_0x5632c5=!0x1){const _0x152668=_0x2c8ec4,_0x5ca4c7=new URL(window['location'][_0x152668(0x1ab)]);_0x5ca4c7[_0x152668(0x208)][_0x152668(0x259)](_0x28c776),_0x5632c5?window[_0x152668(0x135)][_0x152668(0x2db)]('','',_0x5ca4c7[_0x152668(0x1f0)]()):window[_0x152668(0x135)][_0x152668(0x1f1)]('','',_0x5ca4c7['toString']());}[_0x2c8ec4(0x24a)](_0x717a2b){const _0x2111b0=_0x2c8ec4;var _0xfde2d5;return(_0xfde2d5=new URL(window[_0x2111b0(0x3a1)]['href'])[_0x2111b0(0x208)][_0x2111b0(0x36a)](_0x717a2b))!=null?_0xfde2d5:void 0x0;}}var _0x467306=Object[_0x2c8ec4(0x251)],_0x123660=Object[_0x2c8ec4(0x146)],_0x3c0abb=(_0x1184ef,_0x41435f,_0x314b3b)=>_0x41435f in _0x1184ef?_0x467306(_0x1184ef,_0x41435f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314b3b}):_0x1184ef[_0x41435f]=_0x314b3b,_0x372ab9=(_0x2b2ad2,_0x5e582a,_0xc3eceb,_0x46b105)=>{for(var _0x1ab7a1=_0x46b105>0x1?void 0x0:_0x46b105?_0x123660(_0x5e582a,_0xc3eceb):_0x5e582a,_0x22f25f=_0x2b2ad2['length']-0x1,_0x48ebf8;_0x22f25f>=0x0;_0x22f25f--)(_0x48ebf8=_0x2b2ad2[_0x22f25f])&&(_0x1ab7a1=_0x48ebf8(_0x1ab7a1)||_0x1ab7a1);return _0x1ab7a1;},_0x5a2584=(_0x5c3caa,_0xa1600b)=>(_0x13591f,_0x578915)=>_0xa1600b(_0x13591f,_0x578915,_0x5c3caa),_0x7d2748=(_0x11b422,_0x561711,_0x24fa0f)=>_0x3c0abb(_0x11b422,_0x561711+'',_0x24fa0f);const _0xd5dd7e=_0x2c8ec4(0x27d);_0x1ebb4a[_0x2c8ec4(0x28c)]=class extends _0x268d3b[_0x2c8ec4(0x2cb)]{constructor(_0x4fbe62=_0x32b909,_0x2b050a,_0xf55428,_0x2a43a8){const _0x1e066e=_0x2c8ec4;super(),this[_0x1e066e(0x377)]=_0x4fbe62,this[_0x1e066e(0x358)]=_0x2b050a,this['_injector']=_0xf55428,this['_configService']=_0x2a43a8;const {..._0x50dd6c}=_0x268d3b[_0x1e066e(0x1e8)]({},_0x32b909,this[_0x1e066e(0x377)]);this[_0x1e066e(0x383)][_0x1e066e(0x21a)](_0x483d07,_0x50dd6c);}[_0x2c8ec4(0x189)](){const _0x3e9457=_0x2c8ec4;this[_0x3e9457(0x192)](),this[_0x3e9457(0x1eb)]();}['onRendered'](){const _0x4e9bce=_0x2c8ec4;this[_0x4e9bce(0x1c5)]();}[_0x2c8ec4(0x192)](){const _0x5f5db4=_0x2c8ec4;var _0x15ebfc;const _0x48f23c=[[_0x1ad7cd],[_0x43e811],[_0x2726a6],[_0x20b9d9],[_0x2fcdcb],[_0x60b938,{'useClass':_0x199640}],[_0x45e235['ISocketService'],{'useClass':_0x45e235[_0x5f5db4(0x39d)]}],[_0x2eddce[_0x5f5db4(0x34c)],{'useClass':_0x583834}],[_0x1ebb4a[_0x5f5db4(0x2bf)]],[_0x225927],[_0x17971b],[_0x2e97d2],[_0x2c02c5],[_0x1ebb4a[_0x5f5db4(0x130)]]];_0x268d3b[_0x5f5db4(0x3a2)](this[_0x5f5db4(0x2ab)],_0x268d3b[_0x5f5db4(0x39b)](_0x48f23c,(_0x15ebfc=this[_0x5f5db4(0x377)])==null?void 0x0:_0x15ebfc[_0x5f5db4(0x376)]));}[_0x2c8ec4(0x1c5)](){const _0x411d2b=_0x2c8ec4;this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x39a)],[_0x269418])),this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x186)],[_0x4f4f9f]));}[_0x2c8ec4(0x1eb)](){const _0x481ff2=_0x2c8ec4;_0x268d3b[_0x481ff2(0x331)](this[_0x481ff2(0x2ab)],[[_0x2e97d2],[_0x1ebb4a[_0x481ff2(0x2bf)]],[_0x225927],[_0x17971b],[_0x1ebb4a['CollaborationDataLoaderController']]]);}},_0x7d2748(_0x1ebb4a[_0x2c8ec4(0x28c)],_0x2c8ec4(0x261),_0xd5dd7e),_0x1ebb4a[_0x2c8ec4(0x28c)]=_0x372ab9([_0x268d3b['DependentOn'](_0x2eddce[_0x2c8ec4(0x34d)]),_0x5a2584(0x1,_0xb8fc77['IRenderManagerService']),_0x5a2584(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5a2584(0x3,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x28c)]);var _0x3df637=Object[_0x2c8ec4(0x146)],_0x4bebc9=(_0x10790e,_0x3a88e6,_0x2cf5b5,_0x586c17)=>{const _0x50a7a0=_0x2c8ec4;for(var _0x25f49a=_0x586c17>0x1?void 0x0:_0x586c17?_0x3df637(_0x3a88e6,_0x2cf5b5):_0x3a88e6,_0x3f2b95=_0x10790e[_0x50a7a0(0x1f8)]-0x1,_0x1ce881;_0x3f2b95>=0x0;_0x3f2b95--)(_0x1ce881=_0x10790e[_0x3f2b95])&&(_0x25f49a=_0x1ce881(_0x25f49a)||_0x25f49a);return _0x25f49a;},_0x1c3e15=(_0x2f8d8e,_0x481b4d)=>(_0x3f128b,_0x40a44d)=>_0x481b4d(_0x3f128b,_0x40a44d,_0x2f8d8e);_0x1ebb4a[_0x2c8ec4(0x132)]=class extends _0x2eddce['CollaborationSocketService']{constructor(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a){super(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a);}async[_0x2c8ec4(0x239)](_0x1302e7){const _0x29370a=_0x2c8ec4,_0x45ca64=await this[_0x29370a(0x1de)](),_0x1fe409=this[_0x29370a(0x387)](_0x1302e7,_0x45ca64);return this[_0x29370a(0x35a)](_0x1fe409);}[_0x2c8ec4(0x387)](_0x4a37d2,_0x43495f){const _0x25aaf3=_0x2c8ec4,_0x58dc82=typeof window>'u'?new URL(_0x4a37d2):new URL(_0x4a37d2,window[_0x25aaf3(0x3a1)]['origin']);_0x58dc82[_0x25aaf3(0x208)][_0x25aaf3(0x3a4)](_0x25aaf3(0x325),_0x43495f);const _0x39308d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x39308d['get']('runId')&&_0x58dc82[_0x25aaf3(0x208)]['set']('runId',_0x39308d['get'](_0x25aaf3(0x37d))),_0x58dc82[_0x25aaf3(0x1f0)]();}async[_0x2c8ec4(0x1de)](){const _0x482be1=_0x2c8ec4;var _0xe8edf6,_0x2384a2,_0x644f2f;const _0x40374b=this[_0x482be1(0x383)][_0x482be1(0x25b)](_0x2eddce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5786ad=(_0xe8edf6=_0x40374b==null?void 0x0:_0x40374b[_0x482be1(0x1bd)])!=null?_0xe8edf6:_0x2eddce[_0x482be1(0x266)];return(_0x644f2f=(_0x2384a2=(await this[_0x482be1(0x16c)]['get'](_0x5786ad,{'headers':{'Content-Type':_0x482be1(0x1e9)}}))['body'])==null?void 0x0:_0x2384a2[_0x482be1(0x17d)])!=null?_0x644f2f:'';}},_0x1ebb4a['BrowserCollaborationSocketService']=_0x4bebc9([_0x1c3e15(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['Injector'])),_0x1c3e15(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x1c3e15(0x2,_0x268d3b[_0x2c8ec4(0x21c)]),_0x1c3e15(0x3,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x1c3e15(0x4,_0x2ac5d3[_0x2c8ec4(0x2d6)])],_0x1ebb4a[_0x2c8ec4(0x132)]);const _0x5a6533=0x7530,_0x261cb7=_0x2c8ec4(0x25e);class _0x3110fc extends _0x268d3b['Disposable']{constructor(){const _0x37ce70=_0x2c8ec4;super(),_0x42374b(this,_0x37ce70(0x297),_0x268d3b['generateRandomId']()),_0x42374b(this,_0x37ce70(0x1c2),new Set()),_0x42374b(this,_0x37ce70(0x373),new Map()),_0x42374b(this,_0x37ce70(0x12f),null),_0x42374b(this,_0x37ce70(0x23a),new Map()),_0x42374b(this,'_unitStatus',new Map()),this[_0x37ce70(0x216)]();}[_0x2c8ec4(0x37b)](){const _0x1e5e33=_0x2c8ec4;super['dispose'](),this[_0x1e5e33(0x23a)][_0x1e5e33(0x31d)]((_0x10cad9,_0xb21b93)=>this[_0x1e5e33(0x2dc)](_0xb21b93)),this['_heartbeatTimer']&&window[_0x1e5e33(0x13e)](this[_0x1e5e33(0x12f)]);}['getUnitStatus$'](_0x505a09){const _0x49a430=_0x2c8ec4;return this[_0x49a430(0x1f7)](_0x505a09)[_0x49a430(0x25d)](_0x399a7e['distinctUntilChanged']());}[_0x2c8ec4(0x305)](_0x2926b3){const _0x353872=_0x2c8ec4;this[_0x353872(0x1c2)][_0x353872(0x22e)]===0x0&&this[_0x353872(0x1cf)](),this[_0x353872(0x1c2)][_0x353872(0x1c1)](_0x2926b3),this[_0x353872(0x304)]({'type':0x0,'memberID':this[_0x353872(0x297)],'unitIDs':[_0x2926b3],'isForwarded':!0x1});}[_0x2c8ec4(0x1fc)](_0x58f94b){const _0x2f285d=_0x2c8ec4;this[_0x2f285d(0x1c2)][_0x2f285d(0x259)](_0x58f94b),this['_selfUnitIDs'][_0x2f285d(0x22e)]===0x0&&this[_0x2f285d(0x12f)]&&window[_0x2f285d(0x13e)](this[_0x2f285d(0x12f)]);}['_init'](){const _0x18bf18=_0x2c8ec4;this[_0x18bf18(0x345)](_0x268d3b[_0x18bf18(0x14f)](_0x399a7e[_0x18bf18(0x145)](window,_0x18bf18(0x250))['subscribe'](_0x27fbe4=>{const _0x36b6c2=_0x18bf18;if(_0x27fbe4[_0x36b6c2(0x399)]!==_0x261cb7||!_0x27fbe4[_0x36b6c2(0x2c1)])return;const _0x34fb79=JSON[_0x36b6c2(0x295)](_0x27fbe4[_0x36b6c2(0x2c1)]);this[_0x36b6c2(0x242)](_0x34fb79);}))),window[_0x18bf18(0x2b3)]('unload',()=>this[_0x18bf18(0x304)]({'type':0x1,'memberID':this[_0x18bf18(0x297)],'unitIDs':Array[_0x18bf18(0x357)](this[_0x18bf18(0x1c2)])}));}[_0x2c8ec4(0x242)](_0x297447){const _0x55e206=_0x2c8ec4;switch(_0x297447[_0x55e206(0x33e)]){case 0x0:this[_0x55e206(0x18e)](_0x297447);break;case 0x1:this[_0x55e206(0x30b)](_0x297447);break;case 0x2:this[_0x55e206(0x134)](_0x297447);break;}}['_handleJoinEvent'](_0x21fcf3){const _0x227f14=_0x2c8ec4,{unitIDs:_0x52c934,memberID:_0xa7a629,isForwarded:_0x1c95cd}=_0x21fcf3;_0x52c934[_0x227f14(0x31d)](_0x2ae67d=>{const _0x38e07a=_0x227f14;if(!_0x1c95cd&&this[_0x38e07a(0x373)]['has'](_0x2ae67d)&&this[_0x38e07a(0x1f7)](_0x2ae67d)[_0x38e07a(0x2f6)](_0x2eddce[_0x38e07a(0x317)][_0x38e07a(0x279)]),!this[_0x38e07a(0x373)][_0x38e07a(0x119)](_0x2ae67d)||!this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)['has'](_0xa7a629)){const _0x11543e=this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)||new Set();_0x11543e[_0x38e07a(0x1c1)](_0xa7a629),this['_unitOnClients'][_0x38e07a(0x3a4)](_0x2ae67d,_0x11543e),this[_0x38e07a(0x141)](_0xa7a629);}}),_0x1c95cd||this[_0x227f14(0x304)]({'type':0x0,'memberID':this[_0x227f14(0x297)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2c8ec4(0x141)](_0xd1a261){const _0x57d1e3=_0x2c8ec4;this[_0x57d1e3(0x2dc)](_0xd1a261);const _0x221e28=window['setTimeout'](()=>{const _0x187e04=_0x57d1e3;this[_0x187e04(0x373)][_0x187e04(0x31d)](_0x5d1878=>{const _0x5cc96e=_0x187e04;_0x5d1878[_0x5cc96e(0x259)](_0xd1a261);});},_0x5a6533*0x2);this['_clearOtherTimers'][_0x57d1e3(0x3a4)](_0xd1a261,_0x221e28);}[_0x2c8ec4(0x2dc)](_0x1ff07d){const _0x41b059=_0x2c8ec4;if(this[_0x41b059(0x23a)][_0x41b059(0x119)](_0x1ff07d)){const _0x1b2f5f=this[_0x41b059(0x23a)][_0x41b059(0x36a)](_0x1ff07d);_0x1b2f5f&&window[_0x41b059(0x34e)](_0x1b2f5f),this[_0x41b059(0x23a)][_0x41b059(0x3a4)](_0x1ff07d,null);}}['_handleLeaveEvent'](_0x5d0b13){const _0x2c3ca3=_0x2c8ec4,{memberID:_0x24f40b,unitIDs:_0x45ddaa}=_0x5d0b13;_0x45ddaa[_0x2c3ca3(0x31d)](_0x2378bd=>{const _0x1957fd=_0x2c3ca3;var _0x532c91;const _0x3e950f=this[_0x1957fd(0x373)][_0x1957fd(0x36a)](_0x2378bd);_0x3e950f&&(_0x3e950f['delete'](_0x24f40b),(_0x532c91=this[_0x1957fd(0x1f7)](_0x2378bd))==null||_0x532c91[_0x1957fd(0x2f6)](_0x3e950f['size']===0x0?_0x2eddce['UnitStatus'][_0x1957fd(0x276)]:_0x2eddce[_0x1957fd(0x317)][_0x1957fd(0x279)]));}),this['_removeClearOtherTimer'](_0x24f40b);}['_handleHeartbeatEvent'](_0x292dab){const _0x4e39bf=_0x2c8ec4;this[_0x4e39bf(0x141)](_0x292dab['memberID']);}[_0x2c8ec4(0x304)](_0x45fff7){const _0x44929b=_0x2c8ec4;localStorage[_0x44929b(0x2f8)](_0x261cb7,JSON[_0x44929b(0x318)](_0x45fff7));}[_0x2c8ec4(0x1cf)](){const _0x56503d=_0x2c8ec4;this[_0x56503d(0x12f)]=window['setInterval'](()=>{const _0xe2d463=_0x56503d;this[_0xe2d463(0x304)]({'type':0x2,'memberID':this['_id']});},_0x5a6533);}['_ensureSubject'](_0x145f85){const _0x198a57=_0x2c8ec4;return this['_unitStatus']['has'](_0x145f85)||this[_0x198a57(0x173)][_0x198a57(0x3a4)](_0x145f85,new _0x399a7e[(_0x198a57(0x33a))](_0x2eddce[_0x198a57(0x317)][_0x198a57(0x276)])),this[_0x198a57(0x173)]['get'](_0x145f85);}}var _0x48d715=(_0x40aaca=>(_0x40aaca[_0x40aaca[_0x2c8ec4(0x33b)]=0x0]='UNDEFINED',_0x40aaca[_0x40aaca['OK']=0x1]='OK',_0x40aaca[_0x40aaca['INTERNAL_ERROR']=0x2]=_0x2c8ec4(0x349),_0x40aaca[_0x40aaca[_0x2c8ec4(0x371)]=0x3]='PERMISSION_DENIED',_0x40aaca[_0x40aaca['NOT_FOUND']=0x4]=_0x2c8ec4(0x2f3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x269)]=0x5]=_0x2c8ec4(0x269),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16f)]=0x6]=_0x2c8ec4(0x16f),_0x40aaca[_0x40aaca['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x2d4)]=0x8]=_0x2c8ec4(0x2d4),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1fe)]=0x9]=_0x2c8ec4(0x1fe),_0x40aaca[_0x40aaca[_0x2c8ec4(0x18b)]=0xa]=_0x2c8ec4(0x18b),_0x40aaca[_0x40aaca[_0x2c8ec4(0x283)]=0x1389]=_0x2c8ec4(0x283),_0x40aaca[_0x40aaca[_0x2c8ec4(0x22d)]=0x1771]=_0x2c8ec4(0x22d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x308)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x11a)]=0x1773]=_0x2c8ec4(0x11a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x150)]=0x1b59]='APPLY_REJECT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x353)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40aaca[_0x40aaca[_0x2c8ec4(0x351)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x40aaca[_0x40aaca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c8ec4(0x1ea),_0x40aaca[_0x40aaca[_0x2c8ec4(0x17a)]=0x1b5d]=_0x2c8ec4(0x17a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x19c)]=0x1f41]=_0x2c8ec4(0x19c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c3)]=0x2329]=_0x2c8ec4(0x2c3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x167)]=0x232a]=_0x2c8ec4(0x167),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x229)]=0x232c]=_0x2c8ec4(0x229),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40aaca[_0x40aaca['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c8ec4(0x374),_0x40aaca[_0x40aaca[_0x2c8ec4(0x3a7)]=0x2712]=_0x2c8ec4(0x3a7),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2a8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x30c)]=0x2714]=_0x2c8ec4(0x30c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x29f)]=0x271a]=_0x2c8ec4(0x29f),_0x40aaca[_0x40aaca['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2c8ec4(0x2f5),_0x40aaca[_0x40aaca['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x19e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x40aaca[_0x40aaca[_0x2c8ec4(0x223)]=0x271e]=_0x2c8ec4(0x223),_0x40aaca[_0x40aaca[_0x2c8ec4(0x333)]=0x271f]=_0x2c8ec4(0x333),_0x40aaca[_0x40aaca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2c8ec4(0x245),_0x40aaca[_0x40aaca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2c8ec4(0x222),_0x40aaca[_0x40aaca[_0x2c8ec4(0x176)]=0x2ee2]=_0x2c8ec4(0x176),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1db)]=0x2ee3]=_0x2c8ec4(0x1db),_0x40aaca[_0x40aaca[_0x2c8ec4(0x290)]=0x2ee4]=_0x2c8ec4(0x290),_0x40aaca[_0x40aaca[_0x2c8ec4(0x36d)]=0x2ee5]=_0x2c8ec4(0x36d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x389)]=0x32c9]=_0x2c8ec4(0x389),_0x40aaca[_0x40aaca[_0x2c8ec4(0x238)]=0x32ca]=_0x2c8ec4(0x238),_0x40aaca[_0x40aaca['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2c8ec4(0x281),_0x40aaca[_0x40aaca['UNRECOGNIZED']=-0x1]=_0x2c8ec4(0x227),_0x40aaca))(_0x48d715||{}),_0xf576fa=Object[_0x2c8ec4(0x146)],_0x362fb1=(_0x35b0ae,_0x5be0e2,_0x1decce,_0x1ac1bc)=>{for(var _0x47a83b=_0x1ac1bc>0x1?void 0x0:_0x1ac1bc?_0xf576fa(_0x5be0e2,_0x1decce):_0x5be0e2,_0x26c820=_0x35b0ae['length']-0x1,_0x4cf7dc;_0x26c820>=0x0;_0x26c820--)(_0x4cf7dc=_0x35b0ae[_0x26c820])&&(_0x47a83b=_0x4cf7dc(_0x47a83b)||_0x47a83b);return _0x47a83b;},_0x5f1620=(_0x500ba7,_0x5a1f95)=>(_0xdf61bf,_0x385de5)=>_0x5a1f95(_0xdf61bf,_0x385de5,_0x500ba7);_0x1ebb4a[_0x2c8ec4(0x35b)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x55bc5e,_0x35cbc,_0x2c755d){const _0x662593=_0x2c8ec4;super(),this[_0x662593(0x348)]=_0x55bc5e,this['_httpService']=_0x35cbc,this['_configService']=_0x2c755d;}async[_0x2c8ec4(0x1a2)](_0x15879a,_0x247172,_0x189831,..._0x3749bf){const _0x3648f8=_0x2c8ec4;var _0x7993b,_0x1aadbb,_0x5dd7ab,_0x3cf84d;const _0x244562=this[_0x3648f8(0x348)][_0x3648f8(0x280)]();if(!_0x244562)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5860f1=((_0x7993b=this[_0x3648f8(0x383)][_0x3648f8(0x25b)](_0x2eddce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x7993b:_0x2eddce[_0x3648f8(0x2a0)])+'/'+_0x15879a+_0x3648f8(0x310)+_0x247172,_0x4e4f58=new URL(window[_0x3648f8(0x3a1)]['href']),_0x5d9eef={'scriptId':_0x15879a,'runId':(_0x1aadbb=_0x4e4f58[_0x3648f8(0x208)]['get']('runId'))!=null?_0x1aadbb:'','function':_0x247172,'unitId':_0x244562['getUnitId'](),'argsOfFunction':JSON[_0x3648f8(0x318)](_0x3749bf),'invokeId':(_0x5dd7ab=_0x189831[_0x3648f8(0x2d5)])!=null?_0x5dd7ab:'','executionId':(_0x3cf84d=_0x189831[_0x3648f8(0x1e1)])!=null?_0x3cf84d:''};try{const _0x55ed4f=await this[_0x3648f8(0x16c)][_0x3648f8(0x235)](_0x5860f1,{'body':_0x5d9eef});return _0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]&&_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]['code']!==_0x48d715['OK']?_0x3648f8(0x2e3):_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x1a1)];}catch{return _0x3648f8(0x2e3);}}},_0x1ebb4a['RemoteUniscriptService']=_0x362fb1([_0x5f1620(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5f1620(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x5f1620(0x2,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x35b)]),_0x1ebb4a['CollaborationStatusDisplay']=_0x3891f9,_0x1ebb4a['IURLService']=_0x60b938,_0x1ebb4a[_0x2c8ec4(0x35e)]=_0x9f5a04,_0x1ebb4a[_0x2c8ec4(0x296)]=_0x3110fc,_0x1ebb4a[_0x2c8ec4(0x1d6)]=_0x199640,Object[_0x2c8ec4(0x251)](_0x1ebb4a,Symbol['toStringTag'],{'value':'Module'});}));
|