@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251204-1549a8e → 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/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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x924f(){const _0x4d50f5=['_unitStatus','isTransformMutationFailure','collaboration.closeRoom','_init','_releaseCalculationLimit','LOGIN_FAILED','RevisionService','getActiveRange','blue.400','removeEventListener','getSheetId','debug','round','_initUserListener','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getScale','UNRECOGNIZED','_collaborationController','INotificationService','INVITE_CODE_REQUIRED','jsx','closePath','_drawAnchor','_cursors','status$','fillText','getColor','ENSURE_SNAPSHOT_EXECUTION','arc','unitId','_initUnhandledRejectionListener','IMessageService','post','_online','lineno','CONNECTOR_DATA_TOO_LARGE','getCollabEntity$','then','docStateChange$','max','NodePositionConvertToCursor','setStateCache','subscribeEvent','YUUMI_ASYNCIO_CANCELLED','createSocket','off-line-icon_clip0_910_343','mapTo','transformRemoteChangeset','ENTITLE_COUPON_USED_UP','colorChannel1','getConfig','_createSocketURL','forwardRef','@univerjs/core','type','_send','CollaborationDataLoaderController','129vgXrZw','getValue','measureText','add','_initStatusListener','collabStatus.fetchMiss','serializeRangeWithSheet','_applyCommand','ONLINE','PERMISSION_DENIED','UniverIcon','_refreshCollabCursors','registerBeforeClose','DocStateChangeManagerService','30199428HxTmAW','SetFormulaCalculationNotificationMutation','RegularPolygon','UniverCore','idSuffix','LICENSE_IMPORT_SIZE_EXCEEDED','handleIRemoveRow','addHandlerCallback','[Window\x20Error]:\x20','CollaborationUIEventId','pluginName','_handleLeaveEvent','AWAITING','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','split','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transform','_initStatusComponent','syncEditingCollabCursor','onPointerMove$','MemberService','_updateSubUnitFromURLParams','disableLocalCache','M0\x200H16V16H0z','flatMap','_id','shift','getformulaLimitStatusUrl','xlink:href','toStringTag','IUIPartsService','DocIMEInputManagerService','onTransformChange$','_getFormulaLimitStatus','saveTaskMap','HEADER_MENU','LOCAL_CACHE_INTERVAL','getOwnPropertyDescriptor','OffLineIcon','INVALID_INVITE_CODE','_pollingInterval','exhaustSavingTask','bottom','setActiveRange','ICommandService','IUniverInstanceService','REDEMPTION_CODE_FULLY_REDEEMED','COMPLETION_FINISHED','font','assign','UniverProCollaborationClientUi','ENTITLE_COUPON_EXPIRED','[LogService\x20Error]:\x20','_initEntityListener','BuiltInUIPart','/universer-api/license/formula/limit/status','_updateCollabCursors','11WZxmVu','switchMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','4348ptDqJE','maxFormulaLimit','_document','debounceTime','_getSaveTimeout','row','5834240algsBI','getCurrentUnitForType','React','registerComponent','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEvent','UniverInstanceType','moveTo','_registerRenderDependencies','UNIVER_DOC','APPLY_DUPLICATED','drawWith','getCollabCursors$','_hasFormulaInDirtyRanges','ILogService','SYNCED','_disabled','column','endRow','sessionStatus$','session.will-retry','registerDependencies','_refRangeService','...','permission.content','RECT','getFocusedUnit','_taskIds','cursorInfo','textRanges','UPDATE_CURSOR','BehaviorSubject','ILocalStorageService','transformByState','Rect','registerRefRange','ERROR_AGAIN','none','useCallback','_saveTaskMap','requireSession','LocaleService','CollaborationEvent','_shapes','endColumn','unitID','_getAnchorBounding','getColorFromTheme','_name','INVITE_CODE_HAS_BEEN_UES','clipPath','with','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_currentUsage','operators','replaceState','eventID','_render','cursorInfo$','clearTimeout','_docTransformSelectionsService','_removeClearOtherTimer','href','INTERNAL_ERROR','_logService','UNDEFINED','runOnServer','toString','shareReplay','rgba(255,\x20255,\x20255,\x200.01)','RxDisposable','enableLocalCache','@univerjs/design','name','Injector','storage','_config','DesktopCollaborationStatusDisplayController','fill','m1Prime','getUniverSheetInstance','currentSkeleton$','INVALID_ARGUMENT','_scheduleHeartbeat','1232930OMBBRa','init','SetSelectionsOperation','selection','onPointerLeave$','debounce','Shape','getCellMatrix','@univerjs/drawing','yellow.400','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_localCacheService','AUTHORIZE_CODE_ILLEGAL','code','@univerjs/engine-formula','http://www.w3.org/2000/svg','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','executeCommand','getOffsetConfig','get','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','@univerjs/rpc','onCommandExecuted','1em','getUnitId','UNIVER_SHEET','CollaborationController','createInstance','entries','TEXT','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','beginPath','HTTPService','rxjs','_drawTextRange','MessageType','IImageIoService','reason','FETCH_MISS','key','_collabSessionService','APPLY_NON_SEQUENTIAL_REVISION','_onRefRangeChange','_onCursorUpdate','_maxFormulaLimit','push','AWAITING_WITH_PENDING','isFormulaId','SheetsSelectionsService','_getMergeRange','CollaborationUIEventService','url(#off-line-icon_clip0_910_343)','CollaborationSocketService','APPLY_REVISION_CONFILICT','_colorIndex','_startCalculationLimit','parse','getRangePointData','includes','InsertRangeMoveRightCommandId','getMergeData','collabStatus.offline','substring','_handleJoinEvent','transformMutation','transformMutationsWithChangeset','onLocalMutation','YUUMI_AI_RUN_FAILED','SheetSkeletonManagerService','subunit','_initCommandExecutedListener','stack','80VTdUON','setShapeProps','/run/','SetTextSelectionsOperation','onMouseMove','path','_textBubble','whenReady','@univerjs/sheets-ui','DataLoaderService','tag','handleMoveRange','UniverProCollaboration','subUnitId','event$','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','_beforeCloseService','DOC_RANGE_TYPE','on-line-icon_clip0_910_349','startFormulaLimitUrl','isTransformMutationsWithChangesetSuccess','_commandService','saveOfflineData','_themeService','transformStateCache','startRow','_toggleOffline','object','size','show','on-line-icon','SUBMIT_CHANGESET_TIMEOUT','ticket','translate(.97)','currentUsage','/universer-api/license/formula/limit/start','SNAPSHOT_HAS_BEEN_REMOVED','labelPosition','jiqing.500','setParam','_scheduleClearOtherTimer','CURRENT_STATUS_CANNOT_OPERATE','merge','collabCursorState$','stringify','40FjYJNQ','Loading','contains','takeUntil','_unitOnClients','ALREADY_EXISTS','_memberID','_color','fillRule','_injector','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startColumn','[CollaborationDataLoaderController]','Vector2','getCurrent','_startSheetCollabCursor','_toggleOnline','white','_collabCursorController','getMemberID','pipe','application/json','string','releaseFormulaLimitUrl','collab-text-range-','toDisposable','totalFormulasToCalculate','_hover','onRendered','setAlpha','1eABxUj','CONFLICT','searchParams','/universer-api/frontend/logs','START_CALCULATION','WebURLService','8334081sijDxB','TEXT_RANGE_LAYER_INDEX','setUndoRedoMutationParamsCache','RefRangeService','delete','YUUMI_UNABLE_LOAD_URL','_uploadLog','rxjs/operators','USERS_LEAVE','activeSheet$','dispose$','@univerjs/docs','values','SessionStatus','unhandledrejection','_syncEditingCollabCursorService','_revisionService','find','enableFrontendLog','formula.calculation.unable','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_USER_NOT_ELIGIBLE','BrowserCollaborationSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','message','setItem','_status$','getCurrentSelections','getUndoRedoMutationParamsCache','_assignedColors','set','REDEMPTION_CODE_NOT_STARTED','APPLY_PERMISSION_DENIED','_docSkeleton','_imageIoService','LICENSE_DISTRO_REJECTED','\x20at\x20','clearInterval','height','removeParam','deepClone','ENTITLE_INVALID_COUPON_CODE','transformSelections','fromEventSubject','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_handleHover','red.300','@univerjs-pro/collaboration','_renderManagerService','CLOSE_ROOM','length','REDEMPTION_CODE_INACTIVE','_httpService','ITransformService','OTHER_CLIENTS_EDITING','restore','min','UniverCollaborationClientUIPlugin','onStarting','registerRenderModule','_setupBeforeClosingHandler','_cursorInfo$','UNAUTHENTICATED','undoState','_docClipboardService','addClipboardHook','Inject','YUUMI_ALL_TABLES_IS_INVALID','_saveCache','UniverDesign','forEach','UnitStatus','Disposable','CommandType','addObject','Module','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','_uiPartsService','_drawRectRange','toRgbString','_notificationService','transformIMECache','DocSelectionManagerService','IConfigService','stage','replaceDocRanges','source','location','amd','_docSkeletonManagerService','_docTransformStateCacheService','uni.network.url-service','DocSkeletonManagerService','_configService','_getSessionTicket','UniverRpc','jsxs','origin','Unknown\x20user','exports','dispose','_collaborationSessionService','_initCommandInterceptor','map','_lastPointer','getUnhiddenWorksheets','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','formula.calculation.started','_setFormulaLimitStatus','startsWith','urlChange$','top','assignAColorForMemberID','ENTITLE_DUP_SUBSCRIPTION','runId','getRenderById','throttleTime','collabStatus.syncing','UniverSheets','createElement','isFormulaString','disposeWithMe','color','collab-text-anchor-','defIds','random','unit','REDEMPTION_INVALID_CODE','_registerDependencies','RemoteUniscriptService','_docSyncEditingCollabCursorService','_transformService','@univerjs/engine-render','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','defineProperty','_localeService','text','save','m2Prime','YUUMI_URL_COL_OUT_OF_RANGE','InsertColCommandId','currentColor','InsertRangeMoveDownCommandId','getItem','range','_docStateChangeManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','memberID','from','_monkeyPatchLogService','url(#$1','getAncestorScale','OnLineIcon','SetDocZoomRatioOperation','error','Error','addObjects','_heartbeatTimer','ThemeService','collabStatus.notCollab','formula.calculation.waiting','NOT_COLLAB','evenodd','CollaborationStatus','getSheetBySheetId','DEFAULT_WS_SESSION_TICKET_URL','_hideTimer','now','@univerjs/network','_getSheetObject','_cursorShapes','@univerjs/sheets','EffectRefRangId','MOBILE_HAS_BEEN_BOUND','TOO_MANY_REQUESTS','_initWindowErrorListener','_transformHistoryAndStateStack','mergeOverrideWithDependencies','_initDependencies','getLocalCacheKey','SOCKET_FAILED','roomMembers$','Subject','triggerDblclick','_backgroundColor','executionId','MUTATION','_eventUnsubscribe','_collabCursorState$','ILocalCacheService','DATA_SOURCE_TOO_LARGE','_memberService','updateOfflineData','complete','FromArray','skeleton','asObservable','socket$','search','mutations','imageSourceType','getDocRanges','WebSocketService','doc.mutation.rich-text-editing','ranges','session.collaboration-timeout','symbol','handleInsertRangeMoveRight','Failed','newValue','next','_anchor','sessionTicket','beforeCommandExecuted','Tooltip','_initResize','UniverEngineRender','_roomMembers$','reconnect','UniverEngineFormula','MOBILE_VERIFY_CODE_MISMATCH','ISnapshotServerService','params','parseInt','NOT_FOUND','_updateURLWithCurrentState','UniverSheetsUi','defs','handleIRemoveCol','lineTo','catch','filter','WECHAT_HAS_BEEN_BOUND','IRenderManagerService','_lastResponseTimestamp','touchDependencies','focused$','1628487jZPgkd','_ensureSubject','subscribe','_showGuardMessage','LICENSE_EXPORT_SIZE_EXCEEDED','functionsExecutedState','stageInfo','fillStyle','[Unhandled\x20Rejection]:\x20','SOCKET_FAILED_RETRY','generateRandomId','mask','PY_RUNTIME_SCRIPT_ERROR','0\x200\x2017\x2016','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleInsertCol','saveImage','IDocClipboardService','_handleHeartbeatEvent','getParam','getMember','_clearPolling','SUCCESS','Plugin','setInterval','hide','_transformPreviousActiveRange','makeDirty','Warning','useDependency','setTimeout','ColorKit','_handleEvent','COLORS','children','_localStorageService','SHEET_VIEWPORT_KEY','function','div','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','_labelPosition','_selfUnitIDs','editingUnit','addEventListener','0\x200\x2016\x2016','APPLY_REJECT','width','UniverNetwork','loadOfflineData','TRANSFORM_CHANGE_OBSERVABLE_TYPE','colno','CollaborationSessionService','_checkCalculationAvailable','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','redoState','_doCreateSocket','USER_NOT_FOUND','body','LOGIN_TOKEN_PROCESSING_FAILED','getSkeleton','_colorAssignService','black','_removeCollabCursors','roomMembers','isActive','InsertRowCommandId','_docTransformIMECacheService','@univerjs/docs-ui','_setupSubUnitSync','sheetID','USER_IS_ANONYMOUS','collab-rect-range-','loadUnit','_dataLoaderService','_scheduleSaving','#FFF','popstate','UniverDrawing','onPointerEnter$','RemoveColCommandId','limitInfo','isArray','_draw','collaboration.single-unit.warning','invokeId','data','JOIN_ROOM_FAILED','findNodePositionByCharIndex','unload','_collaborationUIEventService','getUnit','distinctUntilChanged','history','join','_entities','UniverDocs','_checkAndWaitForCalculationPermission','758436cpVwuL','SetWorksheetActivateCommand','_updateLocalCursor','_session','_messageService','_univerInstanceService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PENDING','currentTheme$','purple.300','attrs','_cachedData','_entityInit$','DeleteRangeMoveUpCommandId','bind','_scene','pushState','LICENSE_MAX_UNITS_EXCEEDED','handleInsertRow','Rectangle','isEditing','_onCursorDelete','ENTITLE_INSUFFICIENT_QUOTA','VIEW_MAIN','_range','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','EMAIL_VERIFY_CODE_MISMATCH','CHANGESET_REVISION_CONFILICT','displayName','_hovered','getStateCache','has','useObservable','NO_OTHER_CLIENTS_EDITING','Tools','ENTITLE_CHAT_LIMIT_EXCEED','RichTextEditingMutation','svg','setConfig','_context','CanceledError','filename','_urlService','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','_anchorDot','react/jsx-runtime'];_0x924f=function(){return _0x4d50f5;};return _0x924f();}function _0x1a49(_0x5ef47e,_0x1c8943){_0x5ef47e=_0x5ef47e-0x17e;const _0x924f52=_0x924f();let _0x1a49a7=_0x924f52[_0x5ef47e];return _0x1a49a7;}(function(_0x4e0d80,_0x2a8569){const _0x3543d2=_0x1a49,_0x1082a4=_0x4e0d80();while(!![]){try{const _0x31e328=parseInt(_0x3543d2(0x246))/0x1*(parseInt(_0x3543d2(0x1b1))/0x2)+parseInt(_0x3543d2(0x409))/0x3*(-parseInt(_0x3543d2(0x454))/0x4)+-parseInt(_0x3543d2(0x228))/0x5*(-parseInt(_0x3543d2(0x39f))/0x6)+parseInt(_0x3543d2(0x24c))/0x7+-parseInt(_0x3543d2(0x45a))/0x8+-parseInt(_0x3543d2(0x33b))/0x9*(-parseInt(_0x3543d2(0x1fa))/0xa)+parseInt(_0x3543d2(0x451))/0xb*(-parseInt(_0x3543d2(0x417))/0xc);if(_0x31e328===_0x2a8569)break;else _0x1082a4['push'](_0x1082a4['shift']());}catch(_0x3ee09c){_0x1082a4['push'](_0x1082a4['shift']());}}}(_0x924f,0xed990),function(_0x8c33d0,_0x1770b8){const _0x428bbe=_0x1a49;typeof exports==_0x428bbe(0x216)&&typeof module<'u'?_0x1770b8(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x428bbe(0x361)&&define[_0x428bbe(0x2a5)]?define([_0x428bbe(0x2b0),_0x428bbe(0x3cf),'@univerjs-pro/collaboration-client',_0x428bbe(0x405),'@univerjs/ui',_0x428bbe(0x1d3),_0x428bbe(0x1a5),'react',_0x428bbe(0x1c7),_0x428bbe(0x2f9),_0x428bbe(0x2d1),_0x428bbe(0x2f6),_0x428bbe(0x381),_0x428bbe(0x1b9),_0x428bbe(0x27b),_0x428bbe(0x257),_0x428bbe(0x1bf),_0x428bbe(0x253),_0x428bbe(0x202)],_0x1770b8):(_0x8c33d0=typeof globalThis<'u'?globalThis:_0x8c33d0||self,_0x1770b8(_0x8c33d0[_0x428bbe(0x44a)]={},_0x8c33d0[_0x428bbe(0x45c)],_0x8c33d0['UniverProCollaborationClient'],_0x8c33d0[_0x428bbe(0x41a)],_0x8c33d0['UniverUi'],_0x8c33d0[_0x428bbe(0x1d3)],_0x8c33d0[_0x428bbe(0x291)],_0x8c33d0['React'],_0x8c33d0[_0x428bbe(0x2ac)],_0x8c33d0[_0x428bbe(0x2c3)],_0x8c33d0[_0x428bbe(0x326)],_0x8c33d0[_0x428bbe(0x36c)],_0x8c33d0['UniverDocsUi'],_0x8c33d0[_0x428bbe(0x38b)],_0x8c33d0[_0x428bbe(0x206)],_0x8c33d0[_0x428bbe(0x39d)],_0x8c33d0[_0x428bbe(0x329)],_0x8c33d0[_0x428bbe(0x1d3)][_0x428bbe(0x193)],_0x8c33d0[_0x428bbe(0x330)]));}(this,function(_0x1c2aca,_0xfab7b1,_0x1b7c3e,_0x513c5a,_0x2b894c,_0x44d779,_0x3fc2d4,_0x172118,_0x5c0f05,_0x314f03,_0x4672ea,_0x2e9ff2,_0x216a55,_0x3e7cd7,_0x191313,_0x702727,_0x5f233a,_0x523890,_0x33b767){'use strict';const _0x4c5fe4=_0x1a49;var _0x30c9ca=Object[_0x4c5fe4(0x2d4)],_0x5b36fd=(_0x11d93e,_0x115b45,_0x845149)=>_0x115b45 in _0x11d93e?_0x30c9ca(_0x11d93e,_0x115b45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x845149}):_0x11d93e[_0x115b45]=_0x845149,_0x49e871=(_0x23ad48,_0x3735ca,_0x32b3a2)=>_0x5b36fd(_0x23ad48,typeof _0x3735ca!=_0x4c5fe4(0x31c)?_0x3735ca+'':_0x3735ca,_0x32b3a2);function _0x5f0c62({ref:_0x2d6f03,..._0x345694}){const _0x14f06c=_0x4c5fe4,{icon:_0x3f704f,id:_0x2acba4,className:_0x57c441,extend:_0x485c50,..._0x2bf4a7}=_0x345694,_0x3a7347=('univerjs-icon\x20univerjs-icon-'+_0x2acba4+'\x20'+(_0x57c441||''))['trim'](),_0x4bae35=_0x172118['useRef']('_'+_0x16d856());return _0x17e624(_0x3f704f,''+_0x2acba4,{'defIds':_0x3f704f[_0x14f06c(0x2c9)],'idSuffix':_0x4bae35['current']},{'ref':_0x2d6f03,'className':_0x3a7347,..._0x2bf4a7},_0x485c50);}function _0x17e624(_0x544f29,_0x5cef84,_0x53cf2f,_0x2bf77a,_0x320202){const _0x10fded=_0x4c5fe4;return _0x172118[_0x10fded(0x2c4)](_0x544f29[_0x10fded(0x204)],{'key':_0x5cef84,..._0x3eab83(_0x544f29,_0x53cf2f,_0x320202),..._0x2bf77a},(_0x16993b(_0x544f29,_0x53cf2f)[_0x10fded(0x35e)]||[])[_0x10fded(0x2b4)]((_0x304af9,_0x1c1c45)=>_0x17e624(_0x304af9,_0x5cef84+'-'+_0x544f29['tag']+'-'+_0x1c1c45,_0x53cf2f,void 0x0,_0x320202)));}function _0x3eab83(_0x285afc,_0x1f185d,_0x2e70a0){const _0x1edc8e=_0x4c5fe4,_0x6991a8={..._0x285afc[_0x1edc8e(0x3a9)]};_0x2e70a0!=null&&_0x2e70a0[_0x1edc8e(0x401)]&&_0x6991a8[_0x1edc8e(0x1ab)]===_0x1edc8e(0x401)&&(_0x6991a8[_0x1edc8e(0x1ab)]=_0x2e70a0[_0x1edc8e(0x401)]),_0x285afc[_0x1edc8e(0x204)]==='mask'&&_0x6991a8['id']&&(_0x6991a8['id']=_0x6991a8['id']+_0x1f185d[_0x1edc8e(0x41b)]),Object[_0x1edc8e(0x1ce)](_0x6991a8)['forEach'](([_0x2435a5,_0x538ac3])=>{const _0x4f0e59=_0x1edc8e;_0x2435a5===_0x4f0e59(0x346)&&typeof _0x538ac3=='string'&&(_0x6991a8[_0x2435a5]=_0x538ac3['replace'](/url\(#(.*)\)/,_0x4f0e59(0x2e4)+_0x1f185d['idSuffix']+')'));});const {defIds:_0x46aebd}=_0x1f185d;return!_0x46aebd||_0x46aebd[_0x1edc8e(0x27e)]===0x0||(_0x285afc[_0x1edc8e(0x204)]==='use'&&_0x6991a8[_0x1edc8e(0x434)]&&(_0x6991a8[_0x1edc8e(0x434)]=_0x6991a8[_0x1edc8e(0x434)]+_0x1f185d[_0x1edc8e(0x41b)]),Object['entries'](_0x6991a8)['forEach'](([_0x2645c0,_0x192fec])=>{const _0x35ff0e=_0x1edc8e;typeof _0x192fec=='string'&&(_0x6991a8[_0x2645c0]=_0x192fec['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1f185d[_0x35ff0e(0x41b)]+')'));})),_0x6991a8;}function _0x16993b(_0x11e648,_0x50c738){const _0x5e2e28=_0x4c5fe4;var _0x33da6a;const {defIds:_0x3d7912}=_0x50c738;return!_0x3d7912||_0x3d7912[_0x5e2e28(0x27e)]===0x0?_0x11e648:_0x11e648['tag']===_0x5e2e28(0x331)&&((_0x33da6a=_0x11e648[_0x5e2e28(0x35e)])!=null&&_0x33da6a[_0x5e2e28(0x27e)])?{..._0x11e648,'children':_0x11e648[_0x5e2e28(0x35e)][_0x5e2e28(0x2b4)](_0xd35a69=>typeof _0xd35a69[_0x5e2e28(0x3a9)]['id']==_0x5e2e28(0x23e)&&_0x3d7912&&_0x3d7912[_0x5e2e28(0x1ec)](_0xd35a69[_0x5e2e28(0x3a9)]['id'])?{..._0xd35a69,'attrs':{..._0xd35a69[_0x5e2e28(0x3a9)],'id':_0xd35a69[_0x5e2e28(0x3a9)]['id']+_0x50c738[_0x5e2e28(0x41b)]}}:_0xd35a69)}:_0x11e648;}function _0x16d856(){const _0x328aa0=_0x4c5fe4;return Math[_0x328aa0(0x2ca)]()[_0x328aa0(0x1a0)](0x24)[_0x328aa0(0x1f0)](0x2,0x8);}_0x5f0c62[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x413);const _0x47b36d={'tag':'svg','attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x369),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x4c5fe4(0x2db),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':_0x4c5fe4(0x331),'attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x3fd)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':_0x4c5fe4(0x239),'d':_0x4c5fe4(0x42f)}}]}]}],'defIds':[_0x4c5fe4(0x3fd)]},_0x270308=_0x172118['forwardRef'](function(_0x55e94d,_0x4f7c19){const _0x461381=_0x4c5fe4;return _0x172118[_0x461381(0x2c4)](_0x5f0c62,Object[_0x461381(0x449)]({},_0x55e94d,{'id':'off-line-icon','ref':_0x4f7c19,'icon':_0x47b36d}));});_0x270308[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x43e);const _0x525d26={'tag':_0x4c5fe4(0x3c6),'attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x348),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x20a)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'stroke':_0x4c5fe4(0x2db),'d':_0x4c5fe4(0x2b7),'strokeLinecap':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x20d)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x4c5fe4(0x21c)}}]}]}],'defIds':[_0x4c5fe4(0x20d)]},_0x34902d=_0x172118[_0x4c5fe4(0x404)](function(_0x3fadbb,_0x1d8c3c){const _0x4f3af8=_0x4c5fe4;return _0x172118[_0x4f3af8(0x2c4)](_0x5f0c62,Object[_0x4f3af8(0x449)]({},_0x3fadbb,{'id':_0x4f3af8(0x219),'ref':_0x1d8c3c,'icon':_0x525d26}));});_0x34902d[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x2e6);function _0x288bca(_0x3923e2){const _0x33e350=_0x4c5fe4;switch(_0x3923e2){case _0x1b7c3e[_0x33e350(0x2f1)]['OFFLINE']:return _0x33e350(0x1ef);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x247)]:return'collabStatus.conflict';case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1d8)]:return _0x33e350(0x40e);case _0x1b7c3e[_0x33e350(0x2f1)]['NOT_COLLAB']:return _0x33e350(0x2ed);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x423)]:case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1e0)]:return _0x33e350(0x2c2);case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x46a)]:case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x3a6)]:return'collabStatus.synced';}}function _0x5b082f(_0x2e6947){const _0x4603e7=_0x4c5fe4,{status$:_0x47320f}=_0x2e6947,_0x52643a=_0x2b894c[_0x4603e7(0x3c1)](_0x47320f,_0x1b7c3e[_0x4603e7(0x2f1)][_0x4603e7(0x2ef)]),_0x57143f=_0x2b894c[_0x4603e7(0x359)](_0x513c5a[_0x4603e7(0x186)]),_0x4a284b=_0x2b894c['useDependency'](_0x1b7c3e['CollaborationSessionService']),_0x129d6c=_0x52643a!==_0x1b7c3e[_0x4603e7(0x2f1)]['OFFLINE'],_0x2c8ba1=_0x57143f['t'](_0x288bca(_0x52643a)),_0x3739c9=_0x129d6c?_0xfab7b1[_0x4603e7(0x3e4)](_0x34902d,{}):_0xfab7b1[_0x4603e7(0x3e4)](_0x270308,{}),_0x1314d1=_0x172118[_0x4603e7(0x183)](()=>{const _0xcccaca=_0x4603e7;_0x129d6c||_0x4a284b[_0xcccaca(0x328)]();},[_0x129d6c,_0x4a284b]);function _0x95621d(){const _0x2a2897=_0x4603e7;return _0xfab7b1[_0x2a2897(0x2ad)](_0x2a2897(0x362),{'className':_0x2a2897(0x3b8),'onClick':_0x1314d1,'children':[_0xfab7b1[_0x2a2897(0x3e4)](_0x2a2897(0x362),{'className':_0x3fc2d4['clsx'](_0x2a2897(0x298),{'univer-text-green-500':_0x129d6c,'univer-text-red-500':!_0x129d6c}),'children':_0x3739c9}),_0xfab7b1['jsx'](_0x2a2897(0x362),{'className':_0x2a2897(0x3a5),'children':_0x2c8ba1})]});}return _0x129d6c?_0x95621d():_0xfab7b1[_0x4603e7(0x3e4)](_0x3fc2d4[_0x4603e7(0x324)],{'title':_0x57143f['t']('collab-client.tooltip.reconnect'),'children':_0x95621d()});}var _0x834bd1=Object[_0x4c5fe4(0x43d)],_0x3f4a2f=(_0x32246b,_0x428f1e,_0x526306,_0x3c3808)=>{for(var _0x578df0=_0x3c3808>0x1?void 0x0:_0x3c3808?_0x834bd1(_0x428f1e,_0x526306):_0x428f1e,_0x3728ee=_0x32246b['length']-0x1,_0x40d562;_0x3728ee>=0x0;_0x3728ee--)(_0x40d562=_0x32246b[_0x3728ee])&&(_0x578df0=_0x40d562(_0x578df0)||_0x578df0);return _0x578df0;},_0x1a19b7=(_0x59c05a,_0x255450)=>(_0x5939cd,_0x57ceb0)=>_0x255450(_0x5939cd,_0x57ceb0,_0x59c05a);_0x1c2aca[_0x4c5fe4(0x1aa)]=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x218d2e,_0x4a20bb,_0x37c623,_0x1c423d){const _0x5d60c7=_0x4c5fe4;super(),_0x49e871(this,_0x5d60c7(0x266),new _0x44d779['BehaviorSubject'](_0x1b7c3e[_0x5d60c7(0x2f1)][_0x5d60c7(0x2ef)])),(this['_univerInstanceService']=_0x218d2e,this[_0x5d60c7(0x231)]=_0x4a20bb,this[_0x5d60c7(0x3e1)]=_0x37c623,this[_0x5d60c7(0x29a)]=_0x1c423d,this[_0x5d60c7(0x429)](),this[_0x5d60c7(0x40d)]());}[_0x4c5fe4(0x40d)](){const _0x47d263=_0x4c5fe4;this[_0x47d263(0x2c6)](this['_univerInstanceService'][_0x47d263(0x33a)]['pipe'](_0x44d779[_0x47d263(0x452)](()=>{const _0x25dbd4=_0x47d263,_0x4699bc=this[_0x25dbd4(0x3a4)]['getFocusedUnit']();return _0x4699bc?this[_0x25dbd4(0x3e1)][_0x25dbd4(0x3f4)](_0x4699bc['getUnitId']()):_0x44d779['of'](null);}),_0x44d779[_0x47d263(0x452)](_0x3923c4=>_0x3923c4?_0x3923c4[_0x47d263(0x3e8)]:_0x44d779['of'](_0x1b7c3e[_0x47d263(0x2f1)][_0x47d263(0x2ef)])))[_0x47d263(0x33d)](_0x377379=>{const _0x3aa801=_0x47d263;this[_0x3aa801(0x266)][_0x3aa801(0x320)](_0x377379);}));}[_0x4c5fe4(0x429)](){const _0x2b590e=_0x4c5fe4;this[_0x2b590e(0x2c6)](this[_0x2b590e(0x29a)][_0x2b590e(0x45d)](_0x2b894c[_0x2b590e(0x44e)][_0x2b590e(0x43b)],()=>_0x2b894c['connectInjector'](_0x1cd15b({'status$':this[_0x2b590e(0x266)][_0x2b590e(0x312)]()}),this['_injector'])));}},_0x1c2aca[_0x4c5fe4(0x1aa)]=_0x3f4a2f([_0x1a19b7(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x1a19b7(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1a19b7(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x1a19b7(0x3,_0x2b894c[_0x4c5fe4(0x436)])],_0x1c2aca[_0x4c5fe4(0x1aa)]);function _0x1cd15b(_0x442a10){const {status$:_0x45e543}=_0x442a10;return function(){return _0xfab7b1['jsx'](_0x5b082f,{'status$':_0x45e543});};}const _0x24977f=_0x513c5a['createIdentifier'](_0x4c5fe4(0x2a8));var _0x1ad996=Object[_0x4c5fe4(0x43d)],_0x209a9d=(_0x177d21,_0x67575e,_0x17dddf,_0x271d80)=>{const _0x13a28b=_0x4c5fe4;for(var _0x3869a6=_0x271d80>0x1?void 0x0:_0x271d80?_0x1ad996(_0x67575e,_0x17dddf):_0x67575e,_0x4bc2e7=_0x177d21[_0x13a28b(0x27e)]-0x1,_0xa012d7;_0x4bc2e7>=0x0;_0x4bc2e7--)(_0xa012d7=_0x177d21[_0x4bc2e7])&&(_0x3869a6=_0xa012d7(_0x3869a6)||_0x3869a6);return _0x3869a6;},_0x57a0ed=(_0x359b9e,_0x94a57c)=>(_0x5045e6,_0x3fa71b)=>_0x94a57c(_0x5045e6,_0x3fa71b,_0x359b9e);_0x1c2aca[_0x4c5fe4(0x408)]=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x147268,_0x5d0b20,_0x20e0fd,_0xde6a59,_0x5479c5){const _0x3d97cd=_0x4c5fe4;super(),this[_0x3d97cd(0x3cb)]=_0x147268,this[_0x3d97cd(0x19d)]=_0x5d0b20,this[_0x3d97cd(0x210)]=_0x20e0fd,this['_dataLoaderService']=_0xde6a59,_0x5479c5?_0x5479c5==null||_0x5479c5[_0x3d97cd(0x201)]()[_0x3d97cd(0x3f5)](()=>this[_0x3d97cd(0x3d3)]()):(this[_0x3d97cd(0x19d)]['debug'](_0x3d97cd(0x234),_0x3d97cd(0x191)),this[_0x3d97cd(0x3d3)]());}async[_0x4c5fe4(0x3d3)](){const _0x53537e=_0x4c5fe4,_0x59c8ec=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x2cb)),_0x161a47=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x406)),_0x2fe919=this['_urlService']['getParam'](_0x53537e(0x1f7));if(!_0x59c8ec||!_0x161a47){this[_0x53537e(0x19d)][_0x53537e(0x3db)](_0x53537e(0x234),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x487a3a=await this[_0x53537e(0x387)][_0x53537e(0x386)](_0x59c8ec,Number(_0x161a47),_0x2fe919);_0x487a3a&&_0x487a3a instanceof _0x513c5a[_0x53537e(0x3cd)]&&this[_0x53537e(0x382)](_0x487a3a);}async[_0x4c5fe4(0x382)](_0x3b6979){const _0x311b9e=_0x4c5fe4;await this[_0x311b9e(0x42d)](_0x3b6979),_0x3b6979[_0x311b9e(0x255)][_0x311b9e(0x23c)](_0x44d779['takeUntil'](this[_0x311b9e(0x256)]))[_0x311b9e(0x33d)](_0x3d9aca=>{const _0x506607=_0x311b9e;_0x3d9aca&&this[_0x506607(0x32f)](_0x3d9aca);}),this[_0x311b9e(0x3cb)]['urlChange$'][_0x311b9e(0x23c)](_0x44d779[_0x311b9e(0x22b)](this['dispose$']))[_0x311b9e(0x33d)](()=>this['_updateSubUnitFromURLParams'](_0x3b6979));}[_0x4c5fe4(0x32f)](_0x33fd05,_0xccdbcc=!0x1){const _0x1fc092=_0x4c5fe4,_0x200920=this[_0x1fc092(0x3cb)][_0x1fc092(0x34f)](_0x1fc092(0x1f7));_0x33fd05[_0x1fc092(0x3da)]()!==_0x200920&&this[_0x1fc092(0x3cb)][_0x1fc092(0x222)]('subunit',_0x33fd05['getSheetId'](),_0xccdbcc);}async[_0x4c5fe4(0x42d)](_0x154e88){const _0x49802d=_0x4c5fe4;var _0x5b2c81;const _0x430131=this['_urlService'][_0x49802d(0x34f)]('subunit');if(!_0x430131||!_0x154e88[_0x49802d(0x2f2)](_0x430131)){const _0x51b667=_0x154e88[_0x49802d(0x2b6)]()[0x0],_0x2ccb6e=_0x154e88[_0x49802d(0x2f2)](_0x51b667);if(!_0x2ccb6e)return;this[_0x49802d(0x32f)](_0x2ccb6e,!0x0),await this[_0x49802d(0x210)][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x51b667});return;}((_0x5b2c81=_0x154e88['getActiveSheet']())==null?void 0x0:_0x5b2c81['getSheetId']())!==_0x430131&&await this['_commandService'][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x430131});}},_0x1c2aca[_0x4c5fe4(0x408)]=_0x209a9d([_0x57a0ed(0x0,_0x24977f),_0x57a0ed(0x1,_0x513c5a[_0x4c5fe4(0x469)]),_0x57a0ed(0x2,_0x513c5a[_0x4c5fe4(0x444)]),_0x57a0ed(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x203)])),_0x57a0ed(0x4,_0x513c5a['Optional'](_0x5c0f05['IRemoteInstanceService']))],_0x1c2aca[_0x4c5fe4(0x408)]);var _0x2b8f02=Object['getOwnPropertyDescriptor'],_0x36e85=(_0x2f4f4c,_0x141d5b,_0x3550d7,_0x441369)=>{const _0x4de1e6=_0x4c5fe4;for(var _0x32f8e9=_0x441369>0x1?void 0x0:_0x441369?_0x2b8f02(_0x141d5b,_0x3550d7):_0x141d5b,_0x56784e=_0x2f4f4c[_0x4de1e6(0x27e)]-0x1,_0x34d2cc;_0x56784e>=0x0;_0x56784e--)(_0x34d2cc=_0x2f4f4c[_0x56784e])&&(_0x32f8e9=_0x34d2cc(_0x32f8e9)||_0x32f8e9);return _0x32f8e9;},_0x56a1bd=(_0x38a7d4,_0x2f7528)=>(_0x31c8b3,_0x3f07e3)=>_0x2f7528(_0x31c8b3,_0x3f07e3,_0x38a7d4);let _0x400d71=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x55931e,_0x25b7d0){const _0x5b8894=_0x4c5fe4;super(),this['_docClipboardService']=_0x55931e,this[_0x5b8894(0x26e)]=_0x25b7d0,this[_0x5b8894(0x3d3)]();}[_0x4c5fe4(0x3d3)](){const _0x1e13d3=_0x4c5fe4,_0x5687a3=this;this[_0x1e13d3(0x2c6)](this[_0x1e13d3(0x28c)][_0x1e13d3(0x28d)]({'onBeforePasteImage':async _0x470171=>{const _0x1ada6b=_0x1e13d3,_0x5bb679=await _0x5687a3[_0x1ada6b(0x26e)][_0x1ada6b(0x34c)](_0x470171);return _0x5bb679?{'source':_0x5bb679[_0x1ada6b(0x2a3)],'imageSourceType':_0x5bb679[_0x1ada6b(0x316)]}:null;}}));}};_0x400d71=_0x36e85([_0x56a1bd(0x0,_0x216a55[_0x4c5fe4(0x34d)]),_0x56a1bd(0x1,_0x3e7cd7[_0x4c5fe4(0x1d6)])],_0x400d71);const _0x579ca5=[_0x4c5fe4(0x3a8),_0x4c5fe4(0x221),'green.600',_0x4c5fe4(0x27a),_0x4c5fe4(0x3d8),_0x4c5fe4(0x1ba)];class _0x14caec extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x57969e=_0x4c5fe4;super(...arguments),_0x49e871(this,'_assignedColors',new Map()),_0x49e871(this,_0x57969e(0x1e8),0x0);}[_0x4c5fe4(0x2bd)](_0x9affe0){const _0x39e1dd=_0x4c5fe4;if(this['_assignedColors'][_0x39e1dd(0x3c0)](_0x9affe0))return this[_0x39e1dd(0x269)][_0x39e1dd(0x1c5)](_0x9affe0);const _0x2a93e2=_0x579ca5[this[_0x39e1dd(0x1e8)]];return this[_0x39e1dd(0x1e8)]=(this[_0x39e1dd(0x1e8)]+0x1)%_0x579ca5[_0x39e1dd(0x27e)],this[_0x39e1dd(0x269)][_0x39e1dd(0x26a)](_0x9affe0,_0x2a93e2),_0x2a93e2;}}function _0x54de33(_0xbe5fa6){const _0x29dec8=_0x4c5fe4;let _0x5751e9='';for(const _0x1ecbc0 of _0xbe5fa6){const {startOffset:_0x10683e,endOffset:_0x1b56f6,isActive:_0x2731fe,rangeType:_0x23cf5f,segmentId:_0x3835fe,segmentPage:_0x43c4cf}=_0x1ecbc0;_0x5751e9[_0x29dec8(0x27e)]&&(_0x5751e9+=','),_0x5751e9+=_0x10683e+':'+_0x1b56f6+':'+(_0x2731fe?'1':'0')+':'+_0x23cf5f+':'+_0x3835fe+':'+_0x43c4cf;}return _0x5751e9;}function _0x4ba325(_0x472f40){const _0x23de67=_0x4c5fe4,_0x2dc346=_0x472f40['split'](','),_0x4c9c2d=[];for(const _0x3948e4 of _0x2dc346){const [_0xba5a10,_0x5d5e05,_0x3b30c4,_0xb1df9b,_0x29bc95,_0x2a32d8]=_0x3948e4[_0x23de67(0x426)](':');_0x4c9c2d[_0x23de67(0x1df)]({'startOffset':Number(_0xba5a10),'endOffset':Number(_0x5d5e05),'collapsed':_0xba5a10===_0x5d5e05,'isActive':_0x3b30c4==='1','rangeType':_0xb1df9b===_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]?_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]:_0x513c5a[_0x23de67(0x20c)]['RECT'],'segmentId':typeof _0x29bc95==_0x23de67(0x23e)?String(_0x29bc95):'','segmentPage':Number(_0x2a32d8!=null?_0x2a32d8:-0x1)});}return _0x4c9c2d['some'](_0x32586c=>_0x32586c[_0x23de67(0x37e)])||(_0x4c9c2d[0x0][_0x23de67(0x37e)]=!0x0),_0x4c9c2d;}class _0x2ccf5b extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(){const _0x2a7215=_0x4c5fe4;super(...arguments),_0x49e871(this,'_collabCursorState$',new _0x44d779[(_0x2a7215(0x47a))](null)),_0x49e871(this,_0x2a7215(0x226),this['_collabCursorState$'][_0x2a7215(0x312)]());}[_0x4c5fe4(0x42a)](_0x2b44ca){const _0x13b8b8=_0x4c5fe4,{unitID:_0x2dbb95,memberID:_0x137fe6,textRanges:_0x53af59}=_0x2b44ca,_0x5a7318=_0x54de33(_0x53af59);if(_0x5a7318==='')return;const _0x46168f={'unitID':_0x2dbb95,'memberID':_0x137fe6,'selection':_0x5a7318};this[_0x13b8b8(0x30a)][_0x13b8b8(0x320)](_0x46168f);}}var _0x2ae3ab=Object[_0x4c5fe4(0x43d)],_0x45f919=(_0x22cd21,_0x1478cc,_0x44a811,_0xbb6345)=>{const _0x5bfcf1=_0x4c5fe4;for(var _0x50df3f=_0xbb6345>0x1?void 0x0:_0xbb6345?_0x2ae3ab(_0x1478cc,_0x44a811):_0x1478cc,_0x160daa=_0x22cd21[_0x5bfcf1(0x27e)]-0x1,_0x2a02ab;_0x160daa>=0x0;_0x160daa--)(_0x2a02ab=_0x22cd21[_0x160daa])&&(_0x50df3f=_0x2a02ab(_0x50df3f)||_0x50df3f);return _0x50df3f;},_0x4a3fc4=(_0x373680,_0x19bf1c)=>(_0x18accd,_0x12774b)=>_0x19bf1c(_0x18accd,_0x12774b,_0x373680);const _0x66934a=0x12c,_0x11d4b8=0x64;let _0x54f104=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x571a6b,_0x220d0a,_0x5556bb,_0x517187,_0x2966f7,_0xf88c0b,_0x34ff0e,_0x1d98ac,_0x443c4c){const _0x3328f9=_0x4c5fe4;super(),_0x49e871(this,_0x3328f9(0x3f1),!0x1),_0x49e871(this,_0x3328f9(0x3d3),!0x1),_0x49e871(this,_0x3328f9(0x289),new _0x44d779[(_0x3328f9(0x47a))](new Map())),_0x49e871(this,_0x3328f9(0x197),this[_0x3328f9(0x289)][_0x3328f9(0x312)]()),_0x49e871(this,_0x3328f9(0x327),new _0x44d779[(_0x3328f9(0x47a))]([])),_0x49e871(this,_0x3328f9(0x303),this[_0x3328f9(0x327)][_0x3328f9(0x23c)](_0x44d779[_0x3328f9(0x457)](_0x66934a))),_0x49e871(this,_0x3328f9(0x3a1),_0x513c5a['debounce'](_0xbe5f91=>{const _0x4ef0ef=_0x3328f9,_0x35a14c={'eventID':_0x191313[_0x4ef0ef(0x187)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4ef0ef(0x3a2)][_0x4ef0ef(0x23b)](),'selection':_0x54de33(_0xbe5f91)}};this[_0x4ef0ef(0x3a2)]['send'](_0x35a14c,this[_0x4ef0ef(0x18a)]);},_0x11d4b8)),(this['unitID']=_0x571a6b,this[_0x3328f9(0x3a2)]=_0x220d0a,this['_injector']=_0x5556bb,this[_0x3328f9(0x37a)]=_0x517187,this[_0x3328f9(0x30d)]=_0x2966f7,this['_syncEditingCollabCursorService']=_0xf88c0b,this[_0x3328f9(0x2d0)]=_0x34ff0e,this[_0x3328f9(0x3a4)]=_0x1d98ac,this[_0x3328f9(0x210)]=_0x443c4c);}get[_0x4c5fe4(0x477)](){const _0x18c5c5=_0x4c5fe4;return this[_0x18c5c5(0x289)]['getValue']();}get[_0x4c5fe4(0x37d)](){const _0x276c31=_0x4c5fe4;return this['_roomMembers$'][_0x276c31(0x40a)]();}['dispose'](){const _0x5163c4=_0x4c5fe4;super[_0x5163c4(0x2b1)](),this[_0x5163c4(0x289)]['next'](new Map()),this[_0x5163c4(0x289)]['complete'](),this[_0x5163c4(0x327)][_0x5163c4(0x320)]([]),this[_0x5163c4(0x327)]['complete']();}['init'](){const _0x4116ca=_0x4c5fe4;this[_0x4116ca(0x3d3)]||(this[_0x4116ca(0x3d3)]=!0x0,this[_0x4116ca(0x3a2)]['sessionStatus$'][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))['subscribe'](_0x342380=>{const _0x2570cb=_0x4116ca;_0x342380===_0x1b7c3e[_0x2570cb(0x259)][_0x2570cb(0x411)]?this[_0x2570cb(0x238)]():this[_0x2570cb(0x215)]();}),this[_0x4116ca(0x3a2)][_0x4116ca(0x208)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x3c441c=>{const _0x3410c2=_0x4116ca,_0x186d6a=_0x3c441c[_0x3410c2(0x195)];_0x186d6a===_0x191313[_0x3410c2(0x187)][_0x3410c2(0x479)]&&this[_0x3410c2(0x1dd)](_0x3c441c),_0x186d6a===_0x191313['CollaborationEvent'][_0x3410c2(0x254)]&&this['_onCursorDelete'](_0x3c441c);}),this[_0x4116ca(0x2c6)](this[_0x4116ca(0x210)][_0x4116ca(0x1c8)](_0x202a07=>{const _0x3ef1d6=_0x4116ca,_0x3cbbac=_0x202a07[_0x3ef1d6(0x32c)];_0x3cbbac!=null&&this[_0x3ef1d6(0x3f1)]&&_0x202a07['id']===_0x702727[_0x3ef1d6(0x1fd)]['id']&&_0x3cbbac[_0x3ef1d6(0x3ed)]===this[_0x3ef1d6(0x18a)]&&_0x3cbbac[_0x3ef1d6(0x3b3)]===!0x1&&_0x3cbbac[_0x3ef1d6(0x31a)][_0x3ef1d6(0x27e)]>0x0&&this['_updateLocalCursor'](_0x3cbbac[_0x3ef1d6(0x31a)]);})),this[_0x4116ca(0x25b)][_0x4116ca(0x226)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x5dcd16=>{const _0xf4c789=_0x4116ca;if((_0x5dcd16==null?void 0x0:_0x5dcd16['unitID'])!==this[_0xf4c789(0x18a)])return;const _0x427ad7={'eventID':_0x191313[_0xf4c789(0x187)][_0xf4c789(0x479)],'data':_0x5dcd16};this['_onCursorUpdate'](_0x427ad7);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x49d3d4=>{const _0x208b56=_0x4116ca;if(_0x49d3d4[_0x208b56(0x32c)]==null)return;const _0x6d62f8=_0x49d3d4[_0x208b56(0x32c)];if(_0x49d3d4['id']!==_0x702727[_0x208b56(0x3c5)]['id']||_0x6d62f8[_0x208b56(0x3ed)]!==this['unitID'])return;const _0x38a442={'id':_0x208b56(0x319),'params':_0x6d62f8},_0x152b48=this['cursorInfo'];for(const [_0x45e4f2,_0x270c1c]of _0x152b48){const _0x20ff1e={'id':_0x208b56(0x319),'params':{'unitId':this[_0x208b56(0x18a)],'actions':null,'textRanges':_0x270c1c[_0x208b56(0x31a)]}},_0xafdbf8=this[_0x208b56(0x2d0)][_0x208b56(0x1f2)](_0x38a442,_0x20ff1e,!0x1);if(_0x191313[_0x208b56(0x3d1)](_0xafdbf8))throw _0xafdbf8['error'];_0x152b48['set'](_0x45e4f2,{..._0x270c1c,'ranges':_0xafdbf8[_0x208b56(0x2d8)][_0x208b56(0x32c)]['textRanges']});}queueMicrotask(()=>{const _0x4f6094=_0x208b56;this[_0x4f6094(0x289)][_0x4f6094(0x320)](_0x152b48);});})));}[_0x4c5fe4(0x1dd)](_0x960c3a){const _0x609170=_0x4c5fe4;var _0x1d51b7,_0x1be7d0;const {memberID:_0x27a723,selection:_0x436033}=_0x960c3a[_0x609170(0x393)],_0x2b9753=_0x4ba325(_0x436033),_0x20a07a=(_0x1be7d0=(_0x1d51b7=this[_0x609170(0x30d)]['getMember'](this[_0x609170(0x18a)],_0x27a723))==null?void 0x0:_0x1d51b7[_0x609170(0x1a6)])!=null?_0x1be7d0:_0x609170(0x2af),_0x4586f5={'color':this[_0x609170(0x37a)]['assignAColorForMemberID'](_0x27a723),'name':_0x20a07a,'ranges':_0x2b9753},_0x210e6e=this[_0x609170(0x477)];_0x210e6e[_0x609170(0x26a)](_0x27a723,_0x4586f5),this[_0x609170(0x289)][_0x609170(0x320)](_0x210e6e);}[_0x4c5fe4(0x3b4)](_0x2dcbab){const _0x25a7ce=_0x4c5fe4,{memberID:_0xba65f3}=_0x2dcbab[_0x25a7ce(0x393)],_0x2dc61f=this[_0x25a7ce(0x477)];_0x2dc61f[_0x25a7ce(0x250)](_0xba65f3),this[_0x25a7ce(0x289)][_0x25a7ce(0x320)](_0x2dc61f);}[_0x4c5fe4(0x238)](){const _0x58835a=_0x4c5fe4;var _0x20c430;if(this[_0x58835a(0x3f1)]=!0x0,((_0x20c430=this[_0x58835a(0x3a4)][_0x58835a(0x475)]())==null?void 0x0:_0x20c430[_0x58835a(0x1ca)]())!==this[_0x58835a(0x18a)])return;const _0x198b43=this[_0x58835a(0x231)][_0x58835a(0x1c5)](_0x702727[_0x58835a(0x29f)])[_0x58835a(0x317)]();Array[_0x58835a(0x38f)](_0x198b43)&&_0x198b43[_0x58835a(0x27e)]>0x0&&this[_0x58835a(0x3a1)](_0x198b43);}[_0x4c5fe4(0x215)](){const _0x2a4947=_0x4c5fe4;this[_0x2a4947(0x3f1)]=!0x1;}};_0x54f104=_0x45f919([_0x4a3fc4(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x4a3fc4(0x3,_0x513c5a['Inject'](_0x14caec)),_0x4a3fc4(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x4a3fc4(0x5,_0x513c5a[_0x4c5fe4(0x28e)](_0x2ccf5b)),_0x4a3fc4(0x6,_0x191313[_0x4c5fe4(0x281)]),_0x4a3fc4(0x7,_0x513c5a['IUniverInstanceService']),_0x4a3fc4(0x8,_0x513c5a[_0x4c5fe4(0x444)])],_0x54f104);var _0x522130=Object[_0x4c5fe4(0x43d)],_0x381d16=(_0x1992c1,_0xfdcd7f,_0x46d16f,_0x3034f3)=>{const _0x6874a9=_0x4c5fe4;for(var _0xdd22dd=_0x3034f3>0x1?void 0x0:_0x3034f3?_0x522130(_0xfdcd7f,_0x46d16f):_0xfdcd7f,_0x2985d2=_0x1992c1[_0x6874a9(0x27e)]-0x1,_0x244a4c;_0x2985d2>=0x0;_0x2985d2--)(_0x244a4c=_0x1992c1[_0x2985d2])&&(_0xdd22dd=_0x244a4c(_0xdd22dd)||_0xdd22dd);return _0xdd22dd;},_0x5ab50c=(_0x5c5369,_0x44b8b0)=>(_0x26f337,_0x50a8d5)=>_0x44b8b0(_0x26f337,_0x50a8d5,_0x5c5369);const _0x405a88=0x12c,_0x5a4257=0x64,_0x20577e=()=>{let _0x458e43=[],_0x27d7b2=!0x1;return _0x36961f=>{const _0x4f0d27=_0x1a49;_0x458e43[_0x4f0d27(0x1df)](_0x36961f),_0x27d7b2||(_0x27d7b2=!0x0,setTimeout(()=>{const _0x23d1dd=_0x4f0d27;_0x458e43[_0x23d1dd(0x292)](_0x2f86b5=>_0x2f86b5()),_0x458e43=[],_0x27d7b2=!0x1;}));};};let _0x41ce11=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x53a2a6,_0x11354c,_0x41033e,_0xf0476,_0x1be6c7,_0x4fd88d,_0x24c97e,_0x4fc0d2){const _0x5972d9=_0x4c5fe4;super(),_0x49e871(this,_0x5972d9(0x3f1),!0x1),_0x49e871(this,_0x5972d9(0x3d3),!0x1),_0x49e871(this,_0x5972d9(0x289),new _0x44d779[(_0x5972d9(0x47a))](new Map())),_0x49e871(this,_0x5972d9(0x197),this['_cursorInfo$'][_0x5972d9(0x312)]()),_0x49e871(this,_0x5972d9(0x327),new _0x44d779[(_0x5972d9(0x47a))]([])),_0x49e871(this,_0x5972d9(0x303),this[_0x5972d9(0x327)]['pipe'](_0x44d779[_0x5972d9(0x457)](_0x405a88))),_0x49e871(this,_0x5972d9(0x3a1),_0x513c5a[_0x5972d9(0x1b6)]((_0x564f76,_0x2ed13b)=>{const _0xb098bf=_0x5972d9,_0x555978={'eventID':_0x191313[_0xb098bf(0x187)][_0xb098bf(0x479)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xb098bf(0x23b)](),'selection':_0x5f233a[_0xb098bf(0x40f)](_0x564f76,_0x2ed13b[_0xb098bf(0x2de)])}};this[_0xb098bf(0x3a2)]['send'](_0x555978,this[_0xb098bf(0x18a)]);},_0x5a4257)),(this['unitID']=_0x53a2a6,this[_0x5972d9(0x3a2)]=_0x11354c,this[_0x5972d9(0x231)]=_0x41033e,this[_0x5972d9(0x37a)]=_0xf0476,this[_0x5972d9(0x30d)]=_0x1be6c7,this[_0x5972d9(0x3a4)]=_0x4fd88d,this[_0x5972d9(0x210)]=_0x24c97e,this['_refRangeService']=_0x4fc0d2);}get[_0x4c5fe4(0x477)](){const _0xaf7520=_0x4c5fe4;return this[_0xaf7520(0x289)][_0xaf7520(0x40a)]();}get['roomMembers'](){const _0x32a5de=_0x4c5fe4;return this['_roomMembers$'][_0x32a5de(0x40a)]();}[_0x4c5fe4(0x2b1)](){const _0x53c1a6=_0x4c5fe4;super[_0x53c1a6(0x2b1)](),this[_0x53c1a6(0x289)][_0x53c1a6(0x320)](new Map()),this[_0x53c1a6(0x289)][_0x53c1a6(0x30f)](),this['_roomMembers$'][_0x53c1a6(0x320)]([]),this[_0x53c1a6(0x327)][_0x53c1a6(0x30f)]();}[_0x4c5fe4(0x1b2)](){const _0x538052=_0x4c5fe4;this[_0x538052(0x3d3)]||(this['_init']=!0x0,this[_0x538052(0x3a2)][_0x538052(0x46e)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))[_0x538052(0x33d)](_0x5eec8d=>{const _0x3b944b=_0x538052;_0x5eec8d===_0x1b7c3e[_0x3b944b(0x259)][_0x3b944b(0x411)]?this[_0x3b944b(0x238)]():this['_toggleOffline']();}),this[_0x538052(0x3a2)][_0x538052(0x208)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))['subscribe'](_0x4915c9=>{const _0x282fa0=_0x538052,_0x1f7e90=_0x4915c9[_0x282fa0(0x195)];_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x479)]&&this[_0x282fa0(0x1dd)](_0x4915c9),_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x254)]&&this['_onCursorDelete'](_0x4915c9);}),this[_0x538052(0x1dc)](),this[_0x538052(0x2c6)](this[_0x538052(0x210)][_0x538052(0x1c8)](_0x5c6aa1=>{const _0x853c44=_0x538052;if(this[_0x853c44(0x3f1)]&&_0x5c6aa1['id']===_0x314f03[_0x853c44(0x1b3)]['id']&&_0x5c6aa1[_0x853c44(0x32c)][_0x853c44(0x3ed)]===this['unitID']){const _0x3f45f3=_0x5c6aa1['params'];this['_updateLocalCursor'](_0x3f45f3[_0x853c44(0x207)],_0x3f45f3['selections'][0x0]);}})));}['_onCursorUpdate'](_0x4fbaf2){const _0x2d1494=_0x4c5fe4;var _0x3c7521,_0x168a2b;const {memberID:_0xbd4a4,selection:_0x5172f9}=_0x4fbaf2[_0x2d1494(0x393)],{sheetName:_0x18889f,range:_0x5688bd}=_0x5f233a[_0x2d1494(0x363)](_0x5172f9),_0x4bc65c={'name':(_0x168a2b=(_0x3c7521=this['_memberService'][_0x2d1494(0x350)](this[_0x2d1494(0x18a)],_0xbd4a4))==null?void 0x0:_0x3c7521[_0x2d1494(0x1a6)])!=null?_0x168a2b:_0x2d1494(0x2af),'range':this[_0x2d1494(0x1e3)](_0x18889f,_0x5688bd),'sheetID':_0x18889f,'color':this[_0x2d1494(0x37a)][_0x2d1494(0x2bd)](_0xbd4a4),'selection':_0x5172f9},_0xd29ad6=this['cursorInfo'];_0xd29ad6[_0x2d1494(0x26a)](_0xbd4a4,_0x4bc65c),this['_cursorInfo$']['next'](_0xd29ad6);}[_0x4c5fe4(0x3b4)](_0x53ec1a){const _0x42c168=_0x4c5fe4,{memberID:_0x1a518e}=_0x53ec1a[_0x42c168(0x393)],_0x1b9b3a=this[_0x42c168(0x477)];_0x1b9b3a[_0x42c168(0x250)](_0x1a518e),this[_0x42c168(0x289)][_0x42c168(0x320)](_0x1b9b3a);}['_getMergeRange'](_0x5ec400,_0x1bfb5a){const _0x15f5c0=_0x4c5fe4;var _0x475604,_0x2e9c58;const _0x319138=(_0x2e9c58=(_0x475604=this[_0x15f5c0(0x3a4)][_0x15f5c0(0x1ad)](this['unitID']))==null?void 0x0:_0x475604['getSheetBySheetId'](_0x5ec400))==null?void 0x0:_0x2e9c58[_0x15f5c0(0x1ee)]();return(_0x319138==null?void 0x0:_0x319138[_0x15f5c0(0x25d)](_0x34aa6d=>_0x513c5a[_0x15f5c0(0x3b2)][_0x15f5c0(0x22a)](_0x34aa6d,_0x1bfb5a)))||_0x1bfb5a;}['_onRefRangeChange'](){const _0x1eae04=_0x4c5fe4,_0x55b379=new _0x513c5a['DisposableCollection'](),_0x2d75f3=_0x20577e(),_0x5e9b37=()=>{const _0xfd2ec0=_0x1a49;_0x55b379['dispose']();const _0x52ba0c=(_0x2d1c68,_0x231a52,_0x44cb5b,_0x1f3a49)=>{const _0x2d2de7=_0x1a49;let _0x3ea229=[];switch(_0x2d1c68['id']){case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x425)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveLeft'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03['EffectRefRangId'][_0x2d2de7(0x3ac)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveUp'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2da)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x34b)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2dc)]:{_0x3ea229=_0x314f03['handleInsertRangeMoveDown'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x1ed)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x31d)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x37f)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x3b1)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['MoveRangeCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x205)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x38d)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x332)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['RemoveRowCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x41d)](_0x2d1c68,_0x1f3a49);break;}}const _0x393c56=_0x314f03['runRefRangeMutations'](_0x3ea229,_0x1f3a49),_0x2e7d5f=this['cursorInfo'][_0x2d2de7(0x1c5)](_0x231a52);if(_0x2e7d5f&&_0x393c56){const _0x2a4fd6={..._0x2e7d5f,'range':_0x393c56};this['cursorInfo']['set'](_0x231a52,_0x2a4fd6),_0x2d75f3(()=>{const _0x4d2d94=_0x2d2de7,_0xcefe4a=this[_0x4d2d94(0x471)][_0x4d2d94(0x180)](_0x393c56,_0x5f164c=>(_0xcefe4a['dispose'](),_0x52ba0c(_0x5f164c,_0x231a52,_0x44cb5b,_0x393c56)));_0x55b379['add'](_0xcefe4a);});}return{'redos':[],'undos':[]};};this[_0xfd2ec0(0x477)]['forEach']((_0x5d85bf,_0x1a476d)=>{const _0x221fcd=_0xfd2ec0,{range:_0x3ffae6,sheetID:_0x5f3288}=_0x5d85bf,_0x263f9f=this[_0x221fcd(0x471)][_0x221fcd(0x180)](_0x3ffae6,_0x1d07d7=>(_0x263f9f[_0x221fcd(0x2b1)](),_0x52ba0c(_0x1d07d7,_0x1a476d,_0x5f3288,_0x3ffae6)));_0x55b379[_0x221fcd(0x40c)](_0x263f9f);});};this['disposeWithMe'](_0x513c5a[_0x1eae04(0x241)](this[_0x1eae04(0x289)]['subscribe'](()=>{_0x5e9b37();})));}[_0x4c5fe4(0x238)](){const _0x2c591e=_0x4c5fe4;var _0xdd2f42,_0x5248cd;if(this[_0x2c591e(0x3f1)]=!0x0,((_0xdd2f42=this[_0x2c591e(0x3a4)][_0x2c591e(0x475)]())==null?void 0x0:_0xdd2f42[_0x2c591e(0x1ca)]())!==this[_0x2c591e(0x18a)])return;const _0x2d17aa=(_0x5248cd=this[_0x2c591e(0x231)][_0x2c591e(0x1c5)](_0x314f03[_0x2c591e(0x1e2)])[_0x2c591e(0x267)]())==null?void 0x0:_0x5248cd[0x0],_0x4eae35=this['_univerInstanceService'][_0x2c591e(0x45b)](_0x513c5a[_0x2c591e(0x461)][_0x2c591e(0x1cb)])['getActiveSheet']();_0x2d17aa&&_0x4eae35&&this[_0x2c591e(0x3a1)](_0x4eae35[_0x2c591e(0x3da)](),_0x2d17aa);}[_0x4c5fe4(0x215)](){const _0x2d1d59=_0x4c5fe4;this[_0x2d1d59(0x3f1)]=!0x1;}};_0x41ce11=_0x381d16([_0x5ab50c(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x5ab50c(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x14caec)),_0x5ab50c(0x4,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x5ab50c(0x5,_0x513c5a['IUniverInstanceService']),_0x5ab50c(0x6,_0x513c5a[_0x4c5fe4(0x444)]),_0x5ab50c(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x314f03[_0x4c5fe4(0x24f)]))],_0x41ce11);var _0x6a08ce=Object['getOwnPropertyDescriptor'],_0x44916c=(_0x3534d7,_0x8c4b60,_0x20d63b,_0x55621f)=>{const _0xf86db7=_0x4c5fe4;for(var _0x368b73=_0x55621f>0x1?void 0x0:_0x55621f?_0x6a08ce(_0x8c4b60,_0x20d63b):_0x8c4b60,_0x5e9692=_0x3534d7[_0xf86db7(0x27e)]-0x1,_0x2be432;_0x5e9692>=0x0;_0x5e9692--)(_0x2be432=_0x3534d7[_0x5e9692])&&(_0x368b73=_0x2be432(_0x368b73)||_0x368b73);return _0x368b73;},_0x18f688=(_0x1cd96c,_0x5104c7)=>(_0x5b703e,_0x55a65e)=>_0x5104c7(_0x5b703e,_0x55a65e,_0x1cd96c);let _0xdc7b15=class extends _0x513c5a['RxDisposable']{constructor(_0x2a46d0,_0x38ee7b,_0x251c03){const _0x5a4f5a=_0x4c5fe4;super(),_0x49e871(this,_0x5a4f5a(0x39c),new Map()),_0x49e871(this,_0x5a4f5a(0x3ab),new _0x44d779[(_0x5a4f5a(0x304))]()),(this[_0x5a4f5a(0x3a4)]=_0x2a46d0,this[_0x5a4f5a(0x231)]=_0x38ee7b,this[_0x5a4f5a(0x1da)]=_0x251c03,this[_0x5a4f5a(0x3d3)]());}['dispose'](){const _0x570296=_0x4c5fe4;super[_0x570296(0x2b1)](),this[_0x570296(0x3ab)]['complete'](),this[_0x570296(0x39c)]['forEach'](_0x5bdcb0=>_0x5bdcb0[_0x570296(0x2b1)]());}[_0x4c5fe4(0x467)](_0x4ab56a){const _0x47afeb=_0x4c5fe4;return this['_entities'][_0x47afeb(0x3c0)](_0x4ab56a)?this[_0x47afeb(0x39c)][_0x47afeb(0x1c5)](_0x4ab56a)[_0x47afeb(0x197)]:this['_entityInit$'][_0x47afeb(0x23c)](_0x44d779[_0x47afeb(0x335)](_0x53c369=>_0x53c369['unitID']===_0x4ab56a),_0x44d779[_0x47afeb(0x452)](_0x538afc=>_0x538afc[_0x47afeb(0x197)]));}[_0x4c5fe4(0x3d3)](){const _0x1bd501=_0x4c5fe4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET'])['pipe'](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))['subscribe'](async _0x5895d2=>{const _0x447e49=_0x1bd501,_0x186af2=_0x5895d2[_0x447e49(0x1ca)](),_0x2dd57d=await this[_0x447e49(0x237)](_0x186af2);this[_0x447e49(0x3ab)][_0x447e49(0x320)](_0x2dd57d),this[_0x447e49(0x39c)][_0x447e49(0x26a)](_0x186af2,_0x2dd57d);}),this[_0x1bd501(0x3a4)]['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)])[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x335)](_0x4e138f=>!_0x4e138f[_0x1bd501(0x1ca)]()[_0x1bd501(0x2ba)]('__')))[_0x1bd501(0x33d)](async _0x1f599b=>{const _0x27f6aa=_0x1bd501,_0x1cb26e=_0x1f599b[_0x27f6aa(0x1ca)](),_0x34c0b5=await this[_0x27f6aa(0x1c1)](_0x1cb26e);this['_entityInit$'][_0x27f6aa(0x320)](_0x34c0b5),this['_entities'][_0x27f6aa(0x26a)](_0x1cb26e,_0x34c0b5);}),_0x44d779[_0x1bd501(0x225)](this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)]),this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET']))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x33d)](_0xf47bbe=>{const _0x4fbfde=_0x1bd501,_0x1c5caf=_0xf47bbe['getUnitId'](),_0xf7c75a=this['_entities'][_0x4fbfde(0x1c5)](_0x1c5caf);_0xf7c75a&&(_0xf7c75a[_0x4fbfde(0x2b1)](),this[_0x4fbfde(0x39c)][_0x4fbfde(0x250)](_0x1c5caf));});}async[_0x4c5fe4(0x237)](_0x542739){const _0x3fc6a3=_0x4c5fe4,_0x2ec247=await this[_0x3fc6a3(0x1da)]['requireSession'](_0x542739),_0x35c430=this['_injector'][_0x3fc6a3(0x1cd)](_0x41ce11,_0x542739,_0x2ec247);return _0x35c430[_0x3fc6a3(0x1b2)](),_0x35c430;}async[_0x4c5fe4(0x1c1)](_0x4088cd){const _0x126d98=_0x4c5fe4,_0x57cfda=await this[_0x126d98(0x1da)][_0x126d98(0x185)](_0x4088cd),_0xfba633=this[_0x126d98(0x231)][_0x126d98(0x1cd)](_0x54f104,_0x4088cd,_0x57cfda);return _0xfba633[_0x126d98(0x1b2)](),_0xfba633;}};_0xdc7b15=_0x44916c([_0x18f688(0x0,_0x513c5a['IUniverInstanceService']),_0x18f688(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x18f688(0x2,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xdc7b15);const _0x41d721=0x14,_0x4ab5bf=0xc8,_0x38b806=0x4,_0x3cccb2=0x5;function _0xf5be64(_0x5087bb,_0x552c7a){const _0x246c8f=_0x4c5fe4;let {radius:_0x25055a,width:_0x2e36c9,height:_0x3f691b}=_0x552c7a;_0x25055a=_0x25055a!=null?_0x25055a:0x0,_0x2e36c9=_0x2e36c9!=null?_0x2e36c9:0x1e,_0x3f691b=_0x3f691b!=null?_0x3f691b:0x1e;let _0x301f45=0x0,_0x1587d2=0x0,_0x41eeb8=0x0;_0x301f45=_0x1587d2=_0x41eeb8=Math[_0x246c8f(0x284)](_0x25055a,_0x2e36c9/0x2,_0x3f691b/0x2),_0x5087bb[_0x246c8f(0x1d1)](),_0x5087bb[_0x246c8f(0x462)](_0x301f45,0x0),_0x5087bb['lineTo'](_0x2e36c9-_0x1587d2,0x0),_0x5087bb['arc'](_0x2e36c9-_0x1587d2,_0x1587d2,_0x1587d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5087bb[_0x246c8f(0x333)](_0x2e36c9,_0x3f691b-_0x41eeb8),_0x5087bb[_0x246c8f(0x3ec)](_0x2e36c9-_0x41eeb8,_0x3f691b-_0x41eeb8,_0x41eeb8,0x0,Math['PI']/0x2,!0x1),_0x5087bb[_0x246c8f(0x333)](0x0,_0x3f691b),_0x5087bb['lineTo'](0x0,_0x301f45),_0x5087bb[_0x246c8f(0x3ec)](_0x301f45,_0x301f45,_0x301f45,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5087bb[_0x246c8f(0x3e5)](),_0x552c7a[_0x246c8f(0x1ab)]&&(_0x5087bb[_0x246c8f(0x2d7)](),_0x5087bb[_0x246c8f(0x342)]=_0x552c7a[_0x246c8f(0x1ab)],_0x552c7a[_0x246c8f(0x230)]==='evenodd'?_0x5087bb[_0x246c8f(0x1ab)](_0x246c8f(0x2f0)):_0x5087bb[_0x246c8f(0x1ab)](),_0x5087bb[_0x246c8f(0x283)]());}class _0x237d4b extends _0x4672ea[_0x4c5fe4(0x1b7)]{constructor(_0x560293,_0x297f08){const _0x121e0e=_0x4c5fe4;super(_0x560293,_0x297f08),_0x49e871(this,'color'),_0x49e871(this,'text'),(this[_0x121e0e(0x2c7)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2c7)],this[_0x121e0e(0x2d6)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2d6)]);}static['drawWith'](_0x3e72ff,_0x5aefdb){const _0xfaf664=_0x4c5fe4,{text:_0x4a8d42,color:_0x330477}=_0x5aefdb;_0x3e72ff[_0xfaf664(0x2d7)](),_0x3e72ff[_0xfaf664(0x448)]=_0xfaf664(0x424);const _0x389b14=_0x3e72ff[_0xfaf664(0x40b)](_0x4a8d42)[_0xfaf664(0x36b)],_0x4c21a7=Math[_0xfaf664(0x284)](_0x389b14+0x2*_0x38b806,_0x4ab5bf);_0xf5be64(_0x3e72ff,{'height':_0x41d721,'radius':0x4,'width':_0x4c21a7,'fill':_0x330477}),_0x3e72ff[_0xfaf664(0x342)]=_0xfaf664(0x389);const _0xf61b0f=_0x38b806,_0xfd4dd3=_0x41d721-_0x3cccb2,_0x378845=_0x4ab5bf-0x2*_0x38b806;if(_0x389b14>_0x378845){let _0x422539='',_0x4577d9=0x0;for(const _0x3abd8e of _0x4a8d42){const _0x4c63a3=_0x3e72ff[_0xfaf664(0x40b)](_0x3abd8e)[_0xfaf664(0x36b)];if(_0x4577d9+_0x4c63a3<=_0x378845-_0x3e72ff['measureText'](_0xfaf664(0x472))[_0xfaf664(0x36b)])_0x422539+=_0x3abd8e,_0x4577d9+=_0x4c63a3;else{_0x422539+='...';break;}}_0x3e72ff[_0xfaf664(0x3e9)](_0x422539,_0xf61b0f,_0xfd4dd3);}else _0x3e72ff[_0xfaf664(0x3e9)](_0x4a8d42,_0xf61b0f,_0xfd4dd3);_0x3e72ff[_0xfaf664(0x283)]();}[_0x4c5fe4(0x390)](_0x4c5ec6){_0x237d4b['drawWith'](_0x4c5ec6,this);}}const _0x50f0a4=_0x4c5fe4(0x2c8),_0x26ed96=_0x4c5fe4(0x240),_0x3f7907=_0x4c5fe4(0x385),_0x1a60dc=0x6,_0x5c8d0f=1.5,_0x1fda6e=0x4,_0x4b4725=1.5,_0x4a7cdc=_0x4c5fe4(0x1a2);class _0x1fcc5b{constructor(_0x262c81,_0x599fc5,_0xfa260b,_0x4b7e76){const _0x5833b7=_0x4c5fe4;_0x49e871(this,_0x5833b7(0x188),[]),_0x49e871(this,_0x5833b7(0x321),null),_0x49e871(this,'_textBubble',null),_0x49e871(this,_0x5833b7(0x3ce),null),_0x49e871(this,_0x5833b7(0x2f4),null),_0x49e871(this,_0x5833b7(0x309),null),(this['_cursor']=_0x262c81,this[_0x5833b7(0x3ae)]=_0x599fc5,this[_0x5833b7(0x26d)]=_0xfa260b,this[_0x5833b7(0x456)]=_0x4b7e76,this[_0x5833b7(0x196)]());}set[_0x4c5fe4(0x243)](_0x48280e){const _0x1d17b1=_0x4c5fe4;_0x48280e?(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['hide'](),this[_0x1d17b1(0x200)]&&this['_textBubble'][_0x1d17b1(0x218)]()):(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['show'](),this[_0x1d17b1(0x200)]&&this[_0x1d17b1(0x200)][_0x1d17b1(0x355)]());}['dispose'](){const _0x549051=_0x4c5fe4;for(const _0x42c5af of this[_0x549051(0x188)])_0x42c5af['dispose']();this[_0x549051(0x200)]&&this[_0x549051(0x200)][_0x549051(0x2b1)](),this[_0x549051(0x3ce)]&&this[_0x549051(0x3ce)][_0x549051(0x2b1)](),this[_0x549051(0x321)]&&this[_0x549051(0x321)][_0x549051(0x2b1)](),this[_0x549051(0x309)]&&this[_0x549051(0x309)]();}[_0x4c5fe4(0x196)](){const _0x2c4d09=_0x4c5fe4;var _0x2377e3;const {_docSkeleton:_0x314ea2,_document:_0x59cbfb}=this,{color:_0x37920d,name:_0x3e519b,ranges:_0x4add65}=this['_cursor'],_0x48e94e=_0x59cbfb[_0x2c4d09(0x1c4)](),{docsLeft:_0x2c58a3,docsTop:_0x232dd1}=_0x48e94e,_0x300b68=new _0x216a55[(_0x2c4d09(0x3f8))](_0x48e94e,_0x314ea2);for(const {startOffset:_0x21ebf2,endOffset:_0x569c7e,rangeType:_0x46f490,segmentId:_0x314465,segmentPage:_0x1f84b7,collapsed:_0x14c1c0,isActive:_0x589f2c}of _0x4add65){const _0x4ed591=_0x314ea2[_0x2c4d09(0x395)](_0x21ebf2,!0x0,_0x314465,_0x1f84b7);let _0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e,!0x0,_0x314465,_0x1f84b7);if(_0x40c21f==null&&(_0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e-0x1,!0x1,_0x314465,_0x1f84b7)),_0x589f2c){const {contentBoxPointGroup:_0x36ce1c}=_0x300b68[_0x2c4d09(0x1eb)](_0x40c21f,_0x40c21f);if(_0x36ce1c[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x3e6)](_0x37920d,_0x36ce1c,_0x2c58a3,_0x232dd1,_0x3e519b),this[_0x2c4d09(0x309)]=this[_0x2c4d09(0x279)]();}if(_0x4ed591&&_0x40c21f){if(_0x46f490===_0x513c5a['DOC_RANGE_TYPE'][_0x2c4d09(0x474)]){const _0xc10caa=new _0x216a55['NodePositionConvertToRectRange'](_0x48e94e,_0x314ea2),{pointGroup:_0x5ca560}=(_0x2377e3=_0xc10caa['getRangePointData'](_0x4ed591,_0x40c21f))!=null?_0x2377e3:{};if(_0x5ca560==null||_0x5ca560[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x29b)](_0x37920d,_0x5ca560,_0x2c58a3,_0x232dd1);}else{if(!_0x14c1c0){const {borderBoxPointGroup:_0x52f20d}=_0x300b68[_0x2c4d09(0x1eb)](_0x4ed591,_0x40c21f);if(_0x52f20d[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x1d4)](_0x37920d,_0x52f20d,_0x2c58a3,_0x232dd1);}}}}}[_0x4c5fe4(0x3e6)](_0x3d3ec1,_0x40f04b,_0x3352a1,_0x3a9266,_0x60e5a8){const _0x2b4cb2=_0x4c5fe4,_0x1ee645=this[_0x2b4cb2(0x18b)](_0x40f04b),{left:_0x314c21,top:_0x4e8e71,height:_0x63e08c}=_0x1ee645,_0x5e315e=this[_0x2b4cb2(0x3df)](),_0x491e0f=_0x4b4725/_0x5e315e,_0x2a8001=new _0x4672ea[(_0x2b4cb2(0x17f))](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266,'height':_0x63e08c,'width':_0x5c8d0f,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':_0x491e0f,'stroke':_0x4a7cdc,'evented':!0x0});this['_anchor']=_0x2a8001,this[_0x2b4cb2(0x3ae)]['addObject'](_0x2a8001,_0x216a55[_0x2b4cb2(0x24d)]);const _0x56514e=new _0x4672ea['Rect'](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x1fda6e/0x2,'height':_0x1fda6e,'width':_0x1fda6e,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':0x0,'stroke':_0x3d3ec1||_0x4672ea['getColor'](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'evented':!0x1});this['_anchorDot']=_0x56514e,this['_scene'][_0x2b4cb2(0x296)](_0x56514e,_0x216a55[_0x2b4cb2(0x24d)]);const _0x5197d5=new _0x237d4b(_0x50f0a4+_0x513c5a['generateRandomId'](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x41d721,'text':_0x60e5a8,'color':_0x3d3ec1});this[_0x2b4cb2(0x200)]=_0x5197d5,this['_scene']['addObject'](_0x5197d5,_0x216a55[_0x2b4cb2(0x24d)]),this['_hover']=!0x1;}[_0x4c5fe4(0x279)](){const _0x17706d=_0x4c5fe4,_0x3dab0c=this['_anchor'][_0x17706d(0x38c)]['subscribeEvent'](()=>{const _0xab1806=_0x17706d;this[_0xab1806(0x243)]=!0x0;}),_0x43b421=this['_anchor'][_0x17706d(0x1b5)][_0x17706d(0x3fa)](()=>{const _0x3d08a6=_0x17706d;this[_0x3d08a6(0x2f4)]&&clearTimeout(this[_0x3d08a6(0x2f4)]),this[_0x3d08a6(0x2f4)]=setTimeout(()=>{const _0x23d409=_0x3d08a6;this[_0x23d409(0x243)]=!0x1;},0x7d0);});return()=>{const _0x224768=_0x17706d;_0x3dab0c[_0x224768(0x349)](),_0x43b421[_0x224768(0x349)]();};}[_0x4c5fe4(0x1d4)](_0x423c35,_0x452373,_0x38a7f0,_0x50ca72){const _0xb711e8=_0x4c5fe4,_0x42f1c9=new _0x513c5a[(_0xb711e8(0x35b))](_0x423c35)[_0xb711e8(0x245)](0.2)[_0xb711e8(0x29c)](),_0x587f56=new _0x4672ea['RegularPolygon'](_0x26ed96+_0x513c5a[_0xb711e8(0x345)](_0x1a60dc),{'pointsGroup':_0x452373,'fill':_0x42f1c9||_0x4672ea[_0xb711e8(0x3ea)](_0x513c5a[_0xb711e8(0x35d)][_0xb711e8(0x37b)],0.2),'left':_0x38a7f0,'top':_0x50ca72,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb711e8(0x1df)](_0x587f56),this[_0xb711e8(0x3ae)][_0xb711e8(0x296)](_0x587f56,_0x216a55['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x14a310,_0x1a3025,_0x356bfb,_0x4ffa59){const _0x89a7c6=_0x4c5fe4,_0x350793=new _0x513c5a[(_0x89a7c6(0x35b))](_0x14a310)[_0x89a7c6(0x245)](0.2)[_0x89a7c6(0x29c)](),_0x49988f=new _0x4672ea[(_0x89a7c6(0x419))](_0x3f7907+_0x513c5a[_0x89a7c6(0x345)](_0x1a60dc),{'pointsGroup':_0x1a3025,'fill':_0x350793||_0x4672ea['getColor'](_0x513c5a[_0x89a7c6(0x35d)][_0x89a7c6(0x37b)],0.2),'left':_0x356bfb,'top':_0x4ffa59,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x89a7c6(0x188)]['push'](_0x49988f),this[_0x89a7c6(0x3ae)][_0x89a7c6(0x296)](_0x49988f,_0x216a55[_0x89a7c6(0x24d)]);}['_getAnchorBounding'](_0x215766){const _0x2289e9=_0x215766[0x0],_0x128735=_0x2289e9[0x0],_0x503e3c=_0x2289e9[0x2],{x:_0x160949,y:_0x6d5008}=_0x128735,{x:_0x5ebd3e,y:_0x4226dd}=_0x503e3c;return{'left':_0x160949,'top':_0x6d5008,'width':_0x5ebd3e-_0x160949,'height':_0x4226dd-_0x6d5008};}[_0x4c5fe4(0x3df)](){const _0x50229b=_0x4c5fe4,{scaleX:_0x274999,scaleY:_0x5a7c4c}=this[_0x50229b(0x3ae)][_0x50229b(0x2e5)]();return Math[_0x50229b(0x3f7)](_0x274999,_0x5a7c4c);}}var _0xbefc97=Object['getOwnPropertyDescriptor'],_0x3d876a=(_0x3947bf,_0x3c80a9,_0x55ead2,_0x1f3df8)=>{for(var _0x4e700c=_0x1f3df8>0x1?void 0x0:_0x1f3df8?_0xbefc97(_0x3c80a9,_0x55ead2):_0x3c80a9,_0x42af32=_0x3947bf['length']-0x1,_0x2af0f6;_0x42af32>=0x0;_0x42af32--)(_0x2af0f6=_0x3947bf[_0x42af32])&&(_0x4e700c=_0x2af0f6(_0x4e700c)||_0x4e700c);return _0x4e700c;},_0x212355=(_0x1fbd81,_0x246c4c)=>(_0x54db30,_0x281e92)=>_0x246c4c(_0x54db30,_0x281e92,_0x1fbd81);let _0x373cd3=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x34197a,_0x4aaf9f,_0x2adc67,_0x2211cd,_0x1ab1a6){const _0x21ff84=_0x4c5fe4;super(),_0x49e871(this,'_cursorShapes',[]),_0x49e871(this,_0x21ff84(0x3e7),[]),(this['_context']=_0x34197a,this[_0x21ff84(0x2a6)]=_0x4aaf9f,this[_0x21ff84(0x23a)]=_0x2adc67,this[_0x21ff84(0x210)]=_0x2211cd,this[_0x21ff84(0x212)]=_0x1ab1a6,this['_init']());}['_init'](){const _0xf81c88=_0x4c5fe4,_0x538000=this[_0xf81c88(0x3c8)][_0xf81c88(0x3ed)],_0x506454=this[_0xf81c88(0x2a6)];this['disposeWithMe'](_0x44d779['combineLatest']([this['_collabCursorController'][_0xf81c88(0x467)](_0x538000),this[_0xf81c88(0x212)][_0xf81c88(0x3a7)]])[_0xf81c88(0x23c)](_0x523890['map'](([_0xad5e32,_0x4a37a9])=>({'skeleton':_0x506454[_0xf81c88(0x379)](),'cursors':[..._0xad5e32[_0xf81c88(0x258)]()][_0xf81c88(0x430)](_0x4f7be7=>({..._0x4f7be7,'color':this['_themeService'][_0xf81c88(0x18c)](_0x4f7be7['color'])}))})))[_0xf81c88(0x33d)](_0x804143=>{const _0x2fcd27=_0xf81c88;if(this[_0x2fcd27(0x37c)](),_0x804143){const {skeleton:_0x4e1c55,cursors:_0x2a4b25}=_0x804143;this[_0x2fcd27(0x450)](_0x4e1c55,_0x2a4b25);}})),this[_0xf81c88(0x325)](),this['_initCommandExecutedListener']();}[_0x4c5fe4(0x450)](_0x3d9aa9,_0x2e2105){const _0x26ef7c=_0x4c5fe4,{scene:_0x469bd2,mainComponent:_0x4f8b4a}=this['_context'],_0x564b16=_0x2e2105[_0x26ef7c(0x2b4)](_0xd8f9c6=>new _0x1fcc5b(_0xd8f9c6,_0x469bd2,_0x3d9aa9,_0x4f8b4a));this[_0x26ef7c(0x2f8)]=_0x564b16,this[_0x26ef7c(0x3e7)]=_0x2e2105;}[_0x4c5fe4(0x414)](){const _0x45e918=_0x4c5fe4;this['_removeCollabCursors']();const {scene:_0x179c85,mainComponent:_0x53eee1}=this[_0x45e918(0x3c8)],_0x3d955c=this[_0x45e918(0x2a6)]['getSkeleton'](),_0x48fd01=this[_0x45e918(0x3e7)][_0x45e918(0x2b4)](_0x10bc93=>new _0x1fcc5b(_0x10bc93,_0x179c85,_0x3d955c,_0x53eee1));this[_0x45e918(0x2f8)]=_0x48fd01;}[_0x4c5fe4(0x37c)](){const _0xe6c576=_0x4c5fe4;this[_0xe6c576(0x2f8)][_0xe6c576(0x292)](_0x4ceed2=>_0x4ceed2[_0xe6c576(0x2b1)]()),this['_cursorShapes']=[];}[_0x4c5fe4(0x1f8)](){const _0x358237=_0x4c5fe4,_0x16b849=[_0x216a55[_0x358237(0x2e7)]['id']];this['disposeWithMe'](this[_0x358237(0x210)][_0x358237(0x1c8)](_0xcbcd95=>{const _0x253bdf=_0x358237;_0x16b849[_0x253bdf(0x1ec)](_0xcbcd95['id'])&&_0xcbcd95['params'][_0x253bdf(0x3ed)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x4c5fe4(0x325)](){const _0x2187ed=_0x4c5fe4;this[_0x2187ed(0x2c6)](_0x513c5a[_0x2187ed(0x277)](this[_0x2187ed(0x3c8)]['engine'][_0x2187ed(0x438)])[_0x2187ed(0x23c)](_0x523890[_0x2187ed(0x335)](_0x4d8614=>_0x4d8614[_0x2187ed(0x406)]===_0x4672ea[_0x2187ed(0x36e)]['resize']),_0x523890[_0x2187ed(0x2c1)](0x10))[_0x2187ed(0x33d)](()=>{const _0x2c69b9=_0x2187ed;this[_0x2c69b9(0x414)]();}));}};_0x373cd3=_0x3d876a([_0x212355(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x702727[_0x4c5fe4(0x2a9)])),_0x212355(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0xdc7b15)),_0x212355(0x3,_0x513c5a[_0x4c5fe4(0x444)]),_0x212355(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['ThemeService']))],_0x373cd3);const _0x340e35=0x1,_0x58c9f6=1.5;class _0x39b2dd extends _0x4672ea['Shape']{constructor(_0x5b29a7,_0x8af52e){const _0xc9713c=_0x4c5fe4;super(_0x5b29a7,_0x8af52e),_0x49e871(this,_0xc9713c(0x22f)),_0x49e871(this,_0xc9713c(0x3be),!0x1),_0x49e871(this,_0xc9713c(0x3b7)),_0x49e871(this,_0xc9713c(0x18d),''),_0x49e871(this,_0xc9713c(0x365),_0xc9713c(0x2bc)),_0x49e871(this,'_backgroundColor'),(_0x8af52e&&this[_0xc9713c(0x1fb)](_0x8af52e),this[_0xc9713c(0x38c)]['subscribeEvent'](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x0})),this[_0xc9713c(0x1b5)][_0xc9713c(0x3fa)](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x1})));}[_0x4c5fe4(0x1fb)](_0x714b){const _0x11b817=_0x4c5fe4;var _0x3697c2,_0x7f991d,_0xcff832,_0x539a4f,_0x7b8183,_0x3e5613;this[_0x11b817(0x22f)]=(_0x3697c2=_0x714b[_0x11b817(0x2c7)])!=null?_0x3697c2:this[_0x11b817(0x22f)],this[_0x11b817(0x3be)]=(_0x7f991d=_0x714b['hovered'])!=null?_0x7f991d:this[_0x11b817(0x3be)],this['_range']=(_0xcff832=_0x714b[_0x11b817(0x2de)])!=null?_0xcff832:this[_0x11b817(0x3b7)],this[_0x11b817(0x18d)]=(_0x539a4f=_0x714b[_0x11b817(0x1a6)])!=null?_0x539a4f:this[_0x11b817(0x18d)],this[_0x11b817(0x365)]=(_0x7b8183=_0x714b[_0x11b817(0x220)])!=null?_0x7b8183:this['_labelPosition'],this[_0x11b817(0x306)]=(_0x3e5613=_0x714b['backgroundColor'])!=null?_0x3e5613:this[_0x11b817(0x306)],this[_0x11b817(0x17e)]({'width':_0x714b[_0x11b817(0x36b)],'height':_0x714b['height']});}[_0x4c5fe4(0x1fe)](_0xaed046){const _0x485c6d=_0x4c5fe4,{row:_0x12653a,column:_0x4282d4}=_0xaed046;if(_0x12653a>=this[_0x485c6d(0x3b7)][_0x485c6d(0x214)]&&_0x12653a<=this[_0x485c6d(0x3b7)][_0x485c6d(0x46d)]&&_0x4282d4>=this[_0x485c6d(0x3b7)]['startColumn']&&_0x4282d4<=this[_0x485c6d(0x3b7)]['endColumn']){this[_0x485c6d(0x1fb)]({'hovered':!0x0});return;}this[_0x485c6d(0x1fb)]({'hovered':!0x1});}[_0x4c5fe4(0x305)](_0x3d7f08){return!0x1;}[_0x4c5fe4(0x390)](_0x4b2c68){const _0x54ac81=_0x4c5fe4;_0x4672ea[_0x54ac81(0x17f)][_0x54ac81(0x466)](_0x4b2c68,{'width':this[_0x54ac81(0x36b)],'height':this[_0x54ac81(0x272)],'strokeWidth':_0x58c9f6,'stroke':this[_0x54ac81(0x22f)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x54ac81(0x3be)]&&(_0x4b2c68['save'](),_0x4b2c68[_0x54ac81(0x428)](0x1,0x0,0x0,0x1,this[_0x54ac81(0x36b)],this[_0x54ac81(0x365)]===_0x54ac81(0x442)?0x0:-_0x41d721),_0x237d4b['drawWith'](_0x4b2c68,{'text':this[_0x54ac81(0x18d)],'color':this[_0x54ac81(0x22f)]}),_0x4b2c68[_0x54ac81(0x283)]());}}var _0x54c704=Object['getOwnPropertyDescriptor'],_0x95784e=(_0x413c2c,_0x44070b,_0x3e539a,_0x285c06)=>{for(var _0x29b5a3=_0x285c06>0x1?void 0x0:_0x285c06?_0x54c704(_0x44070b,_0x3e539a):_0x44070b,_0x26b24d=_0x413c2c['length']-0x1,_0x151c2f;_0x26b24d>=0x0;_0x26b24d--)(_0x151c2f=_0x413c2c[_0x26b24d])&&(_0x29b5a3=_0x151c2f(_0x29b5a3)||_0x29b5a3);return _0x29b5a3;},_0x5f2ddf=(_0x23103c,_0x574268)=>(_0x3121c5,_0x45efe5)=>_0x574268(_0x3121c5,_0x45efe5,_0x23103c);const _0x3565ed=0x1389;let _0x13ef75=class extends _0x513c5a['RxDisposable']{constructor(_0x470f07,_0xcf8861,_0x1150df,_0xa003b6){const _0x1dd531=_0x4c5fe4;super(),_0x49e871(this,'_cursors',new Set()),_0x49e871(this,_0x1dd531(0x2b5),null),(this['_context']=_0x470f07,this[_0x1dd531(0x3b9)]=_0xcf8861,this['_collabCursorController']=_0x1150df,this[_0x1dd531(0x212)]=_0xa003b6,this[_0x1dd531(0x3d3)]());}[_0x4c5fe4(0x3d3)](){const _0x5283cb=_0x4c5fe4;this[_0x5283cb(0x3b9)]['currentSkeleton$']['pipe'](_0x523890[_0x5283cb(0x22b)](this[_0x5283cb(0x256)]),_0x523890[_0x5283cb(0x452)](_0x4cd7d5=>{const _0x163f67=_0x5283cb;if(_0x4cd7d5){const _0xaec9f=_0x4cd7d5['sheetId'];return _0x44d779['combineLatest'](this[_0x163f67(0x23a)][_0x163f67(0x467)](this['_context'][_0x163f67(0x3ed)]),this[_0x163f67(0x212)][_0x163f67(0x3a7)])[_0x163f67(0x23c)](_0x523890[_0x163f67(0x2b4)](([_0x29840a,_0x462e68])=>{const _0x20ccc1=new Map();return _0x29840a['forEach']((_0x1a2bd9,_0xe95a7b)=>{const _0x281927=_0x1a49;if(_0x1a2bd9[_0x281927(0x383)]===_0xaec9f){const _0x56d77d={..._0x1a2bd9};_0x56d77d[_0x281927(0x2c7)]=this[_0x281927(0x212)]['getColorFromTheme'](_0x1a2bd9[_0x281927(0x2c7)]),_0x20ccc1[_0x281927(0x26a)](_0xe95a7b,_0x56d77d);}}),{'skeleton':_0x4cd7d5,'cursors':_0x20ccc1};}));}return _0x44d779['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9f835,cursors:_0x5d72e1})=>{const _0x4c4c46=_0x5283cb;this['_removeCollabCursors'](),_0x9f835&&this[_0x4c4c46(0x450)](_0x9f835,_0x5d72e1);}),this[_0x5283cb(0x3b9)][_0x5283cb(0x1ae)][_0x5283cb(0x33d)](_0x47e6e5=>{const _0x391ca5=_0x5283cb;if(_0x47e6e5==null)return;const {skeleton:_0xd30ed6}=_0x47e6e5,{scene:_0x53b186}=this[_0x391ca5(0x3c8)];_0x53b186[_0x391ca5(0x42b)]['subscribeEvent'](_0x513c5a[_0x391ca5(0x1b6)](_0x474c9a=>{const _0x20017a=_0x391ca5;var _0x3f4cb5,_0x5b97b0;const {offsetX:_0xdbd922,offsetY:_0x1322b2}=_0x474c9a,{x:_0x2a3377,y:_0x40612a}=_0x53b186['getRelativeToViewportCoord'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0xdbd922,_0x1322b2])),{scaleX:_0x2d4188,scaleY:_0x1e965e}=_0x53b186['getAncestorScale'](),_0x1e8639=_0x53b186['getViewport'](_0x4672ea[_0x20017a(0x360)][_0x20017a(0x3b6)]),_0x5112af=_0x53b186['getVpScrollXYInfoByPosToVp'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0x2a3377,_0x40612a]),_0x1e8639),_0x3af268=_0xd30ed6[_0x20017a(0x209)](_0xdbd922,_0x1322b2,_0x2d4188,_0x1e965e,_0x5112af);((_0x3f4cb5=this[_0x20017a(0x2b5)])==null?void 0x0:_0x3f4cb5[_0x20017a(0x46c)])===_0x3af268['column']&&((_0x5b97b0=this[_0x20017a(0x2b5)])==null?void 0x0:_0x5b97b0[_0x20017a(0x459)])===_0x3af268[_0x20017a(0x459)]||this['_cursors'][_0x20017a(0x292)](_0x5b163c=>{_0x5b163c['onMouseMove'](_0x3af268);});},0x64));});}[_0x4c5fe4(0x450)](_0x488881,_0x539811){const _0x3915ce=_0x4c5fe4;var _0x857427;const _0x1fd78b=(_0x857427=this['_sheetSkeletonManagerService'][_0x3915ce(0x236)]())==null?void 0x0:_0x857427[_0x3915ce(0x311)];if(!_0x1fd78b)return;const _0x34e264=this[_0x3915ce(0x2f7)]();if(!_0x34e264)return;this[_0x3915ce(0x3e7)][_0x3915ce(0x292)](_0x2ef712=>{const _0x4d062e=_0x3915ce;_0x2ef712[_0x4d062e(0x357)]();});const {scene:_0x14f2ff}=_0x34e264,_0xf814f5=_0x4c2272(Array[_0x3915ce(0x2e2)](_0x539811[_0x3915ce(0x258)]()))['map'](_0x51978d=>{const _0xad91f8=_0x3915ce,{color:_0x1ba5a4,range:_0x612d02,name:_0x2037ed,selection:_0x25a411,sheetID:_0x171df0}=_0x51978d,{startColumn:_0x59d0df,startRow:_0x28393e,endColumn:_0x4aa38b,endRow:_0x3d4cb5}=_0x612d02,_0x175584=_0x33b767['getCoordByCell'](_0x28393e,_0x59d0df,_0x14f2ff,_0x1fd78b),_0x449877=_0x33b767['getCoordByCell'](_0x3d4cb5,_0x4aa38b,_0x14f2ff,_0x1fd78b),{columnHeaderHeightAndMarginTop:_0x45e4ab}=_0x1fd78b,{startX:_0x395f88,startY:_0x4be987}=_0x175584,{endX:_0x2fa036,endY:_0x34bd3d}=_0x449877,_0x11f286=_0x2fa036-_0x395f88,_0x30f6b9=_0x34bd3d-_0x4be987,_0xd5770d={'labelPosition':_0x4be987-_0x45e4ab>=_0x41d721?_0xad91f8(0x2bc):'bottom','sheetID':_0x171df0,'range':_0x612d02,'color':_0x1ba5a4,'name':_0x2037ed,'selection':_0x25a411,'left':_0x395f88,'top':_0x4be987,'width':_0x11f286,'height':_0x30f6b9,'evented':!0x1,'zIndex':_0x3565ed};return new _0x39b2dd(_0x2037ed,_0xd5770d);});_0x14f2ff[_0x3915ce(0x2ea)](_0xf814f5,_0x340e35),this[_0x3915ce(0x3e7)]=new Set(_0xf814f5);}[_0x4c5fe4(0x37c)](){const _0x2d35df=_0x4c5fe4;var _0x4a97b5;(_0x4a97b5=this[_0x2d35df(0x3e7)])==null||_0x4a97b5[_0x2d35df(0x292)](_0x28f77d=>_0x28f77d[_0x2d35df(0x2b1)]());}[_0x4c5fe4(0x2f7)](){const _0x355209=_0x4c5fe4;return _0x33b767['getSheetObject'](this[_0x355209(0x3c8)][_0x355209(0x2cb)],this[_0x355209(0x3c8)]);}};_0x13ef75=_0x95784e([_0x5f2ddf(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x33b767[_0x4c5fe4(0x1f6)])),_0x5f2ddf(0x2,_0x513c5a['Inject'](_0xdc7b15)),_0x5f2ddf(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x2ec)]))],_0x13ef75);function _0x4c2272(_0x420342){const _0x5f3e2f=_0x4c5fe4,_0x1558cd=new Map();return _0x420342[_0x5f3e2f(0x292)](_0x109f5c=>{const _0x535a73=_0x5f3e2f;if(_0x1558cd['has'](_0x109f5c[_0x535a73(0x1b4)])){const _0x54a487=_0x1558cd[_0x535a73(0x1c5)](_0x109f5c[_0x535a73(0x1b4)]);_0x54a487['name']+=',\x20'+_0x109f5c[_0x535a73(0x1a6)];}else _0x1558cd[_0x535a73(0x26a)](_0x109f5c[_0x535a73(0x1b4)],_0x109f5c);}),Array[_0x5f3e2f(0x2e2)](_0x1558cd[_0x5f3e2f(0x258)]());}var _0x5a96bd=Object[_0x4c5fe4(0x43d)],_0x3bb85f=(_0x5223c4,_0x5e8594,_0x54665a,_0x203cb2)=>{const _0x4fcec3=_0x4c5fe4;for(var _0xe88753=_0x203cb2>0x1?void 0x0:_0x203cb2?_0x5a96bd(_0x5e8594,_0x54665a):_0x5e8594,_0x395382=_0x5223c4[_0x4fcec3(0x27e)]-0x1,_0x39163a;_0x395382>=0x0;_0x395382--)(_0x39163a=_0x5223c4[_0x395382])&&(_0xe88753=_0x39163a(_0xe88753)||_0xe88753);return _0xe88753;},_0x5b0a97=(_0xe5a20,_0x10924d)=>(_0x478dea,_0x1bee5b)=>_0x10924d(_0x478dea,_0x1bee5b,_0xe5a20);let _0x562633=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x27531a,_0x403735,_0x4d1a1d,_0x441050,_0x22645f,_0x17a578){const _0x4cb635=_0x4c5fe4;super(),this[_0x4cb635(0x20b)]=_0x27531a,this[_0x4cb635(0x1bc)]=_0x403735,this['_collaborationUIEventService']=_0x4d1a1d,this['_messageService']=_0x441050,this[_0x4cb635(0x29d)]=_0x22645f,this['_localeService']=_0x17a578,this[_0x4cb635(0x288)](),this['_initEvent']();}[_0x4c5fe4(0x288)](){const _0x2339f2=_0x4c5fe4;this[_0x2339f2(0x2c6)](this[_0x2339f2(0x20b)][_0x2339f2(0x415)](()=>{const _0x3da81f=_0x2339f2;if(this[_0x3da81f(0x1bc)][_0x3da81f(0x43a)][_0x3da81f(0x217)])return this[_0x3da81f(0x2d5)]['t']('collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x5f42af=_0x4c5fe4;this['disposeWithMe'](this[_0x5f42af(0x397)]['event$'][_0x5f42af(0x33d)](_0x253a89=>{const _0x19a273=_0x5f42af;_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x364)]&&this[_0x19a273(0x3a3)]['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x391))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x27d)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)]['PERMISSION_DENIED']&&this['_notificationService'][_0x19a273(0x218)]({'title':this[_0x19a273(0x2d5)]['t']('permission.title'),'content':this['_localeService']['t'](_0x19a273(0x473)),'type':_0x19a273(0x2e8),'duration':0x0}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x247)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))+'('+_0x253a89[_0x19a273(0x393)]+')'}),_0x253a89['id']===_0x1b7c3e['CollaborationUIEventId'][_0x19a273(0x394)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x253a89[_0x19a273(0x393)]||'')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x344)]&&this['_messageService']['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this['_localeService']['t'](_0x19a273(0x46f))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x302)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t']('session.connection-failed')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x21a)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x31b))});}));}};_0x562633=_0x3bb85f([_0x5b0a97(0x0,_0x2b894c['IBeforeCloseService']),_0x5b0a97(0x1,_0x1b7c3e[_0x4c5fe4(0x30b)]),_0x5b0a97(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1e4)])),_0x5b0a97(0x3,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x5b0a97(0x4,_0x2b894c[_0x4c5fe4(0x3e2)]),_0x5b0a97(0x5,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x186)]))],_0x562633);var _0x508467=Object[_0x4c5fe4(0x43d)],_0x54ec4d=(_0x3e465f,_0x484e28,_0x5b1aa3,_0x3fdd9d)=>{const _0x23e545=_0x4c5fe4;for(var _0x449583=_0x3fdd9d>0x1?void 0x0:_0x3fdd9d?_0x508467(_0x484e28,_0x5b1aa3):_0x484e28,_0x4b05c6=_0x3e465f[_0x23e545(0x27e)]-0x1,_0x1f25c3;_0x4b05c6>=0x0;_0x4b05c6--)(_0x1f25c3=_0x3e465f[_0x4b05c6])&&(_0x449583=_0x1f25c3(_0x449583)||_0x449583);return _0x449583;},_0x1ae665=(_0x3dc639,_0x2b9a95)=>(_0x1f5230,_0x1554c2)=>_0x2b9a95(_0x1f5230,_0x1554c2,_0x3dc639);let _0xd68c02=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x25b092,_0x33bc86,_0x30ba50,_0x179976){const _0x20bb0d=_0x4c5fe4;super(),_0x49e871(this,_0x20bb0d(0x22e)),(this[_0x20bb0d(0x231)]=_0x25b092,this[_0x20bb0d(0x280)]=_0x33bc86,this[_0x20bb0d(0x19d)]=_0x30ba50,this[_0x20bb0d(0x2b2)]=_0x179976,this[_0x20bb0d(0x3d3)]());}['_init'](){const _0x19cfb2=_0x4c5fe4;this[_0x19cfb2(0x2fd)](),this[_0x19cfb2(0x3ee)](),this[_0x19cfb2(0x2e3)](),this[_0x19cfb2(0x3dd)]();}[_0x4c5fe4(0x3dd)](){const _0x13e049=_0x4c5fe4;this['disposeWithMe'](this[_0x13e049(0x2b2)][_0x13e049(0x313)][_0x13e049(0x33d)](_0x1a293e=>{const _0x6cc852=_0x13e049;this['_memberID']=_0x1a293e==null?void 0x0:_0x1a293e[_0x6cc852(0x2e1)];}));}['_initWindowErrorListener'](){const _0xd98c25=_0x4c5fe4,_0x1f76d5=_0x1ffb72=>{const _0x4f4d43=_0x1a49;var _0x2c6948;this[_0x4f4d43(0x252)]('error',_0x4f4d43(0x41f)+_0x1ffb72['message']+_0x4f4d43(0x270)+_0x1ffb72[_0x4f4d43(0x3ca)]+':'+_0x1ffb72[_0x4f4d43(0x3f2)]+':'+_0x1ffb72[_0x4f4d43(0x36f)]+'\x0a'+(((_0x2c6948=_0x1ffb72[_0x4f4d43(0x2e8)])==null?void 0x0:_0x2c6948[_0x4f4d43(0x1f9)])||''));};window['addEventListener']('error',_0x1f76d5),this[_0xd98c25(0x2c6)](()=>{const _0x276081=_0xd98c25;window['removeEventListener'](_0x276081(0x2e8),_0x1f76d5);});}[_0x4c5fe4(0x3ee)](){const _0xd27f06=_0x4c5fe4,_0x5c8982=_0x3f9e2f=>{const _0x5383ab=_0x1a49;this[_0x5383ab(0x252)](_0x5383ab(0x2e8),_0x5383ab(0x343)+_0x3f9e2f[_0x5383ab(0x1d7)]);};window['addEventListener'](_0xd27f06(0x25a),_0x5c8982),this[_0xd27f06(0x2c6)](()=>{const _0xb6cf23=_0xd27f06;window[_0xb6cf23(0x3d9)](_0xb6cf23(0x25a),_0x5c8982);});}['_monkeyPatchLogService'](){const _0x1156be=_0x4c5fe4,_0x1037fb=this['_logService'][_0x1156be(0x2e8)][_0x1156be(0x3ad)](this['_logService']);this['_logService']['error']=(..._0x4f7d61)=>{const _0x23801b=_0x1156be,_0x4666cb=_0x4f7d61[_0x23801b(0x2b4)](_0x64b3d8=>_0x64b3d8 instanceof Error?_0x64b3d8[_0x23801b(0x264)]+'\x0a'+_0x64b3d8['stack']:String(_0x64b3d8))[_0x23801b(0x39b)]('\x20');this['_uploadLog'](_0x23801b(0x2e8),_0x23801b(0x44c)+_0x4666cb),_0x1037fb(..._0x4f7d61);},this[_0x1156be(0x2c6)](()=>{const _0x5ddfe5=_0x1156be;this[_0x5ddfe5(0x19d)][_0x5ddfe5(0x2e8)]=_0x1037fb;});}[_0x4c5fe4(0x252)](_0x49018d,_0x4b5119){const _0x4ce4ec=_0x4c5fe4;try{const _0x3d98a0={'userId':this[_0x4ce4ec(0x22e)],'logLabel':_0x49018d,'content':_0x4b5119};this[_0x4ce4ec(0x280)][_0x4ce4ec(0x3f0)](_0x4ce4ec(0x249),{'body':_0x3d98a0})[_0x4ce4ec(0x334)](()=>{});}catch{}}};_0xd68c02=_0x54ec4d([_0x1ae665(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1ae665(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x1ae665(0x2,_0x513c5a[_0x4c5fe4(0x469)]),_0x1ae665(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xd68c02);const _0x53d765='collaboration-client-ui.config',_0x43cb2d={};var _0x57ccd1=Object[_0x4c5fe4(0x43d)],_0x5c50c1=(_0x2039cd,_0x28291d,_0x3beeb3,_0x286fb6)=>{for(var _0x19e7ab=_0x286fb6>0x1?void 0x0:_0x286fb6?_0x57ccd1(_0x28291d,_0x3beeb3):_0x28291d,_0x28aa7e=_0x2039cd['length']-0x1,_0x18f90e;_0x28aa7e>=0x0;_0x28aa7e--)(_0x18f90e=_0x2039cd[_0x28aa7e])&&(_0x19e7ab=_0x18f90e(_0x19e7ab)||_0x19e7ab);return _0x19e7ab;},_0x34aa73=(_0x4287e6,_0x2e519f)=>(_0x23b896,_0x5a24a8)=>_0x2e519f(_0x23b896,_0x5a24a8,_0x4287e6);let _0x387262=class{constructor(_0x46228a,_0xe402c3){const _0xcb1d3d=_0x4c5fe4;this[_0xcb1d3d(0x2d0)]=_0x46228a,this[_0xcb1d3d(0x27c)]=_0xe402c3;}[_0x4c5fe4(0x29e)](_0x595f47){const _0x34f77e=_0x4c5fe4;this['_transformUndoRedoStack'](_0x595f47),this[_0x34f77e(0x356)](_0x595f47);}['transformRemoteChangeset'](_0xc777d){const _0x2331dd=_0x4c5fe4,{unitID:_0x114658}=_0xc777d,_0x37d876=this['_renderManagerService']['getRenderById'](_0x114658)[_0x2331dd(0x190)](_0x216a55[_0x2331dd(0x437)]),{redoCache:_0x5e3db1}=_0x37d876[_0x2331dd(0x268)]();if(_0x5e3db1[_0x2331dd(0x27e)]===0x0)return _0xc777d;let _0x4e23ea=_0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d[_0x2331dd(0x315)][0x0]);for(let _0x29b4b2=0x0;_0x29b4b2<_0x5e3db1[_0x2331dd(0x27e)];_0x29b4b2++){const _0x1df53b={'id':_0x2331dd(0x319),'params':{..._0x5e3db1[_0x29b4b2]}},_0x2c027e=this['_transformService'][_0x2331dd(0x1f2)](_0x4e23ea,_0x1df53b,!0x1);if(_0x191313[_0x2331dd(0x3d1)](_0x2c027e))throw _0x2c027e['error'];_0x4e23ea=_0x2c027e[_0x2331dd(0x1ac)];}return{..._0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d),'mutations':[_0x4e23ea]};}['_transformUndoRedoStack'](_0x28414d){const _0x1899fd=_0x4c5fe4,{unitID:_0x5db705}=_0x28414d,_0x25e184=this[_0x1899fd(0x27c)][_0x1899fd(0x2c0)](_0x5db705)[_0x1899fd(0x190)](_0x216a55[_0x1899fd(0x437)]),{undoCache:_0x2b3db1,redoCache:_0x498978}=_0x25e184[_0x1899fd(0x268)]();if(_0x2b3db1[_0x1899fd(0x27e)]===0x0||_0x498978[_0x1899fd(0x27e)]===0x0)return;const _0x6e1de4=[],_0x275e80=[];let _0x535e83=_0x513c5a[_0x1899fd(0x3c3)][_0x1899fd(0x274)](_0x28414d[_0x1899fd(0x315)][0x0]),_0xe22400=_0x513c5a['Tools'][_0x1899fd(0x274)](_0x28414d['mutations'][0x0]);for(let _0x23e1c1=_0x2b3db1[_0x1899fd(0x27e)]-0x1;_0x23e1c1>=0x0;_0x23e1c1--){const _0x19d75a={'id':_0x1899fd(0x319),'params':{..._0x2b3db1[_0x23e1c1]}},_0x3e24f5={'id':_0x1899fd(0x319),'params':{..._0x498978[_0x23e1c1]}},_0x244ef7=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0x535e83,_0x19d75a,!0x1),_0x2b79=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0xe22400,_0x3e24f5,!0x1);if(_0x191313[_0x1899fd(0x3d1)](_0x244ef7))throw _0x244ef7[_0x1899fd(0x2e8)];if(_0x191313['isTransformMutationFailure'](_0x2b79))throw _0x2b79['error'];_0x6e1de4['unshift'](_0x244ef7['m2Prime'][_0x1899fd(0x32c)]),_0x275e80['unshift'](_0x2b79[_0x1899fd(0x2d8)][_0x1899fd(0x32c)]),_0x535e83=_0x244ef7[_0x1899fd(0x1ac)],_0xe22400=_0x2b79['m1Prime'];}_0x25e184[_0x1899fd(0x24e)]({'undoCache':_0x6e1de4,'redoCache':_0x275e80});}['_transformPreviousActiveRange'](_0x4c10b3){const _0x2431f0=_0x4c5fe4,{unitID:_0x178394}=_0x4c10b3,_0x57b888=this[_0x2431f0(0x27c)]['getRenderById'](_0x178394)[_0x2431f0(0x190)](_0x216a55[_0x2431f0(0x437)]),_0x3e7ab1=_0x57b888[_0x2431f0(0x3d7)]();if(_0x3e7ab1==null)return;const _0x2e8e1e=[{'id':_0x2431f0(0x319),'params':{'unitId':_0x4c10b3[_0x2431f0(0x18a)],'actions':null,'textRanges':[_0x3e7ab1]}}],_0x35f9a4=this['_transformService'][_0x2431f0(0x1f3)](_0x4c10b3,_0x2e8e1e);if(!_0x191313[_0x2431f0(0x20f)](_0x35f9a4))throw _0x35f9a4[_0x2431f0(0x2e8)];const _0xc22709=_0x35f9a4[_0x2431f0(0x2d8)][0x0][_0x2431f0(0x32c)]['textRanges'];Array[_0x2431f0(0x38f)](_0xc22709)&&_0xc22709[_0x2431f0(0x27e)]&&_0x57b888[_0x2431f0(0x443)](_0xc22709[0x0]);}};_0x387262=_0x5c50c1([_0x34aa73(0x0,_0x191313[_0x4c5fe4(0x281)]),_0x34aa73(0x1,_0x4672ea['IRenderManagerService'])],_0x387262);var _0x3bd505=Object['getOwnPropertyDescriptor'],_0x3faec2=(_0x3eb467,_0x3b99e4,_0x2406fc,_0x233727)=>{const _0x4f68ca=_0x4c5fe4;for(var _0x5eb638=_0x233727>0x1?void 0x0:_0x233727?_0x3bd505(_0x3b99e4,_0x2406fc):_0x3b99e4,_0x46ad24=_0x3eb467[_0x4f68ca(0x27e)]-0x1,_0x3da499;_0x46ad24>=0x0;_0x46ad24--)(_0x3da499=_0x3eb467[_0x46ad24])&&(_0x5eb638=_0x3da499(_0x5eb638)||_0x5eb638);return _0x5eb638;},_0x2817c3=(_0x1093e1,_0x3dd6de)=>(_0x32ae73,_0x594228)=>_0x3dd6de(_0x32ae73,_0x594228,_0x1093e1);let _0x4d6bb8=class{constructor(_0x467127,_0x13fa14,_0x33b874){const _0xa1cbe3=_0x4c5fe4;this[_0xa1cbe3(0x231)]=_0x467127,this[_0xa1cbe3(0x2d0)]=_0x13fa14,this[_0xa1cbe3(0x2df)]=_0x33b874;}[_0x4c5fe4(0x213)](_0x907171){this['_transformHistoryAndStateStack'](_0x907171);}['transformRemoteChangeset'](_0x20a023){const _0x51c5c2=_0x4c5fe4,{unitID:_0x120b06}=_0x20a023,{collaboration:_0x5ae7f0}=this[_0x51c5c2(0x2df)][_0x51c5c2(0x3bf)](_0x120b06);if(_0x5ae7f0[_0x51c5c2(0x27e)]===0x0)return _0x20a023;let _0x45069c=_0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023[_0x51c5c2(0x315)][0x0]);for(let _0xcb8d8f=0x0;_0xcb8d8f<_0x5ae7f0[_0x51c5c2(0x27e)];_0xcb8d8f++){const _0x38f0f8={'id':_0x51c5c2(0x319),'params':{'unitId':_0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x3ed)],..._0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x374)]}},_0x17c600=this[_0x51c5c2(0x2d0)][_0x51c5c2(0x1f2)](_0x45069c,_0x38f0f8,!0x1);if(_0x191313[_0x51c5c2(0x3d1)](_0x17c600))throw _0x17c600['error'];_0x45069c=_0x17c600[_0x51c5c2(0x1ac)];}return{..._0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023),'mutations':[_0x45069c]};}[_0x4c5fe4(0x2fe)](_0x36c394){const _0x556842=_0x4c5fe4,{unitID:_0x3f9efd}=_0x36c394,{history:_0x3b6c4b,collaboration:_0x49c43c}=this[_0x556842(0x2df)][_0x556842(0x3bf)](_0x3f9efd);if(_0x3b6c4b[_0x556842(0x27e)]===0x0&&_0x49c43c[_0x556842(0x27e)]===0x0)return;const _0x2d44f2=[],_0x4fbf09=[];let _0x1f5c23=_0x513c5a[_0x556842(0x3c3)][_0x556842(0x274)](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools']['deepClone'](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x1cff6d=_0x3b6c4b[_0x556842(0x27e)]-0x1;_0x1cff6d>=0x0;_0x1cff6d--){const _0x316154={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b6c4b[_0x1cff6d][_0x556842(0x3ed)],..._0x3b6c4b[_0x1cff6d][_0x556842(0x28b)]}},_0x17f1f0={'id':_0x556842(0x319),'params':{'unitId':_0x3b6c4b[_0x1cff6d]['unitId'],..._0x3b6c4b[_0x1cff6d]['redoState']}},_0x4dcc34=this[_0x556842(0x2d0)]['transformMutation'](_0x1f5c23,_0x316154,!0x1),_0x1d1885=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x17f1f0,!0x1);if(_0x191313[_0x556842(0x3d1)](_0x4dcc34))throw _0x4dcc34['error'];if(_0x191313[_0x556842(0x3d1)](_0x1d1885))throw _0x1d1885['error'];_0x2d44f2['unshift']({..._0x3b6c4b[_0x1cff6d],'undoState':_0x4dcc34[_0x556842(0x2d8)]['params'],'redoState':_0x1d1885[_0x556842(0x2d8)][_0x556842(0x32c)]}),_0x1f5c23=_0x4dcc34[_0x556842(0x1ac)],_0x3f8a13=_0x1d1885[_0x556842(0x1ac)];}_0x1f5c23=_0x513c5a[_0x556842(0x3c3)]['deepClone'](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools'][_0x556842(0x274)](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x319fb7=_0x49c43c[_0x556842(0x27e)]-0x1;_0x319fb7>=0x0;_0x319fb7--){const _0x5a7e6a={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7][_0x556842(0x28b)]}},_0x46869f={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7]['redoState']}},_0x2c3734=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x1f5c23,_0x5a7e6a,!0x1),_0xa260d5=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x46869f,!0x1);if(_0x191313['isTransformMutationFailure'](_0x2c3734))throw _0x2c3734[_0x556842(0x2e8)];if(_0x191313[_0x556842(0x3d1)](_0xa260d5))throw _0xa260d5[_0x556842(0x2e8)];_0x4fbf09['unshift']({..._0x49c43c[_0x319fb7],'undoState':_0x2c3734[_0x556842(0x2d8)][_0x556842(0x32c)],'redoState':_0xa260d5[_0x556842(0x2d8)]['params']}),_0x1f5c23=_0x2c3734[_0x556842(0x1ac)],_0x3f8a13=_0xa260d5[_0x556842(0x1ac)];}this['_docStateChangeManagerService'][_0x556842(0x3f9)](_0x3f9efd,{'history':_0x2d44f2,'collaboration':_0x4fbf09});}};_0x4d6bb8=_0x3faec2([_0x2817c3(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x2817c3(0x1,_0x191313[_0x4c5fe4(0x281)]),_0x2817c3(0x2,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)]))],_0x4d6bb8);var _0x6fdb91=Object[_0x4c5fe4(0x43d)],_0x5aed6a=(_0x473637,_0x3fac19,_0x2c7244,_0x216398)=>{const _0x32a2b1=_0x4c5fe4;for(var _0x2ee24c=_0x216398>0x1?void 0x0:_0x216398?_0x6fdb91(_0x3fac19,_0x2c7244):_0x3fac19,_0x3fa0dd=_0x473637[_0x32a2b1(0x27e)]-0x1,_0x52e34b;_0x3fa0dd>=0x0;_0x3fa0dd--)(_0x52e34b=_0x473637[_0x3fa0dd])&&(_0x2ee24c=_0x52e34b(_0x2ee24c)||_0x2ee24c);return _0x2ee24c;},_0x33ef3f=(_0x18fd13,_0x465767)=>(_0x53539d,_0x16c125)=>_0x465767(_0x53539d,_0x16c125,_0x18fd13);let _0x3eccda=class{constructor(_0x455d14,_0x4cd2e6){const _0x504792=_0x4c5fe4;this[_0x504792(0x231)]=_0x455d14,this['_transformService']=_0x4cd2e6;}[_0x4c5fe4(0x276)](_0x46b6ad){const _0x4ad197=_0x4c5fe4;var _0xeffd14;const _0x43e2ad=this[_0x4ad197(0x231)][_0x4ad197(0x1c5)](_0x702727[_0x4ad197(0x29f)]),_0x39b7e9=(_0xeffd14=_0x43e2ad[_0x4ad197(0x317)]())!=null?_0xeffd14:[];if(_0x39b7e9[_0x4ad197(0x27e)]===0x0)return;const _0x5bedb2=_0x46b6ad[_0x4ad197(0x18a)],_0x528acc=[{'id':_0x4ad197(0x319),'params':{'unitId':_0x5bedb2,'actions':null,'textRanges':_0x39b7e9}}],_0x5eca48=this[_0x4ad197(0x2d0)][_0x4ad197(0x1f3)](_0x46b6ad,_0x528acc);if(!_0x191313['isTransformMutationsWithChangesetSuccess'](_0x5eca48))throw _0x5eca48[_0x4ad197(0x2e8)];const _0x6aa663=_0x5eca48['m2Prime'][0x0][_0x4ad197(0x32c)][_0x4ad197(0x478)];Array[_0x4ad197(0x38f)](_0x6aa663)&&_0x6aa663['length']&&_0x43e2ad[_0x4ad197(0x2a2)](_0x6aa663,{'unitId':_0x5bedb2,'subUnitId':_0x5bedb2},!0x1);}};_0x3eccda=_0x5aed6a([_0x33ef3f(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x33ef3f(0x1,_0x191313['ITransformService'])],_0x3eccda);var _0x369a92=Object['getOwnPropertyDescriptor'],_0x17d777=(_0x3f929f,_0x8daa15,_0x4f0f5f,_0x4741a9)=>{const _0x515a4f=_0x4c5fe4;for(var _0x54cf8a=_0x4741a9>0x1?void 0x0:_0x4741a9?_0x369a92(_0x8daa15,_0x4f0f5f):_0x8daa15,_0x14a6e5=_0x3f929f[_0x515a4f(0x27e)]-0x1,_0x52c225;_0x14a6e5>=0x0;_0x14a6e5--)(_0x52c225=_0x3f929f[_0x14a6e5])&&(_0x54cf8a=_0x52c225(_0x54cf8a)||_0x54cf8a);return _0x54cf8a;},_0x4725e2=(_0x102464,_0x40552e)=>(_0x40bf41,_0x13077a)=>_0x40552e(_0x40bf41,_0x13077a,_0x102464);let _0x226639=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x4b34ca,_0x79bceb,_0x65855a,_0x2096be,_0x1971de,_0xbff301,_0x4461f2,_0x2b6ed5){const _0x6017e=_0x4c5fe4;super(),_0x49e871(this,_0x6017e(0x266),new _0x44d779[(_0x6017e(0x47a))](_0x1b7c3e[_0x6017e(0x2f1)][_0x6017e(0x2ef)])),(this['_docStateChangeManagerService']=_0x4b34ca,this[_0x6017e(0x3e1)]=_0x79bceb,this[_0x6017e(0x380)]=_0x65855a,this['_docTransformStateCacheService']=_0x2096be,this[_0x6017e(0x199)]=_0x1971de,this[_0x6017e(0x2cf)]=_0xbff301,this[_0x6017e(0x3a3)]=_0x4461f2,this['_localeService']=_0x2b6ed5,this[_0x6017e(0x44d)]());}[_0x4c5fe4(0x44d)](){const _0x165360=_0x4c5fe4;this[_0x165360(0x2c6)](this[_0x165360(0x3e1)]['entityInit$'][_0x165360(0x33d)](_0x1c8e3d=>{const _0x4d549a=_0x165360,_0x4cb86f=this[_0x4d549a(0x2df)][_0x4d549a(0x3f6)][_0x4d549a(0x33d)](_0x52db3e=>{const _0x4fb885=_0x4d549a;if(_0x52db3e==null)return;const {unitId:_0x4cc3a1,redoState:_0x5d285f,commandId:_0x3c4769}=_0x52db3e;if(_0x4cc3a1!==_0x1c8e3d['unitID'])return;const _0x5eede6={'id':_0x3c4769,'type':_0x513c5a[_0x4fb885(0x295)][_0x4fb885(0x308)],'params':{'unitId':_0x4cc3a1,'actions':_0x5d285f['actions'],'textRanges':null}};_0x1c8e3d[_0x4fb885(0x1f4)](_0x5eede6);});if(_0x1c8e3d['disposeWithMe'](_0x4cb86f),_0x1c8e3d instanceof _0x1b7c3e[_0x4d549a(0x2d3)]){const _0x1b29d9={'onTransformIME':_0x368d16=>this[_0x4d549a(0x380)]['transformIMECache'](_0x368d16),'onTransformState':_0x391c74=>this['_docTransformStateCacheService'][_0x4d549a(0x213)](_0x391c74),'onTransformSelections':_0x1f0776=>this[_0x4d549a(0x199)][_0x4d549a(0x276)](_0x1f0776),'onSyncEditingCollabCursor':_0x33d3b4=>this[_0x4d549a(0x2cf)]['syncEditingCollabCursor'](_0x33d3b4),'onTransformRemoteChangesetByIMECache':_0xd29d98=>this[_0x4d549a(0x380)][_0x4d549a(0x3ff)](_0xd29d98),'onTransformRemoteChangesetByStateCache':_0x4e5376=>this[_0x4d549a(0x2a7)][_0x4d549a(0x3ff)](_0x4e5376)};_0x1c8e3d[_0x4d549a(0x41e)](_0x1b29d9);}}));}};_0x226639=_0x17d777([_0x4725e2(0x0,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)])),_0x4725e2(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x4725e2(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x387262)),_0x4725e2(0x3,_0x513c5a['Inject'](_0x4d6bb8)),_0x4725e2(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x3eccda)),_0x4725e2(0x5,_0x513c5a['Inject'](_0x2ccf5b)),_0x4725e2(0x6,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x4725e2(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x226639);var _0x4c2a62=(_0x54b387=>(_0x54b387[_0x54b387['UNDEFINED']=0x0]=_0x4c5fe4(0x19e),_0x54b387[_0x54b387['OK']=0x1]='OK',_0x54b387[_0x54b387['INTERNAL_ERROR']=0x2]=_0x4c5fe4(0x19c),_0x54b387[_0x54b387['PERMISSION_DENIED']=0x3]=_0x4c5fe4(0x412),_0x54b387[_0x54b387[_0x4c5fe4(0x32e)]=0x4]=_0x4c5fe4(0x32e),_0x54b387[_0x54b387[_0x4c5fe4(0x28a)]=0x5]=_0x4c5fe4(0x28a),_0x54b387[_0x54b387['ALREADY_EXISTS']=0x6]=_0x4c5fe4(0x22d),_0x54b387[_0x54b387['INVALID_ARGUMENT']=0x7]=_0x4c5fe4(0x1af),_0x54b387[_0x54b387[_0x4c5fe4(0x2fc)]=0x8]=_0x4c5fe4(0x2fc),_0x54b387[_0x54b387[_0x4c5fe4(0x447)]=0x9]=_0x4c5fe4(0x447),_0x54b387[_0x54b387[_0x4c5fe4(0x3d5)]=0xa]='LOGIN_FAILED',_0x54b387[_0x54b387[_0x4c5fe4(0x32a)]=0xb]=_0x4c5fe4(0x32a),_0x54b387[_0x54b387[_0x4c5fe4(0x2d2)]=0xc]=_0x4c5fe4(0x2d2),_0x54b387[_0x54b387['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4c5fe4(0x3bb),_0x54b387[_0x54b387[_0x4c5fe4(0x34a)]=0xe]=_0x4c5fe4(0x34a),_0x54b387[_0x54b387[_0x4c5fe4(0x1bd)]=0xf]=_0x4c5fe4(0x1bd),_0x54b387[_0x54b387[_0x4c5fe4(0x378)]=0x10]=_0x4c5fe4(0x378),_0x54b387[_0x54b387[_0x4c5fe4(0x224)]=0x64]=_0x4c5fe4(0x224),_0x54b387[_0x54b387[_0x4c5fe4(0x181)]=0x65]=_0x4c5fe4(0x181),_0x54b387[_0x54b387[_0x4c5fe4(0x376)]=0xc9]=_0x4c5fe4(0x376),_0x54b387[_0x54b387[_0x4c5fe4(0x384)]=0xca]=_0x4c5fe4(0x384),_0x54b387[_0x54b387[_0x4c5fe4(0x3bc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54b387[_0x54b387['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x54b387[_0x54b387[_0x4c5fe4(0x21f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54b387[_0x54b387[_0x4c5fe4(0x3eb)]=0x1773]=_0x4c5fe4(0x3eb),_0x54b387[_0x54b387[_0x4c5fe4(0x36a)]=0x1b59]=_0x4c5fe4(0x36a),_0x54b387[_0x54b387[_0x4c5fe4(0x1db)]=0x1b5a]=_0x4c5fe4(0x1db),_0x54b387[_0x54b387[_0x4c5fe4(0x1e7)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54b387[_0x54b387[_0x4c5fe4(0x26c)]=0x1b5c]=_0x4c5fe4(0x26c),_0x54b387[_0x54b387['APPLY_DUPLICATED']=0x1b5d]=_0x4c5fe4(0x465),_0x54b387[_0x54b387[_0x4c5fe4(0x3f3)]=0x1f41]=_0x4c5fe4(0x3f3),_0x54b387[_0x54b387['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c5fe4(0x3b0),_0x54b387[_0x54b387[_0x4c5fe4(0x427)]=0x232a]=_0x4c5fe4(0x427),_0x54b387[_0x54b387[_0x4c5fe4(0x41c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54b387[_0x54b387['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c5fe4(0x33f),_0x54b387[_0x54b387[_0x4c5fe4(0x26f)]=0x232d]=_0x4c5fe4(0x26f),_0x54b387[_0x54b387[_0x4c5fe4(0x251)]=0x2711]=_0x4c5fe4(0x251),_0x54b387[_0x54b387['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c5fe4(0x2d9),_0x54b387[_0x54b387[_0x4c5fe4(0x373)]=0x2713]=_0x4c5fe4(0x373),_0x54b387[_0x54b387[_0x4c5fe4(0x3cc)]=0x2714]=_0x4c5fe4(0x3cc),_0x54b387[_0x54b387['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54b387[_0x54b387['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4c5fe4(0x3fb),_0x54b387[_0x54b387['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x54b387[_0x54b387[_0x4c5fe4(0x28f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x54b387[_0x54b387[_0x4c5fe4(0x45f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54b387[_0x54b387[_0x4c5fe4(0x1f5)]=0x271f]=_0x4c5fe4(0x1f5),_0x54b387[_0x54b387['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c5fe4(0x299),_0x54b387[_0x54b387['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4c5fe4(0x347),_0x54b387[_0x54b387['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c5fe4(0x18e),_0x54b387[_0x54b387['INVALID_INVITE_CODE']=0x2ee2]=_0x4c5fe4(0x43f),_0x54b387[_0x54b387[_0x4c5fe4(0x3e3)]=0x2ee3]=_0x4c5fe4(0x3e3),_0x54b387[_0x54b387['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x54b387[_0x54b387[_0x4c5fe4(0x1c2)]=0x2ee5]=_0x4c5fe4(0x1c2),_0x54b387[_0x54b387[_0x4c5fe4(0x336)]=0x32c9]=_0x4c5fe4(0x336),_0x54b387[_0x54b387[_0x4c5fe4(0x2fb)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54b387[_0x54b387['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54b387[_0x54b387[_0x4c5fe4(0x3de)]=0x36b1]=_0x4c5fe4(0x3de),_0x54b387[_0x54b387[_0x4c5fe4(0x1d0)]=0x36b2]=_0x4c5fe4(0x1d0),_0x54b387[_0x54b387['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4c5fe4(0x2be),_0x54b387[_0x54b387[_0x4c5fe4(0x263)]=0x36b4]=_0x4c5fe4(0x263),_0x54b387[_0x54b387[_0x4c5fe4(0x275)]=0x36b5]=_0x4c5fe4(0x275),_0x54b387[_0x54b387[_0x4c5fe4(0x44b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x54b387[_0x54b387[_0x4c5fe4(0x400)]=0x36b7]=_0x4c5fe4(0x400),_0x54b387[_0x54b387[_0x4c5fe4(0x278)]=0x36b8]=_0x4c5fe4(0x278),_0x54b387[_0x54b387[_0x4c5fe4(0x3c4)]=0x3715]=_0x4c5fe4(0x3c4),_0x54b387[_0x54b387[_0x4c5fe4(0x260)]=0x3716]=_0x4c5fe4(0x260),_0x54b387[_0x54b387['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4c5fe4(0x3b5),_0x54b387[_0x54b387[_0x4c5fe4(0x45e)]=0x37dd]=_0x4c5fe4(0x45e),_0x54b387[_0x54b387[_0x4c5fe4(0x2cc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x54b387[_0x54b387['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x4c5fe4(0x27f),_0x54b387[_0x54b387[_0x4c5fe4(0x446)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x54b387[_0x54b387[_0x4c5fe4(0x26b)]=0x3a9c]=_0x4c5fe4(0x26b),_0x54b387[_0x54b387[_0x4c5fe4(0x261)]=0x3a9d]=_0x4c5fe4(0x261),_0x54b387[_0x54b387[_0x4c5fe4(0x3ba)]=0x3a9e]=_0x4c5fe4(0x3ba),_0x54b387[_0x54b387[_0x4c5fe4(0x2e0)]=0x3a9f]=_0x4c5fe4(0x2e0),_0x54b387[_0x54b387[_0x4c5fe4(0x30c)]=0x3e81]=_0x4c5fe4(0x30c),_0x54b387[_0x54b387['UNRECOGNIZED']=-0x1]=_0x4c5fe4(0x3e0),_0x54b387))(_0x4c2a62||{});function _0x27baa8(_0x30287c){const _0x7ecda3=_0x4c5fe4;var _0x4ef093,_0x42bf8b;const _0x415d3d=(_0x4ef093=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x4ef093[_0x7ecda3(0x2a1)],_0x256a5d=((_0x42bf8b=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x42bf8b[_0x7ecda3(0x242)])||0x0;return _0x415d3d===_0x5f233a['FormulaExecuteStageType'][_0x7ecda3(0x24a)]&&_0x256a5d>0x0;}function _0x231460(_0x4df672){const _0x158081=_0x4c5fe4;return _0x4df672[_0x158081(0x340)]===_0x5f233a['FormulaExecutedStateType'][_0x158081(0x352)];}var _0x1df3bc=Object['getOwnPropertyDescriptor'],_0x28975a=(_0x11e957,_0x269556,_0x3c45f7,_0x2ceb7d)=>{const _0x1d4bde=_0x4c5fe4;for(var _0x2adc07=_0x2ceb7d>0x1?void 0x0:_0x2ceb7d?_0x1df3bc(_0x269556,_0x3c45f7):_0x269556,_0x42655c=_0x11e957[_0x1d4bde(0x27e)]-0x1,_0x2af20f;_0x42655c>=0x0;_0x42655c--)(_0x2af20f=_0x11e957[_0x42655c])&&(_0x2adc07=_0x2af20f(_0x2adc07)||_0x2adc07);return _0x2adc07;},_0x2208db=(_0x43e436,_0x899946)=>(_0x412224,_0x2823f8)=>_0x899946(_0x412224,_0x2823f8,_0x43e436);const _0x3072b4=_0x4c5fe4(0x44f),_0x37ecdf=_0x4c5fe4(0x21e),_0x272a1c='/universer-api/license/formula/limit/done';let _0x150160=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0xc04242,_0x54511d,_0x307131,_0x3dc269,_0x790c18,_0xf7dd01,_0x723bcb){const _0x46dc30=_0x4c5fe4;super(),_0x49e871(this,_0x46dc30(0x440),null),_0x49e871(this,_0x46dc30(0x1de),0x0),_0x49e871(this,_0x46dc30(0x192),0x0),_0x49e871(this,_0x46dc30(0x476),[]),_0x49e871(this,_0x46dc30(0x338),0x0),(this['_messageService']=_0xc04242,this[_0x46dc30(0x210)]=_0x54511d,this[_0x46dc30(0x2aa)]=_0x307131,this['_httpService']=_0x3dc269,this['_univerInstanceService']=_0x790c18,this[_0x46dc30(0x19d)]=_0xf7dd01,this[_0x46dc30(0x2d5)]=_0x723bcb,this[_0x46dc30(0x2b3)]());}['_initCommandInterceptor'](){const _0x43eded=_0x4c5fe4;this['disposeWithMe'](this[_0x43eded(0x210)][_0x43eded(0x323)]((_0x5317df,_0x17d2a8)=>{const _0x11e709=_0x43eded;var _0x4c5d6f;if(_0x5317df['id']!==_0x5f233a['SetFormulaCalculationStartMutation']['id'])return;const _0x7144e1=_0x5317df['params'];if(!this['_hasFormulaInDirtyRanges']((_0x4c5d6f=_0x7144e1['dirtyRanges'])!=null?_0x4c5d6f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x11e709(0x39e)](_0x5317df,_0x17d2a8),this[_0x11e709(0x33e)](),new _0x513c5a[(_0x11e709(0x3c9))]();})),this[_0x43eded(0x2c6)](this[_0x43eded(0x210)][_0x43eded(0x1c8)]((_0x68b610,_0x56d6fb)=>{const _0x27a03e=_0x43eded;if(_0x68b610['id']!==_0x5f233a[_0x27a03e(0x418)]['id'])return;const _0x3e46b4=_0x68b610[_0x27a03e(0x32c)];if(_0x27baa8(_0x3e46b4)){const _0x551a8a=_0x513c5a[_0x27a03e(0x345)]();this['_taskIds']['push'](_0x551a8a),this[_0x27a03e(0x1e9)](_0x551a8a);}else{if(_0x231460(_0x3e46b4)&&this['_taskIds'][_0x27a03e(0x27e)]>0x0){const _0x3fe53b=this[_0x27a03e(0x476)][_0x27a03e(0x432)]();this[_0x27a03e(0x3d4)](_0x3fe53b);}}}));}[_0x4c5fe4(0x2b1)](){const _0x119192=_0x4c5fe4;super['dispose'](),this[_0x119192(0x351)](),this[_0x119192(0x476)]=[],this[_0x119192(0x192)]=0x0,this[_0x119192(0x1de)]=0x0,this[_0x119192(0x338)]=0x0;}async[_0x4c5fe4(0x39e)](_0x5e3137,_0x1540b1){const _0x23bbdf=_0x4c5fe4;for(let _0x3c3bbd=0x0;_0x3c3bbd<0x1e;_0x3c3bbd++)try{if(await this[_0x23bbdf(0x439)](),this[_0x23bbdf(0x371)]()){this[_0x23bbdf(0x410)](_0x5e3137,_0x1540b1),this[_0x23bbdf(0x3a3)][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x2b8)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Success']});return;}await new Promise(_0x59b62d=>{const _0x365cf4=_0x23bbdf;this[_0x365cf4(0x440)]=window[_0x365cf4(0x35a)](_0x59b62d,0x3e8);});}catch(_0x996b2){this[_0x23bbdf(0x19d)][_0x23bbdf(0x2e8)](_0x996b2);}this['_messageService'][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x25f)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Error']});}[_0x4c5fe4(0x410)](_0x4f47c4,_0x465248){const _0x7335e=_0x4c5fe4;try{this[_0x7335e(0x210)]['executeCommand'](_0x4f47c4['id'],_0x4f47c4['params'],_0x465248);}catch(_0x1e3a42){this['_logService'][_0x7335e(0x2e8)](_0x1e3a42);}}[_0x4c5fe4(0x2b9)](_0x31f184,_0x2ad56f){const _0x17ab32=_0x4c5fe4;_0x2ad56f<this[_0x17ab32(0x338)]||(this['_lastResponseTimestamp']=_0x2ad56f,this[_0x17ab32(0x1de)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x455)]),this[_0x17ab32(0x192)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x21d)]));}async[_0x4c5fe4(0x1e9)](_0x2cdeb2){const _0x455d95=_0x4c5fe4;var _0xe57d93,_0x360f1a;const _0x57a9cb=Date['now']();try{const _0x5cb39a=((_0xe57d93=this[_0x455d95(0x2aa)]['getConfig'](_0x1b7c3e[_0x455d95(0x1bb)]))==null?void 0x0:_0xe57d93[_0x455d95(0x20e)])||_0x37ecdf,_0x340a67=(await this[_0x455d95(0x280)]['post'](_0x5cb39a,{'body':JSON['stringify']({'taskId':_0x2cdeb2})}))[_0x455d95(0x377)];if(((_0x360f1a=_0x340a67[_0x455d95(0x2e8)])==null?void 0x0:_0x360f1a[_0x455d95(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x340a67['limitInfo'],_0x57a9cb);}catch(_0x1fb0df){this[_0x455d95(0x19d)][_0x455d95(0x2e8)](_0x1fb0df);}}async['_getFormulaLimitStatus'](_0x90c61c){const _0x224395=_0x4c5fe4;var _0x14e8f2,_0x456dae;const _0xe8f0bf=Date[_0x224395(0x2f5)]();try{const _0x3bef92=((_0x14e8f2=this[_0x224395(0x2aa)][_0x224395(0x402)](_0x1b7c3e[_0x224395(0x1bb)]))==null?void 0x0:_0x14e8f2[_0x224395(0x433)])||_0x3072b4,_0x4e4d66=_0x90c61c?_0x3bef92+'?taskId='+encodeURIComponent(_0x90c61c):_0x3bef92,_0x27d109=(await this[_0x224395(0x280)][_0x224395(0x1c5)](_0x4e4d66))[_0x224395(0x377)];if(((_0x456dae=_0x27d109[_0x224395(0x2e8)])==null?void 0x0:_0x456dae[_0x224395(0x1be)])!==_0x4c2a62['OK'])return;this[_0x224395(0x2b9)](_0x27d109[_0x224395(0x38e)],_0xe8f0bf);}catch(_0x379d32){this[_0x224395(0x19d)]['error'](_0x379d32);}}async[_0x4c5fe4(0x3d4)](_0xb71bec){const _0x1ec121=_0x4c5fe4;var _0x568d6b,_0x728b5;const _0x52c760=Date['now']();try{const _0x80949f=((_0x568d6b=this['_configService'][_0x1ec121(0x402)](_0x1b7c3e[_0x1ec121(0x1bb)]))==null?void 0x0:_0x568d6b[_0x1ec121(0x23f)])||_0x272a1c,_0x229a51=(await this[_0x1ec121(0x280)][_0x1ec121(0x3f0)](_0x80949f,{'body':JSON['stringify']({'taskId':_0xb71bec})}))[_0x1ec121(0x377)];if(((_0x728b5=_0x229a51['error'])==null?void 0x0:_0x728b5[_0x1ec121(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x229a51[_0x1ec121(0x38e)],_0x52c760);}catch(_0xe66f88){this[_0x1ec121(0x19d)][_0x1ec121(0x2e8)](_0xe66f88);}}['_checkCalculationAvailable'](){const _0x1eb2eb=_0x4c5fe4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x1eb2eb(0x1de)]-this[_0x1eb2eb(0x192)]>0x0;}[_0x4c5fe4(0x351)](){const _0x55b17c=_0x4c5fe4;this[_0x55b17c(0x440)]&&(clearTimeout(this['_pollingInterval']),this[_0x55b17c(0x440)]=null);}[_0x4c5fe4(0x33e)](){const _0x3be18a=_0x4c5fe4;this[_0x3be18a(0x3a3)]['show']({'content':this[_0x3be18a(0x2d5)]['t'](_0x3be18a(0x2ee)),'type':_0x3fc2d4[_0x3be18a(0x1d5)][_0x3be18a(0x229)]});}[_0x4c5fe4(0x468)](_0x368fc7){const _0x4a3a6b=_0x4c5fe4;for(const _0x5e67c5 of _0x368fc7){const {unitId:_0x1a1ceb,sheetId:_0x3ce97d,range:_0x3bce77}=_0x5e67c5,_0x1745c0=this[_0x4a3a6b(0x3a4)][_0x4a3a6b(0x398)](_0x1a1ceb);if(!_0x1745c0)continue;const _0x29bcd2=_0x1745c0[_0x4a3a6b(0x2f2)](_0x3ce97d);if(!_0x29bcd2)continue;const _0x4e23dd=_0x29bcd2[_0x4a3a6b(0x1b8)]();for(let _0x58f190=_0x3bce77['startRow'];_0x58f190<=_0x3bce77[_0x4a3a6b(0x46d)];_0x58f190++)for(let _0x3b60dc=_0x3bce77[_0x4a3a6b(0x233)];_0x3b60dc<=_0x3bce77[_0x4a3a6b(0x189)];_0x3b60dc++){const _0x8eba3c=_0x4e23dd['getValue'](_0x58f190,_0x3b60dc);if(_0x8eba3c&&(_0x513c5a[_0x4a3a6b(0x2c5)](_0x8eba3c['f'])||_0x513c5a[_0x4a3a6b(0x1e1)](_0x8eba3c['si'])))return!0x0;}}return!0x1;}};_0x150160=_0x28975a([_0x2208db(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x2b894c[_0x4c5fe4(0x3ef)])),_0x2208db(0x1,_0x513c5a[_0x4c5fe4(0x444)]),_0x2208db(0x2,_0x513c5a['IConfigService']),_0x2208db(0x3,_0x513c5a['Inject'](_0x2e9ff2['HTTPService'])),_0x2208db(0x4,_0x513c5a[_0x4c5fe4(0x445)]),_0x2208db(0x5,_0x513c5a['ILogService']),_0x2208db(0x6,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x150160);var _0x231530=Object[_0x4c5fe4(0x43d)],_0x3d94f2=(_0xde1bb9,_0x411619,_0x7d3151,_0xfd8732)=>{const _0x425ca1=_0x4c5fe4;for(var _0xebf949=_0xfd8732>0x1?void 0x0:_0xfd8732?_0x231530(_0x411619,_0x7d3151):_0x411619,_0xd962fd=_0xde1bb9[_0x425ca1(0x27e)]-0x1,_0x47e2b4;_0xd962fd>=0x0;_0xd962fd--)(_0x47e2b4=_0xde1bb9[_0xd962fd])&&(_0xebf949=_0x47e2b4(_0xebf949)||_0xebf949);return _0xebf949;},_0x83808a=(_0x2c2b69,_0x52e53f)=>(_0x3584ba,_0x3cfe2f)=>_0x52e53f(_0x3584ba,_0x3cfe2f,_0x2c2b69);let _0x4554e9=class extends _0x513c5a['Disposable']{constructor(_0x2cd39e,_0x1c0a8f,_0x265a18){const _0x48f982=_0x4c5fe4;super(),_0x49e871(this,_0x48f982(0x3aa),new Map()),_0x49e871(this,_0x48f982(0x184),new Map()),_0x49e871(this,_0x48f982(0x46b),!0x1),(this[_0x48f982(0x2aa)]=_0x2cd39e,this['_localStorageService']=_0x1c0a8f,this[_0x48f982(0x25c)]=_0x265a18);}[_0x4c5fe4(0x42e)](){const _0x175873=_0x4c5fe4;this[_0x175873(0x46b)]=!0x0;}[_0x4c5fe4(0x1a4)](){const _0x44712a=_0x4c5fe4;this[_0x44712a(0x46b)]=!0x1;}get[_0x4c5fe4(0x43a)](){const _0x7520f3=_0x4c5fe4;return this[_0x7520f3(0x184)];}[_0x4c5fe4(0x2b1)](){const _0x3a75fa=_0x4c5fe4;this[_0x3a75fa(0x441)]()[_0x3a75fa(0x3f5)](()=>super[_0x3a75fa(0x2b1)]());}async[_0x4c5fe4(0x36d)](_0x55ef15){const _0x3938d0=_0x4c5fe4;return this[_0x3938d0(0x46b)]?null:this[_0x3938d0(0x35f)][_0x3938d0(0x2dd)](_0x1b7c3e['getLocalCacheKey'](_0x55ef15));}async[_0x4c5fe4(0x211)](_0x42bff4,_0x5d7667){const _0x4e4920=_0x4c5fe4;return!!this[_0x4e4920(0x35f)][_0x4e4920(0x265)](_0x42bff4,_0x5d7667);}[_0x4c5fe4(0x30e)](_0xadd6af,_0x2e223b,_0x5383d2,_0x5a86c4){const _0xa828c6=_0x4c5fe4,_0x4a029b=this[_0xa828c6(0x25c)]['getCurrentRevOfUnit'](_0xadd6af);this[_0xa828c6(0x3aa)]['set'](_0xadd6af,{'unitID':_0xadd6af,'type':_0x2e223b,'awaitingChangeset':_0x5383d2,'mutations':_0x5a86c4,'rev':_0x4a029b}),this[_0xa828c6(0x184)][_0xa828c6(0x3c0)](_0xadd6af)||this[_0xa828c6(0x388)](_0xadd6af);}[_0x4c5fe4(0x388)](_0x282be3){const _0x1344d5=_0x4c5fe4,_0x2ea132=this[_0x1344d5(0x458)]();_0x2ea132===0x0?this[_0x1344d5(0x290)](_0x282be3):this[_0x1344d5(0x184)]['set'](_0x282be3,setTimeout(()=>this[_0x1344d5(0x290)](_0x282be3),_0x2ea132));}[_0x4c5fe4(0x458)](){const _0x3304a5=_0x4c5fe4;var _0xb5403d;return(_0xb5403d=this[_0x3304a5(0x2aa)][_0x3304a5(0x402)](_0x1b7c3e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xb5403d:_0x1b7c3e[_0x3304a5(0x43c)];}['_saveCache'](_0x1d4d4f){const _0x22c098=_0x4c5fe4,_0x324ab1=this[_0x22c098(0x184)]['get'](_0x1d4d4f);return _0x324ab1!==void 0x0&&window[_0x22c098(0x198)](_0x324ab1),this[_0x22c098(0x35f)][_0x22c098(0x265)](_0x1b7c3e[_0x22c098(0x301)](_0x1d4d4f),this['_cachedData'][_0x22c098(0x1c5)](_0x1d4d4f))[_0x22c098(0x3f5)](()=>this[_0x22c098(0x184)][_0x22c098(0x250)](_0x1d4d4f));}async[_0x4c5fe4(0x441)](){const _0x1a6f59=_0x4c5fe4,_0x47fe28=[];this[_0x1a6f59(0x184)][_0x1a6f59(0x292)]((_0x200eab,_0x416278)=>{const _0xde0702=_0x1a6f59;window['clearTimeout'](_0x200eab),_0x47fe28[_0xde0702(0x1df)](this[_0xde0702(0x290)](_0x416278)['then'](()=>{const _0x183d91=_0xde0702;this[_0x183d91(0x184)][_0x183d91(0x250)](_0x416278);}));}),await Promise['all'](_0x47fe28);}};_0x4554e9=_0x3d94f2([_0x83808a(0x0,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x83808a(0x1,_0x513c5a[_0x4c5fe4(0x47b)]),_0x83808a(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x191313[_0x4c5fe4(0x3d6)]))],_0x4554e9);class _0x22939e extends _0x513c5a['RxDisposable']{constructor(){const _0x2137cd=_0x4c5fe4;super(),_0x49e871(this,_0x2137cd(0x2bb)),this[_0x2137cd(0x2bb)]=_0x44d779['fromEvent'](window,_0x2137cd(0x38a))['pipe'](_0x44d779[_0x2137cd(0x22b)](this[_0x2137cd(0x256)]),_0x44d779[_0x2137cd(0x1a1)](0x1),_0x44d779[_0x2137cd(0x3fe)](void 0x0));}['setParam'](_0x4221c6,_0x2fd56c,_0x51bd56=!0x1){const _0x243c94=_0x4c5fe4,_0x271c8b=new URL(window[_0x243c94(0x2a4)][_0x243c94(0x19b)]);_0x271c8b[_0x243c94(0x248)][_0x243c94(0x26a)](_0x4221c6,_0x2fd56c),_0x51bd56?window['history'][_0x243c94(0x194)]('','',_0x271c8b['toString']()):window[_0x243c94(0x39a)][_0x243c94(0x3af)]('','',_0x271c8b[_0x243c94(0x1a0)]());}[_0x4c5fe4(0x273)](_0x5e3144,_0x4051f1=!0x1){const _0x3f00e3=_0x4c5fe4,_0x39d84f=new URL(window[_0x3f00e3(0x2a4)]['href']);_0x39d84f['searchParams'][_0x3f00e3(0x250)](_0x5e3144),_0x4051f1?window['history'][_0x3f00e3(0x194)]('','',_0x39d84f[_0x3f00e3(0x1a0)]()):window['history']['pushState']('','',_0x39d84f[_0x3f00e3(0x1a0)]());}[_0x4c5fe4(0x34f)](_0x432164){const _0x4e3e1d=_0x4c5fe4;var _0xa9efa5;return(_0xa9efa5=new URL(window[_0x4e3e1d(0x2a4)]['href'])[_0x4e3e1d(0x248)][_0x4e3e1d(0x1c5)](_0x432164))!=null?_0xa9efa5:void 0x0;}}var _0x3b7f28=Object['defineProperty'],_0x6d04a6=Object[_0x4c5fe4(0x43d)],_0xd88566=(_0x176839,_0x2cf644,_0x15d6cc)=>_0x2cf644 in _0x176839?_0x3b7f28(_0x176839,_0x2cf644,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15d6cc}):_0x176839[_0x2cf644]=_0x15d6cc,_0xe7b9e7=(_0x588c4b,_0x10b775,_0x3c2562,_0x3b103c)=>{const _0x2368d5=_0x4c5fe4;for(var _0x59d53e=_0x3b103c>0x1?void 0x0:_0x3b103c?_0x6d04a6(_0x10b775,_0x3c2562):_0x10b775,_0x3cda28=_0x588c4b[_0x2368d5(0x27e)]-0x1,_0x548dca;_0x3cda28>=0x0;_0x3cda28--)(_0x548dca=_0x588c4b[_0x3cda28])&&(_0x59d53e=_0x548dca(_0x59d53e)||_0x59d53e);return _0x59d53e;},_0x45b29c=(_0x198cc6,_0x5d5c30)=>(_0x5e138d,_0x6ac9d7)=>_0x5d5c30(_0x5e138d,_0x6ac9d7,_0x198cc6),_0x2375c9=(_0x1084ee,_0x3197a2,_0x2ee76a)=>_0xd88566(_0x1084ee,_0x3197a2+'',_0x2ee76a);const _0x53dfa3=_0x4c5fe4(0x1c6);_0x1c2aca[_0x4c5fe4(0x285)]=class extends _0x513c5a[_0x4c5fe4(0x353)]{constructor(_0x346734=_0x43cb2d,_0x1ca81c,_0x1a1400,_0x246435){const _0xf48166=_0x4c5fe4;super(),this[_0xf48166(0x1a9)]=_0x346734,this[_0xf48166(0x27c)]=_0x1ca81c,this[_0xf48166(0x231)]=_0x1a1400,this[_0xf48166(0x2aa)]=_0x246435;const {..._0x511f7a}=_0x513c5a['merge']({},_0x43cb2d,this[_0xf48166(0x1a9)]);this[_0xf48166(0x2aa)][_0xf48166(0x3c7)](_0x53d765,_0x511f7a);}[_0x4c5fe4(0x286)](){const _0x47bafd=_0x4c5fe4;this['_registerDependencies'](),this[_0x47bafd(0x300)]();}[_0x4c5fe4(0x244)](){const _0x20f684=_0x4c5fe4;this[_0x20f684(0x463)]();}[_0x4c5fe4(0x2cd)](){const _0x29c11f=_0x4c5fe4;var _0x331281;const _0x1ec86f=[[_0x14caec],[_0x150160],[_0x3eccda],[_0x387262],[_0x4d6bb8],[_0x2ccf5b],[_0x24977f,{'useClass':_0x22939e}],[_0x2e9ff2['ISocketService'],{'useClass':_0x2e9ff2[_0x29c11f(0x318)]}],[_0x1b7c3e[_0x29c11f(0x30b)],{'useClass':_0x4554e9}],[_0x1c2aca['DesktopCollaborationStatusDisplayController']],[_0x226639],[_0x562633],[_0xdc7b15],[_0x400d71],[_0x1c2aca[_0x29c11f(0x408)]]];this[_0x29c11f(0x1a9)][_0x29c11f(0x25e)]&&_0x1ec86f[_0x29c11f(0x1df)]([_0xd68c02]),_0x513c5a[_0x29c11f(0x470)](this['_injector'],_0x513c5a[_0x29c11f(0x2ff)](_0x1ec86f,(_0x331281=this[_0x29c11f(0x1a9)])==null?void 0x0:_0x331281['override']));}[_0x4c5fe4(0x463)](){const _0x2aefad=_0x4c5fe4;this[_0x2aefad(0x2c6)](this['_renderManagerService'][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)][_0x2aefad(0x464)],[_0x373cd3])),this[_0x2aefad(0x2c6)](this[_0x2aefad(0x27c)][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)]['UNIVER_SHEET'],[_0x13ef75]));}[_0x4c5fe4(0x300)](){const _0x2c989d=_0x4c5fe4;_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xdc7b15],[_0x1c2aca[_0x2c989d(0x1aa)]],[_0x226639],[_0x562633],[_0x1c2aca[_0x2c989d(0x408)]],[_0x150160]]),this[_0x2c989d(0x1a9)][_0x2c989d(0x25e)]&&_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xd68c02]]);}},_0x2375c9(_0x1c2aca[_0x4c5fe4(0x285)],_0x4c5fe4(0x421),_0x53dfa3),_0x1c2aca['UniverCollaborationClientUIPlugin']=_0xe7b9e7([_0x513c5a['DependentOn'](_0x1b7c3e['UniverCollaborationClientPlugin']),_0x45b29c(0x1,_0x4672ea[_0x4c5fe4(0x337)]),_0x45b29c(0x2,_0x513c5a['Inject'](_0x513c5a['Injector'])),_0x45b29c(0x3,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x285)]);var _0x2b75ad=Object[_0x4c5fe4(0x43d)],_0x22aa89=(_0x1ca7b2,_0x2a78bb,_0xd519e6,_0x6b199f)=>{const _0x3bf392=_0x4c5fe4;for(var _0x1f5c05=_0x6b199f>0x1?void 0x0:_0x6b199f?_0x2b75ad(_0x2a78bb,_0xd519e6):_0x2a78bb,_0x2c0309=_0x1ca7b2[_0x3bf392(0x27e)]-0x1,_0x3ab7e7;_0x2c0309>=0x0;_0x2c0309--)(_0x3ab7e7=_0x1ca7b2[_0x2c0309])&&(_0x1f5c05=_0x3ab7e7(_0x1f5c05)||_0x1f5c05);return _0x1f5c05;},_0x32ecb8=(_0x1ae90d,_0x4524ec)=>(_0x4fdf2c,_0x2596eb)=>_0x4524ec(_0x4fdf2c,_0x2596eb,_0x1ae90d);_0x1c2aca['BrowserCollaborationSocketService']=class extends _0x1b7c3e[_0x4c5fe4(0x1e6)]{constructor(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a){super(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a);}async[_0x4c5fe4(0x3fc)](_0x507b02){const _0x3b3058=_0x4c5fe4,_0x4f7c46=await this[_0x3b3058(0x2ab)](),_0xa81b19=this[_0x3b3058(0x403)](_0x507b02,_0x4f7c46);return this[_0x3b3058(0x375)](_0xa81b19);}[_0x4c5fe4(0x403)](_0x58b30c,_0x14be88){const _0x5da585=_0x4c5fe4,_0x2c8561=typeof window>'u'?new URL(_0x58b30c):new URL(_0x58b30c,window[_0x5da585(0x2a4)][_0x5da585(0x2ae)]);_0x2c8561[_0x5da585(0x248)]['set'](_0x5da585(0x322),_0x14be88);const _0x4badbf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5da585(0x2a4)][_0x5da585(0x314)]);return _0x4badbf[_0x5da585(0x1c5)](_0x5da585(0x2bf))&&_0x2c8561[_0x5da585(0x248)][_0x5da585(0x26a)](_0x5da585(0x2bf),_0x4badbf['get'](_0x5da585(0x2bf))),_0x2c8561[_0x5da585(0x1a0)]();}async['_getSessionTicket'](){const _0x484d53=_0x4c5fe4;var _0x286990,_0x8a2a91,_0x199a3a;const _0xb803b7=this['_configService'][_0x484d53(0x402)](_0x1b7c3e[_0x484d53(0x1bb)]),_0x199e97=(_0x286990=_0xb803b7==null?void 0x0:_0xb803b7['wsSessionTicketUrl'])!=null?_0x286990:_0x1b7c3e[_0x484d53(0x2f3)];return(_0x199a3a=(_0x8a2a91=(await this[_0x484d53(0x280)][_0x484d53(0x1c5)](_0x199e97,{'headers':{'Content-Type':_0x484d53(0x23d)}}))[_0x484d53(0x377)])==null?void 0x0:_0x8a2a91[_0x484d53(0x21b)])!=null?_0x199a3a:'';}},_0x1c2aca['BrowserCollaborationSocketService']=_0x22aa89([_0x32ecb8(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x32ecb8(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2[_0x4c5fe4(0x1d2)])),_0x32ecb8(0x2,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x32ecb8(0x3,_0x513c5a[_0x4c5fe4(0x469)]),_0x32ecb8(0x4,_0x191313[_0x4c5fe4(0x32b)])],_0x1c2aca[_0x4c5fe4(0x262)]);var _0x406a8f=Object[_0x4c5fe4(0x43d)],_0x44ba42=(_0xe57b4e,_0x3a230c,_0x1921d1,_0x2d331e)=>{const _0x8a4805=_0x4c5fe4;for(var _0x1e4476=_0x2d331e>0x1?void 0x0:_0x2d331e?_0x406a8f(_0x3a230c,_0x1921d1):_0x3a230c,_0x339d41=_0xe57b4e[_0x8a4805(0x27e)]-0x1,_0x80f0d0;_0x339d41>=0x0;_0x339d41--)(_0x80f0d0=_0xe57b4e[_0x339d41])&&(_0x1e4476=_0x80f0d0(_0x1e4476)||_0x1e4476);return _0x1e4476;},_0x43921a=(_0x206d29,_0x3bfd82)=>(_0x454db6,_0x7b0339)=>_0x3bfd82(_0x454db6,_0x7b0339,_0x206d29);_0x1c2aca[_0x4c5fe4(0x2ce)]=class extends _0x513c5a['Disposable']{constructor(_0x4c290c,_0x5d4173,_0x7a64aa){const _0x4cb8db=_0x4c5fe4;super(),this['_instanceService']=_0x4c290c,this[_0x4cb8db(0x280)]=_0x5d4173,this[_0x4cb8db(0x2aa)]=_0x7a64aa;}async[_0x4c5fe4(0x19f)](_0x307081,_0x4be4b4,_0x372ed1,..._0x279e88){const _0x1fdfba=_0x4c5fe4;var _0x404f94,_0x100217,_0x4b530f,_0x1c289d;const _0x39f57e=this['_instanceService'][_0x1fdfba(0x475)]();if(!_0x39f57e)throw new Error(_0x1fdfba(0x453));const _0x214e9e=((_0x404f94=this[_0x1fdfba(0x2aa)][_0x1fdfba(0x402)](_0x1b7c3e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x404f94:_0x1b7c3e[_0x1fdfba(0x232)])+'/'+_0x307081+_0x1fdfba(0x1fc)+_0x4be4b4,_0xbb0c2b=new URL(window[_0x1fdfba(0x2a4)][_0x1fdfba(0x19b)]),_0x241c15={'scriptId':_0x307081,'runId':(_0x100217=_0xbb0c2b[_0x1fdfba(0x248)][_0x1fdfba(0x1c5)]('runId'))!=null?_0x100217:'','function':_0x4be4b4,'unitId':_0x39f57e[_0x1fdfba(0x1ca)](),'argsOfFunction':JSON[_0x1fdfba(0x227)](_0x279e88),'invokeId':(_0x4b530f=_0x372ed1[_0x1fdfba(0x392)])!=null?_0x4b530f:'','executionId':(_0x1c289d=_0x372ed1[_0x1fdfba(0x307)])!=null?_0x1c289d:''};try{const _0x3192ef=await this['_httpService'][_0x1fdfba(0x3f0)](_0x214e9e,{'body':_0x241c15});return _0x3192ef[_0x1fdfba(0x377)][_0x1fdfba(0x2e8)]&&_0x3192ef[_0x1fdfba(0x377)]['error'][_0x1fdfba(0x1be)]!==_0x4c2a62['OK']?_0x1fdfba(0x31e):_0x3192ef[_0x1fdfba(0x377)]['result'];}catch{return _0x1fdfba(0x31e);}}},_0x1c2aca[_0x4c5fe4(0x2ce)]=_0x44ba42([_0x43921a(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x43921a(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x43921a(0x2,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x2ce)]);const _0x53eaff=0x7530,_0x1b17be='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5f486b extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x373fcd=_0x4c5fe4;super(),_0x49e871(this,_0x373fcd(0x431),_0x513c5a[_0x373fcd(0x345)]()),_0x49e871(this,_0x373fcd(0x366),new Set()),_0x49e871(this,_0x373fcd(0x22c),new Map()),_0x49e871(this,_0x373fcd(0x2eb),null),_0x49e871(this,_0x373fcd(0x372),new Map()),_0x49e871(this,'_unitStatus',new Map()),this[_0x373fcd(0x3d3)]();}['dispose'](){const _0x26fe07=_0x4c5fe4;super['dispose'](),this[_0x26fe07(0x372)]['forEach']((_0x7262b3,_0x404eca)=>this['_removeClearOtherTimer'](_0x404eca)),this['_heartbeatTimer']&&window[_0x26fe07(0x271)](this[_0x26fe07(0x2eb)]);}['getUnitStatus$'](_0xfa1b33){const _0x186d65=_0x4c5fe4;return this[_0x186d65(0x33c)](_0xfa1b33)[_0x186d65(0x23c)](_0x44d779[_0x186d65(0x399)]());}[_0x4c5fe4(0x367)](_0x32b0d1){const _0x28991b=_0x4c5fe4;this['_selfUnitIDs']['size']===0x0&&this[_0x28991b(0x1b0)](),this[_0x28991b(0x366)]['add'](_0x32b0d1),this[_0x28991b(0x407)]({'type':0x0,'memberID':this[_0x28991b(0x431)],'unitIDs':[_0x32b0d1],'isForwarded':!0x1});}['disposeUnit'](_0x515952){const _0xba9439=_0x4c5fe4;this[_0xba9439(0x366)][_0xba9439(0x250)](_0x515952),this[_0xba9439(0x366)][_0xba9439(0x217)]===0x0&&this['_heartbeatTimer']&&window[_0xba9439(0x271)](this[_0xba9439(0x2eb)]);}[_0x4c5fe4(0x3d3)](){const _0x1547fd=_0x4c5fe4;this[_0x1547fd(0x2c6)](_0x513c5a[_0x1547fd(0x241)](_0x44d779[_0x1547fd(0x460)](window,_0x1547fd(0x1a8))['subscribe'](_0x22c42a=>{const _0x5a3e23=_0x1547fd;if(_0x22c42a[_0x5a3e23(0x1d9)]!==_0x1b17be||!_0x22c42a['newValue'])return;const _0x229305=JSON[_0x5a3e23(0x1ea)](_0x22c42a[_0x5a3e23(0x31f)]);this[_0x5a3e23(0x35c)](_0x229305);}))),window[_0x1547fd(0x368)](_0x1547fd(0x396),()=>this['_send']({'type':0x1,'memberID':this[_0x1547fd(0x431)],'unitIDs':Array[_0x1547fd(0x2e2)](this[_0x1547fd(0x366)])}));}['_handleEvent'](_0xdf1afb){const _0xfaf804=_0x4c5fe4;switch(_0xdf1afb['type']){case 0x0:this[_0xfaf804(0x1f1)](_0xdf1afb);break;case 0x1:this[_0xfaf804(0x422)](_0xdf1afb);break;case 0x2:this[_0xfaf804(0x34e)](_0xdf1afb);break;}}[_0x4c5fe4(0x1f1)](_0x6c7b10){const _0x3673a3=_0x4c5fe4,{unitIDs:_0x1c20e8,memberID:_0x4154be,isForwarded:_0x2e468d}=_0x6c7b10;_0x1c20e8[_0x3673a3(0x292)](_0x3b6399=>{const _0x2d9435=_0x3673a3;if(!_0x2e468d&&this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)&&this[_0x2d9435(0x33c)](_0x3b6399)[_0x2d9435(0x320)](_0x1b7c3e[_0x2d9435(0x293)][_0x2d9435(0x282)]),!this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)||!this['_unitOnClients'][_0x2d9435(0x1c5)](_0x3b6399)['has'](_0x4154be)){const _0x2485b4=this[_0x2d9435(0x22c)][_0x2d9435(0x1c5)](_0x3b6399)||new Set();_0x2485b4[_0x2d9435(0x40c)](_0x4154be),this[_0x2d9435(0x22c)]['set'](_0x3b6399,_0x2485b4),this['_scheduleClearOtherTimer'](_0x4154be);}}),_0x2e468d||this[_0x3673a3(0x407)]({'type':0x0,'memberID':this[_0x3673a3(0x431)],'unitIDs':[...this[_0x3673a3(0x366)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b1f93){const _0x276106=_0x4c5fe4;this['_removeClearOtherTimer'](_0x1b1f93);const _0x37bf88=window[_0x276106(0x35a)](()=>{const _0x1041b0=_0x276106;this[_0x1041b0(0x22c)]['forEach'](_0x48c0e8=>{const _0x36a1e6=_0x1041b0;_0x48c0e8[_0x36a1e6(0x250)](_0x1b1f93);});},_0x53eaff*0x2);this[_0x276106(0x372)][_0x276106(0x26a)](_0x1b1f93,_0x37bf88);}[_0x4c5fe4(0x19a)](_0xfac58a){const _0x135005=_0x4c5fe4;if(this[_0x135005(0x372)]['has'](_0xfac58a)){const _0x58cff5=this[_0x135005(0x372)]['get'](_0xfac58a);_0x58cff5&&window[_0x135005(0x198)](_0x58cff5),this[_0x135005(0x372)][_0x135005(0x26a)](_0xfac58a,null);}}[_0x4c5fe4(0x422)](_0xe73e01){const _0x23aadd=_0x4c5fe4,{memberID:_0x43933e,unitIDs:_0xd8a185}=_0xe73e01;_0xd8a185[_0x23aadd(0x292)](_0x1a409b=>{const _0x18498f=_0x23aadd;var _0x31c339;const _0x554925=this['_unitOnClients'][_0x18498f(0x1c5)](_0x1a409b);_0x554925&&(_0x554925[_0x18498f(0x250)](_0x43933e),(_0x31c339=this[_0x18498f(0x33c)](_0x1a409b))==null||_0x31c339[_0x18498f(0x320)](_0x554925['size']===0x0?_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x3c2)]:_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x282)]));}),this['_removeClearOtherTimer'](_0x43933e);}['_handleHeartbeatEvent'](_0x439d6f){const _0x10ea9b=_0x4c5fe4;this[_0x10ea9b(0x223)](_0x439d6f[_0x10ea9b(0x2e1)]);}[_0x4c5fe4(0x407)](_0x50c9c5){const _0x6f99c9=_0x4c5fe4;localStorage[_0x6f99c9(0x265)](_0x1b17be,JSON['stringify'](_0x50c9c5));}['_scheduleHeartbeat'](){const _0x57feb7=_0x4c5fe4;this[_0x57feb7(0x2eb)]=window[_0x57feb7(0x354)](()=>{const _0x8657c7=_0x57feb7;this[_0x8657c7(0x407)]({'type':0x2,'memberID':this[_0x8657c7(0x431)]});},_0x53eaff);}['_ensureSubject'](_0x3fecd4){const _0x2891ea=_0x4c5fe4;return this[_0x2891ea(0x3d0)][_0x2891ea(0x3c0)](_0x3fecd4)||this[_0x2891ea(0x3d0)][_0x2891ea(0x26a)](_0x3fecd4,new _0x44d779[(_0x2891ea(0x47a))](_0x1b7c3e['UnitStatus'][_0x2891ea(0x3c2)])),this[_0x2891ea(0x3d0)][_0x2891ea(0x1c5)](_0x3fecd4);}}_0x1c2aca['IURLService']=_0x24977f,_0x1c2aca['SheetCollabCursorShape']=_0x39b2dd,_0x1c2aca['WebBrowserSingleActiveUnitService']=_0x5f486b,_0x1c2aca[_0x4c5fe4(0x24b)]=_0x22939e,Object[_0x4c5fe4(0x2d4)](_0x1c2aca,Symbol[_0x4c5fe4(0x435)],{'value':_0x4c5fe4(0x297)});}));
|
|
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)});}));
|