@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507121606 → 0.9.2-nightly.202507141607

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/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 _0x186c(){const _0x44ddc1=['_initEvent','handleInsertRow','OTHER_CLIENT_EDITING','getOwnPropertyDescriptor','LICENSE_DISTRO_REJECTED','delete','_scene','_heartbeatTimer','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','IURLService','DocSkeletonManagerService','SetWorksheetActivateCommand','APPLY_REJECT','TEXT_RANGE_LAYER_INDEX','SNAPSHOT_INVALID_SNAPSHOT','getCellPositionByOffset','Warning','pushState','@univerjs-pro/collaboration','transformStateCache','getColorFromTheme','width','resize','ILogService','_render','docStateChange$','use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ILocalStorageService','RxDisposable','_memberService','handleIRemoveRow','_entities','unitId','collabStatus.syncing','1em','defineProperty','isArray','jsx','column','_commandService','subunit','getLocalCacheKey','_labelPosition','TRANSFORM_CHANGE_OBSERVABLE_TYPE','FETCH_MISS','round','apply','UniverDocs','sessionStatus$','_backgroundColor','_getSheetObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/run/','ITransformService','RECT','cursorInfo','status$','handleIRemoveCol','UniverProCollaborationClient','assign','JOIN_ROOM_FAILED','beginPath','endColumn','_handleEvent','DocCollaborationEntity','_injector','sessionTicket','extend','_saveTaskMap','Subject','_uiPartsService','disposeWithMe','replace','has','5533056OhJqpS','UniverDocsUi','createInstance','_syncEditingCollabCursorService','invokeId','switchMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createSocketURL','debounce','Inject','_getSaveTimeout','DataLoaderService','getAncestorScale','roomMembers','UniverSheetsUi','UniverProCollaborationClientUi','MessageType','registerRefRange','runOnServer','redoState','rxjs/operators','_shapes','_toggleOffline','transform','RichTextEditingMutation','replaceDocRanges','ticket','sheetId','getMember','removeParam','Rect','ThemeService','setStateCache','isActive','_handleHeartbeatEvent','getMemberID','toRgbString','getDocRanges','univerjs-icon\x20univerjs-icon-','children','serializeRangeWithSheet','_cursorInfo$','getSheetBySheetId','useCallback','DesktopCollaborationStatusDisplayController','moveTo','setShapeProps','rgba(255,\x20255,\x20255,\x200.01)','RemoveColCommandId','findNodePositionByCharIndex','connectInjector','612429zysFEg','PERMISSION_DENIED','transformIMECache','debug','find','SessionStatus','_handleJoinEvent','_lastPointer','Unknown\x20user','source','getUnhiddenWorksheets','skeleton','_updateLocalCursor','DocStateChangeManagerService','CollaborationSessionService','setActiveRange','forwardRef','SetSelectionsOperation','collabCursorState$','_urlService','backgroundColor','row','CONNECTOR_DATA_TOO_LARGE','Shape','_collaborationUIEventService','LOGIN_FAILED','SYNCED','send','_session','_draw','_initCommandExecutedListener','searchParams','executionId','_refRangeService','addClipboardHook','_hovered','_saveCache','_onCursorUpdate','loadOfflineData','substring','_disabled','getConfig','_localStorageService','toStringTag','APPLY_REVISION_CONFILICT','amd','_docSkeletonManagerService','indexOf','getCurrentSelections','EffectRefRangId','_textBubble','collab-rect-range-','InsertRangeMoveDownCommandId','_range','assignAColorForMemberID','IDocClipboardService','clearInterval','history','RevisionService','Failed','_selfUnitIDs','wsSessionTicketUrl','mask','_context','setConfig','complete','_removeCollabCursors','registerComponent','CLOSE_ROOM','rxjs','asObservable','unitID','INTERNAL_ERROR','fill','60bdpjWb','reconnect','_getScale','UniverCollaborationClientUIPlugin','TOO_MANY_REQUESTS','collab-client.tooltip.reconnect','currentTheme$','url(#$1','UNDEFINED','@univerjs/drawing','_getSessionTicket','show','session.connection-failed','RefRangeService','UPDATE_CURSOR','UniverNetwork','_doCreateSocket','Workbook','defs','_anchorDot','dispose','some','unsubscribe','storage','href','APPLY_PERMISSION_DENIED','handleMoveRange','getTypeOfUnitDisposed$','fromEventSubject','color','UniverEngineRender','current','CollaborationController','_getAnchorBounding','throttleTime','saveOfflineData','BrowserCollaborationSocketService','session.will-retry','InsertRangeMoveRightCommandId','attrs','whenReady','params','runId','_docTransformSelectionsService','path','error','collab-text-range-','newValue','labelPosition','idSuffix','USERS_LEAVE','_collabCursorController','_httpService','className','min','UnitStatus','CONFLICT','TEXT','@univerjs/design','COMPLETION_FINISHED','getFocusedUnit','selections','_anchor','lineTo','IUIPartsService','getSheetId','UniverEngineFormula','getUnitId','getViewport','_registerRenderDependencies','_initResize','_drawAnchor','body','push','SheetCollabCursorShape','_toggleOnline','string','react','_updateSubUnitFromURLParams','executeCommand','getCurrentRevOfUnit','SetDocZoomRatioOperation','_beforeCloseService','_name','getCoordByCell','pipe','roomMembers$','Vector2','collaboration.closeRoom','_unitStatus','event$','7qkfvPm','_color','AWAITING','onRendered','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_docSkeleton','NOT_COLLAB','NodePositionConvertToCursor','_assignedColors','PENDING','range','RemoveRowCommandId','onPointerEnter$','UNIVER_SHEET','OTHER_CLIENTS_EDITING','onPointerMove$','location','eventID','USER_NOT_INVITED_CODE','collabStatus.notCollab','176520vJOCBp','_startSheetCollabCursor','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutation','MOBILE_VERIFY_CODE_MISMATCH','Disposable','7445728sUWZdO','_localCacheService','_handleHover','_send','handleInsertRangeMoveDown','SheetSkeletonManagerService','_transformHistoryAndStateStack','getColor','ICommandService','_collaborationController','symbol','_configService','hasOwnProperty','CollaborationUIEventService','YUUMI_RATE_OVER_LIMIT','jsxs','actions','YUUMI_ALL_TABLES_IS_INVALID','useDependency','react/jsx-runtime','#FFF','APPLY_NON_SEQUENTIAL_REVISION','deserializeRangeWithSheet','_transformPreviousActiveRange','drawWith','univer-flex\x20univer-items-center','collaboration.single-unit.warning','none','post','memberID','_cursorShapes','getOwnPropertySymbols','HEADER_MENU','PY_RUNTIME_SCRIPT_ERROR','startColumn','@univerjs/engine-render','handleDeleteRangeMoveLeft','http://www.w3.org/2000/svg','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','NOT_FOUND','textRanges','setParam','collabStatus.offline','ISnapshotServerService','@univerjs/docs','takeUntil','transformSelections','DocIMEInputManagerService','UniverUi','m1Prime','YUUMI_UNABLE_LOAD_URL','YUUMI_ASYNCIO_CANCELLED','CHANGESET_REVISION_CONFILICT','UNRECOGNIZED','_removeClearOtherTimer','_transformService','type','evenodd','disableLocalCache','from','@univerjs/core','unshift','split','addEventListener','getRenderById','deepClone','YUUMI_NO_CUBOID_FOR_QUESTION','_colorIndex','debounceTime','runRefRangeMutations','fillStyle','_ensureSubject','_handleLeaveEvent','_unitOnClients','setItem','defIds','urlChange$','url(#off-line-icon_clip0_910_343)','LICENSE_IMPORT_SIZE_EXCEEDED','MoveRangeCommandId','fillText','collab-text-anchor-','OnLineIcon','m2Prime','@univerjs-pro/collaboration-client','@univerjs/network','_collabCursorState$','LOCAL_CACHE_INTERVAL_KEY','_onRefRangeChange','includes','onLocalMutation','enableLocalCache','_docStateChangeManagerService','propertyIsEnumerable','createSocket','pluginName','RemoteUniscriptService','_initStatusListener','cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','hovered','add','getCollabCursors$','height','UNIVER_DOC','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','subUnitId','_docClipboardService','entries','shareReplay','_status$','collabStatus.conflict','OffLineIcon','get','white','registerRenderModule','React','updateOfflineData','COLORS','_updateCollabCursors','translate(.97)','_scheduleHeartbeat','setTimeout','_eventUnsubscribe','UniverRpc','forEach','ENSURE_SNAPSHOT_EXECUTION','loadUnit','_univerInstanceService','getActiveRange','ALREADY_EXISTS','SHEET_VIEWPORT_KEY','trim','2551821PPjfPm','combineLatest','_transformUndoRedoStack','mutations','restore','YUUMI_URL_COL_OUT_OF_RANGE','_imageIoService','displayName','_onCursorDelete','exhaustSavingTask','0\x200\x2017\x2016','set','CommandType','_roomMembers$','_online','_messageService','_cachedData','BuiltInUIPart','_setupSubUnitSync','off-line-icon_clip0_910_343','getTypeOfUnitAdded$','_clearOtherTimers','saveImage','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','init','[CollaborationDataLoaderController]','Tools','_id','getValue','replaceState','DeleteRangeMoveUpCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DependentOn','call','size','_initEntityListener','function','OFFLINE','createElement','handleInsertRangeMoveRight','YUUMI_SUBSCRIPTION_NOT_FOUND','4569477TueLWI','DOC_RANGE_TYPE','unload','_setupBeforeClosingHandler','black','getUnitStatus$','save','clipPath','_renderManagerService','SUBMIT_CHANGESET_TIMEOUT','green.600','ONLINE','_drawTextRange','endRow','fillRule','startRow','triggerDblclick','generateRandomId','0\x200\x2016\x2016','purple.300','getSheetObject','exports','UNAUTHENTICATED','_init','CollaborationUIEventId','541390ZxuEFx','InsertRowCommandId','MOBILE_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','UniverDesign','name','4Tacddj','Error','xlink:href','getRelativeToViewportCoord','SheetsSelectionsService','EMAIL_VERIFY_CODE_MISMATCH','map','clearTimeout','tag','_collabSessionService','APPLY_DUPLICATED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','font','contains','transformMutationsWithChangeset','DeleteRangeMoveLeftCommandId','origin','syncEditingCollabCursor','IConfigService','filter','BehaviorSubject','handleInsertCol','undoState','DocSelectionManagerService','then','LOCAL_CACHE_INTERVAL','subscribeEvent','with','_themeService','Optional','_dataLoaderService','UniverInstanceType','object','red.300','onCommandExecuted','onPointerLeave$','merge','addObjects','YUUMI_AI_RUN_FAILED','toDisposable','CollaborationStatusDisplay','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','icon','code','arc','Plugin','getItem','_cursors','measureText','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','isTransformMutationFailure','MemberService','setAlpha','@univerjs/sheets','getParam','...','createIdentifier','ColorKit','uni.network.url-service','ILocalCacheService','M0\x200H16V16H0z','IBeforeCloseService','colorChannel1','session.collaboration-timeout','text','HTTPService','off-line-icon','registerDependencies','override','_initDependencies','result','transformRemoteChangeset','fromEvent','permission.title','getStateCache','_cursor','currentColor','INVITE_CODE_HAS_BEEN_UES','ACTIVE_UNIT_EVENT_CHANNEL','isTransformMutationsWithChangesetSuccess','onMouseMove','getRangePointData','_refreshCollabCursors','url(#on-line-icon_clip0_910_349)','SOCKET_FAILED','DisposableCollection','getCurrentUnitForType','max','prototype','_drawRectRange','IUniverInstanceService','_docTransformStateCacheService','on-line-icon_clip0_910_349','data','_getMergeRange','_scheduleSaving','@univerjs/ui','key','subscribe','2CCGFJV','_startDocCollabCursor','values','_updateURLWithCurrentState','saveTaskMap','getCurrent','_entityInit$','getActiveSheet','CollaborationEvent','@univerjs/rpc','IRemoteInstanceService','isEditing','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random','flatMap','INotificationService','CollaborationDataLoaderController','WebSocketService','@univerjs/engine-formula','LICENSE_EXPORT_SIZE_EXCEEDED','next','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ISocketService','_logService','requireSession','closePath','INVALID_INVITE_CODE','unit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','currentSkeleton$','_registerDependencies','UniverDrawing','concat','length','div','WECHAT_HAS_BEEN_BOUND','_config','_hideTimer','_instanceService','mapTo','_docTransformIMECacheService','activeSheet$','CollaborationSocketService','selection','addObject','hide','toString','dispose$','editingUnit','bottom','INVITE_CODE_ALREADY_BOUND','SOCKET_FAILED_RETRY','doc.mutation.rich-text-editing','Injector','touchDependencies','INVITE_CODE_REQUIRED','_revisionService','collaboration-client-ui.config','_notificationService','ranges','CollaborationStatus','getSkeleton'];_0x186c=function(){return _0x44ddc1;};return _0x186c();}function _0x5ca7(_0x472c44,_0x2957e3){const _0x186cb6=_0x186c();return _0x5ca7=function(_0x5ca7eb,_0x87e36b){_0x5ca7eb=_0x5ca7eb-0x68;let _0x5016c2=_0x186cb6[_0x5ca7eb];return _0x5016c2;},_0x5ca7(_0x472c44,_0x2957e3);}(function(_0x20f0b1,_0xceca2e){const _0xe5e7cc=_0x5ca7,_0x2557c7=_0x20f0b1();while(!![]){try{const _0x625489=-parseInt(_0xe5e7cc(0x7d))/0x1*(-parseInt(_0xe5e7cc(0x26f))/0x2)+-parseInt(_0xe5e7cc(0x1c2))/0x3*(-parseInt(_0xe5e7cc(0x20b))/0x4)+parseInt(_0xe5e7cc(0x205))/0x5+-parseInt(_0xe5e7cc(0x137))/0x6+parseInt(_0xe5e7cc(0x122))/0x7*(parseInt(_0xe5e7cc(0x13d))/0x8)+parseInt(_0xe5e7cc(0x2f9))/0x9+-parseInt(_0xe5e7cc(0xc7))/0xa*(parseInt(_0xe5e7cc(0x1ec))/0xb);if(_0x625489===_0xceca2e)break;else _0x2557c7['push'](_0x2557c7['shift']());}catch(_0x237830){_0x2557c7['push'](_0x2557c7['shift']());}}}(_0x186c,0x91408),function(_0x1c8c04,_0x143731){const _0x11a252=_0x5ca7;typeof exports==_0x11a252(0x22b)&&typeof module<'u'?_0x143731(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==_0x11a252(0x1e7)&&define[_0x11a252(0xaa)]?define([_0x11a252(0x201),_0x11a252(0x191),_0x11a252(0x179),_0x11a252(0x160),_0x11a252(0x192),'@univerjs/docs-ui',_0x11a252(0xd0),_0x11a252(0xc2),_0x11a252(0x2c0),_0x11a252(0x169),_0x11a252(0x281),_0x11a252(0x241),_0x11a252(0x30d),'@univerjs/sheets-ui',_0x11a252(0x150),_0x11a252(0x26c),_0x11a252(0x101),_0x11a252(0x114),_0x11a252(0x278)],_0x143731):(_0x1c8c04=typeof globalThis<'u'?globalThis:_0x1c8c04||self,_0x143731(_0x1c8c04[_0x11a252(0x308)]={},_0x1c8c04[_0x11a252(0x2e9)],_0x1c8c04['UniverCore'],_0x1c8c04[_0x11a252(0xe5)],_0x1c8c04[_0x11a252(0xd6)],_0x1c8c04[_0x11a252(0x2fa)],_0x1c8c04[_0x11a252(0x28f)],_0x1c8c04[_0x11a252(0xc2)],_0x1c8c04['UniverProCollaboration'],_0x1c8c04[_0x11a252(0x2de)],_0x1c8c04[_0x11a252(0x109)],_0x1c8c04['UniverSheets'],_0x1c8c04[_0x11a252(0xc2)]['operators'],_0x1c8c04[_0x11a252(0x307)],_0x1c8c04[_0x11a252(0x1b1)],_0x1c8c04[_0x11a252(0x16d)],_0x1c8c04[_0x11a252(0x209)],_0x1c8c04[_0x11a252(0x1b1)],_0x1c8c04[_0x11a252(0x1b9)]));}(this,function(_0x35b504,_0xec9e8c,_0x1f0974,_0xea5c4f,_0x3a7cb5,_0x94087b,_0x7b892a,_0x48ec59,_0x22d2f7,_0x307c6b,_0x30ba29,_0x21292e,_0x10378c,_0x5567d2,_0x250e26,_0xc1035a,_0x35f566,_0x43f677,_0x2f31d3){'use strict';const _0x28f4a5=_0x5ca7;var _0x5295c7=Object[_0x28f4a5(0x2d2)],_0x3b229c=(_0x4f062f,_0x4c1c50,_0x5d4858)=>_0x4c1c50 in _0x4f062f?_0x5295c7(_0x4f062f,_0x4c1c50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d4858}):_0x4f062f[_0x4c1c50]=_0x5d4858,_0x264be0=(_0x1b36e3,_0x4d920a,_0x948281)=>_0x3b229c(_0x1b36e3,typeof _0x4d920a!=_0x28f4a5(0x147)?_0x4d920a+'':_0x4d920a,_0x948281),_0x32896b=Object['getOwnPropertyDescriptor'],_0x1d6c3c=(_0x1f16be,_0x3de0d5,_0x2b75cc,_0x5b585d)=>{const _0x4b75a5=_0x28f4a5;for(var _0x8bac3c=_0x5b585d>0x1?void 0x0:_0x5b585d?_0x32896b(_0x3de0d5,_0x2b75cc):_0x3de0d5,_0x52b5c1=_0x1f16be[_0x4b75a5(0x291)]-0x1,_0x4b6b5a;_0x52b5c1>=0x0;_0x52b5c1--)(_0x4b6b5a=_0x1f16be[_0x52b5c1])&&(_0x8bac3c=_0x4b6b5a(_0x8bac3c)||_0x8bac3c);return _0x8bac3c;},_0x5cd289=(_0x5a7c55,_0xe77452)=>(_0x3b54b2,_0x296a50)=>_0xe77452(_0x3b54b2,_0x296a50,_0x5a7c55);let _0x38a261=class extends _0x1f0974['RxDisposable']{constructor(_0x183bfa,_0x528acd){const _0x23b31d=_0x28f4a5;super(),this[_0x23b31d(0x1a8)]=_0x183bfa,this[_0x23b31d(0x1c8)]=_0x528acd,this['_init']();}[_0x28f4a5(0x203)](){const _0x5035b0=_0x28f4a5,_0x29298f=this;this[_0x5035b0(0x2f6)](this[_0x5035b0(0x1a8)][_0x5035b0(0x9f)]({'onBeforePasteImage':async _0x597810=>{const _0x322752=_0x5035b0,_0x2551c=await _0x29298f['_imageIoService'][_0x322752(0x1d8)](_0x597810);return _0x2551c?{'source':_0x2551c[_0x322752(0x86)],'imageSourceType':_0x2551c['imageSourceType']}:null;}}));}};_0x38a261=_0x1d6c3c([_0x5cd289(0x0,_0x94087b[_0x28f4a5(0xb4)]),_0x5cd289(0x1,_0x7b892a['IImageIoService'])],_0x38a261);const _0x373dd5=[_0x28f4a5(0x1ff),'jiqing.500',_0x28f4a5(0x1f6),_0x28f4a5(0x22c),'blue.400','yellow.400'];class _0x2d7c85 extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(){const _0x79e0eb=_0x28f4a5;super(...arguments),_0x264be0(this,'_assignedColors',new Map()),_0x264be0(this,_0x79e0eb(0x180),0x0);}[_0x28f4a5(0xb3)](_0x9edde7){const _0x5ae544=_0x28f4a5;if(this[_0x5ae544(0x12b)][_0x5ae544(0x2f8)](_0x9edde7))return this['_assignedColors'][_0x5ae544(0x1ae)](_0x9edde7);const _0x95601=_0x373dd5[this[_0x5ae544(0x180)]];return this[_0x5ae544(0x180)]=(this[_0x5ae544(0x180)]+0x1)%_0x373dd5[_0x5ae544(0x291)],this['_assignedColors'][_0x5ae544(0x1cd)](_0x9edde7,_0x95601),_0x95601;}}function _0x246988(_0x5e0b7c){let _0x18e4d4='';for(const _0x5266d5 of _0x5e0b7c){const {startOffset:_0x3ad946,endOffset:_0x2f3814,isActive:_0x3f96f8,rangeType:_0xb1e99b,segmentId:_0x71d70c,segmentPage:_0x290cf5}=_0x5266d5;_0x18e4d4['length']&&(_0x18e4d4+=','),_0x18e4d4+=_0x3ad946+':'+_0x2f3814+':'+(_0x3f96f8?'1':'0')+':'+_0xb1e99b+':'+_0x71d70c+':'+_0x290cf5;}return _0x18e4d4;}function _0x25ec0e(_0x327ea7){const _0x186ecd=_0x28f4a5,_0x350545=_0x327ea7[_0x186ecd(0x17b)](','),_0x58ba8f=[];for(const _0x1fd82e of _0x350545){const [_0x33d737,_0x49c92d,_0x5e09fd,_0x34884d,_0x121d2f,_0x105ca7]=_0x1fd82e[_0x186ecd(0x17b)](':');_0x58ba8f[_0x186ecd(0x110)]({'startOffset':Number(_0x33d737),'endOffset':Number(_0x49c92d),'collapsed':_0x33d737===_0x49c92d,'isActive':_0x5e09fd==='1','rangeType':_0x34884d===_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x100)]?_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x100)]:_0x1f0974[_0x186ecd(0x1ed)][_0x186ecd(0x2e5)],'segmentId':typeof _0x121d2f==_0x186ecd(0x113)?String(_0x121d2f):'','segmentPage':Number(_0x105ca7!=null?_0x105ca7:-0x1)});}return _0x58ba8f[_0x186ecd(0xdc)](_0xad872f=>_0xad872f[_0x186ecd(0x6b)])||(_0x58ba8f[0x0]['isActive']=!0x0),_0x58ba8f;}class _0x1ea0ec extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(){const _0x1700ec=_0x28f4a5;super(...arguments),_0x264be0(this,'_collabCursorState$',new _0x48ec59[(_0x1700ec(0x21f))](null)),_0x264be0(this,_0x1700ec(0x8f),this[_0x1700ec(0x193)]['asObservable']());}[_0x28f4a5(0x21c)](_0x9a7e47){const _0x18a5b7=_0x28f4a5,{unitID:_0x570e48,memberID:_0x4efff4,textRanges:_0x319608}=_0x9a7e47,_0x25b9e1=_0x246988(_0x319608);if(_0x25b9e1==='')return;const _0x3de416={'unitID':_0x570e48,'memberID':_0x4efff4,'selection':_0x25b9e1};this[_0x18a5b7(0x193)][_0x18a5b7(0x283)](_0x3de416);}}var _0x42b1c7=Object[_0x28f4a5(0x2b1)],_0x3156e4=(_0x5a0cfe,_0x49d0c2,_0x361188,_0x211716)=>{const _0x3e8f43=_0x28f4a5;for(var _0x1b742f=_0x211716>0x1?void 0x0:_0x211716?_0x42b1c7(_0x49d0c2,_0x361188):_0x49d0c2,_0x2b1ab3=_0x5a0cfe[_0x3e8f43(0x291)]-0x1,_0x1c4ed7;_0x2b1ab3>=0x0;_0x2b1ab3--)(_0x1c4ed7=_0x5a0cfe[_0x2b1ab3])&&(_0x1b742f=_0x1c4ed7(_0x1b742f)||_0x1b742f);return _0x1b742f;},_0x2c7f=(_0x1c2cd4,_0x23f63c)=>(_0x56a026,_0x3316ff)=>_0x23f63c(_0x56a026,_0x3316ff,_0x1c2cd4);const _0x134004=0x12c,_0x305122=0x64;let _0x3c6ed9=class extends _0x1f0974['RxDisposable']{constructor(_0x393659,_0xc6949d,_0x31465e,_0x4c795f,_0x5ea6af,_0x3e40ce,_0x31f1b6,_0x48f36d,_0x46e527){const _0x3c3cbe=_0x28f4a5;super(),_0x264be0(this,_0x3c3cbe(0x1d0),!0x1),_0x264be0(this,_0x3c3cbe(0x203),!0x1),_0x264be0(this,_0x3c3cbe(0x73),new _0x48ec59[(_0x3c3cbe(0x21f))](new Map())),_0x264be0(this,_0x3c3cbe(0x19f),this[_0x3c3cbe(0x73)][_0x3c3cbe(0xc3)]()),_0x264be0(this,_0x3c3cbe(0x1cf),new _0x48ec59[(_0x3c3cbe(0x21f))]([])),_0x264be0(this,_0x3c3cbe(0x11d),this[_0x3c3cbe(0x1cf)]['pipe'](_0x48ec59['debounceTime'](_0x134004))),_0x264be0(this,_0x3c3cbe(0x89),_0x1f0974[_0x3c3cbe(0x301)](_0xca021a=>{const _0x3f3614=_0x3c3cbe,_0x4e68f0={'eventID':_0x22d2f7['CollaborationEvent'][_0x3f3614(0xd5)],'data':{'unitID':this[_0x3f3614(0xc4)],'memberID':this['_session'][_0x3f3614(0x6d)](),'selection':_0x246988(_0xca021a)}};this[_0x3f3614(0x99)][_0x3f3614(0x98)](_0x4e68f0,this[_0x3f3614(0xc4)]);},_0x305122)),(this['unitID']=_0x393659,this['_session']=_0xc6949d,this['_injector']=_0x31465e,this['_colorAssignService']=_0x4c795f,this[_0x3c3cbe(0x2cc)]=_0x5ea6af,this[_0x3c3cbe(0x2fc)]=_0x3e40ce,this[_0x3c3cbe(0x174)]=_0x31f1b6,this[_0x3c3cbe(0x1bd)]=_0x48f36d,this[_0x3c3cbe(0x2d6)]=_0x46e527);}get['cursorInfo'](){const _0x533d14=_0x28f4a5;return this[_0x533d14(0x73)]['getValue']();}get[_0x28f4a5(0x306)](){const _0x3ce2ec=_0x28f4a5;return this[_0x3ce2ec(0x1cf)][_0x3ce2ec(0x1df)]();}[_0x28f4a5(0xdb)](){const _0x2b12a6=_0x28f4a5;super[_0x2b12a6(0xdb)](),this[_0x2b12a6(0x73)][_0x2b12a6(0x283)](new Map()),this[_0x2b12a6(0x73)]['complete'](),this[_0x2b12a6(0x1cf)]['next']([]),this[_0x2b12a6(0x1cf)][_0x2b12a6(0xbe)]();}[_0x28f4a5(0x1db)](){const _0x507f15=_0x28f4a5;this[_0x507f15(0x203)]||(this[_0x507f15(0x203)]=!0x0,this[_0x507f15(0x99)][_0x507f15(0x2df)][_0x507f15(0x11c)](_0x48ec59[_0x507f15(0x16a)](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0x4d3084=>{const _0x158134=_0x507f15;_0x4d3084===_0xec9e8c[_0x158134(0x82)][_0x158134(0x1f7)]?this[_0x158134(0x112)]():this[_0x158134(0x30f)]();}),this[_0x507f15(0x99)][_0x507f15(0x121)][_0x507f15(0x11c)](_0x48ec59['takeUntil'](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0xa8a859=>{const _0x25137d=_0x507f15,_0x1d77df=_0xa8a859['eventID'];_0x1d77df===_0x22d2f7[_0x25137d(0x277)][_0x25137d(0xd5)]&&this['_onCursorUpdate'](_0xa8a859),_0x1d77df===_0x22d2f7[_0x25137d(0x277)][_0x25137d(0xf9)]&&this['_onCursorDelete'](_0xa8a859);}),this[_0x507f15(0x2f6)](this['_commandService'][_0x507f15(0x22d)](_0x2ef599=>{const _0x1fe392=_0x507f15,_0x25a416=_0x2ef599[_0x1fe392(0xf0)];_0x25a416!=null&&this['_online']&&_0x2ef599['id']===_0x307c6b['SetTextSelectionsOperation']['id']&&_0x25a416[_0x1fe392(0x2cf)]===this[_0x1fe392(0xc4)]&&_0x25a416[_0x1fe392(0x27a)]===!0x1&&_0x25a416[_0x1fe392(0x2ab)][_0x1fe392(0x291)]>0x0&&this[_0x1fe392(0x89)](_0x25a416[_0x1fe392(0x2ab)]);})),this[_0x507f15(0x2fc)][_0x507f15(0x8f)]['pipe'](_0x48ec59['takeUntil'](this[_0x507f15(0x29f)]))[_0x507f15(0x26e)](_0x5d05d5=>{const _0x579735=_0x507f15;if((_0x5d05d5==null?void 0x0:_0x5d05d5[_0x579735(0xc4)])!==this['unitID'])return;const _0x1aa14c={'eventID':_0x22d2f7['CollaborationEvent'][_0x579735(0xd5)],'data':_0x5d05d5};this[_0x579735(0xa2)](_0x1aa14c);}),this[_0x507f15(0x2f6)](this['_commandService'][_0x507f15(0x22d)](_0x5c5c74=>{const _0x1d307a=_0x507f15;if(_0x5c5c74['params']==null)return;const _0x14861a=_0x5c5c74[_0x1d307a(0xf0)];if(_0x5c5c74['id']!==_0x307c6b[_0x1d307a(0x311)]['id']||_0x14861a['unitId']!==this[_0x1d307a(0xc4)])return;const _0x3a101d={'id':'doc.mutation.rich-text-editing','params':_0x14861a},_0x2531c2=this[_0x1d307a(0x2e6)];for(const [_0x3e342e,_0x5e06b2]of _0x2531c2){const _0x4bb07d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5e06b2['ranges']}},_0x2cc75d=this['_transformService'][_0x1d307a(0x13a)](_0x3a101d,_0x4bb07d,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0x2cc75d))throw _0x2cc75d[_0x1d307a(0xf4)];_0x2531c2['set'](_0x3e342e,{..._0x5e06b2,'ranges':_0x2cc75d['m2Prime'][_0x1d307a(0xf0)]['textRanges']});}queueMicrotask(()=>{const _0x43df2a=_0x1d307a;this['_cursorInfo$'][_0x43df2a(0x283)](_0x2531c2);});})));}[_0x28f4a5(0xa2)](_0x3f2edd){const _0x4734f7=_0x28f4a5;var _0x1b7690,_0x48aaa3;const {memberID:_0x5c4355,selection:_0x213b38}=_0x3f2edd[_0x4734f7(0x269)],_0x36de0e=_0x25ec0e(_0x213b38),_0x17954d=(_0x48aaa3=(_0x1b7690=this[_0x4734f7(0x2cc)][_0x4734f7(0x315)](this['unitID'],_0x5c4355))==null?void 0x0:_0x1b7690['name'])!=null?_0x48aaa3:_0x4734f7(0x85),_0x302f1f={'color':this[_0x4734f7(0x23d)][_0x4734f7(0xb3)](_0x5c4355),'name':_0x17954d,'ranges':_0x36de0e},_0xc3581a=this[_0x4734f7(0x2e6)];_0xc3581a['set'](_0x5c4355,_0x302f1f),this[_0x4734f7(0x73)][_0x4734f7(0x283)](_0xc3581a);}[_0x28f4a5(0x1ca)](_0x467d33){const _0xe1607c=_0x28f4a5,{memberID:_0x3ecf73}=_0x467d33[_0xe1607c(0x269)],_0x47061c=this[_0xe1607c(0x2e6)];_0x47061c[_0xe1607c(0x2b3)](_0x3ecf73),this['_cursorInfo$']['next'](_0x47061c);}[_0x28f4a5(0x112)](){const _0x648a1c=_0x28f4a5;var _0x5ddcc1;if(this[_0x648a1c(0x1d0)]=!0x0,((_0x5ddcc1=this[_0x648a1c(0x1bd)]['getFocusedUnit']())==null?void 0x0:_0x5ddcc1[_0x648a1c(0x10a)]())!==this[_0x648a1c(0xc4)])return;const _0x553862=this['_injector'][_0x648a1c(0x1ae)](_0x307c6b['DocSelectionManagerService'])[_0x648a1c(0x6f)]();Array['isArray'](_0x553862)&&_0x553862[_0x648a1c(0x291)]>0x0&&this[_0x648a1c(0x89)](_0x553862);}['_toggleOffline'](){const _0x49db40=_0x28f4a5;this[_0x49db40(0x1d0)]=!0x1;}};_0x3c6ed9=_0x3156e4([_0x2c7f(0x2,_0x1f0974['Inject'](_0x1f0974['Injector'])),_0x2c7f(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x2d7c85)),_0x2c7f(0x4,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x23f)])),_0x2c7f(0x5,_0x1f0974[_0x28f4a5(0x302)](_0x1ea0ec)),_0x2c7f(0x6,_0x22d2f7['ITransformService']),_0x2c7f(0x7,_0x1f0974['IUniverInstanceService']),_0x2c7f(0x8,_0x1f0974['ICommandService'])],_0x3c6ed9);var _0x209201=Object[_0x28f4a5(0x2b1)],_0x3446a6=(_0x207101,_0x487505,_0xc54038,_0x201f1d)=>{const _0x5320bc=_0x28f4a5;for(var _0x2dc28f=_0x201f1d>0x1?void 0x0:_0x201f1d?_0x209201(_0x487505,_0xc54038):_0x487505,_0x5bcd1b=_0x207101[_0x5320bc(0x291)]-0x1,_0x23ac6a;_0x5bcd1b>=0x0;_0x5bcd1b--)(_0x23ac6a=_0x207101[_0x5bcd1b])&&(_0x2dc28f=_0x23ac6a(_0x2dc28f)||_0x2dc28f);return _0x2dc28f;},_0x21baf1=(_0x57fed4,_0x20aaf4)=>(_0x423f76,_0x1fb765)=>_0x20aaf4(_0x423f76,_0x1fb765,_0x57fed4);const _0x17c4f8=0x12c,_0x13caa1=0x64,_0x4efe1f=()=>{let _0x312837=[],_0x520438=!0x1;return _0x5badb4=>{_0x312837['push'](_0x5badb4),_0x520438||(_0x520438=!0x0,setTimeout(()=>{const _0x3b054e=_0x5ca7;_0x312837[_0x3b054e(0x1ba)](_0x463db0=>_0x463db0()),_0x312837=[],_0x520438=!0x1;}));};};let _0x33e4c1=class extends _0x1f0974['RxDisposable']{constructor(_0x2c1112,_0x3d368e,_0x2deb6b,_0x52b79d,_0x576ba7,_0x184035,_0x25900c,_0x4dc3df){const _0x1c9d2a=_0x28f4a5;super(),_0x264be0(this,_0x1c9d2a(0x1d0),!0x1),_0x264be0(this,_0x1c9d2a(0x203),!0x1),_0x264be0(this,'_cursorInfo$',new _0x48ec59[(_0x1c9d2a(0x21f))](new Map())),_0x264be0(this,_0x1c9d2a(0x19f),this[_0x1c9d2a(0x73)]['asObservable']()),_0x264be0(this,_0x1c9d2a(0x1cf),new _0x48ec59[(_0x1c9d2a(0x21f))]([])),_0x264be0(this,'roomMembers$',this[_0x1c9d2a(0x1cf)][_0x1c9d2a(0x11c)](_0x48ec59[_0x1c9d2a(0x181)](_0x17c4f8))),_0x264be0(this,_0x1c9d2a(0x89),_0x1f0974[_0x1c9d2a(0x301)]((_0x4822ff,_0x2485b2)=>{const _0x585309=_0x1c9d2a,_0x32a01c={'eventID':_0x22d2f7[_0x585309(0x277)][_0x585309(0xd5)],'data':{'unitID':this[_0x585309(0xc4)],'memberID':this[_0x585309(0x99)]['getMemberID'](),'selection':_0x30ba29[_0x585309(0x72)](_0x4822ff,_0x2485b2[_0x585309(0x12d)])}};this[_0x585309(0x99)][_0x585309(0x98)](_0x32a01c,this[_0x585309(0xc4)]);},_0x13caa1)),(this[_0x1c9d2a(0xc4)]=_0x2c1112,this[_0x1c9d2a(0x99)]=_0x3d368e,this[_0x1c9d2a(0x2f0)]=_0x2deb6b,this[_0x1c9d2a(0x23d)]=_0x52b79d,this['_memberService']=_0x576ba7,this[_0x1c9d2a(0x1bd)]=_0x184035,this[_0x1c9d2a(0x2d6)]=_0x25900c,this[_0x1c9d2a(0x9e)]=_0x4dc3df);}get[_0x28f4a5(0x2e6)](){const _0x25f3cc=_0x28f4a5;return this[_0x25f3cc(0x73)][_0x25f3cc(0x1df)]();}get['roomMembers'](){const _0xa72a2a=_0x28f4a5;return this[_0xa72a2a(0x1cf)]['getValue']();}[_0x28f4a5(0xdb)](){const _0x589fdc=_0x28f4a5;super[_0x589fdc(0xdb)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x589fdc(0x1cf)][_0x589fdc(0x283)]([]),this[_0x589fdc(0x1cf)][_0x589fdc(0xbe)]();}[_0x28f4a5(0x1db)](){const _0x4ce949=_0x28f4a5;this['_init']||(this[_0x4ce949(0x203)]=!0x0,this[_0x4ce949(0x99)][_0x4ce949(0x2df)][_0x4ce949(0x11c)](_0x48ec59[_0x4ce949(0x16a)](this[_0x4ce949(0x29f)]))[_0x4ce949(0x26e)](_0x45db90=>{const _0x491afe=_0x4ce949;_0x45db90===_0xec9e8c[_0x491afe(0x82)][_0x491afe(0x1f7)]?this[_0x491afe(0x112)]():this['_toggleOffline']();}),this[_0x4ce949(0x99)][_0x4ce949(0x121)][_0x4ce949(0x11c)](_0x48ec59[_0x4ce949(0x16a)](this[_0x4ce949(0x29f)]))['subscribe'](_0x3f5048=>{const _0x570b32=_0x4ce949,_0x37230a=_0x3f5048[_0x570b32(0x134)];_0x37230a===_0x22d2f7[_0x570b32(0x277)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3f5048),_0x37230a===_0x22d2f7['CollaborationEvent'][_0x570b32(0xf9)]&&this['_onCursorDelete'](_0x3f5048);}),this['_onRefRangeChange'](),this[_0x4ce949(0x2f6)](this[_0x4ce949(0x2d6)][_0x4ce949(0x22d)](_0x40c0a3=>{const _0x4ebe43=_0x4ce949;if(this[_0x4ebe43(0x1d0)]&&_0x40c0a3['id']===_0x21292e[_0x4ebe43(0x8e)]['id']&&_0x40c0a3[_0x4ebe43(0xf0)][_0x4ebe43(0x2cf)]===this['unitID']){const _0x1e1802=_0x40c0a3[_0x4ebe43(0xf0)];this[_0x4ebe43(0x89)](_0x1e1802[_0x4ebe43(0x1a7)],_0x1e1802[_0x4ebe43(0x104)][0x0]);}})));}[_0x28f4a5(0xa2)](_0xd665c0){const _0x1af216=_0x28f4a5;var _0x116ee7,_0xc82082;const {memberID:_0x1b7903,selection:_0x1cc34e}=_0xd665c0[_0x1af216(0x269)],{sheetName:_0x44d405,range:_0x1e0a28}=_0x30ba29[_0x1af216(0x153)](_0x1cc34e),_0x4051e0={'name':(_0xc82082=(_0x116ee7=this[_0x1af216(0x2cc)][_0x1af216(0x315)](this[_0x1af216(0xc4)],_0x1b7903))==null?void 0x0:_0x116ee7[_0x1af216(0x20a)])!=null?_0xc82082:_0x1af216(0x85),'range':this[_0x1af216(0x26a)](_0x44d405,_0x1e0a28),'sheetID':_0x44d405,'color':this[_0x1af216(0x23d)][_0x1af216(0xb3)](_0x1b7903),'selection':_0x1cc34e},_0x5c30ed=this[_0x1af216(0x2e6)];_0x5c30ed['set'](_0x1b7903,_0x4051e0),this[_0x1af216(0x73)]['next'](_0x5c30ed);}[_0x28f4a5(0x1ca)](_0x3f34ed){const _0x3db0f3=_0x28f4a5,{memberID:_0x4a730a}=_0x3f34ed['data'],_0x45d63d=this[_0x3db0f3(0x2e6)];_0x45d63d[_0x3db0f3(0x2b3)](_0x4a730a),this['_cursorInfo$'][_0x3db0f3(0x283)](_0x45d63d);}[_0x28f4a5(0x26a)](_0x3c4707,_0x25cb03){const _0x22a4fd=_0x28f4a5;var _0x6c9e2d,_0x13b5c3;const _0x21feb6=(_0x13b5c3=(_0x6c9e2d=this[_0x22a4fd(0x1bd)]['getUniverSheetInstance'](this[_0x22a4fd(0xc4)]))==null?void 0x0:_0x6c9e2d[_0x22a4fd(0x74)](_0x3c4707))==null?void 0x0:_0x13b5c3['getMergeData']();return(_0x21feb6==null?void 0x0:_0x21feb6[_0x22a4fd(0x81)](_0xff9f8e=>_0x1f0974['Rectangle'][_0x22a4fd(0x218)](_0xff9f8e,_0x25cb03)))||_0x25cb03;}[_0x28f4a5(0x195)](){const _0x493193=_0x28f4a5,_0x4bf4c6=new _0x1f0974[(_0x493193(0x261))](),_0x444a09=_0x4efe1f(),_0x1b3eb7=()=>{const _0x3c5698=_0x493193;_0x4bf4c6['dispose']();const _0x3ae910=(_0x5b54f1,_0x4dbe60,_0x35532a,_0x19697f)=>{const _0x2daca9=_0x5ca7;let _0x5a5e37=[];switch(_0x5b54f1['id']){case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x21a)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x161)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x1e1)]:{_0x5a5e37=_0x21292e['handleDeleteRangeMoveUp'](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)]['InsertColCommandId']:{_0x5a5e37=_0x21292e[_0x2daca9(0x220)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0xb1)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x141)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0xed)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x1ea)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x206)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2af)](_0x5b54f1,_0x19697f);break;}case _0x21292e['EffectRefRangId'][_0x2daca9(0x18c)]:{_0x5a5e37=_0x21292e[_0x2daca9(0xe1)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x7a)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2e8)](_0x5b54f1,_0x19697f);break;}case _0x21292e[_0x2daca9(0xae)][_0x2daca9(0x12e)]:{_0x5a5e37=_0x21292e[_0x2daca9(0x2cd)](_0x5b54f1,_0x19697f);break;}}const _0x426eb5=_0x21292e[_0x2daca9(0x182)](_0x5a5e37,_0x19697f),_0x59ada1=this[_0x2daca9(0x2e6)][_0x2daca9(0x1ae)](_0x4dbe60);if(_0x59ada1&&_0x426eb5){const _0x499231={..._0x59ada1,'range':_0x426eb5};this[_0x2daca9(0x2e6)][_0x2daca9(0x1cd)](_0x4dbe60,_0x499231),_0x444a09(()=>{const _0x5caf9a=_0x2daca9,_0x12ca02=this[_0x5caf9a(0x9e)][_0x5caf9a(0x30a)](_0x426eb5,_0x577e9b=>(_0x12ca02['dispose'](),_0x3ae910(_0x577e9b,_0x4dbe60,_0x35532a,_0x426eb5)));_0x4bf4c6[_0x5caf9a(0x1a2)](_0x12ca02);});}return{'redos':[],'undos':[]};};this[_0x3c5698(0x2e6)][_0x3c5698(0x1ba)]((_0xfba754,_0x53d0f8)=>{const _0x3ff67d=_0x3c5698,{range:_0x58d620,sheetID:_0x49997a}=_0xfba754,_0x1678dd=this['_refRangeService'][_0x3ff67d(0x30a)](_0x58d620,_0x5052db=>(_0x1678dd[_0x3ff67d(0xdb)](),_0x3ae910(_0x5052db,_0x53d0f8,_0x49997a,_0x58d620)));_0x4bf4c6[_0x3ff67d(0x1a2)](_0x1678dd);});};this[_0x493193(0x2f6)](_0x1f0974[_0x493193(0x232)](this[_0x493193(0x73)][_0x493193(0x26e)](()=>{_0x1b3eb7();})));}[_0x28f4a5(0x112)](){const _0x4bbeb8=_0x28f4a5;var _0x24a85a,_0x1dd50e;if(this[_0x4bbeb8(0x1d0)]=!0x0,((_0x24a85a=this[_0x4bbeb8(0x1bd)][_0x4bbeb8(0x103)]())==null?void 0x0:_0x24a85a['getUnitId']())!==this['unitID'])return;const _0x2493a7=(_0x1dd50e=this['_injector']['get'](_0x21292e[_0x4bbeb8(0x20f)])[_0x4bbeb8(0xad)]())==null?void 0x0:_0x1dd50e[0x0],_0x5c7fd3=this[_0x4bbeb8(0x1bd)][_0x4bbeb8(0x262)](_0x1f0974['UniverInstanceType'][_0x4bbeb8(0x130)])[_0x4bbeb8(0x276)]();_0x2493a7&&_0x5c7fd3&&this[_0x4bbeb8(0x89)](_0x5c7fd3['getSheetId'](),_0x2493a7);}[_0x28f4a5(0x30f)](){const _0x3a773b=_0x28f4a5;this[_0x3a773b(0x1d0)]=!0x1;}};_0x33e4c1=_0x3446a6([_0x21baf1(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x21baf1(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x2d7c85)),_0x21baf1(0x4,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c['MemberService'])),_0x21baf1(0x5,_0x1f0974[_0x28f4a5(0x266)]),_0x21baf1(0x6,_0x1f0974[_0x28f4a5(0x145)]),_0x21baf1(0x7,_0x1f0974[_0x28f4a5(0x302)](_0x21292e[_0x28f4a5(0xd4)]))],_0x33e4c1);var _0x4f6992=Object[_0x28f4a5(0x2b1)],_0xf79982=(_0x152cb1,_0x15191f,_0x953555,_0x33e1e0)=>{const _0x46a481=_0x28f4a5;for(var _0x5bf96b=_0x33e1e0>0x1?void 0x0:_0x33e1e0?_0x4f6992(_0x15191f,_0x953555):_0x15191f,_0x10d5a2=_0x152cb1[_0x46a481(0x291)]-0x1,_0x5e95be;_0x10d5a2>=0x0;_0x10d5a2--)(_0x5e95be=_0x152cb1[_0x10d5a2])&&(_0x5bf96b=_0x5e95be(_0x5bf96b)||_0x5bf96b);return _0x5bf96b;},_0x4ec1c7=(_0x1aaf7e,_0x4462fe)=>(_0x54a6e3,_0x1d69f2)=>_0x4462fe(_0x54a6e3,_0x1d69f2,_0x1aaf7e);let _0x475645=class extends _0x1f0974['RxDisposable']{constructor(_0x4d6503,_0x571151,_0x246565){const _0x4ef1f0=_0x28f4a5;super(),_0x264be0(this,_0x4ef1f0(0x2ce),new Map()),_0x264be0(this,_0x4ef1f0(0x275),new _0x48ec59[(_0x4ef1f0(0x2f4))]()),(this[_0x4ef1f0(0x1bd)]=_0x4d6503,this['_injector']=_0x571151,this[_0x4ef1f0(0x214)]=_0x246565,this[_0x4ef1f0(0x203)]());}[_0x28f4a5(0xdb)](){const _0x47783b=_0x28f4a5;super[_0x47783b(0xdb)](),this[_0x47783b(0x275)][_0x47783b(0xbe)](),this['_entities'][_0x47783b(0x1ba)](_0x205b6d=>_0x205b6d[_0x47783b(0xdb)]());}[_0x28f4a5(0x1a3)](_0x4bbd95){const _0x32ac39=_0x28f4a5;return this[_0x32ac39(0x2ce)][_0x32ac39(0x2f8)](_0x4bbd95)?this['_entities'][_0x32ac39(0x1ae)](_0x4bbd95)['cursorInfo$']:this[_0x32ac39(0x275)][_0x32ac39(0x11c)](_0x48ec59[_0x32ac39(0x21e)](_0x2a8551=>_0x2a8551[_0x32ac39(0xc4)]===_0x4bbd95),_0x48ec59['switchMap'](_0x2a3423=>_0x2a3423[_0x32ac39(0x19f)]));}[_0x28f4a5(0x203)](){const _0x192d99=_0x28f4a5;this[_0x192d99(0x1bd)][_0x192d99(0x1d6)](_0x1f0974['UniverInstanceType'][_0x192d99(0x130)])[_0x192d99(0x11c)](_0x48ec59[_0x192d99(0x16a)](this[_0x192d99(0x29f)]))['subscribe'](async _0x52009f=>{const _0x4f5893=_0x192d99,_0x14d4ee=_0x52009f[_0x4f5893(0x10a)](),_0x312004=await this[_0x4f5893(0x138)](_0x14d4ee);this['_entityInit$'][_0x4f5893(0x283)](_0x312004),this[_0x4f5893(0x2ce)][_0x4f5893(0x1cd)](_0x14d4ee,_0x312004);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1f0974[_0x192d99(0x22a)][_0x192d99(0x1a5)])['pipe'](_0x48ec59[_0x192d99(0x16a)](this[_0x192d99(0x29f)]))[_0x192d99(0x11c)](_0x48ec59[_0x192d99(0x21e)](_0x475242=>!_0x475242[_0x192d99(0x10a)]()['startsWith']('__')))[_0x192d99(0x26e)](async _0x3fde5b=>{const _0x16243c=_0x192d99,_0x24691d=_0x3fde5b[_0x16243c(0x10a)](),_0x501824=await this[_0x16243c(0x270)](_0x24691d);this[_0x16243c(0x275)][_0x16243c(0x283)](_0x501824),this[_0x16243c(0x2ce)][_0x16243c(0x1cd)](_0x24691d,_0x501824);}),_0x48ec59['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0974[_0x192d99(0x22a)][_0x192d99(0x1a5)]),this[_0x192d99(0x1bd)][_0x192d99(0xe2)](_0x1f0974['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x48ec59['takeUntil'](this['dispose$']))[_0x192d99(0x26e)](_0x3a94a7=>{const _0x4caf21=_0x192d99,_0x45d613=_0x3a94a7[_0x4caf21(0x10a)](),_0x29a2e7=this['_entities'][_0x4caf21(0x1ae)](_0x45d613);_0x29a2e7&&(_0x29a2e7[_0x4caf21(0xdb)](),this[_0x4caf21(0x2ce)][_0x4caf21(0x2b3)](_0x45d613));});}async[_0x28f4a5(0x138)](_0x5d7bed){const _0x8ebb2f=_0x28f4a5,_0x39b599=await this[_0x8ebb2f(0x214)][_0x8ebb2f(0x288)](_0x5d7bed),_0x5c0f5c=this[_0x8ebb2f(0x2f0)][_0x8ebb2f(0x2fb)](_0x33e4c1,_0x5d7bed,_0x39b599);return _0x5c0f5c['init'](),_0x5c0f5c;}async[_0x28f4a5(0x270)](_0x41607f){const _0x471726=_0x28f4a5,_0x2e0c78=await this[_0x471726(0x214)]['requireSession'](_0x41607f),_0x39c9f6=this[_0x471726(0x2f0)]['createInstance'](_0x3c6ed9,_0x41607f,_0x2e0c78);return _0x39c9f6['init'](),_0x39c9f6;}};_0x475645=_0xf79982([_0x4ec1c7(0x0,_0x1f0974['IUniverInstanceService']),_0x4ec1c7(0x1,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x2a5)])),_0x4ec1c7(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x8b)]))],_0x475645);const _0x24b284=0x14,_0x4df9b4=0xc8,_0x2c6d30=0x4,_0x590c74=0x5;function _0x13a0fe(_0x129f9c,_0x5f3fff){const _0x545e8f=_0x28f4a5;let {radius:_0x2961b3,width:_0x15bce5,height:_0x3adcf}=_0x5f3fff;_0x2961b3=_0x2961b3!=null?_0x2961b3:0x0,_0x15bce5=_0x15bce5!=null?_0x15bce5:0x1e,_0x3adcf=_0x3adcf!=null?_0x3adcf:0x1e;let _0x9e7ed3=0x0,_0x1f296c=0x0,_0x2bdbfc=0x0;_0x9e7ed3=_0x1f296c=_0x2bdbfc=Math['min'](_0x2961b3,_0x15bce5/0x2,_0x3adcf/0x2),_0x129f9c[_0x545e8f(0x2ec)](),_0x129f9c[_0x545e8f(0x77)](_0x9e7ed3,0x0),_0x129f9c[_0x545e8f(0x106)](_0x15bce5-_0x1f296c,0x0),_0x129f9c[_0x545e8f(0x237)](_0x15bce5-_0x1f296c,_0x1f296c,_0x1f296c,Math['PI']*0x3/0x2,0x0,!0x1),_0x129f9c['lineTo'](_0x15bce5,_0x3adcf-_0x2bdbfc),_0x129f9c['arc'](_0x15bce5-_0x2bdbfc,_0x3adcf-_0x2bdbfc,_0x2bdbfc,0x0,Math['PI']/0x2,!0x1),_0x129f9c[_0x545e8f(0x106)](0x0,_0x3adcf),_0x129f9c['lineTo'](0x0,_0x9e7ed3),_0x129f9c[_0x545e8f(0x237)](_0x9e7ed3,_0x9e7ed3,_0x9e7ed3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x129f9c[_0x545e8f(0x289)](),_0x5f3fff[_0x545e8f(0xc6)]&&(_0x129f9c[_0x545e8f(0x1f2)](),_0x129f9c[_0x545e8f(0x183)]=_0x5f3fff[_0x545e8f(0xc6)],_0x5f3fff[_0x545e8f(0x1fa)]===_0x545e8f(0x176)?_0x129f9c[_0x545e8f(0xc6)]('evenodd'):_0x129f9c[_0x545e8f(0xc6)](),_0x129f9c[_0x545e8f(0x1c6)]());}class _0x466589 extends _0xea5c4f[_0x28f4a5(0x94)]{constructor(_0x4ce652,_0x1b145d){const _0x286e4f=_0x28f4a5;super(_0x4ce652,_0x1b145d),_0x264be0(this,_0x286e4f(0xe4)),_0x264be0(this,_0x286e4f(0x24c)),(this[_0x286e4f(0xe4)]=_0x1b145d==null?void 0x0:_0x1b145d[_0x286e4f(0xe4)],this['text']=_0x1b145d==null?void 0x0:_0x1b145d[_0x286e4f(0x24c)]);}static[_0x28f4a5(0x155)](_0x41ff83,_0x18c92c){const _0xc87186=_0x28f4a5,{text:_0x3dfc21,color:_0x444b4b}=_0x18c92c;_0x41ff83['save'](),_0x41ff83[_0xc87186(0x217)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2f9582=_0x41ff83[_0xc87186(0x23b)](_0x3dfc21)[_0xc87186(0x2c3)],_0x73faa7=Math[_0xc87186(0xfd)](_0x2f9582+0x2*_0x2c6d30,_0x4df9b4);_0x13a0fe(_0x41ff83,{'height':_0x24b284,'radius':0x4,'width':_0x73faa7,'fill':_0x444b4b}),_0x41ff83[_0xc87186(0x183)]=_0xc87186(0x151);const _0x3fa8c5=_0x2c6d30,_0x2b6d61=_0x24b284-_0x590c74,_0x1989e2=_0x4df9b4-0x2*_0x2c6d30;if(_0x2f9582>_0x1989e2){let _0x54a95e='',_0x14360e=0x0;for(const _0x401bf1 of _0x3dfc21){const _0x9c5555=_0x41ff83['measureText'](_0x401bf1)[_0xc87186(0x2c3)];if(_0x14360e+_0x9c5555<=_0x1989e2-_0x41ff83[_0xc87186(0x23b)](_0xc87186(0x243))[_0xc87186(0x2c3)])_0x54a95e+=_0x401bf1,_0x14360e+=_0x9c5555;else{_0x54a95e+=_0xc87186(0x243);break;}}_0x41ff83['fillText'](_0x54a95e,_0x3fa8c5,_0x2b6d61);}else _0x41ff83[_0xc87186(0x18d)](_0x3dfc21,_0x3fa8c5,_0x2b6d61);_0x41ff83[_0xc87186(0x1c6)]();}[_0x28f4a5(0x9a)](_0x1350e5){const _0x4ad2c1=_0x28f4a5;_0x466589[_0x4ad2c1(0x155)](_0x1350e5,this);}}const _0x3f408b=_0x28f4a5(0x18e),_0x346200=_0x28f4a5(0xf5),_0x1869a6=_0x28f4a5(0xb0),_0x17ee1a=0x6,_0x2e7835=1.5,_0x5cff99=0x4,_0x31d985=1.5,_0x374b6d=_0x28f4a5(0x79);class _0x546ec1{constructor(_0x1b81ea,_0x103543,_0x29f1bc,_0x4bb6f7){const _0x1425f7=_0x28f4a5;_0x264be0(this,_0x1425f7(0x30e),[]),_0x264be0(this,_0x1425f7(0x105),null),_0x264be0(this,_0x1425f7(0xaf),null),_0x264be0(this,_0x1425f7(0xda),null),_0x264be0(this,_0x1425f7(0x295),null),_0x264be0(this,'_eventUnsubscribe',null),(this[_0x1425f7(0x257)]=_0x1b81ea,this['_scene']=_0x103543,this[_0x1425f7(0x128)]=_0x29f1bc,this['_document']=_0x4bb6f7,this[_0x1425f7(0x2c6)]());}set['_hover'](_0x3d8b8e){const _0x58a19b=_0x28f4a5;_0x3d8b8e?(this[_0x58a19b(0xda)]&&this[_0x58a19b(0xda)][_0x58a19b(0x29d)](),this[_0x58a19b(0xaf)]&&this[_0x58a19b(0xaf)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x58a19b(0xd2)](),this['_textBubble']&&this[_0x58a19b(0xaf)][_0x58a19b(0x29d)]());}[_0x28f4a5(0xdb)](){const _0x44374d=_0x28f4a5;for(const _0x46c2eb of this[_0x44374d(0x30e)])_0x46c2eb[_0x44374d(0xdb)]();this[_0x44374d(0xaf)]&&this['_textBubble'][_0x44374d(0xdb)](),this[_0x44374d(0xda)]&&this[_0x44374d(0xda)][_0x44374d(0xdb)](),this['_anchor']&&this['_anchor'][_0x44374d(0xdb)](),this[_0x44374d(0x1b8)]&&this[_0x44374d(0x1b8)]();}[_0x28f4a5(0x2c6)](){const _0x10b1ff=_0x28f4a5;var _0x43d5e7;const {_docSkeleton:_0x345924,_document:_0x343a56}=this,{color:_0x260511,name:_0x416c5b,ranges:_0x290333}=this[_0x10b1ff(0x257)],_0xdcfdb5=_0x343a56['getOffsetConfig'](),{docsLeft:_0xad42c0,docsTop:_0x5e4ba8}=_0xdcfdb5,_0x308ecc=new _0x94087b[(_0x10b1ff(0x12a))](_0xdcfdb5,_0x345924);for(const {startOffset:_0x3b963d,endOffset:_0x3258e7,rangeType:_0x14c3a7,segmentId:_0x328f08,segmentPage:_0x1d74b2,collapsed:_0x5855f9,isActive:_0x4e2fd2}of _0x290333){const _0x5932c2=_0x345924[_0x10b1ff(0x7b)](_0x3b963d,!0x0,_0x328f08,_0x1d74b2);let _0x3ad6e8=_0x345924[_0x10b1ff(0x7b)](_0x3258e7,!0x0,_0x328f08,_0x1d74b2);if(_0x3ad6e8==null&&(_0x3ad6e8=_0x345924['findNodePositionByCharIndex'](_0x3258e7-0x1,!0x1,_0x328f08,_0x1d74b2)),_0x4e2fd2){const {contentBoxPointGroup:_0x189311}=_0x308ecc[_0x10b1ff(0x25d)](_0x3ad6e8,_0x3ad6e8);if(_0x189311[_0x10b1ff(0x291)]===0x0)continue;this[_0x10b1ff(0x10e)](_0x260511,_0x189311,_0xad42c0,_0x5e4ba8,_0x416c5b),this[_0x10b1ff(0x1b8)]=this[_0x10b1ff(0x13f)]();}if(_0x5932c2&&_0x3ad6e8){if(_0x14c3a7===_0x1f0974['DOC_RANGE_TYPE'][_0x10b1ff(0x2e5)]){const _0x55903e=new _0x94087b['NodePositionConvertToRectRange'](_0xdcfdb5,_0x345924),{pointGroup:_0x2fab03}=(_0x43d5e7=_0x55903e[_0x10b1ff(0x25d)](_0x5932c2,_0x3ad6e8))!=null?_0x43d5e7:{};if(_0x2fab03==null||_0x2fab03['length']===0x0)continue;this['_drawRectRange'](_0x260511,_0x2fab03,_0xad42c0,_0x5e4ba8);}else{if(!_0x5855f9){const {borderBoxPointGroup:_0xc40e1}=_0x308ecc[_0x10b1ff(0x25d)](_0x5932c2,_0x3ad6e8);if(_0xc40e1[_0x10b1ff(0x291)]===0x0)continue;this[_0x10b1ff(0x1f8)](_0x260511,_0xc40e1,_0xad42c0,_0x5e4ba8);}}}}}[_0x28f4a5(0x10e)](_0x3fa5c5,_0x4b61c2,_0x263c16,_0xe6d4b3,_0x30db93){const _0x3abbda=_0x28f4a5,_0x4c747c=this[_0x3abbda(0xe8)](_0x4b61c2),{left:_0x5733b4,top:_0x2aa623,height:_0x46e7cc}=_0x4c747c,_0x212a41=this[_0x3abbda(0xc9)](),_0x2d8a11=_0x31d985/_0x212a41,_0x48068f=new _0xea5c4f['Rect'](_0x3f408b+_0x1f0974[_0x3abbda(0x1dd)][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3,'height':_0x46e7cc,'width':_0x2e7835,'fill':_0x3fa5c5||_0xea5c4f['getColor'](_0x1f0974[_0x3abbda(0x1b3)]['black'],0x0),'strokeWidth':_0x2d8a11,'stroke':_0x374b6d,'evented':!0x0});this[_0x3abbda(0x105)]=_0x48068f,this[_0x3abbda(0x2b4)][_0x3abbda(0x29c)](_0x48068f,_0x94087b[_0x3abbda(0x2bb)]);const _0x1d9344=new _0xea5c4f[(_0x3abbda(0x68))](_0x3f408b+_0x1f0974['Tools'][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3-_0x5cff99/0x2,'height':_0x5cff99,'width':_0x5cff99,'fill':_0x3fa5c5||_0xea5c4f[_0x3abbda(0x144)](_0x1f0974[_0x3abbda(0x1b3)][_0x3abbda(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x3fa5c5||_0xea5c4f[_0x3abbda(0x144)](_0x1f0974['COLORS']['black'],0x0),'evented':!0x1});this[_0x3abbda(0xda)]=_0x1d9344,this['_scene']['addObject'](_0x1d9344,_0x94087b[_0x3abbda(0x2bb)]);const _0x510c4b=new _0x466589(_0x3f408b+_0x1f0974[_0x3abbda(0x1dd)][_0x3abbda(0x1fd)](_0x17ee1a),{'left':_0x5733b4+_0x263c16-_0x2d8a11,'top':_0x2aa623+_0xe6d4b3-_0x24b284,'text':_0x30db93,'color':_0x3fa5c5});this['_textBubble']=_0x510c4b,this['_scene'][_0x3abbda(0x29c)](_0x510c4b,_0x94087b['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x28f4a5(0x13f)](){const _0x552bd2=_0x28f4a5,_0x5be2cf=this[_0x552bd2(0x105)][_0x552bd2(0x12f)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x2c85af=this[_0x552bd2(0x105)][_0x552bd2(0x22e)][_0x552bd2(0x225)](()=>{const _0x5e164e=_0x552bd2;this['_hideTimer']&&clearTimeout(this[_0x5e164e(0x295)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c6477=_0x552bd2;_0x5be2cf[_0x1c6477(0xdd)](),_0x2c85af[_0x1c6477(0xdd)]();};}[_0x28f4a5(0x1f8)](_0x44e4c9,_0x1a6ac2,_0x3cc6c5,_0x35acbc){const _0x626f91=_0x28f4a5,_0x1e9dc6=new _0x1f0974[(_0x626f91(0x245))](_0x44e4c9)[_0x626f91(0x240)](0.2)[_0x626f91(0x6e)](),_0x178e7d=new _0xea5c4f['RegularPolygon'](_0x346200+_0x1f0974[_0x626f91(0x1dd)][_0x626f91(0x1fd)](_0x17ee1a),{'pointsGroup':_0x1a6ac2,'fill':_0x1e9dc6||_0xea5c4f['getColor'](_0x1f0974[_0x626f91(0x1b3)][_0x626f91(0x1f0)],0.2),'left':_0x3cc6c5,'top':_0x35acbc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x626f91(0x30e)][_0x626f91(0x110)](_0x178e7d),this[_0x626f91(0x2b4)]['addObject'](_0x178e7d,_0x94087b['TEXT_RANGE_LAYER_INDEX']);}[_0x28f4a5(0x265)](_0x2bf328,_0x4963fc,_0x38263a,_0x56dfdb){const _0x549f76=_0x28f4a5,_0x56b634=new _0x1f0974[(_0x549f76(0x245))](_0x2bf328)[_0x549f76(0x240)](0.2)[_0x549f76(0x6e)](),_0x166bb2=new _0xea5c4f['RegularPolygon'](_0x1869a6+_0x1f0974['Tools'][_0x549f76(0x1fd)](_0x17ee1a),{'pointsGroup':_0x4963fc,'fill':_0x56b634||_0xea5c4f[_0x549f76(0x144)](_0x1f0974[_0x549f76(0x1b3)][_0x549f76(0x1f0)],0.2),'left':_0x38263a,'top':_0x56dfdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x549f76(0x30e)][_0x549f76(0x110)](_0x166bb2),this[_0x549f76(0x2b4)][_0x549f76(0x29c)](_0x166bb2,_0x94087b[_0x549f76(0x2bb)]);}['_getAnchorBounding'](_0x5523a6){const _0x4755b3=_0x5523a6[0x0],_0x453aca=_0x4755b3[0x0],_0x203630=_0x4755b3[0x2],{x:_0x4f2481,y:_0x362875}=_0x453aca,{x:_0x28c7c1,y:_0x418c3b}=_0x203630;return{'left':_0x4f2481,'top':_0x362875,'width':_0x28c7c1-_0x4f2481,'height':_0x418c3b-_0x362875};}[_0x28f4a5(0xc9)](){const _0x1bebed=_0x28f4a5,{scaleX:_0x2f3e02,scaleY:_0x4e2d3f}=this[_0x1bebed(0x2b4)][_0x1bebed(0x305)]();return Math[_0x1bebed(0x263)](_0x2f3e02,_0x4e2d3f);}}var _0x341d68=Object[_0x28f4a5(0x2b1)],_0x25c132=(_0x2d7bac,_0x1d4d5d,_0x3306ac,_0x355dc5)=>{for(var _0xf51197=_0x355dc5>0x1?void 0x0:_0x355dc5?_0x341d68(_0x1d4d5d,_0x3306ac):_0x1d4d5d,_0xd8a1b0=_0x2d7bac['length']-0x1,_0x3780c9;_0xd8a1b0>=0x0;_0xd8a1b0--)(_0x3780c9=_0x2d7bac[_0xd8a1b0])&&(_0xf51197=_0x3780c9(_0xf51197)||_0xf51197);return _0xf51197;},_0x462bf7=(_0x2e88f8,_0x5a53a6)=>(_0x12d34a,_0x2f0904)=>_0x5a53a6(_0x12d34a,_0x2f0904,_0x2e88f8);let _0x282152=class extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(_0x42f08f,_0x8db8e3,_0x3625ea,_0x7cdafe,_0x29a0aa){const _0x12e651=_0x28f4a5;super(),_0x264be0(this,'_cursorShapes',[]),_0x264be0(this,_0x12e651(0x23a),[]),(this[_0x12e651(0xbc)]=_0x42f08f,this['_docSkeletonManagerService']=_0x8db8e3,this[_0x12e651(0xfa)]=_0x3625ea,this[_0x12e651(0x2d6)]=_0x7cdafe,this['_themeService']=_0x29a0aa,this[_0x12e651(0x203)]());}[_0x28f4a5(0x203)](){const _0x45ec29=_0x28f4a5,_0x1f5a83=this['_context'][_0x45ec29(0x2cf)],_0x2e8bf0=this[_0x45ec29(0xab)];this['disposeWithMe'](_0x48ec59['combineLatest']([this[_0x45ec29(0xfa)][_0x45ec29(0x1a3)](_0x1f5a83),this[_0x45ec29(0x227)][_0x45ec29(0xcd)]])[_0x45ec29(0x11c)](_0x10378c['map'](([_0x282abd,_0xbd6b56])=>({'skeleton':_0x2e8bf0[_0x45ec29(0x2ad)](),'cursors':[..._0x282abd['values']()][_0x45ec29(0x27d)](_0x175c19=>({..._0x175c19,'color':this[_0x45ec29(0x227)][_0x45ec29(0x2c2)](_0x175c19[_0x45ec29(0xe4)])}))})))[_0x45ec29(0x26e)](_0x28067e=>{const _0x3cbdb4=_0x45ec29;if(this[_0x3cbdb4(0xbf)](),_0x28067e){const {skeleton:_0x4af551,cursors:_0x5a1334}=_0x28067e;this[_0x3cbdb4(0x1b4)](_0x4af551,_0x5a1334);}})),this[_0x45ec29(0x10d)](),this[_0x45ec29(0x9b)]();}[_0x28f4a5(0x1b4)](_0x3a9883,_0x4493c5){const _0xd64d74=_0x28f4a5,{scene:_0x24e721,mainComponent:_0x188ada}=this[_0xd64d74(0xbc)],_0x50ef68=_0x4493c5[_0xd64d74(0x211)](_0x1f60b4=>new _0x546ec1(_0x1f60b4,_0x24e721,_0x3a9883,_0x188ada));this['_cursorShapes']=_0x50ef68,this['_cursors']=_0x4493c5;}[_0x28f4a5(0x25e)](){const _0x4f36f7=_0x28f4a5;this[_0x4f36f7(0xbf)]();const {scene:_0x108108,mainComponent:_0x454818}=this[_0x4f36f7(0xbc)],_0x32ce4e=this[_0x4f36f7(0xab)]['getSkeleton'](),_0x39adc8=this[_0x4f36f7(0x23a)]['map'](_0x1a1b61=>new _0x546ec1(_0x1a1b61,_0x108108,_0x32ce4e,_0x454818));this[_0x4f36f7(0x15b)]=_0x39adc8;}[_0x28f4a5(0xbf)](){const _0x2e8fd7=_0x28f4a5;this[_0x2e8fd7(0x15b)][_0x2e8fd7(0x1ba)](_0x2b848a=>_0x2b848a[_0x2e8fd7(0xdb)]()),this[_0x2e8fd7(0x15b)]=[];}[_0x28f4a5(0x9b)](){const _0x28e0fe=_0x28f4a5,_0x352cee=[_0x94087b[_0x28e0fe(0x118)]['id']];this['disposeWithMe'](this[_0x28e0fe(0x2d6)][_0x28e0fe(0x22d)](_0x6da818=>{const _0x4d20a8=_0x28e0fe;_0x352cee[_0x4d20a8(0x196)](_0x6da818['id'])&&_0x6da818[_0x4d20a8(0xf0)][_0x4d20a8(0x2cf)]===this[_0x4d20a8(0xbc)][_0x4d20a8(0x2cf)]&&this['_refreshCollabCursors']();}));}[_0x28f4a5(0x10d)](){const _0x1e6525=_0x28f4a5;this[_0x1e6525(0x2f6)](_0x1f0974[_0x1e6525(0xe3)](this[_0x1e6525(0xbc)]['engine']['onTransformChange$'])[_0x1e6525(0x11c)](_0x10378c[_0x1e6525(0x21e)](_0x82bae6=>_0x82bae6[_0x1e6525(0x175)]===_0xea5c4f[_0x1e6525(0x2da)][_0x1e6525(0x2c4)]),_0x10378c[_0x1e6525(0xe9)](0x10))[_0x1e6525(0x26e)](()=>{this['_refreshCollabCursors']();}));}};_0x282152=_0x25c132([_0x462bf7(0x1,_0x1f0974['Inject'](_0x307c6b[_0x28f4a5(0x2b8)])),_0x462bf7(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x475645)),_0x462bf7(0x3,_0x1f0974[_0x28f4a5(0x145)]),_0x462bf7(0x4,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x69)]))],_0x282152);const _0x225a0e=0x1,_0x1c7683=1.5;class _0xb7037c extends _0xea5c4f['Shape']{constructor(_0x5c0ab8,_0x33e9a5){const _0x1706a6=_0x28f4a5;super(_0x5c0ab8,_0x33e9a5),_0x264be0(this,_0x1706a6(0x123)),_0x264be0(this,_0x1706a6(0xa0),!0x1),_0x264be0(this,_0x1706a6(0xb2)),_0x264be0(this,_0x1706a6(0x11a),''),_0x264be0(this,'_labelPosition','top'),_0x264be0(this,'_backgroundColor'),(_0x33e9a5&&this[_0x1706a6(0x78)](_0x33e9a5),this[_0x1706a6(0x12f)][_0x1706a6(0x225)](()=>this[_0x1706a6(0x78)]({'hovered':!0x0})),this[_0x1706a6(0x22e)]['subscribeEvent'](()=>this[_0x1706a6(0x78)]({'hovered':!0x1})));}[_0x28f4a5(0x78)](_0x51a724){const _0xa314=_0x28f4a5;var _0x53954f,_0x207f61,_0x14a905,_0x41e6f8,_0x5e6e2e,_0x43379b;this[_0xa314(0x123)]=(_0x53954f=_0x51a724['color'])!=null?_0x53954f:this[_0xa314(0x123)],this[_0xa314(0xa0)]=(_0x207f61=_0x51a724[_0xa314(0x1a1)])!=null?_0x207f61:this[_0xa314(0xa0)],this[_0xa314(0xb2)]=(_0x14a905=_0x51a724[_0xa314(0x12d)])!=null?_0x14a905:this[_0xa314(0xb2)],this[_0xa314(0x11a)]=(_0x41e6f8=_0x51a724[_0xa314(0x20a)])!=null?_0x41e6f8:this[_0xa314(0x11a)],this['_labelPosition']=(_0x5e6e2e=_0x51a724[_0xa314(0xf7)])!=null?_0x5e6e2e:this[_0xa314(0x2d9)],this[_0xa314(0x2e0)]=(_0x43379b=_0x51a724[_0xa314(0x91)])!=null?_0x43379b:this[_0xa314(0x2e0)],this['transformByState']({'width':_0x51a724[_0xa314(0x2c3)],'height':_0x51a724[_0xa314(0x1a4)]});}[_0x28f4a5(0x25c)](_0x1187b8){const _0x50294d=_0x28f4a5,{row:_0x10e953,column:_0x3e7286}=_0x1187b8;if(_0x10e953>=this[_0x50294d(0xb2)][_0x50294d(0x1fb)]&&_0x10e953<=this[_0x50294d(0xb2)][_0x50294d(0x1f9)]&&_0x3e7286>=this[_0x50294d(0xb2)][_0x50294d(0x15f)]&&_0x3e7286<=this[_0x50294d(0xb2)][_0x50294d(0x2ed)]){this[_0x50294d(0x78)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x28f4a5(0x1fc)](_0x561408){return!0x1;}[_0x28f4a5(0x9a)](_0x58a78c){const _0x596b40=_0x28f4a5;_0xea5c4f[_0x596b40(0x68)]['drawWith'](_0x58a78c,{'width':this[_0x596b40(0x2c3)],'height':this[_0x596b40(0x1a4)],'strokeWidth':_0x1c7683,'stroke':this[_0x596b40(0x123)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x596b40(0xa0)]&&(_0x58a78c[_0x596b40(0x1f2)](),_0x58a78c[_0x596b40(0x310)](0x1,0x0,0x0,0x1,this[_0x596b40(0x2c3)],this[_0x596b40(0x2d9)]===_0x596b40(0x2a1)?0x0:-0x14),_0x466589[_0x596b40(0x155)](_0x58a78c,{'text':this[_0x596b40(0x11a)],'color':this['_color']}),_0x58a78c[_0x596b40(0x1c6)]());}}var _0x5aa759=Object[_0x28f4a5(0x2b1)],_0x12e008=(_0x15ef7e,_0x2ea393,_0x24e233,_0x35b596)=>{const _0x1841a4=_0x28f4a5;for(var _0x35fafe=_0x35b596>0x1?void 0x0:_0x35b596?_0x5aa759(_0x2ea393,_0x24e233):_0x2ea393,_0xa32232=_0x15ef7e[_0x1841a4(0x291)]-0x1,_0x499095;_0xa32232>=0x0;_0xa32232--)(_0x499095=_0x15ef7e[_0xa32232])&&(_0x35fafe=_0x499095(_0x35fafe)||_0x35fafe);return _0x35fafe;},_0x4f9dca=(_0x2d976,_0x35bc95)=>(_0x5ada00,_0x3cac31)=>_0x35bc95(_0x5ada00,_0x3cac31,_0x2d976);const _0xfba9b5=0x1389;let _0x44c668=class extends _0x1f0974['RxDisposable']{constructor(_0x52ce0f,_0x181f4a,_0x218ad8,_0x5a986b){const _0x576caa=_0x28f4a5;super(),_0x264be0(this,_0x576caa(0x23a),new Set()),_0x264be0(this,_0x576caa(0x84),null),(this[_0x576caa(0xbc)]=_0x52ce0f,this['_sheetSkeletonManagerService']=_0x181f4a,this[_0x576caa(0xfa)]=_0x218ad8,this['_themeService']=_0x5a986b,this['_init']());}['_init'](){const _0x2f0f68=_0x28f4a5;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x10378c[_0x2f0f68(0x16a)](this['dispose$']),_0x10378c[_0x2f0f68(0x2fe)](_0x223ad2=>{const _0x2d09cf=_0x2f0f68;if(_0x223ad2){const _0x5cff90=_0x223ad2[_0x2d09cf(0x314)];return _0x48ec59[_0x2d09cf(0x1c3)](this[_0x2d09cf(0xfa)][_0x2d09cf(0x1a3)](this[_0x2d09cf(0xbc)][_0x2d09cf(0x2cf)]),this[_0x2d09cf(0x227)]['currentTheme$'])[_0x2d09cf(0x11c)](_0x10378c[_0x2d09cf(0x211)](([_0x4670b6,_0x3cd218])=>{const _0x2873b1=new Map();return _0x4670b6['forEach']((_0x2c0363,_0x3fe8d7)=>{const _0x4d3b70=_0x5ca7;if(_0x2c0363['sheetID']===_0x5cff90){const _0x38dada={..._0x2c0363};_0x38dada['color']=this[_0x4d3b70(0x227)][_0x4d3b70(0x2c2)](_0x2c0363[_0x4d3b70(0xe4)]),_0x2873b1['set'](_0x3fe8d7,_0x38dada);}}),{'skeleton':_0x223ad2,'cursors':_0x2873b1};}));}return _0x48ec59['of']({'skeleton':null,'cursors':new Map()});}))[_0x2f0f68(0x26e)](({skeleton:_0x5e2491,cursors:_0x147cd5})=>{const _0x1fa9a2=_0x2f0f68;this['_removeCollabCursors'](),_0x5e2491&&this[_0x1fa9a2(0x1b4)](_0x5e2491,_0x147cd5);}),this[_0x2f0f68(0x1d9)][_0x2f0f68(0x28d)][_0x2f0f68(0x26e)](_0x2e440c=>{const _0x2ae818=_0x2f0f68;if(_0x2e440c==null)return;const {skeleton:_0x90c3a8}=_0x2e440c,{scene:_0x48ac65}=this[_0x2ae818(0xbc)];_0x48ac65[_0x2ae818(0x132)][_0x2ae818(0x225)](_0x1f0974[_0x2ae818(0x301)](_0x350290=>{const _0x4012d1=_0x2ae818;var _0x30542d,_0x4f521b;const {offsetX:_0x564c2d,offsetY:_0x56a6db}=_0x350290,{x:_0x1bf2ce,y:_0xd8aa96}=_0x48ac65[_0x4012d1(0x20e)](_0xea5c4f[_0x4012d1(0x11e)]['FromArray']([_0x564c2d,_0x56a6db])),{scaleX:_0x42ec06,scaleY:_0x4435e3}=_0x48ac65[_0x4012d1(0x305)](),_0x16cc57=_0x48ac65[_0x4012d1(0x10b)](_0xea5c4f[_0x4012d1(0x1c0)]['VIEW_MAIN']),_0x125758=_0x48ac65['getVpScrollXYInfoByPosToVp'](_0xea5c4f['Vector2']['FromArray']([_0x1bf2ce,_0xd8aa96]),_0x16cc57),_0x1c8f6f=_0x90c3a8[_0x4012d1(0x2bd)](_0x564c2d,_0x56a6db,_0x42ec06,_0x4435e3,_0x125758);((_0x30542d=this[_0x4012d1(0x84)])==null?void 0x0:_0x30542d[_0x4012d1(0x2d5)])===_0x1c8f6f['column']&&((_0x4f521b=this[_0x4012d1(0x84)])==null?void 0x0:_0x4f521b[_0x4012d1(0x92)])===_0x1c8f6f[_0x4012d1(0x92)]||this[_0x4012d1(0x23a)][_0x4012d1(0x1ba)](_0x8d171f=>{const _0x135d9d=_0x4012d1;_0x8d171f[_0x135d9d(0x25c)](_0x1c8f6f);});},0x64));});}['_updateCollabCursors'](_0x45d0ec,_0xcafe12){const _0x1fd9fb=_0x28f4a5;var _0x1a7abb;const _0x3c79c4=(_0x1a7abb=this['_sheetSkeletonManagerService'][_0x1fd9fb(0x274)]())==null?void 0x0:_0x1a7abb[_0x1fd9fb(0x88)];if(!_0x3c79c4)return;const _0x5b79be=this[_0x1fd9fb(0x2e1)]();if(!_0x5b79be)return;this[_0x1fd9fb(0x23a)][_0x1fd9fb(0x1ba)](_0x204f46=>{_0x204f46['makeDirty']();});const {scene:_0x16e1d6}=_0x5b79be,_0x361709=_0x2cbc32(Array[_0x1fd9fb(0x178)](_0xcafe12[_0x1fd9fb(0x271)]()))[_0x1fd9fb(0x211)](_0x1514c3=>{const _0x2f7818=_0x1fd9fb,{color:_0x5da562,range:_0x2a5e82,name:_0x3f07ab,selection:_0x2be5b5,sheetID:_0x5d6535}=_0x1514c3,{startColumn:_0x4977c3,startRow:_0x3207b6,endColumn:_0x1b4e87,endRow:_0x53e314}=_0x2a5e82,_0x10c573=_0x5567d2['getCoordByCell'](_0x3207b6,_0x4977c3,_0x16e1d6,_0x3c79c4),_0x442ae0=_0x5567d2[_0x2f7818(0x11b)](_0x53e314,_0x1b4e87,_0x16e1d6,_0x3c79c4),{columnHeaderHeightAndMarginTop:_0x9da923}=_0x3c79c4,{startX:_0x5af250,startY:_0x5c433e}=_0x10c573,{endX:_0x3cd7dd,endY:_0x5385f8}=_0x442ae0,_0x368434=_0x3cd7dd-_0x5af250,_0x4a660f=_0x5385f8-_0x5c433e,_0x2e08f9={'labelPosition':_0x5c433e-_0x9da923>=_0x24b284?'top':_0x2f7818(0x2a1),'sheetID':_0x5d6535,'range':_0x2a5e82,'color':_0x5da562,'name':_0x3f07ab,'selection':_0x2be5b5,'left':_0x5af250,'top':_0x5c433e,'width':_0x368434,'height':_0x4a660f,'evented':!0x1,'zIndex':_0xfba9b5};return new _0xb7037c(_0x3f07ab,_0x2e08f9);});_0x16e1d6[_0x1fd9fb(0x230)](_0x361709,_0x225a0e),this[_0x1fd9fb(0x23a)]=new Set(_0x361709);}[_0x28f4a5(0xbf)](){const _0xf74f0a=_0x28f4a5;var _0x2c00d7;(_0x2c00d7=this['_cursors'])==null||_0x2c00d7[_0xf74f0a(0x1ba)](_0x3fb632=>_0x3fb632['dispose']());}[_0x28f4a5(0x2e1)](){const _0x42a3c0=_0x28f4a5;return _0x5567d2[_0x42a3c0(0x200)](this['_context']['unit'],this[_0x42a3c0(0xbc)]);}};_0x44c668=_0x12e008([_0x4f9dca(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x5567d2[_0x28f4a5(0x142)])),_0x4f9dca(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x475645)),_0x4f9dca(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x69)]))],_0x44c668);function _0x2cbc32(_0x367d57){const _0x15ab75=_0x28f4a5,_0x577770=new Map();return _0x367d57[_0x15ab75(0x1ba)](_0x282ae0=>{const _0x2f32a=_0x15ab75;if(_0x577770[_0x2f32a(0x2f8)](_0x282ae0[_0x2f32a(0x29b)])){const _0x11af82=_0x577770['get'](_0x282ae0[_0x2f32a(0x29b)]);_0x11af82[_0x2f32a(0x20a)]+=',\x20'+_0x282ae0[_0x2f32a(0x20a)];}else _0x577770[_0x2f32a(0x1cd)](_0x282ae0[_0x2f32a(0x29b)],_0x282ae0);}),Array['from'](_0x577770[_0x15ab75(0x271)]());}var _0x1864d4=function(){const _0x52d2a7=_0x28f4a5;return _0x1864d4=Object[_0x52d2a7(0x2ea)]||function(_0x31a8d1){const _0x52c1a7=_0x52d2a7;for(var _0x2acc0c,_0x512885=0x1,_0x88da1f=arguments[_0x52c1a7(0x291)];_0x512885<_0x88da1f;_0x512885++){_0x2acc0c=arguments[_0x512885];for(var _0x45182b in _0x2acc0c)Object[_0x52c1a7(0x264)][_0x52c1a7(0x149)][_0x52c1a7(0x1e4)](_0x2acc0c,_0x45182b)&&(_0x31a8d1[_0x45182b]=_0x2acc0c[_0x45182b]);}return _0x31a8d1;},_0x1864d4[_0x52d2a7(0x2dd)](this,arguments);},_0x303fe6=function(_0x2426e2,_0x2c0f90){const _0x41a2af=_0x28f4a5;var _0x373e43={};for(var _0x58fdc3 in _0x2426e2)Object[_0x41a2af(0x264)][_0x41a2af(0x149)][_0x41a2af(0x1e4)](_0x2426e2,_0x58fdc3)&&_0x2c0f90[_0x41a2af(0xac)](_0x58fdc3)<0x0&&(_0x373e43[_0x58fdc3]=_0x2426e2[_0x58fdc3]);if(_0x2426e2!=null&&typeof Object[_0x41a2af(0x15c)]==_0x41a2af(0x1e7)){for(var _0x2acf29=0x0,_0x58fdc3=Object[_0x41a2af(0x15c)](_0x2426e2);_0x2acf29<_0x58fdc3['length'];_0x2acf29++)_0x2c0f90['indexOf'](_0x58fdc3[_0x2acf29])<0x0&&Object[_0x41a2af(0x264)][_0x41a2af(0x19a)]['call'](_0x2426e2,_0x58fdc3[_0x2acf29])&&(_0x373e43[_0x58fdc3[_0x2acf29]]=_0x2426e2[_0x58fdc3[_0x2acf29]]);}return _0x373e43;},_0x2d19b2=_0x43f677[_0x28f4a5(0x8d)](function(_0x4b7fa5,_0x60258b){const _0x352a77=_0x28f4a5;var _0x3bf8b9=_0x4b7fa5[_0x352a77(0x235)],_0x216b27=_0x4b7fa5['id'],_0x306e27=_0x4b7fa5[_0x352a77(0xfc)],_0x28fd10=_0x4b7fa5['extend'],_0x185dae=_0x303fe6(_0x4b7fa5,[_0x352a77(0x235),'id',_0x352a77(0xfc),_0x352a77(0x2f2)]),_0x3a4ed3=_0x352a77(0x70)[_0x352a77(0x290)](_0x216b27,'\x20')['concat'](_0x306e27||'')[_0x352a77(0x1c1)](),_0x54f5b0=_0x43f677['useRef']('_'[_0x352a77(0x290)](_0x2980d4()));return _0x492296(_0x3bf8b9,''['concat'](_0x216b27),{'defIds':_0x3bf8b9['defIds'],'idSuffix':_0x54f5b0[_0x352a77(0xe6)]},_0x1864d4({'ref':_0x60258b,'className':_0x3a4ed3},_0x185dae),_0x28fd10);});function _0x492296(_0x1f80ff,_0x536432,_0x8cea80,_0x488008,_0x445d53){const _0x1c0d1f=_0x28f4a5;return _0x43f677[_0x1c0d1f(0x1e9)](_0x1f80ff[_0x1c0d1f(0x213)],_0x1864d4(_0x1864d4({'key':_0x536432},_0x108633(_0x1f80ff,_0x8cea80,_0x445d53)),_0x488008),(_0x5a4d03(_0x1f80ff,_0x8cea80)[_0x1c0d1f(0x71)]||[])[_0x1c0d1f(0x211)](function(_0x32df53,_0x42c7d9){const _0x1a349d=_0x1c0d1f;return _0x492296(_0x32df53,''['concat'](_0x536432,'-')[_0x1a349d(0x290)](_0x1f80ff[_0x1a349d(0x213)],'-')[_0x1a349d(0x290)](_0x42c7d9),_0x8cea80,void 0x0,_0x445d53);}));}function _0x108633(_0xc7bbd7,_0x2937a6,_0x5de525){const _0x193239=_0x28f4a5;var _0x1e431a=_0x1864d4({},_0xc7bbd7[_0x193239(0xee)]);_0x5de525!=null&&_0x5de525[_0x193239(0x24a)]&&_0x1e431a['fill']===_0x193239(0x24a)&&(_0x1e431a[_0x193239(0xc6)]=_0x5de525[_0x193239(0x24a)]),_0xc7bbd7[_0x193239(0x213)]===_0x193239(0xbb)&&_0x1e431a['id']&&(_0x1e431a['id']=_0x1e431a['id']+_0x2937a6[_0x193239(0xf8)]),Object[_0x193239(0x1a9)](_0x1e431a)[_0x193239(0x1ba)](function(_0x298d4f){const _0x47b1e0=_0x193239;var _0x3bafac=_0x298d4f[0x0],_0x485e52=_0x298d4f[0x1];_0x3bafac==='mask'&&typeof _0x485e52==_0x47b1e0(0x113)&&(_0x1e431a[_0x3bafac]=_0x485e52[_0x47b1e0(0x2f7)](/url\(#(.*)\)/,_0x47b1e0(0xce)[_0x47b1e0(0x290)](_0x2937a6[_0x47b1e0(0xf8)],')')));});var _0x1d5b73=_0x2937a6[_0x193239(0x188)];return!_0x1d5b73||_0x1d5b73[_0x193239(0x291)]===0x0||(_0xc7bbd7[_0x193239(0x213)]===_0x193239(0x2c8)&&_0x1e431a[_0x193239(0x20d)]&&(_0x1e431a[_0x193239(0x20d)]=_0x1e431a[_0x193239(0x20d)]+_0x2937a6[_0x193239(0xf8)]),Object['entries'](_0x1e431a)[_0x193239(0x1ba)](function(_0x48cf65){const _0x4956c9=_0x193239;var _0x220e00=_0x48cf65[0x0],_0x2886b7=_0x48cf65[0x1];typeof _0x2886b7=='string'&&(_0x1e431a[_0x220e00]=_0x2886b7['replace'](/url\(#(.*)\)/,_0x4956c9(0xce)[_0x4956c9(0x290)](_0x2937a6['idSuffix'],')')));})),_0x1e431a;}function _0x5a4d03(_0x291aee,_0x357154){const _0x265460=_0x28f4a5;var _0x505b50,_0x4ed6af=_0x357154['defIds'];return!_0x4ed6af||_0x4ed6af[_0x265460(0x291)]===0x0?_0x291aee:_0x291aee[_0x265460(0x213)]===_0x265460(0xd9)&&(!((_0x505b50=_0x291aee['children'])===null||_0x505b50===void 0x0)&&_0x505b50[_0x265460(0x291)])?_0x1864d4(_0x1864d4({},_0x291aee),{'children':_0x291aee[_0x265460(0x71)][_0x265460(0x211)](function(_0x295755){const _0x56f4d4=_0x265460;return typeof _0x295755[_0x56f4d4(0xee)]['id']==_0x56f4d4(0x113)&&_0x4ed6af&&_0x4ed6af[_0x56f4d4(0x196)](_0x295755['attrs']['id'])?_0x1864d4(_0x1864d4({},_0x295755),{'attrs':_0x1864d4(_0x1864d4({},_0x295755[_0x56f4d4(0xee)]),{'id':_0x295755[_0x56f4d4(0xee)]['id']+_0x357154[_0x56f4d4(0xf8)]})}):_0x295755;})}):_0x291aee;}function _0x2980d4(){const _0x567297=_0x28f4a5;return Math[_0x567297(0x27c)]()[_0x567297(0x29e)](0x24)[_0x567297(0xa4)](0x2,0x8);}_0x2d19b2[_0x28f4a5(0x1c9)]='UniverIcon';var _0x1d197f={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28f4a5(0x158),'viewBox':_0x28f4a5(0x1fe),'width':_0x28f4a5(0x2d1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28f4a5(0x18a)},'children':[{'tag':_0x28f4a5(0xf3),'attrs':{'stroke':_0x28f4a5(0x258),'d':_0x28f4a5(0x2b6),'strokeLinecap':_0x28f4a5(0x2dc),'strokeLinejoin':_0x28f4a5(0x2dc),'strokeWidth':1.2}}]},{'tag':_0x28f4a5(0xd9),'attrs':{},'children':[{'tag':_0x28f4a5(0x1f3),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x28f4a5(0x1af),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x28f4a5(0x1d5)]},_0x8d95bb=_0x43f677[_0x28f4a5(0x8d)](function(_0x1e19da,_0x468307){const _0x2d2c1c=_0x28f4a5;return _0x43f677['createElement'](_0x2d19b2,Object['assign']({},_0x1e19da,{'id':_0x2d2c1c(0x24e),'ref':_0x468307,'icon':_0x1d197f}));});_0x8d95bb[_0x28f4a5(0x1c9)]=_0x28f4a5(0x1ad);var _0x46acf3={'tag':'svg','attrs':{'xmlns':_0x28f4a5(0x162),'fill':_0x28f4a5(0x158),'viewBox':_0x28f4a5(0x1cc),'width':_0x28f4a5(0x2d1),'height':_0x28f4a5(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x28f4a5(0x25f)},'children':[{'tag':'path','attrs':{'stroke':_0x28f4a5(0x258),'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':'round','strokeLinejoin':_0x28f4a5(0x2dc),'strokeWidth':1.2}}]},{'tag':_0x28f4a5(0xd9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x28f4a5(0x268)},'children':[{'tag':_0x28f4a5(0xf3),'attrs':{'fill':_0x28f4a5(0x1af),'d':_0x28f4a5(0x248),'transform':_0x28f4a5(0x1b5)}}]}]}],'defIds':[_0x28f4a5(0x268)]},_0x35c13a=_0x43f677['forwardRef'](function(_0x22d478,_0x528b85){return _0x43f677['createElement'](_0x2d19b2,Object['assign']({},_0x22d478,{'id':'on-line-icon','ref':_0x528b85,'icon':_0x46acf3}));});_0x35c13a['displayName']=_0x28f4a5(0x18f);function _0x97b1f9(_0x3828cf){const _0x4bf088=_0x28f4a5;switch(_0x3828cf){case _0xec9e8c['CollaborationStatus'][_0x4bf088(0x1e8)]:return _0x4bf088(0x167);case _0xec9e8c[_0x4bf088(0x2ac)]['CONFLICT']:return _0x4bf088(0x1ac);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x2db)]:return'collabStatus.fetchMiss';case _0xec9e8c['CollaborationStatus'][_0x4bf088(0x129)]:return _0x4bf088(0x136);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x124)]:case _0xec9e8c[_0x4bf088(0x2ac)]['AWAITING_WITH_PENDING']:return _0x4bf088(0x2d0);case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x97)]:case _0xec9e8c[_0x4bf088(0x2ac)][_0x4bf088(0x12c)]:return'collabStatus.synced';}}function _0x225d9d(_0x439881){const _0x5843c3=_0x28f4a5,{status$:_0x3c31dc}=_0x439881,_0x2b2f68=_0xc1035a['useObservable'](_0x3c31dc,_0xec9e8c['CollaborationStatus'][_0x5843c3(0x129)]),_0x13d549=_0xc1035a[_0x5843c3(0x14f)](_0x1f0974['LocaleService']),_0x3a5073=_0xc1035a[_0x5843c3(0x14f)](_0xec9e8c[_0x5843c3(0x8b)]),_0x3be435=_0x2b2f68!==_0xec9e8c[_0x5843c3(0x2ac)]['OFFLINE'],_0x4d9c38=_0x13d549['t'](_0x97b1f9(_0x2b2f68)),_0x107d0a=_0x3be435?_0x250e26[_0x5843c3(0x2d4)](_0x35c13a,{}):_0x250e26['jsx'](_0x8d95bb,{}),_0x111fe1=_0x43f677[_0x5843c3(0x75)](()=>{const _0x91b884=_0x5843c3;_0x3be435||_0x3a5073[_0x91b884(0xc8)]();},[_0x3be435,_0x3a5073]);function _0x11bf71(){const _0x17e3a4=_0x5843c3;return _0x250e26[_0x17e3a4(0x14c)](_0x17e3a4(0x292),{'className':_0x17e3a4(0x156),'onClick':_0x111fe1,'children':[_0x250e26['jsx'](_0x17e3a4(0x292),{'className':_0x35f566['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3be435,'univer-text-red-500':!_0x3be435}),'children':_0x107d0a}),_0x250e26[_0x17e3a4(0x2d4)]('div',{'className':_0x17e3a4(0x27b),'children':_0x4d9c38})]});}return _0x3be435?_0x11bf71():_0x250e26[_0x5843c3(0x2d4)](_0x35f566['Tooltip'],{'title':_0x13d549['t'](_0x5843c3(0xcc)),'children':_0x11bf71()});}var _0x548a19=Object[_0x28f4a5(0x2b1)],_0x5a4b7e=(_0x1254cc,_0x5302c6,_0x374d6e,_0xf87e0c)=>{const _0x32c345=_0x28f4a5;for(var _0x313023=_0xf87e0c>0x1?void 0x0:_0xf87e0c?_0x548a19(_0x5302c6,_0x374d6e):_0x5302c6,_0x330f33=_0x1254cc[_0x32c345(0x291)]-0x1,_0x59ada2;_0x330f33>=0x0;_0x330f33--)(_0x59ada2=_0x1254cc[_0x330f33])&&(_0x313023=_0x59ada2(_0x313023)||_0x313023);return _0x313023;},_0x1dabf9=(_0x42e0df,_0x23a899)=>(_0x33ce2f,_0x2047cb)=>_0x23a899(_0x33ce2f,_0x2047cb,_0x42e0df);_0x35b504[_0x28f4a5(0x76)]=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x3f09dd,_0x1c8158,_0xc0c6f6,_0x12b156){const _0x3905ce=_0x28f4a5;super(),_0x264be0(this,_0x3905ce(0x1ab),new _0x48ec59[(_0x3905ce(0x21f))](_0xec9e8c[_0x3905ce(0x2ac)][_0x3905ce(0x129)])),(this[_0x3905ce(0x1bd)]=_0x3f09dd,this[_0x3905ce(0x2f0)]=_0x1c8158,this[_0x3905ce(0x146)]=_0xc0c6f6,this[_0x3905ce(0x2f5)]=_0x12b156,this['_initStatusComponent'](),this[_0x3905ce(0x19e)]());}[_0x28f4a5(0x19e)](){const _0xf9b051=_0x28f4a5;this['disposeWithMe'](this[_0xf9b051(0x1bd)]['focused$'][_0xf9b051(0x11c)](_0x48ec59['switchMap'](()=>{const _0x5cfe10=_0xf9b051,_0x1c0533=this[_0x5cfe10(0x1bd)]['getFocusedUnit']();return _0x1c0533?this[_0x5cfe10(0x146)]['getCollabEntity$'](_0x1c0533[_0x5cfe10(0x10a)]()):_0x48ec59['of'](null);}),_0x48ec59[_0xf9b051(0x2fe)](_0xee6088=>_0xee6088?_0xee6088[_0xf9b051(0x2e7)]:_0x48ec59['of'](_0xec9e8c[_0xf9b051(0x2ac)][_0xf9b051(0x129)])))[_0xf9b051(0x26e)](_0xf8d2cc=>{const _0x4ecf2b=_0xf9b051;this[_0x4ecf2b(0x1ab)][_0x4ecf2b(0x283)](_0xf8d2cc);}));}[_0x28f4a5(0x284)](){const _0x2104c6=_0x28f4a5;this[_0x2104c6(0x2f6)](this['_uiPartsService'][_0x2104c6(0xc0)](_0xc1035a[_0x2104c6(0x1d3)][_0x2104c6(0x15d)],()=>_0xc1035a[_0x2104c6(0x7c)](_0x4706c3({'status$':this['_status$'][_0x2104c6(0xc3)]()}),this[_0x2104c6(0x2f0)])));}},_0x35b504[_0x28f4a5(0x76)]=_0x5a4b7e([_0x1dabf9(0x0,_0x1f0974['IUniverInstanceService']),_0x1dabf9(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x1dabf9(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c['CollaborationController'])),_0x1dabf9(0x3,_0xc1035a[_0x28f4a5(0x107)])],_0x35b504['DesktopCollaborationStatusDisplayController']);function _0x4706c3(_0x43a541){const {status$:_0x54b59f}=_0x43a541;return function(){const _0x19329a=_0x5ca7;return _0x250e26[_0x19329a(0x2d4)](_0x225d9d,{'status$':_0x54b59f});};}var _0x1d87aa=Object[_0x28f4a5(0x2b1)],_0x333535=(_0x1f2e9c,_0x363d61,_0x5e1a21,_0x1466e8)=>{const _0x389f60=_0x28f4a5;for(var _0x5b8289=_0x1466e8>0x1?void 0x0:_0x1466e8?_0x1d87aa(_0x363d61,_0x5e1a21):_0x363d61,_0x5cfe3a=_0x1f2e9c[_0x389f60(0x291)]-0x1,_0x31ef67;_0x5cfe3a>=0x0;_0x5cfe3a--)(_0x31ef67=_0x1f2e9c[_0x5cfe3a])&&(_0x5b8289=_0x31ef67(_0x5b8289)||_0x5b8289);return _0x5b8289;},_0x4d118d=(_0x26e957,_0x2004bd)=>(_0x2541b2,_0x22858b)=>_0x2004bd(_0x2541b2,_0x22858b,_0x26e957);let _0x46e5e5=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x14afc8,_0x3f0c89,_0x154c52,_0x2b6dd2,_0x2a834f,_0x3eb950){const _0x23b5a1=_0x28f4a5;super(),this[_0x23b5a1(0x119)]=_0x14afc8,this[_0x23b5a1(0x13e)]=_0x3f0c89,this[_0x23b5a1(0x95)]=_0x154c52,this[_0x23b5a1(0x1d1)]=_0x2b6dd2,this['_notificationService']=_0x2a834f,this[_0x23b5a1(0x127)]=_0x3eb950,this[_0x23b5a1(0x1ef)](),this[_0x23b5a1(0x2ae)]();}[_0x28f4a5(0x1ef)](){const _0x5953f6=_0x28f4a5;this['disposeWithMe'](this[_0x5953f6(0x119)]['registerBeforeClose'](()=>{const _0x8c8747=_0x5953f6;if(this[_0x8c8747(0x13e)][_0x8c8747(0x273)]['size'])return this[_0x8c8747(0x127)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2bf7b1=_0x28f4a5;this['disposeWithMe'](this[_0x2bf7b1(0x95)][_0x2bf7b1(0x121)][_0x2bf7b1(0x26e)](_0x28825e=>{const _0x4575a7=_0x2bf7b1;_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0x2b0)]&&this[_0x4575a7(0x1d1)]['show']({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x157))}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0xc1)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x11f))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x7e)]&&this[_0x4575a7(0x2aa)][_0x4575a7(0xd2)]({'title':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x255)),'content':this[_0x4575a7(0x127)]['t']('permission.content'),'type':_0x4575a7(0xf4),'duration':0x0}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0xff)]&&this['_messageService']['show']({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x20c)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x11f))+'('+_0x28825e[_0x4575a7(0x269)]+')'}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x2eb)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x28825e[_0x4575a7(0x269)]||'')}),_0x28825e['id']===_0xec9e8c['CollaborationUIEventId'][_0x4575a7(0x2a3)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x2be)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0xec))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x260)]&&this[_0x4575a7(0x1d1)]['show']({'type':_0x35f566['MessageType'][_0x4575a7(0x20c)],'content':this['_localeService']['t'](_0x4575a7(0xd3))}),_0x28825e['id']===_0xec9e8c[_0x4575a7(0x204)][_0x4575a7(0x1f5)]&&this[_0x4575a7(0x1d1)][_0x4575a7(0xd2)]({'type':_0x35f566[_0x4575a7(0x309)][_0x4575a7(0x20c)],'content':this[_0x4575a7(0x127)]['t'](_0x4575a7(0x24b))});}));}};_0x46e5e5=_0x333535([_0x4d118d(0x0,_0xc1035a[_0x28f4a5(0x249)]),_0x4d118d(0x1,_0xec9e8c['ILocalCacheService']),_0x4d118d(0x2,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0x14a)])),_0x4d118d(0x3,_0xc1035a['IMessageService']),_0x4d118d(0x4,_0xc1035a[_0x28f4a5(0x27e)]),_0x4d118d(0x5,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['LocaleService']))],_0x46e5e5);const _0x3f6f88=_0x28f4a5(0x2a9),_0x52f91b={},_0x4d62b6=_0x1f0974[_0x28f4a5(0x244)](_0x28f4a5(0x246));var _0x1100a2=Object[_0x28f4a5(0x2b1)],_0x5de526=(_0x4a2dbd,_0x8e5f4a,_0x45b3fe,_0x39298a)=>{const _0x35d49e=_0x28f4a5;for(var _0x4b82e9=_0x39298a>0x1?void 0x0:_0x39298a?_0x1100a2(_0x8e5f4a,_0x45b3fe):_0x8e5f4a,_0x4e6bb0=_0x4a2dbd[_0x35d49e(0x291)]-0x1,_0x59cc1c;_0x4e6bb0>=0x0;_0x4e6bb0--)(_0x59cc1c=_0x4a2dbd[_0x4e6bb0])&&(_0x4b82e9=_0x59cc1c(_0x4b82e9)||_0x4b82e9);return _0x4b82e9;},_0x266115=(_0x32f978,_0x2104d9)=>(_0x51cbb9,_0x1d2c79)=>_0x2104d9(_0x51cbb9,_0x1d2c79,_0x32f978);_0x35b504['CollaborationDataLoaderController']=class extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(_0x488552,_0x27eeda,_0x17223b,_0x1f07e5,_0x110adf){const _0xcdbe8=_0x28f4a5;super(),this[_0xcdbe8(0x90)]=_0x488552,this['_logService']=_0x27eeda,this[_0xcdbe8(0x2d6)]=_0x17223b,this[_0xcdbe8(0x229)]=_0x1f07e5,_0x110adf?_0x110adf==null||_0x110adf[_0xcdbe8(0xef)]()[_0xcdbe8(0x223)](()=>this['_init']()):(this['_logService'][_0xcdbe8(0x80)](_0xcdbe8(0x1dc),_0xcdbe8(0x1e2)),this['_init']());}async[_0x28f4a5(0x203)](){const _0xd6c5d1=_0x28f4a5,_0x46748b=this[_0xd6c5d1(0x90)][_0xd6c5d1(0x242)](_0xd6c5d1(0x28b)),_0x3f0839=this[_0xd6c5d1(0x90)]['getParam'](_0xd6c5d1(0x175)),_0x172ee8=this[_0xd6c5d1(0x90)]['getParam'](_0xd6c5d1(0x2d7));if(!_0x46748b||!_0x3f0839){this[_0xd6c5d1(0x287)][_0xd6c5d1(0x80)](_0xd6c5d1(0x1dc),_0xd6c5d1(0x1a6));return;}const _0xf8190b=await this[_0xd6c5d1(0x229)][_0xd6c5d1(0x1bc)](_0x46748b,Number(_0x3f0839),_0x172ee8);_0xf8190b&&_0xf8190b instanceof _0x1f0974[_0xd6c5d1(0xd8)]&&this[_0xd6c5d1(0x1d4)](_0xf8190b);}async['_setupSubUnitSync'](_0x11a14e){const _0x414d60=_0x28f4a5;await this[_0x414d60(0x115)](_0x11a14e),_0x11a14e[_0x414d60(0x299)][_0x414d60(0x11c)](_0x48ec59[_0x414d60(0x16a)](this[_0x414d60(0x29f)]))[_0x414d60(0x26e)](_0x460329=>{const _0x2d552f=_0x414d60;_0x460329&&this[_0x2d552f(0x272)](_0x460329);}),this['_urlService'][_0x414d60(0x189)][_0x414d60(0x11c)](_0x48ec59[_0x414d60(0x16a)](this[_0x414d60(0x29f)]))[_0x414d60(0x26e)](()=>this['_updateSubUnitFromURLParams'](_0x11a14e));}[_0x28f4a5(0x272)](_0xd039e1,_0x106f2d=!0x1){const _0x3cb469=_0x28f4a5,_0x13fd4e=this['_urlService']['getParam']('subunit');_0xd039e1[_0x3cb469(0x108)]()!==_0x13fd4e&&this['_urlService'][_0x3cb469(0x166)](_0x3cb469(0x2d7),_0xd039e1[_0x3cb469(0x108)](),_0x106f2d);}async[_0x28f4a5(0x115)](_0x4996e6){const _0x1731f9=_0x28f4a5;var _0x4e0299;const _0x501895=this['_urlService'][_0x1731f9(0x242)](_0x1731f9(0x2d7));if(!_0x501895||!_0x4996e6[_0x1731f9(0x74)](_0x501895)){const _0x5e1604=_0x4996e6[_0x1731f9(0x87)]()[0x0],_0x4f05ae=_0x4996e6[_0x1731f9(0x74)](_0x5e1604);if(!_0x4f05ae)return;this[_0x1731f9(0x272)](_0x4f05ae,!0x0),await this['_commandService'][_0x1731f9(0x116)](_0x21292e[_0x1731f9(0x2b9)]['id'],{'unitId':_0x4996e6[_0x1731f9(0x10a)](),'subUnitId':_0x5e1604});return;}((_0x4e0299=_0x4996e6[_0x1731f9(0x276)]())==null?void 0x0:_0x4e0299[_0x1731f9(0x108)]())!==_0x501895&&await this['_commandService']['executeCommand'](_0x21292e[_0x1731f9(0x2b9)]['id'],{'unitId':_0x4996e6['getUnitId'](),'subUnitId':_0x501895});}},_0x35b504['CollaborationDataLoaderController']=_0x5de526([_0x266115(0x0,_0x4d62b6),_0x266115(0x1,_0x1f0974[_0x28f4a5(0x2c5)]),_0x266115(0x2,_0x1f0974[_0x28f4a5(0x145)]),_0x266115(0x3,_0x1f0974['Inject'](_0xec9e8c[_0x28f4a5(0x304)])),_0x266115(0x4,_0x1f0974[_0x28f4a5(0x228)](_0x2f31d3[_0x28f4a5(0x279)]))],_0x35b504[_0x28f4a5(0x27f)]);var _0xcf69aa=Object['getOwnPropertyDescriptor'],_0x812f2f=(_0xc36356,_0x55e64d,_0x913d6d,_0x47b5c2)=>{const _0x41f887=_0x28f4a5;for(var _0x3eabe3=_0x47b5c2>0x1?void 0x0:_0x47b5c2?_0xcf69aa(_0x55e64d,_0x913d6d):_0x55e64d,_0x174710=_0xc36356[_0x41f887(0x291)]-0x1,_0xe3a8a4;_0x174710>=0x0;_0x174710--)(_0xe3a8a4=_0xc36356[_0x174710])&&(_0x3eabe3=_0xe3a8a4(_0x3eabe3)||_0x3eabe3);return _0x3eabe3;},_0x4119e4=(_0x163b1e,_0x396094)=>(_0x1f5137,_0x136cd2)=>_0x396094(_0x1f5137,_0x136cd2,_0x163b1e);let _0x2636ee=class{constructor(_0x199aa7,_0x51526d,_0x185518){const _0x43e457=_0x28f4a5;this[_0x43e457(0x2f0)]=_0x199aa7,this[_0x43e457(0x174)]=_0x51526d,this['_renderManagerService']=_0x185518;}[_0x28f4a5(0x7f)](_0x30ad8b){const _0xc522f7=_0x28f4a5;this[_0xc522f7(0x1c4)](_0x30ad8b),this[_0xc522f7(0x154)](_0x30ad8b);}[_0x28f4a5(0x253)](_0x16b415){const _0x33c11b=_0x28f4a5,{unitID:_0x59f759}=_0x16b415,_0x9debb8=this[_0x33c11b(0x1f4)][_0x33c11b(0x17d)](_0x59f759)[_0x33c11b(0x226)](_0x94087b['DocIMEInputManagerService']),{redoCache:_0x4b84c4}=_0x9debb8['getUndoRedoMutationParamsCache']();if(_0x4b84c4[_0x33c11b(0x291)]===0x0)return _0x16b415;let _0x243aab=_0x1f0974['Tools'][_0x33c11b(0x17e)](_0x16b415[_0x33c11b(0x1c5)][0x0]);for(let _0x1ceb48=0x0;_0x1ceb48<_0x4b84c4[_0x33c11b(0x291)];_0x1ceb48++){const _0x992b7c={'id':_0x33c11b(0x2a4),'params':{..._0x4b84c4[_0x1ceb48]}},_0x4aef39=this['_transformService'][_0x33c11b(0x13a)](_0x243aab,_0x992b7c,!0x1);if(_0x22d2f7[_0x33c11b(0x23e)](_0x4aef39))throw _0x4aef39[_0x33c11b(0xf4)];_0x243aab=_0x4aef39['m1Prime'];}return{..._0x1f0974['Tools'][_0x33c11b(0x17e)](_0x16b415),'mutations':[_0x243aab]};}['_transformUndoRedoStack'](_0x120399){const _0x3e7c7c=_0x28f4a5,{unitID:_0xcc8878}=_0x120399,_0x1040b7=this['_renderManagerService']['getRenderById'](_0xcc8878)[_0x3e7c7c(0x226)](_0x94087b[_0x3e7c7c(0x16c)]),{undoCache:_0x24c53b,redoCache:_0x54dfcd}=_0x1040b7['getUndoRedoMutationParamsCache']();if(_0x24c53b['length']===0x0||_0x54dfcd['length']===0x0)return;const _0x255f54=[],_0x1c6cc3=[];let _0x3138ae=_0x1f0974[_0x3e7c7c(0x1dd)][_0x3e7c7c(0x17e)](_0x120399[_0x3e7c7c(0x1c5)][0x0]),_0x3526af=_0x1f0974[_0x3e7c7c(0x1dd)][_0x3e7c7c(0x17e)](_0x120399['mutations'][0x0]);for(let _0xd11656=_0x24c53b[_0x3e7c7c(0x291)]-0x1;_0xd11656>=0x0;_0xd11656--){const _0x2957c5={'id':_0x3e7c7c(0x2a4),'params':{..._0x24c53b[_0xd11656]}},_0xaa0b25={'id':'doc.mutation.rich-text-editing','params':{..._0x54dfcd[_0xd11656]}},_0x37bc44=this[_0x3e7c7c(0x174)][_0x3e7c7c(0x13a)](_0x3138ae,_0x2957c5,!0x1),_0x19d839=this[_0x3e7c7c(0x174)][_0x3e7c7c(0x13a)](_0x3526af,_0xaa0b25,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0x37bc44))throw _0x37bc44[_0x3e7c7c(0xf4)];if(_0x22d2f7[_0x3e7c7c(0x23e)](_0x19d839))throw _0x19d839['error'];_0x255f54['unshift'](_0x37bc44['m2Prime'][_0x3e7c7c(0xf0)]),_0x1c6cc3['unshift'](_0x19d839[_0x3e7c7c(0x190)][_0x3e7c7c(0xf0)]),_0x3138ae=_0x37bc44['m1Prime'],_0x3526af=_0x19d839[_0x3e7c7c(0x16e)];}_0x1040b7['setUndoRedoMutationParamsCache']({'undoCache':_0x255f54,'redoCache':_0x1c6cc3});}['_transformPreviousActiveRange'](_0x1bc84f){const _0x3ba3dd=_0x28f4a5,{unitID:_0x196093}=_0x1bc84f,_0x3a9673=this['_renderManagerService'][_0x3ba3dd(0x17d)](_0x196093)[_0x3ba3dd(0x226)](_0x94087b[_0x3ba3dd(0x16c)]),_0x30dff9=_0x3a9673[_0x3ba3dd(0x1be)]();if(_0x30dff9==null)return;const _0x39ce4e=[{'id':_0x3ba3dd(0x2a4),'params':{'unitId':_0x1bc84f[_0x3ba3dd(0xc4)],'actions':null,'textRanges':[_0x30dff9]}}],_0x35ba7a=this[_0x3ba3dd(0x174)][_0x3ba3dd(0x219)](_0x1bc84f,_0x39ce4e);if(!_0x22d2f7[_0x3ba3dd(0x25b)](_0x35ba7a))throw _0x35ba7a[_0x3ba3dd(0xf4)];const _0x11afe2=_0x35ba7a[_0x3ba3dd(0x190)][0x0]['params'][_0x3ba3dd(0x165)];Array[_0x3ba3dd(0x2d3)](_0x11afe2)&&_0x11afe2[_0x3ba3dd(0x291)]&&_0x3a9673[_0x3ba3dd(0x8c)](_0x11afe2[0x0]);}};_0x2636ee=_0x812f2f([_0x4119e4(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['Injector'])),_0x4119e4(0x1,_0x22d2f7['ITransformService']),_0x4119e4(0x2,_0xea5c4f['IRenderManagerService'])],_0x2636ee);var _0x215a65=Object[_0x28f4a5(0x2b1)],_0x20c325=(_0x5451a7,_0x4c61a1,_0x1d1aba,_0x26dea5)=>{const _0x105fb4=_0x28f4a5;for(var _0x27362c=_0x26dea5>0x1?void 0x0:_0x26dea5?_0x215a65(_0x4c61a1,_0x1d1aba):_0x4c61a1,_0x343583=_0x5451a7[_0x105fb4(0x291)]-0x1,_0x5d3b7e;_0x343583>=0x0;_0x343583--)(_0x5d3b7e=_0x5451a7[_0x343583])&&(_0x27362c=_0x5d3b7e(_0x27362c)||_0x27362c);return _0x27362c;},_0x3fb798=(_0x497b82,_0x98a087)=>(_0x132a55,_0x298ae7)=>_0x98a087(_0x132a55,_0x298ae7,_0x497b82);let _0x546981=class{constructor(_0x3d1d31,_0x49fffd,_0xe3579e){const _0x288e2f=_0x28f4a5;this[_0x288e2f(0x2f0)]=_0x3d1d31,this[_0x288e2f(0x174)]=_0x49fffd,this[_0x288e2f(0x199)]=_0xe3579e;}[_0x28f4a5(0x2c1)](_0x184c17){const _0x1d56ea=_0x28f4a5;this[_0x1d56ea(0x143)](_0x184c17);}[_0x28f4a5(0x253)](_0x296c0a){const _0xc41b7d=_0x28f4a5,{unitID:_0x143be8}=_0x296c0a,{collaboration:_0x4e601d}=this[_0xc41b7d(0x199)]['getStateCache'](_0x143be8);if(_0x4e601d[_0xc41b7d(0x291)]===0x0)return _0x296c0a;let _0x2a63aa=_0x1f0974[_0xc41b7d(0x1dd)][_0xc41b7d(0x17e)](_0x296c0a[_0xc41b7d(0x1c5)][0x0]);for(let _0x59875d=0x0;_0x59875d<_0x4e601d['length'];_0x59875d++){const _0x11d00e={'id':_0xc41b7d(0x2a4),'params':{'unitId':_0x4e601d[_0x59875d][_0xc41b7d(0x2cf)],..._0x4e601d[_0x59875d][_0xc41b7d(0x30c)]}},_0x457537=this[_0xc41b7d(0x174)][_0xc41b7d(0x13a)](_0x2a63aa,_0x11d00e,!0x1);if(_0x22d2f7[_0xc41b7d(0x23e)](_0x457537))throw _0x457537['error'];_0x2a63aa=_0x457537['m1Prime'];}return{..._0x1f0974[_0xc41b7d(0x1dd)][_0xc41b7d(0x17e)](_0x296c0a),'mutations':[_0x2a63aa]};}[_0x28f4a5(0x143)](_0xbe7344){const _0x18e040=_0x28f4a5,{unitID:_0x293ce8}=_0xbe7344,{history:_0x483ef2,collaboration:_0x2ac848}=this[_0x18e040(0x199)][_0x18e040(0x256)](_0x293ce8);if(_0x483ef2['length']===0x0&&_0x2ac848[_0x18e040(0x291)]===0x0)return;const _0x3ff5f7=[],_0x294b61=[];let _0x29dd9a=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344[_0x18e040(0x1c5)][0x0]),_0x421321=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344['mutations'][0x0]);for(let _0x51771c=_0x483ef2[_0x18e040(0x291)]-0x1;_0x51771c>=0x0;_0x51771c--){const _0x13624e={'id':_0x18e040(0x2a4),'params':{'unitId':_0x483ef2[_0x51771c][_0x18e040(0x2cf)],..._0x483ef2[_0x51771c][_0x18e040(0x221)]}},_0x53849a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x483ef2[_0x51771c][_0x18e040(0x2cf)],..._0x483ef2[_0x51771c]['redoState']}},_0x31232c=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x29dd9a,_0x13624e,!0x1),_0x52eb81=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x421321,_0x53849a,!0x1);if(_0x22d2f7[_0x18e040(0x23e)](_0x31232c))throw _0x31232c[_0x18e040(0xf4)];if(_0x22d2f7[_0x18e040(0x23e)](_0x52eb81))throw _0x52eb81[_0x18e040(0xf4)];_0x3ff5f7[_0x18e040(0x17a)]({..._0x483ef2[_0x51771c],'undoState':_0x31232c[_0x18e040(0x190)]['params'],'redoState':_0x52eb81[_0x18e040(0x190)][_0x18e040(0xf0)]}),_0x29dd9a=_0x31232c[_0x18e040(0x16e)],_0x421321=_0x52eb81[_0x18e040(0x16e)];}_0x29dd9a=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344[_0x18e040(0x1c5)][0x0]),_0x421321=_0x1f0974[_0x18e040(0x1dd)][_0x18e040(0x17e)](_0xbe7344['mutations'][0x0]);for(let _0x3c832b=_0x2ac848[_0x18e040(0x291)]-0x1;_0x3c832b>=0x0;_0x3c832b--){const _0x3fc04c={'id':_0x18e040(0x2a4),'params':{'unitId':_0x2ac848[_0x3c832b][_0x18e040(0x2cf)],..._0x2ac848[_0x3c832b][_0x18e040(0x221)]}},_0x5a5a8f={'id':_0x18e040(0x2a4),'params':{'unitId':_0x2ac848[_0x3c832b][_0x18e040(0x2cf)],..._0x2ac848[_0x3c832b][_0x18e040(0x30c)]}},_0xb7c24d=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x29dd9a,_0x3fc04c,!0x1),_0xa221df=this[_0x18e040(0x174)][_0x18e040(0x13a)](_0x421321,_0x5a5a8f,!0x1);if(_0x22d2f7['isTransformMutationFailure'](_0xb7c24d))throw _0xb7c24d['error'];if(_0x22d2f7['isTransformMutationFailure'](_0xa221df))throw _0xa221df['error'];_0x294b61[_0x18e040(0x17a)]({..._0x2ac848[_0x3c832b],'undoState':_0xb7c24d[_0x18e040(0x190)][_0x18e040(0xf0)],'redoState':_0xa221df[_0x18e040(0x190)][_0x18e040(0xf0)]}),_0x29dd9a=_0xb7c24d[_0x18e040(0x16e)],_0x421321=_0xa221df[_0x18e040(0x16e)];}this[_0x18e040(0x199)][_0x18e040(0x6a)](_0x293ce8,{'history':_0x3ff5f7,'collaboration':_0x294b61});}};_0x546981=_0x20c325([_0x3fb798(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['Injector'])),_0x3fb798(0x1,_0x22d2f7[_0x28f4a5(0x2e4)]),_0x3fb798(0x2,_0x1f0974['Inject'](_0x94087b['DocStateChangeManagerService']))],_0x546981);var _0x3f02d2=Object[_0x28f4a5(0x2b1)],_0x217af5=(_0x4b5c3b,_0x5b5ceb,_0x4186d2,_0x3eb12a)=>{const _0x8f845a=_0x28f4a5;for(var _0x4768f6=_0x3eb12a>0x1?void 0x0:_0x3eb12a?_0x3f02d2(_0x5b5ceb,_0x4186d2):_0x5b5ceb,_0x1d75f5=_0x4b5c3b[_0x8f845a(0x291)]-0x1,_0x2d5443;_0x1d75f5>=0x0;_0x1d75f5--)(_0x2d5443=_0x4b5c3b[_0x1d75f5])&&(_0x4768f6=_0x2d5443(_0x4768f6)||_0x4768f6);return _0x4768f6;},_0x332a53=(_0x2424ea,_0x1b71b2)=>(_0x58b493,_0x594781)=>_0x1b71b2(_0x58b493,_0x594781,_0x2424ea);let _0x3b1666=class{constructor(_0xb75d8,_0x20b180){const _0x19d7c2=_0x28f4a5;this[_0x19d7c2(0x2f0)]=_0xb75d8,this[_0x19d7c2(0x174)]=_0x20b180;}[_0x28f4a5(0x16b)](_0x196df3){const _0x2dac6b=_0x28f4a5;var _0x5388bc;const _0x571f27=this[_0x2dac6b(0x2f0)][_0x2dac6b(0x1ae)](_0x307c6b[_0x2dac6b(0x222)]),_0x428c3c=(_0x5388bc=_0x571f27['getDocRanges']())!=null?_0x5388bc:[];if(_0x428c3c[_0x2dac6b(0x291)]===0x0)return;const _0x28d814=_0x196df3['unitID'],_0x4956c4=[{'id':_0x2dac6b(0x2a4),'params':{'unitId':_0x28d814,'actions':null,'textRanges':_0x428c3c}}],_0x463ed1=this[_0x2dac6b(0x174)]['transformMutationsWithChangeset'](_0x196df3,_0x4956c4);if(!_0x22d2f7[_0x2dac6b(0x25b)](_0x463ed1))throw _0x463ed1[_0x2dac6b(0xf4)];const _0x11236f=_0x463ed1[_0x2dac6b(0x190)][0x0][_0x2dac6b(0xf0)][_0x2dac6b(0x165)];Array[_0x2dac6b(0x2d3)](_0x11236f)&&_0x11236f[_0x2dac6b(0x291)]&&_0x571f27[_0x2dac6b(0x312)](_0x11236f,{'unitId':_0x28d814,'subUnitId':_0x28d814},!0x1);}};_0x3b1666=_0x217af5([_0x332a53(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974[_0x28f4a5(0x2a5)])),_0x332a53(0x1,_0x22d2f7[_0x28f4a5(0x2e4)])],_0x3b1666);var _0x3cfd63=Object[_0x28f4a5(0x2b1)],_0x260adb=(_0x146fd1,_0x3018a3,_0xf26255,_0x3be577)=>{for(var _0x355110=_0x3be577>0x1?void 0x0:_0x3be577?_0x3cfd63(_0x3018a3,_0xf26255):_0x3018a3,_0x5c87ba=_0x146fd1['length']-0x1,_0x599a20;_0x5c87ba>=0x0;_0x5c87ba--)(_0x599a20=_0x146fd1[_0x5c87ba])&&(_0x355110=_0x599a20(_0x355110)||_0x355110);return _0x355110;},_0x1f1d67=(_0x17343e,_0xc87f2f)=>(_0x489970,_0xf5334)=>_0xc87f2f(_0x489970,_0xf5334,_0x17343e);let _0x406355=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x5068fd,_0x1710c8,_0x5cf788,_0x5984e5,_0x417ce7,_0x1e505c,_0x39b1f7,_0x5d5a7f){const _0x397eb7=_0x28f4a5;super(),_0x264be0(this,_0x397eb7(0x1ab),new _0x48ec59[(_0x397eb7(0x21f))](_0xec9e8c[_0x397eb7(0x2ac)]['NOT_COLLAB'])),(this[_0x397eb7(0x199)]=_0x5068fd,this[_0x397eb7(0x146)]=_0x1710c8,this[_0x397eb7(0x298)]=_0x5cf788,this['_docTransformStateCacheService']=_0x5984e5,this[_0x397eb7(0xf2)]=_0x417ce7,this[_0x397eb7(0x1da)]=_0x1e505c,this['_messageService']=_0x39b1f7,this[_0x397eb7(0x127)]=_0x5d5a7f,this[_0x397eb7(0x1e6)]());}[_0x28f4a5(0x1e6)](){const _0x46ac7f=_0x28f4a5;this[_0x46ac7f(0x2f6)](this[_0x46ac7f(0x146)]['entityInit$']['subscribe'](_0x123542=>{const _0x2b79a8=_0x46ac7f,_0xf0697c=this[_0x2b79a8(0x199)][_0x2b79a8(0x2c7)][_0x2b79a8(0x26e)](_0x1960c4=>{const _0x5438fa=_0x2b79a8;if(_0x1960c4==null)return;const {unitId:_0x2c103d,redoState:_0x3c18e6,commandId:_0x1dccc2}=_0x1960c4;if(_0x2c103d!==_0x123542['unitID'])return;const _0x224dd9={'id':_0x1dccc2,'type':_0x1f0974[_0x5438fa(0x1ce)]['MUTATION'],'params':{'unitId':_0x2c103d,'actions':_0x3c18e6[_0x5438fa(0x14d)],'textRanges':null}};_0x123542[_0x5438fa(0x197)](_0x224dd9);});if(_0x123542[_0x2b79a8(0x2f6)](_0xf0697c),_0x123542 instanceof _0xec9e8c[_0x2b79a8(0x2ef)]){const _0x3c552b={'onTransformIME':_0x19dfed=>this[_0x2b79a8(0x298)]['transformIMECache'](_0x19dfed),'onTransformState':_0xa7acee=>this[_0x2b79a8(0x267)][_0x2b79a8(0x2c1)](_0xa7acee),'onTransformSelections':_0x276732=>this[_0x2b79a8(0xf2)]['transformSelections'](_0x276732),'onSyncEditingCollabCursor':_0x2551e4=>this[_0x2b79a8(0x1da)]['syncEditingCollabCursor'](_0x2551e4),'onTransformRemoteChangesetByIMECache':_0x5e8a6d=>this[_0x2b79a8(0x298)][_0x2b79a8(0x253)](_0x5e8a6d),'onTransformRemoteChangesetByStateCache':_0x39efba=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x39efba)};_0x123542['addHandlerCallback'](_0x3c552b);}}));}};_0x406355=_0x260adb([_0x1f1d67(0x0,_0x1f0974[_0x28f4a5(0x302)](_0x94087b[_0x28f4a5(0x8a)])),_0x1f1d67(0x1,_0x1f0974[_0x28f4a5(0x302)](_0xec9e8c[_0x28f4a5(0xe7)])),_0x1f1d67(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x2636ee)),_0x1f1d67(0x3,_0x1f0974[_0x28f4a5(0x302)](_0x546981)),_0x1f1d67(0x4,_0x1f0974['Inject'](_0x3b1666)),_0x1f1d67(0x5,_0x1f0974['Inject'](_0x1ea0ec)),_0x1f1d67(0x6,_0xc1035a['IMessageService']),_0x1f1d67(0x7,_0x1f0974[_0x28f4a5(0x302)](_0x1f0974['LocaleService']))],_0x406355);var _0x11ec0c=Object[_0x28f4a5(0x2b1)],_0x18b8e0=(_0x525e8f,_0x163a18,_0x565357,_0x556326)=>{const _0x21987a=_0x28f4a5;for(var _0x5a4bf2=_0x556326>0x1?void 0x0:_0x556326?_0x11ec0c(_0x163a18,_0x565357):_0x163a18,_0x175027=_0x525e8f[_0x21987a(0x291)]-0x1,_0x1818b7;_0x175027>=0x0;_0x175027--)(_0x1818b7=_0x525e8f[_0x175027])&&(_0x5a4bf2=_0x1818b7(_0x5a4bf2)||_0x5a4bf2);return _0x5a4bf2;},_0x3f39b2=(_0x729fa8,_0x21f886)=>(_0x4a623c,_0x42175e)=>_0x21f886(_0x4a623c,_0x42175e,_0x729fa8);let _0x224fa9=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x5835be,_0x148667,_0x268823){const _0x2803a6=_0x28f4a5;super(),_0x264be0(this,_0x2803a6(0x1d2),new Map()),_0x264be0(this,_0x2803a6(0x2f3),new Map()),_0x264be0(this,_0x2803a6(0xa5),!0x1),(this['_configService']=_0x5835be,this[_0x2803a6(0xa7)]=_0x148667,this[_0x2803a6(0x2a8)]=_0x268823);}[_0x28f4a5(0x177)](){this['_disabled']=!0x0;}[_0x28f4a5(0x198)](){const _0x2b0488=_0x28f4a5;this[_0x2b0488(0xa5)]=!0x1;}get[_0x28f4a5(0x273)](){const _0x500381=_0x28f4a5;return this[_0x500381(0x2f3)];}['dispose'](){const _0x5ac022=_0x28f4a5;this[_0x5ac022(0x1cb)]()[_0x5ac022(0x223)](()=>super[_0x5ac022(0xdb)]());}async[_0x28f4a5(0xa3)](_0x4830c5){const _0x58a763=_0x28f4a5;return this[_0x58a763(0xa5)]?null:this[_0x58a763(0xa7)][_0x58a763(0x239)](_0xec9e8c[_0x58a763(0x2d8)](_0x4830c5));}async[_0x28f4a5(0xea)](_0xad7204,_0x1bce62){const _0x32ba3b=_0x28f4a5;return!!this[_0x32ba3b(0xa7)][_0x32ba3b(0x187)](_0xad7204,_0x1bce62);}[_0x28f4a5(0x1b2)](_0x131d7f,_0x5bd9d2,_0x1fbd70,_0x3ade11){const _0x3e9fd9=_0x28f4a5,_0x59076c=this[_0x3e9fd9(0x2a8)][_0x3e9fd9(0x117)](_0x131d7f);this[_0x3e9fd9(0x1d2)][_0x3e9fd9(0x1cd)](_0x131d7f,{'unitID':_0x131d7f,'type':_0x5bd9d2,'awaitingChangeset':_0x1fbd70,'mutations':_0x3ade11,'rev':_0x59076c}),this[_0x3e9fd9(0x2f3)]['has'](_0x131d7f)||this[_0x3e9fd9(0x26b)](_0x131d7f);}[_0x28f4a5(0x26b)](_0x3920c5){const _0x2ee860=_0x28f4a5,_0x37b6f9=this[_0x2ee860(0x303)]();_0x37b6f9===0x0?this['_saveCache'](_0x3920c5):this[_0x2ee860(0x2f3)]['set'](_0x3920c5,setTimeout(()=>this[_0x2ee860(0xa1)](_0x3920c5),_0x37b6f9));}['_getSaveTimeout'](){const _0x41efdc=_0x28f4a5;var _0x5b88e7;return(_0x5b88e7=this['_configService']['getConfig'](_0xec9e8c[_0x41efdc(0x194)]))!=null?_0x5b88e7:_0xec9e8c[_0x41efdc(0x224)];}[_0x28f4a5(0xa1)](_0x46c828){const _0x4cedd3=_0x28f4a5,_0x503b46=this['_saveTaskMap'][_0x4cedd3(0x1ae)](_0x46c828);return _0x503b46!==void 0x0&&window[_0x4cedd3(0x212)](_0x503b46),this[_0x4cedd3(0xa7)]['setItem'](_0xec9e8c[_0x4cedd3(0x2d8)](_0x46c828),this[_0x4cedd3(0x1d2)]['get'](_0x46c828))['then'](()=>this['_saveTaskMap'][_0x4cedd3(0x2b3)](_0x46c828));}async[_0x28f4a5(0x1cb)](){const _0x5a5bfe=_0x28f4a5,_0x27a0ed=[];this[_0x5a5bfe(0x2f3)]['forEach']((_0x4bc274,_0x329122)=>{const _0x7d2fbd=_0x5a5bfe;window[_0x7d2fbd(0x212)](_0x4bc274),_0x27a0ed['push'](this[_0x7d2fbd(0xa1)](_0x329122)[_0x7d2fbd(0x223)](()=>{const _0x231e2e=_0x7d2fbd;this[_0x231e2e(0x2f3)][_0x231e2e(0x2b3)](_0x329122);}));}),await Promise['all'](_0x27a0ed);}};_0x224fa9=_0x18b8e0([_0x3f39b2(0x0,_0x1f0974[_0x28f4a5(0x21d)]),_0x3f39b2(0x1,_0x1f0974[_0x28f4a5(0x2ca)]),_0x3f39b2(0x2,_0x1f0974[_0x28f4a5(0x302)](_0x22d2f7[_0x28f4a5(0xb7)]))],_0x224fa9);class _0x307e84 extends _0x1f0974[_0x28f4a5(0x2cb)]{constructor(){const _0x3fc5e5=_0x28f4a5;super(),_0x264be0(this,'urlChange$'),this[_0x3fc5e5(0x189)]=_0x48ec59['fromEvent'](window,'popstate')[_0x3fc5e5(0x11c)](_0x48ec59[_0x3fc5e5(0x16a)](this[_0x3fc5e5(0x29f)]),_0x48ec59[_0x3fc5e5(0x1aa)](0x1),_0x48ec59[_0x3fc5e5(0x297)](void 0x0));}[_0x28f4a5(0x166)](_0x4b48f8,_0x36e5e3,_0x4deabf=!0x1){const _0x468304=_0x28f4a5,_0x4a1328=new URL(window[_0x468304(0x133)][_0x468304(0xdf)]);_0x4a1328[_0x468304(0x9c)]['set'](_0x4b48f8,_0x36e5e3),_0x4deabf?window[_0x468304(0xb6)][_0x468304(0x1e0)]('','',_0x4a1328['toString']()):window['history']['pushState']('','',_0x4a1328[_0x468304(0x29e)]());}[_0x28f4a5(0x316)](_0x33493b,_0x100783=!0x1){const _0x4a0d08=_0x28f4a5,_0x5718f=new URL(window[_0x4a0d08(0x133)][_0x4a0d08(0xdf)]);_0x5718f[_0x4a0d08(0x9c)][_0x4a0d08(0x2b3)](_0x33493b),_0x100783?window[_0x4a0d08(0xb6)]['replaceState']('','',_0x5718f[_0x4a0d08(0x29e)]()):window[_0x4a0d08(0xb6)][_0x4a0d08(0x2bf)]('','',_0x5718f[_0x4a0d08(0x29e)]());}[_0x28f4a5(0x242)](_0x1b1d4f){const _0x24654=_0x28f4a5;var _0x4f0110;return(_0x4f0110=new URL(window[_0x24654(0x133)][_0x24654(0xdf)])[_0x24654(0x9c)]['get'](_0x1b1d4f))!=null?_0x4f0110:void 0x0;}}var _0xc184cd=Object[_0x28f4a5(0x2d2)],_0x8b32bd=Object[_0x28f4a5(0x2b1)],_0x307a14=(_0x9b4fe3,_0x4a3d3b,_0x2c324c)=>_0x4a3d3b in _0x9b4fe3?_0xc184cd(_0x9b4fe3,_0x4a3d3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c324c}):_0x9b4fe3[_0x4a3d3b]=_0x2c324c,_0x240541=(_0x4c8bf9,_0x109e0b,_0x1e95a5,_0x5cca7e)=>{for(var _0x1839a9=_0x5cca7e>0x1?void 0x0:_0x5cca7e?_0x8b32bd(_0x109e0b,_0x1e95a5):_0x109e0b,_0x45ffa8=_0x4c8bf9['length']-0x1,_0x4cc8d2;_0x45ffa8>=0x0;_0x45ffa8--)(_0x4cc8d2=_0x4c8bf9[_0x45ffa8])&&(_0x1839a9=_0x4cc8d2(_0x1839a9)||_0x1839a9);return _0x1839a9;},_0x5c65f0=(_0x45a3c2,_0x250576)=>(_0x1681aa,_0x1ddde3)=>_0x250576(_0x1681aa,_0x1ddde3,_0x45a3c2),_0xef545c=(_0x1c49a5,_0x59a431,_0x4b5263)=>_0x307a14(_0x1c49a5,_0x59a431+'',_0x4b5263);const _0x303a8d=_0x28f4a5(0x163);_0x35b504['UniverCollaborationClientUIPlugin']=class extends _0x1f0974[_0x28f4a5(0x238)]{constructor(_0x57bea3=_0x52f91b,_0x3aa06b,_0x98f1c7,_0x298d3e){const _0x5432bc=_0x28f4a5;super(),this[_0x5432bc(0x294)]=_0x57bea3,this[_0x5432bc(0x1f4)]=_0x3aa06b,this['_injector']=_0x98f1c7,this[_0x5432bc(0x148)]=_0x298d3e;const {..._0x344592}=_0x1f0974[_0x5432bc(0x22f)]({},_0x52f91b,this[_0x5432bc(0x294)]);this[_0x5432bc(0x148)][_0x5432bc(0xbd)](_0x3f6f88,_0x344592);}['onStarting'](){const _0x11eca5=_0x28f4a5;this['_registerDependencies'](),this[_0x11eca5(0x251)]();}[_0x28f4a5(0x125)](){const _0x466996=_0x28f4a5;this[_0x466996(0x10c)]();}[_0x28f4a5(0x28e)](){const _0x56b04d=_0x28f4a5;var _0xd53806;const _0x5d9034=[[_0x2d7c85],[_0x3b1666],[_0x2636ee],[_0x546981],[_0x1ea0ec],[_0x4d62b6,{'useClass':_0x307e84}],[_0x3a7cb5[_0x56b04d(0x286)],{'useClass':_0x3a7cb5[_0x56b04d(0x280)]}],[_0xec9e8c[_0x56b04d(0x247)],{'useClass':_0x224fa9}],[_0x35b504['DesktopCollaborationStatusDisplayController']],[_0x406355],[_0x46e5e5],[_0x475645],[_0x38a261],[_0x35b504[_0x56b04d(0x27f)]]];_0x1f0974[_0x56b04d(0x24f)](this[_0x56b04d(0x2f0)],_0x1f0974['mergeOverrideWithDependencies'](_0x5d9034,(_0xd53806=this[_0x56b04d(0x294)])==null?void 0x0:_0xd53806[_0x56b04d(0x250)]));}['_registerRenderDependencies'](){const _0x14ebe8=_0x28f4a5;this['disposeWithMe'](this[_0x14ebe8(0x1f4)][_0x14ebe8(0x1b0)](_0x1f0974[_0x14ebe8(0x22a)][_0x14ebe8(0x1a5)],[_0x282152])),this[_0x14ebe8(0x2f6)](this[_0x14ebe8(0x1f4)][_0x14ebe8(0x1b0)](_0x1f0974[_0x14ebe8(0x22a)][_0x14ebe8(0x130)],[_0x44c668]));}[_0x28f4a5(0x251)](){const _0x4dcccc=_0x28f4a5;_0x1f0974[_0x4dcccc(0x2a6)](this[_0x4dcccc(0x2f0)],[[_0x475645],[_0x35b504[_0x4dcccc(0x76)]],[_0x406355],[_0x46e5e5],[_0x35b504[_0x4dcccc(0x27f)]]]);}},_0xef545c(_0x35b504[_0x28f4a5(0xca)],_0x28f4a5(0x19c),_0x303a8d),_0x35b504[_0x28f4a5(0xca)]=_0x240541([_0x1f0974[_0x28f4a5(0x1e3)](_0xec9e8c[_0x28f4a5(0x208)]),_0x5c65f0(0x1,_0xea5c4f['IRenderManagerService']),_0x5c65f0(0x2,_0x1f0974['Inject'](_0x1f0974[_0x28f4a5(0x2a5)])),_0x5c65f0(0x3,_0x1f0974[_0x28f4a5(0x21d)])],_0x35b504[_0x28f4a5(0xca)]);var _0x5e323e=Object[_0x28f4a5(0x2b1)],_0x5b623a=(_0x29ce44,_0x47c026,_0x1aa98b,_0x5695b9)=>{const _0x2480db=_0x28f4a5;for(var _0x4625ef=_0x5695b9>0x1?void 0x0:_0x5695b9?_0x5e323e(_0x47c026,_0x1aa98b):_0x47c026,_0x49cfb0=_0x29ce44[_0x2480db(0x291)]-0x1,_0x5764be;_0x49cfb0>=0x0;_0x49cfb0--)(_0x5764be=_0x29ce44[_0x49cfb0])&&(_0x4625ef=_0x5764be(_0x4625ef)||_0x4625ef);return _0x4625ef;},_0x38c5e8=(_0x481eca,_0x269b16)=>(_0x557fea,_0x272e9a)=>_0x269b16(_0x557fea,_0x272e9a,_0x481eca);_0x35b504[_0x28f4a5(0xeb)]=class extends _0xec9e8c[_0x28f4a5(0x29a)]{constructor(_0x46f440,_0x364189,_0x274e6e,_0x4e55aa,_0x2e049a){super(_0x46f440,_0x364189,_0x274e6e,_0x4e55aa,_0x2e049a);}async[_0x28f4a5(0x19b)](_0x13e29e){const _0x3db09b=_0x28f4a5,_0x258572=await this[_0x3db09b(0xd1)](),_0x1591b2=this['_createSocketURL'](_0x13e29e,_0x258572);return this[_0x3db09b(0xd7)](_0x1591b2);}[_0x28f4a5(0x300)](_0x29d23f,_0x578b07){const _0xb9da6a=_0x28f4a5,_0x3df07c=typeof window>'u'?new URL(_0x29d23f):new URL(_0x29d23f,window[_0xb9da6a(0x133)][_0xb9da6a(0x21b)]);_0x3df07c[_0xb9da6a(0x9c)][_0xb9da6a(0x1cd)](_0xb9da6a(0x2f1),_0x578b07);const _0x50701b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb9da6a(0x133)]['search']);return _0x50701b[_0xb9da6a(0x1ae)](_0xb9da6a(0xf1))&&_0x3df07c[_0xb9da6a(0x9c)]['set'](_0xb9da6a(0xf1),_0x50701b[_0xb9da6a(0x1ae)](_0xb9da6a(0xf1))),_0x3df07c[_0xb9da6a(0x29e)]();}async[_0x28f4a5(0xd1)](){const _0x3e2a68=_0x28f4a5;var _0x107300,_0x422b49,_0x96843a;const _0x15f609=this['_configService'][_0x3e2a68(0xa6)](_0xec9e8c[_0x3e2a68(0x2c9)]),_0x1425d6=(_0x107300=_0x15f609==null?void 0x0:_0x15f609[_0x3e2a68(0xba)])!=null?_0x107300:_0xec9e8c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x96843a=(_0x422b49=(await this['_httpService'][_0x3e2a68(0x1ae)](_0x1425d6,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x422b49[_0x3e2a68(0x313)])!=null?_0x96843a:'';}},_0x35b504['BrowserCollaborationSocketService']=_0x5b623a([_0x38c5e8(0x0,_0x1f0974['Inject'](_0x1f0974['Injector'])),_0x38c5e8(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x3a7cb5[_0x28f4a5(0x24d)])),_0x38c5e8(0x2,_0x1f0974[_0x28f4a5(0x21d)]),_0x38c5e8(0x3,_0x1f0974[_0x28f4a5(0x2c5)]),_0x38c5e8(0x4,_0x22d2f7[_0x28f4a5(0x168)])],_0x35b504[_0x28f4a5(0xeb)]);const _0x557544=0x7530,_0x5ca70b=_0x28f4a5(0x25a);class _0x38ef59 extends _0x1f0974['Disposable']{constructor(){const _0xfae50d=_0x28f4a5;super(),_0x264be0(this,_0xfae50d(0x1de),_0x1f0974[_0xfae50d(0x1fd)]()),_0x264be0(this,_0xfae50d(0xb9),new Set()),_0x264be0(this,_0xfae50d(0x186),new Map()),_0x264be0(this,_0xfae50d(0x2b5),null),_0x264be0(this,'_clearOtherTimers',new Map()),_0x264be0(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x449f7a=_0x28f4a5;super[_0x449f7a(0xdb)](),this['_clearOtherTimers']['forEach']((_0x493177,_0x4468b4)=>this[_0x449f7a(0x173)](_0x4468b4)),this[_0x449f7a(0x2b5)]&&window[_0x449f7a(0xb5)](this['_heartbeatTimer']);}[_0x28f4a5(0x1f1)](_0x22bf82){const _0x39fc3f=_0x28f4a5;return this['_ensureSubject'](_0x22bf82)[_0x39fc3f(0x11c)](_0x48ec59['distinctUntilChanged']());}[_0x28f4a5(0x2a0)](_0x3211f9){const _0x5a1ce0=_0x28f4a5;this['_selfUnitIDs'][_0x5a1ce0(0x1e5)]===0x0&&this[_0x5a1ce0(0x1b6)](),this[_0x5a1ce0(0xb9)]['add'](_0x3211f9),this['_send']({'type':0x0,'memberID':this[_0x5a1ce0(0x1de)],'unitIDs':[_0x3211f9],'isForwarded':!0x1});}['disposeUnit'](_0x29d517){const _0x242ff0=_0x28f4a5;this['_selfUnitIDs'][_0x242ff0(0x2b3)](_0x29d517),this[_0x242ff0(0xb9)][_0x242ff0(0x1e5)]===0x0&&this[_0x242ff0(0x2b5)]&&window[_0x242ff0(0xb5)](this[_0x242ff0(0x2b5)]);}[_0x28f4a5(0x203)](){const _0xf01d44=_0x28f4a5;this[_0xf01d44(0x2f6)](_0x1f0974[_0xf01d44(0x232)](_0x48ec59[_0xf01d44(0x254)](window,_0xf01d44(0xde))[_0xf01d44(0x26e)](_0x36ed7c=>{const _0x8535c2=_0xf01d44;if(_0x36ed7c[_0x8535c2(0x26d)]!==_0x5ca70b||!_0x36ed7c[_0x8535c2(0xf6)])return;const _0x1add6e=JSON['parse'](_0x36ed7c['newValue']);this[_0x8535c2(0x2ee)](_0x1add6e);}))),window[_0xf01d44(0x17c)](_0xf01d44(0x1ee),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xf01d44(0x178)](this[_0xf01d44(0xb9)])}));}['_handleEvent'](_0x2beeb6){const _0x1e820a=_0x28f4a5;switch(_0x2beeb6[_0x1e820a(0x175)]){case 0x0:this[_0x1e820a(0x83)](_0x2beeb6);break;case 0x1:this[_0x1e820a(0x185)](_0x2beeb6);break;case 0x2:this[_0x1e820a(0x6c)](_0x2beeb6);break;}}['_handleJoinEvent'](_0x348d52){const _0x5f1795=_0x28f4a5,{unitIDs:_0x15b620,memberID:_0x4ccb81,isForwarded:_0x6fc920}=_0x348d52;_0x15b620[_0x5f1795(0x1ba)](_0x47ddce=>{const _0x5d6479=_0x5f1795;if(!_0x6fc920&&this[_0x5d6479(0x186)][_0x5d6479(0x2f8)](_0x47ddce)&&this[_0x5d6479(0x184)](_0x47ddce)[_0x5d6479(0x283)](_0xec9e8c[_0x5d6479(0xfe)][_0x5d6479(0x131)]),!this[_0x5d6479(0x186)][_0x5d6479(0x2f8)](_0x47ddce)||!this[_0x5d6479(0x186)]['get'](_0x47ddce)['has'](_0x4ccb81)){const _0x1880d5=this[_0x5d6479(0x186)][_0x5d6479(0x1ae)](_0x47ddce)||new Set();_0x1880d5[_0x5d6479(0x1a2)](_0x4ccb81),this[_0x5d6479(0x186)]['set'](_0x47ddce,_0x1880d5),this['_scheduleClearOtherTimer'](_0x4ccb81);}}),_0x6fc920||this[_0x5f1795(0x140)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f1795(0xb9)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x31b1d3){const _0x249664=_0x28f4a5;this['_removeClearOtherTimer'](_0x31b1d3);const _0x4ef479=window[_0x249664(0x1b7)](()=>{const _0x184f99=_0x249664;this[_0x184f99(0x186)]['forEach'](_0x2e97fb=>{_0x2e97fb['delete'](_0x31b1d3);});},_0x557544*0x2);this[_0x249664(0x1d7)][_0x249664(0x1cd)](_0x31b1d3,_0x4ef479);}['_removeClearOtherTimer'](_0x4c5af1){const _0x1560e7=_0x28f4a5;if(this[_0x1560e7(0x1d7)][_0x1560e7(0x2f8)](_0x4c5af1)){const _0x37efb9=this[_0x1560e7(0x1d7)][_0x1560e7(0x1ae)](_0x4c5af1);_0x37efb9&&window[_0x1560e7(0x212)](_0x37efb9),this[_0x1560e7(0x1d7)][_0x1560e7(0x1cd)](_0x4c5af1,null);}}['_handleLeaveEvent'](_0x43ddc1){const _0x30ce32=_0x28f4a5,{memberID:_0x1d3320,unitIDs:_0x5a9d9c}=_0x43ddc1;_0x5a9d9c[_0x30ce32(0x1ba)](_0x36c5e3=>{const _0x3d13ff=_0x30ce32;var _0x36ce0a;const _0x207a74=this[_0x3d13ff(0x186)][_0x3d13ff(0x1ae)](_0x36c5e3);_0x207a74&&(_0x207a74[_0x3d13ff(0x2b3)](_0x1d3320),(_0x36ce0a=this[_0x3d13ff(0x184)](_0x36c5e3))==null||_0x36ce0a['next'](_0x207a74[_0x3d13ff(0x1e5)]===0x0?_0xec9e8c[_0x3d13ff(0xfe)]['NO_OTHER_CLIENTS_EDITING']:_0xec9e8c[_0x3d13ff(0xfe)][_0x3d13ff(0x131)]));}),this[_0x30ce32(0x173)](_0x1d3320);}['_handleHeartbeatEvent'](_0x3235db){const _0x3478ab=_0x28f4a5;this['_scheduleClearOtherTimer'](_0x3235db[_0x3478ab(0x15a)]);}['_send'](_0x25757c){const _0x2f71a0=_0x28f4a5;localStorage[_0x2f71a0(0x187)](_0x5ca70b,JSON['stringify'](_0x25757c));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x11c8ae=_0x5ca7;this[_0x11c8ae(0x140)]({'type':0x2,'memberID':this[_0x11c8ae(0x1de)]});},_0x557544);}[_0x28f4a5(0x184)](_0x48e65c){const _0x29c496=_0x28f4a5;return this[_0x29c496(0x120)][_0x29c496(0x2f8)](_0x48e65c)||this[_0x29c496(0x120)]['set'](_0x48e65c,new _0x48ec59[(_0x29c496(0x21f))](_0xec9e8c[_0x29c496(0xfe)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x29c496(0x120)][_0x29c496(0x1ae)](_0x48e65c);}}var _0xb96fef=(_0x132232=>(_0x132232[_0x132232[_0x28f4a5(0xcf)]=0x0]=_0x28f4a5(0xcf),_0x132232[_0x132232['OK']=0x1]='OK',_0x132232[_0x132232[_0x28f4a5(0xc5)]=0x2]=_0x28f4a5(0xc5),_0x132232[_0x132232['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x132232[_0x132232['NOT_FOUND']=0x4]=_0x28f4a5(0x164),_0x132232[_0x132232[_0x28f4a5(0x202)]=0x5]='UNAUTHENTICATED',_0x132232[_0x132232[_0x28f4a5(0x1bf)]=0x6]=_0x28f4a5(0x1bf),_0x132232[_0x132232['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x132232[_0x132232[_0x28f4a5(0xcb)]=0x8]=_0x28f4a5(0xcb),_0x132232[_0x132232['COMPLETION_FINISHED']=0x9]=_0x28f4a5(0x102),_0x132232[_0x132232['LOGIN_FAILED']=0xa]=_0x28f4a5(0x96),_0x132232[_0x132232[_0x28f4a5(0x13b)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x132232[_0x132232[_0x28f4a5(0x285)]=0xc]=_0x28f4a5(0x285),_0x132232[_0x132232['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x28f4a5(0x210),_0x132232[_0x132232[_0x28f4a5(0x216)]=0xe]=_0x28f4a5(0x216),_0x132232[_0x132232['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28f4a5(0x171),_0x132232[_0x132232[_0x28f4a5(0x2bc)]=0x1771]=_0x28f4a5(0x2bc),_0x132232[_0x132232[_0x28f4a5(0x126)]=0x1772]=_0x28f4a5(0x126),_0x132232[_0x132232[_0x28f4a5(0x1bb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x132232[_0x132232['APPLY_REJECT']=0x1b59]=_0x28f4a5(0x2ba),_0x132232[_0x132232[_0x28f4a5(0x152)]=0x1b5a]=_0x28f4a5(0x152),_0x132232[_0x132232[_0x28f4a5(0xa9)]=0x1b5b]=_0x28f4a5(0xa9),_0x132232[_0x132232[_0x28f4a5(0xe0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x132232[_0x132232[_0x28f4a5(0x215)]=0x1b5d]='APPLY_DUPLICATED',_0x132232[_0x132232[_0x28f4a5(0x93)]=0x1f41]=_0x28f4a5(0x93),_0x132232[_0x132232[_0x28f4a5(0x1a0)]=0x2329]=_0x28f4a5(0x1a0),_0x132232[_0x132232[_0x28f4a5(0x2e2)]=0x232a]=_0x28f4a5(0x2e2),_0x132232[_0x132232[_0x28f4a5(0x18b)]=0x232b]=_0x28f4a5(0x18b),_0x132232[_0x132232[_0x28f4a5(0x282)]=0x232c]=_0x28f4a5(0x282),_0x132232[_0x132232[_0x28f4a5(0x2b2)]=0x232d]=_0x28f4a5(0x2b2),_0x132232[_0x132232['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x28f4a5(0x16f),_0x132232[_0x132232[_0x28f4a5(0x1c7)]=0x2712]=_0x28f4a5(0x1c7),_0x132232[_0x132232[_0x28f4a5(0x14b)]=0x2713]=_0x28f4a5(0x14b),_0x132232[_0x132232[_0x28f4a5(0x1eb)]=0x2714]=_0x28f4a5(0x1eb),_0x132232[_0x132232['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x28f4a5(0x17f),_0x132232[_0x132232[_0x28f4a5(0x170)]=0x271b]=_0x28f4a5(0x170),_0x132232[_0x132232[_0x28f4a5(0x2ff)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x132232[_0x132232[_0x28f4a5(0x14e)]=0x271d]=_0x28f4a5(0x14e),_0x132232[_0x132232[_0x28f4a5(0x28c)]=0x271e]=_0x28f4a5(0x28c),_0x132232[_0x132232['YUUMI_AI_RUN_FAILED']=0x271f]=_0x28f4a5(0x231),_0x132232[_0x132232[_0x28f4a5(0x139)]=0x2720]=_0x28f4a5(0x139),_0x132232[_0x132232[_0x28f4a5(0x15e)]=0x2af9]=_0x28f4a5(0x15e),_0x132232[_0x132232[_0x28f4a5(0x259)]=0x2ee1]=_0x28f4a5(0x259),_0x132232[_0x132232[_0x28f4a5(0x28a)]=0x2ee2]=_0x28f4a5(0x28a),_0x132232[_0x132232[_0x28f4a5(0x2a7)]=0x2ee3]=_0x28f4a5(0x2a7),_0x132232[_0x132232[_0x28f4a5(0x135)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x132232[_0x132232[_0x28f4a5(0x2a2)]=0x2ee5]=_0x28f4a5(0x2a2),_0x132232[_0x132232[_0x28f4a5(0x293)]=0x32c9]=_0x28f4a5(0x293),_0x132232[_0x132232[_0x28f4a5(0x207)]=0x32ca]=_0x28f4a5(0x207),_0x132232[_0x132232['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x132232[_0x132232[_0x28f4a5(0x172)]=-0x1]=_0x28f4a5(0x172),_0x132232))(_0xb96fef||{}),_0x26dc34=Object[_0x28f4a5(0x2b1)],_0x563d35=(_0x19fefa,_0x621c4b,_0x1f8a1a,_0x4a184c)=>{const _0x382ebc=_0x28f4a5;for(var _0x594ba8=_0x4a184c>0x1?void 0x0:_0x4a184c?_0x26dc34(_0x621c4b,_0x1f8a1a):_0x621c4b,_0x3525b1=_0x19fefa[_0x382ebc(0x291)]-0x1,_0x58d44a;_0x3525b1>=0x0;_0x3525b1--)(_0x58d44a=_0x19fefa[_0x3525b1])&&(_0x594ba8=_0x58d44a(_0x594ba8)||_0x594ba8);return _0x594ba8;},_0x209056=(_0x13e405,_0x2780a7)=>(_0x767836,_0x1ca608)=>_0x2780a7(_0x767836,_0x1ca608,_0x13e405);_0x35b504[_0x28f4a5(0x19d)]=class extends _0x1f0974[_0x28f4a5(0x13c)]{constructor(_0x14b3e8,_0x3d687f,_0x22acec){const _0x2b4641=_0x28f4a5;super(),this[_0x2b4641(0x296)]=_0x14b3e8,this[_0x2b4641(0xfb)]=_0x3d687f,this[_0x2b4641(0x148)]=_0x22acec;}async[_0x28f4a5(0x30b)](_0x4d4dcc,_0x4570b8,_0x181438,..._0x362c3f){const _0x179df7=_0x28f4a5;var _0x945fab,_0x403ed6,_0x541df0,_0xcd6d05;const _0x1a185f=this[_0x179df7(0x296)][_0x179df7(0x103)]();if(!_0x1a185f)throw new Error(_0x179df7(0x23c));const _0x4feb20=((_0x945fab=this[_0x179df7(0x148)][_0x179df7(0xa6)](_0xec9e8c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x945fab:_0xec9e8c[_0x179df7(0x234)])+'/'+_0x4d4dcc+_0x179df7(0x2e3)+_0x4570b8,_0x34b618=new URL(window[_0x179df7(0x133)]['href']),_0x5c4b8d={'scriptId':_0x4d4dcc,'runId':(_0x403ed6=_0x34b618[_0x179df7(0x9c)][_0x179df7(0x1ae)](_0x179df7(0xf1)))!=null?_0x403ed6:'','function':_0x4570b8,'unitId':_0x1a185f[_0x179df7(0x10a)](),'argsOfFunction':JSON['stringify'](_0x362c3f),'invokeId':(_0x541df0=_0x181438[_0x179df7(0x2fd)])!=null?_0x541df0:'','executionId':(_0xcd6d05=_0x181438[_0x179df7(0x9d)])!=null?_0xcd6d05:''};try{const _0x3ca283=await this[_0x179df7(0xfb)][_0x179df7(0x159)](_0x4feb20,{'body':_0x5c4b8d});return _0x3ca283[_0x179df7(0x10f)][_0x179df7(0xf4)]&&_0x3ca283['body'][_0x179df7(0xf4)][_0x179df7(0x236)]!==_0xb96fef['OK']?_0x179df7(0xb8):_0x3ca283[_0x179df7(0x10f)][_0x179df7(0x252)];}catch{return _0x179df7(0xb8);}}},_0x35b504[_0x28f4a5(0x19d)]=_0x563d35([_0x209056(0x0,_0x1f0974[_0x28f4a5(0x266)]),_0x209056(0x1,_0x1f0974[_0x28f4a5(0x302)](_0x3a7cb5[_0x28f4a5(0x24d)])),_0x209056(0x2,_0x1f0974['IConfigService'])],_0x35b504['RemoteUniscriptService']),_0x35b504[_0x28f4a5(0x233)]=_0x225d9d,_0x35b504[_0x28f4a5(0x2b7)]=_0x4d62b6,_0x35b504[_0x28f4a5(0x111)]=_0xb7037c,_0x35b504['WebBrowserSingleActiveUnitService']=_0x38ef59,_0x35b504['WebURLService']=_0x307e84,Object['defineProperty'](_0x35b504,Symbol[_0x28f4a5(0xa8)],{'value':'Module'});}));