@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-d40d076 → 0.6.10-nightly.202504101607
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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2927(){const _0x110628=['DeleteRangeMoveUpCommandId','9kKHakl','collabStatus.offline','MUTATION','disposeWithMe','@univerjs/design','UPDATE_CURSOR','CollaborationEvent','hovered','_collabCursorController','CollaborationSessionService','getRangePointData','offline','LocaleService','ColorKit','IImageIoService','_docClipboardService','BehaviorSubject','SNAPSHOT_INVALID_SNAPSHOT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-online-status','debounceTime','RECT','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_unitOnClients','SheetsSelectionsService','_memberService','max','ITransformService','setUndoRedoMutationParamsCache','defineProperty','WebBrowserSingleActiveUnitService','then','focused$','replace','_send','search','replaceState','transformStateCache','_saveCache','verdancy600','endRow','CollaborationUIEventId','#fff','_httpService','14AIleHQ','_toggleOffline','fromEventSubject','INVALID_ARGUMENT','handleInsertRangeMoveDown','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','1em','_disabled','_render','registerRenderModule','ThemeService','collaboration.single-unit.warning','_saveTaskMap','unit','Tools','_notificationService','complete','UNDEFINED','@univerjs/core','2014jGsaOo','backgroundColor','unitID','0\x200\x2017\x2016','set','_collabCursorState$','DEFAULT_WS_SESSION_TICKET_URL','isActive','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','RegularPolygon','_registerRenderDependencies','InsertRangeMoveDownCommandId','univer-flex\x20univer-items-center','CollaborationUIEventService','RxDisposable','setStateCache','WECHAT_HAS_BEEN_BOUND','JOIN_ROOM_FAILED','width','subscribeEvent','_name','textRanges','_initDependencies','ILocalCacheService','_removeCollabCursors','Rect','collab-client.tooltip.reconnect','Module','syncEditingCollabCursor','IUniverInstanceService','mutations','MessageType','_docTransformStateCacheService','getAncestorScale','_initStatusComponent','_range','_status$','_entityInit$','runId','_drawRectRange','blue400','_syncEditingCollabCursorService','handleInsertRow','_startSheetCollabCursor','permission.content','UniverCore','name','_updateLocalCursor','Rectangle','Warning','react','MemberService','APPLY_NON_SEQUENTIAL_REVISION','_docSkeletonManagerService','APPLY_REVISION_CONFILICT','currentTheme$','rxjs/operators','registerDependencies','urlChange$','SheetCollabCursorShape','_anchorDot','_textBubble','UniverCollaborationClientUIPlugin','DOC_RANGE_TYPE','getSheetId','onTransformChange$','operators','_lastPointer','handleDeleteRangeMoveLeft','403264VtCgXN','TEXT_RANGE_LAYER_INDEX','SetSelectionsOperation','invokeId','UniverDocs','@univerjs/engine-render','NO_OTHER_CLIENTS_EDITING','endColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPLETION_FINISHED','_updateURLWithCurrentState','assign','online','indexOf','RemoveRowCommandId','dispose$','UNRECOGNIZED','dispose','getColor','prototype','_registerDependencies','Disposable','substring','touchDependencies','registerRefRange','transformSelections','_startDocCollabCursor','_transformUndoRedoStack','CLOSE_ROOM','origin','transformRemoteChangeset','getFocusedUnit','switchMap','_getSaveTimeout','executeCommand','_setupSubUnitSync','jsxs','result','getDocRanges','setInterval','collabStatus.fetchMiss','SOCKET_FAILED','disableLocalCache','registerBeforeClose','_doCreateSocket','RemoveColCommandId','react/jsx-runtime','OFFLINE','collabStatus.synced','SetWorksheetActivateCommand','NOT_FOUND','fill','_docTransformIMECacheService','from','values','_getAnchorBounding','onRendered','ICommandService','UNAUTHENTICATED','row','setTimeout','BrowserCollaborationSocketService','CollaborationDataLoaderController','_handleHeartbeatEvent','startColumn','getTypeOfUnitDisposed$','concat','newValue','sessionStatus$','_init','on-line-single','DeleteRangeMoveLeftCommandId','loadUnit','@univerjs/network','range','cursorInfo','history','@univerjs/engine-formula','HEADER_MENU','_hovered','4554888lxRfKV','add','application/json','handleIRemoveRow','_onRefRangeChange','getMember','gold400','71WQEzOp','transformIMECache','USER_NOT_INVITED_CODE','_scheduleSaving','DataLoaderService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_PERMISSION_DENIED','_cursor','IDocClipboardService','className','url(#$1','_colorAssignService','font','session.will-retry','toStringTag','displayName','UniverDrawing','actions','rgba(255,\x20255,\x20255,\x200.01)','onPointerMove$','RichTextEditingMutation','idSuffix','_drawTextRange','save','get','collab-rect-range-','IRenderManagerService','UniverNetwork','useDependency','useObservable','shareReplay','none','getViewport','distinctUntilChanged','updateOfflineData','toString','_colorIndex','mapTo','UniverRpc','status$','703532BwFnHV','@univerjs/docs','108UcmNhO','handleDeleteRangeMoveUp','clipPath','_scheduleClearOtherTimer','serializeRangeWithSheet','CollaborationStatusDisplay','xlink:href','React','_eventUnsubscribe','deserializeRangeWithSheet','icon','colorChannel1','@univerjs/sheets','SNAPSHOT_HAS_BEEN_REMOVED','INVITE_CODE_HAS_BEEN_UES','collabStatus.syncing','_ensureSubject','_setupBeforeClosingHandler','bottom','drawWith','Injector','createIdentifier','ISocketService','addObjects','contains','type','_docSyncEditingCollabCursorService','startRow','InsertColCommandId','_collaborationUIEventService','_renderManagerService','doc.mutation.rich-text-editing','_sheetSkeletonManagerService','replaceDocRanges','_labelPosition','@univerjs/sheets-ui','forEach','getCoordByCell','[RemoteUniscriptService]:\x20no\x20focused\x20unit','forwardRef','_injector','_refRangeService','_drawAnchor','searchParams','off-line-single_clip0_910_343','deepClone','getActiveRange','fillRule','length','getUnitId','Optional','fillText','_onCursorUpdate','4027903bgcWRt','_transformService','_context','error','_commandService','Error','InsertRangeMoveRightCommandId','_localStorageService','generateRandomId','_anchor','UnitStatus','extend','_revisionService','_transformHistoryAndStateStack','DisposableCollection','INVITE_CODE_ALREADY_BOUND','combineLatest','_univerInstanceService','popstate','_toggleOnline','_collaborationController','_getMergeRange','fromEvent','_updateSubUnitFromURLParams','INTERNAL_ERROR','saveTaskMap','wsSessionTicketUrl','m1Prime','RefRangeService','ALREADY_EXISTS','collaboration-client-ui.config','storage','unitId','_session','UniverEngineRender','transformByState','OTHER_CLIENT_EDITING','data','clearTimeout','getParam','column','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_shapes','getOwnPropertySymbols','_heartbeatTimer','collaboration.closeRoom','random','Shape','_createSocketURL','_handleJoinEvent','split','getCellPositionByOffset','WebSocketService','collab-text-anchor-','_scene','EffectRefRangId','addObject','_docStateChangeManagerService','@univerjs/ui','_instanceService','activeSheet$','SYNCED','UNIVER_DOC','LICENSE_EXPORT_SIZE_EXCEEDED','_clearOtherTimers','path','getCurrent','throttleTime','findNodePositionByCharIndex','Plugin','closePath','_initStatusListener','stringify','assignAColorForMemberID','selections','rxjs','UNIVER_SHEET','saveOfflineData','useRef','transformMutationsWithChangeset','univer-online-status-icon','IURLService','editingUnit','_online','lineTo','moveTo','children','LOGIN_FAILED','_messageService','DocCollaborationEntity','CollaborationStatus','show','AWAITING_WITH_PENDING','takeUntil','[CollaborationDataLoaderController]','_logService','trim','with','_unitStatus','currentColor','registerComponent','_urlService','_uiPartsService','session.connection-failed','pushState','_cursors','UniverSheets','getCurrentUnitForType','_dataLoaderService','createElement','tag','PY_RUNTIME_SCRIPT_ERROR','getVpScrollXYInfoByPosToVp','height','YUUMI_URL_COL_OUT_OF_RANGE','engine','_configService','SOCKET_FAILED_RETRY','EMAIL_HAS_BEEN_BOUND','defIds','subunit','UniverDocsUi','...','body','unshift','YUUMI_SUBSCRIPTION_NOT_FOUND','redoState','CONFLICT','YUUMI_UNABLE_LOAD_URL','symbol','session.collaboration-timeout','_selfUnitIDs','color','getItem','Failed','RevisionService','getValue','currentSkeleton$','@univerjs-pro/collaboration','handleMoveRange','InsertRowCommandId','cursorInfo$','IRemoteInstanceService','_getScale','restore','_getSessionTicket','pluginName','UniverProCollaboration','href','getStateCache','@univerjs/drawing','onPointerEnter$','isArray','ranges','useCallback','/run/','12zCaMlT','_backgroundColor','getOwnPropertyDescriptor','size','delete','IMessageService','DesktopCollaborationStatusDisplayController','min','url(#off-line-single_clip0_910_343)','_config','Tooltip','_handleLeaveEvent','UniverCollaborationClientPlugin','onCommandExecuted','string','map','IConfigService','setItem','location','_cursorShapes','defs','UniverInstanceType','pipe','docStateChange$','TEXT','has','_themeService','NodePositionConvertToCursor','push','clsx','jsx','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','UniverUi','SHEET_VIEWPORT_KEY','createInstance','next','_updateCollabCursors','@univerjs/rpc','top','collaboration-client.offline-data-not-saved','clearInterval','_draw','collabCursorState$','_handleEvent','getMemberID','_transformPreviousActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','sheetId','MoveRangeCommandId','_collabSessionService','setConfig','_scheduleHeartbeat','collab-text-range-','eventID','round','on-line-single_clip0_910_349','getUnhiddenWorksheets','call','setParam','uni.network.url-service','handleInsertRangeMoveRight','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','_onCursorDelete','ENSURE_SNAPSHOT_EXECUTION','COLORS','toRgbString','onPointerLeave$','unsubscribe','getUniverSheetInstance','OTHER_CLIENTS_EDITING','#FFF','VIEW_MAIN','div','_beforeCloseService','OnLineSingle','_id','NOT_COLLAB','asObservable','univer-online-status-title','getRenderById','_removeClearOtherTimer','transformMutation','use','init','entries','ISnapshotServerService','RemoteUniscriptService','_docTransformSelectionsService','setShapeProps','_docSkeleton','Unknown\x20user','isTransformMutationsWithChangesetSuccess','USERS_LEAVE','12734900CmNeSH','send','handleIRemoveCol','params','_initResize','getActiveSheet','DependentOn','fillStyle','createSocket','M0\x200H16V16H0z','_localCacheService','evenodd','exhaustSavingTask','svg','executionId','startsWith','YUUMI_RATE_OVER_LIMIT','FromArray','amd','text','setAlpha','onlineStatusTitle','attrs','_cursorInfo$','requireSession','@univerjs/docs-ui','_assignedColors','_initCommandExecutedListener','Inject','_entities','mergeOverrideWithDependencies','measureText','_roomMembers$','getUnitStatus$','_refreshCollabCursors','APPLY_REJECT','merge','event$','getLocalCacheKey','object','_imageIoService','hasOwnProperty','0\x200\x2016\x2016','apply','_color','_getSheetObject','connectInjector','LOCAL_CACHE_INTERVAL','_localeService','PERMISSION_DENIED','OffLineSingle','mask','getSheetObject','filter','UniverProCollaborationClientUi','CONNECTOR_DATA_TOO_LARGE','HTTPService','CollaborationSocketService','APPLY_DUPLICATED','_initEvent','ILogService','SessionStatus','CHANGESET_REVISION_CONFILICT','onStarting','BuiltInUIPart','roomMembers','debounce','subscribe','Vector2','unload','current','461630xhpZma','AWAITING','m2Prime','_hideTimer','parse','isTransformMutationFailure','undoState','entityInit$','PENDING','DocIMEInputManagerService','@univerjs-pro/collaboration-client','_cachedData','removeParam','getCollabCursors$','UniverDesign','arc','addHandlerCallback','runOnServer','sessionTicket','selection','includes','override','find','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','black','onMouseMove','code','disposeUnit','hide','roomMembers$'];_0x2927=function(){return _0x110628;};return _0x2927();}function _0x20ed(_0x6d8db5,_0x2641d6){const _0x2927e3=_0x2927();return _0x20ed=function(_0x20ed8d,_0x3d6714){_0x20ed8d=_0x20ed8d-0x167;let _0x8a1923=_0x2927e3[_0x20ed8d];return _0x8a1923;},_0x20ed(_0x6d8db5,_0x2641d6);}(function(_0x4ac6e4,_0x5cd37f){const _0x4e9861=_0x20ed,_0xcce8f6=_0x4ac6e4();while(!![]){try{const _0x3b0c93=parseInt(_0x4e9861(0x33f))/0x1*(-parseInt(_0x4e9861(0x2a3))/0x2)+-parseInt(_0x4e9861(0x19e))/0x3*(parseInt(_0x4e9861(0x367))/0x4)+parseInt(_0x4e9861(0x244))/0x5+-parseInt(_0x4e9861(0x338))/0x6+-parseInt(_0x4e9861(0x290))/0x7*(-parseInt(_0x4e9861(0x2e8))/0x8)+parseInt(_0x4e9861(0x263))/0x9*(-parseInt(_0x4e9861(0x1fd))/0xa)+parseInt(_0x4e9861(0x39e))/0xb*(parseInt(_0x4e9861(0x369))/0xc);if(_0x3b0c93===_0x5cd37f)break;else _0xcce8f6['push'](_0xcce8f6['shift']());}catch(_0x21c35d){_0xcce8f6['push'](_0xcce8f6['shift']());}}}(_0x2927,0xa6448),function(_0x48b65d,_0x1de6ea){const _0x43730a=_0x20ed;typeof exports==_0x43730a(0x224)&&typeof module<'u'?_0x1de6ea(exports,require(_0x43730a(0x24e)),require(_0x43730a(0x2a2)),require(_0x43730a(0x2ed)),require(_0x43730a(0x331)),require(_0x43730a(0x216)),require('@univerjs/drawing'),require(_0x43730a(0x3e9)),require(_0x43730a(0x368)),require(_0x43730a(0x18c)),require(_0x43730a(0x335)),require(_0x43730a(0x375)),require(_0x43730a(0x2db)),require(_0x43730a(0x38c)),require(_0x43730a(0x316)),require(_0x43730a(0x3d8)),require(_0x43730a(0x267)),require(_0x43730a(0x2d5)),require(_0x43730a(0x1c4))):typeof define=='function'&&define[_0x43730a(0x20f)]?define(['exports','@univerjs-pro/collaboration-client',_0x43730a(0x2a2),_0x43730a(0x2ed),_0x43730a(0x331),_0x43730a(0x216),_0x43730a(0x198),'rxjs',_0x43730a(0x368),_0x43730a(0x18c),'@univerjs/engine-formula',_0x43730a(0x375),_0x43730a(0x2db),_0x43730a(0x38c),'react/jsx-runtime',_0x43730a(0x3d8),_0x43730a(0x267),_0x43730a(0x2d5),_0x43730a(0x1c4)],_0x1de6ea):(_0x48b65d=typeof globalThis<'u'?globalThis:_0x48b65d||self,_0x1de6ea(_0x48b65d[_0x43730a(0x233)]={},_0x48b65d['UniverProCollaborationClient'],_0x48b65d[_0x43730a(0x2d0)],_0x48b65d[_0x43730a(0x3c0)],_0x48b65d[_0x43730a(0x35a)],_0x48b65d[_0x43730a(0x17b)],_0x48b65d[_0x43730a(0x34f)],_0x48b65d[_0x43730a(0x3e9)],_0x48b65d[_0x43730a(0x2ec)],_0x48b65d[_0x43730a(0x195)],_0x48b65d['UniverEngineFormula'],_0x48b65d[_0x43730a(0x16c)],_0x48b65d[_0x43730a(0x3e9)][_0x43730a(0x2e5)],_0x48b65d['UniverSheetsUi'],_0x48b65d[_0x43730a(0x370)],_0x48b65d[_0x43730a(0x1bf)],_0x48b65d[_0x43730a(0x252)],_0x48b65d[_0x43730a(0x370)],_0x48b65d[_0x43730a(0x365)]));}(this,function(_0x4bd5b3,_0x5b005f,_0x458f8c,_0x268e65,_0x34f6fb,_0x3fd6d1,_0x17b15e,_0xcb3a0a,_0x2f1fcc,_0xda915b,_0x1c8522,_0x4e3457,_0x33e39c,_0x278dfd,_0x1f6b47,_0x396ac0,_0x1e946d,_0x31ea74,_0x2a4f33){'use strict';const _0x3b5918=_0x20ed;var _0x5ed594=Object['defineProperty'],_0x2d9194=(_0x57be88,_0x103df6,_0x52150c)=>_0x103df6 in _0x57be88?_0x5ed594(_0x57be88,_0x103df6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52150c}):_0x57be88[_0x103df6]=_0x52150c,_0x491c37=(_0x48992c,_0xf43a68,_0x270f74)=>_0x2d9194(_0x48992c,typeof _0xf43a68!=_0x3b5918(0x183)?_0xf43a68+'':_0xf43a68,_0x270f74),_0x4618af=Object[_0x3b5918(0x1a0)],_0x534fcc=(_0x5f04bc,_0x4efa08,_0x32f890,_0xa6a485)=>{const _0x2e399a=_0x3b5918;for(var _0x441459=_0xa6a485>0x1?void 0x0:_0xa6a485?_0x4618af(_0x4efa08,_0x32f890):_0x4efa08,_0x2257be=_0x5f04bc[_0x2e399a(0x399)]-0x1,_0x14c2a8;_0x2257be>=0x0;_0x2257be--)(_0x14c2a8=_0x5f04bc[_0x2257be])&&(_0x441459=_0x14c2a8(_0x441459)||_0x441459);return _0x441459;},_0xed1057=(_0x3baac5,_0x303123)=>(_0xd86ce5,_0x14e913)=>_0x303123(_0xd86ce5,_0x14e913,_0x3baac5);let _0x5a82c0=class extends _0x458f8c['RxDisposable']{constructor(_0x221021,_0x431a59){const _0x394e4e=_0x3b5918;super(),this[_0x394e4e(0x272)]=_0x221021,this[_0x394e4e(0x225)]=_0x431a59,this[_0x394e4e(0x32d)]();}[_0x3b5918(0x32d)](){const _0x25cb22=_0x3b5918,_0x5db0e8=this;this[_0x25cb22(0x266)](this[_0x25cb22(0x272)]['addClipboardHook']({'onBeforePasteImage':async _0x5b4504=>{const _0x42121e=await _0x5db0e8['_imageIoService']['saveImage'](_0x5b4504);return _0x42121e?{'source':_0x42121e['source'],'imageSourceType':_0x42121e['imageSourceType']}:null;}}));}};_0x5a82c0=_0x534fcc([_0xed1057(0x0,_0x3fd6d1[_0x3b5918(0x347)]),_0xed1057(0x1,_0x17b15e[_0x3b5918(0x271)])],_0x5a82c0);const _0x594450=['purple300','jiqing500',_0x3b5918(0x28b),'red300',_0x3b5918(0x2cb),_0x3b5918(0x33e)];class _0x36bc68 extends _0x458f8c['Disposable']{constructor(){const _0x33bbd0=_0x3b5918;super(...arguments),_0x491c37(this,_0x33bbd0(0x217),new Map()),_0x491c37(this,'_colorIndex',0x0);}[_0x3b5918(0x3e7)](_0x67b9d5){const _0x4421c6=_0x3b5918;if(this[_0x4421c6(0x217)][_0x4421c6(0x1b7)](_0x67b9d5))return this[_0x4421c6(0x217)][_0x4421c6(0x357)](_0x67b9d5);const _0x326405=_0x594450[this['_colorIndex']];return this[_0x4421c6(0x363)]=(this[_0x4421c6(0x363)]+0x1)%_0x594450[_0x4421c6(0x399)],this['_assignedColors'][_0x4421c6(0x2a7)](_0x67b9d5,_0x326405),_0x326405;}}function _0x3b14f0(_0x338d11){let _0x50ad32='';for(const _0x336156 of _0x338d11){const {startOffset:_0x50a1cf,endOffset:_0x197f1c,isActive:_0x5b9b2f,rangeType:_0x1212fb,segmentId:_0x33214a,segmentPage:_0x2e2df6}=_0x336156;_0x50ad32['length']&&(_0x50ad32+=','),_0x50ad32+=_0x50a1cf+':'+_0x197f1c+':'+(_0x5b9b2f?'1':'0')+':'+_0x1212fb+':'+_0x33214a+':'+_0x2e2df6;}return _0x50ad32;}function _0x2bd960(_0x468edc){const _0x1c47de=_0x3b5918,_0x1052d7=_0x468edc[_0x1c47de(0x3d0)](','),_0x2331e1=[];for(const _0x51ff24 of _0x1052d7){const [_0x508e18,_0x11965b,_0x327e92,_0x4ccbb0,_0x1c6cae,_0x3d51de]=_0x51ff24[_0x1c47de(0x3d0)](':');_0x2331e1['push']({'startOffset':Number(_0x508e18),'endOffset':Number(_0x11965b),'collapsed':_0x508e18===_0x11965b,'isActive':_0x327e92==='1','rangeType':_0x4ccbb0===_0x458f8c[_0x1c47de(0x2e2)][_0x1c47de(0x1b6)]?_0x458f8c[_0x1c47de(0x2e2)]['TEXT']:_0x458f8c[_0x1c47de(0x2e2)][_0x1c47de(0x278)],'segmentId':typeof _0x1c6cae==_0x1c47de(0x1ac)?String(_0x1c6cae):'','segmentPage':Number(_0x3d51de!=null?_0x3d51de:-0x1)});}return _0x2331e1['some'](_0x4bfbb5=>_0x4bfbb5[_0x1c47de(0x2aa)])||(_0x2331e1[0x0][_0x1c47de(0x2aa)]=!0x0),_0x2331e1;}class _0x28bc01 extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(){const _0x45c145=_0x3b5918;super(...arguments),_0x491c37(this,_0x45c145(0x2a8),new _0xcb3a0a[(_0x45c145(0x273))](null)),_0x491c37(this,_0x45c145(0x1c9),this['_collabCursorState$'][_0x45c145(0x1ed)]());}[_0x3b5918(0x2bf)](_0x4dc7d5){const _0x5987c6=_0x3b5918,{unitID:_0x2285c2,memberID:_0x2c699f,textRanges:_0xcb8d33}=_0x4dc7d5,_0x419895=_0x3b14f0(_0xcb8d33);if(_0x419895==='')return;const _0x5ab939={'unitID':_0x2285c2,'memberID':_0x2c699f,'selection':_0x419895};this[_0x5987c6(0x2a8)][_0x5987c6(0x1c2)](_0x5ab939);}}var _0x404d13=Object[_0x3b5918(0x1a0)],_0x139ec5=(_0x4436e9,_0x54b6aa,_0x567c20,_0x1cbbcb)=>{const _0x434969=_0x3b5918;for(var _0x2e710b=_0x1cbbcb>0x1?void 0x0:_0x1cbbcb?_0x404d13(_0x54b6aa,_0x567c20):_0x54b6aa,_0x5bcefd=_0x4436e9[_0x434969(0x399)]-0x1,_0x3bc22f;_0x5bcefd>=0x0;_0x5bcefd--)(_0x3bc22f=_0x4436e9[_0x5bcefd])&&(_0x2e710b=_0x3bc22f(_0x2e710b)||_0x2e710b);return _0x2e710b;},_0x814107=(_0x32650d,_0x429866)=>(_0x14d81a,_0xc5bae8)=>_0x429866(_0x14d81a,_0xc5bae8,_0x32650d);const _0x1bbfd4=0x12c,_0x394bb3=0x64;let _0x105960=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x158403,_0x5ed86e,_0x312404,_0x322d2b,_0x50973c,_0x211cc4,_0x2828ae,_0x4e05bb,_0x1a2d9b){const _0x3f833a=_0x3b5918;super(),_0x491c37(this,_0x3f833a(0x3f1),!0x1),_0x491c37(this,'_init',!0x1),_0x491c37(this,_0x3f833a(0x214),new _0xcb3a0a['BehaviorSubject'](new Map())),_0x491c37(this,_0x3f833a(0x18f),this['_cursorInfo$'][_0x3f833a(0x1ed)]()),_0x491c37(this,_0x3f833a(0x21d),new _0xcb3a0a[(_0x3f833a(0x273))]([])),_0x491c37(this,'roomMembers$',this[_0x3f833a(0x21d)][_0x3f833a(0x1b4)](_0xcb3a0a[_0x3f833a(0x277)](_0x1bbfd4))),_0x491c37(this,_0x3f833a(0x2d2),_0x458f8c[_0x3f833a(0x23f)](_0x5afe46=>{const _0x48091a=_0x3f833a,_0x58ab77={'eventID':_0xda915b[_0x48091a(0x269)][_0x48091a(0x268)],'data':{'unitID':this['unitID'],'memberID':this[_0x48091a(0x3bf)]['getMemberID'](),'selection':_0x3b14f0(_0x5afe46)}};this['_session'][_0x48091a(0x1fe)](_0x58ab77,this[_0x48091a(0x2a5)]);},_0x394bb3)),(this[_0x3f833a(0x2a5)]=_0x158403,this['_session']=_0x5ed86e,this[_0x3f833a(0x391)]=_0x312404,this[_0x3f833a(0x34a)]=_0x322d2b,this[_0x3f833a(0x27d)]=_0x50973c,this[_0x3f833a(0x2cc)]=_0x211cc4,this[_0x3f833a(0x39f)]=_0x2828ae,this[_0x3f833a(0x3af)]=_0x4e05bb,this[_0x3f833a(0x3a2)]=_0x1a2d9b);}get['cursorInfo'](){const _0x2b89bb=_0x3b5918;return this[_0x2b89bb(0x214)]['getValue']();}get[_0x3b5918(0x23e)](){const _0x2d914b=_0x3b5918;return this['_roomMembers$'][_0x2d914b(0x18a)]();}[_0x3b5918(0x2f9)](){const _0x49242f=_0x3b5918;super[_0x49242f(0x2f9)](),this[_0x49242f(0x214)]['next'](new Map()),this[_0x49242f(0x214)][_0x49242f(0x2a0)](),this[_0x49242f(0x21d)][_0x49242f(0x1c2)]([]),this[_0x49242f(0x21d)]['complete']();}[_0x3b5918(0x1f3)](){const _0x295cdc=_0x3b5918;this['_init']||(this[_0x295cdc(0x32d)]=!0x0,this['_session'][_0x295cdc(0x32c)]['pipe'](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0x191ab0=>{const _0x33d7e9=_0x295cdc;_0x191ab0===_0x5b005f[_0x33d7e9(0x23a)]['ONLINE']?this[_0x33d7e9(0x3b1)]():this[_0x33d7e9(0x291)]();}),this['_session']['event$'][_0x295cdc(0x1b4)](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0x16e306=>{const _0x43e47b=_0x295cdc,_0x3f7a84=_0x16e306['eventID'];_0x3f7a84===_0xda915b['CollaborationEvent'][_0x43e47b(0x268)]&&this[_0x43e47b(0x39d)](_0x16e306),_0x3f7a84===_0xda915b['CollaborationEvent']['USERS_LEAVE']&&this[_0x43e47b(0x1de)](_0x16e306);}),this['disposeWithMe'](this[_0x295cdc(0x3a2)][_0x295cdc(0x1ab)](_0x2fa53d=>{const _0x5e9a84=_0x295cdc,_0x182773=_0x2fa53d['params'];_0x182773!=null&&this[_0x5e9a84(0x3f1)]&&_0x2fa53d['id']===_0x2f1fcc['SetTextSelectionsOperation']['id']&&_0x182773['unitId']===this[_0x5e9a84(0x2a5)]&&_0x182773['isEditing']===!0x1&&_0x182773['ranges']['length']>0x0&&this[_0x5e9a84(0x2d2)](_0x182773[_0x5e9a84(0x19b)]);})),this['_syncEditingCollabCursorService'][_0x295cdc(0x1c9)][_0x295cdc(0x1b4)](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0xe13796=>{const _0x19c1fc=_0x295cdc;if((_0xe13796==null?void 0x0:_0xe13796['unitID'])!==this[_0x19c1fc(0x2a5)])return;const _0x18bbc={'eventID':_0xda915b[_0x19c1fc(0x269)][_0x19c1fc(0x268)],'data':_0xe13796};this[_0x19c1fc(0x39d)](_0x18bbc);}),this[_0x295cdc(0x266)](this['_commandService'][_0x295cdc(0x1ab)](_0x34ad13=>{const _0x4aabb8=_0x295cdc;if(_0x34ad13['params']==null)return;const _0x322a79=_0x34ad13[_0x4aabb8(0x200)];if(_0x34ad13['id']!==_0x2f1fcc[_0x4aabb8(0x353)]['id']||_0x322a79[_0x4aabb8(0x3be)]!==this['unitID'])return;const _0x588366={'id':_0x4aabb8(0x388),'params':_0x322a79},_0x27aa0b=this[_0x4aabb8(0x333)];for(const [_0x4e59e9,_0x45690]of _0x27aa0b){const _0x30e830={'id':_0x4aabb8(0x388),'params':{'unitId':this[_0x4aabb8(0x2a5)],'actions':null,'textRanges':_0x45690[_0x4aabb8(0x19b)]}},_0x165242=this[_0x4aabb8(0x39f)][_0x4aabb8(0x1f1)](_0x588366,_0x30e830,!0x1);if(_0xda915b[_0x4aabb8(0x249)](_0x165242))throw _0x165242[_0x4aabb8(0x3a1)];_0x27aa0b[_0x4aabb8(0x2a7)](_0x4e59e9,{..._0x45690,'ranges':_0x165242[_0x4aabb8(0x246)]['params'][_0x4aabb8(0x2b8)]});}queueMicrotask(()=>{const _0x30adda=_0x4aabb8;this[_0x30adda(0x214)][_0x30adda(0x1c2)](_0x27aa0b);});})));}[_0x3b5918(0x39d)](_0x50875d){const _0x5c449a=_0x3b5918;var _0x558a5f,_0x21410d;const {memberID:_0x242b7e,selection:_0x5bc063}=_0x50875d[_0x5c449a(0x3c3)],_0x5be081=_0x2bd960(_0x5bc063),_0x30c122=(_0x21410d=(_0x558a5f=this[_0x5c449a(0x27d)][_0x5c449a(0x33d)](this[_0x5c449a(0x2a5)],_0x242b7e))==null?void 0x0:_0x558a5f[_0x5c449a(0x2d1)])!=null?_0x21410d:_0x5c449a(0x1fa),_0xd94c41={'color':this[_0x5c449a(0x34a)][_0x5c449a(0x3e7)](_0x242b7e),'name':_0x30c122,'ranges':_0x5be081},_0x5ce659=this[_0x5c449a(0x333)];_0x5ce659[_0x5c449a(0x2a7)](_0x242b7e,_0xd94c41),this[_0x5c449a(0x214)][_0x5c449a(0x1c2)](_0x5ce659);}[_0x3b5918(0x1de)](_0xe013ab){const _0x2beb5d=_0x3b5918,{memberID:_0x5bdcaa}=_0xe013ab[_0x2beb5d(0x3c3)],_0x473de7=this[_0x2beb5d(0x333)];_0x473de7[_0x2beb5d(0x1a2)](_0x5bdcaa),this[_0x2beb5d(0x214)][_0x2beb5d(0x1c2)](_0x473de7);}[_0x3b5918(0x3b1)](){const _0x304545=_0x3b5918;var _0x551e89;if(this[_0x304545(0x3f1)]=!0x0,((_0x551e89=this[_0x304545(0x3af)][_0x304545(0x307)]())==null?void 0x0:_0x551e89[_0x304545(0x39a)]())!==this[_0x304545(0x2a5)])return;const _0x2e0f54=this['_injector']['get'](_0x2f1fcc[_0x304545(0x1be)])[_0x304545(0x30e)]();Array[_0x304545(0x19a)](_0x2e0f54)&&_0x2e0f54[_0x304545(0x399)]>0x0&&this[_0x304545(0x2d2)](_0x2e0f54);}[_0x3b5918(0x291)](){this['_online']=!0x1;}};_0x105960=_0x139ec5([_0x814107(0x2,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x814107(0x3,_0x458f8c[_0x3b5918(0x219)](_0x36bc68)),_0x814107(0x4,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2d6)])),_0x814107(0x5,_0x458f8c['Inject'](_0x28bc01)),_0x814107(0x6,_0xda915b[_0x3b5918(0x27f)]),_0x814107(0x7,_0x458f8c[_0x3b5918(0x2c0)]),_0x814107(0x8,_0x458f8c['ICommandService'])],_0x105960);var _0x1b2745=Object['getOwnPropertyDescriptor'],_0x3864da=(_0x5ed2fd,_0x27edfe,_0x5d2f20,_0x4441d4)=>{for(var _0x1547dc=_0x4441d4>0x1?void 0x0:_0x4441d4?_0x1b2745(_0x27edfe,_0x5d2f20):_0x27edfe,_0x1444d3=_0x5ed2fd['length']-0x1,_0x455ce8;_0x1444d3>=0x0;_0x1444d3--)(_0x455ce8=_0x5ed2fd[_0x1444d3])&&(_0x1547dc=_0x455ce8(_0x1547dc)||_0x1547dc);return _0x1547dc;},_0x4d3a1f=(_0x1a626f,_0x4d1c07)=>(_0x2d4429,_0x1a9f53)=>_0x4d1c07(_0x2d4429,_0x1a9f53,_0x1a626f);const _0x1c21e8=0x12c,_0x52b2a6=0x64,_0x44067a=()=>{let _0x501089=[],_0x10f0a7=!0x1;return _0x211417=>{const _0x283ed1=_0x20ed;_0x501089[_0x283ed1(0x1ba)](_0x211417),_0x10f0a7||(_0x10f0a7=!0x0,setTimeout(()=>{_0x501089['forEach'](_0x45d79a=>_0x45d79a()),_0x501089=[],_0x10f0a7=!0x1;}));};};let _0x13a896=class extends _0x458f8c['RxDisposable']{constructor(_0x4ce33b,_0x4297e5,_0x245f37,_0x21c628,_0x3ff0f2,_0x12ad28,_0x5f2a0d,_0x41b66e){const _0x5d9edc=_0x3b5918;super(),_0x491c37(this,_0x5d9edc(0x3f1),!0x1),_0x491c37(this,_0x5d9edc(0x32d),!0x1),_0x491c37(this,_0x5d9edc(0x214),new _0xcb3a0a['BehaviorSubject'](new Map())),_0x491c37(this,_0x5d9edc(0x18f),this[_0x5d9edc(0x214)][_0x5d9edc(0x1ed)]()),_0x491c37(this,_0x5d9edc(0x21d),new _0xcb3a0a[(_0x5d9edc(0x273))]([])),_0x491c37(this,_0x5d9edc(0x261),this[_0x5d9edc(0x21d)][_0x5d9edc(0x1b4)](_0xcb3a0a[_0x5d9edc(0x277)](_0x1c21e8))),_0x491c37(this,_0x5d9edc(0x2d2),_0x458f8c[_0x5d9edc(0x23f)]((_0x12aece,_0x4162a4)=>{const _0x128dbb=_0x5d9edc,_0x41559f={'eventID':_0xda915b['CollaborationEvent'][_0x128dbb(0x268)],'data':{'unitID':this['unitID'],'memberID':this[_0x128dbb(0x3bf)][_0x128dbb(0x1cb)](),'selection':_0x1c8522[_0x128dbb(0x36d)](_0x12aece,_0x4162a4[_0x128dbb(0x332)])}};this[_0x128dbb(0x3bf)][_0x128dbb(0x1fe)](_0x41559f,this[_0x128dbb(0x2a5)]);},_0x52b2a6)),(this[_0x5d9edc(0x2a5)]=_0x4ce33b,this[_0x5d9edc(0x3bf)]=_0x4297e5,this['_injector']=_0x245f37,this[_0x5d9edc(0x34a)]=_0x21c628,this['_memberService']=_0x3ff0f2,this['_univerInstanceService']=_0x12ad28,this['_commandService']=_0x5f2a0d,this[_0x5d9edc(0x392)]=_0x41b66e);}get[_0x3b5918(0x333)](){const _0x452736=_0x3b5918;return this[_0x452736(0x214)][_0x452736(0x18a)]();}get[_0x3b5918(0x23e)](){return this['_roomMembers$']['getValue']();}[_0x3b5918(0x2f9)](){const _0x5002cf=_0x3b5918;super[_0x5002cf(0x2f9)](),this[_0x5002cf(0x214)][_0x5002cf(0x1c2)](new Map()),this[_0x5002cf(0x214)]['complete'](),this[_0x5002cf(0x21d)][_0x5002cf(0x1c2)]([]),this[_0x5002cf(0x21d)][_0x5002cf(0x2a0)]();}[_0x3b5918(0x1f3)](){const _0x1d03d6=_0x3b5918;this[_0x1d03d6(0x32d)]||(this[_0x1d03d6(0x32d)]=!0x0,this[_0x1d03d6(0x3bf)]['sessionStatus$']['pipe'](_0xcb3a0a[_0x1d03d6(0x3fb)](this[_0x1d03d6(0x2f7)]))['subscribe'](_0x451368=>{const _0x406924=_0x1d03d6;_0x451368===_0x5b005f[_0x406924(0x23a)]['ONLINE']?this[_0x406924(0x3b1)]():this[_0x406924(0x291)]();}),this['_session'][_0x1d03d6(0x222)][_0x1d03d6(0x1b4)](_0xcb3a0a[_0x1d03d6(0x3fb)](this[_0x1d03d6(0x2f7)]))[_0x1d03d6(0x240)](_0x30e982=>{const _0x329b36=_0x1d03d6,_0x2f7655=_0x30e982[_0x329b36(0x1d4)];_0x2f7655===_0xda915b[_0x329b36(0x269)][_0x329b36(0x268)]&&this[_0x329b36(0x39d)](_0x30e982),_0x2f7655===_0xda915b['CollaborationEvent'][_0x329b36(0x1fc)]&&this[_0x329b36(0x1de)](_0x30e982);}),this[_0x1d03d6(0x33c)](),this[_0x1d03d6(0x266)](this[_0x1d03d6(0x3a2)][_0x1d03d6(0x1ab)](_0x57bb8a=>{const _0xcf9b28=_0x1d03d6;if(this[_0xcf9b28(0x3f1)]&&_0x57bb8a['id']===_0x4e3457[_0xcf9b28(0x2ea)]['id']&&_0x57bb8a['params']['unitId']===this[_0xcf9b28(0x2a5)]){const _0x1008fc=_0x57bb8a[_0xcf9b28(0x200)];this[_0xcf9b28(0x2d2)](_0x1008fc['subUnitId'],_0x1008fc[_0xcf9b28(0x3e8)][0x0]);}})));}[_0x3b5918(0x39d)](_0x3cba8e){const _0x5bf734=_0x3b5918;var _0x2534e6,_0x23c779;const {memberID:_0x1b0f69,selection:_0x2b5227}=_0x3cba8e[_0x5bf734(0x3c3)],{sheetName:_0x55597c,range:_0x29289e}=_0x1c8522[_0x5bf734(0x372)](_0x2b5227),_0x33175a={'name':(_0x23c779=(_0x2534e6=this[_0x5bf734(0x27d)]['getMember'](this[_0x5bf734(0x2a5)],_0x1b0f69))==null?void 0x0:_0x2534e6[_0x5bf734(0x2d1)])!=null?_0x23c779:_0x5bf734(0x1fa),'range':this[_0x5bf734(0x3b3)](_0x55597c,_0x29289e),'sheetID':_0x55597c,'color':this[_0x5bf734(0x34a)]['assignAColorForMemberID'](_0x1b0f69),'selection':_0x2b5227},_0x14a93e=this[_0x5bf734(0x333)];_0x14a93e['set'](_0x1b0f69,_0x33175a),this[_0x5bf734(0x214)]['next'](_0x14a93e);}['_onCursorDelete'](_0x737e8e){const _0x71013=_0x3b5918,{memberID:_0x30312c}=_0x737e8e[_0x71013(0x3c3)],_0x232e9f=this['cursorInfo'];_0x232e9f['delete'](_0x30312c),this[_0x71013(0x214)][_0x71013(0x1c2)](_0x232e9f);}[_0x3b5918(0x3b3)](_0x46e73a,_0x1dccaf){const _0x4f3e41=_0x3b5918;var _0x2ee0ac,_0xf51dfb;const _0x5673bc=(_0xf51dfb=(_0x2ee0ac=this[_0x4f3e41(0x3af)][_0x4f3e41(0x1e4)](this[_0x4f3e41(0x2a5)]))==null?void 0x0:_0x2ee0ac['getSheetBySheetId'](_0x46e73a))==null?void 0x0:_0xf51dfb['getMergeData']();return(_0x5673bc==null?void 0x0:_0x5673bc[_0x4f3e41(0x25a)](_0x6774a7=>_0x458f8c[_0x4f3e41(0x2d3)][_0x4f3e41(0x381)](_0x6774a7,_0x1dccaf)))||_0x1dccaf;}[_0x3b5918(0x33c)](){const _0x46e04b=_0x3b5918,_0x5bf5c2=new _0x458f8c[(_0x46e04b(0x3ac))](),_0x276596=_0x44067a(),_0xe7c530=()=>{const _0x46f260=_0x46e04b;_0x5bf5c2[_0x46f260(0x2f9)]();const _0x11e4a9=(_0x54267c,_0x4987e1,_0x5d8baf,_0x545e14)=>{const _0x202e44=_0x46f260;let _0x5a05f1=[];switch(_0x54267c['id']){case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x32f)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x2e7)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x262)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x36a)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x385)]:{_0x5a05f1=_0x4e3457['handleInsertCol'](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x2ae)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x294)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x3a4)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x1db)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x18e)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x2cd)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x1cf)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x18d)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x315)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x1ff)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x2f6)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x33b)](_0x54267c,_0x545e14);break;}}const _0x1c1476=_0x4e3457['runRefRangeMutations'](_0x5a05f1,_0x545e14),_0x3149fe=this[_0x202e44(0x333)][_0x202e44(0x357)](_0x4987e1);if(_0x3149fe&&_0x1c1476){const _0xfb606b={..._0x3149fe,'range':_0x1c1476};this[_0x202e44(0x333)][_0x202e44(0x2a7)](_0x4987e1,_0xfb606b),_0x276596(()=>{const _0x406290=_0x202e44,_0x3fd711=this[_0x406290(0x392)]['registerRefRange'](_0x1c1476,_0x3b5587=>(_0x3fd711['dispose'](),_0x11e4a9(_0x3b5587,_0x4987e1,_0x5d8baf,_0x1c1476)));_0x5bf5c2['add'](_0x3fd711);});}return{'redos':[],'undos':[]};};this[_0x46f260(0x333)]['forEach']((_0x5c079d,_0x37be0a)=>{const _0xea7dfa=_0x46f260,{range:_0x2ac17d,sheetID:_0x1635e2}=_0x5c079d,_0x2db5f5=this['_refRangeService'][_0xea7dfa(0x300)](_0x2ac17d,_0x56434c=>(_0x2db5f5['dispose'](),_0x11e4a9(_0x56434c,_0x37be0a,_0x1635e2,_0x2ac17d)));_0x5bf5c2[_0xea7dfa(0x339)](_0x2db5f5);});};this[_0x46e04b(0x266)](_0x458f8c['toDisposable'](this[_0x46e04b(0x214)][_0x46e04b(0x240)](()=>{_0xe7c530();})));}[_0x3b5918(0x3b1)](){const _0x16a2c1=_0x3b5918;var _0xbd0b7d,_0xa4b13b;if(this[_0x16a2c1(0x3f1)]=!0x0,((_0xbd0b7d=this[_0x16a2c1(0x3af)][_0x16a2c1(0x307)]())==null?void 0x0:_0xbd0b7d[_0x16a2c1(0x39a)]())!==this[_0x16a2c1(0x2a5)])return;const _0x3415dc=(_0xa4b13b=this[_0x16a2c1(0x391)][_0x16a2c1(0x357)](_0x4e3457[_0x16a2c1(0x27c)])['getCurrentSelections']())==null?void 0x0:_0xa4b13b[0x0],_0xaf1216=this[_0x16a2c1(0x3af)][_0x16a2c1(0x16d)](_0x458f8c[_0x16a2c1(0x1b3)][_0x16a2c1(0x3ea)])[_0x16a2c1(0x202)]();_0x3415dc&&_0xaf1216&&this[_0x16a2c1(0x2d2)](_0xaf1216[_0x16a2c1(0x2e3)](),_0x3415dc);}[_0x3b5918(0x291)](){this['_online']=!0x1;}};_0x13a896=_0x3864da([_0x4d3a1f(0x2,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x4d3a1f(0x3,_0x458f8c[_0x3b5918(0x219)](_0x36bc68)),_0x4d3a1f(0x4,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2d6)])),_0x4d3a1f(0x5,_0x458f8c[_0x3b5918(0x2c0)]),_0x4d3a1f(0x6,_0x458f8c[_0x3b5918(0x321)]),_0x4d3a1f(0x7,_0x458f8c[_0x3b5918(0x219)](_0x4e3457[_0x3b5918(0x3ba)]))],_0x13a896);var _0x4b3be6=Object['getOwnPropertyDescriptor'],_0x583ce6=(_0x23eea8,_0x47fb2d,_0x415346,_0x1fc03e)=>{const _0x4070af=_0x3b5918;for(var _0x17434a=_0x1fc03e>0x1?void 0x0:_0x1fc03e?_0x4b3be6(_0x47fb2d,_0x415346):_0x47fb2d,_0xd9188e=_0x23eea8[_0x4070af(0x399)]-0x1,_0xa332b1;_0xd9188e>=0x0;_0xd9188e--)(_0xa332b1=_0x23eea8[_0xd9188e])&&(_0x17434a=_0xa332b1(_0x17434a)||_0x17434a);return _0x17434a;},_0x48fa35=(_0x3b2ec7,_0x5e8154)=>(_0x431765,_0x299a92)=>_0x5e8154(_0x431765,_0x299a92,_0x3b2ec7);let _0x3c03bf=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x57fdfd,_0x2380e7,_0x50d60d){const _0x1ed9f7=_0x3b5918;super(),_0x491c37(this,_0x1ed9f7(0x21a),new Map()),_0x491c37(this,_0x1ed9f7(0x2c8),new _0xcb3a0a['Subject']()),(this[_0x1ed9f7(0x3af)]=_0x57fdfd,this['_injector']=_0x2380e7,this[_0x1ed9f7(0x1d0)]=_0x50d60d,this['_init']());}[_0x3b5918(0x2f9)](){const _0x26a422=_0x3b5918;super[_0x26a422(0x2f9)](),this[_0x26a422(0x2c8)][_0x26a422(0x2a0)](),this[_0x26a422(0x21a)][_0x26a422(0x38d)](_0x304ee7=>_0x304ee7[_0x26a422(0x2f9)]());}[_0x3b5918(0x251)](_0x2c0e80){const _0x381d60=_0x3b5918;return this[_0x381d60(0x21a)][_0x381d60(0x1b7)](_0x2c0e80)?this[_0x381d60(0x21a)]['get'](_0x2c0e80)['cursorInfo$']:this[_0x381d60(0x2c8)][_0x381d60(0x1b4)](_0xcb3a0a[_0x381d60(0x232)](_0x1dd5ee=>_0x1dd5ee[_0x381d60(0x2a5)]===_0x2c0e80),_0xcb3a0a[_0x381d60(0x308)](_0x5c87bb=>_0x5c87bb[_0x381d60(0x18f)]));}[_0x3b5918(0x32d)](){const _0x58fa6d=_0x3b5918;this[_0x58fa6d(0x3af)]['getTypeOfUnitAdded$'](_0x458f8c['UniverInstanceType'][_0x58fa6d(0x3ea)])[_0x58fa6d(0x1b4)](_0xcb3a0a[_0x58fa6d(0x3fb)](this[_0x58fa6d(0x2f7)]))[_0x58fa6d(0x240)](async _0x2fa3f7=>{const _0x46c899=_0x58fa6d,_0x1dd50d=_0x2fa3f7[_0x46c899(0x39a)](),_0x37fcf5=await this[_0x46c899(0x2ce)](_0x1dd50d);this[_0x46c899(0x2c8)]['next'](_0x37fcf5),this['_entities']['set'](_0x1dd50d,_0x37fcf5);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3dc)])[_0x58fa6d(0x1b4)](_0xcb3a0a['takeUntil'](this[_0x58fa6d(0x2f7)]))[_0x58fa6d(0x1b4)](_0xcb3a0a['filter'](_0x525dee=>!_0x525dee['getUnitId']()[_0x58fa6d(0x20c)]('__')))[_0x58fa6d(0x240)](async _0x289e24=>{const _0x47aace=_0x58fa6d,_0x409e1f=_0x289e24[_0x47aace(0x39a)](),_0x3b5514=await this['_startDocCollabCursor'](_0x409e1f);this[_0x47aace(0x2c8)][_0x47aace(0x1c2)](_0x3b5514),this[_0x47aace(0x21a)][_0x47aace(0x2a7)](_0x409e1f,_0x3b5514);}),_0xcb3a0a[_0x58fa6d(0x221)](this['_univerInstanceService'][_0x58fa6d(0x329)](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3dc)]),this[_0x58fa6d(0x3af)]['getTypeOfUnitDisposed$'](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3ea)]))[_0x58fa6d(0x1b4)](_0xcb3a0a[_0x58fa6d(0x3fb)](this['dispose$']))[_0x58fa6d(0x240)](_0x433c3f=>{const _0x1e9432=_0x58fa6d,_0x3059cb=_0x433c3f[_0x1e9432(0x39a)](),_0x5db8cd=this['_entities'][_0x1e9432(0x357)](_0x3059cb);_0x5db8cd&&(_0x5db8cd[_0x1e9432(0x2f9)](),this['_entities'][_0x1e9432(0x1a2)](_0x3059cb));});}async[_0x3b5918(0x2ce)](_0x313ffc){const _0x1d59ec=_0x3b5918,_0x3c3f80=await this[_0x1d59ec(0x1d0)][_0x1d59ec(0x215)](_0x313ffc),_0x405492=this[_0x1d59ec(0x391)]['createInstance'](_0x13a896,_0x313ffc,_0x3c3f80);return _0x405492[_0x1d59ec(0x1f3)](),_0x405492;}async[_0x3b5918(0x302)](_0x42df17){const _0x280614=_0x3b5918,_0x2342cb=await this[_0x280614(0x1d0)][_0x280614(0x215)](_0x42df17),_0x38387d=this['_injector'][_0x280614(0x1c1)](_0x105960,_0x42df17,_0x2342cb);return _0x38387d[_0x280614(0x1f3)](),_0x38387d;}};_0x3c03bf=_0x583ce6([_0x48fa35(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x48fa35(0x1,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x48fa35(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationSessionService']))],_0x3c03bf);const _0x4fdf9f=0x14,_0x38bd92=0xc8,_0x4290d0=0x4,_0x15c729=0x5;function _0x43757c(_0xc1b1e2,_0xa02994){const _0x3aa5a0=_0x3b5918;let {radius:_0x106cca,width:_0x35de0a,height:_0x918576}=_0xa02994;_0x106cca=_0x106cca!=null?_0x106cca:0x0,_0x35de0a=_0x35de0a!=null?_0x35de0a:0x1e,_0x918576=_0x918576!=null?_0x918576:0x1e;let _0x48d000=0x0,_0x20b6cc=0x0,_0x5300a2=0x0;_0x48d000=_0x20b6cc=_0x5300a2=Math[_0x3aa5a0(0x1a5)](_0x106cca,_0x35de0a/0x2,_0x918576/0x2),_0xc1b1e2['beginPath'](),_0xc1b1e2[_0x3aa5a0(0x3f3)](_0x48d000,0x0),_0xc1b1e2['lineTo'](_0x35de0a-_0x20b6cc,0x0),_0xc1b1e2[_0x3aa5a0(0x253)](_0x35de0a-_0x20b6cc,_0x20b6cc,_0x20b6cc,Math['PI']*0x3/0x2,0x0,!0x1),_0xc1b1e2[_0x3aa5a0(0x3f2)](_0x35de0a,_0x918576-_0x5300a2),_0xc1b1e2[_0x3aa5a0(0x253)](_0x35de0a-_0x5300a2,_0x918576-_0x5300a2,_0x5300a2,0x0,Math['PI']/0x2,!0x1),_0xc1b1e2[_0x3aa5a0(0x3f2)](0x0,_0x918576),_0xc1b1e2[_0x3aa5a0(0x3f2)](0x0,_0x48d000),_0xc1b1e2[_0x3aa5a0(0x253)](_0x48d000,_0x48d000,_0x48d000,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc1b1e2[_0x3aa5a0(0x3e4)](),_0xa02994[_0x3aa5a0(0x31b)]&&(_0xc1b1e2[_0x3aa5a0(0x356)](),_0xc1b1e2[_0x3aa5a0(0x204)]=_0xa02994[_0x3aa5a0(0x31b)],_0xa02994[_0x3aa5a0(0x398)]===_0x3aa5a0(0x208)?_0xc1b1e2[_0x3aa5a0(0x31b)](_0x3aa5a0(0x208)):_0xc1b1e2['fill'](),_0xc1b1e2['restore']());}class _0x336f5a extends _0x268e65['Shape']{constructor(_0x2a270f,_0xa9f25e){const _0x1d6b69=_0x3b5918;super(_0x2a270f,_0xa9f25e),_0x491c37(this,_0x1d6b69(0x186)),_0x491c37(this,'text'),(this['color']=_0xa9f25e==null?void 0x0:_0xa9f25e[_0x1d6b69(0x186)],this['text']=_0xa9f25e==null?void 0x0:_0xa9f25e[_0x1d6b69(0x210)]);}static[_0x3b5918(0x37c)](_0x51e4f6,_0xb70c17){const _0x2d71bd=_0x3b5918,{text:_0x51354c,color:_0xe7663d}=_0xb70c17;_0x51e4f6['save'](),_0x51e4f6[_0x2d71bd(0x34b)]=_0x2d71bd(0x275);const _0x1e016c=_0x51e4f6[_0x2d71bd(0x21c)](_0x51354c)[_0x2d71bd(0x2b5)],_0x554552=Math[_0x2d71bd(0x1a5)](_0x1e016c+0x2*_0x4290d0,_0x38bd92);_0x43757c(_0x51e4f6,{'height':_0x4fdf9f,'radius':0x4,'width':_0x554552,'fill':_0xe7663d}),_0x51e4f6[_0x2d71bd(0x204)]=_0x2d71bd(0x1e6);const _0x540f42=_0x4290d0,_0x1cccf0=_0x4fdf9f-_0x15c729,_0x1d2062=_0x38bd92-0x2*_0x4290d0;if(_0x1e016c>_0x1d2062){let _0x252d0e='',_0x316a7a=0x0;for(const _0x3f4387 of _0x51354c){const _0x444e68=_0x51e4f6[_0x2d71bd(0x21c)](_0x3f4387)['width'];if(_0x316a7a+_0x444e68<=_0x1d2062-_0x51e4f6[_0x2d71bd(0x21c)]('...')[_0x2d71bd(0x2b5)])_0x252d0e+=_0x3f4387,_0x316a7a+=_0x444e68;else{_0x252d0e+=_0x2d71bd(0x17c);break;}}_0x51e4f6[_0x2d71bd(0x39c)](_0x252d0e,_0x540f42,_0x1cccf0);}else _0x51e4f6[_0x2d71bd(0x39c)](_0x51354c,_0x540f42,_0x1cccf0);_0x51e4f6[_0x2d71bd(0x192)]();}['_draw'](_0x22153a){const _0x59d5aa=_0x3b5918;_0x336f5a[_0x59d5aa(0x37c)](_0x22153a,this);}}const _0x2c9ddb=_0x3b5918(0x3d3),_0x5b5524=_0x3b5918(0x1d3),_0x19004e=_0x3b5918(0x358),_0x43ac55=0x6,_0x2001da=1.5,_0x2766ec=0x4,_0x302e6d=1.5,_0x15e63f=_0x3b5918(0x351);class _0x4eda02{constructor(_0x36fa70,_0x31a168,_0x51d14f,_0xe70c88){const _0x61e309=_0x3b5918;_0x491c37(this,_0x61e309(0x3c8),[]),_0x491c37(this,_0x61e309(0x3a7),null),_0x491c37(this,_0x61e309(0x2e0),null),_0x491c37(this,'_anchorDot',null),_0x491c37(this,_0x61e309(0x247),null),_0x491c37(this,_0x61e309(0x371),null),(this[_0x61e309(0x346)]=_0x36fa70,this['_scene']=_0x31a168,this[_0x61e309(0x1f9)]=_0x51d14f,this['_document']=_0xe70c88,this[_0x61e309(0x298)]());}set['_hover'](_0x5ae17a){const _0x1cb3b3=_0x3b5918;_0x5ae17a?(this['_anchorDot']&&this[_0x1cb3b3(0x2df)][_0x1cb3b3(0x260)](),this[_0x1cb3b3(0x2e0)]&&this[_0x1cb3b3(0x2e0)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x1cb3b3(0x3f9)](),this[_0x1cb3b3(0x2e0)]&&this[_0x1cb3b3(0x2e0)]['hide']());}[_0x3b5918(0x2f9)](){const _0x5e674e=_0x3b5918;for(const _0x5d7688 of this['_shapes'])_0x5d7688[_0x5e674e(0x2f9)]();this[_0x5e674e(0x2e0)]&&this[_0x5e674e(0x2e0)]['dispose'](),this[_0x5e674e(0x2df)]&&this[_0x5e674e(0x2df)][_0x5e674e(0x2f9)](),this[_0x5e674e(0x3a7)]&&this[_0x5e674e(0x3a7)][_0x5e674e(0x2f9)](),this[_0x5e674e(0x371)]&&this[_0x5e674e(0x371)]();}[_0x3b5918(0x298)](){const _0x120ea3=_0x3b5918;var _0x10d15b;const {_docSkeleton:_0x22bb0b,_document:_0x5aae7b}=this,{color:_0x143c94,name:_0x152d42,ranges:_0x41b5d0}=this[_0x120ea3(0x346)],_0x2a0aa7=_0x5aae7b['getOffsetConfig'](),{docsLeft:_0x1de6e6,docsTop:_0x3b9cda}=_0x2a0aa7,_0x40826f=new _0x3fd6d1[(_0x120ea3(0x1b9))](_0x2a0aa7,_0x22bb0b);for(const {startOffset:_0x354db5,endOffset:_0x33595f,rangeType:_0x4e6f28,segmentId:_0x228b07,segmentPage:_0x124838,collapsed:_0x3fd696,isActive:_0x3c85d3}of _0x41b5d0){const _0x564db0=_0x22bb0b[_0x120ea3(0x3e2)](_0x354db5,!0x0,_0x228b07,_0x124838);let _0x366d90=_0x22bb0b[_0x120ea3(0x3e2)](_0x33595f,!0x0,_0x228b07,_0x124838);if(_0x366d90==null&&(_0x366d90=_0x22bb0b['findNodePositionByCharIndex'](_0x33595f-0x1,!0x1,_0x228b07,_0x124838)),_0x3c85d3){const {contentBoxPointGroup:_0x118490}=_0x40826f[_0x120ea3(0x26d)](_0x366d90,_0x366d90);if(_0x118490[_0x120ea3(0x399)]===0x0)continue;this[_0x120ea3(0x393)](_0x143c94,_0x118490,_0x1de6e6,_0x3b9cda,_0x152d42),this[_0x120ea3(0x371)]=this['_handleHover']();}if(_0x564db0&&_0x366d90){if(_0x4e6f28===_0x458f8c[_0x120ea3(0x2e2)][_0x120ea3(0x278)]){const _0x2ecd61=new _0x3fd6d1['NodePositionConvertToRectRange'](_0x2a0aa7,_0x22bb0b),{pointGroup:_0x1c1b84}=(_0x10d15b=_0x2ecd61['getRangePointData'](_0x564db0,_0x366d90))!=null?_0x10d15b:{};if(_0x1c1b84==null||_0x1c1b84['length']===0x0)continue;this[_0x120ea3(0x2ca)](_0x143c94,_0x1c1b84,_0x1de6e6,_0x3b9cda);}else{if(!_0x3fd696){const {borderBoxPointGroup:_0x15a092}=_0x40826f[_0x120ea3(0x26d)](_0x564db0,_0x366d90);if(_0x15a092[_0x120ea3(0x399)]===0x0)continue;this[_0x120ea3(0x355)](_0x143c94,_0x15a092,_0x1de6e6,_0x3b9cda);}}}}}['_drawAnchor'](_0x1ffcd2,_0x3df0fb,_0x5e16e1,_0x2ee6cb,_0x235880){const _0x266db9=_0x3b5918,_0x547dc4=this['_getAnchorBounding'](_0x3df0fb),{left:_0x42baee,top:_0x1d7b4b,height:_0x510f06}=_0x547dc4,_0x206581=this['_getScale'](),_0x3af569=_0x302e6d/_0x206581,_0x57d71e=new _0x268e65[(_0x266db9(0x2bc))](_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)][_0x266db9(0x3a6)](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb,'height':_0x510f06,'width':_0x2001da,'fill':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c[_0x266db9(0x1e0)][_0x266db9(0x25c)],0x0),'strokeWidth':_0x3af569,'stroke':_0x15e63f,'evented':!0x0});this[_0x266db9(0x3a7)]=_0x57d71e,this['_scene']['addObject'](_0x57d71e,_0x3fd6d1[_0x266db9(0x2e9)]);const _0x1b26e0=new _0x268e65[(_0x266db9(0x2bc))](_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)][_0x266db9(0x3a6)](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb-_0x2766ec/0x2,'height':_0x2766ec,'width':_0x2766ec,'fill':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c['COLORS'][_0x266db9(0x25c)],0x0),'strokeWidth':0x0,'stroke':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c[_0x266db9(0x1e0)][_0x266db9(0x25c)],0x0),'evented':!0x1});this[_0x266db9(0x2df)]=_0x1b26e0,this[_0x266db9(0x3d4)][_0x266db9(0x3d6)](_0x1b26e0,_0x3fd6d1[_0x266db9(0x2e9)]);const _0x1d66df=new _0x336f5a(_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)]['generateRandomId'](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb-_0x4fdf9f,'text':_0x235880,'color':_0x1ffcd2});this[_0x266db9(0x2e0)]=_0x1d66df,this[_0x266db9(0x3d4)]['addObject'](_0x1d66df,_0x3fd6d1[_0x266db9(0x2e9)]),this['_hover']=!0x1;}['_handleHover'](){const _0x16bec1=_0x3b5918,_0x150f4b=this[_0x16bec1(0x3a7)][_0x16bec1(0x199)][_0x16bec1(0x2b6)](()=>{this['_hover']=!0x0;}),_0x2de5c5=this['_anchor'][_0x16bec1(0x1e2)][_0x16bec1(0x2b6)](()=>{const _0x5ea432=_0x16bec1;this[_0x5ea432(0x247)]&&clearTimeout(this[_0x5ea432(0x247)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x560359=_0x16bec1;_0x150f4b[_0x560359(0x1e3)](),_0x2de5c5['unsubscribe']();};}[_0x3b5918(0x355)](_0xc86acd,_0x50884d,_0x21caa1,_0x5d0712){const _0x3c4022=_0x3b5918,_0x430844=new _0x458f8c[(_0x3c4022(0x270))](_0xc86acd)['setAlpha'](0.2)[_0x3c4022(0x1e1)](),_0x32e7ab=new _0x268e65['RegularPolygon'](_0x5b5524+_0x458f8c[_0x3c4022(0x29e)][_0x3c4022(0x3a6)](_0x43ac55),{'pointsGroup':_0x50884d,'fill':_0x430844||_0x268e65[_0x3c4022(0x2fa)](_0x458f8c['COLORS'][_0x3c4022(0x25c)],0.2),'left':_0x21caa1,'top':_0x5d0712,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3c4022(0x1ba)](_0x32e7ab),this[_0x3c4022(0x3d4)][_0x3c4022(0x3d6)](_0x32e7ab,_0x3fd6d1[_0x3c4022(0x2e9)]);}[_0x3b5918(0x2ca)](_0x2cee74,_0x591080,_0x5bc612,_0x2ac388){const _0x595978=_0x3b5918,_0x3c92bb=new _0x458f8c['ColorKit'](_0x2cee74)[_0x595978(0x211)](0.2)[_0x595978(0x1e1)](),_0x27da6e=new _0x268e65[(_0x595978(0x2ac))](_0x19004e+_0x458f8c[_0x595978(0x29e)]['generateRandomId'](_0x43ac55),{'pointsGroup':_0x591080,'fill':_0x3c92bb||_0x268e65[_0x595978(0x2fa)](_0x458f8c[_0x595978(0x1e0)][_0x595978(0x25c)],0.2),'left':_0x5bc612,'top':_0x2ac388,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x595978(0x3c8)][_0x595978(0x1ba)](_0x27da6e),this[_0x595978(0x3d4)][_0x595978(0x3d6)](_0x27da6e,_0x3fd6d1[_0x595978(0x2e9)]);}[_0x3b5918(0x31f)](_0x189eca){const _0x58d51a=_0x189eca[0x0],_0x1615ea=_0x58d51a[0x0],_0x29bab5=_0x58d51a[0x2],{x:_0x4130b8,y:_0x19f40e}=_0x1615ea,{x:_0x5ccacb,y:_0x3df70c}=_0x29bab5;return{'left':_0x4130b8,'top':_0x19f40e,'width':_0x5ccacb-_0x4130b8,'height':_0x3df70c-_0x19f40e};}[_0x3b5918(0x191)](){const _0xdb0647=_0x3b5918,{scaleX:_0x2ab870,scaleY:_0x3bd291}=this[_0xdb0647(0x3d4)][_0xdb0647(0x2c4)]();return Math[_0xdb0647(0x27e)](_0x2ab870,_0x3bd291);}}var _0x53884f=Object[_0x3b5918(0x1a0)],_0x114839=(_0x4e33b5,_0x33eee0,_0x2b5181,_0x1a256f)=>{const _0x32072e=_0x3b5918;for(var _0x4aeb23=_0x1a256f>0x1?void 0x0:_0x1a256f?_0x53884f(_0x33eee0,_0x2b5181):_0x33eee0,_0x7b0099=_0x4e33b5[_0x32072e(0x399)]-0x1,_0x25ac62;_0x7b0099>=0x0;_0x7b0099--)(_0x25ac62=_0x4e33b5[_0x7b0099])&&(_0x4aeb23=_0x25ac62(_0x4aeb23)||_0x4aeb23);return _0x4aeb23;},_0x3cf8e8=(_0x31b46e,_0x1749c0)=>(_0x1177e7,_0x316547)=>_0x1749c0(_0x1177e7,_0x316547,_0x31b46e);let _0x59373c=class extends _0x458f8c['RxDisposable']{constructor(_0x52051a,_0x451d8f,_0x5caa66,_0x1d4c53,_0x4fdf40){const _0x730a1b=_0x3b5918;super(),_0x491c37(this,_0x730a1b(0x1b1),[]),_0x491c37(this,_0x730a1b(0x16b),[]),(this[_0x730a1b(0x3a0)]=_0x52051a,this['_docSkeletonManagerService']=_0x451d8f,this['_collabCursorController']=_0x5caa66,this[_0x730a1b(0x3a2)]=_0x1d4c53,this[_0x730a1b(0x1b8)]=_0x4fdf40,this[_0x730a1b(0x32d)]());}['_init'](){const _0x36ff28=_0x3b5918,_0x5d3908=this[_0x36ff28(0x3a0)][_0x36ff28(0x3be)],_0x2927b3=this[_0x36ff28(0x2d8)];this[_0x36ff28(0x266)](_0xcb3a0a['combineLatest']([this[_0x36ff28(0x26b)][_0x36ff28(0x251)](_0x5d3908),this[_0x36ff28(0x1b8)][_0x36ff28(0x2da)]])['pipe'](_0x33e39c['map'](([_0x5bf572,_0x546701])=>({'skeleton':_0x2927b3['getSkeleton'](),'cursors':[..._0x5bf572[_0x36ff28(0x31e)]()]['flatMap'](_0x3f32e0=>({..._0x3f32e0,'color':_0x546701[_0x3f32e0[_0x36ff28(0x186)]]}))})))[_0x36ff28(0x240)](_0x47f42a=>{const _0x5ea67e=_0x36ff28;if(this[_0x5ea67e(0x2bb)](),_0x47f42a){const {skeleton:_0x2dde6d,cursors:_0x1a28fe}=_0x47f42a;this[_0x5ea67e(0x1c3)](_0x2dde6d,_0x1a28fe);}})),this[_0x36ff28(0x201)](),this[_0x36ff28(0x218)]();}['_updateCollabCursors'](_0x54d40b,_0x4551b0){const _0x3a5858=_0x3b5918,{scene:_0x25dc28,mainComponent:_0x76dadc}=this[_0x3a5858(0x3a0)],_0x4597e7=_0x4551b0[_0x3a5858(0x1ad)](_0x5c1862=>new _0x4eda02(_0x5c1862,_0x25dc28,_0x54d40b,_0x76dadc));this[_0x3a5858(0x1b1)]=_0x4597e7,this['_cursors']=_0x4551b0;}[_0x3b5918(0x21f)](){const _0x117e10=_0x3b5918;this[_0x117e10(0x2bb)]();const {scene:_0x77ab1a,mainComponent:_0x402762}=this[_0x117e10(0x3a0)],_0x20b870=this['_docSkeletonManagerService']['getSkeleton'](),_0x105584=this['_cursors'][_0x117e10(0x1ad)](_0x2d385d=>new _0x4eda02(_0x2d385d,_0x77ab1a,_0x20b870,_0x402762));this[_0x117e10(0x1b1)]=_0x105584;}[_0x3b5918(0x2bb)](){const _0x3dd19f=_0x3b5918;this[_0x3dd19f(0x1b1)][_0x3dd19f(0x38d)](_0x11755b=>_0x11755b[_0x3dd19f(0x2f9)]()),this[_0x3dd19f(0x1b1)]=[];}[_0x3b5918(0x218)](){const _0x4160d4=_0x3b5918,_0x30ad8f=[_0x3fd6d1['SetDocZoomRatioOperation']['id']];this[_0x4160d4(0x266)](this['_commandService'][_0x4160d4(0x1ab)](_0x176929=>{const _0x16adcc=_0x4160d4;_0x30ad8f[_0x16adcc(0x258)](_0x176929['id'])&&_0x176929[_0x16adcc(0x200)][_0x16adcc(0x3be)]===this[_0x16adcc(0x3a0)][_0x16adcc(0x3be)]&&this[_0x16adcc(0x21f)]();}));}[_0x3b5918(0x201)](){const _0x1b1b47=_0x3b5918;this['disposeWithMe'](_0x458f8c[_0x1b1b47(0x292)](this[_0x1b1b47(0x3a0)][_0x1b1b47(0x175)][_0x1b1b47(0x2e4)])[_0x1b1b47(0x1b4)](_0x33e39c[_0x1b1b47(0x232)](_0x4bb5de=>_0x4bb5de[_0x1b1b47(0x382)]===_0x268e65[_0x1b1b47(0x344)]['resize']),_0x33e39c[_0x1b1b47(0x3e1)](0x10))['subscribe'](()=>{const _0x48e49d=_0x1b1b47;this[_0x48e49d(0x21f)]();}));}};_0x59373c=_0x114839([_0x3cf8e8(0x1,_0x458f8c['Inject'](_0x2f1fcc['DocSkeletonManagerService'])),_0x3cf8e8(0x2,_0x458f8c[_0x3b5918(0x219)](_0x3c03bf)),_0x3cf8e8(0x3,_0x458f8c[_0x3b5918(0x321)]),_0x3cf8e8(0x4,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x29a)]))],_0x59373c);const _0x530089=0x1,_0x3cf659=1.5;class _0xf6c169 extends _0x268e65[_0x3b5918(0x3cd)]{constructor(_0x296348,_0x1e3df4){const _0x592aef=_0x3b5918;super(_0x296348,_0x1e3df4),_0x491c37(this,_0x592aef(0x229)),_0x491c37(this,_0x592aef(0x337),!0x1),_0x491c37(this,_0x592aef(0x2c6)),_0x491c37(this,_0x592aef(0x2b7),''),_0x491c37(this,_0x592aef(0x38b),_0x592aef(0x1c5)),_0x491c37(this,_0x592aef(0x19f)),(_0x1e3df4&&this[_0x592aef(0x1f8)](_0x1e3df4),this[_0x592aef(0x199)]['subscribeEvent'](()=>this[_0x592aef(0x1f8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x592aef(0x2b6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3b5918(0x1f8)](_0x2a26cc){const _0x50a74f=_0x3b5918;var _0x5c69d2,_0x10872d,_0x3c5e6e,_0x27bb3e,_0x383783,_0x12fa57;this['_color']=(_0x5c69d2=_0x2a26cc['color'])!=null?_0x5c69d2:this['_color'],this['_hovered']=(_0x10872d=_0x2a26cc[_0x50a74f(0x26a)])!=null?_0x10872d:this['_hovered'],this[_0x50a74f(0x2c6)]=(_0x3c5e6e=_0x2a26cc[_0x50a74f(0x332)])!=null?_0x3c5e6e:this[_0x50a74f(0x2c6)],this[_0x50a74f(0x2b7)]=(_0x27bb3e=_0x2a26cc[_0x50a74f(0x2d1)])!=null?_0x27bb3e:this[_0x50a74f(0x2b7)],this[_0x50a74f(0x38b)]=(_0x383783=_0x2a26cc['labelPosition'])!=null?_0x383783:this['_labelPosition'],this[_0x50a74f(0x19f)]=(_0x12fa57=_0x2a26cc[_0x50a74f(0x2a4)])!=null?_0x12fa57:this[_0x50a74f(0x19f)],this[_0x50a74f(0x3c1)]({'width':_0x2a26cc[_0x50a74f(0x2b5)],'height':_0x2a26cc[_0x50a74f(0x173)]});}['onMouseMove'](_0x81e3a2){const _0x277fd4=_0x3b5918,{row:_0x133da9,column:_0x2153f8}=_0x81e3a2;if(_0x133da9>=this['_range'][_0x277fd4(0x384)]&&_0x133da9<=this[_0x277fd4(0x2c6)][_0x277fd4(0x28c)]&&_0x2153f8>=this[_0x277fd4(0x2c6)][_0x277fd4(0x328)]&&_0x2153f8<=this['_range'][_0x277fd4(0x2ef)]){this[_0x277fd4(0x1f8)]({'hovered':!0x0});return;}this[_0x277fd4(0x1f8)]({'hovered':!0x1});}['triggerDblclick'](_0x59ddda){return!0x1;}[_0x3b5918(0x1c8)](_0x530811){const _0x4e0bfd=_0x3b5918;_0x268e65[_0x4e0bfd(0x2bc)][_0x4e0bfd(0x37c)](_0x530811,{'width':this[_0x4e0bfd(0x2b5)],'height':this['height'],'strokeWidth':_0x3cf659,'stroke':this[_0x4e0bfd(0x229)],'evented':!0x1,'fill':this[_0x4e0bfd(0x19f)]}),this[_0x4e0bfd(0x337)]&&(_0x530811[_0x4e0bfd(0x356)](),_0x530811['transform'](0x1,0x0,0x0,0x1,this[_0x4e0bfd(0x2b5)],this[_0x4e0bfd(0x38b)]===_0x4e0bfd(0x37b)?0x0:-0x14),_0x336f5a[_0x4e0bfd(0x37c)](_0x530811,{'text':this[_0x4e0bfd(0x2b7)],'color':this[_0x4e0bfd(0x229)]}),_0x530811['restore']());}}var _0x4d958a=Object[_0x3b5918(0x1a0)],_0x3387bc=(_0x18e763,_0x39a668,_0x87960f,_0x26cb77)=>{const _0x5073af=_0x3b5918;for(var _0x596e8e=_0x26cb77>0x1?void 0x0:_0x26cb77?_0x4d958a(_0x39a668,_0x87960f):_0x39a668,_0x63591c=_0x18e763[_0x5073af(0x399)]-0x1,_0x38dfab;_0x63591c>=0x0;_0x63591c--)(_0x38dfab=_0x18e763[_0x63591c])&&(_0x596e8e=_0x38dfab(_0x596e8e)||_0x596e8e);return _0x596e8e;},_0x45ef83=(_0x3514ac,_0x5ab7a6)=>(_0x38fd38,_0x4cdbd0)=>_0x5ab7a6(_0x38fd38,_0x4cdbd0,_0x3514ac);const _0x2510db=0x1389;let _0x4bb42a=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x446aa6,_0x3d1dd7,_0x52930e,_0x1f75ad){const _0x3b92e9=_0x3b5918;super(),_0x491c37(this,_0x3b92e9(0x16b),new Set()),_0x491c37(this,'_lastPointer',null),(this[_0x3b92e9(0x3a0)]=_0x446aa6,this['_sheetSkeletonManagerService']=_0x3d1dd7,this[_0x3b92e9(0x26b)]=_0x52930e,this[_0x3b92e9(0x1b8)]=_0x1f75ad,this[_0x3b92e9(0x32d)]());}[_0x3b5918(0x32d)](){const _0x13d611=_0x3b5918;this[_0x13d611(0x389)]['currentSkeleton$']['pipe'](_0x33e39c[_0x13d611(0x3fb)](this[_0x13d611(0x2f7)]),_0x33e39c[_0x13d611(0x308)](_0x39ad8e=>{const _0x35f5f8=_0x13d611;if(_0x39ad8e){const _0x523445=_0x39ad8e[_0x35f5f8(0x1ce)];return _0xcb3a0a[_0x35f5f8(0x3ae)](this[_0x35f5f8(0x26b)][_0x35f5f8(0x251)](this[_0x35f5f8(0x3a0)]['unitId']),this[_0x35f5f8(0x1b8)][_0x35f5f8(0x2da)])[_0x35f5f8(0x1b4)](_0x33e39c[_0x35f5f8(0x1ad)](([_0x21dc8d,_0xae26f3])=>{const _0x5b07c5=new Map();return _0x21dc8d['forEach']((_0x3e394a,_0x118fdc)=>{const _0x153c0c=_0x20ed;if(_0x3e394a['sheetID']===_0x523445){const _0x531813={..._0x3e394a};_0x531813[_0x153c0c(0x186)]=_0xae26f3[_0x3e394a[_0x153c0c(0x186)]],_0x5b07c5[_0x153c0c(0x2a7)](_0x118fdc,_0x531813);}}),{'skeleton':_0x39ad8e,'cursors':_0x5b07c5};}));}return _0xcb3a0a['of']({'skeleton':null,'cursors':new Map()});}))[_0x13d611(0x240)](({skeleton:_0x2e9b6e,cursors:_0x2a4ab0})=>{const _0x34710a=_0x13d611;this[_0x34710a(0x2bb)](),_0x2e9b6e&&this[_0x34710a(0x1c3)](_0x2e9b6e,_0x2a4ab0);}),this['_sheetSkeletonManagerService'][_0x13d611(0x18b)][_0x13d611(0x240)](_0x2f6d0f=>{const _0xf576fc=_0x13d611;if(_0x2f6d0f==null)return;const {skeleton:_0x35c955}=_0x2f6d0f,{scene:_0xac4dc5}=this['_context'];_0xac4dc5[_0xf576fc(0x352)][_0xf576fc(0x2b6)](_0x458f8c['debounce'](_0x44b856=>{const _0xe77fac=_0xf576fc;var _0x561377,_0xb2d012;const {offsetX:_0x4e5c29,offsetY:_0x1c215c}=_0x44b856,{x:_0x360373,y:_0x44fdb4}=_0xac4dc5['getRelativeToViewportCoord'](_0x268e65['Vector2'][_0xe77fac(0x20e)]([_0x4e5c29,_0x1c215c])),{scaleX:_0x3c3eaf,scaleY:_0x1f1569}=_0xac4dc5[_0xe77fac(0x2c4)](),_0x86f2b6=_0xac4dc5[_0xe77fac(0x35f)](_0x268e65[_0xe77fac(0x1c0)][_0xe77fac(0x1e7)]),_0x30ae3a=_0xac4dc5[_0xe77fac(0x172)](_0x268e65[_0xe77fac(0x241)][_0xe77fac(0x20e)]([_0x360373,_0x44fdb4]),_0x86f2b6),_0x1eb033=_0x35c955[_0xe77fac(0x3d1)](_0x4e5c29,_0x1c215c,_0x3c3eaf,_0x1f1569,_0x30ae3a);((_0x561377=this[_0xe77fac(0x2e6)])==null?void 0x0:_0x561377[_0xe77fac(0x3c6)])===_0x1eb033[_0xe77fac(0x3c6)]&&((_0xb2d012=this[_0xe77fac(0x2e6)])==null?void 0x0:_0xb2d012[_0xe77fac(0x323)])===_0x1eb033[_0xe77fac(0x323)]||this['_cursors']['forEach'](_0x2d9f57=>{const _0x3c95a8=_0xe77fac;_0x2d9f57[_0x3c95a8(0x25d)](_0x1eb033);});},0x64));});}[_0x3b5918(0x1c3)](_0x1788d5,_0x221cfd){const _0x5885af=_0x3b5918;var _0xde404c;const _0x5c3f50=(_0xde404c=this[_0x5885af(0x389)][_0x5885af(0x3e0)]())==null?void 0x0:_0xde404c['skeleton'];if(!_0x5c3f50)return;const _0x359e6f=this[_0x5885af(0x22a)]();if(!_0x359e6f)return;this[_0x5885af(0x16b)][_0x5885af(0x38d)](_0x57a7d1=>{_0x57a7d1['makeDirty']();});const {scene:_0xf3dad2}=_0x359e6f,_0x4f70fd=_0x5e1184(Array[_0x5885af(0x31d)](_0x221cfd[_0x5885af(0x31e)]()))['map'](_0x25ccd2=>{const _0x744568=_0x5885af,{color:_0x25a9cf,range:_0x58fb29,name:_0x5a1495,selection:_0x2954cf,sheetID:_0x29085b}=_0x25ccd2,{startColumn:_0x2ad751,startRow:_0xeae72d,endColumn:_0x11eac4,endRow:_0x37de8b}=_0x58fb29,_0x50b313=_0x278dfd[_0x744568(0x38e)](_0xeae72d,_0x2ad751,_0xf3dad2,_0x5c3f50),_0x403dc3=_0x278dfd[_0x744568(0x38e)](_0x37de8b,_0x11eac4,_0xf3dad2,_0x5c3f50),{columnHeaderHeightAndMarginTop:_0x3ad91c}=_0x5c3f50,{startX:_0x49d232,startY:_0x570fd5}=_0x50b313,{endX:_0x411e1e,endY:_0x2c3d88}=_0x403dc3,_0x39a7f8=_0x411e1e-_0x49d232,_0x2db332=_0x2c3d88-_0x570fd5,_0x151576={'labelPosition':_0x570fd5-_0x3ad91c>=_0x4fdf9f?'top':_0x744568(0x37b),'sheetID':_0x29085b,'range':_0x58fb29,'color':_0x25a9cf,'name':_0x5a1495,'selection':_0x2954cf,'left':_0x49d232,'top':_0x570fd5,'width':_0x39a7f8,'height':_0x2db332,'evented':!0x1,'zIndex':_0x2510db};return new _0xf6c169(_0x5a1495,_0x151576);});_0xf3dad2[_0x5885af(0x380)](_0x4f70fd,_0x530089),this[_0x5885af(0x16b)]=new Set(_0x4f70fd);}[_0x3b5918(0x2bb)](){const _0x457526=_0x3b5918;var _0x4b6000;(_0x4b6000=this[_0x457526(0x16b)])==null||_0x4b6000[_0x457526(0x38d)](_0x5a5d4f=>_0x5a5d4f[_0x457526(0x2f9)]());}[_0x3b5918(0x22a)](){const _0xbe57d6=_0x3b5918;return _0x278dfd[_0xbe57d6(0x231)](this[_0xbe57d6(0x3a0)][_0xbe57d6(0x29d)],this[_0xbe57d6(0x3a0)]);}};_0x4bb42a=_0x3387bc([_0x45ef83(0x1,_0x458f8c['Inject'](_0x278dfd['SheetSkeletonManagerService'])),_0x45ef83(0x2,_0x458f8c['Inject'](_0x3c03bf)),_0x45ef83(0x3,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x29a)]))],_0x4bb42a);function _0x5e1184(_0x1ded53){const _0x5dabc7=_0x3b5918,_0xdfb089=new Map();return _0x1ded53[_0x5dabc7(0x38d)](_0x1a1458=>{const _0x3bc6af=_0x5dabc7;if(_0xdfb089[_0x3bc6af(0x1b7)](_0x1a1458['selection'])){const _0x5adb89=_0xdfb089[_0x3bc6af(0x357)](_0x1a1458['selection']);_0x5adb89[_0x3bc6af(0x2d1)]+=',\x20'+_0x1a1458[_0x3bc6af(0x2d1)];}else _0xdfb089['set'](_0x1a1458[_0x3bc6af(0x257)],_0x1a1458);}),Array[_0x5dabc7(0x31d)](_0xdfb089[_0x5dabc7(0x31e)]());}var _0x4b62f8=function(){const _0xd06694=_0x3b5918;return _0x4b62f8=Object[_0xd06694(0x2f3)]||function(_0x588392){const _0x588a8d=_0xd06694;for(var _0x326429,_0x5980a5=0x1,_0x1f3ad1=arguments[_0x588a8d(0x399)];_0x5980a5<_0x1f3ad1;_0x5980a5++){_0x326429=arguments[_0x5980a5];for(var _0xd54671 in _0x326429)Object[_0x588a8d(0x2fb)][_0x588a8d(0x226)]['call'](_0x326429,_0xd54671)&&(_0x588392[_0xd54671]=_0x326429[_0xd54671]);}return _0x588392;},_0x4b62f8[_0xd06694(0x228)](this,arguments);},_0x599f4d=function(_0x534981,_0x3ab01c){const _0x4cf158=_0x3b5918;var _0x361fde={};for(var _0x49af60 in _0x534981)Object[_0x4cf158(0x2fb)][_0x4cf158(0x226)][_0x4cf158(0x1d8)](_0x534981,_0x49af60)&&_0x3ab01c[_0x4cf158(0x2f5)](_0x49af60)<0x0&&(_0x361fde[_0x49af60]=_0x534981[_0x49af60]);if(_0x534981!=null&&typeof Object[_0x4cf158(0x3c9)]=='function'){for(var _0x607e6c=0x0,_0x49af60=Object['getOwnPropertySymbols'](_0x534981);_0x607e6c<_0x49af60[_0x4cf158(0x399)];_0x607e6c++)_0x3ab01c[_0x4cf158(0x2f5)](_0x49af60[_0x607e6c])<0x0&&Object[_0x4cf158(0x2fb)]['propertyIsEnumerable'][_0x4cf158(0x1d8)](_0x534981,_0x49af60[_0x607e6c])&&(_0x361fde[_0x49af60[_0x607e6c]]=_0x534981[_0x49af60[_0x607e6c]]);}return _0x361fde;},_0x4ec426=_0x31ea74[_0x3b5918(0x390)](function(_0x13a7ec,_0x9495e7){const _0x4992d5=_0x3b5918;var _0x494bec=_0x13a7ec[_0x4992d5(0x373)],_0x116c08=_0x13a7ec['id'],_0x2bc987=_0x13a7ec['className'],_0x4fbe9f=_0x13a7ec[_0x4992d5(0x3a9)],_0x3b61c0=_0x599f4d(_0x13a7ec,['icon','id',_0x4992d5(0x348),_0x4992d5(0x3a9)]),_0x470214='univerjs-icon\x20univerjs-icon-'[_0x4992d5(0x32a)](_0x116c08,'\x20')[_0x4992d5(0x32a)](_0x2bc987||'')[_0x4992d5(0x3fe)](),_0x1c6a80=_0x31ea74[_0x4992d5(0x3ec)]('_'[_0x4992d5(0x32a)](_0x159be2()));return _0x58a165(_0x494bec,''[_0x4992d5(0x32a)](_0x116c08),{'defIds':_0x494bec[_0x4992d5(0x179)],'idSuffix':_0x1c6a80[_0x4992d5(0x243)]},_0x4b62f8({'ref':_0x9495e7,'className':_0x470214},_0x3b61c0),_0x4fbe9f);});function _0x58a165(_0x41bee8,_0x2762a3,_0x5388fe,_0x451e30,_0x274d26){const _0xa153a=_0x3b5918;return _0x31ea74[_0xa153a(0x16f)](_0x41bee8[_0xa153a(0x170)],_0x4b62f8(_0x4b62f8({'key':_0x2762a3},_0x407171(_0x41bee8,_0x5388fe,_0x274d26)),_0x451e30),(_0x309d0e(_0x41bee8,_0x5388fe)[_0xa153a(0x3f4)]||[])[_0xa153a(0x1ad)](function(_0x1b72e4,_0x25c7b4){const _0x4a9c7c=_0xa153a;return _0x58a165(_0x1b72e4,''['concat'](_0x2762a3,'-')[_0x4a9c7c(0x32a)](_0x41bee8[_0x4a9c7c(0x170)],'-')[_0x4a9c7c(0x32a)](_0x25c7b4),_0x5388fe,void 0x0,_0x274d26);}));}function _0x407171(_0x388a57,_0x2709e3,_0x9a9251){const _0x2b67fc=_0x3b5918;var _0x48d9cf=_0x4b62f8({},_0x388a57[_0x2b67fc(0x213)]);_0x9a9251!=null&&_0x9a9251[_0x2b67fc(0x374)]&&_0x48d9cf[_0x2b67fc(0x31b)]===_0x2b67fc(0x374)&&(_0x48d9cf[_0x2b67fc(0x31b)]=_0x9a9251[_0x2b67fc(0x374)]),_0x388a57[_0x2b67fc(0x170)]===_0x2b67fc(0x230)&&_0x48d9cf['id']&&(_0x48d9cf['id']=_0x48d9cf['id']+_0x2709e3['idSuffix']),Object[_0x2b67fc(0x1f4)](_0x48d9cf)[_0x2b67fc(0x38d)](function(_0x505747){const _0x33640c=_0x2b67fc;var _0x7af876=_0x505747[0x0],_0x3caa1f=_0x505747[0x1];_0x7af876===_0x33640c(0x230)&&typeof _0x3caa1f==_0x33640c(0x1ac)&&(_0x48d9cf[_0x7af876]=_0x3caa1f[_0x33640c(0x285)](/url\(#(.*)\)/,_0x33640c(0x349)[_0x33640c(0x32a)](_0x2709e3[_0x33640c(0x354)],')')));});var _0x383015=_0x2709e3[_0x2b67fc(0x179)];return!_0x383015||_0x383015['length']===0x0||(_0x388a57[_0x2b67fc(0x170)]===_0x2b67fc(0x1f2)&&_0x48d9cf['xlink:href']&&(_0x48d9cf[_0x2b67fc(0x36f)]=_0x48d9cf[_0x2b67fc(0x36f)]+_0x2709e3[_0x2b67fc(0x354)]),Object[_0x2b67fc(0x1f4)](_0x48d9cf)[_0x2b67fc(0x38d)](function(_0x49e09a){const _0x4be401=_0x2b67fc;var _0xd0f7e5=_0x49e09a[0x0],_0x5c1104=_0x49e09a[0x1];typeof _0x5c1104==_0x4be401(0x1ac)&&(_0x48d9cf[_0xd0f7e5]=_0x5c1104[_0x4be401(0x285)](/url\(#(.*)\)/,_0x4be401(0x349)[_0x4be401(0x32a)](_0x2709e3['idSuffix'],')')));})),_0x48d9cf;}function _0x309d0e(_0x13124e,_0x554907){const _0x27977c=_0x3b5918;var _0x59f1db,_0x390388=_0x554907['defIds'];return!_0x390388||_0x390388[_0x27977c(0x399)]===0x0?_0x13124e:_0x13124e['tag']===_0x27977c(0x1b2)&&(!((_0x59f1db=_0x13124e['children'])===null||_0x59f1db===void 0x0)&&_0x59f1db[_0x27977c(0x399)])?_0x4b62f8(_0x4b62f8({},_0x13124e),{'children':_0x13124e[_0x27977c(0x3f4)][_0x27977c(0x1ad)](function(_0x9e73c5){const _0x2fa2a6=_0x27977c;return typeof _0x9e73c5['attrs']['id']==_0x2fa2a6(0x1ac)&&_0x390388&&_0x390388['indexOf'](_0x9e73c5[_0x2fa2a6(0x213)]['id'])>-0x1?_0x4b62f8(_0x4b62f8({},_0x9e73c5),{'attrs':_0x4b62f8(_0x4b62f8({},_0x9e73c5[_0x2fa2a6(0x213)]),{'id':_0x9e73c5[_0x2fa2a6(0x213)]['id']+_0x554907[_0x2fa2a6(0x354)]})}):_0x9e73c5;})}):_0x13124e;}function _0x159be2(){const _0xdb5e62=_0x3b5918;return Math[_0xdb5e62(0x3cc)]()[_0xdb5e62(0x362)](0x24)[_0xdb5e62(0x2fe)](0x2,0x8);}_0x4ec426[_0x3b5918(0x34e)]='UniverIcon';var _0x3d6387={'tag':_0x3b5918(0x20a),'attrs':{'fill':_0x3b5918(0x35e),'viewBox':_0x3b5918(0x227),'width':_0x3b5918(0x296),'height':_0x3b5918(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b5918(0x1a6)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'stroke':_0x3b5918(0x401),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3b5918(0x1d5),'strokeLinejoin':_0x3b5918(0x1d5),'strokeWidth':1.2}}]},{'tag':_0x3b5918(0x1b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3b5918(0x395)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'fill':_0x3b5918(0x28e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3b5918(0x395)]},_0x5da94a=_0x31ea74[_0x3b5918(0x390)](function(_0x1134d4,_0x1467a2){const _0xd47c5e=_0x3b5918;return _0x31ea74[_0xd47c5e(0x16f)](_0x4ec426,Object[_0xd47c5e(0x2f3)]({},_0x1134d4,{'id':'off-line-single','ref':_0x1467a2,'icon':_0x3d6387}));});_0x5da94a[_0x3b5918(0x34e)]=_0x3b5918(0x22f);var _0x396ee1={'tag':_0x3b5918(0x20a),'attrs':{'fill':'none','viewBox':_0x3b5918(0x2a6),'width':'1em','height':_0x3b5918(0x296)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'stroke':_0x3b5918(0x401),'d':_0x3b5918(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x3b5918(0x1d5),'strokeWidth':1.2}}]},{'tag':_0x3b5918(0x1b2),'attrs':{},'children':[{'tag':_0x3b5918(0x36b),'attrs':{'id':_0x3b5918(0x1d6)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'fill':_0x3b5918(0x28e),'d':_0x3b5918(0x206),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3b5918(0x1d6)]},_0x4365b6=_0x31ea74[_0x3b5918(0x390)](function(_0x17813d,_0x4a2a74){const _0x213ced=_0x3b5918;return _0x31ea74[_0x213ced(0x16f)](_0x4ec426,Object[_0x213ced(0x2f3)]({},_0x17813d,{'id':_0x213ced(0x32e),'ref':_0x4a2a74,'icon':_0x396ee1}));});_0x4365b6[_0x3b5918(0x34e)]=_0x3b5918(0x1ea);const _0x570067={'onlineStatusIcon':_0x3b5918(0x3ee),'onlineStatusTitle':_0x3b5918(0x1ee),'onlineStatus':_0x3b5918(0x276),'online':'univer-online','offline':'univer-offline'};function _0x3d633d(_0x230f49){const _0x522765=_0x3b5918;switch(_0x230f49){case _0x5b005f['CollaborationStatus'][_0x522765(0x317)]:return _0x522765(0x264);case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x181)]:return'collabStatus.conflict';case _0x5b005f[_0x522765(0x3f8)]['FETCH_MISS']:return _0x522765(0x310);case _0x5b005f['CollaborationStatus'][_0x522765(0x1ec)]:return'collabStatus.notCollab';case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x245)]:case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x3fa)]:return _0x522765(0x378);case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x3db)]:case _0x5b005f['CollaborationStatus'][_0x522765(0x24c)]:return _0x522765(0x318);}}function _0x1b1a62(_0x2e74af){const _0x2f2a23=_0x3b5918,{status$:_0x2c87fa}=_0x2e74af,_0x1e0ded=_0x396ac0[_0x2f2a23(0x35c)](_0x2c87fa,_0x5b005f[_0x2f2a23(0x3f8)][_0x2f2a23(0x1ec)]),_0x145daa=_0x396ac0[_0x2f2a23(0x35b)](_0x458f8c[_0x2f2a23(0x26f)]),_0x51bc09=_0x396ac0[_0x2f2a23(0x35b)](_0x5b005f[_0x2f2a23(0x26c)]),_0x320dae=_0x1e0ded!==_0x5b005f[_0x2f2a23(0x3f8)]['OFFLINE'],_0x362cd4=_0x145daa['t'](_0x3d633d(_0x1e0ded)),_0x3f4645=_0x1e946d[_0x2f2a23(0x1bb)](_0x570067['onlineStatus'],{[_0x570067[_0x2f2a23(0x2f4)]]:_0x320dae,[_0x570067[_0x2f2a23(0x26e)]]:!_0x320dae}),_0x36810e=_0x320dae?_0x1f6b47['jsx'](_0x4365b6,{}):_0x1f6b47['jsx'](_0x5da94a,{}),_0x1b16b2=_0x31ea74[_0x2f2a23(0x19c)](()=>{_0x320dae||_0x51bc09['reconnect']();},[_0x320dae,_0x51bc09]);function _0x5670f4(){const _0x1c9c26=_0x2f2a23;return _0x1f6b47[_0x1c9c26(0x30c)](_0x1c9c26(0x1e8),{'className':_0x1e946d[_0x1c9c26(0x1bb)](_0x3f4645,_0x1c9c26(0x2af)),'onClick':_0x1b16b2,'children':[_0x1f6b47[_0x1c9c26(0x1bc)](_0x1c9c26(0x1e8),{'className':_0x570067['onlineStatusIcon'],'children':_0x36810e}),_0x1f6b47[_0x1c9c26(0x1bc)](_0x1c9c26(0x1e8),{'className':_0x570067[_0x1c9c26(0x212)],'children':_0x362cd4})]});}return _0x320dae?_0x5670f4():_0x1f6b47[_0x2f2a23(0x1bc)](_0x1e946d[_0x2f2a23(0x1a8)],{'title':_0x145daa['t'](_0x2f2a23(0x2bd)),'children':_0x5670f4()});}var _0x41de31=Object[_0x3b5918(0x1a0)],_0x5f5d9f=(_0x4b8854,_0x4ffe3e,_0x1a0d52,_0x51e37e)=>{const _0x1baba7=_0x3b5918;for(var _0x36a6e7=_0x51e37e>0x1?void 0x0:_0x51e37e?_0x41de31(_0x4ffe3e,_0x1a0d52):_0x4ffe3e,_0x435688=_0x4b8854[_0x1baba7(0x399)]-0x1,_0x3c7a39;_0x435688>=0x0;_0x435688--)(_0x3c7a39=_0x4b8854[_0x435688])&&(_0x36a6e7=_0x3c7a39(_0x36a6e7)||_0x36a6e7);return _0x36a6e7;},_0x23070a=(_0x127bd3,_0x436a3c)=>(_0x5c13e1,_0x1063b7)=>_0x436a3c(_0x5c13e1,_0x1063b7,_0x127bd3);_0x4bd5b3[_0x3b5918(0x1a4)]=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x43c6c9,_0x14fffb,_0x3a724c,_0xccf7bf){const _0x1bd358=_0x3b5918;super(),_0x491c37(this,_0x1bd358(0x2c7),new _0xcb3a0a[(_0x1bd358(0x273))](_0x5b005f[_0x1bd358(0x3f8)][_0x1bd358(0x1ec)])),(this[_0x1bd358(0x3af)]=_0x43c6c9,this['_injector']=_0x14fffb,this[_0x1bd358(0x3b2)]=_0x3a724c,this[_0x1bd358(0x168)]=_0xccf7bf,this[_0x1bd358(0x2c5)](),this[_0x1bd358(0x3e5)]());}[_0x3b5918(0x3e5)](){const _0xa90354=_0x3b5918;this['disposeWithMe'](this['_univerInstanceService'][_0xa90354(0x284)]['pipe'](_0xcb3a0a[_0xa90354(0x308)](()=>{const _0x5f2767=_0xa90354,_0xa0d299=this[_0x5f2767(0x3af)][_0x5f2767(0x307)]();return _0xa0d299?this['_collaborationController']['getCollabEntity$'](_0xa0d299[_0x5f2767(0x39a)]()):_0xcb3a0a['of'](null);}),_0xcb3a0a['switchMap'](_0x2f023a=>_0x2f023a?_0x2f023a[_0xa90354(0x366)]:_0xcb3a0a['of'](_0x5b005f[_0xa90354(0x3f8)][_0xa90354(0x1ec)])))[_0xa90354(0x240)](_0x3ab6a2=>{const _0x30c91f=_0xa90354;this[_0x30c91f(0x2c7)][_0x30c91f(0x1c2)](_0x3ab6a2);}));}[_0x3b5918(0x2c5)](){const _0x4690d0=_0x3b5918;this[_0x4690d0(0x266)](this['_uiPartsService'][_0x4690d0(0x402)](_0x396ac0[_0x4690d0(0x23d)][_0x4690d0(0x336)],()=>_0x396ac0[_0x4690d0(0x22b)](_0x134712({'status$':this[_0x4690d0(0x2c7)][_0x4690d0(0x1ed)]()}),this[_0x4690d0(0x391)])));}},_0x4bd5b3[_0x3b5918(0x1a4)]=_0x5f5d9f([_0x23070a(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x23070a(0x1,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x23070a(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationController'])),_0x23070a(0x3,_0x396ac0['IUIPartsService'])],_0x4bd5b3[_0x3b5918(0x1a4)]);function _0x134712(_0x17d2d6){const {status$:_0x3ea250}=_0x17d2d6;return function(){const _0x16aafc=_0x20ed;return _0x1f6b47[_0x16aafc(0x1bc)](_0x1b1a62,{'status$':_0x3ea250});};}var _0x81cf30=Object[_0x3b5918(0x1a0)],_0x244888=(_0x119b2f,_0x55dca3,_0x491677,_0x56fa4a)=>{const _0xe3da2e=_0x3b5918;for(var _0x15de1b=_0x56fa4a>0x1?void 0x0:_0x56fa4a?_0x81cf30(_0x55dca3,_0x491677):_0x55dca3,_0x224d84=_0x119b2f[_0xe3da2e(0x399)]-0x1,_0x3943c6;_0x224d84>=0x0;_0x224d84--)(_0x3943c6=_0x119b2f[_0x224d84])&&(_0x15de1b=_0x3943c6(_0x15de1b)||_0x15de1b);return _0x15de1b;},_0x9d43be=(_0x358cbf,_0x3538ae)=>(_0x40948f,_0x468340)=>_0x3538ae(_0x40948f,_0x468340,_0x358cbf);let _0x55543c=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x46a7e5,_0x55a70c,_0x45d816,_0x5cc64e,_0x44ba2e,_0x1dc479){const _0xcf5fed=_0x3b5918;super(),this[_0xcf5fed(0x1e9)]=_0x46a7e5,this[_0xcf5fed(0x207)]=_0x55a70c,this[_0xcf5fed(0x386)]=_0x45d816,this[_0xcf5fed(0x3f6)]=_0x5cc64e,this['_notificationService']=_0x44ba2e,this[_0xcf5fed(0x22d)]=_0x1dc479,this[_0xcf5fed(0x37a)](),this[_0xcf5fed(0x238)]();}['_setupBeforeClosingHandler'](){const _0x1d32b6=_0x3b5918;this[_0x1d32b6(0x266)](this[_0x1d32b6(0x1e9)][_0x1d32b6(0x313)](()=>{const _0x404380=_0x1d32b6;if(this[_0x404380(0x207)][_0x404380(0x3b7)][_0x404380(0x1a1)])return this[_0x404380(0x22d)]['t'](_0x404380(0x1c6));}));}['_initEvent'](){const _0x404226=_0x3b5918;this[_0x404226(0x266)](this['_collaborationUIEventService'][_0x404226(0x222)][_0x404226(0x240)](_0x5adf7a=>{const _0x31ecf1=_0x404226;_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x3c2)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x29b))}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x304)]&&this['_messageService'][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this['_localeService']['t'](_0x31ecf1(0x3cb))}),_0x5adf7a['id']===_0x5b005f['CollaborationUIEventId'][_0x31ecf1(0x22e)]&&this[_0x31ecf1(0x29f)][_0x31ecf1(0x3f9)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x2cf)),'type':'error','duration':0x0}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x181)]&&this['_messageService']['show']({'type':_0x1e946d[_0x31ecf1(0x2c2)]['Error'],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x3cb))+'('+_0x5adf7a[_0x31ecf1(0x3c3)]+')'}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x2b4)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x5adf7a[_0x31ecf1(0x3c3)]||'')}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x177)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x34c))}),_0x5adf7a['id']===_0x5b005f['CollaborationUIEventId'][_0x31ecf1(0x311)]&&this[_0x31ecf1(0x3f6)]['show']({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x3a3)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x169))}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x1dc)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d['MessageType'][_0x31ecf1(0x3a3)],'content':this['_localeService']['t'](_0x31ecf1(0x184))});}));}};_0x55543c=_0x244888([_0x9d43be(0x0,_0x396ac0['IBeforeCloseService']),_0x9d43be(0x1,_0x5b005f[_0x3b5918(0x2ba)]),_0x9d43be(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2b0)])),_0x9d43be(0x3,_0x396ac0[_0x3b5918(0x1a3)]),_0x9d43be(0x4,_0x396ac0['INotificationService']),_0x9d43be(0x5,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x26f)]))],_0x55543c);const _0x47fdb6=_0x3b5918(0x3bc),_0x57b9dc={},_0x1572c8=_0x458f8c[_0x3b5918(0x37e)](_0x3b5918(0x1da));var _0x318d02=Object[_0x3b5918(0x1a0)],_0x570148=(_0x3ec402,_0x129283,_0xa72c4a,_0x1b4852)=>{const _0x3f03b2=_0x3b5918;for(var _0x43aea3=_0x1b4852>0x1?void 0x0:_0x1b4852?_0x318d02(_0x129283,_0xa72c4a):_0x129283,_0x5df8e9=_0x3ec402[_0x3f03b2(0x399)]-0x1,_0x308302;_0x5df8e9>=0x0;_0x5df8e9--)(_0x308302=_0x3ec402[_0x5df8e9])&&(_0x43aea3=_0x308302(_0x43aea3)||_0x43aea3);return _0x43aea3;},_0x420b4c=(_0x457c31,_0x18f126)=>(_0x414add,_0x388708)=>_0x18f126(_0x414add,_0x388708,_0x457c31);_0x4bd5b3['CollaborationDataLoaderController']=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x2984a2,_0x2b38ac,_0x221efc,_0x2090bd,_0xa249df){const _0x3be6cc=_0x3b5918;super(),this[_0x3be6cc(0x167)]=_0x2984a2,this['_logService']=_0x2b38ac,this['_commandService']=_0x221efc,this[_0x3be6cc(0x16e)]=_0x2090bd,_0xa249df?_0xa249df==null||_0xa249df['whenReady']()[_0x3be6cc(0x283)](()=>this[_0x3be6cc(0x32d)]()):(this[_0x3be6cc(0x3fd)]['debug'](_0x3be6cc(0x3fc),_0x3be6cc(0x3c7)),this[_0x3be6cc(0x32d)]());}async[_0x3b5918(0x32d)](){const _0x5c28b2=_0x3b5918,_0x71191d=this[_0x5c28b2(0x167)][_0x5c28b2(0x3c5)]('unit'),_0x2bc7ab=this[_0x5c28b2(0x167)][_0x5c28b2(0x3c5)]('type'),_0x4bc482=this['_urlService']['getParam'](_0x5c28b2(0x17a));if(!_0x71191d||!_0x2bc7ab){this[_0x5c28b2(0x3fd)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x7f1bbd=await this[_0x5c28b2(0x16e)][_0x5c28b2(0x330)](_0x71191d,Number(_0x2bc7ab),_0x4bc482);_0x7f1bbd&&_0x7f1bbd instanceof _0x458f8c['Workbook']&&this[_0x5c28b2(0x30b)](_0x7f1bbd);}async[_0x3b5918(0x30b)](_0x1f92b2){const _0x454be5=_0x3b5918;await this['_updateSubUnitFromURLParams'](_0x1f92b2),_0x1f92b2[_0x454be5(0x3da)]['pipe'](_0xcb3a0a[_0x454be5(0x3fb)](this[_0x454be5(0x2f7)]))[_0x454be5(0x240)](_0x50b58a=>{const _0x271bf8=_0x454be5;_0x50b58a&&this[_0x271bf8(0x2f2)](_0x50b58a);}),this['_urlService'][_0x454be5(0x2dd)][_0x454be5(0x1b4)](_0xcb3a0a[_0x454be5(0x3fb)](this[_0x454be5(0x2f7)]))[_0x454be5(0x240)](()=>this[_0x454be5(0x3b5)](_0x1f92b2));}[_0x3b5918(0x2f2)](_0x4455df,_0x5bc00f=!0x1){const _0x476ac6=_0x3b5918,_0x5cceef=this[_0x476ac6(0x167)][_0x476ac6(0x3c5)](_0x476ac6(0x17a));_0x4455df[_0x476ac6(0x2e3)]()!==_0x5cceef&&this[_0x476ac6(0x167)][_0x476ac6(0x1d9)](_0x476ac6(0x17a),_0x4455df[_0x476ac6(0x2e3)](),_0x5bc00f);}async[_0x3b5918(0x3b5)](_0xd00925){const _0x2cf94c=_0x3b5918;var _0x530843;const _0x14d5ee=this['_urlService'][_0x2cf94c(0x3c5)](_0x2cf94c(0x17a));if(!_0x14d5ee||!_0xd00925['getSheetBySheetId'](_0x14d5ee)){const _0x5b9156=_0xd00925[_0x2cf94c(0x1d7)]()[0x0],_0x54dc6b=_0xd00925[_0x2cf94c(0x1dd)](_0x5b9156);if(!_0x54dc6b)return;this['_updateURLWithCurrentState'](_0x54dc6b,!0x0),await this[_0x2cf94c(0x3a2)][_0x2cf94c(0x30a)](_0x4e3457['SetWorksheetActivateCommand']['id'],{'unitId':_0xd00925[_0x2cf94c(0x39a)](),'subUnitId':_0x5b9156});return;}((_0x530843=_0xd00925[_0x2cf94c(0x202)]())==null?void 0x0:_0x530843['getSheetId']())!==_0x14d5ee&&await this[_0x2cf94c(0x3a2)][_0x2cf94c(0x30a)](_0x4e3457[_0x2cf94c(0x319)]['id'],{'unitId':_0xd00925['getUnitId'](),'subUnitId':_0x14d5ee});}},_0x4bd5b3[_0x3b5918(0x326)]=_0x570148([_0x420b4c(0x0,_0x1572c8),_0x420b4c(0x1,_0x458f8c['ILogService']),_0x420b4c(0x2,_0x458f8c[_0x3b5918(0x321)]),_0x420b4c(0x3,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x343)])),_0x420b4c(0x4,_0x458f8c[_0x3b5918(0x39b)](_0x2a4f33[_0x3b5918(0x190)]))],_0x4bd5b3[_0x3b5918(0x326)]);var _0x3233ed=Object['getOwnPropertyDescriptor'],_0x571717=(_0x385263,_0x4db10e,_0x4ab7fb,_0x46cde6)=>{const _0x46bd15=_0x3b5918;for(var _0x10e06c=_0x46cde6>0x1?void 0x0:_0x46cde6?_0x3233ed(_0x4db10e,_0x4ab7fb):_0x4db10e,_0x102eaa=_0x385263[_0x46bd15(0x399)]-0x1,_0x33ece0;_0x102eaa>=0x0;_0x102eaa--)(_0x33ece0=_0x385263[_0x102eaa])&&(_0x10e06c=_0x33ece0(_0x10e06c)||_0x10e06c);return _0x10e06c;},_0x18c6e8=(_0x307e2e,_0x1c6020)=>(_0x2823c9,_0x898bb4)=>_0x1c6020(_0x2823c9,_0x898bb4,_0x307e2e);let _0xb11750=class{constructor(_0x6dbccf,_0x785666,_0x49c2d2){const _0x246c53=_0x3b5918;this[_0x246c53(0x391)]=_0x6dbccf,this[_0x246c53(0x39f)]=_0x785666,this[_0x246c53(0x387)]=_0x49c2d2;}['transformIMECache'](_0x587ba1){const _0x1ccca7=_0x3b5918;this[_0x1ccca7(0x303)](_0x587ba1),this[_0x1ccca7(0x1cc)](_0x587ba1);}['transformRemoteChangeset'](_0x155ccd){const _0xcf3146=_0x3b5918,{unitID:_0xc081a9}=_0x155ccd,_0x30f5c7=this[_0xcf3146(0x387)][_0xcf3146(0x1ef)](_0xc081a9)[_0xcf3146(0x3ff)](_0x3fd6d1['DocIMEInputManagerService']),{redoCache:_0x355c94}=_0x30f5c7['getUndoRedoMutationParamsCache']();if(_0x355c94[_0xcf3146(0x399)]===0x0)return _0x155ccd;let _0x152928=_0x458f8c[_0xcf3146(0x29e)]['deepClone'](_0x155ccd[_0xcf3146(0x2c1)][0x0]);for(let _0xf78e1f=0x0;_0xf78e1f<_0x355c94['length'];_0xf78e1f++){const _0x176ab2={'id':_0xcf3146(0x388),'params':{..._0x355c94[_0xf78e1f]}},_0xc5dc9f=this[_0xcf3146(0x39f)]['transformMutation'](_0x152928,_0x176ab2,!0x1);if(_0xda915b['isTransformMutationFailure'](_0xc5dc9f))throw _0xc5dc9f[_0xcf3146(0x3a1)];_0x152928=_0xc5dc9f[_0xcf3146(0x3b9)];}return{..._0x458f8c[_0xcf3146(0x29e)][_0xcf3146(0x396)](_0x155ccd),'mutations':[_0x152928]};}['_transformUndoRedoStack'](_0x31d623){const _0x4453e4=_0x3b5918,{unitID:_0x3037f8}=_0x31d623,_0x2df248=this['_renderManagerService'][_0x4453e4(0x1ef)](_0x3037f8)[_0x4453e4(0x3ff)](_0x3fd6d1[_0x4453e4(0x24d)]),{undoCache:_0x4202c6,redoCache:_0x1da3a5}=_0x2df248['getUndoRedoMutationParamsCache']();if(_0x4202c6[_0x4453e4(0x399)]===0x0||_0x1da3a5[_0x4453e4(0x399)]===0x0)return;const _0xba0015=[],_0x1580a7=[];let _0x1487bd=_0x458f8c[_0x4453e4(0x29e)]['deepClone'](_0x31d623[_0x4453e4(0x2c1)][0x0]),_0x5e967=_0x458f8c['Tools']['deepClone'](_0x31d623[_0x4453e4(0x2c1)][0x0]);for(let _0x5705c4=_0x4202c6[_0x4453e4(0x399)]-0x1;_0x5705c4>=0x0;_0x5705c4--){const _0x16a0cc={'id':'doc.mutation.rich-text-editing','params':{..._0x4202c6[_0x5705c4]}},_0x43e153={'id':_0x4453e4(0x388),'params':{..._0x1da3a5[_0x5705c4]}},_0x5a57d7=this[_0x4453e4(0x39f)]['transformMutation'](_0x1487bd,_0x16a0cc,!0x1),_0x35ff96=this[_0x4453e4(0x39f)][_0x4453e4(0x1f1)](_0x5e967,_0x43e153,!0x1);if(_0xda915b[_0x4453e4(0x249)](_0x5a57d7))throw _0x5a57d7[_0x4453e4(0x3a1)];if(_0xda915b['isTransformMutationFailure'](_0x35ff96))throw _0x35ff96[_0x4453e4(0x3a1)];_0xba0015[_0x4453e4(0x17e)](_0x5a57d7[_0x4453e4(0x246)]['params']),_0x1580a7[_0x4453e4(0x17e)](_0x35ff96[_0x4453e4(0x246)][_0x4453e4(0x200)]),_0x1487bd=_0x5a57d7[_0x4453e4(0x3b9)],_0x5e967=_0x35ff96[_0x4453e4(0x3b9)];}_0x2df248[_0x4453e4(0x280)]({'undoCache':_0xba0015,'redoCache':_0x1580a7});}[_0x3b5918(0x1cc)](_0x4a34a7){const _0x3fa522=_0x3b5918,{unitID:_0xf49da9}=_0x4a34a7,_0x444523=this[_0x3fa522(0x387)]['getRenderById'](_0xf49da9)[_0x3fa522(0x3ff)](_0x3fd6d1[_0x3fa522(0x24d)]),_0x37228f=_0x444523[_0x3fa522(0x397)]();if(_0x37228f==null)return;const _0x27d1d4=[{'id':_0x3fa522(0x388),'params':{'unitId':_0x4a34a7['unitID'],'actions':null,'textRanges':[_0x37228f]}}],_0x2ac0c7=this[_0x3fa522(0x39f)]['transformMutationsWithChangeset'](_0x4a34a7,_0x27d1d4);if(!_0xda915b[_0x3fa522(0x1fb)](_0x2ac0c7))throw _0x2ac0c7[_0x3fa522(0x3a1)];const _0x246665=_0x2ac0c7[_0x3fa522(0x246)][0x0]['params'][_0x3fa522(0x2b8)];Array[_0x3fa522(0x19a)](_0x246665)&&_0x246665[_0x3fa522(0x399)]&&_0x444523['setActiveRange'](_0x246665[0x0]);}};_0xb11750=_0x571717([_0x18c6e8(0x0,_0x458f8c['Inject'](_0x458f8c['Injector'])),_0x18c6e8(0x1,_0xda915b[_0x3b5918(0x27f)]),_0x18c6e8(0x2,_0x268e65['IRenderManagerService'])],_0xb11750);var _0x4012a3=Object['getOwnPropertyDescriptor'],_0x51db67=(_0x3ddda1,_0x46ccc0,_0x59e9d5,_0x168065)=>{const _0x4408ad=_0x3b5918;for(var _0x4ac300=_0x168065>0x1?void 0x0:_0x168065?_0x4012a3(_0x46ccc0,_0x59e9d5):_0x46ccc0,_0x4ce991=_0x3ddda1[_0x4408ad(0x399)]-0x1,_0x391adf;_0x4ce991>=0x0;_0x4ce991--)(_0x391adf=_0x3ddda1[_0x4ce991])&&(_0x4ac300=_0x391adf(_0x4ac300)||_0x4ac300);return _0x4ac300;},_0x528c39=(_0x30b3d3,_0x38eeb9)=>(_0x55628f,_0x4b8908)=>_0x38eeb9(_0x55628f,_0x4b8908,_0x30b3d3);let _0xcb3361=class{constructor(_0x596256,_0x4c001c,_0x530fb2){const _0x5547d4=_0x3b5918;this[_0x5547d4(0x391)]=_0x596256,this[_0x5547d4(0x39f)]=_0x4c001c,this[_0x5547d4(0x3d7)]=_0x530fb2;}[_0x3b5918(0x289)](_0x319f44){const _0x2441f9=_0x3b5918;this[_0x2441f9(0x3ab)](_0x319f44);}['transformRemoteChangeset'](_0x53a9a3){const _0x20019d=_0x3b5918,{unitID:_0x1a804f}=_0x53a9a3,{collaboration:_0xa41830}=this[_0x20019d(0x3d7)][_0x20019d(0x197)](_0x1a804f);if(_0xa41830['length']===0x0)return _0x53a9a3;let _0x39db53=_0x458f8c[_0x20019d(0x29e)]['deepClone'](_0x53a9a3['mutations'][0x0]);for(let _0x2cdb3f=0x0;_0x2cdb3f<_0xa41830[_0x20019d(0x399)];_0x2cdb3f++){const _0x5714d6={'id':_0x20019d(0x388),'params':{'unitId':_0xa41830[_0x2cdb3f]['unitId'],..._0xa41830[_0x2cdb3f][_0x20019d(0x180)]}},_0x285a99=this[_0x20019d(0x39f)]['transformMutation'](_0x39db53,_0x5714d6,!0x1);if(_0xda915b[_0x20019d(0x249)](_0x285a99))throw _0x285a99[_0x20019d(0x3a1)];_0x39db53=_0x285a99['m1Prime'];}return{..._0x458f8c[_0x20019d(0x29e)][_0x20019d(0x396)](_0x53a9a3),'mutations':[_0x39db53]};}[_0x3b5918(0x3ab)](_0x5dfd27){const _0x3ba1f5=_0x3b5918,{unitID:_0x2fd084}=_0x5dfd27,{history:_0x267536,collaboration:_0x53babd}=this['_docStateChangeManagerService'][_0x3ba1f5(0x197)](_0x2fd084);if(_0x267536['length']===0x0&&_0x53babd[_0x3ba1f5(0x399)]===0x0)return;const _0x4f6edd=[],_0x504e1d=[];let _0x5b860e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]),_0x52e57e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]);for(let _0x3a87f4=_0x267536['length']-0x1;_0x3a87f4>=0x0;_0x3a87f4--){const _0x1b2515={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x267536[_0x3a87f4][_0x3ba1f5(0x3be)],..._0x267536[_0x3a87f4]['undoState']}},_0x312229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x267536[_0x3a87f4]['unitId'],..._0x267536[_0x3a87f4][_0x3ba1f5(0x180)]}},_0x365e8b=this['_transformService'][_0x3ba1f5(0x1f1)](_0x5b860e,_0x1b2515,!0x1),_0x24ef73=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x52e57e,_0x312229,!0x1);if(_0xda915b[_0x3ba1f5(0x249)](_0x365e8b))throw _0x365e8b['error'];if(_0xda915b[_0x3ba1f5(0x249)](_0x24ef73))throw _0x24ef73['error'];_0x4f6edd[_0x3ba1f5(0x17e)]({..._0x267536[_0x3a87f4],'undoState':_0x365e8b[_0x3ba1f5(0x246)]['params'],'redoState':_0x24ef73[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)]}),_0x5b860e=_0x365e8b[_0x3ba1f5(0x3b9)],_0x52e57e=_0x24ef73['m1Prime'];}_0x5b860e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]),_0x52e57e=_0x458f8c[_0x3ba1f5(0x29e)][_0x3ba1f5(0x396)](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]);for(let _0x56babf=_0x53babd[_0x3ba1f5(0x399)]-0x1;_0x56babf>=0x0;_0x56babf--){const _0x442a70={'id':_0x3ba1f5(0x388),'params':{'unitId':_0x53babd[_0x56babf][_0x3ba1f5(0x3be)],..._0x53babd[_0x56babf][_0x3ba1f5(0x24a)]}},_0x2b2702={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53babd[_0x56babf][_0x3ba1f5(0x3be)],..._0x53babd[_0x56babf]['redoState']}},_0x36715c=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x5b860e,_0x442a70,!0x1),_0x1fc8b0=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x52e57e,_0x2b2702,!0x1);if(_0xda915b[_0x3ba1f5(0x249)](_0x36715c))throw _0x36715c[_0x3ba1f5(0x3a1)];if(_0xda915b['isTransformMutationFailure'](_0x1fc8b0))throw _0x1fc8b0[_0x3ba1f5(0x3a1)];_0x504e1d[_0x3ba1f5(0x17e)]({..._0x53babd[_0x56babf],'undoState':_0x36715c[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)],'redoState':_0x1fc8b0[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)]}),_0x5b860e=_0x36715c[_0x3ba1f5(0x3b9)],_0x52e57e=_0x1fc8b0[_0x3ba1f5(0x3b9)];}this[_0x3ba1f5(0x3d7)][_0x3ba1f5(0x2b2)](_0x2fd084,{'history':_0x4f6edd,'collaboration':_0x504e1d});}};_0xcb3361=_0x51db67([_0x528c39(0x0,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x528c39(0x1,_0xda915b[_0x3b5918(0x27f)]),_0x528c39(0x2,_0x458f8c['Inject'](_0x3fd6d1['DocStateChangeManagerService']))],_0xcb3361);var _0x3ca562=Object[_0x3b5918(0x1a0)],_0x2d9c96=(_0x55736c,_0x3da885,_0x367732,_0x31294d)=>{const _0xde85c9=_0x3b5918;for(var _0x3d9fbe=_0x31294d>0x1?void 0x0:_0x31294d?_0x3ca562(_0x3da885,_0x367732):_0x3da885,_0x54c78c=_0x55736c[_0xde85c9(0x399)]-0x1,_0x4982c1;_0x54c78c>=0x0;_0x54c78c--)(_0x4982c1=_0x55736c[_0x54c78c])&&(_0x3d9fbe=_0x4982c1(_0x3d9fbe)||_0x3d9fbe);return _0x3d9fbe;},_0x2bfe79=(_0x1becd3,_0x5e3f29)=>(_0x2528b6,_0x2dd51b)=>_0x5e3f29(_0x2528b6,_0x2dd51b,_0x1becd3);let _0xad6fff=class{constructor(_0x37953a,_0x545b6e){const _0x5928ed=_0x3b5918;this[_0x5928ed(0x391)]=_0x37953a,this['_transformService']=_0x545b6e;}[_0x3b5918(0x301)](_0x1b6e50){const _0x550f7a=_0x3b5918;var _0x160fff;const _0x3eabbb=this['_injector'][_0x550f7a(0x357)](_0x2f1fcc[_0x550f7a(0x1be)]),_0x11373a=(_0x160fff=_0x3eabbb[_0x550f7a(0x30e)]())!=null?_0x160fff:[];if(_0x11373a['length']===0x0)return;const _0x5f58c8=_0x1b6e50['unitID'],_0x1c1bdc=[{'id':_0x550f7a(0x388),'params':{'unitId':_0x5f58c8,'actions':null,'textRanges':_0x11373a}}],_0x28432a=this[_0x550f7a(0x39f)][_0x550f7a(0x3ed)](_0x1b6e50,_0x1c1bdc);if(!_0xda915b[_0x550f7a(0x1fb)](_0x28432a))throw _0x28432a['error'];const _0x36b125=_0x28432a[_0x550f7a(0x246)][0x0][_0x550f7a(0x200)][_0x550f7a(0x2b8)];Array['isArray'](_0x36b125)&&_0x36b125[_0x550f7a(0x399)]&&_0x3eabbb[_0x550f7a(0x38a)](_0x36b125,{'unitId':_0x5f58c8,'subUnitId':_0x5f58c8},!0x1);}};_0xad6fff=_0x2d9c96([_0x2bfe79(0x0,_0x458f8c[_0x3b5918(0x219)](_0x458f8c['Injector'])),_0x2bfe79(0x1,_0xda915b[_0x3b5918(0x27f)])],_0xad6fff);var _0xff6159=Object[_0x3b5918(0x1a0)],_0x2f7fce=(_0x17f3dd,_0x54b934,_0x24c8b1,_0x58053f)=>{const _0x230c5d=_0x3b5918;for(var _0x114bfc=_0x58053f>0x1?void 0x0:_0x58053f?_0xff6159(_0x54b934,_0x24c8b1):_0x54b934,_0x7599a2=_0x17f3dd[_0x230c5d(0x399)]-0x1,_0xe16fa;_0x7599a2>=0x0;_0x7599a2--)(_0xe16fa=_0x17f3dd[_0x7599a2])&&(_0x114bfc=_0xe16fa(_0x114bfc)||_0x114bfc);return _0x114bfc;},_0x4ffd9c=(_0xab497a,_0x50b8d3)=>(_0x5807ce,_0x1838c1)=>_0x50b8d3(_0x5807ce,_0x1838c1,_0xab497a);let _0x403462=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x3a4240,_0x1e2375,_0x2a8a0f,_0x54d9cd,_0x286510,_0x243fc2,_0x568814,_0x18e2b9){const _0x3eabb8=_0x3b5918;super(),_0x491c37(this,_0x3eabb8(0x2c7),new _0xcb3a0a[(_0x3eabb8(0x273))](_0x5b005f[_0x3eabb8(0x3f8)][_0x3eabb8(0x1ec)])),(this['_docStateChangeManagerService']=_0x3a4240,this[_0x3eabb8(0x3b2)]=_0x1e2375,this['_docTransformIMECacheService']=_0x2a8a0f,this[_0x3eabb8(0x2c3)]=_0x54d9cd,this[_0x3eabb8(0x1f7)]=_0x286510,this['_docSyncEditingCollabCursorService']=_0x243fc2,this[_0x3eabb8(0x3f6)]=_0x568814,this[_0x3eabb8(0x22d)]=_0x18e2b9,this['_initEntityListener']());}['_initEntityListener'](){const _0x5071ed=_0x3b5918;this[_0x5071ed(0x266)](this[_0x5071ed(0x3b2)][_0x5071ed(0x24b)][_0x5071ed(0x240)](_0x49f79d=>{const _0x331a2b=_0x5071ed,_0x222624=this[_0x331a2b(0x3d7)][_0x331a2b(0x1b5)]['subscribe'](_0x542b4d=>{const _0x3157b0=_0x331a2b;if(_0x542b4d==null)return;const {unitId:_0x529d4d,redoState:_0x29377b,commandId:_0x1b3e63}=_0x542b4d;if(_0x529d4d!==_0x49f79d[_0x3157b0(0x2a5)])return;const _0x349d0c={'id':_0x1b3e63,'type':_0x458f8c['CommandType'][_0x3157b0(0x265)],'params':{'unitId':_0x529d4d,'actions':_0x29377b[_0x3157b0(0x350)],'textRanges':null}};_0x49f79d['onLocalMutation'](_0x349d0c);});if(_0x49f79d['disposeWithMe'](_0x222624),_0x49f79d instanceof _0x5b005f[_0x331a2b(0x3f7)]){const _0x422d66={'onTransformIME':_0x3de5a1=>this[_0x331a2b(0x31c)][_0x331a2b(0x340)](_0x3de5a1),'onTransformState':_0x3f9675=>this['_docTransformStateCacheService'][_0x331a2b(0x289)](_0x3f9675),'onTransformSelections':_0x226759=>this[_0x331a2b(0x1f7)]['transformSelections'](_0x226759),'onSyncEditingCollabCursor':_0x3a81fd=>this[_0x331a2b(0x383)][_0x331a2b(0x2bf)](_0x3a81fd),'onTransformRemoteChangesetByIMECache':_0x4e600d=>this[_0x331a2b(0x31c)][_0x331a2b(0x306)](_0x4e600d),'onTransformRemoteChangesetByStateCache':_0xd4b2ac=>this[_0x331a2b(0x2c3)][_0x331a2b(0x306)](_0xd4b2ac)};_0x49f79d[_0x331a2b(0x254)](_0x422d66);}}));}};_0x403462=_0x2f7fce([_0x4ffd9c(0x0,_0x458f8c['Inject'](_0x3fd6d1['DocStateChangeManagerService'])),_0x4ffd9c(0x1,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationController'])),_0x4ffd9c(0x2,_0x458f8c[_0x3b5918(0x219)](_0xb11750)),_0x4ffd9c(0x3,_0x458f8c[_0x3b5918(0x219)](_0xcb3361)),_0x4ffd9c(0x4,_0x458f8c[_0x3b5918(0x219)](_0xad6fff)),_0x4ffd9c(0x5,_0x458f8c[_0x3b5918(0x219)](_0x28bc01)),_0x4ffd9c(0x6,_0x396ac0[_0x3b5918(0x1a3)]),_0x4ffd9c(0x7,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x26f)]))],_0x403462);var _0x41653a=Object[_0x3b5918(0x1a0)],_0x5be1c5=(_0x27aacf,_0x345d4e,_0xc19503,_0x278369)=>{for(var _0x343481=_0x278369>0x1?void 0x0:_0x278369?_0x41653a(_0x345d4e,_0xc19503):_0x345d4e,_0x5c5bd4=_0x27aacf['length']-0x1,_0x1566dc;_0x5c5bd4>=0x0;_0x5c5bd4--)(_0x1566dc=_0x27aacf[_0x5c5bd4])&&(_0x343481=_0x1566dc(_0x343481)||_0x343481);return _0x343481;},_0x3aac88=(_0x55e209,_0x5be999)=>(_0x3a0350,_0x5c71d1)=>_0x5be999(_0x3a0350,_0x5c71d1,_0x55e209);let _0x1f0df1=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0xca57fd,_0xfe19f8,_0x146c9a){const _0x6d0a97=_0x3b5918;super(),_0x491c37(this,_0x6d0a97(0x24f),new Map()),_0x491c37(this,_0x6d0a97(0x29c),new Map()),_0x491c37(this,_0x6d0a97(0x297),!0x1),(this['_configService']=_0xca57fd,this[_0x6d0a97(0x3a5)]=_0xfe19f8,this[_0x6d0a97(0x3aa)]=_0x146c9a);}[_0x3b5918(0x312)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x39b1f1=_0x3b5918;this[_0x39b1f1(0x209)]()[_0x39b1f1(0x283)](()=>super[_0x39b1f1(0x2f9)]());}async['loadOfflineData'](_0x148226){const _0x2dec83=_0x3b5918;return this[_0x2dec83(0x297)]?null:this['_localStorageService'][_0x2dec83(0x187)](_0x5b005f['getLocalCacheKey'](_0x148226));}async[_0x3b5918(0x3eb)](_0x13c6b7,_0x4f6507){const _0x245f47=_0x3b5918;return!!this[_0x245f47(0x3a5)][_0x245f47(0x1af)](_0x13c6b7,_0x4f6507);}[_0x3b5918(0x361)](_0x19c774,_0x3dd4cf,_0x57f08d,_0x2ca17b){const _0x420414=_0x3b5918,_0x2dd0c6=this[_0x420414(0x3aa)]['getCurrentRevOfUnit'](_0x19c774);this['_cachedData'][_0x420414(0x2a7)](_0x19c774,{'unitID':_0x19c774,'type':_0x3dd4cf,'awaitingChangeset':_0x57f08d,'mutations':_0x2ca17b,'rev':_0x2dd0c6}),this[_0x420414(0x29c)][_0x420414(0x1b7)](_0x19c774)||this[_0x420414(0x342)](_0x19c774);}[_0x3b5918(0x342)](_0x19fe80){const _0x2362bf=_0x3b5918,_0x17f668=this[_0x2362bf(0x309)]();_0x17f668===0x0?this[_0x2362bf(0x28a)](_0x19fe80):this['_saveTaskMap'][_0x2362bf(0x2a7)](_0x19fe80,setTimeout(()=>this[_0x2362bf(0x28a)](_0x19fe80),_0x17f668));}[_0x3b5918(0x309)](){const _0x45d34a=_0x3b5918;var _0x5b4cc5;return(_0x5b4cc5=this[_0x45d34a(0x176)]['getConfig'](_0x5b005f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5b4cc5:_0x5b005f[_0x45d34a(0x22c)];}['_saveCache'](_0xf30f4e){const _0x334e6f=_0x3b5918,_0x27516a=this[_0x334e6f(0x29c)][_0x334e6f(0x357)](_0xf30f4e);return _0x27516a!==void 0x0&&window['clearTimeout'](_0x27516a),this['_localStorageService'][_0x334e6f(0x1af)](_0x5b005f[_0x334e6f(0x223)](_0xf30f4e),this[_0x334e6f(0x24f)][_0x334e6f(0x357)](_0xf30f4e))[_0x334e6f(0x283)](()=>this[_0x334e6f(0x29c)][_0x334e6f(0x1a2)](_0xf30f4e));}async['exhaustSavingTask'](){const _0xce3413=_0x3b5918,_0x24072d=[];this[_0xce3413(0x29c)][_0xce3413(0x38d)]((_0x47a161,_0x55db8c)=>{const _0x4cefb3=_0xce3413;window[_0x4cefb3(0x3c4)](_0x47a161),_0x24072d[_0x4cefb3(0x1ba)](this[_0x4cefb3(0x28a)](_0x55db8c)[_0x4cefb3(0x283)](()=>{const _0x3af30d=_0x4cefb3;this['_saveTaskMap'][_0x3af30d(0x1a2)](_0x55db8c);}));}),await Promise['all'](_0x24072d);}};_0x1f0df1=_0x5be1c5([_0x3aac88(0x0,_0x458f8c[_0x3b5918(0x1ae)]),_0x3aac88(0x1,_0x458f8c['ILocalStorageService']),_0x3aac88(0x2,_0x458f8c[_0x3b5918(0x219)](_0xda915b[_0x3b5918(0x189)]))],_0x1f0df1);class _0x45f262 extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(){const _0x263287=_0x3b5918;super(),_0x491c37(this,_0x263287(0x2dd)),this[_0x263287(0x2dd)]=_0xcb3a0a['fromEvent'](window,_0x263287(0x3b0))['pipe'](_0xcb3a0a[_0x263287(0x3fb)](this['dispose$']),_0xcb3a0a[_0x263287(0x35d)](0x1),_0xcb3a0a[_0x263287(0x364)](void 0x0));}[_0x3b5918(0x1d9)](_0x6dd29e,_0x212544,_0x3f565b=!0x1){const _0x214809=_0x3b5918,_0x1cb586=new URL(window[_0x214809(0x1b0)][_0x214809(0x196)]);_0x1cb586[_0x214809(0x394)][_0x214809(0x2a7)](_0x6dd29e,_0x212544),_0x3f565b?window[_0x214809(0x334)]['replaceState']('','',_0x1cb586[_0x214809(0x362)]()):window[_0x214809(0x334)][_0x214809(0x16a)]('','',_0x1cb586[_0x214809(0x362)]());}[_0x3b5918(0x250)](_0x18cb83,_0x3977fd=!0x1){const _0x257272=_0x3b5918,_0x2efcba=new URL(window[_0x257272(0x1b0)]['href']);_0x2efcba[_0x257272(0x394)][_0x257272(0x1a2)](_0x18cb83),_0x3977fd?window['history'][_0x257272(0x288)]('','',_0x2efcba[_0x257272(0x362)]()):window[_0x257272(0x334)][_0x257272(0x16a)]('','',_0x2efcba[_0x257272(0x362)]());}[_0x3b5918(0x3c5)](_0x45e7da){const _0x5585d3=_0x3b5918;var _0x159dec;return(_0x159dec=new URL(window[_0x5585d3(0x1b0)][_0x5585d3(0x196)])[_0x5585d3(0x394)][_0x5585d3(0x357)](_0x45e7da))!=null?_0x159dec:void 0x0;}}var _0x4c7db7=Object[_0x3b5918(0x281)],_0x774013=Object[_0x3b5918(0x1a0)],_0x2d411e=(_0x3d8171,_0x584313,_0x574c1c)=>_0x584313 in _0x3d8171?_0x4c7db7(_0x3d8171,_0x584313,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x574c1c}):_0x3d8171[_0x584313]=_0x574c1c,_0x225069=(_0x13fd46,_0x2ee96f,_0x169609,_0x31bfa7)=>{for(var _0xaa2e95=_0x31bfa7>0x1?void 0x0:_0x31bfa7?_0x774013(_0x2ee96f,_0x169609):_0x2ee96f,_0x4aed39=_0x13fd46['length']-0x1,_0x33b116;_0x4aed39>=0x0;_0x4aed39--)(_0x33b116=_0x13fd46[_0x4aed39])&&(_0xaa2e95=_0x33b116(_0xaa2e95)||_0xaa2e95);return _0xaa2e95;},_0x119be2=(_0x1b07ee,_0xd9b14c)=>(_0xa95a7,_0x5970af)=>_0xd9b14c(_0xa95a7,_0x5970af,_0x1b07ee),_0x49d16a=(_0x3cdfef,_0x2b1b6c,_0x2582e6)=>_0x2d411e(_0x3cdfef,_0x2b1b6c+'',_0x2582e6);const _0x5ce704=_0x3b5918(0x295);_0x4bd5b3[_0x3b5918(0x2e1)]=class extends _0x458f8c[_0x3b5918(0x3e3)]{constructor(_0x2c245c=_0x57b9dc,_0x295f0b,_0x52b6a7,_0x1e117a){const _0x5efc1e=_0x3b5918;super(),this[_0x5efc1e(0x1a7)]=_0x2c245c,this['_renderManagerService']=_0x295f0b,this[_0x5efc1e(0x391)]=_0x52b6a7,this[_0x5efc1e(0x176)]=_0x1e117a;const {..._0x39b7ea}=_0x458f8c['merge']({},_0x57b9dc,this['_config']);this[_0x5efc1e(0x176)][_0x5efc1e(0x1d1)](_0x47fdb6,_0x39b7ea);}[_0x3b5918(0x23c)](){const _0x46c27c=_0x3b5918;this[_0x46c27c(0x2fc)](),this[_0x46c27c(0x2b9)]();}[_0x3b5918(0x320)](){const _0x3843d9=_0x3b5918;this[_0x3843d9(0x2ad)]();}[_0x3b5918(0x2fc)](){const _0x49465c=_0x3b5918;var _0x561941;const _0x47ad4a=[[_0x36bc68],[_0xad6fff],[_0xb11750],[_0xcb3361],[_0x28bc01],[_0x1572c8,{'useClass':_0x45f262}],[_0x34f6fb[_0x49465c(0x37f)],{'useClass':_0x34f6fb[_0x49465c(0x3d2)]}],[_0x5b005f[_0x49465c(0x2ba)],{'useClass':_0x1f0df1}],[_0x4bd5b3[_0x49465c(0x1a4)]],[_0x403462],[_0x55543c],[_0x3c03bf],[_0x5a82c0],[_0x4bd5b3[_0x49465c(0x326)]]];_0x458f8c[_0x49465c(0x2dc)](this[_0x49465c(0x391)],_0x458f8c[_0x49465c(0x21b)](_0x47ad4a,(_0x561941=this[_0x49465c(0x1a7)])==null?void 0x0:_0x561941[_0x49465c(0x259)]));}['_registerRenderDependencies'](){const _0x6d16be=_0x3b5918;this[_0x6d16be(0x266)](this['_renderManagerService']['registerRenderModule'](_0x458f8c[_0x6d16be(0x1b3)][_0x6d16be(0x3dc)],[_0x59373c])),this[_0x6d16be(0x266)](this[_0x6d16be(0x387)][_0x6d16be(0x299)](_0x458f8c[_0x6d16be(0x1b3)][_0x6d16be(0x3ea)],[_0x4bb42a]));}[_0x3b5918(0x2b9)](){const _0x54ee44=_0x3b5918;_0x458f8c[_0x54ee44(0x2ff)](this['_injector'],[[_0x3c03bf],[_0x4bd5b3[_0x54ee44(0x1a4)]],[_0x403462],[_0x55543c],[_0x4bd5b3[_0x54ee44(0x326)]]]);}},_0x49d16a(_0x4bd5b3[_0x3b5918(0x2e1)],_0x3b5918(0x194),_0x5ce704),_0x4bd5b3[_0x3b5918(0x2e1)]=_0x225069([_0x458f8c[_0x3b5918(0x203)](_0x5b005f[_0x3b5918(0x1aa)]),_0x119be2(0x1,_0x268e65[_0x3b5918(0x359)]),_0x119be2(0x2,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x119be2(0x3,_0x458f8c[_0x3b5918(0x1ae)])],_0x4bd5b3[_0x3b5918(0x2e1)]);var _0x2bc406=Object['getOwnPropertyDescriptor'],_0x30eca7=(_0x15a574,_0xca6db5,_0x3c2905,_0xd4a3e0)=>{const _0x5628a9=_0x3b5918;for(var _0xa8d92d=_0xd4a3e0>0x1?void 0x0:_0xd4a3e0?_0x2bc406(_0xca6db5,_0x3c2905):_0xca6db5,_0x339512=_0x15a574[_0x5628a9(0x399)]-0x1,_0x1cb20c;_0x339512>=0x0;_0x339512--)(_0x1cb20c=_0x15a574[_0x339512])&&(_0xa8d92d=_0x1cb20c(_0xa8d92d)||_0xa8d92d);return _0xa8d92d;},_0x52c2e4=(_0x32e404,_0x3431c4)=>(_0x35f16d,_0x36dd23)=>_0x3431c4(_0x35f16d,_0x36dd23,_0x32e404);_0x4bd5b3[_0x3b5918(0x325)]=class extends _0x5b005f[_0x3b5918(0x236)]{constructor(_0x59ddb0,_0x339a05,_0x592e1b,_0x16d421,_0x472fa2){super(_0x59ddb0,_0x339a05,_0x592e1b,_0x16d421,_0x472fa2);}async[_0x3b5918(0x205)](_0x53d709){const _0x34bf23=_0x3b5918,_0x595141=await this[_0x34bf23(0x193)](),_0x283ef3=this[_0x34bf23(0x3ce)](_0x53d709,_0x595141);return this[_0x34bf23(0x314)](_0x283ef3);}[_0x3b5918(0x3ce)](_0x19582e,_0x1b9563){const _0x263daf=_0x3b5918,_0x34d709=typeof window>'u'?new URL(_0x19582e):new URL(_0x19582e,window[_0x263daf(0x1b0)][_0x263daf(0x305)]);_0x34d709[_0x263daf(0x394)]['set'](_0x263daf(0x256),_0x1b9563);const _0x3f22df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x263daf(0x1b0)][_0x263daf(0x287)]);return _0x3f22df[_0x263daf(0x357)](_0x263daf(0x2c9))&&_0x34d709['searchParams'][_0x263daf(0x2a7)](_0x263daf(0x2c9),_0x3f22df[_0x263daf(0x357)](_0x263daf(0x2c9))),_0x34d709[_0x263daf(0x362)]();}async[_0x3b5918(0x193)](){const _0x2d2960=_0x3b5918;var _0x3b0de9,_0x129b35,_0x302b3f;const _0x1604e2=this[_0x2d2960(0x176)]['getConfig'](_0x5b005f[_0x2d2960(0x25b)]),_0x9fc135=(_0x3b0de9=_0x1604e2==null?void 0x0:_0x1604e2[_0x2d2960(0x3b8)])!=null?_0x3b0de9:_0x5b005f[_0x2d2960(0x2a9)];return(_0x302b3f=(_0x129b35=(await this[_0x2d2960(0x28f)]['get'](_0x9fc135,{'headers':{'Content-Type':_0x2d2960(0x33a)}}))[_0x2d2960(0x17d)])==null?void 0x0:_0x129b35['ticket'])!=null?_0x302b3f:'';}},_0x4bd5b3[_0x3b5918(0x325)]=_0x30eca7([_0x52c2e4(0x0,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x52c2e4(0x1,_0x458f8c[_0x3b5918(0x219)](_0x34f6fb[_0x3b5918(0x235)])),_0x52c2e4(0x2,_0x458f8c['IConfigService']),_0x52c2e4(0x3,_0x458f8c[_0x3b5918(0x239)]),_0x52c2e4(0x4,_0xda915b[_0x3b5918(0x1f5)])],_0x4bd5b3[_0x3b5918(0x325)]);const _0x3c7ca5=0x7530,_0x3ee7bd=_0x3b5918(0x1cd);class _0x4b0917 extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(){const _0x32ec6b=_0x3b5918;super(),_0x491c37(this,_0x32ec6b(0x1eb),_0x458f8c[_0x32ec6b(0x3a6)]()),_0x491c37(this,_0x32ec6b(0x185),new Set()),_0x491c37(this,_0x32ec6b(0x27b),new Map()),_0x491c37(this,_0x32ec6b(0x3ca),null),_0x491c37(this,_0x32ec6b(0x3de),new Map()),_0x491c37(this,_0x32ec6b(0x400),new Map()),this[_0x32ec6b(0x32d)]();}[_0x3b5918(0x2f9)](){const _0x327d09=_0x3b5918;super[_0x327d09(0x2f9)](),this[_0x327d09(0x3de)]['forEach']((_0x15826e,_0x19a9f4)=>this[_0x327d09(0x1f0)](_0x19a9f4)),this[_0x327d09(0x3ca)]&&window[_0x327d09(0x1c7)](this[_0x327d09(0x3ca)]);}[_0x3b5918(0x21e)](_0x28b57b){const _0x4c1d6c=_0x3b5918;return this[_0x4c1d6c(0x379)](_0x28b57b)[_0x4c1d6c(0x1b4)](_0xcb3a0a[_0x4c1d6c(0x360)]());}[_0x3b5918(0x3f0)](_0x36960f){const _0x1b3c1a=_0x3b5918;this[_0x1b3c1a(0x185)][_0x1b3c1a(0x1a1)]===0x0&&this[_0x1b3c1a(0x1d2)](),this[_0x1b3c1a(0x185)][_0x1b3c1a(0x339)](_0x36960f),this['_send']({'type':0x0,'memberID':this[_0x1b3c1a(0x1eb)],'unitIDs':[_0x36960f],'isForwarded':!0x1});}[_0x3b5918(0x25f)](_0x13a6a1){const _0x49ab05=_0x3b5918;this[_0x49ab05(0x185)][_0x49ab05(0x1a2)](_0x13a6a1),this[_0x49ab05(0x185)][_0x49ab05(0x1a1)]===0x0&&this['_heartbeatTimer']&&window[_0x49ab05(0x1c7)](this[_0x49ab05(0x3ca)]);}['_init'](){const _0x23cae9=_0x3b5918;this[_0x23cae9(0x266)](_0x458f8c['toDisposable'](_0xcb3a0a[_0x23cae9(0x3b4)](window,_0x23cae9(0x3bd))[_0x23cae9(0x240)](_0x4776e2=>{const _0x4af6cb=_0x23cae9;if(_0x4776e2['key']!==_0x3ee7bd||!_0x4776e2[_0x4af6cb(0x32b)])return;const _0x1dba26=JSON[_0x4af6cb(0x248)](_0x4776e2[_0x4af6cb(0x32b)]);this[_0x4af6cb(0x1ca)](_0x1dba26);}))),window['addEventListener'](_0x23cae9(0x242),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23cae9(0x185)])}));}[_0x3b5918(0x1ca)](_0x37fba0){const _0x183459=_0x3b5918;switch(_0x37fba0[_0x183459(0x382)]){case 0x0:this[_0x183459(0x3cf)](_0x37fba0);break;case 0x1:this[_0x183459(0x1a9)](_0x37fba0);break;case 0x2:this[_0x183459(0x327)](_0x37fba0);break;}}[_0x3b5918(0x3cf)](_0x2bb0e8){const _0x4c84a6=_0x3b5918,{unitIDs:_0x517724,memberID:_0x131ed0,isForwarded:_0x568d29}=_0x2bb0e8;_0x517724[_0x4c84a6(0x38d)](_0x195993=>{const _0x4acf8b=_0x4c84a6;if(!_0x568d29&&this['_unitOnClients'][_0x4acf8b(0x1b7)](_0x195993)&&this[_0x4acf8b(0x379)](_0x195993)[_0x4acf8b(0x1c2)](_0x5b005f['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x4acf8b(0x27b)][_0x4acf8b(0x1b7)](_0x195993)||!this[_0x4acf8b(0x27b)][_0x4acf8b(0x357)](_0x195993)['has'](_0x131ed0)){const _0x4d194a=this[_0x4acf8b(0x27b)]['get'](_0x195993)||new Set();_0x4d194a[_0x4acf8b(0x339)](_0x131ed0),this[_0x4acf8b(0x27b)][_0x4acf8b(0x2a7)](_0x195993,_0x4d194a),this['_scheduleClearOtherTimer'](_0x131ed0);}}),_0x568d29||this[_0x4c84a6(0x286)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3b5918(0x36c)](_0x58b0d7){const _0x1d22d4=_0x3b5918;this[_0x1d22d4(0x1f0)](_0x58b0d7);const _0x311943=window[_0x1d22d4(0x324)](()=>{const _0x397135=_0x1d22d4;this[_0x397135(0x27b)]['forEach'](_0x45f075=>{const _0xf23218=_0x397135;_0x45f075[_0xf23218(0x1a2)](_0x58b0d7);});},_0x3c7ca5*0x2);this[_0x1d22d4(0x3de)][_0x1d22d4(0x2a7)](_0x58b0d7,_0x311943);}[_0x3b5918(0x1f0)](_0x1851f0){const _0x58ee13=_0x3b5918;if(this['_clearOtherTimers'][_0x58ee13(0x1b7)](_0x1851f0)){const _0x57f39f=this['_clearOtherTimers'][_0x58ee13(0x357)](_0x1851f0);_0x57f39f&&window[_0x58ee13(0x3c4)](_0x57f39f),this['_clearOtherTimers'][_0x58ee13(0x2a7)](_0x1851f0,null);}}[_0x3b5918(0x1a9)](_0x2bcc40){const _0x1a9fe2=_0x3b5918,{memberID:_0x17afb6,unitIDs:_0x176013}=_0x2bcc40;_0x176013[_0x1a9fe2(0x38d)](_0x1d9a3a=>{const _0x4e3ffc=_0x1a9fe2;var _0x4487e4;const _0x3c5f7a=this['_unitOnClients'][_0x4e3ffc(0x357)](_0x1d9a3a);_0x3c5f7a&&(_0x3c5f7a[_0x4e3ffc(0x1a2)](_0x17afb6),(_0x4487e4=this['_ensureSubject'](_0x1d9a3a))==null||_0x4487e4[_0x4e3ffc(0x1c2)](_0x3c5f7a[_0x4e3ffc(0x1a1)]===0x0?_0x5b005f[_0x4e3ffc(0x3a8)]['NO_OTHER_CLIENTS_EDITING']:_0x5b005f[_0x4e3ffc(0x3a8)][_0x4e3ffc(0x1e5)]));}),this[_0x1a9fe2(0x1f0)](_0x17afb6);}[_0x3b5918(0x327)](_0x195ca0){this['_scheduleClearOtherTimer'](_0x195ca0['memberID']);}[_0x3b5918(0x286)](_0x25e469){const _0x2726d2=_0x3b5918;localStorage[_0x2726d2(0x1af)](_0x3ee7bd,JSON['stringify'](_0x25e469));}[_0x3b5918(0x1d2)](){const _0x21c937=_0x3b5918;this['_heartbeatTimer']=window[_0x21c937(0x30f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3c7ca5);}[_0x3b5918(0x379)](_0x20133e){const _0x28b344=_0x3b5918;return this[_0x28b344(0x400)]['has'](_0x20133e)||this[_0x28b344(0x400)][_0x28b344(0x2a7)](_0x20133e,new _0xcb3a0a['BehaviorSubject'](_0x5b005f['UnitStatus'][_0x28b344(0x2ee)])),this[_0x28b344(0x400)][_0x28b344(0x357)](_0x20133e);}}var _0x40fec7=(_0x5a066b=>(_0x5a066b[_0x5a066b[_0x3b5918(0x2a1)]=0x0]=_0x3b5918(0x2a1),_0x5a066b[_0x5a066b['OK']=0x1]='OK',_0x5a066b[_0x5a066b[_0x3b5918(0x3b6)]=0x2]=_0x3b5918(0x3b6),_0x5a066b[_0x5a066b['PERMISSION_DENIED']=0x3]=_0x3b5918(0x22e),_0x5a066b[_0x5a066b[_0x3b5918(0x31a)]=0x4]=_0x3b5918(0x31a),_0x5a066b[_0x5a066b['UNAUTHENTICATED']=0x5]=_0x3b5918(0x322),_0x5a066b[_0x5a066b[_0x3b5918(0x3bb)]=0x6]=_0x3b5918(0x3bb),_0x5a066b[_0x5a066b[_0x3b5918(0x293)]=0x7]='INVALID_ARGUMENT',_0x5a066b[_0x5a066b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5a066b[_0x5a066b[_0x3b5918(0x2f1)]=0x9]=_0x3b5918(0x2f1),_0x5a066b[_0x5a066b[_0x3b5918(0x3f5)]=0xa]=_0x3b5918(0x3f5),_0x5a066b[_0x5a066b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b5918(0x23b),_0x5a066b[_0x5a066b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3b5918(0x274),_0x5a066b[_0x5a066b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3b5918(0x376),_0x5a066b[_0x5a066b[_0x3b5918(0x1df)]=0x1773]=_0x3b5918(0x1df),_0x5a066b[_0x5a066b['APPLY_REJECT']=0x1b59]=_0x3b5918(0x220),_0x5a066b[_0x5a066b[_0x3b5918(0x2d7)]=0x1b5a]=_0x3b5918(0x2d7),_0x5a066b[_0x5a066b[_0x3b5918(0x2d9)]=0x1b5b]=_0x3b5918(0x2d9),_0x5a066b[_0x5a066b[_0x3b5918(0x345)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5a066b[_0x5a066b['APPLY_DUPLICATED']=0x1b5d]=_0x3b5918(0x237),_0x5a066b[_0x5a066b[_0x3b5918(0x234)]=0x1f41]=_0x3b5918(0x234),_0x5a066b[_0x5a066b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3b5918(0x279),_0x5a066b[_0x5a066b[_0x3b5918(0x2f0)]=0x232a]=_0x3b5918(0x2f0),_0x5a066b[_0x5a066b[_0x3b5918(0x1bd)]=0x232b]=_0x3b5918(0x1bd),_0x5a066b[_0x5a066b[_0x3b5918(0x3dd)]=0x232c]=_0x3b5918(0x3dd),_0x5a066b[_0x5a066b['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5a066b[_0x5a066b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3b5918(0x182),_0x5a066b[_0x5a066b[_0x3b5918(0x174)]=0x2712]=_0x3b5918(0x174),_0x5a066b[_0x5a066b[_0x3b5918(0x20d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5a066b[_0x5a066b[_0x3b5918(0x17f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x171)]=0x2af9]=_0x3b5918(0x171),_0x5a066b[_0x5a066b[_0x3b5918(0x377)]=0x2ee1]=_0x3b5918(0x377),_0x5a066b[_0x5a066b['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5a066b[_0x5a066b['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5a066b[_0x5a066b[_0x3b5918(0x341)]=0x2ee4]=_0x3b5918(0x341),_0x5a066b[_0x5a066b[_0x3b5918(0x3ad)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x2b3)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x178)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x2f8)]=-0x1]=_0x3b5918(0x2f8),_0x5a066b))(_0x40fec7||{}),_0x5d3a00=Object['getOwnPropertyDescriptor'],_0x2280f0=(_0x1482d1,_0x182fb8,_0x5d28cf,_0x35f1a2)=>{const _0x4a7c14=_0x3b5918;for(var _0x37db9a=_0x35f1a2>0x1?void 0x0:_0x35f1a2?_0x5d3a00(_0x182fb8,_0x5d28cf):_0x182fb8,_0x3f88f2=_0x1482d1[_0x4a7c14(0x399)]-0x1,_0x3ad765;_0x3f88f2>=0x0;_0x3f88f2--)(_0x3ad765=_0x1482d1[_0x3f88f2])&&(_0x37db9a=_0x3ad765(_0x37db9a)||_0x37db9a);return _0x37db9a;},_0x1434ac=(_0x1e4fd8,_0x437d3f)=>(_0x4e5277,_0x466d03)=>_0x437d3f(_0x4e5277,_0x466d03,_0x1e4fd8);_0x4bd5b3[_0x3b5918(0x1f6)]=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x47d7e0,_0x19d724,_0x461edf){const _0x333abc=_0x3b5918;super(),this[_0x333abc(0x3d9)]=_0x47d7e0,this[_0x333abc(0x28f)]=_0x19d724,this['_configService']=_0x461edf;}async[_0x3b5918(0x255)](_0x29312f,_0x14f53a,_0x27e371,..._0x21b1a4){const _0x15583f=_0x3b5918;var _0x177efe,_0x11c0a0,_0x13cdac,_0x5dafa2;const _0x175590=this[_0x15583f(0x3d9)][_0x15583f(0x307)]();if(!_0x175590)throw new Error(_0x15583f(0x38f));const _0x1b3b76=((_0x177efe=this[_0x15583f(0x176)]['getConfig'](_0x5b005f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x177efe:_0x5b005f[_0x15583f(0x27a)])+'/'+_0x29312f+_0x15583f(0x19d)+_0x14f53a,_0x5f51c1=new URL(window[_0x15583f(0x1b0)]['href']),_0x199c8d={'scriptId':_0x29312f,'runId':(_0x11c0a0=_0x5f51c1[_0x15583f(0x394)][_0x15583f(0x357)]('runId'))!=null?_0x11c0a0:'','function':_0x14f53a,'unitId':_0x175590[_0x15583f(0x39a)](),'argsOfFunction':JSON[_0x15583f(0x3e6)](_0x21b1a4),'invokeId':(_0x13cdac=_0x27e371[_0x15583f(0x2eb)])!=null?_0x13cdac:'','executionId':(_0x5dafa2=_0x27e371[_0x15583f(0x20b)])!=null?_0x5dafa2:''};try{const _0x81b523=await this[_0x15583f(0x28f)]['post'](_0x1b3b76,{'body':_0x199c8d});return _0x81b523[_0x15583f(0x17d)]['error']&&_0x81b523[_0x15583f(0x17d)][_0x15583f(0x3a1)][_0x15583f(0x25e)]!==_0x40fec7['OK']?_0x15583f(0x188):_0x81b523[_0x15583f(0x17d)][_0x15583f(0x30d)];}catch{return _0x15583f(0x188);}}},_0x4bd5b3[_0x3b5918(0x1f6)]=_0x2280f0([_0x1434ac(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x1434ac(0x1,_0x458f8c[_0x3b5918(0x219)](_0x34f6fb[_0x3b5918(0x235)])),_0x1434ac(0x2,_0x458f8c['IConfigService'])],_0x4bd5b3[_0x3b5918(0x1f6)]),_0x4bd5b3[_0x3b5918(0x36e)]=_0x1b1a62,_0x4bd5b3[_0x3b5918(0x3ef)]=_0x1572c8,_0x4bd5b3[_0x3b5918(0x2de)]=_0xf6c169,_0x4bd5b3[_0x3b5918(0x282)]=_0x4b0917,_0x4bd5b3['WebURLService']=_0x45f262,Object[_0x3b5918(0x281)](_0x4bd5b3,Symbol[_0x3b5918(0x34d)],{'value':_0x3b5918(0x2be)});}));
|
|
1
|
+
function _0x112f(_0x2d0fab,_0x54d825){const _0x407378=_0x4073();return _0x112f=function(_0x112f36,_0x5a7100){_0x112f36=_0x112f36-0xe6;let _0xd75fca=_0x407378[_0x112f36];return _0xd75fca;},_0x112f(_0x2d0fab,_0x54d825);}function _0x4073(){const _0x551f7f=['doc.mutation.rich-text-editing','@univerjs/rpc','delete','offline','@univerjs-pro/collaboration-client','div','closePath','fill','executeCommand','replaceState','propertyIsEnumerable','TOO_MANY_REQUESTS','_backgroundColor','toRgbString','setActiveRange','FETCH_MISS','top','string','univer-flex\x20univer-items-center','_initStatusComponent','pluginName','registerRefRange','setItem','uni.network.url-service','UniverDocsUi','getActiveRange','isEditing','getActiveSheet','amd','@univerjs/engine-formula','Rectangle','IUniverInstanceService','height','getUnhiddenWorksheets','_collabCursorController','SNAPSHOT_HAS_BEEN_REMOVED','parse','CollaborationController','loadUnit','setUndoRedoMutationParamsCache','mapTo','indexOf','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Disposable','subscribe','DesktopCollaborationStatusDisplayController','redoState','OTHER_CLIENT_EDITING','unshift','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveDown','UniverProCollaboration','_localeService','save','cursorInfo','includes','type','CollaborationUIEventId','@univerjs/core','_removeClearOtherTimer','CollaborationStatusDisplay','hasOwnProperty','_collaborationUIEventService','MessageType','registerComponent','NOT_FOUND','override','collabStatus.syncing','_eventUnsubscribe','_send','MOBILE_HAS_BEEN_BOUND','from','_injector','242Chasty','result','getSkeleton','makeDirty','init','DocStateChangeManagerService','EMAIL_HAS_BEEN_BOUND','findNodePositionByCharIndex','handleInsertRangeMoveRight','CollaborationSocketService','60lxVyQw','NodePositionConvertToRectRange','onlineStatusIcon','OnLineSingle','_online','_scheduleSaving','Tools','cursorInfo$','getParam','moveTo','_getAnchorBounding','NodePositionConvertToCursor','_setupSubUnitSync','send','@univerjs/docs-ui','getCurrentRevOfUnit','_cursor','onMouseMove','deserializeRangeWithSheet','trim','MUTATION','_commandService','UniverCore','children','EffectRefRangId','_render','lineTo','_disabled','PERMISSION_DENIED','eventID','setStateCache','_ensureSubject','onCommandExecuted','toString','event$','min','LOGIN_FAILED','getColor','_doCreateSocket','_localStorageService','currentSkeleton$','replace','function','shareReplay','black','_logService','_id','1MtppCX','HTTPService','ACTIVE_UNIT_EVENT_CHANNEL','_cursorShapes','createElement','USER_NOT_INVITED_CODE','svg','collabStatus.offline','Rect','combineLatest','0\x200\x2017\x2016','UniverUi','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearTimeout','LOCAL_CACHE_INTERVAL_KEY','_onCursorUpdate','collab-text-range-','fillRule','key','_updateCollabCursors','search','operators','split','_unitOnClients','InsertRangeMoveDownCommandId','getUnitId','rxjs','_updateURLWithCurrentState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initResize','assign','_getSheetObject','IBeforeCloseService','_dataLoaderService','_setupBeforeClosingHandler','filter','toStringTag','hovered','all','getStateCache','UniverDesign','_colorIndex','contains','saveTaskMap','InsertRangeMoveRightCommandId','@univerjs/design','_docSkeleton','_roomMembers$','concat','UniverSheets','UniverInstanceType','CommandType','collabStatus.conflict','1em','requireSession','debounceTime','_heartbeatTimer','@univerjs/sheets-ui','error','getCollabEntity$','UniverRpc','IMessageService','CLOSE_ROOM','_status$','session.connection-failed','purple300','blue400','_renderManagerService','getRangePointData','mergeOverrideWithDependencies','runRefRangeMutations','setShapeProps','INVITE_CODE_HAS_BEEN_UES','VIEW_MAIN','_instanceService','@univerjs/drawing','_docClipboardService','subscribeEvent','pushState','fillText','_updateSubUnitFromURLParams','activeSheet$','UNIVER_DOC','_getSessionTicket','saveImage','forEach','hide','MemberService','_uiPartsService','univer-offline','1601852cdUrTF','memberID','transformStateCache','LICENSE_MAX_UNITS_EXCEEDED','getSheetObject','textRanges','DeleteRangeMoveLeftCommandId','_transformUndoRedoStack','_localCacheService','_hover','setParam','prototype','call','addClipboardHook','xlink:href','INTERNAL_ERROR','0\x200\x2016\x2016','_handleHover','transformIMECache','_drawRectRange','CONFLICT','_cursors','add','Warning','tag','dispose$','collabStatus.synced','getSheetId','transformRemoteChangeset','symbol','collaboration-client.offline-data-not-saved','_scheduleClearOtherTimer','next','useRef','endRow','_drawTextRange','updateOfflineData','JOIN_ROOM_FAILED','_startDocCollabCursor','clearInterval','_sheetSkeletonManagerService','_drawAnchor','_themeService','clipPath','handleDeleteRangeMoveLeft','unload','LICENSE_DISTRO_REJECTED','_createSocketURL','599952gLNBrH','size','Vector2','getCoordByCell','range','unitId','createSocket','params','row','#fff','_document','HEADER_MENU','Workbook','RegularPolygon','UniverNetwork','ThemeService','_cachedData','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initDependencies','useDependency','loadOfflineData','@univerjs-pro/collaboration','InsertColCommandId','path','createInstance','_collaborationController','_transformHistoryAndStateStack','_textBubble','reconnect','getRenderById','_toggleOnline','Inject','ITransformService','432850ptXIrz','color','UnitStatus','defineProperty','TEXT_RANGE_LAYER_INDEX','body','none','transformSelections','_saveCache','ALREADY_EXISTS','show','_initEntityListener','[CollaborationDataLoaderController]','WebURLService','4743LsjJAO','getUndoRedoMutationParamsCache','name','CollaborationEvent','FromArray','RxDisposable','length','href','online','m1Prime','...','_handleHeartbeatEvent','getCurrentUnitForType','OTHER_CLIENTS_EDITING','_context','jsx','_notificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defs','defIds','Module','entityInit$','merge','_beforeCloseService','onPointerLeave$','_selfUnitIDs','subunit','setAlpha','UniverIcon','UPDATE_CURSOR','undoState','invokeId','_session','getCellPositionByOffset','DependentOn','_univerInstanceService','touchDependencies','OFFLINE','_transformPreviousActiveRange','BrowserCollaborationSocketService','DocSkeletonManagerService','setInterval','engine','SHEET_VIEWPORT_KEY','SYNCED','unitID','getDocRanges','urlChange$','attrs','getTypeOfUnitAdded$','M0\x200H16V16H0z','set','debug','_clearOtherTimers','saveOfflineData','useCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','#FFF','@univerjs/sheets','_registerDependencies','collaboration.closeRoom','session.will-retry','actions','UNIVER_SHEET','setTimeout','object','univer-online-status-icon','currentColor','roomMembers','pipe','COLORS','_anchor','APPLY_REVISION_CONFILICT','81IwcyXW','_handleEvent','CollaborationSessionService','@univerjs/network','_assignedColors','exports','393744GWjUxR','className','TEXT','_entityInit$','forwardRef','onStarting','getOffsetConfig','SheetsSelectionsService','ICommandService','_labelPosition','apply','dispose','history','@univerjs/engine-render','map','_docTransformStateCacheService','USERS_LEAVE','getMergeData','collaboration.single-unit.warning','width','RemoveColCommandId','YUUMI_RATE_OVER_LIMIT','ISocketService','font','whenReady','searchParams','getConfig','replaceDocRanges','react','transformMutation','getOwnPropertySymbols','BuiltInUIPart','switchMap','transformMutationsWithChangeset','_lastPointer','current','_syncEditingCollabCursorService','then','InsertRowCommandId','round','getAncestorScale','BehaviorSubject','LICENSE_EXPORT_SIZE_EXCEEDED','_registerRenderDependencies','handleDeleteRangeMoveUp','wsSessionTicketUrl','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','sheetID','SetWorksheetActivateCommand','handleInsertCol','_configService','clsx','registerDependencies','addObject','onLocalMutation','getCollabCursors$','sessionStatus$','_refreshCollabCursors','_docStateChangeManagerService','debounce','getCurrentSelections','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','complete','ColorKit','DocCollaborationEntity','_colorAssignService','collaboration-client-ui.config','Error','_refRangeService','_urlService','INVITE_CODE_ALREADY_BOUND','ONLINE','useObservable','column','UniverEngineRender','_removeCollabCursors','DataLoaderService','getSheetBySheetId','labelPosition','selection','RemoteUniscriptService','getItem','getViewport','YUUMI_UNABLE_LOAD_URL','disposeWithMe','IConfigService','post','WECHAT_HAS_BEEN_BOUND','_initCommandExecutedListener','CHANGESET_REVISION_CONFILICT','univer-online','getFocusedUnit','transformByState','colorChannel1','_revisionService','syncEditingCollabCursor','MoveRangeCommandId','mask','fillStyle','getOwnPropertyDescriptor','find','LocaleService','focused$','UniverProCollaborationClientUi','CollaborationStatus','APPLY_REJECT','getCurrent','_saveTaskMap','drawWith','exhaustSavingTask','runOnServer','ENSURE_SNAPSHOT_EXECUTION','Injector','YUUMI_URL_COL_OUT_OF_RANGE','_collabCursorState$','@univerjs/docs','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','_collabSessionService','entries','getValue','ILogService','APPLY_DUPLICATED','takeUntil','SetTextSelectionsOperation','addObjects','extend','collab-text-anchor-','_handleLeaveEvent','_docSyncEditingCollabCursorService','AWAITING_WITH_PENDING','UniverEngineFormula','with','AWAITING','_updateLocalCursor','docStateChange$','isArray','fromEvent','runId','_scheduleHeartbeat','_cursorInfo$','unit','_imageIoService','_color','_name','CollaborationDataLoaderController','univer-online-status','_memberService','evenodd','asObservable','_handleJoinEvent','restore','translate(.97)','_hovered','url(#$1','onlineStatusTitle','_scene','roomMembers$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNAUTHENTICATED','getTypeOfUnitDisposed$','DocSelectionManagerService','substring','generateRandomId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','has','_docSkeletonManagerService','registerBeforeClose','univer-online-status-title','onPointerMove$','React','disposeUnit','209136uZSJzQ','idSuffix','@univerjs/ui','beginPath','UniverDrawing','UniverProCollaborationClient','_messageService','NOT_COLLAB','values','off-line-single_clip0_910_343','DocIMEInputManagerService','_init','_initStatusListener','INVALID_INVITE_CODE','SNAPSHOT_INVALID_SNAPSHOT','resize','_entities','UNRECOGNIZED','_httpService','RichTextEditingMutation','DOC_RANGE_TYPE','157086PewmwA','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','_shapes','assignAColorForMemberID','_transformService','collab-rect-range-','bottom','Unknown\x20user','SUBMIT_CHANGESET_TIMEOUT','isTransformMutationFailure','ranges','onPointerEnter$','UniverSheetsUi','handleMoveRange','collabCursorState$','DeleteRangeMoveUpCommandId','SheetSkeletonManagerService','push','_unitStatus','sessionTicket','_anchorDot','_initEvent','_hideTimer','displayName','enableLocalCache','some','gold400','deepClone','mutations','get','m2Prime','getMemberID','ticket','jsxs','Shape','currentTheme$','NO_OTHER_CLIENTS_EDITING','react/jsx-runtime','getMember','handleInsertRow','arc','_range','_toggleOffline','jiqing500','_config','INVALID_ARGUMENT','60WwOGEP','max','registerRenderModule','use','APPLY_PERMISSION_DENIED','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','ILocalCacheService','location','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','connectInjector','IURLService','newValue','measureText','_docTransformIMECacheService','data','UniverCollaborationClientUIPlugin','rxjs/operators','IImageIoService','_onCursorDelete','onlineStatus','stringify','SOCKET_FAILED_RETRY','unsubscribe','_draw'];_0x4073=function(){return _0x551f7f;};return _0x4073();}(function(_0x4cfc55,_0x42179b){const _0x4a7a11=_0x112f,_0x4d19f1=_0x4cfc55();while(!![]){try{const _0x5bc763=-parseInt(_0x4a7a11(0x364))/0x1*(-parseInt(_0x4a7a11(0x157))/0x2)+-parseInt(_0x4a7a11(0x186))/0x3*(-parseInt(_0x4a7a11(0x335))/0x4)+-parseInt(_0x4a7a11(0x2c7))/0x5*(parseInt(_0x4a7a11(0x299))/0x6)+parseInt(_0x4a7a11(0x127))/0x7+-parseInt(_0x4a7a11(0x1d6))/0x8+parseInt(_0x4a7a11(0x1d0))/0x9*(parseInt(_0x4a7a11(0x178))/0xa)+parseInt(_0x4a7a11(0x32b))/0xb*(-parseInt(_0x4a7a11(0x284))/0xc);if(_0x5bc763===_0x42179b)break;else _0x4d19f1['push'](_0x4d19f1['shift']());}catch(_0x5d20c0){_0x4d19f1['push'](_0x4d19f1['shift']());}}}(_0x4073,0x2fad6),function(_0x5ad091,_0x8f9459){const _0x352c92=_0x112f;typeof exports==_0x352c92(0x1c8)&&typeof module<'u'?_0x8f9459(exports,require(_0x352c92(0x2e6)),require(_0x352c92(0x31c)),require(_0x352c92(0x1e3)),require(_0x352c92(0x1d3)),require('@univerjs/docs-ui'),require(_0x352c92(0x118)),require('rxjs'),require(_0x352c92(0x24b)),require(_0x352c92(0x16c)),require(_0x352c92(0x2ff)),require(_0x352c92(0x1c1)),require(_0x352c92(0x2da)),require(_0x352c92(0x106)),require(_0x352c92(0x2be)),require(_0x352c92(0x286)),require(_0x352c92(0xfa)),require(_0x352c92(0x1f2)),require(_0x352c92(0x2e3))):typeof define==_0x352c92(0x35f)&&define[_0x352c92(0x2fe)]?define([_0x352c92(0x1d5),_0x352c92(0x2e6),_0x352c92(0x31c),_0x352c92(0x1e3),'@univerjs/network',_0x352c92(0x343),_0x352c92(0x118),_0x352c92(0xe7),_0x352c92(0x24b),_0x352c92(0x16c),'@univerjs/engine-formula',_0x352c92(0x1c1),_0x352c92(0x2da),_0x352c92(0x106),_0x352c92(0x2be),_0x352c92(0x286),_0x352c92(0xfa),'react','@univerjs/rpc'],_0x8f9459):(_0x5ad091=typeof globalThis<'u'?globalThis:_0x5ad091||self,_0x8f9459(_0x5ad091[_0x352c92(0x23f)]={},_0x5ad091[_0x352c92(0x289)],_0x5ad091[_0x352c92(0x34b)],_0x5ad091[_0x352c92(0x222)],_0x5ad091[_0x352c92(0x165)],_0x5ad091[_0x352c92(0x2fa)],_0x5ad091[_0x352c92(0x288)],_0x5ad091['rxjs'],_0x5ad091['UniverDocs'],_0x5ad091[_0x352c92(0x315)],_0x5ad091[_0x352c92(0x25a)],_0x5ad091[_0x352c92(0xfe)],_0x5ad091[_0x352c92(0xe7)][_0x352c92(0x379)],_0x5ad091[_0x352c92(0x2a5)],_0x5ad091[_0x352c92(0x282)],_0x5ad091[_0x352c92(0x36f)],_0x5ad091[_0x352c92(0xf5)],_0x5ad091['React'],_0x5ad091[_0x352c92(0x109)]));}(this,function(_0x342240,_0x2fd730,_0x1e0609,_0x8660e4,_0x1e4e91,_0x189013,_0x4a81a8,_0x94d9ab,_0x1aadfd,_0xcfb5d3,_0xf78882,_0x4b47a4,_0xecbc95,_0x5b5571,_0x4e444a,_0x43b760,_0x4fc34b,_0x283846,_0x4b767c){'use strict';const _0x3894d5=_0x112f;var _0x564b75=Object[_0x3894d5(0x17b)],_0x20f8ff=(_0x2265f9,_0x52b9fa,_0xf1c38)=>_0x52b9fa in _0x2265f9?_0x564b75(_0x2265f9,_0x52b9fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf1c38}):_0x2265f9[_0x52b9fa]=_0xf1c38,_0x552ea8=(_0x2f21b6,_0x31d4d4,_0x31a056)=>_0x20f8ff(_0x2f21b6,typeof _0x31d4d4!=_0x3894d5(0x144)?_0x31d4d4+'':_0x31d4d4,_0x31a056),_0x68d2a1=Object[_0x3894d5(0x23b)],_0x495092=(_0x168134,_0x3754d1,_0x419747,_0xf106ec)=>{const _0x3dc77f=_0x3894d5;for(var _0x557571=_0xf106ec>0x1?void 0x0:_0xf106ec?_0x68d2a1(_0x3754d1,_0x419747):_0x3754d1,_0x5b91bb=_0x168134[_0x3dc77f(0x18c)]-0x1,_0x261021;_0x5b91bb>=0x0;_0x5b91bb--)(_0x261021=_0x168134[_0x5b91bb])&&(_0x557571=_0x261021(_0x557571)||_0x557571);return _0x557571;},_0xeb1686=(_0x5c1f8f,_0x4b05cf)=>(_0x71ca13,_0x29c427)=>_0x4b05cf(_0x71ca13,_0x29c427,_0x5c1f8f);let _0x561448=class extends _0x1e0609['RxDisposable']{constructor(_0x33c058,_0x3ddd09){const _0x191667=_0x3894d5;super(),this[_0x191667(0x119)]=_0x33c058,this['_imageIoService']=_0x3ddd09,this[_0x191667(0x28f)]();}['_init'](){const _0x3bdc21=_0x3894d5,_0x1938a9=this;this[_0x3bdc21(0x22c)](this[_0x3bdc21(0x119)][_0x3bdc21(0x134)]({'onBeforePasteImage':async _0x440d45=>{const _0x353a96=_0x3bdc21,_0x2536c4=await _0x1938a9[_0x353a96(0x265)][_0x353a96(0x121)](_0x440d45);return _0x2536c4?{'source':_0x2536c4['source'],'imageSourceType':_0x2536c4['imageSourceType']}:null;}}));}};_0x561448=_0x495092([_0xeb1686(0x0,_0x189013['IDocClipboardService']),_0xeb1686(0x1,_0x4a81a8[_0x3894d5(0x2db)])],_0x561448);const _0xe8abb1=[_0x3894d5(0x10e),_0x3894d5(0x2c4),'verdancy600','red300',_0x3894d5(0x10f),_0x3894d5(0x2b3)];class _0x57aed3 extends _0x1e0609[_0x3894d5(0x30d)]{constructor(){const _0xdd3c26=_0x3894d5;super(...arguments),_0x552ea8(this,_0xdd3c26(0x1d4),new Map()),_0x552ea8(this,_0xdd3c26(0xf6),0x0);}['assignAColorForMemberID'](_0x3ec7cf){const _0x121b4e=_0x3894d5;if(this[_0x121b4e(0x1d4)]['has'](_0x3ec7cf))return this[_0x121b4e(0x1d4)][_0x121b4e(0x2b6)](_0x3ec7cf);const _0x3ab0c6=_0xe8abb1[this['_colorIndex']];return this[_0x121b4e(0xf6)]=(this[_0x121b4e(0xf6)]+0x1)%_0xe8abb1[_0x121b4e(0x18c)],this['_assignedColors'][_0x121b4e(0x1b9)](_0x3ec7cf,_0x3ab0c6),_0x3ab0c6;}}function _0x4e6471(_0x53e445){const _0x4b74df=_0x3894d5;let _0x1e795f='';for(const _0x23431c of _0x53e445){const {startOffset:_0x12de8f,endOffset:_0x572b13,isActive:_0x5e7534,rangeType:_0x3e1f44,segmentId:_0x4c8498,segmentPage:_0x3bf592}=_0x23431c;_0x1e795f[_0x4b74df(0x18c)]&&(_0x1e795f+=','),_0x1e795f+=_0x12de8f+':'+_0x572b13+':'+(_0x5e7534?'1':'0')+':'+_0x3e1f44+':'+_0x4c8498+':'+_0x3bf592;}return _0x1e795f;}function _0x17fcbd(_0x133712){const _0x9c4ccf=_0x3894d5,_0x2841e2=_0x133712['split'](','),_0x476a7f=[];for(const _0x5ad36d of _0x2841e2){const [_0x257e7a,_0x342aa8,_0x380b00,_0x2204d9,_0x2f7df5,_0x22770e]=_0x5ad36d[_0x9c4ccf(0x37a)](':');_0x476a7f[_0x9c4ccf(0x2aa)]({'startOffset':Number(_0x257e7a),'endOffset':Number(_0x342aa8),'collapsed':_0x257e7a===_0x342aa8,'isActive':_0x380b00==='1','rangeType':_0x2204d9===_0x1e0609['DOC_RANGE_TYPE'][_0x9c4ccf(0x1d8)]?_0x1e0609[_0x9c4ccf(0x298)][_0x9c4ccf(0x1d8)]:_0x1e0609[_0x9c4ccf(0x298)]['RECT'],'segmentId':typeof _0x2f7df5==_0x9c4ccf(0x2f3)?String(_0x2f7df5):'','segmentPage':Number(_0x22770e!=null?_0x22770e:-0x1)});}return _0x476a7f[_0x9c4ccf(0x2b2)](_0x2759e5=>_0x2759e5['isActive'])||(_0x476a7f[0x0]['isActive']=!0x0),_0x476a7f;}class _0x55262d extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x91ccd0=_0x3894d5;super(...arguments),_0x552ea8(this,_0x91ccd0(0x24a),new _0x94d9ab[(_0x91ccd0(0x1ff))](null)),_0x552ea8(this,_0x91ccd0(0x2a7),this[_0x91ccd0(0x24a)][_0x91ccd0(0x26c)]());}[_0x3894d5(0x237)](_0x429c03){const _0x4fa6dc=_0x3894d5,{unitID:_0x3180f3,memberID:_0x1b7949,textRanges:_0x406987}=_0x429c03,_0x596315=_0x4e6471(_0x406987);if(_0x596315==='')return;const _0x3e8ffd={'unitID':_0x3180f3,'memberID':_0x1b7949,'selection':_0x596315};this[_0x4fa6dc(0x24a)]['next'](_0x3e8ffd);}}var _0x373b7f=Object['getOwnPropertyDescriptor'],_0x7085=(_0x5d067a,_0x3bae7a,_0x3533e7,_0x4ff056)=>{for(var _0x450433=_0x4ff056>0x1?void 0x0:_0x4ff056?_0x373b7f(_0x3bae7a,_0x3533e7):_0x3bae7a,_0x47c5b7=_0x5d067a['length']-0x1,_0x4332f9;_0x47c5b7>=0x0;_0x47c5b7--)(_0x4332f9=_0x5d067a[_0x47c5b7])&&(_0x450433=_0x4332f9(_0x450433)||_0x450433);return _0x450433;},_0x34bd19=(_0x4a7172,_0x160548)=>(_0x514a0a,_0x452705)=>_0x160548(_0x514a0a,_0x452705,_0x4a7172);const _0x57c7f6=0x12c,_0x51524a=0x64;let _0x4c854f=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x4597ff,_0x3b9f15,_0x4a37f9,_0x3de393,_0x11cde0,_0x2a84cb,_0x2b662d,_0x469b7a,_0x2de2bb){const _0x1b6744=_0x3894d5;super(),_0x552ea8(this,'_online',!0x1),_0x552ea8(this,_0x1b6744(0x28f),!0x1),_0x552ea8(this,_0x1b6744(0x263),new _0x94d9ab[(_0x1b6744(0x1ff))](new Map())),_0x552ea8(this,_0x1b6744(0x33c),this[_0x1b6744(0x263)][_0x1b6744(0x26c)]()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1b6744(0x1ff))]([])),_0x552ea8(this,_0x1b6744(0x274),this['_roomMembers$'][_0x1b6744(0x1cc)](_0x94d9ab[_0x1b6744(0x104)](_0x57c7f6))),_0x552ea8(this,_0x1b6744(0x25d),_0x1e0609[_0x1b6744(0x212)](_0x26bdc9=>{const _0x2d290c=_0x1b6744,_0x57a562={'eventID':_0xcfb5d3[_0x2d290c(0x189)][_0x2d290c(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this[_0x2d290c(0x1a6)]['getMemberID'](),'selection':_0x4e6471(_0x26bdc9)}};this[_0x2d290c(0x1a6)][_0x2d290c(0x342)](_0x57a562,this[_0x2d290c(0x1b3)]);},_0x51524a)),(this[_0x1b6744(0x1b3)]=_0x4597ff,this[_0x1b6744(0x1a6)]=_0x3b9f15,this[_0x1b6744(0x32a)]=_0x4a37f9,this[_0x1b6744(0x219)]=_0x3de393,this[_0x1b6744(0x26a)]=_0x11cde0,this[_0x1b6744(0x1fa)]=_0x2a84cb,this[_0x1b6744(0x29d)]=_0x2b662d,this[_0x1b6744(0x1a9)]=_0x469b7a,this[_0x1b6744(0x34a)]=_0x2de2bb);}get[_0x3894d5(0x318)](){const _0x1a6eb5=_0x3894d5;return this[_0x1a6eb5(0x263)][_0x1a6eb5(0x24f)]();}get[_0x3894d5(0x1cb)](){return this['_roomMembers$']['getValue']();}[_0x3894d5(0x1e1)](){const _0x30f272=_0x3894d5;super[_0x30f272(0x1e1)](),this[_0x30f272(0x263)][_0x30f272(0x147)](new Map()),this[_0x30f272(0x263)][_0x30f272(0x216)](),this[_0x30f272(0xfc)][_0x30f272(0x147)]([]),this['_roomMembers$']['complete']();}[_0x3894d5(0x32f)](){const _0x1d2638=_0x3894d5;this[_0x1d2638(0x28f)]||(this[_0x1d2638(0x28f)]=!0x0,this[_0x1d2638(0x1a6)]['sessionStatus$'][_0x1d2638(0x1cc)](_0x94d9ab['takeUntil'](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x49dfba=>{const _0x53ed4d=_0x1d2638;_0x49dfba===_0x2fd730['SessionStatus']['ONLINE']?this[_0x53ed4d(0x175)]():this[_0x53ed4d(0x2c3)]();}),this[_0x1d2638(0x1a6)][_0x1d2638(0x357)]['pipe'](_0x94d9ab[_0x1d2638(0x252)](this['dispose$']))[_0x1d2638(0x30e)](_0xecb389=>{const _0x272f54=_0x1d2638,_0x49ac26=_0xecb389[_0x272f54(0x352)];_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1a3)]&&this[_0x272f54(0x373)](_0xecb389),_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1e6)]&&this[_0x272f54(0x2dc)](_0xecb389);}),this[_0x1d2638(0x22c)](this[_0x1d2638(0x34a)][_0x1d2638(0x355)](_0xd261a5=>{const _0x457a79=_0x1d2638,_0x4f0cb3=_0xd261a5[_0x457a79(0x15e)];_0x4f0cb3!=null&&this[_0x457a79(0x339)]&&_0xd261a5['id']===_0x1aadfd[_0x457a79(0x253)]['id']&&_0x4f0cb3[_0x457a79(0x15c)]===this['unitID']&&_0x4f0cb3[_0x457a79(0x2fc)]===!0x1&&_0x4f0cb3[_0x457a79(0x2a3)][_0x457a79(0x18c)]>0x0&&this[_0x457a79(0x25d)](_0x4f0cb3['ranges']);})),this[_0x1d2638(0x1fa)]['collabCursorState$'][_0x1d2638(0x1cc)](_0x94d9ab[_0x1d2638(0x252)](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x2a4ae3=>{const _0x187e38=_0x1d2638;if((_0x2a4ae3==null?void 0x0:_0x2a4ae3[_0x187e38(0x1b3)])!==this[_0x187e38(0x1b3)])return;const _0x213c7a={'eventID':_0xcfb5d3[_0x187e38(0x189)][_0x187e38(0x1a3)],'data':_0x2a4ae3};this[_0x187e38(0x373)](_0x213c7a);}),this['disposeWithMe'](this[_0x1d2638(0x34a)]['onCommandExecuted'](_0x5756f8=>{const _0x5c5e49=_0x1d2638;if(_0x5756f8['params']==null)return;const _0x34e43d=_0x5756f8[_0x5c5e49(0x15e)];if(_0x5756f8['id']!==_0x1aadfd[_0x5c5e49(0x297)]['id']||_0x34e43d['unitId']!==this['unitID'])return;const _0x588b4f={'id':_0x5c5e49(0x2e2),'params':_0x34e43d},_0x437693=this[_0x5c5e49(0x318)];for(const [_0x9c7ebf,_0x29a0e1]of _0x437693){const _0x34c63c={'id':_0x5c5e49(0x2e2),'params':{'unitId':this[_0x5c5e49(0x1b3)],'actions':null,'textRanges':_0x29a0e1[_0x5c5e49(0x2a3)]}},_0x1eda08=this[_0x5c5e49(0x29d)][_0x5c5e49(0x1f3)](_0x588b4f,_0x34c63c,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x1eda08))throw _0x1eda08[_0x5c5e49(0x107)];_0x437693[_0x5c5e49(0x1b9)](_0x9c7ebf,{..._0x29a0e1,'ranges':_0x1eda08[_0x5c5e49(0x2b7)][_0x5c5e49(0x15e)][_0x5c5e49(0x12c)]});}queueMicrotask(()=>{const _0x2ce0c9=_0x5c5e49;this[_0x2ce0c9(0x263)]['next'](_0x437693);});})));}[_0x3894d5(0x373)](_0x1a3383){const _0x327f5a=_0x3894d5;var _0x533328,_0x35745d;const {memberID:_0x287b0a,selection:_0x18b1a6}=_0x1a3383['data'],_0x11b359=_0x17fcbd(_0x18b1a6),_0x2fc3e6=(_0x35745d=(_0x533328=this[_0x327f5a(0x26a)]['getMember'](this[_0x327f5a(0x1b3)],_0x287b0a))==null?void 0x0:_0x533328[_0x327f5a(0x188)])!=null?_0x35745d:'Unknown\x20user',_0x993972={'color':this[_0x327f5a(0x219)]['assignAColorForMemberID'](_0x287b0a),'name':_0x2fc3e6,'ranges':_0x11b359},_0x2c421d=this[_0x327f5a(0x318)];_0x2c421d[_0x327f5a(0x1b9)](_0x287b0a,_0x993972),this[_0x327f5a(0x263)][_0x327f5a(0x147)](_0x2c421d);}[_0x3894d5(0x2dc)](_0xb14d2d){const _0x774b13=_0x3894d5,{memberID:_0x3e9a08}=_0xb14d2d[_0x774b13(0x2d8)],_0x368475=this[_0x774b13(0x318)];_0x368475[_0x774b13(0x2e4)](_0x3e9a08),this[_0x774b13(0x263)][_0x774b13(0x147)](_0x368475);}[_0x3894d5(0x175)](){const _0xc7873e=_0x3894d5;var _0x594b8a;if(this[_0xc7873e(0x339)]=!0x0,((_0x594b8a=this[_0xc7873e(0x1a9)][_0xc7873e(0x233)]())==null?void 0x0:_0x594b8a['getUnitId']())!==this['unitID'])return;const _0x3ed547=this[_0xc7873e(0x32a)]['get'](_0x1aadfd[_0xc7873e(0x278)])[_0xc7873e(0x1b4)]();Array['isArray'](_0x3ed547)&&_0x3ed547['length']>0x0&&this['_updateLocalCursor'](_0x3ed547);}[_0x3894d5(0x2c3)](){const _0x34bce8=_0x3894d5;this[_0x34bce8(0x339)]=!0x1;}};_0x4c854f=_0x7085([_0x34bd19(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x34bd19(0x3,_0x1e0609[_0x3894d5(0x176)](_0x57aed3)),_0x34bd19(0x4,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x124)])),_0x34bd19(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x34bd19(0x6,_0xcfb5d3[_0x3894d5(0x177)]),_0x34bd19(0x7,_0x1e0609[_0x3894d5(0x301)]),_0x34bd19(0x8,_0x1e0609[_0x3894d5(0x1de)])],_0x4c854f);var _0x35936b=Object[_0x3894d5(0x23b)],_0x10772f=(_0x32572b,_0x35c312,_0x468b14,_0x5428a2)=>{const _0x57c094=_0x3894d5;for(var _0x5ee1e5=_0x5428a2>0x1?void 0x0:_0x5428a2?_0x35936b(_0x35c312,_0x468b14):_0x35c312,_0x186bf1=_0x32572b[_0x57c094(0x18c)]-0x1,_0x6a354f;_0x186bf1>=0x0;_0x186bf1--)(_0x6a354f=_0x32572b[_0x186bf1])&&(_0x5ee1e5=_0x6a354f(_0x5ee1e5)||_0x5ee1e5);return _0x5ee1e5;},_0x11db61=(_0x3bbc58,_0x5d0409)=>(_0x1613ad,_0x13025c)=>_0x5d0409(_0x1613ad,_0x13025c,_0x3bbc58);const _0x7d068f=0x12c,_0x480bca=0x64,_0x37ec3d=()=>{let _0x26ad93=[],_0x34b26e=!0x1;return _0x28ed17=>{const _0x3b7a18=_0x112f;_0x26ad93[_0x3b7a18(0x2aa)](_0x28ed17),_0x34b26e||(_0x34b26e=!0x0,setTimeout(()=>{const _0x36fa8c=_0x3b7a18;_0x26ad93[_0x36fa8c(0x122)](_0x2f9b64=>_0x2f9b64()),_0x26ad93=[],_0x34b26e=!0x1;}));};};let _0x12997a=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x399f35,_0x112653,_0x34dde2,_0x5f5660,_0x167532,_0x815253,_0x44a709,_0x1610b5){const _0x1ba7bd=_0x3894d5;super(),_0x552ea8(this,_0x1ba7bd(0x339),!0x1),_0x552ea8(this,'_init',!0x1),_0x552ea8(this,_0x1ba7bd(0x263),new _0x94d9ab[(_0x1ba7bd(0x1ff))](new Map())),_0x552ea8(this,_0x1ba7bd(0x33c),this[_0x1ba7bd(0x263)]['asObservable']()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1ba7bd(0x1ff))]([])),_0x552ea8(this,_0x1ba7bd(0x274),this['_roomMembers$'][_0x1ba7bd(0x1cc)](_0x94d9ab[_0x1ba7bd(0x104)](_0x7d068f))),_0x552ea8(this,_0x1ba7bd(0x25d),_0x1e0609['debounce']((_0x3bc266,_0x1fd0ad)=>{const _0x5598dc=_0x1ba7bd,_0x3a3caa={'eventID':_0xcfb5d3[_0x5598dc(0x189)][_0x5598dc(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5598dc(0x2b8)](),'selection':_0xf78882['serializeRangeWithSheet'](_0x3bc266,_0x1fd0ad[_0x5598dc(0x15b)])}};this[_0x5598dc(0x1a6)][_0x5598dc(0x342)](_0x3a3caa,this['unitID']);},_0x480bca)),(this[_0x1ba7bd(0x1b3)]=_0x399f35,this[_0x1ba7bd(0x1a6)]=_0x112653,this[_0x1ba7bd(0x32a)]=_0x34dde2,this[_0x1ba7bd(0x219)]=_0x5f5660,this['_memberService']=_0x167532,this[_0x1ba7bd(0x1a9)]=_0x815253,this[_0x1ba7bd(0x34a)]=_0x44a709,this['_refRangeService']=_0x1610b5);}get[_0x3894d5(0x318)](){const _0x494a29=_0x3894d5;return this[_0x494a29(0x263)][_0x494a29(0x24f)]();}get[_0x3894d5(0x1cb)](){const _0x564130=_0x3894d5;return this[_0x564130(0xfc)][_0x564130(0x24f)]();}[_0x3894d5(0x1e1)](){const _0x4cd588=_0x3894d5;super[_0x4cd588(0x1e1)](),this[_0x4cd588(0x263)][_0x4cd588(0x147)](new Map()),this[_0x4cd588(0x263)]['complete'](),this[_0x4cd588(0xfc)][_0x4cd588(0x147)]([]),this[_0x4cd588(0xfc)][_0x4cd588(0x216)]();}[_0x3894d5(0x32f)](){const _0x5dba4d=_0x3894d5;this[_0x5dba4d(0x28f)]||(this[_0x5dba4d(0x28f)]=!0x0,this[_0x5dba4d(0x1a6)][_0x5dba4d(0x20f)]['pipe'](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))['subscribe'](_0x209de8=>{const _0x2a1c6b=_0x5dba4d;_0x209de8===_0x2fd730['SessionStatus'][_0x2a1c6b(0x21f)]?this[_0x2a1c6b(0x175)]():this[_0x2a1c6b(0x2c3)]();}),this[_0x5dba4d(0x1a6)][_0x5dba4d(0x357)][_0x5dba4d(0x1cc)](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))[_0x5dba4d(0x30e)](_0x22f552=>{const _0x2266e5=_0x5dba4d,_0x2cd3c2=_0x22f552['eventID'];_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1a3)]&&this[_0x2266e5(0x373)](_0x22f552),_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1e6)]&&this['_onCursorDelete'](_0x22f552);}),this['_onRefRangeChange'](),this[_0x5dba4d(0x22c)](this[_0x5dba4d(0x34a)][_0x5dba4d(0x355)](_0x127fd2=>{const _0x276913=_0x5dba4d;if(this[_0x276913(0x339)]&&_0x127fd2['id']===_0x4b47a4[_0x276913(0x27c)]['id']&&_0x127fd2['params']['unitId']===this[_0x276913(0x1b3)]){const _0x106cf3=_0x127fd2[_0x276913(0x15e)];this[_0x276913(0x25d)](_0x106cf3['subUnitId'],_0x106cf3['selections'][0x0]);}})));}[_0x3894d5(0x373)](_0x1896ca){const _0x14c32a=_0x3894d5;var _0x10cec5,_0x4a0338;const {memberID:_0x510be3,selection:_0x4f996d}=_0x1896ca[_0x14c32a(0x2d8)],{sheetName:_0x49205e,range:_0x2d2e57}=_0xf78882[_0x14c32a(0x347)](_0x4f996d),_0x3c1d65={'name':(_0x4a0338=(_0x10cec5=this[_0x14c32a(0x26a)][_0x14c32a(0x2bf)](this[_0x14c32a(0x1b3)],_0x510be3))==null?void 0x0:_0x10cec5[_0x14c32a(0x188)])!=null?_0x4a0338:_0x14c32a(0x2a0),'range':this['_getMergeRange'](_0x49205e,_0x2d2e57),'sheetID':_0x49205e,'color':this[_0x14c32a(0x219)][_0x14c32a(0x29c)](_0x510be3),'selection':_0x4f996d},_0x21732e=this['cursorInfo'];_0x21732e[_0x14c32a(0x1b9)](_0x510be3,_0x3c1d65),this[_0x14c32a(0x263)][_0x14c32a(0x147)](_0x21732e);}[_0x3894d5(0x2dc)](_0xb7e0c5){const _0x422cf9=_0x3894d5,{memberID:_0x27e369}=_0xb7e0c5['data'],_0x1c8896=this[_0x422cf9(0x318)];_0x1c8896[_0x422cf9(0x2e4)](_0x27e369),this[_0x422cf9(0x263)][_0x422cf9(0x147)](_0x1c8896);}['_getMergeRange'](_0x1253a8,_0x4185a8){const _0x259d2e=_0x3894d5;var _0x17e7ad,_0x402ff2;const _0x58070b=(_0x402ff2=(_0x17e7ad=this[_0x259d2e(0x1a9)]['getUniverSheetInstance'](this[_0x259d2e(0x1b3)]))==null?void 0x0:_0x17e7ad[_0x259d2e(0x225)](_0x1253a8))==null?void 0x0:_0x402ff2[_0x259d2e(0x1e7)]();return(_0x58070b==null?void 0x0:_0x58070b[_0x259d2e(0x23c)](_0x1c1041=>_0x1e0609[_0x259d2e(0x300)][_0x259d2e(0xf7)](_0x1c1041,_0x4185a8)))||_0x4185a8;}['_onRefRangeChange'](){const _0x5c7737=_0x3894d5,_0x5f049c=new _0x1e0609['DisposableCollection'](),_0x5aea58=_0x37ec3d(),_0x2c9152=()=>{const _0x5946dd=_0x112f;_0x5f049c[_0x5946dd(0x1e1)]();const _0x3066de=(_0x5a72d5,_0x55ce2e,_0x2312ac,_0x1098fd)=>{const _0x5e05c8=_0x5946dd;let _0x387204=[];switch(_0x5a72d5['id']){case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x12d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x153)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x2a8)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x202)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x16d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x208)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x37c)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x314)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0xf9)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x333)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x1fc)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2c0)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x238)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2a6)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4['EffectRefRangId'][_0x5e05c8(0x1ea)]:{_0x387204=_0x4b47a4['handleIRemoveCol'](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)]['RemoveRowCommandId']:{_0x387204=_0x4b47a4['handleIRemoveRow'](_0x5a72d5,_0x1098fd);break;}}const _0x3f54e8=_0x4b47a4[_0x5e05c8(0x113)](_0x387204,_0x1098fd),_0x2efeda=this[_0x5e05c8(0x318)][_0x5e05c8(0x2b6)](_0x55ce2e);if(_0x2efeda&&_0x3f54e8){const _0x244015={..._0x2efeda,'range':_0x3f54e8};this[_0x5e05c8(0x318)][_0x5e05c8(0x1b9)](_0x55ce2e,_0x244015),_0x5aea58(()=>{const _0x299e13=_0x5e05c8,_0x1bd64e=this['_refRangeService']['registerRefRange'](_0x3f54e8,_0x16b26e=>(_0x1bd64e[_0x299e13(0x1e1)](),_0x3066de(_0x16b26e,_0x55ce2e,_0x2312ac,_0x3f54e8)));_0x5f049c[_0x299e13(0x13d)](_0x1bd64e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5946dd(0x122)]((_0x37fd40,_0x5aa3f0)=>{const _0x2bddc5=_0x5946dd,{range:_0x43ac73,sheetID:_0x1a8f45}=_0x37fd40,_0x19fb36=this[_0x2bddc5(0x21c)][_0x2bddc5(0x2f7)](_0x43ac73,_0x5992a2=>(_0x19fb36[_0x2bddc5(0x1e1)](),_0x3066de(_0x5992a2,_0x5aa3f0,_0x1a8f45,_0x43ac73)));_0x5f049c[_0x2bddc5(0x13d)](_0x19fb36);});};this[_0x5c7737(0x22c)](_0x1e0609['toDisposable'](this[_0x5c7737(0x263)][_0x5c7737(0x30e)](()=>{_0x2c9152();})));}[_0x3894d5(0x175)](){const _0x200bca=_0x3894d5;var _0x34af7f,_0x4732ab;if(this[_0x200bca(0x339)]=!0x0,((_0x34af7f=this[_0x200bca(0x1a9)][_0x200bca(0x233)]())==null?void 0x0:_0x34af7f[_0x200bca(0xe6)]())!==this[_0x200bca(0x1b3)])return;const _0x1876a5=(_0x4732ab=this['_injector']['get'](_0x4b47a4[_0x200bca(0x1dd)])[_0x200bca(0x213)]())==null?void 0x0:_0x4732ab[0x0],_0x51728e=this[_0x200bca(0x1a9)][_0x200bca(0x192)](_0x1e0609['UniverInstanceType'][_0x200bca(0x1c6)])[_0x200bca(0x2fd)]();_0x1876a5&&_0x51728e&&this[_0x200bca(0x25d)](_0x51728e[_0x200bca(0x142)](),_0x1876a5);}[_0x3894d5(0x2c3)](){const _0x26ab5a=_0x3894d5;this[_0x26ab5a(0x339)]=!0x1;}};_0x12997a=_0x10772f([_0x11db61(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x11db61(0x3,_0x1e0609['Inject'](_0x57aed3)),_0x11db61(0x4,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x124)])),_0x11db61(0x5,_0x1e0609['IUniverInstanceService']),_0x11db61(0x6,_0x1e0609[_0x3894d5(0x1de)]),_0x11db61(0x7,_0x1e0609['Inject'](_0x4b47a4['RefRangeService']))],_0x12997a);var _0x3730eb=Object['getOwnPropertyDescriptor'],_0x5c1e9b=(_0x361cbb,_0xd6c68a,_0x534855,_0x510e90)=>{const _0x44e506=_0x3894d5;for(var _0x5c82e3=_0x510e90>0x1?void 0x0:_0x510e90?_0x3730eb(_0xd6c68a,_0x534855):_0xd6c68a,_0x4aa1f9=_0x361cbb[_0x44e506(0x18c)]-0x1,_0xd167eb;_0x4aa1f9>=0x0;_0x4aa1f9--)(_0xd167eb=_0x361cbb[_0x4aa1f9])&&(_0x5c82e3=_0xd167eb(_0x5c82e3)||_0x5c82e3);return _0x5c82e3;},_0xa3d3bc=(_0x4a2548,_0x5b3c53)=>(_0x5b3053,_0x5d8c10)=>_0x5b3c53(_0x5b3053,_0x5d8c10,_0x4a2548);let _0x3766ca=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x5182f0,_0x18850a,_0x3e03f6){const _0xfeb5c6=_0x3894d5;super(),_0x552ea8(this,_0xfeb5c6(0x294),new Map()),_0x552ea8(this,'_entityInit$',new _0x94d9ab['Subject']()),(this[_0xfeb5c6(0x1a9)]=_0x5182f0,this[_0xfeb5c6(0x32a)]=_0x18850a,this[_0xfeb5c6(0x24d)]=_0x3e03f6,this['_init']());}['dispose'](){const _0x5b319e=_0x3894d5;super[_0x5b319e(0x1e1)](),this[_0x5b319e(0x1d9)][_0x5b319e(0x216)](),this[_0x5b319e(0x294)][_0x5b319e(0x122)](_0x53ec7a=>_0x53ec7a[_0x5b319e(0x1e1)]());}[_0x3894d5(0x20e)](_0x2cbc13){const _0x2f93e7=_0x3894d5;return this[_0x2f93e7(0x294)][_0x2f93e7(0x27d)](_0x2cbc13)?this[_0x2f93e7(0x294)][_0x2f93e7(0x2b6)](_0x2cbc13)[_0x2f93e7(0x33c)]:this[_0x2f93e7(0x1d9)]['pipe'](_0x94d9ab[_0x2f93e7(0xf0)](_0x28ebdb=>_0x28ebdb[_0x2f93e7(0x1b3)]===_0x2cbc13),_0x94d9ab[_0x2f93e7(0x1f6)](_0x2c54ba=>_0x2c54ba[_0x2f93e7(0x33c)]));}[_0x3894d5(0x28f)](){const _0x4f0046=_0x3894d5;this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x1c6)])['pipe'](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))[_0x4f0046(0x30e)](async _0x4a3ea5=>{const _0x1110bb=_0x4f0046,_0x2675d1=_0x4a3ea5[_0x1110bb(0xe6)](),_0x401254=await this['_startSheetCollabCursor'](_0x2675d1);this['_entityInit$'][_0x1110bb(0x147)](_0x401254),this[_0x1110bb(0x294)][_0x1110bb(0x1b9)](_0x2675d1,_0x401254);}),this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)])[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this['dispose$']))['pipe'](_0x94d9ab[_0x4f0046(0xf0)](_0x42e343=>!_0x42e343[_0x4f0046(0xe6)]()['startsWith']('__')))[_0x4f0046(0x30e)](async _0x1eebfc=>{const _0x41c1f5=_0x4f0046,_0x4056a6=_0x1eebfc[_0x41c1f5(0xe6)](),_0x6be9f0=await this[_0x41c1f5(0x14d)](_0x4056a6);this[_0x41c1f5(0x1d9)][_0x41c1f5(0x147)](_0x6be9f0),this[_0x41c1f5(0x294)][_0x41c1f5(0x1b9)](_0x4056a6,_0x6be9f0);}),_0x94d9ab[_0x4f0046(0x19c)](this['_univerInstanceService'][_0x4f0046(0x277)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)]),this[_0x4f0046(0x1a9)][_0x4f0046(0x277)](_0x1e0609['UniverInstanceType']['UNIVER_SHEET']))[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))['subscribe'](_0x24251d=>{const _0x10a2a5=_0x4f0046,_0x26546c=_0x24251d['getUnitId'](),_0x989868=this[_0x10a2a5(0x294)]['get'](_0x26546c);_0x989868&&(_0x989868[_0x10a2a5(0x1e1)](),this['_entities']['delete'](_0x26546c));});}async['_startSheetCollabCursor'](_0x2c14ff){const _0x22f97e=_0x3894d5,_0x407397=await this[_0x22f97e(0x24d)][_0x22f97e(0x103)](_0x2c14ff),_0xd95f0b=this[_0x22f97e(0x32a)][_0x22f97e(0x16f)](_0x12997a,_0x2c14ff,_0x407397);return _0xd95f0b[_0x22f97e(0x32f)](),_0xd95f0b;}async['_startDocCollabCursor'](_0xaa4fe1){const _0x5db7bd=_0x3894d5,_0x566bb3=await this[_0x5db7bd(0x24d)][_0x5db7bd(0x103)](_0xaa4fe1),_0x581be2=this[_0x5db7bd(0x32a)][_0x5db7bd(0x16f)](_0x4c854f,_0xaa4fe1,_0x566bb3);return _0x581be2[_0x5db7bd(0x32f)](),_0x581be2;}};_0x3766ca=_0x5c1e9b([_0xa3d3bc(0x0,_0x1e0609[_0x3894d5(0x301)]),_0xa3d3bc(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0xa3d3bc(0x2,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x1d2)]))],_0x3766ca);const _0x57f764=0x14,_0x4790ee=0xc8,_0x9e742=0x4,_0xbf4c7d=0x5;function _0x21408a(_0x527f8f,_0x3bb20e){const _0x4bd93c=_0x3894d5;let {radius:_0x4f7268,width:_0x3b54a6,height:_0x53b77e}=_0x3bb20e;_0x4f7268=_0x4f7268!=null?_0x4f7268:0x0,_0x3b54a6=_0x3b54a6!=null?_0x3b54a6:0x1e,_0x53b77e=_0x53b77e!=null?_0x53b77e:0x1e;let _0x580c94=0x0,_0xd4dd77=0x0,_0x26e5b8=0x0;_0x580c94=_0xd4dd77=_0x26e5b8=Math[_0x4bd93c(0x358)](_0x4f7268,_0x3b54a6/0x2,_0x53b77e/0x2),_0x527f8f[_0x4bd93c(0x287)](),_0x527f8f[_0x4bd93c(0x33e)](_0x580c94,0x0),_0x527f8f[_0x4bd93c(0x34f)](_0x3b54a6-_0xd4dd77,0x0),_0x527f8f[_0x4bd93c(0x2c1)](_0x3b54a6-_0xd4dd77,_0xd4dd77,_0xd4dd77,Math['PI']*0x3/0x2,0x0,!0x1),_0x527f8f['lineTo'](_0x3b54a6,_0x53b77e-_0x26e5b8),_0x527f8f['arc'](_0x3b54a6-_0x26e5b8,_0x53b77e-_0x26e5b8,_0x26e5b8,0x0,Math['PI']/0x2,!0x1),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x53b77e),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x580c94),_0x527f8f[_0x4bd93c(0x2c1)](_0x580c94,_0x580c94,_0x580c94,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x527f8f[_0x4bd93c(0x2e8)](),_0x3bb20e[_0x4bd93c(0x2e9)]&&(_0x527f8f['save'](),_0x527f8f[_0x4bd93c(0x23a)]=_0x3bb20e[_0x4bd93c(0x2e9)],_0x3bb20e[_0x4bd93c(0x375)]==='evenodd'?_0x527f8f['fill'](_0x4bd93c(0x26b)):_0x527f8f[_0x4bd93c(0x2e9)](),_0x527f8f[_0x4bd93c(0x26e)]());}class _0x14178e extends _0x8660e4[_0x3894d5(0x2bb)]{constructor(_0x5d6326,_0x104c67){const _0x5268e4=_0x3894d5;super(_0x5d6326,_0x104c67),_0x552ea8(this,'color'),_0x552ea8(this,'text'),(this['color']=_0x104c67==null?void 0x0:_0x104c67[_0x5268e4(0x179)],this['text']=_0x104c67==null?void 0x0:_0x104c67['text']);}static['drawWith'](_0x482c58,_0x3f977d){const _0x1b05ab=_0x3894d5,{text:_0x256625,color:_0x2edf6d}=_0x3f977d;_0x482c58['save'](),_0x482c58[_0x1b05ab(0x1ed)]=_0x1b05ab(0xe9);const _0x4a1d2d=_0x482c58[_0x1b05ab(0x2d6)](_0x256625)[_0x1b05ab(0x1e9)],_0x11a657=Math[_0x1b05ab(0x358)](_0x4a1d2d+0x2*_0x9e742,_0x4790ee);_0x21408a(_0x482c58,{'height':_0x57f764,'radius':0x4,'width':_0x11a657,'fill':_0x2edf6d}),_0x482c58[_0x1b05ab(0x23a)]=_0x1b05ab(0x1c0);const _0x26ed4d=_0x9e742,_0x24016e=_0x57f764-_0xbf4c7d,_0x4fd4ee=_0x4790ee-0x2*_0x9e742;if(_0x4a1d2d>_0x4fd4ee){let _0x470b48='',_0x2edf18=0x0;for(const _0x4c405d of _0x256625){const _0x23703e=_0x482c58['measureText'](_0x4c405d)[_0x1b05ab(0x1e9)];if(_0x2edf18+_0x23703e<=_0x4fd4ee-_0x482c58[_0x1b05ab(0x2d6)](_0x1b05ab(0x190))['width'])_0x470b48+=_0x4c405d,_0x2edf18+=_0x23703e;else{_0x470b48+='...';break;}}_0x482c58[_0x1b05ab(0x11c)](_0x470b48,_0x26ed4d,_0x24016e);}else _0x482c58['fillText'](_0x256625,_0x26ed4d,_0x24016e);_0x482c58[_0x1b05ab(0x26e)]();}['_draw'](_0x497bd8){const _0x476f8e=_0x3894d5;_0x14178e[_0x476f8e(0x244)](_0x497bd8,this);}}const _0x518849=_0x3894d5(0x256),_0x4878d3=_0x3894d5(0x374),_0x4148e5=_0x3894d5(0x29e),_0x3b5385=0x6,_0x3a4f7d=1.5,_0x33e095=0x4,_0x4315e2=1.5,_0x31b9a1='rgba(255,\x20255,\x20255,\x200.01)';class _0xcdf02e{constructor(_0x305f61,_0x254ef4,_0x40c5f2,_0x1eab38){const _0x1c21fb=_0x3894d5;_0x552ea8(this,'_shapes',[]),_0x552ea8(this,_0x1c21fb(0x1ce),null),_0x552ea8(this,'_textBubble',null),_0x552ea8(this,_0x1c21fb(0x2ad),null),_0x552ea8(this,_0x1c21fb(0x2af),null),_0x552ea8(this,_0x1c21fb(0x326),null),(this[_0x1c21fb(0x345)]=_0x305f61,this['_scene']=_0x254ef4,this[_0x1c21fb(0xfb)]=_0x40c5f2,this[_0x1c21fb(0x161)]=_0x1eab38,this[_0x1c21fb(0x34e)]());}set[_0x3894d5(0x130)](_0x46262d){const _0x54118a=_0x3894d5;_0x46262d?(this[_0x54118a(0x2ad)]&&this['_anchorDot'][_0x54118a(0x123)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x182)]()):(this[_0x54118a(0x2ad)]&&this[_0x54118a(0x2ad)][_0x54118a(0x182)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x123)]());}[_0x3894d5(0x1e1)](){const _0x25e854=_0x3894d5;for(const _0x579300 of this[_0x25e854(0x29b)])_0x579300[_0x25e854(0x1e1)]();this[_0x25e854(0x172)]&&this[_0x25e854(0x172)][_0x25e854(0x1e1)](),this[_0x25e854(0x2ad)]&&this[_0x25e854(0x2ad)][_0x25e854(0x1e1)](),this[_0x25e854(0x1ce)]&&this['_anchor'][_0x25e854(0x1e1)](),this[_0x25e854(0x326)]&&this['_eventUnsubscribe']();}[_0x3894d5(0x34e)](){const _0x36c319=_0x3894d5;var _0xaf637b;const {_docSkeleton:_0x10b0dc,_document:_0x48d39b}=this,{color:_0xfdec52,name:_0x44aafe,ranges:_0x22ead3}=this[_0x36c319(0x345)],_0x427129=_0x48d39b[_0x36c319(0x1dc)](),{docsLeft:_0x38d4ef,docsTop:_0x3cc063}=_0x427129,_0x1dffb5=new _0x189013[(_0x36c319(0x340))](_0x427129,_0x10b0dc);for(const {startOffset:_0x3a8f6f,endOffset:_0x5a9e87,rangeType:_0x3dd06c,segmentId:_0x2a1871,segmentPage:_0x5e3998,collapsed:_0x2e2af5,isActive:_0xa54e4e}of _0x22ead3){const _0x161438=_0x10b0dc[_0x36c319(0x332)](_0x3a8f6f,!0x0,_0x2a1871,_0x5e3998);let _0x38b119=_0x10b0dc['findNodePositionByCharIndex'](_0x5a9e87,!0x0,_0x2a1871,_0x5e3998);if(_0x38b119==null&&(_0x38b119=_0x10b0dc[_0x36c319(0x332)](_0x5a9e87-0x1,!0x1,_0x2a1871,_0x5e3998)),_0xa54e4e){const {contentBoxPointGroup:_0x3dcb05}=_0x1dffb5[_0x36c319(0x111)](_0x38b119,_0x38b119);if(_0x3dcb05[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x150)](_0xfdec52,_0x3dcb05,_0x38d4ef,_0x3cc063,_0x44aafe),this['_eventUnsubscribe']=this[_0x36c319(0x138)]();}if(_0x161438&&_0x38b119){if(_0x3dd06c===_0x1e0609[_0x36c319(0x298)]['RECT']){const _0x59da9e=new _0x189013[(_0x36c319(0x336))](_0x427129,_0x10b0dc),{pointGroup:_0x141134}=(_0xaf637b=_0x59da9e[_0x36c319(0x111)](_0x161438,_0x38b119))!=null?_0xaf637b:{};if(_0x141134==null||_0x141134['length']===0x0)continue;this[_0x36c319(0x13a)](_0xfdec52,_0x141134,_0x38d4ef,_0x3cc063);}else{if(!_0x2e2af5){const {borderBoxPointGroup:_0x306478}=_0x1dffb5[_0x36c319(0x111)](_0x161438,_0x38b119);if(_0x306478[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x14a)](_0xfdec52,_0x306478,_0x38d4ef,_0x3cc063);}}}}}[_0x3894d5(0x150)](_0x367790,_0x33c0b0,_0x404955,_0x458a8a,_0x38c11d){const _0x2b50c3=_0x3894d5,_0x4dc682=this['_getAnchorBounding'](_0x33c0b0),{left:_0x19a819,top:_0x1b1e7f,height:_0x1a8532}=_0x4dc682,_0x39e01d=this['_getScale'](),_0x1a7b58=_0x4315e2/_0x39e01d,_0x19808f=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a,'height':_0x1a8532,'width':_0x3a4f7d,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':_0x1a7b58,'stroke':_0x31b9a1,'evented':!0x0});this[_0x2b50c3(0x1ce)]=_0x19808f,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x19808f,_0x189013[_0x2b50c3(0x17c)]);const _0x904760=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x33e095/0x2,'height':_0x33e095,'width':_0x33e095,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':0x0,'stroke':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609['COLORS']['black'],0x0),'evented':!0x1});this[_0x2b50c3(0x2ad)]=_0x904760,this['_scene'][_0x2b50c3(0x20c)](_0x904760,_0x189013['TEXT_RANGE_LAYER_INDEX']);const _0x404523=new _0x14178e(_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x57f764,'text':_0x38c11d,'color':_0x367790});this[_0x2b50c3(0x172)]=_0x404523,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x404523,_0x189013[_0x2b50c3(0x17c)]),this[_0x2b50c3(0x130)]=!0x1;}[_0x3894d5(0x138)](){const _0x480a6a=_0x3894d5,_0x55fba1=this[_0x480a6a(0x1ce)][_0x480a6a(0x2a4)][_0x480a6a(0x11a)](()=>{const _0x26016e=_0x480a6a;this[_0x26016e(0x130)]=!0x0;}),_0x23e666=this['_anchor'][_0x480a6a(0x19e)][_0x480a6a(0x11a)](()=>{const _0x21a83c=_0x480a6a;this[_0x21a83c(0x2af)]&&clearTimeout(this[_0x21a83c(0x2af)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2e2e2b=_0x480a6a;_0x55fba1[_0x2e2e2b(0x2e0)](),_0x23e666[_0x2e2e2b(0x2e0)]();};}[_0x3894d5(0x14a)](_0xdaeff7,_0x4fc6e7,_0x213378,_0x13a895){const _0x26c3e4=_0x3894d5,_0xf1a500=new _0x1e0609[(_0x26c3e4(0x217))](_0xdaeff7)[_0x26c3e4(0x1a1)](0.2)[_0x26c3e4(0x2ef)](),_0x3d7742=new _0x8660e4[(_0x26c3e4(0x164))](_0x4878d3+_0x1e0609[_0x26c3e4(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x4fc6e7,'fill':_0xf1a500||_0x8660e4[_0x26c3e4(0x35a)](_0x1e0609[_0x26c3e4(0x1cd)][_0x26c3e4(0x361)],0.2),'left':_0x213378,'top':_0x13a895,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26c3e4(0x29b)][_0x26c3e4(0x2aa)](_0x3d7742),this[_0x26c3e4(0x273)][_0x26c3e4(0x20c)](_0x3d7742,_0x189013[_0x26c3e4(0x17c)]);}['_drawRectRange'](_0x5d5c47,_0x57ed33,_0x42a012,_0x234920){const _0x5bbe1c=_0x3894d5,_0x2fc69f=new _0x1e0609[(_0x5bbe1c(0x217))](_0x5d5c47)[_0x5bbe1c(0x1a1)](0.2)[_0x5bbe1c(0x2ef)](),_0x58f811=new _0x8660e4[(_0x5bbe1c(0x164))](_0x4148e5+_0x1e0609[_0x5bbe1c(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x57ed33,'fill':_0x2fc69f||_0x8660e4[_0x5bbe1c(0x35a)](_0x1e0609['COLORS'][_0x5bbe1c(0x361)],0.2),'left':_0x42a012,'top':_0x234920,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bbe1c(0x29b)]['push'](_0x58f811),this[_0x5bbe1c(0x273)][_0x5bbe1c(0x20c)](_0x58f811,_0x189013[_0x5bbe1c(0x17c)]);}[_0x3894d5(0x33f)](_0x423e7e){const _0x26e2c4=_0x423e7e[0x0],_0x325fdc=_0x26e2c4[0x0],_0x103a91=_0x26e2c4[0x2],{x:_0x10b817,y:_0x883722}=_0x325fdc,{x:_0x1755b5,y:_0x171e1f}=_0x103a91;return{'left':_0x10b817,'top':_0x883722,'width':_0x1755b5-_0x10b817,'height':_0x171e1f-_0x883722};}['_getScale'](){const _0x416694=_0x3894d5,{scaleX:_0x1e2946,scaleY:_0x5c768f}=this[_0x416694(0x273)][_0x416694(0x1fe)]();return Math[_0x416694(0x2c8)](_0x1e2946,_0x5c768f);}}var _0xe6f1b6=Object[_0x3894d5(0x23b)],_0x52b942=(_0x45a0c5,_0xc712f7,_0x273c26,_0x88bcb)=>{const _0x1c8f63=_0x3894d5;for(var _0xae52d4=_0x88bcb>0x1?void 0x0:_0x88bcb?_0xe6f1b6(_0xc712f7,_0x273c26):_0xc712f7,_0x235508=_0x45a0c5[_0x1c8f63(0x18c)]-0x1,_0x2d1d08;_0x235508>=0x0;_0x235508--)(_0x2d1d08=_0x45a0c5[_0x235508])&&(_0xae52d4=_0x2d1d08(_0xae52d4)||_0xae52d4);return _0xae52d4;},_0x4c402e=(_0x533bfd,_0x2f450b)=>(_0x5b3b40,_0x21eb31)=>_0x2f450b(_0x5b3b40,_0x21eb31,_0x533bfd);let _0x30bcfd=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x35b2b1,_0x339f64,_0x701c12,_0x366480,_0x4a0449){const _0x3a50b7=_0x3894d5;super(),_0x552ea8(this,'_cursorShapes',[]),_0x552ea8(this,_0x3a50b7(0x13c),[]),(this['_context']=_0x35b2b1,this[_0x3a50b7(0x27e)]=_0x339f64,this['_collabCursorController']=_0x701c12,this[_0x3a50b7(0x34a)]=_0x366480,this['_themeService']=_0x4a0449,this[_0x3a50b7(0x28f)]());}[_0x3894d5(0x28f)](){const _0xd46ad6=_0x3894d5,_0x3a787e=this['_context'][_0xd46ad6(0x15c)],_0x5d69e1=this[_0xd46ad6(0x27e)];this['disposeWithMe'](_0x94d9ab[_0xd46ad6(0x36d)]([this[_0xd46ad6(0x304)][_0xd46ad6(0x20e)](_0x3a787e),this[_0xd46ad6(0x151)]['currentTheme$']])[_0xd46ad6(0x1cc)](_0xecbc95[_0xd46ad6(0x1e4)](([_0x2c5987,_0x404881])=>({'skeleton':_0x5d69e1[_0xd46ad6(0x32d)](),'cursors':[..._0x2c5987[_0xd46ad6(0x28c)]()]['flatMap'](_0x5dc980=>({..._0x5dc980,'color':_0x404881[_0x5dc980[_0xd46ad6(0x179)]]}))})))[_0xd46ad6(0x30e)](_0xc3e798=>{const _0x2d6648=_0xd46ad6;if(this[_0x2d6648(0x223)](),_0xc3e798){const {skeleton:_0x4eb0f0,cursors:_0x5c6dd2}=_0xc3e798;this[_0x2d6648(0x377)](_0x4eb0f0,_0x5c6dd2);}})),this[_0xd46ad6(0xea)](),this['_initCommandExecutedListener']();}[_0x3894d5(0x377)](_0x4c4d74,_0x2a4d30){const _0x1cc825=_0x3894d5,{scene:_0x22cfad,mainComponent:_0x4999e1}=this[_0x1cc825(0x194)],_0x239beb=_0x2a4d30[_0x1cc825(0x1e4)](_0x45803a=>new _0xcdf02e(_0x45803a,_0x22cfad,_0x4c4d74,_0x4999e1));this['_cursorShapes']=_0x239beb,this[_0x1cc825(0x13c)]=_0x2a4d30;}['_refreshCollabCursors'](){const _0x740fd=_0x3894d5;this[_0x740fd(0x223)]();const {scene:_0x10877b,mainComponent:_0x4619f6}=this[_0x740fd(0x194)],_0x388c18=this[_0x740fd(0x27e)][_0x740fd(0x32d)](),_0x5501ac=this[_0x740fd(0x13c)][_0x740fd(0x1e4)](_0x295e95=>new _0xcdf02e(_0x295e95,_0x10877b,_0x388c18,_0x4619f6));this['_cursorShapes']=_0x5501ac;}['_removeCollabCursors'](){const _0x3b050e=_0x3894d5;this[_0x3b050e(0x367)][_0x3b050e(0x122)](_0x4ec894=>_0x4ec894[_0x3b050e(0x1e1)]()),this['_cursorShapes']=[];}[_0x3894d5(0x230)](){const _0x5d3c2d=_0x3894d5,_0x2b407b=[_0x189013['SetDocZoomRatioOperation']['id']];this[_0x5d3c2d(0x22c)](this['_commandService'][_0x5d3c2d(0x355)](_0xd85aa3=>{const _0x384e88=_0x5d3c2d;_0x2b407b[_0x384e88(0x319)](_0xd85aa3['id'])&&_0xd85aa3[_0x384e88(0x15e)][_0x384e88(0x15c)]===this['_context'][_0x384e88(0x15c)]&&this['_refreshCollabCursors']();}));}[_0x3894d5(0xea)](){const _0x1ca57b=_0x3894d5;this[_0x1ca57b(0x22c)](_0x1e0609['fromEventSubject'](this[_0x1ca57b(0x194)][_0x1ca57b(0x1b0)]['onTransformChange$'])[_0x1ca57b(0x1cc)](_0xecbc95['filter'](_0x51d010=>_0x51d010[_0x1ca57b(0x31a)]===_0x8660e4[_0x1ca57b(0x30c)][_0x1ca57b(0x293)]),_0xecbc95['throttleTime'](0x10))[_0x1ca57b(0x30e)](()=>{const _0x2582ee=_0x1ca57b;this[_0x2582ee(0x210)]();}));}};_0x30bcfd=_0x52b942([_0x4c402e(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1aadfd[_0x3894d5(0x1ae)])),_0x4c402e(0x2,_0x1e0609['Inject'](_0x3766ca)),_0x4c402e(0x3,_0x1e0609[_0x3894d5(0x1de)]),_0x4c402e(0x4,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x30bcfd);const _0x14bcd3=0x1,_0x3bd920=1.5;class _0xd0ee36 extends _0x8660e4['Shape']{constructor(_0x49d26f,_0x1f1998){const _0x1bdc5a=_0x3894d5;super(_0x49d26f,_0x1f1998),_0x552ea8(this,_0x1bdc5a(0x266)),_0x552ea8(this,_0x1bdc5a(0x270),!0x1),_0x552ea8(this,'_range'),_0x552ea8(this,_0x1bdc5a(0x267),''),_0x552ea8(this,_0x1bdc5a(0x1df),'top'),_0x552ea8(this,_0x1bdc5a(0x2ee)),(_0x1f1998&&this['setShapeProps'](_0x1f1998),this[_0x1bdc5a(0x2a4)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x0})),this[_0x1bdc5a(0x19e)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x1})));}[_0x3894d5(0x114)](_0x3c7444){const _0x2ddad2=_0x3894d5;var _0x3847bd,_0x484d87,_0x518cf3,_0x56ff24,_0x1a0a38,_0xccbc87;this[_0x2ddad2(0x266)]=(_0x3847bd=_0x3c7444[_0x2ddad2(0x179)])!=null?_0x3847bd:this[_0x2ddad2(0x266)],this['_hovered']=(_0x484d87=_0x3c7444[_0x2ddad2(0xf2)])!=null?_0x484d87:this['_hovered'],this[_0x2ddad2(0x2c2)]=(_0x518cf3=_0x3c7444['range'])!=null?_0x518cf3:this[_0x2ddad2(0x2c2)],this[_0x2ddad2(0x267)]=(_0x56ff24=_0x3c7444[_0x2ddad2(0x188)])!=null?_0x56ff24:this[_0x2ddad2(0x267)],this[_0x2ddad2(0x1df)]=(_0x1a0a38=_0x3c7444[_0x2ddad2(0x226)])!=null?_0x1a0a38:this['_labelPosition'],this[_0x2ddad2(0x2ee)]=(_0xccbc87=_0x3c7444['backgroundColor'])!=null?_0xccbc87:this[_0x2ddad2(0x2ee)],this[_0x2ddad2(0x234)]({'width':_0x3c7444[_0x2ddad2(0x1e9)],'height':_0x3c7444['height']});}[_0x3894d5(0x346)](_0x1d8d57){const _0x24658a=_0x3894d5,{row:_0x473dbb,column:_0x2717c1}=_0x1d8d57;if(_0x473dbb>=this['_range']['startRow']&&_0x473dbb<=this['_range'][_0x24658a(0x149)]&&_0x2717c1>=this[_0x24658a(0x2c2)]['startColumn']&&_0x2717c1<=this[_0x24658a(0x2c2)]['endColumn']){this[_0x24658a(0x114)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2de287){return!0x1;}[_0x3894d5(0x2e1)](_0xc58c9a){const _0x7a114f=_0x3894d5;_0x8660e4[_0x7a114f(0x36c)][_0x7a114f(0x244)](_0xc58c9a,{'width':this[_0x7a114f(0x1e9)],'height':this[_0x7a114f(0x302)],'strokeWidth':_0x3bd920,'stroke':this[_0x7a114f(0x266)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0xc58c9a[_0x7a114f(0x317)](),_0xc58c9a['transform'](0x1,0x0,0x0,0x1,this[_0x7a114f(0x1e9)],this[_0x7a114f(0x1df)]===_0x7a114f(0x29f)?0x0:-0x14),_0x14178e[_0x7a114f(0x244)](_0xc58c9a,{'text':this['_name'],'color':this[_0x7a114f(0x266)]}),_0xc58c9a[_0x7a114f(0x26e)]());}}var _0x22969f=Object[_0x3894d5(0x23b)],_0x4db5ff=(_0x5e1c31,_0x4aa8a,_0x62ab60,_0x1c8ca7)=>{const _0x25368d=_0x3894d5;for(var _0x1d4ca6=_0x1c8ca7>0x1?void 0x0:_0x1c8ca7?_0x22969f(_0x4aa8a,_0x62ab60):_0x4aa8a,_0xa982c2=_0x5e1c31[_0x25368d(0x18c)]-0x1,_0x27908a;_0xa982c2>=0x0;_0xa982c2--)(_0x27908a=_0x5e1c31[_0xa982c2])&&(_0x1d4ca6=_0x27908a(_0x1d4ca6)||_0x1d4ca6);return _0x1d4ca6;},_0x36744a=(_0x9695e1,_0x343ab9)=>(_0x1eab69,_0x4ac439)=>_0x343ab9(_0x1eab69,_0x4ac439,_0x9695e1);const _0x52eedf=0x1389;let _0x41413e=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x435c51,_0x38f829,_0x3a918a,_0x22ab32){const _0x2dd7fb=_0x3894d5;super(),_0x552ea8(this,_0x2dd7fb(0x13c),new Set()),_0x552ea8(this,_0x2dd7fb(0x1f8),null),(this[_0x2dd7fb(0x194)]=_0x435c51,this['_sheetSkeletonManagerService']=_0x38f829,this['_collabCursorController']=_0x3a918a,this[_0x2dd7fb(0x151)]=_0x22ab32,this['_init']());}[_0x3894d5(0x28f)](){const _0x165aa1=_0x3894d5;this[_0x165aa1(0x14f)][_0x165aa1(0x35d)]['pipe'](_0xecbc95[_0x165aa1(0x252)](this[_0x165aa1(0x140)]),_0xecbc95[_0x165aa1(0x1f6)](_0x3c5866=>{const _0xc7ef81=_0x165aa1;if(_0x3c5866){const _0x29ac2e=_0x3c5866['sheetId'];return _0x94d9ab[_0xc7ef81(0x36d)](this[_0xc7ef81(0x304)][_0xc7ef81(0x20e)](this[_0xc7ef81(0x194)]['unitId']),this['_themeService'][_0xc7ef81(0x2bc)])[_0xc7ef81(0x1cc)](_0xecbc95[_0xc7ef81(0x1e4)](([_0x27fe63,_0x3065e1])=>{const _0x13cc5f=_0xc7ef81,_0x1e8201=new Map();return _0x27fe63[_0x13cc5f(0x122)]((_0x5ccf4a,_0xf3a930)=>{const _0x445727=_0x13cc5f;if(_0x5ccf4a[_0x445727(0x206)]===_0x29ac2e){const _0x192362={..._0x5ccf4a};_0x192362[_0x445727(0x179)]=_0x3065e1[_0x5ccf4a[_0x445727(0x179)]],_0x1e8201[_0x445727(0x1b9)](_0xf3a930,_0x192362);}}),{'skeleton':_0x3c5866,'cursors':_0x1e8201};}));}return _0x94d9ab['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x426457,cursors:_0x2258dd})=>{const _0x1375fc=_0x165aa1;this[_0x1375fc(0x223)](),_0x426457&&this[_0x1375fc(0x377)](_0x426457,_0x2258dd);}),this[_0x165aa1(0x14f)][_0x165aa1(0x35d)][_0x165aa1(0x30e)](_0x2012c4=>{const _0x5ef557=_0x165aa1;if(_0x2012c4==null)return;const {skeleton:_0x4d36bf}=_0x2012c4,{scene:_0x2efed1}=this[_0x5ef557(0x194)];_0x2efed1[_0x5ef557(0x281)][_0x5ef557(0x11a)](_0x1e0609[_0x5ef557(0x212)](_0x40c6b7=>{const _0x30cb62=_0x5ef557;var _0x3f5a67,_0x20bfc8;const {offsetX:_0x351bfd,offsetY:_0x21499a}=_0x40c6b7,{x:_0x173dc5,y:_0x2c02b9}=_0x2efed1['getRelativeToViewportCoord'](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x351bfd,_0x21499a])),{scaleX:_0x5e890a,scaleY:_0x1b5913}=_0x2efed1[_0x30cb62(0x1fe)](),_0x61313b=_0x2efed1[_0x30cb62(0x22a)](_0x8660e4[_0x30cb62(0x1b1)][_0x30cb62(0x116)]),_0x3bcb55=_0x2efed1[_0x30cb62(0x2d2)](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x173dc5,_0x2c02b9]),_0x61313b),_0x2280c4=_0x4d36bf[_0x30cb62(0x1a7)](_0x351bfd,_0x21499a,_0x5e890a,_0x1b5913,_0x3bcb55);((_0x3f5a67=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x3f5a67[_0x30cb62(0x221)])===_0x2280c4[_0x30cb62(0x221)]&&((_0x20bfc8=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x20bfc8[_0x30cb62(0x15f)])===_0x2280c4[_0x30cb62(0x15f)]||this[_0x30cb62(0x13c)][_0x30cb62(0x122)](_0x1804e0=>{_0x1804e0['onMouseMove'](_0x2280c4);});},0x64));});}[_0x3894d5(0x377)](_0x387d24,_0x3ddb1e){const _0x41e9b7=_0x3894d5;var _0x354010;const _0x314585=(_0x354010=this[_0x41e9b7(0x14f)][_0x41e9b7(0x242)]())==null?void 0x0:_0x354010['skeleton'];if(!_0x314585)return;const _0x50cb9e=this[_0x41e9b7(0xec)]();if(!_0x50cb9e)return;this[_0x41e9b7(0x13c)][_0x41e9b7(0x122)](_0x18aec4=>{const _0xc4e412=_0x41e9b7;_0x18aec4[_0xc4e412(0x32e)]();});const {scene:_0x1d8d76}=_0x50cb9e,_0x1eda89=_0x5bfed8(Array[_0x41e9b7(0x329)](_0x3ddb1e['values']()))[_0x41e9b7(0x1e4)](_0x2f74b8=>{const _0x426852=_0x41e9b7,{color:_0x3f4f99,range:_0x22b16d,name:_0xfba25d,selection:_0x208f8e,sheetID:_0x5478b3}=_0x2f74b8,{startColumn:_0x3af748,startRow:_0x311335,endColumn:_0x3d823a,endRow:_0x1a0186}=_0x22b16d,_0x1b2527=_0x5b5571[_0x426852(0x15a)](_0x311335,_0x3af748,_0x1d8d76,_0x314585),_0x2337c1=_0x5b5571[_0x426852(0x15a)](_0x1a0186,_0x3d823a,_0x1d8d76,_0x314585),{columnHeaderHeightAndMarginTop:_0x1fd7c5}=_0x314585,{startX:_0x2f1fb1,startY:_0x3cd300}=_0x1b2527,{endX:_0x2bdfb7,endY:_0x2abcbd}=_0x2337c1,_0x405f11=_0x2bdfb7-_0x2f1fb1,_0x315c72=_0x2abcbd-_0x3cd300,_0x547897={'labelPosition':_0x3cd300-_0x1fd7c5>=_0x57f764?_0x426852(0x2f2):_0x426852(0x29f),'sheetID':_0x5478b3,'range':_0x22b16d,'color':_0x3f4f99,'name':_0xfba25d,'selection':_0x208f8e,'left':_0x2f1fb1,'top':_0x3cd300,'width':_0x405f11,'height':_0x315c72,'evented':!0x1,'zIndex':_0x52eedf};return new _0xd0ee36(_0xfba25d,_0x547897);});_0x1d8d76[_0x41e9b7(0x254)](_0x1eda89,_0x14bcd3),this['_cursors']=new Set(_0x1eda89);}[_0x3894d5(0x223)](){const _0x3091d8=_0x3894d5;var _0x44bfe5;(_0x44bfe5=this[_0x3091d8(0x13c)])==null||_0x44bfe5['forEach'](_0xc5d717=>_0xc5d717[_0x3091d8(0x1e1)]());}[_0x3894d5(0xec)](){const _0x34ce6f=_0x3894d5;return _0x5b5571[_0x34ce6f(0x12b)](this['_context']['unit'],this[_0x34ce6f(0x194)]);}};_0x41413e=_0x4db5ff([_0x36744a(0x1,_0x1e0609[_0x3894d5(0x176)](_0x5b5571[_0x3894d5(0x2a9)])),_0x36744a(0x2,_0x1e0609[_0x3894d5(0x176)](_0x3766ca)),_0x36744a(0x3,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x41413e);function _0x5bfed8(_0x4b9705){const _0x5050c9=_0x3894d5,_0x5368df=new Map();return _0x4b9705['forEach'](_0x1d88c4=>{const _0x38f830=_0x112f;if(_0x5368df['has'](_0x1d88c4[_0x38f830(0x227)])){const _0x43bffa=_0x5368df[_0x38f830(0x2b6)](_0x1d88c4['selection']);_0x43bffa['name']+=',\x20'+_0x1d88c4[_0x38f830(0x188)];}else _0x5368df['set'](_0x1d88c4[_0x38f830(0x227)],_0x1d88c4);}),Array[_0x5050c9(0x329)](_0x5368df[_0x5050c9(0x28c)]());}var _0x44b173=function(){const _0x36e69e=_0x3894d5;return _0x44b173=Object[_0x36e69e(0xeb)]||function(_0x525d11){const _0x39b0f3=_0x36e69e;for(var _0x354b36,_0x241075=0x1,_0x3e1d9c=arguments[_0x39b0f3(0x18c)];_0x241075<_0x3e1d9c;_0x241075++){_0x354b36=arguments[_0x241075];for(var _0x367689 in _0x354b36)Object[_0x39b0f3(0x132)]['hasOwnProperty'][_0x39b0f3(0x133)](_0x354b36,_0x367689)&&(_0x525d11[_0x367689]=_0x354b36[_0x367689]);}return _0x525d11;},_0x44b173[_0x36e69e(0x1e0)](this,arguments);},_0x43db54=function(_0x57485b,_0x395e59){const _0x429f19=_0x3894d5;var _0x34fcb9={};for(var _0xe1dd05 in _0x57485b)Object[_0x429f19(0x132)][_0x429f19(0x31f)][_0x429f19(0x133)](_0x57485b,_0xe1dd05)&&_0x395e59[_0x429f19(0x30b)](_0xe1dd05)<0x0&&(_0x34fcb9[_0xe1dd05]=_0x57485b[_0xe1dd05]);if(_0x57485b!=null&&typeof Object[_0x429f19(0x1f4)]=='function'){for(var _0x2e7d9a=0x0,_0xe1dd05=Object[_0x429f19(0x1f4)](_0x57485b);_0x2e7d9a<_0xe1dd05[_0x429f19(0x18c)];_0x2e7d9a++)_0x395e59[_0x429f19(0x30b)](_0xe1dd05[_0x2e7d9a])<0x0&&Object[_0x429f19(0x132)][_0x429f19(0x2ec)][_0x429f19(0x133)](_0x57485b,_0xe1dd05[_0x2e7d9a])&&(_0x34fcb9[_0xe1dd05[_0x2e7d9a]]=_0x57485b[_0xe1dd05[_0x2e7d9a]]);}return _0x34fcb9;},_0x57cf35=_0x283846[_0x3894d5(0x1da)](function(_0x1a35fb,_0x19c48e){const _0x5415e5=_0x3894d5;var _0x4b5204=_0x1a35fb['icon'],_0xe6457=_0x1a35fb['id'],_0x73a093=_0x1a35fb[_0x5415e5(0x1d7)],_0x2e15de=_0x1a35fb[_0x5415e5(0x255)],_0x28dbb7=_0x43db54(_0x1a35fb,['icon','id','className',_0x5415e5(0x255)]),_0x2378da='univerjs-icon\x20univerjs-icon-'[_0x5415e5(0xfd)](_0xe6457,'\x20')[_0x5415e5(0xfd)](_0x73a093||'')[_0x5415e5(0x348)](),_0x1ab020=_0x283846[_0x5415e5(0x148)]('_'[_0x5415e5(0xfd)](_0x337959()));return _0x16510f(_0x4b5204,''['concat'](_0xe6457),{'defIds':_0x4b5204[_0x5415e5(0x199)],'idSuffix':_0x1ab020[_0x5415e5(0x1f9)]},_0x44b173({'ref':_0x19c48e,'className':_0x2378da},_0x28dbb7),_0x2e15de);});function _0x16510f(_0x3f3429,_0x423697,_0x8c8e59,_0x37012f,_0x21e7d9){const _0x478dd1=_0x3894d5;return _0x283846[_0x478dd1(0x368)](_0x3f3429[_0x478dd1(0x13f)],_0x44b173(_0x44b173({'key':_0x423697},_0x47fd95(_0x3f3429,_0x8c8e59,_0x21e7d9)),_0x37012f),(_0x7678e5(_0x3f3429,_0x8c8e59)['children']||[])[_0x478dd1(0x1e4)](function(_0x1e8d14,_0x396db7){const _0x2b8f16=_0x478dd1;return _0x16510f(_0x1e8d14,''['concat'](_0x423697,'-')[_0x2b8f16(0xfd)](_0x3f3429[_0x2b8f16(0x13f)],'-')['concat'](_0x396db7),_0x8c8e59,void 0x0,_0x21e7d9);}));}function _0x47fd95(_0x3472cf,_0x1bb2e8,_0x4c344a){const _0x49f870=_0x3894d5;var _0x5dcfce=_0x44b173({},_0x3472cf['attrs']);_0x4c344a!=null&&_0x4c344a[_0x49f870(0x235)]&&_0x5dcfce['fill']===_0x49f870(0x235)&&(_0x5dcfce[_0x49f870(0x2e9)]=_0x4c344a[_0x49f870(0x235)]),_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x239)&&_0x5dcfce['id']&&(_0x5dcfce['id']=_0x5dcfce['id']+_0x1bb2e8[_0x49f870(0x285)]),Object[_0x49f870(0x24e)](_0x5dcfce)[_0x49f870(0x122)](function(_0x4f6167){const _0x1131f8=_0x49f870;var _0x381a23=_0x4f6167[0x0],_0x1e9a2f=_0x4f6167[0x1];_0x381a23===_0x1131f8(0x239)&&typeof _0x1e9a2f==_0x1131f8(0x2f3)&&(_0x5dcfce[_0x381a23]=_0x1e9a2f[_0x1131f8(0x35e)](/url\(#(.*)\)/,_0x1131f8(0x271)['concat'](_0x1bb2e8[_0x1131f8(0x285)],')')));});var _0x5c876e=_0x1bb2e8[_0x49f870(0x199)];return!_0x5c876e||_0x5c876e[_0x49f870(0x18c)]===0x0||(_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x2ca)&&_0x5dcfce['xlink:href']&&(_0x5dcfce[_0x49f870(0x135)]=_0x5dcfce['xlink:href']+_0x1bb2e8[_0x49f870(0x285)]),Object['entries'](_0x5dcfce)[_0x49f870(0x122)](function(_0xd86c01){const _0x5cdea2=_0x49f870;var _0x335cdb=_0xd86c01[0x0],_0x3e95fb=_0xd86c01[0x1];typeof _0x3e95fb==_0x5cdea2(0x2f3)&&(_0x5dcfce[_0x335cdb]=_0x3e95fb[_0x5cdea2(0x35e)](/url\(#(.*)\)/,_0x5cdea2(0x271)['concat'](_0x1bb2e8[_0x5cdea2(0x285)],')')));})),_0x5dcfce;}function _0x7678e5(_0x30ae28,_0x11c52b){const _0x1522d2=_0x3894d5;var _0x4cf4e5,_0x2c369a=_0x11c52b[_0x1522d2(0x199)];return!_0x2c369a||_0x2c369a[_0x1522d2(0x18c)]===0x0?_0x30ae28:_0x30ae28[_0x1522d2(0x13f)]===_0x1522d2(0x198)&&(!((_0x4cf4e5=_0x30ae28[_0x1522d2(0x34c)])===null||_0x4cf4e5===void 0x0)&&_0x4cf4e5[_0x1522d2(0x18c)])?_0x44b173(_0x44b173({},_0x30ae28),{'children':_0x30ae28['children'][_0x1522d2(0x1e4)](function(_0x11caef){const _0x55f032=_0x1522d2;return typeof _0x11caef[_0x55f032(0x1b6)]['id']=='string'&&_0x2c369a&&_0x2c369a['indexOf'](_0x11caef[_0x55f032(0x1b6)]['id'])>-0x1?_0x44b173(_0x44b173({},_0x11caef),{'attrs':_0x44b173(_0x44b173({},_0x11caef[_0x55f032(0x1b6)]),{'id':_0x11caef[_0x55f032(0x1b6)]['id']+_0x11c52b[_0x55f032(0x285)]})}):_0x11caef;})}):_0x30ae28;}function _0x337959(){const _0xf7d4ef=_0x3894d5;return Math['random']()['toString'](0x24)[_0xf7d4ef(0x279)](0x2,0x8);}_0x57cf35[_0x3894d5(0x2b0)]=_0x3894d5(0x1a2);var _0x1f2323={'tag':'svg','attrs':{'fill':_0x3894d5(0x17e),'viewBox':_0x3894d5(0x137),'width':_0x3894d5(0x102),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x29a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3894d5(0x28d)},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8)}}]}]}],'defIds':[_0x3894d5(0x28d)]},_0x33a1f8=_0x283846[_0x3894d5(0x1da)](function(_0x2b7fc5,_0x2332bc){const _0x5ed291=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x5ed291(0xeb)]({},_0x2b7fc5,{'id':'off-line-single','ref':_0x2332bc,'icon':_0x1f2323}));});_0x33a1f8['displayName']='OffLineSingle';var _0x6b7ed3={'tag':_0x3894d5(0x36a),'attrs':{'fill':'none','viewBox':_0x3894d5(0x36e),'width':_0x3894d5(0x102),'height':_0x3894d5(0x102)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x24c),'strokeLinecap':_0x3894d5(0x1fd),'strokeLinejoin':_0x3894d5(0x1fd),'strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':_0x3894d5(0x152),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8),'transform':_0x3894d5(0x26f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1eb8de=_0x283846['forwardRef'](function(_0x4b5b55,_0x17733a){const _0x46b2c9=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x46b2c9(0xeb)]({},_0x4b5b55,{'id':'on-line-single','ref':_0x17733a,'icon':_0x6b7ed3}));});_0x1eb8de[_0x3894d5(0x2b0)]=_0x3894d5(0x338);const _0x371087={'onlineStatusIcon':_0x3894d5(0x1c9),'onlineStatusTitle':_0x3894d5(0x280),'onlineStatus':_0x3894d5(0x269),'online':_0x3894d5(0x232),'offline':_0x3894d5(0x126)};function _0x4a96f6(_0x4de315){const _0x4fd31f=_0x3894d5;switch(_0x4de315){case _0x2fd730[_0x4fd31f(0x240)]['OFFLINE']:return _0x4fd31f(0x36b);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x13b)]:return _0x4fd31f(0x101);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x2f1)]:return'collabStatus.fetchMiss';case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x28b)]:return _0x4fd31f(0x204);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x25c)]:case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x259)]:return _0x4fd31f(0x325);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x1b2)]:case _0x2fd730[_0x4fd31f(0x240)]['PENDING']:return _0x4fd31f(0x141);}}function _0x2352fd(_0x30c738){const _0x53e5f8=_0x3894d5,{status$:_0x2fa0f1}=_0x30c738,_0x16b558=_0x43b760[_0x53e5f8(0x220)](_0x2fa0f1,_0x2fd730['CollaborationStatus'][_0x53e5f8(0x28b)]),_0x309028=_0x43b760[_0x53e5f8(0x16a)](_0x1e0609[_0x53e5f8(0x23d)]),_0x22b26e=_0x43b760[_0x53e5f8(0x16a)](_0x2fd730[_0x53e5f8(0x1d2)]),_0x5cd093=_0x16b558!==_0x2fd730[_0x53e5f8(0x240)][_0x53e5f8(0x1ab)],_0x47471a=_0x309028['t'](_0x4a96f6(_0x16b558)),_0x102d09=_0x4fc34b[_0x53e5f8(0x20a)](_0x371087[_0x53e5f8(0x2dd)],{[_0x371087[_0x53e5f8(0x18e)]]:_0x5cd093,[_0x371087[_0x53e5f8(0x2e5)]]:!_0x5cd093}),_0x816388=_0x5cd093?_0x4e444a['jsx'](_0x1eb8de,{}):_0x4e444a[_0x53e5f8(0x195)](_0x33a1f8,{}),_0x2a07bf=_0x283846[_0x53e5f8(0x1bd)](()=>{const _0x2a152f=_0x53e5f8;_0x5cd093||_0x22b26e[_0x2a152f(0x173)]();},[_0x5cd093,_0x22b26e]);function _0x17577c(){const _0x25820c=_0x53e5f8;return _0x4e444a[_0x25820c(0x2ba)](_0x25820c(0x2e7),{'className':_0x4fc34b[_0x25820c(0x20a)](_0x102d09,_0x25820c(0x2f4)),'onClick':_0x2a07bf,'children':[_0x4e444a[_0x25820c(0x195)]('div',{'className':_0x371087[_0x25820c(0x337)],'children':_0x816388}),_0x4e444a['jsx']('div',{'className':_0x371087[_0x25820c(0x272)],'children':_0x47471a})]});}return _0x5cd093?_0x17577c():_0x4e444a[_0x53e5f8(0x195)](_0x4fc34b['Tooltip'],{'title':_0x309028['t']('collab-client.tooltip.reconnect'),'children':_0x17577c()});}var _0x3104ba=Object[_0x3894d5(0x23b)],_0x5c0e5a=(_0x59375f,_0x53e696,_0x5bb1d1,_0x2db874)=>{const _0x18a9ef=_0x3894d5;for(var _0x5105f8=_0x2db874>0x1?void 0x0:_0x2db874?_0x3104ba(_0x53e696,_0x5bb1d1):_0x53e696,_0x30502d=_0x59375f[_0x18a9ef(0x18c)]-0x1,_0xe606a7;_0x30502d>=0x0;_0x30502d--)(_0xe606a7=_0x59375f[_0x30502d])&&(_0x5105f8=_0xe606a7(_0x5105f8)||_0x5105f8);return _0x5105f8;},_0x3361b5=(_0x31c1c8,_0x5d4211)=>(_0x3c63d2,_0x18d181)=>_0x5d4211(_0x3c63d2,_0x18d181,_0x31c1c8);_0x342240[_0x3894d5(0x30f)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x4d2694,_0x3abbb2,_0x3c6945,_0x37f660){const _0x55ee9b=_0x3894d5;super(),_0x552ea8(this,'_status$',new _0x94d9ab[(_0x55ee9b(0x1ff))](_0x2fd730[_0x55ee9b(0x240)][_0x55ee9b(0x28b)])),(this[_0x55ee9b(0x1a9)]=_0x4d2694,this[_0x55ee9b(0x32a)]=_0x3abbb2,this[_0x55ee9b(0x170)]=_0x3c6945,this[_0x55ee9b(0x125)]=_0x37f660,this[_0x55ee9b(0x2f5)](),this['_initStatusListener']());}[_0x3894d5(0x290)](){const _0x41d179=_0x3894d5;this[_0x41d179(0x22c)](this[_0x41d179(0x1a9)][_0x41d179(0x23e)][_0x41d179(0x1cc)](_0x94d9ab[_0x41d179(0x1f6)](()=>{const _0x28c7a1=_0x41d179,_0x113912=this[_0x28c7a1(0x1a9)][_0x28c7a1(0x233)]();return _0x113912?this[_0x28c7a1(0x170)][_0x28c7a1(0x108)](_0x113912['getUnitId']()):_0x94d9ab['of'](null);}),_0x94d9ab[_0x41d179(0x1f6)](_0x3a8329=>_0x3a8329?_0x3a8329['status$']:_0x94d9ab['of'](_0x2fd730['CollaborationStatus'][_0x41d179(0x28b)])))[_0x41d179(0x30e)](_0x31afa2=>{const _0x224509=_0x41d179;this['_status$'][_0x224509(0x147)](_0x31afa2);}));}[_0x3894d5(0x2f5)](){const _0x268ea8=_0x3894d5;this[_0x268ea8(0x22c)](this[_0x268ea8(0x125)][_0x268ea8(0x322)](_0x43b760[_0x268ea8(0x1f5)][_0x268ea8(0x162)],()=>_0x43b760[_0x268ea8(0x2d3)](_0x108322({'status$':this[_0x268ea8(0x10c)][_0x268ea8(0x26c)]()}),this[_0x268ea8(0x32a)])));}},_0x342240[_0x3894d5(0x30f)]=_0x5c0e5a([_0x3361b5(0x0,_0x1e0609['IUniverInstanceService']),_0x3361b5(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0x3361b5(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationController'])),_0x3361b5(0x3,_0x43b760['IUIPartsService'])],_0x342240[_0x3894d5(0x30f)]);function _0x108322(_0x4a44c0){const {status$:_0x2e4fe0}=_0x4a44c0;return function(){const _0x5d18df=_0x112f;return _0x4e444a[_0x5d18df(0x195)](_0x2352fd,{'status$':_0x2e4fe0});};}var _0x3fd5e1=Object[_0x3894d5(0x23b)],_0x2913f6=(_0x318956,_0x3df290,_0x4a2d2e,_0x30fe2c)=>{const _0x15944e=_0x3894d5;for(var _0x2a7f6b=_0x30fe2c>0x1?void 0x0:_0x30fe2c?_0x3fd5e1(_0x3df290,_0x4a2d2e):_0x3df290,_0x1db7cf=_0x318956[_0x15944e(0x18c)]-0x1,_0x4827bf;_0x1db7cf>=0x0;_0x1db7cf--)(_0x4827bf=_0x318956[_0x1db7cf])&&(_0x2a7f6b=_0x4827bf(_0x2a7f6b)||_0x2a7f6b);return _0x2a7f6b;},_0x36090d=(_0x45f4ce,_0x508489)=>(_0x5ea72c,_0x1a20ba)=>_0x508489(_0x5ea72c,_0x1a20ba,_0x45f4ce);let _0x4cc335=class extends _0x1e0609['Disposable']{constructor(_0x3b8233,_0x2d6eb1,_0x23c439,_0x5de431,_0x2089f6,_0x5448c3){const _0x20536f=_0x3894d5;super(),this[_0x20536f(0x19d)]=_0x3b8233,this[_0x20536f(0x12f)]=_0x2d6eb1,this[_0x20536f(0x320)]=_0x23c439,this[_0x20536f(0x28a)]=_0x5de431,this[_0x20536f(0x196)]=_0x2089f6,this[_0x20536f(0x316)]=_0x5448c3,this[_0x20536f(0xef)](),this[_0x20536f(0x2ae)]();}[_0x3894d5(0xef)](){const _0x5802d4=_0x3894d5;this[_0x5802d4(0x22c)](this[_0x5802d4(0x19d)][_0x5802d4(0x27f)](()=>{const _0x5d63bd=_0x5802d4;if(this['_localCacheService'][_0x5d63bd(0xf8)]['size'])return this[_0x5d63bd(0x316)]['t'](_0x5d63bd(0x145));}));}['_initEvent'](){const _0x129464=_0x3894d5;this['disposeWithMe'](this[_0x129464(0x320)][_0x129464(0x357)][_0x129464(0x30e)](_0x1307fc=>{const _0x38a091=_0x129464;_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x311)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this['_localeService']['t'](_0x38a091(0x1e8))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x10b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x351)]&&this[_0x38a091(0x196)][_0x38a091(0x182)]({'title':this[_0x38a091(0x316)]['t']('permission.title'),'content':this[_0x38a091(0x316)]['t']('permission.content'),'type':'error','duration':0x0}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x13b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))+'('+_0x1307fc['data']+')'}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x14c)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Warning'],'content':this[_0x38a091(0x316)]['t'](_0x1307fc[_0x38a091(0x2d8)]||'')}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2df)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c4))}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)]['SOCKET_FAILED']&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Error'],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x10d))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2a1)]&&this['_messageService']['show']({'type':_0x4fc34b['MessageType'][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t']('session.collaboration-timeout')});}));}};_0x4cc335=_0x2913f6([_0x36090d(0x0,_0x43b760[_0x3894d5(0xed)]),_0x36090d(0x1,_0x2fd730[_0x3894d5(0x2ce)]),_0x36090d(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationUIEventService'])),_0x36090d(0x3,_0x43b760[_0x3894d5(0x10a)]),_0x36090d(0x4,_0x43b760['INotificationService']),_0x36090d(0x5,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x4cc335);const _0x6c376=_0x3894d5(0x21a),_0x5a525b={},_0x1d6363=_0x1e0609['createIdentifier'](_0x3894d5(0x2f9));var _0x392b15=Object['getOwnPropertyDescriptor'],_0x1418cc=(_0x5c2cb7,_0x414958,_0x34b534,_0x1d7220)=>{for(var _0x49a0e2=_0x1d7220>0x1?void 0x0:_0x1d7220?_0x392b15(_0x414958,_0x34b534):_0x414958,_0x261dc0=_0x5c2cb7['length']-0x1,_0x32d2a0;_0x261dc0>=0x0;_0x261dc0--)(_0x32d2a0=_0x5c2cb7[_0x261dc0])&&(_0x49a0e2=_0x32d2a0(_0x49a0e2)||_0x49a0e2);return _0x49a0e2;},_0xa24e63=(_0x4d83e5,_0x429f1b)=>(_0x3eef47,_0x359708)=>_0x429f1b(_0x3eef47,_0x359708,_0x4d83e5);_0x342240[_0x3894d5(0x268)]=class extends _0x1e0609['RxDisposable']{constructor(_0x35c0b1,_0x2d9178,_0x55970c,_0x4318ca,_0x3879e7){const _0x5454b8=_0x3894d5;super(),this['_urlService']=_0x35c0b1,this[_0x5454b8(0x362)]=_0x2d9178,this[_0x5454b8(0x34a)]=_0x55970c,this[_0x5454b8(0xee)]=_0x4318ca,_0x3879e7?_0x3879e7==null||_0x3879e7[_0x5454b8(0x1ee)]()[_0x5454b8(0x1fb)](()=>this[_0x5454b8(0x28f)]()):(this[_0x5454b8(0x362)][_0x5454b8(0x1ba)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5454b8(0x28f)]());}async['_init'](){const _0x3828ae=_0x3894d5,_0x1f3867=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x264)),_0x39c0f8=this[_0x3828ae(0x21d)]['getParam']('type'),_0x1f0152=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x1a0));if(!_0x1f3867||!_0x39c0f8){this['_logService'][_0x3828ae(0x1ba)](_0x3828ae(0x184),_0x3828ae(0x275));return;}const _0x45f44d=await this['_dataLoaderService'][_0x3828ae(0x308)](_0x1f3867,Number(_0x39c0f8),_0x1f0152);_0x45f44d&&_0x45f44d instanceof _0x1e0609[_0x3828ae(0x163)]&&this['_setupSubUnitSync'](_0x45f44d);}async[_0x3894d5(0x341)](_0x1ba5eb){const _0x153e5a=_0x3894d5;await this[_0x153e5a(0x11d)](_0x1ba5eb),_0x1ba5eb[_0x153e5a(0x11e)][_0x153e5a(0x1cc)](_0x94d9ab['takeUntil'](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](_0x151c7a=>{const _0x43944e=_0x153e5a;_0x151c7a&&this[_0x43944e(0xe8)](_0x151c7a);}),this[_0x153e5a(0x21d)][_0x153e5a(0x1b5)][_0x153e5a(0x1cc)](_0x94d9ab[_0x153e5a(0x252)](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](()=>this[_0x153e5a(0x11d)](_0x1ba5eb));}['_updateURLWithCurrentState'](_0x16bd56,_0x43f1ab=!0x1){const _0x5c980c=_0x3894d5,_0x3d21d5=this[_0x5c980c(0x21d)][_0x5c980c(0x33d)]('subunit');_0x16bd56['getSheetId']()!==_0x3d21d5&&this[_0x5c980c(0x21d)][_0x5c980c(0x131)](_0x5c980c(0x1a0),_0x16bd56[_0x5c980c(0x142)](),_0x43f1ab);}async[_0x3894d5(0x11d)](_0x394755){const _0x35e8af=_0x3894d5;var _0x599c4a;const _0x2c3117=this['_urlService'][_0x35e8af(0x33d)](_0x35e8af(0x1a0));if(!_0x2c3117||!_0x394755[_0x35e8af(0x225)](_0x2c3117)){const _0x130f80=_0x394755[_0x35e8af(0x303)]()[0x0],_0x2e7754=_0x394755[_0x35e8af(0x225)](_0x130f80);if(!_0x2e7754)return;this[_0x35e8af(0xe8)](_0x2e7754,!0x0),await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4['SetWorksheetActivateCommand']['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x130f80});return;}((_0x599c4a=_0x394755['getActiveSheet']())==null?void 0x0:_0x599c4a[_0x35e8af(0x142)]())!==_0x2c3117&&await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4[_0x35e8af(0x207)]['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x2c3117});}},_0x342240[_0x3894d5(0x268)]=_0x1418cc([_0xa24e63(0x0,_0x1d6363),_0xa24e63(0x1,_0x1e0609[_0x3894d5(0x250)]),_0xa24e63(0x2,_0x1e0609['ICommandService']),_0xa24e63(0x3,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x224)])),_0xa24e63(0x4,_0x1e0609['Optional'](_0x4b767c['IRemoteInstanceService']))],_0x342240[_0x3894d5(0x268)]);var _0x1586a2=Object[_0x3894d5(0x23b)],_0x93c370=(_0x28e957,_0x401715,_0x51f437,_0x50f128)=>{for(var _0x51c713=_0x50f128>0x1?void 0x0:_0x50f128?_0x1586a2(_0x401715,_0x51f437):_0x401715,_0xdd9a45=_0x28e957['length']-0x1,_0x53d3f3;_0xdd9a45>=0x0;_0xdd9a45--)(_0x53d3f3=_0x28e957[_0xdd9a45])&&(_0x51c713=_0x53d3f3(_0x51c713)||_0x51c713);return _0x51c713;},_0x168cc1=(_0x4cd36d,_0x182e4c)=>(_0x13e4d5,_0x4b5134)=>_0x182e4c(_0x13e4d5,_0x4b5134,_0x4cd36d);let _0x28c5eb=class{constructor(_0x47d431,_0x254e90,_0x5c6c13){const _0x3f4a46=_0x3894d5;this[_0x3f4a46(0x32a)]=_0x47d431,this['_transformService']=_0x254e90,this['_renderManagerService']=_0x5c6c13;}[_0x3894d5(0x139)](_0x2549d7){const _0x1f5f0a=_0x3894d5;this[_0x1f5f0a(0x12e)](_0x2549d7),this[_0x1f5f0a(0x1ac)](_0x2549d7);}[_0x3894d5(0x143)](_0x4f1510){const _0x46ba5c=_0x3894d5,{unitID:_0x34e168}=_0x4f1510,_0x4beb47=this[_0x46ba5c(0x110)][_0x46ba5c(0x174)](_0x34e168)[_0x46ba5c(0x25b)](_0x189013[_0x46ba5c(0x28e)]),{redoCache:_0x4c7d02}=_0x4beb47['getUndoRedoMutationParamsCache']();if(_0x4c7d02[_0x46ba5c(0x18c)]===0x0)return _0x4f1510;let _0x1fbdb5=_0x1e0609[_0x46ba5c(0x33b)]['deepClone'](_0x4f1510['mutations'][0x0]);for(let _0x486943=0x0;_0x486943<_0x4c7d02[_0x46ba5c(0x18c)];_0x486943++){const _0x74642c={'id':'doc.mutation.rich-text-editing','params':{..._0x4c7d02[_0x486943]}},_0x10009b=this[_0x46ba5c(0x29d)][_0x46ba5c(0x1f3)](_0x1fbdb5,_0x74642c,!0x1);if(_0xcfb5d3[_0x46ba5c(0x2a2)](_0x10009b))throw _0x10009b[_0x46ba5c(0x107)];_0x1fbdb5=_0x10009b[_0x46ba5c(0x18f)];}return{..._0x1e0609['Tools'][_0x46ba5c(0x2b4)](_0x4f1510),'mutations':[_0x1fbdb5]};}['_transformUndoRedoStack'](_0x2c4879){const _0x31e022=_0x3894d5,{unitID:_0x1c27e0}=_0x2c4879,_0x5f3d97=this['_renderManagerService'][_0x31e022(0x174)](_0x1c27e0)[_0x31e022(0x25b)](_0x189013[_0x31e022(0x28e)]),{undoCache:_0x2cc4dd,redoCache:_0x64f2c1}=_0x5f3d97[_0x31e022(0x187)]();if(_0x2cc4dd[_0x31e022(0x18c)]===0x0||_0x64f2c1[_0x31e022(0x18c)]===0x0)return;const _0x30f5fd=[],_0x2d93da=[];let _0x58229d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879[_0x31e022(0x2b5)][0x0]),_0x49fa7d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879['mutations'][0x0]);for(let _0xa6cf95=_0x2cc4dd[_0x31e022(0x18c)]-0x1;_0xa6cf95>=0x0;_0xa6cf95--){const _0x5a1c58={'id':_0x31e022(0x2e2),'params':{..._0x2cc4dd[_0xa6cf95]}},_0x23bf5d={'id':'doc.mutation.rich-text-editing','params':{..._0x64f2c1[_0xa6cf95]}},_0x343552=this['_transformService'][_0x31e022(0x1f3)](_0x58229d,_0x5a1c58,!0x1),_0x415669=this['_transformService'][_0x31e022(0x1f3)](_0x49fa7d,_0x23bf5d,!0x1);if(_0xcfb5d3[_0x31e022(0x2a2)](_0x343552))throw _0x343552[_0x31e022(0x107)];if(_0xcfb5d3[_0x31e022(0x2a2)](_0x415669))throw _0x415669['error'];_0x30f5fd[_0x31e022(0x312)](_0x343552[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x2d93da['unshift'](_0x415669[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x58229d=_0x343552['m1Prime'],_0x49fa7d=_0x415669[_0x31e022(0x18f)];}_0x5f3d97[_0x31e022(0x309)]({'undoCache':_0x30f5fd,'redoCache':_0x2d93da});}[_0x3894d5(0x1ac)](_0x5a71d4){const _0xf18784=_0x3894d5,{unitID:_0x172c98}=_0x5a71d4,_0x196b3b=this[_0xf18784(0x110)][_0xf18784(0x174)](_0x172c98)[_0xf18784(0x25b)](_0x189013[_0xf18784(0x28e)]),_0x219971=_0x196b3b[_0xf18784(0x2fb)]();if(_0x219971==null)return;const _0x29be07=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a71d4[_0xf18784(0x1b3)],'actions':null,'textRanges':[_0x219971]}}],_0x2efced=this['_transformService'][_0xf18784(0x1f7)](_0x5a71d4,_0x29be07);if(!_0xcfb5d3[_0xf18784(0x2d1)](_0x2efced))throw _0x2efced['error'];const _0x20ed7d=_0x2efced['m2Prime'][0x0][_0xf18784(0x15e)][_0xf18784(0x12c)];Array[_0xf18784(0x25f)](_0x20ed7d)&&_0x20ed7d[_0xf18784(0x18c)]&&_0x196b3b[_0xf18784(0x2f0)](_0x20ed7d[0x0]);}};_0x28c5eb=_0x93c370([_0x168cc1(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609['Injector'])),_0x168cc1(0x1,_0xcfb5d3['ITransformService']),_0x168cc1(0x2,_0x8660e4['IRenderManagerService'])],_0x28c5eb);var _0x23cea9=Object[_0x3894d5(0x23b)],_0x46116c=(_0x1561a2,_0x51f75f,_0x1957ae,_0x4b2da0)=>{for(var _0x3a55e0=_0x4b2da0>0x1?void 0x0:_0x4b2da0?_0x23cea9(_0x51f75f,_0x1957ae):_0x51f75f,_0x55bbfd=_0x1561a2['length']-0x1,_0x22e522;_0x55bbfd>=0x0;_0x55bbfd--)(_0x22e522=_0x1561a2[_0x55bbfd])&&(_0x3a55e0=_0x22e522(_0x3a55e0)||_0x3a55e0);return _0x3a55e0;},_0x21cacd=(_0x1b5117,_0x31d9b9)=>(_0x38ff75,_0xe762c2)=>_0x31d9b9(_0x38ff75,_0xe762c2,_0x1b5117);let _0x4670a8=class{constructor(_0x43f114,_0x24db4d,_0x22aa2c){const _0x51c3eb=_0x3894d5;this[_0x51c3eb(0x32a)]=_0x43f114,this[_0x51c3eb(0x29d)]=_0x24db4d,this[_0x51c3eb(0x211)]=_0x22aa2c;}['transformStateCache'](_0x216e33){const _0x43452b=_0x3894d5;this[_0x43452b(0x171)](_0x216e33);}['transformRemoteChangeset'](_0x152a11){const _0x5a903a=_0x3894d5,{unitID:_0x3b6dd8}=_0x152a11,{collaboration:_0x3bd903}=this[_0x5a903a(0x211)][_0x5a903a(0xf4)](_0x3b6dd8);if(_0x3bd903[_0x5a903a(0x18c)]===0x0)return _0x152a11;let _0x3cba00=_0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11[_0x5a903a(0x2b5)][0x0]);for(let _0x58b5eb=0x0;_0x58b5eb<_0x3bd903[_0x5a903a(0x18c)];_0x58b5eb++){const _0x31b9e2={'id':_0x5a903a(0x2e2),'params':{'unitId':_0x3bd903[_0x58b5eb][_0x5a903a(0x15c)],..._0x3bd903[_0x58b5eb][_0x5a903a(0x310)]}},_0x185fb0=this[_0x5a903a(0x29d)]['transformMutation'](_0x3cba00,_0x31b9e2,!0x1);if(_0xcfb5d3[_0x5a903a(0x2a2)](_0x185fb0))throw _0x185fb0[_0x5a903a(0x107)];_0x3cba00=_0x185fb0[_0x5a903a(0x18f)];}return{..._0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11),'mutations':[_0x3cba00]};}[_0x3894d5(0x171)](_0x322344){const _0x91cfde=_0x3894d5,{unitID:_0x4bc499}=_0x322344,{history:_0x523df3,collaboration:_0x1d3483}=this[_0x91cfde(0x211)]['getStateCache'](_0x4bc499);if(_0x523df3['length']===0x0&&_0x1d3483[_0x91cfde(0x18c)]===0x0)return;const _0x1ec585=[],_0x18f4f8=[];let _0x4f82bf=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x20816f=_0x523df3[_0x91cfde(0x18c)]-0x1;_0x20816f>=0x0;_0x20816f--){const _0x18baa5={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x1a4)]}},_0x462a8d={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x310)]}},_0x9ebfcd=this[_0x91cfde(0x29d)]['transformMutation'](_0x4f82bf,_0x18baa5,!0x1),_0x188d79=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x11c36f,_0x462a8d,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x9ebfcd))throw _0x9ebfcd[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x188d79))throw _0x188d79[_0x91cfde(0x107)];_0x1ec585[_0x91cfde(0x312)]({..._0x523df3[_0x20816f],'undoState':_0x9ebfcd[_0x91cfde(0x2b7)][_0x91cfde(0x15e)],'redoState':_0x188d79['m2Prime']['params']}),_0x4f82bf=_0x9ebfcd['m1Prime'],_0x11c36f=_0x188d79[_0x91cfde(0x18f)];}_0x4f82bf=_0x1e0609[_0x91cfde(0x33b)]['deepClone'](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x2518fe=_0x1d3483[_0x91cfde(0x18c)]-0x1;_0x2518fe>=0x0;_0x2518fe--){const _0x4b8e0a={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe]['unitId'],..._0x1d3483[_0x2518fe]['undoState']}},_0x39eced={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe][_0x91cfde(0x15c)],..._0x1d3483[_0x2518fe][_0x91cfde(0x310)]}},_0x24c26f=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x4f82bf,_0x4b8e0a,!0x1),_0x54732b=this['_transformService'][_0x91cfde(0x1f3)](_0x11c36f,_0x39eced,!0x1);if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x24c26f))throw _0x24c26f[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x54732b))throw _0x54732b[_0x91cfde(0x107)];_0x18f4f8[_0x91cfde(0x312)]({..._0x1d3483[_0x2518fe],'undoState':_0x24c26f['m2Prime'][_0x91cfde(0x15e)],'redoState':_0x54732b[_0x91cfde(0x2b7)]['params']}),_0x4f82bf=_0x24c26f[_0x91cfde(0x18f)],_0x11c36f=_0x54732b[_0x91cfde(0x18f)];}this['_docStateChangeManagerService'][_0x91cfde(0x353)](_0x4bc499,{'history':_0x1ec585,'collaboration':_0x18f4f8});}};_0x4670a8=_0x46116c([_0x21cacd(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x21cacd(0x1,_0xcfb5d3[_0x3894d5(0x177)]),_0x21cacd(0x2,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)]))],_0x4670a8);var _0x37e9b6=Object[_0x3894d5(0x23b)],_0x1dc981=(_0x1ef9bd,_0xc4c96e,_0x26c3a7,_0x291fd8)=>{for(var _0x202332=_0x291fd8>0x1?void 0x0:_0x291fd8?_0x37e9b6(_0xc4c96e,_0x26c3a7):_0xc4c96e,_0x2f85bb=_0x1ef9bd['length']-0x1,_0x1e7b14;_0x2f85bb>=0x0;_0x2f85bb--)(_0x1e7b14=_0x1ef9bd[_0x2f85bb])&&(_0x202332=_0x1e7b14(_0x202332)||_0x202332);return _0x202332;},_0x4795d4=(_0x251ae9,_0x2760ce)=>(_0x3a24d9,_0x2c2d84)=>_0x2760ce(_0x3a24d9,_0x2c2d84,_0x251ae9);let _0x8cf5bb=class{constructor(_0x59386d,_0x1e20b4){const _0x5cd072=_0x3894d5;this[_0x5cd072(0x32a)]=_0x59386d,this['_transformService']=_0x1e20b4;}['transformSelections'](_0x32b5d7){const _0x21930b=_0x3894d5;var _0x1fb659;const _0x1fceaa=this['_injector'][_0x21930b(0x2b6)](_0x1aadfd[_0x21930b(0x278)]),_0x134179=(_0x1fb659=_0x1fceaa[_0x21930b(0x1b4)]())!=null?_0x1fb659:[];if(_0x134179['length']===0x0)return;const _0x208d1e=_0x32b5d7[_0x21930b(0x1b3)],_0x12ea47=[{'id':_0x21930b(0x2e2),'params':{'unitId':_0x208d1e,'actions':null,'textRanges':_0x134179}}],_0x11ea5e=this[_0x21930b(0x29d)][_0x21930b(0x1f7)](_0x32b5d7,_0x12ea47);if(!_0xcfb5d3[_0x21930b(0x2d1)](_0x11ea5e))throw _0x11ea5e[_0x21930b(0x107)];const _0x2748b7=_0x11ea5e[_0x21930b(0x2b7)][0x0][_0x21930b(0x15e)][_0x21930b(0x12c)];Array[_0x21930b(0x25f)](_0x2748b7)&&_0x2748b7['length']&&_0x1fceaa[_0x21930b(0x1f1)](_0x2748b7,{'unitId':_0x208d1e,'subUnitId':_0x208d1e},!0x1);}};_0x8cf5bb=_0x1dc981([_0x4795d4(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x4795d4(0x1,_0xcfb5d3[_0x3894d5(0x177)])],_0x8cf5bb);var _0x2b4507=Object[_0x3894d5(0x23b)],_0x3cb3f8=(_0x5c08af,_0x597428,_0x5ebb8c,_0x54f4f9)=>{const _0x149e82=_0x3894d5;for(var _0x36e9be=_0x54f4f9>0x1?void 0x0:_0x54f4f9?_0x2b4507(_0x597428,_0x5ebb8c):_0x597428,_0x5eb31e=_0x5c08af[_0x149e82(0x18c)]-0x1,_0x334a30;_0x5eb31e>=0x0;_0x5eb31e--)(_0x334a30=_0x5c08af[_0x5eb31e])&&(_0x36e9be=_0x334a30(_0x36e9be)||_0x36e9be);return _0x36e9be;},_0x236a86=(_0x25ae80,_0x597c92)=>(_0x4c424f,_0x50a82a)=>_0x597c92(_0x4c424f,_0x50a82a,_0x25ae80);let _0x10406f=class extends _0x1e0609['Disposable']{constructor(_0x585e6e,_0x3ff458,_0x5712ce,_0x216073,_0x4cfe51,_0xd85233,_0x4b98a8,_0x233abf){const _0x35e037=_0x3894d5;super(),_0x552ea8(this,_0x35e037(0x10c),new _0x94d9ab[(_0x35e037(0x1ff))](_0x2fd730['CollaborationStatus']['NOT_COLLAB'])),(this[_0x35e037(0x211)]=_0x585e6e,this['_collaborationController']=_0x3ff458,this[_0x35e037(0x2d7)]=_0x5712ce,this[_0x35e037(0x1e5)]=_0x216073,this[_0x35e037(0x2d0)]=_0x4cfe51,this['_docSyncEditingCollabCursorService']=_0xd85233,this['_messageService']=_0x4b98a8,this[_0x35e037(0x316)]=_0x233abf,this['_initEntityListener']());}[_0x3894d5(0x183)](){const _0x29d14f=_0x3894d5;this[_0x29d14f(0x22c)](this['_collaborationController'][_0x29d14f(0x19b)][_0x29d14f(0x30e)](_0x141a0f=>{const _0x5d9226=_0x29d14f,_0x38703b=this[_0x5d9226(0x211)][_0x5d9226(0x25e)][_0x5d9226(0x30e)](_0x778b14=>{const _0x5b53b4=_0x5d9226;if(_0x778b14==null)return;const {unitId:_0x11cba0,redoState:_0x136dc5,commandId:_0x478fc7}=_0x778b14;if(_0x11cba0!==_0x141a0f[_0x5b53b4(0x1b3)])return;const _0x31cfb8={'id':_0x478fc7,'type':_0x1e0609[_0x5b53b4(0x100)][_0x5b53b4(0x349)],'params':{'unitId':_0x11cba0,'actions':_0x136dc5[_0x5b53b4(0x1c5)],'textRanges':null}};_0x141a0f[_0x5b53b4(0x20d)](_0x31cfb8);});if(_0x141a0f['disposeWithMe'](_0x38703b),_0x141a0f instanceof _0x2fd730[_0x5d9226(0x218)]){const _0xb2015={'onTransformIME':_0x5b5357=>this[_0x5d9226(0x2d7)][_0x5d9226(0x139)](_0x5b5357),'onTransformState':_0x9f0b82=>this[_0x5d9226(0x1e5)][_0x5d9226(0x129)](_0x9f0b82),'onTransformSelections':_0x1b488f=>this[_0x5d9226(0x2d0)][_0x5d9226(0x17f)](_0x1b488f),'onSyncEditingCollabCursor':_0x1abdee=>this[_0x5d9226(0x258)][_0x5d9226(0x237)](_0x1abdee),'onTransformRemoteChangesetByIMECache':_0x1eaaf6=>this[_0x5d9226(0x2d7)]['transformRemoteChangeset'](_0x1eaaf6),'onTransformRemoteChangesetByStateCache':_0x9730f=>this[_0x5d9226(0x1e5)][_0x5d9226(0x143)](_0x9730f)};_0x141a0f['addHandlerCallback'](_0xb2015);}}));}};_0x10406f=_0x3cb3f8([_0x236a86(0x0,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)])),_0x236a86(0x1,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x307)])),_0x236a86(0x2,_0x1e0609[_0x3894d5(0x176)](_0x28c5eb)),_0x236a86(0x3,_0x1e0609[_0x3894d5(0x176)](_0x4670a8)),_0x236a86(0x4,_0x1e0609[_0x3894d5(0x176)](_0x8cf5bb)),_0x236a86(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x236a86(0x6,_0x43b760[_0x3894d5(0x10a)]),_0x236a86(0x7,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x10406f);var _0x54af1a=Object['getOwnPropertyDescriptor'],_0x26bcf1=(_0x27fdb9,_0x3468e0,_0x53cdb8,_0x4e099c)=>{const _0x446059=_0x3894d5;for(var _0xeae700=_0x4e099c>0x1?void 0x0:_0x4e099c?_0x54af1a(_0x3468e0,_0x53cdb8):_0x3468e0,_0x5f5635=_0x27fdb9[_0x446059(0x18c)]-0x1,_0x347bc3;_0x5f5635>=0x0;_0x5f5635--)(_0x347bc3=_0x27fdb9[_0x5f5635])&&(_0xeae700=_0x347bc3(_0xeae700)||_0xeae700);return _0xeae700;},_0x512a8b=(_0x3824c2,_0x1c13cb)=>(_0x27ecdd,_0x368866)=>_0x1c13cb(_0x27ecdd,_0x368866,_0x3824c2);let _0x500381=class extends _0x1e0609['Disposable']{constructor(_0x50a8f9,_0x116d79,_0x50484d){const _0x39d27f=_0x3894d5;super(),_0x552ea8(this,_0x39d27f(0x167),new Map()),_0x552ea8(this,'_saveTaskMap',new Map()),_0x552ea8(this,_0x39d27f(0x350),!0x1),(this[_0x39d27f(0x209)]=_0x50a8f9,this[_0x39d27f(0x35c)]=_0x116d79,this[_0x39d27f(0x236)]=_0x50484d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3894d5(0x2b1)](){const _0x396be6=_0x3894d5;this[_0x396be6(0x350)]=!0x1;}get[_0x3894d5(0xf8)](){const _0x171583=_0x3894d5;return this[_0x171583(0x243)];}['dispose'](){const _0x377f80=_0x3894d5;this[_0x377f80(0x245)]()[_0x377f80(0x1fb)](()=>super[_0x377f80(0x1e1)]());}async[_0x3894d5(0x16b)](_0x3ca5e4){const _0x10b049=_0x3894d5;return this[_0x10b049(0x350)]?null:this[_0x10b049(0x35c)][_0x10b049(0x229)](_0x2fd730['getLocalCacheKey'](_0x3ca5e4));}async[_0x3894d5(0x1bc)](_0x39290c,_0x4e0e95){return!!this['_localStorageService']['setItem'](_0x39290c,_0x4e0e95);}[_0x3894d5(0x14b)](_0x437ba3,_0x310f86,_0x2cbefc,_0x250523){const _0x4f84cb=_0x3894d5,_0x3b7ee=this[_0x4f84cb(0x236)][_0x4f84cb(0x344)](_0x437ba3);this[_0x4f84cb(0x167)][_0x4f84cb(0x1b9)](_0x437ba3,{'unitID':_0x437ba3,'type':_0x310f86,'awaitingChangeset':_0x2cbefc,'mutations':_0x250523,'rev':_0x3b7ee}),this[_0x4f84cb(0x243)][_0x4f84cb(0x27d)](_0x437ba3)||this[_0x4f84cb(0x33a)](_0x437ba3);}[_0x3894d5(0x33a)](_0x461c93){const _0x2b84a2=_0x3894d5,_0x53fd85=this[_0x2b84a2(0x1bf)]();_0x53fd85===0x0?this['_saveCache'](_0x461c93):this[_0x2b84a2(0x243)][_0x2b84a2(0x1b9)](_0x461c93,setTimeout(()=>this[_0x2b84a2(0x180)](_0x461c93),_0x53fd85));}[_0x3894d5(0x1bf)](){const _0x198b6d=_0x3894d5;var _0x49d215;return(_0x49d215=this['_configService']['getConfig'](_0x2fd730[_0x198b6d(0x372)]))!=null?_0x49d215:_0x2fd730['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x43d3e6){const _0xb7df5e=_0x3894d5,_0x376fb9=this[_0xb7df5e(0x243)][_0xb7df5e(0x2b6)](_0x43d3e6);return _0x376fb9!==void 0x0&&window[_0xb7df5e(0x371)](_0x376fb9),this[_0xb7df5e(0x35c)][_0xb7df5e(0x2f8)](_0x2fd730['getLocalCacheKey'](_0x43d3e6),this[_0xb7df5e(0x167)][_0xb7df5e(0x2b6)](_0x43d3e6))[_0xb7df5e(0x1fb)](()=>this[_0xb7df5e(0x243)]['delete'](_0x43d3e6));}async[_0x3894d5(0x245)](){const _0x4e5376=_0x3894d5,_0xbd8bcd=[];this['_saveTaskMap'][_0x4e5376(0x122)]((_0x3264c6,_0x3d88de)=>{const _0x1145c1=_0x4e5376;window[_0x1145c1(0x371)](_0x3264c6),_0xbd8bcd[_0x1145c1(0x2aa)](this[_0x1145c1(0x180)](_0x3d88de)[_0x1145c1(0x1fb)](()=>{const _0x3e5773=_0x1145c1;this[_0x3e5773(0x243)][_0x3e5773(0x2e4)](_0x3d88de);}));}),await Promise[_0x4e5376(0xf3)](_0xbd8bcd);}};_0x500381=_0x26bcf1([_0x512a8b(0x0,_0x1e0609[_0x3894d5(0x22d)]),_0x512a8b(0x1,_0x1e0609['ILocalStorageService']),_0x512a8b(0x2,_0x1e0609['Inject'](_0xcfb5d3['RevisionService']))],_0x500381);class _0x53cffe extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x578b74=_0x3894d5;super(),_0x552ea8(this,_0x578b74(0x1b5)),this[_0x578b74(0x1b5)]=_0x94d9ab['fromEvent'](window,'popstate')[_0x578b74(0x1cc)](_0x94d9ab['takeUntil'](this[_0x578b74(0x140)]),_0x94d9ab[_0x578b74(0x360)](0x1),_0x94d9ab[_0x578b74(0x30a)](void 0x0));}['setParam'](_0x39a13c,_0x5e4877,_0x72b370=!0x1){const _0x425e41=_0x3894d5,_0x4a9c9d=new URL(window[_0x425e41(0x2cf)][_0x425e41(0x18d)]);_0x4a9c9d[_0x425e41(0x1ef)][_0x425e41(0x1b9)](_0x39a13c,_0x5e4877),_0x72b370?window[_0x425e41(0x1e2)][_0x425e41(0x2eb)]('','',_0x4a9c9d[_0x425e41(0x356)]()):window[_0x425e41(0x1e2)][_0x425e41(0x11b)]('','',_0x4a9c9d['toString']());}['removeParam'](_0x56cc,_0x194f23=!0x1){const _0x460ff8=_0x3894d5,_0xd514c1=new URL(window['location'][_0x460ff8(0x18d)]);_0xd514c1[_0x460ff8(0x1ef)][_0x460ff8(0x2e4)](_0x56cc),_0x194f23?window[_0x460ff8(0x1e2)][_0x460ff8(0x2eb)]('','',_0xd514c1[_0x460ff8(0x356)]()):window[_0x460ff8(0x1e2)][_0x460ff8(0x11b)]('','',_0xd514c1[_0x460ff8(0x356)]());}['getParam'](_0x3b4e60){const _0x4c7891=_0x3894d5;var _0x10bd5d;return(_0x10bd5d=new URL(window[_0x4c7891(0x2cf)][_0x4c7891(0x18d)])[_0x4c7891(0x1ef)][_0x4c7891(0x2b6)](_0x3b4e60))!=null?_0x10bd5d:void 0x0;}}var _0x2cb866=Object[_0x3894d5(0x17b)],_0x3619da=Object[_0x3894d5(0x23b)],_0x54b429=(_0x1c03e7,_0x324f21,_0x362446)=>_0x324f21 in _0x1c03e7?_0x2cb866(_0x1c03e7,_0x324f21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x362446}):_0x1c03e7[_0x324f21]=_0x362446,_0x68666d=(_0x539c2f,_0x5e8938,_0x398004,_0x321615)=>{const _0x296754=_0x3894d5;for(var _0x23995c=_0x321615>0x1?void 0x0:_0x321615?_0x3619da(_0x5e8938,_0x398004):_0x5e8938,_0x412785=_0x539c2f[_0x296754(0x18c)]-0x1,_0x191c35;_0x412785>=0x0;_0x412785--)(_0x191c35=_0x539c2f[_0x412785])&&(_0x23995c=_0x191c35(_0x23995c)||_0x23995c);return _0x23995c;},_0x16b83f=(_0xadf7ac,_0xbe6a87)=>(_0x85c847,_0x1c4485)=>_0xbe6a87(_0x85c847,_0x1c4485,_0xadf7ac),_0x19874f=(_0x36f53e,_0x279276,_0x49a90a)=>_0x54b429(_0x36f53e,_0x279276+'',_0x49a90a);const _0x7eaac4=_0x3894d5(0x168);_0x342240[_0x3894d5(0x2d9)]=class extends _0x1e0609['Plugin']{constructor(_0x1fb58d=_0x5a525b,_0x4cf0d4,_0x7eb1d3,_0x2ff8b1){const _0x3b0349=_0x3894d5;super(),this[_0x3b0349(0x2c5)]=_0x1fb58d,this[_0x3b0349(0x110)]=_0x4cf0d4,this['_injector']=_0x7eb1d3,this['_configService']=_0x2ff8b1;const {..._0x11fc77}=_0x1e0609['merge']({},_0x5a525b,this['_config']);this[_0x3b0349(0x209)]['setConfig'](_0x6c376,_0x11fc77);}[_0x3894d5(0x1db)](){const _0x55c504=_0x3894d5;this[_0x55c504(0x1c2)](),this['_initDependencies']();}['onRendered'](){const _0x5ad501=_0x3894d5;this[_0x5ad501(0x201)]();}[_0x3894d5(0x1c2)](){const _0x3230c2=_0x3894d5;var _0x149278;const _0x324cd6=[[_0x57aed3],[_0x8cf5bb],[_0x28c5eb],[_0x4670a8],[_0x55262d],[_0x1d6363,{'useClass':_0x53cffe}],[_0x1e4e91[_0x3230c2(0x1ec)],{'useClass':_0x1e4e91['WebSocketService']}],[_0x2fd730['ILocalCacheService'],{'useClass':_0x500381}],[_0x342240[_0x3230c2(0x30f)]],[_0x10406f],[_0x4cc335],[_0x3766ca],[_0x561448],[_0x342240[_0x3230c2(0x268)]]];_0x1e0609[_0x3230c2(0x20b)](this[_0x3230c2(0x32a)],_0x1e0609[_0x3230c2(0x112)](_0x324cd6,(_0x149278=this[_0x3230c2(0x2c5)])==null?void 0x0:_0x149278[_0x3230c2(0x324)]));}[_0x3894d5(0x201)](){const _0x1ba6e6=_0x3894d5;this[_0x1ba6e6(0x22c)](this['_renderManagerService'][_0x1ba6e6(0x2c9)](_0x1e0609['UniverInstanceType']['UNIVER_DOC'],[_0x30bcfd])),this[_0x1ba6e6(0x22c)](this[_0x1ba6e6(0x110)][_0x1ba6e6(0x2c9)](_0x1e0609[_0x1ba6e6(0xff)][_0x1ba6e6(0x1c6)],[_0x41413e]));}[_0x3894d5(0x169)](){const _0x517d06=_0x3894d5;_0x1e0609[_0x517d06(0x1aa)](this[_0x517d06(0x32a)],[[_0x3766ca],[_0x342240[_0x517d06(0x30f)]],[_0x10406f],[_0x4cc335],[_0x342240[_0x517d06(0x268)]]]);}},_0x19874f(_0x342240[_0x3894d5(0x2d9)],_0x3894d5(0x2f6),_0x7eaac4),_0x342240[_0x3894d5(0x2d9)]=_0x68666d([_0x1e0609[_0x3894d5(0x1a8)](_0x2fd730['UniverCollaborationClientPlugin']),_0x16b83f(0x1,_0x8660e4[_0x3894d5(0x215)]),_0x16b83f(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x16b83f(0x3,_0x1e0609[_0x3894d5(0x22d)])],_0x342240[_0x3894d5(0x2d9)]);var _0x20b29e=Object[_0x3894d5(0x23b)],_0x4a7337=(_0x201f2e,_0x434f06,_0x11cbdf,_0x3fe694)=>{const _0x42fab2=_0x3894d5;for(var _0x427d01=_0x3fe694>0x1?void 0x0:_0x3fe694?_0x20b29e(_0x434f06,_0x11cbdf):_0x434f06,_0x445376=_0x201f2e[_0x42fab2(0x18c)]-0x1,_0x30444e;_0x445376>=0x0;_0x445376--)(_0x30444e=_0x201f2e[_0x445376])&&(_0x427d01=_0x30444e(_0x427d01)||_0x427d01);return _0x427d01;},_0x1c2e4b=(_0x3070d4,_0x2b7d34)=>(_0x549795,_0x255829)=>_0x2b7d34(_0x549795,_0x255829,_0x3070d4);_0x342240[_0x3894d5(0x1ad)]=class extends _0x2fd730[_0x3894d5(0x334)]{constructor(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8){super(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8);}async[_0x3894d5(0x15d)](_0xd9d48c){const _0x29f5ea=_0x3894d5,_0x118d20=await this[_0x29f5ea(0x120)](),_0x24aa07=this[_0x29f5ea(0x156)](_0xd9d48c,_0x118d20);return this[_0x29f5ea(0x35b)](_0x24aa07);}[_0x3894d5(0x156)](_0x45ef3e,_0x482329){const _0x1d3c91=_0x3894d5,_0xb64d13=typeof window>'u'?new URL(_0x45ef3e):new URL(_0x45ef3e,window['location']['origin']);_0xb64d13['searchParams'][_0x1d3c91(0x1b9)](_0x1d3c91(0x2ac),_0x482329);const _0x3452d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d3c91(0x2cf)][_0x1d3c91(0x378)]);return _0x3452d9[_0x1d3c91(0x2b6)](_0x1d3c91(0x261))&&_0xb64d13[_0x1d3c91(0x1ef)][_0x1d3c91(0x1b9)](_0x1d3c91(0x261),_0x3452d9[_0x1d3c91(0x2b6)]('runId')),_0xb64d13[_0x1d3c91(0x356)]();}async['_getSessionTicket'](){const _0x16efe3=_0x3894d5;var _0x1b7ce1,_0x4474c4,_0x4ab4b4;const _0x1ec166=this[_0x16efe3(0x209)][_0x16efe3(0x1f0)](_0x2fd730[_0x16efe3(0x205)]),_0x1c9e31=(_0x1b7ce1=_0x1ec166==null?void 0x0:_0x1ec166[_0x16efe3(0x203)])!=null?_0x1b7ce1:_0x2fd730['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4ab4b4=(_0x4474c4=(await this[_0x16efe3(0x296)][_0x16efe3(0x2b6)](_0x1c9e31,{'headers':{'Content-Type':'application/json'}}))[_0x16efe3(0x17d)])==null?void 0x0:_0x4474c4[_0x16efe3(0x2b9)])!=null?_0x4ab4b4:'';}},_0x342240['BrowserCollaborationSocketService']=_0x4a7337([_0x1c2e4b(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x1c2e4b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x1c2e4b(0x2,_0x1e0609[_0x3894d5(0x22d)]),_0x1c2e4b(0x3,_0x1e0609[_0x3894d5(0x250)]),_0x1c2e4b(0x4,_0xcfb5d3['ISnapshotServerService'])],_0x342240[_0x3894d5(0x1ad)]);const _0x173a1c=0x7530,_0x237888=_0x3894d5(0x366);class _0x5379f1 extends _0x1e0609['Disposable']{constructor(){const _0x152118=_0x3894d5;super(),_0x552ea8(this,_0x152118(0x363),_0x1e0609[_0x152118(0x27a)]()),_0x552ea8(this,_0x152118(0x19f),new Set()),_0x552ea8(this,_0x152118(0x37b),new Map()),_0x552ea8(this,'_heartbeatTimer',null),_0x552ea8(this,'_clearOtherTimers',new Map()),_0x552ea8(this,'_unitStatus',new Map()),this['_init']();}[_0x3894d5(0x1e1)](){const _0x10c566=_0x3894d5;super[_0x10c566(0x1e1)](),this['_clearOtherTimers'][_0x10c566(0x122)]((_0x318368,_0x19f0ff)=>this['_removeClearOtherTimer'](_0x19f0ff)),this['_heartbeatTimer']&&window[_0x10c566(0x14e)](this[_0x10c566(0x105)]);}['getUnitStatus$'](_0x22f83b){const _0x185c65=_0x3894d5;return this[_0x185c65(0x354)](_0x22f83b)[_0x185c65(0x1cc)](_0x94d9ab['distinctUntilChanged']());}['editingUnit'](_0x5172bb){const _0x13a22a=_0x3894d5;this[_0x13a22a(0x19f)][_0x13a22a(0x158)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x5172bb),this[_0x13a22a(0x327)]({'type':0x0,'memberID':this[_0x13a22a(0x363)],'unitIDs':[_0x5172bb],'isForwarded':!0x1});}[_0x3894d5(0x283)](_0x55a67a){const _0x4262b0=_0x3894d5;this[_0x4262b0(0x19f)][_0x4262b0(0x2e4)](_0x55a67a),this[_0x4262b0(0x19f)][_0x4262b0(0x158)]===0x0&&this['_heartbeatTimer']&&window[_0x4262b0(0x14e)](this[_0x4262b0(0x105)]);}[_0x3894d5(0x28f)](){const _0x249f8c=_0x3894d5;this['disposeWithMe'](_0x1e0609['toDisposable'](_0x94d9ab[_0x249f8c(0x260)](window,'storage')[_0x249f8c(0x30e)](_0x4547eb=>{const _0x73b9e0=_0x249f8c;if(_0x4547eb[_0x73b9e0(0x376)]!==_0x237888||!_0x4547eb[_0x73b9e0(0x2d5)])return;const _0x352c1d=JSON[_0x73b9e0(0x306)](_0x4547eb[_0x73b9e0(0x2d5)]);this[_0x73b9e0(0x1d1)](_0x352c1d);}))),window['addEventListener'](_0x249f8c(0x154),()=>this[_0x249f8c(0x327)]({'type':0x1,'memberID':this[_0x249f8c(0x363)],'unitIDs':Array[_0x249f8c(0x329)](this[_0x249f8c(0x19f)])}));}[_0x3894d5(0x1d1)](_0x64e0e3){const _0x9927e6=_0x3894d5;switch(_0x64e0e3[_0x9927e6(0x31a)]){case 0x0:this[_0x9927e6(0x26d)](_0x64e0e3);break;case 0x1:this[_0x9927e6(0x257)](_0x64e0e3);break;case 0x2:this[_0x9927e6(0x191)](_0x64e0e3);break;}}[_0x3894d5(0x26d)](_0x3a3f10){const _0x3db5b4=_0x3894d5,{unitIDs:_0x130762,memberID:_0x90b931,isForwarded:_0x574db4}=_0x3a3f10;_0x130762[_0x3db5b4(0x122)](_0x2de360=>{const _0xc74326=_0x3db5b4;if(!_0x574db4&&this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)&&this[_0xc74326(0x354)](_0x2de360)[_0xc74326(0x147)](_0x2fd730[_0xc74326(0x17a)][_0xc74326(0x193)]),!this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)||!this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)[_0xc74326(0x27d)](_0x90b931)){const _0x1c2068=this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)||new Set();_0x1c2068[_0xc74326(0x13d)](_0x90b931),this[_0xc74326(0x37b)][_0xc74326(0x1b9)](_0x2de360,_0x1c2068),this[_0xc74326(0x146)](_0x90b931);}}),_0x574db4||this[_0x3db5b4(0x327)]({'type':0x0,'memberID':this[_0x3db5b4(0x363)],'unitIDs':[...this[_0x3db5b4(0x19f)]],'isForwarded':!0x0});}[_0x3894d5(0x146)](_0x1175ad){const _0x33f630=_0x3894d5;this[_0x33f630(0x31d)](_0x1175ad);const _0x171688=window[_0x33f630(0x1c7)](()=>{const _0x4df4bc=_0x33f630;this['_unitOnClients'][_0x4df4bc(0x122)](_0x7fccf0=>{_0x7fccf0['delete'](_0x1175ad);});},_0x173a1c*0x2);this['_clearOtherTimers'][_0x33f630(0x1b9)](_0x1175ad,_0x171688);}['_removeClearOtherTimer'](_0x44c8b6){const _0x3f3f2e=_0x3894d5;if(this[_0x3f3f2e(0x1bb)][_0x3f3f2e(0x27d)](_0x44c8b6)){const _0x1cbe23=this[_0x3f3f2e(0x1bb)]['get'](_0x44c8b6);_0x1cbe23&&window[_0x3f3f2e(0x371)](_0x1cbe23),this['_clearOtherTimers']['set'](_0x44c8b6,null);}}[_0x3894d5(0x257)](_0x13c1da){const _0x2e9496=_0x3894d5,{memberID:_0x2fa158,unitIDs:_0x46efa8}=_0x13c1da;_0x46efa8[_0x2e9496(0x122)](_0xa17543=>{const _0x307bbe=_0x2e9496;var _0x1d3443;const _0x38a08f=this[_0x307bbe(0x37b)]['get'](_0xa17543);_0x38a08f&&(_0x38a08f[_0x307bbe(0x2e4)](_0x2fa158),(_0x1d3443=this['_ensureSubject'](_0xa17543))==null||_0x1d3443[_0x307bbe(0x147)](_0x38a08f[_0x307bbe(0x158)]===0x0?_0x2fd730['UnitStatus'][_0x307bbe(0x2bd)]:_0x2fd730['UnitStatus'][_0x307bbe(0x193)]));}),this[_0x2e9496(0x31d)](_0x2fa158);}[_0x3894d5(0x191)](_0x3a848e){const _0x3c3202=_0x3894d5;this[_0x3c3202(0x146)](_0x3a848e[_0x3c3202(0x128)]);}[_0x3894d5(0x327)](_0xbda3dd){const _0x311a4b=_0x3894d5;localStorage[_0x311a4b(0x2f8)](_0x237888,JSON[_0x311a4b(0x2de)](_0xbda3dd));}[_0x3894d5(0x262)](){const _0x228587=_0x3894d5;this['_heartbeatTimer']=window[_0x228587(0x1af)](()=>{const _0x3daf19=_0x228587;this[_0x3daf19(0x327)]({'type':0x2,'memberID':this['_id']});},_0x173a1c);}[_0x3894d5(0x354)](_0x24847f){const _0x2f7463=_0x3894d5;return this[_0x2f7463(0x2ab)][_0x2f7463(0x27d)](_0x24847f)||this[_0x2f7463(0x2ab)]['set'](_0x24847f,new _0x94d9ab[(_0x2f7463(0x1ff))](_0x2fd730[_0x2f7463(0x17a)][_0x2f7463(0x2bd)])),this[_0x2f7463(0x2ab)]['get'](_0x24847f);}}var _0x3ebc0d=(_0x560f11=>(_0x560f11[_0x560f11['UNDEFINED']=0x0]='UNDEFINED',_0x560f11[_0x560f11['OK']=0x1]='OK',_0x560f11[_0x560f11[_0x3894d5(0x136)]=0x2]=_0x3894d5(0x136),_0x560f11[_0x560f11['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x560f11[_0x560f11[_0x3894d5(0x323)]=0x4]=_0x3894d5(0x323),_0x560f11[_0x560f11['UNAUTHENTICATED']=0x5]=_0x3894d5(0x276),_0x560f11[_0x560f11[_0x3894d5(0x181)]=0x6]=_0x3894d5(0x181),_0x560f11[_0x560f11[_0x3894d5(0x2c6)]=0x7]=_0x3894d5(0x2c6),_0x560f11[_0x560f11[_0x3894d5(0x2ed)]=0x8]=_0x3894d5(0x2ed),_0x560f11[_0x560f11['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x560f11[_0x560f11[_0x3894d5(0x359)]=0xa]=_0x3894d5(0x359),_0x560f11[_0x560f11[_0x3894d5(0x231)]=0x1389]=_0x3894d5(0x231),_0x560f11[_0x560f11[_0x3894d5(0x292)]=0x1771]=_0x3894d5(0x292),_0x560f11[_0x560f11['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3894d5(0x305),_0x560f11[_0x560f11['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3894d5(0x247),_0x560f11[_0x560f11[_0x3894d5(0x241)]=0x1b59]=_0x3894d5(0x241),_0x560f11[_0x560f11[_0x3894d5(0x313)]=0x1b5a]=_0x3894d5(0x313),_0x560f11[_0x560f11[_0x3894d5(0x1cf)]=0x1b5b]=_0x3894d5(0x1cf),_0x560f11[_0x560f11[_0x3894d5(0x2cb)]=0x1b5c]=_0x3894d5(0x2cb),_0x560f11[_0x560f11['APPLY_DUPLICATED']=0x1b5d]=_0x3894d5(0x251),_0x560f11[_0x560f11[_0x3894d5(0x214)]=0x1f41]=_0x3894d5(0x214),_0x560f11[_0x560f11['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3894d5(0x12a),_0x560f11[_0x560f11[_0x3894d5(0x27b)]=0x232a]=_0x3894d5(0x27b),_0x560f11[_0x560f11[_0x3894d5(0x197)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x560f11[_0x560f11['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3894d5(0x200),_0x560f11[_0x560f11[_0x3894d5(0x155)]=0x232d]=_0x3894d5(0x155),_0x560f11[_0x560f11[_0x3894d5(0x22b)]=0x2711]=_0x3894d5(0x22b),_0x560f11[_0x560f11[_0x3894d5(0x249)]=0x2712]=_0x3894d5(0x249),_0x560f11[_0x560f11[_0x3894d5(0x1eb)]=0x2713]=_0x3894d5(0x1eb),_0x560f11[_0x560f11[_0x3894d5(0x2cd)]=0x2714]=_0x3894d5(0x2cd),_0x560f11[_0x560f11['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x560f11[_0x560f11[_0x3894d5(0x115)]=0x2ee1]=_0x3894d5(0x115),_0x560f11[_0x560f11['INVALID_INVITE_CODE']=0x2ee2]=_0x3894d5(0x291),_0x560f11[_0x560f11[_0x3894d5(0x2cc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x560f11[_0x560f11[_0x3894d5(0x369)]=0x2ee4]=_0x3894d5(0x369),_0x560f11[_0x560f11[_0x3894d5(0x21e)]=0x2ee5]=_0x3894d5(0x21e),_0x560f11[_0x560f11[_0x3894d5(0x22f)]=0x32c9]=_0x3894d5(0x22f),_0x560f11[_0x560f11[_0x3894d5(0x328)]=0x32ca]=_0x3894d5(0x328),_0x560f11[_0x560f11[_0x3894d5(0x331)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x560f11[_0x560f11['UNRECOGNIZED']=-0x1]=_0x3894d5(0x295),_0x560f11))(_0x3ebc0d||{}),_0x3477e7=Object[_0x3894d5(0x23b)],_0x55464b=(_0x21d325,_0x2da0ba,_0x10fefa,_0x2228a2)=>{const _0x17fd08=_0x3894d5;for(var _0x15e066=_0x2228a2>0x1?void 0x0:_0x2228a2?_0x3477e7(_0x2da0ba,_0x10fefa):_0x2da0ba,_0x77f36e=_0x21d325[_0x17fd08(0x18c)]-0x1,_0xd0bb23;_0x77f36e>=0x0;_0x77f36e--)(_0xd0bb23=_0x21d325[_0x77f36e])&&(_0x15e066=_0xd0bb23(_0x15e066)||_0x15e066);return _0x15e066;},_0x4dc52b=(_0x3bc7c9,_0x311a18)=>(_0x480913,_0x44d16d)=>_0x311a18(_0x480913,_0x44d16d,_0x3bc7c9);_0x342240[_0x3894d5(0x228)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x1bc377,_0x82431c,_0x4157e4){const _0x3a3a60=_0x3894d5;super(),this[_0x3a3a60(0x117)]=_0x1bc377,this['_httpService']=_0x82431c,this[_0x3a3a60(0x209)]=_0x4157e4;}async[_0x3894d5(0x246)](_0x307e54,_0x18c5c0,_0x1766b9,..._0x2c4529){const _0x45b050=_0x3894d5;var _0x3c5eb1,_0x1db30f,_0x276b08,_0x328b12;const _0x46fed9=this[_0x45b050(0x117)][_0x45b050(0x233)]();if(!_0x46fed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x28e653=((_0x3c5eb1=this[_0x45b050(0x209)]['getConfig'](_0x2fd730[_0x45b050(0x1be)]))!=null?_0x3c5eb1:_0x2fd730[_0x45b050(0x370)])+'/'+_0x307e54+'/run/'+_0x18c5c0,_0x2e31a9=new URL(window['location'][_0x45b050(0x18d)]),_0x481553={'scriptId':_0x307e54,'runId':(_0x1db30f=_0x2e31a9[_0x45b050(0x1ef)][_0x45b050(0x2b6)]('runId'))!=null?_0x1db30f:'','function':_0x18c5c0,'unitId':_0x46fed9[_0x45b050(0xe6)](),'argsOfFunction':JSON[_0x45b050(0x2de)](_0x2c4529),'invokeId':(_0x276b08=_0x1766b9[_0x45b050(0x1a5)])!=null?_0x276b08:'','executionId':(_0x328b12=_0x1766b9['executionId'])!=null?_0x328b12:''};try{const _0x38f4ad=await this['_httpService'][_0x45b050(0x22e)](_0x28e653,{'body':_0x481553});return _0x38f4ad['body'][_0x45b050(0x107)]&&_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x107)]['code']!==_0x3ebc0d['OK']?'Failed':_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x32c)];}catch{return'Failed';}}},_0x342240[_0x3894d5(0x228)]=_0x55464b([_0x4dc52b(0x0,_0x1e0609[_0x3894d5(0x301)]),_0x4dc52b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x4dc52b(0x2,_0x1e0609['IConfigService'])],_0x342240[_0x3894d5(0x228)]),_0x342240[_0x3894d5(0x31e)]=_0x2352fd,_0x342240[_0x3894d5(0x2d4)]=_0x1d6363,_0x342240['SheetCollabCursorShape']=_0xd0ee36,_0x342240['WebBrowserSingleActiveUnitService']=_0x5379f1,_0x342240[_0x3894d5(0x185)]=_0x53cffe,Object[_0x3894d5(0x17b)](_0x342240,Symbol[_0x3894d5(0xf1)],{'value':_0x3894d5(0x19a)});}));
|