@univerjs-pro/collaboration-client-ui 0.12.2 → 0.12.3-experimental.20251205-e439e48
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 _0x5688(){const _0x29a1e6=['getMember','_registerRenderDependencies','params','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEventSubject','startFormulaLimitUrl','UniverIcon','drawWith','_render','startRow','_selfUnitIDs','getAncestorScale','addObjects','NOT_COLLAB','_initCommandInterceptor','maxFormulaLimit','searchParams','requireSession','clipPath','color','_hasFormulaInDirtyRanges','data','function','endRow','CollaborationUIEventService','subUnitId','CollaborationController','SheetCollabCursorShape','useObservable','ENTITLE_DUP_SUBSCRIPTION','fillStyle','generateRandomId','RevisionService','all','_getSessionTicket','push','off-line-icon','SessionStatus','executeCommand','random','loadOfflineData','toRgbString','flatMap','PAYMENT_CHANNEL_NOT_SUPPORT','_revisionService','CollaborationDataLoaderController','_createSocketURL','_initStatusComponent','handleInsertCol','_eventUnsubscribe','_handleJoinEvent','_unitStatus','next','off-line-icon_clip0_910_343','show','YUUMI_URL_COL_OUT_OF_RANGE','_hover','transformIMECache','_getFormulaLimitStatus','_transformUndoRedoStack','use','_maxFormulaLimit','tag','ICommandService','MoveRangeCommandId','_config','_setupBeforeClosingHandler','labelPosition','setAlpha','dispose$','body','OnLineIcon','getStateCache','DEFAULT_WS_SESSION_TICKET_URL','isArray','runRefRangeMutations','@univerjs-pro/collaboration','_injector','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','redoState','unshift','amd','VIEW_MAIN','CollaborationUIEventId','M0\x200H16V16H0z','RefRangeService','entries','_colorIndex','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','JOIN_ROOM_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','_anchor','handleInsertRow','getUniverSheetInstance','RichTextEditingMutation','getSheetId','setUndoRedoMutationParamsCache','OffLineIcon','SUBMIT_CHANGESET_TIMEOUT','getCollabCursors$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/frontend/logs','range','error','_saveTaskMap','_startDocCollabCursor','/universer-api/license/formula/limit/done','UniverProCollaborationClientUi','shareReplay','purple.300','then','restore','468172NjGyjZ','http://www.w3.org/2000/svg','MUTATION','limitInfo','assign','from','ENTITLE_NEED_BILLING_ADDRESS','getOwnPropertyDescriptor','init','red.300','_initDependencies','_docTransformStateCacheService','INVALID_ARGUMENT','save','triggerDblclick','Disposable','@univerjs/rpc','_document','transformSelections','urlChange$','AUTHORIZE_CODE_ILLEGAL','_ensureSubject','join','AWAITING','RemoveColCommandId','transformByState','_setFormulaLimitStatus','_id','history','createElement','debug','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','session.connection-failed','colorChannel1','9809300GAfXWG','MOBILE_VERIFY_CODE_MISMATCH','_collaborationUIEventService','operators','_renderManagerService','activeSheet$','EffectRefRangId','BehaviorSubject','white','UNRECOGNIZED','WebSocketService','getOffsetConfig','type','_updateLocalCursor','sheetId','RegularPolygon','getFocusedUnit','currentUsage','Unknown\x20user','currentTheme$','_scene','IURLService','getUndoRedoMutationParamsCache','switchMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CHANGESET_REVISION_CONFILICT','11417035BLceqF','UPDATE_CURSOR','_online','roomMembers','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','disableLocalCache','black','@univerjs/engine-render','_startCalculationLimit','_currentUsage','colno','defIds','exhaustSavingTask','transformMutationsWithChangeset','START_CALCULATION','Injector','MemberService','getItem','_drawTextRange','storage','delete','unit','ACTIVE_UNIT_EVENT_CHANNEL','SheetSkeletonManagerService','IUIPartsService','onPointerEnter$','0\x200\x2016\x2016','getRangePointData','_initWindowErrorListener','wsSessionTicketUrl','SetTextSelectionsOperation','CONNECTOR_DATA_TOO_LARGE','updateOfflineData','getDocRanges','disposeWithMe','YUUMI_ALL_TABLES_IS_INVALID','RxDisposable','currentColor','_getSheetObject','yellow.400','saveTaskMap','onPointerMove$','roomMembers$','_context','FromArray','complete','Loading','Workbook','isActive','Failed','forwardRef','isFormulaString','_disabled','UniverCollaborationClientPlugin','assignAColorForMemberID','UniverInstanceType','permission.title','_roomMembers$','USER_IS_ANONYMOUS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','text','setConfig','clsx','startColumn','_docSkeletonManagerService','touchDependencies','_transformHistoryAndStateStack','trim','Rect','_updateCollabCursors','getTypeOfUnitDisposed$','length','collabStatus.fetchMiss','pushState','filename','FETCH_MISS','actions','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','RemoveRowCommandId','subscribeEvent','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','substring','collaboration.single-unit.warning','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','deserializeRangeWithSheet','onPointerLeave$','_uploadLog','size','SetWorksheetActivateCommand','displayName','name','Error','asObservable','_draw','IBeforeCloseService','_monkeyPatchLogService','session.will-retry','SUCCESS','loadUnit','toStringTag','setParam','_getSaveTimeout','OTHER_CLIENT_EDITING','popstate','idSuffix','stack','_showGuardMessage','Vector2','ENTITLE_COUPON_USED_UP','_init','onMouseMove','IUniverInstanceService','INVALID_INVITE_CODE','isTransformMutationFailure','moveTo','memberID','_removeCollabCursors','div','_docTransformIMECacheService','INotificationService','_uiPartsService','Plugin','_handleLeaveEvent','_clearOtherTimers','UNIVER_DOC','setTimeout','getRenderById','_registerDependencies','ENTITLE_COUPON_EXPIRED','_hideTimer','replaceState','debounce','DocCollaborationEntity','_cursorShapes','LOGIN_FAILED','_entities','_onRefRangeChange','collabStatus.synced','_messageService','_urlService','...','USER_NOT_INVITED_CODE','_initCommandExecutedListener','univer-flex\x20univer-items-center','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_textBubble','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationStartMutation','_docClipboardService','UniverProCollaboration','_heartbeatTimer','_collabCursorState$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','socket$','USERS_LEAVE','_transformService','DesktopCollaborationStatusDisplayController','getCellMatrix','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','_updateURLWithCurrentState','event$','svg','selection','React','_imageIoService','hovered','collabCursorState$','_drawAnchor','ticket','string','executionId','getRelativeToViewportCoord','top','getCoordByCell','SetDocZoomRatioOperation','subunit','row','getVpScrollXYInfoByPosToVp','currentSkeleton$','fillText','stage','_saveCache','get','?taskId=','ENTITLE_INVALID_COUPON_CODE','_doCreateSocket','removeEventListener','\x20at\x20','COMPLETION_FINISHED','_initStatusListener','DocIMEInputManagerService','_cachedData','LICENSE_DISTRO_REJECTED','ILogService','width','_collaborationSessionService','_assignedColors','getMergeData','doc.mutation.rich-text-editing','_status$','_getScale','UniverProCollaborationClient','getCellPositionByOffset','CommandType','deepClone','onLocalMutation','getSheetBySheetId','setStateCache','docStateChange$','mask','dispose','_beforeCloseService','some','UniverCollaborationClientUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','whenReady','evenodd','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','search','clearInterval','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IMessageService','onCommandExecuted','font','SHEET_VIEWPORT_KEY','jsxs','_univerInstanceService','combineLatest','ENTITLE_CHAT_LIMIT_EXCEED','Tooltip','SetFormulaCalculationNotificationMutation','ranges','85842IIlBKu','session.collaboration-timeout','FormulaExecuteStageType','TRANSFORM_CHANGE_OBSERVABLE_TYPE','1806196oKPmrD','AWAITING_WITH_PENDING','getCurrentUnitForType','@univerjs/sheets-ui','ERROR_AGAIN','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','on-line-icon_clip0_910_349','InsertColCommandId','getLocalCacheKey','mergeOverrideWithDependencies','source','setShapeProps','_httpService','parseInt','now','runId','syncEditingCollabCursor','children','getCurrent','Shape','TEXT_RANGE_LAYER_INDEX','skeleton','_handleEvent','status$','_drawRectRange','attrs','/universer-api/license/formula/limit/status','DATA_SOURCE_TOO_LARGE','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','exports','_hovered','ALREADY_EXISTS','cursorInfo','react/jsx-runtime','filter','shift','formula.calculation.waiting','jsx','_collabSessionService','#FFF','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','getConfig','getColorFromTheme','_logService','PY_RUNTIME_SCRIPT_ERROR','ILocalStorageService','round','subscribe','_localeService','unhandledrejection','ITransformService','_session','stageInfo','_initEvent','@univerjs/docs','symbol','@univerjs/core','contains','EMAIL_VERIFY_CODE_MISMATCH','ONLINE','APPLY_REJECT','serializeRangeWithSheet','_checkCalculationAvailable','CollaborationStatus','_setupSubUnitSync','pipe','makeDirty','_localStorageService','collab-client.tooltip.reconnect','saveOfflineData','REDEMPTION_CODE_INACTIVE','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUnitStatus$','getSkeleton','LOCAL_CACHE_INTERVAL','SNAPSHOT_HAS_BEEN_REMOVED','_configService','formula.calculation.started','OTHER_CLIENTS_EDITING','UNIVER_SHEET','registerRefRange','getActiveSheet','/universer-api/license/formula/limit/start','_send','HTTPService','merge','_memberID','getValue','INVITE_CODE_HAS_BEEN_UES','startsWith','REDEMPTION_INVALID_CODE','lineTo','getParam','transformRemoteChangeset','registerRenderModule','toDisposable','144zzNfzq','getTypeOfUnitAdded$','onRendered','blue.400','@univerjs/ui','_toggleOnline','object','map','_getMergeRange','getCurrentRevOfUnit','stringify','_range','483282mjArSI','max','has','endColumn','@univerjs/drawing','_color','FormulaExecutedStateType','with','unload','_cursorInfo$','UnitStatus','Subject','SetSelectionsOperation','enableFrontendLog','functionsExecutedState','DocStateChangeManagerService','_commandService','xlink:href','_startSheetCollabCursor','[Window\x20Error]:\x20','UniverDocs','translate(.97)','UniverDocsUi','IConfigService','CollaborationSocketService','_memberService','SheetsSelectionsService','_name','IImageIoService','_themeService','handleInsertRangeMoveDown','_localCacheService','origin','MessageType','transformMutation','NO_OTHER_CLIENTS_EDITING','green.600','getUnhiddenWorksheets','EMAIL_HAS_BEEN_BOUND','handleIRemoveRow','createIdentifier','min','APPLY_REVISION_CONFILICT','_handleHover','useCallback','_onCursorUpdate','react','add','arc','Rectangle','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_HAS_BEEN_CREATED','_initEntityListener','toString','_releaseCalculationLimit','collabStatus.syncing','Tools','_clearPolling','debounceTime','entityInit$','useDependency','DisposableCollection','ISnapshotServerService','registerBeforeClose','href','CollaborationSessionService','defineProperty','undoState','handleInsertRangeMoveRight','LOGIN_TOKEN_PROCESSING_FAILED','Warning','IRemoteInstanceService','backgroundColor','m2Prime','_onCursorDelete','_initResize','getColor','_notificationService','dirtyRanges','CONFLICT','override','isEditing','15kgCvgH','ILocalCacheService','_syncEditingCollabCursorService','includes','_backgroundColor','BrowserCollaborationSocketService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','post','textRanges','USER_NOT_FOUND','@univerjs/design','2588484gZZYTy','location','_docSyncEditingCollabCursorService','NodePositionConvertToCursor','transformStateCache','UNDEFINED','DeleteRangeMoveLeftCommandId','RECT','univer-mr-2\x20univer-flex\x20univer-text-xl','DeleteRangeMoveUpCommandId','_dataLoaderService','_cursor','_updateSubUnitFromURLParams','handleIRemoveCol','m1Prime','_getAnchorBounding','@univerjs/network','@univerjs/sheets','_lastPointer','message','DependentOn','column','find','addClipboardHook','replace','defs','bind','enableLocalCache','findNodePositionByCharIndex','clearTimeout','fillRule','set','_lastResponseTimestamp','Inject','UniverEngineRender','cursorInfo$','_unitOnClients','newValue','0\x200\x2017\x2016','collaboration-client-ui.config','unitId','_applyCommand','_taskIds','setItem','values','44HWgNsi','send','WECHAT_HAS_BEEN_BOUND','code','collabStatus.offline','_collabCursorController','reconnect','REDEMPTION_CODE_NOT_STARTED','none','createInstance','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_HAS_BEEN_BOUND','registerDependencies','COLORS','SYNCED','_scheduleSaving','forEach','@univerjs-pro/collaboration-client','PERMISSION_DENIED','registerComponent','throttleTime','fill','_shapes','YUUMI_ASYNCIO_CANCELLED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','distinctUntilChanged','takeUntil','engine','OFFLINE','_initUserListener','_docSkeleton','current','DOC_RANGE_TYPE','_handleHeartbeatEvent','uni.network.url-service','Module','fromEvent','@univerjs/engine-formula','getMemberID','parse','split','_refreshCollabCursors','1em','collaboration.offline-data-not-saved','_checkAndWaitForCalculationPermission','getSheetObject','YUUMI_AI_RUN_FAILED','on-line-icon','closePath','addObject','url(#off-line-icon_clip0_910_343)','_docStateChangeManagerService','rxjs','path','CollaborationEvent','mutations','_anchorDot','WebURLService','eventID','SOCKET_FAILED_RETRY','PENDING','_scheduleClearOtherTimer','REDEMPTION_CODE_FULLY_REDEEMED','pluginName','UNAUTHENTICATED','_initUnhandledRejectionListener','catch','_entityInit$','_collaborationController','collab-text-range-','unsubscribe','measureText','_labelPosition','IRenderManagerService','unitID','createSocket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','bottom','ISocketService','[LogService\x20Error]:\x20','univerjs-icon\x20univerjs-icon-','YUUMI_UNABLE_LOAD_URL','_pollingInterval','IDocClipboardService','UniverCore','getUnitId','UniverDrawing','CanceledError'];_0x5688=function(){return _0x29a1e6;};return _0x5688();}function _0x4ca8(_0x1c687f,_0x183372){_0x1c687f=_0x1c687f-0x189;const _0x5688ee=_0x5688();let _0x4ca872=_0x5688ee[_0x1c687f];return _0x4ca872;}(function(_0x20423e,_0x4ad564){const _0x26719c=_0x4ca8,_0xe128f=_0x20423e();while(!![]){try{const _0x574428=-parseInt(_0x26719c(0x38c))/0x1+parseInt(_0x26719c(0x2bd))/0x2*(parseInt(_0x26719c(0x1bd))/0x3)+-parseInt(_0x26719c(0x1c1))/0x4*(parseInt(_0x26719c(0x285))/0x5)+parseInt(_0x26719c(0x290))/0x6+parseInt(_0x26719c(0x3cb))/0x7+-parseInt(_0x26719c(0x227))/0x8*(-parseInt(_0x26719c(0x233))/0x9)+-parseInt(_0x26719c(0x3b1))/0xa;if(_0x574428===_0x4ad564)break;else _0xe128f['push'](_0xe128f['shift']());}catch(_0x41fb6c){_0xe128f['push'](_0xe128f['shift']());}}}(_0x5688,0xd0ad6),function(_0x5fc012,_0x3f4802){const _0x1b958a=_0x4ca8;typeof exports==_0x1b958a(0x22d)&&typeof module<'u'?_0x3f4802(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==_0x1b958a(0x32c)&&define[_0x1b958a(0x36b)]?define([_0x1b958a(0x1df),_0x1b958a(0x1e3),_0x1b958a(0x2ce),_0x1b958a(0x1fb),_0x1b958a(0x22b),'rxjs',_0x1b958a(0x28f),_0x1b958a(0x261),_0x1b958a(0x39c),_0x1b958a(0x2a1),_0x1b958a(0x3d3),_0x1b958a(0x2a0),'@univerjs/docs-ui',_0x1b958a(0x237),_0x1b958a(0x362),_0x1b958a(0x1f9),_0x1b958a(0x2e2),'rxjs/operators',_0x1b958a(0x1c4)],_0x3f4802):(_0x5fc012=typeof globalThis<'u'?globalThis:_0x5fc012||self,_0x3f4802(_0x5fc012[_0x1b958a(0x387)]={},_0x5fc012['React'],_0x5fc012[_0x1b958a(0x19b)],_0x5fc012[_0x1b958a(0x311)],_0x5fc012['UniverUi'],_0x5fc012[_0x1b958a(0x2f1)],_0x5fc012['UniverDesign'],_0x5fc012[_0x1b958a(0x476)],_0x5fc012['UniverRpc'],_0x5fc012['UniverSheets'],_0x5fc012[_0x1b958a(0x2b2)],_0x5fc012['UniverNetwork'],_0x5fc012[_0x1b958a(0x249)],_0x5fc012[_0x1b958a(0x313)],_0x5fc012[_0x1b958a(0x467)],_0x5fc012[_0x1b958a(0x247)],_0x5fc012['UniverEngineFormula'],_0x5fc012['rxjs'][_0x1b958a(0x3b4)],_0x5fc012['UniverSheetsUi']));}(this,function(_0x37e3f4,_0x3d2e84,_0x4cce40,_0x88db4d,_0x2ff57e,_0x3b0fae,_0x37cc58,_0x5a810d,_0xe0b8d8,_0x125f36,_0xe27d05,_0x37abfe,_0x1fd691,_0x455754,_0x28fbb0,_0x3c0520,_0x52fd75,_0x31a1bf,_0x309330){'use strict';const _0x2be3c1=_0x4ca8;var _0x4ff436=Object[_0x2be3c1(0x275)],_0x129eae=(_0x593c33,_0xf135dd,_0x2f586f)=>_0xf135dd in _0x593c33?_0x4ff436(_0x593c33,_0xf135dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f586f}):_0x593c33[_0xf135dd]=_0x2f586f,_0x31ba17=(_0x5c5c3d,_0x2e0295,_0x5512a6)=>_0x129eae(_0x5c5c3d,typeof _0x2e0295!=_0x2be3c1(0x1fa)?_0x2e0295+'':_0x2e0295,_0x5512a6);function _0x217168({ref:_0x46689a,..._0x18e228}){const _0xe33285=_0x2be3c1,{icon:_0x3e82e8,id:_0x238937,className:_0x230661,extend:_0x449d41,..._0x36f0c1}=_0x18e228,_0x2ff550=(_0xe33285(0x30d)+_0x238937+'\x20'+(_0x230661||''))[_0xe33285(0x40f)](),_0x352bcf=_0x5a810d['useRef']('_'+_0x367607());return _0x27188a(_0x3e82e8,''+_0x238937,{'defIds':_0x3e82e8[_0xe33285(0x3d7)],'idSuffix':_0x352bcf[_0xe33285(0x2dc)]},{'ref':_0x46689a,'className':_0x2ff550,..._0x36f0c1},_0x449d41);}function _0x27188a(_0x3fd350,_0x535233,_0x539a93,_0x176564,_0x1f6e0e){const _0x5ebbfa=_0x2be3c1;return _0x5a810d[_0x5ebbfa(0x3a9)](_0x3fd350[_0x5ebbfa(0x354)],{'key':_0x535233,..._0x1da131(_0x3fd350,_0x539a93,_0x1f6e0e),..._0x176564},(_0x174b3e(_0x3fd350,_0x539a93)[_0x5ebbfa(0x1d2)]||[])['map']((_0x5780f0,_0xb6d09a)=>_0x27188a(_0x5780f0,_0x535233+'-'+_0x3fd350[_0x5ebbfa(0x354)]+'-'+_0xb6d09a,_0x539a93,void 0x0,_0x1f6e0e)));}function _0x1da131(_0x1f0aeb,_0x25b3d8,_0x59e11d){const _0x44d641=_0x2be3c1,_0x447d4a={..._0x1f0aeb['attrs']};_0x59e11d!=null&&_0x59e11d[_0x44d641(0x3b0)]&&_0x447d4a['fill']==='colorChannel1'&&(_0x447d4a[_0x44d641(0x2d2)]=_0x59e11d[_0x44d641(0x3b0)]),_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x1a3)&&_0x447d4a['id']&&(_0x447d4a['id']=_0x447d4a['id']+_0x25b3d8[_0x44d641(0x437)]),Object['entries'](_0x447d4a)['forEach'](([_0x5a78f2,_0xf21bba])=>{const _0x323a5c=_0x44d641;_0x5a78f2==='mask'&&typeof _0xf21bba=='string'&&(_0x447d4a[_0x5a78f2]=_0xf21bba[_0x323a5c(0x2a8)](/url\(#(.*)\)/,_0x323a5c(0x318)+_0x25b3d8[_0x323a5c(0x437)]+')'));});const {defIds:_0x1b329b}=_0x25b3d8;return!_0x1b329b||_0x1b329b['length']===0x0||(_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x352)&&_0x447d4a[_0x44d641(0x244)]&&(_0x447d4a[_0x44d641(0x244)]=_0x447d4a[_0x44d641(0x244)]+_0x25b3d8[_0x44d641(0x437)]),Object[_0x44d641(0x370)](_0x447d4a)[_0x44d641(0x2cd)](([_0x4e546c,_0x37fbeb])=>{const _0x10fd51=_0x44d641;typeof _0x37fbeb==_0x10fd51(0x47c)&&(_0x447d4a[_0x4e546c]=_0x37fbeb[_0x10fd51(0x2a8)](/url\(#(.*)\)/,'url(#$1'+_0x25b3d8[_0x10fd51(0x437)]+')'));})),_0x447d4a;}function _0x174b3e(_0x5bf7f7,_0x2c9efa){const _0x4e5321=_0x2be3c1;var _0x6d9aeb;const {defIds:_0x3227b2}=_0x2c9efa;return!_0x3227b2||_0x3227b2[_0x4e5321(0x413)]===0x0?_0x5bf7f7:_0x5bf7f7['tag']==='defs'&&((_0x6d9aeb=_0x5bf7f7['children'])!=null&&_0x6d9aeb[_0x4e5321(0x413)])?{..._0x5bf7f7,'children':_0x5bf7f7['children'][_0x4e5321(0x22e)](_0x40aa08=>typeof _0x40aa08[_0x4e5321(0x1da)]['id']==_0x4e5321(0x47c)&&_0x3227b2&&_0x3227b2['includes'](_0x40aa08['attrs']['id'])?{..._0x40aa08,'attrs':{..._0x40aa08[_0x4e5321(0x1da)],'id':_0x40aa08[_0x4e5321(0x1da)]['id']+_0x2c9efa[_0x4e5321(0x437)]}}:_0x40aa08)}:_0x5bf7f7;}function _0x367607(){const _0x3d572b=_0x2be3c1;return Math[_0x3d572b(0x33d)]()[_0x3d572b(0x268)](0x24)[_0x3d572b(0x41f)](0x2,0x8);}_0x217168[_0x2be3c1(0x428)]=_0x2be3c1(0x31c);const _0xad8bff={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':_0x2be3c1(0x38d),'fill':_0x2be3c1(0x2c5),'viewBox':_0x2be3c1(0x3e6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2be3c1(0x2ef)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':_0x2be3c1(0x1c6),'strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2be3c1(0x34b)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e)}}]}]}],'defIds':[_0x2be3c1(0x34b)]},_0x350546=_0x5a810d[_0x2be3c1(0x3fe)](function(_0xe0ee5e,_0x25f6a2){const _0x3caf7a=_0x2be3c1;return _0x5a810d[_0x3caf7a(0x3a9)](_0x217168,Object['assign']({},_0xe0ee5e,{'id':_0x3caf7a(0x33a),'ref':_0x25f6a2,'icon':_0xad8bff}));});_0x350546[_0x2be3c1(0x428)]=_0x2be3c1(0x37d);const _0x23dbc7={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2be3c1(0x2b6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':_0x2be3c1(0x328),'attrs':{'id':_0x2be3c1(0x1c7)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e),'transform':_0x2be3c1(0x248)}}]}]}],'defIds':[_0x2be3c1(0x1c7)]},_0x42e5a5=_0x5a810d['forwardRef'](function(_0x1ffc71,_0x1cc1c3){const _0x26d259=_0x2be3c1;return _0x5a810d['createElement'](_0x217168,Object[_0x26d259(0x390)]({},_0x1ffc71,{'id':_0x26d259(0x2ec),'ref':_0x1cc1c3,'icon':_0x23dbc7}));});_0x42e5a5[_0x2be3c1(0x428)]=_0x2be3c1(0x35d);function _0x43d454(_0x5571c5){const _0x3997df=_0x2be3c1;switch(_0x5571c5){case _0x4cce40['CollaborationStatus'][_0x3997df(0x2d9)]:return _0x3997df(0x2c1);case _0x4cce40[_0x3997df(0x202)]['CONFLICT']:return'collabStatus.conflict';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x417)]:return _0x3997df(0x414);case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x323)]:return'collabStatus.notCollab';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x3a3)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x1c2)]:return _0x3997df(0x26a);case _0x4cce40['CollaborationStatus'][_0x3997df(0x2cb)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x2f9)]:return _0x3997df(0x458);}}function _0xc54cb7(_0x1fc73d){const _0x19aabb=_0x2be3c1,{status$:_0x1de49c}=_0x1fc73d,_0xbd570f=_0x2ff57e[_0x19aabb(0x332)](_0x1de49c,_0x4cce40[_0x19aabb(0x202)][_0x19aabb(0x323)]),_0x2bd048=_0x2ff57e[_0x19aabb(0x26f)](_0x88db4d['LocaleService']),_0x91e741=_0x2ff57e[_0x19aabb(0x26f)](_0x4cce40[_0x19aabb(0x274)]),_0xf4d021=_0xbd570f!==_0x4cce40[_0x19aabb(0x202)]['OFFLINE'],_0x4a6543=_0x2bd048['t'](_0x43d454(_0xbd570f)),_0x2d0530=_0xf4d021?_0x3d2e84[_0x19aabb(0x1e7)](_0x42e5a5,{}):_0x3d2e84[_0x19aabb(0x1e7)](_0x350546,{}),_0x578585=_0x5a810d[_0x19aabb(0x25f)](()=>{const _0x42fecd=_0x19aabb;_0xf4d021||_0x91e741[_0x42fecd(0x2c3)]();},[_0xf4d021,_0x91e741]);function _0x26d9e5(){const _0x19646a=_0x19aabb;return _0x3d2e84[_0x19646a(0x1b6)](_0x19646a(0x444),{'className':_0x19646a(0x45e),'onClick':_0x578585,'children':[_0x3d2e84['jsx'](_0x19646a(0x444),{'className':_0x37cc58[_0x19646a(0x40a)](_0x19646a(0x298),{'univer-text-green-500':_0xf4d021,'univer-text-red-500':!_0xf4d021}),'children':_0x2d0530}),_0x3d2e84[_0x19646a(0x1e7)]('div',{'className':_0x19646a(0x1b1),'children':_0x4a6543})]});}return _0xf4d021?_0x26d9e5():_0x3d2e84[_0x19aabb(0x1e7)](_0x37cc58[_0x19aabb(0x1ba)],{'title':_0x2bd048['t'](_0x19aabb(0x207)),'children':_0x26d9e5()});}var _0x2fb8d3=Object[_0x2be3c1(0x393)],_0x324dc6=(_0x1b6c2f,_0x28be3c,_0x23ec7f,_0x1e304c)=>{const _0x3a0c38=_0x2be3c1;for(var _0x408e13=_0x1e304c>0x1?void 0x0:_0x1e304c?_0x2fb8d3(_0x28be3c,_0x23ec7f):_0x28be3c,_0x1ee8b6=_0x1b6c2f[_0x3a0c38(0x413)]-0x1,_0xca2621;_0x1ee8b6>=0x0;_0x1ee8b6--)(_0xca2621=_0x1b6c2f[_0x1ee8b6])&&(_0x408e13=_0xca2621(_0x408e13)||_0x408e13);return _0x408e13;},_0x98f4e7=(_0x3f185e,_0x44cad1)=>(_0x227d12,_0x4048cd)=>_0x44cad1(_0x227d12,_0x4048cd,_0x3f185e);_0x37e3f4[_0x2be3c1(0x46e)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x803f52,_0x4344c6,_0x369575,_0x398d2c){const _0x4f3ca0=_0x2be3c1;super(),_0x31ba17(this,_0x4f3ca0(0x199),new _0x3b0fae[(_0x4f3ca0(0x3b8))](_0x4cce40[_0x4f3ca0(0x202)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x803f52,this['_injector']=_0x4344c6,this[_0x4f3ca0(0x301)]=_0x369575,this[_0x4f3ca0(0x447)]=_0x398d2c,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x2be3c1(0x18f)](){const _0x40106a=_0x2be3c1;this[_0x40106a(0x3ee)](this[_0x40106a(0x1b7)]['focused$'][_0x40106a(0x204)](_0x3b0fae[_0x40106a(0x3c8)](()=>{const _0x482c6d=_0x40106a,_0x58e031=this[_0x482c6d(0x1b7)][_0x482c6d(0x3c1)]();return _0x58e031?this['_collaborationController']['getCollabEntity$'](_0x58e031[_0x482c6d(0x312)]()):_0x3b0fae['of'](null);}),_0x3b0fae[_0x40106a(0x3c8)](_0x22f7f4=>_0x22f7f4?_0x22f7f4[_0x40106a(0x1d8)]:_0x3b0fae['of'](_0x4cce40['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x35fe9a=>{const _0x4f6ccd=_0x40106a;this['_status$'][_0x4f6ccd(0x34a)](_0x35fe9a);}));}[_0x2be3c1(0x345)](){const _0x5e5ff0=_0x2be3c1;this[_0x5e5ff0(0x3ee)](this[_0x5e5ff0(0x447)][_0x5e5ff0(0x2d0)](_0x2ff57e['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ff57e['connectInjector'](_0x199a76({'status$':this[_0x5e5ff0(0x199)][_0x5e5ff0(0x42b)]()}),this['_injector'])));}},_0x37e3f4[_0x2be3c1(0x46e)]=_0x324dc6([_0x98f4e7(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x98f4e7(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x98f4e7(0x2,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x330)])),_0x98f4e7(0x3,_0x2ff57e[_0x2be3c1(0x3e4)])],_0x37e3f4[_0x2be3c1(0x46e)]);function _0x199a76(_0x50fd09){const {status$:_0x242ba3}=_0x50fd09;return function(){const _0x43a168=_0x4ca8;return _0x3d2e84[_0x43a168(0x1e7)](_0xc54cb7,{'status$':_0x242ba3});};}const _0x58bcf2=_0x88db4d[_0x2be3c1(0x25b)](_0x2be3c1(0x2df));var _0x4e23ed=Object[_0x2be3c1(0x393)],_0x2c9fb0=(_0x4c51c9,_0x2f5f1a,_0x3a5cdd,_0x15aad4)=>{const _0x21cee3=_0x2be3c1;for(var _0x184718=_0x15aad4>0x1?void 0x0:_0x15aad4?_0x4e23ed(_0x2f5f1a,_0x3a5cdd):_0x2f5f1a,_0x3f8bc4=_0x4c51c9[_0x21cee3(0x413)]-0x1,_0x115463;_0x3f8bc4>=0x0;_0x3f8bc4--)(_0x115463=_0x4c51c9[_0x3f8bc4])&&(_0x184718=_0x115463(_0x184718)||_0x184718);return _0x184718;},_0x5cf65a=(_0x2e8166,_0x4f14c0)=>(_0x53cdc5,_0x304909)=>_0x4f14c0(_0x53cdc5,_0x304909,_0x2e8166);_0x37e3f4[_0x2be3c1(0x343)]=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x25d042,_0x5e4012,_0x3c432,_0x1e925e,_0x25d9f3){const _0x7c4562=_0x2be3c1;super(),this[_0x7c4562(0x45a)]=_0x25d042,this['_logService']=_0x5e4012,this[_0x7c4562(0x243)]=_0x3c432,this['_dataLoaderService']=_0x1e925e,_0x25d9f3?_0x25d9f3==null||_0x25d9f3[_0x7c4562(0x1a9)]()['then'](()=>this[_0x7c4562(0x43c)]()):(this[_0x7c4562(0x1ee)][_0x7c4562(0x3aa)]('[CollaborationDataLoaderController]',_0x7c4562(0x380)),this['_init']());}async[_0x2be3c1(0x43c)](){const _0x38531f=_0x2be3c1,_0x4a030d=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3e1)),_0x7ad8a2=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3bd)),_0x33bb48=this[_0x38531f(0x45a)][_0x38531f(0x223)]('subunit');if(!_0x4a030d||!_0x7ad8a2){this['_logService'][_0x38531f(0x3aa)]('[CollaborationDataLoaderController]',_0x38531f(0x367));return;}const _0x5b180b=await this[_0x38531f(0x29a)][_0x38531f(0x431)](_0x4a030d,Number(_0x7ad8a2),_0x33bb48);_0x5b180b&&_0x5b180b instanceof _0x88db4d[_0x38531f(0x3fb)]&&this['_setupSubUnitSync'](_0x5b180b);}async[_0x2be3c1(0x203)](_0x37d17c){const _0x483a9b=_0x2be3c1;await this[_0x483a9b(0x29c)](_0x37d17c),_0x37d17c[_0x483a9b(0x3b6)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](_0x4d1c7f=>{const _0x33410d=_0x483a9b;_0x4d1c7f&&this[_0x33410d(0x472)](_0x4d1c7f);}),this[_0x483a9b(0x45a)][_0x483a9b(0x39f)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](()=>this['_updateSubUnitFromURLParams'](_0x37d17c));}[_0x2be3c1(0x472)](_0x323145,_0x534a09=!0x1){const _0x4e7d86=_0x2be3c1,_0x511df5=this[_0x4e7d86(0x45a)]['getParam']('subunit');_0x323145[_0x4e7d86(0x37b)]()!==_0x511df5&&this[_0x4e7d86(0x45a)][_0x4e7d86(0x433)](_0x4e7d86(0x482),_0x323145[_0x4e7d86(0x37b)](),_0x534a09);}async[_0x2be3c1(0x29c)](_0x2e7822){const _0x4b8e5b=_0x2be3c1;var _0x16eff8;const _0x366f78=this[_0x4b8e5b(0x45a)]['getParam'](_0x4b8e5b(0x482));if(!_0x366f78||!_0x2e7822[_0x4b8e5b(0x1a0)](_0x366f78)){const _0x496021=_0x2e7822[_0x4b8e5b(0x258)]()[0x0],_0x2e4de3=_0x2e7822[_0x4b8e5b(0x1a0)](_0x496021);if(!_0x2e4de3)return;this[_0x4b8e5b(0x472)](_0x2e4de3,!0x0),await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36[_0x4b8e5b(0x427)]['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x496021});return;}((_0x16eff8=_0x2e7822[_0x4b8e5b(0x218)]())==null?void 0x0:_0x16eff8['getSheetId']())!==_0x366f78&&await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x366f78});}},_0x37e3f4[_0x2be3c1(0x343)]=_0x2c9fb0([_0x5cf65a(0x0,_0x58bcf2),_0x5cf65a(0x1,_0x88db4d[_0x2be3c1(0x193)]),_0x5cf65a(0x2,_0x88db4d['ICommandService']),_0x5cf65a(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40['DataLoaderService'])),_0x5cf65a(0x4,_0x88db4d['Optional'](_0xe0b8d8[_0x2be3c1(0x27a)]))],_0x37e3f4[_0x2be3c1(0x343)]);var _0x1fd129=Object['getOwnPropertyDescriptor'],_0x4a6af2=(_0x3fa966,_0x33835c,_0x47d03e,_0x38d96f)=>{const _0x4705be=_0x2be3c1;for(var _0xe91cd4=_0x38d96f>0x1?void 0x0:_0x38d96f?_0x1fd129(_0x33835c,_0x47d03e):_0x33835c,_0xfa9293=_0x3fa966[_0x4705be(0x413)]-0x1,_0x39838b;_0xfa9293>=0x0;_0xfa9293--)(_0x39838b=_0x3fa966[_0xfa9293])&&(_0xe91cd4=_0x39838b(_0xe91cd4)||_0xe91cd4);return _0xe91cd4;},_0x589813=(_0x190af7,_0x500efa)=>(_0x1224f0,_0x1e7d66)=>_0x500efa(_0x1224f0,_0x1e7d66,_0x190af7);let _0x53cf70=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x1ef515,_0x17509c){const _0x15941b=_0x2be3c1;super(),this[_0x15941b(0x466)]=_0x1ef515,this[_0x15941b(0x477)]=_0x17509c,this[_0x15941b(0x43c)]();}[_0x2be3c1(0x43c)](){const _0x18ca71=_0x2be3c1,_0x80a06d=this;this['disposeWithMe'](this[_0x18ca71(0x466)][_0x18ca71(0x2a7)]({'onBeforePasteImage':async _0x161610=>{const _0x4e501d=_0x18ca71,_0x394a0d=await _0x80a06d[_0x4e501d(0x477)]['saveImage'](_0x161610);return _0x394a0d?{'source':_0x394a0d[_0x4e501d(0x1cb)],'imageSourceType':_0x394a0d['imageSourceType']}:null;}}));}};_0x53cf70=_0x4a6af2([_0x589813(0x0,_0x1fd691[_0x2be3c1(0x310)]),_0x589813(0x1,_0x455754[_0x2be3c1(0x24f)])],_0x53cf70);const _0x1a3ad0=[_0x2be3c1(0x389),'jiqing.500',_0x2be3c1(0x257),_0x2be3c1(0x395),_0x2be3c1(0x22a),_0x2be3c1(0x3f3)];class _0x469c3c extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x10308a=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x10308a(0x196),new Map()),_0x31ba17(this,_0x10308a(0x371),0x0);}[_0x2be3c1(0x402)](_0x575076){const _0x12588b=_0x2be3c1;if(this[_0x12588b(0x196)][_0x12588b(0x235)](_0x575076))return this['_assignedColors'][_0x12588b(0x489)](_0x575076);const _0x2fadfb=_0x1a3ad0[this[_0x12588b(0x371)]];return this[_0x12588b(0x371)]=(this[_0x12588b(0x371)]+0x1)%_0x1a3ad0['length'],this['_assignedColors'][_0x12588b(0x2af)](_0x575076,_0x2fadfb),_0x2fadfb;}}function _0x1b67b(_0x2cea5d){const _0x598c5d=_0x2be3c1;let _0x414456='';for(const _0x3061a3 of _0x2cea5d){const {startOffset:_0xed4959,endOffset:_0x3be2a9,isActive:_0x358eee,rangeType:_0x506a24,segmentId:_0x108d9f,segmentPage:_0x3acd86}=_0x3061a3;_0x414456[_0x598c5d(0x413)]&&(_0x414456+=','),_0x414456+=_0xed4959+':'+_0x3be2a9+':'+(_0x358eee?'1':'0')+':'+_0x506a24+':'+_0x108d9f+':'+_0x3acd86;}return _0x414456;}function _0xd6e2b0(_0x3a75a3){const _0x364921=_0x2be3c1,_0x1c0ed3=_0x3a75a3[_0x364921(0x2e5)](','),_0x5dc4bb=[];for(const _0x5a50a7 of _0x1c0ed3){const [_0xa13608,_0x3ef02d,_0x42f32b,_0x3363a4,_0x459a1d,_0x51b42e]=_0x5a50a7[_0x364921(0x2e5)](':');_0x5dc4bb[_0x364921(0x339)]({'startOffset':Number(_0xa13608),'endOffset':Number(_0x3ef02d),'collapsed':_0xa13608===_0x3ef02d,'isActive':_0x42f32b==='1','rangeType':_0x3363a4===_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]?_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]:_0x88db4d['DOC_RANGE_TYPE'][_0x364921(0x297)],'segmentId':typeof _0x459a1d==_0x364921(0x47c)?String(_0x459a1d):'','segmentPage':Number(_0x51b42e!=null?_0x51b42e:-0x1)});}return _0x5dc4bb[_0x364921(0x1a6)](_0xe6fead=>_0xe6fead[_0x364921(0x3fc)])||(_0x5dc4bb[0x0][_0x364921(0x3fc)]=!0x0),_0x5dc4bb;}class _0x5ae914 extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(){const _0x34c01b=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x34c01b(0x469),new _0x3b0fae[(_0x34c01b(0x3b8))](null)),_0x31ba17(this,_0x34c01b(0x479),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x75d2fe){const _0x2ac320=_0x2be3c1,{unitID:_0xe59c05,memberID:_0x29a02d,textRanges:_0x44f841}=_0x75d2fe,_0x2310c5=_0x1b67b(_0x44f841);if(_0x2310c5==='')return;const _0x1675ef={'unitID':_0xe59c05,'memberID':_0x29a02d,'selection':_0x2310c5};this[_0x2ac320(0x469)][_0x2ac320(0x34a)](_0x1675ef);}}var _0x451c12=Object['getOwnPropertyDescriptor'],_0x570ac6=(_0x973537,_0x145099,_0x564c1d,_0x28a08f)=>{for(var _0x5bd05e=_0x28a08f>0x1?void 0x0:_0x28a08f?_0x451c12(_0x145099,_0x564c1d):_0x145099,_0x416172=_0x973537['length']-0x1,_0x4e170b;_0x416172>=0x0;_0x416172--)(_0x4e170b=_0x973537[_0x416172])&&(_0x5bd05e=_0x4e170b(_0x5bd05e)||_0x5bd05e);return _0x5bd05e;},_0x5cd293=(_0x448c7c,_0x5f37e2)=>(_0x43ae90,_0x587de3)=>_0x5f37e2(_0x43ae90,_0x587de3,_0x448c7c);const _0x2d7324=0x12c,_0x2d8af4=0x64;let _0x164a3b=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0xc7c9af,_0x1f0cb8,_0x510734,_0x312504,_0x4c318c,_0xfaa7a,_0x2e9e28,_0x2da049,_0x557dd9){const _0x39cb7c=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,_0x39cb7c(0x43c),!0x1),_0x31ba17(this,_0x39cb7c(0x23c),new _0x3b0fae[(_0x39cb7c(0x3b8))](new Map())),_0x31ba17(this,_0x39cb7c(0x2b3),this[_0x39cb7c(0x23c)][_0x39cb7c(0x42b)]()),_0x31ba17(this,'_roomMembers$',new _0x3b0fae[(_0x39cb7c(0x3b8))]([])),_0x31ba17(this,_0x39cb7c(0x3f6),this['_roomMembers$'][_0x39cb7c(0x204)](_0x3b0fae[_0x39cb7c(0x26d)](_0x2d7324))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x39cb7c(0x452)](_0x570767=>{const _0x5d7cb4=_0x39cb7c,_0x4989d={'eventID':_0x28fbb0[_0x5d7cb4(0x2f3)][_0x5d7cb4(0x3cc)],'data':{'unitID':this[_0x5d7cb4(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x1b67b(_0x570767)}};this[_0x5d7cb4(0x1f6)]['send'](_0x4989d,this[_0x5d7cb4(0x307)]);},_0x2d8af4)),(this[_0x39cb7c(0x307)]=_0xc7c9af,this['_session']=_0x1f0cb8,this['_injector']=_0x510734,this[_0x39cb7c(0x471)]=_0x312504,this['_memberService']=_0x4c318c,this['_syncEditingCollabCursorService']=_0xfaa7a,this['_transformService']=_0x2e9e28,this[_0x39cb7c(0x1b7)]=_0x2da049,this['_commandService']=_0x557dd9);}get[_0x2be3c1(0x1e2)](){const _0x4e74d5=_0x2be3c1;return this[_0x4e74d5(0x23c)][_0x4e74d5(0x21e)]();}get[_0x2be3c1(0x3ce)](){const _0x3e6b84=_0x2be3c1;return this[_0x3e6b84(0x405)][_0x3e6b84(0x21e)]();}[_0x2be3c1(0x1a4)](){const _0x2ff811=_0x2be3c1;super[_0x2ff811(0x1a4)](),this[_0x2ff811(0x23c)][_0x2ff811(0x34a)](new Map()),this['_cursorInfo$'][_0x2ff811(0x3f9)](),this[_0x2ff811(0x405)]['next']([]),this['_roomMembers$'][_0x2ff811(0x3f9)]();}[_0x2be3c1(0x394)](){const _0x1b20ae=_0x2be3c1;this['_init']||(this[_0x1b20ae(0x43c)]=!0x0,this[_0x1b20ae(0x1f6)]['sessionStatus$'][_0x1b20ae(0x204)](_0x3b0fae['takeUntil'](this[_0x1b20ae(0x35b)]))['subscribe'](_0xae5195=>{const _0x396913=_0x1b20ae;_0xae5195===_0x4cce40['SessionStatus'][_0x396913(0x1fe)]?this[_0x396913(0x22c)]():this[_0x396913(0x1dd)]();}),this['_session']['event$']['pipe'](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x555f12=>{const _0x5b2eb4=_0x1b20ae,_0x14716c=_0x555f12[_0x5b2eb4(0x2f7)];_0x14716c===_0x28fbb0['CollaborationEvent'][_0x5b2eb4(0x3cc)]&&this[_0x5b2eb4(0x260)](_0x555f12),_0x14716c===_0x28fbb0[_0x5b2eb4(0x2f3)][_0x5b2eb4(0x46c)]&&this[_0x5b2eb4(0x27d)](_0x555f12);}),this[_0x1b20ae(0x3ee)](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x3ea53c=>{const _0x4d7ab4=_0x1b20ae,_0x6edaeb=_0x3ea53c[_0x4d7ab4(0x317)];_0x6edaeb!=null&&this['_online']&&_0x3ea53c['id']===_0x3c0520[_0x4d7ab4(0x3ea)]['id']&&_0x6edaeb[_0x4d7ab4(0x2b8)]===this[_0x4d7ab4(0x307)]&&_0x6edaeb[_0x4d7ab4(0x284)]===!0x1&&_0x6edaeb[_0x4d7ab4(0x1bc)][_0x4d7ab4(0x413)]>0x0&&this[_0x4d7ab4(0x3be)](_0x6edaeb['ranges']);})),this[_0x1b20ae(0x287)][_0x1b20ae(0x479)][_0x1b20ae(0x204)](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x8be2ef=>{const _0x54e0e2=_0x1b20ae;if((_0x8be2ef==null?void 0x0:_0x8be2ef[_0x54e0e2(0x307)])!==this[_0x54e0e2(0x307)])return;const _0x54b25d={'eventID':_0x28fbb0[_0x54e0e2(0x2f3)]['UPDATE_CURSOR'],'data':_0x8be2ef};this[_0x54e0e2(0x260)](_0x54b25d);}),this['disposeWithMe'](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x36027e=>{const _0x2083df=_0x1b20ae;if(_0x36027e[_0x2083df(0x317)]==null)return;const _0x5c4da6=_0x36027e[_0x2083df(0x317)];if(_0x36027e['id']!==_0x3c0520[_0x2083df(0x37a)]['id']||_0x5c4da6[_0x2083df(0x2b8)]!==this[_0x2083df(0x307)])return;const _0x2cc98d={'id':_0x2083df(0x198),'params':_0x5c4da6},_0x2626e8=this[_0x2083df(0x1e2)];for(const [_0x20aad2,_0x2d8a77]of _0x2626e8){const _0x2254d8={'id':_0x2083df(0x198),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2d8a77[_0x2083df(0x1bc)]}},_0x35e073=this[_0x2083df(0x46d)][_0x2083df(0x255)](_0x2cc98d,_0x2254d8,!0x1);if(_0x28fbb0[_0x2083df(0x440)](_0x35e073))throw _0x35e073['error'];_0x2626e8[_0x2083df(0x2af)](_0x20aad2,{..._0x2d8a77,'ranges':_0x35e073[_0x2083df(0x27c)]['params'][_0x2083df(0x28d)]});}queueMicrotask(()=>{const _0x4b3b71=_0x2083df;this[_0x4b3b71(0x23c)][_0x4b3b71(0x34a)](_0x2626e8);});})));}[_0x2be3c1(0x260)](_0xb8e736){const _0x283b5c=_0x2be3c1;var _0x95c7f8,_0x4f840f;const {memberID:_0x521ae7,selection:_0x24711b}=_0xb8e736[_0x283b5c(0x32b)],_0x3f59d7=_0xd6e2b0(_0x24711b),_0x4a007e=(_0x4f840f=(_0x95c7f8=this[_0x283b5c(0x24c)][_0x283b5c(0x315)](this[_0x283b5c(0x307)],_0x521ae7))==null?void 0x0:_0x95c7f8[_0x283b5c(0x429)])!=null?_0x4f840f:_0x283b5c(0x3c3),_0x282b95={'color':this[_0x283b5c(0x471)][_0x283b5c(0x402)](_0x521ae7),'name':_0x4a007e,'ranges':_0x3f59d7},_0x4e78d1=this['cursorInfo'];_0x4e78d1['set'](_0x521ae7,_0x282b95),this['_cursorInfo$'][_0x283b5c(0x34a)](_0x4e78d1);}[_0x2be3c1(0x27d)](_0x5b7972){const _0x4ebc0f=_0x2be3c1,{memberID:_0x30c4b3}=_0x5b7972[_0x4ebc0f(0x32b)],_0x21bab2=this[_0x4ebc0f(0x1e2)];_0x21bab2[_0x4ebc0f(0x3e0)](_0x30c4b3),this[_0x4ebc0f(0x23c)][_0x4ebc0f(0x34a)](_0x21bab2);}[_0x2be3c1(0x22c)](){const _0x4f6f0b=_0x2be3c1;var _0x2426cb;if(this[_0x4f6f0b(0x3cd)]=!0x0,((_0x2426cb=this[_0x4f6f0b(0x1b7)]['getFocusedUnit']())==null?void 0x0:_0x2426cb[_0x4f6f0b(0x312)]())!==this[_0x4f6f0b(0x307)])return;const _0x3cff79=this['_injector'][_0x4f6f0b(0x489)](_0x3c0520[_0x4f6f0b(0x41a)])[_0x4f6f0b(0x3ed)]();Array['isArray'](_0x3cff79)&&_0x3cff79[_0x4f6f0b(0x413)]>0x0&&this[_0x4f6f0b(0x3be)](_0x3cff79);}[_0x2be3c1(0x1dd)](){const _0x5ae4b2=_0x2be3c1;this[_0x5ae4b2(0x3cd)]=!0x1;}};_0x164a3b=_0x570ac6([_0x5cd293(0x2,_0x88db4d['Inject'](_0x88db4d[_0x2be3c1(0x3db)])),_0x5cd293(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x5cd293(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x5cd293(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x5cd293(0x6,_0x28fbb0['ITransformService']),_0x5cd293(0x7,_0x88db4d[_0x2be3c1(0x43e)]),_0x5cd293(0x8,_0x88db4d[_0x2be3c1(0x355)])],_0x164a3b);var _0x47db12=Object[_0x2be3c1(0x393)],_0x22a41b=(_0x4e5a24,_0x4981f7,_0x262e83,_0x2153de)=>{const _0x571584=_0x2be3c1;for(var _0x2e5603=_0x2153de>0x1?void 0x0:_0x2153de?_0x47db12(_0x4981f7,_0x262e83):_0x4981f7,_0x54a2b8=_0x4e5a24[_0x571584(0x413)]-0x1,_0x1e6488;_0x54a2b8>=0x0;_0x54a2b8--)(_0x1e6488=_0x4e5a24[_0x54a2b8])&&(_0x2e5603=_0x1e6488(_0x2e5603)||_0x2e5603);return _0x2e5603;},_0x49d8dc=(_0x53cbff,_0xcc0068)=>(_0x439bf8,_0x4b7c71)=>_0xcc0068(_0x439bf8,_0x4b7c71,_0x53cbff);const _0x2c8fc0=0x12c,_0x503ef5=0x64,_0x57e16a=()=>{let _0x20b2fa=[],_0x1fa9d3=!0x1;return _0x2dc7fb=>{const _0x52783f=_0x4ca8;_0x20b2fa[_0x52783f(0x339)](_0x2dc7fb),_0x1fa9d3||(_0x1fa9d3=!0x0,setTimeout(()=>{const _0x36c1f7=_0x52783f;_0x20b2fa[_0x36c1f7(0x2cd)](_0x2926c4=>_0x2926c4()),_0x20b2fa=[],_0x1fa9d3=!0x1;}));};};let _0x14f87c=class extends _0x88db4d['RxDisposable']{constructor(_0x3f507a,_0x262d7e,_0x57530b,_0x5b209f,_0x5c62aa,_0x2a4ff4,_0x5a7f03,_0x14d7e8){const _0x2d4c55=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,'_init',!0x1),_0x31ba17(this,'_cursorInfo$',new _0x3b0fae['BehaviorSubject'](new Map())),_0x31ba17(this,_0x2d4c55(0x2b3),this[_0x2d4c55(0x23c)][_0x2d4c55(0x42b)]()),_0x31ba17(this,_0x2d4c55(0x405),new _0x3b0fae[(_0x2d4c55(0x3b8))]([])),_0x31ba17(this,_0x2d4c55(0x3f6),this['_roomMembers$'][_0x2d4c55(0x204)](_0x3b0fae['debounceTime'](_0x2c8fc0))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x2d4c55(0x452)]((_0x1ef915,_0x566b68)=>{const _0x36b2c0=_0x2d4c55,_0xe282ea={'eventID':_0x28fbb0['CollaborationEvent'][_0x36b2c0(0x3cc)],'data':{'unitID':this['unitID'],'memberID':this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2e3)](),'selection':_0x52fd75[_0x36b2c0(0x200)](_0x1ef915,_0x566b68['range'])}};this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2be)](_0xe282ea,this['unitID']);},_0x503ef5)),(this[_0x2d4c55(0x307)]=_0x3f507a,this[_0x2d4c55(0x1f6)]=_0x262d7e,this[_0x2d4c55(0x363)]=_0x57530b,this['_colorAssignService']=_0x5b209f,this[_0x2d4c55(0x24c)]=_0x5c62aa,this[_0x2d4c55(0x1b7)]=_0x2a4ff4,this[_0x2d4c55(0x243)]=_0x5a7f03,this['_refRangeService']=_0x14d7e8);}get[_0x2be3c1(0x1e2)](){const _0x28238f=_0x2be3c1;return this[_0x28238f(0x23c)]['getValue']();}get[_0x2be3c1(0x3ce)](){const _0x5c7f23=_0x2be3c1;return this[_0x5c7f23(0x405)][_0x5c7f23(0x21e)]();}['dispose'](){const _0x8e5c79=_0x2be3c1;super[_0x8e5c79(0x1a4)](),this[_0x8e5c79(0x23c)][_0x8e5c79(0x34a)](new Map()),this[_0x8e5c79(0x23c)][_0x8e5c79(0x3f9)](),this[_0x8e5c79(0x405)]['next']([]),this[_0x8e5c79(0x405)]['complete']();}[_0x2be3c1(0x394)](){const _0x28fe6d=_0x2be3c1;this['_init']||(this[_0x28fe6d(0x43c)]=!0x0,this[_0x28fe6d(0x1f6)]['sessionStatus$'][_0x28fe6d(0x204)](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))[_0x28fe6d(0x1f2)](_0x196b54=>{const _0x99165e=_0x28fe6d;_0x196b54===_0x4cce40[_0x99165e(0x33b)][_0x99165e(0x1fe)]?this['_toggleOnline']():this[_0x99165e(0x1dd)]();}),this[_0x28fe6d(0x1f6)]['event$']['pipe'](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))['subscribe'](_0x2f4941=>{const _0x194b8c=_0x28fe6d,_0x46ee2d=_0x2f4941[_0x194b8c(0x2f7)];_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x3cc)]&&this[_0x194b8c(0x260)](_0x2f4941),_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x46c)]&&this[_0x194b8c(0x27d)](_0x2f4941);}),this[_0x28fe6d(0x457)](),this[_0x28fe6d(0x3ee)](this['_commandService'][_0x28fe6d(0x1b3)](_0x2248b7=>{const _0x4cd8da=_0x28fe6d;if(this[_0x4cd8da(0x3cd)]&&_0x2248b7['id']===_0x125f36[_0x4cd8da(0x23f)]['id']&&_0x2248b7['params']['unitId']===this['unitID']){const _0x334b49=_0x2248b7[_0x4cd8da(0x317)];this[_0x4cd8da(0x3be)](_0x334b49[_0x4cd8da(0x32f)],_0x334b49['selections'][0x0]);}})));}['_onCursorUpdate'](_0x515f9d){const _0x1a4d69=_0x2be3c1;var _0x4f53c6,_0x1c5fe0;const {memberID:_0x2ea4f5,selection:_0x5f1ed8}=_0x515f9d['data'],{sheetName:_0x5d581d,range:_0x59029b}=_0x52fd75[_0x1a4d69(0x423)](_0x5f1ed8),_0x1003f5={'name':(_0x1c5fe0=(_0x4f53c6=this['_memberService'][_0x1a4d69(0x315)](this[_0x1a4d69(0x307)],_0x2ea4f5))==null?void 0x0:_0x4f53c6[_0x1a4d69(0x429)])!=null?_0x1c5fe0:'Unknown\x20user','range':this[_0x1a4d69(0x22f)](_0x5d581d,_0x59029b),'sheetID':_0x5d581d,'color':this[_0x1a4d69(0x471)][_0x1a4d69(0x402)](_0x2ea4f5),'selection':_0x5f1ed8},_0x3047d2=this[_0x1a4d69(0x1e2)];_0x3047d2[_0x1a4d69(0x2af)](_0x2ea4f5,_0x1003f5),this[_0x1a4d69(0x23c)][_0x1a4d69(0x34a)](_0x3047d2);}[_0x2be3c1(0x27d)](_0x5a590f){const _0x250173=_0x2be3c1,{memberID:_0x5e769b}=_0x5a590f['data'],_0xb5d6c3=this[_0x250173(0x1e2)];_0xb5d6c3[_0x250173(0x3e0)](_0x5e769b),this[_0x250173(0x23c)][_0x250173(0x34a)](_0xb5d6c3);}['_getMergeRange'](_0x28fc10,_0x226f0b){const _0x2b5e0b=_0x2be3c1;var _0x5901b4,_0x249522;const _0x2abcdd=(_0x249522=(_0x5901b4=this[_0x2b5e0b(0x1b7)][_0x2b5e0b(0x379)](this[_0x2b5e0b(0x307)]))==null?void 0x0:_0x5901b4[_0x2b5e0b(0x1a0)](_0x28fc10))==null?void 0x0:_0x249522[_0x2b5e0b(0x197)]();return(_0x2abcdd==null?void 0x0:_0x2abcdd[_0x2b5e0b(0x2a6)](_0x1b52df=>_0x88db4d[_0x2b5e0b(0x264)][_0x2b5e0b(0x1fc)](_0x1b52df,_0x226f0b)))||_0x226f0b;}[_0x2be3c1(0x457)](){const _0x41ee54=_0x2be3c1,_0x2995d5=new _0x88db4d[(_0x41ee54(0x270))](),_0x2975b2=_0x57e16a(),_0x13735b=()=>{const _0x53f274=_0x41ee54;_0x2995d5[_0x53f274(0x1a4)]();const _0x557d69=(_0x3544a1,_0x2bf47b,_0x5e401f,_0x517bcc)=>{const _0x35c01f=_0x53f274;let _0x4cc658=[];switch(_0x3544a1['id']){case _0x125f36['EffectRefRangId'][_0x35c01f(0x296)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveLeft'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x299)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveUp'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1c8)]:{_0x4cc658=_0x125f36[_0x35c01f(0x346)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x20b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x251)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)]['InsertRangeMoveRightCommandId']:{_0x4cc658=_0x125f36[_0x35c01f(0x277)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1ae)]:{_0x4cc658=_0x125f36[_0x35c01f(0x378)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x356)]:{_0x4cc658=_0x125f36['handleMoveRange'](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x3a4)]:{_0x4cc658=_0x125f36[_0x35c01f(0x29d)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x41b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x25a)](_0x3544a1,_0x517bcc);break;}}const _0x3889b5=_0x125f36[_0x35c01f(0x361)](_0x4cc658,_0x517bcc),_0x14025c=this[_0x35c01f(0x1e2)][_0x35c01f(0x489)](_0x2bf47b);if(_0x14025c&&_0x3889b5){const _0x3fbcf0={..._0x14025c,'range':_0x3889b5};this[_0x35c01f(0x1e2)]['set'](_0x2bf47b,_0x3fbcf0),_0x2975b2(()=>{const _0x5d741f=_0x35c01f,_0x27554d=this[_0x5d741f(0x3ae)][_0x5d741f(0x217)](_0x3889b5,_0x95c2d3=>(_0x27554d[_0x5d741f(0x1a4)](),_0x557d69(_0x95c2d3,_0x2bf47b,_0x5e401f,_0x3889b5)));_0x2995d5[_0x5d741f(0x262)](_0x27554d);});}return{'redos':[],'undos':[]};};this[_0x53f274(0x1e2)][_0x53f274(0x2cd)]((_0x381b42,_0x1c7f61)=>{const _0x220e84=_0x53f274,{range:_0x145710,sheetID:_0x257558}=_0x381b42,_0x5de018=this[_0x220e84(0x3ae)][_0x220e84(0x217)](_0x145710,_0x13103=>(_0x5de018['dispose'](),_0x557d69(_0x13103,_0x1c7f61,_0x257558,_0x145710)));_0x2995d5['add'](_0x5de018);});};this[_0x41ee54(0x3ee)](_0x88db4d[_0x41ee54(0x226)](this[_0x41ee54(0x23c)]['subscribe'](()=>{_0x13735b();})));}[_0x2be3c1(0x22c)](){const _0x10c909=_0x2be3c1;var _0x2e1905,_0xa68a66;if(this[_0x10c909(0x3cd)]=!0x0,((_0x2e1905=this['_univerInstanceService'][_0x10c909(0x3c1)]())==null?void 0x0:_0x2e1905[_0x10c909(0x312)]())!==this['unitID'])return;const _0x574ba7=(_0xa68a66=this['_injector']['get'](_0x125f36[_0x10c909(0x24d)])['getCurrentSelections']())==null?void 0x0:_0xa68a66[0x0],_0x17fdee=this['_univerInstanceService'][_0x10c909(0x1c3)](_0x88db4d['UniverInstanceType'][_0x10c909(0x216)])[_0x10c909(0x218)]();_0x574ba7&&_0x17fdee&&this[_0x10c909(0x3be)](_0x17fdee[_0x10c909(0x37b)](),_0x574ba7);}['_toggleOffline'](){this['_online']=!0x1;}};_0x14f87c=_0x22a41b([_0x49d8dc(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x49d8dc(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x49d8dc(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x49d8dc(0x5,_0x88db4d[_0x2be3c1(0x43e)]),_0x49d8dc(0x6,_0x88db4d[_0x2be3c1(0x355)]),_0x49d8dc(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x125f36[_0x2be3c1(0x36f)]))],_0x14f87c);var _0x327251=Object[_0x2be3c1(0x393)],_0x374f76=(_0x2511b5,_0x41e937,_0x19b918,_0x26654a)=>{for(var _0xd8174b=_0x26654a>0x1?void 0x0:_0x26654a?_0x327251(_0x41e937,_0x19b918):_0x41e937,_0x12aa4b=_0x2511b5['length']-0x1,_0x37a083;_0x12aa4b>=0x0;_0x12aa4b--)(_0x37a083=_0x2511b5[_0x12aa4b])&&(_0xd8174b=_0x37a083(_0xd8174b)||_0xd8174b);return _0xd8174b;},_0x47ef0c=(_0x8e4118,_0x1ef88f)=>(_0x490cb7,_0x1afa5b)=>_0x1ef88f(_0x490cb7,_0x1afa5b,_0x8e4118);let _0x2e3752=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x5bd446,_0x5d3a44,_0x6b19a0){const _0x2db428=_0x2be3c1;super(),_0x31ba17(this,_0x2db428(0x456),new Map()),_0x31ba17(this,_0x2db428(0x300),new _0x3b0fae[(_0x2db428(0x23e))]()),(this['_univerInstanceService']=_0x5bd446,this['_injector']=_0x5d3a44,this[_0x2db428(0x1e8)]=_0x6b19a0,this[_0x2db428(0x43c)]());}['dispose'](){const _0x380abf=_0x2be3c1;super[_0x380abf(0x1a4)](),this[_0x380abf(0x300)][_0x380abf(0x3f9)](),this[_0x380abf(0x456)][_0x380abf(0x2cd)](_0x4b2a8a=>_0x4b2a8a['dispose']());}['getCollabCursors$'](_0x12ede){const _0x29e953=_0x2be3c1;return this[_0x29e953(0x456)][_0x29e953(0x235)](_0x12ede)?this[_0x29e953(0x456)][_0x29e953(0x489)](_0x12ede)[_0x29e953(0x2b3)]:this[_0x29e953(0x300)][_0x29e953(0x204)](_0x3b0fae[_0x29e953(0x1e4)](_0x95057=>_0x95057[_0x29e953(0x307)]===_0x12ede),_0x3b0fae[_0x29e953(0x3c8)](_0x53f9d1=>_0x53f9d1['cursorInfo$']));}[_0x2be3c1(0x43c)](){const _0x2072e4=_0x2be3c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)])[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this[_0x2072e4(0x35b)]))['subscribe'](async _0x19bd87=>{const _0x19a6cd=_0x2072e4,_0x176a7e=_0x19bd87[_0x19a6cd(0x312)](),_0x1d5c6e=await this[_0x19a6cd(0x245)](_0x176a7e);this['_entityInit$']['next'](_0x1d5c6e),this[_0x19a6cd(0x456)][_0x19a6cd(0x2af)](_0x176a7e,_0x1d5c6e);}),this[_0x2072e4(0x1b7)][_0x2072e4(0x228)](_0x88db4d[_0x2072e4(0x403)]['UNIVER_DOC'])[_0x2072e4(0x204)](_0x3b0fae['takeUntil'](this[_0x2072e4(0x35b)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x1e4)](_0x4a31fa=>!_0x4a31fa[_0x2072e4(0x312)]()[_0x2072e4(0x220)]('__')))[_0x2072e4(0x1f2)](async _0x1483b1=>{const _0xf378f8=_0x2072e4,_0x49e138=_0x1483b1[_0xf378f8(0x312)](),_0x4a9032=await this[_0xf378f8(0x385)](_0x49e138);this[_0xf378f8(0x300)]['next'](_0x4a9032),this['_entities'][_0xf378f8(0x2af)](_0x49e138,_0x4a9032);}),_0x3b0fae[_0x2072e4(0x21c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x44b)]),this[_0x2072e4(0x1b7)][_0x2072e4(0x412)](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this['dispose$']))[_0x2072e4(0x1f2)](_0x2ae7f0=>{const _0x15b829=_0x2072e4,_0x539068=_0x2ae7f0['getUnitId'](),_0x19505b=this[_0x15b829(0x456)][_0x15b829(0x489)](_0x539068);_0x19505b&&(_0x19505b[_0x15b829(0x1a4)](),this['_entities'][_0x15b829(0x3e0)](_0x539068));});}async[_0x2be3c1(0x245)](_0x3290f8){const _0x2a38b7=_0x2be3c1,_0x44dfff=await this['_collabSessionService']['requireSession'](_0x3290f8),_0x1f222a=this['_injector'][_0x2a38b7(0x2c6)](_0x14f87c,_0x3290f8,_0x44dfff);return _0x1f222a[_0x2a38b7(0x394)](),_0x1f222a;}async[_0x2be3c1(0x385)](_0x1bb675){const _0x2a8d36=_0x2be3c1,_0x27a0e7=await this[_0x2a8d36(0x1e8)][_0x2a8d36(0x327)](_0x1bb675),_0x554e60=this[_0x2a8d36(0x363)][_0x2a8d36(0x2c6)](_0x164a3b,_0x1bb675,_0x27a0e7);return _0x554e60[_0x2a8d36(0x394)](),_0x554e60;}};_0x2e3752=_0x374f76([_0x47ef0c(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x47ef0c(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x47ef0c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x274)]))],_0x2e3752);const _0x2f70bb=0x14,_0x23e623=0xc8,_0x168345=0x4,_0x296d78=0x5;function _0xda1801(_0x3e6bf3,_0x370753){const _0x19d644=_0x2be3c1;let {radius:_0x10c1a1,width:_0x590411,height:_0x160e6f}=_0x370753;_0x10c1a1=_0x10c1a1!=null?_0x10c1a1:0x0,_0x590411=_0x590411!=null?_0x590411:0x1e,_0x160e6f=_0x160e6f!=null?_0x160e6f:0x1e;let _0x3862cf=0x0,_0x2bf20c=0x0,_0x37a0a0=0x0;_0x3862cf=_0x2bf20c=_0x37a0a0=Math[_0x19d644(0x25c)](_0x10c1a1,_0x590411/0x2,_0x160e6f/0x2),_0x3e6bf3['beginPath'](),_0x3e6bf3[_0x19d644(0x441)](_0x3862cf,0x0),_0x3e6bf3['lineTo'](_0x590411-_0x2bf20c,0x0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x2bf20c,_0x2bf20c,_0x2bf20c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e6bf3['lineTo'](_0x590411,_0x160e6f-_0x37a0a0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x37a0a0,_0x160e6f-_0x37a0a0,_0x37a0a0,0x0,Math['PI']/0x2,!0x1),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x160e6f),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x3862cf),_0x3e6bf3[_0x19d644(0x263)](_0x3862cf,_0x3862cf,_0x3862cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e6bf3[_0x19d644(0x2ed)](),_0x370753['fill']&&(_0x3e6bf3[_0x19d644(0x399)](),_0x3e6bf3[_0x19d644(0x334)]=_0x370753[_0x19d644(0x2d2)],_0x370753[_0x19d644(0x2ae)]==='evenodd'?_0x3e6bf3[_0x19d644(0x2d2)](_0x19d644(0x1aa)):_0x3e6bf3['fill'](),_0x3e6bf3[_0x19d644(0x38b)]());}class _0x25aa55 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x338606,_0x22dd3a){const _0x3b6f8b=_0x2be3c1;super(_0x338606,_0x22dd3a),_0x31ba17(this,_0x3b6f8b(0x329)),_0x31ba17(this,_0x3b6f8b(0x408)),(this[_0x3b6f8b(0x329)]=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x329)],this['text']=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x408)]);}static[_0x2be3c1(0x31d)](_0x595c77,_0x3faff8){const _0x375939=_0x2be3c1,{text:_0x14289d,color:_0x1e1647}=_0x3faff8;_0x595c77[_0x375939(0x399)](),_0x595c77[_0x375939(0x1b4)]=_0x375939(0x46a);const _0x45aff8=_0x595c77[_0x375939(0x304)](_0x14289d)[_0x375939(0x194)],_0x3190ca=Math['min'](_0x45aff8+0x2*_0x168345,_0x23e623);_0xda1801(_0x595c77,{'height':_0x2f70bb,'radius':0x4,'width':_0x3190ca,'fill':_0x1e1647}),_0x595c77[_0x375939(0x334)]=_0x375939(0x1e9);const _0x33d138=_0x168345,_0x2b6206=_0x2f70bb-_0x296d78,_0x2765ba=_0x23e623-0x2*_0x168345;if(_0x45aff8>_0x2765ba){let _0x3b226f='',_0x431f7a=0x0;for(const _0x37cb11 of _0x14289d){const _0x18c130=_0x595c77['measureText'](_0x37cb11)[_0x375939(0x194)];if(_0x431f7a+_0x18c130<=_0x2765ba-_0x595c77[_0x375939(0x304)](_0x375939(0x45b))[_0x375939(0x194)])_0x3b226f+=_0x37cb11,_0x431f7a+=_0x18c130;else{_0x3b226f+=_0x375939(0x45b);break;}}_0x595c77[_0x375939(0x486)](_0x3b226f,_0x33d138,_0x2b6206);}else _0x595c77[_0x375939(0x486)](_0x14289d,_0x33d138,_0x2b6206);_0x595c77[_0x375939(0x38b)]();}[_0x2be3c1(0x42c)](_0x241784){const _0x79d236=_0x2be3c1;_0x25aa55[_0x79d236(0x31d)](_0x241784,this);}}const _0x478f1e=_0x2be3c1(0x366),_0x2ba20b=_0x2be3c1(0x302),_0x22aa35='collab-rect-range-',_0x2acf05=0x6,_0x5a71ab=1.5,_0x5d5d67=0x4,_0x2a20f9=1.5,_0xe4efc3='rgba(255,\x20255,\x20255,\x200.01)';class _0x32d045{constructor(_0x13e371,_0x3c9216,_0x57f04e,_0x2e2a61){const _0x41498c=_0x2be3c1;_0x31ba17(this,'_shapes',[]),_0x31ba17(this,_0x41498c(0x377),null),_0x31ba17(this,_0x41498c(0x463),null),_0x31ba17(this,_0x41498c(0x2f5),null),_0x31ba17(this,'_hideTimer',null),_0x31ba17(this,_0x41498c(0x347),null),(this[_0x41498c(0x29b)]=_0x13e371,this[_0x41498c(0x3c5)]=_0x3c9216,this[_0x41498c(0x2db)]=_0x57f04e,this[_0x41498c(0x39d)]=_0x2e2a61,this[_0x41498c(0x31e)]());}set[_0x2be3c1(0x34e)](_0xc85c1d){const _0x41972b=_0x2be3c1;_0xc85c1d?(this[_0x41972b(0x2f5)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x41972b(0x34c)]()):(this[_0x41972b(0x2f5)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x2be3c1(0x1a4)](){const _0x592302=_0x2be3c1;for(const _0x246d7c of this[_0x592302(0x2d3)])_0x246d7c[_0x592302(0x1a4)]();this[_0x592302(0x463)]&&this[_0x592302(0x463)][_0x592302(0x1a4)](),this[_0x592302(0x2f5)]&&this[_0x592302(0x2f5)]['dispose'](),this[_0x592302(0x377)]&&this[_0x592302(0x377)][_0x592302(0x1a4)](),this[_0x592302(0x347)]&&this['_eventUnsubscribe']();}[_0x2be3c1(0x31e)](){const _0xe838c9=_0x2be3c1;var _0x40b453;const {_docSkeleton:_0x18710b,_document:_0x20207a}=this,{color:_0x3c04a9,name:_0x434267,ranges:_0x4ab056}=this['_cursor'],_0x23c7de=_0x20207a[_0xe838c9(0x3bc)](),{docsLeft:_0x2d7ebe,docsTop:_0xb5c685}=_0x23c7de,_0x303a6e=new _0x1fd691[(_0xe838c9(0x293))](_0x23c7de,_0x18710b);for(const {startOffset:_0x2f7c6f,endOffset:_0x24b79d,rangeType:_0x9f50d7,segmentId:_0x44b0d4,segmentPage:_0x51fa90,collapsed:_0x597e92,isActive:_0x30ff2b}of _0x4ab056){const _0xabe2d8=_0x18710b[_0xe838c9(0x2ac)](_0x2f7c6f,!0x0,_0x44b0d4,_0x51fa90);let _0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d,!0x0,_0x44b0d4,_0x51fa90);if(_0x4ca038==null&&(_0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d-0x1,!0x1,_0x44b0d4,_0x51fa90)),_0x30ff2b){const {contentBoxPointGroup:_0x46be3b}=_0x303a6e[_0xe838c9(0x3e7)](_0x4ca038,_0x4ca038);if(_0x46be3b['length']===0x0)continue;this[_0xe838c9(0x47a)](_0x3c04a9,_0x46be3b,_0x2d7ebe,_0xb5c685,_0x434267),this[_0xe838c9(0x347)]=this[_0xe838c9(0x25e)]();}if(_0xabe2d8&&_0x4ca038){if(_0x9f50d7===_0x88db4d[_0xe838c9(0x2dd)][_0xe838c9(0x297)]){const _0x245bbd=new _0x1fd691['NodePositionConvertToRectRange'](_0x23c7de,_0x18710b),{pointGroup:_0x5241b3}=(_0x40b453=_0x245bbd['getRangePointData'](_0xabe2d8,_0x4ca038))!=null?_0x40b453:{};if(_0x5241b3==null||_0x5241b3[_0xe838c9(0x413)]===0x0)continue;this[_0xe838c9(0x1d9)](_0x3c04a9,_0x5241b3,_0x2d7ebe,_0xb5c685);}else{if(!_0x597e92){const {borderBoxPointGroup:_0x41c371}=_0x303a6e[_0xe838c9(0x3e7)](_0xabe2d8,_0x4ca038);if(_0x41c371[_0xe838c9(0x413)]===0x0)continue;this['_drawTextRange'](_0x3c04a9,_0x41c371,_0x2d7ebe,_0xb5c685);}}}}}['_drawAnchor'](_0x1ed8cb,_0x342eab,_0x409844,_0x4e3b43,_0x87c585){const _0x30c637=_0x2be3c1,_0x3f20f5=this['_getAnchorBounding'](_0x342eab),{left:_0x145248,top:_0x589756,height:_0x40e5d3}=_0x3f20f5,_0x27e8a2=this[_0x30c637(0x19a)](),_0x5b2398=_0x2a20f9/_0x27e8a2,_0x1783f8=new _0xe27d05[(_0x30c637(0x410))](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43,'height':_0x40e5d3,'width':_0x5a71ab,'fill':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':_0x5b2398,'stroke':_0xe4efc3,'evented':!0x0});this[_0x30c637(0x377)]=_0x1783f8,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x1783f8,_0x1fd691[_0x30c637(0x1d5)]);const _0x57ae4e=new _0xe27d05['Rect'](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x5d5d67/0x2,'height':_0x5d5d67,'width':_0x5d5d67,'fill':_0x1ed8cb||_0xe27d05['getColor'](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':0x0,'stroke':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d[_0x30c637(0x2ca)]['black'],0x0),'evented':!0x1});this[_0x30c637(0x2f5)]=_0x57ae4e,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x57ae4e,_0x1fd691[_0x30c637(0x1d5)]);const _0x5e8db4=new _0x25aa55(_0x478f1e+_0x88db4d['generateRandomId'](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x2f70bb,'text':_0x87c585,'color':_0x1ed8cb});this['_textBubble']=_0x5e8db4,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x5e8db4,_0x1fd691[_0x30c637(0x1d5)]),this[_0x30c637(0x34e)]=!0x1;}['_handleHover'](){const _0x4bd8cd=_0x2be3c1,_0x2ec453=this[_0x4bd8cd(0x377)][_0x4bd8cd(0x3e5)][_0x4bd8cd(0x41c)](()=>{const _0x41b0a3=_0x4bd8cd;this[_0x41b0a3(0x34e)]=!0x0;}),_0x28297a=this['_anchor'][_0x4bd8cd(0x424)][_0x4bd8cd(0x41c)](()=>{const _0x28e7c0=_0x4bd8cd;this['_hideTimer']&&clearTimeout(this[_0x28e7c0(0x450)]),this[_0x28e7c0(0x450)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3396e3=_0x4bd8cd;_0x2ec453[_0x3396e3(0x303)](),_0x28297a['unsubscribe']();};}[_0x2be3c1(0x3de)](_0x34b9ee,_0x100575,_0x60780a,_0x5b0790){const _0x4f445b=_0x2be3c1,_0xcda2e9=new _0x88db4d['ColorKit'](_0x34b9ee)[_0x4f445b(0x35a)](0.2)['toRgbString'](),_0x221390=new _0xe27d05['RegularPolygon'](_0x2ba20b+_0x88db4d[_0x4f445b(0x335)](_0x2acf05),{'pointsGroup':_0x100575,'fill':_0xcda2e9||_0xe27d05['getColor'](_0x88db4d[_0x4f445b(0x2ca)][_0x4f445b(0x3d2)],0.2),'left':_0x60780a,'top':_0x5b0790,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f445b(0x2d3)]['push'](_0x221390),this[_0x4f445b(0x3c5)][_0x4f445b(0x2ee)](_0x221390,_0x1fd691[_0x4f445b(0x1d5)]);}[_0x2be3c1(0x1d9)](_0x55ebfa,_0x50ef71,_0x398592,_0x287efe){const _0x3ad9b0=_0x2be3c1,_0x5c7731=new _0x88db4d['ColorKit'](_0x55ebfa)[_0x3ad9b0(0x35a)](0.2)[_0x3ad9b0(0x33f)](),_0x27f73a=new _0xe27d05[(_0x3ad9b0(0x3c0))](_0x22aa35+_0x88db4d[_0x3ad9b0(0x335)](_0x2acf05),{'pointsGroup':_0x50ef71,'fill':_0x5c7731||_0xe27d05[_0x3ad9b0(0x27f)](_0x88db4d[_0x3ad9b0(0x2ca)][_0x3ad9b0(0x3d2)],0.2),'left':_0x398592,'top':_0x287efe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ad9b0(0x2d3)][_0x3ad9b0(0x339)](_0x27f73a),this[_0x3ad9b0(0x3c5)][_0x3ad9b0(0x2ee)](_0x27f73a,_0x1fd691[_0x3ad9b0(0x1d5)]);}[_0x2be3c1(0x29f)](_0x3bb23d){const _0x458fbb=_0x3bb23d[0x0],_0x108fec=_0x458fbb[0x0],_0x4c3d85=_0x458fbb[0x2],{x:_0x495d9c,y:_0x3be380}=_0x108fec,{x:_0x21bc3f,y:_0x5f3960}=_0x4c3d85;return{'left':_0x495d9c,'top':_0x3be380,'width':_0x21bc3f-_0x495d9c,'height':_0x5f3960-_0x3be380};}[_0x2be3c1(0x19a)](){const _0x42c215=_0x2be3c1,{scaleX:_0x5c8d68,scaleY:_0x23b890}=this[_0x42c215(0x3c5)][_0x42c215(0x321)]();return Math[_0x42c215(0x234)](_0x5c8d68,_0x23b890);}}var _0x238c5b=Object[_0x2be3c1(0x393)],_0x4e2f40=(_0x295c0c,_0x2bfa96,_0x2764a0,_0x305ae5)=>{for(var _0xf4389c=_0x305ae5>0x1?void 0x0:_0x305ae5?_0x238c5b(_0x2bfa96,_0x2764a0):_0x2bfa96,_0x596fca=_0x295c0c['length']-0x1,_0x5bf4e1;_0x596fca>=0x0;_0x596fca--)(_0x5bf4e1=_0x295c0c[_0x596fca])&&(_0xf4389c=_0x5bf4e1(_0xf4389c)||_0xf4389c);return _0xf4389c;},_0x17a7d4=(_0x421036,_0x2fad8a)=>(_0x43e47b,_0x3dc354)=>_0x2fad8a(_0x43e47b,_0x3dc354,_0x421036);let _0x476e21=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x284bd6,_0x5805d3,_0x417316,_0x35624c,_0x2b4e31){const _0x3d29d2=_0x2be3c1;super(),_0x31ba17(this,'_cursorShapes',[]),_0x31ba17(this,_0x3d29d2(0x1ab),[]),(this[_0x3d29d2(0x3f7)]=_0x284bd6,this[_0x3d29d2(0x40c)]=_0x5805d3,this[_0x3d29d2(0x2c2)]=_0x417316,this[_0x3d29d2(0x243)]=_0x35624c,this[_0x3d29d2(0x250)]=_0x2b4e31,this[_0x3d29d2(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x5e4d78=_0x2be3c1,_0x391172=this['_context'][_0x5e4d78(0x2b8)],_0x5292ce=this[_0x5e4d78(0x40c)];this[_0x5e4d78(0x3ee)](_0x3b0fae[_0x5e4d78(0x1b8)]([this[_0x5e4d78(0x2c2)]['getCollabCursors$'](_0x391172),this[_0x5e4d78(0x250)][_0x5e4d78(0x3c4)]])[_0x5e4d78(0x204)](_0x31a1bf[_0x5e4d78(0x22e)](([_0x28f3f9,_0x8af7fb])=>({'skeleton':_0x5292ce[_0x5e4d78(0x210)](),'cursors':[..._0x28f3f9['values']()][_0x5e4d78(0x340)](_0x4dba0c=>({..._0x4dba0c,'color':this['_themeService'][_0x5e4d78(0x1ed)](_0x4dba0c[_0x5e4d78(0x329)])}))})))[_0x5e4d78(0x1f2)](_0x111696=>{const _0x424914=_0x5e4d78;if(this[_0x424914(0x443)](),_0x111696){const {skeleton:_0x4f9e78,cursors:_0x3b994a}=_0x111696;this[_0x424914(0x411)](_0x4f9e78,_0x3b994a);}})),this[_0x5e4d78(0x27e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x469985,_0x37e7ab){const _0xdb9e14=_0x2be3c1,{scene:_0x4b12e6,mainComponent:_0x362c16}=this[_0xdb9e14(0x3f7)],_0x3f0eba=_0x37e7ab[_0xdb9e14(0x22e)](_0x741421=>new _0x32d045(_0x741421,_0x4b12e6,_0x469985,_0x362c16));this[_0xdb9e14(0x454)]=_0x3f0eba,this[_0xdb9e14(0x1ab)]=_0x37e7ab;}['_refreshCollabCursors'](){const _0x3dceea=_0x2be3c1;this['_removeCollabCursors']();const {scene:_0x1eccbc,mainComponent:_0x2c2fb7}=this[_0x3dceea(0x3f7)],_0x59baee=this[_0x3dceea(0x40c)]['getSkeleton'](),_0x20d873=this['_cursors'][_0x3dceea(0x22e)](_0x27427f=>new _0x32d045(_0x27427f,_0x1eccbc,_0x59baee,_0x2c2fb7));this[_0x3dceea(0x454)]=_0x20d873;}[_0x2be3c1(0x443)](){const _0x361c84=_0x2be3c1;this['_cursorShapes'][_0x361c84(0x2cd)](_0x3aebdb=>_0x3aebdb[_0x361c84(0x1a4)]()),this[_0x361c84(0x454)]=[];}[_0x2be3c1(0x45d)](){const _0x56028a=_0x2be3c1,_0x1ea237=[_0x1fd691[_0x56028a(0x481)]['id']];this['disposeWithMe'](this[_0x56028a(0x243)]['onCommandExecuted'](_0x31f1b1=>{const _0xd5a787=_0x56028a;_0x1ea237[_0xd5a787(0x288)](_0x31f1b1['id'])&&_0x31f1b1[_0xd5a787(0x317)]['unitId']===this[_0xd5a787(0x3f7)]['unitId']&&this[_0xd5a787(0x2e6)]();}));}['_initResize'](){const _0x3d140f=_0x2be3c1;this['disposeWithMe'](_0x88db4d[_0x3d140f(0x31a)](this[_0x3d140f(0x3f7)][_0x3d140f(0x2d8)]['onTransformChange$'])[_0x3d140f(0x204)](_0x31a1bf[_0x3d140f(0x1e4)](_0x400a9a=>_0x400a9a[_0x3d140f(0x3bd)]===_0xe27d05[_0x3d140f(0x1c0)]['resize']),_0x31a1bf[_0x3d140f(0x2d1)](0x10))[_0x3d140f(0x1f2)](()=>{this['_refreshCollabCursors']();}));}};_0x476e21=_0x4e2f40([_0x17a7d4(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x3c0520['DocSkeletonManagerService'])),_0x17a7d4(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x17a7d4(0x3,_0x88db4d[_0x2be3c1(0x355)]),_0x17a7d4(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x476e21);const _0x5c9390=0x1,_0x50bf46=1.5;class _0x327c29 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x151b5e,_0x5d03f0){const _0x2944c3=_0x2be3c1;super(_0x151b5e,_0x5d03f0),_0x31ba17(this,'_color'),_0x31ba17(this,_0x2944c3(0x1e0),!0x1),_0x31ba17(this,_0x2944c3(0x232)),_0x31ba17(this,_0x2944c3(0x24e),''),_0x31ba17(this,_0x2944c3(0x305),_0x2944c3(0x47f)),_0x31ba17(this,_0x2944c3(0x289)),(_0x5d03f0&&this[_0x2944c3(0x1cc)](_0x5d03f0),this['onPointerEnter$'][_0x2944c3(0x41c)](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x0})),this[_0x2944c3(0x424)]['subscribeEvent'](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x1})));}[_0x2be3c1(0x1cc)](_0x2afdcc){const _0x23f24c=_0x2be3c1;var _0x3fce52,_0x21628b,_0x144ce4,_0x2b4958,_0x392486,_0x398f36;this[_0x23f24c(0x238)]=(_0x3fce52=_0x2afdcc[_0x23f24c(0x329)])!=null?_0x3fce52:this[_0x23f24c(0x238)],this[_0x23f24c(0x1e0)]=(_0x21628b=_0x2afdcc[_0x23f24c(0x478)])!=null?_0x21628b:this[_0x23f24c(0x1e0)],this[_0x23f24c(0x232)]=(_0x144ce4=_0x2afdcc[_0x23f24c(0x382)])!=null?_0x144ce4:this['_range'],this['_name']=(_0x2b4958=_0x2afdcc['name'])!=null?_0x2b4958:this[_0x23f24c(0x24e)],this['_labelPosition']=(_0x392486=_0x2afdcc[_0x23f24c(0x359)])!=null?_0x392486:this[_0x23f24c(0x305)],this[_0x23f24c(0x289)]=(_0x398f36=_0x2afdcc[_0x23f24c(0x27b)])!=null?_0x398f36:this[_0x23f24c(0x289)],this[_0x23f24c(0x3a5)]({'width':_0x2afdcc[_0x23f24c(0x194)],'height':_0x2afdcc['height']});}[_0x2be3c1(0x43d)](_0x755a31){const _0x144eb9=_0x2be3c1,{row:_0x59a3cd,column:_0x1789ac}=_0x755a31;if(_0x59a3cd>=this[_0x144eb9(0x232)][_0x144eb9(0x31f)]&&_0x59a3cd<=this[_0x144eb9(0x232)]['endRow']&&_0x1789ac>=this[_0x144eb9(0x232)]['startColumn']&&_0x1789ac<=this[_0x144eb9(0x232)][_0x144eb9(0x236)]){this[_0x144eb9(0x1cc)]({'hovered':!0x0});return;}this[_0x144eb9(0x1cc)]({'hovered':!0x1});}[_0x2be3c1(0x39a)](_0x8e31a7){return!0x1;}['_draw'](_0x11bab9){const _0x5aea28=_0x2be3c1;_0xe27d05[_0x5aea28(0x410)][_0x5aea28(0x31d)](_0x11bab9,{'width':this[_0x5aea28(0x194)],'height':this['height'],'strokeWidth':_0x50bf46,'stroke':this[_0x5aea28(0x238)],'evented':!0x1,'fill':this[_0x5aea28(0x289)]}),this[_0x5aea28(0x1e0)]&&(_0x11bab9[_0x5aea28(0x399)](),_0x11bab9['transform'](0x1,0x0,0x0,0x1,this[_0x5aea28(0x194)],this['_labelPosition']===_0x5aea28(0x30a)?0x0:-_0x2f70bb),_0x25aa55['drawWith'](_0x11bab9,{'text':this[_0x5aea28(0x24e)],'color':this['_color']}),_0x11bab9[_0x5aea28(0x38b)]());}}var _0x5c32b1=Object['getOwnPropertyDescriptor'],_0x1aabc3=(_0x1b61bc,_0x50bf62,_0x3337a6,_0x2cd520)=>{const _0x5e1851=_0x2be3c1;for(var _0x4f9a6d=_0x2cd520>0x1?void 0x0:_0x2cd520?_0x5c32b1(_0x50bf62,_0x3337a6):_0x50bf62,_0x3455a6=_0x1b61bc[_0x5e1851(0x413)]-0x1,_0x4cf3ac;_0x3455a6>=0x0;_0x3455a6--)(_0x4cf3ac=_0x1b61bc[_0x3455a6])&&(_0x4f9a6d=_0x4cf3ac(_0x4f9a6d)||_0x4f9a6d);return _0x4f9a6d;},_0x2a98fd=(_0x3f7173,_0xe8dfb8)=>(_0x1d07f4,_0x93397f)=>_0xe8dfb8(_0x1d07f4,_0x93397f,_0x3f7173);const _0x166ec6=0x1389;let _0x485669=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x4df274,_0x358e8b,_0x4f6cf6,_0x2b6f00){const _0x51b620=_0x2be3c1;super(),_0x31ba17(this,'_cursors',new Set()),_0x31ba17(this,_0x51b620(0x2a2),null),(this['_context']=_0x4df274,this[_0x51b620(0x461)]=_0x358e8b,this[_0x51b620(0x2c2)]=_0x4f6cf6,this[_0x51b620(0x250)]=_0x2b6f00,this[_0x51b620(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x298b51=_0x2be3c1;this['_sheetSkeletonManagerService'][_0x298b51(0x485)][_0x298b51(0x204)](_0x31a1bf[_0x298b51(0x2d7)](this[_0x298b51(0x35b)]),_0x31a1bf[_0x298b51(0x3c8)](_0x11aec3=>{const _0x372797=_0x298b51;if(_0x11aec3){const _0x203005=_0x11aec3[_0x372797(0x3bf)];return _0x3b0fae['combineLatest'](this[_0x372797(0x2c2)][_0x372797(0x37f)](this[_0x372797(0x3f7)][_0x372797(0x2b8)]),this['_themeService']['currentTheme$'])[_0x372797(0x204)](_0x31a1bf[_0x372797(0x22e)](([_0x262f3a,_0x1ac309])=>{const _0x533257=_0x372797,_0x180f7a=new Map();return _0x262f3a[_0x533257(0x2cd)]((_0x1ed8d8,_0x35ff7e)=>{const _0x2c42f4=_0x533257;if(_0x1ed8d8['sheetID']===_0x203005){const _0x520f74={..._0x1ed8d8};_0x520f74[_0x2c42f4(0x329)]=this[_0x2c42f4(0x250)][_0x2c42f4(0x1ed)](_0x1ed8d8['color']),_0x180f7a[_0x2c42f4(0x2af)](_0x35ff7e,_0x520f74);}}),{'skeleton':_0x11aec3,'cursors':_0x180f7a};}));}return _0x3b0fae['of']({'skeleton':null,'cursors':new Map()});}))[_0x298b51(0x1f2)](({skeleton:_0x399a24,cursors:_0x43fc36})=>{const _0x55001e=_0x298b51;this[_0x55001e(0x443)](),_0x399a24&&this['_updateCollabCursors'](_0x399a24,_0x43fc36);}),this[_0x298b51(0x461)][_0x298b51(0x485)][_0x298b51(0x1f2)](_0x280616=>{const _0x43807d=_0x298b51;if(_0x280616==null)return;const {skeleton:_0x28e627}=_0x280616,{scene:_0x208c8b}=this['_context'];_0x208c8b[_0x43807d(0x3f5)][_0x43807d(0x41c)](_0x88db4d[_0x43807d(0x452)](_0x3c5517=>{const _0x4d7ea3=_0x43807d;var _0x2ce743,_0x109731;const {offsetX:_0x309f29,offsetY:_0x54d675}=_0x3c5517,{x:_0x256c75,y:_0x525127}=_0x208c8b[_0x4d7ea3(0x47e)](_0xe27d05['Vector2'][_0x4d7ea3(0x3f8)]([_0x309f29,_0x54d675])),{scaleX:_0x42eab,scaleY:_0x3368ea}=_0x208c8b[_0x4d7ea3(0x321)](),_0x2035ac=_0x208c8b['getViewport'](_0xe27d05[_0x4d7ea3(0x1b5)][_0x4d7ea3(0x36c)]),_0x4f549d=_0x208c8b[_0x4d7ea3(0x484)](_0xe27d05[_0x4d7ea3(0x43a)][_0x4d7ea3(0x3f8)]([_0x256c75,_0x525127]),_0x2035ac),_0x52ad7a=_0x28e627[_0x4d7ea3(0x19c)](_0x309f29,_0x54d675,_0x42eab,_0x3368ea,_0x4f549d);((_0x2ce743=this['_lastPointer'])==null?void 0x0:_0x2ce743[_0x4d7ea3(0x2a5)])===_0x52ad7a['column']&&((_0x109731=this['_lastPointer'])==null?void 0x0:_0x109731[_0x4d7ea3(0x483)])===_0x52ad7a['row']||this[_0x4d7ea3(0x1ab)]['forEach'](_0x46d534=>{_0x46d534['onMouseMove'](_0x52ad7a);});},0x64));});}[_0x2be3c1(0x411)](_0x1b4477,_0x1f55ef){const _0x3e1df2=_0x2be3c1;var _0x2d213d;const _0x48e5c0=(_0x2d213d=this[_0x3e1df2(0x461)][_0x3e1df2(0x1d3)]())==null?void 0x0:_0x2d213d[_0x3e1df2(0x1d6)];if(!_0x48e5c0)return;const _0x4c649f=this[_0x3e1df2(0x3f2)]();if(!_0x4c649f)return;this[_0x3e1df2(0x1ab)]['forEach'](_0x51ea81=>{const _0x113fe6=_0x3e1df2;_0x51ea81[_0x113fe6(0x205)]();});const {scene:_0x5951b9}=_0x4c649f,_0x2d5a95=_0xe1d537(Array['from'](_0x1f55ef[_0x3e1df2(0x2bc)]()))[_0x3e1df2(0x22e)](_0x247bfb=>{const _0x50c9dc=_0x3e1df2,{color:_0x1ce52f,range:_0x38ed72,name:_0x436c36,selection:_0x249852,sheetID:_0x1f138b}=_0x247bfb,{startColumn:_0xd56f4,startRow:_0x5f15b3,endColumn:_0x28beaa,endRow:_0x1f626b}=_0x38ed72,_0x35db1a=_0x309330[_0x50c9dc(0x480)](_0x5f15b3,_0xd56f4,_0x5951b9,_0x48e5c0),_0x317c7e=_0x309330[_0x50c9dc(0x480)](_0x1f626b,_0x28beaa,_0x5951b9,_0x48e5c0),{columnHeaderHeightAndMarginTop:_0x476bf1}=_0x48e5c0,{startX:_0x13a382,startY:_0xac1070}=_0x35db1a,{endX:_0x1ff5aa,endY:_0x52c12b}=_0x317c7e,_0x59e4cb=_0x1ff5aa-_0x13a382,_0x2bfb42=_0x52c12b-_0xac1070,_0x383201={'labelPosition':_0xac1070-_0x476bf1>=_0x2f70bb?_0x50c9dc(0x47f):'bottom','sheetID':_0x1f138b,'range':_0x38ed72,'color':_0x1ce52f,'name':_0x436c36,'selection':_0x249852,'left':_0x13a382,'top':_0xac1070,'width':_0x59e4cb,'height':_0x2bfb42,'evented':!0x1,'zIndex':_0x166ec6};return new _0x327c29(_0x436c36,_0x383201);});_0x5951b9[_0x3e1df2(0x322)](_0x2d5a95,_0x5c9390),this[_0x3e1df2(0x1ab)]=new Set(_0x2d5a95);}[_0x2be3c1(0x443)](){const _0x4d8f60=_0x2be3c1;var _0x278f69;(_0x278f69=this[_0x4d8f60(0x1ab)])==null||_0x278f69['forEach'](_0x100073=>_0x100073['dispose']());}[_0x2be3c1(0x3f2)](){const _0x2f950e=_0x2be3c1;return _0x309330[_0x2f950e(0x2ea)](this[_0x2f950e(0x3f7)][_0x2f950e(0x3e1)],this[_0x2f950e(0x3f7)]);}};_0x485669=_0x1aabc3([_0x2a98fd(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x309330[_0x2be3c1(0x3e3)])),_0x2a98fd(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x2a98fd(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x485669);function _0xe1d537(_0x4bbeb0){const _0x3b1432=_0x2be3c1,_0x596c30=new Map();return _0x4bbeb0['forEach'](_0x3fbe7f=>{const _0x4b0157=_0x4ca8;if(_0x596c30[_0x4b0157(0x235)](_0x3fbe7f[_0x4b0157(0x475)])){const _0x18dbb6=_0x596c30[_0x4b0157(0x489)](_0x3fbe7f[_0x4b0157(0x475)]);_0x18dbb6[_0x4b0157(0x429)]+=',\x20'+_0x3fbe7f[_0x4b0157(0x429)];}else _0x596c30[_0x4b0157(0x2af)](_0x3fbe7f[_0x4b0157(0x475)],_0x3fbe7f);}),Array[_0x3b1432(0x391)](_0x596c30[_0x3b1432(0x2bc)]());}var _0x116f64=Object['getOwnPropertyDescriptor'],_0xd6ade1=(_0xa5afcd,_0x197bde,_0x18c17e,_0x5c67ce)=>{const _0x101296=_0x2be3c1;for(var _0x5eba56=_0x5c67ce>0x1?void 0x0:_0x5c67ce?_0x116f64(_0x197bde,_0x18c17e):_0x197bde,_0x4ccce3=_0xa5afcd[_0x101296(0x413)]-0x1,_0x559278;_0x4ccce3>=0x0;_0x4ccce3--)(_0x559278=_0xa5afcd[_0x4ccce3])&&(_0x5eba56=_0x559278(_0x5eba56)||_0x5eba56);return _0x5eba56;},_0x48ddcf=(_0x5c72a2,_0x2f7982)=>(_0x4f63d9,_0x520512)=>_0x2f7982(_0x4f63d9,_0x520512,_0x5c72a2);let _0x489eee=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0xf7520,_0x371b7f,_0x1780e1,_0x47d738,_0x1a177f,_0x532e01){const _0xae9e27=_0x2be3c1;super(),this[_0xae9e27(0x1a5)]=_0xf7520,this[_0xae9e27(0x252)]=_0x371b7f,this[_0xae9e27(0x3b3)]=_0x1780e1,this[_0xae9e27(0x459)]=_0x47d738,this[_0xae9e27(0x280)]=_0x1a177f,this[_0xae9e27(0x1f3)]=_0x532e01,this[_0xae9e27(0x358)](),this[_0xae9e27(0x1f8)]();}['_setupBeforeClosingHandler'](){const _0x50b07b=_0x2be3c1;this['disposeWithMe'](this[_0x50b07b(0x1a5)][_0x50b07b(0x272)](()=>{const _0x4cdeb3=_0x50b07b;if(this[_0x4cdeb3(0x252)][_0x4cdeb3(0x3f4)][_0x4cdeb3(0x426)])return this[_0x4cdeb3(0x1f3)]['t'](_0x4cdeb3(0x2e8));}));}[_0x2be3c1(0x1f8)](){const _0x2d920f=_0x2be3c1;this[_0x2d920f(0x3ee)](this[_0x2d920f(0x3b3)][_0x2d920f(0x473)]['subscribe'](_0x306cb8=>{const _0xd2f95=_0x2d920f;_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x435)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x420))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['CLOSE_ROOM']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t']('collaboration.closeRoom')}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x2cf)]&&this[_0xd2f95(0x280)][_0xd2f95(0x34c)]({'title':this['_localeService']['t'](_0xd2f95(0x404)),'content':this[_0xd2f95(0x1f3)]['t']('permission.content'),'type':_0xd2f95(0x383),'duration':0x0}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x282)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)]['Error'],'content':this['_localeService']['t'](_0xd2f95(0x365))+'('+_0x306cb8['data']+')'}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x375)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)]['Warning'],'content':this['_localeService']['t'](_0x306cb8['data']||'')}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x2f8)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this['_localeService']['t'](_0xd2f95(0x42f))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['SOCKET_FAILED']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x3af))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x37e)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x1be))});}));}};_0x489eee=_0xd6ade1([_0x48ddcf(0x0,_0x2ff57e[_0x2be3c1(0x42d)]),_0x48ddcf(0x1,_0x4cce40[_0x2be3c1(0x286)]),_0x48ddcf(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x32e)])),_0x48ddcf(0x3,_0x2ff57e[_0x2be3c1(0x1b2)]),_0x48ddcf(0x4,_0x2ff57e[_0x2be3c1(0x446)]),_0x48ddcf(0x5,_0x88db4d['Inject'](_0x88db4d['LocaleService']))],_0x489eee);var _0x58b8e2=Object[_0x2be3c1(0x393)],_0x63a29d=(_0x52fff3,_0xb23013,_0x26fb38,_0x5199ac)=>{const _0x513532=_0x2be3c1;for(var _0x4d259c=_0x5199ac>0x1?void 0x0:_0x5199ac?_0x58b8e2(_0xb23013,_0x26fb38):_0xb23013,_0xeda522=_0x52fff3[_0x513532(0x413)]-0x1,_0x5ea8f7;_0xeda522>=0x0;_0xeda522--)(_0x5ea8f7=_0x52fff3[_0xeda522])&&(_0x4d259c=_0x5ea8f7(_0x4d259c)||_0x4d259c);return _0x4d259c;},_0x393210=(_0x123c82,_0x3cbb55)=>(_0x5b5264,_0x4b4d08)=>_0x3cbb55(_0x5b5264,_0x4b4d08,_0x123c82);let _0x5ab0af=class extends _0x88db4d['Disposable']{constructor(_0x58adb3,_0x2ba179,_0xf941d,_0x1481cf){const _0x320332=_0x2be3c1;super(),_0x31ba17(this,'_memberID'),(this[_0x320332(0x363)]=_0x58adb3,this[_0x320332(0x1cd)]=_0x2ba179,this[_0x320332(0x1ee)]=_0xf941d,this['_collaborationSessionService']=_0x1481cf,this[_0x320332(0x43c)]());}['_init'](){const _0x2330cb=_0x2be3c1;this['_initWindowErrorListener'](),this[_0x2330cb(0x2fe)](),this[_0x2330cb(0x42e)](),this[_0x2330cb(0x2da)]();}[_0x2be3c1(0x2da)](){const _0x6751fb=_0x2be3c1;this['disposeWithMe'](this[_0x6751fb(0x195)][_0x6751fb(0x46b)][_0x6751fb(0x1f2)](_0x3ab1aa=>{const _0x4de683=_0x6751fb;this[_0x4de683(0x21d)]=_0x3ab1aa==null?void 0x0:_0x3ab1aa['memberID'];}));}[_0x2be3c1(0x3e8)](){const _0x257c3a=_0x2be3c1,_0x490a9c=_0x59f430=>{const _0x3dd610=_0x4ca8;var _0x53f756;this[_0x3dd610(0x425)]('error',_0x3dd610(0x246)+_0x59f430[_0x3dd610(0x2a3)]+_0x3dd610(0x18d)+_0x59f430[_0x3dd610(0x416)]+':'+_0x59f430['lineno']+':'+_0x59f430[_0x3dd610(0x3d6)]+'\x0a'+(((_0x53f756=_0x59f430[_0x3dd610(0x383)])==null?void 0x0:_0x53f756[_0x3dd610(0x438)])||''));};window[_0x257c3a(0x3d0)](_0x257c3a(0x383),_0x490a9c),this[_0x257c3a(0x3ee)](()=>{const _0xb725c1=_0x257c3a;window[_0xb725c1(0x18c)](_0xb725c1(0x383),_0x490a9c);});}[_0x2be3c1(0x2fe)](){const _0x41265a=_0x2be3c1,_0x348606=_0x371544=>{const _0x43dc30=_0x4ca8;this[_0x43dc30(0x425)](_0x43dc30(0x383),'[Unhandled\x20Rejection]:\x20'+_0x371544['reason']);};window['addEventListener'](_0x41265a(0x1f4),_0x348606),this[_0x41265a(0x3ee)](()=>{const _0x106ffb=_0x41265a;window[_0x106ffb(0x18c)](_0x106ffb(0x1f4),_0x348606);});}['_monkeyPatchLogService'](){const _0x169796=_0x2be3c1,_0x2a3105=this['_logService'][_0x169796(0x383)][_0x169796(0x2aa)](this[_0x169796(0x1ee)]);this['_logService'][_0x169796(0x383)]=(..._0x30b827)=>{const _0x28f2a7=_0x169796,_0x1cdcc3=_0x30b827[_0x28f2a7(0x22e)](_0x153f35=>_0x153f35 instanceof Error?_0x153f35[_0x28f2a7(0x2a3)]+'\x0a'+_0x153f35[_0x28f2a7(0x438)]:String(_0x153f35))[_0x28f2a7(0x3a2)]('\x20');this['_uploadLog'](_0x28f2a7(0x383),_0x28f2a7(0x30c)+_0x1cdcc3),_0x2a3105(..._0x30b827);},this[_0x169796(0x3ee)](()=>{this['_logService']['error']=_0x2a3105;});}[_0x2be3c1(0x425)](_0x6b36a3,_0x5805df){const _0x4ed269=_0x2be3c1;try{const _0x584596={'userId':this[_0x4ed269(0x21d)],'logLabel':_0x6b36a3,'content':_0x5805df};this[_0x4ed269(0x1cd)][_0x4ed269(0x28c)](_0x4ed269(0x381),{'body':_0x584596})[_0x4ed269(0x2ff)](()=>{});}catch{}}};_0x5ab0af=_0x63a29d([_0x393210(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x393210(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x393210(0x2,_0x88db4d['ILogService']),_0x393210(0x3,_0x88db4d['Inject'](_0x4cce40['CollaborationSessionService']))],_0x5ab0af);const _0x5d13e6=_0x2be3c1(0x2b7),_0x4f9c2d={};var _0x4077e7=Object[_0x2be3c1(0x393)],_0x445486=(_0x4f436d,_0x5cd58c,_0x224de4,_0x1bbc80)=>{for(var _0xb1fd4e=_0x1bbc80>0x1?void 0x0:_0x1bbc80?_0x4077e7(_0x5cd58c,_0x224de4):_0x5cd58c,_0x4fc3e5=_0x4f436d['length']-0x1,_0x4a2a1a;_0x4fc3e5>=0x0;_0x4fc3e5--)(_0x4a2a1a=_0x4f436d[_0x4fc3e5])&&(_0xb1fd4e=_0x4a2a1a(_0xb1fd4e)||_0xb1fd4e);return _0xb1fd4e;},_0x3871b1=(_0x6778c7,_0x5e275c)=>(_0x4ca5d2,_0x5863b4)=>_0x5e275c(_0x4ca5d2,_0x5863b4,_0x6778c7);let _0xf4bf8f=class{constructor(_0x27f545,_0x56e3dc){const _0x38c33b=_0x2be3c1;this[_0x38c33b(0x46d)]=_0x27f545,this['_renderManagerService']=_0x56e3dc;}[_0x2be3c1(0x34f)](_0x4dbd18){const _0x34a707=_0x2be3c1;this[_0x34a707(0x351)](_0x4dbd18),this[_0x34a707(0x374)](_0x4dbd18);}[_0x2be3c1(0x224)](_0x201b0f){const _0x29abed=_0x2be3c1,{unitID:_0x51fb5f}=_0x201b0f,_0x16ad06=this[_0x29abed(0x3b5)][_0x29abed(0x44d)](_0x51fb5f)['with'](_0x1fd691[_0x29abed(0x190)]),{redoCache:_0x1681b8}=_0x16ad06[_0x29abed(0x3c7)]();if(_0x1681b8[_0x29abed(0x413)]===0x0)return _0x201b0f;let _0x3c2872=_0x88db4d[_0x29abed(0x26b)][_0x29abed(0x19e)](_0x201b0f[_0x29abed(0x2f4)][0x0]);for(let _0x3fd846=0x0;_0x3fd846<_0x1681b8['length'];_0x3fd846++){const _0xdeb576={'id':_0x29abed(0x198),'params':{..._0x1681b8[_0x3fd846]}},_0x34fea9=this[_0x29abed(0x46d)][_0x29abed(0x255)](_0x3c2872,_0xdeb576,!0x1);if(_0x28fbb0[_0x29abed(0x440)](_0x34fea9))throw _0x34fea9[_0x29abed(0x383)];_0x3c2872=_0x34fea9[_0x29abed(0x29e)];}return{..._0x88db4d[_0x29abed(0x26b)]['deepClone'](_0x201b0f),'mutations':[_0x3c2872]};}[_0x2be3c1(0x351)](_0x4f8aab){const _0x1edf7c=_0x2be3c1,{unitID:_0x1951df}=_0x4f8aab,_0x38f40e=this[_0x1edf7c(0x3b5)][_0x1edf7c(0x44d)](_0x1951df)[_0x1edf7c(0x23a)](_0x1fd691[_0x1edf7c(0x190)]),{undoCache:_0x17b7a2,redoCache:_0x5e5044}=_0x38f40e['getUndoRedoMutationParamsCache']();if(_0x17b7a2[_0x1edf7c(0x413)]===0x0||_0x5e5044[_0x1edf7c(0x413)]===0x0)return;const _0x266bba=[],_0x4228ab=[];let _0x278ab4=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]),_0x409cbb=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]);for(let _0x50a3e2=_0x17b7a2['length']-0x1;_0x50a3e2>=0x0;_0x50a3e2--){const _0x4c99f3={'id':_0x1edf7c(0x198),'params':{..._0x17b7a2[_0x50a3e2]}},_0x3945a8={'id':'doc.mutation.rich-text-editing','params':{..._0x5e5044[_0x50a3e2]}},_0x222c4e=this[_0x1edf7c(0x46d)][_0x1edf7c(0x255)](_0x278ab4,_0x4c99f3,!0x1),_0x5a4f6d=this['_transformService']['transformMutation'](_0x409cbb,_0x3945a8,!0x1);if(_0x28fbb0['isTransformMutationFailure'](_0x222c4e))throw _0x222c4e[_0x1edf7c(0x383)];if(_0x28fbb0['isTransformMutationFailure'](_0x5a4f6d))throw _0x5a4f6d['error'];_0x266bba[_0x1edf7c(0x36a)](_0x222c4e[_0x1edf7c(0x27c)][_0x1edf7c(0x317)]),_0x4228ab[_0x1edf7c(0x36a)](_0x5a4f6d[_0x1edf7c(0x27c)]['params']),_0x278ab4=_0x222c4e[_0x1edf7c(0x29e)],_0x409cbb=_0x5a4f6d[_0x1edf7c(0x29e)];}_0x38f40e[_0x1edf7c(0x37c)]({'undoCache':_0x266bba,'redoCache':_0x4228ab});}[_0x2be3c1(0x374)](_0x50e7f0){const _0x11eae0=_0x2be3c1,{unitID:_0x75a2b4}=_0x50e7f0,_0x441f9c=this['_renderManagerService']['getRenderById'](_0x75a2b4)['with'](_0x1fd691[_0x11eae0(0x190)]),_0x5afef2=_0x441f9c['getActiveRange']();if(_0x5afef2==null)return;const _0x4295ca=[{'id':_0x11eae0(0x198),'params':{'unitId':_0x50e7f0['unitID'],'actions':null,'textRanges':[_0x5afef2]}}],_0x4c1c3f=this[_0x11eae0(0x46d)]['transformMutationsWithChangeset'](_0x50e7f0,_0x4295ca);if(!_0x28fbb0[_0x11eae0(0x41e)](_0x4c1c3f))throw _0x4c1c3f[_0x11eae0(0x383)];const _0xbd86a5=_0x4c1c3f['m2Prime'][0x0][_0x11eae0(0x317)][_0x11eae0(0x28d)];Array[_0x11eae0(0x360)](_0xbd86a5)&&_0xbd86a5[_0x11eae0(0x413)]&&_0x441f9c['setActiveRange'](_0xbd86a5[0x0]);}};_0xf4bf8f=_0x445486([_0x3871b1(0x0,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x3871b1(0x1,_0xe27d05['IRenderManagerService'])],_0xf4bf8f);var _0x5c6111=Object[_0x2be3c1(0x393)],_0x13c426=(_0x48f53f,_0x5b0fb5,_0x4f8aaf,_0x416795)=>{const _0x444d38=_0x2be3c1;for(var _0x29102f=_0x416795>0x1?void 0x0:_0x416795?_0x5c6111(_0x5b0fb5,_0x4f8aaf):_0x5b0fb5,_0x3b560f=_0x48f53f[_0x444d38(0x413)]-0x1,_0x33c334;_0x3b560f>=0x0;_0x3b560f--)(_0x33c334=_0x48f53f[_0x3b560f])&&(_0x29102f=_0x33c334(_0x29102f)||_0x29102f);return _0x29102f;},_0x5c32b0=(_0x21aa35,_0x196eb4)=>(_0x2184c5,_0xea38c)=>_0x196eb4(_0x2184c5,_0xea38c,_0x21aa35);let _0xf420a0=class{constructor(_0x5f412c,_0x202676,_0x2351f6){const _0x221ebe=_0x2be3c1;this[_0x221ebe(0x363)]=_0x5f412c,this['_transformService']=_0x202676,this[_0x221ebe(0x2f0)]=_0x2351f6;}[_0x2be3c1(0x294)](_0x46718f){const _0x2b48d0=_0x2be3c1;this[_0x2b48d0(0x40e)](_0x46718f);}[_0x2be3c1(0x224)](_0x922693){const _0x1b9eda=_0x2be3c1,{unitID:_0x4c7b90}=_0x922693,{collaboration:_0x590fcd}=this[_0x1b9eda(0x2f0)][_0x1b9eda(0x35e)](_0x4c7b90);if(_0x590fcd[_0x1b9eda(0x413)]===0x0)return _0x922693;let _0xb1b165=_0x88db4d[_0x1b9eda(0x26b)][_0x1b9eda(0x19e)](_0x922693[_0x1b9eda(0x2f4)][0x0]);for(let _0x5ac517=0x0;_0x5ac517<_0x590fcd[_0x1b9eda(0x413)];_0x5ac517++){const _0x28f77c={'id':_0x1b9eda(0x198),'params':{'unitId':_0x590fcd[_0x5ac517][_0x1b9eda(0x2b8)],..._0x590fcd[_0x5ac517][_0x1b9eda(0x369)]}},_0x1af7a5=this[_0x1b9eda(0x46d)]['transformMutation'](_0xb1b165,_0x28f77c,!0x1);if(_0x28fbb0[_0x1b9eda(0x440)](_0x1af7a5))throw _0x1af7a5['error'];_0xb1b165=_0x1af7a5[_0x1b9eda(0x29e)];}return{..._0x88db4d['Tools']['deepClone'](_0x922693),'mutations':[_0xb1b165]};}[_0x2be3c1(0x40e)](_0x10a56f){const _0x1ad5cc=_0x2be3c1,{unitID:_0x3190a6}=_0x10a56f,{history:_0x2d2cd6,collaboration:_0x3221a2}=this[_0x1ad5cc(0x2f0)][_0x1ad5cc(0x35e)](_0x3190a6);if(_0x2d2cd6[_0x1ad5cc(0x413)]===0x0&&_0x3221a2['length']===0x0)return;const _0x214ad4=[],_0xa82eea=[];let _0x30a567=_0x88db4d['Tools'][_0x1ad5cc(0x19e)](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]);for(let _0x105394=_0x2d2cd6[_0x1ad5cc(0x413)]-0x1;_0x105394>=0x0;_0x105394--){const _0x550a11={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394]['unitId'],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x276)]}},_0x3c3b6b={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394][_0x1ad5cc(0x2b8)],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x369)]}},_0x27740d=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x30a567,_0x550a11,!0x1),_0x2ecd96=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x520945,_0x3c3b6b,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x27740d))throw _0x27740d[_0x1ad5cc(0x383)];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x2ecd96))throw _0x2ecd96[_0x1ad5cc(0x383)];_0x214ad4[_0x1ad5cc(0x36a)]({..._0x2d2cd6[_0x105394],'undoState':_0x27740d[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x2ecd96[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x27740d['m1Prime'],_0x520945=_0x2ecd96[_0x1ad5cc(0x29e)];}_0x30a567=_0x88db4d[_0x1ad5cc(0x26b)][_0x1ad5cc(0x19e)](_0x10a56f['mutations'][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f['mutations'][0x0]);for(let _0x2074b7=_0x3221a2[_0x1ad5cc(0x413)]-0x1;_0x2074b7>=0x0;_0x2074b7--){const _0x45c164={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x276)]}},_0x1cf319={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x369)]}},_0x731ce8=this[_0x1ad5cc(0x46d)]['transformMutation'](_0x30a567,_0x45c164,!0x1),_0x4f48d9=this['_transformService']['transformMutation'](_0x520945,_0x1cf319,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x731ce8))throw _0x731ce8['error'];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x4f48d9))throw _0x4f48d9['error'];_0xa82eea[_0x1ad5cc(0x36a)]({..._0x3221a2[_0x2074b7],'undoState':_0x731ce8[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x4f48d9[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x731ce8['m1Prime'],_0x520945=_0x4f48d9[_0x1ad5cc(0x29e)];}this['_docStateChangeManagerService'][_0x1ad5cc(0x1a1)](_0x3190a6,{'history':_0x214ad4,'collaboration':_0xa82eea});}};_0xf420a0=_0x13c426([_0x5c32b0(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x5c32b0(0x1,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x5c32b0(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)]))],_0xf420a0);var _0x4ba42a=Object[_0x2be3c1(0x393)],_0x3f362a=(_0x47b21c,_0x392480,_0x2986a7,_0x5b628b)=>{const _0x27eaca=_0x2be3c1;for(var _0x2c4f6a=_0x5b628b>0x1?void 0x0:_0x5b628b?_0x4ba42a(_0x392480,_0x2986a7):_0x392480,_0x1b022e=_0x47b21c[_0x27eaca(0x413)]-0x1,_0x26afad;_0x1b022e>=0x0;_0x1b022e--)(_0x26afad=_0x47b21c[_0x1b022e])&&(_0x2c4f6a=_0x26afad(_0x2c4f6a)||_0x2c4f6a);return _0x2c4f6a;},_0x141c25=(_0x481f7a,_0x5b81a0)=>(_0x968ebe,_0x3c8119)=>_0x5b81a0(_0x968ebe,_0x3c8119,_0x481f7a);let _0x3f33b5=class{constructor(_0x1b3834,_0x59d056){const _0x2a78c9=_0x2be3c1;this['_injector']=_0x1b3834,this[_0x2a78c9(0x46d)]=_0x59d056;}[_0x2be3c1(0x39e)](_0x299c51){const _0x2d2e92=_0x2be3c1;var _0x233494;const _0x8fb980=this[_0x2d2e92(0x363)][_0x2d2e92(0x489)](_0x3c0520[_0x2d2e92(0x41a)]),_0x50047e=(_0x233494=_0x8fb980[_0x2d2e92(0x3ed)]())!=null?_0x233494:[];if(_0x50047e[_0x2d2e92(0x413)]===0x0)return;const _0xb4d9b3=_0x299c51['unitID'],_0xc860a9=[{'id':_0x2d2e92(0x198),'params':{'unitId':_0xb4d9b3,'actions':null,'textRanges':_0x50047e}}],_0x53d5b1=this[_0x2d2e92(0x46d)][_0x2d2e92(0x3d9)](_0x299c51,_0xc860a9);if(!_0x28fbb0[_0x2d2e92(0x41e)](_0x53d5b1))throw _0x53d5b1[_0x2d2e92(0x383)];const _0x4d001f=_0x53d5b1['m2Prime'][0x0][_0x2d2e92(0x317)]['textRanges'];Array[_0x2d2e92(0x360)](_0x4d001f)&&_0x4d001f['length']&&_0x8fb980['replaceDocRanges'](_0x4d001f,{'unitId':_0xb4d9b3,'subUnitId':_0xb4d9b3},!0x1);}};_0x3f33b5=_0x3f362a([_0x141c25(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x141c25(0x1,_0x28fbb0[_0x2be3c1(0x1f5)])],_0x3f33b5);var _0x5b5e0c=Object[_0x2be3c1(0x393)],_0x5cf6e5=(_0x5a3dbd,_0x302eea,_0x4c8b44,_0x16cc3d)=>{for(var _0x5e8cc2=_0x16cc3d>0x1?void 0x0:_0x16cc3d?_0x5b5e0c(_0x302eea,_0x4c8b44):_0x302eea,_0x3e3474=_0x5a3dbd['length']-0x1,_0xb38621;_0x3e3474>=0x0;_0x3e3474--)(_0xb38621=_0x5a3dbd[_0x3e3474])&&(_0x5e8cc2=_0xb38621(_0x5e8cc2)||_0x5e8cc2);return _0x5e8cc2;},_0x98ee06=(_0x5b0273,_0x45c50d)=>(_0x2ee540,_0x2d0147)=>_0x45c50d(_0x2ee540,_0x2d0147,_0x5b0273);let _0x1527d5=class extends _0x88db4d['Disposable']{constructor(_0x514b82,_0x291966,_0x50e463,_0x1a7aa8,_0x539da0,_0x38ae26,_0xa0e65,_0x4f495c){const _0x350b53=_0x2be3c1;super(),_0x31ba17(this,_0x350b53(0x199),new _0x3b0fae['BehaviorSubject'](_0x4cce40[_0x350b53(0x202)][_0x350b53(0x323)])),(this[_0x350b53(0x2f0)]=_0x514b82,this[_0x350b53(0x301)]=_0x291966,this[_0x350b53(0x445)]=_0x50e463,this[_0x350b53(0x397)]=_0x1a7aa8,this[_0x350b53(0x41d)]=_0x539da0,this[_0x350b53(0x292)]=_0x38ae26,this[_0x350b53(0x459)]=_0xa0e65,this[_0x350b53(0x1f3)]=_0x4f495c,this['_initEntityListener']());}[_0x2be3c1(0x267)](){const _0x54595d=_0x2be3c1;this['disposeWithMe'](this[_0x54595d(0x301)][_0x54595d(0x26e)][_0x54595d(0x1f2)](_0x115364=>{const _0x177cbb=_0x54595d,_0xea6e0b=this['_docStateChangeManagerService'][_0x177cbb(0x1a2)]['subscribe'](_0x5633dd=>{const _0x17f6b9=_0x177cbb;if(_0x5633dd==null)return;const {unitId:_0x73c9fc,redoState:_0x2740df,commandId:_0x243357}=_0x5633dd;if(_0x73c9fc!==_0x115364['unitID'])return;const _0x31e19b={'id':_0x243357,'type':_0x88db4d[_0x17f6b9(0x19d)][_0x17f6b9(0x38e)],'params':{'unitId':_0x73c9fc,'actions':_0x2740df[_0x17f6b9(0x418)],'textRanges':null}};_0x115364[_0x17f6b9(0x19f)](_0x31e19b);});if(_0x115364[_0x177cbb(0x3ee)](_0xea6e0b),_0x115364 instanceof _0x4cce40[_0x177cbb(0x453)]){const _0x5eb864={'onTransformIME':_0xbbef6f=>this[_0x177cbb(0x445)][_0x177cbb(0x34f)](_0xbbef6f),'onTransformState':_0x112d37=>this[_0x177cbb(0x397)][_0x177cbb(0x294)](_0x112d37),'onTransformSelections':_0x438ef3=>this[_0x177cbb(0x41d)][_0x177cbb(0x39e)](_0x438ef3),'onSyncEditingCollabCursor':_0x4e477f=>this[_0x177cbb(0x292)][_0x177cbb(0x1d1)](_0x4e477f),'onTransformRemoteChangesetByIMECache':_0x53444c=>this['_docTransformIMECacheService'][_0x177cbb(0x224)](_0x53444c),'onTransformRemoteChangesetByStateCache':_0x1e8782=>this['_docTransformStateCacheService'][_0x177cbb(0x224)](_0x1e8782)};_0x115364['addHandlerCallback'](_0x5eb864);}}));}};_0x1527d5=_0x5cf6e5([_0x98ee06(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)])),_0x98ee06(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x330)])),_0x98ee06(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0xf4bf8f)),_0x98ee06(0x3,_0x88db4d['Inject'](_0xf420a0)),_0x98ee06(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x3f33b5)),_0x98ee06(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x98ee06(0x6,_0x2ff57e['IMessageService']),_0x98ee06(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x1527d5);var _0x518652=(_0x533918=>(_0x533918[_0x533918['UNDEFINED']=0x0]=_0x2be3c1(0x295),_0x533918[_0x533918['OK']=0x1]='OK',_0x533918[_0x533918['INTERNAL_ERROR']=0x2]=_0x2be3c1(0x460),_0x533918[_0x533918[_0x2be3c1(0x2cf)]=0x3]=_0x2be3c1(0x2cf),_0x533918[_0x533918['NOT_FOUND']=0x4]='NOT_FOUND',_0x533918[_0x533918['UNAUTHENTICATED']=0x5]=_0x2be3c1(0x2fd),_0x533918[_0x533918[_0x2be3c1(0x1e1)]=0x6]=_0x2be3c1(0x1e1),_0x533918[_0x533918['INVALID_ARGUMENT']=0x7]=_0x2be3c1(0x398),_0x533918[_0x533918['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x533918[_0x533918[_0x2be3c1(0x18e)]=0x9]=_0x2be3c1(0x18e),_0x533918[_0x533918[_0x2be3c1(0x455)]=0xa]=_0x2be3c1(0x455),_0x533918[_0x533918[_0x2be3c1(0x3b2)]=0xb]=_0x2be3c1(0x3b2),_0x533918[_0x533918['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2be3c1(0x309),_0x533918[_0x533918[_0x2be3c1(0x1fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x533918[_0x533918['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x533918[_0x533918[_0x2be3c1(0x3a0)]=0xf]=_0x2be3c1(0x3a0),_0x533918[_0x533918[_0x2be3c1(0x278)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x533918[_0x533918[_0x2be3c1(0x464)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x533918[_0x533918[_0x2be3c1(0x1c5)]=0x65]=_0x2be3c1(0x1c5),_0x533918[_0x533918[_0x2be3c1(0x28e)]=0xc9]=_0x2be3c1(0x28e),_0x533918[_0x533918[_0x2be3c1(0x406)]=0xca]='USER_IS_ANONYMOUS',_0x533918[_0x533918['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2be3c1(0x3ca),_0x533918[_0x533918[_0x2be3c1(0x3cf)]=0x1771]=_0x2be3c1(0x3cf),_0x533918[_0x533918[_0x2be3c1(0x212)]=0x1772]=_0x2be3c1(0x212),_0x533918[_0x533918['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2be3c1(0x1de),_0x533918[_0x533918[_0x2be3c1(0x1ff)]=0x1b59]=_0x2be3c1(0x1ff),_0x533918[_0x533918[_0x2be3c1(0x1ad)]=0x1b5a]=_0x2be3c1(0x1ad),_0x533918[_0x533918[_0x2be3c1(0x25d)]=0x1b5b]=_0x2be3c1(0x25d),_0x533918[_0x533918[_0x2be3c1(0x422)]=0x1b5c]=_0x2be3c1(0x422),_0x533918[_0x533918['APPLY_DUPLICATED']=0x1b5d]=_0x2be3c1(0x20a),_0x533918[_0x533918['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2be3c1(0x3eb),_0x533918[_0x533918[_0x2be3c1(0x373)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x533918[_0x533918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x533918[_0x533918[_0x2be3c1(0x419)]=0x232b]=_0x2be3c1(0x419),_0x533918[_0x533918[_0x2be3c1(0x3ad)]=0x232c]=_0x2be3c1(0x3ad),_0x533918[_0x533918[_0x2be3c1(0x192)]=0x232d]=_0x2be3c1(0x192),_0x533918[_0x533918[_0x2be3c1(0x30e)]=0x2711]=_0x2be3c1(0x30e),_0x533918[_0x533918['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2be3c1(0x34d),_0x533918[_0x533918[_0x2be3c1(0x462)]=0x2713]=_0x2be3c1(0x462),_0x533918[_0x533918[_0x2be3c1(0x319)]=0x2714]=_0x2be3c1(0x319),_0x533918[_0x533918[_0x2be3c1(0x1ea)]=0x271a]=_0x2be3c1(0x1ea),_0x533918[_0x533918[_0x2be3c1(0x2d4)]=0x271b]=_0x2be3c1(0x2d4),_0x533918[_0x533918[_0x2be3c1(0x45f)]=0x271c]=_0x2be3c1(0x45f),_0x533918[_0x533918['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2be3c1(0x3ef),_0x533918[_0x533918[_0x2be3c1(0x364)]=0x271e]=_0x2be3c1(0x364),_0x533918[_0x533918[_0x2be3c1(0x2eb)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x533918[_0x533918['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2be3c1(0x20c),_0x533918[_0x533918[_0x2be3c1(0x1ef)]=0x2af9]=_0x2be3c1(0x1ef),_0x533918[_0x533918[_0x2be3c1(0x21f)]=0x2ee1]=_0x2be3c1(0x21f),_0x533918[_0x533918[_0x2be3c1(0x43f)]=0x2ee2]=_0x2be3c1(0x43f),_0x533918[_0x533918[_0x2be3c1(0x20d)]=0x2ee3]=_0x2be3c1(0x20d),_0x533918[_0x533918[_0x2be3c1(0x45c)]=0x2ee4]=_0x2be3c1(0x45c),_0x533918[_0x533918[_0x2be3c1(0x3ac)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2bf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2c8)]=0x32ca]=_0x2be3c1(0x2c8),_0x533918[_0x533918['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2be3c1(0x259),_0x533918[_0x533918['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x2be3c1(0x2d5),_0x533918[_0x533918['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2be3c1(0x265),_0x533918[_0x533918[_0x2be3c1(0x333)]=0x36b3]=_0x2be3c1(0x333),_0x533918[_0x533918[_0x2be3c1(0x341)]=0x36b4]=_0x2be3c1(0x341),_0x533918[_0x533918[_0x2be3c1(0x18a)]=0x36b5]=_0x2be3c1(0x18a),_0x533918[_0x533918['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2be3c1(0x44f),_0x533918[_0x533918[_0x2be3c1(0x43b)]=0x36b7]=_0x2be3c1(0x43b),_0x533918[_0x533918['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x533918[_0x533918[_0x2be3c1(0x1b9)]=0x3715]=_0x2be3c1(0x1b9),_0x533918[_0x533918[_0x2be3c1(0x1ac)]=0x3716]=_0x2be3c1(0x1ac),_0x533918[_0x533918['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x533918[_0x533918[_0x2be3c1(0x392)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x533918[_0x533918[_0x2be3c1(0x221)]=0x3a99]=_0x2be3c1(0x221),_0x533918[_0x533918[_0x2be3c1(0x209)]=0x3a9a]=_0x2be3c1(0x209),_0x533918[_0x533918['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2be3c1(0x2fb),_0x533918[_0x533918[_0x2be3c1(0x2c4)]=0x3a9c]=_0x2be3c1(0x2c4),_0x533918[_0x533918['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2be3c1(0x376),_0x533918[_0x533918['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2be3c1(0x2c7),_0x533918[_0x533918['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2be3c1(0x266),_0x533918[_0x533918[_0x2be3c1(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x533918[_0x533918['UNRECOGNIZED']=-0x1]=_0x2be3c1(0x3ba),_0x533918))(_0x518652||{});function _0x31ea8c(_0xb5ea33){const _0x57e656=_0x2be3c1;var _0x374bb4,_0x52ed88;const _0x31239b=(_0x374bb4=_0xb5ea33['stageInfo'])==null?void 0x0:_0x374bb4[_0x57e656(0x487)],_0x4a7792=((_0x52ed88=_0xb5ea33[_0x57e656(0x1f7)])==null?void 0x0:_0x52ed88['totalFormulasToCalculate'])||0x0;return _0x31239b===_0x52fd75[_0x57e656(0x1bf)][_0x57e656(0x3da)]&&_0x4a7792>0x0;}function _0x472f0d(_0x44ec68){const _0x4c2918=_0x2be3c1;return _0x44ec68[_0x4c2918(0x241)]===_0x52fd75[_0x4c2918(0x239)][_0x4c2918(0x430)];}var _0x34db8e=Object[_0x2be3c1(0x393)],_0x58201a=(_0x1525fa,_0x40edaa,_0x19c4eb,_0x37a0d8)=>{for(var _0xcfb802=_0x37a0d8>0x1?void 0x0:_0x37a0d8?_0x34db8e(_0x40edaa,_0x19c4eb):_0x40edaa,_0x390c2d=_0x1525fa['length']-0x1,_0x2403cf;_0x390c2d>=0x0;_0x390c2d--)(_0x2403cf=_0x1525fa[_0x390c2d])&&(_0xcfb802=_0x2403cf(_0xcfb802)||_0xcfb802);return _0xcfb802;},_0x203b18=(_0x31e544,_0x84c5a)=>(_0x5ce274,_0x11d8c2)=>_0x84c5a(_0x5ce274,_0x11d8c2,_0x31e544);const _0x15f328=_0x2be3c1(0x1db),_0x30d5d1=_0x2be3c1(0x219),_0x83496a=_0x2be3c1(0x386);let _0x33f734=class extends _0x88db4d['Disposable']{constructor(_0x3c0603,_0x264262,_0x44dffa,_0x6ab2c8,_0xf0a2a0,_0x23998c,_0x175da0){const _0x41ae10=_0x2be3c1;super(),_0x31ba17(this,_0x41ae10(0x30f),null),_0x31ba17(this,_0x41ae10(0x353),0x0),_0x31ba17(this,_0x41ae10(0x3d5),0x0),_0x31ba17(this,_0x41ae10(0x2ba),[]),_0x31ba17(this,_0x41ae10(0x2b0),0x0),(this[_0x41ae10(0x459)]=_0x3c0603,this['_commandService']=_0x264262,this[_0x41ae10(0x213)]=_0x44dffa,this['_httpService']=_0x6ab2c8,this[_0x41ae10(0x1b7)]=_0xf0a2a0,this[_0x41ae10(0x1ee)]=_0x23998c,this['_localeService']=_0x175da0,this[_0x41ae10(0x324)]());}['_initCommandInterceptor'](){const _0xb51c52=_0x2be3c1;this['disposeWithMe'](this[_0xb51c52(0x243)]['beforeCommandExecuted']((_0x45aff2,_0x24c308)=>{const _0x262602=_0xb51c52;var _0x380add;if(_0x45aff2['id']!==_0x52fd75[_0x262602(0x465)]['id'])return;const _0xcdf3e9=_0x45aff2[_0x262602(0x317)];if(!this['_hasFormulaInDirtyRanges']((_0x380add=_0xcdf3e9[_0x262602(0x281)])!=null?_0x380add:[]))return;if(!this[_0x262602(0x201)]())throw this['_checkAndWaitForCalculationPermission'](_0x45aff2,_0x24c308),this['_showGuardMessage'](),new _0x88db4d[(_0x262602(0x314))]();})),this[_0xb51c52(0x3ee)](this[_0xb51c52(0x243)][_0xb51c52(0x1b3)]((_0x35400a,_0x4896fd)=>{const _0x49da2f=_0xb51c52;if(_0x35400a['id']!==_0x52fd75[_0x49da2f(0x1bb)]['id'])return;const _0x34ec66=_0x35400a['params'];if(_0x31ea8c(_0x34ec66)){const _0x4bb47e=_0x88db4d[_0x49da2f(0x335)]();this[_0x49da2f(0x2ba)]['push'](_0x4bb47e),this[_0x49da2f(0x3d4)](_0x4bb47e);}else{if(_0x472f0d(_0x34ec66)&&this[_0x49da2f(0x2ba)][_0x49da2f(0x413)]>0x0){const _0x157ef9=this['_taskIds'][_0x49da2f(0x1e5)]();this[_0x49da2f(0x269)](_0x157ef9);}}}));}[_0x2be3c1(0x1a4)](){const _0x80ddfd=_0x2be3c1;super[_0x80ddfd(0x1a4)](),this[_0x80ddfd(0x26c)](),this[_0x80ddfd(0x2ba)]=[],this['_currentUsage']=0x0,this[_0x80ddfd(0x353)]=0x0,this[_0x80ddfd(0x2b0)]=0x0;}async[_0x2be3c1(0x2e9)](_0x3957c0,_0x3033fd){const _0x5aa30a=_0x2be3c1;for(let _0x3e90b9=0x0;_0x3e90b9<0x1e;_0x3e90b9++)try{if(await this[_0x5aa30a(0x350)](),this[_0x5aa30a(0x201)]()){this[_0x5aa30a(0x2b9)](_0x3957c0,_0x3033fd),this['_messageService']['show']({'content':this[_0x5aa30a(0x1f3)]['t'](_0x5aa30a(0x214)),'type':_0x37cc58[_0x5aa30a(0x254)]['Success']});return;}await new Promise(_0x2a7bd4=>{const _0x2887b3=_0x5aa30a;this[_0x2887b3(0x30f)]=window[_0x2887b3(0x44c)](_0x2a7bd4,0x3e8);});}catch(_0x1be50d){this[_0x5aa30a(0x1ee)][_0x5aa30a(0x383)](_0x1be50d);}this[_0x5aa30a(0x459)]['show']({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x37cc58[_0x5aa30a(0x254)][_0x5aa30a(0x42a)]});}['_applyCommand'](_0x53fd85,_0xd6df17){const _0x355770=_0x2be3c1;try{this[_0x355770(0x243)][_0x355770(0x33c)](_0x53fd85['id'],_0x53fd85[_0x355770(0x317)],_0xd6df17);}catch(_0x1c6bf7){this[_0x355770(0x1ee)]['error'](_0x1c6bf7);}}[_0x2be3c1(0x3a6)](_0x2d4b80,_0x4e3bf1){const _0x14d0a4=_0x2be3c1;_0x4e3bf1<this['_lastResponseTimestamp']||(this[_0x14d0a4(0x2b0)]=_0x4e3bf1,this[_0x14d0a4(0x353)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x325)]),this[_0x14d0a4(0x3d5)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x3c2)]));}async[_0x2be3c1(0x3d4)](_0x3cd11c){const _0xf24591=_0x2be3c1;var _0x34a6a7,_0xf75c4b;const _0x3d8549=Date[_0xf24591(0x1cf)]();try{const _0x4f57cb=((_0x34a6a7=this[_0xf24591(0x213)]['getConfig'](_0x4cce40[_0xf24591(0x1a8)]))==null?void 0x0:_0x34a6a7[_0xf24591(0x31b)])||_0x30d5d1,_0x29f28b=(await this['_httpService'][_0xf24591(0x28c)](_0x4f57cb,{'body':JSON['stringify']({'taskId':_0x3cd11c})}))[_0xf24591(0x35c)];if(((_0xf75c4b=_0x29f28b[_0xf24591(0x383)])==null?void 0x0:_0xf75c4b[_0xf24591(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x29f28b[_0xf24591(0x38f)],_0x3d8549);}catch(_0x5b69d6){this[_0xf24591(0x1ee)]['error'](_0x5b69d6);}}async[_0x2be3c1(0x350)](_0x1952a7){const _0x96f080=_0x2be3c1;var _0x550038,_0x2eee26;const _0x11c3bf=Date[_0x96f080(0x1cf)]();try{const _0x2f5476=((_0x550038=this[_0x96f080(0x213)]['getConfig'](_0x4cce40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x550038['getformulaLimitStatusUrl'])||_0x15f328,_0x58e641=_0x1952a7?_0x2f5476+_0x96f080(0x189)+encodeURIComponent(_0x1952a7):_0x2f5476,_0x30520e=(await this[_0x96f080(0x1cd)][_0x96f080(0x489)](_0x58e641))[_0x96f080(0x35c)];if(((_0x2eee26=_0x30520e[_0x96f080(0x383)])==null?void 0x0:_0x2eee26[_0x96f080(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x30520e[_0x96f080(0x38f)],_0x11c3bf);}catch(_0x5e6607){this[_0x96f080(0x1ee)]['error'](_0x5e6607);}}async[_0x2be3c1(0x269)](_0x3744a4){const _0xc73b39=_0x2be3c1;var _0x2e97e,_0x5c85db;const _0x19c536=Date[_0xc73b39(0x1cf)]();try{const _0x1f4c3=((_0x2e97e=this[_0xc73b39(0x213)]['getConfig'](_0x4cce40[_0xc73b39(0x1a8)]))==null?void 0x0:_0x2e97e['releaseFormulaLimitUrl'])||_0x83496a,_0x3262e3=(await this[_0xc73b39(0x1cd)][_0xc73b39(0x28c)](_0x1f4c3,{'body':JSON[_0xc73b39(0x231)]({'taskId':_0x3744a4})}))[_0xc73b39(0x35c)];if(((_0x5c85db=_0x3262e3['error'])==null?void 0x0:_0x5c85db[_0xc73b39(0x2c0)])!==_0x518652['OK'])return;this[_0xc73b39(0x3a6)](_0x3262e3[_0xc73b39(0x38f)],_0x19c536);}catch(_0x190a1c){this[_0xc73b39(0x1ee)][_0xc73b39(0x383)](_0x190a1c);}}[_0x2be3c1(0x201)](){const _0x10c221=_0x2be3c1;return this[_0x10c221(0x353)]===0x0?!0x0:this[_0x10c221(0x353)]-this[_0x10c221(0x3d5)]>0x0;}['_clearPolling'](){const _0x365b04=_0x2be3c1;this[_0x365b04(0x30f)]&&(clearTimeout(this['_pollingInterval']),this[_0x365b04(0x30f)]=null);}[_0x2be3c1(0x439)](){const _0x238ff3=_0x2be3c1;this[_0x238ff3(0x459)]['show']({'content':this[_0x238ff3(0x1f3)]['t'](_0x238ff3(0x1e6)),'type':_0x37cc58['MessageType'][_0x238ff3(0x3fa)]});}[_0x2be3c1(0x32a)](_0x2208e8){const _0x527b82=_0x2be3c1;for(const _0x55aa8d of _0x2208e8){const {unitId:_0x2a48ec,sheetId:_0x18b248,range:_0x1ea3d5}=_0x55aa8d,_0x5359d4=this['_univerInstanceService']['getUnit'](_0x2a48ec);if(!_0x5359d4)continue;const _0x3a33d6=_0x5359d4['getSheetBySheetId'](_0x18b248);if(!_0x3a33d6)continue;const _0x16ca17=_0x3a33d6[_0x527b82(0x46f)]();for(let _0x33bd45=_0x1ea3d5['startRow'];_0x33bd45<=_0x1ea3d5[_0x527b82(0x32d)];_0x33bd45++)for(let _0x18f2a8=_0x1ea3d5[_0x527b82(0x40b)];_0x18f2a8<=_0x1ea3d5[_0x527b82(0x236)];_0x18f2a8++){const _0x4da119=_0x16ca17[_0x527b82(0x21e)](_0x33bd45,_0x18f2a8);if(_0x4da119&&(_0x88db4d[_0x527b82(0x3ff)](_0x4da119['f'])||_0x88db4d['isFormulaId'](_0x4da119['si'])))return!0x0;}}return!0x1;}};_0x33f734=_0x58201a([_0x203b18(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x2ff57e[_0x2be3c1(0x1b2)])),_0x203b18(0x1,_0x88db4d[_0x2be3c1(0x355)]),_0x203b18(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x203b18(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x203b18(0x4,_0x88db4d[_0x2be3c1(0x43e)]),_0x203b18(0x5,_0x88db4d[_0x2be3c1(0x193)]),_0x203b18(0x6,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x33f734);var _0x521f44=Object[_0x2be3c1(0x393)],_0x18fb13=(_0x54378c,_0x536443,_0x1d174f,_0x29fda3)=>{for(var _0x3649ad=_0x29fda3>0x1?void 0x0:_0x29fda3?_0x521f44(_0x536443,_0x1d174f):_0x536443,_0x224b26=_0x54378c['length']-0x1,_0x5ecb66;_0x224b26>=0x0;_0x224b26--)(_0x5ecb66=_0x54378c[_0x224b26])&&(_0x3649ad=_0x5ecb66(_0x3649ad)||_0x3649ad);return _0x3649ad;},_0x41d411=(_0x24819d,_0x21b1bd)=>(_0x1d484b,_0x1598ae)=>_0x21b1bd(_0x1d484b,_0x1598ae,_0x24819d);let _0x8c1091=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x3a182b,_0x21ed1a,_0x5346ba){const _0xeb382a=_0x2be3c1;super(),_0x31ba17(this,_0xeb382a(0x191),new Map()),_0x31ba17(this,_0xeb382a(0x384),new Map()),_0x31ba17(this,'_disabled',!0x1),(this[_0xeb382a(0x213)]=_0x3a182b,this[_0xeb382a(0x206)]=_0x21ed1a,this[_0xeb382a(0x342)]=_0x5346ba);}[_0x2be3c1(0x3d1)](){const _0x3c2e98=_0x2be3c1;this[_0x3c2e98(0x400)]=!0x0;}[_0x2be3c1(0x2ab)](){const _0x4db3cb=_0x2be3c1;this[_0x4db3cb(0x400)]=!0x1;}get['saveTaskMap'](){const _0x3ec998=_0x2be3c1;return this[_0x3ec998(0x384)];}['dispose'](){const _0x3aebdc=_0x2be3c1;this['exhaustSavingTask']()[_0x3aebdc(0x38a)](()=>super[_0x3aebdc(0x1a4)]());}async[_0x2be3c1(0x33e)](_0x1576e5){const _0x1ff948=_0x2be3c1;return this[_0x1ff948(0x400)]?null:this[_0x1ff948(0x206)][_0x1ff948(0x3dd)](_0x4cce40[_0x1ff948(0x1c9)](_0x1576e5));}async[_0x2be3c1(0x208)](_0x649080,_0x1e16c2){const _0x41d89e=_0x2be3c1;return!!this[_0x41d89e(0x206)][_0x41d89e(0x2bb)](_0x649080,_0x1e16c2);}[_0x2be3c1(0x3ec)](_0x5c9bfa,_0x5321aa,_0x587d57,_0x281e48){const _0x70b699=_0x2be3c1,_0x30fc50=this[_0x70b699(0x342)][_0x70b699(0x230)](_0x5c9bfa);this[_0x70b699(0x191)][_0x70b699(0x2af)](_0x5c9bfa,{'unitID':_0x5c9bfa,'type':_0x5321aa,'awaitingChangeset':_0x587d57,'mutations':_0x281e48,'rev':_0x30fc50}),this[_0x70b699(0x384)][_0x70b699(0x235)](_0x5c9bfa)||this[_0x70b699(0x2cc)](_0x5c9bfa);}['_scheduleSaving'](_0x3e94fb){const _0x284c75=_0x2be3c1,_0x1a9eaf=this[_0x284c75(0x434)]();_0x1a9eaf===0x0?this['_saveCache'](_0x3e94fb):this[_0x284c75(0x384)]['set'](_0x3e94fb,setTimeout(()=>this[_0x284c75(0x488)](_0x3e94fb),_0x1a9eaf));}[_0x2be3c1(0x434)](){const _0x27b02=_0x2be3c1;var _0xda102b;return(_0xda102b=this[_0x27b02(0x213)][_0x27b02(0x1ec)](_0x4cce40[_0x27b02(0x470)]))!=null?_0xda102b:_0x4cce40[_0x27b02(0x211)];}[_0x2be3c1(0x488)](_0x4a8b28){const _0x573254=_0x2be3c1,_0xed0d89=this[_0x573254(0x384)][_0x573254(0x489)](_0x4a8b28);return _0xed0d89!==void 0x0&&window[_0x573254(0x2ad)](_0xed0d89),this[_0x573254(0x206)][_0x573254(0x2bb)](_0x4cce40[_0x573254(0x1c9)](_0x4a8b28),this[_0x573254(0x191)][_0x573254(0x489)](_0x4a8b28))[_0x573254(0x38a)](()=>this[_0x573254(0x384)][_0x573254(0x3e0)](_0x4a8b28));}async[_0x2be3c1(0x3d8)](){const _0x4e3878=_0x2be3c1,_0x184b6c=[];this[_0x4e3878(0x384)][_0x4e3878(0x2cd)]((_0x375296,_0x47f86e)=>{const _0x1c520b=_0x4e3878;window['clearTimeout'](_0x375296),_0x184b6c[_0x1c520b(0x339)](this[_0x1c520b(0x488)](_0x47f86e)[_0x1c520b(0x38a)](()=>{const _0x393ecf=_0x1c520b;this[_0x393ecf(0x384)][_0x393ecf(0x3e0)](_0x47f86e);}));}),await Promise[_0x4e3878(0x337)](_0x184b6c);}};_0x8c1091=_0x18fb13([_0x41d411(0x0,_0x88db4d[_0x2be3c1(0x24a)]),_0x41d411(0x1,_0x88db4d[_0x2be3c1(0x1f0)]),_0x41d411(0x2,_0x88db4d['Inject'](_0x28fbb0[_0x2be3c1(0x336)]))],_0x8c1091);class _0x513617 extends _0x88db4d['RxDisposable']{constructor(){const _0x31bac8=_0x2be3c1;super(),_0x31ba17(this,_0x31bac8(0x39f)),this[_0x31bac8(0x39f)]=_0x3b0fae['fromEvent'](window,_0x31bac8(0x436))[_0x31bac8(0x204)](_0x3b0fae['takeUntil'](this[_0x31bac8(0x35b)]),_0x3b0fae[_0x31bac8(0x388)](0x1),_0x3b0fae['mapTo'](void 0x0));}[_0x2be3c1(0x433)](_0x47e78a,_0x3924a7,_0x491b56=!0x1){const _0xe33dab=_0x2be3c1,_0x3b684a=new URL(window['location'][_0xe33dab(0x273)]);_0x3b684a[_0xe33dab(0x326)][_0xe33dab(0x2af)](_0x47e78a,_0x3924a7),_0x491b56?window[_0xe33dab(0x3a8)][_0xe33dab(0x451)]('','',_0x3b684a['toString']()):window[_0xe33dab(0x3a8)][_0xe33dab(0x415)]('','',_0x3b684a[_0xe33dab(0x268)]());}['removeParam'](_0xeb8193,_0x2cb38b=!0x1){const _0x21445f=_0x2be3c1,_0x503384=new URL(window[_0x21445f(0x291)][_0x21445f(0x273)]);_0x503384[_0x21445f(0x326)]['delete'](_0xeb8193),_0x2cb38b?window[_0x21445f(0x3a8)]['replaceState']('','',_0x503384[_0x21445f(0x268)]()):window[_0x21445f(0x3a8)][_0x21445f(0x415)]('','',_0x503384[_0x21445f(0x268)]());}[_0x2be3c1(0x223)](_0x29d4c8){const _0x1d5e8c=_0x2be3c1;var _0x25954a;return(_0x25954a=new URL(window['location']['href'])[_0x1d5e8c(0x326)]['get'](_0x29d4c8))!=null?_0x25954a:void 0x0;}}var _0x3b9316=Object[_0x2be3c1(0x275)],_0x5b650c=Object[_0x2be3c1(0x393)],_0x3d229a=(_0x5d668f,_0x54e88a,_0x1e1609)=>_0x54e88a in _0x5d668f?_0x3b9316(_0x5d668f,_0x54e88a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1609}):_0x5d668f[_0x54e88a]=_0x1e1609,_0x46dcdf=(_0x3b6f03,_0x43bc6f,_0x1eb44c,_0x320520)=>{for(var _0x1a38b2=_0x320520>0x1?void 0x0:_0x320520?_0x5b650c(_0x43bc6f,_0x1eb44c):_0x43bc6f,_0x1bce8e=_0x3b6f03['length']-0x1,_0x7f6a0a;_0x1bce8e>=0x0;_0x1bce8e--)(_0x7f6a0a=_0x3b6f03[_0x1bce8e])&&(_0x1a38b2=_0x7f6a0a(_0x1a38b2)||_0x1a38b2);return _0x1a38b2;},_0xc76b7c=(_0x508e4c,_0x7a1300)=>(_0x99b94d,_0x5c3897)=>_0x7a1300(_0x99b94d,_0x5c3897,_0x508e4c),_0x1b6d10=(_0x1a5afb,_0x370d40,_0x1c3769)=>_0x3d229a(_0x1a5afb,_0x370d40+'',_0x1c3769);const _0x59e002=_0x2be3c1(0x28b);_0x37e3f4[_0x2be3c1(0x1a7)]=class extends _0x88db4d[_0x2be3c1(0x448)]{constructor(_0x37188a=_0x4f9c2d,_0x186cd1,_0xc9c1fe,_0x48970d){const _0x1adbae=_0x2be3c1;super(),this[_0x1adbae(0x357)]=_0x37188a,this[_0x1adbae(0x3b5)]=_0x186cd1,this[_0x1adbae(0x363)]=_0xc9c1fe,this[_0x1adbae(0x213)]=_0x48970d;const {..._0x64aaef}=_0x88db4d[_0x1adbae(0x21c)]({},_0x4f9c2d,this['_config']);this[_0x1adbae(0x213)][_0x1adbae(0x409)](_0x5d13e6,_0x64aaef);}['onStarting'](){const _0x1d3a43=_0x2be3c1;this[_0x1d3a43(0x44e)](),this[_0x1d3a43(0x396)]();}[_0x2be3c1(0x229)](){const _0x5f216f=_0x2be3c1;this[_0x5f216f(0x316)]();}[_0x2be3c1(0x44e)](){const _0x3f9626=_0x2be3c1;var _0x4e795c;const _0x2191ef=[[_0x469c3c],[_0x33f734],[_0x3f33b5],[_0xf4bf8f],[_0xf420a0],[_0x5ae914],[_0x58bcf2,{'useClass':_0x513617}],[_0x37abfe[_0x3f9626(0x30b)],{'useClass':_0x37abfe[_0x3f9626(0x3bb)]}],[_0x4cce40[_0x3f9626(0x286)],{'useClass':_0x8c1091}],[_0x37e3f4['DesktopCollaborationStatusDisplayController']],[_0x1527d5],[_0x489eee],[_0x2e3752],[_0x53cf70],[_0x37e3f4['CollaborationDataLoaderController']]];this['_config']['enableFrontendLog']&&_0x2191ef[_0x3f9626(0x339)]([_0x5ab0af]),_0x88db4d[_0x3f9626(0x2c9)](this[_0x3f9626(0x363)],_0x88db4d[_0x3f9626(0x1ca)](_0x2191ef,(_0x4e795c=this['_config'])==null?void 0x0:_0x4e795c[_0x3f9626(0x283)]));}[_0x2be3c1(0x316)](){const _0x19ec79=_0x2be3c1;this['disposeWithMe'](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)][_0x19ec79(0x44b)],[_0x476e21])),this[_0x19ec79(0x3ee)](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)]['UNIVER_SHEET'],[_0x485669]));}['_initDependencies'](){const _0x135695=_0x2be3c1;_0x88db4d['touchDependencies'](this[_0x135695(0x363)],[[_0x2e3752],[_0x37e3f4[_0x135695(0x46e)]],[_0x1527d5],[_0x489eee],[_0x37e3f4[_0x135695(0x343)]],[_0x33f734]]),this[_0x135695(0x357)][_0x135695(0x240)]&&_0x88db4d[_0x135695(0x40d)](this[_0x135695(0x363)],[[_0x5ab0af]]);}},_0x1b6d10(_0x37e3f4[_0x2be3c1(0x1a7)],_0x2be3c1(0x2fc),_0x59e002),_0x37e3f4[_0x2be3c1(0x1a7)]=_0x46dcdf([_0x88db4d[_0x2be3c1(0x2a4)](_0x4cce40[_0x2be3c1(0x401)]),_0xc76b7c(0x1,_0xe27d05[_0x2be3c1(0x306)]),_0xc76b7c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0xc76b7c(0x3,_0x88db4d[_0x2be3c1(0x24a)])],_0x37e3f4[_0x2be3c1(0x1a7)]);var _0x7d5e97=Object[_0x2be3c1(0x393)],_0x3a5924=(_0xac25d7,_0x557e62,_0x5bbe82,_0x33423e)=>{const _0x553cba=_0x2be3c1;for(var _0x39c452=_0x33423e>0x1?void 0x0:_0x33423e?_0x7d5e97(_0x557e62,_0x5bbe82):_0x557e62,_0x4f3792=_0xac25d7[_0x553cba(0x413)]-0x1,_0x5267ad;_0x4f3792>=0x0;_0x4f3792--)(_0x5267ad=_0xac25d7[_0x4f3792])&&(_0x39c452=_0x5267ad(_0x39c452)||_0x39c452);return _0x39c452;},_0x475aeb=(_0x367833,_0x5d72f6)=>(_0x87da93,_0x43b697)=>_0x5d72f6(_0x87da93,_0x43b697,_0x367833);_0x37e3f4[_0x2be3c1(0x28a)]=class extends _0x4cce40[_0x2be3c1(0x24b)]{constructor(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c){super(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c);}async[_0x2be3c1(0x308)](_0x221810){const _0x6501f7=_0x2be3c1,_0x3a21f3=await this['_getSessionTicket'](),_0x260fba=this[_0x6501f7(0x344)](_0x221810,_0x3a21f3);return this[_0x6501f7(0x18b)](_0x260fba);}[_0x2be3c1(0x344)](_0x1fc8ad,_0x2cb51a){const _0x413ed9=_0x2be3c1,_0x3a1298=typeof window>'u'?new URL(_0x1fc8ad):new URL(_0x1fc8ad,window[_0x413ed9(0x291)][_0x413ed9(0x253)]);_0x3a1298['searchParams'][_0x413ed9(0x2af)]('sessionTicket',_0x2cb51a);const _0x4f3c7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x413ed9(0x291)][_0x413ed9(0x1af)]);return _0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))&&_0x3a1298[_0x413ed9(0x326)][_0x413ed9(0x2af)](_0x413ed9(0x1d0),_0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))),_0x3a1298[_0x413ed9(0x268)]();}async[_0x2be3c1(0x338)](){const _0x2d51ff=_0x2be3c1;var _0x3645a7,_0x5d0452,_0x3d06ad;const _0x1e6866=this[_0x2d51ff(0x213)][_0x2d51ff(0x1ec)](_0x4cce40[_0x2d51ff(0x1a8)]),_0x3a58ad=(_0x3645a7=_0x1e6866==null?void 0x0:_0x1e6866[_0x2d51ff(0x3e9)])!=null?_0x3645a7:_0x4cce40[_0x2d51ff(0x35f)];return(_0x3d06ad=(_0x5d0452=(await this[_0x2d51ff(0x1cd)][_0x2d51ff(0x489)](_0x3a58ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5d0452[_0x2d51ff(0x47b)])!=null?_0x3d06ad:'';}},_0x37e3f4[_0x2be3c1(0x28a)]=_0x3a5924([_0x475aeb(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x475aeb(0x1,_0x88db4d['Inject'](_0x37abfe[_0x2be3c1(0x21b)])),_0x475aeb(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x475aeb(0x3,_0x88db4d[_0x2be3c1(0x193)]),_0x475aeb(0x4,_0x28fbb0[_0x2be3c1(0x271)])],_0x37e3f4[_0x2be3c1(0x28a)]);var _0xce0fd5=Object[_0x2be3c1(0x393)],_0x6aa6d0=(_0x2f1b26,_0x10796a,_0x2907de,_0xd7d8d8)=>{const _0x2919c4=_0x2be3c1;for(var _0x5c6a67=_0xd7d8d8>0x1?void 0x0:_0xd7d8d8?_0xce0fd5(_0x10796a,_0x2907de):_0x10796a,_0x4b4a72=_0x2f1b26[_0x2919c4(0x413)]-0x1,_0x5322ac;_0x4b4a72>=0x0;_0x4b4a72--)(_0x5322ac=_0x2f1b26[_0x4b4a72])&&(_0x5c6a67=_0x5322ac(_0x5c6a67)||_0x5c6a67);return _0x5c6a67;},_0x4dd39d=(_0x435e3a,_0x16575e)=>(_0x48eb37,_0x3e3e19)=>_0x16575e(_0x48eb37,_0x3e3e19,_0x435e3a);_0x37e3f4[_0x2be3c1(0x3ab)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x4fb336,_0x37591f,_0x3c268d){const _0x2f755b=_0x2be3c1;super(),this['_instanceService']=_0x4fb336,this['_httpService']=_0x37591f,this[_0x2f755b(0x213)]=_0x3c268d;}async[_0x2be3c1(0x372)](_0x113a43,_0x5b4250,_0x10451d,..._0x18c6a5){const _0x421b48=_0x2be3c1;var _0x22ad06,_0x19216e,_0x3f51b5,_0x5cfb55;const _0x30ef10=this['_instanceService'][_0x421b48(0x3c1)]();if(!_0x30ef10)throw new Error(_0x421b48(0x20e));const _0xe4ca1d=((_0x22ad06=this[_0x421b48(0x213)][_0x421b48(0x1ec)](_0x4cce40[_0x421b48(0x3c9)]))!=null?_0x22ad06:_0x4cce40[_0x421b48(0x407)])+'/'+_0x113a43+'/run/'+_0x5b4250,_0x45e2a4=new URL(window[_0x421b48(0x291)][_0x421b48(0x273)]),_0x35b31e={'scriptId':_0x113a43,'runId':(_0x19216e=_0x45e2a4[_0x421b48(0x326)][_0x421b48(0x489)](_0x421b48(0x1d0)))!=null?_0x19216e:'','function':_0x5b4250,'unitId':_0x30ef10['getUnitId'](),'argsOfFunction':JSON[_0x421b48(0x231)](_0x18c6a5),'invokeId':(_0x3f51b5=_0x10451d['invokeId'])!=null?_0x3f51b5:'','executionId':(_0x5cfb55=_0x10451d[_0x421b48(0x47d)])!=null?_0x5cfb55:''};try{const _0x560a3d=await this[_0x421b48(0x1cd)][_0x421b48(0x28c)](_0xe4ca1d,{'body':_0x35b31e});return _0x560a3d['body']['error']&&_0x560a3d[_0x421b48(0x35c)]['error'][_0x421b48(0x2c0)]!==_0x518652['OK']?_0x421b48(0x3fd):_0x560a3d['body']['result'];}catch{return _0x421b48(0x3fd);}}},_0x37e3f4[_0x2be3c1(0x3ab)]=_0x6aa6d0([_0x4dd39d(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x4dd39d(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe['HTTPService'])),_0x4dd39d(0x2,_0x88db4d['IConfigService'])],_0x37e3f4[_0x2be3c1(0x3ab)]);const _0x52b9f6=0x7530,_0xfa5471=_0x2be3c1(0x3e2);class _0x2fbd7b extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x3221e6=_0x2be3c1;super(),_0x31ba17(this,_0x3221e6(0x3a7),_0x88db4d[_0x3221e6(0x335)]()),_0x31ba17(this,_0x3221e6(0x320),new Set()),_0x31ba17(this,_0x3221e6(0x2b4),new Map()),_0x31ba17(this,'_heartbeatTimer',null),_0x31ba17(this,_0x3221e6(0x44a),new Map()),_0x31ba17(this,_0x3221e6(0x349),new Map()),this[_0x3221e6(0x43c)]();}[_0x2be3c1(0x1a4)](){const _0x10a09e=_0x2be3c1;super[_0x10a09e(0x1a4)](),this[_0x10a09e(0x44a)][_0x10a09e(0x2cd)]((_0x56470f,_0x330cd)=>this[_0x10a09e(0x421)](_0x330cd)),this[_0x10a09e(0x468)]&&window[_0x10a09e(0x1b0)](this[_0x10a09e(0x468)]);}[_0x2be3c1(0x20f)](_0x5f2134){const _0x5987c2=_0x2be3c1;return this['_ensureSubject'](_0x5f2134)[_0x5987c2(0x204)](_0x3b0fae[_0x5987c2(0x2d6)]());}['editingUnit'](_0xe6c715){const _0xeb5add=_0x2be3c1;this[_0xeb5add(0x320)][_0xeb5add(0x426)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xeb5add(0x262)](_0xe6c715),this[_0xeb5add(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xe6c715],'isForwarded':!0x1});}['disposeUnit'](_0x5a34c5){const _0x2664da=_0x2be3c1;this[_0x2664da(0x320)][_0x2664da(0x3e0)](_0x5a34c5),this[_0x2664da(0x320)]['size']===0x0&&this[_0x2664da(0x468)]&&window[_0x2664da(0x1b0)](this[_0x2664da(0x468)]);}[_0x2be3c1(0x43c)](){const _0x2aa1ca=_0x2be3c1;this[_0x2aa1ca(0x3ee)](_0x88db4d['toDisposable'](_0x3b0fae[_0x2aa1ca(0x2e1)](window,_0x2aa1ca(0x3df))[_0x2aa1ca(0x1f2)](_0xa1fec4=>{const _0x1b59c3=_0x2aa1ca;if(_0xa1fec4['key']!==_0xfa5471||!_0xa1fec4[_0x1b59c3(0x2b5)])return;const _0x462bea=JSON[_0x1b59c3(0x2e4)](_0xa1fec4[_0x1b59c3(0x2b5)]);this[_0x1b59c3(0x1d7)](_0x462bea);}))),window[_0x2aa1ca(0x3d0)](_0x2aa1ca(0x23b),()=>this[_0x2aa1ca(0x21a)]({'type':0x1,'memberID':this[_0x2aa1ca(0x3a7)],'unitIDs':Array[_0x2aa1ca(0x391)](this[_0x2aa1ca(0x320)])}));}[_0x2be3c1(0x1d7)](_0x4d9631){const _0x270ce3=_0x2be3c1;switch(_0x4d9631[_0x270ce3(0x3bd)]){case 0x0:this[_0x270ce3(0x348)](_0x4d9631);break;case 0x1:this[_0x270ce3(0x449)](_0x4d9631);break;case 0x2:this[_0x270ce3(0x2de)](_0x4d9631);break;}}[_0x2be3c1(0x348)](_0x415fb1){const _0x3e0675=_0x2be3c1,{unitIDs:_0x2e2e3b,memberID:_0x2f4c30,isForwarded:_0x54d11b}=_0x415fb1;_0x2e2e3b[_0x3e0675(0x2cd)](_0x1f205a=>{const _0x702e7e=_0x3e0675;if(!_0x54d11b&&this['_unitOnClients'][_0x702e7e(0x235)](_0x1f205a)&&this[_0x702e7e(0x3a1)](_0x1f205a)['next'](_0x4cce40[_0x702e7e(0x23d)][_0x702e7e(0x215)]),!this[_0x702e7e(0x2b4)]['has'](_0x1f205a)||!this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)[_0x702e7e(0x235)](_0x2f4c30)){const _0x146bee=this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)||new Set();_0x146bee['add'](_0x2f4c30),this[_0x702e7e(0x2b4)][_0x702e7e(0x2af)](_0x1f205a,_0x146bee),this[_0x702e7e(0x2fa)](_0x2f4c30);}}),_0x54d11b||this[_0x3e0675(0x21a)]({'type':0x0,'memberID':this[_0x3e0675(0x3a7)],'unitIDs':[...this[_0x3e0675(0x320)]],'isForwarded':!0x0});}[_0x2be3c1(0x2fa)](_0x106dfa){const _0x387fae=_0x2be3c1;this[_0x387fae(0x421)](_0x106dfa);const _0xf10d82=window[_0x387fae(0x44c)](()=>{const _0x57abb3=_0x387fae;this[_0x57abb3(0x2b4)][_0x57abb3(0x2cd)](_0x5313b1=>{const _0x49985d=_0x57abb3;_0x5313b1[_0x49985d(0x3e0)](_0x106dfa);});},_0x52b9f6*0x2);this[_0x387fae(0x44a)][_0x387fae(0x2af)](_0x106dfa,_0xf10d82);}[_0x2be3c1(0x421)](_0x43bb5d){const _0x298530=_0x2be3c1;if(this[_0x298530(0x44a)]['has'](_0x43bb5d)){const _0xec0479=this[_0x298530(0x44a)][_0x298530(0x489)](_0x43bb5d);_0xec0479&&window[_0x298530(0x2ad)](_0xec0479),this[_0x298530(0x44a)][_0x298530(0x2af)](_0x43bb5d,null);}}[_0x2be3c1(0x449)](_0x570f5e){const _0x137db3=_0x2be3c1,{memberID:_0x14f013,unitIDs:_0x3e41b6}=_0x570f5e;_0x3e41b6[_0x137db3(0x2cd)](_0x36650b=>{const _0x182553=_0x137db3;var _0x598539;const _0x1767eb=this['_unitOnClients']['get'](_0x36650b);_0x1767eb&&(_0x1767eb[_0x182553(0x3e0)](_0x14f013),(_0x598539=this['_ensureSubject'](_0x36650b))==null||_0x598539['next'](_0x1767eb[_0x182553(0x426)]===0x0?_0x4cce40[_0x182553(0x23d)][_0x182553(0x256)]:_0x4cce40[_0x182553(0x23d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x14f013);}[_0x2be3c1(0x2de)](_0x25c7eb){const _0x2a9f22=_0x2be3c1;this[_0x2a9f22(0x2fa)](_0x25c7eb[_0x2a9f22(0x442)]);}[_0x2be3c1(0x21a)](_0x5e837c){const _0x409ff2=_0x2be3c1;localStorage[_0x409ff2(0x2bb)](_0xfa5471,JSON['stringify'](_0x5e837c));}['_scheduleHeartbeat'](){const _0x272c95=_0x2be3c1;this[_0x272c95(0x468)]=window['setInterval'](()=>{const _0xca249c=_0x272c95;this[_0xca249c(0x21a)]({'type':0x2,'memberID':this[_0xca249c(0x3a7)]});},_0x52b9f6);}[_0x2be3c1(0x3a1)](_0x4d3ea7){const _0x2ea8fc=_0x2be3c1;return this[_0x2ea8fc(0x349)][_0x2ea8fc(0x235)](_0x4d3ea7)||this[_0x2ea8fc(0x349)][_0x2ea8fc(0x2af)](_0x4d3ea7,new _0x3b0fae[(_0x2ea8fc(0x3b8))](_0x4cce40[_0x2ea8fc(0x23d)][_0x2ea8fc(0x256)])),this[_0x2ea8fc(0x349)]['get'](_0x4d3ea7);}}_0x37e3f4[_0x2be3c1(0x3c6)]=_0x58bcf2,_0x37e3f4[_0x2be3c1(0x331)]=_0x327c29,_0x37e3f4['WebBrowserSingleActiveUnitService']=_0x2fbd7b,_0x37e3f4[_0x2be3c1(0x2f6)]=_0x513617,Object[_0x2be3c1(0x275)](_0x37e3f4,Symbol[_0x2be3c1(0x432)],{'value':_0x2be3c1(0x2e0)});}));
|