@univerjs-pro/collaboration-client-ui 0.12.0-nightly.202511220628 → 0.12.1-nightly.202511221011
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 _0x4c31(){const _0x2426a3=['RevisionService','_urlService','_refreshCollabCursors','_drawAnchor','off-line-icon','runOnServer','FETCH_MISS','combineLatest','green.600','toString','WebSocketService','ticket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','add','jiqing.500','popstate','ENSURE_SNAPSHOT_EXECUTION','_initCommandInterceptor','send','_updateURLWithCurrentState','162698AufVeN','history','_handleHover','BehaviorSubject','registerComponent','min','_status$','_toggleOnline','_name','runId','pipe','formula.calculation.waiting','onPointerMove$','IDocClipboardService','_showGuardMessage','evenodd','_uploadLog','text','OTHER_CLIENTS_EDITING','onPointerLeave$','Disposable','_renderManagerService','all','REDEMPTION_CODE_INACTIVE','YUUMI_AI_RUN_FAILED','join','debounceTime','isArray','findNodePositionByCharIndex','arc','_setFormulaLimitStatus','OnLineIcon','getCollabCursors$','react/jsx-runtime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_CODE_NOT_STARTED','_setupBeforeClosingHandler','Rectangle','getFocusedUnit','INVITE_CODE_ALREADY_BOUND','getCellPositionByOffset','Injector','RemoveRowCommandId','transformIMECache','UPDATE_CURSOR','onCommandExecuted','symbol','_scheduleClearOtherTimer','setConfig','_docClipboardService','_heartbeatTimer','range','ENTITLE_NEED_BILLING_ADDRESS','yellow.400','MOBILE_VERIFY_CODE_MISMATCH','DependentOn','_handleEvent','UNIVER_DOC','getMember','_docTransformIMECacheService','ICommandService','_config','DATA_SOURCE_TOO_LARGE','DisposableCollection','Failed','RxDisposable','split','rxjs','WECHAT_HAS_BEEN_BOUND','drawWith','purple.300','string','_ensureSubject','unsubscribe','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_transformUndoRedoStack','href','MemberService','ALREADY_EXISTS','getVpScrollXYInfoByPosToVp','TOO_MANY_REQUESTS','addClipboardHook','useRef','_docStateChangeManagerService','YUUMI_RATE_OVER_LIMIT','restore','_docTransformSelectionsService','invokeId','ISocketService','_selfUnitIDs','MOBILE_HAS_BEEN_BOUND','_pollingInterval','permission.title','SOCKET_FAILED','NO_OTHER_CLIENTS_EDITING','entries','fill','show','tag','collab-text-anchor-','amd','functionsExecutedState','fillText','SHEET_VIEWPORT_KEY','getCurrentRevOfUnit','body','_init','Warning','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','undoState','collabStatus.notCollab','ENTITLE_REPORT_LIMIT_EXCEED','UniverSheets','_logService','transformMutation','_draw','on-line-icon_clip0_910_349','_createSocketURL','\x20at\x20','_getSaveTimeout','makeDirty','DEFAULT_WS_SESSION_TICKET_URL','substring','InsertRowCommandId','collabStatus.offline','startFormulaLimitUrl','_range','318483iToMOE','replace','CollaborationEvent','object','REDEMPTION_CODE_FULLY_REDEEMED','unload','black','VIEW_MAIN','0\x200\x2016\x2016','isActive','_transformPreviousActiveRange','_textBubble','has','xlink:href','InsertRangeMoveRightCommandId','getItem','useDependency','m2Prime','_getFormulaLimitStatus','whenReady','_memberService','_initUserListener','serializeRangeWithSheet','contains','defineProperty','_onCursorDelete','_collabSessionService','79612qwMkbs','connectInjector','clearTimeout','sheetID','assignAColorForMemberID','EMAIL_VERIFY_CODE_MISMATCH','storage','_docSkeletonManagerService','SetDocZoomRatioOperation','unshift','SetSelectionsOperation','ENTITLE_INSUFFICIENT_QUOTA','error','@univerjs/sheets-ui','dirtyRanges','setInterval','assign','CONNECTOR_DATA_TOO_LARGE','collabStatus.fetchMiss','getOwnPropertyDescriptor','setShapeProps','_monkeyPatchLogService','HEADER_MENU','handleDeleteRangeMoveLeft','NodePositionConvertToCursor','startRow','collabStatus.syncing','ITransformService','DocSkeletonManagerService','div','getOffsetConfig','updateOfflineData','_initCommandExecutedListener','_themeService','1em','_lastPointer','find','BuiltInUIPart','LICENSE_EXPORT_SIZE_EXCEEDED','enableLocalCache','[CollaborationDataLoaderController]','_transformHistoryAndStateStack','_entityInit$','PENDING','_httpService','name','_initStatusComponent','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','/universer-api/license/formula/limit/start','_getMergeRange','url(#$1','fillStyle','_uiPartsService','_scheduleHeartbeat','onStarting','_clearPolling','switchMap','_onRefRangeChange','RefRangeService','closePath','CollaborationDataLoaderController','stageInfo','toStringTag','_hovered','endRow','touchDependencies','UNAUTHENTICATED','jsxs','unitId','_localeService','LOCAL_CACHE_INTERVAL','_getSheetObject','YUUMI_NO_CUBOID_FOR_QUESTION','disposeWithMe','BrowserCollaborationSocketService','INVITE_CODE_REQUIRED','syncEditingCollabCursor','activeSheet$','_configService','Optional','isTransformMutationsWithChangesetSuccess','ranges','catch','_docSkeleton','_messageService','M0\x200H16V16H0z','UniverInstanceType','_currentUsage','params','with','now','search','LOCAL_CACHE_INTERVAL_KEY','_scene','toDisposable','bottom','use','_beforeCloseService','...','@univerjs-pro/collaboration-client','_doCreateSocket','INVITE_CODE_HAS_BEEN_UES','TEXT','getCollabEntity$','IImageIoService','CONFLICT','length','DesktopCollaborationStatusDisplayController','key','_maxFormulaLimit','message','_handleHeartbeatEvent','IRenderManagerService','PAYMENT_CHANNEL_NOT_SUPPORT','eventID','YUUMI_UNABLE_LOAD_URL','textRanges','getTypeOfUnitAdded$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentSkeleton$','deserializeRangeWithSheet','measureText','displayName','handleInsertRangeMoveRight','off-line-icon_clip0_910_343','Unknown\x20user','transformMutationsWithChangeset','on-line-icon','SheetCollabCursorShape','RemoveColCommandId','IMessageService','UniverIcon','_getSessionTicket','addObjects','source','@univerjs/drawing','_imageIoService','_checkCalculationAvailable','Inject','YUUMI_SUBSCRIPTION_NOT_FOUND','newValue','PERMISSION_DENIED','UniverCollaborationClientUIPlugin','parseInt','/universer-api/frontend/logs','_cursor','current','UNDEFINED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','code','collabCursorState$','onLocalMutation','getConfig','stage','rxjs/operators','children','searchParams','url(#on-line-icon_clip0_910_349)','collaboration.single-unit.warning','getMergeData','transformSelections','getUniverSheetInstance','_hasFormulaInDirtyRanges','max','then','onRendered','addEventListener','subscribe','_memberID','isEditing','COMPLETION_FINISHED','session.connection-failed','distinctUntilChanged','http://www.w3.org/2000/svg','flatMap','getMemberID','from','_collaborationUIEventService','ThemeService','_instanceService','disableLocalCache','UniverEngineRender','getRelativeToViewportCoord','1168858KMUMyR','limitInfo','unitID','CollaborationUIEventId','location','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_hideTimer','NOT_FOUND','USER_IS_ANONYMOUS','InsertColCommandId','_injector','cursorInfo','_cursorShapes','transformByState','fillRule','#FFF','svg','mutations','lineTo','SetWorksheetActivateCommand','handleInsertCol','_getAnchorBounding','generateRandomId','Tools','_startDocCollabCursor','unhandledrejection','LOGIN_TOKEN_PROCESSING_FAILED','_localCacheService','registerRenderModule','filename','853874DJMfEd','_registerRenderDependencies','_notificationService','currentColor','_drawTextRange','deepClone','type','dispose','parse','DeleteRangeMoveLeftCommandId','SessionStatus','CHANGESET_REVISION_CONFILICT','_sheetSkeletonManagerService','values','REDEMPTION_INVALID_CODE','requireSession','/universer-api/license/formula/limit/done','react','row','/universer-api/license/formula/limit/status','_removeCollabCursors','none','Plugin','UniverEngineFormula','Error','_handleJoinEvent','subunit','APPLY_REJECT','_id','clsx','_initEvent','_colorIndex','getUndoRedoMutationParamsCache','currentTheme$','skeleton','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','startColumn','RemoteUniscriptService','_shapes','getRangePointData','getStateCache','blue.400','LICENSE_MAX_UNITS_EXCEEDED','forwardRef','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverProCollaborationClientUi','_saveCache','@univerjs-pro/collaboration','@univerjs/rpc','transformRemoteChangeset','_backgroundColor','PY_RUNTIME_SCRIPT_ERROR','height','getTypeOfUnitDisposed$','debug','getAncestorScale','socket$','unit','OFFLINE','IUniverInstanceService','stack','getCellMatrix','red.300','_docSyncEditingCollabCursorService','EMAIL_HAS_BEEN_BOUND','UniverProCollaboration','_render','@univerjs/design','width','_initUnhandledRejectionListener','mask','_refRangeService','translate(.97)','_scheduleSaving','event$','Subject','color','data','subUnitId','mergeOverrideWithDependencies','top','createSocket','isFormulaId','createElement','/run/','formula.calculation.unable','actions','setAlpha','_univerInstanceService','collab-rect-range-','getColorFromTheme','ENTITLE_CHAT_LIMIT_EXCEED','IBeforeCloseService','UnitStatus','RegularPolygon','stringify','USER_NOT_INVITED_CODE','_handleLeaveEvent','_cachedData','transformStateCache','init','asObservable','_anchor','useObservable','_dataLoaderService','MessageType','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getUnit','debounce','getColor','ILogService','CollaborationUIEventService','SUBMIT_CHANGESET_TIMEOUT','WebURLService','jsx','clearInterval','_cursors','Shape','doc.mutation.rich-text-editing','column','CanceledError','operators','colorChannel1','toRgbString','SetTextSelectionsOperation','HTTPService','cursorInfo$','CURRENT_STATUS_CANNOT_OPERATE','replaceState','_releaseCalculationLimit','filter','next','_online','throttleTime','_docTransformStateCacheService','registerBeforeClose','APPLY_REVISION_CONFILICT','_unitOnClients','_session','isTransformMutationFailure','_localStorageService','getCurrentUnitForType','_hover','ACTIVE_UNIT_EVENT_CHANNEL','delete','CollaborationStatus','roomMembers$','post','getParam','endColumn','setStateCache','createInstance','onPointerEnter$','SheetsSelectionsService','_taskIds','YUUMI_ASYNCIO_CANCELLED','_revisionService','UniverDrawing','get','0\x200\x2017\x2016','push','collaboration-client-ui.config','wsSessionTicketUrl','DocIMEInputManagerService','getActiveRange','_collaborationController','RichTextEditingMutation','size','redoState','ONLINE','docStateChange$','rgba(255,\x20255,\x20255,\x200.01)','_startCalculationLimit','ENTITLE_DUP_SUBSCRIPTION','YUUMI_ALL_TABLES_IS_INVALID','handleDeleteRangeMoveUp','engine','saveImage','1229075KDLdNC','Loading','m1Prime','SNAPSHOT_INVALID_SNAPSHOT','getUnhiddenWorksheets','session.will-retry','handleInsertRangeMoveDown','_colorAssignService','_onCursorUpdate','setItem','LocaleService','onMouseMove','IURLService','session.collaboration-timeout','forEach','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-formula','defs','_updateSubUnitFromURLParams','APPLY_DUPLICATED','UniverProCollaborationClient','_clearOtherTimers','YUUMI_CONNECTOR_URL_NOT_FOUND','SYNCED','_entities','NOT_COLLAB','trim','entityInit$','getSkeleton','_labelPosition','reason','enableFrontendLog','NodePositionConvertToRectRange','path','resize','getLocalCacheKey','EffectRefRangId','React','?taskId=','_roomMembers$','[Window\x20Error]:\x20','_toggleOffline','getUnitId','AUTHORIZE_CODE_ILLEGAL','_initEntityListener','_setupSubUnitSync','clipPath','ISnapshotServerService','_startSheetCollabCursor','registerRefRange','INVALID_ARGUMENT','takeUntil','fromEvent','_getScale','INVALID_INVITE_CODE','origin','getUnitStatus$','APPLY_NON_SEQUENTIAL_REVISION','setUndoRedoMutationParamsCache','getformulaLimitStatusUrl','getValue','save','UniverCore','formula.calculation.started','_transformService','setTimeout','shareReplay','_initResize','UniverRpc','_collabCursorController','sessionStatus$','UNIVER_SHEET','application/json','collaboration.closeRoom','complete','UniverDocs','selection','1546764rezYNZ','saveTaskMap','idSuffix','hovered','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getRenderById','RECT','IUIPartsService','white','result','REDEMPTION_USER_NOT_ELIGIBLE','@univerjs/docs','function','_saveTaskMap','collab-text-range-','ILocalStorageService','_color','UniverDesign','executionId','SOCKET_FAILED_RETRY','USER_NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','@univerjs/network','dispose$','START_CALCULATION','bind','_updateLocalCursor','loadOfflineData','LICENSE_DISTRO_REJECTED','attrs','handleIRemoveRow','LOGIN_FAILED','_assignedColors','DOC_RANGE_TYPE','_initWindowErrorListener','round','runRefRangeMutations','_collaborationSessionService','setParam','labelPosition','mapTo','permission.content','urlChange$','startsWith','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','InsertRangeMoveDownCommandId','Rect','_checkAndWaitForCalculationPermission','executeCommand','map','_eventUnsubscribe','merge','_commandService','CollaborationSessionService','getCoordByCell','collaboration-client.offline-data-not-saved','_unitStatus','UniverNetwork','IRemoteInstanceService','Vector2','releaseFormulaLimitUrl','totalFormulasToCalculate','_send','_collabCursorState$','editingUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','focused$','SheetSkeletonManagerService','_lastResponseTimestamp','removeEventListener','selections','DocSelectionManagerService','[LogService\x20Error]:\x20','ColorKit','getSheetBySheetId','_cursorInfo$','_syncEditingCollabCursorService','SUCCESS','addObject','subscribeEvent','pushState','getActiveSheet','_removeClearOtherTimer','USERS_LEAVE','YUUMI_URL_COL_OUT_OF_RANGE','_drawRectRange','UNRECOGNIZED','_context','_applyCommand','REDEMPTION_CODE_HAS_BEEN_CREATED','COLORS','_initDependencies','override','_disabled','_updateCollabCursors','_anchorDot','TEXT_RANGE_LAYER_INDEX','APPLY_PERMISSION_DENIED','set','IConfigService','FromArray','some'];_0x4c31=function(){return _0x2426a3;};return _0x4c31();}function _0x1b23(_0x555c7d,_0x4dc340){const _0x4c3107=_0x4c31();return _0x1b23=function(_0x1b23be,_0x2f31dc){_0x1b23be=_0x1b23be-0x1c7;let _0x3625f6=_0x4c3107[_0x1b23be];return _0x3625f6;},_0x1b23(_0x555c7d,_0x4dc340);}(function(_0x108ea4,_0x51a46e){const _0x2a36da=_0x1b23,_0x2dd7eb=_0x108ea4();while(!![]){try{const _0x582b9b=parseInt(_0x2a36da(0x3a8))/0x1+-parseInt(_0x2a36da(0x210))/0x2+parseInt(_0x2a36da(0x427))/0x3+parseInt(_0x2a36da(0x442))/0x4+parseInt(_0x2a36da(0x2e0))/0x5+parseInt(_0x2a36da(0x32d))/0x6+parseInt(_0x2a36da(0x22e))/0x7;if(_0x582b9b===_0x51a46e)break;else _0x2dd7eb['push'](_0x2dd7eb['shift']());}catch(_0x51f370){_0x2dd7eb['push'](_0x2dd7eb['shift']());}}}(_0x4c31,0x508c4),function(_0x27dbc3,_0x259a38){const _0x47a087=_0x1b23;typeof exports==_0x47a087(0x42a)&&typeof module<'u'?_0x259a38(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==_0x47a087(0x339)&&define[_0x47a087(0x40c)]?define(['exports',_0x47a087(0x3c9),_0x47a087(0x4a6),'@univerjs/core','@univerjs/ui',_0x47a087(0x3eb),_0x47a087(0x271),_0x47a087(0x23f),_0x47a087(0x25e),'@univerjs/sheets','@univerjs/engine-render',_0x47a087(0x343),'@univerjs/docs-ui',_0x47a087(0x1e0),_0x47a087(0x25d),_0x47a087(0x338),_0x47a087(0x2f0),_0x47a087(0x1f3),_0x47a087(0x44f)],_0x259a38):(_0x27dbc3=typeof globalThis<'u'?globalThis:_0x27dbc3||self,_0x259a38(_0x27dbc3[_0x47a087(0x25b)]={},_0x27dbc3[_0x47a087(0x305)],_0x27dbc3[_0x47a087(0x2f4)],_0x27dbc3[_0x47a087(0x31e)],_0x27dbc3['UniverUi'],_0x27dbc3[_0x47a087(0x3eb)],_0x27dbc3[_0x47a087(0x33e)],_0x27dbc3['React'],_0x27dbc3[_0x47a087(0x324)],_0x27dbc3[_0x47a087(0x418)],_0x27dbc3[_0x47a087(0x20e)],_0x27dbc3[_0x47a087(0x366)],_0x27dbc3['UniverDocsUi'],_0x27dbc3[_0x47a087(0x2cb)],_0x27dbc3[_0x47a087(0x26f)],_0x27dbc3[_0x47a087(0x32b)],_0x27dbc3[_0x47a087(0x245)],_0x27dbc3['rxjs'][_0x47a087(0x2a7)],_0x27dbc3['UniverSheetsUi']));}(this,function(_0x596407,_0x2f7e71,_0x11a8fb,_0x4a3224,_0x3f1baa,_0x1ee8dd,_0x22ad6a,_0x560d67,_0x113fc2,_0x1eb9df,_0x11b32e,_0x199a1e,_0x3ad18b,_0x1ea3a7,_0x316cd5,_0x387c9e,_0x3a2581,_0x417540,_0x3a85e2){'use strict';const _0x1d6417=_0x1b23;var _0x423c26=Object[_0x1d6417(0x43f)],_0x1404c4=(_0x489d22,_0x1db7d4,_0x5ac2ba)=>_0x1db7d4 in _0x489d22?_0x423c26(_0x489d22,_0x1db7d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac2ba}):_0x489d22[_0x1db7d4]=_0x5ac2ba,_0x252021=(_0x2774b5,_0x1e4683,_0x3a7c7a)=>_0x1404c4(_0x2774b5,typeof _0x1e4683!=_0x1d6417(0x3d6)?_0x1e4683+'':_0x1e4683,_0x3a7c7a);function _0x5428aa({ref:_0x429175,..._0x347536}){const _0xb17a33=_0x1d6417,{icon:_0x931c19,id:_0x1c5e58,className:_0x567e0c,extend:_0x4b0795,..._0x43cbb4}=_0x347536,_0x4525ef=('univerjs-icon\x20univerjs-icon-'+_0x1c5e58+'\x20'+(_0x567e0c||''))[_0xb17a33(0x2fa)](),_0x4f305b=_0x560d67[_0xb17a33(0x3fa)]('_'+_0x4a26b3());return _0x3fca33(_0x931c19,''+_0x1c5e58,{'defIds':_0x931c19['defIds'],'idSuffix':_0x4f305b[_0xb17a33(0x1eb)]},{'ref':_0x429175,'className':_0x4525ef,..._0x43cbb4},_0x4b0795);}function _0x3fca33(_0x5a4a16,_0x44c2f5,_0x4bd260,_0x52f0d5,_0x2c314f){const _0x25ce6a=_0x1d6417;return _0x560d67[_0x25ce6a(0x281)](_0x5a4a16[_0x25ce6a(0x40a)],{'key':_0x44c2f5,..._0x364c94(_0x5a4a16,_0x4bd260,_0x2c314f),..._0x52f0d5},(_0x3e0c5b(_0x5a4a16,_0x4bd260)[_0x25ce6a(0x1f4)]||[])[_0x25ce6a(0x35e)]((_0x121b8b,_0x23661f)=>_0x3fca33(_0x121b8b,_0x44c2f5+'-'+_0x5a4a16['tag']+'-'+_0x23661f,_0x4bd260,void 0x0,_0x2c314f)));}function _0x364c94(_0x357d71,_0x1ecb94,_0x312e18){const _0x515b2e=_0x1d6417,_0x4ba907={..._0x357d71[_0x515b2e(0x34a)]};_0x312e18!=null&&_0x312e18[_0x515b2e(0x2a8)]&&_0x4ba907[_0x515b2e(0x408)]===_0x515b2e(0x2a8)&&(_0x4ba907[_0x515b2e(0x408)]=_0x312e18[_0x515b2e(0x2a8)]),_0x357d71[_0x515b2e(0x40a)]===_0x515b2e(0x274)&&_0x4ba907['id']&&(_0x4ba907['id']=_0x4ba907['id']+_0x1ecb94[_0x515b2e(0x32f)]),Object[_0x515b2e(0x407)](_0x4ba907)[_0x515b2e(0x2ee)](([_0x5591e3,_0x5291b9])=>{const _0x17381b=_0x515b2e;_0x5591e3===_0x17381b(0x274)&&typeof _0x5291b9==_0x17381b(0x3ef)&&(_0x4ba907[_0x5591e3]=_0x5291b9[_0x17381b(0x428)](/url\(#(.*)\)/,'url(#$1'+_0x1ecb94[_0x17381b(0x32f)]+')'));});const {defIds:_0x451977}=_0x1ecb94;return!_0x451977||_0x451977[_0x515b2e(0x4ad)]===0x0||(_0x357d71['tag']===_0x515b2e(0x4a3)&&_0x4ba907[_0x515b2e(0x434)]&&(_0x4ba907['xlink:href']=_0x4ba907[_0x515b2e(0x434)]+_0x1ecb94[_0x515b2e(0x32f)]),Object[_0x515b2e(0x407)](_0x4ba907)[_0x515b2e(0x2ee)](([_0x545042,_0x2b7bcc])=>{const _0x4d85cf=_0x515b2e;typeof _0x2b7bcc==_0x4d85cf(0x3ef)&&(_0x4ba907[_0x545042]=_0x2b7bcc['replace'](/url\(#(.*)\)/,_0x4d85cf(0x475)+_0x1ecb94[_0x4d85cf(0x32f)]+')'));})),_0x4ba907;}function _0x3e0c5b(_0x70d998,_0x2f95e0){const _0x1039bc=_0x1d6417;var _0x991cb0;const {defIds:_0x3d4c3d}=_0x2f95e0;return!_0x3d4c3d||_0x3d4c3d[_0x1039bc(0x4ad)]===0x0?_0x70d998:_0x70d998[_0x1039bc(0x40a)]==='defs'&&((_0x991cb0=_0x70d998['children'])!=null&&_0x991cb0['length'])?{..._0x70d998,'children':_0x70d998[_0x1039bc(0x1f4)][_0x1039bc(0x35e)](_0x13b848=>typeof _0x13b848[_0x1039bc(0x34a)]['id']==_0x1039bc(0x3ef)&&_0x3d4c3d&&_0x3d4c3d['includes'](_0x13b848[_0x1039bc(0x34a)]['id'])?{..._0x13b848,'attrs':{..._0x13b848[_0x1039bc(0x34a)],'id':_0x13b848[_0x1039bc(0x34a)]['id']+_0x2f95e0[_0x1039bc(0x32f)]}}:_0x13b848)}:_0x70d998;}function _0x4a26b3(){const _0x15a485=_0x1d6417;return Math['random']()[_0x15a485(0x39c)](0x24)[_0x15a485(0x422)](0x2,0x8);}_0x5428aa[_0x1d6417(0x1d3)]=_0x1d6417(0x1dc);const _0x22538e={'tag':_0x1d6417(0x220),'attrs':{'xmlns':_0x1d6417(0x206),'fill':'none','viewBox':_0x1d6417(0x42f),'width':_0x1d6417(0x464),'height':_0x1d6417(0x464)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1d6417(0x301),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x1d6417(0x350),'strokeWidth':1.2}}]},{'tag':_0x1d6417(0x2f1),'attrs':{},'children':[{'tag':_0x1d6417(0x30e),'attrs':{'id':_0x1d6417(0x1d5)},'children':[{'tag':_0x1d6417(0x301),'attrs':{'fill':_0x1d6417(0x335),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d6417(0x1d5)]},_0x44987a=_0x560d67['forwardRef'](function(_0x6c8426,_0x3716d9){const _0x377e42=_0x1d6417;return _0x560d67[_0x377e42(0x281)](_0x5428aa,Object[_0x377e42(0x452)]({},_0x6c8426,{'id':_0x377e42(0x397),'ref':_0x3716d9,'icon':_0x22538e}));});_0x44987a[_0x1d6417(0x1d3)]='OffLineIcon';const _0x468c7a={'tag':_0x1d6417(0x220),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d6417(0x243),'viewBox':_0x1d6417(0x2cd),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1d6417(0x1f6)},'children':[{'tag':_0x1d6417(0x301),'attrs':{'stroke':_0x1d6417(0x231),'d':_0x1d6417(0x251),'strokeLinecap':'round','strokeLinejoin':_0x1d6417(0x350),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1d6417(0x30e),'attrs':{'id':_0x1d6417(0x41c)},'children':[{'tag':'path','attrs':{'fill':_0x1d6417(0x335),'d':_0x1d6417(0x498),'transform':_0x1d6417(0x276)}}]}]}],'defIds':[_0x1d6417(0x41c)]},_0x18e935=_0x560d67[_0x1d6417(0x259)](function(_0x2b8c15,_0x986485){const _0x502a92=_0x1d6417;return _0x560d67[_0x502a92(0x281)](_0x5428aa,Object['assign']({},_0x2b8c15,{'id':_0x502a92(0x1d8),'ref':_0x986485,'icon':_0x468c7a}));});_0x18e935[_0x1d6417(0x1d3)]=_0x1d6417(0x3c7);function _0x1bb7f1(_0x5200e0){const _0x825d6=_0x1d6417;switch(_0x5200e0){case _0x11a8fb['CollaborationStatus'][_0x825d6(0x268)]:return _0x825d6(0x424);case _0x11a8fb['CollaborationStatus'][_0x825d6(0x4ac)]:return'collabStatus.conflict';case _0x11a8fb['CollaborationStatus'][_0x825d6(0x399)]:return _0x825d6(0x454);case _0x11a8fb['CollaborationStatus'][_0x825d6(0x2f9)]:return _0x825d6(0x416);case _0x11a8fb[_0x825d6(0x2bf)]['AWAITING']:case _0x11a8fb[_0x825d6(0x2bf)]['AWAITING_WITH_PENDING']:return _0x825d6(0x45c);case _0x11a8fb[_0x825d6(0x2bf)][_0x825d6(0x2f7)]:case _0x11a8fb[_0x825d6(0x2bf)][_0x825d6(0x46d)]:return'collabStatus.synced';}}function _0x2a854f(_0x3f889c){const _0xe24f3b=_0x1d6417,{status$:_0x8d6b80}=_0x3f889c,_0x469b0b=_0x3f1baa[_0xe24f3b(0x295)](_0x8d6b80,_0x11a8fb[_0xe24f3b(0x2bf)][_0xe24f3b(0x2f9)]),_0x60021a=_0x3f1baa[_0xe24f3b(0x437)](_0x4a3224[_0xe24f3b(0x2ea)]),_0x33a40f=_0x3f1baa[_0xe24f3b(0x437)](_0x11a8fb[_0xe24f3b(0x362)]),_0x31968a=_0x469b0b!==_0x11a8fb['CollaborationStatus'][_0xe24f3b(0x268)],_0x540dda=_0x60021a['t'](_0x1bb7f1(_0x469b0b)),_0x677033=_0x31968a?_0x2f7e71[_0xe24f3b(0x2a0)](_0x18e935,{}):_0x2f7e71[_0xe24f3b(0x2a0)](_0x44987a,{}),_0x1bc5f8=_0x560d67['useCallback'](()=>{_0x31968a||_0x33a40f['reconnect']();},[_0x31968a,_0x33a40f]);function _0x34e864(){const _0x18e44b=_0xe24f3b;return _0x2f7e71[_0x18e44b(0x486)](_0x18e44b(0x45f),{'className':'univer-flex\x20univer-items-center','onClick':_0x1bc5f8,'children':[_0x2f7e71[_0x18e44b(0x2a0)](_0x18e44b(0x45f),{'className':_0x22ad6a[_0x18e44b(0x24b)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x31968a,'univer-text-red-500':!_0x31968a}),'children':_0x677033}),_0x2f7e71[_0x18e44b(0x2a0)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x540dda})]});}return _0x31968a?_0x34e864():_0x2f7e71[_0xe24f3b(0x2a0)](_0x22ad6a['Tooltip'],{'title':_0x60021a['t']('collab-client.tooltip.reconnect'),'children':_0x34e864()});}var _0x29aaa6=Object[_0x1d6417(0x455)],_0x4b731f=(_0x5cfd71,_0x322a4f,_0x535eb3,_0x10bb7b)=>{const _0x162f76=_0x1d6417;for(var _0x8b21e9=_0x10bb7b>0x1?void 0x0:_0x10bb7b?_0x29aaa6(_0x322a4f,_0x535eb3):_0x322a4f,_0x14d16d=_0x5cfd71[_0x162f76(0x4ad)]-0x1,_0x101dae;_0x14d16d>=0x0;_0x14d16d--)(_0x101dae=_0x5cfd71[_0x14d16d])&&(_0x8b21e9=_0x101dae(_0x8b21e9)||_0x8b21e9);return _0x8b21e9;},_0x15d196=(_0x4d6530,_0x4b1624)=>(_0x53274b,_0x220e9a)=>_0x4b1624(_0x53274b,_0x220e9a,_0x4d6530);_0x596407['DesktopCollaborationStatusDisplayController']=class extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(_0x48089a,_0x113c55,_0x2e702b,_0x5a9c3c){const _0x398dc4=_0x1d6417;super(),_0x252021(this,_0x398dc4(0x3ae),new _0x1ee8dd['BehaviorSubject'](_0x11a8fb['CollaborationStatus']['NOT_COLLAB'])),(this[_0x398dc4(0x286)]=_0x48089a,this['_injector']=_0x113c55,this[_0x398dc4(0x2d3)]=_0x2e702b,this[_0x398dc4(0x477)]=_0x5a9c3c,this[_0x398dc4(0x470)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x27a14a=_0x1d6417;this[_0x27a14a(0x48c)](this['_univerInstanceService'][_0x27a14a(0x36f)][_0x27a14a(0x3b2)](_0x1ee8dd[_0x27a14a(0x47b)](()=>{const _0x467e2c=_0x27a14a,_0x20d7ca=this['_univerInstanceService'][_0x467e2c(0x3ce)]();return _0x20d7ca?this[_0x467e2c(0x2d3)][_0x467e2c(0x4aa)](_0x20d7ca[_0x467e2c(0x30a)]()):_0x1ee8dd['of'](null);}),_0x1ee8dd[_0x27a14a(0x47b)](_0xda4e60=>_0xda4e60?_0xda4e60['status$']:_0x1ee8dd['of'](_0x11a8fb['CollaborationStatus']['NOT_COLLAB'])))[_0x27a14a(0x200)](_0x51745c=>{const _0x117d4f=_0x27a14a;this[_0x117d4f(0x3ae)][_0x117d4f(0x2b1)](_0x51745c);}));}['_initStatusComponent'](){const _0x447aee=_0x1d6417;this[_0x447aee(0x48c)](this[_0x447aee(0x477)][_0x447aee(0x3ac)](_0x3f1baa[_0x447aee(0x467)][_0x447aee(0x458)],()=>_0x3f1baa[_0x447aee(0x443)](_0x32d779({'status$':this['_status$'][_0x447aee(0x293)]()}),this[_0x447aee(0x21a)])));}},_0x596407[_0x1d6417(0x4ae)]=_0x4b731f([_0x15d196(0x0,_0x4a3224[_0x1d6417(0x269)]),_0x15d196(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x3d1)])),_0x15d196(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb['CollaborationController'])),_0x15d196(0x3,_0x3f1baa[_0x1d6417(0x334)])],_0x596407[_0x1d6417(0x4ae)]);function _0x32d779(_0x3c441c){const {status$:_0x502e19}=_0x3c441c;return function(){const _0xdd258f=_0x1b23;return _0x2f7e71[_0xdd258f(0x2a0)](_0x2a854f,{'status$':_0x502e19});};}const _0x56aa4e=_0x4a3224['createIdentifier']('uni.network.url-service');var _0x267cf4=Object['getOwnPropertyDescriptor'],_0x166aca=(_0x5f45ca,_0x2eee91,_0x43f62e,_0x552ecb)=>{for(var _0x4f98da=_0x552ecb>0x1?void 0x0:_0x552ecb?_0x267cf4(_0x2eee91,_0x43f62e):_0x2eee91,_0xdf9edf=_0x5f45ca['length']-0x1,_0x236e03;_0xdf9edf>=0x0;_0xdf9edf--)(_0x236e03=_0x5f45ca[_0xdf9edf])&&(_0x4f98da=_0x236e03(_0x4f98da)||_0x4f98da);return _0x4f98da;},_0x4a4ebd=(_0x3acd1b,_0x46af8b)=>(_0xf229cc,_0x349788)=>_0x46af8b(_0xf229cc,_0x349788,_0x3acd1b);_0x596407[_0x1d6417(0x47f)]=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0xea91be,_0x2d9422,_0x4c9a33,_0xeba102,_0x3688b7){const _0x3d6e04=_0x1d6417;super(),this[_0x3d6e04(0x394)]=_0xea91be,this[_0x3d6e04(0x419)]=_0x2d9422,this['_commandService']=_0x4c9a33,this[_0x3d6e04(0x296)]=_0xeba102,_0x3688b7?_0x3688b7==null||_0x3688b7[_0x3d6e04(0x43a)]()['then'](()=>this[_0x3d6e04(0x412)]()):(this[_0x3d6e04(0x419)][_0x3d6e04(0x264)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3d6e04(0x412)]());}async[_0x1d6417(0x412)](){const _0x4e8a99=_0x1d6417,_0x388b62=this[_0x4e8a99(0x394)]['getParam'](_0x4e8a99(0x267)),_0x1d6970=this[_0x4e8a99(0x394)][_0x4e8a99(0x2c2)]('type'),_0x4aae4e=this[_0x4e8a99(0x394)]['getParam'](_0x4e8a99(0x248));if(!_0x388b62||!_0x1d6970){this['_logService']['debug'](_0x4e8a99(0x46a),_0x4e8a99(0x359));return;}const _0x140e37=await this[_0x4e8a99(0x296)]['loadUnit'](_0x388b62,Number(_0x1d6970),_0x4aae4e);_0x140e37&&_0x140e37 instanceof _0x4a3224['Workbook']&&this[_0x4e8a99(0x30d)](_0x140e37);}async['_setupSubUnitSync'](_0x223c58){const _0x509453=_0x1d6417;await this[_0x509453(0x2f2)](_0x223c58),_0x223c58[_0x509453(0x490)][_0x509453(0x3b2)](_0x1ee8dd[_0x509453(0x313)](this['dispose$']))[_0x509453(0x200)](_0x30eb52=>{const _0x47a26d=_0x509453;_0x30eb52&&this[_0x47a26d(0x3a7)](_0x30eb52);}),this[_0x509453(0x394)][_0x509453(0x357)][_0x509453(0x3b2)](_0x1ee8dd['takeUntil'](this[_0x509453(0x344)]))[_0x509453(0x200)](()=>this[_0x509453(0x2f2)](_0x223c58));}['_updateURLWithCurrentState'](_0x6f83dd,_0x2573f8=!0x1){const _0x567013=_0x1d6417,_0x57027f=this[_0x567013(0x394)][_0x567013(0x2c2)](_0x567013(0x248));_0x6f83dd['getSheetId']()!==_0x57027f&&this[_0x567013(0x394)][_0x567013(0x353)](_0x567013(0x248),_0x6f83dd[_0x567013(0x472)](),_0x2573f8);}async[_0x1d6417(0x2f2)](_0x816a0a){const _0x4c8592=_0x1d6417;var _0x22632e;const _0x5173=this[_0x4c8592(0x394)][_0x4c8592(0x2c2)](_0x4c8592(0x248));if(!_0x5173||!_0x816a0a[_0x4c8592(0x377)](_0x5173)){const _0x26444b=_0x816a0a[_0x4c8592(0x2e4)]()[0x0],_0x41c2de=_0x816a0a['getSheetBySheetId'](_0x26444b);if(!_0x41c2de)return;this[_0x4c8592(0x3a7)](_0x41c2de,!0x0),await this[_0x4c8592(0x361)][_0x4c8592(0x35d)](_0x1eb9df['SetWorksheetActivateCommand']['id'],{'unitId':_0x816a0a[_0x4c8592(0x30a)](),'subUnitId':_0x26444b});return;}((_0x22632e=_0x816a0a[_0x4c8592(0x37e)]())==null?void 0x0:_0x22632e[_0x4c8592(0x472)]())!==_0x5173&&await this[_0x4c8592(0x361)][_0x4c8592(0x35d)](_0x1eb9df[_0x4c8592(0x223)]['id'],{'unitId':_0x816a0a[_0x4c8592(0x30a)](),'subUnitId':_0x5173});}},_0x596407[_0x1d6417(0x47f)]=_0x166aca([_0x4a4ebd(0x0,_0x56aa4e),_0x4a4ebd(0x1,_0x4a3224[_0x1d6417(0x29c)]),_0x4a4ebd(0x2,_0x4a3224[_0x1d6417(0x3e4)]),_0x4a4ebd(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb['DataLoaderService'])),_0x4a4ebd(0x4,_0x4a3224[_0x1d6417(0x492)](_0x113fc2[_0x1d6417(0x367)]))],_0x596407[_0x1d6417(0x47f)]);var _0x4ca88a=Object[_0x1d6417(0x455)],_0x994b33=(_0x27e6c5,_0x184614,_0x557d0d,_0x281570)=>{const _0x55bdf2=_0x1d6417;for(var _0x212b19=_0x281570>0x1?void 0x0:_0x281570?_0x4ca88a(_0x184614,_0x557d0d):_0x184614,_0x3365df=_0x27e6c5[_0x55bdf2(0x4ad)]-0x1,_0x550ff7;_0x3365df>=0x0;_0x3365df--)(_0x550ff7=_0x27e6c5[_0x3365df])&&(_0x212b19=_0x550ff7(_0x212b19)||_0x212b19);return _0x212b19;},_0x3586c9=(_0x35b871,_0x3d54c9)=>(_0x34830d,_0x343df6)=>_0x3d54c9(_0x34830d,_0x343df6,_0x35b871);let _0x101ee1=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0x3a79fb,_0x126b19){const _0x489039=_0x1d6417;super(),this[_0x489039(0x3d9)]=_0x3a79fb,this[_0x489039(0x1e1)]=_0x126b19,this[_0x489039(0x412)]();}[_0x1d6417(0x412)](){const _0x3965c2=_0x1d6417,_0x18c6dd=this;this[_0x3965c2(0x48c)](this[_0x3965c2(0x3d9)][_0x3965c2(0x3f9)]({'onBeforePasteImage':async _0x4c5f39=>{const _0x1f635f=_0x3965c2,_0x315f8b=await _0x18c6dd[_0x1f635f(0x1e1)][_0x1f635f(0x2df)](_0x4c5f39);return _0x315f8b?{'source':_0x315f8b[_0x1f635f(0x1df)],'imageSourceType':_0x315f8b['imageSourceType']}:null;}}));}};_0x101ee1=_0x994b33([_0x3586c9(0x0,_0x3ad18b[_0x1d6417(0x3b5)]),_0x3586c9(0x1,_0x1ea3a7[_0x1d6417(0x4ab)])],_0x101ee1);const _0xa75509=[_0x1d6417(0x3ee),_0x1d6417(0x3a2),_0x1d6417(0x39b),_0x1d6417(0x26c),_0x1d6417(0x257),_0x1d6417(0x3dd)];class _0x16fc83 extends _0x4a3224['Disposable']{constructor(){const _0x540d42=_0x1d6417;super(...arguments),_0x252021(this,_0x540d42(0x34d),new Map()),_0x252021(this,_0x540d42(0x24d),0x0);}[_0x1d6417(0x446)](_0x329d9c){const _0x5b431d=_0x1d6417;if(this[_0x5b431d(0x34d)][_0x5b431d(0x433)](_0x329d9c))return this[_0x5b431d(0x34d)]['get'](_0x329d9c);const _0x940080=_0xa75509[this['_colorIndex']];return this['_colorIndex']=(this[_0x5b431d(0x24d)]+0x1)%_0xa75509[_0x5b431d(0x4ad)],this[_0x5b431d(0x34d)][_0x5b431d(0x38f)](_0x329d9c,_0x940080),_0x940080;}}function _0x875a0e(_0xf10238){const _0x22882a=_0x1d6417;let _0x15c710='';for(const _0x597520 of _0xf10238){const {startOffset:_0x4be617,endOffset:_0x2e87ca,isActive:_0x10ece9,rangeType:_0x2a9819,segmentId:_0x2f6a0e,segmentPage:_0x33e4a8}=_0x597520;_0x15c710[_0x22882a(0x4ad)]&&(_0x15c710+=','),_0x15c710+=_0x4be617+':'+_0x2e87ca+':'+(_0x10ece9?'1':'0')+':'+_0x2a9819+':'+_0x2f6a0e+':'+_0x33e4a8;}return _0x15c710;}function _0x470b42(_0x54a487){const _0x525e60=_0x1d6417,_0x4ac1c8=_0x54a487['split'](','),_0x59e6ce=[];for(const _0x1b0042 of _0x4ac1c8){const [_0x304afe,_0x26e98c,_0x40ef72,_0x411ef1,_0xc2ed1e,_0x9e9336]=_0x1b0042[_0x525e60(0x3ea)](':');_0x59e6ce['push']({'startOffset':Number(_0x304afe),'endOffset':Number(_0x26e98c),'collapsed':_0x304afe===_0x26e98c,'isActive':_0x40ef72==='1','rangeType':_0x411ef1===_0x4a3224[_0x525e60(0x34e)][_0x525e60(0x4a9)]?_0x4a3224[_0x525e60(0x34e)]['TEXT']:_0x4a3224['DOC_RANGE_TYPE'][_0x525e60(0x333)],'segmentId':typeof _0xc2ed1e==_0x525e60(0x3ef)?String(_0xc2ed1e):'','segmentPage':Number(_0x9e9336!=null?_0x9e9336:-0x1)});}return _0x59e6ce[_0x525e60(0x392)](_0xb99180=>_0xb99180[_0x525e60(0x430)])||(_0x59e6ce[0x0][_0x525e60(0x430)]=!0x0),_0x59e6ce;}class _0x1fe4f7 extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(){const _0xd0c0b9=_0x1d6417;super(...arguments),_0x252021(this,_0xd0c0b9(0x36c),new _0x1ee8dd[(_0xd0c0b9(0x3ab))](null)),_0x252021(this,_0xd0c0b9(0x1ef),this[_0xd0c0b9(0x36c)][_0xd0c0b9(0x293)]());}[_0x1d6417(0x48f)](_0x3aebf7){const _0x39deb5=_0x1d6417,{unitID:_0x34c98f,memberID:_0xa395c4,textRanges:_0x15a3d1}=_0x3aebf7,_0x3707ce=_0x875a0e(_0x15a3d1);if(_0x3707ce==='')return;const _0x5cebe3={'unitID':_0x34c98f,'memberID':_0xa395c4,'selection':_0x3707ce};this[_0x39deb5(0x36c)][_0x39deb5(0x2b1)](_0x5cebe3);}}var _0x43471a=Object[_0x1d6417(0x455)],_0x17e1c5=(_0x23389a,_0xc4d1a6,_0x90f97b,_0x43ab0a)=>{for(var _0x4eae68=_0x43ab0a>0x1?void 0x0:_0x43ab0a?_0x43471a(_0xc4d1a6,_0x90f97b):_0xc4d1a6,_0x13a21e=_0x23389a['length']-0x1,_0xd13a59;_0x13a21e>=0x0;_0x13a21e--)(_0xd13a59=_0x23389a[_0x13a21e])&&(_0x4eae68=_0xd13a59(_0x4eae68)||_0x4eae68);return _0x4eae68;},_0x1a9fef=(_0x1bffd2,_0x1f5e64)=>(_0x1f6612,_0x180d5c)=>_0x1f5e64(_0x1f6612,_0x180d5c,_0x1bffd2);const _0x5105b2=0x12c,_0x8703f=0x64;let _0x37744f=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0x2ac3a9,_0x234638,_0x4f92a4,_0x482300,_0xfc4960,_0x17303d,_0xa5b4ee,_0x114886,_0x1b57cd){const _0x477108=_0x1d6417;super(),_0x252021(this,_0x477108(0x2b2),!0x1),_0x252021(this,_0x477108(0x412),!0x1),_0x252021(this,_0x477108(0x378),new _0x1ee8dd[(_0x477108(0x3ab))](new Map())),_0x252021(this,_0x477108(0x2ac),this[_0x477108(0x378)]['asObservable']()),_0x252021(this,_0x477108(0x307),new _0x1ee8dd[(_0x477108(0x3ab))]([])),_0x252021(this,'roomMembers$',this[_0x477108(0x307)]['pipe'](_0x1ee8dd[_0x477108(0x3c2)](_0x5105b2))),_0x252021(this,_0x477108(0x347),_0x4a3224[_0x477108(0x29a)](_0x4d0738=>{const _0x54cf3e=_0x477108,_0x50926a={'eventID':_0x316cd5[_0x54cf3e(0x429)][_0x54cf3e(0x3d4)],'data':{'unitID':this[_0x54cf3e(0x212)],'memberID':this[_0x54cf3e(0x2b8)][_0x54cf3e(0x208)](),'selection':_0x875a0e(_0x4d0738)}};this['_session'][_0x54cf3e(0x3a6)](_0x50926a,this[_0x54cf3e(0x212)]);},_0x8703f)),(this[_0x477108(0x212)]=_0x2ac3a9,this[_0x477108(0x2b8)]=_0x234638,this[_0x477108(0x21a)]=_0x4f92a4,this[_0x477108(0x2e7)]=_0x482300,this[_0x477108(0x43b)]=_0xfc4960,this[_0x477108(0x379)]=_0x17303d,this['_transformService']=_0xa5b4ee,this['_univerInstanceService']=_0x114886,this[_0x477108(0x361)]=_0x1b57cd);}get[_0x1d6417(0x21b)](){const _0x5aa094=_0x1d6417;return this[_0x5aa094(0x378)][_0x5aa094(0x31c)]();}get['roomMembers'](){const _0x1400bf=_0x1d6417;return this[_0x1400bf(0x307)][_0x1400bf(0x31c)]();}[_0x1d6417(0x235)](){const _0x87ef4a=_0x1d6417;super[_0x87ef4a(0x235)](),this[_0x87ef4a(0x378)][_0x87ef4a(0x2b1)](new Map()),this[_0x87ef4a(0x378)][_0x87ef4a(0x32a)](),this[_0x87ef4a(0x307)]['next']([]),this[_0x87ef4a(0x307)][_0x87ef4a(0x32a)]();}[_0x1d6417(0x292)](){const _0x342399=_0x1d6417;this[_0x342399(0x412)]||(this[_0x342399(0x412)]=!0x0,this[_0x342399(0x2b8)][_0x342399(0x326)][_0x342399(0x3b2)](_0x1ee8dd[_0x342399(0x313)](this[_0x342399(0x344)]))[_0x342399(0x200)](_0x1b5268=>{const _0x13ba6b=_0x342399;_0x1b5268===_0x11a8fb[_0x13ba6b(0x238)][_0x13ba6b(0x2d7)]?this[_0x13ba6b(0x3af)]():this[_0x13ba6b(0x309)]();}),this[_0x342399(0x2b8)]['event$'][_0x342399(0x3b2)](_0x1ee8dd[_0x342399(0x313)](this[_0x342399(0x344)]))['subscribe'](_0x4061ec=>{const _0x560dc7=_0x342399,_0x596349=_0x4061ec[_0x560dc7(0x1cb)];_0x596349===_0x316cd5['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x560dc7(0x2e8)](_0x4061ec),_0x596349===_0x316cd5[_0x560dc7(0x429)][_0x560dc7(0x380)]&&this['_onCursorDelete'](_0x4061ec);}),this[_0x342399(0x48c)](this[_0x342399(0x361)][_0x342399(0x3d5)](_0x33f829=>{const _0x478b7c=_0x342399,_0x41ab13=_0x33f829[_0x478b7c(0x49b)];_0x41ab13!=null&&this[_0x478b7c(0x2b2)]&&_0x33f829['id']===_0x387c9e[_0x478b7c(0x2aa)]['id']&&_0x41ab13[_0x478b7c(0x487)]===this[_0x478b7c(0x212)]&&_0x41ab13[_0x478b7c(0x202)]===!0x1&&_0x41ab13[_0x478b7c(0x494)][_0x478b7c(0x4ad)]>0x0&&this['_updateLocalCursor'](_0x41ab13[_0x478b7c(0x494)]);})),this['_syncEditingCollabCursorService'][_0x342399(0x1ef)][_0x342399(0x3b2)](_0x1ee8dd[_0x342399(0x313)](this['dispose$']))[_0x342399(0x200)](_0x33b1bf=>{const _0x2abc83=_0x342399;if((_0x33b1bf==null?void 0x0:_0x33b1bf['unitID'])!==this['unitID'])return;const _0x2ca561={'eventID':_0x316cd5[_0x2abc83(0x429)][_0x2abc83(0x3d4)],'data':_0x33b1bf};this['_onCursorUpdate'](_0x2ca561);}),this[_0x342399(0x48c)](this[_0x342399(0x361)][_0x342399(0x3d5)](_0x29939b=>{const _0x424ec=_0x342399;if(_0x29939b[_0x424ec(0x49b)]==null)return;const _0x5bef98=_0x29939b[_0x424ec(0x49b)];if(_0x29939b['id']!==_0x387c9e[_0x424ec(0x2d4)]['id']||_0x5bef98[_0x424ec(0x487)]!==this[_0x424ec(0x212)])return;const _0xc670ea={'id':_0x424ec(0x2a4),'params':_0x5bef98},_0x4c8a7f=this[_0x424ec(0x21b)];for(const [_0x5ebfda,_0x24483c]of _0x4c8a7f){const _0x157121={'id':_0x424ec(0x2a4),'params':{'unitId':this[_0x424ec(0x212)],'actions':null,'textRanges':_0x24483c['ranges']}},_0x24d8f8=this['_transformService'][_0x424ec(0x41a)](_0xc670ea,_0x157121,!0x1);if(_0x316cd5['isTransformMutationFailure'](_0x24d8f8))throw _0x24d8f8[_0x424ec(0x44e)];_0x4c8a7f[_0x424ec(0x38f)](_0x5ebfda,{..._0x24483c,'ranges':_0x24d8f8[_0x424ec(0x438)][_0x424ec(0x49b)][_0x424ec(0x1cd)]});}queueMicrotask(()=>{const _0x317b3f=_0x424ec;this[_0x317b3f(0x378)][_0x317b3f(0x2b1)](_0x4c8a7f);});})));}[_0x1d6417(0x2e8)](_0x27bd06){const _0x35103a=_0x1d6417;var _0x3873dd,_0x44af4e;const {memberID:_0x526a6e,selection:_0x2e6cd7}=_0x27bd06['data'],_0xfc42b4=_0x470b42(_0x2e6cd7),_0xec454f=(_0x44af4e=(_0x3873dd=this['_memberService'][_0x35103a(0x3e2)](this['unitID'],_0x526a6e))==null?void 0x0:_0x3873dd[_0x35103a(0x46f)])!=null?_0x44af4e:_0x35103a(0x1d6),_0x594817={'color':this['_colorAssignService'][_0x35103a(0x446)](_0x526a6e),'name':_0xec454f,'ranges':_0xfc42b4},_0x1903ab=this[_0x35103a(0x21b)];_0x1903ab[_0x35103a(0x38f)](_0x526a6e,_0x594817),this[_0x35103a(0x378)][_0x35103a(0x2b1)](_0x1903ab);}[_0x1d6417(0x440)](_0x82bde7){const _0x472c80=_0x1d6417,{memberID:_0x56c884}=_0x82bde7[_0x472c80(0x27b)],_0x5e7d2d=this[_0x472c80(0x21b)];_0x5e7d2d[_0x472c80(0x2be)](_0x56c884),this[_0x472c80(0x378)][_0x472c80(0x2b1)](_0x5e7d2d);}[_0x1d6417(0x3af)](){const _0x5a9147=_0x1d6417;var _0x540eef;if(this[_0x5a9147(0x2b2)]=!0x0,((_0x540eef=this[_0x5a9147(0x286)][_0x5a9147(0x3ce)]())==null?void 0x0:_0x540eef['getUnitId']())!==this[_0x5a9147(0x212)])return;const _0x163569=this[_0x5a9147(0x21a)]['get'](_0x387c9e[_0x5a9147(0x374)])['getDocRanges']();Array[_0x5a9147(0x3c3)](_0x163569)&&_0x163569[_0x5a9147(0x4ad)]>0x0&&this[_0x5a9147(0x347)](_0x163569);}[_0x1d6417(0x309)](){this['_online']=!0x1;}};_0x37744f=_0x17e1c5([_0x1a9fef(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x3d1)])),_0x1a9fef(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x16fc83)),_0x1a9fef(0x4,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb[_0x1d6417(0x3f5)])),_0x1a9fef(0x5,_0x4a3224[_0x1d6417(0x1e3)](_0x1fe4f7)),_0x1a9fef(0x6,_0x316cd5[_0x1d6417(0x45d)]),_0x1a9fef(0x7,_0x4a3224[_0x1d6417(0x269)]),_0x1a9fef(0x8,_0x4a3224[_0x1d6417(0x3e4)])],_0x37744f);var _0x42c816=Object['getOwnPropertyDescriptor'],_0x3ce1af=(_0x2fe8c9,_0xebd636,_0xa4273c,_0x554de2)=>{const _0x3f6996=_0x1d6417;for(var _0x458978=_0x554de2>0x1?void 0x0:_0x554de2?_0x42c816(_0xebd636,_0xa4273c):_0xebd636,_0x301267=_0x2fe8c9[_0x3f6996(0x4ad)]-0x1,_0x5e9256;_0x301267>=0x0;_0x301267--)(_0x5e9256=_0x2fe8c9[_0x301267])&&(_0x458978=_0x5e9256(_0x458978)||_0x458978);return _0x458978;},_0x305087=(_0xf626bd,_0xd072cd)=>(_0x4b8a57,_0x36adf6)=>_0xd072cd(_0x4b8a57,_0x36adf6,_0xf626bd);const _0x50cfd6=0x12c,_0x211693=0x64,_0x21f808=()=>{let _0x548e3b=[],_0x432af2=!0x1;return _0x56b553=>{const _0x1d6ef7=_0x1b23;_0x548e3b[_0x1d6ef7(0x2ce)](_0x56b553),_0x432af2||(_0x432af2=!0x0,setTimeout(()=>{const _0x1fe475=_0x1d6ef7;_0x548e3b[_0x1fe475(0x2ee)](_0x4aeb85=>_0x4aeb85()),_0x548e3b=[],_0x432af2=!0x1;}));};};let _0x12742e=class extends _0x4a3224['RxDisposable']{constructor(_0x56409e,_0x3cac18,_0x5369f8,_0x2f4af3,_0x3b31c0,_0xa4b179,_0x3a1034,_0x430b98){const _0x7b564e=_0x1d6417;super(),_0x252021(this,_0x7b564e(0x2b2),!0x1),_0x252021(this,_0x7b564e(0x412),!0x1),_0x252021(this,_0x7b564e(0x378),new _0x1ee8dd['BehaviorSubject'](new Map())),_0x252021(this,_0x7b564e(0x2ac),this[_0x7b564e(0x378)]['asObservable']()),_0x252021(this,_0x7b564e(0x307),new _0x1ee8dd[(_0x7b564e(0x3ab))]([])),_0x252021(this,_0x7b564e(0x2c0),this[_0x7b564e(0x307)][_0x7b564e(0x3b2)](_0x1ee8dd['debounceTime'](_0x50cfd6))),_0x252021(this,_0x7b564e(0x347),_0x4a3224[_0x7b564e(0x29a)]((_0x202c4d,_0x1fb71d)=>{const _0x225fa6=_0x7b564e,_0x39b420={'eventID':_0x316cd5[_0x225fa6(0x429)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x225fa6(0x2b8)][_0x225fa6(0x208)](),'selection':_0x3a2581[_0x225fa6(0x43d)](_0x202c4d,_0x1fb71d[_0x225fa6(0x3db)])}};this[_0x225fa6(0x2b8)][_0x225fa6(0x3a6)](_0x39b420,this[_0x225fa6(0x212)]);},_0x211693)),(this['unitID']=_0x56409e,this[_0x7b564e(0x2b8)]=_0x3cac18,this['_injector']=_0x5369f8,this[_0x7b564e(0x2e7)]=_0x2f4af3,this[_0x7b564e(0x43b)]=_0x3b31c0,this[_0x7b564e(0x286)]=_0xa4b179,this['_commandService']=_0x3a1034,this[_0x7b564e(0x275)]=_0x430b98);}get[_0x1d6417(0x21b)](){const _0x1ef59f=_0x1d6417;return this['_cursorInfo$'][_0x1ef59f(0x31c)]();}get['roomMembers'](){const _0x46e061=_0x1d6417;return this[_0x46e061(0x307)][_0x46e061(0x31c)]();}[_0x1d6417(0x235)](){const _0x46febb=_0x1d6417;super[_0x46febb(0x235)](),this[_0x46febb(0x378)]['next'](new Map()),this[_0x46febb(0x378)][_0x46febb(0x32a)](),this[_0x46febb(0x307)][_0x46febb(0x2b1)]([]),this['_roomMembers$'][_0x46febb(0x32a)]();}[_0x1d6417(0x292)](){const _0x4636db=_0x1d6417;this[_0x4636db(0x412)]||(this['_init']=!0x0,this[_0x4636db(0x2b8)][_0x4636db(0x326)][_0x4636db(0x3b2)](_0x1ee8dd['takeUntil'](this[_0x4636db(0x344)]))[_0x4636db(0x200)](_0x3addfd=>{const _0x4a2364=_0x4636db;_0x3addfd===_0x11a8fb[_0x4a2364(0x238)][_0x4a2364(0x2d7)]?this[_0x4a2364(0x3af)]():this[_0x4a2364(0x309)]();}),this[_0x4636db(0x2b8)][_0x4636db(0x278)][_0x4636db(0x3b2)](_0x1ee8dd['takeUntil'](this[_0x4636db(0x344)]))[_0x4636db(0x200)](_0x5e5728=>{const _0x5ac941=_0x4636db,_0x3e0e96=_0x5e5728['eventID'];_0x3e0e96===_0x316cd5[_0x5ac941(0x429)][_0x5ac941(0x3d4)]&&this[_0x5ac941(0x2e8)](_0x5e5728),_0x3e0e96===_0x316cd5[_0x5ac941(0x429)][_0x5ac941(0x380)]&&this[_0x5ac941(0x440)](_0x5e5728);}),this[_0x4636db(0x47c)](),this['disposeWithMe'](this[_0x4636db(0x361)][_0x4636db(0x3d5)](_0x39d0b8=>{const _0x2fbbda=_0x4636db;if(this[_0x2fbbda(0x2b2)]&&_0x39d0b8['id']===_0x1eb9df[_0x2fbbda(0x44c)]['id']&&_0x39d0b8[_0x2fbbda(0x49b)][_0x2fbbda(0x487)]===this['unitID']){const _0x586e7d=_0x39d0b8[_0x2fbbda(0x49b)];this['_updateLocalCursor'](_0x586e7d[_0x2fbbda(0x27c)],_0x586e7d[_0x2fbbda(0x373)][0x0]);}})));}['_onCursorUpdate'](_0x21146d){const _0x5b3b78=_0x1d6417;var _0x580c52,_0x4505be;const {memberID:_0x5ce034,selection:_0x47e21c}=_0x21146d['data'],{sheetName:_0x5c471f,range:_0x55e7c5}=_0x3a2581[_0x5b3b78(0x1d1)](_0x47e21c),_0x3ec53c={'name':(_0x4505be=(_0x580c52=this[_0x5b3b78(0x43b)][_0x5b3b78(0x3e2)](this[_0x5b3b78(0x212)],_0x5ce034))==null?void 0x0:_0x580c52[_0x5b3b78(0x46f)])!=null?_0x4505be:'Unknown\x20user','range':this[_0x5b3b78(0x474)](_0x5c471f,_0x55e7c5),'sheetID':_0x5c471f,'color':this[_0x5b3b78(0x2e7)][_0x5b3b78(0x446)](_0x5ce034),'selection':_0x47e21c},_0x5c46c5=this['cursorInfo'];_0x5c46c5[_0x5b3b78(0x38f)](_0x5ce034,_0x3ec53c),this[_0x5b3b78(0x378)][_0x5b3b78(0x2b1)](_0x5c46c5);}['_onCursorDelete'](_0x57103b){const _0x3acd66=_0x1d6417,{memberID:_0x4a1021}=_0x57103b['data'],_0x40a3af=this[_0x3acd66(0x21b)];_0x40a3af[_0x3acd66(0x2be)](_0x4a1021),this[_0x3acd66(0x378)][_0x3acd66(0x2b1)](_0x40a3af);}[_0x1d6417(0x474)](_0x452488,_0x4c8b6f){const _0x3f9dc0=_0x1d6417;var _0x21a582,_0x5aae91;const _0x11cd53=(_0x5aae91=(_0x21a582=this[_0x3f9dc0(0x286)][_0x3f9dc0(0x1fa)](this['unitID']))==null?void 0x0:_0x21a582[_0x3f9dc0(0x377)](_0x452488))==null?void 0x0:_0x5aae91[_0x3f9dc0(0x1f8)]();return(_0x11cd53==null?void 0x0:_0x11cd53[_0x3f9dc0(0x466)](_0x3c2ee6=>_0x4a3224[_0x3f9dc0(0x3cd)][_0x3f9dc0(0x43e)](_0x3c2ee6,_0x4c8b6f)))||_0x4c8b6f;}['_onRefRangeChange'](){const _0x44d5cf=_0x1d6417,_0x5b5fe9=new _0x4a3224[(_0x44d5cf(0x3e7))](),_0x102ae4=_0x21f808(),_0x432c9e=()=>{const _0x1d0061=_0x44d5cf;_0x5b5fe9['dispose']();const _0x38bd35=(_0x1884c3,_0x3f6e31,_0x17af23,_0x15713d)=>{const _0x5962b5=_0x1b23;let _0x22a1ae=[];switch(_0x1884c3['id']){case _0x1eb9df['EffectRefRangId'][_0x5962b5(0x237)]:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x459)](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)]['DeleteRangeMoveUpCommandId']:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x2dd)](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)][_0x5962b5(0x219)]:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x224)](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)][_0x5962b5(0x35a)]:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x2e6)](_0x1884c3,_0x15713d);break;}case _0x1eb9df['EffectRefRangId'][_0x5962b5(0x435)]:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x1d4)](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)][_0x5962b5(0x423)]:{_0x22a1ae=_0x1eb9df['handleInsertRow'](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)]['MoveRangeCommandId']:{_0x22a1ae=_0x1eb9df['handleMoveRange'](_0x1884c3,_0x15713d);break;}case _0x1eb9df['EffectRefRangId'][_0x5962b5(0x1da)]:{_0x22a1ae=_0x1eb9df['handleIRemoveCol'](_0x1884c3,_0x15713d);break;}case _0x1eb9df[_0x5962b5(0x304)][_0x5962b5(0x3d2)]:{_0x22a1ae=_0x1eb9df[_0x5962b5(0x34b)](_0x1884c3,_0x15713d);break;}}const _0x3e58d0=_0x1eb9df[_0x5962b5(0x351)](_0x22a1ae,_0x15713d),_0x203ce7=this[_0x5962b5(0x21b)]['get'](_0x3f6e31);if(_0x203ce7&&_0x3e58d0){const _0x3c9c19={..._0x203ce7,'range':_0x3e58d0};this['cursorInfo'][_0x5962b5(0x38f)](_0x3f6e31,_0x3c9c19),_0x102ae4(()=>{const _0x5dd2ef=_0x5962b5,_0x1d5e8a=this['_refRangeService'][_0x5dd2ef(0x311)](_0x3e58d0,_0x57371e=>(_0x1d5e8a[_0x5dd2ef(0x235)](),_0x38bd35(_0x57371e,_0x3f6e31,_0x17af23,_0x3e58d0)));_0x5b5fe9[_0x5dd2ef(0x3a1)](_0x1d5e8a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1d0061(0x2ee)]((_0x5cd308,_0x14a0e8)=>{const _0x318a12=_0x1d0061,{range:_0x4ed318,sheetID:_0x2ef0d4}=_0x5cd308,_0x23f4be=this[_0x318a12(0x275)]['registerRefRange'](_0x4ed318,_0x3422ed=>(_0x23f4be['dispose'](),_0x38bd35(_0x3422ed,_0x14a0e8,_0x2ef0d4,_0x4ed318)));_0x5b5fe9['add'](_0x23f4be);});};this[_0x44d5cf(0x48c)](_0x4a3224[_0x44d5cf(0x4a1)](this[_0x44d5cf(0x378)][_0x44d5cf(0x200)](()=>{_0x432c9e();})));}[_0x1d6417(0x3af)](){const _0x2d442b=_0x1d6417;var _0x128e8c,_0x55514e;if(this[_0x2d442b(0x2b2)]=!0x0,((_0x128e8c=this[_0x2d442b(0x286)][_0x2d442b(0x3ce)]())==null?void 0x0:_0x128e8c[_0x2d442b(0x30a)]())!==this[_0x2d442b(0x212)])return;const _0x2d33e3=(_0x55514e=this[_0x2d442b(0x21a)][_0x2d442b(0x2cc)](_0x1eb9df[_0x2d442b(0x2c7)])['getCurrentSelections']())==null?void 0x0:_0x55514e[0x0],_0x55e5af=this[_0x2d442b(0x286)][_0x2d442b(0x2bb)](_0x4a3224[_0x2d442b(0x499)][_0x2d442b(0x327)])['getActiveSheet']();_0x2d33e3&&_0x55e5af&&this[_0x2d442b(0x347)](_0x55e5af[_0x2d442b(0x472)](),_0x2d33e3);}['_toggleOffline'](){const _0x511e12=_0x1d6417;this[_0x511e12(0x2b2)]=!0x1;}};_0x12742e=_0x3ce1af([_0x305087(0x2,_0x4a3224['Inject'](_0x4a3224[_0x1d6417(0x3d1)])),_0x305087(0x3,_0x4a3224['Inject'](_0x16fc83)),_0x305087(0x4,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb['MemberService'])),_0x305087(0x5,_0x4a3224[_0x1d6417(0x269)]),_0x305087(0x6,_0x4a3224[_0x1d6417(0x3e4)]),_0x305087(0x7,_0x4a3224['Inject'](_0x1eb9df[_0x1d6417(0x47d)]))],_0x12742e);var _0x1d906f=Object[_0x1d6417(0x455)],_0x123ba3=(_0x16d91d,_0x5156a2,_0x188bf2,_0x3d6f8a)=>{for(var _0x306b27=_0x3d6f8a>0x1?void 0x0:_0x3d6f8a?_0x1d906f(_0x5156a2,_0x188bf2):_0x5156a2,_0x251f29=_0x16d91d['length']-0x1,_0x4fe1a2;_0x251f29>=0x0;_0x251f29--)(_0x4fe1a2=_0x16d91d[_0x251f29])&&(_0x306b27=_0x4fe1a2(_0x306b27)||_0x306b27);return _0x306b27;},_0x52d43f=(_0x1791b5,_0x1e6e08)=>(_0x562858,_0x311ec2)=>_0x1e6e08(_0x562858,_0x311ec2,_0x1791b5);let _0xbcc260=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0x1666bd,_0xa436cd,_0x317f52){const _0xfe28d7=_0x1d6417;super(),_0x252021(this,'_entities',new Map()),_0x252021(this,'_entityInit$',new _0x1ee8dd[(_0xfe28d7(0x279))]()),(this[_0xfe28d7(0x286)]=_0x1666bd,this['_injector']=_0xa436cd,this['_collabSessionService']=_0x317f52,this[_0xfe28d7(0x412)]());}[_0x1d6417(0x235)](){const _0x1df673=_0x1d6417;super[_0x1df673(0x235)](),this['_entityInit$']['complete'](),this[_0x1df673(0x2f8)]['forEach'](_0x37d877=>_0x37d877[_0x1df673(0x235)]());}[_0x1d6417(0x3c8)](_0x440fd9){const _0x458825=_0x1d6417;return this[_0x458825(0x2f8)][_0x458825(0x433)](_0x440fd9)?this[_0x458825(0x2f8)][_0x458825(0x2cc)](_0x440fd9)[_0x458825(0x2ac)]:this[_0x458825(0x46c)]['pipe'](_0x1ee8dd[_0x458825(0x2b0)](_0x36acee=>_0x36acee[_0x458825(0x212)]===_0x440fd9),_0x1ee8dd[_0x458825(0x47b)](_0x33c08b=>_0x33c08b[_0x458825(0x2ac)]));}['_init'](){const _0x4021b4=_0x1d6417;this['_univerInstanceService'][_0x4021b4(0x1ce)](_0x4a3224[_0x4021b4(0x499)][_0x4021b4(0x327)])[_0x4021b4(0x3b2)](_0x1ee8dd[_0x4021b4(0x313)](this[_0x4021b4(0x344)]))[_0x4021b4(0x200)](async _0x37be56=>{const _0x45ba8a=_0x4021b4,_0x593cb1=_0x37be56[_0x45ba8a(0x30a)](),_0x426567=await this['_startSheetCollabCursor'](_0x593cb1);this[_0x45ba8a(0x46c)][_0x45ba8a(0x2b1)](_0x426567),this[_0x45ba8a(0x2f8)][_0x45ba8a(0x38f)](_0x593cb1,_0x426567);}),this[_0x4021b4(0x286)]['getTypeOfUnitAdded$'](_0x4a3224[_0x4021b4(0x499)][_0x4021b4(0x3e1)])[_0x4021b4(0x3b2)](_0x1ee8dd[_0x4021b4(0x313)](this[_0x4021b4(0x344)]))[_0x4021b4(0x3b2)](_0x1ee8dd['filter'](_0x1a7491=>!_0x1a7491[_0x4021b4(0x30a)]()[_0x4021b4(0x358)]('__')))[_0x4021b4(0x200)](async _0x5a1cff=>{const _0x328fe8=_0x4021b4,_0xb554e3=_0x5a1cff[_0x328fe8(0x30a)](),_0x2e8764=await this['_startDocCollabCursor'](_0xb554e3);this['_entityInit$'][_0x328fe8(0x2b1)](_0x2e8764),this[_0x328fe8(0x2f8)][_0x328fe8(0x38f)](_0xb554e3,_0x2e8764);}),_0x1ee8dd[_0x4021b4(0x360)](this[_0x4021b4(0x286)]['getTypeOfUnitDisposed$'](_0x4a3224[_0x4021b4(0x499)][_0x4021b4(0x3e1)]),this[_0x4021b4(0x286)][_0x4021b4(0x263)](_0x4a3224[_0x4021b4(0x499)][_0x4021b4(0x327)]))[_0x4021b4(0x3b2)](_0x1ee8dd[_0x4021b4(0x313)](this[_0x4021b4(0x344)]))[_0x4021b4(0x200)](_0x9aa429=>{const _0x173461=_0x4021b4,_0x53c55b=_0x9aa429[_0x173461(0x30a)](),_0x181ce3=this[_0x173461(0x2f8)]['get'](_0x53c55b);_0x181ce3&&(_0x181ce3[_0x173461(0x235)](),this['_entities'][_0x173461(0x2be)](_0x53c55b));});}async[_0x1d6417(0x310)](_0x4710c6){const _0x3f5bf3=_0x1d6417,_0x5a2e87=await this[_0x3f5bf3(0x441)][_0x3f5bf3(0x23d)](_0x4710c6),_0x254198=this[_0x3f5bf3(0x21a)][_0x3f5bf3(0x2c5)](_0x12742e,_0x4710c6,_0x5a2e87);return _0x254198[_0x3f5bf3(0x292)](),_0x254198;}async[_0x1d6417(0x228)](_0x36589f){const _0x381d99=_0x1d6417,_0x4eaf2f=await this[_0x381d99(0x441)][_0x381d99(0x23d)](_0x36589f),_0x4ebf9c=this[_0x381d99(0x21a)][_0x381d99(0x2c5)](_0x37744f,_0x36589f,_0x4eaf2f);return _0x4ebf9c[_0x381d99(0x292)](),_0x4ebf9c;}};_0xbcc260=_0x123ba3([_0x52d43f(0x0,_0x4a3224['IUniverInstanceService']),_0x52d43f(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224['Injector'])),_0x52d43f(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb[_0x1d6417(0x362)]))],_0xbcc260);const _0x1a5559=0x14,_0x208500=0xc8,_0x513c62=0x4,_0x279044=0x5;function _0x1ab709(_0x13878c,_0x34f4fc){const _0x4fdd41=_0x1d6417;let {radius:_0x2af72d,width:_0xa04e7a,height:_0x2bbfcb}=_0x34f4fc;_0x2af72d=_0x2af72d!=null?_0x2af72d:0x0,_0xa04e7a=_0xa04e7a!=null?_0xa04e7a:0x1e,_0x2bbfcb=_0x2bbfcb!=null?_0x2bbfcb:0x1e;let _0x23ae88=0x0,_0x4a479a=0x0,_0x48ec21=0x0;_0x23ae88=_0x4a479a=_0x48ec21=Math[_0x4fdd41(0x3ad)](_0x2af72d,_0xa04e7a/0x2,_0x2bbfcb/0x2),_0x13878c['beginPath'](),_0x13878c['moveTo'](_0x23ae88,0x0),_0x13878c[_0x4fdd41(0x222)](_0xa04e7a-_0x4a479a,0x0),_0x13878c[_0x4fdd41(0x3c5)](_0xa04e7a-_0x4a479a,_0x4a479a,_0x4a479a,Math['PI']*0x3/0x2,0x0,!0x1),_0x13878c['lineTo'](_0xa04e7a,_0x2bbfcb-_0x48ec21),_0x13878c[_0x4fdd41(0x3c5)](_0xa04e7a-_0x48ec21,_0x2bbfcb-_0x48ec21,_0x48ec21,0x0,Math['PI']/0x2,!0x1),_0x13878c[_0x4fdd41(0x222)](0x0,_0x2bbfcb),_0x13878c[_0x4fdd41(0x222)](0x0,_0x23ae88),_0x13878c[_0x4fdd41(0x3c5)](_0x23ae88,_0x23ae88,_0x23ae88,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13878c[_0x4fdd41(0x47e)](),_0x34f4fc[_0x4fdd41(0x408)]&&(_0x13878c[_0x4fdd41(0x31d)](),_0x13878c['fillStyle']=_0x34f4fc[_0x4fdd41(0x408)],_0x34f4fc[_0x4fdd41(0x21e)]===_0x4fdd41(0x3b7)?_0x13878c[_0x4fdd41(0x408)](_0x4fdd41(0x3b7)):_0x13878c[_0x4fdd41(0x408)](),_0x13878c[_0x4fdd41(0x3fd)]());}class _0x5bcdc5 extends _0x11b32e[_0x1d6417(0x2a3)]{constructor(_0xd5f401,_0x1f6442){const _0x48c77b=_0x1d6417;super(_0xd5f401,_0x1f6442),_0x252021(this,_0x48c77b(0x27a)),_0x252021(this,'text'),(this['color']=_0x1f6442==null?void 0x0:_0x1f6442[_0x48c77b(0x27a)],this[_0x48c77b(0x3b9)]=_0x1f6442==null?void 0x0:_0x1f6442[_0x48c77b(0x3b9)]);}static['drawWith'](_0x3fefeb,_0x4c4a40){const _0x124524=_0x1d6417,{text:_0xd0100f,color:_0x14c778}=_0x4c4a40;_0x3fefeb[_0x124524(0x31d)](),_0x3fefeb['font']=_0x124524(0x3a0);const _0x29e70c=_0x3fefeb[_0x124524(0x1d2)](_0xd0100f)['width'],_0x48a5af=Math[_0x124524(0x3ad)](_0x29e70c+0x2*_0x513c62,_0x208500);_0x1ab709(_0x3fefeb,{'height':_0x1a5559,'radius':0x4,'width':_0x48a5af,'fill':_0x14c778}),_0x3fefeb[_0x124524(0x476)]=_0x124524(0x21f);const _0x9a29ff=_0x513c62,_0x14f5c5=_0x1a5559-_0x279044,_0x2358b7=_0x208500-0x2*_0x513c62;if(_0x29e70c>_0x2358b7){let _0x5aa215='',_0x33ddd=0x0;for(const _0x15a7d6 of _0xd0100f){const _0x414f87=_0x3fefeb[_0x124524(0x1d2)](_0x15a7d6)['width'];if(_0x33ddd+_0x414f87<=_0x2358b7-_0x3fefeb[_0x124524(0x1d2)](_0x124524(0x4a5))[_0x124524(0x272)])_0x5aa215+=_0x15a7d6,_0x33ddd+=_0x414f87;else{_0x5aa215+=_0x124524(0x4a5);break;}}_0x3fefeb[_0x124524(0x40e)](_0x5aa215,_0x9a29ff,_0x14f5c5);}else _0x3fefeb[_0x124524(0x40e)](_0xd0100f,_0x9a29ff,_0x14f5c5);_0x3fefeb[_0x124524(0x3fd)]();}['_draw'](_0xa5406c){const _0x29dd5e=_0x1d6417;_0x5bcdc5[_0x29dd5e(0x3ed)](_0xa5406c,this);}}const _0x2c0ecf=_0x1d6417(0x40b),_0x515ecb=_0x1d6417(0x33b),_0x595035=_0x1d6417(0x287),_0x507716=0x6,_0x4ba138=1.5,_0x26e948=0x4,_0x4b3664=1.5,_0x881ccd=_0x1d6417(0x2d9);class _0x49ff31{constructor(_0x3b22a3,_0x202168,_0x568248,_0x53d327){const _0x53c1fb=_0x1d6417;_0x252021(this,_0x53c1fb(0x254),[]),_0x252021(this,_0x53c1fb(0x294),null),_0x252021(this,_0x53c1fb(0x432),null),_0x252021(this,'_anchorDot',null),_0x252021(this,'_hideTimer',null),_0x252021(this,_0x53c1fb(0x35f),null),(this[_0x53c1fb(0x1ea)]=_0x3b22a3,this['_scene']=_0x202168,this[_0x53c1fb(0x496)]=_0x568248,this['_document']=_0x53d327,this[_0x53c1fb(0x270)]());}set[_0x1d6417(0x2bc)](_0x3efb2a){const _0xbaaeb0=_0x1d6417;_0x3efb2a?(this[_0xbaaeb0(0x38c)]&&this[_0xbaaeb0(0x38c)]['hide'](),this[_0xbaaeb0(0x432)]&&this[_0xbaaeb0(0x432)][_0xbaaeb0(0x409)]()):(this[_0xbaaeb0(0x38c)]&&this['_anchorDot'][_0xbaaeb0(0x409)](),this['_textBubble']&&this[_0xbaaeb0(0x432)]['hide']());}[_0x1d6417(0x235)](){const _0x46276f=_0x1d6417;for(const _0x367cea of this['_shapes'])_0x367cea['dispose']();this[_0x46276f(0x432)]&&this[_0x46276f(0x432)][_0x46276f(0x235)](),this[_0x46276f(0x38c)]&&this[_0x46276f(0x38c)][_0x46276f(0x235)](),this[_0x46276f(0x294)]&&this[_0x46276f(0x294)][_0x46276f(0x235)](),this[_0x46276f(0x35f)]&&this[_0x46276f(0x35f)]();}[_0x1d6417(0x270)](){const _0x2dc5cb=_0x1d6417;var _0x1fb49d;const {_docSkeleton:_0x1a2bf5,_document:_0x1b68c1}=this,{color:_0x1a711f,name:_0x14797d,ranges:_0x46b46f}=this[_0x2dc5cb(0x1ea)],_0x340909=_0x1b68c1[_0x2dc5cb(0x460)](),{docsLeft:_0x246b6b,docsTop:_0x4978c3}=_0x340909,_0x5038d6=new _0x3ad18b[(_0x2dc5cb(0x45a))](_0x340909,_0x1a2bf5);for(const {startOffset:_0x54746c,endOffset:_0x138b16,rangeType:_0x2619ae,segmentId:_0x5af5fe,segmentPage:_0x1175a2,collapsed:_0x57e996,isActive:_0x4b5b2f}of _0x46b46f){const _0x4071e0=_0x1a2bf5[_0x2dc5cb(0x3c4)](_0x54746c,!0x0,_0x5af5fe,_0x1175a2);let _0x272feb=_0x1a2bf5[_0x2dc5cb(0x3c4)](_0x138b16,!0x0,_0x5af5fe,_0x1175a2);if(_0x272feb==null&&(_0x272feb=_0x1a2bf5[_0x2dc5cb(0x3c4)](_0x138b16-0x1,!0x1,_0x5af5fe,_0x1175a2)),_0x4b5b2f){const {contentBoxPointGroup:_0x375acf}=_0x5038d6['getRangePointData'](_0x272feb,_0x272feb);if(_0x375acf[_0x2dc5cb(0x4ad)]===0x0)continue;this[_0x2dc5cb(0x396)](_0x1a711f,_0x375acf,_0x246b6b,_0x4978c3,_0x14797d),this[_0x2dc5cb(0x35f)]=this[_0x2dc5cb(0x3aa)]();}if(_0x4071e0&&_0x272feb){if(_0x2619ae===_0x4a3224['DOC_RANGE_TYPE'][_0x2dc5cb(0x333)]){const _0x43ff80=new _0x3ad18b[(_0x2dc5cb(0x300))](_0x340909,_0x1a2bf5),{pointGroup:_0x1df271}=(_0x1fb49d=_0x43ff80[_0x2dc5cb(0x255)](_0x4071e0,_0x272feb))!=null?_0x1fb49d:{};if(_0x1df271==null||_0x1df271[_0x2dc5cb(0x4ad)]===0x0)continue;this['_drawRectRange'](_0x1a711f,_0x1df271,_0x246b6b,_0x4978c3);}else{if(!_0x57e996){const {borderBoxPointGroup:_0x2c89d2}=_0x5038d6['getRangePointData'](_0x4071e0,_0x272feb);if(_0x2c89d2[_0x2dc5cb(0x4ad)]===0x0)continue;this[_0x2dc5cb(0x232)](_0x1a711f,_0x2c89d2,_0x246b6b,_0x4978c3);}}}}}['_drawAnchor'](_0x32a7e0,_0x5ca51d,_0x3286ac,_0x4ace50,_0x1ff836){const _0x276a63=_0x1d6417,_0x4a0e63=this[_0x276a63(0x225)](_0x5ca51d),{left:_0x2d14df,top:_0x4cd65d,height:_0x8fd015}=_0x4a0e63,_0x4708fb=this['_getScale'](),_0x24457d=_0x4b3664/_0x4708fb,_0x5ab356=new _0x11b32e[(_0x276a63(0x35b))](_0x2c0ecf+_0x4a3224[_0x276a63(0x226)](_0x507716),{'left':_0x2d14df+_0x3286ac-_0x24457d,'top':_0x4cd65d+_0x4ace50,'height':_0x8fd015,'width':_0x4ba138,'fill':_0x32a7e0||_0x11b32e['getColor'](_0x4a3224['COLORS'][_0x276a63(0x42d)],0x0),'strokeWidth':_0x24457d,'stroke':_0x881ccd,'evented':!0x0});this[_0x276a63(0x294)]=_0x5ab356,this['_scene'][_0x276a63(0x37b)](_0x5ab356,_0x3ad18b[_0x276a63(0x38d)]);const _0x189df3=new _0x11b32e[(_0x276a63(0x35b))](_0x2c0ecf+_0x4a3224[_0x276a63(0x226)](_0x507716),{'left':_0x2d14df+_0x3286ac-_0x24457d,'top':_0x4cd65d+_0x4ace50-_0x26e948/0x2,'height':_0x26e948,'width':_0x26e948,'fill':_0x32a7e0||_0x11b32e[_0x276a63(0x29b)](_0x4a3224['COLORS'][_0x276a63(0x42d)],0x0),'strokeWidth':0x0,'stroke':_0x32a7e0||_0x11b32e[_0x276a63(0x29b)](_0x4a3224['COLORS']['black'],0x0),'evented':!0x1});this[_0x276a63(0x38c)]=_0x189df3,this[_0x276a63(0x4a0)]['addObject'](_0x189df3,_0x3ad18b[_0x276a63(0x38d)]);const _0x2dce16=new _0x5bcdc5(_0x2c0ecf+_0x4a3224[_0x276a63(0x226)](_0x507716),{'left':_0x2d14df+_0x3286ac-_0x24457d,'top':_0x4cd65d+_0x4ace50-_0x1a5559,'text':_0x1ff836,'color':_0x32a7e0});this[_0x276a63(0x432)]=_0x2dce16,this[_0x276a63(0x4a0)][_0x276a63(0x37b)](_0x2dce16,_0x3ad18b['TEXT_RANGE_LAYER_INDEX']),this[_0x276a63(0x2bc)]=!0x1;}[_0x1d6417(0x3aa)](){const _0x5ba411=_0x1d6417,_0x209bb5=this[_0x5ba411(0x294)]['onPointerEnter$'][_0x5ba411(0x37c)](()=>{const _0x440f34=_0x5ba411;this[_0x440f34(0x2bc)]=!0x0;}),_0xe46d2b=this[_0x5ba411(0x294)][_0x5ba411(0x3bb)][_0x5ba411(0x37c)](()=>{const _0x3b9982=_0x5ba411;this[_0x3b9982(0x216)]&&clearTimeout(this[_0x3b9982(0x216)]),this[_0x3b9982(0x216)]=setTimeout(()=>{const _0x205c64=_0x3b9982;this[_0x205c64(0x2bc)]=!0x1;},0x7d0);});return()=>{const _0xe8e299=_0x5ba411;_0x209bb5['unsubscribe'](),_0xe46d2b[_0xe8e299(0x3f1)]();};}[_0x1d6417(0x232)](_0x4ae482,_0x155f72,_0x3809c6,_0x177500){const _0x30428b=_0x1d6417,_0x5a8512=new _0x4a3224[(_0x30428b(0x376))](_0x4ae482)[_0x30428b(0x285)](0.2)[_0x30428b(0x2a9)](),_0x3dbae4=new _0x11b32e[(_0x30428b(0x28c))](_0x515ecb+_0x4a3224[_0x30428b(0x226)](_0x507716),{'pointsGroup':_0x155f72,'fill':_0x5a8512||_0x11b32e[_0x30428b(0x29b)](_0x4a3224[_0x30428b(0x387)][_0x30428b(0x42d)],0.2),'left':_0x3809c6,'top':_0x177500,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x30428b(0x2ce)](_0x3dbae4),this['_scene'][_0x30428b(0x37b)](_0x3dbae4,_0x3ad18b[_0x30428b(0x38d)]);}[_0x1d6417(0x382)](_0x2e8ea0,_0x55587e,_0x27e698,_0x3b3f8a){const _0x3c5e71=_0x1d6417,_0x55718e=new _0x4a3224['ColorKit'](_0x2e8ea0)[_0x3c5e71(0x285)](0.2)[_0x3c5e71(0x2a9)](),_0x5d3877=new _0x11b32e[(_0x3c5e71(0x28c))](_0x595035+_0x4a3224[_0x3c5e71(0x226)](_0x507716),{'pointsGroup':_0x55587e,'fill':_0x55718e||_0x11b32e[_0x3c5e71(0x29b)](_0x4a3224[_0x3c5e71(0x387)][_0x3c5e71(0x42d)],0.2),'left':_0x27e698,'top':_0x3b3f8a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3c5e71(0x2ce)](_0x5d3877),this[_0x3c5e71(0x4a0)][_0x3c5e71(0x37b)](_0x5d3877,_0x3ad18b[_0x3c5e71(0x38d)]);}[_0x1d6417(0x225)](_0xd9b5c5){const _0x43429c=_0xd9b5c5[0x0],_0x546a03=_0x43429c[0x0],_0x1769f9=_0x43429c[0x2],{x:_0x2db497,y:_0x15c76b}=_0x546a03,{x:_0x35573c,y:_0xfa0628}=_0x1769f9;return{'left':_0x2db497,'top':_0x15c76b,'width':_0x35573c-_0x2db497,'height':_0xfa0628-_0x15c76b};}[_0x1d6417(0x315)](){const _0x1d7826=_0x1d6417,{scaleX:_0x304a38,scaleY:_0x46f490}=this[_0x1d7826(0x4a0)][_0x1d7826(0x265)]();return Math[_0x1d7826(0x1fc)](_0x304a38,_0x46f490);}}var _0x2dc43d=Object['getOwnPropertyDescriptor'],_0x452f4c=(_0x16be1e,_0x539010,_0x229b72,_0x502582)=>{const _0x23de5f=_0x1d6417;for(var _0xe1b8f2=_0x502582>0x1?void 0x0:_0x502582?_0x2dc43d(_0x539010,_0x229b72):_0x539010,_0x60bfb9=_0x16be1e[_0x23de5f(0x4ad)]-0x1,_0x2b1fdc;_0x60bfb9>=0x0;_0x60bfb9--)(_0x2b1fdc=_0x16be1e[_0x60bfb9])&&(_0xe1b8f2=_0x2b1fdc(_0xe1b8f2)||_0xe1b8f2);return _0xe1b8f2;},_0x562e8c=(_0x295446,_0x40ea62)=>(_0x58121a,_0x24d95c)=>_0x40ea62(_0x58121a,_0x24d95c,_0x295446);let _0x499386=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0x481569,_0x3a56d5,_0x41f9ff,_0x220edb,_0x23f7eb){const _0x56899e=_0x1d6417;super(),_0x252021(this,'_cursorShapes',[]),_0x252021(this,_0x56899e(0x2a2),[]),(this[_0x56899e(0x384)]=_0x481569,this[_0x56899e(0x449)]=_0x3a56d5,this[_0x56899e(0x325)]=_0x41f9ff,this[_0x56899e(0x361)]=_0x220edb,this[_0x56899e(0x463)]=_0x23f7eb,this[_0x56899e(0x412)]());}[_0x1d6417(0x412)](){const _0xc7df34=_0x1d6417,_0x518591=this[_0xc7df34(0x384)][_0xc7df34(0x487)],_0xb8f93=this[_0xc7df34(0x449)];this[_0xc7df34(0x48c)](_0x1ee8dd[_0xc7df34(0x39a)]([this[_0xc7df34(0x325)][_0xc7df34(0x3c8)](_0x518591),this['_themeService'][_0xc7df34(0x24f)]])['pipe'](_0x417540[_0xc7df34(0x35e)](([_0x1911fc,_0x4727bb])=>({'skeleton':_0xb8f93[_0xc7df34(0x2fc)](),'cursors':[..._0x1911fc[_0xc7df34(0x23b)]()][_0xc7df34(0x207)](_0x11e4af=>({..._0x11e4af,'color':this[_0xc7df34(0x463)][_0xc7df34(0x288)](_0x11e4af[_0xc7df34(0x27a)])}))})))[_0xc7df34(0x200)](_0x4477a1=>{const _0x4d0144=_0xc7df34;if(this[_0x4d0144(0x242)](),_0x4477a1){const {skeleton:_0x2ab866,cursors:_0x5ee387}=_0x4477a1;this[_0x4d0144(0x38b)](_0x2ab866,_0x5ee387);}})),this[_0xc7df34(0x323)](),this[_0xc7df34(0x462)]();}['_updateCollabCursors'](_0xc33a63,_0x333b4d){const _0x26c409=_0x1d6417,{scene:_0xedec67,mainComponent:_0x4b09a0}=this['_context'],_0x5d4ec8=_0x333b4d['map'](_0x1e2aca=>new _0x49ff31(_0x1e2aca,_0xedec67,_0xc33a63,_0x4b09a0));this[_0x26c409(0x21c)]=_0x5d4ec8,this[_0x26c409(0x2a2)]=_0x333b4d;}['_refreshCollabCursors'](){const _0x40c0e5=_0x1d6417;this['_removeCollabCursors']();const {scene:_0x45528f,mainComponent:_0x5ce6e9}=this['_context'],_0x187d57=this['_docSkeletonManagerService']['getSkeleton'](),_0x54b744=this[_0x40c0e5(0x2a2)]['map'](_0x50bf8a=>new _0x49ff31(_0x50bf8a,_0x45528f,_0x187d57,_0x5ce6e9));this[_0x40c0e5(0x21c)]=_0x54b744;}[_0x1d6417(0x242)](){const _0x56a2f7=_0x1d6417;this[_0x56a2f7(0x21c)][_0x56a2f7(0x2ee)](_0x142a49=>_0x142a49[_0x56a2f7(0x235)]()),this['_cursorShapes']=[];}[_0x1d6417(0x462)](){const _0x484b7a=_0x1d6417,_0x4f9d57=[_0x3ad18b[_0x484b7a(0x44a)]['id']];this[_0x484b7a(0x48c)](this['_commandService'][_0x484b7a(0x3d5)](_0x14cf51=>{const _0x5cd3ce=_0x484b7a;_0x4f9d57['includes'](_0x14cf51['id'])&&_0x14cf51['params'][_0x5cd3ce(0x487)]===this[_0x5cd3ce(0x384)][_0x5cd3ce(0x487)]&&this[_0x5cd3ce(0x395)]();}));}[_0x1d6417(0x323)](){const _0x5d2d44=_0x1d6417;this[_0x5d2d44(0x48c)](_0x4a3224['fromEventSubject'](this[_0x5d2d44(0x384)][_0x5d2d44(0x2de)]['onTransformChange$'])[_0x5d2d44(0x3b2)](_0x417540[_0x5d2d44(0x2b0)](_0x5c70f1=>_0x5c70f1[_0x5d2d44(0x234)]===_0x11b32e[_0x5d2d44(0x25a)][_0x5d2d44(0x302)]),_0x417540[_0x5d2d44(0x2b3)](0x10))[_0x5d2d44(0x200)](()=>{const _0x4872a6=_0x5d2d44;this[_0x4872a6(0x395)]();}));}};_0x499386=_0x452f4c([_0x562e8c(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x387c9e[_0x1d6417(0x45e)])),_0x562e8c(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0xbcc260)),_0x562e8c(0x3,_0x4a3224['ICommandService']),_0x562e8c(0x4,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224['ThemeService']))],_0x499386);const _0x1c2d5a=0x1,_0x4451f9=1.5;class _0x96abfc extends _0x11b32e[_0x1d6417(0x2a3)]{constructor(_0x2a7094,_0x4b5dd1){const _0x2814dd=_0x1d6417;super(_0x2a7094,_0x4b5dd1),_0x252021(this,_0x2814dd(0x33d)),_0x252021(this,'_hovered',!0x1),_0x252021(this,_0x2814dd(0x426)),_0x252021(this,'_name',''),_0x252021(this,_0x2814dd(0x2fd),_0x2814dd(0x27e)),_0x252021(this,_0x2814dd(0x260)),(_0x4b5dd1&&this[_0x2814dd(0x456)](_0x4b5dd1),this[_0x2814dd(0x2c6)][_0x2814dd(0x37c)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2814dd(0x3bb)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x1d6417(0x456)](_0x599c6c){const _0x30c06a=_0x1d6417;var _0x53c5c0,_0x26425c,_0x1cb275,_0x430a84,_0x35cb21,_0x5ce15a;this[_0x30c06a(0x33d)]=(_0x53c5c0=_0x599c6c['color'])!=null?_0x53c5c0:this[_0x30c06a(0x33d)],this[_0x30c06a(0x482)]=(_0x26425c=_0x599c6c[_0x30c06a(0x330)])!=null?_0x26425c:this[_0x30c06a(0x482)],this[_0x30c06a(0x426)]=(_0x1cb275=_0x599c6c['range'])!=null?_0x1cb275:this[_0x30c06a(0x426)],this['_name']=(_0x430a84=_0x599c6c[_0x30c06a(0x46f)])!=null?_0x430a84:this[_0x30c06a(0x3b0)],this['_labelPosition']=(_0x35cb21=_0x599c6c[_0x30c06a(0x354)])!=null?_0x35cb21:this['_labelPosition'],this['_backgroundColor']=(_0x5ce15a=_0x599c6c['backgroundColor'])!=null?_0x5ce15a:this[_0x30c06a(0x260)],this[_0x30c06a(0x21d)]({'width':_0x599c6c['width'],'height':_0x599c6c['height']});}[_0x1d6417(0x2eb)](_0x4366cc){const _0x1ae859=_0x1d6417,{row:_0x39429e,column:_0xe0af7}=_0x4366cc;if(_0x39429e>=this[_0x1ae859(0x426)][_0x1ae859(0x45b)]&&_0x39429e<=this[_0x1ae859(0x426)][_0x1ae859(0x483)]&&_0xe0af7>=this[_0x1ae859(0x426)][_0x1ae859(0x252)]&&_0xe0af7<=this[_0x1ae859(0x426)][_0x1ae859(0x2c3)]){this[_0x1ae859(0x456)]({'hovered':!0x0});return;}this[_0x1ae859(0x456)]({'hovered':!0x1});}['triggerDblclick'](_0x287eeb){return!0x1;}[_0x1d6417(0x41b)](_0x900114){const _0x49e70f=_0x1d6417;_0x11b32e[_0x49e70f(0x35b)][_0x49e70f(0x3ed)](_0x900114,{'width':this[_0x49e70f(0x272)],'height':this[_0x49e70f(0x262)],'strokeWidth':_0x4451f9,'stroke':this[_0x49e70f(0x33d)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x900114['save'](),_0x900114['transform'](0x1,0x0,0x0,0x1,this[_0x49e70f(0x272)],this['_labelPosition']===_0x49e70f(0x4a2)?0x0:-_0x1a5559),_0x5bcdc5[_0x49e70f(0x3ed)](_0x900114,{'text':this[_0x49e70f(0x3b0)],'color':this[_0x49e70f(0x33d)]}),_0x900114['restore']());}}var _0x3e3184=Object['getOwnPropertyDescriptor'],_0x40ac69=(_0x375a6c,_0x5b68d2,_0x1446a4,_0x272c01)=>{for(var _0x4e3dbb=_0x272c01>0x1?void 0x0:_0x272c01?_0x3e3184(_0x5b68d2,_0x1446a4):_0x5b68d2,_0x2df109=_0x375a6c['length']-0x1,_0x27e5c8;_0x2df109>=0x0;_0x2df109--)(_0x27e5c8=_0x375a6c[_0x2df109])&&(_0x4e3dbb=_0x27e5c8(_0x4e3dbb)||_0x4e3dbb);return _0x4e3dbb;},_0x5e4a7=(_0x5771e1,_0x322285)=>(_0x168e41,_0x4875c2)=>_0x322285(_0x168e41,_0x4875c2,_0x5771e1);const _0x3bebd3=0x1389;let _0x131f4b=class extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(_0x51d96d,_0x4bff1a,_0x4cf0f4,_0x35ae7f){const _0x3c5ae9=_0x1d6417;super(),_0x252021(this,_0x3c5ae9(0x2a2),new Set()),_0x252021(this,_0x3c5ae9(0x465),null),(this['_context']=_0x51d96d,this[_0x3c5ae9(0x23a)]=_0x4bff1a,this[_0x3c5ae9(0x325)]=_0x4cf0f4,this[_0x3c5ae9(0x463)]=_0x35ae7f,this[_0x3c5ae9(0x412)]());}[_0x1d6417(0x412)](){const _0x2ce3b4=_0x1d6417;this['_sheetSkeletonManagerService'][_0x2ce3b4(0x1d0)][_0x2ce3b4(0x3b2)](_0x417540['takeUntil'](this[_0x2ce3b4(0x344)]),_0x417540[_0x2ce3b4(0x47b)](_0x5c9643=>{const _0x3e3318=_0x2ce3b4;if(_0x5c9643){const _0x2c073a=_0x5c9643['sheetId'];return _0x1ee8dd[_0x3e3318(0x39a)](this[_0x3e3318(0x325)]['getCollabCursors$'](this['_context'][_0x3e3318(0x487)]),this[_0x3e3318(0x463)][_0x3e3318(0x24f)])[_0x3e3318(0x3b2)](_0x417540[_0x3e3318(0x35e)](([_0x3551f4,_0x2e1d6b])=>{const _0x25b9a5=_0x3e3318,_0x41226e=new Map();return _0x3551f4[_0x25b9a5(0x2ee)]((_0x55df76,_0x49019d)=>{const _0x623cf2=_0x25b9a5;if(_0x55df76[_0x623cf2(0x445)]===_0x2c073a){const _0x10fb83={..._0x55df76};_0x10fb83[_0x623cf2(0x27a)]=this['_themeService'][_0x623cf2(0x288)](_0x55df76[_0x623cf2(0x27a)]),_0x41226e[_0x623cf2(0x38f)](_0x49019d,_0x10fb83);}}),{'skeleton':_0x5c9643,'cursors':_0x41226e};}));}return _0x1ee8dd['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3a6bc2,cursors:_0x3e1ad2})=>{const _0x320601=_0x2ce3b4;this[_0x320601(0x242)](),_0x3a6bc2&&this[_0x320601(0x38b)](_0x3a6bc2,_0x3e1ad2);}),this['_sheetSkeletonManagerService'][_0x2ce3b4(0x1d0)]['subscribe'](_0x487985=>{const _0x4c6dab=_0x2ce3b4;if(_0x487985==null)return;const {skeleton:_0x14c29a}=_0x487985,{scene:_0xbceb07}=this[_0x4c6dab(0x384)];_0xbceb07[_0x4c6dab(0x3b4)][_0x4c6dab(0x37c)](_0x4a3224[_0x4c6dab(0x29a)](_0x84adc9=>{const _0x1df265=_0x4c6dab;var _0x13aaf1,_0x817a88;const {offsetX:_0x555436,offsetY:_0x366bc6}=_0x84adc9,{x:_0x4ab9a5,y:_0x787e31}=_0xbceb07[_0x1df265(0x20f)](_0x11b32e[_0x1df265(0x368)][_0x1df265(0x391)]([_0x555436,_0x366bc6])),{scaleX:_0x25c52c,scaleY:_0x4cfd89}=_0xbceb07[_0x1df265(0x265)](),_0x89466f=_0xbceb07['getViewport'](_0x11b32e[_0x1df265(0x40f)][_0x1df265(0x42e)]),_0x3b36df=_0xbceb07[_0x1df265(0x3f7)](_0x11b32e[_0x1df265(0x368)][_0x1df265(0x391)]([_0x4ab9a5,_0x787e31]),_0x89466f),_0x380f95=_0x14c29a[_0x1df265(0x3d0)](_0x555436,_0x366bc6,_0x25c52c,_0x4cfd89,_0x3b36df);((_0x13aaf1=this[_0x1df265(0x465)])==null?void 0x0:_0x13aaf1[_0x1df265(0x2a5)])===_0x380f95[_0x1df265(0x2a5)]&&((_0x817a88=this[_0x1df265(0x465)])==null?void 0x0:_0x817a88['row'])===_0x380f95[_0x1df265(0x240)]||this['_cursors'][_0x1df265(0x2ee)](_0x311ee0=>{_0x311ee0['onMouseMove'](_0x380f95);});},0x64));});}['_updateCollabCursors'](_0xda34ef,_0x28eb6d){const _0x51f2cf=_0x1d6417;var _0x315bfd;const _0x78bcfc=(_0x315bfd=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x315bfd[_0x51f2cf(0x250)];if(!_0x78bcfc)return;const _0x141e4b=this[_0x51f2cf(0x48a)]();if(!_0x141e4b)return;this[_0x51f2cf(0x2a2)]['forEach'](_0x2e08da=>{const _0x2d80e8=_0x51f2cf;_0x2e08da[_0x2d80e8(0x420)]();});const {scene:_0x2f49d3}=_0x141e4b,_0x1c24fc=_0x26ee74(Array[_0x51f2cf(0x209)](_0x28eb6d[_0x51f2cf(0x23b)]()))['map'](_0x187b46=>{const _0x17d643=_0x51f2cf,{color:_0x1fc7e7,range:_0x401cc5,name:_0x13f1d2,selection:_0x74bc7,sheetID:_0x40b0a0}=_0x187b46,{startColumn:_0x276433,startRow:_0x1d4fb2,endColumn:_0x532237,endRow:_0x31348e}=_0x401cc5,_0xeba8fd=_0x3a85e2['getCoordByCell'](_0x1d4fb2,_0x276433,_0x2f49d3,_0x78bcfc),_0x282c4a=_0x3a85e2[_0x17d643(0x363)](_0x31348e,_0x532237,_0x2f49d3,_0x78bcfc),{columnHeaderHeightAndMarginTop:_0x1cbdff}=_0x78bcfc,{startX:_0x436c48,startY:_0x27f394}=_0xeba8fd,{endX:_0xc8cc7e,endY:_0x11aa4a}=_0x282c4a,_0xaff424=_0xc8cc7e-_0x436c48,_0x3635c6=_0x11aa4a-_0x27f394,_0x471270={'labelPosition':_0x27f394-_0x1cbdff>=_0x1a5559?_0x17d643(0x27e):_0x17d643(0x4a2),'sheetID':_0x40b0a0,'range':_0x401cc5,'color':_0x1fc7e7,'name':_0x13f1d2,'selection':_0x74bc7,'left':_0x436c48,'top':_0x27f394,'width':_0xaff424,'height':_0x3635c6,'evented':!0x1,'zIndex':_0x3bebd3};return new _0x96abfc(_0x13f1d2,_0x471270);});_0x2f49d3[_0x51f2cf(0x1de)](_0x1c24fc,_0x1c2d5a),this[_0x51f2cf(0x2a2)]=new Set(_0x1c24fc);}[_0x1d6417(0x242)](){const _0x18efae=_0x1d6417;var _0x188668;(_0x188668=this[_0x18efae(0x2a2)])==null||_0x188668['forEach'](_0x351f5e=>_0x351f5e['dispose']());}['_getSheetObject'](){const _0x4fb4b5=_0x1d6417;return _0x3a85e2['getSheetObject'](this['_context']['unit'],this[_0x4fb4b5(0x384)]);}};_0x131f4b=_0x40ac69([_0x5e4a7(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x3a85e2[_0x1d6417(0x370)])),_0x5e4a7(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0xbcc260)),_0x5e4a7(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x20b)]))],_0x131f4b);function _0x26ee74(_0x4ef005){const _0xd37adf=_0x1d6417,_0x50d65b=new Map();return _0x4ef005[_0xd37adf(0x2ee)](_0x56a0fe=>{const _0x1cf464=_0xd37adf;if(_0x50d65b[_0x1cf464(0x433)](_0x56a0fe['selection'])){const _0x58fb4d=_0x50d65b[_0x1cf464(0x2cc)](_0x56a0fe[_0x1cf464(0x32c)]);_0x58fb4d[_0x1cf464(0x46f)]+=',\x20'+_0x56a0fe[_0x1cf464(0x46f)];}else _0x50d65b[_0x1cf464(0x38f)](_0x56a0fe[_0x1cf464(0x32c)],_0x56a0fe);}),Array[_0xd37adf(0x209)](_0x50d65b[_0xd37adf(0x23b)]());}var _0x47fd18=Object[_0x1d6417(0x455)],_0x4a0530=(_0x3d9d6a,_0x33eeef,_0x57d6f4,_0x54b1ad)=>{const _0x341aff=_0x1d6417;for(var _0x330c0a=_0x54b1ad>0x1?void 0x0:_0x54b1ad?_0x47fd18(_0x33eeef,_0x57d6f4):_0x33eeef,_0x262211=_0x3d9d6a[_0x341aff(0x4ad)]-0x1,_0x3557ad;_0x262211>=0x0;_0x262211--)(_0x3557ad=_0x3d9d6a[_0x262211])&&(_0x330c0a=_0x3557ad(_0x330c0a)||_0x330c0a);return _0x330c0a;},_0x2f8052=(_0x16dd2d,_0x110e1d)=>(_0x595d6c,_0x7d649c)=>_0x110e1d(_0x595d6c,_0x7d649c,_0x16dd2d);let _0x785c72=class extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(_0x308eab,_0x526332,_0x235214,_0x174806,_0x4f263a,_0x2410c1){const _0x8893c6=_0x1d6417;super(),this[_0x8893c6(0x4a4)]=_0x308eab,this[_0x8893c6(0x22b)]=_0x526332,this[_0x8893c6(0x20a)]=_0x235214,this[_0x8893c6(0x497)]=_0x174806,this[_0x8893c6(0x230)]=_0x4f263a,this[_0x8893c6(0x488)]=_0x2410c1,this['_setupBeforeClosingHandler'](),this[_0x8893c6(0x24c)]();}[_0x1d6417(0x3cc)](){const _0x5b447b=_0x1d6417;this[_0x5b447b(0x48c)](this[_0x5b447b(0x4a4)][_0x5b447b(0x2b5)](()=>{const _0x310d29=_0x5b447b;if(this[_0x310d29(0x22b)][_0x310d29(0x32e)]['size'])return this[_0x310d29(0x488)]['t'](_0x310d29(0x364));}));}[_0x1d6417(0x24c)](){const _0x283d1d=_0x1d6417;this[_0x283d1d(0x48c)](this[_0x283d1d(0x20a)][_0x283d1d(0x278)][_0x283d1d(0x200)](_0x26c51f=>{const _0x2b5d6e=_0x283d1d;_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)]['OTHER_CLIENT_EDITING']&&this[_0x2b5d6e(0x497)][_0x2b5d6e(0x409)]({'type':_0x22ad6a['MessageType'][_0x2b5d6e(0x413)],'content':this[_0x2b5d6e(0x488)]['t'](_0x2b5d6e(0x1f7))}),_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)]['CLOSE_ROOM']&&this[_0x2b5d6e(0x497)][_0x2b5d6e(0x409)]({'type':_0x22ad6a[_0x2b5d6e(0x297)]['Warning'],'content':this[_0x2b5d6e(0x488)]['t']('collaboration.closeRoom')}),_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)][_0x2b5d6e(0x1e6)]&&this[_0x2b5d6e(0x230)]['show']({'title':this[_0x2b5d6e(0x488)]['t'](_0x2b5d6e(0x404)),'content':this[_0x2b5d6e(0x488)]['t'](_0x2b5d6e(0x356)),'type':_0x2b5d6e(0x44e),'duration':0x0}),_0x26c51f['id']===_0x11a8fb['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x2b5d6e(0x409)]({'type':_0x22ad6a[_0x2b5d6e(0x297)][_0x2b5d6e(0x246)],'content':this['_localeService']['t'](_0x2b5d6e(0x329))+'('+_0x26c51f[_0x2b5d6e(0x27b)]+')'}),_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)]['JOIN_ROOM_FAILED']&&this[_0x2b5d6e(0x497)][_0x2b5d6e(0x409)]({'type':_0x22ad6a[_0x2b5d6e(0x297)][_0x2b5d6e(0x413)],'content':this[_0x2b5d6e(0x488)]['t'](_0x26c51f[_0x2b5d6e(0x27b)]||'')}),_0x26c51f['id']===_0x11a8fb['CollaborationUIEventId'][_0x2b5d6e(0x340)]&&this['_messageService']['show']({'type':_0x22ad6a[_0x2b5d6e(0x297)][_0x2b5d6e(0x413)],'content':this[_0x2b5d6e(0x488)]['t'](_0x2b5d6e(0x2e5))}),_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)][_0x2b5d6e(0x405)]&&this[_0x2b5d6e(0x497)][_0x2b5d6e(0x409)]({'type':_0x22ad6a[_0x2b5d6e(0x297)][_0x2b5d6e(0x246)],'content':this['_localeService']['t'](_0x2b5d6e(0x204))}),_0x26c51f['id']===_0x11a8fb[_0x2b5d6e(0x213)][_0x2b5d6e(0x29e)]&&this[_0x2b5d6e(0x497)]['show']({'type':_0x22ad6a[_0x2b5d6e(0x297)]['Error'],'content':this[_0x2b5d6e(0x488)]['t'](_0x2b5d6e(0x2ed))});}));}};_0x785c72=_0x4a0530([_0x2f8052(0x0,_0x3f1baa[_0x1d6417(0x28a)]),_0x2f8052(0x1,_0x11a8fb['ILocalCacheService']),_0x2f8052(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb[_0x1d6417(0x29d)])),_0x2f8052(0x3,_0x3f1baa[_0x1d6417(0x1db)]),_0x2f8052(0x4,_0x3f1baa['INotificationService']),_0x2f8052(0x5,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x2ea)]))],_0x785c72);var _0x2d9ac7=Object[_0x1d6417(0x455)],_0x3c8dfa=(_0xb552ae,_0x604870,_0x45de63,_0xca2c9b)=>{const _0x50c88b=_0x1d6417;for(var _0x25d0bd=_0xca2c9b>0x1?void 0x0:_0xca2c9b?_0x2d9ac7(_0x604870,_0x45de63):_0x604870,_0x20d2c2=_0xb552ae[_0x50c88b(0x4ad)]-0x1,_0x36a3df;_0x20d2c2>=0x0;_0x20d2c2--)(_0x36a3df=_0xb552ae[_0x20d2c2])&&(_0x25d0bd=_0x36a3df(_0x25d0bd)||_0x25d0bd);return _0x25d0bd;},_0x53d24e=(_0x486211,_0x33c7c0)=>(_0x2fade8,_0x121b87)=>_0x33c7c0(_0x2fade8,_0x121b87,_0x486211);let _0x23851b=class extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(_0x477c09,_0x248448,_0x2cfbfa,_0x151415){const _0x1b8849=_0x1d6417;super(),_0x252021(this,'_memberID'),(this[_0x1b8849(0x21a)]=_0x477c09,this[_0x1b8849(0x46e)]=_0x248448,this[_0x1b8849(0x419)]=_0x2cfbfa,this['_collaborationSessionService']=_0x151415,this['_init']());}[_0x1d6417(0x412)](){const _0x239b4e=_0x1d6417;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x239b4e(0x43c)]();}['_initUserListener'](){const _0x1807d9=_0x1d6417;this[_0x1807d9(0x48c)](this[_0x1807d9(0x352)][_0x1807d9(0x266)]['subscribe'](_0x4f58df=>{const _0xf8ace7=_0x1807d9;this[_0xf8ace7(0x201)]=_0x4f58df==null?void 0x0:_0x4f58df['memberID'];}));}[_0x1d6417(0x34f)](){const _0x4e8148=_0x1d6417,_0xea3a8d=_0x3f01e7=>{const _0x62b681=_0x1b23;var _0xee2d7e;this[_0x62b681(0x3b8)](_0x62b681(0x44e),_0x62b681(0x308)+_0x3f01e7[_0x62b681(0x1c7)]+_0x62b681(0x41e)+_0x3f01e7[_0x62b681(0x22d)]+':'+_0x3f01e7['lineno']+':'+_0x3f01e7['colno']+'\x0a'+(((_0xee2d7e=_0x3f01e7[_0x62b681(0x44e)])==null?void 0x0:_0xee2d7e['stack'])||''));};window[_0x4e8148(0x1ff)](_0x4e8148(0x44e),_0xea3a8d),this[_0x4e8148(0x48c)](()=>{const _0x1267e1=_0x4e8148;window[_0x1267e1(0x372)](_0x1267e1(0x44e),_0xea3a8d);});}[_0x1d6417(0x273)](){const _0x557014=_0x1d6417,_0xb27f67=_0x72e81c=>{const _0x4472fc=_0x1b23;this['_uploadLog']('error','[Unhandled\x20Rejection]:\x20'+_0x72e81c[_0x4472fc(0x2fe)]);};window[_0x557014(0x1ff)](_0x557014(0x229),_0xb27f67),this[_0x557014(0x48c)](()=>{const _0x68778a=_0x557014;window[_0x68778a(0x372)](_0x68778a(0x229),_0xb27f67);});}[_0x1d6417(0x457)](){const _0x86cee6=_0x1d6417,_0x271e0d=this[_0x86cee6(0x419)]['error'][_0x86cee6(0x346)](this[_0x86cee6(0x419)]);this[_0x86cee6(0x419)][_0x86cee6(0x44e)]=(..._0x5d5e66)=>{const _0x54e5ea=_0x86cee6,_0xbd8483=_0x5d5e66['map'](_0x1b0129=>_0x1b0129 instanceof Error?_0x1b0129[_0x54e5ea(0x1c7)]+'\x0a'+_0x1b0129[_0x54e5ea(0x26a)]:String(_0x1b0129))[_0x54e5ea(0x3c1)]('\x20');this[_0x54e5ea(0x3b8)](_0x54e5ea(0x44e),_0x54e5ea(0x375)+_0xbd8483),_0x271e0d(..._0x5d5e66);},this[_0x86cee6(0x48c)](()=>{const _0x2395dd=_0x86cee6;this[_0x2395dd(0x419)]['error']=_0x271e0d;});}['_uploadLog'](_0x13332d,_0x232f99){const _0x8bab21=_0x1d6417;try{const _0x30c97d={'userId':this[_0x8bab21(0x201)],'logLabel':_0x13332d,'content':_0x232f99};this[_0x8bab21(0x46e)][_0x8bab21(0x2c1)](_0x8bab21(0x1e9),{'body':_0x30c97d})[_0x8bab21(0x495)](()=>{});}catch{}}};_0x23851b=_0x3c8dfa([_0x53d24e(0x0,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x3d1)])),_0x53d24e(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x199a1e['HTTPService'])),_0x53d24e(0x2,_0x4a3224[_0x1d6417(0x29c)]),_0x53d24e(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb[_0x1d6417(0x362)]))],_0x23851b);const _0x333031=_0x1d6417(0x2cf),_0x4225d2={};var _0x461437=Object['getOwnPropertyDescriptor'],_0x482495=(_0x37dfc0,_0x488df7,_0x66b38a,_0x41042e)=>{const _0x578109=_0x1d6417;for(var _0x423286=_0x41042e>0x1?void 0x0:_0x41042e?_0x461437(_0x488df7,_0x66b38a):_0x488df7,_0x5eb96b=_0x37dfc0[_0x578109(0x4ad)]-0x1,_0x34a182;_0x5eb96b>=0x0;_0x5eb96b--)(_0x34a182=_0x37dfc0[_0x5eb96b])&&(_0x423286=_0x34a182(_0x423286)||_0x423286);return _0x423286;},_0x78fce6=(_0x4efa56,_0x11fd88)=>(_0x541ff4,_0x42dad8)=>_0x11fd88(_0x541ff4,_0x42dad8,_0x4efa56);let _0x4bfa20=class{constructor(_0x479957,_0x29678c){const _0x213f20=_0x1d6417;this['_transformService']=_0x479957,this[_0x213f20(0x3bd)]=_0x29678c;}[_0x1d6417(0x3d3)](_0x3559a3){this['_transformUndoRedoStack'](_0x3559a3),this['_transformPreviousActiveRange'](_0x3559a3);}['transformRemoteChangeset'](_0x535c0d){const _0xb6de08=_0x1d6417,{unitID:_0x5dbd57}=_0x535c0d,_0x1a35b3=this[_0xb6de08(0x3bd)][_0xb6de08(0x332)](_0x5dbd57)[_0xb6de08(0x49c)](_0x3ad18b[_0xb6de08(0x2d1)]),{redoCache:_0x47609a}=_0x1a35b3[_0xb6de08(0x24e)]();if(_0x47609a[_0xb6de08(0x4ad)]===0x0)return _0x535c0d;let _0x3dff87=_0x4a3224[_0xb6de08(0x227)][_0xb6de08(0x233)](_0x535c0d[_0xb6de08(0x221)][0x0]);for(let _0x36173b=0x0;_0x36173b<_0x47609a[_0xb6de08(0x4ad)];_0x36173b++){const _0x108931={'id':'doc.mutation.rich-text-editing','params':{..._0x47609a[_0x36173b]}},_0x3a3e1a=this[_0xb6de08(0x320)][_0xb6de08(0x41a)](_0x3dff87,_0x108931,!0x1);if(_0x316cd5[_0xb6de08(0x2b9)](_0x3a3e1a))throw _0x3a3e1a[_0xb6de08(0x44e)];_0x3dff87=_0x3a3e1a[_0xb6de08(0x2e2)];}return{..._0x4a3224[_0xb6de08(0x227)][_0xb6de08(0x233)](_0x535c0d),'mutations':[_0x3dff87]};}[_0x1d6417(0x3f3)](_0x29920b){const _0x559158=_0x1d6417,{unitID:_0x7c47e1}=_0x29920b,_0x1fd734=this[_0x559158(0x3bd)]['getRenderById'](_0x7c47e1)['with'](_0x3ad18b[_0x559158(0x2d1)]),{undoCache:_0x48e0bb,redoCache:_0x3d9ac1}=_0x1fd734[_0x559158(0x24e)]();if(_0x48e0bb[_0x559158(0x4ad)]===0x0||_0x3d9ac1[_0x559158(0x4ad)]===0x0)return;const _0x53ba53=[],_0x16d038=[];let _0x3063ba=_0x4a3224[_0x559158(0x227)][_0x559158(0x233)](_0x29920b[_0x559158(0x221)][0x0]),_0x46fad9=_0x4a3224[_0x559158(0x227)]['deepClone'](_0x29920b['mutations'][0x0]);for(let _0x93baa8=_0x48e0bb['length']-0x1;_0x93baa8>=0x0;_0x93baa8--){const _0x33d2f1={'id':_0x559158(0x2a4),'params':{..._0x48e0bb[_0x93baa8]}},_0x567b06={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9ac1[_0x93baa8]}},_0x482be5=this['_transformService'][_0x559158(0x41a)](_0x3063ba,_0x33d2f1,!0x1),_0x169b5c=this[_0x559158(0x320)]['transformMutation'](_0x46fad9,_0x567b06,!0x1);if(_0x316cd5[_0x559158(0x2b9)](_0x482be5))throw _0x482be5[_0x559158(0x44e)];if(_0x316cd5[_0x559158(0x2b9)](_0x169b5c))throw _0x169b5c[_0x559158(0x44e)];_0x53ba53['unshift'](_0x482be5['m2Prime'][_0x559158(0x49b)]),_0x16d038[_0x559158(0x44b)](_0x169b5c['m2Prime'][_0x559158(0x49b)]),_0x3063ba=_0x482be5[_0x559158(0x2e2)],_0x46fad9=_0x169b5c['m1Prime'];}_0x1fd734[_0x559158(0x31a)]({'undoCache':_0x53ba53,'redoCache':_0x16d038});}[_0x1d6417(0x431)](_0x395ced){const _0x4b6e16=_0x1d6417,{unitID:_0x307117}=_0x395ced,_0x1fe66d=this['_renderManagerService'][_0x4b6e16(0x332)](_0x307117)[_0x4b6e16(0x49c)](_0x3ad18b[_0x4b6e16(0x2d1)]),_0x5c7862=_0x1fe66d[_0x4b6e16(0x2d2)]();if(_0x5c7862==null)return;const _0x464ed7=[{'id':_0x4b6e16(0x2a4),'params':{'unitId':_0x395ced['unitID'],'actions':null,'textRanges':[_0x5c7862]}}],_0x35dc64=this['_transformService'][_0x4b6e16(0x1d7)](_0x395ced,_0x464ed7);if(!_0x316cd5[_0x4b6e16(0x493)](_0x35dc64))throw _0x35dc64[_0x4b6e16(0x44e)];const _0x5254b7=_0x35dc64[_0x4b6e16(0x438)][0x0][_0x4b6e16(0x49b)][_0x4b6e16(0x1cd)];Array['isArray'](_0x5254b7)&&_0x5254b7['length']&&_0x1fe66d['setActiveRange'](_0x5254b7[0x0]);}};_0x4bfa20=_0x482495([_0x78fce6(0x0,_0x316cd5[_0x1d6417(0x45d)]),_0x78fce6(0x1,_0x11b32e[_0x1d6417(0x1c9)])],_0x4bfa20);var _0x23e759=Object[_0x1d6417(0x455)],_0x21c4fd=(_0x535306,_0x4ae072,_0x5a93fa,_0x3e46df)=>{const _0x177aee=_0x1d6417;for(var _0x26a440=_0x3e46df>0x1?void 0x0:_0x3e46df?_0x23e759(_0x4ae072,_0x5a93fa):_0x4ae072,_0x272fbb=_0x535306[_0x177aee(0x4ad)]-0x1,_0x1262cb;_0x272fbb>=0x0;_0x272fbb--)(_0x1262cb=_0x535306[_0x272fbb])&&(_0x26a440=_0x1262cb(_0x26a440)||_0x26a440);return _0x26a440;},_0x4cc96d=(_0xd30a9f,_0x3cd396)=>(_0x4c1131,_0x434baa)=>_0x3cd396(_0x4c1131,_0x434baa,_0xd30a9f);let _0x416897=class{constructor(_0x46d078,_0x4185e0,_0x33849b){const _0x50f250=_0x1d6417;this['_injector']=_0x46d078,this[_0x50f250(0x320)]=_0x4185e0,this[_0x50f250(0x3fb)]=_0x33849b;}[_0x1d6417(0x291)](_0x3f0a1a){this['_transformHistoryAndStateStack'](_0x3f0a1a);}[_0x1d6417(0x25f)](_0x2bb073){const _0x46fce4=_0x1d6417,{unitID:_0x66489f}=_0x2bb073,{collaboration:_0x4b9681}=this[_0x46fce4(0x3fb)][_0x46fce4(0x256)](_0x66489f);if(_0x4b9681[_0x46fce4(0x4ad)]===0x0)return _0x2bb073;let _0x12bcb8=_0x4a3224['Tools']['deepClone'](_0x2bb073[_0x46fce4(0x221)][0x0]);for(let _0x8378dc=0x0;_0x8378dc<_0x4b9681[_0x46fce4(0x4ad)];_0x8378dc++){const _0x57e95a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b9681[_0x8378dc][_0x46fce4(0x487)],..._0x4b9681[_0x8378dc][_0x46fce4(0x2d6)]}},_0x21fc8d=this[_0x46fce4(0x320)][_0x46fce4(0x41a)](_0x12bcb8,_0x57e95a,!0x1);if(_0x316cd5[_0x46fce4(0x2b9)](_0x21fc8d))throw _0x21fc8d['error'];_0x12bcb8=_0x21fc8d[_0x46fce4(0x2e2)];}return{..._0x4a3224['Tools']['deepClone'](_0x2bb073),'mutations':[_0x12bcb8]};}[_0x1d6417(0x46b)](_0x37f68c){const _0x4aaeb7=_0x1d6417,{unitID:_0x3ecb6e}=_0x37f68c,{history:_0x2c8d68,collaboration:_0x1ff9f8}=this[_0x4aaeb7(0x3fb)][_0x4aaeb7(0x256)](_0x3ecb6e);if(_0x2c8d68[_0x4aaeb7(0x4ad)]===0x0&&_0x1ff9f8[_0x4aaeb7(0x4ad)]===0x0)return;const _0x514329=[],_0x532050=[];let _0x758c76=_0x4a3224['Tools']['deepClone'](_0x37f68c['mutations'][0x0]),_0xc6ad11=_0x4a3224[_0x4aaeb7(0x227)][_0x4aaeb7(0x233)](_0x37f68c[_0x4aaeb7(0x221)][0x0]);for(let _0x3e3d7e=_0x2c8d68['length']-0x1;_0x3e3d7e>=0x0;_0x3e3d7e--){const _0x25907c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c8d68[_0x3e3d7e][_0x4aaeb7(0x487)],..._0x2c8d68[_0x3e3d7e][_0x4aaeb7(0x415)]}},_0x438bb4={'id':_0x4aaeb7(0x2a4),'params':{'unitId':_0x2c8d68[_0x3e3d7e][_0x4aaeb7(0x487)],..._0x2c8d68[_0x3e3d7e][_0x4aaeb7(0x2d6)]}},_0x29fb84=this[_0x4aaeb7(0x320)][_0x4aaeb7(0x41a)](_0x758c76,_0x25907c,!0x1),_0x518d85=this[_0x4aaeb7(0x320)][_0x4aaeb7(0x41a)](_0xc6ad11,_0x438bb4,!0x1);if(_0x316cd5[_0x4aaeb7(0x2b9)](_0x29fb84))throw _0x29fb84[_0x4aaeb7(0x44e)];if(_0x316cd5[_0x4aaeb7(0x2b9)](_0x518d85))throw _0x518d85[_0x4aaeb7(0x44e)];_0x514329[_0x4aaeb7(0x44b)]({..._0x2c8d68[_0x3e3d7e],'undoState':_0x29fb84['m2Prime'][_0x4aaeb7(0x49b)],'redoState':_0x518d85[_0x4aaeb7(0x438)][_0x4aaeb7(0x49b)]}),_0x758c76=_0x29fb84[_0x4aaeb7(0x2e2)],_0xc6ad11=_0x518d85[_0x4aaeb7(0x2e2)];}_0x758c76=_0x4a3224[_0x4aaeb7(0x227)]['deepClone'](_0x37f68c[_0x4aaeb7(0x221)][0x0]),_0xc6ad11=_0x4a3224['Tools'][_0x4aaeb7(0x233)](_0x37f68c[_0x4aaeb7(0x221)][0x0]);for(let _0x518808=_0x1ff9f8[_0x4aaeb7(0x4ad)]-0x1;_0x518808>=0x0;_0x518808--){const _0x2b49b={'id':_0x4aaeb7(0x2a4),'params':{'unitId':_0x1ff9f8[_0x518808][_0x4aaeb7(0x487)],..._0x1ff9f8[_0x518808][_0x4aaeb7(0x415)]}},_0x6597ed={'id':_0x4aaeb7(0x2a4),'params':{'unitId':_0x1ff9f8[_0x518808][_0x4aaeb7(0x487)],..._0x1ff9f8[_0x518808][_0x4aaeb7(0x2d6)]}},_0x9a258=this[_0x4aaeb7(0x320)]['transformMutation'](_0x758c76,_0x2b49b,!0x1),_0x58612c=this[_0x4aaeb7(0x320)][_0x4aaeb7(0x41a)](_0xc6ad11,_0x6597ed,!0x1);if(_0x316cd5[_0x4aaeb7(0x2b9)](_0x9a258))throw _0x9a258[_0x4aaeb7(0x44e)];if(_0x316cd5[_0x4aaeb7(0x2b9)](_0x58612c))throw _0x58612c[_0x4aaeb7(0x44e)];_0x532050[_0x4aaeb7(0x44b)]({..._0x1ff9f8[_0x518808],'undoState':_0x9a258[_0x4aaeb7(0x438)][_0x4aaeb7(0x49b)],'redoState':_0x58612c[_0x4aaeb7(0x438)][_0x4aaeb7(0x49b)]}),_0x758c76=_0x9a258[_0x4aaeb7(0x2e2)],_0xc6ad11=_0x58612c['m1Prime'];}this['_docStateChangeManagerService'][_0x4aaeb7(0x2c4)](_0x3ecb6e,{'history':_0x514329,'collaboration':_0x532050});}};_0x416897=_0x21c4fd([_0x4cc96d(0x0,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x3d1)])),_0x4cc96d(0x1,_0x316cd5[_0x1d6417(0x45d)]),_0x4cc96d(0x2,_0x4a3224['Inject'](_0x3ad18b['DocStateChangeManagerService']))],_0x416897);var _0x2ec4b8=Object[_0x1d6417(0x455)],_0x31fde3=(_0x1cdff3,_0x3ef58c,_0x393e09,_0x546d2f)=>{const _0x411ac7=_0x1d6417;for(var _0x36bb9b=_0x546d2f>0x1?void 0x0:_0x546d2f?_0x2ec4b8(_0x3ef58c,_0x393e09):_0x3ef58c,_0xe8cb2c=_0x1cdff3[_0x411ac7(0x4ad)]-0x1,_0x45c190;_0xe8cb2c>=0x0;_0xe8cb2c--)(_0x45c190=_0x1cdff3[_0xe8cb2c])&&(_0x36bb9b=_0x45c190(_0x36bb9b)||_0x36bb9b);return _0x36bb9b;},_0x5ce485=(_0x4036a5,_0x1c4ba9)=>(_0x3b43a5,_0x315a9d)=>_0x1c4ba9(_0x3b43a5,_0x315a9d,_0x4036a5);let _0x2488f9=class{constructor(_0x3e8182,_0x25927b){const _0x39ffae=_0x1d6417;this[_0x39ffae(0x21a)]=_0x3e8182,this[_0x39ffae(0x320)]=_0x25927b;}[_0x1d6417(0x1f9)](_0x562de2){const _0x4f8c0d=_0x1d6417;var _0x5707d2;const _0x9ae9b1=this[_0x4f8c0d(0x21a)][_0x4f8c0d(0x2cc)](_0x387c9e[_0x4f8c0d(0x374)]),_0x5b52c0=(_0x5707d2=_0x9ae9b1['getDocRanges']())!=null?_0x5707d2:[];if(_0x5b52c0[_0x4f8c0d(0x4ad)]===0x0)return;const _0x941d9=_0x562de2[_0x4f8c0d(0x212)],_0x1e2e99=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x941d9,'actions':null,'textRanges':_0x5b52c0}}],_0x1df2fa=this[_0x4f8c0d(0x320)][_0x4f8c0d(0x1d7)](_0x562de2,_0x1e2e99);if(!_0x316cd5[_0x4f8c0d(0x493)](_0x1df2fa))throw _0x1df2fa['error'];const _0x3f9051=_0x1df2fa['m2Prime'][0x0]['params']['textRanges'];Array[_0x4f8c0d(0x3c3)](_0x3f9051)&&_0x3f9051[_0x4f8c0d(0x4ad)]&&_0x9ae9b1['replaceDocRanges'](_0x3f9051,{'unitId':_0x941d9,'subUnitId':_0x941d9},!0x1);}};_0x2488f9=_0x31fde3([_0x5ce485(0x0,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224['Injector'])),_0x5ce485(0x1,_0x316cd5[_0x1d6417(0x45d)])],_0x2488f9);var _0x193e24=Object[_0x1d6417(0x455)],_0x2ce010=(_0xe5e6e3,_0x2af4f3,_0x267d7b,_0x387d49)=>{const _0x4cf60b=_0x1d6417;for(var _0x3f00fb=_0x387d49>0x1?void 0x0:_0x387d49?_0x193e24(_0x2af4f3,_0x267d7b):_0x2af4f3,_0x54634c=_0xe5e6e3[_0x4cf60b(0x4ad)]-0x1,_0x2d40f3;_0x54634c>=0x0;_0x54634c--)(_0x2d40f3=_0xe5e6e3[_0x54634c])&&(_0x3f00fb=_0x2d40f3(_0x3f00fb)||_0x3f00fb);return _0x3f00fb;},_0x4e70d3=(_0x4af877,_0x580993)=>(_0x53c327,_0xdbbca0)=>_0x580993(_0x53c327,_0xdbbca0,_0x4af877);let _0xcf1625=class extends _0x4a3224['Disposable']{constructor(_0x326c08,_0x49451d,_0x17047c,_0x15dbd1,_0x2cf7c0,_0x306b70,_0x338eb4,_0x31c4ea){const _0x5d0ccb=_0x1d6417;super(),_0x252021(this,'_status$',new _0x1ee8dd['BehaviorSubject'](_0x11a8fb[_0x5d0ccb(0x2bf)][_0x5d0ccb(0x2f9)])),(this['_docStateChangeManagerService']=_0x326c08,this['_collaborationController']=_0x49451d,this[_0x5d0ccb(0x3e3)]=_0x17047c,this['_docTransformStateCacheService']=_0x15dbd1,this[_0x5d0ccb(0x3fe)]=_0x2cf7c0,this['_docSyncEditingCollabCursorService']=_0x306b70,this['_messageService']=_0x338eb4,this[_0x5d0ccb(0x488)]=_0x31c4ea,this[_0x5d0ccb(0x30c)]());}[_0x1d6417(0x30c)](){const _0x178d5e=_0x1d6417;this[_0x178d5e(0x48c)](this[_0x178d5e(0x2d3)][_0x178d5e(0x2fb)][_0x178d5e(0x200)](_0x596686=>{const _0x2609bf=_0x178d5e,_0x437cb5=this[_0x2609bf(0x3fb)][_0x2609bf(0x2d8)][_0x2609bf(0x200)](_0x104c7a=>{const _0x46fd5b=_0x2609bf;if(_0x104c7a==null)return;const {unitId:_0x3e7b93,redoState:_0x53b032,commandId:_0x738bc0}=_0x104c7a;if(_0x3e7b93!==_0x596686[_0x46fd5b(0x212)])return;const _0x35bcc8={'id':_0x738bc0,'type':_0x4a3224['CommandType']['MUTATION'],'params':{'unitId':_0x3e7b93,'actions':_0x53b032[_0x46fd5b(0x284)],'textRanges':null}};_0x596686[_0x46fd5b(0x1f0)](_0x35bcc8);});if(_0x596686['disposeWithMe'](_0x437cb5),_0x596686 instanceof _0x11a8fb['DocCollaborationEntity']){const _0xb78ac3={'onTransformIME':_0x588157=>this[_0x2609bf(0x3e3)][_0x2609bf(0x3d3)](_0x588157),'onTransformState':_0x26a026=>this[_0x2609bf(0x2b4)][_0x2609bf(0x291)](_0x26a026),'onTransformSelections':_0x3751f8=>this[_0x2609bf(0x3fe)][_0x2609bf(0x1f9)](_0x3751f8),'onSyncEditingCollabCursor':_0x42321c=>this[_0x2609bf(0x26d)][_0x2609bf(0x48f)](_0x42321c),'onTransformRemoteChangesetByIMECache':_0x51631a=>this[_0x2609bf(0x3e3)][_0x2609bf(0x25f)](_0x51631a),'onTransformRemoteChangesetByStateCache':_0x2ae597=>this[_0x2609bf(0x2b4)][_0x2609bf(0x25f)](_0x2ae597)};_0x596686['addHandlerCallback'](_0xb78ac3);}}));}};_0xcf1625=_0x2ce010([_0x4e70d3(0x0,_0x4a3224[_0x1d6417(0x1e3)](_0x3ad18b['DocStateChangeManagerService'])),_0x4e70d3(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x11a8fb['CollaborationController'])),_0x4e70d3(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x4bfa20)),_0x4e70d3(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x416897)),_0x4e70d3(0x4,_0x4a3224[_0x1d6417(0x1e3)](_0x2488f9)),_0x4e70d3(0x5,_0x4a3224[_0x1d6417(0x1e3)](_0x1fe4f7)),_0x4e70d3(0x6,_0x3f1baa[_0x1d6417(0x1db)]),_0x4e70d3(0x7,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224['LocaleService']))],_0xcf1625);var _0x41fca7=(_0x52ed54=>(_0x52ed54[_0x52ed54[_0x1d6417(0x1ec)]=0x0]=_0x1d6417(0x1ec),_0x52ed54[_0x52ed54['OK']=0x1]='OK',_0x52ed54[_0x52ed54['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x52ed54[_0x52ed54[_0x1d6417(0x1e6)]=0x3]=_0x1d6417(0x1e6),_0x52ed54[_0x52ed54[_0x1d6417(0x217)]=0x4]=_0x1d6417(0x217),_0x52ed54[_0x52ed54[_0x1d6417(0x485)]=0x5]=_0x1d6417(0x485),_0x52ed54[_0x52ed54[_0x1d6417(0x3f6)]=0x6]=_0x1d6417(0x3f6),_0x52ed54[_0x52ed54[_0x1d6417(0x312)]=0x7]='INVALID_ARGUMENT',_0x52ed54[_0x52ed54['TOO_MANY_REQUESTS']=0x8]=_0x1d6417(0x3f8),_0x52ed54[_0x52ed54['COMPLETION_FINISHED']=0x9]=_0x1d6417(0x203),_0x52ed54[_0x52ed54[_0x1d6417(0x34c)]=0xa]='LOGIN_FAILED',_0x52ed54[_0x52ed54['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1d6417(0x3de),_0x52ed54[_0x52ed54[_0x1d6417(0x298)]=0xc]=_0x1d6417(0x298),_0x52ed54[_0x52ed54[_0x1d6417(0x447)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x52ed54[_0x52ed54[_0x1d6417(0x331)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x52ed54[_0x52ed54[_0x1d6417(0x30b)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x52ed54[_0x52ed54[_0x1d6417(0x22a)]=0x10]=_0x1d6417(0x22a),_0x52ed54[_0x52ed54[_0x1d6417(0x2ad)]=0x64]=_0x1d6417(0x2ad),_0x52ed54[_0x52ed54['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x52ed54[_0x52ed54[_0x1d6417(0x341)]=0xc9]=_0x1d6417(0x341),_0x52ed54[_0x52ed54[_0x1d6417(0x218)]=0xca]='USER_IS_ANONYMOUS',_0x52ed54[_0x52ed54['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1d6417(0x239),_0x52ed54[_0x52ed54['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1d6417(0x2e3),_0x52ed54[_0x52ed54[_0x1d6417(0x471)]=0x1772]=_0x1d6417(0x471),_0x52ed54[_0x52ed54[_0x1d6417(0x3a4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x52ed54[_0x52ed54[_0x1d6417(0x249)]=0x1b59]='APPLY_REJECT',_0x52ed54[_0x52ed54[_0x1d6417(0x319)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x52ed54[_0x52ed54[_0x1d6417(0x2b6)]=0x1b5b]=_0x1d6417(0x2b6),_0x52ed54[_0x52ed54[_0x1d6417(0x38e)]=0x1b5c]=_0x1d6417(0x38e),_0x52ed54[_0x52ed54[_0x1d6417(0x2f3)]=0x1b5d]=_0x1d6417(0x2f3),_0x52ed54[_0x52ed54['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1d6417(0x453),_0x52ed54[_0x52ed54[_0x1d6417(0x258)]=0x2329]=_0x1d6417(0x258),_0x52ed54[_0x52ed54[_0x1d6417(0x342)]=0x232a]=_0x1d6417(0x342),_0x52ed54[_0x52ed54[_0x1d6417(0x2ef)]=0x232b]=_0x1d6417(0x2ef),_0x52ed54[_0x52ed54['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d6417(0x468),_0x52ed54[_0x52ed54[_0x1d6417(0x349)]=0x232d]=_0x1d6417(0x349),_0x52ed54[_0x52ed54[_0x1d6417(0x1cc)]=0x2711]=_0x1d6417(0x1cc),_0x52ed54[_0x52ed54[_0x1d6417(0x381)]=0x2712]=_0x1d6417(0x381),_0x52ed54[_0x52ed54[_0x1d6417(0x3fc)]=0x2713]=_0x1d6417(0x3fc),_0x52ed54[_0x52ed54[_0x1d6417(0x1e4)]=0x2714]=_0x1d6417(0x1e4),_0x52ed54[_0x52ed54[_0x1d6417(0x48b)]=0x271a]=_0x1d6417(0x48b),_0x52ed54[_0x52ed54[_0x1d6417(0x2c9)]=0x271b]=_0x1d6417(0x2c9),_0x52ed54[_0x52ed54['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1d6417(0x36e),_0x52ed54[_0x52ed54['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1d6417(0x2dc),_0x52ed54[_0x52ed54[_0x1d6417(0x39f)]=0x271e]=_0x1d6417(0x39f),_0x52ed54[_0x52ed54[_0x1d6417(0x3c0)]=0x271f]=_0x1d6417(0x3c0),_0x52ed54[_0x52ed54[_0x1d6417(0x2f6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x52ed54[_0x52ed54[_0x1d6417(0x261)]=0x2af9]=_0x1d6417(0x261),_0x52ed54[_0x52ed54[_0x1d6417(0x4a8)]=0x2ee1]=_0x1d6417(0x4a8),_0x52ed54[_0x52ed54[_0x1d6417(0x316)]=0x2ee2]='INVALID_INVITE_CODE',_0x52ed54[_0x52ed54[_0x1d6417(0x48e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x52ed54[_0x52ed54[_0x1d6417(0x28e)]=0x2ee4]=_0x1d6417(0x28e),_0x52ed54[_0x52ed54[_0x1d6417(0x3cf)]=0x2ee5]=_0x1d6417(0x3cf),_0x52ed54[_0x52ed54[_0x1d6417(0x3ec)]=0x32c9]=_0x1d6417(0x3ec),_0x52ed54[_0x52ed54[_0x1d6417(0x402)]=0x32ca]=_0x1d6417(0x402),_0x52ed54[_0x52ed54[_0x1d6417(0x26e)]=0x32cb]=_0x1d6417(0x26e),_0x52ed54[_0x52ed54[_0x1d6417(0x215)]=0x36b1]=_0x1d6417(0x215),_0x52ed54[_0x52ed54[_0x1d6417(0x1ed)]=0x36b2]=_0x1d6417(0x1ed),_0x52ed54[_0x52ed54[_0x1d6417(0x2db)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x52ed54[_0x52ed54[_0x1d6417(0x1ca)]=0x36b4]=_0x1d6417(0x1ca),_0x52ed54[_0x52ed54[_0x1d6417(0x289)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x52ed54[_0x52ed54['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1d6417(0x417),_0x52ed54[_0x52ed54['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x1d6417(0x44d),_0x52ed54[_0x52ed54[_0x1d6417(0x3dc)]=0x37dd]=_0x1d6417(0x3dc),_0x52ed54[_0x52ed54[_0x1d6417(0x23c)]=0x3a99]=_0x1d6417(0x23c),_0x52ed54[_0x52ed54[_0x1d6417(0x3bf)]=0x3a9a]=_0x1d6417(0x3bf),_0x52ed54[_0x52ed54[_0x1d6417(0x42b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x52ed54[_0x52ed54[_0x1d6417(0x3cb)]=0x3a9c]=_0x1d6417(0x3cb),_0x52ed54[_0x52ed54[_0x1d6417(0x337)]=0x3a9d]=_0x1d6417(0x337),_0x52ed54[_0x52ed54[_0x1d6417(0x3f2)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x52ed54[_0x52ed54[_0x1d6417(0x386)]=0x3a9f]=_0x1d6417(0x386),_0x52ed54[_0x52ed54['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x1d6417(0x3e6),_0x52ed54[_0x52ed54[_0x1d6417(0x383)]=-0x1]=_0x1d6417(0x383),_0x52ed54))(_0x41fca7||{});function _0x3ec7a7(_0x388edb){const _0xc67246=_0x1d6417;var _0x10c6b9,_0x38c472;const _0x145b7e=(_0x10c6b9=_0x388edb[_0xc67246(0x480)])==null?void 0x0:_0x10c6b9[_0xc67246(0x1f2)],_0x437a75=((_0x38c472=_0x388edb[_0xc67246(0x480)])==null?void 0x0:_0x38c472[_0xc67246(0x36a)])||0x0;return _0x145b7e===_0x3a2581['FormulaExecuteStageType'][_0xc67246(0x345)]&&_0x437a75>0x0;}function _0x10dc93(_0x1bf213){const _0x27d280=_0x1d6417;return _0x1bf213[_0x27d280(0x40d)]===_0x3a2581['FormulaExecutedStateType'][_0x27d280(0x37a)];}var _0xa30f5a=Object[_0x1d6417(0x455)],_0x572573=(_0x4397ca,_0x2f8943,_0x4fea62,_0x511a56)=>{for(var _0x31a473=_0x511a56>0x1?void 0x0:_0x511a56?_0xa30f5a(_0x2f8943,_0x4fea62):_0x2f8943,_0x535e19=_0x4397ca['length']-0x1,_0x3e7f51;_0x535e19>=0x0;_0x535e19--)(_0x3e7f51=_0x4397ca[_0x535e19])&&(_0x31a473=_0x3e7f51(_0x31a473)||_0x31a473);return _0x31a473;},_0x5b5aa4=(_0x589261,_0xd51be7)=>(_0x2af653,_0x455f2c)=>_0xd51be7(_0x2af653,_0x455f2c,_0x589261);const _0x51fcb2=_0x1d6417(0x241),_0xfa4c7c=_0x1d6417(0x473),_0x355f57=_0x1d6417(0x23e);let _0x191706=class extends _0x4a3224['Disposable']{constructor(_0x24c3b2,_0x2fedd9,_0x4f2bd5,_0x41e07a,_0x23c3e9,_0x12dbf6,_0x181946){const _0x1af48e=_0x1d6417;super(),_0x252021(this,_0x1af48e(0x403),null),_0x252021(this,'_maxFormulaLimit',0x0),_0x252021(this,'_currentUsage',0x0),_0x252021(this,_0x1af48e(0x2c8),[]),_0x252021(this,_0x1af48e(0x371),0x0),(this[_0x1af48e(0x497)]=_0x24c3b2,this[_0x1af48e(0x361)]=_0x2fedd9,this[_0x1af48e(0x491)]=_0x4f2bd5,this[_0x1af48e(0x46e)]=_0x41e07a,this[_0x1af48e(0x286)]=_0x23c3e9,this['_logService']=_0x12dbf6,this[_0x1af48e(0x488)]=_0x181946,this[_0x1af48e(0x3a5)]());}[_0x1d6417(0x3a5)](){const _0x2d8f37=_0x1d6417;this[_0x2d8f37(0x48c)](this[_0x2d8f37(0x361)]['beforeCommandExecuted']((_0x1f3410,_0x53c40e)=>{const _0x591dc7=_0x2d8f37;var _0x5b0cc1;if(_0x1f3410['id']!==_0x3a2581['SetFormulaCalculationStartMutation']['id'])return;const _0x499f95=_0x1f3410[_0x591dc7(0x49b)];if(!this[_0x591dc7(0x1fb)]((_0x5b0cc1=_0x499f95[_0x591dc7(0x450)])!=null?_0x5b0cc1:[]))return;if(!this[_0x591dc7(0x1e2)]())throw this[_0x591dc7(0x35c)](_0x1f3410,_0x53c40e),this['_showGuardMessage'](),new _0x4a3224[(_0x591dc7(0x2a6))]();})),this[_0x2d8f37(0x48c)](this[_0x2d8f37(0x361)][_0x2d8f37(0x3d5)]((_0x5120d7,_0x3c8d1d)=>{const _0x516257=_0x2d8f37;if(_0x5120d7['id']!==_0x3a2581['SetFormulaCalculationNotificationMutation']['id'])return;const _0x58a7f6=_0x5120d7[_0x516257(0x49b)];if(_0x3ec7a7(_0x58a7f6)){const _0x27f31f=_0x4a3224[_0x516257(0x226)]();this[_0x516257(0x2c8)][_0x516257(0x2ce)](_0x27f31f),this[_0x516257(0x2da)](_0x27f31f);}else{if(_0x10dc93(_0x58a7f6)&&this[_0x516257(0x2c8)][_0x516257(0x4ad)]>0x0){const _0x547d72=this[_0x516257(0x2c8)]['shift']();this[_0x516257(0x2af)](_0x547d72);}}}));}[_0x1d6417(0x235)](){const _0x572a40=_0x1d6417;super[_0x572a40(0x235)](),this[_0x572a40(0x47a)](),this[_0x572a40(0x2c8)]=[],this[_0x572a40(0x49a)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x572a40(0x371)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4880c5,_0x3fa9d0){const _0x360670=_0x1d6417;for(let _0x1c0d24=0x0;_0x1c0d24<0x1e;_0x1c0d24++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x360670(0x385)](_0x4880c5,_0x3fa9d0),this['_messageService']['show']({'content':this[_0x360670(0x488)]['t'](_0x360670(0x31f)),'type':_0x22ad6a[_0x360670(0x297)]['Success']});return;}await new Promise(_0x4a89d2=>{const _0x5a51a0=_0x360670;this['_pollingInterval']=window[_0x5a51a0(0x321)](_0x4a89d2,0x3e8);});}catch(_0x387500){this[_0x360670(0x419)][_0x360670(0x44e)](_0x387500);}this[_0x360670(0x497)][_0x360670(0x409)]({'content':this['_localeService']['t'](_0x360670(0x283)),'type':_0x22ad6a[_0x360670(0x297)][_0x360670(0x246)]});}['_applyCommand'](_0x4cf831,_0x2aa78e){const _0x21606c=_0x1d6417;try{this[_0x21606c(0x361)]['executeCommand'](_0x4cf831['id'],_0x4cf831[_0x21606c(0x49b)],_0x2aa78e);}catch(_0x1702da){this[_0x21606c(0x419)][_0x21606c(0x44e)](_0x1702da);}}[_0x1d6417(0x3c6)](_0x1944be,_0x4065fc){const _0x4e55f9=_0x1d6417;_0x4065fc<this[_0x4e55f9(0x371)]||(this[_0x4e55f9(0x371)]=_0x4065fc,this[_0x4e55f9(0x4b0)]=Number[_0x4e55f9(0x1e8)](_0x1944be['maxFormulaLimit']),this[_0x4e55f9(0x49a)]=Number['parseInt'](_0x1944be['currentUsage']));}async[_0x1d6417(0x2da)](_0x527147){const _0xd8038e=_0x1d6417;var _0x30f1b0,_0x4b0d2a;const _0x5826a1=Date[_0xd8038e(0x49d)]();try{const _0x27e079=((_0x30f1b0=this[_0xd8038e(0x491)][_0xd8038e(0x1f1)](_0x11a8fb[_0xd8038e(0x414)]))==null?void 0x0:_0x30f1b0[_0xd8038e(0x425)])||_0xfa4c7c,_0x63d49=(await this[_0xd8038e(0x46e)][_0xd8038e(0x2c1)](_0x27e079,{'body':JSON[_0xd8038e(0x28d)]({'taskId':_0x527147})}))[_0xd8038e(0x411)];if(((_0x4b0d2a=_0x63d49['error'])==null?void 0x0:_0x4b0d2a[_0xd8038e(0x1ee)])!==_0x41fca7['OK'])return;this[_0xd8038e(0x3c6)](_0x63d49[_0xd8038e(0x211)],_0x5826a1);}catch(_0x16b9b0){this[_0xd8038e(0x419)]['error'](_0x16b9b0);}}async[_0x1d6417(0x439)](_0x439ecd){const _0x2652fc=_0x1d6417;var _0x3ed81a,_0x4476a2;const _0x1a7050=Date[_0x2652fc(0x49d)]();try{const _0x3170e1=((_0x3ed81a=this[_0x2652fc(0x491)][_0x2652fc(0x1f1)](_0x11a8fb[_0x2652fc(0x414)]))==null?void 0x0:_0x3ed81a[_0x2652fc(0x31b)])||_0x51fcb2,_0x4093b0=_0x439ecd?_0x3170e1+_0x2652fc(0x306)+encodeURIComponent(_0x439ecd):_0x3170e1,_0x17323a=(await this[_0x2652fc(0x46e)][_0x2652fc(0x2cc)](_0x4093b0))[_0x2652fc(0x411)];if(((_0x4476a2=_0x17323a[_0x2652fc(0x44e)])==null?void 0x0:_0x4476a2[_0x2652fc(0x1ee)])!==_0x41fca7['OK'])return;this[_0x2652fc(0x3c6)](_0x17323a[_0x2652fc(0x211)],_0x1a7050);}catch(_0x3b972b){this[_0x2652fc(0x419)][_0x2652fc(0x44e)](_0x3b972b);}}async[_0x1d6417(0x2af)](_0x393b53){const _0x4ad23f=_0x1d6417;var _0x2cbb54,_0x34d047;const _0x135275=Date[_0x4ad23f(0x49d)]();try{const _0x48b482=((_0x2cbb54=this[_0x4ad23f(0x491)][_0x4ad23f(0x1f1)](_0x11a8fb[_0x4ad23f(0x414)]))==null?void 0x0:_0x2cbb54[_0x4ad23f(0x369)])||_0x355f57,_0x454ee1=(await this[_0x4ad23f(0x46e)]['post'](_0x48b482,{'body':JSON[_0x4ad23f(0x28d)]({'taskId':_0x393b53})}))[_0x4ad23f(0x411)];if(((_0x34d047=_0x454ee1[_0x4ad23f(0x44e)])==null?void 0x0:_0x34d047['code'])!==_0x41fca7['OK'])return;this[_0x4ad23f(0x3c6)](_0x454ee1['limitInfo'],_0x135275);}catch(_0x141be5){this['_logService'][_0x4ad23f(0x44e)](_0x141be5);}}[_0x1d6417(0x1e2)](){const _0x265b82=_0x1d6417;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x265b82(0x49a)]>0x0;}[_0x1d6417(0x47a)](){const _0x37fee1=_0x1d6417;this['_pollingInterval']&&(clearTimeout(this[_0x37fee1(0x403)]),this[_0x37fee1(0x403)]=null);}[_0x1d6417(0x3b6)](){const _0x33d0d3=_0x1d6417;this[_0x33d0d3(0x497)][_0x33d0d3(0x409)]({'content':this['_localeService']['t'](_0x33d0d3(0x3b3)),'type':_0x22ad6a[_0x33d0d3(0x297)][_0x33d0d3(0x2e1)]});}[_0x1d6417(0x1fb)](_0xf493b1){const _0x1c7361=_0x1d6417;for(const _0x5cd5be of _0xf493b1){const {unitId:_0x498d6a,sheetId:_0x26fdc3,range:_0x22c427}=_0x5cd5be,_0x961af=this[_0x1c7361(0x286)][_0x1c7361(0x299)](_0x498d6a);if(!_0x961af)continue;const _0x4c73f9=_0x961af[_0x1c7361(0x377)](_0x26fdc3);if(!_0x4c73f9)continue;const _0x1ddedd=_0x4c73f9[_0x1c7361(0x26b)]();for(let _0x4e42bb=_0x22c427['startRow'];_0x4e42bb<=_0x22c427['endRow'];_0x4e42bb++)for(let _0x1fac80=_0x22c427['startColumn'];_0x1fac80<=_0x22c427['endColumn'];_0x1fac80++){const _0x1cd414=_0x1ddedd[_0x1c7361(0x31c)](_0x4e42bb,_0x1fac80);if(_0x1cd414&&(_0x4a3224['isFormulaString'](_0x1cd414['f'])||_0x4a3224[_0x1c7361(0x280)](_0x1cd414['si'])))return!0x0;}}return!0x1;}};_0x191706=_0x572573([_0x5b5aa4(0x0,_0x4a3224['Inject'](_0x3f1baa['IMessageService'])),_0x5b5aa4(0x1,_0x4a3224['ICommandService']),_0x5b5aa4(0x2,_0x4a3224[_0x1d6417(0x390)]),_0x5b5aa4(0x3,_0x4a3224[_0x1d6417(0x1e3)](_0x199a1e['HTTPService'])),_0x5b5aa4(0x4,_0x4a3224[_0x1d6417(0x269)]),_0x5b5aa4(0x5,_0x4a3224[_0x1d6417(0x29c)]),_0x5b5aa4(0x6,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224[_0x1d6417(0x2ea)]))],_0x191706);var _0x2e4dc0=Object[_0x1d6417(0x455)],_0x322b41=(_0x55d127,_0x18847e,_0x5d2f60,_0x4f1f4c)=>{const _0x398a47=_0x1d6417;for(var _0x43d4b9=_0x4f1f4c>0x1?void 0x0:_0x4f1f4c?_0x2e4dc0(_0x18847e,_0x5d2f60):_0x18847e,_0x2299d5=_0x55d127[_0x398a47(0x4ad)]-0x1,_0x2ffca7;_0x2299d5>=0x0;_0x2299d5--)(_0x2ffca7=_0x55d127[_0x2299d5])&&(_0x43d4b9=_0x2ffca7(_0x43d4b9)||_0x43d4b9);return _0x43d4b9;},_0x3bc235=(_0x2ab2d4,_0x1c155a)=>(_0x2cc1b5,_0x3d233a)=>_0x1c155a(_0x2cc1b5,_0x3d233a,_0x2ab2d4);let _0x51fd87=class extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(_0x28d704,_0x477cdd,_0x4e550e){const _0x4d8b6a=_0x1d6417;super(),_0x252021(this,_0x4d8b6a(0x290),new Map()),_0x252021(this,_0x4d8b6a(0x33a),new Map()),_0x252021(this,_0x4d8b6a(0x38a),!0x1),(this['_configService']=_0x28d704,this[_0x4d8b6a(0x2ba)]=_0x477cdd,this[_0x4d8b6a(0x2ca)]=_0x4e550e);}[_0x1d6417(0x20d)](){const _0x32ef05=_0x1d6417;this[_0x32ef05(0x38a)]=!0x0;}[_0x1d6417(0x469)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0xbdcbb=_0x1d6417;return this[_0xbdcbb(0x33a)];}[_0x1d6417(0x235)](){const _0x36f537=_0x1d6417;this['exhaustSavingTask']()['then'](()=>super[_0x36f537(0x235)]());}async[_0x1d6417(0x348)](_0x359b7f){const _0x4fc08d=_0x1d6417;return this['_disabled']?null:this[_0x4fc08d(0x2ba)][_0x4fc08d(0x436)](_0x11a8fb[_0x4fc08d(0x303)](_0x359b7f));}async['saveOfflineData'](_0x5f1bb6,_0x569d54){const _0x4e42a7=_0x1d6417;return!!this[_0x4e42a7(0x2ba)]['setItem'](_0x5f1bb6,_0x569d54);}[_0x1d6417(0x461)](_0x1056ed,_0x23315e,_0x6aa0c6,_0x3fd750){const _0x1f14eb=_0x1d6417,_0x1c4184=this[_0x1f14eb(0x2ca)][_0x1f14eb(0x410)](_0x1056ed);this[_0x1f14eb(0x290)][_0x1f14eb(0x38f)](_0x1056ed,{'unitID':_0x1056ed,'type':_0x23315e,'awaitingChangeset':_0x6aa0c6,'mutations':_0x3fd750,'rev':_0x1c4184}),this[_0x1f14eb(0x33a)]['has'](_0x1056ed)||this[_0x1f14eb(0x277)](_0x1056ed);}[_0x1d6417(0x277)](_0x4ecf99){const _0x2fc64d=_0x1d6417,_0xf3251e=this[_0x2fc64d(0x41f)]();_0xf3251e===0x0?this['_saveCache'](_0x4ecf99):this[_0x2fc64d(0x33a)][_0x2fc64d(0x38f)](_0x4ecf99,setTimeout(()=>this[_0x2fc64d(0x25c)](_0x4ecf99),_0xf3251e));}['_getSaveTimeout'](){const _0x1efe06=_0x1d6417;var _0x5c7771;return(_0x5c7771=this[_0x1efe06(0x491)][_0x1efe06(0x1f1)](_0x11a8fb[_0x1efe06(0x49f)]))!=null?_0x5c7771:_0x11a8fb[_0x1efe06(0x489)];}[_0x1d6417(0x25c)](_0x38e320){const _0x1a7dff=_0x1d6417,_0x16ef7d=this[_0x1a7dff(0x33a)][_0x1a7dff(0x2cc)](_0x38e320);return _0x16ef7d!==void 0x0&&window[_0x1a7dff(0x444)](_0x16ef7d),this[_0x1a7dff(0x2ba)][_0x1a7dff(0x2e9)](_0x11a8fb[_0x1a7dff(0x303)](_0x38e320),this[_0x1a7dff(0x290)]['get'](_0x38e320))[_0x1a7dff(0x1fd)](()=>this[_0x1a7dff(0x33a)][_0x1a7dff(0x2be)](_0x38e320));}async['exhaustSavingTask'](){const _0x5964b6=_0x1d6417,_0x5ee29a=[];this[_0x5964b6(0x33a)]['forEach']((_0x3b160c,_0x29c228)=>{const _0x18821f=_0x5964b6;window[_0x18821f(0x444)](_0x3b160c),_0x5ee29a['push'](this[_0x18821f(0x25c)](_0x29c228)[_0x18821f(0x1fd)](()=>{const _0x5374c5=_0x18821f;this[_0x5374c5(0x33a)][_0x5374c5(0x2be)](_0x29c228);}));}),await Promise[_0x5964b6(0x3be)](_0x5ee29a);}};_0x51fd87=_0x322b41([_0x3bc235(0x0,_0x4a3224[_0x1d6417(0x390)]),_0x3bc235(0x1,_0x4a3224[_0x1d6417(0x33c)]),_0x3bc235(0x2,_0x4a3224[_0x1d6417(0x1e3)](_0x316cd5[_0x1d6417(0x393)]))],_0x51fd87);class _0x57a3bc extends _0x4a3224[_0x1d6417(0x3e9)]{constructor(){const _0x4958bb=_0x1d6417;super(),_0x252021(this,_0x4958bb(0x357)),this['urlChange$']=_0x1ee8dd[_0x4958bb(0x314)](window,_0x4958bb(0x3a3))[_0x4958bb(0x3b2)](_0x1ee8dd[_0x4958bb(0x313)](this['dispose$']),_0x1ee8dd[_0x4958bb(0x322)](0x1),_0x1ee8dd[_0x4958bb(0x355)](void 0x0));}[_0x1d6417(0x353)](_0x39823d,_0x1fb398,_0x3fb5cb=!0x1){const _0x184fb=_0x1d6417,_0x3b598a=new URL(window[_0x184fb(0x214)][_0x184fb(0x3f4)]);_0x3b598a[_0x184fb(0x1f5)][_0x184fb(0x38f)](_0x39823d,_0x1fb398),_0x3fb5cb?window[_0x184fb(0x3a9)][_0x184fb(0x2ae)]('','',_0x3b598a[_0x184fb(0x39c)]()):window[_0x184fb(0x3a9)][_0x184fb(0x37d)]('','',_0x3b598a[_0x184fb(0x39c)]());}['removeParam'](_0x4e3c53,_0xe6b6f9=!0x1){const _0x35d078=_0x1d6417,_0x331849=new URL(window[_0x35d078(0x214)]['href']);_0x331849[_0x35d078(0x1f5)][_0x35d078(0x2be)](_0x4e3c53),_0xe6b6f9?window[_0x35d078(0x3a9)][_0x35d078(0x2ae)]('','',_0x331849[_0x35d078(0x39c)]()):window[_0x35d078(0x3a9)][_0x35d078(0x37d)]('','',_0x331849[_0x35d078(0x39c)]());}[_0x1d6417(0x2c2)](_0x2d2697){const _0x3d63eb=_0x1d6417;var _0x4e5dbb;return(_0x4e5dbb=new URL(window[_0x3d63eb(0x214)][_0x3d63eb(0x3f4)])[_0x3d63eb(0x1f5)][_0x3d63eb(0x2cc)](_0x2d2697))!=null?_0x4e5dbb:void 0x0;}}var _0x3aa386=Object[_0x1d6417(0x43f)],_0x4f062b=Object['getOwnPropertyDescriptor'],_0x16e22e=(_0x4ec068,_0x32aa3d,_0x4fc1d0)=>_0x32aa3d in _0x4ec068?_0x3aa386(_0x4ec068,_0x32aa3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fc1d0}):_0x4ec068[_0x32aa3d]=_0x4fc1d0,_0x42cc7b=(_0x304f2e,_0x53047f,_0x480473,_0x220842)=>{const _0x4c9595=_0x1d6417;for(var _0x14ecab=_0x220842>0x1?void 0x0:_0x220842?_0x4f062b(_0x53047f,_0x480473):_0x53047f,_0x24c02f=_0x304f2e[_0x4c9595(0x4ad)]-0x1,_0x178db2;_0x24c02f>=0x0;_0x24c02f--)(_0x178db2=_0x304f2e[_0x24c02f])&&(_0x14ecab=_0x178db2(_0x14ecab)||_0x14ecab);return _0x14ecab;},_0xc3ba33=(_0x19125e,_0x88398c)=>(_0x5060ea,_0x2fd8b6)=>_0x88398c(_0x5060ea,_0x2fd8b6,_0x19125e),_0x2e5f0b=(_0x1048d8,_0x343f33,_0x4ab904)=>_0x16e22e(_0x1048d8,_0x343f33+'',_0x4ab904);const _0xdc00d5=_0x1d6417(0x3ca);_0x596407[_0x1d6417(0x1e7)]=class extends _0x4a3224[_0x1d6417(0x244)]{constructor(_0x23cee2=_0x4225d2,_0x37984a,_0x56b046,_0x38bb05){const _0x28863d=_0x1d6417;super(),this[_0x28863d(0x3e5)]=_0x23cee2,this[_0x28863d(0x3bd)]=_0x37984a,this[_0x28863d(0x21a)]=_0x56b046,this[_0x28863d(0x491)]=_0x38bb05;const {..._0x563ba0}=_0x4a3224['merge']({},_0x4225d2,this[_0x28863d(0x3e5)]);this[_0x28863d(0x491)][_0x28863d(0x3d8)](_0x333031,_0x563ba0);}[_0x1d6417(0x479)](){const _0x4e8a15=_0x1d6417;this['_registerDependencies'](),this[_0x4e8a15(0x388)]();}[_0x1d6417(0x1fe)](){const _0x2e3c89=_0x1d6417;this[_0x2e3c89(0x22f)]();}['_registerDependencies'](){const _0x3bfdb3=_0x1d6417;var _0x45270f;const _0x77774e=[[_0x16fc83],[_0x191706],[_0x2488f9],[_0x4bfa20],[_0x416897],[_0x1fe4f7],[_0x56aa4e,{'useClass':_0x57a3bc}],[_0x199a1e[_0x3bfdb3(0x400)],{'useClass':_0x199a1e[_0x3bfdb3(0x39d)]}],[_0x11a8fb['ILocalCacheService'],{'useClass':_0x51fd87}],[_0x596407[_0x3bfdb3(0x4ae)]],[_0xcf1625],[_0x785c72],[_0xbcc260],[_0x101ee1],[_0x596407[_0x3bfdb3(0x47f)]]];this[_0x3bfdb3(0x3e5)][_0x3bfdb3(0x2ff)]&&_0x77774e['push']([_0x23851b]),_0x4a3224['registerDependencies'](this[_0x3bfdb3(0x21a)],_0x4a3224[_0x3bfdb3(0x27d)](_0x77774e,(_0x45270f=this[_0x3bfdb3(0x3e5)])==null?void 0x0:_0x45270f[_0x3bfdb3(0x389)]));}[_0x1d6417(0x22f)](){const _0x5138e9=_0x1d6417;this[_0x5138e9(0x48c)](this[_0x5138e9(0x3bd)][_0x5138e9(0x22c)](_0x4a3224[_0x5138e9(0x499)][_0x5138e9(0x3e1)],[_0x499386])),this[_0x5138e9(0x48c)](this['_renderManagerService'][_0x5138e9(0x22c)](_0x4a3224['UniverInstanceType'][_0x5138e9(0x327)],[_0x131f4b]));}[_0x1d6417(0x388)](){const _0x47575b=_0x1d6417;_0x4a3224[_0x47575b(0x484)](this[_0x47575b(0x21a)],[[_0xbcc260],[_0x596407[_0x47575b(0x4ae)]],[_0xcf1625],[_0x785c72],[_0x596407[_0x47575b(0x47f)]],[_0x191706]]),this[_0x47575b(0x3e5)]['enableFrontendLog']&&_0x4a3224[_0x47575b(0x484)](this[_0x47575b(0x21a)],[[_0x23851b]]);}},_0x2e5f0b(_0x596407[_0x1d6417(0x1e7)],'pluginName',_0xdc00d5),_0x596407[_0x1d6417(0x1e7)]=_0x42cc7b([_0x4a3224[_0x1d6417(0x3df)](_0x11a8fb['UniverCollaborationClientPlugin']),_0xc3ba33(0x1,_0x11b32e[_0x1d6417(0x1c9)]),_0xc3ba33(0x2,_0x4a3224['Inject'](_0x4a3224[_0x1d6417(0x3d1)])),_0xc3ba33(0x3,_0x4a3224[_0x1d6417(0x390)])],_0x596407['UniverCollaborationClientUIPlugin']);var _0x413028=Object[_0x1d6417(0x455)],_0x309c12=(_0x5921e1,_0x411214,_0x5ef8f7,_0x17aefa)=>{const _0x36de04=_0x1d6417;for(var _0x4fa5d7=_0x17aefa>0x1?void 0x0:_0x17aefa?_0x413028(_0x411214,_0x5ef8f7):_0x411214,_0x3cd540=_0x5921e1[_0x36de04(0x4ad)]-0x1,_0x30638b;_0x3cd540>=0x0;_0x3cd540--)(_0x30638b=_0x5921e1[_0x3cd540])&&(_0x4fa5d7=_0x30638b(_0x4fa5d7)||_0x4fa5d7);return _0x4fa5d7;},_0x468e65=(_0x110f57,_0x4f9d74)=>(_0x43ab34,_0x1249d2)=>_0x4f9d74(_0x43ab34,_0x1249d2,_0x110f57);_0x596407[_0x1d6417(0x48d)]=class extends _0x11a8fb['CollaborationSocketService']{constructor(_0xc623a7,_0x2cbbe0,_0x2f0309,_0x3c32f3,_0x2d8e30){super(_0xc623a7,_0x2cbbe0,_0x2f0309,_0x3c32f3,_0x2d8e30);}async[_0x1d6417(0x27f)](_0x559da5){const _0x4253cf=_0x1d6417,_0x135110=await this['_getSessionTicket'](),_0x262ada=this[_0x4253cf(0x41d)](_0x559da5,_0x135110);return this[_0x4253cf(0x4a7)](_0x262ada);}['_createSocketURL'](_0x122bf6,_0x4cd675){const _0x3cfc37=_0x1d6417,_0x34ca9e=typeof window>'u'?new URL(_0x122bf6):new URL(_0x122bf6,window[_0x3cfc37(0x214)][_0x3cfc37(0x317)]);_0x34ca9e[_0x3cfc37(0x1f5)][_0x3cfc37(0x38f)]('sessionTicket',_0x4cd675);const _0x5bfaa8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3cfc37(0x49e)]);return _0x5bfaa8[_0x3cfc37(0x2cc)](_0x3cfc37(0x3b1))&&_0x34ca9e[_0x3cfc37(0x1f5)][_0x3cfc37(0x38f)](_0x3cfc37(0x3b1),_0x5bfaa8[_0x3cfc37(0x2cc)]('runId')),_0x34ca9e[_0x3cfc37(0x39c)]();}async[_0x1d6417(0x1dd)](){const _0x2ba3f2=_0x1d6417;var _0xc30691,_0x45ae5f,_0x329ac4;const _0x5e30eb=this[_0x2ba3f2(0x491)][_0x2ba3f2(0x1f1)](_0x11a8fb[_0x2ba3f2(0x414)]),_0x1a4613=(_0xc30691=_0x5e30eb==null?void 0x0:_0x5e30eb[_0x2ba3f2(0x2d0)])!=null?_0xc30691:_0x11a8fb[_0x2ba3f2(0x421)];return(_0x329ac4=(_0x45ae5f=(await this[_0x2ba3f2(0x46e)][_0x2ba3f2(0x2cc)](_0x1a4613,{'headers':{'Content-Type':_0x2ba3f2(0x328)}}))[_0x2ba3f2(0x411)])==null?void 0x0:_0x45ae5f[_0x2ba3f2(0x39e)])!=null?_0x329ac4:'';}},_0x596407['BrowserCollaborationSocketService']=_0x309c12([_0x468e65(0x0,_0x4a3224[_0x1d6417(0x1e3)](_0x4a3224['Injector'])),_0x468e65(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x199a1e[_0x1d6417(0x2ab)])),_0x468e65(0x2,_0x4a3224[_0x1d6417(0x390)]),_0x468e65(0x3,_0x4a3224[_0x1d6417(0x29c)]),_0x468e65(0x4,_0x316cd5[_0x1d6417(0x30f)])],_0x596407[_0x1d6417(0x48d)]);var _0x12e40e=Object[_0x1d6417(0x455)],_0x3c4dd9=(_0x32a8c0,_0x22465f,_0x1dbf19,_0x2beb07)=>{const _0x2a41ab=_0x1d6417;for(var _0xc36e7=_0x2beb07>0x1?void 0x0:_0x2beb07?_0x12e40e(_0x22465f,_0x1dbf19):_0x22465f,_0x43c2b2=_0x32a8c0[_0x2a41ab(0x4ad)]-0x1,_0xbe0287;_0x43c2b2>=0x0;_0x43c2b2--)(_0xbe0287=_0x32a8c0[_0x43c2b2])&&(_0xc36e7=_0xbe0287(_0xc36e7)||_0xc36e7);return _0xc36e7;},_0x2ae878=(_0x2d78f9,_0x244300)=>(_0x136671,_0x24bd0e)=>_0x244300(_0x136671,_0x24bd0e,_0x2d78f9);_0x596407[_0x1d6417(0x253)]=class extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(_0x2ef106,_0x5672c3,_0x541847){const _0x1dc9d4=_0x1d6417;super(),this[_0x1dc9d4(0x20c)]=_0x2ef106,this[_0x1dc9d4(0x46e)]=_0x5672c3,this[_0x1dc9d4(0x491)]=_0x541847;}async[_0x1d6417(0x398)](_0xadc68f,_0x557e31,_0x18eb67,..._0x3550f0){const _0x43154e=_0x1d6417;var _0x4356e4,_0x2626f7,_0x279845,_0x3c5bd5;const _0x12586d=this[_0x43154e(0x20c)][_0x43154e(0x3ce)]();if(!_0x12586d)throw new Error(_0x43154e(0x1cf));const _0x3e0c40=((_0x4356e4=this[_0x43154e(0x491)][_0x43154e(0x1f1)](_0x11a8fb['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4356e4:_0x11a8fb['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xadc68f+_0x43154e(0x282)+_0x557e31,_0x4d13de=new URL(window[_0x43154e(0x214)][_0x43154e(0x3f4)]),_0x304302={'scriptId':_0xadc68f,'runId':(_0x2626f7=_0x4d13de[_0x43154e(0x1f5)][_0x43154e(0x2cc)](_0x43154e(0x3b1)))!=null?_0x2626f7:'','function':_0x557e31,'unitId':_0x12586d[_0x43154e(0x30a)](),'argsOfFunction':JSON[_0x43154e(0x28d)](_0x3550f0),'invokeId':(_0x279845=_0x18eb67[_0x43154e(0x3ff)])!=null?_0x279845:'','executionId':(_0x3c5bd5=_0x18eb67[_0x43154e(0x33f)])!=null?_0x3c5bd5:''};try{const _0x28369b=await this[_0x43154e(0x46e)][_0x43154e(0x2c1)](_0x3e0c40,{'body':_0x304302});return _0x28369b[_0x43154e(0x411)][_0x43154e(0x44e)]&&_0x28369b[_0x43154e(0x411)][_0x43154e(0x44e)][_0x43154e(0x1ee)]!==_0x41fca7['OK']?'Failed':_0x28369b['body'][_0x43154e(0x336)];}catch{return _0x43154e(0x3e8);}}},_0x596407[_0x1d6417(0x253)]=_0x3c4dd9([_0x2ae878(0x0,_0x4a3224[_0x1d6417(0x269)]),_0x2ae878(0x1,_0x4a3224[_0x1d6417(0x1e3)](_0x199a1e[_0x1d6417(0x2ab)])),_0x2ae878(0x2,_0x4a3224[_0x1d6417(0x390)])],_0x596407[_0x1d6417(0x253)]);const _0x26456a=0x7530,_0x138df9=_0x1d6417(0x2bd);class _0x129b08 extends _0x4a3224[_0x1d6417(0x3bc)]{constructor(){const _0x4cf8b6=_0x1d6417;super(),_0x252021(this,'_id',_0x4a3224['generateRandomId']()),_0x252021(this,_0x4cf8b6(0x401),new Set()),_0x252021(this,_0x4cf8b6(0x2b7),new Map()),_0x252021(this,_0x4cf8b6(0x3da),null),_0x252021(this,_0x4cf8b6(0x2f5),new Map()),_0x252021(this,_0x4cf8b6(0x365),new Map()),this[_0x4cf8b6(0x412)]();}[_0x1d6417(0x235)](){const _0x318568=_0x1d6417;super[_0x318568(0x235)](),this[_0x318568(0x2f5)][_0x318568(0x2ee)]((_0x27469a,_0x35bc41)=>this['_removeClearOtherTimer'](_0x35bc41)),this['_heartbeatTimer']&&window[_0x318568(0x2a1)](this[_0x318568(0x3da)]);}[_0x1d6417(0x318)](_0x45f60f){const _0x342e79=_0x1d6417;return this[_0x342e79(0x3f0)](_0x45f60f)['pipe'](_0x1ee8dd[_0x342e79(0x205)]());}[_0x1d6417(0x36d)](_0x4da787){const _0x18168f=_0x1d6417;this[_0x18168f(0x401)][_0x18168f(0x2d5)]===0x0&&this[_0x18168f(0x478)](),this[_0x18168f(0x401)][_0x18168f(0x3a1)](_0x4da787),this[_0x18168f(0x36b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4da787],'isForwarded':!0x1});}['disposeUnit'](_0x179b7b){const _0x59e440=_0x1d6417;this[_0x59e440(0x401)][_0x59e440(0x2be)](_0x179b7b),this[_0x59e440(0x401)][_0x59e440(0x2d5)]===0x0&&this[_0x59e440(0x3da)]&&window[_0x59e440(0x2a1)](this[_0x59e440(0x3da)]);}[_0x1d6417(0x412)](){const _0x3f040c=_0x1d6417;this[_0x3f040c(0x48c)](_0x4a3224[_0x3f040c(0x4a1)](_0x1ee8dd[_0x3f040c(0x314)](window,_0x3f040c(0x448))[_0x3f040c(0x200)](_0xeac458=>{const _0xb90d2b=_0x3f040c;if(_0xeac458[_0xb90d2b(0x4af)]!==_0x138df9||!_0xeac458[_0xb90d2b(0x1e5)])return;const _0x4d51b2=JSON[_0xb90d2b(0x236)](_0xeac458[_0xb90d2b(0x1e5)]);this[_0xb90d2b(0x3e0)](_0x4d51b2);}))),window[_0x3f040c(0x1ff)](_0x3f040c(0x42c),()=>this[_0x3f040c(0x36b)]({'type':0x1,'memberID':this[_0x3f040c(0x24a)],'unitIDs':Array[_0x3f040c(0x209)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x13f262){const _0x130ce9=_0x1d6417;switch(_0x13f262[_0x130ce9(0x234)]){case 0x0:this[_0x130ce9(0x247)](_0x13f262);break;case 0x1:this[_0x130ce9(0x28f)](_0x13f262);break;case 0x2:this[_0x130ce9(0x1c8)](_0x13f262);break;}}[_0x1d6417(0x247)](_0x4859e1){const _0x23e834=_0x1d6417,{unitIDs:_0x58be3e,memberID:_0x655bb3,isForwarded:_0x408443}=_0x4859e1;_0x58be3e[_0x23e834(0x2ee)](_0x5a82fb=>{const _0x3a7cf4=_0x23e834;if(!_0x408443&&this[_0x3a7cf4(0x2b7)]['has'](_0x5a82fb)&&this[_0x3a7cf4(0x3f0)](_0x5a82fb)[_0x3a7cf4(0x2b1)](_0x11a8fb[_0x3a7cf4(0x28b)][_0x3a7cf4(0x3ba)]),!this['_unitOnClients'][_0x3a7cf4(0x433)](_0x5a82fb)||!this[_0x3a7cf4(0x2b7)]['get'](_0x5a82fb)[_0x3a7cf4(0x433)](_0x655bb3)){const _0x409ee8=this[_0x3a7cf4(0x2b7)][_0x3a7cf4(0x2cc)](_0x5a82fb)||new Set();_0x409ee8[_0x3a7cf4(0x3a1)](_0x655bb3),this['_unitOnClients'][_0x3a7cf4(0x38f)](_0x5a82fb,_0x409ee8),this[_0x3a7cf4(0x3d7)](_0x655bb3);}}),_0x408443||this[_0x23e834(0x36b)]({'type':0x0,'memberID':this[_0x23e834(0x24a)],'unitIDs':[...this[_0x23e834(0x401)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ddb67){const _0x5dbf3d=_0x1d6417;this[_0x5dbf3d(0x37f)](_0x4ddb67);const _0x44066a=window[_0x5dbf3d(0x321)](()=>{const _0x46316e=_0x5dbf3d;this['_unitOnClients'][_0x46316e(0x2ee)](_0x5540cb=>{const _0x5a9562=_0x46316e;_0x5540cb[_0x5a9562(0x2be)](_0x4ddb67);});},_0x26456a*0x2);this['_clearOtherTimers']['set'](_0x4ddb67,_0x44066a);}[_0x1d6417(0x37f)](_0x364917){const _0x9a9321=_0x1d6417;if(this[_0x9a9321(0x2f5)][_0x9a9321(0x433)](_0x364917)){const _0xacd18e=this[_0x9a9321(0x2f5)][_0x9a9321(0x2cc)](_0x364917);_0xacd18e&&window[_0x9a9321(0x444)](_0xacd18e),this[_0x9a9321(0x2f5)][_0x9a9321(0x38f)](_0x364917,null);}}[_0x1d6417(0x28f)](_0x15ad60){const _0x1afaae=_0x1d6417,{memberID:_0x10de7e,unitIDs:_0x5747e5}=_0x15ad60;_0x5747e5['forEach'](_0x1cd3cd=>{const _0x18e727=_0x1b23;var _0x35634b;const _0x368125=this[_0x18e727(0x2b7)]['get'](_0x1cd3cd);_0x368125&&(_0x368125[_0x18e727(0x2be)](_0x10de7e),(_0x35634b=this[_0x18e727(0x3f0)](_0x1cd3cd))==null||_0x35634b[_0x18e727(0x2b1)](_0x368125[_0x18e727(0x2d5)]===0x0?_0x11a8fb[_0x18e727(0x28b)][_0x18e727(0x406)]:_0x11a8fb['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x1afaae(0x37f)](_0x10de7e);}[_0x1d6417(0x1c8)](_0x56abe7){this['_scheduleClearOtherTimer'](_0x56abe7['memberID']);}[_0x1d6417(0x36b)](_0x57c1d5){const _0x45707b=_0x1d6417;localStorage[_0x45707b(0x2e9)](_0x138df9,JSON[_0x45707b(0x28d)](_0x57c1d5));}[_0x1d6417(0x478)](){const _0xf2d737=_0x1d6417;this['_heartbeatTimer']=window[_0xf2d737(0x451)](()=>{const _0xf1a872=_0xf2d737;this['_send']({'type':0x2,'memberID':this[_0xf1a872(0x24a)]});},_0x26456a);}['_ensureSubject'](_0x272ac3){const _0x28398f=_0x1d6417;return this['_unitStatus'][_0x28398f(0x433)](_0x272ac3)||this[_0x28398f(0x365)][_0x28398f(0x38f)](_0x272ac3,new _0x1ee8dd[(_0x28398f(0x3ab))](_0x11a8fb[_0x28398f(0x28b)][_0x28398f(0x406)])),this[_0x28398f(0x365)][_0x28398f(0x2cc)](_0x272ac3);}}_0x596407[_0x1d6417(0x2ec)]=_0x56aa4e,_0x596407[_0x1d6417(0x1d9)]=_0x96abfc,_0x596407['WebBrowserSingleActiveUnitService']=_0x129b08,_0x596407[_0x1d6417(0x29f)]=_0x57a3bc,Object[_0x1d6417(0x43f)](_0x596407,Symbol[_0x1d6417(0x481)],{'value':'Module'});}));
|
|
1
|
+
function _0x3aed(_0x58625f,_0x3e7034){const _0x2e698d=_0x2e69();return _0x3aed=function(_0x3aed30,_0x324e12){_0x3aed30=_0x3aed30-0x195;let _0xb3e0b1=_0x2e698d[_0x3aed30];return _0xb3e0b1;},_0x3aed(_0x58625f,_0x3e7034);}function _0x2e69(){const _0x17bdb0=['UniverProCollaboration','undoState','AWAITING_WITH_PENDING','round','_initUnhandledRejectionListener','ENTITLE_NEED_BILLING_ADDRESS','subscribe','getColor','RemoveRowCommandId','whenReady','_logService','[CollaborationDataLoaderController]','none','releaseFormulaLimitUrl','search','UniverInstanceType','moveTo','_clearPolling','8VdIgPB','fromEvent','_handleHeartbeatEvent','IImageIoService','cursorInfo$','DocSkeletonManagerService','transformMutationsWithChangeset','NOT_COLLAB','ISnapshotServerService','unshift','setActiveRange','UniverEngineFormula','@univerjs/ui','idSuffix','collab-text-anchor-','MemberService','_lastPointer','_maxFormulaLimit','_docSkeleton','_collabSessionService','_render','Success','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/engine-render','add','USER_IS_ANONYMOUS','toString','DocIMEInputManagerService','disableLocalCache','getVpScrollXYInfoByPosToVp','APPLY_DUPLICATED','_showGuardMessage','ThemeService','INVITE_CODE_HAS_BEEN_UES','takeUntil','IUIPartsService','RemoteUniscriptService','handleInsertRow','_session','_updateLocalCursor','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','useObservable','/run/','hide','handleDeleteRangeMoveLeft','PAYMENT_CHANNEL_NOT_SUPPORT','flatMap','_initDependencies','IUniverInstanceService','deepClone','requireSession','getRangePointData','IRenderManagerService','dirtyRanges','SYNCED','univer-mr-2\x20univer-flex\x20univer-text-xl','endRow','/universer-api/frontend/logs','getUndoRedoMutationParamsCache','DeleteRangeMoveLeftCommandId','_initStatusComponent','stringify','_handleLeaveEvent','ALREADY_EXISTS','length','_uploadLog','_updateSubUnitFromURLParams','sessionStatus$','doc.mutation.rich-text-editing','IMessageService','setItem','collaboration.closeRoom','Shape','saveImage','_releaseCalculationLimit','_themeService','getFocusedUnit','drawWith','ENTITLE_DUP_SUBSCRIPTION','white','translate(.97)','fill','fillStyle','ENSURE_SNAPSHOT_EXECUTION','509469ZMIVxa','_drawRectRange','@univerjs/design','UniverCore','override','onPointerMove$','makeDirty','onPointerLeave$','cursorInfo','_startDocCollabCursor','/universer-api/license/formula/limit/done','SNAPSHOT_HAS_BEEN_REMOVED','runOnServer','useDependency','YUUMI_ALL_TABLES_IS_INVALID','SHEET_VIEWPORT_KEY','Rectangle','_handleHover','_startSheetCollabCursor','APPLY_REVISION_CONFILICT','FETCH_MISS','getOwnPropertyDescriptor','shift','_collabCursorState$','@univerjs/docs-ui','stage','m2Prime','_setFormulaLimitStatus','name','isFormulaString','amd','YUUMI_URL_COL_OUT_OF_RANGE','serializeRangeWithSheet','Inject','send','event$','current','selections','_docTransformSelectionsService','_renderManagerService','transformRemoteChangeset','_getSheetObject','_initWindowErrorListener','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','SetDocZoomRatioOperation','m1Prime','_handleEvent','getStateCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ONLINE','_drawAnchor','defineProperty','getUnit','throttleTime','_anchorDot','21332349yffMxn','unitID','DocSelectionManagerService','_init','href','_heartbeatTimer','startRow','roomMembers$','getCollabCursors$','useCallback','div','object','660520pkHxcE','get','invokeId','getLocalCacheKey','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','Plugin','generateRandomId','addObject','onTransformChange$','getMemberID','RegularPolygon','includes','USERS_LEAVE','evenodd','getUnitStatus$','collabStatus.syncing','RxDisposable','params','currentTheme$','PENDING','application/json','Warning','text','executeCommand','SheetCollabCursorShape','_saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getformulaLimitStatusUrl','REDEMPTION_USER_REDEEM_TIMES_EXCEED','addEventListener','_selfUnitIDs','colorChannel1','getSkeleton','saveTaskMap','labelPosition','defs','REDEMPTION_USER_NOT_ELIGIBLE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','31381cMDyAF','children','pushState','tag','has','getDocRanges','_name','subunit','OTHER_CLIENTS_EDITING','_unitStatus','green.600','history','YUUMI_UNABLE_LOAD_URL','_clearOtherTimers','_httpService','CollaborationEvent','_memberID','InsertRowCommandId','distinctUntilChanged','clipPath','max','SheetsSelectionsService','startFormulaLimitUrl','CONNECTOR_DATA_TOO_LARGE','TOO_MANY_REQUESTS','asObservable','SetFormulaCalculationNotificationMutation','skeleton','MoveRangeCommandId','debounceTime','_scheduleClearOtherTimer','_getAnchorBounding','JOIN_ROOM_FAILED','_unitOnClients','clearTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','LOCAL_CACHE_INTERVAL_KEY','arc','DisposableCollection','CollaborationSessionService','_messageService','APPLY_REJECT','_notificationService','height','InsertRangeMoveRightCommandId','collaboration-client-ui.config','restore','_toggleOffline','_checkAndWaitForCalculationPermission','bind','ILocalStorageService','on-line-icon','attrs','APPLY_NON_SEQUENTIAL_REVISION','_entities','_cursorInfo$','session.collaboration-timeout','_dataLoaderService','use','_revisionService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','newValue','_transformHistoryAndStateStack','CollaborationUIEventId','_initUserListener','message','some','Failed','getCurrent','...','purple.300','react','ColorKit','code','LICENSE_EXPORT_SIZE_EXCEEDED','getCurrentUnitForType','FromArray','status$','isFormulaId','DeleteRangeMoveUpCommandId','svg','row','updateOfflineData','_scheduleHeartbeat','WebSocketService','_refRangeService','_transformService','YUUMI_RATE_OVER_LIMIT','@univerjs/drawing','_currentUsage','eventID','executionId','onPointerEnter$','addObjects','Module','YUUMI_NO_CUBOID_FOR_QUESTION','setParam','collaboration.single-unit.warning','UNRECOGNIZED','_config','ICommandService','combineLatest','range','getConfig','_getSaveTimeout','getCurrentRevOfUnit','roomMembers','mask','_range','reconnect','_disabled','getCellPositionByOffset','touchDependencies','SheetSkeletonManagerService','activeSheet$','SetWorksheetActivateCommand','_online','REDEMPTION_CODE_NOT_STARTED','isActive','M0\x200H16V16H0z','getMember','_updateURLWithCurrentState','_status$','forwardRef','startsWith','getCurrentSelections','9266904WBINQZ','_removeCollabCursors','RECT','WebBrowserSingleActiveUnitService','disposeUnit','HTTPService','show','session.will-retry','handleMoveRange','EffectRefRangId','isArray','_cachedData','forEach','on-line-icon_clip0_910_349','collabStatus.notCollab','_localCacheService','Subject','random','init','setConfig','fillText','off-line-icon_clip0_910_343','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','all','_scene','imageSourceType','collab-client.tooltip.reconnect','_cursors','stack','displayName','jsx','bottom','focused$','_drawTextRange','0\x200\x2017\x2016','VIEW_MAIN','replaceState','ranges','getMergeData','RevisionService','assign','formula.calculation.unable','_collaborationUIEventService','_getSessionTicket','_cursor','pluginName','INotificationService','5387505SVuzat','push','Unknown\x20user','_localeService','memberID','getRelativeToViewportCoord','collabStatus.conflict','subUnitId','_transformUndoRedoStack','_labelPosition','unhandledrejection','_updateCollabCursors','UnitStatus','[LogService\x20Error]:\x20','_handleJoinEvent','ACTIVE_UNIT_EVENT_CHANNEL','path','resize','toStringTag','2797024HACxIH','getActiveSheet','_getMergeRange','_refreshCollabCursors','getValue','NodePositionConvertToRectRange','_getFormulaLimitStatus','UniverDesign','CollaborationSocketService','subscribeEvent','replaceDocRanges','_doCreateSocket','toRgbString','_anchor','?taskId=','getSheetId','InsertColCommandId','transformIMECache','LocaleService','_id','entries','REDEMPTION_INVALID_CODE','YUUMI_AI_RUN_FAILED','UNIVER_DOC','collabStatus.synced','operators','IURLService','findNodePositionByCharIndex','popstate','_registerRenderDependencies','COMPLETION_FINISHED','InsertRangeMoveDownCommandId','_urlService','find','dispose','126KzPLHG','SetFormulaCalculationStartMutation','_setupSubUnitSync','MUTATION','min','mutations','Error','unload','measureText','rgba(255,\x20255,\x20255,\x200.01)','beginPath','CLOSE_ROOM','INVITE_CODE_REQUIRED','@univerjs/sheets-ui','blue.400','merge','getUnitId','registerRefRange','UNDEFINED','top','getItem','selection','transform','_memberService','collabCursorState$','_docTransformStateCacheService','DATA_SOURCE_TOO_LARGE','_taskIds','_draw','TEXT_RANGE_LAYER_INDEX','DataLoaderService','collaboration-client.offline-data-not-saved','CollaborationDataLoaderController','parseInt','searchParams','map','engine','parse','_registerDependencies','/universer-api/license/formula/limit/status','Rect','_configService','UniverNetwork','_backgroundColor','CONFLICT','values','TEXT','UniverProCollaborationClientUi','[Unhandled\x20Rejection]:\x20','split','SUCCESS','exhaustSavingTask','then','CollaborationController','RichTextEditingMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','HEADER_MENU','_colorAssignService','React','onCommandExecuted','_onCursorDelete','Injector','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_assignedColors','APPLY_PERMISSION_DENIED','_createSocketURL','deserializeRangeWithSheet','debounce','jsxs','save','BrowserCollaborationSocketService','_hideTimer','functionsExecutedState','_pollingInterval','setStateCache','replace','collabStatus.offline','_hovered','UNIVER_SHEET','OFFLINE','ILocalCacheService','WECHAT_HAS_BEEN_BOUND','_toggleOnline','handleInsertRangeMoveRight','INVALID_ARGUMENT','handleInsertRangeMoveDown','useRef','@univerjs/sheets','mapTo','_checkCalculationAvailable','getCellMatrix','origin','syncEditingCollabCursor','setUndoRedoMutationParamsCache','_cursorShapes','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RefRangeService','addClipboardHook','delete','_color','setAlpha','ticket','getRenderById','symbol','CHANGESET_REVISION_CONFILICT','getTypeOfUnitDisposed$','_eventUnsubscribe','handleIRemoveCol','red.300','_entityInit$','beforeCommandExecuted','ENTITLE_INSUFFICIENT_QUOTA','@univerjs-pro/collaboration','DocStateChangeManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CURRENT_STATUS_CANNOT_OPERATE','pipe','_applyCommand','collabStatus.fetchMiss','0\x200\x2016\x2016','1em','debug','UniverEngineRender','urlChange$','SOCKET_FAILED','set','setInterval','getColorFromTheme','registerRenderModule','xlink:href','_initCommandInterceptor','FormulaExecuteStageType','OnLineIcon','with','_onRefRangeChange','_instanceService','CommandType','unitId','isEditing','join','post','Disposable','CollaborationStatus','UniverCollaborationClientUIPlugin','unit','_syncEditingCollabCursorService','getSheetBySheetId','_saveCache','transformSelections','actions','_collabCursorController','_docSkeletonManagerService','_initEntityListener','error','_docStateChangeManagerService','getCoordByCell','PERMISSION_DENIED','jiqing.500','ENTITLE_REPORT_LIMIT_EXCEED','_univerInstanceService','transformMutation','runId','DesktopCollaborationStatusDisplayController','width','MOBILE_HAS_BEEN_BOUND','_injector','univerjs-icon\x20univerjs-icon-','setShapeProps','source','_textBubble','COLORS','SessionStatus','_lastResponseTimestamp','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheets','black','switchMap','startColumn','textRanges','AUTHORIZE_CODE_ILLEGAL','column','onRendered','hovered','UniverSheetsUi','_shapes','shareReplay','isTransformMutationFailure','_startCalculationLimit','_colorIndex','addHandlerCallback','LOGIN_FAILED','getSheetObject','redoState','loadOfflineData','assignAColorForMemberID','getUniverSheetInstance','_roomMembers$','toDisposable','LOGIN_TOKEN_PROCESSING_FAILED','currentSkeleton$','_initResize','_imageIoService','_onCursorUpdate','_ensureSubject','createElement','now','_send','handleInsertCol','http://www.w3.org/2000/svg','_docTransformIMECacheService','color','BehaviorSubject','REDEMPTION_CODE_HAS_BEEN_CREATED','type','UniverProCollaborationClient','MessageType','UPDATE_CURSOR','sessionTicket','EMAIL_VERIFY_CODE_MISMATCH','ITransformService','registerComponent','enableFrontendLog','IRemoteInstanceService','removeEventListener','LICENSE_MAX_UNITS_EXCEEDED','location','body','data','exports','font','sheetID','DOC_RANGE_TYPE','_context','_setupBeforeClosingHandler','getOffsetConfig','@univerjs/engine-formula','getUnhiddenWorksheets','IConfigService','closePath','_scheduleSaving','size','limitInfo','_sheetSkeletonManagerService','SetTextSelectionsOperation','isTransformMutationsWithChangesetSuccess','onMouseMove','_hasFormulaInDirtyRanges','REDEMPTION_CODE_INACTIVE','string','reason','formula.calculation.waiting','session.connection-failed','_initEvent','UniverDocsUi','UniverDocs','ILogService','/universer-api/license/formula/limit/start','PY_RUNTIME_SCRIPT_ERROR','_uiPartsService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','permission.content','dispose$','_getScale','NOT_FOUND','endColumn','_localStorageService','_monkeyPatchLogService','UniverDrawing','filter','ISocketService','_transformPreviousActiveRange','INVITE_CODE_ALREADY_BOUND','transformStateCache','_collaborationSessionService','rxjs/operators','INTERNAL_ERROR','_hover','getParam','rxjs','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SUBMIT_CHANGESET_TIMEOUT','unsubscribe','complete','_commandService','createInstance','function','setTimeout','Tools','getAncestorScale','lineTo','disposeWithMe','socket$','_docSyncEditingCollabCursorService','_initCommandExecutedListener','_beforeCloseService','next','MOBILE_VERIFY_CODE_MISMATCH','getActiveRange','removeParam','Vector2','storage','USER_NOT_FOUND','INVALID_INVITE_CODE','fromEventSubject','from','univer-flex\x20univer-items-center','UNAUTHENTICATED'];_0x2e69=function(){return _0x17bdb0;};return _0x2e69();}(function(_0x3fca90,_0x569736){const _0x5b88df=_0x3aed,_0x582ec2=_0x3fca90();while(!![]){try{const _0x307009=parseInt(_0x5b88df(0x334))/0x1+parseInt(_0x5b88df(0x29c))/0x2*(parseInt(_0x5b88df(0x2f1))/0x3)+-parseInt(_0x5b88df(0x41b))/0x4+parseInt(_0x5b88df(0x408))/0x5+-parseInt(_0x5b88df(0x43e))/0x6*(-parseInt(_0x5b88df(0x35b))/0x7)+parseInt(_0x5b88df(0x3d9))/0x8+-parseInt(_0x5b88df(0x328))/0x9;if(_0x307009===_0x569736)break;else _0x582ec2['push'](_0x582ec2['shift']());}catch(_0x10f20a){_0x582ec2['push'](_0x582ec2['shift']());}}}(_0x2e69,0x928ee),function(_0x3c7234,_0x2f3100){const _0x1902d9=_0x3aed;typeof exports==_0x1902d9(0x333)&&typeof module<'u'?_0x2f3100(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==_0x1902d9(0x274)&&define[_0x1902d9(0x30f)]?define([_0x1902d9(0x239),'react/jsx-runtime','@univerjs-pro/collaboration-client','@univerjs/core',_0x1902d9(0x2a8),_0x1902d9(0x26b),_0x1902d9(0x2f3),_0x1902d9(0x3a2),'@univerjs/rpc',_0x1902d9(0x1ac),_0x1902d9(0x2b3),'@univerjs/network',_0x1902d9(0x309),_0x1902d9(0x3b3),_0x1902d9(0x1c5),'@univerjs/docs',_0x1902d9(0x240),_0x1902d9(0x267),_0x1902d9(0x44b)],_0x2f3100):(_0x3c7234=typeof globalThis<'u'?globalThis:_0x3c7234||self,_0x2f3100(_0x3c7234[_0x1902d9(0x46d)]={},_0x3c7234[_0x1902d9(0x478)],_0x3c7234[_0x1902d9(0x22b)],_0x3c7234[_0x1902d9(0x2f4)],_0x3c7234['UniverUi'],_0x3c7234[_0x1902d9(0x26b)],_0x3c7234[_0x1902d9(0x422)],_0x3c7234[_0x1902d9(0x478)],_0x3c7234['UniverRpc'],_0x3c7234[_0x1902d9(0x203)],_0x3c7234[_0x1902d9(0x1cf)],_0x3c7234[_0x1902d9(0x468)],_0x3c7234[_0x1902d9(0x252)],_0x3c7234[_0x1902d9(0x260)],_0x3c7234[_0x1902d9(0x28a)],_0x3c7234[_0x1902d9(0x253)],_0x3c7234[_0x1902d9(0x2a7)],_0x3c7234['rxjs'][_0x1902d9(0x434)],_0x3c7234[_0x1902d9(0x20c)]));}(this,function(_0x59cddf,_0x3436bf,_0x30f49a,_0x22ce22,_0x2b7bff,_0x32e4d0,_0x569a72,_0x3caf8f,_0x2f41c0,_0x3d5699,_0x45b49d,_0x92f5d3,_0x449f6a,_0x398275,_0x5c6274,_0x506cee,_0x64210c,_0x3d627d,_0x198761){'use strict';const _0x5e2413=_0x3aed;var _0x4d2615=Object[_0x5e2413(0x324)],_0x5e17a6=(_0x34d2cf,_0x8ee740,_0x36e0d6)=>_0x8ee740 in _0x34d2cf?_0x4d2615(_0x34d2cf,_0x8ee740,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e0d6}):_0x34d2cf[_0x8ee740]=_0x36e0d6,_0xb5e805=(_0x42bc71,_0x42e7c4,_0x256c9a)=>_0x5e17a6(_0x42bc71,typeof _0x42e7c4!=_0x5e2413(0x1bc)?_0x42e7c4+'':_0x42e7c4,_0x256c9a);function _0x396746({ref:_0x1efed4,..._0x4d50e2}){const _0x41e3e5=_0x5e2413,{icon:_0x470c77,id:_0x3120f8,className:_0x492f9e,extend:_0x4cd85c,..._0x7550e0}=_0x4d50e2,_0x1d781a=(_0x41e3e5(0x1fb)+_0x3120f8+'\x20'+(_0x492f9e||''))['trim'](),_0x3e4b61=_0x3caf8f[_0x41e3e5(0x1ab)]('_'+_0x558999());return _0xe41c90(_0x470c77,''+_0x3120f8,{'defIds':_0x470c77['defIds'],'idSuffix':_0x3e4b61[_0x41e3e5(0x315)]},{'ref':_0x1efed4,'className':_0x1d781a,..._0x7550e0},_0x4cd85c);}function _0xe41c90(_0x2bd351,_0x358015,_0x848dd8,_0x533714,_0x52ed07){const _0x546b45=_0x5e2413;return _0x3caf8f[_0x546b45(0x221)](_0x2bd351[_0x546b45(0x35e)],{'key':_0x358015,..._0x2b77b7(_0x2bd351,_0x848dd8,_0x52ed07),..._0x533714},(_0x1b67a1(_0x2bd351,_0x848dd8)[_0x546b45(0x35c)]||[])[_0x546b45(0x461)]((_0x42ed70,_0x412477)=>_0xe41c90(_0x42ed70,_0x358015+'-'+_0x2bd351['tag']+'-'+_0x412477,_0x848dd8,void 0x0,_0x52ed07)));}function _0x2b77b7(_0x9b734a,_0x4bf171,_0xca60c3){const _0x51aa92=_0x5e2413,_0xb7afba={..._0x9b734a[_0x51aa92(0x38f)]};_0xca60c3!=null&&_0xca60c3[_0x51aa92(0x354)]&&_0xb7afba[_0x51aa92(0x2ee)]==='colorChannel1'&&(_0xb7afba['fill']=_0xca60c3[_0x51aa92(0x354)]),_0x9b734a['tag']===_0x51aa92(0x3c6)&&_0xb7afba['id']&&(_0xb7afba['id']=_0xb7afba['id']+_0x4bf171[_0x51aa92(0x2a9)]),Object[_0x51aa92(0x42f)](_0xb7afba)[_0x51aa92(0x3e5)](([_0x347023,_0x4d3253])=>{const _0x156e8=_0x51aa92;_0x347023===_0x156e8(0x3c6)&&typeof _0x4d3253==_0x156e8(0x24d)&&(_0xb7afba[_0x347023]=_0x4d3253[_0x156e8(0x1a0)](/url\(#(.*)\)/,'url(#$1'+_0x4bf171[_0x156e8(0x2a9)]+')'));});const {defIds:_0x7457d2}=_0x4bf171;return!_0x7457d2||_0x7457d2[_0x51aa92(0x2dd)]===0x0||(_0x9b734a['tag']===_0x51aa92(0x395)&&_0xb7afba['xlink:href']&&(_0xb7afba[_0x51aa92(0x1d6)]=_0xb7afba[_0x51aa92(0x1d6)]+_0x4bf171[_0x51aa92(0x2a9)]),Object['entries'](_0xb7afba)[_0x51aa92(0x3e5)](([_0x433162,_0x3ab8d7])=>{const _0x3df580=_0x51aa92;typeof _0x3ab8d7==_0x3df580(0x24d)&&(_0xb7afba[_0x433162]=_0x3ab8d7[_0x3df580(0x1a0)](/url\(#(.*)\)/,'url(#$1'+_0x4bf171['idSuffix']+')'));})),_0xb7afba;}function _0x1b67a1(_0x1b23c7,_0x335c33){const _0x3a3227=_0x5e2413;var _0x163ef0;const {defIds:_0xbdeae0}=_0x335c33;return!_0xbdeae0||_0xbdeae0[_0x3a3227(0x2dd)]===0x0?_0x1b23c7:_0x1b23c7[_0x3a3227(0x35e)]===_0x3a3227(0x358)&&((_0x163ef0=_0x1b23c7['children'])!=null&&_0x163ef0[_0x3a3227(0x2dd)])?{..._0x1b23c7,'children':_0x1b23c7[_0x3a3227(0x35c)][_0x3a3227(0x461)](_0x466abb=>typeof _0x466abb[_0x3a3227(0x38f)]['id']=='string'&&_0xbdeae0&&_0xbdeae0['includes'](_0x466abb[_0x3a3227(0x38f)]['id'])?{..._0x466abb,'attrs':{..._0x466abb['attrs'],'id':_0x466abb[_0x3a3227(0x38f)]['id']+_0x335c33[_0x3a3227(0x2a9)]}}:_0x466abb)}:_0x1b23c7;}function _0x558999(){const _0x5dd25f=_0x5e2413;return Math[_0x5dd25f(0x3ea)]()[_0x5dd25f(0x2b6)](0x24)['substring'](0x2,0x8);}_0x396746['displayName']='UniverIcon';const _0x1585b9={'tag':_0x5e2413(0x3ab),'attrs':{'xmlns':_0x5e2413(0x225),'fill':_0x5e2413(0x296),'viewBox':_0x5e2413(0x1cc),'width':_0x5e2413(0x1cd),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5e2413(0x418),'attrs':{'stroke':'currentColor','d':_0x5e2413(0x31c),'strokeLinecap':_0x5e2413(0x28d),'strokeLinejoin':_0x5e2413(0x28d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e2413(0x36e),'attrs':{'id':_0x5e2413(0x3ee)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5e2413(0x3d2)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x15ae09=_0x3caf8f[_0x5e2413(0x3d6)](function(_0x1f2d50,_0x4971c0){const _0x4cf742=_0x5e2413;return _0x3caf8f[_0x4cf742(0x221)](_0x396746,Object[_0x4cf742(0x401)]({},_0x1f2d50,{'id':'off-line-icon','ref':_0x4971c0,'icon':_0x1585b9}));});_0x15ae09[_0x5e2413(0x3f6)]='OffLineIcon';const _0x2b16a3={'tag':_0x5e2413(0x3ab),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e2413(0x296),'viewBox':_0x5e2413(0x3fb),'width':'1em','height':_0x5e2413(0x1cd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','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':_0x5e2413(0x28d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e2413(0x358),'attrs':{},'children':[{'tag':_0x5e2413(0x36e),'attrs':{'id':_0x5e2413(0x3e6)},'children':[{'tag':_0x5e2413(0x418),'attrs':{'fill':_0x5e2413(0x2ec),'d':_0x5e2413(0x3d2),'transform':_0x5e2413(0x2ed)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3882ce=_0x3caf8f[_0x5e2413(0x3d6)](function(_0x4489f3,_0x428dd6){const _0x222de6=_0x5e2413;return _0x3caf8f['createElement'](_0x396746,Object['assign']({},_0x4489f3,{'id':_0x222de6(0x38e),'ref':_0x428dd6,'icon':_0x2b16a3}));});_0x3882ce['displayName']=_0x5e2413(0x1d9);function _0x415583(_0x271508){const _0x1a7fc8=_0x5e2413;switch(_0x271508){case _0x30f49a['CollaborationStatus']['OFFLINE']:return _0x1a7fc8(0x1a1);case _0x30f49a[_0x1a7fc8(0x1e3)]['CONFLICT']:return _0x1a7fc8(0x40e);case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x305)]:return _0x1a7fc8(0x1cb);case _0x30f49a[_0x1a7fc8(0x1e3)]['NOT_COLLAB']:return _0x1a7fc8(0x3e7);case _0x30f49a['CollaborationStatus']['AWAITING']:case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x28c)]:return _0x1a7fc8(0x343);case _0x30f49a['CollaborationStatus'][_0x1a7fc8(0x2d3)]:case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x347)]:return _0x1a7fc8(0x433);}}function _0x5709c0(_0x429075){const _0x43e7f3=_0x5e2413,{status$:_0x24e9cc}=_0x429075,_0x5733bc=_0x2b7bff[_0x43e7f3(0x2c6)](_0x24e9cc,_0x30f49a[_0x43e7f3(0x1e3)][_0x43e7f3(0x2a3)]),_0x16979b=_0x2b7bff['useDependency'](_0x22ce22[_0x43e7f3(0x42d)]),_0x14a7f4=_0x2b7bff[_0x43e7f3(0x2fe)](_0x30f49a[_0x43e7f3(0x382)]),_0x910f35=_0x5733bc!==_0x30f49a[_0x43e7f3(0x1e3)][_0x43e7f3(0x1a4)],_0x3d5ad1=_0x16979b['t'](_0x415583(_0x5733bc)),_0x48be0d=_0x910f35?_0x3436bf[_0x43e7f3(0x3f7)](_0x3882ce,{}):_0x3436bf['jsx'](_0x15ae09,{}),_0x5251f0=_0x3caf8f[_0x43e7f3(0x331)](()=>{const _0x25de73=_0x43e7f3;_0x910f35||_0x14a7f4[_0x25de73(0x3c8)]();},[_0x910f35,_0x14a7f4]);function _0x296b41(){const _0x3d60d7=_0x43e7f3;return _0x3436bf[_0x3d60d7(0x199)](_0x3d60d7(0x332),{'className':_0x3d60d7(0x288),'onClick':_0x5251f0,'children':[_0x3436bf[_0x3d60d7(0x3f7)]('div',{'className':_0x569a72['clsx'](_0x3d60d7(0x2d4),{'univer-text-green-500':_0x910f35,'univer-text-red-500':!_0x910f35}),'children':_0x48be0d}),_0x3436bf[_0x3d60d7(0x3f7)](_0x3d60d7(0x332),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d5ad1})]});}return _0x910f35?_0x296b41():_0x3436bf['jsx'](_0x569a72['Tooltip'],{'title':_0x16979b['t'](_0x43e7f3(0x3f3)),'children':_0x296b41()});}var _0x36dc13=Object[_0x5e2413(0x306)],_0x447926=(_0x50f39d,_0x11ee12,_0xac0e35,_0x4cdce3)=>{const _0x533103=_0x5e2413;for(var _0x2a1027=_0x4cdce3>0x1?void 0x0:_0x4cdce3?_0x36dc13(_0x11ee12,_0xac0e35):_0x11ee12,_0x401d35=_0x50f39d[_0x533103(0x2dd)]-0x1,_0x53081a;_0x401d35>=0x0;_0x401d35--)(_0x53081a=_0x50f39d[_0x401d35])&&(_0x2a1027=_0x53081a(_0x2a1027)||_0x2a1027);return _0x2a1027;},_0x306040=(_0x287561,_0x985a75)=>(_0xf6b3cb,_0x178854)=>_0x985a75(_0xf6b3cb,_0x178854,_0x287561);_0x59cddf[_0x5e2413(0x1f7)]=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x395f92,_0xf241fe,_0x44190c,_0x3f867f){const _0x3587db=_0x5e2413;super(),_0xb5e805(this,_0x3587db(0x3d5),new _0x32e4d0['BehaviorSubject'](_0x30f49a[_0x3587db(0x1e3)][_0x3587db(0x2a3)])),(this['_univerInstanceService']=_0x395f92,this['_injector']=_0xf241fe,this[_0x3587db(0x2c4)]=_0x44190c,this[_0x3587db(0x257)]=_0x3f867f,this[_0x3587db(0x2d9)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x26b1a7=_0x5e2413;this[_0x26b1a7(0x279)](this[_0x26b1a7(0x1f4)][_0x26b1a7(0x3f9)]['pipe'](_0x32e4d0[_0x26b1a7(0x205)](()=>{const _0x2b8321=_0x26b1a7,_0x212724=this[_0x2b8321(0x1f4)][_0x2b8321(0x2e9)]();return _0x212724?this[_0x2b8321(0x2c4)]['getCollabEntity$'](_0x212724[_0x2b8321(0x44e)]()):_0x32e4d0['of'](null);}),_0x32e4d0['switchMap'](_0x23aed5=>_0x23aed5?_0x23aed5[_0x26b1a7(0x3a8)]:_0x32e4d0['of'](_0x30f49a[_0x26b1a7(0x1e3)][_0x26b1a7(0x2a3)])))[_0x26b1a7(0x290)](_0xd20ab2=>{const _0xc6c8ff=_0x26b1a7;this[_0xc6c8ff(0x3d5)][_0xc6c8ff(0x27e)](_0xd20ab2);}));}[_0x5e2413(0x2d9)](){const _0x1cbfc4=_0x5e2413;this[_0x1cbfc4(0x279)](this['_uiPartsService'][_0x1cbfc4(0x231)](_0x2b7bff['BuiltInUIPart'][_0x1cbfc4(0x476)],()=>_0x2b7bff['connectInjector'](_0x5d4c86({'status$':this[_0x1cbfc4(0x3d5)][_0x1cbfc4(0x374)]()}),this[_0x1cbfc4(0x1fa)])));}},_0x59cddf['DesktopCollaborationStatusDisplayController']=_0x447926([_0x306040(0x0,_0x22ce22[_0x5e2413(0x2cd)]),_0x306040(0x1,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x47b)])),_0x306040(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x473)])),_0x306040(0x3,_0x2b7bff[_0x5e2413(0x2bf)])],_0x59cddf[_0x5e2413(0x1f7)]);function _0x5d4c86(_0x189df3){const {status$:_0xee1d85}=_0x189df3;return function(){const _0x5ccdda=_0x3aed;return _0x3436bf[_0x5ccdda(0x3f7)](_0x5709c0,{'status$':_0xee1d85});};}const _0x2449da=_0x22ce22['createIdentifier']('uni.network.url-service');var _0x17b62f=Object[_0x5e2413(0x306)],_0xb314a4=(_0x10ba61,_0x1f4d94,_0xdb828c,_0x572513)=>{for(var _0x321e83=_0x572513>0x1?void 0x0:_0x572513?_0x17b62f(_0x1f4d94,_0xdb828c):_0x1f4d94,_0x173ef2=_0x10ba61['length']-0x1,_0x29b71e;_0x173ef2>=0x0;_0x173ef2--)(_0x29b71e=_0x10ba61[_0x173ef2])&&(_0x321e83=_0x29b71e(_0x321e83)||_0x321e83);return _0x321e83;},_0x185956=(_0x11a303,_0x112d9a)=>(_0x3a742d,_0x2c3105)=>_0x112d9a(_0x3a742d,_0x2c3105,_0x11a303);_0x59cddf[_0x5e2413(0x45e)]=class extends _0x22ce22['RxDisposable']{constructor(_0x3d1f9a,_0x307310,_0x280055,_0x3882f1,_0x8fce9c){const _0xddb96c=_0x5e2413;super(),this[_0xddb96c(0x43b)]=_0x3d1f9a,this[_0xddb96c(0x294)]=_0x307310,this[_0xddb96c(0x272)]=_0x280055,this[_0xddb96c(0x394)]=_0x3882f1,_0x8fce9c?_0x8fce9c==null||_0x8fce9c[_0xddb96c(0x293)]()['then'](()=>this[_0xddb96c(0x32b)]()):(this['_logService']['debug'](_0xddb96c(0x295),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xddb96c(0x32b)]());}async[_0x5e2413(0x32b)](){const _0x3f3b67=_0x5e2413,_0x107e81=this[_0x3f3b67(0x43b)][_0x3f3b67(0x26a)](_0x3f3b67(0x1e5)),_0x37ba92=this['_urlService'][_0x3f3b67(0x26a)](_0x3f3b67(0x22a)),_0x772427=this[_0x3f3b67(0x43b)]['getParam'](_0x3f3b67(0x362));if(!_0x107e81||!_0x37ba92){this[_0x3f3b67(0x294)][_0x3f3b67(0x1ce)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4831e1=await this['_dataLoaderService']['loadUnit'](_0x107e81,Number(_0x37ba92),_0x772427);_0x4831e1&&_0x4831e1 instanceof _0x22ce22['Workbook']&&this[_0x3f3b67(0x440)](_0x4831e1);}async[_0x5e2413(0x440)](_0x3f8143){const _0x4457c2=_0x5e2413;await this['_updateSubUnitFromURLParams'](_0x3f8143),_0x3f8143[_0x4457c2(0x3cd)][_0x4457c2(0x1c9)](_0x32e4d0[_0x4457c2(0x2be)](this[_0x4457c2(0x25a)]))[_0x4457c2(0x290)](_0x374eca=>{const _0x323313=_0x4457c2;_0x374eca&&this[_0x323313(0x3d4)](_0x374eca);}),this['_urlService'][_0x4457c2(0x1d0)]['pipe'](_0x32e4d0['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x4457c2(0x2df)](_0x3f8143));}[_0x5e2413(0x3d4)](_0x390725,_0x285b82=!0x1){const _0x332f37=_0x5e2413,_0x50a53d=this[_0x332f37(0x43b)][_0x332f37(0x26a)](_0x332f37(0x362));_0x390725['getSheetId']()!==_0x50a53d&&this[_0x332f37(0x43b)][_0x332f37(0x3bb)]('subunit',_0x390725[_0x332f37(0x42a)](),_0x285b82);}async[_0x5e2413(0x2df)](_0x2c579c){const _0xb9b17c=_0x5e2413;var _0xb3a2b4;const _0x4ffe0f=this[_0xb9b17c(0x43b)][_0xb9b17c(0x26a)]('subunit');if(!_0x4ffe0f||!_0x2c579c[_0xb9b17c(0x1e7)](_0x4ffe0f)){const _0x2c528b=_0x2c579c[_0xb9b17c(0x241)]()[0x0],_0x26aaac=_0x2c579c[_0xb9b17c(0x1e7)](_0x2c528b);if(!_0x26aaac)return;this[_0xb9b17c(0x3d4)](_0x26aaac,!0x0),await this[_0xb9b17c(0x272)][_0xb9b17c(0x34b)](_0x3d5699[_0xb9b17c(0x3ce)]['id'],{'unitId':_0x2c579c[_0xb9b17c(0x44e)](),'subUnitId':_0x2c528b});return;}((_0xb3a2b4=_0x2c579c['getActiveSheet']())==null?void 0x0:_0xb3a2b4[_0xb9b17c(0x42a)]())!==_0x4ffe0f&&await this['_commandService']['executeCommand'](_0x3d5699[_0xb9b17c(0x3ce)]['id'],{'unitId':_0x2c579c['getUnitId'](),'subUnitId':_0x4ffe0f});}},_0x59cddf[_0x5e2413(0x45e)]=_0xb314a4([_0x185956(0x0,_0x2449da),_0x185956(0x1,_0x22ce22['ILogService']),_0x185956(0x2,_0x22ce22[_0x5e2413(0x3bf)]),_0x185956(0x3,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x45c)])),_0x185956(0x4,_0x22ce22['Optional'](_0x2f41c0[_0x5e2413(0x233)]))],_0x59cddf[_0x5e2413(0x45e)]);var _0x15ddf9=Object[_0x5e2413(0x306)],_0x14cc23=(_0x2fd02f,_0x24c10f,_0x339dd0,_0x153f99)=>{const _0x48d97c=_0x5e2413;for(var _0x2ad6b0=_0x153f99>0x1?void 0x0:_0x153f99?_0x15ddf9(_0x24c10f,_0x339dd0):_0x24c10f,_0x3f8c6b=_0x2fd02f[_0x48d97c(0x2dd)]-0x1,_0x202bcc;_0x3f8c6b>=0x0;_0x3f8c6b--)(_0x202bcc=_0x2fd02f[_0x3f8c6b])&&(_0x2ad6b0=_0x202bcc(_0x2ad6b0)||_0x2ad6b0);return _0x2ad6b0;},_0x3a5c94=(_0x27ab98,_0x3d86d9)=>(_0x360834,_0x4f5b02)=>_0x3d86d9(_0x360834,_0x4f5b02,_0x27ab98);let _0x5e2aec=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x5a76b9,_0x4dbc40){const _0x8b7125=_0x5e2413;super(),this['_docClipboardService']=_0x5a76b9,this[_0x8b7125(0x21e)]=_0x4dbc40,this['_init']();}['_init'](){const _0x81abc1=_0x5e2413,_0x418e44=this;this['disposeWithMe'](this['_docClipboardService'][_0x81abc1(0x1b6)]({'onBeforePasteImage':async _0x21d180=>{const _0x7742b1=_0x81abc1,_0x44f7d1=await _0x418e44['_imageIoService'][_0x7742b1(0x2e6)](_0x21d180);return _0x44f7d1?{'source':_0x44f7d1[_0x7742b1(0x1fd)],'imageSourceType':_0x44f7d1[_0x7742b1(0x3f2)]}:null;}}));}};_0x5e2aec=_0x14cc23([_0x3a5c94(0x0,_0x449f6a['IDocClipboardService']),_0x3a5c94(0x1,_0x398275[_0x5e2413(0x29f)])],_0x5e2aec);const _0x240f6a=[_0x5e2413(0x3a1),_0x5e2413(0x1f2),_0x5e2413(0x365),_0x5e2413(0x1c1),_0x5e2413(0x44c),'yellow.400'];class _0x334c88 extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(){const _0x1c013f=_0x5e2413;super(...arguments),_0xb5e805(this,'_assignedColors',new Map()),_0xb5e805(this,_0x1c013f(0x211),0x0);}[_0x5e2413(0x217)](_0x6eec6e){const _0x5d6418=_0x5e2413;if(this[_0x5d6418(0x47d)][_0x5d6418(0x35f)](_0x6eec6e))return this[_0x5d6418(0x47d)][_0x5d6418(0x335)](_0x6eec6e);const _0x323430=_0x240f6a[this[_0x5d6418(0x211)]];return this['_colorIndex']=(this[_0x5d6418(0x211)]+0x1)%_0x240f6a[_0x5d6418(0x2dd)],this['_assignedColors']['set'](_0x6eec6e,_0x323430),_0x323430;}}function _0x34bd72(_0x3ccdcd){const _0x4d5f13=_0x5e2413;let _0x39c62='';for(const _0xd7a0e8 of _0x3ccdcd){const {startOffset:_0x3770d7,endOffset:_0x27d5b8,isActive:_0x46f558,rangeType:_0x4ab9a2,segmentId:_0x41c28c,segmentPage:_0x123729}=_0xd7a0e8;_0x39c62[_0x4d5f13(0x2dd)]&&(_0x39c62+=','),_0x39c62+=_0x3770d7+':'+_0x27d5b8+':'+(_0x46f558?'1':'0')+':'+_0x4ab9a2+':'+_0x41c28c+':'+_0x123729;}return _0x39c62;}function _0x4718e7(_0x5abd80){const _0x4e9f3e=_0x5e2413,_0x43206a=_0x5abd80[_0x4e9f3e(0x46f)](','),_0x305526=[];for(const _0x2945f3 of _0x43206a){const [_0x42a402,_0x10365c,_0x218499,_0x3adabb,_0x2dbae7,_0x211aa4]=_0x2945f3[_0x4e9f3e(0x46f)](':');_0x305526[_0x4e9f3e(0x409)]({'startOffset':Number(_0x42a402),'endOffset':Number(_0x10365c),'collapsed':_0x42a402===_0x10365c,'isActive':_0x218499==='1','rangeType':_0x3adabb===_0x22ce22[_0x4e9f3e(0x23c)][_0x4e9f3e(0x46c)]?_0x22ce22[_0x4e9f3e(0x23c)][_0x4e9f3e(0x46c)]:_0x22ce22['DOC_RANGE_TYPE'][_0x4e9f3e(0x3db)],'segmentId':typeof _0x2dbae7==_0x4e9f3e(0x24d)?String(_0x2dbae7):'','segmentPage':Number(_0x211aa4!=null?_0x211aa4:-0x1)});}return _0x305526[_0x4e9f3e(0x39d)](_0xb69daf=>_0xb69daf[_0x4e9f3e(0x3d1)])||(_0x305526[0x0][_0x4e9f3e(0x3d1)]=!0x0),_0x305526;}class _0xb6042 extends _0x22ce22[_0x5e2413(0x344)]{constructor(){const _0x35ca7b=_0x5e2413;super(...arguments),_0xb5e805(this,_0x35ca7b(0x308),new _0x32e4d0[(_0x35ca7b(0x228))](null)),_0xb5e805(this,_0x35ca7b(0x456),this[_0x35ca7b(0x308)][_0x35ca7b(0x374)]());}[_0x5e2413(0x1b1)](_0xe7210d){const _0x1dcc2f=_0x5e2413,{unitID:_0x16c5a7,memberID:_0x137b32,textRanges:_0x205067}=_0xe7210d,_0x5dcc37=_0x34bd72(_0x205067);if(_0x5dcc37==='')return;const _0x20df38={'unitID':_0x16c5a7,'memberID':_0x137b32,'selection':_0x5dcc37};this[_0x1dcc2f(0x308)][_0x1dcc2f(0x27e)](_0x20df38);}}var _0x58a4b7=Object[_0x5e2413(0x306)],_0x619199=(_0x4bdd40,_0x18461b,_0x5c838c,_0x23ee4e)=>{const _0x1c5a47=_0x5e2413;for(var _0x33a81c=_0x23ee4e>0x1?void 0x0:_0x23ee4e?_0x58a4b7(_0x18461b,_0x5c838c):_0x18461b,_0x218f03=_0x4bdd40[_0x1c5a47(0x2dd)]-0x1,_0x4fbd48;_0x218f03>=0x0;_0x218f03--)(_0x4fbd48=_0x4bdd40[_0x218f03])&&(_0x33a81c=_0x4fbd48(_0x33a81c)||_0x33a81c);return _0x33a81c;},_0x5106d5=(_0x3238f5,_0x4eb9ef)=>(_0x27608b,_0x399f71)=>_0x4eb9ef(_0x27608b,_0x399f71,_0x3238f5);const _0x5b3e78=0x12c,_0x4dc471=0x64;let _0x30048f=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0xbea055,_0x3013a8,_0x34b985,_0x5923e4,_0x473cd7,_0x4b8b44,_0x3e8844,_0x310ac0,_0x1b0f5e){const _0x5c2790=_0x5e2413;super(),_0xb5e805(this,_0x5c2790(0x3cf),!0x1),_0xb5e805(this,_0x5c2790(0x32b),!0x1),_0xb5e805(this,_0x5c2790(0x392),new _0x32e4d0[(_0x5c2790(0x228))](new Map())),_0xb5e805(this,_0x5c2790(0x2a0),this[_0x5c2790(0x392)]['asObservable']()),_0xb5e805(this,_0x5c2790(0x219),new _0x32e4d0[(_0x5c2790(0x228))]([])),_0xb5e805(this,'roomMembers$',this['_roomMembers$'][_0x5c2790(0x1c9)](_0x32e4d0[_0x5c2790(0x378)](_0x5b3e78))),_0xb5e805(this,'_updateLocalCursor',_0x22ce22[_0x5c2790(0x198)](_0x38f07b=>{const _0x4f31a5=_0x5c2790,_0x3d7f67={'eventID':_0x5c6274[_0x4f31a5(0x36a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f31a5(0x329)],'memberID':this[_0x4f31a5(0x2c2)][_0x4f31a5(0x33d)](),'selection':_0x34bd72(_0x38f07b)}};this[_0x4f31a5(0x2c2)][_0x4f31a5(0x313)](_0x3d7f67,this['unitID']);},_0x4dc471)),(this['unitID']=_0xbea055,this[_0x5c2790(0x2c2)]=_0x3013a8,this[_0x5c2790(0x1fa)]=_0x34b985,this['_colorAssignService']=_0x5923e4,this[_0x5c2790(0x455)]=_0x473cd7,this[_0x5c2790(0x1e6)]=_0x4b8b44,this[_0x5c2790(0x3b1)]=_0x3e8844,this['_univerInstanceService']=_0x310ac0,this['_commandService']=_0x1b0f5e);}get[_0x5e2413(0x2f9)](){const _0x275f6a=_0x5e2413;return this['_cursorInfo$'][_0x275f6a(0x41f)]();}get['roomMembers'](){const _0x29d835=_0x5e2413;return this[_0x29d835(0x219)][_0x29d835(0x41f)]();}[_0x5e2413(0x43d)](){const _0x33d81b=_0x5e2413;super[_0x33d81b(0x43d)](),this['_cursorInfo$'][_0x33d81b(0x27e)](new Map()),this['_cursorInfo$'][_0x33d81b(0x271)](),this[_0x33d81b(0x219)][_0x33d81b(0x27e)]([]),this['_roomMembers$'][_0x33d81b(0x271)]();}[_0x5e2413(0x3eb)](){const _0x10cb72=_0x5e2413;this[_0x10cb72(0x32b)]||(this[_0x10cb72(0x32b)]=!0x0,this[_0x10cb72(0x2c2)][_0x10cb72(0x2e0)][_0x10cb72(0x1c9)](_0x32e4d0[_0x10cb72(0x2be)](this[_0x10cb72(0x25a)]))['subscribe'](_0x3edb07=>{const _0x2bde22=_0x10cb72;_0x3edb07===_0x30f49a[_0x2bde22(0x200)][_0x2bde22(0x322)]?this[_0x2bde22(0x1a7)]():this[_0x2bde22(0x38a)]();}),this[_0x10cb72(0x2c2)][_0x10cb72(0x314)]['pipe'](_0x32e4d0[_0x10cb72(0x2be)](this['dispose$']))[_0x10cb72(0x290)](_0x13a683=>{const _0x1c16c8=_0x10cb72,_0x407e01=_0x13a683[_0x1c16c8(0x3b5)];_0x407e01===_0x5c6274['CollaborationEvent'][_0x1c16c8(0x22d)]&&this[_0x1c16c8(0x21f)](_0x13a683),_0x407e01===_0x5c6274[_0x1c16c8(0x36a)][_0x1c16c8(0x340)]&&this[_0x1c16c8(0x47a)](_0x13a683);}),this[_0x10cb72(0x279)](this['_commandService'][_0x10cb72(0x479)](_0x4bfa89=>{const _0x33b9bc=_0x10cb72,_0x498eef=_0x4bfa89[_0x33b9bc(0x345)];_0x498eef!=null&&this[_0x33b9bc(0x3cf)]&&_0x4bfa89['id']===_0x506cee[_0x33b9bc(0x248)]['id']&&_0x498eef['unitId']===this[_0x33b9bc(0x329)]&&_0x498eef[_0x33b9bc(0x1df)]===!0x1&&_0x498eef[_0x33b9bc(0x3fe)]['length']>0x0&&this[_0x33b9bc(0x2c3)](_0x498eef['ranges']);})),this['_syncEditingCollabCursorService'][_0x10cb72(0x456)][_0x10cb72(0x1c9)](_0x32e4d0[_0x10cb72(0x2be)](this['dispose$']))['subscribe'](_0x1a51a4=>{const _0x5a1290=_0x10cb72;if((_0x1a51a4==null?void 0x0:_0x1a51a4[_0x5a1290(0x329)])!==this[_0x5a1290(0x329)])return;const _0x271db9={'eventID':_0x5c6274[_0x5a1290(0x36a)][_0x5a1290(0x22d)],'data':_0x1a51a4};this[_0x5a1290(0x21f)](_0x271db9);}),this[_0x10cb72(0x279)](this[_0x10cb72(0x272)][_0x10cb72(0x479)](_0x56e701=>{const _0x41768e=_0x10cb72;if(_0x56e701[_0x41768e(0x345)]==null)return;const _0x3ab2a1=_0x56e701[_0x41768e(0x345)];if(_0x56e701['id']!==_0x506cee[_0x41768e(0x474)]['id']||_0x3ab2a1['unitId']!==this[_0x41768e(0x329)])return;const _0x43a601={'id':_0x41768e(0x2e1),'params':_0x3ab2a1},_0x143d07=this[_0x41768e(0x2f9)];for(const [_0x4d7536,_0x58fc99]of _0x143d07){const _0x1d47c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x41768e(0x329)],'actions':null,'textRanges':_0x58fc99[_0x41768e(0x3fe)]}},_0x5da6af=this[_0x41768e(0x3b1)][_0x41768e(0x1f5)](_0x43a601,_0x1d47c,!0x1);if(_0x5c6274[_0x41768e(0x20f)](_0x5da6af))throw _0x5da6af[_0x41768e(0x1ee)];_0x143d07[_0x41768e(0x1d2)](_0x4d7536,{..._0x58fc99,'ranges':_0x5da6af[_0x41768e(0x30b)]['params'][_0x41768e(0x207)]});}queueMicrotask(()=>{const _0x1da910=_0x41768e;this[_0x1da910(0x392)][_0x1da910(0x27e)](_0x143d07);});})));}['_onCursorUpdate'](_0x3cca91){const _0x1f27fd=_0x5e2413;var _0x199232,_0x5a818f;const {memberID:_0x43ec60,selection:_0xac29e}=_0x3cca91[_0x1f27fd(0x238)],_0xddf3fe=_0x4718e7(_0xac29e),_0x228f34=(_0x5a818f=(_0x199232=this[_0x1f27fd(0x455)][_0x1f27fd(0x3d3)](this[_0x1f27fd(0x329)],_0x43ec60))==null?void 0x0:_0x199232[_0x1f27fd(0x30d)])!=null?_0x5a818f:_0x1f27fd(0x40a),_0x52b057={'color':this[_0x1f27fd(0x477)]['assignAColorForMemberID'](_0x43ec60),'name':_0x228f34,'ranges':_0xddf3fe},_0x1bdd36=this[_0x1f27fd(0x2f9)];_0x1bdd36[_0x1f27fd(0x1d2)](_0x43ec60,_0x52b057),this[_0x1f27fd(0x392)][_0x1f27fd(0x27e)](_0x1bdd36);}[_0x5e2413(0x47a)](_0x222216){const _0xcf6e1=_0x5e2413,{memberID:_0x429514}=_0x222216[_0xcf6e1(0x238)],_0x23873c=this[_0xcf6e1(0x2f9)];_0x23873c['delete'](_0x429514),this['_cursorInfo$'][_0xcf6e1(0x27e)](_0x23873c);}[_0x5e2413(0x1a7)](){const _0x3f1029=_0x5e2413;var _0x651cc2;if(this[_0x3f1029(0x3cf)]=!0x0,((_0x651cc2=this[_0x3f1029(0x1f4)][_0x3f1029(0x2e9)]())==null?void 0x0:_0x651cc2[_0x3f1029(0x44e)]())!==this[_0x3f1029(0x329)])return;const _0x4c0b76=this[_0x3f1029(0x1fa)][_0x3f1029(0x335)](_0x506cee[_0x3f1029(0x32a)])[_0x3f1029(0x360)]();Array[_0x3f1029(0x3e3)](_0x4c0b76)&&_0x4c0b76[_0x3f1029(0x2dd)]>0x0&&this[_0x3f1029(0x2c3)](_0x4c0b76);}[_0x5e2413(0x38a)](){const _0x380f96=_0x5e2413;this[_0x380f96(0x3cf)]=!0x1;}};_0x30048f=_0x619199([_0x5106d5(0x2,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x5106d5(0x3,_0x22ce22[_0x5e2413(0x312)](_0x334c88)),_0x5106d5(0x4,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x2ab)])),_0x5106d5(0x5,_0x22ce22[_0x5e2413(0x312)](_0xb6042)),_0x5106d5(0x6,_0x5c6274['ITransformService']),_0x5106d5(0x7,_0x22ce22[_0x5e2413(0x2cd)]),_0x5106d5(0x8,_0x22ce22[_0x5e2413(0x3bf)])],_0x30048f);var _0x2881b5=Object[_0x5e2413(0x306)],_0x593a86=(_0x1e1b19,_0x374df0,_0x5d228d,_0x1b43ed)=>{const _0x2c3f56=_0x5e2413;for(var _0x5bae22=_0x1b43ed>0x1?void 0x0:_0x1b43ed?_0x2881b5(_0x374df0,_0x5d228d):_0x374df0,_0x43cd4a=_0x1e1b19[_0x2c3f56(0x2dd)]-0x1,_0x580071;_0x43cd4a>=0x0;_0x43cd4a--)(_0x580071=_0x1e1b19[_0x43cd4a])&&(_0x5bae22=_0x580071(_0x5bae22)||_0x5bae22);return _0x5bae22;},_0x293eb8=(_0x183e3d,_0x2d4e62)=>(_0x21df86,_0x8df71)=>_0x2d4e62(_0x21df86,_0x8df71,_0x183e3d);const _0x276248=0x12c,_0x30ac4b=0x64,_0x3461c0=()=>{let _0x2ec228=[],_0x1406dc=!0x1;return _0x5d8214=>{const _0x2a51cb=_0x3aed;_0x2ec228[_0x2a51cb(0x409)](_0x5d8214),_0x1406dc||(_0x1406dc=!0x0,setTimeout(()=>{_0x2ec228['forEach'](_0x5f0e42=>_0x5f0e42()),_0x2ec228=[],_0x1406dc=!0x1;}));};};let _0x453236=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x13162e,_0x1c1bd8,_0x3e5454,_0x4b6516,_0x52be16,_0xef97fe,_0x3b5544,_0x1a2a13){const _0x3d1e2d=_0x5e2413;super(),_0xb5e805(this,_0x3d1e2d(0x3cf),!0x1),_0xb5e805(this,_0x3d1e2d(0x32b),!0x1),_0xb5e805(this,_0x3d1e2d(0x392),new _0x32e4d0[(_0x3d1e2d(0x228))](new Map())),_0xb5e805(this,_0x3d1e2d(0x2a0),this['_cursorInfo$'][_0x3d1e2d(0x374)]()),_0xb5e805(this,_0x3d1e2d(0x219),new _0x32e4d0['BehaviorSubject']([])),_0xb5e805(this,_0x3d1e2d(0x32f),this[_0x3d1e2d(0x219)][_0x3d1e2d(0x1c9)](_0x32e4d0[_0x3d1e2d(0x378)](_0x276248))),_0xb5e805(this,_0x3d1e2d(0x2c3),_0x22ce22[_0x3d1e2d(0x198)]((_0x1b2160,_0x796969)=>{const _0x375566=_0x3d1e2d,_0x365352={'eventID':_0x5c6274[_0x375566(0x36a)][_0x375566(0x22d)],'data':{'unitID':this[_0x375566(0x329)],'memberID':this[_0x375566(0x2c2)][_0x375566(0x33d)](),'selection':_0x64210c[_0x375566(0x311)](_0x1b2160,_0x796969[_0x375566(0x3c1)])}};this[_0x375566(0x2c2)][_0x375566(0x313)](_0x365352,this[_0x375566(0x329)]);},_0x30ac4b)),(this[_0x3d1e2d(0x329)]=_0x13162e,this[_0x3d1e2d(0x2c2)]=_0x1c1bd8,this[_0x3d1e2d(0x1fa)]=_0x3e5454,this[_0x3d1e2d(0x477)]=_0x4b6516,this[_0x3d1e2d(0x455)]=_0x52be16,this[_0x3d1e2d(0x1f4)]=_0xef97fe,this[_0x3d1e2d(0x272)]=_0x3b5544,this[_0x3d1e2d(0x3b0)]=_0x1a2a13);}get[_0x5e2413(0x2f9)](){const _0x24a054=_0x5e2413;return this[_0x24a054(0x392)][_0x24a054(0x41f)]();}get[_0x5e2413(0x3c5)](){const _0x575a72=_0x5e2413;return this['_roomMembers$'][_0x575a72(0x41f)]();}[_0x5e2413(0x43d)](){const _0x474072=_0x5e2413;super[_0x474072(0x43d)](),this['_cursorInfo$']['next'](new Map()),this[_0x474072(0x392)]['complete'](),this[_0x474072(0x219)]['next']([]),this['_roomMembers$'][_0x474072(0x271)]();}[_0x5e2413(0x3eb)](){const _0x380488=_0x5e2413;this[_0x380488(0x32b)]||(this[_0x380488(0x32b)]=!0x0,this[_0x380488(0x2c2)][_0x380488(0x2e0)][_0x380488(0x1c9)](_0x32e4d0[_0x380488(0x2be)](this[_0x380488(0x25a)]))[_0x380488(0x290)](_0x7d049d=>{const _0x3a200e=_0x380488;_0x7d049d===_0x30f49a[_0x3a200e(0x200)][_0x3a200e(0x322)]?this[_0x3a200e(0x1a7)]():this['_toggleOffline']();}),this[_0x380488(0x2c2)][_0x380488(0x314)]['pipe'](_0x32e4d0['takeUntil'](this[_0x380488(0x25a)]))['subscribe'](_0x291521=>{const _0x42870c=_0x380488,_0x555a4f=_0x291521[_0x42870c(0x3b5)];_0x555a4f===_0x5c6274['CollaborationEvent'][_0x42870c(0x22d)]&&this[_0x42870c(0x21f)](_0x291521),_0x555a4f===_0x5c6274[_0x42870c(0x36a)]['USERS_LEAVE']&&this[_0x42870c(0x47a)](_0x291521);}),this[_0x380488(0x1db)](),this[_0x380488(0x279)](this[_0x380488(0x272)][_0x380488(0x479)](_0x5da849=>{const _0x453a14=_0x380488;if(this[_0x453a14(0x3cf)]&&_0x5da849['id']===_0x3d5699['SetSelectionsOperation']['id']&&_0x5da849[_0x453a14(0x345)][_0x453a14(0x1de)]===this[_0x453a14(0x329)]){const _0x3d9d1a=_0x5da849[_0x453a14(0x345)];this[_0x453a14(0x2c3)](_0x3d9d1a[_0x453a14(0x40f)],_0x3d9d1a[_0x453a14(0x316)][0x0]);}})));}[_0x5e2413(0x21f)](_0x5438b1){const _0x1a3998=_0x5e2413;var _0x4a26b3,_0x5de8f7;const {memberID:_0x2ab01f,selection:_0x4c6b0f}=_0x5438b1[_0x1a3998(0x238)],{sheetName:_0x1d83f6,range:_0x384358}=_0x64210c[_0x1a3998(0x197)](_0x4c6b0f),_0x7b4045={'name':(_0x5de8f7=(_0x4a26b3=this[_0x1a3998(0x455)][_0x1a3998(0x3d3)](this['unitID'],_0x2ab01f))==null?void 0x0:_0x4a26b3['name'])!=null?_0x5de8f7:'Unknown\x20user','range':this[_0x1a3998(0x41d)](_0x1d83f6,_0x384358),'sheetID':_0x1d83f6,'color':this['_colorAssignService'][_0x1a3998(0x217)](_0x2ab01f),'selection':_0x4c6b0f},_0x5b050c=this[_0x1a3998(0x2f9)];_0x5b050c[_0x1a3998(0x1d2)](_0x2ab01f,_0x7b4045),this[_0x1a3998(0x392)][_0x1a3998(0x27e)](_0x5b050c);}['_onCursorDelete'](_0x3f2dc9){const _0x3c99fa=_0x5e2413,{memberID:_0x1ec839}=_0x3f2dc9[_0x3c99fa(0x238)],_0x2ea518=this[_0x3c99fa(0x2f9)];_0x2ea518[_0x3c99fa(0x1b7)](_0x1ec839),this[_0x3c99fa(0x392)][_0x3c99fa(0x27e)](_0x2ea518);}[_0x5e2413(0x41d)](_0x128cdc,_0xebe735){const _0x805617=_0x5e2413;var _0x1efb97,_0x137223;const _0x4acb48=(_0x137223=(_0x1efb97=this[_0x805617(0x1f4)][_0x805617(0x218)](this['unitID']))==null?void 0x0:_0x1efb97[_0x805617(0x1e7)](_0x128cdc))==null?void 0x0:_0x137223[_0x805617(0x3ff)]();return(_0x4acb48==null?void 0x0:_0x4acb48[_0x805617(0x43c)](_0x5e44b8=>_0x22ce22[_0x805617(0x301)]['contains'](_0x5e44b8,_0xebe735)))||_0xebe735;}[_0x5e2413(0x1db)](){const _0x33a424=_0x5e2413,_0x557379=new _0x22ce22[(_0x33a424(0x381))](),_0x130aed=_0x3461c0(),_0x345518=()=>{const _0x5d1818=_0x33a424;_0x557379[_0x5d1818(0x43d)]();const _0x5603a6=(_0x227e0f,_0x5332ae,_0x2bf65f,_0x4f9aff)=>{const _0x1fd19a=_0x5d1818;let _0x16d867=[];switch(_0x227e0f['id']){case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x2d8)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x2c9)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x3aa)]:{_0x16d867=_0x3d5699['handleDeleteRangeMoveUp'](_0x227e0f,_0x4f9aff);break;}case _0x3d5699['EffectRefRangId'][_0x1fd19a(0x42b)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x224)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x43a)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x1aa)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699['EffectRefRangId'][_0x1fd19a(0x387)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x1a8)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x36c)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x2c1)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x377)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x3e1)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)]['RemoveColCommandId']:{_0x16d867=_0x3d5699[_0x1fd19a(0x1c0)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x292)]:{_0x16d867=_0x3d5699['handleIRemoveRow'](_0x227e0f,_0x4f9aff);break;}}const _0x1999a3=_0x3d5699['runRefRangeMutations'](_0x16d867,_0x4f9aff),_0x4a5ce4=this[_0x1fd19a(0x2f9)][_0x1fd19a(0x335)](_0x5332ae);if(_0x4a5ce4&&_0x1999a3){const _0x9dce3b={..._0x4a5ce4,'range':_0x1999a3};this['cursorInfo']['set'](_0x5332ae,_0x9dce3b),_0x130aed(()=>{const _0x1f5ecb=_0x1fd19a,_0x57ec41=this[_0x1f5ecb(0x3b0)][_0x1f5ecb(0x44f)](_0x1999a3,_0xff1a10=>(_0x57ec41['dispose'](),_0x5603a6(_0xff1a10,_0x5332ae,_0x2bf65f,_0x1999a3)));_0x557379[_0x1f5ecb(0x2b4)](_0x57ec41);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5d1818(0x3e5)]((_0x9851aa,_0x43ed7b)=>{const _0x1b285d=_0x5d1818,{range:_0x73b8c9,sheetID:_0x9d4262}=_0x9851aa,_0x5544a6=this[_0x1b285d(0x3b0)][_0x1b285d(0x44f)](_0x73b8c9,_0x1e07bc=>(_0x5544a6[_0x1b285d(0x43d)](),_0x5603a6(_0x1e07bc,_0x43ed7b,_0x9d4262,_0x73b8c9)));_0x557379[_0x1b285d(0x2b4)](_0x5544a6);});};this[_0x33a424(0x279)](_0x22ce22[_0x33a424(0x21a)](this[_0x33a424(0x392)][_0x33a424(0x290)](()=>{_0x345518();})));}[_0x5e2413(0x1a7)](){const _0x5d2ba0=_0x5e2413;var _0x44e837,_0xe6d24d;if(this[_0x5d2ba0(0x3cf)]=!0x0,((_0x44e837=this[_0x5d2ba0(0x1f4)][_0x5d2ba0(0x2e9)]())==null?void 0x0:_0x44e837[_0x5d2ba0(0x44e)]())!==this['unitID'])return;const _0x5a8aa7=(_0xe6d24d=this[_0x5d2ba0(0x1fa)][_0x5d2ba0(0x335)](_0x3d5699[_0x5d2ba0(0x370)])[_0x5d2ba0(0x3d8)]())==null?void 0x0:_0xe6d24d[0x0],_0x577763=this[_0x5d2ba0(0x1f4)][_0x5d2ba0(0x3a6)](_0x22ce22['UniverInstanceType'][_0x5d2ba0(0x1a3)])[_0x5d2ba0(0x41c)]();_0x5a8aa7&&_0x577763&&this['_updateLocalCursor'](_0x577763[_0x5d2ba0(0x42a)](),_0x5a8aa7);}['_toggleOffline'](){const _0x1c8ad9=_0x5e2413;this[_0x1c8ad9(0x3cf)]=!0x1;}};_0x453236=_0x593a86([_0x293eb8(0x2,_0x22ce22['Inject'](_0x22ce22['Injector'])),_0x293eb8(0x3,_0x22ce22[_0x5e2413(0x312)](_0x334c88)),_0x293eb8(0x4,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x2ab)])),_0x293eb8(0x5,_0x22ce22[_0x5e2413(0x2cd)]),_0x293eb8(0x6,_0x22ce22[_0x5e2413(0x3bf)]),_0x293eb8(0x7,_0x22ce22[_0x5e2413(0x312)](_0x3d5699[_0x5e2413(0x1b5)]))],_0x453236);var _0x5d52ee=Object[_0x5e2413(0x306)],_0x19f42b=(_0x26b564,_0x2e3743,_0x318feb,_0x4fa829)=>{const _0x5a3992=_0x5e2413;for(var _0x1caacc=_0x4fa829>0x1?void 0x0:_0x4fa829?_0x5d52ee(_0x2e3743,_0x318feb):_0x2e3743,_0x122487=_0x26b564[_0x5a3992(0x2dd)]-0x1,_0x142394;_0x122487>=0x0;_0x122487--)(_0x142394=_0x26b564[_0x122487])&&(_0x1caacc=_0x142394(_0x1caacc)||_0x1caacc);return _0x1caacc;},_0x509560=(_0x3cbb13,_0x93b07e)=>(_0x3cb1b5,_0x490430)=>_0x93b07e(_0x3cb1b5,_0x490430,_0x3cbb13);let _0xb791f4=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x4341cb,_0x583866,_0x3fc39e){const _0x412b3e=_0x5e2413;super(),_0xb5e805(this,_0x412b3e(0x391),new Map()),_0xb5e805(this,_0x412b3e(0x1c2),new _0x32e4d0[(_0x412b3e(0x3e9))]()),(this[_0x412b3e(0x1f4)]=_0x4341cb,this[_0x412b3e(0x1fa)]=_0x583866,this[_0x412b3e(0x2af)]=_0x3fc39e,this['_init']());}[_0x5e2413(0x43d)](){const _0xd9f51d=_0x5e2413;super[_0xd9f51d(0x43d)](),this[_0xd9f51d(0x1c2)][_0xd9f51d(0x271)](),this[_0xd9f51d(0x391)]['forEach'](_0x1b327e=>_0x1b327e[_0xd9f51d(0x43d)]());}[_0x5e2413(0x330)](_0x38ba61){const _0x39c19a=_0x5e2413;return this[_0x39c19a(0x391)][_0x39c19a(0x35f)](_0x38ba61)?this[_0x39c19a(0x391)][_0x39c19a(0x335)](_0x38ba61)[_0x39c19a(0x2a0)]:this[_0x39c19a(0x1c2)][_0x39c19a(0x1c9)](_0x32e4d0['filter'](_0x2c292b=>_0x2c292b['unitID']===_0x38ba61),_0x32e4d0['switchMap'](_0x310534=>_0x310534[_0x39c19a(0x2a0)]));}['_init'](){const _0x26c238=_0x5e2413;this[_0x26c238(0x1f4)]['getTypeOfUnitAdded$'](_0x22ce22[_0x26c238(0x299)]['UNIVER_SHEET'])[_0x26c238(0x1c9)](_0x32e4d0['takeUntil'](this['dispose$']))[_0x26c238(0x290)](async _0x55f744=>{const _0x52fb39=_0x26c238,_0x1f41d5=_0x55f744['getUnitId'](),_0x4a272c=await this['_startSheetCollabCursor'](_0x1f41d5);this[_0x52fb39(0x1c2)][_0x52fb39(0x27e)](_0x4a272c),this['_entities'][_0x52fb39(0x1d2)](_0x1f41d5,_0x4a272c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x22ce22[_0x26c238(0x299)]['UNIVER_DOC'])[_0x26c238(0x1c9)](_0x32e4d0[_0x26c238(0x2be)](this['dispose$']))['pipe'](_0x32e4d0[_0x26c238(0x261)](_0x18f16d=>!_0x18f16d[_0x26c238(0x44e)]()[_0x26c238(0x3d7)]('__')))['subscribe'](async _0x300897=>{const _0x311d51=_0x26c238,_0x5d8215=_0x300897[_0x311d51(0x44e)](),_0x122a43=await this[_0x311d51(0x2fa)](_0x5d8215);this['_entityInit$'][_0x311d51(0x27e)](_0x122a43),this[_0x311d51(0x391)]['set'](_0x5d8215,_0x122a43);}),_0x32e4d0['merge'](this[_0x26c238(0x1f4)][_0x26c238(0x1be)](_0x22ce22[_0x26c238(0x299)]['UNIVER_DOC']),this[_0x26c238(0x1f4)][_0x26c238(0x1be)](_0x22ce22[_0x26c238(0x299)]['UNIVER_SHEET']))[_0x26c238(0x1c9)](_0x32e4d0[_0x26c238(0x2be)](this[_0x26c238(0x25a)]))[_0x26c238(0x290)](_0x310528=>{const _0x357639=_0x26c238,_0x3362ac=_0x310528[_0x357639(0x44e)](),_0x56ac2a=this['_entities']['get'](_0x3362ac);_0x56ac2a&&(_0x56ac2a[_0x357639(0x43d)](),this[_0x357639(0x391)][_0x357639(0x1b7)](_0x3362ac));});}async[_0x5e2413(0x303)](_0x532a96){const _0xe9b600=_0x5e2413,_0x3e568e=await this[_0xe9b600(0x2af)]['requireSession'](_0x532a96),_0x4c93c5=this[_0xe9b600(0x1fa)][_0xe9b600(0x273)](_0x453236,_0x532a96,_0x3e568e);return _0x4c93c5[_0xe9b600(0x3eb)](),_0x4c93c5;}async[_0x5e2413(0x2fa)](_0x57b661){const _0xc33125=_0x5e2413,_0x19b209=await this['_collabSessionService'][_0xc33125(0x2cf)](_0x57b661),_0x41efa0=this[_0xc33125(0x1fa)][_0xc33125(0x273)](_0x30048f,_0x57b661,_0x19b209);return _0x41efa0['init'](),_0x41efa0;}};_0xb791f4=_0x19f42b([_0x509560(0x0,_0x22ce22['IUniverInstanceService']),_0x509560(0x1,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x509560(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x382)]))],_0xb791f4);const _0x399006=0x14,_0x1c5aaa=0xc8,_0x24353b=0x4,_0x50a38=0x5;function _0x90a8e4(_0x48fd66,_0x15e57c){const _0x2c716c=_0x5e2413;let {radius:_0x1f21e3,width:_0x3b3fc5,height:_0x130da2}=_0x15e57c;_0x1f21e3=_0x1f21e3!=null?_0x1f21e3:0x0,_0x3b3fc5=_0x3b3fc5!=null?_0x3b3fc5:0x1e,_0x130da2=_0x130da2!=null?_0x130da2:0x1e;let _0x36b860=0x0,_0x461dbe=0x0,_0xa20e39=0x0;_0x36b860=_0x461dbe=_0xa20e39=Math[_0x2c716c(0x442)](_0x1f21e3,_0x3b3fc5/0x2,_0x130da2/0x2),_0x48fd66[_0x2c716c(0x448)](),_0x48fd66[_0x2c716c(0x29a)](_0x36b860,0x0),_0x48fd66[_0x2c716c(0x278)](_0x3b3fc5-_0x461dbe,0x0),_0x48fd66[_0x2c716c(0x380)](_0x3b3fc5-_0x461dbe,_0x461dbe,_0x461dbe,Math['PI']*0x3/0x2,0x0,!0x1),_0x48fd66[_0x2c716c(0x278)](_0x3b3fc5,_0x130da2-_0xa20e39),_0x48fd66[_0x2c716c(0x380)](_0x3b3fc5-_0xa20e39,_0x130da2-_0xa20e39,_0xa20e39,0x0,Math['PI']/0x2,!0x1),_0x48fd66[_0x2c716c(0x278)](0x0,_0x130da2),_0x48fd66[_0x2c716c(0x278)](0x0,_0x36b860),_0x48fd66[_0x2c716c(0x380)](_0x36b860,_0x36b860,_0x36b860,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48fd66[_0x2c716c(0x243)](),_0x15e57c[_0x2c716c(0x2ee)]&&(_0x48fd66[_0x2c716c(0x19a)](),_0x48fd66[_0x2c716c(0x2ef)]=_0x15e57c[_0x2c716c(0x2ee)],_0x15e57c['fillRule']===_0x2c716c(0x341)?_0x48fd66[_0x2c716c(0x2ee)](_0x2c716c(0x341)):_0x48fd66[_0x2c716c(0x2ee)](),_0x48fd66[_0x2c716c(0x389)]());}class _0x693478 extends _0x45b49d[_0x5e2413(0x2e5)]{constructor(_0x471ef5,_0x61da67){const _0x31d200=_0x5e2413;super(_0x471ef5,_0x61da67),_0xb5e805(this,'color'),_0xb5e805(this,_0x31d200(0x34a)),(this[_0x31d200(0x227)]=_0x61da67==null?void 0x0:_0x61da67['color'],this[_0x31d200(0x34a)]=_0x61da67==null?void 0x0:_0x61da67['text']);}static[_0x5e2413(0x2ea)](_0x46fd5e,_0xbcfb83){const _0x327536=_0x5e2413,{text:_0x3fd669,color:_0x2a68e8}=_0xbcfb83;_0x46fd5e[_0x327536(0x19a)](),_0x46fd5e[_0x327536(0x23a)]=_0x327536(0x47c);const _0x267861=_0x46fd5e[_0x327536(0x446)](_0x3fd669)[_0x327536(0x1f8)],_0x1c9eb9=Math[_0x327536(0x442)](_0x267861+0x2*_0x24353b,_0x1c5aaa);_0x90a8e4(_0x46fd5e,{'height':_0x399006,'radius':0x4,'width':_0x1c9eb9,'fill':_0x2a68e8}),_0x46fd5e[_0x327536(0x2ef)]='#FFF';const _0x48d873=_0x24353b,_0x243a9a=_0x399006-_0x50a38,_0x4daf0d=_0x1c5aaa-0x2*_0x24353b;if(_0x267861>_0x4daf0d){let _0x538ca1='',_0x288f9f=0x0;for(const _0x1ff982 of _0x3fd669){const _0x267d26=_0x46fd5e[_0x327536(0x446)](_0x1ff982)[_0x327536(0x1f8)];if(_0x288f9f+_0x267d26<=_0x4daf0d-_0x46fd5e[_0x327536(0x446)](_0x327536(0x3a0))[_0x327536(0x1f8)])_0x538ca1+=_0x1ff982,_0x288f9f+=_0x267d26;else{_0x538ca1+=_0x327536(0x3a0);break;}}_0x46fd5e[_0x327536(0x3ed)](_0x538ca1,_0x48d873,_0x243a9a);}else _0x46fd5e[_0x327536(0x3ed)](_0x3fd669,_0x48d873,_0x243a9a);_0x46fd5e[_0x327536(0x389)]();}[_0x5e2413(0x45a)](_0x124259){_0x693478['drawWith'](_0x124259,this);}}const _0x30d685=_0x5e2413(0x2aa),_0x462ada='collab-text-range-',_0x4fa6d7='collab-rect-range-',_0x1ab115=0x6,_0x107cf5=1.5,_0x1d60dd=0x4,_0x4f29e0=1.5,_0x44e0d4=_0x5e2413(0x447);class _0x363a01{constructor(_0x192e69,_0x2fb6d5,_0x5afacf,_0x3b68ea){const _0x42e1eb=_0x5e2413;_0xb5e805(this,_0x42e1eb(0x20d),[]),_0xb5e805(this,_0x42e1eb(0x428),null),_0xb5e805(this,'_textBubble',null),_0xb5e805(this,'_anchorDot',null),_0xb5e805(this,_0x42e1eb(0x19c),null),_0xb5e805(this,_0x42e1eb(0x1bf),null),(this[_0x42e1eb(0x405)]=_0x192e69,this['_scene']=_0x2fb6d5,this[_0x42e1eb(0x2ae)]=_0x5afacf,this['_document']=_0x3b68ea,this[_0x42e1eb(0x2b0)]());}set['_hover'](_0x4a59db){const _0x328e2f=_0x5e2413;_0x4a59db?(this[_0x328e2f(0x327)]&&this['_anchorDot'][_0x328e2f(0x2c8)](),this[_0x328e2f(0x1fe)]&&this[_0x328e2f(0x1fe)][_0x328e2f(0x3df)]()):(this[_0x328e2f(0x327)]&&this['_anchorDot'][_0x328e2f(0x3df)](),this[_0x328e2f(0x1fe)]&&this['_textBubble']['hide']());}[_0x5e2413(0x43d)](){const _0x4775bb=_0x5e2413;for(const _0x42f8ec of this[_0x4775bb(0x20d)])_0x42f8ec[_0x4775bb(0x43d)]();this[_0x4775bb(0x1fe)]&&this[_0x4775bb(0x1fe)][_0x4775bb(0x43d)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x4775bb(0x428)][_0x4775bb(0x43d)](),this[_0x4775bb(0x1bf)]&&this[_0x4775bb(0x1bf)]();}[_0x5e2413(0x2b0)](){const _0x22ea3c=_0x5e2413;var _0x394cfc;const {_docSkeleton:_0x5bb00b,_document:_0x132efb}=this,{color:_0x29c65a,name:_0x4c288b,ranges:_0x13c424}=this[_0x22ea3c(0x405)],_0x10c979=_0x132efb[_0x22ea3c(0x23f)](),{docsLeft:_0x413e6b,docsTop:_0x59f1dd}=_0x10c979,_0xba87e9=new _0x449f6a['NodePositionConvertToCursor'](_0x10c979,_0x5bb00b);for(const {startOffset:_0x2ebf93,endOffset:_0x198765,rangeType:_0x4fb0ce,segmentId:_0x194491,segmentPage:_0x59d994,collapsed:_0x2f0100,isActive:_0x55de4d}of _0x13c424){const _0x35917e=_0x5bb00b[_0x22ea3c(0x436)](_0x2ebf93,!0x0,_0x194491,_0x59d994);let _0x3c3c37=_0x5bb00b[_0x22ea3c(0x436)](_0x198765,!0x0,_0x194491,_0x59d994);if(_0x3c3c37==null&&(_0x3c3c37=_0x5bb00b[_0x22ea3c(0x436)](_0x198765-0x1,!0x1,_0x194491,_0x59d994)),_0x55de4d){const {contentBoxPointGroup:_0x1132cf}=_0xba87e9['getRangePointData'](_0x3c3c37,_0x3c3c37);if(_0x1132cf['length']===0x0)continue;this[_0x22ea3c(0x323)](_0x29c65a,_0x1132cf,_0x413e6b,_0x59f1dd,_0x4c288b),this['_eventUnsubscribe']=this[_0x22ea3c(0x302)]();}if(_0x35917e&&_0x3c3c37){if(_0x4fb0ce===_0x22ce22[_0x22ea3c(0x23c)]['RECT']){const _0x441f29=new _0x449f6a[(_0x22ea3c(0x420))](_0x10c979,_0x5bb00b),{pointGroup:_0x307b31}=(_0x394cfc=_0x441f29[_0x22ea3c(0x2d0)](_0x35917e,_0x3c3c37))!=null?_0x394cfc:{};if(_0x307b31==null||_0x307b31['length']===0x0)continue;this[_0x22ea3c(0x2f2)](_0x29c65a,_0x307b31,_0x413e6b,_0x59f1dd);}else{if(!_0x2f0100){const {borderBoxPointGroup:_0x1ed064}=_0xba87e9[_0x22ea3c(0x2d0)](_0x35917e,_0x3c3c37);if(_0x1ed064[_0x22ea3c(0x2dd)]===0x0)continue;this[_0x22ea3c(0x3fa)](_0x29c65a,_0x1ed064,_0x413e6b,_0x59f1dd);}}}}}[_0x5e2413(0x323)](_0x474405,_0x36634d,_0xfc8646,_0x3b61b3,_0x33befa){const _0x496e72=_0x5e2413,_0x3f5ca3=this[_0x496e72(0x37a)](_0x36634d),{left:_0x41a56b,top:_0x3f19f9,height:_0x23bda2}=_0x3f5ca3,_0xa32b70=this[_0x496e72(0x25b)](),_0x197224=_0x4f29e0/_0xa32b70,_0x3e30d8=new _0x45b49d['Rect'](_0x30d685+_0x22ce22[_0x496e72(0x33a)](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3,'height':_0x23bda2,'width':_0x107cf5,'fill':_0x474405||_0x45b49d[_0x496e72(0x291)](_0x22ce22['COLORS'][_0x496e72(0x204)],0x0),'strokeWidth':_0x197224,'stroke':_0x44e0d4,'evented':!0x0});this['_anchor']=_0x3e30d8,this[_0x496e72(0x3f1)][_0x496e72(0x33b)](_0x3e30d8,_0x449f6a[_0x496e72(0x45b)]);const _0xb6d883=new _0x45b49d[(_0x496e72(0x466))](_0x30d685+_0x22ce22['generateRandomId'](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3-_0x1d60dd/0x2,'height':_0x1d60dd,'width':_0x1d60dd,'fill':_0x474405||_0x45b49d['getColor'](_0x22ce22[_0x496e72(0x1ff)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x474405||_0x45b49d[_0x496e72(0x291)](_0x22ce22['COLORS'][_0x496e72(0x204)],0x0),'evented':!0x1});this[_0x496e72(0x327)]=_0xb6d883,this[_0x496e72(0x3f1)][_0x496e72(0x33b)](_0xb6d883,_0x449f6a['TEXT_RANGE_LAYER_INDEX']);const _0x561860=new _0x693478(_0x30d685+_0x22ce22[_0x496e72(0x33a)](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3-_0x399006,'text':_0x33befa,'color':_0x474405});this[_0x496e72(0x1fe)]=_0x561860,this[_0x496e72(0x3f1)]['addObject'](_0x561860,_0x449f6a[_0x496e72(0x45b)]),this[_0x496e72(0x269)]=!0x1;}[_0x5e2413(0x302)](){const _0x89e20=_0x5e2413,_0x5caad6=this[_0x89e20(0x428)][_0x89e20(0x3b7)][_0x89e20(0x424)](()=>{const _0x213b2e=_0x89e20;this[_0x213b2e(0x269)]=!0x0;}),_0x163624=this[_0x89e20(0x428)]['onPointerLeave$'][_0x89e20(0x424)](()=>{const _0x530fe7=_0x89e20;this[_0x530fe7(0x19c)]&&clearTimeout(this[_0x530fe7(0x19c)]),this[_0x530fe7(0x19c)]=setTimeout(()=>{const _0x394a3c=_0x530fe7;this[_0x394a3c(0x269)]=!0x1;},0x7d0);});return()=>{const _0x125b91=_0x89e20;_0x5caad6['unsubscribe'](),_0x163624[_0x125b91(0x270)]();};}[_0x5e2413(0x3fa)](_0x244b3e,_0x1cbe12,_0x2ce111,_0x8d7891){const _0x4e0a75=_0x5e2413,_0x238883=new _0x22ce22[(_0x4e0a75(0x3a3))](_0x244b3e)[_0x4e0a75(0x1b9)](0.2)[_0x4e0a75(0x427)](),_0x20c57c=new _0x45b49d[(_0x4e0a75(0x33e))](_0x462ada+_0x22ce22[_0x4e0a75(0x33a)](_0x1ab115),{'pointsGroup':_0x1cbe12,'fill':_0x238883||_0x45b49d[_0x4e0a75(0x291)](_0x22ce22['COLORS'][_0x4e0a75(0x204)],0.2),'left':_0x2ce111,'top':_0x8d7891,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e0a75(0x20d)][_0x4e0a75(0x409)](_0x20c57c),this[_0x4e0a75(0x3f1)][_0x4e0a75(0x33b)](_0x20c57c,_0x449f6a['TEXT_RANGE_LAYER_INDEX']);}[_0x5e2413(0x2f2)](_0x45eb9b,_0x369a89,_0x1dbaa5,_0x48841c){const _0x4a120c=_0x5e2413,_0x4d85bb=new _0x22ce22[(_0x4a120c(0x3a3))](_0x45eb9b)[_0x4a120c(0x1b9)](0.2)[_0x4a120c(0x427)](),_0x553114=new _0x45b49d[(_0x4a120c(0x33e))](_0x4fa6d7+_0x22ce22[_0x4a120c(0x33a)](_0x1ab115),{'pointsGroup':_0x369a89,'fill':_0x4d85bb||_0x45b49d[_0x4a120c(0x291)](_0x22ce22[_0x4a120c(0x1ff)][_0x4a120c(0x204)],0.2),'left':_0x1dbaa5,'top':_0x48841c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a120c(0x20d)][_0x4a120c(0x409)](_0x553114),this['_scene']['addObject'](_0x553114,_0x449f6a[_0x4a120c(0x45b)]);}[_0x5e2413(0x37a)](_0x205cef){const _0x545ba6=_0x205cef[0x0],_0x32366a=_0x545ba6[0x0],_0x1cbcec=_0x545ba6[0x2],{x:_0x4449bc,y:_0x5eaa48}=_0x32366a,{x:_0x333fc7,y:_0xfed681}=_0x1cbcec;return{'left':_0x4449bc,'top':_0x5eaa48,'width':_0x333fc7-_0x4449bc,'height':_0xfed681-_0x5eaa48};}[_0x5e2413(0x25b)](){const _0xfc80a2=_0x5e2413,{scaleX:_0x25526e,scaleY:_0x475fc7}=this[_0xfc80a2(0x3f1)][_0xfc80a2(0x277)]();return Math[_0xfc80a2(0x36f)](_0x25526e,_0x475fc7);}}var _0x30f0e3=Object[_0x5e2413(0x306)],_0x3e443f=(_0x3f3636,_0x1198c2,_0x4f1bdd,_0x586a9d)=>{const _0xa53efa=_0x5e2413;for(var _0x32f98b=_0x586a9d>0x1?void 0x0:_0x586a9d?_0x30f0e3(_0x1198c2,_0x4f1bdd):_0x1198c2,_0x4a0159=_0x3f3636[_0xa53efa(0x2dd)]-0x1,_0x4906c6;_0x4a0159>=0x0;_0x4a0159--)(_0x4906c6=_0x3f3636[_0x4a0159])&&(_0x32f98b=_0x4906c6(_0x32f98b)||_0x32f98b);return _0x32f98b;},_0x110846=(_0x6a6f5d,_0x204ba7)=>(_0x4cefa9,_0x3299c3)=>_0x204ba7(_0x4cefa9,_0x3299c3,_0x6a6f5d);let _0x3559ed=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x30f74e,_0x2b750f,_0x576ddf,_0x2395e5,_0x142ae0){const _0x8391b8=_0x5e2413;super(),_0xb5e805(this,_0x8391b8(0x1b3),[]),_0xb5e805(this,_0x8391b8(0x3f4),[]),(this[_0x8391b8(0x23d)]=_0x30f74e,this['_docSkeletonManagerService']=_0x2b750f,this[_0x8391b8(0x1eb)]=_0x576ddf,this[_0x8391b8(0x272)]=_0x2395e5,this[_0x8391b8(0x2e8)]=_0x142ae0,this[_0x8391b8(0x32b)]());}[_0x5e2413(0x32b)](){const _0x591634=_0x5e2413,_0x35c32b=this['_context'][_0x591634(0x1de)],_0x585b99=this[_0x591634(0x1ec)];this[_0x591634(0x279)](_0x32e4d0[_0x591634(0x3c0)]([this['_collabCursorController']['getCollabCursors$'](_0x35c32b),this[_0x591634(0x2e8)][_0x591634(0x346)]])[_0x591634(0x1c9)](_0x3d627d[_0x591634(0x461)](([_0x566727,_0x17abe8])=>({'skeleton':_0x585b99[_0x591634(0x355)](),'cursors':[..._0x566727[_0x591634(0x46b)]()][_0x591634(0x2cb)](_0xcb0a23=>({..._0xcb0a23,'color':this[_0x591634(0x2e8)][_0x591634(0x1d4)](_0xcb0a23[_0x591634(0x227)])}))})))['subscribe'](_0x58752e=>{const _0xdfd04b=_0x591634;if(this[_0xdfd04b(0x3da)](),_0x58752e){const {skeleton:_0x168c33,cursors:_0x2e195f}=_0x58752e;this[_0xdfd04b(0x413)](_0x168c33,_0x2e195f);}})),this[_0x591634(0x21d)](),this[_0x591634(0x27c)]();}[_0x5e2413(0x413)](_0x179de9,_0x5d3dee){const _0x49e729=_0x5e2413,{scene:_0x285b01,mainComponent:_0x21a2f5}=this[_0x49e729(0x23d)],_0x2fa5c5=_0x5d3dee['map'](_0x3be09f=>new _0x363a01(_0x3be09f,_0x285b01,_0x179de9,_0x21a2f5));this[_0x49e729(0x1b3)]=_0x2fa5c5,this[_0x49e729(0x3f4)]=_0x5d3dee;}[_0x5e2413(0x41e)](){const _0x293366=_0x5e2413;this[_0x293366(0x3da)]();const {scene:_0x14796e,mainComponent:_0x2885e4}=this['_context'],_0x543699=this[_0x293366(0x1ec)]['getSkeleton'](),_0x27ad7e=this[_0x293366(0x3f4)][_0x293366(0x461)](_0xb9fc1f=>new _0x363a01(_0xb9fc1f,_0x14796e,_0x543699,_0x2885e4));this['_cursorShapes']=_0x27ad7e;}['_removeCollabCursors'](){const _0xbd641c=_0x5e2413;this[_0xbd641c(0x1b3)]['forEach'](_0x5cd20c=>_0x5cd20c[_0xbd641c(0x43d)]()),this[_0xbd641c(0x1b3)]=[];}[_0x5e2413(0x27c)](){const _0xa902ad=_0x5e2413,_0x381635=[_0x449f6a[_0xa902ad(0x31d)]['id']];this[_0xa902ad(0x279)](this['_commandService'][_0xa902ad(0x479)](_0x27bae2=>{const _0x204221=_0xa902ad;_0x381635[_0x204221(0x33f)](_0x27bae2['id'])&&_0x27bae2['params'][_0x204221(0x1de)]===this[_0x204221(0x23d)][_0x204221(0x1de)]&&this['_refreshCollabCursors']();}));}[_0x5e2413(0x21d)](){const _0x8995e3=_0x5e2413;this[_0x8995e3(0x279)](_0x22ce22[_0x8995e3(0x286)](this[_0x8995e3(0x23d)][_0x8995e3(0x462)][_0x8995e3(0x33c)])['pipe'](_0x3d627d['filter'](_0x589624=>_0x589624[_0x8995e3(0x22a)]===_0x45b49d[_0x8995e3(0x34f)][_0x8995e3(0x419)]),_0x3d627d[_0x8995e3(0x326)](0x10))[_0x8995e3(0x290)](()=>{const _0x18e376=_0x8995e3;this[_0x18e376(0x41e)]();}));}};_0x3559ed=_0x3e443f([_0x110846(0x1,_0x22ce22[_0x5e2413(0x312)](_0x506cee[_0x5e2413(0x2a1)])),_0x110846(0x2,_0x22ce22[_0x5e2413(0x312)](_0xb791f4)),_0x110846(0x3,_0x22ce22['ICommandService']),_0x110846(0x4,_0x22ce22[_0x5e2413(0x312)](_0x22ce22['ThemeService']))],_0x3559ed);const _0xcc7864=0x1,_0x4997a8=1.5;class _0x5bd587 extends _0x45b49d[_0x5e2413(0x2e5)]{constructor(_0xb2bcce,_0x59b30e){const _0x182ecc=_0x5e2413;super(_0xb2bcce,_0x59b30e),_0xb5e805(this,_0x182ecc(0x1b8)),_0xb5e805(this,'_hovered',!0x1),_0xb5e805(this,_0x182ecc(0x3c7)),_0xb5e805(this,_0x182ecc(0x361),''),_0xb5e805(this,_0x182ecc(0x411),_0x182ecc(0x451)),_0xb5e805(this,_0x182ecc(0x469)),(_0x59b30e&&this[_0x182ecc(0x1fc)](_0x59b30e),this['onPointerEnter$'][_0x182ecc(0x424)](()=>this[_0x182ecc(0x1fc)]({'hovered':!0x0})),this[_0x182ecc(0x2f8)][_0x182ecc(0x424)](()=>this[_0x182ecc(0x1fc)]({'hovered':!0x1})));}[_0x5e2413(0x1fc)](_0x4f4ff2){const _0x282706=_0x5e2413;var _0x2ab41e,_0x50bca1,_0x583d15,_0x548750,_0x2e6bbe,_0x4d6e13;this[_0x282706(0x1b8)]=(_0x2ab41e=_0x4f4ff2[_0x282706(0x227)])!=null?_0x2ab41e:this['_color'],this[_0x282706(0x1a2)]=(_0x50bca1=_0x4f4ff2[_0x282706(0x20b)])!=null?_0x50bca1:this[_0x282706(0x1a2)],this[_0x282706(0x3c7)]=(_0x583d15=_0x4f4ff2[_0x282706(0x3c1)])!=null?_0x583d15:this[_0x282706(0x3c7)],this['_name']=(_0x548750=_0x4f4ff2['name'])!=null?_0x548750:this[_0x282706(0x361)],this[_0x282706(0x411)]=(_0x2e6bbe=_0x4f4ff2[_0x282706(0x357)])!=null?_0x2e6bbe:this[_0x282706(0x411)],this[_0x282706(0x469)]=(_0x4d6e13=_0x4f4ff2['backgroundColor'])!=null?_0x4d6e13:this['_backgroundColor'],this['transformByState']({'width':_0x4f4ff2[_0x282706(0x1f8)],'height':_0x4f4ff2[_0x282706(0x386)]});}['onMouseMove'](_0x6e5d02){const _0x318264=_0x5e2413,{row:_0x1a351a,column:_0xc72541}=_0x6e5d02;if(_0x1a351a>=this['_range'][_0x318264(0x32e)]&&_0x1a351a<=this['_range'][_0x318264(0x2d5)]&&_0xc72541>=this[_0x318264(0x3c7)][_0x318264(0x206)]&&_0xc72541<=this['_range']['endColumn']){this[_0x318264(0x1fc)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4c1aff){return!0x1;}[_0x5e2413(0x45a)](_0x5a9871){const _0x42c4cc=_0x5e2413;_0x45b49d[_0x42c4cc(0x466)][_0x42c4cc(0x2ea)](_0x5a9871,{'width':this[_0x42c4cc(0x1f8)],'height':this['height'],'strokeWidth':_0x4997a8,'stroke':this[_0x42c4cc(0x1b8)],'evented':!0x1,'fill':this[_0x42c4cc(0x469)]}),this[_0x42c4cc(0x1a2)]&&(_0x5a9871[_0x42c4cc(0x19a)](),_0x5a9871[_0x42c4cc(0x454)](0x1,0x0,0x0,0x1,this[_0x42c4cc(0x1f8)],this[_0x42c4cc(0x411)]===_0x42c4cc(0x3f8)?0x0:-_0x399006),_0x693478['drawWith'](_0x5a9871,{'text':this[_0x42c4cc(0x361)],'color':this[_0x42c4cc(0x1b8)]}),_0x5a9871[_0x42c4cc(0x389)]());}}var _0xe14e20=Object['getOwnPropertyDescriptor'],_0x4cfa03=(_0xc70c38,_0x40d745,_0x4cc039,_0x1d1443)=>{const _0x25d295=_0x5e2413;for(var _0x40682d=_0x1d1443>0x1?void 0x0:_0x1d1443?_0xe14e20(_0x40d745,_0x4cc039):_0x40d745,_0x2082ab=_0xc70c38[_0x25d295(0x2dd)]-0x1,_0x39f512;_0x2082ab>=0x0;_0x2082ab--)(_0x39f512=_0xc70c38[_0x2082ab])&&(_0x40682d=_0x39f512(_0x40682d)||_0x40682d);return _0x40682d;},_0x582806=(_0x44d28c,_0x41d04a)=>(_0x1ba842,_0x4b8871)=>_0x41d04a(_0x1ba842,_0x4b8871,_0x44d28c);const _0x4523c2=0x1389;let _0x1a7b06=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x32517c,_0x1e56f5,_0x51f371,_0x532bb5){const _0x2cdeb0=_0x5e2413;super(),_0xb5e805(this,_0x2cdeb0(0x3f4),new Set()),_0xb5e805(this,_0x2cdeb0(0x2ac),null),(this['_context']=_0x32517c,this[_0x2cdeb0(0x247)]=_0x1e56f5,this[_0x2cdeb0(0x1eb)]=_0x51f371,this[_0x2cdeb0(0x2e8)]=_0x532bb5,this['_init']());}[_0x5e2413(0x32b)](){const _0x33cdf9=_0x5e2413;this[_0x33cdf9(0x247)][_0x33cdf9(0x21c)][_0x33cdf9(0x1c9)](_0x3d627d[_0x33cdf9(0x2be)](this[_0x33cdf9(0x25a)]),_0x3d627d[_0x33cdf9(0x205)](_0x12a3d1=>{const _0x393566=_0x33cdf9;if(_0x12a3d1){const _0x56a610=_0x12a3d1['sheetId'];return _0x32e4d0[_0x393566(0x3c0)](this['_collabCursorController']['getCollabCursors$'](this[_0x393566(0x23d)][_0x393566(0x1de)]),this[_0x393566(0x2e8)]['currentTheme$'])['pipe'](_0x3d627d['map'](([_0x59c830,_0x40d6b9])=>{const _0x1363fd=_0x393566,_0x25f352=new Map();return _0x59c830[_0x1363fd(0x3e5)]((_0xdb15eb,_0x4bc9f3)=>{const _0x1329e4=_0x1363fd;if(_0xdb15eb[_0x1329e4(0x23b)]===_0x56a610){const _0x195b89={..._0xdb15eb};_0x195b89[_0x1329e4(0x227)]=this[_0x1329e4(0x2e8)][_0x1329e4(0x1d4)](_0xdb15eb[_0x1329e4(0x227)]),_0x25f352['set'](_0x4bc9f3,_0x195b89);}}),{'skeleton':_0x12a3d1,'cursors':_0x25f352};}));}return _0x32e4d0['of']({'skeleton':null,'cursors':new Map()});}))[_0x33cdf9(0x290)](({skeleton:_0x34340e,cursors:_0x58afa3})=>{const _0x390587=_0x33cdf9;this[_0x390587(0x3da)](),_0x34340e&&this[_0x390587(0x413)](_0x34340e,_0x58afa3);}),this[_0x33cdf9(0x247)][_0x33cdf9(0x21c)]['subscribe'](_0x5532a6=>{const _0xaef591=_0x33cdf9;if(_0x5532a6==null)return;const {skeleton:_0x1c84d5}=_0x5532a6,{scene:_0x2ebe7c}=this['_context'];_0x2ebe7c[_0xaef591(0x2f6)]['subscribeEvent'](_0x22ce22[_0xaef591(0x198)](_0x3ce6d2=>{const _0x19d588=_0xaef591;var _0x2d91e4,_0x416d91;const {offsetX:_0x4bed34,offsetY:_0x34dc7b}=_0x3ce6d2,{x:_0x4884f0,y:_0x1e9adf}=_0x2ebe7c[_0x19d588(0x40d)](_0x45b49d[_0x19d588(0x282)]['FromArray']([_0x4bed34,_0x34dc7b])),{scaleX:_0x2c1316,scaleY:_0x579b6a}=_0x2ebe7c[_0x19d588(0x277)](),_0x54df9f=_0x2ebe7c['getViewport'](_0x45b49d[_0x19d588(0x300)][_0x19d588(0x3fc)]),_0x2ed490=_0x2ebe7c[_0x19d588(0x2b9)](_0x45b49d['Vector2'][_0x19d588(0x3a7)]([_0x4884f0,_0x1e9adf]),_0x54df9f),_0xaa98b9=_0x1c84d5[_0x19d588(0x3ca)](_0x4bed34,_0x34dc7b,_0x2c1316,_0x579b6a,_0x2ed490);((_0x2d91e4=this[_0x19d588(0x2ac)])==null?void 0x0:_0x2d91e4[_0x19d588(0x209)])===_0xaa98b9[_0x19d588(0x209)]&&((_0x416d91=this[_0x19d588(0x2ac)])==null?void 0x0:_0x416d91[_0x19d588(0x3ac)])===_0xaa98b9[_0x19d588(0x3ac)]||this[_0x19d588(0x3f4)][_0x19d588(0x3e5)](_0x5385fe=>{const _0x5c89ba=_0x19d588;_0x5385fe[_0x5c89ba(0x24a)](_0xaa98b9);});},0x64));});}['_updateCollabCursors'](_0x2f0c0a,_0x3141a0){const _0x5eeea6=_0x5e2413;var _0x423d98;const _0x20ba05=(_0x423d98=this['_sheetSkeletonManagerService'][_0x5eeea6(0x39f)]())==null?void 0x0:_0x423d98[_0x5eeea6(0x376)];if(!_0x20ba05)return;const _0x455ac8=this[_0x5eeea6(0x31a)]();if(!_0x455ac8)return;this['_cursors'][_0x5eeea6(0x3e5)](_0x14abbe=>{const _0x4991a3=_0x5eeea6;_0x14abbe[_0x4991a3(0x2f7)]();});const {scene:_0xefe45f}=_0x455ac8,_0x512551=_0x25796d(Array[_0x5eeea6(0x287)](_0x3141a0[_0x5eeea6(0x46b)]()))['map'](_0x50ea21=>{const _0x15ff1b=_0x5eeea6,{color:_0x1f2c14,range:_0x3866f3,name:_0x5e260d,selection:_0x306e01,sheetID:_0x48652e}=_0x50ea21,{startColumn:_0x1d6568,startRow:_0x413df4,endColumn:_0x4aa288,endRow:_0x2a1154}=_0x3866f3,_0x3e394a=_0x198761[_0x15ff1b(0x1f0)](_0x413df4,_0x1d6568,_0xefe45f,_0x20ba05),_0x3c6e3c=_0x198761['getCoordByCell'](_0x2a1154,_0x4aa288,_0xefe45f,_0x20ba05),{columnHeaderHeightAndMarginTop:_0x7d88b6}=_0x20ba05,{startX:_0x27f2e5,startY:_0x815bae}=_0x3e394a,{endX:_0x2ca1f6,endY:_0x132154}=_0x3c6e3c,_0x76d0d2=_0x2ca1f6-_0x27f2e5,_0xb90901=_0x132154-_0x815bae,_0x127d37={'labelPosition':_0x815bae-_0x7d88b6>=_0x399006?_0x15ff1b(0x451):_0x15ff1b(0x3f8),'sheetID':_0x48652e,'range':_0x3866f3,'color':_0x1f2c14,'name':_0x5e260d,'selection':_0x306e01,'left':_0x27f2e5,'top':_0x815bae,'width':_0x76d0d2,'height':_0xb90901,'evented':!0x1,'zIndex':_0x4523c2};return new _0x5bd587(_0x5e260d,_0x127d37);});_0xefe45f[_0x5eeea6(0x3b8)](_0x512551,_0xcc7864),this[_0x5eeea6(0x3f4)]=new Set(_0x512551);}[_0x5e2413(0x3da)](){const _0x27d17c=_0x5e2413;var _0x52e2fc;(_0x52e2fc=this['_cursors'])==null||_0x52e2fc[_0x27d17c(0x3e5)](_0x45bc44=>_0x45bc44[_0x27d17c(0x43d)]());}[_0x5e2413(0x31a)](){const _0x1df782=_0x5e2413;return _0x198761[_0x1df782(0x214)](this['_context'][_0x1df782(0x1e5)],this[_0x1df782(0x23d)]);}};_0x1a7b06=_0x4cfa03([_0x582806(0x1,_0x22ce22['Inject'](_0x198761[_0x5e2413(0x3cc)])),_0x582806(0x2,_0x22ce22[_0x5e2413(0x312)](_0xb791f4)),_0x582806(0x3,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x2bc)]))],_0x1a7b06);function _0x25796d(_0x38e5b2){const _0xb9fd97=_0x5e2413,_0x1f7f21=new Map();return _0x38e5b2[_0xb9fd97(0x3e5)](_0x322927=>{const _0x30b53d=_0xb9fd97;if(_0x1f7f21[_0x30b53d(0x35f)](_0x322927[_0x30b53d(0x453)])){const _0x10b5cf=_0x1f7f21[_0x30b53d(0x335)](_0x322927[_0x30b53d(0x453)]);_0x10b5cf[_0x30b53d(0x30d)]+=',\x20'+_0x322927[_0x30b53d(0x30d)];}else _0x1f7f21[_0x30b53d(0x1d2)](_0x322927[_0x30b53d(0x453)],_0x322927);}),Array[_0xb9fd97(0x287)](_0x1f7f21['values']());}var _0x32291b=Object[_0x5e2413(0x306)],_0x5eee7c=(_0xfe10e4,_0xc68908,_0x1e53d3,_0x494ad2)=>{const _0x5ccc3d=_0x5e2413;for(var _0x1d3c52=_0x494ad2>0x1?void 0x0:_0x494ad2?_0x32291b(_0xc68908,_0x1e53d3):_0xc68908,_0x440885=_0xfe10e4[_0x5ccc3d(0x2dd)]-0x1,_0x868542;_0x440885>=0x0;_0x440885--)(_0x868542=_0xfe10e4[_0x440885])&&(_0x1d3c52=_0x868542(_0x1d3c52)||_0x1d3c52);return _0x1d3c52;},_0x414886=(_0x338d41,_0x1ee3dc)=>(_0x33f5ba,_0x583573)=>_0x1ee3dc(_0x33f5ba,_0x583573,_0x338d41);let _0x38b082=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x2543d6,_0x65606f,_0x1bd39f,_0x510ec6,_0x27192d,_0x49aa92){const _0x583fbd=_0x5e2413;super(),this['_beforeCloseService']=_0x2543d6,this[_0x583fbd(0x3e8)]=_0x65606f,this[_0x583fbd(0x403)]=_0x1bd39f,this[_0x583fbd(0x383)]=_0x510ec6,this[_0x583fbd(0x385)]=_0x27192d,this[_0x583fbd(0x40b)]=_0x49aa92,this[_0x583fbd(0x23e)](),this[_0x583fbd(0x251)]();}['_setupBeforeClosingHandler'](){const _0xb428b5=_0x5e2413;this[_0xb428b5(0x279)](this[_0xb428b5(0x27d)]['registerBeforeClose'](()=>{const _0x132c60=_0xb428b5;if(this[_0x132c60(0x3e8)][_0x132c60(0x356)][_0x132c60(0x245)])return this[_0x132c60(0x40b)]['t'](_0x132c60(0x45d));}));}['_initEvent'](){const _0x55d1b1=_0x5e2413;this[_0x55d1b1(0x279)](this['_collaborationUIEventService'][_0x55d1b1(0x314)][_0x55d1b1(0x290)](_0x2d2a8f=>{const _0x1c503f=_0x55d1b1;_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)]['OTHER_CLIENT_EDITING']&&this[_0x1c503f(0x383)]['show']({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x3bc))}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x449)]&&this['_messageService'][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this[_0x1c503f(0x40b)]['t']('collaboration.closeRoom')}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)]['PERMISSION_DENIED']&&this[_0x1c503f(0x385)][_0x1c503f(0x3df)]({'title':this[_0x1c503f(0x40b)]['t']('permission.title'),'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x259)),'type':_0x1c503f(0x1ee),'duration':0x0}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId'][_0x1c503f(0x46a)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72['MessageType'][_0x1c503f(0x444)],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x2e4))+'('+_0x2d2a8f[_0x1c503f(0x238)]+')'}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x37b)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)]['Warning'],'content':this['_localeService']['t'](_0x2d2a8f[_0x1c503f(0x238)]||'')}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this['_localeService']['t'](_0x1c503f(0x3e0))}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x1d1)]&&this['_messageService']['show']({'type':_0x569a72[_0x1c503f(0x22c)]['Error'],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x250))}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId'][_0x1c503f(0x26f)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72['MessageType'][_0x1c503f(0x444)],'content':this['_localeService']['t'](_0x1c503f(0x393))});}));}};_0x38b082=_0x5eee7c([_0x414886(0x0,_0x2b7bff['IBeforeCloseService']),_0x414886(0x1,_0x30f49a[_0x5e2413(0x1a5)]),_0x414886(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a['CollaborationUIEventService'])),_0x414886(0x3,_0x2b7bff[_0x5e2413(0x2e2)]),_0x414886(0x4,_0x2b7bff[_0x5e2413(0x407)]),_0x414886(0x5,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x42d)]))],_0x38b082);var _0x42940d=Object[_0x5e2413(0x306)],_0x32e96f=(_0x291a97,_0x23f17f,_0x3f1f1f,_0x2df9e3)=>{const _0x5e5aa4=_0x5e2413;for(var _0x106909=_0x2df9e3>0x1?void 0x0:_0x2df9e3?_0x42940d(_0x23f17f,_0x3f1f1f):_0x23f17f,_0x176a40=_0x291a97[_0x5e5aa4(0x2dd)]-0x1,_0x2e7054;_0x176a40>=0x0;_0x176a40--)(_0x2e7054=_0x291a97[_0x176a40])&&(_0x106909=_0x2e7054(_0x106909)||_0x106909);return _0x106909;},_0x2adfaa=(_0x339cbb,_0x495153)=>(_0x47a9cb,_0x9395e1)=>_0x495153(_0x47a9cb,_0x9395e1,_0x339cbb);let _0x4cbab2=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x2a3002,_0x4bfc01,_0x14f00a,_0x2e5f21){const _0x34825d=_0x5e2413;super(),_0xb5e805(this,'_memberID'),(this['_injector']=_0x2a3002,this['_httpService']=_0x4bfc01,this[_0x34825d(0x294)]=_0x14f00a,this[_0x34825d(0x266)]=_0x2e5f21,this[_0x34825d(0x32b)]());}[_0x5e2413(0x32b)](){const _0x3e80c9=_0x5e2413;this[_0x3e80c9(0x31b)](),this[_0x3e80c9(0x28e)](),this[_0x3e80c9(0x25f)](),this['_initUserListener']();}[_0x5e2413(0x39b)](){const _0x1800ba=_0x5e2413;this[_0x1800ba(0x279)](this[_0x1800ba(0x266)][_0x1800ba(0x27a)][_0x1800ba(0x290)](_0x50738a=>{const _0xbe6f35=_0x1800ba;this['_memberID']=_0x50738a==null?void 0x0:_0x50738a[_0xbe6f35(0x40c)];}));}[_0x5e2413(0x31b)](){const _0x42cecc=_0x5e2413,_0x285f9d=_0x58e075=>{const _0x241225=_0x3aed;var _0x1dd4dd;this[_0x241225(0x2de)](_0x241225(0x1ee),'[Window\x20Error]:\x20'+_0x58e075[_0x241225(0x39c)]+'\x20at\x20'+_0x58e075['filename']+':'+_0x58e075['lineno']+':'+_0x58e075['colno']+'\x0a'+(((_0x1dd4dd=_0x58e075['error'])==null?void 0x0:_0x1dd4dd['stack'])||''));};window[_0x42cecc(0x352)](_0x42cecc(0x1ee),_0x285f9d),this['disposeWithMe'](()=>{const _0x309ce2=_0x42cecc;window[_0x309ce2(0x234)]('error',_0x285f9d);});}[_0x5e2413(0x28e)](){const _0x1e3559=_0x5e2413,_0x1f0385=_0x851117=>{const _0x1a4403=_0x3aed;this[_0x1a4403(0x2de)](_0x1a4403(0x1ee),_0x1a4403(0x46e)+_0x851117[_0x1a4403(0x24e)]);};window[_0x1e3559(0x352)](_0x1e3559(0x412),_0x1f0385),this[_0x1e3559(0x279)](()=>{const _0x22beac=_0x1e3559;window[_0x22beac(0x234)](_0x22beac(0x412),_0x1f0385);});}[_0x5e2413(0x25f)](){const _0x545119=_0x5e2413,_0xb4308b=this[_0x545119(0x294)][_0x545119(0x1ee)][_0x545119(0x38c)](this['_logService']);this[_0x545119(0x294)]['error']=(..._0xf5bd2e)=>{const _0x454bb9=_0x545119,_0x55169f=_0xf5bd2e['map'](_0x507008=>_0x507008 instanceof Error?_0x507008[_0x454bb9(0x39c)]+'\x0a'+_0x507008[_0x454bb9(0x3f5)]:String(_0x507008))[_0x454bb9(0x1e0)]('\x20');this[_0x454bb9(0x2de)](_0x454bb9(0x1ee),_0x454bb9(0x415)+_0x55169f),_0xb4308b(..._0xf5bd2e);},this[_0x545119(0x279)](()=>{const _0x809528=_0x545119;this[_0x809528(0x294)]['error']=_0xb4308b;});}[_0x5e2413(0x2de)](_0xda0e98,_0x2f383f){const _0x26023d=_0x5e2413;try{const _0x2355fe={'userId':this[_0x26023d(0x36b)],'logLabel':_0xda0e98,'content':_0x2f383f};this[_0x26023d(0x369)][_0x26023d(0x1e1)](_0x26023d(0x2d6),{'body':_0x2355fe})['catch'](()=>{});}catch{}}};_0x4cbab2=_0x32e96f([_0x2adfaa(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x2adfaa(0x1,_0x22ce22['Inject'](_0x92f5d3['HTTPService'])),_0x2adfaa(0x2,_0x22ce22['ILogService']),_0x2adfaa(0x3,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x382)]))],_0x4cbab2);const _0x2a0687=_0x5e2413(0x388),_0x124d98={};var _0x286d40=Object[_0x5e2413(0x306)],_0x2bad5a=(_0x5a4039,_0x19540c,_0x6b1e50,_0x20c90e)=>{const _0x5797e4=_0x5e2413;for(var _0xc6d4f2=_0x20c90e>0x1?void 0x0:_0x20c90e?_0x286d40(_0x19540c,_0x6b1e50):_0x19540c,_0x22d3a8=_0x5a4039[_0x5797e4(0x2dd)]-0x1,_0x212d08;_0x22d3a8>=0x0;_0x22d3a8--)(_0x212d08=_0x5a4039[_0x22d3a8])&&(_0xc6d4f2=_0x212d08(_0xc6d4f2)||_0xc6d4f2);return _0xc6d4f2;},_0x5a4e3c=(_0x418035,_0x4c245b)=>(_0xe32b5,_0x172370)=>_0x4c245b(_0xe32b5,_0x172370,_0x418035);let _0x5b9ed5=class{constructor(_0x307f9e,_0x35517d){this['_transformService']=_0x307f9e,this['_renderManagerService']=_0x35517d;}['transformIMECache'](_0x4360cc){const _0x532421=_0x5e2413;this[_0x532421(0x410)](_0x4360cc),this[_0x532421(0x263)](_0x4360cc);}['transformRemoteChangeset'](_0x204757){const _0x132169=_0x5e2413,{unitID:_0x172c6d}=_0x204757,_0x483d1c=this['_renderManagerService'][_0x132169(0x1bb)](_0x172c6d)[_0x132169(0x1da)](_0x449f6a[_0x132169(0x2b7)]),{redoCache:_0x979a7a}=_0x483d1c[_0x132169(0x2d7)]();if(_0x979a7a[_0x132169(0x2dd)]===0x0)return _0x204757;let _0x89dc4=_0x22ce22[_0x132169(0x276)][_0x132169(0x2ce)](_0x204757[_0x132169(0x443)][0x0]);for(let _0x3473cb=0x0;_0x3473cb<_0x979a7a[_0x132169(0x2dd)];_0x3473cb++){const _0x520e88={'id':_0x132169(0x2e1),'params':{..._0x979a7a[_0x3473cb]}},_0x3b531a=this[_0x132169(0x3b1)][_0x132169(0x1f5)](_0x89dc4,_0x520e88,!0x1);if(_0x5c6274['isTransformMutationFailure'](_0x3b531a))throw _0x3b531a['error'];_0x89dc4=_0x3b531a[_0x132169(0x31e)];}return{..._0x22ce22[_0x132169(0x276)][_0x132169(0x2ce)](_0x204757),'mutations':[_0x89dc4]};}['_transformUndoRedoStack'](_0x4717b0){const _0x4ec453=_0x5e2413,{unitID:_0x7c0dea}=_0x4717b0,_0x8d65a8=this[_0x4ec453(0x318)][_0x4ec453(0x1bb)](_0x7c0dea)[_0x4ec453(0x1da)](_0x449f6a[_0x4ec453(0x2b7)]),{undoCache:_0x4fe048,redoCache:_0x2228c7}=_0x8d65a8[_0x4ec453(0x2d7)]();if(_0x4fe048[_0x4ec453(0x2dd)]===0x0||_0x2228c7[_0x4ec453(0x2dd)]===0x0)return;const _0x4ab216=[],_0x3ce2a8=[];let _0xb7d993=_0x22ce22[_0x4ec453(0x276)][_0x4ec453(0x2ce)](_0x4717b0['mutations'][0x0]),_0xb3fa00=_0x22ce22[_0x4ec453(0x276)]['deepClone'](_0x4717b0[_0x4ec453(0x443)][0x0]);for(let _0xb5ea6e=_0x4fe048[_0x4ec453(0x2dd)]-0x1;_0xb5ea6e>=0x0;_0xb5ea6e--){const _0x502bed={'id':'doc.mutation.rich-text-editing','params':{..._0x4fe048[_0xb5ea6e]}},_0x5cca22={'id':_0x4ec453(0x2e1),'params':{..._0x2228c7[_0xb5ea6e]}},_0x7b275b=this[_0x4ec453(0x3b1)][_0x4ec453(0x1f5)](_0xb7d993,_0x502bed,!0x1),_0x45c4b7=this['_transformService'][_0x4ec453(0x1f5)](_0xb3fa00,_0x5cca22,!0x1);if(_0x5c6274['isTransformMutationFailure'](_0x7b275b))throw _0x7b275b[_0x4ec453(0x1ee)];if(_0x5c6274[_0x4ec453(0x20f)](_0x45c4b7))throw _0x45c4b7[_0x4ec453(0x1ee)];_0x4ab216[_0x4ec453(0x2a5)](_0x7b275b[_0x4ec453(0x30b)][_0x4ec453(0x345)]),_0x3ce2a8[_0x4ec453(0x2a5)](_0x45c4b7['m2Prime'][_0x4ec453(0x345)]),_0xb7d993=_0x7b275b[_0x4ec453(0x31e)],_0xb3fa00=_0x45c4b7[_0x4ec453(0x31e)];}_0x8d65a8[_0x4ec453(0x1b2)]({'undoCache':_0x4ab216,'redoCache':_0x3ce2a8});}[_0x5e2413(0x263)](_0x196e57){const _0x238fc3=_0x5e2413,{unitID:_0x27d41a}=_0x196e57,_0x814474=this['_renderManagerService']['getRenderById'](_0x27d41a)[_0x238fc3(0x1da)](_0x449f6a[_0x238fc3(0x2b7)]),_0x1f4386=_0x814474[_0x238fc3(0x280)]();if(_0x1f4386==null)return;const _0x380263=[{'id':_0x238fc3(0x2e1),'params':{'unitId':_0x196e57[_0x238fc3(0x329)],'actions':null,'textRanges':[_0x1f4386]}}],_0x5f1520=this['_transformService']['transformMutationsWithChangeset'](_0x196e57,_0x380263);if(!_0x5c6274[_0x238fc3(0x249)](_0x5f1520))throw _0x5f1520[_0x238fc3(0x1ee)];const _0x26c7f8=_0x5f1520[_0x238fc3(0x30b)][0x0][_0x238fc3(0x345)][_0x238fc3(0x207)];Array['isArray'](_0x26c7f8)&&_0x26c7f8['length']&&_0x814474[_0x238fc3(0x2a6)](_0x26c7f8[0x0]);}};_0x5b9ed5=_0x2bad5a([_0x5a4e3c(0x0,_0x5c6274[_0x5e2413(0x230)]),_0x5a4e3c(0x1,_0x45b49d[_0x5e2413(0x2d1)])],_0x5b9ed5);var _0x2b5047=Object[_0x5e2413(0x306)],_0x9eb5e=(_0x90b02e,_0x2ddaee,_0x591fc5,_0x55ea59)=>{for(var _0x469ac4=_0x55ea59>0x1?void 0x0:_0x55ea59?_0x2b5047(_0x2ddaee,_0x591fc5):_0x2ddaee,_0x2e9352=_0x90b02e['length']-0x1,_0x3d3e29;_0x2e9352>=0x0;_0x2e9352--)(_0x3d3e29=_0x90b02e[_0x2e9352])&&(_0x469ac4=_0x3d3e29(_0x469ac4)||_0x469ac4);return _0x469ac4;},_0x354abc=(_0x11e070,_0x1ab66f)=>(_0x1c5547,_0x5a699d)=>_0x1ab66f(_0x1c5547,_0x5a699d,_0x11e070);let _0xe9a9b0=class{constructor(_0x2f5258,_0x5f7529,_0x184b73){const _0x144450=_0x5e2413;this[_0x144450(0x1fa)]=_0x2f5258,this[_0x144450(0x3b1)]=_0x5f7529,this[_0x144450(0x1ef)]=_0x184b73;}['transformStateCache'](_0x28d03){const _0x23dc79=_0x5e2413;this[_0x23dc79(0x399)](_0x28d03);}[_0x5e2413(0x319)](_0x1ab77f){const _0x2dcb20=_0x5e2413,{unitID:_0x41aa6d}=_0x1ab77f,{collaboration:_0x1e7174}=this[_0x2dcb20(0x1ef)][_0x2dcb20(0x320)](_0x41aa6d);if(_0x1e7174[_0x2dcb20(0x2dd)]===0x0)return _0x1ab77f;let _0x3ba38c=_0x22ce22[_0x2dcb20(0x276)]['deepClone'](_0x1ab77f[_0x2dcb20(0x443)][0x0]);for(let _0x1d6dda=0x0;_0x1d6dda<_0x1e7174[_0x2dcb20(0x2dd)];_0x1d6dda++){const _0x1c6aa2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e7174[_0x1d6dda][_0x2dcb20(0x1de)],..._0x1e7174[_0x1d6dda][_0x2dcb20(0x215)]}},_0x458327=this[_0x2dcb20(0x3b1)]['transformMutation'](_0x3ba38c,_0x1c6aa2,!0x1);if(_0x5c6274[_0x2dcb20(0x20f)](_0x458327))throw _0x458327['error'];_0x3ba38c=_0x458327[_0x2dcb20(0x31e)];}return{..._0x22ce22['Tools'][_0x2dcb20(0x2ce)](_0x1ab77f),'mutations':[_0x3ba38c]};}[_0x5e2413(0x399)](_0x15a0cb){const _0x52ac9c=_0x5e2413,{unitID:_0x22e125}=_0x15a0cb,{history:_0x41528d,collaboration:_0x7e94c3}=this[_0x52ac9c(0x1ef)][_0x52ac9c(0x320)](_0x22e125);if(_0x41528d[_0x52ac9c(0x2dd)]===0x0&&_0x7e94c3['length']===0x0)return;const _0x2e03ca=[],_0xac5c76=[];let _0x42f540=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]),_0x234346=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]);for(let _0x59c375=_0x41528d[_0x52ac9c(0x2dd)]-0x1;_0x59c375>=0x0;_0x59c375--){const _0x37351e={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x41528d[_0x59c375][_0x52ac9c(0x1de)],..._0x41528d[_0x59c375][_0x52ac9c(0x28b)]}},_0x5d791f={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x41528d[_0x59c375][_0x52ac9c(0x1de)],..._0x41528d[_0x59c375][_0x52ac9c(0x215)]}},_0x3be0de=this[_0x52ac9c(0x3b1)][_0x52ac9c(0x1f5)](_0x42f540,_0x37351e,!0x1),_0x28ff5f=this['_transformService']['transformMutation'](_0x234346,_0x5d791f,!0x1);if(_0x5c6274[_0x52ac9c(0x20f)](_0x3be0de))throw _0x3be0de[_0x52ac9c(0x1ee)];if(_0x5c6274[_0x52ac9c(0x20f)](_0x28ff5f))throw _0x28ff5f['error'];_0x2e03ca[_0x52ac9c(0x2a5)]({..._0x41528d[_0x59c375],'undoState':_0x3be0de[_0x52ac9c(0x30b)][_0x52ac9c(0x345)],'redoState':_0x28ff5f[_0x52ac9c(0x30b)]['params']}),_0x42f540=_0x3be0de[_0x52ac9c(0x31e)],_0x234346=_0x28ff5f[_0x52ac9c(0x31e)];}_0x42f540=_0x22ce22[_0x52ac9c(0x276)]['deepClone'](_0x15a0cb[_0x52ac9c(0x443)][0x0]),_0x234346=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]);for(let _0x5d9297=_0x7e94c3[_0x52ac9c(0x2dd)]-0x1;_0x5d9297>=0x0;_0x5d9297--){const _0x47e36f={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x7e94c3[_0x5d9297][_0x52ac9c(0x1de)],..._0x7e94c3[_0x5d9297]['undoState']}},_0x2afb1b={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x7e94c3[_0x5d9297][_0x52ac9c(0x1de)],..._0x7e94c3[_0x5d9297][_0x52ac9c(0x215)]}},_0x111e77=this[_0x52ac9c(0x3b1)][_0x52ac9c(0x1f5)](_0x42f540,_0x47e36f,!0x1),_0x1e4c8b=this['_transformService']['transformMutation'](_0x234346,_0x2afb1b,!0x1);if(_0x5c6274[_0x52ac9c(0x20f)](_0x111e77))throw _0x111e77['error'];if(_0x5c6274[_0x52ac9c(0x20f)](_0x1e4c8b))throw _0x1e4c8b[_0x52ac9c(0x1ee)];_0xac5c76['unshift']({..._0x7e94c3[_0x5d9297],'undoState':_0x111e77['m2Prime'][_0x52ac9c(0x345)],'redoState':_0x1e4c8b[_0x52ac9c(0x30b)][_0x52ac9c(0x345)]}),_0x42f540=_0x111e77[_0x52ac9c(0x31e)],_0x234346=_0x1e4c8b[_0x52ac9c(0x31e)];}this['_docStateChangeManagerService'][_0x52ac9c(0x19f)](_0x22e125,{'history':_0x2e03ca,'collaboration':_0xac5c76});}};_0xe9a9b0=_0x9eb5e([_0x354abc(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x354abc(0x1,_0x5c6274[_0x5e2413(0x230)]),_0x354abc(0x2,_0x22ce22[_0x5e2413(0x312)](_0x449f6a[_0x5e2413(0x1c6)]))],_0xe9a9b0);var _0x30e225=Object[_0x5e2413(0x306)],_0x584776=(_0x43654e,_0x3a3e97,_0x112e64,_0x380e4c)=>{for(var _0x2950fb=_0x380e4c>0x1?void 0x0:_0x380e4c?_0x30e225(_0x3a3e97,_0x112e64):_0x3a3e97,_0x3d4bcd=_0x43654e['length']-0x1,_0x461f8d;_0x3d4bcd>=0x0;_0x3d4bcd--)(_0x461f8d=_0x43654e[_0x3d4bcd])&&(_0x2950fb=_0x461f8d(_0x2950fb)||_0x2950fb);return _0x2950fb;},_0xb15b57=(_0x425011,_0x1e6b31)=>(_0x46b20c,_0x3beb67)=>_0x1e6b31(_0x46b20c,_0x3beb67,_0x425011);let _0x519269=class{constructor(_0x12039f,_0x2a1e88){const _0x236934=_0x5e2413;this[_0x236934(0x1fa)]=_0x12039f,this[_0x236934(0x3b1)]=_0x2a1e88;}[_0x5e2413(0x1e9)](_0x353848){const _0xbd0d89=_0x5e2413;var _0x58752c;const _0x59d24e=this[_0xbd0d89(0x1fa)]['get'](_0x506cee[_0xbd0d89(0x32a)]),_0x519b6a=(_0x58752c=_0x59d24e[_0xbd0d89(0x360)]())!=null?_0x58752c:[];if(_0x519b6a[_0xbd0d89(0x2dd)]===0x0)return;const _0x53659a=_0x353848[_0xbd0d89(0x329)],_0x2c99db=[{'id':_0xbd0d89(0x2e1),'params':{'unitId':_0x53659a,'actions':null,'textRanges':_0x519b6a}}],_0x3cfe6c=this[_0xbd0d89(0x3b1)][_0xbd0d89(0x2a2)](_0x353848,_0x2c99db);if(!_0x5c6274[_0xbd0d89(0x249)](_0x3cfe6c))throw _0x3cfe6c['error'];const _0x392e54=_0x3cfe6c[_0xbd0d89(0x30b)][0x0]['params']['textRanges'];Array[_0xbd0d89(0x3e3)](_0x392e54)&&_0x392e54[_0xbd0d89(0x2dd)]&&_0x59d24e[_0xbd0d89(0x425)](_0x392e54,{'unitId':_0x53659a,'subUnitId':_0x53659a},!0x1);}};_0x519269=_0x584776([_0xb15b57(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0xb15b57(0x1,_0x5c6274[_0x5e2413(0x230)])],_0x519269);var _0x5db213=Object[_0x5e2413(0x306)],_0x39fab7=(_0x574484,_0x5bf8ac,_0x2e2643,_0x44f675)=>{const _0x436b85=_0x5e2413;for(var _0x3e06fe=_0x44f675>0x1?void 0x0:_0x44f675?_0x5db213(_0x5bf8ac,_0x2e2643):_0x5bf8ac,_0x4f4ad7=_0x574484[_0x436b85(0x2dd)]-0x1,_0x3897f1;_0x4f4ad7>=0x0;_0x4f4ad7--)(_0x3897f1=_0x574484[_0x4f4ad7])&&(_0x3e06fe=_0x3897f1(_0x3e06fe)||_0x3e06fe);return _0x3e06fe;},_0x54b62c=(_0x36df8d,_0x382807)=>(_0x4b91d0,_0x56f27e)=>_0x382807(_0x4b91d0,_0x56f27e,_0x36df8d);let _0x44f01a=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x4f6208,_0x3de906,_0x1fc0df,_0x492cbb,_0x411378,_0x1dafd5,_0x187aa1,_0x29cb56){const _0x14bf50=_0x5e2413;super(),_0xb5e805(this,'_status$',new _0x32e4d0[(_0x14bf50(0x228))](_0x30f49a[_0x14bf50(0x1e3)][_0x14bf50(0x2a3)])),(this['_docStateChangeManagerService']=_0x4f6208,this['_collaborationController']=_0x3de906,this[_0x14bf50(0x226)]=_0x1fc0df,this[_0x14bf50(0x457)]=_0x492cbb,this['_docTransformSelectionsService']=_0x411378,this[_0x14bf50(0x27b)]=_0x1dafd5,this[_0x14bf50(0x383)]=_0x187aa1,this['_localeService']=_0x29cb56,this[_0x14bf50(0x1ed)]());}['_initEntityListener'](){const _0x5a74ed=_0x5e2413;this[_0x5a74ed(0x279)](this[_0x5a74ed(0x2c4)]['entityInit$'][_0x5a74ed(0x290)](_0x5231a2=>{const _0x150944=_0x5a74ed,_0x4e404e=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x5c1a2a=>{const _0x8d1af5=_0x3aed;if(_0x5c1a2a==null)return;const {unitId:_0x51c745,redoState:_0x8c84ea,commandId:_0x109f6d}=_0x5c1a2a;if(_0x51c745!==_0x5231a2[_0x8d1af5(0x329)])return;const _0x38661b={'id':_0x109f6d,'type':_0x22ce22[_0x8d1af5(0x1dd)][_0x8d1af5(0x441)],'params':{'unitId':_0x51c745,'actions':_0x8c84ea[_0x8d1af5(0x1ea)],'textRanges':null}};_0x5231a2['onLocalMutation'](_0x38661b);});if(_0x5231a2['disposeWithMe'](_0x4e404e),_0x5231a2 instanceof _0x30f49a['DocCollaborationEntity']){const _0x1993f1={'onTransformIME':_0x271701=>this[_0x150944(0x226)][_0x150944(0x42c)](_0x271701),'onTransformState':_0xd52cd9=>this['_docTransformStateCacheService'][_0x150944(0x265)](_0xd52cd9),'onTransformSelections':_0x11dc39=>this[_0x150944(0x317)][_0x150944(0x1e9)](_0x11dc39),'onSyncEditingCollabCursor':_0x3793c8=>this[_0x150944(0x27b)][_0x150944(0x1b1)](_0x3793c8),'onTransformRemoteChangesetByIMECache':_0x711bad=>this[_0x150944(0x226)]['transformRemoteChangeset'](_0x711bad),'onTransformRemoteChangesetByStateCache':_0x19e8bf=>this[_0x150944(0x457)][_0x150944(0x319)](_0x19e8bf)};_0x5231a2[_0x150944(0x212)](_0x1993f1);}}));}};_0x44f01a=_0x39fab7([_0x54b62c(0x0,_0x22ce22[_0x5e2413(0x312)](_0x449f6a[_0x5e2413(0x1c6)])),_0x54b62c(0x1,_0x22ce22['Inject'](_0x30f49a['CollaborationController'])),_0x54b62c(0x2,_0x22ce22[_0x5e2413(0x312)](_0x5b9ed5)),_0x54b62c(0x3,_0x22ce22[_0x5e2413(0x312)](_0xe9a9b0)),_0x54b62c(0x4,_0x22ce22[_0x5e2413(0x312)](_0x519269)),_0x54b62c(0x5,_0x22ce22['Inject'](_0xb6042)),_0x54b62c(0x6,_0x2b7bff[_0x5e2413(0x2e2)]),_0x54b62c(0x7,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x42d)]))],_0x44f01a);var _0x589618=(_0x4b0f91=>(_0x4b0f91[_0x4b0f91[_0x5e2413(0x450)]=0x0]=_0x5e2413(0x450),_0x4b0f91[_0x4b0f91['OK']=0x1]='OK',_0x4b0f91[_0x4b0f91[_0x5e2413(0x268)]=0x2]=_0x5e2413(0x268),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1f1)]=0x3]=_0x5e2413(0x1f1),_0x4b0f91[_0x4b0f91[_0x5e2413(0x25c)]=0x4]='NOT_FOUND',_0x4b0f91[_0x4b0f91[_0x5e2413(0x289)]=0x5]=_0x5e2413(0x289),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2dc)]=0x6]=_0x5e2413(0x2dc),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1a9)]=0x7]='INVALID_ARGUMENT',_0x4b0f91[_0x4b0f91['TOO_MANY_REQUESTS']=0x8]=_0x5e2413(0x373),_0x4b0f91[_0x4b0f91['COMPLETION_FINISHED']=0x9]=_0x5e2413(0x439),_0x4b0f91[_0x4b0f91[_0x5e2413(0x213)]=0xa]=_0x5e2413(0x213),_0x4b0f91[_0x4b0f91[_0x5e2413(0x27f)]=0xb]=_0x5e2413(0x27f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26e)]=0xc]=_0x5e2413(0x26e),_0x4b0f91[_0x4b0f91[_0x5e2413(0x22f)]=0xd]=_0x5e2413(0x22f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x397)]=0xe]=_0x5e2413(0x397),_0x4b0f91[_0x4b0f91[_0x5e2413(0x208)]=0xf]=_0x5e2413(0x208),_0x4b0f91[_0x4b0f91[_0x5e2413(0x21b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1c8)]=0x64]=_0x5e2413(0x1c8),_0x4b0f91[_0x4b0f91['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x4b0f91[_0x4b0f91[_0x5e2413(0x284)]=0xc9]=_0x5e2413(0x284),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2b5)]=0xca]='USER_IS_ANONYMOUS',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1bd)]=0x1389]=_0x5e2413(0x1bd),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b0f91[_0x4b0f91[_0x5e2413(0x2fc)]=0x1772]=_0x5e2413(0x2fc),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2f0)]=0x1773]=_0x5e2413(0x2f0),_0x4b0f91[_0x4b0f91[_0x5e2413(0x384)]=0x1b59]=_0x5e2413(0x384),_0x4b0f91[_0x4b0f91[_0x5e2413(0x390)]=0x1b5a]=_0x5e2413(0x390),_0x4b0f91[_0x4b0f91[_0x5e2413(0x304)]=0x1b5b]=_0x5e2413(0x304),_0x4b0f91[_0x4b0f91['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5e2413(0x195),_0x4b0f91[_0x4b0f91['APPLY_DUPLICATED']=0x1b5d]=_0x5e2413(0x2ba),_0x4b0f91[_0x4b0f91['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5e2413(0x372),_0x4b0f91[_0x4b0f91[_0x5e2413(0x235)]=0x2329]=_0x5e2413(0x235),_0x4b0f91[_0x4b0f91[_0x5e2413(0x34e)]=0x232a]=_0x5e2413(0x34e),_0x4b0f91[_0x4b0f91[_0x5e2413(0x37e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4b0f91[_0x4b0f91['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e2413(0x3a5),_0x4b0f91[_0x4b0f91['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x367)]=0x2711]=_0x5e2413(0x367),_0x4b0f91[_0x4b0f91[_0x5e2413(0x310)]=0x2712]=_0x5e2413(0x310),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3b2)]=0x2713]=_0x5e2413(0x3b2),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2c5)]=0x2714]=_0x5e2413(0x2c5),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3ba)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4b0f91[_0x4b0f91['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1c7)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4b0f91[_0x4b0f91[_0x5e2413(0x2ff)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4b0f91[_0x4b0f91[_0x5e2413(0x3ef)]=0x271e]=_0x5e2413(0x3ef),_0x4b0f91[_0x4b0f91[_0x5e2413(0x431)]=0x271f]=_0x5e2413(0x431),_0x4b0f91[_0x4b0f91[_0x5e2413(0x475)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4b0f91[_0x4b0f91['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5e2413(0x256),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2bd)]=0x2ee1]=_0x5e2413(0x2bd),_0x4b0f91[_0x4b0f91['INVALID_INVITE_CODE']=0x2ee2]=_0x5e2413(0x285),_0x4b0f91[_0x4b0f91['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5e2413(0x44a),_0x4b0f91[_0x4b0f91['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4b0f91[_0x4b0f91[_0x5e2413(0x264)]=0x2ee5]=_0x5e2413(0x264),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1a6)]=0x32c9]=_0x5e2413(0x1a6),_0x4b0f91[_0x4b0f91['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5e2413(0x1f9),_0x4b0f91[_0x4b0f91['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4b0f91[_0x4b0f91[_0x5e2413(0x258)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4b0f91[_0x4b0f91[_0x5e2413(0x338)]=0x36b2]=_0x5e2413(0x338),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2eb)]=0x36b3]=_0x5e2413(0x2eb),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2ca)]=0x36b4]=_0x5e2413(0x2ca),_0x4b0f91[_0x4b0f91[_0x5e2413(0x202)]=0x3715]=_0x5e2413(0x202),_0x4b0f91[_0x4b0f91['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x5e2413(0x1f3),_0x4b0f91[_0x4b0f91['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x5e2413(0x1c4),_0x4b0f91[_0x4b0f91[_0x5e2413(0x28f)]=0x37dd]=_0x5e2413(0x28f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x430)]=0x3a99]=_0x5e2413(0x430),_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x5e2413(0x24c),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x5e2413(0x3d0),_0x4b0f91[_0x4b0f91['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5e2413(0x359),_0x4b0f91[_0x4b0f91[_0x5e2413(0x351)]=0x3a9e]=_0x5e2413(0x351),_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x5e2413(0x229),_0x4b0f91[_0x4b0f91[_0x5e2413(0x458)]=0x3e81]=_0x5e2413(0x458),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3bd)]=-0x1]=_0x5e2413(0x3bd),_0x4b0f91))(_0x589618||{});function _0x462bb2(_0x2ae7be){const _0x407516=_0x5e2413;var _0x320a56,_0x1fea9a;const _0x5d9ee8=(_0x320a56=_0x2ae7be['stageInfo'])==null?void 0x0:_0x320a56[_0x407516(0x30a)],_0x2e7379=((_0x1fea9a=_0x2ae7be['stageInfo'])==null?void 0x0:_0x1fea9a['totalFormulasToCalculate'])||0x0;return _0x5d9ee8===_0x64210c[_0x407516(0x1d8)]['START_CALCULATION']&&_0x2e7379>0x0;}function _0x30e9d9(_0x1f7f1d){const _0x23500d=_0x5e2413;return _0x1f7f1d[_0x23500d(0x19d)]===_0x64210c['FormulaExecutedStateType'][_0x23500d(0x470)];}var _0x3b0516=Object[_0x5e2413(0x306)],_0x497500=(_0xc3ade1,_0x4ac865,_0x34708b,_0x421a8a)=>{for(var _0x13ebe2=_0x421a8a>0x1?void 0x0:_0x421a8a?_0x3b0516(_0x4ac865,_0x34708b):_0x4ac865,_0x36bd9f=_0xc3ade1['length']-0x1,_0x46132c;_0x36bd9f>=0x0;_0x36bd9f--)(_0x46132c=_0xc3ade1[_0x36bd9f])&&(_0x13ebe2=_0x46132c(_0x13ebe2)||_0x13ebe2);return _0x13ebe2;},_0x30833c=(_0x2aabf3,_0x55d1db)=>(_0x2b322b,_0x29b07d)=>_0x55d1db(_0x2b322b,_0x29b07d,_0x2aabf3);const _0x3b0548=_0x5e2413(0x465),_0x3de774=_0x5e2413(0x255),_0x5f0fec=_0x5e2413(0x2fb);let _0xbb79ec=class extends _0x22ce22['Disposable']{constructor(_0x19bd17,_0x47a35d,_0x54230d,_0x430832,_0x5b291a,_0x5cae2b,_0x4f9d34){const _0x26a438=_0x5e2413;super(),_0xb5e805(this,_0x26a438(0x19e),null),_0xb5e805(this,_0x26a438(0x2ad),0x0),_0xb5e805(this,_0x26a438(0x3b4),0x0),_0xb5e805(this,_0x26a438(0x459),[]),_0xb5e805(this,_0x26a438(0x201),0x0),(this[_0x26a438(0x383)]=_0x19bd17,this[_0x26a438(0x272)]=_0x47a35d,this[_0x26a438(0x467)]=_0x54230d,this[_0x26a438(0x369)]=_0x430832,this[_0x26a438(0x1f4)]=_0x5b291a,this[_0x26a438(0x294)]=_0x5cae2b,this[_0x26a438(0x40b)]=_0x4f9d34,this[_0x26a438(0x1d7)]());}['_initCommandInterceptor'](){const _0xd24f62=_0x5e2413;this[_0xd24f62(0x279)](this[_0xd24f62(0x272)][_0xd24f62(0x1c3)]((_0x30d84e,_0x5ad7bf)=>{const _0x39c096=_0xd24f62;var _0x3a651a;if(_0x30d84e['id']!==_0x64210c[_0x39c096(0x43f)]['id'])return;const _0x34b7da=_0x30d84e[_0x39c096(0x345)];if(!this[_0x39c096(0x24b)]((_0x3a651a=_0x34b7da[_0x39c096(0x2d2)])!=null?_0x3a651a:[]))return;if(!this[_0x39c096(0x1ae)]())throw this[_0x39c096(0x38b)](_0x30d84e,_0x5ad7bf),this[_0x39c096(0x2bb)](),new _0x22ce22['CanceledError']();})),this[_0xd24f62(0x279)](this[_0xd24f62(0x272)][_0xd24f62(0x479)]((_0x284089,_0x480f31)=>{const _0x2a18c5=_0xd24f62;if(_0x284089['id']!==_0x64210c[_0x2a18c5(0x375)]['id'])return;const _0x5eac03=_0x284089['params'];if(_0x462bb2(_0x5eac03)){const _0x2ed3e5=_0x22ce22['generateRandomId']();this['_taskIds']['push'](_0x2ed3e5),this[_0x2a18c5(0x210)](_0x2ed3e5);}else{if(_0x30e9d9(_0x5eac03)&&this[_0x2a18c5(0x459)]['length']>0x0){const _0x11689c=this[_0x2a18c5(0x459)][_0x2a18c5(0x307)]();this[_0x2a18c5(0x2e7)](_0x11689c);}}}));}[_0x5e2413(0x43d)](){const _0x91b1d3=_0x5e2413;super['dispose'](),this[_0x91b1d3(0x29b)](),this['_taskIds']=[],this[_0x91b1d3(0x3b4)]=0x0,this[_0x91b1d3(0x2ad)]=0x0,this[_0x91b1d3(0x201)]=0x0;}async[_0x5e2413(0x38b)](_0x174b18,_0x4a0aaf){const _0x5becc2=_0x5e2413;for(let _0x556cf5=0x0;_0x556cf5<0x1e;_0x556cf5++)try{if(await this[_0x5becc2(0x421)](),this[_0x5becc2(0x1ae)]()){this[_0x5becc2(0x1ca)](_0x174b18,_0x4a0aaf),this['_messageService'][_0x5becc2(0x3df)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x569a72['MessageType'][_0x5becc2(0x2b1)]});return;}await new Promise(_0x428512=>{const _0x1a69ef=_0x5becc2;this['_pollingInterval']=window[_0x1a69ef(0x275)](_0x428512,0x3e8);});}catch(_0x5271f8){this[_0x5becc2(0x294)][_0x5becc2(0x1ee)](_0x5271f8);}this[_0x5becc2(0x383)][_0x5becc2(0x3df)]({'content':this[_0x5becc2(0x40b)]['t'](_0x5becc2(0x402)),'type':_0x569a72[_0x5becc2(0x22c)][_0x5becc2(0x444)]});}[_0x5e2413(0x1ca)](_0x2c70f4,_0x116841){const _0x1695cf=_0x5e2413;try{this['_commandService']['executeCommand'](_0x2c70f4['id'],_0x2c70f4[_0x1695cf(0x345)],_0x116841);}catch(_0x2e8c5a){this[_0x1695cf(0x294)][_0x1695cf(0x1ee)](_0x2e8c5a);}}[_0x5e2413(0x30c)](_0x4ea72f,_0x189233){const _0x23a708=_0x5e2413;_0x189233<this[_0x23a708(0x201)]||(this['_lastResponseTimestamp']=_0x189233,this[_0x23a708(0x2ad)]=Number[_0x23a708(0x45f)](_0x4ea72f['maxFormulaLimit']),this[_0x23a708(0x3b4)]=Number[_0x23a708(0x45f)](_0x4ea72f['currentUsage']));}async[_0x5e2413(0x210)](_0x1f0ab1){const _0x25dbd2=_0x5e2413;var _0x34a4fb,_0x26f434;const _0x298289=Date[_0x25dbd2(0x222)]();try{const _0x407904=((_0x34a4fb=this[_0x25dbd2(0x467)]['getConfig'](_0x30f49a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x34a4fb[_0x25dbd2(0x371)])||_0x3de774,_0x5db53a=(await this[_0x25dbd2(0x369)]['post'](_0x407904,{'body':JSON[_0x25dbd2(0x2da)]({'taskId':_0x1f0ab1})}))['body'];if(((_0x26f434=_0x5db53a[_0x25dbd2(0x1ee)])==null?void 0x0:_0x26f434[_0x25dbd2(0x3a4)])!==_0x589618['OK'])return;this[_0x25dbd2(0x30c)](_0x5db53a[_0x25dbd2(0x246)],_0x298289);}catch(_0x3359d2){this[_0x25dbd2(0x294)][_0x25dbd2(0x1ee)](_0x3359d2);}}async[_0x5e2413(0x421)](_0x22d296){const _0x296d78=_0x5e2413;var _0x4e2f60,_0x4bb848;const _0x32366d=Date[_0x296d78(0x222)]();try{const _0x3a170c=((_0x4e2f60=this['_configService'][_0x296d78(0x3c2)](_0x30f49a[_0x296d78(0x321)]))==null?void 0x0:_0x4e2f60[_0x296d78(0x350)])||_0x3b0548,_0x16ac8d=_0x22d296?_0x3a170c+_0x296d78(0x429)+encodeURIComponent(_0x22d296):_0x3a170c,_0x38152c=(await this[_0x296d78(0x369)]['get'](_0x16ac8d))[_0x296d78(0x237)];if(((_0x4bb848=_0x38152c[_0x296d78(0x1ee)])==null?void 0x0:_0x4bb848[_0x296d78(0x3a4)])!==_0x589618['OK'])return;this[_0x296d78(0x30c)](_0x38152c['limitInfo'],_0x32366d);}catch(_0x244d41){this[_0x296d78(0x294)][_0x296d78(0x1ee)](_0x244d41);}}async[_0x5e2413(0x2e7)](_0x1f769e){const _0x2cb436=_0x5e2413;var _0xd1e978,_0x1858fe;const _0x36f877=Date['now']();try{const _0x4bff0c=((_0xd1e978=this['_configService']['getConfig'](_0x30f49a[_0x2cb436(0x321)]))==null?void 0x0:_0xd1e978[_0x2cb436(0x297)])||_0x5f0fec,_0x34fac4=(await this['_httpService'][_0x2cb436(0x1e1)](_0x4bff0c,{'body':JSON[_0x2cb436(0x2da)]({'taskId':_0x1f769e})}))[_0x2cb436(0x237)];if(((_0x1858fe=_0x34fac4['error'])==null?void 0x0:_0x1858fe['code'])!==_0x589618['OK'])return;this[_0x2cb436(0x30c)](_0x34fac4[_0x2cb436(0x246)],_0x36f877);}catch(_0x5975a0){this['_logService'][_0x2cb436(0x1ee)](_0x5975a0);}}[_0x5e2413(0x1ae)](){const _0x3bc023=_0x5e2413;return this[_0x3bc023(0x2ad)]===0x0?!0x0:this[_0x3bc023(0x2ad)]-this[_0x3bc023(0x3b4)]>0x0;}[_0x5e2413(0x29b)](){const _0x120a59=_0x5e2413;this[_0x120a59(0x19e)]&&(clearTimeout(this[_0x120a59(0x19e)]),this['_pollingInterval']=null);}[_0x5e2413(0x2bb)](){const _0x2f6a6d=_0x5e2413;this[_0x2f6a6d(0x383)]['show']({'content':this[_0x2f6a6d(0x40b)]['t'](_0x2f6a6d(0x24f)),'type':_0x569a72['MessageType']['Loading']});}[_0x5e2413(0x24b)](_0x217ed8){const _0x4d42ce=_0x5e2413;for(const _0x5a03f4 of _0x217ed8){const {unitId:_0x22fd67,sheetId:_0x42b1cd,range:_0x3c9bd5}=_0x5a03f4,_0x15d38a=this['_univerInstanceService'][_0x4d42ce(0x325)](_0x22fd67);if(!_0x15d38a)continue;const _0x54b09a=_0x15d38a[_0x4d42ce(0x1e7)](_0x42b1cd);if(!_0x54b09a)continue;const _0x1ab4e8=_0x54b09a[_0x4d42ce(0x1af)]();for(let _0x203e9d=_0x3c9bd5[_0x4d42ce(0x32e)];_0x203e9d<=_0x3c9bd5[_0x4d42ce(0x2d5)];_0x203e9d++)for(let _0x44b4fd=_0x3c9bd5['startColumn'];_0x44b4fd<=_0x3c9bd5[_0x4d42ce(0x25d)];_0x44b4fd++){const _0x40404a=_0x1ab4e8['getValue'](_0x203e9d,_0x44b4fd);if(_0x40404a&&(_0x22ce22[_0x4d42ce(0x30e)](_0x40404a['f'])||_0x22ce22[_0x4d42ce(0x3a9)](_0x40404a['si'])))return!0x0;}}return!0x1;}};_0xbb79ec=_0x497500([_0x30833c(0x0,_0x22ce22['Inject'](_0x2b7bff[_0x5e2413(0x2e2)])),_0x30833c(0x1,_0x22ce22[_0x5e2413(0x3bf)]),_0x30833c(0x2,_0x22ce22['IConfigService']),_0x30833c(0x3,_0x22ce22[_0x5e2413(0x312)](_0x92f5d3[_0x5e2413(0x3de)])),_0x30833c(0x4,_0x22ce22[_0x5e2413(0x2cd)]),_0x30833c(0x5,_0x22ce22[_0x5e2413(0x254)]),_0x30833c(0x6,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x42d)]))],_0xbb79ec);var _0x5932db=Object['getOwnPropertyDescriptor'],_0x38c42=(_0x2fae7f,_0x552a62,_0xb5b0a2,_0x22331b)=>{const _0x5a00d1=_0x5e2413;for(var _0x2e09c1=_0x22331b>0x1?void 0x0:_0x22331b?_0x5932db(_0x552a62,_0xb5b0a2):_0x552a62,_0x5bb99f=_0x2fae7f[_0x5a00d1(0x2dd)]-0x1,_0x48fdf8;_0x5bb99f>=0x0;_0x5bb99f--)(_0x48fdf8=_0x2fae7f[_0x5bb99f])&&(_0x2e09c1=_0x48fdf8(_0x2e09c1)||_0x2e09c1);return _0x2e09c1;},_0x30e1a0=(_0x4086ea,_0x57b234)=>(_0x423880,_0x2215d2)=>_0x57b234(_0x423880,_0x2215d2,_0x4086ea);let _0x423d50=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x49ee94,_0x40c43a,_0x2e6cd7){const _0x3cf9e9=_0x5e2413;super(),_0xb5e805(this,_0x3cf9e9(0x3e4),new Map()),_0xb5e805(this,_0x3cf9e9(0x34d),new Map()),_0xb5e805(this,_0x3cf9e9(0x3c9),!0x1),(this[_0x3cf9e9(0x467)]=_0x49ee94,this[_0x3cf9e9(0x25e)]=_0x40c43a,this[_0x3cf9e9(0x396)]=_0x2e6cd7);}[_0x5e2413(0x2b8)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1c612d=_0x5e2413;this[_0x1c612d(0x3c9)]=!0x1;}get[_0x5e2413(0x356)](){const _0x591051=_0x5e2413;return this[_0x591051(0x34d)];}['dispose'](){const _0x4baae8=_0x5e2413;this[_0x4baae8(0x471)]()[_0x4baae8(0x472)](()=>super[_0x4baae8(0x43d)]());}async[_0x5e2413(0x216)](_0x8114){const _0x1db1b8=_0x5e2413;return this[_0x1db1b8(0x3c9)]?null:this[_0x1db1b8(0x25e)][_0x1db1b8(0x452)](_0x30f49a[_0x1db1b8(0x337)](_0x8114));}async['saveOfflineData'](_0x9b3b7e,_0x40eab0){const _0x5f0e24=_0x5e2413;return!!this['_localStorageService'][_0x5f0e24(0x2e3)](_0x9b3b7e,_0x40eab0);}[_0x5e2413(0x3ad)](_0x4a05dc,_0x84cb38,_0x5083f2,_0x350d22){const _0x145f0b=_0x5e2413,_0x5b022d=this[_0x145f0b(0x396)][_0x145f0b(0x3c4)](_0x4a05dc);this[_0x145f0b(0x3e4)]['set'](_0x4a05dc,{'unitID':_0x4a05dc,'type':_0x84cb38,'awaitingChangeset':_0x5083f2,'mutations':_0x350d22,'rev':_0x5b022d}),this[_0x145f0b(0x34d)][_0x145f0b(0x35f)](_0x4a05dc)||this[_0x145f0b(0x244)](_0x4a05dc);}[_0x5e2413(0x244)](_0x309bef){const _0x522ca9=_0x5e2413,_0x1b6657=this[_0x522ca9(0x3c3)]();_0x1b6657===0x0?this[_0x522ca9(0x1e8)](_0x309bef):this[_0x522ca9(0x34d)][_0x522ca9(0x1d2)](_0x309bef,setTimeout(()=>this[_0x522ca9(0x1e8)](_0x309bef),_0x1b6657));}['_getSaveTimeout'](){const _0x162452=_0x5e2413;var _0x444872;return(_0x444872=this[_0x162452(0x467)][_0x162452(0x3c2)](_0x30f49a[_0x162452(0x37f)]))!=null?_0x444872:_0x30f49a['LOCAL_CACHE_INTERVAL'];}[_0x5e2413(0x1e8)](_0x621bff){const _0x2366c3=_0x5e2413,_0x216858=this[_0x2366c3(0x34d)][_0x2366c3(0x335)](_0x621bff);return _0x216858!==void 0x0&&window['clearTimeout'](_0x216858),this['_localStorageService'][_0x2366c3(0x2e3)](_0x30f49a[_0x2366c3(0x337)](_0x621bff),this[_0x2366c3(0x3e4)][_0x2366c3(0x335)](_0x621bff))[_0x2366c3(0x472)](()=>this[_0x2366c3(0x34d)][_0x2366c3(0x1b7)](_0x621bff));}async[_0x5e2413(0x471)](){const _0x1b2408=_0x5e2413,_0x5db806=[];this[_0x1b2408(0x34d)][_0x1b2408(0x3e5)]((_0x170f02,_0x375ec6)=>{const _0x2c69ad=_0x1b2408;window[_0x2c69ad(0x37d)](_0x170f02),_0x5db806[_0x2c69ad(0x409)](this[_0x2c69ad(0x1e8)](_0x375ec6)[_0x2c69ad(0x472)](()=>{const _0x1a3c68=_0x2c69ad;this[_0x1a3c68(0x34d)]['delete'](_0x375ec6);}));}),await Promise[_0x1b2408(0x3f0)](_0x5db806);}};_0x423d50=_0x38c42([_0x30e1a0(0x0,_0x22ce22[_0x5e2413(0x242)]),_0x30e1a0(0x1,_0x22ce22[_0x5e2413(0x38d)]),_0x30e1a0(0x2,_0x22ce22['Inject'](_0x5c6274[_0x5e2413(0x400)]))],_0x423d50);class _0x5c32cc extends _0x22ce22[_0x5e2413(0x344)]{constructor(){const _0x5ca2a9=_0x5e2413;super(),_0xb5e805(this,'urlChange$'),this[_0x5ca2a9(0x1d0)]=_0x32e4d0[_0x5ca2a9(0x29d)](window,_0x5ca2a9(0x437))[_0x5ca2a9(0x1c9)](_0x32e4d0[_0x5ca2a9(0x2be)](this[_0x5ca2a9(0x25a)]),_0x32e4d0[_0x5ca2a9(0x20e)](0x1),_0x32e4d0[_0x5ca2a9(0x1ad)](void 0x0));}['setParam'](_0x5c6a03,_0x5d2820,_0x57464b=!0x1){const _0x17de9b=_0x5e2413,_0x4aec5f=new URL(window[_0x17de9b(0x236)][_0x17de9b(0x32c)]);_0x4aec5f[_0x17de9b(0x460)][_0x17de9b(0x1d2)](_0x5c6a03,_0x5d2820),_0x57464b?window[_0x17de9b(0x366)][_0x17de9b(0x3fd)]('','',_0x4aec5f['toString']()):window[_0x17de9b(0x366)]['pushState']('','',_0x4aec5f[_0x17de9b(0x2b6)]());}[_0x5e2413(0x281)](_0x18e5bd,_0x4a6e37=!0x1){const _0x1533b1=_0x5e2413,_0x20fa2c=new URL(window[_0x1533b1(0x236)][_0x1533b1(0x32c)]);_0x20fa2c['searchParams'][_0x1533b1(0x1b7)](_0x18e5bd),_0x4a6e37?window[_0x1533b1(0x366)][_0x1533b1(0x3fd)]('','',_0x20fa2c['toString']()):window[_0x1533b1(0x366)][_0x1533b1(0x35d)]('','',_0x20fa2c[_0x1533b1(0x2b6)]());}[_0x5e2413(0x26a)](_0x329eff){const _0x1d4fb0=_0x5e2413;var _0x4f79a6;return(_0x4f79a6=new URL(window['location'][_0x1d4fb0(0x32c)])[_0x1d4fb0(0x460)][_0x1d4fb0(0x335)](_0x329eff))!=null?_0x4f79a6:void 0x0;}}var _0x200c1d=Object['defineProperty'],_0x383836=Object[_0x5e2413(0x306)],_0x54e2de=(_0x31a414,_0x349d38,_0x1f87aa)=>_0x349d38 in _0x31a414?_0x200c1d(_0x31a414,_0x349d38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f87aa}):_0x31a414[_0x349d38]=_0x1f87aa,_0x32f6ec=(_0x1ff25b,_0x563db4,_0x4d7a9d,_0x51a9b9)=>{const _0x21058f=_0x5e2413;for(var _0x1ee4b3=_0x51a9b9>0x1?void 0x0:_0x51a9b9?_0x383836(_0x563db4,_0x4d7a9d):_0x563db4,_0x469d67=_0x1ff25b[_0x21058f(0x2dd)]-0x1,_0x29128e;_0x469d67>=0x0;_0x469d67--)(_0x29128e=_0x1ff25b[_0x469d67])&&(_0x1ee4b3=_0x29128e(_0x1ee4b3)||_0x1ee4b3);return _0x1ee4b3;},_0x459365=(_0x222c23,_0x79220e)=>(_0x1ac5ff,_0x2340c4)=>_0x79220e(_0x1ac5ff,_0x2340c4,_0x222c23),_0x12b4fc=(_0xbdffae,_0x3451a0,_0x434cce)=>_0x54e2de(_0xbdffae,_0x3451a0+'',_0x434cce);const _0x31a77c=_0x5e2413(0x1b4);_0x59cddf[_0x5e2413(0x1e4)]=class extends _0x22ce22[_0x5e2413(0x339)]{constructor(_0x16d39a=_0x124d98,_0x5ded13,_0x199247,_0x2e3933){const _0x6657d2=_0x5e2413;super(),this[_0x6657d2(0x3be)]=_0x16d39a,this[_0x6657d2(0x318)]=_0x5ded13,this[_0x6657d2(0x1fa)]=_0x199247,this[_0x6657d2(0x467)]=_0x2e3933;const {..._0x5adc78}=_0x22ce22[_0x6657d2(0x44d)]({},_0x124d98,this[_0x6657d2(0x3be)]);this[_0x6657d2(0x467)][_0x6657d2(0x3ec)](_0x2a0687,_0x5adc78);}['onStarting'](){const _0x299fb6=_0x5e2413;this[_0x299fb6(0x464)](),this[_0x299fb6(0x2cc)]();}[_0x5e2413(0x20a)](){const _0x1884ca=_0x5e2413;this[_0x1884ca(0x438)]();}[_0x5e2413(0x464)](){const _0x25f5c7=_0x5e2413;var _0x48af52;const _0x505efd=[[_0x334c88],[_0xbb79ec],[_0x519269],[_0x5b9ed5],[_0xe9a9b0],[_0xb6042],[_0x2449da,{'useClass':_0x5c32cc}],[_0x92f5d3[_0x25f5c7(0x262)],{'useClass':_0x92f5d3[_0x25f5c7(0x3af)]}],[_0x30f49a[_0x25f5c7(0x1a5)],{'useClass':_0x423d50}],[_0x59cddf[_0x25f5c7(0x1f7)]],[_0x44f01a],[_0x38b082],[_0xb791f4],[_0x5e2aec],[_0x59cddf[_0x25f5c7(0x45e)]]];this[_0x25f5c7(0x3be)][_0x25f5c7(0x232)]&&_0x505efd[_0x25f5c7(0x409)]([_0x4cbab2]),_0x22ce22['registerDependencies'](this[_0x25f5c7(0x1fa)],_0x22ce22['mergeOverrideWithDependencies'](_0x505efd,(_0x48af52=this['_config'])==null?void 0x0:_0x48af52[_0x25f5c7(0x2f5)]));}[_0x5e2413(0x438)](){const _0x1c8d3a=_0x5e2413;this['disposeWithMe'](this['_renderManagerService'][_0x1c8d3a(0x1d5)](_0x22ce22[_0x1c8d3a(0x299)][_0x1c8d3a(0x432)],[_0x3559ed])),this[_0x1c8d3a(0x279)](this['_renderManagerService'][_0x1c8d3a(0x1d5)](_0x22ce22[_0x1c8d3a(0x299)][_0x1c8d3a(0x1a3)],[_0x1a7b06]));}['_initDependencies'](){const _0xf152f5=_0x5e2413;_0x22ce22[_0xf152f5(0x3cb)](this[_0xf152f5(0x1fa)],[[_0xb791f4],[_0x59cddf[_0xf152f5(0x1f7)]],[_0x44f01a],[_0x38b082],[_0x59cddf[_0xf152f5(0x45e)]],[_0xbb79ec]]),this[_0xf152f5(0x3be)]['enableFrontendLog']&&_0x22ce22[_0xf152f5(0x3cb)](this[_0xf152f5(0x1fa)],[[_0x4cbab2]]);}},_0x12b4fc(_0x59cddf[_0x5e2413(0x1e4)],_0x5e2413(0x406),_0x31a77c),_0x59cddf[_0x5e2413(0x1e4)]=_0x32f6ec([_0x22ce22['DependentOn'](_0x30f49a['UniverCollaborationClientPlugin']),_0x459365(0x1,_0x45b49d[_0x5e2413(0x2d1)]),_0x459365(0x2,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x47b)])),_0x459365(0x3,_0x22ce22[_0x5e2413(0x242)])],_0x59cddf[_0x5e2413(0x1e4)]);var _0xcc609f=Object['getOwnPropertyDescriptor'],_0x1a1452=(_0xde8776,_0x112d0d,_0x4e98bf,_0x34aa15)=>{for(var _0x140ec1=_0x34aa15>0x1?void 0x0:_0x34aa15?_0xcc609f(_0x112d0d,_0x4e98bf):_0x112d0d,_0x1d18fd=_0xde8776['length']-0x1,_0x193f3e;_0x1d18fd>=0x0;_0x1d18fd--)(_0x193f3e=_0xde8776[_0x1d18fd])&&(_0x140ec1=_0x193f3e(_0x140ec1)||_0x140ec1);return _0x140ec1;},_0x3578d1=(_0x1cb455,_0x13debd)=>(_0x1ebe50,_0x4c015e)=>_0x13debd(_0x1ebe50,_0x4c015e,_0x1cb455);_0x59cddf[_0x5e2413(0x19b)]=class extends _0x30f49a[_0x5e2413(0x423)]{constructor(_0x1dd660,_0x2a62d3,_0xc4325,_0x5d5b30,_0x4f1db3){super(_0x1dd660,_0x2a62d3,_0xc4325,_0x5d5b30,_0x4f1db3);}async['createSocket'](_0xbd2502){const _0x180927=_0x5e2413,_0x25a96d=await this[_0x180927(0x404)](),_0x25458a=this[_0x180927(0x196)](_0xbd2502,_0x25a96d);return this[_0x180927(0x426)](_0x25458a);}['_createSocketURL'](_0x28011f,_0x401414){const _0x531182=_0x5e2413,_0x485098=typeof window>'u'?new URL(_0x28011f):new URL(_0x28011f,window[_0x531182(0x236)][_0x531182(0x1b0)]);_0x485098[_0x531182(0x460)][_0x531182(0x1d2)](_0x531182(0x22e),_0x401414);const _0x1e43d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x531182(0x236)][_0x531182(0x298)]);return _0x1e43d1[_0x531182(0x335)](_0x531182(0x1f6))&&_0x485098[_0x531182(0x460)][_0x531182(0x1d2)]('runId',_0x1e43d1[_0x531182(0x335)]('runId')),_0x485098['toString']();}async[_0x5e2413(0x404)](){const _0x57fd79=_0x5e2413;var _0x3d2550,_0x3c3e03,_0x18692d;const _0x4ac44a=this[_0x57fd79(0x467)][_0x57fd79(0x3c2)](_0x30f49a[_0x57fd79(0x321)]),_0x21104b=(_0x3d2550=_0x4ac44a==null?void 0x0:_0x4ac44a['wsSessionTicketUrl'])!=null?_0x3d2550:_0x30f49a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x18692d=(_0x3c3e03=(await this['_httpService']['get'](_0x21104b,{'headers':{'Content-Type':_0x57fd79(0x348)}}))[_0x57fd79(0x237)])==null?void 0x0:_0x3c3e03[_0x57fd79(0x1ba)])!=null?_0x18692d:'';}},_0x59cddf[_0x5e2413(0x19b)]=_0x1a1452([_0x3578d1(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x3578d1(0x1,_0x22ce22[_0x5e2413(0x312)](_0x92f5d3[_0x5e2413(0x3de)])),_0x3578d1(0x2,_0x22ce22[_0x5e2413(0x242)]),_0x3578d1(0x3,_0x22ce22['ILogService']),_0x3578d1(0x4,_0x5c6274[_0x5e2413(0x2a4)])],_0x59cddf[_0x5e2413(0x19b)]);var _0x55490b=Object[_0x5e2413(0x306)],_0x4b2780=(_0x515e3a,_0x26e70a,_0x27858c,_0x4f7141)=>{const _0x295b91=_0x5e2413;for(var _0x15787f=_0x4f7141>0x1?void 0x0:_0x4f7141?_0x55490b(_0x26e70a,_0x27858c):_0x26e70a,_0x53e699=_0x515e3a[_0x295b91(0x2dd)]-0x1,_0x1cf23c;_0x53e699>=0x0;_0x53e699--)(_0x1cf23c=_0x515e3a[_0x53e699])&&(_0x15787f=_0x1cf23c(_0x15787f)||_0x15787f);return _0x15787f;},_0x1a1b10=(_0x48f0bf,_0x3e4201)=>(_0x16bfff,_0x5c069a)=>_0x3e4201(_0x16bfff,_0x5c069a,_0x48f0bf);_0x59cddf[_0x5e2413(0x2c0)]=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x4a078b,_0x4676f9,_0x40aa28){const _0x859f84=_0x5e2413;super(),this[_0x859f84(0x1dc)]=_0x4a078b,this[_0x859f84(0x369)]=_0x4676f9,this[_0x859f84(0x467)]=_0x40aa28;}async[_0x5e2413(0x2fd)](_0xa69631,_0x44f6ac,_0x5d94fd,..._0x4970e9){const _0x57a3b5=_0x5e2413;var _0x47c50c,_0x162dd5,_0x22ac59,_0x5cb2c0;const _0x42b0ea=this[_0x57a3b5(0x1dc)][_0x57a3b5(0x2e9)]();if(!_0x42b0ea)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5ee16b=((_0x47c50c=this[_0x57a3b5(0x467)][_0x57a3b5(0x3c2)](_0x30f49a[_0x57a3b5(0x2b2)]))!=null?_0x47c50c:_0x30f49a[_0x57a3b5(0x35a)])+'/'+_0xa69631+_0x57a3b5(0x2c7)+_0x44f6ac,_0x41a9c4=new URL(window[_0x57a3b5(0x236)][_0x57a3b5(0x32c)]),_0x50ae73={'scriptId':_0xa69631,'runId':(_0x162dd5=_0x41a9c4[_0x57a3b5(0x460)][_0x57a3b5(0x335)](_0x57a3b5(0x1f6)))!=null?_0x162dd5:'','function':_0x44f6ac,'unitId':_0x42b0ea[_0x57a3b5(0x44e)](),'argsOfFunction':JSON['stringify'](_0x4970e9),'invokeId':(_0x22ac59=_0x5d94fd[_0x57a3b5(0x336)])!=null?_0x22ac59:'','executionId':(_0x5cb2c0=_0x5d94fd[_0x57a3b5(0x3b6)])!=null?_0x5cb2c0:''};try{const _0x158e1d=await this[_0x57a3b5(0x369)][_0x57a3b5(0x1e1)](_0x5ee16b,{'body':_0x50ae73});return _0x158e1d[_0x57a3b5(0x237)][_0x57a3b5(0x1ee)]&&_0x158e1d[_0x57a3b5(0x237)][_0x57a3b5(0x1ee)][_0x57a3b5(0x3a4)]!==_0x589618['OK']?_0x57a3b5(0x39e):_0x158e1d[_0x57a3b5(0x237)]['result'];}catch{return _0x57a3b5(0x39e);}}},_0x59cddf[_0x5e2413(0x2c0)]=_0x4b2780([_0x1a1b10(0x0,_0x22ce22[_0x5e2413(0x2cd)]),_0x1a1b10(0x1,_0x22ce22['Inject'](_0x92f5d3[_0x5e2413(0x3de)])),_0x1a1b10(0x2,_0x22ce22['IConfigService'])],_0x59cddf[_0x5e2413(0x2c0)]);const _0x1feb31=0x7530,_0x382526=_0x5e2413(0x417);class _0x4a5b0d extends _0x22ce22['Disposable']{constructor(){const _0x137a1f=_0x5e2413;super(),_0xb5e805(this,_0x137a1f(0x42e),_0x22ce22[_0x137a1f(0x33a)]()),_0xb5e805(this,_0x137a1f(0x353),new Set()),_0xb5e805(this,_0x137a1f(0x37c),new Map()),_0xb5e805(this,_0x137a1f(0x32d),null),_0xb5e805(this,_0x137a1f(0x368),new Map()),_0xb5e805(this,_0x137a1f(0x364),new Map()),this['_init']();}['dispose'](){const _0x1d9abe=_0x5e2413;super[_0x1d9abe(0x43d)](),this[_0x1d9abe(0x368)][_0x1d9abe(0x3e5)]((_0x240810,_0x425695)=>this['_removeClearOtherTimer'](_0x425695)),this[_0x1d9abe(0x32d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5e2413(0x342)](_0x335ada){const _0x553e04=_0x5e2413;return this[_0x553e04(0x220)](_0x335ada)[_0x553e04(0x1c9)](_0x32e4d0[_0x553e04(0x36d)]());}['editingUnit'](_0x589f28){const _0x582d07=_0x5e2413;this[_0x582d07(0x353)]['size']===0x0&&this[_0x582d07(0x3ae)](),this[_0x582d07(0x353)][_0x582d07(0x2b4)](_0x589f28),this[_0x582d07(0x223)]({'type':0x0,'memberID':this[_0x582d07(0x42e)],'unitIDs':[_0x589f28],'isForwarded':!0x1});}[_0x5e2413(0x3dd)](_0x40bf5a){const _0x9fcde7=_0x5e2413;this['_selfUnitIDs'][_0x9fcde7(0x1b7)](_0x40bf5a),this[_0x9fcde7(0x353)][_0x9fcde7(0x245)]===0x0&&this[_0x9fcde7(0x32d)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x345218=_0x5e2413;this[_0x345218(0x279)](_0x22ce22[_0x345218(0x21a)](_0x32e4d0[_0x345218(0x29d)](window,_0x345218(0x283))[_0x345218(0x290)](_0xdd38de=>{const _0x58abb5=_0x345218;if(_0xdd38de['key']!==_0x382526||!_0xdd38de['newValue'])return;const _0x202970=JSON[_0x58abb5(0x463)](_0xdd38de[_0x58abb5(0x398)]);this[_0x58abb5(0x31f)](_0x202970);}))),window[_0x345218(0x352)](_0x345218(0x445),()=>this[_0x345218(0x223)]({'type':0x1,'memberID':this[_0x345218(0x42e)],'unitIDs':Array[_0x345218(0x287)](this[_0x345218(0x353)])}));}[_0x5e2413(0x31f)](_0x4d0614){const _0x359420=_0x5e2413;switch(_0x4d0614[_0x359420(0x22a)]){case 0x0:this['_handleJoinEvent'](_0x4d0614);break;case 0x1:this[_0x359420(0x2db)](_0x4d0614);break;case 0x2:this[_0x359420(0x29e)](_0x4d0614);break;}}[_0x5e2413(0x416)](_0x1c3478){const _0x385095=_0x5e2413,{unitIDs:_0x1bfb87,memberID:_0x48fce5,isForwarded:_0x41a225}=_0x1c3478;_0x1bfb87[_0x385095(0x3e5)](_0x230897=>{const _0x5bee66=_0x385095;if(!_0x41a225&&this[_0x5bee66(0x37c)][_0x5bee66(0x35f)](_0x230897)&&this[_0x5bee66(0x220)](_0x230897)[_0x5bee66(0x27e)](_0x30f49a[_0x5bee66(0x414)][_0x5bee66(0x363)]),!this[_0x5bee66(0x37c)][_0x5bee66(0x35f)](_0x230897)||!this[_0x5bee66(0x37c)][_0x5bee66(0x335)](_0x230897)[_0x5bee66(0x35f)](_0x48fce5)){const _0x431b01=this[_0x5bee66(0x37c)][_0x5bee66(0x335)](_0x230897)||new Set();_0x431b01['add'](_0x48fce5),this[_0x5bee66(0x37c)][_0x5bee66(0x1d2)](_0x230897,_0x431b01),this[_0x5bee66(0x379)](_0x48fce5);}}),_0x41a225||this[_0x385095(0x223)]({'type':0x0,'memberID':this[_0x385095(0x42e)],'unitIDs':[...this[_0x385095(0x353)]],'isForwarded':!0x0});}[_0x5e2413(0x379)](_0x11e24d){const _0x2128ea=_0x5e2413;this['_removeClearOtherTimer'](_0x11e24d);const _0x5d22eb=window[_0x2128ea(0x275)](()=>{const _0x26468f=_0x2128ea;this[_0x26468f(0x37c)][_0x26468f(0x3e5)](_0x18f1ae=>{const _0x33976b=_0x26468f;_0x18f1ae[_0x33976b(0x1b7)](_0x11e24d);});},_0x1feb31*0x2);this['_clearOtherTimers'][_0x2128ea(0x1d2)](_0x11e24d,_0x5d22eb);}['_removeClearOtherTimer'](_0x56d185){const _0x117c5a=_0x5e2413;if(this[_0x117c5a(0x368)]['has'](_0x56d185)){const _0x3f3651=this[_0x117c5a(0x368)]['get'](_0x56d185);_0x3f3651&&window[_0x117c5a(0x37d)](_0x3f3651),this[_0x117c5a(0x368)][_0x117c5a(0x1d2)](_0x56d185,null);}}['_handleLeaveEvent'](_0x1bf45f){const _0xbc61aa=_0x5e2413,{memberID:_0x177c2c,unitIDs:_0x4dcc57}=_0x1bf45f;_0x4dcc57[_0xbc61aa(0x3e5)](_0x508f77=>{const _0x580cca=_0xbc61aa;var _0x128b25;const _0x5ed417=this['_unitOnClients'][_0x580cca(0x335)](_0x508f77);_0x5ed417&&(_0x5ed417[_0x580cca(0x1b7)](_0x177c2c),(_0x128b25=this[_0x580cca(0x220)](_0x508f77))==null||_0x128b25[_0x580cca(0x27e)](_0x5ed417[_0x580cca(0x245)]===0x0?_0x30f49a['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x30f49a[_0x580cca(0x414)][_0x580cca(0x363)]));}),this['_removeClearOtherTimer'](_0x177c2c);}['_handleHeartbeatEvent'](_0x561f72){const _0x438d3e=_0x5e2413;this['_scheduleClearOtherTimer'](_0x561f72[_0x438d3e(0x40c)]);}[_0x5e2413(0x223)](_0x18329e){const _0x46a7b9=_0x5e2413;localStorage['setItem'](_0x382526,JSON[_0x46a7b9(0x2da)](_0x18329e));}[_0x5e2413(0x3ae)](){const _0xdade3e=_0x5e2413;this[_0xdade3e(0x32d)]=window[_0xdade3e(0x1d3)](()=>{const _0x28d005=_0xdade3e;this[_0x28d005(0x223)]({'type':0x2,'memberID':this[_0x28d005(0x42e)]});},_0x1feb31);}[_0x5e2413(0x220)](_0x25648d){const _0x5e6231=_0x5e2413;return this['_unitStatus']['has'](_0x25648d)||this['_unitStatus'][_0x5e6231(0x1d2)](_0x25648d,new _0x32e4d0[(_0x5e6231(0x228))](_0x30f49a['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x5e6231(0x364)][_0x5e6231(0x335)](_0x25648d);}}_0x59cddf[_0x5e2413(0x435)]=_0x2449da,_0x59cddf[_0x5e2413(0x34c)]=_0x5bd587,_0x59cddf[_0x5e2413(0x3dc)]=_0x4a5b0d,_0x59cddf['WebURLService']=_0x5c32cc,Object['defineProperty'](_0x59cddf,Symbol[_0x5e2413(0x41a)],{'value':_0x5e2413(0x3b9)});}));
|