@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-63779a3 → 0.6.10-experimental.20250428-8c74c87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4b8b(_0x50a1e7,_0x1bf874){const _0xb8fb15=_0xb8fb();return _0x4b8b=function(_0x4b8bd9,_0x272a82){_0x4b8bd9=_0x4b8bd9-0x1c5;let _0x55e232=_0xb8fb15[_0x4b8bd9];return _0x55e232;},_0x4b8b(_0x50a1e7,_0x1bf874);}function _0xb8fb(){const _0x5e3a34=['isTransformMutationsWithChangesetSuccess','pushState','USERS_LEAVE','getCellPositionByOffset','_toggleOffline','registerRefRange','toRgbString','_anchor','handleIRemoveCol','mapTo','_textBubble','getUndoRedoMutationParamsCache','setTimeout','startColumn','_handleHover','_getAnchorBounding','UNRECOGNIZED','toStringTag','UniverCollaborationClientPlugin','_backgroundColor','_cachedData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','isArray','JOIN_ROOM_FAILED','operators','createElement','currentTheme$','on-line-single_clip0_910_349','CollaborationStatus','RevisionService','displayName','combineLatest','createSocket','getMergeData','body','CollaborationSessionService','_initResize','MessageType','string','1em','drawWith','#FFF','ICommandService','font','AWAITING_WITH_PENDING','_doCreateSocket','clearTimeout','exhaustSavingTask','@univerjs/design','onTransformChange$','_docTransformStateCacheService','lineTo','_toggleOnline','HTTPService','getUnhiddenWorksheets','defIds','init','pipe','icon','getConfig','currentSkeleton$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_color','LICENSE_DISTRO_REJECTED','INVITE_CODE_ALREADY_BOUND','SetSelectionsOperation','collab-text-range-','_cursorInfo$','_setupBeforeClosingHandler','hovered','_urlService','length','BehaviorSubject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_colorAssignService','getDocRanges','_context','BrowserCollaborationSocketService','onLocalMutation','Error','_sheetSkeletonManagerService','_collabCursorState$','COMPLETION_FINISHED','labelPosition','SheetCollabCursorShape','addEventListener','getMemberID','hasOwnProperty','_hovered','forwardRef','_session','registerComponent','8rQaImr','transformSelections','code','SOCKET_FAILED_RETRY','ITransformService','enableLocalCache','getUniverSheetInstance','roomMembers$','SetDocZoomRatioOperation','UNAUTHENTICATED','getTypeOfUnitAdded$','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','_initEvent','trim','UnitStatus','url(#$1','_transformService','max','dispose','NOT_COLLAB','@univerjs/engine-render','createIdentifier','_eventUnsubscribe','_document','@univerjs/ui','path','_memberService','next','[CollaborationDataLoaderController]','all','collab-client.tooltip.reconnect','_updateURLWithCurrentState','_unitStatus','RECT','_heartbeatTimer','UniverSheetsUi','unitID','clearInterval','Inject','defineProperty','error','PY_RUNTIME_SCRIPT_ERROR','109210lXAKps','NO_OTHER_CLIENTS_EDITING','entries','loadUnit','_startDocCollabCursor','DeleteRangeMoveLeftCommandId','saveImage','subUnitId','triggerDblclick','send','size','_docStateChangeManagerService','react','object','Tools','_themeService','1563030xFkMUD','Vector2','name','source','ILocalCacheService','Module','APPLY_PERMISSION_DENIED','getRenderById','handleInsertRangeMoveRight','IConfigService','_createSocketURL','values','addObjects','filter','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','origin','_unitOnClients','@univerjs/sheets','UniverProCollaborationClient','_initCommandExecutedListener','syncEditingCollabCursor','_cursors','_refreshCollabCursors','_selfUnitIDs','MUTATION','InsertRangeMoveRightCommandId','session.collaboration-timeout','complete','Failed','m2Prime','getActiveRange','merge','VIEW_MAIN','DocIMEInputManagerService','SNAPSHOT_INVALID_SNAPSHOT','closePath','mutations','CONFLICT','NOT_FOUND','fromEvent','getCurrentRevOfUnit','@univerjs/core','getSheetBySheetId','Disposable','moveTo','with','0\x200\x2017\x2016','TOO_MANY_REQUESTS','unsubscribe','executionId','DisposableCollection','sheetID','_onRefRangeChange','SOCKET_FAILED','history','endRow','random','univer-flex\x20univer-items-center','/run/','5HfsAWf','getParam','reconnect','RemoveRowCommandId','className','sessionStatus$','_setupSubUnitSync','_initStatusComponent','UniverCollaborationClientUIPlugin','_config','black','storage','attrs','href','DesktopCollaborationStatusDisplayController','getValue','takeUntil','_collabCursorController','replaceState','_render','transformMutationsWithChangeset','hide','1463912RSmscG','FETCH_MISS','Unknown\x20user','arc','Shape','touchDependencies','data','@univerjs/network','IRenderManagerService','DependentOn','saveOfflineData','UNIVER_DOC','Warning','handleMoveRange','_localeService','APPLY_DUPLICATED','CollaborationDataLoaderController','_transformPreviousActiveRange','purple300','svg','subunit','redoState','serializeRangeWithSheet','_getSessionTicket','RxDisposable','YUUMI_UNABLE_LOAD_URL','shareReplay','startsWith','loadOfflineData','transformIMECache','APPLY_NON_SEQUENTIAL_REVISION','substring','unshift','_lastPointer','color','setShapeProps','_drawRectRange','getLocalCacheKey','_messageService','UniverUi','whenReady','UNDEFINED','collabStatus.synced','getSheetId','toDisposable','search','getStateCache','2ioskOn','RemoveColCommandId','Tooltip','handleInsertCol','registerDependencies','WebBrowserSingleActiveUnitService','saveTaskMap','5333741pvuEFu','delete','ColorKit','editingUnit','connectInjector','useDependency','BuiltInUIPart','useRef','type','@univerjs/drawing','column','_cursorShapes','amd','INTERNAL_ERROR','_online','IUniverInstanceService','@univerjs-pro/collaboration-client','_docSkeletonManagerService','getTypeOfUnitDisposed$','ILocalStorageService','disableLocalCache','replace','measureText','IDocClipboardService','sessionTicket','_getScale','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','@univerjs-pro/collaboration','_collabSessionService','setAlpha','backgroundColor','focused$','_send','SheetsSelectionsService','add','verdancy600','distinctUntilChanged','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IBeforeCloseService','_ensureSubject','idSuffix','OffLineSingle','UNIVER_SHEET','_anchorDot','_injector','concat','_saveCache','UniverDocsUi','_roomMembers$','collaboration-client.offline-data-not-saved','replaceDocRanges','searchParams','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineFormula','clipPath','urlChange$','div','CollaborationEvent','INVALID_ARGUMENT','EffectRefRangId','_updateSubUnitFromURLParams','collabStatus.notCollab','AWAITING','MemberService','children','subscribe','ISocketService','newValue','getFocusedUnit','getUnitId','getOffsetConfig','isTransformMutationFailure','_id','params','Subject','_handleHeartbeatEvent','colorChannel1','setActiveRange','@univerjs/docs','off-line-single_clip0_910_343','row','univerjs-icon\x20univerjs-icon-','INVITE_CODE_HAS_BEEN_UES','InsertColCommandId','_labelPosition','_notificationService','addObject','tag','NodePositionConvertToCursor','jiqing500','rgba(255,\x20255,\x20255,\x200.01)','getVpScrollXYInfoByPosToVp','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','M0\x200H16V16H0z','IRemoteInstanceService','save','runOnServer','handleIRemoveRow','_syncEditingCollabCursorService','InsertRowCommandId','Injector','ALREADY_EXISTS','getRelativeToViewportCoord','_registerRenderDependencies','cursorInfo$','skeleton','getCollabCursors$','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_REQUIRED','dispose$','getUnitStatus$','MoveRangeCommandId','engine','find','getSheetObject','push','set','@univerjs/rpc','2493138wHIaJP','selection','DocStateChangeManagerService','collab-rect-range-','537467bQBNcE','switchMap','_range','_handleLeaveEvent','location','status$','runRefRangeMutations','_status$','univer-text-green-500','_getSaveTimeout','_scheduleSaving','_beforeCloseService','HEADER_MENU','UPDATE_CURSOR','handleDeleteRangeMoveLeft','onPointerEnter$','asObservable','SYNCED','_drawTextRange','UniverIcon','beginPath','override','#fff','debounceTime','use','_logService','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','findNodePositionByCharIndex','SUBMIT_CHANGESET_TIMEOUT','_initStatusListener','useObservable','has','collaboration.closeRoom','onPointerMove$','_draw','_univerInstanceService','CollaborationStatusDisplay','_commandService','USER_NOT_INVITED_CODE','range','_revisionService','0\x200\x2016\x2016','debounce','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','RefRangeService','deserializeRangeWithSheet','APPLY_REJECT','_removeCollabCursors','_updateLocalCursor','_handleJoinEvent','collaboration-client-ui.config','xlink:href','COLORS','_docTransformSelectionsService','_scene','some','_dataLoaderService','_registerDependencies','DocSelectionManagerService','_getMergeRange','activeSheet$','disposeWithMe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','red300','result','DOC_RANGE_TYPE','SessionStatus','exports','onCommandExecuted','_uiPartsService','deepClone','_scheduleClearOtherTimer','UniverProCollaboration','indexOf','onMouseMove','_localCacheService','width','blue400','_removeClearOtherTimer','22JDqiNH','FromArray','top','from','round','roomMembers','_initDependencies','OnLineSingle','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','_onCursorDelete','toString','APPLY_REVISION_CONFILICT','ranges','docStateChange$','symbol','permission.content','restore','getAncestorScale','debug','OTHER_CLIENTS_EDITING','_name','INotificationService','call','collabStatus.offline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','evenodd','setInterval','fillRule','LocaleService','UniverInstanceType','show','undoState','extend','onStarting','min','popstate','_renderManagerService','setItem','CollaborationController','_entityInit$','key','_localStorageService','_saveTaskMap','getCurrent','collabStatus.conflict','m1Prime','subscribeEvent','eventID','RemoteUniscriptService','Optional','_hideTimer','getActiveSheet','SheetSkeletonManagerService','_imageIoService','then','defs','_configService','_handleEvent','ILogService','bottom','ENSURE_SNAPSHOT_EXECUTION','get','ThemeService','React','transformStateCache','_docTransformIMECacheService','getOwnPropertyDescriptor','uni.network.url-service','entityInit$','throttleTime','jsx','getSkeleton','getRangePointData','assignAColorForMemberID','fillStyle','application/json','DocSkeletonManagerService','_collaborationController','CollaborationUIEventId','forEach','INVALID_INVITE_CODE','UniverEngineRender','rxjs/operators','collabStatus.fetchMiss','requireSession','_httpService','fill','runId','DeleteRangeMoveUpCommandId','SetWorksheetActivateCommand','rxjs','getColor','fillText','registerRenderModule','unit','IImageIoService','@univerjs/sheets-ui','Rectangle','_transformHistoryAndStateStack','_initEntityListener','transformMutation','setParam','mask','OFFLINE','none','InsertRangeMoveDownCommandId','_scheduleHeartbeat','_updateCollabCursors','cursorInfo','UniverSheets','DataLoaderService','removeParam','YUUMI_NO_CUBOID_FOR_QUESTION','PERMISSION_DENIED','collabStatus.syncing','RegularPolygon','UniverDrawing','_shapes','_docClipboardService','current','_init','_assignedColors','ONLINE','_docSyncEditingCollabCursorService','prototype','setUndoRedoMutationParamsCache','...','getViewport','_colorIndex','Plugin','_cursor','@univerjs/docs-ui','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','includes','generateRandomId','jsxs','TEXT','onPointerLeave$','Rect','doc.mutation.rich-text-editing','isActive','_entities','@univerjs/engine-formula','stringify','unitId','assign','SetTextSelectionsOperation','selections','textRanges','EMAIL_HAS_BEEN_BOUND','getCoordByCell','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_hover','_refRangeService','_onCursorUpdate','map','_getSheetObject','event$','height','_instanceService','split','text','mergeOverrideWithDependencies','14546358JIVWQW','transformRemoteChangeset','UniverDesign'];_0xb8fb=function(){return _0x5e3a34;};return _0xb8fb();}(function(_0x37e18b,_0x33ce1a){const _0x3fb6a8=_0x4b8b,_0x28f39b=_0x37e18b();while(!![]){try{const _0x4089cc=-parseInt(_0x3fb6a8(0x1de))/0x1*(-parseInt(_0x3fb6a8(0x3ef))/0x2)+-parseInt(_0x3fb6a8(0x36e))/0x3+parseInt(_0x3fb6a8(0x3c0))/0x4*(-parseInt(_0x3fb6a8(0x3aa))/0x5)+parseInt(_0x3fb6a8(0x1da))/0x6+parseInt(_0x3fb6a8(0x3f6))/0x7*(-parseInt(_0x3fb6a8(0x333))/0x8)+parseInt(_0x3fb6a8(0x2d3))/0x9+parseInt(_0x3fb6a8(0x35e))/0xa*(parseInt(_0x3fb6a8(0x22f))/0xb);if(_0x4089cc===_0x33ce1a)break;else _0x28f39b['push'](_0x28f39b['shift']());}catch(_0x3c135e){_0x28f39b['push'](_0x28f39b['shift']());}}}(_0xb8fb,0xe603f),function(_0x2c72c9,_0x2ae10a){const _0x1fdca5=_0x4b8b;typeof exports==_0x1fdca5(0x36b)&&typeof module<'u'?_0x2ae10a(exports,require(_0x1fdca5(0x406)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x1fdca5(0x3c7)),require(_0x1fdca5(0x2b3)),require(_0x1fdca5(0x3ff)),require(_0x1fdca5(0x28a)),require(_0x1fdca5(0x447)),require(_0x1fdca5(0x412)),require(_0x1fdca5(0x2be)),require(_0x1fdca5(0x380)),require(_0x1fdca5(0x282)),require(_0x1fdca5(0x290)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x1fdca5(0x307)),require(_0x1fdca5(0x36a)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1fdca5(0x402)]?define([_0x1fdca5(0x223),'@univerjs-pro/collaboration-client',_0x1fdca5(0x398),_0x1fdca5(0x348),_0x1fdca5(0x3c7),'@univerjs/docs-ui','@univerjs/drawing',_0x1fdca5(0x28a),_0x1fdca5(0x447),'@univerjs-pro/collaboration',_0x1fdca5(0x2be),_0x1fdca5(0x380),_0x1fdca5(0x282),_0x1fdca5(0x290),'react/jsx-runtime',_0x1fdca5(0x34c),_0x1fdca5(0x307),_0x1fdca5(0x36a),_0x1fdca5(0x1d9)],_0x2ae10a):(_0x2c72c9=typeof globalThis<'u'?globalThis:_0x2c72c9||self,_0x2ae10a(_0x2c72c9['UniverProCollaborationClientUi']={},_0x2c72c9[_0x1fdca5(0x381)],_0x2c72c9['UniverCore'],_0x2c72c9[_0x1fdca5(0x281)],_0x2c72c9['UniverNetwork'],_0x2c72c9[_0x1fdca5(0x428)],_0x2c72c9[_0x1fdca5(0x2a4)],_0x2c72c9[_0x1fdca5(0x28a)],_0x2c72c9['UniverDocs'],_0x2c72c9[_0x1fdca5(0x228)],_0x2c72c9[_0x1fdca5(0x42e)],_0x2c72c9[_0x1fdca5(0x29d)],_0x2c72c9[_0x1fdca5(0x28a)][_0x1fdca5(0x2ef)],_0x2c72c9[_0x1fdca5(0x357)],_0x2c72c9['React'],_0x2c72c9[_0x1fdca5(0x3e7)],_0x2c72c9[_0x1fdca5(0x2d5)],_0x2c72c9[_0x1fdca5(0x26f)],_0x2c72c9['UniverRpc']));}(this,function(_0x5d87d7,_0x5bae0f,_0x12127f,_0xcd886d,_0x12d4d8,_0x464098,_0x175fc4,_0x4d06f2,_0x514f6b,_0x50b9f9,_0x5371ba,_0x347d9b,_0x43c141,_0x158580,_0x30ea62,_0x594396,_0x4ecfe7,_0xbee236,_0x5ae2ec){'use strict';const _0x4c88bb=_0x4b8b;var _0x66593a=Object[_0x4c88bb(0x35b)],_0x436b25=(_0x226e38,_0x5490b7,_0x145200)=>_0x5490b7 in _0x226e38?_0x66593a(_0x226e38,_0x5490b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x145200}):_0x226e38[_0x5490b7]=_0x145200,_0x259cdc=(_0x4186f4,_0x50bf94,_0x11c840)=>_0x436b25(_0x4186f4,typeof _0x50bf94!=_0x4c88bb(0x23e)?_0x50bf94+'':_0x50bf94,_0x11c840),_0x86ec6a=Object[_0x4c88bb(0x272)],_0x1d3cad=(_0x1d7ac9,_0x3def26,_0x30bea5,_0x490f26)=>{const _0x127bbf=_0x4c88bb;for(var _0x54e902=_0x490f26>0x1?void 0x0:_0x490f26?_0x86ec6a(_0x3def26,_0x30bea5):_0x3def26,_0x1e7a05=_0x1d7ac9[_0x127bbf(0x31e)]-0x1,_0x5b4840;_0x1e7a05>=0x0;_0x1e7a05--)(_0x5b4840=_0x1d7ac9[_0x1e7a05])&&(_0x54e902=_0x5b4840(_0x54e902)||_0x54e902);return _0x54e902;},_0x23d7b8=(_0x47cf06,_0x36f1b6)=>(_0x158869,_0x49cb83)=>_0x36f1b6(_0x158869,_0x49cb83,_0x47cf06);let _0xd2e3e3=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x5c87,_0x1db0e9){const _0xc19e6b=_0x4c88bb;super(),this[_0xc19e6b(0x2a6)]=_0x5c87,this[_0xc19e6b(0x265)]=_0x1db0e9,this[_0xc19e6b(0x2a8)]();}[_0x4c88bb(0x2a8)](){const _0x2ee59c=_0x4c88bb,_0x18b374=this;this[_0x2ee59c(0x21d)](this[_0x2ee59c(0x2a6)]['addClipboardHook']({'onBeforePasteImage':async _0x35ee55=>{const _0x379923=_0x2ee59c,_0x4918f0=await _0x18b374['_imageIoService'][_0x379923(0x364)](_0x35ee55);return _0x4918f0?{'source':_0x4918f0[_0x379923(0x371)],'imageSourceType':_0x4918f0['imageSourceType']}:null;}}));}};_0xd2e3e3=_0x1d3cad([_0x23d7b8(0x0,_0x464098[_0x4c88bb(0x40d)]),_0x23d7b8(0x1,_0x175fc4[_0x4c88bb(0x28f)])],_0xd2e3e3);const _0x139324=[_0x4c88bb(0x3d2),_0x4c88bb(0x452),_0x4c88bb(0x41a),_0x4c88bb(0x21f),_0x4c88bb(0x22d),'gold400'];class _0x3a2e1e extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x4c03b4=_0x4c88bb;super(...arguments),_0x259cdc(this,'_assignedColors',new Map()),_0x259cdc(this,_0x4c03b4(0x2b0),0x0);}[_0x4c88bb(0x279)](_0xa319){const _0x27ea50=_0x4c88bb;if(this[_0x27ea50(0x2a9)][_0x27ea50(0x1fe)](_0xa319))return this['_assignedColors'][_0x27ea50(0x26d)](_0xa319);const _0x2df9cd=_0x139324[this['_colorIndex']];return this[_0x27ea50(0x2b0)]=(this[_0x27ea50(0x2b0)]+0x1)%_0x139324[_0x27ea50(0x31e)],this[_0x27ea50(0x2a9)][_0x27ea50(0x1d8)](_0xa319,_0x2df9cd),_0x2df9cd;}}function _0x39ca37(_0x5471a9){const _0x1b06e3=_0x4c88bb;let _0x3b3397='';for(const _0x2fbe1e of _0x5471a9){const {startOffset:_0x5f2c02,endOffset:_0x454ad5,isActive:_0x17a3a6,rangeType:_0x2184c8,segmentId:_0x15d014,segmentPage:_0x2f3433}=_0x2fbe1e;_0x3b3397[_0x1b06e3(0x31e)]&&(_0x3b3397+=','),_0x3b3397+=_0x5f2c02+':'+_0x454ad5+':'+(_0x17a3a6?'1':'0')+':'+_0x2184c8+':'+_0x15d014+':'+_0x2f3433;}return _0x3b3397;}function _0x1f0359(_0x2d7200){const _0x100ed5=_0x4c88bb,_0x70d61a=_0x2d7200[_0x100ed5(0x2d0)](','),_0x3559e6=[];for(const _0xb1570f of _0x70d61a){const [_0x5c617b,_0x3a9119,_0x50e552,_0xd26b4e,_0x46ffea,_0x4a13b1]=_0xb1570f[_0x100ed5(0x2d0)](':');_0x3559e6[_0x100ed5(0x1d7)]({'startOffset':Number(_0x5c617b),'endOffset':Number(_0x3a9119),'collapsed':_0x5c617b===_0x3a9119,'isActive':_0x50e552==='1','rangeType':_0xd26b4e===_0x12127f['DOC_RANGE_TYPE'][_0x100ed5(0x2b8)]?_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x2b8)]:_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x355)],'segmentId':typeof _0x46ffea==_0x100ed5(0x2fd)?String(_0x46ffea):'','segmentPage':Number(_0x4a13b1!=null?_0x4a13b1:-0x1)});}return _0x3559e6[_0x100ed5(0x217)](_0x4f27dc=>_0x4f27dc['isActive'])||(_0x3559e6[0x0][_0x100ed5(0x2bc)]=!0x0),_0x3559e6;}class _0x34804b extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x505e61=_0x4c88bb;super(...arguments),_0x259cdc(this,_0x505e61(0x328),new _0x4d06f2[(_0x505e61(0x31f))](null)),_0x259cdc(this,'collabCursorState$',this[_0x505e61(0x328)][_0x505e61(0x1ee)]());}[_0x4c88bb(0x383)](_0x22adce){const _0x48afaf=_0x4c88bb,{unitID:_0x4bb6fd,memberID:_0x59b996,textRanges:_0x34e5bd}=_0x22adce,_0x42582a=_0x39ca37(_0x34e5bd);if(_0x42582a==='')return;const _0x32d3ad={'unitID':_0x4bb6fd,'memberID':_0x59b996,'selection':_0x42582a};this[_0x48afaf(0x328)][_0x48afaf(0x34f)](_0x32d3ad);}}var _0x12e348=Object[_0x4c88bb(0x272)],_0x2434a4=(_0x1f118b,_0x596b7c,_0x34a284,_0x8b8a7d)=>{const _0x20da90=_0x4c88bb;for(var _0x5d942f=_0x8b8a7d>0x1?void 0x0:_0x8b8a7d?_0x12e348(_0x596b7c,_0x34a284):_0x596b7c,_0x297f4e=_0x1f118b[_0x20da90(0x31e)]-0x1,_0x57f38d;_0x297f4e>=0x0;_0x297f4e--)(_0x57f38d=_0x1f118b[_0x297f4e])&&(_0x5d942f=_0x57f38d(_0x5d942f)||_0x5d942f);return _0x5d942f;},_0x1d19f6=(_0x1ef0cc,_0x269b35)=>(_0x407610,_0x25dbe8)=>_0x269b35(_0x407610,_0x25dbe8,_0x1ef0cc);const _0x23f328=0x12c,_0x465239=0x64;let _0x4456f4=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x8f104f,_0x1f0c7b,_0x464a1a,_0x4a5306,_0x4d22de,_0x327ec6,_0x2c21f2,_0x21981b,_0x37ee76){const _0x5995a4=_0x4c88bb;super(),_0x259cdc(this,_0x5995a4(0x404),!0x1),_0x259cdc(this,_0x5995a4(0x2a8),!0x1),_0x259cdc(this,_0x5995a4(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x5995a4(0x1cc),this[_0x5995a4(0x31a)][_0x5995a4(0x1ee)]()),_0x259cdc(this,'_roomMembers$',new _0x4d06f2[(_0x5995a4(0x31f))]([])),_0x259cdc(this,_0x5995a4(0x33a),this[_0x5995a4(0x429)][_0x5995a4(0x310)](_0x4d06f2[_0x5995a4(0x1f5)](_0x23f328))),_0x259cdc(this,_0x5995a4(0x210),_0x12127f[_0x5995a4(0x209)](_0x124635=>{const _0x67db0b=_0x5995a4,_0x21505e={'eventID':_0x50b9f9['CollaborationEvent'][_0x67db0b(0x1eb)],'data':{'unitID':this[_0x67db0b(0x358)],'memberID':this[_0x67db0b(0x331)][_0x67db0b(0x32d)](),'selection':_0x39ca37(_0x124635)}};this[_0x67db0b(0x331)][_0x67db0b(0x367)](_0x21505e,this[_0x67db0b(0x358)]);},_0x465239)),(this['unitID']=_0x8f104f,this[_0x5995a4(0x331)]=_0x1f0c7b,this[_0x5995a4(0x425)]=_0x464a1a,this[_0x5995a4(0x321)]=_0x4a5306,this[_0x5995a4(0x34e)]=_0x4d22de,this[_0x5995a4(0x1c6)]=_0x327ec6,this[_0x5995a4(0x344)]=_0x2c21f2,this[_0x5995a4(0x202)]=_0x21981b,this[_0x5995a4(0x204)]=_0x37ee76);}get[_0x4c88bb(0x29c)](){return this['_cursorInfo$']['getValue']();}get[_0x4c88bb(0x234)](){const _0xf6d3e=_0x4c88bb;return this[_0xf6d3e(0x429)][_0xf6d3e(0x3b9)]();}[_0x4c88bb(0x346)](){const _0x95880a=_0x4c88bb;super[_0x95880a(0x346)](),this[_0x95880a(0x31a)][_0x95880a(0x34f)](new Map()),this[_0x95880a(0x31a)][_0x95880a(0x38a)](),this[_0x95880a(0x429)][_0x95880a(0x34f)]([]),this[_0x95880a(0x429)][_0x95880a(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x173c61=_0x4c88bb;this[_0x173c61(0x2a8)]||(this['_init']=!0x0,this[_0x173c61(0x331)]['sessionStatus$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x10b2c9=>{const _0x599cda=_0x173c61;_0x10b2c9===_0x5bae0f[_0x599cda(0x222)][_0x599cda(0x2aa)]?this[_0x599cda(0x30b)]():this[_0x599cda(0x2da)]();}),this[_0x173c61(0x331)]['event$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x2fb672=>{const _0x3429cb=_0x173c61,_0x4b88ff=_0x2fb672[_0x3429cb(0x25f)];_0x4b88ff===_0x50b9f9['CollaborationEvent'][_0x3429cb(0x1eb)]&&this['_onCursorUpdate'](_0x2fb672),_0x4b88ff===_0x50b9f9[_0x3429cb(0x432)][_0x3429cb(0x2d8)]&&this['_onCursorDelete'](_0x2fb672);}),this['disposeWithMe'](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x356fec=>{const _0x22763f=_0x173c61,_0x30c8b8=_0x356fec[_0x22763f(0x442)];_0x30c8b8!=null&&this[_0x22763f(0x404)]&&_0x356fec['id']===_0x514f6b[_0x22763f(0x2c2)]['id']&&_0x30c8b8['unitId']===this[_0x22763f(0x358)]&&_0x30c8b8['isEditing']===!0x1&&_0x30c8b8[_0x22763f(0x23c)][_0x22763f(0x31e)]>0x0&&this[_0x22763f(0x210)](_0x30c8b8[_0x22763f(0x23c)]);})),this[_0x173c61(0x1c6)]['collabCursorState$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x3dc61c=>{const _0x1bc401=_0x173c61;if((_0x3dc61c==null?void 0x0:_0x3dc61c[_0x1bc401(0x358)])!==this['unitID'])return;const _0xe112a3={'eventID':_0x50b9f9['CollaborationEvent'][_0x1bc401(0x1eb)],'data':_0x3dc61c};this[_0x1bc401(0x2ca)](_0xe112a3);}),this[_0x173c61(0x21d)](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x1d9199=>{const _0x407c61=_0x173c61;if(_0x1d9199[_0x407c61(0x442)]==null)return;const _0x390e70=_0x1d9199[_0x407c61(0x442)];if(_0x1d9199['id']!==_0x514f6b['RichTextEditingMutation']['id']||_0x390e70[_0x407c61(0x2c0)]!==this[_0x407c61(0x358)])return;const _0x350dc3={'id':'doc.mutation.rich-text-editing','params':_0x390e70},_0xbf5bc4=this[_0x407c61(0x29c)];for(const [_0x1cb5a6,_0x30b8be]of _0xbf5bc4){const _0x5b273d={'id':_0x407c61(0x2bb),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x30b8be['ranges']}},_0x1857c0=this[_0x407c61(0x344)]['transformMutation'](_0x350dc3,_0x5b273d,!0x1);if(_0x50b9f9[_0x407c61(0x440)](_0x1857c0))throw _0x1857c0[_0x407c61(0x35c)];_0xbf5bc4[_0x407c61(0x1d8)](_0x1cb5a6,{..._0x30b8be,'ranges':_0x1857c0['m2Prime'][_0x407c61(0x442)][_0x407c61(0x2c4)]});}queueMicrotask(()=>{const _0x3e8868=_0x407c61;this[_0x3e8868(0x31a)]['next'](_0xbf5bc4);});})));}[_0x4c88bb(0x2ca)](_0xd6661d){const _0xafa3fc=_0x4c88bb;var _0x5c09cd,_0x2e0d23;const {memberID:_0x51b80e,selection:_0x105577}=_0xd6661d[_0xafa3fc(0x3c6)],_0x50df1a=_0x1f0359(_0x105577),_0x58b941=(_0x2e0d23=(_0x5c09cd=this['_memberService']['getMember'](this[_0xafa3fc(0x358)],_0x51b80e))==null?void 0x0:_0x5c09cd['name'])!=null?_0x2e0d23:_0xafa3fc(0x3c2),_0x3e4fea={'color':this[_0xafa3fc(0x321)][_0xafa3fc(0x279)](_0x51b80e),'name':_0x58b941,'ranges':_0x50df1a},_0x11f9d7=this['cursorInfo'];_0x11f9d7[_0xafa3fc(0x1d8)](_0x51b80e,_0x3e4fea),this[_0xafa3fc(0x31a)][_0xafa3fc(0x34f)](_0x11f9d7);}[_0x4c88bb(0x239)](_0x1bbf8){const _0x21020b=_0x4c88bb,{memberID:_0x221615}=_0x1bbf8[_0x21020b(0x3c6)],_0x2fd5b9=this['cursorInfo'];_0x2fd5b9[_0x21020b(0x3f7)](_0x221615),this[_0x21020b(0x31a)][_0x21020b(0x34f)](_0x2fd5b9);}['_toggleOnline'](){const _0x3e6f2a=_0x4c88bb;var _0x370533;if(this[_0x3e6f2a(0x404)]=!0x0,((_0x370533=this[_0x3e6f2a(0x202)][_0x3e6f2a(0x43d)]())==null?void 0x0:_0x370533[_0x3e6f2a(0x43e)]())!==this[_0x3e6f2a(0x358)])return;const _0x576bf1=this[_0x3e6f2a(0x425)][_0x3e6f2a(0x26d)](_0x514f6b[_0x3e6f2a(0x21a)])[_0x3e6f2a(0x322)]();Array[_0x3e6f2a(0x2ed)](_0x576bf1)&&_0x576bf1[_0x3e6f2a(0x31e)]>0x0&&this[_0x3e6f2a(0x210)](_0x576bf1);}[_0x4c88bb(0x2da)](){const _0x4626d0=_0x4c88bb;this[_0x4626d0(0x404)]=!0x1;}};_0x4456f4=_0x2434a4([_0x1d19f6(0x2,_0x12127f['Inject'](_0x12127f['Injector'])),_0x1d19f6(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0x1d19f6(0x4,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x438)])),_0x1d19f6(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x1d19f6(0x6,_0x50b9f9[_0x4c88bb(0x337)]),_0x1d19f6(0x7,_0x12127f[_0x4c88bb(0x405)]),_0x1d19f6(0x8,_0x12127f[_0x4c88bb(0x301)])],_0x4456f4);var _0x2b61a9=Object[_0x4c88bb(0x272)],_0x250634=(_0x6e0fc9,_0x872ec4,_0x51ee73,_0x4d94c2)=>{const _0x4a2ba1=_0x4c88bb;for(var _0x1b1167=_0x4d94c2>0x1?void 0x0:_0x4d94c2?_0x2b61a9(_0x872ec4,_0x51ee73):_0x872ec4,_0x10376a=_0x6e0fc9[_0x4a2ba1(0x31e)]-0x1,_0xccbfb5;_0x10376a>=0x0;_0x10376a--)(_0xccbfb5=_0x6e0fc9[_0x10376a])&&(_0x1b1167=_0xccbfb5(_0x1b1167)||_0x1b1167);return _0x1b1167;},_0xb341e4=(_0xedec76,_0x450316)=>(_0x4aeeca,_0x51bb72)=>_0x450316(_0x4aeeca,_0x51bb72,_0xedec76);const _0x504485=0x12c,_0x32216e=0x64,_0xfc23e4=()=>{let _0x4b1616=[],_0x1b1541=!0x1;return _0x5c70f3=>{const _0x46e40d=_0x4b8b;_0x4b1616[_0x46e40d(0x1d7)](_0x5c70f3),_0x1b1541||(_0x1b1541=!0x0,setTimeout(()=>{const _0x171054=_0x46e40d;_0x4b1616[_0x171054(0x27f)](_0x5063ef=>_0x5063ef()),_0x4b1616=[],_0x1b1541=!0x1;}));};};let _0x7e2189=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x500729,_0x2a3262,_0x516cc4,_0x764e36,_0x2bd477,_0xd03400,_0x11cfea,_0x21f81e){const _0x239de7=_0x4c88bb;super(),_0x259cdc(this,_0x239de7(0x404),!0x1),_0x259cdc(this,'_init',!0x1),_0x259cdc(this,_0x239de7(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x239de7(0x1cc),this[_0x239de7(0x31a)][_0x239de7(0x1ee)]()),_0x259cdc(this,_0x239de7(0x429),new _0x4d06f2[(_0x239de7(0x31f))]([])),_0x259cdc(this,_0x239de7(0x33a),this[_0x239de7(0x429)][_0x239de7(0x310)](_0x4d06f2[_0x239de7(0x1f5)](_0x504485))),_0x259cdc(this,_0x239de7(0x210),_0x12127f[_0x239de7(0x209)]((_0x380198,_0x187141)=>{const _0x58b6e6=_0x239de7,_0x1de54a={'eventID':_0x50b9f9['CollaborationEvent'][_0x58b6e6(0x1eb)],'data':{'unitID':this['unitID'],'memberID':this[_0x58b6e6(0x331)][_0x58b6e6(0x32d)](),'selection':_0x5371ba[_0x58b6e6(0x3d6)](_0x380198,_0x187141[_0x58b6e6(0x206)])}};this[_0x58b6e6(0x331)][_0x58b6e6(0x367)](_0x1de54a,this['unitID']);},_0x32216e)),(this['unitID']=_0x500729,this[_0x239de7(0x331)]=_0x2a3262,this[_0x239de7(0x425)]=_0x516cc4,this[_0x239de7(0x321)]=_0x764e36,this[_0x239de7(0x34e)]=_0x2bd477,this[_0x239de7(0x202)]=_0xd03400,this[_0x239de7(0x204)]=_0x11cfea,this[_0x239de7(0x2c9)]=_0x21f81e);}get[_0x4c88bb(0x29c)](){const _0x40dc16=_0x4c88bb;return this[_0x40dc16(0x31a)]['getValue']();}get['roomMembers'](){const _0x159954=_0x4c88bb;return this[_0x159954(0x429)]['getValue']();}[_0x4c88bb(0x346)](){const _0x3e96c1=_0x4c88bb;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x3e96c1(0x38a)](),this[_0x3e96c1(0x429)][_0x3e96c1(0x34f)]([]),this['_roomMembers$'][_0x3e96c1(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x5892f6=_0x4c88bb;this[_0x5892f6(0x2a8)]||(this['_init']=!0x0,this['_session'][_0x5892f6(0x3af)][_0x5892f6(0x310)](_0x4d06f2[_0x5892f6(0x3ba)](this[_0x5892f6(0x1d1)]))[_0x5892f6(0x43a)](_0x38b4e7=>{const _0x29207d=_0x5892f6;_0x38b4e7===_0x5bae0f[_0x29207d(0x222)][_0x29207d(0x2aa)]?this[_0x29207d(0x30b)]():this[_0x29207d(0x2da)]();}),this[_0x5892f6(0x331)][_0x5892f6(0x2cd)][_0x5892f6(0x310)](_0x4d06f2['takeUntil'](this[_0x5892f6(0x1d1)]))['subscribe'](_0x4952d0=>{const _0x56b87e=_0x5892f6,_0x176381=_0x4952d0[_0x56b87e(0x25f)];_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x1eb)]&&this['_onCursorUpdate'](_0x4952d0),_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x2d8)]&&this[_0x56b87e(0x239)](_0x4952d0);}),this[_0x5892f6(0x3a3)](),this['disposeWithMe'](this[_0x5892f6(0x204)][_0x5892f6(0x224)](_0x21f6fd=>{const _0x28f2c0=_0x5892f6;if(this['_online']&&_0x21f6fd['id']===_0x347d9b[_0x28f2c0(0x318)]['id']&&_0x21f6fd[_0x28f2c0(0x442)][_0x28f2c0(0x2c0)]===this[_0x28f2c0(0x358)]){const _0x779989=_0x21f6fd[_0x28f2c0(0x442)];this[_0x28f2c0(0x210)](_0x779989[_0x28f2c0(0x365)],_0x779989[_0x28f2c0(0x2c3)][0x0]);}})));}[_0x4c88bb(0x2ca)](_0x1d1b8d){const _0x5299c0=_0x4c88bb;var _0xc68199,_0x48fc94;const {memberID:_0xe1c133,selection:_0x5cd0ec}=_0x1d1b8d[_0x5299c0(0x3c6)],{sheetName:_0x149e9c,range:_0x4be1d9}=_0x5371ba[_0x5299c0(0x20d)](_0x5cd0ec),_0x1682b5={'name':(_0x48fc94=(_0xc68199=this['_memberService']['getMember'](this[_0x5299c0(0x358)],_0xe1c133))==null?void 0x0:_0xc68199[_0x5299c0(0x370)])!=null?_0x48fc94:'Unknown\x20user','range':this[_0x5299c0(0x21b)](_0x149e9c,_0x4be1d9),'sheetID':_0x149e9c,'color':this[_0x5299c0(0x321)][_0x5299c0(0x279)](_0xe1c133),'selection':_0x5cd0ec},_0x45fbcd=this[_0x5299c0(0x29c)];_0x45fbcd[_0x5299c0(0x1d8)](_0xe1c133,_0x1682b5),this[_0x5299c0(0x31a)][_0x5299c0(0x34f)](_0x45fbcd);}[_0x4c88bb(0x239)](_0x39bf4d){const _0x117e6d=_0x4c88bb,{memberID:_0xc3ffd1}=_0x39bf4d['data'],_0x38d7a6=this['cursorInfo'];_0x38d7a6['delete'](_0xc3ffd1),this[_0x117e6d(0x31a)][_0x117e6d(0x34f)](_0x38d7a6);}[_0x4c88bb(0x21b)](_0x555fc6,_0xe74928){const _0x3520e2=_0x4c88bb;var _0x361e4a,_0x67e93d;const _0x436160=(_0x67e93d=(_0x361e4a=this[_0x3520e2(0x202)][_0x3520e2(0x339)](this[_0x3520e2(0x358)]))==null?void 0x0:_0x361e4a['getSheetBySheetId'](_0x555fc6))==null?void 0x0:_0x67e93d[_0x3520e2(0x2f8)]();return(_0x436160==null?void 0x0:_0x436160[_0x3520e2(0x1d5)](_0x20a649=>_0x12127f[_0x3520e2(0x291)]['contains'](_0x20a649,_0xe74928)))||_0xe74928;}[_0x4c88bb(0x3a3)](){const _0x3e0202=_0x4c88bb,_0x1b5222=new _0x12127f[(_0x3e0202(0x3a1))](),_0x457d93=_0xfc23e4(),_0x5ad876=()=>{const _0x7dd98a=_0x3e0202;_0x1b5222[_0x7dd98a(0x346)]();const _0x7f9458=(_0x36ee1b,_0xc471bc,_0x739f3f,_0x55e67f)=>{const _0x34966d=_0x7dd98a;let _0x3520a2=[];switch(_0x36ee1b['id']){case _0x347d9b['EffectRefRangId'][_0x34966d(0x363)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1ec)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x288)]:{_0x3520a2=_0x347d9b['handleDeleteRangeMoveUp'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x44c)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3f2)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x299)]:{_0x3520a2=_0x347d9b['handleInsertRangeMoveDown'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x388)]:{_0x3520a2=_0x347d9b[_0x34966d(0x376)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x1c7)]:{_0x3520a2=_0x347d9b['handleInsertRow'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x1d3)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3cd)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x3f0)]:{_0x3520a2=_0x347d9b[_0x34966d(0x2de)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x3ad)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1c5)](_0x36ee1b,_0x55e67f);break;}}const _0x1e8ef4=_0x347d9b[_0x34966d(0x1e4)](_0x3520a2,_0x55e67f),_0x4d8826=this[_0x34966d(0x29c)]['get'](_0xc471bc);if(_0x4d8826&&_0x1e8ef4){const _0x21063c={..._0x4d8826,'range':_0x1e8ef4};this[_0x34966d(0x29c)][_0x34966d(0x1d8)](_0xc471bc,_0x21063c),_0x457d93(()=>{const _0x5ad4ba=_0x34966d,_0x32ed71=this['_refRangeService'][_0x5ad4ba(0x2db)](_0x1e8ef4,_0x1c7cdb=>(_0x32ed71[_0x5ad4ba(0x346)](),_0x7f9458(_0x1c7cdb,_0xc471bc,_0x739f3f,_0x1e8ef4)));_0x1b5222['add'](_0x32ed71);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x7dd98a(0x27f)]((_0x49c596,_0x33963f)=>{const _0x51e9ef=_0x7dd98a,{range:_0x3a7a85,sheetID:_0x2ec836}=_0x49c596,_0x252799=this['_refRangeService']['registerRefRange'](_0x3a7a85,_0x30ae71=>(_0x252799[_0x51e9ef(0x346)](),_0x7f9458(_0x30ae71,_0x33963f,_0x2ec836,_0x3a7a85)));_0x1b5222[_0x51e9ef(0x419)](_0x252799);});};this[_0x3e0202(0x21d)](_0x12127f['toDisposable'](this[_0x3e0202(0x31a)]['subscribe'](()=>{_0x5ad876();})));}['_toggleOnline'](){const _0x44c9f9=_0x4c88bb;var _0x5418a9,_0x6e7f59;if(this['_online']=!0x0,((_0x5418a9=this[_0x44c9f9(0x202)][_0x44c9f9(0x43d)]())==null?void 0x0:_0x5418a9[_0x44c9f9(0x43e)]())!==this[_0x44c9f9(0x358)])return;const _0x248056=(_0x6e7f59=this[_0x44c9f9(0x425)][_0x44c9f9(0x26d)](_0x347d9b[_0x44c9f9(0x418)])['getCurrentSelections']())==null?void 0x0:_0x6e7f59[0x0],_0xed0979=this['_univerInstanceService']['getCurrentUnitForType'](_0x12127f['UniverInstanceType'][_0x44c9f9(0x423)])[_0x44c9f9(0x263)]();_0x248056&&_0xed0979&&this['_updateLocalCursor'](_0xed0979['getSheetId'](),_0x248056);}[_0x4c88bb(0x2da)](){const _0xa467da=_0x4c88bb;this[_0xa467da(0x404)]=!0x1;}};_0x7e2189=_0x250634([_0xb341e4(0x2,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x1c8)])),_0xb341e4(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0xb341e4(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x438)])),_0xb341e4(0x5,_0x12127f[_0x4c88bb(0x405)]),_0xb341e4(0x6,_0x12127f[_0x4c88bb(0x301)]),_0xb341e4(0x7,_0x12127f['Inject'](_0x347d9b[_0x4c88bb(0x20c)]))],_0x7e2189);var _0x3be216=Object[_0x4c88bb(0x272)],_0x54e7f3=(_0x140dcd,_0x33e3aa,_0x162a9c,_0x378bf6)=>{const _0x48f6a3=_0x4c88bb;for(var _0x293b57=_0x378bf6>0x1?void 0x0:_0x378bf6?_0x3be216(_0x33e3aa,_0x162a9c):_0x33e3aa,_0x4e2a5d=_0x140dcd[_0x48f6a3(0x31e)]-0x1,_0x2e6d33;_0x4e2a5d>=0x0;_0x4e2a5d--)(_0x2e6d33=_0x140dcd[_0x4e2a5d])&&(_0x293b57=_0x2e6d33(_0x293b57)||_0x293b57);return _0x293b57;},_0x152fe6=(_0x2d2677,_0x4bc80c)=>(_0x31cb0e,_0x52f749)=>_0x4bc80c(_0x31cb0e,_0x52f749,_0x2d2677);let _0x3fa8d8=class extends _0x12127f['RxDisposable']{constructor(_0x4dd1b3,_0x46b25a,_0x3c4fd8){const _0x54be93=_0x4c88bb;super(),_0x259cdc(this,_0x54be93(0x2bd),new Map()),_0x259cdc(this,'_entityInit$',new _0x4d06f2[(_0x54be93(0x443))]()),(this[_0x54be93(0x202)]=_0x4dd1b3,this[_0x54be93(0x425)]=_0x46b25a,this[_0x54be93(0x413)]=_0x3c4fd8,this[_0x54be93(0x2a8)]());}[_0x4c88bb(0x346)](){const _0x310835=_0x4c88bb;super[_0x310835(0x346)](),this[_0x310835(0x257)][_0x310835(0x38a)](),this[_0x310835(0x2bd)]['forEach'](_0x4651c8=>_0x4651c8[_0x310835(0x346)]());}[_0x4c88bb(0x1ce)](_0xcc68fe){const _0x231191=_0x4c88bb;return this[_0x231191(0x2bd)][_0x231191(0x1fe)](_0xcc68fe)?this[_0x231191(0x2bd)][_0x231191(0x26d)](_0xcc68fe)[_0x231191(0x1cc)]:this[_0x231191(0x257)][_0x231191(0x310)](_0x4d06f2[_0x231191(0x37b)](_0x3bf81d=>_0x3bf81d['unitID']===_0xcc68fe),_0x4d06f2['switchMap'](_0x27c470=>_0x27c470['cursorInfo$']));}[_0x4c88bb(0x2a8)](){const _0x49f958=_0x4c88bb;this[_0x49f958(0x202)][_0x49f958(0x33d)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x423)])[_0x49f958(0x310)](_0x4d06f2['takeUntil'](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](async _0x470843=>{const _0x3c1620=_0x49f958,_0x2848d1=_0x470843['getUnitId'](),_0x3ac729=await this['_startSheetCollabCursor'](_0x2848d1);this['_entityInit$'][_0x3c1620(0x34f)](_0x3ac729),this[_0x3c1620(0x2bd)]['set'](_0x2848d1,_0x3ac729);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x12127f['UniverInstanceType'][_0x49f958(0x3cb)])[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this['dispose$']))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x37b)](_0x422b5e=>!_0x422b5e['getUnitId']()[_0x49f958(0x3db)]('__')))[_0x49f958(0x43a)](async _0x293a39=>{const _0xd70603=_0x49f958,_0x3f5ad7=_0x293a39[_0xd70603(0x43e)](),_0x1023a8=await this[_0xd70603(0x362)](_0x3f5ad7);this['_entityInit$'][_0xd70603(0x34f)](_0x1023a8),this['_entities'][_0xd70603(0x1d8)](_0x3f5ad7,_0x1023a8);}),_0x4d06f2[_0x49f958(0x38e)](this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x3cb)]),this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f['UniverInstanceType'][_0x49f958(0x423)]))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](_0x221bee=>{const _0x56cbb3=_0x49f958,_0xb590da=_0x221bee['getUnitId'](),_0x574c15=this['_entities']['get'](_0xb590da);_0x574c15&&(_0x574c15[_0x56cbb3(0x346)](),this[_0x56cbb3(0x2bd)][_0x56cbb3(0x3f7)](_0xb590da));});}async['_startSheetCollabCursor'](_0x313aae){const _0x1d9aec=_0x4c88bb,_0x1b239a=await this[_0x1d9aec(0x413)]['requireSession'](_0x313aae),_0x1d161b=this[_0x1d9aec(0x425)]['createInstance'](_0x7e2189,_0x313aae,_0x1b239a);return _0x1d161b[_0x1d9aec(0x30f)](),_0x1d161b;}async[_0x4c88bb(0x362)](_0x29b530){const _0x475163=_0x4c88bb,_0x2ddda8=await this['_collabSessionService'][_0x475163(0x284)](_0x29b530),_0x5158be=this[_0x475163(0x425)]['createInstance'](_0x4456f4,_0x29b530,_0x2ddda8);return _0x5158be[_0x475163(0x30f)](),_0x5158be;}};_0x3fa8d8=_0x54e7f3([_0x152fe6(0x0,_0x12127f['IUniverInstanceService']),_0x152fe6(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x152fe6(0x2,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x2fa)]))],_0x3fa8d8);const _0x1cc2c3=0x14,_0x157c6a=0xc8,_0x38e16a=0x4,_0x4be7f0=0x5;function _0x4f444f(_0x322829,_0x1cc4d2){const _0x3bfc09=_0x4c88bb;let {radius:_0x34169f,width:_0x5296d5,height:_0x11fd33}=_0x1cc4d2;_0x34169f=_0x34169f!=null?_0x34169f:0x0,_0x5296d5=_0x5296d5!=null?_0x5296d5:0x1e,_0x11fd33=_0x11fd33!=null?_0x11fd33:0x1e;let _0x5347c5=0x0,_0x40e390=0x0,_0x819f0b=0x0;_0x5347c5=_0x40e390=_0x819f0b=Math[_0x3bfc09(0x252)](_0x34169f,_0x5296d5/0x2,_0x11fd33/0x2),_0x322829[_0x3bfc09(0x1f2)](),_0x322829[_0x3bfc09(0x39b)](_0x5347c5,0x0),_0x322829['lineTo'](_0x5296d5-_0x40e390,0x0),_0x322829[_0x3bfc09(0x3c3)](_0x5296d5-_0x40e390,_0x40e390,_0x40e390,Math['PI']*0x3/0x2,0x0,!0x1),_0x322829[_0x3bfc09(0x30a)](_0x5296d5,_0x11fd33-_0x819f0b),_0x322829['arc'](_0x5296d5-_0x819f0b,_0x11fd33-_0x819f0b,_0x819f0b,0x0,Math['PI']/0x2,!0x1),_0x322829[_0x3bfc09(0x30a)](0x0,_0x11fd33),_0x322829[_0x3bfc09(0x30a)](0x0,_0x5347c5),_0x322829['arc'](_0x5347c5,_0x5347c5,_0x5347c5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x322829[_0x3bfc09(0x392)](),_0x1cc4d2[_0x3bfc09(0x286)]&&(_0x322829[_0x3bfc09(0x459)](),_0x322829[_0x3bfc09(0x27a)]=_0x1cc4d2[_0x3bfc09(0x286)],_0x1cc4d2[_0x3bfc09(0x24b)]===_0x3bfc09(0x249)?_0x322829['fill'](_0x3bfc09(0x249)):_0x322829[_0x3bfc09(0x286)](),_0x322829[_0x3bfc09(0x240)]());}class _0x50dbc1 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x4b5f78,_0x2189f7){const _0x4cb1d6=_0x4c88bb;super(_0x4b5f78,_0x2189f7),_0x259cdc(this,'color'),_0x259cdc(this,_0x4cb1d6(0x2d1)),(this[_0x4cb1d6(0x3e2)]=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x3e2)],this['text']=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x2d1)]);}static[_0x4c88bb(0x2ff)](_0x1ce7f2,_0xfdfbb3){const _0xc1bf9d=_0x4c88bb,{text:_0xd6fd98,color:_0x1c2bbf}=_0xfdfbb3;_0x1ce7f2[_0xc1bf9d(0x459)](),_0x1ce7f2[_0xc1bf9d(0x302)]=_0xc1bf9d(0x320);const _0x2b6691=_0x1ce7f2[_0xc1bf9d(0x40c)](_0xd6fd98)[_0xc1bf9d(0x22c)],_0x43a0e7=Math[_0xc1bf9d(0x252)](_0x2b6691+0x2*_0x38e16a,_0x157c6a);_0x4f444f(_0x1ce7f2,{'height':_0x1cc2c3,'radius':0x4,'width':_0x43a0e7,'fill':_0x1c2bbf}),_0x1ce7f2['fillStyle']=_0xc1bf9d(0x300);const _0x14892f=_0x38e16a,_0xcfe8d6=_0x1cc2c3-_0x4be7f0,_0x1f5b66=_0x157c6a-0x2*_0x38e16a;if(_0x2b6691>_0x1f5b66){let _0x590f74='',_0x5a5973=0x0;for(const _0x4787e3 of _0xd6fd98){const _0x4a904d=_0x1ce7f2[_0xc1bf9d(0x40c)](_0x4787e3)['width'];if(_0x5a5973+_0x4a904d<=_0x1f5b66-_0x1ce7f2['measureText'](_0xc1bf9d(0x2ae))[_0xc1bf9d(0x22c)])_0x590f74+=_0x4787e3,_0x5a5973+=_0x4a904d;else{_0x590f74+=_0xc1bf9d(0x2ae);break;}}_0x1ce7f2['fillText'](_0x590f74,_0x14892f,_0xcfe8d6);}else _0x1ce7f2[_0xc1bf9d(0x28c)](_0xd6fd98,_0x14892f,_0xcfe8d6);_0x1ce7f2[_0xc1bf9d(0x240)]();}['_draw'](_0x1df2fe){_0x50dbc1['drawWith'](_0x1df2fe,this);}}const _0x270d67='collab-text-anchor-',_0x2c90be=_0x4c88bb(0x319),_0x202cab=_0x4c88bb(0x1dd),_0x1bcb8d=0x6,_0x1f77d9=1.5,_0x429916=0x4,_0x5b40f6=1.5,_0x1202dc=_0x4c88bb(0x453);class _0x2a0dd3{constructor(_0xf05ad7,_0x4ab567,_0x1dd449,_0x4a3815){const _0x416a7f=_0x4c88bb;_0x259cdc(this,_0x416a7f(0x2a5),[]),_0x259cdc(this,_0x416a7f(0x2dd),null),_0x259cdc(this,_0x416a7f(0x2e0),null),_0x259cdc(this,'_anchorDot',null),_0x259cdc(this,_0x416a7f(0x262),null),_0x259cdc(this,_0x416a7f(0x34a),null),(this['_cursor']=_0xf05ad7,this['_scene']=_0x4ab567,this['_docSkeleton']=_0x1dd449,this[_0x416a7f(0x34b)]=_0x4a3815,this[_0x416a7f(0x3bd)]());}set[_0x4c88bb(0x2c8)](_0x1d6540){const _0x447322=_0x4c88bb;_0x1d6540?(this[_0x447322(0x424)]&&this['_anchorDot'][_0x447322(0x3bf)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x24e)]()):(this['_anchorDot']&&this[_0x447322(0x424)][_0x447322(0x24e)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x3bf)]());}[_0x4c88bb(0x346)](){const _0x3f2744=_0x4c88bb;for(const _0x455b3a of this[_0x3f2744(0x2a5)])_0x455b3a[_0x3f2744(0x346)]();this[_0x3f2744(0x2e0)]&&this[_0x3f2744(0x2e0)]['dispose'](),this[_0x3f2744(0x424)]&&this[_0x3f2744(0x424)][_0x3f2744(0x346)](),this[_0x3f2744(0x2dd)]&&this[_0x3f2744(0x2dd)]['dispose'](),this[_0x3f2744(0x34a)]&&this[_0x3f2744(0x34a)]();}[_0x4c88bb(0x3bd)](){const _0x4f3a38=_0x4c88bb;var _0x4bf397;const {_docSkeleton:_0x19f078,_document:_0x143f4d}=this,{color:_0x39a33a,name:_0x5a4d4,ranges:_0x4a9d94}=this[_0x4f3a38(0x2b2)],_0x41e6bc=_0x143f4d[_0x4f3a38(0x43f)](),{docsLeft:_0x2db553,docsTop:_0x1cf812}=_0x41e6bc,_0x1ed127=new _0x464098[(_0x4f3a38(0x451))](_0x41e6bc,_0x19f078);for(const {startOffset:_0x28e6d5,endOffset:_0x7c9f7f,rangeType:_0x3c8ef1,segmentId:_0xf5a055,segmentPage:_0x1fcc21,collapsed:_0x5cb395,isActive:_0x29326b}of _0x4a9d94){const _0x3796c9=_0x19f078[_0x4f3a38(0x1fa)](_0x28e6d5,!0x0,_0xf5a055,_0x1fcc21);let _0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f,!0x0,_0xf5a055,_0x1fcc21);if(_0x1b4d3d==null&&(_0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f-0x1,!0x1,_0xf5a055,_0x1fcc21)),_0x29326b){const {contentBoxPointGroup:_0x2e598f}=_0x1ed127[_0x4f3a38(0x278)](_0x1b4d3d,_0x1b4d3d);if(_0x2e598f[_0x4f3a38(0x31e)]===0x0)continue;this['_drawAnchor'](_0x39a33a,_0x2e598f,_0x2db553,_0x1cf812,_0x5a4d4),this['_eventUnsubscribe']=this[_0x4f3a38(0x2e4)]();}if(_0x3796c9&&_0x1b4d3d){if(_0x3c8ef1===_0x12127f[_0x4f3a38(0x221)][_0x4f3a38(0x355)]){const _0x2cd86c=new _0x464098['NodePositionConvertToRectRange'](_0x41e6bc,_0x19f078),{pointGroup:_0x213d0d}=(_0x4bf397=_0x2cd86c[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d))!=null?_0x4bf397:{};if(_0x213d0d==null||_0x213d0d[_0x4f3a38(0x31e)]===0x0)continue;this[_0x4f3a38(0x3e4)](_0x39a33a,_0x213d0d,_0x2db553,_0x1cf812);}else{if(!_0x5cb395){const {borderBoxPointGroup:_0x35dd29}=_0x1ed127[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d);if(_0x35dd29['length']===0x0)continue;this[_0x4f3a38(0x1f0)](_0x39a33a,_0x35dd29,_0x2db553,_0x1cf812);}}}}}['_drawAnchor'](_0x601867,_0x53c504,_0xceed8f,_0x139a08,_0x166fc7){const _0x463d34=_0x4c88bb,_0x383101=this[_0x463d34(0x2e5)](_0x53c504),{left:_0x2fd261,top:_0x359209,height:_0x2d91ab}=_0x383101,_0x3b9d6a=this['_getScale'](),_0x4c3ce0=_0x5b40f6/_0x3b9d6a,_0x3b095b=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08,'height':_0x2d91ab,'width':_0x1f77d9,'fill':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)][_0x463d34(0x3b4)],0x0),'strokeWidth':_0x4c3ce0,'stroke':_0x1202dc,'evented':!0x0});this[_0x463d34(0x2dd)]=_0x3b095b,this['_scene'][_0x463d34(0x44f)](_0x3b095b,_0x464098[_0x463d34(0x1f9)]);const _0x2ed634=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x429916/0x2,'height':_0x429916,'width':_0x429916,'fill':_0x601867||_0xcd886d['getColor'](_0x12127f[_0x463d34(0x214)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)]['black'],0x0),'evented':!0x1});this[_0x463d34(0x424)]=_0x2ed634,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x2ed634,_0x464098[_0x463d34(0x1f9)]);const _0x211972=new _0x50dbc1(_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x1cc2c3,'text':_0x166fc7,'color':_0x601867});this[_0x463d34(0x2e0)]=_0x211972,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x211972,_0x464098[_0x463d34(0x1f9)]),this[_0x463d34(0x2c8)]=!0x1;}[_0x4c88bb(0x2e4)](){const _0x1129a9=_0x4c88bb,_0x194c34=this['_anchor'][_0x1129a9(0x1ed)][_0x1129a9(0x25e)](()=>{const _0x34afe8=_0x1129a9;this[_0x34afe8(0x2c8)]=!0x0;}),_0x58a4aa=this[_0x1129a9(0x2dd)][_0x1129a9(0x2b9)][_0x1129a9(0x25e)](()=>{const _0x1359ee=_0x1129a9;this[_0x1359ee(0x262)]&&clearTimeout(this['_hideTimer']),this[_0x1359ee(0x262)]=setTimeout(()=>{const _0x58a8e2=_0x1359ee;this[_0x58a8e2(0x2c8)]=!0x1;},0x7d0);});return()=>{const _0x142033=_0x1129a9;_0x194c34[_0x142033(0x39f)](),_0x58a4aa[_0x142033(0x39f)]();};}[_0x4c88bb(0x1f0)](_0x890b91,_0x3cffc5,_0x5b532e,_0xb38a08){const _0x11604b=_0x4c88bb,_0x5daca6=new _0x12127f[(_0x11604b(0x3f8))](_0x890b91)[_0x11604b(0x414)](0.2)[_0x11604b(0x2dc)](),_0x1e6351=new _0xcd886d[(_0x11604b(0x2a3))](_0x2c90be+_0x12127f[_0x11604b(0x36c)][_0x11604b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x3cffc5,'fill':_0x5daca6||_0xcd886d[_0x11604b(0x28b)](_0x12127f['COLORS'][_0x11604b(0x3b4)],0.2),'left':_0x5b532e,'top':_0xb38a08,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x11604b(0x1d7)](_0x1e6351),this[_0x11604b(0x216)][_0x11604b(0x44f)](_0x1e6351,_0x464098[_0x11604b(0x1f9)]);}['_drawRectRange'](_0x5e1428,_0x4a8b06,_0x4cf932,_0x162421){const _0x45591b=_0x4c88bb,_0x578207=new _0x12127f[(_0x45591b(0x3f8))](_0x5e1428)[_0x45591b(0x414)](0.2)[_0x45591b(0x2dc)](),_0x2f0c11=new _0xcd886d[(_0x45591b(0x2a3))](_0x202cab+_0x12127f[_0x45591b(0x36c)][_0x45591b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x4a8b06,'fill':_0x578207||_0xcd886d[_0x45591b(0x28b)](_0x12127f[_0x45591b(0x214)][_0x45591b(0x3b4)],0.2),'left':_0x4cf932,'top':_0x162421,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45591b(0x2a5)][_0x45591b(0x1d7)](_0x2f0c11),this[_0x45591b(0x216)][_0x45591b(0x44f)](_0x2f0c11,_0x464098[_0x45591b(0x1f9)]);}[_0x4c88bb(0x2e5)](_0x395ea6){const _0x43f7dd=_0x395ea6[0x0],_0x453a85=_0x43f7dd[0x0],_0x5cfd56=_0x43f7dd[0x2],{x:_0x5280a6,y:_0x2b8454}=_0x453a85,{x:_0x3a7d3a,y:_0x9ad2cd}=_0x5cfd56;return{'left':_0x5280a6,'top':_0x2b8454,'width':_0x3a7d3a-_0x5280a6,'height':_0x9ad2cd-_0x2b8454};}[_0x4c88bb(0x40f)](){const _0x1f8852=_0x4c88bb,{scaleX:_0x288c5f,scaleY:_0x32773a}=this[_0x1f8852(0x216)][_0x1f8852(0x241)]();return Math[_0x1f8852(0x345)](_0x288c5f,_0x32773a);}}var _0x464335=Object['getOwnPropertyDescriptor'],_0x5cfbb3=(_0x262700,_0x949c1f,_0x47aa6a,_0x111683)=>{const _0x5992e9=_0x4c88bb;for(var _0x19da40=_0x111683>0x1?void 0x0:_0x111683?_0x464335(_0x949c1f,_0x47aa6a):_0x949c1f,_0x141e19=_0x262700[_0x5992e9(0x31e)]-0x1,_0x451077;_0x141e19>=0x0;_0x141e19--)(_0x451077=_0x262700[_0x141e19])&&(_0x19da40=_0x451077(_0x19da40)||_0x19da40);return _0x19da40;},_0x218a8e=(_0x3de80a,_0x4f72d1)=>(_0x3f99d8,_0x48fc20)=>_0x4f72d1(_0x3f99d8,_0x48fc20,_0x3de80a);let _0x92636b=class extends _0x12127f['RxDisposable']{constructor(_0x585502,_0x299d10,_0x45cf51,_0x55b00e,_0x3aec8c){const _0x89d752=_0x4c88bb;super(),_0x259cdc(this,_0x89d752(0x401),[]),_0x259cdc(this,_0x89d752(0x384),[]),(this[_0x89d752(0x323)]=_0x585502,this[_0x89d752(0x407)]=_0x299d10,this[_0x89d752(0x3bb)]=_0x45cf51,this[_0x89d752(0x204)]=_0x55b00e,this[_0x89d752(0x36d)]=_0x3aec8c,this[_0x89d752(0x2a8)]());}['_init'](){const _0x30b2f0=_0x4c88bb,_0x37447a=this['_context'][_0x30b2f0(0x2c0)],_0x1469d6=this[_0x30b2f0(0x407)];this['disposeWithMe'](_0x4d06f2[_0x30b2f0(0x2f6)]([this[_0x30b2f0(0x3bb)][_0x30b2f0(0x1ce)](_0x37447a),this[_0x30b2f0(0x36d)][_0x30b2f0(0x2f1)]])[_0x30b2f0(0x310)](_0x43c141[_0x30b2f0(0x2cb)](([_0x368110,_0x442894])=>({'skeleton':_0x1469d6[_0x30b2f0(0x277)](),'cursors':[..._0x368110['values']()]['flatMap'](_0x5c9803=>({..._0x5c9803,'color':_0x442894[_0x5c9803[_0x30b2f0(0x3e2)]]}))})))[_0x30b2f0(0x43a)](_0x88514d=>{const _0x5cf036=_0x30b2f0;if(this[_0x5cf036(0x20f)](),_0x88514d){const {skeleton:_0x548dc7,cursors:_0xcc6da8}=_0x88514d;this['_updateCollabCursors'](_0x548dc7,_0xcc6da8);}})),this[_0x30b2f0(0x2fb)](),this[_0x30b2f0(0x382)]();}['_updateCollabCursors'](_0x50de0e,_0x3af085){const _0x32a821=_0x4c88bb,{scene:_0xd4cc,mainComponent:_0x1c79a3}=this['_context'],_0x28b4dd=_0x3af085['map'](_0x2098b1=>new _0x2a0dd3(_0x2098b1,_0xd4cc,_0x50de0e,_0x1c79a3));this[_0x32a821(0x401)]=_0x28b4dd,this[_0x32a821(0x384)]=_0x3af085;}[_0x4c88bb(0x385)](){const _0x3c2d17=_0x4c88bb;this['_removeCollabCursors']();const {scene:_0x4ea995,mainComponent:_0x2f997b}=this[_0x3c2d17(0x323)],_0x25877b=this[_0x3c2d17(0x407)]['getSkeleton'](),_0x57097d=this[_0x3c2d17(0x384)]['map'](_0x585d5c=>new _0x2a0dd3(_0x585d5c,_0x4ea995,_0x25877b,_0x2f997b));this[_0x3c2d17(0x401)]=_0x57097d;}[_0x4c88bb(0x20f)](){const _0x18841e=_0x4c88bb;this[_0x18841e(0x401)][_0x18841e(0x27f)](_0x1d604a=>_0x1d604a['dispose']()),this[_0x18841e(0x401)]=[];}[_0x4c88bb(0x382)](){const _0x38d9ad=_0x4c88bb,_0x2e3c37=[_0x464098[_0x38d9ad(0x33b)]['id']];this[_0x38d9ad(0x21d)](this[_0x38d9ad(0x204)][_0x38d9ad(0x224)](_0x15bddd=>{const _0x182de5=_0x38d9ad;_0x2e3c37[_0x182de5(0x2b5)](_0x15bddd['id'])&&_0x15bddd[_0x182de5(0x442)][_0x182de5(0x2c0)]===this['_context'][_0x182de5(0x2c0)]&&this[_0x182de5(0x385)]();}));}['_initResize'](){const _0x328f6d=_0x4c88bb;this['disposeWithMe'](_0x12127f['fromEventSubject'](this[_0x328f6d(0x323)][_0x328f6d(0x1d4)][_0x328f6d(0x308)])[_0x328f6d(0x310)](_0x43c141[_0x328f6d(0x37b)](_0x62c914=>_0x62c914[_0x328f6d(0x3fe)]===_0xcd886d[_0x328f6d(0x248)]['resize']),_0x43c141[_0x328f6d(0x275)](0x10))[_0x328f6d(0x43a)](()=>{const _0x5c9b1d=_0x328f6d;this[_0x5c9b1d(0x385)]();}));}};_0x92636b=_0x5cfbb3([_0x218a8e(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x514f6b[_0x4c88bb(0x27c)])),_0x218a8e(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x218a8e(0x3,_0x12127f['ICommandService']),_0x218a8e(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x26e)]))],_0x92636b);const _0x1d93fb=0x1,_0x4550eb=1.5;class _0x458401 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x5fb120,_0x5e4eba){const _0x3541c4=_0x4c88bb;super(_0x5fb120,_0x5e4eba),_0x259cdc(this,_0x3541c4(0x315)),_0x259cdc(this,_0x3541c4(0x32f),!0x1),_0x259cdc(this,_0x3541c4(0x1e0)),_0x259cdc(this,_0x3541c4(0x244),''),_0x259cdc(this,_0x3541c4(0x44d),_0x3541c4(0x231)),_0x259cdc(this,_0x3541c4(0x2e9)),(_0x5e4eba&&this['setShapeProps'](_0x5e4eba),this[_0x3541c4(0x1ed)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x0})),this[_0x3541c4(0x2b9)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x1})));}[_0x4c88bb(0x3e3)](_0x2acc35){const _0x4f3c9c=_0x4c88bb;var _0x49e719,_0x22b9fb,_0x5ea974,_0xb7739f,_0x1c5e10,_0x207364;this[_0x4f3c9c(0x315)]=(_0x49e719=_0x2acc35[_0x4f3c9c(0x3e2)])!=null?_0x49e719:this['_color'],this[_0x4f3c9c(0x32f)]=(_0x22b9fb=_0x2acc35[_0x4f3c9c(0x31c)])!=null?_0x22b9fb:this[_0x4f3c9c(0x32f)],this[_0x4f3c9c(0x1e0)]=(_0x5ea974=_0x2acc35[_0x4f3c9c(0x206)])!=null?_0x5ea974:this['_range'],this[_0x4f3c9c(0x244)]=(_0xb7739f=_0x2acc35[_0x4f3c9c(0x370)])!=null?_0xb7739f:this[_0x4f3c9c(0x244)],this[_0x4f3c9c(0x44d)]=(_0x1c5e10=_0x2acc35[_0x4f3c9c(0x32a)])!=null?_0x1c5e10:this[_0x4f3c9c(0x44d)],this['_backgroundColor']=(_0x207364=_0x2acc35[_0x4f3c9c(0x415)])!=null?_0x207364:this['_backgroundColor'],this['transformByState']({'width':_0x2acc35[_0x4f3c9c(0x22c)],'height':_0x2acc35[_0x4f3c9c(0x2ce)]});}['onMouseMove'](_0x150254){const _0x2443d2=_0x4c88bb,{row:_0x368709,column:_0x545240}=_0x150254;if(_0x368709>=this['_range']['startRow']&&_0x368709<=this[_0x2443d2(0x1e0)][_0x2443d2(0x3a6)]&&_0x545240>=this[_0x2443d2(0x1e0)][_0x2443d2(0x2e3)]&&_0x545240<=this[_0x2443d2(0x1e0)]['endColumn']){this[_0x2443d2(0x3e3)]({'hovered':!0x0});return;}this[_0x2443d2(0x3e3)]({'hovered':!0x1});}[_0x4c88bb(0x366)](_0x5d6580){return!0x1;}[_0x4c88bb(0x201)](_0x488c66){const _0x475962=_0x4c88bb;_0xcd886d['Rect'][_0x475962(0x2ff)](_0x488c66,{'width':this[_0x475962(0x22c)],'height':this[_0x475962(0x2ce)],'strokeWidth':_0x4550eb,'stroke':this[_0x475962(0x315)],'evented':!0x1,'fill':this[_0x475962(0x2e9)]}),this['_hovered']&&(_0x488c66[_0x475962(0x459)](),_0x488c66['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x475962(0x44d)]===_0x475962(0x26b)?0x0:-0x14),_0x50dbc1[_0x475962(0x2ff)](_0x488c66,{'text':this['_name'],'color':this[_0x475962(0x315)]}),_0x488c66[_0x475962(0x240)]());}}var _0x42ba71=Object[_0x4c88bb(0x272)],_0x83c61c=(_0xec3151,_0x4a4522,_0x1b7740,_0x3f537c)=>{const _0x2eb2e4=_0x4c88bb;for(var _0x50897c=_0x3f537c>0x1?void 0x0:_0x3f537c?_0x42ba71(_0x4a4522,_0x1b7740):_0x4a4522,_0x5d212f=_0xec3151[_0x2eb2e4(0x31e)]-0x1,_0x485bf9;_0x5d212f>=0x0;_0x5d212f--)(_0x485bf9=_0xec3151[_0x5d212f])&&(_0x50897c=_0x485bf9(_0x50897c)||_0x50897c);return _0x50897c;},_0x2cc8e1=(_0x3a928f,_0x5746cb)=>(_0x59e210,_0x51e649)=>_0x5746cb(_0x59e210,_0x51e649,_0x3a928f);const _0xdd4a33=0x1389;let _0x1e07d9=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x300649,_0x4299aa,_0x182090,_0x1963d3){const _0x4f53e0=_0x4c88bb;super(),_0x259cdc(this,_0x4f53e0(0x384),new Set()),_0x259cdc(this,_0x4f53e0(0x3e1),null),(this[_0x4f53e0(0x323)]=_0x300649,this[_0x4f53e0(0x327)]=_0x4299aa,this[_0x4f53e0(0x3bb)]=_0x182090,this[_0x4f53e0(0x36d)]=_0x1963d3,this['_init']());}[_0x4c88bb(0x2a8)](){const _0x560ae8=_0x4c88bb;this[_0x560ae8(0x327)][_0x560ae8(0x313)]['pipe'](_0x43c141[_0x560ae8(0x3ba)](this[_0x560ae8(0x1d1)]),_0x43c141[_0x560ae8(0x1df)](_0x291e34=>{const _0x197967=_0x560ae8;if(_0x291e34){const _0x2be6e0=_0x291e34['sheetId'];return _0x4d06f2['combineLatest'](this[_0x197967(0x3bb)][_0x197967(0x1ce)](this[_0x197967(0x323)][_0x197967(0x2c0)]),this[_0x197967(0x36d)][_0x197967(0x2f1)])[_0x197967(0x310)](_0x43c141[_0x197967(0x2cb)](([_0x351ecd,_0x317822])=>{const _0x52b031=_0x197967,_0x4d7b9a=new Map();return _0x351ecd[_0x52b031(0x27f)]((_0xf0a5f8,_0x6aa5a0)=>{const _0xa95487=_0x52b031;if(_0xf0a5f8[_0xa95487(0x3a2)]===_0x2be6e0){const _0xb2757b={..._0xf0a5f8};_0xb2757b['color']=_0x317822[_0xf0a5f8[_0xa95487(0x3e2)]],_0x4d7b9a[_0xa95487(0x1d8)](_0x6aa5a0,_0xb2757b);}}),{'skeleton':_0x291e34,'cursors':_0x4d7b9a};}));}return _0x4d06f2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x534051,cursors:_0x200d66})=>{const _0x29eb67=_0x560ae8;this[_0x29eb67(0x20f)](),_0x534051&&this[_0x29eb67(0x29b)](_0x534051,_0x200d66);}),this['_sheetSkeletonManagerService'][_0x560ae8(0x313)]['subscribe'](_0x5d09ea=>{const _0x11669b=_0x560ae8;if(_0x5d09ea==null)return;const {skeleton:_0x8b9790}=_0x5d09ea,{scene:_0x240650}=this[_0x11669b(0x323)];_0x240650[_0x11669b(0x200)][_0x11669b(0x25e)](_0x12127f['debounce'](_0x2be007=>{const _0x5300fc=_0x11669b;var _0x44ee2c,_0x45c792;const {offsetX:_0x317099,offsetY:_0x36c337}=_0x2be007,{x:_0x33c7bb,y:_0x3922b0}=_0x240650[_0x5300fc(0x1ca)](_0xcd886d[_0x5300fc(0x36f)]['FromArray']([_0x317099,_0x36c337])),{scaleX:_0x1c6fc6,scaleY:_0x1631d9}=_0x240650[_0x5300fc(0x241)](),_0x577014=_0x240650[_0x5300fc(0x2af)](_0xcd886d['SHEET_VIEWPORT_KEY'][_0x5300fc(0x38f)]),_0x2755cf=_0x240650[_0x5300fc(0x454)](_0xcd886d[_0x5300fc(0x36f)][_0x5300fc(0x230)]([_0x33c7bb,_0x3922b0]),_0x577014),_0x4b80b9=_0x8b9790[_0x5300fc(0x2d9)](_0x317099,_0x36c337,_0x1c6fc6,_0x1631d9,_0x2755cf);((_0x44ee2c=this['_lastPointer'])==null?void 0x0:_0x44ee2c[_0x5300fc(0x400)])===_0x4b80b9[_0x5300fc(0x400)]&&((_0x45c792=this[_0x5300fc(0x3e1)])==null?void 0x0:_0x45c792[_0x5300fc(0x449)])===_0x4b80b9[_0x5300fc(0x449)]||this[_0x5300fc(0x384)][_0x5300fc(0x27f)](_0x3fbf3e=>{const _0x169abf=_0x5300fc;_0x3fbf3e[_0x169abf(0x22a)](_0x4b80b9);});},0x64));});}[_0x4c88bb(0x29b)](_0x5463ac,_0x3cfd0e){const _0x5a4313=_0x4c88bb;var _0x513ff1;const _0x5a6ed4=(_0x513ff1=this[_0x5a4313(0x327)][_0x5a4313(0x25b)]())==null?void 0x0:_0x513ff1[_0x5a4313(0x1cd)];if(!_0x5a6ed4)return;const _0x472fe8=this[_0x5a4313(0x2cc)]();if(!_0x472fe8)return;this['_cursors']['forEach'](_0x48965e=>{_0x48965e['makeDirty']();});const {scene:_0x1ba20e}=_0x472fe8,_0x16a01e=_0xacb839(Array[_0x5a4313(0x232)](_0x3cfd0e[_0x5a4313(0x379)]()))[_0x5a4313(0x2cb)](_0x194a78=>{const _0x1291ae=_0x5a4313,{color:_0x25eea3,range:_0x320eb2,name:_0xd6d873,selection:_0x425bc8,sheetID:_0x11e465}=_0x194a78,{startColumn:_0x4ea142,startRow:_0x1dc070,endColumn:_0x24debc,endRow:_0x2b00dd}=_0x320eb2,_0x13612b=_0x158580[_0x1291ae(0x2c6)](_0x1dc070,_0x4ea142,_0x1ba20e,_0x5a6ed4),_0x38c254=_0x158580[_0x1291ae(0x2c6)](_0x2b00dd,_0x24debc,_0x1ba20e,_0x5a6ed4),{columnHeaderHeightAndMarginTop:_0x5eaa5e}=_0x5a6ed4,{startX:_0x5f12f3,startY:_0x1881f9}=_0x13612b,{endX:_0xea8b91,endY:_0x27ec9b}=_0x38c254,_0x2aca1=_0xea8b91-_0x5f12f3,_0x8e453b=_0x27ec9b-_0x1881f9,_0xbc6ff7={'labelPosition':_0x1881f9-_0x5eaa5e>=_0x1cc2c3?_0x1291ae(0x231):'bottom','sheetID':_0x11e465,'range':_0x320eb2,'color':_0x25eea3,'name':_0xd6d873,'selection':_0x425bc8,'left':_0x5f12f3,'top':_0x1881f9,'width':_0x2aca1,'height':_0x8e453b,'evented':!0x1,'zIndex':_0xdd4a33};return new _0x458401(_0xd6d873,_0xbc6ff7);});_0x1ba20e[_0x5a4313(0x37a)](_0x16a01e,_0x1d93fb),this[_0x5a4313(0x384)]=new Set(_0x16a01e);}[_0x4c88bb(0x20f)](){const _0x5ece06=_0x4c88bb;var _0x585d09;(_0x585d09=this[_0x5ece06(0x384)])==null||_0x585d09[_0x5ece06(0x27f)](_0x2e7d74=>_0x2e7d74[_0x5ece06(0x346)]());}[_0x4c88bb(0x2cc)](){const _0x35ef36=_0x4c88bb;return _0x158580[_0x35ef36(0x1d6)](this[_0x35ef36(0x323)][_0x35ef36(0x28e)],this[_0x35ef36(0x323)]);}};_0x1e07d9=_0x83c61c([_0x2cc8e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x158580[_0x4c88bb(0x264)])),_0x2cc8e1(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x2cc8e1(0x3,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x26e)]))],_0x1e07d9);function _0xacb839(_0x1687f9){const _0x24a5b9=_0x4c88bb,_0x405910=new Map();return _0x1687f9[_0x24a5b9(0x27f)](_0x3d6958=>{const _0x28150a=_0x24a5b9;if(_0x405910['has'](_0x3d6958['selection'])){const _0xea9ae6=_0x405910[_0x28150a(0x26d)](_0x3d6958[_0x28150a(0x1db)]);_0xea9ae6[_0x28150a(0x370)]+=',\x20'+_0x3d6958[_0x28150a(0x370)];}else _0x405910[_0x28150a(0x1d8)](_0x3d6958[_0x28150a(0x1db)],_0x3d6958);}),Array[_0x24a5b9(0x232)](_0x405910[_0x24a5b9(0x379)]());}var _0x171442=function(){const _0x2a6b98=_0x4c88bb;return _0x171442=Object[_0x2a6b98(0x2c1)]||function(_0x3c2d04){const _0x47ccf8=_0x2a6b98;for(var _0x13f059,_0x51ba2c=0x1,_0x4ded8c=arguments[_0x47ccf8(0x31e)];_0x51ba2c<_0x4ded8c;_0x51ba2c++){_0x13f059=arguments[_0x51ba2c];for(var _0x58bb00 in _0x13f059)Object['prototype']['hasOwnProperty'][_0x47ccf8(0x246)](_0x13f059,_0x58bb00)&&(_0x3c2d04[_0x58bb00]=_0x13f059[_0x58bb00]);}return _0x3c2d04;},_0x171442['apply'](this,arguments);},_0x51f9ba=function(_0x265867,_0x4f9826){const _0x47b624=_0x4c88bb;var _0x25f1ce={};for(var _0x15b5bd in _0x265867)Object[_0x47b624(0x2ac)][_0x47b624(0x32e)][_0x47b624(0x246)](_0x265867,_0x15b5bd)&&_0x4f9826[_0x47b624(0x229)](_0x15b5bd)<0x0&&(_0x25f1ce[_0x15b5bd]=_0x265867[_0x15b5bd]);if(_0x265867!=null&&typeof Object[_0x47b624(0x20a)]=='function'){for(var _0x3631f6=0x0,_0x15b5bd=Object[_0x47b624(0x20a)](_0x265867);_0x3631f6<_0x15b5bd['length'];_0x3631f6++)_0x4f9826[_0x47b624(0x229)](_0x15b5bd[_0x3631f6])<0x0&&Object[_0x47b624(0x2ac)]['propertyIsEnumerable'][_0x47b624(0x246)](_0x265867,_0x15b5bd[_0x3631f6])&&(_0x25f1ce[_0x15b5bd[_0x3631f6]]=_0x265867[_0x15b5bd[_0x3631f6]]);}return _0x25f1ce;},_0x4d1546=_0xbee236[_0x4c88bb(0x330)](function(_0x50fc8a,_0x2e9815){const _0x514f6c=_0x4c88bb;var _0x49ed45=_0x50fc8a[_0x514f6c(0x311)],_0x242ebf=_0x50fc8a['id'],_0x2d4eef=_0x50fc8a['className'],_0x4abbbc=_0x50fc8a[_0x514f6c(0x250)],_0x4812ce=_0x51f9ba(_0x50fc8a,[_0x514f6c(0x311),'id',_0x514f6c(0x3ae),_0x514f6c(0x250)]),_0x30a714=_0x514f6c(0x44a)[_0x514f6c(0x426)](_0x242ebf,'\x20')['concat'](_0x2d4eef||'')[_0x514f6c(0x341)](),_0x315e24=_0xbee236[_0x514f6c(0x3fd)]('_'[_0x514f6c(0x426)](_0x35144a()));return _0x513c23(_0x49ed45,''[_0x514f6c(0x426)](_0x242ebf),{'defIds':_0x49ed45[_0x514f6c(0x30e)],'idSuffix':_0x315e24[_0x514f6c(0x2a7)]},_0x171442({'ref':_0x2e9815,'className':_0x30a714},_0x4812ce),_0x4abbbc);});function _0x513c23(_0x4c284c,_0x48eca9,_0x30dfe6,_0x270be5,_0x140766){const _0x2d988e=_0x4c88bb;return _0xbee236[_0x2d988e(0x2f0)](_0x4c284c['tag'],_0x171442(_0x171442({'key':_0x48eca9},_0x40b37b(_0x4c284c,_0x30dfe6,_0x140766)),_0x270be5),(_0x218262(_0x4c284c,_0x30dfe6)[_0x2d988e(0x439)]||[])['map'](function(_0x252882,_0x13760e){const _0x205f5e=_0x2d988e;return _0x513c23(_0x252882,''[_0x205f5e(0x426)](_0x48eca9,'-')[_0x205f5e(0x426)](_0x4c284c[_0x205f5e(0x450)],'-')[_0x205f5e(0x426)](_0x13760e),_0x30dfe6,void 0x0,_0x140766);}));}function _0x40b37b(_0x2c49a2,_0x2288d7,_0x4e6499){const _0x350f99=_0x4c88bb;var _0x29a068=_0x171442({},_0x2c49a2['attrs']);_0x4e6499!=null&&_0x4e6499['colorChannel1']&&_0x29a068['fill']===_0x350f99(0x445)&&(_0x29a068[_0x350f99(0x286)]=_0x4e6499[_0x350f99(0x445)]),_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x296)&&_0x29a068['id']&&(_0x29a068['id']=_0x29a068['id']+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0xd9e9c){const _0x4518dc=_0x350f99;var _0x273833=_0xd9e9c[0x0],_0xa02624=_0xd9e9c[0x1];_0x273833===_0x4518dc(0x296)&&typeof _0xa02624==_0x4518dc(0x2fd)&&(_0x29a068[_0x273833]=_0xa02624['replace'](/url\(#(.*)\)/,_0x4518dc(0x343)[_0x4518dc(0x426)](_0x2288d7[_0x4518dc(0x421)],')')));});var _0x5c93ba=_0x2288d7['defIds'];return!_0x5c93ba||_0x5c93ba[_0x350f99(0x31e)]===0x0||(_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x1f6)&&_0x29a068[_0x350f99(0x213)]&&(_0x29a068[_0x350f99(0x213)]=_0x29a068[_0x350f99(0x213)]+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0x4aa119){const _0x2aeb0a=_0x350f99;var _0x4d3fdd=_0x4aa119[0x0],_0x4ec674=_0x4aa119[0x1];typeof _0x4ec674==_0x2aeb0a(0x2fd)&&(_0x29a068[_0x4d3fdd]=_0x4ec674[_0x2aeb0a(0x40b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2288d7[_0x2aeb0a(0x421)],')')));})),_0x29a068;}function _0x218262(_0xb991f7,_0x427944){const _0x515556=_0x4c88bb;var _0x3ef3b9,_0x3524be=_0x427944['defIds'];return!_0x3524be||_0x3524be['length']===0x0?_0xb991f7:_0xb991f7[_0x515556(0x450)]===_0x515556(0x267)&&(!((_0x3ef3b9=_0xb991f7[_0x515556(0x439)])===null||_0x3ef3b9===void 0x0)&&_0x3ef3b9[_0x515556(0x31e)])?_0x171442(_0x171442({},_0xb991f7),{'children':_0xb991f7['children'][_0x515556(0x2cb)](function(_0x15129f){const _0xffbf48=_0x515556;return typeof _0x15129f[_0xffbf48(0x3b6)]['id']==_0xffbf48(0x2fd)&&_0x3524be&&_0x3524be[_0xffbf48(0x229)](_0x15129f[_0xffbf48(0x3b6)]['id'])>-0x1?_0x171442(_0x171442({},_0x15129f),{'attrs':_0x171442(_0x171442({},_0x15129f[_0xffbf48(0x3b6)]),{'id':_0x15129f[_0xffbf48(0x3b6)]['id']+_0x427944[_0xffbf48(0x421)]})}):_0x15129f;})}):_0xb991f7;}function _0x35144a(){const _0x156d6f=_0x4c88bb;return Math[_0x156d6f(0x3a7)]()[_0x156d6f(0x23a)](0x24)[_0x156d6f(0x3df)](0x2,0x8);}_0x4d1546[_0x4c88bb(0x2f5)]=_0x4c88bb(0x1f1);var _0x480e03={'tag':_0x4c88bb(0x3d3),'attrs':{'fill':_0x4c88bb(0x298),'viewBox':_0x4c88bb(0x208),'width':'1em','height':_0x4c88bb(0x2fe)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4c88bb(0x34d),'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':_0x4c88bb(0x233),'strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':_0x4c88bb(0x267),'attrs':{},'children':[{'tag':_0x4c88bb(0x42f),'attrs':{'id':_0x4c88bb(0x448)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':_0x4c88bb(0x457)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x31d19f=_0xbee236[_0x4c88bb(0x330)](function(_0x136048,_0x15415b){const _0x11bd64=_0x4c88bb;return _0xbee236[_0x11bd64(0x2f0)](_0x4d1546,Object[_0x11bd64(0x2c1)]({},_0x136048,{'id':'off-line-single','ref':_0x15415b,'icon':_0x480e03}));});_0x31d19f['displayName']=_0x4c88bb(0x422);var _0x315e04={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4c88bb(0x39d),'width':_0x4c88bb(0x2fe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'stroke':'currentColor','d':_0x4c88bb(0x2b4),'strokeLinecap':'round','strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4c88bb(0x2f2)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4c88bb(0x2f2)]},_0x2023cf=_0xbee236[_0x4c88bb(0x330)](function(_0x5de51a,_0x4ddb0f){const _0x25ba1a=_0x4c88bb;return _0xbee236['createElement'](_0x4d1546,Object[_0x25ba1a(0x2c1)]({},_0x5de51a,{'id':'on-line-single','ref':_0x4ddb0f,'icon':_0x315e04}));});_0x2023cf[_0x4c88bb(0x2f5)]=_0x4c88bb(0x236);function _0x1c1e3b(_0x2dc856){const _0x112711=_0x4c88bb;switch(_0x2dc856){case _0x5bae0f['CollaborationStatus'][_0x112711(0x297)]:return _0x112711(0x247);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x394)]:return _0x112711(0x25c);case _0x5bae0f['CollaborationStatus'][_0x112711(0x3c1)]:return _0x112711(0x283);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x347)]:return _0x112711(0x436);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x437)]:case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x303)]:return _0x112711(0x2a2);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x1ef)]:case _0x5bae0f[_0x112711(0x2f3)]['PENDING']:return _0x112711(0x3ea);}}function _0x2066b6(_0x5bd581){const _0x223dc7=_0x4c88bb,{status$:_0x3d3fc8}=_0x5bd581,_0x182cf7=_0x594396[_0x223dc7(0x1fd)](_0x3d3fc8,_0x5bae0f[_0x223dc7(0x2f3)][_0x223dc7(0x347)]),_0x540418=_0x594396['useDependency'](_0x12127f[_0x223dc7(0x24c)]),_0x308406=_0x594396[_0x223dc7(0x3fb)](_0x5bae0f['CollaborationSessionService']),_0x14b6bc=_0x182cf7!==_0x5bae0f[_0x223dc7(0x2f3)]['OFFLINE'],_0x574f9d=_0x540418['t'](_0x1c1e3b(_0x182cf7)),_0x5bc371=_0x14b6bc?_0x30ea62[_0x223dc7(0x276)](_0x2023cf,{}):_0x30ea62['jsx'](_0x31d19f,{}),_0x208719=_0xbee236['useCallback'](()=>{const _0x270bc7=_0x223dc7;_0x14b6bc||_0x308406[_0x270bc7(0x3ac)]();},[_0x14b6bc,_0x308406]);function _0x15906a(){const _0x1d39eb=_0x223dc7;return _0x30ea62[_0x1d39eb(0x2b7)](_0x1d39eb(0x431),{'className':_0x1d39eb(0x3a8),'onClick':_0x208719,'children':[_0x30ea62[_0x1d39eb(0x276)]('div',{'className':_0x4ecfe7['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x14b6bc?_0x1d39eb(0x1e6):_0x1d39eb(0x2ec)),'children':_0x5bc371}),_0x30ea62[_0x1d39eb(0x276)](_0x1d39eb(0x431),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x574f9d})]});}return _0x14b6bc?_0x15906a():_0x30ea62['jsx'](_0x4ecfe7[_0x223dc7(0x3f1)],{'title':_0x540418['t'](_0x223dc7(0x352)),'children':_0x15906a()});}var _0x38a364=Object[_0x4c88bb(0x272)],_0x47d5dc=(_0x26143c,_0x5f1673,_0x1030f8,_0x356c0f)=>{const _0x26956b=_0x4c88bb;for(var _0x17342f=_0x356c0f>0x1?void 0x0:_0x356c0f?_0x38a364(_0x5f1673,_0x1030f8):_0x5f1673,_0xe60f26=_0x26143c[_0x26956b(0x31e)]-0x1,_0x249162;_0xe60f26>=0x0;_0xe60f26--)(_0x249162=_0x26143c[_0xe60f26])&&(_0x17342f=_0x249162(_0x17342f)||_0x17342f);return _0x17342f;},_0x52d025=(_0x44bcda,_0xbca5)=>(_0x53ff13,_0x4256bf)=>_0xbca5(_0x53ff13,_0x4256bf,_0x44bcda);_0x5d87d7['DesktopCollaborationStatusDisplayController']=class extends _0x12127f['Disposable']{constructor(_0x283996,_0x1a695e,_0xcc1d24,_0x4c1ab0){const _0x224249=_0x4c88bb;super(),_0x259cdc(this,_0x224249(0x1e5),new _0x4d06f2[(_0x224249(0x31f))](_0x5bae0f[_0x224249(0x2f3)]['NOT_COLLAB'])),(this[_0x224249(0x202)]=_0x283996,this[_0x224249(0x425)]=_0x1a695e,this[_0x224249(0x27d)]=_0xcc1d24,this['_uiPartsService']=_0x4c1ab0,this['_initStatusComponent'](),this[_0x224249(0x1fc)]());}[_0x4c88bb(0x1fc)](){const _0xc6bf0a=_0x4c88bb;this[_0xc6bf0a(0x21d)](this[_0xc6bf0a(0x202)][_0xc6bf0a(0x416)]['pipe'](_0x4d06f2[_0xc6bf0a(0x1df)](()=>{const _0x12d45b=_0xc6bf0a,_0x489a5d=this[_0x12d45b(0x202)][_0x12d45b(0x43d)]();return _0x489a5d?this[_0x12d45b(0x27d)]['getCollabEntity$'](_0x489a5d[_0x12d45b(0x43e)]()):_0x4d06f2['of'](null);}),_0x4d06f2[_0xc6bf0a(0x1df)](_0x2657e9=>_0x2657e9?_0x2657e9[_0xc6bf0a(0x1e3)]:_0x4d06f2['of'](_0x5bae0f[_0xc6bf0a(0x2f3)][_0xc6bf0a(0x347)])))[_0xc6bf0a(0x43a)](_0x2b8954=>{const _0x35e62d=_0xc6bf0a;this[_0x35e62d(0x1e5)][_0x35e62d(0x34f)](_0x2b8954);}));}[_0x4c88bb(0x3b1)](){const _0x23c2b8=_0x4c88bb;this[_0x23c2b8(0x21d)](this[_0x23c2b8(0x225)][_0x23c2b8(0x332)](_0x594396[_0x23c2b8(0x3fc)][_0x23c2b8(0x1ea)],()=>_0x594396[_0x23c2b8(0x3fa)](_0x527011({'status$':this[_0x23c2b8(0x1e5)][_0x23c2b8(0x1ee)]()}),this[_0x23c2b8(0x425)])));}},_0x5d87d7['DesktopCollaborationStatusDisplayController']=_0x47d5dc([_0x52d025(0x0,_0x12127f[_0x4c88bb(0x405)]),_0x52d025(0x1,_0x12127f['Inject'](_0x12127f['Injector'])),_0x52d025(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x256)])),_0x52d025(0x3,_0x594396['IUIPartsService'])],_0x5d87d7[_0x4c88bb(0x3b8)]);function _0x527011(_0x500f0c){const {status$:_0x8d2875}=_0x500f0c;return function(){const _0x59cf45=_0x4b8b;return _0x30ea62[_0x59cf45(0x276)](_0x2066b6,{'status$':_0x8d2875});};}var _0x44de90=Object[_0x4c88bb(0x272)],_0x3a6b18=(_0x437053,_0x337e28,_0x359eda,_0x173ccb)=>{const _0x34fc0a=_0x4c88bb;for(var _0x4acda5=_0x173ccb>0x1?void 0x0:_0x173ccb?_0x44de90(_0x337e28,_0x359eda):_0x337e28,_0x117cf6=_0x437053[_0x34fc0a(0x31e)]-0x1,_0x2d080d;_0x117cf6>=0x0;_0x117cf6--)(_0x2d080d=_0x437053[_0x117cf6])&&(_0x4acda5=_0x2d080d(_0x4acda5)||_0x4acda5);return _0x4acda5;},_0xa4e6bf=(_0x12623e,_0x3c25d8)=>(_0x335581,_0x4d8539)=>_0x3c25d8(_0x335581,_0x4d8539,_0x12623e);let _0x2900ce=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x47d468,_0x531d0a,_0x3d6aa6,_0x2ea400,_0x348fc8,_0x192145){const _0x22ae20=_0x4c88bb;super(),this[_0x22ae20(0x1e9)]=_0x47d468,this[_0x22ae20(0x22b)]=_0x531d0a,this['_collaborationUIEventService']=_0x3d6aa6,this[_0x22ae20(0x3e6)]=_0x2ea400,this[_0x22ae20(0x44e)]=_0x348fc8,this['_localeService']=_0x192145,this[_0x22ae20(0x31b)](),this[_0x22ae20(0x340)]();}[_0x4c88bb(0x31b)](){const _0x3f85ca=_0x4c88bb;this[_0x3f85ca(0x21d)](this[_0x3f85ca(0x1e9)]['registerBeforeClose'](()=>{const _0x18349d=_0x3f85ca;if(this[_0x18349d(0x22b)][_0x18349d(0x3f5)][_0x18349d(0x368)])return this['_localeService']['t'](_0x18349d(0x42a));}));}[_0x4c88bb(0x340)](){const _0x3e717c=_0x4c88bb;this[_0x3e717c(0x21d)](this['_collaborationUIEventService'][_0x3e717c(0x2cd)]['subscribe'](_0x2d727b=>{const _0x29fb55=_0x3e717c;_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this[_0x29fb55(0x3ce)]['t']('collaboration.single-unit.warning')}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7[_0x29fb55(0x2fc)]['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x2a1)]&&this[_0x29fb55(0x44e)][_0x29fb55(0x24e)]({'title':this[_0x29fb55(0x3ce)]['t']('permission.title'),'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x23f)),'type':'error','duration':0x0}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x394)]&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))+'('+_0x2d727b['data']+')'}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x2ee)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType']['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x2d727b[_0x29fb55(0x3c6)]||'')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x336)]&&this[_0x29fb55(0x3e6)][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this['_localeService']['t']('session.will-retry')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x3a4)]&&this['_messageService']['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t']('session.connection-failed')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x1fb)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x389))});}));}};_0x2900ce=_0x3a6b18([_0xa4e6bf(0x0,_0x594396[_0x4c88bb(0x41f)]),_0xa4e6bf(0x1,_0x5bae0f[_0x4c88bb(0x372)]),_0xa4e6bf(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationUIEventService'])),_0xa4e6bf(0x3,_0x594396['IMessageService']),_0xa4e6bf(0x4,_0x594396[_0x4c88bb(0x245)]),_0xa4e6bf(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['LocaleService']))],_0x2900ce);const _0x7bfec1=_0x4c88bb(0x212),_0x517146={},_0x3b075a=_0x12127f[_0x4c88bb(0x349)](_0x4c88bb(0x273));var _0x4280ca=Object[_0x4c88bb(0x272)],_0x461e8f=(_0x2ca7f9,_0x26f5c8,_0x36a6f2,_0x5b93b3)=>{const _0x33bb13=_0x4c88bb;for(var _0x54143e=_0x5b93b3>0x1?void 0x0:_0x5b93b3?_0x4280ca(_0x26f5c8,_0x36a6f2):_0x26f5c8,_0x4a519f=_0x2ca7f9[_0x33bb13(0x31e)]-0x1,_0x30a553;_0x4a519f>=0x0;_0x4a519f--)(_0x30a553=_0x2ca7f9[_0x4a519f])&&(_0x54143e=_0x30a553(_0x54143e)||_0x54143e);return _0x54143e;},_0x854260=(_0x268e11,_0x22d455)=>(_0x12dcfb,_0x261714)=>_0x22d455(_0x12dcfb,_0x261714,_0x268e11);_0x5d87d7[_0x4c88bb(0x3d0)]=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x485f64,_0x5023fb,_0xc0ed96,_0x287e5e,_0x1c1a65){const _0x46d3d7=_0x4c88bb;super(),this[_0x46d3d7(0x31d)]=_0x485f64,this[_0x46d3d7(0x1f7)]=_0x5023fb,this[_0x46d3d7(0x204)]=_0xc0ed96,this[_0x46d3d7(0x218)]=_0x287e5e,_0x1c1a65?_0x1c1a65==null||_0x1c1a65[_0x46d3d7(0x3e8)]()[_0x46d3d7(0x266)](()=>this[_0x46d3d7(0x2a8)]()):(this[_0x46d3d7(0x1f7)][_0x46d3d7(0x242)](_0x46d3d7(0x350),_0x46d3d7(0x41e)),this[_0x46d3d7(0x2a8)]());}async[_0x4c88bb(0x2a8)](){const _0x38d546=_0x4c88bb,_0x185127=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x28e)),_0x3e74f8=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3fe)),_0x4362f3=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3d4));if(!_0x185127||!_0x3e74f8){this['_logService'][_0x38d546(0x242)](_0x38d546(0x350),_0x38d546(0x314));return;}const _0x45e14d=await this['_dataLoaderService'][_0x38d546(0x361)](_0x185127,Number(_0x3e74f8),_0x4362f3);_0x45e14d&&_0x45e14d instanceof _0x12127f['Workbook']&&this[_0x38d546(0x3b0)](_0x45e14d);}async[_0x4c88bb(0x3b0)](_0x5e0afa){const _0x72fea1=_0x4c88bb;await this[_0x72fea1(0x435)](_0x5e0afa),_0x5e0afa[_0x72fea1(0x21c)][_0x72fea1(0x310)](_0x4d06f2['takeUntil'](this[_0x72fea1(0x1d1)]))[_0x72fea1(0x43a)](_0x1a78b5=>{_0x1a78b5&&this['_updateURLWithCurrentState'](_0x1a78b5);}),this[_0x72fea1(0x31d)][_0x72fea1(0x430)][_0x72fea1(0x310)](_0x4d06f2[_0x72fea1(0x3ba)](this['dispose$']))[_0x72fea1(0x43a)](()=>this['_updateSubUnitFromURLParams'](_0x5e0afa));}[_0x4c88bb(0x353)](_0x47b8a9,_0x1a9099=!0x1){const _0x27ccd1=_0x4c88bb,_0x2dd1df=this[_0x27ccd1(0x31d)]['getParam'](_0x27ccd1(0x3d4));_0x47b8a9['getSheetId']()!==_0x2dd1df&&this[_0x27ccd1(0x31d)][_0x27ccd1(0x295)](_0x27ccd1(0x3d4),_0x47b8a9['getSheetId'](),_0x1a9099);}async[_0x4c88bb(0x435)](_0x2375a6){const _0x537ff2=_0x4c88bb;var _0x2b9548;const _0x1ee786=this[_0x537ff2(0x31d)][_0x537ff2(0x3ab)](_0x537ff2(0x3d4));if(!_0x1ee786||!_0x2375a6[_0x537ff2(0x399)](_0x1ee786)){const _0x4bec97=_0x2375a6[_0x537ff2(0x30d)]()[0x0],_0x5ca05a=_0x2375a6[_0x537ff2(0x399)](_0x4bec97);if(!_0x5ca05a)return;this[_0x537ff2(0x353)](_0x5ca05a,!0x0),await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b['SetWorksheetActivateCommand']['id'],{'unitId':_0x2375a6[_0x537ff2(0x43e)](),'subUnitId':_0x4bec97});return;}((_0x2b9548=_0x2375a6[_0x537ff2(0x263)]())==null?void 0x0:_0x2b9548[_0x537ff2(0x3eb)]())!==_0x1ee786&&await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b[_0x537ff2(0x289)]['id'],{'unitId':_0x2375a6['getUnitId'](),'subUnitId':_0x1ee786});}},_0x5d87d7[_0x4c88bb(0x3d0)]=_0x461e8f([_0x854260(0x0,_0x3b075a),_0x854260(0x1,_0x12127f[_0x4c88bb(0x26a)]),_0x854260(0x2,_0x12127f['ICommandService']),_0x854260(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x29e)])),_0x854260(0x4,_0x12127f[_0x4c88bb(0x261)](_0x5ae2ec[_0x4c88bb(0x458)]))],_0x5d87d7[_0x4c88bb(0x3d0)]);var _0x39cc29=Object[_0x4c88bb(0x272)],_0x3e2c94=(_0x4ab5d5,_0x4a04df,_0x4458e3,_0x29ce94)=>{const _0x3ad8df=_0x4c88bb;for(var _0x4b64e3=_0x29ce94>0x1?void 0x0:_0x29ce94?_0x39cc29(_0x4a04df,_0x4458e3):_0x4a04df,_0x1f2f50=_0x4ab5d5[_0x3ad8df(0x31e)]-0x1,_0x40a0d4;_0x1f2f50>=0x0;_0x1f2f50--)(_0x40a0d4=_0x4ab5d5[_0x1f2f50])&&(_0x4b64e3=_0x40a0d4(_0x4b64e3)||_0x4b64e3);return _0x4b64e3;},_0x2e5e0b=(_0x27dedf,_0x244e92)=>(_0x1c2e8d,_0x4fff97)=>_0x244e92(_0x1c2e8d,_0x4fff97,_0x27dedf);let _0x190050=class{constructor(_0x1fad0b,_0x3e9d58,_0x2970ae){const _0x46af27=_0x4c88bb;this[_0x46af27(0x425)]=_0x1fad0b,this[_0x46af27(0x344)]=_0x3e9d58,this[_0x46af27(0x254)]=_0x2970ae;}[_0x4c88bb(0x3dd)](_0x27eadb){const _0x27ce96=_0x4c88bb;this[_0x27ce96(0x411)](_0x27eadb),this[_0x27ce96(0x3d1)](_0x27eadb);}['transformRemoteChangeset'](_0x13881e){const _0xfe193e=_0x4c88bb,{unitID:_0x597c7c}=_0x13881e,_0x4bbb22=this[_0xfe193e(0x254)][_0xfe193e(0x375)](_0x597c7c)[_0xfe193e(0x39c)](_0x464098[_0xfe193e(0x390)]),{redoCache:_0x1d50fb}=_0x4bbb22[_0xfe193e(0x2e1)]();if(_0x1d50fb[_0xfe193e(0x31e)]===0x0)return _0x13881e;let _0x48b604=_0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e[_0xfe193e(0x393)][0x0]);for(let _0x5765e0=0x0;_0x5765e0<_0x1d50fb[_0xfe193e(0x31e)];_0x5765e0++){const _0x323fe6={'id':'doc.mutation.rich-text-editing','params':{..._0x1d50fb[_0x5765e0]}},_0x109d22=this['_transformService'][_0xfe193e(0x294)](_0x48b604,_0x323fe6,!0x1);if(_0x50b9f9[_0xfe193e(0x440)](_0x109d22))throw _0x109d22['error'];_0x48b604=_0x109d22[_0xfe193e(0x25d)];}return{..._0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e),'mutations':[_0x48b604]};}['_transformUndoRedoStack'](_0x4f844d){const _0x2eaec3=_0x4c88bb,{unitID:_0x467199}=_0x4f844d,_0x2b92af=this[_0x2eaec3(0x254)]['getRenderById'](_0x467199)['with'](_0x464098[_0x2eaec3(0x390)]),{undoCache:_0x168331,redoCache:_0x34d560}=_0x2b92af[_0x2eaec3(0x2e1)]();if(_0x168331[_0x2eaec3(0x31e)]===0x0||_0x34d560[_0x2eaec3(0x31e)]===0x0)return;const _0x2111b5=[],_0x459f38=[];let _0x4f59b4=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]),_0x4c536c=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]);for(let _0x13782b=_0x168331[_0x2eaec3(0x31e)]-0x1;_0x13782b>=0x0;_0x13782b--){const _0x37124e={'id':_0x2eaec3(0x2bb),'params':{..._0x168331[_0x13782b]}},_0x87bb52={'id':_0x2eaec3(0x2bb),'params':{..._0x34d560[_0x13782b]}},_0xd910a4=this[_0x2eaec3(0x344)][_0x2eaec3(0x294)](_0x4f59b4,_0x37124e,!0x1),_0x1c3a62=this[_0x2eaec3(0x344)]['transformMutation'](_0x4c536c,_0x87bb52,!0x1);if(_0x50b9f9[_0x2eaec3(0x440)](_0xd910a4))throw _0xd910a4[_0x2eaec3(0x35c)];if(_0x50b9f9['isTransformMutationFailure'](_0x1c3a62))throw _0x1c3a62['error'];_0x2111b5['unshift'](_0xd910a4[_0x2eaec3(0x38c)]['params']),_0x459f38['unshift'](_0x1c3a62[_0x2eaec3(0x38c)][_0x2eaec3(0x442)]),_0x4f59b4=_0xd910a4[_0x2eaec3(0x25d)],_0x4c536c=_0x1c3a62[_0x2eaec3(0x25d)];}_0x2b92af[_0x2eaec3(0x2ad)]({'undoCache':_0x2111b5,'redoCache':_0x459f38});}[_0x4c88bb(0x3d1)](_0x5a192c){const _0x5db856=_0x4c88bb,{unitID:_0xbfdc74}=_0x5a192c,_0x1e17f3=this['_renderManagerService']['getRenderById'](_0xbfdc74)[_0x5db856(0x39c)](_0x464098['DocIMEInputManagerService']),_0x5e529e=_0x1e17f3[_0x5db856(0x38d)]();if(_0x5e529e==null)return;const _0x59803d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a192c[_0x5db856(0x358)],'actions':null,'textRanges':[_0x5e529e]}}],_0x26206c=this['_transformService'][_0x5db856(0x3be)](_0x5a192c,_0x59803d);if(!_0x50b9f9[_0x5db856(0x2d6)](_0x26206c))throw _0x26206c[_0x5db856(0x35c)];const _0x1d67ce=_0x26206c['m2Prime'][0x0]['params']['textRanges'];Array[_0x5db856(0x2ed)](_0x1d67ce)&&_0x1d67ce['length']&&_0x1e17f3[_0x5db856(0x446)](_0x1d67ce[0x0]);}};_0x190050=_0x3e2c94([_0x2e5e0b(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x2e5e0b(0x1,_0x50b9f9[_0x4c88bb(0x337)]),_0x2e5e0b(0x2,_0xcd886d['IRenderManagerService'])],_0x190050);var _0x1a1ae4=Object[_0x4c88bb(0x272)],_0x2d12bc=(_0x2681e2,_0xecba01,_0x352a89,_0x379d09)=>{const _0x33c18c=_0x4c88bb;for(var _0x53e825=_0x379d09>0x1?void 0x0:_0x379d09?_0x1a1ae4(_0xecba01,_0x352a89):_0xecba01,_0x222c00=_0x2681e2[_0x33c18c(0x31e)]-0x1,_0x133ce6;_0x222c00>=0x0;_0x222c00--)(_0x133ce6=_0x2681e2[_0x222c00])&&(_0x53e825=_0x133ce6(_0x53e825)||_0x53e825);return _0x53e825;},_0x2fe4d3=(_0x365722,_0x32c96d)=>(_0x46a07b,_0xa7eca1)=>_0x32c96d(_0x46a07b,_0xa7eca1,_0x365722);let _0x53c97f=class{constructor(_0x43223b,_0x4b5f04,_0x5e6cc2){const _0x2dce6c=_0x4c88bb;this[_0x2dce6c(0x425)]=_0x43223b,this['_transformService']=_0x4b5f04,this['_docStateChangeManagerService']=_0x5e6cc2;}[_0x4c88bb(0x270)](_0x241e54){this['_transformHistoryAndStateStack'](_0x241e54);}['transformRemoteChangeset'](_0x32467f){const _0x5a6b43=_0x4c88bb,{unitID:_0x515d0b}=_0x32467f,{collaboration:_0x587ca3}=this[_0x5a6b43(0x369)][_0x5a6b43(0x3ee)](_0x515d0b);if(_0x587ca3[_0x5a6b43(0x31e)]===0x0)return _0x32467f;let _0x2f376e=_0x12127f[_0x5a6b43(0x36c)]['deepClone'](_0x32467f['mutations'][0x0]);for(let _0x3c1d9=0x0;_0x3c1d9<_0x587ca3['length'];_0x3c1d9++){const _0x13fa28={'id':_0x5a6b43(0x2bb),'params':{'unitId':_0x587ca3[_0x3c1d9]['unitId'],..._0x587ca3[_0x3c1d9]['redoState']}},_0x65b184=this[_0x5a6b43(0x344)][_0x5a6b43(0x294)](_0x2f376e,_0x13fa28,!0x1);if(_0x50b9f9[_0x5a6b43(0x440)](_0x65b184))throw _0x65b184[_0x5a6b43(0x35c)];_0x2f376e=_0x65b184[_0x5a6b43(0x25d)];}return{..._0x12127f[_0x5a6b43(0x36c)][_0x5a6b43(0x226)](_0x32467f),'mutations':[_0x2f376e]};}[_0x4c88bb(0x292)](_0x2b62c3){const _0x20ad9b=_0x4c88bb,{unitID:_0x2cb342}=_0x2b62c3,{history:_0x2ca8a6,collaboration:_0x183052}=this[_0x20ad9b(0x369)]['getStateCache'](_0x2cb342);if(_0x2ca8a6[_0x20ad9b(0x31e)]===0x0&&_0x183052['length']===0x0)return;const _0x50d697=[],_0x58b8b3=[];let _0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3[_0x20ad9b(0x393)][0x0]),_0x2ca100=_0x12127f[_0x20ad9b(0x36c)][_0x20ad9b(0x226)](_0x2b62c3['mutations'][0x0]);for(let _0x52c86f=_0x2ca8a6[_0x20ad9b(0x31e)]-0x1;_0x52c86f>=0x0;_0x52c86f--){const _0x391919={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f]['unitId'],..._0x2ca8a6[_0x52c86f]['undoState']}},_0x355be2={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f][_0x20ad9b(0x2c0)],..._0x2ca8a6[_0x52c86f][_0x20ad9b(0x3d5)]}},_0x2f72ef=this[_0x20ad9b(0x344)]['transformMutation'](_0x323562,_0x391919,!0x1),_0x56595e=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x355be2,!0x1);if(_0x50b9f9[_0x20ad9b(0x440)](_0x2f72ef))throw _0x2f72ef[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x56595e))throw _0x56595e['error'];_0x50d697[_0x20ad9b(0x3e0)]({..._0x2ca8a6[_0x52c86f],'undoState':_0x2f72ef[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x56595e[_0x20ad9b(0x38c)]['params']}),_0x323562=_0x2f72ef[_0x20ad9b(0x25d)],_0x2ca100=_0x56595e[_0x20ad9b(0x25d)];}_0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3['mutations'][0x0]),_0x2ca100=_0x12127f['Tools'][_0x20ad9b(0x226)](_0x2b62c3[_0x20ad9b(0x393)][0x0]);for(let _0x5e8ab8=_0x183052[_0x20ad9b(0x31e)]-0x1;_0x5e8ab8>=0x0;_0x5e8ab8--){const _0x80ade5={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8]['unitId'],..._0x183052[_0x5e8ab8][_0x20ad9b(0x24f)]}},_0x4abba8={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8][_0x20ad9b(0x2c0)],..._0x183052[_0x5e8ab8]['redoState']}},_0x298b3a=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x323562,_0x80ade5,!0x1),_0x146d44=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x4abba8,!0x1);if(_0x50b9f9['isTransformMutationFailure'](_0x298b3a))throw _0x298b3a[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x146d44))throw _0x146d44[_0x20ad9b(0x35c)];_0x58b8b3[_0x20ad9b(0x3e0)]({..._0x183052[_0x5e8ab8],'undoState':_0x298b3a[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x146d44[_0x20ad9b(0x38c)][_0x20ad9b(0x442)]}),_0x323562=_0x298b3a[_0x20ad9b(0x25d)],_0x2ca100=_0x146d44[_0x20ad9b(0x25d)];}this[_0x20ad9b(0x369)]['setStateCache'](_0x2cb342,{'history':_0x50d697,'collaboration':_0x58b8b3});}};_0x53c97f=_0x2d12bc([_0x2fe4d3(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x2fe4d3(0x1,_0x50b9f9['ITransformService']),_0x2fe4d3(0x2,_0x12127f['Inject'](_0x464098[_0x4c88bb(0x1dc)]))],_0x53c97f);var _0x56314a=Object[_0x4c88bb(0x272)],_0x271e55=(_0x3c64bd,_0x5b26ea,_0x360884,_0x4e6ff3)=>{const _0x401eb9=_0x4c88bb;for(var _0x13699d=_0x4e6ff3>0x1?void 0x0:_0x4e6ff3?_0x56314a(_0x5b26ea,_0x360884):_0x5b26ea,_0x2ae69f=_0x3c64bd[_0x401eb9(0x31e)]-0x1,_0x1ca93d;_0x2ae69f>=0x0;_0x2ae69f--)(_0x1ca93d=_0x3c64bd[_0x2ae69f])&&(_0x13699d=_0x1ca93d(_0x13699d)||_0x13699d);return _0x13699d;},_0x26c40f=(_0x185977,_0x5a8ec6)=>(_0x1132c9,_0x5aea58)=>_0x5a8ec6(_0x1132c9,_0x5aea58,_0x185977);let _0x5f47e3=class{constructor(_0x2f9bad,_0x40bad5){const _0x1ca99f=_0x4c88bb;this['_injector']=_0x2f9bad,this[_0x1ca99f(0x344)]=_0x40bad5;}[_0x4c88bb(0x334)](_0x445190){const _0x444b74=_0x4c88bb;var _0x4084fd;const _0x228f2d=this['_injector']['get'](_0x514f6b[_0x444b74(0x21a)]),_0x586641=(_0x4084fd=_0x228f2d[_0x444b74(0x322)]())!=null?_0x4084fd:[];if(_0x586641[_0x444b74(0x31e)]===0x0)return;const _0x4feceb=_0x445190[_0x444b74(0x358)],_0x1c8912=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4feceb,'actions':null,'textRanges':_0x586641}}],_0x55f4e0=this[_0x444b74(0x344)][_0x444b74(0x3be)](_0x445190,_0x1c8912);if(!_0x50b9f9[_0x444b74(0x2d6)](_0x55f4e0))throw _0x55f4e0[_0x444b74(0x35c)];const _0x55ab1c=_0x55f4e0[_0x444b74(0x38c)][0x0][_0x444b74(0x442)]['textRanges'];Array[_0x444b74(0x2ed)](_0x55ab1c)&&_0x55ab1c[_0x444b74(0x31e)]&&_0x228f2d[_0x444b74(0x42b)](_0x55ab1c,{'unitId':_0x4feceb,'subUnitId':_0x4feceb},!0x1);}};_0x5f47e3=_0x271e55([_0x26c40f(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x26c40f(0x1,_0x50b9f9[_0x4c88bb(0x337)])],_0x5f47e3);var _0x3b75fc=Object[_0x4c88bb(0x272)],_0x1b97bd=(_0x41c4ba,_0x2dd757,_0x220d5c,_0x5a2985)=>{for(var _0x52af4f=_0x5a2985>0x1?void 0x0:_0x5a2985?_0x3b75fc(_0x2dd757,_0x220d5c):_0x2dd757,_0x2c6f96=_0x41c4ba['length']-0x1,_0x5ba29c;_0x2c6f96>=0x0;_0x2c6f96--)(_0x5ba29c=_0x41c4ba[_0x2c6f96])&&(_0x52af4f=_0x5ba29c(_0x52af4f)||_0x52af4f);return _0x52af4f;},_0x345756=(_0x14020f,_0x432416)=>(_0x21edc1,_0x5c3d48)=>_0x432416(_0x21edc1,_0x5c3d48,_0x14020f);let _0x1b1efa=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x489284,_0x1c8b0d,_0x83ab7e,_0x5f1ef6,_0x3ceee4,_0x7804c1,_0x39eb50,_0x1328b8){const _0x6a7f0=_0x4c88bb;super(),_0x259cdc(this,_0x6a7f0(0x1e5),new _0x4d06f2[(_0x6a7f0(0x31f))](_0x5bae0f[_0x6a7f0(0x2f3)][_0x6a7f0(0x347)])),(this['_docStateChangeManagerService']=_0x489284,this['_collaborationController']=_0x1c8b0d,this['_docTransformIMECacheService']=_0x83ab7e,this[_0x6a7f0(0x309)]=_0x5f1ef6,this[_0x6a7f0(0x215)]=_0x3ceee4,this[_0x6a7f0(0x2ab)]=_0x7804c1,this['_messageService']=_0x39eb50,this['_localeService']=_0x1328b8,this[_0x6a7f0(0x293)]());}[_0x4c88bb(0x293)](){const _0x41f64c=_0x4c88bb;this['disposeWithMe'](this[_0x41f64c(0x27d)][_0x41f64c(0x274)]['subscribe'](_0x45b859=>{const _0x484a0f=_0x41f64c,_0x134e43=this[_0x484a0f(0x369)][_0x484a0f(0x23d)][_0x484a0f(0x43a)](_0x18755e=>{const _0x53b4e9=_0x484a0f;if(_0x18755e==null)return;const {unitId:_0x42a36b,redoState:_0x43d68c,commandId:_0x57291e}=_0x18755e;if(_0x42a36b!==_0x45b859[_0x53b4e9(0x358)])return;const _0x47ffb3={'id':_0x57291e,'type':_0x12127f['CommandType'][_0x53b4e9(0x387)],'params':{'unitId':_0x42a36b,'actions':_0x43d68c['actions'],'textRanges':null}};_0x45b859[_0x53b4e9(0x325)](_0x47ffb3);});if(_0x45b859[_0x484a0f(0x21d)](_0x134e43),_0x45b859 instanceof _0x5bae0f['DocCollaborationEntity']){const _0x42507e={'onTransformIME':_0x1ddaea=>this[_0x484a0f(0x271)]['transformIMECache'](_0x1ddaea),'onTransformState':_0x53c51b=>this[_0x484a0f(0x309)][_0x484a0f(0x270)](_0x53c51b),'onTransformSelections':_0x394527=>this[_0x484a0f(0x215)]['transformSelections'](_0x394527),'onSyncEditingCollabCursor':_0x2b9909=>this['_docSyncEditingCollabCursorService'][_0x484a0f(0x383)](_0x2b9909),'onTransformRemoteChangesetByIMECache':_0x52779e=>this['_docTransformIMECacheService'][_0x484a0f(0x2d4)](_0x52779e),'onTransformRemoteChangesetByStateCache':_0x4f4f61=>this[_0x484a0f(0x309)][_0x484a0f(0x2d4)](_0x4f4f61)};_0x45b859['addHandlerCallback'](_0x42507e);}}));}};_0x1b1efa=_0x1b97bd([_0x345756(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x464098[_0x4c88bb(0x1dc)])),_0x345756(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationController'])),_0x345756(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x190050)),_0x345756(0x3,_0x12127f['Inject'](_0x53c97f)),_0x345756(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5f47e3)),_0x345756(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x345756(0x6,_0x594396['IMessageService']),_0x345756(0x7,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x24c)]))],_0x1b1efa);var _0x1d3cce=Object[_0x4c88bb(0x272)],_0x1a536c=(_0x2bf0e0,_0x2fb5a9,_0x50fb74,_0x2cfa3c)=>{for(var _0x50828e=_0x2cfa3c>0x1?void 0x0:_0x2cfa3c?_0x1d3cce(_0x2fb5a9,_0x50fb74):_0x2fb5a9,_0x305085=_0x2bf0e0['length']-0x1,_0xcabbb0;_0x305085>=0x0;_0x305085--)(_0xcabbb0=_0x2bf0e0[_0x305085])&&(_0x50828e=_0xcabbb0(_0x50828e)||_0x50828e);return _0x50828e;},_0x218f6d=(_0x493a3c,_0x51b2ed)=>(_0xf94784,_0x4fe0a2)=>_0x51b2ed(_0xf94784,_0x4fe0a2,_0x493a3c);let _0x26d5e0=class extends _0x12127f['Disposable']{constructor(_0x68ae24,_0x186b66,_0x183ba5){const _0x486585=_0x4c88bb;super(),_0x259cdc(this,_0x486585(0x2ea),new Map()),_0x259cdc(this,'_saveTaskMap',new Map()),_0x259cdc(this,'_disabled',!0x1),(this[_0x486585(0x268)]=_0x68ae24,this[_0x486585(0x259)]=_0x186b66,this[_0x486585(0x207)]=_0x183ba5);}[_0x4c88bb(0x40a)](){this['_disabled']=!0x0;}[_0x4c88bb(0x338)](){const _0x3d9371=_0x4c88bb;this[_0x3d9371(0x238)]=!0x1;}get['saveTaskMap'](){const _0x2c12e6=_0x4c88bb;return this[_0x2c12e6(0x25a)];}[_0x4c88bb(0x346)](){const _0x263ad8=_0x4c88bb;this[_0x263ad8(0x306)]()['then'](()=>super[_0x263ad8(0x346)]());}async[_0x4c88bb(0x3dc)](_0x874ba2){const _0x1e15fb=_0x4c88bb;return this[_0x1e15fb(0x238)]?null:this[_0x1e15fb(0x259)]['getItem'](_0x5bae0f[_0x1e15fb(0x3e5)](_0x874ba2));}async[_0x4c88bb(0x3ca)](_0x11f7e0,_0x2cfc99){const _0x3e866c=_0x4c88bb;return!!this[_0x3e866c(0x259)]['setItem'](_0x11f7e0,_0x2cfc99);}[_0x4c88bb(0x37c)](_0x115676,_0x288a17,_0x41313a,_0x49845b){const _0x447da8=_0x4c88bb,_0x445e0f=this[_0x447da8(0x207)][_0x447da8(0x397)](_0x115676);this['_cachedData'][_0x447da8(0x1d8)](_0x115676,{'unitID':_0x115676,'type':_0x288a17,'awaitingChangeset':_0x41313a,'mutations':_0x49845b,'rev':_0x445e0f}),this[_0x447da8(0x25a)]['has'](_0x115676)||this[_0x447da8(0x1e8)](_0x115676);}[_0x4c88bb(0x1e8)](_0x2935ac){const _0x5e5c8c=_0x4c88bb,_0x507d4d=this[_0x5e5c8c(0x1e7)]();_0x507d4d===0x0?this[_0x5e5c8c(0x427)](_0x2935ac):this['_saveTaskMap'][_0x5e5c8c(0x1d8)](_0x2935ac,setTimeout(()=>this[_0x5e5c8c(0x427)](_0x2935ac),_0x507d4d));}[_0x4c88bb(0x1e7)](){const _0x447881=_0x4c88bb;var _0x4b48a1;return(_0x4b48a1=this['_configService'][_0x447881(0x312)](_0x5bae0f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b48a1:_0x5bae0f['LOCAL_CACHE_INTERVAL'];}[_0x4c88bb(0x427)](_0x1f4f5b){const _0x4dcb16=_0x4c88bb,_0x3d3768=this[_0x4dcb16(0x25a)]['get'](_0x1f4f5b);return _0x3d3768!==void 0x0&&window[_0x4dcb16(0x305)](_0x3d3768),this['_localStorageService'][_0x4dcb16(0x255)](_0x5bae0f[_0x4dcb16(0x3e5)](_0x1f4f5b),this['_cachedData']['get'](_0x1f4f5b))['then'](()=>this[_0x4dcb16(0x25a)][_0x4dcb16(0x3f7)](_0x1f4f5b));}async['exhaustSavingTask'](){const _0x572567=_0x4c88bb,_0x378074=[];this[_0x572567(0x25a)]['forEach']((_0x710696,_0x16c3e7)=>{const _0x2ed61f=_0x572567;window[_0x2ed61f(0x305)](_0x710696),_0x378074[_0x2ed61f(0x1d7)](this[_0x2ed61f(0x427)](_0x16c3e7)[_0x2ed61f(0x266)](()=>{this['_saveTaskMap']['delete'](_0x16c3e7);}));}),await Promise[_0x572567(0x351)](_0x378074);}};_0x26d5e0=_0x1a536c([_0x218f6d(0x0,_0x12127f['IConfigService']),_0x218f6d(0x1,_0x12127f[_0x4c88bb(0x409)]),_0x218f6d(0x2,_0x12127f['Inject'](_0x50b9f9[_0x4c88bb(0x2f4)]))],_0x26d5e0);class _0xa638e5 extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x4ce724=_0x4c88bb;super(),_0x259cdc(this,_0x4ce724(0x430)),this[_0x4ce724(0x430)]=_0x4d06f2['fromEvent'](window,_0x4ce724(0x253))[_0x4ce724(0x310)](_0x4d06f2[_0x4ce724(0x3ba)](this[_0x4ce724(0x1d1)]),_0x4d06f2[_0x4ce724(0x3da)](0x1),_0x4d06f2[_0x4ce724(0x2df)](void 0x0));}['setParam'](_0x8c22bf,_0x21124a,_0x3b8e86=!0x1){const _0x586db4=_0x4c88bb,_0x40355b=new URL(window[_0x586db4(0x1e2)][_0x586db4(0x3b7)]);_0x40355b[_0x586db4(0x42c)]['set'](_0x8c22bf,_0x21124a),_0x3b8e86?window[_0x586db4(0x3a5)][_0x586db4(0x3bc)]('','',_0x40355b[_0x586db4(0x23a)]()):window[_0x586db4(0x3a5)][_0x586db4(0x2d7)]('','',_0x40355b[_0x586db4(0x23a)]());}[_0x4c88bb(0x29f)](_0x57c3b8,_0x4d1a0b=!0x1){const _0x1a7d24=_0x4c88bb,_0x3fc803=new URL(window[_0x1a7d24(0x1e2)][_0x1a7d24(0x3b7)]);_0x3fc803[_0x1a7d24(0x42c)][_0x1a7d24(0x3f7)](_0x57c3b8),_0x4d1a0b?window[_0x1a7d24(0x3a5)][_0x1a7d24(0x3bc)]('','',_0x3fc803[_0x1a7d24(0x23a)]()):window[_0x1a7d24(0x3a5)][_0x1a7d24(0x2d7)]('','',_0x3fc803['toString']());}[_0x4c88bb(0x3ab)](_0x70327f){const _0xef5d49=_0x4c88bb;var _0x31d8c4;return(_0x31d8c4=new URL(window[_0xef5d49(0x1e2)][_0xef5d49(0x3b7)])[_0xef5d49(0x42c)]['get'](_0x70327f))!=null?_0x31d8c4:void 0x0;}}var _0x1f910e=Object[_0x4c88bb(0x35b)],_0x140d13=Object[_0x4c88bb(0x272)],_0x39cda2=(_0x20d4dd,_0x2046a3,_0x32e449)=>_0x2046a3 in _0x20d4dd?_0x1f910e(_0x20d4dd,_0x2046a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e449}):_0x20d4dd[_0x2046a3]=_0x32e449,_0xd01e1c=(_0x5ece2d,_0x3fed70,_0x4dcaca,_0x561f23)=>{const _0x415105=_0x4c88bb;for(var _0x295ea6=_0x561f23>0x1?void 0x0:_0x561f23?_0x140d13(_0x3fed70,_0x4dcaca):_0x3fed70,_0x7721aa=_0x5ece2d[_0x415105(0x31e)]-0x1,_0x2b5a7f;_0x7721aa>=0x0;_0x7721aa--)(_0x2b5a7f=_0x5ece2d[_0x7721aa])&&(_0x295ea6=_0x2b5a7f(_0x295ea6)||_0x295ea6);return _0x295ea6;},_0x456a8c=(_0x29c63f,_0x3ec61b)=>(_0x4b6ac8,_0x57661f)=>_0x3ec61b(_0x4b6ac8,_0x57661f,_0x29c63f),_0x4cc290=(_0x5b4aab,_0x238368,_0x359632)=>_0x39cda2(_0x5b4aab,_0x238368+'',_0x359632);const _0x59b90a=_0x4c88bb(0x21e);_0x5d87d7[_0x4c88bb(0x3b2)]=class extends _0x12127f[_0x4c88bb(0x2b1)]{constructor(_0x1cbb64=_0x517146,_0x4f0832,_0x4488d2,_0x457b08){const _0x343e96=_0x4c88bb;super(),this[_0x343e96(0x3b3)]=_0x1cbb64,this[_0x343e96(0x254)]=_0x4f0832,this[_0x343e96(0x425)]=_0x4488d2,this[_0x343e96(0x268)]=_0x457b08;const {..._0x5c07f2}=_0x12127f[_0x343e96(0x38e)]({},_0x517146,this['_config']);this[_0x343e96(0x268)]['setConfig'](_0x7bfec1,_0x5c07f2);}[_0x4c88bb(0x251)](){const _0x3c3ac4=_0x4c88bb;this[_0x3c3ac4(0x219)](),this['_initDependencies']();}['onRendered'](){const _0x468324=_0x4c88bb;this[_0x468324(0x1cb)]();}[_0x4c88bb(0x219)](){const _0x557a46=_0x4c88bb;var _0x164674;const _0x3dc750=[[_0x3a2e1e],[_0x5f47e3],[_0x190050],[_0x53c97f],[_0x34804b],[_0x3b075a,{'useClass':_0xa638e5}],[_0x12d4d8[_0x557a46(0x43b)],{'useClass':_0x12d4d8['WebSocketService']}],[_0x5bae0f[_0x557a46(0x372)],{'useClass':_0x26d5e0}],[_0x5d87d7[_0x557a46(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x3fa8d8],[_0xd2e3e3],[_0x5d87d7[_0x557a46(0x3d0)]]];_0x12127f[_0x557a46(0x3f3)](this[_0x557a46(0x425)],_0x12127f[_0x557a46(0x2d2)](_0x3dc750,(_0x164674=this[_0x557a46(0x3b3)])==null?void 0x0:_0x164674[_0x557a46(0x1f3)]));}['_registerRenderDependencies'](){const _0x3e6118=_0x4c88bb;this[_0x3e6118(0x21d)](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)]['UNIVER_DOC'],[_0x92636b])),this['disposeWithMe'](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)][_0x3e6118(0x423)],[_0x1e07d9]));}[_0x4c88bb(0x235)](){const _0x50528f=_0x4c88bb;_0x12127f[_0x50528f(0x3c5)](this[_0x50528f(0x425)],[[_0x3fa8d8],[_0x5d87d7[_0x50528f(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x5d87d7[_0x50528f(0x3d0)]]]);}},_0x4cc290(_0x5d87d7[_0x4c88bb(0x3b2)],'pluginName',_0x59b90a),_0x5d87d7[_0x4c88bb(0x3b2)]=_0xd01e1c([_0x12127f[_0x4c88bb(0x3c9)](_0x5bae0f[_0x4c88bb(0x2e8)]),_0x456a8c(0x1,_0xcd886d[_0x4c88bb(0x3c8)]),_0x456a8c(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x456a8c(0x3,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['UniverCollaborationClientUIPlugin']);var _0x6e7f47=Object[_0x4c88bb(0x272)],_0x30ec23=(_0x1fcc44,_0x486c88,_0x2f00c7,_0x5d06ae)=>{const _0x33f65f=_0x4c88bb;for(var _0x1e8b8a=_0x5d06ae>0x1?void 0x0:_0x5d06ae?_0x6e7f47(_0x486c88,_0x2f00c7):_0x486c88,_0x428690=_0x1fcc44[_0x33f65f(0x31e)]-0x1,_0x406524;_0x428690>=0x0;_0x428690--)(_0x406524=_0x1fcc44[_0x428690])&&(_0x1e8b8a=_0x406524(_0x1e8b8a)||_0x1e8b8a);return _0x1e8b8a;},_0x5bb299=(_0x1c0929,_0x434d2e)=>(_0x36de0c,_0x51c315)=>_0x434d2e(_0x36de0c,_0x51c315,_0x1c0929);_0x5d87d7['BrowserCollaborationSocketService']=class extends _0x5bae0f['CollaborationSocketService']{constructor(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d){super(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d);}async[_0x4c88bb(0x2f7)](_0x4f46e8){const _0x4fa595=_0x4c88bb,_0x261623=await this[_0x4fa595(0x3d7)](),_0x3f0f1b=this[_0x4fa595(0x378)](_0x4f46e8,_0x261623);return this[_0x4fa595(0x304)](_0x3f0f1b);}[_0x4c88bb(0x378)](_0x2f094e,_0x2c1554){const _0x518798=_0x4c88bb,_0x79d127=typeof window>'u'?new URL(_0x2f094e):new URL(_0x2f094e,window[_0x518798(0x1e2)][_0x518798(0x37e)]);_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x40e),_0x2c1554);const _0xdc719e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x518798(0x1e2)][_0x518798(0x3ed)]);return _0xdc719e['get']('runId')&&_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x287),_0xdc719e[_0x518798(0x26d)](_0x518798(0x287))),_0x79d127[_0x518798(0x23a)]();}async[_0x4c88bb(0x3d7)](){const _0x3d7556=_0x4c88bb;var _0x1d2314,_0x1da975,_0x25e73d;const _0x5a6965=this['_configService'][_0x3d7556(0x312)](_0x5bae0f[_0x3d7556(0x2eb)]),_0x595ea6=(_0x1d2314=_0x5a6965==null?void 0x0:_0x5a6965[_0x3d7556(0x41c)])!=null?_0x1d2314:_0x5bae0f[_0x3d7556(0x1cf)];return(_0x25e73d=(_0x1da975=(await this[_0x3d7556(0x285)][_0x3d7556(0x26d)](_0x595ea6,{'headers':{'Content-Type':_0x3d7556(0x27b)}}))[_0x3d7556(0x2f9)])==null?void 0x0:_0x1da975['ticket'])!=null?_0x25e73d:'';}},_0x5d87d7[_0x4c88bb(0x324)]=_0x30ec23([_0x5bb299(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x5bb299(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8[_0x4c88bb(0x30c)])),_0x5bb299(0x2,_0x12127f[_0x4c88bb(0x377)]),_0x5bb299(0x3,_0x12127f['ILogService']),_0x5bb299(0x4,_0x50b9f9['ISnapshotServerService'])],_0x5d87d7[_0x4c88bb(0x324)]);const _0x54fc17=0x7530,_0x2a2257='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1e3599 extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x5ca46f=_0x4c88bb;super(),_0x259cdc(this,'_id',_0x12127f[_0x5ca46f(0x2b6)]()),_0x259cdc(this,_0x5ca46f(0x386),new Set()),_0x259cdc(this,_0x5ca46f(0x37f),new Map()),_0x259cdc(this,_0x5ca46f(0x356),null),_0x259cdc(this,_0x5ca46f(0x33f),new Map()),_0x259cdc(this,_0x5ca46f(0x354),new Map()),this[_0x5ca46f(0x2a8)]();}['dispose'](){const _0x125bea=_0x4c88bb;super[_0x125bea(0x346)](),this[_0x125bea(0x33f)][_0x125bea(0x27f)]((_0x3ee641,_0x470dce)=>this[_0x125bea(0x22e)](_0x470dce)),this[_0x125bea(0x356)]&&window[_0x125bea(0x359)](this[_0x125bea(0x356)]);}[_0x4c88bb(0x1d2)](_0x2ea512){const _0x40b0fd=_0x4c88bb;return this[_0x40b0fd(0x420)](_0x2ea512)[_0x40b0fd(0x310)](_0x4d06f2[_0x40b0fd(0x41b)]());}[_0x4c88bb(0x3f9)](_0x32fd81){const _0x4dac92=_0x4c88bb;this[_0x4dac92(0x386)][_0x4dac92(0x368)]===0x0&&this[_0x4dac92(0x29a)](),this[_0x4dac92(0x386)][_0x4dac92(0x419)](_0x32fd81),this[_0x4dac92(0x417)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x32fd81],'isForwarded':!0x1});}['disposeUnit'](_0x226bcd){const _0x5b69b2=_0x4c88bb;this[_0x5b69b2(0x386)]['delete'](_0x226bcd),this[_0x5b69b2(0x386)][_0x5b69b2(0x368)]===0x0&&this['_heartbeatTimer']&&window[_0x5b69b2(0x359)](this[_0x5b69b2(0x356)]);}['_init'](){const _0x49909d=_0x4c88bb;this[_0x49909d(0x21d)](_0x12127f[_0x49909d(0x3ec)](_0x4d06f2[_0x49909d(0x396)](window,_0x49909d(0x3b5))[_0x49909d(0x43a)](_0x2ae995=>{const _0x4b86ca=_0x49909d;if(_0x2ae995[_0x4b86ca(0x258)]!==_0x2a2257||!_0x2ae995[_0x4b86ca(0x43c)])return;const _0x2cf072=JSON['parse'](_0x2ae995[_0x4b86ca(0x43c)]);this[_0x4b86ca(0x269)](_0x2cf072);}))),window[_0x49909d(0x32c)]('unload',()=>this[_0x49909d(0x417)]({'type':0x1,'memberID':this[_0x49909d(0x441)],'unitIDs':Array[_0x49909d(0x232)](this[_0x49909d(0x386)])}));}[_0x4c88bb(0x269)](_0x286a2e){const _0x58c819=_0x4c88bb;switch(_0x286a2e[_0x58c819(0x3fe)]){case 0x0:this[_0x58c819(0x211)](_0x286a2e);break;case 0x1:this[_0x58c819(0x1e1)](_0x286a2e);break;case 0x2:this[_0x58c819(0x444)](_0x286a2e);break;}}[_0x4c88bb(0x211)](_0x10b546){const _0xf8e5af=_0x4c88bb,{unitIDs:_0x26f231,memberID:_0x5dffca,isForwarded:_0xd9c0b8}=_0x10b546;_0x26f231[_0xf8e5af(0x27f)](_0x532eef=>{const _0xcbe9b3=_0xf8e5af;if(!_0xd9c0b8&&this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)&&this[_0xcbe9b3(0x420)](_0x532eef)[_0xcbe9b3(0x34f)](_0x5bae0f['UnitStatus'][_0xcbe9b3(0x243)]),!this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)||!this['_unitOnClients'][_0xcbe9b3(0x26d)](_0x532eef)['has'](_0x5dffca)){const _0x49d992=this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x26d)](_0x532eef)||new Set();_0x49d992[_0xcbe9b3(0x419)](_0x5dffca),this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1d8)](_0x532eef,_0x49d992),this['_scheduleClearOtherTimer'](_0x5dffca);}}),_0xd9c0b8||this['_send']({'type':0x0,'memberID':this[_0xf8e5af(0x441)],'unitIDs':[...this[_0xf8e5af(0x386)]],'isForwarded':!0x0});}[_0x4c88bb(0x227)](_0x38e932){const _0x103d88=_0x4c88bb;this[_0x103d88(0x22e)](_0x38e932);const _0x573d21=window[_0x103d88(0x2e2)](()=>{const _0x44d83d=_0x103d88;this['_unitOnClients'][_0x44d83d(0x27f)](_0x325e65=>{const _0xb77111=_0x44d83d;_0x325e65[_0xb77111(0x3f7)](_0x38e932);});},_0x54fc17*0x2);this['_clearOtherTimers'][_0x103d88(0x1d8)](_0x38e932,_0x573d21);}[_0x4c88bb(0x22e)](_0x1206ec){const _0x4c07f4=_0x4c88bb;if(this[_0x4c07f4(0x33f)][_0x4c07f4(0x1fe)](_0x1206ec)){const _0x309728=this[_0x4c07f4(0x33f)]['get'](_0x1206ec);_0x309728&&window[_0x4c07f4(0x305)](_0x309728),this[_0x4c07f4(0x33f)][_0x4c07f4(0x1d8)](_0x1206ec,null);}}[_0x4c88bb(0x1e1)](_0x4d40ac){const _0x37ef6e=_0x4c88bb,{memberID:_0x2aa149,unitIDs:_0xac1350}=_0x4d40ac;_0xac1350[_0x37ef6e(0x27f)](_0x53ac80=>{const _0x4c5371=_0x37ef6e;var _0x3c26ea;const _0x24130c=this[_0x4c5371(0x37f)][_0x4c5371(0x26d)](_0x53ac80);_0x24130c&&(_0x24130c[_0x4c5371(0x3f7)](_0x2aa149),(_0x3c26ea=this[_0x4c5371(0x420)](_0x53ac80))==null||_0x3c26ea[_0x4c5371(0x34f)](_0x24130c[_0x4c5371(0x368)]===0x0?_0x5bae0f[_0x4c5371(0x342)]['NO_OTHER_CLIENTS_EDITING']:_0x5bae0f[_0x4c5371(0x342)][_0x4c5371(0x243)]));}),this[_0x37ef6e(0x22e)](_0x2aa149);}[_0x4c88bb(0x444)](_0x3c5814){const _0x1e10b0=_0x4c88bb;this[_0x1e10b0(0x227)](_0x3c5814['memberID']);}[_0x4c88bb(0x417)](_0x3d5c7e){const _0x227724=_0x4c88bb;localStorage[_0x227724(0x255)](_0x2a2257,JSON[_0x227724(0x2bf)](_0x3d5c7e));}[_0x4c88bb(0x29a)](){const _0x3bacdc=_0x4c88bb;this[_0x3bacdc(0x356)]=window[_0x3bacdc(0x24a)](()=>{const _0x716f52=_0x3bacdc;this[_0x716f52(0x417)]({'type':0x2,'memberID':this[_0x716f52(0x441)]});},_0x54fc17);}['_ensureSubject'](_0x344f89){const _0x506cad=_0x4c88bb;return this[_0x506cad(0x354)][_0x506cad(0x1fe)](_0x344f89)||this[_0x506cad(0x354)]['set'](_0x344f89,new _0x4d06f2[(_0x506cad(0x31f))](_0x5bae0f['UnitStatus'][_0x506cad(0x35f)])),this['_unitStatus'][_0x506cad(0x26d)](_0x344f89);}}var _0x37dbf2=(_0x2f21ab=>(_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3e9)]=0x0]=_0x4c88bb(0x3e9),_0x2f21ab[_0x2f21ab['OK']=0x1]='OK',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x403)]=0x2]=_0x4c88bb(0x403),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a1)]=0x3]=_0x4c88bb(0x2a1),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x395)]=0x4]='NOT_FOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x33c)]=0x5]=_0x4c88bb(0x33c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1c9)]=0x6]='ALREADY_EXISTS',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x433)]=0x7]=_0x4c88bb(0x433),_0x2f21ab[_0x2f21ab['TOO_MANY_REQUESTS']=0x8]=_0x4c88bb(0x39e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x329)]=0x9]='COMPLETION_FINISHED',_0x2f21ab[_0x2f21ab['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f21ab[_0x2f21ab['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f21ab[_0x2f21ab['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c88bb(0x391),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x41d)]=0x1772]=_0x4c88bb(0x41d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x26c)]=0x1773]=_0x4c88bb(0x26c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20e)]=0x1b59]=_0x4c88bb(0x20e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3de)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x23b)]=0x1b5b]=_0x4c88bb(0x23b),_0x2f21ab[_0x2f21ab['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c88bb(0x374),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3cf)]=0x1b5d]=_0x4c88bb(0x3cf),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x456)]=0x1f41]=_0x4c88bb(0x456),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x42d)]=0x2329]=_0x4c88bb(0x42d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c7)]=0x232a]=_0x4c88bb(0x2c7),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x237)]=0x232b]=_0x4c88bb(0x237),_0x2f21ab[_0x2f21ab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c88bb(0x410),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x316)]=0x232d]=_0x4c88bb(0x316),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1f8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f21ab[_0x2f21ab['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2f21ab[_0x2f21ab['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c88bb(0x33e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a0)]=0x271a]=_0x4c88bb(0x2a0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x37d)]=0x271b]=_0x4c88bb(0x37d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x35d)]=0x2af9]=_0x4c88bb(0x35d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x44b)]=0x2ee1]=_0x4c88bb(0x44b),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x280)]=0x2ee2]=_0x4c88bb(0x280),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1d0)]=0x2ee3]=_0x4c88bb(0x1d0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x317)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f21ab[_0x2f21ab['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4c88bb(0x455),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c5)]=0x32cb]=_0x4c88bb(0x2c5),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2e6)]=-0x1]='UNRECOGNIZED',_0x2f21ab))(_0x37dbf2||{}),_0x3c3086=Object[_0x4c88bb(0x272)],_0x274c1e=(_0x4ae290,_0x209d00,_0x432008,_0xb6f84)=>{const _0x1ec3e1=_0x4c88bb;for(var _0x5bb090=_0xb6f84>0x1?void 0x0:_0xb6f84?_0x3c3086(_0x209d00,_0x432008):_0x209d00,_0x49483d=_0x4ae290[_0x1ec3e1(0x31e)]-0x1,_0x18085a;_0x49483d>=0x0;_0x49483d--)(_0x18085a=_0x4ae290[_0x49483d])&&(_0x5bb090=_0x18085a(_0x5bb090)||_0x5bb090);return _0x5bb090;},_0x3680e1=(_0x4a6da5,_0x7323e8)=>(_0x5e3b66,_0x27938a)=>_0x7323e8(_0x5e3b66,_0x27938a,_0x4a6da5);_0x5d87d7[_0x4c88bb(0x260)]=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x522259,_0x2abeae,_0x32fe7d){const _0x29b972=_0x4c88bb;super(),this[_0x29b972(0x2cf)]=_0x522259,this[_0x29b972(0x285)]=_0x2abeae,this[_0x29b972(0x268)]=_0x32fe7d;}async[_0x4c88bb(0x45a)](_0x14a9ee,_0x2e53ce,_0x429305,..._0x28c974){const _0x4b1a63=_0x4c88bb;var _0x3772fe,_0x4af984,_0x1727c2,_0x59addc;const _0x1b7cd4=this['_instanceService'][_0x4b1a63(0x43d)]();if(!_0x1b7cd4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3aec1b=((_0x3772fe=this['_configService'][_0x4b1a63(0x312)](_0x5bae0f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3772fe:_0x5bae0f['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x14a9ee+_0x4b1a63(0x3a9)+_0x2e53ce,_0x4d521a=new URL(window['location'][_0x4b1a63(0x3b7)]),_0xd643df={'scriptId':_0x14a9ee,'runId':(_0x4af984=_0x4d521a[_0x4b1a63(0x42c)][_0x4b1a63(0x26d)]('runId'))!=null?_0x4af984:'','function':_0x2e53ce,'unitId':_0x1b7cd4[_0x4b1a63(0x43e)](),'argsOfFunction':JSON['stringify'](_0x28c974),'invokeId':(_0x1727c2=_0x429305['invokeId'])!=null?_0x1727c2:'','executionId':(_0x59addc=_0x429305[_0x4b1a63(0x3a0)])!=null?_0x59addc:''};try{const _0x4a58db=await this[_0x4b1a63(0x285)]['post'](_0x3aec1b,{'body':_0xd643df});return _0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x35c)]&&_0x4a58db['body']['error'][_0x4b1a63(0x335)]!==_0x37dbf2['OK']?_0x4b1a63(0x38b):_0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x220)];}catch{return _0x4b1a63(0x38b);}}},_0x5d87d7[_0x4c88bb(0x260)]=_0x274c1e([_0x3680e1(0x0,_0x12127f['IUniverInstanceService']),_0x3680e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8['HTTPService'])),_0x3680e1(0x2,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['RemoteUniscriptService']),_0x5d87d7[_0x4c88bb(0x203)]=_0x2066b6,_0x5d87d7['IURLService']=_0x3b075a,_0x5d87d7[_0x4c88bb(0x32b)]=_0x458401,_0x5d87d7[_0x4c88bb(0x3f4)]=_0x1e3599,_0x5d87d7['WebURLService']=_0xa638e5,Object[_0x4c88bb(0x35b)](_0x5d87d7,Symbol[_0x4c88bb(0x2e7)],{'value':_0x4c88bb(0x373)});}));
|
|
1
|
+
(function(_0x509b1a,_0x435427){const _0x3060ce=_0x3c28,_0x373305=_0x509b1a();while(!![]){try{const _0x1f79f5=-parseInt(_0x3060ce(0x124))/0x1*(-parseInt(_0x3060ce(0x321))/0x2)+-parseInt(_0x3060ce(0x344))/0x3*(parseInt(_0x3060ce(0x35c))/0x4)+parseInt(_0x3060ce(0x370))/0x5*(-parseInt(_0x3060ce(0x379))/0x6)+parseInt(_0x3060ce(0x251))/0x7+-parseInt(_0x3060ce(0x262))/0x8+parseInt(_0x3060ce(0x135))/0x9*(-parseInt(_0x3060ce(0x308))/0xa)+parseInt(_0x3060ce(0x26b))/0xb;if(_0x1f79f5===_0x435427)break;else _0x373305['push'](_0x373305['shift']());}catch(_0x11b168){_0x373305['push'](_0x373305['shift']());}}}(_0x5a2e,0x7b56f),function(_0x396b4b,_0x53693e){const _0x593b08=_0x3c28;typeof exports==_0x593b08(0x17f)&&typeof module<'u'?_0x53693e(exports,require(_0x593b08(0x2d6)),require(_0x593b08(0x24b)),require(_0x593b08(0x267)),require(_0x593b08(0x28f)),require('@univerjs/docs-ui'),require(_0x593b08(0x17d)),require('rxjs'),require(_0x593b08(0x1ac)),require(_0x593b08(0x24d)),require(_0x593b08(0x172)),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x593b08(0x1f9)),require(_0x593b08(0x27a)),require('@univerjs/design'),require(_0x593b08(0x1e9)),require('@univerjs/rpc')):typeof define==_0x593b08(0x1fb)&&define[_0x593b08(0x1da)]?define([_0x593b08(0x316),_0x593b08(0x2d6),_0x593b08(0x24b),_0x593b08(0x267),_0x593b08(0x28f),'@univerjs/docs-ui','@univerjs/drawing',_0x593b08(0x389),_0x593b08(0x1ac),_0x593b08(0x24d),_0x593b08(0x172),_0x593b08(0x201),'rxjs/operators',_0x593b08(0x2e7),_0x593b08(0x1f9),_0x593b08(0x27a),_0x593b08(0x35e),_0x593b08(0x1e9),'@univerjs/rpc'],_0x53693e):(_0x396b4b=typeof globalThis<'u'?globalThis:_0x396b4b||self,_0x53693e(_0x396b4b[_0x593b08(0x330)]={},_0x396b4b['UniverProCollaborationClient'],_0x396b4b[_0x593b08(0x26e)],_0x396b4b[_0x593b08(0x2a1)],_0x396b4b[_0x593b08(0x337)],_0x396b4b[_0x593b08(0x228)],_0x396b4b[_0x593b08(0x297)],_0x396b4b['rxjs'],_0x396b4b['UniverDocs'],_0x396b4b['UniverProCollaboration'],_0x396b4b[_0x593b08(0x15c)],_0x396b4b[_0x593b08(0x30a)],_0x396b4b['rxjs'][_0x593b08(0x191)],_0x396b4b[_0x593b08(0x169)],_0x396b4b[_0x593b08(0x24a)],_0x396b4b[_0x593b08(0x27f)],_0x396b4b[_0x593b08(0x206)],_0x396b4b[_0x593b08(0x24a)],_0x396b4b[_0x593b08(0x272)]));}(this,function(_0x49722f,_0xf9b925,_0x29c4b3,_0x12e223,_0x393968,_0x2496d8,_0x49e59c,_0x5cdc95,_0x1c550c,_0x53c7bc,_0x4f63e7,_0x9b20c5,_0x2fb573,_0x41b6a4,_0xcfd45e,_0x49048d,_0x2b6841,_0x442017,_0x14f0d0){'use strict';const _0x4b1c64=_0x3c28;var _0x5a7244=Object[_0x4b1c64(0x286)],_0x1b2923=(_0x6cfdf4,_0x31f4b7,_0x265b80)=>_0x31f4b7 in _0x6cfdf4?_0x5a7244(_0x6cfdf4,_0x31f4b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x265b80}):_0x6cfdf4[_0x31f4b7]=_0x265b80,_0x593db2=(_0x239b3d,_0x4f6a09,_0x589c43)=>_0x1b2923(_0x239b3d,typeof _0x4f6a09!=_0x4b1c64(0x2c5)?_0x4f6a09+'':_0x4f6a09,_0x589c43),_0x39e7c3=Object[_0x4b1c64(0x39e)],_0x4939d7=(_0x356d45,_0x3775ea,_0x675827,_0xc042c9)=>{const _0xab924d=_0x4b1c64;for(var _0x12e238=_0xc042c9>0x1?void 0x0:_0xc042c9?_0x39e7c3(_0x3775ea,_0x675827):_0x3775ea,_0x18cdf2=_0x356d45[_0xab924d(0x3ab)]-0x1,_0x57f82b;_0x18cdf2>=0x0;_0x18cdf2--)(_0x57f82b=_0x356d45[_0x18cdf2])&&(_0x12e238=_0x57f82b(_0x12e238)||_0x12e238);return _0x12e238;},_0xcc7383=(_0x4b5301,_0x16cbce)=>(_0x80e8e5,_0xe5fc45)=>_0x16cbce(_0x80e8e5,_0xe5fc45,_0x4b5301);let _0x4e9cd5=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x1b40be,_0xfc4660){const _0x2320f3=_0x4b1c64;super(),this[_0x2320f3(0x343)]=_0x1b40be,this[_0x2320f3(0x2af)]=_0xfc4660,this[_0x2320f3(0x3b8)]();}['_init'](){const _0x230880=_0x4b1c64,_0x3e2eda=this;this['disposeWithMe'](this[_0x230880(0x343)][_0x230880(0x1e7)]({'onBeforePasteImage':async _0x3b77e4=>{const _0x11083a=_0x230880,_0x55dab3=await _0x3e2eda[_0x11083a(0x2af)][_0x11083a(0x1c9)](_0x3b77e4);return _0x55dab3?{'source':_0x55dab3['source'],'imageSourceType':_0x55dab3['imageSourceType']}:null;}}));}};_0x4e9cd5=_0x4939d7([_0xcc7383(0x0,_0x2496d8[_0x4b1c64(0x1b8)]),_0xcc7383(0x1,_0x49e59c['IImageIoService'])],_0x4e9cd5);const _0x3c1395=[_0x4b1c64(0x21f),_0x4b1c64(0x218),_0x4b1c64(0x301),_0x4b1c64(0x3b2),_0x4b1c64(0x393),_0x4b1c64(0x361)];class _0x51f35b extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(){const _0x1155aa=_0x4b1c64;super(...arguments),_0x593db2(this,_0x1155aa(0x25a),new Map()),_0x593db2(this,'_colorIndex',0x0);}[_0x4b1c64(0x392)](_0x16a374){const _0x5274fd=_0x4b1c64;if(this[_0x5274fd(0x25a)][_0x5274fd(0x14d)](_0x16a374))return this[_0x5274fd(0x25a)][_0x5274fd(0x269)](_0x16a374);const _0x42258d=_0x3c1395[this['_colorIndex']];return this[_0x5274fd(0x29e)]=(this[_0x5274fd(0x29e)]+0x1)%_0x3c1395[_0x5274fd(0x3ab)],this[_0x5274fd(0x25a)][_0x5274fd(0x340)](_0x16a374,_0x42258d),_0x42258d;}}function _0x97f854(_0x3903fc){let _0x41191a='';for(const _0x1deb8a of _0x3903fc){const {startOffset:_0x34839b,endOffset:_0x14d9c9,isActive:_0x4a252c,rangeType:_0x5ac3ff,segmentId:_0x11f973,segmentPage:_0x5941fe}=_0x1deb8a;_0x41191a['length']&&(_0x41191a+=','),_0x41191a+=_0x34839b+':'+_0x14d9c9+':'+(_0x4a252c?'1':'0')+':'+_0x5ac3ff+':'+_0x11f973+':'+_0x5941fe;}return _0x41191a;}function _0x452392(_0x22197a){const _0x27a643=_0x4b1c64,_0x5304a7=_0x22197a[_0x27a643(0x229)](','),_0x451c12=[];for(const _0x2f0cd4 of _0x5304a7){const [_0x150850,_0x40f432,_0x35aef6,_0x1fa602,_0x108b55,_0xbb9bdf]=_0x2f0cd4[_0x27a643(0x229)](':');_0x451c12[_0x27a643(0x261)]({'startOffset':Number(_0x150850),'endOffset':Number(_0x40f432),'collapsed':_0x150850===_0x40f432,'isActive':_0x35aef6==='1','rangeType':_0x1fa602===_0x29c4b3['DOC_RANGE_TYPE'][_0x27a643(0x14c)]?_0x29c4b3[_0x27a643(0x315)][_0x27a643(0x14c)]:_0x29c4b3[_0x27a643(0x315)][_0x27a643(0x26a)],'segmentId':typeof _0x108b55==_0x27a643(0x149)?String(_0x108b55):'','segmentPage':Number(_0xbb9bdf!=null?_0xbb9bdf:-0x1)});}return _0x451c12[_0x27a643(0x2b2)](_0x25a780=>_0x25a780[_0x27a643(0x37d)])||(_0x451c12[0x0][_0x27a643(0x37d)]=!0x0),_0x451c12;}class _0x4aa5f2 extends _0x29c4b3['RxDisposable']{constructor(){const _0x55ae14=_0x4b1c64;super(...arguments),_0x593db2(this,_0x55ae14(0x205),new _0x5cdc95[(_0x55ae14(0x2b8))](null)),_0x593db2(this,_0x55ae14(0x1a8),this[_0x55ae14(0x205)][_0x55ae14(0x2ec)]());}[_0x4b1c64(0x190)](_0x4b5fd4){const _0x2d2032=_0x4b1c64,{unitID:_0x3c23b8,memberID:_0x22f415,textRanges:_0x11031a}=_0x4b5fd4,_0x5338d4=_0x97f854(_0x11031a);if(_0x5338d4==='')return;const _0x1b4e96={'unitID':_0x3c23b8,'memberID':_0x22f415,'selection':_0x5338d4};this[_0x2d2032(0x205)]['next'](_0x1b4e96);}}var _0x292b2=Object[_0x4b1c64(0x39e)],_0x4e4682=(_0x5a7551,_0x2703b4,_0x37e9ad,_0x156b72)=>{for(var _0x3ac019=_0x156b72>0x1?void 0x0:_0x156b72?_0x292b2(_0x2703b4,_0x37e9ad):_0x2703b4,_0x2282e2=_0x5a7551['length']-0x1,_0x2f674c;_0x2282e2>=0x0;_0x2282e2--)(_0x2f674c=_0x5a7551[_0x2282e2])&&(_0x3ac019=_0x2f674c(_0x3ac019)||_0x3ac019);return _0x3ac019;},_0x7f9213=(_0x248072,_0x62a15e)=>(_0x4a898b,_0x16099d)=>_0x62a15e(_0x4a898b,_0x16099d,_0x248072);const _0x36d7e6=0x12c,_0x21e7ee=0x64;let _0x50b416=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x4d929a,_0x29d3e6,_0x4322e3,_0x27398a,_0x130898,_0x3a0cc0,_0x3aeb50,_0x4362d4,_0x5acb16){const _0x462083=_0x4b1c64;super(),_0x593db2(this,_0x462083(0x371),!0x1),_0x593db2(this,'_init',!0x1),_0x593db2(this,_0x462083(0x173),new _0x5cdc95['BehaviorSubject'](new Map())),_0x593db2(this,_0x462083(0x235),this['_cursorInfo$'][_0x462083(0x2ec)]()),_0x593db2(this,_0x462083(0x2b0),new _0x5cdc95[(_0x462083(0x2b8))]([])),_0x593db2(this,'roomMembers$',this[_0x462083(0x2b0)][_0x462083(0x37f)](_0x5cdc95[_0x462083(0x254)](_0x36d7e6))),_0x593db2(this,'_updateLocalCursor',_0x29c4b3['debounce'](_0x843d10=>{const _0x1177a5=_0x462083,_0x812704={'eventID':_0x53c7bc[_0x1177a5(0x238)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1177a5(0x12e)],'memberID':this[_0x1177a5(0x1db)]['getMemberID'](),'selection':_0x97f854(_0x843d10)}};this['_session'][_0x1177a5(0x187)](_0x812704,this[_0x1177a5(0x12e)]);},_0x21e7ee)),(this['unitID']=_0x4d929a,this[_0x462083(0x1db)]=_0x29d3e6,this[_0x462083(0x196)]=_0x4322e3,this[_0x462083(0x390)]=_0x27398a,this['_memberService']=_0x130898,this[_0x462083(0x314)]=_0x3a0cc0,this[_0x462083(0x195)]=_0x3aeb50,this[_0x462083(0x1e2)]=_0x4362d4,this[_0x462083(0x3a7)]=_0x5acb16);}get[_0x4b1c64(0x273)](){const _0x53d82b=_0x4b1c64;return this[_0x53d82b(0x173)]['getValue']();}get[_0x4b1c64(0x38a)](){const _0x3f70fd=_0x4b1c64;return this['_roomMembers$'][_0x3f70fd(0x2ae)]();}[_0x4b1c64(0x1d7)](){const _0x2ec1e0=_0x4b1c64;super['dispose'](),this[_0x2ec1e0(0x173)][_0x2ec1e0(0x2d4)](new Map()),this[_0x2ec1e0(0x173)]['complete'](),this['_roomMembers$'][_0x2ec1e0(0x2d4)]([]),this[_0x2ec1e0(0x2b0)][_0x2ec1e0(0x255)]();}[_0x4b1c64(0x349)](){const _0x4cb1eb=_0x4b1c64;this['_init']||(this[_0x4cb1eb(0x3b8)]=!0x0,this[_0x4cb1eb(0x1db)][_0x4cb1eb(0x31b)][_0x4cb1eb(0x37f)](_0x5cdc95[_0x4cb1eb(0x335)](this['dispose$']))[_0x4cb1eb(0x1d5)](_0x43bc84=>{const _0x3e1d60=_0x4cb1eb;_0x43bc84===_0xf9b925['SessionStatus'][_0x3e1d60(0x15e)]?this[_0x3e1d60(0x127)]():this[_0x3e1d60(0x156)]();}),this[_0x4cb1eb(0x1db)][_0x4cb1eb(0x1dd)][_0x4cb1eb(0x37f)](_0x5cdc95['takeUntil'](this[_0x4cb1eb(0x27d)]))[_0x4cb1eb(0x1d5)](_0x1b3918=>{const _0x43235e=_0x4cb1eb,_0x29a02f=_0x1b3918[_0x43235e(0x2f0)];_0x29a02f===_0x53c7bc['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b3918),_0x29a02f===_0x53c7bc[_0x43235e(0x238)][_0x43235e(0x304)]&&this[_0x43235e(0x2ab)](_0x1b3918);}),this[_0x4cb1eb(0x1ad)](this[_0x4cb1eb(0x3a7)][_0x4cb1eb(0x30b)](_0x31982d=>{const _0x24947f=_0x4cb1eb,_0x52d77c=_0x31982d['params'];_0x52d77c!=null&&this[_0x24947f(0x371)]&&_0x31982d['id']===_0x1c550c[_0x24947f(0x159)]['id']&&_0x52d77c[_0x24947f(0x1b3)]===this['unitID']&&_0x52d77c[_0x24947f(0x263)]===!0x1&&_0x52d77c[_0x24947f(0x1a1)][_0x24947f(0x3ab)]>0x0&&this[_0x24947f(0x37e)](_0x52d77c['ranges']);})),this[_0x4cb1eb(0x314)]['collabCursorState$'][_0x4cb1eb(0x37f)](_0x5cdc95[_0x4cb1eb(0x335)](this[_0x4cb1eb(0x27d)]))[_0x4cb1eb(0x1d5)](_0x438bad=>{const _0x49e997=_0x4cb1eb;if((_0x438bad==null?void 0x0:_0x438bad['unitID'])!==this[_0x49e997(0x12e)])return;const _0x50d270={'eventID':_0x53c7bc[_0x49e997(0x238)]['UPDATE_CURSOR'],'data':_0x438bad};this[_0x49e997(0x1e0)](_0x50d270);}),this[_0x4cb1eb(0x1ad)](this[_0x4cb1eb(0x3a7)]['onCommandExecuted'](_0x274b06=>{const _0x5209d1=_0x4cb1eb;if(_0x274b06[_0x5209d1(0x1b4)]==null)return;const _0x56849f=_0x274b06[_0x5209d1(0x1b4)];if(_0x274b06['id']!==_0x1c550c['RichTextEditingMutation']['id']||_0x56849f[_0x5209d1(0x1b3)]!==this[_0x5209d1(0x12e)])return;const _0x545e2c={'id':'doc.mutation.rich-text-editing','params':_0x56849f},_0x39d6c8=this[_0x5209d1(0x273)];for(const [_0x4cbccd,_0x15834f]of _0x39d6c8){const _0x6c6ab={'id':_0x5209d1(0x278),'params':{'unitId':this[_0x5209d1(0x12e)],'actions':null,'textRanges':_0x15834f[_0x5209d1(0x1a1)]}},_0x18b898=this[_0x5209d1(0x195)][_0x5209d1(0x306)](_0x545e2c,_0x6c6ab,!0x1);if(_0x53c7bc[_0x5209d1(0x36f)](_0x18b898))throw _0x18b898[_0x5209d1(0x2c6)];_0x39d6c8[_0x5209d1(0x340)](_0x4cbccd,{..._0x15834f,'ranges':_0x18b898['m2Prime']['params'][_0x5209d1(0x2cb)]});}queueMicrotask(()=>{const _0x215849=_0x5209d1;this[_0x215849(0x173)][_0x215849(0x2d4)](_0x39d6c8);});})));}['_onCursorUpdate'](_0x429b5a){const _0x226348=_0x4b1c64;var _0x161a7f,_0x22a1cb;const {memberID:_0x70c808,selection:_0x48b4f3}=_0x429b5a[_0x226348(0x2dd)],_0x140354=_0x452392(_0x48b4f3),_0x2fbff1=(_0x22a1cb=(_0x161a7f=this[_0x226348(0x233)][_0x226348(0x2fa)](this[_0x226348(0x12e)],_0x70c808))==null?void 0x0:_0x161a7f['name'])!=null?_0x22a1cb:_0x226348(0x333),_0xf3b0fb={'color':this['_colorAssignService'][_0x226348(0x392)](_0x70c808),'name':_0x2fbff1,'ranges':_0x140354},_0x44f8e8=this[_0x226348(0x273)];_0x44f8e8[_0x226348(0x340)](_0x70c808,_0xf3b0fb),this[_0x226348(0x173)][_0x226348(0x2d4)](_0x44f8e8);}[_0x4b1c64(0x2ab)](_0x4c1ac4){const _0x49ebe0=_0x4b1c64,{memberID:_0x3a638c}=_0x4c1ac4[_0x49ebe0(0x2dd)],_0x28fb21=this[_0x49ebe0(0x273)];_0x28fb21[_0x49ebe0(0x138)](_0x3a638c),this[_0x49ebe0(0x173)][_0x49ebe0(0x2d4)](_0x28fb21);}[_0x4b1c64(0x127)](){const _0x3eac2d=_0x4b1c64;var _0x5dd23d;if(this[_0x3eac2d(0x371)]=!0x0,((_0x5dd23d=this[_0x3eac2d(0x1e2)][_0x3eac2d(0x1f3)]())==null?void 0x0:_0x5dd23d[_0x3eac2d(0x14a)]())!==this[_0x3eac2d(0x12e)])return;const _0x7606f5=this[_0x3eac2d(0x196)][_0x3eac2d(0x269)](_0x1c550c['DocSelectionManagerService'])[_0x3eac2d(0x32b)]();Array[_0x3eac2d(0x382)](_0x7606f5)&&_0x7606f5['length']>0x0&&this[_0x3eac2d(0x37e)](_0x7606f5);}['_toggleOffline'](){const _0x1505e2=_0x4b1c64;this[_0x1505e2(0x371)]=!0x1;}};_0x50b416=_0x4e4682([_0x7f9213(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x7f9213(0x3,_0x29c4b3['Inject'](_0x51f35b)),_0x7f9213(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['MemberService'])),_0x7f9213(0x5,_0x29c4b3[_0x4b1c64(0x247)](_0x4aa5f2)),_0x7f9213(0x6,_0x53c7bc[_0x4b1c64(0x19d)]),_0x7f9213(0x7,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x7f9213(0x8,_0x29c4b3[_0x4b1c64(0x20d)])],_0x50b416);var _0x4fab1f=Object[_0x4b1c64(0x39e)],_0x221485=(_0x1ea88f,_0x20743e,_0x5b8874,_0xf37b4f)=>{for(var _0xe6cacd=_0xf37b4f>0x1?void 0x0:_0xf37b4f?_0x4fab1f(_0x20743e,_0x5b8874):_0x20743e,_0x24dad5=_0x1ea88f['length']-0x1,_0xdb446c;_0x24dad5>=0x0;_0x24dad5--)(_0xdb446c=_0x1ea88f[_0x24dad5])&&(_0xe6cacd=_0xdb446c(_0xe6cacd)||_0xe6cacd);return _0xe6cacd;},_0x12fbe5=(_0x402460,_0xf2a970)=>(_0x3d2d7a,_0x32efea)=>_0xf2a970(_0x3d2d7a,_0x32efea,_0x402460);const _0x392b1c=0x12c,_0x527fc2=0x64,_0x48a1e8=()=>{let _0x314cc0=[],_0x299454=!0x1;return _0x13e4d1=>{const _0x1ed965=_0x3c28;_0x314cc0[_0x1ed965(0x261)](_0x13e4d1),_0x299454||(_0x299454=!0x0,setTimeout(()=>{const _0x37546e=_0x1ed965;_0x314cc0[_0x37546e(0x39a)](_0x57d2b5=>_0x57d2b5()),_0x314cc0=[],_0x299454=!0x1;}));};};let _0x2124e7=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x18e04a,_0x462634,_0xf61439,_0x41798a,_0x41b755,_0x39331b,_0x375e69,_0x13c912){const _0x5e245b=_0x4b1c64;super(),_0x593db2(this,_0x5e245b(0x371),!0x1),_0x593db2(this,_0x5e245b(0x3b8),!0x1),_0x593db2(this,_0x5e245b(0x173),new _0x5cdc95[(_0x5e245b(0x2b8))](new Map())),_0x593db2(this,_0x5e245b(0x235),this[_0x5e245b(0x173)]['asObservable']()),_0x593db2(this,_0x5e245b(0x2b0),new _0x5cdc95['BehaviorSubject']([])),_0x593db2(this,_0x5e245b(0x356),this[_0x5e245b(0x2b0)]['pipe'](_0x5cdc95['debounceTime'](_0x392b1c))),_0x593db2(this,'_updateLocalCursor',_0x29c4b3[_0x5e245b(0x140)]((_0xa49539,_0x2e6831)=>{const _0x194a3a=_0x5e245b,_0x19c743={'eventID':_0x53c7bc[_0x194a3a(0x238)][_0x194a3a(0x32d)],'data':{'unitID':this[_0x194a3a(0x12e)],'memberID':this['_session'][_0x194a3a(0x353)](),'selection':_0x4f63e7['serializeRangeWithSheet'](_0xa49539,_0x2e6831[_0x194a3a(0x16f)])}};this[_0x194a3a(0x1db)][_0x194a3a(0x187)](_0x19c743,this[_0x194a3a(0x12e)]);},_0x527fc2)),(this[_0x5e245b(0x12e)]=_0x18e04a,this['_session']=_0x462634,this[_0x5e245b(0x196)]=_0xf61439,this[_0x5e245b(0x390)]=_0x41798a,this[_0x5e245b(0x233)]=_0x41b755,this[_0x5e245b(0x1e2)]=_0x39331b,this['_commandService']=_0x375e69,this[_0x5e245b(0x16d)]=_0x13c912);}get[_0x4b1c64(0x273)](){const _0xec7038=_0x4b1c64;return this[_0xec7038(0x173)][_0xec7038(0x2ae)]();}get[_0x4b1c64(0x38a)](){const _0x249e1b=_0x4b1c64;return this['_roomMembers$'][_0x249e1b(0x2ae)]();}['dispose'](){const _0x182527=_0x4b1c64;super['dispose'](),this[_0x182527(0x173)]['next'](new Map()),this[_0x182527(0x173)]['complete'](),this[_0x182527(0x2b0)][_0x182527(0x2d4)]([]),this['_roomMembers$'][_0x182527(0x255)]();}[_0x4b1c64(0x349)](){const _0x1b0db3=_0x4b1c64;this[_0x1b0db3(0x3b8)]||(this[_0x1b0db3(0x3b8)]=!0x0,this['_session'][_0x1b0db3(0x31b)]['pipe'](_0x5cdc95[_0x1b0db3(0x335)](this[_0x1b0db3(0x27d)]))['subscribe'](_0x1be622=>{const _0x27219c=_0x1b0db3;_0x1be622===_0xf9b925[_0x27219c(0x29a)][_0x27219c(0x15e)]?this[_0x27219c(0x127)]():this[_0x27219c(0x156)]();}),this[_0x1b0db3(0x1db)][_0x1b0db3(0x1dd)][_0x1b0db3(0x37f)](_0x5cdc95[_0x1b0db3(0x335)](this[_0x1b0db3(0x27d)]))[_0x1b0db3(0x1d5)](_0x2bc89d=>{const _0x1ada97=_0x1b0db3,_0x4e95db=_0x2bc89d['eventID'];_0x4e95db===_0x53c7bc[_0x1ada97(0x238)]['UPDATE_CURSOR']&&this[_0x1ada97(0x1e0)](_0x2bc89d),_0x4e95db===_0x53c7bc[_0x1ada97(0x238)][_0x1ada97(0x304)]&&this['_onCursorDelete'](_0x2bc89d);}),this[_0x1b0db3(0x2ed)](),this[_0x1b0db3(0x1ad)](this[_0x1b0db3(0x3a7)][_0x1b0db3(0x30b)](_0x359ab4=>{const _0x47a6b2=_0x1b0db3;if(this['_online']&&_0x359ab4['id']===_0x9b20c5[_0x47a6b2(0x34a)]['id']&&_0x359ab4[_0x47a6b2(0x1b4)]['unitId']===this[_0x47a6b2(0x12e)]){const _0x2e6f3f=_0x359ab4[_0x47a6b2(0x1b4)];this[_0x47a6b2(0x37e)](_0x2e6f3f[_0x47a6b2(0x336)],_0x2e6f3f[_0x47a6b2(0x27b)][0x0]);}})));}[_0x4b1c64(0x1e0)](_0x2692ca){const _0x14095f=_0x4b1c64;var _0xd1477c,_0x4ee281;const {memberID:_0x2accc3,selection:_0x9cbee7}=_0x2692ca[_0x14095f(0x2dd)],{sheetName:_0x336033,range:_0xd94b2e}=_0x4f63e7['deserializeRangeWithSheet'](_0x9cbee7),_0x3d2755={'name':(_0x4ee281=(_0xd1477c=this[_0x14095f(0x233)][_0x14095f(0x2fa)](this[_0x14095f(0x12e)],_0x2accc3))==null?void 0x0:_0xd1477c[_0x14095f(0x123)])!=null?_0x4ee281:'Unknown\x20user','range':this[_0x14095f(0x24c)](_0x336033,_0xd94b2e),'sheetID':_0x336033,'color':this['_colorAssignService'][_0x14095f(0x392)](_0x2accc3),'selection':_0x9cbee7},_0x5194e8=this['cursorInfo'];_0x5194e8[_0x14095f(0x340)](_0x2accc3,_0x3d2755),this[_0x14095f(0x173)]['next'](_0x5194e8);}[_0x4b1c64(0x2ab)](_0x202a70){const _0x2e1fec=_0x4b1c64,{memberID:_0xe809e5}=_0x202a70[_0x2e1fec(0x2dd)],_0x1abccf=this[_0x2e1fec(0x273)];_0x1abccf[_0x2e1fec(0x138)](_0xe809e5),this['_cursorInfo$'][_0x2e1fec(0x2d4)](_0x1abccf);}['_getMergeRange'](_0x5c0bb0,_0x4bae10){const _0x34d5bc=_0x4b1c64;var _0x167c74,_0x91f96f;const _0x2e3d01=(_0x91f96f=(_0x167c74=this['_univerInstanceService'][_0x34d5bc(0x19a)](this[_0x34d5bc(0x12e)]))==null?void 0x0:_0x167c74[_0x34d5bc(0x2f8)](_0x5c0bb0))==null?void 0x0:_0x91f96f[_0x34d5bc(0x13e)]();return(_0x2e3d01==null?void 0x0:_0x2e3d01[_0x34d5bc(0x131)](_0x3d3791=>_0x29c4b3[_0x34d5bc(0x1c8)]['contains'](_0x3d3791,_0x4bae10)))||_0x4bae10;}[_0x4b1c64(0x2ed)](){const _0x1e6364=_0x4b1c64,_0xfdbb9=new _0x29c4b3[(_0x1e6364(0x299))](),_0x226707=_0x48a1e8(),_0x3abb30=()=>{const _0x4a9ee9=_0x1e6364;_0xfdbb9[_0x4a9ee9(0x1d7)]();const _0x4aad26=(_0x315f50,_0x403010,_0x250692,_0x327532)=>{const _0x2bed65=_0x4a9ee9;let _0x360a11=[];switch(_0x315f50['id']){case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x1c6)]:{_0x360a11=_0x9b20c5[_0x2bed65(0x394)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['DeleteRangeMoveUpCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x249)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['InsertColCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x1b5)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x222)]:{_0x360a11=_0x9b20c5['handleInsertRangeMoveDown'](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['InsertRangeMoveRightCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x37a)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x210)]:{_0x360a11=_0x9b20c5[_0x2bed65(0x12d)](_0x315f50,_0x327532);break;}case _0x9b20c5['EffectRefRangId'][_0x2bed65(0x1f1)]:{_0x360a11=_0x9b20c5['handleMoveRange'](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x242)]:{_0x360a11=_0x9b20c5['handleIRemoveCol'](_0x315f50,_0x327532);break;}case _0x9b20c5['EffectRefRangId']['RemoveRowCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x366)](_0x315f50,_0x327532);break;}}const _0x228db9=_0x9b20c5['runRefRangeMutations'](_0x360a11,_0x327532),_0x1a786a=this[_0x2bed65(0x273)][_0x2bed65(0x269)](_0x403010);if(_0x1a786a&&_0x228db9){const _0x2af6e4={..._0x1a786a,'range':_0x228db9};this[_0x2bed65(0x273)]['set'](_0x403010,_0x2af6e4),_0x226707(()=>{const _0x14f47d=_0x2bed65,_0x24e611=this['_refRangeService'][_0x14f47d(0x2f6)](_0x228db9,_0x838311=>(_0x24e611['dispose'](),_0x4aad26(_0x838311,_0x403010,_0x250692,_0x228db9)));_0xfdbb9[_0x14f47d(0x12f)](_0x24e611);});}return{'redos':[],'undos':[]};};this[_0x4a9ee9(0x273)][_0x4a9ee9(0x39a)]((_0x352601,_0x52083f)=>{const _0x1a32b7=_0x4a9ee9,{range:_0x58072c,sheetID:_0x55b18a}=_0x352601,_0x3f4dac=this['_refRangeService'][_0x1a32b7(0x2f6)](_0x58072c,_0x50eeaf=>(_0x3f4dac[_0x1a32b7(0x1d7)](),_0x4aad26(_0x50eeaf,_0x52083f,_0x55b18a,_0x58072c)));_0xfdbb9[_0x1a32b7(0x12f)](_0x3f4dac);});};this[_0x1e6364(0x1ad)](_0x29c4b3[_0x1e6364(0x1ed)](this[_0x1e6364(0x173)][_0x1e6364(0x1d5)](()=>{_0x3abb30();})));}[_0x4b1c64(0x127)](){const _0x5a6a71=_0x4b1c64;var _0x5dbe1b,_0x5cc4d0;if(this[_0x5a6a71(0x371)]=!0x0,((_0x5dbe1b=this[_0x5a6a71(0x1e2)][_0x5a6a71(0x1f3)]())==null?void 0x0:_0x5dbe1b[_0x5a6a71(0x14a)]())!==this[_0x5a6a71(0x12e)])return;const _0x414294=(_0x5cc4d0=this[_0x5a6a71(0x196)]['get'](_0x9b20c5[_0x5a6a71(0x3b3)])[_0x5a6a71(0x395)]())==null?void 0x0:_0x5cc4d0[0x0],_0x345d80=this[_0x5a6a71(0x1e2)][_0x5a6a71(0x25e)](_0x29c4b3['UniverInstanceType'][_0x5a6a71(0x2cd)])[_0x5a6a71(0x18b)]();_0x414294&&_0x345d80&&this[_0x5a6a71(0x37e)](_0x345d80[_0x5a6a71(0x130)](),_0x414294);}[_0x4b1c64(0x156)](){const _0x28073b=_0x4b1c64;this[_0x28073b(0x371)]=!0x1;}};_0x2124e7=_0x221485([_0x12fbe5(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x12fbe5(0x3,_0x29c4b3['Inject'](_0x51f35b)),_0x12fbe5(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['MemberService'])),_0x12fbe5(0x5,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x12fbe5(0x6,_0x29c4b3[_0x4b1c64(0x20d)]),_0x12fbe5(0x7,_0x29c4b3[_0x4b1c64(0x247)](_0x9b20c5[_0x4b1c64(0x188)]))],_0x2124e7);var _0x26f588=Object[_0x4b1c64(0x39e)],_0x326915=(_0x38afe7,_0x1c9f7c,_0x506151,_0x31662a)=>{const _0x3ea180=_0x4b1c64;for(var _0xb6ccfa=_0x31662a>0x1?void 0x0:_0x31662a?_0x26f588(_0x1c9f7c,_0x506151):_0x1c9f7c,_0x1de5fd=_0x38afe7[_0x3ea180(0x3ab)]-0x1,_0x592ae2;_0x1de5fd>=0x0;_0x1de5fd--)(_0x592ae2=_0x38afe7[_0x1de5fd])&&(_0xb6ccfa=_0x592ae2(_0xb6ccfa)||_0xb6ccfa);return _0xb6ccfa;},_0x2a802c=(_0x1fcdb6,_0x29d7fb)=>(_0x4ef971,_0x453d62)=>_0x29d7fb(_0x4ef971,_0x453d62,_0x1fcdb6);let _0x596c91=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x3cf7b6,_0x24f63f,_0x9c6d9d){const _0x46abc4=_0x4b1c64;super(),_0x593db2(this,_0x46abc4(0x28e),new Map()),_0x593db2(this,_0x46abc4(0x291),new _0x5cdc95[(_0x46abc4(0x2df))]()),(this[_0x46abc4(0x1e2)]=_0x3cf7b6,this[_0x46abc4(0x196)]=_0x24f63f,this['_collabSessionService']=_0x9c6d9d,this[_0x46abc4(0x3b8)]());}[_0x4b1c64(0x1d7)](){const _0x587ced=_0x4b1c64;super[_0x587ced(0x1d7)](),this[_0x587ced(0x291)][_0x587ced(0x255)](),this[_0x587ced(0x28e)][_0x587ced(0x39a)](_0x1e3ddb=>_0x1e3ddb[_0x587ced(0x1d7)]());}[_0x4b1c64(0x17b)](_0x482866){const _0x563b35=_0x4b1c64;return this['_entities']['has'](_0x482866)?this[_0x563b35(0x28e)][_0x563b35(0x269)](_0x482866)[_0x563b35(0x235)]:this[_0x563b35(0x291)][_0x563b35(0x37f)](_0x5cdc95[_0x563b35(0x12a)](_0xaff7e6=>_0xaff7e6['unitID']===_0x482866),_0x5cdc95[_0x563b35(0x225)](_0x6ebdce=>_0x6ebdce[_0x563b35(0x235)]));}[_0x4b1c64(0x3b8)](){const _0x4f7516=_0x4b1c64;this[_0x4f7516(0x1e2)][_0x4f7516(0x2f5)](_0x29c4b3[_0x4f7516(0x2d0)]['UNIVER_SHEET'])[_0x4f7516(0x37f)](_0x5cdc95['takeUntil'](this[_0x4f7516(0x27d)]))[_0x4f7516(0x1d5)](async _0x2f5553=>{const _0x2dba4d=_0x4f7516,_0x5a2d6c=_0x2f5553['getUnitId'](),_0x33b39c=await this[_0x2dba4d(0x174)](_0x5a2d6c);this[_0x2dba4d(0x291)][_0x2dba4d(0x2d4)](_0x33b39c),this[_0x2dba4d(0x28e)]['set'](_0x5a2d6c,_0x33b39c);}),this[_0x4f7516(0x1e2)][_0x4f7516(0x2f5)](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x313)])[_0x4f7516(0x37f)](_0x5cdc95[_0x4f7516(0x335)](this[_0x4f7516(0x27d)]))['pipe'](_0x5cdc95[_0x4f7516(0x12a)](_0xd15302=>!_0xd15302['getUnitId']()[_0x4f7516(0x22a)]('__')))[_0x4f7516(0x1d5)](async _0x5107d6=>{const _0x3b029c=_0x4f7516,_0x398592=_0x5107d6[_0x3b029c(0x14a)](),_0x2fe146=await this[_0x3b029c(0x320)](_0x398592);this[_0x3b029c(0x291)][_0x3b029c(0x2d4)](_0x2fe146),this['_entities'][_0x3b029c(0x340)](_0x398592,_0x2fe146);}),_0x5cdc95['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x313)]),this[_0x4f7516(0x1e2)][_0x4f7516(0x323)](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x2cd)]))[_0x4f7516(0x37f)](_0x5cdc95['takeUntil'](this['dispose$']))[_0x4f7516(0x1d5)](_0x597c49=>{const _0x13590a=_0x4f7516,_0x51bc27=_0x597c49[_0x13590a(0x14a)](),_0x57993a=this[_0x13590a(0x28e)][_0x13590a(0x269)](_0x51bc27);_0x57993a&&(_0x57993a[_0x13590a(0x1d7)](),this[_0x13590a(0x28e)][_0x13590a(0x138)](_0x51bc27));});}async[_0x4b1c64(0x174)](_0x278051){const _0x1e463e=_0x4b1c64,_0x6d40fb=await this['_collabSessionService'][_0x1e463e(0x2bd)](_0x278051),_0x528518=this[_0x1e463e(0x196)][_0x1e463e(0x397)](_0x2124e7,_0x278051,_0x6d40fb);return _0x528518[_0x1e463e(0x349)](),_0x528518;}async['_startDocCollabCursor'](_0x139b37){const _0x3491fc=_0x4b1c64,_0x54ac3f=await this[_0x3491fc(0x2a6)][_0x3491fc(0x2bd)](_0x139b37),_0x11a219=this[_0x3491fc(0x196)][_0x3491fc(0x397)](_0x50b416,_0x139b37,_0x54ac3f);return _0x11a219[_0x3491fc(0x349)](),_0x11a219;}};_0x596c91=_0x326915([_0x2a802c(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x2a802c(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x2a802c(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['CollaborationSessionService']))],_0x596c91);const _0x2c6fcf=0x14,_0x212c78=0xc8,_0x1c5848=0x4,_0x3fbb3e=0x5;function _0x17e089(_0x496220,_0x37a57e){const _0x2337aa=_0x4b1c64;let {radius:_0x21a02c,width:_0x4950d6,height:_0x21334d}=_0x37a57e;_0x21a02c=_0x21a02c!=null?_0x21a02c:0x0,_0x4950d6=_0x4950d6!=null?_0x4950d6:0x1e,_0x21334d=_0x21334d!=null?_0x21334d:0x1e;let _0x30fd4f=0x0,_0x427d01=0x0,_0x582691=0x0;_0x30fd4f=_0x427d01=_0x582691=Math['min'](_0x21a02c,_0x4950d6/0x2,_0x21334d/0x2),_0x496220[_0x2337aa(0x21c)](),_0x496220[_0x2337aa(0x309)](_0x30fd4f,0x0),_0x496220[_0x2337aa(0x399)](_0x4950d6-_0x427d01,0x0),_0x496220['arc'](_0x4950d6-_0x427d01,_0x427d01,_0x427d01,Math['PI']*0x3/0x2,0x0,!0x1),_0x496220['lineTo'](_0x4950d6,_0x21334d-_0x582691),_0x496220[_0x2337aa(0x2ac)](_0x4950d6-_0x582691,_0x21334d-_0x582691,_0x582691,0x0,Math['PI']/0x2,!0x1),_0x496220[_0x2337aa(0x399)](0x0,_0x21334d),_0x496220['lineTo'](0x0,_0x30fd4f),_0x496220[_0x2337aa(0x2ac)](_0x30fd4f,_0x30fd4f,_0x30fd4f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x496220[_0x2337aa(0x1cd)](),_0x37a57e['fill']&&(_0x496220[_0x2337aa(0x3b9)](),_0x496220[_0x2337aa(0x34c)]=_0x37a57e[_0x2337aa(0x27c)],_0x37a57e[_0x2337aa(0x19c)]===_0x2337aa(0x199)?_0x496220[_0x2337aa(0x27c)](_0x2337aa(0x199)):_0x496220[_0x2337aa(0x27c)](),_0x496220['restore']());}class _0x26062f extends _0x12e223[_0x4b1c64(0x324)]{constructor(_0x403543,_0x19d75f){const _0x30a31a=_0x4b1c64;super(_0x403543,_0x19d75f),_0x593db2(this,'color'),_0x593db2(this,_0x30a31a(0x176)),(this[_0x30a31a(0x39b)]=_0x19d75f==null?void 0x0:_0x19d75f[_0x30a31a(0x39b)],this[_0x30a31a(0x176)]=_0x19d75f==null?void 0x0:_0x19d75f['text']);}static[_0x4b1c64(0x270)](_0x3ee447,_0x246b32){const _0x50835a=_0x4b1c64,{text:_0x4d0059,color:_0x4ad219}=_0x246b32;_0x3ee447['save'](),_0x3ee447[_0x50835a(0x2b9)]=_0x50835a(0x22d);const _0x333948=_0x3ee447[_0x50835a(0x1f6)](_0x4d0059)['width'],_0xbc6c9d=Math[_0x50835a(0x2e0)](_0x333948+0x2*_0x1c5848,_0x212c78);_0x17e089(_0x3ee447,{'height':_0x2c6fcf,'radius':0x4,'width':_0xbc6c9d,'fill':_0x4ad219}),_0x3ee447['fillStyle']='#FFF';const _0x15ba0f=_0x1c5848,_0x192177=_0x2c6fcf-_0x3fbb3e,_0x52fdb1=_0x212c78-0x2*_0x1c5848;if(_0x333948>_0x52fdb1){let _0x550430='',_0x31cfb7=0x0;for(const _0x492f96 of _0x4d0059){const _0x7f4c93=_0x3ee447[_0x50835a(0x1f6)](_0x492f96)[_0x50835a(0x332)];if(_0x31cfb7+_0x7f4c93<=_0x52fdb1-_0x3ee447[_0x50835a(0x1f6)]('...')[_0x50835a(0x332)])_0x550430+=_0x492f96,_0x31cfb7+=_0x7f4c93;else{_0x550430+=_0x50835a(0x2c9);break;}}_0x3ee447['fillText'](_0x550430,_0x15ba0f,_0x192177);}else _0x3ee447[_0x50835a(0x317)](_0x4d0059,_0x15ba0f,_0x192177);_0x3ee447[_0x50835a(0x37b)]();}['_draw'](_0x2d288d){const _0x4dd235=_0x4b1c64;_0x26062f[_0x4dd235(0x270)](_0x2d288d,this);}}const _0x216d29=_0x4b1c64(0x364),_0x1a9726=_0x4b1c64(0x197),_0x390364=_0x4b1c64(0x387),_0x1a4494=0x6,_0x378239=1.5,_0xc38da3=0x4,_0x493157=1.5,_0x28e5a0=_0x4b1c64(0x25c);class _0x14fa06{constructor(_0x3f32f6,_0x5460ff,_0x1b68f2,_0x5a2c91){const _0xc46fdb=_0x4b1c64;_0x593db2(this,_0xc46fdb(0x287),[]),_0x593db2(this,_0xc46fdb(0x146),null),_0x593db2(this,'_textBubble',null),_0x593db2(this,_0xc46fdb(0x1bb),null),_0x593db2(this,'_hideTimer',null),_0x593db2(this,_0xc46fdb(0x276),null),(this[_0xc46fdb(0x280)]=_0x3f32f6,this[_0xc46fdb(0x2e6)]=_0x5460ff,this['_docSkeleton']=_0x1b68f2,this[_0xc46fdb(0x32e)]=_0x5a2c91,this['_render']());}set[_0x4b1c64(0x216)](_0x13f672){const _0x2baab3=_0x4b1c64;_0x13f672?(this[_0x2baab3(0x1bb)]&&this[_0x2baab3(0x1bb)][_0x2baab3(0x31c)](),this[_0x2baab3(0x2c0)]&&this[_0x2baab3(0x2c0)][_0x2baab3(0x155)]()):(this[_0x2baab3(0x1bb)]&&this[_0x2baab3(0x1bb)][_0x2baab3(0x155)](),this['_textBubble']&&this[_0x2baab3(0x2c0)][_0x2baab3(0x31c)]());}[_0x4b1c64(0x1d7)](){const _0x28fc5f=_0x4b1c64;for(const _0x5e01fe of this[_0x28fc5f(0x287)])_0x5e01fe['dispose']();this[_0x28fc5f(0x2c0)]&&this['_textBubble'][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x1bb)]&&this['_anchorDot'][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x146)]&&this[_0x28fc5f(0x146)][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x276)]&&this[_0x28fc5f(0x276)]();}['_render'](){const _0x1fcf17=_0x4b1c64;var _0x500f43;const {_docSkeleton:_0x1edaca,_document:_0x1af07b}=this,{color:_0x4e03d9,name:_0x471649,ranges:_0x133b96}=this[_0x1fcf17(0x280)],_0x2c4091=_0x1af07b['getOffsetConfig'](),{docsLeft:_0x1e363c,docsTop:_0x450c10}=_0x2c4091,_0x346031=new _0x2496d8['NodePositionConvertToCursor'](_0x2c4091,_0x1edaca);for(const {startOffset:_0x59f31d,endOffset:_0x6a0e96,rangeType:_0x4f6aa4,segmentId:_0x3c1106,segmentPage:_0x34f09e,collapsed:_0x54a78c,isActive:_0x2210d3}of _0x133b96){const _0x1b49d4=_0x1edaca[_0x1fcf17(0x39d)](_0x59f31d,!0x0,_0x3c1106,_0x34f09e);let _0x5c6552=_0x1edaca[_0x1fcf17(0x39d)](_0x6a0e96,!0x0,_0x3c1106,_0x34f09e);if(_0x5c6552==null&&(_0x5c6552=_0x1edaca['findNodePositionByCharIndex'](_0x6a0e96-0x1,!0x1,_0x3c1106,_0x34f09e)),_0x2210d3){const {contentBoxPointGroup:_0xf893be}=_0x346031[_0x1fcf17(0x288)](_0x5c6552,_0x5c6552);if(_0xf893be[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x1a5)](_0x4e03d9,_0xf893be,_0x1e363c,_0x450c10,_0x471649),this[_0x1fcf17(0x276)]=this[_0x1fcf17(0x3a0)]();}if(_0x1b49d4&&_0x5c6552){if(_0x4f6aa4===_0x29c4b3[_0x1fcf17(0x315)][_0x1fcf17(0x26a)]){const _0x1bd807=new _0x2496d8[(_0x1fcf17(0x1e1))](_0x2c4091,_0x1edaca),{pointGroup:_0x6e1019}=(_0x500f43=_0x1bd807[_0x1fcf17(0x288)](_0x1b49d4,_0x5c6552))!=null?_0x500f43:{};if(_0x6e1019==null||_0x6e1019[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x1d2)](_0x4e03d9,_0x6e1019,_0x1e363c,_0x450c10);}else{if(!_0x54a78c){const {borderBoxPointGroup:_0x4bf2cc}=_0x346031[_0x1fcf17(0x288)](_0x1b49d4,_0x5c6552);if(_0x4bf2cc[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x33a)](_0x4e03d9,_0x4bf2cc,_0x1e363c,_0x450c10);}}}}}['_drawAnchor'](_0xd27ff6,_0x217f41,_0x8c56ae,_0x13d8bb,_0x15c57b){const _0x15324f=_0x4b1c64,_0xc4c913=this[_0x15324f(0x1a6)](_0x217f41),{left:_0x426bec,top:_0x539cf7,height:_0x32b1b6}=_0xc4c913,_0x4bac59=this[_0x15324f(0x326)](),_0x270b94=_0x493157/_0x4bac59,_0xf4b47d=new _0x12e223[(_0x15324f(0x19e))](_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb,'height':_0x32b1b6,'width':_0x378239,'fill':_0xd27ff6||_0x12e223[_0x15324f(0x223)](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'strokeWidth':_0x270b94,'stroke':_0x28e5a0,'evented':!0x0});this['_anchor']=_0xf4b47d,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0xf4b47d,_0x2496d8[_0x15324f(0x1d9)]);const _0x2ce4f7=new _0x12e223[(_0x15324f(0x19e))](_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb-_0xc38da3/0x2,'height':_0xc38da3,'width':_0xc38da3,'fill':_0xd27ff6||_0x12e223[_0x15324f(0x223)](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'strokeWidth':0x0,'stroke':_0xd27ff6||_0x12e223['getColor'](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'evented':!0x1});this[_0x15324f(0x1bb)]=_0x2ce4f7,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0x2ce4f7,_0x2496d8[_0x15324f(0x1d9)]);const _0x3cdd54=new _0x26062f(_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb-_0x2c6fcf,'text':_0x15c57b,'color':_0xd27ff6});this[_0x15324f(0x2c0)]=_0x3cdd54,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0x3cdd54,_0x2496d8[_0x15324f(0x1d9)]),this[_0x15324f(0x216)]=!0x1;}['_handleHover'](){const _0x3052f0=_0x4b1c64,_0x2df218=this[_0x3052f0(0x146)][_0x3052f0(0x125)]['subscribeEvent'](()=>{const _0x56e35b=_0x3052f0;this[_0x56e35b(0x216)]=!0x0;}),_0x2f222f=this[_0x3052f0(0x146)][_0x3052f0(0x24e)][_0x3052f0(0x13c)](()=>{const _0x216493=_0x3052f0;this[_0x216493(0x230)]&&clearTimeout(this[_0x216493(0x230)]),this[_0x216493(0x230)]=setTimeout(()=>{const _0x195a57=_0x216493;this[_0x195a57(0x216)]=!0x1;},0x7d0);});return()=>{const _0x46e81a=_0x3052f0;_0x2df218[_0x46e81a(0x1a4)](),_0x2f222f['unsubscribe']();};}['_drawTextRange'](_0x60140d,_0x364e4c,_0x39e164,_0x351405){const _0x583d5f=_0x4b1c64,_0xa94d59=new _0x29c4b3[(_0x583d5f(0x21e))](_0x60140d)['setAlpha'](0.2)[_0x583d5f(0x2b6)](),_0x1fecb8=new _0x12e223[(_0x583d5f(0x36a))](_0x1a9726+_0x29c4b3['Tools']['generateRandomId'](_0x1a4494),{'pointsGroup':_0x364e4c,'fill':_0xa94d59||_0x12e223[_0x583d5f(0x223)](_0x29c4b3[_0x583d5f(0x161)][_0x583d5f(0x20a)],0.2),'left':_0x39e164,'top':_0x351405,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x583d5f(0x287)]['push'](_0x1fecb8),this[_0x583d5f(0x2e6)]['addObject'](_0x1fecb8,_0x2496d8[_0x583d5f(0x1d9)]);}[_0x4b1c64(0x1d2)](_0x4f283e,_0x41ecbf,_0x495f5e,_0x5aa06d){const _0x164abe=_0x4b1c64,_0x5c3b6a=new _0x29c4b3['ColorKit'](_0x4f283e)[_0x164abe(0x388)](0.2)[_0x164abe(0x2b6)](),_0x9544e1=new _0x12e223['RegularPolygon'](_0x390364+_0x29c4b3[_0x164abe(0x256)][_0x164abe(0x275)](_0x1a4494),{'pointsGroup':_0x41ecbf,'fill':_0x5c3b6a||_0x12e223[_0x164abe(0x223)](_0x29c4b3[_0x164abe(0x161)]['black'],0.2),'left':_0x495f5e,'top':_0x5aa06d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x164abe(0x261)](_0x9544e1),this[_0x164abe(0x2e6)][_0x164abe(0x1bd)](_0x9544e1,_0x2496d8[_0x164abe(0x1d9)]);}[_0x4b1c64(0x1a6)](_0x1e1229){const _0x432838=_0x1e1229[0x0],_0x5ef3d4=_0x432838[0x0],_0xcc0d41=_0x432838[0x2],{x:_0xd3e843,y:_0x2ef559}=_0x5ef3d4,{x:_0x2dce3b,y:_0x43ce5f}=_0xcc0d41;return{'left':_0xd3e843,'top':_0x2ef559,'width':_0x2dce3b-_0xd3e843,'height':_0x43ce5f-_0x2ef559};}[_0x4b1c64(0x326)](){const _0x1dca62=_0x4b1c64,{scaleX:_0xc323e7,scaleY:_0x38787d}=this[_0x1dca62(0x2e6)][_0x1dca62(0x348)]();return Math[_0x1dca62(0x20c)](_0xc323e7,_0x38787d);}}var _0x30d7ff=Object['getOwnPropertyDescriptor'],_0x5ab057=(_0x3f6fb6,_0x1791c5,_0x592588,_0x15a6d5)=>{const _0x1f67e1=_0x4b1c64;for(var _0x4456cb=_0x15a6d5>0x1?void 0x0:_0x15a6d5?_0x30d7ff(_0x1791c5,_0x592588):_0x1791c5,_0x3972ef=_0x3f6fb6[_0x1f67e1(0x3ab)]-0x1,_0x4c2a64;_0x3972ef>=0x0;_0x3972ef--)(_0x4c2a64=_0x3f6fb6[_0x3972ef])&&(_0x4456cb=_0x4c2a64(_0x4456cb)||_0x4456cb);return _0x4456cb;},_0x1f62ac=(_0x55bcd4,_0x2818d4)=>(_0x2a8fe0,_0x2a2f31)=>_0x2818d4(_0x2a8fe0,_0x2a2f31,_0x55bcd4);let _0x230362=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x4098e7,_0x3d6359,_0xec8815,_0x405bb2,_0x2460d5){const _0x4b154d=_0x4b1c64;super(),_0x593db2(this,_0x4b154d(0x139),[]),_0x593db2(this,'_cursors',[]),(this[_0x4b154d(0x2aa)]=_0x4098e7,this[_0x4b154d(0x3b7)]=_0x3d6359,this[_0x4b154d(0x396)]=_0xec8815,this[_0x4b154d(0x3a7)]=_0x405bb2,this[_0x4b154d(0x208)]=_0x2460d5,this[_0x4b154d(0x3b8)]());}[_0x4b1c64(0x3b8)](){const _0x5b6dc5=_0x4b1c64,_0x2e5f97=this[_0x5b6dc5(0x2aa)][_0x5b6dc5(0x1b3)],_0x16bd18=this['_docSkeletonManagerService'];this[_0x5b6dc5(0x1ad)](_0x5cdc95[_0x5b6dc5(0x214)]([this[_0x5b6dc5(0x396)]['getCollabCursors$'](_0x2e5f97),this[_0x5b6dc5(0x208)]['currentTheme$']])[_0x5b6dc5(0x37f)](_0x2fb573['map'](([_0x41c088,_0x34b7c6])=>({'skeleton':_0x16bd18[_0x5b6dc5(0x28b)](),'cursors':[..._0x41c088['values']()][_0x5b6dc5(0x166)](_0x310c9c=>({..._0x310c9c,'color':_0x34b7c6[_0x310c9c[_0x5b6dc5(0x39b)]]}))})))['subscribe'](_0x577c81=>{const _0x84d46a=_0x5b6dc5;if(this['_removeCollabCursors'](),_0x577c81){const {skeleton:_0x2bf182,cursors:_0x2e8115}=_0x577c81;this[_0x84d46a(0x1d6)](_0x2bf182,_0x2e8115);}})),this[_0x5b6dc5(0x186)](),this[_0x5b6dc5(0x204)]();}['_updateCollabCursors'](_0x3aebaa,_0x2a24e7){const _0x54819c=_0x4b1c64,{scene:_0xc4fb33,mainComponent:_0x40fdab}=this[_0x54819c(0x2aa)],_0x5e0885=_0x2a24e7[_0x54819c(0x236)](_0x17c815=>new _0x14fa06(_0x17c815,_0xc4fb33,_0x3aebaa,_0x40fdab));this[_0x54819c(0x139)]=_0x5e0885,this[_0x54819c(0x29b)]=_0x2a24e7;}['_refreshCollabCursors'](){const _0x897c1c=_0x4b1c64;this[_0x897c1c(0x3ae)]();const {scene:_0x469320,mainComponent:_0x3283d1}=this['_context'],_0x1dc480=this[_0x897c1c(0x3b7)]['getSkeleton'](),_0x2a376c=this['_cursors'][_0x897c1c(0x236)](_0x5c9c5c=>new _0x14fa06(_0x5c9c5c,_0x469320,_0x1dc480,_0x3283d1));this[_0x897c1c(0x139)]=_0x2a376c;}[_0x4b1c64(0x3ae)](){const _0x2dc7f1=_0x4b1c64;this[_0x2dc7f1(0x139)][_0x2dc7f1(0x39a)](_0x3c1981=>_0x3c1981['dispose']()),this[_0x2dc7f1(0x139)]=[];}[_0x4b1c64(0x204)](){const _0x223e5f=_0x4b1c64,_0x473a13=[_0x2496d8[_0x223e5f(0x1c0)]['id']];this[_0x223e5f(0x1ad)](this[_0x223e5f(0x3a7)][_0x223e5f(0x30b)](_0x58b82e=>{const _0x100ae3=_0x223e5f;_0x473a13['includes'](_0x58b82e['id'])&&_0x58b82e[_0x100ae3(0x1b4)][_0x100ae3(0x1b3)]===this['_context'][_0x100ae3(0x1b3)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x272b35=_0x4b1c64;this[_0x272b35(0x1ad)](_0x29c4b3[_0x272b35(0x26f)](this[_0x272b35(0x2aa)][_0x272b35(0x170)]['onTransformChange$'])[_0x272b35(0x37f)](_0x2fb573[_0x272b35(0x12a)](_0xa1fce6=>_0xa1fce6[_0x272b35(0x34d)]===_0x12e223[_0x272b35(0x1b2)][_0x272b35(0x18d)]),_0x2fb573['throttleTime'](0x10))['subscribe'](()=>{const _0x4ae249=_0x272b35;this[_0x4ae249(0x380)]();}));}};_0x230362=_0x5ab057([_0x1f62ac(0x1,_0x29c4b3['Inject'](_0x1c550c[_0x4b1c64(0x15a)])),_0x1f62ac(0x2,_0x29c4b3['Inject'](_0x596c91)),_0x1f62ac(0x3,_0x29c4b3['ICommandService']),_0x1f62ac(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x1bc)]))],_0x230362);const _0x2df244=0x1,_0xb06a99=1.5;class _0x245ec7 extends _0x12e223[_0x4b1c64(0x324)]{constructor(_0x55332a,_0x45db8e){const _0x56551b=_0x4b1c64;super(_0x55332a,_0x45db8e),_0x593db2(this,_0x56551b(0x334)),_0x593db2(this,_0x56551b(0x2dc),!0x1),_0x593db2(this,_0x56551b(0x26c)),_0x593db2(this,'_name',''),_0x593db2(this,_0x56551b(0x23b),_0x56551b(0x217)),_0x593db2(this,_0x56551b(0x137)),(_0x45db8e&&this[_0x56551b(0x16b)](_0x45db8e),this['onPointerEnter$'][_0x56551b(0x13c)](()=>this[_0x56551b(0x16b)]({'hovered':!0x0})),this[_0x56551b(0x24e)][_0x56551b(0x13c)](()=>this[_0x56551b(0x16b)]({'hovered':!0x1})));}[_0x4b1c64(0x16b)](_0x23d971){const _0x8764d5=_0x4b1c64;var _0x38be30,_0x224829,_0x38e5f3,_0x84110d,_0x5c5984,_0x4e928a;this['_color']=(_0x38be30=_0x23d971[_0x8764d5(0x39b)])!=null?_0x38be30:this[_0x8764d5(0x334)],this[_0x8764d5(0x2dc)]=(_0x224829=_0x23d971[_0x8764d5(0x362)])!=null?_0x224829:this[_0x8764d5(0x2dc)],this[_0x8764d5(0x26c)]=(_0x38e5f3=_0x23d971[_0x8764d5(0x16f)])!=null?_0x38e5f3:this[_0x8764d5(0x26c)],this[_0x8764d5(0x2f2)]=(_0x84110d=_0x23d971[_0x8764d5(0x123)])!=null?_0x84110d:this[_0x8764d5(0x2f2)],this['_labelPosition']=(_0x5c5984=_0x23d971[_0x8764d5(0x2d7)])!=null?_0x5c5984:this[_0x8764d5(0x23b)],this[_0x8764d5(0x137)]=(_0x4e928a=_0x23d971['backgroundColor'])!=null?_0x4e928a:this[_0x8764d5(0x137)],this['transformByState']({'width':_0x23d971[_0x8764d5(0x332)],'height':_0x23d971['height']});}['onMouseMove'](_0x2da465){const _0x478c92=_0x4b1c64,{row:_0x2f6e13,column:_0x4a3093}=_0x2da465;if(_0x2f6e13>=this[_0x478c92(0x26c)]['startRow']&&_0x2f6e13<=this[_0x478c92(0x26c)][_0x478c92(0x373)]&&_0x4a3093>=this[_0x478c92(0x26c)][_0x478c92(0x38d)]&&_0x4a3093<=this['_range'][_0x478c92(0x14e)]){this[_0x478c92(0x16b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x3a8ee2){return!0x1;}['_draw'](_0x17739c){const _0x23d5ad=_0x4b1c64;_0x12e223[_0x23d5ad(0x19e)][_0x23d5ad(0x270)](_0x17739c,{'width':this[_0x23d5ad(0x332)],'height':this[_0x23d5ad(0x2be)],'strokeWidth':_0xb06a99,'stroke':this[_0x23d5ad(0x334)],'evented':!0x1,'fill':this[_0x23d5ad(0x137)]}),this['_hovered']&&(_0x17739c['save'](),_0x17739c[_0x23d5ad(0x311)](0x1,0x0,0x0,0x1,this[_0x23d5ad(0x332)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x26062f[_0x23d5ad(0x270)](_0x17739c,{'text':this[_0x23d5ad(0x2f2)],'color':this[_0x23d5ad(0x334)]}),_0x17739c[_0x23d5ad(0x37b)]());}}var _0x5f5467=Object['getOwnPropertyDescriptor'],_0x3a84f0=(_0x3a8c74,_0x428490,_0x23d520,_0x3180be)=>{const _0x5a23c0=_0x4b1c64;for(var _0x133be4=_0x3180be>0x1?void 0x0:_0x3180be?_0x5f5467(_0x428490,_0x23d520):_0x428490,_0x396655=_0x3a8c74[_0x5a23c0(0x3ab)]-0x1,_0x17d753;_0x396655>=0x0;_0x396655--)(_0x17d753=_0x3a8c74[_0x396655])&&(_0x133be4=_0x17d753(_0x133be4)||_0x133be4);return _0x133be4;},_0x3f7e90=(_0x40e0af,_0x1ff14d)=>(_0x4b629f,_0xdfcfb8)=>_0x1ff14d(_0x4b629f,_0xdfcfb8,_0x40e0af);const _0x898a27=0x1389;let _0x14c96b=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x55b5e7,_0x32d399,_0x5024c8,_0x12bad3){const _0x1bb00b=_0x4b1c64;super(),_0x593db2(this,_0x1bb00b(0x29b),new Set()),_0x593db2(this,_0x1bb00b(0x36c),null),(this[_0x1bb00b(0x2aa)]=_0x55b5e7,this[_0x1bb00b(0x296)]=_0x32d399,this['_collabCursorController']=_0x5024c8,this[_0x1bb00b(0x208)]=_0x12bad3,this[_0x1bb00b(0x3b8)]());}[_0x4b1c64(0x3b8)](){const _0x27b200=_0x4b1c64;this[_0x27b200(0x296)]['currentSkeleton$'][_0x27b200(0x37f)](_0x2fb573[_0x27b200(0x335)](this[_0x27b200(0x27d)]),_0x2fb573[_0x27b200(0x225)](_0x53a795=>{const _0x15c877=_0x27b200;if(_0x53a795){const _0x2c6e0a=_0x53a795['sheetId'];return _0x5cdc95[_0x15c877(0x214)](this[_0x15c877(0x396)][_0x15c877(0x17b)](this[_0x15c877(0x2aa)][_0x15c877(0x1b3)]),this[_0x15c877(0x208)][_0x15c877(0x153)])[_0x15c877(0x37f)](_0x2fb573['map'](([_0x1c5d24,_0x104daa])=>{const _0x31bfea=new Map();return _0x1c5d24['forEach']((_0x4b6cf,_0xb1f619)=>{const _0x3b6a2a=_0x3c28;if(_0x4b6cf[_0x3b6a2a(0x25d)]===_0x2c6e0a){const _0x13e1e3={..._0x4b6cf};_0x13e1e3['color']=_0x104daa[_0x4b6cf[_0x3b6a2a(0x39b)]],_0x31bfea['set'](_0xb1f619,_0x13e1e3);}}),{'skeleton':_0x53a795,'cursors':_0x31bfea};}));}return _0x5cdc95['of']({'skeleton':null,'cursors':new Map()});}))[_0x27b200(0x1d5)](({skeleton:_0x2442ca,cursors:_0x8dec1f})=>{const _0x362fb7=_0x27b200;this['_removeCollabCursors'](),_0x2442ca&&this[_0x362fb7(0x1d6)](_0x2442ca,_0x8dec1f);}),this[_0x27b200(0x296)]['currentSkeleton$'][_0x27b200(0x1d5)](_0xb33b6a=>{const _0x2c7d76=_0x27b200;if(_0xb33b6a==null)return;const {skeleton:_0x1d6c1f}=_0xb33b6a,{scene:_0x5126e1}=this[_0x2c7d76(0x2aa)];_0x5126e1['onPointerMove$'][_0x2c7d76(0x13c)](_0x29c4b3[_0x2c7d76(0x140)](_0xc86848=>{const _0xb418c3=_0x2c7d76;var _0x1b224e,_0x5b923f;const {offsetX:_0x2b6673,offsetY:_0x17d138}=_0xc86848,{x:_0x43c030,y:_0x1fadd3}=_0x5126e1[_0xb418c3(0x203)](_0x12e223[_0xb418c3(0x2c7)][_0xb418c3(0x2c3)]([_0x2b6673,_0x17d138])),{scaleX:_0x24f6d3,scaleY:_0x9b2aa7}=_0x5126e1[_0xb418c3(0x348)](),_0x90e621=_0x5126e1[_0xb418c3(0x3aa)](_0x12e223['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x3985ff=_0x5126e1[_0xb418c3(0x367)](_0x12e223[_0xb418c3(0x2c7)][_0xb418c3(0x2c3)]([_0x43c030,_0x1fadd3]),_0x90e621),_0x20bc3d=_0x1d6c1f[_0xb418c3(0x1f0)](_0x2b6673,_0x17d138,_0x24f6d3,_0x9b2aa7,_0x3985ff);((_0x1b224e=this[_0xb418c3(0x36c)])==null?void 0x0:_0x1b224e['column'])===_0x20bc3d[_0xb418c3(0x368)]&&((_0x5b923f=this['_lastPointer'])==null?void 0x0:_0x5b923f[_0xb418c3(0x3b0)])===_0x20bc3d[_0xb418c3(0x3b0)]||this[_0xb418c3(0x29b)]['forEach'](_0x3dd5ab=>{_0x3dd5ab['onMouseMove'](_0x20bc3d);});},0x64));});}[_0x4b1c64(0x1d6)](_0x32285c,_0x528c61){const _0x1b83ff=_0x4b1c64;var _0x49a4a4;const _0x3e99eb=(_0x49a4a4=this[_0x1b83ff(0x296)][_0x1b83ff(0x33d)]())==null?void 0x0:_0x49a4a4[_0x1b83ff(0x1c7)];if(!_0x3e99eb)return;const _0x4b5b3d=this[_0x1b83ff(0x1e6)]();if(!_0x4b5b3d)return;this['_cursors'][_0x1b83ff(0x39a)](_0x489bfb=>{const _0x41ac36=_0x1b83ff;_0x489bfb[_0x41ac36(0x2f4)]();});const {scene:_0x20b71f}=_0x4b5b3d,_0xc8dc18=_0x465696(Array[_0x1b83ff(0x1e5)](_0x528c61[_0x1b83ff(0x1a2)]()))[_0x1b83ff(0x236)](_0x124ebb=>{const _0x296a24=_0x1b83ff,{color:_0x49389c,range:_0x12149b,name:_0x36854e,selection:_0x30ae23,sheetID:_0x18553f}=_0x124ebb,{startColumn:_0x3602ad,startRow:_0xcf9e8a,endColumn:_0x351e76,endRow:_0x4a0bbf}=_0x12149b,_0x154b90=_0x41b6a4[_0x296a24(0x2d9)](_0xcf9e8a,_0x3602ad,_0x20b71f,_0x3e99eb),_0x3e9efc=_0x41b6a4[_0x296a24(0x2d9)](_0x4a0bbf,_0x351e76,_0x20b71f,_0x3e99eb),{columnHeaderHeightAndMarginTop:_0x40e08b}=_0x3e99eb,{startX:_0x4e45c8,startY:_0x146f65}=_0x154b90,{endX:_0x878584,endY:_0x350b0d}=_0x3e9efc,_0x425c79=_0x878584-_0x4e45c8,_0x503c2b=_0x350b0d-_0x146f65,_0x10d9d2={'labelPosition':_0x146f65-_0x40e08b>=_0x2c6fcf?_0x296a24(0x217):_0x296a24(0x232),'sheetID':_0x18553f,'range':_0x12149b,'color':_0x49389c,'name':_0x36854e,'selection':_0x30ae23,'left':_0x4e45c8,'top':_0x146f65,'width':_0x425c79,'height':_0x503c2b,'evented':!0x1,'zIndex':_0x898a27};return new _0x245ec7(_0x36854e,_0x10d9d2);});_0x20b71f[_0x1b83ff(0x33e)](_0xc8dc18,_0x2df244),this[_0x1b83ff(0x29b)]=new Set(_0xc8dc18);}[_0x4b1c64(0x3ae)](){const _0x50d862=_0x4b1c64;var _0x3509fc;(_0x3509fc=this[_0x50d862(0x29b)])==null||_0x3509fc[_0x50d862(0x39a)](_0x3fc8ed=>_0x3fc8ed[_0x50d862(0x1d7)]());}[_0x4b1c64(0x1e6)](){const _0x5b2633=_0x4b1c64;return _0x41b6a4[_0x5b2633(0x1fd)](this[_0x5b2633(0x2aa)]['unit'],this[_0x5b2633(0x2aa)]);}};_0x14c96b=_0x3a84f0([_0x3f7e90(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x41b6a4[_0x4b1c64(0x148)])),_0x3f7e90(0x2,_0x29c4b3['Inject'](_0x596c91)),_0x3f7e90(0x3,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x1bc)]))],_0x14c96b);function _0x465696(_0x27f205){const _0x2a023c=_0x4b1c64,_0x53ec26=new Map();return _0x27f205[_0x2a023c(0x39a)](_0x225e84=>{const _0x8981b4=_0x2a023c;if(_0x53ec26[_0x8981b4(0x14d)](_0x225e84['selection'])){const _0x190add=_0x53ec26[_0x8981b4(0x269)](_0x225e84[_0x8981b4(0x244)]);_0x190add['name']+=',\x20'+_0x225e84[_0x8981b4(0x123)];}else _0x53ec26['set'](_0x225e84[_0x8981b4(0x244)],_0x225e84);}),Array[_0x2a023c(0x1e5)](_0x53ec26[_0x2a023c(0x1a2)]());}var _0x43c967=function(){const _0x38d74c=_0x4b1c64;return _0x43c967=Object['assign']||function(_0xf3af95){const _0x197ad7=_0x3c28;for(var _0xa4f984,_0x4856a7=0x1,_0x3b4d9e=arguments[_0x197ad7(0x3ab)];_0x4856a7<_0x3b4d9e;_0x4856a7++){_0xa4f984=arguments[_0x4856a7];for(var _0x445e81 in _0xa4f984)Object[_0x197ad7(0x18a)][_0x197ad7(0x1e8)][_0x197ad7(0x192)](_0xa4f984,_0x445e81)&&(_0xf3af95[_0x445e81]=_0xa4f984[_0x445e81]);}return _0xf3af95;},_0x43c967[_0x38d74c(0x23a)](this,arguments);},_0x30c2b2=function(_0x6ee8e4,_0x14c2e9){const _0xbc9057=_0x4b1c64;var _0x5c9724={};for(var _0x643763 in _0x6ee8e4)Object['prototype']['hasOwnProperty'][_0xbc9057(0x192)](_0x6ee8e4,_0x643763)&&_0x14c2e9['indexOf'](_0x643763)<0x0&&(_0x5c9724[_0x643763]=_0x6ee8e4[_0x643763]);if(_0x6ee8e4!=null&&typeof Object['getOwnPropertySymbols']==_0xbc9057(0x1fb)){for(var _0x4d0b5a=0x0,_0x643763=Object['getOwnPropertySymbols'](_0x6ee8e4);_0x4d0b5a<_0x643763['length'];_0x4d0b5a++)_0x14c2e9[_0xbc9057(0x346)](_0x643763[_0x4d0b5a])<0x0&&Object[_0xbc9057(0x18a)][_0xbc9057(0x185)][_0xbc9057(0x192)](_0x6ee8e4,_0x643763[_0x4d0b5a])&&(_0x5c9724[_0x643763[_0x4d0b5a]]=_0x6ee8e4[_0x643763[_0x4d0b5a]]);}return _0x5c9724;},_0x53cf46=_0x442017[_0x4b1c64(0x339)](function(_0x3eef18,_0x68f04a){const _0x16d758=_0x4b1c64;var _0x427b16=_0x3eef18[_0x16d758(0x36e)],_0x45869c=_0x3eef18['id'],_0x375c89=_0x3eef18[_0x16d758(0x2ee)],_0x5af3e7=_0x3eef18[_0x16d758(0x34b)],_0x4f1dd2=_0x30c2b2(_0x3eef18,[_0x16d758(0x36e),'id',_0x16d758(0x2ee),_0x16d758(0x34b)]),_0x5ed624=_0x16d758(0x1b1)[_0x16d758(0x375)](_0x45869c,'\x20')['concat'](_0x375c89||'')[_0x16d758(0x2bb)](),_0x386f86=_0x442017['useRef']('_'[_0x16d758(0x375)](_0x30d2d4()));return _0x510583(_0x427b16,''[_0x16d758(0x375)](_0x45869c),{'defIds':_0x427b16[_0x16d758(0x128)],'idSuffix':_0x386f86[_0x16d758(0x37c)]},_0x43c967({'ref':_0x68f04a,'className':_0x5ed624},_0x4f1dd2),_0x5af3e7);});function _0x510583(_0x54ca49,_0x5a143e,_0x4f6625,_0x1f5ebb,_0x5473a4){const _0x12f3be=_0x4b1c64;return _0x442017['createElement'](_0x54ca49['tag'],_0x43c967(_0x43c967({'key':_0x5a143e},_0xc73807(_0x54ca49,_0x4f6625,_0x5473a4)),_0x1f5ebb),(_0x1be361(_0x54ca49,_0x4f6625)[_0x12f3be(0x16e)]||[])[_0x12f3be(0x236)](function(_0x574fb9,_0xce3534){const _0x4ac9b7=_0x12f3be;return _0x510583(_0x574fb9,''[_0x4ac9b7(0x375)](_0x5a143e,'-')[_0x4ac9b7(0x375)](_0x54ca49['tag'],'-')[_0x4ac9b7(0x375)](_0xce3534),_0x4f6625,void 0x0,_0x5473a4);}));}function _0xc73807(_0x5bd66c,_0x2b072f,_0x46b2d9){const _0x3e1fe6=_0x4b1c64;var _0x4dde68=_0x43c967({},_0x5bd66c[_0x3e1fe6(0x1df)]);_0x46b2d9!=null&&_0x46b2d9[_0x3e1fe6(0x2f7)]&&_0x4dde68[_0x3e1fe6(0x27c)]==='colorChannel1'&&(_0x4dde68['fill']=_0x46b2d9[_0x3e1fe6(0x2f7)]),_0x5bd66c[_0x3e1fe6(0x350)]===_0x3e1fe6(0x20b)&&_0x4dde68['id']&&(_0x4dde68['id']=_0x4dde68['id']+_0x2b072f[_0x3e1fe6(0x319)]),Object['entries'](_0x4dde68)[_0x3e1fe6(0x39a)](function(_0x49cec6){const _0x42996e=_0x3e1fe6;var _0x29209f=_0x49cec6[0x0],_0x25ced8=_0x49cec6[0x1];_0x29209f===_0x42996e(0x20b)&&typeof _0x25ced8=='string'&&(_0x4dde68[_0x29209f]=_0x25ced8['replace'](/url\(#(.*)\)/,_0x42996e(0x1be)[_0x42996e(0x375)](_0x2b072f['idSuffix'],')')));});var _0x5a28a5=_0x2b072f[_0x3e1fe6(0x128)];return!_0x5a28a5||_0x5a28a5[_0x3e1fe6(0x3ab)]===0x0||(_0x5bd66c[_0x3e1fe6(0x350)]==='use'&&_0x4dde68['xlink:href']&&(_0x4dde68[_0x3e1fe6(0x318)]=_0x4dde68[_0x3e1fe6(0x318)]+_0x2b072f[_0x3e1fe6(0x319)]),Object['entries'](_0x4dde68)['forEach'](function(_0x22596e){const _0x423684=_0x3e1fe6;var _0x35a718=_0x22596e[0x0],_0x37da37=_0x22596e[0x1];typeof _0x37da37==_0x423684(0x149)&&(_0x4dde68[_0x35a718]=_0x37da37[_0x423684(0x177)](/url\(#(.*)\)/,_0x423684(0x1be)[_0x423684(0x375)](_0x2b072f[_0x423684(0x319)],')')));})),_0x4dde68;}function _0x1be361(_0x379a39,_0x4a0bc6){const _0x38f7a2=_0x4b1c64;var _0x40eea4,_0x4ff661=_0x4a0bc6['defIds'];return!_0x4ff661||_0x4ff661[_0x38f7a2(0x3ab)]===0x0?_0x379a39:_0x379a39[_0x38f7a2(0x350)]===_0x38f7a2(0x1de)&&(!((_0x40eea4=_0x379a39[_0x38f7a2(0x16e)])===null||_0x40eea4===void 0x0)&&_0x40eea4[_0x38f7a2(0x3ab)])?_0x43c967(_0x43c967({},_0x379a39),{'children':_0x379a39[_0x38f7a2(0x16e)][_0x38f7a2(0x236)](function(_0x1c8fc0){const _0x36e045=_0x38f7a2;return typeof _0x1c8fc0[_0x36e045(0x1df)]['id']==_0x36e045(0x149)&&_0x4ff661&&_0x4ff661[_0x36e045(0x346)](_0x1c8fc0['attrs']['id'])>-0x1?_0x43c967(_0x43c967({},_0x1c8fc0),{'attrs':_0x43c967(_0x43c967({},_0x1c8fc0[_0x36e045(0x1df)]),{'id':_0x1c8fc0[_0x36e045(0x1df)]['id']+_0x4a0bc6[_0x36e045(0x319)]})}):_0x1c8fc0;})}):_0x379a39;}function _0x30d2d4(){const _0x2c4c94=_0x4b1c64;return Math[_0x2c4c94(0x38e)]()[_0x2c4c94(0x1b9)](0x24)[_0x2c4c94(0x2db)](0x2,0x8);}_0x53cf46[_0x4b1c64(0x17a)]='UniverIcon';var _0x50141d={'tag':_0x4b1c64(0x3a3),'attrs':{'fill':_0x4b1c64(0x1c4),'viewBox':_0x4b1c64(0x310),'width':_0x4b1c64(0x19f),'height':_0x4b1c64(0x19f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'stroke':_0x4b1c64(0x1f7),'d':_0x4b1c64(0x277),'strokeLinecap':_0x4b1c64(0x398),'strokeLinejoin':_0x4b1c64(0x398),'strokeWidth':1.2}}]},{'tag':_0x4b1c64(0x1de),'attrs':{},'children':[{'tag':_0x4b1c64(0x22c),'attrs':{'id':_0x4b1c64(0x38f)},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'fill':_0x4b1c64(0x384),'d':_0x4b1c64(0x1ae)}}]}]}],'defIds':[_0x4b1c64(0x38f)]},_0x486047=_0x442017[_0x4b1c64(0x339)](function(_0x579d30,_0x2de412){const _0x24cf49=_0x4b1c64;return _0x442017[_0x24cf49(0x30e)](_0x53cf46,Object['assign']({},_0x579d30,{'id':_0x24cf49(0x2ce),'ref':_0x2de412,'icon':_0x50141d}));});_0x486047[_0x4b1c64(0x17a)]=_0x4b1c64(0x17c);var _0x3010a4={'tag':_0x4b1c64(0x3a3),'attrs':{'fill':'none','viewBox':_0x4b1c64(0x193),'width':_0x4b1c64(0x19f),'height':_0x4b1c64(0x19f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'stroke':'currentColor','d':_0x4b1c64(0x36d),'strokeLinecap':_0x4b1c64(0x398),'strokeLinejoin':_0x4b1c64(0x398),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4b1c64(0x22c),'attrs':{'id':_0x4b1c64(0x2b5)},'children':[{'tag':'path','attrs':{'fill':_0x4b1c64(0x384),'d':'M0\x200H16V16H0z','transform':_0x4b1c64(0x158)}}]}]}],'defIds':[_0x4b1c64(0x2b5)]},_0x544620=_0x442017[_0x4b1c64(0x339)](function(_0x48b771,_0x17a252){const _0x303d93=_0x4b1c64;return _0x442017[_0x303d93(0x30e)](_0x53cf46,Object[_0x303d93(0x1d4)]({},_0x48b771,{'id':_0x303d93(0x33b),'ref':_0x17a252,'icon':_0x3010a4}));});_0x544620[_0x4b1c64(0x17a)]=_0x4b1c64(0x154);function _0x7366e3(_0x22437b){const _0x1a11bf=_0x4b1c64;switch(_0x22437b){case _0xf9b925[_0x1a11bf(0x271)]['OFFLINE']:return _0x1a11bf(0x352);case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x3a5)]:return _0x1a11bf(0x252);case _0xf9b925[_0x1a11bf(0x271)][_0x1a11bf(0x1e3)]:return'collabStatus.fetchMiss';case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x331)]:return _0x1a11bf(0x26d);case _0xf9b925[_0x1a11bf(0x271)]['AWAITING']:case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x182)]:return _0x1a11bf(0x2e5);case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x23c)]:case _0xf9b925[_0x1a11bf(0x271)]['PENDING']:return'collabStatus.synced';}}function _0xdda0fa(_0x38eedb){const _0xc56d23=_0x4b1c64,{status$:_0x363dd0}=_0x38eedb,_0x5191b0=_0x49048d[_0xc56d23(0x16a)](_0x363dd0,_0xf9b925[_0xc56d23(0x271)][_0xc56d23(0x331)]),_0x539319=_0x49048d[_0xc56d23(0x29c)](_0x29c4b3[_0xc56d23(0x164)]),_0x57d6cb=_0x49048d[_0xc56d23(0x29c)](_0xf9b925[_0xc56d23(0x21d)]),_0x4572e2=_0x5191b0!==_0xf9b925[_0xc56d23(0x271)][_0xc56d23(0x1c2)],_0x5ba167=_0x539319['t'](_0x7366e3(_0x5191b0)),_0x32a5c3=_0x4572e2?_0xcfd45e['jsx'](_0x544620,{}):_0xcfd45e[_0xc56d23(0x305)](_0x486047,{}),_0x5ca7e2=_0x442017['useCallback'](()=>{_0x4572e2||_0x57d6cb['reconnect']();},[_0x4572e2,_0x57d6cb]);function _0x22489b(){const _0x28073f=_0xc56d23;return _0xcfd45e[_0x28073f(0x268)]('div',{'className':_0x28073f(0x2b3),'onClick':_0x5ca7e2,'children':[_0xcfd45e[_0x28073f(0x305)](_0x28073f(0x175),{'className':_0x2b6841[_0x28073f(0x13a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4572e2?_0x28073f(0x227):'univer-text-red-500'),'children':_0x32a5c3}),_0xcfd45e['jsx']('div',{'className':_0x28073f(0x259),'children':_0x5ba167})]});}return _0x4572e2?_0x22489b():_0xcfd45e[_0xc56d23(0x305)](_0x2b6841[_0xc56d23(0x2e3)],{'title':_0x539319['t'](_0xc56d23(0x2d5)),'children':_0x22489b()});}var _0x2aa38c=Object['getOwnPropertyDescriptor'],_0x4e1389=(_0x5be580,_0x74247,_0x4f873e,_0x5f3e30)=>{for(var _0x15c10e=_0x5f3e30>0x1?void 0x0:_0x5f3e30?_0x2aa38c(_0x74247,_0x4f873e):_0x74247,_0x2fa9cf=_0x5be580['length']-0x1,_0x3612a7;_0x2fa9cf>=0x0;_0x2fa9cf--)(_0x3612a7=_0x5be580[_0x2fa9cf])&&(_0x15c10e=_0x3612a7(_0x15c10e)||_0x15c10e);return _0x15c10e;},_0x5a9d4d=(_0x180148,_0x5e3e3d)=>(_0x2c0e6b,_0xbd1186)=>_0x5e3e3d(_0x2c0e6b,_0xbd1186,_0x180148);_0x49722f[_0x4b1c64(0x2ff)]=class extends _0x29c4b3['Disposable']{constructor(_0xfb9a51,_0x197375,_0x4124fb,_0x1942ac){const _0x1c5adc=_0x4b1c64;super(),_0x593db2(this,_0x1c5adc(0x165),new _0x5cdc95[(_0x1c5adc(0x2b8))](_0xf9b925['CollaborationStatus'][_0x1c5adc(0x331)])),(this['_univerInstanceService']=_0xfb9a51,this[_0x1c5adc(0x196)]=_0x197375,this[_0x1c5adc(0x2ca)]=_0x4124fb,this[_0x1c5adc(0x300)]=_0x1942ac,this[_0x1c5adc(0x3a1)](),this[_0x1c5adc(0x1cc)]());}[_0x4b1c64(0x1cc)](){const _0x17abd7=_0x4b1c64;this['disposeWithMe'](this[_0x17abd7(0x1e2)][_0x17abd7(0x23e)][_0x17abd7(0x37f)](_0x5cdc95[_0x17abd7(0x225)](()=>{const _0x406ce9=_0x17abd7,_0x4bc66a=this[_0x406ce9(0x1e2)][_0x406ce9(0x1f3)]();return _0x4bc66a?this['_collaborationController']['getCollabEntity$'](_0x4bc66a[_0x406ce9(0x14a)]()):_0x5cdc95['of'](null);}),_0x5cdc95[_0x17abd7(0x225)](_0x327889=>_0x327889?_0x327889[_0x17abd7(0x163)]:_0x5cdc95['of'](_0xf9b925[_0x17abd7(0x271)][_0x17abd7(0x331)])))['subscribe'](_0x1f3ea2=>{const _0xe03529=_0x17abd7;this[_0xe03529(0x165)][_0xe03529(0x2d4)](_0x1f3ea2);}));}[_0x4b1c64(0x3a1)](){const _0x30f92e=_0x4b1c64;this[_0x30f92e(0x1ad)](this[_0x30f92e(0x300)][_0x30f92e(0x328)](_0x49048d[_0x30f92e(0x2c1)]['HEADER_MENU'],()=>_0x49048d[_0x30f92e(0x2a7)](_0x13c4ca({'status$':this[_0x30f92e(0x165)]['asObservable']()}),this[_0x30f92e(0x196)])));}},_0x49722f[_0x4b1c64(0x2ff)]=_0x4e1389([_0x5a9d4d(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x5a9d4d(0x1,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x283)])),_0x5a9d4d(0x2,_0x29c4b3['Inject'](_0xf9b925['CollaborationController'])),_0x5a9d4d(0x3,_0x49048d[_0x4b1c64(0x303)])],_0x49722f[_0x4b1c64(0x2ff)]);function _0x13c4ca(_0x94d6d4){const {status$:_0x31a324}=_0x94d6d4;return function(){const _0x572304=_0x3c28;return _0xcfd45e[_0x572304(0x305)](_0xdda0fa,{'status$':_0x31a324});};}var _0x295494=Object[_0x4b1c64(0x39e)],_0x5a4410=(_0xe5bbec,_0x34786e,_0x26dd15,_0x583e8c)=>{for(var _0x1b3175=_0x583e8c>0x1?void 0x0:_0x583e8c?_0x295494(_0x34786e,_0x26dd15):_0x34786e,_0x416c6d=_0xe5bbec['length']-0x1,_0x2ed615;_0x416c6d>=0x0;_0x416c6d--)(_0x2ed615=_0xe5bbec[_0x416c6d])&&(_0x1b3175=_0x2ed615(_0x1b3175)||_0x1b3175);return _0x1b3175;},_0x766381=(_0x127c61,_0x56949a)=>(_0x2de5e8,_0x2b27fc)=>_0x56949a(_0x2de5e8,_0x2b27fc,_0x127c61);let _0x433de1=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0x1fd77c,_0xa507dd,_0x19bf36,_0x54be79,_0xf4a3e1,_0x17443c){const _0x7a4272=_0x4b1c64;super(),this[_0x7a4272(0x1bf)]=_0x1fd77c,this[_0x7a4272(0x1b7)]=_0xa507dd,this[_0x7a4272(0x2f9)]=_0x19bf36,this[_0x7a4272(0x240)]=_0x54be79,this[_0x7a4272(0x12c)]=_0xf4a3e1,this[_0x7a4272(0x22b)]=_0x17443c,this[_0x7a4272(0x27e)](),this[_0x7a4272(0x3ac)]();}[_0x4b1c64(0x27e)](){const _0xb98823=_0x4b1c64;this[_0xb98823(0x1ad)](this[_0xb98823(0x1bf)][_0xb98823(0x198)](()=>{const _0x538a55=_0xb98823;if(this['_localCacheService'][_0x538a55(0x2b4)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4b1c64(0x3ac)](){const _0x435214=_0x4b1c64;this[_0x435214(0x1ad)](this[_0x435214(0x2f9)][_0x435214(0x1dd)]['subscribe'](_0x24f1cf=>{const _0x446b66=_0x435214;_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)]['OTHER_CLIENT_EDITING']&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841['MessageType'][_0x446b66(0x2a2)],'content':this['_localeService']['t'](_0x446b66(0x178))}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x1ec)]&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841['MessageType'][_0x446b66(0x2a2)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x2cf))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x21b)]&&this[_0x446b66(0x12c)]['show']({'title':this[_0x446b66(0x22b)]['t'](_0x446b66(0x18c)),'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x209)),'type':_0x446b66(0x2c6),'duration':0x0}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x3a5)]&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x3b1)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x2cf))+'('+_0x24f1cf['data']+')'}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x325)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)]['Warning'],'content':this[_0x446b66(0x22b)]['t'](_0x24f1cf[_0x446b66(0x2dd)]||'')}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x274)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x2a2)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x129))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x23d)]&&this[_0x446b66(0x240)]['show']({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x3b1)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x144))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x329)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)]['Error'],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x28c))});}));}};_0x433de1=_0x5a4410([_0x766381(0x0,_0x49048d[_0x4b1c64(0x25f)]),_0x766381(0x1,_0xf9b925['ILocalCacheService']),_0x766381(0x2,_0x29c4b3['Inject'](_0xf9b925[_0x4b1c64(0x30c)])),_0x766381(0x3,_0x49048d['IMessageService']),_0x766381(0x4,_0x49048d[_0x4b1c64(0x338)]),_0x766381(0x5,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x164)]))],_0x433de1);const _0x2746ae=_0x4b1c64(0x2bf),_0x2dffa1={},_0x51a84b=_0x29c4b3[_0x4b1c64(0x284)]('uni.network.url-service');var _0x2e0ecd=Object[_0x4b1c64(0x39e)],_0xd082bf=(_0x17c026,_0x51016d,_0xbfab01,_0x92bfa5)=>{const _0x5257c2=_0x4b1c64;for(var _0x110857=_0x92bfa5>0x1?void 0x0:_0x92bfa5?_0x2e0ecd(_0x51016d,_0xbfab01):_0x51016d,_0x4ebcd8=_0x17c026[_0x5257c2(0x3ab)]-0x1,_0x2f698c;_0x4ebcd8>=0x0;_0x4ebcd8--)(_0x2f698c=_0x17c026[_0x4ebcd8])&&(_0x110857=_0x2f698c(_0x110857)||_0x110857);return _0x110857;},_0x3be48e=(_0x45b600,_0x1433e7)=>(_0x2c2bb4,_0x199eda)=>_0x1433e7(_0x2c2bb4,_0x199eda,_0x45b600);_0x49722f['CollaborationDataLoaderController']=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x2ba34b,_0x159d26,_0x52ec7f,_0x560463,_0x2f1d35){const _0x143b73=_0x4b1c64;super(),this[_0x143b73(0x2c8)]=_0x2ba34b,this[_0x143b73(0x142)]=_0x159d26,this[_0x143b73(0x3a7)]=_0x52ec7f,this[_0x143b73(0x347)]=_0x560463,_0x2f1d35?_0x2f1d35==null||_0x2f1d35[_0x143b73(0x281)]()[_0x143b73(0x363)](()=>this[_0x143b73(0x3b8)]()):(this[_0x143b73(0x142)][_0x143b73(0x2e1)](_0x143b73(0x36b),_0x143b73(0x386)),this[_0x143b73(0x3b8)]());}async['_init'](){const _0x4a9306=_0x4b1c64,_0x551ed0=this[_0x4a9306(0x2c8)][_0x4a9306(0x132)](_0x4a9306(0x183)),_0x1fdf9f=this['_urlService'][_0x4a9306(0x132)]('type'),_0x13688a=this[_0x4a9306(0x2c8)][_0x4a9306(0x132)](_0x4a9306(0x167));if(!_0x551ed0||!_0x1fdf9f){this[_0x4a9306(0x142)][_0x4a9306(0x2e1)](_0x4a9306(0x36b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4a8f9f=await this[_0x4a9306(0x347)][_0x4a9306(0x341)](_0x551ed0,Number(_0x1fdf9f),_0x13688a);_0x4a8f9f&&_0x4a8f9f instanceof _0x29c4b3['Workbook']&&this['_setupSubUnitSync'](_0x4a8f9f);}async[_0x4b1c64(0x1a7)](_0x1e2262){const _0x450668=_0x4b1c64;await this[_0x450668(0x23f)](_0x1e2262),_0x1e2262[_0x450668(0x246)][_0x450668(0x37f)](_0x5cdc95[_0x450668(0x335)](this['dispose$']))['subscribe'](_0x3b14d6=>{const _0x2275c6=_0x450668;_0x3b14d6&&this[_0x2275c6(0x212)](_0x3b14d6);}),this[_0x450668(0x2c8)][_0x450668(0x29f)][_0x450668(0x37f)](_0x5cdc95[_0x450668(0x335)](this[_0x450668(0x27d)]))[_0x450668(0x1d5)](()=>this['_updateSubUnitFromURLParams'](_0x1e2262));}['_updateURLWithCurrentState'](_0x5d7981,_0x1eb7fd=!0x1){const _0x3b4e23=_0x4b1c64,_0x52bec0=this[_0x3b4e23(0x2c8)][_0x3b4e23(0x132)]('subunit');_0x5d7981[_0x3b4e23(0x130)]()!==_0x52bec0&&this['_urlService'][_0x3b4e23(0x28a)]('subunit',_0x5d7981[_0x3b4e23(0x130)](),_0x1eb7fd);}async['_updateSubUnitFromURLParams'](_0x35c028){const _0x2dcb2d=_0x4b1c64;var _0x342969;const _0x554b61=this[_0x2dcb2d(0x2c8)][_0x2dcb2d(0x132)](_0x2dcb2d(0x167));if(!_0x554b61||!_0x35c028[_0x2dcb2d(0x2f8)](_0x554b61)){const _0x3f97ab=_0x35c028[_0x2dcb2d(0x2cc)]()[0x0],_0x1753bd=_0x35c028['getSheetBySheetId'](_0x3f97ab);if(!_0x1753bd)return;this['_updateURLWithCurrentState'](_0x1753bd,!0x0),await this[_0x2dcb2d(0x3a7)][_0x2dcb2d(0x248)](_0x9b20c5[_0x2dcb2d(0x18f)]['id'],{'unitId':_0x35c028[_0x2dcb2d(0x14a)](),'subUnitId':_0x3f97ab});return;}((_0x342969=_0x35c028[_0x2dcb2d(0x18b)]())==null?void 0x0:_0x342969[_0x2dcb2d(0x130)]())!==_0x554b61&&await this[_0x2dcb2d(0x3a7)][_0x2dcb2d(0x248)](_0x9b20c5[_0x2dcb2d(0x18f)]['id'],{'unitId':_0x35c028[_0x2dcb2d(0x14a)](),'subUnitId':_0x554b61});}},_0x49722f[_0x4b1c64(0x1fa)]=_0xd082bf([_0x3be48e(0x0,_0x51a84b),_0x3be48e(0x1,_0x29c4b3[_0x4b1c64(0x342)]),_0x3be48e(0x2,_0x29c4b3[_0x4b1c64(0x20d)]),_0x3be48e(0x3,_0x29c4b3['Inject'](_0xf9b925['DataLoaderService'])),_0x3be48e(0x4,_0x29c4b3[_0x4b1c64(0x2d1)](_0x14f0d0['IRemoteInstanceService']))],_0x49722f[_0x4b1c64(0x1fa)]);var _0xab6bdc=Object[_0x4b1c64(0x39e)],_0x35cb79=(_0x4270e1,_0x3d90f8,_0x38ec22,_0x562b41)=>{const _0x21e509=_0x4b1c64;for(var _0x5a5824=_0x562b41>0x1?void 0x0:_0x562b41?_0xab6bdc(_0x3d90f8,_0x38ec22):_0x3d90f8,_0x5edabc=_0x4270e1[_0x21e509(0x3ab)]-0x1,_0xe70db0;_0x5edabc>=0x0;_0x5edabc--)(_0xe70db0=_0x4270e1[_0x5edabc])&&(_0x5a5824=_0xe70db0(_0x5a5824)||_0x5a5824);return _0x5a5824;},_0x16ca97=(_0x5d61e2,_0x241389)=>(_0x425e51,_0x47163a)=>_0x241389(_0x425e51,_0x47163a,_0x5d61e2);let _0x454b82=class{constructor(_0x114338,_0xae9167,_0x2c50e1){const _0x336bf4=_0x4b1c64;this[_0x336bf4(0x196)]=_0x114338,this[_0x336bf4(0x195)]=_0xae9167,this[_0x336bf4(0x302)]=_0x2c50e1;}[_0x4b1c64(0x34f)](_0x26acdd){const _0x225176=_0x4b1c64;this[_0x225176(0x126)](_0x26acdd),this[_0x225176(0x22f)](_0x26acdd);}[_0x4b1c64(0x1a9)](_0x1ca825){const _0x6d5be7=_0x4b1c64,{unitID:_0x402a95}=_0x1ca825,_0x127d6f=this[_0x6d5be7(0x302)][_0x6d5be7(0x265)](_0x402a95)['with'](_0x2496d8[_0x6d5be7(0x157)]),{redoCache:_0x3d38f8}=_0x127d6f['getUndoRedoMutationParamsCache']();if(_0x3d38f8[_0x6d5be7(0x3ab)]===0x0)return _0x1ca825;let _0xee3a2d=_0x29c4b3['Tools'][_0x6d5be7(0x200)](_0x1ca825[_0x6d5be7(0x3a8)][0x0]);for(let _0x27b51a=0x0;_0x27b51a<_0x3d38f8[_0x6d5be7(0x3ab)];_0x27b51a++){const _0x566cdb={'id':'doc.mutation.rich-text-editing','params':{..._0x3d38f8[_0x27b51a]}},_0x204c77=this[_0x6d5be7(0x195)][_0x6d5be7(0x306)](_0xee3a2d,_0x566cdb,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x204c77))throw _0x204c77[_0x6d5be7(0x2c6)];_0xee3a2d=_0x204c77[_0x6d5be7(0x1c5)];}return{..._0x29c4b3[_0x6d5be7(0x256)][_0x6d5be7(0x200)](_0x1ca825),'mutations':[_0xee3a2d]};}[_0x4b1c64(0x126)](_0x44a3f2){const _0x356022=_0x4b1c64,{unitID:_0x1ec8cd}=_0x44a3f2,_0x38e6b4=this[_0x356022(0x302)][_0x356022(0x265)](_0x1ec8cd)[_0x356022(0x1ba)](_0x2496d8[_0x356022(0x157)]),{undoCache:_0x407fbb,redoCache:_0x2902df}=_0x38e6b4[_0x356022(0x1c3)]();if(_0x407fbb[_0x356022(0x3ab)]===0x0||_0x2902df[_0x356022(0x3ab)]===0x0)return;const _0x51bf7a=[],_0x410280=[];let _0x813978=_0x29c4b3['Tools'][_0x356022(0x200)](_0x44a3f2[_0x356022(0x3a8)][0x0]),_0x101753=_0x29c4b3[_0x356022(0x256)][_0x356022(0x200)](_0x44a3f2['mutations'][0x0]);for(let _0x40b9a9=_0x407fbb['length']-0x1;_0x40b9a9>=0x0;_0x40b9a9--){const _0x21db9d={'id':'doc.mutation.rich-text-editing','params':{..._0x407fbb[_0x40b9a9]}},_0x352e20={'id':_0x356022(0x278),'params':{..._0x2902df[_0x40b9a9]}},_0x5acdba=this['_transformService'][_0x356022(0x306)](_0x813978,_0x21db9d,!0x1),_0x4adcd4=this[_0x356022(0x195)][_0x356022(0x306)](_0x101753,_0x352e20,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x5acdba))throw _0x5acdba[_0x356022(0x2c6)];if(_0x53c7bc[_0x356022(0x36f)](_0x4adcd4))throw _0x4adcd4[_0x356022(0x2c6)];_0x51bf7a[_0x356022(0x24f)](_0x5acdba['m2Prime'][_0x356022(0x1b4)]),_0x410280['unshift'](_0x4adcd4[_0x356022(0x215)][_0x356022(0x1b4)]),_0x813978=_0x5acdba[_0x356022(0x1c5)],_0x101753=_0x4adcd4[_0x356022(0x1c5)];}_0x38e6b4['setUndoRedoMutationParamsCache']({'undoCache':_0x51bf7a,'redoCache':_0x410280});}['_transformPreviousActiveRange'](_0x25a896){const _0x2bf7ff=_0x4b1c64,{unitID:_0x1b573a}=_0x25a896,_0x441d20=this[_0x2bf7ff(0x302)][_0x2bf7ff(0x265)](_0x1b573a)['with'](_0x2496d8[_0x2bf7ff(0x157)]),_0x538882=_0x441d20[_0x2bf7ff(0x391)]();if(_0x538882==null)return;const _0x975e0e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25a896[_0x2bf7ff(0x12e)],'actions':null,'textRanges':[_0x538882]}}],_0x2766fa=this[_0x2bf7ff(0x195)][_0x2bf7ff(0x2a5)](_0x25a896,_0x975e0e);if(!_0x53c7bc[_0x2bf7ff(0x234)](_0x2766fa))throw _0x2766fa[_0x2bf7ff(0x2c6)];const _0x262dad=_0x2766fa[_0x2bf7ff(0x215)][0x0]['params'][_0x2bf7ff(0x2cb)];Array[_0x2bf7ff(0x382)](_0x262dad)&&_0x262dad[_0x2bf7ff(0x3ab)]&&_0x441d20[_0x2bf7ff(0x12b)](_0x262dad[0x0]);}};_0x454b82=_0x35cb79([_0x16ca97(0x0,_0x29c4b3['Inject'](_0x29c4b3['Injector'])),_0x16ca97(0x1,_0x53c7bc[_0x4b1c64(0x19d)]),_0x16ca97(0x2,_0x12e223['IRenderManagerService'])],_0x454b82);var _0x5b1578=Object['getOwnPropertyDescriptor'],_0x199d3f=(_0xb2a57e,_0x59fd4,_0x5f601b,_0x55e0d0)=>{const _0x403396=_0x4b1c64;for(var _0xf4eeaa=_0x55e0d0>0x1?void 0x0:_0x55e0d0?_0x5b1578(_0x59fd4,_0x5f601b):_0x59fd4,_0x58b7be=_0xb2a57e[_0x403396(0x3ab)]-0x1,_0x119850;_0x58b7be>=0x0;_0x58b7be--)(_0x119850=_0xb2a57e[_0x58b7be])&&(_0xf4eeaa=_0x119850(_0xf4eeaa)||_0xf4eeaa);return _0xf4eeaa;},_0x35e6a7=(_0xd42146,_0x2a8cb5)=>(_0x48b894,_0x1f7fe6)=>_0x2a8cb5(_0x48b894,_0x1f7fe6,_0xd42146);let _0x291eea=class{constructor(_0xd553aa,_0x463887,_0x3c01a9){const _0x577655=_0x4b1c64;this[_0x577655(0x196)]=_0xd553aa,this[_0x577655(0x195)]=_0x463887,this[_0x577655(0x207)]=_0x3c01a9;}['transformStateCache'](_0x19a522){const _0x4ec6b2=_0x4b1c64;this[_0x4ec6b2(0x226)](_0x19a522);}['transformRemoteChangeset'](_0x2f26f0){const _0xabf436=_0x4b1c64,{unitID:_0x5d6111}=_0x2f26f0,{collaboration:_0x51d814}=this['_docStateChangeManagerService'][_0xabf436(0x38c)](_0x5d6111);if(_0x51d814[_0xabf436(0x3ab)]===0x0)return _0x2f26f0;let _0x5ccd3a=_0x29c4b3[_0xabf436(0x256)][_0xabf436(0x200)](_0x2f26f0[_0xabf436(0x3a8)][0x0]);for(let _0xddfa71=0x0;_0xddfa71<_0x51d814[_0xabf436(0x3ab)];_0xddfa71++){const _0x594cdb={'id':_0xabf436(0x278),'params':{'unitId':_0x51d814[_0xddfa71][_0xabf436(0x1b3)],..._0x51d814[_0xddfa71]['redoState']}},_0x2d5abd=this[_0xabf436(0x195)][_0xabf436(0x306)](_0x5ccd3a,_0x594cdb,!0x1);if(_0x53c7bc[_0xabf436(0x36f)](_0x2d5abd))throw _0x2d5abd[_0xabf436(0x2c6)];_0x5ccd3a=_0x2d5abd[_0xabf436(0x1c5)];}return{..._0x29c4b3['Tools']['deepClone'](_0x2f26f0),'mutations':[_0x5ccd3a]};}['_transformHistoryAndStateStack'](_0x588e2b){const _0x38490d=_0x4b1c64,{unitID:_0x524e49}=_0x588e2b,{history:_0x41d920,collaboration:_0x561569}=this[_0x38490d(0x207)][_0x38490d(0x38c)](_0x524e49);if(_0x41d920[_0x38490d(0x3ab)]===0x0&&_0x561569[_0x38490d(0x3ab)]===0x0)return;const _0x4d12c2=[],_0x22e9dd=[];let _0x401006=_0x29c4b3['Tools'][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]),_0x4741b1=_0x29c4b3[_0x38490d(0x256)][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]);for(let _0x253993=_0x41d920[_0x38490d(0x3ab)]-0x1;_0x253993>=0x0;_0x253993--){const _0xb207d5={'id':_0x38490d(0x278),'params':{'unitId':_0x41d920[_0x253993]['unitId'],..._0x41d920[_0x253993][_0x38490d(0x381)]}},_0x56453a={'id':_0x38490d(0x278),'params':{'unitId':_0x41d920[_0x253993][_0x38490d(0x1b3)],..._0x41d920[_0x253993]['redoState']}},_0x51c28d=this[_0x38490d(0x195)][_0x38490d(0x306)](_0x401006,_0xb207d5,!0x1),_0x47d876=this[_0x38490d(0x195)]['transformMutation'](_0x4741b1,_0x56453a,!0x1);if(_0x53c7bc[_0x38490d(0x36f)](_0x51c28d))throw _0x51c28d['error'];if(_0x53c7bc['isTransformMutationFailure'](_0x47d876))throw _0x47d876[_0x38490d(0x2c6)];_0x4d12c2[_0x38490d(0x24f)]({..._0x41d920[_0x253993],'undoState':_0x51c28d['m2Prime'][_0x38490d(0x1b4)],'redoState':_0x47d876[_0x38490d(0x215)][_0x38490d(0x1b4)]}),_0x401006=_0x51c28d[_0x38490d(0x1c5)],_0x4741b1=_0x47d876[_0x38490d(0x1c5)];}_0x401006=_0x29c4b3['Tools'][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]),_0x4741b1=_0x29c4b3['Tools']['deepClone'](_0x588e2b[_0x38490d(0x3a8)][0x0]);for(let _0x2cb64e=_0x561569[_0x38490d(0x3ab)]-0x1;_0x2cb64e>=0x0;_0x2cb64e--){const _0x127bcf={'id':_0x38490d(0x278),'params':{'unitId':_0x561569[_0x2cb64e][_0x38490d(0x1b3)],..._0x561569[_0x2cb64e][_0x38490d(0x381)]}},_0x4a581a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561569[_0x2cb64e][_0x38490d(0x1b3)],..._0x561569[_0x2cb64e]['redoState']}},_0x35fce0=this[_0x38490d(0x195)]['transformMutation'](_0x401006,_0x127bcf,!0x1),_0x2e68b5=this[_0x38490d(0x195)][_0x38490d(0x306)](_0x4741b1,_0x4a581a,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x35fce0))throw _0x35fce0[_0x38490d(0x2c6)];if(_0x53c7bc['isTransformMutationFailure'](_0x2e68b5))throw _0x2e68b5['error'];_0x22e9dd['unshift']({..._0x561569[_0x2cb64e],'undoState':_0x35fce0[_0x38490d(0x215)][_0x38490d(0x1b4)],'redoState':_0x2e68b5['m2Prime'][_0x38490d(0x1b4)]}),_0x401006=_0x35fce0[_0x38490d(0x1c5)],_0x4741b1=_0x2e68b5[_0x38490d(0x1c5)];}this[_0x38490d(0x207)][_0x38490d(0x30f)](_0x524e49,{'history':_0x4d12c2,'collaboration':_0x22e9dd});}};_0x291eea=_0x199d3f([_0x35e6a7(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x35e6a7(0x1,_0x53c7bc[_0x4b1c64(0x19d)]),_0x35e6a7(0x2,_0x29c4b3['Inject'](_0x2496d8[_0x4b1c64(0x290)]))],_0x291eea);var _0x193637=Object['getOwnPropertyDescriptor'],_0x24d56a=(_0x2868af,_0x1fe351,_0x21ca03,_0x1df9a2)=>{const _0x4d522a=_0x4b1c64;for(var _0x225c11=_0x1df9a2>0x1?void 0x0:_0x1df9a2?_0x193637(_0x1fe351,_0x21ca03):_0x1fe351,_0x216dd9=_0x2868af[_0x4d522a(0x3ab)]-0x1,_0x4792b4;_0x216dd9>=0x0;_0x216dd9--)(_0x4792b4=_0x2868af[_0x216dd9])&&(_0x225c11=_0x4792b4(_0x225c11)||_0x225c11);return _0x225c11;},_0x4b32a2=(_0x5579b9,_0x126dc9)=>(_0x3124a3,_0x582245)=>_0x126dc9(_0x3124a3,_0x582245,_0x5579b9);let _0x389715=class{constructor(_0x19a821,_0x286af7){const _0x467366=_0x4b1c64;this[_0x467366(0x196)]=_0x19a821,this[_0x467366(0x195)]=_0x286af7;}[_0x4b1c64(0x32a)](_0x4d13d6){const _0x3b9417=_0x4b1c64;var _0x1f2299;const _0x568607=this[_0x3b9417(0x196)]['get'](_0x1c550c[_0x3b9417(0x2e4)]),_0x674982=(_0x1f2299=_0x568607[_0x3b9417(0x32b)]())!=null?_0x1f2299:[];if(_0x674982[_0x3b9417(0x3ab)]===0x0)return;const _0x24635b=_0x4d13d6[_0x3b9417(0x12e)],_0x2d83bf=[{'id':_0x3b9417(0x278),'params':{'unitId':_0x24635b,'actions':null,'textRanges':_0x674982}}],_0x3aba50=this[_0x3b9417(0x195)][_0x3b9417(0x2a5)](_0x4d13d6,_0x2d83bf);if(!_0x53c7bc[_0x3b9417(0x234)](_0x3aba50))throw _0x3aba50[_0x3b9417(0x2c6)];const _0x5273dc=_0x3aba50[_0x3b9417(0x215)][0x0][_0x3b9417(0x1b4)][_0x3b9417(0x2cb)];Array[_0x3b9417(0x382)](_0x5273dc)&&_0x5273dc[_0x3b9417(0x3ab)]&&_0x568607[_0x3b9417(0x2b7)](_0x5273dc,{'unitId':_0x24635b,'subUnitId':_0x24635b},!0x1);}};_0x389715=_0x24d56a([_0x4b32a2(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3['Injector'])),_0x4b32a2(0x1,_0x53c7bc['ITransformService'])],_0x389715);var _0x5bff0e=Object[_0x4b1c64(0x39e)],_0x466936=(_0x3f551a,_0x37c2aa,_0x584db7,_0x26e8bd)=>{const _0x36d5a0=_0x4b1c64;for(var _0x28372e=_0x26e8bd>0x1?void 0x0:_0x26e8bd?_0x5bff0e(_0x37c2aa,_0x584db7):_0x37c2aa,_0x2ceb28=_0x3f551a[_0x36d5a0(0x3ab)]-0x1,_0x4bf3a4;_0x2ceb28>=0x0;_0x2ceb28--)(_0x4bf3a4=_0x3f551a[_0x2ceb28])&&(_0x28372e=_0x4bf3a4(_0x28372e)||_0x28372e);return _0x28372e;},_0x3a1e43=(_0x2eb435,_0x296352)=>(_0xf5f941,_0x48d8d2)=>_0x296352(_0xf5f941,_0x48d8d2,_0x2eb435);let _0x1e9cfa=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0xe5d955,_0x2f2fb8,_0x7e27b4,_0x13fe70,_0x5451e3,_0x211ee3,_0x32e2c7,_0x245bda){const _0x5d3e85=_0x4b1c64;super(),_0x593db2(this,'_status$',new _0x5cdc95[(_0x5d3e85(0x2b8))](_0xf9b925['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xe5d955,this['_collaborationController']=_0x2f2fb8,this[_0x5d3e85(0x372)]=_0x7e27b4,this[_0x5d3e85(0x30d)]=_0x13fe70,this[_0x5d3e85(0x32c)]=_0x5451e3,this[_0x5d3e85(0x194)]=_0x211ee3,this[_0x5d3e85(0x240)]=_0x32e2c7,this[_0x5d3e85(0x22b)]=_0x245bda,this['_initEntityListener']());}[_0x4b1c64(0x2ad)](){const _0x2d86bf=_0x4b1c64;this[_0x2d86bf(0x1ad)](this['_collaborationController'][_0x2d86bf(0x237)][_0x2d86bf(0x1d5)](_0x599e13=>{const _0x3c973e=_0x2d86bf,_0x2e7524=this[_0x3c973e(0x207)][_0x3c973e(0x2d2)]['subscribe'](_0x186b9a=>{const _0x4a5275=_0x3c973e;if(_0x186b9a==null)return;const {unitId:_0xc784d2,redoState:_0x27eb32,commandId:_0x11bc25}=_0x186b9a;if(_0xc784d2!==_0x599e13[_0x4a5275(0x12e)])return;const _0x57499b={'id':_0x11bc25,'type':_0x29c4b3['CommandType'][_0x4a5275(0x184)],'params':{'unitId':_0xc784d2,'actions':_0x27eb32[_0x4a5275(0x385)],'textRanges':null}};_0x599e13[_0x4a5275(0x377)](_0x57499b);});if(_0x599e13[_0x3c973e(0x1ad)](_0x2e7524),_0x599e13 instanceof _0xf9b925['DocCollaborationEntity']){const _0x4b9b3b={'onTransformIME':_0x4c954d=>this[_0x3c973e(0x372)][_0x3c973e(0x34f)](_0x4c954d),'onTransformState':_0x585803=>this[_0x3c973e(0x30d)][_0x3c973e(0x345)](_0x585803),'onTransformSelections':_0x4f6c79=>this[_0x3c973e(0x32c)][_0x3c973e(0x32a)](_0x4f6c79),'onSyncEditingCollabCursor':_0x13504d=>this['_docSyncEditingCollabCursorService'][_0x3c973e(0x190)](_0x13504d),'onTransformRemoteChangesetByIMECache':_0x27d8d1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x27d8d1),'onTransformRemoteChangesetByStateCache':_0x3caea2=>this['_docTransformStateCacheService'][_0x3c973e(0x1a9)](_0x3caea2)};_0x599e13[_0x3c973e(0x14b)](_0x4b9b3b);}}));}};_0x1e9cfa=_0x466936([_0x3a1e43(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x2496d8[_0x4b1c64(0x290)])),_0x3a1e43(0x1,_0x29c4b3['Inject'](_0xf9b925[_0x4b1c64(0x3a6)])),_0x3a1e43(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x454b82)),_0x3a1e43(0x3,_0x29c4b3[_0x4b1c64(0x247)](_0x291eea)),_0x3a1e43(0x4,_0x29c4b3['Inject'](_0x389715)),_0x3a1e43(0x5,_0x29c4b3[_0x4b1c64(0x247)](_0x4aa5f2)),_0x3a1e43(0x6,_0x49048d[_0x4b1c64(0x264)]),_0x3a1e43(0x7,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x164)]))],_0x1e9cfa);var _0x4d5b2c=Object[_0x4b1c64(0x39e)],_0x8b172a=(_0x296a4b,_0x41b5fc,_0x1390cc,_0x2431a0)=>{const _0x5c148a=_0x4b1c64;for(var _0x13ae7b=_0x2431a0>0x1?void 0x0:_0x2431a0?_0x4d5b2c(_0x41b5fc,_0x1390cc):_0x41b5fc,_0x57d3bd=_0x296a4b[_0x5c148a(0x3ab)]-0x1,_0xb39fd6;_0x57d3bd>=0x0;_0x57d3bd--)(_0xb39fd6=_0x296a4b[_0x57d3bd])&&(_0x13ae7b=_0xb39fd6(_0x13ae7b)||_0x13ae7b);return _0x13ae7b;},_0x8daed6=(_0x1edf8d,_0x51de7f)=>(_0x376b6c,_0x4a2994)=>_0x51de7f(_0x376b6c,_0x4a2994,_0x1edf8d);let _0x2fe909=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0xc70fe7,_0x1ce1c6,_0x5c5e89){const _0xdb062d=_0x4b1c64;super(),_0x593db2(this,'_cachedData',new Map()),_0x593db2(this,_0xdb062d(0x1cf),new Map()),_0x593db2(this,'_disabled',!0x1),(this['_configService']=_0xc70fe7,this[_0xdb062d(0x34e)]=_0x1ce1c6,this[_0xdb062d(0x180)]=_0x5c5e89);}[_0x4b1c64(0x369)](){const _0x16fd64=_0x4b1c64;this[_0x16fd64(0x253)]=!0x0;}[_0x4b1c64(0x171)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x140ad2=_0x4b1c64;return this[_0x140ad2(0x1cf)];}['dispose'](){const _0x52bd93=_0x4b1c64;this[_0x52bd93(0x258)]()[_0x52bd93(0x363)](()=>super['dispose']());}async['loadOfflineData'](_0x39f76f){const _0x4e6a37=_0x4b1c64;return this[_0x4e6a37(0x253)]?null:this[_0x4e6a37(0x34e)][_0x4e6a37(0x224)](_0xf9b925[_0x4e6a37(0x1e4)](_0x39f76f));}async['saveOfflineData'](_0x28f97a,_0x3e78e4){const _0xd2e405=_0x4b1c64;return!!this['_localStorageService'][_0xd2e405(0x33f)](_0x28f97a,_0x3e78e4);}[_0x4b1c64(0x355)](_0x1dd6a0,_0x591349,_0x7bc23f,_0x4ed346){const _0x1dbb3b=_0x4b1c64,_0x4e8fa9=this['_revisionService'][_0x1dbb3b(0x13d)](_0x1dd6a0);this[_0x1dbb3b(0x35d)][_0x1dbb3b(0x340)](_0x1dd6a0,{'unitID':_0x1dd6a0,'type':_0x591349,'awaitingChangeset':_0x7bc23f,'mutations':_0x4ed346,'rev':_0x4e8fa9}),this[_0x1dbb3b(0x1cf)][_0x1dbb3b(0x14d)](_0x1dd6a0)||this['_scheduleSaving'](_0x1dd6a0);}[_0x4b1c64(0x3ad)](_0x168d41){const _0x70cc7c=_0x4b1c64,_0x4525dd=this[_0x70cc7c(0x239)]();_0x4525dd===0x0?this[_0x70cc7c(0x2e9)](_0x168d41):this[_0x70cc7c(0x1cf)]['set'](_0x168d41,setTimeout(()=>this[_0x70cc7c(0x2e9)](_0x168d41),_0x4525dd));}[_0x4b1c64(0x239)](){const _0xb710ea=_0x4b1c64;var _0x47b605;return(_0x47b605=this[_0xb710ea(0x1af)]['getConfig'](_0xf9b925['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x47b605:_0xf9b925[_0xb710ea(0x1ab)];}[_0x4b1c64(0x2e9)](_0x5ad4ac){const _0x1283ea=_0x4b1c64,_0x47e40f=this['_saveTaskMap']['get'](_0x5ad4ac);return _0x47e40f!==void 0x0&&window[_0x1283ea(0x2f3)](_0x47e40f),this[_0x1283ea(0x34e)][_0x1283ea(0x33f)](_0xf9b925[_0x1283ea(0x1e4)](_0x5ad4ac),this[_0x1283ea(0x35d)][_0x1283ea(0x269)](_0x5ad4ac))[_0x1283ea(0x363)](()=>this[_0x1283ea(0x1cf)]['delete'](_0x5ad4ac));}async[_0x4b1c64(0x258)](){const _0x628850=_0x4b1c64,_0x50e288=[];this[_0x628850(0x1cf)][_0x628850(0x39a)]((_0x5b3e6d,_0x57124f)=>{const _0x25b710=_0x628850;window[_0x25b710(0x2f3)](_0x5b3e6d),_0x50e288[_0x25b710(0x261)](this['_saveCache'](_0x57124f)['then'](()=>{const _0x4247aa=_0x25b710;this[_0x4247aa(0x1cf)][_0x4247aa(0x138)](_0x57124f);}));}),await Promise[_0x628850(0x360)](_0x50e288);}};_0x2fe909=_0x8b172a([_0x8daed6(0x0,_0x29c4b3[_0x4b1c64(0x151)]),_0x8daed6(0x1,_0x29c4b3[_0x4b1c64(0x181)]),_0x8daed6(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x53c7bc['RevisionService']))],_0x2fe909);class _0x2d55e2 extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(){const _0x1a1935=_0x4b1c64;super(),_0x593db2(this,_0x1a1935(0x29f)),this[_0x1a1935(0x29f)]=_0x5cdc95[_0x1a1935(0x322)](window,_0x1a1935(0x1aa))[_0x1a1935(0x37f)](_0x5cdc95[_0x1a1935(0x335)](this[_0x1a1935(0x27d)]),_0x5cdc95[_0x1a1935(0x39c)](0x1),_0x5cdc95[_0x1a1935(0x1ce)](void 0x0));}[_0x4b1c64(0x28a)](_0x5f32ac,_0x48a414,_0x3d83de=!0x1){const _0x1d288a=_0x4b1c64,_0xedfabd=new URL(window[_0x1d288a(0x1f5)][_0x1d288a(0x1ca)]);_0xedfabd[_0x1d288a(0x241)][_0x1d288a(0x340)](_0x5f32ac,_0x48a414),_0x3d83de?window[_0x1d288a(0x1f4)][_0x1d288a(0x1b6)]('','',_0xedfabd['toString']()):window[_0x1d288a(0x1f4)][_0x1d288a(0x3af)]('','',_0xedfabd[_0x1d288a(0x1b9)]());}['removeParam'](_0x425f96,_0x4f84b9=!0x1){const _0x240608=_0x4b1c64,_0x449b99=new URL(window[_0x240608(0x1f5)][_0x240608(0x1ca)]);_0x449b99[_0x240608(0x241)][_0x240608(0x138)](_0x425f96),_0x4f84b9?window[_0x240608(0x1f4)][_0x240608(0x1b6)]('','',_0x449b99[_0x240608(0x1b9)]()):window['history'][_0x240608(0x3af)]('','',_0x449b99[_0x240608(0x1b9)]());}[_0x4b1c64(0x132)](_0x472167){const _0x35ec69=_0x4b1c64;var _0x24ab14;return(_0x24ab14=new URL(window[_0x35ec69(0x1f5)][_0x35ec69(0x1ca)])[_0x35ec69(0x241)][_0x35ec69(0x269)](_0x472167))!=null?_0x24ab14:void 0x0;}}var _0x40bdc1=Object['defineProperty'],_0x132f52=Object[_0x4b1c64(0x39e)],_0x14b63d=(_0xf27b6d,_0x158078,_0xe13606)=>_0x158078 in _0xf27b6d?_0x40bdc1(_0xf27b6d,_0x158078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe13606}):_0xf27b6d[_0x158078]=_0xe13606,_0x29b409=(_0x53f962,_0x5ebf77,_0x230358,_0x5b7c46)=>{const _0x15cf0c=_0x4b1c64;for(var _0x5ece74=_0x5b7c46>0x1?void 0x0:_0x5b7c46?_0x132f52(_0x5ebf77,_0x230358):_0x5ebf77,_0x430c81=_0x53f962[_0x15cf0c(0x3ab)]-0x1,_0xc12f37;_0x430c81>=0x0;_0x430c81--)(_0xc12f37=_0x53f962[_0x430c81])&&(_0x5ece74=_0xc12f37(_0x5ece74)||_0x5ece74);return _0x5ece74;},_0x4d520e=(_0x14d7cc,_0x31820b)=>(_0x2ce417,_0x2a3c09)=>_0x31820b(_0x2ce417,_0x2a3c09,_0x14d7cc),_0x10a51c=(_0x4618aa,_0x1a1465,_0x42ece2)=>_0x14b63d(_0x4618aa,_0x1a1465+'',_0x42ece2);const _0xd355cb=_0x4b1c64(0x243);_0x49722f[_0x4b1c64(0x133)]=class extends _0x29c4b3[_0x4b1c64(0x189)]{constructor(_0x3c0a44=_0x2dffa1,_0x526642,_0x578b1f,_0x1ec38c){const _0x1e7cc2=_0x4b1c64;super(),this['_config']=_0x3c0a44,this[_0x1e7cc2(0x302)]=_0x526642,this[_0x1e7cc2(0x196)]=_0x578b1f,this['_configService']=_0x1ec38c;const {..._0x5bf72f}=_0x29c4b3['merge']({},_0x2dffa1,this['_config']);this['_configService'][_0x1e7cc2(0x266)](_0x2746ae,_0x5bf72f);}[_0x4b1c64(0x1c1)](){const _0x1a72ba=_0x4b1c64;this[_0x1a72ba(0x2eb)](),this[_0x1a72ba(0x3a4)]();}[_0x4b1c64(0x29d)](){const _0x3cd3b4=_0x4b1c64;this[_0x3cd3b4(0x1fe)]();}[_0x4b1c64(0x2eb)](){const _0x8de8ff=_0x4b1c64;var _0x2e300c;const _0x22136a=[[_0x51f35b],[_0x389715],[_0x454b82],[_0x291eea],[_0x4aa5f2],[_0x51a84b,{'useClass':_0x2d55e2}],[_0x393968['ISocketService'],{'useClass':_0x393968['WebSocketService']}],[_0xf9b925[_0x8de8ff(0x307)],{'useClass':_0x2fe909}],[_0x49722f[_0x8de8ff(0x2ff)]],[_0x1e9cfa],[_0x433de1],[_0x596c91],[_0x4e9cd5],[_0x49722f['CollaborationDataLoaderController']]];_0x29c4b3[_0x8de8ff(0x16c)](this[_0x8de8ff(0x196)],_0x29c4b3[_0x8de8ff(0x3b5)](_0x22136a,(_0x2e300c=this[_0x8de8ff(0x1a3)])==null?void 0x0:_0x2e300c[_0x8de8ff(0x35a)]));}['_registerRenderDependencies'](){const _0x3cefbe=_0x4b1c64;this[_0x3cefbe(0x1ad)](this[_0x3cefbe(0x302)][_0x3cefbe(0x1dc)](_0x29c4b3[_0x3cefbe(0x2d0)][_0x3cefbe(0x313)],[_0x230362])),this[_0x3cefbe(0x1ad)](this[_0x3cefbe(0x302)][_0x3cefbe(0x1dc)](_0x29c4b3[_0x3cefbe(0x2d0)][_0x3cefbe(0x2cd)],[_0x14c96b]));}[_0x4b1c64(0x3a4)](){const _0x4d0c24=_0x4b1c64;_0x29c4b3[_0x4d0c24(0x39f)](this[_0x4d0c24(0x196)],[[_0x596c91],[_0x49722f['DesktopCollaborationStatusDisplayController']],[_0x1e9cfa],[_0x433de1],[_0x49722f[_0x4d0c24(0x1fa)]]]);}},_0x10a51c(_0x49722f['UniverCollaborationClientUIPlugin'],_0x4b1c64(0x219),_0xd355cb),_0x49722f['UniverCollaborationClientUIPlugin']=_0x29b409([_0x29c4b3[_0x4b1c64(0x294)](_0xf9b925[_0x4b1c64(0x213)]),_0x4d520e(0x1,_0x12e223['IRenderManagerService']),_0x4d520e(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3['Injector'])),_0x4d520e(0x3,_0x29c4b3[_0x4b1c64(0x151)])],_0x49722f['UniverCollaborationClientUIPlugin']);var _0x96c83b=Object[_0x4b1c64(0x39e)],_0x415db8=(_0x8c79b2,_0xb6d386,_0x2cba81,_0x3b5088)=>{const _0x2ebd20=_0x4b1c64;for(var _0x503254=_0x3b5088>0x1?void 0x0:_0x3b5088?_0x96c83b(_0xb6d386,_0x2cba81):_0xb6d386,_0x4f5d5a=_0x8c79b2[_0x2ebd20(0x3ab)]-0x1,_0x3a0182;_0x4f5d5a>=0x0;_0x4f5d5a--)(_0x3a0182=_0x8c79b2[_0x4f5d5a])&&(_0x503254=_0x3a0182(_0x503254)||_0x503254);return _0x503254;},_0x1d195c=(_0x67ba35,_0x29a65e)=>(_0x3d1c61,_0x12ab3b)=>_0x29a65e(_0x3d1c61,_0x12ab3b,_0x67ba35);_0x49722f[_0x4b1c64(0x1fc)]=class extends _0xf9b925[_0x4b1c64(0x1ea)]{constructor(_0x1b213b,_0x14599a,_0x4bb0df,_0x27b2df,_0x319fdd){super(_0x1b213b,_0x14599a,_0x4bb0df,_0x27b2df,_0x319fdd);}async[_0x4b1c64(0x289)](_0x250849){const _0x4e8d9f=_0x4b1c64,_0x33c316=await this[_0x4e8d9f(0x312)](),_0x3386c4=this[_0x4e8d9f(0x245)](_0x250849,_0x33c316);return this[_0x4e8d9f(0x257)](_0x3386c4);}[_0x4b1c64(0x245)](_0x2672d6,_0x515673){const _0x2ba470=_0x4b1c64,_0x4c29cf=typeof window>'u'?new URL(_0x2672d6):new URL(_0x2672d6,window[_0x2ba470(0x1f5)][_0x2ba470(0x2d8)]);_0x4c29cf[_0x2ba470(0x241)][_0x2ba470(0x340)]('sessionTicket',_0x515673);const _0x335e9f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x335e9f[_0x2ba470(0x269)](_0x2ba470(0x3ba))&&_0x4c29cf[_0x2ba470(0x241)]['set'](_0x2ba470(0x3ba),_0x335e9f[_0x2ba470(0x269)](_0x2ba470(0x3ba))),_0x4c29cf[_0x2ba470(0x1b9)]();}async[_0x4b1c64(0x312)](){const _0x1723a8=_0x4b1c64;var _0x4c8071,_0x8c76a7,_0x2264aa;const _0x4e2468=this['_configService'][_0x1723a8(0x1ef)](_0xf9b925[_0x1723a8(0x2a9)]),_0x4a97ca=(_0x4c8071=_0x4e2468==null?void 0x0:_0x4e2468[_0x1723a8(0x374)])!=null?_0x4c8071:_0xf9b925['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2264aa=(_0x8c76a7=(await this[_0x1723a8(0x221)][_0x1723a8(0x269)](_0x4a97ca,{'headers':{'Content-Type':_0x1723a8(0x1ff)}}))[_0x1723a8(0x2a4)])==null?void 0x0:_0x8c76a7[_0x1723a8(0x13f)])!=null?_0x2264aa:'';}},_0x49722f[_0x4b1c64(0x1fc)]=_0x415db8([_0x1d195c(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x1d195c(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x393968['HTTPService'])),_0x1d195c(0x2,_0x29c4b3[_0x4b1c64(0x151)]),_0x1d195c(0x3,_0x29c4b3[_0x4b1c64(0x342)]),_0x1d195c(0x4,_0x53c7bc[_0x4b1c64(0x136)])],_0x49722f[_0x4b1c64(0x1fc)]);const _0x326e0f=0x7530,_0x181f92=_0x4b1c64(0x1f2);class _0x496986 extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(){const _0x383a17=_0x4b1c64;super(),_0x593db2(this,_0x383a17(0x2da),_0x29c4b3[_0x383a17(0x275)]()),_0x593db2(this,_0x383a17(0x1a0),new Set()),_0x593db2(this,'_unitOnClients',new Map()),_0x593db2(this,'_heartbeatTimer',null),_0x593db2(this,_0x383a17(0x2c4),new Map()),_0x593db2(this,_0x383a17(0x279),new Map()),this[_0x383a17(0x3b8)]();}[_0x4b1c64(0x1d7)](){const _0x1391b1=_0x4b1c64;super[_0x1391b1(0x1d7)](),this['_clearOtherTimers'][_0x1391b1(0x39a)]((_0x3b64bd,_0x4f8260)=>this['_removeClearOtherTimer'](_0x4f8260)),this[_0x1391b1(0x168)]&&window[_0x1391b1(0x134)](this[_0x1391b1(0x168)]);}[_0x4b1c64(0x2e8)](_0x2da8f1){const _0x5b4937=_0x4b1c64;return this['_ensureSubject'](_0x2da8f1)[_0x5b4937(0x37f)](_0x5cdc95[_0x5b4937(0x20f)]());}[_0x4b1c64(0x1d8)](_0x1e92a0){const _0x58d53e=_0x4b1c64;this['_selfUnitIDs'][_0x58d53e(0x1b0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x58d53e(0x1a0)][_0x58d53e(0x12f)](_0x1e92a0),this[_0x58d53e(0x35b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1e92a0],'isForwarded':!0x1});}[_0x4b1c64(0x3b6)](_0x13da2e){const _0x42e7cf=_0x4b1c64;this[_0x42e7cf(0x1a0)][_0x42e7cf(0x138)](_0x13da2e),this[_0x42e7cf(0x1a0)][_0x42e7cf(0x1b0)]===0x0&&this['_heartbeatTimer']&&window[_0x42e7cf(0x134)](this[_0x42e7cf(0x168)]);}[_0x4b1c64(0x3b8)](){const _0x333e0f=_0x4b1c64;this['disposeWithMe'](_0x29c4b3[_0x333e0f(0x1ed)](_0x5cdc95[_0x333e0f(0x322)](window,'storage')['subscribe'](_0x27527c=>{const _0x5ba8e8=_0x333e0f;if(_0x27527c[_0x5ba8e8(0x354)]!==_0x181f92||!_0x27527c[_0x5ba8e8(0x231)])return;const _0x4c5e85=JSON['parse'](_0x27527c[_0x5ba8e8(0x231)]);this[_0x5ba8e8(0x31e)](_0x4c5e85);}))),window[_0x333e0f(0x202)](_0x333e0f(0x378),()=>this['_send']({'type':0x1,'memberID':this[_0x333e0f(0x2da)],'unitIDs':Array[_0x333e0f(0x1e5)](this[_0x333e0f(0x1a0)])}));}[_0x4b1c64(0x31e)](_0x4f03b1){const _0x4f4bb1=_0x4b1c64;switch(_0x4f03b1['type']){case 0x0:this[_0x4f4bb1(0x160)](_0x4f03b1);break;case 0x1:this[_0x4f4bb1(0x141)](_0x4f03b1);break;case 0x2:this[_0x4f4bb1(0x179)](_0x4f03b1);break;}}['_handleJoinEvent'](_0x2b832d){const _0x1f6cd0=_0x4b1c64,{unitIDs:_0x475a00,memberID:_0x42593c,isForwarded:_0x599971}=_0x2b832d;_0x475a00[_0x1f6cd0(0x39a)](_0x23609e=>{const _0x3f8d6b=_0x1f6cd0;if(!_0x599971&&this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x14d)](_0x23609e)&&this[_0x3f8d6b(0x15d)](_0x23609e)[_0x3f8d6b(0x2d4)](_0xf9b925[_0x3f8d6b(0x2a3)]['OTHER_CLIENTS_EDITING']),!this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x14d)](_0x23609e)||!this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x269)](_0x23609e)['has'](_0x42593c)){const _0x49d936=this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x269)](_0x23609e)||new Set();_0x49d936[_0x3f8d6b(0x12f)](_0x42593c),this['_unitOnClients'][_0x3f8d6b(0x340)](_0x23609e,_0x49d936),this[_0x3f8d6b(0x2c2)](_0x42593c);}}),_0x599971||this[_0x1f6cd0(0x35b)]({'type':0x0,'memberID':this[_0x1f6cd0(0x2da)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4b1c64(0x2c2)](_0x43b65e){const _0x31a64e=_0x4b1c64;this[_0x31a64e(0x1eb)](_0x43b65e);const _0x2b90c3=window[_0x31a64e(0x35f)](()=>{const _0x27ca3e=_0x31a64e;this['_unitOnClients'][_0x27ca3e(0x39a)](_0x6ff9c=>{_0x6ff9c['delete'](_0x43b65e);});},_0x326e0f*0x2);this[_0x31a64e(0x2c4)][_0x31a64e(0x340)](_0x43b65e,_0x2b90c3);}[_0x4b1c64(0x1eb)](_0x17ddac){const _0x3c49eb=_0x4b1c64;if(this[_0x3c49eb(0x2c4)][_0x3c49eb(0x14d)](_0x17ddac)){const _0x5893ce=this['_clearOtherTimers'][_0x3c49eb(0x269)](_0x17ddac);_0x5893ce&&window[_0x3c49eb(0x2f3)](_0x5893ce),this['_clearOtherTimers'][_0x3c49eb(0x340)](_0x17ddac,null);}}[_0x4b1c64(0x141)](_0x4cb918){const _0x1580ae=_0x4b1c64,{memberID:_0x42fab5,unitIDs:_0x48192a}=_0x4cb918;_0x48192a['forEach'](_0x2a5bc7=>{const _0x29d1a3=_0x3c28;var _0x197cdd;const _0x57788c=this[_0x29d1a3(0x1f8)][_0x29d1a3(0x269)](_0x2a5bc7);_0x57788c&&(_0x57788c[_0x29d1a3(0x138)](_0x42fab5),(_0x197cdd=this[_0x29d1a3(0x15d)](_0x2a5bc7))==null||_0x197cdd[_0x29d1a3(0x2d4)](_0x57788c['size']===0x0?_0xf9b925['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0xf9b925[_0x29d1a3(0x2a3)][_0x29d1a3(0x376)]));}),this[_0x1580ae(0x1eb)](_0x42fab5);}[_0x4b1c64(0x179)](_0x492cb0){const _0x1110c4=_0x4b1c64;this[_0x1110c4(0x2c2)](_0x492cb0[_0x1110c4(0x220)]);}[_0x4b1c64(0x35b)](_0x32b6f1){const _0x5ef7e4=_0x4b1c64;localStorage[_0x5ef7e4(0x33f)](_0x181f92,JSON['stringify'](_0x32b6f1));}[_0x4b1c64(0x152)](){const _0x373f1f=_0x4b1c64;this[_0x373f1f(0x168)]=window[_0x373f1f(0x2fd)](()=>{const _0x4d0071=_0x373f1f;this[_0x4d0071(0x35b)]({'type':0x2,'memberID':this[_0x4d0071(0x2da)]});},_0x326e0f);}[_0x4b1c64(0x15d)](_0xe61b54){const _0x4016f0=_0x4b1c64;return this[_0x4016f0(0x279)][_0x4016f0(0x14d)](_0xe61b54)||this[_0x4016f0(0x279)][_0x4016f0(0x340)](_0xe61b54,new _0x5cdc95[(_0x4016f0(0x2b8))](_0xf9b925['UnitStatus'][_0x4016f0(0x2f1)])),this[_0x4016f0(0x279)][_0x4016f0(0x269)](_0xe61b54);}}var _0xa9bf15=(_0x4affea=>(_0x4affea[_0x4affea['UNDEFINED']=0x0]=_0x4b1c64(0x293),_0x4affea[_0x4affea['OK']=0x1]='OK',_0x4affea[_0x4affea[_0x4b1c64(0x19b)]=0x2]=_0x4b1c64(0x19b),_0x4affea[_0x4affea[_0x4b1c64(0x21b)]=0x3]=_0x4b1c64(0x21b),_0x4affea[_0x4affea[_0x4b1c64(0x2ef)]=0x4]=_0x4b1c64(0x2ef),_0x4affea[_0x4affea[_0x4b1c64(0x32f)]=0x5]=_0x4b1c64(0x32f),_0x4affea[_0x4affea[_0x4b1c64(0x298)]=0x6]='ALREADY_EXISTS',_0x4affea[_0x4affea[_0x4b1c64(0x285)]=0x7]=_0x4b1c64(0x285),_0x4affea[_0x4affea[_0x4b1c64(0x365)]=0x8]=_0x4b1c64(0x365),_0x4affea[_0x4affea[_0x4b1c64(0x147)]=0x9]='COMPLETION_FINISHED',_0x4affea[_0x4affea[_0x4b1c64(0x1d0)]=0xa]=_0x4b1c64(0x1d0),_0x4affea[_0x4affea[_0x4b1c64(0x20e)]=0x1389]=_0x4b1c64(0x20e),_0x4affea[_0x4affea['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4affea[_0x4affea['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4b1c64(0x21a),_0x4affea[_0x4affea[_0x4b1c64(0x28d)]=0x1773]=_0x4b1c64(0x28d),_0x4affea[_0x4affea[_0x4b1c64(0x13b)]=0x1b59]=_0x4b1c64(0x13b),_0x4affea[_0x4affea[_0x4b1c64(0x17e)]=0x1b5a]=_0x4b1c64(0x17e),_0x4affea[_0x4affea[_0x4b1c64(0x282)]=0x1b5b]=_0x4b1c64(0x282),_0x4affea[_0x4affea[_0x4b1c64(0x31d)]=0x1b5c]=_0x4b1c64(0x31d),_0x4affea[_0x4affea[_0x4b1c64(0x250)]=0x1b5d]=_0x4b1c64(0x250),_0x4affea[_0x4affea[_0x4b1c64(0x292)]=0x1f41]=_0x4b1c64(0x292),_0x4affea[_0x4affea[_0x4b1c64(0x31f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4affea[_0x4affea[_0x4b1c64(0x359)]=0x232a]=_0x4b1c64(0x359),_0x4affea[_0x4affea[_0x4b1c64(0x2fe)]=0x232b]=_0x4b1c64(0x2fe),_0x4affea[_0x4affea['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4b1c64(0x25b),_0x4affea[_0x4affea[_0x4b1c64(0x15f)]=0x232d]=_0x4b1c64(0x15f),_0x4affea[_0x4affea['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4b1c64(0x2fb),_0x4affea[_0x4affea[_0x4b1c64(0x2e2)]=0x2712]=_0x4b1c64(0x2e2),_0x4affea[_0x4affea[_0x4b1c64(0x2de)]=0x2713]=_0x4b1c64(0x2de),_0x4affea[_0x4affea[_0x4b1c64(0x22e)]=0x2714]=_0x4b1c64(0x22e),_0x4affea[_0x4affea['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4b1c64(0x295),_0x4affea[_0x4affea[_0x4b1c64(0x143)]=0x271b]=_0x4b1c64(0x143),_0x4affea[_0x4affea[_0x4b1c64(0x358)]=0x2af9]=_0x4b1c64(0x358),_0x4affea[_0x4affea['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4b1c64(0x162),_0x4affea[_0x4affea['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x4affea[_0x4affea[_0x4b1c64(0x383)]=0x2ee3]=_0x4b1c64(0x383),_0x4affea[_0x4affea['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4b1c64(0x3a2),_0x4affea[_0x4affea[_0x4b1c64(0x2a0)]=0x2ee5]=_0x4b1c64(0x2a0),_0x4affea[_0x4affea[_0x4b1c64(0x260)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4affea[_0x4affea['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4b1c64(0x3a9),_0x4affea[_0x4affea[_0x4b1c64(0x1ee)]=0x32cb]=_0x4b1c64(0x1ee),_0x4affea[_0x4affea['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4affea))(_0xa9bf15||{}),_0x332cb2=Object[_0x4b1c64(0x39e)],_0x23c571=(_0x16e158,_0x19abf3,_0x51f29a,_0x2646d6)=>{const _0x5ebc6f=_0x4b1c64;for(var _0x2ea23a=_0x2646d6>0x1?void 0x0:_0x2646d6?_0x332cb2(_0x19abf3,_0x51f29a):_0x19abf3,_0x2438d6=_0x16e158[_0x5ebc6f(0x3ab)]-0x1,_0x36c03c;_0x2438d6>=0x0;_0x2438d6--)(_0x36c03c=_0x16e158[_0x2438d6])&&(_0x2ea23a=_0x36c03c(_0x2ea23a)||_0x2ea23a);return _0x2ea23a;},_0x483e64=(_0xdff22d,_0x1d0f40)=>(_0x2c110f,_0x441abb)=>_0x1d0f40(_0x2c110f,_0x441abb,_0xdff22d);_0x49722f[_0x4b1c64(0x1cb)]=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0x2192ea,_0x168375,_0x22c811){const _0x1cf12a=_0x4b1c64;super(),this[_0x1cf12a(0x38b)]=_0x2192ea,this['_httpService']=_0x168375,this[_0x1cf12a(0x1af)]=_0x22c811;}async[_0x4b1c64(0x2d3)](_0x45319e,_0x47980a,_0x991fdd,..._0x304b20){const _0xd0d572=_0x4b1c64;var _0x6c7cc,_0xb10c8f,_0x3bccd5,_0x1037d1;const _0x5223ae=this['_instanceService']['getFocusedUnit']();if(!_0x5223ae)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d0298=((_0x6c7cc=this[_0xd0d572(0x1af)][_0xd0d572(0x1ef)](_0xf9b925[_0xd0d572(0x211)]))!=null?_0x6c7cc:_0xf9b925[_0xd0d572(0x33c)])+'/'+_0x45319e+_0xd0d572(0x2bc)+_0x47980a,_0x565289=new URL(window[_0xd0d572(0x1f5)][_0xd0d572(0x1ca)]),_0x21a009={'scriptId':_0x45319e,'runId':(_0xb10c8f=_0x565289[_0xd0d572(0x241)]['get'](_0xd0d572(0x3ba)))!=null?_0xb10c8f:'','function':_0x47980a,'unitId':_0x5223ae[_0xd0d572(0x14a)](),'argsOfFunction':JSON[_0xd0d572(0x2ba)](_0x304b20),'invokeId':(_0x3bccd5=_0x991fdd['invokeId'])!=null?_0x3bccd5:'','executionId':(_0x1037d1=_0x991fdd[_0xd0d572(0x18e)])!=null?_0x1037d1:''};try{const _0x576f52=await this[_0xd0d572(0x221)][_0xd0d572(0x2b1)](_0x5d0298,{'body':_0x21a009});return _0x576f52['body'][_0xd0d572(0x2c6)]&&_0x576f52[_0xd0d572(0x2a4)][_0xd0d572(0x2c6)][_0xd0d572(0x1d1)]!==_0xa9bf15['OK']?'Failed':_0x576f52[_0xd0d572(0x2a4)]['result'];}catch{return _0xd0d572(0x2a8);}}},_0x49722f[_0x4b1c64(0x1cb)]=_0x23c571([_0x483e64(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x483e64(0x1,_0x29c4b3['Inject'](_0x393968[_0x4b1c64(0x2fc)])),_0x483e64(0x2,_0x29c4b3['IConfigService'])],_0x49722f[_0x4b1c64(0x1cb)]),_0x49722f[_0x4b1c64(0x14f)]=_0xdda0fa,_0x49722f[_0x4b1c64(0x327)]=_0x51a84b,_0x49722f['SheetCollabCursorShape']=_0x245ec7,_0x49722f['WebBrowserSingleActiveUnitService']=_0x496986,_0x49722f[_0x4b1c64(0x351)]=_0x2d55e2,Object[_0x4b1c64(0x286)](_0x49722f,Symbol[_0x4b1c64(0x15b)],{'value':'Module'});}));function _0x3c28(_0x2f6daa,_0x53e7aa){const _0x5a2ef1=_0x5a2e();return _0x3c28=function(_0x3c2872,_0x46fe2a){_0x3c2872=_0x3c2872-0x123;let _0x21db77=_0x5a2ef1[_0x3c2872];return _0x21db77;},_0x3c28(_0x2f6daa,_0x53e7aa);}function _0x5a2e(){const _0xad5bfa=['moveTo','UniverSheets','onCommandExecuted','CollaborationUIEventService','_docTransformStateCacheService','createElement','setStateCache','0\x200\x2016\x2016','transform','_getSessionTicket','UNIVER_DOC','_syncEditingCollabCursorService','DOC_RANGE_TYPE','exports','fillText','xlink:href','idSuffix','MessageType','sessionStatus$','hide','APPLY_PERMISSION_DENIED','_handleEvent','LICENSE_MAX_UNITS_EXCEEDED','_startDocCollabCursor','20WeYHUs','fromEvent','getTypeOfUnitDisposed$','Shape','JOIN_ROOM_FAILED','_getScale','IURLService','registerComponent','SUBMIT_CHANGESET_TIMEOUT','transformSelections','getDocRanges','_docTransformSelectionsService','UPDATE_CURSOR','_document','UNAUTHENTICATED','UniverProCollaborationClientUi','NOT_COLLAB','width','Unknown\x20user','_color','takeUntil','subUnitId','UniverNetwork','INotificationService','forwardRef','_drawTextRange','on-line-single','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrent','addObjects','setItem','set','loadUnit','ILogService','_docClipboardService','422571nzLQOi','transformStateCache','indexOf','_dataLoaderService','getAncestorScale','init','SetSelectionsOperation','extend','fillStyle','type','_localStorageService','transformIMECache','tag','WebURLService','collabStatus.offline','getMemberID','key','updateOfflineData','roomMembers$','Disposable','PY_RUNTIME_SCRIPT_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','override','_send','8CSnxxJ','_cachedData','@univerjs/design','setTimeout','all','gold400','hovered','then','collab-text-anchor-','TOO_MANY_REQUESTS','handleIRemoveRow','getVpScrollXYInfoByPosToVp','column','disableLocalCache','RegularPolygon','[CollaborationDataLoaderController]','_lastPointer','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','icon','isTransformMutationFailure','375FekbUo','_online','_docTransformIMECacheService','endRow','wsSessionTicketUrl','concat','OTHER_CLIENTS_EDITING','onLocalMutation','unload','17058adeUsI','handleInsertRangeMoveRight','restore','current','isActive','_updateLocalCursor','pipe','_refreshCollabCursors','undoState','isArray','INVITE_CODE_REQUIRED','#fff','actions','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-rect-range-','setAlpha','rxjs','roomMembers','_instanceService','getStateCache','startColumn','random','off-line-single_clip0_910_343','_colorAssignService','getActiveRange','assignAColorForMemberID','blue400','handleDeleteRangeMoveLeft','getCurrentSelections','_collabCursorController','createInstance','round','lineTo','forEach','color','shareReplay','findNodePositionByCharIndex','getOwnPropertyDescriptor','touchDependencies','_handleHover','_initStatusComponent','USER_NOT_INVITED_CODE','svg','_initDependencies','CONFLICT','CollaborationController','_commandService','mutations','MOBILE_HAS_BEEN_BOUND','getViewport','length','_initEvent','_scheduleSaving','_removeCollabCursors','pushState','row','Error','red300','SheetsSelectionsService','EffectRefRangId','mergeOverrideWithDependencies','disposeUnit','_docSkeletonManagerService','_init','save','runId','name','81784VaydDQ','onPointerEnter$','_transformUndoRedoStack','_toggleOnline','defIds','session.will-retry','filter','setActiveRange','_notificationService','handleInsertRow','unitID','add','getSheetId','find','getParam','UniverCollaborationClientUIPlugin','clearInterval','441gqgESc','ISnapshotServerService','_backgroundColor','delete','_cursorShapes','clsx','APPLY_REJECT','subscribeEvent','getCurrentRevOfUnit','getMergeData','ticket','debounce','_handleLeaveEvent','_logService','YUUMI_ASYNCIO_CANCELLED','session.connection-failed','CollaborationUIEventId','_anchor','COMPLETION_FINISHED','SheetSkeletonManagerService','string','getUnitId','addHandlerCallback','TEXT','has','endColumn','CollaborationStatusDisplay','RxDisposable','IConfigService','_scheduleHeartbeat','currentTheme$','OnLineSingle','show','_toggleOffline','DocIMEInputManagerService','translate(.97)','SetTextSelectionsOperation','DocSkeletonManagerService','toStringTag','UniverEngineFormula','_ensureSubject','ONLINE','LICENSE_DISTRO_REJECTED','_handleJoinEvent','COLORS','INVITE_CODE_HAS_BEEN_UES','status$','LocaleService','_status$','flatMap','subunit','_heartbeatTimer','UniverSheetsUi','useObservable','setShapeProps','registerDependencies','_refRangeService','children','range','engine','enableLocalCache','@univerjs/engine-formula','_cursorInfo$','_startSheetCollabCursor','div','text','replace','collaboration.single-unit.warning','_handleHeartbeatEvent','displayName','getCollabCursors$','OffLineSingle','@univerjs/drawing','APPLY_NON_SEQUENTIAL_REVISION','object','_revisionService','ILocalStorageService','AWAITING_WITH_PENDING','unit','MUTATION','propertyIsEnumerable','_initResize','send','RefRangeService','Plugin','prototype','getActiveSheet','permission.title','resize','executionId','SetWorksheetActivateCommand','syncEditingCollabCursor','operators','call','0\x200\x2017\x2016','_docSyncEditingCollabCursorService','_transformService','_injector','collab-text-range-','registerBeforeClose','evenodd','getUniverSheetInstance','INTERNAL_ERROR','fillRule','ITransformService','Rect','1em','_selfUnitIDs','ranges','values','_config','unsubscribe','_drawAnchor','_getAnchorBounding','_setupSubUnitSync','collabCursorState$','transformRemoteChangeset','popstate','LOCAL_CACHE_INTERVAL','@univerjs/docs','disposeWithMe','M0\x200H16V16H0z','_configService','size','univerjs-icon\x20univerjs-icon-','TRANSFORM_CHANGE_OBSERVABLE_TYPE','unitId','params','handleInsertCol','replaceState','_localCacheService','IDocClipboardService','toString','with','_anchorDot','ThemeService','addObject','url(#$1','_beforeCloseService','SetDocZoomRatioOperation','onStarting','OFFLINE','getUndoRedoMutationParamsCache','none','m1Prime','DeleteRangeMoveLeftCommandId','skeleton','Rectangle','saveImage','href','RemoteUniscriptService','_initStatusListener','closePath','mapTo','_saveTaskMap','LOGIN_FAILED','code','_drawRectRange','IUniverInstanceService','assign','subscribe','_updateCollabCursors','dispose','editingUnit','TEXT_RANGE_LAYER_INDEX','amd','_session','registerRenderModule','event$','defs','attrs','_onCursorUpdate','NodePositionConvertToRectRange','_univerInstanceService','FETCH_MISS','getLocalCacheKey','from','_getSheetObject','addClipboardHook','hasOwnProperty','react','CollaborationSocketService','_removeClearOtherTimer','CLOSE_ROOM','toDisposable','EMAIL_HAS_BEEN_BOUND','getConfig','getCellPositionByOffset','MoveRangeCommandId','ACTIVE_UNIT_EVENT_CHANNEL','getFocusedUnit','history','location','measureText','currentColor','_unitOnClients','react/jsx-runtime','CollaborationDataLoaderController','function','BrowserCollaborationSocketService','getSheetObject','_registerRenderDependencies','application/json','deepClone','@univerjs/sheets','addEventListener','getRelativeToViewportCoord','_initCommandExecutedListener','_collabCursorState$','UniverDesign','_docStateChangeManagerService','_themeService','permission.content','black','mask','max','ICommandService','CHANGESET_REVISION_CONFILICT','distinctUntilChanged','InsertRowCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateURLWithCurrentState','UniverCollaborationClientPlugin','combineLatest','m2Prime','_hover','top','jiqing500','pluginName','SNAPSHOT_HAS_BEEN_REMOVED','PERMISSION_DENIED','beginPath','CollaborationSessionService','ColorKit','purple300','memberID','_httpService','InsertRangeMoveDownCommandId','getColor','getItem','switchMap','_transformHistoryAndStateStack','univer-text-green-500','UniverDocsUi','split','startsWith','_localeService','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformPreviousActiveRange','_hideTimer','newValue','bottom','_memberService','isTransformMutationsWithChangesetSuccess','cursorInfo$','map','entityInit$','CollaborationEvent','_getSaveTimeout','apply','_labelPosition','SYNCED','SOCKET_FAILED','focused$','_updateSubUnitFromURLParams','_messageService','searchParams','RemoveColCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','selection','_createSocketURL','activeSheet$','Inject','executeCommand','handleDeleteRangeMoveUp','React','@univerjs/core','_getMergeRange','@univerjs-pro/collaboration','onPointerLeave$','unshift','APPLY_DUPLICATED','3788519xlyZkK','collabStatus.conflict','_disabled','debounceTime','complete','Tools','_doCreateSocket','exhaustSavingTask','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_assignedColors','LICENSE_EXPORT_SIZE_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','sheetID','getCurrentUnitForType','IBeforeCloseService','WECHAT_HAS_BEEN_BOUND','push','2076760lZZDtQ','isEditing','IMessageService','getRenderById','setConfig','@univerjs/engine-render','jsxs','get','RECT','6700837kEVWJR','_range','collabStatus.notCollab','UniverCore','fromEventSubject','drawWith','CollaborationStatus','UniverRpc','cursorInfo','SOCKET_FAILED_RETRY','generateRandomId','_eventUnsubscribe','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','doc.mutation.rich-text-editing','_unitStatus','@univerjs/ui','selections','fill','dispose$','_setupBeforeClosingHandler','UniverUi','_cursor','whenReady','APPLY_REVISION_CONFILICT','Injector','createIdentifier','INVALID_ARGUMENT','defineProperty','_shapes','getRangePointData','createSocket','setParam','getSkeleton','session.collaboration-timeout','ENSURE_SNAPSHOT_EXECUTION','_entities','@univerjs/network','DocStateChangeManagerService','_entityInit$','CONNECTOR_DATA_TOO_LARGE','UNDEFINED','DependentOn','YUUMI_NO_CUBOID_FOR_QUESTION','_sheetSkeletonManagerService','UniverDrawing','ALREADY_EXISTS','DisposableCollection','SessionStatus','_cursors','useDependency','onRendered','_colorIndex','urlChange$','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','Warning','UnitStatus','body','transformMutationsWithChangeset','_collabSessionService','connectInjector','Failed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_context','_onCursorDelete','arc','_initEntityListener','getValue','_imageIoService','_roomMembers$','post','some','univer-flex\x20univer-items-center','saveTaskMap','on-line-single_clip0_910_349','toRgbString','replaceDocRanges','BehaviorSubject','font','stringify','trim','/run/','requireSession','height','collaboration-client-ui.config','_textBubble','BuiltInUIPart','_scheduleClearOtherTimer','FromArray','_clearOtherTimers','symbol','error','Vector2','_urlService','...','_collaborationController','textRanges','getUnhiddenWorksheets','UNIVER_SHEET','off-line-single','collaboration.closeRoom','UniverInstanceType','Optional','docStateChange$','runOnServer','next','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','labelPosition','origin','getCoordByCell','_id','substring','_hovered','data','YUUMI_RATE_OVER_LIMIT','Subject','min','debug','YUUMI_URL_COL_OUT_OF_RANGE','Tooltip','DocSelectionManagerService','collabStatus.syncing','_scene','@univerjs/sheets-ui','getUnitStatus$','_saveCache','path','_registerDependencies','asObservable','_onRefRangeChange','className','NOT_FOUND','eventID','NO_OTHER_CLIENTS_EDITING','_name','clearTimeout','makeDirty','getTypeOfUnitAdded$','registerRefRange','colorChannel1','getSheetBySheetId','_collaborationUIEventService','getMember','YUUMI_UNABLE_LOAD_URL','HTTPService','setInterval','LICENSE_IMPORT_SIZE_EXCEEDED','DesktopCollaborationStatusDisplayController','_uiPartsService','verdancy600','_renderManagerService','IUIPartsService','USERS_LEAVE','jsx','transformMutation','ILocalCacheService','144590OWgdLN'];_0x5a2e=function(){return _0xad5bfa;};return _0x5a2e();}
|