@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260110-48b77c8 → 0.15.1-insiders.20260117-8ce4a01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x21aa(_0x20067f,_0x2a64ef){_0x20067f=_0x20067f-0x1a5;const _0x458ffe=_0x458f();let _0x21aae9=_0x458ffe[_0x20067f];return _0x21aae9;}function _0x458f(){const _0x445dcb=['collab-rect-range-','_initUnhandledRejectionListener','Loading','_themeService','Injector','getStateCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','removeEventListener','@univerjs/ui','transformStateCache','_hover','row','focused$','switchMap','getValue','RefRangeService','jsx','DisposableCollection','restore','...','UniverDrawing','_memberService','getCurrent','session.connection-failed','UniverEngineRender','REDEMPTION_CODE_INACTIVE','univer-flex\x20univer-items-center','INVITE_CODE_ALREADY_BOUND','registerDependencies','transformMutation','MoveRangeCommandId','UniverSheetsUi','clipPath','parseInt','type','_onRefRangeChange','@univerjs/network','_startSheetCollabCursor','m1Prime','setAlpha','unitID','MemberService','_renderManagerService','17840nhqPGw','_docClipboardService','RECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_sheetSkeletonManagerService','ITransformService','OFFLINE','FormulaExecuteStageType','8vYnuvL','selection','path','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/rpc','with','toRgbString','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','isArray','ALREADY_EXISTS','join','onMouseMove','SessionStatus','INVALID_INVITE_CODE','session.will-retry','contains','entityInit$','unitId','1em','APPLY_DUPLICATED','BehaviorSubject','error','_scene','InsertRowCommandId','YUUMI_ALL_TABLES_IS_INVALID','getAncestorScale','Failed','triggerDblclick','1968486MiRtyy','_updateLocalCursor','_monkeyPatchLogService','COLORS','getUnit','SYNCED','_entities','collabStatus.syncing','setStateCache','createElement','_collabCursorController','/universer-api/license/formula/limit/status','_entityInit$','min','_toggleOnline','YUUMI_RATE_OVER_LIMIT','BrowserCollaborationSocketService','all','filter','limitInfo','stage','shareReplay','addObjects','WebURLService','Module','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','PERMISSION_DENIED','_uploadLog','VIEW_MAIN','UniverSheets','getActiveSheet','toString','getCellMatrix','_drawRectRange','0\x200\x2017\x2016','_cursorShapes','toStringTag','DOC_RANGE_TYPE','CONFLICT','ICommandService','InsertRangeMoveRightCommandId','getCollabCursors$','startsWith','disposeUnit','releaseFormulaLimitUrl','getOwnPropertyDescriptor','REDEMPTION_USER_NOT_ELIGIBLE','colorChannel1','_unitOnClients','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','1534542ksvFRN','ENTITLE_COUPON_EXPIRED','SheetSkeletonManagerService','red.300','map','[Window\x20Error]:\x20','_hasFormulaInDirtyRanges','Subject','href','name','isTransformMutationFailure','unit','_session','\x20at\x20','_scheduleClearOtherTimer','LICENSE_IMPORT_SIZE_EXCEEDED','collab-client.tooltip.reconnect','_imageIoService','_configService','CollaborationController','useDependency','runOnServer','Unknown\x20user','UniverUi','displayName','_setupBeforeClosingHandler','getRenderById','_toggleOffline','tag','useCallback','font','memberID','WebSocketService','4644PKvfmh','getCellPositionByOffset','setInterval','SetFormulaCalculationStartMutation','ThemeService','_currentUsage','_univerInstanceService','_collabSessionService','_clearPolling','exports','searchParams','history','DeleteRangeMoveUpCommandId','loadOfflineData','_getScale','deepClone','ISocketService','on-line-icon_clip0_910_349','MOBILE_VERIFY_CODE_MISMATCH','hide','UniverInstanceType','addEventListener','univerjs-icon\x20univerjs-icon-','SheetsSelectionsService','_dataLoaderService','_setupSubUnitSync','collabStatus.fetchMiss','SetDocZoomRatioOperation','url(#on-line-icon_clip0_910_349)','dispose$','TEXT_RANGE_LAYER_INDEX','REDEMPTION_INVALID_CODE','@univerjs-pro/collaboration-client','YUUMI_AI_RUN_FAILED','handleInsertRangeMoveRight','handleInsertCol','xlink:href','_backgroundColor','RxDisposable','CollaborationStatus','_initEvent','setItem','eventID','YUUMI_UNABLE_LOAD_URL','USER_IS_ANONYMOUS','bind','_getAnchorBounding','currentUsage','#FFF','getUnhiddenWorksheets','height','_pollingInterval','current','runId','_logService','onPointerLeave$','params','_docTransformStateCacheService','AUTHORIZE_CODE_ILLEGAL','executeCommand','origin','debug','IBeforeCloseService','urlChange$','/run/','SUBMIT_CHANGESET_TIMEOUT','getRangePointData','INVALID_ARGUMENT','getCurrentRevOfUnit','_getSaveTimeout','@univerjs/engine-formula','jsxs','ENTITLE_INVALID_COUPON_CODE','getCoordByCell','onPointerMove$','_eventUnsubscribe','add','override','MUTATION','onRendered','_docSkeletonManagerService','_initResize','hovered','UnitStatus','show','assign','has','collaboration.single-unit.warning','reconnect','white','_id','LOGIN_FAILED','_initCommandInterceptor','Rectangle','transformRemoteChangeset','rxjs/operators','getVpScrollXYInfoByPosToVp','replaceState','random','loadUnit','NodePositionConvertToRectRange','requireSession','lineTo','transform','@univerjs/design','_roomMembers$','_status$','_notificationService','setTimeout','_cursor','getUnitId','_docStateChangeManagerService','_injector','useObservable','ENTITLE_CAN_NOT_BUY_LOWER_OTP','setUndoRedoMutationParamsCache','IImageIoService','_onCursorDelete','_transformUndoRedoStack','undoState','column','EMAIL_HAS_BEEN_BOUND','IConfigService','currentSkeleton$','_collabCursorState$','getColorFromTheme','_showGuardMessage','RevisionService','_getMergeRange','getConfig','_init','INTERNAL_ERROR','getItem','763271DKhjbW','getSheetBySheetId','handleDeleteRangeMoveUp','_clearOtherTimers','[Unhandled\x20Rejection]:\x20','dispose','getformulaLimitStatusUrl','_draw','_beforeCloseService','_cachedData','currentColor','generateRandomId','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationUIEventService','_drawTextRange','_lastResponseTimestamp','getUniverSheetInstance','yellow.400','max','bottom','USERS_LEAVE','endRow','Error','unshift','ranges','SNAPSHOT_HAS_BEEN_REMOVED','DesktopCollaborationStatusDisplayController','getRelativeToViewportCoord','COMPLETION_FINISHED','getActiveRange','AWAITING','ENTITLE_REPORT_LIMIT_EXCEED','CLOSE_ROOM','NOT_COLLAB','UniverRpc','_document','ILogService','_revisionService','_hovered','getOffsetConfig','registerComponent','forwardRef','_docSkeleton','ISnapshotServerService','init','DeleteRangeMoveLeftCommandId','UPDATE_CURSOR','_updateURLWithCurrentState','_selfUnitIDs','sessionTicket','set','whenReady','_collaborationController','sheetID','RemoteUniscriptService','onPointerEnter$','fill','connectInjector','_scheduleSaving','Plugin','_maxFormulaLimit','SetTextSelectionsOperation','filename','mask','_disabled','_messageService','addObject','react/jsx-runtime','_unitStatus','blue.400','_httpService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','saveTaskMap','doc.mutation.rich-text-editing','_localeService','@univerjs/drawing','SheetCollabCursorShape','isFormulaString','fillRule','_initStatusListener','UNAUTHENTICATED','defineProperty','IRemoteInstanceService','status$','activeSheet$','_assignedColors','UNDEFINED','_initUserListener','addClipboardHook','getMember','getViewport','clsx','3027455CCDHRZ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationDataLoaderController','functionsExecutedState','EffectRefRangId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformPreviousActiveRange','message','getDocRanges','url(#off-line-icon_clip0_910_343)','NOT_FOUND','disposeWithMe','ColorKit','APPLY_PERMISSION_DENIED','IMessageService','transformIMECache','color','range','SetSelectionsOperation','createInstance','_saveTaskMap','DocSelectionManagerService','source','drawWith','idSuffix','EMAIL_VERIFY_CODE_MISMATCH','startColumn','_getSheetObject','UniverCollaborationClientPlugin','APPLY_REJECT','collabStatus.offline','getParam','CHANGESET_REVISION_CONFILICT','roomMembers$','getTypeOfUnitDisposed$','LOGIN_TOKEN_PROCESSING_FAILED','_initEntityListener','unload','isEditing','_lastPointer','createIdentifier','roomMembers','_anchor','ENSURE_SNAPSHOT_EXECUTION','result','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','reason','_cursors','_docTransformIMECacheService','[LogService\x20Error]:\x20','getColor','parse','distinctUntilChanged','mergeOverrideWithDependencies','debounce','IRenderManagerService','object','_registerRenderDependencies','complete','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','entries','values','subscribeEvent','_context','_handleLeaveEvent','merge','_anchorDot','_ensureSubject','_localCacheService','Warning','_transformService','from','AWAITING_WITH_PENDING','WECHAT_HAS_BEEN_BOUND','rxjs','_colorAssignService','SHEET_VIEWPORT_KEY','_render','UniverEngineFormula','SetFormulaCalculationNotificationMutation','saveOfflineData','YUUMI_SUBSCRIPTION_NOT_FOUND','setParam','_initStatusComponent','includes','rgba(255,\x20255,\x20255,\x200.01)','clearTimeout','M0\x200H16V16H0z','Tooltip','YUUMI_URL_COL_OUT_OF_RANGE','onCommandExecuted','stack','NO_OTHER_CLIENTS_EDITING','takeUntil','registerRenderModule','_updateSubUnitFromURLParams','PY_RUNTIME_SCRIPT_ERROR','formula.calculation.started','getMergeData','permission.title','round','5676391Oxcgso','selections','ENTITLE_DUP_SUBSCRIPTION','removeParam','svg','_color','_instanceService','/universer-api/license/formula/limit/start','_cursorInfo$','JOIN_ROOM_FAILED','moveTo','Optional','4374jPeFLw','sheetId','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_INSUFFICIENT_QUOTA','_shapes','_setFormulaLimitStatus','REDEMPTION_CODE_NOT_STARTED','@univerjs/docs-ui','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','IURLService','pushState','storage','now','string','cursorInfo$','CollaborationSessionService','YUUMI_CONNECTOR_URL_NOT_FOUND','_getSessionTicket','evenodd','push','FETCH_MISS','body','isActive','_applyCommand','_handleJoinEvent','LICENSE_DISTRO_REJECTED','forEach','FormulaExecutedStateType','NodePositionConvertToCursor','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','arc','createSocket','INotificationService','docStateChange$','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','beforeCommandExecuted','DataLoaderService','HTTPService','onLocalMutation','save','_checkCalculationAvailable','_startDocCollabCursor','find','syncEditingCollabCursor','getCurrentUnitForType','pluginName','toDisposable','CollaborationSocketService','text','cursorInfo','pipe','Vector2','collaboration-client-ui.config','UNIVER_SHEET','deserializeRangeWithSheet','_updateCollabCursors','_collaborationSessionService','unhandledrejection','delete','0\x200\x2016\x2016','getSheetId','_createSocketURL','UniverDocs','useRef','PENDING','getUndoRedoMutationParamsCache','substring','UniverIcon','endColumn','getMemberID','univer-mr-2\x20univer-flex\x20univer-text-xl','_refreshCollabCursors','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','newValue','_syncEditingCollabCursorService','location','getLocalCacheKey','YUUMI_ASYNCIO_CANCELLED','post','_hideTimer','session.collaboration-timeout','width','labelPosition','USER_NOT_INVITED_CODE','runRefRangeMutations','registerRefRange','lineno','_online','Workbook','_handleHover','off-line-icon','flatMap','redoState','Inject','_initWindowErrorListener','handleDeleteRangeMoveLeft','/universer-api/frontend/logs','symbol','then','DocStateChangeManagerService','RemoveColCommandId','CURRENT_STATUS_CANNOT_OPERATE','_handleHeartbeatEvent','@univerjs/core','sessionStatus$','getFocusedUnit','_urlService','INVITE_CODE_HAS_BEEN_UES','debounceTime','get','permission.content','replace','Rect','8gTqTkk','UniverProCollaboration','serializeRangeWithSheet','collabCursorState$','operators','_removeCollabCursors','touchDependencies','replaceDocRanges','_initCommandExecutedListener','url(#$1','size','split','data','findNodePositionByCharIndex','getUnitStatus$','textRanges','ONLINE','[CollaborationDataLoaderController]','[RemoteUniscriptService]:\x20no\x20focused\x20unit','search','setActiveRange','LOCAL_CACHE_INTERVAL_KEY','_taskIds','IUniverInstanceService','OnLineIcon','currentTheme$','green.600','_refRangeService','_onCursorUpdate','React','imageSourceType','_labelPosition','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stageInfo','ENTITLE_COUPON_USED_UP','_removeClearOtherTimer','translate(.97)','_transformHistoryAndStateStack','transformSelections','asObservable','_docSyncEditingCollabCursorService','Tools','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','throttleTime','updateOfflineData','UNRECOGNIZED','setShapeProps','mapTo','trim','colno','subunit','REDEMPTION_CODE_FULLY_REDEEMED','UNIVER_DOC','DependentOn','_range','ENTITLE_NEED_BILLING_ADDRESS','resize','INVITE_CODE_REQUIRED','next','LOCAL_CACHE_INTERVAL','fillText','subscribe','RichTextEditingMutation','APPLY_NON_SEQUENTIAL_REVISION','_localStorageService','START_CALCULATION','stringify','_heartbeatTimer','black','_commandService','_drawAnchor','clearInterval','enableFrontendLog','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocIMEInputManagerService','attrs','code','assignAColorForMemberID','totalFormulasToCalculate','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_AGAIN','measureText','_checkAndWaitForCalculationPermission','div','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','backgroundColor','ILocalCacheService','fillStyle','ILocalStorageService','children','setConfig','BuiltInUIPart','handleInsertRow','startFormulaLimitUrl','amd','startRow','_collaborationUIEventService','_startCalculationLimit','isTransformMutationsWithChangesetSuccess','send','event$','TEXT','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','TOO_MANY_REQUESTS','_registerDependencies','MessageType','LICENSE_MAX_UNITS_EXCEEDED','OffLineIcon','_saveCache','SetWorksheetActivateCommand','maxFormulaLimit','wsSessionTicketUrl','_memberID','DATA_SOURCE_TOO_LARGE','REDEMPTION_CODE_HAS_BEEN_CREATED','exhaustSavingTask','dirtyRanges','http://www.w3.org/2000/svg','_name','application/json','none','collabStatus.notCollab','LocaleService','CollaborationUIEventId','FromArray','_colorIndex','_config','_docTransformSelectionsService','PAYMENT_CHANNEL_NOT_SUPPORT','socket$','fromEvent','UniverDocsUi','defs','_send','makeDirty','Disposable','CollaborationEvent','length','_textBubble','key','getCurrentSelections'];_0x458f=function(){return _0x445dcb;};return _0x458f();}(function(_0x410000,_0x342ead){const _0x2fff9d=_0x21aa,_0x8cb5ae=_0x410000();while(!![]){try{const _0x17639b=parseInt(_0x2fff9d(0x3ea))/0x1+-parseInt(_0x2fff9d(0x365))/0x2+parseInt(_0x2fff9d(0x311))/0x3+-parseInt(_0x2fff9d(0x2f5))/0x4*(-parseInt(_0x2fff9d(0x446))/0x5)+-parseInt(_0x2fff9d(0x344))/0x6+parseInt(_0x2fff9d(0x1b3))/0x7*(-parseInt(_0x2fff9d(0x233))/0x8)+-parseInt(_0x2fff9d(0x1bf))/0x9*(parseInt(_0x2fff9d(0x2ed))/0xa);if(_0x17639b===_0x342ead)break;else _0x8cb5ae['push'](_0x8cb5ae['shift']());}catch(_0xe79eeb){_0x8cb5ae['push'](_0x8cb5ae['shift']());}}}(_0x458f,0xa987f),function(_0x1cf26b,_0x2000a4){const _0x1f4e81=_0x21aa;typeof exports==_0x1f4e81(0x47e)&&typeof module<'u'?_0x2000a4(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x1f4e81(0x292)]?define([_0x1f4e81(0x36e),_0x1f4e81(0x42d),_0x1f4e81(0x385),_0x1f4e81(0x229),_0x1f4e81(0x2ca),_0x1f4e81(0x490),_0x1f4e81(0x3cd),'react',_0x1f4e81(0x2f9),'@univerjs/sheets','@univerjs/engine-render',_0x1f4e81(0x2e6),_0x1f4e81(0x1c6),_0x1f4e81(0x435),'@univerjs-pro/collaboration','@univerjs/docs',_0x1f4e81(0x3ab),_0x1f4e81(0x3c4),'@univerjs/sheets-ui'],_0x2000a4):(_0x1cf26b=typeof globalThis<'u'?globalThis:_0x1cf26b||self,_0x2000a4(_0x1cf26b['UniverProCollaborationClientUi']={},_0x1cf26b[_0x1f4e81(0x250)],_0x1cf26b['UniverProCollaborationClient'],_0x1cf26b['UniverCore'],_0x1cf26b[_0x1f4e81(0x35b)],_0x1cf26b[_0x1f4e81(0x490)],_0x1cf26b['UniverDesign'],_0x1cf26b[_0x1f4e81(0x250)],_0x1cf26b[_0x1f4e81(0x40c)],_0x1cf26b[_0x1f4e81(0x32f)],_0x1cf26b[_0x1f4e81(0x2da)],_0x1cf26b['UniverNetwork'],_0x1cf26b[_0x1f4e81(0x2b8)],_0x1cf26b[_0x1f4e81(0x2d6)],_0x1cf26b[_0x1f4e81(0x234)],_0x1cf26b[_0x1f4e81(0x1ff)],_0x1cf26b[_0x1f4e81(0x494)],_0x1cf26b[_0x1f4e81(0x490)][_0x1f4e81(0x237)],_0x1cf26b[_0x1f4e81(0x2e1)]));}(this,function(_0x46719c,_0x422050,_0x47c5ed,_0x3071e3,_0x2fdbef,_0x4dfa7e,_0xe2dc8e,_0x10864a,_0x278656,_0x4ccc17,_0x449944,_0x46431e,_0x39debf,_0x556ad4,_0x23de57,_0x4f248,_0x283787,_0x2f0e2e,_0x5317b2){'use strict';const _0xa0f417=_0x21aa;var _0x147196=Object[_0xa0f417(0x43b)],_0x4f4652=(_0x465bce,_0x3ed608,_0x442cc2)=>_0x3ed608 in _0x465bce?_0x147196(_0x465bce,_0x3ed608,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442cc2}):_0x465bce[_0x3ed608]=_0x442cc2,_0x4f1800=(_0x439440,_0x3df9be,_0x44c00a)=>_0x4f4652(_0x439440,typeof _0x3df9be!=_0xa0f417(0x223)?_0x3df9be+'':_0x3df9be,_0x44c00a);function _0x17ccd6({ref:_0x261609,..._0x52c36b}){const _0x55114b=_0xa0f417,{icon:_0x4c309a,id:_0x2e410d,className:_0x3853a1,extend:_0x1fe5c9,..._0xf87cd5}=_0x52c36b,_0xcd0384=(_0x55114b(0x37b)+_0x2e410d+'\x20'+(_0x3853a1||''))[_0x55114b(0x263)](),_0x36cce1=_0x10864a[_0x55114b(0x200)]('_'+_0x50bde2());return _0x3fb242(_0x4c309a,''+_0x2e410d,{'defIds':_0x4c309a['defIds'],'idSuffix':_0x36cce1[_0x55114b(0x399)]},{'ref':_0x261609,'className':_0xcd0384,..._0xf87cd5},_0x1fe5c9);}function _0x3fb242(_0x35af83,_0x51e02d,_0x4b31c7,_0x534cb8,_0x43a433){const _0x470fb0=_0xa0f417;return _0x10864a[_0x470fb0(0x31a)](_0x35af83[_0x470fb0(0x360)],{'key':_0x51e02d,..._0x51c042(_0x35af83,_0x4b31c7,_0x43a433),..._0x534cb8},(_0x17158e(_0x35af83,_0x4b31c7)[_0x470fb0(0x28d)]||[])[_0x470fb0(0x348)]((_0x31e878,_0x371aab)=>_0x3fb242(_0x31e878,_0x51e02d+'-'+_0x35af83[_0x470fb0(0x360)]+'-'+_0x371aab,_0x4b31c7,void 0x0,_0x43a433)));}function _0x51c042(_0x526ed6,_0xe4b872,_0x7dd50c){const _0x42614c=_0xa0f417,_0x244bed={..._0x526ed6[_0x42614c(0x27e)]};_0x7dd50c!=null&&_0x7dd50c['colorChannel1']&&_0x244bed[_0x42614c(0x422)]===_0x42614c(0x341)&&(_0x244bed[_0x42614c(0x422)]=_0x7dd50c[_0x42614c(0x341)]),_0x526ed6[_0x42614c(0x360)]==='mask'&&_0x244bed['id']&&(_0x244bed['id']=_0x244bed['id']+_0xe4b872[_0x42614c(0x45e)]),Object[_0x42614c(0x482)](_0x244bed)[_0x42614c(0x1da)](([_0x578dfe,_0xda67ce])=>{const _0x4df980=_0x42614c;_0x578dfe===_0x4df980(0x429)&&typeof _0xda67ce==_0x4df980(0x1cd)&&(_0x244bed[_0x578dfe]=_0xda67ce[_0x4df980(0x231)](/url\(#(.*)\)/,_0x4df980(0x23c)+_0xe4b872[_0x4df980(0x45e)]+')'));});const {defIds:_0x4a5eff}=_0xe4b872;return!_0x4a5eff||_0x4a5eff[_0x42614c(0x2be)]===0x0||(_0x526ed6[_0x42614c(0x360)]==='use'&&_0x244bed[_0x42614c(0x389)]&&(_0x244bed['xlink:href']=_0x244bed['xlink:href']+_0xe4b872[_0x42614c(0x45e)]),Object[_0x42614c(0x482)](_0x244bed)[_0x42614c(0x1da)](([_0x1c4ad8,_0x1dcaa0])=>{const _0x1acca9=_0x42614c;typeof _0x1dcaa0==_0x1acca9(0x1cd)&&(_0x244bed[_0x1c4ad8]=_0x1dcaa0['replace'](/url\(#(.*)\)/,_0x1acca9(0x23c)+_0xe4b872['idSuffix']+')'));})),_0x244bed;}function _0x17158e(_0x45847d,_0x43813c){const _0x4d3a2d=_0xa0f417;var _0xbc1e1e;const {defIds:_0x574fa0}=_0x43813c;return!_0x574fa0||_0x574fa0[_0x4d3a2d(0x2be)]===0x0?_0x45847d:_0x45847d[_0x4d3a2d(0x360)]===_0x4d3a2d(0x2b9)&&((_0xbc1e1e=_0x45847d['children'])!=null&&_0xbc1e1e[_0x4d3a2d(0x2be)])?{..._0x45847d,'children':_0x45847d[_0x4d3a2d(0x28d)]['map'](_0x76f720=>typeof _0x76f720[_0x4d3a2d(0x27e)]['id']=='string'&&_0x574fa0&&_0x574fa0[_0x4d3a2d(0x49a)](_0x76f720[_0x4d3a2d(0x27e)]['id'])?{..._0x76f720,'attrs':{..._0x76f720['attrs'],'id':_0x76f720[_0x4d3a2d(0x27e)]['id']+_0x43813c[_0x4d3a2d(0x45e)]}}:_0x76f720)}:_0x45847d;}function _0x50bde2(){const _0x42e4f2=_0xa0f417;return Math[_0x42e4f2(0x3c7)]()[_0x42e4f2(0x331)](0x24)[_0x42e4f2(0x203)](0x2,0x8);}_0x17ccd6[_0xa0f417(0x35c)]=_0xa0f417(0x204);const _0x34c671={'tag':_0xa0f417(0x1b7),'attrs':{'xmlns':_0xa0f417(0x2aa),'fill':_0xa0f417(0x2ad),'viewBox':_0xa0f417(0x1fc),'width':_0xa0f417(0x307),'height':_0xa0f417(0x307)},'children':[{'tag':'g','attrs':{'clipPath':_0xa0f417(0x44f)},'children':[{'tag':'path','attrs':{'stroke':_0xa0f417(0x3f4),'d':_0xa0f417(0x481),'strokeLinecap':_0xa0f417(0x1b2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xa0f417(0x2b9),'attrs':{},'children':[{'tag':_0xa0f417(0x2e2),'attrs':{'id':_0xa0f417(0x287)},'children':[{'tag':_0xa0f417(0x2f7),'attrs':{'fill':'white','d':_0xa0f417(0x1a5)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x520004=_0x10864a[_0xa0f417(0x413)](function(_0x3a4c39,_0x56632c){const _0x28c215=_0xa0f417;return _0x10864a[_0x28c215(0x31a)](_0x17ccd6,Object[_0x28c215(0x3ba)]({},_0x3a4c39,{'id':_0x28c215(0x21c),'ref':_0x56632c,'icon':_0x34c671}));});_0x520004[_0xa0f417(0x35c)]=_0xa0f417(0x2a0);const _0x5beb3f={'tag':_0xa0f417(0x1b7),'attrs':{'xmlns':_0xa0f417(0x2aa),'fill':'none','viewBox':_0xa0f417(0x334),'width':_0xa0f417(0x307),'height':_0xa0f417(0x307)},'children':[{'tag':'g','attrs':{'clipPath':_0xa0f417(0x381)},'children':[{'tag':_0xa0f417(0x2f7),'attrs':{'stroke':_0xa0f417(0x3f4),'d':_0xa0f417(0x2fc),'strokeLinecap':_0xa0f417(0x1b2),'strokeLinejoin':_0xa0f417(0x1b2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xa0f417(0x2e2),'attrs':{'id':_0xa0f417(0x376)},'children':[{'tag':'path','attrs':{'fill':_0xa0f417(0x3be),'d':_0xa0f417(0x1a5),'transform':_0xa0f417(0x257)}}]}]}],'defIds':[_0xa0f417(0x376)]},_0x18a624=_0x10864a[_0xa0f417(0x413)](function(_0x5ba5ae,_0x55e1c5){const _0x283aa8=_0xa0f417;return _0x10864a[_0x283aa8(0x31a)](_0x17ccd6,Object[_0x283aa8(0x3ba)]({},_0x5ba5ae,{'id':'on-line-icon','ref':_0x55e1c5,'icon':_0x5beb3f}));});_0x18a624[_0xa0f417(0x35c)]=_0xa0f417(0x24b);function _0x58242f(_0x32db8f){const _0x232d80=_0xa0f417;switch(_0x32db8f){case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x2f3)]:return _0x232d80(0x464);case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x338)]:return'collabStatus.conflict';case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x1d4)]:return _0x232d80(0x37f);case _0x47c5ed[_0x232d80(0x38c)]['NOT_COLLAB']:return _0x232d80(0x2ae);case _0x47c5ed['CollaborationStatus'][_0x232d80(0x408)]:case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x48e)]:return _0x232d80(0x318);case _0x47c5ed['CollaborationStatus'][_0x232d80(0x316)]:case _0x47c5ed['CollaborationStatus'][_0x232d80(0x201)]:return'collabStatus.synced';}}function _0x51d573(_0x57d8f6){const _0x4afe51=_0xa0f417,{status$:_0x4c76d3}=_0x57d8f6,_0x239d16=_0x2fdbef[_0x4afe51(0x3d6)](_0x4c76d3,_0x47c5ed[_0x4afe51(0x38c)][_0x4afe51(0x40b)]),_0x444e3c=_0x2fdbef[_0x4afe51(0x358)](_0x3071e3[_0x4afe51(0x2af)]),_0x299f81=_0x2fdbef[_0x4afe51(0x358)](_0x47c5ed[_0x4afe51(0x1cf)]),_0x1bbfa6=_0x239d16!==_0x47c5ed['CollaborationStatus'][_0x4afe51(0x2f3)],_0xed9e1d=_0x444e3c['t'](_0x58242f(_0x239d16)),_0x2e5e37=_0x1bbfa6?_0x422050[_0x4afe51(0x2d2)](_0x18a624,{}):_0x422050['jsx'](_0x520004,{}),_0x55d7fb=_0x10864a[_0x4afe51(0x361)](()=>{const _0x283185=_0x4afe51;_0x1bbfa6||_0x299f81[_0x283185(0x3bd)]();},[_0x1bbfa6,_0x299f81]);function _0x59a643(){const _0x5256f6=_0x4afe51;return _0x422050[_0x5256f6(0x3ac)](_0x5256f6(0x286),{'className':_0x5256f6(0x2dc),'onClick':_0x55d7fb,'children':[_0x422050[_0x5256f6(0x2d2)](_0x5256f6(0x286),{'className':_0xe2dc8e[_0x5256f6(0x445)](_0x5256f6(0x207),{'univer-text-green-500':_0x1bbfa6,'univer-text-red-500':!_0x1bbfa6}),'children':_0x2e5e37}),_0x422050[_0x5256f6(0x2d2)](_0x5256f6(0x286),{'className':_0x5256f6(0x473),'children':_0xed9e1d})]});}return _0x1bbfa6?_0x59a643():_0x422050[_0x4afe51(0x2d2)](_0xe2dc8e[_0x4afe51(0x1a6)],{'title':_0x444e3c['t'](_0x4afe51(0x354)),'children':_0x59a643()});}var _0x1ff785=Object[_0xa0f417(0x33f)],_0x36ed1e=(_0x4037eb,_0x63af46,_0x61e3ae,_0xfcf26d)=>{const _0x57e5d6=_0xa0f417;for(var _0x1448fd=_0xfcf26d>0x1?void 0x0:_0xfcf26d?_0x1ff785(_0x63af46,_0x61e3ae):_0x63af46,_0x104b3b=_0x4037eb[_0x57e5d6(0x2be)]-0x1,_0x1be3b5;_0x104b3b>=0x0;_0x104b3b--)(_0x1be3b5=_0x4037eb[_0x104b3b])&&(_0x1448fd=_0x1be3b5(_0x1448fd)||_0x1448fd);return _0x1448fd;},_0x36a8d7=(_0x2510ff,_0x2574a7)=>(_0x2e26b7,_0x3dd1b5)=>_0x2574a7(_0x2e26b7,_0x3dd1b5,_0x2510ff);_0x46719c[_0xa0f417(0x404)]=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x29da39,_0xa495a2,_0x16f79b,_0x1110eb){const _0x1e4699=_0xa0f417;super(),_0x4f1800(this,'_status$',new _0x4dfa7e[(_0x1e4699(0x309))](_0x47c5ed[_0x1e4699(0x38c)][_0x1e4699(0x40b)])),(this[_0x1e4699(0x36b)]=_0x29da39,this[_0x1e4699(0x3d5)]=_0xa495a2,this['_collaborationController']=_0x16f79b,this['_uiPartsService']=_0x1110eb,this[_0x1e4699(0x499)](),this[_0x1e4699(0x439)]());}[_0xa0f417(0x439)](){const _0x4442ea=_0xa0f417;this[_0x4442ea(0x451)](this[_0x4442ea(0x36b)][_0x4442ea(0x2ce)]['pipe'](_0x4dfa7e['switchMap'](()=>{const _0x57f014=_0x4442ea,_0x2559df=this[_0x57f014(0x36b)][_0x57f014(0x22b)]();return _0x2559df?this[_0x57f014(0x41e)]['getCollabEntity$'](_0x2559df['getUnitId']()):_0x4dfa7e['of'](null);}),_0x4dfa7e[_0x4442ea(0x2cf)](_0x588cd5=>_0x588cd5?_0x588cd5[_0x4442ea(0x43d)]:_0x4dfa7e['of'](_0x47c5ed[_0x4442ea(0x38c)][_0x4442ea(0x40b)])))[_0x4442ea(0x270)](_0x1260ba=>{const _0x3f7c01=_0x4442ea;this[_0x3f7c01(0x3cf)]['next'](_0x1260ba);}));}[_0xa0f417(0x499)](){const _0x5acd04=_0xa0f417;this[_0x5acd04(0x451)](this['_uiPartsService'][_0x5acd04(0x412)](_0x2fdbef[_0x5acd04(0x28f)]['HEADER_MENU'],()=>_0x2fdbef[_0x5acd04(0x423)](_0x18fad7({'status$':this[_0x5acd04(0x3cf)][_0x5acd04(0x25a)]()}),this[_0x5acd04(0x3d5)])));}},_0x46719c['DesktopCollaborationStatusDisplayController']=_0x36ed1e([_0x36a8d7(0x0,_0x3071e3[_0xa0f417(0x24a)]),_0x36a8d7(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x36a8d7(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x357)])),_0x36a8d7(0x3,_0x2fdbef['IUIPartsService'])],_0x46719c[_0xa0f417(0x404)]);function _0x18fad7(_0x4a8eba){const {status$:_0x3f90f3}=_0x4a8eba;return function(){const _0x348d46=_0x21aa;return _0x422050[_0x348d46(0x2d2)](_0x51d573,{'status$':_0x3f90f3});};}const _0xd9e09a=_0x3071e3[_0xa0f417(0x46e)]('uni.network.url-service');var _0x4720b3=Object[_0xa0f417(0x33f)],_0x250041=(_0xbf4de1,_0x233568,_0x1d0c03,_0x3f09f5)=>{for(var _0x23e646=_0x3f09f5>0x1?void 0x0:_0x3f09f5?_0x4720b3(_0x233568,_0x1d0c03):_0x233568,_0x59ae38=_0xbf4de1['length']-0x1,_0x1615ab;_0x59ae38>=0x0;_0x59ae38--)(_0x1615ab=_0xbf4de1[_0x59ae38])&&(_0x23e646=_0x1615ab(_0x23e646)||_0x23e646);return _0x23e646;},_0x3eb786=(_0x5706da,_0x4683c7)=>(_0x20138d,_0x3729d7)=>_0x4683c7(_0x20138d,_0x3729d7,_0x5706da);_0x46719c[_0xa0f417(0x448)]=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x5a6cee,_0x108f66,_0x4227d,_0x5de189,_0xfc7a2e){const _0x4c6a16=_0xa0f417;super(),this[_0x4c6a16(0x22c)]=_0x5a6cee,this[_0x4c6a16(0x39b)]=_0x108f66,this['_commandService']=_0x4227d,this[_0x4c6a16(0x37d)]=_0x5de189,_0xfc7a2e?_0xfc7a2e==null||_0xfc7a2e[_0x4c6a16(0x41d)]()[_0x4c6a16(0x224)](()=>this[_0x4c6a16(0x3e7)]()):(this[_0x4c6a16(0x39b)][_0x4c6a16(0x3a2)](_0x4c6a16(0x244),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4c6a16(0x3e7)]());}async[_0xa0f417(0x3e7)](){const _0xa69a52=_0xa0f417,_0x2c09ad=this['_urlService'][_0xa69a52(0x465)](_0xa69a52(0x34f)),_0x5e038b=this[_0xa69a52(0x22c)][_0xa69a52(0x465)]('type'),_0x11ef8e=this['_urlService']['getParam'](_0xa69a52(0x265));if(!_0x2c09ad||!_0x5e038b){this['_logService']['debug']('[CollaborationDataLoaderController]',_0xa69a52(0x447));return;}const _0x555ffa=await this['_dataLoaderService'][_0xa69a52(0x3c8)](_0x2c09ad,Number(_0x5e038b),_0x11ef8e);_0x555ffa&&_0x555ffa instanceof _0x3071e3[_0xa69a52(0x21a)]&&this[_0xa69a52(0x37e)](_0x555ffa);}async[_0xa0f417(0x37e)](_0x1c2193){const _0x58eeaf=_0xa0f417;await this[_0x58eeaf(0x1ad)](_0x1c2193),_0x1c2193[_0x58eeaf(0x43e)]['pipe'](_0x4dfa7e[_0x58eeaf(0x1ab)](this[_0x58eeaf(0x382)]))[_0x58eeaf(0x270)](_0x3b544b=>{const _0x37a48a=_0x58eeaf;_0x3b544b&&this[_0x37a48a(0x419)](_0x3b544b);}),this['_urlService']['urlChange$']['pipe'](_0x4dfa7e[_0x58eeaf(0x1ab)](this[_0x58eeaf(0x382)]))[_0x58eeaf(0x270)](()=>this[_0x58eeaf(0x1ad)](_0x1c2193));}[_0xa0f417(0x419)](_0x58927d,_0x1f7b6d=!0x1){const _0x42852c=_0xa0f417,_0x95889f=this[_0x42852c(0x22c)][_0x42852c(0x465)](_0x42852c(0x265));_0x58927d[_0x42852c(0x1fd)]()!==_0x95889f&&this[_0x42852c(0x22c)][_0x42852c(0x498)](_0x42852c(0x265),_0x58927d[_0x42852c(0x1fd)](),_0x1f7b6d);}async[_0xa0f417(0x1ad)](_0x5459eb){const _0x5557c2=_0xa0f417;var _0x5467d8;const _0x88c9d1=this[_0x5557c2(0x22c)]['getParam'](_0x5557c2(0x265));if(!_0x88c9d1||!_0x5459eb['getSheetBySheetId'](_0x88c9d1)){const _0x3c9dea=_0x5459eb[_0x5557c2(0x396)]()[0x0],_0x271e54=_0x5459eb[_0x5557c2(0x3eb)](_0x3c9dea);if(!_0x271e54)return;this[_0x5557c2(0x419)](_0x271e54,!0x0),await this['_commandService'][_0x5557c2(0x3a0)](_0x4ccc17[_0x5557c2(0x2a2)]['id'],{'unitId':_0x5459eb[_0x5557c2(0x3d3)](),'subUnitId':_0x3c9dea});return;}((_0x5467d8=_0x5459eb['getActiveSheet']())==null?void 0x0:_0x5467d8[_0x5557c2(0x1fd)]())!==_0x88c9d1&&await this[_0x5557c2(0x278)][_0x5557c2(0x3a0)](_0x4ccc17['SetWorksheetActivateCommand']['id'],{'unitId':_0x5459eb[_0x5557c2(0x3d3)](),'subUnitId':_0x88c9d1});}},_0x46719c[_0xa0f417(0x448)]=_0x250041([_0x3eb786(0x0,_0xd9e09a),_0x3eb786(0x1,_0x3071e3[_0xa0f417(0x40e)]),_0x3eb786(0x2,_0x3071e3[_0xa0f417(0x339)]),_0x3eb786(0x3,_0x3071e3['Inject'](_0x47c5ed[_0xa0f417(0x1e5)])),_0x3eb786(0x4,_0x3071e3[_0xa0f417(0x1be)](_0x278656[_0xa0f417(0x43c)]))],_0x46719c['CollaborationDataLoaderController']);var _0x5c1289=Object[_0xa0f417(0x33f)],_0x1665db=(_0x180d3a,_0x13900b,_0x58edf4,_0x442b5c)=>{const _0xeb24e8=_0xa0f417;for(var _0x4a0060=_0x442b5c>0x1?void 0x0:_0x442b5c?_0x5c1289(_0x13900b,_0x58edf4):_0x13900b,_0x434923=_0x180d3a[_0xeb24e8(0x2be)]-0x1,_0x2f4603;_0x434923>=0x0;_0x434923--)(_0x2f4603=_0x180d3a[_0x434923])&&(_0x4a0060=_0x2f4603(_0x4a0060)||_0x4a0060);return _0x4a0060;},_0x1476c0=(_0x1a6fff,_0x299aac)=>(_0x368780,_0x37f147)=>_0x299aac(_0x368780,_0x37f147,_0x1a6fff);let _0xbbb1dc=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x46d04c,_0x345c36){const _0x357c77=_0xa0f417;super(),this[_0x357c77(0x2ee)]=_0x46d04c,this[_0x357c77(0x355)]=_0x345c36,this[_0x357c77(0x3e7)]();}['_init'](){const _0x194b39=_0xa0f417,_0x16cef4=this;this['disposeWithMe'](this[_0x194b39(0x2ee)][_0x194b39(0x442)]({'onBeforePasteImage':async _0x5a7578=>{const _0x2fe411=_0x194b39,_0x28cdc0=await _0x16cef4[_0x2fe411(0x355)]['saveImage'](_0x5a7578);return _0x28cdc0?{'source':_0x28cdc0[_0x2fe411(0x45c)],'imageSourceType':_0x28cdc0[_0x2fe411(0x251)]}:null;}}));}};_0xbbb1dc=_0x1665db([_0x1476c0(0x0,_0x39debf['IDocClipboardService']),_0x1476c0(0x1,_0x556ad4[_0xa0f417(0x3d9)])],_0xbbb1dc);const _0x3cced3=['purple.300','jiqing.500',_0xa0f417(0x24d),_0xa0f417(0x347),_0xa0f417(0x42f),_0xa0f417(0x3fb)];class _0x379fb3 extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(){const _0x27a9f7=_0xa0f417;super(...arguments),_0x4f1800(this,_0x27a9f7(0x43f),new Map()),_0x4f1800(this,_0x27a9f7(0x2b2),0x0);}[_0xa0f417(0x280)](_0x140e8e){const _0xc9bf27=_0xa0f417;if(this[_0xc9bf27(0x43f)]['has'](_0x140e8e))return this[_0xc9bf27(0x43f)][_0xc9bf27(0x22f)](_0x140e8e);const _0x1eba7e=_0x3cced3[this[_0xc9bf27(0x2b2)]];return this[_0xc9bf27(0x2b2)]=(this[_0xc9bf27(0x2b2)]+0x1)%_0x3cced3[_0xc9bf27(0x2be)],this['_assignedColors']['set'](_0x140e8e,_0x1eba7e),_0x1eba7e;}}function _0x65bee2(_0x5d61a4){const _0x542b46=_0xa0f417;let _0x4aa10d='';for(const _0x101080 of _0x5d61a4){const {startOffset:_0x5aab6a,endOffset:_0x3c2db1,isActive:_0x2f1e3a,rangeType:_0x184ff3,segmentId:_0x5c4987,segmentPage:_0x48415f}=_0x101080;_0x4aa10d[_0x542b46(0x2be)]&&(_0x4aa10d+=','),_0x4aa10d+=_0x5aab6a+':'+_0x3c2db1+':'+(_0x2f1e3a?'1':'0')+':'+_0x184ff3+':'+_0x5c4987+':'+_0x48415f;}return _0x4aa10d;}function _0xdf34f7(_0x212293){const _0x1e296e=_0xa0f417,_0x18064d=_0x212293[_0x1e296e(0x23e)](','),_0x5a9463=[];for(const _0xe3f952 of _0x18064d){const [_0x34c315,_0x2c495d,_0x7b83ba,_0x255fc8,_0x564336,_0x576f90]=_0xe3f952[_0x1e296e(0x23e)](':');_0x5a9463[_0x1e296e(0x1d3)]({'startOffset':Number(_0x34c315),'endOffset':Number(_0x2c495d),'collapsed':_0x34c315===_0x2c495d,'isActive':_0x7b83ba==='1','rangeType':_0x255fc8===_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x299)]?_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x299)]:_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x2ef)],'segmentId':typeof _0x564336==_0x1e296e(0x1cd)?String(_0x564336):'','segmentPage':Number(_0x576f90!=null?_0x576f90:-0x1)});}return _0x5a9463['some'](_0x2ecbe2=>_0x2ecbe2[_0x1e296e(0x1d6)])||(_0x5a9463[0x0][_0x1e296e(0x1d6)]=!0x0),_0x5a9463;}class _0x5c3119 extends _0x3071e3[_0xa0f417(0x38b)]{constructor(){const _0x335b2c=_0xa0f417;super(...arguments),_0x4f1800(this,_0x335b2c(0x3e1),new _0x4dfa7e[(_0x335b2c(0x309))](null)),_0x4f1800(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0xa0f417(0x1ec)](_0x55e2d1){const _0x458a1f=_0xa0f417,{unitID:_0x248298,memberID:_0x4b9447,textRanges:_0x40e1c6}=_0x55e2d1,_0x4d5384=_0x65bee2(_0x40e1c6);if(_0x4d5384==='')return;const _0x12e661={'unitID':_0x248298,'memberID':_0x4b9447,'selection':_0x4d5384};this['_collabCursorState$'][_0x458a1f(0x26d)](_0x12e661);}}var _0x411195=Object[_0xa0f417(0x33f)],_0x36c265=(_0x1baf56,_0x3c7f99,_0x283a8f,_0x23085c)=>{const _0x13197a=_0xa0f417;for(var _0xfb8cad=_0x23085c>0x1?void 0x0:_0x23085c?_0x411195(_0x3c7f99,_0x283a8f):_0x3c7f99,_0x50355b=_0x1baf56[_0x13197a(0x2be)]-0x1,_0x207ce6;_0x50355b>=0x0;_0x50355b--)(_0x207ce6=_0x1baf56[_0x50355b])&&(_0xfb8cad=_0x207ce6(_0xfb8cad)||_0xfb8cad);return _0xfb8cad;},_0x58dbb3=(_0x30c1b3,_0x3688a5)=>(_0x4b7b90,_0x4386e3)=>_0x3688a5(_0x4b7b90,_0x4386e3,_0x30c1b3);const _0x1c3b47=0x12c,_0x57ce1d=0x64;let _0x5aa614=class extends _0x3071e3['RxDisposable']{constructor(_0x1e6f86,_0x3c4e34,_0x39d1a8,_0x3eed31,_0x1fcad4,_0x5de246,_0xef6d08,_0x493d68,_0x111af1){const _0x32b6b7=_0xa0f417;super(),_0x4f1800(this,_0x32b6b7(0x219),!0x1),_0x4f1800(this,'_init',!0x1),_0x4f1800(this,_0x32b6b7(0x1bb),new _0x4dfa7e[(_0x32b6b7(0x309))](new Map())),_0x4f1800(this,_0x32b6b7(0x1ce),this[_0x32b6b7(0x1bb)][_0x32b6b7(0x25a)]()),_0x4f1800(this,_0x32b6b7(0x3ce),new _0x4dfa7e[(_0x32b6b7(0x309))]([])),_0x4f1800(this,_0x32b6b7(0x467),this['_roomMembers$'][_0x32b6b7(0x1f3)](_0x4dfa7e[_0x32b6b7(0x22e)](_0x1c3b47))),_0x4f1800(this,_0x32b6b7(0x312),_0x3071e3[_0x32b6b7(0x47c)](_0x548f2f=>{const _0x5b603a=_0x32b6b7,_0x5d3c27={'eventID':_0x23de57[_0x5b603a(0x2bd)][_0x5b603a(0x418)],'data':{'unitID':this[_0x5b603a(0x2ea)],'memberID':this['_session'][_0x5b603a(0x206)](),'selection':_0x65bee2(_0x548f2f)}};this[_0x5b603a(0x350)][_0x5b603a(0x297)](_0x5d3c27,this[_0x5b603a(0x2ea)]);},_0x57ce1d)),(this[_0x32b6b7(0x2ea)]=_0x1e6f86,this['_session']=_0x3c4e34,this[_0x32b6b7(0x3d5)]=_0x39d1a8,this[_0x32b6b7(0x491)]=_0x3eed31,this['_memberService']=_0x1fcad4,this[_0x32b6b7(0x20c)]=_0x5de246,this[_0x32b6b7(0x48c)]=_0xef6d08,this[_0x32b6b7(0x36b)]=_0x493d68,this[_0x32b6b7(0x278)]=_0x111af1);}get[_0xa0f417(0x1f2)](){const _0x258d83=_0xa0f417;return this[_0x258d83(0x1bb)][_0x258d83(0x2d0)]();}get['roomMembers'](){const _0x320317=_0xa0f417;return this[_0x320317(0x3ce)][_0x320317(0x2d0)]();}[_0xa0f417(0x3ef)](){const _0x4830fc=_0xa0f417;super[_0x4830fc(0x3ef)](),this[_0x4830fc(0x1bb)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x4830fc(0x3ce)][_0x4830fc(0x26d)]([]),this[_0x4830fc(0x3ce)][_0x4830fc(0x480)]();}[_0xa0f417(0x416)](){const _0x3af86e=_0xa0f417;this['_init']||(this[_0x3af86e(0x3e7)]=!0x0,this['_session'][_0x3af86e(0x22a)][_0x3af86e(0x1f3)](_0x4dfa7e[_0x3af86e(0x1ab)](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x5be3f8=>{const _0x38d5de=_0x3af86e;_0x5be3f8===_0x47c5ed[_0x38d5de(0x301)][_0x38d5de(0x243)]?this[_0x38d5de(0x31f)]():this['_toggleOffline']();}),this['_session'][_0x3af86e(0x298)]['pipe'](_0x4dfa7e['takeUntil'](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x2f7ecb=>{const _0x46cbbf=_0x3af86e,_0x3800b4=_0x2f7ecb[_0x46cbbf(0x38f)];_0x3800b4===_0x23de57[_0x46cbbf(0x2bd)][_0x46cbbf(0x418)]&&this[_0x46cbbf(0x24f)](_0x2f7ecb),_0x3800b4===_0x23de57[_0x46cbbf(0x2bd)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x2f7ecb);}),this['disposeWithMe'](this[_0x3af86e(0x278)][_0x3af86e(0x1a8)](_0x1f71a5=>{const _0x494f5f=_0x3af86e,_0x30ab1b=_0x1f71a5[_0x494f5f(0x39d)];_0x30ab1b!=null&&this['_online']&&_0x1f71a5['id']===_0x4f248[_0x494f5f(0x427)]['id']&&_0x30ab1b[_0x494f5f(0x306)]===this[_0x494f5f(0x2ea)]&&_0x30ab1b[_0x494f5f(0x46c)]===!0x1&&_0x30ab1b['ranges'][_0x494f5f(0x2be)]>0x0&&this[_0x494f5f(0x312)](_0x30ab1b[_0x494f5f(0x402)]);})),this[_0x3af86e(0x20c)][_0x3af86e(0x236)][_0x3af86e(0x1f3)](_0x4dfa7e[_0x3af86e(0x1ab)](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x3e9e0e=>{const _0x551afe=_0x3af86e;if((_0x3e9e0e==null?void 0x0:_0x3e9e0e[_0x551afe(0x2ea)])!==this[_0x551afe(0x2ea)])return;const _0x2cd3a9={'eventID':_0x23de57[_0x551afe(0x2bd)][_0x551afe(0x418)],'data':_0x3e9e0e};this[_0x551afe(0x24f)](_0x2cd3a9);}),this[_0x3af86e(0x451)](this['_commandService'][_0x3af86e(0x1a8)](_0x5e6709=>{const _0x33e7e7=_0x3af86e;if(_0x5e6709['params']==null)return;const _0x1afd64=_0x5e6709[_0x33e7e7(0x39d)];if(_0x5e6709['id']!==_0x4f248[_0x33e7e7(0x271)]['id']||_0x1afd64[_0x33e7e7(0x306)]!==this[_0x33e7e7(0x2ea)])return;const _0x8999e6={'id':_0x33e7e7(0x433),'params':_0x1afd64},_0x249a25=this['cursorInfo'];for(const [_0x1742a0,_0x50eaf9]of _0x249a25){const _0x4e7e4f={'id':_0x33e7e7(0x433),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50eaf9['ranges']}},_0x3f0600=this['_transformService'][_0x33e7e7(0x2df)](_0x8999e6,_0x4e7e4f,!0x1);if(_0x23de57[_0x33e7e7(0x34e)](_0x3f0600))throw _0x3f0600[_0x33e7e7(0x30a)];_0x249a25[_0x33e7e7(0x41c)](_0x1742a0,{..._0x50eaf9,'ranges':_0x3f0600[_0x33e7e7(0x1c8)][_0x33e7e7(0x39d)][_0x33e7e7(0x242)]});}queueMicrotask(()=>{const _0x4314a8=_0x33e7e7;this['_cursorInfo$'][_0x4314a8(0x26d)](_0x249a25);});})));}[_0xa0f417(0x24f)](_0x511c77){const _0x21d633=_0xa0f417;var _0x49300f,_0x281615;const {memberID:_0x10e5c4,selection:_0x1ab9b8}=_0x511c77[_0x21d633(0x23f)],_0x5734b5=_0xdf34f7(_0x1ab9b8),_0x2be659=(_0x281615=(_0x49300f=this[_0x21d633(0x2d7)][_0x21d633(0x443)](this[_0x21d633(0x2ea)],_0x10e5c4))==null?void 0x0:_0x49300f[_0x21d633(0x34d)])!=null?_0x281615:_0x21d633(0x35a),_0x4afd2a={'color':this['_colorAssignService'][_0x21d633(0x280)](_0x10e5c4),'name':_0x2be659,'ranges':_0x5734b5},_0x470e17=this['cursorInfo'];_0x470e17[_0x21d633(0x41c)](_0x10e5c4,_0x4afd2a),this['_cursorInfo$'][_0x21d633(0x26d)](_0x470e17);}[_0xa0f417(0x3da)](_0x473f48){const _0x267b10=_0xa0f417,{memberID:_0x34f460}=_0x473f48[_0x267b10(0x23f)],_0x31879f=this['cursorInfo'];_0x31879f['delete'](_0x34f460),this['_cursorInfo$'][_0x267b10(0x26d)](_0x31879f);}['_toggleOnline'](){const _0x5a88e2=_0xa0f417;var _0xb5795d;if(this[_0x5a88e2(0x219)]=!0x0,((_0xb5795d=this['_univerInstanceService'][_0x5a88e2(0x22b)]())==null?void 0x0:_0xb5795d[_0x5a88e2(0x3d3)]())!==this[_0x5a88e2(0x2ea)])return;const _0x5d6449=this[_0x5a88e2(0x3d5)][_0x5a88e2(0x22f)](_0x4f248[_0x5a88e2(0x45b)])[_0x5a88e2(0x44e)]();Array[_0x5a88e2(0x2fd)](_0x5d6449)&&_0x5d6449['length']>0x0&&this['_updateLocalCursor'](_0x5d6449);}[_0xa0f417(0x35f)](){this['_online']=!0x1;}};_0x5aa614=_0x36c265([_0x58dbb3(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x58dbb3(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x379fb3)),_0x58dbb3(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed['MemberService'])),_0x58dbb3(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x5c3119)),_0x58dbb3(0x6,_0x23de57['ITransformService']),_0x58dbb3(0x7,_0x3071e3['IUniverInstanceService']),_0x58dbb3(0x8,_0x3071e3[_0xa0f417(0x339)])],_0x5aa614);var _0x1565b7=Object[_0xa0f417(0x33f)],_0x465319=(_0x1fbd5b,_0x3155f5,_0x4f5e37,_0x47e12e)=>{for(var _0x1879ae=_0x47e12e>0x1?void 0x0:_0x47e12e?_0x1565b7(_0x3155f5,_0x4f5e37):_0x3155f5,_0xd6e0ab=_0x1fbd5b['length']-0x1,_0x44a8a0;_0xd6e0ab>=0x0;_0xd6e0ab--)(_0x44a8a0=_0x1fbd5b[_0xd6e0ab])&&(_0x1879ae=_0x44a8a0(_0x1879ae)||_0x1879ae);return _0x1879ae;},_0x3e94f5=(_0x1c72bc,_0x5714a2)=>(_0x468de2,_0x4700af)=>_0x5714a2(_0x468de2,_0x4700af,_0x1c72bc);const _0x5ac8c5=0x12c,_0x52f482=0x64,_0xebcf07=()=>{let _0x22d9e3=[],_0x4c467f=!0x1;return _0x3cff3c=>{const _0x247544=_0x21aa;_0x22d9e3[_0x247544(0x1d3)](_0x3cff3c),_0x4c467f||(_0x4c467f=!0x0,setTimeout(()=>{_0x22d9e3['forEach'](_0x4a1afd=>_0x4a1afd()),_0x22d9e3=[],_0x4c467f=!0x1;}));};};let _0x326425=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x232549,_0x46827a,_0x25aa7e,_0x10ac6a,_0x8f7c6a,_0x54caca,_0x2c6851,_0x270ae4){const _0x5bf4be=_0xa0f417;super(),_0x4f1800(this,_0x5bf4be(0x219),!0x1),_0x4f1800(this,_0x5bf4be(0x3e7),!0x1),_0x4f1800(this,'_cursorInfo$',new _0x4dfa7e[(_0x5bf4be(0x309))](new Map())),_0x4f1800(this,'cursorInfo$',this['_cursorInfo$'][_0x5bf4be(0x25a)]()),_0x4f1800(this,'_roomMembers$',new _0x4dfa7e[(_0x5bf4be(0x309))]([])),_0x4f1800(this,'roomMembers$',this[_0x5bf4be(0x3ce)][_0x5bf4be(0x1f3)](_0x4dfa7e[_0x5bf4be(0x22e)](_0x5ac8c5))),_0x4f1800(this,_0x5bf4be(0x312),_0x3071e3[_0x5bf4be(0x47c)]((_0x4fedff,_0xca4a6a)=>{const _0xab1c24=_0x5bf4be,_0x5f0931={'eventID':_0x23de57[_0xab1c24(0x2bd)][_0xab1c24(0x418)],'data':{'unitID':this['unitID'],'memberID':this[_0xab1c24(0x350)][_0xab1c24(0x206)](),'selection':_0x283787[_0xab1c24(0x235)](_0x4fedff,_0xca4a6a[_0xab1c24(0x457)])}};this[_0xab1c24(0x350)][_0xab1c24(0x297)](_0x5f0931,this['unitID']);},_0x52f482)),(this['unitID']=_0x232549,this['_session']=_0x46827a,this[_0x5bf4be(0x3d5)]=_0x25aa7e,this[_0x5bf4be(0x491)]=_0x10ac6a,this[_0x5bf4be(0x2d7)]=_0x8f7c6a,this[_0x5bf4be(0x36b)]=_0x54caca,this[_0x5bf4be(0x278)]=_0x2c6851,this['_refRangeService']=_0x270ae4);}get[_0xa0f417(0x1f2)](){const _0x51ad94=_0xa0f417;return this[_0x51ad94(0x1bb)][_0x51ad94(0x2d0)]();}get[_0xa0f417(0x46f)](){const _0x1fbe1=_0xa0f417;return this['_roomMembers$'][_0x1fbe1(0x2d0)]();}[_0xa0f417(0x3ef)](){const _0x2988d1=_0xa0f417;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x2988d1(0x1bb)][_0x2988d1(0x480)](),this[_0x2988d1(0x3ce)]['next']([]),this[_0x2988d1(0x3ce)][_0x2988d1(0x480)]();}[_0xa0f417(0x416)](){const _0x30a0f3=_0xa0f417;this[_0x30a0f3(0x3e7)]||(this[_0x30a0f3(0x3e7)]=!0x0,this[_0x30a0f3(0x350)][_0x30a0f3(0x22a)]['pipe'](_0x4dfa7e[_0x30a0f3(0x1ab)](this[_0x30a0f3(0x382)]))[_0x30a0f3(0x270)](_0x4051a3=>{const _0xc6208=_0x30a0f3;_0x4051a3===_0x47c5ed[_0xc6208(0x301)][_0xc6208(0x243)]?this[_0xc6208(0x31f)]():this['_toggleOffline']();}),this[_0x30a0f3(0x350)][_0x30a0f3(0x298)]['pipe'](_0x4dfa7e[_0x30a0f3(0x1ab)](this[_0x30a0f3(0x382)]))[_0x30a0f3(0x270)](_0x3ed102=>{const _0x24b05c=_0x30a0f3,_0x57d7bf=_0x3ed102['eventID'];_0x57d7bf===_0x23de57[_0x24b05c(0x2bd)][_0x24b05c(0x418)]&&this['_onCursorUpdate'](_0x3ed102),_0x57d7bf===_0x23de57[_0x24b05c(0x2bd)][_0x24b05c(0x3fe)]&&this[_0x24b05c(0x3da)](_0x3ed102);}),this[_0x30a0f3(0x2e5)](),this[_0x30a0f3(0x451)](this[_0x30a0f3(0x278)][_0x30a0f3(0x1a8)](_0x5f3265=>{const _0x20a991=_0x30a0f3;if(this[_0x20a991(0x219)]&&_0x5f3265['id']===_0x4ccc17[_0x20a991(0x458)]['id']&&_0x5f3265[_0x20a991(0x39d)][_0x20a991(0x306)]===this['unitID']){const _0x18f88e=_0x5f3265[_0x20a991(0x39d)];this[_0x20a991(0x312)](_0x18f88e['subUnitId'],_0x18f88e[_0x20a991(0x1b4)][0x0]);}})));}['_onCursorUpdate'](_0xcfcee1){const _0x1c1876=_0xa0f417;var _0xb15de6,_0x5583bd;const {memberID:_0x41f5f1,selection:_0x1b3a86}=_0xcfcee1[_0x1c1876(0x23f)],{sheetName:_0x2048d4,range:_0x130e13}=_0x283787[_0x1c1876(0x1f7)](_0x1b3a86),_0x33f3e5={'name':(_0x5583bd=(_0xb15de6=this[_0x1c1876(0x2d7)][_0x1c1876(0x443)](this[_0x1c1876(0x2ea)],_0x41f5f1))==null?void 0x0:_0xb15de6[_0x1c1876(0x34d)])!=null?_0x5583bd:'Unknown\x20user','range':this[_0x1c1876(0x3e5)](_0x2048d4,_0x130e13),'sheetID':_0x2048d4,'color':this[_0x1c1876(0x491)][_0x1c1876(0x280)](_0x41f5f1),'selection':_0x1b3a86},_0x172bdc=this['cursorInfo'];_0x172bdc[_0x1c1876(0x41c)](_0x41f5f1,_0x33f3e5),this['_cursorInfo$'][_0x1c1876(0x26d)](_0x172bdc);}[_0xa0f417(0x3da)](_0x4a1340){const _0x49643b=_0xa0f417,{memberID:_0x2240e5}=_0x4a1340['data'],_0x11f005=this[_0x49643b(0x1f2)];_0x11f005[_0x49643b(0x1fb)](_0x2240e5),this[_0x49643b(0x1bb)][_0x49643b(0x26d)](_0x11f005);}[_0xa0f417(0x3e5)](_0x3047ca,_0x30b8d5){const _0x32b608=_0xa0f417;var _0x2bd717,_0x2d17ce;const _0x2cf30c=(_0x2d17ce=(_0x2bd717=this[_0x32b608(0x36b)][_0x32b608(0x3fa)](this[_0x32b608(0x2ea)]))==null?void 0x0:_0x2bd717[_0x32b608(0x3eb)](_0x3047ca))==null?void 0x0:_0x2d17ce[_0x32b608(0x1b0)]();return(_0x2cf30c==null?void 0x0:_0x2cf30c[_0x32b608(0x1eb)](_0x3515e0=>_0x3071e3[_0x32b608(0x3c2)][_0x32b608(0x304)](_0x3515e0,_0x30b8d5)))||_0x30b8d5;}[_0xa0f417(0x2e5)](){const _0x5e1e4c=_0xa0f417,_0x3d867a=new _0x3071e3[(_0x5e1e4c(0x2d3))](),_0x346a35=_0xebcf07(),_0x18c39b=()=>{const _0x392748=_0x5e1e4c;_0x3d867a[_0x392748(0x3ef)]();const _0x393ae4=(_0x44dffb,_0xbc680,_0x461fd2,_0x309185)=>{const _0x2edee4=_0x392748;let _0x28dbc0=[];switch(_0x44dffb['id']){case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x417)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x221)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x371)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x3ec)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)]['InsertColCommandId']:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x388)](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x28dbc0=_0x4ccc17['handleInsertRangeMoveDown'](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId'][_0x2edee4(0x33a)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x387)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x30c)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x290)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x2e0)]:{_0x28dbc0=_0x4ccc17['handleMoveRange'](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId'][_0x2edee4(0x226)]:{_0x28dbc0=_0x4ccc17['handleIRemoveCol'](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)]['RemoveRowCommandId']:{_0x28dbc0=_0x4ccc17['handleIRemoveRow'](_0x44dffb,_0x309185);break;}}const _0x3145e6=_0x4ccc17[_0x2edee4(0x216)](_0x28dbc0,_0x309185),_0x3ab7a0=this[_0x2edee4(0x1f2)][_0x2edee4(0x22f)](_0xbc680);if(_0x3ab7a0&&_0x3145e6){const _0x21da7c={..._0x3ab7a0,'range':_0x3145e6};this['cursorInfo']['set'](_0xbc680,_0x21da7c),_0x346a35(()=>{const _0x4b08d2=_0x2edee4,_0x28a368=this[_0x4b08d2(0x24e)][_0x4b08d2(0x217)](_0x3145e6,_0x58eae7=>(_0x28a368[_0x4b08d2(0x3ef)](),_0x393ae4(_0x58eae7,_0xbc680,_0x461fd2,_0x3145e6)));_0x3d867a[_0x4b08d2(0x3b1)](_0x28a368);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x392748(0x1da)]((_0x53c805,_0x7ac032)=>{const _0x497d7e=_0x392748,{range:_0x54bc62,sheetID:_0x50009d}=_0x53c805,_0x8cc032=this[_0x497d7e(0x24e)][_0x497d7e(0x217)](_0x54bc62,_0xbb496=>(_0x8cc032[_0x497d7e(0x3ef)](),_0x393ae4(_0xbb496,_0x7ac032,_0x50009d,_0x54bc62)));_0x3d867a[_0x497d7e(0x3b1)](_0x8cc032);});};this['disposeWithMe'](_0x3071e3[_0x5e1e4c(0x1ef)](this[_0x5e1e4c(0x1bb)][_0x5e1e4c(0x270)](()=>{_0x18c39b();})));}[_0xa0f417(0x31f)](){const _0x2c23ec=_0xa0f417;var _0x5057e6,_0x50d7ac;if(this[_0x2c23ec(0x219)]=!0x0,((_0x5057e6=this[_0x2c23ec(0x36b)][_0x2c23ec(0x22b)]())==null?void 0x0:_0x5057e6['getUnitId']())!==this['unitID'])return;const _0x4a70a5=(_0x50d7ac=this['_injector'][_0x2c23ec(0x22f)](_0x4ccc17[_0x2c23ec(0x37c)])[_0x2c23ec(0x2c1)]())==null?void 0x0:_0x50d7ac[0x0],_0x4be000=this[_0x2c23ec(0x36b)][_0x2c23ec(0x1ed)](_0x3071e3['UniverInstanceType'][_0x2c23ec(0x1f6)])[_0x2c23ec(0x330)]();_0x4a70a5&&_0x4be000&&this[_0x2c23ec(0x312)](_0x4be000[_0x2c23ec(0x1fd)](),_0x4a70a5);}[_0xa0f417(0x35f)](){const _0x4a5afd=_0xa0f417;this[_0x4a5afd(0x219)]=!0x1;}};_0x326425=_0x465319([_0x3e94f5(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x3e94f5(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x379fb3)),_0x3e94f5(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x2eb)])),_0x3e94f5(0x5,_0x3071e3[_0xa0f417(0x24a)]),_0x3e94f5(0x6,_0x3071e3[_0xa0f417(0x339)]),_0x3e94f5(0x7,_0x3071e3['Inject'](_0x4ccc17[_0xa0f417(0x2d1)]))],_0x326425);var _0x273a72=Object[_0xa0f417(0x33f)],_0x30e985=(_0x386689,_0x25cb1a,_0x165525,_0x293cb9)=>{for(var _0x49118c=_0x293cb9>0x1?void 0x0:_0x293cb9?_0x273a72(_0x25cb1a,_0x165525):_0x25cb1a,_0x34f9a4=_0x386689['length']-0x1,_0x40c59e;_0x34f9a4>=0x0;_0x34f9a4--)(_0x40c59e=_0x386689[_0x34f9a4])&&(_0x49118c=_0x40c59e(_0x49118c)||_0x49118c);return _0x49118c;},_0x34b4be=(_0x30109b,_0x47c876)=>(_0x57c51f,_0x227e20)=>_0x47c876(_0x57c51f,_0x227e20,_0x30109b);let _0xa13c2f=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x2a227d,_0xef8558,_0x54a9ec){const _0x23a8bd=_0xa0f417;super(),_0x4f1800(this,_0x23a8bd(0x317),new Map()),_0x4f1800(this,'_entityInit$',new _0x4dfa7e[(_0x23a8bd(0x34b))]()),(this[_0x23a8bd(0x36b)]=_0x2a227d,this[_0x23a8bd(0x3d5)]=_0xef8558,this['_collabSessionService']=_0x54a9ec,this[_0x23a8bd(0x3e7)]());}['dispose'](){const _0x2f472a=_0xa0f417;super[_0x2f472a(0x3ef)](),this[_0x2f472a(0x31d)][_0x2f472a(0x480)](),this[_0x2f472a(0x317)][_0x2f472a(0x1da)](_0xcf3559=>_0xcf3559['dispose']());}[_0xa0f417(0x33b)](_0x481387){const _0x22ccea=_0xa0f417;return this[_0x22ccea(0x317)]['has'](_0x481387)?this[_0x22ccea(0x317)][_0x22ccea(0x22f)](_0x481387)[_0x22ccea(0x1ce)]:this[_0x22ccea(0x31d)]['pipe'](_0x4dfa7e[_0x22ccea(0x323)](_0x4b2980=>_0x4b2980[_0x22ccea(0x2ea)]===_0x481387),_0x4dfa7e[_0x22ccea(0x2cf)](_0x537077=>_0x537077['cursorInfo$']));}['_init'](){const _0x5cc888=_0xa0f417;this[_0x5cc888(0x36b)][_0x5cc888(0x32a)](_0x3071e3[_0x5cc888(0x379)]['UNIVER_SHEET'])[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))[_0x5cc888(0x270)](async _0x5536f6=>{const _0x2b9fce=_0x5cc888,_0x234efc=_0x5536f6[_0x2b9fce(0x3d3)](),_0x12b170=await this[_0x2b9fce(0x2e7)](_0x234efc);this[_0x2b9fce(0x31d)]['next'](_0x12b170),this[_0x2b9fce(0x317)]['set'](_0x234efc,_0x12b170);}),this[_0x5cc888(0x36b)][_0x5cc888(0x32a)](_0x3071e3['UniverInstanceType'][_0x5cc888(0x267)])[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))['pipe'](_0x4dfa7e[_0x5cc888(0x323)](_0x3647fa=>!_0x3647fa[_0x5cc888(0x3d3)]()[_0x5cc888(0x33c)]('__')))['subscribe'](async _0x20da98=>{const _0x5250db=_0x5cc888,_0x48eb05=_0x20da98[_0x5250db(0x3d3)](),_0x5ba1ba=await this[_0x5250db(0x1ea)](_0x48eb05);this[_0x5250db(0x31d)][_0x5250db(0x26d)](_0x5ba1ba),this[_0x5250db(0x317)][_0x5250db(0x41c)](_0x48eb05,_0x5ba1ba);}),_0x4dfa7e['merge'](this['_univerInstanceService'][_0x5cc888(0x468)](_0x3071e3[_0x5cc888(0x379)][_0x5cc888(0x267)]),this[_0x5cc888(0x36b)][_0x5cc888(0x468)](_0x3071e3['UniverInstanceType'][_0x5cc888(0x1f6)]))[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))[_0x5cc888(0x270)](_0x3aa9fc=>{const _0x437f4b=_0x5cc888,_0x529a5b=_0x3aa9fc[_0x437f4b(0x3d3)](),_0x1d5b2e=this['_entities'][_0x437f4b(0x22f)](_0x529a5b);_0x1d5b2e&&(_0x1d5b2e[_0x437f4b(0x3ef)](),this[_0x437f4b(0x317)][_0x437f4b(0x1fb)](_0x529a5b));});}async[_0xa0f417(0x2e7)](_0x4b6694){const _0x3cfa9a=_0xa0f417,_0x1c4844=await this[_0x3cfa9a(0x36c)][_0x3cfa9a(0x3ca)](_0x4b6694),_0x5a4fc2=this[_0x3cfa9a(0x3d5)][_0x3cfa9a(0x459)](_0x326425,_0x4b6694,_0x1c4844);return _0x5a4fc2['init'](),_0x5a4fc2;}async[_0xa0f417(0x1ea)](_0x48a6fe){const _0x20489c=_0xa0f417,_0x24fddb=await this['_collabSessionService'][_0x20489c(0x3ca)](_0x48a6fe),_0x417807=this['_injector']['createInstance'](_0x5aa614,_0x48a6fe,_0x24fddb);return _0x417807[_0x20489c(0x416)](),_0x417807;}};_0xa13c2f=_0x30e985([_0x34b4be(0x0,_0x3071e3[_0xa0f417(0x24a)]),_0x34b4be(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['Injector'])),_0x34b4be(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed['CollaborationSessionService']))],_0xa13c2f);const _0x57f47f=0x14,_0x3e96e5=0xc8,_0x2943fa=0x4,_0x1f1219=0x5;function _0x119991(_0x4927fd,_0x27de24){const _0x534cfc=_0xa0f417;let {radius:_0x2802f4,width:_0x669326,height:_0x15be06}=_0x27de24;_0x2802f4=_0x2802f4!=null?_0x2802f4:0x0,_0x669326=_0x669326!=null?_0x669326:0x1e,_0x15be06=_0x15be06!=null?_0x15be06:0x1e;let _0x374ccb=0x0,_0x2889c3=0x0,_0x32c8ea=0x0;_0x374ccb=_0x2889c3=_0x32c8ea=Math['min'](_0x2802f4,_0x669326/0x2,_0x15be06/0x2),_0x4927fd['beginPath'](),_0x4927fd[_0x534cfc(0x1bd)](_0x374ccb,0x0),_0x4927fd['lineTo'](_0x669326-_0x2889c3,0x0),_0x4927fd[_0x534cfc(0x1de)](_0x669326-_0x2889c3,_0x2889c3,_0x2889c3,Math['PI']*0x3/0x2,0x0,!0x1),_0x4927fd[_0x534cfc(0x3cb)](_0x669326,_0x15be06-_0x32c8ea),_0x4927fd[_0x534cfc(0x1de)](_0x669326-_0x32c8ea,_0x15be06-_0x32c8ea,_0x32c8ea,0x0,Math['PI']/0x2,!0x1),_0x4927fd['lineTo'](0x0,_0x15be06),_0x4927fd[_0x534cfc(0x3cb)](0x0,_0x374ccb),_0x4927fd[_0x534cfc(0x1de)](_0x374ccb,_0x374ccb,_0x374ccb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4927fd['closePath'](),_0x27de24[_0x534cfc(0x422)]&&(_0x4927fd[_0x534cfc(0x1e8)](),_0x4927fd[_0x534cfc(0x28b)]=_0x27de24['fill'],_0x27de24[_0x534cfc(0x438)]===_0x534cfc(0x1d2)?_0x4927fd['fill']('evenodd'):_0x4927fd['fill'](),_0x4927fd[_0x534cfc(0x2d4)]());}class _0x47b047 extends _0x449944['Shape']{constructor(_0x55874a,_0x404806){const _0x2fed6e=_0xa0f417;super(_0x55874a,_0x404806),_0x4f1800(this,_0x2fed6e(0x456)),_0x4f1800(this,_0x2fed6e(0x1f1)),(this[_0x2fed6e(0x456)]=_0x404806==null?void 0x0:_0x404806[_0x2fed6e(0x456)],this[_0x2fed6e(0x1f1)]=_0x404806==null?void 0x0:_0x404806[_0x2fed6e(0x1f1)]);}static[_0xa0f417(0x45d)](_0x4de3ae,_0x1a21ef){const _0x1534aa=_0xa0f417,{text:_0x5cabfe,color:_0x45fe8d}=_0x1a21ef;_0x4de3ae[_0x1534aa(0x1e8)](),_0x4de3ae[_0x1534aa(0x362)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x7a8b8c=_0x4de3ae[_0x1534aa(0x284)](_0x5cabfe)[_0x1534aa(0x213)],_0x49e9f4=Math[_0x1534aa(0x31e)](_0x7a8b8c+0x2*_0x2943fa,_0x3e96e5);_0x119991(_0x4de3ae,{'height':_0x57f47f,'radius':0x4,'width':_0x49e9f4,'fill':_0x45fe8d}),_0x4de3ae[_0x1534aa(0x28b)]=_0x1534aa(0x395);const _0x35bb24=_0x2943fa,_0x3abe29=_0x57f47f-_0x1f1219,_0x177dd8=_0x3e96e5-0x2*_0x2943fa;if(_0x7a8b8c>_0x177dd8){let _0x1a5812='',_0x2c7243=0x0;for(const _0x5d8eca of _0x5cabfe){const _0x39568b=_0x4de3ae[_0x1534aa(0x284)](_0x5d8eca)[_0x1534aa(0x213)];if(_0x2c7243+_0x39568b<=_0x177dd8-_0x4de3ae[_0x1534aa(0x284)](_0x1534aa(0x2d5))['width'])_0x1a5812+=_0x5d8eca,_0x2c7243+=_0x39568b;else{_0x1a5812+='...';break;}}_0x4de3ae[_0x1534aa(0x26f)](_0x1a5812,_0x35bb24,_0x3abe29);}else _0x4de3ae[_0x1534aa(0x26f)](_0x5cabfe,_0x35bb24,_0x3abe29);_0x4de3ae['restore']();}[_0xa0f417(0x3f1)](_0x5d5942){_0x47b047['drawWith'](_0x5d5942,this);}}const _0x331a61='collab-text-anchor-',_0x2ee432='collab-text-range-',_0x45db05=_0xa0f417(0x2c2),_0x20aa83=0x6,_0x5e1cb4=1.5,_0x44ee46=0x4,_0x29d70b=1.5,_0x562dbb=_0xa0f417(0x49b);class _0x358a2d{constructor(_0x55714b,_0x5e4a4c,_0x2e75d1,_0x241954){const _0x4e0efa=_0xa0f417;_0x4f1800(this,_0x4e0efa(0x1c3),[]),_0x4f1800(this,_0x4e0efa(0x470),null),_0x4f1800(this,_0x4e0efa(0x2bf),null),_0x4f1800(this,_0x4e0efa(0x488),null),_0x4f1800(this,_0x4e0efa(0x211),null),_0x4f1800(this,_0x4e0efa(0x3b0),null),(this[_0x4e0efa(0x3d2)]=_0x55714b,this[_0x4e0efa(0x30b)]=_0x5e4a4c,this[_0x4e0efa(0x414)]=_0x2e75d1,this[_0x4e0efa(0x40d)]=_0x241954,this['_render']());}set['_hover'](_0x415bdd){const _0x54fa3e=_0xa0f417;_0x415bdd?(this[_0x54fa3e(0x488)]&&this[_0x54fa3e(0x488)][_0x54fa3e(0x378)](),this[_0x54fa3e(0x2bf)]&&this['_textBubble']['show']()):(this[_0x54fa3e(0x488)]&&this['_anchorDot']['show'](),this[_0x54fa3e(0x2bf)]&&this[_0x54fa3e(0x2bf)]['hide']());}['dispose'](){const _0x30d1a8=_0xa0f417;for(const _0x764cd3 of this[_0x30d1a8(0x1c3)])_0x764cd3['dispose']();this[_0x30d1a8(0x2bf)]&&this[_0x30d1a8(0x2bf)][_0x30d1a8(0x3ef)](),this[_0x30d1a8(0x488)]&&this['_anchorDot'][_0x30d1a8(0x3ef)](),this[_0x30d1a8(0x470)]&&this[_0x30d1a8(0x470)]['dispose'](),this[_0x30d1a8(0x3b0)]&&this[_0x30d1a8(0x3b0)]();}[_0xa0f417(0x493)](){const _0x306f20=_0xa0f417;var _0x329695;const {_docSkeleton:_0xeafe59,_document:_0x1457a5}=this,{color:_0x150737,name:_0x258dca,ranges:_0x51d70d}=this[_0x306f20(0x3d2)],_0x555095=_0x1457a5[_0x306f20(0x411)](),{docsLeft:_0x13a2bb,docsTop:_0x27a2e5}=_0x555095,_0x130aba=new _0x39debf[(_0x306f20(0x1dc))](_0x555095,_0xeafe59);for(const {startOffset:_0x380f5c,endOffset:_0x3f3b5a,rangeType:_0xe45ed4,segmentId:_0x464d98,segmentPage:_0x487c15,collapsed:_0x4426bd,isActive:_0x4d13be}of _0x51d70d){const _0x3c05f0=_0xeafe59['findNodePositionByCharIndex'](_0x380f5c,!0x0,_0x464d98,_0x487c15);let _0x4a50f6=_0xeafe59[_0x306f20(0x240)](_0x3f3b5a,!0x0,_0x464d98,_0x487c15);if(_0x4a50f6==null&&(_0x4a50f6=_0xeafe59[_0x306f20(0x240)](_0x3f3b5a-0x1,!0x1,_0x464d98,_0x487c15)),_0x4d13be){const {contentBoxPointGroup:_0x37242b}=_0x130aba[_0x306f20(0x3a7)](_0x4a50f6,_0x4a50f6);if(_0x37242b[_0x306f20(0x2be)]===0x0)continue;this[_0x306f20(0x279)](_0x150737,_0x37242b,_0x13a2bb,_0x27a2e5,_0x258dca),this[_0x306f20(0x3b0)]=this[_0x306f20(0x21b)]();}if(_0x3c05f0&&_0x4a50f6){if(_0xe45ed4===_0x3071e3[_0x306f20(0x337)][_0x306f20(0x2ef)]){const _0x4108e0=new _0x39debf[(_0x306f20(0x3c9))](_0x555095,_0xeafe59),{pointGroup:_0x393b7f}=(_0x329695=_0x4108e0[_0x306f20(0x3a7)](_0x3c05f0,_0x4a50f6))!=null?_0x329695:{};if(_0x393b7f==null||_0x393b7f[_0x306f20(0x2be)]===0x0)continue;this[_0x306f20(0x333)](_0x150737,_0x393b7f,_0x13a2bb,_0x27a2e5);}else{if(!_0x4426bd){const {borderBoxPointGroup:_0x589313}=_0x130aba[_0x306f20(0x3a7)](_0x3c05f0,_0x4a50f6);if(_0x589313['length']===0x0)continue;this[_0x306f20(0x3f8)](_0x150737,_0x589313,_0x13a2bb,_0x27a2e5);}}}}}['_drawAnchor'](_0x3e6c30,_0x433eea,_0x33cd1f,_0x4ec105,_0x5e7ede){const _0x4141af=_0xa0f417,_0x4f8c58=this[_0x4141af(0x393)](_0x433eea),{left:_0x3d6c7f,top:_0x27f46a,height:_0x5bbd0c}=_0x4f8c58,_0x35cb98=this[_0x4141af(0x373)](),_0x30cba2=_0x29d70b/_0x35cb98,_0x10a32c=new _0x449944['Rect'](_0x331a61+_0x3071e3['generateRandomId'](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105,'height':_0x5bbd0c,'width':_0x5e1cb4,'fill':_0x3e6c30||_0x449944['getColor'](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'strokeWidth':_0x30cba2,'stroke':_0x562dbb,'evented':!0x0});this[_0x4141af(0x470)]=_0x10a32c,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x10a32c,_0x39debf['TEXT_RANGE_LAYER_INDEX']);const _0x452f4e=new _0x449944[(_0x4141af(0x232))](_0x331a61+_0x3071e3[_0x4141af(0x3f5)](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105-_0x44ee46/0x2,'height':_0x44ee46,'width':_0x44ee46,'fill':_0x3e6c30||_0x449944[_0x4141af(0x478)](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'strokeWidth':0x0,'stroke':_0x3e6c30||_0x449944[_0x4141af(0x478)](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'evented':!0x1});this[_0x4141af(0x488)]=_0x452f4e,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x452f4e,_0x39debf[_0x4141af(0x383)]);const _0x1a922b=new _0x47b047(_0x331a61+_0x3071e3['generateRandomId'](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105-_0x57f47f,'text':_0x5e7ede,'color':_0x3e6c30});this[_0x4141af(0x2bf)]=_0x1a922b,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x1a922b,_0x39debf[_0x4141af(0x383)]),this[_0x4141af(0x2cc)]=!0x1;}[_0xa0f417(0x21b)](){const _0x2325a8=_0xa0f417,_0x4e0bdf=this[_0x2325a8(0x470)][_0x2325a8(0x421)]['subscribeEvent'](()=>{const _0x2a22a9=_0x2325a8;this[_0x2a22a9(0x2cc)]=!0x0;}),_0x425772=this[_0x2325a8(0x470)][_0x2325a8(0x39c)][_0x2325a8(0x484)](()=>{const _0x2b7cf3=_0x2325a8;this[_0x2b7cf3(0x211)]&&clearTimeout(this[_0x2b7cf3(0x211)]),this[_0x2b7cf3(0x211)]=setTimeout(()=>{const _0x47bfdb=_0x2b7cf3;this[_0x47bfdb(0x2cc)]=!0x1;},0x7d0);});return()=>{_0x4e0bdf['unsubscribe'](),_0x425772['unsubscribe']();};}[_0xa0f417(0x3f8)](_0x501a1c,_0x2bb82d,_0x12fa48,_0xac508c){const _0x339b3e=_0xa0f417,_0x425f11=new _0x3071e3[(_0x339b3e(0x452))](_0x501a1c)[_0x339b3e(0x2e9)](0.2)[_0x339b3e(0x2fb)](),_0x543a28=new _0x449944['RegularPolygon'](_0x2ee432+_0x3071e3[_0x339b3e(0x3f5)](_0x20aa83),{'pointsGroup':_0x2bb82d,'fill':_0x425f11||_0x449944['getColor'](_0x3071e3[_0x339b3e(0x314)]['black'],0.2),'left':_0x12fa48,'top':_0xac508c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x339b3e(0x1c3)][_0x339b3e(0x1d3)](_0x543a28),this[_0x339b3e(0x30b)][_0x339b3e(0x42c)](_0x543a28,_0x39debf['TEXT_RANGE_LAYER_INDEX']);}[_0xa0f417(0x333)](_0x7d9f23,_0x6075ed,_0x3f7d74,_0x52603b){const _0x27b5f0=_0xa0f417,_0x2d0e7c=new _0x3071e3['ColorKit'](_0x7d9f23)[_0x27b5f0(0x2e9)](0.2)[_0x27b5f0(0x2fb)](),_0x116344=new _0x449944['RegularPolygon'](_0x45db05+_0x3071e3[_0x27b5f0(0x3f5)](_0x20aa83),{'pointsGroup':_0x6075ed,'fill':_0x2d0e7c||_0x449944[_0x27b5f0(0x478)](_0x3071e3[_0x27b5f0(0x314)][_0x27b5f0(0x277)],0.2),'left':_0x3f7d74,'top':_0x52603b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27b5f0(0x1c3)][_0x27b5f0(0x1d3)](_0x116344),this[_0x27b5f0(0x30b)][_0x27b5f0(0x42c)](_0x116344,_0x39debf[_0x27b5f0(0x383)]);}[_0xa0f417(0x393)](_0x4ee8d6){const _0x421cc0=_0x4ee8d6[0x0],_0x231c77=_0x421cc0[0x0],_0x1883f0=_0x421cc0[0x2],{x:_0x5878ed,y:_0x2b8e41}=_0x231c77,{x:_0x555096,y:_0x572ec6}=_0x1883f0;return{'left':_0x5878ed,'top':_0x2b8e41,'width':_0x555096-_0x5878ed,'height':_0x572ec6-_0x2b8e41};}[_0xa0f417(0x373)](){const _0x1f387b=_0xa0f417,{scaleX:_0xa2a5b4,scaleY:_0x4a09b3}=this[_0x1f387b(0x30b)][_0x1f387b(0x30e)]();return Math[_0x1f387b(0x3fc)](_0xa2a5b4,_0x4a09b3);}}var _0x59b663=Object[_0xa0f417(0x33f)],_0x229b7a=(_0x27da56,_0x459238,_0x65fcbd,_0x4d5ba3)=>{const _0x1dda67=_0xa0f417;for(var _0x7fd4a5=_0x4d5ba3>0x1?void 0x0:_0x4d5ba3?_0x59b663(_0x459238,_0x65fcbd):_0x459238,_0x4b52d1=_0x27da56[_0x1dda67(0x2be)]-0x1,_0x38137a;_0x4b52d1>=0x0;_0x4b52d1--)(_0x38137a=_0x27da56[_0x4b52d1])&&(_0x7fd4a5=_0x38137a(_0x7fd4a5)||_0x7fd4a5);return _0x7fd4a5;},_0x19afe5=(_0x6a45cb,_0x4a7f50)=>(_0x53e107,_0x41ebd8)=>_0x4a7f50(_0x53e107,_0x41ebd8,_0x6a45cb);let _0x45817c=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x404423,_0x37f26d,_0x5ae5e5,_0x17a56a,_0x419ba3){const _0x5b5310=_0xa0f417;super(),_0x4f1800(this,_0x5b5310(0x335),[]),_0x4f1800(this,_0x5b5310(0x475),[]),(this[_0x5b5310(0x485)]=_0x404423,this[_0x5b5310(0x3b5)]=_0x37f26d,this['_collabCursorController']=_0x5ae5e5,this[_0x5b5310(0x278)]=_0x17a56a,this['_themeService']=_0x419ba3,this['_init']());}['_init'](){const _0x56e002=_0xa0f417,_0x2bd104=this[_0x56e002(0x485)]['unitId'],_0x163c47=this['_docSkeletonManagerService'];this[_0x56e002(0x451)](_0x4dfa7e['combineLatest']([this[_0x56e002(0x31b)]['getCollabCursors$'](_0x2bd104),this[_0x56e002(0x2c5)][_0x56e002(0x24c)]])[_0x56e002(0x1f3)](_0x2f0e2e[_0x56e002(0x348)](([_0x37e716,_0x16714b])=>({'skeleton':_0x163c47['getSkeleton'](),'cursors':[..._0x37e716['values']()][_0x56e002(0x21d)](_0x4ac48d=>({..._0x4ac48d,'color':this[_0x56e002(0x2c5)][_0x56e002(0x3e2)](_0x4ac48d['color'])}))})))['subscribe'](_0x2c50e2=>{const _0x326fdd=_0x56e002;if(this[_0x326fdd(0x238)](),_0x2c50e2){const {skeleton:_0x46a051,cursors:_0x54cd15}=_0x2c50e2;this['_updateCollabCursors'](_0x46a051,_0x54cd15);}})),this[_0x56e002(0x3b6)](),this[_0x56e002(0x23b)]();}[_0xa0f417(0x1f8)](_0x4174a7,_0x388d5a){const _0x35c403=_0xa0f417,{scene:_0x343430,mainComponent:_0x292934}=this[_0x35c403(0x485)],_0x4af194=_0x388d5a[_0x35c403(0x348)](_0x2ea05d=>new _0x358a2d(_0x2ea05d,_0x343430,_0x4174a7,_0x292934));this[_0x35c403(0x335)]=_0x4af194,this['_cursors']=_0x388d5a;}['_refreshCollabCursors'](){const _0x511432=_0xa0f417;this[_0x511432(0x238)]();const {scene:_0x4b6ad0,mainComponent:_0x377642}=this[_0x511432(0x485)],_0x3ab0d2=this['_docSkeletonManagerService']['getSkeleton'](),_0x125369=this[_0x511432(0x475)][_0x511432(0x348)](_0x3e5d8=>new _0x358a2d(_0x3e5d8,_0x4b6ad0,_0x3ab0d2,_0x377642));this[_0x511432(0x335)]=_0x125369;}[_0xa0f417(0x238)](){const _0x8226d8=_0xa0f417;this['_cursorShapes'][_0x8226d8(0x1da)](_0x3f1efb=>_0x3f1efb[_0x8226d8(0x3ef)]()),this['_cursorShapes']=[];}[_0xa0f417(0x23b)](){const _0x2229c8=_0xa0f417,_0x9fcea5=[_0x39debf[_0x2229c8(0x380)]['id']];this[_0x2229c8(0x451)](this[_0x2229c8(0x278)][_0x2229c8(0x1a8)](_0x534ca4=>{const _0x5a66b9=_0x2229c8;_0x9fcea5[_0x5a66b9(0x49a)](_0x534ca4['id'])&&_0x534ca4[_0x5a66b9(0x39d)][_0x5a66b9(0x306)]===this[_0x5a66b9(0x485)][_0x5a66b9(0x306)]&&this[_0x5a66b9(0x208)]();}));}[_0xa0f417(0x3b6)](){const _0x4189a0=_0xa0f417;this[_0x4189a0(0x451)](_0x3071e3['fromEventSubject'](this['_context']['engine']['onTransformChange$'])[_0x4189a0(0x1f3)](_0x2f0e2e[_0x4189a0(0x323)](_0x51ad73=>_0x51ad73['type']===_0x449944['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4189a0(0x26b)]),_0x2f0e2e[_0x4189a0(0x25e)](0x10))['subscribe'](()=>{const _0x18dc9c=_0x4189a0;this[_0x18dc9c(0x208)]();}));}};_0x45817c=_0x229b7a([_0x19afe5(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x4f248[_0xa0f417(0x209)])),_0x19afe5(0x2,_0x3071e3['Inject'](_0xa13c2f)),_0x19afe5(0x3,_0x3071e3[_0xa0f417(0x339)]),_0x19afe5(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['ThemeService']))],_0x45817c);const _0x38addb=0x1,_0x3f76dd=1.5;class _0x1391f5 extends _0x449944['Shape']{constructor(_0x4d2467,_0x12f405){const _0x32a6db=_0xa0f417;super(_0x4d2467,_0x12f405),_0x4f1800(this,'_color'),_0x4f1800(this,_0x32a6db(0x410),!0x1),_0x4f1800(this,_0x32a6db(0x269)),_0x4f1800(this,_0x32a6db(0x2ab),''),_0x4f1800(this,_0x32a6db(0x252),'top'),_0x4f1800(this,_0x32a6db(0x38a)),(_0x12f405&&this[_0x32a6db(0x261)](_0x12f405),this['onPointerEnter$'][_0x32a6db(0x484)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x32a6db(0x39c)][_0x32a6db(0x484)](()=>this[_0x32a6db(0x261)]({'hovered':!0x1})));}[_0xa0f417(0x261)](_0x5dfb76){const _0x1ba9cf=_0xa0f417;var _0x28af11,_0x2803bf,_0x2bf7d4,_0x7a0c53,_0x1daad1,_0x2c4dca;this[_0x1ba9cf(0x1b8)]=(_0x28af11=_0x5dfb76[_0x1ba9cf(0x456)])!=null?_0x28af11:this[_0x1ba9cf(0x1b8)],this[_0x1ba9cf(0x410)]=(_0x2803bf=_0x5dfb76[_0x1ba9cf(0x3b7)])!=null?_0x2803bf:this['_hovered'],this[_0x1ba9cf(0x269)]=(_0x2bf7d4=_0x5dfb76[_0x1ba9cf(0x457)])!=null?_0x2bf7d4:this[_0x1ba9cf(0x269)],this[_0x1ba9cf(0x2ab)]=(_0x7a0c53=_0x5dfb76[_0x1ba9cf(0x34d)])!=null?_0x7a0c53:this[_0x1ba9cf(0x2ab)],this[_0x1ba9cf(0x252)]=(_0x1daad1=_0x5dfb76[_0x1ba9cf(0x214)])!=null?_0x1daad1:this[_0x1ba9cf(0x252)],this[_0x1ba9cf(0x38a)]=(_0x2c4dca=_0x5dfb76[_0x1ba9cf(0x289)])!=null?_0x2c4dca:this[_0x1ba9cf(0x38a)],this['transformByState']({'width':_0x5dfb76[_0x1ba9cf(0x213)],'height':_0x5dfb76[_0x1ba9cf(0x397)]});}['onMouseMove'](_0x3dc6cb){const _0x48815c=_0xa0f417,{row:_0x16dfe3,column:_0x134ae6}=_0x3dc6cb;if(_0x16dfe3>=this[_0x48815c(0x269)][_0x48815c(0x293)]&&_0x16dfe3<=this['_range'][_0x48815c(0x3ff)]&&_0x134ae6>=this[_0x48815c(0x269)]['startColumn']&&_0x134ae6<=this[_0x48815c(0x269)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x48815c(0x261)]({'hovered':!0x1});}[_0xa0f417(0x310)](_0x34dab5){return!0x1;}[_0xa0f417(0x3f1)](_0xb44d6f){const _0x538dc8=_0xa0f417;_0x449944[_0x538dc8(0x232)]['drawWith'](_0xb44d6f,{'width':this['width'],'height':this[_0x538dc8(0x397)],'strokeWidth':_0x3f76dd,'stroke':this[_0x538dc8(0x1b8)],'evented':!0x1,'fill':this[_0x538dc8(0x38a)]}),this[_0x538dc8(0x410)]&&(_0xb44d6f[_0x538dc8(0x1e8)](),_0xb44d6f[_0x538dc8(0x3cc)](0x1,0x0,0x0,0x1,this[_0x538dc8(0x213)],this['_labelPosition']==='bottom'?0x0:-_0x57f47f),_0x47b047['drawWith'](_0xb44d6f,{'text':this['_name'],'color':this[_0x538dc8(0x1b8)]}),_0xb44d6f[_0x538dc8(0x2d4)]());}}var _0x48dc9c=Object[_0xa0f417(0x33f)],_0x1276de=(_0x56a4dd,_0x5deaeb,_0x23dc86,_0x360eec)=>{const _0x9cf188=_0xa0f417;for(var _0x3387ae=_0x360eec>0x1?void 0x0:_0x360eec?_0x48dc9c(_0x5deaeb,_0x23dc86):_0x5deaeb,_0x81b0a7=_0x56a4dd[_0x9cf188(0x2be)]-0x1,_0x5e6940;_0x81b0a7>=0x0;_0x81b0a7--)(_0x5e6940=_0x56a4dd[_0x81b0a7])&&(_0x3387ae=_0x5e6940(_0x3387ae)||_0x3387ae);return _0x3387ae;},_0x90608e=(_0x546f32,_0x19fd0b)=>(_0x3eb861,_0x3c06c0)=>_0x19fd0b(_0x3eb861,_0x3c06c0,_0x546f32);const _0x32949c=0x1389;let _0x7c81f2=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x4a95f6,_0x3a93b0,_0x175697,_0x1b51cd){const _0x13733a=_0xa0f417;super(),_0x4f1800(this,_0x13733a(0x475),new Set()),_0x4f1800(this,_0x13733a(0x46d),null),(this['_context']=_0x4a95f6,this[_0x13733a(0x2f1)]=_0x3a93b0,this[_0x13733a(0x31b)]=_0x175697,this[_0x13733a(0x2c5)]=_0x1b51cd,this['_init']());}[_0xa0f417(0x3e7)](){const _0x555746=_0xa0f417;this[_0x555746(0x2f1)][_0x555746(0x3e0)][_0x555746(0x1f3)](_0x2f0e2e['takeUntil'](this[_0x555746(0x382)]),_0x2f0e2e[_0x555746(0x2cf)](_0x184fd4=>{const _0x15e62b=_0x555746;if(_0x184fd4){const _0xc3e95f=_0x184fd4[_0x15e62b(0x1c0)];return _0x4dfa7e['combineLatest'](this['_collabCursorController'][_0x15e62b(0x33b)](this[_0x15e62b(0x485)][_0x15e62b(0x306)]),this[_0x15e62b(0x2c5)][_0x15e62b(0x24c)])[_0x15e62b(0x1f3)](_0x2f0e2e['map'](([_0x2fc9e7,_0x25835b])=>{const _0x4cb16a=new Map();return _0x2fc9e7['forEach']((_0x35665f,_0x3924e9)=>{const _0x1c6993=_0x21aa;if(_0x35665f[_0x1c6993(0x41f)]===_0xc3e95f){const _0x15b48b={..._0x35665f};_0x15b48b[_0x1c6993(0x456)]=this[_0x1c6993(0x2c5)]['getColorFromTheme'](_0x35665f[_0x1c6993(0x456)]),_0x4cb16a[_0x1c6993(0x41c)](_0x3924e9,_0x15b48b);}}),{'skeleton':_0x184fd4,'cursors':_0x4cb16a};}));}return _0x4dfa7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x555746(0x270)](({skeleton:_0x46dc64,cursors:_0x580d9d})=>{const _0xecc5ee=_0x555746;this['_removeCollabCursors'](),_0x46dc64&&this[_0xecc5ee(0x1f8)](_0x46dc64,_0x580d9d);}),this[_0x555746(0x2f1)][_0x555746(0x3e0)]['subscribe'](_0x15e147=>{const _0x357a03=_0x555746;if(_0x15e147==null)return;const {skeleton:_0x5e5a53}=_0x15e147,{scene:_0x1c31a5}=this[_0x357a03(0x485)];_0x1c31a5[_0x357a03(0x3af)][_0x357a03(0x484)](_0x3071e3['debounce'](_0x3c8def=>{const _0x31dcc3=_0x357a03;var _0x50cd4f,_0x41bf02;const {offsetX:_0x262f4c,offsetY:_0x97a459}=_0x3c8def,{x:_0xdfb1db,y:_0x51e607}=_0x1c31a5[_0x31dcc3(0x405)](_0x449944[_0x31dcc3(0x1f4)][_0x31dcc3(0x2b1)]([_0x262f4c,_0x97a459])),{scaleX:_0x3561a1,scaleY:_0x594c00}=_0x1c31a5[_0x31dcc3(0x30e)](),_0x5e00e9=_0x1c31a5[_0x31dcc3(0x444)](_0x449944[_0x31dcc3(0x492)][_0x31dcc3(0x32e)]),_0x584110=_0x1c31a5[_0x31dcc3(0x3c5)](_0x449944[_0x31dcc3(0x1f4)][_0x31dcc3(0x2b1)]([_0xdfb1db,_0x51e607]),_0x5e00e9),_0x3efe83=_0x5e5a53[_0x31dcc3(0x366)](_0x262f4c,_0x97a459,_0x3561a1,_0x594c00,_0x584110);((_0x50cd4f=this[_0x31dcc3(0x46d)])==null?void 0x0:_0x50cd4f[_0x31dcc3(0x3dd)])===_0x3efe83[_0x31dcc3(0x3dd)]&&((_0x41bf02=this[_0x31dcc3(0x46d)])==null?void 0x0:_0x41bf02[_0x31dcc3(0x2cd)])===_0x3efe83[_0x31dcc3(0x2cd)]||this[_0x31dcc3(0x475)][_0x31dcc3(0x1da)](_0x27a029=>{const _0x5c2b29=_0x31dcc3;_0x27a029[_0x5c2b29(0x300)](_0x3efe83);});},0x64));});}['_updateCollabCursors'](_0x40b473,_0x12174f){const _0x3cc71c=_0xa0f417;var _0x28ef54;const _0x1769b0=(_0x28ef54=this[_0x3cc71c(0x2f1)][_0x3cc71c(0x2d8)]())==null?void 0x0:_0x28ef54['skeleton'];if(!_0x1769b0)return;const _0x41d763=this[_0x3cc71c(0x461)]();if(!_0x41d763)return;this[_0x3cc71c(0x475)][_0x3cc71c(0x1da)](_0x5bbf7b=>{const _0x92c289=_0x3cc71c;_0x5bbf7b[_0x92c289(0x2bb)]();});const {scene:_0x43cf03}=_0x41d763,_0x5e2403=_0xcd53(Array[_0x3cc71c(0x48d)](_0x12174f[_0x3cc71c(0x483)]()))[_0x3cc71c(0x348)](_0x246411=>{const _0x172483=_0x3cc71c,{color:_0x445ac7,range:_0x4baad8,name:_0x342ea6,selection:_0x2fcb38,sheetID:_0x10999e}=_0x246411,{startColumn:_0x25a7da,startRow:_0x259aa0,endColumn:_0x576c6c,endRow:_0x45f695}=_0x4baad8,_0x59e6fd=_0x5317b2[_0x172483(0x3ae)](_0x259aa0,_0x25a7da,_0x43cf03,_0x1769b0),_0x302cb8=_0x5317b2[_0x172483(0x3ae)](_0x45f695,_0x576c6c,_0x43cf03,_0x1769b0),{columnHeaderHeightAndMarginTop:_0x4851a3}=_0x1769b0,{startX:_0x5aa52b,startY:_0x1d98b8}=_0x59e6fd,{endX:_0x35c412,endY:_0x2fdb68}=_0x302cb8,_0x517f6e=_0x35c412-_0x5aa52b,_0xaa1f07=_0x2fdb68-_0x1d98b8,_0x2e1752={'labelPosition':_0x1d98b8-_0x4851a3>=_0x57f47f?'top':_0x172483(0x3fd),'sheetID':_0x10999e,'range':_0x4baad8,'color':_0x445ac7,'name':_0x342ea6,'selection':_0x2fcb38,'left':_0x5aa52b,'top':_0x1d98b8,'width':_0x517f6e,'height':_0xaa1f07,'evented':!0x1,'zIndex':_0x32949c};return new _0x1391f5(_0x342ea6,_0x2e1752);});_0x43cf03[_0x3cc71c(0x327)](_0x5e2403,_0x38addb),this['_cursors']=new Set(_0x5e2403);}[_0xa0f417(0x238)](){const _0x3879f7=_0xa0f417;var _0x2990b;(_0x2990b=this[_0x3879f7(0x475)])==null||_0x2990b[_0x3879f7(0x1da)](_0x3e0577=>_0x3e0577[_0x3879f7(0x3ef)]());}[_0xa0f417(0x461)](){const _0xaf8d60=_0xa0f417;return _0x5317b2['getSheetObject'](this[_0xaf8d60(0x485)][_0xaf8d60(0x34f)],this[_0xaf8d60(0x485)]);}};_0x7c81f2=_0x1276de([_0x90608e(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x5317b2[_0xa0f417(0x346)])),_0x90608e(0x2,_0x3071e3['Inject'](_0xa13c2f)),_0x90608e(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x369)]))],_0x7c81f2);function _0xcd53(_0x3532cb){const _0x18a718=_0xa0f417,_0x7ab9b=new Map();return _0x3532cb[_0x18a718(0x1da)](_0x238dc0=>{const _0x47b832=_0x18a718;if(_0x7ab9b[_0x47b832(0x3bb)](_0x238dc0['selection'])){const _0x47c197=_0x7ab9b[_0x47b832(0x22f)](_0x238dc0[_0x47b832(0x2f6)]);_0x47c197[_0x47b832(0x34d)]+=',\x20'+_0x238dc0['name'];}else _0x7ab9b['set'](_0x238dc0[_0x47b832(0x2f6)],_0x238dc0);}),Array[_0x18a718(0x48d)](_0x7ab9b[_0x18a718(0x483)]());}var _0x350f8c=Object['getOwnPropertyDescriptor'],_0x28a743=(_0x196507,_0x243fb8,_0x457308,_0x1c1429)=>{const _0x313314=_0xa0f417;for(var _0x5790d3=_0x1c1429>0x1?void 0x0:_0x1c1429?_0x350f8c(_0x243fb8,_0x457308):_0x243fb8,_0xd77c98=_0x196507[_0x313314(0x2be)]-0x1,_0xff0ad6;_0xd77c98>=0x0;_0xd77c98--)(_0xff0ad6=_0x196507[_0xd77c98])&&(_0x5790d3=_0xff0ad6(_0x5790d3)||_0x5790d3);return _0x5790d3;},_0x4884dc=(_0x13a30b,_0x284e47)=>(_0x316593,_0x22ebb1)=>_0x284e47(_0x316593,_0x22ebb1,_0x13a30b);let _0x30c33c=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x4289af,_0xbf486,_0x2a5cda,_0x5dfce1,_0x201e7e,_0x2daedb){const _0x548a12=_0xa0f417;super(),this[_0x548a12(0x3f2)]=_0x4289af,this[_0x548a12(0x48a)]=_0xbf486,this['_collaborationUIEventService']=_0x2a5cda,this[_0x548a12(0x42b)]=_0x5dfce1,this[_0x548a12(0x3d0)]=_0x201e7e,this[_0x548a12(0x434)]=_0x2daedb,this[_0x548a12(0x35d)](),this[_0x548a12(0x38d)]();}['_setupBeforeClosingHandler'](){const _0x4af70f=_0xa0f417;this[_0x4af70f(0x451)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31680e=_0x4af70f;if(this[_0x31680e(0x48a)]['saveTaskMap']['size'])return this[_0x31680e(0x434)]['t']('collaboration.offline-data-not-saved');}));}[_0xa0f417(0x38d)](){const _0x29c3d9=_0xa0f417;this['disposeWithMe'](this[_0x29c3d9(0x294)][_0x29c3d9(0x298)][_0x29c3d9(0x270)](_0xc44a12=>{const _0x15b889=_0x29c3d9;_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x3bc))}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x40a)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t']('collaboration.closeRoom')}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x32c)]&&this[_0x15b889(0x3d0)]['show']({'title':this[_0x15b889(0x434)]['t'](_0x15b889(0x1b1)),'content':this['_localeService']['t'](_0x15b889(0x230)),'type':_0x15b889(0x30a),'duration':0x0}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x338)]&&this[_0x15b889(0x42b)]['show']({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x400)],'content':this[_0x15b889(0x434)]['t']('collaboration.closeRoom')+'('+_0xc44a12['data']+')'}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId'][_0x15b889(0x1bc)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0xc44a12[_0x15b889(0x23f)]||'')}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x303))}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e['MessageType']['Error'],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x2d9))}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x3a6)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x400)],'content':this['_localeService']['t'](_0x15b889(0x212))});}));}};_0x30c33c=_0x28a743([_0x4884dc(0x0,_0x2fdbef[_0xa0f417(0x3a3)]),_0x4884dc(0x1,_0x47c5ed[_0xa0f417(0x28a)]),_0x4884dc(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x3f7)])),_0x4884dc(0x3,_0x2fdbef[_0xa0f417(0x454)]),_0x4884dc(0x4,_0x2fdbef[_0xa0f417(0x1e0)]),_0x4884dc(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x30c33c);var _0x3e4591=Object['getOwnPropertyDescriptor'],_0x3f6344=(_0x430ffe,_0x428ff3,_0x9fbe85,_0x49da09)=>{const _0x1de9c8=_0xa0f417;for(var _0xf9f1d=_0x49da09>0x1?void 0x0:_0x49da09?_0x3e4591(_0x428ff3,_0x9fbe85):_0x428ff3,_0x5cc1c7=_0x430ffe[_0x1de9c8(0x2be)]-0x1,_0x1028a9;_0x5cc1c7>=0x0;_0x5cc1c7--)(_0x1028a9=_0x430ffe[_0x5cc1c7])&&(_0xf9f1d=_0x1028a9(_0xf9f1d)||_0xf9f1d);return _0xf9f1d;},_0x12472c=(_0x2f3f56,_0x472770)=>(_0x187758,_0x596972)=>_0x472770(_0x187758,_0x596972,_0x2f3f56);let _0x3b8dfa=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x5a4411,_0x9f3989,_0x441884,_0x272706){const _0x13369c=_0xa0f417;super(),_0x4f1800(this,_0x13369c(0x2a5)),(this[_0x13369c(0x3d5)]=_0x5a4411,this[_0x13369c(0x430)]=_0x9f3989,this[_0x13369c(0x39b)]=_0x441884,this['_collaborationSessionService']=_0x272706,this[_0x13369c(0x3e7)]());}[_0xa0f417(0x3e7)](){const _0xc636e0=_0xa0f417;this[_0xc636e0(0x220)](),this[_0xc636e0(0x2c3)](),this['_monkeyPatchLogService'](),this[_0xc636e0(0x441)]();}['_initUserListener'](){const _0xde7a7c=_0xa0f417;this[_0xde7a7c(0x451)](this[_0xde7a7c(0x1f9)][_0xde7a7c(0x2b6)]['subscribe'](_0x1d3699=>{const _0xd52c12=_0xde7a7c;this[_0xd52c12(0x2a5)]=_0x1d3699==null?void 0x0:_0x1d3699[_0xd52c12(0x363)];}));}[_0xa0f417(0x220)](){const _0x22828a=_0xa0f417,_0xa90b8c=_0x460252=>{const _0x43a532=_0x21aa;var _0x2db143;this[_0x43a532(0x32d)](_0x43a532(0x30a),_0x43a532(0x349)+_0x460252[_0x43a532(0x44d)]+_0x43a532(0x351)+_0x460252[_0x43a532(0x428)]+':'+_0x460252[_0x43a532(0x218)]+':'+_0x460252[_0x43a532(0x264)]+'\x0a'+(((_0x2db143=_0x460252[_0x43a532(0x30a)])==null?void 0x0:_0x2db143[_0x43a532(0x1a9)])||''));};window['addEventListener']('error',_0xa90b8c),this[_0x22828a(0x451)](()=>{const _0x40df7a=_0x22828a;window[_0x40df7a(0x2c9)]('error',_0xa90b8c);});}[_0xa0f417(0x2c3)](){const _0x3c13aa=_0xa0f417,_0x3296f2=_0x5935e2=>{const _0x423274=_0x21aa;this[_0x423274(0x32d)](_0x423274(0x30a),_0x423274(0x3ee)+_0x5935e2[_0x423274(0x474)]);};window['addEventListener'](_0x3c13aa(0x1fa),_0x3296f2),this[_0x3c13aa(0x451)](()=>{const _0x54e9e4=_0x3c13aa;window[_0x54e9e4(0x2c9)](_0x54e9e4(0x1fa),_0x3296f2);});}[_0xa0f417(0x313)](){const _0x161a66=_0xa0f417,_0x52bdc9=this[_0x161a66(0x39b)]['error'][_0x161a66(0x392)](this[_0x161a66(0x39b)]);this[_0x161a66(0x39b)][_0x161a66(0x30a)]=(..._0x4faf13)=>{const _0x3d2d13=_0x161a66,_0x526e79=_0x4faf13[_0x3d2d13(0x348)](_0x5b55b7=>_0x5b55b7 instanceof Error?_0x5b55b7[_0x3d2d13(0x44d)]+'\x0a'+_0x5b55b7['stack']:String(_0x5b55b7))[_0x3d2d13(0x2ff)]('\x20');this[_0x3d2d13(0x32d)](_0x3d2d13(0x30a),_0x3d2d13(0x477)+_0x526e79),_0x52bdc9(..._0x4faf13);},this[_0x161a66(0x451)](()=>{const _0x19c91d=_0x161a66;this[_0x19c91d(0x39b)][_0x19c91d(0x30a)]=_0x52bdc9;});}[_0xa0f417(0x32d)](_0x5bb8d5,_0x4ba512){const _0xe66989=_0xa0f417;try{const _0x59c10a={'userId':this[_0xe66989(0x2a5)],'logLabel':_0x5bb8d5,'content':_0x4ba512};this[_0xe66989(0x430)][_0xe66989(0x210)](_0xe66989(0x222),{'body':_0x59c10a})['catch'](()=>{});}catch{}}};_0x3b8dfa=_0x3f6344([_0x12472c(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x12472c(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x12472c(0x2,_0x3071e3[_0xa0f417(0x40e)]),_0x12472c(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x1cf)]))],_0x3b8dfa);const _0x8e8b27=_0xa0f417(0x1f5),_0x47b56b={};var _0x4aa744=Object[_0xa0f417(0x33f)],_0x435582=(_0x4ce21d,_0x353e83,_0x7fe4ef,_0x2a88f3)=>{const _0x6ef7f4=_0xa0f417;for(var _0x3afcf3=_0x2a88f3>0x1?void 0x0:_0x2a88f3?_0x4aa744(_0x353e83,_0x7fe4ef):_0x353e83,_0x42488a=_0x4ce21d[_0x6ef7f4(0x2be)]-0x1,_0x1dba38;_0x42488a>=0x0;_0x42488a--)(_0x1dba38=_0x4ce21d[_0x42488a])&&(_0x3afcf3=_0x1dba38(_0x3afcf3)||_0x3afcf3);return _0x3afcf3;},_0x396d6d=(_0x1e905a,_0x53509e)=>(_0x11db3b,_0x292a30)=>_0x53509e(_0x11db3b,_0x292a30,_0x1e905a);let _0x4c5e65=class{constructor(_0x302e63,_0xf17661){const _0x56761c=_0xa0f417;this[_0x56761c(0x48c)]=_0x302e63,this[_0x56761c(0x2ec)]=_0xf17661;}[_0xa0f417(0x455)](_0x4ac734){const _0x1ff9d7=_0xa0f417;this[_0x1ff9d7(0x3db)](_0x4ac734),this[_0x1ff9d7(0x44c)](_0x4ac734);}[_0xa0f417(0x3c3)](_0x2c92f2){const _0x44a3f4=_0xa0f417,{unitID:_0x492e88}=_0x2c92f2,_0x5f16d4=this[_0x44a3f4(0x2ec)][_0x44a3f4(0x35e)](_0x492e88)[_0x44a3f4(0x2fa)](_0x39debf['DocIMEInputManagerService']),{redoCache:_0x1afa20}=_0x5f16d4[_0x44a3f4(0x202)]();if(_0x1afa20[_0x44a3f4(0x2be)]===0x0)return _0x2c92f2;let _0xc0f910=_0x3071e3[_0x44a3f4(0x25c)][_0x44a3f4(0x374)](_0x2c92f2['mutations'][0x0]);for(let _0x1caf1a=0x0;_0x1caf1a<_0x1afa20[_0x44a3f4(0x2be)];_0x1caf1a++){const _0x8bd8e4={'id':_0x44a3f4(0x433),'params':{..._0x1afa20[_0x1caf1a]}},_0x148c63=this['_transformService'][_0x44a3f4(0x2df)](_0xc0f910,_0x8bd8e4,!0x1);if(_0x23de57[_0x44a3f4(0x34e)](_0x148c63))throw _0x148c63['error'];_0xc0f910=_0x148c63['m1Prime'];}return{..._0x3071e3[_0x44a3f4(0x25c)][_0x44a3f4(0x374)](_0x2c92f2),'mutations':[_0xc0f910]};}[_0xa0f417(0x3db)](_0xf67d63){const _0x143e73=_0xa0f417,{unitID:_0x431ddb}=_0xf67d63,_0x162305=this['_renderManagerService']['getRenderById'](_0x431ddb)['with'](_0x39debf[_0x143e73(0x27d)]),{undoCache:_0x1c36bf,redoCache:_0x1e7e4e}=_0x162305['getUndoRedoMutationParamsCache']();if(_0x1c36bf[_0x143e73(0x2be)]===0x0||_0x1e7e4e['length']===0x0)return;const _0x677177=[],_0x1e2b13=[];let _0x1d8ac8=_0x3071e3['Tools'][_0x143e73(0x374)](_0xf67d63[_0x143e73(0x1e2)][0x0]),_0x12bd1d=_0x3071e3[_0x143e73(0x25c)][_0x143e73(0x374)](_0xf67d63['mutations'][0x0]);for(let _0xe79d94=_0x1c36bf[_0x143e73(0x2be)]-0x1;_0xe79d94>=0x0;_0xe79d94--){const _0x3ac96c={'id':_0x143e73(0x433),'params':{..._0x1c36bf[_0xe79d94]}},_0x16e713={'id':_0x143e73(0x433),'params':{..._0x1e7e4e[_0xe79d94]}},_0x333a84=this[_0x143e73(0x48c)][_0x143e73(0x2df)](_0x1d8ac8,_0x3ac96c,!0x1),_0x7bd05=this[_0x143e73(0x48c)][_0x143e73(0x2df)](_0x12bd1d,_0x16e713,!0x1);if(_0x23de57[_0x143e73(0x34e)](_0x333a84))throw _0x333a84[_0x143e73(0x30a)];if(_0x23de57[_0x143e73(0x34e)](_0x7bd05))throw _0x7bd05[_0x143e73(0x30a)];_0x677177[_0x143e73(0x401)](_0x333a84[_0x143e73(0x1c8)][_0x143e73(0x39d)]),_0x1e2b13['unshift'](_0x7bd05['m2Prime'][_0x143e73(0x39d)]),_0x1d8ac8=_0x333a84['m1Prime'],_0x12bd1d=_0x7bd05[_0x143e73(0x2e8)];}_0x162305[_0x143e73(0x3d8)]({'undoCache':_0x677177,'redoCache':_0x1e2b13});}['_transformPreviousActiveRange'](_0xb0feb0){const _0x5cd2fc=_0xa0f417,{unitID:_0x3e9f47}=_0xb0feb0,_0x51996a=this[_0x5cd2fc(0x2ec)][_0x5cd2fc(0x35e)](_0x3e9f47)[_0x5cd2fc(0x2fa)](_0x39debf[_0x5cd2fc(0x27d)]),_0x270731=_0x51996a[_0x5cd2fc(0x407)]();if(_0x270731==null)return;const _0x9e3892=[{'id':_0x5cd2fc(0x433),'params':{'unitId':_0xb0feb0['unitID'],'actions':null,'textRanges':[_0x270731]}}],_0x302ace=this[_0x5cd2fc(0x48c)]['transformMutationsWithChangeset'](_0xb0feb0,_0x9e3892);if(!_0x23de57['isTransformMutationsWithChangesetSuccess'](_0x302ace))throw _0x302ace[_0x5cd2fc(0x30a)];const _0x341d57=_0x302ace[_0x5cd2fc(0x1c8)][0x0][_0x5cd2fc(0x39d)]['textRanges'];Array['isArray'](_0x341d57)&&_0x341d57[_0x5cd2fc(0x2be)]&&_0x51996a[_0x5cd2fc(0x247)](_0x341d57[0x0]);}};_0x4c5e65=_0x435582([_0x396d6d(0x0,_0x23de57[_0xa0f417(0x2f2)]),_0x396d6d(0x1,_0x449944['IRenderManagerService'])],_0x4c5e65);var _0x5b9e9a=Object['getOwnPropertyDescriptor'],_0x214413=(_0x1f9d30,_0x40b9e9,_0x5b4328,_0x4c45ea)=>{const _0x6b2d8a=_0xa0f417;for(var _0x3bfaba=_0x4c45ea>0x1?void 0x0:_0x4c45ea?_0x5b9e9a(_0x40b9e9,_0x5b4328):_0x40b9e9,_0x59f18d=_0x1f9d30[_0x6b2d8a(0x2be)]-0x1,_0x43aa4f;_0x59f18d>=0x0;_0x59f18d--)(_0x43aa4f=_0x1f9d30[_0x59f18d])&&(_0x3bfaba=_0x43aa4f(_0x3bfaba)||_0x3bfaba);return _0x3bfaba;},_0x4a1d9f=(_0x178553,_0x5024e5)=>(_0x13e06c,_0x335bbd)=>_0x5024e5(_0x13e06c,_0x335bbd,_0x178553);let _0x3b13f7=class{constructor(_0x1d3e2b,_0x268be1,_0x52d66f){const _0x18a940=_0xa0f417;this[_0x18a940(0x3d5)]=_0x1d3e2b,this[_0x18a940(0x48c)]=_0x268be1,this[_0x18a940(0x3d4)]=_0x52d66f;}[_0xa0f417(0x2cb)](_0x3be91e){const _0x647742=_0xa0f417;this[_0x647742(0x258)](_0x3be91e);}['transformRemoteChangeset'](_0x46dbc8){const _0x4cab28=_0xa0f417,{unitID:_0x4a1aaa}=_0x46dbc8,{collaboration:_0x33708a}=this['_docStateChangeManagerService'][_0x4cab28(0x2c7)](_0x4a1aaa);if(_0x33708a[_0x4cab28(0x2be)]===0x0)return _0x46dbc8;let _0x14b273=_0x3071e3[_0x4cab28(0x25c)][_0x4cab28(0x374)](_0x46dbc8[_0x4cab28(0x1e2)][0x0]);for(let _0x7fb318=0x0;_0x7fb318<_0x33708a[_0x4cab28(0x2be)];_0x7fb318++){const _0x1622fb={'id':_0x4cab28(0x433),'params':{'unitId':_0x33708a[_0x7fb318]['unitId'],..._0x33708a[_0x7fb318][_0x4cab28(0x21e)]}},_0x448356=this[_0x4cab28(0x48c)][_0x4cab28(0x2df)](_0x14b273,_0x1622fb,!0x1);if(_0x23de57['isTransformMutationFailure'](_0x448356))throw _0x448356[_0x4cab28(0x30a)];_0x14b273=_0x448356[_0x4cab28(0x2e8)];}return{..._0x3071e3[_0x4cab28(0x25c)][_0x4cab28(0x374)](_0x46dbc8),'mutations':[_0x14b273]};}[_0xa0f417(0x258)](_0x1a1d52){const _0x34d934=_0xa0f417,{unitID:_0x33e314}=_0x1a1d52,{history:_0x49f218,collaboration:_0x7469f8}=this[_0x34d934(0x3d4)][_0x34d934(0x2c7)](_0x33e314);if(_0x49f218[_0x34d934(0x2be)]===0x0&&_0x7469f8['length']===0x0)return;const _0x5c4571=[],_0x4d946b=[];let _0x199818=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]),_0x37b635=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52['mutations'][0x0]);for(let _0x391889=_0x49f218['length']-0x1;_0x391889>=0x0;_0x391889--){const _0x57f93c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49f218[_0x391889][_0x34d934(0x306)],..._0x49f218[_0x391889]['undoState']}},_0x26b3db={'id':_0x34d934(0x433),'params':{'unitId':_0x49f218[_0x391889][_0x34d934(0x306)],..._0x49f218[_0x391889][_0x34d934(0x21e)]}},_0x567398=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x199818,_0x57f93c,!0x1),_0x1f4797=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x37b635,_0x26b3db,!0x1);if(_0x23de57[_0x34d934(0x34e)](_0x567398))throw _0x567398['error'];if(_0x23de57[_0x34d934(0x34e)](_0x1f4797))throw _0x1f4797[_0x34d934(0x30a)];_0x5c4571['unshift']({..._0x49f218[_0x391889],'undoState':_0x567398[_0x34d934(0x1c8)]['params'],'redoState':_0x1f4797[_0x34d934(0x1c8)][_0x34d934(0x39d)]}),_0x199818=_0x567398[_0x34d934(0x2e8)],_0x37b635=_0x1f4797[_0x34d934(0x2e8)];}_0x199818=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]),_0x37b635=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]);for(let _0x5e9cbf=_0x7469f8[_0x34d934(0x2be)]-0x1;_0x5e9cbf>=0x0;_0x5e9cbf--){const _0x47cfbc={'id':_0x34d934(0x433),'params':{'unitId':_0x7469f8[_0x5e9cbf][_0x34d934(0x306)],..._0x7469f8[_0x5e9cbf][_0x34d934(0x3dc)]}},_0x39ecec={'id':_0x34d934(0x433),'params':{'unitId':_0x7469f8[_0x5e9cbf][_0x34d934(0x306)],..._0x7469f8[_0x5e9cbf]['redoState']}},_0x2c315a=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x199818,_0x47cfbc,!0x1),_0x24a4ed=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x37b635,_0x39ecec,!0x1);if(_0x23de57['isTransformMutationFailure'](_0x2c315a))throw _0x2c315a['error'];if(_0x23de57[_0x34d934(0x34e)](_0x24a4ed))throw _0x24a4ed[_0x34d934(0x30a)];_0x4d946b[_0x34d934(0x401)]({..._0x7469f8[_0x5e9cbf],'undoState':_0x2c315a['m2Prime']['params'],'redoState':_0x24a4ed[_0x34d934(0x1c8)][_0x34d934(0x39d)]}),_0x199818=_0x2c315a['m1Prime'],_0x37b635=_0x24a4ed[_0x34d934(0x2e8)];}this[_0x34d934(0x3d4)][_0x34d934(0x319)](_0x33e314,{'history':_0x5c4571,'collaboration':_0x4d946b});}};_0x3b13f7=_0x214413([_0x4a1d9f(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['Injector'])),_0x4a1d9f(0x1,_0x23de57[_0xa0f417(0x2f2)]),_0x4a1d9f(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x39debf[_0xa0f417(0x225)]))],_0x3b13f7);var _0x1f2c23=Object['getOwnPropertyDescriptor'],_0x2d3ace=(_0x105617,_0x477c60,_0x3b9a0a,_0x151f57)=>{const _0x1810d0=_0xa0f417;for(var _0x321bfc=_0x151f57>0x1?void 0x0:_0x151f57?_0x1f2c23(_0x477c60,_0x3b9a0a):_0x477c60,_0x5f0b7d=_0x105617[_0x1810d0(0x2be)]-0x1,_0x1fd41b;_0x5f0b7d>=0x0;_0x5f0b7d--)(_0x1fd41b=_0x105617[_0x5f0b7d])&&(_0x321bfc=_0x1fd41b(_0x321bfc)||_0x321bfc);return _0x321bfc;},_0x29e135=(_0x4fb416,_0x4ac856)=>(_0x370199,_0x48468a)=>_0x4ac856(_0x370199,_0x48468a,_0x4fb416);let _0x5d9273=class{constructor(_0x398909,_0x1b381e){this['_injector']=_0x398909,this['_transformService']=_0x1b381e;}['transformSelections'](_0x3e1b56){const _0x5dc799=_0xa0f417;var _0x281565;const _0x166dc3=this[_0x5dc799(0x3d5)][_0x5dc799(0x22f)](_0x4f248['DocSelectionManagerService']),_0x344462=(_0x281565=_0x166dc3[_0x5dc799(0x44e)]())!=null?_0x281565:[];if(_0x344462[_0x5dc799(0x2be)]===0x0)return;const _0x572958=_0x3e1b56[_0x5dc799(0x2ea)],_0x3aa9d9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x572958,'actions':null,'textRanges':_0x344462}}],_0x392661=this[_0x5dc799(0x48c)]['transformMutationsWithChangeset'](_0x3e1b56,_0x3aa9d9);if(!_0x23de57[_0x5dc799(0x296)](_0x392661))throw _0x392661['error'];const _0x485125=_0x392661[_0x5dc799(0x1c8)][0x0]['params']['textRanges'];Array[_0x5dc799(0x2fd)](_0x485125)&&_0x485125[_0x5dc799(0x2be)]&&_0x166dc3[_0x5dc799(0x23a)](_0x485125,{'unitId':_0x572958,'subUnitId':_0x572958},!0x1);}};_0x5d9273=_0x2d3ace([_0x29e135(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x29e135(0x1,_0x23de57['ITransformService'])],_0x5d9273);var _0x32d45d=Object[_0xa0f417(0x33f)],_0x21bd9d=(_0x1672a8,_0xa06776,_0x30f64d,_0x366921)=>{const _0x215cda=_0xa0f417;for(var _0x582778=_0x366921>0x1?void 0x0:_0x366921?_0x32d45d(_0xa06776,_0x30f64d):_0xa06776,_0x478a9e=_0x1672a8[_0x215cda(0x2be)]-0x1,_0x3ad7e4;_0x478a9e>=0x0;_0x478a9e--)(_0x3ad7e4=_0x1672a8[_0x478a9e])&&(_0x582778=_0x3ad7e4(_0x582778)||_0x582778);return _0x582778;},_0x5cef66=(_0xacd89e,_0x2fb310)=>(_0x399ffb,_0x2e2c95)=>_0x2fb310(_0x399ffb,_0x2e2c95,_0xacd89e);let _0x3237b3=class extends _0x3071e3['Disposable']{constructor(_0x3dd6b3,_0x58863d,_0x4cee14,_0x106596,_0x159f15,_0x4926e6,_0x3647c8,_0x3ea9f6){const _0x5526c2=_0xa0f417;super(),_0x4f1800(this,'_status$',new _0x4dfa7e[(_0x5526c2(0x309))](_0x47c5ed[_0x5526c2(0x38c)][_0x5526c2(0x40b)])),(this[_0x5526c2(0x3d4)]=_0x3dd6b3,this[_0x5526c2(0x41e)]=_0x58863d,this[_0x5526c2(0x476)]=_0x4cee14,this[_0x5526c2(0x39e)]=_0x106596,this[_0x5526c2(0x2b4)]=_0x159f15,this[_0x5526c2(0x25b)]=_0x4926e6,this['_messageService']=_0x3647c8,this['_localeService']=_0x3ea9f6,this['_initEntityListener']());}[_0xa0f417(0x46a)](){const _0x4882bc=_0xa0f417;this['disposeWithMe'](this[_0x4882bc(0x41e)][_0x4882bc(0x305)][_0x4882bc(0x270)](_0x161730=>{const _0xa2397=_0x4882bc,_0x2ad29e=this[_0xa2397(0x3d4)][_0xa2397(0x1e1)][_0xa2397(0x270)](_0x4415d1=>{const _0x432261=_0xa2397;if(_0x4415d1==null)return;const {unitId:_0x3105fc,redoState:_0x564f43,commandId:_0x1fdf23}=_0x4415d1;if(_0x3105fc!==_0x161730['unitID'])return;const _0x553459={'id':_0x1fdf23,'type':_0x3071e3['CommandType'][_0x432261(0x3b3)],'params':{'unitId':_0x3105fc,'actions':_0x564f43['actions'],'textRanges':null}};_0x161730[_0x432261(0x1e7)](_0x553459);});if(_0x161730[_0xa2397(0x451)](_0x2ad29e),_0x161730 instanceof _0x47c5ed['DocCollaborationEntity']){const _0x1be624={'onTransformIME':_0xd86fcd=>this['_docTransformIMECacheService'][_0xa2397(0x455)](_0xd86fcd),'onTransformState':_0xb306e6=>this[_0xa2397(0x39e)]['transformStateCache'](_0xb306e6),'onTransformSelections':_0x1ec57d=>this['_docTransformSelectionsService'][_0xa2397(0x259)](_0x1ec57d),'onSyncEditingCollabCursor':_0x5d1c9a=>this[_0xa2397(0x25b)]['syncEditingCollabCursor'](_0x5d1c9a),'onTransformRemoteChangesetByIMECache':_0x13dd47=>this[_0xa2397(0x476)][_0xa2397(0x3c3)](_0x13dd47),'onTransformRemoteChangesetByStateCache':_0x301c84=>this[_0xa2397(0x39e)][_0xa2397(0x3c3)](_0x301c84)};_0x161730['addHandlerCallback'](_0x1be624);}}));}};_0x3237b3=_0x21bd9d([_0x5cef66(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x39debf[_0xa0f417(0x225)])),_0x5cef66(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x357)])),_0x5cef66(0x2,_0x3071e3['Inject'](_0x4c5e65)),_0x5cef66(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x3b13f7)),_0x5cef66(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x5d9273)),_0x5cef66(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x5c3119)),_0x5cef66(0x6,_0x2fdbef[_0xa0f417(0x454)]),_0x5cef66(0x7,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x3237b3);var _0x2db43a=(_0x291601=>(_0x291601[_0x291601[_0xa0f417(0x440)]=0x0]=_0xa0f417(0x440),_0x291601[_0x291601['OK']=0x1]='OK',_0x291601[_0x291601[_0xa0f417(0x3e8)]=0x2]=_0xa0f417(0x3e8),_0x291601[_0x291601['PERMISSION_DENIED']=0x3]=_0xa0f417(0x32c),_0x291601[_0x291601[_0xa0f417(0x450)]=0x4]='NOT_FOUND',_0x291601[_0x291601[_0xa0f417(0x43a)]=0x5]=_0xa0f417(0x43a),_0x291601[_0x291601[_0xa0f417(0x2fe)]=0x6]='ALREADY_EXISTS',_0x291601[_0x291601[_0xa0f417(0x3a8)]=0x7]='INVALID_ARGUMENT',_0x291601[_0x291601[_0xa0f417(0x29c)]=0x8]=_0xa0f417(0x29c),_0x291601[_0x291601[_0xa0f417(0x406)]=0x9]=_0xa0f417(0x406),_0x291601[_0x291601[_0xa0f417(0x3c0)]=0xa]=_0xa0f417(0x3c0),_0x291601[_0x291601[_0xa0f417(0x377)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x291601[_0x291601[_0xa0f417(0x343)]=0xc]=_0xa0f417(0x343),_0x291601[_0x291601[_0xa0f417(0x45f)]=0xd]=_0xa0f417(0x45f),_0x291601[_0x291601[_0xa0f417(0x253)]=0xe]=_0xa0f417(0x253),_0x291601[_0x291601['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xa0f417(0x39f),_0x291601[_0x291601[_0xa0f417(0x469)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x291601[_0x291601[_0xa0f417(0x227)]=0x64]=_0xa0f417(0x227),_0x291601[_0x291601[_0xa0f417(0x283)]=0x65]=_0xa0f417(0x283),_0x291601[_0x291601['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x291601[_0x291601[_0xa0f417(0x391)]=0xca]='USER_IS_ANONYMOUS',_0x291601[_0x291601['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xa0f417(0x466),_0x291601[_0x291601[_0xa0f417(0x1c7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x291601[_0x291601[_0xa0f417(0x403)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x291601[_0x291601[_0xa0f417(0x471)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x291601[_0x291601[_0xa0f417(0x463)]=0x1b59]=_0xa0f417(0x463),_0x291601[_0x291601[_0xa0f417(0x272)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x291601[_0x291601[_0xa0f417(0x288)]=0x1b5b]=_0xa0f417(0x288),_0x291601[_0x291601[_0xa0f417(0x453)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x291601[_0x291601[_0xa0f417(0x308)]=0x1b5d]=_0xa0f417(0x308),_0x291601[_0x291601[_0xa0f417(0x29a)]=0x1f41]=_0xa0f417(0x29a),_0x291601[_0x291601[_0xa0f417(0x29f)]=0x2329]=_0xa0f417(0x29f),_0x291601[_0x291601[_0xa0f417(0x282)]=0x232a]=_0xa0f417(0x282),_0x291601[_0x291601[_0xa0f417(0x353)]=0x232b]=_0xa0f417(0x353),_0x291601[_0x291601[_0xa0f417(0x1e3)]=0x232c]=_0xa0f417(0x1e3),_0x291601[_0x291601[_0xa0f417(0x1d9)]=0x232d]=_0xa0f417(0x1d9),_0x291601[_0x291601[_0xa0f417(0x390)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x291601[_0x291601[_0xa0f417(0x1a7)]=0x2712]=_0xa0f417(0x1a7),_0x291601[_0x291601[_0xa0f417(0x320)]=0x2713]=_0xa0f417(0x320),_0x291601[_0x291601['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xa0f417(0x497),_0x291601[_0x291601[_0xa0f417(0x3f6)]=0x271a]=_0xa0f417(0x3f6),_0x291601[_0x291601[_0xa0f417(0x20f)]=0x271b]=_0xa0f417(0x20f),_0x291601[_0x291601[_0xa0f417(0x44b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x291601[_0x291601[_0xa0f417(0x30d)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x291601[_0x291601['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x291601[_0x291601[_0xa0f417(0x386)]=0x271f]=_0xa0f417(0x386),_0x291601[_0x291601['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xa0f417(0x1d0),_0x291601[_0x291601[_0xa0f417(0x1ae)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x291601[_0x291601['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xa0f417(0x22d),_0x291601[_0x291601[_0xa0f417(0x302)]=0x2ee2]='INVALID_INVITE_CODE',_0x291601[_0x291601[_0xa0f417(0x26c)]=0x2ee3]=_0xa0f417(0x26c),_0x291601[_0x291601['USER_NOT_INVITED_CODE']=0x2ee4]=_0xa0f417(0x215),_0x291601[_0x291601[_0xa0f417(0x2dd)]=0x2ee5]=_0xa0f417(0x2dd),_0x291601[_0x291601[_0xa0f417(0x48f)]=0x32c9]=_0xa0f417(0x48f),_0x291601[_0x291601['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xa0f417(0x32b),_0x291601[_0x291601['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xa0f417(0x3de),_0x291601[_0x291601[_0xa0f417(0x3d7)]=0x36b1]=_0xa0f417(0x3d7),_0x291601[_0x291601[_0xa0f417(0x1dd)]=0x36b2]=_0xa0f417(0x1dd),_0x291601[_0x291601[_0xa0f417(0x1b5)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x291601[_0x291601[_0xa0f417(0x2b5)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x291601[_0x291601['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0xa0f417(0x3ad),_0x291601[_0x291601['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xa0f417(0x345),_0x291601[_0x291601[_0xa0f417(0x255)]=0x36b7]=_0xa0f417(0x255),_0x291601[_0x291601[_0xa0f417(0x2c8)]=0x36b8]=_0xa0f417(0x2c8),_0x291601[_0x291601[_0xa0f417(0x1c1)]=0x3715]=_0xa0f417(0x1c1),_0x291601[_0x291601[_0xa0f417(0x409)]=0x3716]=_0xa0f417(0x409),_0x291601[_0x291601['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0xa0f417(0x1c2),_0x291601[_0x291601[_0xa0f417(0x26a)]=0x37dd]=_0xa0f417(0x26a),_0x291601[_0x291601[_0xa0f417(0x384)]=0x3a99]=_0xa0f417(0x384),_0x291601[_0x291601['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xa0f417(0x2db),_0x291601[_0x291601[_0xa0f417(0x266)]=0x3a9b]=_0xa0f417(0x266),_0x291601[_0x291601[_0xa0f417(0x1c5)]=0x3a9c]=_0xa0f417(0x1c5),_0x291601[_0x291601['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xa0f417(0x340),_0x291601[_0x291601['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xa0f417(0x2f0),_0x291601[_0x291601[_0xa0f417(0x2a7)]=0x3a9f]=_0xa0f417(0x2a7),_0x291601[_0x291601[_0xa0f417(0x2a6)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x291601[_0x291601['UNRECOGNIZED']=-0x1]=_0xa0f417(0x260),_0x291601))(_0x2db43a||{});function _0x3080dd(_0x4a5937){const _0x3cb0ae=_0xa0f417;var _0xeec5f3,_0xb82e24;const _0x9f14e0=(_0xeec5f3=_0x4a5937['stageInfo'])==null?void 0x0:_0xeec5f3[_0x3cb0ae(0x325)],_0x2608d5=((_0xb82e24=_0x4a5937[_0x3cb0ae(0x254)])==null?void 0x0:_0xb82e24[_0x3cb0ae(0x281)])||0x0;return _0x9f14e0===_0x283787[_0x3cb0ae(0x2f4)][_0x3cb0ae(0x274)]&&_0x2608d5>0x0;}function _0x2e61a4(_0x40204f){const _0x1bbcf1=_0xa0f417;return _0x40204f[_0x1bbcf1(0x449)]===_0x283787[_0x1bbcf1(0x1db)]['SUCCESS'];}var _0xc0651c=Object[_0xa0f417(0x33f)],_0x422a96=(_0x19ccad,_0x514192,_0x4c7bcf,_0x5e1b97)=>{const _0x47757a=_0xa0f417;for(var _0x229aa3=_0x5e1b97>0x1?void 0x0:_0x5e1b97?_0xc0651c(_0x514192,_0x4c7bcf):_0x514192,_0x29aa0b=_0x19ccad[_0x47757a(0x2be)]-0x1,_0x3fbab3;_0x29aa0b>=0x0;_0x29aa0b--)(_0x3fbab3=_0x19ccad[_0x29aa0b])&&(_0x229aa3=_0x3fbab3(_0x229aa3)||_0x229aa3);return _0x229aa3;},_0x3c7533=(_0x73c9e9,_0x52df9d)=>(_0x9319f8,_0x254295)=>_0x52df9d(_0x9319f8,_0x254295,_0x73c9e9);const _0x4e3e61=_0xa0f417(0x31c),_0x47d18b=_0xa0f417(0x1ba),_0x2a8bb6='/universer-api/license/formula/limit/done';let _0x508c93=class extends _0x3071e3['Disposable']{constructor(_0x2705da,_0x4fe568,_0x15aa44,_0x16f908,_0x5c944c,_0x589f3e,_0x13fbcc){const _0x4d8bba=_0xa0f417;super(),_0x4f1800(this,_0x4d8bba(0x398),null),_0x4f1800(this,_0x4d8bba(0x426),0x0),_0x4f1800(this,'_currentUsage',0x0),_0x4f1800(this,'_taskIds',[]),_0x4f1800(this,_0x4d8bba(0x3f9),0x0),(this[_0x4d8bba(0x42b)]=_0x2705da,this['_commandService']=_0x4fe568,this[_0x4d8bba(0x356)]=_0x15aa44,this[_0x4d8bba(0x430)]=_0x16f908,this[_0x4d8bba(0x36b)]=_0x5c944c,this['_logService']=_0x589f3e,this[_0x4d8bba(0x434)]=_0x13fbcc,this[_0x4d8bba(0x3c1)]());}[_0xa0f417(0x3c1)](){const _0x5c8408=_0xa0f417;this[_0x5c8408(0x451)](this[_0x5c8408(0x278)][_0x5c8408(0x1e4)]((_0x4e6862,_0x50226e)=>{const _0x48a01a=_0x5c8408;var _0x25f736;if(_0x4e6862['id']!==_0x283787[_0x48a01a(0x368)]['id'])return;const _0x30ca01=_0x4e6862[_0x48a01a(0x39d)];if(!this['_hasFormulaInDirtyRanges']((_0x25f736=_0x30ca01[_0x48a01a(0x2a9)])!=null?_0x25f736:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x48a01a(0x285)](_0x4e6862,_0x50226e),this[_0x48a01a(0x3e3)](),new _0x3071e3['CanceledError']();})),this[_0x5c8408(0x451)](this[_0x5c8408(0x278)]['onCommandExecuted']((_0x4833f8,_0x56b848)=>{const _0x1adb7c=_0x5c8408;if(_0x4833f8['id']!==_0x283787[_0x1adb7c(0x495)]['id'])return;const _0x2c98b3=_0x4833f8[_0x1adb7c(0x39d)];if(_0x3080dd(_0x2c98b3)){const _0x535611=_0x3071e3[_0x1adb7c(0x3f5)]();this[_0x1adb7c(0x249)][_0x1adb7c(0x1d3)](_0x535611),this['_startCalculationLimit'](_0x535611);}else{if(_0x2e61a4(_0x2c98b3)&&this['_taskIds'][_0x1adb7c(0x2be)]>0x0){const _0xfea069=this[_0x1adb7c(0x249)]['shift']();this['_releaseCalculationLimit'](_0xfea069);}}}));}[_0xa0f417(0x3ef)](){const _0x5d16ce=_0xa0f417;super['dispose'](),this[_0x5d16ce(0x36d)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d16ce(0x426)]=0x0,this[_0x5d16ce(0x3f9)]=0x0;}async[_0xa0f417(0x285)](_0xc892c2,_0x377219){const _0x31ea4a=_0xa0f417;for(let _0x142e0c=0x0;_0x142e0c<0x1e;_0x142e0c++)try{if(await this['_getFormulaLimitStatus'](),this[_0x31ea4a(0x1e9)]()){this['_applyCommand'](_0xc892c2,_0x377219),this[_0x31ea4a(0x42b)]['show']({'content':this[_0x31ea4a(0x434)]['t'](_0x31ea4a(0x1af)),'type':_0xe2dc8e['MessageType']['Success']});return;}await new Promise(_0x1bc9c6=>{const _0xf094d5=_0x31ea4a;this[_0xf094d5(0x398)]=window['setTimeout'](_0x1bc9c6,0x3e8);});}catch(_0x5732c6){this[_0x31ea4a(0x39b)][_0x31ea4a(0x30a)](_0x5732c6);}this[_0x31ea4a(0x42b)][_0x31ea4a(0x3b9)]({'content':this[_0x31ea4a(0x434)]['t']('formula.calculation.unable'),'type':_0xe2dc8e[_0x31ea4a(0x29e)][_0x31ea4a(0x400)]});}[_0xa0f417(0x1d7)](_0x2f6fe1,_0x83dd10){const _0x303f85=_0xa0f417;try{this[_0x303f85(0x278)][_0x303f85(0x3a0)](_0x2f6fe1['id'],_0x2f6fe1[_0x303f85(0x39d)],_0x83dd10);}catch(_0x2f4ddf){this[_0x303f85(0x39b)][_0x303f85(0x30a)](_0x2f4ddf);}}[_0xa0f417(0x1c4)](_0x4f9224,_0x38c9e5){const _0x1dd270=_0xa0f417;_0x38c9e5<this[_0x1dd270(0x3f9)]||(this[_0x1dd270(0x3f9)]=_0x38c9e5,this[_0x1dd270(0x426)]=Number[_0x1dd270(0x2e3)](_0x4f9224[_0x1dd270(0x2a3)]),this[_0x1dd270(0x36a)]=Number['parseInt'](_0x4f9224[_0x1dd270(0x394)]));}async[_0xa0f417(0x295)](_0x5343bc){const _0x369b9b=_0xa0f417;var _0x336f1f,_0x33110b;const _0x355e6e=Date[_0x369b9b(0x1cc)]();try{const _0x1cdec8=((_0x336f1f=this[_0x369b9b(0x356)][_0x369b9b(0x3e6)](_0x47c5ed[_0x369b9b(0x431)]))==null?void 0x0:_0x336f1f[_0x369b9b(0x291)])||_0x47d18b,_0x3c9c0e=(await this[_0x369b9b(0x430)]['post'](_0x1cdec8,{'body':JSON[_0x369b9b(0x275)]({'taskId':_0x5343bc})}))[_0x369b9b(0x1d5)];if(((_0x33110b=_0x3c9c0e[_0x369b9b(0x30a)])==null?void 0x0:_0x33110b[_0x369b9b(0x27f)])!==_0x2db43a['OK'])return;this[_0x369b9b(0x1c4)](_0x3c9c0e['limitInfo'],_0x355e6e);}catch(_0x130947){this[_0x369b9b(0x39b)][_0x369b9b(0x30a)](_0x130947);}}async['_getFormulaLimitStatus'](_0x49490b){const _0x4997b7=_0xa0f417;var _0x463241,_0x31e271;const _0x5c6177=Date[_0x4997b7(0x1cc)]();try{const _0x47d156=((_0x463241=this[_0x4997b7(0x356)][_0x4997b7(0x3e6)](_0x47c5ed[_0x4997b7(0x431)]))==null?void 0x0:_0x463241[_0x4997b7(0x3f0)])||_0x4e3e61,_0x1f4323=_0x49490b?_0x47d156+'?taskId='+encodeURIComponent(_0x49490b):_0x47d156,_0x38613b=(await this[_0x4997b7(0x430)][_0x4997b7(0x22f)](_0x1f4323))['body'];if(((_0x31e271=_0x38613b[_0x4997b7(0x30a)])==null?void 0x0:_0x31e271[_0x4997b7(0x27f)])!==_0x2db43a['OK'])return;this[_0x4997b7(0x1c4)](_0x38613b[_0x4997b7(0x324)],_0x5c6177);}catch(_0xdd0428){this['_logService']['error'](_0xdd0428);}}async['_releaseCalculationLimit'](_0x1cdb02){const _0x515eec=_0xa0f417;var _0x20f4f3,_0x2519bd;const _0x300d08=Date['now']();try{const _0x473818=((_0x20f4f3=this[_0x515eec(0x356)][_0x515eec(0x3e6)](_0x47c5ed[_0x515eec(0x431)]))==null?void 0x0:_0x20f4f3[_0x515eec(0x33e)])||_0x2a8bb6,_0x4d7535=(await this['_httpService'][_0x515eec(0x210)](_0x473818,{'body':JSON['stringify']({'taskId':_0x1cdb02})}))[_0x515eec(0x1d5)];if(((_0x2519bd=_0x4d7535['error'])==null?void 0x0:_0x2519bd[_0x515eec(0x27f)])!==_0x2db43a['OK'])return;this[_0x515eec(0x1c4)](_0x4d7535[_0x515eec(0x324)],_0x300d08);}catch(_0x524e25){this['_logService'][_0x515eec(0x30a)](_0x524e25);}}['_checkCalculationAvailable'](){const _0x2a4f06=_0xa0f417;return this[_0x2a4f06(0x426)]===0x0?!0x0:this[_0x2a4f06(0x426)]-this[_0x2a4f06(0x36a)]>0x0;}[_0xa0f417(0x36d)](){const _0x43454d=_0xa0f417;this[_0x43454d(0x398)]&&(clearTimeout(this[_0x43454d(0x398)]),this[_0x43454d(0x398)]=null);}[_0xa0f417(0x3e3)](){const _0x32a00d=_0xa0f417;this['_messageService'][_0x32a00d(0x3b9)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0xe2dc8e[_0x32a00d(0x29e)][_0x32a00d(0x2c4)]});}[_0xa0f417(0x34a)](_0x400921){const _0x161a42=_0xa0f417;for(const _0x2f077b of _0x400921){const {unitId:_0x5e02d7,sheetId:_0x5abfd6,range:_0x3a01f9}=_0x2f077b,_0x2bd4d0=this['_univerInstanceService'][_0x161a42(0x315)](_0x5e02d7);if(!_0x2bd4d0)continue;const _0x50cb60=_0x2bd4d0[_0x161a42(0x3eb)](_0x5abfd6);if(!_0x50cb60)continue;const _0x310280=_0x50cb60[_0x161a42(0x332)]();for(let _0x257ac0=_0x3a01f9['startRow'];_0x257ac0<=_0x3a01f9['endRow'];_0x257ac0++)for(let _0x130673=_0x3a01f9[_0x161a42(0x460)];_0x130673<=_0x3a01f9[_0x161a42(0x205)];_0x130673++){const _0x23f084=_0x310280[_0x161a42(0x2d0)](_0x257ac0,_0x130673);if(_0x23f084&&(_0x3071e3[_0x161a42(0x437)](_0x23f084['f'])||_0x3071e3['isFormulaId'](_0x23f084['si'])))return!0x0;}}return!0x1;}};_0x508c93=_0x422a96([_0x3c7533(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x2fdbef[_0xa0f417(0x454)])),_0x3c7533(0x1,_0x3071e3['ICommandService']),_0x3c7533(0x2,_0x3071e3[_0xa0f417(0x3df)]),_0x3c7533(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x3c7533(0x4,_0x3071e3[_0xa0f417(0x24a)]),_0x3c7533(0x5,_0x3071e3[_0xa0f417(0x40e)]),_0x3c7533(0x6,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x508c93);var _0x920bd5=Object[_0xa0f417(0x33f)],_0x1234e0=(_0x5e58d0,_0x3ea33c,_0x228cb0,_0x14fcc9)=>{for(var _0x25a91b=_0x14fcc9>0x1?void 0x0:_0x14fcc9?_0x920bd5(_0x3ea33c,_0x228cb0):_0x3ea33c,_0x2299cc=_0x5e58d0['length']-0x1,_0x1ecd32;_0x2299cc>=0x0;_0x2299cc--)(_0x1ecd32=_0x5e58d0[_0x2299cc])&&(_0x25a91b=_0x1ecd32(_0x25a91b)||_0x25a91b);return _0x25a91b;},_0x48debd=(_0x4d256a,_0x263d28)=>(_0x3d4181,_0x2fc2f9)=>_0x263d28(_0x3d4181,_0x2fc2f9,_0x4d256a);let _0x3cf4ca=class extends _0x3071e3['Disposable']{constructor(_0x4054b3,_0x3efa71,_0x295135){const _0xec5ae7=_0xa0f417;super(),_0x4f1800(this,_0xec5ae7(0x3f3),new Map()),_0x4f1800(this,_0xec5ae7(0x45a),new Map()),_0x4f1800(this,_0xec5ae7(0x42a),!0x1),(this[_0xec5ae7(0x356)]=_0x4054b3,this['_localStorageService']=_0x3efa71,this[_0xec5ae7(0x40f)]=_0x295135);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0xa0f417(0x432)](){const _0x1cfa9e=_0xa0f417;return this[_0x1cfa9e(0x45a)];}['dispose'](){const _0x40bfb7=_0xa0f417;this['exhaustSavingTask']()[_0x40bfb7(0x224)](()=>super['dispose']());}async[_0xa0f417(0x372)](_0xf620ba){const _0x5a6e07=_0xa0f417;return this[_0x5a6e07(0x42a)]?null:this['_localStorageService'][_0x5a6e07(0x3e9)](_0x47c5ed[_0x5a6e07(0x20e)](_0xf620ba));}async[_0xa0f417(0x496)](_0x53232c,_0x54b32f){const _0xa0f862=_0xa0f417;return!!this[_0xa0f862(0x273)][_0xa0f862(0x38e)](_0x53232c,_0x54b32f);}[_0xa0f417(0x25f)](_0x199eee,_0x3b75ff,_0x4ba2eb,_0x487a79){const _0x214130=_0xa0f417,_0x2bc915=this[_0x214130(0x40f)][_0x214130(0x3a9)](_0x199eee);this[_0x214130(0x3f3)]['set'](_0x199eee,{'unitID':_0x199eee,'type':_0x3b75ff,'awaitingChangeset':_0x4ba2eb,'mutations':_0x487a79,'rev':_0x2bc915}),this[_0x214130(0x45a)][_0x214130(0x3bb)](_0x199eee)||this[_0x214130(0x424)](_0x199eee);}['_scheduleSaving'](_0x462cec){const _0x406ddf=_0xa0f417,_0x33fe77=this[_0x406ddf(0x3aa)]();_0x33fe77===0x0?this[_0x406ddf(0x2a1)](_0x462cec):this['_saveTaskMap'][_0x406ddf(0x41c)](_0x462cec,setTimeout(()=>this[_0x406ddf(0x2a1)](_0x462cec),_0x33fe77));}[_0xa0f417(0x3aa)](){const _0x575c58=_0xa0f417;var _0xcfaf03;return(_0xcfaf03=this[_0x575c58(0x356)][_0x575c58(0x3e6)](_0x47c5ed[_0x575c58(0x248)]))!=null?_0xcfaf03:_0x47c5ed[_0x575c58(0x26e)];}[_0xa0f417(0x2a1)](_0x52132a){const _0x1564c0=_0xa0f417,_0x12d113=this[_0x1564c0(0x45a)][_0x1564c0(0x22f)](_0x52132a);return _0x12d113!==void 0x0&&window['clearTimeout'](_0x12d113),this[_0x1564c0(0x273)][_0x1564c0(0x38e)](_0x47c5ed[_0x1564c0(0x20e)](_0x52132a),this['_cachedData'][_0x1564c0(0x22f)](_0x52132a))['then'](()=>this['_saveTaskMap'][_0x1564c0(0x1fb)](_0x52132a));}async[_0xa0f417(0x2a8)](){const _0x2487b8=_0xa0f417,_0x334991=[];this['_saveTaskMap'][_0x2487b8(0x1da)]((_0x8d50fd,_0x5a6c97)=>{const _0x3a9e20=_0x2487b8;window[_0x3a9e20(0x49c)](_0x8d50fd),_0x334991['push'](this[_0x3a9e20(0x2a1)](_0x5a6c97)['then'](()=>{const _0x323ba9=_0x3a9e20;this[_0x323ba9(0x45a)][_0x323ba9(0x1fb)](_0x5a6c97);}));}),await Promise[_0x2487b8(0x322)](_0x334991);}};_0x3cf4ca=_0x1234e0([_0x48debd(0x0,_0x3071e3[_0xa0f417(0x3df)]),_0x48debd(0x1,_0x3071e3[_0xa0f417(0x28c)]),_0x48debd(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x23de57[_0xa0f417(0x3e4)]))],_0x3cf4ca);class _0x1ffd2a extends _0x3071e3[_0xa0f417(0x38b)]{constructor(){const _0x2f021a=_0xa0f417;super(),_0x4f1800(this,'urlChange$'),this[_0x2f021a(0x3a4)]=_0x4dfa7e[_0x2f021a(0x2b7)](window,'popstate')['pipe'](_0x4dfa7e[_0x2f021a(0x1ab)](this[_0x2f021a(0x382)]),_0x4dfa7e[_0x2f021a(0x326)](0x1),_0x4dfa7e[_0x2f021a(0x262)](void 0x0));}[_0xa0f417(0x498)](_0x1be85e,_0x498501,_0x546282=!0x1){const _0x5b424e=_0xa0f417,_0x53687e=new URL(window[_0x5b424e(0x20d)][_0x5b424e(0x34c)]);_0x53687e[_0x5b424e(0x36f)]['set'](_0x1be85e,_0x498501),_0x546282?window[_0x5b424e(0x370)][_0x5b424e(0x3c6)]('','',_0x53687e[_0x5b424e(0x331)]()):window[_0x5b424e(0x370)][_0x5b424e(0x1ca)]('','',_0x53687e[_0x5b424e(0x331)]());}[_0xa0f417(0x1b6)](_0xa6e316,_0x780833=!0x1){const _0x156391=_0xa0f417,_0x24e37d=new URL(window[_0x156391(0x20d)][_0x156391(0x34c)]);_0x24e37d[_0x156391(0x36f)]['delete'](_0xa6e316),_0x780833?window[_0x156391(0x370)][_0x156391(0x3c6)]('','',_0x24e37d['toString']()):window[_0x156391(0x370)]['pushState']('','',_0x24e37d[_0x156391(0x331)]());}[_0xa0f417(0x465)](_0x4cbd41){const _0x151bd6=_0xa0f417;var _0x18e741;return(_0x18e741=new URL(window[_0x151bd6(0x20d)][_0x151bd6(0x34c)])[_0x151bd6(0x36f)][_0x151bd6(0x22f)](_0x4cbd41))!=null?_0x18e741:void 0x0;}}var _0x3d2df7=Object[_0xa0f417(0x43b)],_0x2daf84=Object[_0xa0f417(0x33f)],_0x41d3a7=(_0x4f6307,_0x960fa5,_0x543091)=>_0x960fa5 in _0x4f6307?_0x3d2df7(_0x4f6307,_0x960fa5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x543091}):_0x4f6307[_0x960fa5]=_0x543091,_0x1827b7=(_0x46ad6d,_0xd6103e,_0x1d2035,_0x144ce7)=>{const _0x830f0=_0xa0f417;for(var _0xc1e7d7=_0x144ce7>0x1?void 0x0:_0x144ce7?_0x2daf84(_0xd6103e,_0x1d2035):_0xd6103e,_0xb99f26=_0x46ad6d[_0x830f0(0x2be)]-0x1,_0x1e1a59;_0xb99f26>=0x0;_0xb99f26--)(_0x1e1a59=_0x46ad6d[_0xb99f26])&&(_0xc1e7d7=_0x1e1a59(_0xc1e7d7)||_0xc1e7d7);return _0xc1e7d7;},_0xfacbbf=(_0x4df433,_0x9bb98a)=>(_0x15ba1b,_0x340a1d)=>_0x9bb98a(_0x15ba1b,_0x340a1d,_0x4df433),_0x5b0412=(_0x13542b,_0x230e7a,_0x3e3f26)=>_0x41d3a7(_0x13542b,_0x230e7a+'',_0x3e3f26);const _0x36a50a='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46719c[_0xa0f417(0x20a)]=class extends _0x3071e3[_0xa0f417(0x425)]{constructor(_0x355848=_0x47b56b,_0x1a8480,_0x3725b9,_0x26cc10){const _0x133589=_0xa0f417;super(),this[_0x133589(0x2b3)]=_0x355848,this[_0x133589(0x2ec)]=_0x1a8480,this[_0x133589(0x3d5)]=_0x3725b9,this[_0x133589(0x356)]=_0x26cc10;const {..._0x2a019a}=_0x3071e3[_0x133589(0x487)]({},_0x47b56b,this[_0x133589(0x2b3)]);this[_0x133589(0x356)][_0x133589(0x28e)](_0x8e8b27,_0x2a019a);}['onStarting'](){const _0x2a8ac0=_0xa0f417;this[_0x2a8ac0(0x29d)](),this['_initDependencies']();}[_0xa0f417(0x3b4)](){const _0x508076=_0xa0f417;this[_0x508076(0x47f)]();}[_0xa0f417(0x29d)](){const _0x11bab8=_0xa0f417;var _0x5aaf6c;const _0x5dde95=[[_0x379fb3],[_0x508c93],[_0x5d9273],[_0x4c5e65],[_0x3b13f7],[_0x5c3119],[_0xd9e09a,{'useClass':_0x1ffd2a}],[_0x46431e[_0x11bab8(0x375)],{'useClass':_0x46431e[_0x11bab8(0x364)]}],[_0x47c5ed[_0x11bab8(0x28a)],{'useClass':_0x3cf4ca}],[_0x46719c['DesktopCollaborationStatusDisplayController']],[_0x3237b3],[_0x30c33c],[_0xa13c2f],[_0xbbb1dc],[_0x46719c[_0x11bab8(0x448)]]];this[_0x11bab8(0x2b3)][_0x11bab8(0x27b)]&&_0x5dde95[_0x11bab8(0x1d3)]([_0x3b8dfa]),_0x3071e3[_0x11bab8(0x2de)](this[_0x11bab8(0x3d5)],_0x3071e3[_0x11bab8(0x47b)](_0x5dde95,(_0x5aaf6c=this[_0x11bab8(0x2b3)])==null?void 0x0:_0x5aaf6c[_0x11bab8(0x3b2)]));}[_0xa0f417(0x47f)](){const _0x385b42=_0xa0f417;this[_0x385b42(0x451)](this[_0x385b42(0x2ec)][_0x385b42(0x1ac)](_0x3071e3[_0x385b42(0x379)][_0x385b42(0x267)],[_0x45817c])),this[_0x385b42(0x451)](this[_0x385b42(0x2ec)][_0x385b42(0x1ac)](_0x3071e3['UniverInstanceType']['UNIVER_SHEET'],[_0x7c81f2]));}['_initDependencies'](){const _0x4477d1=_0xa0f417;_0x3071e3[_0x4477d1(0x239)](this[_0x4477d1(0x3d5)],[[_0xa13c2f],[_0x46719c[_0x4477d1(0x404)]],[_0x3237b3],[_0x30c33c],[_0x46719c[_0x4477d1(0x448)]],[_0x508c93]]),this[_0x4477d1(0x2b3)][_0x4477d1(0x27b)]&&_0x3071e3[_0x4477d1(0x239)](this[_0x4477d1(0x3d5)],[[_0x3b8dfa]]);}},_0x5b0412(_0x46719c[_0xa0f417(0x20a)],_0xa0f417(0x1ee),_0x36a50a),_0x46719c[_0xa0f417(0x20a)]=_0x1827b7([_0x3071e3[_0xa0f417(0x268)](_0x47c5ed[_0xa0f417(0x462)]),_0xfacbbf(0x1,_0x449944[_0xa0f417(0x47d)]),_0xfacbbf(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0xfacbbf(0x3,_0x3071e3['IConfigService'])],_0x46719c['UniverCollaborationClientUIPlugin']);var _0x31f76d=Object[_0xa0f417(0x33f)],_0x5022d8=(_0x4de455,_0x9cbd21,_0x36b5c0,_0x4cc573)=>{for(var _0x4328ba=_0x4cc573>0x1?void 0x0:_0x4cc573?_0x31f76d(_0x9cbd21,_0x36b5c0):_0x9cbd21,_0x48b0f1=_0x4de455['length']-0x1,_0x18365a;_0x48b0f1>=0x0;_0x48b0f1--)(_0x18365a=_0x4de455[_0x48b0f1])&&(_0x4328ba=_0x18365a(_0x4328ba)||_0x4328ba);return _0x4328ba;},_0x38251e=(_0x32a9ab,_0x23a247)=>(_0x3a058e,_0x18e676)=>_0x23a247(_0x3a058e,_0x18e676,_0x32a9ab);_0x46719c[_0xa0f417(0x321)]=class extends _0x47c5ed[_0xa0f417(0x1f0)]{constructor(_0x3ffa99,_0x24f13c,_0x418053,_0x5cbeff,_0x4a71e3){super(_0x3ffa99,_0x24f13c,_0x418053,_0x5cbeff,_0x4a71e3);}async[_0xa0f417(0x1df)](_0x5b6a8c){const _0x268d40=_0xa0f417,_0x4fbc00=await this['_getSessionTicket'](),_0x35a3dd=this[_0x268d40(0x1fe)](_0x5b6a8c,_0x4fbc00);return this['_doCreateSocket'](_0x35a3dd);}['_createSocketURL'](_0x2f3968,_0x4f2bfe){const _0x3f975d=_0xa0f417,_0x39b236=typeof window>'u'?new URL(_0x2f3968):new URL(_0x2f3968,window[_0x3f975d(0x20d)][_0x3f975d(0x3a1)]);_0x39b236[_0x3f975d(0x36f)]['set'](_0x3f975d(0x41b),_0x4f2bfe);const _0x40d3ed=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f975d(0x20d)][_0x3f975d(0x246)]);return _0x40d3ed[_0x3f975d(0x22f)](_0x3f975d(0x39a))&&_0x39b236['searchParams'][_0x3f975d(0x41c)]('runId',_0x40d3ed['get'](_0x3f975d(0x39a))),_0x39b236[_0x3f975d(0x331)]();}async[_0xa0f417(0x1d1)](){const _0x38b9ad=_0xa0f417;var _0x45bcce,_0xade0b5,_0x492470;const _0x32cae3=this[_0x38b9ad(0x356)][_0x38b9ad(0x3e6)](_0x47c5ed[_0x38b9ad(0x431)]),_0x22c4e8=(_0x45bcce=_0x32cae3==null?void 0x0:_0x32cae3[_0x38b9ad(0x2a4)])!=null?_0x45bcce:_0x47c5ed['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x492470=(_0xade0b5=(await this[_0x38b9ad(0x430)][_0x38b9ad(0x22f)](_0x22c4e8,{'headers':{'Content-Type':_0x38b9ad(0x2ac)}}))[_0x38b9ad(0x1d5)])==null?void 0x0:_0xade0b5['ticket'])!=null?_0x492470:'';}},_0x46719c[_0xa0f417(0x321)]=_0x5022d8([_0x38251e(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x38251e(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x38251e(0x2,_0x3071e3['IConfigService']),_0x38251e(0x3,_0x3071e3['ILogService']),_0x38251e(0x4,_0x23de57[_0xa0f417(0x415)])],_0x46719c[_0xa0f417(0x321)]);var _0x4202ee=Object[_0xa0f417(0x33f)],_0x5079db=(_0x32d382,_0x145ad6,_0x1f835f,_0xbf3f4)=>{const _0x4f337b=_0xa0f417;for(var _0x9f0ea=_0xbf3f4>0x1?void 0x0:_0xbf3f4?_0x4202ee(_0x145ad6,_0x1f835f):_0x145ad6,_0x1abb63=_0x32d382[_0x4f337b(0x2be)]-0x1,_0x140509;_0x1abb63>=0x0;_0x1abb63--)(_0x140509=_0x32d382[_0x1abb63])&&(_0x9f0ea=_0x140509(_0x9f0ea)||_0x9f0ea);return _0x9f0ea;},_0x37623c=(_0x5dc73e,_0x433ca5)=>(_0x1c17f4,_0x1f29ef)=>_0x433ca5(_0x1c17f4,_0x1f29ef,_0x5dc73e);_0x46719c['RemoteUniscriptService']=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x343856,_0x501f94,_0x8380a3){const _0x2f8a76=_0xa0f417;super(),this[_0x2f8a76(0x1b9)]=_0x343856,this[_0x2f8a76(0x430)]=_0x501f94,this[_0x2f8a76(0x356)]=_0x8380a3;}async[_0xa0f417(0x359)](_0x204177,_0x336ce7,_0x55a721,..._0x343197){const _0x355f42=_0xa0f417;var _0x21a4be,_0x4c5cda,_0x4e6044,_0x369984;const _0x1f81f8=this['_instanceService']['getFocusedUnit']();if(!_0x1f81f8)throw new Error(_0x355f42(0x245));const _0x4d2eab=((_0x21a4be=this[_0x355f42(0x356)][_0x355f42(0x3e6)](_0x47c5ed[_0x355f42(0x27c)]))!=null?_0x21a4be:_0x47c5ed[_0x355f42(0x25d)])+'/'+_0x204177+_0x355f42(0x3a5)+_0x336ce7,_0x25c98c=new URL(window['location'][_0x355f42(0x34c)]),_0x4d06aa={'scriptId':_0x204177,'runId':(_0x4c5cda=_0x25c98c['searchParams'][_0x355f42(0x22f)](_0x355f42(0x39a)))!=null?_0x4c5cda:'','function':_0x336ce7,'unitId':_0x1f81f8['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x343197),'invokeId':(_0x4e6044=_0x55a721['invokeId'])!=null?_0x4e6044:'','executionId':(_0x369984=_0x55a721['executionId'])!=null?_0x369984:''};try{const _0x2ed111=await this[_0x355f42(0x430)]['post'](_0x4d2eab,{'body':_0x4d06aa});return _0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x30a)]&&_0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x30a)][_0x355f42(0x27f)]!==_0x2db43a['OK']?_0x355f42(0x30f):_0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x472)];}catch{return _0x355f42(0x30f);}}},_0x46719c[_0xa0f417(0x420)]=_0x5079db([_0x37623c(0x0,_0x3071e3['IUniverInstanceService']),_0x37623c(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x37623c(0x2,_0x3071e3[_0xa0f417(0x3df)])],_0x46719c[_0xa0f417(0x420)]);const _0x462e7b=0x7530,_0x223cce=_0xa0f417(0x2f8);class _0x364e78 extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(){const _0x85224b=_0xa0f417;super(),_0x4f1800(this,_0x85224b(0x3bf),_0x3071e3[_0x85224b(0x3f5)]()),_0x4f1800(this,_0x85224b(0x41a),new Set()),_0x4f1800(this,_0x85224b(0x342),new Map()),_0x4f1800(this,_0x85224b(0x276),null),_0x4f1800(this,_0x85224b(0x3ed),new Map()),_0x4f1800(this,_0x85224b(0x42e),new Map()),this['_init']();}['dispose'](){const _0x77c0d8=_0xa0f417;super['dispose'](),this[_0x77c0d8(0x3ed)]['forEach']((_0x3f8a4c,_0x15bfd7)=>this[_0x77c0d8(0x256)](_0x15bfd7)),this[_0x77c0d8(0x276)]&&window[_0x77c0d8(0x27a)](this[_0x77c0d8(0x276)]);}[_0xa0f417(0x241)](_0x5949f5){const _0x1a3f9f=_0xa0f417;return this[_0x1a3f9f(0x489)](_0x5949f5)[_0x1a3f9f(0x1f3)](_0x4dfa7e[_0x1a3f9f(0x47a)]());}['editingUnit'](_0x3978ca){const _0x517a58=_0xa0f417;this[_0x517a58(0x41a)][_0x517a58(0x23d)]===0x0&&this[_0x517a58(0x29b)](),this[_0x517a58(0x41a)]['add'](_0x3978ca),this[_0x517a58(0x2ba)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3978ca],'isForwarded':!0x1});}[_0xa0f417(0x33d)](_0x3f6d09){const _0x1fc874=_0xa0f417;this['_selfUnitIDs'][_0x1fc874(0x1fb)](_0x3f6d09),this[_0x1fc874(0x41a)][_0x1fc874(0x23d)]===0x0&&this['_heartbeatTimer']&&window[_0x1fc874(0x27a)](this[_0x1fc874(0x276)]);}[_0xa0f417(0x3e7)](){const _0x1838e9=_0xa0f417;this['disposeWithMe'](_0x3071e3[_0x1838e9(0x1ef)](_0x4dfa7e['fromEvent'](window,_0x1838e9(0x1cb))[_0x1838e9(0x270)](_0x32c315=>{const _0xcf03e=_0x1838e9;if(_0x32c315[_0xcf03e(0x2c0)]!==_0x223cce||!_0x32c315[_0xcf03e(0x20b)])return;const _0x174804=JSON[_0xcf03e(0x479)](_0x32c315[_0xcf03e(0x20b)]);this['_handleEvent'](_0x174804);}))),window[_0x1838e9(0x37a)](_0x1838e9(0x46b),()=>this[_0x1838e9(0x2ba)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1838e9(0x48d)](this[_0x1838e9(0x41a)])}));}['_handleEvent'](_0x52f319){const _0x4759e1=_0xa0f417;switch(_0x52f319[_0x4759e1(0x2e4)]){case 0x0:this[_0x4759e1(0x1d8)](_0x52f319);break;case 0x1:this[_0x4759e1(0x486)](_0x52f319);break;case 0x2:this[_0x4759e1(0x228)](_0x52f319);break;}}[_0xa0f417(0x1d8)](_0x57b9bf){const _0x5ae917=_0xa0f417,{unitIDs:_0x431a9f,memberID:_0x1de738,isForwarded:_0x3c4063}=_0x57b9bf;_0x431a9f[_0x5ae917(0x1da)](_0x187c08=>{const _0x2ea41f=_0x5ae917;if(!_0x3c4063&&this[_0x2ea41f(0x342)][_0x2ea41f(0x3bb)](_0x187c08)&&this[_0x2ea41f(0x489)](_0x187c08)[_0x2ea41f(0x26d)](_0x47c5ed[_0x2ea41f(0x3b8)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x2ea41f(0x3bb)](_0x187c08)||!this['_unitOnClients'][_0x2ea41f(0x22f)](_0x187c08)[_0x2ea41f(0x3bb)](_0x1de738)){const _0x4f2d1c=this[_0x2ea41f(0x342)][_0x2ea41f(0x22f)](_0x187c08)||new Set();_0x4f2d1c['add'](_0x1de738),this[_0x2ea41f(0x342)][_0x2ea41f(0x41c)](_0x187c08,_0x4f2d1c),this[_0x2ea41f(0x352)](_0x1de738);}}),_0x3c4063||this[_0x5ae917(0x2ba)]({'type':0x0,'memberID':this[_0x5ae917(0x3bf)],'unitIDs':[...this[_0x5ae917(0x41a)]],'isForwarded':!0x0});}[_0xa0f417(0x352)](_0x55177b){const _0x194f97=_0xa0f417;this[_0x194f97(0x256)](_0x55177b);const _0x50db7c=window[_0x194f97(0x3d1)](()=>{const _0x4c758a=_0x194f97;this[_0x4c758a(0x342)][_0x4c758a(0x1da)](_0x5cd890=>{const _0x431d0c=_0x4c758a;_0x5cd890[_0x431d0c(0x1fb)](_0x55177b);});},_0x462e7b*0x2);this[_0x194f97(0x3ed)]['set'](_0x55177b,_0x50db7c);}[_0xa0f417(0x256)](_0x533225){const _0x140338=_0xa0f417;if(this[_0x140338(0x3ed)][_0x140338(0x3bb)](_0x533225)){const _0x18737d=this[_0x140338(0x3ed)][_0x140338(0x22f)](_0x533225);_0x18737d&&window[_0x140338(0x49c)](_0x18737d),this[_0x140338(0x3ed)]['set'](_0x533225,null);}}['_handleLeaveEvent'](_0x5ac7eb){const _0x110b65=_0xa0f417,{memberID:_0x4b232c,unitIDs:_0x393e91}=_0x5ac7eb;_0x393e91[_0x110b65(0x1da)](_0x470930=>{const _0x1f8329=_0x110b65;var _0x39f9c8;const _0x4aeccf=this[_0x1f8329(0x342)][_0x1f8329(0x22f)](_0x470930);_0x4aeccf&&(_0x4aeccf['delete'](_0x4b232c),(_0x39f9c8=this[_0x1f8329(0x489)](_0x470930))==null||_0x39f9c8[_0x1f8329(0x26d)](_0x4aeccf['size']===0x0?_0x47c5ed['UnitStatus'][_0x1f8329(0x1aa)]:_0x47c5ed[_0x1f8329(0x3b8)]['OTHER_CLIENTS_EDITING']));}),this[_0x110b65(0x256)](_0x4b232c);}[_0xa0f417(0x228)](_0x1af4aa){const _0x30e7d5=_0xa0f417;this[_0x30e7d5(0x352)](_0x1af4aa[_0x30e7d5(0x363)]);}[_0xa0f417(0x2ba)](_0x1ee3c4){const _0x2d44b8=_0xa0f417;localStorage[_0x2d44b8(0x38e)](_0x223cce,JSON[_0x2d44b8(0x275)](_0x1ee3c4));}[_0xa0f417(0x29b)](){const _0x4b95bb=_0xa0f417;this[_0x4b95bb(0x276)]=window[_0x4b95bb(0x367)](()=>{const _0x4a0d67=_0x4b95bb;this[_0x4a0d67(0x2ba)]({'type':0x2,'memberID':this[_0x4a0d67(0x3bf)]});},_0x462e7b);}[_0xa0f417(0x489)](_0x422f53){const _0x28d92b=_0xa0f417;return this[_0x28d92b(0x42e)][_0x28d92b(0x3bb)](_0x422f53)||this[_0x28d92b(0x42e)][_0x28d92b(0x41c)](_0x422f53,new _0x4dfa7e[(_0x28d92b(0x309))](_0x47c5ed[_0x28d92b(0x3b8)][_0x28d92b(0x1aa)])),this[_0x28d92b(0x42e)]['get'](_0x422f53);}}_0x46719c[_0xa0f417(0x1c9)]=_0xd9e09a,_0x46719c[_0xa0f417(0x436)]=_0x1391f5,_0x46719c['WebBrowserSingleActiveUnitService']=_0x364e78,_0x46719c[_0xa0f417(0x328)]=_0x1ffd2a,Object[_0xa0f417(0x43b)](_0x46719c,Symbol[_0xa0f417(0x336)],{'value':_0xa0f417(0x329)});}));
|
|
1
|
+
function _0x5992(_0x18434e,_0xf0c574){_0x18434e=_0x18434e-0x117;const _0x450668=_0x4506();let _0x5992fe=_0x450668[_0x18434e];return _0x5992fe;}(function(_0x3309ca,_0x4e1211){const _0x2428cd=_0x5992,_0x590d68=_0x3309ca();while(!![]){try{const _0x596e9a=-parseInt(_0x2428cd(0x3e7))/0x1+parseInt(_0x2428cd(0x304))/0x2+parseInt(_0x2428cd(0x21a))/0x3*(parseInt(_0x2428cd(0x353))/0x4)+parseInt(_0x2428cd(0x3f2))/0x5*(parseInt(_0x2428cd(0x2e9))/0x6)+-parseInt(_0x2428cd(0x3f7))/0x7*(parseInt(_0x2428cd(0x198))/0x8)+parseInt(_0x2428cd(0x3fe))/0x9*(-parseInt(_0x2428cd(0x300))/0xa)+parseInt(_0x2428cd(0x3fb))/0xb;if(_0x596e9a===_0x4e1211)break;else _0x590d68['push'](_0x590d68['shift']());}catch(_0x492061){_0x590d68['push'](_0x590d68['shift']());}}}(_0x4506,0xac90e),function(_0x117781,_0x1f2b2d){const _0x281323=_0x5992;typeof exports==_0x281323(0x33d)&&typeof module<'u'?_0x1f2b2d(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==_0x281323(0x3bd)&&define[_0x281323(0x2f8)]?define([_0x281323(0x286),_0x281323(0x3ab),'@univerjs-pro/collaboration-client',_0x281323(0x401),'@univerjs/ui',_0x281323(0x368),_0x281323(0x400),_0x281323(0x245),_0x281323(0x2ae),_0x281323(0x366),_0x281323(0x2bb),'@univerjs/network',_0x281323(0x375),'@univerjs/drawing',_0x281323(0x38d),'@univerjs/docs',_0x281323(0x171),_0x281323(0x2f3),_0x281323(0x2ec)],_0x1f2b2d):(_0x117781=typeof globalThis<'u'?globalThis:_0x117781||self,_0x1f2b2d(_0x117781[_0x281323(0x373)]={},_0x117781[_0x281323(0x1f8)],_0x117781['UniverProCollaborationClient'],_0x117781[_0x281323(0x203)],_0x117781[_0x281323(0x18d)],_0x117781[_0x281323(0x368)],_0x117781[_0x281323(0x224)],_0x117781[_0x281323(0x1f8)],_0x117781['UniverRpc'],_0x117781['UniverSheets'],_0x117781[_0x281323(0x327)],_0x117781[_0x281323(0x23e)],_0x117781[_0x281323(0x15b)],_0x117781[_0x281323(0x256)],_0x117781[_0x281323(0x2b3)],_0x117781['UniverDocs'],_0x117781[_0x281323(0x409)],_0x117781['rxjs'][_0x281323(0x1fa)],_0x117781[_0x281323(0x270)]));}(this,function(_0x4114c5,_0x4c6f74,_0x977231,_0x3a6e21,_0x149c92,_0x2289a4,_0x9f2908,_0x37c7d2,_0x30767a,_0x3e80c8,_0x946f81,_0x56d9d2,_0x84c7b3,_0x30725e,_0x3d0ca4,_0x2d1e6c,_0x4c281d,_0xe1d652,_0x127e25){'use strict';const _0x356272=_0x5992;var _0x2fece4=Object['defineProperty'],_0x3368a5=(_0x47266f,_0x3a4060,_0x5eccb2)=>_0x3a4060 in _0x47266f?_0x2fece4(_0x47266f,_0x3a4060,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eccb2}):_0x47266f[_0x3a4060]=_0x5eccb2,_0x49e47d=(_0x2b9ade,_0x310903,_0x4d9e95)=>_0x3368a5(_0x2b9ade,typeof _0x310903!=_0x356272(0x3ed)?_0x310903+'':_0x310903,_0x4d9e95);function _0x4bca7c({ref:_0x384ce4,..._0x1224e9}){const _0xc78580=_0x356272,{icon:_0x1b51ae,id:_0x55c5b2,className:_0x204069,extend:_0x265e38,..._0x44818c}=_0x1224e9,_0x2daaa0=(_0xc78580(0x333)+_0x55c5b2+'\x20'+(_0x204069||''))[_0xc78580(0x22a)](),_0x1ac912=_0x37c7d2[_0xc78580(0x365)]('_'+_0x12d55e());return _0x3f4010(_0x1b51ae,''+_0x55c5b2,{'defIds':_0x1b51ae[_0xc78580(0x2a3)],'idSuffix':_0x1ac912[_0xc78580(0x1c2)]},{'ref':_0x384ce4,'className':_0x2daaa0,..._0x44818c},_0x265e38);}function _0x3f4010(_0x1a1c5f,_0x51a193,_0x238c6c,_0xe3786c,_0x1eb912){const _0xfd4a28=_0x356272;return _0x37c7d2[_0xfd4a28(0x35a)](_0x1a1c5f[_0xfd4a28(0x243)],{'key':_0x51a193,..._0x2b932e(_0x1a1c5f,_0x238c6c,_0x1eb912),..._0xe3786c},(_0x3a8e56(_0x1a1c5f,_0x238c6c)[_0xfd4a28(0x2ac)]||[])['map']((_0x29e69e,_0x418814)=>_0x3f4010(_0x29e69e,_0x51a193+'-'+_0x1a1c5f[_0xfd4a28(0x243)]+'-'+_0x418814,_0x238c6c,void 0x0,_0x1eb912)));}function _0x2b932e(_0x126d66,_0x1ffba4,_0x22a18d){const _0x8aa86b=_0x356272,_0x5b4427={..._0x126d66[_0x8aa86b(0x27e)]};_0x22a18d!=null&&_0x22a18d[_0x8aa86b(0x1e1)]&&_0x5b4427[_0x8aa86b(0x174)]==='colorChannel1'&&(_0x5b4427['fill']=_0x22a18d[_0x8aa86b(0x1e1)]),_0x126d66[_0x8aa86b(0x243)]===_0x8aa86b(0x12f)&&_0x5b4427['id']&&(_0x5b4427['id']=_0x5b4427['id']+_0x1ffba4[_0x8aa86b(0x381)]),Object['entries'](_0x5b4427)['forEach'](([_0x445de7,_0x13a285])=>{const _0x12c82b=_0x8aa86b;_0x445de7===_0x12c82b(0x12f)&&typeof _0x13a285==_0x12c82b(0x1ff)&&(_0x5b4427[_0x445de7]=_0x13a285[_0x12c82b(0x1e5)](/url\(#(.*)\)/,_0x12c82b(0x3be)+_0x1ffba4[_0x12c82b(0x381)]+')'));});const {defIds:_0x194d02}=_0x1ffba4;return!_0x194d02||_0x194d02[_0x8aa86b(0x3fa)]===0x0||(_0x126d66['tag']===_0x8aa86b(0x1bb)&&_0x5b4427[_0x8aa86b(0x30a)]&&(_0x5b4427['xlink:href']=_0x5b4427[_0x8aa86b(0x30a)]+_0x1ffba4['idSuffix']),Object[_0x8aa86b(0x318)](_0x5b4427)[_0x8aa86b(0x280)](([_0x8d0014,_0x2345cc])=>{const _0x225104=_0x8aa86b;typeof _0x2345cc==_0x225104(0x1ff)&&(_0x5b4427[_0x8d0014]=_0x2345cc['replace'](/url\(#(.*)\)/,_0x225104(0x3be)+_0x1ffba4[_0x225104(0x381)]+')'));})),_0x5b4427;}function _0x3a8e56(_0x152fc0,_0x32d4e0){const _0x2f1bb0=_0x356272;var _0x3e6c80;const {defIds:_0x4b16e2}=_0x32d4e0;return!_0x4b16e2||_0x4b16e2['length']===0x0?_0x152fc0:_0x152fc0['tag']===_0x2f1bb0(0x27a)&&((_0x3e6c80=_0x152fc0['children'])!=null&&_0x3e6c80[_0x2f1bb0(0x3fa)])?{..._0x152fc0,'children':_0x152fc0[_0x2f1bb0(0x2ac)][_0x2f1bb0(0x27c)](_0x3c7472=>typeof _0x3c7472[_0x2f1bb0(0x27e)]['id']=='string'&&_0x4b16e2&&_0x4b16e2[_0x2f1bb0(0x1c5)](_0x3c7472[_0x2f1bb0(0x27e)]['id'])?{..._0x3c7472,'attrs':{..._0x3c7472[_0x2f1bb0(0x27e)],'id':_0x3c7472['attrs']['id']+_0x32d4e0[_0x2f1bb0(0x381)]}}:_0x3c7472)}:_0x152fc0;}function _0x12d55e(){const _0x10d36a=_0x356272;return Math[_0x10d36a(0x2b4)]()[_0x10d36a(0x161)](0x24)['substring'](0x2,0x8);}_0x4bca7c[_0x356272(0x24f)]=_0x356272(0x3cf);const _0xad2a74={'tag':_0x356272(0x3ef),'attrs':{'xmlns':_0x356272(0x29f),'fill':'none','viewBox':_0x356272(0x123),'width':'1em','height':_0x356272(0x379)},'children':[{'tag':'g','attrs':{'clipPath':_0x356272(0x1ad)},'children':[{'tag':_0x356272(0x152),'attrs':{'stroke':_0x356272(0x1cd),'d':_0x356272(0x325),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x356272(0x27a),'attrs':{},'children':[{'tag':_0x356272(0x1be),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x356272(0x152),'attrs':{'fill':_0x356272(0x1b2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x356272(0x39c)]},_0x2f1589=_0x37c7d2['forwardRef'](function(_0x2a4456,_0x49c278){const _0x50bb61=_0x356272;return _0x37c7d2[_0x50bb61(0x35a)](_0x4bca7c,Object[_0x50bb61(0x131)]({},_0x2a4456,{'id':_0x50bb61(0x3a6),'ref':_0x49c278,'icon':_0xad2a74}));});_0x2f1589[_0x356272(0x24f)]=_0x356272(0x339);const _0x385cc9={'tag':_0x356272(0x3ef),'attrs':{'xmlns':_0x356272(0x29f),'fill':_0x356272(0x16c),'viewBox':_0x356272(0x2e1),'width':_0x356272(0x379),'height':_0x356272(0x379)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x356272(0x152),'attrs':{'stroke':_0x356272(0x1cd),'d':_0x356272(0x2d0),'strokeLinecap':_0x356272(0x2fe),'strokeLinejoin':_0x356272(0x2fe),'strokeWidth':1.2}}]},{'tag':_0x356272(0x27a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x356272(0x152),'attrs':{'fill':_0x356272(0x1b2),'d':_0x356272(0x40f),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1c9e40=_0x37c7d2['forwardRef'](function(_0x147660,_0x519df7){const _0x1a90e6=_0x356272;return _0x37c7d2['createElement'](_0x4bca7c,Object[_0x1a90e6(0x131)]({},_0x147660,{'id':_0x1a90e6(0x1c1),'ref':_0x519df7,'icon':_0x385cc9}));});_0x1c9e40[_0x356272(0x24f)]=_0x356272(0x25b);function _0x170967(_0x1138a7){const _0xa8fa06=_0x356272;switch(_0x1138a7){case _0x977231[_0xa8fa06(0x2ba)]['OFFLINE']:return _0xa8fa06(0x3a7);case _0x977231[_0xa8fa06(0x2ba)]['CONFLICT']:return _0xa8fa06(0x132);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x1c8)]:return'collabStatus.fetchMiss';case _0x977231[_0xa8fa06(0x2ba)]['NOT_COLLAB']:return _0xa8fa06(0x196);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x310)]:case _0x977231['CollaborationStatus'][_0xa8fa06(0x338)]:return _0xa8fa06(0x1e9);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x390)]:case _0x977231[_0xa8fa06(0x2ba)]['PENDING']:return _0xa8fa06(0x2bc);}}function _0x4bb4ec(_0x32c594){const _0x3c099a=_0x356272,{status$:_0x9ab696}=_0x32c594,_0x592284=_0x149c92['useObservable'](_0x9ab696,_0x977231['CollaborationStatus'][_0x3c099a(0x32d)]),_0x448960=_0x149c92['useDependency'](_0x3a6e21[_0x3c099a(0x36a)]),_0x1e0f2d=_0x149c92[_0x3c099a(0x34a)](_0x977231[_0x3c099a(0x30b)]),_0x6722e2=_0x592284!==_0x977231[_0x3c099a(0x2ba)][_0x3c099a(0x33f)],_0x5e0a16=_0x448960['t'](_0x170967(_0x592284)),_0x100691=_0x6722e2?_0x4c6f74[_0x3c099a(0x2eb)](_0x1c9e40,{}):_0x4c6f74[_0x3c099a(0x2eb)](_0x2f1589,{}),_0x46d3ce=_0x37c7d2[_0x3c099a(0x1de)](()=>{const _0x31a802=_0x3c099a;_0x6722e2||_0x1e0f2d[_0x31a802(0x1d5)]();},[_0x6722e2,_0x1e0f2d]);function _0x43fed0(){const _0x2de2f9=_0x3c099a;return _0x4c6f74[_0x2de2f9(0x284)](_0x2de2f9(0x309),{'className':_0x2de2f9(0x3c8),'onClick':_0x46d3ce,'children':[_0x4c6f74[_0x2de2f9(0x2eb)](_0x2de2f9(0x309),{'className':_0x9f2908[_0x2de2f9(0x178)](_0x2de2f9(0x363),{'univer-text-green-500':_0x6722e2,'univer-text-red-500':!_0x6722e2}),'children':_0x100691}),_0x4c6f74[_0x2de2f9(0x2eb)](_0x2de2f9(0x309),{'className':_0x2de2f9(0x17e),'children':_0x5e0a16})]});}return _0x6722e2?_0x43fed0():_0x4c6f74[_0x3c099a(0x2eb)](_0x9f2908[_0x3c099a(0x1d8)],{'title':_0x448960['t'](_0x3c099a(0x2d1)),'children':_0x43fed0()});}var _0x4df8f2=Object['getOwnPropertyDescriptor'],_0x1aa548=(_0x551f54,_0x34702d,_0x1d7fb6,_0x32550f)=>{const _0x11b56e=_0x356272;for(var _0x5c6d6d=_0x32550f>0x1?void 0x0:_0x32550f?_0x4df8f2(_0x34702d,_0x1d7fb6):_0x34702d,_0x64d2bc=_0x551f54[_0x11b56e(0x3fa)]-0x1,_0x4a8f82;_0x64d2bc>=0x0;_0x64d2bc--)(_0x4a8f82=_0x551f54[_0x64d2bc])&&(_0x5c6d6d=_0x4a8f82(_0x5c6d6d)||_0x5c6d6d);return _0x5c6d6d;},_0x34fc78=(_0x58a243,_0x1f9ba5)=>(_0x215389,_0x940c42)=>_0x1f9ba5(_0x215389,_0x940c42,_0x58a243);_0x4114c5[_0x356272(0x20b)]=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x5f3750,_0x362e20,_0x19533e,_0x10d8ce){const _0x49fe7b=_0x356272;super(),_0x49e47d(this,_0x49fe7b(0x2ce),new _0x2289a4[(_0x49fe7b(0x231))](_0x977231[_0x49fe7b(0x2ba)][_0x49fe7b(0x32d)])),(this[_0x49fe7b(0x28f)]=_0x5f3750,this['_injector']=_0x362e20,this[_0x49fe7b(0x271)]=_0x19533e,this[_0x49fe7b(0x12b)]=_0x10d8ce,this['_initStatusComponent'](),this[_0x49fe7b(0x28c)]());}['_initStatusListener'](){const _0x48479e=_0x356272;this[_0x48479e(0x3b6)](this[_0x48479e(0x28f)]['focused$'][_0x48479e(0x328)](_0x2289a4[_0x48479e(0x267)](()=>{const _0x472895=_0x48479e,_0x3ed195=this['_univerInstanceService'][_0x472895(0x3ce)]();return _0x3ed195?this[_0x472895(0x271)][_0x472895(0x397)](_0x3ed195[_0x472895(0x239)]()):_0x2289a4['of'](null);}),_0x2289a4['switchMap'](_0x1669fb=>_0x1669fb?_0x1669fb['status$']:_0x2289a4['of'](_0x977231['CollaborationStatus'][_0x48479e(0x32d)])))['subscribe'](_0x4f4811=>{const _0x4f11ac=_0x48479e;this[_0x4f11ac(0x2ce)][_0x4f11ac(0x2ed)](_0x4f4811);}));}[_0x356272(0x1c7)](){const _0x591926=_0x356272;this[_0x591926(0x3b6)](this[_0x591926(0x12b)]['registerComponent'](_0x149c92['BuiltInUIPart'][_0x591926(0x301)],()=>_0x149c92[_0x591926(0x188)](_0x11221d({'status$':this[_0x591926(0x2ce)]['asObservable']()}),this[_0x591926(0x228)])));}},_0x4114c5['DesktopCollaborationStatusDisplayController']=_0x1aa548([_0x34fc78(0x0,_0x3a6e21['IUniverInstanceService']),_0x34fc78(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x34fc78(0x2,_0x3a6e21['Inject'](_0x977231[_0x356272(0x180)])),_0x34fc78(0x3,_0x149c92['IUIPartsService'])],_0x4114c5[_0x356272(0x20b)]);function _0x11221d(_0x280e26){const {status$:_0x297107}=_0x280e26;return function(){const _0x4555c1=_0x5992;return _0x4c6f74[_0x4555c1(0x2eb)](_0x4bb4ec,{'status$':_0x297107});};}const _0xb5c967=_0x3a6e21['createIdentifier'](_0x356272(0x3f8));var _0x3debba=Object[_0x356272(0x2dc)],_0x206477=(_0x2ca070,_0x3df2e9,_0x396302,_0x5c8df7)=>{const _0x3a2207=_0x356272;for(var _0xc0bc5d=_0x5c8df7>0x1?void 0x0:_0x5c8df7?_0x3debba(_0x3df2e9,_0x396302):_0x3df2e9,_0x20359c=_0x2ca070[_0x3a2207(0x3fa)]-0x1,_0x2c5c8f;_0x20359c>=0x0;_0x20359c--)(_0x2c5c8f=_0x2ca070[_0x20359c])&&(_0xc0bc5d=_0x2c5c8f(_0xc0bc5d)||_0xc0bc5d);return _0xc0bc5d;},_0x5c96e9=(_0xba6e02,_0x43bfee)=>(_0x1183a5,_0xa9cad9)=>_0x43bfee(_0x1183a5,_0xa9cad9,_0xba6e02);_0x4114c5[_0x356272(0x141)]=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x2f881c,_0x4b112e,_0x100be1,_0x3ce5bf,_0x92abea){const _0x267843=_0x356272;super(),this[_0x267843(0x2e7)]=_0x2f881c,this[_0x267843(0x3b4)]=_0x4b112e,this[_0x267843(0x389)]=_0x100be1,this['_dataLoaderService']=_0x3ce5bf,_0x92abea?_0x92abea==null||_0x92abea[_0x267843(0x38a)]()['then'](()=>this[_0x267843(0x2e0)]()):(this[_0x267843(0x3b4)]['debug'](_0x267843(0x3c3),_0x267843(0x13b)),this['_init']());}async[_0x356272(0x2e0)](){const _0x478de5=_0x356272,_0xf29d5b=this[_0x478de5(0x2e7)]['getParam']('unit'),_0x1b2903=this[_0x478de5(0x2e7)]['getParam'](_0x478de5(0x14e)),_0x2a3b11=this[_0x478de5(0x2e7)][_0x478de5(0x11d)](_0x478de5(0x1f3));if(!_0xf29d5b||!_0x1b2903){this['_logService'][_0x478de5(0x351)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x255f0d=await this[_0x478de5(0x272)][_0x478de5(0x1aa)](_0xf29d5b,Number(_0x1b2903),_0x2a3b11);_0x255f0d&&_0x255f0d instanceof _0x3a6e21['Workbook']&&this[_0x478de5(0x3d0)](_0x255f0d);}async[_0x356272(0x3d0)](_0x1cd1a0){const _0x15e8d5=_0x356272;await this[_0x15e8d5(0x1b6)](_0x1cd1a0),_0x1cd1a0[_0x15e8d5(0x254)][_0x15e8d5(0x328)](_0x2289a4['takeUntil'](this[_0x15e8d5(0x121)]))[_0x15e8d5(0x399)](_0x61064d=>{_0x61064d&&this['_updateURLWithCurrentState'](_0x61064d);}),this[_0x15e8d5(0x2e7)]['urlChange$'][_0x15e8d5(0x328)](_0x2289a4[_0x15e8d5(0x39e)](this[_0x15e8d5(0x121)]))[_0x15e8d5(0x399)](()=>this[_0x15e8d5(0x1b6)](_0x1cd1a0));}[_0x356272(0x150)](_0x4d1a84,_0x15e2b5=!0x1){const _0x201149=_0x356272,_0x1305e4=this['_urlService'][_0x201149(0x11d)](_0x201149(0x1f3));_0x4d1a84['getSheetId']()!==_0x1305e4&&this[_0x201149(0x2e7)]['setParam']('subunit',_0x4d1a84[_0x201149(0x30e)](),_0x15e2b5);}async[_0x356272(0x1b6)](_0xb796e){const _0x37dc4b=_0x356272;var _0xb850cb;const _0x5c5231=this[_0x37dc4b(0x2e7)][_0x37dc4b(0x11d)](_0x37dc4b(0x1f3));if(!_0x5c5231||!_0xb796e[_0x37dc4b(0x35f)](_0x5c5231)){const _0x5e4968=_0xb796e['getUnhiddenWorksheets']()[0x0],_0x4b6846=_0xb796e[_0x37dc4b(0x35f)](_0x5e4968);if(!_0x4b6846)return;this[_0x37dc4b(0x150)](_0x4b6846,!0x0),await this[_0x37dc4b(0x389)][_0x37dc4b(0x2e5)](_0x3e80c8['SetWorksheetActivateCommand']['id'],{'unitId':_0xb796e['getUnitId'](),'subUnitId':_0x5e4968});return;}((_0xb850cb=_0xb796e['getActiveSheet']())==null?void 0x0:_0xb850cb['getSheetId']())!==_0x5c5231&&await this[_0x37dc4b(0x389)][_0x37dc4b(0x2e5)](_0x3e80c8[_0x37dc4b(0x20f)]['id'],{'unitId':_0xb796e[_0x37dc4b(0x239)](),'subUnitId':_0x5c5231});}},_0x4114c5[_0x356272(0x141)]=_0x206477([_0x5c96e9(0x0,_0xb5c967),_0x5c96e9(0x1,_0x3a6e21[_0x356272(0x266)]),_0x5c96e9(0x2,_0x3a6e21[_0x356272(0x220)]),_0x5c96e9(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x14b)])),_0x5c96e9(0x4,_0x3a6e21['Optional'](_0x30767a[_0x356272(0x2bf)]))],_0x4114c5['CollaborationDataLoaderController']);var _0x4650be=Object[_0x356272(0x2dc)],_0x3f930b=(_0x5efa09,_0x3d9da6,_0x1a36cf,_0x18c9ab)=>{const _0x1873fa=_0x356272;for(var _0x507982=_0x18c9ab>0x1?void 0x0:_0x18c9ab?_0x4650be(_0x3d9da6,_0x1a36cf):_0x3d9da6,_0x1682c1=_0x5efa09[_0x1873fa(0x3fa)]-0x1,_0x57dcef;_0x1682c1>=0x0;_0x1682c1--)(_0x57dcef=_0x5efa09[_0x1682c1])&&(_0x507982=_0x57dcef(_0x507982)||_0x507982);return _0x507982;},_0x42d188=(_0x4cfe3e,_0x12cae2)=>(_0x2c2903,_0x31ddd5)=>_0x12cae2(_0x2c2903,_0x31ddd5,_0x4cfe3e);let _0x3101a6=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x169dde,_0x1c927b){const _0x59b06d=_0x356272;super(),this[_0x59b06d(0x2c9)]=_0x169dde,this[_0x59b06d(0x3d9)]=_0x1c927b,this['_init']();}[_0x356272(0x2e0)](){const _0x2ecb69=_0x356272,_0x245c3a=this;this[_0x2ecb69(0x3b6)](this[_0x2ecb69(0x2c9)][_0x2ecb69(0x291)]({'onBeforePasteImage':async _0x38b8c4=>{const _0x1f7235=_0x2ecb69,_0x36bce6=await _0x245c3a[_0x1f7235(0x3d9)][_0x1f7235(0x279)](_0x38b8c4);return _0x36bce6?{'source':_0x36bce6[_0x1f7235(0x128)],'imageSourceType':_0x36bce6[_0x1f7235(0x19a)]}:null;}}));}};_0x3101a6=_0x3f930b([_0x42d188(0x0,_0x84c7b3[_0x356272(0x1c9)]),_0x42d188(0x1,_0x30725e['IImageIoService'])],_0x3101a6);const _0x4abc23=[_0x356272(0x1d2),_0x356272(0x3e9),_0x356272(0x145),_0x356272(0x34e),_0x356272(0x1ee),'yellow.400'];class _0x3832ab extends _0x3a6e21[_0x356272(0x257)]{constructor(){const _0x2becfe=_0x356272;super(...arguments),_0x49e47d(this,'_assignedColors',new Map()),_0x49e47d(this,_0x2becfe(0x173),0x0);}['assignAColorForMemberID'](_0x365f6f){const _0x1bffdf=_0x356272;if(this[_0x1bffdf(0x277)][_0x1bffdf(0x217)](_0x365f6f))return this[_0x1bffdf(0x277)][_0x1bffdf(0x201)](_0x365f6f);const _0x5cba66=_0x4abc23[this[_0x1bffdf(0x173)]];return this[_0x1bffdf(0x173)]=(this['_colorIndex']+0x1)%_0x4abc23[_0x1bffdf(0x3fa)],this[_0x1bffdf(0x277)][_0x1bffdf(0x199)](_0x365f6f,_0x5cba66),_0x5cba66;}}function _0x31cba3(_0x4b3397){const _0x2fc4b3=_0x356272;let _0x15ab41='';for(const _0x29a6bd of _0x4b3397){const {startOffset:_0x20493b,endOffset:_0x293cc5,isActive:_0x23a4a4,rangeType:_0xd0edda,segmentId:_0x20d0cf,segmentPage:_0xb840ef}=_0x29a6bd;_0x15ab41[_0x2fc4b3(0x3fa)]&&(_0x15ab41+=','),_0x15ab41+=_0x20493b+':'+_0x293cc5+':'+(_0x23a4a4?'1':'0')+':'+_0xd0edda+':'+_0x20d0cf+':'+_0xb840ef;}return _0x15ab41;}function _0xa0836b(_0x4d65be){const _0x16719e=_0x356272,_0x239ee5=_0x4d65be[_0x16719e(0x153)](','),_0x9f38cb=[];for(const _0x99c300 of _0x239ee5){const [_0x4097be,_0x2e9584,_0x222cc6,_0x4e1cd1,_0x37e24e,_0x1792c7]=_0x99c300['split'](':');_0x9f38cb[_0x16719e(0x31a)]({'startOffset':Number(_0x4097be),'endOffset':Number(_0x2e9584),'collapsed':_0x4097be===_0x2e9584,'isActive':_0x222cc6==='1','rangeType':_0x4e1cd1===_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x337)]?_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x337)]:_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x215)],'segmentId':typeof _0x37e24e==_0x16719e(0x1ff)?String(_0x37e24e):'','segmentPage':Number(_0x1792c7!=null?_0x1792c7:-0x1)});}return _0x9f38cb['some'](_0x1b979f=>_0x1b979f[_0x16719e(0x3e0)])||(_0x9f38cb[0x0][_0x16719e(0x3e0)]=!0x0),_0x9f38cb;}class _0x51f3c5 extends _0x3a6e21[_0x356272(0x1a2)]{constructor(){const _0x3924b3=_0x356272;super(...arguments),_0x49e47d(this,'_collabCursorState$',new _0x2289a4['BehaviorSubject'](null)),_0x49e47d(this,_0x3924b3(0x209),this[_0x3924b3(0x388)][_0x3924b3(0x168)]());}['syncEditingCollabCursor'](_0x365601){const _0x36fb69=_0x356272,{unitID:_0x5e1113,memberID:_0x4fd88b,textRanges:_0x179b8b}=_0x365601,_0x3f8c42=_0x31cba3(_0x179b8b);if(_0x3f8c42==='')return;const _0x417f6b={'unitID':_0x5e1113,'memberID':_0x4fd88b,'selection':_0x3f8c42};this['_collabCursorState$'][_0x36fb69(0x2ed)](_0x417f6b);}}var _0x59be89=Object[_0x356272(0x2dc)],_0x4a51d6=(_0x4d05c3,_0x41c9fa,_0x2d860a,_0x52fe11)=>{const _0x1caf93=_0x356272;for(var _0xb3ed53=_0x52fe11>0x1?void 0x0:_0x52fe11?_0x59be89(_0x41c9fa,_0x2d860a):_0x41c9fa,_0x4d7dfc=_0x4d05c3[_0x1caf93(0x3fa)]-0x1,_0x2a70ed;_0x4d7dfc>=0x0;_0x4d7dfc--)(_0x2a70ed=_0x4d05c3[_0x4d7dfc])&&(_0xb3ed53=_0x2a70ed(_0xb3ed53)||_0xb3ed53);return _0xb3ed53;},_0x2f44b3=(_0xfe8cee,_0x1580b9)=>(_0x49d09b,_0x2eaa20)=>_0x1580b9(_0x49d09b,_0x2eaa20,_0xfe8cee);const _0x4c4bec=0x12c,_0x327859=0x64;let _0x2b1bf4=class extends _0x3a6e21['RxDisposable']{constructor(_0x444bd7,_0x3206bd,_0x4f8197,_0x46a244,_0x305643,_0x3e31da,_0x2fe422,_0x53784b,_0x586422){const _0x229877=_0x356272;super(),_0x49e47d(this,_0x229877(0x194),!0x1),_0x49e47d(this,_0x229877(0x2e0),!0x1),_0x49e47d(this,'_cursorInfo$',new _0x2289a4[(_0x229877(0x231))](new Map())),_0x49e47d(this,_0x229877(0x29b),this[_0x229877(0x32e)][_0x229877(0x168)]()),_0x49e47d(this,_0x229877(0x1f2),new _0x2289a4[(_0x229877(0x231))]([])),_0x49e47d(this,_0x229877(0x2b1),this[_0x229877(0x1f2)][_0x229877(0x328)](_0x2289a4[_0x229877(0x1d7)](_0x4c4bec))),_0x49e47d(this,_0x229877(0x34b),_0x3a6e21[_0x229877(0x2b8)](_0x2137bc=>{const _0x9a960a=_0x229877,_0x2b2054={'eventID':_0x3d0ca4['CollaborationEvent'][_0x9a960a(0x1a1)],'data':{'unitID':this[_0x9a960a(0x138)],'memberID':this[_0x9a960a(0x12d)][_0x9a960a(0x19f)](),'selection':_0x31cba3(_0x2137bc)}};this[_0x9a960a(0x12d)][_0x9a960a(0x290)](_0x2b2054,this[_0x9a960a(0x138)]);},_0x327859)),(this[_0x229877(0x138)]=_0x444bd7,this[_0x229877(0x12d)]=_0x3206bd,this['_injector']=_0x4f8197,this[_0x229877(0x35c)]=_0x46a244,this['_memberService']=_0x305643,this[_0x229877(0x3ec)]=_0x3e31da,this['_transformService']=_0x2fe422,this[_0x229877(0x28f)]=_0x53784b,this[_0x229877(0x389)]=_0x586422);}get[_0x356272(0x21d)](){const _0x468507=_0x356272;return this[_0x468507(0x32e)][_0x468507(0x37d)]();}get['roomMembers'](){const _0x145285=_0x356272;return this[_0x145285(0x1f2)]['getValue']();}[_0x356272(0x1a0)](){const _0x57b96d=_0x356272;super[_0x57b96d(0x1a0)](),this[_0x57b96d(0x32e)][_0x57b96d(0x2ed)](new Map()),this[_0x57b96d(0x32e)][_0x57b96d(0x1cb)](),this[_0x57b96d(0x1f2)][_0x57b96d(0x2ed)]([]),this[_0x57b96d(0x1f2)]['complete']();}[_0x356272(0x3b1)](){const _0x605dcb=_0x356272;this[_0x605dcb(0x2e0)]||(this[_0x605dcb(0x2e0)]=!0x0,this[_0x605dcb(0x12d)]['sessionStatus$']['pipe'](_0x2289a4['takeUntil'](this[_0x605dcb(0x121)]))['subscribe'](_0x27b18b=>{const _0x30dd36=_0x605dcb;_0x27b18b===_0x977231[_0x30dd36(0x2d9)][_0x30dd36(0x359)]?this[_0x30dd36(0x33b)]():this[_0x30dd36(0x140)]();}),this[_0x605dcb(0x12d)]['event$']['pipe'](_0x2289a4[_0x605dcb(0x39e)](this[_0x605dcb(0x121)]))[_0x605dcb(0x399)](_0x3b1ef6=>{const _0x1e05a0=_0x605dcb,_0x1ddad9=_0x3b1ef6[_0x1e05a0(0x16f)];_0x1ddad9===_0x3d0ca4[_0x1e05a0(0x17f)]['UPDATE_CURSOR']&&this[_0x1e05a0(0x2fa)](_0x3b1ef6),_0x1ddad9===_0x3d0ca4[_0x1e05a0(0x17f)][_0x1e05a0(0x242)]&&this[_0x1e05a0(0x1dd)](_0x3b1ef6);}),this[_0x605dcb(0x3b6)](this[_0x605dcb(0x389)]['onCommandExecuted'](_0x4c6c73=>{const _0x304afe=_0x605dcb,_0x2bd712=_0x4c6c73[_0x304afe(0x3df)];_0x2bd712!=null&&this[_0x304afe(0x194)]&&_0x4c6c73['id']===_0x2d1e6c[_0x304afe(0x15d)]['id']&&_0x2bd712['unitId']===this[_0x304afe(0x138)]&&_0x2bd712['isEditing']===!0x1&&_0x2bd712['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x2bd712[_0x304afe(0x3aa)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x605dcb(0x328)](_0x2289a4[_0x605dcb(0x39e)](this['dispose$']))[_0x605dcb(0x399)](_0x4d587b=>{const _0x393754=_0x605dcb;if((_0x4d587b==null?void 0x0:_0x4d587b['unitID'])!==this['unitID'])return;const _0x2fe7bf={'eventID':_0x3d0ca4['CollaborationEvent'][_0x393754(0x1a1)],'data':_0x4d587b};this['_onCursorUpdate'](_0x2fe7bf);}),this[_0x605dcb(0x3b6)](this['_commandService'][_0x605dcb(0x3e3)](_0x4bd78f=>{const _0x5a0ffa=_0x605dcb;if(_0x4bd78f[_0x5a0ffa(0x3df)]==null)return;const _0x59e20e=_0x4bd78f[_0x5a0ffa(0x3df)];if(_0x4bd78f['id']!==_0x2d1e6c[_0x5a0ffa(0x29a)]['id']||_0x59e20e[_0x5a0ffa(0x3cd)]!==this[_0x5a0ffa(0x138)])return;const _0x52cb71={'id':_0x5a0ffa(0x2b2),'params':_0x59e20e},_0x27abe3=this[_0x5a0ffa(0x21d)];for(const [_0x4f9b37,_0x483774]of _0x27abe3){const _0x4f4dfe={'id':_0x5a0ffa(0x2b2),'params':{'unitId':this[_0x5a0ffa(0x138)],'actions':null,'textRanges':_0x483774[_0x5a0ffa(0x3aa)]}},_0x477733=this[_0x5a0ffa(0x2fd)][_0x5a0ffa(0x17b)](_0x52cb71,_0x4f4dfe,!0x1);if(_0x3d0ca4[_0x5a0ffa(0x1fc)](_0x477733))throw _0x477733['error'];_0x27abe3['set'](_0x4f9b37,{..._0x483774,'ranges':_0x477733[_0x5a0ffa(0x3da)][_0x5a0ffa(0x3df)][_0x5a0ffa(0x187)]});}queueMicrotask(()=>{const _0xd236df=_0x5a0ffa;this[_0xd236df(0x32e)][_0xd236df(0x2ed)](_0x27abe3);});})));}[_0x356272(0x2fa)](_0x2478be){const _0x4e31a0=_0x356272;var _0x1ba21c,_0x247b51;const {memberID:_0xf0377a,selection:_0x1b309d}=_0x2478be['data'],_0x1bc3fe=_0xa0836b(_0x1b309d),_0x3cb99e=(_0x247b51=(_0x1ba21c=this[_0x4e31a0(0x219)][_0x4e31a0(0x186)](this[_0x4e31a0(0x138)],_0xf0377a))==null?void 0x0:_0x1ba21c[_0x4e31a0(0x27f)])!=null?_0x247b51:_0x4e31a0(0x130),_0x3e0b9f={'color':this[_0x4e31a0(0x35c)]['assignAColorForMemberID'](_0xf0377a),'name':_0x3cb99e,'ranges':_0x1bc3fe},_0x3dad82=this[_0x4e31a0(0x21d)];_0x3dad82['set'](_0xf0377a,_0x3e0b9f),this[_0x4e31a0(0x32e)][_0x4e31a0(0x2ed)](_0x3dad82);}[_0x356272(0x1dd)](_0x4bde69){const _0x451478=_0x356272,{memberID:_0x5d45f5}=_0x4bde69[_0x451478(0x386)],_0x18508b=this['cursorInfo'];_0x18508b['delete'](_0x5d45f5),this[_0x451478(0x32e)][_0x451478(0x2ed)](_0x18508b);}[_0x356272(0x33b)](){const _0xe6577a=_0x356272;var _0x32ed67;if(this['_online']=!0x0,((_0x32ed67=this['_univerInstanceService'][_0xe6577a(0x3ce)]())==null?void 0x0:_0x32ed67[_0xe6577a(0x239)]())!==this['unitID'])return;const _0x5f18ca=this['_injector'][_0xe6577a(0x201)](_0x2d1e6c['DocSelectionManagerService'])[_0xe6577a(0x120)]();Array[_0xe6577a(0x176)](_0x5f18ca)&&_0x5f18ca[_0xe6577a(0x3fa)]>0x0&&this[_0xe6577a(0x34b)](_0x5f18ca);}['_toggleOffline'](){this['_online']=!0x1;}};_0x2b1bf4=_0x4a51d6([_0x2f44b3(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x2f44b3(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3832ab)),_0x2f44b3(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x37b)])),_0x2f44b3(0x5,_0x3a6e21[_0x356272(0x1a5)](_0x51f3c5)),_0x2f44b3(0x6,_0x3d0ca4['ITransformService']),_0x2f44b3(0x7,_0x3a6e21[_0x356272(0x354)]),_0x2f44b3(0x8,_0x3a6e21[_0x356272(0x220)])],_0x2b1bf4);var _0x36d38f=Object[_0x356272(0x2dc)],_0x322397=(_0x2ce47f,_0x1be326,_0x1fc624,_0x1612bf)=>{for(var _0x5d1315=_0x1612bf>0x1?void 0x0:_0x1612bf?_0x36d38f(_0x1be326,_0x1fc624):_0x1be326,_0x41c22e=_0x2ce47f['length']-0x1,_0x570df4;_0x41c22e>=0x0;_0x41c22e--)(_0x570df4=_0x2ce47f[_0x41c22e])&&(_0x5d1315=_0x570df4(_0x5d1315)||_0x5d1315);return _0x5d1315;},_0x415fdb=(_0x51b123,_0x493a3f)=>(_0x5d965b,_0x4070de)=>_0x493a3f(_0x5d965b,_0x4070de,_0x51b123);const _0x505038=0x12c,_0x4e9a91=0x64,_0x134095=()=>{let _0x4311fe=[],_0x27c09a=!0x1;return _0xc6cdad=>{_0x4311fe['push'](_0xc6cdad),_0x27c09a||(_0x27c09a=!0x0,setTimeout(()=>{const _0x170ecf=_0x5992;_0x4311fe[_0x170ecf(0x280)](_0x3fb4ef=>_0x3fb4ef()),_0x4311fe=[],_0x27c09a=!0x1;}));};};let _0x5a9ef7=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x7b03e6,_0x5dfa84,_0x36e941,_0x13a7de,_0x23ff0b,_0x1c39e7,_0x2ecbc0,_0xce56b9){const _0x203701=_0x356272;super(),_0x49e47d(this,_0x203701(0x194),!0x1),_0x49e47d(this,_0x203701(0x2e0),!0x1),_0x49e47d(this,_0x203701(0x32e),new _0x2289a4['BehaviorSubject'](new Map())),_0x49e47d(this,_0x203701(0x29b),this[_0x203701(0x32e)][_0x203701(0x168)]()),_0x49e47d(this,_0x203701(0x1f2),new _0x2289a4[(_0x203701(0x231))]([])),_0x49e47d(this,_0x203701(0x2b1),this[_0x203701(0x1f2)][_0x203701(0x328)](_0x2289a4[_0x203701(0x1d7)](_0x505038))),_0x49e47d(this,_0x203701(0x34b),_0x3a6e21[_0x203701(0x2b8)]((_0x1d13d3,_0x4327bc)=>{const _0x48ffd8=_0x203701,_0x31b8fe={'eventID':_0x3d0ca4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x48ffd8(0x138)],'memberID':this[_0x48ffd8(0x12d)][_0x48ffd8(0x19f)](),'selection':_0x4c281d[_0x48ffd8(0x1a8)](_0x1d13d3,_0x4327bc['range'])}};this['_session'][_0x48ffd8(0x290)](_0x31b8fe,this[_0x48ffd8(0x138)]);},_0x4e9a91)),(this[_0x203701(0x138)]=_0x7b03e6,this[_0x203701(0x12d)]=_0x5dfa84,this[_0x203701(0x228)]=_0x36e941,this[_0x203701(0x35c)]=_0x13a7de,this[_0x203701(0x219)]=_0x23ff0b,this[_0x203701(0x28f)]=_0x1c39e7,this[_0x203701(0x389)]=_0x2ecbc0,this[_0x203701(0x213)]=_0xce56b9);}get['cursorInfo'](){const _0x37104c=_0x356272;return this['_cursorInfo$'][_0x37104c(0x37d)]();}get[_0x356272(0x26b)](){const _0x36150d=_0x356272;return this[_0x36150d(0x1f2)][_0x36150d(0x37d)]();}[_0x356272(0x1a0)](){const _0x44290e=_0x356272;super[_0x44290e(0x1a0)](),this[_0x44290e(0x32e)][_0x44290e(0x2ed)](new Map()),this[_0x44290e(0x32e)][_0x44290e(0x1cb)](),this[_0x44290e(0x1f2)][_0x44290e(0x2ed)]([]),this[_0x44290e(0x1f2)]['complete']();}['init'](){const _0x3919ab=_0x356272;this[_0x3919ab(0x2e0)]||(this[_0x3919ab(0x2e0)]=!0x0,this[_0x3919ab(0x12d)][_0x3919ab(0x1ae)][_0x3919ab(0x328)](_0x2289a4[_0x3919ab(0x39e)](this[_0x3919ab(0x121)]))[_0x3919ab(0x399)](_0x5d0d7b=>{const _0x5643d6=_0x3919ab;_0x5d0d7b===_0x977231[_0x5643d6(0x2d9)][_0x5643d6(0x359)]?this[_0x5643d6(0x33b)]():this[_0x5643d6(0x140)]();}),this[_0x3919ab(0x12d)]['event$'][_0x3919ab(0x328)](_0x2289a4[_0x3919ab(0x39e)](this[_0x3919ab(0x121)]))[_0x3919ab(0x399)](_0x30398d=>{const _0x7a2c85=_0x3919ab,_0x456d57=_0x30398d[_0x7a2c85(0x16f)];_0x456d57===_0x3d0ca4[_0x7a2c85(0x17f)][_0x7a2c85(0x1a1)]&&this[_0x7a2c85(0x2fa)](_0x30398d),_0x456d57===_0x3d0ca4[_0x7a2c85(0x17f)][_0x7a2c85(0x242)]&&this['_onCursorDelete'](_0x30398d);}),this[_0x3919ab(0x40e)](),this[_0x3919ab(0x3b6)](this[_0x3919ab(0x389)][_0x3919ab(0x3e3)](_0x2ed018=>{const _0x20cd1f=_0x3919ab;if(this[_0x20cd1f(0x194)]&&_0x2ed018['id']===_0x3e80c8['SetSelectionsOperation']['id']&&_0x2ed018[_0x20cd1f(0x3df)][_0x20cd1f(0x3cd)]===this[_0x20cd1f(0x138)]){const _0x5780ad=_0x2ed018[_0x20cd1f(0x3df)];this[_0x20cd1f(0x34b)](_0x5780ad[_0x20cd1f(0x142)],_0x5780ad['selections'][0x0]);}})));}[_0x356272(0x2fa)](_0x3f2b87){const _0x3afe96=_0x356272;var _0x244f4a,_0x4a6a79;const {memberID:_0x43fa5e,selection:_0x5e2c61}=_0x3f2b87[_0x3afe96(0x386)],{sheetName:_0x537627,range:_0x3e0e69}=_0x4c281d[_0x3afe96(0x143)](_0x5e2c61),_0x4cc872={'name':(_0x4a6a79=(_0x244f4a=this[_0x3afe96(0x219)][_0x3afe96(0x186)](this[_0x3afe96(0x138)],_0x43fa5e))==null?void 0x0:_0x244f4a[_0x3afe96(0x27f)])!=null?_0x4a6a79:_0x3afe96(0x130),'range':this['_getMergeRange'](_0x537627,_0x3e0e69),'sheetID':_0x537627,'color':this[_0x3afe96(0x35c)]['assignAColorForMemberID'](_0x43fa5e),'selection':_0x5e2c61},_0x36c638=this[_0x3afe96(0x21d)];_0x36c638[_0x3afe96(0x199)](_0x43fa5e,_0x4cc872),this['_cursorInfo$'][_0x3afe96(0x2ed)](_0x36c638);}[_0x356272(0x1dd)](_0x3e977d){const _0x5eb813=_0x356272,{memberID:_0xe9bfe8}=_0x3e977d['data'],_0x4be402=this[_0x5eb813(0x21d)];_0x4be402['delete'](_0xe9bfe8),this[_0x5eb813(0x32e)][_0x5eb813(0x2ed)](_0x4be402);}[_0x356272(0x3d6)](_0x1dcc01,_0x3de36d){const _0x59e674=_0x356272;var _0x5688ce,_0x5cb49b;const _0x37c99b=(_0x5cb49b=(_0x5688ce=this[_0x59e674(0x28f)]['getUniverSheetInstance'](this[_0x59e674(0x138)]))==null?void 0x0:_0x5688ce['getSheetBySheetId'](_0x1dcc01))==null?void 0x0:_0x5cb49b['getMergeData']();return(_0x37c99b==null?void 0x0:_0x37c99b[_0x59e674(0x3b0)](_0x322ffe=>_0x3a6e21[_0x59e674(0x1c6)][_0x59e674(0x175)](_0x322ffe,_0x3de36d)))||_0x3de36d;}[_0x356272(0x40e)](){const _0x7bb633=_0x356272,_0x419f25=new _0x3a6e21[(_0x7bb633(0x3cc))](),_0x2dde70=_0x134095(),_0x1c89e6=()=>{const _0xf2c818=_0x7bb633;_0x419f25[_0xf2c818(0x1a0)]();const _0x437671=(_0x3d587d,_0x44353b,_0x1a99ab,_0x39a095)=>{const _0x9b76a6=_0xf2c818;let _0x2e101=[];switch(_0x3d587d['id']){case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x2a5)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1c4)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x3d3)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x405)](_0x3d587d,_0x39a095);break;}case _0x3e80c8['EffectRefRangId'][_0x9b76a6(0x39a)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x2db)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x33a)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1ef)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x334)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1e0)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x223)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1bf)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)]['MoveRangeCommandId']:{_0x2e101=_0x3e80c8[_0x9b76a6(0x3b5)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x2ad)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x155)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x1f5)]:{_0x2e101=_0x3e80c8['handleIRemoveRow'](_0x3d587d,_0x39a095);break;}}const _0x565ccc=_0x3e80c8[_0x9b76a6(0x38f)](_0x2e101,_0x39a095),_0x2717f0=this[_0x9b76a6(0x21d)][_0x9b76a6(0x201)](_0x44353b);if(_0x2717f0&&_0x565ccc){const _0x43fea5={..._0x2717f0,'range':_0x565ccc};this[_0x9b76a6(0x21d)][_0x9b76a6(0x199)](_0x44353b,_0x43fea5),_0x2dde70(()=>{const _0x13c581=_0x9b76a6,_0x1965fe=this['_refRangeService'][_0x13c581(0x3bf)](_0x565ccc,_0x1d4d73=>(_0x1965fe[_0x13c581(0x1a0)](),_0x437671(_0x1d4d73,_0x44353b,_0x1a99ab,_0x565ccc)));_0x419f25[_0x13c581(0x1d0)](_0x1965fe);});}return{'redos':[],'undos':[]};};this[_0xf2c818(0x21d)][_0xf2c818(0x280)]((_0x22a828,_0x1e8009)=>{const _0x24ae52=_0xf2c818,{range:_0x236ff9,sheetID:_0x2d4729}=_0x22a828,_0x20367a=this['_refRangeService'][_0x24ae52(0x3bf)](_0x236ff9,_0x40689e=>(_0x20367a['dispose'](),_0x437671(_0x40689e,_0x1e8009,_0x2d4729,_0x236ff9)));_0x419f25['add'](_0x20367a);});};this[_0x7bb633(0x3b6)](_0x3a6e21[_0x7bb633(0x3eb)](this[_0x7bb633(0x32e)]['subscribe'](()=>{_0x1c89e6();})));}[_0x356272(0x33b)](){const _0x51b30f=_0x356272;var _0x46db2c,_0x189203;if(this[_0x51b30f(0x194)]=!0x0,((_0x46db2c=this[_0x51b30f(0x28f)][_0x51b30f(0x3ce)]())==null?void 0x0:_0x46db2c[_0x51b30f(0x239)]())!==this['unitID'])return;const _0x4d2aa2=(_0x189203=this[_0x51b30f(0x228)][_0x51b30f(0x201)](_0x3e80c8['SheetsSelectionsService'])[_0x51b30f(0x25c)]())==null?void 0x0:_0x189203[0x0],_0x3b4526=this[_0x51b30f(0x28f)]['getCurrentUnitForType'](_0x3a6e21[_0x51b30f(0x2d4)][_0x51b30f(0x19b)])[_0x51b30f(0x2ff)]();_0x4d2aa2&&_0x3b4526&&this[_0x51b30f(0x34b)](_0x3b4526['getSheetId'](),_0x4d2aa2);}[_0x356272(0x140)](){const _0x264ad2=_0x356272;this[_0x264ad2(0x194)]=!0x1;}};_0x5a9ef7=_0x322397([_0x415fdb(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x415fdb(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3832ab)),_0x415fdb(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x37b)])),_0x415fdb(0x5,_0x3a6e21[_0x356272(0x354)]),_0x415fdb(0x6,_0x3a6e21['ICommandService']),_0x415fdb(0x7,_0x3a6e21[_0x356272(0x1a5)](_0x3e80c8['RefRangeService']))],_0x5a9ef7);var _0x47eb8e=Object[_0x356272(0x2dc)],_0x1e7820=(_0x37fb88,_0x19163c,_0x90783c,_0x48cafe)=>{for(var _0x4f02a4=_0x48cafe>0x1?void 0x0:_0x48cafe?_0x47eb8e(_0x19163c,_0x90783c):_0x19163c,_0x1aa9e6=_0x37fb88['length']-0x1,_0x122377;_0x1aa9e6>=0x0;_0x1aa9e6--)(_0x122377=_0x37fb88[_0x1aa9e6])&&(_0x4f02a4=_0x122377(_0x4f02a4)||_0x4f02a4);return _0x4f02a4;},_0x5b9b90=(_0x52308a,_0x57521f)=>(_0x32c36a,_0x31e0c9)=>_0x57521f(_0x32c36a,_0x31e0c9,_0x52308a);let _0x277f63=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x1f481c,_0x3633e2,_0x4d0468){const _0x11a8c7=_0x356272;super(),_0x49e47d(this,'_entities',new Map()),_0x49e47d(this,'_entityInit$',new _0x2289a4['Subject']()),(this[_0x11a8c7(0x28f)]=_0x1f481c,this[_0x11a8c7(0x228)]=_0x3633e2,this[_0x11a8c7(0x24d)]=_0x4d0468,this[_0x11a8c7(0x2e0)]());}[_0x356272(0x1a0)](){const _0x3bb8ee=_0x356272;super[_0x3bb8ee(0x1a0)](),this['_entityInit$'][_0x3bb8ee(0x1cb)](),this[_0x3bb8ee(0x20c)][_0x3bb8ee(0x280)](_0x184fe5=>_0x184fe5[_0x3bb8ee(0x1a0)]());}[_0x356272(0x202)](_0x4126bb){const _0x356aad=_0x356272;return this['_entities'][_0x356aad(0x217)](_0x4126bb)?this[_0x356aad(0x20c)][_0x356aad(0x201)](_0x4126bb)['cursorInfo$']:this[_0x356aad(0x237)][_0x356aad(0x328)](_0x2289a4[_0x356aad(0x24e)](_0x426498=>_0x426498['unitID']===_0x4126bb),_0x2289a4[_0x356aad(0x267)](_0x202355=>_0x202355[_0x356aad(0x29b)]));}[_0x356272(0x2e0)](){const _0x1628b0=_0x356272;this[_0x1628b0(0x28f)][_0x1628b0(0x408)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x19b)])['pipe'](_0x2289a4[_0x1628b0(0x39e)](this[_0x1628b0(0x121)]))[_0x1628b0(0x399)](async _0x301252=>{const _0x398278=_0x1628b0,_0x185fd5=_0x301252[_0x398278(0x239)](),_0x2ac7d5=await this[_0x398278(0x297)](_0x185fd5);this[_0x398278(0x237)][_0x398278(0x2ed)](_0x2ac7d5),this[_0x398278(0x20c)][_0x398278(0x199)](_0x185fd5,_0x2ac7d5);}),this[_0x1628b0(0x28f)][_0x1628b0(0x408)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x2fb)])[_0x1628b0(0x328)](_0x2289a4[_0x1628b0(0x39e)](this[_0x1628b0(0x121)]))['pipe'](_0x2289a4[_0x1628b0(0x24e)](_0x27605e=>!_0x27605e['getUnitId']()[_0x1628b0(0x1b9)]('__')))[_0x1628b0(0x399)](async _0x5740cc=>{const _0x141221=_0x1628b0,_0x4a404f=_0x5740cc[_0x141221(0x239)](),_0x220ae2=await this[_0x141221(0x27d)](_0x4a404f);this['_entityInit$'][_0x141221(0x2ed)](_0x220ae2),this[_0x141221(0x20c)][_0x141221(0x199)](_0x4a404f,_0x220ae2);}),_0x2289a4[_0x1628b0(0x3a3)](this[_0x1628b0(0x28f)][_0x1628b0(0x15f)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x2fb)]),this[_0x1628b0(0x28f)][_0x1628b0(0x15f)](_0x3a6e21[_0x1628b0(0x2d4)]['UNIVER_SHEET']))['pipe'](_0x2289a4[_0x1628b0(0x39e)](this['dispose$']))[_0x1628b0(0x399)](_0x1b9888=>{const _0x49797d=_0x1628b0,_0x207483=_0x1b9888[_0x49797d(0x239)](),_0x2d7584=this[_0x49797d(0x20c)][_0x49797d(0x201)](_0x207483);_0x2d7584&&(_0x2d7584['dispose'](),this[_0x49797d(0x20c)][_0x49797d(0x1f1)](_0x207483));});}async[_0x356272(0x297)](_0xb183e4){const _0x5b934c=_0x356272,_0x1c2d4e=await this[_0x5b934c(0x24d)][_0x5b934c(0x185)](_0xb183e4),_0x3e9db3=this['_injector'][_0x5b934c(0x3a0)](_0x5a9ef7,_0xb183e4,_0x1c2d4e);return _0x3e9db3[_0x5b934c(0x3b1)](),_0x3e9db3;}async['_startDocCollabCursor'](_0x2b23d7){const _0x5c56eb=_0x356272,_0x7f5d63=await this[_0x5c56eb(0x24d)][_0x5c56eb(0x185)](_0x2b23d7),_0x1f24c0=this[_0x5c56eb(0x228)][_0x5c56eb(0x3a0)](_0x2b1bf4,_0x2b23d7,_0x7f5d63);return _0x1f24c0[_0x5c56eb(0x3b1)](),_0x1f24c0;}};_0x277f63=_0x1e7820([_0x5b9b90(0x0,_0x3a6e21['IUniverInstanceService']),_0x5b9b90(0x1,_0x3a6e21['Inject'](_0x3a6e21['Injector'])),_0x5b9b90(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x977231['CollaborationSessionService']))],_0x277f63);const _0x1681a8=0x14,_0x16a29d=0xc8,_0x4ab967=0x4,_0x119a04=0x5;function _0x737b6a(_0x2b4519,_0x3abca9){const _0x15a472=_0x356272;let {radius:_0x9d7aa5,width:_0x146ad0,height:_0x5ca9aa}=_0x3abca9;_0x9d7aa5=_0x9d7aa5!=null?_0x9d7aa5:0x0,_0x146ad0=_0x146ad0!=null?_0x146ad0:0x1e,_0x5ca9aa=_0x5ca9aa!=null?_0x5ca9aa:0x1e;let _0x218f4a=0x0,_0x7f3ad9=0x0,_0x4a540e=0x0;_0x218f4a=_0x7f3ad9=_0x4a540e=Math[_0x15a472(0x3bc)](_0x9d7aa5,_0x146ad0/0x2,_0x5ca9aa/0x2),_0x2b4519[_0x15a472(0x347)](),_0x2b4519[_0x15a472(0x348)](_0x218f4a,0x0),_0x2b4519[_0x15a472(0x3fc)](_0x146ad0-_0x7f3ad9,0x0),_0x2b4519[_0x15a472(0x190)](_0x146ad0-_0x7f3ad9,_0x7f3ad9,_0x7f3ad9,Math['PI']*0x3/0x2,0x0,!0x1),_0x2b4519[_0x15a472(0x3fc)](_0x146ad0,_0x5ca9aa-_0x4a540e),_0x2b4519[_0x15a472(0x190)](_0x146ad0-_0x4a540e,_0x5ca9aa-_0x4a540e,_0x4a540e,0x0,Math['PI']/0x2,!0x1),_0x2b4519[_0x15a472(0x3fc)](0x0,_0x5ca9aa),_0x2b4519[_0x15a472(0x3fc)](0x0,_0x218f4a),_0x2b4519[_0x15a472(0x190)](_0x218f4a,_0x218f4a,_0x218f4a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2b4519[_0x15a472(0x21e)](),_0x3abca9[_0x15a472(0x174)]&&(_0x2b4519['save'](),_0x2b4519[_0x15a472(0x3ee)]=_0x3abca9[_0x15a472(0x174)],_0x3abca9[_0x15a472(0x391)]===_0x15a472(0x3f1)?_0x2b4519[_0x15a472(0x174)]('evenodd'):_0x2b4519['fill'](),_0x2b4519['restore']());}class _0xfa8ae1 extends _0x946f81[_0x356272(0x3ad)]{constructor(_0x553094,_0x40ef81){const _0x3d4307=_0x356272;super(_0x553094,_0x40ef81),_0x49e47d(this,_0x3d4307(0x18c)),_0x49e47d(this,_0x3d4307(0x18e)),(this[_0x3d4307(0x18c)]=_0x40ef81==null?void 0x0:_0x40ef81['color'],this[_0x3d4307(0x18e)]=_0x40ef81==null?void 0x0:_0x40ef81['text']);}static['drawWith'](_0x5b705d,_0x3fad7c){const _0x175d3f=_0x356272,{text:_0x51336d,color:_0x28d4e0}=_0x3fad7c;_0x5b705d[_0x175d3f(0x159)](),_0x5b705d['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2ce6cf=_0x5b705d[_0x175d3f(0x33c)](_0x51336d)[_0x175d3f(0x350)],_0x340c9d=Math[_0x175d3f(0x3bc)](_0x2ce6cf+0x2*_0x4ab967,_0x16a29d);_0x737b6a(_0x5b705d,{'height':_0x1681a8,'radius':0x4,'width':_0x340c9d,'fill':_0x28d4e0}),_0x5b705d[_0x175d3f(0x3ee)]=_0x175d3f(0x158);const _0x2c4f30=_0x4ab967,_0x288504=_0x1681a8-_0x119a04,_0xb9b18a=_0x16a29d-0x2*_0x4ab967;if(_0x2ce6cf>_0xb9b18a){let _0x7e2a06='',_0x5b510d=0x0;for(const _0xa26ca6 of _0x51336d){const _0x1fc5d4=_0x5b705d[_0x175d3f(0x33c)](_0xa26ca6)[_0x175d3f(0x350)];if(_0x5b510d+_0x1fc5d4<=_0xb9b18a-_0x5b705d['measureText']('...')['width'])_0x7e2a06+=_0xa26ca6,_0x5b510d+=_0x1fc5d4;else{_0x7e2a06+=_0x175d3f(0x331);break;}}_0x5b705d[_0x175d3f(0x303)](_0x7e2a06,_0x2c4f30,_0x288504);}else _0x5b705d[_0x175d3f(0x303)](_0x51336d,_0x2c4f30,_0x288504);_0x5b705d[_0x175d3f(0x124)]();}[_0x356272(0x30f)](_0x185764){const _0x123eb6=_0x356272;_0xfa8ae1[_0x123eb6(0x36f)](_0x185764,this);}}const _0x899cf3=_0x356272(0x24c),_0x92e02e=_0x356272(0x14d),_0x2e5b29=_0x356272(0x28e),_0x22c1b7=0x6,_0x571fb0=1.5,_0x4a470b=0x4,_0xc4a4db=1.5,_0x3a6d00=_0x356272(0x3e4);class _0x479885{constructor(_0x50f21d,_0x4d7c60,_0x13b7b9,_0x33f68a){const _0x4be79b=_0x356272;_0x49e47d(this,_0x4be79b(0x2cc),[]),_0x49e47d(this,_0x4be79b(0x31d),null),_0x49e47d(this,_0x4be79b(0x2be),null),_0x49e47d(this,'_anchorDot',null),_0x49e47d(this,_0x4be79b(0x195),null),_0x49e47d(this,'_eventUnsubscribe',null),(this[_0x4be79b(0x307)]=_0x50f21d,this[_0x4be79b(0x356)]=_0x4d7c60,this[_0x4be79b(0x1a6)]=_0x13b7b9,this[_0x4be79b(0x298)]=_0x33f68a,this[_0x4be79b(0x2c6)]());}set['_hover'](_0x258acd){const _0x3c1187=_0x356272;_0x258acd?(this['_anchorDot']&&this[_0x3c1187(0x40b)]['hide'](),this['_textBubble']&&this[_0x3c1187(0x2be)]['show']()):(this[_0x3c1187(0x40b)]&&this[_0x3c1187(0x40b)][_0x3c1187(0x15c)](),this[_0x3c1187(0x2be)]&&this[_0x3c1187(0x2be)]['hide']());}[_0x356272(0x1a0)](){const _0x1d5523=_0x356272;for(const _0x17dd52 of this[_0x1d5523(0x2cc)])_0x17dd52['dispose']();this['_textBubble']&&this['_textBubble'][_0x1d5523(0x1a0)](),this[_0x1d5523(0x40b)]&&this[_0x1d5523(0x40b)][_0x1d5523(0x1a0)](),this['_anchor']&&this[_0x1d5523(0x31d)][_0x1d5523(0x1a0)](),this[_0x1d5523(0x13e)]&&this[_0x1d5523(0x13e)]();}['_render'](){const _0x3f1d35=_0x356272;var _0x3e379b;const {_docSkeleton:_0xa1b88f,_document:_0x33c148}=this,{color:_0x300bde,name:_0x34cdcf,ranges:_0x4e7caa}=this[_0x3f1d35(0x307)],_0x41b44e=_0x33c148[_0x3f1d35(0x30d)](),{docsLeft:_0xb9f005,docsTop:_0x1360fd}=_0x41b44e,_0x1d93c7=new _0x84c7b3[(_0x3f1d35(0x2f5))](_0x41b44e,_0xa1b88f);for(const {startOffset:_0x48afb9,endOffset:_0x293975,rangeType:_0x17b30b,segmentId:_0x428a6e,segmentPage:_0x2116cb,collapsed:_0x48c7ae,isActive:_0x4bdb77}of _0x4e7caa){const _0x19dc2b=_0xa1b88f[_0x3f1d35(0x163)](_0x48afb9,!0x0,_0x428a6e,_0x2116cb);let _0x498e7e=_0xa1b88f[_0x3f1d35(0x163)](_0x293975,!0x0,_0x428a6e,_0x2116cb);if(_0x498e7e==null&&(_0x498e7e=_0xa1b88f[_0x3f1d35(0x163)](_0x293975-0x1,!0x1,_0x428a6e,_0x2116cb)),_0x4bdb77){const {contentBoxPointGroup:_0x542ae4}=_0x1d93c7['getRangePointData'](_0x498e7e,_0x498e7e);if(_0x542ae4[_0x3f1d35(0x3fa)]===0x0)continue;this[_0x3f1d35(0x3c9)](_0x300bde,_0x542ae4,_0xb9f005,_0x1360fd,_0x34cdcf),this[_0x3f1d35(0x13e)]=this[_0x3f1d35(0x1e2)]();}if(_0x19dc2b&&_0x498e7e){if(_0x17b30b===_0x3a6e21[_0x3f1d35(0x244)][_0x3f1d35(0x215)]){const _0x3ddbd6=new _0x84c7b3[(_0x3f1d35(0x162))](_0x41b44e,_0xa1b88f),{pointGroup:_0x2ea0c0}=(_0x3e379b=_0x3ddbd6[_0x3f1d35(0x225)](_0x19dc2b,_0x498e7e))!=null?_0x3e379b:{};if(_0x2ea0c0==null||_0x2ea0c0[_0x3f1d35(0x3fa)]===0x0)continue;this[_0x3f1d35(0x2c2)](_0x300bde,_0x2ea0c0,_0xb9f005,_0x1360fd);}else{if(!_0x48c7ae){const {borderBoxPointGroup:_0x1e99ad}=_0x1d93c7[_0x3f1d35(0x225)](_0x19dc2b,_0x498e7e);if(_0x1e99ad['length']===0x0)continue;this[_0x3f1d35(0x165)](_0x300bde,_0x1e99ad,_0xb9f005,_0x1360fd);}}}}}[_0x356272(0x3c9)](_0x439119,_0x4d8417,_0x31f7a4,_0x19f46d,_0x2be4f1){const _0x14c021=_0x356272,_0x3971a6=this[_0x14c021(0x305)](_0x4d8417),{left:_0x54eb63,top:_0x5680fe,height:_0x3984f7}=_0x3971a6,_0x119632=this['_getScale'](),_0x3647a4=_0xc4a4db/_0x119632,_0x19ae97=new _0x946f81['Rect'](_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d,'height':_0x3984f7,'width':_0x571fb0,'fill':_0x439119||_0x946f81[_0x14c021(0x39f)](_0x3a6e21['COLORS'][_0x14c021(0x38b)],0x0),'strokeWidth':_0x3647a4,'stroke':_0x3a6d00,'evented':!0x0});this['_anchor']=_0x19ae97,this[_0x14c021(0x356)][_0x14c021(0x40d)](_0x19ae97,_0x84c7b3[_0x14c021(0x316)]);const _0x57fb86=new _0x946f81[(_0x14c021(0x37a))](_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d-_0x4a470b/0x2,'height':_0x4a470b,'width':_0x4a470b,'fill':_0x439119||_0x946f81['getColor'](_0x3a6e21[_0x14c021(0x250)][_0x14c021(0x38b)],0x0),'strokeWidth':0x0,'stroke':_0x439119||_0x946f81[_0x14c021(0x39f)](_0x3a6e21[_0x14c021(0x250)][_0x14c021(0x38b)],0x0),'evented':!0x1});this[_0x14c021(0x40b)]=_0x57fb86,this[_0x14c021(0x356)]['addObject'](_0x57fb86,_0x84c7b3[_0x14c021(0x316)]);const _0x219661=new _0xfa8ae1(_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d-_0x1681a8,'text':_0x2be4f1,'color':_0x439119});this[_0x14c021(0x2be)]=_0x219661,this['_scene']['addObject'](_0x219661,_0x84c7b3[_0x14c021(0x316)]),this[_0x14c021(0x16d)]=!0x1;}[_0x356272(0x1e2)](){const _0x48c7e6=_0x356272,_0x33882b=this[_0x48c7e6(0x31d)][_0x48c7e6(0x1ec)]['subscribeEvent'](()=>{const _0x2d3f20=_0x48c7e6;this[_0x2d3f20(0x16d)]=!0x0;}),_0x8047e=this[_0x48c7e6(0x31d)][_0x48c7e6(0x177)]['subscribeEvent'](()=>{const _0x1340c0=_0x48c7e6;this[_0x1340c0(0x195)]&&clearTimeout(this[_0x1340c0(0x195)]),this['_hideTimer']=setTimeout(()=>{const _0x21f01a=_0x1340c0;this[_0x21f01a(0x16d)]=!0x1;},0x7d0);});return()=>{const _0x5795c7=_0x48c7e6;_0x33882b[_0x5795c7(0x172)](),_0x8047e[_0x5795c7(0x172)]();};}[_0x356272(0x165)](_0x2990a3,_0x45fd00,_0x4f778c,_0x2b3ea5){const _0x2eeb1f=_0x356272,_0x5c0772=new _0x3a6e21[(_0x2eeb1f(0x1bd))](_0x2990a3)['setAlpha'](0.2)[_0x2eeb1f(0x1ed)](),_0x2d6ba1=new _0x946f81[(_0x2eeb1f(0x13f))](_0x92e02e+_0x3a6e21['generateRandomId'](_0x22c1b7),{'pointsGroup':_0x45fd00,'fill':_0x5c0772||_0x946f81[_0x2eeb1f(0x39f)](_0x3a6e21[_0x2eeb1f(0x250)][_0x2eeb1f(0x38b)],0.2),'left':_0x4f778c,'top':_0x2b3ea5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2eeb1f(0x2cc)]['push'](_0x2d6ba1),this[_0x2eeb1f(0x356)]['addObject'](_0x2d6ba1,_0x84c7b3[_0x2eeb1f(0x316)]);}[_0x356272(0x2c2)](_0x3a065f,_0x16d494,_0x546a18,_0x545f48){const _0x3c7727=_0x356272,_0x50e0ff=new _0x3a6e21['ColorKit'](_0x3a065f)[_0x3c7727(0x3a2)](0.2)['toRgbString'](),_0x2391cf=new _0x946f81[(_0x3c7727(0x13f))](_0x2e5b29+_0x3a6e21[_0x3c7727(0x3de)](_0x22c1b7),{'pointsGroup':_0x16d494,'fill':_0x50e0ff||_0x946f81[_0x3c7727(0x39f)](_0x3a6e21['COLORS'][_0x3c7727(0x38b)],0.2),'left':_0x546a18,'top':_0x545f48,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7727(0x2cc)]['push'](_0x2391cf),this['_scene']['addObject'](_0x2391cf,_0x84c7b3['TEXT_RANGE_LAYER_INDEX']);}[_0x356272(0x305)](_0x2f070d){const _0x37df86=_0x2f070d[0x0],_0xa02a9a=_0x37df86[0x0],_0x5b46cc=_0x37df86[0x2],{x:_0x15f620,y:_0x34e01b}=_0xa02a9a,{x:_0x232014,y:_0x503739}=_0x5b46cc;return{'left':_0x15f620,'top':_0x34e01b,'width':_0x232014-_0x15f620,'height':_0x503739-_0x34e01b};}[_0x356272(0x3ac)](){const _0x421819=_0x356272,{scaleX:_0x310196,scaleY:_0x5c17ce}=this['_scene'][_0x421819(0x2af)]();return Math[_0x421819(0x197)](_0x310196,_0x5c17ce);}}var _0x4c321e=Object[_0x356272(0x2dc)],_0x57ee18=(_0x29b3e6,_0x16c6cf,_0x5e05da,_0x556d03)=>{for(var _0x52ab5d=_0x556d03>0x1?void 0x0:_0x556d03?_0x4c321e(_0x16c6cf,_0x5e05da):_0x16c6cf,_0x3aad20=_0x29b3e6['length']-0x1,_0x2e29d0;_0x3aad20>=0x0;_0x3aad20--)(_0x2e29d0=_0x29b3e6[_0x3aad20])&&(_0x52ab5d=_0x2e29d0(_0x52ab5d)||_0x52ab5d);return _0x52ab5d;},_0x580698=(_0x1bc4e3,_0x270148)=>(_0xa68433,_0x34dae8)=>_0x270148(_0xa68433,_0x34dae8,_0x1bc4e3);let _0x3aff72=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x3fd336,_0x3e0db7,_0x2612b3,_0x1a3f91,_0x121527){const _0x223f4f=_0x356272;super(),_0x49e47d(this,_0x223f4f(0x1e7),[]),_0x49e47d(this,_0x223f4f(0x1b8),[]),(this[_0x223f4f(0x11b)]=_0x3fd336,this[_0x223f4f(0x16e)]=_0x3e0db7,this[_0x223f4f(0x200)]=_0x2612b3,this[_0x223f4f(0x389)]=_0x1a3f91,this['_themeService']=_0x121527,this[_0x223f4f(0x2e0)]());}[_0x356272(0x2e0)](){const _0x1c806b=_0x356272,_0xefcf4c=this[_0x1c806b(0x11b)]['unitId'],_0x2067c6=this['_docSkeletonManagerService'];this[_0x1c806b(0x3b6)](_0x2289a4[_0x1c806b(0x1af)]([this[_0x1c806b(0x200)][_0x1c806b(0x202)](_0xefcf4c),this[_0x1c806b(0x314)][_0x1c806b(0x29e)]])['pipe'](_0xe1d652[_0x1c806b(0x27c)](([_0x519cb1,_0x3f0855])=>({'skeleton':_0x2067c6[_0x1c806b(0x227)](),'cursors':[..._0x519cb1[_0x1c806b(0x346)]()][_0x1c806b(0x15e)](_0x2afc54=>({..._0x2afc54,'color':this['_themeService'][_0x1c806b(0x28d)](_0x2afc54[_0x1c806b(0x18c)])}))})))[_0x1c806b(0x399)](_0x2b8469=>{const _0xb278a2=_0x1c806b;if(this[_0xb278a2(0x22e)](),_0x2b8469){const {skeleton:_0x90782a,cursors:_0x5b5440}=_0x2b8469;this[_0xb278a2(0x2e4)](_0x90782a,_0x5b5440);}})),this[_0x1c806b(0x396)](),this[_0x1c806b(0x34f)]();}['_updateCollabCursors'](_0x112283,_0x4d64d2){const _0xab95d4=_0x356272,{scene:_0xecc822,mainComponent:_0x59f5f1}=this['_context'],_0x456f47=_0x4d64d2[_0xab95d4(0x27c)](_0x58ea85=>new _0x479885(_0x58ea85,_0xecc822,_0x112283,_0x59f5f1));this[_0xab95d4(0x1e7)]=_0x456f47,this['_cursors']=_0x4d64d2;}[_0x356272(0x361)](){const _0x321da1=_0x356272;this[_0x321da1(0x22e)]();const {scene:_0x41a757,mainComponent:_0x11a228}=this[_0x321da1(0x11b)],_0x47379c=this[_0x321da1(0x16e)]['getSkeleton'](),_0x3ad5dc=this[_0x321da1(0x1b8)][_0x321da1(0x27c)](_0x2bdb9a=>new _0x479885(_0x2bdb9a,_0x41a757,_0x47379c,_0x11a228));this[_0x321da1(0x1e7)]=_0x3ad5dc;}[_0x356272(0x22e)](){const _0x4a3dc7=_0x356272;this[_0x4a3dc7(0x1e7)][_0x4a3dc7(0x280)](_0x312dec=>_0x312dec[_0x4a3dc7(0x1a0)]()),this[_0x4a3dc7(0x1e7)]=[];}[_0x356272(0x34f)](){const _0x1fa527=_0x356272,_0x134da2=[_0x84c7b3[_0x1fa527(0x39b)]['id']];this['disposeWithMe'](this[_0x1fa527(0x389)][_0x1fa527(0x3e3)](_0x5e4fe3=>{const _0x18260b=_0x1fa527;_0x134da2[_0x18260b(0x1c5)](_0x5e4fe3['id'])&&_0x5e4fe3['params']['unitId']===this[_0x18260b(0x11b)][_0x18260b(0x3cd)]&&this[_0x18260b(0x361)]();}));}['_initResize'](){const _0x29cdbc=_0x356272;this[_0x29cdbc(0x3b6)](_0x3a6e21[_0x29cdbc(0x25d)](this[_0x29cdbc(0x11b)]['engine'][_0x29cdbc(0x1ac)])[_0x29cdbc(0x328)](_0xe1d652[_0x29cdbc(0x24e)](_0x335b34=>_0x335b34['type']===_0x946f81['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x29cdbc(0x3c5)]),_0xe1d652[_0x29cdbc(0x31f)](0x10))[_0x29cdbc(0x399)](()=>{const _0x553a6f=_0x29cdbc;this[_0x553a6f(0x361)]();}));}};_0x3aff72=_0x57ee18([_0x580698(0x1,_0x3a6e21['Inject'](_0x2d1e6c['DocSkeletonManagerService'])),_0x580698(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x277f63)),_0x580698(0x3,_0x3a6e21[_0x356272(0x220)]),_0x580698(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x306)]))],_0x3aff72);const _0x51f80b=0x1,_0x51afe8=1.5;class _0x4266cc extends _0x946f81[_0x356272(0x3ad)]{constructor(_0x50b86f,_0x95b461){const _0x131744=_0x356272;super(_0x50b86f,_0x95b461),_0x49e47d(this,_0x131744(0x26e)),_0x49e47d(this,_0x131744(0x2de),!0x1),_0x49e47d(this,_0x131744(0x23f)),_0x49e47d(this,_0x131744(0x3a4),''),_0x49e47d(this,_0x131744(0x262),_0x131744(0x378)),_0x49e47d(this,_0x131744(0x3a1)),(_0x95b461&&this[_0x131744(0x154)](_0x95b461),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x131744(0x154)]({'hovered':!0x0})),this['onPointerLeave$'][_0x131744(0x292)](()=>this[_0x131744(0x154)]({'hovered':!0x1})));}[_0x356272(0x154)](_0x369e8f){const _0x24e952=_0x356272;var _0x44e296,_0x204e64,_0xda0dfe,_0x5a0266,_0x2049ae,_0x238e4f;this[_0x24e952(0x26e)]=(_0x44e296=_0x369e8f['color'])!=null?_0x44e296:this[_0x24e952(0x26e)],this[_0x24e952(0x2de)]=(_0x204e64=_0x369e8f['hovered'])!=null?_0x204e64:this[_0x24e952(0x2de)],this[_0x24e952(0x23f)]=(_0xda0dfe=_0x369e8f['range'])!=null?_0xda0dfe:this[_0x24e952(0x23f)],this[_0x24e952(0x3a4)]=(_0x5a0266=_0x369e8f[_0x24e952(0x27f)])!=null?_0x5a0266:this[_0x24e952(0x3a4)],this[_0x24e952(0x262)]=(_0x2049ae=_0x369e8f[_0x24e952(0x376)])!=null?_0x2049ae:this[_0x24e952(0x262)],this[_0x24e952(0x3a1)]=(_0x238e4f=_0x369e8f[_0x24e952(0x2fc)])!=null?_0x238e4f:this['_backgroundColor'],this[_0x24e952(0x2c0)]({'width':_0x369e8f[_0x24e952(0x350)],'height':_0x369e8f[_0x24e952(0x18f)]});}[_0x356272(0x157)](_0x5aaa31){const _0x54072d=_0x356272,{row:_0x574fb3,column:_0x3b9676}=_0x5aaa31;if(_0x574fb3>=this[_0x54072d(0x23f)]['startRow']&&_0x574fb3<=this['_range'][_0x54072d(0x17d)]&&_0x3b9676>=this['_range'][_0x54072d(0x117)]&&_0x3b9676<=this[_0x54072d(0x23f)]['endColumn']){this[_0x54072d(0x154)]({'hovered':!0x0});return;}this[_0x54072d(0x154)]({'hovered':!0x1});}[_0x356272(0x2c8)](_0x2e7863){return!0x1;}['_draw'](_0x386c31){const _0x5cde9a=_0x356272;_0x946f81[_0x5cde9a(0x37a)][_0x5cde9a(0x36f)](_0x386c31,{'width':this['width'],'height':this[_0x5cde9a(0x18f)],'strokeWidth':_0x51afe8,'stroke':this[_0x5cde9a(0x26e)],'evented':!0x1,'fill':this[_0x5cde9a(0x3a1)]}),this['_hovered']&&(_0x386c31[_0x5cde9a(0x159)](),_0x386c31['transform'](0x1,0x0,0x0,0x1,this[_0x5cde9a(0x350)],this[_0x5cde9a(0x262)]===_0x5cde9a(0x355)?0x0:-_0x1681a8),_0xfa8ae1[_0x5cde9a(0x36f)](_0x386c31,{'text':this[_0x5cde9a(0x3a4)],'color':this[_0x5cde9a(0x26e)]}),_0x386c31[_0x5cde9a(0x124)]());}}var _0x53a2f6=Object['getOwnPropertyDescriptor'],_0x31a062=(_0x22a298,_0x315cd2,_0x98d3a1,_0x5d371a)=>{const _0x1090c9=_0x356272;for(var _0x5a709a=_0x5d371a>0x1?void 0x0:_0x5d371a?_0x53a2f6(_0x315cd2,_0x98d3a1):_0x315cd2,_0x1b42c9=_0x22a298[_0x1090c9(0x3fa)]-0x1,_0x397fad;_0x1b42c9>=0x0;_0x1b42c9--)(_0x397fad=_0x22a298[_0x1b42c9])&&(_0x5a709a=_0x397fad(_0x5a709a)||_0x5a709a);return _0x5a709a;},_0x7e47f3=(_0x218521,_0x558c6d)=>(_0x3bf78b,_0x5519af)=>_0x558c6d(_0x3bf78b,_0x5519af,_0x218521);const _0x24c684=0x1389;let _0x431563=class extends _0x3a6e21['RxDisposable']{constructor(_0x452381,_0x4ae16e,_0x1bb348,_0x4914c8){const _0x3f2c7e=_0x356272;super(),_0x49e47d(this,_0x3f2c7e(0x1b8),new Set()),_0x49e47d(this,_0x3f2c7e(0x11f),null),(this[_0x3f2c7e(0x11b)]=_0x452381,this[_0x3f2c7e(0x380)]=_0x4ae16e,this[_0x3f2c7e(0x200)]=_0x1bb348,this[_0x3f2c7e(0x314)]=_0x4914c8,this[_0x3f2c7e(0x2e0)]());}['_init'](){const _0x4fd832=_0x356272;this[_0x4fd832(0x380)][_0x4fd832(0x38e)][_0x4fd832(0x328)](_0xe1d652['takeUntil'](this['dispose$']),_0xe1d652['switchMap'](_0x3ca1c4=>{const _0x33a50c=_0x4fd832;if(_0x3ca1c4){const _0x499727=_0x3ca1c4[_0x33a50c(0x247)];return _0x2289a4[_0x33a50c(0x1af)](this[_0x33a50c(0x200)]['getCollabCursors$'](this[_0x33a50c(0x11b)][_0x33a50c(0x3cd)]),this[_0x33a50c(0x314)][_0x33a50c(0x29e)])[_0x33a50c(0x328)](_0xe1d652['map'](([_0x48c529,_0x140d29])=>{const _0x5cb74a=new Map();return _0x48c529['forEach']((_0x24b7bb,_0x40ef11)=>{const _0x31f199=_0x5992;if(_0x24b7bb[_0x31f199(0x340)]===_0x499727){const _0x52551d={..._0x24b7bb};_0x52551d[_0x31f199(0x18c)]=this['_themeService'][_0x31f199(0x28d)](_0x24b7bb[_0x31f199(0x18c)]),_0x5cb74a[_0x31f199(0x199)](_0x40ef11,_0x52551d);}}),{'skeleton':_0x3ca1c4,'cursors':_0x5cb74a};}));}return _0x2289a4['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fd832(0x399)](({skeleton:_0x51c444,cursors:_0x20ff24})=>{const _0x242bbb=_0x4fd832;this[_0x242bbb(0x22e)](),_0x51c444&&this['_updateCollabCursors'](_0x51c444,_0x20ff24);}),this[_0x4fd832(0x380)][_0x4fd832(0x38e)][_0x4fd832(0x399)](_0x350998=>{const _0x37f07e=_0x4fd832;if(_0x350998==null)return;const {skeleton:_0x213ea0}=_0x350998,{scene:_0x1c2c48}=this[_0x37f07e(0x11b)];_0x1c2c48[_0x37f07e(0x3d4)][_0x37f07e(0x292)](_0x3a6e21[_0x37f07e(0x2b8)](_0x781d11=>{const _0x2b9b0a=_0x37f07e;var _0x7b00c7,_0x4cbcb8;const {offsetX:_0x5e95b0,offsetY:_0x122aaf}=_0x781d11,{x:_0x5c3327,y:_0x235324}=_0x1c2c48[_0x2b9b0a(0x1fe)](_0x946f81[_0x2b9b0a(0x36e)][_0x2b9b0a(0x402)]([_0x5e95b0,_0x122aaf])),{scaleX:_0x4f0721,scaleY:_0x6409f4}=_0x1c2c48[_0x2b9b0a(0x2af)](),_0x4d416f=_0x1c2c48['getViewport'](_0x946f81['SHEET_VIEWPORT_KEY'][_0x2b9b0a(0x1d3)]),_0x4be20a=_0x1c2c48[_0x2b9b0a(0x241)](_0x946f81[_0x2b9b0a(0x36e)][_0x2b9b0a(0x402)]([_0x5c3327,_0x235324]),_0x4d416f),_0x19a827=_0x213ea0[_0x2b9b0a(0x1cc)](_0x5e95b0,_0x122aaf,_0x4f0721,_0x6409f4,_0x4be20a);((_0x7b00c7=this[_0x2b9b0a(0x11f)])==null?void 0x0:_0x7b00c7[_0x2b9b0a(0x403)])===_0x19a827[_0x2b9b0a(0x403)]&&((_0x4cbcb8=this[_0x2b9b0a(0x11f)])==null?void 0x0:_0x4cbcb8[_0x2b9b0a(0x3d7)])===_0x19a827[_0x2b9b0a(0x3d7)]||this['_cursors'][_0x2b9b0a(0x280)](_0xfff3cc=>{_0xfff3cc['onMouseMove'](_0x19a827);});},0x64));});}['_updateCollabCursors'](_0x3a06ca,_0x6bf608){const _0x56c3ff=_0x356272;var _0x1e7f74;const _0x5ae2b5=(_0x1e7f74=this[_0x56c3ff(0x380)]['getCurrent']())==null?void 0x0:_0x1e7f74[_0x56c3ff(0x3d1)];if(!_0x5ae2b5)return;const _0xb7baf0=this[_0x56c3ff(0x1bc)]();if(!_0xb7baf0)return;this['_cursors'][_0x56c3ff(0x280)](_0x3368c9=>{const _0x4478cd=_0x56c3ff;_0x3368c9[_0x4478cd(0x36d)]();});const {scene:_0x49d8e0}=_0xb7baf0,_0x42eae5=_0x51cb5a(Array[_0x56c3ff(0x269)](_0x6bf608[_0x56c3ff(0x346)]()))[_0x56c3ff(0x27c)](_0x1e4876=>{const _0xe13d6d=_0x56c3ff,{color:_0x2dca24,range:_0x20cf8d,name:_0xa31a4e,selection:_0x5011a1,sheetID:_0x50c4cd}=_0x1e4876,{startColumn:_0x514023,startRow:_0x9793a3,endColumn:_0x2a30e2,endRow:_0x1e622f}=_0x20cf8d,_0x122596=_0x127e25[_0xe13d6d(0x1cf)](_0x9793a3,_0x514023,_0x49d8e0,_0x5ae2b5),_0x20b268=_0x127e25[_0xe13d6d(0x1cf)](_0x1e622f,_0x2a30e2,_0x49d8e0,_0x5ae2b5),{columnHeaderHeightAndMarginTop:_0x70966c}=_0x5ae2b5,{startX:_0x562997,startY:_0x43cc47}=_0x122596,{endX:_0x29b19b,endY:_0x3d6797}=_0x20b268,_0x3fde9=_0x29b19b-_0x562997,_0x3126c7=_0x3d6797-_0x43cc47,_0xe8c77e={'labelPosition':_0x43cc47-_0x70966c>=_0x1681a8?_0xe13d6d(0x378):'bottom','sheetID':_0x50c4cd,'range':_0x20cf8d,'color':_0x2dca24,'name':_0xa31a4e,'selection':_0x5011a1,'left':_0x562997,'top':_0x43cc47,'width':_0x3fde9,'height':_0x3126c7,'evented':!0x1,'zIndex':_0x24c684};return new _0x4266cc(_0xa31a4e,_0xe8c77e);});_0x49d8e0['addObjects'](_0x42eae5,_0x51f80b),this['_cursors']=new Set(_0x42eae5);}[_0x356272(0x22e)](){const _0x5d82f3=_0x356272;var _0x4635c4;(_0x4635c4=this[_0x5d82f3(0x1b8)])==null||_0x4635c4[_0x5d82f3(0x280)](_0x46300c=>_0x46300c[_0x5d82f3(0x1a0)]());}[_0x356272(0x1bc)](){const _0x37573c=_0x356272;return _0x127e25[_0x37573c(0x40c)](this[_0x37573c(0x11b)][_0x37573c(0x3c7)],this['_context']);}};_0x431563=_0x31a062([_0x7e47f3(0x1,_0x3a6e21['Inject'](_0x127e25[_0x356272(0x251)])),_0x7e47f3(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x277f63)),_0x7e47f3(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x306)]))],_0x431563);function _0x51cb5a(_0x582e20){const _0x2638ff=_0x356272,_0x4bf867=new Map();return _0x582e20[_0x2638ff(0x280)](_0x3c005a=>{const _0x439617=_0x2638ff;if(_0x4bf867[_0x439617(0x217)](_0x3c005a[_0x439617(0x191)])){const _0x48de8c=_0x4bf867['get'](_0x3c005a['selection']);_0x48de8c['name']+=',\x20'+_0x3c005a[_0x439617(0x27f)];}else _0x4bf867[_0x439617(0x199)](_0x3c005a[_0x439617(0x191)],_0x3c005a);}),Array[_0x2638ff(0x269)](_0x4bf867[_0x2638ff(0x346)]());}var _0x5d2989=Object[_0x356272(0x2dc)],_0x54eac7=(_0x7fd23,_0x669b5a,_0x2c7c09,_0x5533ce)=>{const _0x3565c1=_0x356272;for(var _0x46310e=_0x5533ce>0x1?void 0x0:_0x5533ce?_0x5d2989(_0x669b5a,_0x2c7c09):_0x669b5a,_0x4b03c4=_0x7fd23[_0x3565c1(0x3fa)]-0x1,_0x159537;_0x4b03c4>=0x0;_0x4b03c4--)(_0x159537=_0x7fd23[_0x4b03c4])&&(_0x46310e=_0x159537(_0x46310e)||_0x46310e);return _0x46310e;},_0x51d49c=(_0x482ff3,_0x5dde51)=>(_0x47758f,_0x2ab468)=>_0x5dde51(_0x47758f,_0x2ab468,_0x482ff3);let _0x3bdfa5=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x1fb989,_0xe12f55,_0x57e3d5,_0x4fda68,_0x30b209,_0x1b2cad){const _0x2b26a2=_0x356272;super(),this[_0x2b26a2(0x2bd)]=_0x1fb989,this[_0x2b26a2(0x32c)]=_0xe12f55,this[_0x2b26a2(0x127)]=_0x57e3d5,this['_messageService']=_0x4fda68,this[_0x2b26a2(0x184)]=_0x30b209,this[_0x2b26a2(0x35b)]=_0x1b2cad,this['_setupBeforeClosingHandler'](),this[_0x2b26a2(0x15a)]();}[_0x356272(0x2a9)](){const _0x5912e4=_0x356272;this['disposeWithMe'](this[_0x5912e4(0x2bd)][_0x5912e4(0x263)](()=>{const _0xc91ce2=_0x5912e4;if(this[_0xc91ce2(0x32c)][_0xc91ce2(0x20a)][_0xc91ce2(0x259)])return this['_localeService']['t'](_0xc91ce2(0x324));}));}[_0x356272(0x15a)](){const _0x6eec01=_0x356272;this[_0x6eec01(0x3b6)](this[_0x6eec01(0x127)][_0x6eec01(0x3b2)]['subscribe'](_0x53a72c=>{const _0x6e8bfc=_0x6eec01;_0x53a72c['id']===_0x977231['CollaborationUIEventId'][_0x6e8bfc(0x3a8)]&&this['_messageService'][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x253))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x3a5)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)]['Warning'],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x393))}),_0x53a72c['id']===_0x977231['CollaborationUIEventId'][_0x6e8bfc(0x1a3)]&&this['_notificationService'][_0x6e8bfc(0x15c)]({'title':this['_localeService']['t'](_0x6e8bfc(0x323)),'content':this[_0x6e8bfc(0x35b)]['t']('permission.content'),'type':'error','duration':0x0}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x1df)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x53a72c[_0x6e8bfc(0x386)]+')'}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x183)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x53a72c[_0x6e8bfc(0x386)]||'')}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)]['SOCKET_FAILED_RETRY']&&this[_0x6e8bfc(0x28b)]['show']({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x275))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)]['SOCKET_FAILED']&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908['MessageType'][_0x6e8bfc(0x364)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x3ca))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x119)]&&this['_messageService'][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x364)],'content':this[_0x6e8bfc(0x35b)]['t']('session.collaboration-timeout')});}));}};_0x3bdfa5=_0x54eac7([_0x51d49c(0x0,_0x149c92[_0x356272(0x27b)]),_0x51d49c(0x1,_0x977231[_0x356272(0x11c)]),_0x51d49c(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x349)])),_0x51d49c(0x3,_0x149c92[_0x356272(0x3ea)]),_0x51d49c(0x4,_0x149c92['INotificationService']),_0x51d49c(0x5,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x36a)]))],_0x3bdfa5);var _0x14685d=Object[_0x356272(0x2dc)],_0x91d6f7=(_0x4049ea,_0x4b87bb,_0x1b3573,_0x6da8c7)=>{const _0x1dfe54=_0x356272;for(var _0x5d8e87=_0x6da8c7>0x1?void 0x0:_0x6da8c7?_0x14685d(_0x4b87bb,_0x1b3573):_0x4b87bb,_0x4cb451=_0x4049ea[_0x1dfe54(0x3fa)]-0x1,_0x51fcb1;_0x4cb451>=0x0;_0x4cb451--)(_0x51fcb1=_0x4049ea[_0x4cb451])&&(_0x5d8e87=_0x51fcb1(_0x5d8e87)||_0x5d8e87);return _0x5d8e87;},_0xaa2695=(_0x224abb,_0x49c2b1)=>(_0x588e2c,_0x1aa270)=>_0x49c2b1(_0x588e2c,_0x1aa270,_0x224abb);let _0x327c1e=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x668bbd,_0x373ddd,_0x3af41b,_0x5f4359){const _0x5cfc7c=_0x356272;super(),_0x49e47d(this,'_memberID'),(this[_0x5cfc7c(0x228)]=_0x668bbd,this[_0x5cfc7c(0x2b6)]=_0x373ddd,this[_0x5cfc7c(0x3b4)]=_0x3af41b,this[_0x5cfc7c(0x37e)]=_0x5f4359,this[_0x5cfc7c(0x2e0)]());}['_init'](){const _0xc3791=_0x356272;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0xc3791(0x1ca)]();}[_0x356272(0x1ca)](){const _0x5821b3=_0x356272;this[_0x5821b3(0x3b6)](this[_0x5821b3(0x37e)]['socket$']['subscribe'](_0x4f0163=>{const _0x5030f5=_0x5821b3;this[_0x5030f5(0x32a)]=_0x4f0163==null?void 0x0:_0x4f0163[_0x5030f5(0x25e)];}));}['_initWindowErrorListener'](){const _0x1f8d26=_0x356272,_0x3aa39b=_0x568116=>{const _0x5c0c91=_0x5992;var _0x955872;this[_0x5c0c91(0x311)](_0x5c0c91(0x308),'[Window\x20Error]:\x20'+_0x568116[_0x5c0c91(0x320)]+_0x5c0c91(0x20e)+_0x568116[_0x5c0c91(0x264)]+':'+_0x568116[_0x5c0c91(0x11a)]+':'+_0x568116[_0x5c0c91(0x319)]+'\x0a'+(((_0x955872=_0x568116[_0x5c0c91(0x308)])==null?void 0x0:_0x955872[_0x5c0c91(0x285)])||''));};window[_0x1f8d26(0x1a7)]('error',_0x3aa39b),this['disposeWithMe'](()=>{const _0x18173d=_0x1f8d26;window[_0x18173d(0x26f)](_0x18173d(0x308),_0x3aa39b);});}[_0x356272(0x19e)](){const _0x5e3bd9=_0x356272,_0x4bb0d4=_0x147d58=>{const _0x246ad3=_0x5992;this[_0x246ad3(0x311)](_0x246ad3(0x308),_0x246ad3(0x2e6)+_0x147d58[_0x246ad3(0x1b3)]);};window[_0x5e3bd9(0x1a7)](_0x5e3bd9(0x11e),_0x4bb0d4),this[_0x5e3bd9(0x3b6)](()=>{const _0x4b1226=_0x5e3bd9;window[_0x4b1226(0x26f)]('unhandledrejection',_0x4bb0d4);});}[_0x356272(0x3db)](){const _0x40b744=_0x356272,_0x498d3f=this[_0x40b744(0x3b4)][_0x40b744(0x308)]['bind'](this[_0x40b744(0x3b4)]);this[_0x40b744(0x3b4)][_0x40b744(0x308)]=(..._0x96871e)=>{const _0xc554cb=_0x40b744,_0x36f885=_0x96871e[_0xc554cb(0x27c)](_0x14b1d4=>_0x14b1d4 instanceof Error?_0x14b1d4['message']+'\x0a'+_0x14b1d4[_0xc554cb(0x285)]:String(_0x14b1d4))['join']('\x20');this[_0xc554cb(0x311)](_0xc554cb(0x308),'[LogService\x20Error]:\x20'+_0x36f885),_0x498d3f(..._0x96871e);},this[_0x40b744(0x3b6)](()=>{const _0x84659f=_0x40b744;this[_0x84659f(0x3b4)][_0x84659f(0x308)]=_0x498d3f;});}[_0x356272(0x311)](_0xf628f1,_0x343c2a){const _0x1d7a96=_0x356272;try{const _0x181fa7={'userId':this[_0x1d7a96(0x32a)],'logLabel':_0xf628f1,'content':_0x343c2a};this[_0x1d7a96(0x2b6)][_0x1d7a96(0x22b)](_0x1d7a96(0x3e8),{'body':_0x181fa7})['catch'](()=>{});}catch{}}};_0x327c1e=_0x91d6f7([_0xaa2695(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0xaa2695(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0xaa2695(0x2,_0x3a6e21[_0x356272(0x266)]),_0xaa2695(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x30b)]))],_0x327c1e);const _0x2f3b95=_0x356272(0x246),_0x2da973={};var _0x4d667a=Object['getOwnPropertyDescriptor'],_0xbcdc17=(_0x529323,_0x36ab3c,_0x723f01,_0x7a4a61)=>{for(var _0x71953c=_0x7a4a61>0x1?void 0x0:_0x7a4a61?_0x4d667a(_0x36ab3c,_0x723f01):_0x36ab3c,_0x21a435=_0x529323['length']-0x1,_0x4a04cb;_0x21a435>=0x0;_0x21a435--)(_0x4a04cb=_0x529323[_0x21a435])&&(_0x71953c=_0x4a04cb(_0x71953c)||_0x71953c);return _0x71953c;},_0x148ba7=(_0x20fbba,_0x3ca520)=>(_0x56b595,_0x57d342)=>_0x3ca520(_0x56b595,_0x57d342,_0x20fbba);let _0x275c6d=class{constructor(_0x380926,_0x185f09){const _0xcb04a2=_0x356272;this[_0xcb04a2(0x2fd)]=_0x380926,this[_0xcb04a2(0x218)]=_0x185f09;}['transformIMECache'](_0xd1842b){const _0x2b4947=_0x356272;this['_transformUndoRedoStack'](_0xd1842b),this[_0x2b4947(0x2d2)](_0xd1842b);}[_0x356272(0x385)](_0x349697){const _0x3cd205=_0x356272,{unitID:_0x3e22c1}=_0x349697,_0x1a31d0=this[_0x3cd205(0x218)][_0x3cd205(0x1d4)](_0x3e22c1)['with'](_0x84c7b3[_0x3cd205(0x2b0)]),{redoCache:_0x53fa45}=_0x1a31d0[_0x3cd205(0x133)]();if(_0x53fa45[_0x3cd205(0x3fa)]===0x0)return _0x349697;let _0x1bcf0f=_0x3a6e21[_0x3cd205(0x234)]['deepClone'](_0x349697[_0x3cd205(0x2a1)][0x0]);for(let _0x2a2cf6=0x0;_0x2a2cf6<_0x53fa45[_0x3cd205(0x3fa)];_0x2a2cf6++){const _0xe7ee8c={'id':_0x3cd205(0x2b2),'params':{..._0x53fa45[_0x2a2cf6]}},_0x5432e6=this[_0x3cd205(0x2fd)][_0x3cd205(0x17b)](_0x1bcf0f,_0xe7ee8c,!0x1);if(_0x3d0ca4[_0x3cd205(0x1fc)](_0x5432e6))throw _0x5432e6[_0x3cd205(0x308)];_0x1bcf0f=_0x5432e6[_0x3cd205(0x1a9)];}return{..._0x3a6e21[_0x3cd205(0x234)]['deepClone'](_0x349697),'mutations':[_0x1bcf0f]};}['_transformUndoRedoStack'](_0x85110f){const _0x53c069=_0x356272,{unitID:_0x1dacd9}=_0x85110f,_0x99b0a5=this[_0x53c069(0x218)][_0x53c069(0x1d4)](_0x1dacd9)['with'](_0x84c7b3[_0x53c069(0x2b0)]),{undoCache:_0x599598,redoCache:_0x5d0b40}=_0x99b0a5[_0x53c069(0x133)]();if(_0x599598[_0x53c069(0x3fa)]===0x0||_0x5d0b40[_0x53c069(0x3fa)]===0x0)return;const _0x11ea05=[],_0x2d0565=[];let _0x207ad0=_0x3a6e21[_0x53c069(0x234)][_0x53c069(0x315)](_0x85110f[_0x53c069(0x2a1)][0x0]),_0x41f3ae=_0x3a6e21[_0x53c069(0x234)]['deepClone'](_0x85110f['mutations'][0x0]);for(let _0x3763b6=_0x599598[_0x53c069(0x3fa)]-0x1;_0x3763b6>=0x0;_0x3763b6--){const _0x40574a={'id':_0x53c069(0x2b2),'params':{..._0x599598[_0x3763b6]}},_0x48a582={'id':'doc.mutation.rich-text-editing','params':{..._0x5d0b40[_0x3763b6]}},_0x2b6e35=this['_transformService'][_0x53c069(0x17b)](_0x207ad0,_0x40574a,!0x1),_0x5d3711=this[_0x53c069(0x2fd)][_0x53c069(0x17b)](_0x41f3ae,_0x48a582,!0x1);if(_0x3d0ca4['isTransformMutationFailure'](_0x2b6e35))throw _0x2b6e35[_0x53c069(0x308)];if(_0x3d0ca4['isTransformMutationFailure'](_0x5d3711))throw _0x5d3711[_0x53c069(0x308)];_0x11ea05[_0x53c069(0x34c)](_0x2b6e35[_0x53c069(0x3da)][_0x53c069(0x3df)]),_0x2d0565['unshift'](_0x5d3711[_0x53c069(0x3da)][_0x53c069(0x3df)]),_0x207ad0=_0x2b6e35[_0x53c069(0x1a9)],_0x41f3ae=_0x5d3711[_0x53c069(0x1a9)];}_0x99b0a5[_0x53c069(0x362)]({'undoCache':_0x11ea05,'redoCache':_0x2d0565});}[_0x356272(0x2d2)](_0x529d44){const _0xc20f6b=_0x356272,{unitID:_0x52cbf9}=_0x529d44,_0x67e48f=this[_0xc20f6b(0x218)][_0xc20f6b(0x1d4)](_0x52cbf9)['with'](_0x84c7b3['DocIMEInputManagerService']),_0x4eaf16=_0x67e48f[_0xc20f6b(0x2b9)]();if(_0x4eaf16==null)return;const _0x2c91ff=[{'id':_0xc20f6b(0x2b2),'params':{'unitId':_0x529d44[_0xc20f6b(0x138)],'actions':null,'textRanges':[_0x4eaf16]}}],_0x312988=this['_transformService'][_0xc20f6b(0x276)](_0x529d44,_0x2c91ff);if(!_0x3d0ca4[_0xc20f6b(0x1fd)](_0x312988))throw _0x312988[_0xc20f6b(0x308)];const _0x154285=_0x312988[_0xc20f6b(0x3da)][0x0]['params']['textRanges'];Array['isArray'](_0x154285)&&_0x154285[_0xc20f6b(0x3fa)]&&_0x67e48f[_0xc20f6b(0x3e2)](_0x154285[0x0]);}};_0x275c6d=_0xbcdc17([_0x148ba7(0x0,_0x3d0ca4['ITransformService']),_0x148ba7(0x1,_0x946f81[_0x356272(0x395)])],_0x275c6d);var _0x184d06=Object['getOwnPropertyDescriptor'],_0x2ec8df=(_0x9678f2,_0x280f31,_0x4ae55b,_0x5be264)=>{const _0xd9ad02=_0x356272;for(var _0x2b1a16=_0x5be264>0x1?void 0x0:_0x5be264?_0x184d06(_0x280f31,_0x4ae55b):_0x280f31,_0x56c038=_0x9678f2[_0xd9ad02(0x3fa)]-0x1,_0x25e49b;_0x56c038>=0x0;_0x56c038--)(_0x25e49b=_0x9678f2[_0x56c038])&&(_0x2b1a16=_0x25e49b(_0x2b1a16)||_0x2b1a16);return _0x2b1a16;},_0x223f41=(_0x2f7808,_0x919bcc)=>(_0x3eaee9,_0x4ea62b)=>_0x919bcc(_0x3eaee9,_0x4ea62b,_0x2f7808);let _0x50ea12=class{constructor(_0x4c2ac0,_0x52e525,_0x4881e0){const _0x19c66b=_0x356272;this['_injector']=_0x4c2ac0,this[_0x19c66b(0x2fd)]=_0x52e525,this[_0x19c66b(0x326)]=_0x4881e0;}[_0x356272(0x13c)](_0x573a74){const _0x1b81c0=_0x356272;this[_0x1b81c0(0x32b)](_0x573a74);}[_0x356272(0x385)](_0x265136){const _0x24e55f=_0x356272,{unitID:_0x44d112}=_0x265136,{collaboration:_0x3ad990}=this[_0x24e55f(0x326)]['getStateCache'](_0x44d112);if(_0x3ad990['length']===0x0)return _0x265136;let _0x5dff27=_0x3a6e21[_0x24e55f(0x234)][_0x24e55f(0x315)](_0x265136[_0x24e55f(0x2a1)][0x0]);for(let _0x598d45=0x0;_0x598d45<_0x3ad990[_0x24e55f(0x3fa)];_0x598d45++){const _0x3ab4d8={'id':_0x24e55f(0x2b2),'params':{'unitId':_0x3ad990[_0x598d45][_0x24e55f(0x3cd)],..._0x3ad990[_0x598d45][_0x24e55f(0x221)]}},_0x32a077=this[_0x24e55f(0x2fd)][_0x24e55f(0x17b)](_0x5dff27,_0x3ab4d8,!0x1);if(_0x3d0ca4['isTransformMutationFailure'](_0x32a077))throw _0x32a077[_0x24e55f(0x308)];_0x5dff27=_0x32a077['m1Prime'];}return{..._0x3a6e21[_0x24e55f(0x234)][_0x24e55f(0x315)](_0x265136),'mutations':[_0x5dff27]};}[_0x356272(0x32b)](_0x38b7e1){const _0x589d94=_0x356272,{unitID:_0x1499be}=_0x38b7e1,{history:_0x413454,collaboration:_0x3c1028}=this[_0x589d94(0x326)][_0x589d94(0x30c)](_0x1499be);if(_0x413454[_0x589d94(0x3fa)]===0x0&&_0x3c1028['length']===0x0)return;const _0x5e3529=[],_0xe63534=[];let _0x22961f=_0x3a6e21['Tools'][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]),_0x5079cb=_0x3a6e21['Tools']['deepClone'](_0x38b7e1['mutations'][0x0]);for(let _0xe4d5d6=_0x413454[_0x589d94(0x3fa)]-0x1;_0xe4d5d6>=0x0;_0xe4d5d6--){const _0xbf2baa={'id':_0x589d94(0x2b2),'params':{'unitId':_0x413454[_0xe4d5d6][_0x589d94(0x3cd)],..._0x413454[_0xe4d5d6][_0x589d94(0x193)]}},_0x1b5f3b={'id':_0x589d94(0x2b2),'params':{'unitId':_0x413454[_0xe4d5d6][_0x589d94(0x3cd)],..._0x413454[_0xe4d5d6][_0x589d94(0x221)]}},_0x4c9f3=this[_0x589d94(0x2fd)][_0x589d94(0x17b)](_0x22961f,_0xbf2baa,!0x1),_0xcccd0b=this['_transformService'][_0x589d94(0x17b)](_0x5079cb,_0x1b5f3b,!0x1);if(_0x3d0ca4[_0x589d94(0x1fc)](_0x4c9f3))throw _0x4c9f3[_0x589d94(0x308)];if(_0x3d0ca4[_0x589d94(0x1fc)](_0xcccd0b))throw _0xcccd0b[_0x589d94(0x308)];_0x5e3529['unshift']({..._0x413454[_0xe4d5d6],'undoState':_0x4c9f3[_0x589d94(0x3da)]['params'],'redoState':_0xcccd0b[_0x589d94(0x3da)][_0x589d94(0x3df)]}),_0x22961f=_0x4c9f3['m1Prime'],_0x5079cb=_0xcccd0b[_0x589d94(0x1a9)];}_0x22961f=_0x3a6e21[_0x589d94(0x234)][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]),_0x5079cb=_0x3a6e21[_0x589d94(0x234)][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]);for(let _0x36f2d3=_0x3c1028[_0x589d94(0x3fa)]-0x1;_0x36f2d3>=0x0;_0x36f2d3--){const _0x298d09={'id':_0x589d94(0x2b2),'params':{'unitId':_0x3c1028[_0x36f2d3][_0x589d94(0x3cd)],..._0x3c1028[_0x36f2d3][_0x589d94(0x193)]}},_0x55b800={'id':_0x589d94(0x2b2),'params':{'unitId':_0x3c1028[_0x36f2d3][_0x589d94(0x3cd)],..._0x3c1028[_0x36f2d3]['redoState']}},_0x1dbe2c=this['_transformService'][_0x589d94(0x17b)](_0x22961f,_0x298d09,!0x1),_0x2f6098=this[_0x589d94(0x2fd)]['transformMutation'](_0x5079cb,_0x55b800,!0x1);if(_0x3d0ca4[_0x589d94(0x1fc)](_0x1dbe2c))throw _0x1dbe2c['error'];if(_0x3d0ca4[_0x589d94(0x1fc)](_0x2f6098))throw _0x2f6098[_0x589d94(0x308)];_0xe63534[_0x589d94(0x34c)]({..._0x3c1028[_0x36f2d3],'undoState':_0x1dbe2c['m2Prime'][_0x589d94(0x3df)],'redoState':_0x2f6098['m2Prime'][_0x589d94(0x3df)]}),_0x22961f=_0x1dbe2c[_0x589d94(0x1a9)],_0x5079cb=_0x2f6098['m1Prime'];}this[_0x589d94(0x326)]['setStateCache'](_0x1499be,{'history':_0x5e3529,'collaboration':_0xe63534});}};_0x50ea12=_0x2ec8df([_0x223f41(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x223f41(0x1,_0x3d0ca4[_0x356272(0x261)]),_0x223f41(0x2,_0x3a6e21['Inject'](_0x84c7b3[_0x356272(0x216)]))],_0x50ea12);var _0x3a706a=Object[_0x356272(0x2dc)],_0x2d8117=(_0x119dd1,_0x190d83,_0x53160b,_0x26b074)=>{for(var _0x24342b=_0x26b074>0x1?void 0x0:_0x26b074?_0x3a706a(_0x190d83,_0x53160b):_0x190d83,_0x3603ba=_0x119dd1['length']-0x1,_0x53a6ea;_0x3603ba>=0x0;_0x3603ba--)(_0x53a6ea=_0x119dd1[_0x3603ba])&&(_0x24342b=_0x53a6ea(_0x24342b)||_0x24342b);return _0x24342b;},_0x2b467d=(_0x59a67a,_0x473c8e)=>(_0x14b696,_0x898bd7)=>_0x473c8e(_0x14b696,_0x898bd7,_0x59a67a);let _0x220ce5=class{constructor(_0x1a6379,_0xf6323b){const _0x47aac4=_0x356272;this[_0x47aac4(0x228)]=_0x1a6379,this[_0x47aac4(0x2fd)]=_0xf6323b;}[_0x356272(0x222)](_0x280bfc){const _0x117189=_0x356272;var _0x52cee3;const _0x31fe3d=this[_0x117189(0x228)]['get'](_0x2d1e6c[_0x117189(0x21b)]),_0x50938d=(_0x52cee3=_0x31fe3d[_0x117189(0x120)]())!=null?_0x52cee3:[];if(_0x50938d[_0x117189(0x3fa)]===0x0)return;const _0x4c68c7=_0x280bfc[_0x117189(0x138)],_0x1da503=[{'id':_0x117189(0x2b2),'params':{'unitId':_0x4c68c7,'actions':null,'textRanges':_0x50938d}}],_0x2087f7=this['_transformService'][_0x117189(0x276)](_0x280bfc,_0x1da503);if(!_0x3d0ca4[_0x117189(0x1fd)](_0x2087f7))throw _0x2087f7['error'];const _0x1b893a=_0x2087f7[_0x117189(0x3da)][0x0][_0x117189(0x3df)][_0x117189(0x187)];Array[_0x117189(0x176)](_0x1b893a)&&_0x1b893a['length']&&_0x31fe3d[_0x117189(0x2f2)](_0x1b893a,{'unitId':_0x4c68c7,'subUnitId':_0x4c68c7},!0x1);}};_0x220ce5=_0x2d8117([_0x2b467d(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['Injector'])),_0x2b467d(0x1,_0x3d0ca4[_0x356272(0x261)])],_0x220ce5);var _0x2f040e=Object[_0x356272(0x2dc)],_0x39b1da=(_0x42981c,_0x37c875,_0x1f55c5,_0xd84f37)=>{const _0x343e32=_0x356272;for(var _0x30b5b4=_0xd84f37>0x1?void 0x0:_0xd84f37?_0x2f040e(_0x37c875,_0x1f55c5):_0x37c875,_0x27934e=_0x42981c[_0x343e32(0x3fa)]-0x1,_0x46246d;_0x27934e>=0x0;_0x27934e--)(_0x46246d=_0x42981c[_0x27934e])&&(_0x30b5b4=_0x46246d(_0x30b5b4)||_0x30b5b4);return _0x30b5b4;},_0x2e9a53=(_0x20be83,_0x38de86)=>(_0x508e03,_0x23420b)=>_0x38de86(_0x508e03,_0x23420b,_0x20be83);let _0x3b664f=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x5ec575,_0x5c3245,_0x26ad30,_0x4cc32e,_0x18c3fd,_0x434e57,_0x7b5717,_0x57b372){const _0x2031bf=_0x356272;super(),_0x49e47d(this,'_status$',new _0x2289a4['BehaviorSubject'](_0x977231[_0x2031bf(0x2ba)]['NOT_COLLAB'])),(this[_0x2031bf(0x326)]=_0x5ec575,this[_0x2031bf(0x271)]=_0x5c3245,this[_0x2031bf(0x258)]=_0x26ad30,this[_0x2031bf(0x370)]=_0x4cc32e,this['_docTransformSelectionsService']=_0x18c3fd,this[_0x2031bf(0x139)]=_0x434e57,this[_0x2031bf(0x28b)]=_0x7b5717,this[_0x2031bf(0x35b)]=_0x57b372,this[_0x2031bf(0x1da)]());}[_0x356272(0x1da)](){const _0x2614b5=_0x356272;this['disposeWithMe'](this[_0x2614b5(0x271)][_0x2614b5(0x382)]['subscribe'](_0x47beae=>{const _0x3209b3=_0x2614b5,_0xee7a45=this['_docStateChangeManagerService'][_0x3209b3(0x13a)][_0x3209b3(0x399)](_0x33b7e8=>{const _0x274d7d=_0x3209b3;if(_0x33b7e8==null)return;const {unitId:_0x3a4c39,redoState:_0x1efebd,commandId:_0x567519}=_0x33b7e8;if(_0x3a4c39!==_0x47beae[_0x274d7d(0x138)])return;const _0x426706={'id':_0x567519,'type':_0x3a6e21[_0x274d7d(0x22c)][_0x274d7d(0x3f9)],'params':{'unitId':_0x3a4c39,'actions':_0x1efebd[_0x274d7d(0x134)],'textRanges':null}};_0x47beae[_0x274d7d(0x1f9)](_0x426706);});if(_0x47beae[_0x3209b3(0x3b6)](_0xee7a45),_0x47beae instanceof _0x977231[_0x3209b3(0x12a)]){const _0x16170d={'onTransformIME':_0x37e72b=>this[_0x3209b3(0x258)][_0x3209b3(0x2f0)](_0x37e72b),'onTransformState':_0x5c7cfd=>this[_0x3209b3(0x370)]['transformStateCache'](_0x5c7cfd),'onTransformSelections':_0x35747a=>this[_0x3209b3(0x18a)][_0x3209b3(0x222)](_0x35747a),'onSyncEditingCollabCursor':_0x48005e=>this[_0x3209b3(0x139)]['syncEditingCollabCursor'](_0x48005e),'onTransformRemoteChangesetByIMECache':_0x5c5e66=>this[_0x3209b3(0x258)][_0x3209b3(0x385)](_0x5c5e66),'onTransformRemoteChangesetByStateCache':_0x152db9=>this[_0x3209b3(0x370)][_0x3209b3(0x385)](_0x152db9)};_0x47beae[_0x3209b3(0x1c0)](_0x16170d);}}));}};_0x3b664f=_0x39b1da([_0x2e9a53(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x84c7b3[_0x356272(0x216)])),_0x2e9a53(0x1,_0x3a6e21['Inject'](_0x977231[_0x356272(0x180)])),_0x2e9a53(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x275c6d)),_0x2e9a53(0x3,_0x3a6e21['Inject'](_0x50ea12)),_0x2e9a53(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x220ce5)),_0x2e9a53(0x5,_0x3a6e21['Inject'](_0x51f3c5)),_0x2e9a53(0x6,_0x149c92[_0x356272(0x3ea)]),_0x2e9a53(0x7,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x36a)]))],_0x3b664f);var _0x343b04=(_0x25139c=>(_0x25139c[_0x25139c[_0x356272(0x1b7)]=0x0]='UNDEFINED',_0x25139c[_0x25139c['OK']=0x1]='OK',_0x25139c[_0x25139c[_0x356272(0x126)]=0x2]=_0x356272(0x126),_0x25139c[_0x25139c[_0x356272(0x1a3)]=0x3]=_0x356272(0x1a3),_0x25139c[_0x25139c['NOT_FOUND']=0x4]=_0x356272(0x278),_0x25139c[_0x25139c['UNAUTHENTICATED']=0x5]=_0x356272(0x14a),_0x25139c[_0x25139c['ALREADY_EXISTS']=0x6]=_0x356272(0x3d2),_0x25139c[_0x25139c[_0x356272(0x2f7)]=0x7]=_0x356272(0x2f7),_0x25139c[_0x25139c[_0x356272(0x2ca)]=0x8]=_0x356272(0x2ca),_0x25139c[_0x25139c['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x25139c[_0x25139c['LOGIN_FAILED']=0xa]=_0x356272(0x404),_0x25139c[_0x25139c[_0x356272(0x2f9)]=0xb]=_0x356272(0x2f9),_0x25139c[_0x25139c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x356272(0x3b8),_0x25139c[_0x25139c[_0x356272(0x1b5)]=0xd]=_0x356272(0x1b5),_0x25139c[_0x25139c[_0x356272(0x21f)]=0xe]=_0x356272(0x21f),_0x25139c[_0x25139c[_0x356272(0x2b5)]=0xf]=_0x356272(0x2b5),_0x25139c[_0x25139c[_0x356272(0x2d5)]=0x10]=_0x356272(0x2d5),_0x25139c[_0x25139c[_0x356272(0x192)]=0x64]=_0x356272(0x192),_0x25139c[_0x25139c['ERROR_AGAIN']=0x65]=_0x356272(0x317),_0x25139c[_0x25139c[_0x356272(0x289)]=0xc9]=_0x356272(0x289),_0x25139c[_0x25139c[_0x356272(0x2a4)]=0xca]=_0x356272(0x2a4),_0x25139c[_0x25139c[_0x356272(0x2d3)]=0x1389]=_0x356272(0x2d3),_0x25139c[_0x25139c[_0x356272(0x2e3)]=0x1771]=_0x356272(0x2e3),_0x25139c[_0x25139c[_0x356272(0x2ef)]=0x1772]=_0x356272(0x2ef),_0x25139c[_0x25139c[_0x356272(0x12c)]=0x1773]=_0x356272(0x12c),_0x25139c[_0x25139c[_0x356272(0x2d8)]=0x1b59]='APPLY_REJECT',_0x25139c[_0x25139c[_0x356272(0x240)]=0x1b5a]=_0x356272(0x240),_0x25139c[_0x25139c[_0x356272(0x230)]=0x1b5b]=_0x356272(0x230),_0x25139c[_0x25139c[_0x356272(0x1ea)]=0x1b5c]=_0x356272(0x1ea),_0x25139c[_0x25139c[_0x356272(0x12e)]=0x1b5d]=_0x356272(0x12e),_0x25139c[_0x25139c[_0x356272(0x1ba)]=0x1f41]=_0x356272(0x1ba),_0x25139c[_0x25139c[_0x356272(0x35e)]=0x2329]=_0x356272(0x35e),_0x25139c[_0x25139c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x356272(0x2cd),_0x25139c[_0x25139c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x356272(0x3c4),_0x25139c[_0x25139c[_0x356272(0x2dd)]=0x232c]=_0x356272(0x2dd),_0x25139c[_0x25139c[_0x356272(0x3e5)]=0x232d]=_0x356272(0x3e5),_0x25139c[_0x25139c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x356272(0x2c1),_0x25139c[_0x25139c[_0x356272(0x1b0)]=0x2712]=_0x356272(0x1b0),_0x25139c[_0x25139c[_0x356272(0x2d7)]=0x2713]=_0x356272(0x2d7),_0x25139c[_0x25139c[_0x356272(0x16a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x25139c[_0x25139c[_0x356272(0x214)]=0x271a]=_0x356272(0x214),_0x25139c[_0x25139c[_0x356272(0x22f)]=0x271b]=_0x356272(0x22f),_0x25139c[_0x25139c[_0x356272(0x287)]=0x271c]=_0x356272(0x287),_0x25139c[_0x25139c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x356272(0x118),_0x25139c[_0x25139c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x25139c[_0x25139c[_0x356272(0x1e6)]=0x271f]=_0x356272(0x1e6),_0x25139c[_0x25139c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x356272(0x384),_0x25139c[_0x25139c[_0x356272(0x21c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x25139c[_0x25139c[_0x356272(0x2d6)]=0x2ee1]=_0x356272(0x2d6),_0x25139c[_0x25139c[_0x356272(0x25f)]=0x2ee2]=_0x356272(0x25f),_0x25139c[_0x25139c[_0x356272(0x2c7)]=0x2ee3]=_0x356272(0x2c7),_0x25139c[_0x25139c[_0x356272(0x35d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x25139c[_0x25139c[_0x356272(0x14f)]=0x2ee5]=_0x356272(0x14f),_0x25139c[_0x25139c[_0x356272(0x3ba)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x25139c[_0x25139c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x356272(0x23b),_0x25139c[_0x25139c[_0x356272(0x3af)]=0x32cb]=_0x356272(0x3af),_0x25139c[_0x25139c[_0x356272(0x160)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x25139c[_0x25139c[_0x356272(0x281)]=0x36b2]=_0x356272(0x281),_0x25139c[_0x25139c[_0x356272(0x3cb)]=0x36b3]=_0x356272(0x3cb),_0x25139c[_0x25139c[_0x356272(0x2a7)]=0x36b4]=_0x356272(0x2a7),_0x25139c[_0x25139c[_0x356272(0x407)]=0x36b5]=_0x356272(0x407),_0x25139c[_0x25139c['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x356272(0x151),_0x25139c[_0x25139c[_0x356272(0x156)]=0x36b7]=_0x356272(0x156),_0x25139c[_0x25139c[_0x356272(0x26d)]=0x36b8]=_0x356272(0x26d),_0x25139c[_0x25139c[_0x356272(0x341)]=0x3715]=_0x356272(0x341),_0x25139c[_0x25139c['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x356272(0x14c),_0x25139c[_0x25139c[_0x356272(0x31e)]=0x3717]=_0x356272(0x31e),_0x25139c[_0x25139c[_0x356272(0x34d)]=0x37dd]=_0x356272(0x34d),_0x25139c[_0x25139c[_0x356272(0x344)]=0x3a99]=_0x356272(0x344),_0x25139c[_0x25139c['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x356272(0x1b4),_0x25139c[_0x25139c[_0x356272(0x1e8)]=0x3a9b]=_0x356272(0x1e8),_0x25139c[_0x25139c[_0x356272(0x2e8)]=0x3a9c]=_0x356272(0x2e8),_0x25139c[_0x25139c[_0x356272(0x19c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x25139c[_0x25139c[_0x356272(0x387)]=0x3a9e]=_0x356272(0x387),_0x25139c[_0x25139c[_0x356272(0x32f)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x25139c[_0x25139c['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x25139c[_0x25139c[_0x356272(0x29d)]=-0x1]=_0x356272(0x29d),_0x25139c))(_0x343b04||{});function _0x52b347(_0x1157f8){const _0x37d8dc=_0x356272;var _0x5deada,_0x5dbe94;const _0x2a9c92=(_0x5deada=_0x1157f8[_0x37d8dc(0x293)])==null?void 0x0:_0x5deada[_0x37d8dc(0x1a4)],_0x3cc6a3=((_0x5dbe94=_0x1157f8['stageInfo'])==null?void 0x0:_0x5dbe94['totalFormulasToCalculate'])||0x0;return _0x2a9c92===_0x4c281d[_0x37d8dc(0x23d)][_0x37d8dc(0x377)]&&_0x3cc6a3>0x0;}function _0x3ec3df(_0x1ca4ff){const _0x3550d4=_0x356272;return _0x1ca4ff[_0x3550d4(0x249)]===_0x4c281d[_0x3550d4(0x358)][_0x3550d4(0x3a9)];}var _0x8b48f8=Object['getOwnPropertyDescriptor'],_0x511fcc=(_0xdc4c2e,_0x151e1c,_0xdb3fa0,_0x423c7a)=>{const _0x182372=_0x356272;for(var _0x49a9b9=_0x423c7a>0x1?void 0x0:_0x423c7a?_0x8b48f8(_0x151e1c,_0xdb3fa0):_0x151e1c,_0x16dc3d=_0xdc4c2e[_0x182372(0x3fa)]-0x1,_0x21cda0;_0x16dc3d>=0x0;_0x16dc3d--)(_0x21cda0=_0xdc4c2e[_0x16dc3d])&&(_0x49a9b9=_0x21cda0(_0x49a9b9)||_0x49a9b9);return _0x49a9b9;},_0x455b6a=(_0x55d8b6,_0x4eb573)=>(_0x4348aa,_0x1099fa)=>_0x4eb573(_0x4348aa,_0x1099fa,_0x55d8b6);const _0x162b50=_0x356272(0x288),_0x126473=_0x356272(0x137),_0x5e0bee=_0x356272(0x2ab);let _0x522554=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x13e86e,_0x17ab0f,_0x5d6ebd,_0x4d1c69,_0x44d556,_0x56beeb,_0x1ef72e){const _0x1ab1a5=_0x356272;super(),_0x49e47d(this,_0x1ab1a5(0x37f),null),_0x49e47d(this,_0x1ab1a5(0x3f5),0x0),_0x49e47d(this,_0x1ab1a5(0x2e2),0x0),_0x49e47d(this,_0x1ab1a5(0x2da),[]),_0x49e47d(this,_0x1ab1a5(0x17a),0x0),(this['_messageService']=_0x13e86e,this['_commandService']=_0x17ab0f,this[_0x1ab1a5(0x129)]=_0x5d6ebd,this[_0x1ab1a5(0x2b6)]=_0x4d1c69,this[_0x1ab1a5(0x28f)]=_0x44d556,this['_logService']=_0x56beeb,this['_localeService']=_0x1ef72e,this[_0x1ab1a5(0x2a8)]());}[_0x356272(0x2a8)](){const _0x2497ce=_0x356272;this[_0x2497ce(0x3b6)](this[_0x2497ce(0x389)][_0x2497ce(0x343)]((_0x3cba98,_0x22f31a)=>{const _0x34234e=_0x2497ce;var _0xd4d504;if(_0x3cba98['id']!==_0x4c281d[_0x34234e(0x1d9)]['id'])return;const _0x11fd4a=_0x3cba98[_0x34234e(0x3df)];if(!this[_0x34234e(0x255)]((_0xd4d504=_0x11fd4a['dirtyRanges'])!=null?_0xd4d504:[]))return;if(!this[_0x34234e(0x23c)]())throw this[_0x34234e(0x181)](_0x3cba98,_0x22f31a),this[_0x34234e(0x29c)](),new _0x3a6e21[(_0x34234e(0x360))]();})),this[_0x2497ce(0x3b6)](this[_0x2497ce(0x389)][_0x2497ce(0x3e3)]((_0x58107c,_0x371a8b)=>{const _0x50a7b3=_0x2497ce;if(_0x58107c['id']!==_0x4c281d[_0x50a7b3(0x189)]['id'])return;const _0xd6246=_0x58107c[_0x50a7b3(0x3df)];if(_0x52b347(_0xd6246)){const _0x232349=_0x3a6e21[_0x50a7b3(0x3de)]();this[_0x50a7b3(0x2da)][_0x50a7b3(0x31a)](_0x232349),this['_startCalculationLimit'](_0x232349);}else{if(_0x3ec3df(_0xd6246)&&this['_taskIds'][_0x50a7b3(0x3fa)]>0x0){const _0x1bcb85=this['_taskIds'][_0x50a7b3(0x18b)]();this[_0x50a7b3(0x2a0)](_0x1bcb85);}}}));}[_0x356272(0x1a0)](){const _0x29fa6a=_0x356272;super[_0x29fa6a(0x1a0)](),this[_0x29fa6a(0x392)](),this[_0x29fa6a(0x2da)]=[],this[_0x29fa6a(0x2e2)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x356272(0x181)](_0x4af69d,_0x550381){const _0x610fb4=_0x356272;for(let _0x3bdcd8=0x0;_0x3bdcd8<0x1e;_0x3bdcd8++)try{if(await this[_0x610fb4(0x345)](),this[_0x610fb4(0x23c)]()){this[_0x610fb4(0x212)](_0x4af69d,_0x550381),this[_0x610fb4(0x28b)][_0x610fb4(0x15c)]({'content':this[_0x610fb4(0x35b)]['t'](_0x610fb4(0x26a)),'type':_0x9f2908[_0x610fb4(0x136)][_0x610fb4(0x19d)]});return;}await new Promise(_0x40b5b5=>{const _0x3b3d20=_0x610fb4;this['_pollingInterval']=window[_0x3b3d20(0x1ab)](_0x40b5b5,0x3e8);});}catch(_0x24a01b){this['_logService']['error'](_0x24a01b);}this[_0x610fb4(0x28b)]['show']({'content':this[_0x610fb4(0x35b)]['t'](_0x610fb4(0x3b7)),'type':_0x9f2908[_0x610fb4(0x136)][_0x610fb4(0x364)]});}[_0x356272(0x212)](_0x4ef587,_0x1878c5){const _0x3104fc=_0x356272;try{this['_commandService'][_0x3104fc(0x2e5)](_0x4ef587['id'],_0x4ef587[_0x3104fc(0x3df)],_0x1878c5);}catch(_0x19a6c6){this[_0x3104fc(0x3b4)][_0x3104fc(0x308)](_0x19a6c6);}}[_0x356272(0x260)](_0x4fc7bc,_0x590806){const _0x214065=_0x356272;_0x590806<this[_0x214065(0x17a)]||(this[_0x214065(0x17a)]=_0x590806,this['_maxFormulaLimit']=Number[_0x214065(0x330)](_0x4fc7bc[_0x214065(0x2a2)]),this[_0x214065(0x2e2)]=Number[_0x214065(0x330)](_0x4fc7bc[_0x214065(0x3e1)]));}async[_0x356272(0x1d1)](_0x53b1c5){const _0x3eea62=_0x356272;var _0x444b14,_0x20a3d0;const _0x2cdb03=Date['now']();try{const _0x1fca49=((_0x444b14=this[_0x3eea62(0x129)]['getConfig'](_0x977231['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x444b14[_0x3eea62(0x3f3)])||_0x126473,_0x34e6e0=(await this[_0x3eea62(0x2b6)][_0x3eea62(0x22b)](_0x1fca49,{'body':JSON[_0x3eea62(0x332)]({'taskId':_0x53b1c5})}))[_0x3eea62(0x383)];if(((_0x20a3d0=_0x34e6e0[_0x3eea62(0x308)])==null?void 0x0:_0x20a3d0[_0x3eea62(0x296)])!==_0x343b04['OK'])return;this[_0x3eea62(0x260)](_0x34e6e0[_0x3eea62(0x3dc)],_0x2cdb03);}catch(_0x233446){this[_0x3eea62(0x3b4)][_0x3eea62(0x308)](_0x233446);}}async['_getFormulaLimitStatus'](_0x35e520){const _0x369189=_0x356272;var _0x996fce,_0x5d0b11;const _0x1ac5e2=Date[_0x369189(0x1f0)]();try{const _0x4cc47f=((_0x996fce=this[_0x369189(0x129)][_0x369189(0x39d)](_0x977231[_0x369189(0x1b1)]))==null?void 0x0:_0x996fce[_0x369189(0x248)])||_0x162b50,_0x1d1878=_0x35e520?_0x4cc47f+_0x369189(0x295)+encodeURIComponent(_0x35e520):_0x4cc47f,_0x5733ce=(await this['_httpService']['get'](_0x1d1878))[_0x369189(0x383)];if(((_0x5d0b11=_0x5733ce[_0x369189(0x308)])==null?void 0x0:_0x5d0b11[_0x369189(0x296)])!==_0x343b04['OK'])return;this[_0x369189(0x260)](_0x5733ce['limitInfo'],_0x1ac5e2);}catch(_0x328394){this[_0x369189(0x3b4)]['error'](_0x328394);}}async[_0x356272(0x2a0)](_0x2d1250){const _0x1e7a9a=_0x356272;var _0x325991,_0x3cd4e4;const _0x1266b6=Date[_0x1e7a9a(0x1f0)]();try{const _0x382c3c=((_0x325991=this[_0x1e7a9a(0x129)][_0x1e7a9a(0x39d)](_0x977231['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x325991[_0x1e7a9a(0x148)])||_0x5e0bee,_0x334e90=(await this[_0x1e7a9a(0x2b6)][_0x1e7a9a(0x22b)](_0x382c3c,{'body':JSON[_0x1e7a9a(0x332)]({'taskId':_0x2d1250})}))[_0x1e7a9a(0x383)];if(((_0x3cd4e4=_0x334e90[_0x1e7a9a(0x308)])==null?void 0x0:_0x3cd4e4[_0x1e7a9a(0x296)])!==_0x343b04['OK'])return;this[_0x1e7a9a(0x260)](_0x334e90[_0x1e7a9a(0x3dc)],_0x1266b6);}catch(_0x55f178){this['_logService']['error'](_0x55f178);}}[_0x356272(0x23c)](){const _0x370f1c=_0x356272;return this[_0x370f1c(0x3f5)]===0x0?!0x0:this[_0x370f1c(0x3f5)]-this[_0x370f1c(0x2e2)]>0x0;}[_0x356272(0x392)](){const _0x57f7eb=_0x356272;this['_pollingInterval']&&(clearTimeout(this[_0x57f7eb(0x37f)]),this[_0x57f7eb(0x37f)]=null);}[_0x356272(0x29c)](){const _0x5b3c30=_0x356272;this[_0x5b3c30(0x28b)][_0x5b3c30(0x15c)]({'content':this['_localeService']['t'](_0x5b3c30(0x210)),'type':_0x9f2908[_0x5b3c30(0x136)]['Loading']});}[_0x356272(0x255)](_0x362770){const _0x20bf87=_0x356272;for(const _0x389d34 of _0x362770){const {unitId:_0x2a6665,sheetId:_0x56c5af,range:_0x331a6e}=_0x389d34,_0x4bdfb6=this[_0x20bf87(0x28f)]['getUnit'](_0x2a6665);if(!_0x4bdfb6)continue;const _0x28d020=_0x4bdfb6[_0x20bf87(0x35f)](_0x56c5af);if(!_0x28d020)continue;const _0x5f5464=_0x28d020[_0x20bf87(0x329)]();for(let _0x5846c2=_0x331a6e[_0x20bf87(0x2f4)];_0x5846c2<=_0x331a6e[_0x20bf87(0x17d)];_0x5846c2++)for(let _0x27bd5c=_0x331a6e[_0x20bf87(0x117)];_0x27bd5c<=_0x331a6e['endColumn'];_0x27bd5c++){const _0x3ce0f8=_0x5f5464[_0x20bf87(0x37d)](_0x5846c2,_0x27bd5c);if(_0x3ce0f8&&(_0x3a6e21[_0x20bf87(0x2ee)](_0x3ce0f8['f'])||_0x3a6e21['isFormulaId'](_0x3ce0f8['si'])))return!0x0;}}return!0x1;}};_0x522554=_0x511fcc([_0x455b6a(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x149c92[_0x356272(0x3ea)])),_0x455b6a(0x1,_0x3a6e21['ICommandService']),_0x455b6a(0x2,_0x3a6e21[_0x356272(0x2f1)]),_0x455b6a(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x455b6a(0x4,_0x3a6e21['IUniverInstanceService']),_0x455b6a(0x5,_0x3a6e21['ILogService']),_0x455b6a(0x6,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['LocaleService']))],_0x522554);var _0x1240ba=Object[_0x356272(0x2dc)],_0x1e7e4c=(_0x4d5c24,_0x88efae,_0x591df1,_0x2cf788)=>{const _0x2d51e9=_0x356272;for(var _0x2317d6=_0x2cf788>0x1?void 0x0:_0x2cf788?_0x1240ba(_0x88efae,_0x591df1):_0x88efae,_0x35b466=_0x4d5c24[_0x2d51e9(0x3fa)]-0x1,_0x243235;_0x35b466>=0x0;_0x35b466--)(_0x243235=_0x4d5c24[_0x35b466])&&(_0x2317d6=_0x243235(_0x2317d6)||_0x2317d6);return _0x2317d6;},_0x563a16=(_0x1871c0,_0x8e6081)=>(_0xd623b0,_0x57d160)=>_0x8e6081(_0xd623b0,_0x57d160,_0x1871c0);let _0x4ccddd=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x25cda8,_0x32b820,_0x3a6ca8){const _0x258cc9=_0x356272;super(),_0x49e47d(this,_0x258cc9(0x273),new Map()),_0x49e47d(this,_0x258cc9(0x3ae),new Map()),_0x49e47d(this,_0x258cc9(0x406),!0x1),(this[_0x258cc9(0x129)]=_0x25cda8,this[_0x258cc9(0x367)]=_0x32b820,this['_revisionService']=_0x3a6ca8);}[_0x356272(0x149)](){const _0x17c517=_0x356272;this[_0x17c517(0x406)]=!0x0;}[_0x356272(0x232)](){const _0x35934e=_0x356272;this[_0x35934e(0x406)]=!0x1;}get[_0x356272(0x20a)](){const _0x1152e0=_0x356272;return this[_0x1152e0(0x3ae)];}[_0x356272(0x1a0)](){const _0x1a3558=_0x356272;this[_0x1a3558(0x2aa)]()[_0x1a3558(0x1e4)](()=>super[_0x1a3558(0x1a0)]());}async[_0x356272(0x3fd)](_0x44cfe2){const _0x288e7e=_0x356272;return this[_0x288e7e(0x406)]?null:this[_0x288e7e(0x367)]['getItem'](_0x977231[_0x288e7e(0x265)](_0x44cfe2));}async[_0x356272(0x125)](_0x17b928,_0x29a762){return!!this['_localStorageService']['setItem'](_0x17b928,_0x29a762);}[_0x356272(0x146)](_0xb60997,_0x465efb,_0x557d91,_0x5d95d4){const _0x59fd3f=_0x356272,_0x547025=this['_revisionService'][_0x59fd3f(0x322)](_0xb60997);this[_0x59fd3f(0x273)][_0x59fd3f(0x199)](_0xb60997,{'unitID':_0xb60997,'type':_0x465efb,'awaitingChangeset':_0x557d91,'mutations':_0x5d95d4,'rev':_0x547025}),this[_0x59fd3f(0x3ae)]['has'](_0xb60997)||this[_0x59fd3f(0x170)](_0xb60997);}[_0x356272(0x170)](_0x50229f){const _0x3e1b8f=_0x356272,_0x3f29ce=this['_getSaveTimeout']();_0x3f29ce===0x0?this['_saveCache'](_0x50229f):this[_0x3e1b8f(0x3ae)][_0x3e1b8f(0x199)](_0x50229f,setTimeout(()=>this[_0x3e1b8f(0x3f6)](_0x50229f),_0x3f29ce));}[_0x356272(0x13d)](){const _0x2b4f6a=_0x356272;var _0x5300bc;return(_0x5300bc=this['_configService'][_0x2b4f6a(0x39d)](_0x977231[_0x2b4f6a(0x2ea)]))!=null?_0x5300bc:_0x977231[_0x2b4f6a(0x3b9)];}[_0x356272(0x3f6)](_0x65754e){const _0x1a4a71=_0x356272,_0x33e22f=this[_0x1a4a71(0x3ae)][_0x1a4a71(0x201)](_0x65754e);return _0x33e22f!==void 0x0&&window[_0x1a4a71(0x394)](_0x33e22f),this[_0x1a4a71(0x367)][_0x1a4a71(0x294)](_0x977231[_0x1a4a71(0x265)](_0x65754e),this[_0x1a4a71(0x273)][_0x1a4a71(0x201)](_0x65754e))[_0x1a4a71(0x1e4)](()=>this['_saveTaskMap'][_0x1a4a71(0x1f1)](_0x65754e));}async['exhaustSavingTask'](){const _0x5577c7=_0x356272,_0xac4177=[];this[_0x5577c7(0x3ae)]['forEach']((_0xbe8773,_0x13bb0d)=>{const _0x270f61=_0x5577c7;window[_0x270f61(0x394)](_0xbe8773),_0xac4177[_0x270f61(0x31a)](this[_0x270f61(0x3f6)](_0x13bb0d)['then'](()=>{const _0xa548a8=_0x270f61;this[_0xa548a8(0x3ae)][_0xa548a8(0x1f1)](_0x13bb0d);}));}),await Promise[_0x5577c7(0x229)](_0xac4177);}};_0x4ccddd=_0x1e7e4c([_0x563a16(0x0,_0x3a6e21[_0x356272(0x2f1)]),_0x563a16(0x1,_0x3a6e21['ILocalStorageService']),_0x563a16(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3d0ca4[_0x356272(0x31b)]))],_0x4ccddd);class _0xc8ffc6 extends _0x3a6e21['RxDisposable']{constructor(){const _0x33cf54=_0x356272;super(),_0x49e47d(this,_0x33cf54(0x23a)),this['urlChange$']=_0x2289a4[_0x33cf54(0x1f4)](window,_0x33cf54(0x1dc))[_0x33cf54(0x328)](_0x2289a4[_0x33cf54(0x39e)](this[_0x33cf54(0x121)]),_0x2289a4[_0x33cf54(0x25a)](0x1),_0x2289a4[_0x33cf54(0x166)](void 0x0));}[_0x356272(0x40a)](_0x30e76d,_0x3182bf,_0x612dcd=!0x1){const _0x5d2506=_0x356272,_0x415b3b=new URL(window['location'][_0x5d2506(0x1fb)]);_0x415b3b[_0x5d2506(0x147)][_0x5d2506(0x199)](_0x30e76d,_0x3182bf),_0x612dcd?window[_0x5d2506(0x3c1)]['replaceState']('','',_0x415b3b[_0x5d2506(0x161)]()):window[_0x5d2506(0x3c1)]['pushState']('','',_0x415b3b[_0x5d2506(0x161)]());}['removeParam'](_0x5a585c,_0x3b19d3=!0x1){const _0x438289=_0x356272,_0x577835=new URL(window['location'][_0x438289(0x1fb)]);_0x577835[_0x438289(0x147)][_0x438289(0x1f1)](_0x5a585c),_0x3b19d3?window[_0x438289(0x3c1)][_0x438289(0x336)]('','',_0x577835['toString']()):window[_0x438289(0x3c1)][_0x438289(0x211)]('','',_0x577835['toString']());}['getParam'](_0x5d1d43){const _0x5a0a60=_0x356272;var _0x2e46e2;return(_0x2e46e2=new URL(window[_0x5a0a60(0x1eb)][_0x5a0a60(0x1fb)])['searchParams']['get'](_0x5d1d43))!=null?_0x2e46e2:void 0x0;}}var _0x1ce4f7=Object['defineProperty'],_0x3a7f9e=Object[_0x356272(0x2dc)],_0x36fa01=(_0x46a759,_0x34533f,_0x53d347)=>_0x34533f in _0x46a759?_0x1ce4f7(_0x46a759,_0x34533f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d347}):_0x46a759[_0x34533f]=_0x53d347,_0x4748c8=(_0x50fc1c,_0x5ef174,_0xff1742,_0x406bd3)=>{const _0x52eb85=_0x356272;for(var _0x285492=_0x406bd3>0x1?void 0x0:_0x406bd3?_0x3a7f9e(_0x5ef174,_0xff1742):_0x5ef174,_0x16ad83=_0x50fc1c[_0x52eb85(0x3fa)]-0x1,_0x29ae02;_0x16ad83>=0x0;_0x16ad83--)(_0x29ae02=_0x50fc1c[_0x16ad83])&&(_0x285492=_0x29ae02(_0x285492)||_0x285492);return _0x285492;},_0x545dbc=(_0xd7c234,_0x1344fc)=>(_0x49ca5c,_0x3c07b2)=>_0x1344fc(_0x49ca5c,_0x3c07b2,_0xd7c234),_0x288836=(_0x4c23ef,_0x215968,_0x2e5233)=>_0x36fa01(_0x4c23ef,_0x215968+'',_0x2e5233);const _0x3d9241=_0x356272(0x3f4);_0x4114c5[_0x356272(0x1db)]=class extends _0x3a6e21['Plugin']{constructor(_0x5d1329=_0x2da973,_0x5dbe02,_0x39737d,_0x40c8cf){const _0x4724ce=_0x356272;super(),this[_0x4724ce(0x122)]=_0x5d1329,this[_0x4724ce(0x218)]=_0x5dbe02,this[_0x4724ce(0x228)]=_0x39737d,this[_0x4724ce(0x129)]=_0x40c8cf;const {..._0xea764b}=_0x3a6e21[_0x4724ce(0x3a3)]({},_0x2da973,this[_0x4724ce(0x122)]);this['_configService'][_0x4724ce(0x144)](_0x2f3b95,_0xea764b);}[_0x356272(0x3bb)](){const _0x1d3ac2=_0x356272;this['_registerDependencies'](),this[_0x1d3ac2(0x26c)]();}[_0x356272(0x235)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3c30fc=_0x356272;var _0x567dfe;const _0x3e1111=[[_0x3832ab],[_0x522554],[_0x220ce5],[_0x275c6d],[_0x50ea12],[_0x51f3c5],[_0xb5c967,{'useClass':_0xc8ffc6}],[_0x56d9d2[_0x3c30fc(0x36b)],{'useClass':_0x56d9d2[_0x3c30fc(0x3d5)]}],[_0x977231[_0x3c30fc(0x11c)],{'useClass':_0x4ccddd}],[_0x4114c5[_0x3c30fc(0x20b)]],[_0x3b664f],[_0x3bdfa5],[_0x277f63],[_0x3101a6],[_0x4114c5[_0x3c30fc(0x141)]]];this[_0x3c30fc(0x122)][_0x3c30fc(0x302)]&&_0x3e1111[_0x3c30fc(0x31a)]([_0x327c1e]),_0x3a6e21[_0x3c30fc(0x2cf)](this[_0x3c30fc(0x228)],_0x3a6e21[_0x3c30fc(0x3d8)](_0x3e1111,(_0x567dfe=this['_config'])==null?void 0x0:_0x567dfe[_0x3c30fc(0x207)]));}['_registerRenderDependencies'](){const _0x4a14c6=_0x356272;this['disposeWithMe'](this[_0x4a14c6(0x218)][_0x4a14c6(0x17c)](_0x3a6e21[_0x4a14c6(0x2d4)][_0x4a14c6(0x2fb)],[_0x3aff72])),this['disposeWithMe'](this[_0x4a14c6(0x218)][_0x4a14c6(0x17c)](_0x3a6e21[_0x4a14c6(0x2d4)][_0x4a14c6(0x19b)],[_0x431563]));}[_0x356272(0x26c)](){const _0x1d08d0=_0x356272;_0x3a6e21[_0x1d08d0(0x282)](this[_0x1d08d0(0x228)],[[_0x277f63],[_0x4114c5[_0x1d08d0(0x20b)]],[_0x3b664f],[_0x3bdfa5],[_0x4114c5[_0x1d08d0(0x141)]],[_0x522554]]),this[_0x1d08d0(0x122)][_0x1d08d0(0x302)]&&_0x3a6e21[_0x1d08d0(0x282)](this[_0x1d08d0(0x228)],[[_0x327c1e]]);}},_0x288836(_0x4114c5[_0x356272(0x1db)],_0x356272(0x357),_0x3d9241),_0x4114c5[_0x356272(0x1db)]=_0x4748c8([_0x3a6e21[_0x356272(0x2a6)](_0x977231[_0x356272(0x204)]),_0x545dbc(0x1,_0x946f81[_0x356272(0x395)]),_0x545dbc(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['Injector'])),_0x545dbc(0x3,_0x3a6e21[_0x356272(0x2f1)])],_0x4114c5['UniverCollaborationClientUIPlugin']);var _0x286dd=Object[_0x356272(0x2dc)],_0xdbeb6e=(_0x7e8aa,_0xe92195,_0x10a09f,_0x313127)=>{const _0xd30ac6=_0x356272;for(var _0xa1bba7=_0x313127>0x1?void 0x0:_0x313127?_0x286dd(_0xe92195,_0x10a09f):_0xe92195,_0x2d2ee7=_0x7e8aa[_0xd30ac6(0x3fa)]-0x1,_0x5d4afe;_0x2d2ee7>=0x0;_0x2d2ee7--)(_0x5d4afe=_0x7e8aa[_0x2d2ee7])&&(_0xa1bba7=_0x5d4afe(_0xa1bba7)||_0xa1bba7);return _0xa1bba7;},_0x908b65=(_0x36563a,_0x1b3b48)=>(_0x15d8cb,_0x1ec365)=>_0x1b3b48(_0x15d8cb,_0x1ec365,_0x36563a);_0x4114c5[_0x356272(0x33e)]=class extends _0x977231['CollaborationSocketService']{constructor(_0x5e2b72,_0x2e3ed1,_0x1418b7,_0x234aec,_0x55d215){super(_0x5e2b72,_0x2e3ed1,_0x1418b7,_0x234aec,_0x55d215);}async[_0x356272(0x236)](_0x33be4d){const _0x112288=_0x356272,_0x24236e=await this[_0x112288(0x206)](),_0x24f142=this[_0x112288(0x24a)](_0x33be4d,_0x24236e);return this[_0x112288(0x167)](_0x24f142);}['_createSocketURL'](_0x57408e,_0x349ff3){const _0x28b170=_0x356272,_0xa00744=typeof window>'u'?new URL(_0x57408e):new URL(_0x57408e,window[_0x28b170(0x1eb)][_0x28b170(0x274)]);_0xa00744[_0x28b170(0x147)][_0x28b170(0x199)](_0x28b170(0x182),_0x349ff3);const _0x2d463e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28b170(0x1eb)][_0x28b170(0x16b)]);return _0x2d463e[_0x28b170(0x201)](_0x28b170(0x179))&&_0xa00744[_0x28b170(0x147)][_0x28b170(0x199)]('runId',_0x2d463e[_0x28b170(0x201)]('runId')),_0xa00744[_0x28b170(0x161)]();}async[_0x356272(0x206)](){const _0x366597=_0x356272;var _0x1ae5ff,_0x2ad36d,_0x31a73d;const _0x44dda7=this[_0x366597(0x129)]['getConfig'](_0x977231[_0x366597(0x1b1)]),_0x490327=(_0x1ae5ff=_0x44dda7==null?void 0x0:_0x44dda7[_0x366597(0x3c0)])!=null?_0x1ae5ff:_0x977231[_0x366597(0x335)];return(_0x31a73d=(_0x2ad36d=(await this[_0x366597(0x2b6)][_0x366597(0x201)](_0x490327,{'headers':{'Content-Type':_0x366597(0x372)}}))['body'])==null?void 0x0:_0x2ad36d['ticket'])!=null?_0x31a73d:'';}},_0x4114c5[_0x356272(0x33e)]=_0xdbeb6e([_0x908b65(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x908b65(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x908b65(0x2,_0x3a6e21['IConfigService']),_0x908b65(0x3,_0x3a6e21[_0x356272(0x266)]),_0x908b65(0x4,_0x3d0ca4['ISnapshotServerService'])],_0x4114c5[_0x356272(0x33e)]);var _0x1f79ad=Object[_0x356272(0x2dc)],_0x55b3f8=(_0x1acb78,_0x4687ce,_0x41ffc6,_0x5a0904)=>{const _0x16fc01=_0x356272;for(var _0x454167=_0x5a0904>0x1?void 0x0:_0x5a0904?_0x1f79ad(_0x4687ce,_0x41ffc6):_0x4687ce,_0x197a3d=_0x1acb78[_0x16fc01(0x3fa)]-0x1,_0x9464be;_0x197a3d>=0x0;_0x197a3d--)(_0x9464be=_0x1acb78[_0x197a3d])&&(_0x454167=_0x9464be(_0x454167)||_0x454167);return _0x454167;},_0x17eead=(_0x3db3ee,_0xf30ca3)=>(_0x424adc,_0x1f8c5a)=>_0xf30ca3(_0x424adc,_0x1f8c5a,_0x3db3ee);_0x4114c5[_0x356272(0x313)]=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x1eebf6,_0x41eb4a,_0xe9134d){const _0x297d76=_0x356272;super(),this['_instanceService']=_0x1eebf6,this[_0x297d76(0x2b6)]=_0x41eb4a,this['_configService']=_0xe9134d;}async[_0x356272(0x3c6)](_0x185867,_0x5ec6fb,_0x1ee5c9,..._0x2ff73d){const _0x4784b7=_0x356272;var _0x4be693,_0x5c5a17,_0x25bb80,_0x423588;const _0x437e95=this['_instanceService'][_0x4784b7(0x3ce)]();if(!_0x437e95)throw new Error(_0x4784b7(0x299));const _0x3b6028=((_0x4be693=this[_0x4784b7(0x129)]['getConfig'](_0x977231[_0x4784b7(0x2b7)]))!=null?_0x4be693:_0x977231[_0x4784b7(0x3b3)])+'/'+_0x185867+_0x4784b7(0x3f0)+_0x5ec6fb,_0x20fa06=new URL(window[_0x4784b7(0x1eb)][_0x4784b7(0x1fb)]),_0x11bd78={'scriptId':_0x185867,'runId':(_0x5c5a17=_0x20fa06['searchParams'][_0x4784b7(0x201)](_0x4784b7(0x179)))!=null?_0x5c5a17:'','function':_0x5ec6fb,'unitId':_0x437e95[_0x4784b7(0x239)](),'argsOfFunction':JSON[_0x4784b7(0x332)](_0x2ff73d),'invokeId':(_0x25bb80=_0x1ee5c9[_0x4784b7(0x369)])!=null?_0x25bb80:'','executionId':(_0x423588=_0x1ee5c9[_0x4784b7(0x233)])!=null?_0x423588:''};try{const _0x467a36=await this[_0x4784b7(0x2b6)][_0x4784b7(0x22b)](_0x3b6028,{'body':_0x11bd78});return _0x467a36[_0x4784b7(0x383)][_0x4784b7(0x308)]&&_0x467a36[_0x4784b7(0x383)][_0x4784b7(0x308)][_0x4784b7(0x296)]!==_0x343b04['OK']?_0x4784b7(0x20d):_0x467a36['body'][_0x4784b7(0x1f6)];}catch{return _0x4784b7(0x20d);}}},_0x4114c5[_0x356272(0x313)]=_0x55b3f8([_0x17eead(0x0,_0x3a6e21[_0x356272(0x354)]),_0x17eead(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x17eead(0x2,_0x3a6e21[_0x356272(0x2f1)])],_0x4114c5[_0x356272(0x313)]);const _0x4468cc=0x7530,_0x35f582=_0x356272(0x205);class _0x472550 extends _0x3a6e21['Disposable']{constructor(){const _0x4c168f=_0x356272;super(),_0x49e47d(this,_0x4c168f(0x2cb),_0x3a6e21[_0x4c168f(0x3de)]()),_0x49e47d(this,_0x4c168f(0x208),new Set()),_0x49e47d(this,_0x4c168f(0x352),new Map()),_0x49e47d(this,_0x4c168f(0x3c2),null),_0x49e47d(this,_0x4c168f(0x1f7),new Map()),_0x49e47d(this,'_unitStatus',new Map()),this[_0x4c168f(0x2e0)]();}[_0x356272(0x1a0)](){const _0x57e4cb=_0x356272;super['dispose'](),this[_0x57e4cb(0x1f7)]['forEach']((_0x235900,_0x134855)=>this['_removeClearOtherTimer'](_0x134855)),this['_heartbeatTimer']&&window[_0x57e4cb(0x3ff)](this[_0x57e4cb(0x3c2)]);}[_0x356272(0x24b)](_0x3ec587){const _0x11f2da=_0x356272;return this[_0x11f2da(0x371)](_0x3ec587)[_0x11f2da(0x328)](_0x2289a4[_0x11f2da(0x169)]());}['editingUnit'](_0x3ee909){const _0x211185=_0x356272;this[_0x211185(0x208)][_0x211185(0x259)]===0x0&&this['_scheduleHeartbeat'](),this[_0x211185(0x208)][_0x211185(0x1d0)](_0x3ee909),this[_0x211185(0x2df)]({'type':0x0,'memberID':this[_0x211185(0x2cb)],'unitIDs':[_0x3ee909],'isForwarded':!0x1});}[_0x356272(0x1d6)](_0x584f7a){const _0x404f00=_0x356272;this[_0x404f00(0x208)][_0x404f00(0x1f1)](_0x584f7a),this[_0x404f00(0x208)][_0x404f00(0x259)]===0x0&&this['_heartbeatTimer']&&window[_0x404f00(0x3ff)](this[_0x404f00(0x3c2)]);}[_0x356272(0x2e0)](){const _0x2f7349=_0x356272;this['disposeWithMe'](_0x3a6e21[_0x2f7349(0x3eb)](_0x2289a4[_0x2f7349(0x1f4)](window,_0x2f7349(0x2c3))[_0x2f7349(0x399)](_0x32568b=>{const _0x549958=_0x2f7349;if(_0x32568b[_0x549958(0x283)]!==_0x35f582||!_0x32568b[_0x549958(0x321)])return;const _0x4afaf0=JSON[_0x549958(0x38c)](_0x32568b['newValue']);this[_0x549958(0x268)](_0x4afaf0);}))),window[_0x2f7349(0x1a7)]('unload',()=>this[_0x2f7349(0x2df)]({'type':0x1,'memberID':this[_0x2f7349(0x2cb)],'unitIDs':Array[_0x2f7349(0x269)](this[_0x2f7349(0x208)])}));}[_0x356272(0x268)](_0x595565){const _0x4b8fac=_0x356272;switch(_0x595565['type']){case 0x0:this[_0x4b8fac(0x31c)](_0x595565);break;case 0x1:this[_0x4b8fac(0x252)](_0x595565);break;case 0x2:this[_0x4b8fac(0x1c3)](_0x595565);break;}}[_0x356272(0x31c)](_0x3a899d){const _0x5067b6=_0x356272,{unitIDs:_0x59b5aa,memberID:_0x1ce118,isForwarded:_0x4fc5a6}=_0x3a899d;_0x59b5aa[_0x5067b6(0x280)](_0x1c3a5c=>{const _0x185f5e=_0x5067b6;if(!_0x4fc5a6&&this[_0x185f5e(0x352)][_0x185f5e(0x217)](_0x1c3a5c)&&this[_0x185f5e(0x371)](_0x1c3a5c)[_0x185f5e(0x2ed)](_0x977231[_0x185f5e(0x312)][_0x185f5e(0x398)]),!this[_0x185f5e(0x352)]['has'](_0x1c3a5c)||!this[_0x185f5e(0x352)][_0x185f5e(0x201)](_0x1c3a5c)[_0x185f5e(0x217)](_0x1ce118)){const _0x42619b=this[_0x185f5e(0x352)]['get'](_0x1c3a5c)||new Set();_0x42619b[_0x185f5e(0x1d0)](_0x1ce118),this[_0x185f5e(0x352)][_0x185f5e(0x199)](_0x1c3a5c,_0x42619b),this[_0x185f5e(0x374)](_0x1ce118);}}),_0x4fc5a6||this['_send']({'type':0x0,'memberID':this[_0x5067b6(0x2cb)],'unitIDs':[...this[_0x5067b6(0x208)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x26fd4d){const _0x18c8df=_0x356272;this[_0x18c8df(0x164)](_0x26fd4d);const _0x599477=window[_0x18c8df(0x1ab)](()=>{const _0x14860f=_0x18c8df;this[_0x14860f(0x352)][_0x14860f(0x280)](_0x1a4de2=>{const _0x4bed55=_0x14860f;_0x1a4de2[_0x4bed55(0x1f1)](_0x26fd4d);});},_0x4468cc*0x2);this[_0x18c8df(0x1f7)][_0x18c8df(0x199)](_0x26fd4d,_0x599477);}[_0x356272(0x164)](_0x12fb37){const _0x4831a1=_0x356272;if(this[_0x4831a1(0x1f7)][_0x4831a1(0x217)](_0x12fb37)){const _0x48a752=this[_0x4831a1(0x1f7)][_0x4831a1(0x201)](_0x12fb37);_0x48a752&&window[_0x4831a1(0x394)](_0x48a752),this[_0x4831a1(0x1f7)][_0x4831a1(0x199)](_0x12fb37,null);}}[_0x356272(0x252)](_0x7ed5b){const _0x4ad343=_0x356272,{memberID:_0x4fea10,unitIDs:_0x34b095}=_0x7ed5b;_0x34b095[_0x4ad343(0x280)](_0x41e296=>{const _0x511069=_0x4ad343;var _0x143406;const _0x5ab304=this[_0x511069(0x352)][_0x511069(0x201)](_0x41e296);_0x5ab304&&(_0x5ab304[_0x511069(0x1f1)](_0x4fea10),(_0x143406=this[_0x511069(0x371)](_0x41e296))==null||_0x143406[_0x511069(0x2ed)](_0x5ab304[_0x511069(0x259)]===0x0?_0x977231[_0x511069(0x312)][_0x511069(0x135)]:_0x977231[_0x511069(0x312)][_0x511069(0x398)]));}),this[_0x4ad343(0x164)](_0x4fea10);}[_0x356272(0x1c3)](_0x52f610){const _0x50c95f=_0x356272;this[_0x50c95f(0x374)](_0x52f610[_0x50c95f(0x25e)]);}['_send'](_0x430e30){const _0x2e345a=_0x356272;localStorage['setItem'](_0x35f582,JSON[_0x2e345a(0x332)](_0x430e30));}[_0x356272(0x3e6)](){const _0x1df90f=_0x356272;this['_heartbeatTimer']=window[_0x1df90f(0x1ce)](()=>{const _0x139a36=_0x1df90f;this[_0x139a36(0x2df)]({'type':0x2,'memberID':this[_0x139a36(0x2cb)]});},_0x4468cc);}[_0x356272(0x371)](_0x20a4fe){const _0x4b3c76=_0x356272;return this[_0x4b3c76(0x36c)][_0x4b3c76(0x217)](_0x20a4fe)||this[_0x4b3c76(0x36c)]['set'](_0x20a4fe,new _0x2289a4[(_0x4b3c76(0x231))](_0x977231[_0x4b3c76(0x312)][_0x4b3c76(0x135)])),this['_unitStatus']['get'](_0x20a4fe);}}_0x4114c5['IURLService']=_0xb5c967,_0x4114c5[_0x356272(0x3dd)]=_0x4266cc,_0x4114c5[_0x356272(0x37c)]=_0x472550,_0x4114c5[_0x356272(0x22d)]=_0xc8ffc6,Object[_0x356272(0x342)](_0x4114c5,Symbol[_0x356272(0x226)],{'value':_0x356272(0x2c5)});}));function _0x4506(){const _0x4c25de=['_collabSessionService','filter','displayName','COLORS','SheetSkeletonManagerService','_handleLeaveEvent','collaboration.single-unit.warning','activeSheet$','_hasFormulaInDirtyRanges','UniverDrawing','Disposable','_docTransformIMECacheService','size','shareReplay','OnLineIcon','getCurrentSelections','fromEventSubject','memberID','INVALID_INVITE_CODE','_setFormulaLimitStatus','ITransformService','_labelPosition','registerBeforeClose','filename','getLocalCacheKey','ILogService','switchMap','_handleEvent','from','formula.calculation.started','roomMembers','_initDependencies','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_color','removeEventListener','UniverSheetsUi','_collaborationController','_dataLoaderService','_cachedData','origin','session.will-retry','transformMutationsWithChangeset','_assignedColors','NOT_FOUND','saveImage','defs','IBeforeCloseService','map','_startDocCollabCursor','attrs','name','forEach','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','touchDependencies','key','jsxs','stack','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/universer-api/license/formula/limit/status','USER_NOT_FOUND','Warning','_messageService','_initStatusListener','getColorFromTheme','collab-rect-range-','_univerInstanceService','send','addClipboardHook','subscribeEvent','stageInfo','setItem','?taskId=','code','_startSheetCollabCursor','_document','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RichTextEditingMutation','cursorInfo$','_showGuardMessage','UNRECOGNIZED','currentTheme$','http://www.w3.org/2000/svg','_releaseCalculationLimit','mutations','maxFormulaLimit','defIds','USER_IS_ANONYMOUS','DeleteRangeMoveLeftCommandId','DependentOn','PAYMENT_CHANNEL_NOT_SUPPORT','_initCommandInterceptor','_setupBeforeClosingHandler','exhaustSavingTask','/universer-api/license/formula/limit/done','children','RemoveColCommandId','@univerjs/rpc','getAncestorScale','DocIMEInputManagerService','roomMembers$','doc.mutation.rich-text-editing','UniverProCollaboration','random','AUTHORIZE_CODE_ILLEGAL','_httpService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','debounce','getActiveRange','CollaborationStatus','@univerjs/engine-render','collabStatus.synced','_beforeCloseService','_textBubble','IRemoteInstanceService','transformByState','YUUMI_UNABLE_LOAD_URL','_drawRectRange','storage','CollaborationUIEventId','Module','_render','INVITE_CODE_REQUIRED','triggerDblclick','_docClipboardService','TOO_MANY_REQUESTS','_id','_shapes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_status$','registerDependencies','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','collab-client.tooltip.reconnect','_transformPreviousActiveRange','CHANGESET_REVISION_CONFILICT','UniverInstanceType','LOGIN_TOKEN_PROCESSING_FAILED','INVITE_CODE_HAS_BEEN_UES','YUUMI_RATE_OVER_LIMIT','APPLY_REJECT','SessionStatus','_taskIds','handleInsertCol','getOwnPropertyDescriptor','LICENSE_EXPORT_SIZE_EXCEEDED','_hovered','_send','_init','0\x200\x2017\x2016','_currentUsage','SNAPSHOT_INVALID_SNAPSHOT','_updateCollabCursors','executeCommand','[Unhandled\x20Rejection]:\x20','_urlService','REDEMPTION_CODE_NOT_STARTED','162WkRzAb','LOCAL_CACHE_INTERVAL_KEY','jsx','@univerjs/sheets-ui','next','isFormulaString','SNAPSHOT_HAS_BEEN_REMOVED','transformIMECache','IConfigService','replaceDocRanges','rxjs/operators','startRow','NodePositionConvertToCursor','HTTPService','INVALID_ARGUMENT','amd','MOBILE_VERIFY_CODE_MISMATCH','_onCursorUpdate','UNIVER_DOC','backgroundColor','_transformService','round','getActiveSheet','178630izNfYH','HEADER_MENU','enableFrontendLog','fillText','560768rnWHfZ','_getAnchorBounding','ThemeService','_cursor','error','div','xlink:href','CollaborationSessionService','getStateCache','getOffsetConfig','getSheetId','_draw','AWAITING','_uploadLog','UnitStatus','RemoteUniscriptService','_themeService','deepClone','TEXT_RANGE_LAYER_INDEX','ERROR_AGAIN','entries','colno','push','RevisionService','_handleJoinEvent','_anchor','ENTITLE_INSUFFICIENT_QUOTA','throttleTime','message','newValue','getCurrentRevOfUnit','permission.title','collaboration.offline-data-not-saved','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','_docStateChangeManagerService','UniverEngineRender','pipe','getCellMatrix','_memberID','_transformHistoryAndStateStack','_localCacheService','NOT_COLLAB','_cursorInfo$','REDEMPTION_CODE_HAS_BEEN_CREATED','parseInt','...','stringify','univerjs-icon\x20univerjs-icon-','InsertRangeMoveRightCommandId','DEFAULT_WS_SESSION_TICKET_URL','replaceState','TEXT','AWAITING_WITH_PENDING','OffLineIcon','InsertRangeMoveDownCommandId','_toggleOnline','measureText','object','BrowserCollaborationSocketService','OFFLINE','sheetID','ENTITLE_CHAT_LIMIT_EXCEED','defineProperty','beforeCommandExecuted','REDEMPTION_INVALID_CODE','_getFormulaLimitStatus','values','beginPath','moveTo','CollaborationUIEventService','useDependency','_updateLocalCursor','unshift','ENTITLE_NEED_BILLING_ADDRESS','red.300','_initCommandExecutedListener','width','debug','_unitOnClients','23156VDViuc','IUniverInstanceService','bottom','_scene','pluginName','FormulaExecutedStateType','ONLINE','createElement','_localeService','_colorAssignService','USER_NOT_INVITED_CODE','LICENSE_MAX_UNITS_EXCEEDED','getSheetBySheetId','CanceledError','_refreshCollabCursors','setUndoRedoMutationParamsCache','univer-mr-2\x20univer-flex\x20univer-text-xl','Error','useRef','@univerjs/sheets','_localStorageService','rxjs','invokeId','LocaleService','ISocketService','_unitStatus','makeDirty','Vector2','drawWith','_docTransformStateCacheService','_ensureSubject','application/json','UniverProCollaborationClientUi','_scheduleClearOtherTimer','@univerjs/docs-ui','labelPosition','START_CALCULATION','top','1em','Rect','MemberService','WebBrowserSingleActiveUnitService','getValue','_collaborationSessionService','_pollingInterval','_sheetSkeletonManagerService','idSuffix','entityInit$','body','YUUMI_CONNECTOR_URL_NOT_FOUND','transformRemoteChangeset','data','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_collabCursorState$','_commandService','whenReady','black','parse','@univerjs-pro/collaboration','currentSkeleton$','runRefRangeMutations','SYNCED','fillRule','_clearPolling','collaboration.closeRoom','clearTimeout','IRenderManagerService','_initResize','getCollabEntity$','OTHER_CLIENTS_EDITING','subscribe','InsertColCommandId','SetDocZoomRatioOperation','off-line-icon_clip0_910_343','getConfig','takeUntil','getColor','createInstance','_backgroundColor','setAlpha','merge','_name','CLOSE_ROOM','off-line-icon','collabStatus.offline','OTHER_CLIENT_EDITING','SUCCESS','ranges','react/jsx-runtime','_getScale','Shape','_saveTaskMap','EMAIL_HAS_BEEN_BOUND','find','init','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_logService','handleMoveRange','disposeWithMe','formula.calculation.unable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL','WECHAT_HAS_BEEN_BOUND','onStarting','min','function','url(#$1','registerRefRange','wsSessionTicketUrl','history','_heartbeatTimer','[CollaborationDataLoaderController]','LICENSE_IMPORT_SIZE_EXCEEDED','resize','runOnServer','unit','univer-flex\x20univer-items-center','_drawAnchor','session.connection-failed','ENTITLE_DUP_SUBSCRIPTION','DisposableCollection','unitId','getFocusedUnit','UniverIcon','_setupSubUnitSync','skeleton','ALREADY_EXISTS','DeleteRangeMoveUpCommandId','onPointerMove$','WebSocketService','_getMergeRange','row','mergeOverrideWithDependencies','_imageIoService','m2Prime','_monkeyPatchLogService','limitInfo','SheetCollabCursorShape','generateRandomId','params','isActive','currentUsage','setActiveRange','onCommandExecuted','rgba(255,\x20255,\x20255,\x200.01)','LICENSE_DISTRO_REJECTED','_scheduleHeartbeat','277218SpGpLI','/universer-api/frontend/logs','jiqing.500','IMessageService','toDisposable','_syncEditingCollabCursorService','symbol','fillStyle','svg','/run/','evenodd','81720hFWNZR','startFormulaLimitUrl','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_maxFormulaLimit','_saveCache','5666983zyNZIs','uni.network.url-service','MUTATION','length','8714772xhhUXz','lineTo','loadOfflineData','72Hjzpjh','clearInterval','@univerjs/design','@univerjs/core','FromArray','column','LOGIN_FAILED','handleDeleteRangeMoveUp','_disabled','ENTITLE_INVALID_COUPON_CODE','getTypeOfUnitAdded$','UniverEngineFormula','setParam','_anchorDot','getSheetObject','addObject','_onRefRangeChange','M0\x200H16V16H0z','startColumn','YUUMI_ALL_TABLES_IS_INVALID','SUBMIT_CHANGESET_TIMEOUT','lineno','_context','ILocalCacheService','getParam','unhandledrejection','_lastPointer','getDocRanges','dispose$','_config','0\x200\x2016\x2016','restore','saveOfflineData','INTERNAL_ERROR','_collaborationUIEventService','source','_configService','DocCollaborationEntity','_uiPartsService','ENSURE_SNAPSHOT_EXECUTION','_session','APPLY_DUPLICATED','mask','Unknown\x20user','assign','collabStatus.conflict','getUndoRedoMutationParamsCache','actions','NO_OTHER_CLIENTS_EDITING','MessageType','/universer-api/license/formula/limit/start','unitID','_docSyncEditingCollabCursorService','docStateChange$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformStateCache','_getSaveTimeout','_eventUnsubscribe','RegularPolygon','_toggleOffline','CollaborationDataLoaderController','subUnitId','deserializeRangeWithSheet','setConfig','green.600','updateOfflineData','searchParams','releaseFormulaLimitUrl','disableLocalCache','UNAUTHENTICATED','DataLoaderService','ENTITLE_REPORT_LIMIT_EXCEED','collab-text-range-','type','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','ENTITLE_COUPON_EXPIRED','path','split','setShapeProps','handleIRemoveCol','ENTITLE_COUPON_USED_UP','onMouseMove','#FFF','save','_initEvent','UniverDocsUi','show','SetTextSelectionsOperation','flatMap','getTypeOfUnitDisposed$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toString','NodePositionConvertToRectRange','findNodePositionByCharIndex','_removeClearOtherTimer','_drawTextRange','mapTo','_doCreateSocket','asObservable','distinctUntilChanged','YUUMI_SUBSCRIPTION_NOT_FOUND','search','none','_hover','_docSkeletonManagerService','eventID','_scheduleSaving','@univerjs/engine-formula','unsubscribe','_colorIndex','fill','contains','isArray','onPointerLeave$','clsx','runId','_lastResponseTimestamp','transformMutation','registerRenderModule','endRow','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CollaborationEvent','CollaborationController','_checkAndWaitForCalculationPermission','sessionTicket','JOIN_ROOM_FAILED','_notificationService','requireSession','getMember','textRanges','connectInjector','SetFormulaCalculationNotificationMutation','_docTransformSelectionsService','shift','color','UniverUi','text','height','arc','selection','CURRENT_STATUS_CANNOT_OPERATE','undoState','_online','_hideTimer','collabStatus.notCollab','max','8oNDeHb','set','imageSourceType','UNIVER_SHEET','REDEMPTION_USER_NOT_ELIGIBLE','Success','_initUnhandledRejectionListener','getMemberID','dispose','UPDATE_CURSOR','RxDisposable','PERMISSION_DENIED','stage','Inject','_docSkeleton','addEventListener','serializeRangeWithSheet','m1Prime','loadUnit','setTimeout','onTransformChange$','url(#off-line-icon_clip0_910_343)','sessionStatus$','combineLatest','YUUMI_URL_COL_OUT_OF_RANGE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','white','reason','REDEMPTION_CODE_INACTIVE','EMAIL_VERIFY_CODE_MISMATCH','_updateSubUnitFromURLParams','UNDEFINED','_cursors','startsWith','CONNECTOR_DATA_TOO_LARGE','use','_getSheetObject','ColorKit','clipPath','handleInsertRow','addHandlerCallback','on-line-icon','current','_handleHeartbeatEvent','handleDeleteRangeMoveLeft','includes','Rectangle','_initStatusComponent','FETCH_MISS','IDocClipboardService','_initUserListener','complete','getCellPositionByOffset','currentColor','setInterval','getCoordByCell','add','_startCalculationLimit','purple.300','VIEW_MAIN','getRenderById','reconnect','disposeUnit','debounceTime','Tooltip','SetFormulaCalculationStartMutation','_initEntityListener','UniverCollaborationClientUIPlugin','popstate','_onCursorDelete','useCallback','CONFLICT','handleInsertRangeMoveRight','colorChannel1','_handleHover','EffectRefRangId','then','replace','YUUMI_AI_RUN_FAILED','_cursorShapes','REDEMPTION_CODE_FULLY_REDEEMED','collabStatus.syncing','APPLY_PERMISSION_DENIED','location','onPointerEnter$','toRgbString','blue.400','handleInsertRangeMoveDown','now','delete','_roomMembers$','subunit','fromEvent','RemoveRowCommandId','result','_clearOtherTimers','React','onLocalMutation','operators','href','isTransformMutationFailure','isTransformMutationsWithChangesetSuccess','getRelativeToViewportCoord','string','_collabCursorController','get','getCollabCursors$','UniverCore','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','_getSessionTicket','override','_selfUnitIDs','collabCursorState$','saveTaskMap','DesktopCollaborationStatusDisplayController','_entities','Failed','\x20at\x20','SetWorksheetActivateCommand','formula.calculation.waiting','pushState','_applyCommand','_refRangeService','YUUMI_NO_CUBOID_FOR_QUESTION','RECT','DocStateChangeManagerService','has','_renderManagerService','_memberService','219nAxzsl','DocSelectionManagerService','PY_RUNTIME_SCRIPT_ERROR','cursorInfo','closePath','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ICommandService','redoState','transformSelections','InsertRowCommandId','UniverDesign','getRangePointData','toStringTag','getSkeleton','_injector','all','trim','post','CommandType','WebURLService','_removeCollabCursors','YUUMI_ASYNCIO_CANCELLED','APPLY_REVISION_CONFILICT','BehaviorSubject','enableLocalCache','executionId','Tools','onRendered','createSocket','_entityInit$','Injector','getUnitId','urlChange$','MOBILE_HAS_BEEN_BOUND','_checkCalculationAvailable','FormulaExecuteStageType','UniverNetwork','_range','APPLY_NON_SEQUENTIAL_REVISION','getVpScrollXYInfoByPosToVp','USERS_LEAVE','tag','DOC_RANGE_TYPE','react','collaboration-client-ui.config','sheetId','getformulaLimitStatusUrl','functionsExecutedState','_createSocketURL','getUnitStatus$','collab-text-anchor-'];_0x4506=function(){return _0x4c25de;};return _0x4506();}
|