@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505051607 → 0.7.0-nightly.202505071607
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.css +1 -0
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +1 -0
- 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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1924(_0x40b293,_0x37779a){const _0x5b14e3=_0x5b14();return _0x1924=function(_0x192453,_0x17fc4b){_0x192453=_0x192453-0x1a9;let _0x5cce4d=_0x5b14e3[_0x192453];return _0x5cce4d;},_0x1924(_0x40b293,_0x37779a);}function _0x5b14(){const _0x2661f8=['SHEET_VIEWPORT_KEY','isTransformMutationsWithChangesetSuccess','isTransformMutationFailure','_saveTaskMap','getCollabCursors$','rxjs','icon','_labelPosition','_transformUndoRedoStack','IRenderManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','touchDependencies','_messageService','svg','fromEventSubject','fillStyle','_initEvent','onCommandExecuted','DocSelectionManagerService','getActiveRange','endColumn','_removeCollabCursors','NOT_COLLAB','EMAIL_HAS_BEEN_BOUND','row','loadUnit','reconnect','INVITE_CODE_REQUIRED','TEXT','_getAnchorBounding','transform','delete','APPLY_REJECT','setItem','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IUniverInstanceService','getActiveSheet','mapTo','UnitStatus','red300','2cJfUYw','transformIMECache','UniverInstanceType','sheetID','OffLineSingle','requireSession','getParam','find','subunit','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','round','IConfigService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','transformMutationsWithChangeset','_cursorShapes','_roomMembers$','isActive','_scheduleHeartbeat','_textBubble','_setupSubUnitSync','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','drawWith','YUUMI_UNABLE_LOAD_URL','_initStatusListener','PERMISSION_DENIED','SYNCED','getCurrentSelections','@univerjs/engine-formula','@univerjs/docs','AWAITING_WITH_PENDING','Unknown\x20user','WebURLService','hovered','Workbook','registerComponent','entries','0\x200\x2016\x2016','_transformHistoryAndStateStack','_updateURLWithCurrentState','_selfUnitIDs','IBeforeCloseService','Warning','_onRefRangeChange','map','InsertRangeMoveRightCommandId','subscribeEvent','NodePositionConvertToCursor','collab-text-range-','UNDEFINED','FromArray','collabStatus.synced','then','asObservable','OTHER_CLIENT_EDITING','_name','_localeService','950137bazCLp','PY_RUNTIME_SCRIPT_ERROR','HEADER_MENU','getSheetId','COLORS','getValue','rxjs/operators','_status$','_getMergeRange','runId','EffectRefRangId','getUnitId','_init','_render','SNAPSHOT_INVALID_SNAPSHOT','1em','addClipboardHook','SetWorksheetActivateCommand','_getSaveTimeout','save','UniverSheetsUi','type','CollaborationEvent','_initDependencies','_memberService','ONLINE','4770hTrJrC','div','backgroundColor','_transformService','permission.title','subUnitId','getFocusedUnit','mergeOverrideWithDependencies','UniverRpc','none','call','deserializeRangeWithSheet','searchParams','@univerjs/sheets-ui','syncEditingCollabCursor','dispose$','hasOwnProperty','function','ILocalCacheService','getOwnPropertyDescriptor','setAlpha','addHandlerCallback','useObservable','_entities','SessionStatus','getCurrent','setShapeProps','setParam','UniverProCollaborationClient','_config','values','transformRemoteChangeset','getCoordByCell','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/core','stringify','ITransformService','apply','colorChannel1','path','subscribe','collaboration.single-unit.warning','_localStorageService','UniverEngineRender','unitId','getTypeOfUnitDisposed$','univer-flex\x20univer-items-center','assign','getRangePointData','complete','univer-text-red-500','MessageType','_scene','isEditing','_session','M0\x200H16V16H0z','_handleHover','USER_NOT_INVITED_CODE','on-line-single','collabStatus.offline','closePath','undoState','_online','_handleJoinEvent','@univerjs/engine-render','selections','isArray','_collaborationController','YUUMI_ASYNCIO_CANCELLED','_shapes','cursorInfo','gold400','collab-rect-range-','_unitOnClients','INTERNAL_ERROR','error','defineProperty','startRow','collabStatus.syncing','INVALID_INVITE_CODE','_drawRectRange','fill','handleInsertCol','assignAColorForMemberID','sheetId','push','currentColor','newValue','setTimeout','RegularPolygon','propertyIsEnumerable','debug','_anchor','_draw','IURLService','_hover','CollaborationUIEventId','takeUntil','add','_commandService','toString','pushState','min','_sheetSkeletonManagerService','IDocClipboardService','_notificationService','getUnitStatus$','_context','_setupBeforeClosingHandler','USERS_LEAVE','_collabCursorState$','session.connection-failed','Tools','jsx','url(#off-line-single_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','attrs','startsWith','rgba(255,\x20255,\x20255,\x200.01)','Tooltip','_document','LOCAL_CACHE_INTERVAL_KEY','mutations','_disabled','override','DependentOn','ColorKit','_docTransformIMECacheService','uni.network.url-service','pluginName','_urlService','split','SheetCollabCursorShape','operators','INVITE_CODE_ALREADY_BOUND','enableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_range','addObject','BrowserCollaborationSocketService','merge','UNRECOGNIZED','getCellPositionByOffset','handleIRemoveCol','random','_transformPreviousActiveRange','CollaborationStatus','string','SUBMIT_CHANGESET_TIMEOUT','_getSessionTicket','_syncEditingCollabCursorService','engine','setActiveRange','LICENSE_DISTRO_REJECTED','@univerjs/rpc','RefRangeService','UniverProCollaboration','SetDocZoomRatioOperation','DeleteRangeMoveUpCommandId','...','connectInjector','object','CONFLICT','unsubscribe','univerjs-icon\x20univerjs-icon-','_handleEvent','useCallback','saveTaskMap','getMemberID','HTTPService','symbol','getOffsetConfig','focused$','LocaleService','_registerRenderDependencies','collaboration.closeRoom','hide','DataLoaderService','registerBeforeClose','max','currentSkeleton$','moveTo','TEXT_RANGE_LAYER_INDEX','off-line-single_clip0_910_343','handleInsertRangeMoveDown','CHANGESET_REVISION_CONFILICT','contains','createElement','InsertColCommandId','JOIN_ROOM_FAILED','APPLY_NON_SEQUENTIAL_REVISION','_themeService','@univerjs/network','_startDocCollabCursor','storage','getMergeData','univer-flex\x20univer-mr-2\x20univer-text-[20px]','updateOfflineData','doc.mutation.rich-text-editing','url(#$1','idSuffix','lineTo','_scheduleClearOtherTimer','className','ICommandService','jiqing500','react','Rectangle','saveImage','DesktopCollaborationStatusDisplayController','RemoveColCommandId','_lastPointer','runRefRangeMutations','registerDependencies','APPLY_REVISION_CONFILICT','@univerjs-pro/collaboration','_hideTimer','disposeWithMe','handleDeleteRangeMoveUp','handleMoveRange','pipe','ISocketService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','transformMutation','collaboration-client.offline-data-not-saved','2463516XaPAsf','_entityInit$','OTHER_CLIENTS_EDITING','_updateSubUnitFromURLParams','makeDirty','_toggleOffline','roomMembers$','verdancy600','_heartbeatTimer','clearInterval','YUUMI_AI_RUN_FAILED','UniverDocs','forwardRef','getStateCache','from','SheetSkeletonManagerService','_httpService','_collabCursorController','getItem','onMouseMove','executeCommand','next','UniverNetwork','_uiPartsService','width','saveOfflineData','AWAITING','indexOf','history','unit','Inject','getDocRanges','_saveCache','UPDATE_CURSOR','LOGIN_FAILED','_id','prototype','7195592heoNSm','IImageIoService','replace','DisposableCollection','_createSocketURL','collabStatus.conflict','_send','Rect','redoState','getConfig','_logService','location','_colorIndex','getSheetBySheetId','5701178LnOikC','BehaviorSubject','#FFF','clipPath','loadOfflineData','onPointerLeave$','4255wnvlwd','fillText','status$','tag','UniverCollaborationClientPlugin','permission.content','on-line-single_clip0_910_349','FETCH_MISS','Injector','_registerDependencies','invokeId','_unitStatus','getCurrentRevOfUnit','_drawAnchor','handleInsertRangeMoveRight','skeleton','MOBILE_HAS_BEEN_BOUND','name','collabStatus.fetchMiss','docStateChange$','memberID','onPointerMove$','TOO_MANY_REQUESTS','_backgroundColor','off-line-single','_hovered','range','actions','switchMap','urlChange$','_configService','ISnapshotServerService','Shape','createSocket','init','/run/','DOC_RANGE_TYPE','getCollabEntity$','editingUnit','sessionStatus$','font','ThemeService','_scheduleSaving','_ensureSubject','top','_initStatusComponent','_docTransformStateCacheService','OFFLINE','_handleLeaveEvent','event$','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/drawing','show','length','createInstance','_toggleOnline','INotificationService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_assignedColors','useDependency','selection','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','ranges','getOwnPropertySymbols','_removeClearOtherTimer','amd','_updateCollabCursors','getAncestorScale','m2Prime','Disposable','11060199JOcNaR','includes','registerRenderModule','getCurrentUnitForType','Error','m1Prime','_collabSessionService','mask','_localCacheService','UniverCollaborationClientUIPlugin','Optional','dispose','purple300','ILogService','unshift','endRow','CollaborationStatusDisplay','PENDING','evenodd','MemberService','_dataLoaderService','YUUMI_ALL_TABLES_IS_INVALID','replaceState','transformSelections','imageSourceType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverUi','shareReplay','extend','_onCursorDelete','_initCommandExecutedListener','UniverDocsUi','_instanceService','setConfig','CollaborationUIEventService','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','NodePositionConvertToRectRange','INVITE_CODE_HAS_BEEN_UES','measureText','getMember','UniverSheets','color','ENSURE_SNAPSHOT_EXECUTION','defIds','currentTheme$','height','removeParam','black','react/jsx-runtime','deepClone','href','getLocalCacheKey','useRef','defs','UniverCore','@univerjs/docs-ui','debounceTime','handleDeleteRangeMoveLeft','CollaborationController','getSkeleton','_cursor','_cursors','debounce','UniverDrawing','size','INVALID_ARGUMENT','RxDisposable','_beforeCloseService','LICENSE_EXPORT_SIZE_EXCEEDED','Vector2','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','_initResize','column','unitID','source','ACTIVE_UNIT_EVENT_CHANNEL','flatMap','fillRule','runOnServer','_docSyncEditingCollabCursorService','RemoveRowCommandId','UNIVER_SHEET','_renderManagerService','RECT','_drawTextRange','ticket','_getScale','body','fromEvent','toDisposable','@univerjs/ui','handleIRemoveRow','translate(.97)','with','cursorInfo$','APPLY_DUPLICATED','126452UeKkUb','beginPath','LOCAL_CACHE_INTERVAL','jsxs','[CollaborationDataLoaderController]','_injector','OnLineSingle','handleInsertRow','onPointerEnter$','SheetsSelectionsService','result','code','_initEntityListener','displayName','get','has','serializeRangeWithSheet','CollaborationDataLoaderController','replaceDocRanges','NOT_FOUND','_eventUnsubscribe','bottom','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','set','restore','UNAUTHENTICATED','NO_OTHER_CLIENTS_EDITING','_docClipboardService','_cursorInfo$','UniverProCollaborationClientUi','text','key','collabCursorState$','COMPLETION_FINISHED','_onCursorUpdate','_startSheetCollabCursor','substring','onStarting','_color','_imageIoService','RemoteUniscriptService','getRenderById','filter','DocIMEInputManagerService','trim','xlink:href','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','concat','getColor','onTransformChange$','Failed','transformStateCache','data','forEach','_anchorDot','toRgbString','clearTimeout','IMessageService','_univerInstanceService','0\x200\x2017\x2016','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getVpScrollXYInfoByPosToVp','APPLY_PERMISSION_DENIED','@univerjs-pro/collaboration-client','current','getTypeOfUnitAdded$','_cachedData','DocStateChangeManagerService','_colorAssignService','params','findNodePositionByCharIndex','setInterval','DocCollaborationEntity','CONNECTOR_DATA_TOO_LARGE','roomMembers','CommandType','textRanges','_doCreateSocket','_handleHeartbeatEvent','children','generateRandomId','getUndoRedoMutationParamsCache','React','search','arc','@univerjs/design','_refRangeService','entityInit$','combineLatest','activeSheet$','_docStateChangeManagerService','_updateLocalCursor'];_0x5b14=function(){return _0x2661f8;};return _0x5b14();}(function(_0x38aeeb,_0x4e402a){const _0x5a3b44=_0x1924,_0x258f7b=_0x38aeeb();while(!![]){try{const _0x42643a=-parseInt(_0x5a3b44(0x394))/0x1*(parseInt(_0x5a3b44(0x35b))/0x2)+-parseInt(_0x5a3b44(0x1f4))/0x3+parseInt(_0x5a3b44(0x2d7))/0x4+-parseInt(_0x5a3b44(0x22d))/0x5*(parseInt(_0x5a3b44(0x3ae))/0x6)+parseInt(_0x5a3b44(0x227))/0x7+parseInt(_0x5a3b44(0x219))/0x8+parseInt(_0x5a3b44(0x275))/0x9;if(_0x42643a===_0x4e402a)break;else _0x258f7b['push'](_0x258f7b['shift']());}catch(_0x586c84){_0x258f7b['push'](_0x258f7b['shift']());}}}(_0x5b14,0x808ed),function(_0x5e19c1,_0x5c5582){const _0x35b0d2=_0x1924;typeof exports==_0x35b0d2(0x1b3)&&typeof module<'u'?_0x5c5582(exports,require(_0x35b0d2(0x316)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x35b0d2(0x1d2)),require(_0x35b0d2(0x2ad)),require(_0x35b0d2(0x260)),require(_0x35b0d2(0x338)),require(_0x35b0d2(0x378)),require(_0x35b0d2(0x1e9)),require(_0x35b0d2(0x377)),require('@univerjs/sheets'),require(_0x35b0d2(0x39a)),require(_0x35b0d2(0x3bb)),require(_0x35b0d2(0x2a6)),require(_0x35b0d2(0x2d1)),require(_0x35b0d2(0x32c)),require(_0x35b0d2(0x1e0)),require(_0x35b0d2(0x1ac))):typeof define==_0x35b0d2(0x3bf)&&define[_0x35b0d2(0x270)]?define(['exports',_0x35b0d2(0x316),_0x35b0d2(0x3d0),_0x35b0d2(0x3ee),_0x35b0d2(0x1d2),'@univerjs/docs-ui',_0x35b0d2(0x260),_0x35b0d2(0x338),'@univerjs/docs',_0x35b0d2(0x1e9),_0x35b0d2(0x377),'@univerjs/sheets',_0x35b0d2(0x39a),_0x35b0d2(0x3bb),_0x35b0d2(0x2a6),_0x35b0d2(0x2d1),_0x35b0d2(0x32c),_0x35b0d2(0x1e0),_0x35b0d2(0x1ac)],_0x5c5582):(_0x5e19c1=typeof globalThis<'u'?globalThis:_0x5e19c1||self,_0x5c5582(_0x5e19c1[_0x35b0d2(0x2f4)]={},_0x5e19c1[_0x35b0d2(0x3ca)],_0x5e19c1[_0x35b0d2(0x2ac)],_0x5e19c1[_0x35b0d2(0x3d9)],_0x5e19c1[_0x35b0d2(0x20a)],_0x5e19c1[_0x35b0d2(0x294)],_0x5e19c1[_0x35b0d2(0x2b5)],_0x5e19c1[_0x35b0d2(0x338)],_0x5e19c1[_0x35b0d2(0x1ff)],_0x5e19c1[_0x35b0d2(0x1ae)],_0x5e19c1['UniverEngineFormula'],_0x5e19c1[_0x35b0d2(0x29e)],_0x5e19c1[_0x35b0d2(0x338)][_0x35b0d2(0x433)],_0x5e19c1[_0x35b0d2(0x3a8)],_0x5e19c1[_0x35b0d2(0x329)],_0x5e19c1[_0x35b0d2(0x28f)],_0x5e19c1['UniverDesign'],_0x5e19c1['React'],_0x5e19c1[_0x35b0d2(0x3b6)]));}(this,function(_0x10d773,_0x120448,_0x5710d6,_0x5c441d,_0x554c4c,_0x36f7ce,_0x58cffa,_0x3ce9b4,_0x139315,_0x8dc84,_0x5967f5,_0x1d0cff,_0x59def4,_0x2d636c,_0x3ae0da,_0x3af2f3,_0x56069d,_0x2913b7,_0x205d8a){'use strict';const _0x5a5110=_0x1924;var _0x538b08=Object['defineProperty'],_0x47c2cb=(_0x16c66b,_0x3415b1,_0x2b8a27)=>_0x3415b1 in _0x16c66b?_0x538b08(_0x16c66b,_0x3415b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b8a27}):_0x16c66b[_0x3415b1]=_0x2b8a27,_0xa4d578=(_0x294930,_0x1483ba,_0x9c2e87)=>_0x47c2cb(_0x294930,typeof _0x1483ba!=_0x5a5110(0x1bc)?_0x1483ba+'':_0x1483ba,_0x9c2e87),_0x482805=Object[_0x5a5110(0x3c1)],_0x2c68fd=(_0x452988,_0x2842bb,_0xb78301,_0x16dd97)=>{const _0x18c0d8=_0x5a5110;for(var _0xeccb20=_0x16dd97>0x1?void 0x0:_0x16dd97?_0x482805(_0x2842bb,_0xb78301):_0x2842bb,_0x3a919f=_0x452988[_0x18c0d8(0x262)]-0x1,_0x4eee2b;_0x3a919f>=0x0;_0x3a919f--)(_0x4eee2b=_0x452988[_0x3a919f])&&(_0xeccb20=_0x4eee2b(_0xeccb20)||_0xeccb20);return _0xeccb20;},_0x53af91=(_0x2493bb,_0x5c1d23)=>(_0x2d841b,_0x44cfc1)=>_0x5c1d23(_0x2d841b,_0x44cfc1,_0x2493bb);let _0x2c015a=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x20c089,_0x5f1a43){const _0x457c64=_0x5a5110;super(),this[_0x457c64(0x2f2)]=_0x20c089,this[_0x457c64(0x2fe)]=_0x5f1a43,this[_0x457c64(0x3a0)]();}[_0x5a5110(0x3a0)](){const _0x29d621=_0x5a5110,_0x131168=this;this[_0x29d621(0x1eb)](this['_docClipboardService'][_0x29d621(0x3a4)]({'onBeforePasteImage':async _0x37ea6b=>{const _0x2ef105=_0x29d621,_0x15bad9=await _0x131168['_imageIoService'][_0x2ef105(0x1e2)](_0x37ea6b);return _0x15bad9?{'source':_0x15bad9[_0x2ef105(0x2c1)],'imageSourceType':_0x15bad9[_0x2ef105(0x28d)]}:null;}}));}};_0x2c015a=_0x2c68fd([_0x53af91(0x0,_0x36f7ce[_0x5a5110(0x416)]),_0x53af91(0x1,_0x58cffa[_0x5a5110(0x21a)])],_0x2c015a);const _0x4ed6a6=[_0x5a5110(0x281),_0x5a5110(0x1df),_0x5a5110(0x1fb),_0x5a5110(0x35a),'blue400',_0x5a5110(0x3f5)];class _0x3bc8af extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x3940ae=_0x5a5110;super(...arguments),_0xa4d578(this,_0x3940ae(0x268),new Map()),_0xa4d578(this,'_colorIndex',0x0);}[_0x5a5110(0x401)](_0x51df54){const _0x5c0d3c=_0x5a5110;if(this[_0x5c0d3c(0x268)]['has'](_0x51df54))return this['_assignedColors']['get'](_0x51df54);const _0x3d5615=_0x4ed6a6[this[_0x5c0d3c(0x225)]];return this[_0x5c0d3c(0x225)]=(this[_0x5c0d3c(0x225)]+0x1)%_0x4ed6a6['length'],this['_assignedColors'][_0x5c0d3c(0x2ee)](_0x51df54,_0x3d5615),_0x3d5615;}}function _0x4a0a44(_0x4a7546){const _0x33cae0=_0x5a5110;let _0x2b8462='';for(const _0x11914c of _0x4a7546){const {startOffset:_0x3afeb3,endOffset:_0x48bd2a,isActive:_0x185efe,rangeType:_0x2c5d64,segmentId:_0x17e5b4,segmentPage:_0x4a09f5}=_0x11914c;_0x2b8462[_0x33cae0(0x262)]&&(_0x2b8462+=','),_0x2b8462+=_0x3afeb3+':'+_0x48bd2a+':'+(_0x185efe?'1':'0')+':'+_0x2c5d64+':'+_0x17e5b4+':'+_0x4a09f5;}return _0x2b8462;}function _0x76a49a(_0x5632bc){const _0x44982e=_0x5a5110,_0x252070=_0x5632bc['split'](','),_0x5f0438=[];for(const _0x5006df of _0x252070){const [_0x46cb71,_0x2f1e0e,_0x357f4e,_0x5aa3d6,_0x542fc3,_0x1a88c5]=_0x5006df[_0x44982e(0x431)](':');_0x5f0438[_0x44982e(0x403)]({'startOffset':Number(_0x46cb71),'endOffset':Number(_0x2f1e0e),'collapsed':_0x46cb71===_0x2f1e0e,'isActive':_0x357f4e==='1','rangeType':_0x5aa3d6===_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]?_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]:_0x5710d6[_0x44982e(0x251)][_0x44982e(0x2ca)],'segmentId':typeof _0x542fc3==_0x44982e(0x441)?String(_0x542fc3):'','segmentPage':Number(_0x1a88c5!=null?_0x1a88c5:-0x1)});}return _0x5f0438['some'](_0x26ec15=>_0x26ec15[_0x44982e(0x36c)])||(_0x5f0438[0x0][_0x44982e(0x36c)]=!0x0),_0x5f0438;}class _0x4c28fd extends _0x5710d6['RxDisposable']{constructor(){const _0x1b2da8=_0x5a5110;super(...arguments),_0xa4d578(this,'_collabCursorState$',new _0x3ce9b4['BehaviorSubject'](null)),_0xa4d578(this,_0x1b2da8(0x2f7),this[_0x1b2da8(0x41c)][_0x1b2da8(0x390)]());}[_0x5a5110(0x3bc)](_0xf6c979){const _0x52d8e7=_0x5a5110,{unitID:_0x3af3a2,memberID:_0x20cafb,textRanges:_0x1c45e3}=_0xf6c979,_0x44d516=_0x4a0a44(_0x1c45e3);if(_0x44d516==='')return;const _0x57b58d={'unitID':_0x3af3a2,'memberID':_0x20cafb,'selection':_0x44d516};this[_0x52d8e7(0x41c)][_0x52d8e7(0x209)](_0x57b58d);}}var _0x2d03a0=Object[_0x5a5110(0x3c1)],_0x3e7e83=(_0x336fa1,_0x2b0305,_0x2ec346,_0x579d3b)=>{const _0x141925=_0x5a5110;for(var _0x68e516=_0x579d3b>0x1?void 0x0:_0x579d3b?_0x2d03a0(_0x2b0305,_0x2ec346):_0x2b0305,_0x479fb6=_0x336fa1[_0x141925(0x262)]-0x1,_0x344abb;_0x479fb6>=0x0;_0x479fb6--)(_0x344abb=_0x336fa1[_0x479fb6])&&(_0x68e516=_0x344abb(_0x68e516)||_0x68e516);return _0x68e516;},_0x26a5dc=(_0x3bee1f,_0x896b5f)=>(_0x1cb007,_0x439d04)=>_0x896b5f(_0x1cb007,_0x439d04,_0x3bee1f);const _0x125ce7=0x12c,_0x3bccf9=0x64;let _0x2db35c=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x3ab450,_0x3b8a23,_0xc4923e,_0x3561e2,_0x4d896b,_0x36eca1,_0x2b8a03,_0x49f95b,_0x604f07){const _0x9e12d4=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,_0x9e12d4(0x3a0),!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x9e12d4(0x390)]()),_0xa4d578(this,_0x9e12d4(0x36b),new _0x3ce9b4[(_0x9e12d4(0x228))]([])),_0xa4d578(this,_0x9e12d4(0x1fa),this[_0x9e12d4(0x36b)]['pipe'](_0x3ce9b4[_0x9e12d4(0x2ae)](_0x125ce7))),_0xa4d578(this,_0x9e12d4(0x332),_0x5710d6[_0x9e12d4(0x2b4)](_0x578de2=>{const _0x3d905e=_0x9e12d4,_0x39d8ab={'eventID':_0x8dc84[_0x3d905e(0x3aa)][_0x3d905e(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x3d905e(0x3e4)][_0x3d905e(0x1ba)](),'selection':_0x4a0a44(_0x578de2)}};this[_0x3d905e(0x3e4)]['send'](_0x39d8ab,this[_0x3d905e(0x2c0)]);},_0x3bccf9)),(this[_0x9e12d4(0x2c0)]=_0x3ab450,this[_0x9e12d4(0x3e4)]=_0x3b8a23,this['_injector']=_0xc4923e,this[_0x9e12d4(0x31b)]=_0x3561e2,this[_0x9e12d4(0x3ac)]=_0x4d896b,this['_syncEditingCollabCursorService']=_0x36eca1,this[_0x9e12d4(0x3b1)]=_0x2b8a03,this[_0x9e12d4(0x311)]=_0x49f95b,this[_0x9e12d4(0x411)]=_0x604f07);}get[_0x5a5110(0x3f4)](){const _0x560703=_0x5a5110;return this[_0x560703(0x2f3)][_0x560703(0x399)]();}get[_0x5a5110(0x321)](){const _0x49154e=_0x5a5110;return this[_0x49154e(0x36b)]['getValue']();}['dispose'](){const _0x2673d0=_0x5a5110;super['dispose'](),this[_0x2673d0(0x2f3)][_0x2673d0(0x209)](new Map()),this[_0x2673d0(0x2f3)]['complete'](),this[_0x2673d0(0x36b)][_0x2673d0(0x209)]([]),this['_roomMembers$'][_0x2673d0(0x3df)]();}[_0x5a5110(0x24f)](){const _0x1517ee=_0x5a5110;this[_0x1517ee(0x3a0)]||(this[_0x1517ee(0x3a0)]=!0x0,this[_0x1517ee(0x3e4)][_0x1517ee(0x254)][_0x1517ee(0x1ee)](_0x3ce9b4[_0x1517ee(0x40f)](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x19ca62=>{const _0x24462b=_0x1517ee;_0x19ca62===_0x120448[_0x24462b(0x3c6)][_0x24462b(0x3ad)]?this[_0x24462b(0x264)]():this[_0x24462b(0x1f9)]();}),this[_0x1517ee(0x3e4)][_0x1517ee(0x25e)][_0x1517ee(0x1ee)](_0x3ce9b4['takeUntil'](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x849bc3=>{const _0x24dcf9=_0x1517ee,_0x51f27f=_0x849bc3['eventID'];_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x215)]&&this[_0x24dcf9(0x2f9)](_0x849bc3),_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x41b)]&&this['_onCursorDelete'](_0x849bc3);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)]['onCommandExecuted'](_0x531d23=>{const _0x3184d5=_0x1517ee,_0x5144da=_0x531d23[_0x3184d5(0x31c)];_0x5144da!=null&&this[_0x3184d5(0x3ec)]&&_0x531d23['id']===_0x139315['SetTextSelectionsOperation']['id']&&_0x5144da[_0x3184d5(0x3da)]===this[_0x3184d5(0x2c0)]&&_0x5144da[_0x3184d5(0x3e3)]===!0x1&&_0x5144da[_0x3184d5(0x26d)][_0x3184d5(0x262)]>0x0&&this[_0x3184d5(0x332)](_0x5144da[_0x3184d5(0x26d)]);})),this[_0x1517ee(0x444)][_0x1517ee(0x2f7)]['pipe'](_0x3ce9b4[_0x1517ee(0x40f)](this['dispose$']))[_0x1517ee(0x3d6)](_0x23f8ff=>{const _0x2dccd7=_0x1517ee;if((_0x23f8ff==null?void 0x0:_0x23f8ff[_0x2dccd7(0x2c0)])!==this[_0x2dccd7(0x2c0)])return;const _0x2d3cea={'eventID':_0x8dc84[_0x2dccd7(0x3aa)]['UPDATE_CURSOR'],'data':_0x23f8ff};this[_0x2dccd7(0x2f9)](_0x2d3cea);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)][_0x1517ee(0x344)](_0x48438e=>{const _0x185af7=_0x1517ee;if(_0x48438e['params']==null)return;const _0x210e6d=_0x48438e[_0x185af7(0x31c)];if(_0x48438e['id']!==_0x139315['RichTextEditingMutation']['id']||_0x210e6d[_0x185af7(0x3da)]!==this[_0x185af7(0x2c0)])return;const _0x3ad286={'id':_0x185af7(0x1d8),'params':_0x210e6d},_0x47b1f3=this[_0x185af7(0x3f4)];for(const [_0x511f17,_0x316503]of _0x47b1f3){const _0x5286c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x316503[_0x185af7(0x26d)]}},_0x45eb48=this[_0x185af7(0x3b1)][_0x185af7(0x1f2)](_0x3ad286,_0x5286c2,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x45eb48))throw _0x45eb48[_0x185af7(0x3f9)];_0x47b1f3['set'](_0x511f17,{..._0x316503,'ranges':_0x45eb48['m2Prime']['params'][_0x185af7(0x323)]});}queueMicrotask(()=>{const _0x2e3e62=_0x185af7;this[_0x2e3e62(0x2f3)][_0x2e3e62(0x209)](_0x47b1f3);});})));}[_0x5a5110(0x2f9)](_0x176a7e){const _0x362854=_0x5a5110;var _0xce8126,_0x564154;const {memberID:_0x524353,selection:_0x4418f7}=_0x176a7e[_0x362854(0x30b)],_0x525b4f=_0x76a49a(_0x4418f7),_0x46e2f9=(_0x564154=(_0xce8126=this[_0x362854(0x3ac)][_0x362854(0x29d)](this[_0x362854(0x2c0)],_0x524353))==null?void 0x0:_0xce8126[_0x362854(0x23e)])!=null?_0x564154:'Unknown\x20user',_0x358baf={'color':this[_0x362854(0x31b)][_0x362854(0x401)](_0x524353),'name':_0x46e2f9,'ranges':_0x525b4f},_0x57524c=this[_0x362854(0x3f4)];_0x57524c[_0x362854(0x2ee)](_0x524353,_0x358baf),this['_cursorInfo$'][_0x362854(0x209)](_0x57524c);}[_0x5a5110(0x292)](_0x9cdfc1){const _0x206220=_0x5a5110,{memberID:_0x135675}=_0x9cdfc1[_0x206220(0x30b)],_0x431cb5=this[_0x206220(0x3f4)];_0x431cb5['delete'](_0x135675),this[_0x206220(0x2f3)][_0x206220(0x209)](_0x431cb5);}['_toggleOnline'](){const _0x2c3aa1=_0x5a5110;var _0x374aa0;if(this[_0x2c3aa1(0x3ec)]=!0x0,((_0x374aa0=this[_0x2c3aa1(0x311)][_0x2c3aa1(0x3b4)]())==null?void 0x0:_0x374aa0[_0x2c3aa1(0x39f)]())!==this[_0x2c3aa1(0x2c0)])return;const _0x279941=this[_0x2c3aa1(0x2dc)]['get'](_0x139315[_0x2c3aa1(0x345)])[_0x2c3aa1(0x213)]();Array[_0x2c3aa1(0x3f0)](_0x279941)&&_0x279941['length']>0x0&&this[_0x2c3aa1(0x332)](_0x279941);}[_0x5a5110(0x1f9)](){const _0x192366=_0x5a5110;this[_0x192366(0x3ec)]=!0x1;}};_0x2db35c=_0x3e7e83([_0x26a5dc(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x26a5dc(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x26a5dc(0x4,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x288)])),_0x26a5dc(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0x26a5dc(0x6,_0x8dc84[_0x5a5110(0x3d2)]),_0x26a5dc(0x7,_0x5710d6[_0x5a5110(0x356)]),_0x26a5dc(0x8,_0x5710d6['ICommandService'])],_0x2db35c);var _0x47cdb0=Object[_0x5a5110(0x3c1)],_0x8220c3=(_0x3fa6d4,_0x20856e,_0x5aee63,_0x9f4889)=>{const _0x49cb7d=_0x5a5110;for(var _0x16b373=_0x9f4889>0x1?void 0x0:_0x9f4889?_0x47cdb0(_0x20856e,_0x5aee63):_0x20856e,_0x1f1a77=_0x3fa6d4[_0x49cb7d(0x262)]-0x1,_0x2b0285;_0x1f1a77>=0x0;_0x1f1a77--)(_0x2b0285=_0x3fa6d4[_0x1f1a77])&&(_0x16b373=_0x2b0285(_0x16b373)||_0x16b373);return _0x16b373;},_0x511d77=(_0x15ff09,_0x18dee2)=>(_0x497901,_0x2d1e43)=>_0x18dee2(_0x497901,_0x2d1e43,_0x15ff09);const _0x4c5755=0x12c,_0x53aed6=0x64,_0x115591=()=>{let _0x368a40=[],_0x3a6ae0=!0x1;return _0x450c1a=>{const _0x67ad38=_0x1924;_0x368a40[_0x67ad38(0x403)](_0x450c1a),_0x3a6ae0||(_0x3a6ae0=!0x0,setTimeout(()=>{const _0x2d5ae5=_0x67ad38;_0x368a40[_0x2d5ae5(0x30c)](_0x79c926=>_0x79c926()),_0x368a40=[],_0x3a6ae0=!0x1;}));};};let _0x51ec17=class extends _0x5710d6['RxDisposable']{constructor(_0x4f4f41,_0x3dcf8c,_0xa50577,_0x45a68c,_0x3927ec,_0x213782,_0x1c259f,_0x4b7edd){const _0x2d752b=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,'_init',!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x2d752b(0x390)]()),_0xa4d578(this,_0x2d752b(0x36b),new _0x3ce9b4['BehaviorSubject']([])),_0xa4d578(this,_0x2d752b(0x1fa),this[_0x2d752b(0x36b)][_0x2d752b(0x1ee)](_0x3ce9b4[_0x2d752b(0x2ae)](_0x4c5755))),_0xa4d578(this,_0x2d752b(0x332),_0x5710d6['debounce']((_0x2e54b6,_0x235ef4)=>{const _0x4397fa=_0x2d752b,_0x401e2c={'eventID':_0x8dc84[_0x4397fa(0x3aa)][_0x4397fa(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x4397fa(0x3e4)]['getMemberID'](),'selection':_0x5967f5[_0x4397fa(0x2e7)](_0x2e54b6,_0x235ef4[_0x4397fa(0x247)])}};this['_session']['send'](_0x401e2c,this[_0x4397fa(0x2c0)]);},_0x53aed6)),(this[_0x2d752b(0x2c0)]=_0x4f4f41,this['_session']=_0x3dcf8c,this['_injector']=_0xa50577,this[_0x2d752b(0x31b)]=_0x45a68c,this[_0x2d752b(0x3ac)]=_0x3927ec,this[_0x2d752b(0x311)]=_0x213782,this[_0x2d752b(0x411)]=_0x1c259f,this[_0x2d752b(0x32d)]=_0x4b7edd);}get[_0x5a5110(0x3f4)](){const _0x453449=_0x5a5110;return this[_0x453449(0x2f3)][_0x453449(0x399)]();}get[_0x5a5110(0x321)](){const _0x3c138b=_0x5a5110;return this[_0x3c138b(0x36b)]['getValue']();}[_0x5a5110(0x280)](){const _0x5bbb25=_0x5a5110;super[_0x5bbb25(0x280)](),this[_0x5bbb25(0x2f3)]['next'](new Map()),this[_0x5bbb25(0x2f3)][_0x5bbb25(0x3df)](),this['_roomMembers$'][_0x5bbb25(0x209)]([]),this[_0x5bbb25(0x36b)][_0x5bbb25(0x3df)]();}[_0x5a5110(0x24f)](){const _0x49becb=_0x5a5110;this[_0x49becb(0x3a0)]||(this['_init']=!0x0,this[_0x49becb(0x3e4)][_0x49becb(0x254)][_0x49becb(0x1ee)](_0x3ce9b4[_0x49becb(0x40f)](this['dispose$']))[_0x49becb(0x3d6)](_0x5b947b=>{const _0x5cde2b=_0x49becb;_0x5b947b===_0x120448[_0x5cde2b(0x3c6)]['ONLINE']?this[_0x5cde2b(0x264)]():this[_0x5cde2b(0x1f9)]();}),this[_0x49becb(0x3e4)]['event$']['pipe'](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x50a030=>{const _0x399c66=_0x49becb,_0x51e1a2=_0x50a030['eventID'];_0x51e1a2===_0x8dc84[_0x399c66(0x3aa)][_0x399c66(0x215)]&&this[_0x399c66(0x2f9)](_0x50a030),_0x51e1a2===_0x8dc84['CollaborationEvent']['USERS_LEAVE']&&this[_0x399c66(0x292)](_0x50a030);}),this[_0x49becb(0x386)](),this[_0x49becb(0x1eb)](this[_0x49becb(0x411)]['onCommandExecuted'](_0x4a21da=>{const _0x179efb=_0x49becb;if(this[_0x179efb(0x3ec)]&&_0x4a21da['id']===_0x1d0cff['SetSelectionsOperation']['id']&&_0x4a21da[_0x179efb(0x31c)][_0x179efb(0x3da)]===this['unitID']){const _0x4f725e=_0x4a21da[_0x179efb(0x31c)];this[_0x179efb(0x332)](_0x4f725e[_0x179efb(0x3b3)],_0x4f725e[_0x179efb(0x3ef)][0x0]);}})));}[_0x5a5110(0x2f9)](_0x5c24a1){const _0x45d82e=_0x5a5110;var _0x4bc5f3,_0x33cee4;const {memberID:_0x253482,selection:_0x632b89}=_0x5c24a1['data'],{sheetName:_0x585423,range:_0x606041}=_0x5967f5[_0x45d82e(0x3b9)](_0x632b89),_0x477561={'name':(_0x33cee4=(_0x4bc5f3=this[_0x45d82e(0x3ac)]['getMember'](this[_0x45d82e(0x2c0)],_0x253482))==null?void 0x0:_0x4bc5f3[_0x45d82e(0x23e)])!=null?_0x33cee4:_0x45d82e(0x37a),'range':this[_0x45d82e(0x39c)](_0x585423,_0x606041),'sheetID':_0x585423,'color':this[_0x45d82e(0x31b)][_0x45d82e(0x401)](_0x253482),'selection':_0x632b89},_0x517bd6=this[_0x45d82e(0x3f4)];_0x517bd6[_0x45d82e(0x2ee)](_0x253482,_0x477561),this[_0x45d82e(0x2f3)][_0x45d82e(0x209)](_0x517bd6);}[_0x5a5110(0x292)](_0x5d7925){const _0x5c61cb=_0x5a5110,{memberID:_0x222bf8}=_0x5d7925['data'],_0x32fe4f=this['cursorInfo'];_0x32fe4f[_0x5c61cb(0x352)](_0x222bf8),this['_cursorInfo$'][_0x5c61cb(0x209)](_0x32fe4f);}['_getMergeRange'](_0x1ca529,_0x3369fb){const _0x48aa0f=_0x5a5110;var _0x2b1df5,_0x4f8d84;const _0x47de05=(_0x4f8d84=(_0x2b1df5=this[_0x48aa0f(0x311)]['getUniverSheetInstance'](this[_0x48aa0f(0x2c0)]))==null?void 0x0:_0x2b1df5[_0x48aa0f(0x226)](_0x1ca529))==null?void 0x0:_0x4f8d84[_0x48aa0f(0x1d5)]();return(_0x47de05==null?void 0x0:_0x47de05[_0x48aa0f(0x362)](_0x5cc4a0=>_0x5710d6[_0x48aa0f(0x1e1)][_0x48aa0f(0x1cc)](_0x5cc4a0,_0x3369fb)))||_0x3369fb;}[_0x5a5110(0x386)](){const _0x47ad17=_0x5a5110,_0x179065=new _0x5710d6[(_0x47ad17(0x21c))](),_0x39f767=_0x115591(),_0x20d979=()=>{const _0x8ccea0=_0x47ad17;_0x179065[_0x8ccea0(0x280)]();const _0x1111ed=(_0x3033e9,_0x368fb2,_0x15a10e,_0x4bcc85)=>{const _0x10ac22=_0x8ccea0;let _0x4ab8ed=[];switch(_0x3033e9['id']){case _0x1d0cff[_0x10ac22(0x39e)]['DeleteRangeMoveLeftCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2af)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1b0)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ec)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1ce)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x400)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRangeMoveDownCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ca)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x388)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x23b)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRowCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2de)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId']['MoveRangeCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ed)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1e4)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x43d)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId'][_0x10ac22(0x2c7)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2d2)](_0x3033e9,_0x4bcc85);break;}}const _0x27f41c=_0x1d0cff[_0x10ac22(0x1e6)](_0x4ab8ed,_0x4bcc85),_0x17e2d9=this['cursorInfo'][_0x10ac22(0x2e5)](_0x368fb2);if(_0x17e2d9&&_0x27f41c){const _0x572521={..._0x17e2d9,'range':_0x27f41c};this[_0x10ac22(0x3f4)][_0x10ac22(0x2ee)](_0x368fb2,_0x572521),_0x39f767(()=>{const _0x3055da=_0x10ac22,_0x272157=this[_0x3055da(0x32d)]['registerRefRange'](_0x27f41c,_0x26135b=>(_0x272157[_0x3055da(0x280)](),_0x1111ed(_0x26135b,_0x368fb2,_0x15a10e,_0x27f41c)));_0x179065[_0x3055da(0x410)](_0x272157);});}return{'redos':[],'undos':[]};};this[_0x8ccea0(0x3f4)][_0x8ccea0(0x30c)]((_0x290075,_0x1bc210)=>{const _0x217b33=_0x8ccea0,{range:_0x5089a3,sheetID:_0x4437d1}=_0x290075,_0x2b831a=this[_0x217b33(0x32d)]['registerRefRange'](_0x5089a3,_0x57c99f=>(_0x2b831a[_0x217b33(0x280)](),_0x1111ed(_0x57c99f,_0x1bc210,_0x4437d1,_0x5089a3)));_0x179065['add'](_0x2b831a);});};this[_0x47ad17(0x1eb)](_0x5710d6[_0x47ad17(0x2d0)](this['_cursorInfo$'][_0x47ad17(0x3d6)](()=>{_0x20d979();})));}['_toggleOnline'](){const _0x4eabd1=_0x5a5110;var _0x1638ca,_0x2383f8;if(this[_0x4eabd1(0x3ec)]=!0x0,((_0x1638ca=this[_0x4eabd1(0x311)][_0x4eabd1(0x3b4)]())==null?void 0x0:_0x1638ca['getUnitId']())!==this['unitID'])return;const _0xd06345=(_0x2383f8=this[_0x4eabd1(0x2dc)][_0x4eabd1(0x2e5)](_0x1d0cff[_0x4eabd1(0x2e0)])[_0x4eabd1(0x376)]())==null?void 0x0:_0x2383f8[0x0],_0x1c8107=this[_0x4eabd1(0x311)][_0x4eabd1(0x278)](_0x5710d6['UniverInstanceType']['UNIVER_SHEET'])[_0x4eabd1(0x357)]();_0xd06345&&_0x1c8107&&this[_0x4eabd1(0x332)](_0x1c8107[_0x4eabd1(0x397)](),_0xd06345);}[_0x5a5110(0x1f9)](){const _0x5ca115=_0x5a5110;this[_0x5ca115(0x3ec)]=!0x1;}};_0x51ec17=_0x8220c3([_0x511d77(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x511d77(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x511d77(0x4,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x288)])),_0x511d77(0x5,_0x5710d6['IUniverInstanceService']),_0x511d77(0x6,_0x5710d6[_0x5a5110(0x1de)]),_0x511d77(0x7,_0x5710d6[_0x5a5110(0x212)](_0x1d0cff[_0x5a5110(0x1ad)]))],_0x51ec17);var _0x2fb3fb=Object[_0x5a5110(0x3c1)],_0x593181=(_0x5857c7,_0xe1a406,_0x3175ef,_0x43680b)=>{const _0x109bf0=_0x5a5110;for(var _0x2f50c2=_0x43680b>0x1?void 0x0:_0x43680b?_0x2fb3fb(_0xe1a406,_0x3175ef):_0xe1a406,_0x39a7ae=_0x5857c7[_0x109bf0(0x262)]-0x1,_0xe226cb;_0x39a7ae>=0x0;_0x39a7ae--)(_0xe226cb=_0x5857c7[_0x39a7ae])&&(_0x2f50c2=_0xe226cb(_0x2f50c2)||_0x2f50c2);return _0x2f50c2;},_0x4413db=(_0x2f3f27,_0x1e0788)=>(_0x5d325b,_0x178b36)=>_0x1e0788(_0x5d325b,_0x178b36,_0x2f3f27);let _0x377ca6=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x344f55,_0x58ea49,_0x4f9693){const _0x3febef=_0x5a5110;super(),_0xa4d578(this,_0x3febef(0x3c5),new Map()),_0xa4d578(this,_0x3febef(0x1f5),new _0x3ce9b4['Subject']()),(this[_0x3febef(0x311)]=_0x344f55,this['_injector']=_0x58ea49,this[_0x3febef(0x27b)]=_0x4f9693,this[_0x3febef(0x3a0)]());}[_0x5a5110(0x280)](){const _0x2b2552=_0x5a5110;super[_0x2b2552(0x280)](),this['_entityInit$'][_0x2b2552(0x3df)](),this[_0x2b2552(0x3c5)]['forEach'](_0x3ac665=>_0x3ac665[_0x2b2552(0x280)]());}[_0x5a5110(0x337)](_0x439ad9){const _0x1f953c=_0x5a5110;return this[_0x1f953c(0x3c5)]['has'](_0x439ad9)?this[_0x1f953c(0x3c5)][_0x1f953c(0x2e5)](_0x439ad9)[_0x1f953c(0x2d5)]:this[_0x1f953c(0x1f5)]['pipe'](_0x3ce9b4[_0x1f953c(0x301)](_0x461c6a=>_0x461c6a[_0x1f953c(0x2c0)]===_0x439ad9),_0x3ce9b4[_0x1f953c(0x249)](_0x4fe6e9=>_0x4fe6e9[_0x1f953c(0x2d5)]));}[_0x5a5110(0x3a0)](){const _0x3fce71=_0x5a5110;this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_SHEET'])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x3d6)](async _0x390d03=>{const _0x1c65f6=_0x3fce71,_0x144f40=_0x390d03[_0x1c65f6(0x39f)](),_0x238b6e=await this[_0x1c65f6(0x2fa)](_0x144f40);this[_0x1c65f6(0x1f5)]['next'](_0x238b6e),this[_0x1c65f6(0x3c5)][_0x1c65f6(0x2ee)](_0x144f40,_0x238b6e);}),this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x26c)])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x301)](_0xb2f8ca=>!_0xb2f8ca[_0x3fce71(0x39f)]()[_0x3fce71(0x423)]('__')))[_0x3fce71(0x3d6)](async _0x5d191d=>{const _0x787e09=_0x3fce71,_0x38f722=_0x5d191d[_0x787e09(0x39f)](),_0x587158=await this[_0x787e09(0x1d3)](_0x38f722);this[_0x787e09(0x1f5)][_0x787e09(0x209)](_0x587158),this[_0x787e09(0x3c5)][_0x787e09(0x2ee)](_0x38f722,_0x587158);}),_0x3ce9b4['merge'](this[_0x3fce71(0x311)]['getTypeOfUnitDisposed$'](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_DOC']),this['_univerInstanceService'][_0x3fce71(0x3db)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x2c8)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this['dispose$']))[_0x3fce71(0x3d6)](_0x9b7c65=>{const _0x4f4914=_0x3fce71,_0x449aea=_0x9b7c65['getUnitId'](),_0x5e609b=this[_0x4f4914(0x3c5)][_0x4f4914(0x2e5)](_0x449aea);_0x5e609b&&(_0x5e609b[_0x4f4914(0x280)](),this['_entities'][_0x4f4914(0x352)](_0x449aea));});}async[_0x5a5110(0x2fa)](_0x31170f){const _0x2538ed=_0x5a5110,_0x3d4293=await this['_collabSessionService'][_0x2538ed(0x360)](_0x31170f),_0x3594d8=this[_0x2538ed(0x2dc)][_0x2538ed(0x263)](_0x51ec17,_0x31170f,_0x3d4293);return _0x3594d8[_0x2538ed(0x24f)](),_0x3594d8;}async['_startDocCollabCursor'](_0x3ee401){const _0x20106d=_0x5a5110,_0x1ddec1=await this['_collabSessionService'][_0x20106d(0x360)](_0x3ee401),_0x18bc69=this[_0x20106d(0x2dc)][_0x20106d(0x263)](_0x2db35c,_0x3ee401,_0x1ddec1);return _0x18bc69[_0x20106d(0x24f)](),_0x18bc69;}};_0x377ca6=_0x593181([_0x4413db(0x0,_0x5710d6['IUniverInstanceService']),_0x4413db(0x1,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x4413db(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448['CollaborationSessionService']))],_0x377ca6);const _0x2d1066=0x14,_0x9670b5=0xc8,_0x403639=0x4,_0x1fa15d=0x5;function _0x58b698(_0x20fe5e,_0x386c87){const _0x8816a5=_0x5a5110;let {radius:_0x525301,width:_0x5e818e,height:_0x270ffb}=_0x386c87;_0x525301=_0x525301!=null?_0x525301:0x0,_0x5e818e=_0x5e818e!=null?_0x5e818e:0x1e,_0x270ffb=_0x270ffb!=null?_0x270ffb:0x1e;let _0x3042dd=0x0,_0x17831f=0x0,_0x360d78=0x0;_0x3042dd=_0x17831f=_0x360d78=Math[_0x8816a5(0x414)](_0x525301,_0x5e818e/0x2,_0x270ffb/0x2),_0x20fe5e[_0x8816a5(0x2d8)](),_0x20fe5e[_0x8816a5(0x1c7)](_0x3042dd,0x0),_0x20fe5e['lineTo'](_0x5e818e-_0x17831f,0x0),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x17831f,_0x17831f,_0x17831f,Math['PI']*0x3/0x2,0x0,!0x1),_0x20fe5e[_0x8816a5(0x1db)](_0x5e818e,_0x270ffb-_0x360d78),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x360d78,_0x270ffb-_0x360d78,_0x360d78,0x0,Math['PI']/0x2,!0x1),_0x20fe5e['lineTo'](0x0,_0x270ffb),_0x20fe5e['lineTo'](0x0,_0x3042dd),_0x20fe5e[_0x8816a5(0x32b)](_0x3042dd,_0x3042dd,_0x3042dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20fe5e[_0x8816a5(0x3ea)](),_0x386c87[_0x8816a5(0x3ff)]&&(_0x20fe5e[_0x8816a5(0x3a7)](),_0x20fe5e['fillStyle']=_0x386c87[_0x8816a5(0x3ff)],_0x386c87[_0x8816a5(0x2c4)]===_0x8816a5(0x287)?_0x20fe5e['fill'](_0x8816a5(0x287)):_0x20fe5e[_0x8816a5(0x3ff)](),_0x20fe5e[_0x8816a5(0x2ef)]());}class _0x4aa1a9 extends _0x5c441d[_0x5a5110(0x24d)]{constructor(_0x36e60b,_0x39ab9a){const _0x4c6e8a=_0x5a5110;super(_0x36e60b,_0x39ab9a),_0xa4d578(this,_0x4c6e8a(0x29f)),_0xa4d578(this,_0x4c6e8a(0x2f5)),(this['color']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x29f)],this['text']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x2f5)]);}static[_0x5a5110(0x371)](_0x5a8163,_0x556945){const _0x1ac5af=_0x5a5110,{text:_0x423790,color:_0x149699}=_0x556945;_0x5a8163['save'](),_0x5a8163[_0x1ac5af(0x255)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xde9f5a=_0x5a8163[_0x1ac5af(0x29c)](_0x423790)[_0x1ac5af(0x20c)],_0x4405e2=Math['min'](_0xde9f5a+0x2*_0x403639,_0x9670b5);_0x58b698(_0x5a8163,{'height':_0x2d1066,'radius':0x4,'width':_0x4405e2,'fill':_0x149699}),_0x5a8163[_0x1ac5af(0x342)]=_0x1ac5af(0x229);const _0x581e61=_0x403639,_0x56bc39=_0x2d1066-_0x1fa15d,_0x2c62e4=_0x9670b5-0x2*_0x403639;if(_0xde9f5a>_0x2c62e4){let _0x321f1b='',_0x1401ca=0x0;for(const _0x8df4f6 of _0x423790){const _0x10f59a=_0x5a8163[_0x1ac5af(0x29c)](_0x8df4f6)[_0x1ac5af(0x20c)];if(_0x1401ca+_0x10f59a<=_0x2c62e4-_0x5a8163[_0x1ac5af(0x29c)](_0x1ac5af(0x1b1))[_0x1ac5af(0x20c)])_0x321f1b+=_0x8df4f6,_0x1401ca+=_0x10f59a;else{_0x321f1b+=_0x1ac5af(0x1b1);break;}}_0x5a8163[_0x1ac5af(0x22e)](_0x321f1b,_0x581e61,_0x56bc39);}else _0x5a8163[_0x1ac5af(0x22e)](_0x423790,_0x581e61,_0x56bc39);_0x5a8163[_0x1ac5af(0x2ef)]();}[_0x5a5110(0x40b)](_0x198902){const _0x35c36d=_0x5a5110;_0x4aa1a9[_0x35c36d(0x371)](_0x198902,this);}}const _0x576f79='collab-text-anchor-',_0x289245=_0x5a5110(0x38b),_0x4740ed=_0x5a5110(0x3f6),_0x22d678=0x6,_0x4a6d64=1.5,_0x26adae=0x4,_0x1e4d03=1.5,_0x38e2aa=_0x5a5110(0x424);class _0x2fa8dc{constructor(_0x172a8c,_0x127af9,_0x3473b6,_0x3dd812){const _0x20b26f=_0x5a5110;_0xa4d578(this,_0x20b26f(0x3f3),[]),_0xa4d578(this,_0x20b26f(0x40a),null),_0xa4d578(this,_0x20b26f(0x36e),null),_0xa4d578(this,_0x20b26f(0x30d),null),_0xa4d578(this,_0x20b26f(0x1ea),null),_0xa4d578(this,_0x20b26f(0x2eb),null),(this[_0x20b26f(0x2b2)]=_0x172a8c,this[_0x20b26f(0x3e2)]=_0x127af9,this['_docSkeleton']=_0x3473b6,this[_0x20b26f(0x426)]=_0x3dd812,this[_0x20b26f(0x3a1)]());}set[_0x5a5110(0x40d)](_0x47ca96){const _0x3b530c=_0x5a5110;_0x47ca96?(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x1c2)](),this[_0x3b530c(0x36e)]&&this['_textBubble'][_0x3b530c(0x261)]()):(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x261)](),this[_0x3b530c(0x36e)]&&this[_0x3b530c(0x36e)][_0x3b530c(0x1c2)]());}[_0x5a5110(0x280)](){const _0x232dc6=_0x5a5110;for(const _0x105a55 of this[_0x232dc6(0x3f3)])_0x105a55[_0x232dc6(0x280)]();this[_0x232dc6(0x36e)]&&this[_0x232dc6(0x36e)][_0x232dc6(0x280)](),this['_anchorDot']&&this[_0x232dc6(0x30d)]['dispose'](),this['_anchor']&&this[_0x232dc6(0x40a)][_0x232dc6(0x280)](),this[_0x232dc6(0x2eb)]&&this['_eventUnsubscribe']();}[_0x5a5110(0x3a1)](){const _0x5c42ba=_0x5a5110;var _0x1596e8;const {_docSkeleton:_0x1c36ee,_document:_0x47ffa2}=this,{color:_0x214800,name:_0xf57222,ranges:_0x51ee4b}=this[_0x5c42ba(0x2b2)],_0x182969=_0x47ffa2[_0x5c42ba(0x1bd)](),{docsLeft:_0x5150e8,docsTop:_0x552621}=_0x182969,_0x4e8560=new _0x36f7ce[(_0x5c42ba(0x38a))](_0x182969,_0x1c36ee);for(const {startOffset:_0x3569de,endOffset:_0x4ef6b4,rangeType:_0x476940,segmentId:_0x260646,segmentPage:_0xb03d05,collapsed:_0x201af3,isActive:_0x342244}of _0x51ee4b){const _0x34ad71=_0x1c36ee[_0x5c42ba(0x31d)](_0x3569de,!0x0,_0x260646,_0xb03d05);let _0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4,!0x0,_0x260646,_0xb03d05);if(_0x5423e4==null&&(_0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4-0x1,!0x1,_0x260646,_0xb03d05)),_0x342244){const {contentBoxPointGroup:_0x12dcbd}=_0x4e8560[_0x5c42ba(0x3de)](_0x5423e4,_0x5423e4);if(_0x12dcbd[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x23a)](_0x214800,_0x12dcbd,_0x5150e8,_0x552621,_0xf57222),this[_0x5c42ba(0x2eb)]=this[_0x5c42ba(0x3e6)]();}if(_0x34ad71&&_0x5423e4){if(_0x476940===_0x5710d6[_0x5c42ba(0x251)][_0x5c42ba(0x2ca)]){const _0x9c50ac=new _0x36f7ce[(_0x5c42ba(0x29a))](_0x182969,_0x1c36ee),{pointGroup:_0x21f232}=(_0x1596e8=_0x9c50ac['getRangePointData'](_0x34ad71,_0x5423e4))!=null?_0x1596e8:{};if(_0x21f232==null||_0x21f232['length']===0x0)continue;this[_0x5c42ba(0x3fe)](_0x214800,_0x21f232,_0x5150e8,_0x552621);}else{if(!_0x201af3){const {borderBoxPointGroup:_0xa1a23e}=_0x4e8560[_0x5c42ba(0x3de)](_0x34ad71,_0x5423e4);if(_0xa1a23e[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x2cb)](_0x214800,_0xa1a23e,_0x5150e8,_0x552621);}}}}}[_0x5a5110(0x23a)](_0x46c383,_0x4e4fb3,_0x5cec31,_0x22287d,_0x151b8e){const _0x514821=_0x5a5110,_0x2c4a7b=this[_0x514821(0x350)](_0x4e4fb3),{left:_0x28797f,top:_0x56ea7c,height:_0x481dbc}=_0x2c4a7b,_0x2c5696=this[_0x514821(0x2cd)](),_0x15db94=_0x1e4d03/_0x2c5696,_0x5aca51=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d,'height':_0x481dbc,'width':_0x4a6d64,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':_0x15db94,'stroke':_0x38e2aa,'evented':!0x0});this[_0x514821(0x40a)]=_0x5aca51,this[_0x514821(0x3e2)]['addObject'](_0x5aca51,_0x36f7ce[_0x514821(0x1c8)]);const _0x3c5f10=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x26adae/0x2,'height':_0x26adae,'width':_0x26adae,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c383||_0x5c441d['getColor'](_0x5710d6[_0x514821(0x398)][_0x514821(0x2a5)],0x0),'evented':!0x1});this[_0x514821(0x30d)]=_0x3c5f10,this['_scene'][_0x514821(0x438)](_0x3c5f10,_0x36f7ce[_0x514821(0x1c8)]);const _0x1195e8=new _0x4aa1a9(_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x2d1066,'text':_0x151b8e,'color':_0x46c383});this['_textBubble']=_0x1195e8,this[_0x514821(0x3e2)][_0x514821(0x438)](_0x1195e8,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']),this[_0x514821(0x40d)]=!0x1;}[_0x5a5110(0x3e6)](){const _0x938dd3=_0x5a5110,_0x52161e=this[_0x938dd3(0x40a)][_0x938dd3(0x2df)][_0x938dd3(0x389)](()=>{const _0x411291=_0x938dd3;this[_0x411291(0x40d)]=!0x0;}),_0x5112e9=this[_0x938dd3(0x40a)][_0x938dd3(0x22c)][_0x938dd3(0x389)](()=>{const _0x1434fa=_0x938dd3;this[_0x1434fa(0x1ea)]&&clearTimeout(this[_0x1434fa(0x1ea)]),this[_0x1434fa(0x1ea)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c9d67=_0x938dd3;_0x52161e['unsubscribe'](),_0x5112e9[_0x1c9d67(0x1b5)]();};}[_0x5a5110(0x2cb)](_0x3a707f,_0x25d48e,_0x2d552c,_0xce0b9f){const _0x54830b=_0x5a5110,_0x1e6e37=new _0x5710d6['ColorKit'](_0x3a707f)[_0x54830b(0x3c2)](0.2)[_0x54830b(0x30e)](),_0x29866a=new _0x5c441d['RegularPolygon'](_0x289245+_0x5710d6[_0x54830b(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x25d48e,'fill':_0x1e6e37||_0x5c441d[_0x54830b(0x307)](_0x5710d6[_0x54830b(0x398)][_0x54830b(0x2a5)],0.2),'left':_0x2d552c,'top':_0xce0b9f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x54830b(0x403)](_0x29866a),this[_0x54830b(0x3e2)][_0x54830b(0x438)](_0x29866a,_0x36f7ce[_0x54830b(0x1c8)]);}[_0x5a5110(0x3fe)](_0x51a35d,_0x32f5b8,_0x475db2,_0x4daa2b){const _0x107007=_0x5a5110,_0x2fb15e=new _0x5710d6[(_0x107007(0x42c))](_0x51a35d)[_0x107007(0x3c2)](0.2)[_0x107007(0x30e)](),_0x482a85=new _0x5c441d[(_0x107007(0x407))](_0x4740ed+_0x5710d6[_0x107007(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x32f5b8,'fill':_0x2fb15e||_0x5c441d[_0x107007(0x307)](_0x5710d6[_0x107007(0x398)][_0x107007(0x2a5)],0.2),'left':_0x475db2,'top':_0x4daa2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x107007(0x3f3)][_0x107007(0x403)](_0x482a85),this[_0x107007(0x3e2)][_0x107007(0x438)](_0x482a85,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x41b23b){const _0x1c60d3=_0x41b23b[0x0],_0x5b6b05=_0x1c60d3[0x0],_0x11d89=_0x1c60d3[0x2],{x:_0x2143b7,y:_0x1f3e99}=_0x5b6b05,{x:_0x4eba06,y:_0x359fcd}=_0x11d89;return{'left':_0x2143b7,'top':_0x1f3e99,'width':_0x4eba06-_0x2143b7,'height':_0x359fcd-_0x1f3e99};}[_0x5a5110(0x2cd)](){const _0x350d46=_0x5a5110,{scaleX:_0x395c54,scaleY:_0x3d4171}=this[_0x350d46(0x3e2)][_0x350d46(0x272)]();return Math[_0x350d46(0x1c5)](_0x395c54,_0x3d4171);}}var _0x194e89=Object[_0x5a5110(0x3c1)],_0x4f6b14=(_0x4d56b9,_0x187f86,_0x1c8693,_0x176f93)=>{const _0x3a8b74=_0x5a5110;for(var _0x21d3d8=_0x176f93>0x1?void 0x0:_0x176f93?_0x194e89(_0x187f86,_0x1c8693):_0x187f86,_0xa5edd5=_0x4d56b9[_0x3a8b74(0x262)]-0x1,_0x3b72d6;_0xa5edd5>=0x0;_0xa5edd5--)(_0x3b72d6=_0x4d56b9[_0xa5edd5])&&(_0x21d3d8=_0x3b72d6(_0x21d3d8)||_0x21d3d8);return _0x21d3d8;},_0x359baf=(_0x3ba9f4,_0x4eace8)=>(_0xd1ae75,_0x5769c2)=>_0x4eace8(_0xd1ae75,_0x5769c2,_0x3ba9f4);let _0x56ec54=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x476531,_0x35de46,_0x3454c1,_0x45de48,_0x5eb835){const _0x148fae=_0x5a5110;super(),_0xa4d578(this,'_cursorShapes',[]),_0xa4d578(this,_0x148fae(0x2b3),[]),(this[_0x148fae(0x419)]=_0x476531,this[_0x148fae(0x2bc)]=_0x35de46,this[_0x148fae(0x205)]=_0x3454c1,this[_0x148fae(0x411)]=_0x45de48,this['_themeService']=_0x5eb835,this[_0x148fae(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0x35b735=_0x5a5110,_0x301c7c=this[_0x35b735(0x419)]['unitId'],_0x32a859=this[_0x35b735(0x2bc)];this['disposeWithMe'](_0x3ce9b4[_0x35b735(0x32f)]([this['_collabCursorController'][_0x35b735(0x337)](_0x301c7c),this['_themeService'][_0x35b735(0x2a2)]])[_0x35b735(0x1ee)](_0x59def4[_0x35b735(0x387)](([_0x3427d9,_0x516330])=>({'skeleton':_0x32a859[_0x35b735(0x2b1)](),'cursors':[..._0x3427d9[_0x35b735(0x3cc)]()][_0x35b735(0x2c3)](_0x42d1a3=>({..._0x42d1a3,'color':_0x516330[_0x42d1a3[_0x35b735(0x29f)]]}))})))['subscribe'](_0x446b39=>{const _0x533dcf=_0x35b735;if(this[_0x533dcf(0x348)](),_0x446b39){const {skeleton:_0x548a08,cursors:_0x4d18d2}=_0x446b39;this['_updateCollabCursors'](_0x548a08,_0x4d18d2);}})),this[_0x35b735(0x2be)](),this[_0x35b735(0x293)]();}[_0x5a5110(0x271)](_0x45fd11,_0x4aae37){const _0x29cf9e=_0x5a5110,{scene:_0x54c261,mainComponent:_0x27afb2}=this[_0x29cf9e(0x419)],_0x30401c=_0x4aae37[_0x29cf9e(0x387)](_0x11eb82=>new _0x2fa8dc(_0x11eb82,_0x54c261,_0x45fd11,_0x27afb2));this['_cursorShapes']=_0x30401c,this[_0x29cf9e(0x2b3)]=_0x4aae37;}['_refreshCollabCursors'](){const _0x5d9fe9=_0x5a5110;this[_0x5d9fe9(0x348)]();const {scene:_0x5234dc,mainComponent:_0x1cf9e0}=this[_0x5d9fe9(0x419)],_0x5955a3=this[_0x5d9fe9(0x2bc)][_0x5d9fe9(0x2b1)](),_0x801c73=this['_cursors'][_0x5d9fe9(0x387)](_0x1d8725=>new _0x2fa8dc(_0x1d8725,_0x5234dc,_0x5955a3,_0x1cf9e0));this['_cursorShapes']=_0x801c73;}['_removeCollabCursors'](){const _0x27c524=_0x5a5110;this[_0x27c524(0x36a)][_0x27c524(0x30c)](_0x88086b=>_0x88086b[_0x27c524(0x280)]()),this['_cursorShapes']=[];}[_0x5a5110(0x293)](){const _0x191501=_0x5a5110,_0x26eb19=[_0x36f7ce[_0x191501(0x1af)]['id']];this[_0x191501(0x1eb)](this[_0x191501(0x411)][_0x191501(0x344)](_0x5a262e=>{const _0x3f2ff8=_0x191501;_0x26eb19[_0x3f2ff8(0x276)](_0x5a262e['id'])&&_0x5a262e[_0x3f2ff8(0x31c)]['unitId']===this['_context'][_0x3f2ff8(0x3da)]&&this['_refreshCollabCursors']();}));}[_0x5a5110(0x2be)](){const _0x5b7b93=_0x5a5110;this[_0x5b7b93(0x1eb)](_0x5710d6[_0x5b7b93(0x341)](this[_0x5b7b93(0x419)][_0x5b7b93(0x1a9)][_0x5b7b93(0x308)])[_0x5b7b93(0x1ee)](_0x59def4[_0x5b7b93(0x301)](_0x53dd63=>_0x53dd63['type']===_0x5c441d[_0x5b7b93(0x267)]['resize']),_0x59def4['throttleTime'](0x10))[_0x5b7b93(0x3d6)](()=>{this['_refreshCollabCursors']();}));}};_0x56ec54=_0x4f6b14([_0x359baf(0x1,_0x5710d6['Inject'](_0x139315['DocSkeletonManagerService'])),_0x359baf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0x359baf(0x3,_0x5710d6[_0x5a5110(0x1de)]),_0x359baf(0x4,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x256)]))],_0x56ec54);const _0x410006=0x1,_0x35ab2f=1.5;class _0x20d652 extends _0x5c441d['Shape']{constructor(_0x104a0c,_0x2bba3a){const _0x3a592d=_0x5a5110;super(_0x104a0c,_0x2bba3a),_0xa4d578(this,'_color'),_0xa4d578(this,_0x3a592d(0x246),!0x1),_0xa4d578(this,_0x3a592d(0x437)),_0xa4d578(this,'_name',''),_0xa4d578(this,_0x3a592d(0x33a),_0x3a592d(0x259)),_0xa4d578(this,_0x3a592d(0x244)),(_0x2bba3a&&this[_0x3a592d(0x3c8)](_0x2bba3a),this[_0x3a592d(0x2df)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x0})),this[_0x3a592d(0x22c)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x1})));}[_0x5a5110(0x3c8)](_0x46c130){const _0x5ec590=_0x5a5110;var _0x1fbeb8,_0x3d5b9e,_0x197d09,_0x43a7a3,_0x4a751f,_0x289431;this[_0x5ec590(0x2fd)]=(_0x1fbeb8=_0x46c130[_0x5ec590(0x29f)])!=null?_0x1fbeb8:this[_0x5ec590(0x2fd)],this[_0x5ec590(0x246)]=(_0x3d5b9e=_0x46c130[_0x5ec590(0x37c)])!=null?_0x3d5b9e:this[_0x5ec590(0x246)],this[_0x5ec590(0x437)]=(_0x197d09=_0x46c130[_0x5ec590(0x247)])!=null?_0x197d09:this[_0x5ec590(0x437)],this['_name']=(_0x43a7a3=_0x46c130[_0x5ec590(0x23e)])!=null?_0x43a7a3:this[_0x5ec590(0x392)],this['_labelPosition']=(_0x4a751f=_0x46c130[_0x5ec590(0x1f1)])!=null?_0x4a751f:this[_0x5ec590(0x33a)],this[_0x5ec590(0x244)]=(_0x289431=_0x46c130[_0x5ec590(0x3b0)])!=null?_0x289431:this[_0x5ec590(0x244)],this['transformByState']({'width':_0x46c130[_0x5ec590(0x20c)],'height':_0x46c130[_0x5ec590(0x2a3)]});}[_0x5a5110(0x207)](_0x26f4e0){const _0x2c31b8=_0x5a5110,{row:_0x1b79e9,column:_0x4b61ca}=_0x26f4e0;if(_0x1b79e9>=this[_0x2c31b8(0x437)][_0x2c31b8(0x3fb)]&&_0x1b79e9<=this['_range'][_0x2c31b8(0x284)]&&_0x4b61ca>=this[_0x2c31b8(0x437)]['startColumn']&&_0x4b61ca<=this['_range'][_0x2c31b8(0x347)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2c31b8(0x3c8)]({'hovered':!0x1});}['triggerDblclick'](_0x1050e8){return!0x1;}[_0x5a5110(0x40b)](_0x559eac){const _0x56f5fa=_0x5a5110;_0x5c441d[_0x56f5fa(0x220)][_0x56f5fa(0x371)](_0x559eac,{'width':this[_0x56f5fa(0x20c)],'height':this['height'],'strokeWidth':_0x35ab2f,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56f5fa(0x246)]&&(_0x559eac[_0x56f5fa(0x3a7)](),_0x559eac[_0x56f5fa(0x351)](0x1,0x0,0x0,0x1,this[_0x56f5fa(0x20c)],this[_0x56f5fa(0x33a)]===_0x56f5fa(0x2ec)?0x0:-0x14),_0x4aa1a9[_0x56f5fa(0x371)](_0x559eac,{'text':this['_name'],'color':this['_color']}),_0x559eac[_0x56f5fa(0x2ef)]());}}var _0x1c5d34=Object[_0x5a5110(0x3c1)],_0x1fa107=(_0x52522a,_0x55610f,_0x179168,_0x327caf)=>{const _0x13bdd6=_0x5a5110;for(var _0x1f5eff=_0x327caf>0x1?void 0x0:_0x327caf?_0x1c5d34(_0x55610f,_0x179168):_0x55610f,_0x19793b=_0x52522a[_0x13bdd6(0x262)]-0x1,_0x160324;_0x19793b>=0x0;_0x19793b--)(_0x160324=_0x52522a[_0x19793b])&&(_0x1f5eff=_0x160324(_0x1f5eff)||_0x1f5eff);return _0x1f5eff;},_0xf22cdf=(_0x590799,_0x4ce3df)=>(_0x1d500b,_0x31ca74)=>_0x4ce3df(_0x1d500b,_0x31ca74,_0x590799);const _0x59b891=0x1389;let _0x158bcb=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0xb07821,_0x157c5e,_0x17210e,_0x2e99f5){const _0x14519a=_0x5a5110;super(),_0xa4d578(this,_0x14519a(0x2b3),new Set()),_0xa4d578(this,_0x14519a(0x1e5),null),(this['_context']=_0xb07821,this[_0x14519a(0x415)]=_0x157c5e,this['_collabCursorController']=_0x17210e,this[_0x14519a(0x1d1)]=_0x2e99f5,this[_0x14519a(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0xed09f2=_0x5a5110;this[_0xed09f2(0x415)][_0xed09f2(0x1c6)]['pipe'](_0x59def4[_0xed09f2(0x40f)](this[_0xed09f2(0x3bd)]),_0x59def4['switchMap'](_0x1cea2b=>{const _0x1a18a7=_0xed09f2;if(_0x1cea2b){const _0x5eb4e5=_0x1cea2b[_0x1a18a7(0x402)];return _0x3ce9b4['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x1a18a7(0x419)][_0x1a18a7(0x3da)]),this['_themeService'][_0x1a18a7(0x2a2)])[_0x1a18a7(0x1ee)](_0x59def4[_0x1a18a7(0x387)](([_0x30e421,_0x30923d])=>{const _0x1ae6df=_0x1a18a7,_0x36c903=new Map();return _0x30e421[_0x1ae6df(0x30c)]((_0x473f38,_0x465587)=>{const _0x454d53=_0x1ae6df;if(_0x473f38[_0x454d53(0x35e)]===_0x5eb4e5){const _0x1d12b0={..._0x473f38};_0x1d12b0[_0x454d53(0x29f)]=_0x30923d[_0x473f38[_0x454d53(0x29f)]],_0x36c903[_0x454d53(0x2ee)](_0x465587,_0x1d12b0);}}),{'skeleton':_0x1cea2b,'cursors':_0x36c903};}));}return _0x3ce9b4['of']({'skeleton':null,'cursors':new Map()});}))[_0xed09f2(0x3d6)](({skeleton:_0x4c2fd2,cursors:_0x1e6d9e})=>{const _0x285c03=_0xed09f2;this[_0x285c03(0x348)](),_0x4c2fd2&&this[_0x285c03(0x271)](_0x4c2fd2,_0x1e6d9e);}),this['_sheetSkeletonManagerService'][_0xed09f2(0x1c6)][_0xed09f2(0x3d6)](_0x98b0f7=>{const _0x405f22=_0xed09f2;if(_0x98b0f7==null)return;const {skeleton:_0x98c9cf}=_0x98b0f7,{scene:_0x2f4087}=this[_0x405f22(0x419)];_0x2f4087[_0x405f22(0x242)][_0x405f22(0x389)](_0x5710d6[_0x405f22(0x2b4)](_0x4c13dc=>{const _0x50e25b=_0x405f22;var _0x2aa60b,_0xcac969;const {offsetX:_0x5d1fee,offsetY:_0x2ec7f1}=_0x4c13dc,{x:_0x3c95be,y:_0x379099}=_0x2f4087['getRelativeToViewportCoord'](_0x5c441d['Vector2']['FromArray']([_0x5d1fee,_0x2ec7f1])),{scaleX:_0x386ad2,scaleY:_0xe8434e}=_0x2f4087[_0x50e25b(0x272)](),_0x58cb47=_0x2f4087['getViewport'](_0x5c441d[_0x50e25b(0x333)]['VIEW_MAIN']),_0x3c161f=_0x2f4087[_0x50e25b(0x314)](_0x5c441d[_0x50e25b(0x2bb)][_0x50e25b(0x38d)]([_0x3c95be,_0x379099]),_0x58cb47),_0x625b9=_0x98c9cf[_0x50e25b(0x43c)](_0x5d1fee,_0x2ec7f1,_0x386ad2,_0xe8434e,_0x3c161f);((_0x2aa60b=this['_lastPointer'])==null?void 0x0:_0x2aa60b[_0x50e25b(0x2bf)])===_0x625b9[_0x50e25b(0x2bf)]&&((_0xcac969=this[_0x50e25b(0x1e5)])==null?void 0x0:_0xcac969['row'])===_0x625b9[_0x50e25b(0x34b)]||this[_0x50e25b(0x2b3)]['forEach'](_0x4c78ce=>{const _0x1ea14c=_0x50e25b;_0x4c78ce[_0x1ea14c(0x207)](_0x625b9);});},0x64));});}[_0x5a5110(0x271)](_0x1fa1f4,_0x1c25a0){const _0x4e3609=_0x5a5110;var _0xaeb5bb;const _0x24a77e=(_0xaeb5bb=this[_0x4e3609(0x415)][_0x4e3609(0x3c7)]())==null?void 0x0:_0xaeb5bb[_0x4e3609(0x23c)];if(!_0x24a77e)return;const _0x14ba90=this['_getSheetObject']();if(!_0x14ba90)return;this[_0x4e3609(0x2b3)][_0x4e3609(0x30c)](_0x116235=>{const _0xbfc18b=_0x4e3609;_0x116235[_0xbfc18b(0x1f8)]();});const {scene:_0x5692e1}=_0x14ba90,_0x2eca6a=_0x2f9a73(Array['from'](_0x1c25a0['values']()))['map'](_0x1d7489=>{const _0x38298b=_0x4e3609,{color:_0x147634,range:_0x52bd25,name:_0x4f46d4,selection:_0x191f5f,sheetID:_0x353b7b}=_0x1d7489,{startColumn:_0x360966,startRow:_0x23ea57,endColumn:_0x255e0b,endRow:_0x491061}=_0x52bd25,_0x838733=_0x2d636c['getCoordByCell'](_0x23ea57,_0x360966,_0x5692e1,_0x24a77e),_0x75e840=_0x2d636c[_0x38298b(0x3ce)](_0x491061,_0x255e0b,_0x5692e1,_0x24a77e),{columnHeaderHeightAndMarginTop:_0x12d33d}=_0x24a77e,{startX:_0x448926,startY:_0x47909f}=_0x838733,{endX:_0x37d4a0,endY:_0x32ec19}=_0x75e840,_0x1d65ff=_0x37d4a0-_0x448926,_0x4c2f7a=_0x32ec19-_0x47909f,_0x45be03={'labelPosition':_0x47909f-_0x12d33d>=_0x2d1066?'top':'bottom','sheetID':_0x353b7b,'range':_0x52bd25,'color':_0x147634,'name':_0x4f46d4,'selection':_0x191f5f,'left':_0x448926,'top':_0x47909f,'width':_0x1d65ff,'height':_0x4c2f7a,'evented':!0x1,'zIndex':_0x59b891};return new _0x20d652(_0x4f46d4,_0x45be03);});_0x5692e1['addObjects'](_0x2eca6a,_0x410006),this[_0x4e3609(0x2b3)]=new Set(_0x2eca6a);}[_0x5a5110(0x348)](){const _0x8990eb=_0x5a5110;var _0x9f25b5;(_0x9f25b5=this[_0x8990eb(0x2b3)])==null||_0x9f25b5['forEach'](_0x4022f9=>_0x4022f9['dispose']());}['_getSheetObject'](){const _0x1327a9=_0x5a5110;return _0x2d636c['getSheetObject'](this['_context'][_0x1327a9(0x211)],this['_context']);}};_0x158bcb=_0x1fa107([_0xf22cdf(0x1,_0x5710d6[_0x5a5110(0x212)](_0x2d636c[_0x5a5110(0x203)])),_0xf22cdf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0xf22cdf(0x3,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x256)]))],_0x158bcb);function _0x2f9a73(_0x5e3ddf){const _0x519929=_0x5a5110,_0x65ddf6=new Map();return _0x5e3ddf[_0x519929(0x30c)](_0x22e25d=>{const _0x2b82d1=_0x519929;if(_0x65ddf6[_0x2b82d1(0x2e6)](_0x22e25d[_0x2b82d1(0x26a)])){const _0x2df2a1=_0x65ddf6['get'](_0x22e25d[_0x2b82d1(0x26a)]);_0x2df2a1[_0x2b82d1(0x23e)]+=',\x20'+_0x22e25d[_0x2b82d1(0x23e)];}else _0x65ddf6[_0x2b82d1(0x2ee)](_0x22e25d[_0x2b82d1(0x26a)],_0x22e25d);}),Array[_0x519929(0x202)](_0x65ddf6[_0x519929(0x3cc)]());}var _0x3fb029=function(){const _0x33371d=_0x5a5110;return _0x3fb029=Object[_0x33371d(0x3dd)]||function(_0x47a54e){const _0x2f9f6b=_0x33371d;for(var _0x2010dd,_0x4d9198=0x1,_0x5acdd5=arguments[_0x2f9f6b(0x262)];_0x4d9198<_0x5acdd5;_0x4d9198++){_0x2010dd=arguments[_0x4d9198];for(var _0x370a36 in _0x2010dd)Object['prototype'][_0x2f9f6b(0x3be)][_0x2f9f6b(0x3b8)](_0x2010dd,_0x370a36)&&(_0x47a54e[_0x370a36]=_0x2010dd[_0x370a36]);}return _0x47a54e;},_0x3fb029[_0x33371d(0x3d3)](this,arguments);},_0x2b222f=function(_0x367551,_0x14e437){const _0x5c9c96=_0x5a5110;var _0x311616={};for(var _0x39f2f3 in _0x367551)Object['prototype'][_0x5c9c96(0x3be)][_0x5c9c96(0x3b8)](_0x367551,_0x39f2f3)&&_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3)<0x0&&(_0x311616[_0x39f2f3]=_0x367551[_0x39f2f3]);if(_0x367551!=null&&typeof Object['getOwnPropertySymbols']==_0x5c9c96(0x3bf)){for(var _0x560bed=0x0,_0x39f2f3=Object[_0x5c9c96(0x26e)](_0x367551);_0x560bed<_0x39f2f3['length'];_0x560bed++)_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3[_0x560bed])<0x0&&Object[_0x5c9c96(0x218)][_0x5c9c96(0x408)]['call'](_0x367551,_0x39f2f3[_0x560bed])&&(_0x311616[_0x39f2f3[_0x560bed]]=_0x367551[_0x39f2f3[_0x560bed]]);}return _0x311616;},_0x577efc=_0x2913b7[_0x5a5110(0x200)](function(_0x3fe78f,_0x2bd921){const _0x7d6ab5=_0x5a5110;var _0x250e75=_0x3fe78f[_0x7d6ab5(0x339)],_0xe180d5=_0x3fe78f['id'],_0x533410=_0x3fe78f[_0x7d6ab5(0x1dd)],_0x541feb=_0x3fe78f['extend'],_0x364805=_0x2b222f(_0x3fe78f,[_0x7d6ab5(0x339),'id',_0x7d6ab5(0x1dd),_0x7d6ab5(0x291)]),_0x314b90=_0x7d6ab5(0x1b6)[_0x7d6ab5(0x306)](_0xe180d5,'\x20')[_0x7d6ab5(0x306)](_0x533410||'')[_0x7d6ab5(0x303)](),_0xc45a02=_0x2913b7[_0x7d6ab5(0x2aa)]('_'[_0x7d6ab5(0x306)](_0x5d1da5()));return _0x568cfd(_0x250e75,''['concat'](_0xe180d5),{'defIds':_0x250e75['defIds'],'idSuffix':_0xc45a02[_0x7d6ab5(0x317)]},_0x3fb029({'ref':_0x2bd921,'className':_0x314b90},_0x364805),_0x541feb);});function _0x568cfd(_0x3fbf8c,_0x236f17,_0x3d7e6d,_0x146ce9,_0x1c6b87){const _0x38cd4e=_0x5a5110;return _0x2913b7[_0x38cd4e(0x1cd)](_0x3fbf8c[_0x38cd4e(0x230)],_0x3fb029(_0x3fb029({'key':_0x236f17},_0x247b7d(_0x3fbf8c,_0x3d7e6d,_0x1c6b87)),_0x146ce9),(_0x12001c(_0x3fbf8c,_0x3d7e6d)[_0x38cd4e(0x326)]||[])['map'](function(_0x1a7d5c,_0x1474b4){const _0x5a4d9e=_0x38cd4e;return _0x568cfd(_0x1a7d5c,''['concat'](_0x236f17,'-')[_0x5a4d9e(0x306)](_0x3fbf8c[_0x5a4d9e(0x230)],'-')['concat'](_0x1474b4),_0x3d7e6d,void 0x0,_0x1c6b87);}));}function _0x247b7d(_0x23f923,_0x2e16e0,_0x327802){const _0x272899=_0x5a5110;var _0x3befe9=_0x3fb029({},_0x23f923[_0x272899(0x422)]);_0x327802!=null&&_0x327802[_0x272899(0x3d4)]&&_0x3befe9['fill']===_0x272899(0x3d4)&&(_0x3befe9[_0x272899(0x3ff)]=_0x327802[_0x272899(0x3d4)]),_0x23f923['tag']===_0x272899(0x27c)&&_0x3befe9['id']&&(_0x3befe9['id']=_0x3befe9['id']+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)['forEach'](function(_0x7b79c0){const _0x2c1dd9=_0x272899;var _0x5f1848=_0x7b79c0[0x0],_0x32a7d4=_0x7b79c0[0x1];_0x5f1848==='mask'&&typeof _0x32a7d4=='string'&&(_0x3befe9[_0x5f1848]=_0x32a7d4[_0x2c1dd9(0x21b)](/url\(#(.*)\)/,_0x2c1dd9(0x1d9)[_0x2c1dd9(0x306)](_0x2e16e0[_0x2c1dd9(0x1da)],')')));});var _0x5d195d=_0x2e16e0[_0x272899(0x2a1)];return!_0x5d195d||_0x5d195d[_0x272899(0x262)]===0x0||(_0x23f923[_0x272899(0x230)]==='use'&&_0x3befe9[_0x272899(0x304)]&&(_0x3befe9['xlink:href']=_0x3befe9[_0x272899(0x304)]+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)[_0x272899(0x30c)](function(_0x379f31){const _0x405c5b=_0x272899;var _0x155218=_0x379f31[0x0],_0x50d859=_0x379f31[0x1];typeof _0x50d859==_0x405c5b(0x441)&&(_0x3befe9[_0x155218]=_0x50d859[_0x405c5b(0x21b)](/url\(#(.*)\)/,_0x405c5b(0x1d9)['concat'](_0x2e16e0['idSuffix'],')')));})),_0x3befe9;}function _0x12001c(_0xbe7a23,_0x1b6b52){const _0x1c8f5d=_0x5a5110;var _0x83841d,_0x1ffbb3=_0x1b6b52[_0x1c8f5d(0x2a1)];return!_0x1ffbb3||_0x1ffbb3['length']===0x0?_0xbe7a23:_0xbe7a23[_0x1c8f5d(0x230)]==='defs'&&(!((_0x83841d=_0xbe7a23[_0x1c8f5d(0x326)])===null||_0x83841d===void 0x0)&&_0x83841d[_0x1c8f5d(0x262)])?_0x3fb029(_0x3fb029({},_0xbe7a23),{'children':_0xbe7a23[_0x1c8f5d(0x326)][_0x1c8f5d(0x387)](function(_0x43aa50){const _0x4fb27b=_0x1c8f5d;return typeof _0x43aa50['attrs']['id']=='string'&&_0x1ffbb3&&_0x1ffbb3['indexOf'](_0x43aa50['attrs']['id'])>-0x1?_0x3fb029(_0x3fb029({},_0x43aa50),{'attrs':_0x3fb029(_0x3fb029({},_0x43aa50['attrs']),{'id':_0x43aa50[_0x4fb27b(0x422)]['id']+_0x1b6b52[_0x4fb27b(0x1da)]})}):_0x43aa50;})}):_0xbe7a23;}function _0x5d1da5(){const _0xd1cfed=_0x5a5110;return Math[_0xd1cfed(0x43e)]()['toString'](0x24)[_0xd1cfed(0x2fb)](0x2,0x8);}_0x577efc[_0x5a5110(0x2e4)]='UniverIcon';var _0x36764b={'tag':_0x5a5110(0x340),'attrs':{'fill':'none','viewBox':_0x5a5110(0x380),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a5110(0x420)},'children':[{'tag':_0x5a5110(0x3d5),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a5110(0x1c9)},'children':[{'tag':_0x5a5110(0x3d5),'attrs':{'fill':'#fff','d':_0x5a5110(0x3e5)}}]}]}],'defIds':[_0x5a5110(0x1c9)]},_0x3d3451=_0x2913b7[_0x5a5110(0x200)](function(_0x50acbf,_0x18434e){const _0x2306dc=_0x5a5110;return _0x2913b7['createElement'](_0x577efc,Object[_0x2306dc(0x3dd)]({},_0x50acbf,{'id':_0x2306dc(0x245),'ref':_0x18434e,'icon':_0x36764b}));});_0x3d3451['displayName']=_0x5a5110(0x35f);var _0x40fc1c={'tag':_0x5a5110(0x340),'attrs':{'fill':_0x5a5110(0x3b7),'viewBox':_0x5a5110(0x312),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5a5110(0x404),'d':_0x5a5110(0x2ed),'strokeLinecap':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':_0x5a5110(0x2ab),'attrs':{},'children':[{'tag':_0x5a5110(0x22a),'attrs':{'id':_0x5a5110(0x233)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x5a5110(0x3e5),'transform':_0x5a5110(0x2d3)}}]}]}],'defIds':[_0x5a5110(0x233)]},_0x38dd67=_0x2913b7[_0x5a5110(0x200)](function(_0x4562ba,_0x1936c3){const _0xde78c9=_0x5a5110;return _0x2913b7[_0xde78c9(0x1cd)](_0x577efc,Object['assign']({},_0x4562ba,{'id':_0xde78c9(0x3e8),'ref':_0x1936c3,'icon':_0x40fc1c}));});_0x38dd67[_0x5a5110(0x2e4)]=_0x5a5110(0x2dd);function _0xeeca94(_0x3b1944){const _0x44f707=_0x5a5110;switch(_0x3b1944){case _0x120448['CollaborationStatus'][_0x44f707(0x25c)]:return _0x44f707(0x3e9);case _0x120448[_0x44f707(0x440)][_0x44f707(0x1b4)]:return _0x44f707(0x21e);case _0x120448[_0x44f707(0x440)][_0x44f707(0x234)]:return _0x44f707(0x23f);case _0x120448[_0x44f707(0x440)][_0x44f707(0x349)]:return'collabStatus.notCollab';case _0x120448['CollaborationStatus'][_0x44f707(0x20e)]:case _0x120448['CollaborationStatus'][_0x44f707(0x379)]:return _0x44f707(0x3fc);case _0x120448['CollaborationStatus'][_0x44f707(0x375)]:case _0x120448['CollaborationStatus'][_0x44f707(0x286)]:return _0x44f707(0x38e);}}function _0x251989(_0x1dc541){const _0x518b1c=_0x5a5110,{status$:_0x5673f5}=_0x1dc541,_0x198e4b=_0x3af2f3[_0x518b1c(0x3c4)](_0x5673f5,_0x120448[_0x518b1c(0x440)][_0x518b1c(0x349)]),_0x10a86e=_0x3af2f3[_0x518b1c(0x269)](_0x5710d6[_0x518b1c(0x1bf)]),_0x2a0bf9=_0x3af2f3['useDependency'](_0x120448['CollaborationSessionService']),_0x1ea0e0=_0x198e4b!==_0x120448[_0x518b1c(0x440)][_0x518b1c(0x25c)],_0x291dee=_0x10a86e['t'](_0xeeca94(_0x198e4b)),_0x46ece5=_0x1ea0e0?_0x3ae0da[_0x518b1c(0x41f)](_0x38dd67,{}):_0x3ae0da[_0x518b1c(0x41f)](_0x3d3451,{}),_0x5d39c8=_0x2913b7[_0x518b1c(0x1b8)](()=>{const _0x2a44f2=_0x518b1c;_0x1ea0e0||_0x2a0bf9[_0x2a44f2(0x34d)]();},[_0x1ea0e0,_0x2a0bf9]);function _0x57d3bd(){const _0x1f7141=_0x518b1c;return _0x3ae0da[_0x1f7141(0x2da)](_0x1f7141(0x3af),{'className':_0x1f7141(0x3dc),'onClick':_0x5d39c8,'children':[_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x56069d['clsx'](_0x1f7141(0x1d6),_0x1ea0e0?'univer-text-green-500':_0x1f7141(0x3e0)),'children':_0x46ece5}),_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x1f7141(0x368),'children':_0x291dee})]});}return _0x1ea0e0?_0x57d3bd():_0x3ae0da[_0x518b1c(0x41f)](_0x56069d[_0x518b1c(0x425)],{'title':_0x10a86e['t']('collab-client.tooltip.reconnect'),'children':_0x57d3bd()});}var _0x10e15c=Object['getOwnPropertyDescriptor'],_0x461402=(_0x1b9e19,_0x3fdd06,_0x8c1cd0,_0x24b73c)=>{const _0xb77ee6=_0x5a5110;for(var _0x3b57bf=_0x24b73c>0x1?void 0x0:_0x24b73c?_0x10e15c(_0x3fdd06,_0x8c1cd0):_0x3fdd06,_0xb1377f=_0x1b9e19[_0xb77ee6(0x262)]-0x1,_0x4987c4;_0xb1377f>=0x0;_0xb1377f--)(_0x4987c4=_0x1b9e19[_0xb1377f])&&(_0x3b57bf=_0x4987c4(_0x3b57bf)||_0x3b57bf);return _0x3b57bf;},_0x510a95=(_0x1eeb9b,_0x56da11)=>(_0x54da6d,_0x4ac459)=>_0x56da11(_0x54da6d,_0x4ac459,_0x1eeb9b);_0x10d773[_0x5a5110(0x1e3)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x45a7b6,_0x53ad58,_0x4cda6d,_0x115490){const _0x102ea3=_0x5a5110;super(),_0xa4d578(this,_0x102ea3(0x39b),new _0x3ce9b4[(_0x102ea3(0x228))](_0x120448[_0x102ea3(0x440)][_0x102ea3(0x349)])),(this[_0x102ea3(0x311)]=_0x45a7b6,this['_injector']=_0x53ad58,this[_0x102ea3(0x3f1)]=_0x4cda6d,this[_0x102ea3(0x20b)]=_0x115490,this[_0x102ea3(0x25a)](),this[_0x102ea3(0x373)]());}[_0x5a5110(0x373)](){const _0x3edf6e=_0x5a5110;this[_0x3edf6e(0x1eb)](this[_0x3edf6e(0x311)][_0x3edf6e(0x1be)][_0x3edf6e(0x1ee)](_0x3ce9b4[_0x3edf6e(0x249)](()=>{const _0x319b57=_0x3edf6e,_0x3cb02a=this[_0x319b57(0x311)][_0x319b57(0x3b4)]();return _0x3cb02a?this['_collaborationController'][_0x319b57(0x252)](_0x3cb02a[_0x319b57(0x39f)]()):_0x3ce9b4['of'](null);}),_0x3ce9b4['switchMap'](_0x3052ce=>_0x3052ce?_0x3052ce[_0x3edf6e(0x22f)]:_0x3ce9b4['of'](_0x120448[_0x3edf6e(0x440)][_0x3edf6e(0x349)])))[_0x3edf6e(0x3d6)](_0x5ba7d0=>{const _0x10d320=_0x3edf6e;this[_0x10d320(0x39b)][_0x10d320(0x209)](_0x5ba7d0);}));}[_0x5a5110(0x25a)](){const _0xa016ce=_0x5a5110;this[_0xa016ce(0x1eb)](this[_0xa016ce(0x20b)][_0xa016ce(0x37e)](_0x3af2f3['BuiltInUIPart'][_0xa016ce(0x396)],()=>_0x3af2f3[_0xa016ce(0x1b2)](_0x47ddf7({'status$':this[_0xa016ce(0x39b)][_0xa016ce(0x390)]()}),this[_0xa016ce(0x2dc)])));}},_0x10d773[_0x5a5110(0x1e3)]=_0x461402([_0x510a95(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x510a95(0x1,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x510a95(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x2b0)])),_0x510a95(0x3,_0x3af2f3['IUIPartsService'])],_0x10d773[_0x5a5110(0x1e3)]);function _0x47ddf7(_0x2cf799){const {status$:_0xc8855b}=_0x2cf799;return function(){const _0x42e294=_0x1924;return _0x3ae0da[_0x42e294(0x41f)](_0x251989,{'status$':_0xc8855b});};}var _0x548f85=Object[_0x5a5110(0x3c1)],_0x740a72=(_0x93af31,_0x29e7c0,_0xd631c7,_0x173530)=>{const _0x2d0eed=_0x5a5110;for(var _0x2f5386=_0x173530>0x1?void 0x0:_0x173530?_0x548f85(_0x29e7c0,_0xd631c7):_0x29e7c0,_0x793121=_0x93af31[_0x2d0eed(0x262)]-0x1,_0x5a08ba;_0x793121>=0x0;_0x793121--)(_0x5a08ba=_0x93af31[_0x793121])&&(_0x2f5386=_0x5a08ba(_0x2f5386)||_0x2f5386);return _0x2f5386;},_0xa81458=(_0x17b9de,_0xe0a6)=>(_0x227ab4,_0x2ce94e)=>_0xe0a6(_0x227ab4,_0x2ce94e,_0x17b9de);let _0x1a8f5b=class extends _0x5710d6['Disposable']{constructor(_0x339799,_0x5a1de6,_0x2ccf47,_0x282e78,_0x40f256,_0x465e75){const _0x26897b=_0x5a5110;super(),this[_0x26897b(0x2b9)]=_0x339799,this[_0x26897b(0x27d)]=_0x5a1de6,this[_0x26897b(0x298)]=_0x2ccf47,this['_messageService']=_0x282e78,this[_0x26897b(0x417)]=_0x40f256,this[_0x26897b(0x393)]=_0x465e75,this[_0x26897b(0x41a)](),this[_0x26897b(0x343)]();}[_0x5a5110(0x41a)](){const _0x57152d=_0x5a5110;this[_0x57152d(0x1eb)](this[_0x57152d(0x2b9)][_0x57152d(0x1c4)](()=>{const _0x48a29f=_0x57152d;if(this[_0x48a29f(0x27d)][_0x48a29f(0x1b9)]['size'])return this['_localeService']['t'](_0x48a29f(0x1f3));}));}[_0x5a5110(0x343)](){const _0x12f3f8=_0x5a5110;this[_0x12f3f8(0x1eb)](this[_0x12f3f8(0x298)]['event$'][_0x12f3f8(0x3d6)](_0x5193f9=>{const _0x2a9a27=_0x12f3f8;_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x391)]&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3d7))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['CLOSE_ROOM']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x374)]&&this[_0x2a9a27(0x417)]['show']({'title':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3b2)),'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x232)),'type':_0x2a9a27(0x3f9),'duration':0x0}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1b4)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x1c1))+'('+_0x5193f9[_0x2a9a27(0x30b)]+')'}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1cf)]&&this[_0x2a9a27(0x33f)]['show']({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t'](_0x5193f9[_0x2a9a27(0x30b)]||'')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t']('session.will-retry')}),_0x5193f9['id']===_0x120448['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)]['Error'],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x41d))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x442)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t']('session.collaboration-timeout')});}));}};_0x1a8f5b=_0x740a72([_0xa81458(0x0,_0x3af2f3[_0x5a5110(0x384)]),_0xa81458(0x1,_0x120448[_0x5a5110(0x3c0)]),_0xa81458(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x297)])),_0xa81458(0x3,_0x3af2f3[_0x5a5110(0x310)]),_0xa81458(0x4,_0x3af2f3[_0x5a5110(0x265)]),_0xa81458(0x5,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x1a8f5b);const _0x5c5d7c='collaboration-client-ui.config',_0x592971={},_0x1a9a4c=_0x5710d6['createIdentifier'](_0x5a5110(0x42e));var _0x392c8a=Object[_0x5a5110(0x3c1)],_0x4285a6=(_0x15d66f,_0x31cfb4,_0x5e7529,_0x116c22)=>{for(var _0x48ffd4=_0x116c22>0x1?void 0x0:_0x116c22?_0x392c8a(_0x31cfb4,_0x5e7529):_0x31cfb4,_0x402f4c=_0x15d66f['length']-0x1,_0x218449;_0x402f4c>=0x0;_0x402f4c--)(_0x218449=_0x15d66f[_0x402f4c])&&(_0x48ffd4=_0x218449(_0x48ffd4)||_0x48ffd4);return _0x48ffd4;},_0x54ef78=(_0x51f7fb,_0x1f5e0d)=>(_0x5e3ac7,_0x382a6a)=>_0x1f5e0d(_0x5e3ac7,_0x382a6a,_0x51f7fb);_0x10d773[_0x5a5110(0x2e8)]=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x568d4f,_0x5e687f,_0x32ecf9,_0x58fe7b,_0x2048b5){const _0x5d5e54=_0x5a5110;super(),this[_0x5d5e54(0x430)]=_0x568d4f,this[_0x5d5e54(0x223)]=_0x5e687f,this[_0x5d5e54(0x411)]=_0x32ecf9,this['_dataLoaderService']=_0x58fe7b,_0x2048b5?_0x2048b5==null||_0x2048b5['whenReady']()[_0x5d5e54(0x38f)](()=>this['_init']()):(this[_0x5d5e54(0x223)][_0x5d5e54(0x409)]('[CollaborationDataLoaderController]',_0x5d5e54(0x355)),this[_0x5d5e54(0x3a0)]());}async[_0x5a5110(0x3a0)](){const _0x5664fe=_0x5a5110,_0x4a0391=this['_urlService']['getParam'](_0x5664fe(0x211)),_0x462e4e=this[_0x5664fe(0x430)]['getParam']('type'),_0x27bf8b=this[_0x5664fe(0x430)][_0x5664fe(0x361)]('subunit');if(!_0x4a0391||!_0x462e4e){this[_0x5664fe(0x223)]['debug'](_0x5664fe(0x2db),_0x5664fe(0x33d));return;}const _0x5aa617=await this[_0x5664fe(0x289)][_0x5664fe(0x34c)](_0x4a0391,Number(_0x462e4e),_0x27bf8b);_0x5aa617&&_0x5aa617 instanceof _0x5710d6[_0x5664fe(0x37d)]&&this[_0x5664fe(0x36f)](_0x5aa617);}async['_setupSubUnitSync'](_0x56663c){const _0xf98d6c=_0x5a5110;await this[_0xf98d6c(0x1f7)](_0x56663c),_0x56663c[_0xf98d6c(0x330)][_0xf98d6c(0x1ee)](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x24eb43=>{const _0x12c76d=_0xf98d6c;_0x24eb43&&this[_0x12c76d(0x382)](_0x24eb43);}),this['_urlService'][_0xf98d6c(0x24a)][_0xf98d6c(0x1ee)](_0x3ce9b4[_0xf98d6c(0x40f)](this[_0xf98d6c(0x3bd)]))['subscribe'](()=>this[_0xf98d6c(0x1f7)](_0x56663c));}[_0x5a5110(0x382)](_0x46f3ad,_0x11cc1f=!0x1){const _0x5d45a4=_0x5a5110,_0x4c5a82=this[_0x5d45a4(0x430)][_0x5d45a4(0x361)](_0x5d45a4(0x363));_0x46f3ad[_0x5d45a4(0x397)]()!==_0x4c5a82&&this[_0x5d45a4(0x430)][_0x5d45a4(0x3c9)](_0x5d45a4(0x363),_0x46f3ad[_0x5d45a4(0x397)](),_0x11cc1f);}async['_updateSubUnitFromURLParams'](_0x4bc518){const _0x4a7ff2=_0x5a5110;var _0x5ce241;const _0x4e87ca=this[_0x4a7ff2(0x430)][_0x4a7ff2(0x361)]('subunit');if(!_0x4e87ca||!_0x4bc518['getSheetBySheetId'](_0x4e87ca)){const _0x13fa1a=_0x4bc518['getUnhiddenWorksheets']()[0x0],_0x3b65a8=_0x4bc518[_0x4a7ff2(0x226)](_0x13fa1a);if(!_0x3b65a8)return;this[_0x4a7ff2(0x382)](_0x3b65a8,!0x0),await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518[_0x4a7ff2(0x39f)](),'subUnitId':_0x13fa1a});return;}((_0x5ce241=_0x4bc518[_0x4a7ff2(0x357)]())==null?void 0x0:_0x5ce241[_0x4a7ff2(0x397)]())!==_0x4e87ca&&await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518['getUnitId'](),'subUnitId':_0x4e87ca});}},_0x10d773[_0x5a5110(0x2e8)]=_0x4285a6([_0x54ef78(0x0,_0x1a9a4c),_0x54ef78(0x1,_0x5710d6[_0x5a5110(0x282)]),_0x54ef78(0x2,_0x5710d6[_0x5a5110(0x1de)]),_0x54ef78(0x3,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x1c3)])),_0x54ef78(0x4,_0x5710d6[_0x5a5110(0x27f)](_0x205d8a['IRemoteInstanceService']))],_0x10d773[_0x5a5110(0x2e8)]);var _0x12fc2f=Object[_0x5a5110(0x3c1)],_0x3a59a9=(_0x5b5a8c,_0x39d01c,_0x165c1d,_0x4690ab)=>{const _0x2b4932=_0x5a5110;for(var _0xe8fc9f=_0x4690ab>0x1?void 0x0:_0x4690ab?_0x12fc2f(_0x39d01c,_0x165c1d):_0x39d01c,_0x23f227=_0x5b5a8c[_0x2b4932(0x262)]-0x1,_0x585c28;_0x23f227>=0x0;_0x23f227--)(_0x585c28=_0x5b5a8c[_0x23f227])&&(_0xe8fc9f=_0x585c28(_0xe8fc9f)||_0xe8fc9f);return _0xe8fc9f;},_0x59cb7b=(_0x59e415,_0x4f117f)=>(_0x13ec1f,_0x52d2a6)=>_0x4f117f(_0x13ec1f,_0x52d2a6,_0x59e415);let _0xe1a345=class{constructor(_0x32e6b0,_0xf0339,_0x531c74){const _0xe2f8bd=_0x5a5110;this[_0xe2f8bd(0x2dc)]=_0x32e6b0,this[_0xe2f8bd(0x3b1)]=_0xf0339,this[_0xe2f8bd(0x2c9)]=_0x531c74;}[_0x5a5110(0x35c)](_0x2f2ce0){const _0x1d05c7=_0x5a5110;this[_0x1d05c7(0x33b)](_0x2f2ce0),this[_0x1d05c7(0x43f)](_0x2f2ce0);}[_0x5a5110(0x3cd)](_0x42cdb6){const _0x22ba78=_0x5a5110,{unitID:_0x25f907}=_0x42cdb6,_0x59a5c2=this[_0x22ba78(0x2c9)][_0x22ba78(0x300)](_0x25f907)['with'](_0x36f7ce[_0x22ba78(0x302)]),{redoCache:_0x15c32d}=_0x59a5c2['getUndoRedoMutationParamsCache']();if(_0x15c32d[_0x22ba78(0x262)]===0x0)return _0x42cdb6;let _0x81d44a=_0x5710d6[_0x22ba78(0x41e)][_0x22ba78(0x2a7)](_0x42cdb6[_0x22ba78(0x428)][0x0]);for(let _0x566a23=0x0;_0x566a23<_0x15c32d[_0x22ba78(0x262)];_0x566a23++){const _0x3bfc2e={'id':_0x22ba78(0x1d8),'params':{..._0x15c32d[_0x566a23]}},_0x519187=this[_0x22ba78(0x3b1)][_0x22ba78(0x1f2)](_0x81d44a,_0x3bfc2e,!0x1);if(_0x8dc84[_0x22ba78(0x335)](_0x519187))throw _0x519187[_0x22ba78(0x3f9)];_0x81d44a=_0x519187[_0x22ba78(0x27a)];}return{..._0x5710d6[_0x22ba78(0x41e)]['deepClone'](_0x42cdb6),'mutations':[_0x81d44a]};}[_0x5a5110(0x33b)](_0x4bfd19){const _0x398bda=_0x5a5110,{unitID:_0x9d03e1}=_0x4bfd19,_0x2fff4a=this[_0x398bda(0x2c9)]['getRenderById'](_0x9d03e1)[_0x398bda(0x2d4)](_0x36f7ce[_0x398bda(0x302)]),{undoCache:_0x23e932,redoCache:_0x2e8426}=_0x2fff4a[_0x398bda(0x328)]();if(_0x23e932[_0x398bda(0x262)]===0x0||_0x2e8426['length']===0x0)return;const _0x599868=[],_0x4c3e2d=[];let _0x2b4c34=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]),_0x2825a1=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]);for(let _0x338b11=_0x23e932[_0x398bda(0x262)]-0x1;_0x338b11>=0x0;_0x338b11--){const _0x1baea3={'id':'doc.mutation.rich-text-editing','params':{..._0x23e932[_0x338b11]}},_0x291bd3={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8426[_0x338b11]}},_0x1f3a9e=this['_transformService'][_0x398bda(0x1f2)](_0x2b4c34,_0x1baea3,!0x1),_0x2e1303=this[_0x398bda(0x3b1)][_0x398bda(0x1f2)](_0x2825a1,_0x291bd3,!0x1);if(_0x8dc84[_0x398bda(0x335)](_0x1f3a9e))throw _0x1f3a9e[_0x398bda(0x3f9)];if(_0x8dc84[_0x398bda(0x335)](_0x2e1303))throw _0x2e1303[_0x398bda(0x3f9)];_0x599868['unshift'](_0x1f3a9e['m2Prime']['params']),_0x4c3e2d[_0x398bda(0x283)](_0x2e1303[_0x398bda(0x273)]['params']),_0x2b4c34=_0x1f3a9e[_0x398bda(0x27a)],_0x2825a1=_0x2e1303[_0x398bda(0x27a)];}_0x2fff4a['setUndoRedoMutationParamsCache']({'undoCache':_0x599868,'redoCache':_0x4c3e2d});}[_0x5a5110(0x43f)](_0x2eef1e){const _0x4e07fb=_0x5a5110,{unitID:_0x171a7e}=_0x2eef1e,_0x399c31=this[_0x4e07fb(0x2c9)][_0x4e07fb(0x300)](_0x171a7e)[_0x4e07fb(0x2d4)](_0x36f7ce[_0x4e07fb(0x302)]),_0x4db6e7=_0x399c31[_0x4e07fb(0x346)]();if(_0x4db6e7==null)return;const _0x5756c7=[{'id':_0x4e07fb(0x1d8),'params':{'unitId':_0x2eef1e[_0x4e07fb(0x2c0)],'actions':null,'textRanges':[_0x4db6e7]}}],_0x431444=this[_0x4e07fb(0x3b1)][_0x4e07fb(0x369)](_0x2eef1e,_0x5756c7);if(!_0x8dc84[_0x4e07fb(0x334)](_0x431444))throw _0x431444['error'];const _0x36b536=_0x431444[_0x4e07fb(0x273)][0x0][_0x4e07fb(0x31c)]['textRanges'];Array['isArray'](_0x36b536)&&_0x36b536[_0x4e07fb(0x262)]&&_0x399c31[_0x4e07fb(0x1aa)](_0x36b536[0x0]);}};_0xe1a345=_0x3a59a9([_0x59cb7b(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x59cb7b(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x59cb7b(0x2,_0x5c441d[_0x5a5110(0x33c)])],_0xe1a345);var _0x1a39c8=Object[_0x5a5110(0x3c1)],_0x2655f1=(_0x10db26,_0x3e17fa,_0xfc1c63,_0x37ac09)=>{const _0x2a9b88=_0x5a5110;for(var _0x4a8b33=_0x37ac09>0x1?void 0x0:_0x37ac09?_0x1a39c8(_0x3e17fa,_0xfc1c63):_0x3e17fa,_0x1de413=_0x10db26[_0x2a9b88(0x262)]-0x1,_0x25348c;_0x1de413>=0x0;_0x1de413--)(_0x25348c=_0x10db26[_0x1de413])&&(_0x4a8b33=_0x25348c(_0x4a8b33)||_0x4a8b33);return _0x4a8b33;},_0x42d276=(_0x187a88,_0x23e56e)=>(_0x131ab9,_0xcfc0b3)=>_0x23e56e(_0x131ab9,_0xcfc0b3,_0x187a88);let _0x37a8f0=class{constructor(_0x26d037,_0x12d42e,_0x15dae4){const _0x212982=_0x5a5110;this[_0x212982(0x2dc)]=_0x26d037,this['_transformService']=_0x12d42e,this[_0x212982(0x331)]=_0x15dae4;}[_0x5a5110(0x30a)](_0x489ade){const _0x5a7583=_0x5a5110;this[_0x5a7583(0x381)](_0x489ade);}['transformRemoteChangeset'](_0x54ed20){const _0x5d3e0e=_0x5a5110,{unitID:_0x2558fb}=_0x54ed20,{collaboration:_0xe9b0af}=this[_0x5d3e0e(0x331)][_0x5d3e0e(0x201)](_0x2558fb);if(_0xe9b0af[_0x5d3e0e(0x262)]===0x0)return _0x54ed20;let _0x5a7675=_0x5710d6['Tools']['deepClone'](_0x54ed20[_0x5d3e0e(0x428)][0x0]);for(let _0x454e4d=0x0;_0x454e4d<_0xe9b0af[_0x5d3e0e(0x262)];_0x454e4d++){const _0x41d3df={'id':_0x5d3e0e(0x1d8),'params':{'unitId':_0xe9b0af[_0x454e4d]['unitId'],..._0xe9b0af[_0x454e4d][_0x5d3e0e(0x221)]}},_0x524849=this[_0x5d3e0e(0x3b1)][_0x5d3e0e(0x1f2)](_0x5a7675,_0x41d3df,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x524849))throw _0x524849[_0x5d3e0e(0x3f9)];_0x5a7675=_0x524849[_0x5d3e0e(0x27a)];}return{..._0x5710d6[_0x5d3e0e(0x41e)][_0x5d3e0e(0x2a7)](_0x54ed20),'mutations':[_0x5a7675]};}[_0x5a5110(0x381)](_0x172b1d){const _0x27948c=_0x5a5110,{unitID:_0x53703b}=_0x172b1d,{history:_0x105617,collaboration:_0x5b1a4c}=this[_0x27948c(0x331)][_0x27948c(0x201)](_0x53703b);if(_0x105617[_0x27948c(0x262)]===0x0&&_0x5b1a4c[_0x27948c(0x262)]===0x0)return;const _0xef23e7=[],_0x2c5276=[];let _0x6845a8=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0x399df4=_0x105617[_0x27948c(0x262)]-0x1;_0x399df4>=0x0;_0x399df4--){const _0x230339={'id':_0x27948c(0x1d8),'params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x3eb)]}},_0x3ac399={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x221)]}},_0x242ffb=this['_transformService']['transformMutation'](_0x6845a8,_0x230339,!0x1),_0x171bb5=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x360df3,_0x3ac399,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x242ffb))throw _0x242ffb[_0x27948c(0x3f9)];if(_0x8dc84['isTransformMutationFailure'](_0x171bb5))throw _0x171bb5[_0x27948c(0x3f9)];_0xef23e7[_0x27948c(0x283)]({..._0x105617[_0x399df4],'undoState':_0x242ffb[_0x27948c(0x273)][_0x27948c(0x31c)],'redoState':_0x171bb5[_0x27948c(0x273)][_0x27948c(0x31c)]}),_0x6845a8=_0x242ffb[_0x27948c(0x27a)],_0x360df3=_0x171bb5[_0x27948c(0x27a)];}_0x6845a8=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0xc31c18=_0x5b1a4c['length']-0x1;_0xc31c18>=0x0;_0xc31c18--){const _0x1b0937={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18][_0x27948c(0x3eb)]}},_0xefc371={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18]['redoState']}},_0x1da4af=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x6845a8,_0x1b0937,!0x1),_0x5611ec=this['_transformService']['transformMutation'](_0x360df3,_0xefc371,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x1da4af))throw _0x1da4af[_0x27948c(0x3f9)];if(_0x8dc84[_0x27948c(0x335)](_0x5611ec))throw _0x5611ec['error'];_0x2c5276[_0x27948c(0x283)]({..._0x5b1a4c[_0xc31c18],'undoState':_0x1da4af[_0x27948c(0x273)]['params'],'redoState':_0x5611ec['m2Prime'][_0x27948c(0x31c)]}),_0x6845a8=_0x1da4af[_0x27948c(0x27a)],_0x360df3=_0x5611ec[_0x27948c(0x27a)];}this[_0x27948c(0x331)]['setStateCache'](_0x53703b,{'history':_0xef23e7,'collaboration':_0x2c5276});}};_0x37a8f0=_0x2655f1([_0x42d276(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x42d276(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x42d276(0x2,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)]))],_0x37a8f0);var _0x5a959c=Object['getOwnPropertyDescriptor'],_0x2f76cf=(_0x56beb6,_0x1def24,_0x208964,_0xc77e1f)=>{for(var _0x4d484a=_0xc77e1f>0x1?void 0x0:_0xc77e1f?_0x5a959c(_0x1def24,_0x208964):_0x1def24,_0x16a0ad=_0x56beb6['length']-0x1,_0x8b0776;_0x16a0ad>=0x0;_0x16a0ad--)(_0x8b0776=_0x56beb6[_0x16a0ad])&&(_0x4d484a=_0x8b0776(_0x4d484a)||_0x4d484a);return _0x4d484a;},_0x383b4f=(_0x295489,_0x22c825)=>(_0x429edd,_0x29593f)=>_0x22c825(_0x429edd,_0x29593f,_0x295489);let _0x16ec8a=class{constructor(_0x17170f,_0x1121d9){const _0x3706c0=_0x5a5110;this[_0x3706c0(0x2dc)]=_0x17170f,this[_0x3706c0(0x3b1)]=_0x1121d9;}['transformSelections'](_0x312736){const _0x5735ab=_0x5a5110;var _0x41ceb4;const _0x3086ba=this[_0x5735ab(0x2dc)]['get'](_0x139315[_0x5735ab(0x345)]),_0x3bcbdf=(_0x41ceb4=_0x3086ba['getDocRanges']())!=null?_0x41ceb4:[];if(_0x3bcbdf['length']===0x0)return;const _0x48046a=_0x312736[_0x5735ab(0x2c0)],_0x3b6baf=[{'id':_0x5735ab(0x1d8),'params':{'unitId':_0x48046a,'actions':null,'textRanges':_0x3bcbdf}}],_0x572466=this[_0x5735ab(0x3b1)]['transformMutationsWithChangeset'](_0x312736,_0x3b6baf);if(!_0x8dc84['isTransformMutationsWithChangesetSuccess'](_0x572466))throw _0x572466[_0x5735ab(0x3f9)];const _0x2221e3=_0x572466[_0x5735ab(0x273)][0x0]['params'][_0x5735ab(0x323)];Array[_0x5735ab(0x3f0)](_0x2221e3)&&_0x2221e3[_0x5735ab(0x262)]&&_0x3086ba[_0x5735ab(0x2e9)](_0x2221e3,{'unitId':_0x48046a,'subUnitId':_0x48046a},!0x1);}};_0x16ec8a=_0x2f76cf([_0x383b4f(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x383b4f(0x1,_0x8dc84['ITransformService'])],_0x16ec8a);var _0x3b15e3=Object['getOwnPropertyDescriptor'],_0x21d42e=(_0x21f28c,_0x5e754f,_0x187f1c,_0xfa47c2)=>{const _0x36cfdf=_0x5a5110;for(var _0x4215a1=_0xfa47c2>0x1?void 0x0:_0xfa47c2?_0x3b15e3(_0x5e754f,_0x187f1c):_0x5e754f,_0x3ce428=_0x21f28c[_0x36cfdf(0x262)]-0x1,_0x2c6103;_0x3ce428>=0x0;_0x3ce428--)(_0x2c6103=_0x21f28c[_0x3ce428])&&(_0x4215a1=_0x2c6103(_0x4215a1)||_0x4215a1);return _0x4215a1;},_0xa95271=(_0x1b3f14,_0xb6d995)=>(_0x15d7e8,_0x54249f)=>_0xb6d995(_0x15d7e8,_0x54249f,_0x1b3f14);let _0x52e285=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x345cad,_0x358bca,_0x4fa631,_0x4af75e,_0x5998d6,_0x73a2ed,_0x5ba0d3,_0xb8bc3e){const _0x10c841=_0x5a5110;super(),_0xa4d578(this,_0x10c841(0x39b),new _0x3ce9b4[(_0x10c841(0x228))](_0x120448[_0x10c841(0x440)][_0x10c841(0x349)])),(this[_0x10c841(0x331)]=_0x345cad,this[_0x10c841(0x3f1)]=_0x358bca,this[_0x10c841(0x42d)]=_0x4fa631,this['_docTransformStateCacheService']=_0x4af75e,this['_docTransformSelectionsService']=_0x5998d6,this[_0x10c841(0x2c6)]=_0x73a2ed,this[_0x10c841(0x33f)]=_0x5ba0d3,this[_0x10c841(0x393)]=_0xb8bc3e,this[_0x10c841(0x2e3)]());}['_initEntityListener'](){const _0x4498b3=_0x5a5110;this[_0x4498b3(0x1eb)](this[_0x4498b3(0x3f1)][_0x4498b3(0x32e)][_0x4498b3(0x3d6)](_0x57dfab=>{const _0x3064de=_0x4498b3,_0x1f1ae8=this[_0x3064de(0x331)][_0x3064de(0x240)][_0x3064de(0x3d6)](_0x4c1ac0=>{const _0x113a00=_0x3064de;if(_0x4c1ac0==null)return;const {unitId:_0xf85029,redoState:_0x38ff31,commandId:_0x2e39bf}=_0x4c1ac0;if(_0xf85029!==_0x57dfab['unitID'])return;const _0x55b3bb={'id':_0x2e39bf,'type':_0x5710d6[_0x113a00(0x322)]['MUTATION'],'params':{'unitId':_0xf85029,'actions':_0x38ff31[_0x113a00(0x248)],'textRanges':null}};_0x57dfab['onLocalMutation'](_0x55b3bb);});if(_0x57dfab['disposeWithMe'](_0x1f1ae8),_0x57dfab instanceof _0x120448[_0x3064de(0x31f)]){const _0x571dd0={'onTransformIME':_0x99046d=>this[_0x3064de(0x42d)][_0x3064de(0x35c)](_0x99046d),'onTransformState':_0x8437b=>this[_0x3064de(0x25b)][_0x3064de(0x30a)](_0x8437b),'onTransformSelections':_0xe89bc0=>this['_docTransformSelectionsService'][_0x3064de(0x28c)](_0xe89bc0),'onSyncEditingCollabCursor':_0x1425b4=>this[_0x3064de(0x2c6)][_0x3064de(0x3bc)](_0x1425b4),'onTransformRemoteChangesetByIMECache':_0x22ce80=>this['_docTransformIMECacheService'][_0x3064de(0x3cd)](_0x22ce80),'onTransformRemoteChangesetByStateCache':_0x759083=>this[_0x3064de(0x25b)][_0x3064de(0x3cd)](_0x759083)};_0x57dfab[_0x3064de(0x3c3)](_0x571dd0);}}));}};_0x52e285=_0x21d42e([_0xa95271(0x0,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)])),_0xa95271(0x1,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x2b0)])),_0xa95271(0x2,_0x5710d6['Inject'](_0xe1a345)),_0xa95271(0x3,_0x5710d6[_0x5a5110(0x212)](_0x37a8f0)),_0xa95271(0x4,_0x5710d6['Inject'](_0x16ec8a)),_0xa95271(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0xa95271(0x6,_0x3af2f3[_0x5a5110(0x310)]),_0xa95271(0x7,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x52e285);var _0xa448bf=Object['getOwnPropertyDescriptor'],_0xde163f=(_0x53df82,_0x202eca,_0x4568bc,_0x7d7811)=>{for(var _0x22fc86=_0x7d7811>0x1?void 0x0:_0x7d7811?_0xa448bf(_0x202eca,_0x4568bc):_0x202eca,_0x35441e=_0x53df82['length']-0x1,_0x3e55a4;_0x35441e>=0x0;_0x35441e--)(_0x3e55a4=_0x53df82[_0x35441e])&&(_0x22fc86=_0x3e55a4(_0x22fc86)||_0x22fc86);return _0x22fc86;},_0x464e53=(_0x352246,_0x1eef01)=>(_0x3366b3,_0x44b8c2)=>_0x1eef01(_0x3366b3,_0x44b8c2,_0x352246);let _0x17c0b5=class extends _0x5710d6['Disposable']{constructor(_0x2cec8f,_0x358094,_0x544b06){const _0x5348e1=_0x5a5110;super(),_0xa4d578(this,'_cachedData',new Map()),_0xa4d578(this,_0x5348e1(0x336),new Map()),_0xa4d578(this,'_disabled',!0x1),(this[_0x5348e1(0x24b)]=_0x2cec8f,this[_0x5348e1(0x3d8)]=_0x358094,this['_revisionService']=_0x544b06);}['disableLocalCache'](){const _0x3a8bf6=_0x5a5110;this[_0x3a8bf6(0x429)]=!0x0;}[_0x5a5110(0x435)](){const _0x1adffc=_0x5a5110;this[_0x1adffc(0x429)]=!0x1;}get[_0x5a5110(0x1b9)](){const _0x90d91d=_0x5a5110;return this[_0x90d91d(0x336)];}[_0x5a5110(0x280)](){const _0x479679=_0x5a5110;this['exhaustSavingTask']()[_0x479679(0x38f)](()=>super[_0x479679(0x280)]());}async[_0x5a5110(0x22b)](_0x565b08){const _0x25fdaf=_0x5a5110;return this[_0x25fdaf(0x429)]?null:this[_0x25fdaf(0x3d8)][_0x25fdaf(0x206)](_0x120448[_0x25fdaf(0x2a9)](_0x565b08));}async[_0x5a5110(0x20d)](_0x264878,_0x3b6811){const _0x498ed7=_0x5a5110;return!!this['_localStorageService'][_0x498ed7(0x354)](_0x264878,_0x3b6811);}[_0x5a5110(0x1d7)](_0x56d9d1,_0x1f42bc,_0x5ac58d,_0xe58215){const _0xa9f59e=_0x5a5110,_0x483095=this['_revisionService'][_0xa9f59e(0x239)](_0x56d9d1);this['_cachedData']['set'](_0x56d9d1,{'unitID':_0x56d9d1,'type':_0x1f42bc,'awaitingChangeset':_0x5ac58d,'mutations':_0xe58215,'rev':_0x483095}),this[_0xa9f59e(0x336)][_0xa9f59e(0x2e6)](_0x56d9d1)||this['_scheduleSaving'](_0x56d9d1);}[_0x5a5110(0x257)](_0x4c8618){const _0x52c827=_0x5a5110,_0x4cfe35=this[_0x52c827(0x3a6)]();_0x4cfe35===0x0?this[_0x52c827(0x214)](_0x4c8618):this[_0x52c827(0x336)][_0x52c827(0x2ee)](_0x4c8618,setTimeout(()=>this[_0x52c827(0x214)](_0x4c8618),_0x4cfe35));}['_getSaveTimeout'](){const _0x39b0d1=_0x5a5110;var _0xfc5f9a;return(_0xfc5f9a=this[_0x39b0d1(0x24b)][_0x39b0d1(0x222)](_0x120448[_0x39b0d1(0x427)]))!=null?_0xfc5f9a:_0x120448[_0x39b0d1(0x2d9)];}[_0x5a5110(0x214)](_0x2f4aff){const _0x33d888=_0x5a5110,_0x218e55=this[_0x33d888(0x336)][_0x33d888(0x2e5)](_0x2f4aff);return _0x218e55!==void 0x0&&window['clearTimeout'](_0x218e55),this[_0x33d888(0x3d8)]['setItem'](_0x120448[_0x33d888(0x2a9)](_0x2f4aff),this[_0x33d888(0x319)][_0x33d888(0x2e5)](_0x2f4aff))[_0x33d888(0x38f)](()=>this[_0x33d888(0x336)][_0x33d888(0x352)](_0x2f4aff));}async['exhaustSavingTask'](){const _0x62adbb=_0x5a5110,_0x21244b=[];this[_0x62adbb(0x336)][_0x62adbb(0x30c)]((_0x5b71d5,_0x627bf4)=>{const _0x3574fe=_0x62adbb;window['clearTimeout'](_0x5b71d5),_0x21244b[_0x3574fe(0x403)](this[_0x3574fe(0x214)](_0x627bf4)['then'](()=>{const _0x5b7307=_0x3574fe;this[_0x5b7307(0x336)][_0x5b7307(0x352)](_0x627bf4);}));}),await Promise['all'](_0x21244b);}};_0x17c0b5=_0xde163f([_0x464e53(0x0,_0x5710d6[_0x5a5110(0x367)]),_0x464e53(0x1,_0x5710d6['ILocalStorageService']),_0x464e53(0x2,_0x5710d6[_0x5a5110(0x212)](_0x8dc84['RevisionService']))],_0x17c0b5);class _0x1845f6 extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(){const _0x3a8c90=_0x5a5110;super(),_0xa4d578(this,_0x3a8c90(0x24a)),this[_0x3a8c90(0x24a)]=_0x3ce9b4[_0x3a8c90(0x2cf)](window,'popstate')['pipe'](_0x3ce9b4[_0x3a8c90(0x40f)](this[_0x3a8c90(0x3bd)]),_0x3ce9b4[_0x3a8c90(0x290)](0x1),_0x3ce9b4[_0x3a8c90(0x358)](void 0x0));}['setParam'](_0xff265c,_0x3ce8e4,_0x73fcdc=!0x1){const _0x41b485=_0x5a5110,_0x12d900=new URL(window[_0x41b485(0x224)]['href']);_0x12d900[_0x41b485(0x3ba)][_0x41b485(0x2ee)](_0xff265c,_0x3ce8e4),_0x73fcdc?window[_0x41b485(0x210)][_0x41b485(0x28b)]('','',_0x12d900[_0x41b485(0x412)]()):window['history'][_0x41b485(0x413)]('','',_0x12d900['toString']());}[_0x5a5110(0x2a4)](_0x1eb4ec,_0x4fe3a6=!0x1){const _0x5ae6a6=_0x5a5110,_0x55abf4=new URL(window[_0x5ae6a6(0x224)][_0x5ae6a6(0x2a8)]);_0x55abf4[_0x5ae6a6(0x3ba)][_0x5ae6a6(0x352)](_0x1eb4ec),_0x4fe3a6?window[_0x5ae6a6(0x210)]['replaceState']('','',_0x55abf4['toString']()):window[_0x5ae6a6(0x210)][_0x5ae6a6(0x413)]('','',_0x55abf4[_0x5ae6a6(0x412)]());}['getParam'](_0x2a65f0){const _0x2a332d=_0x5a5110;var _0x185051;return(_0x185051=new URL(window[_0x2a332d(0x224)][_0x2a332d(0x2a8)])[_0x2a332d(0x3ba)][_0x2a332d(0x2e5)](_0x2a65f0))!=null?_0x185051:void 0x0;}}var _0x38d9a5=Object[_0x5a5110(0x3fa)],_0x1e50da=Object['getOwnPropertyDescriptor'],_0x255417=(_0x507080,_0x18449b,_0x23c6e6)=>_0x18449b in _0x507080?_0x38d9a5(_0x507080,_0x18449b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c6e6}):_0x507080[_0x18449b]=_0x23c6e6,_0x58dd8f=(_0x6940b2,_0x1daebc,_0x1c4885,_0x24d573)=>{for(var _0x4fa32d=_0x24d573>0x1?void 0x0:_0x24d573?_0x1e50da(_0x1daebc,_0x1c4885):_0x1daebc,_0x44261b=_0x6940b2['length']-0x1,_0x4a0329;_0x44261b>=0x0;_0x44261b--)(_0x4a0329=_0x6940b2[_0x44261b])&&(_0x4fa32d=_0x4a0329(_0x4fa32d)||_0x4fa32d);return _0x4fa32d;},_0x5bae46=(_0x4261b0,_0x317bc4)=>(_0xf11f02,_0x44cf44)=>_0x317bc4(_0xf11f02,_0x44cf44,_0x4261b0),_0x544458=(_0x1a5201,_0x341657,_0x56c23e)=>_0x255417(_0x1a5201,_0x341657+'',_0x56c23e);const _0x1115d3=_0x5a5110(0x266);_0x10d773['UniverCollaborationClientUIPlugin']=class extends _0x5710d6['Plugin']{constructor(_0x177cbf=_0x592971,_0x1d5c9e,_0x32d4e6,_0xb75dd6){const _0xe18c39=_0x5a5110;super(),this[_0xe18c39(0x3cb)]=_0x177cbf,this[_0xe18c39(0x2c9)]=_0x1d5c9e,this['_injector']=_0x32d4e6,this[_0xe18c39(0x24b)]=_0xb75dd6;const {..._0x93ffc4}=_0x5710d6[_0xe18c39(0x43a)]({},_0x592971,this['_config']);this[_0xe18c39(0x24b)][_0xe18c39(0x296)](_0x5c5d7c,_0x93ffc4);}[_0x5a5110(0x2fc)](){const _0x171ce4=_0x5a5110;this[_0x171ce4(0x236)](),this[_0x171ce4(0x3ab)]();}['onRendered'](){const _0x291372=_0x5a5110;this[_0x291372(0x1c0)]();}[_0x5a5110(0x236)](){const _0x3e4b54=_0x5a5110;var _0x4fba29;const _0x5759b6=[[_0x3bc8af],[_0x16ec8a],[_0xe1a345],[_0x37a8f0],[_0x4c28fd],[_0x1a9a4c,{'useClass':_0x1845f6}],[_0x554c4c[_0x3e4b54(0x1ef)],{'useClass':_0x554c4c['WebSocketService']}],[_0x120448['ILocalCacheService'],{'useClass':_0x17c0b5}],[_0x10d773[_0x3e4b54(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x377ca6],[_0x2c015a],[_0x10d773['CollaborationDataLoaderController']]];_0x5710d6[_0x3e4b54(0x1e7)](this[_0x3e4b54(0x2dc)],_0x5710d6[_0x3e4b54(0x3b5)](_0x5759b6,(_0x4fba29=this[_0x3e4b54(0x3cb)])==null?void 0x0:_0x4fba29[_0x3e4b54(0x42a)]));}[_0x5a5110(0x1c0)](){const _0x382b1c=_0x5a5110;this[_0x382b1c(0x1eb)](this[_0x382b1c(0x2c9)][_0x382b1c(0x277)](_0x5710d6[_0x382b1c(0x35d)][_0x382b1c(0x26c)],[_0x56ec54])),this['disposeWithMe'](this[_0x382b1c(0x2c9)]['registerRenderModule'](_0x5710d6[_0x382b1c(0x35d)]['UNIVER_SHEET'],[_0x158bcb]));}[_0x5a5110(0x3ab)](){const _0x3b80f6=_0x5a5110;_0x5710d6[_0x3b80f6(0x33e)](this[_0x3b80f6(0x2dc)],[[_0x377ca6],[_0x10d773[_0x3b80f6(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x10d773[_0x3b80f6(0x2e8)]]]);}},_0x544458(_0x10d773['UniverCollaborationClientUIPlugin'],_0x5a5110(0x42f),_0x1115d3),_0x10d773[_0x5a5110(0x27e)]=_0x58dd8f([_0x5710d6[_0x5a5110(0x42b)](_0x120448[_0x5a5110(0x231)]),_0x5bae46(0x1,_0x5c441d[_0x5a5110(0x33c)]),_0x5bae46(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x5bae46(0x3,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['UniverCollaborationClientUIPlugin']);var _0x3a37b8=Object[_0x5a5110(0x3c1)],_0x5620a6=(_0x40c8a6,_0x57dc95,_0x46150c,_0x465ed6)=>{const _0x3860e0=_0x5a5110;for(var _0x5c0226=_0x465ed6>0x1?void 0x0:_0x465ed6?_0x3a37b8(_0x57dc95,_0x46150c):_0x57dc95,_0x1ed7c3=_0x40c8a6[_0x3860e0(0x262)]-0x1,_0x3dd112;_0x1ed7c3>=0x0;_0x1ed7c3--)(_0x3dd112=_0x40c8a6[_0x1ed7c3])&&(_0x5c0226=_0x3dd112(_0x5c0226)||_0x5c0226);return _0x5c0226;},_0x33b5bc=(_0x272466,_0x10bb16)=>(_0x417824,_0x40fa33)=>_0x10bb16(_0x417824,_0x40fa33,_0x272466);_0x10d773[_0x5a5110(0x439)]=class extends _0x120448['CollaborationSocketService']{constructor(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835){super(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835);}async[_0x5a5110(0x24e)](_0x37e3a9){const _0x148ab7=_0x5a5110,_0x17663a=await this['_getSessionTicket'](),_0x1d1861=this[_0x148ab7(0x21d)](_0x37e3a9,_0x17663a);return this[_0x148ab7(0x324)](_0x1d1861);}[_0x5a5110(0x21d)](_0x518e5c,_0x30af53){const _0x5d3581=_0x5a5110,_0xd4a456=typeof window>'u'?new URL(_0x518e5c):new URL(_0x518e5c,window[_0x5d3581(0x224)]['origin']);_0xd4a456[_0x5d3581(0x3ba)][_0x5d3581(0x2ee)]('sessionTicket',_0x30af53);const _0x160d36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d3581(0x224)][_0x5d3581(0x32a)]);return _0x160d36[_0x5d3581(0x2e5)](_0x5d3581(0x39d))&&_0xd4a456['searchParams']['set']('runId',_0x160d36['get'](_0x5d3581(0x39d))),_0xd4a456[_0x5d3581(0x412)]();}async[_0x5a5110(0x443)](){const _0x17e4b4=_0x5a5110;var _0x5365c8,_0x375650,_0x20edcf;const _0x1b2d34=this[_0x17e4b4(0x24b)][_0x17e4b4(0x222)](_0x120448[_0x17e4b4(0x28e)]),_0x4493fd=(_0x5365c8=_0x1b2d34==null?void 0x0:_0x1b2d34['wsSessionTicketUrl'])!=null?_0x5365c8:_0x120448['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x20edcf=(_0x375650=(await this[_0x17e4b4(0x204)][_0x17e4b4(0x2e5)](_0x4493fd,{'headers':{'Content-Type':'application/json'}}))[_0x17e4b4(0x2ce)])==null?void 0x0:_0x375650[_0x17e4b4(0x2cc)])!=null?_0x20edcf:'';}},_0x10d773[_0x5a5110(0x439)]=_0x5620a6([_0x33b5bc(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x33b5bc(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x33b5bc(0x2,_0x5710d6[_0x5a5110(0x367)]),_0x33b5bc(0x3,_0x5710d6['ILogService']),_0x33b5bc(0x4,_0x8dc84[_0x5a5110(0x24c)])],_0x10d773['BrowserCollaborationSocketService']);const _0x5869be=0x7530,_0x1f7ac6=_0x5a5110(0x2c2);class _0x1c44b3 extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x131c54=_0x5a5110;super(),_0xa4d578(this,_0x131c54(0x217),_0x5710d6['generateRandomId']()),_0xa4d578(this,_0x131c54(0x383),new Set()),_0xa4d578(this,_0x131c54(0x3f7),new Map()),_0xa4d578(this,'_heartbeatTimer',null),_0xa4d578(this,_0x131c54(0x364),new Map()),_0xa4d578(this,_0x131c54(0x238),new Map()),this[_0x131c54(0x3a0)]();}[_0x5a5110(0x280)](){const _0xc378df=_0x5a5110;super[_0xc378df(0x280)](),this['_clearOtherTimers'][_0xc378df(0x30c)]((_0x40386c,_0x130de4)=>this[_0xc378df(0x26f)](_0x130de4)),this[_0xc378df(0x1fc)]&&window[_0xc378df(0x1fd)](this['_heartbeatTimer']);}[_0x5a5110(0x418)](_0x4bee78){const _0xabed5d=_0x5a5110;return this[_0xabed5d(0x258)](_0x4bee78)[_0xabed5d(0x1ee)](_0x3ce9b4['distinctUntilChanged']());}[_0x5a5110(0x253)](_0x5bd89a){const _0x53e06e=_0x5a5110;this[_0x53e06e(0x383)][_0x53e06e(0x2b6)]===0x0&&this[_0x53e06e(0x36d)](),this['_selfUnitIDs'][_0x53e06e(0x410)](_0x5bd89a),this[_0x53e06e(0x21f)]({'type':0x0,'memberID':this[_0x53e06e(0x217)],'unitIDs':[_0x5bd89a],'isForwarded':!0x1});}['disposeUnit'](_0x490b51){const _0x23aaac=_0x5a5110;this[_0x23aaac(0x383)]['delete'](_0x490b51),this[_0x23aaac(0x383)][_0x23aaac(0x2b6)]===0x0&&this[_0x23aaac(0x1fc)]&&window[_0x23aaac(0x1fd)](this[_0x23aaac(0x1fc)]);}[_0x5a5110(0x3a0)](){const _0x505931=_0x5a5110;this[_0x505931(0x1eb)](_0x5710d6[_0x505931(0x2d0)](_0x3ce9b4['fromEvent'](window,_0x505931(0x1d4))[_0x505931(0x3d6)](_0x54b7be=>{const _0x57759d=_0x505931;if(_0x54b7be[_0x57759d(0x2f6)]!==_0x1f7ac6||!_0x54b7be[_0x57759d(0x405)])return;const _0x5411eb=JSON['parse'](_0x54b7be[_0x57759d(0x405)]);this[_0x57759d(0x1b7)](_0x5411eb);}))),window['addEventListener']('unload',()=>this[_0x505931(0x21f)]({'type':0x1,'memberID':this[_0x505931(0x217)],'unitIDs':Array[_0x505931(0x202)](this[_0x505931(0x383)])}));}[_0x5a5110(0x1b7)](_0x225749){const _0x576309=_0x5a5110;switch(_0x225749[_0x576309(0x3a9)]){case 0x0:this[_0x576309(0x3ed)](_0x225749);break;case 0x1:this[_0x576309(0x25d)](_0x225749);break;case 0x2:this[_0x576309(0x325)](_0x225749);break;}}['_handleJoinEvent'](_0x1cdc7f){const _0x10108b=_0x5a5110,{unitIDs:_0xc1e2d1,memberID:_0x10b0b3,isForwarded:_0xa7b81f}=_0x1cdc7f;_0xc1e2d1[_0x10108b(0x30c)](_0x3f8f11=>{const _0x4cfd8b=_0x10108b;if(!_0xa7b81f&&this[_0x4cfd8b(0x3f7)]['has'](_0x3f8f11)&&this[_0x4cfd8b(0x258)](_0x3f8f11)[_0x4cfd8b(0x209)](_0x120448[_0x4cfd8b(0x359)][_0x4cfd8b(0x1f6)]),!this['_unitOnClients'][_0x4cfd8b(0x2e6)](_0x3f8f11)||!this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)[_0x4cfd8b(0x2e6)](_0x10b0b3)){const _0x7a382a=this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)||new Set();_0x7a382a[_0x4cfd8b(0x410)](_0x10b0b3),this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2ee)](_0x3f8f11,_0x7a382a),this[_0x4cfd8b(0x1dc)](_0x10b0b3);}}),_0xa7b81f||this[_0x10108b(0x21f)]({'type':0x0,'memberID':this[_0x10108b(0x217)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a5110(0x1dc)](_0x56ebe6){const _0x152ecd=_0x5a5110;this['_removeClearOtherTimer'](_0x56ebe6);const _0x14cb53=window[_0x152ecd(0x406)](()=>{const _0x487e6b=_0x152ecd;this[_0x487e6b(0x3f7)][_0x487e6b(0x30c)](_0xa081ae=>{const _0x904a36=_0x487e6b;_0xa081ae[_0x904a36(0x352)](_0x56ebe6);});},_0x5869be*0x2);this[_0x152ecd(0x364)][_0x152ecd(0x2ee)](_0x56ebe6,_0x14cb53);}[_0x5a5110(0x26f)](_0x19a58f){const _0x2d5d9d=_0x5a5110;if(this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e6)](_0x19a58f)){const _0x220e18=this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e5)](_0x19a58f);_0x220e18&&window[_0x2d5d9d(0x30f)](_0x220e18),this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2ee)](_0x19a58f,null);}}['_handleLeaveEvent'](_0x5f41fb){const _0x3be1d8=_0x5a5110,{memberID:_0x5db333,unitIDs:_0x2d6eb7}=_0x5f41fb;_0x2d6eb7[_0x3be1d8(0x30c)](_0x3e29c6=>{const _0x3d619f=_0x3be1d8;var _0x5acb64;const _0x15b6b9=this[_0x3d619f(0x3f7)][_0x3d619f(0x2e5)](_0x3e29c6);_0x15b6b9&&(_0x15b6b9[_0x3d619f(0x352)](_0x5db333),(_0x5acb64=this[_0x3d619f(0x258)](_0x3e29c6))==null||_0x5acb64[_0x3d619f(0x209)](_0x15b6b9[_0x3d619f(0x2b6)]===0x0?_0x120448['UnitStatus'][_0x3d619f(0x2f1)]:_0x120448[_0x3d619f(0x359)][_0x3d619f(0x1f6)]));}),this[_0x3be1d8(0x26f)](_0x5db333);}[_0x5a5110(0x325)](_0x1383e4){const _0x4f5fff=_0x5a5110;this[_0x4f5fff(0x1dc)](_0x1383e4[_0x4f5fff(0x241)]);}['_send'](_0x1dab18){const _0x1906b4=_0x5a5110;localStorage['setItem'](_0x1f7ac6,JSON[_0x1906b4(0x3d1)](_0x1dab18));}[_0x5a5110(0x36d)](){const _0x4e7bf5=_0x5a5110;this[_0x4e7bf5(0x1fc)]=window[_0x4e7bf5(0x31e)](()=>{const _0x4dd30a=_0x4e7bf5;this[_0x4dd30a(0x21f)]({'type':0x2,'memberID':this[_0x4dd30a(0x217)]});},_0x5869be);}[_0x5a5110(0x258)](_0x3776bb){const _0x52fe24=_0x5a5110;return this[_0x52fe24(0x238)]['has'](_0x3776bb)||this[_0x52fe24(0x238)][_0x52fe24(0x2ee)](_0x3776bb,new _0x3ce9b4[(_0x52fe24(0x228))](_0x120448[_0x52fe24(0x359)][_0x52fe24(0x2f1)])),this[_0x52fe24(0x238)][_0x52fe24(0x2e5)](_0x3776bb);}}var _0x6bd707=(_0x3788ae=>(_0x3788ae[_0x3788ae[_0x5a5110(0x38c)]=0x0]='UNDEFINED',_0x3788ae[_0x3788ae['OK']=0x1]='OK',_0x3788ae[_0x3788ae[_0x5a5110(0x3f8)]=0x2]=_0x5a5110(0x3f8),_0x3788ae[_0x3788ae[_0x5a5110(0x374)]=0x3]='PERMISSION_DENIED',_0x3788ae[_0x3788ae[_0x5a5110(0x2ea)]=0x4]=_0x5a5110(0x2ea),_0x3788ae[_0x3788ae[_0x5a5110(0x2f0)]=0x5]=_0x5a5110(0x2f0),_0x3788ae[_0x3788ae['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2b7)]=0x7]=_0x5a5110(0x2b7),_0x3788ae[_0x3788ae[_0x5a5110(0x243)]=0x8]='TOO_MANY_REQUESTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2f8)]=0x9]=_0x5a5110(0x2f8),_0x3788ae[_0x3788ae[_0x5a5110(0x216)]=0xa]=_0x5a5110(0x216),_0x3788ae[_0x3788ae[_0x5a5110(0x1cb)]=0x1389]=_0x5a5110(0x1cb),_0x3788ae[_0x3788ae['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a5110(0x3a2),_0x3788ae[_0x3788ae[_0x5a5110(0x25f)]=0x1772]=_0x5a5110(0x25f),_0x3788ae[_0x3788ae['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5a5110(0x2a0),_0x3788ae[_0x3788ae['APPLY_REJECT']=0x1b59]=_0x5a5110(0x353),_0x3788ae[_0x3788ae[_0x5a5110(0x1d0)]=0x1b5a]=_0x5a5110(0x1d0),_0x3788ae[_0x3788ae[_0x5a5110(0x1e8)]=0x1b5b]=_0x5a5110(0x1e8),_0x3788ae[_0x3788ae[_0x5a5110(0x315)]=0x1b5c]=_0x5a5110(0x315),_0x3788ae[_0x3788ae[_0x5a5110(0x2d6)]=0x1b5d]=_0x5a5110(0x2d6),_0x3788ae[_0x3788ae[_0x5a5110(0x320)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3788ae[_0x3788ae[_0x5a5110(0x1f0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3788ae[_0x3788ae[_0x5a5110(0x305)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3788ae[_0x3788ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a5110(0x299),_0x3788ae[_0x3788ae[_0x5a5110(0x2ba)]=0x232c]=_0x5a5110(0x2ba),_0x3788ae[_0x3788ae[_0x5a5110(0x1ab)]=0x232d]=_0x5a5110(0x1ab),_0x3788ae[_0x3788ae[_0x5a5110(0x372)]=0x2711]=_0x5a5110(0x372),_0x3788ae[_0x3788ae[_0x5a5110(0x421)]=0x2712]=_0x5a5110(0x421),_0x3788ae[_0x3788ae[_0x5a5110(0x365)]=0x2713]=_0x5a5110(0x365),_0x3788ae[_0x3788ae[_0x5a5110(0x436)]=0x2714]=_0x5a5110(0x436),_0x3788ae[_0x3788ae[_0x5a5110(0x26b)]=0x271a]=_0x5a5110(0x26b),_0x3788ae[_0x3788ae[_0x5a5110(0x3f2)]=0x271b]=_0x5a5110(0x3f2),_0x3788ae[_0x3788ae[_0x5a5110(0x313)]=0x271c]=_0x5a5110(0x313),_0x3788ae[_0x3788ae[_0x5a5110(0x28a)]=0x271d]=_0x5a5110(0x28a),_0x3788ae[_0x3788ae[_0x5a5110(0x3cf)]=0x271e]=_0x5a5110(0x3cf),_0x3788ae[_0x3788ae[_0x5a5110(0x1fe)]=0x271f]=_0x5a5110(0x1fe),_0x3788ae[_0x3788ae[_0x5a5110(0x395)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3788ae[_0x3788ae[_0x5a5110(0x29b)]=0x2ee1]=_0x5a5110(0x29b),_0x3788ae[_0x3788ae[_0x5a5110(0x3fd)]=0x2ee2]=_0x5a5110(0x3fd),_0x3788ae[_0x3788ae[_0x5a5110(0x34e)]=0x2ee3]=_0x5a5110(0x34e),_0x3788ae[_0x3788ae['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5a5110(0x3e7),_0x3788ae[_0x3788ae[_0x5a5110(0x434)]=0x2ee5]=_0x5a5110(0x434),_0x3788ae[_0x3788ae[_0x5a5110(0x2bd)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x23d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x34a)]=0x32cb]=_0x5a5110(0x34a),_0x3788ae[_0x3788ae[_0x5a5110(0x43b)]=-0x1]='UNRECOGNIZED',_0x3788ae))(_0x6bd707||{}),_0x1a2b34=Object[_0x5a5110(0x3c1)],_0x4cf7d8=(_0x4f29b8,_0x9edb88,_0x28ccae,_0x584b2b)=>{const _0x18234f=_0x5a5110;for(var _0x1cff6e=_0x584b2b>0x1?void 0x0:_0x584b2b?_0x1a2b34(_0x9edb88,_0x28ccae):_0x9edb88,_0x4a7908=_0x4f29b8[_0x18234f(0x262)]-0x1,_0x5bf08f;_0x4a7908>=0x0;_0x4a7908--)(_0x5bf08f=_0x4f29b8[_0x4a7908])&&(_0x1cff6e=_0x5bf08f(_0x1cff6e)||_0x1cff6e);return _0x1cff6e;},_0x51d434=(_0x5c9c61,_0x39b397)=>(_0x143a2f,_0x529485)=>_0x39b397(_0x143a2f,_0x529485,_0x5c9c61);_0x10d773[_0x5a5110(0x2ff)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x31deea,_0x3b8679,_0x2de06f){const _0xae8dc6=_0x5a5110;super(),this['_instanceService']=_0x31deea,this[_0xae8dc6(0x204)]=_0x3b8679,this[_0xae8dc6(0x24b)]=_0x2de06f;}async[_0x5a5110(0x2c5)](_0x3e2bed,_0x3057ca,_0x5e08ad,..._0x48fb5b){const _0x401cff=_0x5a5110;var _0x6ea234,_0x2a43b0,_0x499d05,_0x1df628;const _0x44a354=this[_0x401cff(0x295)]['getFocusedUnit']();if(!_0x44a354)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x105fa4=((_0x6ea234=this[_0x401cff(0x24b)][_0x401cff(0x222)](_0x120448['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x6ea234:_0x120448[_0x401cff(0x370)])+'/'+_0x3e2bed+_0x401cff(0x250)+_0x3057ca,_0x7ee9d6=new URL(window[_0x401cff(0x224)][_0x401cff(0x2a8)]),_0xb2f8de={'scriptId':_0x3e2bed,'runId':(_0x2a43b0=_0x7ee9d6['searchParams'][_0x401cff(0x2e5)]('runId'))!=null?_0x2a43b0:'','function':_0x3057ca,'unitId':_0x44a354[_0x401cff(0x39f)](),'argsOfFunction':JSON[_0x401cff(0x3d1)](_0x48fb5b),'invokeId':(_0x499d05=_0x5e08ad[_0x401cff(0x237)])!=null?_0x499d05:'','executionId':(_0x1df628=_0x5e08ad['executionId'])!=null?_0x1df628:''};try{const _0x245c01=await this[_0x401cff(0x204)]['post'](_0x105fa4,{'body':_0xb2f8de});return _0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)]&&_0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)][_0x401cff(0x2e2)]!==_0x6bd707['OK']?_0x401cff(0x309):_0x245c01['body'][_0x401cff(0x2e1)];}catch{return'Failed';}}},_0x10d773[_0x5a5110(0x2ff)]=_0x4cf7d8([_0x51d434(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x51d434(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x51d434(0x2,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['RemoteUniscriptService']),_0x10d773[_0x5a5110(0x285)]=_0x251989,_0x10d773[_0x5a5110(0x40c)]=_0x1a9a4c,_0x10d773[_0x5a5110(0x432)]=_0x20d652,_0x10d773['WebBrowserSingleActiveUnitService']=_0x1c44b3,_0x10d773[_0x5a5110(0x37b)]=_0x1845f6,Object[_0x5a5110(0x3fa)](_0x10d773,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x242a(_0x18f55b,_0x344c94){const _0x30e7fc=_0x30e7();return _0x242a=function(_0x242a25,_0x3d9951){_0x242a25=_0x242a25-0x77;let _0xbb7cf8=_0x30e7fc[_0x242a25];return _0xbb7cf8;},_0x242a(_0x18f55b,_0x344c94);}function _0x30e7(){const _0x335fe9=['YUUMI_NO_CUBOID_FOR_QUESTION','post','_handleHover','_transformPreviousActiveRange','_lastPointer','YUUMI_ALL_TABLES_IS_INVALID','SNAPSHOT_HAS_BEEN_REMOVED','useRef','OTHER_CLIENT_EDITING','UniverRpc','ISocketService','textRanges','unshift','UniverIcon','DocIMEInputManagerService','UniverUi','LICENSE_IMPORT_SIZE_EXCEEDED','_assignedColors','syncEditingCollabCursor','setConfig','runRefRangeMutations','collabStatus.fetchMiss','Tools','_updateCollabCursors','toStringTag','_textBubble','React','collaboration-client-ui.config','_unitOnClients','IRenderManagerService','_collabSessionService','docStateChange$','_handleJoinEvent','min','UniverCollaborationClientUIPlugin','CollaborationStatus','_localeService','rgba(255,\x20255,\x20255,\x200.01)','_name','_imageIoService','clsx','flatMap','connectInjector','_scheduleClearOtherTimer','_toggleOnline','WebSocketService','removeParam','getCollabEntity$','asObservable','_docTransformStateCacheService','length','distinctUntilChanged','OffLineSingle','TEXT_RANGE_LAYER_INDEX','set','addObject','BehaviorSubject','getTypeOfUnitDisposed$','UnitStatus','font','hasOwnProperty','session.will-retry','handleInsertRow','complete','_scene','getOwnPropertyDescriptor','_anchor','CollaborationStatusDisplay','addEventListener','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','@univerjs/engine-formula','49986HXfTQY','override','params','size','_docClipboardService','_color','clearInterval','CollaborationUIEventService','DesktopCollaborationStatusDisplayController','assign','backgroundColor','_entityInit$','getAncestorScale','_setupBeforeClosingHandler','onTransformChange$','updateOfflineData','getRangePointData','_httpService','UniverProCollaboration','div','_getAnchorBounding','selection','_beforeCloseService','entityInit$','triggerDblclick','CHANGESET_REVISION_CONFILICT','debug','selections','createIdentifier','@univerjs/sheets','INVITE_CODE_REQUIRED','RegularPolygon','PENDING','_updateLocalCursor','find','Vector2','extend','/run/','runId','@univerjs/design','_logService','addClipboardHook','body','getUnitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','merge','entries','1em','transformStateCache','...','UNDEFINED','_urlService','disposeWithMe','_hideTimer','LOCAL_CACHE_INTERVAL_KEY','TOO_MANY_REQUESTS','Rect','LICENSE_MAX_UNITS_EXCEEDED','DisposableCollection','SOCKET_FAILED','height','MessageType','UNAUTHENTICATED','_cursors','jsxs','_onRefRangeChange','m2Prime','HTTPService','startsWith','UniverNetwork','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INVITE_CODE_HAS_BEEN_UES','INotificationService','isActive','arc','_docStateChangeManagerService','_scheduleHeartbeat','measureText','toRgbString','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','defIds','collab-text-range-','DocSelectionManagerService','mask','_getScale','_onCursorDelete','deepClone','_status$','@univerjs/sheets-ui','handleInsertCol','cursorInfo','UniverSheets','registerBeforeClose','addObjects','lineTo','m1Prime','jsx','transformSelections','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','UniverSheetsUi','onRendered','_id','getUniverSheetInstance','xlink:href','@univerjs-pro/collaboration','max','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','values','currentTheme$','FETCH_MISS','getUnhiddenWorksheets','getLocalCacheKey','setShapeProps','_shapes','@univerjs/rpc','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','SUBMIT_CHANGESET_TIMEOUT','0\x200\x2016\x2016','_localCacheService','map','UniverProCollaborationClientUi','@univerjs/network','url(#$1','Error','UNRECOGNIZED','_initCommandExecutedListener','registerComponent','_syncEditingCollabCursorService','throttleTime','toString','handleMoveRange','has','_scheduleSaving','getActiveSheet','COMPLETION_FINISHED','_initDependencies','AWAITING_WITH_PENDING','CollaborationEvent','fillStyle','engine','getTypeOfUnitAdded$','SetWorksheetActivateCommand','getMemberID','assignAColorForMemberID','location','_cachedData','getVpScrollXYInfoByPosToVp','SheetCollabCursorShape','DocSkeletonManagerService','fromEvent','popstate','saveTaskMap','green.600','handleInsertRangeMoveRight','setAlpha','_saveTaskMap','_eventUnsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_notificationService','_cursor','takeUntil','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WebBrowserSingleActiveUnitService','_docSyncEditingCollabCursorService','_drawTextRange','replaceDocRanges','getConfig','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','split','LOGIN_FAILED','prototype','transformMutationsWithChangeset','TEXT','forEach','1035503FTLPUn','DocCollaborationEntity','resize','row','_startSheetCollabCursor','getDocRanges','history','getCollabCursors$','_instanceService','_send','cursorInfo$','_handleLeaveEvent','_transformService','redoState','getMember','1621932mUTtXJ','SHEET_VIEWPORT_KEY','createSocket','name','_saveCache','_getMergeRange','substring','_updateURLWithCurrentState','error','CollaborationUIEventId','OFFLINE','function','YUUMI_UNABLE_LOAD_URL','isTransformMutationsWithChangesetSuccess','collab-text-anchor-','svg','getCurrentUnitForType','_initResize','href','_entities','indexOf','disposeUnit','origin','moveTo','@univerjs-pro/collaboration-client','Workbook','debounceTime','UniverDesign','key','UniverProCollaborationClient','univer-flex\x20univer-items-center','_removeCollabCursors','#FFF','debounce','256tmNeIt','getColorFromTheme','generateRandomId','icon','current','top','USER_NOT_INVITED_CODE','labelPosition','collabStatus.syncing','[RemoteUniscriptService]:\x20no\x20focused\x20unit','reconnect','hovered','skeleton','onPointerLeave$','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerRenderModule','setItem','getCurrentRevOfUnit','UniverCollaborationClientPlugin','_clearOtherTimers','_getSaveTimeout','fill','currentSkeleton$','NOT_COLLAB','clipPath','url(#off-line-single_clip0_910_343)','text','UPDATE_CURSOR','ILocalStorageService','_context','executeCommand','_online','sessionStatus$','none','INVALID_ARGUMENT','_themeService','UniverEngineRender','shareReplay','INVITE_CODE_ALREADY_BOUND','parse','on-line-single_clip0_910_349','InsertColCommandId','_injector','_init','getRenderById','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REJECT','subunit','PY_RUNTIME_SCRIPT_ERROR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_revisionService','CollaborationDataLoaderController','getOffsetConfig','filter','_handleHeartbeatEvent','MoveRangeCommandId','event$','next','getFocusedUnit','UniverCore','findNodePositionByCharIndex','YUUMI_RATE_OVER_LIMIT','LICENSE_DISTRO_REJECTED','Shape','eventID','BuiltInUIPart','send','_renderManagerService','show','Tooltip','black','type','whenReady','loadOfflineData','_disabled','@univerjs/drawing','newValue','isEditing','toDisposable','ILocalCacheService','delete','bottom','Failed','SetTextSelectionsOperation','purple.300','useCallback','RichTextEditingMutation','_removeClearOtherTimer','drawWith','@univerjs/engine-render','editingUnit','SetSelectionsOperation','_collabCursorState$','onMouseMove','899960jOjoRR','RemoveRowCommandId','_collaborationController','_createSocketURL','getSheetId','ILogService','Rectangle','width','[CollaborationDataLoaderController]','clearTimeout','CollaborationSocketService','uni.network.url-service','replace','IMessageService','_hover','IUniverInstanceService','@univerjs/ui','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','replaceState','wsSessionTicketUrl','unitID','_transformUndoRedoStack','result','_dataLoaderService','NodePositionConvertToCursor','RemoveColCommandId','hide','_toggleOffline','_initStatusListener','unit','setUndoRedoMutationParamsCache','WECHAT_HAS_BEEN_BOUND','COLORS','memberID','round','init','0\x200\x2017\x2016','DataLoaderService','_getSessionTicket','CommandType','EffectRefRangId','onCommandExecuted','getParam','getCurrent','subscribeEvent','includes','_collabCursorController','HEADER_MENU','onStarting','react/jsx-runtime','IBeforeCloseService','off-line-single','useObservable','_draw','IConfigService','executionId','2KhPyzN','beginPath','setInterval','operators','currentColor','_docTransformIMECacheService','mergeOverrideWithDependencies','pipe','_localStorageService','Disposable','UNIVER_DOC','_docSkeletonManagerService','range','setActiveRange','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','_cursorInfo$','_initEntityListener','apply','_initEvent','color','@univerjs/docs','InsertRangeMoveDownCommandId','2467374rRNpbQ','search','UNIVER_SHEET','EMAIL_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','_initStatusComponent','isTransformMutationFailure','touchDependencies','evenodd','_docSkeleton','_backgroundColor','pushState','dispose$','ACTIVE_UNIT_EVENT_CHANNEL','ThemeService','ColorKit','startRow','off-line-single_clip0_910_343','rxjs','object','add','UniverDocs','all','_colorAssignService','undoState','Module','_docTransformSelectionsService','Injector','unitId','saveImage','SetDocZoomRatioOperation','unsubscribe','YUUMI_ASYNCIO_CANCELLED','combineLatest','getSkeleton','some','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ensureSubject','Warning','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','registerRefRange','url(#on-line-single_clip0_910_349)','data','_session','MUTATION','DOC_RANGE_TYPE','children','getValue','searchParams','getColor','mutations','setParam','3sHnMIx','_sheetSkeletonManagerService','INTERNAL_ERROR','@univerjs/docs-ui','ALREADY_EXISTS','_setupSubUnitSync','OnLineSingle','_commandService','136700mhQNSH','_heartbeatTimer','transformIMECache','random','displayName','getOwnPropertySymbols','session.collaboration-timeout','_handleEvent','SYNCED','_range','ranges','get','onPointerMove$','exhaustSavingTask','PERMISSION_DENIED','_registerRenderDependencies','handleDeleteRangeMoveUp','INVALID_INVITE_CODE','_cursorShapes','collabCursorState$','getMergeData','NO_OTHER_CLIENTS_EDITING','transformByState','getStateCache','invokeId','ITransformService','collabStatus.offline','red.300','collaboration.closeRoom','createInstance','application/json','APPLY_DUPLICATED','RxDisposable','CONNECTOR_DATA_TOO_LARGE','dispose','RemoteUniscriptService','onPointerEnter$','handleInsertRangeMoveDown','_unitStatus','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','APPLY_REVISION_CONFILICT','_config','startColumn','ICommandService','SheetsSelectionsService','transformMutation','Unknown\x20user','_uiPartsService','save','_roomMembers$','_memberService','subscribe','then','_startDocCollabCursor','_getSheetObject','path','CollaborationController','disableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','APPLY_PERMISSION_DENIED','_anchorDot','univer-text-green-500','status$','useDependency','BrowserCollaborationSocketService','_render','RECT','push','248858FQildU','endRow','DependentOn','_registerDependencies','focused$','_drawRectRange','attrs','_univerInstanceService','call','_configService','getCoordByCell','_hovered','jiqing.500','idSuffix','tag','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_labelPosition','collaboration.single-unit.warning','colorChannel1','IURLService','CollaborationSessionService','from','contains','pluginName','getSheetBySheetId','createElement','_selfUnitIDs','concat','_onCursorUpdate','_refreshCollabCursors','defs','string','restore','CLOSE_ROOM','_updateSubUnitFromURLParams','collabStatus.notCollab','mapTo','DocStateChangeManagerService','forwardRef','Plugin','collaboration-client.offline-data-not-saved','ONLINE','roomMembers','requireSession','InsertRowCommandId','defineProperty','getItem','univer-flex\x20univer-mr-2\x20univer-text-xl','_messageService','urlChange$','collabStatus.conflict','isArray','fillRule','_colorIndex','switchMap','MOBILE_HAS_BEEN_BOUND','_collaborationUIEventService','sessionTicket','saveOfflineData','#fff','react','OTHER_CLIENTS_EDITING','getSheetObject','session.connection-failed','InsertRangeMoveRightCommandId','LocaleService'];_0x30e7=function(){return _0x335fe9;};return _0x30e7();}(function(_0x4b5b1f,_0x2a3176){const _0x86299c=_0x242a,_0x3f0daf=_0x4b5b1f();while(!![]){try{const _0x52849d=-parseInt(_0x86299c(0x1b6))/0x1*(-parseInt(_0x86299c(0x11b))/0x2)+parseInt(_0x86299c(0x169))/0x3*(parseInt(_0x86299c(0x302))/0x4)+-parseInt(_0x86299c(0xe3))/0x5+-parseInt(_0x86299c(0x132))/0x6+parseInt(_0x86299c(0x2f3))/0x7+parseInt(_0x86299c(0x84))/0x8*(parseInt(_0x86299c(0x240))/0x9)+-parseInt(_0x86299c(0x171))/0xa;if(_0x52849d===_0x2a3176)break;else _0x3f0daf['push'](_0x3f0daf['shift']());}catch(_0x5ea9c6){_0x3f0daf['push'](_0x3f0daf['shift']());}}}(_0x30e7,0x5b943),function(_0x2a620a,_0x5d1c34){const _0x49655e=_0x242a;typeof exports==_0x49655e(0x145)&&typeof module<'u'?_0x5d1c34(exports,require(_0x49655e(0x7a)),require('@univerjs/core'),require(_0x49655e(0xde)),require(_0x49655e(0x2bd)),require(_0x49655e(0x16c)),require(_0x49655e(0xd0)),require(_0x49655e(0x144)),require(_0x49655e(0x130)),require(_0x49655e(0x2aa)),require(_0x49655e(0x23f)),require(_0x49655e(0x25d)),require('rxjs/operators'),require(_0x49655e(0x299)),require(_0x49655e(0x114)),require(_0x49655e(0xf3)),require(_0x49655e(0x267)),require('react'),require(_0x49655e(0x2b5))):typeof define==_0x49655e(0x30d)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x49655e(0xde),_0x49655e(0x2bd),_0x49655e(0x16c),_0x49655e(0xd0),_0x49655e(0x144),_0x49655e(0x130),_0x49655e(0x2aa),_0x49655e(0x23f),_0x49655e(0x25d),'rxjs/operators','@univerjs/sheets-ui',_0x49655e(0x114),_0x49655e(0xf3),_0x49655e(0x267),_0x49655e(0x1f2),_0x49655e(0x2b5)],_0x5d1c34):(_0x2a620a=typeof globalThis<'u'?globalThis:_0x2a620a||self,_0x5d1c34(_0x2a620a[_0x49655e(0x2bc)]={},_0x2a620a[_0x49655e(0x7f)],_0x2a620a[_0x49655e(0xc0)],_0x2a620a[_0x49655e(0xa9)],_0x2a620a[_0x49655e(0x285)],_0x2a620a['UniverDocsUi'],_0x2a620a['UniverDrawing'],_0x2a620a['rxjs'],_0x2a620a[_0x49655e(0x147)],_0x2a620a[_0x49655e(0x252)],_0x2a620a['UniverEngineFormula'],_0x2a620a[_0x49655e(0x29c)],_0x2a620a[_0x49655e(0x144)][_0x49655e(0x11e)],_0x2a620a[_0x49655e(0x2a5)],_0x2a620a['React'],_0x2a620a[_0x49655e(0x207)],_0x2a620a[_0x49655e(0x7d)],_0x2a620a[_0x49655e(0x212)],_0x2a620a[_0x49655e(0x201)]));}(this,function(_0x285d46,_0x479769,_0x1def49,_0x451005,_0x5196ad,_0x38c4f6,_0x5c8edc,_0x1bc390,_0x5ec733,_0x529ed4,_0x506429,_0x218759,_0x4ab621,_0x25374d,_0x287e60,_0x13fd76,_0xe78f23,_0x532356,_0x2dbfe8){'use strict';const _0x3f93a3=_0x242a;var _0xbd2d8b=Object['defineProperty'],_0x35ab38=(_0x3d6e60,_0x15fcba,_0x2eac01)=>_0x15fcba in _0x3d6e60?_0xbd2d8b(_0x3d6e60,_0x15fcba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eac01}):_0x3d6e60[_0x15fcba]=_0x2eac01,_0x2d103a=(_0x55c71f,_0x28751b,_0x5c248a)=>_0x35ab38(_0x55c71f,typeof _0x28751b!='symbol'?_0x28751b+'':_0x28751b,_0x5c248a),_0x16cb55=Object['getOwnPropertyDescriptor'],_0x191aaa=(_0x18d522,_0x4979cb,_0x36f1c9,_0x1a306c)=>{const _0x3ab849=_0x242a;for(var _0x38aabe=_0x1a306c>0x1?void 0x0:_0x1a306c?_0x16cb55(_0x4979cb,_0x36f1c9):_0x4979cb,_0x5d2fed=_0x18d522[_0x3ab849(0x22a)]-0x1,_0x20d3fc;_0x5d2fed>=0x0;_0x5d2fed--)(_0x20d3fc=_0x18d522[_0x5d2fed])&&(_0x38aabe=_0x20d3fc(_0x38aabe)||_0x38aabe);return _0x38aabe;},_0x10cee3=(_0x5c999d,_0x4f4ddb)=>(_0x32ab7b,_0x306eab)=>_0x4f4ddb(_0x32ab7b,_0x306eab,_0x5c999d);let _0x351e0a=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x5133fd,_0x446070){const _0x40d4b3=_0x3f93a3;super(),this['_docClipboardService']=_0x5133fd,this[_0x40d4b3(0x21f)]=_0x446070,this[_0x40d4b3(0xb0)]();}[_0x3f93a3(0xb0)](){const _0x108da1=_0x3f93a3,_0x3a73cf=this;this[_0x108da1(0x274)](this[_0x108da1(0x244)][_0x108da1(0x269)]({'onBeforePasteImage':async _0xc8db0d=>{const _0x2fd6cd=_0x108da1,_0x479ae4=await _0x3a73cf[_0x2fd6cd(0x21f)][_0x2fd6cd(0x14f)](_0xc8db0d);return _0x479ae4?{'source':_0x479ae4['source'],'imageSourceType':_0x479ae4['imageSourceType']}:null;}}));}};_0x351e0a=_0x191aaa([_0x10cee3(0x0,_0x38c4f6['IDocClipboardService']),_0x10cee3(0x1,_0x5c8edc['IImageIoService'])],_0x351e0a);const _0x1a429d=[_0x3f93a3(0xd9),_0x3f93a3(0x1c2),_0x3f93a3(0x2dc),_0x3f93a3(0x18c),'blue.400','yellow.400'];class _0xc01724 extends _0x1def49['Disposable']{constructor(){const _0x881a92=_0x3f93a3;super(...arguments),_0x2d103a(this,_0x881a92(0x209),new Map()),_0x2d103a(this,'_colorIndex',0x0);}[_0x3f93a3(0x2d3)](_0x2dc617){const _0x31d698=_0x3f93a3;if(this[_0x31d698(0x209)][_0x31d698(0x2c7)](_0x2dc617))return this[_0x31d698(0x209)][_0x31d698(0x17c)](_0x2dc617);const _0x12189d=_0x1a429d[this[_0x31d698(0x1eb)]];return this[_0x31d698(0x1eb)]=(this[_0x31d698(0x1eb)]+0x1)%_0x1a429d[_0x31d698(0x22a)],this[_0x31d698(0x209)]['set'](_0x2dc617,_0x12189d),_0x12189d;}}function _0x30f1a3(_0x2670c0){const _0x25aa6f=_0x3f93a3;let _0x30f9f0='';for(const _0xcad034 of _0x2670c0){const {startOffset:_0xb86737,endOffset:_0x45780d,isActive:_0x4f188a,rangeType:_0x43791f,segmentId:_0x2962a3,segmentPage:_0x568fb3}=_0xcad034;_0x30f9f0[_0x25aa6f(0x22a)]&&(_0x30f9f0+=','),_0x30f9f0+=_0xb86737+':'+_0x45780d+':'+(_0x4f188a?'1':'0')+':'+_0x43791f+':'+_0x2962a3+':'+_0x568fb3;}return _0x30f9f0;}function _0x3b2e1b(_0x53d576){const _0x584d5d=_0x3f93a3,_0x52c03a=_0x53d576[_0x584d5d(0x2ed)](','),_0x3dfeda=[];for(const _0x1a28c7 of _0x52c03a){const [_0xa44373,_0x40210f,_0x39323d,_0x39e97c,_0x47085e,_0xa7429]=_0x1a28c7[_0x584d5d(0x2ed)](':');_0x3dfeda[_0x584d5d(0x1b5)]({'startOffset':Number(_0xa44373),'endOffset':Number(_0x40210f),'collapsed':_0xa44373===_0x40210f,'isActive':_0x39323d==='1','rangeType':_0x39e97c===_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]?_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]:_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x1b4)],'segmentId':typeof _0x47085e==_0x584d5d(0x1d5)?String(_0x47085e):'','segmentPage':Number(_0xa7429!=null?_0xa7429:-0x1)});}return _0x3dfeda[_0x584d5d(0x155)](_0x104450=>_0x104450['isActive'])||(_0x3dfeda[0x0][_0x584d5d(0x289)]=!0x0),_0x3dfeda;}class _0x3a08fe extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x1f08c=_0x3f93a3;super(...arguments),_0x2d103a(this,'_collabCursorState$',new _0x1bc390[(_0x1f08c(0x230))](null)),_0x2d103a(this,_0x1f08c(0x184),this[_0x1f08c(0xe1)][_0x1f08c(0x228)]());}['syncEditingCollabCursor'](_0x2470d5){const {unitID:_0x954cbe,memberID:_0xca26f2,textRanges:_0x587f25}=_0x2470d5,_0x4e1215=_0x30f1a3(_0x587f25);if(_0x4e1215==='')return;const _0x46c79c={'unitID':_0x954cbe,'memberID':_0xca26f2,'selection':_0x4e1215};this['_collabCursorState$']['next'](_0x46c79c);}}var _0xa54a48=Object[_0x3f93a3(0x239)],_0x268c6a=(_0x651ede,_0x27ce6b,_0x131936,_0xe2d0)=>{for(var _0x118a00=_0xe2d0>0x1?void 0x0:_0xe2d0?_0xa54a48(_0x27ce6b,_0x131936):_0x27ce6b,_0x187a68=_0x651ede['length']-0x1,_0x28093c;_0x187a68>=0x0;_0x187a68--)(_0x28093c=_0x651ede[_0x187a68])&&(_0x118a00=_0x28093c(_0x118a00)||_0x118a00);return _0x118a00;},_0x2c7489=(_0x55a367,_0x3774c8)=>(_0x2204d6,_0x589bc7)=>_0x3774c8(_0x2204d6,_0x589bc7,_0x55a367);const _0x4e8f7a=0x12c,_0x492642=0x64;let _0x1ee7ee=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xacc29e,_0x5f1f53,_0x3168cd,_0x2ae840,_0x1daa6c,_0x3763f9,_0x462f8a,_0x58fb0f,_0x204a20){const _0x5e06b9=_0x3f93a3;super(),_0x2d103a(this,_0x5e06b9(0xa4),!0x1),_0x2d103a(this,_0x5e06b9(0xb0),!0x1),_0x2d103a(this,_0x5e06b9(0x12b),new _0x1bc390['BehaviorSubject'](new Map())),_0x2d103a(this,_0x5e06b9(0x2fd),this['_cursorInfo$'][_0x5e06b9(0x228)]()),_0x2d103a(this,_0x5e06b9(0x1a3),new _0x1bc390[(_0x5e06b9(0x230))]([])),_0x2d103a(this,'roomMembers$',this['_roomMembers$'][_0x5e06b9(0x122)](_0x1bc390[_0x5e06b9(0x7c)](_0x4e8f7a))),_0x2d103a(this,'_updateLocalCursor',_0x1def49[_0x5e06b9(0x83)](_0x1ee5d9=>{const _0x10073=_0x5e06b9,_0x1bc387={'eventID':_0x529ed4[_0x10073(0x2cd)][_0x10073(0xa0)],'data':{'unitID':this[_0x10073(0xf7)],'memberID':this[_0x10073(0x160)]['getMemberID'](),'selection':_0x30f1a3(_0x1ee5d9)}};this[_0x10073(0x160)][_0x10073(0xc7)](_0x1bc387,this['unitID']);},_0x492642)),(this[_0x5e06b9(0xf7)]=_0xacc29e,this[_0x5e06b9(0x160)]=_0x5f1f53,this[_0x5e06b9(0xaf)]=_0x3168cd,this[_0x5e06b9(0x149)]=_0x2ae840,this[_0x5e06b9(0x1a4)]=_0x1daa6c,this[_0x5e06b9(0x2c3)]=_0x3763f9,this[_0x5e06b9(0x2ff)]=_0x462f8a,this[_0x5e06b9(0x1bd)]=_0x58fb0f,this[_0x5e06b9(0x170)]=_0x204a20);}get['cursorInfo'](){const _0x55919e=_0x3f93a3;return this[_0x55919e(0x12b)][_0x55919e(0x164)]();}get[_0x3f93a3(0x1e0)](){const _0x54970d=_0x3f93a3;return this[_0x54970d(0x1a3)][_0x54970d(0x164)]();}[_0x3f93a3(0x193)](){const _0x291644=_0x3f93a3;super[_0x291644(0x193)](),this[_0x291644(0x12b)][_0x291644(0xbe)](new Map()),this[_0x291644(0x12b)][_0x291644(0x237)](),this['_roomMembers$'][_0x291644(0xbe)]([]),this['_roomMembers$'][_0x291644(0x237)]();}[_0x3f93a3(0x106)](){const _0x17a232=_0x3f93a3;this[_0x17a232(0xb0)]||(this[_0x17a232(0xb0)]=!0x0,this['_session'][_0x17a232(0xa5)][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))['subscribe'](_0x6f5c6f=>{const _0x46cb7f=_0x17a232;_0x6f5c6f===_0x479769['SessionStatus'][_0x46cb7f(0x1df)]?this[_0x46cb7f(0x224)]():this['_toggleOffline']();}),this[_0x17a232(0x160)]['event$'][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x30f540=>{const _0x5f5768=_0x17a232,_0x38f560=_0x30f540['eventID'];_0x38f560===_0x529ed4['CollaborationEvent'][_0x5f5768(0xa0)]&&this[_0x5f5768(0x1d2)](_0x30f540),_0x38f560===_0x529ed4[_0x5f5768(0x2cd)]['USERS_LEAVE']&&this[_0x5f5768(0x296)](_0x30f540);}),this[_0x17a232(0x274)](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x53fbb0=>{const _0x223129=_0x17a232,_0x5ab70e=_0x53fbb0[_0x223129(0x242)];_0x5ab70e!=null&&this[_0x223129(0xa4)]&&_0x53fbb0['id']===_0x5ec733[_0x223129(0xd8)]['id']&&_0x5ab70e[_0x223129(0x14e)]===this[_0x223129(0xf7)]&&_0x5ab70e[_0x223129(0xd2)]===!0x1&&_0x5ab70e[_0x223129(0x17b)][_0x223129(0x22a)]>0x0&&this['_updateLocalCursor'](_0x5ab70e[_0x223129(0x17b)]);})),this[_0x17a232(0x2c3)][_0x17a232(0x184)][_0x17a232(0x122)](_0x1bc390['takeUntil'](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x702a66=>{const _0x4bc186=_0x17a232;if((_0x702a66==null?void 0x0:_0x702a66[_0x4bc186(0xf7)])!==this[_0x4bc186(0xf7)])return;const _0x219ee7={'eventID':_0x529ed4['CollaborationEvent'][_0x4bc186(0xa0)],'data':_0x702a66};this[_0x4bc186(0x1d2)](_0x219ee7);}),this['disposeWithMe'](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x1c9762=>{const _0x5d886c=_0x17a232;if(_0x1c9762['params']==null)return;const _0x2908a5=_0x1c9762[_0x5d886c(0x242)];if(_0x1c9762['id']!==_0x5ec733[_0x5d886c(0xdb)]['id']||_0x2908a5['unitId']!==this[_0x5d886c(0xf7)])return;const _0x30deb0={'id':_0x5d886c(0x2a4),'params':_0x2908a5},_0x1ade33=this['cursorInfo'];for(const [_0x2fc41f,_0xaf01d2]of _0x1ade33){const _0x158a29={'id':_0x5d886c(0x2a4),'params':{'unitId':this[_0x5d886c(0xf7)],'actions':null,'textRanges':_0xaf01d2[_0x5d886c(0x17b)]}},_0x22fb90=this[_0x5d886c(0x2ff)][_0x5d886c(0x19f)](_0x30deb0,_0x158a29,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x22fb90))throw _0x22fb90[_0x5d886c(0x30a)];_0x1ade33[_0x5d886c(0x22e)](_0x2fc41f,{..._0xaf01d2,'ranges':_0x22fb90[_0x5d886c(0x282)][_0x5d886c(0x242)][_0x5d886c(0x203)]});}queueMicrotask(()=>{const _0x4f676a=_0x5d886c;this['_cursorInfo$'][_0x4f676a(0xbe)](_0x1ade33);});})));}[_0x3f93a3(0x1d2)](_0x5d1daf){const _0x999651=_0x3f93a3;var _0x57aafd,_0xd4fa81;const {memberID:_0x48ab82,selection:_0x1d536c}=_0x5d1daf['data'],_0x26f332=_0x3b2e1b(_0x1d536c),_0x61b41a=(_0xd4fa81=(_0x57aafd=this[_0x999651(0x1a4)][_0x999651(0x301)](this['unitID'],_0x48ab82))==null?void 0x0:_0x57aafd[_0x999651(0x305)])!=null?_0xd4fa81:_0x999651(0x1a0),_0x26dd6d={'color':this[_0x999651(0x149)][_0x999651(0x2d3)](_0x48ab82),'name':_0x61b41a,'ranges':_0x26f332},_0x495b08=this[_0x999651(0x29b)];_0x495b08[_0x999651(0x22e)](_0x48ab82,_0x26dd6d),this['_cursorInfo$'][_0x999651(0xbe)](_0x495b08);}[_0x3f93a3(0x296)](_0x178866){const _0x553b4d=_0x3f93a3,{memberID:_0x3e588b}=_0x178866['data'],_0x5dd59b=this[_0x553b4d(0x29b)];_0x5dd59b['delete'](_0x3e588b),this['_cursorInfo$'][_0x553b4d(0xbe)](_0x5dd59b);}['_toggleOnline'](){const _0x246321=_0x3f93a3;var _0x554661;if(this[_0x246321(0xa4)]=!0x0,((_0x554661=this[_0x246321(0x1bd)][_0x246321(0xbf)]())==null?void 0x0:_0x554661[_0x246321(0x26b)]())!==this['unitID'])return;const _0x1761ec=this[_0x246321(0xaf)]['get'](_0x5ec733[_0x246321(0x293)])[_0x246321(0x2f8)]();Array[_0x246321(0x1e9)](_0x1761ec)&&_0x1761ec[_0x246321(0x22a)]>0x0&&this[_0x246321(0x261)](_0x1761ec);}[_0x3f93a3(0xfe)](){const _0x3b5f5f=_0x3f93a3;this[_0x3b5f5f(0xa4)]=!0x1;}};_0x1ee7ee=_0x268c6a([_0x2c7489(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x2c7489(0x3,_0x1def49['Inject'](_0xc01724)),_0x2c7489(0x4,_0x1def49['Inject'](_0x479769['MemberService'])),_0x2c7489(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x3a08fe)),_0x2c7489(0x6,_0x529ed4[_0x3f93a3(0x18a)]),_0x2c7489(0x7,_0x1def49[_0x3f93a3(0xf2)]),_0x2c7489(0x8,_0x1def49['ICommandService'])],_0x1ee7ee);var _0x116097=Object[_0x3f93a3(0x239)],_0x597e1c=(_0x32b941,_0x34d167,_0x11d8b0,_0x1cbe6c)=>{const _0x598398=_0x3f93a3;for(var _0x16a168=_0x1cbe6c>0x1?void 0x0:_0x1cbe6c?_0x116097(_0x34d167,_0x11d8b0):_0x34d167,_0x2cfa00=_0x32b941[_0x598398(0x22a)]-0x1,_0x9f12d8;_0x2cfa00>=0x0;_0x2cfa00--)(_0x9f12d8=_0x32b941[_0x2cfa00])&&(_0x16a168=_0x9f12d8(_0x16a168)||_0x16a168);return _0x16a168;},_0x34183f=(_0x4e8673,_0x5a4ed6)=>(_0x3ad1fd,_0x2034b7)=>_0x5a4ed6(_0x3ad1fd,_0x2034b7,_0x4e8673);const _0x4236b8=0x12c,_0x5a3852=0x64,_0x2b218d=()=>{let _0x283df6=[],_0x3fb795=!0x1;return _0x4066e0=>{const _0x2108a4=_0x242a;_0x283df6[_0x2108a4(0x1b5)](_0x4066e0),_0x3fb795||(_0x3fb795=!0x0,setTimeout(()=>{const _0x139ca9=_0x2108a4;_0x283df6[_0x139ca9(0x2f2)](_0x193f50=>_0x193f50()),_0x283df6=[],_0x3fb795=!0x1;}));};};let _0x3fe2ff=class extends _0x1def49['RxDisposable']{constructor(_0x941db9,_0x2759fb,_0x4f55fd,_0x107f4d,_0x544e54,_0x3c4153,_0x51ad67,_0x402bc7){const _0x2857b1=_0x3f93a3;super(),_0x2d103a(this,_0x2857b1(0xa4),!0x1),_0x2d103a(this,'_init',!0x1),_0x2d103a(this,_0x2857b1(0x12b),new _0x1bc390[(_0x2857b1(0x230))](new Map())),_0x2d103a(this,_0x2857b1(0x2fd),this[_0x2857b1(0x12b)][_0x2857b1(0x228)]()),_0x2d103a(this,'_roomMembers$',new _0x1bc390[(_0x2857b1(0x230))]([])),_0x2d103a(this,'roomMembers$',this[_0x2857b1(0x1a3)]['pipe'](_0x1bc390[_0x2857b1(0x7c)](_0x4236b8))),_0x2d103a(this,_0x2857b1(0x261),_0x1def49[_0x2857b1(0x83)]((_0x503ce3,_0x1acbf6)=>{const _0x250c39=_0x2857b1,_0x25f8b1={'eventID':_0x529ed4[_0x250c39(0x2cd)][_0x250c39(0xa0)],'data':{'unitID':this[_0x250c39(0xf7)],'memberID':this[_0x250c39(0x160)][_0x250c39(0x2d2)](),'selection':_0x506429['serializeRangeWithSheet'](_0x503ce3,_0x1acbf6[_0x250c39(0x127)])}};this[_0x250c39(0x160)]['send'](_0x25f8b1,this['unitID']);},_0x5a3852)),(this[_0x2857b1(0xf7)]=_0x941db9,this[_0x2857b1(0x160)]=_0x2759fb,this[_0x2857b1(0xaf)]=_0x4f55fd,this[_0x2857b1(0x149)]=_0x107f4d,this['_memberService']=_0x544e54,this[_0x2857b1(0x1bd)]=_0x3c4153,this[_0x2857b1(0x170)]=_0x51ad67,this[_0x2857b1(0x15a)]=_0x402bc7);}get['cursorInfo'](){const _0x263f43=_0x3f93a3;return this['_cursorInfo$'][_0x263f43(0x164)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x44cc8f=_0x3f93a3;super[_0x44cc8f(0x193)](),this[_0x44cc8f(0x12b)]['next'](new Map()),this['_cursorInfo$'][_0x44cc8f(0x237)](),this[_0x44cc8f(0x1a3)][_0x44cc8f(0xbe)]([]),this['_roomMembers$'][_0x44cc8f(0x237)]();}[_0x3f93a3(0x106)](){const _0x35247a=_0x3f93a3;this['_init']||(this['_init']=!0x0,this[_0x35247a(0x160)][_0x35247a(0xa5)][_0x35247a(0x122)](_0x1bc390['takeUntil'](this[_0x35247a(0x13e)]))[_0x35247a(0x1a5)](_0x463d6f=>{const _0x313abb=_0x35247a;_0x463d6f===_0x479769['SessionStatus'][_0x313abb(0x1df)]?this['_toggleOnline']():this[_0x313abb(0xfe)]();}),this[_0x35247a(0x160)][_0x35247a(0xbd)][_0x35247a(0x122)](_0x1bc390[_0x35247a(0x2e4)](this[_0x35247a(0x13e)]))['subscribe'](_0x1a6954=>{const _0x4e3679=_0x35247a,_0x5e55b7=_0x1a6954[_0x4e3679(0xc5)];_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['UPDATE_CURSOR']&&this[_0x4e3679(0x1d2)](_0x1a6954),_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1a6954);}),this[_0x35247a(0x281)](),this['disposeWithMe'](this['_commandService'][_0x35247a(0x10c)](_0x19f9b2=>{const _0x572088=_0x35247a;if(this['_online']&&_0x19f9b2['id']===_0x218759[_0x572088(0xe0)]['id']&&_0x19f9b2[_0x572088(0x242)][_0x572088(0x14e)]===this[_0x572088(0xf7)]){const _0x565e97=_0x19f9b2[_0x572088(0x242)];this['_updateLocalCursor'](_0x565e97['subUnitId'],_0x565e97[_0x572088(0x25b)][0x0]);}})));}[_0x3f93a3(0x1d2)](_0x2385fb){const _0x3aa0da=_0x3f93a3;var _0x2cf0fc,_0x19d5a9;const {memberID:_0x2bccc8,selection:_0x2933d0}=_0x2385fb['data'],{sheetName:_0x4e4c72,range:_0xc28510}=_0x506429['deserializeRangeWithSheet'](_0x2933d0),_0x4e35df={'name':(_0x19d5a9=(_0x2cf0fc=this[_0x3aa0da(0x1a4)][_0x3aa0da(0x301)](this[_0x3aa0da(0xf7)],_0x2bccc8))==null?void 0x0:_0x2cf0fc[_0x3aa0da(0x305)])!=null?_0x19d5a9:_0x3aa0da(0x1a0),'range':this[_0x3aa0da(0x307)](_0x4e4c72,_0xc28510),'sheetID':_0x4e4c72,'color':this[_0x3aa0da(0x149)]['assignAColorForMemberID'](_0x2bccc8),'selection':_0x2933d0},_0x1b43c5=this['cursorInfo'];_0x1b43c5[_0x3aa0da(0x22e)](_0x2bccc8,_0x4e35df),this[_0x3aa0da(0x12b)]['next'](_0x1b43c5);}[_0x3f93a3(0x296)](_0x56d818){const _0x2ac788=_0x3f93a3,{memberID:_0x416d25}=_0x56d818[_0x2ac788(0x15f)],_0x417956=this[_0x2ac788(0x29b)];_0x417956['delete'](_0x416d25),this[_0x2ac788(0x12b)][_0x2ac788(0xbe)](_0x417956);}[_0x3f93a3(0x307)](_0x3a975c,_0x1f74c2){const _0x1fc80b=_0x3f93a3;var _0x43d59c,_0x14c18c;const _0x10de12=(_0x14c18c=(_0x43d59c=this[_0x1fc80b(0x1bd)][_0x1fc80b(0x2a8)](this[_0x1fc80b(0xf7)]))==null?void 0x0:_0x43d59c['getSheetBySheetId'](_0x3a975c))==null?void 0x0:_0x14c18c[_0x1fc80b(0x185)]();return(_0x10de12==null?void 0x0:_0x10de12[_0x1fc80b(0x262)](_0x4c4eb0=>_0x1def49[_0x1fc80b(0xe9)][_0x1fc80b(0x1cc)](_0x4c4eb0,_0x1f74c2)))||_0x1f74c2;}[_0x3f93a3(0x281)](){const _0x316142=_0x3f93a3,_0x2935e7=new _0x1def49[(_0x316142(0x27a))](),_0x57a957=_0x2b218d(),_0x500cf0=()=>{const _0x3df310=_0x316142;_0x2935e7[_0x3df310(0x193)]();const _0x2731ae=(_0x307ce6,_0x499b50,_0x1bd7aa,_0x43766a)=>{const _0x4c819a=_0x3df310;let _0x24896b=[];switch(_0x307ce6['id']){case _0x218759[_0x4c819a(0x10b)]['DeleteRangeMoveLeftCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x12a)](_0x307ce6,_0x43766a);break;}case _0x218759['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x181)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xae)]:{_0x24896b=_0x218759[_0x4c819a(0x29a)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x131)]:{_0x24896b=_0x218759[_0x4c819a(0x196)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1f6)]:{_0x24896b=_0x218759[_0x4c819a(0x2dd)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1e2)]:{_0x24896b=_0x218759[_0x4c819a(0x236)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xbc)]:{_0x24896b=_0x218759[_0x4c819a(0x2c6)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xfc)]:{_0x24896b=_0x218759['handleIRemoveCol'](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xe4)]:{_0x24896b=_0x218759['handleIRemoveRow'](_0x307ce6,_0x43766a);break;}}const _0x4310ef=_0x218759[_0x4c819a(0x20c)](_0x24896b,_0x43766a),_0x238b0e=this[_0x4c819a(0x29b)][_0x4c819a(0x17c)](_0x499b50);if(_0x238b0e&&_0x4310ef){const _0x3b0a27={..._0x238b0e,'range':_0x4310ef};this[_0x4c819a(0x29b)]['set'](_0x499b50,_0x3b0a27),_0x57a957(()=>{const _0x24a576=_0x4c819a,_0x272033=this[_0x24a576(0x15a)][_0x24a576(0x15d)](_0x4310ef,_0x59d298=>(_0x272033[_0x24a576(0x193)](),_0x2731ae(_0x59d298,_0x499b50,_0x1bd7aa,_0x4310ef)));_0x2935e7[_0x24a576(0x146)](_0x272033);});}return{'redos':[],'undos':[]};};this[_0x3df310(0x29b)][_0x3df310(0x2f2)]((_0xc25ffa,_0x32db29)=>{const _0x338179=_0x3df310,{range:_0x3beb81,sheetID:_0x2aadf5}=_0xc25ffa,_0x465c8d=this[_0x338179(0x15a)][_0x338179(0x15d)](_0x3beb81,_0x5b83b1=>(_0x465c8d[_0x338179(0x193)](),_0x2731ae(_0x5b83b1,_0x32db29,_0x2aadf5,_0x3beb81)));_0x2935e7[_0x338179(0x146)](_0x465c8d);});};this[_0x316142(0x274)](_0x1def49['toDisposable'](this['_cursorInfo$'][_0x316142(0x1a5)](()=>{_0x500cf0();})));}[_0x3f93a3(0x224)](){const _0x4caeec=_0x3f93a3;var _0x4f94f9,_0x3d44a0;if(this[_0x4caeec(0xa4)]=!0x0,((_0x4f94f9=this[_0x4caeec(0x1bd)][_0x4caeec(0xbf)]())==null?void 0x0:_0x4f94f9['getUnitId']())!==this['unitID'])return;const _0x30f7c6=(_0x3d44a0=this[_0x4caeec(0xaf)][_0x4caeec(0x17c)](_0x218759[_0x4caeec(0x19e)])['getCurrentSelections']())==null?void 0x0:_0x3d44a0[0x0],_0x18083b=this[_0x4caeec(0x1bd)][_0x4caeec(0x312)](_0x1def49['UniverInstanceType'][_0x4caeec(0x134)])[_0x4caeec(0x2c9)]();_0x30f7c6&&_0x18083b&&this[_0x4caeec(0x261)](_0x18083b[_0x4caeec(0xe7)](),_0x30f7c6);}[_0x3f93a3(0xfe)](){const _0x290b6d=_0x3f93a3;this[_0x290b6d(0xa4)]=!0x1;}};_0x3fe2ff=_0x597e1c([_0x34183f(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x34183f(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xc01724)),_0x34183f(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x290)])),_0x34183f(0x5,_0x1def49['IUniverInstanceService']),_0x34183f(0x6,_0x1def49[_0x3f93a3(0x19d)]),_0x34183f(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x218759['RefRangeService']))],_0x3fe2ff);var _0x592692=Object[_0x3f93a3(0x239)],_0x87c699=(_0x3a9f8d,_0xf2ae2a,_0x3a84e5,_0x41a50e)=>{const _0x20514f=_0x3f93a3;for(var _0x3cd75c=_0x41a50e>0x1?void 0x0:_0x41a50e?_0x592692(_0xf2ae2a,_0x3a84e5):_0xf2ae2a,_0x1f8906=_0x3a9f8d[_0x20514f(0x22a)]-0x1,_0x554ca9;_0x1f8906>=0x0;_0x1f8906--)(_0x554ca9=_0x3a9f8d[_0x1f8906])&&(_0x3cd75c=_0x554ca9(_0x3cd75c)||_0x3cd75c);return _0x3cd75c;},_0x3fcfbb=(_0x58642e,_0x2ededc)=>(_0x2c90c3,_0x57837c)=>_0x2ededc(_0x2c90c3,_0x57837c,_0x58642e);let _0x44815e=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xf3ef92,_0x2b1d67,_0x50a07b){const _0x88b0df=_0x3f93a3;super(),_0x2d103a(this,_0x88b0df(0x315),new Map()),_0x2d103a(this,_0x88b0df(0x24b),new _0x1bc390['Subject']()),(this[_0x88b0df(0x1bd)]=_0xf3ef92,this[_0x88b0df(0xaf)]=_0x2b1d67,this[_0x88b0df(0x216)]=_0x50a07b,this[_0x88b0df(0xb0)]());}[_0x3f93a3(0x193)](){const _0x268ba7=_0x3f93a3;super['dispose'](),this['_entityInit$']['complete'](),this[_0x268ba7(0x315)]['forEach'](_0x2365b0=>_0x2365b0[_0x268ba7(0x193)]());}[_0x3f93a3(0x2fa)](_0x5b287f){const _0x421909=_0x3f93a3;return this[_0x421909(0x315)][_0x421909(0x2c7)](_0x5b287f)?this[_0x421909(0x315)][_0x421909(0x17c)](_0x5b287f)[_0x421909(0x2fd)]:this[_0x421909(0x24b)][_0x421909(0x122)](_0x1bc390['filter'](_0x146d4a=>_0x146d4a[_0x421909(0xf7)]===_0x5b287f),_0x1bc390['switchMap'](_0x39b3cd=>_0x39b3cd[_0x421909(0x2fd)]));}['_init'](){const _0x30b6df=_0x3f93a3;this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)]['UNIVER_SHEET'])[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](async _0x249b7b=>{const _0x4e404e=_0x30b6df,_0x249e02=_0x249b7b[_0x4e404e(0x26b)](),_0x4e1045=await this[_0x4e404e(0x2f7)](_0x249e02);this[_0x4e404e(0x24b)]['next'](_0x4e1045),this[_0x4e404e(0x315)]['set'](_0x249e02,_0x4e1045);}),this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)][_0x30b6df(0x125)])['pipe'](_0x1bc390[_0x30b6df(0x2e4)](this[_0x30b6df(0x13e)]))[_0x30b6df(0x122)](_0x1bc390[_0x30b6df(0xba)](_0x5a9a47=>!_0x5a9a47[_0x30b6df(0x26b)]()[_0x30b6df(0x284)]('__')))[_0x30b6df(0x1a5)](async _0x1667e9=>{const _0x4fa3f7=_0x30b6df,_0xd6da=_0x1667e9['getUnitId'](),_0x3e3898=await this[_0x4fa3f7(0x1a7)](_0xd6da);this[_0x4fa3f7(0x24b)][_0x4fa3f7(0xbe)](_0x3e3898),this[_0x4fa3f7(0x315)]['set'](_0xd6da,_0x3e3898);}),_0x1bc390[_0x30b6df(0x26d)](this['_univerInstanceService'][_0x30b6df(0x231)](_0x1def49['UniverInstanceType'][_0x30b6df(0x125)]),this[_0x30b6df(0x1bd)]['getTypeOfUnitDisposed$'](_0x1def49['UniverInstanceType'][_0x30b6df(0x134)]))[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](_0x588d95=>{const _0x44c96d=_0x30b6df,_0x2bbc0f=_0x588d95[_0x44c96d(0x26b)](),_0x273ad3=this['_entities'][_0x44c96d(0x17c)](_0x2bbc0f);_0x273ad3&&(_0x273ad3[_0x44c96d(0x193)](),this['_entities'][_0x44c96d(0xd5)](_0x2bbc0f));});}async[_0x3f93a3(0x2f7)](_0x3111b2){const _0x14fddd=_0x3f93a3,_0x16dffb=await this[_0x14fddd(0x216)][_0x14fddd(0x1e1)](_0x3111b2),_0x147618=this[_0x14fddd(0xaf)][_0x14fddd(0x18e)](_0x3fe2ff,_0x3111b2,_0x16dffb);return _0x147618['init'](),_0x147618;}async[_0x3f93a3(0x1a7)](_0x45321a){const _0x4c0dfe=_0x3f93a3,_0x505c57=await this[_0x4c0dfe(0x216)]['requireSession'](_0x45321a),_0x25f2b3=this[_0x4c0dfe(0xaf)]['createInstance'](_0x1ee7ee,_0x45321a,_0x505c57);return _0x25f2b3[_0x4c0dfe(0x106)](),_0x25f2b3;}};_0x44815e=_0x87c699([_0x3fcfbb(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x3fcfbb(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x3fcfbb(0x2,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1ca)]))],_0x44815e);const _0x564637=0x14,_0x31c080=0xc8,_0x5eac8d=0x4,_0x175f1f=0x5;function _0x135051(_0x39e5ee,_0x3318b8){const _0x1e51b5=_0x3f93a3;let {radius:_0x128eb4,width:_0x80a8,height:_0x84c4a5}=_0x3318b8;_0x128eb4=_0x128eb4!=null?_0x128eb4:0x0,_0x80a8=_0x80a8!=null?_0x80a8:0x1e,_0x84c4a5=_0x84c4a5!=null?_0x84c4a5:0x1e;let _0x330c48=0x0,_0xc8955a=0x0,_0x4ce58f=0x0;_0x330c48=_0xc8955a=_0x4ce58f=Math['min'](_0x128eb4,_0x80a8/0x2,_0x84c4a5/0x2),_0x39e5ee[_0x1e51b5(0x11c)](),_0x39e5ee[_0x1e51b5(0x79)](_0x330c48,0x0),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8-_0xc8955a,0x0),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0xc8955a,_0xc8955a,_0xc8955a,Math['PI']*0x3/0x2,0x0,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8,_0x84c4a5-_0x4ce58f),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0x4ce58f,_0x84c4a5-_0x4ce58f,_0x4ce58f,0x0,Math['PI']/0x2,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x84c4a5),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x330c48),_0x39e5ee[_0x1e51b5(0x28a)](_0x330c48,_0x330c48,_0x330c48,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39e5ee['closePath'](),_0x3318b8[_0x1e51b5(0x9a)]&&(_0x39e5ee[_0x1e51b5(0x1a2)](),_0x39e5ee[_0x1e51b5(0x2ce)]=_0x3318b8['fill'],_0x3318b8[_0x1e51b5(0x1ea)]==='evenodd'?_0x39e5ee[_0x1e51b5(0x9a)](_0x1e51b5(0x13a)):_0x39e5ee['fill'](),_0x39e5ee['restore']());}class _0x1995c7 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x5612d0,_0xafca90){const _0x5c2368=_0x3f93a3;super(_0x5612d0,_0xafca90),_0x2d103a(this,_0x5c2368(0x12f)),_0x2d103a(this,_0x5c2368(0x9f)),(this['color']=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x12f)],this[_0x5c2368(0x9f)]=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x9f)]);}static[_0x3f93a3(0xdd)](_0x1077a5,_0x4a74df){const _0x184405=_0x3f93a3,{text:_0x5c6353,color:_0x407730}=_0x4a74df;_0x1077a5[_0x184405(0x1a2)](),_0x1077a5[_0x184405(0x233)]=_0x184405(0x2e1);const _0x9c1125=_0x1077a5[_0x184405(0x28d)](_0x5c6353)[_0x184405(0xea)],_0x439e7b=Math[_0x184405(0x219)](_0x9c1125+0x2*_0x5eac8d,_0x31c080);_0x135051(_0x1077a5,{'height':_0x564637,'radius':0x4,'width':_0x439e7b,'fill':_0x407730}),_0x1077a5[_0x184405(0x2ce)]=_0x184405(0x82);const _0xaaf016=_0x5eac8d,_0x27d83d=_0x564637-_0x175f1f,_0x58d736=_0x31c080-0x2*_0x5eac8d;if(_0x9c1125>_0x58d736){let _0x5e913c='',_0x5de62c=0x0;for(const _0x5e51f1 of _0x5c6353){const _0x46ed1d=_0x1077a5['measureText'](_0x5e51f1)[_0x184405(0xea)];if(_0x5de62c+_0x46ed1d<=_0x58d736-_0x1077a5[_0x184405(0x28d)](_0x184405(0x271))[_0x184405(0xea)])_0x5e913c+=_0x5e51f1,_0x5de62c+=_0x46ed1d;else{_0x5e913c+='...';break;}}_0x1077a5['fillText'](_0x5e913c,_0xaaf016,_0x27d83d);}else _0x1077a5['fillText'](_0x5c6353,_0xaaf016,_0x27d83d);_0x1077a5[_0x184405(0x1d6)]();}[_0x3f93a3(0x118)](_0x228885){_0x1995c7['drawWith'](_0x228885,this);}}const _0x22cea3=_0x3f93a3(0x310),_0x3510f7=_0x3f93a3(0x292),_0x4c3574='collab-rect-range-',_0x215561=0x6,_0x325cea=1.5,_0x1992f9=0x4,_0x168893=1.5,_0x3c7d18=_0x3f93a3(0x21d);class _0x6e6bc{constructor(_0x2a548e,_0x214890,_0x4e04da,_0x3f5974){const _0x166719=_0x3f93a3;_0x2d103a(this,_0x166719(0x2b4),[]),_0x2d103a(this,_0x166719(0x23a),null),_0x2d103a(this,_0x166719(0x211),null),_0x2d103a(this,_0x166719(0x1ae),null),_0x2d103a(this,'_hideTimer',null),_0x2d103a(this,_0x166719(0x2e0),null),(this[_0x166719(0x2e3)]=_0x2a548e,this['_scene']=_0x214890,this[_0x166719(0x13b)]=_0x4e04da,this['_document']=_0x3f5974,this[_0x166719(0x1b3)]());}set['_hover'](_0x18c4d6){const _0x45c8ab=_0x3f93a3;_0x18c4d6?(this[_0x45c8ab(0x1ae)]&&this[_0x45c8ab(0x1ae)]['hide'](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xc9)]()):(this[_0x45c8ab(0x1ae)]&&this['_anchorDot'][_0x45c8ab(0xc9)](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xfd)]());}['dispose'](){const _0xd4936b=_0x3f93a3;for(const _0x28ef9f of this[_0xd4936b(0x2b4)])_0x28ef9f[_0xd4936b(0x193)]();this[_0xd4936b(0x211)]&&this[_0xd4936b(0x211)]['dispose'](),this[_0xd4936b(0x1ae)]&&this[_0xd4936b(0x1ae)]['dispose'](),this[_0xd4936b(0x23a)]&&this['_anchor'][_0xd4936b(0x193)](),this[_0xd4936b(0x2e0)]&&this[_0xd4936b(0x2e0)]();}[_0x3f93a3(0x1b3)](){const _0x97a4f1=_0x3f93a3;var _0x329928;const {_docSkeleton:_0x5e019e,_document:_0x2d3703}=this,{color:_0x3aa1b1,name:_0x1c2814,ranges:_0x41aa40}=this['_cursor'],_0x11b7c1=_0x2d3703[_0x97a4f1(0xb9)](),{docsLeft:_0x1f4fd7,docsTop:_0x1903eb}=_0x11b7c1,_0x49e837=new _0x38c4f6[(_0x97a4f1(0xfb))](_0x11b7c1,_0x5e019e);for(const {startOffset:_0x7c2ed3,endOffset:_0x35086b,rangeType:_0x1666e0,segmentId:_0x4570ae,segmentPage:_0x3e8700,collapsed:_0xa0f6ed,isActive:_0x366bdf}of _0x41aa40){const _0x21194d=_0x5e019e[_0x97a4f1(0xc1)](_0x7c2ed3,!0x0,_0x4570ae,_0x3e8700);let _0x36642a=_0x5e019e['findNodePositionByCharIndex'](_0x35086b,!0x0,_0x4570ae,_0x3e8700);if(_0x36642a==null&&(_0x36642a=_0x5e019e[_0x97a4f1(0xc1)](_0x35086b-0x1,!0x1,_0x4570ae,_0x3e8700)),_0x366bdf){const {contentBoxPointGroup:_0x27ceba}=_0x49e837[_0x97a4f1(0x250)](_0x36642a,_0x36642a);if(_0x27ceba['length']===0x0)continue;this['_drawAnchor'](_0x3aa1b1,_0x27ceba,_0x1f4fd7,_0x1903eb,_0x1c2814),this[_0x97a4f1(0x2e0)]=this[_0x97a4f1(0x1fa)]();}if(_0x21194d&&_0x36642a){if(_0x1666e0===_0x1def49[_0x97a4f1(0x162)][_0x97a4f1(0x1b4)]){const _0x48ccde=new _0x38c4f6[(_0x97a4f1(0x2a3))](_0x11b7c1,_0x5e019e),{pointGroup:_0x28509b}=(_0x329928=_0x48ccde['getRangePointData'](_0x21194d,_0x36642a))!=null?_0x329928:{};if(_0x28509b==null||_0x28509b['length']===0x0)continue;this[_0x97a4f1(0x1bb)](_0x3aa1b1,_0x28509b,_0x1f4fd7,_0x1903eb);}else{if(!_0xa0f6ed){const {borderBoxPointGroup:_0x4e4359}=_0x49e837[_0x97a4f1(0x250)](_0x21194d,_0x36642a);if(_0x4e4359[_0x97a4f1(0x22a)]===0x0)continue;this[_0x97a4f1(0x2e9)](_0x3aa1b1,_0x4e4359,_0x1f4fd7,_0x1903eb);}}}}}['_drawAnchor'](_0x3a4553,_0x193004,_0x3c0162,_0x5c278e,_0x7fb4eb){const _0xd3cd6f=_0x3f93a3,_0x2fbc35=this[_0xd3cd6f(0x254)](_0x193004),{left:_0x2d9ad8,top:_0xb2ea11,height:_0x57d114}=_0x2fbc35,_0x349e6c=this['_getScale'](),_0x5e4e87=_0x168893/_0x349e6c,_0x51219f=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)]['generateRandomId'](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e,'height':_0x57d114,'width':_0x325cea,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS']['black'],0x0),'strokeWidth':_0x5e4e87,'stroke':_0x3c7d18,'evented':!0x0});this[_0xd3cd6f(0x23a)]=_0x51219f,this[_0xd3cd6f(0x238)]['addObject'](_0x51219f,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4637fe=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x1992f9/0x2,'height':_0x1992f9,'width':_0x1992f9,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49[_0xd3cd6f(0x103)][_0xd3cd6f(0xcb)],0x0),'strokeWidth':0x0,'stroke':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS'][_0xd3cd6f(0xcb)],0x0),'evented':!0x1});this[_0xd3cd6f(0x1ae)]=_0x4637fe,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4637fe,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4c80b5=new _0x1995c7(_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x564637,'text':_0x7fb4eb,'color':_0x3a4553});this[_0xd3cd6f(0x211)]=_0x4c80b5,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4c80b5,_0x38c4f6[_0xd3cd6f(0x22d)]),this[_0xd3cd6f(0xf1)]=!0x1;}['_handleHover'](){const _0x36e9e7=_0x3f93a3,_0x2cfa81=this['_anchor'][_0x36e9e7(0x195)][_0x36e9e7(0x10f)](()=>{const _0x365f30=_0x36e9e7;this[_0x365f30(0xf1)]=!0x0;}),_0x427bac=this[_0x36e9e7(0x23a)][_0x36e9e7(0x91)][_0x36e9e7(0x10f)](()=>{const _0x3ac82d=_0x36e9e7;this[_0x3ac82d(0x275)]&&clearTimeout(this[_0x3ac82d(0x275)]),this[_0x3ac82d(0x275)]=setTimeout(()=>{const _0x3b7dc3=_0x3ac82d;this[_0x3b7dc3(0xf1)]=!0x1;},0x7d0);});return()=>{const _0x9071ff=_0x36e9e7;_0x2cfa81[_0x9071ff(0x151)](),_0x427bac[_0x9071ff(0x151)]();};}['_drawTextRange'](_0x430fa5,_0x56cccd,_0x11e203,_0x2dff2c){const _0x23f797=_0x3f93a3,_0x587a54=new _0x1def49[(_0x23f797(0x141))](_0x430fa5)[_0x23f797(0x2de)](0.2)[_0x23f797(0x28e)](),_0x4bb3ae=new _0x451005[(_0x23f797(0x25f))](_0x3510f7+_0x1def49[_0x23f797(0x20e)][_0x23f797(0x86)](_0x215561),{'pointsGroup':_0x56cccd,'fill':_0x587a54||_0x451005[_0x23f797(0x166)](_0x1def49[_0x23f797(0x103)][_0x23f797(0xcb)],0.2),'left':_0x11e203,'top':_0x2dff2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23f797(0x2b4)][_0x23f797(0x1b5)](_0x4bb3ae),this[_0x23f797(0x238)][_0x23f797(0x22f)](_0x4bb3ae,_0x38c4f6[_0x23f797(0x22d)]);}['_drawRectRange'](_0x58f7f7,_0x22903c,_0x5e8cc7,_0x35f2f0){const _0x5d1c86=_0x3f93a3,_0x16abcc=new _0x1def49[(_0x5d1c86(0x141))](_0x58f7f7)['setAlpha'](0.2)[_0x5d1c86(0x28e)](),_0x390af6=new _0x451005[(_0x5d1c86(0x25f))](_0x4c3574+_0x1def49[_0x5d1c86(0x20e)]['generateRandomId'](_0x215561),{'pointsGroup':_0x22903c,'fill':_0x16abcc||_0x451005[_0x5d1c86(0x166)](_0x1def49[_0x5d1c86(0x103)]['black'],0.2),'left':_0x5e8cc7,'top':_0x35f2f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d1c86(0x2b4)][_0x5d1c86(0x1b5)](_0x390af6),this[_0x5d1c86(0x238)]['addObject'](_0x390af6,_0x38c4f6[_0x5d1c86(0x22d)]);}[_0x3f93a3(0x254)](_0x1002d9){const _0x554eda=_0x1002d9[0x0],_0x29e119=_0x554eda[0x0],_0x469161=_0x554eda[0x2],{x:_0x4517e6,y:_0x436647}=_0x29e119,{x:_0x2c4a37,y:_0x116c80}=_0x469161;return{'left':_0x4517e6,'top':_0x436647,'width':_0x2c4a37-_0x4517e6,'height':_0x116c80-_0x436647};}[_0x3f93a3(0x295)](){const _0x16cb47=_0x3f93a3,{scaleX:_0x78722c,scaleY:_0xfb43e}=this[_0x16cb47(0x238)][_0x16cb47(0x24c)]();return Math[_0x16cb47(0x2ab)](_0x78722c,_0xfb43e);}}var _0x38f3f2=Object[_0x3f93a3(0x239)],_0x53afb=(_0x72c903,_0x3dc9c8,_0x55dc46,_0x360103)=>{for(var _0x4796f0=_0x360103>0x1?void 0x0:_0x360103?_0x38f3f2(_0x3dc9c8,_0x55dc46):_0x3dc9c8,_0x456fd3=_0x72c903['length']-0x1,_0x4a29af;_0x456fd3>=0x0;_0x456fd3--)(_0x4a29af=_0x72c903[_0x456fd3])&&(_0x4796f0=_0x4a29af(_0x4796f0)||_0x4796f0);return _0x4796f0;},_0xc56790=(_0x1f23ab,_0x4cafcd)=>(_0x4ad8fe,_0x1d226c)=>_0x4cafcd(_0x4ad8fe,_0x1d226c,_0x1f23ab);let _0x12384c=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xae3d92,_0x3447c7,_0x5144eb,_0x5447cb,_0x5249c8){const _0x2e04fe=_0x3f93a3;super(),_0x2d103a(this,_0x2e04fe(0x183),[]),_0x2d103a(this,'_cursors',[]),(this['_context']=_0xae3d92,this[_0x2e04fe(0x126)]=_0x3447c7,this[_0x2e04fe(0x111)]=_0x5144eb,this['_commandService']=_0x5447cb,this[_0x2e04fe(0xa8)]=_0x5249c8,this[_0x2e04fe(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x31cc9b=_0x3f93a3,_0x56c7cd=this['_context'][_0x31cc9b(0x14e)],_0x28b415=this['_docSkeletonManagerService'];this[_0x31cc9b(0x274)](_0x1bc390[_0x31cc9b(0x153)]([this[_0x31cc9b(0x111)]['getCollabCursors$'](_0x56c7cd),this[_0x31cc9b(0xa8)][_0x31cc9b(0x2af)]])['pipe'](_0x4ab621[_0x31cc9b(0x2bb)](([_0x5d828c,_0x151d29])=>({'skeleton':_0x28b415[_0x31cc9b(0x154)](),'cursors':[..._0x5d828c[_0x31cc9b(0x2ae)]()][_0x31cc9b(0x221)](_0x5c0a49=>({..._0x5c0a49,'color':this[_0x31cc9b(0xa8)][_0x31cc9b(0x85)](_0x5c0a49[_0x31cc9b(0x12f)])}))})))['subscribe'](_0x13d4cc=>{const _0x32f836=_0x31cc9b;if(this[_0x32f836(0x81)](),_0x13d4cc){const {skeleton:_0x498174,cursors:_0x612fdc}=_0x13d4cc;this['_updateCollabCursors'](_0x498174,_0x612fdc);}})),this[_0x31cc9b(0x313)](),this[_0x31cc9b(0x2c1)]();}[_0x3f93a3(0x20f)](_0x10d1b1,_0x22a39f){const _0x4dd193=_0x3f93a3,{scene:_0x21702e,mainComponent:_0x2be3ee}=this['_context'],_0x3b9f63=_0x22a39f['map'](_0x162d19=>new _0x6e6bc(_0x162d19,_0x21702e,_0x10d1b1,_0x2be3ee));this[_0x4dd193(0x183)]=_0x3b9f63,this['_cursors']=_0x22a39f;}[_0x3f93a3(0x1d3)](){const _0x28a1c8=_0x3f93a3;this['_removeCollabCursors']();const {scene:_0xfe7c6f,mainComponent:_0x3c272c}=this[_0x28a1c8(0xa2)],_0x19f031=this[_0x28a1c8(0x126)][_0x28a1c8(0x154)](),_0x1ae8d3=this[_0x28a1c8(0x27f)]['map'](_0x2bd131=>new _0x6e6bc(_0x2bd131,_0xfe7c6f,_0x19f031,_0x3c272c));this['_cursorShapes']=_0x1ae8d3;}[_0x3f93a3(0x81)](){const _0x37e282=_0x3f93a3;this[_0x37e282(0x183)][_0x37e282(0x2f2)](_0x3faae4=>_0x3faae4[_0x37e282(0x193)]()),this[_0x37e282(0x183)]=[];}[_0x3f93a3(0x2c1)](){const _0x4b2e49=_0x3f93a3,_0x48c707=[_0x38c4f6[_0x4b2e49(0x150)]['id']];this['disposeWithMe'](this[_0x4b2e49(0x170)]['onCommandExecuted'](_0x3408bd=>{const _0x51a6e6=_0x4b2e49;_0x48c707[_0x51a6e6(0x110)](_0x3408bd['id'])&&_0x3408bd[_0x51a6e6(0x242)]['unitId']===this[_0x51a6e6(0xa2)][_0x51a6e6(0x14e)]&&this[_0x51a6e6(0x1d3)]();}));}[_0x3f93a3(0x313)](){const _0x3d5576=_0x3f93a3;this['disposeWithMe'](_0x1def49['fromEventSubject'](this[_0x3d5576(0xa2)][_0x3d5576(0x2cf)][_0x3d5576(0x24e)])[_0x3d5576(0x122)](_0x4ab621[_0x3d5576(0xba)](_0x50054a=>_0x50054a['type']===_0x451005[_0x3d5576(0x286)][_0x3d5576(0x2f5)]),_0x4ab621[_0x3d5576(0x2c4)](0x10))[_0x3d5576(0x1a5)](()=>{const _0x857096=_0x3d5576;this[_0x857096(0x1d3)]();}));}};_0x12384c=_0x53afb([_0xc56790(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5ec733[_0x3f93a3(0x2d8)])),_0xc56790(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0xc56790(0x3,_0x1def49[_0x3f93a3(0x19d)]),_0xc56790(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0x12384c);const _0x5d5f6c=0x1,_0x57dca7=1.5;class _0x57f453 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x970509,_0xbebc3b){const _0x30cba2=_0x3f93a3;super(_0x970509,_0xbebc3b),_0x2d103a(this,_0x30cba2(0x245)),_0x2d103a(this,_0x30cba2(0x1c1),!0x1),_0x2d103a(this,_0x30cba2(0x17a)),_0x2d103a(this,_0x30cba2(0x21e),''),_0x2d103a(this,_0x30cba2(0x1c6),_0x30cba2(0x89)),_0x2d103a(this,_0x30cba2(0x13c)),(_0xbebc3b&&this[_0x30cba2(0x2b3)](_0xbebc3b),this[_0x30cba2(0x195)][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x1})));}[_0x3f93a3(0x2b3)](_0x4478bc){const _0x1f0321=_0x3f93a3;var _0x4da905,_0x465af9,_0x5b59f2,_0x57f0b6,_0x40d6cf,_0x57545e;this[_0x1f0321(0x245)]=(_0x4da905=_0x4478bc['color'])!=null?_0x4da905:this[_0x1f0321(0x245)],this[_0x1f0321(0x1c1)]=(_0x465af9=_0x4478bc[_0x1f0321(0x8f)])!=null?_0x465af9:this[_0x1f0321(0x1c1)],this[_0x1f0321(0x17a)]=(_0x5b59f2=_0x4478bc[_0x1f0321(0x127)])!=null?_0x5b59f2:this['_range'],this['_name']=(_0x57f0b6=_0x4478bc['name'])!=null?_0x57f0b6:this['_name'],this[_0x1f0321(0x1c6)]=(_0x40d6cf=_0x4478bc[_0x1f0321(0x8b)])!=null?_0x40d6cf:this[_0x1f0321(0x1c6)],this[_0x1f0321(0x13c)]=(_0x57545e=_0x4478bc[_0x1f0321(0x24a)])!=null?_0x57545e:this[_0x1f0321(0x13c)],this[_0x1f0321(0x187)]({'width':_0x4478bc['width'],'height':_0x4478bc[_0x1f0321(0x27c)]});}[_0x3f93a3(0xe2)](_0x496894){const _0x1bf54b=_0x3f93a3,{row:_0x18a6cf,column:_0x3f018f}=_0x496894;if(_0x18a6cf>=this['_range'][_0x1bf54b(0x142)]&&_0x18a6cf<=this[_0x1bf54b(0x17a)][_0x1bf54b(0x1b7)]&&_0x3f018f>=this['_range'][_0x1bf54b(0x19c)]&&_0x3f018f<=this[_0x1bf54b(0x17a)]['endColumn']){this[_0x1bf54b(0x2b3)]({'hovered':!0x0});return;}this[_0x1bf54b(0x2b3)]({'hovered':!0x1});}[_0x3f93a3(0x258)](_0x556b3e){return!0x1;}[_0x3f93a3(0x118)](_0x530cc3){const _0x40789d=_0x3f93a3;_0x451005[_0x40789d(0x278)][_0x40789d(0xdd)](_0x530cc3,{'width':this[_0x40789d(0xea)],'height':this['height'],'strokeWidth':_0x57dca7,'stroke':this[_0x40789d(0x245)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x40789d(0x1c1)]&&(_0x530cc3[_0x40789d(0x1a2)](),_0x530cc3['transform'](0x1,0x0,0x0,0x1,this[_0x40789d(0xea)],this[_0x40789d(0x1c6)]===_0x40789d(0xd6)?0x0:-0x14),_0x1995c7[_0x40789d(0xdd)](_0x530cc3,{'text':this['_name'],'color':this[_0x40789d(0x245)]}),_0x530cc3[_0x40789d(0x1d6)]());}}var _0x12c4b3=Object[_0x3f93a3(0x239)],_0x5dfd55=(_0x58d13d,_0x371b60,_0x4eafb7,_0x5a7e12)=>{const _0x13842a=_0x3f93a3;for(var _0x33414c=_0x5a7e12>0x1?void 0x0:_0x5a7e12?_0x12c4b3(_0x371b60,_0x4eafb7):_0x371b60,_0x1cfa57=_0x58d13d[_0x13842a(0x22a)]-0x1,_0x288d85;_0x1cfa57>=0x0;_0x1cfa57--)(_0x288d85=_0x58d13d[_0x1cfa57])&&(_0x33414c=_0x288d85(_0x33414c)||_0x33414c);return _0x33414c;},_0x4bc728=(_0x30cab0,_0x298a05)=>(_0x154179,_0x301bc3)=>_0x298a05(_0x154179,_0x301bc3,_0x30cab0);const _0x200e3f=0x1389;let _0xde1d68=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x2bc52e,_0x2d283f,_0x471d88,_0x5dbde6){const _0x41896c=_0x3f93a3;super(),_0x2d103a(this,_0x41896c(0x27f),new Set()),_0x2d103a(this,_0x41896c(0x1fc),null),(this[_0x41896c(0xa2)]=_0x2bc52e,this['_sheetSkeletonManagerService']=_0x2d283f,this[_0x41896c(0x111)]=_0x471d88,this[_0x41896c(0xa8)]=_0x5dbde6,this[_0x41896c(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x43cb1d=_0x3f93a3;this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)][_0x43cb1d(0x122)](_0x4ab621[_0x43cb1d(0x2e4)](this[_0x43cb1d(0x13e)]),_0x4ab621[_0x43cb1d(0x1ec)](_0x2309c4=>{const _0x5569bd=_0x43cb1d;if(_0x2309c4){const _0x4a043c=_0x2309c4['sheetId'];return _0x1bc390[_0x5569bd(0x153)](this[_0x5569bd(0x111)][_0x5569bd(0x2fa)](this[_0x5569bd(0xa2)][_0x5569bd(0x14e)]),this[_0x5569bd(0xa8)][_0x5569bd(0x2af)])[_0x5569bd(0x122)](_0x4ab621[_0x5569bd(0x2bb)](([_0x2b15be,_0x248f28])=>{const _0x50b782=_0x5569bd,_0x185022=new Map();return _0x2b15be[_0x50b782(0x2f2)]((_0x10cfc6,_0x27cc99)=>{const _0x191e98=_0x50b782;if(_0x10cfc6['sheetID']===_0x4a043c){const _0xcf0041={..._0x10cfc6};_0xcf0041[_0x191e98(0x12f)]=this['_themeService'][_0x191e98(0x85)](_0x10cfc6[_0x191e98(0x12f)]),_0x185022[_0x191e98(0x22e)](_0x27cc99,_0xcf0041);}}),{'skeleton':_0x2309c4,'cursors':_0x185022};}));}return _0x1bc390['of']({'skeleton':null,'cursors':new Map()});}))[_0x43cb1d(0x1a5)](({skeleton:_0x2fecbf,cursors:_0xd64df8})=>{const _0x393706=_0x43cb1d;this[_0x393706(0x81)](),_0x2fecbf&&this[_0x393706(0x20f)](_0x2fecbf,_0xd64df8);}),this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)]['subscribe'](_0x5b4c84=>{const _0xc99c7f=_0x43cb1d;if(_0x5b4c84==null)return;const {skeleton:_0x355044}=_0x5b4c84,{scene:_0x5d4504}=this[_0xc99c7f(0xa2)];_0x5d4504[_0xc99c7f(0x17d)][_0xc99c7f(0x10f)](_0x1def49['debounce'](_0x42b5ce=>{const _0xf47ffe=_0xc99c7f;var _0x48567a,_0x4bb55a;const {offsetX:_0x33bf09,offsetY:_0x30dfd9}=_0x42b5ce,{x:_0x123d96,y:_0x4102be}=_0x5d4504['getRelativeToViewportCoord'](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x33bf09,_0x30dfd9])),{scaleX:_0x17e14d,scaleY:_0x461072}=_0x5d4504[_0xf47ffe(0x24c)](),_0x2de0cc=_0x5d4504['getViewport'](_0x451005[_0xf47ffe(0x303)]['VIEW_MAIN']),_0xbf051a=_0x5d4504[_0xf47ffe(0x2d6)](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x123d96,_0x4102be]),_0x2de0cc),_0x41df05=_0x355044['getCellPositionByOffset'](_0x33bf09,_0x30dfd9,_0x17e14d,_0x461072,_0xbf051a);((_0x48567a=this['_lastPointer'])==null?void 0x0:_0x48567a['column'])===_0x41df05['column']&&((_0x4bb55a=this[_0xf47ffe(0x1fc)])==null?void 0x0:_0x4bb55a[_0xf47ffe(0x2f6)])===_0x41df05['row']||this[_0xf47ffe(0x27f)][_0xf47ffe(0x2f2)](_0x5c5ec1=>{_0x5c5ec1['onMouseMove'](_0x41df05);});},0x64));});}[_0x3f93a3(0x20f)](_0xe42419,_0x15c810){const _0x4ab313=_0x3f93a3;var _0x59b66b;const _0x8114c3=(_0x59b66b=this[_0x4ab313(0x16a)][_0x4ab313(0x10e)]())==null?void 0x0:_0x59b66b[_0x4ab313(0x90)];if(!_0x8114c3)return;const _0x47b446=this[_0x4ab313(0x1a8)]();if(!_0x47b446)return;this[_0x4ab313(0x27f)][_0x4ab313(0x2f2)](_0x21bfe0=>{_0x21bfe0['makeDirty']();});const {scene:_0x4537a8}=_0x47b446,_0x14695f=_0x1e8e35(Array[_0x4ab313(0x1cb)](_0x15c810[_0x4ab313(0x2ae)]()))[_0x4ab313(0x2bb)](_0x40b8f5=>{const _0x735c82=_0x4ab313,{color:_0x405e06,range:_0x34a93c,name:_0x4e6a93,selection:_0x12758d,sheetID:_0x1baf73}=_0x40b8f5,{startColumn:_0x390d53,startRow:_0xe9af84,endColumn:_0xc26f2b,endRow:_0x2e6421}=_0x34a93c,_0x791476=_0x25374d[_0x735c82(0x1c0)](_0xe9af84,_0x390d53,_0x4537a8,_0x8114c3),_0x208961=_0x25374d[_0x735c82(0x1c0)](_0x2e6421,_0xc26f2b,_0x4537a8,_0x8114c3),{columnHeaderHeightAndMarginTop:_0x467c8a}=_0x8114c3,{startX:_0x4573de,startY:_0x42b712}=_0x791476,{endX:_0x23428e,endY:_0x3b1021}=_0x208961,_0x5968a8=_0x23428e-_0x4573de,_0x669e8=_0x3b1021-_0x42b712,_0x56df40={'labelPosition':_0x42b712-_0x467c8a>=_0x564637?_0x735c82(0x89):_0x735c82(0xd6),'sheetID':_0x1baf73,'range':_0x34a93c,'color':_0x405e06,'name':_0x4e6a93,'selection':_0x12758d,'left':_0x4573de,'top':_0x42b712,'width':_0x5968a8,'height':_0x669e8,'evented':!0x1,'zIndex':_0x200e3f};return new _0x57f453(_0x4e6a93,_0x56df40);});_0x4537a8[_0x4ab313(0x29e)](_0x14695f,_0x5d5f6c),this[_0x4ab313(0x27f)]=new Set(_0x14695f);}[_0x3f93a3(0x81)](){const _0x39af69=_0x3f93a3;var _0x5cd7d1;(_0x5cd7d1=this[_0x39af69(0x27f)])==null||_0x5cd7d1[_0x39af69(0x2f2)](_0x2de5c4=>_0x2de5c4[_0x39af69(0x193)]());}['_getSheetObject'](){const _0x57bed5=_0x3f93a3;return _0x25374d[_0x57bed5(0x1f4)](this[_0x57bed5(0xa2)][_0x57bed5(0x100)],this[_0x57bed5(0xa2)]);}};_0xde1d68=_0x5dfd55([_0x4bc728(0x1,_0x1def49['Inject'](_0x25374d['SheetSkeletonManagerService'])),_0x4bc728(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0x4bc728(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0xde1d68);function _0x1e8e35(_0x5aece9){const _0x3c1d5d=_0x3f93a3,_0x4badbe=new Map();return _0x5aece9['forEach'](_0x16ab5b=>{const _0x46304b=_0x242a;if(_0x4badbe[_0x46304b(0x2c7)](_0x16ab5b['selection'])){const _0x33c80c=_0x4badbe[_0x46304b(0x17c)](_0x16ab5b[_0x46304b(0x255)]);_0x33c80c[_0x46304b(0x305)]+=',\x20'+_0x16ab5b['name'];}else _0x4badbe[_0x46304b(0x22e)](_0x16ab5b[_0x46304b(0x255)],_0x16ab5b);}),Array[_0x3c1d5d(0x1cb)](_0x4badbe[_0x3c1d5d(0x2ae)]());}var _0x500060=function(){const _0x3a5410=_0x3f93a3;return _0x500060=Object['assign']||function(_0x82c740){const _0x4da2a6=_0x242a;for(var _0x79fec3,_0x24578d=0x1,_0x43372d=arguments[_0x4da2a6(0x22a)];_0x24578d<_0x43372d;_0x24578d++){_0x79fec3=arguments[_0x24578d];for(var _0x47bd0f in _0x79fec3)Object[_0x4da2a6(0x2ef)][_0x4da2a6(0x234)][_0x4da2a6(0x1be)](_0x79fec3,_0x47bd0f)&&(_0x82c740[_0x47bd0f]=_0x79fec3[_0x47bd0f]);}return _0x82c740;},_0x500060[_0x3a5410(0x12d)](this,arguments);},_0xf25fe8=function(_0x3b5211,_0x581efb){const _0x572a4e=_0x3f93a3;var _0x1a73a0={};for(var _0x13e721 in _0x3b5211)Object[_0x572a4e(0x2ef)][_0x572a4e(0x234)][_0x572a4e(0x1be)](_0x3b5211,_0x13e721)&&_0x581efb[_0x572a4e(0x316)](_0x13e721)<0x0&&(_0x1a73a0[_0x13e721]=_0x3b5211[_0x13e721]);if(_0x3b5211!=null&&typeof Object[_0x572a4e(0x176)]==_0x572a4e(0x30d)){for(var _0x1eb673=0x0,_0x13e721=Object['getOwnPropertySymbols'](_0x3b5211);_0x1eb673<_0x13e721[_0x572a4e(0x22a)];_0x1eb673++)_0x581efb[_0x572a4e(0x316)](_0x13e721[_0x1eb673])<0x0&&Object[_0x572a4e(0x2ef)]['propertyIsEnumerable']['call'](_0x3b5211,_0x13e721[_0x1eb673])&&(_0x1a73a0[_0x13e721[_0x1eb673]]=_0x3b5211[_0x13e721[_0x1eb673]]);}return _0x1a73a0;},_0x12d2db=_0x532356['forwardRef'](function(_0x6307db,_0x56968e){const _0x2a6eb5=_0x3f93a3;var _0x633efa=_0x6307db['icon'],_0x41ffbf=_0x6307db['id'],_0xa6ce46=_0x6307db['className'],_0x693a0b=_0x6307db['extend'],_0x2b145=_0xf25fe8(_0x6307db,[_0x2a6eb5(0x87),'id','className',_0x2a6eb5(0x264)]),_0x28abdf='univerjs-icon\x20univerjs-icon-'[_0x2a6eb5(0x1d1)](_0x41ffbf,'\x20')[_0x2a6eb5(0x1d1)](_0xa6ce46||'')[_0x2a6eb5(0x92)](),_0x359e87=_0x532356[_0x2a6eb5(0x1ff)]('_'[_0x2a6eb5(0x1d1)](_0x1fefa2()));return _0x355dd3(_0x633efa,''[_0x2a6eb5(0x1d1)](_0x41ffbf),{'defIds':_0x633efa[_0x2a6eb5(0x291)],'idSuffix':_0x359e87[_0x2a6eb5(0x88)]},_0x500060({'ref':_0x56968e,'className':_0x28abdf},_0x2b145),_0x693a0b);});function _0x355dd3(_0x570ef8,_0x3ce71e,_0x542692,_0x2de266,_0x3e8269){const _0x762c=_0x3f93a3;return _0x532356['createElement'](_0x570ef8['tag'],_0x500060(_0x500060({'key':_0x3ce71e},_0x1a09d0(_0x570ef8,_0x542692,_0x3e8269)),_0x2de266),(_0x5ecd95(_0x570ef8,_0x542692)[_0x762c(0x163)]||[])[_0x762c(0x2bb)](function(_0x5a9984,_0x494917){const _0x5e7bee=_0x762c;return _0x355dd3(_0x5a9984,''[_0x5e7bee(0x1d1)](_0x3ce71e,'-')[_0x5e7bee(0x1d1)](_0x570ef8[_0x5e7bee(0x1c4)],'-')[_0x5e7bee(0x1d1)](_0x494917),_0x542692,void 0x0,_0x3e8269);}));}function _0x1a09d0(_0x1ecfc7,_0x5f3b47,_0x5a0e29){const _0x761bce=_0x3f93a3;var _0x279fcf=_0x500060({},_0x1ecfc7['attrs']);_0x5a0e29!=null&&_0x5a0e29['colorChannel1']&&_0x279fcf[_0x761bce(0x9a)]===_0x761bce(0x1c8)&&(_0x279fcf['fill']=_0x5a0e29['colorChannel1']),_0x1ecfc7[_0x761bce(0x1c4)]===_0x761bce(0x294)&&_0x279fcf['id']&&(_0x279fcf['id']=_0x279fcf['id']+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x4b23da){const _0x302009=_0x761bce;var _0xddb856=_0x4b23da[0x0],_0x376d92=_0x4b23da[0x1];_0xddb856===_0x302009(0x294)&&typeof _0x376d92==_0x302009(0x1d5)&&(_0x279fcf[_0xddb856]=_0x376d92['replace'](/url\(#(.*)\)/,'url(#$1'[_0x302009(0x1d1)](_0x5f3b47[_0x302009(0x1c3)],')')));});var _0x4982b3=_0x5f3b47['defIds'];return!_0x4982b3||_0x4982b3['length']===0x0||(_0x1ecfc7[_0x761bce(0x1c4)]==='use'&&_0x279fcf[_0x761bce(0x2a9)]&&(_0x279fcf[_0x761bce(0x2a9)]=_0x279fcf[_0x761bce(0x2a9)]+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x390e3d){const _0x2039cb=_0x761bce;var _0x88b79e=_0x390e3d[0x0],_0x75bfcc=_0x390e3d[0x1];typeof _0x75bfcc==_0x2039cb(0x1d5)&&(_0x279fcf[_0x88b79e]=_0x75bfcc[_0x2039cb(0xef)](/url\(#(.*)\)/,_0x2039cb(0x2be)[_0x2039cb(0x1d1)](_0x5f3b47[_0x2039cb(0x1c3)],')')));})),_0x279fcf;}function _0x5ecd95(_0x4223b0,_0x11ddb1){const _0x425545=_0x3f93a3;var _0x654ee0,_0x1c89bf=_0x11ddb1[_0x425545(0x291)];return!_0x1c89bf||_0x1c89bf[_0x425545(0x22a)]===0x0?_0x4223b0:_0x4223b0[_0x425545(0x1c4)]==='defs'&&(!((_0x654ee0=_0x4223b0['children'])===null||_0x654ee0===void 0x0)&&_0x654ee0[_0x425545(0x22a)])?_0x500060(_0x500060({},_0x4223b0),{'children':_0x4223b0[_0x425545(0x163)][_0x425545(0x2bb)](function(_0x26c339){const _0x491b72=_0x425545;return typeof _0x26c339[_0x491b72(0x1bc)]['id']=='string'&&_0x1c89bf&&_0x1c89bf[_0x491b72(0x316)](_0x26c339[_0x491b72(0x1bc)]['id'])>-0x1?_0x500060(_0x500060({},_0x26c339),{'attrs':_0x500060(_0x500060({},_0x26c339[_0x491b72(0x1bc)]),{'id':_0x26c339[_0x491b72(0x1bc)]['id']+_0x11ddb1[_0x491b72(0x1c3)]})}):_0x26c339;})}):_0x4223b0;}function _0x1fefa2(){const _0x51b210=_0x3f93a3;return Math[_0x51b210(0x174)]()[_0x51b210(0x2c5)](0x24)[_0x51b210(0x308)](0x2,0x8);}_0x12d2db['displayName']=_0x3f93a3(0x205);var _0x44f830={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x2b9),'width':_0x3f93a3(0x26f),'height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x9e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'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':'round','strokeLinejoin':_0x3f93a3(0x105),'strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f93a3(0x143)},'children':[{'tag':'path','attrs':{'fill':_0x3f93a3(0x1f1),'d':_0x3f93a3(0x129)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x4764e9=_0x532356[_0x3f93a3(0x1dc)](function(_0x547780,_0x294f2a){const _0x42db64=_0x3f93a3;return _0x532356['createElement'](_0x12d2db,Object[_0x42db64(0x249)]({},_0x547780,{'id':_0x42db64(0x116),'ref':_0x294f2a,'icon':_0x44f830}));});_0x4764e9[_0x3f93a3(0x175)]=_0x3f93a3(0x22c);var _0x18cd50={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x107),'width':'1em','height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x15e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3f93a3(0x105),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':_0x3f93a3(0x9d),'attrs':{'id':_0x3f93a3(0xad)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'fill':_0x3f93a3(0x1f1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x3f93a3(0xad)]},_0x49ebdd=_0x532356[_0x3f93a3(0x1dc)](function(_0x2d42dd,_0x1620d0){const _0x112db7=_0x3f93a3;return _0x532356[_0x112db7(0x1cf)](_0x12d2db,Object[_0x112db7(0x249)]({},_0x2d42dd,{'id':'on-line-single','ref':_0x1620d0,'icon':_0x18cd50}));});_0x49ebdd[_0x3f93a3(0x175)]=_0x3f93a3(0x16f);function _0x1079bc(_0x59cf31){const _0x1a43b7=_0x3f93a3;switch(_0x59cf31){case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x30c)]:return _0x1a43b7(0x18b);case _0x479769[_0x1a43b7(0x21b)]['CONFLICT']:return _0x1a43b7(0x1e8);case _0x479769['CollaborationStatus'][_0x1a43b7(0x2b0)]:return _0x1a43b7(0x20d);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x9c)]:return _0x1a43b7(0x1d9);case _0x479769[_0x1a43b7(0x21b)]['AWAITING']:case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x2cc)]:return _0x1a43b7(0x8c);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x179)]:case _0x479769['CollaborationStatus'][_0x1a43b7(0x260)]:return'collabStatus.synced';}}function _0x185b6e(_0x2007e7){const _0xa9b427=_0x3f93a3,{status$:_0x4c6251}=_0x2007e7,_0x49ff36=_0x13fd76[_0xa9b427(0x117)](_0x4c6251,_0x479769[_0xa9b427(0x21b)]['NOT_COLLAB']),_0x5a2f7f=_0x13fd76[_0xa9b427(0x1b1)](_0x1def49[_0xa9b427(0x1f7)]),_0x30fad3=_0x13fd76[_0xa9b427(0x1b1)](_0x479769[_0xa9b427(0x1ca)]),_0x47e165=_0x49ff36!==_0x479769[_0xa9b427(0x21b)][_0xa9b427(0x30c)],_0xac0cf0=_0x5a2f7f['t'](_0x1079bc(_0x49ff36)),_0xb21830=_0x47e165?_0x287e60[_0xa9b427(0x2a1)](_0x49ebdd,{}):_0x287e60[_0xa9b427(0x2a1)](_0x4764e9,{}),_0x55bf88=_0x532356[_0xa9b427(0xda)](()=>{const _0x2c0f2e=_0xa9b427;_0x47e165||_0x30fad3[_0x2c0f2e(0x8e)]();},[_0x47e165,_0x30fad3]);function _0xe9818e(){const _0x440fba=_0xa9b427;return _0x287e60[_0x440fba(0x280)](_0x440fba(0x253),{'className':_0x440fba(0x80),'onClick':_0x55bf88,'children':[_0x287e60['jsx'](_0x440fba(0x253),{'className':_0xe78f23[_0x440fba(0x220)](_0x440fba(0x1e5),_0x47e165?_0x440fba(0x1af):'univer-text-red-500'),'children':_0xb21830}),_0x287e60[_0x440fba(0x2a1)]('div',{'className':_0x440fba(0x199),'children':_0xac0cf0})]});}return _0x47e165?_0xe9818e():_0x287e60['jsx'](_0xe78f23[_0xa9b427(0xca)],{'title':_0x5a2f7f['t']('collab-client.tooltip.reconnect'),'children':_0xe9818e()});}var _0x2ab1f8=Object[_0x3f93a3(0x239)],_0x390678=(_0x5258e1,_0x1ad1d4,_0x45191e,_0x7ded9a)=>{for(var _0x38fe33=_0x7ded9a>0x1?void 0x0:_0x7ded9a?_0x2ab1f8(_0x1ad1d4,_0x45191e):_0x1ad1d4,_0x5c5dae=_0x5258e1['length']-0x1,_0x529e29;_0x5c5dae>=0x0;_0x5c5dae--)(_0x529e29=_0x5258e1[_0x5c5dae])&&(_0x38fe33=_0x529e29(_0x38fe33)||_0x38fe33);return _0x38fe33;},_0x42c1fa=(_0x549839,_0xdbe593)=>(_0x39c101,_0x56f8d7)=>_0xdbe593(_0x39c101,_0x56f8d7,_0x549839);_0x285d46[_0x3f93a3(0x248)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x437753,_0x22aa36,_0x3382aa,_0x4db621){const _0x21cc4f=_0x3f93a3;super(),_0x2d103a(this,'_status$',new _0x1bc390[(_0x21cc4f(0x230))](_0x479769[_0x21cc4f(0x21b)][_0x21cc4f(0x9c)])),(this[_0x21cc4f(0x1bd)]=_0x437753,this[_0x21cc4f(0xaf)]=_0x22aa36,this[_0x21cc4f(0xe5)]=_0x3382aa,this[_0x21cc4f(0x1a1)]=_0x4db621,this[_0x21cc4f(0x137)](),this[_0x21cc4f(0xff)]());}[_0x3f93a3(0xff)](){const _0x59d476=_0x3f93a3;this[_0x59d476(0x274)](this['_univerInstanceService'][_0x59d476(0x1ba)][_0x59d476(0x122)](_0x1bc390[_0x59d476(0x1ec)](()=>{const _0x1ebc43=_0x59d476,_0x50af33=this['_univerInstanceService'][_0x1ebc43(0xbf)]();return _0x50af33?this[_0x1ebc43(0xe5)][_0x1ebc43(0x227)](_0x50af33[_0x1ebc43(0x26b)]()):_0x1bc390['of'](null);}),_0x1bc390[_0x59d476(0x1ec)](_0x3e019b=>_0x3e019b?_0x3e019b[_0x59d476(0x1b0)]:_0x1bc390['of'](_0x479769['CollaborationStatus'][_0x59d476(0x9c)])))['subscribe'](_0x14daec=>{const _0x1b71a9=_0x59d476;this[_0x1b71a9(0x298)]['next'](_0x14daec);}));}[_0x3f93a3(0x137)](){const _0x305872=_0x3f93a3;this['disposeWithMe'](this[_0x305872(0x1a1)][_0x305872(0x2c2)](_0x13fd76[_0x305872(0xc6)][_0x305872(0x112)],()=>_0x13fd76[_0x305872(0x222)](_0x1ca794({'status$':this['_status$'][_0x305872(0x228)]()}),this[_0x305872(0xaf)])));}},_0x285d46[_0x3f93a3(0x248)]=_0x390678([_0x42c1fa(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x42c1fa(0x1,_0x1def49['Inject'](_0x1def49['Injector'])),_0x42c1fa(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x1aa)])),_0x42c1fa(0x3,_0x13fd76['IUIPartsService'])],_0x285d46['DesktopCollaborationStatusDisplayController']);function _0x1ca794(_0x59dc6b){const {status$:_0x437faf}=_0x59dc6b;return function(){const _0x54f8eb=_0x242a;return _0x287e60[_0x54f8eb(0x2a1)](_0x185b6e,{'status$':_0x437faf});};}var _0x535dab=Object['getOwnPropertyDescriptor'],_0x472674=(_0x586a80,_0x8522b6,_0x55ca01,_0x102b13)=>{const _0x711d2e=_0x3f93a3;for(var _0x275255=_0x102b13>0x1?void 0x0:_0x102b13?_0x535dab(_0x8522b6,_0x55ca01):_0x8522b6,_0x2c765c=_0x586a80[_0x711d2e(0x22a)]-0x1,_0x3b5776;_0x2c765c>=0x0;_0x2c765c--)(_0x3b5776=_0x586a80[_0x2c765c])&&(_0x275255=_0x3b5776(_0x275255)||_0x275255);return _0x275255;},_0xe3de41=(_0x582c24,_0x14e512)=>(_0x3cbb24,_0x5e2b81)=>_0x14e512(_0x3cbb24,_0x5e2b81,_0x582c24);let _0x3d4f9d=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x2745d7,_0x5990f7,_0x5dbddd,_0x3b9d96,_0x9b82f6,_0x1f653a){const _0x3ea6a7=_0x3f93a3;super(),this[_0x3ea6a7(0x256)]=_0x2745d7,this[_0x3ea6a7(0x2ba)]=_0x5990f7,this[_0x3ea6a7(0x1ee)]=_0x5dbddd,this[_0x3ea6a7(0x1e6)]=_0x3b9d96,this[_0x3ea6a7(0x2e2)]=_0x9b82f6,this[_0x3ea6a7(0x21c)]=_0x1f653a,this[_0x3ea6a7(0x24d)](),this[_0x3ea6a7(0x12e)]();}['_setupBeforeClosingHandler'](){const _0x4b6bb8=_0x3f93a3;this[_0x4b6bb8(0x274)](this['_beforeCloseService'][_0x4b6bb8(0x29d)](()=>{const _0x4c39d0=_0x4b6bb8;if(this[_0x4c39d0(0x2ba)]['saveTaskMap'][_0x4c39d0(0x243)])return this[_0x4c39d0(0x21c)]['t'](_0x4c39d0(0x1de));}));}['_initEvent'](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x32e6d7=>{const _0x1e35a3=_0x242a;_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x200)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1c7))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x1d7)]&&this[_0x1e35a3(0x1e6)]['show']({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))}),_0x32e6d7['id']===_0x479769['CollaborationUIEventId'][_0x1e35a3(0x17f)]&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1e35a3(0x30a),'duration':0x0}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['CONFLICT']&&this['_messageService'][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))+'('+_0x32e6d7[_0x1e35a3(0x15f)]+')'}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['JOIN_ROOM_FAILED']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x32e6d7[_0x1e35a3(0x15f)]||'')}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['SOCKET_FAILED_RETRY']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this['_localeService']['t'](_0x1e35a3(0x235))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x27b)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1f5))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x2b8)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x2bf)],'content':this['_localeService']['t'](_0x1e35a3(0x177))});}));}};_0x3d4f9d=_0x472674([_0xe3de41(0x0,_0x13fd76[_0x3f93a3(0x115)]),_0xe3de41(0x1,_0x479769[_0x3f93a3(0xd4)]),_0xe3de41(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x247)])),_0xe3de41(0x3,_0x13fd76[_0x3f93a3(0xf0)]),_0xe3de41(0x4,_0x13fd76[_0x3f93a3(0x288)]),_0xe3de41(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x3d4f9d);const _0x5d7a68=_0x3f93a3(0x213),_0x4b091e={},_0x1375cb=_0x1def49[_0x3f93a3(0x25c)](_0x3f93a3(0xee));var _0x766687=Object[_0x3f93a3(0x239)],_0x1533f9=(_0x2d5680,_0x13d20a,_0x4d43c3,_0x40ce9e)=>{const _0x4f890e=_0x3f93a3;for(var _0x4619ea=_0x40ce9e>0x1?void 0x0:_0x40ce9e?_0x766687(_0x13d20a,_0x4d43c3):_0x13d20a,_0x4228a2=_0x2d5680[_0x4f890e(0x22a)]-0x1,_0x58e7ee;_0x4228a2>=0x0;_0x4228a2--)(_0x58e7ee=_0x2d5680[_0x4228a2])&&(_0x4619ea=_0x58e7ee(_0x4619ea)||_0x4619ea);return _0x4619ea;},_0x306d70=(_0x71d8aa,_0xf58f36)=>(_0x4f69ea,_0x3f9e63)=>_0xf58f36(_0x4f69ea,_0x3f9e63,_0x71d8aa);_0x285d46[_0x3f93a3(0xb8)]=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x368ea8,_0x1685b8,_0x522e6f,_0x2cf965,_0x3ffd0c){const _0xc193c9=_0x3f93a3;super(),this['_urlService']=_0x368ea8,this['_logService']=_0x1685b8,this[_0xc193c9(0x170)]=_0x522e6f,this[_0xc193c9(0xfa)]=_0x2cf965,_0x3ffd0c?_0x3ffd0c==null||_0x3ffd0c[_0xc193c9(0xcd)]()['then'](()=>this['_init']()):(this[_0xc193c9(0x268)][_0xc193c9(0x25a)](_0xc193c9(0xeb),_0xc193c9(0x1c5)),this[_0xc193c9(0xb0)]());}async[_0x3f93a3(0xb0)](){const _0x27520c=_0x3f93a3,_0x23e754=this[_0x27520c(0x273)][_0x27520c(0x10d)](_0x27520c(0x100)),_0x4edb0a=this[_0x27520c(0x273)]['getParam'](_0x27520c(0xcc)),_0x40f7b5=this['_urlService'][_0x27520c(0x10d)]('subunit');if(!_0x23e754||!_0x4edb0a){this[_0x27520c(0x268)][_0x27520c(0x25a)](_0x27520c(0xeb),_0x27520c(0x2ec));return;}const _0x324e6e=await this[_0x27520c(0xfa)]['loadUnit'](_0x23e754,Number(_0x4edb0a),_0x40f7b5);_0x324e6e&&_0x324e6e instanceof _0x1def49[_0x27520c(0x7b)]&&this['_setupSubUnitSync'](_0x324e6e);}async[_0x3f93a3(0x16e)](_0x39ad3b){const _0x2f46d1=_0x3f93a3;await this[_0x2f46d1(0x1d8)](_0x39ad3b),_0x39ad3b['activeSheet$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](_0x447d8f=>{const _0x5643af=_0x2f46d1;_0x447d8f&&this[_0x5643af(0x309)](_0x447d8f);}),this['_urlService']['urlChange$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](()=>this['_updateSubUnitFromURLParams'](_0x39ad3b));}[_0x3f93a3(0x309)](_0x3a2abe,_0x5f18d8=!0x1){const _0x5273f2=_0x3f93a3,_0x2dae06=this[_0x5273f2(0x273)][_0x5273f2(0x10d)](_0x5273f2(0xb4));_0x3a2abe['getSheetId']()!==_0x2dae06&&this[_0x5273f2(0x273)][_0x5273f2(0x168)](_0x5273f2(0xb4),_0x3a2abe[_0x5273f2(0xe7)](),_0x5f18d8);}async[_0x3f93a3(0x1d8)](_0x9a1996){const _0x2d3538=_0x3f93a3;var _0x5a086f;const _0x29f510=this['_urlService'][_0x2d3538(0x10d)](_0x2d3538(0xb4));if(!_0x29f510||!_0x9a1996[_0x2d3538(0x1ce)](_0x29f510)){const _0x2edfb7=_0x9a1996[_0x2d3538(0x2b1)]()[0x0],_0x5b9961=_0x9a1996[_0x2d3538(0x1ce)](_0x2edfb7);if(!_0x5b9961)return;this[_0x2d3538(0x309)](_0x5b9961,!0x0),await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996['getUnitId'](),'subUnitId':_0x2edfb7});return;}((_0x5a086f=_0x9a1996[_0x2d3538(0x2c9)]())==null?void 0x0:_0x5a086f[_0x2d3538(0xe7)]())!==_0x29f510&&await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996[_0x2d3538(0x26b)](),'subUnitId':_0x29f510});}},_0x285d46[_0x3f93a3(0xb8)]=_0x1533f9([_0x306d70(0x0,_0x1375cb),_0x306d70(0x1,_0x1def49[_0x3f93a3(0xe8)]),_0x306d70(0x2,_0x1def49[_0x3f93a3(0x19d)]),_0x306d70(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x108)])),_0x306d70(0x4,_0x1def49['Optional'](_0x2dbfe8['IRemoteInstanceService']))],_0x285d46[_0x3f93a3(0xb8)]);var _0x23e129=Object[_0x3f93a3(0x239)],_0x38f922=(_0x584dab,_0x27361b,_0x44500d,_0x396c23)=>{const _0x5629c6=_0x3f93a3;for(var _0x497657=_0x396c23>0x1?void 0x0:_0x396c23?_0x23e129(_0x27361b,_0x44500d):_0x27361b,_0x37eaaf=_0x584dab[_0x5629c6(0x22a)]-0x1,_0x288fa2;_0x37eaaf>=0x0;_0x37eaaf--)(_0x288fa2=_0x584dab[_0x37eaaf])&&(_0x497657=_0x288fa2(_0x497657)||_0x497657);return _0x497657;},_0x165904=(_0x2a5678,_0x4ea3ee)=>(_0x1774c1,_0x57e65c)=>_0x4ea3ee(_0x1774c1,_0x57e65c,_0x2a5678);let _0xa3a1d7=class{constructor(_0x53860c,_0x4d524f,_0x3164f8){const _0x1355d3=_0x3f93a3;this[_0x1355d3(0xaf)]=_0x53860c,this[_0x1355d3(0x2ff)]=_0x4d524f,this[_0x1355d3(0xc8)]=_0x3164f8;}[_0x3f93a3(0x173)](_0x35b7a9){const _0x5e5da3=_0x3f93a3;this[_0x5e5da3(0xf8)](_0x35b7a9),this['_transformPreviousActiveRange'](_0x35b7a9);}[_0x3f93a3(0x15c)](_0x30c24d){const _0x4fbb36=_0x3f93a3,{unitID:_0x55b1d2}=_0x30c24d,_0x43b94a=this[_0x4fbb36(0xc8)][_0x4fbb36(0xb1)](_0x55b1d2)[_0x4fbb36(0x156)](_0x38c4f6[_0x4fbb36(0x206)]),{redoCache:_0x2b35b9}=_0x43b94a['getUndoRedoMutationParamsCache']();if(_0x2b35b9[_0x4fbb36(0x22a)]===0x0)return _0x30c24d;let _0x48861=_0x1def49['Tools'][_0x4fbb36(0x297)](_0x30c24d['mutations'][0x0]);for(let _0x3ea881=0x0;_0x3ea881<_0x2b35b9['length'];_0x3ea881++){const _0x3dd304={'id':_0x4fbb36(0x2a4),'params':{..._0x2b35b9[_0x3ea881]}},_0x43b862=this[_0x4fbb36(0x2ff)][_0x4fbb36(0x19f)](_0x48861,_0x3dd304,!0x1);if(_0x529ed4[_0x4fbb36(0x138)](_0x43b862))throw _0x43b862[_0x4fbb36(0x30a)];_0x48861=_0x43b862[_0x4fbb36(0x2a0)];}return{..._0x1def49[_0x4fbb36(0x20e)]['deepClone'](_0x30c24d),'mutations':[_0x48861]};}[_0x3f93a3(0xf8)](_0x115e32){const _0x49f2e4=_0x3f93a3,{unitID:_0x3dbdae}=_0x115e32,_0x114154=this[_0x49f2e4(0xc8)][_0x49f2e4(0xb1)](_0x3dbdae)[_0x49f2e4(0x156)](_0x38c4f6[_0x49f2e4(0x206)]),{undoCache:_0x511f75,redoCache:_0x3c71cb}=_0x114154['getUndoRedoMutationParamsCache']();if(_0x511f75[_0x49f2e4(0x22a)]===0x0||_0x3c71cb[_0x49f2e4(0x22a)]===0x0)return;const _0x243c0a=[],_0x192fcf=[];let _0x1d4a36=_0x1def49[_0x49f2e4(0x20e)][_0x49f2e4(0x297)](_0x115e32[_0x49f2e4(0x167)][0x0]),_0x1de717=_0x1def49['Tools']['deepClone'](_0x115e32[_0x49f2e4(0x167)][0x0]);for(let _0x473355=_0x511f75[_0x49f2e4(0x22a)]-0x1;_0x473355>=0x0;_0x473355--){const _0x2500b7={'id':'doc.mutation.rich-text-editing','params':{..._0x511f75[_0x473355]}},_0x101ed8={'id':_0x49f2e4(0x2a4),'params':{..._0x3c71cb[_0x473355]}},_0x3bedf6=this['_transformService']['transformMutation'](_0x1d4a36,_0x2500b7,!0x1),_0x533444=this[_0x49f2e4(0x2ff)]['transformMutation'](_0x1de717,_0x101ed8,!0x1);if(_0x529ed4[_0x49f2e4(0x138)](_0x3bedf6))throw _0x3bedf6[_0x49f2e4(0x30a)];if(_0x529ed4['isTransformMutationFailure'](_0x533444))throw _0x533444[_0x49f2e4(0x30a)];_0x243c0a[_0x49f2e4(0x204)](_0x3bedf6[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x192fcf[_0x49f2e4(0x204)](_0x533444[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x1d4a36=_0x3bedf6['m1Prime'],_0x1de717=_0x533444['m1Prime'];}_0x114154[_0x49f2e4(0x101)]({'undoCache':_0x243c0a,'redoCache':_0x192fcf});}[_0x3f93a3(0x1fb)](_0xe1f4a3){const _0x2d6015=_0x3f93a3,{unitID:_0x2b4d6b}=_0xe1f4a3,_0x497b8a=this['_renderManagerService'][_0x2d6015(0xb1)](_0x2b4d6b)['with'](_0x38c4f6['DocIMEInputManagerService']),_0xe4c3ce=_0x497b8a['getActiveRange']();if(_0xe4c3ce==null)return;const _0x549398=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe1f4a3[_0x2d6015(0xf7)],'actions':null,'textRanges':[_0xe4c3ce]}}],_0x5cb95b=this[_0x2d6015(0x2ff)][_0x2d6015(0x2f0)](_0xe1f4a3,_0x549398);if(!_0x529ed4[_0x2d6015(0x30f)](_0x5cb95b))throw _0x5cb95b['error'];const _0x43649b=_0x5cb95b[_0x2d6015(0x282)][0x0][_0x2d6015(0x242)][_0x2d6015(0x203)];Array[_0x2d6015(0x1e9)](_0x43649b)&&_0x43649b[_0x2d6015(0x22a)]&&_0x497b8a[_0x2d6015(0x128)](_0x43649b[0x0]);}};_0xa3a1d7=_0x38f922([_0x165904(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x165904(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x165904(0x2,_0x451005['IRenderManagerService'])],_0xa3a1d7);var _0xe5e80f=Object[_0x3f93a3(0x239)],_0x3b3df1=(_0x2705bf,_0x51b7b1,_0x1d7b68,_0x2e1482)=>{for(var _0x17d9c2=_0x2e1482>0x1?void 0x0:_0x2e1482?_0xe5e80f(_0x51b7b1,_0x1d7b68):_0x51b7b1,_0x9dcd1a=_0x2705bf['length']-0x1,_0xae6188;_0x9dcd1a>=0x0;_0x9dcd1a--)(_0xae6188=_0x2705bf[_0x9dcd1a])&&(_0x17d9c2=_0xae6188(_0x17d9c2)||_0x17d9c2);return _0x17d9c2;},_0x1ee455=(_0x1833a3,_0x2ac52f)=>(_0x4e498b,_0x35ca1e)=>_0x2ac52f(_0x4e498b,_0x35ca1e,_0x1833a3);let _0xa7f002=class{constructor(_0x3dd196,_0x286522,_0x4a913b){const _0x2f7ac4=_0x3f93a3;this[_0x2f7ac4(0xaf)]=_0x3dd196,this[_0x2f7ac4(0x2ff)]=_0x286522,this['_docStateChangeManagerService']=_0x4a913b;}[_0x3f93a3(0x270)](_0x1ee31a){const _0x48e56c=_0x3f93a3;this[_0x48e56c(0x2b7)](_0x1ee31a);}['transformRemoteChangeset'](_0x45abe9){const _0x1df3e7=_0x3f93a3,{unitID:_0x2b84a4}=_0x45abe9,{collaboration:_0x36b2fb}=this[_0x1df3e7(0x28b)][_0x1df3e7(0x188)](_0x2b84a4);if(_0x36b2fb['length']===0x0)return _0x45abe9;let _0x16e6e9=_0x1def49[_0x1df3e7(0x20e)][_0x1df3e7(0x297)](_0x45abe9[_0x1df3e7(0x167)][0x0]);for(let _0x2d804b=0x0;_0x2d804b<_0x36b2fb[_0x1df3e7(0x22a)];_0x2d804b++){const _0x565f7a={'id':_0x1df3e7(0x2a4),'params':{'unitId':_0x36b2fb[_0x2d804b]['unitId'],..._0x36b2fb[_0x2d804b][_0x1df3e7(0x300)]}},_0x5058ea=this[_0x1df3e7(0x2ff)][_0x1df3e7(0x19f)](_0x16e6e9,_0x565f7a,!0x1);if(_0x529ed4[_0x1df3e7(0x138)](_0x5058ea))throw _0x5058ea['error'];_0x16e6e9=_0x5058ea[_0x1df3e7(0x2a0)];}return{..._0x1def49['Tools']['deepClone'](_0x45abe9),'mutations':[_0x16e6e9]};}[_0x3f93a3(0x2b7)](_0x543d89){const _0x46de79=_0x3f93a3,{unitID:_0x541884}=_0x543d89,{history:_0x2ccd68,collaboration:_0x52b3f2}=this['_docStateChangeManagerService'][_0x46de79(0x188)](_0x541884);if(_0x2ccd68[_0x46de79(0x22a)]===0x0&&_0x52b3f2['length']===0x0)return;const _0x4b1127=[],_0x683246=[];let _0x29e6dc=_0x1def49['Tools']['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x35bee2=_0x2ccd68[_0x46de79(0x22a)]-0x1;_0x35bee2>=0x0;_0x35bee2--){const _0x507091={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x14a)]}},_0x141bd9={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x300)]}},_0x16a586=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x29e6dc,_0x507091,!0x1),_0x5917ed=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x47994c,_0x141bd9,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x16a586))throw _0x16a586[_0x46de79(0x30a)];if(_0x529ed4[_0x46de79(0x138)](_0x5917ed))throw _0x5917ed[_0x46de79(0x30a)];_0x4b1127['unshift']({..._0x2ccd68[_0x35bee2],'undoState':_0x16a586['m2Prime'][_0x46de79(0x242)],'redoState':_0x5917ed[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x16a586[_0x46de79(0x2a0)],_0x47994c=_0x5917ed[_0x46de79(0x2a0)];}_0x29e6dc=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)][_0x46de79(0x297)](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x21fa60=_0x52b3f2[_0x46de79(0x22a)]-0x1;_0x21fa60>=0x0;_0x21fa60--){const _0x3864a7={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60]['unitId'],..._0x52b3f2[_0x21fa60]['undoState']}},_0x3e0464={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60][_0x46de79(0x14e)],..._0x52b3f2[_0x21fa60][_0x46de79(0x300)]}},_0x1e08e1=this['_transformService']['transformMutation'](_0x29e6dc,_0x3864a7,!0x1),_0x475166=this['_transformService'][_0x46de79(0x19f)](_0x47994c,_0x3e0464,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x1e08e1))throw _0x1e08e1['error'];if(_0x529ed4[_0x46de79(0x138)](_0x475166))throw _0x475166[_0x46de79(0x30a)];_0x683246[_0x46de79(0x204)]({..._0x52b3f2[_0x21fa60],'undoState':_0x1e08e1[_0x46de79(0x282)]['params'],'redoState':_0x475166[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x1e08e1['m1Prime'],_0x47994c=_0x475166['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x541884,{'history':_0x4b1127,'collaboration':_0x683246});}};_0xa7f002=_0x3b3df1([_0x1ee455(0x0,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x1ee455(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x1ee455(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6['DocStateChangeManagerService']))],_0xa7f002);var _0x193b6f=Object[_0x3f93a3(0x239)],_0x38e442=(_0x145d99,_0x40a168,_0xcd2532,_0x366187)=>{for(var _0x54eb7f=_0x366187>0x1?void 0x0:_0x366187?_0x193b6f(_0x40a168,_0xcd2532):_0x40a168,_0x558c7f=_0x145d99['length']-0x1,_0x1b3aed;_0x558c7f>=0x0;_0x558c7f--)(_0x1b3aed=_0x145d99[_0x558c7f])&&(_0x54eb7f=_0x1b3aed(_0x54eb7f)||_0x54eb7f);return _0x54eb7f;},_0x41b4f4=(_0x4aaa4b,_0x13f91e)=>(_0x1a0376,_0x3a9017)=>_0x13f91e(_0x1a0376,_0x3a9017,_0x4aaa4b);let _0x2f2eed=class{constructor(_0x1d5f7d,_0x913f8a){const _0x28644a=_0x3f93a3;this[_0x28644a(0xaf)]=_0x1d5f7d,this[_0x28644a(0x2ff)]=_0x913f8a;}[_0x3f93a3(0x2a2)](_0xb8625e){const _0xef8583=_0x3f93a3;var _0x3a28b2;const _0x51e48e=this[_0xef8583(0xaf)][_0xef8583(0x17c)](_0x5ec733['DocSelectionManagerService']),_0x46eab9=(_0x3a28b2=_0x51e48e[_0xef8583(0x2f8)]())!=null?_0x3a28b2:[];if(_0x46eab9['length']===0x0)return;const _0x3ee85d=_0xb8625e[_0xef8583(0xf7)],_0xfb6bc5=[{'id':_0xef8583(0x2a4),'params':{'unitId':_0x3ee85d,'actions':null,'textRanges':_0x46eab9}}],_0x5431aa=this['_transformService']['transformMutationsWithChangeset'](_0xb8625e,_0xfb6bc5);if(!_0x529ed4[_0xef8583(0x30f)](_0x5431aa))throw _0x5431aa['error'];const _0x5c4e9b=_0x5431aa[_0xef8583(0x282)][0x0][_0xef8583(0x242)][_0xef8583(0x203)];Array[_0xef8583(0x1e9)](_0x5c4e9b)&&_0x5c4e9b[_0xef8583(0x22a)]&&_0x51e48e[_0xef8583(0x2ea)](_0x5c4e9b,{'unitId':_0x3ee85d,'subUnitId':_0x3ee85d},!0x1);}};_0x2f2eed=_0x38e442([_0x41b4f4(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x41b4f4(0x1,_0x529ed4['ITransformService'])],_0x2f2eed);var _0x4f2941=Object['getOwnPropertyDescriptor'],_0x52653b=(_0x2152e4,_0x17d33b,_0x5a2725,_0x506028)=>{const _0xd26221=_0x3f93a3;for(var _0x3369db=_0x506028>0x1?void 0x0:_0x506028?_0x4f2941(_0x17d33b,_0x5a2725):_0x17d33b,_0x1aea4a=_0x2152e4[_0xd26221(0x22a)]-0x1,_0x358fda;_0x1aea4a>=0x0;_0x1aea4a--)(_0x358fda=_0x2152e4[_0x1aea4a])&&(_0x3369db=_0x358fda(_0x3369db)||_0x3369db);return _0x3369db;},_0x274f86=(_0x32130d,_0x1751b3)=>(_0x37e27c,_0x3b0f45)=>_0x1751b3(_0x37e27c,_0x3b0f45,_0x32130d);let _0x4220f4=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x7bd3ab,_0x1a1945,_0x319ca1,_0x770c95,_0x5d8ad7,_0x505201,_0x57d4c5,_0xed248a){const _0x32db4f=_0x3f93a3;super(),_0x2d103a(this,_0x32db4f(0x298),new _0x1bc390[(_0x32db4f(0x230))](_0x479769[_0x32db4f(0x21b)][_0x32db4f(0x9c)])),(this[_0x32db4f(0x28b)]=_0x7bd3ab,this[_0x32db4f(0xe5)]=_0x1a1945,this[_0x32db4f(0x120)]=_0x319ca1,this[_0x32db4f(0x229)]=_0x770c95,this[_0x32db4f(0x14c)]=_0x5d8ad7,this[_0x32db4f(0x2e8)]=_0x505201,this[_0x32db4f(0x1e6)]=_0x57d4c5,this['_localeService']=_0xed248a,this['_initEntityListener']());}[_0x3f93a3(0x12c)](){const _0x6bf66e=_0x3f93a3;this[_0x6bf66e(0x274)](this[_0x6bf66e(0xe5)][_0x6bf66e(0x257)][_0x6bf66e(0x1a5)](_0x1eb319=>{const _0x40dee9=_0x6bf66e,_0xe5e7d=this[_0x40dee9(0x28b)][_0x40dee9(0x217)]['subscribe'](_0x18f5a8=>{const _0x14207e=_0x40dee9;if(_0x18f5a8==null)return;const {unitId:_0x4a1795,redoState:_0x308b1e,commandId:_0x3738b4}=_0x18f5a8;if(_0x4a1795!==_0x1eb319[_0x14207e(0xf7)])return;const _0x50d59d={'id':_0x3738b4,'type':_0x1def49[_0x14207e(0x10a)][_0x14207e(0x161)],'params':{'unitId':_0x4a1795,'actions':_0x308b1e['actions'],'textRanges':null}};_0x1eb319['onLocalMutation'](_0x50d59d);});if(_0x1eb319['disposeWithMe'](_0xe5e7d),_0x1eb319 instanceof _0x479769[_0x40dee9(0x2f4)]){const _0x13dc4e={'onTransformIME':_0x10af28=>this[_0x40dee9(0x120)][_0x40dee9(0x173)](_0x10af28),'onTransformState':_0x126e9f=>this[_0x40dee9(0x229)][_0x40dee9(0x270)](_0x126e9f),'onTransformSelections':_0x1e0b7b=>this[_0x40dee9(0x14c)]['transformSelections'](_0x1e0b7b),'onSyncEditingCollabCursor':_0x1c99a0=>this[_0x40dee9(0x2e8)][_0x40dee9(0x20a)](_0x1c99a0),'onTransformRemoteChangesetByIMECache':_0x3e35d5=>this[_0x40dee9(0x120)]['transformRemoteChangeset'](_0x3e35d5),'onTransformRemoteChangesetByStateCache':_0x111d1c=>this['_docTransformStateCacheService'][_0x40dee9(0x15c)](_0x111d1c)};_0x1eb319['addHandlerCallback'](_0x13dc4e);}}));}};_0x4220f4=_0x52653b([_0x274f86(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6[_0x3f93a3(0x1db)])),_0x274f86(0x1,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1aa)])),_0x274f86(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0xa3a1d7)),_0x274f86(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xa7f002)),_0x274f86(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x2f2eed)),_0x274f86(0x5,_0x1def49['Inject'](_0x3a08fe)),_0x274f86(0x6,_0x13fd76[_0x3f93a3(0xf0)]),_0x274f86(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x4220f4);var _0x48a9e9=Object[_0x3f93a3(0x239)],_0x2e142f=(_0x4b2bc9,_0xd3526a,_0x4adee6,_0x4ff041)=>{const _0x41b588=_0x3f93a3;for(var _0x39c6b3=_0x4ff041>0x1?void 0x0:_0x4ff041?_0x48a9e9(_0xd3526a,_0x4adee6):_0xd3526a,_0x27a095=_0x4b2bc9[_0x41b588(0x22a)]-0x1,_0x22d21b;_0x27a095>=0x0;_0x27a095--)(_0x22d21b=_0x4b2bc9[_0x27a095])&&(_0x39c6b3=_0x22d21b(_0x39c6b3)||_0x39c6b3);return _0x39c6b3;},_0x2d8d0a=(_0x3fa91b,_0x4ba0f4)=>(_0x5b1af1,_0x7ba6bf)=>_0x4ba0f4(_0x5b1af1,_0x7ba6bf,_0x3fa91b);let _0x2dd66f=class extends _0x1def49['Disposable']{constructor(_0x12a8a6,_0x501bd4,_0x5c8505){const _0x549b25=_0x3f93a3;super(),_0x2d103a(this,_0x549b25(0x2d5),new Map()),_0x2d103a(this,_0x549b25(0x2df),new Map()),_0x2d103a(this,_0x549b25(0xcf),!0x1),(this['_configService']=_0x12a8a6,this[_0x549b25(0x123)]=_0x501bd4,this[_0x549b25(0xb7)]=_0x5c8505);}[_0x3f93a3(0x1ab)](){const _0xfe051f=_0x3f93a3;this[_0xfe051f(0xcf)]=!0x0;}['enableLocalCache'](){const _0x39493b=_0x3f93a3;this[_0x39493b(0xcf)]=!0x1;}get[_0x3f93a3(0x2db)](){const _0x1d4faf=_0x3f93a3;return this[_0x1d4faf(0x2df)];}[_0x3f93a3(0x193)](){const _0x3e8525=_0x3f93a3;this[_0x3e8525(0x17e)]()[_0x3e8525(0x1a6)](()=>super['dispose']());}async[_0x3f93a3(0xce)](_0x51eeb0){const _0x37ee0e=_0x3f93a3;return this[_0x37ee0e(0xcf)]?null:this[_0x37ee0e(0x123)][_0x37ee0e(0x1e4)](_0x479769[_0x37ee0e(0x2b2)](_0x51eeb0));}async[_0x3f93a3(0x1f0)](_0x138507,_0x448c27){const _0x11ca9c=_0x3f93a3;return!!this[_0x11ca9c(0x123)][_0x11ca9c(0x95)](_0x138507,_0x448c27);}[_0x3f93a3(0x24f)](_0x236ad2,_0x122d4b,_0x545fba,_0x542c3b){const _0x320913=_0x3f93a3,_0x3fcebd=this[_0x320913(0xb7)][_0x320913(0x96)](_0x236ad2);this[_0x320913(0x2d5)][_0x320913(0x22e)](_0x236ad2,{'unitID':_0x236ad2,'type':_0x122d4b,'awaitingChangeset':_0x545fba,'mutations':_0x542c3b,'rev':_0x3fcebd}),this[_0x320913(0x2df)][_0x320913(0x2c7)](_0x236ad2)||this[_0x320913(0x2c8)](_0x236ad2);}[_0x3f93a3(0x2c8)](_0x2e13c9){const _0x4498f9=_0x3f93a3,_0x1867ee=this[_0x4498f9(0x99)]();_0x1867ee===0x0?this[_0x4498f9(0x306)](_0x2e13c9):this['_saveTaskMap'][_0x4498f9(0x22e)](_0x2e13c9,setTimeout(()=>this[_0x4498f9(0x306)](_0x2e13c9),_0x1867ee));}['_getSaveTimeout'](){const _0x119093=_0x3f93a3;var _0x3e2303;return(_0x3e2303=this['_configService'][_0x119093(0x2eb)](_0x479769[_0x119093(0x276)]))!=null?_0x3e2303:_0x479769['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x54894c){const _0x566e00=_0x3f93a3,_0x168da4=this['_saveTaskMap'][_0x566e00(0x17c)](_0x54894c);return _0x168da4!==void 0x0&&window['clearTimeout'](_0x168da4),this['_localStorageService'][_0x566e00(0x95)](_0x479769[_0x566e00(0x2b2)](_0x54894c),this['_cachedData'][_0x566e00(0x17c)](_0x54894c))['then'](()=>this[_0x566e00(0x2df)][_0x566e00(0xd5)](_0x54894c));}async[_0x3f93a3(0x17e)](){const _0x3d8505=_0x3f93a3,_0x194e1e=[];this[_0x3d8505(0x2df)][_0x3d8505(0x2f2)]((_0x52ca42,_0x5e8d2d)=>{const _0x836091=_0x3d8505;window[_0x836091(0xec)](_0x52ca42),_0x194e1e[_0x836091(0x1b5)](this[_0x836091(0x306)](_0x5e8d2d)[_0x836091(0x1a6)](()=>{const _0x4953d8=_0x836091;this[_0x4953d8(0x2df)][_0x4953d8(0xd5)](_0x5e8d2d);}));}),await Promise[_0x3d8505(0x148)](_0x194e1e);}};_0x2dd66f=_0x2e142f([_0x2d8d0a(0x0,_0x1def49['IConfigService']),_0x2d8d0a(0x1,_0x1def49[_0x3f93a3(0xa1)]),_0x2d8d0a(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x529ed4['RevisionService']))],_0x2dd66f);class _0x23e6ac extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x3a3e38=_0x3f93a3;super(),_0x2d103a(this,_0x3a3e38(0x1e7)),this['urlChange$']=_0x1bc390[_0x3a3e38(0x2d9)](window,_0x3a3e38(0x2da))[_0x3a3e38(0x122)](_0x1bc390['takeUntil'](this['dispose$']),_0x1bc390[_0x3a3e38(0xaa)](0x1),_0x1bc390[_0x3a3e38(0x1da)](void 0x0));}[_0x3f93a3(0x168)](_0x537062,_0x3caadf,_0x595494=!0x1){const _0xa4f2dc=_0x3f93a3,_0x3aad11=new URL(window[_0xa4f2dc(0x2d4)][_0xa4f2dc(0x314)]);_0x3aad11[_0xa4f2dc(0x165)][_0xa4f2dc(0x22e)](_0x537062,_0x3caadf),_0x595494?window['history'][_0xa4f2dc(0xf5)]('','',_0x3aad11[_0xa4f2dc(0x2c5)]()):window[_0xa4f2dc(0x2f9)][_0xa4f2dc(0x13d)]('','',_0x3aad11['toString']());}[_0x3f93a3(0x226)](_0x17a0c7,_0x18dcdd=!0x1){const _0x5a85a9=_0x3f93a3,_0x492386=new URL(window['location'][_0x5a85a9(0x314)]);_0x492386['searchParams'][_0x5a85a9(0xd5)](_0x17a0c7),_0x18dcdd?window[_0x5a85a9(0x2f9)][_0x5a85a9(0xf5)]('','',_0x492386[_0x5a85a9(0x2c5)]()):window[_0x5a85a9(0x2f9)][_0x5a85a9(0x13d)]('','',_0x492386[_0x5a85a9(0x2c5)]());}[_0x3f93a3(0x10d)](_0x2e1695){const _0x58054f=_0x3f93a3;var _0x20548a;return(_0x20548a=new URL(window[_0x58054f(0x2d4)][_0x58054f(0x314)])['searchParams']['get'](_0x2e1695))!=null?_0x20548a:void 0x0;}}var _0x564bcc=Object[_0x3f93a3(0x1e3)],_0x194b4a=Object['getOwnPropertyDescriptor'],_0x2b2dd5=(_0x166418,_0x4a68ee,_0x37f98a)=>_0x4a68ee in _0x166418?_0x564bcc(_0x166418,_0x4a68ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37f98a}):_0x166418[_0x4a68ee]=_0x37f98a,_0x560e24=(_0x12278c,_0x472897,_0x30db26,_0x4fa4a9)=>{const _0x5d1160=_0x3f93a3;for(var _0x5eb6e7=_0x4fa4a9>0x1?void 0x0:_0x4fa4a9?_0x194b4a(_0x472897,_0x30db26):_0x472897,_0x4eaa60=_0x12278c[_0x5d1160(0x22a)]-0x1,_0x5a5fa6;_0x4eaa60>=0x0;_0x4eaa60--)(_0x5a5fa6=_0x12278c[_0x4eaa60])&&(_0x5eb6e7=_0x5a5fa6(_0x5eb6e7)||_0x5eb6e7);return _0x5eb6e7;},_0x151495=(_0x5d80a5,_0x380c67)=>(_0x23ac6d,_0x2c8655)=>_0x380c67(_0x23ac6d,_0x2c8655,_0x5d80a5),_0x599521=(_0x2f535f,_0x243619,_0x3f4494)=>_0x2b2dd5(_0x2f535f,_0x243619+'',_0x3f4494);const _0x4cb91d=_0x3f93a3(0xf4);_0x285d46[_0x3f93a3(0x21a)]=class extends _0x1def49[_0x3f93a3(0x1dd)]{constructor(_0x2e2a32=_0x4b091e,_0x5b2fb7,_0x2c92c8,_0x5ba66f){const _0x4292f5=_0x3f93a3;super(),this[_0x4292f5(0x19b)]=_0x2e2a32,this[_0x4292f5(0xc8)]=_0x5b2fb7,this[_0x4292f5(0xaf)]=_0x2c92c8,this[_0x4292f5(0x1bf)]=_0x5ba66f;const {..._0x338499}=_0x1def49[_0x4292f5(0x26d)]({},_0x4b091e,this[_0x4292f5(0x19b)]);this['_configService'][_0x4292f5(0x20b)](_0x5d7a68,_0x338499);}[_0x3f93a3(0x113)](){const _0x4b26a5=_0x3f93a3;this[_0x4b26a5(0x1b9)](),this[_0x4b26a5(0x2cb)]();}[_0x3f93a3(0x2a6)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x377e5f=_0x3f93a3;var _0x545937;const _0x394d56=[[_0xc01724],[_0x2f2eed],[_0xa3a1d7],[_0xa7f002],[_0x3a08fe],[_0x1375cb,{'useClass':_0x23e6ac}],[_0x5196ad[_0x377e5f(0x202)],{'useClass':_0x5196ad[_0x377e5f(0x225)]}],[_0x479769[_0x377e5f(0xd4)],{'useClass':_0x2dd66f}],[_0x285d46[_0x377e5f(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x44815e],[_0x351e0a],[_0x285d46['CollaborationDataLoaderController']]];_0x1def49['registerDependencies'](this[_0x377e5f(0xaf)],_0x1def49[_0x377e5f(0x121)](_0x394d56,(_0x545937=this[_0x377e5f(0x19b)])==null?void 0x0:_0x545937[_0x377e5f(0x241)]));}[_0x3f93a3(0x180)](){const _0x5a34a1=_0x3f93a3;this['disposeWithMe'](this[_0x5a34a1(0xc8)][_0x5a34a1(0x94)](_0x1def49[_0x5a34a1(0x23e)]['UNIVER_DOC'],[_0x12384c])),this[_0x5a34a1(0x274)](this['_renderManagerService'][_0x5a34a1(0x94)](_0x1def49['UniverInstanceType'][_0x5a34a1(0x134)],[_0xde1d68]));}['_initDependencies'](){const _0x470c08=_0x3f93a3;_0x1def49[_0x470c08(0x139)](this[_0x470c08(0xaf)],[[_0x44815e],[_0x285d46[_0x470c08(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x285d46[_0x470c08(0xb8)]]]);}},_0x599521(_0x285d46['UniverCollaborationClientUIPlugin'],_0x3f93a3(0x1cd),_0x4cb91d),_0x285d46[_0x3f93a3(0x21a)]=_0x560e24([_0x1def49[_0x3f93a3(0x1b8)](_0x479769[_0x3f93a3(0x97)]),_0x151495(0x1,_0x451005[_0x3f93a3(0x215)]),_0x151495(0x2,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x151495(0x3,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x21a)]);var _0x3a851a=Object[_0x3f93a3(0x239)],_0x3b5380=(_0x7669e0,_0x1acf97,_0x3b8375,_0x1825cb)=>{const _0x1282a3=_0x3f93a3;for(var _0x426e25=_0x1825cb>0x1?void 0x0:_0x1825cb?_0x3a851a(_0x1acf97,_0x3b8375):_0x1acf97,_0x2fdbab=_0x7669e0[_0x1282a3(0x22a)]-0x1,_0x1108d4;_0x2fdbab>=0x0;_0x2fdbab--)(_0x1108d4=_0x7669e0[_0x2fdbab])&&(_0x426e25=_0x1108d4(_0x426e25)||_0x426e25);return _0x426e25;},_0x4a25ec=(_0x4eacf1,_0x5a8487)=>(_0x58537e,_0x4b99ee)=>_0x5a8487(_0x58537e,_0x4b99ee,_0x4eacf1);_0x285d46['BrowserCollaborationSocketService']=class extends _0x479769[_0x3f93a3(0xed)]{constructor(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede){super(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede);}async[_0x3f93a3(0x304)](_0x918476){const _0x2045a0=_0x3f93a3,_0x312410=await this[_0x2045a0(0x109)](),_0x3d1f41=this[_0x2045a0(0xe6)](_0x918476,_0x312410);return this['_doCreateSocket'](_0x3d1f41);}[_0x3f93a3(0xe6)](_0x4c3135,_0x627004){const _0x38cfd8=_0x3f93a3,_0x303b75=typeof window>'u'?new URL(_0x4c3135):new URL(_0x4c3135,window[_0x38cfd8(0x2d4)][_0x38cfd8(0x78)]);_0x303b75[_0x38cfd8(0x165)][_0x38cfd8(0x22e)](_0x38cfd8(0x1ef),_0x627004);const _0x14ce88=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x38cfd8(0x133)]);return _0x14ce88[_0x38cfd8(0x17c)]('runId')&&_0x303b75['searchParams'][_0x38cfd8(0x22e)](_0x38cfd8(0x266),_0x14ce88[_0x38cfd8(0x17c)](_0x38cfd8(0x266))),_0x303b75[_0x38cfd8(0x2c5)]();}async['_getSessionTicket'](){const _0x215b8b=_0x3f93a3;var _0x42d12c,_0xfd440a,_0xdfb5ca;const _0xbf2450=this[_0x215b8b(0x1bf)][_0x215b8b(0x2eb)](_0x479769[_0x215b8b(0xb6)]),_0x48cac8=(_0x42d12c=_0xbf2450==null?void 0x0:_0xbf2450[_0x215b8b(0xf6)])!=null?_0x42d12c:_0x479769[_0x215b8b(0x2ac)];return(_0xdfb5ca=(_0xfd440a=(await this[_0x215b8b(0x251)][_0x215b8b(0x17c)](_0x48cac8,{'headers':{'Content-Type':_0x215b8b(0x18f)}}))[_0x215b8b(0x26a)])==null?void 0x0:_0xfd440a['ticket'])!=null?_0xdfb5ca:'';}},_0x285d46[_0x3f93a3(0x1b2)]=_0x3b5380([_0x4a25ec(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x4a25ec(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad[_0x3f93a3(0x283)])),_0x4a25ec(0x2,_0x1def49[_0x3f93a3(0x119)]),_0x4a25ec(0x3,_0x1def49['ILogService']),_0x4a25ec(0x4,_0x529ed4['ISnapshotServerService'])],_0x285d46[_0x3f93a3(0x1b2)]);const _0x130879=0x7530,_0x1b0f6a=_0x3f93a3(0x13f);class _0x525196 extends _0x1def49[_0x3f93a3(0x124)]{constructor(){const _0x5a7c84=_0x3f93a3;super(),_0x2d103a(this,'_id',_0x1def49['generateRandomId']()),_0x2d103a(this,_0x5a7c84(0x1d0),new Set()),_0x2d103a(this,_0x5a7c84(0x214),new Map()),_0x2d103a(this,_0x5a7c84(0x172),null),_0x2d103a(this,_0x5a7c84(0x98),new Map()),_0x2d103a(this,_0x5a7c84(0x197),new Map()),this['_init']();}['dispose'](){const _0x181fb2=_0x3f93a3;super[_0x181fb2(0x193)](),this[_0x181fb2(0x98)][_0x181fb2(0x2f2)]((_0x1439fc,_0x5473f1)=>this[_0x181fb2(0xdc)](_0x5473f1)),this['_heartbeatTimer']&&window[_0x181fb2(0x246)](this[_0x181fb2(0x172)]);}['getUnitStatus$'](_0x187ee6){const _0x434235=_0x3f93a3;return this[_0x434235(0x158)](_0x187ee6)[_0x434235(0x122)](_0x1bc390[_0x434235(0x22b)]());}[_0x3f93a3(0xdf)](_0x1d1f5c){const _0x45f33c=_0x3f93a3;this[_0x45f33c(0x1d0)][_0x45f33c(0x243)]===0x0&&this['_scheduleHeartbeat'](),this[_0x45f33c(0x1d0)][_0x45f33c(0x146)](_0x1d1f5c),this[_0x45f33c(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1d1f5c],'isForwarded':!0x1});}[_0x3f93a3(0x77)](_0x5994f2){const _0x4eadd4=_0x3f93a3;this[_0x4eadd4(0x1d0)][_0x4eadd4(0xd5)](_0x5994f2),this[_0x4eadd4(0x1d0)][_0x4eadd4(0x243)]===0x0&&this[_0x4eadd4(0x172)]&&window[_0x4eadd4(0x246)](this[_0x4eadd4(0x172)]);}[_0x3f93a3(0xb0)](){const _0x59e945=_0x3f93a3;this[_0x59e945(0x274)](_0x1def49[_0x59e945(0xd3)](_0x1bc390[_0x59e945(0x2d9)](window,'storage')[_0x59e945(0x1a5)](_0x112384=>{const _0x26ad4a=_0x59e945;if(_0x112384[_0x26ad4a(0x7e)]!==_0x1b0f6a||!_0x112384['newValue'])return;const _0x4e1321=JSON[_0x26ad4a(0xac)](_0x112384[_0x26ad4a(0xd1)]);this[_0x26ad4a(0x178)](_0x4e1321);}))),window[_0x59e945(0x23c)]('unload',()=>this[_0x59e945(0x2fc)]({'type':0x1,'memberID':this[_0x59e945(0x2a7)],'unitIDs':Array[_0x59e945(0x1cb)](this[_0x59e945(0x1d0)])}));}[_0x3f93a3(0x178)](_0x460698){const _0x238d51=_0x3f93a3;switch(_0x460698['type']){case 0x0:this[_0x238d51(0x218)](_0x460698);break;case 0x1:this[_0x238d51(0x2fe)](_0x460698);break;case 0x2:this[_0x238d51(0xbb)](_0x460698);break;}}[_0x3f93a3(0x218)](_0xc8e388){const _0x20f4a5=_0x3f93a3,{unitIDs:_0x56b7aa,memberID:_0x1277a9,isForwarded:_0x33fb84}=_0xc8e388;_0x56b7aa[_0x20f4a5(0x2f2)](_0x31718c=>{const _0x5bc386=_0x20f4a5;if(!_0x33fb84&&this[_0x5bc386(0x214)][_0x5bc386(0x2c7)](_0x31718c)&&this[_0x5bc386(0x158)](_0x31718c)['next'](_0x479769['UnitStatus'][_0x5bc386(0x1f3)]),!this['_unitOnClients']['has'](_0x31718c)||!this['_unitOnClients']['get'](_0x31718c)[_0x5bc386(0x2c7)](_0x1277a9)){const _0x30cb48=this['_unitOnClients'][_0x5bc386(0x17c)](_0x31718c)||new Set();_0x30cb48[_0x5bc386(0x146)](_0x1277a9),this[_0x5bc386(0x214)]['set'](_0x31718c,_0x30cb48),this[_0x5bc386(0x223)](_0x1277a9);}}),_0x33fb84||this[_0x20f4a5(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x20f4a5(0x1d0)]],'isForwarded':!0x0});}[_0x3f93a3(0x223)](_0x267388){const _0x567dbc=_0x3f93a3;this[_0x567dbc(0xdc)](_0x267388);const _0x22cee9=window['setTimeout'](()=>{const _0x86f476=_0x567dbc;this[_0x86f476(0x214)][_0x86f476(0x2f2)](_0x3abebf=>{const _0x39807a=_0x86f476;_0x3abebf[_0x39807a(0xd5)](_0x267388);});},_0x130879*0x2);this[_0x567dbc(0x98)]['set'](_0x267388,_0x22cee9);}[_0x3f93a3(0xdc)](_0x30d463){const _0x585f50=_0x3f93a3;if(this['_clearOtherTimers'][_0x585f50(0x2c7)](_0x30d463)){const _0x2b0422=this[_0x585f50(0x98)]['get'](_0x30d463);_0x2b0422&&window[_0x585f50(0xec)](_0x2b0422),this[_0x585f50(0x98)]['set'](_0x30d463,null);}}[_0x3f93a3(0x2fe)](_0x12d93a){const _0x2c244f=_0x3f93a3,{memberID:_0x1cb1e1,unitIDs:_0x18b2be}=_0x12d93a;_0x18b2be[_0x2c244f(0x2f2)](_0x4f672e=>{const _0xf8b7a5=_0x2c244f;var _0x31b492;const _0x515bf4=this[_0xf8b7a5(0x214)]['get'](_0x4f672e);_0x515bf4&&(_0x515bf4[_0xf8b7a5(0xd5)](_0x1cb1e1),(_0x31b492=this['_ensureSubject'](_0x4f672e))==null||_0x31b492[_0xf8b7a5(0xbe)](_0x515bf4[_0xf8b7a5(0x243)]===0x0?_0x479769['UnitStatus'][_0xf8b7a5(0x186)]:_0x479769[_0xf8b7a5(0x232)]['OTHER_CLIENTS_EDITING']));}),this[_0x2c244f(0xdc)](_0x1cb1e1);}[_0x3f93a3(0xbb)](_0x39b1e1){const _0x48afa9=_0x3f93a3;this[_0x48afa9(0x223)](_0x39b1e1[_0x48afa9(0x104)]);}[_0x3f93a3(0x2fc)](_0x5763aa){const _0xa1aab4=_0x3f93a3;localStorage[_0xa1aab4(0x95)](_0x1b0f6a,JSON['stringify'](_0x5763aa));}[_0x3f93a3(0x28c)](){const _0x36e8ca=_0x3f93a3;this[_0x36e8ca(0x172)]=window[_0x36e8ca(0x11d)](()=>{const _0x19a006=_0x36e8ca;this[_0x19a006(0x2fc)]({'type':0x2,'memberID':this['_id']});},_0x130879);}[_0x3f93a3(0x158)](_0x23a4df){const _0x1fd1da=_0x3f93a3;return this[_0x1fd1da(0x197)][_0x1fd1da(0x2c7)](_0x23a4df)||this['_unitStatus'][_0x1fd1da(0x22e)](_0x23a4df,new _0x1bc390[(_0x1fd1da(0x230))](_0x479769[_0x1fd1da(0x232)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1fd1da(0x197)][_0x1fd1da(0x17c)](_0x23a4df);}}var _0x43d076=(_0x511b13=>(_0x511b13[_0x511b13[_0x3f93a3(0x272)]=0x0]=_0x3f93a3(0x272),_0x511b13[_0x511b13['OK']=0x1]='OK',_0x511b13[_0x511b13[_0x3f93a3(0x16b)]=0x2]=_0x3f93a3(0x16b),_0x511b13[_0x511b13[_0x3f93a3(0x17f)]=0x3]=_0x3f93a3(0x17f),_0x511b13[_0x511b13['NOT_FOUND']=0x4]='NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x27e)]=0x5]=_0x3f93a3(0x27e),_0x511b13[_0x511b13[_0x3f93a3(0x16d)]=0x6]=_0x3f93a3(0x16d),_0x511b13[_0x511b13[_0x3f93a3(0xa7)]=0x7]=_0x3f93a3(0xa7),_0x511b13[_0x511b13[_0x3f93a3(0x277)]=0x8]=_0x3f93a3(0x277),_0x511b13[_0x511b13[_0x3f93a3(0x2ca)]=0x9]=_0x3f93a3(0x2ca),_0x511b13[_0x511b13['LOGIN_FAILED']=0xa]=_0x3f93a3(0x2ee),_0x511b13[_0x511b13[_0x3f93a3(0x259)]=0x1389]=_0x3f93a3(0x259),_0x511b13[_0x511b13[_0x3f93a3(0x1ac)]=0x1771]=_0x3f93a3(0x1ac),_0x511b13[_0x511b13[_0x3f93a3(0x1fe)]=0x1772]=_0x3f93a3(0x1fe),_0x511b13[_0x511b13[_0x3f93a3(0x136)]=0x1773]=_0x3f93a3(0x136),_0x511b13[_0x511b13[_0x3f93a3(0xb3)]=0x1b59]=_0x3f93a3(0xb3),_0x511b13[_0x511b13[_0x3f93a3(0x2b6)]=0x1b5a]=_0x3f93a3(0x2b6),_0x511b13[_0x511b13['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3f93a3(0x19a),_0x511b13[_0x511b13['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f93a3(0x1ad),_0x511b13[_0x511b13[_0x3f93a3(0x190)]=0x1b5d]='APPLY_DUPLICATED',_0x511b13[_0x511b13[_0x3f93a3(0x192)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x511b13[_0x511b13[_0x3f93a3(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x511b13[_0x511b13[_0x3f93a3(0x2e6)]=0x232a]=_0x3f93a3(0x2e6),_0x511b13[_0x511b13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3f93a3(0x208),_0x511b13[_0x511b13[_0x3f93a3(0x28f)]=0x232c]=_0x3f93a3(0x28f),_0x511b13[_0x511b13[_0x3f93a3(0xc3)]=0x232d]=_0x3f93a3(0xc3),_0x511b13[_0x511b13[_0x3f93a3(0x30e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x511b13[_0x511b13[_0x3f93a3(0x15b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x511b13[_0x511b13[_0x3f93a3(0xc2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x511b13[_0x511b13[_0x3f93a3(0x23d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x1f8)]=0x271a]=_0x3f93a3(0x1f8),_0x511b13[_0x511b13[_0x3f93a3(0x152)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x511b13[_0x511b13[_0x3f93a3(0x26c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x511b13[_0x511b13[_0x3f93a3(0x1fd)]=0x271d]=_0x3f93a3(0x1fd),_0x511b13[_0x511b13[_0x3f93a3(0x93)]=0x271e]=_0x3f93a3(0x93),_0x511b13[_0x511b13['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3f93a3(0x2ad),_0x511b13[_0x511b13[_0x3f93a3(0xb5)]=0x2af9]=_0x3f93a3(0xb5),_0x511b13[_0x511b13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3f93a3(0x287),_0x511b13[_0x511b13[_0x3f93a3(0x182)]=0x2ee2]=_0x3f93a3(0x182),_0x511b13[_0x511b13[_0x3f93a3(0x25e)]=0x2ee3]=_0x3f93a3(0x25e),_0x511b13[_0x511b13[_0x3f93a3(0x8a)]=0x2ee4]=_0x3f93a3(0x8a),_0x511b13[_0x511b13[_0x3f93a3(0xab)]=0x2ee5]=_0x3f93a3(0xab),_0x511b13[_0x511b13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3f93a3(0x102),_0x511b13[_0x511b13[_0x3f93a3(0x1ed)]=0x32ca]=_0x3f93a3(0x1ed),_0x511b13[_0x511b13[_0x3f93a3(0x135)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x511b13[_0x511b13['UNRECOGNIZED']=-0x1]=_0x3f93a3(0x2c0),_0x511b13))(_0x43d076||{}),_0x5ab996=Object[_0x3f93a3(0x239)],_0x2e4f66=(_0x1a3262,_0x4505dd,_0x2b8800,_0x282cae)=>{for(var _0x5d3359=_0x282cae>0x1?void 0x0:_0x282cae?_0x5ab996(_0x4505dd,_0x2b8800):_0x4505dd,_0xf56ead=_0x1a3262['length']-0x1,_0x122b3c;_0xf56ead>=0x0;_0xf56ead--)(_0x122b3c=_0x1a3262[_0xf56ead])&&(_0x5d3359=_0x122b3c(_0x5d3359)||_0x5d3359);return _0x5d3359;},_0x50643f=(_0x14606e,_0x30cfe6)=>(_0x67774e,_0x3c0ace)=>_0x30cfe6(_0x67774e,_0x3c0ace,_0x14606e);_0x285d46[_0x3f93a3(0x194)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x265025,_0x3acf81,_0x20ee03){const _0x4360fa=_0x3f93a3;super(),this[_0x4360fa(0x2fb)]=_0x265025,this[_0x4360fa(0x251)]=_0x3acf81,this[_0x4360fa(0x1bf)]=_0x20ee03;}async['runOnServer'](_0x3f67ca,_0x296c3a,_0x31da6d,..._0x299a60){const _0x131bdc=_0x3f93a3;var _0x3b534c,_0x3c09eb,_0x4c9ea4,_0x54b20d;const _0x316a63=this['_instanceService']['getFocusedUnit']();if(!_0x316a63)throw new Error(_0x131bdc(0x8d));const _0x41039a=((_0x3b534c=this['_configService']['getConfig'](_0x479769[_0x131bdc(0xb2)]))!=null?_0x3b534c:_0x479769[_0x131bdc(0x157)])+'/'+_0x3f67ca+_0x131bdc(0x265)+_0x296c3a,_0x378052=new URL(window[_0x131bdc(0x2d4)]['href']),_0x5f1591={'scriptId':_0x3f67ca,'runId':(_0x3c09eb=_0x378052['searchParams'][_0x131bdc(0x17c)](_0x131bdc(0x266)))!=null?_0x3c09eb:'','function':_0x296c3a,'unitId':_0x316a63['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x299a60),'invokeId':(_0x4c9ea4=_0x31da6d[_0x131bdc(0x189)])!=null?_0x4c9ea4:'','executionId':(_0x54b20d=_0x31da6d[_0x131bdc(0x11a)])!=null?_0x54b20d:''};try{const _0x1ed88a=await this['_httpService'][_0x131bdc(0x1f9)](_0x41039a,{'body':_0x5f1591});return _0x1ed88a[_0x131bdc(0x26a)]['error']&&_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0x30a)]['code']!==_0x43d076['OK']?'Failed':_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0xf9)];}catch{return _0x131bdc(0xd7);}}},_0x285d46['RemoteUniscriptService']=_0x2e4f66([_0x50643f(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x50643f(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad['HTTPService'])),_0x50643f(0x2,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x194)]),_0x285d46[_0x3f93a3(0x23b)]=_0x185b6e,_0x285d46[_0x3f93a3(0x1c9)]=_0x1375cb,_0x285d46[_0x3f93a3(0x2d7)]=_0x57f453,_0x285d46[_0x3f93a3(0x2e7)]=_0x525196,_0x285d46['WebURLService']=_0x23e6ac,Object['defineProperty'](_0x285d46,Symbol[_0x3f93a3(0x210)],{'value':_0x3f93a3(0x14b)});}));
|