@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505221607
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/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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x30a1(_0x24c434,_0x1a55a9){const _0x2e2272=_0x2e22();return _0x30a1=function(_0x30a15b,_0x61c46b){_0x30a15b=_0x30a15b-0x15d;let _0xf55c53=_0x2e2272[_0x30a15b];return _0xf55c53;},_0x30a1(_0x24c434,_0x1a55a9);}function _0x2e22(){const _0x40b0d3=['_handleLeaveEvent','_refRangeService','_imageIoService','size','_onCursorUpdate','startColumn','asObservable','DocStateChangeManagerService','attrs','APPLY_REJECT','getConfig','trim','ILocalCacheService','transformIMECache','isTransformMutationFailure','createElement','application/json','current','values','DocIMEInputManagerService','WECHAT_HAS_BEEN_BOUND','unsubscribe','_updateURLWithCurrentState','@univerjs/core','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','cursorInfo$','getCoordByCell','getOwnPropertyDescriptor','subscribe','@univerjs/sheets','transformStateCache','_cursor','_hover','getSheetId','_textBubble','Workbook','univer-flex\x20univer-mr-2\x20univer-text-xl','executeCommand','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetsSelectionsService','onPointerEnter$','@univerjs-pro/collaboration','OnLineSingle','@univerjs/rpc','Plugin','_docTransformSelectionsService','replace','send','ranges','rgba(255,\x20255,\x20255,\x200.01)','hide','M0\x200H16V16H0z','delete','_cursors','measureText','OTHER_CLIENTS_EDITING','getCurrentSelections','DeleteRangeMoveLeftCommandId','IRemoteInstanceService','FromArray','Inject','_onRefRangeChange','MoveRangeCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_httpService','top','with','getActiveSheet','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','AWAITING_WITH_PENDING','RefRangeService','_session','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','save','saveOfflineData','INVITE_CODE_ALREADY_BOUND','18656BfIMkl','setItem','fillRule','CollaborationStatus','selection','getMergeData','distinctUntilChanged','off-line-single_clip0_910_343','IConfigService','range','_docClipboardService','rxjs','isTransformMutationsWithChangesetSuccess','_setupBeforeClosingHandler','SheetSkeletonManagerService','map','UniverProCollaborationClient','_shapes','_updateLocalCursor','OTHER_CLIENT_EDITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','SHEET_VIEWPORT_KEY','APPLY_NON_SEQUENTIAL_REVISION','1224064ppXEhc','LocaleService','hovered','row','code','_syncEditingCollabCursorService','collab-rect-range-','3960GgBzVb','_removeClearOtherTimer','getColorFromTheme','setStateCache','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','_getScale','roomMembers','getCellPositionByOffset','Injector','Module','syncEditingCollabCursor','0\x200\x2016\x2016','use','round','blue.400','m2Prime','error','_ensureSubject','_render','disableLocalCache','show','whenReady','UNDEFINED','filter','disposeWithMe','_beforeCloseService','getAncestorScale','_color','UnitStatus','_commandService','div','_refreshCollabCursors','textRanges','hasOwnProperty','storage','_colorIndex','memberID','history','#FFF','COMPLETION_FINISHED','RichTextEditingMutation','_entities','height','restore','BrowserCollaborationSocketService','onPointerMove$','generateRandomId','getSheetObject','symbol','getMemberID','PERMISSION_DENIED','_transformPreviousActiveRange','getDocRanges','DocCollaborationEntity','next','rxjs/operators','_memberService','Error','fillText','MOBILE_HAS_BEEN_BOUND','collaboration.single-unit.warning','_anchorDot','assignAColorForMemberID','setInterval','extend','none','pluginName','_configService','newValue','object','@univerjs/design','min','INVITE_CODE_REQUIRED','toRgbString','_init','INVALID_INVITE_CODE','SetSelectionsOperation','@univerjs/engine-formula','indexOf','_hovered','search','DependentOn','getColor','UniverEngineRender','ITransformService','getParam','_logService','propertyIsEnumerable','permission.content','init','has','InsertColCommandId','_id','registerDependencies','onMouseMove','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','yellow.400','_colorAssignService','NO_OTHER_CLIENTS_EDITING','UniverEngineFormula','url(#$1','getFocusedUnit','permission.title','searchParams','addClipboardHook','_transformHistoryAndStateStack','LICENSE_DISTRO_REJECTED','updateOfflineData','@univerjs/engine-render','transformSelections','_scheduleSaving','handleInsertRangeMoveRight','_registerDependencies','arc','sheetId','CONNECTOR_DATA_TOO_LARGE','_getAnchorBounding','ILogService','ISnapshotServerService','_initStatusListener','getUndoRedoMutationParamsCache','getUnitStatus$','DOC_RANGE_TYPE','substring','CommandType','UNRECOGNIZED','_unitOnClients','defineProperty','OFFLINE','undoState','3504966lJdFvj','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','_cursorShapes','_config','LICENSE_MAX_UNITS_EXCEEDED','ONLINE','IUniverInstanceService','getUnhiddenWorksheets','CollaborationEvent','sessionStatus$','beginPath','Disposable','_sheetSkeletonManagerService','unshift','#fff','_setupSubUnitSync','_docStateChangeManagerService','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','deserializeRangeWithSheet','VIEW_MAIN','_send','APPLY_REVISION_CONFILICT','handleMoveRange','_instanceService','_name','getMember','takeUntil','YUUMI_AI_RUN_FAILED','Unknown\x20user','_localStorageService','black','debounce','forwardRef','getCollabCursors$','add','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','BuiltInUIPart','SessionStatus','runOnServer','exports','url(#off-line-single_clip0_910_343)','registerRenderModule','_getMergeRange','setConfig','subscribeEvent','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','doc.mutation.rich-text-editing','contains','UPDATE_CURSOR','_getSheetObject','PENDING','_registerRenderDependencies','currentColor','assign','column','popstate','_doCreateSocket','transform','_scheduleHeartbeat','IRenderManagerService','_themeService','actions','onLocalMutation','_drawAnchor','forEach','_status$','RemoteUniscriptService','_hideTimer','RemoveColCommandId','green.600','_dataLoaderService','defIds','addHandlerCallback','find','LOGIN_FAILED','merge','_cachedData','_scheduleClearOtherTimer','react','createIdentifier','Vector2','key','9441PdWiDa','getStateCache','fromEventSubject','USERS_LEAVE','endRow','_unitStatus','RECT','_collabCursorController','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','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','urlChange$','clearTimeout','Optional','getTypeOfUnitAdded$','pushState','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','sessionTicket','651pStTqj','UniverCore','set','defs','NodePositionConvertToCursor','UNAUTHENTICATED','collaboration-client-ui.config','INTERNAL_ERROR','ALREADY_EXISTS','deepClone','xlink:href','fillStyle','_online','[CollaborationDataLoaderController]','UNIVER_SHEET','ThemeService','InsertRowCommandId','text','_transformUndoRedoStack','getSheetBySheetId','3894189zHEgur','debounceTime','split','function','_startSheetCollabCursor','handleDeleteRangeMoveLeft','runRefRangeMutations','docStateChange$','then','CollaborationDataLoaderController','requireSession','setParam','unload','toStringTag','SheetCollabCursorShape','params','UniverDrawing','combineLatest','_startDocCollabCursor','_univerInstanceService','_clearOtherTimers','tag','ISocketService','setShapeProps','startsWith','width','0\x200\x2017\x2016','unitID','subUnitId','unit','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','touchDependencies','NodePositionConvertToRectRange','backgroundColor','collabStatus.synced','2079928kKCKho','_anchor','setAlpha','_uiPartsService','setUndoRedoMutationParamsCache','path','translate(.97)','engine','@univerjs/docs-ui','UniverUi','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','amd','RxDisposable','collabStatus.offline','href','m1Prime','_removeCollabCursors','getOwnPropertySymbols','addObject','getViewport','SetWorksheetActivateCommand','univerjs-icon\x20univerjs-icon-','max','from','_backgroundColor','displayName','Shape','@univerjs/ui','InsertRangeMoveRightCommandId','_initEntityListener','@univerjs/sheets-ui','bottom','executionId','@univerjs/drawing','useDependency','UniverProCollaborationClientUi','_transformService','UNIVER_DOC','loadOfflineData','Subject','subunit','mask','saveTaskMap','some','onTransformChange$','INVITE_CODE_HAS_BEEN_UES','runId','getValue','ColorKit','mutations','jsx','APPLY_DUPLICATED','_revisionService','moveTo','skeleton','parse','_handleHeartbeatEvent','_collaborationUIEventService','string','lineTo','mapTo','registerRefRange','clsx','...','_roomMembers$','loadUnit','DataLoaderService','TOO_MANY_REQUESTS','collabCursorState$','createSocket','on-line-single','ENSURE_SNAPSHOT_EXECUTION','MemberService','_entityInit$','DesktopCollaborationStatusDisplayController','_saveCache','EffectRefRangId','dispose$','getSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','debug','COLORS','BehaviorSubject','FETCH_MISS','ticket','className','_disabled','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','_labelPosition','length','event$','_createSocketURL','_renderManagerService','_handleEvent','_saveTaskMap','_toggleOffline','1em','INotificationService','_collabCursorState$','stringify','_lastPointer','selections','redoState','getCurrent','clearInterval','getOffsetConfig','closePath','registerComponent','collaboration.closeRoom','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','override','NOT_FOUND','_selfUnitIDs','name','USER_NOT_INVITED_CODE','prototype','RegularPolygon','2486090UlIKfq','_collabSessionService','_initEvent','CollaborationSocketService','replaceState','fromEvent','_initDependencies','_injector','_localCacheService','_handleHover','WebBrowserSingleActiveUnitService','transformMutation','apply','DisposableCollection','isArray','UniverNetwork','addEventListener','_drawRectRange','_onCursorDelete','getRelativeToViewportCoord','IImageIoService','color','onRendered','SOCKET_FAILED_RETRY','pipe','/run/','fill','_range','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','body','OffLineSingle','IDocClipboardService','disposeUnit','_updateCollabCursors','reconnect','UniverDocs','colorChannel1','Warning','React','roomMembers$','enableLocalCache','collabStatus.syncing','complete','children','UniverCollaborationClientUIPlugin','wsSessionTicketUrl','invokeId','entries','push','evenodd','location','IMessageService','handleIRemoveRow','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','UniverRpc','_docSkeletonManagerService','react/jsx-runtime','_heartbeatTimer','getRenderById','currentSkeleton$','currentTheme$','UniverIcon','transformByState','APPLY_PERMISSION_DENIED','collabStatus.notCollab','_getSaveTimeout','get','_docTransformIMECacheService','result','call','CollaborationUIEventId','10swPHOm','_context','RevisionService','Failed','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','collab-client.tooltip.reconnect','_localeService','SYNCED','operators','toDisposable','type','addObjects','UniverProCollaboration','getRangePointData','setActiveRange','_docTransformStateCacheService','_initCommandExecutedListener','exhaustSavingTask','@univerjs/network','isActive','useCallback','_initResize','UniverInstanceType','saveImage','ILocalStorageService','UniverSheets','labelPosition','TEXT','_docSyncEditingCollabCursorService','CollaborationController','YUUMI_UNABLE_LOAD_URL','dispose','collab-text-anchor-','Rectangle','red.300','_notificationService','_draw','random','_toggleOnline','HTTPService','ICommandService','switchMap','CollaborationSessionService','MessageType','cursorInfo','_updateSubUnitFromURLParams','getUnitId','collab-text-range-','getVpScrollXYInfoByPosToVp','Tools','handleInsertCol','toString','icon','svg','_collaborationController','eventID','getUniverSheetInstance','SetTextSelectionsOperation','SOCKET_FAILED','getItem','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','RemoveRowCommandId','idSuffix','YUUMI_ASYNCIO_CANCELLED','_assignedColors','IUIPartsService','onCommandExecuted','SetDocZoomRatioOperation','_urlService','EMAIL_HAS_BEEN_BOUND','_eventUnsubscribe','handleInsertRow','_getSessionTicket','concat','data','replaceDocRanges','editingUnit','font','Rect','MUTATION','unitId'];_0x2e22=function(){return _0x40b0d3;};return _0x2e22();}(function(_0x2629bc,_0x1f031b){const _0x5a9d27=_0x30a1,_0x134c76=_0x2629bc();while(!![]){try{const _0x5baeb9=parseInt(_0x5a9d27(0x29c))/0x1+parseInt(_0x5a9d27(0x198))/0x2+-parseInt(_0x5a9d27(0x3a3))/0x3+parseInt(_0x5a9d27(0x3c7))/0x4+-parseInt(_0x5a9d27(0x1e2))/0x5*(parseInt(_0x5a9d27(0x326))/0x6)+parseInt(_0x5a9d27(0x38f))/0x7*(-parseInt(_0x5a9d27(0x284))/0x8)+-parseInt(_0x5a9d27(0x37c))/0x9*(-parseInt(_0x5a9d27(0x2a3))/0xa);if(_0x5baeb9===_0x1f031b)break;else _0x134c76['push'](_0x134c76['shift']());}catch(_0x1daea8){_0x134c76['push'](_0x134c76['shift']());}}}(_0x2e22,0xaf982),function(_0x59f6ad,_0x2b1eb1){const _0x3ba93a=_0x30a1;typeof exports==_0x3ba93a(0x2e9)&&typeof module<'u'?_0x2b1eb1(exports,require(_0x3ba93a(0x328)),require(_0x3ba93a(0x24d)),require('@univerjs/engine-render'),require(_0x3ba93a(0x1f6)),require(_0x3ba93a(0x3cf)),require(_0x3ba93a(0x3e8)),require(_0x3ba93a(0x28f)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x3ba93a(0x2f1)),require(_0x3ba93a(0x254)),require(_0x3ba93a(0x2db)),require(_0x3ba93a(0x3e5)),require(_0x3ba93a(0x1d3)),require(_0x3ba93a(0x3e2)),require('@univerjs/design'),require(_0x3ba93a(0x378)),require(_0x3ba93a(0x262))):typeof define=='function'&&define[_0x3ba93a(0x3d2)]?define([_0x3ba93a(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x3ba93a(0x310),_0x3ba93a(0x1f6),_0x3ba93a(0x3cf),_0x3ba93a(0x3e8),_0x3ba93a(0x28f),'@univerjs/docs',_0x3ba93a(0x260),'@univerjs/engine-formula',_0x3ba93a(0x254),_0x3ba93a(0x2db),'@univerjs/sheets-ui',_0x3ba93a(0x1d3),_0x3ba93a(0x3e2),_0x3ba93a(0x2ea),_0x3ba93a(0x378),_0x3ba93a(0x262)],_0x2b1eb1):(_0x59f6ad=typeof globalThis<'u'?globalThis:_0x59f6ad||self,_0x2b1eb1(_0x59f6ad[_0x3ba93a(0x3ea)]={},_0x59f6ad[_0x3ba93a(0x294)],_0x59f6ad[_0x3ba93a(0x390)],_0x59f6ad[_0x3ba93a(0x2f7)],_0x59f6ad[_0x3ba93a(0x1a7)],_0x59f6ad['UniverDocsUi'],_0x59f6ad[_0x3ba93a(0x3b3)],_0x59f6ad[_0x3ba93a(0x28f)],_0x59f6ad[_0x3ba93a(0x1bc)],_0x59f6ad[_0x3ba93a(0x1f0)],_0x59f6ad[_0x3ba93a(0x307)],_0x59f6ad[_0x3ba93a(0x1fd)],_0x59f6ad[_0x3ba93a(0x28f)][_0x3ba93a(0x1ec)],_0x59f6ad[_0x3ba93a(0x38c)],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x3d0)],_0x59f6ad['UniverDesign'],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x1d1)]));}(this,function(_0x3dc1b0,_0x827ff8,_0x1c002c,_0x8f24d8,_0x286260,_0x567b9,_0x22769d,_0x4287b5,_0x1100fd,_0x376d49,_0x568831,_0x2a4acb,_0x5d572c,_0x17d02e,_0x3c107a,_0x1c1408,_0x29c2d3,_0x59786a,_0x405deb){'use strict';const _0x26cc89=_0x30a1;var _0x2cdba9=Object[_0x26cc89(0x323)],_0x3c1808=(_0x295f11,_0x4f1d6a,_0x995080)=>_0x4f1d6a in _0x295f11?_0x2cdba9(_0x295f11,_0x4f1d6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x995080}):_0x295f11[_0x4f1d6a]=_0x995080,_0xd9b4bc=(_0x45b1ca,_0xcbb8ec,_0x52ca3c)=>_0x3c1808(_0x45b1ca,typeof _0xcbb8ec!=_0x26cc89(0x2d4)?_0xcbb8ec+'':_0xcbb8ec,_0x52ca3c),_0x270175=Object[_0x26cc89(0x252)],_0x3a4d75=(_0x1a698c,_0x2cdea3,_0xff6c02,_0x5168bb)=>{for(var _0x15cde2=_0x5168bb>0x1?void 0x0:_0x5168bb?_0x270175(_0x2cdea3,_0xff6c02):_0x2cdea3,_0x2d8757=_0x1a698c['length']-0x1,_0x4c8cbb;_0x2d8757>=0x0;_0x2d8757--)(_0x4c8cbb=_0x1a698c[_0x2d8757])&&(_0x15cde2=_0x4c8cbb(_0x15cde2)||_0x15cde2);return _0x15cde2;},_0xe4be94=(_0x257393,_0x4756b5)=>(_0x305e9c,_0x1ea0d7)=>_0x4756b5(_0x305e9c,_0x1ea0d7,_0x257393);let _0x3f0664=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x208971,_0x2d0412){const _0x1ba520=_0x26cc89;super(),this[_0x1ba520(0x28e)]=_0x208971,this[_0x1ba520(0x238)]=_0x2d0412,this['_init']();}[_0x26cc89(0x2ee)](){const _0x489635=_0x26cc89,_0x252fb6=this;this[_0x489635(0x2bc)](this[_0x489635(0x28e)][_0x489635(0x30c)]({'onBeforePasteImage':async _0x58b5a2=>{const _0x3e3109=_0x489635,_0x23bb86=await _0x252fb6[_0x3e3109(0x238)][_0x3e3109(0x1fb)](_0x58b5a2);return _0x23bb86?{'source':_0x23bb86['source'],'imageSourceType':_0x23bb86['imageSourceType']}:null;}}));}};_0x3f0664=_0x3a4d75([_0xe4be94(0x0,_0x567b9[_0x26cc89(0x1b8)]),_0xe4be94(0x1,_0x22769d[_0x26cc89(0x1ac)])],_0x3f0664);const _0x40c15c=['purple.300','jiqing.500',_0x26cc89(0x36f),_0x26cc89(0x206),_0x26cc89(0x2b2),_0x26cc89(0x304)];class _0x328ed8 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x57813b=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x57813b(0x225),new Map()),_0xd9b4bc(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x40adfb){const _0x4b8100=_0x26cc89;if(this[_0x4b8100(0x225)][_0x4b8100(0x2fe)](_0x40adfb))return this[_0x4b8100(0x225)][_0x4b8100(0x1dd)](_0x40adfb);const _0x58ee4c=_0x40c15c[this[_0x4b8100(0x2c7)]];return this[_0x4b8100(0x2c7)]=(this[_0x4b8100(0x2c7)]+0x1)%_0x40c15c[_0x4b8100(0x17b)],this[_0x4b8100(0x225)][_0x4b8100(0x391)](_0x40adfb,_0x58ee4c),_0x58ee4c;}}function _0x22f65c(_0x5ad802){let _0x5c796e='';for(const _0x3a6f69 of _0x5ad802){const {startOffset:_0x4cff2a,endOffset:_0x5e50a9,isActive:_0x43a6fc,rangeType:_0x40f45e,segmentId:_0xb827f1,segmentPage:_0x18db35}=_0x3a6f69;_0x5c796e['length']&&(_0x5c796e+=','),_0x5c796e+=_0x4cff2a+':'+_0x5e50a9+':'+(_0x43a6fc?'1':'0')+':'+_0x40f45e+':'+_0xb827f1+':'+_0x18db35;}return _0x5c796e;}function _0x5bbdc4(_0x52f734){const _0x32dd5a=_0x26cc89,_0x2b2806=_0x52f734['split'](','),_0x2b74e5=[];for(const _0x25b23d of _0x2b2806){const [_0x81e01,_0x252058,_0x159eac,_0x25c838,_0x286fb5,_0x22ede9]=_0x25b23d[_0x32dd5a(0x3a5)](':');_0x2b74e5['push']({'startOffset':Number(_0x81e01),'endOffset':Number(_0x252058),'collapsed':_0x81e01===_0x252058,'isActive':_0x159eac==='1','rangeType':_0x25c838===_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]?_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]:_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x382)],'segmentId':typeof _0x286fb5==_0x32dd5a(0x401)?String(_0x286fb5):'','segmentPage':Number(_0x22ede9!=null?_0x22ede9:-0x1)});}return _0x2b74e5[_0x32dd5a(0x3f2)](_0x1782a7=>_0x1782a7['isActive'])||(_0x2b74e5[0x0][_0x32dd5a(0x1f7)]=!0x0),_0x2b74e5;}class _0x509d7c extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0x141164=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x141164(0x184),new _0x4287b5[(_0x141164(0x173))](null)),_0xd9b4bc(this,_0x141164(0x165),this['_collabCursorState$'][_0x141164(0x23c)]());}[_0x26cc89(0x2ae)](_0x157e68){const _0x421e9b=_0x26cc89,{unitID:_0x111bcb,memberID:_0x33d477,textRanges:_0x3e55ff}=_0x157e68,_0x3463a0=_0x22f65c(_0x3e55ff);if(_0x3463a0==='')return;const _0x359370={'unitID':_0x111bcb,'memberID':_0x33d477,'selection':_0x3463a0};this['_collabCursorState$'][_0x421e9b(0x2da)](_0x359370);}}var _0x2dee8f=Object[_0x26cc89(0x252)],_0x15d13b=(_0x4ddb96,_0x249ada,_0x5782dc,_0x47e132)=>{const _0x2b5aa5=_0x26cc89;for(var _0x394bb9=_0x47e132>0x1?void 0x0:_0x47e132?_0x2dee8f(_0x249ada,_0x5782dc):_0x249ada,_0x2bd756=_0x4ddb96[_0x2b5aa5(0x17b)]-0x1,_0x50c9bc;_0x2bd756>=0x0;_0x2bd756--)(_0x50c9bc=_0x4ddb96[_0x2bd756])&&(_0x394bb9=_0x50c9bc(_0x394bb9)||_0x394bb9);return _0x394bb9;},_0x1ea400=(_0x2efe3f,_0x58c0b1)=>(_0x4715dd,_0x3ee38e)=>_0x58c0b1(_0x4715dd,_0x3ee38e,_0x2efe3f);const _0x54b378=0x12c,_0x3ab358=0x64;let _0x1437b5=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x4c918f,_0x52bb94,_0xbf08d9,_0xf5ce49,_0x37f8a8,_0x9a37c4,_0x218da1,_0x32e85b,_0xddf6b6){const _0x288f48=_0x26cc89;super(),_0xd9b4bc(this,_0x288f48(0x39b),!0x1),_0xd9b4bc(this,_0x288f48(0x2ee),!0x1),_0xd9b4bc(this,'_cursorInfo$',new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x288f48(0x250),this[_0x288f48(0x384)][_0x288f48(0x23c)]()),_0xd9b4bc(this,_0x288f48(0x161),new _0x4287b5['BehaviorSubject']([])),_0xd9b4bc(this,_0x288f48(0x1c0),this['_roomMembers$'][_0x288f48(0x1b0)](_0x4287b5[_0x288f48(0x3a4)](_0x54b378))),_0xd9b4bc(this,_0x288f48(0x296),_0x1c002c['debounce'](_0x2b945b=>{const _0x5cb5fe=_0x288f48,_0x382216={'eventID':_0x376d49[_0x5cb5fe(0x32f)][_0x5cb5fe(0x35a)],'data':{'unitID':this[_0x5cb5fe(0x3be)],'memberID':this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x2d5)](),'selection':_0x22f65c(_0x2b945b)}};this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x266)](_0x382216,this['unitID']);},_0x3ab358)),(this[_0x288f48(0x3be)]=_0x4c918f,this['_session']=_0x52bb94,this['_injector']=_0xbf08d9,this['_colorAssignService']=_0xf5ce49,this[_0x288f48(0x2dc)]=_0x37f8a8,this[_0x288f48(0x2a1)]=_0x9a37c4,this['_transformService']=_0x218da1,this[_0x288f48(0x3b6)]=_0x32e85b,this[_0x288f48(0x2c1)]=_0xddf6b6);}get[_0x26cc89(0x210)](){const _0x462981=_0x26cc89;return this['_cursorInfo$'][_0x462981(0x3f6)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x26cc89(0x203)](){const _0x162b7d=_0x26cc89;super['dispose'](),this[_0x162b7d(0x384)][_0x162b7d(0x2da)](new Map()),this['_cursorInfo$'][_0x162b7d(0x1c3)](),this[_0x162b7d(0x161)]['next']([]),this[_0x162b7d(0x161)][_0x162b7d(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x126fbf=_0x26cc89;this[_0x126fbf(0x2ee)]||(this[_0x126fbf(0x2ee)]=!0x0,this[_0x126fbf(0x27e)]['sessionStatus$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x519c13=>{const _0xe6a344=_0x126fbf;_0x519c13===_0x827ff8['SessionStatus'][_0xe6a344(0x32c)]?this[_0xe6a344(0x20a)]():this['_toggleOffline']();}),this['_session']['event$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x449ec8=>{const _0x4cdadd=_0x126fbf,_0x5bc5b7=_0x449ec8[_0x4cdadd(0x21b)];_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x35a)]&&this[_0x4cdadd(0x23a)](_0x449ec8),_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x37f)]&&this[_0x4cdadd(0x1aa)](_0x449ec8);}),this[_0x126fbf(0x2bc)](this[_0x126fbf(0x2c1)]['onCommandExecuted'](_0x26b1c4=>{const _0x2bce9f=_0x126fbf,_0x537aa0=_0x26b1c4['params'];_0x537aa0!=null&&this[_0x2bce9f(0x39b)]&&_0x26b1c4['id']===_0x1100fd[_0x2bce9f(0x21d)]['id']&&_0x537aa0[_0x2bce9f(0x235)]===this[_0x2bce9f(0x3be)]&&_0x537aa0['isEditing']===!0x1&&_0x537aa0[_0x2bce9f(0x267)][_0x2bce9f(0x17b)]>0x0&&this['_updateLocalCursor'](_0x537aa0[_0x2bce9f(0x267)]);})),this[_0x126fbf(0x2a1)][_0x126fbf(0x165)][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0xc6905b=>{const _0x135eff=_0x126fbf;if((_0xc6905b==null?void 0x0:_0xc6905b[_0x135eff(0x3be)])!==this[_0x135eff(0x3be)])return;const _0x70479a={'eventID':_0x376d49[_0x135eff(0x32f)][_0x135eff(0x35a)],'data':_0xc6905b};this[_0x135eff(0x23a)](_0x70479a);}),this['disposeWithMe'](this['_commandService'][_0x126fbf(0x227)](_0x358128=>{const _0x335407=_0x126fbf;if(_0x358128['params']==null)return;const _0x1ddcf9=_0x358128[_0x335407(0x3b2)];if(_0x358128['id']!==_0x1100fd[_0x335407(0x2cc)]['id']||_0x1ddcf9['unitId']!==this[_0x335407(0x3be)])return;const _0x1cefd4={'id':_0x335407(0x358),'params':_0x1ddcf9},_0x1904aa=this['cursorInfo'];for(const [_0x5d01fb,_0x2db446]of _0x1904aa){const _0x228e30={'id':_0x335407(0x358),'params':{'unitId':this[_0x335407(0x3be)],'actions':null,'textRanges':_0x2db446[_0x335407(0x267)]}},_0x1ca16c=this[_0x335407(0x3eb)]['transformMutation'](_0x1cefd4,_0x228e30,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1ca16c))throw _0x1ca16c['error'];_0x1904aa[_0x335407(0x391)](_0x5d01fb,{..._0x2db446,'ranges':_0x1ca16c['m2Prime'][_0x335407(0x3b2)][_0x335407(0x2c4)]});}queueMicrotask(()=>{const _0x193377=_0x335407;this[_0x193377(0x384)][_0x193377(0x2da)](_0x1904aa);});})));}['_onCursorUpdate'](_0x25fe1c){const _0x41da08=_0x26cc89;var _0x281a6d,_0x1b2cf1;const {memberID:_0x3a555a,selection:_0x5cd529}=_0x25fe1c['data'],_0xfe7a5a=_0x5bbdc4(_0x5cd529),_0x405740=(_0x1b2cf1=(_0x281a6d=this[_0x41da08(0x2dc)][_0x41da08(0x341)](this[_0x41da08(0x3be)],_0x3a555a))==null?void 0x0:_0x281a6d[_0x41da08(0x194)])!=null?_0x1b2cf1:_0x41da08(0x344),_0x5193de={'color':this[_0x41da08(0x305)][_0x41da08(0x2e2)](_0x3a555a),'name':_0x405740,'ranges':_0xfe7a5a},_0x3cfba1=this[_0x41da08(0x210)];_0x3cfba1['set'](_0x3a555a,_0x5193de),this[_0x41da08(0x384)]['next'](_0x3cfba1);}[_0x26cc89(0x1aa)](_0x26ac32){const _0x3b05ec=_0x26cc89,{memberID:_0x22c33c}=_0x26ac32[_0x3b05ec(0x22f)],_0x292a86=this[_0x3b05ec(0x210)];_0x292a86[_0x3b05ec(0x26b)](_0x22c33c),this['_cursorInfo$'][_0x3b05ec(0x2da)](_0x292a86);}[_0x26cc89(0x20a)](){const _0x4c409a=_0x26cc89;var _0x26ee0d;if(this[_0x4c409a(0x39b)]=!0x0,((_0x26ee0d=this[_0x4c409a(0x3b6)][_0x4c409a(0x309)]())==null?void 0x0:_0x26ee0d[_0x4c409a(0x212)]())!==this[_0x4c409a(0x3be)])return;const _0x279602=this[_0x4c409a(0x19f)][_0x4c409a(0x1dd)](_0x1100fd['DocSelectionManagerService'])[_0x4c409a(0x2d8)]();Array['isArray'](_0x279602)&&_0x279602[_0x4c409a(0x17b)]>0x0&&this['_updateLocalCursor'](_0x279602);}[_0x26cc89(0x181)](){const _0x2195d2=_0x26cc89;this[_0x2195d2(0x39b)]=!0x1;}};_0x1437b5=_0x15d13b([_0x1ea400(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1ea400(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x1ea400(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8['MemberService'])),_0x1ea400(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x1ea400(0x6,_0x376d49[_0x26cc89(0x2f8)]),_0x1ea400(0x7,_0x1c002c['IUniverInstanceService']),_0x1ea400(0x8,_0x1c002c['ICommandService'])],_0x1437b5);var _0x3065d1=Object['getOwnPropertyDescriptor'],_0xaff664=(_0x3ff7a7,_0x32ef4a,_0x3053ed,_0x5b2e3c)=>{for(var _0x3aab43=_0x5b2e3c>0x1?void 0x0:_0x5b2e3c?_0x3065d1(_0x32ef4a,_0x3053ed):_0x32ef4a,_0x585c9b=_0x3ff7a7['length']-0x1,_0x40719c;_0x585c9b>=0x0;_0x585c9b--)(_0x40719c=_0x3ff7a7[_0x585c9b])&&(_0x3aab43=_0x40719c(_0x3aab43)||_0x3aab43);return _0x3aab43;},_0x8dbe8=(_0x5f0636,_0x4249aa)=>(_0x3c049d,_0x8c0aab)=>_0x4249aa(_0x3c049d,_0x8c0aab,_0x5f0636);const _0x159c08=0x12c,_0x32d96b=0x64,_0x451e58=()=>{let _0x5ef90b=[],_0xeb8c5a=!0x1;return _0x30d620=>{_0x5ef90b['push'](_0x30d620),_0xeb8c5a||(_0xeb8c5a=!0x0,setTimeout(()=>{const _0x237096=_0x30a1;_0x5ef90b[_0x237096(0x36a)](_0x2d43a2=>_0x2d43a2()),_0x5ef90b=[],_0xeb8c5a=!0x1;}));};};let _0x439e2b=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12c7cd,_0x3dd9a8,_0x1d1ea6,_0x56a4f3,_0x1e8bd5,_0x50d07e,_0x3f99e5,_0x26b14b){const _0x144b2a=_0x26cc89;super(),_0xd9b4bc(this,_0x144b2a(0x39b),!0x1),_0xd9b4bc(this,'_init',!0x1),_0xd9b4bc(this,_0x144b2a(0x384),new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x144b2a(0x250),this[_0x144b2a(0x384)][_0x144b2a(0x23c)]()),_0xd9b4bc(this,'_roomMembers$',new _0x4287b5[(_0x144b2a(0x173))]([])),_0xd9b4bc(this,'roomMembers$',this[_0x144b2a(0x161)]['pipe'](_0x4287b5[_0x144b2a(0x3a4)](_0x159c08))),_0xd9b4bc(this,_0x144b2a(0x296),_0x1c002c[_0x144b2a(0x347)]((_0x4dcbb2,_0x37708a)=>{const _0x2c4607=_0x144b2a,_0x218a56={'eventID':_0x376d49[_0x2c4607(0x32f)][_0x2c4607(0x35a)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c4607(0x27e)][_0x2c4607(0x2d5)](),'selection':_0x568831['serializeRangeWithSheet'](_0x4dcbb2,_0x37708a['range'])}};this['_session'][_0x2c4607(0x266)](_0x218a56,this[_0x2c4607(0x3be)]);},_0x32d96b)),(this[_0x144b2a(0x3be)]=_0x12c7cd,this[_0x144b2a(0x27e)]=_0x3dd9a8,this[_0x144b2a(0x19f)]=_0x1d1ea6,this[_0x144b2a(0x305)]=_0x56a4f3,this[_0x144b2a(0x2dc)]=_0x1e8bd5,this['_univerInstanceService']=_0x50d07e,this[_0x144b2a(0x2c1)]=_0x3f99e5,this[_0x144b2a(0x237)]=_0x26b14b);}get[_0x26cc89(0x210)](){const _0x3adba1=_0x26cc89;return this[_0x3adba1(0x384)][_0x3adba1(0x3f6)]();}get[_0x26cc89(0x2aa)](){const _0x122f4c=_0x26cc89;return this[_0x122f4c(0x161)]['getValue']();}[_0x26cc89(0x203)](){const _0x59003c=_0x26cc89;super['dispose'](),this[_0x59003c(0x384)]['next'](new Map()),this[_0x59003c(0x384)][_0x59003c(0x1c3)](),this[_0x59003c(0x161)]['next']([]),this['_roomMembers$'][_0x59003c(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x7a4fcc=_0x26cc89;this[_0x7a4fcc(0x2ee)]||(this[_0x7a4fcc(0x2ee)]=!0x0,this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x330)][_0x7a4fcc(0x1b0)](_0x4287b5['takeUntil'](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x2d7a0b=>{const _0x196c5d=_0x7a4fcc;_0x2d7a0b===_0x827ff8[_0x196c5d(0x34e)]['ONLINE']?this[_0x196c5d(0x20a)]():this[_0x196c5d(0x181)]();}),this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x17c)]['pipe'](_0x4287b5[_0x7a4fcc(0x342)](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x44ca6b=>{const _0x590720=_0x7a4fcc,_0x14258a=_0x44ca6b[_0x590720(0x21b)];_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x35a)]&&this[_0x590720(0x23a)](_0x44ca6b),_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x37f)]&&this[_0x590720(0x1aa)](_0x44ca6b);}),this[_0x7a4fcc(0x274)](),this[_0x7a4fcc(0x2bc)](this[_0x7a4fcc(0x2c1)][_0x7a4fcc(0x227)](_0x564e7b=>{const _0x39000c=_0x7a4fcc;if(this[_0x39000c(0x39b)]&&_0x564e7b['id']===_0x2a4acb[_0x39000c(0x2f0)]['id']&&_0x564e7b['params'][_0x39000c(0x235)]===this[_0x39000c(0x3be)]){const _0x54d955=_0x564e7b[_0x39000c(0x3b2)];this['_updateLocalCursor'](_0x54d955[_0x39000c(0x3bf)],_0x54d955[_0x39000c(0x187)][0x0]);}})));}[_0x26cc89(0x23a)](_0x34d78f){const _0x529769=_0x26cc89;var _0x4a2da9,_0x4ca854;const {memberID:_0x5cfd2d,selection:_0x2dd511}=_0x34d78f[_0x529769(0x22f)],{sheetName:_0x3b1796,range:_0x20a908}=_0x568831[_0x529769(0x33a)](_0x2dd511),_0x58f782={'name':(_0x4ca854=(_0x4a2da9=this[_0x529769(0x2dc)][_0x529769(0x341)](this[_0x529769(0x3be)],_0x5cfd2d))==null?void 0x0:_0x4a2da9[_0x529769(0x194)])!=null?_0x4ca854:_0x529769(0x344),'range':this[_0x529769(0x353)](_0x3b1796,_0x20a908),'sheetID':_0x3b1796,'color':this[_0x529769(0x305)][_0x529769(0x2e2)](_0x5cfd2d),'selection':_0x2dd511},_0x2e48fd=this[_0x529769(0x210)];_0x2e48fd[_0x529769(0x391)](_0x5cfd2d,_0x58f782),this[_0x529769(0x384)][_0x529769(0x2da)](_0x2e48fd);}[_0x26cc89(0x1aa)](_0x1967c1){const _0x2c8e71=_0x26cc89,{memberID:_0x5d60df}=_0x1967c1[_0x2c8e71(0x22f)],_0x5185f3=this[_0x2c8e71(0x210)];_0x5185f3[_0x2c8e71(0x26b)](_0x5d60df),this[_0x2c8e71(0x384)]['next'](_0x5185f3);}['_getMergeRange'](_0x20692e,_0xc88aed){const _0x349937=_0x26cc89;var _0x35a728,_0x1c1b4b;const _0x1b8518=(_0x1c1b4b=(_0x35a728=this[_0x349937(0x3b6)][_0x349937(0x21c)](this[_0x349937(0x3be)]))==null?void 0x0:_0x35a728['getSheetBySheetId'](_0x20692e))==null?void 0x0:_0x1c1b4b[_0x349937(0x289)]();return(_0x1b8518==null?void 0x0:_0x1b8518[_0x349937(0x373)](_0x223ea3=>_0x1c002c[_0x349937(0x205)][_0x349937(0x359)](_0x223ea3,_0xc88aed)))||_0xc88aed;}[_0x26cc89(0x274)](){const _0x2d8a4e=_0x26cc89,_0x2b1705=new _0x1c002c[(_0x2d8a4e(0x1a5))](),_0xaf7293=_0x451e58(),_0x2f0d8e=()=>{const _0x153544=_0x2d8a4e;_0x2b1705[_0x153544(0x203)]();const _0x2cebff=(_0x947f3d,_0x43be1d,_0x14ac3b,_0x510bbf)=>{const _0x50db5c=_0x153544;let _0x3f0430=[];switch(_0x947f3d['id']){case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x270)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x3a8)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['DeleteRangeMoveUpCommandId']:{_0x3f0430=_0x2a4acb['handleDeleteRangeMoveUp'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x2ff)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x216)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['InsertRangeMoveDownCommandId']:{_0x3f0430=_0x2a4acb['handleInsertRangeMoveDown'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x3e3)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x313)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x39f)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x22c)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x275)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x33e)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x36e)]:{_0x3f0430=_0x2a4acb['handleIRemoveCol'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x222)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x1cd)](_0x947f3d,_0x510bbf);break;}}const _0x36b9d3=_0x2a4acb[_0x50db5c(0x3a9)](_0x3f0430,_0x510bbf),_0xf0688b=this[_0x50db5c(0x210)][_0x50db5c(0x1dd)](_0x43be1d);if(_0xf0688b&&_0x36b9d3){const _0x44ed4a={..._0xf0688b,'range':_0x36b9d3};this['cursorInfo'][_0x50db5c(0x391)](_0x43be1d,_0x44ed4a),_0xaf7293(()=>{const _0x4d0c58=_0x50db5c,_0x3d33fe=this['_refRangeService'][_0x4d0c58(0x15e)](_0x36b9d3,_0x2473c3=>(_0x3d33fe['dispose'](),_0x2cebff(_0x2473c3,_0x43be1d,_0x14ac3b,_0x36b9d3)));_0x2b1705[_0x4d0c58(0x34a)](_0x3d33fe);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x153544(0x36a)]((_0x25ae26,_0x4417b9)=>{const _0x57a0aa=_0x153544,{range:_0x29e287,sheetID:_0x57e281}=_0x25ae26,_0x433f74=this[_0x57a0aa(0x237)]['registerRefRange'](_0x29e287,_0x48da55=>(_0x433f74[_0x57a0aa(0x203)](),_0x2cebff(_0x48da55,_0x4417b9,_0x57e281,_0x29e287)));_0x2b1705[_0x57a0aa(0x34a)](_0x433f74);});};this[_0x2d8a4e(0x2bc)](_0x1c002c[_0x2d8a4e(0x1ed)](this['_cursorInfo$']['subscribe'](()=>{_0x2f0d8e();})));}[_0x26cc89(0x20a)](){const _0x235209=_0x26cc89;var _0x3fa64a,_0x43f613;if(this[_0x235209(0x39b)]=!0x0,((_0x3fa64a=this[_0x235209(0x3b6)]['getFocusedUnit']())==null?void 0x0:_0x3fa64a[_0x235209(0x212)]())!==this[_0x235209(0x3be)])return;const _0x2909bf=(_0x43f613=this['_injector'][_0x235209(0x1dd)](_0x2a4acb[_0x235209(0x25e)])[_0x235209(0x26f)]())==null?void 0x0:_0x43f613[0x0],_0x471217=this[_0x235209(0x3b6)]['getCurrentUnitForType'](_0x1c002c[_0x235209(0x1fa)]['UNIVER_SHEET'])[_0x235209(0x27a)]();_0x2909bf&&_0x471217&&this[_0x235209(0x296)](_0x471217['getSheetId'](),_0x2909bf);}['_toggleOffline'](){const _0x311f37=_0x26cc89;this[_0x311f37(0x39b)]=!0x1;}};_0x439e2b=_0xaff664([_0x8dbe8(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x8dbe8(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x8dbe8(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x169)])),_0x8dbe8(0x5,_0x1c002c[_0x26cc89(0x32d)]),_0x8dbe8(0x6,_0x1c002c[_0x26cc89(0x20c)]),_0x8dbe8(0x7,_0x1c002c['Inject'](_0x2a4acb[_0x26cc89(0x27d)]))],_0x439e2b);var _0x1ffaad=Object[_0x26cc89(0x252)],_0x1d382f=(_0x4801f2,_0x5b5e44,_0x19c2c8,_0xd652d)=>{const _0x6eb0bf=_0x26cc89;for(var _0x49fb0a=_0xd652d>0x1?void 0x0:_0xd652d?_0x1ffaad(_0x5b5e44,_0x19c2c8):_0x5b5e44,_0x478461=_0x4801f2[_0x6eb0bf(0x17b)]-0x1,_0x8d24f3;_0x478461>=0x0;_0x478461--)(_0x8d24f3=_0x4801f2[_0x478461])&&(_0x49fb0a=_0x8d24f3(_0x49fb0a)||_0x49fb0a);return _0x49fb0a;},_0xbe28ab=(_0x3690a6,_0x300e8e)=>(_0x202d12,_0x3b36d5)=>_0x300e8e(_0x202d12,_0x3b36d5,_0x3690a6);let _0x402205=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x530fd2,_0x1396b7,_0x357fb2){const _0x190778=_0x26cc89;super(),_0xd9b4bc(this,_0x190778(0x2cd),new Map()),_0xd9b4bc(this,_0x190778(0x16a),new _0x4287b5[(_0x190778(0x3ee))]()),(this['_univerInstanceService']=_0x530fd2,this[_0x190778(0x19f)]=_0x1396b7,this[_0x190778(0x199)]=_0x357fb2,this[_0x190778(0x2ee)]());}[_0x26cc89(0x203)](){const _0x92857b=_0x26cc89;super[_0x92857b(0x203)](),this[_0x92857b(0x16a)]['complete'](),this[_0x92857b(0x2cd)][_0x92857b(0x36a)](_0x109f9d=>_0x109f9d[_0x92857b(0x203)]());}[_0x26cc89(0x349)](_0x3e21a8){const _0x132699=_0x26cc89;return this[_0x132699(0x2cd)][_0x132699(0x2fe)](_0x3e21a8)?this[_0x132699(0x2cd)]['get'](_0x3e21a8)[_0x132699(0x250)]:this[_0x132699(0x16a)]['pipe'](_0x4287b5[_0x132699(0x2bb)](_0x57cbf7=>_0x57cbf7[_0x132699(0x3be)]===_0x3e21a8),_0x4287b5[_0x132699(0x20d)](_0x5be9f2=>_0x5be9f2[_0x132699(0x250)]));}[_0x26cc89(0x2ee)](){const _0x20fc8f=_0x26cc89;this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)])[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this[_0x20fc8f(0x16e)]))[_0x20fc8f(0x253)](async _0x59042f=>{const _0x37ea48=_0x20fc8f,_0x3c0efc=_0x59042f[_0x37ea48(0x212)](),_0x418696=await this[_0x37ea48(0x3a7)](_0x3c0efc);this[_0x37ea48(0x16a)][_0x37ea48(0x2da)](_0x418696),this['_entities'][_0x37ea48(0x391)](_0x3c0efc,_0x418696);}),this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)]['UNIVER_DOC'])[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x342)](this['dispose$']))[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x2bb)](_0x35e892=>!_0x35e892['getUnitId']()[_0x20fc8f(0x3bb)]('__')))[_0x20fc8f(0x253)](async _0x4402d4=>{const _0x127c0f=_0x20fc8f,_0x47312c=_0x4402d4[_0x127c0f(0x212)](),_0x4de8d8=await this['_startDocCollabCursor'](_0x47312c);this['_entityInit$'][_0x127c0f(0x2da)](_0x4de8d8),this[_0x127c0f(0x2cd)][_0x127c0f(0x391)](_0x47312c,_0x4de8d8);}),_0x4287b5[_0x20fc8f(0x375)](this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x3ec)]),this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)]))[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x20fc8f(0x253)](_0x43e1a1=>{const _0x5c7d0d=_0x20fc8f,_0x46483=_0x43e1a1[_0x5c7d0d(0x212)](),_0x1643c9=this['_entities'][_0x5c7d0d(0x1dd)](_0x46483);_0x1643c9&&(_0x1643c9[_0x5c7d0d(0x203)](),this[_0x5c7d0d(0x2cd)]['delete'](_0x46483));});}async[_0x26cc89(0x3a7)](_0x35207f){const _0x2f62b0=_0x26cc89,_0x35f600=await this[_0x2f62b0(0x199)]['requireSession'](_0x35207f),_0x28648c=this[_0x2f62b0(0x19f)][_0x2f62b0(0x1e8)](_0x439e2b,_0x35207f,_0x35f600);return _0x28648c['init'](),_0x28648c;}async[_0x26cc89(0x3b5)](_0x16f6a0){const _0x42b2c5=_0x26cc89,_0x5db4d6=await this[_0x42b2c5(0x199)][_0x42b2c5(0x3ad)](_0x16f6a0),_0x2a523b=this[_0x42b2c5(0x19f)]['createInstance'](_0x1437b5,_0x16f6a0,_0x5db4d6);return _0x2a523b[_0x42b2c5(0x2fd)](),_0x2a523b;}};_0x402205=_0x1d382f([_0xbe28ab(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0xbe28ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0xbe28ab(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x20e)]))],_0x402205);const _0x3f14c6=0x14,_0xe8255e=0xc8,_0x386c39=0x4,_0x2ac68f=0x5;function _0x3a6306(_0x51bbe1,_0x5dab90){const _0x1e7af4=_0x26cc89;let {radius:_0xc2684d,width:_0x74c976,height:_0x190e3e}=_0x5dab90;_0xc2684d=_0xc2684d!=null?_0xc2684d:0x0,_0x74c976=_0x74c976!=null?_0x74c976:0x1e,_0x190e3e=_0x190e3e!=null?_0x190e3e:0x1e;let _0x4410f6=0x0,_0x42cdff=0x0,_0x5875cc=0x0;_0x4410f6=_0x42cdff=_0x5875cc=Math[_0x1e7af4(0x2eb)](_0xc2684d,_0x74c976/0x2,_0x190e3e/0x2),_0x51bbe1[_0x1e7af4(0x331)](),_0x51bbe1[_0x1e7af4(0x3fc)](_0x4410f6,0x0),_0x51bbe1[_0x1e7af4(0x402)](_0x74c976-_0x42cdff,0x0),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x42cdff,_0x42cdff,_0x42cdff,Math['PI']*0x3/0x2,0x0,!0x1),_0x51bbe1['lineTo'](_0x74c976,_0x190e3e-_0x5875cc),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x5875cc,_0x190e3e-_0x5875cc,_0x5875cc,0x0,Math['PI']/0x2,!0x1),_0x51bbe1['lineTo'](0x0,_0x190e3e),_0x51bbe1[_0x1e7af4(0x402)](0x0,_0x4410f6),_0x51bbe1['arc'](_0x4410f6,_0x4410f6,_0x4410f6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51bbe1[_0x1e7af4(0x18c)](),_0x5dab90[_0x1e7af4(0x1b2)]&&(_0x51bbe1[_0x1e7af4(0x281)](),_0x51bbe1[_0x1e7af4(0x39a)]=_0x5dab90['fill'],_0x5dab90[_0x1e7af4(0x286)]===_0x1e7af4(0x1ca)?_0x51bbe1[_0x1e7af4(0x1b2)](_0x1e7af4(0x1ca)):_0x51bbe1[_0x1e7af4(0x1b2)](),_0x51bbe1[_0x1e7af4(0x2cf)]());}class _0x260980 extends _0x8f24d8[_0x26cc89(0x3e1)]{constructor(_0x145958,_0x317c50){const _0x1fd537=_0x26cc89;super(_0x145958,_0x317c50),_0xd9b4bc(this,_0x1fd537(0x1ad)),_0xd9b4bc(this,_0x1fd537(0x3a0)),(this[_0x1fd537(0x1ad)]=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x1ad)],this['text']=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x3a0)]);}static[_0x26cc89(0x179)](_0x505d90,_0x453521){const _0x34c1b2=_0x26cc89,{text:_0x52059e,color:_0x2918e7}=_0x453521;_0x505d90['save'](),_0x505d90[_0x34c1b2(0x232)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x30f56a=_0x505d90[_0x34c1b2(0x26d)](_0x52059e)[_0x34c1b2(0x3bc)],_0x57bb88=Math['min'](_0x30f56a+0x2*_0x386c39,_0xe8255e);_0x3a6306(_0x505d90,{'height':_0x3f14c6,'radius':0x4,'width':_0x57bb88,'fill':_0x2918e7}),_0x505d90[_0x34c1b2(0x39a)]=_0x34c1b2(0x2ca);const _0x2ae771=_0x386c39,_0x88306b=_0x3f14c6-_0x2ac68f,_0x11a3ca=_0xe8255e-0x2*_0x386c39;if(_0x30f56a>_0x11a3ca){let _0x25800f='',_0xb69bab=0x0;for(const _0x152035 of _0x52059e){const _0x26f8b1=_0x505d90['measureText'](_0x152035)[_0x34c1b2(0x3bc)];if(_0xb69bab+_0x26f8b1<=_0x11a3ca-_0x505d90[_0x34c1b2(0x26d)](_0x34c1b2(0x160))['width'])_0x25800f+=_0x152035,_0xb69bab+=_0x26f8b1;else{_0x25800f+=_0x34c1b2(0x160);break;}}_0x505d90[_0x34c1b2(0x2de)](_0x25800f,_0x2ae771,_0x88306b);}else _0x505d90[_0x34c1b2(0x2de)](_0x52059e,_0x2ae771,_0x88306b);_0x505d90[_0x34c1b2(0x2cf)]();}['_draw'](_0x1429c5){_0x260980['drawWith'](_0x1429c5,this);}}const _0x55615e=_0x26cc89(0x204),_0x46a9c4=_0x26cc89(0x213),_0x19483a=_0x26cc89(0x2a2),_0x3770be=0x6,_0x44362b=1.5,_0x566e9a=0x4,_0x17b72d=1.5,_0x422437=_0x26cc89(0x268);class _0x44bb85{constructor(_0x10a426,_0x556820,_0x44a903,_0x33edcf){const _0x30f252=_0x26cc89;_0xd9b4bc(this,'_shapes',[]),_0xd9b4bc(this,'_anchor',null),_0xd9b4bc(this,_0x30f252(0x259),null),_0xd9b4bc(this,_0x30f252(0x2e1),null),_0xd9b4bc(this,_0x30f252(0x36d),null),_0xd9b4bc(this,_0x30f252(0x22b),null),(this[_0x30f252(0x256)]=_0x10a426,this[_0x30f252(0x221)]=_0x556820,this['_docSkeleton']=_0x44a903,this['_document']=_0x33edcf,this[_0x30f252(0x2b6)]());}set[_0x26cc89(0x257)](_0x2f048d){const _0x1ac4df=_0x26cc89;_0x2f048d?(this[_0x1ac4df(0x2e1)]&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x269)](),this[_0x1ac4df(0x259)]&&this['_textBubble'][_0x1ac4df(0x2b8)]()):(this['_anchorDot']&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x2b8)](),this['_textBubble']&&this[_0x1ac4df(0x259)][_0x1ac4df(0x269)]());}['dispose'](){const _0x1a620f=_0x26cc89;for(const _0x824f80 of this[_0x1a620f(0x295)])_0x824f80[_0x1a620f(0x203)]();this[_0x1a620f(0x259)]&&this[_0x1a620f(0x259)][_0x1a620f(0x203)](),this[_0x1a620f(0x2e1)]&&this[_0x1a620f(0x2e1)][_0x1a620f(0x203)](),this[_0x1a620f(0x3c8)]&&this[_0x1a620f(0x3c8)][_0x1a620f(0x203)](),this[_0x1a620f(0x22b)]&&this[_0x1a620f(0x22b)]();}[_0x26cc89(0x2b6)](){const _0x58de6d=_0x26cc89;var _0x3c90e2;const {_docSkeleton:_0x5d6832,_document:_0x35d4a1}=this,{color:_0xc3eb53,name:_0x20428e,ranges:_0x3e394b}=this[_0x58de6d(0x256)],_0x46fb78=_0x35d4a1[_0x58de6d(0x18b)](),{docsLeft:_0x3b7561,docsTop:_0x33f101}=_0x46fb78,_0x1c5584=new _0x567b9[(_0x58de6d(0x393))](_0x46fb78,_0x5d6832);for(const {startOffset:_0x4ab36a,endOffset:_0x50a257,rangeType:_0x4a5c9b,segmentId:_0x4bd11d,segmentPage:_0x280a4a,collapsed:_0x572640,isActive:_0x59df65}of _0x3e394b){const _0x296e9a=_0x5d6832['findNodePositionByCharIndex'](_0x4ab36a,!0x0,_0x4bd11d,_0x280a4a);let _0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257,!0x0,_0x4bd11d,_0x280a4a);if(_0x3d37d5==null&&(_0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257-0x1,!0x1,_0x4bd11d,_0x280a4a)),_0x59df65){const {contentBoxPointGroup:_0x1dc982}=_0x1c5584[_0x58de6d(0x1f1)](_0x3d37d5,_0x3d37d5);if(_0x1dc982[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x369)](_0xc3eb53,_0x1dc982,_0x3b7561,_0x33f101,_0x20428e),this[_0x58de6d(0x22b)]=this['_handleHover']();}if(_0x296e9a&&_0x3d37d5){if(_0x4a5c9b===_0x1c002c[_0x58de6d(0x31e)][_0x58de6d(0x382)]){const _0x2fa6ad=new _0x567b9[(_0x58de6d(0x3c4))](_0x46fb78,_0x5d6832),{pointGroup:_0x4b9ca6}=(_0x3c90e2=_0x2fa6ad[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5))!=null?_0x3c90e2:{};if(_0x4b9ca6==null||_0x4b9ca6[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x1a9)](_0xc3eb53,_0x4b9ca6,_0x3b7561,_0x33f101);}else{if(!_0x572640){const {borderBoxPointGroup:_0x13f4f2}=_0x1c5584[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5);if(_0x13f4f2[_0x58de6d(0x17b)]===0x0)continue;this['_drawTextRange'](_0xc3eb53,_0x13f4f2,_0x3b7561,_0x33f101);}}}}}['_drawAnchor'](_0x367c6b,_0x2d4fc4,_0x4f9135,_0x12001c,_0x2bb0ae){const _0x593979=_0x26cc89,_0x56e1cd=this[_0x593979(0x318)](_0x2d4fc4),{left:_0x40b217,top:_0x18ce31,height:_0x5d0c96}=_0x56e1cd,_0x493a42=this[_0x593979(0x2a9)](),_0x132a95=_0x17b72d/_0x493a42,_0x597cc4=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)]['generateRandomId'](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c,'height':_0x5d0c96,'width':_0x44362b,'fill':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'strokeWidth':_0x132a95,'stroke':_0x422437,'evented':!0x0});this[_0x593979(0x3c8)]=_0x597cc4,this['_scene'][_0x593979(0x3d9)](_0x597cc4,_0x567b9['TEXT_RANGE_LAYER_INDEX']);const _0x144baf=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x566e9a/0x2,'height':_0x566e9a,'width':_0x566e9a,'fill':_0x367c6b||_0x8f24d8['getColor'](_0x1c002c['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'evented':!0x1});this[_0x593979(0x2e1)]=_0x144baf,this[_0x593979(0x221)]['addObject'](_0x144baf,_0x567b9[_0x593979(0x327)]);const _0x118c00=new _0x260980(_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x3f14c6,'text':_0x2bb0ae,'color':_0x367c6b});this[_0x593979(0x259)]=_0x118c00,this[_0x593979(0x221)][_0x593979(0x3d9)](_0x118c00,_0x567b9[_0x593979(0x327)]),this['_hover']=!0x1;}[_0x26cc89(0x1a1)](){const _0x2ef763=_0x26cc89,_0x50a055=this[_0x2ef763(0x3c8)]['onPointerEnter$'][_0x2ef763(0x355)](()=>{const _0xe821c7=_0x2ef763;this[_0xe821c7(0x257)]=!0x0;}),_0x546934=this[_0x2ef763(0x3c8)]['onPointerLeave$'][_0x2ef763(0x355)](()=>{const _0x28c24a=_0x2ef763;this['_hideTimer']&&clearTimeout(this[_0x28c24a(0x36d)]),this[_0x28c24a(0x36d)]=setTimeout(()=>{const _0x25a65e=_0x28c24a;this[_0x25a65e(0x257)]=!0x1;},0x7d0);});return()=>{const _0x463ff8=_0x2ef763;_0x50a055[_0x463ff8(0x24b)](),_0x546934[_0x463ff8(0x24b)]();};}['_drawTextRange'](_0x42e166,_0x552967,_0x3f35f0,_0x536ab8){const _0x50ef9f=_0x26cc89,_0x599722=new _0x1c002c['ColorKit'](_0x42e166)[_0x50ef9f(0x3c9)](0.2)[_0x50ef9f(0x2ed)](),_0x5d6772=new _0x8f24d8[(_0x50ef9f(0x197))](_0x46a9c4+_0x1c002c[_0x50ef9f(0x215)][_0x50ef9f(0x2d2)](_0x3770be),{'pointsGroup':_0x552967,'fill':_0x599722||_0x8f24d8[_0x50ef9f(0x2f6)](_0x1c002c[_0x50ef9f(0x172)][_0x50ef9f(0x346)],0.2),'left':_0x3f35f0,'top':_0x536ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ef9f(0x295)]['push'](_0x5d6772),this[_0x50ef9f(0x221)][_0x50ef9f(0x3d9)](_0x5d6772,_0x567b9[_0x50ef9f(0x327)]);}[_0x26cc89(0x1a9)](_0x4890fd,_0x2741ee,_0x2757bb,_0xf6493d){const _0x384cf3=_0x26cc89,_0x527d85=new _0x1c002c[(_0x384cf3(0x3f7))](_0x4890fd)[_0x384cf3(0x3c9)](0.2)[_0x384cf3(0x2ed)](),_0x178cad=new _0x8f24d8[(_0x384cf3(0x197))](_0x19483a+_0x1c002c[_0x384cf3(0x215)][_0x384cf3(0x2d2)](_0x3770be),{'pointsGroup':_0x2741ee,'fill':_0x527d85||_0x8f24d8['getColor'](_0x1c002c['COLORS'][_0x384cf3(0x346)],0.2),'left':_0x2757bb,'top':_0xf6493d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x384cf3(0x1c9)](_0x178cad),this[_0x384cf3(0x221)][_0x384cf3(0x3d9)](_0x178cad,_0x567b9[_0x384cf3(0x327)]);}[_0x26cc89(0x318)](_0x46aff9){const _0x35e352=_0x46aff9[0x0],_0x3155fd=_0x35e352[0x0],_0x317c27=_0x35e352[0x2],{x:_0x214284,y:_0x387ad4}=_0x3155fd,{x:_0x4ee6a7,y:_0x51e7a9}=_0x317c27;return{'left':_0x214284,'top':_0x387ad4,'width':_0x4ee6a7-_0x214284,'height':_0x51e7a9-_0x387ad4};}['_getScale'](){const _0x36fccb=_0x26cc89,{scaleX:_0x3e9566,scaleY:_0x5a5a81}=this[_0x36fccb(0x221)]['getAncestorScale']();return Math[_0x36fccb(0x3dd)](_0x3e9566,_0x5a5a81);}}var _0x309487=Object['getOwnPropertyDescriptor'],_0x35a786=(_0x432f9f,_0xfa709b,_0x4e82d8,_0x4cbd3a)=>{for(var _0x420e9f=_0x4cbd3a>0x1?void 0x0:_0x4cbd3a?_0x309487(_0xfa709b,_0x4e82d8):_0xfa709b,_0x4ed9ab=_0x432f9f['length']-0x1,_0x3bbc8f;_0x4ed9ab>=0x0;_0x4ed9ab--)(_0x3bbc8f=_0x432f9f[_0x4ed9ab])&&(_0x420e9f=_0x3bbc8f(_0x420e9f)||_0x420e9f);return _0x420e9f;},_0xab5090=(_0x5a6773,_0x15d570)=>(_0x272262,_0x422735)=>_0x15d570(_0x272262,_0x422735,_0x5a6773);let _0x1b4ad8=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x1e7243,_0xd47d09,_0x636fb7,_0x30b4f6,_0x243671){const _0x479884=_0x26cc89;super(),_0xd9b4bc(this,_0x479884(0x329),[]),_0xd9b4bc(this,_0x479884(0x26c),[]),(this[_0x479884(0x1e3)]=_0x1e7243,this[_0x479884(0x1d2)]=_0xd47d09,this[_0x479884(0x383)]=_0x636fb7,this['_commandService']=_0x30b4f6,this[_0x479884(0x366)]=_0x243671,this[_0x479884(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x188df2=_0x26cc89,_0x4aa8f8=this[_0x188df2(0x1e3)][_0x188df2(0x235)],_0x4b70be=this[_0x188df2(0x1d2)];this[_0x188df2(0x2bc)](_0x4287b5[_0x188df2(0x3b4)]([this[_0x188df2(0x383)][_0x188df2(0x349)](_0x4aa8f8),this[_0x188df2(0x366)]['currentTheme$']])[_0x188df2(0x1b0)](_0x5d572c[_0x188df2(0x293)](([_0x26156c,_0x5618a1])=>({'skeleton':_0x4b70be[_0x188df2(0x16f)](),'cursors':[..._0x26156c[_0x188df2(0x248)]()]['flatMap'](_0x2ca973=>({..._0x2ca973,'color':this['_themeService']['getColorFromTheme'](_0x2ca973['color'])}))})))[_0x188df2(0x253)](_0x33eb72=>{const _0x365eb8=_0x188df2;if(this[_0x365eb8(0x3d7)](),_0x33eb72){const {skeleton:_0x2e33b5,cursors:_0x1309e6}=_0x33eb72;this[_0x365eb8(0x1ba)](_0x2e33b5,_0x1309e6);}})),this[_0x188df2(0x1f9)](),this[_0x188df2(0x1f4)]();}[_0x26cc89(0x1ba)](_0x36a6bf,_0x289843){const _0x1dadfb=_0x26cc89,{scene:_0x53fa4d,mainComponent:_0x4206ef}=this[_0x1dadfb(0x1e3)],_0x26e2c2=_0x289843[_0x1dadfb(0x293)](_0x14c0c2=>new _0x44bb85(_0x14c0c2,_0x53fa4d,_0x36a6bf,_0x4206ef));this['_cursorShapes']=_0x26e2c2,this[_0x1dadfb(0x26c)]=_0x289843;}[_0x26cc89(0x2c3)](){const _0x14188c=_0x26cc89;this['_removeCollabCursors']();const {scene:_0xfd5581,mainComponent:_0x3d341f}=this[_0x14188c(0x1e3)],_0x1a990e=this[_0x14188c(0x1d2)]['getSkeleton'](),_0x8092a7=this[_0x14188c(0x26c)][_0x14188c(0x293)](_0x12c919=>new _0x44bb85(_0x12c919,_0xfd5581,_0x1a990e,_0x3d341f));this[_0x14188c(0x329)]=_0x8092a7;}[_0x26cc89(0x3d7)](){const _0x22bc22=_0x26cc89;this['_cursorShapes'][_0x22bc22(0x36a)](_0x470462=>_0x470462['dispose']()),this[_0x22bc22(0x329)]=[];}['_initCommandExecutedListener'](){const _0x484fbe=_0x26cc89,_0x2c5bbe=[_0x567b9[_0x484fbe(0x228)]['id']];this[_0x484fbe(0x2bc)](this[_0x484fbe(0x2c1)][_0x484fbe(0x227)](_0x47af2e=>{const _0x3ae6d1=_0x484fbe;_0x2c5bbe['includes'](_0x47af2e['id'])&&_0x47af2e[_0x3ae6d1(0x3b2)][_0x3ae6d1(0x235)]===this['_context'][_0x3ae6d1(0x235)]&&this['_refreshCollabCursors']();}));}[_0x26cc89(0x1f9)](){const _0x5c133a=_0x26cc89;this['disposeWithMe'](_0x1c002c[_0x5c133a(0x37e)](this[_0x5c133a(0x1e3)][_0x5c133a(0x3ce)][_0x5c133a(0x3f3)])[_0x5c133a(0x1b0)](_0x5d572c[_0x5c133a(0x2bb)](_0x5bd779=>_0x5bd779[_0x5c133a(0x1ee)]===_0x8f24d8[_0x5c133a(0x27f)]['resize']),_0x5d572c['throttleTime'](0x10))[_0x5c133a(0x253)](()=>{const _0x521c1d=_0x5c133a;this[_0x521c1d(0x2c3)]();}));}};_0x1b4ad8=_0x35a786([_0xab5090(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1100fd['DocSkeletonManagerService'])),_0xab5090(0x2,_0x1c002c[_0x26cc89(0x273)](_0x402205)),_0xab5090(0x3,_0x1c002c[_0x26cc89(0x20c)]),_0xab5090(0x4,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x1b4ad8);const _0x467d3d=0x1,_0x4999e9=1.5;class _0x9aba2b extends _0x8f24d8['Shape']{constructor(_0x4ecce1,_0x1bbb03){const _0x19fea4=_0x26cc89;super(_0x4ecce1,_0x1bbb03),_0xd9b4bc(this,_0x19fea4(0x2bf)),_0xd9b4bc(this,_0x19fea4(0x2f3),!0x1),_0xd9b4bc(this,_0x19fea4(0x1b3)),_0xd9b4bc(this,_0x19fea4(0x340),''),_0xd9b4bc(this,_0x19fea4(0x17a),_0x19fea4(0x278)),_0xd9b4bc(this,_0x19fea4(0x3df)),(_0x1bbb03&&this['setShapeProps'](_0x1bbb03),this[_0x19fea4(0x25f)]['subscribeEvent'](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x0})),this['onPointerLeave$'][_0x19fea4(0x355)](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x1})));}[_0x26cc89(0x3ba)](_0x18f386){const _0x13a4ae=_0x26cc89;var _0x1560d1,_0x3caba5,_0x6b213e,_0x287667,_0x3edd86,_0x211921;this[_0x13a4ae(0x2bf)]=(_0x1560d1=_0x18f386['color'])!=null?_0x1560d1:this[_0x13a4ae(0x2bf)],this[_0x13a4ae(0x2f3)]=(_0x3caba5=_0x18f386[_0x13a4ae(0x29e)])!=null?_0x3caba5:this[_0x13a4ae(0x2f3)],this['_range']=(_0x6b213e=_0x18f386[_0x13a4ae(0x28d)])!=null?_0x6b213e:this[_0x13a4ae(0x1b3)],this['_name']=(_0x287667=_0x18f386[_0x13a4ae(0x194)])!=null?_0x287667:this[_0x13a4ae(0x340)],this[_0x13a4ae(0x17a)]=(_0x3edd86=_0x18f386[_0x13a4ae(0x1fe)])!=null?_0x3edd86:this[_0x13a4ae(0x17a)],this['_backgroundColor']=(_0x211921=_0x18f386[_0x13a4ae(0x3c5)])!=null?_0x211921:this[_0x13a4ae(0x3df)],this[_0x13a4ae(0x1d9)]({'width':_0x18f386['width'],'height':_0x18f386[_0x13a4ae(0x2ce)]});}['onMouseMove'](_0x28ad80){const _0x45f139=_0x26cc89,{row:_0x8d51af,column:_0x15fa6e}=_0x28ad80;if(_0x8d51af>=this[_0x45f139(0x1b3)]['startRow']&&_0x8d51af<=this['_range'][_0x45f139(0x380)]&&_0x15fa6e>=this[_0x45f139(0x1b3)][_0x45f139(0x23b)]&&_0x15fa6e<=this[_0x45f139(0x1b3)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x45f139(0x3ba)]({'hovered':!0x1});}['triggerDblclick'](_0x636c1a){return!0x1;}[_0x26cc89(0x208)](_0x2b485c){const _0x39f8ef=_0x26cc89;_0x8f24d8[_0x39f8ef(0x233)][_0x39f8ef(0x179)](_0x2b485c,{'width':this[_0x39f8ef(0x3bc)],'height':this[_0x39f8ef(0x2ce)],'strokeWidth':_0x4999e9,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x39f8ef(0x3df)]}),this[_0x39f8ef(0x2f3)]&&(_0x2b485c[_0x39f8ef(0x281)](),_0x2b485c[_0x39f8ef(0x363)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x39f8ef(0x3e6)?0x0:-0x14),_0x260980[_0x39f8ef(0x179)](_0x2b485c,{'text':this['_name'],'color':this[_0x39f8ef(0x2bf)]}),_0x2b485c[_0x39f8ef(0x2cf)]());}}var _0x11b25e=Object[_0x26cc89(0x252)],_0x383d16=(_0x11b415,_0x20c4f3,_0x3cde1b,_0x3c47db)=>{for(var _0x55fe78=_0x3c47db>0x1?void 0x0:_0x3c47db?_0x11b25e(_0x20c4f3,_0x3cde1b):_0x20c4f3,_0x27b758=_0x11b415['length']-0x1,_0x537c74;_0x27b758>=0x0;_0x27b758--)(_0x537c74=_0x11b415[_0x27b758])&&(_0x55fe78=_0x537c74(_0x55fe78)||_0x55fe78);return _0x55fe78;},_0x2b528a=(_0x4c13f9,_0x4dfa83)=>(_0x5f3df9,_0x431060)=>_0x4dfa83(_0x5f3df9,_0x431060,_0x4c13f9);const _0x1d6759=0x1389;let _0x27c244=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12f730,_0x3c3d80,_0x12e724,_0x37fba7){const _0x56ee77=_0x26cc89;super(),_0xd9b4bc(this,_0x56ee77(0x26c),new Set()),_0xd9b4bc(this,_0x56ee77(0x186),null),(this[_0x56ee77(0x1e3)]=_0x12f730,this['_sheetSkeletonManagerService']=_0x3c3d80,this['_collabCursorController']=_0x12e724,this[_0x56ee77(0x366)]=_0x37fba7,this[_0x56ee77(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x1cf4e5=_0x26cc89;this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x1b0)](_0x5d572c[_0x1cf4e5(0x342)](this[_0x1cf4e5(0x16e)]),_0x5d572c[_0x1cf4e5(0x20d)](_0x888102=>{const _0x47c653=_0x1cf4e5;if(_0x888102){const _0x39af73=_0x888102[_0x47c653(0x316)];return _0x4287b5[_0x47c653(0x3b4)](this[_0x47c653(0x383)][_0x47c653(0x349)](this[_0x47c653(0x1e3)][_0x47c653(0x235)]),this[_0x47c653(0x366)][_0x47c653(0x1d7)])[_0x47c653(0x1b0)](_0x5d572c[_0x47c653(0x293)](([_0x2f88a0,_0x541194])=>{const _0x5d17db=_0x47c653,_0x3d6bfc=new Map();return _0x2f88a0[_0x5d17db(0x36a)]((_0x3c2da1,_0x236f37)=>{const _0x4344a7=_0x5d17db;if(_0x3c2da1['sheetID']===_0x39af73){const _0x9285de={..._0x3c2da1};_0x9285de[_0x4344a7(0x1ad)]=this[_0x4344a7(0x366)][_0x4344a7(0x2a5)](_0x3c2da1[_0x4344a7(0x1ad)]),_0x3d6bfc[_0x4344a7(0x391)](_0x236f37,_0x9285de);}}),{'skeleton':_0x888102,'cursors':_0x3d6bfc};}));}return _0x4287b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cf4e5(0x253)](({skeleton:_0x27ef8e,cursors:_0x209296})=>{const _0x8ec27e=_0x1cf4e5;this[_0x8ec27e(0x3d7)](),_0x27ef8e&&this[_0x8ec27e(0x1ba)](_0x27ef8e,_0x209296);}),this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x253)](_0x201e41=>{const _0x3ba223=_0x1cf4e5;if(_0x201e41==null)return;const {skeleton:_0x501616}=_0x201e41,{scene:_0x53a0c8}=this[_0x3ba223(0x1e3)];_0x53a0c8[_0x3ba223(0x2d1)][_0x3ba223(0x355)](_0x1c002c['debounce'](_0x4c5662=>{const _0x3d0578=_0x3ba223;var _0x2f1bfd,_0x4cbe45;const {offsetX:_0xcaf66c,offsetY:_0x265c3e}=_0x4c5662,{x:_0x55783a,y:_0x2f68f1}=_0x53a0c8[_0x3d0578(0x1ab)](_0x8f24d8[_0x3d0578(0x37a)]['FromArray']([_0xcaf66c,_0x265c3e])),{scaleX:_0x4b93b7,scaleY:_0x565543}=_0x53a0c8[_0x3d0578(0x2be)](),_0x2eb9b3=_0x53a0c8[_0x3d0578(0x3da)](_0x8f24d8[_0x3d0578(0x29a)][_0x3d0578(0x33b)]),_0x11f3b0=_0x53a0c8[_0x3d0578(0x214)](_0x8f24d8[_0x3d0578(0x37a)][_0x3d0578(0x272)]([_0x55783a,_0x2f68f1]),_0x2eb9b3),_0x10cb12=_0x501616[_0x3d0578(0x2ab)](_0xcaf66c,_0x265c3e,_0x4b93b7,_0x565543,_0x11f3b0);((_0x2f1bfd=this[_0x3d0578(0x186)])==null?void 0x0:_0x2f1bfd[_0x3d0578(0x360)])===_0x10cb12['column']&&((_0x4cbe45=this[_0x3d0578(0x186)])==null?void 0x0:_0x4cbe45['row'])===_0x10cb12[_0x3d0578(0x29f)]||this[_0x3d0578(0x26c)]['forEach'](_0xc34836=>{const _0x15298f=_0x3d0578;_0xc34836[_0x15298f(0x302)](_0x10cb12);});},0x64));});}[_0x26cc89(0x1ba)](_0x52cb9c,_0x2a947e){const _0x28c371=_0x26cc89;var _0x43082a;const _0x584432=(_0x43082a=this[_0x28c371(0x333)][_0x28c371(0x189)]())==null?void 0x0:_0x43082a[_0x28c371(0x3fd)];if(!_0x584432)return;const _0x5dbabb=this['_getSheetObject']();if(!_0x5dbabb)return;this[_0x28c371(0x26c)][_0x28c371(0x36a)](_0x386131=>{_0x386131['makeDirty']();});const {scene:_0x2dac73}=_0x5dbabb,_0x16e7a8=_0x4ff3b5(Array[_0x28c371(0x3de)](_0x2a947e['values']()))[_0x28c371(0x293)](_0x5a42cc=>{const _0x584155=_0x28c371,{color:_0xb6e1b9,range:_0x3fc14c,name:_0x3598af,selection:_0x549927,sheetID:_0x3bef36}=_0x5a42cc,{startColumn:_0xcd56a2,startRow:_0x2f63dd,endColumn:_0x23c3f1,endRow:_0x328b21}=_0x3fc14c,_0x3166d3=_0x17d02e['getCoordByCell'](_0x2f63dd,_0xcd56a2,_0x2dac73,_0x584432),_0x47bddd=_0x17d02e[_0x584155(0x251)](_0x328b21,_0x23c3f1,_0x2dac73,_0x584432),{columnHeaderHeightAndMarginTop:_0x162df8}=_0x584432,{startX:_0x21e903,startY:_0x57fca4}=_0x3166d3,{endX:_0xb39068,endY:_0x3b0db1}=_0x47bddd,_0x4d6bd2=_0xb39068-_0x21e903,_0x5646a1=_0x3b0db1-_0x57fca4,_0x276e98={'labelPosition':_0x57fca4-_0x162df8>=_0x3f14c6?_0x584155(0x278):_0x584155(0x3e6),'sheetID':_0x3bef36,'range':_0x3fc14c,'color':_0xb6e1b9,'name':_0x3598af,'selection':_0x549927,'left':_0x21e903,'top':_0x57fca4,'width':_0x4d6bd2,'height':_0x5646a1,'evented':!0x1,'zIndex':_0x1d6759};return new _0x9aba2b(_0x3598af,_0x276e98);});_0x2dac73[_0x28c371(0x1ef)](_0x16e7a8,_0x467d3d),this[_0x28c371(0x26c)]=new Set(_0x16e7a8);}[_0x26cc89(0x3d7)](){const _0x4092ac=_0x26cc89;var _0x33a388;(_0x33a388=this[_0x4092ac(0x26c)])==null||_0x33a388[_0x4092ac(0x36a)](_0x45517f=>_0x45517f[_0x4092ac(0x203)]());}[_0x26cc89(0x35b)](){const _0x38d92a=_0x26cc89;return _0x17d02e[_0x38d92a(0x2d3)](this[_0x38d92a(0x1e3)][_0x38d92a(0x3c0)],this[_0x38d92a(0x1e3)]);}};_0x27c244=_0x383d16([_0x2b528a(0x1,_0x1c002c[_0x26cc89(0x273)](_0x17d02e[_0x26cc89(0x292)])),_0x2b528a(0x2,_0x1c002c['Inject'](_0x402205)),_0x2b528a(0x3,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x27c244);function _0x4ff3b5(_0x19057a){const _0x566d8f=_0x26cc89,_0x539697=new Map();return _0x19057a[_0x566d8f(0x36a)](_0x4eeed5=>{const _0x42f10d=_0x566d8f;if(_0x539697['has'](_0x4eeed5['selection'])){const _0x33806b=_0x539697[_0x42f10d(0x1dd)](_0x4eeed5[_0x42f10d(0x288)]);_0x33806b[_0x42f10d(0x194)]+=',\x20'+_0x4eeed5[_0x42f10d(0x194)];}else _0x539697['set'](_0x4eeed5[_0x42f10d(0x288)],_0x4eeed5);}),Array[_0x566d8f(0x3de)](_0x539697['values']());}var _0xb63cf8=function(){const _0x490efd=_0x26cc89;return _0xb63cf8=Object['assign']||function(_0x4e64d3){const _0x52cfdf=_0x30a1;for(var _0x77a540,_0x559f9d=0x1,_0x1b1925=arguments[_0x52cfdf(0x17b)];_0x559f9d<_0x1b1925;_0x559f9d++){_0x77a540=arguments[_0x559f9d];for(var _0x4f2f7b in _0x77a540)Object[_0x52cfdf(0x196)][_0x52cfdf(0x2c5)]['call'](_0x77a540,_0x4f2f7b)&&(_0x4e64d3[_0x4f2f7b]=_0x77a540[_0x4f2f7b]);}return _0x4e64d3;},_0xb63cf8[_0x490efd(0x1a4)](this,arguments);},_0x381d59=function(_0x595da7,_0x1ccdb7){const _0x473aa1=_0x26cc89;var _0x12f11e={};for(var _0xdc44e6 in _0x595da7)Object[_0x473aa1(0x196)][_0x473aa1(0x2c5)]['call'](_0x595da7,_0xdc44e6)&&_0x1ccdb7[_0x473aa1(0x2f2)](_0xdc44e6)<0x0&&(_0x12f11e[_0xdc44e6]=_0x595da7[_0xdc44e6]);if(_0x595da7!=null&&typeof Object[_0x473aa1(0x3d8)]==_0x473aa1(0x3a6)){for(var _0x48799e=0x0,_0xdc44e6=Object[_0x473aa1(0x3d8)](_0x595da7);_0x48799e<_0xdc44e6[_0x473aa1(0x17b)];_0x48799e++)_0x1ccdb7['indexOf'](_0xdc44e6[_0x48799e])<0x0&&Object[_0x473aa1(0x196)][_0x473aa1(0x2fb)][_0x473aa1(0x1e0)](_0x595da7,_0xdc44e6[_0x48799e])&&(_0x12f11e[_0xdc44e6[_0x48799e]]=_0x595da7[_0xdc44e6[_0x48799e]]);}return _0x12f11e;},_0x4d32d7=_0x59786a[_0x26cc89(0x348)](function(_0xbe1cb3,_0x552d16){const _0x32da62=_0x26cc89;var _0x5ab789=_0xbe1cb3[_0x32da62(0x218)],_0x1be41b=_0xbe1cb3['id'],_0x562228=_0xbe1cb3[_0x32da62(0x176)],_0x3b2625=_0xbe1cb3[_0x32da62(0x2e4)],_0x504369=_0x381d59(_0xbe1cb3,['icon','id',_0x32da62(0x176),_0x32da62(0x2e4)]),_0x533802=_0x32da62(0x3dc)[_0x32da62(0x22e)](_0x1be41b,'\x20')['concat'](_0x562228||'')[_0x32da62(0x241)](),_0x543897=_0x59786a['useRef']('_'[_0x32da62(0x22e)](_0x5d3653()));return _0x3a7276(_0x5ab789,''[_0x32da62(0x22e)](_0x1be41b),{'defIds':_0x5ab789[_0x32da62(0x371)],'idSuffix':_0x543897[_0x32da62(0x247)]},_0xb63cf8({'ref':_0x552d16,'className':_0x533802},_0x504369),_0x3b2625);});function _0x3a7276(_0x497b38,_0x3d555f,_0x19e8d8,_0x46ef90,_0xd13b0e){const _0x289d0f=_0x26cc89;return _0x59786a[_0x289d0f(0x245)](_0x497b38['tag'],_0xb63cf8(_0xb63cf8({'key':_0x3d555f},_0x5940ad(_0x497b38,_0x19e8d8,_0xd13b0e)),_0x46ef90),(_0x26d7cc(_0x497b38,_0x19e8d8)[_0x289d0f(0x1c4)]||[])['map'](function(_0x3b1e9f,_0x69f2a9){const _0x5e0314=_0x289d0f;return _0x3a7276(_0x3b1e9f,''[_0x5e0314(0x22e)](_0x3d555f,'-')[_0x5e0314(0x22e)](_0x497b38['tag'],'-')['concat'](_0x69f2a9),_0x19e8d8,void 0x0,_0xd13b0e);}));}function _0x5940ad(_0x347695,_0x1bc2e3,_0xf58855){const _0x122c75=_0x26cc89;var _0x140643=_0xb63cf8({},_0x347695[_0x122c75(0x23e)]);_0xf58855!=null&&_0xf58855[_0x122c75(0x1bd)]&&_0x140643[_0x122c75(0x1b2)]===_0x122c75(0x1bd)&&(_0x140643[_0x122c75(0x1b2)]=_0xf58855[_0x122c75(0x1bd)]),_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x3f0)&&_0x140643['id']&&(_0x140643['id']=_0x140643['id']+_0x1bc2e3[_0x122c75(0x223)]),Object[_0x122c75(0x1c8)](_0x140643)[_0x122c75(0x36a)](function(_0x2a3ca4){const _0x5bf69e=_0x122c75;var _0xad6ea3=_0x2a3ca4[0x0],_0x14daa6=_0x2a3ca4[0x1];_0xad6ea3===_0x5bf69e(0x3f0)&&typeof _0x14daa6==_0x5bf69e(0x401)&&(_0x140643[_0xad6ea3]=_0x14daa6['replace'](/url\(#(.*)\)/,_0x5bf69e(0x308)['concat'](_0x1bc2e3[_0x5bf69e(0x223)],')')));});var _0x1a6ad0=_0x1bc2e3[_0x122c75(0x371)];return!_0x1a6ad0||_0x1a6ad0[_0x122c75(0x17b)]===0x0||(_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x2b0)&&_0x140643['xlink:href']&&(_0x140643[_0x122c75(0x399)]=_0x140643[_0x122c75(0x399)]+_0x1bc2e3[_0x122c75(0x223)]),Object['entries'](_0x140643)['forEach'](function(_0x45eab7){const _0x4d2642=_0x122c75;var _0x15f71f=_0x45eab7[0x0],_0x1a9daa=_0x45eab7[0x1];typeof _0x1a9daa==_0x4d2642(0x401)&&(_0x140643[_0x15f71f]=_0x1a9daa[_0x4d2642(0x265)](/url\(#(.*)\)/,_0x4d2642(0x308)[_0x4d2642(0x22e)](_0x1bc2e3[_0x4d2642(0x223)],')')));})),_0x140643;}function _0x26d7cc(_0x4af6da,_0x4a29d0){const _0x2d4c32=_0x26cc89;var _0x5a372a,_0x482caf=_0x4a29d0['defIds'];return!_0x482caf||_0x482caf[_0x2d4c32(0x17b)]===0x0?_0x4af6da:_0x4af6da[_0x2d4c32(0x3b8)]===_0x2d4c32(0x392)&&(!((_0x5a372a=_0x4af6da[_0x2d4c32(0x1c4)])===null||_0x5a372a===void 0x0)&&_0x5a372a[_0x2d4c32(0x17b)])?_0xb63cf8(_0xb63cf8({},_0x4af6da),{'children':_0x4af6da[_0x2d4c32(0x1c4)][_0x2d4c32(0x293)](function(_0x1a0f32){const _0x592743=_0x2d4c32;return typeof _0x1a0f32[_0x592743(0x23e)]['id']=='string'&&_0x482caf&&_0x482caf[_0x592743(0x2f2)](_0x1a0f32['attrs']['id'])>-0x1?_0xb63cf8(_0xb63cf8({},_0x1a0f32),{'attrs':_0xb63cf8(_0xb63cf8({},_0x1a0f32[_0x592743(0x23e)]),{'id':_0x1a0f32[_0x592743(0x23e)]['id']+_0x4a29d0[_0x592743(0x223)]})}):_0x1a0f32;})}):_0x4af6da;}function _0x5d3653(){const _0x32f980=_0x26cc89;return Math[_0x32f980(0x209)]()['toString'](0x24)[_0x32f980(0x31f)](0x2,0x8);}_0x4d32d7[_0x26cc89(0x3e0)]=_0x26cc89(0x1d8);var _0x42a84d={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x2af),'width':_0x26cc89(0x182),'height':_0x26cc89(0x182)},'children':[{'tag':'g','attrs':{'clipPath':_0x26cc89(0x351)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'stroke':_0x26cc89(0x35e),'d':_0x26cc89(0x386),'strokeLinecap':'round','strokeLinejoin':_0x26cc89(0x2b1),'strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x26cc89(0x28b)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a)}}]}]}],'defIds':[_0x26cc89(0x28b)]},_0x3a4d52=_0x59786a[_0x26cc89(0x348)](function(_0x5578e1,_0x2c9057){const _0x34f4dd=_0x26cc89;return _0x59786a[_0x34f4dd(0x245)](_0x4d32d7,Object[_0x34f4dd(0x35f)]({},_0x5578e1,{'id':'off-line-single','ref':_0x2c9057,'icon':_0x42a84d}));});_0x3a4d52[_0x26cc89(0x3e0)]=_0x26cc89(0x1b7);var _0x4a7a26={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x3bd),'width':_0x26cc89(0x182),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x26cc89(0x3d1),'strokeLinecap':_0x26cc89(0x2b1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a),'transform':_0x26cc89(0x3cd)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x233584=_0x59786a[_0x26cc89(0x348)](function(_0x20aa43,_0x7a5a35){const _0x4f8ef3=_0x26cc89;return _0x59786a[_0x4f8ef3(0x245)](_0x4d32d7,Object['assign']({},_0x20aa43,{'id':_0x4f8ef3(0x167),'ref':_0x7a5a35,'icon':_0x4a7a26}));});_0x233584['displayName']=_0x26cc89(0x261);function _0x2fd794(_0x1b46e3){const _0x195610=_0x26cc89;switch(_0x1b46e3){case _0x827ff8['CollaborationStatus'][_0x195610(0x324)]:return _0x195610(0x3d4);case _0x827ff8[_0x195610(0x287)][_0x195610(0x34c)]:return'collabStatus.conflict';case _0x827ff8[_0x195610(0x287)][_0x195610(0x174)]:return'collabStatus.fetchMiss';case _0x827ff8[_0x195610(0x287)][_0x195610(0x1d0)]:return _0x195610(0x1db);case _0x827ff8['CollaborationStatus']['AWAITING']:case _0x827ff8['CollaborationStatus'][_0x195610(0x27c)]:return _0x195610(0x1c2);case _0x827ff8[_0x195610(0x287)][_0x195610(0x1eb)]:case _0x827ff8[_0x195610(0x287)][_0x195610(0x35c)]:return _0x195610(0x3c6);}}function _0x725819(_0x2be9ed){const _0x4d6174=_0x26cc89,{status$:_0x16358d}=_0x2be9ed,_0x5f0cf1=_0x1c1408['useObservable'](_0x16358d,_0x827ff8[_0x4d6174(0x287)]['NOT_COLLAB']),_0x3aeb52=_0x1c1408['useDependency'](_0x1c002c[_0x4d6174(0x29d)]),_0x510736=_0x1c1408[_0x4d6174(0x3e9)](_0x827ff8[_0x4d6174(0x20e)]),_0x3b566f=_0x5f0cf1!==_0x827ff8[_0x4d6174(0x287)]['OFFLINE'],_0x288643=_0x3aeb52['t'](_0x2fd794(_0x5f0cf1)),_0x59f0cb=_0x3b566f?_0x3c107a['jsx'](_0x233584,{}):_0x3c107a[_0x4d6174(0x3f9)](_0x3a4d52,{}),_0xe6fc1c=_0x59786a[_0x4d6174(0x1f8)](()=>{const _0x45c8dc=_0x4d6174;_0x3b566f||_0x510736[_0x45c8dc(0x1bb)]();},[_0x3b566f,_0x510736]);function _0x1ff40e(){const _0x4af878=_0x4d6174;return _0x3c107a['jsxs'](_0x4af878(0x2c2),{'className':'univer-flex\x20univer-items-center','onClick':_0xe6fc1c,'children':[_0x3c107a['jsx'](_0x4af878(0x2c2),{'className':_0x29c2d3[_0x4af878(0x15f)](_0x4af878(0x25b),{'univer-text-green-500':_0x3b566f,'univer-text-red-500':!_0x3b566f}),'children':_0x59f0cb}),_0x3c107a[_0x4af878(0x3f9)](_0x4af878(0x2c2),{'className':_0x4af878(0x27b),'children':_0x288643})]});}return _0x3b566f?_0x1ff40e():_0x3c107a[_0x4d6174(0x3f9)](_0x29c2d3['Tooltip'],{'title':_0x3aeb52['t'](_0x4d6174(0x1e9)),'children':_0x1ff40e()});}var _0x1697b3=Object[_0x26cc89(0x252)],_0x59869=(_0xc0a6e0,_0x3f2fcd,_0x53820c,_0x27b689)=>{const _0x16e074=_0x26cc89;for(var _0x529a06=_0x27b689>0x1?void 0x0:_0x27b689?_0x1697b3(_0x3f2fcd,_0x53820c):_0x3f2fcd,_0xbc8d67=_0xc0a6e0[_0x16e074(0x17b)]-0x1,_0xb9ebb4;_0xbc8d67>=0x0;_0xbc8d67--)(_0xb9ebb4=_0xc0a6e0[_0xbc8d67])&&(_0x529a06=_0xb9ebb4(_0x529a06)||_0x529a06);return _0x529a06;},_0x1d08ab=(_0x57c08b,_0xfa4065)=>(_0x319ad1,_0x4f9210)=>_0xfa4065(_0x319ad1,_0x4f9210,_0x57c08b);_0x3dc1b0[_0x26cc89(0x16b)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x12fef9,_0x4eda3e,_0x49ab22,_0x5b879b){const _0x506c98=_0x26cc89;super(),_0xd9b4bc(this,'_status$',new _0x4287b5['BehaviorSubject'](_0x827ff8[_0x506c98(0x287)][_0x506c98(0x1d0)])),(this[_0x506c98(0x3b6)]=_0x12fef9,this[_0x506c98(0x19f)]=_0x4eda3e,this[_0x506c98(0x21a)]=_0x49ab22,this['_uiPartsService']=_0x5b879b,this['_initStatusComponent'](),this[_0x506c98(0x31b)]());}[_0x26cc89(0x31b)](){const _0x1306c7=_0x26cc89;this['disposeWithMe'](this[_0x1306c7(0x3b6)]['focused$'][_0x1306c7(0x1b0)](_0x4287b5['switchMap'](()=>{const _0x567f31=_0x1306c7,_0x1c30ab=this[_0x567f31(0x3b6)][_0x567f31(0x309)]();return _0x1c30ab?this[_0x567f31(0x21a)]['getCollabEntity$'](_0x1c30ab[_0x567f31(0x212)]()):_0x4287b5['of'](null);}),_0x4287b5[_0x1306c7(0x20d)](_0x1e6a9f=>_0x1e6a9f?_0x1e6a9f['status$']:_0x4287b5['of'](_0x827ff8[_0x1306c7(0x287)][_0x1306c7(0x1d0)])))['subscribe'](_0xbf513d=>{const _0x44b897=_0x1306c7;this[_0x44b897(0x36b)][_0x44b897(0x2da)](_0xbf513d);}));}['_initStatusComponent'](){const _0x584075=_0x26cc89;this[_0x584075(0x2bc)](this[_0x584075(0x3ca)][_0x584075(0x18d)](_0x1c1408[_0x584075(0x34d)]['HEADER_MENU'],()=>_0x1c1408['connectInjector'](_0x9000d8({'status$':this[_0x584075(0x36b)]['asObservable']()}),this['_injector'])));}},_0x3dc1b0[_0x26cc89(0x16b)]=_0x59869([_0x1d08ab(0x0,_0x1c002c['IUniverInstanceService']),_0x1d08ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1d08ab(0x2,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x201)])),_0x1d08ab(0x3,_0x1c1408[_0x26cc89(0x226)])],_0x3dc1b0[_0x26cc89(0x16b)]);function _0x9000d8(_0x2b8a10){const {status$:_0x4c53b5}=_0x2b8a10;return function(){const _0x4f37a6=_0x30a1;return _0x3c107a[_0x4f37a6(0x3f9)](_0x725819,{'status$':_0x4c53b5});};}var _0x3e3854=Object[_0x26cc89(0x252)],_0x4a2e13=(_0x3ac792,_0x98f42c,_0x13874c,_0x51d4e4)=>{const _0x246838=_0x26cc89;for(var _0x462bd0=_0x51d4e4>0x1?void 0x0:_0x51d4e4?_0x3e3854(_0x98f42c,_0x13874c):_0x98f42c,_0x35a20e=_0x3ac792[_0x246838(0x17b)]-0x1,_0x5b58a2;_0x35a20e>=0x0;_0x35a20e--)(_0x5b58a2=_0x3ac792[_0x35a20e])&&(_0x462bd0=_0x5b58a2(_0x462bd0)||_0x462bd0);return _0x462bd0;},_0x4bbde7=(_0x536021,_0x50a9dd)=>(_0x115196,_0x360da8)=>_0x50a9dd(_0x115196,_0x360da8,_0x536021);let _0x1cfb10=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x207b1a,_0x2c7c3f,_0x1c3092,_0x58c9fa,_0x11c4d3,_0x2c8be1){const _0xa79f60=_0x26cc89;super(),this[_0xa79f60(0x2bd)]=_0x207b1a,this[_0xa79f60(0x1a0)]=_0x2c7c3f,this['_collaborationUIEventService']=_0x1c3092,this[_0xa79f60(0x280)]=_0x58c9fa,this[_0xa79f60(0x207)]=_0x11c4d3,this[_0xa79f60(0x1ea)]=_0x2c8be1,this[_0xa79f60(0x291)](),this[_0xa79f60(0x19a)]();}[_0x26cc89(0x291)](){const _0x469b4a=_0x26cc89;this[_0x469b4a(0x2bc)](this[_0x469b4a(0x2bd)]['registerBeforeClose'](()=>{const _0x447ba6=_0x469b4a;if(this[_0x447ba6(0x1a0)][_0x447ba6(0x3f1)][_0x447ba6(0x239)])return this[_0x447ba6(0x1ea)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x26cc89(0x19a)](){const _0x346685=_0x26cc89;this[_0x346685(0x2bc)](this[_0x346685(0x400)]['event$'][_0x346685(0x253)](_0x69d0a5=>{const _0xe6c83e=_0x346685;_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x297)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2e0))}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['CLOSE_ROOM']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x18e))}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0xe6c83e(0x2b8)]({'title':this['_localeService']['t'](_0xe6c83e(0x30a)),'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2fc)),'type':_0xe6c83e(0x2b4),'duration':0x0}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x34c)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this[_0xe6c83e(0x1ea)]['t']('collaboration.closeRoom')+'('+_0x69d0a5['data']+')'}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['JOIN_ROOM_FAILED']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0x69d0a5[_0xe6c83e(0x22f)]||'')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x1af)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t']('session.will-retry')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x21e)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3['MessageType'][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.connection-failed')}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x339)]&&this[_0xe6c83e(0x280)]['show']({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cfb10=_0x4a2e13([_0x4bbde7(0x0,_0x1c1408[_0x26cc89(0x2a8)]),_0x4bbde7(0x1,_0x827ff8[_0x26cc89(0x242)]),_0x4bbde7(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x299)])),_0x4bbde7(0x3,_0x1c1408[_0x26cc89(0x1cc)]),_0x4bbde7(0x4,_0x1c1408[_0x26cc89(0x183)]),_0x4bbde7(0x5,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x1cfb10);const _0x5a320f=_0x26cc89(0x395),_0x35a43e={},_0x53ff22=_0x1c002c[_0x26cc89(0x379)]('uni.network.url-service');var _0x24d0b8=Object[_0x26cc89(0x252)],_0x37f4e6=(_0x189e20,_0x560041,_0x547005,_0x3cc873)=>{const _0x59f77e=_0x26cc89;for(var _0x496fe0=_0x3cc873>0x1?void 0x0:_0x3cc873?_0x24d0b8(_0x560041,_0x547005):_0x560041,_0x33b880=_0x189e20[_0x59f77e(0x17b)]-0x1,_0x34005b;_0x33b880>=0x0;_0x33b880--)(_0x34005b=_0x189e20[_0x33b880])&&(_0x496fe0=_0x34005b(_0x496fe0)||_0x496fe0);return _0x496fe0;},_0x460d45=(_0x8e3498,_0x478c6c)=>(_0x2a883b,_0x3c248d)=>_0x478c6c(_0x2a883b,_0x3c248d,_0x8e3498);_0x3dc1b0[_0x26cc89(0x3ac)]=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x2a2947,_0x3b58d0,_0x22d85f,_0x5427f4,_0x332b2a){const _0x3e78d6=_0x26cc89;super(),this[_0x3e78d6(0x229)]=_0x2a2947,this[_0x3e78d6(0x2fa)]=_0x3b58d0,this[_0x3e78d6(0x2c1)]=_0x22d85f,this['_dataLoaderService']=_0x5427f4,_0x332b2a?_0x332b2a==null||_0x332b2a[_0x3e78d6(0x2b9)]()[_0x3e78d6(0x3ab)](()=>this[_0x3e78d6(0x2ee)]()):(this[_0x3e78d6(0x2fa)][_0x3e78d6(0x171)](_0x3e78d6(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a82d0=_0x26cc89,_0x55220a=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x3c0)),_0x284a95=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x1ee)),_0x24da0c=this['_urlService']['getParam'](_0x5a82d0(0x3ef));if(!_0x55220a||!_0x284a95){this['_logService'][_0x5a82d0(0x171)](_0x5a82d0(0x39c),_0x5a82d0(0x1b5));return;}const _0x15df71=await this[_0x5a82d0(0x370)][_0x5a82d0(0x162)](_0x55220a,Number(_0x284a95),_0x24da0c);_0x15df71&&_0x15df71 instanceof _0x1c002c[_0x5a82d0(0x25a)]&&this[_0x5a82d0(0x336)](_0x15df71);}async[_0x26cc89(0x336)](_0x346eca){const _0x397cad=_0x26cc89;await this[_0x397cad(0x211)](_0x346eca),_0x346eca['activeSheet$'][_0x397cad(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x397cad(0x253)](_0x2b64a9=>{_0x2b64a9&&this['_updateURLWithCurrentState'](_0x2b64a9);}),this[_0x397cad(0x229)][_0x397cad(0x387)][_0x397cad(0x1b0)](_0x4287b5[_0x397cad(0x342)](this[_0x397cad(0x16e)]))[_0x397cad(0x253)](()=>this[_0x397cad(0x211)](_0x346eca));}[_0x26cc89(0x24c)](_0x1dd1c9,_0x5b15c3=!0x1){const _0x5a583b=_0x26cc89,_0x5c8f54=this['_urlService'][_0x5a583b(0x2f9)](_0x5a583b(0x3ef));_0x1dd1c9[_0x5a583b(0x258)]()!==_0x5c8f54&&this[_0x5a583b(0x229)][_0x5a583b(0x3ae)]('subunit',_0x1dd1c9[_0x5a583b(0x258)](),_0x5b15c3);}async[_0x26cc89(0x211)](_0x621746){const _0x294455=_0x26cc89;var _0xfb01cd;const _0x2d3a67=this[_0x294455(0x229)][_0x294455(0x2f9)](_0x294455(0x3ef));if(!_0x2d3a67||!_0x621746[_0x294455(0x3a2)](_0x2d3a67)){const _0x381638=_0x621746[_0x294455(0x32e)]()[0x0],_0x2e2a47=_0x621746[_0x294455(0x3a2)](_0x381638);if(!_0x2e2a47)return;this[_0x294455(0x24c)](_0x2e2a47,!0x0),await this['_commandService'][_0x294455(0x25c)](_0x2a4acb['SetWorksheetActivateCommand']['id'],{'unitId':_0x621746['getUnitId'](),'subUnitId':_0x381638});return;}((_0xfb01cd=_0x621746[_0x294455(0x27a)]())==null?void 0x0:_0xfb01cd[_0x294455(0x258)]())!==_0x2d3a67&&await this[_0x294455(0x2c1)][_0x294455(0x25c)](_0x2a4acb[_0x294455(0x3db)]['id'],{'unitId':_0x621746[_0x294455(0x212)](),'subUnitId':_0x2d3a67});}},_0x3dc1b0[_0x26cc89(0x3ac)]=_0x37f4e6([_0x460d45(0x0,_0x53ff22),_0x460d45(0x1,_0x1c002c[_0x26cc89(0x319)]),_0x460d45(0x2,_0x1c002c[_0x26cc89(0x20c)]),_0x460d45(0x3,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x163)])),_0x460d45(0x4,_0x1c002c[_0x26cc89(0x389)](_0x405deb[_0x26cc89(0x271)]))],_0x3dc1b0['CollaborationDataLoaderController']);var _0x5dcea5=Object[_0x26cc89(0x252)],_0x327f3f=(_0x43dfba,_0x2d9f77,_0x26afa3,_0x19984b)=>{for(var _0x14a140=_0x19984b>0x1?void 0x0:_0x19984b?_0x5dcea5(_0x2d9f77,_0x26afa3):_0x2d9f77,_0x575460=_0x43dfba['length']-0x1,_0x522a87;_0x575460>=0x0;_0x575460--)(_0x522a87=_0x43dfba[_0x575460])&&(_0x14a140=_0x522a87(_0x14a140)||_0x14a140);return _0x14a140;},_0x47bb42=(_0x521022,_0x52a8f2)=>(_0x48fafc,_0x307316)=>_0x52a8f2(_0x48fafc,_0x307316,_0x521022);let _0x281445=class{constructor(_0x31ef25,_0xf84378,_0x16a553){const _0x3322fb=_0x26cc89;this['_injector']=_0x31ef25,this['_transformService']=_0xf84378,this[_0x3322fb(0x17e)]=_0x16a553;}[_0x26cc89(0x243)](_0x55e1d6){const _0xc3e58d=_0x26cc89;this['_transformUndoRedoStack'](_0x55e1d6),this[_0xc3e58d(0x2d7)](_0x55e1d6);}[_0x26cc89(0x1e6)](_0xf4a7f1){const _0x3370d3=_0x26cc89,{unitID:_0x59a810}=_0xf4a7f1,_0x5c1935=this[_0x3370d3(0x17e)][_0x3370d3(0x1d5)](_0x59a810)[_0x3370d3(0x279)](_0x567b9[_0x3370d3(0x249)]),{redoCache:_0x14ef49}=_0x5c1935['getUndoRedoMutationParamsCache']();if(_0x14ef49[_0x3370d3(0x17b)]===0x0)return _0xf4a7f1;let _0x310169=_0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1[_0x3370d3(0x3f8)][0x0]);for(let _0x6a5b8c=0x0;_0x6a5b8c<_0x14ef49[_0x3370d3(0x17b)];_0x6a5b8c++){const _0x55c0e3={'id':'doc.mutation.rich-text-editing','params':{..._0x14ef49[_0x6a5b8c]}},_0x1385f8=this[_0x3370d3(0x3eb)][_0x3370d3(0x1a3)](_0x310169,_0x55c0e3,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1385f8))throw _0x1385f8[_0x3370d3(0x2b4)];_0x310169=_0x1385f8[_0x3370d3(0x3d6)];}return{..._0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1),'mutations':[_0x310169]};}[_0x26cc89(0x3a1)](_0x5b94a3){const _0x3f3a8f=_0x26cc89,{unitID:_0x4abb07}=_0x5b94a3,_0x4a1b85=this['_renderManagerService'][_0x3f3a8f(0x1d5)](_0x4abb07)[_0x3f3a8f(0x279)](_0x567b9[_0x3f3a8f(0x249)]),{undoCache:_0x1957fe,redoCache:_0xb0ccb5}=_0x4a1b85[_0x3f3a8f(0x31c)]();if(_0x1957fe[_0x3f3a8f(0x17b)]===0x0||_0xb0ccb5[_0x3f3a8f(0x17b)]===0x0)return;const _0x2ec857=[],_0x3fb5f6=[];let _0x51a8a1=_0x1c002c[_0x3f3a8f(0x215)]['deepClone'](_0x5b94a3['mutations'][0x0]),_0x10d837=_0x1c002c[_0x3f3a8f(0x215)][_0x3f3a8f(0x398)](_0x5b94a3['mutations'][0x0]);for(let _0x31d5d8=_0x1957fe[_0x3f3a8f(0x17b)]-0x1;_0x31d5d8>=0x0;_0x31d5d8--){const _0x375228={'id':_0x3f3a8f(0x358),'params':{..._0x1957fe[_0x31d5d8]}},_0x40fb1a={'id':'doc.mutation.rich-text-editing','params':{..._0xb0ccb5[_0x31d5d8]}},_0x56d2e0=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x51a8a1,_0x375228,!0x1),_0x507e95=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x10d837,_0x40fb1a,!0x1);if(_0x376d49[_0x3f3a8f(0x244)](_0x56d2e0))throw _0x56d2e0[_0x3f3a8f(0x2b4)];if(_0x376d49[_0x3f3a8f(0x244)](_0x507e95))throw _0x507e95[_0x3f3a8f(0x2b4)];_0x2ec857[_0x3f3a8f(0x334)](_0x56d2e0[_0x3f3a8f(0x2b3)]['params']),_0x3fb5f6[_0x3f3a8f(0x334)](_0x507e95[_0x3f3a8f(0x2b3)][_0x3f3a8f(0x3b2)]),_0x51a8a1=_0x56d2e0[_0x3f3a8f(0x3d6)],_0x10d837=_0x507e95[_0x3f3a8f(0x3d6)];}_0x4a1b85[_0x3f3a8f(0x3cb)]({'undoCache':_0x2ec857,'redoCache':_0x3fb5f6});}['_transformPreviousActiveRange'](_0x176e13){const _0x3d2634=_0x26cc89,{unitID:_0x6834f7}=_0x176e13,_0x5aedd5=this[_0x3d2634(0x17e)][_0x3d2634(0x1d5)](_0x6834f7)['with'](_0x567b9[_0x3d2634(0x249)]),_0x58c24a=_0x5aedd5[_0x3d2634(0x1ce)]();if(_0x58c24a==null)return;const _0x2cad6a=[{'id':_0x3d2634(0x358),'params':{'unitId':_0x176e13[_0x3d2634(0x3be)],'actions':null,'textRanges':[_0x58c24a]}}],_0x3d7829=this['_transformService'][_0x3d2634(0x24e)](_0x176e13,_0x2cad6a);if(!_0x376d49[_0x3d2634(0x290)](_0x3d7829))throw _0x3d7829[_0x3d2634(0x2b4)];const _0x4e24f2=_0x3d7829[_0x3d2634(0x2b3)][0x0]['params'][_0x3d2634(0x2c4)];Array[_0x3d2634(0x1a6)](_0x4e24f2)&&_0x4e24f2[_0x3d2634(0x17b)]&&_0x5aedd5[_0x3d2634(0x1f2)](_0x4e24f2[0x0]);}};_0x281445=_0x327f3f([_0x47bb42(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x47bb42(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x47bb42(0x2,_0x8f24d8[_0x26cc89(0x365)])],_0x281445);var _0x56ff52=Object[_0x26cc89(0x252)],_0x43e2d5=(_0x4d2f26,_0x1907b6,_0x40455f,_0x2fb9ec)=>{const _0x234595=_0x26cc89;for(var _0x31f444=_0x2fb9ec>0x1?void 0x0:_0x2fb9ec?_0x56ff52(_0x1907b6,_0x40455f):_0x1907b6,_0x3a2453=_0x4d2f26[_0x234595(0x17b)]-0x1,_0x1b7295;_0x3a2453>=0x0;_0x3a2453--)(_0x1b7295=_0x4d2f26[_0x3a2453])&&(_0x31f444=_0x1b7295(_0x31f444)||_0x31f444);return _0x31f444;},_0x240926=(_0x24daaf,_0x3af9b7)=>(_0x18e40f,_0x32286b)=>_0x3af9b7(_0x18e40f,_0x32286b,_0x24daaf);let _0x404672=class{constructor(_0x10a3c6,_0x21f253,_0x1cd581){const _0x5d66ab=_0x26cc89;this[_0x5d66ab(0x19f)]=_0x10a3c6,this[_0x5d66ab(0x3eb)]=_0x21f253,this[_0x5d66ab(0x337)]=_0x1cd581;}[_0x26cc89(0x255)](_0x56ccef){const _0x3940cc=_0x26cc89;this[_0x3940cc(0x30d)](_0x56ccef);}[_0x26cc89(0x1e6)](_0x251e9b){const _0x2d8a2d=_0x26cc89,{unitID:_0x4c9db4}=_0x251e9b,{collaboration:_0x4cb357}=this['_docStateChangeManagerService'][_0x2d8a2d(0x37d)](_0x4c9db4);if(_0x4cb357[_0x2d8a2d(0x17b)]===0x0)return _0x251e9b;let _0xe0ce2b=_0x1c002c['Tools']['deepClone'](_0x251e9b[_0x2d8a2d(0x3f8)][0x0]);for(let _0x511b0b=0x0;_0x511b0b<_0x4cb357[_0x2d8a2d(0x17b)];_0x511b0b++){const _0x7c04d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb357[_0x511b0b]['unitId'],..._0x4cb357[_0x511b0b][_0x2d8a2d(0x188)]}},_0x47ddd6=this['_transformService']['transformMutation'](_0xe0ce2b,_0x7c04d5,!0x1);if(_0x376d49[_0x2d8a2d(0x244)](_0x47ddd6))throw _0x47ddd6[_0x2d8a2d(0x2b4)];_0xe0ce2b=_0x47ddd6[_0x2d8a2d(0x3d6)];}return{..._0x1c002c[_0x2d8a2d(0x215)][_0x2d8a2d(0x398)](_0x251e9b),'mutations':[_0xe0ce2b]};}[_0x26cc89(0x30d)](_0x3c8c95){const _0x5b2247=_0x26cc89,{unitID:_0x7aaa59}=_0x3c8c95,{history:_0x49b4a5,collaboration:_0x2ed096}=this[_0x5b2247(0x337)][_0x5b2247(0x37d)](_0x7aaa59);if(_0x49b4a5[_0x5b2247(0x17b)]===0x0&&_0x2ed096[_0x5b2247(0x17b)]===0x0)return;const _0x15d315=[],_0x3a5658=[];let _0x1ecfa1=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c['Tools'][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x5d843a=_0x49b4a5[_0x5b2247(0x17b)]-0x1;_0x5d843a>=0x0;_0x5d843a--){const _0x2f1c86={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x325)]}},_0x557108={'id':_0x5b2247(0x358),'params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x188)]}},_0x340d1a=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x2f1c86,!0x1),_0x73d012=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x2cc6cb,_0x557108,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x340d1a))throw _0x340d1a['error'];if(_0x376d49[_0x5b2247(0x244)](_0x73d012))throw _0x73d012['error'];_0x15d315[_0x5b2247(0x334)]({..._0x49b4a5[_0x5d843a],'undoState':_0x340d1a[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x73d012['m2Prime']['params']}),_0x1ecfa1=_0x340d1a[_0x5b2247(0x3d6)],_0x2cc6cb=_0x73d012[_0x5b2247(0x3d6)];}_0x1ecfa1=_0x1c002c[_0x5b2247(0x215)]['deepClone'](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x534478=_0x2ed096['length']-0x1;_0x534478>=0x0;_0x534478--){const _0x197ce2={'id':_0x5b2247(0x358),'params':{'unitId':_0x2ed096[_0x534478][_0x5b2247(0x235)],..._0x2ed096[_0x534478][_0x5b2247(0x325)]}},_0x50f725={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ed096[_0x534478]['unitId'],..._0x2ed096[_0x534478][_0x5b2247(0x188)]}},_0x160ba6=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x197ce2,!0x1),_0x5d7719=this[_0x5b2247(0x3eb)]['transformMutation'](_0x2cc6cb,_0x50f725,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x160ba6))throw _0x160ba6[_0x5b2247(0x2b4)];if(_0x376d49[_0x5b2247(0x244)](_0x5d7719))throw _0x5d7719[_0x5b2247(0x2b4)];_0x3a5658[_0x5b2247(0x334)]({..._0x2ed096[_0x534478],'undoState':_0x160ba6[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x5d7719[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)]}),_0x1ecfa1=_0x160ba6[_0x5b2247(0x3d6)],_0x2cc6cb=_0x5d7719[_0x5b2247(0x3d6)];}this[_0x5b2247(0x337)][_0x5b2247(0x2a6)](_0x7aaa59,{'history':_0x15d315,'collaboration':_0x3a5658});}};_0x404672=_0x43e2d5([_0x240926(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c['Injector'])),_0x240926(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x240926(0x2,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)]))],_0x404672);var _0x348471=Object[_0x26cc89(0x252)],_0x4b2bb0=(_0x25a360,_0x5a9344,_0x38b09b,_0x4e0c8a)=>{for(var _0x3364f8=_0x4e0c8a>0x1?void 0x0:_0x4e0c8a?_0x348471(_0x5a9344,_0x38b09b):_0x5a9344,_0x54c900=_0x25a360['length']-0x1,_0x5a638c;_0x54c900>=0x0;_0x54c900--)(_0x5a638c=_0x25a360[_0x54c900])&&(_0x3364f8=_0x5a638c(_0x3364f8)||_0x3364f8);return _0x3364f8;},_0x1a3f14=(_0x26f0c5,_0x92052a)=>(_0x54fb8c,_0x30a5e9)=>_0x92052a(_0x54fb8c,_0x30a5e9,_0x26f0c5);let _0x1b6b6d=class{constructor(_0x3146da,_0x16099e){const _0x1d32cf=_0x26cc89;this[_0x1d32cf(0x19f)]=_0x3146da,this[_0x1d32cf(0x3eb)]=_0x16099e;}[_0x26cc89(0x311)](_0x3906e4){const _0x54eced=_0x26cc89;var _0x2eb591;const _0x294e05=this['_injector']['get'](_0x1100fd[_0x54eced(0x1b4)]),_0x56898c=(_0x2eb591=_0x294e05[_0x54eced(0x2d8)]())!=null?_0x2eb591:[];if(_0x56898c[_0x54eced(0x17b)]===0x0)return;const _0x3c59ab=_0x3906e4['unitID'],_0x31c9e7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c59ab,'actions':null,'textRanges':_0x56898c}}],_0x1a9112=this[_0x54eced(0x3eb)][_0x54eced(0x24e)](_0x3906e4,_0x31c9e7);if(!_0x376d49[_0x54eced(0x290)](_0x1a9112))throw _0x1a9112['error'];const _0x148c77=_0x1a9112['m2Prime'][0x0]['params']['textRanges'];Array[_0x54eced(0x1a6)](_0x148c77)&&_0x148c77['length']&&_0x294e05[_0x54eced(0x230)](_0x148c77,{'unitId':_0x3c59ab,'subUnitId':_0x3c59ab},!0x1);}};_0x1b6b6d=_0x4b2bb0([_0x1a3f14(0x0,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x1a3f14(0x1,_0x376d49[_0x26cc89(0x2f8)])],_0x1b6b6d);var _0x46f41b=Object[_0x26cc89(0x252)],_0x50ea95=(_0x1704ad,_0xeea22,_0x3577ff,_0x2b8cd0)=>{const _0x57b91d=_0x26cc89;for(var _0x4b5ac2=_0x2b8cd0>0x1?void 0x0:_0x2b8cd0?_0x46f41b(_0xeea22,_0x3577ff):_0xeea22,_0x537716=_0x1704ad[_0x57b91d(0x17b)]-0x1,_0x209517;_0x537716>=0x0;_0x537716--)(_0x209517=_0x1704ad[_0x537716])&&(_0x4b5ac2=_0x209517(_0x4b5ac2)||_0x4b5ac2);return _0x4b5ac2;},_0x5dda5e=(_0x59a13c,_0x598f5a)=>(_0x2c0650,_0x91bcc6)=>_0x598f5a(_0x2c0650,_0x91bcc6,_0x59a13c);let _0x414db0=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x1b0eac,_0x5cc19e,_0x51a9de,_0x51056f,_0x52824d,_0x1161b8,_0x4f6232,_0x363bb7){const _0x4d35bc=_0x26cc89;super(),_0xd9b4bc(this,_0x4d35bc(0x36b),new _0x4287b5[(_0x4d35bc(0x173))](_0x827ff8[_0x4d35bc(0x287)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1b0eac,this['_collaborationController']=_0x5cc19e,this['_docTransformIMECacheService']=_0x51a9de,this[_0x4d35bc(0x1f3)]=_0x51056f,this[_0x4d35bc(0x264)]=_0x52824d,this[_0x4d35bc(0x200)]=_0x1161b8,this[_0x4d35bc(0x280)]=_0x4f6232,this[_0x4d35bc(0x1ea)]=_0x363bb7,this['_initEntityListener']());}[_0x26cc89(0x3e4)](){const _0x2bfbd0=_0x26cc89;this['disposeWithMe'](this[_0x2bfbd0(0x21a)]['entityInit$'][_0x2bfbd0(0x253)](_0x401210=>{const _0x4a5b59=_0x2bfbd0,_0x4b3e8d=this[_0x4a5b59(0x337)][_0x4a5b59(0x3aa)][_0x4a5b59(0x253)](_0x976323=>{const _0x3fdf11=_0x4a5b59;if(_0x976323==null)return;const {unitId:_0x25e1c7,redoState:_0x31b7e8,commandId:_0x2760f7}=_0x976323;if(_0x25e1c7!==_0x401210[_0x3fdf11(0x3be)])return;const _0x3f1bac={'id':_0x2760f7,'type':_0x1c002c[_0x3fdf11(0x320)][_0x3fdf11(0x234)],'params':{'unitId':_0x25e1c7,'actions':_0x31b7e8[_0x3fdf11(0x367)],'textRanges':null}};_0x401210[_0x3fdf11(0x368)](_0x3f1bac);});if(_0x401210[_0x4a5b59(0x2bc)](_0x4b3e8d),_0x401210 instanceof _0x827ff8[_0x4a5b59(0x2d9)]){const _0xddb65={'onTransformIME':_0x59d1c6=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x243)](_0x59d1c6),'onTransformState':_0x473f09=>this[_0x4a5b59(0x1f3)][_0x4a5b59(0x255)](_0x473f09),'onTransformSelections':_0x716a4e=>this[_0x4a5b59(0x264)][_0x4a5b59(0x311)](_0x716a4e),'onSyncEditingCollabCursor':_0x3064f1=>this[_0x4a5b59(0x200)]['syncEditingCollabCursor'](_0x3064f1),'onTransformRemoteChangesetByIMECache':_0x2a45f5=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x1e6)](_0x2a45f5),'onTransformRemoteChangesetByStateCache':_0x2debe1=>this[_0x4a5b59(0x1f3)]['transformRemoteChangeset'](_0x2debe1)};_0x401210[_0x4a5b59(0x372)](_0xddb65);}}));}};_0x414db0=_0x50ea95([_0x5dda5e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)])),_0x5dda5e(0x1,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x201)])),_0x5dda5e(0x2,_0x1c002c[_0x26cc89(0x273)](_0x281445)),_0x5dda5e(0x3,_0x1c002c[_0x26cc89(0x273)](_0x404672)),_0x5dda5e(0x4,_0x1c002c[_0x26cc89(0x273)](_0x1b6b6d)),_0x5dda5e(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x5dda5e(0x6,_0x1c1408[_0x26cc89(0x1cc)]),_0x5dda5e(0x7,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x414db0);var _0x1c3568=Object[_0x26cc89(0x252)],_0x370010=(_0x144689,_0xf861f6,_0x110375,_0x512faa)=>{const _0x32bff7=_0x26cc89;for(var _0x1d09b8=_0x512faa>0x1?void 0x0:_0x512faa?_0x1c3568(_0xf861f6,_0x110375):_0xf861f6,_0x9f02fa=_0x144689[_0x32bff7(0x17b)]-0x1,_0x8cc6fa;_0x9f02fa>=0x0;_0x9f02fa--)(_0x8cc6fa=_0x144689[_0x9f02fa])&&(_0x1d09b8=_0x8cc6fa(_0x1d09b8)||_0x1d09b8);return _0x1d09b8;},_0x309034=(_0x19efe8,_0x3494c1)=>(_0x490b94,_0x4b7558)=>_0x3494c1(_0x490b94,_0x4b7558,_0x19efe8);let _0x40d5b9=class extends _0x1c002c['Disposable']{constructor(_0x403cc7,_0x2a6058,_0x3f7e35){const _0x4f8923=_0x26cc89;super(),_0xd9b4bc(this,_0x4f8923(0x376),new Map()),_0xd9b4bc(this,_0x4f8923(0x180),new Map()),_0xd9b4bc(this,_0x4f8923(0x177),!0x1),(this[_0x4f8923(0x2e7)]=_0x403cc7,this['_localStorageService']=_0x2a6058,this['_revisionService']=_0x3f7e35);}[_0x26cc89(0x2b7)](){this['_disabled']=!0x0;}[_0x26cc89(0x1c1)](){const _0x223d2a=_0x26cc89;this[_0x223d2a(0x177)]=!0x1;}get[_0x26cc89(0x3f1)](){return this['_saveTaskMap'];}[_0x26cc89(0x203)](){const _0x16c552=_0x26cc89;this['exhaustSavingTask']()['then'](()=>super[_0x16c552(0x203)]());}async[_0x26cc89(0x3ed)](_0x419eb9){const _0x3afd3e=_0x26cc89;return this['_disabled']?null:this[_0x3afd3e(0x345)][_0x3afd3e(0x21f)](_0x827ff8['getLocalCacheKey'](_0x419eb9));}async[_0x26cc89(0x282)](_0x5dfa7b,_0x188a99){const _0x5908e0=_0x26cc89;return!!this[_0x5908e0(0x345)]['setItem'](_0x5dfa7b,_0x188a99);}[_0x26cc89(0x30f)](_0x31393b,_0x916ede,_0x38e1e1,_0x4d51c0){const _0x7be034=_0x26cc89,_0x38bad5=this[_0x7be034(0x3fb)][_0x7be034(0x190)](_0x31393b);this[_0x7be034(0x376)]['set'](_0x31393b,{'unitID':_0x31393b,'type':_0x916ede,'awaitingChangeset':_0x38e1e1,'mutations':_0x4d51c0,'rev':_0x38bad5}),this['_saveTaskMap'][_0x7be034(0x2fe)](_0x31393b)||this[_0x7be034(0x312)](_0x31393b);}['_scheduleSaving'](_0x5dd140){const _0x5635b3=_0x26cc89,_0x5e4c51=this[_0x5635b3(0x1dc)]();_0x5e4c51===0x0?this['_saveCache'](_0x5dd140):this[_0x5635b3(0x180)][_0x5635b3(0x391)](_0x5dd140,setTimeout(()=>this[_0x5635b3(0x16c)](_0x5dd140),_0x5e4c51));}[_0x26cc89(0x1dc)](){const _0x1c488a=_0x26cc89;var _0x2ca6f1;return(_0x2ca6f1=this['_configService'][_0x1c488a(0x240)](_0x827ff8[_0x1c488a(0x38d)]))!=null?_0x2ca6f1:_0x827ff8[_0x1c488a(0x3c1)];}[_0x26cc89(0x16c)](_0xbd34a1){const _0x4802b4=_0x26cc89,_0x2ff4fc=this[_0x4802b4(0x180)][_0x4802b4(0x1dd)](_0xbd34a1);return _0x2ff4fc!==void 0x0&&window['clearTimeout'](_0x2ff4fc),this['_localStorageService']['setItem'](_0x827ff8['getLocalCacheKey'](_0xbd34a1),this[_0x4802b4(0x376)]['get'](_0xbd34a1))[_0x4802b4(0x3ab)](()=>this[_0x4802b4(0x180)][_0x4802b4(0x26b)](_0xbd34a1));}async[_0x26cc89(0x1f5)](){const _0x2df1e5=_0x26cc89,_0x296da1=[];this[_0x2df1e5(0x180)][_0x2df1e5(0x36a)]((_0x29a767,_0x400946)=>{const _0x52871a=_0x2df1e5;window[_0x52871a(0x388)](_0x29a767),_0x296da1[_0x52871a(0x1c9)](this['_saveCache'](_0x400946)['then'](()=>{const _0x472784=_0x52871a;this['_saveTaskMap'][_0x472784(0x26b)](_0x400946);}));}),await Promise['all'](_0x296da1);}};_0x40d5b9=_0x370010([_0x309034(0x0,_0x1c002c[_0x26cc89(0x28c)]),_0x309034(0x1,_0x1c002c[_0x26cc89(0x1fc)]),_0x309034(0x2,_0x1c002c[_0x26cc89(0x273)](_0x376d49[_0x26cc89(0x1e4)]))],_0x40d5b9);class _0x3a8e37 extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0xdbfd8=_0x26cc89;super(),_0xd9b4bc(this,_0xdbfd8(0x387)),this[_0xdbfd8(0x387)]=_0x4287b5[_0xdbfd8(0x19d)](window,_0xdbfd8(0x361))[_0xdbfd8(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']),_0x4287b5['shareReplay'](0x1),_0x4287b5[_0xdbfd8(0x15d)](void 0x0));}[_0x26cc89(0x3ae)](_0x135554,_0x1efd3a,_0x553ee3=!0x1){const _0x444e18=_0x26cc89,_0x459b01=new URL(window['location'][_0x444e18(0x3d5)]);_0x459b01['searchParams'][_0x444e18(0x391)](_0x135554,_0x1efd3a),_0x553ee3?window[_0x444e18(0x2c9)][_0x444e18(0x19c)]('','',_0x459b01[_0x444e18(0x217)]()):window[_0x444e18(0x2c9)][_0x444e18(0x38b)]('','',_0x459b01[_0x444e18(0x217)]());}['removeParam'](_0x3b3a79,_0x41c550=!0x1){const _0xeae5b7=_0x26cc89,_0x526f1a=new URL(window['location'][_0xeae5b7(0x3d5)]);_0x526f1a[_0xeae5b7(0x30b)][_0xeae5b7(0x26b)](_0x3b3a79),_0x41c550?window['history'][_0xeae5b7(0x19c)]('','',_0x526f1a[_0xeae5b7(0x217)]()):window[_0xeae5b7(0x2c9)][_0xeae5b7(0x38b)]('','',_0x526f1a['toString']());}[_0x26cc89(0x2f9)](_0x506b24){const _0x9d3413=_0x26cc89;var _0x497888;return(_0x497888=new URL(window[_0x9d3413(0x1cb)][_0x9d3413(0x3d5)])[_0x9d3413(0x30b)]['get'](_0x506b24))!=null?_0x497888:void 0x0;}}var _0x547a9f=Object['defineProperty'],_0x4b0298=Object[_0x26cc89(0x252)],_0x192993=(_0x19d1a9,_0x4be86e,_0x160c18)=>_0x4be86e in _0x19d1a9?_0x547a9f(_0x19d1a9,_0x4be86e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x160c18}):_0x19d1a9[_0x4be86e]=_0x160c18,_0x1e16ff=(_0x3ed3b4,_0x514055,_0x47c4d7,_0x3f319b)=>{const _0x3eb05d=_0x26cc89;for(var _0x4b7946=_0x3f319b>0x1?void 0x0:_0x3f319b?_0x4b0298(_0x514055,_0x47c4d7):_0x514055,_0x4e1922=_0x3ed3b4[_0x3eb05d(0x17b)]-0x1,_0x5c1112;_0x4e1922>=0x0;_0x4e1922--)(_0x5c1112=_0x3ed3b4[_0x4e1922])&&(_0x4b7946=_0x5c1112(_0x4b7946)||_0x4b7946);return _0x4b7946;},_0x4214f1=(_0x211883,_0x408d52)=>(_0x6ef6fe,_0x238601)=>_0x408d52(_0x6ef6fe,_0x238601,_0x211883),_0x285d91=(_0x278a25,_0x3589a6,_0x35591f)=>_0x192993(_0x278a25,_0x3589a6+'',_0x35591f);const _0x1eb3a1=_0x26cc89(0x25d);_0x3dc1b0[_0x26cc89(0x1c5)]=class extends _0x1c002c[_0x26cc89(0x263)]{constructor(_0x2dd588=_0x35a43e,_0x33ab58,_0x3c5292,_0x5a25c5){const _0x2789e5=_0x26cc89;super(),this['_config']=_0x2dd588,this[_0x2789e5(0x17e)]=_0x33ab58,this['_injector']=_0x3c5292,this[_0x2789e5(0x2e7)]=_0x5a25c5;const {..._0x507686}=_0x1c002c[_0x2789e5(0x375)]({},_0x35a43e,this[_0x2789e5(0x32a)]);this[_0x2789e5(0x2e7)][_0x2789e5(0x354)](_0x5a320f,_0x507686);}['onStarting'](){const _0x23ded4=_0x26cc89;this[_0x23ded4(0x314)](),this['_initDependencies']();}[_0x26cc89(0x1ae)](){const _0x715389=_0x26cc89;this[_0x715389(0x35d)]();}[_0x26cc89(0x314)](){const _0x3dbc57=_0x26cc89;var _0x45d0cb;const _0x631e21=[[_0x328ed8],[_0x1b6b6d],[_0x281445],[_0x404672],[_0x509d7c],[_0x53ff22,{'useClass':_0x3a8e37}],[_0x286260[_0x3dbc57(0x3b9)],{'useClass':_0x286260['WebSocketService']}],[_0x827ff8[_0x3dbc57(0x242)],{'useClass':_0x40d5b9}],[_0x3dc1b0[_0x3dbc57(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x402205],[_0x3f0664],[_0x3dc1b0[_0x3dbc57(0x3ac)]]];_0x1c002c[_0x3dbc57(0x301)](this[_0x3dbc57(0x19f)],_0x1c002c['mergeOverrideWithDependencies'](_0x631e21,(_0x45d0cb=this['_config'])==null?void 0x0:_0x45d0cb[_0x3dbc57(0x191)]));}[_0x26cc89(0x35d)](){const _0x46f1bc=_0x26cc89;this['disposeWithMe'](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x3ec)],[_0x1b4ad8])),this[_0x46f1bc(0x2bc)](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x39d)],[_0x27c244]));}[_0x26cc89(0x19e)](){const _0x4d829a=_0x26cc89;_0x1c002c[_0x4d829a(0x3c3)](this['_injector'],[[_0x402205],[_0x3dc1b0[_0x4d829a(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x3dc1b0[_0x4d829a(0x3ac)]]]);}},_0x285d91(_0x3dc1b0[_0x26cc89(0x1c5)],_0x26cc89(0x2e6),_0x1eb3a1),_0x3dc1b0[_0x26cc89(0x1c5)]=_0x1e16ff([_0x1c002c[_0x26cc89(0x2f5)](_0x827ff8['UniverCollaborationClientPlugin']),_0x4214f1(0x1,_0x8f24d8[_0x26cc89(0x365)]),_0x4214f1(0x2,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x4214f1(0x3,_0x1c002c[_0x26cc89(0x28c)])],_0x3dc1b0[_0x26cc89(0x1c5)]);var _0x1c4a14=Object['getOwnPropertyDescriptor'],_0x4e865d=(_0x361ee5,_0x479f2c,_0x322d4f,_0x4d0474)=>{const _0x289f57=_0x26cc89;for(var _0x201ce0=_0x4d0474>0x1?void 0x0:_0x4d0474?_0x1c4a14(_0x479f2c,_0x322d4f):_0x479f2c,_0x2208dc=_0x361ee5[_0x289f57(0x17b)]-0x1,_0x3bac92;_0x2208dc>=0x0;_0x2208dc--)(_0x3bac92=_0x361ee5[_0x2208dc])&&(_0x201ce0=_0x3bac92(_0x201ce0)||_0x201ce0);return _0x201ce0;},_0x50f71e=(_0xd30082,_0x54d014)=>(_0x2c5e59,_0x2516fb)=>_0x54d014(_0x2c5e59,_0x2516fb,_0xd30082);_0x3dc1b0[_0x26cc89(0x2d0)]=class extends _0x827ff8[_0x26cc89(0x19b)]{constructor(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033){super(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033);}async[_0x26cc89(0x166)](_0x4b73fa){const _0x24bfb5=_0x26cc89,_0x5a103e=await this[_0x24bfb5(0x22d)](),_0xc83db7=this['_createSocketURL'](_0x4b73fa,_0x5a103e);return this[_0x24bfb5(0x362)](_0xc83db7);}[_0x26cc89(0x17d)](_0x5b75a9,_0x266aa4){const _0x25f498=_0x26cc89,_0x354298=typeof window>'u'?new URL(_0x5b75a9):new URL(_0x5b75a9,window[_0x25f498(0x1cb)]['origin']);_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x38e),_0x266aa4);const _0x5bf00f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x25f498(0x1cb)][_0x25f498(0x2f4)]);return _0x5bf00f['get'](_0x25f498(0x3f5))&&_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x3f5),_0x5bf00f[_0x25f498(0x1dd)](_0x25f498(0x3f5))),_0x354298[_0x25f498(0x217)]();}async[_0x26cc89(0x22d)](){const _0x1256e7=_0x26cc89;var _0x5d0012,_0x4a54ca,_0x17fd79;const _0xb03c84=this[_0x1256e7(0x2e7)]['getConfig'](_0x827ff8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x550cba=(_0x5d0012=_0xb03c84==null?void 0x0:_0xb03c84[_0x1256e7(0x1c6)])!=null?_0x5d0012:_0x827ff8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x17fd79=(_0x4a54ca=(await this[_0x1256e7(0x277)][_0x1256e7(0x1dd)](_0x550cba,{'headers':{'Content-Type':_0x1256e7(0x246)}}))[_0x1256e7(0x1b6)])==null?void 0x0:_0x4a54ca[_0x1256e7(0x175)])!=null?_0x17fd79:'';}},_0x3dc1b0[_0x26cc89(0x2d0)]=_0x4e865d([_0x50f71e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x50f71e(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x50f71e(0x2,_0x1c002c['IConfigService']),_0x50f71e(0x3,_0x1c002c[_0x26cc89(0x319)]),_0x50f71e(0x4,_0x376d49[_0x26cc89(0x31a)])],_0x3dc1b0['BrowserCollaborationSocketService']);const _0x8792f4=0x7530,_0x4100d1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3cdc42 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x1898c5=_0x26cc89;super(),_0xd9b4bc(this,_0x1898c5(0x300),_0x1c002c[_0x1898c5(0x2d2)]()),_0xd9b4bc(this,_0x1898c5(0x193),new Set()),_0xd9b4bc(this,_0x1898c5(0x322),new Map()),_0xd9b4bc(this,_0x1898c5(0x1d4),null),_0xd9b4bc(this,_0x1898c5(0x3b7),new Map()),_0xd9b4bc(this,_0x1898c5(0x381),new Map()),this[_0x1898c5(0x2ee)]();}[_0x26cc89(0x203)](){const _0x518dfb=_0x26cc89;super[_0x518dfb(0x203)](),this[_0x518dfb(0x3b7)]['forEach']((_0x19a9b2,_0x5bc4b5)=>this[_0x518dfb(0x2a4)](_0x5bc4b5)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x518dfb(0x1d4)]);}[_0x26cc89(0x31d)](_0x29c64){const _0x249002=_0x26cc89;return this[_0x249002(0x2b5)](_0x29c64)['pipe'](_0x4287b5[_0x249002(0x28a)]());}[_0x26cc89(0x231)](_0x53ea4a){const _0x5027ef=_0x26cc89;this[_0x5027ef(0x193)][_0x5027ef(0x239)]===0x0&&this[_0x5027ef(0x364)](),this[_0x5027ef(0x193)]['add'](_0x53ea4a),this['_send']({'type':0x0,'memberID':this[_0x5027ef(0x300)],'unitIDs':[_0x53ea4a],'isForwarded':!0x1});}[_0x26cc89(0x1b9)](_0x39e1cf){const _0x37c387=_0x26cc89;this[_0x37c387(0x193)][_0x37c387(0x26b)](_0x39e1cf),this[_0x37c387(0x193)][_0x37c387(0x239)]===0x0&&this[_0x37c387(0x1d4)]&&window[_0x37c387(0x18a)](this['_heartbeatTimer']);}[_0x26cc89(0x2ee)](){const _0x374acb=_0x26cc89;this[_0x374acb(0x2bc)](_0x1c002c[_0x374acb(0x1ed)](_0x4287b5[_0x374acb(0x19d)](window,_0x374acb(0x2c6))['subscribe'](_0x3c77eb=>{const _0x2b70a3=_0x374acb;if(_0x3c77eb[_0x2b70a3(0x37b)]!==_0x4100d1||!_0x3c77eb['newValue'])return;const _0x4790d9=JSON[_0x2b70a3(0x3fe)](_0x3c77eb[_0x2b70a3(0x2e8)]);this[_0x2b70a3(0x17f)](_0x4790d9);}))),window[_0x374acb(0x1a8)](_0x374acb(0x3af),()=>this[_0x374acb(0x33c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x374acb(0x3de)](this[_0x374acb(0x193)])}));}[_0x26cc89(0x17f)](_0x3411b4){const _0x3ce273=_0x26cc89;switch(_0x3411b4[_0x3ce273(0x1ee)]){case 0x0:this[_0x3ce273(0x356)](_0x3411b4);break;case 0x1:this['_handleLeaveEvent'](_0x3411b4);break;case 0x2:this[_0x3ce273(0x3ff)](_0x3411b4);break;}}[_0x26cc89(0x356)](_0x5e1fd9){const _0x52a156=_0x26cc89,{unitIDs:_0x3d4c77,memberID:_0x4d50c6,isForwarded:_0x5ee0e9}=_0x5e1fd9;_0x3d4c77['forEach'](_0x50f150=>{const _0x246514=_0x30a1;if(!_0x5ee0e9&&this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)&&this[_0x246514(0x2b5)](_0x50f150)['next'](_0x827ff8[_0x246514(0x2c0)][_0x246514(0x26e)]),!this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)||!this['_unitOnClients'][_0x246514(0x1dd)](_0x50f150)[_0x246514(0x2fe)](_0x4d50c6)){const _0x4c5749=this[_0x246514(0x322)][_0x246514(0x1dd)](_0x50f150)||new Set();_0x4c5749['add'](_0x4d50c6),this[_0x246514(0x322)][_0x246514(0x391)](_0x50f150,_0x4c5749),this[_0x246514(0x377)](_0x4d50c6);}}),_0x5ee0e9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x52a156(0x193)]],'isForwarded':!0x0});}[_0x26cc89(0x377)](_0x57c00a){const _0x413d7e=_0x26cc89;this[_0x413d7e(0x2a4)](_0x57c00a);const _0x194b03=window['setTimeout'](()=>{const _0x20569c=_0x413d7e;this[_0x20569c(0x322)][_0x20569c(0x36a)](_0x484e9f=>{_0x484e9f['delete'](_0x57c00a);});},_0x8792f4*0x2);this[_0x413d7e(0x3b7)][_0x413d7e(0x391)](_0x57c00a,_0x194b03);}[_0x26cc89(0x2a4)](_0x1d5c32){const _0x50e29d=_0x26cc89;if(this['_clearOtherTimers'][_0x50e29d(0x2fe)](_0x1d5c32)){const _0x21cbac=this['_clearOtherTimers']['get'](_0x1d5c32);_0x21cbac&&window[_0x50e29d(0x388)](_0x21cbac),this['_clearOtherTimers'][_0x50e29d(0x391)](_0x1d5c32,null);}}[_0x26cc89(0x236)](_0x311cfd){const _0x50780b=_0x26cc89,{memberID:_0x1c275d,unitIDs:_0x167b43}=_0x311cfd;_0x167b43[_0x50780b(0x36a)](_0x1bfd9a=>{const _0x68ebb1=_0x50780b;var _0xdd96ba;const _0x14aa2e=this['_unitOnClients'][_0x68ebb1(0x1dd)](_0x1bfd9a);_0x14aa2e&&(_0x14aa2e[_0x68ebb1(0x26b)](_0x1c275d),(_0xdd96ba=this[_0x68ebb1(0x2b5)](_0x1bfd9a))==null||_0xdd96ba['next'](_0x14aa2e[_0x68ebb1(0x239)]===0x0?_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x306)]:_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x26e)]));}),this[_0x50780b(0x2a4)](_0x1c275d);}[_0x26cc89(0x3ff)](_0x5cd107){const _0x4c3210=_0x26cc89;this[_0x4c3210(0x377)](_0x5cd107[_0x4c3210(0x2c8)]);}[_0x26cc89(0x33c)](_0x4a7f4a){const _0x566523=_0x26cc89;localStorage[_0x566523(0x285)](_0x4100d1,JSON[_0x566523(0x185)](_0x4a7f4a));}[_0x26cc89(0x364)](){const _0x59fc8f=_0x26cc89;this['_heartbeatTimer']=window[_0x59fc8f(0x2e3)](()=>{const _0x113755=_0x59fc8f;this[_0x113755(0x33c)]({'type':0x2,'memberID':this['_id']});},_0x8792f4);}['_ensureSubject'](_0x4c245b){const _0x9a76ae=_0x26cc89;return this[_0x9a76ae(0x381)][_0x9a76ae(0x2fe)](_0x4c245b)||this[_0x9a76ae(0x381)][_0x9a76ae(0x391)](_0x4c245b,new _0x4287b5[(_0x9a76ae(0x173))](_0x827ff8['UnitStatus'][_0x9a76ae(0x306)])),this['_unitStatus'][_0x9a76ae(0x1dd)](_0x4c245b);}}var _0x510fae=(_0x171411=>(_0x171411[_0x171411['UNDEFINED']=0x0]=_0x26cc89(0x2ba),_0x171411[_0x171411['OK']=0x1]='OK',_0x171411[_0x171411['INTERNAL_ERROR']=0x2]=_0x26cc89(0x396),_0x171411[_0x171411[_0x26cc89(0x2d6)]=0x3]='PERMISSION_DENIED',_0x171411[_0x171411['NOT_FOUND']=0x4]=_0x26cc89(0x192),_0x171411[_0x171411[_0x26cc89(0x394)]=0x5]=_0x26cc89(0x394),_0x171411[_0x171411[_0x26cc89(0x397)]=0x6]=_0x26cc89(0x397),_0x171411[_0x171411[_0x26cc89(0x338)]=0x7]=_0x26cc89(0x338),_0x171411[_0x171411[_0x26cc89(0x164)]=0x8]='TOO_MANY_REQUESTS',_0x171411[_0x171411[_0x26cc89(0x2cb)]=0x9]=_0x26cc89(0x2cb),_0x171411[_0x171411[_0x26cc89(0x374)]=0xa]='LOGIN_FAILED',_0x171411[_0x171411[_0x26cc89(0x24f)]=0x1389]=_0x26cc89(0x24f),_0x171411[_0x171411[_0x26cc89(0x34b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x171411[_0x171411[_0x26cc89(0x1cf)]=0x1772]=_0x26cc89(0x1cf),_0x171411[_0x171411[_0x26cc89(0x168)]=0x1773]=_0x26cc89(0x168),_0x171411[_0x171411[_0x26cc89(0x23f)]=0x1b59]='APPLY_REJECT',_0x171411[_0x171411[_0x26cc89(0x29b)]=0x1b5a]=_0x26cc89(0x29b),_0x171411[_0x171411[_0x26cc89(0x33d)]=0x1b5b]=_0x26cc89(0x33d),_0x171411[_0x171411[_0x26cc89(0x1da)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x171411[_0x171411[_0x26cc89(0x3fa)]=0x1b5d]=_0x26cc89(0x3fa),_0x171411[_0x171411['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x26cc89(0x317),_0x171411[_0x171411['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x26cc89(0x32b),_0x171411[_0x171411[_0x26cc89(0x298)]=0x232a]=_0x26cc89(0x298),_0x171411[_0x171411['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x26cc89(0x1e7),_0x171411[_0x171411['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x26cc89(0x220),_0x171411[_0x171411[_0x26cc89(0x30e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x171411[_0x171411[_0x26cc89(0x202)]=0x2711]=_0x26cc89(0x202),_0x171411[_0x171411[_0x26cc89(0x3c2)]=0x2712]=_0x26cc89(0x3c2),_0x171411[_0x171411[_0x26cc89(0x385)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x171411[_0x171411[_0x26cc89(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x171411[_0x171411[_0x26cc89(0x18f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x171411[_0x171411[_0x26cc89(0x224)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x171411[_0x171411[_0x26cc89(0x170)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x171411[_0x171411['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x26cc89(0x357),_0x171411[_0x171411[_0x26cc89(0x303)]=0x271e]=_0x26cc89(0x303),_0x171411[_0x171411[_0x26cc89(0x343)]=0x271f]=_0x26cc89(0x343),_0x171411[_0x171411[_0x26cc89(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x171411[_0x171411[_0x26cc89(0x3f4)]=0x2ee1]=_0x26cc89(0x3f4),_0x171411[_0x171411[_0x26cc89(0x2ef)]=0x2ee2]='INVALID_INVITE_CODE',_0x171411[_0x171411[_0x26cc89(0x2ec)]=0x2ee3]=_0x26cc89(0x2ec),_0x171411[_0x171411[_0x26cc89(0x195)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x171411[_0x171411['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x26cc89(0x283),_0x171411[_0x171411[_0x26cc89(0x24a)]=0x32c9]=_0x26cc89(0x24a),_0x171411[_0x171411['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x26cc89(0x2df),_0x171411[_0x171411[_0x26cc89(0x22a)]=0x32cb]=_0x26cc89(0x22a),_0x171411[_0x171411[_0x26cc89(0x321)]=-0x1]=_0x26cc89(0x321),_0x171411))(_0x510fae||{}),_0x141afb=Object[_0x26cc89(0x252)],_0x32fa26=(_0x5b2a89,_0x1e15f4,_0x3a8bdc,_0x4a12b2)=>{const _0x3257fb=_0x26cc89;for(var _0x5c4a5e=_0x4a12b2>0x1?void 0x0:_0x4a12b2?_0x141afb(_0x1e15f4,_0x3a8bdc):_0x1e15f4,_0x58d1a4=_0x5b2a89[_0x3257fb(0x17b)]-0x1,_0x538b65;_0x58d1a4>=0x0;_0x58d1a4--)(_0x538b65=_0x5b2a89[_0x58d1a4])&&(_0x5c4a5e=_0x538b65(_0x5c4a5e)||_0x5c4a5e);return _0x5c4a5e;},_0x4558cf=(_0x22adc4,_0x4e6685)=>(_0x5bb294,_0x9a925c)=>_0x4e6685(_0x5bb294,_0x9a925c,_0x22adc4);_0x3dc1b0[_0x26cc89(0x36c)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x3602d7,_0x137f4d,_0x400b7e){const _0x375748=_0x26cc89;super(),this[_0x375748(0x33f)]=_0x3602d7,this[_0x375748(0x277)]=_0x137f4d,this[_0x375748(0x2e7)]=_0x400b7e;}async[_0x26cc89(0x34f)](_0xa5fe81,_0x123dfb,_0x1a508f,..._0x518c95){const _0x4cd7b6=_0x26cc89;var _0x4aadd3,_0x4aa5b7,_0x5e133f,_0x1f0e71;const _0x8b7fa4=this['_instanceService']['getFocusedUnit']();if(!_0x8b7fa4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x37065c=((_0x4aadd3=this[_0x4cd7b6(0x2e7)][_0x4cd7b6(0x240)](_0x827ff8[_0x4cd7b6(0x276)]))!=null?_0x4aadd3:_0x827ff8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xa5fe81+_0x4cd7b6(0x1b1)+_0x123dfb,_0x1986fb=new URL(window[_0x4cd7b6(0x1cb)][_0x4cd7b6(0x3d5)]),_0x1c433b={'scriptId':_0xa5fe81,'runId':(_0x4aa5b7=_0x1986fb[_0x4cd7b6(0x30b)]['get'](_0x4cd7b6(0x3f5)))!=null?_0x4aa5b7:'','function':_0x123dfb,'unitId':_0x8b7fa4[_0x4cd7b6(0x212)](),'argsOfFunction':JSON['stringify'](_0x518c95),'invokeId':(_0x5e133f=_0x1a508f[_0x4cd7b6(0x1c7)])!=null?_0x5e133f:'','executionId':(_0x1f0e71=_0x1a508f[_0x4cd7b6(0x3e7)])!=null?_0x1f0e71:''};try{const _0x2a2759=await this['_httpService']['post'](_0x37065c,{'body':_0x1c433b});return _0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)]&&_0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)][_0x4cd7b6(0x2a0)]!==_0x510fae['OK']?_0x4cd7b6(0x1e5):_0x2a2759['body'][_0x4cd7b6(0x1df)];}catch{return'Failed';}}},_0x3dc1b0['RemoteUniscriptService']=_0x32fa26([_0x4558cf(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0x4558cf(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x4558cf(0x2,_0x1c002c['IConfigService'])],_0x3dc1b0['RemoteUniscriptService']),_0x3dc1b0['CollaborationStatusDisplay']=_0x725819,_0x3dc1b0['IURLService']=_0x53ff22,_0x3dc1b0[_0x26cc89(0x3b1)]=_0x9aba2b,_0x3dc1b0[_0x26cc89(0x1a2)]=_0x3cdc42,_0x3dc1b0['WebURLService']=_0x3a8e37,Object['defineProperty'](_0x3dc1b0,Symbol[_0x26cc89(0x3b0)],{'value':_0x26cc89(0x2ad)});}));
|
|
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)});}));
|