@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507121606 → 0.9.2-nightly.202507131606
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.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 _0x3c44(_0x24b865,_0x2831de){const _0x25ea23=_0x25ea();return _0x3c44=function(_0x3c4454,_0x15f2c3){_0x3c4454=_0x3c4454-0xa0;let _0x2c0469=_0x25ea23[_0x3c4454];return _0x2c0469;},_0x3c44(_0x24b865,_0x2831de);}function _0x25ea(){const _0x1ed084=['_onCursorUpdate','_collaborationController','removeParam','UNDEFINED','SessionStatus','disposeUnit','source','map','evenodd','error','params','LOCAL_CACHE_INTERVAL','setAlpha','_uiPartsService','transformStateCache','INTERNAL_ERROR','hide','handleInsertRangeMoveDown','generateRandomId','Module','uni.network.url-service','848184miUaOe','extend','call','with','setParam','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','roomMembers$','DeleteRangeMoveLeftCommandId','values','getTypeOfUnitAdded$','invokeId','LocaleService','clearInterval','measureText','send','_handleHeartbeatEvent','disposeWithMe','_heartbeatTimer','UniverCollaborationClientUIPlugin','_getSessionTicket','forwardRef','UniverRpc','WebBrowserSingleActiveUnitService','collab-text-anchor-','exports','UniverSheetsUi','trim','UniverIcon','newValue','_initEntityListener','unitId','_scheduleClearOtherTimer','_messageService','_anchorDot','purple.300','ILocalStorageService','_selfUnitIDs','unitID','5428fSsDeN','body','_hovered','LICENSE_DISTRO_REJECTED','subscribeEvent','UniverDrawing','searchParams','UniverDesign','PY_RUNTIME_SCRIPT_ERROR','_config','object','ISnapshotServerService','UniverInstanceType','LOCAL_CACHE_INTERVAL_KEY','Rectangle','_updateLocalCursor','handleInsertRangeMoveRight','onPointerLeave$','_setupSubUnitSync','getColor','path','onStarting','jsxs','_collabCursorState$','@univerjs/rpc','find','asObservable','_updateCollabCursors','syncEditingCollabCursor','onMouseMove','YUUMI_ASYNCIO_CANCELLED','_setupBeforeClosingHandler','Failed','xlink:href','getRenderById','IRemoteInstanceService','resize','_transformHistoryAndStateStack','_cursor','name','handleMoveRange','requireSession','_instanceService','contains','_unitOnClients','unit','registerRenderModule','_eventUnsubscribe','react','handleInsertCol','DeleteRangeMoveUpCommandId','InsertRangeMoveDownCommandId','createElement','_id','INotificationService','SOCKET_FAILED_RETRY','_removeClearOtherTimer','SYNCED','univer-flex\x20univer-items-center','getParam','clearTimeout','DisposableCollection','_collabSessionService','entries','_roomMembers$','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','subscribe','APPLY_REVISION_CONFILICT','pipe','YUUMI_ALL_TABLES_IS_INVALID','next','YUUMI_URL_COL_OUT_OF_RANGE','...','_docTransformIMECacheService','collabStatus.conflict','DocStateChangeManagerService','fromEventSubject','getTypeOfUnitDisposed$','getStateCache','DocCollaborationEntity','transform','ColorKit','getAncestorScale','_docSyncEditingCollabCursorService','restore','white','_registerDependencies','ThemeService','substring','CollaborationEvent','memberID','_name','SheetCollabCursorShape','transformByState','operators','then','isTransformMutationFailure','235BBNaMZ','getDocRanges','MemberService','CommandType','getUnhiddenWorksheets','_removeCollabCursors','Error','UniverEngineFormula','clipPath','hovered','replaceState','min','displayName','FETCH_MISS','831bgfihS','RichTextEditingMutation','APPLY_DUPLICATED','toString','popstate','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','icon','column','setActiveRange','doc.mutation.rich-text-editing','includes','getItem','pushState','_hideTimer','RxDisposable','YUUMI_UNABLE_LOAD_URL','UniverDocs','font','_docTransformSelectionsService','red.300','INVALID_INVITE_CODE','mapTo','UNRECOGNIZED','setStateCache','_transformPreviousActiveRange','getActiveSheet','_range','_startSheetCollabCursor','defIds','permission.content','init','SNAPSHOT_HAS_BEEN_REMOVED','onTransformChange$','executeCommand','MoveRangeCommandId','transformRemoteChangeset','_handleHover','_assignedColors','merge','Warning','CollaborationUIEventId','_drawRectRange','NOT_COLLAB','_getMergeRange','M0\x200H16V16H0z','APPLY_REJECT','_lastPointer','status$','357039zDKMXq','className','getCellPositionByOffset','getMember','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_themeService','eventID','ISocketService','registerDependencies','row','jiqing.500','EffectRefRangId','_collaborationUIEventService','HEADER_MENU','length','CollaborationSocketService','whenReady','unsubscribe','InsertColCommandId','UniverCore','UniverSheets','@univerjs/engine-formula','JOIN_ROOM_FAILED','BuiltInUIPart','_injector','selection','/run/','code','PERMISSION_DENIED','UniverDocsUi','IRenderManagerService','key','setShapeProps','_updateURLWithCurrentState','off-line-icon_clip0_910_343','DesktopCollaborationStatusDisplayController','getCollabCursors$','_sheetSkeletonManagerService','univerjs-icon\x20univerjs-icon-','distinctUntilChanged','tag','translate(.97)','_createSocketURL','setConfig','INVITE_CODE_HAS_BEEN_UES','registerBeforeClose','UNIVER_SHEET','_refreshCollabCursors','apply','CollaborationController','_hover','@univerjs/drawing','collaboration.single-unit.warning','getFocusedUnit','7948188hbyKBO','size','96SJZYBH','transformSelections','getOwnPropertySymbols','isActive','_getSaveTimeout','startsWith','DOC_RANGE_TYPE','SetSelectionsOperation','getCurrent','shareReplay','getSheetObject','replaceDocRanges','deserializeRangeWithSheet','isArray','getCurrentSelections','collab-client.tooltip.reconnect','fillRule','EMAIL_HAS_BEEN_BOUND','some','drawWith','add','propertyIsEnumerable','filter','round','transformMutation','deepClone','BehaviorSubject','collabStatus.offline','_color','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_collabCursorController','focused$','UPDATE_CURSOR','Rect','getCurrentRevOfUnit','INVITE_CODE_ALREADY_BOUND','string','runId','_notificationService','UnitStatus','_startDocCollabCursor','getOwnPropertyDescriptor','RemoteUniscriptService','max','RemoveColCommandId','BrowserCollaborationSocketService','_docClipboardService','@univerjs/docs','_online','none','ALREADY_EXISTS','isTransformMutationsWithChangesetSuccess','@univerjs/network','TEXT_RANGE_LAYER_INDEX','useRef','OnLineIcon','_toggleOnline','unshift','_memberService','YUUMI_RATE_OVER_LIMIT','_onRefRangeChange','attrs','handleIRemoveRow','_beforeCloseService','loadOfflineData','height','_updateSubUnitFromURLParams','INVALID_ARGUMENT','USER_NOT_INVITED_CODE','_cursorShapes','all','_drawAnchor','div','COMPLETION_FINISHED','dispose','blue.400','closePath','symbol','http://www.w3.org/2000/svg','toDisposable','_logService','runRefRangeMutations','indexOf','_ensureSubject','override','ICommandService','imageSourceType','mask','startRow','concat','switchMap','getConfig','_labelPosition','setUndoRedoMutationParamsCache','_getScale','_initResize','_cursors','idSuffix','_saveTaskMap','_initDependencies','handleDeleteRangeMoveLeft','_initStatusListener','executionId','updateOfflineData','@univerjs/sheets','lineTo','subunit','RefRangeService','_textBubble','setTimeout','addHandlerCallback','MOBILE_HAS_BEEN_BOUND','CollaborationStatus','arc','CollaborationUIEventService','color','UniverCollaborationClientPlugin','mergeOverrideWithDependencies','UNAUTHENTICATED','createInstance','getUnitId','_transformService','_renderManagerService','_handleEvent','split','session.connection-failed','combineLatest','Optional','_onCursorDelete','redoState','bottom','session.will-retry','IUIPartsService','complete','text','_colorIndex','m2Prime','set','getMergeData','url(#on-line-icon_clip0_910_349)','getActiveRange','forEach','WECHAT_HAS_BEEN_BOUND','SetDocZoomRatioOperation','CollaborationStatusDisplay','textRanges','UniverProCollaborationClientUi','setInterval','getSkeleton','APPLY_PERMISSION_DENIED','_localStorageService','children','LICENSE_IMPORT_SIZE_EXCEEDED','_revisionService','_dataLoaderService','moveTo','Unknown\x20user','makeDirty','range','SheetSkeletonManagerService','_getSheetObject','OffLineIcon','APPLY_NON_SEQUENTIAL_REVISION','RECT','assign','collaboration.closeRoom','_colorAssignService','_syncEditingCollabCursorService','DataLoaderService','debug','_scene','beginPath','random','clsx','colorChannel1','IConfigService','wsSessionTicketUrl','sheetId','_saveCache','ENSURE_SNAPSHOT_EXECUTION','getRelativeToViewportCoord','useCallback','IUniverInstanceService','TEXT','_cursorInfo$','saveTaskMap','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isEditing','handleIRemoveCol','NOT_FOUND','DocIMEInputManagerService','DocSkeletonManagerService','on-line-icon_clip0_910_349','Plugin','_drawTextRange','_unitStatus','_refRangeService','getMemberID','addObject','collab-rect-range-','has','_commandService','jsx','rxjs','exhaustSavingTask','10lAsgmA','Inject','session.collaboration-timeout','_draw','SHEET_VIEWPORT_KEY','RegularPolygon','url(#$1','m1Prime','getLocalCacheKey','IMessageService','toRgbString','svg','_send','getUniverSheetInstance','AWAITING_WITH_PENDING','LOGIN_FAILED','toStringTag','MessageType','_render','UNIVER_DOC','ITransformService','getSheetBySheetId','startColumn','Tooltip','type','UniverProCollaborationClient','_status$','0\x200\x2017\x2016','YUUMI_NO_CUBOID_FOR_QUESTION','_session','_handleJoinEvent','show','mutations','width','_localCacheService','Vector2','defineProperty','CONFLICT','Tools','Disposable','_getAnchorBounding','transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','reconnect','SheetsSelectionsService','React','editingUnit','location','from','_registerRenderDependencies','ILocalCacheService','COLORS','roomMembers','getVpScrollXYInfoByPosToVp','YUUMI_SUBSCRIPTION_NOT_FOUND','ILogService','_entities','getOffsetConfig','currentColor','registerRefRange','onLocalMutation','NodePositionConvertToCursor','SetWorksheetActivateCommand','DEFAULT_WS_SESSION_TICKET_URL','transformMutationsWithChangeset','saveOfflineData','@univerjs/ui','getSheetId','_httpService','CollaborationDataLoaderController','_localeService','_backgroundColor','debounceTime','CHANGESET_REVISION_CONFILICT','backgroundColor','_docSkeletonManagerService','debounce','collabStatus.syncing','flatMap','DocSelectionManagerService','FromArray','CONNECTOR_DATA_TOO_LARGE','27236858iofEAD','_docStateChangeManagerService','getValue','_cachedData','get','black','_init','_toggleOffline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','serializeRangeWithSheet','data','@univerjs-pro/collaboration-client','use','replace','fill','history','Shape','TOO_MANY_REQUESTS','_entityInit$','UniverEngineRender','_initEvent','green.600','fromEvent','save','IDocClipboardService','findNodePositionByCharIndex','rxjs/operators','ranges','AWAITING','labelPosition','dispose$','subUnitId','event$','push','connectInjector','collaboration-client-ui.config','_anchor','triggerDblclick','_disabled','HTTPService','112920ynIQea','onCommandExecuted','post','OFFLINE','result','_shapes','sheetID','VIEW_MAIN','fillStyle','EMAIL_VERIFY_CODE_MISMATCH','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveRightCommandId','_univerInstanceService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_LEAVE','entityInit$','function','YUUMI_CONNECTOR_URL_NOT_FOUND','_document','getColorFromTheme','OTHER_CLIENT_EDITING','INVITE_CODE_REQUIRED','setItem','on-line-icon','MOBILE_VERIFY_CODE_MISMATCH','666561iAWXjl','_urlService','_context','DependentOn','amd','throttleTime','_transformUndoRedoStack','href','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_configService','1em','storage','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','useDependency','_clearOtherTimers','urlChange$','[CollaborationDataLoaderController]','_doCreateSocket','prototype','SetTextSelectionsOperation','cursorInfo$','currentTheme$','cursorInfo','UniverProCollaboration','RemoveRowCommandId','YUUMI_AI_RUN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','takeUntil','ONLINE','NO_OTHER_CLIENTS_EDITING','undoState','PENDING','createIdentifier','ACTIVE_UNIT_EVENT_CHANNEL','Injector','endRow','defs','runOnServer','delete','assignAColorForMemberID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','selections'];_0x25ea=function(){return _0x1ed084;};return _0x25ea();}(function(_0x4ff8bf,_0x183e48){const _0x219727=_0x3c44,_0x48d8e3=_0x4ff8bf();while(!![]){try{const _0x2378ba=parseInt(_0x219727(0x264))/0x1+parseInt(_0x219727(0x19e))/0x2+-parseInt(_0x219727(0x234))/0x3*(-parseInt(_0x219727(0x1c4))/0x4)+parseInt(_0x219727(0x226))/0x5*(-parseInt(_0x219727(0x146))/0x6)+-parseInt(_0x219727(0x15f))/0x7*(parseInt(_0x219727(0x29d))/0x8)+parseInt(_0x219727(0x29b))/0x9*(-parseInt(_0x219727(0xcb))/0xa)+parseInt(_0x219727(0x11e))/0xb;if(_0x2378ba===_0x183e48)break;else _0x48d8e3['push'](_0x48d8e3['shift']());}catch(_0x3bb586){_0x48d8e3['push'](_0x48d8e3['shift']());}}}(_0x25ea,0xb073e),function(_0x5c2717,_0x23e854){const _0x287ed9=_0x3c44;typeof exports==_0x287ed9(0x1ce)&&typeof module<'u'?_0x23e854(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x287ed9(0x156)&&define[_0x287ed9(0x163)]?define([_0x287ed9(0x1b6),_0x287ed9(0x129),'@univerjs/core','@univerjs/engine-render',_0x287ed9(0x2d1),'@univerjs/docs-ui',_0x287ed9(0x298),_0x287ed9(0xc9),'@univerjs-pro/collaboration',_0x287ed9(0x2cc),_0x287ed9(0x27a),_0x287ed9(0x305),_0x287ed9(0x138),'@univerjs/sheets-ui','react/jsx-runtime',_0x287ed9(0x10e),'@univerjs/design',_0x287ed9(0x1f4),_0x287ed9(0x1dc)],_0x23e854):(_0x5c2717=typeof globalThis<'u'?globalThis:_0x5c2717||self,_0x23e854(_0x5c2717[_0x287ed9(0x32f)]={},_0x5c2717[_0x287ed9(0xe4)],_0x5c2717[_0x287ed9(0x278)],_0x5c2717[_0x287ed9(0x131)],_0x5c2717['UniverNetwork'],_0x5c2717[_0x287ed9(0x282)],_0x5c2717[_0x287ed9(0x1c9)],_0x5c2717[_0x287ed9(0xc9)],_0x5c2717[_0x287ed9(0x176)],_0x5c2717[_0x287ed9(0x244)],_0x5c2717[_0x287ed9(0x22d)],_0x5c2717[_0x287ed9(0x279)],_0x5c2717[_0x287ed9(0xc9)][_0x287ed9(0x223)],_0x5c2717[_0x287ed9(0x1b7)],_0x5c2717['React'],_0x5c2717['UniverUi'],_0x5c2717[_0x287ed9(0x1cb)],_0x5c2717[_0x287ed9(0xf9)],_0x5c2717[_0x287ed9(0x1b3)]));}(this,function(_0x5256df,_0x488a8d,_0x462f43,_0x389dd5,_0x5d82a4,_0x585373,_0x4367d2,_0x498e14,_0x1b50bd,_0x1d9b1f,_0x3c817f,_0x2e5ecc,_0x333d76,_0x4ee8a2,_0x352544,_0x2378be,_0x1409c0,_0x4ced61,_0xeaed05){'use strict';const _0x3f5677=_0x3c44;var _0x37d572=Object[_0x3f5677(0xef)],_0x1b7aaf=(_0x1696c6,_0x6da83d,_0x15f5f1)=>_0x6da83d in _0x1696c6?_0x37d572(_0x1696c6,_0x6da83d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15f5f1}):_0x1696c6[_0x6da83d]=_0x15f5f1,_0x1f134d=(_0x39fb4e,_0x50b284,_0x611f9b)=>_0x1b7aaf(_0x39fb4e,typeof _0x50b284!=_0x3f5677(0x2ea)?_0x50b284+'':_0x50b284,_0x611f9b),_0x10961d=Object[_0x3f5677(0x2c6)],_0x197608=(_0x193eb0,_0x4445e2,_0x71ed2a,_0x3d69d4)=>{const _0x359515=_0x3f5677;for(var _0x79ef6b=_0x3d69d4>0x1?void 0x0:_0x3d69d4?_0x10961d(_0x4445e2,_0x71ed2a):_0x4445e2,_0x4f497a=_0x193eb0[_0x359515(0x273)]-0x1,_0x303821;_0x4f497a>=0x0;_0x4f497a--)(_0x303821=_0x193eb0[_0x4f497a])&&(_0x79ef6b=_0x303821(_0x79ef6b)||_0x79ef6b);return _0x79ef6b;},_0x49c0cb=(_0x3781ff,_0x522258)=>(_0x449550,_0x109c4e)=>_0x522258(_0x449550,_0x109c4e,_0x3781ff);let _0x350b31=class extends _0x462f43['RxDisposable']{constructor(_0x11ad23,_0x5764e3){const _0x4c0f72=_0x3f5677;super(),this[_0x4c0f72(0x2cb)]=_0x11ad23,this['_imageIoService']=_0x5764e3,this[_0x4c0f72(0x124)]();}[_0x3f5677(0x124)](){const _0x88c8d4=_0x3f5677,_0x38d132=this;this[_0x88c8d4(0x1ae)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x59b351=>{const _0x1b7d50=_0x88c8d4,_0x3ed548=await _0x38d132['_imageIoService']['saveImage'](_0x59b351);return _0x3ed548?{'source':_0x3ed548[_0x1b7d50(0x18f)],'imageSourceType':_0x3ed548[_0x1b7d50(0x2f3)]}:null;}}));}};_0x350b31=_0x197608([_0x49c0cb(0x0,_0x585373[_0x3f5677(0x136)]),_0x49c0cb(0x1,_0x4367d2['IImageIoService'])],_0x350b31);const _0x6a4fea=[_0x3f5677(0x1c0),_0x3f5677(0x26f),_0x3f5677(0x133),_0x3f5677(0x247),_0x3f5677(0x2e8),'yellow.400'];class _0x560e46 extends _0x462f43['Disposable']{constructor(){const _0x3cc926=_0x3f5677;super(...arguments),_0x1f134d(this,'_assignedColors',new Map()),_0x1f134d(this,_0x3cc926(0x324),0x0);}[_0x3f5677(0x186)](_0x2c60bf){const _0x455279=_0x3f5677;if(this[_0x455279(0x259)][_0x455279(0xc6)](_0x2c60bf))return this[_0x455279(0x259)][_0x455279(0x122)](_0x2c60bf);const _0x580ab1=_0x6a4fea[this['_colorIndex']];return this['_colorIndex']=(this[_0x455279(0x324)]+0x1)%_0x6a4fea['length'],this['_assignedColors']['set'](_0x2c60bf,_0x580ab1),_0x580ab1;}}function _0x12c49b(_0x26d24d){const _0x577c32=_0x3f5677;let _0x1d02d='';for(const _0x11efb7 of _0x26d24d){const {startOffset:_0x5f581d,endOffset:_0x16fab8,isActive:_0x45c453,rangeType:_0x33f06d,segmentId:_0x1aa9e9,segmentPage:_0x1b3126}=_0x11efb7;_0x1d02d[_0x577c32(0x273)]&&(_0x1d02d+=','),_0x1d02d+=_0x5f581d+':'+_0x16fab8+':'+(_0x45c453?'1':'0')+':'+_0x33f06d+':'+_0x1aa9e9+':'+_0x1b3126;}return _0x1d02d;}function _0x56fe0e(_0x7c7c68){const _0x18885e=_0x3f5677,_0x4074fd=_0x7c7c68[_0x18885e(0x319)](','),_0x785c2a=[];for(const _0x4f851b of _0x4074fd){const [_0x12327d,_0x59d005,_0xfa5c30,_0x5be7d1,_0x2d816d,_0x3b9209]=_0x4f851b['split'](':');_0x785c2a[_0x18885e(0x13f)]({'startOffset':Number(_0x12327d),'endOffset':Number(_0x59d005),'collapsed':_0x12327d===_0x59d005,'isActive':_0xfa5c30==='1','rangeType':_0x5be7d1===_0x462f43[_0x18885e(0x2a3)][_0x18885e(0xb5)]?_0x462f43[_0x18885e(0x2a3)][_0x18885e(0xb5)]:_0x462f43[_0x18885e(0x2a3)][_0x18885e(0xa1)],'segmentId':typeof _0x2d816d==_0x18885e(0x2c1)?String(_0x2d816d):'','segmentPage':Number(_0x3b9209!=null?_0x3b9209:-0x1)});}return _0x785c2a[_0x18885e(0x2af)](_0x29448f=>_0x29448f[_0x18885e(0x2a0)])||(_0x785c2a[0x0][_0x18885e(0x2a0)]=!0x0),_0x785c2a;}class _0x4c0987 extends _0x462f43[_0x3f5677(0x242)]{constructor(){const _0xb27854=_0x3f5677;super(...arguments),_0x1f134d(this,_0xb27854(0x1db),new _0x498e14['BehaviorSubject'](null)),_0x1f134d(this,'collabCursorState$',this[_0xb27854(0x1db)]['asObservable']());}[_0x3f5677(0x1e0)](_0x26f747){const _0x1a3573=_0x3f5677,{unitID:_0x48dacb,memberID:_0x2a140,textRanges:_0x441f0c}=_0x26f747,_0x25b7f7=_0x12c49b(_0x441f0c);if(_0x25b7f7==='')return;const _0x4e1541={'unitID':_0x48dacb,'memberID':_0x2a140,'selection':_0x25b7f7};this[_0x1a3573(0x1db)][_0x1a3573(0x20b)](_0x4e1541);}}var _0x21c4c7=Object[_0x3f5677(0x2c6)],_0x59194e=(_0x2838af,_0x277786,_0x3b976b,_0x3b8660)=>{const _0x521906=_0x3f5677;for(var _0x51fac3=_0x3b8660>0x1?void 0x0:_0x3b8660?_0x21c4c7(_0x277786,_0x3b976b):_0x277786,_0x582d1b=_0x2838af[_0x521906(0x273)]-0x1,_0x354024;_0x582d1b>=0x0;_0x582d1b--)(_0x354024=_0x2838af[_0x582d1b])&&(_0x51fac3=_0x354024(_0x51fac3)||_0x51fac3);return _0x51fac3;},_0x7aa94e=(_0x46b01b,_0x16fc43)=>(_0x13c179,_0x5e4b5b)=>_0x16fc43(_0x13c179,_0x5e4b5b,_0x46b01b);const _0x4dc24c=0x12c,_0x4390c0=0x64;let _0x43e1e7=class extends _0x462f43[_0x3f5677(0x242)]{constructor(_0x113573,_0x184ef1,_0x5b0224,_0x5bdd90,_0x371299,_0x87ab7e,_0x119a21,_0x5b2f01,_0x2dff9d){const _0x198860=_0x3f5677;super(),_0x1f134d(this,_0x198860(0x2cd),!0x1),_0x1f134d(this,_0x198860(0x124),!0x1),_0x1f134d(this,_0x198860(0xb6),new _0x498e14[(_0x198860(0x2b7))](new Map())),_0x1f134d(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1f134d(this,_0x198860(0x204),new _0x498e14[(_0x198860(0x2b7))]([])),_0x1f134d(this,_0x198860(0x1a4),this[_0x198860(0x204)][_0x198860(0x209)](_0x498e14['debounceTime'](_0x4dc24c))),_0x1f134d(this,'_updateLocalCursor',_0x462f43['debounce'](_0x34fb59=>{const _0x44afd7=_0x198860,_0x10cf9a={'eventID':_0x1b50bd['CollaborationEvent'][_0x44afd7(0x2bd)],'data':{'unitID':this[_0x44afd7(0x1c3)],'memberID':this[_0x44afd7(0xe8)][_0x44afd7(0xc3)](),'selection':_0x12c49b(_0x34fb59)}};this[_0x44afd7(0xe8)][_0x44afd7(0x1ac)](_0x10cf9a,this[_0x44afd7(0x1c3)]);},_0x4390c0)),(this['unitID']=_0x113573,this[_0x198860(0xe8)]=_0x184ef1,this['_injector']=_0x5b0224,this[_0x198860(0xa4)]=_0x5bdd90,this[_0x198860(0x2d7)]=_0x371299,this[_0x198860(0xa5)]=_0x87ab7e,this[_0x198860(0x316)]=_0x119a21,this[_0x198860(0x152)]=_0x5b2f01,this[_0x198860(0xc7)]=_0x2dff9d);}get[_0x3f5677(0x175)](){const _0x18453f=_0x3f5677;return this[_0x18453f(0xb6)][_0x18453f(0x120)]();}get[_0x3f5677(0x100)](){const _0x32371b=_0x3f5677;return this['_roomMembers$'][_0x32371b(0x120)]();}[_0x3f5677(0x2e7)](){const _0x58dd02=_0x3f5677;super['dispose'](),this[_0x58dd02(0xb6)][_0x58dd02(0x20b)](new Map()),this[_0x58dd02(0xb6)][_0x58dd02(0x322)](),this[_0x58dd02(0x204)][_0x58dd02(0x20b)]([]),this[_0x58dd02(0x204)]['complete']();}[_0x3f5677(0x252)](){const _0x3cdce3=_0x3f5677;this[_0x3cdce3(0x124)]||(this[_0x3cdce3(0x124)]=!0x0,this['_session']['sessionStatus$'][_0x3cdce3(0x209)](_0x498e14['takeUntil'](this['dispose$']))['subscribe'](_0x2183b2=>{const _0x540765=_0x3cdce3;_0x2183b2===_0x488a8d[_0x540765(0x18d)][_0x540765(0x17b)]?this[_0x540765(0x2d5)]():this[_0x540765(0x125)]();}),this[_0x3cdce3(0xe8)][_0x3cdce3(0x13e)][_0x3cdce3(0x209)](_0x498e14[_0x3cdce3(0x17a)](this[_0x3cdce3(0x13c)]))['subscribe'](_0x4db7f7=>{const _0x445669=_0x3cdce3,_0x5bc9f5=_0x4db7f7[_0x445669(0x26b)];_0x5bc9f5===_0x1b50bd[_0x445669(0x21e)][_0x445669(0x2bd)]&&this['_onCursorUpdate'](_0x4db7f7),_0x5bc9f5===_0x1b50bd[_0x445669(0x21e)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4db7f7);}),this[_0x3cdce3(0x1ae)](this[_0x3cdce3(0xc7)]['onCommandExecuted'](_0x508149=>{const _0x7d1428=_0x3cdce3,_0x3ba74e=_0x508149[_0x7d1428(0x193)];_0x3ba74e!=null&&this[_0x7d1428(0x2cd)]&&_0x508149['id']===_0x1d9b1f[_0x7d1428(0x172)]['id']&&_0x3ba74e[_0x7d1428(0x1bc)]===this['unitID']&&_0x3ba74e[_0x7d1428(0xb9)]===!0x1&&_0x3ba74e[_0x7d1428(0x139)][_0x7d1428(0x273)]>0x0&&this[_0x7d1428(0x1d3)](_0x3ba74e['ranges']);})),this[_0x3cdce3(0xa5)]['collabCursorState$'][_0x3cdce3(0x209)](_0x498e14[_0x3cdce3(0x17a)](this[_0x3cdce3(0x13c)]))['subscribe'](_0x3709f1=>{const _0x3a64ee=_0x3cdce3;if((_0x3709f1==null?void 0x0:_0x3709f1[_0x3a64ee(0x1c3)])!==this[_0x3a64ee(0x1c3)])return;const _0x3b2ce1={'eventID':_0x1b50bd['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x3709f1};this[_0x3a64ee(0x189)](_0x3b2ce1);}),this[_0x3cdce3(0x1ae)](this[_0x3cdce3(0xc7)]['onCommandExecuted'](_0x4e54a1=>{const _0x4c12f6=_0x3cdce3;if(_0x4e54a1['params']==null)return;const _0x59859d=_0x4e54a1[_0x4c12f6(0x193)];if(_0x4e54a1['id']!==_0x1d9b1f[_0x4c12f6(0x235)]['id']||_0x59859d[_0x4c12f6(0x1bc)]!==this[_0x4c12f6(0x1c3)])return;const _0x542df0={'id':_0x4c12f6(0x23d),'params':_0x59859d},_0x26d9bb=this[_0x4c12f6(0x175)];for(const [_0x3f8028,_0x53d2f0]of _0x26d9bb){const _0x369951={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c12f6(0x1c3)],'actions':null,'textRanges':_0x53d2f0[_0x4c12f6(0x139)]}},_0x3b72ae=this[_0x4c12f6(0x316)][_0x4c12f6(0x2b5)](_0x542df0,_0x369951,!0x1);if(_0x1b50bd['isTransformMutationFailure'](_0x3b72ae))throw _0x3b72ae['error'];_0x26d9bb[_0x4c12f6(0x326)](_0x3f8028,{..._0x53d2f0,'ranges':_0x3b72ae[_0x4c12f6(0x325)][_0x4c12f6(0x193)][_0x4c12f6(0x32e)]});}queueMicrotask(()=>{const _0x1f42c2=_0x4c12f6;this[_0x1f42c2(0xb6)]['next'](_0x26d9bb);});})));}[_0x3f5677(0x189)](_0x1aa444){const _0x1d5374=_0x3f5677;var _0x1db459,_0x54f3bc;const {memberID:_0x467d85,selection:_0x9d6404}=_0x1aa444[_0x1d5374(0x128)],_0xcf4c92=_0x56fe0e(_0x9d6404),_0x2e59bf=(_0x54f3bc=(_0x1db459=this[_0x1d5374(0x2d7)][_0x1d5374(0x267)](this[_0x1d5374(0x1c3)],_0x467d85))==null?void 0x0:_0x1db459[_0x1d5374(0x1eb)])!=null?_0x54f3bc:_0x1d5374(0x339),_0x7e5cfb={'color':this[_0x1d5374(0xa4)][_0x1d5374(0x186)](_0x467d85),'name':_0x2e59bf,'ranges':_0xcf4c92},_0x55ff43=this[_0x1d5374(0x175)];_0x55ff43[_0x1d5374(0x326)](_0x467d85,_0x7e5cfb),this[_0x1d5374(0xb6)][_0x1d5374(0x20b)](_0x55ff43);}[_0x3f5677(0x31d)](_0x2faee6){const _0x361ec4=_0x3f5677,{memberID:_0x27f373}=_0x2faee6[_0x361ec4(0x128)],_0x513e87=this['cursorInfo'];_0x513e87['delete'](_0x27f373),this['_cursorInfo$'][_0x361ec4(0x20b)](_0x513e87);}[_0x3f5677(0x2d5)](){const _0x1eec19=_0x3f5677;var _0x158bae;if(this['_online']=!0x0,((_0x158bae=this[_0x1eec19(0x152)][_0x1eec19(0x29a)]())==null?void 0x0:_0x158bae[_0x1eec19(0x315)]())!==this[_0x1eec19(0x1c3)])return;const _0x26c942=this[_0x1eec19(0x27d)][_0x1eec19(0x122)](_0x1d9b1f[_0x1eec19(0x11b)])['getDocRanges']();Array['isArray'](_0x26c942)&&_0x26c942['length']>0x0&&this[_0x1eec19(0x1d3)](_0x26c942);}['_toggleOffline'](){const _0x39ae0c=_0x3f5677;this[_0x39ae0c(0x2cd)]=!0x1;}};_0x43e1e7=_0x59194e([_0x7aa94e(0x2,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x181)])),_0x7aa94e(0x3,_0x462f43[_0x3f5677(0xcc)](_0x560e46)),_0x7aa94e(0x4,_0x462f43[_0x3f5677(0xcc)](_0x488a8d[_0x3f5677(0x228)])),_0x7aa94e(0x5,_0x462f43[_0x3f5677(0xcc)](_0x4c0987)),_0x7aa94e(0x6,_0x1b50bd[_0x3f5677(0xdf)]),_0x7aa94e(0x7,_0x462f43[_0x3f5677(0xb4)]),_0x7aa94e(0x8,_0x462f43['ICommandService'])],_0x43e1e7);var _0x48c873=Object[_0x3f5677(0x2c6)],_0x455a33=(_0x27e59d,_0x40fbd8,_0x4d9dce,_0x42852a)=>{const _0x25e430=_0x3f5677;for(var _0x3a7ab3=_0x42852a>0x1?void 0x0:_0x42852a?_0x48c873(_0x40fbd8,_0x4d9dce):_0x40fbd8,_0x6feb04=_0x27e59d[_0x25e430(0x273)]-0x1,_0x4303ed;_0x6feb04>=0x0;_0x6feb04--)(_0x4303ed=_0x27e59d[_0x6feb04])&&(_0x3a7ab3=_0x4303ed(_0x3a7ab3)||_0x3a7ab3);return _0x3a7ab3;},_0x302490=(_0xf7bbc0,_0x4ce9ed)=>(_0x48554,_0x252b0e)=>_0x4ce9ed(_0x48554,_0x252b0e,_0xf7bbc0);const _0x5e4928=0x12c,_0x5b564f=0x64,_0x5b8357=()=>{let _0x4823e1=[],_0x513391=!0x1;return _0x4d3efd=>{_0x4823e1['push'](_0x4d3efd),_0x513391||(_0x513391=!0x0,setTimeout(()=>{const _0x23a820=_0x3c44;_0x4823e1[_0x23a820(0x32a)](_0xb35bc3=>_0xb35bc3()),_0x4823e1=[],_0x513391=!0x1;}));};};let _0x1f3499=class extends _0x462f43['RxDisposable']{constructor(_0x4ceb48,_0x190c4c,_0x45e7ba,_0x3e4115,_0x252af8,_0x2002e9,_0x439410,_0x41c5bf){const _0x2f8d71=_0x3f5677;super(),_0x1f134d(this,_0x2f8d71(0x2cd),!0x1),_0x1f134d(this,_0x2f8d71(0x124),!0x1),_0x1f134d(this,_0x2f8d71(0xb6),new _0x498e14[(_0x2f8d71(0x2b7))](new Map())),_0x1f134d(this,_0x2f8d71(0x173),this['_cursorInfo$'][_0x2f8d71(0x1de)]()),_0x1f134d(this,_0x2f8d71(0x204),new _0x498e14[(_0x2f8d71(0x2b7))]([])),_0x1f134d(this,_0x2f8d71(0x1a4),this[_0x2f8d71(0x204)][_0x2f8d71(0x209)](_0x498e14[_0x2f8d71(0x114)](_0x5e4928))),_0x1f134d(this,_0x2f8d71(0x1d3),_0x462f43[_0x2f8d71(0x118)]((_0x5691ba,_0x4463f4)=>{const _0x5f51fb=_0x2f8d71,_0x21237c={'eventID':_0x1b50bd[_0x5f51fb(0x21e)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5f51fb(0xe8)][_0x5f51fb(0xc3)](),'selection':_0x3c817f[_0x5f51fb(0x127)](_0x5691ba,_0x4463f4['range'])}};this['_session'][_0x5f51fb(0x1ac)](_0x21237c,this[_0x5f51fb(0x1c3)]);},_0x5b564f)),(this[_0x2f8d71(0x1c3)]=_0x4ceb48,this[_0x2f8d71(0xe8)]=_0x190c4c,this['_injector']=_0x45e7ba,this[_0x2f8d71(0xa4)]=_0x3e4115,this['_memberService']=_0x252af8,this[_0x2f8d71(0x152)]=_0x2002e9,this[_0x2f8d71(0xc7)]=_0x439410,this[_0x2f8d71(0xc2)]=_0x41c5bf);}get[_0x3f5677(0x175)](){const _0x1d172c=_0x3f5677;return this[_0x1d172c(0xb6)]['getValue']();}get[_0x3f5677(0x100)](){const _0x1b308d=_0x3f5677;return this['_roomMembers$'][_0x1b308d(0x120)]();}[_0x3f5677(0x2e7)](){const _0x234317=_0x3f5677;super[_0x234317(0x2e7)](),this[_0x234317(0xb6)][_0x234317(0x20b)](new Map()),this[_0x234317(0xb6)]['complete'](),this['_roomMembers$']['next']([]),this[_0x234317(0x204)][_0x234317(0x322)]();}[_0x3f5677(0x252)](){const _0x47471d=_0x3f5677;this[_0x47471d(0x124)]||(this['_init']=!0x0,this[_0x47471d(0xe8)]['sessionStatus$'][_0x47471d(0x209)](_0x498e14['takeUntil'](this[_0x47471d(0x13c)]))[_0x47471d(0x207)](_0x4df84d=>{const _0x123c05=_0x47471d;_0x4df84d===_0x488a8d[_0x123c05(0x18d)][_0x123c05(0x17b)]?this[_0x123c05(0x2d5)]():this['_toggleOffline']();}),this[_0x47471d(0xe8)][_0x47471d(0x13e)][_0x47471d(0x209)](_0x498e14[_0x47471d(0x17a)](this['dispose$']))['subscribe'](_0x7dc4bf=>{const _0xc5d07e=_0x47471d,_0x235010=_0x7dc4bf[_0xc5d07e(0x26b)];_0x235010===_0x1b50bd[_0xc5d07e(0x21e)][_0xc5d07e(0x2bd)]&&this[_0xc5d07e(0x189)](_0x7dc4bf),_0x235010===_0x1b50bd[_0xc5d07e(0x21e)][_0xc5d07e(0x154)]&&this[_0xc5d07e(0x31d)](_0x7dc4bf);}),this[_0x47471d(0x2d9)](),this[_0x47471d(0x1ae)](this[_0x47471d(0xc7)][_0x47471d(0x147)](_0x1442f4=>{const _0x2a51d6=_0x47471d;if(this[_0x2a51d6(0x2cd)]&&_0x1442f4['id']===_0x2e5ecc[_0x2a51d6(0x2a4)]['id']&&_0x1442f4[_0x2a51d6(0x193)][_0x2a51d6(0x1bc)]===this[_0x2a51d6(0x1c3)]){const _0x57d9c1=_0x1442f4[_0x2a51d6(0x193)];this[_0x2a51d6(0x1d3)](_0x57d9c1[_0x2a51d6(0x13d)],_0x57d9c1[_0x2a51d6(0x188)][0x0]);}})));}[_0x3f5677(0x189)](_0x27015d){const _0x43ea4a=_0x3f5677;var _0x246e24,_0x23cc16;const {memberID:_0x13542c,selection:_0xaa2cbc}=_0x27015d[_0x43ea4a(0x128)],{sheetName:_0x26af95,range:_0x2ab74c}=_0x3c817f[_0x43ea4a(0x2a9)](_0xaa2cbc),_0x2f6f2f={'name':(_0x23cc16=(_0x246e24=this[_0x43ea4a(0x2d7)][_0x43ea4a(0x267)](this['unitID'],_0x13542c))==null?void 0x0:_0x246e24['name'])!=null?_0x23cc16:'Unknown\x20user','range':this[_0x43ea4a(0x25f)](_0x26af95,_0x2ab74c),'sheetID':_0x26af95,'color':this['_colorAssignService'][_0x43ea4a(0x186)](_0x13542c),'selection':_0xaa2cbc},_0xbc6554=this[_0x43ea4a(0x175)];_0xbc6554['set'](_0x13542c,_0x2f6f2f),this['_cursorInfo$'][_0x43ea4a(0x20b)](_0xbc6554);}[_0x3f5677(0x31d)](_0x5005f8){const _0x267d05=_0x3f5677,{memberID:_0x275f7c}=_0x5005f8['data'],_0x56ad34=this[_0x267d05(0x175)];_0x56ad34[_0x267d05(0x185)](_0x275f7c),this[_0x267d05(0xb6)][_0x267d05(0x20b)](_0x56ad34);}[_0x3f5677(0x25f)](_0x57ae84,_0x210513){const _0x397a02=_0x3f5677;var _0x38fdd7,_0x414f14;const _0x1ceb4f=(_0x414f14=(_0x38fdd7=this[_0x397a02(0x152)][_0x397a02(0xd8)](this[_0x397a02(0x1c3)]))==null?void 0x0:_0x38fdd7[_0x397a02(0xe0)](_0x57ae84))==null?void 0x0:_0x414f14[_0x397a02(0x327)]();return(_0x1ceb4f==null?void 0x0:_0x1ceb4f[_0x397a02(0x1dd)](_0x2228d0=>_0x462f43[_0x397a02(0x1d2)][_0x397a02(0x1ef)](_0x2228d0,_0x210513)))||_0x210513;}[_0x3f5677(0x2d9)](){const _0x5da7b8=_0x3f5677,_0x3c0c04=new _0x462f43[(_0x5da7b8(0x201))](),_0x2fd622=_0x5b8357(),_0x44c180=()=>{const _0x4477e4=_0x5da7b8;_0x3c0c04[_0x4477e4(0x2e7)]();const _0x4f5c49=(_0x4f6d70,_0x5d80d1,_0x42658f,_0xd22e71)=>{const _0x1e835a=_0x4477e4;let _0x41cdfb=[];switch(_0x4f6d70['id']){case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x1a5)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x301)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc['EffectRefRangId'][_0x1e835a(0x1f6)]:{_0x41cdfb=_0x2e5ecc['handleDeleteRangeMoveUp'](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x277)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x1f5)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc['EffectRefRangId'][_0x1e835a(0x1f7)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x19a)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x151)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x1d4)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc['EffectRefRangId']['InsertRowCommandId']:{_0x41cdfb=_0x2e5ecc['handleInsertRow'](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x256)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x1ec)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x2c9)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0xba)](_0x4f6d70,_0xd22e71);break;}case _0x2e5ecc[_0x1e835a(0x270)][_0x1e835a(0x177)]:{_0x41cdfb=_0x2e5ecc[_0x1e835a(0x2db)](_0x4f6d70,_0xd22e71);break;}}const _0x4ad3a7=_0x2e5ecc[_0x1e835a(0x2ee)](_0x41cdfb,_0xd22e71),_0x58687d=this[_0x1e835a(0x175)][_0x1e835a(0x122)](_0x5d80d1);if(_0x58687d&&_0x4ad3a7){const _0x5990d6={..._0x58687d,'range':_0x4ad3a7};this['cursorInfo']['set'](_0x5d80d1,_0x5990d6),_0x2fd622(()=>{const _0xabdf19=_0x1e835a,_0x27ef9a=this[_0xabdf19(0xc2)]['registerRefRange'](_0x4ad3a7,_0x8f657d=>(_0x27ef9a[_0xabdf19(0x2e7)](),_0x4f5c49(_0x8f657d,_0x5d80d1,_0x42658f,_0x4ad3a7)));_0x3c0c04[_0xabdf19(0x2b1)](_0x27ef9a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4477e4(0x32a)]((_0x5ab90b,_0x123814)=>{const _0x147f22=_0x4477e4,{range:_0x1b04fa,sheetID:_0xe8804e}=_0x5ab90b,_0x30efc5=this[_0x147f22(0xc2)][_0x147f22(0x107)](_0x1b04fa,_0x2f2d98=>(_0x30efc5[_0x147f22(0x2e7)](),_0x4f5c49(_0x2f2d98,_0x123814,_0xe8804e,_0x1b04fa)));_0x3c0c04['add'](_0x30efc5);});};this[_0x5da7b8(0x1ae)](_0x462f43[_0x5da7b8(0x2ec)](this['_cursorInfo$'][_0x5da7b8(0x207)](()=>{_0x44c180();})));}[_0x3f5677(0x2d5)](){const _0x24b8a7=_0x3f5677;var _0x260db5,_0x37c60f;if(this['_online']=!0x0,((_0x260db5=this[_0x24b8a7(0x152)]['getFocusedUnit']())==null?void 0x0:_0x260db5[_0x24b8a7(0x315)]())!==this[_0x24b8a7(0x1c3)])return;const _0x46a601=(_0x37c60f=this[_0x24b8a7(0x27d)][_0x24b8a7(0x122)](_0x2e5ecc[_0x24b8a7(0xf8)])[_0x24b8a7(0x2ab)]())==null?void 0x0:_0x37c60f[0x0],_0x16d97a=this[_0x24b8a7(0x152)]['getCurrentUnitForType'](_0x462f43['UniverInstanceType']['UNIVER_SHEET'])[_0x24b8a7(0x24d)]();_0x46a601&&_0x16d97a&&this['_updateLocalCursor'](_0x16d97a[_0x24b8a7(0x10f)](),_0x46a601);}[_0x3f5677(0x125)](){const _0x9770c5=_0x3f5677;this[_0x9770c5(0x2cd)]=!0x1;}};_0x1f3499=_0x455a33([_0x302490(0x2,_0x462f43[_0x3f5677(0xcc)](_0x462f43['Injector'])),_0x302490(0x3,_0x462f43[_0x3f5677(0xcc)](_0x560e46)),_0x302490(0x4,_0x462f43[_0x3f5677(0xcc)](_0x488a8d[_0x3f5677(0x228)])),_0x302490(0x5,_0x462f43[_0x3f5677(0xb4)]),_0x302490(0x6,_0x462f43['ICommandService']),_0x302490(0x7,_0x462f43[_0x3f5677(0xcc)](_0x2e5ecc[_0x3f5677(0x308)]))],_0x1f3499);var _0x2fbe71=Object[_0x3f5677(0x2c6)],_0x5aea89=(_0x22af69,_0x4d20dd,_0x4a0eeb,_0x3afb72)=>{const _0x1896ab=_0x3f5677;for(var _0x7a610d=_0x3afb72>0x1?void 0x0:_0x3afb72?_0x2fbe71(_0x4d20dd,_0x4a0eeb):_0x4d20dd,_0x283f83=_0x22af69[_0x1896ab(0x273)]-0x1,_0x297320;_0x283f83>=0x0;_0x283f83--)(_0x297320=_0x22af69[_0x283f83])&&(_0x7a610d=_0x297320(_0x7a610d)||_0x7a610d);return _0x7a610d;},_0x1913ff=(_0x2297ea,_0x5b330b)=>(_0xefe8a9,_0x457b32)=>_0x5b330b(_0xefe8a9,_0x457b32,_0x2297ea);let _0x1a972c=class extends _0x462f43[_0x3f5677(0x242)]{constructor(_0x3b95c9,_0x4d30a0,_0xab0d35){const _0x397879=_0x3f5677;super(),_0x1f134d(this,'_entities',new Map()),_0x1f134d(this,_0x397879(0x130),new _0x498e14['Subject']()),(this[_0x397879(0x152)]=_0x3b95c9,this['_injector']=_0x4d30a0,this['_collabSessionService']=_0xab0d35,this[_0x397879(0x124)]());}[_0x3f5677(0x2e7)](){const _0x12d62b=_0x3f5677;super['dispose'](),this[_0x12d62b(0x130)]['complete'](),this[_0x12d62b(0x104)]['forEach'](_0x430f02=>_0x430f02[_0x12d62b(0x2e7)]());}['getCollabCursors$'](_0x66fcda){const _0x4f8622=_0x3f5677;return this['_entities'][_0x4f8622(0xc6)](_0x66fcda)?this[_0x4f8622(0x104)]['get'](_0x66fcda)[_0x4f8622(0x173)]:this['_entityInit$'][_0x4f8622(0x209)](_0x498e14['filter'](_0x55cad9=>_0x55cad9['unitID']===_0x66fcda),_0x498e14[_0x4f8622(0x2f7)](_0x58d1cb=>_0x58d1cb[_0x4f8622(0x173)]));}[_0x3f5677(0x124)](){const _0x10fb93=_0x3f5677;this[_0x10fb93(0x152)][_0x10fb93(0x1a7)](_0x462f43['UniverInstanceType']['UNIVER_SHEET'])[_0x10fb93(0x209)](_0x498e14[_0x10fb93(0x17a)](this[_0x10fb93(0x13c)]))[_0x10fb93(0x207)](async _0x5253ea=>{const _0x1b9a99=_0x10fb93,_0x4e459c=_0x5253ea['getUnitId'](),_0x4f20f6=await this[_0x1b9a99(0x24f)](_0x4e459c);this[_0x1b9a99(0x130)]['next'](_0x4f20f6),this[_0x1b9a99(0x104)][_0x1b9a99(0x326)](_0x4e459c,_0x4f20f6);}),this[_0x10fb93(0x152)][_0x10fb93(0x1a7)](_0x462f43[_0x10fb93(0x1d0)]['UNIVER_DOC'])[_0x10fb93(0x209)](_0x498e14[_0x10fb93(0x17a)](this[_0x10fb93(0x13c)]))[_0x10fb93(0x209)](_0x498e14['filter'](_0x3cb72c=>!_0x3cb72c[_0x10fb93(0x315)]()[_0x10fb93(0x2a2)]('__')))[_0x10fb93(0x207)](async _0x3c9054=>{const _0x1adb74=_0x10fb93,_0x59c6c7=_0x3c9054[_0x1adb74(0x315)](),_0x200fbd=await this[_0x1adb74(0x2c5)](_0x59c6c7);this[_0x1adb74(0x130)][_0x1adb74(0x20b)](_0x200fbd),this[_0x1adb74(0x104)][_0x1adb74(0x326)](_0x59c6c7,_0x200fbd);}),_0x498e14[_0x10fb93(0x25a)](this[_0x10fb93(0x152)][_0x10fb93(0x212)](_0x462f43[_0x10fb93(0x1d0)][_0x10fb93(0xde)]),this[_0x10fb93(0x152)]['getTypeOfUnitDisposed$'](_0x462f43['UniverInstanceType'][_0x10fb93(0x293)]))['pipe'](_0x498e14['takeUntil'](this[_0x10fb93(0x13c)]))[_0x10fb93(0x207)](_0xf5f0aa=>{const _0x3c2ea9=_0x10fb93,_0x310b36=_0xf5f0aa[_0x3c2ea9(0x315)](),_0x3e2ddc=this['_entities'][_0x3c2ea9(0x122)](_0x310b36);_0x3e2ddc&&(_0x3e2ddc[_0x3c2ea9(0x2e7)](),this[_0x3c2ea9(0x104)][_0x3c2ea9(0x185)](_0x310b36));});}async[_0x3f5677(0x24f)](_0x10a545){const _0x319bcc=_0x3f5677,_0x2054b5=await this[_0x319bcc(0x202)][_0x319bcc(0x1ed)](_0x10a545),_0x4d63b7=this[_0x319bcc(0x27d)][_0x319bcc(0x314)](_0x1f3499,_0x10a545,_0x2054b5);return _0x4d63b7[_0x319bcc(0x252)](),_0x4d63b7;}async[_0x3f5677(0x2c5)](_0x2b8a90){const _0x4688d7=_0x3f5677,_0x228600=await this['_collabSessionService']['requireSession'](_0x2b8a90),_0x887011=this[_0x4688d7(0x27d)][_0x4688d7(0x314)](_0x43e1e7,_0x2b8a90,_0x228600);return _0x887011[_0x4688d7(0x252)](),_0x887011;}};_0x1a972c=_0x5aea89([_0x1913ff(0x0,_0x462f43[_0x3f5677(0xb4)]),_0x1913ff(0x1,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x181)])),_0x1913ff(0x2,_0x462f43[_0x3f5677(0xcc)](_0x488a8d['CollaborationSessionService']))],_0x1a972c);const _0x18d333=0x14,_0x3a5739=0xc8,_0x4da4e0=0x4,_0x5ab4d7=0x5;function _0x45d97a(_0x30fcc2,_0x3c3e85){const _0x2fa388=_0x3f5677;let {radius:_0x43e99d,width:_0x2c0f69,height:_0x14b9e3}=_0x3c3e85;_0x43e99d=_0x43e99d!=null?_0x43e99d:0x0,_0x2c0f69=_0x2c0f69!=null?_0x2c0f69:0x1e,_0x14b9e3=_0x14b9e3!=null?_0x14b9e3:0x1e;let _0x5eee8f=0x0,_0xa285ef=0x0,_0x333e4e=0x0;_0x5eee8f=_0xa285ef=_0x333e4e=Math[_0x2fa388(0x231)](_0x43e99d,_0x2c0f69/0x2,_0x14b9e3/0x2),_0x30fcc2[_0x2fa388(0xa9)](),_0x30fcc2[_0x2fa388(0x338)](_0x5eee8f,0x0),_0x30fcc2[_0x2fa388(0x306)](_0x2c0f69-_0xa285ef,0x0),_0x30fcc2[_0x2fa388(0x30e)](_0x2c0f69-_0xa285ef,_0xa285ef,_0xa285ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x30fcc2[_0x2fa388(0x306)](_0x2c0f69,_0x14b9e3-_0x333e4e),_0x30fcc2[_0x2fa388(0x30e)](_0x2c0f69-_0x333e4e,_0x14b9e3-_0x333e4e,_0x333e4e,0x0,Math['PI']/0x2,!0x1),_0x30fcc2[_0x2fa388(0x306)](0x0,_0x14b9e3),_0x30fcc2['lineTo'](0x0,_0x5eee8f),_0x30fcc2['arc'](_0x5eee8f,_0x5eee8f,_0x5eee8f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30fcc2[_0x2fa388(0x2e9)](),_0x3c3e85['fill']&&(_0x30fcc2[_0x2fa388(0x135)](),_0x30fcc2['fillStyle']=_0x3c3e85[_0x2fa388(0x12c)],_0x3c3e85[_0x2fa388(0x2ad)]==='evenodd'?_0x30fcc2[_0x2fa388(0x12c)](_0x2fa388(0x191)):_0x30fcc2[_0x2fa388(0x12c)](),_0x30fcc2[_0x2fa388(0x219)]());}class _0x2ca32c extends _0x389dd5[_0x3f5677(0x12e)]{constructor(_0x3ee98b,_0x41ed13){const _0x51d811=_0x3f5677;super(_0x3ee98b,_0x41ed13),_0x1f134d(this,'color'),_0x1f134d(this,_0x51d811(0x323)),(this['color']=_0x41ed13==null?void 0x0:_0x41ed13[_0x51d811(0x310)],this['text']=_0x41ed13==null?void 0x0:_0x41ed13[_0x51d811(0x323)]);}static[_0x3f5677(0x2b0)](_0xfa9c36,_0x37579c){const _0x5252b9=_0x3f5677,{text:_0x5eb8ee,color:_0x409fd3}=_0x37579c;_0xfa9c36['save'](),_0xfa9c36[_0x5252b9(0x245)]=_0x5252b9(0xb8);const _0x376aca=_0xfa9c36[_0x5252b9(0x1ab)](_0x5eb8ee)[_0x5252b9(0xec)],_0x13b00f=Math[_0x5252b9(0x231)](_0x376aca+0x2*_0x4da4e0,_0x3a5739);_0x45d97a(_0xfa9c36,{'height':_0x18d333,'radius':0x4,'width':_0x13b00f,'fill':_0x409fd3}),_0xfa9c36[_0x5252b9(0x14e)]='#FFF';const _0x2115d1=_0x4da4e0,_0x1ff2db=_0x18d333-_0x5ab4d7,_0x4e59f6=_0x3a5739-0x2*_0x4da4e0;if(_0x376aca>_0x4e59f6){let _0x344857='',_0x522d7c=0x0;for(const _0x5a4335 of _0x5eb8ee){const _0x1bd550=_0xfa9c36[_0x5252b9(0x1ab)](_0x5a4335)[_0x5252b9(0xec)];if(_0x522d7c+_0x1bd550<=_0x4e59f6-_0xfa9c36[_0x5252b9(0x1ab)](_0x5252b9(0x20d))[_0x5252b9(0xec)])_0x344857+=_0x5a4335,_0x522d7c+=_0x1bd550;else{_0x344857+='...';break;}}_0xfa9c36['fillText'](_0x344857,_0x2115d1,_0x1ff2db);}else _0xfa9c36['fillText'](_0x5eb8ee,_0x2115d1,_0x1ff2db);_0xfa9c36[_0x5252b9(0x219)]();}[_0x3f5677(0xce)](_0x562c54){const _0x1ccb33=_0x3f5677;_0x2ca32c[_0x1ccb33(0x2b0)](_0x562c54,this);}}const _0x2e8097=_0x3f5677(0x1b5),_0x389ad2='collab-text-range-',_0x2ae3b4=_0x3f5677(0xc5),_0x588df0=0x6,_0x1954f8=1.5,_0x169230=0x4,_0x5adf5d=1.5,_0x331ebd='rgba(255,\x20255,\x20255,\x200.01)';class _0x203080{constructor(_0x109805,_0x311849,_0xedae02,_0xc3cb1c){const _0x5b290d=_0x3f5677;_0x1f134d(this,_0x5b290d(0x14b),[]),_0x1f134d(this,_0x5b290d(0x142),null),_0x1f134d(this,_0x5b290d(0x309),null),_0x1f134d(this,'_anchorDot',null),_0x1f134d(this,'_hideTimer',null),_0x1f134d(this,_0x5b290d(0x1f3),null),(this[_0x5b290d(0x1ea)]=_0x109805,this[_0x5b290d(0xa8)]=_0x311849,this['_docSkeleton']=_0xedae02,this[_0x5b290d(0x158)]=_0xc3cb1c,this[_0x5b290d(0xdd)]());}set[_0x3f5677(0x297)](_0x3314f3){const _0x5674c1=_0x3f5677;_0x3314f3?(this[_0x5674c1(0x1bf)]&&this[_0x5674c1(0x1bf)][_0x5674c1(0x199)](),this[_0x5674c1(0x309)]&&this['_textBubble']['show']()):(this[_0x5674c1(0x1bf)]&&this[_0x5674c1(0x1bf)][_0x5674c1(0xea)](),this[_0x5674c1(0x309)]&&this[_0x5674c1(0x309)][_0x5674c1(0x199)]());}[_0x3f5677(0x2e7)](){const _0x3323b7=_0x3f5677;for(const _0x746b75 of this['_shapes'])_0x746b75[_0x3323b7(0x2e7)]();this[_0x3323b7(0x309)]&&this[_0x3323b7(0x309)]['dispose'](),this[_0x3323b7(0x1bf)]&&this[_0x3323b7(0x1bf)]['dispose'](),this['_anchor']&&this[_0x3323b7(0x142)][_0x3323b7(0x2e7)](),this['_eventUnsubscribe']&&this[_0x3323b7(0x1f3)]();}['_render'](){const _0xeae1b5=_0x3f5677;var _0x41a475;const {_docSkeleton:_0x2465bb,_document:_0x2e5ca9}=this,{color:_0x4c1ddb,name:_0x3eadf3,ranges:_0x529335}=this[_0xeae1b5(0x1ea)],_0x1f80bd=_0x2e5ca9[_0xeae1b5(0x105)](),{docsLeft:_0x2a3e72,docsTop:_0x1e0c66}=_0x1f80bd,_0x12e1a7=new _0x585373[(_0xeae1b5(0x109))](_0x1f80bd,_0x2465bb);for(const {startOffset:_0x4aa5c1,endOffset:_0x1455d7,rangeType:_0x3fbb2d,segmentId:_0x28d8e5,segmentPage:_0x5288ca,collapsed:_0x2dfed0,isActive:_0x207177}of _0x529335){const _0x2a2e43=_0x2465bb['findNodePositionByCharIndex'](_0x4aa5c1,!0x0,_0x28d8e5,_0x5288ca);let _0x301572=_0x2465bb[_0xeae1b5(0x137)](_0x1455d7,!0x0,_0x28d8e5,_0x5288ca);if(_0x301572==null&&(_0x301572=_0x2465bb['findNodePositionByCharIndex'](_0x1455d7-0x1,!0x1,_0x28d8e5,_0x5288ca)),_0x207177){const {contentBoxPointGroup:_0x53a6cc}=_0x12e1a7['getRangePointData'](_0x301572,_0x301572);if(_0x53a6cc['length']===0x0)continue;this[_0xeae1b5(0x2e4)](_0x4c1ddb,_0x53a6cc,_0x2a3e72,_0x1e0c66,_0x3eadf3),this['_eventUnsubscribe']=this[_0xeae1b5(0x258)]();}if(_0x2a2e43&&_0x301572){if(_0x3fbb2d===_0x462f43[_0xeae1b5(0x2a3)]['RECT']){const _0x59a662=new _0x585373['NodePositionConvertToRectRange'](_0x1f80bd,_0x2465bb),{pointGroup:_0x23dfe2}=(_0x41a475=_0x59a662['getRangePointData'](_0x2a2e43,_0x301572))!=null?_0x41a475:{};if(_0x23dfe2==null||_0x23dfe2['length']===0x0)continue;this[_0xeae1b5(0x25d)](_0x4c1ddb,_0x23dfe2,_0x2a3e72,_0x1e0c66);}else{if(!_0x2dfed0){const {borderBoxPointGroup:_0x3f237b}=_0x12e1a7['getRangePointData'](_0x2a2e43,_0x301572);if(_0x3f237b[_0xeae1b5(0x273)]===0x0)continue;this['_drawTextRange'](_0x4c1ddb,_0x3f237b,_0x2a3e72,_0x1e0c66);}}}}}['_drawAnchor'](_0x21fce6,_0xc19645,_0x8753d3,_0x80532c,_0x209dcf){const _0x20f60f=_0x3f5677,_0xb26095=this['_getAnchorBounding'](_0xc19645),{left:_0x56c6fe,top:_0xb1e48b,height:_0x93d159}=_0xb26095,_0x179bfa=this[_0x20f60f(0x2fb)](),_0x4e3152=_0x5adf5d/_0x179bfa,_0x40994c=new _0x389dd5['Rect'](_0x2e8097+_0x462f43[_0x20f60f(0xf1)]['generateRandomId'](_0x588df0),{'left':_0x56c6fe+_0x8753d3-_0x4e3152,'top':_0xb1e48b+_0x80532c,'height':_0x93d159,'width':_0x1954f8,'fill':_0x21fce6||_0x389dd5[_0x20f60f(0x1d7)](_0x462f43[_0x20f60f(0xff)][_0x20f60f(0x123)],0x0),'strokeWidth':_0x4e3152,'stroke':_0x331ebd,'evented':!0x0});this[_0x20f60f(0x142)]=_0x40994c,this[_0x20f60f(0xa8)][_0x20f60f(0xc4)](_0x40994c,_0x585373[_0x20f60f(0x2d2)]);const _0x48abac=new _0x389dd5[(_0x20f60f(0x2be))](_0x2e8097+_0x462f43[_0x20f60f(0xf1)][_0x20f60f(0x19b)](_0x588df0),{'left':_0x56c6fe+_0x8753d3-_0x4e3152,'top':_0xb1e48b+_0x80532c-_0x169230/0x2,'height':_0x169230,'width':_0x169230,'fill':_0x21fce6||_0x389dd5[_0x20f60f(0x1d7)](_0x462f43[_0x20f60f(0xff)][_0x20f60f(0x123)],0x0),'strokeWidth':0x0,'stroke':_0x21fce6||_0x389dd5[_0x20f60f(0x1d7)](_0x462f43[_0x20f60f(0xff)]['black'],0x0),'evented':!0x1});this[_0x20f60f(0x1bf)]=_0x48abac,this['_scene'][_0x20f60f(0xc4)](_0x48abac,_0x585373[_0x20f60f(0x2d2)]);const _0x24dc06=new _0x2ca32c(_0x2e8097+_0x462f43[_0x20f60f(0xf1)][_0x20f60f(0x19b)](_0x588df0),{'left':_0x56c6fe+_0x8753d3-_0x4e3152,'top':_0xb1e48b+_0x80532c-_0x18d333,'text':_0x209dcf,'color':_0x21fce6});this[_0x20f60f(0x309)]=_0x24dc06,this['_scene']['addObject'](_0x24dc06,_0x585373[_0x20f60f(0x2d2)]),this[_0x20f60f(0x297)]=!0x1;}['_handleHover'](){const _0x3822d8=_0x3f5677,_0x115f6f=this[_0x3822d8(0x142)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x40dec1=_0x3822d8;this[_0x40dec1(0x297)]=!0x0;}),_0x59b86d=this[_0x3822d8(0x142)]['onPointerLeave$'][_0x3822d8(0x1c8)](()=>{const _0x2524e6=_0x3822d8;this[_0x2524e6(0x241)]&&clearTimeout(this[_0x2524e6(0x241)]),this[_0x2524e6(0x241)]=setTimeout(()=>{const _0x50e63f=_0x2524e6;this[_0x50e63f(0x297)]=!0x1;},0x7d0);});return()=>{const _0x5c1da6=_0x3822d8;_0x115f6f['unsubscribe'](),_0x59b86d[_0x5c1da6(0x276)]();};}[_0x3f5677(0xc0)](_0x1b449f,_0x4df2f5,_0x5d19c9,_0x226245){const _0x303143=_0x3f5677,_0x2c6fb5=new _0x462f43[(_0x303143(0x216))](_0x1b449f)['setAlpha'](0.2)[_0x303143(0xd5)](),_0x681a2a=new _0x389dd5[(_0x303143(0xd0))](_0x389ad2+_0x462f43[_0x303143(0xf1)]['generateRandomId'](_0x588df0),{'pointsGroup':_0x4df2f5,'fill':_0x2c6fb5||_0x389dd5[_0x303143(0x1d7)](_0x462f43[_0x303143(0xff)][_0x303143(0x123)],0.2),'left':_0x5d19c9,'top':_0x226245,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x303143(0x13f)](_0x681a2a),this['_scene'][_0x303143(0xc4)](_0x681a2a,_0x585373[_0x303143(0x2d2)]);}[_0x3f5677(0x25d)](_0x3ea65e,_0x5af13f,_0x4f45d2,_0x130b63){const _0x52a8f4=_0x3f5677,_0x5ae9a2=new _0x462f43['ColorKit'](_0x3ea65e)[_0x52a8f4(0x195)](0.2)[_0x52a8f4(0xd5)](),_0x7dfe1=new _0x389dd5[(_0x52a8f4(0xd0))](_0x2ae3b4+_0x462f43[_0x52a8f4(0xf1)][_0x52a8f4(0x19b)](_0x588df0),{'pointsGroup':_0x5af13f,'fill':_0x5ae9a2||_0x389dd5[_0x52a8f4(0x1d7)](_0x462f43[_0x52a8f4(0xff)][_0x52a8f4(0x123)],0.2),'left':_0x4f45d2,'top':_0x130b63,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52a8f4(0x14b)][_0x52a8f4(0x13f)](_0x7dfe1),this[_0x52a8f4(0xa8)][_0x52a8f4(0xc4)](_0x7dfe1,_0x585373[_0x52a8f4(0x2d2)]);}[_0x3f5677(0xf3)](_0x39fdcf){const _0x38193d=_0x39fdcf[0x0],_0x207f64=_0x38193d[0x0],_0x2822df=_0x38193d[0x2],{x:_0x915688,y:_0x41659c}=_0x207f64,{x:_0x4e270f,y:_0x835336}=_0x2822df;return{'left':_0x915688,'top':_0x41659c,'width':_0x4e270f-_0x915688,'height':_0x835336-_0x41659c};}[_0x3f5677(0x2fb)](){const _0x4dff3a=_0x3f5677,{scaleX:_0x53fac0,scaleY:_0x43e9ce}=this['_scene'][_0x4dff3a(0x217)]();return Math[_0x4dff3a(0x2c8)](_0x53fac0,_0x43e9ce);}}var _0x416ad0=Object['getOwnPropertyDescriptor'],_0x37cc6a=(_0x1038aa,_0x3ee56d,_0x425fcb,_0x33e2f4)=>{const _0x574bb2=_0x3f5677;for(var _0x14bd07=_0x33e2f4>0x1?void 0x0:_0x33e2f4?_0x416ad0(_0x3ee56d,_0x425fcb):_0x3ee56d,_0xd2cf5c=_0x1038aa[_0x574bb2(0x273)]-0x1,_0x3053d8;_0xd2cf5c>=0x0;_0xd2cf5c--)(_0x3053d8=_0x1038aa[_0xd2cf5c])&&(_0x14bd07=_0x3053d8(_0x14bd07)||_0x14bd07);return _0x14bd07;},_0x1610be=(_0x5e6d73,_0x3c28a2)=>(_0x234be3,_0xa03f74)=>_0x3c28a2(_0x234be3,_0xa03f74,_0x5e6d73);let _0x55df5c=class extends _0x462f43['RxDisposable']{constructor(_0x337391,_0x13345c,_0x485ff1,_0x28a051,_0x327481){const _0x4e8238=_0x3f5677;super(),_0x1f134d(this,_0x4e8238(0x2e2),[]),_0x1f134d(this,'_cursors',[]),(this[_0x4e8238(0x161)]=_0x337391,this[_0x4e8238(0x117)]=_0x13345c,this[_0x4e8238(0x2bb)]=_0x485ff1,this[_0x4e8238(0xc7)]=_0x28a051,this[_0x4e8238(0x26a)]=_0x327481,this[_0x4e8238(0x124)]());}['_init'](){const _0x47d892=_0x3f5677,_0x374d32=this[_0x47d892(0x161)]['unitId'],_0x43ed19=this[_0x47d892(0x117)];this[_0x47d892(0x1ae)](_0x498e14[_0x47d892(0x31b)]([this[_0x47d892(0x2bb)][_0x47d892(0x289)](_0x374d32),this[_0x47d892(0x26a)][_0x47d892(0x174)]])['pipe'](_0x333d76[_0x47d892(0x190)](([_0x27c133,_0x220d19])=>({'skeleton':_0x43ed19[_0x47d892(0x331)](),'cursors':[..._0x27c133[_0x47d892(0x1a6)]()][_0x47d892(0x11a)](_0x170b52=>({..._0x170b52,'color':this['_themeService'][_0x47d892(0x159)](_0x170b52['color'])}))})))[_0x47d892(0x207)](_0x366ad2=>{const _0x5d7944=_0x47d892;if(this['_removeCollabCursors'](),_0x366ad2){const {skeleton:_0x18db7e,cursors:_0x4d7c50}=_0x366ad2;this[_0x5d7944(0x1df)](_0x18db7e,_0x4d7c50);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x3f5677(0x1df)](_0xbc71eb,_0x41f016){const _0x255e51=_0x3f5677,{scene:_0x29922a,mainComponent:_0x5c236b}=this[_0x255e51(0x161)],_0x2c0543=_0x41f016[_0x255e51(0x190)](_0x12d2df=>new _0x203080(_0x12d2df,_0x29922a,_0xbc71eb,_0x5c236b));this['_cursorShapes']=_0x2c0543,this[_0x255e51(0x2fd)]=_0x41f016;}[_0x3f5677(0x294)](){const _0x2b4edd=_0x3f5677;this[_0x2b4edd(0x22b)]();const {scene:_0x10d1a6,mainComponent:_0x20c987}=this[_0x2b4edd(0x161)],_0x35b496=this[_0x2b4edd(0x117)][_0x2b4edd(0x331)](),_0xdb3d1c=this[_0x2b4edd(0x2fd)][_0x2b4edd(0x190)](_0x1902d4=>new _0x203080(_0x1902d4,_0x10d1a6,_0x35b496,_0x20c987));this[_0x2b4edd(0x2e2)]=_0xdb3d1c;}[_0x3f5677(0x22b)](){const _0x12dbaa=_0x3f5677;this[_0x12dbaa(0x2e2)]['forEach'](_0x2efce0=>_0x2efce0[_0x12dbaa(0x2e7)]()),this[_0x12dbaa(0x2e2)]=[];}['_initCommandExecutedListener'](){const _0x23bf5a=_0x3f5677,_0x1af95f=[_0x585373[_0x23bf5a(0x32c)]['id']];this[_0x23bf5a(0x1ae)](this[_0x23bf5a(0xc7)]['onCommandExecuted'](_0x208871=>{const _0x301118=_0x23bf5a;_0x1af95f[_0x301118(0x23e)](_0x208871['id'])&&_0x208871['params']['unitId']===this[_0x301118(0x161)][_0x301118(0x1bc)]&&this[_0x301118(0x294)]();}));}[_0x3f5677(0x2fc)](){const _0x4a3ec2=_0x3f5677;this[_0x4a3ec2(0x1ae)](_0x462f43[_0x4a3ec2(0x211)](this[_0x4a3ec2(0x161)]['engine'][_0x4a3ec2(0x254)])[_0x4a3ec2(0x209)](_0x333d76[_0x4a3ec2(0x2b3)](_0x3740d1=>_0x3740d1[_0x4a3ec2(0xe3)]===_0x389dd5[_0x4a3ec2(0x126)][_0x4a3ec2(0x1e8)]),_0x333d76[_0x4a3ec2(0x164)](0x10))['subscribe'](()=>{const _0x4d0562=_0x4a3ec2;this[_0x4d0562(0x294)]();}));}};_0x55df5c=_0x37cc6a([_0x1610be(0x1,_0x462f43[_0x3f5677(0xcc)](_0x1d9b1f[_0x3f5677(0xbd)])),_0x1610be(0x2,_0x462f43[_0x3f5677(0xcc)](_0x1a972c)),_0x1610be(0x3,_0x462f43[_0x3f5677(0x2f2)]),_0x1610be(0x4,_0x462f43[_0x3f5677(0xcc)](_0x462f43['ThemeService']))],_0x55df5c);const _0x12c297=0x1,_0xbf1efb=1.5;class _0x2d1b35 extends _0x389dd5['Shape']{constructor(_0x24385d,_0x5e2cb0){const _0x22c8a3=_0x3f5677;super(_0x24385d,_0x5e2cb0),_0x1f134d(this,'_color'),_0x1f134d(this,_0x22c8a3(0x1c6),!0x1),_0x1f134d(this,_0x22c8a3(0x24e)),_0x1f134d(this,_0x22c8a3(0x220),''),_0x1f134d(this,_0x22c8a3(0x2f9),'top'),_0x1f134d(this,_0x22c8a3(0x113)),(_0x5e2cb0&&this[_0x22c8a3(0x285)](_0x5e2cb0),this['onPointerEnter$'][_0x22c8a3(0x1c8)](()=>this[_0x22c8a3(0x285)]({'hovered':!0x0})),this[_0x22c8a3(0x1d5)][_0x22c8a3(0x1c8)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3f5677(0x285)](_0xdbdddb){const _0x5ad540=_0x3f5677;var _0x3794c0,_0x4511ca,_0x18993a,_0x1b7815,_0x5d09ba,_0x298653;this[_0x5ad540(0x2b9)]=(_0x3794c0=_0xdbdddb['color'])!=null?_0x3794c0:this['_color'],this['_hovered']=(_0x4511ca=_0xdbdddb[_0x5ad540(0x22f)])!=null?_0x4511ca:this[_0x5ad540(0x1c6)],this[_0x5ad540(0x24e)]=(_0x18993a=_0xdbdddb[_0x5ad540(0x33b)])!=null?_0x18993a:this[_0x5ad540(0x24e)],this[_0x5ad540(0x220)]=(_0x1b7815=_0xdbdddb[_0x5ad540(0x1eb)])!=null?_0x1b7815:this[_0x5ad540(0x220)],this[_0x5ad540(0x2f9)]=(_0x5d09ba=_0xdbdddb[_0x5ad540(0x13b)])!=null?_0x5d09ba:this['_labelPosition'],this['_backgroundColor']=(_0x298653=_0xdbdddb[_0x5ad540(0x116)])!=null?_0x298653:this[_0x5ad540(0x113)],this[_0x5ad540(0x222)]({'width':_0xdbdddb['width'],'height':_0xdbdddb[_0x5ad540(0x2de)]});}[_0x3f5677(0x1e1)](_0x30dff5){const _0x43b9b3=_0x3f5677,{row:_0x3e8662,column:_0x385049}=_0x30dff5;if(_0x3e8662>=this[_0x43b9b3(0x24e)][_0x43b9b3(0x2f5)]&&_0x3e8662<=this[_0x43b9b3(0x24e)][_0x43b9b3(0x182)]&&_0x385049>=this['_range'][_0x43b9b3(0xe1)]&&_0x385049<=this[_0x43b9b3(0x24e)]['endColumn']){this[_0x43b9b3(0x285)]({'hovered':!0x0});return;}this[_0x43b9b3(0x285)]({'hovered':!0x1});}[_0x3f5677(0x143)](_0x53901e){return!0x1;}['_draw'](_0x11defb){const _0x4a9673=_0x3f5677;_0x389dd5['Rect'][_0x4a9673(0x2b0)](_0x11defb,{'width':this['width'],'height':this[_0x4a9673(0x2de)],'strokeWidth':_0xbf1efb,'stroke':this[_0x4a9673(0x2b9)],'evented':!0x1,'fill':this[_0x4a9673(0x113)]}),this[_0x4a9673(0x1c6)]&&(_0x11defb[_0x4a9673(0x135)](),_0x11defb[_0x4a9673(0x215)](0x1,0x0,0x0,0x1,this[_0x4a9673(0xec)],this[_0x4a9673(0x2f9)]===_0x4a9673(0x31f)?0x0:-0x14),_0x2ca32c[_0x4a9673(0x2b0)](_0x11defb,{'text':this['_name'],'color':this[_0x4a9673(0x2b9)]}),_0x11defb[_0x4a9673(0x219)]());}}var _0x496bb7=Object[_0x3f5677(0x2c6)],_0xa2c8fc=(_0x3385df,_0x45f408,_0x1627c5,_0x4fe5a2)=>{const _0x36e515=_0x3f5677;for(var _0x3a4a5c=_0x4fe5a2>0x1?void 0x0:_0x4fe5a2?_0x496bb7(_0x45f408,_0x1627c5):_0x45f408,_0x2a664d=_0x3385df[_0x36e515(0x273)]-0x1,_0x1ad48d;_0x2a664d>=0x0;_0x2a664d--)(_0x1ad48d=_0x3385df[_0x2a664d])&&(_0x3a4a5c=_0x1ad48d(_0x3a4a5c)||_0x3a4a5c);return _0x3a4a5c;},_0x319047=(_0x3ac48b,_0x871de1)=>(_0x41ac82,_0x17378f)=>_0x871de1(_0x41ac82,_0x17378f,_0x3ac48b);const _0x8dbe09=0x1389;let _0x2a2cd3=class extends _0x462f43[_0x3f5677(0x242)]{constructor(_0x126057,_0xd44e48,_0x22e77e,_0x433fa5){const _0x567945=_0x3f5677;super(),_0x1f134d(this,_0x567945(0x2fd),new Set()),_0x1f134d(this,_0x567945(0x262),null),(this[_0x567945(0x161)]=_0x126057,this[_0x567945(0x28a)]=_0xd44e48,this[_0x567945(0x2bb)]=_0x22e77e,this['_themeService']=_0x433fa5,this[_0x567945(0x124)]());}[_0x3f5677(0x124)](){const _0x2c6413=_0x3f5677;this[_0x2c6413(0x28a)]['currentSkeleton$']['pipe'](_0x333d76[_0x2c6413(0x17a)](this[_0x2c6413(0x13c)]),_0x333d76[_0x2c6413(0x2f7)](_0x278fd9=>{const _0x4da048=_0x2c6413;if(_0x278fd9){const _0x270834=_0x278fd9[_0x4da048(0xaf)];return _0x498e14[_0x4da048(0x31b)](this[_0x4da048(0x2bb)]['getCollabCursors$'](this[_0x4da048(0x161)][_0x4da048(0x1bc)]),this['_themeService'][_0x4da048(0x174)])[_0x4da048(0x209)](_0x333d76[_0x4da048(0x190)](([_0x3fcb1d,_0x2c2b4a])=>{const _0x49da06=_0x4da048,_0x554472=new Map();return _0x3fcb1d[_0x49da06(0x32a)]((_0x5daf7e,_0xec9c71)=>{const _0xacf96c=_0x49da06;if(_0x5daf7e[_0xacf96c(0x14c)]===_0x270834){const _0x4d6780={..._0x5daf7e};_0x4d6780[_0xacf96c(0x310)]=this[_0xacf96c(0x26a)][_0xacf96c(0x159)](_0x5daf7e[_0xacf96c(0x310)]),_0x554472[_0xacf96c(0x326)](_0xec9c71,_0x4d6780);}}),{'skeleton':_0x278fd9,'cursors':_0x554472};}));}return _0x498e14['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4c60ea,cursors:_0x408b9b})=>{const _0x23032f=_0x2c6413;this['_removeCollabCursors'](),_0x4c60ea&&this[_0x23032f(0x1df)](_0x4c60ea,_0x408b9b);}),this[_0x2c6413(0x28a)]['currentSkeleton$'][_0x2c6413(0x207)](_0x13cbd4=>{const _0x111d10=_0x2c6413;if(_0x13cbd4==null)return;const {skeleton:_0xe140bf}=_0x13cbd4,{scene:_0x184efa}=this[_0x111d10(0x161)];_0x184efa['onPointerMove$'][_0x111d10(0x1c8)](_0x462f43[_0x111d10(0x118)](_0x534c85=>{const _0x3e625c=_0x111d10;var _0x33cdbd,_0x5b9b82;const {offsetX:_0x4e5c70,offsetY:_0x142a0a}=_0x534c85,{x:_0x3588a6,y:_0x557c99}=_0x184efa[_0x3e625c(0xb2)](_0x389dd5['Vector2'][_0x3e625c(0x11c)]([_0x4e5c70,_0x142a0a])),{scaleX:_0xddebaf,scaleY:_0x2d335a}=_0x184efa[_0x3e625c(0x217)](),_0x5b43c8=_0x184efa['getViewport'](_0x389dd5[_0x3e625c(0xcf)][_0x3e625c(0x14d)]),_0xee0fa9=_0x184efa[_0x3e625c(0x101)](_0x389dd5[_0x3e625c(0xee)][_0x3e625c(0x11c)]([_0x3588a6,_0x557c99]),_0x5b43c8),_0x406e15=_0xe140bf[_0x3e625c(0x266)](_0x4e5c70,_0x142a0a,_0xddebaf,_0x2d335a,_0xee0fa9);((_0x33cdbd=this[_0x3e625c(0x262)])==null?void 0x0:_0x33cdbd[_0x3e625c(0x23b)])===_0x406e15[_0x3e625c(0x23b)]&&((_0x5b9b82=this[_0x3e625c(0x262)])==null?void 0x0:_0x5b9b82[_0x3e625c(0x26e)])===_0x406e15[_0x3e625c(0x26e)]||this[_0x3e625c(0x2fd)]['forEach'](_0x58a95d=>{const _0x2deb53=_0x3e625c;_0x58a95d[_0x2deb53(0x1e1)](_0x406e15);});},0x64));});}[_0x3f5677(0x1df)](_0xd28891,_0x5c1288){const _0x30052e=_0x3f5677;var _0x4b131e;const _0x847231=(_0x4b131e=this[_0x30052e(0x28a)][_0x30052e(0x2a5)]())==null?void 0x0:_0x4b131e['skeleton'];if(!_0x847231)return;const _0x4cb087=this['_getSheetObject']();if(!_0x4cb087)return;this[_0x30052e(0x2fd)][_0x30052e(0x32a)](_0x4d9512=>{const _0x29538d=_0x30052e;_0x4d9512[_0x29538d(0x33a)]();});const {scene:_0x4a2591}=_0x4cb087,_0x130c41=_0x491705(Array[_0x30052e(0xfc)](_0x5c1288['values']()))[_0x30052e(0x190)](_0xa6b985=>{const _0x547b2a=_0x30052e,{color:_0x2f5cfc,range:_0x1a571d,name:_0x42e52d,selection:_0x24a66d,sheetID:_0x36a402}=_0xa6b985,{startColumn:_0x4d97f4,startRow:_0x3434a8,endColumn:_0x58b2cc,endRow:_0x3b7ee2}=_0x1a571d,_0x29da0f=_0x4ee8a2['getCoordByCell'](_0x3434a8,_0x4d97f4,_0x4a2591,_0x847231),_0x402988=_0x4ee8a2['getCoordByCell'](_0x3b7ee2,_0x58b2cc,_0x4a2591,_0x847231),{columnHeaderHeightAndMarginTop:_0x167ea7}=_0x847231,{startX:_0x2bae62,startY:_0x479f10}=_0x29da0f,{endX:_0x8e7e1b,endY:_0x48ac2d}=_0x402988,_0x578b5e=_0x8e7e1b-_0x2bae62,_0x4783d5=_0x48ac2d-_0x479f10,_0x15c1b1={'labelPosition':_0x479f10-_0x167ea7>=_0x18d333?'top':_0x547b2a(0x31f),'sheetID':_0x36a402,'range':_0x1a571d,'color':_0x2f5cfc,'name':_0x42e52d,'selection':_0x24a66d,'left':_0x2bae62,'top':_0x479f10,'width':_0x578b5e,'height':_0x4783d5,'evented':!0x1,'zIndex':_0x8dbe09};return new _0x2d1b35(_0x42e52d,_0x15c1b1);});_0x4a2591['addObjects'](_0x130c41,_0x12c297),this[_0x30052e(0x2fd)]=new Set(_0x130c41);}[_0x3f5677(0x22b)](){const _0x173749=_0x3f5677;var _0x1151c3;(_0x1151c3=this['_cursors'])==null||_0x1151c3[_0x173749(0x32a)](_0x21ce27=>_0x21ce27[_0x173749(0x2e7)]());}[_0x3f5677(0x33d)](){const _0xc98e0b=_0x3f5677;return _0x4ee8a2[_0xc98e0b(0x2a7)](this['_context']['unit'],this[_0xc98e0b(0x161)]);}};_0x2a2cd3=_0xa2c8fc([_0x319047(0x1,_0x462f43['Inject'](_0x4ee8a2[_0x3f5677(0x33c)])),_0x319047(0x2,_0x462f43['Inject'](_0x1a972c)),_0x319047(0x3,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x21c)]))],_0x2a2cd3);function _0x491705(_0x5c46fe){const _0x39a5f7=_0x3f5677,_0x55fd01=new Map();return _0x5c46fe[_0x39a5f7(0x32a)](_0x364117=>{const _0x5be116=_0x39a5f7;if(_0x55fd01[_0x5be116(0xc6)](_0x364117[_0x5be116(0x27e)])){const _0x4f4485=_0x55fd01[_0x5be116(0x122)](_0x364117[_0x5be116(0x27e)]);_0x4f4485['name']+=',\x20'+_0x364117[_0x5be116(0x1eb)];}else _0x55fd01[_0x5be116(0x326)](_0x364117[_0x5be116(0x27e)],_0x364117);}),Array[_0x39a5f7(0xfc)](_0x55fd01[_0x39a5f7(0x1a6)]());}var _0x2f46d0=function(){const _0x476077=_0x3f5677;return _0x2f46d0=Object['assign']||function(_0x212289){const _0x10d0f7=_0x3c44;for(var _0x26131c,_0x96e771=0x1,_0x4d923a=arguments['length'];_0x96e771<_0x4d923a;_0x96e771++){_0x26131c=arguments[_0x96e771];for(var _0x1af739 in _0x26131c)Object['prototype']['hasOwnProperty'][_0x10d0f7(0x1a0)](_0x26131c,_0x1af739)&&(_0x212289[_0x1af739]=_0x26131c[_0x1af739]);}return _0x212289;},_0x2f46d0[_0x476077(0x295)](this,arguments);},_0xa9ff54=function(_0x52c817,_0x368eba){const _0x1d1642=_0x3f5677;var _0x2d5939={};for(var _0x347e8d in _0x52c817)Object[_0x1d1642(0x171)]['hasOwnProperty'][_0x1d1642(0x1a0)](_0x52c817,_0x347e8d)&&_0x368eba[_0x1d1642(0x2ef)](_0x347e8d)<0x0&&(_0x2d5939[_0x347e8d]=_0x52c817[_0x347e8d]);if(_0x52c817!=null&&typeof Object[_0x1d1642(0x29f)]==_0x1d1642(0x156)){for(var _0x599b7c=0x0,_0x347e8d=Object[_0x1d1642(0x29f)](_0x52c817);_0x599b7c<_0x347e8d[_0x1d1642(0x273)];_0x599b7c++)_0x368eba[_0x1d1642(0x2ef)](_0x347e8d[_0x599b7c])<0x0&&Object[_0x1d1642(0x171)][_0x1d1642(0x2b2)][_0x1d1642(0x1a0)](_0x52c817,_0x347e8d[_0x599b7c])&&(_0x2d5939[_0x347e8d[_0x599b7c]]=_0x52c817[_0x347e8d[_0x599b7c]]);}return _0x2d5939;},_0x598f4f=_0x4ced61[_0x3f5677(0x1b2)](function(_0x4ace22,_0x59ffba){const _0xffdf16=_0x3f5677;var _0x9da13c=_0x4ace22[_0xffdf16(0x23a)],_0x5b54bc=_0x4ace22['id'],_0x8d6b84=_0x4ace22[_0xffdf16(0x265)],_0x1a971d=_0x4ace22[_0xffdf16(0x19f)],_0x143025=_0xa9ff54(_0x4ace22,[_0xffdf16(0x23a),'id',_0xffdf16(0x265),_0xffdf16(0x19f)]),_0x4730fc=_0xffdf16(0x28b)['concat'](_0x5b54bc,'\x20')[_0xffdf16(0x2f6)](_0x8d6b84||'')[_0xffdf16(0x1b8)](),_0x115d82=_0x4ced61[_0xffdf16(0x2d3)]('_'[_0xffdf16(0x2f6)](_0x3cc834()));return _0x40b6c5(_0x9da13c,''[_0xffdf16(0x2f6)](_0x5b54bc),{'defIds':_0x9da13c[_0xffdf16(0x250)],'idSuffix':_0x115d82['current']},_0x2f46d0({'ref':_0x59ffba,'className':_0x4730fc},_0x143025),_0x1a971d);});function _0x40b6c5(_0x4198f3,_0x5356e3,_0x92e0fd,_0x111268,_0x3f77fb){const _0x3829b5=_0x3f5677;return _0x4ced61[_0x3829b5(0x1f8)](_0x4198f3[_0x3829b5(0x28d)],_0x2f46d0(_0x2f46d0({'key':_0x5356e3},_0x39075d(_0x4198f3,_0x92e0fd,_0x3f77fb)),_0x111268),(_0x571982(_0x4198f3,_0x92e0fd)[_0x3829b5(0x334)]||[])[_0x3829b5(0x190)](function(_0x2ef475,_0x47aab9){const _0x364674=_0x3829b5;return _0x40b6c5(_0x2ef475,''['concat'](_0x5356e3,'-')[_0x364674(0x2f6)](_0x4198f3[_0x364674(0x28d)],'-')[_0x364674(0x2f6)](_0x47aab9),_0x92e0fd,void 0x0,_0x3f77fb);}));}function _0x39075d(_0x38da29,_0x1e855d,_0x39b621){const _0x36217f=_0x3f5677;var _0x51b436=_0x2f46d0({},_0x38da29[_0x36217f(0x2da)]);_0x39b621!=null&&_0x39b621[_0x36217f(0xac)]&&_0x51b436[_0x36217f(0x12c)]==='colorChannel1'&&(_0x51b436[_0x36217f(0x12c)]=_0x39b621[_0x36217f(0xac)]),_0x38da29[_0x36217f(0x28d)]===_0x36217f(0x2f4)&&_0x51b436['id']&&(_0x51b436['id']=_0x51b436['id']+_0x1e855d['idSuffix']),Object[_0x36217f(0x203)](_0x51b436)['forEach'](function(_0x539b84){const _0x4aa43d=_0x36217f;var _0x29936a=_0x539b84[0x0],_0x4191d7=_0x539b84[0x1];_0x29936a===_0x4aa43d(0x2f4)&&typeof _0x4191d7==_0x4aa43d(0x2c1)&&(_0x51b436[_0x29936a]=_0x4191d7[_0x4aa43d(0x12b)](/url\(#(.*)\)/,_0x4aa43d(0xd1)[_0x4aa43d(0x2f6)](_0x1e855d[_0x4aa43d(0x2fe)],')')));});var _0x22ae0e=_0x1e855d['defIds'];return!_0x22ae0e||_0x22ae0e[_0x36217f(0x273)]===0x0||(_0x38da29['tag']===_0x36217f(0x12a)&&_0x51b436['xlink:href']&&(_0x51b436[_0x36217f(0x1e5)]=_0x51b436[_0x36217f(0x1e5)]+_0x1e855d['idSuffix']),Object['entries'](_0x51b436)[_0x36217f(0x32a)](function(_0x37dd89){const _0x6d30ab=_0x36217f;var _0x5e1c83=_0x37dd89[0x0],_0x2469f1=_0x37dd89[0x1];typeof _0x2469f1==_0x6d30ab(0x2c1)&&(_0x51b436[_0x5e1c83]=_0x2469f1['replace'](/url\(#(.*)\)/,_0x6d30ab(0xd1)[_0x6d30ab(0x2f6)](_0x1e855d[_0x6d30ab(0x2fe)],')')));})),_0x51b436;}function _0x571982(_0x3d7ca2,_0x141b6a){const _0xc83944=_0x3f5677;var _0x270ac5,_0x729b69=_0x141b6a[_0xc83944(0x250)];return!_0x729b69||_0x729b69['length']===0x0?_0x3d7ca2:_0x3d7ca2['tag']===_0xc83944(0x183)&&(!((_0x270ac5=_0x3d7ca2[_0xc83944(0x334)])===null||_0x270ac5===void 0x0)&&_0x270ac5[_0xc83944(0x273)])?_0x2f46d0(_0x2f46d0({},_0x3d7ca2),{'children':_0x3d7ca2[_0xc83944(0x334)][_0xc83944(0x190)](function(_0x464d3f){const _0x54143c=_0xc83944;return typeof _0x464d3f['attrs']['id']==_0x54143c(0x2c1)&&_0x729b69&&_0x729b69['includes'](_0x464d3f[_0x54143c(0x2da)]['id'])?_0x2f46d0(_0x2f46d0({},_0x464d3f),{'attrs':_0x2f46d0(_0x2f46d0({},_0x464d3f[_0x54143c(0x2da)]),{'id':_0x464d3f[_0x54143c(0x2da)]['id']+_0x141b6a['idSuffix']})}):_0x464d3f;})}):_0x3d7ca2;}function _0x3cc834(){const _0x12a4b6=_0x3f5677;return Math[_0x12a4b6(0xaa)]()[_0x12a4b6(0x237)](0x24)[_0x12a4b6(0x21d)](0x2,0x8);}_0x598f4f['displayName']=_0x3f5677(0x1b9);var _0x45017c={'tag':_0x3f5677(0xd6),'attrs':{'xmlns':_0x3f5677(0x2eb),'fill':_0x3f5677(0x2ce),'viewBox':'0\x200\x2016\x2016','width':_0x3f5677(0x169),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3f5677(0x1d8),'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':_0x3f5677(0x2b4),'strokeLinejoin':_0x3f5677(0x2b4),'strokeWidth':1.2}}]},{'tag':_0x3f5677(0x183),'attrs':{},'children':[{'tag':_0x3f5677(0x22e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3f5677(0x1d8),'attrs':{'fill':_0x3f5677(0x21a),'d':_0x3f5677(0x260)}}]}]}],'defIds':[_0x3f5677(0x287)]},_0x38f714=_0x4ced61['forwardRef'](function(_0xc589ea,_0x2d64a5){const _0x15e1f4=_0x3f5677;return _0x4ced61['createElement'](_0x598f4f,Object[_0x15e1f4(0xa2)]({},_0xc589ea,{'id':'off-line-icon','ref':_0x2d64a5,'icon':_0x45017c}));});_0x38f714[_0x3f5677(0x232)]=_0x3f5677(0x33e);var _0xa14467={'tag':_0x3f5677(0xd6),'attrs':{'xmlns':_0x3f5677(0x2eb),'fill':_0x3f5677(0x2ce),'viewBox':_0x3f5677(0xe6),'width':_0x3f5677(0x169),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3f5677(0x328)},'children':[{'tag':_0x3f5677(0x1d8),'attrs':{'stroke':_0x3f5677(0x106),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3f5677(0x2b4),'strokeLinejoin':_0x3f5677(0x2b4),'strokeWidth':1.2}}]},{'tag':_0x3f5677(0x183),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f5677(0xbe)},'children':[{'tag':_0x3f5677(0x1d8),'attrs':{'fill':_0x3f5677(0x21a),'d':_0x3f5677(0x260),'transform':_0x3f5677(0x28e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x45b018=_0x4ced61[_0x3f5677(0x1b2)](function(_0x50e98d,_0x63e31f){const _0x29fa58=_0x3f5677;return _0x4ced61['createElement'](_0x598f4f,Object['assign']({},_0x50e98d,{'id':_0x29fa58(0x15d),'ref':_0x63e31f,'icon':_0xa14467}));});_0x45b018['displayName']=_0x3f5677(0x2d4);function _0x5aa4fe(_0x269fa3){const _0x71c286=_0x3f5677;switch(_0x269fa3){case _0x488a8d['CollaborationStatus'][_0x71c286(0x149)]:return _0x71c286(0x2b8);case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0xf0)]:return _0x71c286(0x20f);case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0x233)]:return'collabStatus.fetchMiss';case _0x488a8d[_0x71c286(0x30d)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0x13a)]:case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0xd9)]:return _0x71c286(0x119);case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0x1fd)]:case _0x488a8d[_0x71c286(0x30d)][_0x71c286(0x17e)]:return'collabStatus.synced';}}function _0x5e617b(_0x2bf545){const _0x5795d8=_0x3f5677,{status$:_0x40e2fc}=_0x2bf545,_0x21162e=_0x2378be['useObservable'](_0x40e2fc,_0x488a8d[_0x5795d8(0x30d)][_0x5795d8(0x25e)]),_0x29f02c=_0x2378be[_0x5795d8(0x16c)](_0x462f43[_0x5795d8(0x1a9)]),_0x325c13=_0x2378be[_0x5795d8(0x16c)](_0x488a8d['CollaborationSessionService']),_0x554a98=_0x21162e!==_0x488a8d['CollaborationStatus'][_0x5795d8(0x149)],_0x42e9be=_0x29f02c['t'](_0x5aa4fe(_0x21162e)),_0x62a48d=_0x554a98?_0x352544[_0x5795d8(0xc8)](_0x45b018,{}):_0x352544[_0x5795d8(0xc8)](_0x38f714,{}),_0xf7d291=_0x4ced61[_0x5795d8(0xb3)](()=>{const _0x41b82a=_0x5795d8;_0x554a98||_0x325c13[_0x41b82a(0xf7)]();},[_0x554a98,_0x325c13]);function _0x1fa4ea(){const _0x4880fc=_0x5795d8;return _0x352544[_0x4880fc(0x1da)]('div',{'className':_0x4880fc(0x1fe),'onClick':_0xf7d291,'children':[_0x352544[_0x4880fc(0xc8)](_0x4880fc(0x2e5),{'className':_0x1409c0[_0x4880fc(0xab)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x554a98,'univer-text-red-500':!_0x554a98}),'children':_0x62a48d}),_0x352544[_0x4880fc(0xc8)](_0x4880fc(0x2e5),{'className':_0x4880fc(0x167),'children':_0x42e9be})]});}return _0x554a98?_0x1fa4ea():_0x352544[_0x5795d8(0xc8)](_0x1409c0[_0x5795d8(0xe2)],{'title':_0x29f02c['t'](_0x5795d8(0x2ac)),'children':_0x1fa4ea()});}var _0x5ea8f7=Object[_0x3f5677(0x2c6)],_0x7284ca=(_0xf85ad5,_0x28d179,_0x170713,_0x1bd5ac)=>{const _0x215339=_0x3f5677;for(var _0x196123=_0x1bd5ac>0x1?void 0x0:_0x1bd5ac?_0x5ea8f7(_0x28d179,_0x170713):_0x28d179,_0x46ee47=_0xf85ad5[_0x215339(0x273)]-0x1,_0x1eb40f;_0x46ee47>=0x0;_0x46ee47--)(_0x1eb40f=_0xf85ad5[_0x46ee47])&&(_0x196123=_0x1eb40f(_0x196123)||_0x196123);return _0x196123;},_0x4fdee3=(_0x33a87d,_0x11bb98)=>(_0x3f0200,_0x124481)=>_0x11bb98(_0x3f0200,_0x124481,_0x33a87d);_0x5256df[_0x3f5677(0x288)]=class extends _0x462f43['Disposable']{constructor(_0x405b4f,_0x21154e,_0x5e81b1,_0x40ff8d){const _0x518cf1=_0x3f5677;super(),_0x1f134d(this,_0x518cf1(0xe5),new _0x498e14[(_0x518cf1(0x2b7))](_0x488a8d['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x405b4f,this[_0x518cf1(0x27d)]=_0x21154e,this[_0x518cf1(0x18a)]=_0x5e81b1,this[_0x518cf1(0x196)]=_0x40ff8d,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3f5677(0x302)](){const _0x31f50a=_0x3f5677;this['disposeWithMe'](this[_0x31f50a(0x152)][_0x31f50a(0x2bc)][_0x31f50a(0x209)](_0x498e14[_0x31f50a(0x2f7)](()=>{const _0x163e99=_0x31f50a,_0xd21aab=this[_0x163e99(0x152)][_0x163e99(0x29a)]();return _0xd21aab?this[_0x163e99(0x18a)]['getCollabEntity$'](_0xd21aab[_0x163e99(0x315)]()):_0x498e14['of'](null);}),_0x498e14['switchMap'](_0x56834b=>_0x56834b?_0x56834b[_0x31f50a(0x263)]:_0x498e14['of'](_0x488a8d[_0x31f50a(0x30d)]['NOT_COLLAB'])))[_0x31f50a(0x207)](_0x3b3398=>{const _0x18e4ed=_0x31f50a;this['_status$'][_0x18e4ed(0x20b)](_0x3b3398);}));}['_initStatusComponent'](){const _0x2e9091=_0x3f5677;this[_0x2e9091(0x1ae)](this[_0x2e9091(0x196)]['registerComponent'](_0x2378be[_0x2e9091(0x27c)][_0x2e9091(0x272)],()=>_0x2378be[_0x2e9091(0x140)](_0x2dcc2c({'status$':this['_status$'][_0x2e9091(0x1de)]()}),this[_0x2e9091(0x27d)])));}},_0x5256df[_0x3f5677(0x288)]=_0x7284ca([_0x4fdee3(0x0,_0x462f43['IUniverInstanceService']),_0x4fdee3(0x1,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x181)])),_0x4fdee3(0x2,_0x462f43[_0x3f5677(0xcc)](_0x488a8d[_0x3f5677(0x296)])),_0x4fdee3(0x3,_0x2378be[_0x3f5677(0x321)])],_0x5256df[_0x3f5677(0x288)]);function _0x2dcc2c(_0x18c154){const {status$:_0x186cf0}=_0x18c154;return function(){const _0x557d1d=_0x3c44;return _0x352544[_0x557d1d(0xc8)](_0x5e617b,{'status$':_0x186cf0});};}var _0x403e6e=Object[_0x3f5677(0x2c6)],_0x3166b5=(_0x42eeef,_0x5f575c,_0x20d431,_0x1db6b3)=>{const _0x563b33=_0x3f5677;for(var _0x4a958f=_0x1db6b3>0x1?void 0x0:_0x1db6b3?_0x403e6e(_0x5f575c,_0x20d431):_0x5f575c,_0x6f47cf=_0x42eeef[_0x563b33(0x273)]-0x1,_0x499fc2;_0x6f47cf>=0x0;_0x6f47cf--)(_0x499fc2=_0x42eeef[_0x6f47cf])&&(_0x4a958f=_0x499fc2(_0x4a958f)||_0x4a958f);return _0x4a958f;},_0x39e361=(_0x1a610e,_0x5541df)=>(_0x334091,_0x1f3ec8)=>_0x5541df(_0x334091,_0x1f3ec8,_0x1a610e);let _0xa667ca=class extends _0x462f43['Disposable']{constructor(_0x2f50ce,_0x2ec581,_0x21f35f,_0x1465b8,_0x25f41e,_0x4abf50){const _0x465432=_0x3f5677;super(),this[_0x465432(0x2dc)]=_0x2f50ce,this[_0x465432(0xed)]=_0x2ec581,this[_0x465432(0x271)]=_0x21f35f,this[_0x465432(0x1be)]=_0x1465b8,this[_0x465432(0x2c3)]=_0x25f41e,this[_0x465432(0x112)]=_0x4abf50,this[_0x465432(0x1e3)](),this[_0x465432(0x132)]();}[_0x3f5677(0x1e3)](){const _0xd2c8f3=_0x3f5677;this[_0xd2c8f3(0x1ae)](this[_0xd2c8f3(0x2dc)][_0xd2c8f3(0x292)](()=>{const _0x5df399=_0xd2c8f3;if(this[_0x5df399(0xed)]['saveTaskMap']['size'])return this[_0x5df399(0x112)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3f5677(0x132)](){const _0x213bc0=_0x3f5677;this[_0x213bc0(0x1ae)](this[_0x213bc0(0x271)][_0x213bc0(0x13e)][_0x213bc0(0x207)](_0x3ea660=>{const _0x7e1a31=_0x213bc0;_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)][_0x7e1a31(0x15a)]&&this['_messageService'][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)][_0x7e1a31(0x25b)],'content':this[_0x7e1a31(0x112)]['t'](_0x7e1a31(0x299))}),_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)]['CLOSE_ROOM']&&this[_0x7e1a31(0x1be)][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)][_0x7e1a31(0x25b)],'content':this[_0x7e1a31(0x112)]['t'](_0x7e1a31(0xa3))}),_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)][_0x7e1a31(0x281)]&&this[_0x7e1a31(0x2c3)][_0x7e1a31(0xea)]({'title':this[_0x7e1a31(0x112)]['t']('permission.title'),'content':this[_0x7e1a31(0x112)]['t'](_0x7e1a31(0x251)),'type':_0x7e1a31(0x192),'duration':0x0}),_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)]['CONFLICT']&&this[_0x7e1a31(0x1be)][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)]['Error'],'content':this['_localeService']['t'](_0x7e1a31(0xa3))+'('+_0x3ea660[_0x7e1a31(0x128)]+')'}),_0x3ea660['id']===_0x488a8d['CollaborationUIEventId'][_0x7e1a31(0x27b)]&&this[_0x7e1a31(0x1be)][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)]['Warning'],'content':this[_0x7e1a31(0x112)]['t'](_0x3ea660[_0x7e1a31(0x128)]||'')}),_0x3ea660['id']===_0x488a8d['CollaborationUIEventId'][_0x7e1a31(0x1fb)]&&this[_0x7e1a31(0x1be)][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)][_0x7e1a31(0x25b)],'content':this[_0x7e1a31(0x112)]['t'](_0x7e1a31(0x320))}),_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)]['SOCKET_FAILED']&&this['_messageService'][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)]['Error'],'content':this[_0x7e1a31(0x112)]['t'](_0x7e1a31(0x31a))}),_0x3ea660['id']===_0x488a8d[_0x7e1a31(0x25c)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x7e1a31(0xea)]({'type':_0x1409c0[_0x7e1a31(0xdc)][_0x7e1a31(0x22c)],'content':this['_localeService']['t'](_0x7e1a31(0xcd))});}));}};_0xa667ca=_0x3166b5([_0x39e361(0x0,_0x2378be['IBeforeCloseService']),_0x39e361(0x1,_0x488a8d[_0x3f5677(0xfe)]),_0x39e361(0x2,_0x462f43[_0x3f5677(0xcc)](_0x488a8d[_0x3f5677(0x30f)])),_0x39e361(0x3,_0x2378be[_0x3f5677(0xd4)]),_0x39e361(0x4,_0x2378be[_0x3f5677(0x1fa)]),_0x39e361(0x5,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x1a9)]))],_0xa667ca);const _0x9ed6b5=_0x3f5677(0x141),_0x34b268={},_0x527005=_0x462f43[_0x3f5677(0x17f)](_0x3f5677(0x19d));var _0x4df348=Object[_0x3f5677(0x2c6)],_0x205f60=(_0x49119c,_0x1c8ddf,_0x3b4a6a,_0x339ad0)=>{const _0x5db6e6=_0x3f5677;for(var _0x24091e=_0x339ad0>0x1?void 0x0:_0x339ad0?_0x4df348(_0x1c8ddf,_0x3b4a6a):_0x1c8ddf,_0x178c81=_0x49119c[_0x5db6e6(0x273)]-0x1,_0x1a2da8;_0x178c81>=0x0;_0x178c81--)(_0x1a2da8=_0x49119c[_0x178c81])&&(_0x24091e=_0x1a2da8(_0x24091e)||_0x24091e);return _0x24091e;},_0x5be8cd=(_0x5b042f,_0x5b9b0b)=>(_0x30d35e,_0x2c8f67)=>_0x5b9b0b(_0x30d35e,_0x2c8f67,_0x5b042f);_0x5256df[_0x3f5677(0x111)]=class extends _0x462f43[_0x3f5677(0x242)]{constructor(_0x91a2da,_0x5857c9,_0x253877,_0x2e9c5f,_0x512450){const _0x4ba558=_0x3f5677;super(),this[_0x4ba558(0x160)]=_0x91a2da,this['_logService']=_0x5857c9,this['_commandService']=_0x253877,this['_dataLoaderService']=_0x2e9c5f,_0x512450?_0x512450==null||_0x512450[_0x4ba558(0x275)]()[_0x4ba558(0x224)](()=>this[_0x4ba558(0x124)]()):(this[_0x4ba558(0x2ed)][_0x4ba558(0xa7)](_0x4ba558(0x16f),_0x4ba558(0x239)),this[_0x4ba558(0x124)]());}async['_init'](){const _0x26bd3f=_0x3f5677,_0x508760=this[_0x26bd3f(0x160)][_0x26bd3f(0x1ff)](_0x26bd3f(0x1f1)),_0x3f3820=this[_0x26bd3f(0x160)][_0x26bd3f(0x1ff)](_0x26bd3f(0xe3)),_0x3e7332=this[_0x26bd3f(0x160)][_0x26bd3f(0x1ff)](_0x26bd3f(0x307));if(!_0x508760||!_0x3f3820){this['_logService'][_0x26bd3f(0xa7)](_0x26bd3f(0x16f),_0x26bd3f(0x153));return;}const _0x69d95b=await this[_0x26bd3f(0x337)]['loadUnit'](_0x508760,Number(_0x3f3820),_0x3e7332);_0x69d95b&&_0x69d95b instanceof _0x462f43['Workbook']&&this[_0x26bd3f(0x1d6)](_0x69d95b);}async[_0x3f5677(0x1d6)](_0xf56601){const _0x2a9185=_0x3f5677;await this[_0x2a9185(0x2df)](_0xf56601),_0xf56601['activeSheet$'][_0x2a9185(0x209)](_0x498e14[_0x2a9185(0x17a)](this[_0x2a9185(0x13c)]))[_0x2a9185(0x207)](_0x13f43b=>{const _0x193af9=_0x2a9185;_0x13f43b&&this[_0x193af9(0x286)](_0x13f43b);}),this[_0x2a9185(0x160)][_0x2a9185(0x16e)][_0x2a9185(0x209)](_0x498e14['takeUntil'](this[_0x2a9185(0x13c)]))[_0x2a9185(0x207)](()=>this[_0x2a9185(0x2df)](_0xf56601));}[_0x3f5677(0x286)](_0x29c96c,_0x3439b2=!0x1){const _0x45ea30=_0x3f5677,_0x42d52e=this[_0x45ea30(0x160)][_0x45ea30(0x1ff)](_0x45ea30(0x307));_0x29c96c['getSheetId']()!==_0x42d52e&&this[_0x45ea30(0x160)][_0x45ea30(0x1a2)]('subunit',_0x29c96c[_0x45ea30(0x10f)](),_0x3439b2);}async[_0x3f5677(0x2df)](_0x464eac){const _0xf2eb86=_0x3f5677;var _0x2e2b3a;const _0x2f5c29=this['_urlService']['getParam']('subunit');if(!_0x2f5c29||!_0x464eac[_0xf2eb86(0xe0)](_0x2f5c29)){const _0x520517=_0x464eac[_0xf2eb86(0x22a)]()[0x0],_0x4a9b3b=_0x464eac[_0xf2eb86(0xe0)](_0x520517);if(!_0x4a9b3b)return;this[_0xf2eb86(0x286)](_0x4a9b3b,!0x0),await this['_commandService'][_0xf2eb86(0x255)](_0x2e5ecc[_0xf2eb86(0x10a)]['id'],{'unitId':_0x464eac[_0xf2eb86(0x315)](),'subUnitId':_0x520517});return;}((_0x2e2b3a=_0x464eac['getActiveSheet']())==null?void 0x0:_0x2e2b3a[_0xf2eb86(0x10f)]())!==_0x2f5c29&&await this[_0xf2eb86(0xc7)][_0xf2eb86(0x255)](_0x2e5ecc[_0xf2eb86(0x10a)]['id'],{'unitId':_0x464eac[_0xf2eb86(0x315)](),'subUnitId':_0x2f5c29});}},_0x5256df[_0x3f5677(0x111)]=_0x205f60([_0x5be8cd(0x0,_0x527005),_0x5be8cd(0x1,_0x462f43[_0x3f5677(0x103)]),_0x5be8cd(0x2,_0x462f43[_0x3f5677(0x2f2)]),_0x5be8cd(0x3,_0x462f43['Inject'](_0x488a8d[_0x3f5677(0xa6)])),_0x5be8cd(0x4,_0x462f43[_0x3f5677(0x31c)](_0xeaed05[_0x3f5677(0x1e7)]))],_0x5256df[_0x3f5677(0x111)]);var _0xeae820=Object[_0x3f5677(0x2c6)],_0x69dcef=(_0x941051,_0x44c857,_0x22b4b8,_0x4e1c6a)=>{const _0xf66e1d=_0x3f5677;for(var _0x29e5c2=_0x4e1c6a>0x1?void 0x0:_0x4e1c6a?_0xeae820(_0x44c857,_0x22b4b8):_0x44c857,_0x3b62f4=_0x941051[_0xf66e1d(0x273)]-0x1,_0x3a02ee;_0x3b62f4>=0x0;_0x3b62f4--)(_0x3a02ee=_0x941051[_0x3b62f4])&&(_0x29e5c2=_0x3a02ee(_0x29e5c2)||_0x29e5c2);return _0x29e5c2;},_0x18f29b=(_0x3dadbb,_0x393233)=>(_0x279320,_0xcc36ca)=>_0x393233(_0x279320,_0xcc36ca,_0x3dadbb);let _0x313d7a=class{constructor(_0x4740f2,_0xa30f85,_0x4d0acc){const _0x3509e9=_0x3f5677;this[_0x3509e9(0x27d)]=_0x4740f2,this[_0x3509e9(0x316)]=_0xa30f85,this['_renderManagerService']=_0x4d0acc;}[_0x3f5677(0xf4)](_0x58877f){const _0x1649fa=_0x3f5677;this[_0x1649fa(0x165)](_0x58877f),this[_0x1649fa(0x24c)](_0x58877f);}[_0x3f5677(0x257)](_0x294d89){const _0x4132e7=_0x3f5677,{unitID:_0x19fbaf}=_0x294d89,_0x573ed2=this[_0x4132e7(0x317)]['getRenderById'](_0x19fbaf)[_0x4132e7(0x1a1)](_0x585373[_0x4132e7(0xbc)]),{redoCache:_0x464d3e}=_0x573ed2['getUndoRedoMutationParamsCache']();if(_0x464d3e[_0x4132e7(0x273)]===0x0)return _0x294d89;let _0x5b656c=_0x462f43['Tools'][_0x4132e7(0x2b6)](_0x294d89[_0x4132e7(0xeb)][0x0]);for(let _0xa68966=0x0;_0xa68966<_0x464d3e[_0x4132e7(0x273)];_0xa68966++){const _0x2c30b6={'id':_0x4132e7(0x23d),'params':{..._0x464d3e[_0xa68966]}},_0x1ceaa5=this['_transformService'][_0x4132e7(0x2b5)](_0x5b656c,_0x2c30b6,!0x1);if(_0x1b50bd[_0x4132e7(0x225)](_0x1ceaa5))throw _0x1ceaa5[_0x4132e7(0x192)];_0x5b656c=_0x1ceaa5[_0x4132e7(0xd2)];}return{..._0x462f43[_0x4132e7(0xf1)]['deepClone'](_0x294d89),'mutations':[_0x5b656c]};}['_transformUndoRedoStack'](_0xba231){const _0x4c2039=_0x3f5677,{unitID:_0x28f39b}=_0xba231,_0xf99fb0=this[_0x4c2039(0x317)][_0x4c2039(0x1e6)](_0x28f39b)[_0x4c2039(0x1a1)](_0x585373[_0x4c2039(0xbc)]),{undoCache:_0x53f985,redoCache:_0x260436}=_0xf99fb0['getUndoRedoMutationParamsCache']();if(_0x53f985[_0x4c2039(0x273)]===0x0||_0x260436[_0x4c2039(0x273)]===0x0)return;const _0x4322c6=[],_0x3ecbac=[];let _0x2e8bfc=_0x462f43[_0x4c2039(0xf1)][_0x4c2039(0x2b6)](_0xba231['mutations'][0x0]),_0x4f24bf=_0x462f43['Tools'][_0x4c2039(0x2b6)](_0xba231[_0x4c2039(0xeb)][0x0]);for(let _0x1deb3b=_0x53f985['length']-0x1;_0x1deb3b>=0x0;_0x1deb3b--){const _0x3f45f3={'id':_0x4c2039(0x23d),'params':{..._0x53f985[_0x1deb3b]}},_0x4353bd={'id':_0x4c2039(0x23d),'params':{..._0x260436[_0x1deb3b]}},_0x3a43db=this[_0x4c2039(0x316)][_0x4c2039(0x2b5)](_0x2e8bfc,_0x3f45f3,!0x1),_0x585bd9=this[_0x4c2039(0x316)][_0x4c2039(0x2b5)](_0x4f24bf,_0x4353bd,!0x1);if(_0x1b50bd['isTransformMutationFailure'](_0x3a43db))throw _0x3a43db[_0x4c2039(0x192)];if(_0x1b50bd[_0x4c2039(0x225)](_0x585bd9))throw _0x585bd9[_0x4c2039(0x192)];_0x4322c6[_0x4c2039(0x2d6)](_0x3a43db[_0x4c2039(0x325)][_0x4c2039(0x193)]),_0x3ecbac[_0x4c2039(0x2d6)](_0x585bd9[_0x4c2039(0x325)][_0x4c2039(0x193)]),_0x2e8bfc=_0x3a43db[_0x4c2039(0xd2)],_0x4f24bf=_0x585bd9['m1Prime'];}_0xf99fb0[_0x4c2039(0x2fa)]({'undoCache':_0x4322c6,'redoCache':_0x3ecbac});}['_transformPreviousActiveRange'](_0x1e14c9){const _0x2d262d=_0x3f5677,{unitID:_0x29fd7f}=_0x1e14c9,_0x52116a=this['_renderManagerService'][_0x2d262d(0x1e6)](_0x29fd7f)[_0x2d262d(0x1a1)](_0x585373[_0x2d262d(0xbc)]),_0x13dafa=_0x52116a[_0x2d262d(0x329)]();if(_0x13dafa==null)return;const _0x380d35=[{'id':_0x2d262d(0x23d),'params':{'unitId':_0x1e14c9[_0x2d262d(0x1c3)],'actions':null,'textRanges':[_0x13dafa]}}],_0x549ee8=this[_0x2d262d(0x316)][_0x2d262d(0x10c)](_0x1e14c9,_0x380d35);if(!_0x1b50bd[_0x2d262d(0x2d0)](_0x549ee8))throw _0x549ee8[_0x2d262d(0x192)];const _0x50c417=_0x549ee8[_0x2d262d(0x325)][0x0][_0x2d262d(0x193)]['textRanges'];Array[_0x2d262d(0x2aa)](_0x50c417)&&_0x50c417['length']&&_0x52116a[_0x2d262d(0x23c)](_0x50c417[0x0]);}};_0x313d7a=_0x69dcef([_0x18f29b(0x0,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x181)])),_0x18f29b(0x1,_0x1b50bd[_0x3f5677(0xdf)]),_0x18f29b(0x2,_0x389dd5['IRenderManagerService'])],_0x313d7a);var _0x4b50dd=Object[_0x3f5677(0x2c6)],_0xbb57c=(_0x5c11ad,_0x262815,_0x2ba5cd,_0xbad0ce)=>{const _0x41fbf3=_0x3f5677;for(var _0x5c5b68=_0xbad0ce>0x1?void 0x0:_0xbad0ce?_0x4b50dd(_0x262815,_0x2ba5cd):_0x262815,_0x4ebe16=_0x5c11ad[_0x41fbf3(0x273)]-0x1,_0x5f4b42;_0x4ebe16>=0x0;_0x4ebe16--)(_0x5f4b42=_0x5c11ad[_0x4ebe16])&&(_0x5c5b68=_0x5f4b42(_0x5c5b68)||_0x5c5b68);return _0x5c5b68;},_0x146a44=(_0x12f5ff,_0x3942d2)=>(_0x399fe4,_0x176e43)=>_0x3942d2(_0x399fe4,_0x176e43,_0x12f5ff);let _0x3bfeb2=class{constructor(_0x175bf9,_0xc2c478,_0x3b9667){const _0x467cd9=_0x3f5677;this[_0x467cd9(0x27d)]=_0x175bf9,this[_0x467cd9(0x316)]=_0xc2c478,this[_0x467cd9(0x11f)]=_0x3b9667;}[_0x3f5677(0x197)](_0x2d152e){const _0x4c13fc=_0x3f5677;this[_0x4c13fc(0x1e9)](_0x2d152e);}[_0x3f5677(0x257)](_0x532a89){const _0x2e6a24=_0x3f5677,{unitID:_0x262b02}=_0x532a89,{collaboration:_0x2d3d9f}=this[_0x2e6a24(0x11f)]['getStateCache'](_0x262b02);if(_0x2d3d9f['length']===0x0)return _0x532a89;let _0x1a4f21=_0x462f43[_0x2e6a24(0xf1)][_0x2e6a24(0x2b6)](_0x532a89['mutations'][0x0]);for(let _0x30d4bf=0x0;_0x30d4bf<_0x2d3d9f[_0x2e6a24(0x273)];_0x30d4bf++){const _0x5a1905={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d3d9f[_0x30d4bf][_0x2e6a24(0x1bc)],..._0x2d3d9f[_0x30d4bf][_0x2e6a24(0x31e)]}},_0x5b08c4=this[_0x2e6a24(0x316)]['transformMutation'](_0x1a4f21,_0x5a1905,!0x1);if(_0x1b50bd[_0x2e6a24(0x225)](_0x5b08c4))throw _0x5b08c4['error'];_0x1a4f21=_0x5b08c4[_0x2e6a24(0xd2)];}return{..._0x462f43[_0x2e6a24(0xf1)]['deepClone'](_0x532a89),'mutations':[_0x1a4f21]};}[_0x3f5677(0x1e9)](_0x2c38e2){const _0x264f6c=_0x3f5677,{unitID:_0x459f1d}=_0x2c38e2,{history:_0x7910d6,collaboration:_0x1b311c}=this[_0x264f6c(0x11f)][_0x264f6c(0x213)](_0x459f1d);if(_0x7910d6['length']===0x0&&_0x1b311c['length']===0x0)return;const _0x305203=[],_0x58fffc=[];let _0x4312e4=_0x462f43[_0x264f6c(0xf1)][_0x264f6c(0x2b6)](_0x2c38e2[_0x264f6c(0xeb)][0x0]),_0x2175f1=_0x462f43[_0x264f6c(0xf1)]['deepClone'](_0x2c38e2[_0x264f6c(0xeb)][0x0]);for(let _0x54d9a0=_0x7910d6[_0x264f6c(0x273)]-0x1;_0x54d9a0>=0x0;_0x54d9a0--){const _0xbeb977={'id':_0x264f6c(0x23d),'params':{'unitId':_0x7910d6[_0x54d9a0][_0x264f6c(0x1bc)],..._0x7910d6[_0x54d9a0][_0x264f6c(0x17d)]}},_0x450fa2={'id':_0x264f6c(0x23d),'params':{'unitId':_0x7910d6[_0x54d9a0][_0x264f6c(0x1bc)],..._0x7910d6[_0x54d9a0][_0x264f6c(0x31e)]}},_0x19881a=this['_transformService'][_0x264f6c(0x2b5)](_0x4312e4,_0xbeb977,!0x1),_0x140386=this[_0x264f6c(0x316)][_0x264f6c(0x2b5)](_0x2175f1,_0x450fa2,!0x1);if(_0x1b50bd[_0x264f6c(0x225)](_0x19881a))throw _0x19881a[_0x264f6c(0x192)];if(_0x1b50bd[_0x264f6c(0x225)](_0x140386))throw _0x140386[_0x264f6c(0x192)];_0x305203[_0x264f6c(0x2d6)]({..._0x7910d6[_0x54d9a0],'undoState':_0x19881a[_0x264f6c(0x325)][_0x264f6c(0x193)],'redoState':_0x140386[_0x264f6c(0x325)][_0x264f6c(0x193)]}),_0x4312e4=_0x19881a[_0x264f6c(0xd2)],_0x2175f1=_0x140386[_0x264f6c(0xd2)];}_0x4312e4=_0x462f43[_0x264f6c(0xf1)][_0x264f6c(0x2b6)](_0x2c38e2[_0x264f6c(0xeb)][0x0]),_0x2175f1=_0x462f43[_0x264f6c(0xf1)][_0x264f6c(0x2b6)](_0x2c38e2[_0x264f6c(0xeb)][0x0]);for(let _0x369632=_0x1b311c['length']-0x1;_0x369632>=0x0;_0x369632--){const _0x4f9037={'id':_0x264f6c(0x23d),'params':{'unitId':_0x1b311c[_0x369632][_0x264f6c(0x1bc)],..._0x1b311c[_0x369632][_0x264f6c(0x17d)]}},_0x882de3={'id':_0x264f6c(0x23d),'params':{'unitId':_0x1b311c[_0x369632][_0x264f6c(0x1bc)],..._0x1b311c[_0x369632][_0x264f6c(0x31e)]}},_0x5749a8=this[_0x264f6c(0x316)][_0x264f6c(0x2b5)](_0x4312e4,_0x4f9037,!0x1),_0x4da2fb=this[_0x264f6c(0x316)][_0x264f6c(0x2b5)](_0x2175f1,_0x882de3,!0x1);if(_0x1b50bd[_0x264f6c(0x225)](_0x5749a8))throw _0x5749a8[_0x264f6c(0x192)];if(_0x1b50bd[_0x264f6c(0x225)](_0x4da2fb))throw _0x4da2fb[_0x264f6c(0x192)];_0x58fffc[_0x264f6c(0x2d6)]({..._0x1b311c[_0x369632],'undoState':_0x5749a8[_0x264f6c(0x325)][_0x264f6c(0x193)],'redoState':_0x4da2fb[_0x264f6c(0x325)][_0x264f6c(0x193)]}),_0x4312e4=_0x5749a8['m1Prime'],_0x2175f1=_0x4da2fb['m1Prime'];}this[_0x264f6c(0x11f)][_0x264f6c(0x24b)](_0x459f1d,{'history':_0x305203,'collaboration':_0x58fffc});}};_0x3bfeb2=_0xbb57c([_0x146a44(0x0,_0x462f43[_0x3f5677(0xcc)](_0x462f43['Injector'])),_0x146a44(0x1,_0x1b50bd[_0x3f5677(0xdf)]),_0x146a44(0x2,_0x462f43[_0x3f5677(0xcc)](_0x585373[_0x3f5677(0x210)]))],_0x3bfeb2);var _0x2b22fa=Object['getOwnPropertyDescriptor'],_0x104539=(_0x2f664c,_0x50642f,_0x3fbc4d,_0x41d2f0)=>{const _0x41c6dd=_0x3f5677;for(var _0x3939e5=_0x41d2f0>0x1?void 0x0:_0x41d2f0?_0x2b22fa(_0x50642f,_0x3fbc4d):_0x50642f,_0x2fdda4=_0x2f664c[_0x41c6dd(0x273)]-0x1,_0x5414b9;_0x2fdda4>=0x0;_0x2fdda4--)(_0x5414b9=_0x2f664c[_0x2fdda4])&&(_0x3939e5=_0x5414b9(_0x3939e5)||_0x3939e5);return _0x3939e5;},_0x2d91f4=(_0x47ace7,_0x3d13b9)=>(_0x15cb42,_0x4acd80)=>_0x3d13b9(_0x15cb42,_0x4acd80,_0x47ace7);let _0x1541e2=class{constructor(_0x4ca3a1,_0xe034b1){this['_injector']=_0x4ca3a1,this['_transformService']=_0xe034b1;}[_0x3f5677(0x29e)](_0x305045){const _0x21f8dd=_0x3f5677;var _0xc3fb52;const _0x300086=this[_0x21f8dd(0x27d)]['get'](_0x1d9b1f[_0x21f8dd(0x11b)]),_0xa96474=(_0xc3fb52=_0x300086[_0x21f8dd(0x227)]())!=null?_0xc3fb52:[];if(_0xa96474[_0x21f8dd(0x273)]===0x0)return;const _0x23141d=_0x305045[_0x21f8dd(0x1c3)],_0x2e00dc=[{'id':_0x21f8dd(0x23d),'params':{'unitId':_0x23141d,'actions':null,'textRanges':_0xa96474}}],_0x17e258=this[_0x21f8dd(0x316)][_0x21f8dd(0x10c)](_0x305045,_0x2e00dc);if(!_0x1b50bd[_0x21f8dd(0x2d0)](_0x17e258))throw _0x17e258[_0x21f8dd(0x192)];const _0x59ec5b=_0x17e258['m2Prime'][0x0][_0x21f8dd(0x193)][_0x21f8dd(0x32e)];Array[_0x21f8dd(0x2aa)](_0x59ec5b)&&_0x59ec5b[_0x21f8dd(0x273)]&&_0x300086[_0x21f8dd(0x2a8)](_0x59ec5b,{'unitId':_0x23141d,'subUnitId':_0x23141d},!0x1);}};_0x1541e2=_0x104539([_0x2d91f4(0x0,_0x462f43[_0x3f5677(0xcc)](_0x462f43['Injector'])),_0x2d91f4(0x1,_0x1b50bd[_0x3f5677(0xdf)])],_0x1541e2);var _0x3830a2=Object[_0x3f5677(0x2c6)],_0x9c8d41=(_0x371df4,_0x3e79d1,_0x281d29,_0x1a9883)=>{const _0x2ec3ad=_0x3f5677;for(var _0xc76994=_0x1a9883>0x1?void 0x0:_0x1a9883?_0x3830a2(_0x3e79d1,_0x281d29):_0x3e79d1,_0x23cb5d=_0x371df4[_0x2ec3ad(0x273)]-0x1,_0x1701d0;_0x23cb5d>=0x0;_0x23cb5d--)(_0x1701d0=_0x371df4[_0x23cb5d])&&(_0xc76994=_0x1701d0(_0xc76994)||_0xc76994);return _0xc76994;},_0x412a00=(_0x5a90b1,_0x1852ae)=>(_0x1d5818,_0x1a6f57)=>_0x1852ae(_0x1d5818,_0x1a6f57,_0x5a90b1);let _0x388949=class extends _0x462f43[_0x3f5677(0xf2)]{constructor(_0x49331f,_0x365326,_0x472f4a,_0x2066b9,_0x520b04,_0x5ea13a,_0x4792c5,_0xdd2452){const _0x32ff6c=_0x3f5677;super(),_0x1f134d(this,_0x32ff6c(0xe5),new _0x498e14['BehaviorSubject'](_0x488a8d[_0x32ff6c(0x30d)][_0x32ff6c(0x25e)])),(this[_0x32ff6c(0x11f)]=_0x49331f,this['_collaborationController']=_0x365326,this[_0x32ff6c(0x20e)]=_0x472f4a,this[_0x32ff6c(0x205)]=_0x2066b9,this['_docTransformSelectionsService']=_0x520b04,this[_0x32ff6c(0x218)]=_0x5ea13a,this[_0x32ff6c(0x1be)]=_0x4792c5,this[_0x32ff6c(0x112)]=_0xdd2452,this[_0x32ff6c(0x1bb)]());}['_initEntityListener'](){const _0x3fdccc=_0x3f5677;this[_0x3fdccc(0x1ae)](this[_0x3fdccc(0x18a)][_0x3fdccc(0x155)][_0x3fdccc(0x207)](_0x38b007=>{const _0x5be226=_0x3fdccc,_0x3d45a8=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x571d97=>{const _0x49c758=_0x3c44;if(_0x571d97==null)return;const {unitId:_0x781c65,redoState:_0x1e5542,commandId:_0x2365c6}=_0x571d97;if(_0x781c65!==_0x38b007[_0x49c758(0x1c3)])return;const _0x56b3fa={'id':_0x2365c6,'type':_0x462f43[_0x49c758(0x229)]['MUTATION'],'params':{'unitId':_0x781c65,'actions':_0x1e5542['actions'],'textRanges':null}};_0x38b007[_0x49c758(0x108)](_0x56b3fa);});if(_0x38b007[_0x5be226(0x1ae)](_0x3d45a8),_0x38b007 instanceof _0x488a8d[_0x5be226(0x214)]){const _0x4dbc9c={'onTransformIME':_0x4c6eb9=>this[_0x5be226(0x20e)][_0x5be226(0xf4)](_0x4c6eb9),'onTransformState':_0x3e33d4=>this[_0x5be226(0x205)][_0x5be226(0x197)](_0x3e33d4),'onTransformSelections':_0x1beb48=>this[_0x5be226(0x246)][_0x5be226(0x29e)](_0x1beb48),'onSyncEditingCollabCursor':_0x13ce88=>this[_0x5be226(0x218)]['syncEditingCollabCursor'](_0x13ce88),'onTransformRemoteChangesetByIMECache':_0x155bf2=>this[_0x5be226(0x20e)]['transformRemoteChangeset'](_0x155bf2),'onTransformRemoteChangesetByStateCache':_0x33dccc=>this[_0x5be226(0x205)]['transformRemoteChangeset'](_0x33dccc)};_0x38b007[_0x5be226(0x30b)](_0x4dbc9c);}}));}};_0x388949=_0x9c8d41([_0x412a00(0x0,_0x462f43[_0x3f5677(0xcc)](_0x585373[_0x3f5677(0x210)])),_0x412a00(0x1,_0x462f43['Inject'](_0x488a8d[_0x3f5677(0x296)])),_0x412a00(0x2,_0x462f43[_0x3f5677(0xcc)](_0x313d7a)),_0x412a00(0x3,_0x462f43[_0x3f5677(0xcc)](_0x3bfeb2)),_0x412a00(0x4,_0x462f43['Inject'](_0x1541e2)),_0x412a00(0x5,_0x462f43[_0x3f5677(0xcc)](_0x4c0987)),_0x412a00(0x6,_0x2378be[_0x3f5677(0xd4)]),_0x412a00(0x7,_0x462f43[_0x3f5677(0xcc)](_0x462f43['LocaleService']))],_0x388949);var _0x58b42a=Object[_0x3f5677(0x2c6)],_0x1caa6c=(_0x3c1cd2,_0x55ad16,_0x5f3d6c,_0x2931f6)=>{for(var _0x3f04ad=_0x2931f6>0x1?void 0x0:_0x2931f6?_0x58b42a(_0x55ad16,_0x5f3d6c):_0x55ad16,_0x3f9703=_0x3c1cd2['length']-0x1,_0x5d9f5d;_0x3f9703>=0x0;_0x3f9703--)(_0x5d9f5d=_0x3c1cd2[_0x3f9703])&&(_0x3f04ad=_0x5d9f5d(_0x3f04ad)||_0x3f04ad);return _0x3f04ad;},_0x5e1f07=(_0x2dc6af,_0x2226dd)=>(_0x41aef0,_0x7738dc)=>_0x2226dd(_0x41aef0,_0x7738dc,_0x2dc6af);let _0xf64808=class extends _0x462f43[_0x3f5677(0xf2)]{constructor(_0x426870,_0x2d2b65,_0x536ca7){const _0x4f0357=_0x3f5677;super(),_0x1f134d(this,_0x4f0357(0x121),new Map()),_0x1f134d(this,_0x4f0357(0x2ff),new Map()),_0x1f134d(this,'_disabled',!0x1),(this['_configService']=_0x426870,this[_0x4f0357(0x333)]=_0x2d2b65,this[_0x4f0357(0x336)]=_0x536ca7);}['disableLocalCache'](){const _0x3cc17c=_0x3f5677;this[_0x3cc17c(0x144)]=!0x0;}['enableLocalCache'](){const _0x41b317=_0x3f5677;this[_0x41b317(0x144)]=!0x1;}get[_0x3f5677(0xb7)](){const _0x12796f=_0x3f5677;return this[_0x12796f(0x2ff)];}[_0x3f5677(0x2e7)](){const _0x3bb6ca=_0x3f5677;this[_0x3bb6ca(0xca)]()[_0x3bb6ca(0x224)](()=>super[_0x3bb6ca(0x2e7)]());}async[_0x3f5677(0x2dd)](_0x4bcaea){const _0xa288cc=_0x3f5677;return this['_disabled']?null:this[_0xa288cc(0x333)][_0xa288cc(0x23f)](_0x488a8d[_0xa288cc(0xd3)](_0x4bcaea));}async[_0x3f5677(0x10d)](_0x13acde,_0xa609c3){const _0x3e40a2=_0x3f5677;return!!this[_0x3e40a2(0x333)]['setItem'](_0x13acde,_0xa609c3);}[_0x3f5677(0x304)](_0x3f2ca5,_0x402b6c,_0x5627ad,_0x46c8fe){const _0x416b2e=_0x3f5677,_0x5ec67e=this[_0x416b2e(0x336)][_0x416b2e(0x2bf)](_0x3f2ca5);this[_0x416b2e(0x121)][_0x416b2e(0x326)](_0x3f2ca5,{'unitID':_0x3f2ca5,'type':_0x402b6c,'awaitingChangeset':_0x5627ad,'mutations':_0x46c8fe,'rev':_0x5ec67e}),this['_saveTaskMap'][_0x416b2e(0xc6)](_0x3f2ca5)||this['_scheduleSaving'](_0x3f2ca5);}['_scheduleSaving'](_0x2b2ba2){const _0x1d0869=_0x3f5677,_0x21dcb5=this[_0x1d0869(0x2a1)]();_0x21dcb5===0x0?this[_0x1d0869(0xb0)](_0x2b2ba2):this[_0x1d0869(0x2ff)][_0x1d0869(0x326)](_0x2b2ba2,setTimeout(()=>this[_0x1d0869(0xb0)](_0x2b2ba2),_0x21dcb5));}[_0x3f5677(0x2a1)](){const _0x3ef6ce=_0x3f5677;var _0x4799dd;return(_0x4799dd=this[_0x3ef6ce(0x168)]['getConfig'](_0x488a8d[_0x3ef6ce(0x1d1)]))!=null?_0x4799dd:_0x488a8d[_0x3ef6ce(0x194)];}[_0x3f5677(0xb0)](_0x46250d){const _0x59ea25=_0x3f5677,_0xa86c50=this[_0x59ea25(0x2ff)]['get'](_0x46250d);return _0xa86c50!==void 0x0&&window['clearTimeout'](_0xa86c50),this[_0x59ea25(0x333)][_0x59ea25(0x15c)](_0x488a8d[_0x59ea25(0xd3)](_0x46250d),this[_0x59ea25(0x121)][_0x59ea25(0x122)](_0x46250d))[_0x59ea25(0x224)](()=>this[_0x59ea25(0x2ff)][_0x59ea25(0x185)](_0x46250d));}async[_0x3f5677(0xca)](){const _0x42e904=_0x3f5677,_0x40fb9c=[];this[_0x42e904(0x2ff)][_0x42e904(0x32a)]((_0x20002a,_0x4da61f)=>{const _0x49b641=_0x42e904;window[_0x49b641(0x200)](_0x20002a),_0x40fb9c['push'](this['_saveCache'](_0x4da61f)[_0x49b641(0x224)](()=>{const _0x2e59d8=_0x49b641;this[_0x2e59d8(0x2ff)][_0x2e59d8(0x185)](_0x4da61f);}));}),await Promise[_0x42e904(0x2e3)](_0x40fb9c);}};_0xf64808=_0x1caa6c([_0x5e1f07(0x0,_0x462f43['IConfigService']),_0x5e1f07(0x1,_0x462f43[_0x3f5677(0x1c1)]),_0x5e1f07(0x2,_0x462f43[_0x3f5677(0xcc)](_0x1b50bd['RevisionService']))],_0xf64808);class _0x11ec3f extends _0x462f43['RxDisposable']{constructor(){const _0x21e57b=_0x3f5677;super(),_0x1f134d(this,_0x21e57b(0x16e)),this[_0x21e57b(0x16e)]=_0x498e14[_0x21e57b(0x134)](window,_0x21e57b(0x238))[_0x21e57b(0x209)](_0x498e14[_0x21e57b(0x17a)](this['dispose$']),_0x498e14[_0x21e57b(0x2a6)](0x1),_0x498e14[_0x21e57b(0x249)](void 0x0));}[_0x3f5677(0x1a2)](_0x2552ad,_0x1ca59b,_0x332aa9=!0x1){const _0x454b43=_0x3f5677,_0x5d1abe=new URL(window['location'][_0x454b43(0x166)]);_0x5d1abe['searchParams'][_0x454b43(0x326)](_0x2552ad,_0x1ca59b),_0x332aa9?window[_0x454b43(0x12d)][_0x454b43(0x230)]('','',_0x5d1abe['toString']()):window[_0x454b43(0x12d)][_0x454b43(0x240)]('','',_0x5d1abe[_0x454b43(0x237)]());}[_0x3f5677(0x18b)](_0x4db969,_0x371128=!0x1){const _0x3607d9=_0x3f5677,_0x1ad1f3=new URL(window['location'][_0x3607d9(0x166)]);_0x1ad1f3[_0x3607d9(0x1ca)][_0x3607d9(0x185)](_0x4db969),_0x371128?window[_0x3607d9(0x12d)][_0x3607d9(0x230)]('','',_0x1ad1f3[_0x3607d9(0x237)]()):window['history'][_0x3607d9(0x240)]('','',_0x1ad1f3[_0x3607d9(0x237)]());}[_0x3f5677(0x1ff)](_0x152ff1){const _0x1e9808=_0x3f5677;var _0x2a3420;return(_0x2a3420=new URL(window[_0x1e9808(0xfb)]['href'])[_0x1e9808(0x1ca)]['get'](_0x152ff1))!=null?_0x2a3420:void 0x0;}}var _0x31d1b1=Object['defineProperty'],_0x3f58af=Object[_0x3f5677(0x2c6)],_0x3b8278=(_0x2d7583,_0x482c6d,_0x4d9f19)=>_0x482c6d in _0x2d7583?_0x31d1b1(_0x2d7583,_0x482c6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d9f19}):_0x2d7583[_0x482c6d]=_0x4d9f19,_0x23e5ac=(_0x5f0f94,_0x4fb27e,_0x340def,_0x39b96d)=>{for(var _0x23d01f=_0x39b96d>0x1?void 0x0:_0x39b96d?_0x3f58af(_0x4fb27e,_0x340def):_0x4fb27e,_0x260ee4=_0x5f0f94['length']-0x1,_0x5b978e;_0x260ee4>=0x0;_0x260ee4--)(_0x5b978e=_0x5f0f94[_0x260ee4])&&(_0x23d01f=_0x5b978e(_0x23d01f)||_0x23d01f);return _0x23d01f;},_0x453431=(_0x2966ea,_0x3e3ae)=>(_0x66fe0d,_0x44a557)=>_0x3e3ae(_0x66fe0d,_0x44a557,_0x2966ea),_0x36ebba=(_0x1ba9b2,_0xd80de8,_0x33acda)=>_0x3b8278(_0x1ba9b2,_0xd80de8+'',_0x33acda);const _0x481128=_0x3f5677(0x1a3);_0x5256df['UniverCollaborationClientUIPlugin']=class extends _0x462f43[_0x3f5677(0xbf)]{constructor(_0x3a9caf=_0x34b268,_0x1f222a,_0x455424,_0x156e61){const _0x414afb=_0x3f5677;super(),this[_0x414afb(0x1cd)]=_0x3a9caf,this[_0x414afb(0x317)]=_0x1f222a,this[_0x414afb(0x27d)]=_0x455424,this[_0x414afb(0x168)]=_0x156e61;const {..._0x22bff7}=_0x462f43[_0x414afb(0x25a)]({},_0x34b268,this['_config']);this[_0x414afb(0x168)][_0x414afb(0x290)](_0x9ed6b5,_0x22bff7);}[_0x3f5677(0x1d9)](){const _0x54af49=_0x3f5677;this[_0x54af49(0x21b)](),this[_0x54af49(0x300)]();}['onRendered'](){const _0x4e2016=_0x3f5677;this[_0x4e2016(0xfd)]();}['_registerDependencies'](){const _0x116a7e=_0x3f5677;var _0x1319b0;const _0x4468ad=[[_0x560e46],[_0x1541e2],[_0x313d7a],[_0x3bfeb2],[_0x4c0987],[_0x527005,{'useClass':_0x11ec3f}],[_0x5d82a4[_0x116a7e(0x26c)],{'useClass':_0x5d82a4['WebSocketService']}],[_0x488a8d[_0x116a7e(0xfe)],{'useClass':_0xf64808}],[_0x5256df[_0x116a7e(0x288)]],[_0x388949],[_0xa667ca],[_0x1a972c],[_0x350b31],[_0x5256df[_0x116a7e(0x111)]]];_0x462f43[_0x116a7e(0x26d)](this[_0x116a7e(0x27d)],_0x462f43[_0x116a7e(0x312)](_0x4468ad,(_0x1319b0=this['_config'])==null?void 0x0:_0x1319b0[_0x116a7e(0x2f1)]));}[_0x3f5677(0xfd)](){const _0xcce289=_0x3f5677;this[_0xcce289(0x1ae)](this[_0xcce289(0x317)][_0xcce289(0x1f2)](_0x462f43['UniverInstanceType'][_0xcce289(0xde)],[_0x55df5c])),this['disposeWithMe'](this[_0xcce289(0x317)][_0xcce289(0x1f2)](_0x462f43['UniverInstanceType'][_0xcce289(0x293)],[_0x2a2cd3]));}['_initDependencies'](){const _0x392cfb=_0x3f5677;_0x462f43['touchDependencies'](this[_0x392cfb(0x27d)],[[_0x1a972c],[_0x5256df[_0x392cfb(0x288)]],[_0x388949],[_0xa667ca],[_0x5256df['CollaborationDataLoaderController']]]);}},_0x36ebba(_0x5256df[_0x3f5677(0x1b0)],'pluginName',_0x481128),_0x5256df['UniverCollaborationClientUIPlugin']=_0x23e5ac([_0x462f43[_0x3f5677(0x162)](_0x488a8d[_0x3f5677(0x311)]),_0x453431(0x1,_0x389dd5[_0x3f5677(0x283)]),_0x453431(0x2,_0x462f43[_0x3f5677(0xcc)](_0x462f43[_0x3f5677(0x181)])),_0x453431(0x3,_0x462f43[_0x3f5677(0xad)])],_0x5256df['UniverCollaborationClientUIPlugin']);var _0x52a67d=Object[_0x3f5677(0x2c6)],_0x5971e5=(_0x5b3cdf,_0x2505e6,_0x3d3981,_0x5776c3)=>{const _0x27c38d=_0x3f5677;for(var _0x5b9cdb=_0x5776c3>0x1?void 0x0:_0x5776c3?_0x52a67d(_0x2505e6,_0x3d3981):_0x2505e6,_0x434fce=_0x5b3cdf[_0x27c38d(0x273)]-0x1,_0xd5f165;_0x434fce>=0x0;_0x434fce--)(_0xd5f165=_0x5b3cdf[_0x434fce])&&(_0x5b9cdb=_0xd5f165(_0x5b9cdb)||_0x5b9cdb);return _0x5b9cdb;},_0x9c0ea8=(_0x33060c,_0x2177fa)=>(_0x10858b,_0x307802)=>_0x2177fa(_0x10858b,_0x307802,_0x33060c);_0x5256df[_0x3f5677(0x2ca)]=class extends _0x488a8d[_0x3f5677(0x274)]{constructor(_0x5c8ab7,_0x27d4f6,_0x32b00a,_0xd2ecc2,_0x34591){super(_0x5c8ab7,_0x27d4f6,_0x32b00a,_0xd2ecc2,_0x34591);}async['createSocket'](_0x322f2e){const _0x18a04f=_0x3f5677,_0x1d5021=await this[_0x18a04f(0x1b1)](),_0x3d9239=this[_0x18a04f(0x28f)](_0x322f2e,_0x1d5021);return this[_0x18a04f(0x170)](_0x3d9239);}[_0x3f5677(0x28f)](_0x1a269a,_0x6bafc9){const _0x334da5=_0x3f5677,_0x2c3058=typeof window>'u'?new URL(_0x1a269a):new URL(_0x1a269a,window[_0x334da5(0xfb)]['origin']);_0x2c3058[_0x334da5(0x1ca)]['set']('sessionTicket',_0x6bafc9);const _0xc7d718=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x334da5(0xfb)]['search']);return _0xc7d718[_0x334da5(0x122)](_0x334da5(0x2c2))&&_0x2c3058[_0x334da5(0x1ca)]['set'](_0x334da5(0x2c2),_0xc7d718[_0x334da5(0x122)](_0x334da5(0x2c2))),_0x2c3058[_0x334da5(0x237)]();}async[_0x3f5677(0x1b1)](){const _0x2cea93=_0x3f5677;var _0x2243ce,_0x1df274,_0x227b6a;const _0x4c81fd=this[_0x2cea93(0x168)][_0x2cea93(0x2f8)](_0x488a8d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x4676cf=(_0x2243ce=_0x4c81fd==null?void 0x0:_0x4c81fd[_0x2cea93(0xae)])!=null?_0x2243ce:_0x488a8d[_0x2cea93(0x10b)];return(_0x227b6a=(_0x1df274=(await this[_0x2cea93(0x110)][_0x2cea93(0x122)](_0x4676cf,{'headers':{'Content-Type':'application/json'}}))[_0x2cea93(0x1c5)])==null?void 0x0:_0x1df274['ticket'])!=null?_0x227b6a:'';}},_0x5256df[_0x3f5677(0x2ca)]=_0x5971e5([_0x9c0ea8(0x0,_0x462f43['Inject'](_0x462f43[_0x3f5677(0x181)])),_0x9c0ea8(0x1,_0x462f43[_0x3f5677(0xcc)](_0x5d82a4[_0x3f5677(0x145)])),_0x9c0ea8(0x2,_0x462f43[_0x3f5677(0xad)]),_0x9c0ea8(0x3,_0x462f43['ILogService']),_0x9c0ea8(0x4,_0x1b50bd[_0x3f5677(0x1cf)])],_0x5256df[_0x3f5677(0x2ca)]);const _0x525ca8=0x7530,_0x139701=_0x3f5677(0x180);class _0x143626 extends _0x462f43[_0x3f5677(0xf2)]{constructor(){const _0x10a18d=_0x3f5677;super(),_0x1f134d(this,'_id',_0x462f43['generateRandomId']()),_0x1f134d(this,_0x10a18d(0x1c2),new Set()),_0x1f134d(this,_0x10a18d(0x1f0),new Map()),_0x1f134d(this,_0x10a18d(0x1af),null),_0x1f134d(this,_0x10a18d(0x16d),new Map()),_0x1f134d(this,'_unitStatus',new Map()),this[_0x10a18d(0x124)]();}[_0x3f5677(0x2e7)](){const _0x4d048b=_0x3f5677;super[_0x4d048b(0x2e7)](),this[_0x4d048b(0x16d)][_0x4d048b(0x32a)]((_0x5ddaa7,_0x5d2ee4)=>this[_0x4d048b(0x1fc)](_0x5d2ee4)),this['_heartbeatTimer']&&window[_0x4d048b(0x1aa)](this[_0x4d048b(0x1af)]);}['getUnitStatus$'](_0x4c1c42){const _0x44fe1f=_0x3f5677;return this[_0x44fe1f(0x2f0)](_0x4c1c42)[_0x44fe1f(0x209)](_0x498e14[_0x44fe1f(0x28c)]());}[_0x3f5677(0xfa)](_0x5c29c7){const _0x3f8f28=_0x3f5677;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3f8f28(0x1c2)][_0x3f8f28(0x2b1)](_0x5c29c7),this['_send']({'type':0x0,'memberID':this[_0x3f8f28(0x1f9)],'unitIDs':[_0x5c29c7],'isForwarded':!0x1});}[_0x3f5677(0x18e)](_0x18f801){const _0x14caf9=_0x3f5677;this['_selfUnitIDs'][_0x14caf9(0x185)](_0x18f801),this[_0x14caf9(0x1c2)]['size']===0x0&&this[_0x14caf9(0x1af)]&&window[_0x14caf9(0x1aa)](this['_heartbeatTimer']);}[_0x3f5677(0x124)](){const _0x4d3808=_0x3f5677;this[_0x4d3808(0x1ae)](_0x462f43['toDisposable'](_0x498e14['fromEvent'](window,_0x4d3808(0x16a))[_0x4d3808(0x207)](_0x18c53b=>{const _0x48cc50=_0x4d3808;if(_0x18c53b[_0x48cc50(0x284)]!==_0x139701||!_0x18c53b[_0x48cc50(0x1ba)])return;const _0x3da948=JSON['parse'](_0x18c53b[_0x48cc50(0x1ba)]);this[_0x48cc50(0x318)](_0x3da948);}))),window['addEventListener']('unload',()=>this[_0x4d3808(0xd7)]({'type':0x1,'memberID':this[_0x4d3808(0x1f9)],'unitIDs':Array[_0x4d3808(0xfc)](this[_0x4d3808(0x1c2)])}));}[_0x3f5677(0x318)](_0x4cc89b){const _0x10829b=_0x3f5677;switch(_0x4cc89b[_0x10829b(0xe3)]){case 0x0:this[_0x10829b(0xe9)](_0x4cc89b);break;case 0x1:this['_handleLeaveEvent'](_0x4cc89b);break;case 0x2:this[_0x10829b(0x1ad)](_0x4cc89b);break;}}['_handleJoinEvent'](_0x4289e8){const _0x4f6a3a=_0x3f5677,{unitIDs:_0x2bb8b4,memberID:_0x2e436f,isForwarded:_0xeccd67}=_0x4289e8;_0x2bb8b4[_0x4f6a3a(0x32a)](_0xaca38e=>{const _0x15ab6d=_0x4f6a3a;if(!_0xeccd67&&this['_unitOnClients']['has'](_0xaca38e)&&this[_0x15ab6d(0x2f0)](_0xaca38e)[_0x15ab6d(0x20b)](_0x488a8d[_0x15ab6d(0x2c4)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x15ab6d(0xc6)](_0xaca38e)||!this[_0x15ab6d(0x1f0)]['get'](_0xaca38e)[_0x15ab6d(0xc6)](_0x2e436f)){const _0x3629b4=this[_0x15ab6d(0x1f0)]['get'](_0xaca38e)||new Set();_0x3629b4[_0x15ab6d(0x2b1)](_0x2e436f),this['_unitOnClients'][_0x15ab6d(0x326)](_0xaca38e,_0x3629b4),this[_0x15ab6d(0x1bd)](_0x2e436f);}}),_0xeccd67||this[_0x4f6a3a(0xd7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4f6a3a(0x1c2)]],'isForwarded':!0x0});}[_0x3f5677(0x1bd)](_0x1dc70c){const _0x163ba5=_0x3f5677;this[_0x163ba5(0x1fc)](_0x1dc70c);const _0xab2bdb=window[_0x163ba5(0x30a)](()=>{const _0x2fca16=_0x163ba5;this[_0x2fca16(0x1f0)][_0x2fca16(0x32a)](_0x4cd619=>{const _0xd41d4a=_0x2fca16;_0x4cd619[_0xd41d4a(0x185)](_0x1dc70c);});},_0x525ca8*0x2);this[_0x163ba5(0x16d)][_0x163ba5(0x326)](_0x1dc70c,_0xab2bdb);}[_0x3f5677(0x1fc)](_0x37ab24){const _0x1d2843=_0x3f5677;if(this[_0x1d2843(0x16d)]['has'](_0x37ab24)){const _0x2319cb=this[_0x1d2843(0x16d)][_0x1d2843(0x122)](_0x37ab24);_0x2319cb&&window['clearTimeout'](_0x2319cb),this[_0x1d2843(0x16d)][_0x1d2843(0x326)](_0x37ab24,null);}}['_handleLeaveEvent'](_0x139bf2){const _0x4f0510=_0x3f5677,{memberID:_0x2d4a24,unitIDs:_0x5022a1}=_0x139bf2;_0x5022a1[_0x4f0510(0x32a)](_0x4fc06f=>{const _0x58916d=_0x4f0510;var _0xb366f5;const _0xa4996c=this[_0x58916d(0x1f0)]['get'](_0x4fc06f);_0xa4996c&&(_0xa4996c[_0x58916d(0x185)](_0x2d4a24),(_0xb366f5=this[_0x58916d(0x2f0)](_0x4fc06f))==null||_0xb366f5['next'](_0xa4996c[_0x58916d(0x29c)]===0x0?_0x488a8d[_0x58916d(0x2c4)][_0x58916d(0x17c)]:_0x488a8d['UnitStatus'][_0x58916d(0xf6)]));}),this[_0x4f0510(0x1fc)](_0x2d4a24);}['_handleHeartbeatEvent'](_0x95d2b9){const _0x43ca6e=_0x3f5677;this[_0x43ca6e(0x1bd)](_0x95d2b9[_0x43ca6e(0x21f)]);}['_send'](_0x3bfe57){const _0x1639d1=_0x3f5677;localStorage[_0x1639d1(0x15c)](_0x139701,JSON['stringify'](_0x3bfe57));}['_scheduleHeartbeat'](){const _0x38b920=_0x3f5677;this[_0x38b920(0x1af)]=window[_0x38b920(0x330)](()=>{const _0x4c1a67=_0x38b920;this[_0x4c1a67(0xd7)]({'type':0x2,'memberID':this['_id']});},_0x525ca8);}[_0x3f5677(0x2f0)](_0x4bbe92){const _0xd59021=_0x3f5677;return this[_0xd59021(0xc1)][_0xd59021(0xc6)](_0x4bbe92)||this[_0xd59021(0xc1)][_0xd59021(0x326)](_0x4bbe92,new _0x498e14['BehaviorSubject'](_0x488a8d['UnitStatus'][_0xd59021(0x17c)])),this[_0xd59021(0xc1)][_0xd59021(0x122)](_0x4bbe92);}}var _0x359426=(_0x1ccdcf=>(_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x18c)]=0x0]=_0x3f5677(0x18c),_0x1ccdcf[_0x1ccdcf['OK']=0x1]='OK',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x198)]=0x2]=_0x3f5677(0x198),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x281)]=0x3]='PERMISSION_DENIED',_0x1ccdcf[_0x1ccdcf['NOT_FOUND']=0x4]=_0x3f5677(0xbb),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x313)]=0x5]=_0x3f5677(0x313),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2cf)]=0x6]=_0x3f5677(0x2cf),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2e0)]=0x7]=_0x3f5677(0x2e0),_0x1ccdcf[_0x1ccdcf['TOO_MANY_REQUESTS']=0x8]=_0x3f5677(0x12f),_0x1ccdcf[_0x1ccdcf['COMPLETION_FINISHED']=0x9]=_0x3f5677(0x2e6),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0xda)]=0xa]=_0x3f5677(0xda),_0x1ccdcf[_0x1ccdcf['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x3f5677(0x15e),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x187)]=0xc]=_0x3f5677(0x187),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x14f)]=0xd]=_0x3f5677(0x14f),_0x1ccdcf[_0x1ccdcf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3f5677(0x150),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x115)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x179)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x253)]=0x1772]=_0x3f5677(0x253),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0xb1)]=0x1773]=_0x3f5677(0xb1),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x261)]=0x1b59]=_0x3f5677(0x261),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0xa0)]=0x1b5a]=_0x3f5677(0xa0),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x208)]=0x1b5b]=_0x3f5677(0x208),_0x1ccdcf[_0x1ccdcf['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f5677(0x332),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x236)]=0x1b5d]=_0x3f5677(0x236),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x11d)]=0x1f41]=_0x3f5677(0x11d),_0x1ccdcf[_0x1ccdcf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3f5677(0x206),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x269)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x335)]=0x232b]=_0x3f5677(0x335),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0xf5)]=0x232c]=_0x3f5677(0xf5),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x1c7)]=0x232d]=_0x3f5677(0x1c7),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x243)]=0x2711]=_0x3f5677(0x243),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x20c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2d8)]=0x2713]=_0x3f5677(0x2d8),_0x1ccdcf[_0x1ccdcf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3f5677(0x102),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0xe7)]=0x271a]=_0x3f5677(0xe7),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x1e2)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2ba)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x20a)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1ccdcf[_0x1ccdcf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3f5677(0x268),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x178)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x157)]=0x2720]=_0x3f5677(0x157),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x1cc)]=0x2af9]=_0x3f5677(0x1cc),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x291)]=0x2ee1]=_0x3f5677(0x291),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x248)]=0x2ee2]='INVALID_INVITE_CODE',_0x1ccdcf[_0x1ccdcf['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3f5677(0x15b),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2e1)]=0x2ee4]=_0x3f5677(0x2e1),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2c0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x32b)]=0x32c9]=_0x3f5677(0x32b),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x30c)]=0x32ca]=_0x3f5677(0x30c),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x2ae)]=0x32cb]=_0x3f5677(0x2ae),_0x1ccdcf[_0x1ccdcf[_0x3f5677(0x24a)]=-0x1]=_0x3f5677(0x24a),_0x1ccdcf))(_0x359426||{}),_0x25f87a=Object['getOwnPropertyDescriptor'],_0x5bc195=(_0x255ac4,_0x45dcae,_0x3aeee1,_0x1d75c9)=>{const _0x482197=_0x3f5677;for(var _0x342794=_0x1d75c9>0x1?void 0x0:_0x1d75c9?_0x25f87a(_0x45dcae,_0x3aeee1):_0x45dcae,_0x39552c=_0x255ac4[_0x482197(0x273)]-0x1,_0xa3604e;_0x39552c>=0x0;_0x39552c--)(_0xa3604e=_0x255ac4[_0x39552c])&&(_0x342794=_0xa3604e(_0x342794)||_0x342794);return _0x342794;},_0x57adfa=(_0x4a5d28,_0x2fbd1d)=>(_0x32f646,_0x2fd10e)=>_0x2fbd1d(_0x32f646,_0x2fd10e,_0x4a5d28);_0x5256df['RemoteUniscriptService']=class extends _0x462f43[_0x3f5677(0xf2)]{constructor(_0x55bc53,_0x1175b4,_0x415adc){const _0x1e8a51=_0x3f5677;super(),this[_0x1e8a51(0x1ee)]=_0x55bc53,this['_httpService']=_0x1175b4,this[_0x1e8a51(0x168)]=_0x415adc;}async[_0x3f5677(0x184)](_0x3fff46,_0x51a769,_0x391d29,..._0x25c8d3){const _0x4f145c=_0x3f5677;var _0x478842,_0x43bf5f,_0x57dd9a,_0x9aa521;const _0x377e50=this[_0x4f145c(0x1ee)][_0x4f145c(0x29a)]();if(!_0x377e50)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x9a32b6=((_0x478842=this[_0x4f145c(0x168)][_0x4f145c(0x2f8)](_0x488a8d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x478842:_0x488a8d[_0x4f145c(0x16b)])+'/'+_0x3fff46+_0x4f145c(0x27f)+_0x51a769,_0x6dbe90=new URL(window[_0x4f145c(0xfb)][_0x4f145c(0x166)]),_0x2cc5a7={'scriptId':_0x3fff46,'runId':(_0x43bf5f=_0x6dbe90[_0x4f145c(0x1ca)][_0x4f145c(0x122)]('runId'))!=null?_0x43bf5f:'','function':_0x51a769,'unitId':_0x377e50[_0x4f145c(0x315)](),'argsOfFunction':JSON['stringify'](_0x25c8d3),'invokeId':(_0x57dd9a=_0x391d29[_0x4f145c(0x1a8)])!=null?_0x57dd9a:'','executionId':(_0x9aa521=_0x391d29[_0x4f145c(0x303)])!=null?_0x9aa521:''};try{const _0x4ccc0d=await this[_0x4f145c(0x110)][_0x4f145c(0x148)](_0x9a32b6,{'body':_0x2cc5a7});return _0x4ccc0d[_0x4f145c(0x1c5)][_0x4f145c(0x192)]&&_0x4ccc0d['body'][_0x4f145c(0x192)][_0x4f145c(0x280)]!==_0x359426['OK']?_0x4f145c(0x1e4):_0x4ccc0d['body'][_0x4f145c(0x14a)];}catch{return _0x4f145c(0x1e4);}}},_0x5256df[_0x3f5677(0x2c7)]=_0x5bc195([_0x57adfa(0x0,_0x462f43[_0x3f5677(0xb4)]),_0x57adfa(0x1,_0x462f43[_0x3f5677(0xcc)](_0x5d82a4['HTTPService'])),_0x57adfa(0x2,_0x462f43['IConfigService'])],_0x5256df[_0x3f5677(0x2c7)]),_0x5256df[_0x3f5677(0x32d)]=_0x5e617b,_0x5256df['IURLService']=_0x527005,_0x5256df[_0x3f5677(0x221)]=_0x2d1b35,_0x5256df[_0x3f5677(0x1b4)]=_0x143626,_0x5256df['WebURLService']=_0x11ec3f,Object['defineProperty'](_0x5256df,Symbol[_0x3f5677(0xdb)],{'value':_0x3f5677(0x19c)});}));
|
|
1
|
+
(function(_0x233305,_0x31abd0){const _0x1f16a7=_0x35c7,_0x2134ea=_0x233305();while(!![]){try{const _0x339a5b=parseInt(_0x1f16a7(0x311))/0x1+parseInt(_0x1f16a7(0x2c9))/0x2*(parseInt(_0x1f16a7(0x2e7))/0x3)+-parseInt(_0x1f16a7(0x1fb))/0x4*(parseInt(_0x1f16a7(0x312))/0x5)+parseInt(_0x1f16a7(0x267))/0x6*(parseInt(_0x1f16a7(0x2b1))/0x7)+parseInt(_0x1f16a7(0x1f4))/0x8*(-parseInt(_0x1f16a7(0x25e))/0x9)+-parseInt(_0x1f16a7(0x366))/0xa+-parseInt(_0x1f16a7(0x1f3))/0xb*(-parseInt(_0x1f16a7(0x25a))/0xc);if(_0x339a5b===_0x31abd0)break;else _0x2134ea['push'](_0x2134ea['shift']());}catch(_0x493828){_0x2134ea['push'](_0x2134ea['shift']());}}}(_0x538c,0x39535),function(_0x4f0b56,_0x5e370d){const _0x42658e=_0x35c7;typeof exports==_0x42658e(0x2de)&&typeof module<'u'?_0x5e370d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x42658e(0x1f2)&&define[_0x42658e(0x2bb)]?define([_0x42658e(0x3c8),_0x42658e(0x2da),_0x42658e(0x1e4),_0x42658e(0x370),'@univerjs/network',_0x42658e(0x21e),_0x42658e(0x2c4),'rxjs','@univerjs-pro/collaboration',_0x42658e(0x3cc),_0x42658e(0x420),_0x42658e(0x380),_0x42658e(0x1e1),_0x42658e(0x344),'react/jsx-runtime',_0x42658e(0x3d9),_0x42658e(0x377),_0x42658e(0x3e4),_0x42658e(0x374)],_0x5e370d):(_0x4f0b56=typeof globalThis<'u'?globalThis:_0x4f0b56||self,_0x5e370d(_0x4f0b56[_0x42658e(0x289)]={},_0x4f0b56[_0x42658e(0x2b2)],_0x4f0b56['UniverCore'],_0x4f0b56[_0x42658e(0x20f)],_0x4f0b56[_0x42658e(0x385)],_0x4f0b56[_0x42658e(0x2f8)],_0x4f0b56[_0x42658e(0x251)],_0x4f0b56['rxjs'],_0x4f0b56['UniverProCollaboration'],_0x4f0b56[_0x42658e(0x395)],_0x4f0b56[_0x42658e(0x3ac)],_0x4f0b56['UniverSheets'],_0x4f0b56['rxjs'][_0x42658e(0x2fc)],_0x4f0b56[_0x42658e(0x1df)],_0x4f0b56['React'],_0x4f0b56['UniverUi'],_0x4f0b56['UniverDesign'],_0x4f0b56[_0x42658e(0x264)],_0x4f0b56[_0x42658e(0x19f)]));}(this,function(_0xd1fb5f,_0x52adaf,_0x5a65dd,_0x44102d,_0x14d874,_0x386d05,_0x27346c,_0x1746b4,_0x5d1d3f,_0x46119b,_0x5a8fef,_0x1b362f,_0x4e5fdf,_0xd9782a,_0x53913b,_0x494249,_0x3358c8,_0x221fa5,_0x2ca3ca){'use strict';const _0x1514d5=_0x35c7;var _0x14c912=Object[_0x1514d5(0x2ca)],_0x5806a2=(_0x515f8a,_0x38eca9,_0x4ecd3e)=>_0x38eca9 in _0x515f8a?_0x14c912(_0x515f8a,_0x38eca9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ecd3e}):_0x515f8a[_0x38eca9]=_0x4ecd3e,_0x4bb569=(_0x49d1b0,_0xc5f304,_0x52fa18)=>_0x5806a2(_0x49d1b0,typeof _0xc5f304!=_0x1514d5(0x30d)?_0xc5f304+'':_0xc5f304,_0x52fa18),_0x335175=Object[_0x1514d5(0x38f)],_0x4d32c6=(_0x727248,_0x45151b,_0x35e92e,_0x1baca8)=>{const _0xe89bc5=_0x1514d5;for(var _0x590a5f=_0x1baca8>0x1?void 0x0:_0x1baca8?_0x335175(_0x45151b,_0x35e92e):_0x45151b,_0x13986b=_0x727248[_0xe89bc5(0x38a)]-0x1,_0x4f502a;_0x13986b>=0x0;_0x13986b--)(_0x4f502a=_0x727248[_0x13986b])&&(_0x590a5f=_0x4f502a(_0x590a5f)||_0x590a5f);return _0x590a5f;},_0x38ef47=(_0x399c83,_0x27fbd9)=>(_0x30e3ac,_0x33d7a1)=>_0x27fbd9(_0x30e3ac,_0x33d7a1,_0x399c83);let _0x49ff98=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x15fe1a,_0x43fad3){const _0x56ef98=_0x1514d5;super(),this['_docClipboardService']=_0x15fe1a,this[_0x56ef98(0x1f5)]=_0x43fad3,this[_0x56ef98(0x2ae)]();}[_0x1514d5(0x2ae)](){const _0x111ff7=_0x1514d5,_0x7e6b1d=this;this[_0x111ff7(0x2c6)](this[_0x111ff7(0x1ec)]['addClipboardHook']({'onBeforePasteImage':async _0x2e2dac=>{const _0x3e326e=_0x111ff7,_0x517159=await _0x7e6b1d[_0x3e326e(0x1f5)][_0x3e326e(0x28b)](_0x2e2dac);return _0x517159?{'source':_0x517159[_0x3e326e(0x279)],'imageSourceType':_0x517159[_0x3e326e(0x37a)]}:null;}}));}};_0x49ff98=_0x4d32c6([_0x38ef47(0x0,_0x386d05[_0x1514d5(0x427)]),_0x38ef47(0x1,_0x27346c[_0x1514d5(0x2af)])],_0x49ff98);const _0x4cd52b=[_0x1514d5(0x1aa),'jiqing.500','green.600',_0x1514d5(0x2ee),'blue.400','yellow.400'];class _0x4bcdf4 extends _0x5a65dd['Disposable']{constructor(){const _0x1b046a=_0x1514d5;super(...arguments),_0x4bb569(this,'_assignedColors',new Map()),_0x4bb569(this,_0x1b046a(0x3e8),0x0);}[_0x1514d5(0x25f)](_0x3c32a0){const _0x31b65f=_0x1514d5;if(this[_0x31b65f(0x218)][_0x31b65f(0x3cd)](_0x3c32a0))return this[_0x31b65f(0x218)][_0x31b65f(0x1de)](_0x3c32a0);const _0x16c470=_0x4cd52b[this[_0x31b65f(0x3e8)]];return this[_0x31b65f(0x3e8)]=(this['_colorIndex']+0x1)%_0x4cd52b[_0x31b65f(0x38a)],this[_0x31b65f(0x218)][_0x31b65f(0x43b)](_0x3c32a0,_0x16c470),_0x16c470;}}function _0x410bac(_0x2e638d){const _0x230510=_0x1514d5;let _0x1d9caf='';for(const _0x57b005 of _0x2e638d){const {startOffset:_0x2229cc,endOffset:_0x38dfaa,isActive:_0x447225,rangeType:_0x121eae,segmentId:_0x32c96c,segmentPage:_0x241a95}=_0x57b005;_0x1d9caf[_0x230510(0x38a)]&&(_0x1d9caf+=','),_0x1d9caf+=_0x2229cc+':'+_0x38dfaa+':'+(_0x447225?'1':'0')+':'+_0x121eae+':'+_0x32c96c+':'+_0x241a95;}return _0x1d9caf;}function _0x192b51(_0x1b781e){const _0x402773=_0x1514d5,_0x1fbe34=_0x1b781e[_0x402773(0x20e)](','),_0xd1c397=[];for(const _0x2e1ca6 of _0x1fbe34){const [_0x826c8a,_0x1d63a3,_0x4005b8,_0x20b640,_0x41aec8,_0x48ecb5]=_0x2e1ca6['split'](':');_0xd1c397[_0x402773(0x43f)]({'startOffset':Number(_0x826c8a),'endOffset':Number(_0x1d63a3),'collapsed':_0x826c8a===_0x1d63a3,'isActive':_0x4005b8==='1','rangeType':_0x20b640===_0x5a65dd['DOC_RANGE_TYPE'][_0x402773(0x37d)]?_0x5a65dd[_0x402773(0x2b9)]['TEXT']:_0x5a65dd['DOC_RANGE_TYPE'][_0x402773(0x349)],'segmentId':typeof _0x41aec8=='string'?String(_0x41aec8):'','segmentPage':Number(_0x48ecb5!=null?_0x48ecb5:-0x1)});}return _0xd1c397[_0x402773(0x34d)](_0x58cf05=>_0x58cf05[_0x402773(0x2c2)])||(_0xd1c397[0x0][_0x402773(0x2c2)]=!0x0),_0xd1c397;}class _0xe2a3f4 extends _0x5a65dd['RxDisposable']{constructor(){const _0x34328f=_0x1514d5;super(...arguments),_0x4bb569(this,_0x34328f(0x331),new _0x1746b4['BehaviorSubject'](null)),_0x4bb569(this,_0x34328f(0x3de),this[_0x34328f(0x331)][_0x34328f(0x209)]());}['syncEditingCollabCursor'](_0xd2226c){const _0x50d086=_0x1514d5,{unitID:_0x248aab,memberID:_0x1dd3e6,textRanges:_0x46447c}=_0xd2226c,_0x2f126c=_0x410bac(_0x46447c);if(_0x2f126c==='')return;const _0x4a2231={'unitID':_0x248aab,'memberID':_0x1dd3e6,'selection':_0x2f126c};this['_collabCursorState$'][_0x50d086(0x1cb)](_0x4a2231);}}var _0x3a3698=Object[_0x1514d5(0x38f)],_0x4d1fa9=(_0x399153,_0x9ed65a,_0x23e81b,_0xb073ac)=>{for(var _0x3d29aa=_0xb073ac>0x1?void 0x0:_0xb073ac?_0x3a3698(_0x9ed65a,_0x23e81b):_0x9ed65a,_0x2323b4=_0x399153['length']-0x1,_0x124c0e;_0x2323b4>=0x0;_0x2323b4--)(_0x124c0e=_0x399153[_0x2323b4])&&(_0x3d29aa=_0x124c0e(_0x3d29aa)||_0x3d29aa);return _0x3d29aa;},_0x996b33=(_0x3a21d7,_0x2aaa27)=>(_0x33d97d,_0x458dc2)=>_0x2aaa27(_0x33d97d,_0x458dc2,_0x3a21d7);const _0x1e9250=0x12c,_0x3e59b3=0x64;let _0x29341c=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x771958,_0x4a668d,_0x3a8b27,_0x29c472,_0x22cdcf,_0x21cb01,_0x16a6dd,_0x440303,_0x314717){const _0x6358ba=_0x1514d5;super(),_0x4bb569(this,_0x6358ba(0x382),!0x1),_0x4bb569(this,_0x6358ba(0x2ae),!0x1),_0x4bb569(this,_0x6358ba(0x236),new _0x1746b4[(_0x6358ba(0x2dc))](new Map())),_0x4bb569(this,_0x6358ba(0x1c5),this[_0x6358ba(0x236)][_0x6358ba(0x209)]()),_0x4bb569(this,_0x6358ba(0x284),new _0x1746b4[(_0x6358ba(0x2dc))]([])),_0x4bb569(this,'roomMembers$',this[_0x6358ba(0x284)]['pipe'](_0x1746b4[_0x6358ba(0x1ea)](_0x1e9250))),_0x4bb569(this,_0x6358ba(0x1da),_0x5a65dd[_0x6358ba(0x3bb)](_0xaa8ca3=>{const _0x140d2f=_0x6358ba,_0x49b483={'eventID':_0x5d1d3f[_0x140d2f(0x353)][_0x140d2f(0x263)],'data':{'unitID':this[_0x140d2f(0x27f)],'memberID':this[_0x140d2f(0x27a)][_0x140d2f(0x346)](),'selection':_0x410bac(_0xaa8ca3)}};this['_session']['send'](_0x49b483,this[_0x140d2f(0x27f)]);},_0x3e59b3)),(this[_0x6358ba(0x27f)]=_0x771958,this[_0x6358ba(0x27a)]=_0x4a668d,this[_0x6358ba(0x441)]=_0x3a8b27,this[_0x6358ba(0x1f8)]=_0x29c472,this[_0x6358ba(0x39e)]=_0x22cdcf,this['_syncEditingCollabCursorService']=_0x21cb01,this['_transformService']=_0x16a6dd,this['_univerInstanceService']=_0x440303,this[_0x6358ba(0x1cc)]=_0x314717);}get[_0x1514d5(0x3b4)](){const _0x48ce3f=_0x1514d5;return this['_cursorInfo$'][_0x48ce3f(0x1b4)]();}get[_0x1514d5(0x1ae)](){const _0x45736b=_0x1514d5;return this[_0x45736b(0x284)]['getValue']();}[_0x1514d5(0x3a1)](){const _0x58e86a=_0x1514d5;super[_0x58e86a(0x3a1)](),this[_0x58e86a(0x236)][_0x58e86a(0x1cb)](new Map()),this[_0x58e86a(0x236)][_0x58e86a(0x1eb)](),this[_0x58e86a(0x284)]['next']([]),this[_0x58e86a(0x284)][_0x58e86a(0x1eb)]();}[_0x1514d5(0x3ba)](){const _0x40eaae=_0x1514d5;this[_0x40eaae(0x2ae)]||(this[_0x40eaae(0x2ae)]=!0x0,this[_0x40eaae(0x27a)][_0x40eaae(0x328)][_0x40eaae(0x243)](_0x1746b4[_0x40eaae(0x29b)](this['dispose$']))[_0x40eaae(0x241)](_0x1a1ee4=>{const _0x35b817=_0x40eaae;_0x1a1ee4===_0x52adaf['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x35b817(0x1e7)]();}),this['_session'][_0x40eaae(0x2be)]['pipe'](_0x1746b4[_0x40eaae(0x29b)](this['dispose$']))[_0x40eaae(0x241)](_0x673521=>{const _0x230420=_0x40eaae,_0x5538e7=_0x673521['eventID'];_0x5538e7===_0x5d1d3f['CollaborationEvent'][_0x230420(0x263)]&&this[_0x230420(0x249)](_0x673521),_0x5538e7===_0x5d1d3f[_0x230420(0x353)][_0x230420(0x20d)]&&this['_onCursorDelete'](_0x673521);}),this[_0x40eaae(0x2c6)](this[_0x40eaae(0x1cc)][_0x40eaae(0x1f9)](_0x335a0c=>{const _0x8a862e=_0x40eaae,_0x34f288=_0x335a0c[_0x8a862e(0x32e)];_0x34f288!=null&&this[_0x8a862e(0x382)]&&_0x335a0c['id']===_0x46119b[_0x8a862e(0x227)]['id']&&_0x34f288['unitId']===this[_0x8a862e(0x27f)]&&_0x34f288['isEditing']===!0x1&&_0x34f288[_0x8a862e(0x1a1)][_0x8a862e(0x38a)]>0x0&&this[_0x8a862e(0x1da)](_0x34f288['ranges']);})),this[_0x40eaae(0x283)][_0x40eaae(0x3de)][_0x40eaae(0x243)](_0x1746b4[_0x40eaae(0x29b)](this[_0x40eaae(0x2f6)]))[_0x40eaae(0x241)](_0x1d1bf9=>{const _0x5ef601=_0x40eaae;if((_0x1d1bf9==null?void 0x0:_0x1d1bf9[_0x5ef601(0x27f)])!==this['unitID'])return;const _0x2b810a={'eventID':_0x5d1d3f[_0x5ef601(0x353)][_0x5ef601(0x263)],'data':_0x1d1bf9};this[_0x5ef601(0x249)](_0x2b810a);}),this['disposeWithMe'](this[_0x40eaae(0x1cc)][_0x40eaae(0x1f9)](_0x285402=>{const _0x34bfff=_0x40eaae;if(_0x285402['params']==null)return;const _0x1722ed=_0x285402['params'];if(_0x285402['id']!==_0x46119b[_0x34bfff(0x39b)]['id']||_0x1722ed[_0x34bfff(0x32b)]!==this[_0x34bfff(0x27f)])return;const _0x5c9bff={'id':_0x34bfff(0x39a),'params':_0x1722ed},_0x1daad6=this[_0x34bfff(0x3b4)];for(const [_0x26e81a,_0x24da63]of _0x1daad6){const _0x1a5b17={'id':_0x34bfff(0x39a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x24da63[_0x34bfff(0x1a1)]}},_0x207bf5=this[_0x34bfff(0x339)]['transformMutation'](_0x5c9bff,_0x1a5b17,!0x1);if(_0x5d1d3f['isTransformMutationFailure'](_0x207bf5))throw _0x207bf5[_0x34bfff(0x438)];_0x1daad6[_0x34bfff(0x43b)](_0x26e81a,{..._0x24da63,'ranges':_0x207bf5[_0x34bfff(0x1c7)][_0x34bfff(0x32e)][_0x34bfff(0x27b)]});}queueMicrotask(()=>{const _0x545ca4=_0x34bfff;this[_0x545ca4(0x236)]['next'](_0x1daad6);});})));}['_onCursorUpdate'](_0x1d97e2){const _0x3b9a5a=_0x1514d5;var _0x333221,_0x53d0ee;const {memberID:_0x46510f,selection:_0x2ddd8a}=_0x1d97e2[_0x3b9a5a(0x37e)],_0x11fc3b=_0x192b51(_0x2ddd8a),_0x412b57=(_0x53d0ee=(_0x333221=this['_memberService'][_0x3b9a5a(0x2db)](this[_0x3b9a5a(0x27f)],_0x46510f))==null?void 0x0:_0x333221[_0x3b9a5a(0x2bd)])!=null?_0x53d0ee:_0x3b9a5a(0x2d4),_0x1fde46={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x46510f),'name':_0x412b57,'ranges':_0x11fc3b},_0x2c23be=this[_0x3b9a5a(0x3b4)];_0x2c23be['set'](_0x46510f,_0x1fde46),this[_0x3b9a5a(0x236)][_0x3b9a5a(0x1cb)](_0x2c23be);}['_onCursorDelete'](_0x457c0a){const _0xb4f7a1=_0x1514d5,{memberID:_0x5e0e16}=_0x457c0a[_0xb4f7a1(0x37e)],_0xbe2f21=this[_0xb4f7a1(0x3b4)];_0xbe2f21[_0xb4f7a1(0x3d5)](_0x5e0e16),this[_0xb4f7a1(0x236)]['next'](_0xbe2f21);}[_0x1514d5(0x3cb)](){const _0x49aa5b=_0x1514d5;var _0x27c2e8;if(this['_online']=!0x0,((_0x27c2e8=this[_0x49aa5b(0x2f3)]['getFocusedUnit']())==null?void 0x0:_0x27c2e8[_0x49aa5b(0x3d2)]())!==this['unitID'])return;const _0x4410d7=this[_0x49aa5b(0x441)][_0x49aa5b(0x1de)](_0x46119b[_0x49aa5b(0x32a)])[_0x49aa5b(0x32d)]();Array[_0x49aa5b(0x37b)](_0x4410d7)&&_0x4410d7[_0x49aa5b(0x38a)]>0x0&&this['_updateLocalCursor'](_0x4410d7);}[_0x1514d5(0x1e7)](){const _0x5db2d0=_0x1514d5;this[_0x5db2d0(0x382)]=!0x1;}};_0x29341c=_0x4d1fa9([_0x996b33(0x2,_0x5a65dd['Inject'](_0x5a65dd[_0x1514d5(0x411)])),_0x996b33(0x3,_0x5a65dd[_0x1514d5(0x426)](_0x4bcdf4)),_0x996b33(0x4,_0x5a65dd['Inject'](_0x52adaf[_0x1514d5(0x23d)])),_0x996b33(0x5,_0x5a65dd[_0x1514d5(0x426)](_0xe2a3f4)),_0x996b33(0x6,_0x5d1d3f[_0x1514d5(0x26a)]),_0x996b33(0x7,_0x5a65dd[_0x1514d5(0x36a)]),_0x996b33(0x8,_0x5a65dd[_0x1514d5(0x42c)])],_0x29341c);var _0xeac627=Object['getOwnPropertyDescriptor'],_0x36ce66=(_0x232ecf,_0x51b741,_0x323dd3,_0x50d6d2)=>{const _0x56ef4b=_0x1514d5;for(var _0x3f003b=_0x50d6d2>0x1?void 0x0:_0x50d6d2?_0xeac627(_0x51b741,_0x323dd3):_0x51b741,_0x38115a=_0x232ecf[_0x56ef4b(0x38a)]-0x1,_0x440b37;_0x38115a>=0x0;_0x38115a--)(_0x440b37=_0x232ecf[_0x38115a])&&(_0x3f003b=_0x440b37(_0x3f003b)||_0x3f003b);return _0x3f003b;},_0x617756=(_0x12f65b,_0xe9993a)=>(_0x2e358d,_0x4c05e4)=>_0xe9993a(_0x2e358d,_0x4c05e4,_0x12f65b);const _0x2db0e9=0x12c,_0x170578=0x64,_0x5dfbff=()=>{let _0x2e2b2d=[],_0x45341e=!0x1;return _0x496ae0=>{const _0x7706ca=_0x35c7;_0x2e2b2d[_0x7706ca(0x43f)](_0x496ae0),_0x45341e||(_0x45341e=!0x0,setTimeout(()=>{_0x2e2b2d['forEach'](_0x4b2b81=>_0x4b2b81()),_0x2e2b2d=[],_0x45341e=!0x1;}));};};let _0x3f3b2d=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x39e7d7,_0x20a9f6,_0x18ac2f,_0xbcf2f4,_0x114d76,_0x41a466,_0xd89cbe,_0x25ae8a){const _0x53e44d=_0x1514d5;super(),_0x4bb569(this,_0x53e44d(0x382),!0x1),_0x4bb569(this,_0x53e44d(0x2ae),!0x1),_0x4bb569(this,_0x53e44d(0x236),new _0x1746b4[(_0x53e44d(0x2dc))](new Map())),_0x4bb569(this,_0x53e44d(0x1c5),this[_0x53e44d(0x236)][_0x53e44d(0x209)]()),_0x4bb569(this,_0x53e44d(0x284),new _0x1746b4[(_0x53e44d(0x2dc))]([])),_0x4bb569(this,_0x53e44d(0x42a),this[_0x53e44d(0x284)]['pipe'](_0x1746b4[_0x53e44d(0x1ea)](_0x2db0e9))),_0x4bb569(this,_0x53e44d(0x1da),_0x5a65dd['debounce']((_0x4a9106,_0x2ca869)=>{const _0xc3940c=_0x53e44d,_0x3e5880={'eventID':_0x5d1d3f[_0xc3940c(0x353)][_0xc3940c(0x263)],'data':{'unitID':this[_0xc3940c(0x27f)],'memberID':this['_session']['getMemberID'](),'selection':_0x5a8fef[_0xc3940c(0x2c7)](_0x4a9106,_0x2ca869['range'])}};this[_0xc3940c(0x27a)][_0xc3940c(0x35f)](_0x3e5880,this[_0xc3940c(0x27f)]);},_0x170578)),(this['unitID']=_0x39e7d7,this['_session']=_0x20a9f6,this[_0x53e44d(0x441)]=_0x18ac2f,this[_0x53e44d(0x1f8)]=_0xbcf2f4,this['_memberService']=_0x114d76,this[_0x53e44d(0x2f3)]=_0x41a466,this[_0x53e44d(0x1cc)]=_0xd89cbe,this[_0x53e44d(0x368)]=_0x25ae8a);}get['cursorInfo'](){const _0x57913a=_0x1514d5;return this[_0x57913a(0x236)][_0x57913a(0x1b4)]();}get[_0x1514d5(0x1ae)](){const _0x384fd3=_0x1514d5;return this[_0x384fd3(0x284)][_0x384fd3(0x1b4)]();}['dispose'](){const _0x584586=_0x1514d5;super[_0x584586(0x3a1)](),this[_0x584586(0x236)][_0x584586(0x1cb)](new Map()),this[_0x584586(0x236)][_0x584586(0x1eb)](),this['_roomMembers$'][_0x584586(0x1cb)]([]),this['_roomMembers$'][_0x584586(0x1eb)]();}[_0x1514d5(0x3ba)](){const _0x5d5c02=_0x1514d5;this['_init']||(this[_0x5d5c02(0x2ae)]=!0x0,this['_session'][_0x5d5c02(0x328)][_0x5d5c02(0x243)](_0x1746b4[_0x5d5c02(0x29b)](this[_0x5d5c02(0x2f6)]))[_0x5d5c02(0x241)](_0x382416=>{const _0x2c7a4c=_0x5d5c02;_0x382416===_0x52adaf[_0x2c7a4c(0x3db)][_0x2c7a4c(0x261)]?this[_0x2c7a4c(0x3cb)]():this[_0x2c7a4c(0x1e7)]();}),this['_session'][_0x5d5c02(0x2be)][_0x5d5c02(0x243)](_0x1746b4[_0x5d5c02(0x29b)](this['dispose$']))[_0x5d5c02(0x241)](_0x33711d=>{const _0x48affd=_0x5d5c02,_0x96d6af=_0x33711d[_0x48affd(0x3fa)];_0x96d6af===_0x5d1d3f[_0x48affd(0x353)][_0x48affd(0x263)]&&this['_onCursorUpdate'](_0x33711d),_0x96d6af===_0x5d1d3f['CollaborationEvent'][_0x48affd(0x20d)]&&this[_0x48affd(0x24d)](_0x33711d);}),this['_onRefRangeChange'](),this[_0x5d5c02(0x2c6)](this[_0x5d5c02(0x1cc)][_0x5d5c02(0x1f9)](_0x417425=>{const _0x112b4f=_0x5d5c02;if(this[_0x112b4f(0x382)]&&_0x417425['id']===_0x1b362f[_0x112b4f(0x1cd)]['id']&&_0x417425['params'][_0x112b4f(0x32b)]===this['unitID']){const _0x5aa503=_0x417425['params'];this['_updateLocalCursor'](_0x5aa503[_0x112b4f(0x3ed)],_0x5aa503[_0x112b4f(0x2a0)][0x0]);}})));}[_0x1514d5(0x249)](_0x4f36d4){const _0x564f1b=_0x1514d5;var _0x5a7b20,_0x346051;const {memberID:_0x183c87,selection:_0x21413d}=_0x4f36d4[_0x564f1b(0x37e)],{sheetName:_0x1378a0,range:_0xadfebf}=_0x5a8fef['deserializeRangeWithSheet'](_0x21413d),_0x20e8a1={'name':(_0x346051=(_0x5a7b20=this['_memberService'][_0x564f1b(0x2db)](this[_0x564f1b(0x27f)],_0x183c87))==null?void 0x0:_0x5a7b20[_0x564f1b(0x2bd)])!=null?_0x346051:_0x564f1b(0x2d4),'range':this[_0x564f1b(0x41a)](_0x1378a0,_0xadfebf),'sheetID':_0x1378a0,'color':this[_0x564f1b(0x1f8)][_0x564f1b(0x25f)](_0x183c87),'selection':_0x21413d},_0x13712f=this[_0x564f1b(0x3b4)];_0x13712f[_0x564f1b(0x43b)](_0x183c87,_0x20e8a1),this[_0x564f1b(0x236)][_0x564f1b(0x1cb)](_0x13712f);}[_0x1514d5(0x24d)](_0xa749e9){const _0x4c6cf8=_0x1514d5,{memberID:_0x25502b}=_0xa749e9[_0x4c6cf8(0x37e)],_0x401f8b=this['cursorInfo'];_0x401f8b[_0x4c6cf8(0x3d5)](_0x25502b),this[_0x4c6cf8(0x236)]['next'](_0x401f8b);}[_0x1514d5(0x41a)](_0x26046c,_0x4b7ffc){const _0xdf2c4=_0x1514d5;var _0x980442,_0x1b70bf;const _0x5a37b9=(_0x1b70bf=(_0x980442=this[_0xdf2c4(0x2f3)]['getUniverSheetInstance'](this[_0xdf2c4(0x27f)]))==null?void 0x0:_0x980442[_0xdf2c4(0x250)](_0x26046c))==null?void 0x0:_0x1b70bf['getMergeData']();return(_0x5a37b9==null?void 0x0:_0x5a37b9[_0xdf2c4(0x2f2)](_0x4f0881=>_0x5a65dd['Rectangle']['contains'](_0x4f0881,_0x4b7ffc)))||_0x4b7ffc;}['_onRefRangeChange'](){const _0x34ac38=_0x1514d5,_0x553b3f=new _0x5a65dd[(_0x34ac38(0x29a))](),_0x5138af=_0x5dfbff(),_0x42eae5=()=>{const _0x7d1fce=_0x34ac38;_0x553b3f[_0x7d1fce(0x3a1)]();const _0x3a1110=(_0x461278,_0x3db7eb,_0x2c4040,_0x341798)=>{const _0x3585d1=_0x7d1fce;let _0x550bc5=[];switch(_0x461278['id']){case _0x1b362f['EffectRefRangId'][_0x3585d1(0x345)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x29e)](_0x461278,_0x341798);break;}case _0x1b362f['EffectRefRangId'][_0x3585d1(0x1f1)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x1ee)](_0x461278,_0x341798);break;}case _0x1b362f[_0x3585d1(0x298)][_0x3585d1(0x32c)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x3df)](_0x461278,_0x341798);break;}case _0x1b362f[_0x3585d1(0x298)]['InsertRangeMoveDownCommandId']:{_0x550bc5=_0x1b362f[_0x3585d1(0x30f)](_0x461278,_0x341798);break;}case _0x1b362f['EffectRefRangId'][_0x3585d1(0x42d)]:{_0x550bc5=_0x1b362f['handleInsertRangeMoveRight'](_0x461278,_0x341798);break;}case _0x1b362f['EffectRefRangId'][_0x3585d1(0x3a2)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x26d)](_0x461278,_0x341798);break;}case _0x1b362f[_0x3585d1(0x298)][_0x3585d1(0x39c)]:{_0x550bc5=_0x1b362f['handleMoveRange'](_0x461278,_0x341798);break;}case _0x1b362f[_0x3585d1(0x298)][_0x3585d1(0x3f1)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x356)](_0x461278,_0x341798);break;}case _0x1b362f[_0x3585d1(0x298)][_0x3585d1(0x347)]:{_0x550bc5=_0x1b362f[_0x3585d1(0x2d7)](_0x461278,_0x341798);break;}}const _0x42a541=_0x1b362f[_0x3585d1(0x2f7)](_0x550bc5,_0x341798),_0x9f058f=this[_0x3585d1(0x3b4)][_0x3585d1(0x1de)](_0x3db7eb);if(_0x9f058f&&_0x42a541){const _0x1c0fb0={..._0x9f058f,'range':_0x42a541};this[_0x3585d1(0x3b4)][_0x3585d1(0x43b)](_0x3db7eb,_0x1c0fb0),_0x5138af(()=>{const _0x3caa55=_0x3585d1,_0xd3dcf=this[_0x3caa55(0x368)]['registerRefRange'](_0x42a541,_0x54f20b=>(_0xd3dcf[_0x3caa55(0x3a1)](),_0x3a1110(_0x54f20b,_0x3db7eb,_0x2c4040,_0x42a541)));_0x553b3f[_0x3caa55(0x1e0)](_0xd3dcf);});}return{'redos':[],'undos':[]};};this[_0x7d1fce(0x3b4)][_0x7d1fce(0x1bd)]((_0x5a13cb,_0x31dbe9)=>{const _0x583f23=_0x7d1fce,{range:_0x50eb16,sheetID:_0x4da14a}=_0x5a13cb,_0x4d6641=this[_0x583f23(0x368)][_0x583f23(0x3b8)](_0x50eb16,_0x5ab329=>(_0x4d6641['dispose'](),_0x3a1110(_0x5ab329,_0x31dbe9,_0x4da14a,_0x50eb16)));_0x553b3f[_0x583f23(0x1e0)](_0x4d6641);});};this['disposeWithMe'](_0x5a65dd[_0x34ac38(0x217)](this[_0x34ac38(0x236)][_0x34ac38(0x241)](()=>{_0x42eae5();})));}[_0x1514d5(0x3cb)](){const _0x3fad44=_0x1514d5;var _0x101e4f,_0x53505d;if(this[_0x3fad44(0x382)]=!0x0,((_0x101e4f=this[_0x3fad44(0x2f3)][_0x3fad44(0x3a8)]())==null?void 0x0:_0x101e4f['getUnitId']())!==this[_0x3fad44(0x27f)])return;const _0x3b6600=(_0x53505d=this[_0x3fad44(0x441)][_0x3fad44(0x1de)](_0x1b362f[_0x3fad44(0x257)])[_0x3fad44(0x2d5)]())==null?void 0x0:_0x53505d[0x0],_0xed1b6a=this[_0x3fad44(0x2f3)][_0x3fad44(0x277)](_0x5a65dd[_0x3fad44(0x401)]['UNIVER_SHEET'])[_0x3fad44(0x436)]();_0x3b6600&&_0xed1b6a&&this['_updateLocalCursor'](_0xed1b6a[_0x3fad44(0x2aa)](),_0x3b6600);}[_0x1514d5(0x1e7)](){const _0x2de360=_0x1514d5;this[_0x2de360(0x382)]=!0x1;}};_0x3f3b2d=_0x36ce66([_0x617756(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd['Injector'])),_0x617756(0x3,_0x5a65dd[_0x1514d5(0x426)](_0x4bcdf4)),_0x617756(0x4,_0x5a65dd['Inject'](_0x52adaf[_0x1514d5(0x23d)])),_0x617756(0x5,_0x5a65dd[_0x1514d5(0x36a)]),_0x617756(0x6,_0x5a65dd[_0x1514d5(0x42c)]),_0x617756(0x7,_0x5a65dd[_0x1514d5(0x426)](_0x1b362f[_0x1514d5(0x1c4)]))],_0x3f3b2d);var _0x37a157=Object[_0x1514d5(0x38f)],_0x426d86=(_0x2bb9df,_0x3ce5d5,_0x34fc7a,_0x4cf5c0)=>{const _0x1fbf7e=_0x1514d5;for(var _0xe538d9=_0x4cf5c0>0x1?void 0x0:_0x4cf5c0?_0x37a157(_0x3ce5d5,_0x34fc7a):_0x3ce5d5,_0x411cb4=_0x2bb9df[_0x1fbf7e(0x38a)]-0x1,_0xa19168;_0x411cb4>=0x0;_0x411cb4--)(_0xa19168=_0x2bb9df[_0x411cb4])&&(_0xe538d9=_0xa19168(_0xe538d9)||_0xe538d9);return _0xe538d9;},_0x257170=(_0x40cb90,_0x3d03db)=>(_0x4392e3,_0x4eb7e5)=>_0x3d03db(_0x4392e3,_0x4eb7e5,_0x40cb90);let _0x3272e2=class extends _0x5a65dd['RxDisposable']{constructor(_0x82fb81,_0x29fa24,_0x1ae1d5){const _0x162e63=_0x1514d5;super(),_0x4bb569(this,'_entities',new Map()),_0x4bb569(this,_0x162e63(0x2e8),new _0x1746b4[(_0x162e63(0x2b5))]()),(this[_0x162e63(0x2f3)]=_0x82fb81,this[_0x162e63(0x441)]=_0x29fa24,this[_0x162e63(0x398)]=_0x1ae1d5,this['_init']());}['dispose'](){const _0x318108=_0x1514d5;super[_0x318108(0x3a1)](),this[_0x318108(0x2e8)][_0x318108(0x1eb)](),this[_0x318108(0x2cb)]['forEach'](_0x596acb=>_0x596acb['dispose']());}[_0x1514d5(0x3a6)](_0x117d9c){const _0x593389=_0x1514d5;return this['_entities'][_0x593389(0x3cd)](_0x117d9c)?this[_0x593389(0x2cb)][_0x593389(0x1de)](_0x117d9c)['cursorInfo$']:this['_entityInit$'][_0x593389(0x243)](_0x1746b4[_0x593389(0x293)](_0x472520=>_0x472520['unitID']===_0x117d9c),_0x1746b4['switchMap'](_0x42cf8a=>_0x42cf8a['cursorInfo$']));}[_0x1514d5(0x2ae)](){const _0x4c140a=_0x1514d5;this[_0x4c140a(0x2f3)][_0x4c140a(0x1b3)](_0x5a65dd['UniverInstanceType'][_0x4c140a(0x2bc)])[_0x4c140a(0x243)](_0x1746b4[_0x4c140a(0x29b)](this[_0x4c140a(0x2f6)]))[_0x4c140a(0x241)](async _0x153c0e=>{const _0x20ff05=_0x4c140a,_0x3f5d99=_0x153c0e[_0x20ff05(0x3d2)](),_0x34535d=await this['_startSheetCollabCursor'](_0x3f5d99);this['_entityInit$'][_0x20ff05(0x1cb)](_0x34535d),this[_0x20ff05(0x2cb)]['set'](_0x3f5d99,_0x34535d);}),this[_0x4c140a(0x2f3)][_0x4c140a(0x1b3)](_0x5a65dd[_0x4c140a(0x401)][_0x4c140a(0x286)])[_0x4c140a(0x243)](_0x1746b4[_0x4c140a(0x29b)](this['dispose$']))[_0x4c140a(0x243)](_0x1746b4[_0x4c140a(0x293)](_0x1c8474=>!_0x1c8474[_0x4c140a(0x3d2)]()[_0x4c140a(0x3a9)]('__')))[_0x4c140a(0x241)](async _0x2a28bb=>{const _0x329597=_0x4c140a,_0x3707ec=_0x2a28bb[_0x329597(0x3d2)](),_0x3ec3d8=await this[_0x329597(0x3b7)](_0x3707ec);this['_entityInit$']['next'](_0x3ec3d8),this[_0x329597(0x2cb)]['set'](_0x3707ec,_0x3ec3d8);}),_0x1746b4[_0x4c140a(0x29d)](this['_univerInstanceService'][_0x4c140a(0x443)](_0x5a65dd['UniverInstanceType'][_0x4c140a(0x286)]),this[_0x4c140a(0x2f3)]['getTypeOfUnitDisposed$'](_0x5a65dd[_0x4c140a(0x401)][_0x4c140a(0x2bc)]))[_0x4c140a(0x243)](_0x1746b4['takeUntil'](this[_0x4c140a(0x2f6)]))['subscribe'](_0x5c042c=>{const _0x564d5f=_0x4c140a,_0x1c93f4=_0x5c042c[_0x564d5f(0x3d2)](),_0x132ce4=this[_0x564d5f(0x2cb)][_0x564d5f(0x1de)](_0x1c93f4);_0x132ce4&&(_0x132ce4[_0x564d5f(0x3a1)](),this['_entities'][_0x564d5f(0x3d5)](_0x1c93f4));});}async[_0x1514d5(0x274)](_0x25d6ae){const _0xc8644c=_0x1514d5,_0x26168e=await this[_0xc8644c(0x398)][_0xc8644c(0x392)](_0x25d6ae),_0x1b6d74=this[_0xc8644c(0x441)][_0xc8644c(0x24e)](_0x3f3b2d,_0x25d6ae,_0x26168e);return _0x1b6d74[_0xc8644c(0x3ba)](),_0x1b6d74;}async[_0x1514d5(0x3b7)](_0x2625b1){const _0x35a5ca=_0x1514d5,_0x145773=await this['_collabSessionService'][_0x35a5ca(0x392)](_0x2625b1),_0x160594=this[_0x35a5ca(0x441)][_0x35a5ca(0x24e)](_0x29341c,_0x2625b1,_0x145773);return _0x160594[_0x35a5ca(0x3ba)](),_0x160594;}};_0x3272e2=_0x426d86([_0x257170(0x0,_0x5a65dd['IUniverInstanceService']),_0x257170(0x1,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd['Injector'])),_0x257170(0x2,_0x5a65dd['Inject'](_0x52adaf[_0x1514d5(0x3d6)]))],_0x3272e2);const _0x53f1e2=0x14,_0x1795c3=0xc8,_0x9e0136=0x4,_0x46194c=0x5;function _0x31a674(_0x1c0a12,_0x52ec83){const _0x43889a=_0x1514d5;let {radius:_0x494dd5,width:_0x4c53e1,height:_0x1969a5}=_0x52ec83;_0x494dd5=_0x494dd5!=null?_0x494dd5:0x0,_0x4c53e1=_0x4c53e1!=null?_0x4c53e1:0x1e,_0x1969a5=_0x1969a5!=null?_0x1969a5:0x1e;let _0x41961b=0x0,_0x582d91=0x0,_0xfd193=0x0;_0x41961b=_0x582d91=_0xfd193=Math[_0x43889a(0x229)](_0x494dd5,_0x4c53e1/0x2,_0x1969a5/0x2),_0x1c0a12['beginPath'](),_0x1c0a12[_0x43889a(0x281)](_0x41961b,0x0),_0x1c0a12['lineTo'](_0x4c53e1-_0x582d91,0x0),_0x1c0a12[_0x43889a(0x3dd)](_0x4c53e1-_0x582d91,_0x582d91,_0x582d91,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c0a12['lineTo'](_0x4c53e1,_0x1969a5-_0xfd193),_0x1c0a12['arc'](_0x4c53e1-_0xfd193,_0x1969a5-_0xfd193,_0xfd193,0x0,Math['PI']/0x2,!0x1),_0x1c0a12[_0x43889a(0x3e0)](0x0,_0x1969a5),_0x1c0a12[_0x43889a(0x3e0)](0x0,_0x41961b),_0x1c0a12[_0x43889a(0x3dd)](_0x41961b,_0x41961b,_0x41961b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c0a12[_0x43889a(0x3ef)](),_0x52ec83[_0x43889a(0x1b6)]&&(_0x1c0a12[_0x43889a(0x1db)](),_0x1c0a12['fillStyle']=_0x52ec83[_0x43889a(0x1b6)],_0x52ec83[_0x43889a(0x431)]===_0x43889a(0x358)?_0x1c0a12[_0x43889a(0x1b6)](_0x43889a(0x358)):_0x1c0a12['fill'](),_0x1c0a12[_0x43889a(0x37f)]());}class _0x3921b2 extends _0x44102d[_0x1514d5(0x34f)]{constructor(_0x10c4eb,_0xe3300e){const _0x3c5889=_0x1514d5;super(_0x10c4eb,_0xe3300e),_0x4bb569(this,_0x3c5889(0x291)),_0x4bb569(this,_0x3c5889(0x391)),(this['color']=_0xe3300e==null?void 0x0:_0xe3300e[_0x3c5889(0x291)],this[_0x3c5889(0x391)]=_0xe3300e==null?void 0x0:_0xe3300e[_0x3c5889(0x391)]);}static[_0x1514d5(0x2a6)](_0x2fe8b4,_0x734642){const _0x315c77=_0x1514d5,{text:_0x39be15,color:_0x13c1a4}=_0x734642;_0x2fe8b4[_0x315c77(0x1db)](),_0x2fe8b4[_0x315c77(0x208)]=_0x315c77(0x224);const _0x160977=_0x2fe8b4[_0x315c77(0x43e)](_0x39be15)[_0x315c77(0x30b)],_0x17de29=Math[_0x315c77(0x229)](_0x160977+0x2*_0x9e0136,_0x1795c3);_0x31a674(_0x2fe8b4,{'height':_0x53f1e2,'radius':0x4,'width':_0x17de29,'fill':_0x13c1a4}),_0x2fe8b4[_0x315c77(0x42f)]=_0x315c77(0x359);const _0x5f1027=_0x9e0136,_0x4a67aa=_0x53f1e2-_0x46194c,_0x38f51b=_0x1795c3-0x2*_0x9e0136;if(_0x160977>_0x38f51b){let _0xecdfc4='',_0x489fd4=0x0;for(const _0x57667c of _0x39be15){const _0x52ddff=_0x2fe8b4[_0x315c77(0x43e)](_0x57667c)[_0x315c77(0x30b)];if(_0x489fd4+_0x52ddff<=_0x38f51b-_0x2fe8b4[_0x315c77(0x43e)](_0x315c77(0x332))[_0x315c77(0x30b)])_0xecdfc4+=_0x57667c,_0x489fd4+=_0x52ddff;else{_0xecdfc4+=_0x315c77(0x332);break;}}_0x2fe8b4['fillText'](_0xecdfc4,_0x5f1027,_0x4a67aa);}else _0x2fe8b4[_0x315c77(0x3af)](_0x39be15,_0x5f1027,_0x4a67aa);_0x2fe8b4[_0x315c77(0x37f)]();}[_0x1514d5(0x3c4)](_0x5bb615){const _0xceec68=_0x1514d5;_0x3921b2[_0xceec68(0x2a6)](_0x5bb615,this);}}const _0x202e3d=_0x1514d5(0x240),_0x222402=_0x1514d5(0x2e5),_0x35b8eb=_0x1514d5(0x435),_0x4b3191=0x6,_0x238b28=1.5,_0x614909=0x4,_0x3dbc97=1.5,_0x1581bd='rgba(255,\x20255,\x20255,\x200.01)';class _0x3bfaad{constructor(_0x386108,_0x49c08f,_0x5b5c93,_0x1e8c1a){const _0x112448=_0x1514d5;_0x4bb569(this,_0x112448(0x1fc),[]),_0x4bb569(this,'_anchor',null),_0x4bb569(this,'_textBubble',null),_0x4bb569(this,_0x112448(0x1be),null),_0x4bb569(this,_0x112448(0x3e7),null),_0x4bb569(this,_0x112448(0x2a8),null),(this[_0x112448(0x334)]=_0x386108,this[_0x112448(0x323)]=_0x49c08f,this[_0x112448(0x41e)]=_0x5b5c93,this[_0x112448(0x3e9)]=_0x1e8c1a,this[_0x112448(0x1dc)]());}set[_0x1514d5(0x3e1)](_0x5640e1){const _0x4cf002=_0x1514d5;_0x5640e1?(this['_anchorDot']&&this['_anchorDot'][_0x4cf002(0x247)](),this[_0x4cf002(0x320)]&&this[_0x4cf002(0x320)][_0x4cf002(0x3da)]()):(this[_0x4cf002(0x1be)]&&this[_0x4cf002(0x1be)][_0x4cf002(0x3da)](),this['_textBubble']&&this['_textBubble'][_0x4cf002(0x247)]());}['dispose'](){const _0x2fd91b=_0x1514d5;for(const _0x49b96e of this[_0x2fd91b(0x1fc)])_0x49b96e['dispose']();this[_0x2fd91b(0x320)]&&this[_0x2fd91b(0x320)][_0x2fd91b(0x3a1)](),this[_0x2fd91b(0x1be)]&&this[_0x2fd91b(0x1be)][_0x2fd91b(0x3a1)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x2fd91b(0x2a8)]&&this['_eventUnsubscribe']();}[_0x1514d5(0x1dc)](){const _0x466add=_0x1514d5;var _0x1a8401;const {_docSkeleton:_0x437fdc,_document:_0x9e2db1}=this,{color:_0x424dbd,name:_0x5752a8,ranges:_0x573ef6}=this[_0x466add(0x334)],_0x247f72=_0x9e2db1[_0x466add(0x221)](),{docsLeft:_0x84769d,docsTop:_0x9bbcff}=_0x247f72,_0x315f42=new _0x386d05[(_0x466add(0x1a3))](_0x247f72,_0x437fdc);for(const {startOffset:_0xc148b5,endOffset:_0x1668c3,rangeType:_0x6cd02e,segmentId:_0x2b0256,segmentPage:_0x12010d,collapsed:_0x3f4815,isActive:_0x4ef5b6}of _0x573ef6){const _0xb5efcd=_0x437fdc[_0x466add(0x3c7)](_0xc148b5,!0x0,_0x2b0256,_0x12010d);let _0x506537=_0x437fdc[_0x466add(0x3c7)](_0x1668c3,!0x0,_0x2b0256,_0x12010d);if(_0x506537==null&&(_0x506537=_0x437fdc[_0x466add(0x3c7)](_0x1668c3-0x1,!0x1,_0x2b0256,_0x12010d)),_0x4ef5b6){const {contentBoxPointGroup:_0x5a5ff1}=_0x315f42[_0x466add(0x260)](_0x506537,_0x506537);if(_0x5a5ff1[_0x466add(0x38a)]===0x0)continue;this[_0x466add(0x3e3)](_0x424dbd,_0x5a5ff1,_0x84769d,_0x9bbcff,_0x5752a8),this[_0x466add(0x2a8)]=this['_handleHover']();}if(_0xb5efcd&&_0x506537){if(_0x6cd02e===_0x5a65dd[_0x466add(0x2b9)][_0x466add(0x349)]){const _0x10a84d=new _0x386d05['NodePositionConvertToRectRange'](_0x247f72,_0x437fdc),{pointGroup:_0x343d8f}=(_0x1a8401=_0x10a84d[_0x466add(0x260)](_0xb5efcd,_0x506537))!=null?_0x1a8401:{};if(_0x343d8f==null||_0x343d8f[_0x466add(0x38a)]===0x0)continue;this['_drawRectRange'](_0x424dbd,_0x343d8f,_0x84769d,_0x9bbcff);}else{if(!_0x3f4815){const {borderBoxPointGroup:_0x5677e6}=_0x315f42[_0x466add(0x260)](_0xb5efcd,_0x506537);if(_0x5677e6['length']===0x0)continue;this[_0x466add(0x3cf)](_0x424dbd,_0x5677e6,_0x84769d,_0x9bbcff);}}}}}['_drawAnchor'](_0x38fa14,_0x20e0a2,_0xf86804,_0x4ff279,_0x43445e){const _0xbf85a9=_0x1514d5,_0x1b120b=this['_getAnchorBounding'](_0x20e0a2),{left:_0x393f74,top:_0x3d14d1,height:_0x530552}=_0x1b120b,_0x577053=this[_0xbf85a9(0x422)](),_0x54aa39=_0x3dbc97/_0x577053,_0x7f5ca1=new _0x44102d[(_0xbf85a9(0x1a7))](_0x202e3d+_0x5a65dd[_0xbf85a9(0x2e2)][_0xbf85a9(0x1a2)](_0x4b3191),{'left':_0x393f74+_0xf86804-_0x54aa39,'top':_0x3d14d1+_0x4ff279,'height':_0x530552,'width':_0x238b28,'fill':_0x38fa14||_0x44102d[_0xbf85a9(0x24b)](_0x5a65dd['COLORS']['black'],0x0),'strokeWidth':_0x54aa39,'stroke':_0x1581bd,'evented':!0x0});this[_0xbf85a9(0x232)]=_0x7f5ca1,this[_0xbf85a9(0x323)]['addObject'](_0x7f5ca1,_0x386d05[_0xbf85a9(0x372)]);const _0x4eccfb=new _0x44102d[(_0xbf85a9(0x1a7))](_0x202e3d+_0x5a65dd[_0xbf85a9(0x2e2)][_0xbf85a9(0x1a2)](_0x4b3191),{'left':_0x393f74+_0xf86804-_0x54aa39,'top':_0x3d14d1+_0x4ff279-_0x614909/0x2,'height':_0x614909,'width':_0x614909,'fill':_0x38fa14||_0x44102d['getColor'](_0x5a65dd[_0xbf85a9(0x40c)][_0xbf85a9(0x270)],0x0),'strokeWidth':0x0,'stroke':_0x38fa14||_0x44102d[_0xbf85a9(0x24b)](_0x5a65dd['COLORS'][_0xbf85a9(0x270)],0x0),'evented':!0x1});this[_0xbf85a9(0x1be)]=_0x4eccfb,this[_0xbf85a9(0x323)]['addObject'](_0x4eccfb,_0x386d05[_0xbf85a9(0x372)]);const _0x56a595=new _0x3921b2(_0x202e3d+_0x5a65dd[_0xbf85a9(0x2e2)][_0xbf85a9(0x1a2)](_0x4b3191),{'left':_0x393f74+_0xf86804-_0x54aa39,'top':_0x3d14d1+_0x4ff279-_0x53f1e2,'text':_0x43445e,'color':_0x38fa14});this[_0xbf85a9(0x320)]=_0x56a595,this[_0xbf85a9(0x323)][_0xbf85a9(0x33c)](_0x56a595,_0x386d05[_0xbf85a9(0x372)]),this[_0xbf85a9(0x3e1)]=!0x1;}['_handleHover'](){const _0x30a080=_0x1514d5,_0xbe89f7=this[_0x30a080(0x232)][_0x30a080(0x28a)][_0x30a080(0x437)](()=>{this['_hover']=!0x0;}),_0x30a810=this[_0x30a080(0x232)][_0x30a080(0x223)][_0x30a080(0x437)](()=>{const _0x513882=_0x30a080;this[_0x513882(0x3e7)]&&clearTimeout(this[_0x513882(0x3e7)]),this[_0x513882(0x3e7)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1a1b58=_0x30a080;_0xbe89f7[_0x1a1b58(0x404)](),_0x30a810['unsubscribe']();};}[_0x1514d5(0x3cf)](_0x3bd8c3,_0x101cff,_0x558f8b,_0x2bc549){const _0x310956=_0x1514d5,_0x18080c=new _0x5a65dd['ColorKit'](_0x3bd8c3)[_0x310956(0x3d8)](0.2)['toRgbString'](),_0x233d82=new _0x44102d[(_0x310956(0x2f9))](_0x222402+_0x5a65dd[_0x310956(0x2e2)][_0x310956(0x1a2)](_0x4b3191),{'pointsGroup':_0x101cff,'fill':_0x18080c||_0x44102d[_0x310956(0x24b)](_0x5a65dd[_0x310956(0x40c)]['black'],0.2),'left':_0x558f8b,'top':_0x2bc549,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x310956(0x1fc)][_0x310956(0x43f)](_0x233d82),this[_0x310956(0x323)][_0x310956(0x33c)](_0x233d82,_0x386d05[_0x310956(0x372)]);}[_0x1514d5(0x1d6)](_0x386f1d,_0x30f1e0,_0x11f64f,_0x5ba9d3){const _0x188305=_0x1514d5,_0x490d15=new _0x5a65dd[(_0x188305(0x3c2))](_0x386f1d)[_0x188305(0x3d8)](0.2)[_0x188305(0x3a7)](),_0x20198d=new _0x44102d[(_0x188305(0x2f9))](_0x35b8eb+_0x5a65dd['Tools'][_0x188305(0x1a2)](_0x4b3191),{'pointsGroup':_0x30f1e0,'fill':_0x490d15||_0x44102d[_0x188305(0x24b)](_0x5a65dd['COLORS'][_0x188305(0x270)],0.2),'left':_0x11f64f,'top':_0x5ba9d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x188305(0x1fc)][_0x188305(0x43f)](_0x20198d),this['_scene'][_0x188305(0x33c)](_0x20198d,_0x386d05['TEXT_RANGE_LAYER_INDEX']);}[_0x1514d5(0x1cf)](_0x1b4346){const _0x140a65=_0x1b4346[0x0],_0x2c98a9=_0x140a65[0x0],_0x1ed718=_0x140a65[0x2],{x:_0x298c37,y:_0x12a9c4}=_0x2c98a9,{x:_0x2cf4f2,y:_0x2e96b8}=_0x1ed718;return{'left':_0x298c37,'top':_0x12a9c4,'width':_0x2cf4f2-_0x298c37,'height':_0x2e96b8-_0x12a9c4};}[_0x1514d5(0x422)](){const _0x426336=_0x1514d5,{scaleX:_0x35cb10,scaleY:_0x13cbd1}=this[_0x426336(0x323)]['getAncestorScale']();return Math[_0x426336(0x35d)](_0x35cb10,_0x13cbd1);}}var _0x384787=Object[_0x1514d5(0x38f)],_0x48d7f7=(_0x5d1d55,_0x14068c,_0x3f158d,_0x30c661)=>{const _0x59365f=_0x1514d5;for(var _0x4e525d=_0x30c661>0x1?void 0x0:_0x30c661?_0x384787(_0x14068c,_0x3f158d):_0x14068c,_0x3e1cfe=_0x5d1d55[_0x59365f(0x38a)]-0x1,_0x4117c0;_0x3e1cfe>=0x0;_0x3e1cfe--)(_0x4117c0=_0x5d1d55[_0x3e1cfe])&&(_0x4e525d=_0x4117c0(_0x4e525d)||_0x4e525d);return _0x4e525d;},_0x5f28cc=(_0x4bccaf,_0x1da48e)=>(_0x18c938,_0x1718bc)=>_0x1da48e(_0x18c938,_0x1718bc,_0x4bccaf);let _0x2ca2cf=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x1069a3,_0x4ed22c,_0x3f392a,_0x2e8924,_0x1eef32){const _0x585172=_0x1514d5;super(),_0x4bb569(this,_0x585172(0x22e),[]),_0x4bb569(this,_0x585172(0x292),[]),(this[_0x585172(0x340)]=_0x1069a3,this['_docSkeletonManagerService']=_0x4ed22c,this[_0x585172(0x369)]=_0x3f392a,this['_commandService']=_0x2e8924,this[_0x585172(0x3f8)]=_0x1eef32,this[_0x585172(0x2ae)]());}[_0x1514d5(0x2ae)](){const _0x4c8ed7=_0x1514d5,_0xb97faa=this[_0x4c8ed7(0x340)]['unitId'],_0x41433e=this[_0x4c8ed7(0x390)];this[_0x4c8ed7(0x2c6)](_0x1746b4[_0x4c8ed7(0x413)]([this['_collabCursorController'][_0x4c8ed7(0x3a6)](_0xb97faa),this['_themeService'][_0x4c8ed7(0x21a)]])[_0x4c8ed7(0x243)](_0x4e5fdf[_0x4c8ed7(0x417)](([_0x242bb1,_0x181d79])=>({'skeleton':_0x41433e[_0x4c8ed7(0x203)](),'cursors':[..._0x242bb1[_0x4c8ed7(0x43d)]()][_0x4c8ed7(0x314)](_0x44f684=>({..._0x44f684,'color':this['_themeService'][_0x4c8ed7(0x2b0)](_0x44f684['color'])}))})))[_0x4c8ed7(0x241)](_0xfc66a3=>{const _0x3404cf=_0x4c8ed7;if(this[_0x3404cf(0x23a)](),_0xfc66a3){const {skeleton:_0x3b3c3f,cursors:_0x8694b6}=_0xfc66a3;this[_0x3404cf(0x337)](_0x3b3c3f,_0x8694b6);}})),this[_0x4c8ed7(0x22d)](),this[_0x4c8ed7(0x3d3)]();}[_0x1514d5(0x337)](_0x21c77d,_0x46b825){const _0x2f5c88=_0x1514d5,{scene:_0x37c6d5,mainComponent:_0x2d40e6}=this[_0x2f5c88(0x340)],_0x17e21c=_0x46b825[_0x2f5c88(0x417)](_0x14a01d=>new _0x3bfaad(_0x14a01d,_0x37c6d5,_0x21c77d,_0x2d40e6));this[_0x2f5c88(0x22e)]=_0x17e21c,this[_0x2f5c88(0x292)]=_0x46b825;}[_0x1514d5(0x30a)](){const _0x540b7a=_0x1514d5;this[_0x540b7a(0x23a)]();const {scene:_0x4dbe73,mainComponent:_0x283ffb}=this[_0x540b7a(0x340)],_0x279d56=this['_docSkeletonManagerService'][_0x540b7a(0x203)](),_0xb54fb0=this[_0x540b7a(0x292)]['map'](_0x1d4039=>new _0x3bfaad(_0x1d4039,_0x4dbe73,_0x279d56,_0x283ffb));this['_cursorShapes']=_0xb54fb0;}['_removeCollabCursors'](){const _0x3ccc37=_0x1514d5;this[_0x3ccc37(0x22e)][_0x3ccc37(0x1bd)](_0x3a7bf3=>_0x3a7bf3[_0x3ccc37(0x3a1)]()),this[_0x3ccc37(0x22e)]=[];}[_0x1514d5(0x3d3)](){const _0x49764c=_0x1514d5,_0x449b30=[_0x386d05['SetDocZoomRatioOperation']['id']];this[_0x49764c(0x2c6)](this[_0x49764c(0x1cc)][_0x49764c(0x1f9)](_0x4d7d1b=>{const _0x10803b=_0x49764c;_0x449b30[_0x10803b(0x1e9)](_0x4d7d1b['id'])&&_0x4d7d1b['params']['unitId']===this['_context'][_0x10803b(0x32b)]&&this[_0x10803b(0x30a)]();}));}[_0x1514d5(0x22d)](){const _0x254613=_0x1514d5;this[_0x254613(0x2c6)](_0x5a65dd[_0x254613(0x3e6)](this[_0x254613(0x340)][_0x254613(0x432)][_0x254613(0x1bf)])['pipe'](_0x4e5fdf[_0x254613(0x293)](_0x238e04=>_0x238e04[_0x254613(0x2d2)]===_0x44102d['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x254613(0x1bc)]),_0x4e5fdf['throttleTime'](0x10))['subscribe'](()=>{const _0x1ab655=_0x254613;this[_0x1ab655(0x30a)]();}));}};_0x2ca2cf=_0x48d7f7([_0x5f28cc(0x1,_0x5a65dd[_0x1514d5(0x426)](_0x46119b['DocSkeletonManagerService'])),_0x5f28cc(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x3272e2)),_0x5f28cc(0x3,_0x5a65dd['ICommandService']),_0x5f28cc(0x4,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd[_0x1514d5(0x2ab)]))],_0x2ca2cf);const _0x5378ee=0x1,_0x34f6e2=1.5;class _0x4a3a6e extends _0x44102d['Shape']{constructor(_0x58ae41,_0xb94f7a){const _0x247cf3=_0x1514d5;super(_0x58ae41,_0xb94f7a),_0x4bb569(this,_0x247cf3(0x32f)),_0x4bb569(this,_0x247cf3(0x300),!0x1),_0x4bb569(this,_0x247cf3(0x1a6)),_0x4bb569(this,_0x247cf3(0x1d0),''),_0x4bb569(this,_0x247cf3(0x442),_0x247cf3(0x2eb)),_0x4bb569(this,'_backgroundColor'),(_0xb94f7a&&this[_0x247cf3(0x363)](_0xb94f7a),this[_0x247cf3(0x28a)][_0x247cf3(0x437)](()=>this[_0x247cf3(0x363)]({'hovered':!0x0})),this['onPointerLeave$'][_0x247cf3(0x437)](()=>this[_0x247cf3(0x363)]({'hovered':!0x1})));}[_0x1514d5(0x363)](_0x45625f){const _0x2b6012=_0x1514d5;var _0x2b35d7,_0x30ad9d,_0xf82588,_0x12fa8d,_0x3dfbd7,_0x167bc2;this['_color']=(_0x2b35d7=_0x45625f[_0x2b6012(0x291)])!=null?_0x2b35d7:this[_0x2b6012(0x32f)],this[_0x2b6012(0x300)]=(_0x30ad9d=_0x45625f['hovered'])!=null?_0x30ad9d:this[_0x2b6012(0x300)],this[_0x2b6012(0x1a6)]=(_0xf82588=_0x45625f[_0x2b6012(0x2b7)])!=null?_0xf82588:this[_0x2b6012(0x1a6)],this[_0x2b6012(0x1d0)]=(_0x12fa8d=_0x45625f[_0x2b6012(0x2bd)])!=null?_0x12fa8d:this[_0x2b6012(0x1d0)],this[_0x2b6012(0x442)]=(_0x3dfbd7=_0x45625f['labelPosition'])!=null?_0x3dfbd7:this['_labelPosition'],this['_backgroundColor']=(_0x167bc2=_0x45625f['backgroundColor'])!=null?_0x167bc2:this[_0x2b6012(0x325)],this[_0x2b6012(0x308)]({'width':_0x45625f[_0x2b6012(0x30b)],'height':_0x45625f[_0x2b6012(0x2d9)]});}[_0x1514d5(0x41c)](_0x3de2df){const _0x7c59df=_0x1514d5,{row:_0xfbcdc1,column:_0x5efbf1}=_0x3de2df;if(_0xfbcdc1>=this[_0x7c59df(0x1a6)]['startRow']&&_0xfbcdc1<=this[_0x7c59df(0x1a6)][_0x7c59df(0x33e)]&&_0x5efbf1>=this['_range'][_0x7c59df(0x27d)]&&_0x5efbf1<=this[_0x7c59df(0x1a6)][_0x7c59df(0x360)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x7c59df(0x363)]({'hovered':!0x1});}['triggerDblclick'](_0x454654){return!0x1;}[_0x1514d5(0x3c4)](_0xb0c95a){const _0x4981dc=_0x1514d5;_0x44102d[_0x4981dc(0x1a7)][_0x4981dc(0x2a6)](_0xb0c95a,{'width':this[_0x4981dc(0x30b)],'height':this['height'],'strokeWidth':_0x34f6e2,'stroke':this[_0x4981dc(0x32f)],'evented':!0x1,'fill':this[_0x4981dc(0x325)]}),this[_0x4981dc(0x300)]&&(_0xb0c95a['save'](),_0xb0c95a[_0x4981dc(0x246)](0x1,0x0,0x0,0x1,this[_0x4981dc(0x30b)],this[_0x4981dc(0x442)]===_0x4981dc(0x3d7)?0x0:-0x14),_0x3921b2['drawWith'](_0xb0c95a,{'text':this['_name'],'color':this['_color']}),_0xb0c95a[_0x4981dc(0x37f)]());}}var _0x476f9b=Object[_0x1514d5(0x38f)],_0x18534f=(_0x29c966,_0x368b1d,_0x336d0a,_0x3c4fe8)=>{const _0x258f92=_0x1514d5;for(var _0x261a45=_0x3c4fe8>0x1?void 0x0:_0x3c4fe8?_0x476f9b(_0x368b1d,_0x336d0a):_0x368b1d,_0x50aac1=_0x29c966[_0x258f92(0x38a)]-0x1,_0x485f83;_0x50aac1>=0x0;_0x50aac1--)(_0x485f83=_0x29c966[_0x50aac1])&&(_0x261a45=_0x485f83(_0x261a45)||_0x261a45);return _0x261a45;},_0x7d77ce=(_0x119e29,_0x56676f)=>(_0x265ffb,_0x14e82f)=>_0x56676f(_0x265ffb,_0x14e82f,_0x119e29);const _0xda6fea=0x1389;let _0x285bdd=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x498366,_0x1bcb9c,_0x3d5d5c,_0x52c090){const _0x831308=_0x1514d5;super(),_0x4bb569(this,_0x831308(0x292),new Set()),_0x4bb569(this,_0x831308(0x367),null),(this[_0x831308(0x340)]=_0x498366,this[_0x831308(0x35c)]=_0x1bcb9c,this[_0x831308(0x369)]=_0x3d5d5c,this['_themeService']=_0x52c090,this[_0x831308(0x2ae)]());}['_init'](){const _0x3140f2=_0x1514d5;this[_0x3140f2(0x35c)]['currentSkeleton$']['pipe'](_0x4e5fdf[_0x3140f2(0x29b)](this[_0x3140f2(0x2f6)]),_0x4e5fdf[_0x3140f2(0x226)](_0x437c97=>{const _0x795309=_0x3140f2;if(_0x437c97){const _0x3e8402=_0x437c97[_0x795309(0x245)];return _0x1746b4['combineLatest'](this[_0x795309(0x369)][_0x795309(0x3a6)](this[_0x795309(0x340)]['unitId']),this[_0x795309(0x3f8)][_0x795309(0x21a)])[_0x795309(0x243)](_0x4e5fdf[_0x795309(0x417)](([_0x394154,_0x4f49a9])=>{const _0x2d8b23=new Map();return _0x394154['forEach']((_0x3a4437,_0x335b6a)=>{const _0xb3818c=_0x35c7;if(_0x3a4437[_0xb3818c(0x3dc)]===_0x3e8402){const _0x1534a0={..._0x3a4437};_0x1534a0[_0xb3818c(0x291)]=this[_0xb3818c(0x3f8)][_0xb3818c(0x2b0)](_0x3a4437[_0xb3818c(0x291)]),_0x2d8b23[_0xb3818c(0x43b)](_0x335b6a,_0x1534a0);}}),{'skeleton':_0x437c97,'cursors':_0x2d8b23};}));}return _0x1746b4['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4f6273,cursors:_0x30d482})=>{const _0x19e0ae=_0x3140f2;this[_0x19e0ae(0x23a)](),_0x4f6273&&this[_0x19e0ae(0x337)](_0x4f6273,_0x30d482);}),this[_0x3140f2(0x35c)][_0x3140f2(0x3ff)][_0x3140f2(0x241)](_0x560655=>{const _0x35777c=_0x3140f2;if(_0x560655==null)return;const {skeleton:_0x4af8de}=_0x560655,{scene:_0x39ad04}=this[_0x35777c(0x340)];_0x39ad04[_0x35777c(0x40a)][_0x35777c(0x437)](_0x5a65dd[_0x35777c(0x3bb)](_0x2669c4=>{const _0x2826d0=_0x35777c;var _0x17da6e,_0x3addba;const {offsetX:_0x6f9e5f,offsetY:_0x28f889}=_0x2669c4,{x:_0x5e9b84,y:_0x51935f}=_0x39ad04[_0x2826d0(0x1b9)](_0x44102d[_0x2826d0(0x301)][_0x2826d0(0x3ae)]([_0x6f9e5f,_0x28f889])),{scaleX:_0x4163f6,scaleY:_0x2bd829}=_0x39ad04[_0x2826d0(0x3c5)](),_0x36ecc2=_0x39ad04[_0x2826d0(0x371)](_0x44102d[_0x2826d0(0x237)][_0x2826d0(0x394)]),_0x4836b7=_0x39ad04[_0x2826d0(0x2f0)](_0x44102d[_0x2826d0(0x301)][_0x2826d0(0x3ae)]([_0x5e9b84,_0x51935f]),_0x36ecc2),_0xf3ae83=_0x4af8de['getCellPositionByOffset'](_0x6f9e5f,_0x28f889,_0x4163f6,_0x2bd829,_0x4836b7);((_0x17da6e=this['_lastPointer'])==null?void 0x0:_0x17da6e[_0x2826d0(0x2a9)])===_0xf3ae83[_0x2826d0(0x2a9)]&&((_0x3addba=this[_0x2826d0(0x367)])==null?void 0x0:_0x3addba[_0x2826d0(0x2e1)])===_0xf3ae83[_0x2826d0(0x2e1)]||this[_0x2826d0(0x292)][_0x2826d0(0x1bd)](_0x366c40=>{const _0x5c541a=_0x2826d0;_0x366c40[_0x5c541a(0x41c)](_0xf3ae83);});},0x64));});}['_updateCollabCursors'](_0xd778dc,_0x477b92){const _0x4153a1=_0x1514d5;var _0x3cb22b;const _0x366f0f=(_0x3cb22b=this[_0x4153a1(0x35c)][_0x4153a1(0x424)]())==null?void 0x0:_0x3cb22b[_0x4153a1(0x397)];if(!_0x366f0f)return;const _0xa16523=this[_0x4153a1(0x31e)]();if(!_0xa16523)return;this[_0x4153a1(0x292)][_0x4153a1(0x1bd)](_0x37cb76=>{const _0x117954=_0x4153a1;_0x37cb76[_0x117954(0x39d)]();});const {scene:_0x145f9f}=_0xa16523,_0xad244e=_0x6057a0(Array[_0x4153a1(0x351)](_0x477b92[_0x4153a1(0x43d)]()))[_0x4153a1(0x417)](_0x3dfd03=>{const _0x53049c=_0x4153a1,{color:_0xd92087,range:_0x1127d9,name:_0x40c5ac,selection:_0x264993,sheetID:_0x4ab5c7}=_0x3dfd03,{startColumn:_0x541ef2,startRow:_0x5f3657,endColumn:_0xac43cf,endRow:_0x134cb0}=_0x1127d9,_0x55083a=_0xd9782a[_0x53049c(0x444)](_0x5f3657,_0x541ef2,_0x145f9f,_0x366f0f),_0x5cfe79=_0xd9782a[_0x53049c(0x444)](_0x134cb0,_0xac43cf,_0x145f9f,_0x366f0f),{columnHeaderHeightAndMarginTop:_0x39b1d2}=_0x366f0f,{startX:_0x29d03c,startY:_0x987dd7}=_0x55083a,{endX:_0x3260c2,endY:_0x4c3f9f}=_0x5cfe79,_0x3c5aab=_0x3260c2-_0x29d03c,_0x4b26cc=_0x4c3f9f-_0x987dd7,_0x229189={'labelPosition':_0x987dd7-_0x39b1d2>=_0x53f1e2?_0x53049c(0x2eb):_0x53049c(0x3d7),'sheetID':_0x4ab5c7,'range':_0x1127d9,'color':_0xd92087,'name':_0x40c5ac,'selection':_0x264993,'left':_0x29d03c,'top':_0x987dd7,'width':_0x3c5aab,'height':_0x4b26cc,'evented':!0x1,'zIndex':_0xda6fea};return new _0x4a3a6e(_0x40c5ac,_0x229189);});_0x145f9f[_0x4153a1(0x34c)](_0xad244e,_0x5378ee),this[_0x4153a1(0x292)]=new Set(_0xad244e);}[_0x1514d5(0x23a)](){const _0x59c7d8=_0x1514d5;var _0xd669fb;(_0xd669fb=this[_0x59c7d8(0x292)])==null||_0xd669fb[_0x59c7d8(0x1bd)](_0x30e30a=>_0x30e30a[_0x59c7d8(0x3a1)]());}[_0x1514d5(0x31e)](){const _0x23941a=_0x1514d5;return _0xd9782a['getSheetObject'](this[_0x23941a(0x340)]['unit'],this[_0x23941a(0x340)]);}};_0x285bdd=_0x18534f([_0x7d77ce(0x1,_0x5a65dd[_0x1514d5(0x426)](_0xd9782a[_0x1514d5(0x381)])),_0x7d77ce(0x2,_0x5a65dd['Inject'](_0x3272e2)),_0x7d77ce(0x3,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd[_0x1514d5(0x2ab)]))],_0x285bdd);function _0x6057a0(_0x5417d2){const _0x22e1f6=_0x1514d5,_0x33c7fb=new Map();return _0x5417d2['forEach'](_0x45d429=>{const _0x178cf9=_0x35c7;if(_0x33c7fb['has'](_0x45d429[_0x178cf9(0x242)])){const _0x26560c=_0x33c7fb[_0x178cf9(0x1de)](_0x45d429[_0x178cf9(0x242)]);_0x26560c[_0x178cf9(0x2bd)]+=',\x20'+_0x45d429[_0x178cf9(0x2bd)];}else _0x33c7fb[_0x178cf9(0x43b)](_0x45d429[_0x178cf9(0x242)],_0x45d429);}),Array[_0x22e1f6(0x351)](_0x33c7fb[_0x22e1f6(0x43d)]());}var _0x5d640e=function(){const _0x39f973=_0x1514d5;return _0x5d640e=Object[_0x39f973(0x2b8)]||function(_0x507077){const _0x303c47=_0x39f973;for(var _0xa6f4b2,_0x2b3321=0x1,_0x272607=arguments[_0x303c47(0x38a)];_0x2b3321<_0x272607;_0x2b3321++){_0xa6f4b2=arguments[_0x2b3321];for(var _0x3aa28f in _0xa6f4b2)Object['prototype']['hasOwnProperty'][_0x303c47(0x3ee)](_0xa6f4b2,_0x3aa28f)&&(_0x507077[_0x3aa28f]=_0xa6f4b2[_0x3aa28f]);}return _0x507077;},_0x5d640e[_0x39f973(0x40e)](this,arguments);},_0x348a32=function(_0x2932c6,_0x2821f1){const _0x201519=_0x1514d5;var _0x4a67d3={};for(var _0xc46ed6 in _0x2932c6)Object[_0x201519(0x313)]['hasOwnProperty'][_0x201519(0x3ee)](_0x2932c6,_0xc46ed6)&&_0x2821f1[_0x201519(0x315)](_0xc46ed6)<0x0&&(_0x4a67d3[_0xc46ed6]=_0x2932c6[_0xc46ed6]);if(_0x2932c6!=null&&typeof Object[_0x201519(0x31a)]==_0x201519(0x1f2)){for(var _0x3d43a1=0x0,_0xc46ed6=Object[_0x201519(0x31a)](_0x2932c6);_0x3d43a1<_0xc46ed6[_0x201519(0x38a)];_0x3d43a1++)_0x2821f1[_0x201519(0x315)](_0xc46ed6[_0x3d43a1])<0x0&&Object[_0x201519(0x313)][_0x201519(0x3f7)][_0x201519(0x3ee)](_0x2932c6,_0xc46ed6[_0x3d43a1])&&(_0x4a67d3[_0xc46ed6[_0x3d43a1]]=_0x2932c6[_0xc46ed6[_0x3d43a1]]);}return _0x4a67d3;},_0x509c78=_0x221fa5[_0x1514d5(0x3bc)](function(_0x4b68ad,_0x20cb4a){const _0x275734=_0x1514d5;var _0xce15ee=_0x4b68ad['icon'],_0x38154e=_0x4b68ad['id'],_0x250b4a=_0x4b68ad[_0x275734(0x1b7)],_0x472172=_0x4b68ad[_0x275734(0x304)],_0x429173=_0x348a32(_0x4b68ad,[_0x275734(0x386),'id',_0x275734(0x1b7),_0x275734(0x304)]),_0xec9940='univerjs-icon\x20univerjs-icon-'[_0x275734(0x296)](_0x38154e,'\x20')['concat'](_0x250b4a||'')[_0x275734(0x25d)](),_0x32dd37=_0x221fa5[_0x275734(0x3a3)]('_'[_0x275734(0x296)](_0x889787()));return _0x41a7fa(_0xce15ee,''[_0x275734(0x296)](_0x38154e),{'defIds':_0xce15ee[_0x275734(0x1e5)],'idSuffix':_0x32dd37[_0x275734(0x354)]},_0x5d640e({'ref':_0x20cb4a,'className':_0xec9940},_0x429173),_0x472172);});function _0x41a7fa(_0x3c2ef3,_0x8e0a9b,_0x5b7c66,_0x485f81,_0x36fa7c){const _0x5a7fa7=_0x1514d5;return _0x221fa5[_0x5a7fa7(0x3c0)](_0x3c2ef3['tag'],_0x5d640e(_0x5d640e({'key':_0x8e0a9b},_0x27c1ab(_0x3c2ef3,_0x5b7c66,_0x36fa7c)),_0x485f81),(_0x518de0(_0x3c2ef3,_0x5b7c66)['children']||[])[_0x5a7fa7(0x417)](function(_0x5e9ffa,_0x23dfec){const _0x52b178=_0x5a7fa7;return _0x41a7fa(_0x5e9ffa,''[_0x52b178(0x296)](_0x8e0a9b,'-')[_0x52b178(0x296)](_0x3c2ef3[_0x52b178(0x1fa)],'-')['concat'](_0x23dfec),_0x5b7c66,void 0x0,_0x36fa7c);}));}function _0x27c1ab(_0x15c3da,_0x80f85,_0x3baebf){const _0xbb899=_0x1514d5;var _0x48d14a=_0x5d640e({},_0x15c3da[_0xbb899(0x387)]);_0x3baebf!=null&&_0x3baebf['colorChannel1']&&_0x48d14a['fill']===_0xbb899(0x355)&&(_0x48d14a[_0xbb899(0x1b6)]=_0x3baebf[_0xbb899(0x355)]),_0x15c3da[_0xbb899(0x1fa)]===_0xbb899(0x2ef)&&_0x48d14a['id']&&(_0x48d14a['id']=_0x48d14a['id']+_0x80f85['idSuffix']),Object['entries'](_0x48d14a)[_0xbb899(0x1bd)](function(_0x4ce850){const _0x107ec3=_0xbb899;var _0x4e81e4=_0x4ce850[0x0],_0x5ae6d6=_0x4ce850[0x1];_0x4e81e4===_0x107ec3(0x2ef)&&typeof _0x5ae6d6==_0x107ec3(0x2fd)&&(_0x48d14a[_0x4e81e4]=_0x5ae6d6[_0x107ec3(0x299)](/url\(#(.*)\)/,_0x107ec3(0x228)[_0x107ec3(0x296)](_0x80f85[_0x107ec3(0x22b)],')')));});var _0x327a6b=_0x80f85['defIds'];return!_0x327a6b||_0x327a6b[_0xbb899(0x38a)]===0x0||(_0x15c3da[_0xbb899(0x1fa)]===_0xbb899(0x1ac)&&_0x48d14a[_0xbb899(0x33d)]&&(_0x48d14a[_0xbb899(0x33d)]=_0x48d14a[_0xbb899(0x33d)]+_0x80f85['idSuffix']),Object['entries'](_0x48d14a)[_0xbb899(0x1bd)](function(_0x12e999){const _0x4f2648=_0xbb899;var _0x49af3e=_0x12e999[0x0],_0x455d3a=_0x12e999[0x1];typeof _0x455d3a=='string'&&(_0x48d14a[_0x49af3e]=_0x455d3a[_0x4f2648(0x299)](/url\(#(.*)\)/,_0x4f2648(0x228)[_0x4f2648(0x296)](_0x80f85[_0x4f2648(0x22b)],')')));})),_0x48d14a;}function _0x518de0(_0x515e96,_0x288910){const _0x3fa86d=_0x1514d5;var _0x2ea392,_0x3f3d29=_0x288910[_0x3fa86d(0x1e5)];return!_0x3f3d29||_0x3f3d29['length']===0x0?_0x515e96:_0x515e96['tag']==='defs'&&(!((_0x2ea392=_0x515e96[_0x3fa86d(0x20c)])===null||_0x2ea392===void 0x0)&&_0x2ea392[_0x3fa86d(0x38a)])?_0x5d640e(_0x5d640e({},_0x515e96),{'children':_0x515e96['children'][_0x3fa86d(0x417)](function(_0x414026){const _0x48a1dc=_0x3fa86d;return typeof _0x414026['attrs']['id']=='string'&&_0x3f3d29&&_0x3f3d29[_0x48a1dc(0x1e9)](_0x414026[_0x48a1dc(0x387)]['id'])?_0x5d640e(_0x5d640e({},_0x414026),{'attrs':_0x5d640e(_0x5d640e({},_0x414026[_0x48a1dc(0x387)]),{'id':_0x414026['attrs']['id']+_0x288910['idSuffix']})}):_0x414026;})}):_0x515e96;}function _0x889787(){const _0x5404e9=_0x1514d5;return Math[_0x5404e9(0x3ce)]()[_0x5404e9(0x207)](0x24)[_0x5404e9(0x2e0)](0x2,0x8);}_0x509c78[_0x1514d5(0x2f5)]='UniverIcon';var _0x2e316a={'tag':_0x1514d5(0x2ba),'attrs':{'xmlns':_0x1514d5(0x33a),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1514d5(0x3f0),'height':_0x1514d5(0x3f0)},'children':[{'tag':'g','attrs':{'clipPath':_0x1514d5(0x282)},'children':[{'tag':'path','attrs':{'stroke':_0x1514d5(0x423),'d':_0x1514d5(0x265),'strokeLinecap':_0x1514d5(0x1e8),'strokeLinejoin':_0x1514d5(0x1e8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1514d5(0x405),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1514d5(0x2a7),'attrs':{'fill':'white','d':_0x1514d5(0x253)}}]}]}],'defIds':[_0x1514d5(0x266)]},_0x2be05f=_0x221fa5['forwardRef'](function(_0x12a3ba,_0x5a6d00){const _0x47e88e=_0x1514d5;return _0x221fa5[_0x47e88e(0x3c0)](_0x509c78,Object[_0x47e88e(0x2b8)]({},_0x12a3ba,{'id':'off-line-icon','ref':_0x5a6d00,'icon':_0x2e316a}));});_0x2be05f[_0x1514d5(0x2f5)]=_0x1514d5(0x2bf);var _0x3242fc={'tag':_0x1514d5(0x2ba),'attrs':{'xmlns':_0x1514d5(0x33a),'fill':_0x1514d5(0x3b2),'viewBox':_0x1514d5(0x2b3),'width':_0x1514d5(0x3f0),'height':_0x1514d5(0x3f0)},'children':[{'tag':'g','attrs':{'clipPath':_0x1514d5(0x2fe)},'children':[{'tag':'path','attrs':{'stroke':_0x1514d5(0x423),'d':_0x1514d5(0x2d1),'strokeLinecap':_0x1514d5(0x1e8),'strokeLinejoin':_0x1514d5(0x1e8),'strokeWidth':1.2}}]},{'tag':_0x1514d5(0x439),'attrs':{},'children':[{'tag':_0x1514d5(0x405),'attrs':{'id':_0x1514d5(0x414)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1514d5(0x253),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1514d5(0x414)]},_0x5e29d0=_0x221fa5['forwardRef'](function(_0x3fd91b,_0xeced64){const _0x38189a=_0x1514d5;return _0x221fa5[_0x38189a(0x3c0)](_0x509c78,Object[_0x38189a(0x2b8)]({},_0x3fd91b,{'id':_0x38189a(0x3c6),'ref':_0xeced64,'icon':_0x3242fc}));});_0x5e29d0['displayName']=_0x1514d5(0x42e);function _0x3b9f63(_0x2da837){const _0x4262af=_0x1514d5;switch(_0x2da837){case _0x52adaf[_0x4262af(0x213)]['OFFLINE']:return _0x4262af(0x3e2);case _0x52adaf[_0x4262af(0x213)]['CONFLICT']:return _0x4262af(0x2c3);case _0x52adaf[_0x4262af(0x213)][_0x4262af(0x352)]:return _0x4262af(0x28c);case _0x52adaf[_0x4262af(0x213)][_0x4262af(0x335)]:return _0x4262af(0x1a8);case _0x52adaf[_0x4262af(0x213)][_0x4262af(0x269)]:case _0x52adaf[_0x4262af(0x213)]['AWAITING_WITH_PENDING']:return _0x4262af(0x238);case _0x52adaf[_0x4262af(0x213)][_0x4262af(0x36d)]:case _0x52adaf[_0x4262af(0x213)][_0x4262af(0x330)]:return'collabStatus.synced';}}function _0x108a78(_0x20099a){const _0x225585=_0x1514d5,{status$:_0x124ac8}=_0x20099a,_0x595b70=_0x494249['useObservable'](_0x124ac8,_0x52adaf[_0x225585(0x213)]['NOT_COLLAB']),_0x134621=_0x494249[_0x225585(0x1b8)](_0x5a65dd[_0x225585(0x38c)]),_0x57b423=_0x494249[_0x225585(0x1b8)](_0x52adaf['CollaborationSessionService']),_0x2205bc=_0x595b70!==_0x52adaf[_0x225585(0x213)][_0x225585(0x35e)],_0x51b0ea=_0x134621['t'](_0x3b9f63(_0x595b70)),_0x2e427d=_0x2205bc?_0x53913b[_0x225585(0x235)](_0x5e29d0,{}):_0x53913b[_0x225585(0x235)](_0x2be05f,{}),_0x174fee=_0x221fa5[_0x225585(0x1c0)](()=>{const _0x1e542f=_0x225585;_0x2205bc||_0x57b423[_0x1e542f(0x278)]();},[_0x2205bc,_0x57b423]);function _0x533655(){const _0x4d4911=_0x225585;return _0x53913b[_0x4d4911(0x433)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x174fee,'children':[_0x53913b[_0x4d4911(0x235)]('div',{'className':_0x3358c8[_0x4d4911(0x210)](_0x4d4911(0x271),{'univer-text-green-500':_0x2205bc,'univer-text-red-500':!_0x2205bc}),'children':_0x2e427d}),_0x53913b[_0x4d4911(0x235)](_0x4d4911(0x40d),{'className':_0x4d4911(0x36e),'children':_0x51b0ea})]});}return _0x2205bc?_0x533655():_0x53913b[_0x225585(0x235)](_0x3358c8[_0x225585(0x27e)],{'title':_0x134621['t']('collab-client.tooltip.reconnect'),'children':_0x533655()});}var _0x5be88e=Object[_0x1514d5(0x38f)],_0x4e68a7=(_0x1ebaf6,_0x67b1f2,_0x35dde9,_0x4914be)=>{const _0xa922e3=_0x1514d5;for(var _0xe26e4e=_0x4914be>0x1?void 0x0:_0x4914be?_0x5be88e(_0x67b1f2,_0x35dde9):_0x67b1f2,_0x3c9230=_0x1ebaf6[_0xa922e3(0x38a)]-0x1,_0x2441f7;_0x3c9230>=0x0;_0x3c9230--)(_0x2441f7=_0x1ebaf6[_0x3c9230])&&(_0xe26e4e=_0x2441f7(_0xe26e4e)||_0xe26e4e);return _0xe26e4e;},_0x194628=(_0x5af169,_0x530ec5)=>(_0x10ad3d,_0x484d33)=>_0x530ec5(_0x10ad3d,_0x484d33,_0x5af169);_0xd1fb5f[_0x1514d5(0x239)]=class extends _0x5a65dd[_0x1514d5(0x201)]{constructor(_0x27712b,_0x2dfef0,_0x394056,_0x507be8){const _0x4cb8be=_0x1514d5;super(),_0x4bb569(this,_0x4cb8be(0x3aa),new _0x1746b4[(_0x4cb8be(0x2dc))](_0x52adaf[_0x4cb8be(0x213)][_0x4cb8be(0x335)])),(this['_univerInstanceService']=_0x27712b,this[_0x4cb8be(0x441)]=_0x2dfef0,this[_0x4cb8be(0x252)]=_0x394056,this[_0x4cb8be(0x1d2)]=_0x507be8,this[_0x4cb8be(0x19e)](),this[_0x4cb8be(0x321)]());}['_initStatusListener'](){const _0x1b4f06=_0x1514d5;this[_0x1b4f06(0x2c6)](this['_univerInstanceService'][_0x1b4f06(0x1d4)]['pipe'](_0x1746b4['switchMap'](()=>{const _0x42c6eb=_0x1b4f06,_0x144151=this[_0x42c6eb(0x2f3)]['getFocusedUnit']();return _0x144151?this['_collaborationController'][_0x42c6eb(0x3a4)](_0x144151[_0x42c6eb(0x3d2)]()):_0x1746b4['of'](null);}),_0x1746b4[_0x1b4f06(0x226)](_0x5bdf90=>_0x5bdf90?_0x5bdf90[_0x1b4f06(0x2fa)]:_0x1746b4['of'](_0x52adaf[_0x1b4f06(0x213)][_0x1b4f06(0x335)])))[_0x1b4f06(0x241)](_0xc83f05=>{const _0x3f55c1=_0x1b4f06;this[_0x3f55c1(0x3aa)]['next'](_0xc83f05);}));}[_0x1514d5(0x19e)](){const _0x25cb84=_0x1514d5;this[_0x25cb84(0x2c6)](this[_0x25cb84(0x1d2)][_0x25cb84(0x3ea)](_0x494249['BuiltInUIPart'][_0x25cb84(0x256)],()=>_0x494249[_0x25cb84(0x338)](_0xa969fb({'status$':this[_0x25cb84(0x3aa)]['asObservable']()}),this[_0x25cb84(0x441)])));}},_0xd1fb5f[_0x1514d5(0x239)]=_0x4e68a7([_0x194628(0x0,_0x5a65dd[_0x1514d5(0x36a)]),_0x194628(0x1,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd[_0x1514d5(0x411)])),_0x194628(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x52adaf[_0x1514d5(0x285)])),_0x194628(0x3,_0x494249[_0x1514d5(0x1fe)])],_0xd1fb5f[_0x1514d5(0x239)]);function _0xa969fb(_0x52dd12){const {status$:_0x2a8f28}=_0x52dd12;return function(){const _0x382e51=_0x35c7;return _0x53913b[_0x382e51(0x235)](_0x108a78,{'status$':_0x2a8f28});};}var _0x485d12=Object[_0x1514d5(0x38f)],_0x512441=(_0x3218d2,_0x29e9c0,_0x2659d2,_0x31cdef)=>{const _0x3d3862=_0x1514d5;for(var _0x450c4b=_0x31cdef>0x1?void 0x0:_0x31cdef?_0x485d12(_0x29e9c0,_0x2659d2):_0x29e9c0,_0x205382=_0x3218d2[_0x3d3862(0x38a)]-0x1,_0x56da1d;_0x205382>=0x0;_0x205382--)(_0x56da1d=_0x3218d2[_0x205382])&&(_0x450c4b=_0x56da1d(_0x450c4b)||_0x450c4b);return _0x450c4b;},_0x4a7007=(_0x3b4a57,_0x2deab2)=>(_0xf67b23,_0x48c235)=>_0x2deab2(_0xf67b23,_0x48c235,_0x3b4a57);let _0x14659f=class extends _0x5a65dd[_0x1514d5(0x201)]{constructor(_0x5ba930,_0xb887f1,_0x373c3d,_0x2dec16,_0x4b813c,_0x384ba8){const _0x18ca98=_0x1514d5;super(),this['_beforeCloseService']=_0x5ba930,this[_0x18ca98(0x329)]=_0xb887f1,this[_0x18ca98(0x2ed)]=_0x373c3d,this[_0x18ca98(0x21b)]=_0x2dec16,this[_0x18ca98(0x2b6)]=_0x4b813c,this['_localeService']=_0x384ba8,this[_0x18ca98(0x2cc)](),this[_0x18ca98(0x231)]();}['_setupBeforeClosingHandler'](){const _0x4b388e=_0x1514d5;this[_0x4b388e(0x2c6)](this[_0x4b388e(0x2c8)][_0x4b388e(0x396)](()=>{const _0x3cfda1=_0x4b388e;if(this[_0x3cfda1(0x329)]['saveTaskMap'][_0x3cfda1(0x324)])return this[_0x3cfda1(0x361)]['t'](_0x3cfda1(0x30e));}));}[_0x1514d5(0x231)](){const _0x52f5a5=_0x1514d5;this[_0x52f5a5(0x2c6)](this[_0x52f5a5(0x2ed)][_0x52f5a5(0x2be)][_0x52f5a5(0x241)](_0x55d711=>{const _0x33a9f9=_0x52f5a5;_0x55d711['id']===_0x52adaf[_0x33a9f9(0x36c)][_0x33a9f9(0x1ad)]&&this['_messageService']['show']({'type':_0x3358c8[_0x33a9f9(0x38d)]['Warning'],'content':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x43a))}),_0x55d711['id']===_0x52adaf[_0x33a9f9(0x36c)][_0x33a9f9(0x214)]&&this[_0x33a9f9(0x21b)]['show']({'type':_0x3358c8[_0x33a9f9(0x38d)][_0x33a9f9(0x425)],'content':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x302))}),_0x55d711['id']===_0x52adaf[_0x33a9f9(0x36c)][_0x33a9f9(0x24f)]&&this[_0x33a9f9(0x2b6)][_0x33a9f9(0x3da)]({'title':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x35b)),'content':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x376)),'type':_0x33a9f9(0x438),'duration':0x0}),_0x55d711['id']===_0x52adaf['CollaborationUIEventId'][_0x33a9f9(0x1b5)]&&this[_0x33a9f9(0x21b)][_0x33a9f9(0x3da)]({'type':_0x3358c8[_0x33a9f9(0x38d)][_0x33a9f9(0x3fc)],'content':this[_0x33a9f9(0x361)]['t']('collaboration.closeRoom')+'('+_0x55d711[_0x33a9f9(0x37e)]+')'}),_0x55d711['id']===_0x52adaf['CollaborationUIEventId'][_0x33a9f9(0x30c)]&&this[_0x33a9f9(0x21b)][_0x33a9f9(0x3da)]({'type':_0x3358c8[_0x33a9f9(0x38d)][_0x33a9f9(0x425)],'content':this[_0x33a9f9(0x361)]['t'](_0x55d711[_0x33a9f9(0x37e)]||'')}),_0x55d711['id']===_0x52adaf[_0x33a9f9(0x36c)][_0x33a9f9(0x1a5)]&&this[_0x33a9f9(0x21b)][_0x33a9f9(0x3da)]({'type':_0x3358c8[_0x33a9f9(0x38d)]['Warning'],'content':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x268))}),_0x55d711['id']===_0x52adaf[_0x33a9f9(0x36c)]['SOCKET_FAILED']&&this['_messageService'][_0x33a9f9(0x3da)]({'type':_0x3358c8[_0x33a9f9(0x38d)]['Error'],'content':this[_0x33a9f9(0x361)]['t']('session.connection-failed')}),_0x55d711['id']===_0x52adaf['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x33a9f9(0x3da)]({'type':_0x3358c8[_0x33a9f9(0x38d)][_0x33a9f9(0x3fc)],'content':this[_0x33a9f9(0x361)]['t'](_0x33a9f9(0x1c8))});}));}};_0x14659f=_0x512441([_0x4a7007(0x0,_0x494249[_0x1514d5(0x2d6)]),_0x4a7007(0x1,_0x52adaf[_0x1514d5(0x216)]),_0x4a7007(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x52adaf[_0x1514d5(0x1d7)])),_0x4a7007(0x3,_0x494249[_0x1514d5(0x3fd)]),_0x4a7007(0x4,_0x494249[_0x1514d5(0x1e3)]),_0x4a7007(0x5,_0x5a65dd['Inject'](_0x5a65dd[_0x1514d5(0x38c)]))],_0x14659f);const _0x460cc0=_0x1514d5(0x27c),_0x10ccc2={},_0x541a67=_0x5a65dd[_0x1514d5(0x2a4)](_0x1514d5(0x1af));var _0x36fb42=Object[_0x1514d5(0x38f)],_0x4c631d=(_0x568333,_0xa81957,_0x4f4933,_0xff5d28)=>{const _0x1e1687=_0x1514d5;for(var _0xf19754=_0xff5d28>0x1?void 0x0:_0xff5d28?_0x36fb42(_0xa81957,_0x4f4933):_0xa81957,_0x1c0567=_0x568333[_0x1e1687(0x38a)]-0x1,_0x1ca31e;_0x1c0567>=0x0;_0x1c0567--)(_0x1ca31e=_0x568333[_0x1c0567])&&(_0xf19754=_0x1ca31e(_0xf19754)||_0xf19754);return _0xf19754;},_0x22ecd6=(_0x219199,_0x89be1f)=>(_0x3b6558,_0x33765e)=>_0x89be1f(_0x3b6558,_0x33765e,_0x219199);_0xd1fb5f[_0x1514d5(0x272)]=class extends _0x5a65dd[_0x1514d5(0x262)]{constructor(_0x28dfb2,_0x10df6f,_0x2fb943,_0x19acff,_0x390b7e){const _0x4a5f31=_0x1514d5;super(),this[_0x4a5f31(0x407)]=_0x28dfb2,this[_0x4a5f31(0x393)]=_0x10df6f,this[_0x4a5f31(0x1cc)]=_0x2fb943,this[_0x4a5f31(0x220)]=_0x19acff,_0x390b7e?_0x390b7e==null||_0x390b7e[_0x4a5f31(0x3ca)]()[_0x4a5f31(0x309)](()=>this[_0x4a5f31(0x2ae)]()):(this['_logService'][_0x4a5f31(0x410)]('[CollaborationDataLoaderController]',_0x4a5f31(0x343)),this['_init']());}async[_0x1514d5(0x2ae)](){const _0x534286=_0x1514d5,_0x21a15c=this['_urlService'][_0x534286(0x373)](_0x534286(0x28e)),_0x29fff7=this['_urlService'][_0x534286(0x373)](_0x534286(0x2d2)),_0x5c6c3f=this[_0x534286(0x407)]['getParam'](_0x534286(0x400));if(!_0x21a15c||!_0x29fff7){this[_0x534286(0x393)]['debug'](_0x534286(0x212),_0x534286(0x1a9));return;}const _0x17d036=await this[_0x534286(0x220)][_0x534286(0x3b3)](_0x21a15c,Number(_0x29fff7),_0x5c6c3f);_0x17d036&&_0x17d036 instanceof _0x5a65dd[_0x534286(0x36b)]&&this[_0x534286(0x333)](_0x17d036);}async[_0x1514d5(0x333)](_0x12906d){const _0x50e7e3=_0x1514d5;await this['_updateSubUnitFromURLParams'](_0x12906d),_0x12906d[_0x50e7e3(0x2ea)][_0x50e7e3(0x243)](_0x1746b4[_0x50e7e3(0x29b)](this[_0x50e7e3(0x2f6)]))[_0x50e7e3(0x241)](_0x25b082=>{const _0x5a5833=_0x50e7e3;_0x25b082&&this[_0x5a5833(0x24a)](_0x25b082);}),this[_0x50e7e3(0x407)][_0x50e7e3(0x2d8)][_0x50e7e3(0x243)](_0x1746b4[_0x50e7e3(0x29b)](this['dispose$']))[_0x50e7e3(0x241)](()=>this['_updateSubUnitFromURLParams'](_0x12906d));}[_0x1514d5(0x24a)](_0x1f2331,_0x4d68e1=!0x1){const _0x53574c=_0x1514d5,_0x4634d9=this[_0x53574c(0x407)][_0x53574c(0x373)](_0x53574c(0x400));_0x1f2331[_0x53574c(0x2aa)]()!==_0x4634d9&&this[_0x53574c(0x407)]['setParam'](_0x53574c(0x400),_0x1f2331[_0x53574c(0x2aa)](),_0x4d68e1);}async[_0x1514d5(0x21d)](_0x25209d){const _0x2d25bb=_0x1514d5;var _0xc2d1e5;const _0x2d7be7=this[_0x2d25bb(0x407)][_0x2d25bb(0x373)](_0x2d25bb(0x400));if(!_0x2d7be7||!_0x25209d[_0x2d25bb(0x250)](_0x2d7be7)){const _0x3b320f=_0x25209d[_0x2d25bb(0x2a2)]()[0x0],_0x3c58eb=_0x25209d[_0x2d25bb(0x250)](_0x3b320f);if(!_0x3c58eb)return;this[_0x2d25bb(0x24a)](_0x3c58eb,!0x0),await this[_0x2d25bb(0x1cc)]['executeCommand'](_0x1b362f[_0x2d25bb(0x365)]['id'],{'unitId':_0x25209d[_0x2d25bb(0x3d2)](),'subUnitId':_0x3b320f});return;}((_0xc2d1e5=_0x25209d[_0x2d25bb(0x436)]())==null?void 0x0:_0xc2d1e5[_0x2d25bb(0x2aa)]())!==_0x2d7be7&&await this['_commandService'][_0x2d25bb(0x31b)](_0x1b362f[_0x2d25bb(0x365)]['id'],{'unitId':_0x25209d[_0x2d25bb(0x3d2)](),'subUnitId':_0x2d7be7});}},_0xd1fb5f['CollaborationDataLoaderController']=_0x4c631d([_0x22ecd6(0x0,_0x541a67),_0x22ecd6(0x1,_0x5a65dd[_0x1514d5(0x357)]),_0x22ecd6(0x2,_0x5a65dd[_0x1514d5(0x42c)]),_0x22ecd6(0x3,_0x5a65dd[_0x1514d5(0x426)](_0x52adaf['DataLoaderService'])),_0x22ecd6(0x4,_0x5a65dd[_0x1514d5(0x3bf)](_0x2ca3ca[_0x1514d5(0x1fd)]))],_0xd1fb5f[_0x1514d5(0x272)]);var _0x5cd9de=Object[_0x1514d5(0x38f)],_0x3b1a5b=(_0x313a46,_0x4ac7d8,_0x58b03d,_0x490d71)=>{const _0x5076bc=_0x1514d5;for(var _0x42bb9a=_0x490d71>0x1?void 0x0:_0x490d71?_0x5cd9de(_0x4ac7d8,_0x58b03d):_0x4ac7d8,_0x4c6046=_0x313a46[_0x5076bc(0x38a)]-0x1,_0x42408f;_0x4c6046>=0x0;_0x4c6046--)(_0x42408f=_0x313a46[_0x4c6046])&&(_0x42bb9a=_0x42408f(_0x42bb9a)||_0x42bb9a);return _0x42bb9a;},_0x51b3f8=(_0x2c81a6,_0x4b7618)=>(_0x38aa67,_0x1e360c)=>_0x4b7618(_0x38aa67,_0x1e360c,_0x2c81a6);let _0x76dbdf=class{constructor(_0x44ac1d,_0x5baf35,_0x546db4){const _0xab927f=_0x1514d5;this['_injector']=_0x44ac1d,this[_0xab927f(0x339)]=_0x5baf35,this['_renderManagerService']=_0x546db4;}[_0x1514d5(0x295)](_0x2d57e4){const _0x5e4cb0=_0x1514d5;this[_0x5e4cb0(0x388)](_0x2d57e4),this['_transformPreviousActiveRange'](_0x2d57e4);}[_0x1514d5(0x2a3)](_0x30db52){const _0x3f34e6=_0x1514d5,{unitID:_0x3044ad}=_0x30db52,_0x8d04f4=this[_0x3f34e6(0x3c3)][_0x3f34e6(0x1c1)](_0x3044ad)['with'](_0x386d05[_0x3f34e6(0x3f3)]),{redoCache:_0x5a2521}=_0x8d04f4['getUndoRedoMutationParamsCache']();if(_0x5a2521[_0x3f34e6(0x38a)]===0x0)return _0x30db52;let _0x3f9876=_0x5a65dd[_0x3f34e6(0x2e2)][_0x3f34e6(0x3ec)](_0x30db52[_0x3f34e6(0x2c0)][0x0]);for(let _0x2b5fb6=0x0;_0x2b5fb6<_0x5a2521[_0x3f34e6(0x38a)];_0x2b5fb6++){const _0x17fa7e={'id':_0x3f34e6(0x39a),'params':{..._0x5a2521[_0x2b5fb6]}},_0xd242f4=this[_0x3f34e6(0x339)][_0x3f34e6(0x3a5)](_0x3f9876,_0x17fa7e,!0x1);if(_0x5d1d3f['isTransformMutationFailure'](_0xd242f4))throw _0xd242f4[_0x3f34e6(0x438)];_0x3f9876=_0xd242f4[_0x3f34e6(0x275)];}return{..._0x5a65dd[_0x3f34e6(0x2e2)][_0x3f34e6(0x3ec)](_0x30db52),'mutations':[_0x3f9876]};}[_0x1514d5(0x388)](_0x3e01cd){const _0x50048a=_0x1514d5,{unitID:_0x2dd54c}=_0x3e01cd,_0xe23fcb=this[_0x50048a(0x3c3)]['getRenderById'](_0x2dd54c)[_0x50048a(0x415)](_0x386d05['DocIMEInputManagerService']),{undoCache:_0x1abec0,redoCache:_0x3a1f3c}=_0xe23fcb['getUndoRedoMutationParamsCache']();if(_0x1abec0[_0x50048a(0x38a)]===0x0||_0x3a1f3c[_0x50048a(0x38a)]===0x0)return;const _0x487c7b=[],_0x3dc5da=[];let _0x2e81a2=_0x5a65dd[_0x50048a(0x2e2)][_0x50048a(0x3ec)](_0x3e01cd[_0x50048a(0x2c0)][0x0]),_0x443368=_0x5a65dd[_0x50048a(0x2e2)][_0x50048a(0x3ec)](_0x3e01cd['mutations'][0x0]);for(let _0x541ac6=_0x1abec0[_0x50048a(0x38a)]-0x1;_0x541ac6>=0x0;_0x541ac6--){const _0x1cb1ad={'id':_0x50048a(0x39a),'params':{..._0x1abec0[_0x541ac6]}},_0x35caad={'id':_0x50048a(0x39a),'params':{..._0x3a1f3c[_0x541ac6]}},_0x489d50=this[_0x50048a(0x339)][_0x50048a(0x3a5)](_0x2e81a2,_0x1cb1ad,!0x1),_0x301af9=this[_0x50048a(0x339)]['transformMutation'](_0x443368,_0x35caad,!0x1);if(_0x5d1d3f[_0x50048a(0x1d9)](_0x489d50))throw _0x489d50[_0x50048a(0x438)];if(_0x5d1d3f['isTransformMutationFailure'](_0x301af9))throw _0x301af9['error'];_0x487c7b['unshift'](_0x489d50['m2Prime'][_0x50048a(0x32e)]),_0x3dc5da['unshift'](_0x301af9[_0x50048a(0x1c7)][_0x50048a(0x32e)]),_0x2e81a2=_0x489d50['m1Prime'],_0x443368=_0x301af9['m1Prime'];}_0xe23fcb[_0x50048a(0x3ab)]({'undoCache':_0x487c7b,'redoCache':_0x3dc5da});}[_0x1514d5(0x222)](_0x3925b9){const _0x5816a8=_0x1514d5,{unitID:_0x369b70}=_0x3925b9,_0x312f61=this[_0x5816a8(0x3c3)][_0x5816a8(0x1c1)](_0x369b70)[_0x5816a8(0x415)](_0x386d05['DocIMEInputManagerService']),_0x530b85=_0x312f61[_0x5816a8(0x2ac)]();if(_0x530b85==null)return;const _0x2a1431=[{'id':_0x5816a8(0x39a),'params':{'unitId':_0x3925b9[_0x5816a8(0x27f)],'actions':null,'textRanges':[_0x530b85]}}],_0x17cded=this['_transformService']['transformMutationsWithChangeset'](_0x3925b9,_0x2a1431);if(!_0x5d1d3f[_0x5816a8(0x225)](_0x17cded))throw _0x17cded[_0x5816a8(0x438)];const _0x33fd1f=_0x17cded[_0x5816a8(0x1c7)][0x0][_0x5816a8(0x32e)][_0x5816a8(0x27b)];Array[_0x5816a8(0x37b)](_0x33fd1f)&&_0x33fd1f[_0x5816a8(0x38a)]&&_0x312f61[_0x5816a8(0x248)](_0x33fd1f[0x0]);}};_0x76dbdf=_0x3b1a5b([_0x51b3f8(0x0,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd[_0x1514d5(0x411)])),_0x51b3f8(0x1,_0x5d1d3f[_0x1514d5(0x26a)]),_0x51b3f8(0x2,_0x44102d['IRenderManagerService'])],_0x76dbdf);var _0x4dbc02=Object[_0x1514d5(0x38f)],_0x2baea6=(_0x152269,_0x343325,_0x258654,_0x349701)=>{const _0x51167e=_0x1514d5;for(var _0x521ab=_0x349701>0x1?void 0x0:_0x349701?_0x4dbc02(_0x343325,_0x258654):_0x343325,_0x53142a=_0x152269[_0x51167e(0x38a)]-0x1,_0x46effc;_0x53142a>=0x0;_0x53142a--)(_0x46effc=_0x152269[_0x53142a])&&(_0x521ab=_0x46effc(_0x521ab)||_0x521ab);return _0x521ab;},_0x4ad42f=(_0x56c04c,_0x737a08)=>(_0x28bbe8,_0x4c5cab)=>_0x737a08(_0x28bbe8,_0x4c5cab,_0x56c04c);let _0xa76683=class{constructor(_0x432568,_0x3cec31,_0x5429a1){const _0x8d4fd8=_0x1514d5;this[_0x8d4fd8(0x441)]=_0x432568,this['_transformService']=_0x3cec31,this[_0x8d4fd8(0x2a1)]=_0x5429a1;}[_0x1514d5(0x418)](_0xafa9c4){const _0x4fe0ec=_0x1514d5;this[_0x4fe0ec(0x440)](_0xafa9c4);}[_0x1514d5(0x2a3)](_0x21a8ea){const _0x15fb68=_0x1514d5,{unitID:_0x15a15b}=_0x21a8ea,{collaboration:_0x21ef3b}=this[_0x15fb68(0x2a1)][_0x15fb68(0x3fb)](_0x15a15b);if(_0x21ef3b['length']===0x0)return _0x21a8ea;let _0x5e351f=_0x5a65dd[_0x15fb68(0x2e2)][_0x15fb68(0x3ec)](_0x21a8ea['mutations'][0x0]);for(let _0x31104d=0x0;_0x31104d<_0x21ef3b[_0x15fb68(0x38a)];_0x31104d++){const _0x544fe5={'id':_0x15fb68(0x39a),'params':{'unitId':_0x21ef3b[_0x31104d]['unitId'],..._0x21ef3b[_0x31104d][_0x15fb68(0x3ad)]}},_0x267c3a=this[_0x15fb68(0x339)][_0x15fb68(0x3a5)](_0x5e351f,_0x544fe5,!0x1);if(_0x5d1d3f[_0x15fb68(0x1d9)](_0x267c3a))throw _0x267c3a[_0x15fb68(0x438)];_0x5e351f=_0x267c3a['m1Prime'];}return{..._0x5a65dd[_0x15fb68(0x2e2)][_0x15fb68(0x3ec)](_0x21a8ea),'mutations':[_0x5e351f]};}[_0x1514d5(0x440)](_0x523ab2){const _0x47661f=_0x1514d5,{unitID:_0x53dcf6}=_0x523ab2,{history:_0x556a40,collaboration:_0x447cfa}=this[_0x47661f(0x2a1)][_0x47661f(0x3fb)](_0x53dcf6);if(_0x556a40['length']===0x0&&_0x447cfa[_0x47661f(0x38a)]===0x0)return;const _0x241182=[],_0x5b2628=[];let _0x5e1c7c=_0x5a65dd['Tools'][_0x47661f(0x3ec)](_0x523ab2['mutations'][0x0]),_0x220192=_0x5a65dd['Tools']['deepClone'](_0x523ab2[_0x47661f(0x2c0)][0x0]);for(let _0x4741ae=_0x556a40[_0x47661f(0x38a)]-0x1;_0x4741ae>=0x0;_0x4741ae--){const _0x3d7d14={'id':_0x47661f(0x39a),'params':{'unitId':_0x556a40[_0x4741ae][_0x47661f(0x32b)],..._0x556a40[_0x4741ae][_0x47661f(0x2e9)]}},_0x566f3b={'id':_0x47661f(0x39a),'params':{'unitId':_0x556a40[_0x4741ae]['unitId'],..._0x556a40[_0x4741ae][_0x47661f(0x3ad)]}},_0x4f594f=this[_0x47661f(0x339)][_0x47661f(0x3a5)](_0x5e1c7c,_0x3d7d14,!0x1),_0x4b244e=this['_transformService'][_0x47661f(0x3a5)](_0x220192,_0x566f3b,!0x1);if(_0x5d1d3f[_0x47661f(0x1d9)](_0x4f594f))throw _0x4f594f[_0x47661f(0x438)];if(_0x5d1d3f[_0x47661f(0x1d9)](_0x4b244e))throw _0x4b244e[_0x47661f(0x438)];_0x241182[_0x47661f(0x305)]({..._0x556a40[_0x4741ae],'undoState':_0x4f594f['m2Prime'][_0x47661f(0x32e)],'redoState':_0x4b244e[_0x47661f(0x1c7)][_0x47661f(0x32e)]}),_0x5e1c7c=_0x4f594f[_0x47661f(0x275)],_0x220192=_0x4b244e[_0x47661f(0x275)];}_0x5e1c7c=_0x5a65dd[_0x47661f(0x2e2)]['deepClone'](_0x523ab2['mutations'][0x0]),_0x220192=_0x5a65dd['Tools']['deepClone'](_0x523ab2['mutations'][0x0]);for(let _0x341ebc=_0x447cfa[_0x47661f(0x38a)]-0x1;_0x341ebc>=0x0;_0x341ebc--){const _0x502d84={'id':_0x47661f(0x39a),'params':{'unitId':_0x447cfa[_0x341ebc]['unitId'],..._0x447cfa[_0x341ebc]['undoState']}},_0x4269b1={'id':_0x47661f(0x39a),'params':{'unitId':_0x447cfa[_0x341ebc]['unitId'],..._0x447cfa[_0x341ebc]['redoState']}},_0x263930=this[_0x47661f(0x339)]['transformMutation'](_0x5e1c7c,_0x502d84,!0x1),_0x5a17a1=this[_0x47661f(0x339)][_0x47661f(0x3a5)](_0x220192,_0x4269b1,!0x1);if(_0x5d1d3f[_0x47661f(0x1d9)](_0x263930))throw _0x263930[_0x47661f(0x438)];if(_0x5d1d3f['isTransformMutationFailure'](_0x5a17a1))throw _0x5a17a1[_0x47661f(0x438)];_0x5b2628[_0x47661f(0x305)]({..._0x447cfa[_0x341ebc],'undoState':_0x263930[_0x47661f(0x1c7)]['params'],'redoState':_0x5a17a1[_0x47661f(0x1c7)][_0x47661f(0x32e)]}),_0x5e1c7c=_0x263930[_0x47661f(0x275)],_0x220192=_0x5a17a1[_0x47661f(0x275)];}this[_0x47661f(0x2a1)][_0x47661f(0x3b6)](_0x53dcf6,{'history':_0x241182,'collaboration':_0x5b2628});}};_0xa76683=_0x2baea6([_0x4ad42f(0x0,_0x5a65dd['Inject'](_0x5a65dd[_0x1514d5(0x411)])),_0x4ad42f(0x1,_0x5d1d3f['ITransformService']),_0x4ad42f(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x386d05[_0x1514d5(0x2ff)]))],_0xa76683);var _0xe7c187=Object[_0x1514d5(0x38f)],_0x231629=(_0x737759,_0x1496c6,_0x3df5f5,_0x2144a6)=>{for(var _0x324114=_0x2144a6>0x1?void 0x0:_0x2144a6?_0xe7c187(_0x1496c6,_0x3df5f5):_0x1496c6,_0x4129a2=_0x737759['length']-0x1,_0x5a0883;_0x4129a2>=0x0;_0x4129a2--)(_0x5a0883=_0x737759[_0x4129a2])&&(_0x324114=_0x5a0883(_0x324114)||_0x324114);return _0x324114;},_0x2dc645=(_0x39764b,_0x2906be)=>(_0x554eab,_0x4e971e)=>_0x2906be(_0x554eab,_0x4e971e,_0x39764b);let _0x286791=class{constructor(_0x2234fd,_0x13259c){const _0x262064=_0x1514d5;this[_0x262064(0x441)]=_0x2234fd,this[_0x262064(0x339)]=_0x13259c;}[_0x1514d5(0x34b)](_0x4816f4){const _0xf532b2=_0x1514d5;var _0x4e4dd6;const _0x4c8d62=this['_injector'][_0xf532b2(0x1de)](_0x46119b[_0xf532b2(0x32a)]),_0x907270=(_0x4e4dd6=_0x4c8d62[_0xf532b2(0x32d)]())!=null?_0x4e4dd6:[];if(_0x907270[_0xf532b2(0x38a)]===0x0)return;const _0x105c8c=_0x4816f4[_0xf532b2(0x27f)],_0x344717=[{'id':_0xf532b2(0x39a),'params':{'unitId':_0x105c8c,'actions':null,'textRanges':_0x907270}}],_0x2952c3=this[_0xf532b2(0x339)][_0xf532b2(0x408)](_0x4816f4,_0x344717);if(!_0x5d1d3f[_0xf532b2(0x225)](_0x2952c3))throw _0x2952c3[_0xf532b2(0x438)];const _0x3231f1=_0x2952c3[_0xf532b2(0x1c7)][0x0][_0xf532b2(0x32e)][_0xf532b2(0x27b)];Array[_0xf532b2(0x37b)](_0x3231f1)&&_0x3231f1[_0xf532b2(0x38a)]&&_0x4c8d62['replaceDocRanges'](_0x3231f1,{'unitId':_0x105c8c,'subUnitId':_0x105c8c},!0x1);}};_0x286791=_0x231629([_0x2dc645(0x0,_0x5a65dd[_0x1514d5(0x426)](_0x5a65dd['Injector'])),_0x2dc645(0x1,_0x5d1d3f[_0x1514d5(0x26a)])],_0x286791);var _0x76fe6f=Object[_0x1514d5(0x38f)],_0x200b29=(_0xa6aae3,_0x4b5c3f,_0x418dcc,_0xddf54b)=>{const _0x2458e6=_0x1514d5;for(var _0x26790a=_0xddf54b>0x1?void 0x0:_0xddf54b?_0x76fe6f(_0x4b5c3f,_0x418dcc):_0x4b5c3f,_0x73802e=_0xa6aae3[_0x2458e6(0x38a)]-0x1,_0x191da1;_0x73802e>=0x0;_0x73802e--)(_0x191da1=_0xa6aae3[_0x73802e])&&(_0x26790a=_0x191da1(_0x26790a)||_0x26790a);return _0x26790a;},_0x2371c0=(_0x1cd755,_0x586fa9)=>(_0x1b6045,_0xd8e7e7)=>_0x586fa9(_0x1b6045,_0xd8e7e7,_0x1cd755);let _0x349c7b=class extends _0x5a65dd[_0x1514d5(0x201)]{constructor(_0xd573ab,_0x159aec,_0x5c1450,_0x180fb3,_0xe7c7df,_0x3c59f0,_0x42a202,_0x2fbb83){const _0x47788e=_0x1514d5;super(),_0x4bb569(this,'_status$',new _0x1746b4[(_0x47788e(0x2dc))](_0x52adaf[_0x47788e(0x213)]['NOT_COLLAB'])),(this[_0x47788e(0x2a1)]=_0xd573ab,this[_0x47788e(0x252)]=_0x159aec,this[_0x47788e(0x348)]=_0x5c1450,this['_docTransformStateCacheService']=_0x180fb3,this[_0x47788e(0x234)]=_0xe7c7df,this['_docSyncEditingCollabCursorService']=_0x3c59f0,this[_0x47788e(0x21b)]=_0x42a202,this[_0x47788e(0x361)]=_0x2fbb83,this[_0x47788e(0x2b4)]());}[_0x1514d5(0x2b4)](){const _0x2bebad=_0x1514d5;this[_0x2bebad(0x2c6)](this[_0x2bebad(0x252)][_0x2bebad(0x412)][_0x2bebad(0x241)](_0x3e891c=>{const _0x41ba3b=_0x2bebad,_0x7e17cd=this[_0x41ba3b(0x2a1)][_0x41ba3b(0x406)][_0x41ba3b(0x241)](_0x18e123=>{const _0x41707d=_0x41ba3b;if(_0x18e123==null)return;const {unitId:_0x5f5bc5,redoState:_0x3c2000,commandId:_0x5f5826}=_0x18e123;if(_0x5f5bc5!==_0x3e891c[_0x41707d(0x27f)])return;const _0x395b19={'id':_0x5f5826,'type':_0x5a65dd[_0x41707d(0x34a)][_0x41707d(0x26e)],'params':{'unitId':_0x5f5bc5,'actions':_0x3c2000[_0x41707d(0x258)],'textRanges':null}};_0x3e891c[_0x41707d(0x2d0)](_0x395b19);});if(_0x3e891c['disposeWithMe'](_0x7e17cd),_0x3e891c instanceof _0x52adaf[_0x41ba3b(0x204)]){const _0xcd8ff0={'onTransformIME':_0x494553=>this[_0x41ba3b(0x348)][_0x41ba3b(0x295)](_0x494553),'onTransformState':_0x134fbc=>this[_0x41ba3b(0x3f5)][_0x41ba3b(0x418)](_0x134fbc),'onTransformSelections':_0x5b00eb=>this[_0x41ba3b(0x234)][_0x41ba3b(0x34b)](_0x5b00eb),'onSyncEditingCollabCursor':_0x1b539a=>this[_0x41ba3b(0x2cd)][_0x41ba3b(0x307)](_0x1b539a),'onTransformRemoteChangesetByIMECache':_0x13b176=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x13b176),'onTransformRemoteChangesetByStateCache':_0x2dc6ad=>this['_docTransformStateCacheService'][_0x41ba3b(0x2a3)](_0x2dc6ad)};_0x3e891c[_0x41ba3b(0x23e)](_0xcd8ff0);}}));}};_0x349c7b=_0x200b29([_0x2371c0(0x0,_0x5a65dd[_0x1514d5(0x426)](_0x386d05[_0x1514d5(0x2ff)])),_0x2371c0(0x1,_0x5a65dd[_0x1514d5(0x426)](_0x52adaf[_0x1514d5(0x285)])),_0x2371c0(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x76dbdf)),_0x2371c0(0x3,_0x5a65dd['Inject'](_0xa76683)),_0x2371c0(0x4,_0x5a65dd[_0x1514d5(0x426)](_0x286791)),_0x2371c0(0x5,_0x5a65dd[_0x1514d5(0x426)](_0xe2a3f4)),_0x2371c0(0x6,_0x494249[_0x1514d5(0x3fd)]),_0x2371c0(0x7,_0x5a65dd['Inject'](_0x5a65dd[_0x1514d5(0x38c)]))],_0x349c7b);var _0x5c2668=Object['getOwnPropertyDescriptor'],_0x2cc822=(_0x499b4c,_0x4f5e5c,_0x2cfbba,_0x526dd7)=>{for(var _0xb281d9=_0x526dd7>0x1?void 0x0:_0x526dd7?_0x5c2668(_0x4f5e5c,_0x2cfbba):_0x4f5e5c,_0x2d1b7a=_0x499b4c['length']-0x1,_0x1c4b54;_0x2d1b7a>=0x0;_0x2d1b7a--)(_0x1c4b54=_0x499b4c[_0x2d1b7a])&&(_0xb281d9=_0x1c4b54(_0xb281d9)||_0xb281d9);return _0xb281d9;},_0x1d23ee=(_0x4a8337,_0x4af876)=>(_0x1eb1f5,_0x1ac785)=>_0x4af876(_0x1eb1f5,_0x1ac785,_0x4a8337);let _0x4ae540=class extends _0x5a65dd[_0x1514d5(0x201)]{constructor(_0x227ff2,_0x4aaece,_0x7073ac){const _0xe6301=_0x1514d5;super(),_0x4bb569(this,_0xe6301(0x26f),new Map()),_0x4bb569(this,_0xe6301(0x219),new Map()),_0x4bb569(this,_0xe6301(0x1d3),!0x1),(this['_configService']=_0x227ff2,this[_0xe6301(0x2ce)]=_0x4aaece,this[_0xe6301(0x34e)]=_0x7073ac);}[_0x1514d5(0x3fe)](){const _0x497f5b=_0x1514d5;this[_0x497f5b(0x1d3)]=!0x0;}['enableLocalCache'](){const _0x4e550f=_0x1514d5;this[_0x4e550f(0x1d3)]=!0x1;}get['saveTaskMap'](){const _0x4e2143=_0x1514d5;return this[_0x4e2143(0x219)];}[_0x1514d5(0x3a1)](){const _0x167f7d=_0x1514d5;this[_0x167f7d(0x362)]()[_0x167f7d(0x309)](()=>super[_0x167f7d(0x3a1)]());}async[_0x1514d5(0x1d1)](_0x474c22){const _0x268ac2=_0x1514d5;return this[_0x268ac2(0x1d3)]?null:this[_0x268ac2(0x2ce)][_0x268ac2(0x2a5)](_0x52adaf[_0x268ac2(0x428)](_0x474c22));}async[_0x1514d5(0x31f)](_0x47e1bd,_0x236ccd){const _0x40a3a1=_0x1514d5;return!!this[_0x40a3a1(0x2ce)][_0x40a3a1(0x22c)](_0x47e1bd,_0x236ccd);}[_0x1514d5(0x31d)](_0x5ae4aa,_0x438b29,_0x30dc1a,_0x133dd0){const _0x867fb7=_0x1514d5,_0x82df74=this[_0x867fb7(0x34e)]['getCurrentRevOfUnit'](_0x5ae4aa);this[_0x867fb7(0x26f)][_0x867fb7(0x43b)](_0x5ae4aa,{'unitID':_0x5ae4aa,'type':_0x438b29,'awaitingChangeset':_0x30dc1a,'mutations':_0x133dd0,'rev':_0x82df74}),this[_0x867fb7(0x219)]['has'](_0x5ae4aa)||this[_0x867fb7(0x2ad)](_0x5ae4aa);}[_0x1514d5(0x2ad)](_0x4281e4){const _0x2efc42=_0x1514d5,_0x492fb8=this[_0x2efc42(0x1b1)]();_0x492fb8===0x0?this['_saveCache'](_0x4281e4):this['_saveTaskMap'][_0x2efc42(0x43b)](_0x4281e4,setTimeout(()=>this[_0x2efc42(0x21c)](_0x4281e4),_0x492fb8));}['_getSaveTimeout'](){const _0xfc73c7=_0x1514d5;var _0x203fc1;return(_0x203fc1=this[_0xfc73c7(0x3d0)][_0xfc73c7(0x42b)](_0x52adaf[_0xfc73c7(0x3d4)]))!=null?_0x203fc1:_0x52adaf[_0xfc73c7(0x19d)];}[_0x1514d5(0x21c)](_0x280097){const _0x11aeb1=_0x1514d5,_0x511fd0=this[_0x11aeb1(0x219)][_0x11aeb1(0x1de)](_0x280097);return _0x511fd0!==void 0x0&&window[_0x11aeb1(0x29f)](_0x511fd0),this[_0x11aeb1(0x2ce)][_0x11aeb1(0x22c)](_0x52adaf['getLocalCacheKey'](_0x280097),this[_0x11aeb1(0x26f)]['get'](_0x280097))[_0x11aeb1(0x309)](()=>this['_saveTaskMap'][_0x11aeb1(0x3d5)](_0x280097));}async[_0x1514d5(0x362)](){const _0xc15b9b=[];this['_saveTaskMap']['forEach']((_0x1c0d6e,_0x1db0b9)=>{const _0x2720c9=_0x35c7;window[_0x2720c9(0x29f)](_0x1c0d6e),_0xc15b9b[_0x2720c9(0x43f)](this[_0x2720c9(0x21c)](_0x1db0b9)[_0x2720c9(0x309)](()=>{const _0x4be8c4=_0x2720c9;this[_0x4be8c4(0x219)][_0x4be8c4(0x3d5)](_0x1db0b9);}));}),await Promise['all'](_0xc15b9b);}};_0x4ae540=_0x2cc822([_0x1d23ee(0x0,_0x5a65dd[_0x1514d5(0x2ec)]),_0x1d23ee(0x1,_0x5a65dd['ILocalStorageService']),_0x1d23ee(0x2,_0x5a65dd[_0x1514d5(0x426)](_0x5d1d3f[_0x1514d5(0x3f6)]))],_0x4ae540);class _0x4cdf33 extends _0x5a65dd[_0x1514d5(0x262)]{constructor(){const _0x57fc5d=_0x1514d5;super(),_0x4bb569(this,'urlChange$'),this['urlChange$']=_0x1746b4[_0x57fc5d(0x28d)](window,_0x57fc5d(0x3a0))[_0x57fc5d(0x243)](_0x1746b4[_0x57fc5d(0x29b)](this[_0x57fc5d(0x2f6)]),_0x1746b4['shareReplay'](0x1),_0x1746b4[_0x57fc5d(0x3eb)](void 0x0));}[_0x1514d5(0x1e6)](_0x2f68ae,_0x28e4c3,_0x3e52f7=!0x1){const _0x5d58d2=_0x1514d5,_0x461dd6=new URL(window[_0x5d58d2(0x3e5)][_0x5d58d2(0x294)]);_0x461dd6['searchParams'][_0x5d58d2(0x43b)](_0x2f68ae,_0x28e4c3),_0x3e52f7?window[_0x5d58d2(0x2fb)][_0x5d58d2(0x378)]('','',_0x461dd6['toString']()):window['history'][_0x5d58d2(0x1bb)]('','',_0x461dd6['toString']());}[_0x1514d5(0x37c)](_0x1bfce1,_0x3cd51b=!0x1){const _0x479998=_0x1514d5,_0x1c8c26=new URL(window[_0x479998(0x3e5)][_0x479998(0x294)]);_0x1c8c26['searchParams'][_0x479998(0x3d5)](_0x1bfce1),_0x3cd51b?window[_0x479998(0x2fb)][_0x479998(0x378)]('','',_0x1c8c26[_0x479998(0x207)]()):window[_0x479998(0x2fb)][_0x479998(0x1bb)]('','',_0x1c8c26[_0x479998(0x207)]());}[_0x1514d5(0x373)](_0x262a72){const _0x1ccb52=_0x1514d5;var _0x351323;return(_0x351323=new URL(window[_0x1ccb52(0x3e5)][_0x1ccb52(0x294)])[_0x1ccb52(0x1f6)][_0x1ccb52(0x1de)](_0x262a72))!=null?_0x351323:void 0x0;}}var _0x57e3cb=Object[_0x1514d5(0x2ca)],_0x389f89=Object['getOwnPropertyDescriptor'],_0xd2073d=(_0x4529ba,_0x5e2f96,_0x45042a)=>_0x5e2f96 in _0x4529ba?_0x57e3cb(_0x4529ba,_0x5e2f96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45042a}):_0x4529ba[_0x5e2f96]=_0x45042a,_0x3f8fba=(_0x1a7b9f,_0x10fa0b,_0x19dfa3,_0x2573c0)=>{for(var _0x143194=_0x2573c0>0x1?void 0x0:_0x2573c0?_0x389f89(_0x10fa0b,_0x19dfa3):_0x10fa0b,_0x5b148e=_0x1a7b9f['length']-0x1,_0x1b179a;_0x5b148e>=0x0;_0x5b148e--)(_0x1b179a=_0x1a7b9f[_0x5b148e])&&(_0x143194=_0x1b179a(_0x143194)||_0x143194);return _0x143194;},_0x38f397=(_0x548b30,_0xf452e1)=>(_0x1922a4,_0x108f79)=>_0xf452e1(_0x1922a4,_0x108f79,_0x548b30),_0x2941a4=(_0x3027e5,_0x18cab0,_0x22d85a)=>_0xd2073d(_0x3027e5,_0x18cab0+'',_0x22d85a);const _0x4401fe=_0x1514d5(0x303);_0xd1fb5f[_0x1514d5(0x389)]=class extends _0x5a65dd['Plugin']{constructor(_0x11eb93=_0x10ccc2,_0x317492,_0x1a4c05,_0x2c62d6){const _0x16d610=_0x1514d5;super(),this[_0x16d610(0x205)]=_0x11eb93,this[_0x16d610(0x3c3)]=_0x317492,this[_0x16d610(0x441)]=_0x1a4c05,this[_0x16d610(0x3d0)]=_0x2c62d6;const {..._0x94189d}=_0x5a65dd[_0x16d610(0x29d)]({},_0x10ccc2,this[_0x16d610(0x205)]);this[_0x16d610(0x3d0)][_0x16d610(0x26c)](_0x460cc0,_0x94189d);}['onStarting'](){const _0x2b33f8=_0x1514d5;this[_0x2b33f8(0x1ed)](),this['_initDependencies']();}[_0x1514d5(0x2c1)](){const _0x221a33=_0x1514d5;this[_0x221a33(0x2f4)]();}[_0x1514d5(0x1ed)](){const _0x15ac91=_0x1514d5;var _0x41720e;const _0x15a2d8=[[_0x4bcdf4],[_0x286791],[_0x76dbdf],[_0xa76683],[_0xe2a3f4],[_0x541a67,{'useClass':_0x4cdf33}],[_0x14d874[_0x15ac91(0x1f7)],{'useClass':_0x14d874[_0x15ac91(0x3be)]}],[_0x52adaf[_0x15ac91(0x216)],{'useClass':_0x4ae540}],[_0xd1fb5f['DesktopCollaborationStatusDisplayController']],[_0x349c7b],[_0x14659f],[_0x3272e2],[_0x49ff98],[_0xd1fb5f['CollaborationDataLoaderController']]];_0x5a65dd[_0x15ac91(0x33f)](this['_injector'],_0x5a65dd['mergeOverrideWithDependencies'](_0x15a2d8,(_0x41720e=this[_0x15ac91(0x205)])==null?void 0x0:_0x41720e[_0x15ac91(0x22a)]));}['_registerRenderDependencies'](){const _0x1473e0=_0x1514d5;this[_0x1473e0(0x2c6)](this[_0x1473e0(0x3c3)][_0x1473e0(0x2e3)](_0x5a65dd[_0x1473e0(0x401)][_0x1473e0(0x286)],[_0x2ca2cf])),this['disposeWithMe'](this[_0x1473e0(0x3c3)][_0x1473e0(0x2e3)](_0x5a65dd[_0x1473e0(0x401)]['UNIVER_SHEET'],[_0x285bdd]));}['_initDependencies'](){const _0x2e0ebb=_0x1514d5;_0x5a65dd[_0x2e0ebb(0x3b9)](this[_0x2e0ebb(0x441)],[[_0x3272e2],[_0xd1fb5f[_0x2e0ebb(0x239)]],[_0x349c7b],[_0x14659f],[_0xd1fb5f[_0x2e0ebb(0x272)]]]);}},_0x2941a4(_0xd1fb5f[_0x1514d5(0x389)],_0x1514d5(0x1ff),_0x4401fe),_0xd1fb5f[_0x1514d5(0x389)]=_0x3f8fba([_0x5a65dd[_0x1514d5(0x31c)](_0x52adaf['UniverCollaborationClientPlugin']),_0x38f397(0x1,_0x44102d[_0x1514d5(0x1d8)]),_0x38f397(0x2,_0x5a65dd['Inject'](_0x5a65dd['Injector'])),_0x38f397(0x3,_0x5a65dd[_0x1514d5(0x2ec)])],_0xd1fb5f[_0x1514d5(0x389)]);var _0x28286d=Object[_0x1514d5(0x38f)],_0xe00c34=(_0x4a2248,_0x5598b0,_0x171225,_0x136574)=>{for(var _0x196fb9=_0x136574>0x1?void 0x0:_0x136574?_0x28286d(_0x5598b0,_0x171225):_0x5598b0,_0x27957c=_0x4a2248['length']-0x1,_0x419bea;_0x27957c>=0x0;_0x27957c--)(_0x419bea=_0x4a2248[_0x27957c])&&(_0x196fb9=_0x419bea(_0x196fb9)||_0x196fb9);return _0x196fb9;},_0x3df405=(_0x4b7b34,_0xfd0ac)=>(_0x53b0d7,_0x178031)=>_0xfd0ac(_0x53b0d7,_0x178031,_0x4b7b34);_0xd1fb5f[_0x1514d5(0x202)]=class extends _0x52adaf[_0x1514d5(0x41b)]{constructor(_0x51832c,_0x58d28b,_0x5955ee,_0x1606e2,_0x4acfaf){super(_0x51832c,_0x58d28b,_0x5955ee,_0x1606e2,_0x4acfaf);}async[_0x1514d5(0x1ef)](_0x56ec1a){const _0x55894b=_0x1514d5,_0x1f95f2=await this['_getSessionTicket'](),_0x3cacd4=this[_0x55894b(0x1f0)](_0x56ec1a,_0x1f95f2);return this[_0x55894b(0x20a)](_0x3cacd4);}[_0x1514d5(0x1f0)](_0x443d22,_0x1fb0b8){const _0x492bf7=_0x1514d5,_0x8bd448=typeof window>'u'?new URL(_0x443d22):new URL(_0x443d22,window[_0x492bf7(0x3e5)][_0x492bf7(0x287)]);_0x8bd448['searchParams']['set']('sessionTicket',_0x1fb0b8);const _0x665f40=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x492bf7(0x3e5)][_0x492bf7(0x36f)]);return _0x665f40[_0x492bf7(0x1de)](_0x492bf7(0x319))&&_0x8bd448[_0x492bf7(0x1f6)][_0x492bf7(0x43b)]('runId',_0x665f40['get'](_0x492bf7(0x319))),_0x8bd448['toString']();}async[_0x1514d5(0x327)](){const _0x46eac1=_0x1514d5;var _0x1ff23e,_0x27d945,_0x42e405;const _0x3140d9=this['_configService'][_0x46eac1(0x42b)](_0x52adaf[_0x46eac1(0x2c5)]),_0x3cd937=(_0x1ff23e=_0x3140d9==null?void 0x0:_0x3140d9['wsSessionTicketUrl'])!=null?_0x1ff23e:_0x52adaf[_0x46eac1(0x23f)];return(_0x42e405=(_0x27d945=(await this[_0x46eac1(0x1ba)][_0x46eac1(0x1de)](_0x3cd937,{'headers':{'Content-Type':_0x46eac1(0x297)}}))[_0x46eac1(0x1dd)])==null?void 0x0:_0x27d945[_0x46eac1(0x26b)])!=null?_0x42e405:'';}},_0xd1fb5f[_0x1514d5(0x202)]=_0xe00c34([_0x3df405(0x0,_0x5a65dd['Inject'](_0x5a65dd['Injector'])),_0x3df405(0x1,_0x5a65dd['Inject'](_0x14d874[_0x1514d5(0x350)])),_0x3df405(0x2,_0x5a65dd[_0x1514d5(0x2ec)]),_0x3df405(0x3,_0x5a65dd[_0x1514d5(0x357)]),_0x3df405(0x4,_0x5d1d3f[_0x1514d5(0x379)])],_0xd1fb5f[_0x1514d5(0x202)]);const _0x1d5f2a=0x7530,_0xe9bdb1=_0x1514d5(0x429);class _0x22c259 extends _0x5a65dd[_0x1514d5(0x201)]{constructor(){const _0x6911da=_0x1514d5;super(),_0x4bb569(this,_0x6911da(0x254),_0x5a65dd[_0x6911da(0x1a2)]()),_0x4bb569(this,_0x6911da(0x3f2),new Set()),_0x4bb569(this,_0x6911da(0x206),new Map()),_0x4bb569(this,'_heartbeatTimer',null),_0x4bb569(this,_0x6911da(0x1c3),new Map()),_0x4bb569(this,_0x6911da(0x403),new Map()),this[_0x6911da(0x2ae)]();}[_0x1514d5(0x3a1)](){const _0x2b7606=_0x1514d5;super['dispose'](),this[_0x2b7606(0x1c3)][_0x2b7606(0x1bd)]((_0x52fdf1,_0x546f3c)=>this[_0x2b7606(0x1a0)](_0x546f3c)),this['_heartbeatTimer']&&window[_0x2b7606(0x35a)](this[_0x2b7606(0x38b)]);}['getUnitStatus$'](_0x4d1ea5){const _0x32638c=_0x1514d5;return this[_0x32638c(0x43c)](_0x4d1ea5)[_0x32638c(0x243)](_0x1746b4[_0x32638c(0x2d3)]());}['editingUnit'](_0x44f94d){const _0xd1d39c=_0x1514d5;this[_0xd1d39c(0x3f2)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xd1d39c(0x3f2)][_0xd1d39c(0x1e0)](_0x44f94d),this[_0xd1d39c(0x326)]({'type':0x0,'memberID':this[_0xd1d39c(0x254)],'unitIDs':[_0x44f94d],'isForwarded':!0x1});}[_0x1514d5(0x1c2)](_0x373f22){const _0x150406=_0x1514d5;this[_0x150406(0x3f2)][_0x150406(0x3d5)](_0x373f22),this[_0x150406(0x3f2)][_0x150406(0x324)]===0x0&&this[_0x150406(0x38b)]&&window[_0x150406(0x35a)](this[_0x150406(0x38b)]);}[_0x1514d5(0x2ae)](){const _0x2c8fd2=_0x1514d5;this[_0x2c8fd2(0x2c6)](_0x5a65dd[_0x2c8fd2(0x217)](_0x1746b4[_0x2c8fd2(0x28d)](window,'storage')[_0x2c8fd2(0x241)](_0x490a64=>{const _0xa529cd=_0x2c8fd2;if(_0x490a64[_0xa529cd(0x41d)]!==_0xe9bdb1||!_0x490a64[_0xa529cd(0x244)])return;const _0x1503c6=JSON[_0xa529cd(0x28f)](_0x490a64[_0xa529cd(0x244)]);this['_handleEvent'](_0x1503c6);}))),window[_0x2c8fd2(0x276)](_0x2c8fd2(0x23c),()=>this[_0x2c8fd2(0x326)]({'type':0x1,'memberID':this[_0x2c8fd2(0x254)],'unitIDs':Array[_0x2c8fd2(0x351)](this[_0x2c8fd2(0x3f2)])}));}['_handleEvent'](_0x277c0c){const _0x2dd0f9=_0x1514d5;switch(_0x277c0c[_0x2dd0f9(0x2d2)]){case 0x0:this[_0x2dd0f9(0x421)](_0x277c0c);break;case 0x1:this[_0x2dd0f9(0x20b)](_0x277c0c);break;case 0x2:this['_handleHeartbeatEvent'](_0x277c0c);break;}}[_0x1514d5(0x421)](_0xf4ea7){const _0x57e950=_0x1514d5,{unitIDs:_0x1160ae,memberID:_0x12b5c7,isForwarded:_0x151528}=_0xf4ea7;_0x1160ae[_0x57e950(0x1bd)](_0x494850=>{const _0x287d9b=_0x57e950;if(!_0x151528&&this['_unitOnClients']['has'](_0x494850)&&this[_0x287d9b(0x43c)](_0x494850)[_0x287d9b(0x1cb)](_0x52adaf['UnitStatus'][_0x287d9b(0x21f)]),!this[_0x287d9b(0x206)]['has'](_0x494850)||!this[_0x287d9b(0x206)][_0x287d9b(0x1de)](_0x494850)[_0x287d9b(0x3cd)](_0x12b5c7)){const _0x80e296=this[_0x287d9b(0x206)]['get'](_0x494850)||new Set();_0x80e296[_0x287d9b(0x1e0)](_0x12b5c7),this['_unitOnClients'][_0x287d9b(0x43b)](_0x494850,_0x80e296),this['_scheduleClearOtherTimer'](_0x12b5c7);}}),_0x151528||this['_send']({'type':0x0,'memberID':this[_0x57e950(0x254)],'unitIDs':[...this[_0x57e950(0x3f2)]],'isForwarded':!0x0});}[_0x1514d5(0x402)](_0x1e429b){const _0x2ca9b5=_0x1514d5;this['_removeClearOtherTimer'](_0x1e429b);const _0x2b88d4=window[_0x2ca9b5(0x1b0)](()=>{const _0x9a236f=_0x2ca9b5;this[_0x9a236f(0x206)]['forEach'](_0x44e151=>{const _0x37074f=_0x9a236f;_0x44e151[_0x37074f(0x3d5)](_0x1e429b);});},_0x1d5f2a*0x2);this[_0x2ca9b5(0x1c3)][_0x2ca9b5(0x43b)](_0x1e429b,_0x2b88d4);}['_removeClearOtherTimer'](_0xc6e8f4){const _0x507241=_0x1514d5;if(this[_0x507241(0x1c3)][_0x507241(0x3cd)](_0xc6e8f4)){const _0x34a29e=this[_0x507241(0x1c3)][_0x507241(0x1de)](_0xc6e8f4);_0x34a29e&&window[_0x507241(0x29f)](_0x34a29e),this[_0x507241(0x1c3)][_0x507241(0x43b)](_0xc6e8f4,null);}}[_0x1514d5(0x20b)](_0x1fb9ae){const _0x4881e9=_0x1514d5,{memberID:_0x47f536,unitIDs:_0x3ef518}=_0x1fb9ae;_0x3ef518[_0x4881e9(0x1bd)](_0x7f11c1=>{const _0x1fee03=_0x4881e9;var _0x52a334;const _0x36eaae=this[_0x1fee03(0x206)][_0x1fee03(0x1de)](_0x7f11c1);_0x36eaae&&(_0x36eaae[_0x1fee03(0x3d5)](_0x47f536),(_0x52a334=this['_ensureSubject'](_0x7f11c1))==null||_0x52a334[_0x1fee03(0x1cb)](_0x36eaae[_0x1fee03(0x324)]===0x0?_0x52adaf[_0x1fee03(0x1b2)][_0x1fee03(0x233)]:_0x52adaf[_0x1fee03(0x1b2)][_0x1fee03(0x21f)]));}),this['_removeClearOtherTimer'](_0x47f536);}['_handleHeartbeatEvent'](_0x5f18c4){const _0x2ef487=_0x1514d5;this[_0x2ef487(0x402)](_0x5f18c4[_0x2ef487(0x1a4)]);}[_0x1514d5(0x326)](_0x383aff){const _0x2c39ce=_0x1514d5;localStorage[_0x2c39ce(0x22c)](_0xe9bdb1,JSON[_0x2c39ce(0x364)](_0x383aff));}[_0x1514d5(0x1ca)](){const _0x687338=_0x1514d5;this['_heartbeatTimer']=window[_0x687338(0x306)](()=>{const _0x39ca68=_0x687338;this[_0x39ca68(0x326)]({'type':0x2,'memberID':this[_0x39ca68(0x254)]});},_0x1d5f2a);}[_0x1514d5(0x43c)](_0x5195e4){const _0x45980f=_0x1514d5;return this['_unitStatus'][_0x45980f(0x3cd)](_0x5195e4)||this[_0x45980f(0x403)]['set'](_0x5195e4,new _0x1746b4[(_0x45980f(0x2dc))](_0x52adaf[_0x45980f(0x1b2)][_0x45980f(0x233)])),this[_0x45980f(0x403)][_0x45980f(0x1de)](_0x5195e4);}}var _0x37580a=(_0x142524=>(_0x142524[_0x142524[_0x1514d5(0x322)]=0x0]=_0x1514d5(0x322),_0x142524[_0x142524['OK']=0x1]='OK',_0x142524[_0x142524[_0x1514d5(0x24c)]=0x2]=_0x1514d5(0x24c),_0x142524[_0x142524['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x142524[_0x142524[_0x1514d5(0x430)]=0x4]=_0x1514d5(0x430),_0x142524[_0x142524[_0x1514d5(0x317)]=0x5]=_0x1514d5(0x317),_0x142524[_0x142524[_0x1514d5(0x290)]=0x6]='ALREADY_EXISTS',_0x142524[_0x142524['INVALID_ARGUMENT']=0x7]=_0x1514d5(0x409),_0x142524[_0x142524[_0x1514d5(0x399)]=0x8]=_0x1514d5(0x399),_0x142524[_0x142524[_0x1514d5(0x2cf)]=0x9]='COMPLETION_FINISHED',_0x142524[_0x142524['LOGIN_FAILED']=0xa]=_0x1514d5(0x1c6),_0x142524[_0x142524[_0x1514d5(0x230)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x142524[_0x142524[_0x1514d5(0x255)]=0xc]=_0x1514d5(0x255),_0x142524[_0x142524[_0x1514d5(0x3b0)]=0xd]=_0x1514d5(0x3b0),_0x142524[_0x142524['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x142524[_0x142524['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1514d5(0x3c1),_0x142524[_0x142524[_0x1514d5(0x41f)]=0x1771]=_0x1514d5(0x41f),_0x142524[_0x142524[_0x1514d5(0x273)]=0x1772]=_0x1514d5(0x273),_0x142524[_0x142524[_0x1514d5(0x288)]=0x1773]=_0x1514d5(0x288),_0x142524[_0x142524[_0x1514d5(0x3bd)]=0x1b59]=_0x1514d5(0x3bd),_0x142524[_0x142524[_0x1514d5(0x280)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x142524[_0x142524['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1514d5(0x3b5),_0x142524[_0x142524['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1514d5(0x215),_0x142524[_0x142524[_0x1514d5(0x25c)]=0x1b5d]=_0x1514d5(0x25c),_0x142524[_0x142524[_0x1514d5(0x383)]=0x1f41]=_0x1514d5(0x383),_0x142524[_0x142524[_0x1514d5(0x1c9)]=0x2329]=_0x1514d5(0x1c9),_0x142524[_0x142524[_0x1514d5(0x1e2)]=0x232a]=_0x1514d5(0x1e2),_0x142524[_0x142524[_0x1514d5(0x211)]=0x232b]=_0x1514d5(0x211),_0x142524[_0x142524[_0x1514d5(0x3b1)]=0x232c]=_0x1514d5(0x3b1),_0x142524[_0x142524[_0x1514d5(0x29c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x142524[_0x142524[_0x1514d5(0x2dd)]=0x2711]=_0x1514d5(0x2dd),_0x142524[_0x142524[_0x1514d5(0x1ab)]=0x2712]=_0x1514d5(0x1ab),_0x142524[_0x142524[_0x1514d5(0x23b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x142524[_0x142524[_0x1514d5(0x40b)]=0x2714]=_0x1514d5(0x40b),_0x142524[_0x142524[_0x1514d5(0x33b)]=0x271a]=_0x1514d5(0x33b),_0x142524[_0x142524[_0x1514d5(0x259)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x142524[_0x142524[_0x1514d5(0x341)]=0x271c]=_0x1514d5(0x341),_0x142524[_0x142524['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1514d5(0x3c9),_0x142524[_0x142524['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1514d5(0x3f9),_0x142524[_0x142524[_0x1514d5(0x2df)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x142524[_0x142524[_0x1514d5(0x1ce)]=0x2720]=_0x1514d5(0x1ce),_0x142524[_0x142524[_0x1514d5(0x2e6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x142524[_0x142524['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x142524[_0x142524[_0x1514d5(0x40f)]=0x2ee2]=_0x1514d5(0x40f),_0x142524[_0x142524[_0x1514d5(0x416)]=0x2ee3]=_0x1514d5(0x416),_0x142524[_0x142524[_0x1514d5(0x22f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x142524[_0x142524['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1514d5(0x318),_0x142524[_0x142524[_0x1514d5(0x3d1)]=0x32c9]=_0x1514d5(0x3d1),_0x142524[_0x142524['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x142524[_0x142524[_0x1514d5(0x39f)]=0x32cb]=_0x1514d5(0x39f),_0x142524[_0x142524[_0x1514d5(0x384)]=-0x1]=_0x1514d5(0x384),_0x142524))(_0x37580a||{}),_0x45a09f=Object[_0x1514d5(0x38f)],_0x431c50=(_0x20313e,_0x45110f,_0x47e5ba,_0x258de4)=>{for(var _0x1d9571=_0x258de4>0x1?void 0x0:_0x258de4?_0x45a09f(_0x45110f,_0x47e5ba):_0x45110f,_0x42bc88=_0x20313e['length']-0x1,_0x5dbd93;_0x42bc88>=0x0;_0x42bc88--)(_0x5dbd93=_0x20313e[_0x42bc88])&&(_0x1d9571=_0x5dbd93(_0x1d9571)||_0x1d9571);return _0x1d9571;},_0x346899=(_0x2dd4e6,_0x506ef9)=>(_0x4fc628,_0x4a31b8)=>_0x506ef9(_0x4fc628,_0x4a31b8,_0x2dd4e6);_0xd1fb5f[_0x1514d5(0x25b)]=class extends _0x5a65dd['Disposable']{constructor(_0x458baa,_0x4564c9,_0x4a250f){const _0x171149=_0x1514d5;super(),this[_0x171149(0x3f4)]=_0x458baa,this[_0x171149(0x1ba)]=_0x4564c9,this[_0x171149(0x3d0)]=_0x4a250f;}async[_0x1514d5(0x2e4)](_0x44235e,_0x5a998b,_0x19e736,..._0x1a385f){const _0x4735e1=_0x1514d5;var _0x24608f,_0x1f2525,_0x3a00bc,_0x4acd83;const _0x5676c9=this[_0x4735e1(0x3f4)]['getFocusedUnit']();if(!_0x5676c9)throw new Error(_0x4735e1(0x310));const _0x349ca3=((_0x24608f=this[_0x4735e1(0x3d0)][_0x4735e1(0x42b)](_0x52adaf['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x24608f:_0x52adaf[_0x4735e1(0x434)])+'/'+_0x44235e+_0x4735e1(0x316)+_0x5a998b,_0x5c93d1=new URL(window[_0x4735e1(0x3e5)][_0x4735e1(0x294)]),_0x1a5f7b={'scriptId':_0x44235e,'runId':(_0x1f2525=_0x5c93d1[_0x4735e1(0x1f6)]['get'](_0x4735e1(0x319)))!=null?_0x1f2525:'','function':_0x5a998b,'unitId':_0x5676c9['getUnitId'](),'argsOfFunction':JSON[_0x4735e1(0x364)](_0x1a385f),'invokeId':(_0x3a00bc=_0x19e736[_0x4735e1(0x1d5)])!=null?_0x3a00bc:'','executionId':(_0x4acd83=_0x19e736['executionId'])!=null?_0x4acd83:''};try{const _0x56adf0=await this['_httpService']['post'](_0x349ca3,{'body':_0x1a5f7b});return _0x56adf0['body']['error']&&_0x56adf0[_0x4735e1(0x1dd)][_0x4735e1(0x438)]['code']!==_0x37580a['OK']?'Failed':_0x56adf0[_0x4735e1(0x1dd)][_0x4735e1(0x419)];}catch{return _0x4735e1(0x38e);}}},_0xd1fb5f['RemoteUniscriptService']=_0x431c50([_0x346899(0x0,_0x5a65dd[_0x1514d5(0x36a)]),_0x346899(0x1,_0x5a65dd[_0x1514d5(0x426)](_0x14d874[_0x1514d5(0x350)])),_0x346899(0x2,_0x5a65dd[_0x1514d5(0x2ec)])],_0xd1fb5f[_0x1514d5(0x25b)]),_0xd1fb5f['CollaborationStatusDisplay']=_0x108a78,_0xd1fb5f['IURLService']=_0x541a67,_0xd1fb5f[_0x1514d5(0x342)]=_0x4a3a6e,_0xd1fb5f[_0x1514d5(0x336)]=_0x22c259,_0xd1fb5f[_0x1514d5(0x200)]=_0x4cdf33,Object[_0x1514d5(0x2ca)](_0xd1fb5f,Symbol[_0x1514d5(0x375)],{'value':_0x1514d5(0x2f1)});}));function _0x35c7(_0x10da31,_0x364323){const _0x538c6c=_0x538c();return _0x35c7=function(_0x35c7e2,_0x2ffa1e){_0x35c7e2=_0x35c7e2-0x19d;let _0x11f0b7=_0x538c6c[_0x35c7e2];return _0x11f0b7;},_0x35c7(_0x10da31,_0x364323);}function _0x538c(){const _0x324bdb=['MessageType','Failed','getOwnPropertyDescriptor','_docSkeletonManagerService','text','requireSession','_logService','VIEW_MAIN','UniverDocs','registerBeforeClose','skeleton','_collabSessionService','TOO_MANY_REQUESTS','doc.mutation.rich-text-editing','RichTextEditingMutation','MoveRangeCommandId','makeDirty','_memberService','EMAIL_HAS_BEEN_BOUND','popstate','dispose','InsertRowCommandId','useRef','getCollabEntity$','transformMutation','getCollabCursors$','toRgbString','getFocusedUnit','startsWith','_status$','setUndoRedoMutationParamsCache','UniverEngineFormula','redoState','FromArray','fillText','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_EXPORT_SIZE_EXCEEDED','none','loadUnit','cursorInfo','APPLY_REVISION_CONFILICT','setStateCache','_startDocCollabCursor','registerRefRange','touchDependencies','init','debounce','forwardRef','APPLY_REJECT','WebSocketService','Optional','createElement','CHANGESET_REVISION_CONFILICT','ColorKit','_renderManagerService','_draw','getAncestorScale','on-line-icon','findNodePositionByCharIndex','exports','YUUMI_ALL_TABLES_IS_INVALID','whenReady','_toggleOnline','@univerjs/docs','has','random','_drawTextRange','_configService','WECHAT_HAS_BEEN_BOUND','getUnitId','_initCommandExecutedListener','LOCAL_CACHE_INTERVAL_KEY','delete','CollaborationSessionService','bottom','setAlpha','@univerjs/ui','show','SessionStatus','sheetID','arc','collabCursorState$','handleInsertCol','lineTo','_hover','collabStatus.offline','_drawAnchor','react','location','fromEventSubject','_hideTimer','_colorIndex','_document','registerComponent','mapTo','deepClone','subUnitId','call','closePath','1em','RemoveColCommandId','_selfUnitIDs','DocIMEInputManagerService','_instanceService','_docTransformStateCacheService','RevisionService','propertyIsEnumerable','_themeService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','eventID','getStateCache','Error','IMessageService','disableLocalCache','currentSkeleton$','subunit','UniverInstanceType','_scheduleClearOtherTimer','_unitStatus','unsubscribe','clipPath','docStateChange$','_urlService','transformMutationsWithChangeset','INVALID_ARGUMENT','onPointerMove$','YUUMI_SUBSCRIPTION_NOT_FOUND','COLORS','div','apply','INVALID_INVITE_CODE','debug','Injector','entityInit$','combineLatest','on-line-icon_clip0_910_349','with','INVITE_CODE_REQUIRED','map','transformStateCache','result','_getMergeRange','CollaborationSocketService','onMouseMove','key','_docSkeleton','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/engine-formula','_handleJoinEvent','_getScale','currentColor','getCurrent','Warning','Inject','IDocClipboardService','getLocalCacheKey','ACTIVE_UNIT_EVENT_CHANNEL','roomMembers$','getConfig','ICommandService','InsertRangeMoveRightCommandId','OnLineIcon','fillStyle','NOT_FOUND','fillRule','engine','jsxs','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-rect-range-','getActiveSheet','subscribeEvent','error','defs','collaboration.single-unit.warning','set','_ensureSubject','values','measureText','push','_transformHistoryAndStateStack','_injector','_labelPosition','getTypeOfUnitDisposed$','getCoordByCell','LOCAL_CACHE_INTERVAL','_initStatusComponent','UniverRpc','_removeClearOtherTimer','ranges','generateRandomId','NodePositionConvertToCursor','memberID','SOCKET_FAILED_RETRY','_range','Rect','collabStatus.notCollab','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','purple.300','YUUMI_URL_COL_OUT_OF_RANGE','use','OTHER_CLIENT_EDITING','roomMembers','uni.network.url-service','setTimeout','_getSaveTimeout','UnitStatus','getTypeOfUnitAdded$','getValue','CONFLICT','fill','className','useDependency','getRelativeToViewportCoord','_httpService','pushState','resize','forEach','_anchorDot','onTransformChange$','useCallback','getRenderById','disposeUnit','_clearOtherTimers','RefRangeService','cursorInfo$','LOGIN_FAILED','m2Prime','session.collaboration-timeout','LICENSE_MAX_UNITS_EXCEEDED','_scheduleHeartbeat','next','_commandService','SetSelectionsOperation','YUUMI_CONNECTOR_URL_NOT_FOUND','_getAnchorBounding','_name','loadOfflineData','_uiPartsService','_disabled','focused$','invokeId','_drawRectRange','CollaborationUIEventService','IRenderManagerService','isTransformMutationFailure','_updateLocalCursor','save','_render','body','get','UniverSheetsUi','add','rxjs/operators','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INotificationService','@univerjs/core','defIds','setParam','_toggleOffline','round','includes','debounceTime','complete','_docClipboardService','_registerDependencies','handleDeleteRangeMoveUp','createSocket','_createSocketURL','DeleteRangeMoveUpCommandId','function','275lCWOaK','646224tncKTx','_imageIoService','searchParams','ISocketService','_colorAssignService','onCommandExecuted','tag','628092dUOrei','_shapes','IRemoteInstanceService','IUIPartsService','pluginName','WebURLService','Disposable','BrowserCollaborationSocketService','getSkeleton','DocCollaborationEntity','_config','_unitOnClients','toString','font','asObservable','_doCreateSocket','_handleLeaveEvent','children','USERS_LEAVE','split','UniverEngineRender','clsx','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','CollaborationStatus','CLOSE_ROOM','APPLY_PERMISSION_DENIED','ILocalCacheService','toDisposable','_assignedColors','_saveTaskMap','currentTheme$','_messageService','_saveCache','_updateSubUnitFromURLParams','@univerjs/docs-ui','OTHER_CLIENTS_EDITING','_dataLoaderService','getOffsetConfig','_transformPreviousActiveRange','onPointerLeave$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','switchMap','SetTextSelectionsOperation','url(#$1','min','override','idSuffix','setItem','_initResize','_cursorShapes','USER_NOT_INVITED_CODE','MOBILE_VERIFY_CODE_MISMATCH','_initEvent','_anchor','NO_OTHER_CLIENTS_EDITING','_docTransformSelectionsService','jsx','_cursorInfo$','SHEET_VIEWPORT_KEY','collabStatus.syncing','DesktopCollaborationStatusDisplayController','_removeCollabCursors','YUUMI_RATE_OVER_LIMIT','unload','MemberService','addHandlerCallback','DEFAULT_WS_SESSION_TICKET_URL','collab-text-anchor-','subscribe','selection','pipe','newValue','sheetId','transform','hide','setActiveRange','_onCursorUpdate','_updateURLWithCurrentState','getColor','INTERNAL_ERROR','_onCursorDelete','createInstance','PERMISSION_DENIED','getSheetBySheetId','UniverDrawing','_collaborationController','M0\x200H16V16H0z','_id','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','HEADER_MENU','SheetsSelectionsService','actions','YUUMI_ASYNCIO_CANCELLED','6684Alyitf','RemoteUniscriptService','APPLY_DUPLICATED','trim','27lWQlRq','assignAColorForMemberID','getRangePointData','ONLINE','RxDisposable','UPDATE_CURSOR','React','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','off-line-icon_clip0_910_343','774uDkOOi','session.will-retry','AWAITING','ITransformService','ticket','setConfig','handleInsertRow','MUTATION','_cachedData','black','univer-mr-2\x20univer-flex\x20univer-text-xl','CollaborationDataLoaderController','SNAPSHOT_HAS_BEEN_REMOVED','_startSheetCollabCursor','m1Prime','addEventListener','getCurrentUnitForType','reconnect','source','_session','textRanges','collaboration-client-ui.config','startColumn','Tooltip','unitID','APPLY_NON_SEQUENTIAL_REVISION','moveTo','url(#off-line-icon_clip0_910_343)','_syncEditingCollabCursorService','_roomMembers$','CollaborationController','UNIVER_DOC','origin','ENSURE_SNAPSHOT_EXECUTION','UniverProCollaborationClientUi','onPointerEnter$','saveImage','collabStatus.fetchMiss','fromEvent','unit','parse','ALREADY_EXISTS','color','_cursors','filter','href','transformIMECache','concat','application/json','EffectRefRangId','replace','DisposableCollection','takeUntil','LICENSE_DISTRO_REJECTED','merge','handleDeleteRangeMoveLeft','clearTimeout','selections','_docStateChangeManagerService','getUnhiddenWorksheets','transformRemoteChangeset','createIdentifier','getItem','drawWith','path','_eventUnsubscribe','column','getSheetId','ThemeService','getActiveRange','_scheduleSaving','_init','IImageIoService','getColorFromTheme','4767TrcryN','UniverProCollaborationClient','0\x200\x2017\x2016','_initEntityListener','Subject','_notificationService','range','assign','DOC_RANGE_TYPE','svg','amd','UNIVER_SHEET','name','event$','OffLineIcon','mutations','onRendered','isActive','collabStatus.conflict','@univerjs/drawing','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','disposeWithMe','serializeRangeWithSheet','_beforeCloseService','289682KagLyo','defineProperty','_entities','_setupBeforeClosingHandler','_docSyncEditingCollabCursorService','_localStorageService','COMPLETION_FINISHED','onLocalMutation','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','type','distinctUntilChanged','Unknown\x20user','getCurrentSelections','IBeforeCloseService','handleIRemoveRow','urlChange$','height','@univerjs-pro/collaboration-client','getMember','BehaviorSubject','YUUMI_UNABLE_LOAD_URL','object','YUUMI_AI_RUN_FAILED','substring','row','Tools','registerRenderModule','runOnServer','collab-text-range-','PY_RUNTIME_SCRIPT_ERROR','6BiJkCs','_entityInit$','undoState','activeSheet$','top','IConfigService','_collaborationUIEventService','red.300','mask','getVpScrollXYInfoByPosToVp','Module','find','_univerInstanceService','_registerRenderDependencies','displayName','dispose$','runRefRangeMutations','UniverDocsUi','RegularPolygon','status$','history','operators','string','url(#on-line-icon_clip0_910_349)','DocStateChangeManagerService','_hovered','Vector2','collaboration.closeRoom','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','extend','unshift','setInterval','syncEditingCollabCursor','transformByState','then','_refreshCollabCursors','width','JOIN_ROOM_FAILED','symbol','collaboration-client.offline-data-not-saved','handleInsertRangeMoveDown','[RemoteUniscriptService]:\x20no\x20focused\x20unit','244985nrzcil','5DNDjtg','prototype','flatMap','indexOf','/run/','UNAUTHENTICATED','INVITE_CODE_ALREADY_BOUND','runId','getOwnPropertySymbols','executeCommand','DependentOn','updateOfflineData','_getSheetObject','saveOfflineData','_textBubble','_initStatusListener','UNDEFINED','_scene','size','_backgroundColor','_send','_getSessionTicket','sessionStatus$','_localCacheService','DocSelectionManagerService','unitId','InsertColCommandId','getDocRanges','params','_color','PENDING','_collabCursorState$','...','_setupSubUnitSync','_cursor','NOT_COLLAB','WebBrowserSingleActiveUnitService','_updateCollabCursors','connectInjector','_transformService','http://www.w3.org/2000/svg','YUUMI_NO_CUBOID_FOR_QUESTION','addObject','xlink:href','endRow','registerDependencies','_context','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SheetCollabCursorShape','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/sheets-ui','DeleteRangeMoveLeftCommandId','getMemberID','RemoveRowCommandId','_docTransformIMECacheService','RECT','CommandType','transformSelections','addObjects','some','_revisionService','Shape','HTTPService','from','FETCH_MISS','CollaborationEvent','current','colorChannel1','handleIRemoveCol','ILogService','evenodd','#FFF','clearInterval','permission.title','_sheetSkeletonManagerService','max','OFFLINE','send','endColumn','_localeService','exhaustSavingTask','setShapeProps','stringify','SetWorksheetActivateCommand','22790HBsPRf','_lastPointer','_refRangeService','_collabCursorController','IUniverInstanceService','Workbook','CollaborationUIEventId','SYNCED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','search','@univerjs/engine-render','getViewport','TEXT_RANGE_LAYER_INDEX','getParam','@univerjs/rpc','toStringTag','permission.content','@univerjs/design','replaceState','ISnapshotServerService','imageSourceType','isArray','removeParam','TEXT','data','restore','@univerjs/sheets','SheetSkeletonManagerService','_online','CONNECTOR_DATA_TOO_LARGE','UNRECOGNIZED','UniverNetwork','icon','attrs','_transformUndoRedoStack','UniverCollaborationClientUIPlugin','length','_heartbeatTimer','LocaleService'];_0x538c=function(){return _0x324bdb;};return _0x538c();}
|