@univerjs-pro/collaboration-client-ui 0.12.2 → 0.12.3-experimental.20251204-1549a8e
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/types/locale/en-US.d.ts +1 -0
- 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 +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd869(_0x1dc9d5,_0x23723e){const _0x5f3338=_0x5f33();return _0xd869=function(_0xd869b9,_0x1602dd){_0xd869b9=_0xd869b9-0x1ea;let _0x230744=_0x5f3338[_0xd869b9];return _0x230744;},_0xd869(_0x1dc9d5,_0x23723e);}function _0x5f33(){const _0x1515d6=['href','_updateLocalCursor','dispose','collabStatus.offline','_textBubble','getFocusedUnit','_hasFormulaInDirtyRanges','INVITE_CODE_REQUIRED','@univerjs-pro/collaboration-client','_initWindowErrorListener','_handleEvent','_docTransformStateCacheService','TOO_MANY_REQUESTS','OffLineIcon','now','_cursors','stage','UniverProCollaborationClientUi','_syncEditingCollabCursorService','cursorInfo','url(#off-line-icon_clip0_910_343)','rgba(255,\x20255,\x20255,\x200.01)','with','whenReady','on-line-icon_clip0_910_349','m1Prime','_showGuardMessage','editingUnit','_online','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','UniverRpc','forwardRef','_anchorDot','forEach','_status$','FromArray','_docSkeleton','enableFrontendLog','currentColor','setShapeProps','height','getViewport','/universer-api/license/formula/limit/start','hovered','INVALID_ARGUMENT','SheetSkeletonManagerService','_localStorageService','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_updateURLWithCurrentState','NOT_COLLAB','currentSkeleton$','beginPath','@univerjs/drawing','FormulaExecutedStateType','_onCursorDelete','SetSelectionsOperation','Shape','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_document','then','origin','string','transformRemoteChangeset','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','AUTHORIZE_CODE_ILLEGAL','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','APPLY_NON_SEQUENTIAL_REVISION','location','runOnServer','throttleTime','ILogService','CollaborationDataLoaderController','_initCommandExecutedListener','startsWith','_localeService','session.collaboration-timeout','shift','UniverInstanceType','triggerDblclick','transformByState','SetTextSelectionsOperation','Disposable','dispose$','SetDocZoomRatioOperation','univer-flex\x20univer-items-center','ENSURE_SNAPSHOT_EXECUTION','DependentOn','registerRefRange','setConfig','getActiveRange','_transformPreviousActiveRange','_colorIndex','_docTransformSelectionsService','PENDING','UPDATE_CURSOR','_toggleOffline','registerRenderModule','m2Prime','_entities','getValue','switchMap','_logService','_checkAndWaitForCalculationPermission','_init','UniverDrawing','_assignedColors','show','259329UrHHwt','_hover','SetFormulaCalculationStartMutation','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','reconnect','YUUMI_SUBSCRIPTION_NOT_FOUND','limitInfo','type','deserializeRangeWithSheet','sessionStatus$','425752JqPTVa','_hideTimer','getColor','colorChannel1','UNDEFINED','ENTITLE_REPORT_LIMIT_EXCEED','catch','history','@univerjs/ui','random','getOwnPropertyDescriptor','searchParams','startColumn','14RCztlw','size','DocCollaborationEntity','stringify','IRenderManagerService','APPLY_DUPLICATED','setStateCache','ENTITLE_DUP_SUBSCRIPTION','1543959JwKbjP','clipPath','startRow','SYNCED','_handleLeaveEvent','transformStateCache','connectInjector','runId','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_setFormulaLimitStatus','imageSourceType','rxjs','ALREADY_EXISTS','@univerjs/docs-ui','save','UniverProCollaborationClient','@univerjs/sheets','WebURLService','min','_createSocketURL','_getFormulaLimitStatus','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','DeleteRangeMoveLeftCommandId','makeDirty','endRow','tag','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SHEET','addObject','_clearOtherTimers','_startDocCollabCursor','UniverNetwork','_getScale','getUniverSheetInstance','CollaborationEvent','getMember','getCollabEntity$','shareReplay','executeCommand','handleMoveRange','distinctUntilChanged','from','error','_initStatusListener','unitID','SheetsSelectionsService','UNIVER_DOC','urlChange$','_injector','LOGIN_FAILED','HEADER_MENU','runRefRangeMutations','off-line-icon','SNAPSHOT_INVALID_SNAPSHOT','handleInsertRangeMoveDown','NodePositionConvertToRectRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','22mwYeYY','/universer-api/license/formula/limit/done','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','sheetID','labelPosition','addObjects','INotificationService','removeParam','collab-client.tooltip.reconnect','#FFF','disposeUnit','CollaborationUIEventService','CHANGESET_REVISION_CONFILICT','width','toStringTag','CommandType','Tools','REDEMPTION_CODE_HAS_BEEN_CREATED','MemberService','subscribeEvent','UniverEngineFormula','cursorInfo$','totalFormulasToCalculate','clsx','_cursorShapes','Plugin','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','UniverSheets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','beforeCommandExecuted','on-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','_getSessionTicket','params','handleInsertRangeMoveRight','@univerjs/design','_transformService','undoState','[Window\x20Error]:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','collabStatus.synced','VIEW_MAIN','ThemeService','operators','_saveTaskMap','_collabSessionService','InsertRangeMoveRightCommandId','svg','COLORS','0\x200\x2017\x2016','max','_lastPointer','fromEvent','_taskIds','UNAUTHENTICATED','BrowserCollaborationSocketService','attrs','DataLoaderService','fill','debounceTime','USER_NOT_INVITED_CODE','UniverEngineRender','RxDisposable','pipe','ITransformService','RevisionService','getCellMatrix','UnitStatus','sessionTicket','HTTPService','@univerjs/engine-formula','complete','maxFormulaLimit','_dataLoaderService','current','_initStatusComponent','map','defineProperty','_collaborationUIEventService','DisposableCollection','filter','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_instanceService','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','2226fZHjkT','handleInsertRow','debounce','_config','RegularPolygon','handleDeleteRangeMoveLeft','getTypeOfUnitDisposed$','white','_httpService','UniverSheetsUi','_handleJoinEvent','_docClipboardService','stageInfo','isTransformMutationFailure','getLocalCacheKey','parseInt','getSkeleton','replaceState','_id','DOC_RANGE_TYPE','jsx','textRanges','row','_colorAssignService','children','restore','_refreshCollabCursors','ILocalStorageService','DEFAULT_WS_SESSION_TICKET_URL','PY_RUNTIME_SCRIPT_ERROR','onRendered','removeEventListener','_applyCommand','join','transformSelections','code','subUnitId','subunit','session.will-retry','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEntityListener','JOIN_ROOM_FAILED','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','none','_initUserListener','_sheetSkeletonManagerService','CanceledError','react','_session','/universer-api/license/formula/limit/status','black','_color','startFormulaLimitUrl','trim','_revisionService','_anchor','_scheduleSaving','MoveRangeCommandId','_collaborationController','CollaborationUIEventId','FETCH_MISS','ICommandService','UniverDesign','onCommandExecuted','IUIPartsService','OnLineIcon','0\x200\x2016\x2016','_ensureSubject','_beforeCloseService','setTimeout','YUUMI_URL_COL_OUT_OF_RANGE','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','_startCalculationLimit','text','NOT_FOUND','getSheetBySheetId','IMessageService','stack','react/jsx-runtime','CollaborationStatus','combineLatest','length','_updateSubUnitFromURLParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','top','getRangePointData','_name','YUUMI_AI_RUN_FAILED','getVpScrollXYInfoByPosToVp','ENTITLE_INSUFFICIENT_QUOTA','_docSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','formula.calculation.started','_pollingInterval','_refRangeService','MOBILE_HAS_BEEN_BOUND','ISocketService','ERROR_AGAIN','uni.network.url-service','permission.title','syncEditingCollabCursor','_transformUndoRedoStack','evenodd','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOffsetConfig','engine','72FWqkmd','30SYEfYo','entityInit$','_drawTextRange','unit','InsertRangeMoveDownCommandId','USER_NOT_FOUND','memberID','_scheduleClearOtherTimer','addClipboardHook','collab-rect-range-','http://www.w3.org/2000/svg','OFFLINE','socket$','storage','_registerRenderDependencies','onPointerMove$','bottom','M0\x200H16V16H0z','get','RemoveRowCommandId','_unitStatus','750688NEMche','DATA_SOURCE_TOO_LARGE','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','UniverCollaborationClientUIPlugin','...','ILocalCacheService','createElement','unshift','all','getConfig','lineno','_initUnhandledRejectionListener','getStateCache','saveImage','INVITE_CODE_HAS_BEEN_UES','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','resize','name','_registerDependencies','CONFLICT','OTHER_CLIENTS_EDITING','3615UXBiDd','UniverProCollaboration','popstate','updateOfflineData','CollaborationSessionService','saveOfflineData','search','disposeWithMe','_initCommandInterceptor','DocSkeletonManagerService','CollaborationController','LICENSE_DISTRO_REJECTED','isArray','_heartbeatTimer','getAncestorScale','green.600','IRemoteInstanceService','INVITE_CODE_ALREADY_BOUND','measureText','ticket','ENTITLE_NEED_BILLING_ADDRESS','arc','REDEMPTION_CODE_INACTIVE','_collaborationSessionService','_uiPartsService','_selfUnitIDs','RECT','setAlpha','skeleton','_docStateChangeManagerService','handleIRemoveRow','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','bind','takeUntil','UniverDocsUi','mask','_startSheetCollabCursor','idSuffix','releaseFormulaLimitUrl','invokeId','getMemberID','closePath','red.300','doc.mutation.rich-text-editing','_disabled','_renderManagerService','_checkCalculationAvailable','_monkeyPatchLogService','collaboration-client.offline-data-not-saved','functionsExecutedState','collabStatus.conflict','addEventListener','ColorKit','SOCKET_FAILED_RETRY','pushState','_handleHover','mapTo','_render','_initEvent','getUnit','useObservable','purple.300','set','_hovered','_removeCollabCursors','getSheetId','_setupSubUnitSync','values','includes','NodePositionConvertToCursor','Error','createSocket','saveTaskMap','activeSheet$','permission.content','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','fillRule','currentTheme$','translate(.97)','object','_initDependencies','send','formula.calculation.unable','BehaviorSubject','236985OBhAqh','backgroundColor','APPLY_PERMISSION_DENIED','find','Loading','SheetCollabCursorShape','IConfigService','2466924jgvjOc','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/network','_cursor','_backgroundColor','endColumn','APPLY_REVISION_CONFILICT','getUnitStatus$','touchDependencies','_transformHistoryAndStateStack','setItem','APPLY_REJECT','_uploadLog','next','deepClone','getRenderById','collaboration.single-unit.warning','REDEMPTION_INVALID_CODE','clearTimeout','ranges','_lastResponseTimestamp','pluginName','IUniverInstanceService','_releaseCalculationLimit','AWAITING_WITH_PENDING','_messageService','actions','Rectangle','_localCacheService','unitId','getCoordByCell','Injector','_collabCursorState$','Subject','SessionStatus','useRef','MessageType','body','assignAColorForMemberID','redoState','focused$','fillText','path','univer-mr-2\x20univer-flex\x20univer-text-xl','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transform','application/json','YUUMI_UNABLE_LOAD_URL','LocaleService','selection','replace','SetFormulaCalculationNotificationMutation','CLOSE_ROOM','init','isActive','[Unhandled\x20Rejection]:\x20','@univerjs/core','disableLocalCache','fromEventSubject','unsubscribe','_onCursorUpdate','off-line-icon_clip0_910_343','_labelPosition','_send','flatMap','getformulaLimitStatusUrl','unhandledrejection','_clearPolling','findNodePositionByCharIndex','_getSheetObject','PERMISSION_DENIED','onPointerEnter$','_getAnchorBounding','_maxFormulaLimit','merge','has','_scheduleHeartbeat','collabStatus.notCollab','REDEMPTION_USER_REDEEM_TIMES_EXCEED','transformIMECache','loadUnit','INVALID_INVITE_CODE','eventID','Optional','setParam','_scene','_draw','CURRENT_STATUS_CANNOT_OPERATE','START_CALCULATION','collaboration-client-ui.config','exhaustSavingTask','_doCreateSocket','parse','generateRandomId','UniverCollaborationClientPlugin','LICENSE_IMPORT_SIZE_EXCEEDED','push','Warning','USERS_LEAVE','range','enableLocalCache','defs','transformMutation','subscribe','_toggleOnline','Workbook','LOCAL_CACHE_INTERVAL','collab-text-range-','?taskId=','xlink:href','UniverUi','transformMutationsWithChangeset','fillStyle','drawWith','selections','_eventUnsubscribe','clearInterval','event$','Rect','_setupBeforeClosingHandler','currentUsage','_currentUsage','getParam','_getMergeRange','sheetId','jsxs','_memberService','result','getUndoRedoMutationParamsCache','_themeService','SHEET_VIEWPORT_KEY','_docTransformIMECacheService','delete','split','add','_drawAnchor','contains','_range','_commandService','requireSession','column','DocStateChangeManagerService','color','round','mutations','docStateChange$','DesktopCollaborationStatusDisplayController','DocIMEInputManagerService','dirtyRanges','YUUMI_RATE_OVER_LIMIT','EffectRefRangId','SUCCESS','getCurrentRevOfUnit','getColorFromTheme','@univerjs-pro/collaboration','displayName','status$','toString','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','reason','UNRECOGNIZED','DocSelectionManagerService','getCollabCursors$','_updateCollabCursors','post','_removeClearOtherTimer','colno','handleIRemoveCol','_entityInit$','message','replaceDocRanges','isEditing','hide','exports','@univerjs/rpc','_collabCursorController','SetWorksheetActivateCommand','_roomMembers$','handleDeleteRangeMoveUp','div','Inject','_configService','data','Failed','INTERNAL_ERROR','formula.calculation.waiting','debug','REDEMPTION_CODE_FULLY_REDEEMED','1em','RichTextEditingMutation','lineTo','TEXT','_imageIoService','_unitOnClients','getUnitId','amd','RemoteUniscriptService','_cachedData','newValue','isTransformMutationsWithChangesetSuccess','_saveCache','registerComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_memberID','asObservable','[CollaborationDataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET_TIMEOUT','_notificationService','_context','symbol','wsSessionTicketUrl','some','IImageIoService'];_0x5f33=function(){return _0x1515d6;};return _0x5f33();}(function(_0x5d7b73,_0x1d1cb9){const _0x32d03d=_0xd869,_0x251028=_0x5d7b73();while(!![]){try{const _0x2fee79=-parseInt(_0x32d03d(0x4c7))/0x1+parseInt(_0x32d03d(0x3ab))/0x2*(parseInt(_0x32d03d(0x244))/0x3)+-parseInt(_0x32d03d(0x39e))/0x4+-parseInt(_0x32d03d(0x1ee))/0x5*(-parseInt(_0x32d03d(0x445))/0x6)+-parseInt(_0x32d03d(0x393))/0x7*(-parseInt(_0x32d03d(0x4b1))/0x8)+parseInt(_0x32d03d(0x3b3))/0x9*(parseInt(_0x32d03d(0x4b2))/0xa)+parseInt(_0x32d03d(0x3ee))/0xb*(-parseInt(_0x32d03d(0x24b))/0xc);if(_0x2fee79===_0x1d1cb9)break;else _0x251028['push'](_0x251028['shift']());}catch(_0x1d844d){_0x251028['push'](_0x251028['shift']());}}}(_0x5f33,0x61e62),function(_0x56a97c,_0x1aab00){const _0x16dc1c=_0xd869;typeof exports==_0x16dc1c(0x23f)&&typeof module<'u'?_0x1aab00(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=='function'&&define[_0x16dc1c(0x310)]?define([_0x16dc1c(0x2fa),_0x16dc1c(0x494),_0x16dc1c(0x32b),_0x16dc1c(0x284),_0x16dc1c(0x3a6),'rxjs',_0x16dc1c(0x413),_0x16dc1c(0x475),_0x16dc1c(0x2fb),_0x16dc1c(0x3c4),'@univerjs/engine-render',_0x16dc1c(0x24d),_0x16dc1c(0x3c1),_0x16dc1c(0x359),_0x16dc1c(0x2e6),'@univerjs/docs',_0x16dc1c(0x437),'rxjs/operators','@univerjs/sheets-ui'],_0x1aab00):(_0x56a97c=typeof globalThis<'u'?globalThis:_0x56a97c||self,_0x1aab00(_0x56a97c[_0x16dc1c(0x334)]={},_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x3c3)],_0x56a97c['UniverCore'],_0x56a97c[_0x16dc1c(0x2ba)],_0x56a97c[_0x16dc1c(0x3bf)],_0x56a97c[_0x16dc1c(0x484)],_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x342)],_0x56a97c[_0x16dc1c(0x40b)],_0x56a97c[_0x16dc1c(0x42e)],_0x56a97c[_0x16dc1c(0x3d4)],_0x56a97c[_0x16dc1c(0x211)],_0x56a97c[_0x16dc1c(0x390)],_0x56a97c[_0x16dc1c(0x1ef)],_0x56a97c['UniverDocs'],_0x56a97c[_0x16dc1c(0x403)],_0x56a97c['rxjs'][_0x16dc1c(0x41c)],_0x56a97c[_0x16dc1c(0x44e)]));}(this,function(_0x3e1990,_0x28f318,_0x493e59,_0x51c091,_0x47d161,_0x2d756d,_0x1039db,_0x48ac88,_0x455030,_0x184ff5,_0x396fb6,_0x38be65,_0x594fa4,_0x2e6991,_0x5b9cab,_0x37270e,_0xfcd088,_0xe24628,_0x5aaf45){'use strict';const _0x25c8ac=_0xd869;var _0x16d5e3=Object[_0x25c8ac(0x43e)],_0x108762=(_0x35cb87,_0x2bb3a0,_0x55b7ef)=>_0x2bb3a0 in _0x35cb87?_0x16d5e3(_0x35cb87,_0x2bb3a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55b7ef}):_0x35cb87[_0x2bb3a0]=_0x55b7ef,_0x3a54cf=(_0x6e6c74,_0xb6a63b,_0x48e5f6)=>_0x108762(_0x6e6c74,typeof _0xb6a63b!=_0x25c8ac(0x31f)?_0xb6a63b+'':_0xb6a63b,_0x48e5f6);function _0x30e69f({ref:_0x32af84,..._0xd224fa}){const _0x334bda=_0x25c8ac,{icon:_0x4edddc,id:_0x483b3e,className:_0x235cc8,extend:_0x36fd03,..._0x4ce8ec}=_0xd224fa,_0x50b6fd=('univerjs-icon\x20univerjs-icon-'+_0x483b3e+'\x20'+(_0x235cc8||''))[_0x334bda(0x47b)](),_0xb16133=_0x48ac88[_0x334bda(0x26e)]('_'+_0x3cd384());return _0x1824cc(_0x4edddc,''+_0x483b3e,{'defIds':_0x4edddc['defIds'],'idSuffix':_0xb16133[_0x334bda(0x43b)]},{'ref':_0x32af84,'className':_0x50b6fd,..._0x4ce8ec},_0x36fd03);}function _0x1824cc(_0x139793,_0x433eee,_0x44ece7,_0x139346,_0x5d40b3){const _0x4c3fb8=_0x25c8ac;return _0x48ac88['createElement'](_0x139793[_0x4c3fb8(0x3ce)],{'key':_0x433eee,..._0x3bb75a(_0x139793,_0x44ece7,_0x5d40b3),..._0x139346},(_0x20c545(_0x139793,_0x44ece7)[_0x4c3fb8(0x45d)]||[])[_0x4c3fb8(0x43d)]((_0x581013,_0x208988)=>_0x1824cc(_0x581013,_0x433eee+'-'+_0x139793[_0x4c3fb8(0x3ce)]+'-'+_0x208988,_0x44ece7,void 0x0,_0x5d40b3)));}function _0x3bb75a(_0x34d2f4,_0x867fd9,_0xaa8e4e){const _0x2ccbd9=_0x25c8ac,_0x8552e6={..._0x34d2f4['attrs']};_0xaa8e4e!=null&&_0xaa8e4e[_0x2ccbd9(0x3a1)]&&_0x8552e6['fill']===_0x2ccbd9(0x3a1)&&(_0x8552e6['fill']=_0xaa8e4e['colorChannel1']),_0x34d2f4[_0x2ccbd9(0x3ce)]===_0x2ccbd9(0x212)&&_0x8552e6['id']&&(_0x8552e6['id']=_0x8552e6['id']+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x300140,_0x11e6e4])=>{const _0x3fc173=_0x2ccbd9;_0x300140===_0x3fc173(0x212)&&typeof _0x11e6e4==_0x3fc173(0x363)&&(_0x8552e6[_0x300140]=_0x11e6e4[_0x3fc173(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9['idSuffix']+')'));});const {defIds:_0x444ff1}=_0x867fd9;return!_0x444ff1||_0x444ff1[_0x2ccbd9(0x497)]===0x0||(_0x34d2f4[_0x2ccbd9(0x3ce)]==='use'&&_0x8552e6[_0x2ccbd9(0x2b9)]&&(_0x8552e6[_0x2ccbd9(0x2b9)]=_0x8552e6[_0x2ccbd9(0x2b9)]+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x5b4e43,_0x3327de])=>{const _0x27d23e=_0x2ccbd9;typeof _0x3327de=='string'&&(_0x8552e6[_0x5b4e43]=_0x3327de[_0x27d23e(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9[_0x27d23e(0x214)]+')'));})),_0x8552e6;}function _0x20c545(_0x4cbd60,_0x2bb8ec){const _0x280936=_0x25c8ac;var _0x53d5ca;const {defIds:_0x1b606f}=_0x2bb8ec;return!_0x1b606f||_0x1b606f[_0x280936(0x497)]===0x0?_0x4cbd60:_0x4cbd60[_0x280936(0x3ce)]===_0x280936(0x2b1)&&((_0x53d5ca=_0x4cbd60['children'])!=null&&_0x53d5ca[_0x280936(0x497)])?{..._0x4cbd60,'children':_0x4cbd60['children']['map'](_0xd9bd40=>typeof _0xd9bd40['attrs']['id']=='string'&&_0x1b606f&&_0x1b606f[_0x280936(0x233)](_0xd9bd40['attrs']['id'])?{..._0xd9bd40,'attrs':{..._0xd9bd40[_0x280936(0x429)],'id':_0xd9bd40[_0x280936(0x429)]['id']+_0x2bb8ec[_0x280936(0x214)]}}:_0xd9bd40)}:_0x4cbd60;}function _0x3cd384(){const _0x59fc07=_0x25c8ac;return Math[_0x59fc07(0x3a7)]()[_0x59fc07(0x2e9)](0x24)['substring'](0x2,0x8);}_0x30e69f[_0x25c8ac(0x2e7)]='UniverIcon';const _0x44a0c2={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':_0x25c8ac(0x471),'viewBox':_0x25c8ac(0x488),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x337)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x48d),'strokeLinecap':_0x25c8ac(0x2db),'strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x289)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3)}}]}]}],'defIds':[_0x25c8ac(0x289)]},_0x203892=_0x48ac88['forwardRef'](function(_0x32a454,_0x3a44e2){const _0x3f9267=_0x25c8ac;return _0x48ac88[_0x3f9267(0x4ce)](_0x30e69f,Object['assign']({},_0x32a454,{'id':_0x3f9267(0x3e9),'ref':_0x3a44e2,'icon':_0x44a0c2}));});_0x203892[_0x25c8ac(0x2e7)]=_0x25c8ac(0x330);const _0x154113={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':'none','viewBox':_0x25c8ac(0x422),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x366)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x444),'strokeLinecap':'round','strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x33b)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3),'transform':_0x25c8ac(0x23e)}}]}]}],'defIds':[_0x25c8ac(0x33b)]},_0xf8140=_0x48ac88[_0x25c8ac(0x343)](function(_0x38025a,_0x33f56d){const _0x5f2372=_0x25c8ac;return _0x48ac88[_0x5f2372(0x4ce)](_0x30e69f,Object['assign']({},_0x38025a,{'id':_0x5f2372(0x40e),'ref':_0x33f56d,'icon':_0x154113}));});_0xf8140[_0x25c8ac(0x2e7)]=_0x25c8ac(0x487);function _0x23753c(_0x4a96a6){const _0x5a20bf=_0x25c8ac;switch(_0x4a96a6){case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x4bd)]:return _0x5a20bf(0x326);case _0x493e59[_0x5a20bf(0x495)]['CONFLICT']:return _0x5a20bf(0x221);case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x482)]:return'collabStatus.fetchMiss';case _0x493e59[_0x5a20bf(0x495)]['NOT_COLLAB']:return _0x5a20bf(0x299);case _0x493e59['CollaborationStatus']['AWAITING']:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x263)]:return'collabStatus.syncing';case _0x493e59['CollaborationStatus'][_0x5a20bf(0x3b6)]:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x385)]:return _0x5a20bf(0x419);}}function _0x5d6759(_0x44027b){const _0x653721=_0x25c8ac,{status$:_0x1576dc}=_0x44027b,_0x3ba682=_0x47d161[_0x653721(0x22b)](_0x1576dc,_0x493e59[_0x653721(0x495)][_0x653721(0x356)]),_0x5e734d=_0x47d161['useDependency'](_0x51c091[_0x653721(0x27c)]),_0x24d327=_0x47d161['useDependency'](_0x493e59[_0x653721(0x1f2)]),_0x48ba29=_0x3ba682!==_0x493e59[_0x653721(0x495)][_0x653721(0x4bd)],_0x30645d=_0x5e734d['t'](_0x23753c(_0x3ba682)),_0x4c4784=_0x48ba29?_0x28f318[_0x653721(0x459)](_0xf8140,{}):_0x28f318[_0x653721(0x459)](_0x203892,{}),_0x5e0068=_0x48ac88['useCallback'](()=>{const _0x19623e=_0x653721;_0x48ba29||_0x24d327[_0x19623e(0x398)]();},[_0x48ba29,_0x24d327]);function _0x43d532(){const _0x425473=_0x653721;return _0x28f318[_0x425473(0x2c9)](_0x425473(0x300),{'className':_0x425473(0x37c),'onClick':_0x5e0068,'children':[_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x1039db[_0x425473(0x406)](_0x425473(0x276),{'univer-text-green-500':_0x48ba29,'univer-text-red-500':!_0x48ba29}),'children':_0x4c4784}),_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x425473(0x278),'children':_0x30645d})]});}return _0x48ba29?_0x43d532():_0x28f318[_0x653721(0x459)](_0x1039db['Tooltip'],{'title':_0x5e734d['t'](_0x653721(0x3f7)),'children':_0x43d532()});}var _0x5e3dad=Object[_0x25c8ac(0x3a8)],_0x2bba69=(_0x81345b,_0x31de25,_0xd45531,_0x849073)=>{const _0x4e76c0=_0x25c8ac;for(var _0x2a8da=_0x849073>0x1?void 0x0:_0x849073?_0x5e3dad(_0x31de25,_0xd45531):_0x31de25,_0x47a9a3=_0x81345b[_0x4e76c0(0x497)]-0x1,_0x39fba3;_0x47a9a3>=0x0;_0x47a9a3--)(_0x39fba3=_0x81345b[_0x47a9a3])&&(_0x2a8da=_0x39fba3(_0x2a8da)||_0x2a8da);return _0x2a8da;},_0x48ca72=(_0x16e758,_0x11d0fd)=>(_0x23e6cd,_0x3e52af)=>_0x11d0fd(_0x23e6cd,_0x3e52af,_0x16e758);_0x3e1990['DesktopCollaborationStatusDisplayController']=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x260071,_0x591f6d,_0x378f94,_0x53658d){const _0x3afe2a=_0x25c8ac;super(),_0x3a54cf(this,_0x3afe2a(0x346),new _0x2d756d[(_0x3afe2a(0x243))](_0x493e59[_0x3afe2a(0x495)][_0x3afe2a(0x356)])),(this[_0x3afe2a(0x23a)]=_0x260071,this['_injector']=_0x591f6d,this['_collaborationController']=_0x378f94,this[_0x3afe2a(0x206)]=_0x53658d,this['_initStatusComponent'](),this[_0x3afe2a(0x3e0)]());}[_0x25c8ac(0x3e0)](){const _0x346733=_0x25c8ac;this['disposeWithMe'](this['_univerInstanceService'][_0x346733(0x273)][_0x346733(0x430)](_0x2d756d[_0x346733(0x38c)](()=>{const _0x5e6a73=_0x346733,_0x2eed89=this['_univerInstanceService'][_0x5e6a73(0x328)]();return _0x2eed89?this['_collaborationController'][_0x5e6a73(0x3d9)](_0x2eed89[_0x5e6a73(0x30f)]()):_0x2d756d['of'](null);}),_0x2d756d[_0x346733(0x38c)](_0x5a8b79=>_0x5a8b79?_0x5a8b79[_0x346733(0x2e8)]:_0x2d756d['of'](_0x493e59[_0x346733(0x495)][_0x346733(0x356)])))[_0x346733(0x2b3)](_0x1c65cf=>{this['_status$']['next'](_0x1c65cf);}));}[_0x25c8ac(0x43c)](){const _0x3add05=_0x25c8ac;this[_0x3add05(0x1f5)](this['_uiPartsService'][_0x3add05(0x316)](_0x47d161['BuiltInUIPart'][_0x3add05(0x3e7)],()=>_0x47d161[_0x3add05(0x3b9)](_0x493f43({'status$':this[_0x3add05(0x346)][_0x3add05(0x319)]()}),this[_0x3add05(0x3e5)])));}},_0x3e1990[_0x25c8ac(0x2de)]=_0x2bba69([_0x48ca72(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x48ca72(0x1,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x48ca72(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f8)])),_0x48ca72(0x3,_0x47d161[_0x25c8ac(0x486)])],_0x3e1990[_0x25c8ac(0x2de)]);function _0x493f43(_0x5bc3d3){const {status$:_0x4e46b8}=_0x5bc3d3;return function(){const _0x119f80=_0xd869;return _0x28f318[_0x119f80(0x459)](_0x5d6759,{'status$':_0x4e46b8});};}const _0x2e14a9=_0x51c091['createIdentifier'](_0x25c8ac(0x4a9));var _0x221104=Object[_0x25c8ac(0x3a8)],_0x128adc=(_0x254b44,_0x4d9bbb,_0x2f03a6,_0x52119c)=>{const _0x3c7ed7=_0x25c8ac;for(var _0x335886=_0x52119c>0x1?void 0x0:_0x52119c?_0x221104(_0x4d9bbb,_0x2f03a6):_0x4d9bbb,_0x549ef4=_0x254b44[_0x3c7ed7(0x497)]-0x1,_0x3f1bf4;_0x549ef4>=0x0;_0x549ef4--)(_0x3f1bf4=_0x254b44[_0x549ef4])&&(_0x335886=_0x3f1bf4(_0x335886)||_0x335886);return _0x335886;},_0x29596e=(_0x47bfb1,_0x387f04)=>(_0x5b7c78,_0x2d8f7a)=>_0x387f04(_0x5b7c78,_0x2d8f7a,_0x47bfb1);_0x3e1990[_0x25c8ac(0x36f)]=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x332f48,_0x20132b,_0x36d830,_0x178ce9,_0x32a4f2){const _0x7a16ce=_0x25c8ac;super(),this[_0x7a16ce(0x20e)]=_0x332f48,this['_logService']=_0x20132b,this[_0x7a16ce(0x2d6)]=_0x36d830,this[_0x7a16ce(0x43a)]=_0x178ce9,_0x32a4f2?_0x32a4f2==null||_0x32a4f2[_0x7a16ce(0x33a)]()[_0x7a16ce(0x361)](()=>this[_0x7a16ce(0x38f)]()):(this['_logService'][_0x7a16ce(0x307)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x7a16ce(0x38f)]());}async[_0x25c8ac(0x38f)](){const _0x2c627a=_0x25c8ac,_0x1c83f0=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x4b5)),_0x5c6c57=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x39b)),_0x3ab3b2=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)]('subunit');if(!_0x1c83f0||!_0x5c6c57){this[_0x2c627a(0x38d)][_0x2c627a(0x307)](_0x2c627a(0x31a),_0x2c627a(0x46c));return;}const _0x9a8a59=await this['_dataLoaderService'][_0x2c627a(0x29c)](_0x1c83f0,Number(_0x5c6c57),_0x3ab3b2);_0x9a8a59&&_0x9a8a59 instanceof _0x51c091[_0x2c627a(0x2b5)]&&this[_0x2c627a(0x231)](_0x9a8a59);}async['_setupSubUnitSync'](_0x120cf5){const _0x101ca9=_0x25c8ac;await this[_0x101ca9(0x498)](_0x120cf5),_0x120cf5[_0x101ca9(0x238)][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this['dispose$']))['subscribe'](_0x52ca8c=>{const _0x50afdc=_0x101ca9;_0x52ca8c&&this[_0x50afdc(0x355)](_0x52ca8c);}),this[_0x101ca9(0x20e)]['urlChange$'][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this[_0x101ca9(0x37a)]))[_0x101ca9(0x2b3)](()=>this[_0x101ca9(0x498)](_0x120cf5));}[_0x25c8ac(0x355)](_0x46d2e2,_0x217078=!0x1){const _0x4f566d=_0x25c8ac,_0x1141c8=this[_0x4f566d(0x20e)][_0x4f566d(0x2c6)](_0x4f566d(0x46a));_0x46d2e2[_0x4f566d(0x230)]()!==_0x1141c8&&this[_0x4f566d(0x20e)][_0x4f566d(0x2a0)](_0x4f566d(0x46a),_0x46d2e2[_0x4f566d(0x230)](),_0x217078);}async[_0x25c8ac(0x498)](_0x41b7ca){const _0x2e3eb6=_0x25c8ac;var _0x38a41a;const _0x4f3eba=this[_0x2e3eb6(0x20e)]['getParam'](_0x2e3eb6(0x46a));if(!_0x4f3eba||!_0x41b7ca[_0x2e3eb6(0x491)](_0x4f3eba)){const _0x578749=_0x41b7ca['getUnhiddenWorksheets']()[0x0],_0xf2d36c=_0x41b7ca[_0x2e3eb6(0x491)](_0x578749);if(!_0xf2d36c)return;this[_0x2e3eb6(0x355)](_0xf2d36c,!0x0),await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5['SetWorksheetActivateCommand']['id'],{'unitId':_0x41b7ca['getUnitId'](),'subUnitId':_0x578749});return;}((_0x38a41a=_0x41b7ca['getActiveSheet']())==null?void 0x0:_0x38a41a[_0x2e3eb6(0x230)]())!==_0x4f3eba&&await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5[_0x2e3eb6(0x2fd)]['id'],{'unitId':_0x41b7ca[_0x2e3eb6(0x30f)](),'subUnitId':_0x4f3eba});}},_0x3e1990['CollaborationDataLoaderController']=_0x128adc([_0x29596e(0x0,_0x2e14a9),_0x29596e(0x1,_0x51c091['ILogService']),_0x29596e(0x2,_0x51c091[_0x25c8ac(0x483)]),_0x29596e(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x42a)])),_0x29596e(0x4,_0x51c091[_0x25c8ac(0x29f)](_0x455030[_0x25c8ac(0x1fe)]))],_0x3e1990['CollaborationDataLoaderController']);var _0x5ab5b8=Object[_0x25c8ac(0x3a8)],_0x114b66=(_0x3f606c,_0x4da2ed,_0x231806,_0x4abc6b)=>{const _0x2e326c=_0x25c8ac;for(var _0x32443c=_0x4abc6b>0x1?void 0x0:_0x4abc6b?_0x5ab5b8(_0x4da2ed,_0x231806):_0x4da2ed,_0x2dad0c=_0x3f606c[_0x2e326c(0x497)]-0x1,_0x1e3072;_0x2dad0c>=0x0;_0x2dad0c--)(_0x1e3072=_0x3f606c[_0x2dad0c])&&(_0x32443c=_0x1e3072(_0x32443c)||_0x32443c);return _0x32443c;},_0x715c48=(_0x2c07f6,_0x442b18)=>(_0x1bc16d,_0x2ba3ea)=>_0x442b18(_0x1bc16d,_0x2ba3ea,_0x2c07f6);let _0xee1fb5=class extends _0x51c091['RxDisposable']{constructor(_0x5af752,_0x56e938){const _0xc240b3=_0x25c8ac;super(),this[_0xc240b3(0x450)]=_0x5af752,this[_0xc240b3(0x30d)]=_0x56e938,this[_0xc240b3(0x38f)]();}[_0x25c8ac(0x38f)](){const _0x240618=_0x25c8ac,_0x7e188d=this;this[_0x240618(0x1f5)](this['_docClipboardService'][_0x240618(0x4ba)]({'onBeforePasteImage':async _0x3cd973=>{const _0x21e7eb=_0x240618,_0xba0326=await _0x7e188d[_0x21e7eb(0x30d)][_0x21e7eb(0x4d5)](_0x3cd973);return _0xba0326?{'source':_0xba0326['source'],'imageSourceType':_0xba0326[_0x21e7eb(0x3be)]}:null;}}));}};_0xee1fb5=_0x114b66([_0x715c48(0x0,_0x594fa4[_0x25c8ac(0x353)]),_0x715c48(0x1,_0x2e6991[_0x25c8ac(0x322)])],_0xee1fb5);const _0x124c8d=[_0x25c8ac(0x22c),'jiqing.500',_0x25c8ac(0x1fd),_0x25c8ac(0x219),'blue.400','yellow.400'];class _0x3dd070 extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x148cab=_0x25c8ac;super(...arguments),_0x3a54cf(this,'_assignedColors',new Map()),_0x3a54cf(this,_0x148cab(0x383),0x0);}['assignAColorForMemberID'](_0x17ecc2){const _0x3396a0=_0x25c8ac;if(this['_assignedColors'][_0x3396a0(0x297)](_0x17ecc2))return this[_0x3396a0(0x391)][_0x3396a0(0x4c4)](_0x17ecc2);const _0x7cfbcd=_0x124c8d[this[_0x3396a0(0x383)]];return this[_0x3396a0(0x383)]=(this[_0x3396a0(0x383)]+0x1)%_0x124c8d['length'],this[_0x3396a0(0x391)][_0x3396a0(0x22d)](_0x17ecc2,_0x7cfbcd),_0x7cfbcd;}}function _0x3190ac(_0x2d4bf2){let _0x58f40e='';for(const _0x287a1d of _0x2d4bf2){const {startOffset:_0x58e838,endOffset:_0x2e6922,isActive:_0x4c7880,rangeType:_0x4ac23a,segmentId:_0x3b6764,segmentPage:_0x2b28ab}=_0x287a1d;_0x58f40e['length']&&(_0x58f40e+=','),_0x58f40e+=_0x58e838+':'+_0x2e6922+':'+(_0x4c7880?'1':'0')+':'+_0x4ac23a+':'+_0x3b6764+':'+_0x2b28ab;}return _0x58f40e;}function _0x505ec7(_0xd3347a){const _0x2e2919=_0x25c8ac,_0x2c71ad=_0xd3347a[_0x2e2919(0x2d1)](','),_0x253e35=[];for(const _0x309d57 of _0x2c71ad){const [_0x23b262,_0x40927f,_0x11ca47,_0x2e85fa,_0x1b6d95,_0x532b5a]=_0x309d57[_0x2e2919(0x2d1)](':');_0x253e35['push']({'startOffset':Number(_0x23b262),'endOffset':Number(_0x40927f),'collapsed':_0x23b262===_0x40927f,'isActive':_0x11ca47==='1','rangeType':_0x2e85fa===_0x51c091['DOC_RANGE_TYPE'][_0x2e2919(0x30c)]?_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x30c)]:_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x208)],'segmentId':typeof _0x1b6d95==_0x2e2919(0x363)?String(_0x1b6d95):'','segmentPage':Number(_0x532b5a!=null?_0x532b5a:-0x1)});}return _0x253e35[_0x2e2919(0x321)](_0x83e861=>_0x83e861[_0x2e2919(0x282)])||(_0x253e35[0x0]['isActive']=!0x0),_0x253e35;}class _0x43bd11 extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x42ec57=_0x25c8ac;super(...arguments),_0x3a54cf(this,_0x42ec57(0x26b),new _0x2d756d[(_0x42ec57(0x243))](null)),_0x3a54cf(this,'collabCursorState$',this[_0x42ec57(0x26b)][_0x42ec57(0x319)]());}[_0x25c8ac(0x4ab)](_0x140ad2){const _0x3dabdf=_0x25c8ac,{unitID:_0xee07f3,memberID:_0x348712,textRanges:_0x3e5bbd}=_0x140ad2,_0x1ee357=_0x3190ac(_0x3e5bbd);if(_0x1ee357==='')return;const _0x1e2c0a={'unitID':_0xee07f3,'memberID':_0x348712,'selection':_0x1ee357};this[_0x3dabdf(0x26b)][_0x3dabdf(0x258)](_0x1e2c0a);}}var _0xc82f30=Object[_0x25c8ac(0x3a8)],_0xc0e9a6=(_0x3bb3a8,_0x55470c,_0x3769e8,_0x1e7d8a)=>{const _0x399061=_0x25c8ac;for(var _0x2798ef=_0x1e7d8a>0x1?void 0x0:_0x1e7d8a?_0xc82f30(_0x55470c,_0x3769e8):_0x55470c,_0x5282f0=_0x3bb3a8[_0x399061(0x497)]-0x1,_0x39e769;_0x5282f0>=0x0;_0x5282f0--)(_0x39e769=_0x3bb3a8[_0x5282f0])&&(_0x2798ef=_0x39e769(_0x2798ef)||_0x2798ef);return _0x2798ef;},_0x455341=(_0x4f7e0f,_0x5c82fb)=>(_0x29255c,_0x51246f)=>_0x5c82fb(_0x29255c,_0x51246f,_0x4f7e0f);const _0x17f5e1=0x12c,_0x2e9a9e=0x64;let _0x5ae18d=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x402032,_0x1395e2,_0x53725c,_0xec3a79,_0x3d21d1,_0x1adeca,_0x42d7b6,_0x2a546e,_0x1817d6){const _0x47ffef=_0x25c8ac;super(),_0x3a54cf(this,'_online',!0x1),_0x3a54cf(this,_0x47ffef(0x38f),!0x1),_0x3a54cf(this,_0x47ffef(0x3c9),new _0x2d756d['BehaviorSubject'](new Map())),_0x3a54cf(this,_0x47ffef(0x404),this['_cursorInfo$']['asObservable']()),_0x3a54cf(this,_0x47ffef(0x2fe),new _0x2d756d['BehaviorSubject']([])),_0x3a54cf(this,'roomMembers$',this[_0x47ffef(0x2fe)][_0x47ffef(0x430)](_0x2d756d[_0x47ffef(0x42c)](_0x17f5e1))),_0x3a54cf(this,'_updateLocalCursor',_0x51c091[_0x47ffef(0x447)](_0x1d1bc3=>{const _0x4431dd=_0x47ffef,_0x1a3d54={'eventID':_0x5b9cab[_0x4431dd(0x3d7)][_0x4431dd(0x386)],'data':{'unitID':this['unitID'],'memberID':this[_0x4431dd(0x476)]['getMemberID'](),'selection':_0x3190ac(_0x1d1bc3)}};this[_0x4431dd(0x476)][_0x4431dd(0x241)](_0x1a3d54,this[_0x4431dd(0x3e1)]);},_0x2e9a9e)),(this[_0x47ffef(0x3e1)]=_0x402032,this[_0x47ffef(0x476)]=_0x1395e2,this[_0x47ffef(0x3e5)]=_0x53725c,this[_0x47ffef(0x45c)]=_0xec3a79,this['_memberService']=_0x3d21d1,this[_0x47ffef(0x335)]=_0x1adeca,this[_0x47ffef(0x414)]=_0x42d7b6,this['_univerInstanceService']=_0x2a546e,this[_0x47ffef(0x2d6)]=_0x1817d6);}get[_0x25c8ac(0x336)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4e8264=_0x25c8ac;return this['_roomMembers$'][_0x4e8264(0x38b)]();}['dispose'](){const _0x1309db=_0x25c8ac;super[_0x1309db(0x325)](),this[_0x1309db(0x3c9)][_0x1309db(0x258)](new Map()),this[_0x1309db(0x3c9)][_0x1309db(0x438)](),this[_0x1309db(0x2fe)][_0x1309db(0x258)]([]),this[_0x1309db(0x2fe)]['complete']();}['init'](){const _0x2b1621=_0x25c8ac;this[_0x2b1621(0x38f)]||(this[_0x2b1621(0x38f)]=!0x0,this[_0x2b1621(0x476)][_0x2b1621(0x39d)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x50b40d=>{const _0x8e46e9=_0x2b1621;_0x50b40d===_0x493e59[_0x8e46e9(0x26d)]['ONLINE']?this[_0x8e46e9(0x2b4)]():this[_0x8e46e9(0x387)]();}),this[_0x2b1621(0x476)][_0x2b1621(0x2c1)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x54c7d5=>{const _0x5425a7=_0x2b1621,_0x4c3bf7=_0x54c7d5['eventID'];_0x4c3bf7===_0x5b9cab[_0x5425a7(0x3d7)][_0x5425a7(0x386)]&&this[_0x5425a7(0x288)](_0x54c7d5),_0x4c3bf7===_0x5b9cab['CollaborationEvent']['USERS_LEAVE']&&this[_0x5425a7(0x35b)](_0x54c7d5);}),this['disposeWithMe'](this['_commandService'][_0x2b1621(0x485)](_0x319ccf=>{const _0x5e9230=_0x2b1621,_0x5722ee=_0x319ccf[_0x5e9230(0x411)];_0x5722ee!=null&&this[_0x5e9230(0x33f)]&&_0x319ccf['id']===_0x37270e[_0x5e9230(0x378)]['id']&&_0x5722ee[_0x5e9230(0x268)]===this['unitID']&&_0x5722ee[_0x5e9230(0x2f8)]===!0x1&&_0x5722ee['ranges'][_0x5e9230(0x497)]>0x0&&this[_0x5e9230(0x324)](_0x5722ee[_0x5e9230(0x25e)]);})),this[_0x2b1621(0x335)]['collabCursorState$'][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x469c16=>{const _0x5dee18=_0x2b1621;if((_0x469c16==null?void 0x0:_0x469c16[_0x5dee18(0x3e1)])!==this[_0x5dee18(0x3e1)])return;const _0xda0b7c={'eventID':_0x5b9cab['CollaborationEvent'][_0x5dee18(0x386)],'data':_0x469c16};this[_0x5dee18(0x288)](_0xda0b7c);}),this[_0x2b1621(0x1f5)](this[_0x2b1621(0x2d6)][_0x2b1621(0x485)](_0x3a8705=>{const _0x46d807=_0x2b1621;if(_0x3a8705[_0x46d807(0x411)]==null)return;const _0x4c22c8=_0x3a8705[_0x46d807(0x411)];if(_0x3a8705['id']!==_0x37270e[_0x46d807(0x30a)]['id']||_0x4c22c8[_0x46d807(0x268)]!==this[_0x46d807(0x3e1)])return;const _0x11a835={'id':_0x46d807(0x21a),'params':_0x4c22c8},_0x4d8bb3=this[_0x46d807(0x336)];for(const [_0x160ad3,_0xac7133]of _0x4d8bb3){const _0x290f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x46d807(0x3e1)],'actions':null,'textRanges':_0xac7133['ranges']}},_0x4b7a06=this[_0x46d807(0x414)]['transformMutation'](_0x11a835,_0x290f2d,!0x1);if(_0x5b9cab[_0x46d807(0x452)](_0x4b7a06))throw _0x4b7a06['error'];_0x4d8bb3[_0x46d807(0x22d)](_0x160ad3,{..._0xac7133,'ranges':_0x4b7a06[_0x46d807(0x389)][_0x46d807(0x411)][_0x46d807(0x45a)]});}queueMicrotask(()=>{const _0x437c25=_0x46d807;this[_0x437c25(0x3c9)][_0x437c25(0x258)](_0x4d8bb3);});})));}[_0x25c8ac(0x288)](_0x1698b6){const _0x34d936=_0x25c8ac;var _0xf6e15c,_0x1aec5b;const {memberID:_0x191bf3,selection:_0x3bbcc1}=_0x1698b6[_0x34d936(0x303)],_0x2689ac=_0x505ec7(_0x3bbcc1),_0xe99abd=(_0x1aec5b=(_0xf6e15c=this[_0x34d936(0x2ca)][_0x34d936(0x3d8)](this[_0x34d936(0x3e1)],_0x191bf3))==null?void 0x0:_0xf6e15c['name'])!=null?_0x1aec5b:'Unknown\x20user',_0x358a4e={'color':this['_colorAssignService'][_0x34d936(0x271)](_0x191bf3),'name':_0xe99abd,'ranges':_0x2689ac},_0x5021a7=this['cursorInfo'];_0x5021a7[_0x34d936(0x22d)](_0x191bf3,_0x358a4e),this['_cursorInfo$'][_0x34d936(0x258)](_0x5021a7);}['_onCursorDelete'](_0x27f41a){const _0x535b53=_0x25c8ac,{memberID:_0x2b042f}=_0x27f41a[_0x535b53(0x303)],_0x11bcb4=this[_0x535b53(0x336)];_0x11bcb4['delete'](_0x2b042f),this[_0x535b53(0x3c9)][_0x535b53(0x258)](_0x11bcb4);}[_0x25c8ac(0x2b4)](){const _0x31a329=_0x25c8ac;var _0x593aaf;if(this['_online']=!0x0,((_0x593aaf=this[_0x31a329(0x23a)]['getFocusedUnit']())==null?void 0x0:_0x593aaf['getUnitId']())!==this[_0x31a329(0x3e1)])return;const _0x25530d=this['_injector'][_0x31a329(0x4c4)](_0x37270e[_0x31a329(0x2ee)])[_0x31a329(0x4d8)]();Array[_0x31a329(0x1fa)](_0x25530d)&&_0x25530d[_0x31a329(0x497)]>0x0&&this[_0x31a329(0x324)](_0x25530d);}[_0x25c8ac(0x387)](){const _0x4da63e=_0x25c8ac;this[_0x4da63e(0x33f)]=!0x1;}};_0x5ae18d=_0xc0e9a6([_0x455341(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x455341(0x3,_0x51c091['Inject'](_0x3dd070)),_0x455341(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59['MemberService'])),_0x455341(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x455341(0x6,_0x5b9cab[_0x25c8ac(0x431)]),_0x455341(0x7,_0x51c091[_0x25c8ac(0x261)]),_0x455341(0x8,_0x51c091['ICommandService'])],_0x5ae18d);var _0x5c03ba=Object['getOwnPropertyDescriptor'],_0x317fe5=(_0x560e93,_0x83ab81,_0x48fadd,_0x1adc15)=>{const _0x52a44c=_0x25c8ac;for(var _0x4e4cf5=_0x1adc15>0x1?void 0x0:_0x1adc15?_0x5c03ba(_0x83ab81,_0x48fadd):_0x83ab81,_0xfc3c37=_0x560e93[_0x52a44c(0x497)]-0x1,_0x47da54;_0xfc3c37>=0x0;_0xfc3c37--)(_0x47da54=_0x560e93[_0xfc3c37])&&(_0x4e4cf5=_0x47da54(_0x4e4cf5)||_0x4e4cf5);return _0x4e4cf5;},_0x134361=(_0xfec868,_0x57a270)=>(_0x58f9e0,_0x4e1c6c)=>_0x57a270(_0x58f9e0,_0x4e1c6c,_0xfec868);const _0x4081fa=0x12c,_0x37a625=0x64,_0x11bc78=()=>{let _0x36fff9=[],_0x250dff=!0x1;return _0x4f16c0=>{const _0xaff4d4=_0xd869;_0x36fff9[_0xaff4d4(0x2ac)](_0x4f16c0),_0x250dff||(_0x250dff=!0x0,setTimeout(()=>{const _0x467d5e=_0xaff4d4;_0x36fff9[_0x467d5e(0x345)](_0x5e2311=>_0x5e2311()),_0x36fff9=[],_0x250dff=!0x1;}));};};let _0x219f89=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x1cba96,_0x33b86b,_0x3141d1,_0x195c13,_0x3b7928,_0x5d5c86,_0x2958de,_0x3e0d0e){const _0x246637=_0x25c8ac;super(),_0x3a54cf(this,_0x246637(0x33f),!0x1),_0x3a54cf(this,_0x246637(0x38f),!0x1),_0x3a54cf(this,_0x246637(0x3c9),new _0x2d756d[(_0x246637(0x243))](new Map())),_0x3a54cf(this,_0x246637(0x404),this[_0x246637(0x3c9)][_0x246637(0x319)]()),_0x3a54cf(this,_0x246637(0x2fe),new _0x2d756d[(_0x246637(0x243))]([])),_0x3a54cf(this,'roomMembers$',this[_0x246637(0x2fe)][_0x246637(0x430)](_0x2d756d[_0x246637(0x42c)](_0x4081fa))),_0x3a54cf(this,_0x246637(0x324),_0x51c091[_0x246637(0x447)]((_0x497824,_0x13a953)=>{const _0x12bccb=_0x246637,_0x908948={'eventID':_0x5b9cab[_0x12bccb(0x3d7)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x12bccb(0x476)][_0x12bccb(0x217)](),'selection':_0xfcd088['serializeRangeWithSheet'](_0x497824,_0x13a953[_0x12bccb(0x2af)])}};this[_0x12bccb(0x476)][_0x12bccb(0x241)](_0x908948,this['unitID']);},_0x37a625)),(this[_0x246637(0x3e1)]=_0x1cba96,this['_session']=_0x33b86b,this[_0x246637(0x3e5)]=_0x3141d1,this['_colorAssignService']=_0x195c13,this[_0x246637(0x2ca)]=_0x3b7928,this['_univerInstanceService']=_0x5d5c86,this['_commandService']=_0x2958de,this[_0x246637(0x4a5)]=_0x3e0d0e);}get[_0x25c8ac(0x336)](){const _0x567064=_0x25c8ac;return this[_0x567064(0x3c9)][_0x567064(0x38b)]();}get[_0x25c8ac(0x4c9)](){const _0x391081=_0x25c8ac;return this['_roomMembers$'][_0x391081(0x38b)]();}[_0x25c8ac(0x325)](){const _0x543b28=_0x25c8ac;super[_0x543b28(0x325)](),this[_0x543b28(0x3c9)][_0x543b28(0x258)](new Map()),this[_0x543b28(0x3c9)][_0x543b28(0x438)](),this[_0x543b28(0x2fe)][_0x543b28(0x258)]([]),this['_roomMembers$'][_0x543b28(0x438)]();}[_0x25c8ac(0x281)](){const _0x21003e=_0x25c8ac;this[_0x21003e(0x38f)]||(this[_0x21003e(0x38f)]=!0x0,this['_session']['sessionStatus$'][_0x21003e(0x430)](_0x2d756d['takeUntil'](this[_0x21003e(0x37a)]))['subscribe'](_0x245d28=>{const _0x2a61a0=_0x21003e;_0x245d28===_0x493e59['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a61a0(0x387)]();}),this[_0x21003e(0x476)][_0x21003e(0x2c1)]['pipe'](_0x2d756d[_0x21003e(0x210)](this[_0x21003e(0x37a)]))[_0x21003e(0x2b3)](_0xc619ab=>{const _0x426e84=_0x21003e,_0x31aaff=_0xc619ab[_0x426e84(0x29e)];_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x386)]&&this[_0x426e84(0x288)](_0xc619ab),_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x2ae)]&&this[_0x426e84(0x35b)](_0xc619ab);}),this[_0x21003e(0x277)](),this[_0x21003e(0x1f5)](this[_0x21003e(0x2d6)]['onCommandExecuted'](_0x528c77=>{const _0x3c3ea3=_0x21003e;if(this[_0x3c3ea3(0x33f)]&&_0x528c77['id']===_0x184ff5[_0x3c3ea3(0x35c)]['id']&&_0x528c77[_0x3c3ea3(0x411)][_0x3c3ea3(0x268)]===this['unitID']){const _0x5c8de6=_0x528c77['params'];this[_0x3c3ea3(0x324)](_0x5c8de6[_0x3c3ea3(0x469)],_0x5c8de6[_0x3c3ea3(0x2be)][0x0]);}})));}[_0x25c8ac(0x288)](_0x57a7a2){const _0x467740=_0x25c8ac;var _0x26bfa7,_0x38cbf2;const {memberID:_0x1844a7,selection:_0x15b1f9}=_0x57a7a2[_0x467740(0x303)],{sheetName:_0x3360e3,range:_0x6976dc}=_0xfcd088[_0x467740(0x39c)](_0x15b1f9),_0xdb1b9={'name':(_0x38cbf2=(_0x26bfa7=this[_0x467740(0x2ca)][_0x467740(0x3d8)](this[_0x467740(0x3e1)],_0x1844a7))==null?void 0x0:_0x26bfa7['name'])!=null?_0x38cbf2:'Unknown\x20user','range':this['_getMergeRange'](_0x3360e3,_0x6976dc),'sheetID':_0x3360e3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1844a7),'selection':_0x15b1f9},_0x123821=this[_0x467740(0x336)];_0x123821[_0x467740(0x22d)](_0x1844a7,_0xdb1b9),this[_0x467740(0x3c9)]['next'](_0x123821);}[_0x25c8ac(0x35b)](_0x497b98){const _0x4ec836=_0x25c8ac,{memberID:_0x20fa5a}=_0x497b98[_0x4ec836(0x303)],_0x412f68=this[_0x4ec836(0x336)];_0x412f68[_0x4ec836(0x2d0)](_0x20fa5a),this['_cursorInfo$'][_0x4ec836(0x258)](_0x412f68);}[_0x25c8ac(0x2c7)](_0x4cbe8d,_0xe7d289){const _0x17c206=_0x25c8ac;var _0x7049fc,_0x3b5a6e;const _0x59dc29=(_0x3b5a6e=(_0x7049fc=this[_0x17c206(0x23a)][_0x17c206(0x3d6)](this[_0x17c206(0x3e1)]))==null?void 0x0:_0x7049fc[_0x17c206(0x491)](_0x4cbe8d))==null?void 0x0:_0x3b5a6e['getMergeData']();return(_0x59dc29==null?void 0x0:_0x59dc29[_0x17c206(0x247)](_0x343772=>_0x51c091[_0x17c206(0x266)][_0x17c206(0x2d4)](_0x343772,_0xe7d289)))||_0xe7d289;}['_onRefRangeChange'](){const _0x537ba3=_0x25c8ac,_0x9c2eae=new _0x51c091[(_0x537ba3(0x440))](),_0xdb3e49=_0x11bc78(),_0x2348b4=()=>{const _0x497219=_0x537ba3;_0x9c2eae[_0x497219(0x325)]();const _0x23306e=(_0x196a63,_0x13ad1b,_0x15ef8a,_0x2c339e)=>{const _0x323d47=_0x497219;let _0x3f3b15=[];switch(_0x196a63['id']){case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x3cb)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x44a)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['DeleteRangeMoveUpCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x2ff)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['InsertColCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x341)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4b6)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3eb)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x41f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x412)](_0x196a63,_0x2c339e);break;}case _0x184ff5['EffectRefRangId']['InsertRowCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x446)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x47f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3dc)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x396)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x2f4)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4c5)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x20c)](_0x196a63,_0x2c339e);break;}}const _0x1a7152=_0x184ff5[_0x323d47(0x3e8)](_0x3f3b15,_0x2c339e),_0x3713c7=this[_0x323d47(0x336)]['get'](_0x13ad1b);if(_0x3713c7&&_0x1a7152){const _0x39e771={..._0x3713c7,'range':_0x1a7152};this[_0x323d47(0x336)][_0x323d47(0x22d)](_0x13ad1b,_0x39e771),_0xdb3e49(()=>{const _0x4a9761=_0x323d47,_0x26fe49=this[_0x4a9761(0x4a5)][_0x4a9761(0x37f)](_0x1a7152,_0x2a4feb=>(_0x26fe49['dispose'](),_0x23306e(_0x2a4feb,_0x13ad1b,_0x15ef8a,_0x1a7152)));_0x9c2eae[_0x4a9761(0x2d2)](_0x26fe49);});}return{'redos':[],'undos':[]};};this[_0x497219(0x336)]['forEach']((_0x4a3d20,_0x103a96)=>{const _0x479f21=_0x497219,{range:_0x565a48,sheetID:_0x3e3a24}=_0x4a3d20,_0x703cf=this[_0x479f21(0x4a5)]['registerRefRange'](_0x565a48,_0x1436da=>(_0x703cf['dispose'](),_0x23306e(_0x1436da,_0x103a96,_0x3e3a24,_0x565a48)));_0x9c2eae['add'](_0x703cf);});};this[_0x537ba3(0x1f5)](_0x51c091['toDisposable'](this[_0x537ba3(0x3c9)][_0x537ba3(0x2b3)](()=>{_0x2348b4();})));}[_0x25c8ac(0x2b4)](){const _0x18a2a1=_0x25c8ac;var _0x2fb576,_0x4546b4;if(this['_online']=!0x0,((_0x2fb576=this['_univerInstanceService'][_0x18a2a1(0x328)]())==null?void 0x0:_0x2fb576[_0x18a2a1(0x30f)]())!==this[_0x18a2a1(0x3e1)])return;const _0x1c8fcf=(_0x4546b4=this[_0x18a2a1(0x3e5)][_0x18a2a1(0x4c4)](_0x184ff5[_0x18a2a1(0x3e2)])['getCurrentSelections']())==null?void 0x0:_0x4546b4[0x0],_0x32fe7a=this[_0x18a2a1(0x23a)]['getCurrentUnitForType'](_0x51c091[_0x18a2a1(0x375)][_0x18a2a1(0x3d0)])['getActiveSheet']();_0x1c8fcf&&_0x32fe7a&&this[_0x18a2a1(0x324)](_0x32fe7a[_0x18a2a1(0x230)](),_0x1c8fcf);}['_toggleOffline'](){this['_online']=!0x1;}};_0x219f89=_0x317fe5([_0x134361(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x134361(0x3,_0x51c091['Inject'](_0x3dd070)),_0x134361(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x401)])),_0x134361(0x5,_0x51c091[_0x25c8ac(0x261)]),_0x134361(0x6,_0x51c091[_0x25c8ac(0x483)]),_0x134361(0x7,_0x51c091[_0x25c8ac(0x301)](_0x184ff5['RefRangeService']))],_0x219f89);var _0x43e703=Object['getOwnPropertyDescriptor'],_0x39b925=(_0x12c4b8,_0x1ba556,_0x40c4b7,_0x376dae)=>{for(var _0x59f3d0=_0x376dae>0x1?void 0x0:_0x376dae?_0x43e703(_0x1ba556,_0x40c4b7):_0x1ba556,_0x339b61=_0x12c4b8['length']-0x1,_0x50bc3e;_0x339b61>=0x0;_0x339b61--)(_0x50bc3e=_0x12c4b8[_0x339b61])&&(_0x59f3d0=_0x50bc3e(_0x59f3d0)||_0x59f3d0);return _0x59f3d0;},_0x4b7da2=(_0x5b3971,_0x15d1ba)=>(_0x140356,_0x317c05)=>_0x15d1ba(_0x140356,_0x317c05,_0x5b3971);let _0x43fe6e=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x23000e,_0x27f75d,_0x3e1bec){const _0x2a942a=_0x25c8ac;super(),_0x3a54cf(this,_0x2a942a(0x38a),new Map()),_0x3a54cf(this,_0x2a942a(0x2f5),new _0x2d756d[(_0x2a942a(0x26c))]()),(this['_univerInstanceService']=_0x23000e,this['_injector']=_0x27f75d,this[_0x2a942a(0x41e)]=_0x3e1bec,this[_0x2a942a(0x38f)]());}[_0x25c8ac(0x325)](){const _0x249908=_0x25c8ac;super['dispose'](),this['_entityInit$'][_0x249908(0x438)](),this['_entities'][_0x249908(0x345)](_0x583c9f=>_0x583c9f[_0x249908(0x325)]());}[_0x25c8ac(0x2ef)](_0x8710f4){const _0x295207=_0x25c8ac;return this[_0x295207(0x38a)][_0x295207(0x297)](_0x8710f4)?this[_0x295207(0x38a)][_0x295207(0x4c4)](_0x8710f4)[_0x295207(0x404)]:this['_entityInit$']['pipe'](_0x2d756d[_0x295207(0x441)](_0x4c5ae1=>_0x4c5ae1[_0x295207(0x3e1)]===_0x8710f4),_0x2d756d['switchMap'](_0x46ac19=>_0x46ac19[_0x295207(0x404)]));}[_0x25c8ac(0x38f)](){const _0x4401e2=_0x25c8ac;this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)])[_0x4401e2(0x430)](_0x2d756d[_0x4401e2(0x210)](this['dispose$']))[_0x4401e2(0x2b3)](async _0x55e8a0=>{const _0x21d9b6=_0x4401e2,_0x2a8a27=_0x55e8a0[_0x21d9b6(0x30f)](),_0x137c67=await this['_startSheetCollabCursor'](_0x2a8a27);this[_0x21d9b6(0x2f5)][_0x21d9b6(0x258)](_0x137c67),this['_entities'][_0x21d9b6(0x22d)](_0x2a8a27,_0x137c67);}),this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)])['pipe'](_0x2d756d[_0x4401e2(0x210)](this[_0x4401e2(0x37a)]))[_0x4401e2(0x430)](_0x2d756d['filter'](_0x467a7d=>!_0x467a7d['getUnitId']()[_0x4401e2(0x371)]('__')))['subscribe'](async _0x52985c=>{const _0x20a7a6=_0x4401e2,_0x4a3f86=_0x52985c['getUnitId'](),_0x35592a=await this[_0x20a7a6(0x3d3)](_0x4a3f86);this[_0x20a7a6(0x2f5)][_0x20a7a6(0x258)](_0x35592a),this[_0x20a7a6(0x38a)][_0x20a7a6(0x22d)](_0x4a3f86,_0x35592a);}),_0x2d756d[_0x4401e2(0x296)](this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)]),this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)]))[_0x4401e2(0x430)](_0x2d756d['takeUntil'](this[_0x4401e2(0x37a)]))[_0x4401e2(0x2b3)](_0x1b6538=>{const _0x47331f=_0x4401e2,_0x238a37=_0x1b6538[_0x47331f(0x30f)](),_0x3831eb=this[_0x47331f(0x38a)][_0x47331f(0x4c4)](_0x238a37);_0x3831eb&&(_0x3831eb['dispose'](),this[_0x47331f(0x38a)][_0x47331f(0x2d0)](_0x238a37));});}async[_0x25c8ac(0x213)](_0x3fcb99){const _0x55c731=_0x25c8ac,_0x2a858f=await this[_0x55c731(0x41e)][_0x55c731(0x2d7)](_0x3fcb99),_0x5bed77=this[_0x55c731(0x3e5)]['createInstance'](_0x219f89,_0x3fcb99,_0x2a858f);return _0x5bed77[_0x55c731(0x281)](),_0x5bed77;}async[_0x25c8ac(0x3d3)](_0x5e8a13){const _0x532623=_0x25c8ac,_0x101bd9=await this[_0x532623(0x41e)][_0x532623(0x2d7)](_0x5e8a13),_0x1f88a1=this[_0x532623(0x3e5)]['createInstance'](_0x5ae18d,_0x5e8a13,_0x101bd9);return _0x1f88a1[_0x532623(0x281)](),_0x1f88a1;}};_0x43fe6e=_0x39b925([_0x4b7da2(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x4b7da2(0x1,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x4b7da2(0x2,_0x51c091[_0x25c8ac(0x301)](_0x493e59['CollaborationSessionService']))],_0x43fe6e);const _0x3e88d8=0x14,_0x4f6245=0xc8,_0x169f85=0x4,_0x389b3c=0x5;function _0x2cd01b(_0x357dd5,_0x206aa4){const _0x5664c0=_0x25c8ac;let {radius:_0x556760,width:_0xd6431f,height:_0x3f04a5}=_0x206aa4;_0x556760=_0x556760!=null?_0x556760:0x0,_0xd6431f=_0xd6431f!=null?_0xd6431f:0x1e,_0x3f04a5=_0x3f04a5!=null?_0x3f04a5:0x1e;let _0xfec8e8=0x0,_0x253c20=0x0,_0x1b6d26=0x0;_0xfec8e8=_0x253c20=_0x1b6d26=Math[_0x5664c0(0x3c6)](_0x556760,_0xd6431f/0x2,_0x3f04a5/0x2),_0x357dd5[_0x5664c0(0x358)](),_0x357dd5['moveTo'](_0xfec8e8,0x0),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f-_0x253c20,0x0),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x253c20,_0x253c20,_0x253c20,Math['PI']*0x3/0x2,0x0,!0x1),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f,_0x3f04a5-_0x1b6d26),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x1b6d26,_0x3f04a5-_0x1b6d26,_0x1b6d26,0x0,Math['PI']/0x2,!0x1),_0x357dd5[_0x5664c0(0x30b)](0x0,_0x3f04a5),_0x357dd5[_0x5664c0(0x30b)](0x0,_0xfec8e8),_0x357dd5[_0x5664c0(0x203)](_0xfec8e8,_0xfec8e8,_0xfec8e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x357dd5[_0x5664c0(0x218)](),_0x206aa4[_0x5664c0(0x42b)]&&(_0x357dd5['save'](),_0x357dd5['fillStyle']=_0x206aa4[_0x5664c0(0x42b)],_0x206aa4[_0x5664c0(0x23c)]==='evenodd'?_0x357dd5[_0x5664c0(0x42b)](_0x5664c0(0x4ad)):_0x357dd5[_0x5664c0(0x42b)](),_0x357dd5[_0x5664c0(0x45e)]());}class _0x138c53 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x33501d,_0x2b8b94){const _0x33b346=_0x25c8ac;super(_0x33501d,_0x2b8b94),_0x3a54cf(this,_0x33b346(0x2da)),_0x3a54cf(this,'text'),(this[_0x33b346(0x2da)]=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x2da)],this['text']=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x48f)]);}static[_0x25c8ac(0x2bd)](_0x4bc761,_0x4bc170){const _0xd9e91e=_0x25c8ac,{text:_0x3cc97f,color:_0x1a5144}=_0x4bc170;_0x4bc761[_0xd9e91e(0x3c2)](),_0x4bc761['font']=_0xd9e91e(0x499);const _0x48cc26=_0x4bc761[_0xd9e91e(0x200)](_0x3cc97f)[_0xd9e91e(0x3fc)],_0x3830ce=Math[_0xd9e91e(0x3c6)](_0x48cc26+0x2*_0x169f85,_0x4f6245);_0x2cd01b(_0x4bc761,{'height':_0x3e88d8,'radius':0x4,'width':_0x3830ce,'fill':_0x1a5144}),_0x4bc761[_0xd9e91e(0x2bc)]=_0xd9e91e(0x3f8);const _0x527108=_0x169f85,_0x2b136e=_0x3e88d8-_0x389b3c,_0x369d8c=_0x4f6245-0x2*_0x169f85;if(_0x48cc26>_0x369d8c){let _0x19ffd2='',_0x542079=0x0;for(const _0x3f335b of _0x3cc97f){const _0x5e899f=_0x4bc761['measureText'](_0x3f335b)[_0xd9e91e(0x3fc)];if(_0x542079+_0x5e899f<=_0x369d8c-_0x4bc761['measureText'](_0xd9e91e(0x4cc))[_0xd9e91e(0x3fc)])_0x19ffd2+=_0x3f335b,_0x542079+=_0x5e899f;else{_0x19ffd2+='...';break;}}_0x4bc761[_0xd9e91e(0x274)](_0x19ffd2,_0x527108,_0x2b136e);}else _0x4bc761['fillText'](_0x3cc97f,_0x527108,_0x2b136e);_0x4bc761[_0xd9e91e(0x45e)]();}[_0x25c8ac(0x2a2)](_0x168f4e){const _0x3200c8=_0x25c8ac;_0x138c53[_0x3200c8(0x2bd)](_0x168f4e,this);}}const _0x41e103='collab-text-anchor-',_0x3446e0=_0x25c8ac(0x2b7),_0x77063e=_0x25c8ac(0x4bb),_0x31de00=0x6,_0x449f62=1.5,_0x3ce1c4=0x4,_0x267e4d=1.5,_0xbfaac7=_0x25c8ac(0x338);class _0x1ab378{constructor(_0x1c81d5,_0x134eb7,_0xe80fb5,_0x3cedb3){const _0x1bce42=_0x25c8ac;_0x3a54cf(this,_0x1bce42(0x2ea),[]),_0x3a54cf(this,_0x1bce42(0x47d),null),_0x3a54cf(this,_0x1bce42(0x327),null),_0x3a54cf(this,_0x1bce42(0x344),null),_0x3a54cf(this,_0x1bce42(0x39f),null),_0x3a54cf(this,'_eventUnsubscribe',null),(this[_0x1bce42(0x24e)]=_0x1c81d5,this[_0x1bce42(0x2a1)]=_0x134eb7,this[_0x1bce42(0x348)]=_0xe80fb5,this[_0x1bce42(0x360)]=_0x3cedb3,this['_render']());}set['_hover'](_0x37c3d0){const _0x35781a=_0x25c8ac;_0x37c3d0?(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x2f9)](),this[_0x35781a(0x327)]&&this[_0x35781a(0x327)][_0x35781a(0x392)]()):(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x392)](),this[_0x35781a(0x327)]&&this['_textBubble'][_0x35781a(0x2f9)]());}['dispose'](){const _0x57cb4a=_0x25c8ac;for(const _0x55e805 of this['_shapes'])_0x55e805['dispose']();this[_0x57cb4a(0x327)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x57cb4a(0x325)](),this[_0x57cb4a(0x47d)]&&this[_0x57cb4a(0x47d)][_0x57cb4a(0x325)](),this[_0x57cb4a(0x2bf)]&&this['_eventUnsubscribe']();}[_0x25c8ac(0x228)](){const _0x54994e=_0x25c8ac;var _0x37f415;const {_docSkeleton:_0x352fac,_document:_0x115d46}=this,{color:_0x132b28,name:_0x2e3999,ranges:_0x57f150}=this['_cursor'],_0x44c6b6=_0x115d46[_0x54994e(0x4af)](),{docsLeft:_0x40b3d0,docsTop:_0x577af5}=_0x44c6b6,_0x2ad7df=new _0x594fa4[(_0x54994e(0x234))](_0x44c6b6,_0x352fac);for(const {startOffset:_0x4f72c8,endOffset:_0x54e7b9,rangeType:_0x21c9b5,segmentId:_0x4c3ac6,segmentPage:_0x558944,collapsed:_0x248858,isActive:_0x9718e9}of _0x57f150){const _0x520e13=_0x352fac[_0x54994e(0x290)](_0x4f72c8,!0x0,_0x4c3ac6,_0x558944);let _0x288de7=_0x352fac[_0x54994e(0x290)](_0x54e7b9,!0x0,_0x4c3ac6,_0x558944);if(_0x288de7==null&&(_0x288de7=_0x352fac['findNodePositionByCharIndex'](_0x54e7b9-0x1,!0x1,_0x4c3ac6,_0x558944)),_0x9718e9){const {contentBoxPointGroup:_0x2be2fc}=_0x2ad7df[_0x54994e(0x49c)](_0x288de7,_0x288de7);if(_0x2be2fc['length']===0x0)continue;this[_0x54994e(0x2d3)](_0x132b28,_0x2be2fc,_0x40b3d0,_0x577af5,_0x2e3999),this[_0x54994e(0x2bf)]=this[_0x54994e(0x226)]();}if(_0x520e13&&_0x288de7){if(_0x21c9b5===_0x51c091[_0x54994e(0x458)][_0x54994e(0x208)]){const _0x3aeba6=new _0x594fa4[(_0x54994e(0x3ec))](_0x44c6b6,_0x352fac),{pointGroup:_0x2adfc1}=(_0x37f415=_0x3aeba6[_0x54994e(0x49c)](_0x520e13,_0x288de7))!=null?_0x37f415:{};if(_0x2adfc1==null||_0x2adfc1[_0x54994e(0x497)]===0x0)continue;this['_drawRectRange'](_0x132b28,_0x2adfc1,_0x40b3d0,_0x577af5);}else{if(!_0x248858){const {borderBoxPointGroup:_0x4e02a1}=_0x2ad7df['getRangePointData'](_0x520e13,_0x288de7);if(_0x4e02a1[_0x54994e(0x497)]===0x0)continue;this['_drawTextRange'](_0x132b28,_0x4e02a1,_0x40b3d0,_0x577af5);}}}}}[_0x25c8ac(0x2d3)](_0x5d3e39,_0x368bcc,_0x566245,_0x158632,_0x2b1b0b){const _0x175d10=_0x25c8ac,_0x8adbcf=this[_0x175d10(0x294)](_0x368bcc),{left:_0x13fa91,top:_0x531bf5,height:_0x2c3ef2}=_0x8adbcf,_0x312f6c=this[_0x175d10(0x3d5)](),_0x1a89f6=_0x267e4d/_0x312f6c,_0x366d6e=new _0x396fb6['Rect'](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632,'height':_0x2c3ef2,'width':_0x449f62,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091[_0x175d10(0x421)][_0x175d10(0x478)],0x0),'strokeWidth':_0x1a89f6,'stroke':_0xbfaac7,'evented':!0x0});this[_0x175d10(0x47d)]=_0x366d6e,this['_scene'][_0x175d10(0x3d1)](_0x366d6e,_0x594fa4[_0x175d10(0x3bc)]);const _0x2ab239=new _0x396fb6[(_0x175d10(0x2c2))](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3ce1c4/0x2,'height':_0x3ce1c4,'width':_0x3ce1c4,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS'][_0x175d10(0x478)],0x0),'evented':!0x1});this['_anchorDot']=_0x2ab239,this[_0x175d10(0x2a1)][_0x175d10(0x3d1)](_0x2ab239,_0x594fa4[_0x175d10(0x3bc)]);const _0x28a0ce=new _0x138c53(_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3e88d8,'text':_0x2b1b0b,'color':_0x5d3e39});this['_textBubble']=_0x28a0ce,this['_scene'][_0x175d10(0x3d1)](_0x28a0ce,_0x594fa4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x25c8ac(0x226)](){const _0x40a5db=_0x25c8ac,_0x4d9e8f=this['_anchor'][_0x40a5db(0x293)][_0x40a5db(0x402)](()=>{const _0x3a51f2=_0x40a5db;this[_0x3a51f2(0x394)]=!0x0;}),_0x22893c=this[_0x40a5db(0x47d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x28d953=_0x40a5db;this[_0x28d953(0x39f)]&&clearTimeout(this[_0x28d953(0x39f)]),this[_0x28d953(0x39f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x19dc6f=_0x40a5db;_0x4d9e8f[_0x19dc6f(0x287)](),_0x22893c['unsubscribe']();};}[_0x25c8ac(0x4b4)](_0x488218,_0x22c41c,_0x9fae0f,_0x4b8d59){const _0x2346c9=_0x25c8ac,_0x285042=new _0x51c091['ColorKit'](_0x488218)[_0x2346c9(0x209)](0.2)['toRgbString'](),_0x5e99f7=new _0x396fb6['RegularPolygon'](_0x3446e0+_0x51c091[_0x2346c9(0x2a9)](_0x31de00),{'pointsGroup':_0x22c41c,'fill':_0x285042||_0x396fb6[_0x2346c9(0x3a0)](_0x51c091['COLORS'][_0x2346c9(0x478)],0.2),'left':_0x9fae0f,'top':_0x4b8d59,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2346c9(0x2ac)](_0x5e99f7),this[_0x2346c9(0x2a1)]['addObject'](_0x5e99f7,_0x594fa4[_0x2346c9(0x3bc)]);}['_drawRectRange'](_0x2982a6,_0x86c13e,_0xe1adb8,_0x555841){const _0x46ec1f=_0x25c8ac,_0x464309=new _0x51c091[(_0x46ec1f(0x223))](_0x2982a6)[_0x46ec1f(0x209)](0.2)['toRgbString'](),_0x482f97=new _0x396fb6[(_0x46ec1f(0x449))](_0x77063e+_0x51c091['generateRandomId'](_0x31de00),{'pointsGroup':_0x86c13e,'fill':_0x464309||_0x396fb6[_0x46ec1f(0x3a0)](_0x51c091[_0x46ec1f(0x421)][_0x46ec1f(0x478)],0.2),'left':_0xe1adb8,'top':_0x555841,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ec1f(0x2ea)][_0x46ec1f(0x2ac)](_0x482f97),this[_0x46ec1f(0x2a1)]['addObject'](_0x482f97,_0x594fa4[_0x46ec1f(0x3bc)]);}[_0x25c8ac(0x294)](_0x1dfb30){const _0x190ad4=_0x1dfb30[0x0],_0x588b04=_0x190ad4[0x0],_0x3013e1=_0x190ad4[0x2],{x:_0x2125d1,y:_0x3e177f}=_0x588b04,{x:_0x443c39,y:_0x425670}=_0x3013e1;return{'left':_0x2125d1,'top':_0x3e177f,'width':_0x443c39-_0x2125d1,'height':_0x425670-_0x3e177f};}[_0x25c8ac(0x3d5)](){const _0x402234=_0x25c8ac,{scaleX:_0x394688,scaleY:_0x235e97}=this[_0x402234(0x2a1)][_0x402234(0x1fc)]();return Math[_0x402234(0x423)](_0x394688,_0x235e97);}}var _0x4bd16f=Object[_0x25c8ac(0x3a8)],_0x58b0e0=(_0x1e423a,_0x5cfe8f,_0x38a679,_0x465cdf)=>{const _0x1813c9=_0x25c8ac;for(var _0x3161e5=_0x465cdf>0x1?void 0x0:_0x465cdf?_0x4bd16f(_0x5cfe8f,_0x38a679):_0x5cfe8f,_0x5b28c6=_0x1e423a[_0x1813c9(0x497)]-0x1,_0x4d0cbf;_0x5b28c6>=0x0;_0x5b28c6--)(_0x4d0cbf=_0x1e423a[_0x5b28c6])&&(_0x3161e5=_0x4d0cbf(_0x3161e5)||_0x3161e5);return _0x3161e5;},_0x49e4b5=(_0x19ffd7,_0x3867fb)=>(_0x327329,_0xe7de90)=>_0x3867fb(_0x327329,_0xe7de90,_0x19ffd7);let _0x743d07=class extends _0x51c091['RxDisposable']{constructor(_0x434582,_0x1afa6e,_0x47a2d3,_0x301a5c,_0x414c62){const _0x518c06=_0x25c8ac;super(),_0x3a54cf(this,_0x518c06(0x407),[]),_0x3a54cf(this,_0x518c06(0x332),[]),(this[_0x518c06(0x31e)]=_0x434582,this['_docSkeletonManagerService']=_0x1afa6e,this['_collabCursorController']=_0x47a2d3,this[_0x518c06(0x2d6)]=_0x301a5c,this[_0x518c06(0x2cd)]=_0x414c62,this['_init']());}[_0x25c8ac(0x38f)](){const _0x23341e=_0x25c8ac,_0x2b900e=this[_0x23341e(0x31e)][_0x23341e(0x268)],_0x30c80b=this['_docSkeletonManagerService'];this[_0x23341e(0x1f5)](_0x2d756d[_0x23341e(0x496)]([this[_0x23341e(0x2fc)]['getCollabCursors$'](_0x2b900e),this[_0x23341e(0x2cd)][_0x23341e(0x23d)]])[_0x23341e(0x430)](_0xe24628[_0x23341e(0x43d)](([_0x3a1dee,_0xa0d65d])=>({'skeleton':_0x30c80b['getSkeleton'](),'cursors':[..._0x3a1dee['values']()][_0x23341e(0x28c)](_0x2e9a72=>({..._0x2e9a72,'color':this[_0x23341e(0x2cd)]['getColorFromTheme'](_0x2e9a72[_0x23341e(0x2da)])}))})))[_0x23341e(0x2b3)](_0x3fedba=>{const _0x241824=_0x23341e;if(this[_0x241824(0x22f)](),_0x3fedba){const {skeleton:_0x1e7cef,cursors:_0xd266da}=_0x3fedba;this[_0x241824(0x2f0)](_0x1e7cef,_0xd266da);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x25c8ac(0x2f0)](_0x20e1d2,_0x49d078){const _0x24c7ec=_0x25c8ac,{scene:_0x544e66,mainComponent:_0x3b0bf7}=this[_0x24c7ec(0x31e)],_0x17d7c1=_0x49d078['map'](_0x3f6745=>new _0x1ab378(_0x3f6745,_0x544e66,_0x20e1d2,_0x3b0bf7));this[_0x24c7ec(0x407)]=_0x17d7c1,this[_0x24c7ec(0x332)]=_0x49d078;}[_0x25c8ac(0x45f)](){const _0x30bae1=_0x25c8ac;this[_0x30bae1(0x22f)]();const {scene:_0x2ca01e,mainComponent:_0x504d26}=this[_0x30bae1(0x31e)],_0x43d178=this[_0x30bae1(0x4a1)][_0x30bae1(0x455)](),_0x420ba4=this[_0x30bae1(0x332)][_0x30bae1(0x43d)](_0x44c309=>new _0x1ab378(_0x44c309,_0x2ca01e,_0x43d178,_0x504d26));this[_0x30bae1(0x407)]=_0x420ba4;}[_0x25c8ac(0x22f)](){const _0x3f7ec8=_0x25c8ac;this[_0x3f7ec8(0x407)]['forEach'](_0x35e78b=>_0x35e78b[_0x3f7ec8(0x325)]()),this[_0x3f7ec8(0x407)]=[];}[_0x25c8ac(0x370)](){const _0x2c7673=_0x25c8ac,_0x343451=[_0x594fa4[_0x2c7673(0x37b)]['id']];this[_0x2c7673(0x1f5)](this[_0x2c7673(0x2d6)][_0x2c7673(0x485)](_0xc573a6=>{const _0x380052=_0x2c7673;_0x343451[_0x380052(0x233)](_0xc573a6['id'])&&_0xc573a6[_0x380052(0x411)][_0x380052(0x268)]===this['_context'][_0x380052(0x268)]&&this[_0x380052(0x45f)]();}));}['_initResize'](){const _0x1e250f=_0x25c8ac;this['disposeWithMe'](_0x51c091[_0x1e250f(0x286)](this['_context'][_0x1e250f(0x4b0)]['onTransformChange$'])[_0x1e250f(0x430)](_0xe24628['filter'](_0x5e670b=>_0x5e670b['type']===_0x396fb6['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1e250f(0x4d9)]),_0xe24628[_0x1e250f(0x36d)](0x10))[_0x1e250f(0x2b3)](()=>{const _0x547148=_0x1e250f;this[_0x547148(0x45f)]();}));}};_0x743d07=_0x58b0e0([_0x49e4b5(0x1,_0x51c091[_0x25c8ac(0x301)](_0x37270e[_0x25c8ac(0x1f7)])),_0x49e4b5(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x49e4b5(0x3,_0x51c091[_0x25c8ac(0x483)]),_0x49e4b5(0x4,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x743d07);const _0x1b8c31=0x1,_0x4ae82e=1.5;class _0x1855f6 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x15031d,_0x341307){const _0x414b29=_0x25c8ac;super(_0x15031d,_0x341307),_0x3a54cf(this,_0x414b29(0x479)),_0x3a54cf(this,_0x414b29(0x22e),!0x1),_0x3a54cf(this,_0x414b29(0x2d5)),_0x3a54cf(this,_0x414b29(0x49d),''),_0x3a54cf(this,_0x414b29(0x28a),_0x414b29(0x49b)),_0x3a54cf(this,_0x414b29(0x24f)),(_0x341307&&this[_0x414b29(0x34b)](_0x341307),this['onPointerEnter$'][_0x414b29(0x402)](()=>this[_0x414b29(0x34b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x414b29(0x402)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x25c8ac(0x34b)](_0x18234a){const _0x1fc0ba=_0x25c8ac;var _0x4e43d7,_0x119f0d,_0x3433be,_0x1af4b1,_0x2e17ed,_0x4d8cec;this[_0x1fc0ba(0x479)]=(_0x4e43d7=_0x18234a[_0x1fc0ba(0x2da)])!=null?_0x4e43d7:this[_0x1fc0ba(0x479)],this[_0x1fc0ba(0x22e)]=(_0x119f0d=_0x18234a[_0x1fc0ba(0x34f)])!=null?_0x119f0d:this[_0x1fc0ba(0x22e)],this[_0x1fc0ba(0x2d5)]=(_0x3433be=_0x18234a[_0x1fc0ba(0x2af)])!=null?_0x3433be:this[_0x1fc0ba(0x2d5)],this[_0x1fc0ba(0x49d)]=(_0x1af4b1=_0x18234a[_0x1fc0ba(0x1ea)])!=null?_0x1af4b1:this[_0x1fc0ba(0x49d)],this['_labelPosition']=(_0x2e17ed=_0x18234a[_0x1fc0ba(0x3f3)])!=null?_0x2e17ed:this[_0x1fc0ba(0x28a)],this[_0x1fc0ba(0x24f)]=(_0x4d8cec=_0x18234a[_0x1fc0ba(0x245)])!=null?_0x4d8cec:this[_0x1fc0ba(0x24f)],this[_0x1fc0ba(0x377)]({'width':_0x18234a[_0x1fc0ba(0x3fc)],'height':_0x18234a[_0x1fc0ba(0x34c)]});}['onMouseMove'](_0xc266d4){const _0x9e3d46=_0x25c8ac,{row:_0x348e01,column:_0x446ee1}=_0xc266d4;if(_0x348e01>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3b5)]&&_0x348e01<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3cd)]&&_0x446ee1>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3aa)]&&_0x446ee1<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x250)]){this[_0x9e3d46(0x34b)]({'hovered':!0x0});return;}this[_0x9e3d46(0x34b)]({'hovered':!0x1});}[_0x25c8ac(0x376)](_0x4e1c5b){return!0x1;}[_0x25c8ac(0x2a2)](_0x37aae2){const _0x2fd50a=_0x25c8ac;_0x396fb6[_0x2fd50a(0x2c2)][_0x2fd50a(0x2bd)](_0x37aae2,{'width':this[_0x2fd50a(0x3fc)],'height':this[_0x2fd50a(0x34c)],'strokeWidth':_0x4ae82e,'stroke':this[_0x2fd50a(0x479)],'evented':!0x1,'fill':this[_0x2fd50a(0x24f)]}),this[_0x2fd50a(0x22e)]&&(_0x37aae2[_0x2fd50a(0x3c2)](),_0x37aae2[_0x2fd50a(0x279)](0x1,0x0,0x0,0x1,this[_0x2fd50a(0x3fc)],this[_0x2fd50a(0x28a)]==='bottom'?0x0:-_0x3e88d8),_0x138c53['drawWith'](_0x37aae2,{'text':this[_0x2fd50a(0x49d)],'color':this['_color']}),_0x37aae2['restore']());}}var _0x30616d=Object['getOwnPropertyDescriptor'],_0x1a0574=(_0x27b98d,_0x5c36c6,_0xa0c220,_0x22dbef)=>{const _0x168b36=_0x25c8ac;for(var _0x1fa660=_0x22dbef>0x1?void 0x0:_0x22dbef?_0x30616d(_0x5c36c6,_0xa0c220):_0x5c36c6,_0x7f962e=_0x27b98d[_0x168b36(0x497)]-0x1,_0x126114;_0x7f962e>=0x0;_0x7f962e--)(_0x126114=_0x27b98d[_0x7f962e])&&(_0x1fa660=_0x126114(_0x1fa660)||_0x1fa660);return _0x1fa660;},_0x30b26c=(_0x88b9e8,_0x463d24)=>(_0x3cfdd2,_0xab744e)=>_0x463d24(_0x3cfdd2,_0xab744e,_0x88b9e8);const _0x973394=0x1389;let _0x62dded=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x344475,_0x23d545,_0x359dde,_0x2a57a3){const _0x41953c=_0x25c8ac;super(),_0x3a54cf(this,_0x41953c(0x332),new Set()),_0x3a54cf(this,_0x41953c(0x424),null),(this[_0x41953c(0x31e)]=_0x344475,this[_0x41953c(0x473)]=_0x23d545,this['_collabCursorController']=_0x359dde,this[_0x41953c(0x2cd)]=_0x2a57a3,this[_0x41953c(0x38f)]());}[_0x25c8ac(0x38f)](){const _0x421f12=_0x25c8ac;this[_0x421f12(0x473)][_0x421f12(0x357)][_0x421f12(0x430)](_0xe24628['takeUntil'](this[_0x421f12(0x37a)]),_0xe24628[_0x421f12(0x38c)](_0x9ed001=>{const _0x33ab63=_0x421f12;if(_0x9ed001){const _0x7bbac3=_0x9ed001[_0x33ab63(0x2c8)];return _0x2d756d[_0x33ab63(0x496)](this[_0x33ab63(0x2fc)][_0x33ab63(0x2ef)](this[_0x33ab63(0x31e)][_0x33ab63(0x268)]),this[_0x33ab63(0x2cd)][_0x33ab63(0x23d)])[_0x33ab63(0x430)](_0xe24628[_0x33ab63(0x43d)](([_0x5d427a,_0x1a37ef])=>{const _0x2ff7ee=_0x33ab63,_0x6d0a5b=new Map();return _0x5d427a[_0x2ff7ee(0x345)]((_0x593936,_0x68004d)=>{const _0x5e1332=_0x2ff7ee;if(_0x593936[_0x5e1332(0x3f2)]===_0x7bbac3){const _0x2c79f1={..._0x593936};_0x2c79f1[_0x5e1332(0x2da)]=this[_0x5e1332(0x2cd)][_0x5e1332(0x2e5)](_0x593936[_0x5e1332(0x2da)]),_0x6d0a5b[_0x5e1332(0x22d)](_0x68004d,_0x2c79f1);}}),{'skeleton':_0x9ed001,'cursors':_0x6d0a5b};}));}return _0x2d756d['of']({'skeleton':null,'cursors':new Map()});}))[_0x421f12(0x2b3)](({skeleton:_0x2aaf49,cursors:_0x37bb7e})=>{const _0x77245=_0x421f12;this[_0x77245(0x22f)](),_0x2aaf49&&this['_updateCollabCursors'](_0x2aaf49,_0x37bb7e);}),this['_sheetSkeletonManagerService'][_0x421f12(0x357)][_0x421f12(0x2b3)](_0xf545b7=>{const _0x5e2dcd=_0x421f12;if(_0xf545b7==null)return;const {skeleton:_0x55cc3e}=_0xf545b7,{scene:_0x2e8369}=this['_context'];_0x2e8369[_0x5e2dcd(0x4c1)][_0x5e2dcd(0x402)](_0x51c091[_0x5e2dcd(0x447)](_0x18bb03=>{const _0x342587=_0x5e2dcd;var _0x4203f4,_0x5673f2;const {offsetX:_0x311f35,offsetY:_0x4d2298}=_0x18bb03,{x:_0x380bb5,y:_0x2bccee}=_0x2e8369['getRelativeToViewportCoord'](_0x396fb6['Vector2'][_0x342587(0x347)]([_0x311f35,_0x4d2298])),{scaleX:_0x364ff1,scaleY:_0x432c22}=_0x2e8369[_0x342587(0x1fc)](),_0x1c5010=_0x2e8369[_0x342587(0x34d)](_0x396fb6[_0x342587(0x2ce)][_0x342587(0x41a)]),_0x4b8458=_0x2e8369[_0x342587(0x49f)](_0x396fb6[_0x342587(0x49a)][_0x342587(0x347)]([_0x380bb5,_0x2bccee]),_0x1c5010),_0x168051=_0x55cc3e[_0x342587(0x365)](_0x311f35,_0x4d2298,_0x364ff1,_0x432c22,_0x4b8458);((_0x4203f4=this[_0x342587(0x424)])==null?void 0x0:_0x4203f4[_0x342587(0x2d8)])===_0x168051[_0x342587(0x2d8)]&&((_0x5673f2=this['_lastPointer'])==null?void 0x0:_0x5673f2[_0x342587(0x45b)])===_0x168051[_0x342587(0x45b)]||this[_0x342587(0x332)][_0x342587(0x345)](_0x4f8c53=>{_0x4f8c53['onMouseMove'](_0x168051);});},0x64));});}[_0x25c8ac(0x2f0)](_0x43c365,_0x2ab2cc){const _0x1c5a33=_0x25c8ac;var _0xbed0f6;const _0x3b333e=(_0xbed0f6=this[_0x1c5a33(0x473)]['getCurrent']())==null?void 0x0:_0xbed0f6[_0x1c5a33(0x20a)];if(!_0x3b333e)return;const _0x509b9c=this[_0x1c5a33(0x291)]();if(!_0x509b9c)return;this[_0x1c5a33(0x332)]['forEach'](_0x23bd84=>{const _0x4167fa=_0x1c5a33;_0x23bd84[_0x4167fa(0x3cc)]();});const {scene:_0x3e3aea}=_0x509b9c,_0x237390=_0x16ce05(Array[_0x1c5a33(0x3de)](_0x2ab2cc[_0x1c5a33(0x232)]()))['map'](_0x41820f=>{const _0x345500=_0x1c5a33,{color:_0x36c604,range:_0x3cc6de,name:_0x1feb22,selection:_0x360344,sheetID:_0x235403}=_0x41820f,{startColumn:_0x363726,startRow:_0x5f5442,endColumn:_0x467034,endRow:_0x13736d}=_0x3cc6de,_0x285441=_0x5aaf45[_0x345500(0x269)](_0x5f5442,_0x363726,_0x3e3aea,_0x3b333e),_0x43baa8=_0x5aaf45[_0x345500(0x269)](_0x13736d,_0x467034,_0x3e3aea,_0x3b333e),{columnHeaderHeightAndMarginTop:_0x431061}=_0x3b333e,{startX:_0x49e3c8,startY:_0x36a690}=_0x285441,{endX:_0x4cc179,endY:_0x2fa19e}=_0x43baa8,_0x533b91=_0x4cc179-_0x49e3c8,_0x10eb9b=_0x2fa19e-_0x36a690,_0xfa2e0c={'labelPosition':_0x36a690-_0x431061>=_0x3e88d8?_0x345500(0x49b):_0x345500(0x4c2),'sheetID':_0x235403,'range':_0x3cc6de,'color':_0x36c604,'name':_0x1feb22,'selection':_0x360344,'left':_0x49e3c8,'top':_0x36a690,'width':_0x533b91,'height':_0x10eb9b,'evented':!0x1,'zIndex':_0x973394};return new _0x1855f6(_0x1feb22,_0xfa2e0c);});_0x3e3aea[_0x1c5a33(0x3f4)](_0x237390,_0x1b8c31),this[_0x1c5a33(0x332)]=new Set(_0x237390);}[_0x25c8ac(0x22f)](){const _0x3a6ac6=_0x25c8ac;var _0x441f6b;(_0x441f6b=this[_0x3a6ac6(0x332)])==null||_0x441f6b[_0x3a6ac6(0x345)](_0x15aec0=>_0x15aec0[_0x3a6ac6(0x325)]());}[_0x25c8ac(0x291)](){const _0x3d2048=_0x25c8ac;return _0x5aaf45['getSheetObject'](this[_0x3d2048(0x31e)][_0x3d2048(0x4b5)],this['_context']);}};_0x62dded=_0x1a0574([_0x30b26c(0x1,_0x51c091[_0x25c8ac(0x301)](_0x5aaf45[_0x25c8ac(0x351)])),_0x30b26c(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x30b26c(0x3,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x62dded);function _0x16ce05(_0x40d3b2){const _0x2cbbf9=_0x25c8ac,_0x4bfad6=new Map();return _0x40d3b2['forEach'](_0x14de9b=>{const _0x4835e7=_0xd869;if(_0x4bfad6[_0x4835e7(0x297)](_0x14de9b[_0x4835e7(0x27d)])){const _0x5031e2=_0x4bfad6[_0x4835e7(0x4c4)](_0x14de9b[_0x4835e7(0x27d)]);_0x5031e2[_0x4835e7(0x1ea)]+=',\x20'+_0x14de9b[_0x4835e7(0x1ea)];}else _0x4bfad6[_0x4835e7(0x22d)](_0x14de9b[_0x4835e7(0x27d)],_0x14de9b);}),Array[_0x2cbbf9(0x3de)](_0x4bfad6[_0x2cbbf9(0x232)]());}var _0x29ab0c=Object[_0x25c8ac(0x3a8)],_0x15b492=(_0x16eb62,_0x35edbe,_0x4bfdb7,_0x23c58d)=>{const _0x2d88d8=_0x25c8ac;for(var _0x58517f=_0x23c58d>0x1?void 0x0:_0x23c58d?_0x29ab0c(_0x35edbe,_0x4bfdb7):_0x35edbe,_0x31ba92=_0x16eb62[_0x2d88d8(0x497)]-0x1,_0x2ba036;_0x31ba92>=0x0;_0x31ba92--)(_0x2ba036=_0x16eb62[_0x31ba92])&&(_0x58517f=_0x2ba036(_0x58517f)||_0x58517f);return _0x58517f;},_0x425b82=(_0x38ae6c,_0x160252)=>(_0x51ffc0,_0x134016)=>_0x160252(_0x51ffc0,_0x134016,_0x38ae6c);let _0x1e22db=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1ac8ac,_0x1d1d63,_0x202e91,_0x30edaa,_0x376001,_0x31f904){const _0x2b57cc=_0x25c8ac;super(),this[_0x2b57cc(0x48a)]=_0x1ac8ac,this[_0x2b57cc(0x267)]=_0x1d1d63,this['_collaborationUIEventService']=_0x202e91,this[_0x2b57cc(0x264)]=_0x30edaa,this[_0x2b57cc(0x31d)]=_0x376001,this[_0x2b57cc(0x372)]=_0x31f904,this[_0x2b57cc(0x2c3)](),this[_0x2b57cc(0x229)]();}[_0x25c8ac(0x2c3)](){const _0x2ed39f=_0x25c8ac;this[_0x2ed39f(0x1f5)](this[_0x2ed39f(0x48a)][_0x2ed39f(0x368)](()=>{const _0x49413d=_0x2ed39f;if(this[_0x49413d(0x267)][_0x49413d(0x237)][_0x49413d(0x3ac)])return this[_0x49413d(0x372)]['t'](_0x49413d(0x21f));}));}['_initEvent'](){const _0x57b5ac=_0x25c8ac;this['disposeWithMe'](this[_0x57b5ac(0x43f)][_0x57b5ac(0x2c1)][_0x57b5ac(0x2b3)](_0x4bc46e=>{const _0xcf2a45=_0x57b5ac;_0x4bc46e['id']===_0x493e59['CollaborationUIEventId'][_0xcf2a45(0x3f0)]&&this['_messageService'][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x25b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x280)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db['MessageType'][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x292)]&&this['_notificationService'][_0xcf2a45(0x392)]({'title':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x4aa)),'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x239)),'type':_0xcf2a45(0x3df),'duration':0x0}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x1ec)]&&this[_0xcf2a45(0x264)]['show']({'type':_0x1039db['MessageType'][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')+'('+_0x4bc46e[_0xcf2a45(0x303)]+')'}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x46e)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0x4bc46e[_0xcf2a45(0x303)]||'')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x224)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x46b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x1039db['MessageType']['Error'],'content':this[_0xcf2a45(0x372)]['t']('session.connection-failed')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x31c)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x373))});}));}};_0x1e22db=_0x15b492([_0x425b82(0x0,_0x47d161['IBeforeCloseService']),_0x425b82(0x1,_0x493e59[_0x25c8ac(0x4cd)]),_0x425b82(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x3fa)])),_0x425b82(0x3,_0x47d161[_0x25c8ac(0x492)]),_0x425b82(0x4,_0x47d161[_0x25c8ac(0x3f5)]),_0x425b82(0x5,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x1e22db);var _0x4f6c6d=Object[_0x25c8ac(0x3a8)],_0x2f7efc=(_0x3d41a8,_0xc390b3,_0x97e7ab,_0x10d50d)=>{const _0x355344=_0x25c8ac;for(var _0x405f5a=_0x10d50d>0x1?void 0x0:_0x10d50d?_0x4f6c6d(_0xc390b3,_0x97e7ab):_0xc390b3,_0x3a3866=_0x3d41a8[_0x355344(0x497)]-0x1,_0x5172d6;_0x3a3866>=0x0;_0x3a3866--)(_0x5172d6=_0x3d41a8[_0x3a3866])&&(_0x405f5a=_0x5172d6(_0x405f5a)||_0x405f5a);return _0x405f5a;},_0x1c94f3=(_0x2b616c,_0xe8b611)=>(_0x20c8f2,_0x5d156b)=>_0xe8b611(_0x20c8f2,_0x5d156b,_0x2b616c);let _0x5971ed=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x4c106d,_0xcdfbef,_0x475d77,_0x283c7e){const _0x3d0aca=_0x25c8ac;super(),_0x3a54cf(this,'_memberID'),(this[_0x3d0aca(0x3e5)]=_0x4c106d,this['_httpService']=_0xcdfbef,this[_0x3d0aca(0x38d)]=_0x475d77,this[_0x3d0aca(0x205)]=_0x283c7e,this['_init']());}[_0x25c8ac(0x38f)](){const _0x101e45=_0x25c8ac;this['_initWindowErrorListener'](),this[_0x101e45(0x4d3)](),this[_0x101e45(0x21e)](),this['_initUserListener']();}[_0x25c8ac(0x472)](){const _0xa13380=_0x25c8ac;this['disposeWithMe'](this[_0xa13380(0x205)][_0xa13380(0x4be)][_0xa13380(0x2b3)](_0x9b739d=>{const _0x127833=_0xa13380;this[_0x127833(0x318)]=_0x9b739d==null?void 0x0:_0x9b739d[_0x127833(0x4b8)];}));}[_0x25c8ac(0x32c)](){const _0x764f1a=_0x25c8ac,_0x54c5ba=_0x5610ab=>{const _0x2eb333=_0xd869;var _0x453d1a;this['_uploadLog'](_0x2eb333(0x3df),_0x2eb333(0x416)+_0x5610ab['message']+'\x20at\x20'+_0x5610ab['filename']+':'+_0x5610ab[_0x2eb333(0x4d2)]+':'+_0x5610ab[_0x2eb333(0x2f3)]+'\x0a'+(((_0x453d1a=_0x5610ab[_0x2eb333(0x3df)])==null?void 0x0:_0x453d1a[_0x2eb333(0x493)])||''));};window[_0x764f1a(0x222)](_0x764f1a(0x3df),_0x54c5ba),this[_0x764f1a(0x1f5)](()=>{const _0x2907ce=_0x764f1a;window[_0x2907ce(0x464)]('error',_0x54c5ba);});}[_0x25c8ac(0x4d3)](){const _0x1af3b0=_0x25c8ac,_0x235439=_0x37288f=>{const _0x4cbf28=_0xd869;this[_0x4cbf28(0x257)]('error',_0x4cbf28(0x283)+_0x37288f[_0x4cbf28(0x2ec)]);};window[_0x1af3b0(0x222)](_0x1af3b0(0x28e),_0x235439),this[_0x1af3b0(0x1f5)](()=>{const _0x3d6b8c=_0x1af3b0;window[_0x3d6b8c(0x464)](_0x3d6b8c(0x28e),_0x235439);});}[_0x25c8ac(0x21e)](){const _0x284c87=_0x25c8ac,_0x87d50f=this[_0x284c87(0x38d)][_0x284c87(0x3df)][_0x284c87(0x20f)](this['_logService']);this[_0x284c87(0x38d)]['error']=(..._0x569935)=>{const _0x2b2d3d=_0x284c87,_0x58e01d=_0x569935['map'](_0x45a0e4=>_0x45a0e4 instanceof Error?_0x45a0e4[_0x2b2d3d(0x2f6)]+'\x0a'+_0x45a0e4['stack']:String(_0x45a0e4))[_0x2b2d3d(0x466)]('\x20');this['_uploadLog'](_0x2b2d3d(0x3df),'[LogService\x20Error]:\x20'+_0x58e01d),_0x87d50f(..._0x569935);},this[_0x284c87(0x1f5)](()=>{const _0x5a14d6=_0x284c87;this[_0x5a14d6(0x38d)][_0x5a14d6(0x3df)]=_0x87d50f;});}[_0x25c8ac(0x257)](_0x370db7,_0x5a73c5){const _0xba4ba=_0x25c8ac;try{const _0x4c43da={'userId':this[_0xba4ba(0x318)],'logLabel':_0x370db7,'content':_0x5a73c5};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x4c43da})[_0xba4ba(0x3a4)](()=>{});}catch{}}};_0x5971ed=_0x2f7efc([_0x1c94f3(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x1c94f3(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65[_0x25c8ac(0x436)])),_0x1c94f3(0x2,_0x51c091[_0x25c8ac(0x36e)]),_0x1c94f3(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f2)]))],_0x5971ed);const _0x50d024=_0x25c8ac(0x2a5),_0x3bc6e3={};var _0x393079=Object[_0x25c8ac(0x3a8)],_0x4f22c5=(_0x25beb7,_0x424d8f,_0xa4c970,_0x194e62)=>{const _0x1aeb36=_0x25c8ac;for(var _0x1515fb=_0x194e62>0x1?void 0x0:_0x194e62?_0x393079(_0x424d8f,_0xa4c970):_0x424d8f,_0x104bfe=_0x25beb7[_0x1aeb36(0x497)]-0x1,_0x551135;_0x104bfe>=0x0;_0x104bfe--)(_0x551135=_0x25beb7[_0x104bfe])&&(_0x1515fb=_0x551135(_0x1515fb)||_0x1515fb);return _0x1515fb;},_0x42042d=(_0x4ba6dc,_0x4acd0d)=>(_0x573318,_0x1bae24)=>_0x4acd0d(_0x573318,_0x1bae24,_0x4ba6dc);let _0x36d845=class{constructor(_0x296b0f,_0x52873d){const _0x1a41e8=_0x25c8ac;this[_0x1a41e8(0x414)]=_0x296b0f,this[_0x1a41e8(0x21c)]=_0x52873d;}[_0x25c8ac(0x29b)](_0x1af2ba){const _0x5b1295=_0x25c8ac;this[_0x5b1295(0x4ac)](_0x1af2ba),this[_0x5b1295(0x382)](_0x1af2ba);}['transformRemoteChangeset'](_0x1b3fff){const _0x1994fa=_0x25c8ac,{unitID:_0x36ae73}=_0x1b3fff,_0x40a0d9=this[_0x1994fa(0x21c)][_0x1994fa(0x25a)](_0x36ae73)['with'](_0x594fa4['DocIMEInputManagerService']),{redoCache:_0x2098eb}=_0x40a0d9['getUndoRedoMutationParamsCache']();if(_0x2098eb[_0x1994fa(0x497)]===0x0)return _0x1b3fff;let _0x2bdabf=_0x51c091[_0x1994fa(0x3ff)]['deepClone'](_0x1b3fff['mutations'][0x0]);for(let _0xc889c7=0x0;_0xc889c7<_0x2098eb['length'];_0xc889c7++){const _0xbe59={'id':'doc.mutation.rich-text-editing','params':{..._0x2098eb[_0xc889c7]}},_0x3360ee=this['_transformService'][_0x1994fa(0x2b2)](_0x2bdabf,_0xbe59,!0x1);if(_0x5b9cab[_0x1994fa(0x452)](_0x3360ee))throw _0x3360ee[_0x1994fa(0x3df)];_0x2bdabf=_0x3360ee['m1Prime'];}return{..._0x51c091[_0x1994fa(0x3ff)][_0x1994fa(0x259)](_0x1b3fff),'mutations':[_0x2bdabf]};}[_0x25c8ac(0x4ac)](_0x1f1546){const _0x11d044=_0x25c8ac,{unitID:_0x2ec474}=_0x1f1546,_0x2af329=this[_0x11d044(0x21c)]['getRenderById'](_0x2ec474)[_0x11d044(0x339)](_0x594fa4['DocIMEInputManagerService']),{undoCache:_0x4c182d,redoCache:_0x5ced31}=_0x2af329[_0x11d044(0x2cc)]();if(_0x4c182d[_0x11d044(0x497)]===0x0||_0x5ced31[_0x11d044(0x497)]===0x0)return;const _0x19b3a4=[],_0x4e8156=[];let _0x41fa1e=_0x51c091[_0x11d044(0x3ff)]['deepClone'](_0x1f1546['mutations'][0x0]),_0x5ea255=_0x51c091[_0x11d044(0x3ff)][_0x11d044(0x259)](_0x1f1546[_0x11d044(0x2dc)][0x0]);for(let _0x53d254=_0x4c182d[_0x11d044(0x497)]-0x1;_0x53d254>=0x0;_0x53d254--){const _0x1af8ad={'id':'doc.mutation.rich-text-editing','params':{..._0x4c182d[_0x53d254]}},_0x105dad={'id':'doc.mutation.rich-text-editing','params':{..._0x5ced31[_0x53d254]}},_0x25fab0=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x41fa1e,_0x1af8ad,!0x1),_0x5ece87=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x5ea255,_0x105dad,!0x1);if(_0x5b9cab[_0x11d044(0x452)](_0x25fab0))throw _0x25fab0['error'];if(_0x5b9cab[_0x11d044(0x452)](_0x5ece87))throw _0x5ece87[_0x11d044(0x3df)];_0x19b3a4[_0x11d044(0x4cf)](_0x25fab0[_0x11d044(0x389)][_0x11d044(0x411)]),_0x4e8156[_0x11d044(0x4cf)](_0x5ece87[_0x11d044(0x389)][_0x11d044(0x411)]),_0x41fa1e=_0x25fab0[_0x11d044(0x33c)],_0x5ea255=_0x5ece87[_0x11d044(0x33c)];}_0x2af329['setUndoRedoMutationParamsCache']({'undoCache':_0x19b3a4,'redoCache':_0x4e8156});}[_0x25c8ac(0x382)](_0x186536){const _0x40fea0=_0x25c8ac,{unitID:_0x5cbecc}=_0x186536,_0x66e5df=this[_0x40fea0(0x21c)][_0x40fea0(0x25a)](_0x5cbecc)['with'](_0x594fa4[_0x40fea0(0x2df)]),_0x3af6fe=_0x66e5df[_0x40fea0(0x381)]();if(_0x3af6fe==null)return;const _0x2159ae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x186536['unitID'],'actions':null,'textRanges':[_0x3af6fe]}}],_0x510151=this[_0x40fea0(0x414)][_0x40fea0(0x2bb)](_0x186536,_0x2159ae);if(!_0x5b9cab[_0x40fea0(0x314)](_0x510151))throw _0x510151['error'];const _0x526d21=_0x510151[_0x40fea0(0x389)][0x0]['params'][_0x40fea0(0x45a)];Array[_0x40fea0(0x1fa)](_0x526d21)&&_0x526d21[_0x40fea0(0x497)]&&_0x66e5df['setActiveRange'](_0x526d21[0x0]);}};_0x36d845=_0x4f22c5([_0x42042d(0x0,_0x5b9cab[_0x25c8ac(0x431)]),_0x42042d(0x1,_0x396fb6['IRenderManagerService'])],_0x36d845);var _0x5d8053=Object[_0x25c8ac(0x3a8)],_0x56f933=(_0x188e70,_0x42a546,_0x2a3b1f,_0x4a80b5)=>{for(var _0x25fd9d=_0x4a80b5>0x1?void 0x0:_0x4a80b5?_0x5d8053(_0x42a546,_0x2a3b1f):_0x42a546,_0x1efe8a=_0x188e70['length']-0x1,_0x59958a;_0x1efe8a>=0x0;_0x1efe8a--)(_0x59958a=_0x188e70[_0x1efe8a])&&(_0x25fd9d=_0x59958a(_0x25fd9d)||_0x25fd9d);return _0x25fd9d;},_0x5833a8=(_0x18f96f,_0x184249)=>(_0x11b367,_0x2ac88f)=>_0x184249(_0x11b367,_0x2ac88f,_0x18f96f);let _0x40750b=class{constructor(_0x3a865a,_0x37fcbc,_0x424c94){const _0x53f457=_0x25c8ac;this[_0x53f457(0x3e5)]=_0x3a865a,this[_0x53f457(0x414)]=_0x37fcbc,this[_0x53f457(0x20b)]=_0x424c94;}[_0x25c8ac(0x3b8)](_0xe3db17){const _0x1df755=_0x25c8ac;this[_0x1df755(0x254)](_0xe3db17);}[_0x25c8ac(0x364)](_0x3dd461){const _0x3b9195=_0x25c8ac,{unitID:_0x247cef}=_0x3dd461,{collaboration:_0x1836b1}=this[_0x3b9195(0x20b)][_0x3b9195(0x4d4)](_0x247cef);if(_0x1836b1[_0x3b9195(0x497)]===0x0)return _0x3dd461;let _0xacc4a4=_0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461[_0x3b9195(0x2dc)][0x0]);for(let _0x763975=0x0;_0x763975<_0x1836b1['length'];_0x763975++){const _0x837758={'id':_0x3b9195(0x21a),'params':{'unitId':_0x1836b1[_0x763975]['unitId'],..._0x1836b1[_0x763975][_0x3b9195(0x272)]}},_0x464696=this[_0x3b9195(0x414)][_0x3b9195(0x2b2)](_0xacc4a4,_0x837758,!0x1);if(_0x5b9cab[_0x3b9195(0x452)](_0x464696))throw _0x464696[_0x3b9195(0x3df)];_0xacc4a4=_0x464696[_0x3b9195(0x33c)];}return{..._0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461),'mutations':[_0xacc4a4]};}['_transformHistoryAndStateStack'](_0x2304a4){const _0x3c7267=_0x25c8ac,{unitID:_0x23b94d}=_0x2304a4,{history:_0x533608,collaboration:_0x55b871}=this[_0x3c7267(0x20b)][_0x3c7267(0x4d4)](_0x23b94d);if(_0x533608[_0x3c7267(0x497)]===0x0&&_0x55b871['length']===0x0)return;const _0x47bc20=[],_0x4d68fb=[];let _0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4['mutations'][0x0]),_0x39051e=_0x51c091['Tools']['deepClone'](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x40e6cf=_0x533608['length']-0x1;_0x40e6cf>=0x0;_0x40e6cf--){const _0x193b0d={'id':_0x3c7267(0x21a),'params':{'unitId':_0x533608[_0x40e6cf][_0x3c7267(0x268)],..._0x533608[_0x40e6cf][_0x3c7267(0x415)]}},_0x41bade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533608[_0x40e6cf]['unitId'],..._0x533608[_0x40e6cf]['redoState']}},_0x1764e5=this[_0x3c7267(0x414)]['transformMutation'](_0x16873c,_0x193b0d,!0x1),_0x1fee67=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x39051e,_0x41bade,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x1764e5))throw _0x1764e5[_0x3c7267(0x3df)];if(_0x5b9cab[_0x3c7267(0x452)](_0x1fee67))throw _0x1fee67[_0x3c7267(0x3df)];_0x47bc20[_0x3c7267(0x4cf)]({..._0x533608[_0x40e6cf],'undoState':_0x1764e5[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x1fee67[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x1764e5[_0x3c7267(0x33c)],_0x39051e=_0x1fee67[_0x3c7267(0x33c)];}_0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]),_0x39051e=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x3e7061=_0x55b871[_0x3c7267(0x497)]-0x1;_0x3e7061>=0x0;_0x3e7061--){const _0x302915={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061][_0x3c7267(0x268)],..._0x55b871[_0x3e7061][_0x3c7267(0x415)]}},_0x356470={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061]['unitId'],..._0x55b871[_0x3e7061][_0x3c7267(0x272)]}},_0x51f03c=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x16873c,_0x302915,!0x1),_0x19fb70=this['_transformService'][_0x3c7267(0x2b2)](_0x39051e,_0x356470,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x51f03c))throw _0x51f03c['error'];if(_0x5b9cab[_0x3c7267(0x452)](_0x19fb70))throw _0x19fb70[_0x3c7267(0x3df)];_0x4d68fb['unshift']({..._0x55b871[_0x3e7061],'undoState':_0x51f03c[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x19fb70[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x51f03c[_0x3c7267(0x33c)],_0x39051e=_0x19fb70['m1Prime'];}this['_docStateChangeManagerService'][_0x3c7267(0x3b1)](_0x23b94d,{'history':_0x47bc20,'collaboration':_0x4d68fb});}};_0x40750b=_0x56f933([_0x5833a8(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x5833a8(0x1,_0x5b9cab['ITransformService']),_0x5833a8(0x2,_0x51c091[_0x25c8ac(0x301)](_0x594fa4[_0x25c8ac(0x2d9)]))],_0x40750b);var _0x132645=Object[_0x25c8ac(0x3a8)],_0x4bbfef=(_0x2c60e8,_0x4e3d5c,_0x122742,_0x3372ea)=>{for(var _0x2457d0=_0x3372ea>0x1?void 0x0:_0x3372ea?_0x132645(_0x4e3d5c,_0x122742):_0x4e3d5c,_0x230e30=_0x2c60e8['length']-0x1,_0x113fc0;_0x230e30>=0x0;_0x230e30--)(_0x113fc0=_0x2c60e8[_0x230e30])&&(_0x2457d0=_0x113fc0(_0x2457d0)||_0x2457d0);return _0x2457d0;},_0x536d50=(_0xbf09c6,_0x419445)=>(_0x49e432,_0x519452)=>_0x419445(_0x49e432,_0x519452,_0xbf09c6);let _0x4139fa=class{constructor(_0x5ccb2b,_0x13ca82){const _0x73fddc=_0x25c8ac;this[_0x73fddc(0x3e5)]=_0x5ccb2b,this['_transformService']=_0x13ca82;}[_0x25c8ac(0x467)](_0x554ae8){const _0x3eed8f=_0x25c8ac;var _0x437b5f;const _0x11e68b=this[_0x3eed8f(0x3e5)][_0x3eed8f(0x4c4)](_0x37270e['DocSelectionManagerService']),_0x5a81dc=(_0x437b5f=_0x11e68b[_0x3eed8f(0x4d8)]())!=null?_0x437b5f:[];if(_0x5a81dc[_0x3eed8f(0x497)]===0x0)return;const _0x391912=_0x554ae8[_0x3eed8f(0x3e1)],_0x2950cd=[{'id':_0x3eed8f(0x21a),'params':{'unitId':_0x391912,'actions':null,'textRanges':_0x5a81dc}}],_0xca6d5f=this[_0x3eed8f(0x414)][_0x3eed8f(0x2bb)](_0x554ae8,_0x2950cd);if(!_0x5b9cab[_0x3eed8f(0x314)](_0xca6d5f))throw _0xca6d5f[_0x3eed8f(0x3df)];const _0x214e9a=_0xca6d5f['m2Prime'][0x0][_0x3eed8f(0x411)][_0x3eed8f(0x45a)];Array[_0x3eed8f(0x1fa)](_0x214e9a)&&_0x214e9a[_0x3eed8f(0x497)]&&_0x11e68b[_0x3eed8f(0x2f7)](_0x214e9a,{'unitId':_0x391912,'subUnitId':_0x391912},!0x1);}};_0x4139fa=_0x4bbfef([_0x536d50(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x536d50(0x1,_0x5b9cab[_0x25c8ac(0x431)])],_0x4139fa);var _0x239ce6=Object[_0x25c8ac(0x3a8)],_0x19aec7=(_0xcf162,_0x4b7fb1,_0x1a523d,_0x14a893)=>{for(var _0xd33dde=_0x14a893>0x1?void 0x0:_0x14a893?_0x239ce6(_0x4b7fb1,_0x1a523d):_0x4b7fb1,_0x599a3e=_0xcf162['length']-0x1,_0x3ce1fc;_0x599a3e>=0x0;_0x599a3e--)(_0x3ce1fc=_0xcf162[_0x599a3e])&&(_0xd33dde=_0x3ce1fc(_0xd33dde)||_0xd33dde);return _0xd33dde;},_0x333003=(_0x4a5f19,_0x175aa9)=>(_0x2c56a5,_0x3b6eb1)=>_0x175aa9(_0x2c56a5,_0x3b6eb1,_0x4a5f19);let _0x41b37a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1f0f14,_0x2e4f5e,_0xee5db6,_0x1576a3,_0x3c2229,_0x25d9a3,_0x503918,_0x3ef373){const _0x15f9d1=_0x25c8ac;super(),_0x3a54cf(this,_0x15f9d1(0x346),new _0x2d756d[(_0x15f9d1(0x243))](_0x493e59['CollaborationStatus'][_0x15f9d1(0x356)])),(this[_0x15f9d1(0x20b)]=_0x1f0f14,this[_0x15f9d1(0x480)]=_0x2e4f5e,this[_0x15f9d1(0x2cf)]=_0xee5db6,this[_0x15f9d1(0x32e)]=_0x1576a3,this['_docTransformSelectionsService']=_0x3c2229,this['_docSyncEditingCollabCursorService']=_0x25d9a3,this[_0x15f9d1(0x264)]=_0x503918,this[_0x15f9d1(0x372)]=_0x3ef373,this[_0x15f9d1(0x46d)]());}[_0x25c8ac(0x46d)](){const _0x56f26d=_0x25c8ac;this['disposeWithMe'](this['_collaborationController'][_0x56f26d(0x4b3)][_0x56f26d(0x2b3)](_0x2724db=>{const _0x53ec8c=_0x56f26d,_0xb2d254=this['_docStateChangeManagerService'][_0x53ec8c(0x2dd)]['subscribe'](_0x4e81e3=>{const _0x3dedca=_0x53ec8c;if(_0x4e81e3==null)return;const {unitId:_0x1f084f,redoState:_0x385ba0,commandId:_0x33a782}=_0x4e81e3;if(_0x1f084f!==_0x2724db[_0x3dedca(0x3e1)])return;const _0x44a2e7={'id':_0x33a782,'type':_0x51c091[_0x3dedca(0x3fe)]['MUTATION'],'params':{'unitId':_0x1f084f,'actions':_0x385ba0[_0x3dedca(0x265)],'textRanges':null}};_0x2724db['onLocalMutation'](_0x44a2e7);});if(_0x2724db[_0x53ec8c(0x1f5)](_0xb2d254),_0x2724db instanceof _0x493e59[_0x53ec8c(0x3ad)]){const _0x3652e1={'onTransformIME':_0x442c35=>this[_0x53ec8c(0x2cf)][_0x53ec8c(0x29b)](_0x442c35),'onTransformState':_0x37a17b=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x3b8)](_0x37a17b),'onTransformSelections':_0x441060=>this[_0x53ec8c(0x384)]['transformSelections'](_0x441060),'onSyncEditingCollabCursor':_0x1282b5=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1282b5),'onTransformRemoteChangesetByIMECache':_0x22c662=>this[_0x53ec8c(0x2cf)]['transformRemoteChangeset'](_0x22c662),'onTransformRemoteChangesetByStateCache':_0x8e56a7=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x364)](_0x8e56a7)};_0x2724db['addHandlerCallback'](_0x3652e1);}}));}};_0x41b37a=_0x19aec7([_0x333003(0x0,_0x51c091['Inject'](_0x594fa4[_0x25c8ac(0x2d9)])),_0x333003(0x1,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x1f8)])),_0x333003(0x2,_0x51c091[_0x25c8ac(0x301)](_0x36d845)),_0x333003(0x3,_0x51c091[_0x25c8ac(0x301)](_0x40750b)),_0x333003(0x4,_0x51c091[_0x25c8ac(0x301)](_0x4139fa)),_0x333003(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x333003(0x6,_0x47d161[_0x25c8ac(0x492)]),_0x333003(0x7,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x41b37a);var _0x19b5af=(_0x437107=>(_0x437107[_0x437107[_0x25c8ac(0x3a2)]=0x0]=_0x25c8ac(0x3a2),_0x437107[_0x437107['OK']=0x1]='OK',_0x437107[_0x437107[_0x25c8ac(0x305)]=0x2]=_0x25c8ac(0x305),_0x437107[_0x437107['PERMISSION_DENIED']=0x3]=_0x25c8ac(0x292),_0x437107[_0x437107[_0x25c8ac(0x490)]=0x4]='NOT_FOUND',_0x437107[_0x437107['UNAUTHENTICATED']=0x5]=_0x25c8ac(0x427),_0x437107[_0x437107[_0x25c8ac(0x3c0)]=0x6]='ALREADY_EXISTS',_0x437107[_0x437107['INVALID_ARGUMENT']=0x7]=_0x25c8ac(0x350),_0x437107[_0x437107[_0x25c8ac(0x32f)]=0x8]=_0x25c8ac(0x32f),_0x437107[_0x437107['COMPLETION_FINISHED']=0x9]=_0x25c8ac(0x3f1),_0x437107[_0x437107[_0x25c8ac(0x3e6)]=0xa]=_0x25c8ac(0x3e6),_0x437107[_0x437107[_0x25c8ac(0x35e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x4ae)]=0xc]=_0x25c8ac(0x4ae),_0x437107[_0x437107[_0x25c8ac(0x4ca)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x40c)]=0xe]=_0x25c8ac(0x40c),_0x437107[_0x437107['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x25c8ac(0x367),_0x437107[_0x437107['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x25c8ac(0x40f),_0x437107[_0x437107[_0x25c8ac(0x2a3)]=0x64]=_0x25c8ac(0x2a3),_0x437107[_0x437107[_0x25c8ac(0x4a8)]=0x65]=_0x25c8ac(0x4a8),_0x437107[_0x437107[_0x25c8ac(0x4b7)]=0xc9]=_0x25c8ac(0x4b7),_0x437107[_0x437107['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x437107[_0x437107['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x25c8ac(0x3fb),_0x437107[_0x437107['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x25c8ac(0x3ea),_0x437107[_0x437107[_0x25c8ac(0x20d)]=0x1772]=_0x25c8ac(0x20d),_0x437107[_0x437107['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25c8ac(0x37d),_0x437107[_0x437107[_0x25c8ac(0x256)]=0x1b59]='APPLY_REJECT',_0x437107[_0x437107[_0x25c8ac(0x36a)]=0x1b5a]=_0x25c8ac(0x36a),_0x437107[_0x437107[_0x25c8ac(0x251)]=0x1b5b]=_0x25c8ac(0x251),_0x437107[_0x437107['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x25c8ac(0x246),_0x437107[_0x437107[_0x25c8ac(0x3b0)]=0x1b5d]=_0x25c8ac(0x3b0),_0x437107[_0x437107[_0x25c8ac(0x369)]=0x1f41]=_0x25c8ac(0x369),_0x437107[_0x437107[_0x25c8ac(0x23b)]=0x2329]=_0x25c8ac(0x23b),_0x437107[_0x437107[_0x25c8ac(0x317)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x437107[_0x437107[_0x25c8ac(0x2ab)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x437107[_0x437107['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x25c8ac(0x397),_0x437107[_0x437107[_0x25c8ac(0x1f9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x437107[_0x437107[_0x25c8ac(0x27b)]=0x2711]=_0x25c8ac(0x27b),_0x437107[_0x437107['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x25c8ac(0x48c),_0x437107[_0x437107[_0x25c8ac(0x2e1)]=0x2713]=_0x25c8ac(0x2e1),_0x437107[_0x437107[_0x25c8ac(0x399)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x437107[_0x437107[_0x25c8ac(0x24c)]=0x271a]=_0x25c8ac(0x24c),_0x437107[_0x437107[_0x25c8ac(0x35f)]=0x271b]=_0x25c8ac(0x35f),_0x437107[_0x437107[_0x25c8ac(0x442)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x437107[_0x437107['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x437107[_0x437107['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x25c8ac(0x470),_0x437107[_0x437107[_0x25c8ac(0x49e)]=0x271f]=_0x25c8ac(0x49e),_0x437107[_0x437107[_0x25c8ac(0x4d7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x437107[_0x437107['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25c8ac(0x462),_0x437107[_0x437107['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x25c8ac(0x4d6),_0x437107[_0x437107[_0x25c8ac(0x29d)]=0x2ee2]='INVALID_INVITE_CODE',_0x437107[_0x437107[_0x25c8ac(0x32a)]=0x2ee3]=_0x25c8ac(0x32a),_0x437107[_0x437107[_0x25c8ac(0x42d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x437107[_0x437107[_0x25c8ac(0x1ff)]=0x2ee5]=_0x25c8ac(0x1ff),_0x437107[_0x437107[_0x25c8ac(0x40a)]=0x32c9]=_0x25c8ac(0x40a),_0x437107[_0x437107[_0x25c8ac(0x4a6)]=0x32ca]=_0x25c8ac(0x4a6),_0x437107[_0x437107[_0x25c8ac(0x3ca)]=0x32cb]=_0x25c8ac(0x3ca),_0x437107[_0x437107[_0x25c8ac(0x3ed)]=0x36b1]=_0x25c8ac(0x3ed),_0x437107[_0x437107[_0x25c8ac(0x3cf)]=0x36b2]=_0x25c8ac(0x3cf),_0x437107[_0x437107[_0x25c8ac(0x3b2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x437107[_0x437107['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x25c8ac(0x418),_0x437107[_0x437107[_0x25c8ac(0x340)]=0x3715]=_0x25c8ac(0x340),_0x437107[_0x437107['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x25c8ac(0x3a3),_0x437107[_0x437107[_0x25c8ac(0x4a0)]=0x3717]=_0x25c8ac(0x4a0),_0x437107[_0x437107[_0x25c8ac(0x202)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x437107[_0x437107[_0x25c8ac(0x25c)]=0x3a99]=_0x25c8ac(0x25c),_0x437107[_0x437107['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x25c8ac(0x204),_0x437107[_0x437107[_0x25c8ac(0x308)]=0x3a9b]=_0x25c8ac(0x308),_0x437107[_0x437107['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x437107[_0x437107['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x437107[_0x437107[_0x25c8ac(0x29a)]=0x3a9e]=_0x25c8ac(0x29a),_0x437107[_0x437107[_0x25c8ac(0x400)]=0x3a9f]=_0x25c8ac(0x400),_0x437107[_0x437107[_0x25c8ac(0x4c8)]=0x3e81]=_0x25c8ac(0x4c8),_0x437107[_0x437107[_0x25c8ac(0x2ed)]=-0x1]=_0x25c8ac(0x2ed),_0x437107))(_0x19b5af||{});function _0x20f5e7(_0x5ea61a){const _0x50fce6=_0x25c8ac;var _0xe1ea17,_0x3903aa;const _0x50f9e6=(_0xe1ea17=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0xe1ea17[_0x50fce6(0x333)],_0x423f2e=((_0x3903aa=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0x3903aa[_0x50fce6(0x405)])||0x0;return _0x50f9e6===_0xfcd088['FormulaExecuteStageType'][_0x50fce6(0x2a4)]&&_0x423f2e>0x0;}function _0x5853fe(_0x2c11c2){const _0x29052a=_0x25c8ac;return _0x2c11c2[_0x29052a(0x220)]===_0xfcd088[_0x29052a(0x35a)][_0x29052a(0x2e3)];}var _0x2e164c=Object[_0x25c8ac(0x3a8)],_0x2505ae=(_0x2d1453,_0x693628,_0x317480,_0x1dd285)=>{const _0x331741=_0x25c8ac;for(var _0x4812f6=_0x1dd285>0x1?void 0x0:_0x1dd285?_0x2e164c(_0x693628,_0x317480):_0x693628,_0x2695b3=_0x2d1453[_0x331741(0x497)]-0x1,_0x321ece;_0x2695b3>=0x0;_0x2695b3--)(_0x321ece=_0x2d1453[_0x2695b3])&&(_0x4812f6=_0x321ece(_0x4812f6)||_0x4812f6);return _0x4812f6;},_0x5bf078=(_0x7b0880,_0x3efe25)=>(_0x259039,_0x13c524)=>_0x3efe25(_0x259039,_0x13c524,_0x7b0880);const _0x221cbd=_0x25c8ac(0x477),_0x39d1f3=_0x25c8ac(0x34e),_0x52567f=_0x25c8ac(0x3ef);let _0x253e7a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x10b10c,_0xaa566d,_0x220d1c,_0x473df5,_0x1b6d6e,_0x1e521d,_0x124e9e){const _0x3e12be=_0x25c8ac;super(),_0x3a54cf(this,'_pollingInterval',null),_0x3a54cf(this,_0x3e12be(0x295),0x0),_0x3a54cf(this,_0x3e12be(0x2c5),0x0),_0x3a54cf(this,'_taskIds',[]),_0x3a54cf(this,_0x3e12be(0x25f),0x0),(this[_0x3e12be(0x264)]=_0x10b10c,this[_0x3e12be(0x2d6)]=_0xaa566d,this[_0x3e12be(0x302)]=_0x220d1c,this[_0x3e12be(0x44d)]=_0x473df5,this[_0x3e12be(0x23a)]=_0x1b6d6e,this['_logService']=_0x1e521d,this[_0x3e12be(0x372)]=_0x124e9e,this[_0x3e12be(0x1f6)]());}[_0x25c8ac(0x1f6)](){const _0x5f1c5c=_0x25c8ac;this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x40d)]((_0x4095d5,_0x27fca6)=>{const _0x5b8846=_0x5f1c5c;var _0x4403df;if(_0x4095d5['id']!==_0xfcd088[_0x5b8846(0x395)]['id'])return;const _0x1bc522=_0x4095d5[_0x5b8846(0x411)];if(!this[_0x5b8846(0x329)]((_0x4403df=_0x1bc522[_0x5b8846(0x2e0)])!=null?_0x4403df:[]))return;if(!this[_0x5b8846(0x21d)]())throw this[_0x5b8846(0x38e)](_0x4095d5,_0x27fca6),this['_showGuardMessage'](),new _0x51c091[(_0x5b8846(0x474))]();})),this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x485)]((_0x5188e4,_0x169ace)=>{const _0x4415ad=_0x5f1c5c;if(_0x5188e4['id']!==_0xfcd088[_0x4415ad(0x27f)]['id'])return;const _0x44b7b8=_0x5188e4[_0x4415ad(0x411)];if(_0x20f5e7(_0x44b7b8)){const _0x526857=_0x51c091[_0x4415ad(0x2a9)]();this[_0x4415ad(0x426)][_0x4415ad(0x2ac)](_0x526857),this[_0x4415ad(0x48e)](_0x526857);}else{if(_0x5853fe(_0x44b7b8)&&this[_0x4415ad(0x426)][_0x4415ad(0x497)]>0x0){const _0x13a908=this[_0x4415ad(0x426)][_0x4415ad(0x374)]();this[_0x4415ad(0x262)](_0x13a908);}}}));}[_0x25c8ac(0x325)](){const _0x44197e=_0x25c8ac;super[_0x44197e(0x325)](),this['_clearPolling'](),this[_0x44197e(0x426)]=[],this[_0x44197e(0x2c5)]=0x0,this[_0x44197e(0x295)]=0x0,this[_0x44197e(0x25f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x24cc9a,_0x1d087b){const _0x2c40a7=_0x25c8ac;for(let _0x116ed5=0x0;_0x116ed5<0x1e;_0x116ed5++)try{if(await this[_0x2c40a7(0x3c8)](),this[_0x2c40a7(0x21d)]()){this['_applyCommand'](_0x24cc9a,_0x1d087b),this[_0x2c40a7(0x264)]['show']({'content':this[_0x2c40a7(0x372)]['t'](_0x2c40a7(0x4a3)),'type':_0x1039db[_0x2c40a7(0x26f)]['Success']});return;}await new Promise(_0x5dcac3=>{const _0x2cb946=_0x2c40a7;this[_0x2cb946(0x4a4)]=window[_0x2cb946(0x48b)](_0x5dcac3,0x3e8);});}catch(_0x2f330b){this[_0x2c40a7(0x38d)][_0x2c40a7(0x3df)](_0x2f330b);}this['_messageService'][_0x2c40a7(0x392)]({'content':this['_localeService']['t'](_0x2c40a7(0x242)),'type':_0x1039db[_0x2c40a7(0x26f)]['Error']});}[_0x25c8ac(0x465)](_0x3ea1c9,_0x1b0bc7){const _0xacc448=_0x25c8ac;try{this[_0xacc448(0x2d6)][_0xacc448(0x3db)](_0x3ea1c9['id'],_0x3ea1c9['params'],_0x1b0bc7);}catch(_0x5a25b0){this['_logService'][_0xacc448(0x3df)](_0x5a25b0);}}[_0x25c8ac(0x3bd)](_0x149503,_0x5a33d6){const _0x19d19d=_0x25c8ac;_0x5a33d6<this[_0x19d19d(0x25f)]||(this[_0x19d19d(0x25f)]=_0x5a33d6,this[_0x19d19d(0x295)]=Number['parseInt'](_0x149503[_0x19d19d(0x439)]),this[_0x19d19d(0x2c5)]=Number[_0x19d19d(0x454)](_0x149503[_0x19d19d(0x2c4)]));}async[_0x25c8ac(0x48e)](_0x3f0435){const _0x2746dd=_0x25c8ac;var _0x1ef856,_0x7bc123;const _0x472f00=Date['now']();try{const _0xacb859=((_0x1ef856=this[_0x2746dd(0x302)][_0x2746dd(0x4d1)](_0x493e59[_0x2746dd(0x417)]))==null?void 0x0:_0x1ef856[_0x2746dd(0x47a)])||_0x39d1f3,_0x44646c=(await this[_0x2746dd(0x44d)][_0x2746dd(0x2f1)](_0xacb859,{'body':JSON[_0x2746dd(0x3ae)]({'taskId':_0x3f0435})}))[_0x2746dd(0x270)];if(((_0x7bc123=_0x44646c[_0x2746dd(0x3df)])==null?void 0x0:_0x7bc123[_0x2746dd(0x468)])!==_0x19b5af['OK'])return;this[_0x2746dd(0x3bd)](_0x44646c[_0x2746dd(0x39a)],_0x472f00);}catch(_0x952533){this[_0x2746dd(0x38d)]['error'](_0x952533);}}async[_0x25c8ac(0x3c8)](_0x338ad7){const _0x23e4fd=_0x25c8ac;var _0x38da63,_0x5e5afb;const _0x30795b=Date['now']();try{const _0x2948c1=((_0x38da63=this[_0x23e4fd(0x302)][_0x23e4fd(0x4d1)](_0x493e59[_0x23e4fd(0x417)]))==null?void 0x0:_0x38da63[_0x23e4fd(0x28d)])||_0x221cbd,_0x568406=_0x338ad7?_0x2948c1+_0x23e4fd(0x2b8)+encodeURIComponent(_0x338ad7):_0x2948c1,_0x289d4b=(await this[_0x23e4fd(0x44d)]['get'](_0x568406))[_0x23e4fd(0x270)];if(((_0x5e5afb=_0x289d4b[_0x23e4fd(0x3df)])==null?void 0x0:_0x5e5afb[_0x23e4fd(0x468)])!==_0x19b5af['OK'])return;this[_0x23e4fd(0x3bd)](_0x289d4b['limitInfo'],_0x30795b);}catch(_0x131396){this[_0x23e4fd(0x38d)][_0x23e4fd(0x3df)](_0x131396);}}async[_0x25c8ac(0x262)](_0x4ef488){const _0x7d27a2=_0x25c8ac;var _0x204168,_0x419108;const _0x41fce0=Date[_0x7d27a2(0x331)]();try{const _0x25d2fd=((_0x204168=this[_0x7d27a2(0x302)][_0x7d27a2(0x4d1)](_0x493e59[_0x7d27a2(0x417)]))==null?void 0x0:_0x204168[_0x7d27a2(0x215)])||_0x52567f,_0x4b9800=(await this[_0x7d27a2(0x44d)][_0x7d27a2(0x2f1)](_0x25d2fd,{'body':JSON[_0x7d27a2(0x3ae)]({'taskId':_0x4ef488})}))[_0x7d27a2(0x270)];if(((_0x419108=_0x4b9800[_0x7d27a2(0x3df)])==null?void 0x0:_0x419108[_0x7d27a2(0x468)])!==_0x19b5af['OK'])return;this[_0x7d27a2(0x3bd)](_0x4b9800[_0x7d27a2(0x39a)],_0x41fce0);}catch(_0x493723){this[_0x7d27a2(0x38d)]['error'](_0x493723);}}[_0x25c8ac(0x21d)](){const _0x25d6be=_0x25c8ac;return this[_0x25d6be(0x295)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x25d6be(0x2c5)]>0x0;}[_0x25c8ac(0x28f)](){const _0x54af2f=_0x25c8ac;this['_pollingInterval']&&(clearTimeout(this[_0x54af2f(0x4a4)]),this['_pollingInterval']=null);}[_0x25c8ac(0x33d)](){const _0xfe105=_0x25c8ac;this[_0xfe105(0x264)][_0xfe105(0x392)]({'content':this['_localeService']['t'](_0xfe105(0x306)),'type':_0x1039db['MessageType'][_0xfe105(0x248)]});}[_0x25c8ac(0x329)](_0x24cef9){const _0x264299=_0x25c8ac;for(const _0x240572 of _0x24cef9){const {unitId:_0x2ed058,sheetId:_0x69162e,range:_0x43fde9}=_0x240572,_0x589218=this['_univerInstanceService'][_0x264299(0x22a)](_0x2ed058);if(!_0x589218)continue;const _0x542054=_0x589218[_0x264299(0x491)](_0x69162e);if(!_0x542054)continue;const _0x46b4ad=_0x542054[_0x264299(0x433)]();for(let _0xe1ca54=_0x43fde9['startRow'];_0xe1ca54<=_0x43fde9[_0x264299(0x3cd)];_0xe1ca54++)for(let _0x126385=_0x43fde9[_0x264299(0x3aa)];_0x126385<=_0x43fde9['endColumn'];_0x126385++){const _0x3f89a1=_0x46b4ad[_0x264299(0x38b)](_0xe1ca54,_0x126385);if(_0x3f89a1&&(_0x51c091['isFormulaString'](_0x3f89a1['f'])||_0x51c091['isFormulaId'](_0x3f89a1['si'])))return!0x0;}}return!0x1;}};_0x253e7a=_0x2505ae([_0x5bf078(0x0,_0x51c091[_0x25c8ac(0x301)](_0x47d161[_0x25c8ac(0x492)])),_0x5bf078(0x1,_0x51c091[_0x25c8ac(0x483)]),_0x5bf078(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x5bf078(0x3,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x5bf078(0x4,_0x51c091['IUniverInstanceService']),_0x5bf078(0x5,_0x51c091[_0x25c8ac(0x36e)]),_0x5bf078(0x6,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x27c)]))],_0x253e7a);var _0x54bf3b=Object[_0x25c8ac(0x3a8)],_0x22a5be=(_0x43ba1e,_0x3af3ea,_0x5da429,_0x452d57)=>{const _0x2912fd=_0x25c8ac;for(var _0x5413d0=_0x452d57>0x1?void 0x0:_0x452d57?_0x54bf3b(_0x3af3ea,_0x5da429):_0x3af3ea,_0x13d113=_0x43ba1e[_0x2912fd(0x497)]-0x1,_0x239b9e;_0x13d113>=0x0;_0x13d113--)(_0x239b9e=_0x43ba1e[_0x13d113])&&(_0x5413d0=_0x239b9e(_0x5413d0)||_0x5413d0);return _0x5413d0;},_0x4b2404=(_0x4188a7,_0x4314f1)=>(_0x4a304d,_0x5509bd)=>_0x4314f1(_0x4a304d,_0x5509bd,_0x4188a7);let _0x390357=class extends _0x51c091['Disposable']{constructor(_0x550158,_0x8e8545,_0x308edc){const _0x152430=_0x25c8ac;super(),_0x3a54cf(this,_0x152430(0x312),new Map()),_0x3a54cf(this,_0x152430(0x41d),new Map()),_0x3a54cf(this,_0x152430(0x21b),!0x1),(this[_0x152430(0x302)]=_0x550158,this[_0x152430(0x352)]=_0x8e8545,this[_0x152430(0x47c)]=_0x308edc);}[_0x25c8ac(0x285)](){const _0x506bfa=_0x25c8ac;this[_0x506bfa(0x21b)]=!0x0;}[_0x25c8ac(0x2b0)](){const _0x5820f9=_0x25c8ac;this[_0x5820f9(0x21b)]=!0x1;}get['saveTaskMap'](){const _0x4b221f=_0x25c8ac;return this[_0x4b221f(0x41d)];}[_0x25c8ac(0x325)](){const _0x4fceee=_0x25c8ac;this[_0x4fceee(0x2a6)]()[_0x4fceee(0x361)](()=>super[_0x4fceee(0x325)]());}async['loadOfflineData'](_0x30f0e5){const _0x1d865e=_0x25c8ac;return this[_0x1d865e(0x21b)]?null:this[_0x1d865e(0x352)]['getItem'](_0x493e59[_0x1d865e(0x453)](_0x30f0e5));}async[_0x25c8ac(0x1f3)](_0x3bb16e,_0x452fab){const _0xb3d123=_0x25c8ac;return!!this[_0xb3d123(0x352)]['setItem'](_0x3bb16e,_0x452fab);}[_0x25c8ac(0x1f1)](_0x197c01,_0x288fa9,_0x4c1e23,_0x326000){const _0x18965b=_0x25c8ac,_0x1c1663=this[_0x18965b(0x47c)][_0x18965b(0x2e4)](_0x197c01);this[_0x18965b(0x312)][_0x18965b(0x22d)](_0x197c01,{'unitID':_0x197c01,'type':_0x288fa9,'awaitingChangeset':_0x4c1e23,'mutations':_0x326000,'rev':_0x1c1663}),this['_saveTaskMap'][_0x18965b(0x297)](_0x197c01)||this[_0x18965b(0x47e)](_0x197c01);}[_0x25c8ac(0x47e)](_0x33138b){const _0x3a6bd2=_0x25c8ac,_0x4499df=this['_getSaveTimeout']();_0x4499df===0x0?this[_0x3a6bd2(0x315)](_0x33138b):this[_0x3a6bd2(0x41d)]['set'](_0x33138b,setTimeout(()=>this[_0x3a6bd2(0x315)](_0x33138b),_0x4499df));}['_getSaveTimeout'](){const _0x2996f0=_0x25c8ac;var _0x119c0a;return(_0x119c0a=this[_0x2996f0(0x302)]['getConfig'](_0x493e59[_0x2996f0(0x31b)]))!=null?_0x119c0a:_0x493e59[_0x2996f0(0x2b6)];}[_0x25c8ac(0x315)](_0x14496b){const _0xffd7b0=_0x25c8ac,_0x580ae8=this[_0xffd7b0(0x41d)][_0xffd7b0(0x4c4)](_0x14496b);return _0x580ae8!==void 0x0&&window[_0xffd7b0(0x25d)](_0x580ae8),this['_localStorageService'][_0xffd7b0(0x255)](_0x493e59[_0xffd7b0(0x453)](_0x14496b),this[_0xffd7b0(0x312)][_0xffd7b0(0x4c4)](_0x14496b))[_0xffd7b0(0x361)](()=>this[_0xffd7b0(0x41d)][_0xffd7b0(0x2d0)](_0x14496b));}async['exhaustSavingTask'](){const _0x1f55fe=_0x25c8ac,_0x5c6949=[];this['_saveTaskMap'][_0x1f55fe(0x345)]((_0x49d312,_0x1b1dd5)=>{const _0x235a5d=_0x1f55fe;window[_0x235a5d(0x25d)](_0x49d312),_0x5c6949[_0x235a5d(0x2ac)](this[_0x235a5d(0x315)](_0x1b1dd5)[_0x235a5d(0x361)](()=>{const _0x418f53=_0x235a5d;this[_0x418f53(0x41d)]['delete'](_0x1b1dd5);}));}),await Promise[_0x1f55fe(0x4d0)](_0x5c6949);}};_0x390357=_0x22a5be([_0x4b2404(0x0,_0x51c091[_0x25c8ac(0x24a)]),_0x4b2404(0x1,_0x51c091[_0x25c8ac(0x460)]),_0x4b2404(0x2,_0x51c091[_0x25c8ac(0x301)](_0x5b9cab[_0x25c8ac(0x432)]))],_0x390357);class _0x31456c extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x361961=_0x25c8ac;super(),_0x3a54cf(this,_0x361961(0x3e4)),this[_0x361961(0x3e4)]=_0x2d756d[_0x361961(0x425)](window,_0x361961(0x1f0))['pipe'](_0x2d756d[_0x361961(0x210)](this[_0x361961(0x37a)]),_0x2d756d[_0x361961(0x3da)](0x1),_0x2d756d[_0x361961(0x227)](void 0x0));}['setParam'](_0xf02304,_0x23b344,_0x1532b4=!0x1){const _0xd92278=_0x25c8ac,_0x27c4e8=new URL(window['location']['href']);_0x27c4e8[_0xd92278(0x3a9)][_0xd92278(0x22d)](_0xf02304,_0x23b344),_0x1532b4?window[_0xd92278(0x3a5)][_0xd92278(0x456)]('','',_0x27c4e8['toString']()):window['history'][_0xd92278(0x225)]('','',_0x27c4e8[_0xd92278(0x2e9)]());}[_0x25c8ac(0x3f6)](_0x555a99,_0x440ec5=!0x1){const _0x160d93=_0x25c8ac,_0x3f715b=new URL(window[_0x160d93(0x36b)]['href']);_0x3f715b[_0x160d93(0x3a9)][_0x160d93(0x2d0)](_0x555a99),_0x440ec5?window[_0x160d93(0x3a5)][_0x160d93(0x456)]('','',_0x3f715b['toString']()):window['history'][_0x160d93(0x225)]('','',_0x3f715b[_0x160d93(0x2e9)]());}[_0x25c8ac(0x2c6)](_0x5fa5ee){const _0x14b440=_0x25c8ac;var _0xffcd48;return(_0xffcd48=new URL(window[_0x14b440(0x36b)][_0x14b440(0x323)])['searchParams'][_0x14b440(0x4c4)](_0x5fa5ee))!=null?_0xffcd48:void 0x0;}}var _0x5b5def=Object[_0x25c8ac(0x43e)],_0x145180=Object[_0x25c8ac(0x3a8)],_0x1e4cb3=(_0x180c94,_0x1bb547,_0x41255f)=>_0x1bb547 in _0x180c94?_0x5b5def(_0x180c94,_0x1bb547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41255f}):_0x180c94[_0x1bb547]=_0x41255f,_0x1631eb=(_0x54b48f,_0x4a1585,_0x3e95bf,_0x285c4f)=>{const _0x5604c6=_0x25c8ac;for(var _0x5b2597=_0x285c4f>0x1?void 0x0:_0x285c4f?_0x145180(_0x4a1585,_0x3e95bf):_0x4a1585,_0x2f07ad=_0x54b48f[_0x5604c6(0x497)]-0x1,_0x470938;_0x2f07ad>=0x0;_0x2f07ad--)(_0x470938=_0x54b48f[_0x2f07ad])&&(_0x5b2597=_0x470938(_0x5b2597)||_0x5b2597);return _0x5b2597;},_0x2ea720=(_0x3197d0,_0x9de994)=>(_0x25ccbe,_0x1924d7)=>_0x9de994(_0x25ccbe,_0x1924d7,_0x3197d0),_0x260ff7=(_0x366398,_0x37a31d,_0x1f4057)=>_0x1e4cb3(_0x366398,_0x37a31d+'',_0x1f4057);const _0x4f241b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e1990['UniverCollaborationClientUIPlugin']=class extends _0x51c091[_0x25c8ac(0x408)]{constructor(_0x5518c6=_0x3bc6e3,_0x594283,_0x3ea43e,_0x2ee299){const _0x95270a=_0x25c8ac;super(),this['_config']=_0x5518c6,this[_0x95270a(0x21c)]=_0x594283,this[_0x95270a(0x3e5)]=_0x3ea43e,this[_0x95270a(0x302)]=_0x2ee299;const {..._0x41316f}=_0x51c091[_0x95270a(0x296)]({},_0x3bc6e3,this['_config']);this[_0x95270a(0x302)][_0x95270a(0x380)](_0x50d024,_0x41316f);}['onStarting'](){const _0xbfdf6f=_0x25c8ac;this[_0xbfdf6f(0x1eb)](),this[_0xbfdf6f(0x240)]();}[_0x25c8ac(0x463)](){this['_registerRenderDependencies']();}[_0x25c8ac(0x1eb)](){const _0x45e25a=_0x25c8ac;var _0x335e7d;const _0x40d3a7=[[_0x3dd070],[_0x253e7a],[_0x4139fa],[_0x36d845],[_0x40750b],[_0x43bd11],[_0x2e14a9,{'useClass':_0x31456c}],[_0x38be65[_0x45e25a(0x4a7)],{'useClass':_0x38be65['WebSocketService']}],[_0x493e59[_0x45e25a(0x4cd)],{'useClass':_0x390357}],[_0x3e1990['DesktopCollaborationStatusDisplayController']],[_0x41b37a],[_0x1e22db],[_0x43fe6e],[_0xee1fb5],[_0x3e1990[_0x45e25a(0x36f)]]];this[_0x45e25a(0x448)][_0x45e25a(0x349)]&&_0x40d3a7['push']([_0x5971ed]),_0x51c091['registerDependencies'](this[_0x45e25a(0x3e5)],_0x51c091['mergeOverrideWithDependencies'](_0x40d3a7,(_0x335e7d=this['_config'])==null?void 0x0:_0x335e7d['override']));}[_0x25c8ac(0x4c0)](){const _0x4787b4=_0x25c8ac;this[_0x4787b4(0x1f5)](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)]['UNIVER_DOC'],[_0x743d07])),this['disposeWithMe'](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)][_0x4787b4(0x3d0)],[_0x62dded]));}[_0x25c8ac(0x240)](){const _0x3cc457=_0x25c8ac;_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x43fe6e],[_0x3e1990[_0x3cc457(0x2de)]],[_0x41b37a],[_0x1e22db],[_0x3e1990[_0x3cc457(0x36f)]],[_0x253e7a]]),this[_0x3cc457(0x448)][_0x3cc457(0x349)]&&_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x5971ed]]);}},_0x260ff7(_0x3e1990[_0x25c8ac(0x4cb)],_0x25c8ac(0x260),_0x4f241b),_0x3e1990[_0x25c8ac(0x4cb)]=_0x1631eb([_0x51c091[_0x25c8ac(0x37e)](_0x493e59[_0x25c8ac(0x2aa)]),_0x2ea720(0x1,_0x396fb6[_0x25c8ac(0x3af)]),_0x2ea720(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x2ea720(0x3,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990[_0x25c8ac(0x4cb)]);var _0x442e3c=Object[_0x25c8ac(0x3a8)],_0x5b194f=(_0x20f538,_0x518649,_0x519b96,_0x539253)=>{const _0x13ae78=_0x25c8ac;for(var _0x2db818=_0x539253>0x1?void 0x0:_0x539253?_0x442e3c(_0x518649,_0x519b96):_0x518649,_0x362539=_0x20f538[_0x13ae78(0x497)]-0x1,_0x2ba429;_0x362539>=0x0;_0x362539--)(_0x2ba429=_0x20f538[_0x362539])&&(_0x2db818=_0x2ba429(_0x2db818)||_0x2db818);return _0x2db818;},_0x179efe=(_0x5136c6,_0x5d1972)=>(_0x2095b5,_0x2600a9)=>_0x5d1972(_0x2095b5,_0x2600a9,_0x5136c6);_0x3e1990['BrowserCollaborationSocketService']=class extends _0x493e59['CollaborationSocketService']{constructor(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11){super(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11);}async[_0x25c8ac(0x236)](_0x2c25d6){const _0x5461a5=_0x25c8ac,_0x4ff7a1=await this[_0x5461a5(0x410)](),_0x98d984=this[_0x5461a5(0x3c7)](_0x2c25d6,_0x4ff7a1);return this[_0x5461a5(0x2a7)](_0x98d984);}[_0x25c8ac(0x3c7)](_0x5c75b5,_0x162f9e){const _0x58deec=_0x25c8ac,_0x190a56=typeof window>'u'?new URL(_0x5c75b5):new URL(_0x5c75b5,window[_0x58deec(0x36b)][_0x58deec(0x362)]);_0x190a56['searchParams'][_0x58deec(0x22d)](_0x58deec(0x435),_0x162f9e);const _0x72c9cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x58deec(0x1f4)]);return _0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))&&_0x190a56[_0x58deec(0x3a9)][_0x58deec(0x22d)](_0x58deec(0x3ba),_0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))),_0x190a56[_0x58deec(0x2e9)]();}async[_0x25c8ac(0x410)](){const _0x4e94a9=_0x25c8ac;var _0x4e71cc,_0x4ecf48,_0x210e0b;const _0x23d908=this[_0x4e94a9(0x302)][_0x4e94a9(0x4d1)](_0x493e59['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x409cab=(_0x4e71cc=_0x23d908==null?void 0x0:_0x23d908[_0x4e94a9(0x320)])!=null?_0x4e71cc:_0x493e59[_0x4e94a9(0x461)];return(_0x210e0b=(_0x4ecf48=(await this[_0x4e94a9(0x44d)][_0x4e94a9(0x4c4)](_0x409cab,{'headers':{'Content-Type':_0x4e94a9(0x27a)}}))['body'])==null?void 0x0:_0x4ecf48[_0x4e94a9(0x201)])!=null?_0x210e0b:'';}},_0x3e1990['BrowserCollaborationSocketService']=_0x5b194f([_0x179efe(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x179efe(0x1,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x179efe(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x179efe(0x3,_0x51c091['ILogService']),_0x179efe(0x4,_0x5b9cab['ISnapshotServerService'])],_0x3e1990[_0x25c8ac(0x428)]);var _0x58912d=Object[_0x25c8ac(0x3a8)],_0x4c903b=(_0x1f5a25,_0x27a3f6,_0x2430f2,_0x259631)=>{const _0x330b37=_0x25c8ac;for(var _0x43e174=_0x259631>0x1?void 0x0:_0x259631?_0x58912d(_0x27a3f6,_0x2430f2):_0x27a3f6,_0x4ad398=_0x1f5a25[_0x330b37(0x497)]-0x1,_0x26c1f0;_0x4ad398>=0x0;_0x4ad398--)(_0x26c1f0=_0x1f5a25[_0x4ad398])&&(_0x43e174=_0x26c1f0(_0x43e174)||_0x43e174);return _0x43e174;},_0x310e46=(_0x4051cb,_0x555cc2)=>(_0x186990,_0x461e90)=>_0x555cc2(_0x186990,_0x461e90,_0x4051cb);_0x3e1990[_0x25c8ac(0x311)]=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x2d16f5,_0x8412bf,_0x18bc04){const _0x537dd9=_0x25c8ac;super(),this[_0x537dd9(0x443)]=_0x2d16f5,this['_httpService']=_0x8412bf,this[_0x537dd9(0x302)]=_0x18bc04;}async[_0x25c8ac(0x36c)](_0x59d040,_0x1c65a7,_0x1519bf,..._0x2b0fc7){const _0x3e9cfa=_0x25c8ac;var _0x408b4e,_0xf1e7b8,_0x52ef12,_0xa33607;const _0x11b539=this[_0x3e9cfa(0x443)]['getFocusedUnit']();if(!_0x11b539)throw new Error(_0x3e9cfa(0x354));const _0x527dbb=((_0x408b4e=this['_configService'][_0x3e9cfa(0x4d1)](_0x493e59['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x408b4e:_0x493e59['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x59d040+'/run/'+_0x1c65a7,_0x175f80=new URL(window[_0x3e9cfa(0x36b)][_0x3e9cfa(0x323)]),_0x2ad0b1={'scriptId':_0x59d040,'runId':(_0xf1e7b8=_0x175f80['searchParams'][_0x3e9cfa(0x4c4)](_0x3e9cfa(0x3ba)))!=null?_0xf1e7b8:'','function':_0x1c65a7,'unitId':_0x11b539[_0x3e9cfa(0x30f)](),'argsOfFunction':JSON[_0x3e9cfa(0x3ae)](_0x2b0fc7),'invokeId':(_0x52ef12=_0x1519bf[_0x3e9cfa(0x216)])!=null?_0x52ef12:'','executionId':(_0xa33607=_0x1519bf['executionId'])!=null?_0xa33607:''};try{const _0x49dae1=await this[_0x3e9cfa(0x44d)][_0x3e9cfa(0x2f1)](_0x527dbb,{'body':_0x2ad0b1});return _0x49dae1[_0x3e9cfa(0x270)]['error']&&_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x3df)][_0x3e9cfa(0x468)]!==_0x19b5af['OK']?_0x3e9cfa(0x304):_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x2cb)];}catch{return _0x3e9cfa(0x304);}}},_0x3e1990['RemoteUniscriptService']=_0x4c903b([_0x310e46(0x0,_0x51c091['IUniverInstanceService']),_0x310e46(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65['HTTPService'])),_0x310e46(0x2,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990['RemoteUniscriptService']);const _0x593ce8=0x7530,_0x5dda2d=_0x25c8ac(0x2eb);class _0x1cfa3e extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x21853d=_0x25c8ac;super(),_0x3a54cf(this,_0x21853d(0x457),_0x51c091[_0x21853d(0x2a9)]()),_0x3a54cf(this,_0x21853d(0x207),new Set()),_0x3a54cf(this,_0x21853d(0x30e),new Map()),_0x3a54cf(this,'_heartbeatTimer',null),_0x3a54cf(this,_0x21853d(0x3d2),new Map()),_0x3a54cf(this,_0x21853d(0x4c6),new Map()),this[_0x21853d(0x38f)]();}[_0x25c8ac(0x325)](){const _0x6583b9=_0x25c8ac;super[_0x6583b9(0x325)](),this['_clearOtherTimers'][_0x6583b9(0x345)]((_0x4560f2,_0x47a988)=>this[_0x6583b9(0x2f2)](_0x47a988)),this[_0x6583b9(0x1fb)]&&window[_0x6583b9(0x2c0)](this[_0x6583b9(0x1fb)]);}[_0x25c8ac(0x252)](_0xafd7c5){const _0x1a1348=_0x25c8ac;return this[_0x1a1348(0x489)](_0xafd7c5)['pipe'](_0x2d756d[_0x1a1348(0x3dd)]());}[_0x25c8ac(0x33e)](_0x2bf600){const _0xe71c73=_0x25c8ac;this['_selfUnitIDs'][_0xe71c73(0x3ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe71c73(0x207)]['add'](_0x2bf600),this[_0xe71c73(0x28b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2bf600],'isForwarded':!0x1});}[_0x25c8ac(0x3f9)](_0x16c83d){const _0x50ac40=_0x25c8ac;this[_0x50ac40(0x207)][_0x50ac40(0x2d0)](_0x16c83d),this[_0x50ac40(0x207)][_0x50ac40(0x3ac)]===0x0&&this[_0x50ac40(0x1fb)]&&window[_0x50ac40(0x2c0)](this['_heartbeatTimer']);}[_0x25c8ac(0x38f)](){const _0x1798ec=_0x25c8ac;this[_0x1798ec(0x1f5)](_0x51c091[_0x1798ec(0x46f)](_0x2d756d[_0x1798ec(0x425)](window,_0x1798ec(0x4bf))[_0x1798ec(0x2b3)](_0x5d122a=>{const _0x348261=_0x1798ec;if(_0x5d122a['key']!==_0x5dda2d||!_0x5d122a['newValue'])return;const _0x57ed6c=JSON[_0x348261(0x2a8)](_0x5d122a[_0x348261(0x313)]);this[_0x348261(0x32d)](_0x57ed6c);}))),window['addEventListener']('unload',()=>this[_0x1798ec(0x28b)]({'type':0x1,'memberID':this[_0x1798ec(0x457)],'unitIDs':Array['from'](this[_0x1798ec(0x207)])}));}[_0x25c8ac(0x32d)](_0x34ccb6){const _0x228d0c=_0x25c8ac;switch(_0x34ccb6['type']){case 0x0:this[_0x228d0c(0x44f)](_0x34ccb6);break;case 0x1:this[_0x228d0c(0x3b7)](_0x34ccb6);break;case 0x2:this[_0x228d0c(0x409)](_0x34ccb6);break;}}[_0x25c8ac(0x44f)](_0x5efb32){const _0x50e26f=_0x25c8ac,{unitIDs:_0x58cef0,memberID:_0x3caf2c,isForwarded:_0x2ffebd}=_0x5efb32;_0x58cef0[_0x50e26f(0x345)](_0x490d54=>{const _0x52fe3f=_0x50e26f;if(!_0x2ffebd&&this[_0x52fe3f(0x30e)][_0x52fe3f(0x297)](_0x490d54)&&this['_ensureSubject'](_0x490d54)[_0x52fe3f(0x258)](_0x493e59['UnitStatus'][_0x52fe3f(0x1ed)]),!this['_unitOnClients']['has'](_0x490d54)||!this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)[_0x52fe3f(0x297)](_0x3caf2c)){const _0x3b4b95=this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)||new Set();_0x3b4b95[_0x52fe3f(0x2d2)](_0x3caf2c),this['_unitOnClients'][_0x52fe3f(0x22d)](_0x490d54,_0x3b4b95),this['_scheduleClearOtherTimer'](_0x3caf2c);}}),_0x2ffebd||this[_0x50e26f(0x28b)]({'type':0x0,'memberID':this[_0x50e26f(0x457)],'unitIDs':[...this[_0x50e26f(0x207)]],'isForwarded':!0x0});}[_0x25c8ac(0x4b9)](_0x59e7fe){const _0x1b57d5=_0x25c8ac;this['_removeClearOtherTimer'](_0x59e7fe);const _0x1c6698=window['setTimeout'](()=>{const _0x4568f9=_0xd869;this[_0x4568f9(0x30e)][_0x4568f9(0x345)](_0x11c1e1=>{const _0x406c8a=_0x4568f9;_0x11c1e1[_0x406c8a(0x2d0)](_0x59e7fe);});},_0x593ce8*0x2);this[_0x1b57d5(0x3d2)][_0x1b57d5(0x22d)](_0x59e7fe,_0x1c6698);}[_0x25c8ac(0x2f2)](_0x23e4b8){const _0x434e8f=_0x25c8ac;if(this['_clearOtherTimers'][_0x434e8f(0x297)](_0x23e4b8)){const _0x2755cf=this['_clearOtherTimers'][_0x434e8f(0x4c4)](_0x23e4b8);_0x2755cf&&window['clearTimeout'](_0x2755cf),this[_0x434e8f(0x3d2)][_0x434e8f(0x22d)](_0x23e4b8,null);}}[_0x25c8ac(0x3b7)](_0x555b4e){const _0x30cd62=_0x25c8ac,{memberID:_0x47c348,unitIDs:_0x254497}=_0x555b4e;_0x254497[_0x30cd62(0x345)](_0x4d088c=>{const _0x1bdea4=_0x30cd62;var _0x485a5f;const _0x5d50fb=this[_0x1bdea4(0x30e)][_0x1bdea4(0x4c4)](_0x4d088c);_0x5d50fb&&(_0x5d50fb[_0x1bdea4(0x2d0)](_0x47c348),(_0x485a5f=this['_ensureSubject'](_0x4d088c))==null||_0x485a5f[_0x1bdea4(0x258)](_0x5d50fb[_0x1bdea4(0x3ac)]===0x0?_0x493e59[_0x1bdea4(0x434)][_0x1bdea4(0x4a2)]:_0x493e59['UnitStatus'][_0x1bdea4(0x1ed)]));}),this['_removeClearOtherTimer'](_0x47c348);}[_0x25c8ac(0x409)](_0x2752a7){const _0x113f5e=_0x25c8ac;this[_0x113f5e(0x4b9)](_0x2752a7[_0x113f5e(0x4b8)]);}[_0x25c8ac(0x28b)](_0x55ec6e){const _0x219270=_0x25c8ac;localStorage[_0x219270(0x255)](_0x5dda2d,JSON[_0x219270(0x3ae)](_0x55ec6e));}[_0x25c8ac(0x298)](){const _0x2e91ae=_0x25c8ac;this[_0x2e91ae(0x1fb)]=window['setInterval'](()=>{const _0x54a69f=_0x2e91ae;this[_0x54a69f(0x28b)]({'type':0x2,'memberID':this['_id']});},_0x593ce8);}['_ensureSubject'](_0x2c06a2){const _0x302ce5=_0x25c8ac;return this[_0x302ce5(0x4c6)]['has'](_0x2c06a2)||this['_unitStatus']['set'](_0x2c06a2,new _0x2d756d['BehaviorSubject'](_0x493e59[_0x302ce5(0x434)][_0x302ce5(0x4a2)])),this[_0x302ce5(0x4c6)][_0x302ce5(0x4c4)](_0x2c06a2);}}_0x3e1990['IURLService']=_0x2e14a9,_0x3e1990[_0x25c8ac(0x249)]=_0x1855f6,_0x3e1990['WebBrowserSingleActiveUnitService']=_0x1cfa3e,_0x3e1990[_0x25c8ac(0x3c5)]=_0x31456c,Object[_0x25c8ac(0x43e)](_0x3e1990,Symbol[_0x25c8ac(0x3fd)],{'value':'Module'});}));
|
|
1
|
+
function _0x924f(){const _0x4d50f5=['_unitStatus','isTransformMutationFailure','collaboration.closeRoom','_init','_releaseCalculationLimit','LOGIN_FAILED','RevisionService','getActiveRange','blue.400','removeEventListener','getSheetId','debug','round','_initUserListener','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getScale','UNRECOGNIZED','_collaborationController','INotificationService','INVITE_CODE_REQUIRED','jsx','closePath','_drawAnchor','_cursors','status$','fillText','getColor','ENSURE_SNAPSHOT_EXECUTION','arc','unitId','_initUnhandledRejectionListener','IMessageService','post','_online','lineno','CONNECTOR_DATA_TOO_LARGE','getCollabEntity$','then','docStateChange$','max','NodePositionConvertToCursor','setStateCache','subscribeEvent','YUUMI_ASYNCIO_CANCELLED','createSocket','off-line-icon_clip0_910_343','mapTo','transformRemoteChangeset','ENTITLE_COUPON_USED_UP','colorChannel1','getConfig','_createSocketURL','forwardRef','@univerjs/core','type','_send','CollaborationDataLoaderController','129vgXrZw','getValue','measureText','add','_initStatusListener','collabStatus.fetchMiss','serializeRangeWithSheet','_applyCommand','ONLINE','PERMISSION_DENIED','UniverIcon','_refreshCollabCursors','registerBeforeClose','DocStateChangeManagerService','30199428HxTmAW','SetFormulaCalculationNotificationMutation','RegularPolygon','UniverCore','idSuffix','LICENSE_IMPORT_SIZE_EXCEEDED','handleIRemoveRow','addHandlerCallback','[Window\x20Error]:\x20','CollaborationUIEventId','pluginName','_handleLeaveEvent','AWAITING','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','split','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transform','_initStatusComponent','syncEditingCollabCursor','onPointerMove$','MemberService','_updateSubUnitFromURLParams','disableLocalCache','M0\x200H16V16H0z','flatMap','_id','shift','getformulaLimitStatusUrl','xlink:href','toStringTag','IUIPartsService','DocIMEInputManagerService','onTransformChange$','_getFormulaLimitStatus','saveTaskMap','HEADER_MENU','LOCAL_CACHE_INTERVAL','getOwnPropertyDescriptor','OffLineIcon','INVALID_INVITE_CODE','_pollingInterval','exhaustSavingTask','bottom','setActiveRange','ICommandService','IUniverInstanceService','REDEMPTION_CODE_FULLY_REDEEMED','COMPLETION_FINISHED','font','assign','UniverProCollaborationClientUi','ENTITLE_COUPON_EXPIRED','[LogService\x20Error]:\x20','_initEntityListener','BuiltInUIPart','/universer-api/license/formula/limit/status','_updateCollabCursors','11WZxmVu','switchMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','4348ptDqJE','maxFormulaLimit','_document','debounceTime','_getSaveTimeout','row','5834240algsBI','getCurrentUnitForType','React','registerComponent','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEvent','UniverInstanceType','moveTo','_registerRenderDependencies','UNIVER_DOC','APPLY_DUPLICATED','drawWith','getCollabCursors$','_hasFormulaInDirtyRanges','ILogService','SYNCED','_disabled','column','endRow','sessionStatus$','session.will-retry','registerDependencies','_refRangeService','...','permission.content','RECT','getFocusedUnit','_taskIds','cursorInfo','textRanges','UPDATE_CURSOR','BehaviorSubject','ILocalStorageService','transformByState','Rect','registerRefRange','ERROR_AGAIN','none','useCallback','_saveTaskMap','requireSession','LocaleService','CollaborationEvent','_shapes','endColumn','unitID','_getAnchorBounding','getColorFromTheme','_name','INVITE_CODE_HAS_BEEN_UES','clipPath','with','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_currentUsage','operators','replaceState','eventID','_render','cursorInfo$','clearTimeout','_docTransformSelectionsService','_removeClearOtherTimer','href','INTERNAL_ERROR','_logService','UNDEFINED','runOnServer','toString','shareReplay','rgba(255,\x20255,\x20255,\x200.01)','RxDisposable','enableLocalCache','@univerjs/design','name','Injector','storage','_config','DesktopCollaborationStatusDisplayController','fill','m1Prime','getUniverSheetInstance','currentSkeleton$','INVALID_ARGUMENT','_scheduleHeartbeat','1232930OMBBRa','init','SetSelectionsOperation','selection','onPointerLeave$','debounce','Shape','getCellMatrix','@univerjs/drawing','yellow.400','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_localCacheService','AUTHORIZE_CODE_ILLEGAL','code','@univerjs/engine-formula','http://www.w3.org/2000/svg','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','executeCommand','getOffsetConfig','get','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','@univerjs/rpc','onCommandExecuted','1em','getUnitId','UNIVER_SHEET','CollaborationController','createInstance','entries','TEXT','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','beginPath','HTTPService','rxjs','_drawTextRange','MessageType','IImageIoService','reason','FETCH_MISS','key','_collabSessionService','APPLY_NON_SEQUENTIAL_REVISION','_onRefRangeChange','_onCursorUpdate','_maxFormulaLimit','push','AWAITING_WITH_PENDING','isFormulaId','SheetsSelectionsService','_getMergeRange','CollaborationUIEventService','url(#off-line-icon_clip0_910_343)','CollaborationSocketService','APPLY_REVISION_CONFILICT','_colorIndex','_startCalculationLimit','parse','getRangePointData','includes','InsertRangeMoveRightCommandId','getMergeData','collabStatus.offline','substring','_handleJoinEvent','transformMutation','transformMutationsWithChangeset','onLocalMutation','YUUMI_AI_RUN_FAILED','SheetSkeletonManagerService','subunit','_initCommandExecutedListener','stack','80VTdUON','setShapeProps','/run/','SetTextSelectionsOperation','onMouseMove','path','_textBubble','whenReady','@univerjs/sheets-ui','DataLoaderService','tag','handleMoveRange','UniverProCollaboration','subUnitId','event$','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','_beforeCloseService','DOC_RANGE_TYPE','on-line-icon_clip0_910_349','startFormulaLimitUrl','isTransformMutationsWithChangesetSuccess','_commandService','saveOfflineData','_themeService','transformStateCache','startRow','_toggleOffline','object','size','show','on-line-icon','SUBMIT_CHANGESET_TIMEOUT','ticket','translate(.97)','currentUsage','/universer-api/license/formula/limit/start','SNAPSHOT_HAS_BEEN_REMOVED','labelPosition','jiqing.500','setParam','_scheduleClearOtherTimer','CURRENT_STATUS_CANNOT_OPERATE','merge','collabCursorState$','stringify','40FjYJNQ','Loading','contains','takeUntil','_unitOnClients','ALREADY_EXISTS','_memberID','_color','fillRule','_injector','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startColumn','[CollaborationDataLoaderController]','Vector2','getCurrent','_startSheetCollabCursor','_toggleOnline','white','_collabCursorController','getMemberID','pipe','application/json','string','releaseFormulaLimitUrl','collab-text-range-','toDisposable','totalFormulasToCalculate','_hover','onRendered','setAlpha','1eABxUj','CONFLICT','searchParams','/universer-api/frontend/logs','START_CALCULATION','WebURLService','8334081sijDxB','TEXT_RANGE_LAYER_INDEX','setUndoRedoMutationParamsCache','RefRangeService','delete','YUUMI_UNABLE_LOAD_URL','_uploadLog','rxjs/operators','USERS_LEAVE','activeSheet$','dispose$','@univerjs/docs','values','SessionStatus','unhandledrejection','_syncEditingCollabCursorService','_revisionService','find','enableFrontendLog','formula.calculation.unable','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_USER_NOT_ELIGIBLE','BrowserCollaborationSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','message','setItem','_status$','getCurrentSelections','getUndoRedoMutationParamsCache','_assignedColors','set','REDEMPTION_CODE_NOT_STARTED','APPLY_PERMISSION_DENIED','_docSkeleton','_imageIoService','LICENSE_DISTRO_REJECTED','\x20at\x20','clearInterval','height','removeParam','deepClone','ENTITLE_INVALID_COUPON_CODE','transformSelections','fromEventSubject','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_handleHover','red.300','@univerjs-pro/collaboration','_renderManagerService','CLOSE_ROOM','length','REDEMPTION_CODE_INACTIVE','_httpService','ITransformService','OTHER_CLIENTS_EDITING','restore','min','UniverCollaborationClientUIPlugin','onStarting','registerRenderModule','_setupBeforeClosingHandler','_cursorInfo$','UNAUTHENTICATED','undoState','_docClipboardService','addClipboardHook','Inject','YUUMI_ALL_TABLES_IS_INVALID','_saveCache','UniverDesign','forEach','UnitStatus','Disposable','CommandType','addObject','Module','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','_uiPartsService','_drawRectRange','toRgbString','_notificationService','transformIMECache','DocSelectionManagerService','IConfigService','stage','replaceDocRanges','source','location','amd','_docSkeletonManagerService','_docTransformStateCacheService','uni.network.url-service','DocSkeletonManagerService','_configService','_getSessionTicket','UniverRpc','jsxs','origin','Unknown\x20user','exports','dispose','_collaborationSessionService','_initCommandInterceptor','map','_lastPointer','getUnhiddenWorksheets','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','formula.calculation.started','_setFormulaLimitStatus','startsWith','urlChange$','top','assignAColorForMemberID','ENTITLE_DUP_SUBSCRIPTION','runId','getRenderById','throttleTime','collabStatus.syncing','UniverSheets','createElement','isFormulaString','disposeWithMe','color','collab-text-anchor-','defIds','random','unit','REDEMPTION_INVALID_CODE','_registerDependencies','RemoteUniscriptService','_docSyncEditingCollabCursorService','_transformService','@univerjs/engine-render','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','defineProperty','_localeService','text','save','m2Prime','YUUMI_URL_COL_OUT_OF_RANGE','InsertColCommandId','currentColor','InsertRangeMoveDownCommandId','getItem','range','_docStateChangeManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','memberID','from','_monkeyPatchLogService','url(#$1','getAncestorScale','OnLineIcon','SetDocZoomRatioOperation','error','Error','addObjects','_heartbeatTimer','ThemeService','collabStatus.notCollab','formula.calculation.waiting','NOT_COLLAB','evenodd','CollaborationStatus','getSheetBySheetId','DEFAULT_WS_SESSION_TICKET_URL','_hideTimer','now','@univerjs/network','_getSheetObject','_cursorShapes','@univerjs/sheets','EffectRefRangId','MOBILE_HAS_BEEN_BOUND','TOO_MANY_REQUESTS','_initWindowErrorListener','_transformHistoryAndStateStack','mergeOverrideWithDependencies','_initDependencies','getLocalCacheKey','SOCKET_FAILED','roomMembers$','Subject','triggerDblclick','_backgroundColor','executionId','MUTATION','_eventUnsubscribe','_collabCursorState$','ILocalCacheService','DATA_SOURCE_TOO_LARGE','_memberService','updateOfflineData','complete','FromArray','skeleton','asObservable','socket$','search','mutations','imageSourceType','getDocRanges','WebSocketService','doc.mutation.rich-text-editing','ranges','session.collaboration-timeout','symbol','handleInsertRangeMoveRight','Failed','newValue','next','_anchor','sessionTicket','beforeCommandExecuted','Tooltip','_initResize','UniverEngineRender','_roomMembers$','reconnect','UniverEngineFormula','MOBILE_VERIFY_CODE_MISMATCH','ISnapshotServerService','params','parseInt','NOT_FOUND','_updateURLWithCurrentState','UniverSheetsUi','defs','handleIRemoveCol','lineTo','catch','filter','WECHAT_HAS_BEEN_BOUND','IRenderManagerService','_lastResponseTimestamp','touchDependencies','focused$','1628487jZPgkd','_ensureSubject','subscribe','_showGuardMessage','LICENSE_EXPORT_SIZE_EXCEEDED','functionsExecutedState','stageInfo','fillStyle','[Unhandled\x20Rejection]:\x20','SOCKET_FAILED_RETRY','generateRandomId','mask','PY_RUNTIME_SCRIPT_ERROR','0\x200\x2017\x2016','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleInsertCol','saveImage','IDocClipboardService','_handleHeartbeatEvent','getParam','getMember','_clearPolling','SUCCESS','Plugin','setInterval','hide','_transformPreviousActiveRange','makeDirty','Warning','useDependency','setTimeout','ColorKit','_handleEvent','COLORS','children','_localStorageService','SHEET_VIEWPORT_KEY','function','div','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','_labelPosition','_selfUnitIDs','editingUnit','addEventListener','0\x200\x2016\x2016','APPLY_REJECT','width','UniverNetwork','loadOfflineData','TRANSFORM_CHANGE_OBSERVABLE_TYPE','colno','CollaborationSessionService','_checkCalculationAvailable','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','redoState','_doCreateSocket','USER_NOT_FOUND','body','LOGIN_TOKEN_PROCESSING_FAILED','getSkeleton','_colorAssignService','black','_removeCollabCursors','roomMembers','isActive','InsertRowCommandId','_docTransformIMECacheService','@univerjs/docs-ui','_setupSubUnitSync','sheetID','USER_IS_ANONYMOUS','collab-rect-range-','loadUnit','_dataLoaderService','_scheduleSaving','#FFF','popstate','UniverDrawing','onPointerEnter$','RemoveColCommandId','limitInfo','isArray','_draw','collaboration.single-unit.warning','invokeId','data','JOIN_ROOM_FAILED','findNodePositionByCharIndex','unload','_collaborationUIEventService','getUnit','distinctUntilChanged','history','join','_entities','UniverDocs','_checkAndWaitForCalculationPermission','758436cpVwuL','SetWorksheetActivateCommand','_updateLocalCursor','_session','_messageService','_univerInstanceService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PENDING','currentTheme$','purple.300','attrs','_cachedData','_entityInit$','DeleteRangeMoveUpCommandId','bind','_scene','pushState','LICENSE_MAX_UNITS_EXCEEDED','handleInsertRow','Rectangle','isEditing','_onCursorDelete','ENTITLE_INSUFFICIENT_QUOTA','VIEW_MAIN','_range','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','EMAIL_VERIFY_CODE_MISMATCH','CHANGESET_REVISION_CONFILICT','displayName','_hovered','getStateCache','has','useObservable','NO_OTHER_CLIENTS_EDITING','Tools','ENTITLE_CHAT_LIMIT_EXCEED','RichTextEditingMutation','svg','setConfig','_context','CanceledError','filename','_urlService','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','_anchorDot','react/jsx-runtime'];_0x924f=function(){return _0x4d50f5;};return _0x924f();}function _0x1a49(_0x5ef47e,_0x1c8943){_0x5ef47e=_0x5ef47e-0x17e;const _0x924f52=_0x924f();let _0x1a49a7=_0x924f52[_0x5ef47e];return _0x1a49a7;}(function(_0x4e0d80,_0x2a8569){const _0x3543d2=_0x1a49,_0x1082a4=_0x4e0d80();while(!![]){try{const _0x31e328=parseInt(_0x3543d2(0x246))/0x1*(parseInt(_0x3543d2(0x1b1))/0x2)+parseInt(_0x3543d2(0x409))/0x3*(-parseInt(_0x3543d2(0x454))/0x4)+-parseInt(_0x3543d2(0x228))/0x5*(-parseInt(_0x3543d2(0x39f))/0x6)+parseInt(_0x3543d2(0x24c))/0x7+-parseInt(_0x3543d2(0x45a))/0x8+-parseInt(_0x3543d2(0x33b))/0x9*(-parseInt(_0x3543d2(0x1fa))/0xa)+parseInt(_0x3543d2(0x451))/0xb*(-parseInt(_0x3543d2(0x417))/0xc);if(_0x31e328===_0x2a8569)break;else _0x1082a4['push'](_0x1082a4['shift']());}catch(_0x3ee09c){_0x1082a4['push'](_0x1082a4['shift']());}}}(_0x924f,0xed990),function(_0x8c33d0,_0x1770b8){const _0x428bbe=_0x1a49;typeof exports==_0x428bbe(0x216)&&typeof module<'u'?_0x1770b8(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==_0x428bbe(0x361)&&define[_0x428bbe(0x2a5)]?define([_0x428bbe(0x2b0),_0x428bbe(0x3cf),'@univerjs-pro/collaboration-client',_0x428bbe(0x405),'@univerjs/ui',_0x428bbe(0x1d3),_0x428bbe(0x1a5),'react',_0x428bbe(0x1c7),_0x428bbe(0x2f9),_0x428bbe(0x2d1),_0x428bbe(0x2f6),_0x428bbe(0x381),_0x428bbe(0x1b9),_0x428bbe(0x27b),_0x428bbe(0x257),_0x428bbe(0x1bf),_0x428bbe(0x253),_0x428bbe(0x202)],_0x1770b8):(_0x8c33d0=typeof globalThis<'u'?globalThis:_0x8c33d0||self,_0x1770b8(_0x8c33d0[_0x428bbe(0x44a)]={},_0x8c33d0[_0x428bbe(0x45c)],_0x8c33d0['UniverProCollaborationClient'],_0x8c33d0[_0x428bbe(0x41a)],_0x8c33d0['UniverUi'],_0x8c33d0[_0x428bbe(0x1d3)],_0x8c33d0[_0x428bbe(0x291)],_0x8c33d0['React'],_0x8c33d0[_0x428bbe(0x2ac)],_0x8c33d0[_0x428bbe(0x2c3)],_0x8c33d0[_0x428bbe(0x326)],_0x8c33d0[_0x428bbe(0x36c)],_0x8c33d0['UniverDocsUi'],_0x8c33d0[_0x428bbe(0x38b)],_0x8c33d0[_0x428bbe(0x206)],_0x8c33d0[_0x428bbe(0x39d)],_0x8c33d0[_0x428bbe(0x329)],_0x8c33d0[_0x428bbe(0x1d3)][_0x428bbe(0x193)],_0x8c33d0[_0x428bbe(0x330)]));}(this,function(_0x1c2aca,_0xfab7b1,_0x1b7c3e,_0x513c5a,_0x2b894c,_0x44d779,_0x3fc2d4,_0x172118,_0x5c0f05,_0x314f03,_0x4672ea,_0x2e9ff2,_0x216a55,_0x3e7cd7,_0x191313,_0x702727,_0x5f233a,_0x523890,_0x33b767){'use strict';const _0x4c5fe4=_0x1a49;var _0x30c9ca=Object[_0x4c5fe4(0x2d4)],_0x5b36fd=(_0x11d93e,_0x115b45,_0x845149)=>_0x115b45 in _0x11d93e?_0x30c9ca(_0x11d93e,_0x115b45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x845149}):_0x11d93e[_0x115b45]=_0x845149,_0x49e871=(_0x23ad48,_0x3735ca,_0x32b3a2)=>_0x5b36fd(_0x23ad48,typeof _0x3735ca!=_0x4c5fe4(0x31c)?_0x3735ca+'':_0x3735ca,_0x32b3a2);function _0x5f0c62({ref:_0x2d6f03,..._0x345694}){const _0x14f06c=_0x4c5fe4,{icon:_0x3f704f,id:_0x2acba4,className:_0x57c441,extend:_0x485c50,..._0x2bf4a7}=_0x345694,_0x3a7347=('univerjs-icon\x20univerjs-icon-'+_0x2acba4+'\x20'+(_0x57c441||''))['trim'](),_0x4bae35=_0x172118['useRef']('_'+_0x16d856());return _0x17e624(_0x3f704f,''+_0x2acba4,{'defIds':_0x3f704f[_0x14f06c(0x2c9)],'idSuffix':_0x4bae35['current']},{'ref':_0x2d6f03,'className':_0x3a7347,..._0x2bf4a7},_0x485c50);}function _0x17e624(_0x544f29,_0x5cef84,_0x53cf2f,_0x2bf77a,_0x320202){const _0x10fded=_0x4c5fe4;return _0x172118[_0x10fded(0x2c4)](_0x544f29[_0x10fded(0x204)],{'key':_0x5cef84,..._0x3eab83(_0x544f29,_0x53cf2f,_0x320202),..._0x2bf77a},(_0x16993b(_0x544f29,_0x53cf2f)[_0x10fded(0x35e)]||[])[_0x10fded(0x2b4)]((_0x304af9,_0x1c1c45)=>_0x17e624(_0x304af9,_0x5cef84+'-'+_0x544f29['tag']+'-'+_0x1c1c45,_0x53cf2f,void 0x0,_0x320202)));}function _0x3eab83(_0x285afc,_0x1f185d,_0x2e70a0){const _0x1edc8e=_0x4c5fe4,_0x6991a8={..._0x285afc[_0x1edc8e(0x3a9)]};_0x2e70a0!=null&&_0x2e70a0[_0x1edc8e(0x401)]&&_0x6991a8[_0x1edc8e(0x1ab)]===_0x1edc8e(0x401)&&(_0x6991a8[_0x1edc8e(0x1ab)]=_0x2e70a0[_0x1edc8e(0x401)]),_0x285afc[_0x1edc8e(0x204)]==='mask'&&_0x6991a8['id']&&(_0x6991a8['id']=_0x6991a8['id']+_0x1f185d[_0x1edc8e(0x41b)]),Object[_0x1edc8e(0x1ce)](_0x6991a8)['forEach'](([_0x2435a5,_0x538ac3])=>{const _0x4f0e59=_0x1edc8e;_0x2435a5===_0x4f0e59(0x346)&&typeof _0x538ac3=='string'&&(_0x6991a8[_0x2435a5]=_0x538ac3['replace'](/url\(#(.*)\)/,_0x4f0e59(0x2e4)+_0x1f185d['idSuffix']+')'));});const {defIds:_0x46aebd}=_0x1f185d;return!_0x46aebd||_0x46aebd[_0x1edc8e(0x27e)]===0x0||(_0x285afc[_0x1edc8e(0x204)]==='use'&&_0x6991a8[_0x1edc8e(0x434)]&&(_0x6991a8[_0x1edc8e(0x434)]=_0x6991a8[_0x1edc8e(0x434)]+_0x1f185d[_0x1edc8e(0x41b)]),Object['entries'](_0x6991a8)['forEach'](([_0x2645c0,_0x192fec])=>{const _0x35ff0e=_0x1edc8e;typeof _0x192fec=='string'&&(_0x6991a8[_0x2645c0]=_0x192fec['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1f185d[_0x35ff0e(0x41b)]+')'));})),_0x6991a8;}function _0x16993b(_0x11e648,_0x50c738){const _0x5e2e28=_0x4c5fe4;var _0x33da6a;const {defIds:_0x3d7912}=_0x50c738;return!_0x3d7912||_0x3d7912[_0x5e2e28(0x27e)]===0x0?_0x11e648:_0x11e648['tag']===_0x5e2e28(0x331)&&((_0x33da6a=_0x11e648[_0x5e2e28(0x35e)])!=null&&_0x33da6a[_0x5e2e28(0x27e)])?{..._0x11e648,'children':_0x11e648[_0x5e2e28(0x35e)][_0x5e2e28(0x2b4)](_0xd35a69=>typeof _0xd35a69[_0x5e2e28(0x3a9)]['id']==_0x5e2e28(0x23e)&&_0x3d7912&&_0x3d7912[_0x5e2e28(0x1ec)](_0xd35a69[_0x5e2e28(0x3a9)]['id'])?{..._0xd35a69,'attrs':{..._0xd35a69[_0x5e2e28(0x3a9)],'id':_0xd35a69[_0x5e2e28(0x3a9)]['id']+_0x50c738[_0x5e2e28(0x41b)]}}:_0xd35a69)}:_0x11e648;}function _0x16d856(){const _0x328aa0=_0x4c5fe4;return Math[_0x328aa0(0x2ca)]()[_0x328aa0(0x1a0)](0x24)[_0x328aa0(0x1f0)](0x2,0x8);}_0x5f0c62[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x413);const _0x47b36d={'tag':'svg','attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x369),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x4c5fe4(0x2db),'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':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':_0x4c5fe4(0x331),'attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x3fd)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':_0x4c5fe4(0x239),'d':_0x4c5fe4(0x42f)}}]}]}],'defIds':[_0x4c5fe4(0x3fd)]},_0x270308=_0x172118['forwardRef'](function(_0x55e94d,_0x4f7c19){const _0x461381=_0x4c5fe4;return _0x172118[_0x461381(0x2c4)](_0x5f0c62,Object[_0x461381(0x449)]({},_0x55e94d,{'id':'off-line-icon','ref':_0x4f7c19,'icon':_0x47b36d}));});_0x270308[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x43e);const _0x525d26={'tag':_0x4c5fe4(0x3c6),'attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x348),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x20a)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'stroke':_0x4c5fe4(0x2db),'d':_0x4c5fe4(0x2b7),'strokeLinecap':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x20d)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x4c5fe4(0x21c)}}]}]}],'defIds':[_0x4c5fe4(0x20d)]},_0x34902d=_0x172118[_0x4c5fe4(0x404)](function(_0x3fadbb,_0x1d8c3c){const _0x4f3af8=_0x4c5fe4;return _0x172118[_0x4f3af8(0x2c4)](_0x5f0c62,Object[_0x4f3af8(0x449)]({},_0x3fadbb,{'id':_0x4f3af8(0x219),'ref':_0x1d8c3c,'icon':_0x525d26}));});_0x34902d[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x2e6);function _0x288bca(_0x3923e2){const _0x33e350=_0x4c5fe4;switch(_0x3923e2){case _0x1b7c3e[_0x33e350(0x2f1)]['OFFLINE']:return _0x33e350(0x1ef);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x247)]:return'collabStatus.conflict';case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1d8)]:return _0x33e350(0x40e);case _0x1b7c3e[_0x33e350(0x2f1)]['NOT_COLLAB']:return _0x33e350(0x2ed);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x423)]:case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1e0)]:return _0x33e350(0x2c2);case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x46a)]:case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x3a6)]:return'collabStatus.synced';}}function _0x5b082f(_0x2e6947){const _0x4603e7=_0x4c5fe4,{status$:_0x47320f}=_0x2e6947,_0x52643a=_0x2b894c[_0x4603e7(0x3c1)](_0x47320f,_0x1b7c3e[_0x4603e7(0x2f1)][_0x4603e7(0x2ef)]),_0x57143f=_0x2b894c[_0x4603e7(0x359)](_0x513c5a[_0x4603e7(0x186)]),_0x4a284b=_0x2b894c['useDependency'](_0x1b7c3e['CollaborationSessionService']),_0x129d6c=_0x52643a!==_0x1b7c3e[_0x4603e7(0x2f1)]['OFFLINE'],_0x2c8ba1=_0x57143f['t'](_0x288bca(_0x52643a)),_0x3739c9=_0x129d6c?_0xfab7b1[_0x4603e7(0x3e4)](_0x34902d,{}):_0xfab7b1[_0x4603e7(0x3e4)](_0x270308,{}),_0x1314d1=_0x172118[_0x4603e7(0x183)](()=>{const _0xcccaca=_0x4603e7;_0x129d6c||_0x4a284b[_0xcccaca(0x328)]();},[_0x129d6c,_0x4a284b]);function _0x95621d(){const _0x2a2897=_0x4603e7;return _0xfab7b1[_0x2a2897(0x2ad)](_0x2a2897(0x362),{'className':_0x2a2897(0x3b8),'onClick':_0x1314d1,'children':[_0xfab7b1[_0x2a2897(0x3e4)](_0x2a2897(0x362),{'className':_0x3fc2d4['clsx'](_0x2a2897(0x298),{'univer-text-green-500':_0x129d6c,'univer-text-red-500':!_0x129d6c}),'children':_0x3739c9}),_0xfab7b1['jsx'](_0x2a2897(0x362),{'className':_0x2a2897(0x3a5),'children':_0x2c8ba1})]});}return _0x129d6c?_0x95621d():_0xfab7b1[_0x4603e7(0x3e4)](_0x3fc2d4[_0x4603e7(0x324)],{'title':_0x57143f['t']('collab-client.tooltip.reconnect'),'children':_0x95621d()});}var _0x834bd1=Object[_0x4c5fe4(0x43d)],_0x3f4a2f=(_0x32246b,_0x428f1e,_0x526306,_0x3c3808)=>{for(var _0x578df0=_0x3c3808>0x1?void 0x0:_0x3c3808?_0x834bd1(_0x428f1e,_0x526306):_0x428f1e,_0x3728ee=_0x32246b['length']-0x1,_0x40d562;_0x3728ee>=0x0;_0x3728ee--)(_0x40d562=_0x32246b[_0x3728ee])&&(_0x578df0=_0x40d562(_0x578df0)||_0x578df0);return _0x578df0;},_0x1a19b7=(_0x59c05a,_0x255450)=>(_0x5939cd,_0x57ceb0)=>_0x255450(_0x5939cd,_0x57ceb0,_0x59c05a);_0x1c2aca[_0x4c5fe4(0x1aa)]=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x218d2e,_0x4a20bb,_0x37c623,_0x1c423d){const _0x5d60c7=_0x4c5fe4;super(),_0x49e871(this,_0x5d60c7(0x266),new _0x44d779['BehaviorSubject'](_0x1b7c3e[_0x5d60c7(0x2f1)][_0x5d60c7(0x2ef)])),(this['_univerInstanceService']=_0x218d2e,this[_0x5d60c7(0x231)]=_0x4a20bb,this[_0x5d60c7(0x3e1)]=_0x37c623,this[_0x5d60c7(0x29a)]=_0x1c423d,this[_0x5d60c7(0x429)](),this[_0x5d60c7(0x40d)]());}[_0x4c5fe4(0x40d)](){const _0x47d263=_0x4c5fe4;this[_0x47d263(0x2c6)](this['_univerInstanceService'][_0x47d263(0x33a)]['pipe'](_0x44d779[_0x47d263(0x452)](()=>{const _0x25dbd4=_0x47d263,_0x4699bc=this[_0x25dbd4(0x3a4)]['getFocusedUnit']();return _0x4699bc?this[_0x25dbd4(0x3e1)][_0x25dbd4(0x3f4)](_0x4699bc['getUnitId']()):_0x44d779['of'](null);}),_0x44d779[_0x47d263(0x452)](_0x3923c4=>_0x3923c4?_0x3923c4[_0x47d263(0x3e8)]:_0x44d779['of'](_0x1b7c3e[_0x47d263(0x2f1)][_0x47d263(0x2ef)])))[_0x47d263(0x33d)](_0x377379=>{const _0x3aa801=_0x47d263;this[_0x3aa801(0x266)][_0x3aa801(0x320)](_0x377379);}));}[_0x4c5fe4(0x429)](){const _0x2b590e=_0x4c5fe4;this[_0x2b590e(0x2c6)](this[_0x2b590e(0x29a)][_0x2b590e(0x45d)](_0x2b894c[_0x2b590e(0x44e)][_0x2b590e(0x43b)],()=>_0x2b894c['connectInjector'](_0x1cd15b({'status$':this[_0x2b590e(0x266)][_0x2b590e(0x312)]()}),this['_injector'])));}},_0x1c2aca[_0x4c5fe4(0x1aa)]=_0x3f4a2f([_0x1a19b7(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x1a19b7(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1a19b7(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x1a19b7(0x3,_0x2b894c[_0x4c5fe4(0x436)])],_0x1c2aca[_0x4c5fe4(0x1aa)]);function _0x1cd15b(_0x442a10){const {status$:_0x45e543}=_0x442a10;return function(){return _0xfab7b1['jsx'](_0x5b082f,{'status$':_0x45e543});};}const _0x24977f=_0x513c5a['createIdentifier'](_0x4c5fe4(0x2a8));var _0x1ad996=Object[_0x4c5fe4(0x43d)],_0x209a9d=(_0x177d21,_0x67575e,_0x17dddf,_0x271d80)=>{const _0x13a28b=_0x4c5fe4;for(var _0x3869a6=_0x271d80>0x1?void 0x0:_0x271d80?_0x1ad996(_0x67575e,_0x17dddf):_0x67575e,_0x4bc2e7=_0x177d21[_0x13a28b(0x27e)]-0x1,_0xa012d7;_0x4bc2e7>=0x0;_0x4bc2e7--)(_0xa012d7=_0x177d21[_0x4bc2e7])&&(_0x3869a6=_0xa012d7(_0x3869a6)||_0x3869a6);return _0x3869a6;},_0x57a0ed=(_0x359b9e,_0x94a57c)=>(_0x5045e6,_0x3fa71b)=>_0x94a57c(_0x5045e6,_0x3fa71b,_0x359b9e);_0x1c2aca[_0x4c5fe4(0x408)]=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x147268,_0x5d0b20,_0x20e0fd,_0xde6a59,_0x5479c5){const _0x3d97cd=_0x4c5fe4;super(),this[_0x3d97cd(0x3cb)]=_0x147268,this[_0x3d97cd(0x19d)]=_0x5d0b20,this[_0x3d97cd(0x210)]=_0x20e0fd,this['_dataLoaderService']=_0xde6a59,_0x5479c5?_0x5479c5==null||_0x5479c5[_0x3d97cd(0x201)]()[_0x3d97cd(0x3f5)](()=>this[_0x3d97cd(0x3d3)]()):(this[_0x3d97cd(0x19d)]['debug'](_0x3d97cd(0x234),_0x3d97cd(0x191)),this[_0x3d97cd(0x3d3)]());}async[_0x4c5fe4(0x3d3)](){const _0x53537e=_0x4c5fe4,_0x59c8ec=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x2cb)),_0x161a47=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x406)),_0x2fe919=this['_urlService']['getParam'](_0x53537e(0x1f7));if(!_0x59c8ec||!_0x161a47){this[_0x53537e(0x19d)][_0x53537e(0x3db)](_0x53537e(0x234),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x487a3a=await this[_0x53537e(0x387)][_0x53537e(0x386)](_0x59c8ec,Number(_0x161a47),_0x2fe919);_0x487a3a&&_0x487a3a instanceof _0x513c5a[_0x53537e(0x3cd)]&&this[_0x53537e(0x382)](_0x487a3a);}async[_0x4c5fe4(0x382)](_0x3b6979){const _0x311b9e=_0x4c5fe4;await this[_0x311b9e(0x42d)](_0x3b6979),_0x3b6979[_0x311b9e(0x255)][_0x311b9e(0x23c)](_0x44d779['takeUntil'](this[_0x311b9e(0x256)]))[_0x311b9e(0x33d)](_0x3d9aca=>{const _0x506607=_0x311b9e;_0x3d9aca&&this[_0x506607(0x32f)](_0x3d9aca);}),this[_0x311b9e(0x3cb)]['urlChange$'][_0x311b9e(0x23c)](_0x44d779[_0x311b9e(0x22b)](this['dispose$']))[_0x311b9e(0x33d)](()=>this['_updateSubUnitFromURLParams'](_0x3b6979));}[_0x4c5fe4(0x32f)](_0x33fd05,_0xccdbcc=!0x1){const _0x1fc092=_0x4c5fe4,_0x200920=this[_0x1fc092(0x3cb)][_0x1fc092(0x34f)](_0x1fc092(0x1f7));_0x33fd05[_0x1fc092(0x3da)]()!==_0x200920&&this[_0x1fc092(0x3cb)][_0x1fc092(0x222)]('subunit',_0x33fd05['getSheetId'](),_0xccdbcc);}async[_0x4c5fe4(0x42d)](_0x154e88){const _0x49802d=_0x4c5fe4;var _0x5b2c81;const _0x430131=this['_urlService'][_0x49802d(0x34f)]('subunit');if(!_0x430131||!_0x154e88[_0x49802d(0x2f2)](_0x430131)){const _0x51b667=_0x154e88[_0x49802d(0x2b6)]()[0x0],_0x2ccb6e=_0x154e88[_0x49802d(0x2f2)](_0x51b667);if(!_0x2ccb6e)return;this[_0x49802d(0x32f)](_0x2ccb6e,!0x0),await this[_0x49802d(0x210)][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x51b667});return;}((_0x5b2c81=_0x154e88['getActiveSheet']())==null?void 0x0:_0x5b2c81['getSheetId']())!==_0x430131&&await this['_commandService'][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x430131});}},_0x1c2aca[_0x4c5fe4(0x408)]=_0x209a9d([_0x57a0ed(0x0,_0x24977f),_0x57a0ed(0x1,_0x513c5a[_0x4c5fe4(0x469)]),_0x57a0ed(0x2,_0x513c5a[_0x4c5fe4(0x444)]),_0x57a0ed(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x203)])),_0x57a0ed(0x4,_0x513c5a['Optional'](_0x5c0f05['IRemoteInstanceService']))],_0x1c2aca[_0x4c5fe4(0x408)]);var _0x2b8f02=Object['getOwnPropertyDescriptor'],_0x36e85=(_0x2f4f4c,_0x141d5b,_0x3550d7,_0x441369)=>{const _0x4de1e6=_0x4c5fe4;for(var _0x32f8e9=_0x441369>0x1?void 0x0:_0x441369?_0x2b8f02(_0x141d5b,_0x3550d7):_0x141d5b,_0x56784e=_0x2f4f4c[_0x4de1e6(0x27e)]-0x1,_0x34d2cc;_0x56784e>=0x0;_0x56784e--)(_0x34d2cc=_0x2f4f4c[_0x56784e])&&(_0x32f8e9=_0x34d2cc(_0x32f8e9)||_0x32f8e9);return _0x32f8e9;},_0x56a1bd=(_0x38a7d4,_0x2f7528)=>(_0x31c8b3,_0x3f07e3)=>_0x2f7528(_0x31c8b3,_0x3f07e3,_0x38a7d4);let _0x400d71=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x55931e,_0x25b7d0){const _0x5b8894=_0x4c5fe4;super(),this['_docClipboardService']=_0x55931e,this[_0x5b8894(0x26e)]=_0x25b7d0,this[_0x5b8894(0x3d3)]();}[_0x4c5fe4(0x3d3)](){const _0x1e13d3=_0x4c5fe4,_0x5687a3=this;this[_0x1e13d3(0x2c6)](this[_0x1e13d3(0x28c)][_0x1e13d3(0x28d)]({'onBeforePasteImage':async _0x470171=>{const _0x1ada6b=_0x1e13d3,_0x5bb679=await _0x5687a3[_0x1ada6b(0x26e)][_0x1ada6b(0x34c)](_0x470171);return _0x5bb679?{'source':_0x5bb679[_0x1ada6b(0x2a3)],'imageSourceType':_0x5bb679[_0x1ada6b(0x316)]}:null;}}));}};_0x400d71=_0x36e85([_0x56a1bd(0x0,_0x216a55[_0x4c5fe4(0x34d)]),_0x56a1bd(0x1,_0x3e7cd7[_0x4c5fe4(0x1d6)])],_0x400d71);const _0x579ca5=[_0x4c5fe4(0x3a8),_0x4c5fe4(0x221),'green.600',_0x4c5fe4(0x27a),_0x4c5fe4(0x3d8),_0x4c5fe4(0x1ba)];class _0x14caec extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x57969e=_0x4c5fe4;super(...arguments),_0x49e871(this,'_assignedColors',new Map()),_0x49e871(this,_0x57969e(0x1e8),0x0);}[_0x4c5fe4(0x2bd)](_0x9affe0){const _0x39e1dd=_0x4c5fe4;if(this['_assignedColors'][_0x39e1dd(0x3c0)](_0x9affe0))return this[_0x39e1dd(0x269)][_0x39e1dd(0x1c5)](_0x9affe0);const _0x2a93e2=_0x579ca5[this[_0x39e1dd(0x1e8)]];return this[_0x39e1dd(0x1e8)]=(this[_0x39e1dd(0x1e8)]+0x1)%_0x579ca5[_0x39e1dd(0x27e)],this[_0x39e1dd(0x269)][_0x39e1dd(0x26a)](_0x9affe0,_0x2a93e2),_0x2a93e2;}}function _0x54de33(_0xbe5fa6){const _0x29dec8=_0x4c5fe4;let _0x5751e9='';for(const _0x1ecbc0 of _0xbe5fa6){const {startOffset:_0x10683e,endOffset:_0x1b56f6,isActive:_0x2731fe,rangeType:_0x23cf5f,segmentId:_0x3835fe,segmentPage:_0x43c4cf}=_0x1ecbc0;_0x5751e9[_0x29dec8(0x27e)]&&(_0x5751e9+=','),_0x5751e9+=_0x10683e+':'+_0x1b56f6+':'+(_0x2731fe?'1':'0')+':'+_0x23cf5f+':'+_0x3835fe+':'+_0x43c4cf;}return _0x5751e9;}function _0x4ba325(_0x472f40){const _0x23de67=_0x4c5fe4,_0x2dc346=_0x472f40['split'](','),_0x4c9c2d=[];for(const _0x3948e4 of _0x2dc346){const [_0xba5a10,_0x5d5e05,_0x3b30c4,_0xb1df9b,_0x29bc95,_0x2a32d8]=_0x3948e4[_0x23de67(0x426)](':');_0x4c9c2d[_0x23de67(0x1df)]({'startOffset':Number(_0xba5a10),'endOffset':Number(_0x5d5e05),'collapsed':_0xba5a10===_0x5d5e05,'isActive':_0x3b30c4==='1','rangeType':_0xb1df9b===_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]?_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]:_0x513c5a[_0x23de67(0x20c)]['RECT'],'segmentId':typeof _0x29bc95==_0x23de67(0x23e)?String(_0x29bc95):'','segmentPage':Number(_0x2a32d8!=null?_0x2a32d8:-0x1)});}return _0x4c9c2d['some'](_0x32586c=>_0x32586c[_0x23de67(0x37e)])||(_0x4c9c2d[0x0][_0x23de67(0x37e)]=!0x0),_0x4c9c2d;}class _0x2ccf5b extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(){const _0x2a7215=_0x4c5fe4;super(...arguments),_0x49e871(this,'_collabCursorState$',new _0x44d779[(_0x2a7215(0x47a))](null)),_0x49e871(this,_0x2a7215(0x226),this['_collabCursorState$'][_0x2a7215(0x312)]());}[_0x4c5fe4(0x42a)](_0x2b44ca){const _0x13b8b8=_0x4c5fe4,{unitID:_0x2dbb95,memberID:_0x137fe6,textRanges:_0x53af59}=_0x2b44ca,_0x5a7318=_0x54de33(_0x53af59);if(_0x5a7318==='')return;const _0x46168f={'unitID':_0x2dbb95,'memberID':_0x137fe6,'selection':_0x5a7318};this[_0x13b8b8(0x30a)][_0x13b8b8(0x320)](_0x46168f);}}var _0x2ae3ab=Object[_0x4c5fe4(0x43d)],_0x45f919=(_0x22cd21,_0x1478cc,_0x44a811,_0xbb6345)=>{const _0x5bfcf1=_0x4c5fe4;for(var _0x50df3f=_0xbb6345>0x1?void 0x0:_0xbb6345?_0x2ae3ab(_0x1478cc,_0x44a811):_0x1478cc,_0x160daa=_0x22cd21[_0x5bfcf1(0x27e)]-0x1,_0x2a02ab;_0x160daa>=0x0;_0x160daa--)(_0x2a02ab=_0x22cd21[_0x160daa])&&(_0x50df3f=_0x2a02ab(_0x50df3f)||_0x50df3f);return _0x50df3f;},_0x4a3fc4=(_0x373680,_0x19bf1c)=>(_0x18accd,_0x12774b)=>_0x19bf1c(_0x18accd,_0x12774b,_0x373680);const _0x66934a=0x12c,_0x11d4b8=0x64;let _0x54f104=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x571a6b,_0x220d0a,_0x5556bb,_0x517187,_0x2966f7,_0xf88c0b,_0x34ff0e,_0x1d98ac,_0x443c4c){const _0x3328f9=_0x4c5fe4;super(),_0x49e871(this,_0x3328f9(0x3f1),!0x1),_0x49e871(this,_0x3328f9(0x3d3),!0x1),_0x49e871(this,_0x3328f9(0x289),new _0x44d779[(_0x3328f9(0x47a))](new Map())),_0x49e871(this,_0x3328f9(0x197),this[_0x3328f9(0x289)][_0x3328f9(0x312)]()),_0x49e871(this,_0x3328f9(0x327),new _0x44d779[(_0x3328f9(0x47a))]([])),_0x49e871(this,_0x3328f9(0x303),this[_0x3328f9(0x327)][_0x3328f9(0x23c)](_0x44d779[_0x3328f9(0x457)](_0x66934a))),_0x49e871(this,_0x3328f9(0x3a1),_0x513c5a['debounce'](_0xbe5f91=>{const _0x4ef0ef=_0x3328f9,_0x35a14c={'eventID':_0x191313[_0x4ef0ef(0x187)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4ef0ef(0x3a2)][_0x4ef0ef(0x23b)](),'selection':_0x54de33(_0xbe5f91)}};this[_0x4ef0ef(0x3a2)]['send'](_0x35a14c,this[_0x4ef0ef(0x18a)]);},_0x11d4b8)),(this['unitID']=_0x571a6b,this[_0x3328f9(0x3a2)]=_0x220d0a,this['_injector']=_0x5556bb,this[_0x3328f9(0x37a)]=_0x517187,this[_0x3328f9(0x30d)]=_0x2966f7,this['_syncEditingCollabCursorService']=_0xf88c0b,this[_0x3328f9(0x2d0)]=_0x34ff0e,this[_0x3328f9(0x3a4)]=_0x1d98ac,this[_0x3328f9(0x210)]=_0x443c4c);}get[_0x4c5fe4(0x477)](){const _0x18c5c5=_0x4c5fe4;return this[_0x18c5c5(0x289)]['getValue']();}get[_0x4c5fe4(0x37d)](){const _0x276c31=_0x4c5fe4;return this['_roomMembers$'][_0x276c31(0x40a)]();}['dispose'](){const _0x5163c4=_0x4c5fe4;super[_0x5163c4(0x2b1)](),this[_0x5163c4(0x289)]['next'](new Map()),this[_0x5163c4(0x289)]['complete'](),this[_0x5163c4(0x327)][_0x5163c4(0x320)]([]),this[_0x5163c4(0x327)]['complete']();}['init'](){const _0x4116ca=_0x4c5fe4;this[_0x4116ca(0x3d3)]||(this[_0x4116ca(0x3d3)]=!0x0,this[_0x4116ca(0x3a2)]['sessionStatus$'][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))['subscribe'](_0x342380=>{const _0x2570cb=_0x4116ca;_0x342380===_0x1b7c3e[_0x2570cb(0x259)][_0x2570cb(0x411)]?this[_0x2570cb(0x238)]():this[_0x2570cb(0x215)]();}),this[_0x4116ca(0x3a2)][_0x4116ca(0x208)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x3c441c=>{const _0x3410c2=_0x4116ca,_0x186d6a=_0x3c441c[_0x3410c2(0x195)];_0x186d6a===_0x191313[_0x3410c2(0x187)][_0x3410c2(0x479)]&&this[_0x3410c2(0x1dd)](_0x3c441c),_0x186d6a===_0x191313['CollaborationEvent'][_0x3410c2(0x254)]&&this['_onCursorDelete'](_0x3c441c);}),this[_0x4116ca(0x2c6)](this[_0x4116ca(0x210)][_0x4116ca(0x1c8)](_0x202a07=>{const _0x3ef1d6=_0x4116ca,_0x3cbbac=_0x202a07[_0x3ef1d6(0x32c)];_0x3cbbac!=null&&this[_0x3ef1d6(0x3f1)]&&_0x202a07['id']===_0x702727[_0x3ef1d6(0x1fd)]['id']&&_0x3cbbac[_0x3ef1d6(0x3ed)]===this[_0x3ef1d6(0x18a)]&&_0x3cbbac[_0x3ef1d6(0x3b3)]===!0x1&&_0x3cbbac[_0x3ef1d6(0x31a)][_0x3ef1d6(0x27e)]>0x0&&this['_updateLocalCursor'](_0x3cbbac[_0x3ef1d6(0x31a)]);})),this[_0x4116ca(0x25b)][_0x4116ca(0x226)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x5dcd16=>{const _0xf4c789=_0x4116ca;if((_0x5dcd16==null?void 0x0:_0x5dcd16['unitID'])!==this[_0xf4c789(0x18a)])return;const _0x427ad7={'eventID':_0x191313[_0xf4c789(0x187)][_0xf4c789(0x479)],'data':_0x5dcd16};this['_onCursorUpdate'](_0x427ad7);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x49d3d4=>{const _0x208b56=_0x4116ca;if(_0x49d3d4[_0x208b56(0x32c)]==null)return;const _0x6d62f8=_0x49d3d4[_0x208b56(0x32c)];if(_0x49d3d4['id']!==_0x702727[_0x208b56(0x3c5)]['id']||_0x6d62f8[_0x208b56(0x3ed)]!==this['unitID'])return;const _0x38a442={'id':_0x208b56(0x319),'params':_0x6d62f8},_0x152b48=this['cursorInfo'];for(const [_0x45e4f2,_0x270c1c]of _0x152b48){const _0x20ff1e={'id':_0x208b56(0x319),'params':{'unitId':this[_0x208b56(0x18a)],'actions':null,'textRanges':_0x270c1c[_0x208b56(0x31a)]}},_0xafdbf8=this[_0x208b56(0x2d0)][_0x208b56(0x1f2)](_0x38a442,_0x20ff1e,!0x1);if(_0x191313[_0x208b56(0x3d1)](_0xafdbf8))throw _0xafdbf8['error'];_0x152b48['set'](_0x45e4f2,{..._0x270c1c,'ranges':_0xafdbf8[_0x208b56(0x2d8)][_0x208b56(0x32c)]['textRanges']});}queueMicrotask(()=>{const _0x4f6094=_0x208b56;this[_0x4f6094(0x289)][_0x4f6094(0x320)](_0x152b48);});})));}[_0x4c5fe4(0x1dd)](_0x960c3a){const _0x609170=_0x4c5fe4;var _0x1d51b7,_0x1be7d0;const {memberID:_0x27a723,selection:_0x436033}=_0x960c3a[_0x609170(0x393)],_0x2b9753=_0x4ba325(_0x436033),_0x20a07a=(_0x1be7d0=(_0x1d51b7=this[_0x609170(0x30d)]['getMember'](this[_0x609170(0x18a)],_0x27a723))==null?void 0x0:_0x1d51b7[_0x609170(0x1a6)])!=null?_0x1be7d0:_0x609170(0x2af),_0x4586f5={'color':this[_0x609170(0x37a)]['assignAColorForMemberID'](_0x27a723),'name':_0x20a07a,'ranges':_0x2b9753},_0x210e6e=this[_0x609170(0x477)];_0x210e6e[_0x609170(0x26a)](_0x27a723,_0x4586f5),this[_0x609170(0x289)][_0x609170(0x320)](_0x210e6e);}[_0x4c5fe4(0x3b4)](_0x2dcbab){const _0x25a7ce=_0x4c5fe4,{memberID:_0xba65f3}=_0x2dcbab[_0x25a7ce(0x393)],_0x2dc61f=this[_0x25a7ce(0x477)];_0x2dc61f[_0x25a7ce(0x250)](_0xba65f3),this[_0x25a7ce(0x289)][_0x25a7ce(0x320)](_0x2dc61f);}[_0x4c5fe4(0x238)](){const _0x58835a=_0x4c5fe4;var _0x20c430;if(this[_0x58835a(0x3f1)]=!0x0,((_0x20c430=this[_0x58835a(0x3a4)][_0x58835a(0x475)]())==null?void 0x0:_0x20c430[_0x58835a(0x1ca)]())!==this[_0x58835a(0x18a)])return;const _0x198b43=this[_0x58835a(0x231)][_0x58835a(0x1c5)](_0x702727[_0x58835a(0x29f)])[_0x58835a(0x317)]();Array[_0x58835a(0x38f)](_0x198b43)&&_0x198b43[_0x58835a(0x27e)]>0x0&&this[_0x58835a(0x3a1)](_0x198b43);}[_0x4c5fe4(0x215)](){const _0x2a4947=_0x4c5fe4;this[_0x2a4947(0x3f1)]=!0x1;}};_0x54f104=_0x45f919([_0x4a3fc4(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x4a3fc4(0x3,_0x513c5a['Inject'](_0x14caec)),_0x4a3fc4(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x4a3fc4(0x5,_0x513c5a[_0x4c5fe4(0x28e)](_0x2ccf5b)),_0x4a3fc4(0x6,_0x191313[_0x4c5fe4(0x281)]),_0x4a3fc4(0x7,_0x513c5a['IUniverInstanceService']),_0x4a3fc4(0x8,_0x513c5a[_0x4c5fe4(0x444)])],_0x54f104);var _0x522130=Object[_0x4c5fe4(0x43d)],_0x381d16=(_0x1992c1,_0xfdcd7f,_0x46d16f,_0x3034f3)=>{const _0x6874a9=_0x4c5fe4;for(var _0xdd22dd=_0x3034f3>0x1?void 0x0:_0x3034f3?_0x522130(_0xfdcd7f,_0x46d16f):_0xfdcd7f,_0x2985d2=_0x1992c1[_0x6874a9(0x27e)]-0x1,_0x244a4c;_0x2985d2>=0x0;_0x2985d2--)(_0x244a4c=_0x1992c1[_0x2985d2])&&(_0xdd22dd=_0x244a4c(_0xdd22dd)||_0xdd22dd);return _0xdd22dd;},_0x5ab50c=(_0x5c5369,_0x44b8b0)=>(_0x26f337,_0x50a8d5)=>_0x44b8b0(_0x26f337,_0x50a8d5,_0x5c5369);const _0x405a88=0x12c,_0x5a4257=0x64,_0x20577e=()=>{let _0x458e43=[],_0x27d7b2=!0x1;return _0x36961f=>{const _0x4f0d27=_0x1a49;_0x458e43[_0x4f0d27(0x1df)](_0x36961f),_0x27d7b2||(_0x27d7b2=!0x0,setTimeout(()=>{const _0x23d1dd=_0x4f0d27;_0x458e43[_0x23d1dd(0x292)](_0x2f86b5=>_0x2f86b5()),_0x458e43=[],_0x27d7b2=!0x1;}));};};let _0x41ce11=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x53a2a6,_0x11354c,_0x41033e,_0xf0476,_0x1be6c7,_0x4fd88d,_0x24c97e,_0x4fc0d2){const _0x5972d9=_0x4c5fe4;super(),_0x49e871(this,_0x5972d9(0x3f1),!0x1),_0x49e871(this,_0x5972d9(0x3d3),!0x1),_0x49e871(this,_0x5972d9(0x289),new _0x44d779[(_0x5972d9(0x47a))](new Map())),_0x49e871(this,_0x5972d9(0x197),this['_cursorInfo$'][_0x5972d9(0x312)]()),_0x49e871(this,_0x5972d9(0x327),new _0x44d779[(_0x5972d9(0x47a))]([])),_0x49e871(this,_0x5972d9(0x303),this[_0x5972d9(0x327)]['pipe'](_0x44d779[_0x5972d9(0x457)](_0x405a88))),_0x49e871(this,_0x5972d9(0x3a1),_0x513c5a[_0x5972d9(0x1b6)]((_0x564f76,_0x2ed13b)=>{const _0xb098bf=_0x5972d9,_0x555978={'eventID':_0x191313[_0xb098bf(0x187)][_0xb098bf(0x479)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xb098bf(0x23b)](),'selection':_0x5f233a[_0xb098bf(0x40f)](_0x564f76,_0x2ed13b[_0xb098bf(0x2de)])}};this[_0xb098bf(0x3a2)]['send'](_0x555978,this[_0xb098bf(0x18a)]);},_0x5a4257)),(this['unitID']=_0x53a2a6,this[_0x5972d9(0x3a2)]=_0x11354c,this[_0x5972d9(0x231)]=_0x41033e,this[_0x5972d9(0x37a)]=_0xf0476,this[_0x5972d9(0x30d)]=_0x1be6c7,this[_0x5972d9(0x3a4)]=_0x4fd88d,this[_0x5972d9(0x210)]=_0x24c97e,this['_refRangeService']=_0x4fc0d2);}get[_0x4c5fe4(0x477)](){const _0xaf7520=_0x4c5fe4;return this[_0xaf7520(0x289)][_0xaf7520(0x40a)]();}get['roomMembers'](){const _0x32a5de=_0x4c5fe4;return this['_roomMembers$'][_0x32a5de(0x40a)]();}[_0x4c5fe4(0x2b1)](){const _0x53c1a6=_0x4c5fe4;super[_0x53c1a6(0x2b1)](),this[_0x53c1a6(0x289)][_0x53c1a6(0x320)](new Map()),this[_0x53c1a6(0x289)][_0x53c1a6(0x30f)](),this['_roomMembers$'][_0x53c1a6(0x320)]([]),this[_0x53c1a6(0x327)][_0x53c1a6(0x30f)]();}[_0x4c5fe4(0x1b2)](){const _0x538052=_0x4c5fe4;this[_0x538052(0x3d3)]||(this['_init']=!0x0,this[_0x538052(0x3a2)][_0x538052(0x46e)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))[_0x538052(0x33d)](_0x5eec8d=>{const _0x3b944b=_0x538052;_0x5eec8d===_0x1b7c3e[_0x3b944b(0x259)][_0x3b944b(0x411)]?this[_0x3b944b(0x238)]():this['_toggleOffline']();}),this[_0x538052(0x3a2)][_0x538052(0x208)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))['subscribe'](_0x4915c9=>{const _0x282fa0=_0x538052,_0x1f7e90=_0x4915c9[_0x282fa0(0x195)];_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x479)]&&this[_0x282fa0(0x1dd)](_0x4915c9),_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x254)]&&this['_onCursorDelete'](_0x4915c9);}),this[_0x538052(0x1dc)](),this[_0x538052(0x2c6)](this[_0x538052(0x210)][_0x538052(0x1c8)](_0x5c6aa1=>{const _0x853c44=_0x538052;if(this[_0x853c44(0x3f1)]&&_0x5c6aa1['id']===_0x314f03[_0x853c44(0x1b3)]['id']&&_0x5c6aa1[_0x853c44(0x32c)][_0x853c44(0x3ed)]===this['unitID']){const _0x3f45f3=_0x5c6aa1['params'];this['_updateLocalCursor'](_0x3f45f3[_0x853c44(0x207)],_0x3f45f3['selections'][0x0]);}})));}['_onCursorUpdate'](_0x4fbaf2){const _0x2d1494=_0x4c5fe4;var _0x3c7521,_0x168a2b;const {memberID:_0xbd4a4,selection:_0x5172f9}=_0x4fbaf2[_0x2d1494(0x393)],{sheetName:_0x18889f,range:_0x5688bd}=_0x5f233a[_0x2d1494(0x363)](_0x5172f9),_0x4bc65c={'name':(_0x168a2b=(_0x3c7521=this['_memberService'][_0x2d1494(0x350)](this[_0x2d1494(0x18a)],_0xbd4a4))==null?void 0x0:_0x3c7521[_0x2d1494(0x1a6)])!=null?_0x168a2b:_0x2d1494(0x2af),'range':this[_0x2d1494(0x1e3)](_0x18889f,_0x5688bd),'sheetID':_0x18889f,'color':this[_0x2d1494(0x37a)][_0x2d1494(0x2bd)](_0xbd4a4),'selection':_0x5172f9},_0xd29ad6=this['cursorInfo'];_0xd29ad6[_0x2d1494(0x26a)](_0xbd4a4,_0x4bc65c),this['_cursorInfo$']['next'](_0xd29ad6);}[_0x4c5fe4(0x3b4)](_0x53ec1a){const _0x42c168=_0x4c5fe4,{memberID:_0x1a518e}=_0x53ec1a[_0x42c168(0x393)],_0x1b9b3a=this[_0x42c168(0x477)];_0x1b9b3a[_0x42c168(0x250)](_0x1a518e),this[_0x42c168(0x289)][_0x42c168(0x320)](_0x1b9b3a);}['_getMergeRange'](_0x5ec400,_0x1bfb5a){const _0x15f5c0=_0x4c5fe4;var _0x475604,_0x2e9c58;const _0x319138=(_0x2e9c58=(_0x475604=this[_0x15f5c0(0x3a4)][_0x15f5c0(0x1ad)](this['unitID']))==null?void 0x0:_0x475604['getSheetBySheetId'](_0x5ec400))==null?void 0x0:_0x2e9c58[_0x15f5c0(0x1ee)]();return(_0x319138==null?void 0x0:_0x319138[_0x15f5c0(0x25d)](_0x34aa6d=>_0x513c5a[_0x15f5c0(0x3b2)][_0x15f5c0(0x22a)](_0x34aa6d,_0x1bfb5a)))||_0x1bfb5a;}['_onRefRangeChange'](){const _0x1eae04=_0x4c5fe4,_0x55b379=new _0x513c5a['DisposableCollection'](),_0x2d75f3=_0x20577e(),_0x5e9b37=()=>{const _0xfd2ec0=_0x1a49;_0x55b379['dispose']();const _0x52ba0c=(_0x2d1c68,_0x231a52,_0x44cb5b,_0x1f3a49)=>{const _0x2d2de7=_0x1a49;let _0x3ea229=[];switch(_0x2d1c68['id']){case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x425)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveLeft'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03['EffectRefRangId'][_0x2d2de7(0x3ac)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveUp'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2da)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x34b)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2dc)]:{_0x3ea229=_0x314f03['handleInsertRangeMoveDown'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x1ed)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x31d)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x37f)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x3b1)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['MoveRangeCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x205)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x38d)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x332)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['RemoveRowCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x41d)](_0x2d1c68,_0x1f3a49);break;}}const _0x393c56=_0x314f03['runRefRangeMutations'](_0x3ea229,_0x1f3a49),_0x2e7d5f=this['cursorInfo'][_0x2d2de7(0x1c5)](_0x231a52);if(_0x2e7d5f&&_0x393c56){const _0x2a4fd6={..._0x2e7d5f,'range':_0x393c56};this['cursorInfo']['set'](_0x231a52,_0x2a4fd6),_0x2d75f3(()=>{const _0x4d2d94=_0x2d2de7,_0xcefe4a=this[_0x4d2d94(0x471)][_0x4d2d94(0x180)](_0x393c56,_0x5f164c=>(_0xcefe4a['dispose'](),_0x52ba0c(_0x5f164c,_0x231a52,_0x44cb5b,_0x393c56)));_0x55b379['add'](_0xcefe4a);});}return{'redos':[],'undos':[]};};this[_0xfd2ec0(0x477)]['forEach']((_0x5d85bf,_0x1a476d)=>{const _0x221fcd=_0xfd2ec0,{range:_0x3ffae6,sheetID:_0x5f3288}=_0x5d85bf,_0x263f9f=this[_0x221fcd(0x471)][_0x221fcd(0x180)](_0x3ffae6,_0x1d07d7=>(_0x263f9f[_0x221fcd(0x2b1)](),_0x52ba0c(_0x1d07d7,_0x1a476d,_0x5f3288,_0x3ffae6)));_0x55b379[_0x221fcd(0x40c)](_0x263f9f);});};this['disposeWithMe'](_0x513c5a[_0x1eae04(0x241)](this[_0x1eae04(0x289)]['subscribe'](()=>{_0x5e9b37();})));}[_0x4c5fe4(0x238)](){const _0x2c591e=_0x4c5fe4;var _0xdd2f42,_0x5248cd;if(this[_0x2c591e(0x3f1)]=!0x0,((_0xdd2f42=this[_0x2c591e(0x3a4)][_0x2c591e(0x475)]())==null?void 0x0:_0xdd2f42[_0x2c591e(0x1ca)]())!==this[_0x2c591e(0x18a)])return;const _0x2d17aa=(_0x5248cd=this[_0x2c591e(0x231)][_0x2c591e(0x1c5)](_0x314f03[_0x2c591e(0x1e2)])[_0x2c591e(0x267)]())==null?void 0x0:_0x5248cd[0x0],_0x4eae35=this['_univerInstanceService'][_0x2c591e(0x45b)](_0x513c5a[_0x2c591e(0x461)][_0x2c591e(0x1cb)])['getActiveSheet']();_0x2d17aa&&_0x4eae35&&this[_0x2c591e(0x3a1)](_0x4eae35[_0x2c591e(0x3da)](),_0x2d17aa);}[_0x4c5fe4(0x215)](){const _0x2d1d59=_0x4c5fe4;this[_0x2d1d59(0x3f1)]=!0x1;}};_0x41ce11=_0x381d16([_0x5ab50c(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x5ab50c(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x14caec)),_0x5ab50c(0x4,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x5ab50c(0x5,_0x513c5a['IUniverInstanceService']),_0x5ab50c(0x6,_0x513c5a[_0x4c5fe4(0x444)]),_0x5ab50c(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x314f03[_0x4c5fe4(0x24f)]))],_0x41ce11);var _0x6a08ce=Object['getOwnPropertyDescriptor'],_0x44916c=(_0x3534d7,_0x8c4b60,_0x20d63b,_0x55621f)=>{const _0xf86db7=_0x4c5fe4;for(var _0x368b73=_0x55621f>0x1?void 0x0:_0x55621f?_0x6a08ce(_0x8c4b60,_0x20d63b):_0x8c4b60,_0x5e9692=_0x3534d7[_0xf86db7(0x27e)]-0x1,_0x2be432;_0x5e9692>=0x0;_0x5e9692--)(_0x2be432=_0x3534d7[_0x5e9692])&&(_0x368b73=_0x2be432(_0x368b73)||_0x368b73);return _0x368b73;},_0x18f688=(_0x1cd96c,_0x5104c7)=>(_0x5b703e,_0x55a65e)=>_0x5104c7(_0x5b703e,_0x55a65e,_0x1cd96c);let _0xdc7b15=class extends _0x513c5a['RxDisposable']{constructor(_0x2a46d0,_0x38ee7b,_0x251c03){const _0x5a4f5a=_0x4c5fe4;super(),_0x49e871(this,_0x5a4f5a(0x39c),new Map()),_0x49e871(this,_0x5a4f5a(0x3ab),new _0x44d779[(_0x5a4f5a(0x304))]()),(this[_0x5a4f5a(0x3a4)]=_0x2a46d0,this[_0x5a4f5a(0x231)]=_0x38ee7b,this[_0x5a4f5a(0x1da)]=_0x251c03,this[_0x5a4f5a(0x3d3)]());}['dispose'](){const _0x570296=_0x4c5fe4;super[_0x570296(0x2b1)](),this[_0x570296(0x3ab)]['complete'](),this[_0x570296(0x39c)]['forEach'](_0x5bdcb0=>_0x5bdcb0[_0x570296(0x2b1)]());}[_0x4c5fe4(0x467)](_0x4ab56a){const _0x47afeb=_0x4c5fe4;return this['_entities'][_0x47afeb(0x3c0)](_0x4ab56a)?this[_0x47afeb(0x39c)][_0x47afeb(0x1c5)](_0x4ab56a)[_0x47afeb(0x197)]:this['_entityInit$'][_0x47afeb(0x23c)](_0x44d779[_0x47afeb(0x335)](_0x53c369=>_0x53c369['unitID']===_0x4ab56a),_0x44d779[_0x47afeb(0x452)](_0x538afc=>_0x538afc[_0x47afeb(0x197)]));}[_0x4c5fe4(0x3d3)](){const _0x1bd501=_0x4c5fe4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET'])['pipe'](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))['subscribe'](async _0x5895d2=>{const _0x447e49=_0x1bd501,_0x186af2=_0x5895d2[_0x447e49(0x1ca)](),_0x2dd57d=await this[_0x447e49(0x237)](_0x186af2);this[_0x447e49(0x3ab)][_0x447e49(0x320)](_0x2dd57d),this[_0x447e49(0x39c)][_0x447e49(0x26a)](_0x186af2,_0x2dd57d);}),this[_0x1bd501(0x3a4)]['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)])[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x335)](_0x4e138f=>!_0x4e138f[_0x1bd501(0x1ca)]()[_0x1bd501(0x2ba)]('__')))[_0x1bd501(0x33d)](async _0x1f599b=>{const _0x27f6aa=_0x1bd501,_0x1cb26e=_0x1f599b[_0x27f6aa(0x1ca)](),_0x34c0b5=await this[_0x27f6aa(0x1c1)](_0x1cb26e);this['_entityInit$'][_0x27f6aa(0x320)](_0x34c0b5),this['_entities'][_0x27f6aa(0x26a)](_0x1cb26e,_0x34c0b5);}),_0x44d779[_0x1bd501(0x225)](this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)]),this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET']))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x33d)](_0xf47bbe=>{const _0x4fbfde=_0x1bd501,_0x1c5caf=_0xf47bbe['getUnitId'](),_0xf7c75a=this['_entities'][_0x4fbfde(0x1c5)](_0x1c5caf);_0xf7c75a&&(_0xf7c75a[_0x4fbfde(0x2b1)](),this[_0x4fbfde(0x39c)][_0x4fbfde(0x250)](_0x1c5caf));});}async[_0x4c5fe4(0x237)](_0x542739){const _0x3fc6a3=_0x4c5fe4,_0x2ec247=await this[_0x3fc6a3(0x1da)]['requireSession'](_0x542739),_0x35c430=this['_injector'][_0x3fc6a3(0x1cd)](_0x41ce11,_0x542739,_0x2ec247);return _0x35c430[_0x3fc6a3(0x1b2)](),_0x35c430;}async[_0x4c5fe4(0x1c1)](_0x4088cd){const _0x126d98=_0x4c5fe4,_0x57cfda=await this[_0x126d98(0x1da)][_0x126d98(0x185)](_0x4088cd),_0xfba633=this[_0x126d98(0x231)][_0x126d98(0x1cd)](_0x54f104,_0x4088cd,_0x57cfda);return _0xfba633[_0x126d98(0x1b2)](),_0xfba633;}};_0xdc7b15=_0x44916c([_0x18f688(0x0,_0x513c5a['IUniverInstanceService']),_0x18f688(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x18f688(0x2,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xdc7b15);const _0x41d721=0x14,_0x4ab5bf=0xc8,_0x38b806=0x4,_0x3cccb2=0x5;function _0xf5be64(_0x5087bb,_0x552c7a){const _0x246c8f=_0x4c5fe4;let {radius:_0x25055a,width:_0x2e36c9,height:_0x3f691b}=_0x552c7a;_0x25055a=_0x25055a!=null?_0x25055a:0x0,_0x2e36c9=_0x2e36c9!=null?_0x2e36c9:0x1e,_0x3f691b=_0x3f691b!=null?_0x3f691b:0x1e;let _0x301f45=0x0,_0x1587d2=0x0,_0x41eeb8=0x0;_0x301f45=_0x1587d2=_0x41eeb8=Math[_0x246c8f(0x284)](_0x25055a,_0x2e36c9/0x2,_0x3f691b/0x2),_0x5087bb[_0x246c8f(0x1d1)](),_0x5087bb[_0x246c8f(0x462)](_0x301f45,0x0),_0x5087bb['lineTo'](_0x2e36c9-_0x1587d2,0x0),_0x5087bb['arc'](_0x2e36c9-_0x1587d2,_0x1587d2,_0x1587d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5087bb[_0x246c8f(0x333)](_0x2e36c9,_0x3f691b-_0x41eeb8),_0x5087bb[_0x246c8f(0x3ec)](_0x2e36c9-_0x41eeb8,_0x3f691b-_0x41eeb8,_0x41eeb8,0x0,Math['PI']/0x2,!0x1),_0x5087bb[_0x246c8f(0x333)](0x0,_0x3f691b),_0x5087bb['lineTo'](0x0,_0x301f45),_0x5087bb[_0x246c8f(0x3ec)](_0x301f45,_0x301f45,_0x301f45,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5087bb[_0x246c8f(0x3e5)](),_0x552c7a[_0x246c8f(0x1ab)]&&(_0x5087bb[_0x246c8f(0x2d7)](),_0x5087bb[_0x246c8f(0x342)]=_0x552c7a[_0x246c8f(0x1ab)],_0x552c7a[_0x246c8f(0x230)]==='evenodd'?_0x5087bb[_0x246c8f(0x1ab)](_0x246c8f(0x2f0)):_0x5087bb[_0x246c8f(0x1ab)](),_0x5087bb[_0x246c8f(0x283)]());}class _0x237d4b extends _0x4672ea[_0x4c5fe4(0x1b7)]{constructor(_0x560293,_0x297f08){const _0x121e0e=_0x4c5fe4;super(_0x560293,_0x297f08),_0x49e871(this,'color'),_0x49e871(this,'text'),(this[_0x121e0e(0x2c7)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2c7)],this[_0x121e0e(0x2d6)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2d6)]);}static['drawWith'](_0x3e72ff,_0x5aefdb){const _0xfaf664=_0x4c5fe4,{text:_0x4a8d42,color:_0x330477}=_0x5aefdb;_0x3e72ff[_0xfaf664(0x2d7)](),_0x3e72ff[_0xfaf664(0x448)]=_0xfaf664(0x424);const _0x389b14=_0x3e72ff[_0xfaf664(0x40b)](_0x4a8d42)[_0xfaf664(0x36b)],_0x4c21a7=Math[_0xfaf664(0x284)](_0x389b14+0x2*_0x38b806,_0x4ab5bf);_0xf5be64(_0x3e72ff,{'height':_0x41d721,'radius':0x4,'width':_0x4c21a7,'fill':_0x330477}),_0x3e72ff[_0xfaf664(0x342)]=_0xfaf664(0x389);const _0xf61b0f=_0x38b806,_0xfd4dd3=_0x41d721-_0x3cccb2,_0x378845=_0x4ab5bf-0x2*_0x38b806;if(_0x389b14>_0x378845){let _0x422539='',_0x4577d9=0x0;for(const _0x3abd8e of _0x4a8d42){const _0x4c63a3=_0x3e72ff[_0xfaf664(0x40b)](_0x3abd8e)[_0xfaf664(0x36b)];if(_0x4577d9+_0x4c63a3<=_0x378845-_0x3e72ff['measureText'](_0xfaf664(0x472))[_0xfaf664(0x36b)])_0x422539+=_0x3abd8e,_0x4577d9+=_0x4c63a3;else{_0x422539+='...';break;}}_0x3e72ff[_0xfaf664(0x3e9)](_0x422539,_0xf61b0f,_0xfd4dd3);}else _0x3e72ff[_0xfaf664(0x3e9)](_0x4a8d42,_0xf61b0f,_0xfd4dd3);_0x3e72ff[_0xfaf664(0x283)]();}[_0x4c5fe4(0x390)](_0x4c5ec6){_0x237d4b['drawWith'](_0x4c5ec6,this);}}const _0x50f0a4=_0x4c5fe4(0x2c8),_0x26ed96=_0x4c5fe4(0x240),_0x3f7907=_0x4c5fe4(0x385),_0x1a60dc=0x6,_0x5c8d0f=1.5,_0x1fda6e=0x4,_0x4b4725=1.5,_0x4a7cdc=_0x4c5fe4(0x1a2);class _0x1fcc5b{constructor(_0x262c81,_0x599fc5,_0xfa260b,_0x4b7e76){const _0x5833b7=_0x4c5fe4;_0x49e871(this,_0x5833b7(0x188),[]),_0x49e871(this,_0x5833b7(0x321),null),_0x49e871(this,'_textBubble',null),_0x49e871(this,_0x5833b7(0x3ce),null),_0x49e871(this,_0x5833b7(0x2f4),null),_0x49e871(this,_0x5833b7(0x309),null),(this['_cursor']=_0x262c81,this[_0x5833b7(0x3ae)]=_0x599fc5,this[_0x5833b7(0x26d)]=_0xfa260b,this[_0x5833b7(0x456)]=_0x4b7e76,this[_0x5833b7(0x196)]());}set[_0x4c5fe4(0x243)](_0x48280e){const _0x1d17b1=_0x4c5fe4;_0x48280e?(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['hide'](),this[_0x1d17b1(0x200)]&&this['_textBubble'][_0x1d17b1(0x218)]()):(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['show'](),this[_0x1d17b1(0x200)]&&this[_0x1d17b1(0x200)][_0x1d17b1(0x355)]());}['dispose'](){const _0x549051=_0x4c5fe4;for(const _0x42c5af of this[_0x549051(0x188)])_0x42c5af['dispose']();this[_0x549051(0x200)]&&this[_0x549051(0x200)][_0x549051(0x2b1)](),this[_0x549051(0x3ce)]&&this[_0x549051(0x3ce)][_0x549051(0x2b1)](),this[_0x549051(0x321)]&&this[_0x549051(0x321)][_0x549051(0x2b1)](),this[_0x549051(0x309)]&&this[_0x549051(0x309)]();}[_0x4c5fe4(0x196)](){const _0x2c4d09=_0x4c5fe4;var _0x2377e3;const {_docSkeleton:_0x314ea2,_document:_0x59cbfb}=this,{color:_0x37920d,name:_0x3e519b,ranges:_0x4add65}=this['_cursor'],_0x48e94e=_0x59cbfb[_0x2c4d09(0x1c4)](),{docsLeft:_0x2c58a3,docsTop:_0x232dd1}=_0x48e94e,_0x300b68=new _0x216a55[(_0x2c4d09(0x3f8))](_0x48e94e,_0x314ea2);for(const {startOffset:_0x21ebf2,endOffset:_0x569c7e,rangeType:_0x46f490,segmentId:_0x314465,segmentPage:_0x1f84b7,collapsed:_0x14c1c0,isActive:_0x589f2c}of _0x4add65){const _0x4ed591=_0x314ea2[_0x2c4d09(0x395)](_0x21ebf2,!0x0,_0x314465,_0x1f84b7);let _0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e,!0x0,_0x314465,_0x1f84b7);if(_0x40c21f==null&&(_0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e-0x1,!0x1,_0x314465,_0x1f84b7)),_0x589f2c){const {contentBoxPointGroup:_0x36ce1c}=_0x300b68[_0x2c4d09(0x1eb)](_0x40c21f,_0x40c21f);if(_0x36ce1c[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x3e6)](_0x37920d,_0x36ce1c,_0x2c58a3,_0x232dd1,_0x3e519b),this[_0x2c4d09(0x309)]=this[_0x2c4d09(0x279)]();}if(_0x4ed591&&_0x40c21f){if(_0x46f490===_0x513c5a['DOC_RANGE_TYPE'][_0x2c4d09(0x474)]){const _0xc10caa=new _0x216a55['NodePositionConvertToRectRange'](_0x48e94e,_0x314ea2),{pointGroup:_0x5ca560}=(_0x2377e3=_0xc10caa['getRangePointData'](_0x4ed591,_0x40c21f))!=null?_0x2377e3:{};if(_0x5ca560==null||_0x5ca560[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x29b)](_0x37920d,_0x5ca560,_0x2c58a3,_0x232dd1);}else{if(!_0x14c1c0){const {borderBoxPointGroup:_0x52f20d}=_0x300b68[_0x2c4d09(0x1eb)](_0x4ed591,_0x40c21f);if(_0x52f20d[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x1d4)](_0x37920d,_0x52f20d,_0x2c58a3,_0x232dd1);}}}}}[_0x4c5fe4(0x3e6)](_0x3d3ec1,_0x40f04b,_0x3352a1,_0x3a9266,_0x60e5a8){const _0x2b4cb2=_0x4c5fe4,_0x1ee645=this[_0x2b4cb2(0x18b)](_0x40f04b),{left:_0x314c21,top:_0x4e8e71,height:_0x63e08c}=_0x1ee645,_0x5e315e=this[_0x2b4cb2(0x3df)](),_0x491e0f=_0x4b4725/_0x5e315e,_0x2a8001=new _0x4672ea[(_0x2b4cb2(0x17f))](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266,'height':_0x63e08c,'width':_0x5c8d0f,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':_0x491e0f,'stroke':_0x4a7cdc,'evented':!0x0});this['_anchor']=_0x2a8001,this[_0x2b4cb2(0x3ae)]['addObject'](_0x2a8001,_0x216a55[_0x2b4cb2(0x24d)]);const _0x56514e=new _0x4672ea['Rect'](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x1fda6e/0x2,'height':_0x1fda6e,'width':_0x1fda6e,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':0x0,'stroke':_0x3d3ec1||_0x4672ea['getColor'](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'evented':!0x1});this['_anchorDot']=_0x56514e,this['_scene'][_0x2b4cb2(0x296)](_0x56514e,_0x216a55[_0x2b4cb2(0x24d)]);const _0x5197d5=new _0x237d4b(_0x50f0a4+_0x513c5a['generateRandomId'](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x41d721,'text':_0x60e5a8,'color':_0x3d3ec1});this[_0x2b4cb2(0x200)]=_0x5197d5,this['_scene']['addObject'](_0x5197d5,_0x216a55[_0x2b4cb2(0x24d)]),this['_hover']=!0x1;}[_0x4c5fe4(0x279)](){const _0x17706d=_0x4c5fe4,_0x3dab0c=this['_anchor'][_0x17706d(0x38c)]['subscribeEvent'](()=>{const _0xab1806=_0x17706d;this[_0xab1806(0x243)]=!0x0;}),_0x43b421=this['_anchor'][_0x17706d(0x1b5)][_0x17706d(0x3fa)](()=>{const _0x3d08a6=_0x17706d;this[_0x3d08a6(0x2f4)]&&clearTimeout(this[_0x3d08a6(0x2f4)]),this[_0x3d08a6(0x2f4)]=setTimeout(()=>{const _0x23d409=_0x3d08a6;this[_0x23d409(0x243)]=!0x1;},0x7d0);});return()=>{const _0x224768=_0x17706d;_0x3dab0c[_0x224768(0x349)](),_0x43b421[_0x224768(0x349)]();};}[_0x4c5fe4(0x1d4)](_0x423c35,_0x452373,_0x38a7f0,_0x50ca72){const _0xb711e8=_0x4c5fe4,_0x42f1c9=new _0x513c5a[(_0xb711e8(0x35b))](_0x423c35)[_0xb711e8(0x245)](0.2)[_0xb711e8(0x29c)](),_0x587f56=new _0x4672ea['RegularPolygon'](_0x26ed96+_0x513c5a[_0xb711e8(0x345)](_0x1a60dc),{'pointsGroup':_0x452373,'fill':_0x42f1c9||_0x4672ea[_0xb711e8(0x3ea)](_0x513c5a[_0xb711e8(0x35d)][_0xb711e8(0x37b)],0.2),'left':_0x38a7f0,'top':_0x50ca72,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb711e8(0x1df)](_0x587f56),this[_0xb711e8(0x3ae)][_0xb711e8(0x296)](_0x587f56,_0x216a55['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x14a310,_0x1a3025,_0x356bfb,_0x4ffa59){const _0x89a7c6=_0x4c5fe4,_0x350793=new _0x513c5a[(_0x89a7c6(0x35b))](_0x14a310)[_0x89a7c6(0x245)](0.2)[_0x89a7c6(0x29c)](),_0x49988f=new _0x4672ea[(_0x89a7c6(0x419))](_0x3f7907+_0x513c5a[_0x89a7c6(0x345)](_0x1a60dc),{'pointsGroup':_0x1a3025,'fill':_0x350793||_0x4672ea['getColor'](_0x513c5a[_0x89a7c6(0x35d)][_0x89a7c6(0x37b)],0.2),'left':_0x356bfb,'top':_0x4ffa59,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x89a7c6(0x188)]['push'](_0x49988f),this[_0x89a7c6(0x3ae)][_0x89a7c6(0x296)](_0x49988f,_0x216a55[_0x89a7c6(0x24d)]);}['_getAnchorBounding'](_0x215766){const _0x2289e9=_0x215766[0x0],_0x128735=_0x2289e9[0x0],_0x503e3c=_0x2289e9[0x2],{x:_0x160949,y:_0x6d5008}=_0x128735,{x:_0x5ebd3e,y:_0x4226dd}=_0x503e3c;return{'left':_0x160949,'top':_0x6d5008,'width':_0x5ebd3e-_0x160949,'height':_0x4226dd-_0x6d5008};}[_0x4c5fe4(0x3df)](){const _0x50229b=_0x4c5fe4,{scaleX:_0x274999,scaleY:_0x5a7c4c}=this[_0x50229b(0x3ae)][_0x50229b(0x2e5)]();return Math[_0x50229b(0x3f7)](_0x274999,_0x5a7c4c);}}var _0xbefc97=Object['getOwnPropertyDescriptor'],_0x3d876a=(_0x3947bf,_0x3c80a9,_0x55ead2,_0x1f3df8)=>{for(var _0x4e700c=_0x1f3df8>0x1?void 0x0:_0x1f3df8?_0xbefc97(_0x3c80a9,_0x55ead2):_0x3c80a9,_0x42af32=_0x3947bf['length']-0x1,_0x2af0f6;_0x42af32>=0x0;_0x42af32--)(_0x2af0f6=_0x3947bf[_0x42af32])&&(_0x4e700c=_0x2af0f6(_0x4e700c)||_0x4e700c);return _0x4e700c;},_0x212355=(_0x1fbd81,_0x246c4c)=>(_0x54db30,_0x281e92)=>_0x246c4c(_0x54db30,_0x281e92,_0x1fbd81);let _0x373cd3=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x34197a,_0x4aaf9f,_0x2adc67,_0x2211cd,_0x1ab1a6){const _0x21ff84=_0x4c5fe4;super(),_0x49e871(this,'_cursorShapes',[]),_0x49e871(this,_0x21ff84(0x3e7),[]),(this['_context']=_0x34197a,this[_0x21ff84(0x2a6)]=_0x4aaf9f,this[_0x21ff84(0x23a)]=_0x2adc67,this[_0x21ff84(0x210)]=_0x2211cd,this[_0x21ff84(0x212)]=_0x1ab1a6,this['_init']());}['_init'](){const _0xf81c88=_0x4c5fe4,_0x538000=this[_0xf81c88(0x3c8)][_0xf81c88(0x3ed)],_0x506454=this[_0xf81c88(0x2a6)];this['disposeWithMe'](_0x44d779['combineLatest']([this['_collabCursorController'][_0xf81c88(0x467)](_0x538000),this[_0xf81c88(0x212)][_0xf81c88(0x3a7)]])[_0xf81c88(0x23c)](_0x523890['map'](([_0xad5e32,_0x4a37a9])=>({'skeleton':_0x506454[_0xf81c88(0x379)](),'cursors':[..._0xad5e32[_0xf81c88(0x258)]()][_0xf81c88(0x430)](_0x4f7be7=>({..._0x4f7be7,'color':this['_themeService'][_0xf81c88(0x18c)](_0x4f7be7['color'])}))})))[_0xf81c88(0x33d)](_0x804143=>{const _0x2fcd27=_0xf81c88;if(this[_0x2fcd27(0x37c)](),_0x804143){const {skeleton:_0x4e1c55,cursors:_0x2a4b25}=_0x804143;this[_0x2fcd27(0x450)](_0x4e1c55,_0x2a4b25);}})),this[_0xf81c88(0x325)](),this['_initCommandExecutedListener']();}[_0x4c5fe4(0x450)](_0x3d9aa9,_0x2e2105){const _0x26ef7c=_0x4c5fe4,{scene:_0x469bd2,mainComponent:_0x4f8b4a}=this['_context'],_0x564b16=_0x2e2105[_0x26ef7c(0x2b4)](_0xd8f9c6=>new _0x1fcc5b(_0xd8f9c6,_0x469bd2,_0x3d9aa9,_0x4f8b4a));this[_0x26ef7c(0x2f8)]=_0x564b16,this[_0x26ef7c(0x3e7)]=_0x2e2105;}[_0x4c5fe4(0x414)](){const _0x45e918=_0x4c5fe4;this['_removeCollabCursors']();const {scene:_0x179c85,mainComponent:_0x53eee1}=this[_0x45e918(0x3c8)],_0x3d955c=this[_0x45e918(0x2a6)]['getSkeleton'](),_0x48fd01=this[_0x45e918(0x3e7)][_0x45e918(0x2b4)](_0x10bc93=>new _0x1fcc5b(_0x10bc93,_0x179c85,_0x3d955c,_0x53eee1));this[_0x45e918(0x2f8)]=_0x48fd01;}[_0x4c5fe4(0x37c)](){const _0xe6c576=_0x4c5fe4;this[_0xe6c576(0x2f8)][_0xe6c576(0x292)](_0x4ceed2=>_0x4ceed2[_0xe6c576(0x2b1)]()),this['_cursorShapes']=[];}[_0x4c5fe4(0x1f8)](){const _0x358237=_0x4c5fe4,_0x16b849=[_0x216a55[_0x358237(0x2e7)]['id']];this['disposeWithMe'](this[_0x358237(0x210)][_0x358237(0x1c8)](_0xcbcd95=>{const _0x253bdf=_0x358237;_0x16b849[_0x253bdf(0x1ec)](_0xcbcd95['id'])&&_0xcbcd95['params'][_0x253bdf(0x3ed)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x4c5fe4(0x325)](){const _0x2187ed=_0x4c5fe4;this[_0x2187ed(0x2c6)](_0x513c5a[_0x2187ed(0x277)](this[_0x2187ed(0x3c8)]['engine'][_0x2187ed(0x438)])[_0x2187ed(0x23c)](_0x523890[_0x2187ed(0x335)](_0x4d8614=>_0x4d8614[_0x2187ed(0x406)]===_0x4672ea[_0x2187ed(0x36e)]['resize']),_0x523890[_0x2187ed(0x2c1)](0x10))[_0x2187ed(0x33d)](()=>{const _0x2c69b9=_0x2187ed;this[_0x2c69b9(0x414)]();}));}};_0x373cd3=_0x3d876a([_0x212355(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x702727[_0x4c5fe4(0x2a9)])),_0x212355(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0xdc7b15)),_0x212355(0x3,_0x513c5a[_0x4c5fe4(0x444)]),_0x212355(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['ThemeService']))],_0x373cd3);const _0x340e35=0x1,_0x58c9f6=1.5;class _0x39b2dd extends _0x4672ea['Shape']{constructor(_0x5b29a7,_0x8af52e){const _0xc9713c=_0x4c5fe4;super(_0x5b29a7,_0x8af52e),_0x49e871(this,_0xc9713c(0x22f)),_0x49e871(this,_0xc9713c(0x3be),!0x1),_0x49e871(this,_0xc9713c(0x3b7)),_0x49e871(this,_0xc9713c(0x18d),''),_0x49e871(this,_0xc9713c(0x365),_0xc9713c(0x2bc)),_0x49e871(this,'_backgroundColor'),(_0x8af52e&&this[_0xc9713c(0x1fb)](_0x8af52e),this[_0xc9713c(0x38c)]['subscribeEvent'](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x0})),this[_0xc9713c(0x1b5)][_0xc9713c(0x3fa)](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x1})));}[_0x4c5fe4(0x1fb)](_0x714b){const _0x11b817=_0x4c5fe4;var _0x3697c2,_0x7f991d,_0xcff832,_0x539a4f,_0x7b8183,_0x3e5613;this[_0x11b817(0x22f)]=(_0x3697c2=_0x714b[_0x11b817(0x2c7)])!=null?_0x3697c2:this[_0x11b817(0x22f)],this[_0x11b817(0x3be)]=(_0x7f991d=_0x714b['hovered'])!=null?_0x7f991d:this[_0x11b817(0x3be)],this['_range']=(_0xcff832=_0x714b[_0x11b817(0x2de)])!=null?_0xcff832:this[_0x11b817(0x3b7)],this[_0x11b817(0x18d)]=(_0x539a4f=_0x714b[_0x11b817(0x1a6)])!=null?_0x539a4f:this[_0x11b817(0x18d)],this[_0x11b817(0x365)]=(_0x7b8183=_0x714b[_0x11b817(0x220)])!=null?_0x7b8183:this['_labelPosition'],this[_0x11b817(0x306)]=(_0x3e5613=_0x714b['backgroundColor'])!=null?_0x3e5613:this[_0x11b817(0x306)],this[_0x11b817(0x17e)]({'width':_0x714b[_0x11b817(0x36b)],'height':_0x714b['height']});}[_0x4c5fe4(0x1fe)](_0xaed046){const _0x485c6d=_0x4c5fe4,{row:_0x12653a,column:_0x4282d4}=_0xaed046;if(_0x12653a>=this[_0x485c6d(0x3b7)][_0x485c6d(0x214)]&&_0x12653a<=this[_0x485c6d(0x3b7)][_0x485c6d(0x46d)]&&_0x4282d4>=this[_0x485c6d(0x3b7)]['startColumn']&&_0x4282d4<=this[_0x485c6d(0x3b7)]['endColumn']){this[_0x485c6d(0x1fb)]({'hovered':!0x0});return;}this[_0x485c6d(0x1fb)]({'hovered':!0x1});}[_0x4c5fe4(0x305)](_0x3d7f08){return!0x1;}[_0x4c5fe4(0x390)](_0x4b2c68){const _0x54ac81=_0x4c5fe4;_0x4672ea[_0x54ac81(0x17f)][_0x54ac81(0x466)](_0x4b2c68,{'width':this[_0x54ac81(0x36b)],'height':this[_0x54ac81(0x272)],'strokeWidth':_0x58c9f6,'stroke':this[_0x54ac81(0x22f)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x54ac81(0x3be)]&&(_0x4b2c68['save'](),_0x4b2c68[_0x54ac81(0x428)](0x1,0x0,0x0,0x1,this[_0x54ac81(0x36b)],this[_0x54ac81(0x365)]===_0x54ac81(0x442)?0x0:-_0x41d721),_0x237d4b['drawWith'](_0x4b2c68,{'text':this[_0x54ac81(0x18d)],'color':this[_0x54ac81(0x22f)]}),_0x4b2c68[_0x54ac81(0x283)]());}}var _0x54c704=Object['getOwnPropertyDescriptor'],_0x95784e=(_0x413c2c,_0x44070b,_0x3e539a,_0x285c06)=>{for(var _0x29b5a3=_0x285c06>0x1?void 0x0:_0x285c06?_0x54c704(_0x44070b,_0x3e539a):_0x44070b,_0x26b24d=_0x413c2c['length']-0x1,_0x151c2f;_0x26b24d>=0x0;_0x26b24d--)(_0x151c2f=_0x413c2c[_0x26b24d])&&(_0x29b5a3=_0x151c2f(_0x29b5a3)||_0x29b5a3);return _0x29b5a3;},_0x5f2ddf=(_0x23103c,_0x574268)=>(_0x3121c5,_0x45efe5)=>_0x574268(_0x3121c5,_0x45efe5,_0x23103c);const _0x3565ed=0x1389;let _0x13ef75=class extends _0x513c5a['RxDisposable']{constructor(_0x470f07,_0xcf8861,_0x1150df,_0xa003b6){const _0x1dd531=_0x4c5fe4;super(),_0x49e871(this,'_cursors',new Set()),_0x49e871(this,_0x1dd531(0x2b5),null),(this['_context']=_0x470f07,this[_0x1dd531(0x3b9)]=_0xcf8861,this['_collabCursorController']=_0x1150df,this[_0x1dd531(0x212)]=_0xa003b6,this[_0x1dd531(0x3d3)]());}[_0x4c5fe4(0x3d3)](){const _0x5283cb=_0x4c5fe4;this[_0x5283cb(0x3b9)]['currentSkeleton$']['pipe'](_0x523890[_0x5283cb(0x22b)](this[_0x5283cb(0x256)]),_0x523890[_0x5283cb(0x452)](_0x4cd7d5=>{const _0x163f67=_0x5283cb;if(_0x4cd7d5){const _0xaec9f=_0x4cd7d5['sheetId'];return _0x44d779['combineLatest'](this[_0x163f67(0x23a)][_0x163f67(0x467)](this['_context'][_0x163f67(0x3ed)]),this[_0x163f67(0x212)][_0x163f67(0x3a7)])[_0x163f67(0x23c)](_0x523890[_0x163f67(0x2b4)](([_0x29840a,_0x462e68])=>{const _0x20ccc1=new Map();return _0x29840a['forEach']((_0x1a2bd9,_0xe95a7b)=>{const _0x281927=_0x1a49;if(_0x1a2bd9[_0x281927(0x383)]===_0xaec9f){const _0x56d77d={..._0x1a2bd9};_0x56d77d[_0x281927(0x2c7)]=this[_0x281927(0x212)]['getColorFromTheme'](_0x1a2bd9[_0x281927(0x2c7)]),_0x20ccc1[_0x281927(0x26a)](_0xe95a7b,_0x56d77d);}}),{'skeleton':_0x4cd7d5,'cursors':_0x20ccc1};}));}return _0x44d779['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9f835,cursors:_0x5d72e1})=>{const _0x4c4c46=_0x5283cb;this['_removeCollabCursors'](),_0x9f835&&this[_0x4c4c46(0x450)](_0x9f835,_0x5d72e1);}),this[_0x5283cb(0x3b9)][_0x5283cb(0x1ae)][_0x5283cb(0x33d)](_0x47e6e5=>{const _0x391ca5=_0x5283cb;if(_0x47e6e5==null)return;const {skeleton:_0xd30ed6}=_0x47e6e5,{scene:_0x53b186}=this[_0x391ca5(0x3c8)];_0x53b186[_0x391ca5(0x42b)]['subscribeEvent'](_0x513c5a[_0x391ca5(0x1b6)](_0x474c9a=>{const _0x20017a=_0x391ca5;var _0x3f4cb5,_0x5b97b0;const {offsetX:_0xdbd922,offsetY:_0x1322b2}=_0x474c9a,{x:_0x2a3377,y:_0x40612a}=_0x53b186['getRelativeToViewportCoord'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0xdbd922,_0x1322b2])),{scaleX:_0x2d4188,scaleY:_0x1e965e}=_0x53b186['getAncestorScale'](),_0x1e8639=_0x53b186['getViewport'](_0x4672ea[_0x20017a(0x360)][_0x20017a(0x3b6)]),_0x5112af=_0x53b186['getVpScrollXYInfoByPosToVp'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0x2a3377,_0x40612a]),_0x1e8639),_0x3af268=_0xd30ed6[_0x20017a(0x209)](_0xdbd922,_0x1322b2,_0x2d4188,_0x1e965e,_0x5112af);((_0x3f4cb5=this[_0x20017a(0x2b5)])==null?void 0x0:_0x3f4cb5[_0x20017a(0x46c)])===_0x3af268['column']&&((_0x5b97b0=this[_0x20017a(0x2b5)])==null?void 0x0:_0x5b97b0[_0x20017a(0x459)])===_0x3af268[_0x20017a(0x459)]||this['_cursors'][_0x20017a(0x292)](_0x5b163c=>{_0x5b163c['onMouseMove'](_0x3af268);});},0x64));});}[_0x4c5fe4(0x450)](_0x488881,_0x539811){const _0x3915ce=_0x4c5fe4;var _0x857427;const _0x1fd78b=(_0x857427=this['_sheetSkeletonManagerService'][_0x3915ce(0x236)]())==null?void 0x0:_0x857427[_0x3915ce(0x311)];if(!_0x1fd78b)return;const _0x34e264=this[_0x3915ce(0x2f7)]();if(!_0x34e264)return;this[_0x3915ce(0x3e7)][_0x3915ce(0x292)](_0x2ef712=>{const _0x4d062e=_0x3915ce;_0x2ef712[_0x4d062e(0x357)]();});const {scene:_0x14f2ff}=_0x34e264,_0xf814f5=_0x4c2272(Array[_0x3915ce(0x2e2)](_0x539811[_0x3915ce(0x258)]()))['map'](_0x51978d=>{const _0xad91f8=_0x3915ce,{color:_0x1ba5a4,range:_0x612d02,name:_0x2037ed,selection:_0x25a411,sheetID:_0x171df0}=_0x51978d,{startColumn:_0x59d0df,startRow:_0x28393e,endColumn:_0x4aa38b,endRow:_0x3d4cb5}=_0x612d02,_0x175584=_0x33b767['getCoordByCell'](_0x28393e,_0x59d0df,_0x14f2ff,_0x1fd78b),_0x449877=_0x33b767['getCoordByCell'](_0x3d4cb5,_0x4aa38b,_0x14f2ff,_0x1fd78b),{columnHeaderHeightAndMarginTop:_0x45e4ab}=_0x1fd78b,{startX:_0x395f88,startY:_0x4be987}=_0x175584,{endX:_0x2fa036,endY:_0x34bd3d}=_0x449877,_0x11f286=_0x2fa036-_0x395f88,_0x30f6b9=_0x34bd3d-_0x4be987,_0xd5770d={'labelPosition':_0x4be987-_0x45e4ab>=_0x41d721?_0xad91f8(0x2bc):'bottom','sheetID':_0x171df0,'range':_0x612d02,'color':_0x1ba5a4,'name':_0x2037ed,'selection':_0x25a411,'left':_0x395f88,'top':_0x4be987,'width':_0x11f286,'height':_0x30f6b9,'evented':!0x1,'zIndex':_0x3565ed};return new _0x39b2dd(_0x2037ed,_0xd5770d);});_0x14f2ff[_0x3915ce(0x2ea)](_0xf814f5,_0x340e35),this[_0x3915ce(0x3e7)]=new Set(_0xf814f5);}[_0x4c5fe4(0x37c)](){const _0x2d35df=_0x4c5fe4;var _0x4a97b5;(_0x4a97b5=this[_0x2d35df(0x3e7)])==null||_0x4a97b5[_0x2d35df(0x292)](_0x28f77d=>_0x28f77d[_0x2d35df(0x2b1)]());}[_0x4c5fe4(0x2f7)](){const _0x355209=_0x4c5fe4;return _0x33b767['getSheetObject'](this[_0x355209(0x3c8)][_0x355209(0x2cb)],this[_0x355209(0x3c8)]);}};_0x13ef75=_0x95784e([_0x5f2ddf(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x33b767[_0x4c5fe4(0x1f6)])),_0x5f2ddf(0x2,_0x513c5a['Inject'](_0xdc7b15)),_0x5f2ddf(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x2ec)]))],_0x13ef75);function _0x4c2272(_0x420342){const _0x5f3e2f=_0x4c5fe4,_0x1558cd=new Map();return _0x420342[_0x5f3e2f(0x292)](_0x109f5c=>{const _0x535a73=_0x5f3e2f;if(_0x1558cd['has'](_0x109f5c[_0x535a73(0x1b4)])){const _0x54a487=_0x1558cd[_0x535a73(0x1c5)](_0x109f5c[_0x535a73(0x1b4)]);_0x54a487['name']+=',\x20'+_0x109f5c[_0x535a73(0x1a6)];}else _0x1558cd[_0x535a73(0x26a)](_0x109f5c[_0x535a73(0x1b4)],_0x109f5c);}),Array[_0x5f3e2f(0x2e2)](_0x1558cd[_0x5f3e2f(0x258)]());}var _0x5a96bd=Object[_0x4c5fe4(0x43d)],_0x3bb85f=(_0x5223c4,_0x5e8594,_0x54665a,_0x203cb2)=>{const _0x4fcec3=_0x4c5fe4;for(var _0xe88753=_0x203cb2>0x1?void 0x0:_0x203cb2?_0x5a96bd(_0x5e8594,_0x54665a):_0x5e8594,_0x395382=_0x5223c4[_0x4fcec3(0x27e)]-0x1,_0x39163a;_0x395382>=0x0;_0x395382--)(_0x39163a=_0x5223c4[_0x395382])&&(_0xe88753=_0x39163a(_0xe88753)||_0xe88753);return _0xe88753;},_0x5b0a97=(_0xe5a20,_0x10924d)=>(_0x478dea,_0x1bee5b)=>_0x10924d(_0x478dea,_0x1bee5b,_0xe5a20);let _0x562633=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x27531a,_0x403735,_0x4d1a1d,_0x441050,_0x22645f,_0x17a578){const _0x4cb635=_0x4c5fe4;super(),this[_0x4cb635(0x20b)]=_0x27531a,this[_0x4cb635(0x1bc)]=_0x403735,this['_collaborationUIEventService']=_0x4d1a1d,this['_messageService']=_0x441050,this[_0x4cb635(0x29d)]=_0x22645f,this['_localeService']=_0x17a578,this[_0x4cb635(0x288)](),this['_initEvent']();}[_0x4c5fe4(0x288)](){const _0x2339f2=_0x4c5fe4;this[_0x2339f2(0x2c6)](this[_0x2339f2(0x20b)][_0x2339f2(0x415)](()=>{const _0x3da81f=_0x2339f2;if(this[_0x3da81f(0x1bc)][_0x3da81f(0x43a)][_0x3da81f(0x217)])return this[_0x3da81f(0x2d5)]['t']('collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x5f42af=_0x4c5fe4;this['disposeWithMe'](this[_0x5f42af(0x397)]['event$'][_0x5f42af(0x33d)](_0x253a89=>{const _0x19a273=_0x5f42af;_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x364)]&&this[_0x19a273(0x3a3)]['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x391))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x27d)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)]['PERMISSION_DENIED']&&this['_notificationService'][_0x19a273(0x218)]({'title':this[_0x19a273(0x2d5)]['t']('permission.title'),'content':this['_localeService']['t'](_0x19a273(0x473)),'type':_0x19a273(0x2e8),'duration':0x0}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x247)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))+'('+_0x253a89[_0x19a273(0x393)]+')'}),_0x253a89['id']===_0x1b7c3e['CollaborationUIEventId'][_0x19a273(0x394)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x253a89[_0x19a273(0x393)]||'')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x344)]&&this['_messageService']['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this['_localeService']['t'](_0x19a273(0x46f))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x302)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t']('session.connection-failed')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x21a)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x31b))});}));}};_0x562633=_0x3bb85f([_0x5b0a97(0x0,_0x2b894c['IBeforeCloseService']),_0x5b0a97(0x1,_0x1b7c3e[_0x4c5fe4(0x30b)]),_0x5b0a97(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1e4)])),_0x5b0a97(0x3,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x5b0a97(0x4,_0x2b894c[_0x4c5fe4(0x3e2)]),_0x5b0a97(0x5,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x186)]))],_0x562633);var _0x508467=Object[_0x4c5fe4(0x43d)],_0x54ec4d=(_0x3e465f,_0x484e28,_0x5b1aa3,_0x3fdd9d)=>{const _0x23e545=_0x4c5fe4;for(var _0x449583=_0x3fdd9d>0x1?void 0x0:_0x3fdd9d?_0x508467(_0x484e28,_0x5b1aa3):_0x484e28,_0x4b05c6=_0x3e465f[_0x23e545(0x27e)]-0x1,_0x1f25c3;_0x4b05c6>=0x0;_0x4b05c6--)(_0x1f25c3=_0x3e465f[_0x4b05c6])&&(_0x449583=_0x1f25c3(_0x449583)||_0x449583);return _0x449583;},_0x1ae665=(_0x3dc639,_0x2b9a95)=>(_0x1f5230,_0x1554c2)=>_0x2b9a95(_0x1f5230,_0x1554c2,_0x3dc639);let _0xd68c02=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x25b092,_0x33bc86,_0x30ba50,_0x179976){const _0x20bb0d=_0x4c5fe4;super(),_0x49e871(this,_0x20bb0d(0x22e)),(this[_0x20bb0d(0x231)]=_0x25b092,this[_0x20bb0d(0x280)]=_0x33bc86,this[_0x20bb0d(0x19d)]=_0x30ba50,this[_0x20bb0d(0x2b2)]=_0x179976,this[_0x20bb0d(0x3d3)]());}['_init'](){const _0x19cfb2=_0x4c5fe4;this[_0x19cfb2(0x2fd)](),this[_0x19cfb2(0x3ee)](),this[_0x19cfb2(0x2e3)](),this[_0x19cfb2(0x3dd)]();}[_0x4c5fe4(0x3dd)](){const _0x13e049=_0x4c5fe4;this['disposeWithMe'](this[_0x13e049(0x2b2)][_0x13e049(0x313)][_0x13e049(0x33d)](_0x1a293e=>{const _0x6cc852=_0x13e049;this['_memberID']=_0x1a293e==null?void 0x0:_0x1a293e[_0x6cc852(0x2e1)];}));}['_initWindowErrorListener'](){const _0xd98c25=_0x4c5fe4,_0x1f76d5=_0x1ffb72=>{const _0x4f4d43=_0x1a49;var _0x2c6948;this[_0x4f4d43(0x252)]('error',_0x4f4d43(0x41f)+_0x1ffb72['message']+_0x4f4d43(0x270)+_0x1ffb72[_0x4f4d43(0x3ca)]+':'+_0x1ffb72[_0x4f4d43(0x3f2)]+':'+_0x1ffb72[_0x4f4d43(0x36f)]+'\x0a'+(((_0x2c6948=_0x1ffb72[_0x4f4d43(0x2e8)])==null?void 0x0:_0x2c6948[_0x4f4d43(0x1f9)])||''));};window['addEventListener']('error',_0x1f76d5),this[_0xd98c25(0x2c6)](()=>{const _0x276081=_0xd98c25;window['removeEventListener'](_0x276081(0x2e8),_0x1f76d5);});}[_0x4c5fe4(0x3ee)](){const _0xd27f06=_0x4c5fe4,_0x5c8982=_0x3f9e2f=>{const _0x5383ab=_0x1a49;this[_0x5383ab(0x252)](_0x5383ab(0x2e8),_0x5383ab(0x343)+_0x3f9e2f[_0x5383ab(0x1d7)]);};window['addEventListener'](_0xd27f06(0x25a),_0x5c8982),this[_0xd27f06(0x2c6)](()=>{const _0xb6cf23=_0xd27f06;window[_0xb6cf23(0x3d9)](_0xb6cf23(0x25a),_0x5c8982);});}['_monkeyPatchLogService'](){const _0x1156be=_0x4c5fe4,_0x1037fb=this['_logService'][_0x1156be(0x2e8)][_0x1156be(0x3ad)](this['_logService']);this['_logService']['error']=(..._0x4f7d61)=>{const _0x23801b=_0x1156be,_0x4666cb=_0x4f7d61[_0x23801b(0x2b4)](_0x64b3d8=>_0x64b3d8 instanceof Error?_0x64b3d8[_0x23801b(0x264)]+'\x0a'+_0x64b3d8['stack']:String(_0x64b3d8))[_0x23801b(0x39b)]('\x20');this['_uploadLog'](_0x23801b(0x2e8),_0x23801b(0x44c)+_0x4666cb),_0x1037fb(..._0x4f7d61);},this[_0x1156be(0x2c6)](()=>{const _0x5ddfe5=_0x1156be;this[_0x5ddfe5(0x19d)][_0x5ddfe5(0x2e8)]=_0x1037fb;});}[_0x4c5fe4(0x252)](_0x49018d,_0x4b5119){const _0x4ce4ec=_0x4c5fe4;try{const _0x3d98a0={'userId':this[_0x4ce4ec(0x22e)],'logLabel':_0x49018d,'content':_0x4b5119};this[_0x4ce4ec(0x280)][_0x4ce4ec(0x3f0)](_0x4ce4ec(0x249),{'body':_0x3d98a0})[_0x4ce4ec(0x334)](()=>{});}catch{}}};_0xd68c02=_0x54ec4d([_0x1ae665(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1ae665(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x1ae665(0x2,_0x513c5a[_0x4c5fe4(0x469)]),_0x1ae665(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xd68c02);const _0x53d765='collaboration-client-ui.config',_0x43cb2d={};var _0x57ccd1=Object[_0x4c5fe4(0x43d)],_0x5c50c1=(_0x2039cd,_0x28291d,_0x3beeb3,_0x286fb6)=>{for(var _0x19e7ab=_0x286fb6>0x1?void 0x0:_0x286fb6?_0x57ccd1(_0x28291d,_0x3beeb3):_0x28291d,_0x28aa7e=_0x2039cd['length']-0x1,_0x18f90e;_0x28aa7e>=0x0;_0x28aa7e--)(_0x18f90e=_0x2039cd[_0x28aa7e])&&(_0x19e7ab=_0x18f90e(_0x19e7ab)||_0x19e7ab);return _0x19e7ab;},_0x34aa73=(_0x4287e6,_0x2e519f)=>(_0x23b896,_0x5a24a8)=>_0x2e519f(_0x23b896,_0x5a24a8,_0x4287e6);let _0x387262=class{constructor(_0x46228a,_0xe402c3){const _0xcb1d3d=_0x4c5fe4;this[_0xcb1d3d(0x2d0)]=_0x46228a,this[_0xcb1d3d(0x27c)]=_0xe402c3;}[_0x4c5fe4(0x29e)](_0x595f47){const _0x34f77e=_0x4c5fe4;this['_transformUndoRedoStack'](_0x595f47),this[_0x34f77e(0x356)](_0x595f47);}['transformRemoteChangeset'](_0xc777d){const _0x2331dd=_0x4c5fe4,{unitID:_0x114658}=_0xc777d,_0x37d876=this['_renderManagerService']['getRenderById'](_0x114658)[_0x2331dd(0x190)](_0x216a55[_0x2331dd(0x437)]),{redoCache:_0x5e3db1}=_0x37d876[_0x2331dd(0x268)]();if(_0x5e3db1[_0x2331dd(0x27e)]===0x0)return _0xc777d;let _0x4e23ea=_0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d[_0x2331dd(0x315)][0x0]);for(let _0x29b4b2=0x0;_0x29b4b2<_0x5e3db1[_0x2331dd(0x27e)];_0x29b4b2++){const _0x1df53b={'id':_0x2331dd(0x319),'params':{..._0x5e3db1[_0x29b4b2]}},_0x2c027e=this['_transformService'][_0x2331dd(0x1f2)](_0x4e23ea,_0x1df53b,!0x1);if(_0x191313[_0x2331dd(0x3d1)](_0x2c027e))throw _0x2c027e['error'];_0x4e23ea=_0x2c027e[_0x2331dd(0x1ac)];}return{..._0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d),'mutations':[_0x4e23ea]};}['_transformUndoRedoStack'](_0x28414d){const _0x1899fd=_0x4c5fe4,{unitID:_0x5db705}=_0x28414d,_0x25e184=this[_0x1899fd(0x27c)][_0x1899fd(0x2c0)](_0x5db705)[_0x1899fd(0x190)](_0x216a55[_0x1899fd(0x437)]),{undoCache:_0x2b3db1,redoCache:_0x498978}=_0x25e184[_0x1899fd(0x268)]();if(_0x2b3db1[_0x1899fd(0x27e)]===0x0||_0x498978[_0x1899fd(0x27e)]===0x0)return;const _0x6e1de4=[],_0x275e80=[];let _0x535e83=_0x513c5a[_0x1899fd(0x3c3)][_0x1899fd(0x274)](_0x28414d[_0x1899fd(0x315)][0x0]),_0xe22400=_0x513c5a['Tools'][_0x1899fd(0x274)](_0x28414d['mutations'][0x0]);for(let _0x23e1c1=_0x2b3db1[_0x1899fd(0x27e)]-0x1;_0x23e1c1>=0x0;_0x23e1c1--){const _0x19d75a={'id':_0x1899fd(0x319),'params':{..._0x2b3db1[_0x23e1c1]}},_0x3e24f5={'id':_0x1899fd(0x319),'params':{..._0x498978[_0x23e1c1]}},_0x244ef7=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0x535e83,_0x19d75a,!0x1),_0x2b79=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0xe22400,_0x3e24f5,!0x1);if(_0x191313[_0x1899fd(0x3d1)](_0x244ef7))throw _0x244ef7[_0x1899fd(0x2e8)];if(_0x191313['isTransformMutationFailure'](_0x2b79))throw _0x2b79['error'];_0x6e1de4['unshift'](_0x244ef7['m2Prime'][_0x1899fd(0x32c)]),_0x275e80['unshift'](_0x2b79[_0x1899fd(0x2d8)][_0x1899fd(0x32c)]),_0x535e83=_0x244ef7[_0x1899fd(0x1ac)],_0xe22400=_0x2b79['m1Prime'];}_0x25e184[_0x1899fd(0x24e)]({'undoCache':_0x6e1de4,'redoCache':_0x275e80});}['_transformPreviousActiveRange'](_0x4c10b3){const _0x2431f0=_0x4c5fe4,{unitID:_0x178394}=_0x4c10b3,_0x57b888=this[_0x2431f0(0x27c)]['getRenderById'](_0x178394)[_0x2431f0(0x190)](_0x216a55[_0x2431f0(0x437)]),_0x3e7ab1=_0x57b888[_0x2431f0(0x3d7)]();if(_0x3e7ab1==null)return;const _0x2e8e1e=[{'id':_0x2431f0(0x319),'params':{'unitId':_0x4c10b3[_0x2431f0(0x18a)],'actions':null,'textRanges':[_0x3e7ab1]}}],_0x35f9a4=this['_transformService'][_0x2431f0(0x1f3)](_0x4c10b3,_0x2e8e1e);if(!_0x191313[_0x2431f0(0x20f)](_0x35f9a4))throw _0x35f9a4[_0x2431f0(0x2e8)];const _0xc22709=_0x35f9a4[_0x2431f0(0x2d8)][0x0][_0x2431f0(0x32c)]['textRanges'];Array[_0x2431f0(0x38f)](_0xc22709)&&_0xc22709[_0x2431f0(0x27e)]&&_0x57b888[_0x2431f0(0x443)](_0xc22709[0x0]);}};_0x387262=_0x5c50c1([_0x34aa73(0x0,_0x191313[_0x4c5fe4(0x281)]),_0x34aa73(0x1,_0x4672ea['IRenderManagerService'])],_0x387262);var _0x3bd505=Object['getOwnPropertyDescriptor'],_0x3faec2=(_0x3eb467,_0x3b99e4,_0x2406fc,_0x233727)=>{const _0x4f68ca=_0x4c5fe4;for(var _0x5eb638=_0x233727>0x1?void 0x0:_0x233727?_0x3bd505(_0x3b99e4,_0x2406fc):_0x3b99e4,_0x46ad24=_0x3eb467[_0x4f68ca(0x27e)]-0x1,_0x3da499;_0x46ad24>=0x0;_0x46ad24--)(_0x3da499=_0x3eb467[_0x46ad24])&&(_0x5eb638=_0x3da499(_0x5eb638)||_0x5eb638);return _0x5eb638;},_0x2817c3=(_0x1093e1,_0x3dd6de)=>(_0x32ae73,_0x594228)=>_0x3dd6de(_0x32ae73,_0x594228,_0x1093e1);let _0x4d6bb8=class{constructor(_0x467127,_0x13fa14,_0x33b874){const _0xa1cbe3=_0x4c5fe4;this[_0xa1cbe3(0x231)]=_0x467127,this[_0xa1cbe3(0x2d0)]=_0x13fa14,this[_0xa1cbe3(0x2df)]=_0x33b874;}[_0x4c5fe4(0x213)](_0x907171){this['_transformHistoryAndStateStack'](_0x907171);}['transformRemoteChangeset'](_0x20a023){const _0x51c5c2=_0x4c5fe4,{unitID:_0x120b06}=_0x20a023,{collaboration:_0x5ae7f0}=this[_0x51c5c2(0x2df)][_0x51c5c2(0x3bf)](_0x120b06);if(_0x5ae7f0[_0x51c5c2(0x27e)]===0x0)return _0x20a023;let _0x45069c=_0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023[_0x51c5c2(0x315)][0x0]);for(let _0xcb8d8f=0x0;_0xcb8d8f<_0x5ae7f0[_0x51c5c2(0x27e)];_0xcb8d8f++){const _0x38f0f8={'id':_0x51c5c2(0x319),'params':{'unitId':_0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x3ed)],..._0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x374)]}},_0x17c600=this[_0x51c5c2(0x2d0)][_0x51c5c2(0x1f2)](_0x45069c,_0x38f0f8,!0x1);if(_0x191313[_0x51c5c2(0x3d1)](_0x17c600))throw _0x17c600['error'];_0x45069c=_0x17c600[_0x51c5c2(0x1ac)];}return{..._0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023),'mutations':[_0x45069c]};}[_0x4c5fe4(0x2fe)](_0x36c394){const _0x556842=_0x4c5fe4,{unitID:_0x3f9efd}=_0x36c394,{history:_0x3b6c4b,collaboration:_0x49c43c}=this[_0x556842(0x2df)][_0x556842(0x3bf)](_0x3f9efd);if(_0x3b6c4b[_0x556842(0x27e)]===0x0&&_0x49c43c[_0x556842(0x27e)]===0x0)return;const _0x2d44f2=[],_0x4fbf09=[];let _0x1f5c23=_0x513c5a[_0x556842(0x3c3)][_0x556842(0x274)](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools']['deepClone'](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x1cff6d=_0x3b6c4b[_0x556842(0x27e)]-0x1;_0x1cff6d>=0x0;_0x1cff6d--){const _0x316154={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b6c4b[_0x1cff6d][_0x556842(0x3ed)],..._0x3b6c4b[_0x1cff6d][_0x556842(0x28b)]}},_0x17f1f0={'id':_0x556842(0x319),'params':{'unitId':_0x3b6c4b[_0x1cff6d]['unitId'],..._0x3b6c4b[_0x1cff6d]['redoState']}},_0x4dcc34=this[_0x556842(0x2d0)]['transformMutation'](_0x1f5c23,_0x316154,!0x1),_0x1d1885=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x17f1f0,!0x1);if(_0x191313[_0x556842(0x3d1)](_0x4dcc34))throw _0x4dcc34['error'];if(_0x191313[_0x556842(0x3d1)](_0x1d1885))throw _0x1d1885['error'];_0x2d44f2['unshift']({..._0x3b6c4b[_0x1cff6d],'undoState':_0x4dcc34[_0x556842(0x2d8)]['params'],'redoState':_0x1d1885[_0x556842(0x2d8)][_0x556842(0x32c)]}),_0x1f5c23=_0x4dcc34[_0x556842(0x1ac)],_0x3f8a13=_0x1d1885[_0x556842(0x1ac)];}_0x1f5c23=_0x513c5a[_0x556842(0x3c3)]['deepClone'](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools'][_0x556842(0x274)](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x319fb7=_0x49c43c[_0x556842(0x27e)]-0x1;_0x319fb7>=0x0;_0x319fb7--){const _0x5a7e6a={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7][_0x556842(0x28b)]}},_0x46869f={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7]['redoState']}},_0x2c3734=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x1f5c23,_0x5a7e6a,!0x1),_0xa260d5=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x46869f,!0x1);if(_0x191313['isTransformMutationFailure'](_0x2c3734))throw _0x2c3734[_0x556842(0x2e8)];if(_0x191313[_0x556842(0x3d1)](_0xa260d5))throw _0xa260d5[_0x556842(0x2e8)];_0x4fbf09['unshift']({..._0x49c43c[_0x319fb7],'undoState':_0x2c3734[_0x556842(0x2d8)][_0x556842(0x32c)],'redoState':_0xa260d5[_0x556842(0x2d8)]['params']}),_0x1f5c23=_0x2c3734[_0x556842(0x1ac)],_0x3f8a13=_0xa260d5[_0x556842(0x1ac)];}this['_docStateChangeManagerService'][_0x556842(0x3f9)](_0x3f9efd,{'history':_0x2d44f2,'collaboration':_0x4fbf09});}};_0x4d6bb8=_0x3faec2([_0x2817c3(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x2817c3(0x1,_0x191313[_0x4c5fe4(0x281)]),_0x2817c3(0x2,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)]))],_0x4d6bb8);var _0x6fdb91=Object[_0x4c5fe4(0x43d)],_0x5aed6a=(_0x473637,_0x3fac19,_0x2c7244,_0x216398)=>{const _0x32a2b1=_0x4c5fe4;for(var _0x2ee24c=_0x216398>0x1?void 0x0:_0x216398?_0x6fdb91(_0x3fac19,_0x2c7244):_0x3fac19,_0x3fa0dd=_0x473637[_0x32a2b1(0x27e)]-0x1,_0x52e34b;_0x3fa0dd>=0x0;_0x3fa0dd--)(_0x52e34b=_0x473637[_0x3fa0dd])&&(_0x2ee24c=_0x52e34b(_0x2ee24c)||_0x2ee24c);return _0x2ee24c;},_0x33ef3f=(_0x18fd13,_0x465767)=>(_0x53539d,_0x16c125)=>_0x465767(_0x53539d,_0x16c125,_0x18fd13);let _0x3eccda=class{constructor(_0x455d14,_0x4cd2e6){const _0x504792=_0x4c5fe4;this[_0x504792(0x231)]=_0x455d14,this['_transformService']=_0x4cd2e6;}[_0x4c5fe4(0x276)](_0x46b6ad){const _0x4ad197=_0x4c5fe4;var _0xeffd14;const _0x43e2ad=this[_0x4ad197(0x231)][_0x4ad197(0x1c5)](_0x702727[_0x4ad197(0x29f)]),_0x39b7e9=(_0xeffd14=_0x43e2ad[_0x4ad197(0x317)]())!=null?_0xeffd14:[];if(_0x39b7e9[_0x4ad197(0x27e)]===0x0)return;const _0x5bedb2=_0x46b6ad[_0x4ad197(0x18a)],_0x528acc=[{'id':_0x4ad197(0x319),'params':{'unitId':_0x5bedb2,'actions':null,'textRanges':_0x39b7e9}}],_0x5eca48=this[_0x4ad197(0x2d0)][_0x4ad197(0x1f3)](_0x46b6ad,_0x528acc);if(!_0x191313['isTransformMutationsWithChangesetSuccess'](_0x5eca48))throw _0x5eca48[_0x4ad197(0x2e8)];const _0x6aa663=_0x5eca48['m2Prime'][0x0][_0x4ad197(0x32c)][_0x4ad197(0x478)];Array[_0x4ad197(0x38f)](_0x6aa663)&&_0x6aa663['length']&&_0x43e2ad[_0x4ad197(0x2a2)](_0x6aa663,{'unitId':_0x5bedb2,'subUnitId':_0x5bedb2},!0x1);}};_0x3eccda=_0x5aed6a([_0x33ef3f(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x33ef3f(0x1,_0x191313['ITransformService'])],_0x3eccda);var _0x369a92=Object['getOwnPropertyDescriptor'],_0x17d777=(_0x3f929f,_0x8daa15,_0x4f0f5f,_0x4741a9)=>{const _0x515a4f=_0x4c5fe4;for(var _0x54cf8a=_0x4741a9>0x1?void 0x0:_0x4741a9?_0x369a92(_0x8daa15,_0x4f0f5f):_0x8daa15,_0x14a6e5=_0x3f929f[_0x515a4f(0x27e)]-0x1,_0x52c225;_0x14a6e5>=0x0;_0x14a6e5--)(_0x52c225=_0x3f929f[_0x14a6e5])&&(_0x54cf8a=_0x52c225(_0x54cf8a)||_0x54cf8a);return _0x54cf8a;},_0x4725e2=(_0x102464,_0x40552e)=>(_0x40bf41,_0x13077a)=>_0x40552e(_0x40bf41,_0x13077a,_0x102464);let _0x226639=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x4b34ca,_0x79bceb,_0x65855a,_0x2096be,_0x1971de,_0xbff301,_0x4461f2,_0x2b6ed5){const _0x6017e=_0x4c5fe4;super(),_0x49e871(this,_0x6017e(0x266),new _0x44d779[(_0x6017e(0x47a))](_0x1b7c3e[_0x6017e(0x2f1)][_0x6017e(0x2ef)])),(this['_docStateChangeManagerService']=_0x4b34ca,this[_0x6017e(0x3e1)]=_0x79bceb,this[_0x6017e(0x380)]=_0x65855a,this['_docTransformStateCacheService']=_0x2096be,this[_0x6017e(0x199)]=_0x1971de,this[_0x6017e(0x2cf)]=_0xbff301,this[_0x6017e(0x3a3)]=_0x4461f2,this['_localeService']=_0x2b6ed5,this[_0x6017e(0x44d)]());}[_0x4c5fe4(0x44d)](){const _0x165360=_0x4c5fe4;this[_0x165360(0x2c6)](this[_0x165360(0x3e1)]['entityInit$'][_0x165360(0x33d)](_0x1c8e3d=>{const _0x4d549a=_0x165360,_0x4cb86f=this[_0x4d549a(0x2df)][_0x4d549a(0x3f6)][_0x4d549a(0x33d)](_0x52db3e=>{const _0x4fb885=_0x4d549a;if(_0x52db3e==null)return;const {unitId:_0x4cc3a1,redoState:_0x5d285f,commandId:_0x3c4769}=_0x52db3e;if(_0x4cc3a1!==_0x1c8e3d['unitID'])return;const _0x5eede6={'id':_0x3c4769,'type':_0x513c5a[_0x4fb885(0x295)][_0x4fb885(0x308)],'params':{'unitId':_0x4cc3a1,'actions':_0x5d285f['actions'],'textRanges':null}};_0x1c8e3d[_0x4fb885(0x1f4)](_0x5eede6);});if(_0x1c8e3d['disposeWithMe'](_0x4cb86f),_0x1c8e3d instanceof _0x1b7c3e[_0x4d549a(0x2d3)]){const _0x1b29d9={'onTransformIME':_0x368d16=>this[_0x4d549a(0x380)]['transformIMECache'](_0x368d16),'onTransformState':_0x391c74=>this['_docTransformStateCacheService'][_0x4d549a(0x213)](_0x391c74),'onTransformSelections':_0x1f0776=>this[_0x4d549a(0x199)][_0x4d549a(0x276)](_0x1f0776),'onSyncEditingCollabCursor':_0x33d3b4=>this[_0x4d549a(0x2cf)]['syncEditingCollabCursor'](_0x33d3b4),'onTransformRemoteChangesetByIMECache':_0xd29d98=>this[_0x4d549a(0x380)][_0x4d549a(0x3ff)](_0xd29d98),'onTransformRemoteChangesetByStateCache':_0x4e5376=>this[_0x4d549a(0x2a7)][_0x4d549a(0x3ff)](_0x4e5376)};_0x1c8e3d[_0x4d549a(0x41e)](_0x1b29d9);}}));}};_0x226639=_0x17d777([_0x4725e2(0x0,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)])),_0x4725e2(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x4725e2(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x387262)),_0x4725e2(0x3,_0x513c5a['Inject'](_0x4d6bb8)),_0x4725e2(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x3eccda)),_0x4725e2(0x5,_0x513c5a['Inject'](_0x2ccf5b)),_0x4725e2(0x6,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x4725e2(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x226639);var _0x4c2a62=(_0x54b387=>(_0x54b387[_0x54b387['UNDEFINED']=0x0]=_0x4c5fe4(0x19e),_0x54b387[_0x54b387['OK']=0x1]='OK',_0x54b387[_0x54b387['INTERNAL_ERROR']=0x2]=_0x4c5fe4(0x19c),_0x54b387[_0x54b387['PERMISSION_DENIED']=0x3]=_0x4c5fe4(0x412),_0x54b387[_0x54b387[_0x4c5fe4(0x32e)]=0x4]=_0x4c5fe4(0x32e),_0x54b387[_0x54b387[_0x4c5fe4(0x28a)]=0x5]=_0x4c5fe4(0x28a),_0x54b387[_0x54b387['ALREADY_EXISTS']=0x6]=_0x4c5fe4(0x22d),_0x54b387[_0x54b387['INVALID_ARGUMENT']=0x7]=_0x4c5fe4(0x1af),_0x54b387[_0x54b387[_0x4c5fe4(0x2fc)]=0x8]=_0x4c5fe4(0x2fc),_0x54b387[_0x54b387[_0x4c5fe4(0x447)]=0x9]=_0x4c5fe4(0x447),_0x54b387[_0x54b387[_0x4c5fe4(0x3d5)]=0xa]='LOGIN_FAILED',_0x54b387[_0x54b387[_0x4c5fe4(0x32a)]=0xb]=_0x4c5fe4(0x32a),_0x54b387[_0x54b387[_0x4c5fe4(0x2d2)]=0xc]=_0x4c5fe4(0x2d2),_0x54b387[_0x54b387['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4c5fe4(0x3bb),_0x54b387[_0x54b387[_0x4c5fe4(0x34a)]=0xe]=_0x4c5fe4(0x34a),_0x54b387[_0x54b387[_0x4c5fe4(0x1bd)]=0xf]=_0x4c5fe4(0x1bd),_0x54b387[_0x54b387[_0x4c5fe4(0x378)]=0x10]=_0x4c5fe4(0x378),_0x54b387[_0x54b387[_0x4c5fe4(0x224)]=0x64]=_0x4c5fe4(0x224),_0x54b387[_0x54b387[_0x4c5fe4(0x181)]=0x65]=_0x4c5fe4(0x181),_0x54b387[_0x54b387[_0x4c5fe4(0x376)]=0xc9]=_0x4c5fe4(0x376),_0x54b387[_0x54b387[_0x4c5fe4(0x384)]=0xca]=_0x4c5fe4(0x384),_0x54b387[_0x54b387[_0x4c5fe4(0x3bc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54b387[_0x54b387['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x54b387[_0x54b387[_0x4c5fe4(0x21f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54b387[_0x54b387[_0x4c5fe4(0x3eb)]=0x1773]=_0x4c5fe4(0x3eb),_0x54b387[_0x54b387[_0x4c5fe4(0x36a)]=0x1b59]=_0x4c5fe4(0x36a),_0x54b387[_0x54b387[_0x4c5fe4(0x1db)]=0x1b5a]=_0x4c5fe4(0x1db),_0x54b387[_0x54b387[_0x4c5fe4(0x1e7)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54b387[_0x54b387[_0x4c5fe4(0x26c)]=0x1b5c]=_0x4c5fe4(0x26c),_0x54b387[_0x54b387['APPLY_DUPLICATED']=0x1b5d]=_0x4c5fe4(0x465),_0x54b387[_0x54b387[_0x4c5fe4(0x3f3)]=0x1f41]=_0x4c5fe4(0x3f3),_0x54b387[_0x54b387['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c5fe4(0x3b0),_0x54b387[_0x54b387[_0x4c5fe4(0x427)]=0x232a]=_0x4c5fe4(0x427),_0x54b387[_0x54b387[_0x4c5fe4(0x41c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54b387[_0x54b387['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c5fe4(0x33f),_0x54b387[_0x54b387[_0x4c5fe4(0x26f)]=0x232d]=_0x4c5fe4(0x26f),_0x54b387[_0x54b387[_0x4c5fe4(0x251)]=0x2711]=_0x4c5fe4(0x251),_0x54b387[_0x54b387['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c5fe4(0x2d9),_0x54b387[_0x54b387[_0x4c5fe4(0x373)]=0x2713]=_0x4c5fe4(0x373),_0x54b387[_0x54b387[_0x4c5fe4(0x3cc)]=0x2714]=_0x4c5fe4(0x3cc),_0x54b387[_0x54b387['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54b387[_0x54b387['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4c5fe4(0x3fb),_0x54b387[_0x54b387['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x54b387[_0x54b387[_0x4c5fe4(0x28f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x54b387[_0x54b387[_0x4c5fe4(0x45f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54b387[_0x54b387[_0x4c5fe4(0x1f5)]=0x271f]=_0x4c5fe4(0x1f5),_0x54b387[_0x54b387['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c5fe4(0x299),_0x54b387[_0x54b387['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4c5fe4(0x347),_0x54b387[_0x54b387['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c5fe4(0x18e),_0x54b387[_0x54b387['INVALID_INVITE_CODE']=0x2ee2]=_0x4c5fe4(0x43f),_0x54b387[_0x54b387[_0x4c5fe4(0x3e3)]=0x2ee3]=_0x4c5fe4(0x3e3),_0x54b387[_0x54b387['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x54b387[_0x54b387[_0x4c5fe4(0x1c2)]=0x2ee5]=_0x4c5fe4(0x1c2),_0x54b387[_0x54b387[_0x4c5fe4(0x336)]=0x32c9]=_0x4c5fe4(0x336),_0x54b387[_0x54b387[_0x4c5fe4(0x2fb)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54b387[_0x54b387['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54b387[_0x54b387[_0x4c5fe4(0x3de)]=0x36b1]=_0x4c5fe4(0x3de),_0x54b387[_0x54b387[_0x4c5fe4(0x1d0)]=0x36b2]=_0x4c5fe4(0x1d0),_0x54b387[_0x54b387['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4c5fe4(0x2be),_0x54b387[_0x54b387[_0x4c5fe4(0x263)]=0x36b4]=_0x4c5fe4(0x263),_0x54b387[_0x54b387[_0x4c5fe4(0x275)]=0x36b5]=_0x4c5fe4(0x275),_0x54b387[_0x54b387[_0x4c5fe4(0x44b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x54b387[_0x54b387[_0x4c5fe4(0x400)]=0x36b7]=_0x4c5fe4(0x400),_0x54b387[_0x54b387[_0x4c5fe4(0x278)]=0x36b8]=_0x4c5fe4(0x278),_0x54b387[_0x54b387[_0x4c5fe4(0x3c4)]=0x3715]=_0x4c5fe4(0x3c4),_0x54b387[_0x54b387[_0x4c5fe4(0x260)]=0x3716]=_0x4c5fe4(0x260),_0x54b387[_0x54b387['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4c5fe4(0x3b5),_0x54b387[_0x54b387[_0x4c5fe4(0x45e)]=0x37dd]=_0x4c5fe4(0x45e),_0x54b387[_0x54b387[_0x4c5fe4(0x2cc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x54b387[_0x54b387['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x4c5fe4(0x27f),_0x54b387[_0x54b387[_0x4c5fe4(0x446)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x54b387[_0x54b387[_0x4c5fe4(0x26b)]=0x3a9c]=_0x4c5fe4(0x26b),_0x54b387[_0x54b387[_0x4c5fe4(0x261)]=0x3a9d]=_0x4c5fe4(0x261),_0x54b387[_0x54b387[_0x4c5fe4(0x3ba)]=0x3a9e]=_0x4c5fe4(0x3ba),_0x54b387[_0x54b387[_0x4c5fe4(0x2e0)]=0x3a9f]=_0x4c5fe4(0x2e0),_0x54b387[_0x54b387[_0x4c5fe4(0x30c)]=0x3e81]=_0x4c5fe4(0x30c),_0x54b387[_0x54b387['UNRECOGNIZED']=-0x1]=_0x4c5fe4(0x3e0),_0x54b387))(_0x4c2a62||{});function _0x27baa8(_0x30287c){const _0x7ecda3=_0x4c5fe4;var _0x4ef093,_0x42bf8b;const _0x415d3d=(_0x4ef093=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x4ef093[_0x7ecda3(0x2a1)],_0x256a5d=((_0x42bf8b=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x42bf8b[_0x7ecda3(0x242)])||0x0;return _0x415d3d===_0x5f233a['FormulaExecuteStageType'][_0x7ecda3(0x24a)]&&_0x256a5d>0x0;}function _0x231460(_0x4df672){const _0x158081=_0x4c5fe4;return _0x4df672[_0x158081(0x340)]===_0x5f233a['FormulaExecutedStateType'][_0x158081(0x352)];}var _0x1df3bc=Object['getOwnPropertyDescriptor'],_0x28975a=(_0x11e957,_0x269556,_0x3c45f7,_0x2ceb7d)=>{const _0x1d4bde=_0x4c5fe4;for(var _0x2adc07=_0x2ceb7d>0x1?void 0x0:_0x2ceb7d?_0x1df3bc(_0x269556,_0x3c45f7):_0x269556,_0x42655c=_0x11e957[_0x1d4bde(0x27e)]-0x1,_0x2af20f;_0x42655c>=0x0;_0x42655c--)(_0x2af20f=_0x11e957[_0x42655c])&&(_0x2adc07=_0x2af20f(_0x2adc07)||_0x2adc07);return _0x2adc07;},_0x2208db=(_0x43e436,_0x899946)=>(_0x412224,_0x2823f8)=>_0x899946(_0x412224,_0x2823f8,_0x43e436);const _0x3072b4=_0x4c5fe4(0x44f),_0x37ecdf=_0x4c5fe4(0x21e),_0x272a1c='/universer-api/license/formula/limit/done';let _0x150160=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0xc04242,_0x54511d,_0x307131,_0x3dc269,_0x790c18,_0xf7dd01,_0x723bcb){const _0x46dc30=_0x4c5fe4;super(),_0x49e871(this,_0x46dc30(0x440),null),_0x49e871(this,_0x46dc30(0x1de),0x0),_0x49e871(this,_0x46dc30(0x192),0x0),_0x49e871(this,_0x46dc30(0x476),[]),_0x49e871(this,_0x46dc30(0x338),0x0),(this['_messageService']=_0xc04242,this[_0x46dc30(0x210)]=_0x54511d,this[_0x46dc30(0x2aa)]=_0x307131,this['_httpService']=_0x3dc269,this['_univerInstanceService']=_0x790c18,this[_0x46dc30(0x19d)]=_0xf7dd01,this[_0x46dc30(0x2d5)]=_0x723bcb,this[_0x46dc30(0x2b3)]());}['_initCommandInterceptor'](){const _0x43eded=_0x4c5fe4;this['disposeWithMe'](this[_0x43eded(0x210)][_0x43eded(0x323)]((_0x5317df,_0x17d2a8)=>{const _0x11e709=_0x43eded;var _0x4c5d6f;if(_0x5317df['id']!==_0x5f233a['SetFormulaCalculationStartMutation']['id'])return;const _0x7144e1=_0x5317df['params'];if(!this['_hasFormulaInDirtyRanges']((_0x4c5d6f=_0x7144e1['dirtyRanges'])!=null?_0x4c5d6f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x11e709(0x39e)](_0x5317df,_0x17d2a8),this[_0x11e709(0x33e)](),new _0x513c5a[(_0x11e709(0x3c9))]();})),this[_0x43eded(0x2c6)](this[_0x43eded(0x210)][_0x43eded(0x1c8)]((_0x68b610,_0x56d6fb)=>{const _0x27a03e=_0x43eded;if(_0x68b610['id']!==_0x5f233a[_0x27a03e(0x418)]['id'])return;const _0x3e46b4=_0x68b610[_0x27a03e(0x32c)];if(_0x27baa8(_0x3e46b4)){const _0x551a8a=_0x513c5a[_0x27a03e(0x345)]();this['_taskIds']['push'](_0x551a8a),this[_0x27a03e(0x1e9)](_0x551a8a);}else{if(_0x231460(_0x3e46b4)&&this['_taskIds'][_0x27a03e(0x27e)]>0x0){const _0x3fe53b=this[_0x27a03e(0x476)][_0x27a03e(0x432)]();this[_0x27a03e(0x3d4)](_0x3fe53b);}}}));}[_0x4c5fe4(0x2b1)](){const _0x119192=_0x4c5fe4;super['dispose'](),this[_0x119192(0x351)](),this[_0x119192(0x476)]=[],this[_0x119192(0x192)]=0x0,this[_0x119192(0x1de)]=0x0,this[_0x119192(0x338)]=0x0;}async[_0x4c5fe4(0x39e)](_0x5e3137,_0x1540b1){const _0x23bbdf=_0x4c5fe4;for(let _0x3c3bbd=0x0;_0x3c3bbd<0x1e;_0x3c3bbd++)try{if(await this[_0x23bbdf(0x439)](),this[_0x23bbdf(0x371)]()){this[_0x23bbdf(0x410)](_0x5e3137,_0x1540b1),this[_0x23bbdf(0x3a3)][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x2b8)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Success']});return;}await new Promise(_0x59b62d=>{const _0x365cf4=_0x23bbdf;this[_0x365cf4(0x440)]=window[_0x365cf4(0x35a)](_0x59b62d,0x3e8);});}catch(_0x996b2){this[_0x23bbdf(0x19d)][_0x23bbdf(0x2e8)](_0x996b2);}this['_messageService'][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x25f)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Error']});}[_0x4c5fe4(0x410)](_0x4f47c4,_0x465248){const _0x7335e=_0x4c5fe4;try{this[_0x7335e(0x210)]['executeCommand'](_0x4f47c4['id'],_0x4f47c4['params'],_0x465248);}catch(_0x1e3a42){this['_logService'][_0x7335e(0x2e8)](_0x1e3a42);}}[_0x4c5fe4(0x2b9)](_0x31f184,_0x2ad56f){const _0x17ab32=_0x4c5fe4;_0x2ad56f<this[_0x17ab32(0x338)]||(this['_lastResponseTimestamp']=_0x2ad56f,this[_0x17ab32(0x1de)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x455)]),this[_0x17ab32(0x192)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x21d)]));}async[_0x4c5fe4(0x1e9)](_0x2cdeb2){const _0x455d95=_0x4c5fe4;var _0xe57d93,_0x360f1a;const _0x57a9cb=Date['now']();try{const _0x5cb39a=((_0xe57d93=this[_0x455d95(0x2aa)]['getConfig'](_0x1b7c3e[_0x455d95(0x1bb)]))==null?void 0x0:_0xe57d93[_0x455d95(0x20e)])||_0x37ecdf,_0x340a67=(await this[_0x455d95(0x280)]['post'](_0x5cb39a,{'body':JSON['stringify']({'taskId':_0x2cdeb2})}))[_0x455d95(0x377)];if(((_0x360f1a=_0x340a67[_0x455d95(0x2e8)])==null?void 0x0:_0x360f1a[_0x455d95(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x340a67['limitInfo'],_0x57a9cb);}catch(_0x1fb0df){this[_0x455d95(0x19d)][_0x455d95(0x2e8)](_0x1fb0df);}}async['_getFormulaLimitStatus'](_0x90c61c){const _0x224395=_0x4c5fe4;var _0x14e8f2,_0x456dae;const _0xe8f0bf=Date[_0x224395(0x2f5)]();try{const _0x3bef92=((_0x14e8f2=this[_0x224395(0x2aa)][_0x224395(0x402)](_0x1b7c3e[_0x224395(0x1bb)]))==null?void 0x0:_0x14e8f2[_0x224395(0x433)])||_0x3072b4,_0x4e4d66=_0x90c61c?_0x3bef92+'?taskId='+encodeURIComponent(_0x90c61c):_0x3bef92,_0x27d109=(await this[_0x224395(0x280)][_0x224395(0x1c5)](_0x4e4d66))[_0x224395(0x377)];if(((_0x456dae=_0x27d109[_0x224395(0x2e8)])==null?void 0x0:_0x456dae[_0x224395(0x1be)])!==_0x4c2a62['OK'])return;this[_0x224395(0x2b9)](_0x27d109[_0x224395(0x38e)],_0xe8f0bf);}catch(_0x379d32){this[_0x224395(0x19d)]['error'](_0x379d32);}}async[_0x4c5fe4(0x3d4)](_0xb71bec){const _0x1ec121=_0x4c5fe4;var _0x568d6b,_0x728b5;const _0x52c760=Date['now']();try{const _0x80949f=((_0x568d6b=this['_configService'][_0x1ec121(0x402)](_0x1b7c3e[_0x1ec121(0x1bb)]))==null?void 0x0:_0x568d6b[_0x1ec121(0x23f)])||_0x272a1c,_0x229a51=(await this[_0x1ec121(0x280)][_0x1ec121(0x3f0)](_0x80949f,{'body':JSON['stringify']({'taskId':_0xb71bec})}))[_0x1ec121(0x377)];if(((_0x728b5=_0x229a51['error'])==null?void 0x0:_0x728b5[_0x1ec121(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x229a51[_0x1ec121(0x38e)],_0x52c760);}catch(_0xe66f88){this[_0x1ec121(0x19d)][_0x1ec121(0x2e8)](_0xe66f88);}}['_checkCalculationAvailable'](){const _0x1eb2eb=_0x4c5fe4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x1eb2eb(0x1de)]-this[_0x1eb2eb(0x192)]>0x0;}[_0x4c5fe4(0x351)](){const _0x55b17c=_0x4c5fe4;this[_0x55b17c(0x440)]&&(clearTimeout(this['_pollingInterval']),this[_0x55b17c(0x440)]=null);}[_0x4c5fe4(0x33e)](){const _0x3be18a=_0x4c5fe4;this[_0x3be18a(0x3a3)]['show']({'content':this[_0x3be18a(0x2d5)]['t'](_0x3be18a(0x2ee)),'type':_0x3fc2d4[_0x3be18a(0x1d5)][_0x3be18a(0x229)]});}[_0x4c5fe4(0x468)](_0x368fc7){const _0x4a3a6b=_0x4c5fe4;for(const _0x5e67c5 of _0x368fc7){const {unitId:_0x1a1ceb,sheetId:_0x3ce97d,range:_0x3bce77}=_0x5e67c5,_0x1745c0=this[_0x4a3a6b(0x3a4)][_0x4a3a6b(0x398)](_0x1a1ceb);if(!_0x1745c0)continue;const _0x29bcd2=_0x1745c0[_0x4a3a6b(0x2f2)](_0x3ce97d);if(!_0x29bcd2)continue;const _0x4e23dd=_0x29bcd2[_0x4a3a6b(0x1b8)]();for(let _0x58f190=_0x3bce77['startRow'];_0x58f190<=_0x3bce77[_0x4a3a6b(0x46d)];_0x58f190++)for(let _0x3b60dc=_0x3bce77[_0x4a3a6b(0x233)];_0x3b60dc<=_0x3bce77[_0x4a3a6b(0x189)];_0x3b60dc++){const _0x8eba3c=_0x4e23dd['getValue'](_0x58f190,_0x3b60dc);if(_0x8eba3c&&(_0x513c5a[_0x4a3a6b(0x2c5)](_0x8eba3c['f'])||_0x513c5a[_0x4a3a6b(0x1e1)](_0x8eba3c['si'])))return!0x0;}}return!0x1;}};_0x150160=_0x28975a([_0x2208db(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x2b894c[_0x4c5fe4(0x3ef)])),_0x2208db(0x1,_0x513c5a[_0x4c5fe4(0x444)]),_0x2208db(0x2,_0x513c5a['IConfigService']),_0x2208db(0x3,_0x513c5a['Inject'](_0x2e9ff2['HTTPService'])),_0x2208db(0x4,_0x513c5a[_0x4c5fe4(0x445)]),_0x2208db(0x5,_0x513c5a['ILogService']),_0x2208db(0x6,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x150160);var _0x231530=Object[_0x4c5fe4(0x43d)],_0x3d94f2=(_0xde1bb9,_0x411619,_0x7d3151,_0xfd8732)=>{const _0x425ca1=_0x4c5fe4;for(var _0xebf949=_0xfd8732>0x1?void 0x0:_0xfd8732?_0x231530(_0x411619,_0x7d3151):_0x411619,_0xd962fd=_0xde1bb9[_0x425ca1(0x27e)]-0x1,_0x47e2b4;_0xd962fd>=0x0;_0xd962fd--)(_0x47e2b4=_0xde1bb9[_0xd962fd])&&(_0xebf949=_0x47e2b4(_0xebf949)||_0xebf949);return _0xebf949;},_0x83808a=(_0x2c2b69,_0x52e53f)=>(_0x3584ba,_0x3cfe2f)=>_0x52e53f(_0x3584ba,_0x3cfe2f,_0x2c2b69);let _0x4554e9=class extends _0x513c5a['Disposable']{constructor(_0x2cd39e,_0x1c0a8f,_0x265a18){const _0x48f982=_0x4c5fe4;super(),_0x49e871(this,_0x48f982(0x3aa),new Map()),_0x49e871(this,_0x48f982(0x184),new Map()),_0x49e871(this,_0x48f982(0x46b),!0x1),(this[_0x48f982(0x2aa)]=_0x2cd39e,this['_localStorageService']=_0x1c0a8f,this[_0x48f982(0x25c)]=_0x265a18);}[_0x4c5fe4(0x42e)](){const _0x175873=_0x4c5fe4;this[_0x175873(0x46b)]=!0x0;}[_0x4c5fe4(0x1a4)](){const _0x44712a=_0x4c5fe4;this[_0x44712a(0x46b)]=!0x1;}get[_0x4c5fe4(0x43a)](){const _0x7520f3=_0x4c5fe4;return this[_0x7520f3(0x184)];}[_0x4c5fe4(0x2b1)](){const _0x3a75fa=_0x4c5fe4;this[_0x3a75fa(0x441)]()[_0x3a75fa(0x3f5)](()=>super[_0x3a75fa(0x2b1)]());}async[_0x4c5fe4(0x36d)](_0x55ef15){const _0x3938d0=_0x4c5fe4;return this[_0x3938d0(0x46b)]?null:this[_0x3938d0(0x35f)][_0x3938d0(0x2dd)](_0x1b7c3e['getLocalCacheKey'](_0x55ef15));}async[_0x4c5fe4(0x211)](_0x42bff4,_0x5d7667){const _0x4e4920=_0x4c5fe4;return!!this[_0x4e4920(0x35f)][_0x4e4920(0x265)](_0x42bff4,_0x5d7667);}[_0x4c5fe4(0x30e)](_0xadd6af,_0x2e223b,_0x5383d2,_0x5a86c4){const _0xa828c6=_0x4c5fe4,_0x4a029b=this[_0xa828c6(0x25c)]['getCurrentRevOfUnit'](_0xadd6af);this[_0xa828c6(0x3aa)]['set'](_0xadd6af,{'unitID':_0xadd6af,'type':_0x2e223b,'awaitingChangeset':_0x5383d2,'mutations':_0x5a86c4,'rev':_0x4a029b}),this[_0xa828c6(0x184)][_0xa828c6(0x3c0)](_0xadd6af)||this[_0xa828c6(0x388)](_0xadd6af);}[_0x4c5fe4(0x388)](_0x282be3){const _0x1344d5=_0x4c5fe4,_0x2ea132=this[_0x1344d5(0x458)]();_0x2ea132===0x0?this[_0x1344d5(0x290)](_0x282be3):this[_0x1344d5(0x184)]['set'](_0x282be3,setTimeout(()=>this[_0x1344d5(0x290)](_0x282be3),_0x2ea132));}[_0x4c5fe4(0x458)](){const _0x3304a5=_0x4c5fe4;var _0xb5403d;return(_0xb5403d=this[_0x3304a5(0x2aa)][_0x3304a5(0x402)](_0x1b7c3e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xb5403d:_0x1b7c3e[_0x3304a5(0x43c)];}['_saveCache'](_0x1d4d4f){const _0x22c098=_0x4c5fe4,_0x324ab1=this[_0x22c098(0x184)]['get'](_0x1d4d4f);return _0x324ab1!==void 0x0&&window[_0x22c098(0x198)](_0x324ab1),this[_0x22c098(0x35f)][_0x22c098(0x265)](_0x1b7c3e[_0x22c098(0x301)](_0x1d4d4f),this['_cachedData'][_0x22c098(0x1c5)](_0x1d4d4f))[_0x22c098(0x3f5)](()=>this[_0x22c098(0x184)][_0x22c098(0x250)](_0x1d4d4f));}async[_0x4c5fe4(0x441)](){const _0x1a6f59=_0x4c5fe4,_0x47fe28=[];this[_0x1a6f59(0x184)][_0x1a6f59(0x292)]((_0x200eab,_0x416278)=>{const _0xde0702=_0x1a6f59;window['clearTimeout'](_0x200eab),_0x47fe28[_0xde0702(0x1df)](this[_0xde0702(0x290)](_0x416278)['then'](()=>{const _0x183d91=_0xde0702;this[_0x183d91(0x184)][_0x183d91(0x250)](_0x416278);}));}),await Promise['all'](_0x47fe28);}};_0x4554e9=_0x3d94f2([_0x83808a(0x0,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x83808a(0x1,_0x513c5a[_0x4c5fe4(0x47b)]),_0x83808a(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x191313[_0x4c5fe4(0x3d6)]))],_0x4554e9);class _0x22939e extends _0x513c5a['RxDisposable']{constructor(){const _0x2137cd=_0x4c5fe4;super(),_0x49e871(this,_0x2137cd(0x2bb)),this[_0x2137cd(0x2bb)]=_0x44d779['fromEvent'](window,_0x2137cd(0x38a))['pipe'](_0x44d779[_0x2137cd(0x22b)](this[_0x2137cd(0x256)]),_0x44d779[_0x2137cd(0x1a1)](0x1),_0x44d779[_0x2137cd(0x3fe)](void 0x0));}['setParam'](_0x4221c6,_0x2fd56c,_0x51bd56=!0x1){const _0x243c94=_0x4c5fe4,_0x271c8b=new URL(window[_0x243c94(0x2a4)][_0x243c94(0x19b)]);_0x271c8b[_0x243c94(0x248)][_0x243c94(0x26a)](_0x4221c6,_0x2fd56c),_0x51bd56?window['history'][_0x243c94(0x194)]('','',_0x271c8b['toString']()):window[_0x243c94(0x39a)][_0x243c94(0x3af)]('','',_0x271c8b[_0x243c94(0x1a0)]());}[_0x4c5fe4(0x273)](_0x5e3144,_0x4051f1=!0x1){const _0x3f00e3=_0x4c5fe4,_0x39d84f=new URL(window[_0x3f00e3(0x2a4)]['href']);_0x39d84f['searchParams'][_0x3f00e3(0x250)](_0x5e3144),_0x4051f1?window['history'][_0x3f00e3(0x194)]('','',_0x39d84f[_0x3f00e3(0x1a0)]()):window['history']['pushState']('','',_0x39d84f[_0x3f00e3(0x1a0)]());}[_0x4c5fe4(0x34f)](_0x432164){const _0x4e3e1d=_0x4c5fe4;var _0xa9efa5;return(_0xa9efa5=new URL(window[_0x4e3e1d(0x2a4)]['href'])[_0x4e3e1d(0x248)][_0x4e3e1d(0x1c5)](_0x432164))!=null?_0xa9efa5:void 0x0;}}var _0x3b7f28=Object['defineProperty'],_0x6d04a6=Object[_0x4c5fe4(0x43d)],_0xd88566=(_0x176839,_0x2cf644,_0x15d6cc)=>_0x2cf644 in _0x176839?_0x3b7f28(_0x176839,_0x2cf644,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15d6cc}):_0x176839[_0x2cf644]=_0x15d6cc,_0xe7b9e7=(_0x588c4b,_0x10b775,_0x3c2562,_0x3b103c)=>{const _0x2368d5=_0x4c5fe4;for(var _0x59d53e=_0x3b103c>0x1?void 0x0:_0x3b103c?_0x6d04a6(_0x10b775,_0x3c2562):_0x10b775,_0x3cda28=_0x588c4b[_0x2368d5(0x27e)]-0x1,_0x548dca;_0x3cda28>=0x0;_0x3cda28--)(_0x548dca=_0x588c4b[_0x3cda28])&&(_0x59d53e=_0x548dca(_0x59d53e)||_0x59d53e);return _0x59d53e;},_0x45b29c=(_0x198cc6,_0x5d5c30)=>(_0x5e138d,_0x6ac9d7)=>_0x5d5c30(_0x5e138d,_0x6ac9d7,_0x198cc6),_0x2375c9=(_0x1084ee,_0x3197a2,_0x2ee76a)=>_0xd88566(_0x1084ee,_0x3197a2+'',_0x2ee76a);const _0x53dfa3=_0x4c5fe4(0x1c6);_0x1c2aca[_0x4c5fe4(0x285)]=class extends _0x513c5a[_0x4c5fe4(0x353)]{constructor(_0x346734=_0x43cb2d,_0x1ca81c,_0x1a1400,_0x246435){const _0xf48166=_0x4c5fe4;super(),this[_0xf48166(0x1a9)]=_0x346734,this[_0xf48166(0x27c)]=_0x1ca81c,this[_0xf48166(0x231)]=_0x1a1400,this[_0xf48166(0x2aa)]=_0x246435;const {..._0x511f7a}=_0x513c5a['merge']({},_0x43cb2d,this[_0xf48166(0x1a9)]);this[_0xf48166(0x2aa)][_0xf48166(0x3c7)](_0x53d765,_0x511f7a);}[_0x4c5fe4(0x286)](){const _0x47bafd=_0x4c5fe4;this['_registerDependencies'](),this[_0x47bafd(0x300)]();}[_0x4c5fe4(0x244)](){const _0x20f684=_0x4c5fe4;this[_0x20f684(0x463)]();}[_0x4c5fe4(0x2cd)](){const _0x29c11f=_0x4c5fe4;var _0x331281;const _0x1ec86f=[[_0x14caec],[_0x150160],[_0x3eccda],[_0x387262],[_0x4d6bb8],[_0x2ccf5b],[_0x24977f,{'useClass':_0x22939e}],[_0x2e9ff2['ISocketService'],{'useClass':_0x2e9ff2[_0x29c11f(0x318)]}],[_0x1b7c3e[_0x29c11f(0x30b)],{'useClass':_0x4554e9}],[_0x1c2aca['DesktopCollaborationStatusDisplayController']],[_0x226639],[_0x562633],[_0xdc7b15],[_0x400d71],[_0x1c2aca[_0x29c11f(0x408)]]];this[_0x29c11f(0x1a9)][_0x29c11f(0x25e)]&&_0x1ec86f[_0x29c11f(0x1df)]([_0xd68c02]),_0x513c5a[_0x29c11f(0x470)](this['_injector'],_0x513c5a[_0x29c11f(0x2ff)](_0x1ec86f,(_0x331281=this[_0x29c11f(0x1a9)])==null?void 0x0:_0x331281['override']));}[_0x4c5fe4(0x463)](){const _0x2aefad=_0x4c5fe4;this[_0x2aefad(0x2c6)](this['_renderManagerService'][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)][_0x2aefad(0x464)],[_0x373cd3])),this[_0x2aefad(0x2c6)](this[_0x2aefad(0x27c)][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)]['UNIVER_SHEET'],[_0x13ef75]));}[_0x4c5fe4(0x300)](){const _0x2c989d=_0x4c5fe4;_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xdc7b15],[_0x1c2aca[_0x2c989d(0x1aa)]],[_0x226639],[_0x562633],[_0x1c2aca[_0x2c989d(0x408)]],[_0x150160]]),this[_0x2c989d(0x1a9)][_0x2c989d(0x25e)]&&_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xd68c02]]);}},_0x2375c9(_0x1c2aca[_0x4c5fe4(0x285)],_0x4c5fe4(0x421),_0x53dfa3),_0x1c2aca['UniverCollaborationClientUIPlugin']=_0xe7b9e7([_0x513c5a['DependentOn'](_0x1b7c3e['UniverCollaborationClientPlugin']),_0x45b29c(0x1,_0x4672ea[_0x4c5fe4(0x337)]),_0x45b29c(0x2,_0x513c5a['Inject'](_0x513c5a['Injector'])),_0x45b29c(0x3,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x285)]);var _0x2b75ad=Object[_0x4c5fe4(0x43d)],_0x22aa89=(_0x1ca7b2,_0x2a78bb,_0xd519e6,_0x6b199f)=>{const _0x3bf392=_0x4c5fe4;for(var _0x1f5c05=_0x6b199f>0x1?void 0x0:_0x6b199f?_0x2b75ad(_0x2a78bb,_0xd519e6):_0x2a78bb,_0x2c0309=_0x1ca7b2[_0x3bf392(0x27e)]-0x1,_0x3ab7e7;_0x2c0309>=0x0;_0x2c0309--)(_0x3ab7e7=_0x1ca7b2[_0x2c0309])&&(_0x1f5c05=_0x3ab7e7(_0x1f5c05)||_0x1f5c05);return _0x1f5c05;},_0x32ecb8=(_0x1ae90d,_0x4524ec)=>(_0x4fdf2c,_0x2596eb)=>_0x4524ec(_0x4fdf2c,_0x2596eb,_0x1ae90d);_0x1c2aca['BrowserCollaborationSocketService']=class extends _0x1b7c3e[_0x4c5fe4(0x1e6)]{constructor(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a){super(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a);}async[_0x4c5fe4(0x3fc)](_0x507b02){const _0x3b3058=_0x4c5fe4,_0x4f7c46=await this[_0x3b3058(0x2ab)](),_0xa81b19=this[_0x3b3058(0x403)](_0x507b02,_0x4f7c46);return this[_0x3b3058(0x375)](_0xa81b19);}[_0x4c5fe4(0x403)](_0x58b30c,_0x14be88){const _0x5da585=_0x4c5fe4,_0x2c8561=typeof window>'u'?new URL(_0x58b30c):new URL(_0x58b30c,window[_0x5da585(0x2a4)][_0x5da585(0x2ae)]);_0x2c8561[_0x5da585(0x248)]['set'](_0x5da585(0x322),_0x14be88);const _0x4badbf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5da585(0x2a4)][_0x5da585(0x314)]);return _0x4badbf[_0x5da585(0x1c5)](_0x5da585(0x2bf))&&_0x2c8561[_0x5da585(0x248)][_0x5da585(0x26a)](_0x5da585(0x2bf),_0x4badbf['get'](_0x5da585(0x2bf))),_0x2c8561[_0x5da585(0x1a0)]();}async['_getSessionTicket'](){const _0x484d53=_0x4c5fe4;var _0x286990,_0x8a2a91,_0x199a3a;const _0xb803b7=this['_configService'][_0x484d53(0x402)](_0x1b7c3e[_0x484d53(0x1bb)]),_0x199e97=(_0x286990=_0xb803b7==null?void 0x0:_0xb803b7['wsSessionTicketUrl'])!=null?_0x286990:_0x1b7c3e[_0x484d53(0x2f3)];return(_0x199a3a=(_0x8a2a91=(await this[_0x484d53(0x280)][_0x484d53(0x1c5)](_0x199e97,{'headers':{'Content-Type':_0x484d53(0x23d)}}))[_0x484d53(0x377)])==null?void 0x0:_0x8a2a91[_0x484d53(0x21b)])!=null?_0x199a3a:'';}},_0x1c2aca['BrowserCollaborationSocketService']=_0x22aa89([_0x32ecb8(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x32ecb8(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2[_0x4c5fe4(0x1d2)])),_0x32ecb8(0x2,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x32ecb8(0x3,_0x513c5a[_0x4c5fe4(0x469)]),_0x32ecb8(0x4,_0x191313[_0x4c5fe4(0x32b)])],_0x1c2aca[_0x4c5fe4(0x262)]);var _0x406a8f=Object[_0x4c5fe4(0x43d)],_0x44ba42=(_0xe57b4e,_0x3a230c,_0x1921d1,_0x2d331e)=>{const _0x8a4805=_0x4c5fe4;for(var _0x1e4476=_0x2d331e>0x1?void 0x0:_0x2d331e?_0x406a8f(_0x3a230c,_0x1921d1):_0x3a230c,_0x339d41=_0xe57b4e[_0x8a4805(0x27e)]-0x1,_0x80f0d0;_0x339d41>=0x0;_0x339d41--)(_0x80f0d0=_0xe57b4e[_0x339d41])&&(_0x1e4476=_0x80f0d0(_0x1e4476)||_0x1e4476);return _0x1e4476;},_0x43921a=(_0x206d29,_0x3bfd82)=>(_0x454db6,_0x7b0339)=>_0x3bfd82(_0x454db6,_0x7b0339,_0x206d29);_0x1c2aca[_0x4c5fe4(0x2ce)]=class extends _0x513c5a['Disposable']{constructor(_0x4c290c,_0x5d4173,_0x7a64aa){const _0x4cb8db=_0x4c5fe4;super(),this['_instanceService']=_0x4c290c,this[_0x4cb8db(0x280)]=_0x5d4173,this[_0x4cb8db(0x2aa)]=_0x7a64aa;}async[_0x4c5fe4(0x19f)](_0x307081,_0x4be4b4,_0x372ed1,..._0x279e88){const _0x1fdfba=_0x4c5fe4;var _0x404f94,_0x100217,_0x4b530f,_0x1c289d;const _0x39f57e=this['_instanceService'][_0x1fdfba(0x475)]();if(!_0x39f57e)throw new Error(_0x1fdfba(0x453));const _0x214e9e=((_0x404f94=this[_0x1fdfba(0x2aa)][_0x1fdfba(0x402)](_0x1b7c3e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x404f94:_0x1b7c3e[_0x1fdfba(0x232)])+'/'+_0x307081+_0x1fdfba(0x1fc)+_0x4be4b4,_0xbb0c2b=new URL(window[_0x1fdfba(0x2a4)][_0x1fdfba(0x19b)]),_0x241c15={'scriptId':_0x307081,'runId':(_0x100217=_0xbb0c2b[_0x1fdfba(0x248)][_0x1fdfba(0x1c5)]('runId'))!=null?_0x100217:'','function':_0x4be4b4,'unitId':_0x39f57e[_0x1fdfba(0x1ca)](),'argsOfFunction':JSON[_0x1fdfba(0x227)](_0x279e88),'invokeId':(_0x4b530f=_0x372ed1[_0x1fdfba(0x392)])!=null?_0x4b530f:'','executionId':(_0x1c289d=_0x372ed1[_0x1fdfba(0x307)])!=null?_0x1c289d:''};try{const _0x3192ef=await this['_httpService'][_0x1fdfba(0x3f0)](_0x214e9e,{'body':_0x241c15});return _0x3192ef[_0x1fdfba(0x377)][_0x1fdfba(0x2e8)]&&_0x3192ef[_0x1fdfba(0x377)]['error'][_0x1fdfba(0x1be)]!==_0x4c2a62['OK']?_0x1fdfba(0x31e):_0x3192ef[_0x1fdfba(0x377)]['result'];}catch{return _0x1fdfba(0x31e);}}},_0x1c2aca[_0x4c5fe4(0x2ce)]=_0x44ba42([_0x43921a(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x43921a(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x43921a(0x2,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x2ce)]);const _0x53eaff=0x7530,_0x1b17be='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5f486b extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x373fcd=_0x4c5fe4;super(),_0x49e871(this,_0x373fcd(0x431),_0x513c5a[_0x373fcd(0x345)]()),_0x49e871(this,_0x373fcd(0x366),new Set()),_0x49e871(this,_0x373fcd(0x22c),new Map()),_0x49e871(this,_0x373fcd(0x2eb),null),_0x49e871(this,_0x373fcd(0x372),new Map()),_0x49e871(this,'_unitStatus',new Map()),this[_0x373fcd(0x3d3)]();}['dispose'](){const _0x26fe07=_0x4c5fe4;super['dispose'](),this[_0x26fe07(0x372)]['forEach']((_0x7262b3,_0x404eca)=>this['_removeClearOtherTimer'](_0x404eca)),this['_heartbeatTimer']&&window[_0x26fe07(0x271)](this[_0x26fe07(0x2eb)]);}['getUnitStatus$'](_0xfa1b33){const _0x186d65=_0x4c5fe4;return this[_0x186d65(0x33c)](_0xfa1b33)[_0x186d65(0x23c)](_0x44d779[_0x186d65(0x399)]());}[_0x4c5fe4(0x367)](_0x32b0d1){const _0x28991b=_0x4c5fe4;this['_selfUnitIDs']['size']===0x0&&this[_0x28991b(0x1b0)](),this[_0x28991b(0x366)]['add'](_0x32b0d1),this[_0x28991b(0x407)]({'type':0x0,'memberID':this[_0x28991b(0x431)],'unitIDs':[_0x32b0d1],'isForwarded':!0x1});}['disposeUnit'](_0x515952){const _0xba9439=_0x4c5fe4;this[_0xba9439(0x366)][_0xba9439(0x250)](_0x515952),this[_0xba9439(0x366)][_0xba9439(0x217)]===0x0&&this['_heartbeatTimer']&&window[_0xba9439(0x271)](this[_0xba9439(0x2eb)]);}[_0x4c5fe4(0x3d3)](){const _0x1547fd=_0x4c5fe4;this[_0x1547fd(0x2c6)](_0x513c5a[_0x1547fd(0x241)](_0x44d779[_0x1547fd(0x460)](window,_0x1547fd(0x1a8))['subscribe'](_0x22c42a=>{const _0x5a3e23=_0x1547fd;if(_0x22c42a[_0x5a3e23(0x1d9)]!==_0x1b17be||!_0x22c42a['newValue'])return;const _0x229305=JSON[_0x5a3e23(0x1ea)](_0x22c42a[_0x5a3e23(0x31f)]);this[_0x5a3e23(0x35c)](_0x229305);}))),window[_0x1547fd(0x368)](_0x1547fd(0x396),()=>this['_send']({'type':0x1,'memberID':this[_0x1547fd(0x431)],'unitIDs':Array[_0x1547fd(0x2e2)](this[_0x1547fd(0x366)])}));}['_handleEvent'](_0xdf1afb){const _0xfaf804=_0x4c5fe4;switch(_0xdf1afb['type']){case 0x0:this[_0xfaf804(0x1f1)](_0xdf1afb);break;case 0x1:this[_0xfaf804(0x422)](_0xdf1afb);break;case 0x2:this[_0xfaf804(0x34e)](_0xdf1afb);break;}}[_0x4c5fe4(0x1f1)](_0x6c7b10){const _0x3673a3=_0x4c5fe4,{unitIDs:_0x1c20e8,memberID:_0x4154be,isForwarded:_0x2e468d}=_0x6c7b10;_0x1c20e8[_0x3673a3(0x292)](_0x3b6399=>{const _0x2d9435=_0x3673a3;if(!_0x2e468d&&this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)&&this[_0x2d9435(0x33c)](_0x3b6399)[_0x2d9435(0x320)](_0x1b7c3e[_0x2d9435(0x293)][_0x2d9435(0x282)]),!this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)||!this['_unitOnClients'][_0x2d9435(0x1c5)](_0x3b6399)['has'](_0x4154be)){const _0x2485b4=this[_0x2d9435(0x22c)][_0x2d9435(0x1c5)](_0x3b6399)||new Set();_0x2485b4[_0x2d9435(0x40c)](_0x4154be),this[_0x2d9435(0x22c)]['set'](_0x3b6399,_0x2485b4),this['_scheduleClearOtherTimer'](_0x4154be);}}),_0x2e468d||this[_0x3673a3(0x407)]({'type':0x0,'memberID':this[_0x3673a3(0x431)],'unitIDs':[...this[_0x3673a3(0x366)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b1f93){const _0x276106=_0x4c5fe4;this['_removeClearOtherTimer'](_0x1b1f93);const _0x37bf88=window[_0x276106(0x35a)](()=>{const _0x1041b0=_0x276106;this[_0x1041b0(0x22c)]['forEach'](_0x48c0e8=>{const _0x36a1e6=_0x1041b0;_0x48c0e8[_0x36a1e6(0x250)](_0x1b1f93);});},_0x53eaff*0x2);this[_0x276106(0x372)][_0x276106(0x26a)](_0x1b1f93,_0x37bf88);}[_0x4c5fe4(0x19a)](_0xfac58a){const _0x135005=_0x4c5fe4;if(this[_0x135005(0x372)]['has'](_0xfac58a)){const _0x58cff5=this[_0x135005(0x372)]['get'](_0xfac58a);_0x58cff5&&window[_0x135005(0x198)](_0x58cff5),this[_0x135005(0x372)][_0x135005(0x26a)](_0xfac58a,null);}}[_0x4c5fe4(0x422)](_0xe73e01){const _0x23aadd=_0x4c5fe4,{memberID:_0x43933e,unitIDs:_0xd8a185}=_0xe73e01;_0xd8a185[_0x23aadd(0x292)](_0x1a409b=>{const _0x18498f=_0x23aadd;var _0x31c339;const _0x554925=this['_unitOnClients'][_0x18498f(0x1c5)](_0x1a409b);_0x554925&&(_0x554925[_0x18498f(0x250)](_0x43933e),(_0x31c339=this[_0x18498f(0x33c)](_0x1a409b))==null||_0x31c339[_0x18498f(0x320)](_0x554925['size']===0x0?_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x3c2)]:_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x282)]));}),this['_removeClearOtherTimer'](_0x43933e);}['_handleHeartbeatEvent'](_0x439d6f){const _0x10ea9b=_0x4c5fe4;this[_0x10ea9b(0x223)](_0x439d6f[_0x10ea9b(0x2e1)]);}[_0x4c5fe4(0x407)](_0x50c9c5){const _0x6f99c9=_0x4c5fe4;localStorage[_0x6f99c9(0x265)](_0x1b17be,JSON['stringify'](_0x50c9c5));}['_scheduleHeartbeat'](){const _0x57feb7=_0x4c5fe4;this[_0x57feb7(0x2eb)]=window[_0x57feb7(0x354)](()=>{const _0x8657c7=_0x57feb7;this[_0x8657c7(0x407)]({'type':0x2,'memberID':this[_0x8657c7(0x431)]});},_0x53eaff);}['_ensureSubject'](_0x3fecd4){const _0x2891ea=_0x4c5fe4;return this[_0x2891ea(0x3d0)][_0x2891ea(0x3c0)](_0x3fecd4)||this[_0x2891ea(0x3d0)][_0x2891ea(0x26a)](_0x3fecd4,new _0x44d779[(_0x2891ea(0x47a))](_0x1b7c3e['UnitStatus'][_0x2891ea(0x3c2)])),this[_0x2891ea(0x3d0)][_0x2891ea(0x1c5)](_0x3fecd4);}}_0x1c2aca['IURLService']=_0x24977f,_0x1c2aca['SheetCollabCursorShape']=_0x39b2dd,_0x1c2aca['WebBrowserSingleActiveUnitService']=_0x5f486b,_0x1c2aca[_0x4c5fe4(0x24b)]=_0x22939e,Object[_0x4c5fe4(0x2d4)](_0x1c2aca,Symbol[_0x4c5fe4(0x435)],{'value':_0x4c5fe4(0x297)});}));
|