@univerjs-pro/collaboration-client-ui 0.12.3-nightly.202512060617 → 0.12.4-experimental.20251208-c4b8a44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1d45(_0x11637e,_0x377eb2){_0x11637e=_0x11637e-0x11b;const _0x5cb384=_0x5cb3();let _0x1d453f=_0x5cb384[_0x11637e];return _0x1d453f;}function _0x5cb3(){const _0x1819ef=['addEventListener','search','override','_textBubble','getRenderById','touchDependencies','column','with','collaboration.single-unit.warning','SOCKET_FAILED_RETRY','unload','toStringTag','getCellPositionByOffset','SOCKET_FAILED','find','YUUMI_ASYNCIO_CANCELLED','toString','dirtyRanges','_localeService','exhaustSavingTask','data','complete','runId','eventID','_startSheetCollabCursor','NO_OTHER_CLIENTS_EDITING','COLORS','add','_docStateChangeManagerService','black','findNodePositionByCharIndex','IUniverInstanceService','_applyCommand','runOnServer','_setupSubUnitSync','newValue','CommandType','_getAnchorBounding','DocCollaborationEntity','_beforeCloseService','CollaborationDataLoaderController','dispose','_render','IDocClipboardService','delete','connectInjector','unsubscribe','status$','code','CanceledError','handleDeleteRangeMoveLeft','REDEMPTION_CODE_NOT_STARTED','LICENSE_DISTRO_REJECTED','AWAITING','push','_docTransformSelectionsService','DeleteRangeMoveLeftCommandId','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','_drawTextRange','56qFzhzC','APPLY_REVISION_CONFILICT','RxDisposable','_unitStatus','_themeService','REDEMPTION_INVALID_CODE','setInterval','_startCalculationLimit','getformulaLimitStatusUrl','_collaborationController','WebSocketService','EffectRefRangId','getActiveSheet','LocaleService','APPLY_DUPLICATED','params','blue.400','_docTransformStateCacheService','UniverNetwork','@univerjs/engine-formula','searchParams','_backgroundColor','roomMembers','CollaborationStatus','_notificationService','clearTimeout','registerDependencies','Optional','UniverDocs','startFormulaLimitUrl','_commandService','_collabSessionService','storage','unhandledrejection','flatMap','_showGuardMessage','path','setUndoRedoMutationParamsCache','save','history','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','contains','_scheduleClearOtherTimer','yellow.400','loadOfflineData','getParam','_collaborationUIEventService','onRendered','238QVrFJJ','ALREADY_EXISTS','send','Disposable','textRanges','getOwnPropertyDescriptor','TEXT','cursorInfo','split','set','_docTransformIMECacheService','MessageType','IImageIoService','[LogService\x20Error]:\x20','_refreshCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','clipPath','loadUnit','_collabCursorController','react/jsx-runtime','ENSURE_SNAPSHOT_EXECUTION','InsertRangeMoveDownCommandId','Injector','MoveRangeCommandId','SetFormulaCalculationNotificationMutation','SetDocZoomRatioOperation','isTransformMutationsWithChangesetSuccess','_selfUnitIDs','get','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMemberID','_monkeyPatchLogService','_colorIndex','removeParam','_revisionService','transformStateCache','event$','has','_cursor','tag','currentColor','defIds','Workbook','setAlpha','YUUMI_AI_RUN_FAILED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ENTITLE_DUP_SUBSCRIPTION','registerRenderModule','_toggleOnline','getSheetId','operators','_handleEvent','_session','ticket','Warning','/universer-api/license/formula/limit/start','univer-flex\x20univer-items-center','colorChannel1','UniverProCollaboration','MemberService','_initStatusComponent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','show','_hideTimer','handleDeleteRangeMoveUp','REDEMPTION_CODE_INACTIVE','string','COMPLETION_FINISHED','REDEMPTION_USER_NOT_ELIGIBLE','ISocketService','assignAColorForMemberID','handleInsertCol','hide','_scheduleHeartbeat','_renderManagerService','filter','ONLINE','_labelPosition','throttleTime','onCommandExecuted','NodePositionConvertToRectRange','useRef','DocIMEInputManagerService','@univerjs/docs-ui','18RdRSoS','NodePositionConvertToCursor','IRenderManagerService','idSuffix','28154nRUOPW','_roomMembers$','fromEventSubject','HTTPService','UNIVER_DOC','Error','function','substring','Failed','replaceState','RefRangeService','_hovered','min','CollaborationSessionService','@univerjs/network','SNAPSHOT_INVALID_SNAPSHOT','getUnit','UniverSheetsUi','_ensureSubject','0\x200\x2016\x2016','height','DocStateChangeManagerService','name','collab-rect-range-','wsSessionTicketUrl','reconnect','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defs','Rect','currentUsage','WebBrowserSingleActiveUnitService','OFFLINE','_lastResponseTimestamp','Module','closePath','ACTIVE_UNIT_EVENT_CHANNEL','...','_hover','lineTo','triggerDblclick','_initUserListener','_clearOtherTimers','_color','_initEvent','1061700dpMJfN','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','getRangePointData','collaboration-client-ui.config','_initCommandInterceptor','UNRECOGNIZED','_uploadLog','collabStatus.synced','_transformService','getTypeOfUnitAdded$','getRelativeToViewportCoord','_eventUnsubscribe','_pollingInterval','Tools','endColumn','off-line-icon_clip0_910_343','currentTheme$','subscribeEvent','ICommandService','_univerInstanceService','session.connection-failed','CollaborationEvent','maxFormulaLimit','11133ZzQult','startColumn','_getSessionTicket','NOT_FOUND','YUUMI_UNABLE_LOAD_URL','UniverEngineFormula','removeEventListener','handleInsertRangeMoveRight','shareReplay','getColorFromTheme','handleInsertRangeMoveDown','collab-text-range-','_status$','div','_cursors','LICENSE_MAX_UNITS_EXCEEDED','_getScale','cursorInfo$','onLocalMutation','_scheduleSaving','combineLatest','font','color','_config','_injector','clearInterval','shift','setTimeout','WECHAT_HAS_BEEN_BOUND','SessionStatus','transformSelections','collabStatus.fetchMiss','children','selections','getSheetBySheetId','_onRefRangeChange','LICENSE_IMPORT_SIZE_EXCEEDED','RegularPolygon','_syncEditingCollabCursorService','5824FsjjHt','startRow','then','rxjs/operators','parse','collabStatus.notCollab','UniverEngineRender','ENTITLE_INVALID_COUPON_CODE','_initResize','getDocRanges','measureText','_removeCollabCursors','_onCursorUpdate','APPLY_NON_SEQUENTIAL_REVISION','_disabled','createElement','handleIRemoveRow','doc.mutation.rich-text-editing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','svg','_clearPolling','Unknown\x20user','LOGIN_TOKEN_PROCESSING_FAILED','releaseFormulaLimitUrl','random','functionsExecutedState','xlink:href','_messageService','includes','text','_getSaveTimeout','_cachedData','whenReady','REDEMPTION_CODE_HAS_BEEN_CREATED','_checkAndWaitForCalculationPermission','RevisionService','error','syncEditingCollabCursor','APPLY_PERMISSION_DENIED','_assignedColors','CollaborationUIEventId','isFormulaId','TOO_MANY_REQUESTS','all','subunit','roomMembers$','SheetCollabCursorShape','isEditing','restore','setConfig','_collabCursorState$','_anchor','jiqing.500','popstate','http://www.w3.org/2000/svg','?taskId=','_dataLoaderService','endRow','_docSkeletonManagerService','fillText','_initEntityListener','ENTITLE_REPORT_LIMIT_EXCEED','Loading','ENTITLE_COUPON_USED_UP','15504aogTpV','takeUntil','toDisposable','IBeforeCloseService','fromEvent','10xFXAvl','@univerjs-pro/collaboration-client','EMAIL_HAS_BEEN_BOUND','402608sypJyG','_updateURLWithCurrentState','mutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','INTERNAL_ERROR','ENTITLE_NEED_BILLING_ADDRESS','round','_docSkeleton','entries','getUnitId','_entityInit$','isFormulaString','Success','_drawAnchor','INVALID_ARGUMENT','collabStatus.conflict','UniverInstanceType','disposeWithMe','width','React','IMessageService','_lastPointer','IConfigService','UPDATE_CURSOR','currentSkeleton$','top','permission.title','_currentUsage','getViewport','toRgbString','handleInsertRow','FormulaExecuteStageType','disableLocalCache','mask','bind','evenodd','DOC_RANGE_TYPE','_updateLocalCursor','PERMISSION_DENIED','selection','_docClipboardService','YUUMI_RATE_OVER_LIMIT','m2Prime','parseInt','filename','getTypeOfUnitDisposed$','_checkCalculationAvailable','none','generateRandomId','pushState','unitId','collabStatus.syncing','m1Prime','YUUMI_NO_CUBOID_FOR_QUESTION','transformMutation','mapTo','FromArray','editingUnit','Inject','isActive','deserializeRangeWithSheet','_initStatusListener','UnitStatus','ENTITLE_USE_COUPON_NOT_1ST_TRADE','LOCAL_CACHE_INTERVAL','map','_docSyncEditingCollabCursorService','_refRangeService','getUniverSheetInstance','_createSocketURL','white','_maxFormulaLimit','MOBILE_VERIFY_CODE_MISMATCH','message','unshift','@univerjs/design','onPointerEnter$','init','_heartbeatTimer','_initCommandExecutedListener','replaceDocRanges','clsx','_draw','PENDING','_getSheetObject','_colorAssignService','_configService','_transformUndoRedoStack','url(#$1','saveImage','assign','permission.content','subscribe','MUTATION','RemoteUniscriptService','getActiveRange','setActiveRange','transform','engine','DisposableCollection','entityInit$','session.will-retry','reason','debug','setParam','_scene','getItem','HEADER_MENU','UNAUTHENTICATED','AUTHORIZE_CODE_ILLEGAL','origin','next','fillRule','ILocalStorageService','DATA_SOURCE_TOO_LARGE','onPointerLeave$','INVALID_INVITE_CODE','getUnitStatus$','_urlService','_handleHover','_initUnhandledRejectionListener','_taskIds','join','result','fill','focused$','handleIRemoveCol','_anchorDot','ERROR_AGAIN','debounceTime','getConfig','sheetID','SetSelectionsOperation','stack','key','drawWith','range','USER_NOT_FOUND','INotificationService','deepClone','setShapeProps','UNDEFINED','off-line-icon','178iQICwl','_memberID','mergeOverrideWithDependencies','_releaseCalculationLimit','YUUMI_ALL_TABLES_IS_INVALID','UniverUi','getStateCache','INVITE_CODE_REQUIRED','BehaviorSubject','[Window\x20Error]:\x20','ILogService','/universer-api/license/formula/limit/done','use','_toggleOffline','getCollabCursors$','1em','INVITE_CODE_ALREADY_BOUND','arc','InsertRowCommandId','forwardRef','_collaborationSessionService','CHANGESET_REVISION_CONFILICT','_registerDependencies','_sheetSkeletonManagerService','createSocket','setItem','length','getCurrentSelections','univer-mr-2\x20univer-flex\x20univer-text-xl','_document','/run/','getValue','onStarting','values','subUnitId','_localStorageService','imageSourceType','@univerjs/sheets','purple.300','getFocusedUnit','trim','urlChange$','makeDirty','getMergeData','DesktopCollaborationStatusDisplayController','getAncestorScale','_unitOnClients','SNAPSHOT_HAS_BEEN_REMOVED','createIdentifier','USER_NOT_INVITED_CODE','UniverProCollaborationClientUi','_httpService','SUBMIT_CHANGESET_TIMEOUT','_localCacheService','getCollabEntity$','@univerjs-pro/collaboration','_initDependencies','_transformPreviousActiveRange','_initWindowErrorListener','defineProperty','_onCursorDelete','TEXT_RANGE_LAYER_INDEX','onMouseMove','RECT','startsWith','UniverDrawing','_online','@univerjs/ui','Shape','SetWorksheetActivateCommand','jsx','href','DocSelectionManagerService','_shapes','executeCommand','collab-text-anchor-','UniverCollaborationClientUIPlugin','ColorKit','_uiPartsService','univerjs-icon\x20univerjs-icon-','getColor','isArray','registerBeforeClose','moveTo','addObject','forEach','dispose$','_transformHistoryAndStateStack','UniverSheets','FETCH_MISS','DocSkeletonManagerService','_getFormulaLimitStatus','_removeClearOtherTimer','#FFF','Rectangle','getMember','labelPosition','bottom','START_CALCULATION','_updateSubUnitFromURLParams','attrs','SheetsSelectionsService','application/json','undoState','body','collabCursorState$','formula.calculation.waiting','source','APPLY_REJECT','resize','_name','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverCore','2414588knrCLg','YUUMI_CONNECTOR_URL_NOT_FOUND','JOIN_ROOM_FAILED','addObjects','pipe','formula.calculation.unable','10quGpZr','LOCAL_CACHE_INTERVAL_KEY','_updateCollabCursors','post','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','backgroundColor','now','OnLineIcon','_setFormulaLimitStatus','ENTITLE_CHAT_LIMIT_EXCEED','rxjs','_imageIoService','type','requireSession','_init','from','ThemeService','_range','saveTaskMap','max','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IURLService','EMAIL_VERIFY_CODE_MISMATCH','transformMutationsWithChangeset','_getMergeRange','limitInfo','OTHER_CLIENT_EDITING','debounce','runRefRangeMutations','asObservable','_context','_cursorInfo$','/universer-api/frontend/logs','stringify','IUIPartsService','WebURLService','size','updateOfflineData','fillStyle','redoState','_drawRectRange','collaboration.closeRoom','_startDocCollabCursor','BrowserCollaborationSocketService','location','getUndoRedoMutationParamsCache','SHEET_VIEWPORT_KEY','InsertRangeMoveRightCommandId','lineno','ILocalCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_entities','ENTITLE_COUPON_EXPIRED','useDependency','Tooltip','_instanceService','unitID','_logService','getLocalCacheKey','CONFLICT','_doCreateSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','unit','enableLocalCache','sessionTicket','url(#off-line-icon_clip0_910_343)','_send','USER_IS_ANONYMOUS','CLOSE_ROOM','setStateCache','_id','useObservable','/universer-api/license/formula/limit/status','collaboration.offline-data-not-saved','row','transformIMECache','_saveCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Subject','LOGIN_FAILED','displayName','transformRemoteChangeset','MOBILE_HAS_BEEN_BOUND','sessionStatus$','_hasFormulaInDirtyRanges','stageInfo','actions','USERS_LEAVE','NOT_COLLAB','CollaborationController','getCurrent','_setupBeforeClosingHandler','_handleHeartbeatEvent','ranges','_handleJoinEvent','ITransformService','DataLoaderService','BuiltInUIPart','@univerjs/sheets-ui','sheetId','_cursorShapes','PAYMENT_CHANNEL_NOT_SUPPORT','invokeId','replace','getCellMatrix','DeleteRangeMoveUpCommandId','isTransformMutationFailure','createInstance','[CollaborationDataLoaderController]','_saveTaskMap','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','switchMap','_registerRenderDependencies','_handleLeaveEvent','CURRENT_STATUS_CANNOT_OPERATE'];_0x5cb3=function(){return _0x1819ef;};return _0x5cb3();}(function(_0x1439f9,_0x1accfe){const _0x503c1a=_0x1d45,_0x13df09=_0x1439f9();while(!![]){try{const _0x5af937=-parseInt(_0x503c1a(0x141))/0x1*(parseInt(_0x503c1a(0x299))/0x2)+-parseInt(_0x503c1a(0x31e))/0x3+parseInt(_0x503c1a(0x3a6))/0x4*(parseInt(_0x503c1a(0x3a3))/0x5)+parseInt(_0x503c1a(0x2ee))/0x6*(parseInt(_0x503c1a(0x2f2))/0x7)+parseInt(_0x503c1a(0x269))/0x8*(-parseInt(_0x503c1a(0x336))/0x9)+-parseInt(_0x503c1a(0x1b8))/0xa*(parseInt(_0x503c1a(0x1b2))/0xb)+parseInt(_0x503c1a(0x39e))/0xc*(parseInt(_0x503c1a(0x35d))/0xd);if(_0x5af937===_0x1accfe)break;else _0x13df09['push'](_0x13df09['shift']());}catch(_0x3db353){_0x13df09['push'](_0x13df09['shift']());}}}(_0x5cb3,0x2e209),function(_0xf4b53a,_0x26be29){const _0x1c4dc6=_0x1d45;typeof exports=='object'&&typeof module<'u'?_0x26be29(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1c4dc6(0x2f8)&&define['amd']?define(['exports',_0x1c4dc6(0x2ac),_0x1c4dc6(0x3a4),'@univerjs/core',_0x1c4dc6(0x184),'rxjs',_0x1c4dc6(0x3f2),'react','@univerjs/rpc',_0x1c4dc6(0x166),'@univerjs/engine-render',_0x1c4dc6(0x300),_0x1c4dc6(0x2ed),'@univerjs/drawing',_0x1c4dc6(0x178),'@univerjs/docs',_0x1c4dc6(0x27c),_0x1c4dc6(0x360),_0x1c4dc6(0x21b)],_0x26be29):(_0xf4b53a=typeof globalThis<'u'?globalThis:_0xf4b53a||self,_0x26be29(_0xf4b53a[_0x1c4dc6(0x173)]={},_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a[_0x1c4dc6(0x31f)],_0xf4b53a[_0x1c4dc6(0x1b1)],_0xf4b53a[_0x1c4dc6(0x146)],_0xf4b53a[_0x1c4dc6(0x1c2)],_0xf4b53a['UniverDesign'],_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a['UniverRpc'],_0xf4b53a[_0x1c4dc6(0x199)],_0xf4b53a[_0x1c4dc6(0x363)],_0xf4b53a[_0x1c4dc6(0x27b)],_0xf4b53a['UniverDocsUi'],_0xf4b53a[_0x1c4dc6(0x182)],_0xf4b53a[_0x1c4dc6(0x2d3)],_0xf4b53a[_0x1c4dc6(0x285)],_0xf4b53a[_0x1c4dc6(0x33b)],_0xf4b53a['rxjs'][_0x1c4dc6(0x2cb)],_0xf4b53a[_0x1c4dc6(0x303)]));}(this,function(_0x5cfa5d,_0x277483,_0x378bf4,_0x1ced2a,_0x19c552,_0x5d9504,_0x52c80f,_0x55c618,_0x519d5f,_0x4cc6da,_0x40ad79,_0x5d4294,_0x2366a5,_0x2a63ae,_0x28eb5b,_0x56412a,_0x900d4,_0x140ef8,_0x1f5a13){'use strict';const _0x5f4777=_0x1d45;var _0x320cb6=Object[_0x5f4777(0x17c)],_0x49dbc8=(_0x4a4bd3,_0x47ba8a,_0x344b48)=>_0x47ba8a in _0x4a4bd3?_0x320cb6(_0x4a4bd3,_0x47ba8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x344b48}):_0x4a4bd3[_0x47ba8a]=_0x344b48,_0x13969d=(_0x374c45,_0x414052,_0x4ed5cc)=>_0x49dbc8(_0x374c45,typeof _0x414052!='symbol'?_0x414052+'':_0x414052,_0x4ed5cc);function _0x30e2c4({ref:_0x18b5a8,..._0x3e6c13}){const _0x4498ad=_0x5f4777,{icon:_0x1a8457,id:_0x2dad62,className:_0x49abcf,extend:_0x1e7e45,..._0x22e9d9}=_0x3e6c13,_0x1dfa99=(_0x4498ad(0x190)+_0x2dad62+'\x20'+(_0x49abcf||''))[_0x4498ad(0x169)](),_0x1af1cd=_0x55c618[_0x4498ad(0x2eb)]('_'+_0x454485());return _0x3e04a0(_0x1a8457,''+_0x2dad62,{'defIds':_0x1a8457[_0x4498ad(0x2c2)],'idSuffix':_0x1af1cd['current']},{'ref':_0x18b5a8,'className':_0x1dfa99,..._0x22e9d9},_0x1e7e45);}function _0x3e04a0(_0x14f2fc,_0x57e662,_0x10b224,_0x11f5a2,_0x26e97d){const _0x504c4e=_0x5f4777;return _0x55c618[_0x504c4e(0x36c)](_0x14f2fc[_0x504c4e(0x2c0)],{'key':_0x57e662,..._0x1e6d1a(_0x14f2fc,_0x10b224,_0x26e97d),..._0x11f5a2},(_0x1f87df(_0x14f2fc,_0x10b224)[_0x504c4e(0x356)]||[])[_0x504c4e(0x3e8)]((_0x3c2849,_0x4945d4)=>_0x3e04a0(_0x3c2849,_0x57e662+'-'+_0x14f2fc[_0x504c4e(0x2c0)]+'-'+_0x4945d4,_0x10b224,void 0x0,_0x26e97d)));}function _0x1e6d1a(_0x168f4d,_0x3955a2,_0x4628d5){const _0x2bcd01=_0x5f4777,_0x540f6f={..._0x168f4d[_0x2bcd01(0x1a5)]};_0x4628d5!=null&&_0x4628d5[_0x2bcd01(0x2d2)]&&_0x540f6f[_0x2bcd01(0x12e)]==='colorChannel1'&&(_0x540f6f[_0x2bcd01(0x12e)]=_0x4628d5[_0x2bcd01(0x2d2)]),_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x3c8)&&_0x540f6f['id']&&(_0x540f6f['id']=_0x540f6f['id']+_0x3955a2['idSuffix']),Object[_0x2bcd01(0x3af)](_0x540f6f)[_0x2bcd01(0x196)](([_0x58945a,_0x3d245b])=>{const _0x120ee5=_0x2bcd01;_0x58945a===_0x120ee5(0x3c8)&&typeof _0x3d245b==_0x120ee5(0x2dc)&&(_0x540f6f[_0x58945a]=_0x3d245b[_0x120ee5(0x220)](/url\(#(.*)\)/,_0x120ee5(0x3ff)+_0x3955a2[_0x120ee5(0x2f1)]+')'));});const {defIds:_0x462bad}=_0x3955a2;return!_0x462bad||_0x462bad[_0x2bcd01(0x15b)]===0x0||(_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x14d)&&_0x540f6f[_0x2bcd01(0x378)]&&(_0x540f6f['xlink:href']=_0x540f6f[_0x2bcd01(0x378)]+_0x3955a2[_0x2bcd01(0x2f1)]),Object[_0x2bcd01(0x3af)](_0x540f6f)['forEach'](([_0x5d69f0,_0x21426c])=>{const _0x769870=_0x2bcd01;typeof _0x21426c==_0x769870(0x2dc)&&(_0x540f6f[_0x5d69f0]=_0x21426c[_0x769870(0x220)](/url\(#(.*)\)/,_0x769870(0x3ff)+_0x3955a2[_0x769870(0x2f1)]+')'));})),_0x540f6f;}function _0x1f87df(_0x12a756,_0x1ce70d){const _0x4e337a=_0x5f4777;var _0x56d2cf;const {defIds:_0x3914df}=_0x1ce70d;return!_0x3914df||_0x3914df[_0x4e337a(0x15b)]===0x0?_0x12a756:_0x12a756[_0x4e337a(0x2c0)]===_0x4e337a(0x30d)&&((_0x56d2cf=_0x12a756[_0x4e337a(0x356)])!=null&&_0x56d2cf[_0x4e337a(0x15b)])?{..._0x12a756,'children':_0x12a756[_0x4e337a(0x356)][_0x4e337a(0x3e8)](_0x5a4643=>typeof _0x5a4643['attrs']['id']==_0x4e337a(0x2dc)&&_0x3914df&&_0x3914df[_0x4e337a(0x37a)](_0x5a4643[_0x4e337a(0x1a5)]['id'])?{..._0x5a4643,'attrs':{..._0x5a4643[_0x4e337a(0x1a5)],'id':_0x5a4643[_0x4e337a(0x1a5)]['id']+_0x1ce70d[_0x4e337a(0x2f1)]}}:_0x5a4643)}:_0x12a756;}function _0x454485(){const _0x19fb60=_0x5f4777;return Math[_0x19fb60(0x376)]()[_0x19fb60(0x23d)](0x24)[_0x19fb60(0x2f9)](0x2,0x8);}_0x30e2c4[_0x5f4777(0x209)]='UniverIcon';const _0x3a5d12={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':_0x5f4777(0x305),'width':_0x5f4777(0x150),'height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f4777(0x1fa)},'children':[{'tag':'path','attrs':{'stroke':_0x5f4777(0x2c1),'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':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':_0x5f4777(0x30d),'attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':_0x5f4777(0x32e)},'children':[{'tag':'path','attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5f4777(0x32e)]},_0xa67cd8=_0x55c618['forwardRef'](function(_0x50fc1d,_0x4db69d){const _0x2145f0=_0x5f4777;return _0x55c618[_0x2145f0(0x36c)](_0x30e2c4,Object[_0x2145f0(0x401)]({},_0x50fc1d,{'id':_0x2145f0(0x140),'ref':_0x4db69d,'icon':_0x3a5d12}));});_0xa67cd8['displayName']='OffLineIcon';const _0x16cfb8={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5f4777(0x28d),'attrs':{'stroke':'currentColor','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':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5f4777(0x28d),'attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x45a75b=_0x55c618[_0x5f4777(0x154)](function(_0x4c2d63,_0x37a6d9){const _0x3b1705=_0x5f4777;return _0x55c618[_0x3b1705(0x36c)](_0x30e2c4,Object[_0x3b1705(0x401)]({},_0x4c2d63,{'id':'on-line-icon','ref':_0x37a6d9,'icon':_0x16cfb8}));});_0x45a75b[_0x5f4777(0x209)]=_0x5f4777(0x1bf);function _0x1a32e6(_0x587911){const _0x482e9d=_0x5f4777;switch(_0x587911){case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x311)]:return'collabStatus.offline';case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x1f3)]:return _0x482e9d(0x3b6);case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x19a)]:return _0x482e9d(0x355);case _0x378bf4['CollaborationStatus']['NOT_COLLAB']:return _0x482e9d(0x362);case _0x378bf4['CollaborationStatus'][_0x482e9d(0x262)]:case _0x378bf4[_0x482e9d(0x280)]['AWAITING_WITH_PENDING']:return _0x482e9d(0x3da);case _0x378bf4[_0x482e9d(0x280)]['SYNCED']:case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x3fa)]:return _0x482e9d(0x326);}}function _0x3a4d0e(_0xd0dd17){const _0x4a06cc=_0x5f4777,{status$:_0x5b9027}=_0xd0dd17,_0x4927fb=_0x19c552[_0x4a06cc(0x200)](_0x5b9027,_0x378bf4['CollaborationStatus'][_0x4a06cc(0x211)]),_0x39f11b=_0x19c552[_0x4a06cc(0x1ed)](_0x1ced2a[_0x4a06cc(0x276)]),_0x4feb56=_0x19c552[_0x4a06cc(0x1ed)](_0x378bf4[_0x4a06cc(0x2ff)]),_0x2efd62=_0x4927fb!==_0x378bf4[_0x4a06cc(0x280)][_0x4a06cc(0x311)],_0x50dd33=_0x39f11b['t'](_0x1a32e6(_0x4927fb)),_0x52118c=_0x2efd62?_0x277483[_0x4a06cc(0x187)](_0x45a75b,{}):_0x277483[_0x4a06cc(0x187)](_0xa67cd8,{}),_0x421d31=_0x55c618['useCallback'](()=>{const _0x4dea6f=_0x4a06cc;_0x2efd62||_0x4feb56[_0x4dea6f(0x30b)]();},[_0x2efd62,_0x4feb56]);function _0x16a1c3(){const _0x55e39a=_0x4a06cc;return _0x277483['jsxs']('div',{'className':_0x55e39a(0x2d1),'onClick':_0x421d31,'children':[_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':_0x52c80f[_0x55e39a(0x3f8)](_0x55e39a(0x15d),{'univer-text-green-500':_0x2efd62,'univer-text-red-500':!_0x2efd62}),'children':_0x52118c}),_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50dd33})]});}return _0x2efd62?_0x16a1c3():_0x277483['jsx'](_0x52c80f[_0x4a06cc(0x1ee)],{'title':_0x39f11b['t']('collab-client.tooltip.reconnect'),'children':_0x16a1c3()});}var _0x224221=Object[_0x5f4777(0x29e)],_0x1a6fa1=(_0x86c885,_0x3fe3e8,_0x27412a,_0x41ab4f)=>{const _0x541ec7=_0x5f4777;for(var _0x1f4292=_0x41ab4f>0x1?void 0x0:_0x41ab4f?_0x224221(_0x3fe3e8,_0x27412a):_0x3fe3e8,_0x6472fd=_0x86c885[_0x541ec7(0x15b)]-0x1,_0x2d1fad;_0x6472fd>=0x0;_0x6472fd--)(_0x2d1fad=_0x86c885[_0x6472fd])&&(_0x1f4292=_0x2d1fad(_0x1f4292)||_0x1f4292);return _0x1f4292;},_0x161d49=(_0x3fc2d9,_0x55e274)=>(_0x4eaa0e,_0x517a01)=>_0x55e274(_0x4eaa0e,_0x517a01,_0x3fc2d9);_0x5cfa5d[_0x5f4777(0x16d)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4f971d,_0x324fde,_0x2b275c,_0x4df0cd){const _0xc481af=_0x5f4777;super(),_0x13969d(this,_0xc481af(0x342),new _0x5d9504[(_0xc481af(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4f971d,this['_injector']=_0x324fde,this[_0xc481af(0x272)]=_0x2b275c,this[_0xc481af(0x18f)]=_0x4df0cd,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x5f4777(0x3e4)](){const _0x37c4af=_0x5f4777;this[_0x37c4af(0x3b8)](this['_univerInstanceService'][_0x37c4af(0x12f)][_0x37c4af(0x1b6)](_0x5d9504[_0x37c4af(0x229)](()=>{const _0xc567d2=_0x37c4af,_0x362d77=this[_0xc567d2(0x332)][_0xc567d2(0x168)]();return _0x362d77?this['_collaborationController'][_0xc567d2(0x177)](_0x362d77[_0xc567d2(0x3b0)]()):_0x5d9504['of'](null);}),_0x5d9504[_0x37c4af(0x229)](_0x358169=>_0x358169?_0x358169[_0x37c4af(0x25c)]:_0x5d9504['of'](_0x378bf4[_0x37c4af(0x280)][_0x37c4af(0x211)])))[_0x37c4af(0x403)](_0x1aebac=>{const _0x2a8968=_0x37c4af;this[_0x2a8968(0x342)][_0x2a8968(0x121)](_0x1aebac);}));}[_0x5f4777(0x2d5)](){const _0x5651e0=_0x5f4777;this[_0x5651e0(0x3b8)](this['_uiPartsService']['registerComponent'](_0x19c552[_0x5651e0(0x21a)][_0x5651e0(0x11d)],()=>_0x19c552[_0x5651e0(0x25a)](_0x367ad({'status$':this['_status$'][_0x5651e0(0x1d5)]()}),this[_0x5651e0(0x34e)])));}},_0x5cfa5d[_0x5f4777(0x16d)]=_0x1a6fa1([_0x161d49(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x161d49(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x161d49(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x161d49(0x3,_0x19c552[_0x5f4777(0x1da)])],_0x5cfa5d[_0x5f4777(0x16d)]);function _0x367ad(_0x12e53a){const {status$:_0x15367f}=_0x12e53a;return function(){const _0x2e2c42=_0x1d45;return _0x277483[_0x2e2c42(0x187)](_0x3a4d0e,{'status$':_0x15367f});};}const _0x44c1af=_0x1ced2a[_0x5f4777(0x171)]('uni.network.url-service');var _0x3c4ad4=Object['getOwnPropertyDescriptor'],_0x421983=(_0x1035ee,_0x1cb7b5,_0x25f718,_0x5788d8)=>{const _0x970cdb=_0x5f4777;for(var _0x4d80ef=_0x5788d8>0x1?void 0x0:_0x5788d8?_0x3c4ad4(_0x1cb7b5,_0x25f718):_0x1cb7b5,_0x35cf8d=_0x1035ee[_0x970cdb(0x15b)]-0x1,_0xeab3e;_0x35cf8d>=0x0;_0x35cf8d--)(_0xeab3e=_0x1035ee[_0x35cf8d])&&(_0x4d80ef=_0xeab3e(_0x4d80ef)||_0x4d80ef);return _0x4d80ef;},_0x3b9902=(_0x9d5fa8,_0x57715a)=>(_0x58c408,_0x3936b2)=>_0x57715a(_0x58c408,_0x3936b2,_0x9d5fa8);_0x5cfa5d['CollaborationDataLoaderController']=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x36fff9,_0x290fa8,_0x89c6cb,_0x1eea71,_0x12486a){const _0x23777d=_0x5f4777;super(),this[_0x23777d(0x128)]=_0x36fff9,this['_logService']=_0x290fa8,this[_0x23777d(0x287)]=_0x89c6cb,this[_0x23777d(0x396)]=_0x1eea71,_0x12486a?_0x12486a==null||_0x12486a[_0x23777d(0x37e)]()[_0x23777d(0x35f)](()=>this[_0x23777d(0x1c6)]()):(this['_logService'][_0x23777d(0x40e)](_0x23777d(0x225),_0x23777d(0x36f)),this[_0x23777d(0x1c6)]());}async[_0x5f4777(0x1c6)](){const _0x3b8837=_0x5f4777,_0x5524b2=this[_0x3b8837(0x128)]['getParam'](_0x3b8837(0x1f7)),_0x38cdd1=this[_0x3b8837(0x128)][_0x3b8837(0x296)]('type'),_0x35bee4=this['_urlService'][_0x3b8837(0x296)](_0x3b8837(0x38a));if(!_0x5524b2||!_0x38cdd1){this['_logService'][_0x3b8837(0x40e)](_0x3b8837(0x225),_0x3b8837(0x3a9));return;}const _0x1f5991=await this['_dataLoaderService'][_0x3b8837(0x2aa)](_0x5524b2,Number(_0x38cdd1),_0x35bee4);_0x1f5991&&_0x1f5991 instanceof _0x1ced2a[_0x3b8837(0x2c3)]&&this['_setupSubUnitSync'](_0x1f5991);}async[_0x5f4777(0x24f)](_0x4e2d22){const _0x2e27e8=_0x5f4777;await this['_updateSubUnitFromURLParams'](_0x4e2d22),_0x4e2d22['activeSheet$'][_0x2e27e8(0x1b6)](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))['subscribe'](_0x1fc385=>{const _0x2a7daf=_0x2e27e8;_0x1fc385&&this[_0x2a7daf(0x3a7)](_0x1fc385);}),this['_urlService'][_0x2e27e8(0x16a)]['pipe'](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))[_0x2e27e8(0x403)](()=>this[_0x2e27e8(0x1a4)](_0x4e2d22));}[_0x5f4777(0x3a7)](_0x45dfe9,_0xcd3145=!0x1){const _0x4762b5=_0x5f4777,_0x1ee761=this[_0x4762b5(0x128)]['getParam'](_0x4762b5(0x38a));_0x45dfe9[_0x4762b5(0x2ca)]()!==_0x1ee761&&this[_0x4762b5(0x128)][_0x4762b5(0x40f)]('subunit',_0x45dfe9[_0x4762b5(0x2ca)](),_0xcd3145);}async[_0x5f4777(0x1a4)](_0xa64b5f){const _0x563785=_0x5f4777;var _0x103485;const _0x23a526=this[_0x563785(0x128)]['getParam'](_0x563785(0x38a));if(!_0x23a526||!_0xa64b5f['getSheetBySheetId'](_0x23a526)){const _0x2ea990=_0xa64b5f['getUnhiddenWorksheets']()[0x0],_0x226e05=_0xa64b5f[_0x563785(0x358)](_0x2ea990);if(!_0x226e05)return;this['_updateURLWithCurrentState'](_0x226e05,!0x0),await this[_0x563785(0x287)][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x2ea990});return;}((_0x103485=_0xa64b5f[_0x563785(0x275)]())==null?void 0x0:_0x103485[_0x563785(0x2ca)]())!==_0x23a526&&await this['_commandService'][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x23a526});}},_0x5cfa5d[_0x5f4777(0x255)]=_0x421983([_0x3b9902(0x0,_0x44c1af),_0x3b9902(0x1,_0x1ced2a[_0x5f4777(0x14b)]),_0x3b9902(0x2,_0x1ced2a[_0x5f4777(0x331)]),_0x3b9902(0x3,_0x1ced2a['Inject'](_0x378bf4[_0x5f4777(0x219)])),_0x3b9902(0x4,_0x1ced2a[_0x5f4777(0x284)](_0x519d5f['IRemoteInstanceService']))],_0x5cfa5d[_0x5f4777(0x255)]);var _0x5dbe4f=Object[_0x5f4777(0x29e)],_0x3fac92=(_0x7cce01,_0x1eb97c,_0x33bd4f,_0x40ab98)=>{const _0x3d7405=_0x5f4777;for(var _0x17ee42=_0x40ab98>0x1?void 0x0:_0x40ab98?_0x5dbe4f(_0x1eb97c,_0x33bd4f):_0x1eb97c,_0x58a8ae=_0x7cce01[_0x3d7405(0x15b)]-0x1,_0x54c8c7;_0x58a8ae>=0x0;_0x58a8ae--)(_0x54c8c7=_0x7cce01[_0x58a8ae])&&(_0x17ee42=_0x54c8c7(_0x17ee42)||_0x17ee42);return _0x17ee42;},_0x3ed36a=(_0x5b37c3,_0xe3dceb)=>(_0x1c483f,_0x4509da)=>_0xe3dceb(_0x1c483f,_0x4509da,_0x5b37c3);let _0x566d5c=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0xeb7185,_0x98c902){const _0x54443c=_0x5f4777;super(),this['_docClipboardService']=_0xeb7185,this[_0x54443c(0x1c3)]=_0x98c902,this[_0x54443c(0x1c6)]();}[_0x5f4777(0x1c6)](){const _0x194b20=_0x5f4777,_0x5114eb=this;this['disposeWithMe'](this[_0x194b20(0x3cf)]['addClipboardHook']({'onBeforePasteImage':async _0x5c7cfd=>{const _0x1f02ff=_0x194b20,_0x50f2c0=await _0x5114eb['_imageIoService'][_0x1f02ff(0x400)](_0x5c7cfd);return _0x50f2c0?{'source':_0x50f2c0[_0x1f02ff(0x1ac)],'imageSourceType':_0x50f2c0[_0x1f02ff(0x165)]}:null;}}));}};_0x566d5c=_0x3fac92([_0x3ed36a(0x0,_0x2366a5[_0x5f4777(0x258)]),_0x3ed36a(0x1,_0x2a63ae[_0x5f4777(0x2a5)])],_0x566d5c);const _0x5306c3=[_0x5f4777(0x167),_0x5f4777(0x392),'green.600','red.300',_0x5f4777(0x279),_0x5f4777(0x294)];class _0x21d2e0 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0xbbc763=_0x5f4777;super(...arguments),_0x13969d(this,_0xbbc763(0x385),new Map()),_0x13969d(this,_0xbbc763(0x2b9),0x0);}[_0x5f4777(0x2e0)](_0x4f0f1a){const _0x296990=_0x5f4777;if(this[_0x296990(0x385)][_0x296990(0x2be)](_0x4f0f1a))return this[_0x296990(0x385)][_0x296990(0x2b5)](_0x4f0f1a);const _0x1ddc6a=_0x5306c3[this[_0x296990(0x2b9)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x5306c3[_0x296990(0x15b)],this[_0x296990(0x385)][_0x296990(0x2a2)](_0x4f0f1a,_0x1ddc6a),_0x1ddc6a;}}function _0x5c3f10(_0x2785ec){const _0x167f9f=_0x5f4777;let _0x36baaa='';for(const _0x479b97 of _0x2785ec){const {startOffset:_0x161e47,endOffset:_0x21dd33,isActive:_0x555bab,rangeType:_0x194de2,segmentId:_0x2f1d0b,segmentPage:_0x115297}=_0x479b97;_0x36baaa[_0x167f9f(0x15b)]&&(_0x36baaa+=','),_0x36baaa+=_0x161e47+':'+_0x21dd33+':'+(_0x555bab?'1':'0')+':'+_0x194de2+':'+_0x2f1d0b+':'+_0x115297;}return _0x36baaa;}function _0x56fc98(_0x302a3c){const _0x1b2e11=_0x5f4777,_0x5bbaa7=_0x302a3c[_0x1b2e11(0x2a1)](','),_0x2054f9=[];for(const _0x51d7ce of _0x5bbaa7){const [_0x5b8978,_0x47699b,_0x31dcf3,_0x1a8c68,_0x24a1a4,_0x3a13de]=_0x51d7ce[_0x1b2e11(0x2a1)](':');_0x2054f9[_0x1b2e11(0x263)]({'startOffset':Number(_0x5b8978),'endOffset':Number(_0x47699b),'collapsed':_0x5b8978===_0x47699b,'isActive':_0x31dcf3==='1','rangeType':_0x1a8c68===_0x1ced2a[_0x1b2e11(0x3cb)][_0x1b2e11(0x29f)]?_0x1ced2a[_0x1b2e11(0x3cb)]['TEXT']:_0x1ced2a[_0x1b2e11(0x3cb)]['RECT'],'segmentId':typeof _0x24a1a4==_0x1b2e11(0x2dc)?String(_0x24a1a4):'','segmentPage':Number(_0x3a13de!=null?_0x3a13de:-0x1)});}return _0x2054f9['some'](_0x194b22=>_0x194b22[_0x1b2e11(0x3e2)])||(_0x2054f9[0x0][_0x1b2e11(0x3e2)]=!0x0),_0x2054f9;}class _0x29a65a extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x213dc0=_0x5f4777;super(...arguments),_0x13969d(this,_0x213dc0(0x390),new _0x5d9504[(_0x213dc0(0x149))](null)),_0x13969d(this,_0x213dc0(0x1aa),this[_0x213dc0(0x390)][_0x213dc0(0x1d5)]());}[_0x5f4777(0x383)](_0x5731e7){const _0x51e761=_0x5f4777,{unitID:_0x5b1d5f,memberID:_0x36d42a,textRanges:_0x5c3f19}=_0x5731e7,_0x317fe6=_0x5c3f10(_0x5c3f19);if(_0x317fe6==='')return;const _0x12bcad={'unitID':_0x5b1d5f,'memberID':_0x36d42a,'selection':_0x317fe6};this[_0x51e761(0x390)][_0x51e761(0x121)](_0x12bcad);}}var _0x4b04da=Object[_0x5f4777(0x29e)],_0x1a248e=(_0x4a9a1b,_0x1d23f0,_0x471eda,_0x25f838)=>{const _0x2af8e7=_0x5f4777;for(var _0x391f5e=_0x25f838>0x1?void 0x0:_0x25f838?_0x4b04da(_0x1d23f0,_0x471eda):_0x1d23f0,_0xce81f6=_0x4a9a1b[_0x2af8e7(0x15b)]-0x1,_0x3b3c18;_0xce81f6>=0x0;_0xce81f6--)(_0x3b3c18=_0x4a9a1b[_0xce81f6])&&(_0x391f5e=_0x3b3c18(_0x391f5e)||_0x391f5e);return _0x391f5e;},_0x3320ea=(_0x56351c,_0x5a8bee)=>(_0x3c180f,_0x5693e8)=>_0x5a8bee(_0x3c180f,_0x5693e8,_0x56351c);const _0x416a84=0x12c,_0x4fa5b5=0x64;let _0x550b2e=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x486784,_0x55076d,_0xfad411,_0x5e694d,_0x2a146e,_0x13ed9a,_0x59028c,_0x19c0da,_0xd67272){const _0x494d44=_0x5f4777;super(),_0x13969d(this,'_online',!0x1),_0x13969d(this,_0x494d44(0x1c6),!0x1),_0x13969d(this,_0x494d44(0x1d7),new _0x5d9504[(_0x494d44(0x149))](new Map())),_0x13969d(this,_0x494d44(0x347),this['_cursorInfo$']['asObservable']()),_0x13969d(this,'_roomMembers$',new _0x5d9504[(_0x494d44(0x149))]([])),_0x13969d(this,_0x494d44(0x38b),this[_0x494d44(0x2f3)][_0x494d44(0x1b6)](_0x5d9504[_0x494d44(0x133)](_0x416a84))),_0x13969d(this,'_updateLocalCursor',_0x1ced2a['debounce'](_0x44dc7=>{const _0x5c5baa=_0x494d44,_0x1306a3={'eventID':_0x28eb5b['CollaborationEvent'][_0x5c5baa(0x3be)],'data':{'unitID':this[_0x5c5baa(0x1f0)],'memberID':this['_session'][_0x5c5baa(0x2b7)](),'selection':_0x5c3f10(_0x44dc7)}};this[_0x5c5baa(0x2cd)][_0x5c5baa(0x29b)](_0x1306a3,this[_0x5c5baa(0x1f0)]);},_0x4fa5b5)),(this[_0x494d44(0x1f0)]=_0x486784,this[_0x494d44(0x2cd)]=_0x55076d,this[_0x494d44(0x34e)]=_0xfad411,this[_0x494d44(0x3fc)]=_0x5e694d,this['_memberService']=_0x2a146e,this[_0x494d44(0x35c)]=_0x13ed9a,this[_0x494d44(0x327)]=_0x59028c,this['_univerInstanceService']=_0x19c0da,this[_0x494d44(0x287)]=_0xd67272);}get['cursorInfo'](){const _0x4cc4f0=_0x5f4777;return this[_0x4cc4f0(0x1d7)][_0x4cc4f0(0x160)]();}get[_0x5f4777(0x27f)](){const _0x5a8dd7=_0x5f4777;return this[_0x5a8dd7(0x2f3)][_0x5a8dd7(0x160)]();}['dispose'](){const _0x24f8d3=_0x5f4777;super[_0x24f8d3(0x256)](),this[_0x24f8d3(0x1d7)][_0x24f8d3(0x121)](new Map()),this[_0x24f8d3(0x1d7)]['complete'](),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x121)]([]),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x242)]();}[_0x5f4777(0x3f4)](){const _0x4afc2a=_0x5f4777;this[_0x4afc2a(0x1c6)]||(this['_init']=!0x0,this[_0x4afc2a(0x2cd)][_0x4afc2a(0x20c)]['pipe'](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x12d362=>{const _0xd37f57=_0x4afc2a;_0x12d362===_0x378bf4[_0xd37f57(0x353)]['ONLINE']?this[_0xd37f57(0x2c9)]():this[_0xd37f57(0x14e)]();}),this[_0x4afc2a(0x2cd)][_0x4afc2a(0x2bd)][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this['dispose$']))[_0x4afc2a(0x403)](_0x4cdc91=>{const _0x522519=_0x4afc2a,_0x4f45bf=_0x4cdc91[_0x522519(0x244)];_0x4f45bf===_0x28eb5b[_0x522519(0x334)][_0x522519(0x3be)]&&this[_0x522519(0x369)](_0x4cdc91),_0x4f45bf===_0x28eb5b[_0x522519(0x334)]['USERS_LEAVE']&&this[_0x522519(0x17d)](_0x4cdc91);}),this[_0x4afc2a(0x3b8)](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x5d6343=>{const _0x1fa19f=_0x4afc2a,_0x584b22=_0x5d6343[_0x1fa19f(0x278)];_0x584b22!=null&&this['_online']&&_0x5d6343['id']===_0x56412a['SetTextSelectionsOperation']['id']&&_0x584b22[_0x1fa19f(0x3d9)]===this['unitID']&&_0x584b22[_0x1fa19f(0x38d)]===!0x1&&_0x584b22['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x584b22[_0x1fa19f(0x216)]);})),this[_0x4afc2a(0x35c)]['collabCursorState$'][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x46cdb5=>{const _0x5703fe=_0x4afc2a;if((_0x46cdb5==null?void 0x0:_0x46cdb5['unitID'])!==this[_0x5703fe(0x1f0)])return;const _0x5dc65e={'eventID':_0x28eb5b[_0x5703fe(0x334)]['UPDATE_CURSOR'],'data':_0x46cdb5};this[_0x5703fe(0x369)](_0x5dc65e);}),this['disposeWithMe'](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x24c1a0=>{const _0x16b5e2=_0x4afc2a;if(_0x24c1a0[_0x16b5e2(0x278)]==null)return;const _0x36601a=_0x24c1a0['params'];if(_0x24c1a0['id']!==_0x56412a['RichTextEditingMutation']['id']||_0x36601a['unitId']!==this[_0x16b5e2(0x1f0)])return;const _0x2c6bdd={'id':_0x16b5e2(0x36e),'params':_0x36601a},_0x18cd41=this['cursorInfo'];for(const [_0x57914c,_0x1e2abc]of _0x18cd41){const _0x55196b={'id':_0x16b5e2(0x36e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1e2abc[_0x16b5e2(0x216)]}},_0x5eba47=this[_0x16b5e2(0x327)][_0x16b5e2(0x3dd)](_0x2c6bdd,_0x55196b,!0x1);if(_0x28eb5b[_0x16b5e2(0x223)](_0x5eba47))throw _0x5eba47['error'];_0x18cd41[_0x16b5e2(0x2a2)](_0x57914c,{..._0x1e2abc,'ranges':_0x5eba47[_0x16b5e2(0x3d1)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3ff21b=_0x16b5e2;this[_0x3ff21b(0x1d7)]['next'](_0x18cd41);});})));}['_onCursorUpdate'](_0x50780c){const _0x287f8d=_0x5f4777;var _0x1005da,_0x5da6a4;const {memberID:_0x14426a,selection:_0xe18f3b}=_0x50780c[_0x287f8d(0x241)],_0x47ef6a=_0x56fc98(_0xe18f3b),_0x1c36e0=(_0x5da6a4=(_0x1005da=this[_0x287f8d(0x3aa)][_0x287f8d(0x1a0)](this[_0x287f8d(0x1f0)],_0x14426a))==null?void 0x0:_0x1005da[_0x287f8d(0x308)])!=null?_0x5da6a4:'Unknown\x20user',_0x3c3d2b={'color':this[_0x287f8d(0x3fc)][_0x287f8d(0x2e0)](_0x14426a),'name':_0x1c36e0,'ranges':_0x47ef6a},_0x56cbf2=this[_0x287f8d(0x2a0)];_0x56cbf2[_0x287f8d(0x2a2)](_0x14426a,_0x3c3d2b),this[_0x287f8d(0x1d7)][_0x287f8d(0x121)](_0x56cbf2);}['_onCursorDelete'](_0x2bfdfa){const _0x201507=_0x5f4777,{memberID:_0x334864}=_0x2bfdfa['data'],_0x3552c2=this[_0x201507(0x2a0)];_0x3552c2[_0x201507(0x259)](_0x334864),this[_0x201507(0x1d7)][_0x201507(0x121)](_0x3552c2);}[_0x5f4777(0x2c9)](){const _0xff1568=_0x5f4777;var _0x1f6667;if(this[_0xff1568(0x183)]=!0x0,((_0x1f6667=this[_0xff1568(0x332)]['getFocusedUnit']())==null?void 0x0:_0x1f6667[_0xff1568(0x3b0)]())!==this[_0xff1568(0x1f0)])return;const _0x25703e=this[_0xff1568(0x34e)][_0xff1568(0x2b5)](_0x56412a[_0xff1568(0x189)])[_0xff1568(0x366)]();Array[_0xff1568(0x192)](_0x25703e)&&_0x25703e[_0xff1568(0x15b)]>0x0&&this['_updateLocalCursor'](_0x25703e);}[_0x5f4777(0x14e)](){const _0x388d28=_0x5f4777;this[_0x388d28(0x183)]=!0x1;}};_0x550b2e=_0x1a248e([_0x3320ea(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x3320ea(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x21d2e0)),_0x3320ea(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['MemberService'])),_0x3320ea(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x29a65a)),_0x3320ea(0x6,_0x28eb5b[_0x5f4777(0x218)]),_0x3320ea(0x7,_0x1ced2a['IUniverInstanceService']),_0x3320ea(0x8,_0x1ced2a[_0x5f4777(0x331)])],_0x550b2e);var _0x1a1e61=Object['getOwnPropertyDescriptor'],_0x16ea2d=(_0x68e5b2,_0x5d9d83,_0x2c1cf8,_0x157882)=>{const _0x20417e=_0x5f4777;for(var _0xba7fba=_0x157882>0x1?void 0x0:_0x157882?_0x1a1e61(_0x5d9d83,_0x2c1cf8):_0x5d9d83,_0x29ea31=_0x68e5b2[_0x20417e(0x15b)]-0x1,_0x3bc54c;_0x29ea31>=0x0;_0x29ea31--)(_0x3bc54c=_0x68e5b2[_0x29ea31])&&(_0xba7fba=_0x3bc54c(_0xba7fba)||_0xba7fba);return _0xba7fba;},_0x53b719=(_0x3292d0,_0x655bb5)=>(_0x630245,_0x392524)=>_0x655bb5(_0x630245,_0x392524,_0x3292d0);const _0x87778a=0x12c,_0x45d485=0x64,_0x18acb5=()=>{let _0x43e966=[],_0x2ebdcb=!0x1;return _0x5c9e54=>{const _0x204279=_0x1d45;_0x43e966[_0x204279(0x263)](_0x5c9e54),_0x2ebdcb||(_0x2ebdcb=!0x0,setTimeout(()=>{const _0x40f31c=_0x204279;_0x43e966[_0x40f31c(0x196)](_0x5a57fd=>_0x5a57fd()),_0x43e966=[],_0x2ebdcb=!0x1;}));};};let _0x12a92c=class extends _0x1ced2a['RxDisposable']{constructor(_0x1e8d25,_0x3ef77a,_0x2ace46,_0x22665b,_0x469223,_0x25ad11,_0x460362,_0x1d86f5){const _0x471a77=_0x5f4777;super(),_0x13969d(this,_0x471a77(0x183),!0x1),_0x13969d(this,_0x471a77(0x1c6),!0x1),_0x13969d(this,'_cursorInfo$',new _0x5d9504[(_0x471a77(0x149))](new Map())),_0x13969d(this,_0x471a77(0x347),this[_0x471a77(0x1d7)][_0x471a77(0x1d5)]()),_0x13969d(this,_0x471a77(0x2f3),new _0x5d9504[(_0x471a77(0x149))]([])),_0x13969d(this,_0x471a77(0x38b),this[_0x471a77(0x2f3)][_0x471a77(0x1b6)](_0x5d9504[_0x471a77(0x133)](_0x87778a))),_0x13969d(this,_0x471a77(0x3cc),_0x1ced2a[_0x471a77(0x1d3)]((_0x3ba515,_0x3c3607)=>{const _0x455d8b=_0x471a77,_0x5b5b1d={'eventID':_0x28eb5b[_0x455d8b(0x334)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x455d8b(0x1f0)],'memberID':this[_0x455d8b(0x2cd)][_0x455d8b(0x2b7)](),'selection':_0x900d4['serializeRangeWithSheet'](_0x3ba515,_0x3c3607[_0x455d8b(0x13a)])}};this[_0x455d8b(0x2cd)][_0x455d8b(0x29b)](_0x5b5b1d,this[_0x455d8b(0x1f0)]);},_0x45d485)),(this[_0x471a77(0x1f0)]=_0x1e8d25,this['_session']=_0x3ef77a,this[_0x471a77(0x34e)]=_0x2ace46,this[_0x471a77(0x3fc)]=_0x22665b,this[_0x471a77(0x3aa)]=_0x469223,this[_0x471a77(0x332)]=_0x25ad11,this['_commandService']=_0x460362,this['_refRangeService']=_0x1d86f5);}get[_0x5f4777(0x2a0)](){const _0x2f0a2e=_0x5f4777;return this['_cursorInfo$'][_0x2f0a2e(0x160)]();}get['roomMembers'](){const _0x16e6ee=_0x5f4777;return this[_0x16e6ee(0x2f3)]['getValue']();}[_0x5f4777(0x256)](){const _0x37e9e7=_0x5f4777;super[_0x37e9e7(0x256)](),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x121)](new Map()),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x242)](),this[_0x37e9e7(0x2f3)][_0x37e9e7(0x121)]([]),this[_0x37e9e7(0x2f3)]['complete']();}[_0x5f4777(0x3f4)](){const _0x29edb5=_0x5f4777;this[_0x29edb5(0x1c6)]||(this[_0x29edb5(0x1c6)]=!0x0,this[_0x29edb5(0x2cd)][_0x29edb5(0x20c)]['pipe'](_0x5d9504[_0x29edb5(0x39f)](this[_0x29edb5(0x197)]))[_0x29edb5(0x403)](_0x5735ae=>{const _0x48b431=_0x29edb5;_0x5735ae===_0x378bf4['SessionStatus'][_0x48b431(0x2e6)]?this[_0x48b431(0x2c9)]():this['_toggleOffline']();}),this[_0x29edb5(0x2cd)][_0x29edb5(0x2bd)]['pipe'](_0x5d9504['takeUntil'](this['dispose$']))['subscribe'](_0x164103=>{const _0x85cb5=_0x29edb5,_0x408f39=_0x164103[_0x85cb5(0x244)];_0x408f39===_0x28eb5b[_0x85cb5(0x334)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x164103),_0x408f39===_0x28eb5b[_0x85cb5(0x334)][_0x85cb5(0x210)]&&this[_0x85cb5(0x17d)](_0x164103);}),this[_0x29edb5(0x359)](),this[_0x29edb5(0x3b8)](this[_0x29edb5(0x287)]['onCommandExecuted'](_0x4d95a9=>{const _0x39f66d=_0x29edb5;if(this[_0x39f66d(0x183)]&&_0x4d95a9['id']===_0x4cc6da[_0x39f66d(0x136)]['id']&&_0x4d95a9['params'][_0x39f66d(0x3d9)]===this[_0x39f66d(0x1f0)]){const _0x1d2360=_0x4d95a9[_0x39f66d(0x278)];this[_0x39f66d(0x3cc)](_0x1d2360[_0x39f66d(0x163)],_0x1d2360[_0x39f66d(0x357)][0x0]);}})));}[_0x5f4777(0x369)](_0x290a14){const _0xe3c2a0=_0x5f4777;var _0x289457,_0x6f19fa;const {memberID:_0x34b08d,selection:_0xc5e36e}=_0x290a14[_0xe3c2a0(0x241)],{sheetName:_0x3f83b4,range:_0x528615}=_0x900d4[_0xe3c2a0(0x3e3)](_0xc5e36e),_0x373fd5={'name':(_0x6f19fa=(_0x289457=this[_0xe3c2a0(0x3aa)][_0xe3c2a0(0x1a0)](this[_0xe3c2a0(0x1f0)],_0x34b08d))==null?void 0x0:_0x289457[_0xe3c2a0(0x308)])!=null?_0x6f19fa:_0xe3c2a0(0x373),'range':this[_0xe3c2a0(0x1d0)](_0x3f83b4,_0x528615),'sheetID':_0x3f83b4,'color':this[_0xe3c2a0(0x3fc)][_0xe3c2a0(0x2e0)](_0x34b08d),'selection':_0xc5e36e},_0x486c9a=this[_0xe3c2a0(0x2a0)];_0x486c9a[_0xe3c2a0(0x2a2)](_0x34b08d,_0x373fd5),this[_0xe3c2a0(0x1d7)][_0xe3c2a0(0x121)](_0x486c9a);}[_0x5f4777(0x17d)](_0x3cc8cb){const _0x382e28=_0x5f4777,{memberID:_0x4b2f9f}=_0x3cc8cb[_0x382e28(0x241)],_0x55e722=this[_0x382e28(0x2a0)];_0x55e722[_0x382e28(0x259)](_0x4b2f9f),this[_0x382e28(0x1d7)][_0x382e28(0x121)](_0x55e722);}[_0x5f4777(0x1d0)](_0x44eeee,_0x4f3e0c){const _0x9582a4=_0x5f4777;var _0x157630,_0x3b32fd;const _0x43035f=(_0x3b32fd=(_0x157630=this[_0x9582a4(0x332)][_0x9582a4(0x3eb)](this['unitID']))==null?void 0x0:_0x157630[_0x9582a4(0x358)](_0x44eeee))==null?void 0x0:_0x3b32fd[_0x9582a4(0x16c)]();return(_0x43035f==null?void 0x0:_0x43035f[_0x9582a4(0x23b)](_0x1f41a0=>_0x1ced2a[_0x9582a4(0x19f)][_0x9582a4(0x292)](_0x1f41a0,_0x4f3e0c)))||_0x4f3e0c;}['_onRefRangeChange'](){const _0xd77153=_0x5f4777,_0xab704e=new _0x1ced2a[(_0xd77153(0x40a))](),_0xafc3b7=_0x18acb5(),_0x2d48d7=()=>{const _0x1a7895=_0xd77153;_0xab704e['dispose']();const _0x58c0ad=(_0x37399d,_0x45bb01,_0x46aa92,_0x46c601)=>{const _0xf37e4a=_0x1d45;let _0x5adca2=[];switch(_0x37399d['id']){case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x265)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x25f)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x222)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2da)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['InsertColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2e1)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2ae)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x340)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x1e7)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x33d)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x153)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x3c5)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2b0)]:{_0x5adca2=_0x4cc6da['handleMoveRange'](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x130)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveRowCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x36d)](_0x37399d,_0x46c601);break;}}const _0x3e1a6b=_0x4cc6da[_0xf37e4a(0x1d4)](_0x5adca2,_0x46c601),_0x533fb3=this[_0xf37e4a(0x2a0)]['get'](_0x45bb01);if(_0x533fb3&&_0x3e1a6b){const _0x392cbf={..._0x533fb3,'range':_0x3e1a6b};this[_0xf37e4a(0x2a0)]['set'](_0x45bb01,_0x392cbf),_0xafc3b7(()=>{const _0x2dea63=_0xf37e4a,_0x9067f=this[_0x2dea63(0x3ea)]['registerRefRange'](_0x3e1a6b,_0x37518a=>(_0x9067f['dispose'](),_0x58c0ad(_0x37518a,_0x45bb01,_0x46aa92,_0x3e1a6b)));_0xab704e[_0x2dea63(0x248)](_0x9067f);});}return{'redos':[],'undos':[]};};this[_0x1a7895(0x2a0)][_0x1a7895(0x196)]((_0x2b3c96,_0x2f295f)=>{const _0x256430=_0x1a7895,{range:_0x1cc608,sheetID:_0x2dfd27}=_0x2b3c96,_0x609eae=this[_0x256430(0x3ea)]['registerRefRange'](_0x1cc608,_0x550ddd=>(_0x609eae[_0x256430(0x256)](),_0x58c0ad(_0x550ddd,_0x2f295f,_0x2dfd27,_0x1cc608)));_0xab704e[_0x256430(0x248)](_0x609eae);});};this[_0xd77153(0x3b8)](_0x1ced2a[_0xd77153(0x3a0)](this[_0xd77153(0x1d7)][_0xd77153(0x403)](()=>{_0x2d48d7();})));}[_0x5f4777(0x2c9)](){const _0x198b62=_0x5f4777;var _0x2549fd,_0xf7e5a8;if(this[_0x198b62(0x183)]=!0x0,((_0x2549fd=this[_0x198b62(0x332)][_0x198b62(0x168)]())==null?void 0x0:_0x2549fd[_0x198b62(0x3b0)]())!==this['unitID'])return;const _0x42e2b9=(_0xf7e5a8=this[_0x198b62(0x34e)][_0x198b62(0x2b5)](_0x4cc6da[_0x198b62(0x1a6)])[_0x198b62(0x15c)]())==null?void 0x0:_0xf7e5a8[0x0],_0x59ffb4=this[_0x198b62(0x332)]['getCurrentUnitForType'](_0x1ced2a[_0x198b62(0x3b7)][_0x198b62(0x228)])[_0x198b62(0x275)]();_0x42e2b9&&_0x59ffb4&&this[_0x198b62(0x3cc)](_0x59ffb4[_0x198b62(0x2ca)](),_0x42e2b9);}['_toggleOffline'](){this['_online']=!0x1;}};_0x12a92c=_0x16ea2d([_0x53b719(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53b719(0x3,_0x1ced2a['Inject'](_0x21d2e0)),_0x53b719(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2d4)])),_0x53b719(0x5,_0x1ced2a[_0x5f4777(0x24c)]),_0x53b719(0x6,_0x1ced2a[_0x5f4777(0x331)]),_0x53b719(0x7,_0x1ced2a[_0x5f4777(0x3e1)](_0x4cc6da[_0x5f4777(0x2fc)]))],_0x12a92c);var _0x5a1b81=Object[_0x5f4777(0x29e)],_0x289d67=(_0x2905dd,_0x30cfeb,_0x28f542,_0x2e4a24)=>{for(var _0x11a0f0=_0x2e4a24>0x1?void 0x0:_0x2e4a24?_0x5a1b81(_0x30cfeb,_0x28f542):_0x30cfeb,_0x450b24=_0x2905dd['length']-0x1,_0x3b409e;_0x450b24>=0x0;_0x450b24--)(_0x3b409e=_0x2905dd[_0x450b24])&&(_0x11a0f0=_0x3b409e(_0x11a0f0)||_0x11a0f0);return _0x11a0f0;},_0x34a9c5=(_0x4c7d29,_0x292e2b)=>(_0xfe426d,_0x4e6dc6)=>_0x292e2b(_0xfe426d,_0x4e6dc6,_0x4c7d29);let _0x114331=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x27bbbd,_0x5da6bc,_0xbe0be4){const _0x1b82e4=_0x5f4777;super(),_0x13969d(this,_0x1b82e4(0x1eb),new Map()),_0x13969d(this,'_entityInit$',new _0x5d9504[(_0x1b82e4(0x207))]()),(this[_0x1b82e4(0x332)]=_0x27bbbd,this[_0x1b82e4(0x34e)]=_0x5da6bc,this[_0x1b82e4(0x288)]=_0xbe0be4,this[_0x1b82e4(0x1c6)]());}[_0x5f4777(0x256)](){const _0x4e5df2=_0x5f4777;super[_0x4e5df2(0x256)](),this[_0x4e5df2(0x3b1)][_0x4e5df2(0x242)](),this['_entities'][_0x4e5df2(0x196)](_0x507fe6=>_0x507fe6[_0x4e5df2(0x256)]());}[_0x5f4777(0x14f)](_0x400250){const _0xd02818=_0x5f4777;return this[_0xd02818(0x1eb)]['has'](_0x400250)?this[_0xd02818(0x1eb)][_0xd02818(0x2b5)](_0x400250)[_0xd02818(0x347)]:this[_0xd02818(0x3b1)][_0xd02818(0x1b6)](_0x5d9504[_0xd02818(0x2e5)](_0x24fbc1=>_0x24fbc1[_0xd02818(0x1f0)]===_0x400250),_0x5d9504[_0xd02818(0x229)](_0x2a1608=>_0x2a1608['cursorInfo$']));}[_0x5f4777(0x1c6)](){const _0x5e51a3=_0x5f4777;this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x228)])[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this[_0x5e51a3(0x197)]))['subscribe'](async _0x1fb25c=>{const _0x40e1f5=_0x5e51a3,_0x3fe0e6=_0x1fb25c[_0x40e1f5(0x3b0)](),_0x3dc361=await this[_0x40e1f5(0x245)](_0x3fe0e6);this[_0x40e1f5(0x3b1)][_0x40e1f5(0x121)](_0x3dc361),this[_0x40e1f5(0x1eb)]['set'](_0x3fe0e6,_0x3dc361);}),this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)])['pipe'](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))[_0x5e51a3(0x1b6)](_0x5d9504['filter'](_0x2c229d=>!_0x2c229d['getUnitId']()[_0x5e51a3(0x181)]('__')))['subscribe'](async _0x3a591f=>{const _0x1d51bb=_0x5e51a3,_0x43eb55=_0x3a591f[_0x1d51bb(0x3b0)](),_0x33fb40=await this[_0x1d51bb(0x1e2)](_0x43eb55);this[_0x1d51bb(0x3b1)][_0x1d51bb(0x121)](_0x33fb40),this[_0x1d51bb(0x1eb)][_0x1d51bb(0x2a2)](_0x43eb55,_0x33fb40);}),_0x5d9504['merge'](this[_0x5e51a3(0x332)][_0x5e51a3(0x3d4)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)]),this['_univerInstanceService'][_0x5e51a3(0x3d4)](_0x1ced2a['UniverInstanceType'][_0x5e51a3(0x228)]))[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))['subscribe'](_0x283b86=>{const _0x6a2020=_0x5e51a3,_0x5a39ac=_0x283b86[_0x6a2020(0x3b0)](),_0x545fec=this['_entities']['get'](_0x5a39ac);_0x545fec&&(_0x545fec['dispose'](),this['_entities']['delete'](_0x5a39ac));});}async[_0x5f4777(0x245)](_0x49733a){const _0x34bbc3=_0x5f4777,_0x257247=await this[_0x34bbc3(0x288)]['requireSession'](_0x49733a),_0x34d1d9=this['_injector'][_0x34bbc3(0x224)](_0x12a92c,_0x49733a,_0x257247);return _0x34d1d9[_0x34bbc3(0x3f4)](),_0x34d1d9;}async[_0x5f4777(0x1e2)](_0xf76aae){const _0x9ce612=_0x5f4777,_0xcd6649=await this[_0x9ce612(0x288)][_0x9ce612(0x1c5)](_0xf76aae),_0x4be544=this[_0x9ce612(0x34e)][_0x9ce612(0x224)](_0x550b2e,_0xf76aae,_0xcd6649);return _0x4be544[_0x9ce612(0x3f4)](),_0x4be544;}};_0x114331=_0x289d67([_0x34a9c5(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x34a9c5(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x34a9c5(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationSessionService']))],_0x114331);const _0x121f65=0x14,_0x171229=0xc8,_0x31786f=0x4,_0x4465da=0x5;function _0x4b1af2(_0x3c4990,_0x16e976){const _0x34bf8c=_0x5f4777;let {radius:_0x13681f,width:_0xd00499,height:_0x1da299}=_0x16e976;_0x13681f=_0x13681f!=null?_0x13681f:0x0,_0xd00499=_0xd00499!=null?_0xd00499:0x1e,_0x1da299=_0x1da299!=null?_0x1da299:0x1e;let _0x4d3a3f=0x0,_0x7c6584=0x0,_0x1988cb=0x0;_0x4d3a3f=_0x7c6584=_0x1988cb=Math[_0x34bf8c(0x2fe)](_0x13681f,_0xd00499/0x2,_0x1da299/0x2),_0x3c4990['beginPath'](),_0x3c4990[_0x34bf8c(0x194)](_0x4d3a3f,0x0),_0x3c4990['lineTo'](_0xd00499-_0x7c6584,0x0),_0x3c4990['arc'](_0xd00499-_0x7c6584,_0x7c6584,_0x7c6584,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c4990['lineTo'](_0xd00499,_0x1da299-_0x1988cb),_0x3c4990['arc'](_0xd00499-_0x1988cb,_0x1da299-_0x1988cb,_0x1988cb,0x0,Math['PI']/0x2,!0x1),_0x3c4990[_0x34bf8c(0x318)](0x0,_0x1da299),_0x3c4990['lineTo'](0x0,_0x4d3a3f),_0x3c4990[_0x34bf8c(0x152)](_0x4d3a3f,_0x4d3a3f,_0x4d3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c4990[_0x34bf8c(0x314)](),_0x16e976[_0x34bf8c(0x12e)]&&(_0x3c4990[_0x34bf8c(0x28f)](),_0x3c4990['fillStyle']=_0x16e976[_0x34bf8c(0x12e)],_0x16e976[_0x34bf8c(0x122)]===_0x34bf8c(0x3ca)?_0x3c4990[_0x34bf8c(0x12e)]('evenodd'):_0x3c4990[_0x34bf8c(0x12e)](),_0x3c4990['restore']());}class _0x4087db extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3803ae,_0x51c33b){const _0x53622a=_0x5f4777;super(_0x3803ae,_0x51c33b),_0x13969d(this,_0x53622a(0x34c)),_0x13969d(this,'text'),(this[_0x53622a(0x34c)]=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x34c)],this['text']=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x37b)]);}static['drawWith'](_0x1904d0,_0x5de89b){const _0x9cdcfd=_0x5f4777,{text:_0x669cb3,color:_0x1a7605}=_0x5de89b;_0x1904d0[_0x9cdcfd(0x28f)](),_0x1904d0[_0x9cdcfd(0x34b)]=_0x9cdcfd(0x1bc);const _0x472c8c=_0x1904d0[_0x9cdcfd(0x367)](_0x669cb3)['width'],_0x1ccd8a=Math[_0x9cdcfd(0x2fe)](_0x472c8c+0x2*_0x31786f,_0x171229);_0x4b1af2(_0x1904d0,{'height':_0x121f65,'radius':0x4,'width':_0x1ccd8a,'fill':_0x1a7605}),_0x1904d0[_0x9cdcfd(0x1de)]=_0x9cdcfd(0x19e);const _0x160e8b=_0x31786f,_0x38c413=_0x121f65-_0x4465da,_0x2bf94c=_0x171229-0x2*_0x31786f;if(_0x472c8c>_0x2bf94c){let _0x6c253d='',_0x23f98b=0x0;for(const _0x592a00 of _0x669cb3){const _0xd43d1c=_0x1904d0[_0x9cdcfd(0x367)](_0x592a00)[_0x9cdcfd(0x3b9)];if(_0x23f98b+_0xd43d1c<=_0x2bf94c-_0x1904d0[_0x9cdcfd(0x367)](_0x9cdcfd(0x316))['width'])_0x6c253d+=_0x592a00,_0x23f98b+=_0xd43d1c;else{_0x6c253d+=_0x9cdcfd(0x316);break;}}_0x1904d0[_0x9cdcfd(0x399)](_0x6c253d,_0x160e8b,_0x38c413);}else _0x1904d0['fillText'](_0x669cb3,_0x160e8b,_0x38c413);_0x1904d0['restore']();}[_0x5f4777(0x3f9)](_0x765eb2){const _0x3edc59=_0x5f4777;_0x4087db[_0x3edc59(0x139)](_0x765eb2,this);}}const _0x18a3d1=_0x5f4777(0x18c),_0x182168=_0x5f4777(0x341),_0x1cbc9f=_0x5f4777(0x309),_0x365f6a=0x6,_0x2a476b=1.5,_0x4eac9c=0x4,_0x4a0468=1.5,_0x584ddb='rgba(255,\x20255,\x20255,\x200.01)';class _0x46f806{constructor(_0x339f0e,_0x37357b,_0x19026e,_0x17de3e){const _0x1ebb30=_0x5f4777;_0x13969d(this,_0x1ebb30(0x18a),[]),_0x13969d(this,_0x1ebb30(0x391),null),_0x13969d(this,_0x1ebb30(0x230),null),_0x13969d(this,_0x1ebb30(0x131),null),_0x13969d(this,'_hideTimer',null),_0x13969d(this,_0x1ebb30(0x32a),null),(this[_0x1ebb30(0x2bf)]=_0x339f0e,this[_0x1ebb30(0x11b)]=_0x37357b,this[_0x1ebb30(0x3ae)]=_0x19026e,this[_0x1ebb30(0x15e)]=_0x17de3e,this[_0x1ebb30(0x257)]());}set[_0x5f4777(0x317)](_0x130723){const _0x202fee=_0x5f4777;_0x130723?(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2e2)](),this[_0x202fee(0x230)]&&this['_textBubble']['show']()):(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2d8)](),this[_0x202fee(0x230)]&&this['_textBubble'][_0x202fee(0x2e2)]());}[_0x5f4777(0x256)](){const _0x16fb28=_0x5f4777;for(const _0x4620e0 of this[_0x16fb28(0x18a)])_0x4620e0[_0x16fb28(0x256)]();this[_0x16fb28(0x230)]&&this[_0x16fb28(0x230)][_0x16fb28(0x256)](),this[_0x16fb28(0x131)]&&this[_0x16fb28(0x131)][_0x16fb28(0x256)](),this[_0x16fb28(0x391)]&&this['_anchor'][_0x16fb28(0x256)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5f4777(0x257)](){const _0x4bb2d0=_0x5f4777;var _0x2ada2c;const {_docSkeleton:_0x26fec2,_document:_0xb9495f}=this,{color:_0x1d90e0,name:_0x5461ec,ranges:_0x17e902}=this[_0x4bb2d0(0x2bf)],_0x4f242b=_0xb9495f['getOffsetConfig'](),{docsLeft:_0x58f337,docsTop:_0x1e4797}=_0x4f242b,_0x5e5b7b=new _0x2366a5[(_0x4bb2d0(0x2ef))](_0x4f242b,_0x26fec2);for(const {startOffset:_0x4ebd42,endOffset:_0x42ee9d,rangeType:_0x4b227f,segmentId:_0x64a4d,segmentPage:_0x5ecd01,collapsed:_0x1dbcf1,isActive:_0x216bf8}of _0x17e902){const _0x2637fb=_0x26fec2['findNodePositionByCharIndex'](_0x4ebd42,!0x0,_0x64a4d,_0x5ecd01);let _0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d,!0x0,_0x64a4d,_0x5ecd01);if(_0x5a5a7f==null&&(_0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d-0x1,!0x1,_0x64a4d,_0x5ecd01)),_0x216bf8){const {contentBoxPointGroup:_0x3760cb}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x5a5a7f,_0x5a5a7f);if(_0x3760cb[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x3b4)](_0x1d90e0,_0x3760cb,_0x58f337,_0x1e4797,_0x5461ec),this[_0x4bb2d0(0x32a)]=this[_0x4bb2d0(0x129)]();}if(_0x2637fb&&_0x5a5a7f){if(_0x4b227f===_0x1ced2a[_0x4bb2d0(0x3cb)][_0x4bb2d0(0x180)]){const _0x23a5a0=new _0x2366a5[(_0x4bb2d0(0x2ea))](_0x4f242b,_0x26fec2),{pointGroup:_0x574f62}=(_0x2ada2c=_0x23a5a0['getRangePointData'](_0x2637fb,_0x5a5a7f))!=null?_0x2ada2c:{};if(_0x574f62==null||_0x574f62[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x1e0)](_0x1d90e0,_0x574f62,_0x58f337,_0x1e4797);}else{if(!_0x1dbcf1){const {borderBoxPointGroup:_0x5a1bab}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x2637fb,_0x5a5a7f);if(_0x5a1bab[_0x4bb2d0(0x15b)]===0x0)continue;this['_drawTextRange'](_0x1d90e0,_0x5a1bab,_0x58f337,_0x1e4797);}}}}}[_0x5f4777(0x3b4)](_0x38d414,_0x2dd11b,_0x12ed1b,_0x3220d8,_0x275636){const _0xd67bbd=_0x5f4777,_0x314695=this[_0xd67bbd(0x252)](_0x2dd11b),{left:_0x41631d,top:_0x2a7096,height:_0x123bbd}=_0x314695,_0x4f5848=this['_getScale'](),_0x199ad6=_0x4a0468/_0x4f5848,_0x3f6ca2=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8,'height':_0x123bbd,'width':_0x2a476b,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a['COLORS']['black'],0x0),'strokeWidth':_0x199ad6,'stroke':_0x584ddb,'evented':!0x0});this[_0xd67bbd(0x391)]=_0x3f6ca2,this['_scene'][_0xd67bbd(0x195)](_0x3f6ca2,_0x2366a5[_0xd67bbd(0x17e)]);const _0x1948d9=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x4eac9c/0x2,'height':_0x4eac9c,'width':_0x4eac9c,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'strokeWidth':0x0,'stroke':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'evented':!0x1});this[_0xd67bbd(0x131)]=_0x1948d9,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x1948d9,_0x2366a5[_0xd67bbd(0x17e)]);const _0x4c6d4d=new _0x4087db(_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x121f65,'text':_0x275636,'color':_0x38d414});this['_textBubble']=_0x4c6d4d,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x4c6d4d,_0x2366a5[_0xd67bbd(0x17e)]),this[_0xd67bbd(0x317)]=!0x1;}[_0x5f4777(0x129)](){const _0x31f0e8=_0x5f4777,_0x3d6fcb=this[_0x31f0e8(0x391)][_0x31f0e8(0x3f3)][_0x31f0e8(0x330)](()=>{const _0x40eb6f=_0x31f0e8;this[_0x40eb6f(0x317)]=!0x0;}),_0x3f5a24=this['_anchor'][_0x31f0e8(0x125)][_0x31f0e8(0x330)](()=>{const _0x2e0d9c=_0x31f0e8;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2e0d9c(0x2d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x574685=_0x31f0e8;_0x3d6fcb[_0x574685(0x25b)](),_0x3f5a24[_0x574685(0x25b)]();};}[_0x5f4777(0x268)](_0x417d7d,_0x41653c,_0x59b5ae,_0x440002){const _0x340330=_0x5f4777,_0x57add3=new _0x1ced2a[(_0x340330(0x18e))](_0x417d7d)[_0x340330(0x2c4)](0.2)[_0x340330(0x3c4)](),_0x325e5c=new _0x40ad79[(_0x340330(0x35b))](_0x182168+_0x1ced2a[_0x340330(0x3d7)](_0x365f6a),{'pointsGroup':_0x41653c,'fill':_0x57add3||_0x40ad79[_0x340330(0x191)](_0x1ced2a[_0x340330(0x247)][_0x340330(0x24a)],0.2),'left':_0x59b5ae,'top':_0x440002,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x340330(0x18a)][_0x340330(0x263)](_0x325e5c),this[_0x340330(0x11b)][_0x340330(0x195)](_0x325e5c,_0x2366a5['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2ed339,_0x54bf7c,_0x1799c6,_0x251baa){const _0x4283b0=_0x5f4777,_0x245a3a=new _0x1ced2a[(_0x4283b0(0x18e))](_0x2ed339)['setAlpha'](0.2)['toRgbString'](),_0x5a629e=new _0x40ad79['RegularPolygon'](_0x1cbc9f+_0x1ced2a['generateRandomId'](_0x365f6a),{'pointsGroup':_0x54bf7c,'fill':_0x245a3a||_0x40ad79[_0x4283b0(0x191)](_0x1ced2a['COLORS'][_0x4283b0(0x24a)],0.2),'left':_0x1799c6,'top':_0x251baa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4283b0(0x18a)][_0x4283b0(0x263)](_0x5a629e),this[_0x4283b0(0x11b)][_0x4283b0(0x195)](_0x5a629e,_0x2366a5[_0x4283b0(0x17e)]);}['_getAnchorBounding'](_0x52d4ec){const _0x534de4=_0x52d4ec[0x0],_0x22338d=_0x534de4[0x0],_0x1e1828=_0x534de4[0x2],{x:_0x346484,y:_0x2d7b5e}=_0x22338d,{x:_0x2b5359,y:_0x517b47}=_0x1e1828;return{'left':_0x346484,'top':_0x2d7b5e,'width':_0x2b5359-_0x346484,'height':_0x517b47-_0x2d7b5e};}[_0x5f4777(0x346)](){const _0x29dcc3=_0x5f4777,{scaleX:_0x582f34,scaleY:_0x237548}=this[_0x29dcc3(0x11b)][_0x29dcc3(0x16e)]();return Math[_0x29dcc3(0x1cb)](_0x582f34,_0x237548);}}var _0x4108ef=Object[_0x5f4777(0x29e)],_0x56ec26=(_0x2ca897,_0x60c4b3,_0x1400c6,_0x38ecdd)=>{const _0x560426=_0x5f4777;for(var _0x357cb9=_0x38ecdd>0x1?void 0x0:_0x38ecdd?_0x4108ef(_0x60c4b3,_0x1400c6):_0x60c4b3,_0x4d603d=_0x2ca897[_0x560426(0x15b)]-0x1,_0x561a80;_0x4d603d>=0x0;_0x4d603d--)(_0x561a80=_0x2ca897[_0x4d603d])&&(_0x357cb9=_0x561a80(_0x357cb9)||_0x357cb9);return _0x357cb9;},_0x120ad8=(_0x2be28a,_0x3619ac)=>(_0x3f46f1,_0x3cd64b)=>_0x3619ac(_0x3f46f1,_0x3cd64b,_0x2be28a);let _0x1d2bfc=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x2c9cc4,_0x5f5311,_0x12c0f3,_0x4d3656,_0xa0db3b){const _0x50a36a=_0x5f4777;super(),_0x13969d(this,_0x50a36a(0x21d),[]),_0x13969d(this,_0x50a36a(0x344),[]),(this[_0x50a36a(0x1d6)]=_0x2c9cc4,this[_0x50a36a(0x398)]=_0x5f5311,this[_0x50a36a(0x2ab)]=_0x12c0f3,this[_0x50a36a(0x287)]=_0x4d3656,this[_0x50a36a(0x26d)]=_0xa0db3b,this[_0x50a36a(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x42277b=_0x5f4777,_0xeec3de=this[_0x42277b(0x1d6)][_0x42277b(0x3d9)],_0x5de34d=this[_0x42277b(0x398)];this[_0x42277b(0x3b8)](_0x5d9504[_0x42277b(0x34a)]([this[_0x42277b(0x2ab)][_0x42277b(0x14f)](_0xeec3de),this[_0x42277b(0x26d)][_0x42277b(0x32f)]])[_0x42277b(0x1b6)](_0x140ef8[_0x42277b(0x3e8)](([_0x1e04cf,_0x17ddf8])=>({'skeleton':_0x5de34d['getSkeleton'](),'cursors':[..._0x1e04cf[_0x42277b(0x162)]()][_0x42277b(0x28b)](_0x2af8b9=>({..._0x2af8b9,'color':this[_0x42277b(0x26d)]['getColorFromTheme'](_0x2af8b9[_0x42277b(0x34c)])}))})))[_0x42277b(0x403)](_0x219d5c=>{const _0x69fde3=_0x42277b;if(this[_0x69fde3(0x368)](),_0x219d5c){const {skeleton:_0x387add,cursors:_0x3b5c7c}=_0x219d5c;this[_0x69fde3(0x1ba)](_0x387add,_0x3b5c7c);}})),this[_0x42277b(0x365)](),this[_0x42277b(0x3f6)]();}[_0x5f4777(0x1ba)](_0x438e42,_0x4a21bf){const _0x3ad21a=_0x5f4777,{scene:_0x406ea8,mainComponent:_0x135152}=this[_0x3ad21a(0x1d6)],_0x246a49=_0x4a21bf[_0x3ad21a(0x3e8)](_0x5d2909=>new _0x46f806(_0x5d2909,_0x406ea8,_0x438e42,_0x135152));this[_0x3ad21a(0x21d)]=_0x246a49,this['_cursors']=_0x4a21bf;}[_0x5f4777(0x2a7)](){const _0x486593=_0x5f4777;this[_0x486593(0x368)]();const {scene:_0x2f258c,mainComponent:_0x52e80e}=this[_0x486593(0x1d6)],_0x31aa9b=this[_0x486593(0x398)]['getSkeleton'](),_0x213188=this[_0x486593(0x344)][_0x486593(0x3e8)](_0x373333=>new _0x46f806(_0x373333,_0x2f258c,_0x31aa9b,_0x52e80e));this[_0x486593(0x21d)]=_0x213188;}['_removeCollabCursors'](){const _0x451e70=_0x5f4777;this[_0x451e70(0x21d)][_0x451e70(0x196)](_0x1f8a14=>_0x1f8a14[_0x451e70(0x256)]()),this[_0x451e70(0x21d)]=[];}[_0x5f4777(0x3f6)](){const _0x51145a=_0x5f4777,_0xb0fa0f=[_0x2366a5[_0x51145a(0x2b2)]['id']];this[_0x51145a(0x3b8)](this[_0x51145a(0x287)][_0x51145a(0x2e9)](_0x307190=>{const _0x29fab4=_0x51145a;_0xb0fa0f[_0x29fab4(0x37a)](_0x307190['id'])&&_0x307190[_0x29fab4(0x278)][_0x29fab4(0x3d9)]===this[_0x29fab4(0x1d6)][_0x29fab4(0x3d9)]&&this[_0x29fab4(0x2a7)]();}));}[_0x5f4777(0x365)](){const _0xfacf6a=_0x5f4777;this[_0xfacf6a(0x3b8)](_0x1ced2a[_0xfacf6a(0x2f4)](this['_context'][_0xfacf6a(0x409)]['onTransformChange$'])[_0xfacf6a(0x1b6)](_0x140ef8[_0xfacf6a(0x2e5)](_0x260360=>_0x260360[_0xfacf6a(0x1c4)]===_0x40ad79[_0xfacf6a(0x2c6)][_0xfacf6a(0x1ae)]),_0x140ef8[_0xfacf6a(0x2e8)](0x10))[_0xfacf6a(0x403)](()=>{this['_refreshCollabCursors']();}));}};_0x1d2bfc=_0x56ec26([_0x120ad8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x56412a[_0x5f4777(0x19b)])),_0x120ad8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x120ad8(0x3,_0x1ced2a[_0x5f4777(0x331)]),_0x120ad8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x1d2bfc);const _0x36566c=0x1,_0xd44dc7=1.5;class _0x1ded08 extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3d49a7,_0x43f427){const _0x351c8d=_0x5f4777;super(_0x3d49a7,_0x43f427),_0x13969d(this,_0x351c8d(0x31c)),_0x13969d(this,_0x351c8d(0x2fd),!0x1),_0x13969d(this,'_range'),_0x13969d(this,_0x351c8d(0x1af),''),_0x13969d(this,_0x351c8d(0x2e7),_0x351c8d(0x3c0)),_0x13969d(this,_0x351c8d(0x27e)),(_0x43f427&&this['setShapeProps'](_0x43f427),this[_0x351c8d(0x3f3)]['subscribeEvent'](()=>this[_0x351c8d(0x13e)]({'hovered':!0x0})),this[_0x351c8d(0x125)][_0x351c8d(0x330)](()=>this[_0x351c8d(0x13e)]({'hovered':!0x1})));}['setShapeProps'](_0x21e9f6){const _0x49fc1a=_0x5f4777;var _0x5d05f0,_0x1e8240,_0x593ad6,_0x30994f,_0x55b406,_0x91066;this[_0x49fc1a(0x31c)]=(_0x5d05f0=_0x21e9f6[_0x49fc1a(0x34c)])!=null?_0x5d05f0:this[_0x49fc1a(0x31c)],this[_0x49fc1a(0x2fd)]=(_0x1e8240=_0x21e9f6['hovered'])!=null?_0x1e8240:this['_hovered'],this[_0x49fc1a(0x1c9)]=(_0x593ad6=_0x21e9f6['range'])!=null?_0x593ad6:this['_range'],this[_0x49fc1a(0x1af)]=(_0x30994f=_0x21e9f6['name'])!=null?_0x30994f:this[_0x49fc1a(0x1af)],this[_0x49fc1a(0x2e7)]=(_0x55b406=_0x21e9f6[_0x49fc1a(0x1a1)])!=null?_0x55b406:this[_0x49fc1a(0x2e7)],this[_0x49fc1a(0x27e)]=(_0x91066=_0x21e9f6[_0x49fc1a(0x1bd)])!=null?_0x91066:this['_backgroundColor'],this['transformByState']({'width':_0x21e9f6['width'],'height':_0x21e9f6[_0x49fc1a(0x306)]});}[_0x5f4777(0x17f)](_0x526d7d){const _0x449777=_0x5f4777,{row:_0x3dee2a,column:_0x30674c}=_0x526d7d;if(_0x3dee2a>=this[_0x449777(0x1c9)][_0x449777(0x35e)]&&_0x3dee2a<=this[_0x449777(0x1c9)][_0x449777(0x397)]&&_0x30674c>=this[_0x449777(0x1c9)][_0x449777(0x337)]&&_0x30674c<=this['_range'][_0x449777(0x32d)]){this[_0x449777(0x13e)]({'hovered':!0x0});return;}this[_0x449777(0x13e)]({'hovered':!0x1});}[_0x5f4777(0x319)](_0x53c61d){return!0x1;}[_0x5f4777(0x3f9)](_0x1bcc75){const _0x4a53d6=_0x5f4777;_0x40ad79[_0x4a53d6(0x30e)][_0x4a53d6(0x139)](_0x1bcc75,{'width':this[_0x4a53d6(0x3b9)],'height':this['height'],'strokeWidth':_0xd44dc7,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1bcc75['save'](),_0x1bcc75[_0x4a53d6(0x408)](0x1,0x0,0x0,0x1,this[_0x4a53d6(0x3b9)],this[_0x4a53d6(0x2e7)]===_0x4a53d6(0x1a2)?0x0:-_0x121f65),_0x4087db[_0x4a53d6(0x139)](_0x1bcc75,{'text':this[_0x4a53d6(0x1af)],'color':this[_0x4a53d6(0x31c)]}),_0x1bcc75[_0x4a53d6(0x38e)]());}}var _0x4e7417=Object[_0x5f4777(0x29e)],_0x1aff11=(_0x6ebf8,_0x235ad5,_0x28de52,_0x154ab5)=>{for(var _0x3ecff7=_0x154ab5>0x1?void 0x0:_0x154ab5?_0x4e7417(_0x235ad5,_0x28de52):_0x235ad5,_0x295a03=_0x6ebf8['length']-0x1,_0x3e7550;_0x295a03>=0x0;_0x295a03--)(_0x3e7550=_0x6ebf8[_0x295a03])&&(_0x3ecff7=_0x3e7550(_0x3ecff7)||_0x3ecff7);return _0x3ecff7;},_0x383762=(_0x217494,_0x49a381)=>(_0x3c5b51,_0xaf583e)=>_0x49a381(_0x3c5b51,_0xaf583e,_0x217494);const _0x470819=0x1389;let _0x389fa1=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x537403,_0x585132,_0x32ff8a,_0x386ccc){const _0x391b63=_0x5f4777;super(),_0x13969d(this,_0x391b63(0x344),new Set()),_0x13969d(this,_0x391b63(0x3bc),null),(this[_0x391b63(0x1d6)]=_0x537403,this['_sheetSkeletonManagerService']=_0x585132,this[_0x391b63(0x2ab)]=_0x32ff8a,this[_0x391b63(0x26d)]=_0x386ccc,this[_0x391b63(0x1c6)]());}['_init'](){const _0xf9ee45=_0x5f4777;this[_0xf9ee45(0x158)][_0xf9ee45(0x3bf)][_0xf9ee45(0x1b6)](_0x140ef8[_0xf9ee45(0x39f)](this[_0xf9ee45(0x197)]),_0x140ef8['switchMap'](_0x4c28f3=>{const _0xfdf393=_0xf9ee45;if(_0x4c28f3){const _0x189062=_0x4c28f3[_0xfdf393(0x21c)];return _0x5d9504[_0xfdf393(0x34a)](this[_0xfdf393(0x2ab)]['getCollabCursors$'](this[_0xfdf393(0x1d6)][_0xfdf393(0x3d9)]),this['_themeService']['currentTheme$'])[_0xfdf393(0x1b6)](_0x140ef8[_0xfdf393(0x3e8)](([_0xa32742,_0x25a8c0])=>{const _0xddc9ff=_0xfdf393,_0x2e9ee5=new Map();return _0xa32742[_0xddc9ff(0x196)]((_0x39af5b,_0x1c12b0)=>{const _0x146617=_0xddc9ff;if(_0x39af5b[_0x146617(0x135)]===_0x189062){const _0x4e10c8={..._0x39af5b};_0x4e10c8[_0x146617(0x34c)]=this[_0x146617(0x26d)][_0x146617(0x33f)](_0x39af5b[_0x146617(0x34c)]),_0x2e9ee5[_0x146617(0x2a2)](_0x1c12b0,_0x4e10c8);}}),{'skeleton':_0x4c28f3,'cursors':_0x2e9ee5};}));}return _0x5d9504['of']({'skeleton':null,'cursors':new Map()});}))[_0xf9ee45(0x403)](({skeleton:_0x2e6187,cursors:_0x13b990})=>{const _0x50709b=_0xf9ee45;this[_0x50709b(0x368)](),_0x2e6187&&this['_updateCollabCursors'](_0x2e6187,_0x13b990);}),this['_sheetSkeletonManagerService'][_0xf9ee45(0x3bf)]['subscribe'](_0x4fc71a=>{const _0x2f6047=_0xf9ee45;if(_0x4fc71a==null)return;const {skeleton:_0x59b4c2}=_0x4fc71a,{scene:_0x406e0f}=this[_0x2f6047(0x1d6)];_0x406e0f['onPointerMove$'][_0x2f6047(0x330)](_0x1ced2a[_0x2f6047(0x1d3)](_0x2526a8=>{const _0x29c3f5=_0x2f6047;var _0x537aa8,_0x5d2975;const {offsetX:_0x2f31b0,offsetY:_0x12e2fd}=_0x2526a8,{x:_0x52a11,y:_0x1972b0}=_0x406e0f[_0x29c3f5(0x329)](_0x40ad79['Vector2'][_0x29c3f5(0x3df)]([_0x2f31b0,_0x12e2fd])),{scaleX:_0x42f6d9,scaleY:_0x394a9d}=_0x406e0f[_0x29c3f5(0x16e)](),_0x17ad3c=_0x406e0f[_0x29c3f5(0x3c3)](_0x40ad79[_0x29c3f5(0x1e6)]['VIEW_MAIN']),_0x5c9fc5=_0x406e0f['getVpScrollXYInfoByPosToVp'](_0x40ad79['Vector2']['FromArray']([_0x52a11,_0x1972b0]),_0x17ad3c),_0x5ef360=_0x59b4c2[_0x29c3f5(0x239)](_0x2f31b0,_0x12e2fd,_0x42f6d9,_0x394a9d,_0x5c9fc5);((_0x537aa8=this[_0x29c3f5(0x3bc)])==null?void 0x0:_0x537aa8[_0x29c3f5(0x233)])===_0x5ef360[_0x29c3f5(0x233)]&&((_0x5d2975=this['_lastPointer'])==null?void 0x0:_0x5d2975[_0x29c3f5(0x203)])===_0x5ef360[_0x29c3f5(0x203)]||this[_0x29c3f5(0x344)]['forEach'](_0xad4eda=>{const _0x375d7e=_0x29c3f5;_0xad4eda[_0x375d7e(0x17f)](_0x5ef360);});},0x64));});}['_updateCollabCursors'](_0x312bb0,_0x5ce151){const _0x594311=_0x5f4777;var _0x2d9b39;const _0x1faf87=(_0x2d9b39=this[_0x594311(0x158)][_0x594311(0x213)]())==null?void 0x0:_0x2d9b39['skeleton'];if(!_0x1faf87)return;const _0x25a349=this[_0x594311(0x3fb)]();if(!_0x25a349)return;this[_0x594311(0x344)][_0x594311(0x196)](_0x53ce13=>{const _0x6bc856=_0x594311;_0x53ce13[_0x6bc856(0x16b)]();});const {scene:_0xa6b842}=_0x25a349,_0x5c47d9=_0x2e3171(Array[_0x594311(0x1c7)](_0x5ce151['values']()))[_0x594311(0x3e8)](_0x4e26e9=>{const _0x5be32a=_0x594311,{color:_0x47901d,range:_0x4f1a51,name:_0x47812d,selection:_0x1c7d33,sheetID:_0x12bdd4}=_0x4e26e9,{startColumn:_0xaa0a64,startRow:_0x20ce9f,endColumn:_0x580c9f,endRow:_0x26417d}=_0x4f1a51,_0x593a9c=_0x1f5a13['getCoordByCell'](_0x20ce9f,_0xaa0a64,_0xa6b842,_0x1faf87),_0xea643d=_0x1f5a13['getCoordByCell'](_0x26417d,_0x580c9f,_0xa6b842,_0x1faf87),{columnHeaderHeightAndMarginTop:_0x109650}=_0x1faf87,{startX:_0x536e55,startY:_0x2235a9}=_0x593a9c,{endX:_0x385f1c,endY:_0x399ec4}=_0xea643d,_0xd7597f=_0x385f1c-_0x536e55,_0x29d2fd=_0x399ec4-_0x2235a9,_0x42cb89={'labelPosition':_0x2235a9-_0x109650>=_0x121f65?_0x5be32a(0x3c0):'bottom','sheetID':_0x12bdd4,'range':_0x4f1a51,'color':_0x47901d,'name':_0x47812d,'selection':_0x1c7d33,'left':_0x536e55,'top':_0x2235a9,'width':_0xd7597f,'height':_0x29d2fd,'evented':!0x1,'zIndex':_0x470819};return new _0x1ded08(_0x47812d,_0x42cb89);});_0xa6b842[_0x594311(0x1b5)](_0x5c47d9,_0x36566c),this['_cursors']=new Set(_0x5c47d9);}[_0x5f4777(0x368)](){const _0x1bede8=_0x5f4777;var _0x304696;(_0x304696=this[_0x1bede8(0x344)])==null||_0x304696['forEach'](_0x20a2f7=>_0x20a2f7[_0x1bede8(0x256)]());}['_getSheetObject'](){const _0x496bad=_0x5f4777;return _0x1f5a13['getSheetObject'](this['_context'][_0x496bad(0x1f7)],this[_0x496bad(0x1d6)]);}};_0x389fa1=_0x1aff11([_0x383762(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1f5a13['SheetSkeletonManagerService'])),_0x383762(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x383762(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x389fa1);function _0x2e3171(_0x3095df){const _0x203fd1=_0x5f4777,_0x322081=new Map();return _0x3095df[_0x203fd1(0x196)](_0x1ce996=>{const _0x45ae0b=_0x203fd1;if(_0x322081[_0x45ae0b(0x2be)](_0x1ce996[_0x45ae0b(0x3ce)])){const _0x30334c=_0x322081[_0x45ae0b(0x2b5)](_0x1ce996[_0x45ae0b(0x3ce)]);_0x30334c[_0x45ae0b(0x308)]+=',\x20'+_0x1ce996['name'];}else _0x322081['set'](_0x1ce996[_0x45ae0b(0x3ce)],_0x1ce996);}),Array[_0x203fd1(0x1c7)](_0x322081[_0x203fd1(0x162)]());}var _0x63bf74=Object[_0x5f4777(0x29e)],_0x3705e7=(_0x5a5c9f,_0x4ae00a,_0x36103c,_0x1ad340)=>{for(var _0x117186=_0x1ad340>0x1?void 0x0:_0x1ad340?_0x63bf74(_0x4ae00a,_0x36103c):_0x4ae00a,_0x280956=_0x5a5c9f['length']-0x1,_0x333e71;_0x280956>=0x0;_0x280956--)(_0x333e71=_0x5a5c9f[_0x280956])&&(_0x117186=_0x333e71(_0x117186)||_0x117186);return _0x117186;},_0x21d23a=(_0x56c8ba,_0x29f021)=>(_0x38d747,_0x53e261)=>_0x29f021(_0x38d747,_0x53e261,_0x56c8ba);let _0x46dcf1=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x5aebf9,_0x147e8a,_0x4a3d7e,_0xd607d7,_0x123da9,_0x2feaed){const _0x4529e6=_0x5f4777;super(),this[_0x4529e6(0x254)]=_0x5aebf9,this[_0x4529e6(0x176)]=_0x147e8a,this[_0x4529e6(0x297)]=_0x4a3d7e,this[_0x4529e6(0x379)]=_0xd607d7,this['_notificationService']=_0x123da9,this[_0x4529e6(0x23f)]=_0x2feaed,this[_0x4529e6(0x214)](),this[_0x4529e6(0x31d)]();}[_0x5f4777(0x214)](){const _0x163add=_0x5f4777;this[_0x163add(0x3b8)](this[_0x163add(0x254)][_0x163add(0x193)](()=>{const _0x4f4f65=_0x163add;if(this[_0x4f4f65(0x176)][_0x4f4f65(0x1ca)]['size'])return this[_0x4f4f65(0x23f)]['t'](_0x4f4f65(0x202));}));}['_initEvent'](){const _0x4cc268=_0x5f4777;this[_0x4cc268(0x3b8)](this['_collaborationUIEventService'][_0x4cc268(0x2bd)][_0x4cc268(0x403)](_0x147ed4=>{const _0x42a62b=_0x4cc268;_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1d2)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x235))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1fd)]&&this[_0x42a62b(0x379)]['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this['_localeService']['t'](_0x42a62b(0x1e1))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x3cd)]&&this[_0x42a62b(0x281)][_0x42a62b(0x2d8)]({'title':this['_localeService']['t'](_0x42a62b(0x3c1)),'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x402)),'type':_0x42a62b(0x382),'duration':0x0}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x1f3)]&&this['_messageService'][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x1e1))+'('+_0x147ed4[_0x42a62b(0x241)]+')'}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1b4)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x147ed4[_0x42a62b(0x241)]||'')}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x236)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x40c))}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x23a)]&&this['_messageService']['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x333))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x175)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x46dcf1=_0x3705e7([_0x21d23a(0x0,_0x19c552[_0x5f4777(0x3a1)]),_0x21d23a(0x1,_0x378bf4['ILocalCacheService']),_0x21d23a(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationUIEventService'])),_0x21d23a(0x3,_0x19c552[_0x5f4777(0x3bb)]),_0x21d23a(0x4,_0x19c552[_0x5f4777(0x13c)]),_0x21d23a(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x276)]))],_0x46dcf1);var _0x17db85=Object['getOwnPropertyDescriptor'],_0x1fda66=(_0x52c4d9,_0x4bb01b,_0xeae103,_0x47bf16)=>{for(var _0x493bd9=_0x47bf16>0x1?void 0x0:_0x47bf16?_0x17db85(_0x4bb01b,_0xeae103):_0x4bb01b,_0x4195eb=_0x52c4d9['length']-0x1,_0x4a68cb;_0x4195eb>=0x0;_0x4195eb--)(_0x4a68cb=_0x52c4d9[_0x4195eb])&&(_0x493bd9=_0x4a68cb(_0x493bd9)||_0x493bd9);return _0x493bd9;},_0x510efe=(_0x189065,_0x4e9b5e)=>(_0x26be12,_0x3e3f47)=>_0x4e9b5e(_0x26be12,_0x3e3f47,_0x189065);let _0x2f3392=class extends _0x1ced2a['Disposable']{constructor(_0x611c93,_0x35a3b0,_0x330b11,_0x1d4319){const _0x5d7613=_0x5f4777;super(),_0x13969d(this,_0x5d7613(0x142)),(this['_injector']=_0x611c93,this[_0x5d7613(0x174)]=_0x35a3b0,this['_logService']=_0x330b11,this[_0x5d7613(0x155)]=_0x1d4319,this[_0x5d7613(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x56bc38=_0x5f4777;this[_0x56bc38(0x17b)](),this['_initUnhandledRejectionListener'](),this[_0x56bc38(0x2b8)](),this[_0x56bc38(0x31a)]();}[_0x5f4777(0x31a)](){const _0x26fef7=_0x5f4777;this[_0x26fef7(0x3b8)](this[_0x26fef7(0x155)]['socket$'][_0x26fef7(0x403)](_0x42e342=>{this['_memberID']=_0x42e342==null?void 0x0:_0x42e342['memberID'];}));}[_0x5f4777(0x17b)](){const _0x3ef9e6=_0x5f4777,_0x1522d7=_0x3314aa=>{const _0x138dda=_0x1d45;var _0x41143f;this['_uploadLog'](_0x138dda(0x382),_0x138dda(0x14a)+_0x3314aa[_0x138dda(0x3f0)]+'\x20at\x20'+_0x3314aa[_0x138dda(0x3d3)]+':'+_0x3314aa[_0x138dda(0x1e8)]+':'+_0x3314aa['colno']+'\x0a'+(((_0x41143f=_0x3314aa[_0x138dda(0x382)])==null?void 0x0:_0x41143f[_0x138dda(0x137)])||''));};window[_0x3ef9e6(0x22d)](_0x3ef9e6(0x382),_0x1522d7),this[_0x3ef9e6(0x3b8)](()=>{window['removeEventListener']('error',_0x1522d7);});}[_0x5f4777(0x12a)](){const _0xf967a5=_0x5f4777,_0x4f9647=_0x3e283c=>{const _0x389bd6=_0x1d45;this[_0x389bd6(0x325)]('error','[Unhandled\x20Rejection]:\x20'+_0x3e283c[_0x389bd6(0x40d)]);};window['addEventListener'](_0xf967a5(0x28a),_0x4f9647),this[_0xf967a5(0x3b8)](()=>{const _0x3368f9=_0xf967a5;window[_0x3368f9(0x33c)](_0x3368f9(0x28a),_0x4f9647);});}['_monkeyPatchLogService'](){const _0x5ee80b=_0x5f4777,_0x36ab41=this[_0x5ee80b(0x1f1)][_0x5ee80b(0x382)][_0x5ee80b(0x3c9)](this[_0x5ee80b(0x1f1)]);this[_0x5ee80b(0x1f1)]['error']=(..._0x4b29a2)=>{const _0x2f88ac=_0x5ee80b,_0x4daf54=_0x4b29a2[_0x2f88ac(0x3e8)](_0xafb800=>_0xafb800 instanceof Error?_0xafb800[_0x2f88ac(0x3f0)]+'\x0a'+_0xafb800[_0x2f88ac(0x137)]:String(_0xafb800))[_0x2f88ac(0x12c)]('\x20');this[_0x2f88ac(0x325)](_0x2f88ac(0x382),_0x2f88ac(0x2a6)+_0x4daf54),_0x36ab41(..._0x4b29a2);},this[_0x5ee80b(0x3b8)](()=>{const _0x276642=_0x5ee80b;this[_0x276642(0x1f1)][_0x276642(0x382)]=_0x36ab41;});}['_uploadLog'](_0x139890,_0x7f7b4e){const _0x438141=_0x5f4777;try{const _0x4dcf47={'userId':this[_0x438141(0x142)],'logLabel':_0x139890,'content':_0x7f7b4e};this[_0x438141(0x174)][_0x438141(0x1bb)](_0x438141(0x1d8),{'body':_0x4dcf47})['catch'](()=>{});}catch{}}};_0x2f3392=_0x1fda66([_0x510efe(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['Injector'])),_0x510efe(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x510efe(0x2,_0x1ced2a[_0x5f4777(0x14b)]),_0x510efe(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2ff)]))],_0x2f3392);const _0x2ebc66=_0x5f4777(0x322),_0x501443={};var _0x426cfa=Object['getOwnPropertyDescriptor'],_0x5985b6=(_0x58a998,_0x1a506a,_0x139fc8,_0x39950f)=>{for(var _0x348650=_0x39950f>0x1?void 0x0:_0x39950f?_0x426cfa(_0x1a506a,_0x139fc8):_0x1a506a,_0x3c1c40=_0x58a998['length']-0x1,_0x40f8af;_0x3c1c40>=0x0;_0x3c1c40--)(_0x40f8af=_0x58a998[_0x3c1c40])&&(_0x348650=_0x40f8af(_0x348650)||_0x348650);return _0x348650;},_0x20b7e5=(_0x2ada4e,_0x1bc6cc)=>(_0x190a01,_0x24adca)=>_0x1bc6cc(_0x190a01,_0x24adca,_0x2ada4e);let _0x446ab5=class{constructor(_0x13a52b,_0x1b8213){const _0x1c8cc9=_0x5f4777;this[_0x1c8cc9(0x327)]=_0x13a52b,this['_renderManagerService']=_0x1b8213;}[_0x5f4777(0x204)](_0x10a4eb){this['_transformUndoRedoStack'](_0x10a4eb),this['_transformPreviousActiveRange'](_0x10a4eb);}[_0x5f4777(0x20a)](_0x5846f2){const _0x326ebd=_0x5f4777,{unitID:_0x4af131}=_0x5846f2,_0x4033dc=this['_renderManagerService'][_0x326ebd(0x231)](_0x4af131)[_0x326ebd(0x234)](_0x2366a5[_0x326ebd(0x2ec)]),{redoCache:_0x2a7a00}=_0x4033dc[_0x326ebd(0x1e5)]();if(_0x2a7a00[_0x326ebd(0x15b)]===0x0)return _0x5846f2;let _0x3291f6=_0x1ced2a[_0x326ebd(0x32c)]['deepClone'](_0x5846f2[_0x326ebd(0x3a8)][0x0]);for(let _0x182dfc=0x0;_0x182dfc<_0x2a7a00['length'];_0x182dfc++){const _0x2452ed={'id':'doc.mutation.rich-text-editing','params':{..._0x2a7a00[_0x182dfc]}},_0x374604=this[_0x326ebd(0x327)][_0x326ebd(0x3dd)](_0x3291f6,_0x2452ed,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x374604))throw _0x374604[_0x326ebd(0x382)];_0x3291f6=_0x374604[_0x326ebd(0x3db)];}return{..._0x1ced2a[_0x326ebd(0x32c)][_0x326ebd(0x13d)](_0x5846f2),'mutations':[_0x3291f6]};}[_0x5f4777(0x3fe)](_0x4c9d95){const _0x2db308=_0x5f4777,{unitID:_0x24f0dc}=_0x4c9d95,_0x10acde=this['_renderManagerService']['getRenderById'](_0x24f0dc)[_0x2db308(0x234)](_0x2366a5['DocIMEInputManagerService']),{undoCache:_0x2c0a52,redoCache:_0xa978b1}=_0x10acde[_0x2db308(0x1e5)]();if(_0x2c0a52[_0x2db308(0x15b)]===0x0||_0xa978b1['length']===0x0)return;const _0x22e72e=[],_0x54dbb8=[];let _0x2980c7=_0x1ced2a[_0x2db308(0x32c)]['deepClone'](_0x4c9d95['mutations'][0x0]),_0x4b90bd=_0x1ced2a['Tools'][_0x2db308(0x13d)](_0x4c9d95['mutations'][0x0]);for(let _0x1ad4ff=_0x2c0a52[_0x2db308(0x15b)]-0x1;_0x1ad4ff>=0x0;_0x1ad4ff--){const _0x11218c={'id':'doc.mutation.rich-text-editing','params':{..._0x2c0a52[_0x1ad4ff]}},_0x3de4f3={'id':_0x2db308(0x36e),'params':{..._0xa978b1[_0x1ad4ff]}},_0xa4efab=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x2980c7,_0x11218c,!0x1),_0x3650e8=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x4b90bd,_0x3de4f3,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0xa4efab))throw _0xa4efab[_0x2db308(0x382)];if(_0x28eb5b[_0x2db308(0x223)](_0x3650e8))throw _0x3650e8[_0x2db308(0x382)];_0x22e72e[_0x2db308(0x3f1)](_0xa4efab[_0x2db308(0x3d1)][_0x2db308(0x278)]),_0x54dbb8[_0x2db308(0x3f1)](_0x3650e8[_0x2db308(0x3d1)]['params']),_0x2980c7=_0xa4efab[_0x2db308(0x3db)],_0x4b90bd=_0x3650e8[_0x2db308(0x3db)];}_0x10acde[_0x2db308(0x28e)]({'undoCache':_0x22e72e,'redoCache':_0x54dbb8});}[_0x5f4777(0x17a)](_0x77e8d0){const _0x39a921=_0x5f4777,{unitID:_0x4c79a9}=_0x77e8d0,_0x3d74dd=this[_0x39a921(0x2e4)][_0x39a921(0x231)](_0x4c79a9)[_0x39a921(0x234)](_0x2366a5[_0x39a921(0x2ec)]),_0x378a73=_0x3d74dd[_0x39a921(0x406)]();if(_0x378a73==null)return;const _0x20df4b=[{'id':_0x39a921(0x36e),'params':{'unitId':_0x77e8d0['unitID'],'actions':null,'textRanges':[_0x378a73]}}],_0x2ce321=this[_0x39a921(0x327)][_0x39a921(0x1cf)](_0x77e8d0,_0x20df4b);if(!_0x28eb5b[_0x39a921(0x2b3)](_0x2ce321))throw _0x2ce321['error'];const _0x374686=_0x2ce321[_0x39a921(0x3d1)][0x0][_0x39a921(0x278)][_0x39a921(0x29d)];Array['isArray'](_0x374686)&&_0x374686[_0x39a921(0x15b)]&&_0x3d74dd[_0x39a921(0x407)](_0x374686[0x0]);}};_0x446ab5=_0x5985b6([_0x20b7e5(0x0,_0x28eb5b['ITransformService']),_0x20b7e5(0x1,_0x40ad79[_0x5f4777(0x2f0)])],_0x446ab5);var _0x15886d=Object[_0x5f4777(0x29e)],_0x3bd51f=(_0x34b8eb,_0x29501a,_0x43c84e,_0x3f9549)=>{const _0xa3134=_0x5f4777;for(var _0x3e6951=_0x3f9549>0x1?void 0x0:_0x3f9549?_0x15886d(_0x29501a,_0x43c84e):_0x29501a,_0x57c142=_0x34b8eb[_0xa3134(0x15b)]-0x1,_0x163e0e;_0x57c142>=0x0;_0x57c142--)(_0x163e0e=_0x34b8eb[_0x57c142])&&(_0x3e6951=_0x163e0e(_0x3e6951)||_0x3e6951);return _0x3e6951;},_0x609ff6=(_0x2e8bfc,_0x52f7a0)=>(_0x348787,_0x1c00de)=>_0x52f7a0(_0x348787,_0x1c00de,_0x2e8bfc);let _0x4c587c=class{constructor(_0x58e95a,_0x4ee4ec,_0x50a3b7){const _0xa08551=_0x5f4777;this[_0xa08551(0x34e)]=_0x58e95a,this[_0xa08551(0x327)]=_0x4ee4ec,this[_0xa08551(0x249)]=_0x50a3b7;}[_0x5f4777(0x2bc)](_0x18a5b9){const _0x24f2ea=_0x5f4777;this[_0x24f2ea(0x198)](_0x18a5b9);}['transformRemoteChangeset'](_0x1b6e55){const _0x46baa8=_0x5f4777,{unitID:_0x3460a8}=_0x1b6e55,{collaboration:_0x3bcc7c}=this[_0x46baa8(0x249)][_0x46baa8(0x147)](_0x3460a8);if(_0x3bcc7c[_0x46baa8(0x15b)]===0x0)return _0x1b6e55;let _0x289f99=_0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55[_0x46baa8(0x3a8)][0x0]);for(let _0x22c2a2=0x0;_0x22c2a2<_0x3bcc7c[_0x46baa8(0x15b)];_0x22c2a2++){const _0x253e34={'id':_0x46baa8(0x36e),'params':{'unitId':_0x3bcc7c[_0x22c2a2]['unitId'],..._0x3bcc7c[_0x22c2a2][_0x46baa8(0x1df)]}},_0x1085cb=this[_0x46baa8(0x327)]['transformMutation'](_0x289f99,_0x253e34,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x1085cb))throw _0x1085cb[_0x46baa8(0x382)];_0x289f99=_0x1085cb['m1Prime'];}return{..._0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55),'mutations':[_0x289f99]};}['_transformHistoryAndStateStack'](_0x392a4c){const _0x546c64=_0x5f4777,{unitID:_0x207c8a}=_0x392a4c,{history:_0x3c288d,collaboration:_0x19f1b2}=this['_docStateChangeManagerService'][_0x546c64(0x147)](_0x207c8a);if(_0x3c288d['length']===0x0&&_0x19f1b2[_0x546c64(0x15b)]===0x0)return;const _0xc45a26=[],_0x217095=[];let _0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a[_0x546c64(0x32c)][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x44720f=_0x3c288d['length']-0x1;_0x44720f>=0x0;_0x44720f--){const _0x195ca7={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f][_0x546c64(0x3d9)],..._0x3c288d[_0x44720f][_0x546c64(0x1a8)]}},_0x2adb92={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f]['unitId'],..._0x3c288d[_0x44720f][_0x546c64(0x1df)]}},_0x50029b=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x5e392d,_0x195ca7,!0x1),_0x591417=this['_transformService'][_0x546c64(0x3dd)](_0x2ff283,_0x2adb92,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x50029b))throw _0x50029b[_0x546c64(0x382)];if(_0x28eb5b[_0x546c64(0x223)](_0x591417))throw _0x591417[_0x546c64(0x382)];_0xc45a26[_0x546c64(0x3f1)]({..._0x3c288d[_0x44720f],'undoState':_0x50029b[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x591417['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x50029b[_0x546c64(0x3db)],_0x2ff283=_0x591417[_0x546c64(0x3db)];}_0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x43db06=_0x19f1b2[_0x546c64(0x15b)]-0x1;_0x43db06>=0x0;_0x43db06--){const _0x3fb71f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['undoState']}},_0x4affa8={'id':_0x546c64(0x36e),'params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['redoState']}},_0x14ccc2=this['_transformService'][_0x546c64(0x3dd)](_0x5e392d,_0x3fb71f,!0x1),_0x4cbe2a=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x2ff283,_0x4affa8,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x14ccc2))throw _0x14ccc2['error'];if(_0x28eb5b['isTransformMutationFailure'](_0x4cbe2a))throw _0x4cbe2a[_0x546c64(0x382)];_0x217095[_0x546c64(0x3f1)]({..._0x19f1b2[_0x43db06],'undoState':_0x14ccc2[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x4cbe2a['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x14ccc2[_0x546c64(0x3db)],_0x2ff283=_0x4cbe2a[_0x546c64(0x3db)];}this[_0x546c64(0x249)][_0x546c64(0x1fe)](_0x207c8a,{'history':_0xc45a26,'collaboration':_0x217095});}};_0x4c587c=_0x3bd51f([_0x609ff6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x609ff6(0x1,_0x28eb5b[_0x5f4777(0x218)]),_0x609ff6(0x2,_0x1ced2a['Inject'](_0x2366a5['DocStateChangeManagerService']))],_0x4c587c);var _0x129c0b=Object[_0x5f4777(0x29e)],_0x337979=(_0x4407b1,_0x461671,_0x1302c1,_0x25afba)=>{const _0x356d5c=_0x5f4777;for(var _0x28778a=_0x25afba>0x1?void 0x0:_0x25afba?_0x129c0b(_0x461671,_0x1302c1):_0x461671,_0x4fae6a=_0x4407b1[_0x356d5c(0x15b)]-0x1,_0x23e382;_0x4fae6a>=0x0;_0x4fae6a--)(_0x23e382=_0x4407b1[_0x4fae6a])&&(_0x28778a=_0x23e382(_0x28778a)||_0x28778a);return _0x28778a;},_0x1356c6=(_0x308895,_0x443b10)=>(_0x535ec3,_0x44bb37)=>_0x443b10(_0x535ec3,_0x44bb37,_0x308895);let _0x485ed5=class{constructor(_0x44d61f,_0x330dea){const _0x71eb45=_0x5f4777;this[_0x71eb45(0x34e)]=_0x44d61f,this['_transformService']=_0x330dea;}[_0x5f4777(0x354)](_0x151ada){const _0x48e9fe=_0x5f4777;var _0xff4b0;const _0xb1d177=this['_injector'][_0x48e9fe(0x2b5)](_0x56412a[_0x48e9fe(0x189)]),_0x35aa10=(_0xff4b0=_0xb1d177[_0x48e9fe(0x366)]())!=null?_0xff4b0:[];if(_0x35aa10['length']===0x0)return;const _0x253c0b=_0x151ada[_0x48e9fe(0x1f0)],_0x11e5b7=[{'id':_0x48e9fe(0x36e),'params':{'unitId':_0x253c0b,'actions':null,'textRanges':_0x35aa10}}],_0x563a76=this[_0x48e9fe(0x327)][_0x48e9fe(0x1cf)](_0x151ada,_0x11e5b7);if(!_0x28eb5b[_0x48e9fe(0x2b3)](_0x563a76))throw _0x563a76['error'];const _0x2c8b67=_0x563a76[_0x48e9fe(0x3d1)][0x0]['params']['textRanges'];Array[_0x48e9fe(0x192)](_0x2c8b67)&&_0x2c8b67[_0x48e9fe(0x15b)]&&_0xb1d177[_0x48e9fe(0x3f7)](_0x2c8b67,{'unitId':_0x253c0b,'subUnitId':_0x253c0b},!0x1);}};_0x485ed5=_0x337979([_0x1356c6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x1356c6(0x1,_0x28eb5b[_0x5f4777(0x218)])],_0x485ed5);var _0x1b744d=Object[_0x5f4777(0x29e)],_0x5e4bc5=(_0x178420,_0x54f6be,_0x79ccbe,_0x436ba9)=>{for(var _0x5bb17e=_0x436ba9>0x1?void 0x0:_0x436ba9?_0x1b744d(_0x54f6be,_0x79ccbe):_0x54f6be,_0x463d5c=_0x178420['length']-0x1,_0x5a6b60;_0x463d5c>=0x0;_0x463d5c--)(_0x5a6b60=_0x178420[_0x463d5c])&&(_0x5bb17e=_0x5a6b60(_0x5bb17e)||_0x5bb17e);return _0x5bb17e;},_0x2ed7c8=(_0xb78021,_0xc2908b)=>(_0x2ee809,_0x571369)=>_0xc2908b(_0x2ee809,_0x571369,_0xb78021);let _0x3bdf42=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4fddc6,_0x11abf2,_0x15a176,_0x322de6,_0x5392e9,_0x5bee02,_0x500a3f,_0x540b6e){const _0x21cf60=_0x5f4777;super(),_0x13969d(this,_0x21cf60(0x342),new _0x5d9504[(_0x21cf60(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this[_0x21cf60(0x249)]=_0x4fddc6,this[_0x21cf60(0x272)]=_0x11abf2,this[_0x21cf60(0x2a3)]=_0x15a176,this['_docTransformStateCacheService']=_0x322de6,this['_docTransformSelectionsService']=_0x5392e9,this[_0x21cf60(0x3e9)]=_0x5bee02,this[_0x21cf60(0x379)]=_0x500a3f,this[_0x21cf60(0x23f)]=_0x540b6e,this[_0x21cf60(0x39a)]());}[_0x5f4777(0x39a)](){const _0x437a09=_0x5f4777;this[_0x437a09(0x3b8)](this[_0x437a09(0x272)][_0x437a09(0x40b)]['subscribe'](_0x4476ab=>{const _0x467bd0=_0x437a09,_0x333551=this[_0x467bd0(0x249)]['docStateChange$'][_0x467bd0(0x403)](_0x5b59fc=>{const _0x106422=_0x467bd0;if(_0x5b59fc==null)return;const {unitId:_0x2719f4,redoState:_0x599be8,commandId:_0x12015f}=_0x5b59fc;if(_0x2719f4!==_0x4476ab[_0x106422(0x1f0)])return;const _0x393b46={'id':_0x12015f,'type':_0x1ced2a[_0x106422(0x251)][_0x106422(0x404)],'params':{'unitId':_0x2719f4,'actions':_0x599be8[_0x106422(0x20f)],'textRanges':null}};_0x4476ab[_0x106422(0x348)](_0x393b46);});if(_0x4476ab['disposeWithMe'](_0x333551),_0x4476ab instanceof _0x378bf4[_0x467bd0(0x253)]){const _0x1696d2={'onTransformIME':_0x489fb0=>this[_0x467bd0(0x2a3)][_0x467bd0(0x204)](_0x489fb0),'onTransformState':_0x528af6=>this[_0x467bd0(0x27a)][_0x467bd0(0x2bc)](_0x528af6),'onTransformSelections':_0x2025e5=>this[_0x467bd0(0x264)][_0x467bd0(0x354)](_0x2025e5),'onSyncEditingCollabCursor':_0x2b847b=>this[_0x467bd0(0x3e9)][_0x467bd0(0x383)](_0x2b847b),'onTransformRemoteChangesetByIMECache':_0x3635b8=>this['_docTransformIMECacheService'][_0x467bd0(0x20a)](_0x3635b8),'onTransformRemoteChangesetByStateCache':_0x3ba584=>this[_0x467bd0(0x27a)][_0x467bd0(0x20a)](_0x3ba584)};_0x4476ab['addHandlerCallback'](_0x1696d2);}}));}};_0x3bdf42=_0x5e4bc5([_0x2ed7c8(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x2366a5[_0x5f4777(0x307)])),_0x2ed7c8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x2ed7c8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x446ab5)),_0x2ed7c8(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x4c587c)),_0x2ed7c8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x485ed5)),_0x2ed7c8(0x5,_0x1ced2a['Inject'](_0x29a65a)),_0x2ed7c8(0x6,_0x19c552[_0x5f4777(0x3bb)]),_0x2ed7c8(0x7,_0x1ced2a['Inject'](_0x1ced2a['LocaleService']))],_0x3bdf42);var _0x4ee855=(_0x1a8079=>(_0x1a8079[_0x1a8079[_0x5f4777(0x13f)]=0x0]='UNDEFINED',_0x1a8079[_0x1a8079['OK']=0x1]='OK',_0x1a8079[_0x1a8079[_0x5f4777(0x3ab)]=0x2]='INTERNAL_ERROR',_0x1a8079[_0x1a8079[_0x5f4777(0x3cd)]=0x3]=_0x5f4777(0x3cd),_0x1a8079[_0x1a8079['NOT_FOUND']=0x4]=_0x5f4777(0x339),_0x1a8079[_0x1a8079[_0x5f4777(0x11e)]=0x5]=_0x5f4777(0x11e),_0x1a8079[_0x1a8079[_0x5f4777(0x29a)]=0x6]=_0x5f4777(0x29a),_0x1a8079[_0x1a8079[_0x5f4777(0x3b5)]=0x7]='INVALID_ARGUMENT',_0x1a8079[_0x1a8079[_0x5f4777(0x388)]=0x8]='TOO_MANY_REQUESTS',_0x1a8079[_0x1a8079[_0x5f4777(0x2dd)]=0x9]=_0x5f4777(0x2dd),_0x1a8079[_0x1a8079[_0x5f4777(0x208)]=0xa]='LOGIN_FAILED',_0x1a8079[_0x1a8079[_0x5f4777(0x3ef)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1a8079[_0x1a8079[_0x5f4777(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x1ce)]=0xd]=_0x5f4777(0x1ce),_0x1a8079[_0x1a8079['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5f4777(0x1b0),_0x1a8079[_0x1a8079[_0x5f4777(0x11f)]=0xf]=_0x5f4777(0x11f),_0x1a8079[_0x1a8079[_0x5f4777(0x374)]=0x10]=_0x5f4777(0x374),_0x1a8079[_0x1a8079[_0x5f4777(0x22c)]=0x64]=_0x5f4777(0x22c),_0x1a8079[_0x1a8079[_0x5f4777(0x132)]=0x65]='ERROR_AGAIN',_0x1a8079[_0x1a8079['USER_NOT_FOUND']=0xc9]=_0x5f4777(0x13b),_0x1a8079[_0x1a8079[_0x5f4777(0x1fc)]=0xca]='USER_IS_ANONYMOUS',_0x1a8079[_0x1a8079[_0x5f4777(0x156)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x301)]=0x1771]=_0x5f4777(0x301),_0x1a8079[_0x1a8079[_0x5f4777(0x170)]=0x1772]=_0x5f4777(0x170),_0x1a8079[_0x1a8079[_0x5f4777(0x2ad)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1a8079[_0x1a8079[_0x5f4777(0x1ad)]=0x1b59]='APPLY_REJECT',_0x1a8079[_0x1a8079['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5f4777(0x36a),_0x1a8079[_0x1a8079[_0x5f4777(0x26a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x384)]=0x1b5c]=_0x5f4777(0x384),_0x1a8079[_0x1a8079['APPLY_DUPLICATED']=0x1b5d]=_0x5f4777(0x277),_0x1a8079[_0x1a8079[_0x5f4777(0x1f6)]=0x1f41]=_0x5f4777(0x1f6),_0x1a8079[_0x1a8079[_0x5f4777(0x345)]=0x2329]=_0x5f4777(0x345),_0x1a8079[_0x1a8079[_0x5f4777(0x1cc)]=0x232a]=_0x5f4777(0x1cc),_0x1a8079[_0x1a8079[_0x5f4777(0x35a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a8079[_0x1a8079[_0x5f4777(0x267)]=0x232c]=_0x5f4777(0x267),_0x1a8079[_0x1a8079[_0x5f4777(0x261)]=0x232d]=_0x5f4777(0x261),_0x1a8079[_0x1a8079['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5f4777(0x33a),_0x1a8079[_0x1a8079[_0x5f4777(0x2a8)]=0x2712]=_0x5f4777(0x2a8),_0x1a8079[_0x1a8079[_0x5f4777(0x3d0)]=0x2713]=_0x5f4777(0x3d0),_0x1a8079[_0x1a8079[_0x5f4777(0x1ea)]=0x2714]=_0x5f4777(0x1ea),_0x1a8079[_0x1a8079[_0x5f4777(0x3dc)]=0x271a]=_0x5f4777(0x3dc),_0x1a8079[_0x1a8079[_0x5f4777(0x23c)]=0x271b]=_0x5f4777(0x23c),_0x1a8079[_0x1a8079[_0x5f4777(0x1f5)]=0x271c]=_0x5f4777(0x1f5),_0x1a8079[_0x1a8079[_0x5f4777(0x145)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1a8079[_0x1a8079[_0x5f4777(0x2b6)]=0x271e]=_0x5f4777(0x2b6),_0x1a8079[_0x1a8079[_0x5f4777(0x2c5)]=0x271f]=_0x5f4777(0x2c5),_0x1a8079[_0x1a8079[_0x5f4777(0x1b3)]=0x2720]=_0x5f4777(0x1b3),_0x1a8079[_0x1a8079['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5f4777(0x2d7),_0x1a8079[_0x1a8079[_0x5f4777(0x227)]=0x2ee1]=_0x5f4777(0x227),_0x1a8079[_0x1a8079[_0x5f4777(0x126)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a8079[_0x1a8079['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5f4777(0x148),_0x1a8079[_0x1a8079[_0x5f4777(0x172)]=0x2ee4]=_0x5f4777(0x172),_0x1a8079[_0x1a8079['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5f4777(0x151),_0x1a8079[_0x1a8079[_0x5f4777(0x352)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x3a5)]=0x32cb]=_0x5f4777(0x3a5),_0x1a8079[_0x1a8079['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1a8079[_0x1a8079[_0x5f4777(0x370)]=0x36b2]=_0x5f4777(0x370),_0x1a8079[_0x1a8079['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5f4777(0x2c7),_0x1a8079[_0x1a8079[_0x5f4777(0x21e)]=0x36b4]=_0x5f4777(0x21e),_0x1a8079[_0x1a8079[_0x5f4777(0x364)]=0x36b5]=_0x5f4777(0x364),_0x1a8079[_0x1a8079[_0x5f4777(0x1ec)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x39d)]=0x36b7]=_0x5f4777(0x39d),_0x1a8079[_0x1a8079[_0x5f4777(0x3e6)]=0x36b8]=_0x5f4777(0x3e6),_0x1a8079[_0x1a8079['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x5f4777(0x1c1),_0x1a8079[_0x1a8079[_0x5f4777(0x39b)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1a8079[_0x1a8079['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1a8079[_0x1a8079[_0x5f4777(0x3ac)]=0x37dd]=_0x5f4777(0x3ac),_0x1a8079[_0x1a8079[_0x5f4777(0x26e)]=0x3a99]=_0x5f4777(0x26e),_0x1a8079[_0x1a8079[_0x5f4777(0x2db)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1a8079[_0x1a8079['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1a8079[_0x1a8079[_0x5f4777(0x260)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x1a8079[_0x1a8079[_0x5f4777(0x2de)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x1a8079[_0x1a8079['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1a8079[_0x1a8079[_0x5f4777(0x37f)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1a8079[_0x1a8079[_0x5f4777(0x124)]=0x3e81]=_0x5f4777(0x124),_0x1a8079[_0x1a8079[_0x5f4777(0x324)]=-0x1]='UNRECOGNIZED',_0x1a8079))(_0x4ee855||{});function _0x15631c(_0x40a443){const _0x261dc8=_0x5f4777;var _0x17df74,_0x166403;const _0xfdcaf0=(_0x17df74=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x17df74['stage'],_0x588c5f=((_0x166403=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x166403['totalFormulasToCalculate'])||0x0;return _0xfdcaf0===_0x900d4[_0x261dc8(0x3c6)][_0x261dc8(0x1a3)]&&_0x588c5f>0x0;}function _0x2cdefe(_0x5ee67b){const _0x5113bb=_0x5f4777;return _0x5ee67b[_0x5113bb(0x377)]===_0x900d4['FormulaExecutedStateType']['SUCCESS'];}var _0x102d4e=Object[_0x5f4777(0x29e)],_0x9c7f5=(_0x4c03bd,_0x59db31,_0x52d801,_0x3e6a08)=>{const _0x21a2ce=_0x5f4777;for(var _0x27b50f=_0x3e6a08>0x1?void 0x0:_0x3e6a08?_0x102d4e(_0x59db31,_0x52d801):_0x59db31,_0xc22a6f=_0x4c03bd[_0x21a2ce(0x15b)]-0x1,_0x1b503e;_0xc22a6f>=0x0;_0xc22a6f--)(_0x1b503e=_0x4c03bd[_0xc22a6f])&&(_0x27b50f=_0x1b503e(_0x27b50f)||_0x27b50f);return _0x27b50f;},_0x16d602=(_0x2c68be,_0x2e9893)=>(_0x3c4d2d,_0x115d60)=>_0x2e9893(_0x3c4d2d,_0x115d60,_0x2c68be);const _0x159eb8=_0x5f4777(0x201),_0x59fa94=_0x5f4777(0x2d0),_0x56f97a=_0x5f4777(0x14c);let _0x16d995=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x18ea8b,_0x516fe3,_0x2a0aec,_0x71ffa0,_0x4a2408,_0x382903,_0x19455c){const _0x624d8a=_0x5f4777;super(),_0x13969d(this,_0x624d8a(0x32b),null),_0x13969d(this,_0x624d8a(0x3ee),0x0),_0x13969d(this,_0x624d8a(0x3c2),0x0),_0x13969d(this,'_taskIds',[]),_0x13969d(this,_0x624d8a(0x312),0x0),(this['_messageService']=_0x18ea8b,this['_commandService']=_0x516fe3,this['_configService']=_0x2a0aec,this['_httpService']=_0x71ffa0,this[_0x624d8a(0x332)]=_0x4a2408,this['_logService']=_0x382903,this[_0x624d8a(0x23f)]=_0x19455c,this[_0x624d8a(0x323)]());}['_initCommandInterceptor'](){const _0xcf602e=_0x5f4777;this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)]['beforeCommandExecuted']((_0x337eeb,_0x556725)=>{const _0x1b9510=_0xcf602e;var _0x1e25b9;if(_0x337eeb['id']!==_0x900d4['SetFormulaCalculationStartMutation']['id'])return;const _0x3c0685=_0x337eeb[_0x1b9510(0x278)];if(!this[_0x1b9510(0x20d)]((_0x1e25b9=_0x3c0685[_0x1b9510(0x23e)])!=null?_0x1e25b9:[]))return;if(!this[_0x1b9510(0x3d5)]())throw this[_0x1b9510(0x380)](_0x337eeb,_0x556725),this[_0x1b9510(0x28c)](),new _0x1ced2a[(_0x1b9510(0x25e))]();})),this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)][_0xcf602e(0x2e9)]((_0x53443f,_0x5dbffe)=>{const _0x3758b6=_0xcf602e;if(_0x53443f['id']!==_0x900d4[_0x3758b6(0x2b1)]['id'])return;const _0x348136=_0x53443f['params'];if(_0x15631c(_0x348136)){const _0x237147=_0x1ced2a[_0x3758b6(0x3d7)]();this[_0x3758b6(0x12b)]['push'](_0x237147),this[_0x3758b6(0x270)](_0x237147);}else{if(_0x2cdefe(_0x348136)&&this['_taskIds'][_0x3758b6(0x15b)]>0x0){const _0x2f0670=this['_taskIds'][_0x3758b6(0x350)]();this['_releaseCalculationLimit'](_0x2f0670);}}}));}[_0x5f4777(0x256)](){const _0x58268b=_0x5f4777;super[_0x58268b(0x256)](),this[_0x58268b(0x372)](),this['_taskIds']=[],this[_0x58268b(0x3c2)]=0x0,this[_0x58268b(0x3ee)]=0x0,this[_0x58268b(0x312)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5d9aa2,_0x147c33){const _0x5e18d0=_0x5f4777;for(let _0x5b8e94=0x0;_0x5b8e94<0x1e;_0x5b8e94++)try{if(await this[_0x5e18d0(0x19c)](),this[_0x5e18d0(0x3d5)]()){this[_0x5e18d0(0x24d)](_0x5d9aa2,_0x147c33),this[_0x5e18d0(0x379)][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t']('formula.calculation.started'),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x3b3)]});return;}await new Promise(_0x1e938a=>{const _0xd4380a=_0x5e18d0;this['_pollingInterval']=window[_0xd4380a(0x351)](_0x1e938a,0x3e8);});}catch(_0x473dad){this[_0x5e18d0(0x1f1)]['error'](_0x473dad);}this['_messageService'][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t'](_0x5e18d0(0x1b7)),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x2f7)]});}[_0x5f4777(0x24d)](_0x27ea7a,_0x32bd0a){const _0x445513=_0x5f4777;try{this[_0x445513(0x287)][_0x445513(0x18b)](_0x27ea7a['id'],_0x27ea7a[_0x445513(0x278)],_0x32bd0a);}catch(_0x10caa3){this[_0x445513(0x1f1)][_0x445513(0x382)](_0x10caa3);}}[_0x5f4777(0x1c0)](_0x29dc1e,_0xedcc68){const _0x5272af=_0x5f4777;_0xedcc68<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0xedcc68,this[_0x5272af(0x3ee)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x335)]),this[_0x5272af(0x3c2)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x30f)]));}async[_0x5f4777(0x270)](_0x436198){const _0x37cd37=_0x5f4777;var _0x548218,_0x5b3fd4;const _0x54c6b8=Date[_0x37cd37(0x1be)]();try{const _0x40aea0=((_0x548218=this[_0x37cd37(0x3fd)][_0x37cd37(0x134)](_0x378bf4[_0x37cd37(0x291)]))==null?void 0x0:_0x548218[_0x37cd37(0x286)])||_0x59fa94,_0x2ffd8a=(await this[_0x37cd37(0x174)][_0x37cd37(0x1bb)](_0x40aea0,{'body':JSON[_0x37cd37(0x1d9)]({'taskId':_0x436198})}))[_0x37cd37(0x1a9)];if(((_0x5b3fd4=_0x2ffd8a[_0x37cd37(0x382)])==null?void 0x0:_0x5b3fd4[_0x37cd37(0x25d)])!==_0x4ee855['OK'])return;this[_0x37cd37(0x1c0)](_0x2ffd8a[_0x37cd37(0x1d1)],_0x54c6b8);}catch(_0x4f99e9){this['_logService'][_0x37cd37(0x382)](_0x4f99e9);}}async[_0x5f4777(0x19c)](_0x36ddb5){const _0x4048b4=_0x5f4777;var _0x24d5a6,_0x4519e7;const _0x1abb3c=Date[_0x4048b4(0x1be)]();try{const _0x1919c9=((_0x24d5a6=this[_0x4048b4(0x3fd)][_0x4048b4(0x134)](_0x378bf4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x24d5a6[_0x4048b4(0x271)])||_0x159eb8,_0x4b087e=_0x36ddb5?_0x1919c9+_0x4048b4(0x395)+encodeURIComponent(_0x36ddb5):_0x1919c9,_0x231f2c=(await this['_httpService']['get'](_0x4b087e))[_0x4048b4(0x1a9)];if(((_0x4519e7=_0x231f2c['error'])==null?void 0x0:_0x4519e7[_0x4048b4(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x231f2c[_0x4048b4(0x1d1)],_0x1abb3c);}catch(_0x1f8e09){this[_0x4048b4(0x1f1)]['error'](_0x1f8e09);}}async[_0x5f4777(0x144)](_0x222296){const _0x7e37f1=_0x5f4777;var _0x26fd28,_0x54900b;const _0x49b45e=Date[_0x7e37f1(0x1be)]();try{const _0x322bda=((_0x26fd28=this['_configService']['getConfig'](_0x378bf4[_0x7e37f1(0x291)]))==null?void 0x0:_0x26fd28[_0x7e37f1(0x375)])||_0x56f97a,_0x4ac490=(await this[_0x7e37f1(0x174)][_0x7e37f1(0x1bb)](_0x322bda,{'body':JSON[_0x7e37f1(0x1d9)]({'taskId':_0x222296})}))[_0x7e37f1(0x1a9)];if(((_0x54900b=_0x4ac490['error'])==null?void 0x0:_0x54900b[_0x7e37f1(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x4ac490['limitInfo'],_0x49b45e);}catch(_0x1f6685){this['_logService'][_0x7e37f1(0x382)](_0x1f6685);}}[_0x5f4777(0x3d5)](){const _0x79dae3=_0x5f4777;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x79dae3(0x3ee)]-this[_0x79dae3(0x3c2)]>0x0;}[_0x5f4777(0x372)](){const _0x169729=_0x5f4777;this['_pollingInterval']&&(clearTimeout(this[_0x169729(0x32b)]),this[_0x169729(0x32b)]=null);}['_showGuardMessage'](){const _0x2711d0=_0x5f4777;this[_0x2711d0(0x379)][_0x2711d0(0x2d8)]({'content':this['_localeService']['t'](_0x2711d0(0x1ab)),'type':_0x52c80f[_0x2711d0(0x2a4)][_0x2711d0(0x39c)]});}[_0x5f4777(0x20d)](_0x113f6c){const _0x16872b=_0x5f4777;for(const _0x55439e of _0x113f6c){const {unitId:_0x335150,sheetId:_0xbf8f08,range:_0x3028c4}=_0x55439e,_0x28ee4a=this[_0x16872b(0x332)][_0x16872b(0x302)](_0x335150);if(!_0x28ee4a)continue;const _0x4ba99a=_0x28ee4a['getSheetBySheetId'](_0xbf8f08);if(!_0x4ba99a)continue;const _0x513835=_0x4ba99a[_0x16872b(0x221)]();for(let _0x2d40aa=_0x3028c4[_0x16872b(0x35e)];_0x2d40aa<=_0x3028c4['endRow'];_0x2d40aa++)for(let _0x51b9f7=_0x3028c4['startColumn'];_0x51b9f7<=_0x3028c4['endColumn'];_0x51b9f7++){const _0xc57e5d=_0x513835['getValue'](_0x2d40aa,_0x51b9f7);if(_0xc57e5d&&(_0x1ced2a[_0x16872b(0x3b2)](_0xc57e5d['f'])||_0x1ced2a[_0x16872b(0x387)](_0xc57e5d['si'])))return!0x0;}}return!0x1;}};_0x16d995=_0x9c7f5([_0x16d602(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x19c552[_0x5f4777(0x3bb)])),_0x16d602(0x1,_0x1ced2a[_0x5f4777(0x331)]),_0x16d602(0x2,_0x1ced2a['IConfigService']),_0x16d602(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x16d602(0x4,_0x1ced2a['IUniverInstanceService']),_0x16d602(0x5,_0x1ced2a['ILogService']),_0x16d602(0x6,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['LocaleService']))],_0x16d995);var _0x3ec55a=Object[_0x5f4777(0x29e)],_0x3deb65=(_0x45b55c,_0x29d615,_0x226aef,_0x177a54)=>{for(var _0x5b7c0c=_0x177a54>0x1?void 0x0:_0x177a54?_0x3ec55a(_0x29d615,_0x226aef):_0x29d615,_0x3fc2a7=_0x45b55c['length']-0x1,_0x5de469;_0x3fc2a7>=0x0;_0x3fc2a7--)(_0x5de469=_0x45b55c[_0x3fc2a7])&&(_0x5b7c0c=_0x5de469(_0x5b7c0c)||_0x5b7c0c);return _0x5b7c0c;},_0x4ebed9=(_0x384d8d,_0x2d0c56)=>(_0x158151,_0x28f255)=>_0x2d0c56(_0x158151,_0x28f255,_0x384d8d);let _0x124e0d=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x31113b,_0xb5e19a,_0x919a5a){const _0x420314=_0x5f4777;super(),_0x13969d(this,'_cachedData',new Map()),_0x13969d(this,_0x420314(0x226),new Map()),_0x13969d(this,'_disabled',!0x1),(this[_0x420314(0x3fd)]=_0x31113b,this[_0x420314(0x164)]=_0xb5e19a,this[_0x420314(0x2bb)]=_0x919a5a);}[_0x5f4777(0x3c7)](){const _0x5e07e4=_0x5f4777;this[_0x5e07e4(0x36b)]=!0x0;}[_0x5f4777(0x1f8)](){const _0x302e8f=_0x5f4777;this[_0x302e8f(0x36b)]=!0x1;}get['saveTaskMap'](){const _0x1eebd1=_0x5f4777;return this[_0x1eebd1(0x226)];}[_0x5f4777(0x256)](){const _0x343fdf=_0x5f4777;this[_0x343fdf(0x240)]()[_0x343fdf(0x35f)](()=>super['dispose']());}async[_0x5f4777(0x295)](_0x407b8d){const _0x1aa189=_0x5f4777;return this['_disabled']?null:this[_0x1aa189(0x164)][_0x1aa189(0x11c)](_0x378bf4[_0x1aa189(0x1f2)](_0x407b8d));}async['saveOfflineData'](_0x555b11,_0x6ad1ab){const _0x20d099=_0x5f4777;return!!this[_0x20d099(0x164)]['setItem'](_0x555b11,_0x6ad1ab);}[_0x5f4777(0x1dd)](_0x64103f,_0x39a313,_0x466aa9,_0x42fc8c){const _0x588936=_0x5f4777,_0x232949=this[_0x588936(0x2bb)]['getCurrentRevOfUnit'](_0x64103f);this[_0x588936(0x37d)][_0x588936(0x2a2)](_0x64103f,{'unitID':_0x64103f,'type':_0x39a313,'awaitingChangeset':_0x466aa9,'mutations':_0x42fc8c,'rev':_0x232949}),this['_saveTaskMap'][_0x588936(0x2be)](_0x64103f)||this[_0x588936(0x349)](_0x64103f);}[_0x5f4777(0x349)](_0x557e44){const _0x3f5dae=_0x5f4777,_0x147cd6=this[_0x3f5dae(0x37c)]();_0x147cd6===0x0?this['_saveCache'](_0x557e44):this[_0x3f5dae(0x226)][_0x3f5dae(0x2a2)](_0x557e44,setTimeout(()=>this[_0x3f5dae(0x205)](_0x557e44),_0x147cd6));}[_0x5f4777(0x37c)](){const _0x4bf25c=_0x5f4777;var _0x206029;return(_0x206029=this[_0x4bf25c(0x3fd)]['getConfig'](_0x378bf4[_0x4bf25c(0x1b9)]))!=null?_0x206029:_0x378bf4[_0x4bf25c(0x3e7)];}[_0x5f4777(0x205)](_0x5dcf4b){const _0xdcbdd4=_0x5f4777,_0x36c538=this['_saveTaskMap'][_0xdcbdd4(0x2b5)](_0x5dcf4b);return _0x36c538!==void 0x0&&window[_0xdcbdd4(0x282)](_0x36c538),this['_localStorageService'][_0xdcbdd4(0x15a)](_0x378bf4[_0xdcbdd4(0x1f2)](_0x5dcf4b),this['_cachedData'][_0xdcbdd4(0x2b5)](_0x5dcf4b))[_0xdcbdd4(0x35f)](()=>this['_saveTaskMap'][_0xdcbdd4(0x259)](_0x5dcf4b));}async[_0x5f4777(0x240)](){const _0x4e1af1=_0x5f4777,_0x5657ee=[];this['_saveTaskMap']['forEach']((_0xa6e55f,_0x16b2aa)=>{const _0x41aaac=_0x1d45;window[_0x41aaac(0x282)](_0xa6e55f),_0x5657ee[_0x41aaac(0x263)](this[_0x41aaac(0x205)](_0x16b2aa)[_0x41aaac(0x35f)](()=>{const _0x351c17=_0x41aaac;this['_saveTaskMap'][_0x351c17(0x259)](_0x16b2aa);}));}),await Promise[_0x4e1af1(0x389)](_0x5657ee);}};_0x124e0d=_0x3deb65([_0x4ebed9(0x0,_0x1ced2a[_0x5f4777(0x3bd)]),_0x4ebed9(0x1,_0x1ced2a[_0x5f4777(0x123)]),_0x4ebed9(0x2,_0x1ced2a['Inject'](_0x28eb5b[_0x5f4777(0x381)]))],_0x124e0d);class _0x288eed extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x26d57c=_0x5f4777;super(),_0x13969d(this,_0x26d57c(0x16a)),this[_0x26d57c(0x16a)]=_0x5d9504[_0x26d57c(0x3a2)](window,_0x26d57c(0x393))[_0x26d57c(0x1b6)](_0x5d9504[_0x26d57c(0x39f)](this[_0x26d57c(0x197)]),_0x5d9504[_0x26d57c(0x33e)](0x1),_0x5d9504[_0x26d57c(0x3de)](void 0x0));}[_0x5f4777(0x40f)](_0x119825,_0x2b468c,_0x57b3b5=!0x1){const _0x16e379=_0x5f4777,_0x149d91=new URL(window[_0x16e379(0x1e4)][_0x16e379(0x188)]);_0x149d91[_0x16e379(0x27d)][_0x16e379(0x2a2)](_0x119825,_0x2b468c),_0x57b3b5?window[_0x16e379(0x290)][_0x16e379(0x2fb)]('','',_0x149d91['toString']()):window[_0x16e379(0x290)][_0x16e379(0x3d8)]('','',_0x149d91['toString']());}[_0x5f4777(0x2ba)](_0x129a0f,_0x203f57=!0x1){const _0x54c96b=_0x5f4777,_0x51a457=new URL(window[_0x54c96b(0x1e4)][_0x54c96b(0x188)]);_0x51a457[_0x54c96b(0x27d)][_0x54c96b(0x259)](_0x129a0f),_0x203f57?window[_0x54c96b(0x290)][_0x54c96b(0x2fb)]('','',_0x51a457[_0x54c96b(0x23d)]()):window[_0x54c96b(0x290)][_0x54c96b(0x3d8)]('','',_0x51a457[_0x54c96b(0x23d)]());}[_0x5f4777(0x296)](_0x2f075e){const _0x1b87ed=_0x5f4777;var _0x6386d8;return(_0x6386d8=new URL(window['location'][_0x1b87ed(0x188)])[_0x1b87ed(0x27d)][_0x1b87ed(0x2b5)](_0x2f075e))!=null?_0x6386d8:void 0x0;}}var _0x1398f1=Object[_0x5f4777(0x17c)],_0x35b5e8=Object[_0x5f4777(0x29e)],_0x2cd7b5=(_0x246176,_0x3aac7c,_0x5ac5a9)=>_0x3aac7c in _0x246176?_0x1398f1(_0x246176,_0x3aac7c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac5a9}):_0x246176[_0x3aac7c]=_0x5ac5a9,_0x2baff2=(_0x5f5a72,_0x39f586,_0x3428a5,_0x3b3cbb)=>{const _0x185433=_0x5f4777;for(var _0x257c68=_0x3b3cbb>0x1?void 0x0:_0x3b3cbb?_0x35b5e8(_0x39f586,_0x3428a5):_0x39f586,_0x45eca5=_0x5f5a72[_0x185433(0x15b)]-0x1,_0xab038a;_0x45eca5>=0x0;_0x45eca5--)(_0xab038a=_0x5f5a72[_0x45eca5])&&(_0x257c68=_0xab038a(_0x257c68)||_0x257c68);return _0x257c68;},_0x53a4e4=(_0x28c80e,_0x5b457e)=>(_0x5588d2,_0x5dcd52)=>_0x5b457e(_0x5588d2,_0x5dcd52,_0x28c80e),_0xf9c82b=(_0x3030b1,_0x54f86d,_0x105b4d)=>_0x2cd7b5(_0x3030b1,_0x54f86d+'',_0x105b4d);const _0x519b32='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x5cfa5d[_0x5f4777(0x18d)]=class extends _0x1ced2a['Plugin']{constructor(_0x19106c=_0x501443,_0x21064a,_0x5803b8,_0x56d389){const _0x4cca45=_0x5f4777;super(),this['_config']=_0x19106c,this[_0x4cca45(0x2e4)]=_0x21064a,this['_injector']=_0x5803b8,this[_0x4cca45(0x3fd)]=_0x56d389;const {..._0x289ca5}=_0x1ced2a['merge']({},_0x501443,this[_0x4cca45(0x34d)]);this[_0x4cca45(0x3fd)][_0x4cca45(0x38f)](_0x2ebc66,_0x289ca5);}[_0x5f4777(0x161)](){const _0xba1069=_0x5f4777;this['_registerDependencies'](),this[_0xba1069(0x179)]();}[_0x5f4777(0x298)](){const _0x307d69=_0x5f4777;this[_0x307d69(0x22a)]();}[_0x5f4777(0x157)](){const _0x3458a1=_0x5f4777;var _0x24b879;const _0x545aa0=[[_0x21d2e0],[_0x16d995],[_0x485ed5],[_0x446ab5],[_0x4c587c],[_0x29a65a],[_0x44c1af,{'useClass':_0x288eed}],[_0x5d4294[_0x3458a1(0x2df)],{'useClass':_0x5d4294[_0x3458a1(0x273)]}],[_0x378bf4[_0x3458a1(0x1e9)],{'useClass':_0x124e0d}],[_0x5cfa5d[_0x3458a1(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x114331],[_0x566d5c],[_0x5cfa5d[_0x3458a1(0x255)]]];this['_config']['enableFrontendLog']&&_0x545aa0[_0x3458a1(0x263)]([_0x2f3392]),_0x1ced2a[_0x3458a1(0x283)](this[_0x3458a1(0x34e)],_0x1ced2a[_0x3458a1(0x143)](_0x545aa0,(_0x24b879=this[_0x3458a1(0x34d)])==null?void 0x0:_0x24b879[_0x3458a1(0x22f)]));}['_registerRenderDependencies'](){const _0x3fd795=_0x5f4777;this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x2f6)],[_0x1d2bfc])),this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x228)],[_0x389fa1]));}['_initDependencies'](){const _0x28cf72=_0x5f4777;_0x1ced2a[_0x28cf72(0x232)](this['_injector'],[[_0x114331],[_0x5cfa5d[_0x28cf72(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x5cfa5d['CollaborationDataLoaderController']],[_0x16d995]]),this[_0x28cf72(0x34d)]['enableFrontendLog']&&_0x1ced2a['touchDependencies'](this[_0x28cf72(0x34e)],[[_0x2f3392]]);}},_0xf9c82b(_0x5cfa5d[_0x5f4777(0x18d)],'pluginName',_0x519b32),_0x5cfa5d[_0x5f4777(0x18d)]=_0x2baff2([_0x1ced2a['DependentOn'](_0x378bf4['UniverCollaborationClientPlugin']),_0x53a4e4(0x1,_0x40ad79[_0x5f4777(0x2f0)]),_0x53a4e4(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53a4e4(0x3,_0x1ced2a[_0x5f4777(0x3bd)])],_0x5cfa5d[_0x5f4777(0x18d)]);var _0x48fe94=Object[_0x5f4777(0x29e)],_0xadc116=(_0x528faf,_0x377973,_0x51b3ff,_0x45b09e)=>{const _0x30acf8=_0x5f4777;for(var _0x28b2ca=_0x45b09e>0x1?void 0x0:_0x45b09e?_0x48fe94(_0x377973,_0x51b3ff):_0x377973,_0x14ede1=_0x528faf[_0x30acf8(0x15b)]-0x1,_0x486877;_0x14ede1>=0x0;_0x14ede1--)(_0x486877=_0x528faf[_0x14ede1])&&(_0x28b2ca=_0x486877(_0x28b2ca)||_0x28b2ca);return _0x28b2ca;},_0x3529d7=(_0x366f0e,_0x1f01cc)=>(_0xaa19b3,_0x8f29bc)=>_0x1f01cc(_0xaa19b3,_0x8f29bc,_0x366f0e);_0x5cfa5d['BrowserCollaborationSocketService']=class extends _0x378bf4['CollaborationSocketService']{constructor(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2){super(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2);}async[_0x5f4777(0x159)](_0x5c7b0b){const _0x4ac8ad=_0x5f4777,_0x8d1f7a=await this['_getSessionTicket'](),_0xe02311=this[_0x4ac8ad(0x3ec)](_0x5c7b0b,_0x8d1f7a);return this[_0x4ac8ad(0x1f4)](_0xe02311);}[_0x5f4777(0x3ec)](_0x3d0e08,_0x4c7921){const _0x2a4e4c=_0x5f4777,_0x35fadd=typeof window>'u'?new URL(_0x3d0e08):new URL(_0x3d0e08,window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x120)]);_0x35fadd['searchParams']['set'](_0x2a4e4c(0x1f9),_0x4c7921);const _0x56ef8c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x22e)]);return _0x56ef8c[_0x2a4e4c(0x2b5)]('runId')&&_0x35fadd[_0x2a4e4c(0x27d)][_0x2a4e4c(0x2a2)](_0x2a4e4c(0x243),_0x56ef8c[_0x2a4e4c(0x2b5)](_0x2a4e4c(0x243))),_0x35fadd['toString']();}async[_0x5f4777(0x338)](){const _0x261f1a=_0x5f4777;var _0x99d70a,_0x291ed6,_0x7ad00d;const _0x210e8f=this[_0x261f1a(0x3fd)][_0x261f1a(0x134)](_0x378bf4[_0x261f1a(0x291)]),_0x1caedc=(_0x99d70a=_0x210e8f==null?void 0x0:_0x210e8f[_0x261f1a(0x30a)])!=null?_0x99d70a:_0x378bf4['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x7ad00d=(_0x291ed6=(await this[_0x261f1a(0x174)][_0x261f1a(0x2b5)](_0x1caedc,{'headers':{'Content-Type':_0x261f1a(0x1a7)}}))[_0x261f1a(0x1a9)])==null?void 0x0:_0x291ed6[_0x261f1a(0x2ce)])!=null?_0x7ad00d:'';}},_0x5cfa5d[_0x5f4777(0x1e3)]=_0xadc116([_0x3529d7(0x0,_0x1ced2a['Inject'](_0x1ced2a[_0x5f4777(0x2af)])),_0x3529d7(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x3529d7(0x2,_0x1ced2a[_0x5f4777(0x3bd)]),_0x3529d7(0x3,_0x1ced2a[_0x5f4777(0x14b)]),_0x3529d7(0x4,_0x28eb5b['ISnapshotServerService'])],_0x5cfa5d['BrowserCollaborationSocketService']);var _0x56368e=Object[_0x5f4777(0x29e)],_0x42409f=(_0x207cfb,_0xcb90e9,_0x4ea5da,_0x2e7cd7)=>{const _0x50d370=_0x5f4777;for(var _0x430a33=_0x2e7cd7>0x1?void 0x0:_0x2e7cd7?_0x56368e(_0xcb90e9,_0x4ea5da):_0xcb90e9,_0x4c31f6=_0x207cfb[_0x50d370(0x15b)]-0x1,_0x409e8d;_0x4c31f6>=0x0;_0x4c31f6--)(_0x409e8d=_0x207cfb[_0x4c31f6])&&(_0x430a33=_0x409e8d(_0x430a33)||_0x430a33);return _0x430a33;},_0x2c0745=(_0x2a30f4,_0x58eae2)=>(_0xd344a2,_0x1e443f)=>_0x58eae2(_0xd344a2,_0x1e443f,_0x2a30f4);_0x5cfa5d[_0x5f4777(0x405)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x27798d,_0x202b66,_0x36c104){const _0x9adff9=_0x5f4777;super(),this[_0x9adff9(0x1ef)]=_0x27798d,this['_httpService']=_0x202b66,this[_0x9adff9(0x3fd)]=_0x36c104;}async[_0x5f4777(0x24e)](_0x5573ec,_0x2cfad3,_0xd33bc2,..._0x1ae7b3){const _0x1def7b=_0x5f4777;var _0x4c94b1,_0x597b8e,_0x1a8d9b,_0x3222d1;const _0x558626=this[_0x1def7b(0x1ef)]['getFocusedUnit']();if(!_0x558626)throw new Error(_0x1def7b(0x2d6));const _0x17376f=((_0x4c94b1=this[_0x1def7b(0x3fd)][_0x1def7b(0x134)](_0x378bf4[_0x1def7b(0x206)]))!=null?_0x4c94b1:_0x378bf4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5573ec+_0x1def7b(0x15f)+_0x2cfad3,_0x3db5ba=new URL(window[_0x1def7b(0x1e4)]['href']),_0x3c68ac={'scriptId':_0x5573ec,'runId':(_0x597b8e=_0x3db5ba[_0x1def7b(0x27d)]['get']('runId'))!=null?_0x597b8e:'','function':_0x2cfad3,'unitId':_0x558626[_0x1def7b(0x3b0)](),'argsOfFunction':JSON['stringify'](_0x1ae7b3),'invokeId':(_0x1a8d9b=_0xd33bc2[_0x1def7b(0x21f)])!=null?_0x1a8d9b:'','executionId':(_0x3222d1=_0xd33bc2['executionId'])!=null?_0x3222d1:''};try{const _0x4f37aa=await this[_0x1def7b(0x174)][_0x1def7b(0x1bb)](_0x17376f,{'body':_0x3c68ac});return _0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)]&&_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)][_0x1def7b(0x25d)]!==_0x4ee855['OK']?_0x1def7b(0x2fa):_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x12d)];}catch{return'Failed';}}},_0x5cfa5d['RemoteUniscriptService']=_0x42409f([_0x2c0745(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x2c0745(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x2c0745(0x2,_0x1ced2a['IConfigService'])],_0x5cfa5d[_0x5f4777(0x405)]);const _0x5521c3=0x7530,_0x232e00=_0x5f4777(0x315);class _0x155589 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0x38d317=_0x5f4777;super(),_0x13969d(this,_0x38d317(0x1ff),_0x1ced2a[_0x38d317(0x3d7)]()),_0x13969d(this,_0x38d317(0x2b4),new Set()),_0x13969d(this,'_unitOnClients',new Map()),_0x13969d(this,_0x38d317(0x3f5),null),_0x13969d(this,_0x38d317(0x31b),new Map()),_0x13969d(this,_0x38d317(0x26c),new Map()),this[_0x38d317(0x1c6)]();}['dispose'](){const _0x51a875=_0x5f4777;super[_0x51a875(0x256)](),this[_0x51a875(0x31b)]['forEach']((_0x14af3f,_0x1820a3)=>this[_0x51a875(0x19d)](_0x1820a3)),this['_heartbeatTimer']&&window[_0x51a875(0x34f)](this[_0x51a875(0x3f5)]);}[_0x5f4777(0x127)](_0xc77c01){const _0x20e8c9=_0x5f4777;return this[_0x20e8c9(0x304)](_0xc77c01)[_0x20e8c9(0x1b6)](_0x5d9504[_0x20e8c9(0x266)]());}[_0x5f4777(0x3e0)](_0x1567d9){const _0x49976b=_0x5f4777;this['_selfUnitIDs']['size']===0x0&&this[_0x49976b(0x2e3)](),this[_0x49976b(0x2b4)][_0x49976b(0x248)](_0x1567d9),this[_0x49976b(0x1fb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1567d9],'isForwarded':!0x1});}['disposeUnit'](_0x48f752){const _0x133487=_0x5f4777;this[_0x133487(0x2b4)][_0x133487(0x259)](_0x48f752),this[_0x133487(0x2b4)][_0x133487(0x1dc)]===0x0&&this[_0x133487(0x3f5)]&&window[_0x133487(0x34f)](this[_0x133487(0x3f5)]);}[_0x5f4777(0x1c6)](){const _0x29bec6=_0x5f4777;this[_0x29bec6(0x3b8)](_0x1ced2a['toDisposable'](_0x5d9504['fromEvent'](window,_0x29bec6(0x289))[_0x29bec6(0x403)](_0xad474f=>{const _0xe5c761=_0x29bec6;if(_0xad474f[_0xe5c761(0x138)]!==_0x232e00||!_0xad474f[_0xe5c761(0x250)])return;const _0x528f05=JSON[_0xe5c761(0x361)](_0xad474f[_0xe5c761(0x250)]);this[_0xe5c761(0x2cc)](_0x528f05);}))),window[_0x29bec6(0x22d)](_0x29bec6(0x237),()=>this['_send']({'type':0x1,'memberID':this[_0x29bec6(0x1ff)],'unitIDs':Array[_0x29bec6(0x1c7)](this[_0x29bec6(0x2b4)])}));}[_0x5f4777(0x2cc)](_0x3030ab){const _0x28acc3=_0x5f4777;switch(_0x3030ab[_0x28acc3(0x1c4)]){case 0x0:this['_handleJoinEvent'](_0x3030ab);break;case 0x1:this[_0x28acc3(0x22b)](_0x3030ab);break;case 0x2:this['_handleHeartbeatEvent'](_0x3030ab);break;}}[_0x5f4777(0x217)](_0x27765a){const _0x4bb4a9=_0x5f4777,{unitIDs:_0x1e0795,memberID:_0x33a703,isForwarded:_0x35f20b}=_0x27765a;_0x1e0795[_0x4bb4a9(0x196)](_0xcfe7b5=>{const _0x1f88df=_0x4bb4a9;if(!_0x35f20b&&this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)&&this[_0x1f88df(0x304)](_0xcfe7b5)['next'](_0x378bf4[_0x1f88df(0x3e5)][_0x1f88df(0x320)]),!this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)||!this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)[_0x1f88df(0x2be)](_0x33a703)){const _0x44f776=this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)||new Set();_0x44f776[_0x1f88df(0x248)](_0x33a703),this[_0x1f88df(0x16f)]['set'](_0xcfe7b5,_0x44f776),this[_0x1f88df(0x293)](_0x33a703);}}),_0x35f20b||this[_0x4bb4a9(0x1fb)]({'type':0x0,'memberID':this[_0x4bb4a9(0x1ff)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5f4777(0x293)](_0x5dba36){const _0x5d8557=_0x5f4777;this[_0x5d8557(0x19d)](_0x5dba36);const _0xbf890b=window[_0x5d8557(0x351)](()=>{const _0x292a78=_0x5d8557;this[_0x292a78(0x16f)][_0x292a78(0x196)](_0x135722=>{const _0x1c3278=_0x292a78;_0x135722[_0x1c3278(0x259)](_0x5dba36);});},_0x5521c3*0x2);this[_0x5d8557(0x31b)]['set'](_0x5dba36,_0xbf890b);}[_0x5f4777(0x19d)](_0x52651a){const _0x49b505=_0x5f4777;if(this['_clearOtherTimers'][_0x49b505(0x2be)](_0x52651a)){const _0x1dd366=this['_clearOtherTimers'][_0x49b505(0x2b5)](_0x52651a);_0x1dd366&&window[_0x49b505(0x282)](_0x1dd366),this['_clearOtherTimers'][_0x49b505(0x2a2)](_0x52651a,null);}}[_0x5f4777(0x22b)](_0xfb0f91){const _0x2f4ad7=_0x5f4777,{memberID:_0x2b9c2a,unitIDs:_0x54a163}=_0xfb0f91;_0x54a163[_0x2f4ad7(0x196)](_0x232845=>{const _0x54763f=_0x2f4ad7;var _0x3ac101;const _0x5d666b=this[_0x54763f(0x16f)][_0x54763f(0x2b5)](_0x232845);_0x5d666b&&(_0x5d666b[_0x54763f(0x259)](_0x2b9c2a),(_0x3ac101=this['_ensureSubject'](_0x232845))==null||_0x3ac101['next'](_0x5d666b[_0x54763f(0x1dc)]===0x0?_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x246)]:_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x320)]));}),this[_0x2f4ad7(0x19d)](_0x2b9c2a);}[_0x5f4777(0x215)](_0x5c7312){this['_scheduleClearOtherTimer'](_0x5c7312['memberID']);}[_0x5f4777(0x1fb)](_0x2c1340){const _0x35ffc1=_0x5f4777;localStorage[_0x35ffc1(0x15a)](_0x232e00,JSON[_0x35ffc1(0x1d9)](_0x2c1340));}[_0x5f4777(0x2e3)](){const _0x3578ab=_0x5f4777;this[_0x3578ab(0x3f5)]=window[_0x3578ab(0x26f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x5521c3);}['_ensureSubject'](_0x250709){const _0x147541=_0x5f4777;return this[_0x147541(0x26c)][_0x147541(0x2be)](_0x250709)||this[_0x147541(0x26c)][_0x147541(0x2a2)](_0x250709,new _0x5d9504[(_0x147541(0x149))](_0x378bf4[_0x147541(0x3e5)][_0x147541(0x246)])),this[_0x147541(0x26c)][_0x147541(0x2b5)](_0x250709);}}_0x5cfa5d[_0x5f4777(0x1cd)]=_0x44c1af,_0x5cfa5d[_0x5f4777(0x38c)]=_0x1ded08,_0x5cfa5d[_0x5f4777(0x310)]=_0x155589,_0x5cfa5d[_0x5f4777(0x1db)]=_0x288eed,Object[_0x5f4777(0x17c)](_0x5cfa5d,Symbol[_0x5f4777(0x238)],{'value':_0x5f4777(0x313)});}));
|
|
1
|
+
function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','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','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','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','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}
|