@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-8c9a6bf

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5688(){const _0x29a1e6=['getMember','_registerRenderDependencies','params','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEventSubject','startFormulaLimitUrl','UniverIcon','drawWith','_render','startRow','_selfUnitIDs','getAncestorScale','addObjects','NOT_COLLAB','_initCommandInterceptor','maxFormulaLimit','searchParams','requireSession','clipPath','color','_hasFormulaInDirtyRanges','data','function','endRow','CollaborationUIEventService','subUnitId','CollaborationController','SheetCollabCursorShape','useObservable','ENTITLE_DUP_SUBSCRIPTION','fillStyle','generateRandomId','RevisionService','all','_getSessionTicket','push','off-line-icon','SessionStatus','executeCommand','random','loadOfflineData','toRgbString','flatMap','PAYMENT_CHANNEL_NOT_SUPPORT','_revisionService','CollaborationDataLoaderController','_createSocketURL','_initStatusComponent','handleInsertCol','_eventUnsubscribe','_handleJoinEvent','_unitStatus','next','off-line-icon_clip0_910_343','show','YUUMI_URL_COL_OUT_OF_RANGE','_hover','transformIMECache','_getFormulaLimitStatus','_transformUndoRedoStack','use','_maxFormulaLimit','tag','ICommandService','MoveRangeCommandId','_config','_setupBeforeClosingHandler','labelPosition','setAlpha','dispose$','body','OnLineIcon','getStateCache','DEFAULT_WS_SESSION_TICKET_URL','isArray','runRefRangeMutations','@univerjs-pro/collaboration','_injector','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','redoState','unshift','amd','VIEW_MAIN','CollaborationUIEventId','M0\x200H16V16H0z','RefRangeService','entries','_colorIndex','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','JOIN_ROOM_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','_anchor','handleInsertRow','getUniverSheetInstance','RichTextEditingMutation','getSheetId','setUndoRedoMutationParamsCache','OffLineIcon','SUBMIT_CHANGESET_TIMEOUT','getCollabCursors$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/frontend/logs','range','error','_saveTaskMap','_startDocCollabCursor','/universer-api/license/formula/limit/done','UniverProCollaborationClientUi','shareReplay','purple.300','then','restore','468172NjGyjZ','http://www.w3.org/2000/svg','MUTATION','limitInfo','assign','from','ENTITLE_NEED_BILLING_ADDRESS','getOwnPropertyDescriptor','init','red.300','_initDependencies','_docTransformStateCacheService','INVALID_ARGUMENT','save','triggerDblclick','Disposable','@univerjs/rpc','_document','transformSelections','urlChange$','AUTHORIZE_CODE_ILLEGAL','_ensureSubject','join','AWAITING','RemoveColCommandId','transformByState','_setFormulaLimitStatus','_id','history','createElement','debug','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','session.connection-failed','colorChannel1','9809300GAfXWG','MOBILE_VERIFY_CODE_MISMATCH','_collaborationUIEventService','operators','_renderManagerService','activeSheet$','EffectRefRangId','BehaviorSubject','white','UNRECOGNIZED','WebSocketService','getOffsetConfig','type','_updateLocalCursor','sheetId','RegularPolygon','getFocusedUnit','currentUsage','Unknown\x20user','currentTheme$','_scene','IURLService','getUndoRedoMutationParamsCache','switchMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CHANGESET_REVISION_CONFILICT','11417035BLceqF','UPDATE_CURSOR','_online','roomMembers','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','disableLocalCache','black','@univerjs/engine-render','_startCalculationLimit','_currentUsage','colno','defIds','exhaustSavingTask','transformMutationsWithChangeset','START_CALCULATION','Injector','MemberService','getItem','_drawTextRange','storage','delete','unit','ACTIVE_UNIT_EVENT_CHANNEL','SheetSkeletonManagerService','IUIPartsService','onPointerEnter$','0\x200\x2016\x2016','getRangePointData','_initWindowErrorListener','wsSessionTicketUrl','SetTextSelectionsOperation','CONNECTOR_DATA_TOO_LARGE','updateOfflineData','getDocRanges','disposeWithMe','YUUMI_ALL_TABLES_IS_INVALID','RxDisposable','currentColor','_getSheetObject','yellow.400','saveTaskMap','onPointerMove$','roomMembers$','_context','FromArray','complete','Loading','Workbook','isActive','Failed','forwardRef','isFormulaString','_disabled','UniverCollaborationClientPlugin','assignAColorForMemberID','UniverInstanceType','permission.title','_roomMembers$','USER_IS_ANONYMOUS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','text','setConfig','clsx','startColumn','_docSkeletonManagerService','touchDependencies','_transformHistoryAndStateStack','trim','Rect','_updateCollabCursors','getTypeOfUnitDisposed$','length','collabStatus.fetchMiss','pushState','filename','FETCH_MISS','actions','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','RemoveRowCommandId','subscribeEvent','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','substring','collaboration.single-unit.warning','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','deserializeRangeWithSheet','onPointerLeave$','_uploadLog','size','SetWorksheetActivateCommand','displayName','name','Error','asObservable','_draw','IBeforeCloseService','_monkeyPatchLogService','session.will-retry','SUCCESS','loadUnit','toStringTag','setParam','_getSaveTimeout','OTHER_CLIENT_EDITING','popstate','idSuffix','stack','_showGuardMessage','Vector2','ENTITLE_COUPON_USED_UP','_init','onMouseMove','IUniverInstanceService','INVALID_INVITE_CODE','isTransformMutationFailure','moveTo','memberID','_removeCollabCursors','div','_docTransformIMECacheService','INotificationService','_uiPartsService','Plugin','_handleLeaveEvent','_clearOtherTimers','UNIVER_DOC','setTimeout','getRenderById','_registerDependencies','ENTITLE_COUPON_EXPIRED','_hideTimer','replaceState','debounce','DocCollaborationEntity','_cursorShapes','LOGIN_FAILED','_entities','_onRefRangeChange','collabStatus.synced','_messageService','_urlService','...','USER_NOT_INVITED_CODE','_initCommandExecutedListener','univer-flex\x20univer-items-center','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_textBubble','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationStartMutation','_docClipboardService','UniverProCollaboration','_heartbeatTimer','_collabCursorState$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','socket$','USERS_LEAVE','_transformService','DesktopCollaborationStatusDisplayController','getCellMatrix','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','_updateURLWithCurrentState','event$','svg','selection','React','_imageIoService','hovered','collabCursorState$','_drawAnchor','ticket','string','executionId','getRelativeToViewportCoord','top','getCoordByCell','SetDocZoomRatioOperation','subunit','row','getVpScrollXYInfoByPosToVp','currentSkeleton$','fillText','stage','_saveCache','get','?taskId=','ENTITLE_INVALID_COUPON_CODE','_doCreateSocket','removeEventListener','\x20at\x20','COMPLETION_FINISHED','_initStatusListener','DocIMEInputManagerService','_cachedData','LICENSE_DISTRO_REJECTED','ILogService','width','_collaborationSessionService','_assignedColors','getMergeData','doc.mutation.rich-text-editing','_status$','_getScale','UniverProCollaborationClient','getCellPositionByOffset','CommandType','deepClone','onLocalMutation','getSheetBySheetId','setStateCache','docStateChange$','mask','dispose','_beforeCloseService','some','UniverCollaborationClientUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','whenReady','evenodd','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','search','clearInterval','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IMessageService','onCommandExecuted','font','SHEET_VIEWPORT_KEY','jsxs','_univerInstanceService','combineLatest','ENTITLE_CHAT_LIMIT_EXCEED','Tooltip','SetFormulaCalculationNotificationMutation','ranges','85842IIlBKu','session.collaboration-timeout','FormulaExecuteStageType','TRANSFORM_CHANGE_OBSERVABLE_TYPE','1806196oKPmrD','AWAITING_WITH_PENDING','getCurrentUnitForType','@univerjs/sheets-ui','ERROR_AGAIN','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','on-line-icon_clip0_910_349','InsertColCommandId','getLocalCacheKey','mergeOverrideWithDependencies','source','setShapeProps','_httpService','parseInt','now','runId','syncEditingCollabCursor','children','getCurrent','Shape','TEXT_RANGE_LAYER_INDEX','skeleton','_handleEvent','status$','_drawRectRange','attrs','/universer-api/license/formula/limit/status','DATA_SOURCE_TOO_LARGE','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','exports','_hovered','ALREADY_EXISTS','cursorInfo','react/jsx-runtime','filter','shift','formula.calculation.waiting','jsx','_collabSessionService','#FFF','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','getConfig','getColorFromTheme','_logService','PY_RUNTIME_SCRIPT_ERROR','ILocalStorageService','round','subscribe','_localeService','unhandledrejection','ITransformService','_session','stageInfo','_initEvent','@univerjs/docs','symbol','@univerjs/core','contains','EMAIL_VERIFY_CODE_MISMATCH','ONLINE','APPLY_REJECT','serializeRangeWithSheet','_checkCalculationAvailable','CollaborationStatus','_setupSubUnitSync','pipe','makeDirty','_localStorageService','collab-client.tooltip.reconnect','saveOfflineData','REDEMPTION_CODE_INACTIVE','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUnitStatus$','getSkeleton','LOCAL_CACHE_INTERVAL','SNAPSHOT_HAS_BEEN_REMOVED','_configService','formula.calculation.started','OTHER_CLIENTS_EDITING','UNIVER_SHEET','registerRefRange','getActiveSheet','/universer-api/license/formula/limit/start','_send','HTTPService','merge','_memberID','getValue','INVITE_CODE_HAS_BEEN_UES','startsWith','REDEMPTION_INVALID_CODE','lineTo','getParam','transformRemoteChangeset','registerRenderModule','toDisposable','144zzNfzq','getTypeOfUnitAdded$','onRendered','blue.400','@univerjs/ui','_toggleOnline','object','map','_getMergeRange','getCurrentRevOfUnit','stringify','_range','483282mjArSI','max','has','endColumn','@univerjs/drawing','_color','FormulaExecutedStateType','with','unload','_cursorInfo$','UnitStatus','Subject','SetSelectionsOperation','enableFrontendLog','functionsExecutedState','DocStateChangeManagerService','_commandService','xlink:href','_startSheetCollabCursor','[Window\x20Error]:\x20','UniverDocs','translate(.97)','UniverDocsUi','IConfigService','CollaborationSocketService','_memberService','SheetsSelectionsService','_name','IImageIoService','_themeService','handleInsertRangeMoveDown','_localCacheService','origin','MessageType','transformMutation','NO_OTHER_CLIENTS_EDITING','green.600','getUnhiddenWorksheets','EMAIL_HAS_BEEN_BOUND','handleIRemoveRow','createIdentifier','min','APPLY_REVISION_CONFILICT','_handleHover','useCallback','_onCursorUpdate','react','add','arc','Rectangle','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_HAS_BEEN_CREATED','_initEntityListener','toString','_releaseCalculationLimit','collabStatus.syncing','Tools','_clearPolling','debounceTime','entityInit$','useDependency','DisposableCollection','ISnapshotServerService','registerBeforeClose','href','CollaborationSessionService','defineProperty','undoState','handleInsertRangeMoveRight','LOGIN_TOKEN_PROCESSING_FAILED','Warning','IRemoteInstanceService','backgroundColor','m2Prime','_onCursorDelete','_initResize','getColor','_notificationService','dirtyRanges','CONFLICT','override','isEditing','15kgCvgH','ILocalCacheService','_syncEditingCollabCursorService','includes','_backgroundColor','BrowserCollaborationSocketService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','post','textRanges','USER_NOT_FOUND','@univerjs/design','2588484gZZYTy','location','_docSyncEditingCollabCursorService','NodePositionConvertToCursor','transformStateCache','UNDEFINED','DeleteRangeMoveLeftCommandId','RECT','univer-mr-2\x20univer-flex\x20univer-text-xl','DeleteRangeMoveUpCommandId','_dataLoaderService','_cursor','_updateSubUnitFromURLParams','handleIRemoveCol','m1Prime','_getAnchorBounding','@univerjs/network','@univerjs/sheets','_lastPointer','message','DependentOn','column','find','addClipboardHook','replace','defs','bind','enableLocalCache','findNodePositionByCharIndex','clearTimeout','fillRule','set','_lastResponseTimestamp','Inject','UniverEngineRender','cursorInfo$','_unitOnClients','newValue','0\x200\x2017\x2016','collaboration-client-ui.config','unitId','_applyCommand','_taskIds','setItem','values','44HWgNsi','send','WECHAT_HAS_BEEN_BOUND','code','collabStatus.offline','_collabCursorController','reconnect','REDEMPTION_CODE_NOT_STARTED','none','createInstance','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_HAS_BEEN_BOUND','registerDependencies','COLORS','SYNCED','_scheduleSaving','forEach','@univerjs-pro/collaboration-client','PERMISSION_DENIED','registerComponent','throttleTime','fill','_shapes','YUUMI_ASYNCIO_CANCELLED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','distinctUntilChanged','takeUntil','engine','OFFLINE','_initUserListener','_docSkeleton','current','DOC_RANGE_TYPE','_handleHeartbeatEvent','uni.network.url-service','Module','fromEvent','@univerjs/engine-formula','getMemberID','parse','split','_refreshCollabCursors','1em','collaboration.offline-data-not-saved','_checkAndWaitForCalculationPermission','getSheetObject','YUUMI_AI_RUN_FAILED','on-line-icon','closePath','addObject','url(#off-line-icon_clip0_910_343)','_docStateChangeManagerService','rxjs','path','CollaborationEvent','mutations','_anchorDot','WebURLService','eventID','SOCKET_FAILED_RETRY','PENDING','_scheduleClearOtherTimer','REDEMPTION_CODE_FULLY_REDEEMED','pluginName','UNAUTHENTICATED','_initUnhandledRejectionListener','catch','_entityInit$','_collaborationController','collab-text-range-','unsubscribe','measureText','_labelPosition','IRenderManagerService','unitID','createSocket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','bottom','ISocketService','[LogService\x20Error]:\x20','univerjs-icon\x20univerjs-icon-','YUUMI_UNABLE_LOAD_URL','_pollingInterval','IDocClipboardService','UniverCore','getUnitId','UniverDrawing','CanceledError'];_0x5688=function(){return _0x29a1e6;};return _0x5688();}function _0x4ca8(_0x1c687f,_0x183372){_0x1c687f=_0x1c687f-0x189;const _0x5688ee=_0x5688();let _0x4ca872=_0x5688ee[_0x1c687f];return _0x4ca872;}(function(_0x20423e,_0x4ad564){const _0x26719c=_0x4ca8,_0xe128f=_0x20423e();while(!![]){try{const _0x574428=-parseInt(_0x26719c(0x38c))/0x1+parseInt(_0x26719c(0x2bd))/0x2*(parseInt(_0x26719c(0x1bd))/0x3)+-parseInt(_0x26719c(0x1c1))/0x4*(parseInt(_0x26719c(0x285))/0x5)+parseInt(_0x26719c(0x290))/0x6+parseInt(_0x26719c(0x3cb))/0x7+-parseInt(_0x26719c(0x227))/0x8*(-parseInt(_0x26719c(0x233))/0x9)+-parseInt(_0x26719c(0x3b1))/0xa;if(_0x574428===_0x4ad564)break;else _0xe128f['push'](_0xe128f['shift']());}catch(_0x41fb6c){_0xe128f['push'](_0xe128f['shift']());}}}(_0x5688,0xd0ad6),function(_0x5fc012,_0x3f4802){const _0x1b958a=_0x4ca8;typeof exports==_0x1b958a(0x22d)&&typeof module<'u'?_0x3f4802(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1b958a(0x32c)&&define[_0x1b958a(0x36b)]?define([_0x1b958a(0x1df),_0x1b958a(0x1e3),_0x1b958a(0x2ce),_0x1b958a(0x1fb),_0x1b958a(0x22b),'rxjs',_0x1b958a(0x28f),_0x1b958a(0x261),_0x1b958a(0x39c),_0x1b958a(0x2a1),_0x1b958a(0x3d3),_0x1b958a(0x2a0),'@univerjs/docs-ui',_0x1b958a(0x237),_0x1b958a(0x362),_0x1b958a(0x1f9),_0x1b958a(0x2e2),'rxjs/operators',_0x1b958a(0x1c4)],_0x3f4802):(_0x5fc012=typeof globalThis<'u'?globalThis:_0x5fc012||self,_0x3f4802(_0x5fc012[_0x1b958a(0x387)]={},_0x5fc012['React'],_0x5fc012[_0x1b958a(0x19b)],_0x5fc012[_0x1b958a(0x311)],_0x5fc012['UniverUi'],_0x5fc012[_0x1b958a(0x2f1)],_0x5fc012['UniverDesign'],_0x5fc012[_0x1b958a(0x476)],_0x5fc012['UniverRpc'],_0x5fc012['UniverSheets'],_0x5fc012[_0x1b958a(0x2b2)],_0x5fc012['UniverNetwork'],_0x5fc012[_0x1b958a(0x249)],_0x5fc012[_0x1b958a(0x313)],_0x5fc012[_0x1b958a(0x467)],_0x5fc012[_0x1b958a(0x247)],_0x5fc012['UniverEngineFormula'],_0x5fc012['rxjs'][_0x1b958a(0x3b4)],_0x5fc012['UniverSheetsUi']));}(this,function(_0x37e3f4,_0x3d2e84,_0x4cce40,_0x88db4d,_0x2ff57e,_0x3b0fae,_0x37cc58,_0x5a810d,_0xe0b8d8,_0x125f36,_0xe27d05,_0x37abfe,_0x1fd691,_0x455754,_0x28fbb0,_0x3c0520,_0x52fd75,_0x31a1bf,_0x309330){'use strict';const _0x2be3c1=_0x4ca8;var _0x4ff436=Object[_0x2be3c1(0x275)],_0x129eae=(_0x593c33,_0xf135dd,_0x2f586f)=>_0xf135dd in _0x593c33?_0x4ff436(_0x593c33,_0xf135dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f586f}):_0x593c33[_0xf135dd]=_0x2f586f,_0x31ba17=(_0x5c5c3d,_0x2e0295,_0x5512a6)=>_0x129eae(_0x5c5c3d,typeof _0x2e0295!=_0x2be3c1(0x1fa)?_0x2e0295+'':_0x2e0295,_0x5512a6);function _0x217168({ref:_0x46689a,..._0x18e228}){const _0xe33285=_0x2be3c1,{icon:_0x3e82e8,id:_0x238937,className:_0x230661,extend:_0x449d41,..._0x36f0c1}=_0x18e228,_0x2ff550=(_0xe33285(0x30d)+_0x238937+'\x20'+(_0x230661||''))[_0xe33285(0x40f)](),_0x352bcf=_0x5a810d['useRef']('_'+_0x367607());return _0x27188a(_0x3e82e8,''+_0x238937,{'defIds':_0x3e82e8[_0xe33285(0x3d7)],'idSuffix':_0x352bcf[_0xe33285(0x2dc)]},{'ref':_0x46689a,'className':_0x2ff550,..._0x36f0c1},_0x449d41);}function _0x27188a(_0x3fd350,_0x535233,_0x539a93,_0x176564,_0x1f6e0e){const _0x5ebbfa=_0x2be3c1;return _0x5a810d[_0x5ebbfa(0x3a9)](_0x3fd350[_0x5ebbfa(0x354)],{'key':_0x535233,..._0x1da131(_0x3fd350,_0x539a93,_0x1f6e0e),..._0x176564},(_0x174b3e(_0x3fd350,_0x539a93)[_0x5ebbfa(0x1d2)]||[])['map']((_0x5780f0,_0xb6d09a)=>_0x27188a(_0x5780f0,_0x535233+'-'+_0x3fd350[_0x5ebbfa(0x354)]+'-'+_0xb6d09a,_0x539a93,void 0x0,_0x1f6e0e)));}function _0x1da131(_0x1f0aeb,_0x25b3d8,_0x59e11d){const _0x44d641=_0x2be3c1,_0x447d4a={..._0x1f0aeb['attrs']};_0x59e11d!=null&&_0x59e11d[_0x44d641(0x3b0)]&&_0x447d4a['fill']==='colorChannel1'&&(_0x447d4a[_0x44d641(0x2d2)]=_0x59e11d[_0x44d641(0x3b0)]),_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x1a3)&&_0x447d4a['id']&&(_0x447d4a['id']=_0x447d4a['id']+_0x25b3d8[_0x44d641(0x437)]),Object['entries'](_0x447d4a)['forEach'](([_0x5a78f2,_0xf21bba])=>{const _0x323a5c=_0x44d641;_0x5a78f2==='mask'&&typeof _0xf21bba=='string'&&(_0x447d4a[_0x5a78f2]=_0xf21bba[_0x323a5c(0x2a8)](/url\(#(.*)\)/,_0x323a5c(0x318)+_0x25b3d8[_0x323a5c(0x437)]+')'));});const {defIds:_0x1b329b}=_0x25b3d8;return!_0x1b329b||_0x1b329b['length']===0x0||(_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x352)&&_0x447d4a[_0x44d641(0x244)]&&(_0x447d4a[_0x44d641(0x244)]=_0x447d4a[_0x44d641(0x244)]+_0x25b3d8[_0x44d641(0x437)]),Object[_0x44d641(0x370)](_0x447d4a)[_0x44d641(0x2cd)](([_0x4e546c,_0x37fbeb])=>{const _0x10fd51=_0x44d641;typeof _0x37fbeb==_0x10fd51(0x47c)&&(_0x447d4a[_0x4e546c]=_0x37fbeb[_0x10fd51(0x2a8)](/url\(#(.*)\)/,'url(#$1'+_0x25b3d8[_0x10fd51(0x437)]+')'));})),_0x447d4a;}function _0x174b3e(_0x5bf7f7,_0x2c9efa){const _0x4e5321=_0x2be3c1;var _0x6d9aeb;const {defIds:_0x3227b2}=_0x2c9efa;return!_0x3227b2||_0x3227b2[_0x4e5321(0x413)]===0x0?_0x5bf7f7:_0x5bf7f7['tag']==='defs'&&((_0x6d9aeb=_0x5bf7f7['children'])!=null&&_0x6d9aeb[_0x4e5321(0x413)])?{..._0x5bf7f7,'children':_0x5bf7f7['children'][_0x4e5321(0x22e)](_0x40aa08=>typeof _0x40aa08[_0x4e5321(0x1da)]['id']==_0x4e5321(0x47c)&&_0x3227b2&&_0x3227b2['includes'](_0x40aa08['attrs']['id'])?{..._0x40aa08,'attrs':{..._0x40aa08[_0x4e5321(0x1da)],'id':_0x40aa08[_0x4e5321(0x1da)]['id']+_0x2c9efa[_0x4e5321(0x437)]}}:_0x40aa08)}:_0x5bf7f7;}function _0x367607(){const _0x3d572b=_0x2be3c1;return Math[_0x3d572b(0x33d)]()[_0x3d572b(0x268)](0x24)[_0x3d572b(0x41f)](0x2,0x8);}_0x217168[_0x2be3c1(0x428)]=_0x2be3c1(0x31c);const _0xad8bff={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':_0x2be3c1(0x38d),'fill':_0x2be3c1(0x2c5),'viewBox':_0x2be3c1(0x3e6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2be3c1(0x2ef)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':_0x2be3c1(0x1c6),'strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2be3c1(0x34b)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e)}}]}]}],'defIds':[_0x2be3c1(0x34b)]},_0x350546=_0x5a810d[_0x2be3c1(0x3fe)](function(_0xe0ee5e,_0x25f6a2){const _0x3caf7a=_0x2be3c1;return _0x5a810d[_0x3caf7a(0x3a9)](_0x217168,Object['assign']({},_0xe0ee5e,{'id':_0x3caf7a(0x33a),'ref':_0x25f6a2,'icon':_0xad8bff}));});_0x350546[_0x2be3c1(0x428)]=_0x2be3c1(0x37d);const _0x23dbc7={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2be3c1(0x2b6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':_0x2be3c1(0x328),'attrs':{'id':_0x2be3c1(0x1c7)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e),'transform':_0x2be3c1(0x248)}}]}]}],'defIds':[_0x2be3c1(0x1c7)]},_0x42e5a5=_0x5a810d['forwardRef'](function(_0x1ffc71,_0x1cc1c3){const _0x26d259=_0x2be3c1;return _0x5a810d['createElement'](_0x217168,Object[_0x26d259(0x390)]({},_0x1ffc71,{'id':_0x26d259(0x2ec),'ref':_0x1cc1c3,'icon':_0x23dbc7}));});_0x42e5a5[_0x2be3c1(0x428)]=_0x2be3c1(0x35d);function _0x43d454(_0x5571c5){const _0x3997df=_0x2be3c1;switch(_0x5571c5){case _0x4cce40['CollaborationStatus'][_0x3997df(0x2d9)]:return _0x3997df(0x2c1);case _0x4cce40[_0x3997df(0x202)]['CONFLICT']:return'collabStatus.conflict';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x417)]:return _0x3997df(0x414);case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x323)]:return'collabStatus.notCollab';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x3a3)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x1c2)]:return _0x3997df(0x26a);case _0x4cce40['CollaborationStatus'][_0x3997df(0x2cb)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x2f9)]:return _0x3997df(0x458);}}function _0xc54cb7(_0x1fc73d){const _0x19aabb=_0x2be3c1,{status$:_0x1de49c}=_0x1fc73d,_0xbd570f=_0x2ff57e[_0x19aabb(0x332)](_0x1de49c,_0x4cce40[_0x19aabb(0x202)][_0x19aabb(0x323)]),_0x2bd048=_0x2ff57e[_0x19aabb(0x26f)](_0x88db4d['LocaleService']),_0x91e741=_0x2ff57e[_0x19aabb(0x26f)](_0x4cce40[_0x19aabb(0x274)]),_0xf4d021=_0xbd570f!==_0x4cce40[_0x19aabb(0x202)]['OFFLINE'],_0x4a6543=_0x2bd048['t'](_0x43d454(_0xbd570f)),_0x2d0530=_0xf4d021?_0x3d2e84[_0x19aabb(0x1e7)](_0x42e5a5,{}):_0x3d2e84[_0x19aabb(0x1e7)](_0x350546,{}),_0x578585=_0x5a810d[_0x19aabb(0x25f)](()=>{const _0x42fecd=_0x19aabb;_0xf4d021||_0x91e741[_0x42fecd(0x2c3)]();},[_0xf4d021,_0x91e741]);function _0x26d9e5(){const _0x19646a=_0x19aabb;return _0x3d2e84[_0x19646a(0x1b6)](_0x19646a(0x444),{'className':_0x19646a(0x45e),'onClick':_0x578585,'children':[_0x3d2e84['jsx'](_0x19646a(0x444),{'className':_0x37cc58[_0x19646a(0x40a)](_0x19646a(0x298),{'univer-text-green-500':_0xf4d021,'univer-text-red-500':!_0xf4d021}),'children':_0x2d0530}),_0x3d2e84[_0x19646a(0x1e7)]('div',{'className':_0x19646a(0x1b1),'children':_0x4a6543})]});}return _0xf4d021?_0x26d9e5():_0x3d2e84[_0x19aabb(0x1e7)](_0x37cc58[_0x19aabb(0x1ba)],{'title':_0x2bd048['t'](_0x19aabb(0x207)),'children':_0x26d9e5()});}var _0x2fb8d3=Object[_0x2be3c1(0x393)],_0x324dc6=(_0x1b6c2f,_0x28be3c,_0x23ec7f,_0x1e304c)=>{const _0x3a0c38=_0x2be3c1;for(var _0x408e13=_0x1e304c>0x1?void 0x0:_0x1e304c?_0x2fb8d3(_0x28be3c,_0x23ec7f):_0x28be3c,_0x1ee8b6=_0x1b6c2f[_0x3a0c38(0x413)]-0x1,_0xca2621;_0x1ee8b6>=0x0;_0x1ee8b6--)(_0xca2621=_0x1b6c2f[_0x1ee8b6])&&(_0x408e13=_0xca2621(_0x408e13)||_0x408e13);return _0x408e13;},_0x98f4e7=(_0x3f185e,_0x44cad1)=>(_0x227d12,_0x4048cd)=>_0x44cad1(_0x227d12,_0x4048cd,_0x3f185e);_0x37e3f4[_0x2be3c1(0x46e)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x803f52,_0x4344c6,_0x369575,_0x398d2c){const _0x4f3ca0=_0x2be3c1;super(),_0x31ba17(this,_0x4f3ca0(0x199),new _0x3b0fae[(_0x4f3ca0(0x3b8))](_0x4cce40[_0x4f3ca0(0x202)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x803f52,this['_injector']=_0x4344c6,this[_0x4f3ca0(0x301)]=_0x369575,this[_0x4f3ca0(0x447)]=_0x398d2c,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x2be3c1(0x18f)](){const _0x40106a=_0x2be3c1;this[_0x40106a(0x3ee)](this[_0x40106a(0x1b7)]['focused$'][_0x40106a(0x204)](_0x3b0fae[_0x40106a(0x3c8)](()=>{const _0x482c6d=_0x40106a,_0x58e031=this[_0x482c6d(0x1b7)][_0x482c6d(0x3c1)]();return _0x58e031?this['_collaborationController']['getCollabEntity$'](_0x58e031[_0x482c6d(0x312)]()):_0x3b0fae['of'](null);}),_0x3b0fae[_0x40106a(0x3c8)](_0x22f7f4=>_0x22f7f4?_0x22f7f4[_0x40106a(0x1d8)]:_0x3b0fae['of'](_0x4cce40['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x35fe9a=>{const _0x4f6ccd=_0x40106a;this['_status$'][_0x4f6ccd(0x34a)](_0x35fe9a);}));}[_0x2be3c1(0x345)](){const _0x5e5ff0=_0x2be3c1;this[_0x5e5ff0(0x3ee)](this[_0x5e5ff0(0x447)][_0x5e5ff0(0x2d0)](_0x2ff57e['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ff57e['connectInjector'](_0x199a76({'status$':this[_0x5e5ff0(0x199)][_0x5e5ff0(0x42b)]()}),this['_injector'])));}},_0x37e3f4[_0x2be3c1(0x46e)]=_0x324dc6([_0x98f4e7(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x98f4e7(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x98f4e7(0x2,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x330)])),_0x98f4e7(0x3,_0x2ff57e[_0x2be3c1(0x3e4)])],_0x37e3f4[_0x2be3c1(0x46e)]);function _0x199a76(_0x50fd09){const {status$:_0x242ba3}=_0x50fd09;return function(){const _0x43a168=_0x4ca8;return _0x3d2e84[_0x43a168(0x1e7)](_0xc54cb7,{'status$':_0x242ba3});};}const _0x58bcf2=_0x88db4d[_0x2be3c1(0x25b)](_0x2be3c1(0x2df));var _0x4e23ed=Object[_0x2be3c1(0x393)],_0x2c9fb0=(_0x4c51c9,_0x2f5f1a,_0x3a5cdd,_0x15aad4)=>{const _0x21cee3=_0x2be3c1;for(var _0x184718=_0x15aad4>0x1?void 0x0:_0x15aad4?_0x4e23ed(_0x2f5f1a,_0x3a5cdd):_0x2f5f1a,_0x3f8bc4=_0x4c51c9[_0x21cee3(0x413)]-0x1,_0x115463;_0x3f8bc4>=0x0;_0x3f8bc4--)(_0x115463=_0x4c51c9[_0x3f8bc4])&&(_0x184718=_0x115463(_0x184718)||_0x184718);return _0x184718;},_0x5cf65a=(_0x2e8166,_0x4f14c0)=>(_0x53cdc5,_0x304909)=>_0x4f14c0(_0x53cdc5,_0x304909,_0x2e8166);_0x37e3f4[_0x2be3c1(0x343)]=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x25d042,_0x5e4012,_0x3c432,_0x1e925e,_0x25d9f3){const _0x7c4562=_0x2be3c1;super(),this[_0x7c4562(0x45a)]=_0x25d042,this['_logService']=_0x5e4012,this[_0x7c4562(0x243)]=_0x3c432,this['_dataLoaderService']=_0x1e925e,_0x25d9f3?_0x25d9f3==null||_0x25d9f3[_0x7c4562(0x1a9)]()['then'](()=>this[_0x7c4562(0x43c)]()):(this[_0x7c4562(0x1ee)][_0x7c4562(0x3aa)]('[CollaborationDataLoaderController]',_0x7c4562(0x380)),this['_init']());}async[_0x2be3c1(0x43c)](){const _0x38531f=_0x2be3c1,_0x4a030d=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3e1)),_0x7ad8a2=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3bd)),_0x33bb48=this[_0x38531f(0x45a)][_0x38531f(0x223)]('subunit');if(!_0x4a030d||!_0x7ad8a2){this['_logService'][_0x38531f(0x3aa)]('[CollaborationDataLoaderController]',_0x38531f(0x367));return;}const _0x5b180b=await this[_0x38531f(0x29a)][_0x38531f(0x431)](_0x4a030d,Number(_0x7ad8a2),_0x33bb48);_0x5b180b&&_0x5b180b instanceof _0x88db4d[_0x38531f(0x3fb)]&&this['_setupSubUnitSync'](_0x5b180b);}async[_0x2be3c1(0x203)](_0x37d17c){const _0x483a9b=_0x2be3c1;await this[_0x483a9b(0x29c)](_0x37d17c),_0x37d17c[_0x483a9b(0x3b6)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](_0x4d1c7f=>{const _0x33410d=_0x483a9b;_0x4d1c7f&&this[_0x33410d(0x472)](_0x4d1c7f);}),this[_0x483a9b(0x45a)][_0x483a9b(0x39f)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](()=>this['_updateSubUnitFromURLParams'](_0x37d17c));}[_0x2be3c1(0x472)](_0x323145,_0x534a09=!0x1){const _0x4e7d86=_0x2be3c1,_0x511df5=this[_0x4e7d86(0x45a)]['getParam']('subunit');_0x323145[_0x4e7d86(0x37b)]()!==_0x511df5&&this[_0x4e7d86(0x45a)][_0x4e7d86(0x433)](_0x4e7d86(0x482),_0x323145[_0x4e7d86(0x37b)](),_0x534a09);}async[_0x2be3c1(0x29c)](_0x2e7822){const _0x4b8e5b=_0x2be3c1;var _0x16eff8;const _0x366f78=this[_0x4b8e5b(0x45a)]['getParam'](_0x4b8e5b(0x482));if(!_0x366f78||!_0x2e7822[_0x4b8e5b(0x1a0)](_0x366f78)){const _0x496021=_0x2e7822[_0x4b8e5b(0x258)]()[0x0],_0x2e4de3=_0x2e7822[_0x4b8e5b(0x1a0)](_0x496021);if(!_0x2e4de3)return;this[_0x4b8e5b(0x472)](_0x2e4de3,!0x0),await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36[_0x4b8e5b(0x427)]['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x496021});return;}((_0x16eff8=_0x2e7822[_0x4b8e5b(0x218)]())==null?void 0x0:_0x16eff8['getSheetId']())!==_0x366f78&&await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x366f78});}},_0x37e3f4[_0x2be3c1(0x343)]=_0x2c9fb0([_0x5cf65a(0x0,_0x58bcf2),_0x5cf65a(0x1,_0x88db4d[_0x2be3c1(0x193)]),_0x5cf65a(0x2,_0x88db4d['ICommandService']),_0x5cf65a(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40['DataLoaderService'])),_0x5cf65a(0x4,_0x88db4d['Optional'](_0xe0b8d8[_0x2be3c1(0x27a)]))],_0x37e3f4[_0x2be3c1(0x343)]);var _0x1fd129=Object['getOwnPropertyDescriptor'],_0x4a6af2=(_0x3fa966,_0x33835c,_0x47d03e,_0x38d96f)=>{const _0x4705be=_0x2be3c1;for(var _0xe91cd4=_0x38d96f>0x1?void 0x0:_0x38d96f?_0x1fd129(_0x33835c,_0x47d03e):_0x33835c,_0xfa9293=_0x3fa966[_0x4705be(0x413)]-0x1,_0x39838b;_0xfa9293>=0x0;_0xfa9293--)(_0x39838b=_0x3fa966[_0xfa9293])&&(_0xe91cd4=_0x39838b(_0xe91cd4)||_0xe91cd4);return _0xe91cd4;},_0x589813=(_0x190af7,_0x500efa)=>(_0x1224f0,_0x1e7d66)=>_0x500efa(_0x1224f0,_0x1e7d66,_0x190af7);let _0x53cf70=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x1ef515,_0x17509c){const _0x15941b=_0x2be3c1;super(),this[_0x15941b(0x466)]=_0x1ef515,this[_0x15941b(0x477)]=_0x17509c,this[_0x15941b(0x43c)]();}[_0x2be3c1(0x43c)](){const _0x18ca71=_0x2be3c1,_0x80a06d=this;this['disposeWithMe'](this[_0x18ca71(0x466)][_0x18ca71(0x2a7)]({'onBeforePasteImage':async _0x161610=>{const _0x4e501d=_0x18ca71,_0x394a0d=await _0x80a06d[_0x4e501d(0x477)]['saveImage'](_0x161610);return _0x394a0d?{'source':_0x394a0d[_0x4e501d(0x1cb)],'imageSourceType':_0x394a0d['imageSourceType']}:null;}}));}};_0x53cf70=_0x4a6af2([_0x589813(0x0,_0x1fd691[_0x2be3c1(0x310)]),_0x589813(0x1,_0x455754[_0x2be3c1(0x24f)])],_0x53cf70);const _0x1a3ad0=[_0x2be3c1(0x389),'jiqing.500',_0x2be3c1(0x257),_0x2be3c1(0x395),_0x2be3c1(0x22a),_0x2be3c1(0x3f3)];class _0x469c3c extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x10308a=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x10308a(0x196),new Map()),_0x31ba17(this,_0x10308a(0x371),0x0);}[_0x2be3c1(0x402)](_0x575076){const _0x12588b=_0x2be3c1;if(this[_0x12588b(0x196)][_0x12588b(0x235)](_0x575076))return this['_assignedColors'][_0x12588b(0x489)](_0x575076);const _0x2fadfb=_0x1a3ad0[this[_0x12588b(0x371)]];return this[_0x12588b(0x371)]=(this[_0x12588b(0x371)]+0x1)%_0x1a3ad0['length'],this['_assignedColors'][_0x12588b(0x2af)](_0x575076,_0x2fadfb),_0x2fadfb;}}function _0x1b67b(_0x2cea5d){const _0x598c5d=_0x2be3c1;let _0x414456='';for(const _0x3061a3 of _0x2cea5d){const {startOffset:_0xed4959,endOffset:_0x3be2a9,isActive:_0x358eee,rangeType:_0x506a24,segmentId:_0x108d9f,segmentPage:_0x3acd86}=_0x3061a3;_0x414456[_0x598c5d(0x413)]&&(_0x414456+=','),_0x414456+=_0xed4959+':'+_0x3be2a9+':'+(_0x358eee?'1':'0')+':'+_0x506a24+':'+_0x108d9f+':'+_0x3acd86;}return _0x414456;}function _0xd6e2b0(_0x3a75a3){const _0x364921=_0x2be3c1,_0x1c0ed3=_0x3a75a3[_0x364921(0x2e5)](','),_0x5dc4bb=[];for(const _0x5a50a7 of _0x1c0ed3){const [_0xa13608,_0x3ef02d,_0x42f32b,_0x3363a4,_0x459a1d,_0x51b42e]=_0x5a50a7[_0x364921(0x2e5)](':');_0x5dc4bb[_0x364921(0x339)]({'startOffset':Number(_0xa13608),'endOffset':Number(_0x3ef02d),'collapsed':_0xa13608===_0x3ef02d,'isActive':_0x42f32b==='1','rangeType':_0x3363a4===_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]?_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]:_0x88db4d['DOC_RANGE_TYPE'][_0x364921(0x297)],'segmentId':typeof _0x459a1d==_0x364921(0x47c)?String(_0x459a1d):'','segmentPage':Number(_0x51b42e!=null?_0x51b42e:-0x1)});}return _0x5dc4bb[_0x364921(0x1a6)](_0xe6fead=>_0xe6fead[_0x364921(0x3fc)])||(_0x5dc4bb[0x0][_0x364921(0x3fc)]=!0x0),_0x5dc4bb;}class _0x5ae914 extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(){const _0x34c01b=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x34c01b(0x469),new _0x3b0fae[(_0x34c01b(0x3b8))](null)),_0x31ba17(this,_0x34c01b(0x479),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x75d2fe){const _0x2ac320=_0x2be3c1,{unitID:_0xe59c05,memberID:_0x29a02d,textRanges:_0x44f841}=_0x75d2fe,_0x2310c5=_0x1b67b(_0x44f841);if(_0x2310c5==='')return;const _0x1675ef={'unitID':_0xe59c05,'memberID':_0x29a02d,'selection':_0x2310c5};this[_0x2ac320(0x469)][_0x2ac320(0x34a)](_0x1675ef);}}var _0x451c12=Object['getOwnPropertyDescriptor'],_0x570ac6=(_0x973537,_0x145099,_0x564c1d,_0x28a08f)=>{for(var _0x5bd05e=_0x28a08f>0x1?void 0x0:_0x28a08f?_0x451c12(_0x145099,_0x564c1d):_0x145099,_0x416172=_0x973537['length']-0x1,_0x4e170b;_0x416172>=0x0;_0x416172--)(_0x4e170b=_0x973537[_0x416172])&&(_0x5bd05e=_0x4e170b(_0x5bd05e)||_0x5bd05e);return _0x5bd05e;},_0x5cd293=(_0x448c7c,_0x5f37e2)=>(_0x43ae90,_0x587de3)=>_0x5f37e2(_0x43ae90,_0x587de3,_0x448c7c);const _0x2d7324=0x12c,_0x2d8af4=0x64;let _0x164a3b=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0xc7c9af,_0x1f0cb8,_0x510734,_0x312504,_0x4c318c,_0xfaa7a,_0x2e9e28,_0x2da049,_0x557dd9){const _0x39cb7c=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,_0x39cb7c(0x43c),!0x1),_0x31ba17(this,_0x39cb7c(0x23c),new _0x3b0fae[(_0x39cb7c(0x3b8))](new Map())),_0x31ba17(this,_0x39cb7c(0x2b3),this[_0x39cb7c(0x23c)][_0x39cb7c(0x42b)]()),_0x31ba17(this,'_roomMembers$',new _0x3b0fae[(_0x39cb7c(0x3b8))]([])),_0x31ba17(this,_0x39cb7c(0x3f6),this['_roomMembers$'][_0x39cb7c(0x204)](_0x3b0fae[_0x39cb7c(0x26d)](_0x2d7324))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x39cb7c(0x452)](_0x570767=>{const _0x5d7cb4=_0x39cb7c,_0x4989d={'eventID':_0x28fbb0[_0x5d7cb4(0x2f3)][_0x5d7cb4(0x3cc)],'data':{'unitID':this[_0x5d7cb4(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x1b67b(_0x570767)}};this[_0x5d7cb4(0x1f6)]['send'](_0x4989d,this[_0x5d7cb4(0x307)]);},_0x2d8af4)),(this[_0x39cb7c(0x307)]=_0xc7c9af,this['_session']=_0x1f0cb8,this['_injector']=_0x510734,this[_0x39cb7c(0x471)]=_0x312504,this['_memberService']=_0x4c318c,this['_syncEditingCollabCursorService']=_0xfaa7a,this['_transformService']=_0x2e9e28,this[_0x39cb7c(0x1b7)]=_0x2da049,this['_commandService']=_0x557dd9);}get[_0x2be3c1(0x1e2)](){const _0x4e74d5=_0x2be3c1;return this[_0x4e74d5(0x23c)][_0x4e74d5(0x21e)]();}get[_0x2be3c1(0x3ce)](){const _0x3e6b84=_0x2be3c1;return this[_0x3e6b84(0x405)][_0x3e6b84(0x21e)]();}[_0x2be3c1(0x1a4)](){const _0x2ff811=_0x2be3c1;super[_0x2ff811(0x1a4)](),this[_0x2ff811(0x23c)][_0x2ff811(0x34a)](new Map()),this['_cursorInfo$'][_0x2ff811(0x3f9)](),this[_0x2ff811(0x405)]['next']([]),this['_roomMembers$'][_0x2ff811(0x3f9)]();}[_0x2be3c1(0x394)](){const _0x1b20ae=_0x2be3c1;this['_init']||(this[_0x1b20ae(0x43c)]=!0x0,this[_0x1b20ae(0x1f6)]['sessionStatus$'][_0x1b20ae(0x204)](_0x3b0fae['takeUntil'](this[_0x1b20ae(0x35b)]))['subscribe'](_0xae5195=>{const _0x396913=_0x1b20ae;_0xae5195===_0x4cce40['SessionStatus'][_0x396913(0x1fe)]?this[_0x396913(0x22c)]():this[_0x396913(0x1dd)]();}),this['_session']['event$']['pipe'](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x555f12=>{const _0x5b2eb4=_0x1b20ae,_0x14716c=_0x555f12[_0x5b2eb4(0x2f7)];_0x14716c===_0x28fbb0['CollaborationEvent'][_0x5b2eb4(0x3cc)]&&this[_0x5b2eb4(0x260)](_0x555f12),_0x14716c===_0x28fbb0[_0x5b2eb4(0x2f3)][_0x5b2eb4(0x46c)]&&this[_0x5b2eb4(0x27d)](_0x555f12);}),this[_0x1b20ae(0x3ee)](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x3ea53c=>{const _0x4d7ab4=_0x1b20ae,_0x6edaeb=_0x3ea53c[_0x4d7ab4(0x317)];_0x6edaeb!=null&&this['_online']&&_0x3ea53c['id']===_0x3c0520[_0x4d7ab4(0x3ea)]['id']&&_0x6edaeb[_0x4d7ab4(0x2b8)]===this[_0x4d7ab4(0x307)]&&_0x6edaeb[_0x4d7ab4(0x284)]===!0x1&&_0x6edaeb[_0x4d7ab4(0x1bc)][_0x4d7ab4(0x413)]>0x0&&this[_0x4d7ab4(0x3be)](_0x6edaeb['ranges']);})),this[_0x1b20ae(0x287)][_0x1b20ae(0x479)][_0x1b20ae(0x204)](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x8be2ef=>{const _0x54e0e2=_0x1b20ae;if((_0x8be2ef==null?void 0x0:_0x8be2ef[_0x54e0e2(0x307)])!==this[_0x54e0e2(0x307)])return;const _0x54b25d={'eventID':_0x28fbb0[_0x54e0e2(0x2f3)]['UPDATE_CURSOR'],'data':_0x8be2ef};this[_0x54e0e2(0x260)](_0x54b25d);}),this['disposeWithMe'](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x36027e=>{const _0x2083df=_0x1b20ae;if(_0x36027e[_0x2083df(0x317)]==null)return;const _0x5c4da6=_0x36027e[_0x2083df(0x317)];if(_0x36027e['id']!==_0x3c0520[_0x2083df(0x37a)]['id']||_0x5c4da6[_0x2083df(0x2b8)]!==this[_0x2083df(0x307)])return;const _0x2cc98d={'id':_0x2083df(0x198),'params':_0x5c4da6},_0x2626e8=this[_0x2083df(0x1e2)];for(const [_0x20aad2,_0x2d8a77]of _0x2626e8){const _0x2254d8={'id':_0x2083df(0x198),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2d8a77[_0x2083df(0x1bc)]}},_0x35e073=this[_0x2083df(0x46d)][_0x2083df(0x255)](_0x2cc98d,_0x2254d8,!0x1);if(_0x28fbb0[_0x2083df(0x440)](_0x35e073))throw _0x35e073['error'];_0x2626e8[_0x2083df(0x2af)](_0x20aad2,{..._0x2d8a77,'ranges':_0x35e073[_0x2083df(0x27c)]['params'][_0x2083df(0x28d)]});}queueMicrotask(()=>{const _0x4b3b71=_0x2083df;this[_0x4b3b71(0x23c)][_0x4b3b71(0x34a)](_0x2626e8);});})));}[_0x2be3c1(0x260)](_0xb8e736){const _0x283b5c=_0x2be3c1;var _0x95c7f8,_0x4f840f;const {memberID:_0x521ae7,selection:_0x24711b}=_0xb8e736[_0x283b5c(0x32b)],_0x3f59d7=_0xd6e2b0(_0x24711b),_0x4a007e=(_0x4f840f=(_0x95c7f8=this[_0x283b5c(0x24c)][_0x283b5c(0x315)](this[_0x283b5c(0x307)],_0x521ae7))==null?void 0x0:_0x95c7f8[_0x283b5c(0x429)])!=null?_0x4f840f:_0x283b5c(0x3c3),_0x282b95={'color':this[_0x283b5c(0x471)][_0x283b5c(0x402)](_0x521ae7),'name':_0x4a007e,'ranges':_0x3f59d7},_0x4e78d1=this['cursorInfo'];_0x4e78d1['set'](_0x521ae7,_0x282b95),this['_cursorInfo$'][_0x283b5c(0x34a)](_0x4e78d1);}[_0x2be3c1(0x27d)](_0x5b7972){const _0x4ebc0f=_0x2be3c1,{memberID:_0x30c4b3}=_0x5b7972[_0x4ebc0f(0x32b)],_0x21bab2=this[_0x4ebc0f(0x1e2)];_0x21bab2[_0x4ebc0f(0x3e0)](_0x30c4b3),this[_0x4ebc0f(0x23c)][_0x4ebc0f(0x34a)](_0x21bab2);}[_0x2be3c1(0x22c)](){const _0x4f6f0b=_0x2be3c1;var _0x2426cb;if(this[_0x4f6f0b(0x3cd)]=!0x0,((_0x2426cb=this[_0x4f6f0b(0x1b7)]['getFocusedUnit']())==null?void 0x0:_0x2426cb[_0x4f6f0b(0x312)]())!==this[_0x4f6f0b(0x307)])return;const _0x3cff79=this['_injector'][_0x4f6f0b(0x489)](_0x3c0520[_0x4f6f0b(0x41a)])[_0x4f6f0b(0x3ed)]();Array['isArray'](_0x3cff79)&&_0x3cff79[_0x4f6f0b(0x413)]>0x0&&this[_0x4f6f0b(0x3be)](_0x3cff79);}[_0x2be3c1(0x1dd)](){const _0x5ae4b2=_0x2be3c1;this[_0x5ae4b2(0x3cd)]=!0x1;}};_0x164a3b=_0x570ac6([_0x5cd293(0x2,_0x88db4d['Inject'](_0x88db4d[_0x2be3c1(0x3db)])),_0x5cd293(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x5cd293(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x5cd293(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x5cd293(0x6,_0x28fbb0['ITransformService']),_0x5cd293(0x7,_0x88db4d[_0x2be3c1(0x43e)]),_0x5cd293(0x8,_0x88db4d[_0x2be3c1(0x355)])],_0x164a3b);var _0x47db12=Object[_0x2be3c1(0x393)],_0x22a41b=(_0x4e5a24,_0x4981f7,_0x262e83,_0x2153de)=>{const _0x571584=_0x2be3c1;for(var _0x2e5603=_0x2153de>0x1?void 0x0:_0x2153de?_0x47db12(_0x4981f7,_0x262e83):_0x4981f7,_0x54a2b8=_0x4e5a24[_0x571584(0x413)]-0x1,_0x1e6488;_0x54a2b8>=0x0;_0x54a2b8--)(_0x1e6488=_0x4e5a24[_0x54a2b8])&&(_0x2e5603=_0x1e6488(_0x2e5603)||_0x2e5603);return _0x2e5603;},_0x49d8dc=(_0x53cbff,_0xcc0068)=>(_0x439bf8,_0x4b7c71)=>_0xcc0068(_0x439bf8,_0x4b7c71,_0x53cbff);const _0x2c8fc0=0x12c,_0x503ef5=0x64,_0x57e16a=()=>{let _0x20b2fa=[],_0x1fa9d3=!0x1;return _0x2dc7fb=>{const _0x52783f=_0x4ca8;_0x20b2fa[_0x52783f(0x339)](_0x2dc7fb),_0x1fa9d3||(_0x1fa9d3=!0x0,setTimeout(()=>{const _0x36c1f7=_0x52783f;_0x20b2fa[_0x36c1f7(0x2cd)](_0x2926c4=>_0x2926c4()),_0x20b2fa=[],_0x1fa9d3=!0x1;}));};};let _0x14f87c=class extends _0x88db4d['RxDisposable']{constructor(_0x3f507a,_0x262d7e,_0x57530b,_0x5b209f,_0x5c62aa,_0x2a4ff4,_0x5a7f03,_0x14d7e8){const _0x2d4c55=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,'_init',!0x1),_0x31ba17(this,'_cursorInfo$',new _0x3b0fae['BehaviorSubject'](new Map())),_0x31ba17(this,_0x2d4c55(0x2b3),this[_0x2d4c55(0x23c)][_0x2d4c55(0x42b)]()),_0x31ba17(this,_0x2d4c55(0x405),new _0x3b0fae[(_0x2d4c55(0x3b8))]([])),_0x31ba17(this,_0x2d4c55(0x3f6),this['_roomMembers$'][_0x2d4c55(0x204)](_0x3b0fae['debounceTime'](_0x2c8fc0))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x2d4c55(0x452)]((_0x1ef915,_0x566b68)=>{const _0x36b2c0=_0x2d4c55,_0xe282ea={'eventID':_0x28fbb0['CollaborationEvent'][_0x36b2c0(0x3cc)],'data':{'unitID':this['unitID'],'memberID':this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2e3)](),'selection':_0x52fd75[_0x36b2c0(0x200)](_0x1ef915,_0x566b68['range'])}};this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2be)](_0xe282ea,this['unitID']);},_0x503ef5)),(this[_0x2d4c55(0x307)]=_0x3f507a,this[_0x2d4c55(0x1f6)]=_0x262d7e,this[_0x2d4c55(0x363)]=_0x57530b,this['_colorAssignService']=_0x5b209f,this[_0x2d4c55(0x24c)]=_0x5c62aa,this[_0x2d4c55(0x1b7)]=_0x2a4ff4,this[_0x2d4c55(0x243)]=_0x5a7f03,this['_refRangeService']=_0x14d7e8);}get[_0x2be3c1(0x1e2)](){const _0x28238f=_0x2be3c1;return this[_0x28238f(0x23c)]['getValue']();}get[_0x2be3c1(0x3ce)](){const _0x5c7f23=_0x2be3c1;return this[_0x5c7f23(0x405)][_0x5c7f23(0x21e)]();}['dispose'](){const _0x8e5c79=_0x2be3c1;super[_0x8e5c79(0x1a4)](),this[_0x8e5c79(0x23c)][_0x8e5c79(0x34a)](new Map()),this[_0x8e5c79(0x23c)][_0x8e5c79(0x3f9)](),this[_0x8e5c79(0x405)]['next']([]),this[_0x8e5c79(0x405)]['complete']();}[_0x2be3c1(0x394)](){const _0x28fe6d=_0x2be3c1;this['_init']||(this[_0x28fe6d(0x43c)]=!0x0,this[_0x28fe6d(0x1f6)]['sessionStatus$'][_0x28fe6d(0x204)](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))[_0x28fe6d(0x1f2)](_0x196b54=>{const _0x99165e=_0x28fe6d;_0x196b54===_0x4cce40[_0x99165e(0x33b)][_0x99165e(0x1fe)]?this['_toggleOnline']():this[_0x99165e(0x1dd)]();}),this[_0x28fe6d(0x1f6)]['event$']['pipe'](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))['subscribe'](_0x2f4941=>{const _0x194b8c=_0x28fe6d,_0x46ee2d=_0x2f4941[_0x194b8c(0x2f7)];_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x3cc)]&&this[_0x194b8c(0x260)](_0x2f4941),_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x46c)]&&this[_0x194b8c(0x27d)](_0x2f4941);}),this[_0x28fe6d(0x457)](),this[_0x28fe6d(0x3ee)](this['_commandService'][_0x28fe6d(0x1b3)](_0x2248b7=>{const _0x4cd8da=_0x28fe6d;if(this[_0x4cd8da(0x3cd)]&&_0x2248b7['id']===_0x125f36[_0x4cd8da(0x23f)]['id']&&_0x2248b7['params']['unitId']===this['unitID']){const _0x334b49=_0x2248b7[_0x4cd8da(0x317)];this[_0x4cd8da(0x3be)](_0x334b49[_0x4cd8da(0x32f)],_0x334b49['selections'][0x0]);}})));}['_onCursorUpdate'](_0x515f9d){const _0x1a4d69=_0x2be3c1;var _0x4f53c6,_0x1c5fe0;const {memberID:_0x2ea4f5,selection:_0x5f1ed8}=_0x515f9d['data'],{sheetName:_0x5d581d,range:_0x59029b}=_0x52fd75[_0x1a4d69(0x423)](_0x5f1ed8),_0x1003f5={'name':(_0x1c5fe0=(_0x4f53c6=this['_memberService'][_0x1a4d69(0x315)](this[_0x1a4d69(0x307)],_0x2ea4f5))==null?void 0x0:_0x4f53c6[_0x1a4d69(0x429)])!=null?_0x1c5fe0:'Unknown\x20user','range':this[_0x1a4d69(0x22f)](_0x5d581d,_0x59029b),'sheetID':_0x5d581d,'color':this[_0x1a4d69(0x471)][_0x1a4d69(0x402)](_0x2ea4f5),'selection':_0x5f1ed8},_0x3047d2=this[_0x1a4d69(0x1e2)];_0x3047d2[_0x1a4d69(0x2af)](_0x2ea4f5,_0x1003f5),this[_0x1a4d69(0x23c)][_0x1a4d69(0x34a)](_0x3047d2);}[_0x2be3c1(0x27d)](_0x5a590f){const _0x250173=_0x2be3c1,{memberID:_0x5e769b}=_0x5a590f['data'],_0xb5d6c3=this[_0x250173(0x1e2)];_0xb5d6c3[_0x250173(0x3e0)](_0x5e769b),this[_0x250173(0x23c)][_0x250173(0x34a)](_0xb5d6c3);}['_getMergeRange'](_0x28fc10,_0x226f0b){const _0x2b5e0b=_0x2be3c1;var _0x5901b4,_0x249522;const _0x2abcdd=(_0x249522=(_0x5901b4=this[_0x2b5e0b(0x1b7)][_0x2b5e0b(0x379)](this[_0x2b5e0b(0x307)]))==null?void 0x0:_0x5901b4[_0x2b5e0b(0x1a0)](_0x28fc10))==null?void 0x0:_0x249522[_0x2b5e0b(0x197)]();return(_0x2abcdd==null?void 0x0:_0x2abcdd[_0x2b5e0b(0x2a6)](_0x1b52df=>_0x88db4d[_0x2b5e0b(0x264)][_0x2b5e0b(0x1fc)](_0x1b52df,_0x226f0b)))||_0x226f0b;}[_0x2be3c1(0x457)](){const _0x41ee54=_0x2be3c1,_0x2995d5=new _0x88db4d[(_0x41ee54(0x270))](),_0x2975b2=_0x57e16a(),_0x13735b=()=>{const _0x53f274=_0x41ee54;_0x2995d5[_0x53f274(0x1a4)]();const _0x557d69=(_0x3544a1,_0x2bf47b,_0x5e401f,_0x517bcc)=>{const _0x35c01f=_0x53f274;let _0x4cc658=[];switch(_0x3544a1['id']){case _0x125f36['EffectRefRangId'][_0x35c01f(0x296)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveLeft'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x299)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveUp'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1c8)]:{_0x4cc658=_0x125f36[_0x35c01f(0x346)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x20b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x251)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)]['InsertRangeMoveRightCommandId']:{_0x4cc658=_0x125f36[_0x35c01f(0x277)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1ae)]:{_0x4cc658=_0x125f36[_0x35c01f(0x378)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x356)]:{_0x4cc658=_0x125f36['handleMoveRange'](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x3a4)]:{_0x4cc658=_0x125f36[_0x35c01f(0x29d)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x41b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x25a)](_0x3544a1,_0x517bcc);break;}}const _0x3889b5=_0x125f36[_0x35c01f(0x361)](_0x4cc658,_0x517bcc),_0x14025c=this[_0x35c01f(0x1e2)][_0x35c01f(0x489)](_0x2bf47b);if(_0x14025c&&_0x3889b5){const _0x3fbcf0={..._0x14025c,'range':_0x3889b5};this[_0x35c01f(0x1e2)]['set'](_0x2bf47b,_0x3fbcf0),_0x2975b2(()=>{const _0x5d741f=_0x35c01f,_0x27554d=this[_0x5d741f(0x3ae)][_0x5d741f(0x217)](_0x3889b5,_0x95c2d3=>(_0x27554d[_0x5d741f(0x1a4)](),_0x557d69(_0x95c2d3,_0x2bf47b,_0x5e401f,_0x3889b5)));_0x2995d5[_0x5d741f(0x262)](_0x27554d);});}return{'redos':[],'undos':[]};};this[_0x53f274(0x1e2)][_0x53f274(0x2cd)]((_0x381b42,_0x1c7f61)=>{const _0x220e84=_0x53f274,{range:_0x145710,sheetID:_0x257558}=_0x381b42,_0x5de018=this[_0x220e84(0x3ae)][_0x220e84(0x217)](_0x145710,_0x13103=>(_0x5de018['dispose'](),_0x557d69(_0x13103,_0x1c7f61,_0x257558,_0x145710)));_0x2995d5['add'](_0x5de018);});};this[_0x41ee54(0x3ee)](_0x88db4d[_0x41ee54(0x226)](this[_0x41ee54(0x23c)]['subscribe'](()=>{_0x13735b();})));}[_0x2be3c1(0x22c)](){const _0x10c909=_0x2be3c1;var _0x2e1905,_0xa68a66;if(this[_0x10c909(0x3cd)]=!0x0,((_0x2e1905=this['_univerInstanceService'][_0x10c909(0x3c1)]())==null?void 0x0:_0x2e1905[_0x10c909(0x312)]())!==this['unitID'])return;const _0x574ba7=(_0xa68a66=this['_injector']['get'](_0x125f36[_0x10c909(0x24d)])['getCurrentSelections']())==null?void 0x0:_0xa68a66[0x0],_0x17fdee=this['_univerInstanceService'][_0x10c909(0x1c3)](_0x88db4d['UniverInstanceType'][_0x10c909(0x216)])[_0x10c909(0x218)]();_0x574ba7&&_0x17fdee&&this[_0x10c909(0x3be)](_0x17fdee[_0x10c909(0x37b)](),_0x574ba7);}['_toggleOffline'](){this['_online']=!0x1;}};_0x14f87c=_0x22a41b([_0x49d8dc(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x49d8dc(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x49d8dc(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x49d8dc(0x5,_0x88db4d[_0x2be3c1(0x43e)]),_0x49d8dc(0x6,_0x88db4d[_0x2be3c1(0x355)]),_0x49d8dc(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x125f36[_0x2be3c1(0x36f)]))],_0x14f87c);var _0x327251=Object[_0x2be3c1(0x393)],_0x374f76=(_0x2511b5,_0x41e937,_0x19b918,_0x26654a)=>{for(var _0xd8174b=_0x26654a>0x1?void 0x0:_0x26654a?_0x327251(_0x41e937,_0x19b918):_0x41e937,_0x12aa4b=_0x2511b5['length']-0x1,_0x37a083;_0x12aa4b>=0x0;_0x12aa4b--)(_0x37a083=_0x2511b5[_0x12aa4b])&&(_0xd8174b=_0x37a083(_0xd8174b)||_0xd8174b);return _0xd8174b;},_0x47ef0c=(_0x8e4118,_0x1ef88f)=>(_0x490cb7,_0x1afa5b)=>_0x1ef88f(_0x490cb7,_0x1afa5b,_0x8e4118);let _0x2e3752=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x5bd446,_0x5d3a44,_0x6b19a0){const _0x2db428=_0x2be3c1;super(),_0x31ba17(this,_0x2db428(0x456),new Map()),_0x31ba17(this,_0x2db428(0x300),new _0x3b0fae[(_0x2db428(0x23e))]()),(this['_univerInstanceService']=_0x5bd446,this['_injector']=_0x5d3a44,this[_0x2db428(0x1e8)]=_0x6b19a0,this[_0x2db428(0x43c)]());}['dispose'](){const _0x380abf=_0x2be3c1;super[_0x380abf(0x1a4)](),this[_0x380abf(0x300)][_0x380abf(0x3f9)](),this[_0x380abf(0x456)][_0x380abf(0x2cd)](_0x4b2a8a=>_0x4b2a8a['dispose']());}['getCollabCursors$'](_0x12ede){const _0x29e953=_0x2be3c1;return this[_0x29e953(0x456)][_0x29e953(0x235)](_0x12ede)?this[_0x29e953(0x456)][_0x29e953(0x489)](_0x12ede)[_0x29e953(0x2b3)]:this[_0x29e953(0x300)][_0x29e953(0x204)](_0x3b0fae[_0x29e953(0x1e4)](_0x95057=>_0x95057[_0x29e953(0x307)]===_0x12ede),_0x3b0fae[_0x29e953(0x3c8)](_0x53f9d1=>_0x53f9d1['cursorInfo$']));}[_0x2be3c1(0x43c)](){const _0x2072e4=_0x2be3c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)])[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this[_0x2072e4(0x35b)]))['subscribe'](async _0x19bd87=>{const _0x19a6cd=_0x2072e4,_0x176a7e=_0x19bd87[_0x19a6cd(0x312)](),_0x1d5c6e=await this[_0x19a6cd(0x245)](_0x176a7e);this['_entityInit$']['next'](_0x1d5c6e),this[_0x19a6cd(0x456)][_0x19a6cd(0x2af)](_0x176a7e,_0x1d5c6e);}),this[_0x2072e4(0x1b7)][_0x2072e4(0x228)](_0x88db4d[_0x2072e4(0x403)]['UNIVER_DOC'])[_0x2072e4(0x204)](_0x3b0fae['takeUntil'](this[_0x2072e4(0x35b)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x1e4)](_0x4a31fa=>!_0x4a31fa[_0x2072e4(0x312)]()[_0x2072e4(0x220)]('__')))[_0x2072e4(0x1f2)](async _0x1483b1=>{const _0xf378f8=_0x2072e4,_0x49e138=_0x1483b1[_0xf378f8(0x312)](),_0x4a9032=await this[_0xf378f8(0x385)](_0x49e138);this[_0xf378f8(0x300)]['next'](_0x4a9032),this['_entities'][_0xf378f8(0x2af)](_0x49e138,_0x4a9032);}),_0x3b0fae[_0x2072e4(0x21c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x44b)]),this[_0x2072e4(0x1b7)][_0x2072e4(0x412)](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this['dispose$']))[_0x2072e4(0x1f2)](_0x2ae7f0=>{const _0x15b829=_0x2072e4,_0x539068=_0x2ae7f0['getUnitId'](),_0x19505b=this[_0x15b829(0x456)][_0x15b829(0x489)](_0x539068);_0x19505b&&(_0x19505b[_0x15b829(0x1a4)](),this['_entities'][_0x15b829(0x3e0)](_0x539068));});}async[_0x2be3c1(0x245)](_0x3290f8){const _0x2a38b7=_0x2be3c1,_0x44dfff=await this['_collabSessionService']['requireSession'](_0x3290f8),_0x1f222a=this['_injector'][_0x2a38b7(0x2c6)](_0x14f87c,_0x3290f8,_0x44dfff);return _0x1f222a[_0x2a38b7(0x394)](),_0x1f222a;}async[_0x2be3c1(0x385)](_0x1bb675){const _0x2a8d36=_0x2be3c1,_0x27a0e7=await this[_0x2a8d36(0x1e8)][_0x2a8d36(0x327)](_0x1bb675),_0x554e60=this[_0x2a8d36(0x363)][_0x2a8d36(0x2c6)](_0x164a3b,_0x1bb675,_0x27a0e7);return _0x554e60[_0x2a8d36(0x394)](),_0x554e60;}};_0x2e3752=_0x374f76([_0x47ef0c(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x47ef0c(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x47ef0c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x274)]))],_0x2e3752);const _0x2f70bb=0x14,_0x23e623=0xc8,_0x168345=0x4,_0x296d78=0x5;function _0xda1801(_0x3e6bf3,_0x370753){const _0x19d644=_0x2be3c1;let {radius:_0x10c1a1,width:_0x590411,height:_0x160e6f}=_0x370753;_0x10c1a1=_0x10c1a1!=null?_0x10c1a1:0x0,_0x590411=_0x590411!=null?_0x590411:0x1e,_0x160e6f=_0x160e6f!=null?_0x160e6f:0x1e;let _0x3862cf=0x0,_0x2bf20c=0x0,_0x37a0a0=0x0;_0x3862cf=_0x2bf20c=_0x37a0a0=Math[_0x19d644(0x25c)](_0x10c1a1,_0x590411/0x2,_0x160e6f/0x2),_0x3e6bf3['beginPath'](),_0x3e6bf3[_0x19d644(0x441)](_0x3862cf,0x0),_0x3e6bf3['lineTo'](_0x590411-_0x2bf20c,0x0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x2bf20c,_0x2bf20c,_0x2bf20c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e6bf3['lineTo'](_0x590411,_0x160e6f-_0x37a0a0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x37a0a0,_0x160e6f-_0x37a0a0,_0x37a0a0,0x0,Math['PI']/0x2,!0x1),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x160e6f),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x3862cf),_0x3e6bf3[_0x19d644(0x263)](_0x3862cf,_0x3862cf,_0x3862cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e6bf3[_0x19d644(0x2ed)](),_0x370753['fill']&&(_0x3e6bf3[_0x19d644(0x399)](),_0x3e6bf3[_0x19d644(0x334)]=_0x370753[_0x19d644(0x2d2)],_0x370753[_0x19d644(0x2ae)]==='evenodd'?_0x3e6bf3[_0x19d644(0x2d2)](_0x19d644(0x1aa)):_0x3e6bf3['fill'](),_0x3e6bf3[_0x19d644(0x38b)]());}class _0x25aa55 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x338606,_0x22dd3a){const _0x3b6f8b=_0x2be3c1;super(_0x338606,_0x22dd3a),_0x31ba17(this,_0x3b6f8b(0x329)),_0x31ba17(this,_0x3b6f8b(0x408)),(this[_0x3b6f8b(0x329)]=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x329)],this['text']=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x408)]);}static[_0x2be3c1(0x31d)](_0x595c77,_0x3faff8){const _0x375939=_0x2be3c1,{text:_0x14289d,color:_0x1e1647}=_0x3faff8;_0x595c77[_0x375939(0x399)](),_0x595c77[_0x375939(0x1b4)]=_0x375939(0x46a);const _0x45aff8=_0x595c77[_0x375939(0x304)](_0x14289d)[_0x375939(0x194)],_0x3190ca=Math['min'](_0x45aff8+0x2*_0x168345,_0x23e623);_0xda1801(_0x595c77,{'height':_0x2f70bb,'radius':0x4,'width':_0x3190ca,'fill':_0x1e1647}),_0x595c77[_0x375939(0x334)]=_0x375939(0x1e9);const _0x33d138=_0x168345,_0x2b6206=_0x2f70bb-_0x296d78,_0x2765ba=_0x23e623-0x2*_0x168345;if(_0x45aff8>_0x2765ba){let _0x3b226f='',_0x431f7a=0x0;for(const _0x37cb11 of _0x14289d){const _0x18c130=_0x595c77['measureText'](_0x37cb11)[_0x375939(0x194)];if(_0x431f7a+_0x18c130<=_0x2765ba-_0x595c77[_0x375939(0x304)](_0x375939(0x45b))[_0x375939(0x194)])_0x3b226f+=_0x37cb11,_0x431f7a+=_0x18c130;else{_0x3b226f+=_0x375939(0x45b);break;}}_0x595c77[_0x375939(0x486)](_0x3b226f,_0x33d138,_0x2b6206);}else _0x595c77[_0x375939(0x486)](_0x14289d,_0x33d138,_0x2b6206);_0x595c77[_0x375939(0x38b)]();}[_0x2be3c1(0x42c)](_0x241784){const _0x79d236=_0x2be3c1;_0x25aa55[_0x79d236(0x31d)](_0x241784,this);}}const _0x478f1e=_0x2be3c1(0x366),_0x2ba20b=_0x2be3c1(0x302),_0x22aa35='collab-rect-range-',_0x2acf05=0x6,_0x5a71ab=1.5,_0x5d5d67=0x4,_0x2a20f9=1.5,_0xe4efc3='rgba(255,\x20255,\x20255,\x200.01)';class _0x32d045{constructor(_0x13e371,_0x3c9216,_0x57f04e,_0x2e2a61){const _0x41498c=_0x2be3c1;_0x31ba17(this,'_shapes',[]),_0x31ba17(this,_0x41498c(0x377),null),_0x31ba17(this,_0x41498c(0x463),null),_0x31ba17(this,_0x41498c(0x2f5),null),_0x31ba17(this,'_hideTimer',null),_0x31ba17(this,_0x41498c(0x347),null),(this[_0x41498c(0x29b)]=_0x13e371,this[_0x41498c(0x3c5)]=_0x3c9216,this[_0x41498c(0x2db)]=_0x57f04e,this[_0x41498c(0x39d)]=_0x2e2a61,this[_0x41498c(0x31e)]());}set[_0x2be3c1(0x34e)](_0xc85c1d){const _0x41972b=_0x2be3c1;_0xc85c1d?(this[_0x41972b(0x2f5)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x41972b(0x34c)]()):(this[_0x41972b(0x2f5)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x2be3c1(0x1a4)](){const _0x592302=_0x2be3c1;for(const _0x246d7c of this[_0x592302(0x2d3)])_0x246d7c[_0x592302(0x1a4)]();this[_0x592302(0x463)]&&this[_0x592302(0x463)][_0x592302(0x1a4)](),this[_0x592302(0x2f5)]&&this[_0x592302(0x2f5)]['dispose'](),this[_0x592302(0x377)]&&this[_0x592302(0x377)][_0x592302(0x1a4)](),this[_0x592302(0x347)]&&this['_eventUnsubscribe']();}[_0x2be3c1(0x31e)](){const _0xe838c9=_0x2be3c1;var _0x40b453;const {_docSkeleton:_0x18710b,_document:_0x20207a}=this,{color:_0x3c04a9,name:_0x434267,ranges:_0x4ab056}=this['_cursor'],_0x23c7de=_0x20207a[_0xe838c9(0x3bc)](),{docsLeft:_0x2d7ebe,docsTop:_0xb5c685}=_0x23c7de,_0x303a6e=new _0x1fd691[(_0xe838c9(0x293))](_0x23c7de,_0x18710b);for(const {startOffset:_0x2f7c6f,endOffset:_0x24b79d,rangeType:_0x9f50d7,segmentId:_0x44b0d4,segmentPage:_0x51fa90,collapsed:_0x597e92,isActive:_0x30ff2b}of _0x4ab056){const _0xabe2d8=_0x18710b[_0xe838c9(0x2ac)](_0x2f7c6f,!0x0,_0x44b0d4,_0x51fa90);let _0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d,!0x0,_0x44b0d4,_0x51fa90);if(_0x4ca038==null&&(_0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d-0x1,!0x1,_0x44b0d4,_0x51fa90)),_0x30ff2b){const {contentBoxPointGroup:_0x46be3b}=_0x303a6e[_0xe838c9(0x3e7)](_0x4ca038,_0x4ca038);if(_0x46be3b['length']===0x0)continue;this[_0xe838c9(0x47a)](_0x3c04a9,_0x46be3b,_0x2d7ebe,_0xb5c685,_0x434267),this[_0xe838c9(0x347)]=this[_0xe838c9(0x25e)]();}if(_0xabe2d8&&_0x4ca038){if(_0x9f50d7===_0x88db4d[_0xe838c9(0x2dd)][_0xe838c9(0x297)]){const _0x245bbd=new _0x1fd691['NodePositionConvertToRectRange'](_0x23c7de,_0x18710b),{pointGroup:_0x5241b3}=(_0x40b453=_0x245bbd['getRangePointData'](_0xabe2d8,_0x4ca038))!=null?_0x40b453:{};if(_0x5241b3==null||_0x5241b3[_0xe838c9(0x413)]===0x0)continue;this[_0xe838c9(0x1d9)](_0x3c04a9,_0x5241b3,_0x2d7ebe,_0xb5c685);}else{if(!_0x597e92){const {borderBoxPointGroup:_0x41c371}=_0x303a6e[_0xe838c9(0x3e7)](_0xabe2d8,_0x4ca038);if(_0x41c371[_0xe838c9(0x413)]===0x0)continue;this['_drawTextRange'](_0x3c04a9,_0x41c371,_0x2d7ebe,_0xb5c685);}}}}}['_drawAnchor'](_0x1ed8cb,_0x342eab,_0x409844,_0x4e3b43,_0x87c585){const _0x30c637=_0x2be3c1,_0x3f20f5=this['_getAnchorBounding'](_0x342eab),{left:_0x145248,top:_0x589756,height:_0x40e5d3}=_0x3f20f5,_0x27e8a2=this[_0x30c637(0x19a)](),_0x5b2398=_0x2a20f9/_0x27e8a2,_0x1783f8=new _0xe27d05[(_0x30c637(0x410))](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43,'height':_0x40e5d3,'width':_0x5a71ab,'fill':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':_0x5b2398,'stroke':_0xe4efc3,'evented':!0x0});this[_0x30c637(0x377)]=_0x1783f8,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x1783f8,_0x1fd691[_0x30c637(0x1d5)]);const _0x57ae4e=new _0xe27d05['Rect'](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x5d5d67/0x2,'height':_0x5d5d67,'width':_0x5d5d67,'fill':_0x1ed8cb||_0xe27d05['getColor'](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':0x0,'stroke':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d[_0x30c637(0x2ca)]['black'],0x0),'evented':!0x1});this[_0x30c637(0x2f5)]=_0x57ae4e,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x57ae4e,_0x1fd691[_0x30c637(0x1d5)]);const _0x5e8db4=new _0x25aa55(_0x478f1e+_0x88db4d['generateRandomId'](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x2f70bb,'text':_0x87c585,'color':_0x1ed8cb});this['_textBubble']=_0x5e8db4,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x5e8db4,_0x1fd691[_0x30c637(0x1d5)]),this[_0x30c637(0x34e)]=!0x1;}['_handleHover'](){const _0x4bd8cd=_0x2be3c1,_0x2ec453=this[_0x4bd8cd(0x377)][_0x4bd8cd(0x3e5)][_0x4bd8cd(0x41c)](()=>{const _0x41b0a3=_0x4bd8cd;this[_0x41b0a3(0x34e)]=!0x0;}),_0x28297a=this['_anchor'][_0x4bd8cd(0x424)][_0x4bd8cd(0x41c)](()=>{const _0x28e7c0=_0x4bd8cd;this['_hideTimer']&&clearTimeout(this[_0x28e7c0(0x450)]),this[_0x28e7c0(0x450)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3396e3=_0x4bd8cd;_0x2ec453[_0x3396e3(0x303)](),_0x28297a['unsubscribe']();};}[_0x2be3c1(0x3de)](_0x34b9ee,_0x100575,_0x60780a,_0x5b0790){const _0x4f445b=_0x2be3c1,_0xcda2e9=new _0x88db4d['ColorKit'](_0x34b9ee)[_0x4f445b(0x35a)](0.2)['toRgbString'](),_0x221390=new _0xe27d05['RegularPolygon'](_0x2ba20b+_0x88db4d[_0x4f445b(0x335)](_0x2acf05),{'pointsGroup':_0x100575,'fill':_0xcda2e9||_0xe27d05['getColor'](_0x88db4d[_0x4f445b(0x2ca)][_0x4f445b(0x3d2)],0.2),'left':_0x60780a,'top':_0x5b0790,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f445b(0x2d3)]['push'](_0x221390),this[_0x4f445b(0x3c5)][_0x4f445b(0x2ee)](_0x221390,_0x1fd691[_0x4f445b(0x1d5)]);}[_0x2be3c1(0x1d9)](_0x55ebfa,_0x50ef71,_0x398592,_0x287efe){const _0x3ad9b0=_0x2be3c1,_0x5c7731=new _0x88db4d['ColorKit'](_0x55ebfa)[_0x3ad9b0(0x35a)](0.2)[_0x3ad9b0(0x33f)](),_0x27f73a=new _0xe27d05[(_0x3ad9b0(0x3c0))](_0x22aa35+_0x88db4d[_0x3ad9b0(0x335)](_0x2acf05),{'pointsGroup':_0x50ef71,'fill':_0x5c7731||_0xe27d05[_0x3ad9b0(0x27f)](_0x88db4d[_0x3ad9b0(0x2ca)][_0x3ad9b0(0x3d2)],0.2),'left':_0x398592,'top':_0x287efe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ad9b0(0x2d3)][_0x3ad9b0(0x339)](_0x27f73a),this[_0x3ad9b0(0x3c5)][_0x3ad9b0(0x2ee)](_0x27f73a,_0x1fd691[_0x3ad9b0(0x1d5)]);}[_0x2be3c1(0x29f)](_0x3bb23d){const _0x458fbb=_0x3bb23d[0x0],_0x108fec=_0x458fbb[0x0],_0x4c3d85=_0x458fbb[0x2],{x:_0x495d9c,y:_0x3be380}=_0x108fec,{x:_0x21bc3f,y:_0x5f3960}=_0x4c3d85;return{'left':_0x495d9c,'top':_0x3be380,'width':_0x21bc3f-_0x495d9c,'height':_0x5f3960-_0x3be380};}[_0x2be3c1(0x19a)](){const _0x42c215=_0x2be3c1,{scaleX:_0x5c8d68,scaleY:_0x23b890}=this[_0x42c215(0x3c5)][_0x42c215(0x321)]();return Math[_0x42c215(0x234)](_0x5c8d68,_0x23b890);}}var _0x238c5b=Object[_0x2be3c1(0x393)],_0x4e2f40=(_0x295c0c,_0x2bfa96,_0x2764a0,_0x305ae5)=>{for(var _0xf4389c=_0x305ae5>0x1?void 0x0:_0x305ae5?_0x238c5b(_0x2bfa96,_0x2764a0):_0x2bfa96,_0x596fca=_0x295c0c['length']-0x1,_0x5bf4e1;_0x596fca>=0x0;_0x596fca--)(_0x5bf4e1=_0x295c0c[_0x596fca])&&(_0xf4389c=_0x5bf4e1(_0xf4389c)||_0xf4389c);return _0xf4389c;},_0x17a7d4=(_0x421036,_0x2fad8a)=>(_0x43e47b,_0x3dc354)=>_0x2fad8a(_0x43e47b,_0x3dc354,_0x421036);let _0x476e21=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x284bd6,_0x5805d3,_0x417316,_0x35624c,_0x2b4e31){const _0x3d29d2=_0x2be3c1;super(),_0x31ba17(this,'_cursorShapes',[]),_0x31ba17(this,_0x3d29d2(0x1ab),[]),(this[_0x3d29d2(0x3f7)]=_0x284bd6,this[_0x3d29d2(0x40c)]=_0x5805d3,this[_0x3d29d2(0x2c2)]=_0x417316,this[_0x3d29d2(0x243)]=_0x35624c,this[_0x3d29d2(0x250)]=_0x2b4e31,this[_0x3d29d2(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x5e4d78=_0x2be3c1,_0x391172=this['_context'][_0x5e4d78(0x2b8)],_0x5292ce=this[_0x5e4d78(0x40c)];this[_0x5e4d78(0x3ee)](_0x3b0fae[_0x5e4d78(0x1b8)]([this[_0x5e4d78(0x2c2)]['getCollabCursors$'](_0x391172),this[_0x5e4d78(0x250)][_0x5e4d78(0x3c4)]])[_0x5e4d78(0x204)](_0x31a1bf[_0x5e4d78(0x22e)](([_0x28f3f9,_0x8af7fb])=>({'skeleton':_0x5292ce[_0x5e4d78(0x210)](),'cursors':[..._0x28f3f9['values']()][_0x5e4d78(0x340)](_0x4dba0c=>({..._0x4dba0c,'color':this['_themeService'][_0x5e4d78(0x1ed)](_0x4dba0c[_0x5e4d78(0x329)])}))})))[_0x5e4d78(0x1f2)](_0x111696=>{const _0x424914=_0x5e4d78;if(this[_0x424914(0x443)](),_0x111696){const {skeleton:_0x4f9e78,cursors:_0x3b994a}=_0x111696;this[_0x424914(0x411)](_0x4f9e78,_0x3b994a);}})),this[_0x5e4d78(0x27e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x469985,_0x37e7ab){const _0xdb9e14=_0x2be3c1,{scene:_0x4b12e6,mainComponent:_0x362c16}=this[_0xdb9e14(0x3f7)],_0x3f0eba=_0x37e7ab[_0xdb9e14(0x22e)](_0x741421=>new _0x32d045(_0x741421,_0x4b12e6,_0x469985,_0x362c16));this[_0xdb9e14(0x454)]=_0x3f0eba,this[_0xdb9e14(0x1ab)]=_0x37e7ab;}['_refreshCollabCursors'](){const _0x3dceea=_0x2be3c1;this['_removeCollabCursors']();const {scene:_0x1eccbc,mainComponent:_0x2c2fb7}=this[_0x3dceea(0x3f7)],_0x59baee=this[_0x3dceea(0x40c)]['getSkeleton'](),_0x20d873=this['_cursors'][_0x3dceea(0x22e)](_0x27427f=>new _0x32d045(_0x27427f,_0x1eccbc,_0x59baee,_0x2c2fb7));this[_0x3dceea(0x454)]=_0x20d873;}[_0x2be3c1(0x443)](){const _0x361c84=_0x2be3c1;this['_cursorShapes'][_0x361c84(0x2cd)](_0x3aebdb=>_0x3aebdb[_0x361c84(0x1a4)]()),this[_0x361c84(0x454)]=[];}[_0x2be3c1(0x45d)](){const _0x56028a=_0x2be3c1,_0x1ea237=[_0x1fd691[_0x56028a(0x481)]['id']];this['disposeWithMe'](this[_0x56028a(0x243)]['onCommandExecuted'](_0x31f1b1=>{const _0xd5a787=_0x56028a;_0x1ea237[_0xd5a787(0x288)](_0x31f1b1['id'])&&_0x31f1b1[_0xd5a787(0x317)]['unitId']===this[_0xd5a787(0x3f7)]['unitId']&&this[_0xd5a787(0x2e6)]();}));}['_initResize'](){const _0x3d140f=_0x2be3c1;this['disposeWithMe'](_0x88db4d[_0x3d140f(0x31a)](this[_0x3d140f(0x3f7)][_0x3d140f(0x2d8)]['onTransformChange$'])[_0x3d140f(0x204)](_0x31a1bf[_0x3d140f(0x1e4)](_0x400a9a=>_0x400a9a[_0x3d140f(0x3bd)]===_0xe27d05[_0x3d140f(0x1c0)]['resize']),_0x31a1bf[_0x3d140f(0x2d1)](0x10))[_0x3d140f(0x1f2)](()=>{this['_refreshCollabCursors']();}));}};_0x476e21=_0x4e2f40([_0x17a7d4(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x3c0520['DocSkeletonManagerService'])),_0x17a7d4(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x17a7d4(0x3,_0x88db4d[_0x2be3c1(0x355)]),_0x17a7d4(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x476e21);const _0x5c9390=0x1,_0x50bf46=1.5;class _0x327c29 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x151b5e,_0x5d03f0){const _0x2944c3=_0x2be3c1;super(_0x151b5e,_0x5d03f0),_0x31ba17(this,'_color'),_0x31ba17(this,_0x2944c3(0x1e0),!0x1),_0x31ba17(this,_0x2944c3(0x232)),_0x31ba17(this,_0x2944c3(0x24e),''),_0x31ba17(this,_0x2944c3(0x305),_0x2944c3(0x47f)),_0x31ba17(this,_0x2944c3(0x289)),(_0x5d03f0&&this[_0x2944c3(0x1cc)](_0x5d03f0),this['onPointerEnter$'][_0x2944c3(0x41c)](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x0})),this[_0x2944c3(0x424)]['subscribeEvent'](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x1})));}[_0x2be3c1(0x1cc)](_0x2afdcc){const _0x23f24c=_0x2be3c1;var _0x3fce52,_0x21628b,_0x144ce4,_0x2b4958,_0x392486,_0x398f36;this[_0x23f24c(0x238)]=(_0x3fce52=_0x2afdcc[_0x23f24c(0x329)])!=null?_0x3fce52:this[_0x23f24c(0x238)],this[_0x23f24c(0x1e0)]=(_0x21628b=_0x2afdcc[_0x23f24c(0x478)])!=null?_0x21628b:this[_0x23f24c(0x1e0)],this[_0x23f24c(0x232)]=(_0x144ce4=_0x2afdcc[_0x23f24c(0x382)])!=null?_0x144ce4:this['_range'],this['_name']=(_0x2b4958=_0x2afdcc['name'])!=null?_0x2b4958:this[_0x23f24c(0x24e)],this['_labelPosition']=(_0x392486=_0x2afdcc[_0x23f24c(0x359)])!=null?_0x392486:this[_0x23f24c(0x305)],this[_0x23f24c(0x289)]=(_0x398f36=_0x2afdcc[_0x23f24c(0x27b)])!=null?_0x398f36:this[_0x23f24c(0x289)],this[_0x23f24c(0x3a5)]({'width':_0x2afdcc[_0x23f24c(0x194)],'height':_0x2afdcc['height']});}[_0x2be3c1(0x43d)](_0x755a31){const _0x144eb9=_0x2be3c1,{row:_0x59a3cd,column:_0x1789ac}=_0x755a31;if(_0x59a3cd>=this[_0x144eb9(0x232)][_0x144eb9(0x31f)]&&_0x59a3cd<=this[_0x144eb9(0x232)]['endRow']&&_0x1789ac>=this[_0x144eb9(0x232)]['startColumn']&&_0x1789ac<=this[_0x144eb9(0x232)][_0x144eb9(0x236)]){this[_0x144eb9(0x1cc)]({'hovered':!0x0});return;}this[_0x144eb9(0x1cc)]({'hovered':!0x1});}[_0x2be3c1(0x39a)](_0x8e31a7){return!0x1;}['_draw'](_0x11bab9){const _0x5aea28=_0x2be3c1;_0xe27d05[_0x5aea28(0x410)][_0x5aea28(0x31d)](_0x11bab9,{'width':this[_0x5aea28(0x194)],'height':this['height'],'strokeWidth':_0x50bf46,'stroke':this[_0x5aea28(0x238)],'evented':!0x1,'fill':this[_0x5aea28(0x289)]}),this[_0x5aea28(0x1e0)]&&(_0x11bab9[_0x5aea28(0x399)](),_0x11bab9['transform'](0x1,0x0,0x0,0x1,this[_0x5aea28(0x194)],this['_labelPosition']===_0x5aea28(0x30a)?0x0:-_0x2f70bb),_0x25aa55['drawWith'](_0x11bab9,{'text':this[_0x5aea28(0x24e)],'color':this['_color']}),_0x11bab9[_0x5aea28(0x38b)]());}}var _0x5c32b1=Object['getOwnPropertyDescriptor'],_0x1aabc3=(_0x1b61bc,_0x50bf62,_0x3337a6,_0x2cd520)=>{const _0x5e1851=_0x2be3c1;for(var _0x4f9a6d=_0x2cd520>0x1?void 0x0:_0x2cd520?_0x5c32b1(_0x50bf62,_0x3337a6):_0x50bf62,_0x3455a6=_0x1b61bc[_0x5e1851(0x413)]-0x1,_0x4cf3ac;_0x3455a6>=0x0;_0x3455a6--)(_0x4cf3ac=_0x1b61bc[_0x3455a6])&&(_0x4f9a6d=_0x4cf3ac(_0x4f9a6d)||_0x4f9a6d);return _0x4f9a6d;},_0x2a98fd=(_0x3f7173,_0xe8dfb8)=>(_0x1d07f4,_0x93397f)=>_0xe8dfb8(_0x1d07f4,_0x93397f,_0x3f7173);const _0x166ec6=0x1389;let _0x485669=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x4df274,_0x358e8b,_0x4f6cf6,_0x2b6f00){const _0x51b620=_0x2be3c1;super(),_0x31ba17(this,'_cursors',new Set()),_0x31ba17(this,_0x51b620(0x2a2),null),(this['_context']=_0x4df274,this[_0x51b620(0x461)]=_0x358e8b,this[_0x51b620(0x2c2)]=_0x4f6cf6,this[_0x51b620(0x250)]=_0x2b6f00,this[_0x51b620(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x298b51=_0x2be3c1;this['_sheetSkeletonManagerService'][_0x298b51(0x485)][_0x298b51(0x204)](_0x31a1bf[_0x298b51(0x2d7)](this[_0x298b51(0x35b)]),_0x31a1bf[_0x298b51(0x3c8)](_0x11aec3=>{const _0x372797=_0x298b51;if(_0x11aec3){const _0x203005=_0x11aec3[_0x372797(0x3bf)];return _0x3b0fae['combineLatest'](this[_0x372797(0x2c2)][_0x372797(0x37f)](this[_0x372797(0x3f7)][_0x372797(0x2b8)]),this['_themeService']['currentTheme$'])[_0x372797(0x204)](_0x31a1bf[_0x372797(0x22e)](([_0x262f3a,_0x1ac309])=>{const _0x533257=_0x372797,_0x180f7a=new Map();return _0x262f3a[_0x533257(0x2cd)]((_0x1ed8d8,_0x35ff7e)=>{const _0x2c42f4=_0x533257;if(_0x1ed8d8['sheetID']===_0x203005){const _0x520f74={..._0x1ed8d8};_0x520f74[_0x2c42f4(0x329)]=this[_0x2c42f4(0x250)][_0x2c42f4(0x1ed)](_0x1ed8d8['color']),_0x180f7a[_0x2c42f4(0x2af)](_0x35ff7e,_0x520f74);}}),{'skeleton':_0x11aec3,'cursors':_0x180f7a};}));}return _0x3b0fae['of']({'skeleton':null,'cursors':new Map()});}))[_0x298b51(0x1f2)](({skeleton:_0x399a24,cursors:_0x43fc36})=>{const _0x55001e=_0x298b51;this[_0x55001e(0x443)](),_0x399a24&&this['_updateCollabCursors'](_0x399a24,_0x43fc36);}),this[_0x298b51(0x461)][_0x298b51(0x485)][_0x298b51(0x1f2)](_0x280616=>{const _0x43807d=_0x298b51;if(_0x280616==null)return;const {skeleton:_0x28e627}=_0x280616,{scene:_0x208c8b}=this['_context'];_0x208c8b[_0x43807d(0x3f5)][_0x43807d(0x41c)](_0x88db4d[_0x43807d(0x452)](_0x3c5517=>{const _0x4d7ea3=_0x43807d;var _0x2ce743,_0x109731;const {offsetX:_0x309f29,offsetY:_0x54d675}=_0x3c5517,{x:_0x256c75,y:_0x525127}=_0x208c8b[_0x4d7ea3(0x47e)](_0xe27d05['Vector2'][_0x4d7ea3(0x3f8)]([_0x309f29,_0x54d675])),{scaleX:_0x42eab,scaleY:_0x3368ea}=_0x208c8b[_0x4d7ea3(0x321)](),_0x2035ac=_0x208c8b['getViewport'](_0xe27d05[_0x4d7ea3(0x1b5)][_0x4d7ea3(0x36c)]),_0x4f549d=_0x208c8b[_0x4d7ea3(0x484)](_0xe27d05[_0x4d7ea3(0x43a)][_0x4d7ea3(0x3f8)]([_0x256c75,_0x525127]),_0x2035ac),_0x52ad7a=_0x28e627[_0x4d7ea3(0x19c)](_0x309f29,_0x54d675,_0x42eab,_0x3368ea,_0x4f549d);((_0x2ce743=this['_lastPointer'])==null?void 0x0:_0x2ce743[_0x4d7ea3(0x2a5)])===_0x52ad7a['column']&&((_0x109731=this['_lastPointer'])==null?void 0x0:_0x109731[_0x4d7ea3(0x483)])===_0x52ad7a['row']||this[_0x4d7ea3(0x1ab)]['forEach'](_0x46d534=>{_0x46d534['onMouseMove'](_0x52ad7a);});},0x64));});}[_0x2be3c1(0x411)](_0x1b4477,_0x1f55ef){const _0x3e1df2=_0x2be3c1;var _0x2d213d;const _0x48e5c0=(_0x2d213d=this[_0x3e1df2(0x461)][_0x3e1df2(0x1d3)]())==null?void 0x0:_0x2d213d[_0x3e1df2(0x1d6)];if(!_0x48e5c0)return;const _0x4c649f=this[_0x3e1df2(0x3f2)]();if(!_0x4c649f)return;this[_0x3e1df2(0x1ab)]['forEach'](_0x51ea81=>{const _0x113fe6=_0x3e1df2;_0x51ea81[_0x113fe6(0x205)]();});const {scene:_0x5951b9}=_0x4c649f,_0x2d5a95=_0xe1d537(Array['from'](_0x1f55ef[_0x3e1df2(0x2bc)]()))[_0x3e1df2(0x22e)](_0x247bfb=>{const _0x50c9dc=_0x3e1df2,{color:_0x1ce52f,range:_0x38ed72,name:_0x436c36,selection:_0x249852,sheetID:_0x1f138b}=_0x247bfb,{startColumn:_0xd56f4,startRow:_0x5f15b3,endColumn:_0x28beaa,endRow:_0x1f626b}=_0x38ed72,_0x35db1a=_0x309330[_0x50c9dc(0x480)](_0x5f15b3,_0xd56f4,_0x5951b9,_0x48e5c0),_0x317c7e=_0x309330[_0x50c9dc(0x480)](_0x1f626b,_0x28beaa,_0x5951b9,_0x48e5c0),{columnHeaderHeightAndMarginTop:_0x476bf1}=_0x48e5c0,{startX:_0x13a382,startY:_0xac1070}=_0x35db1a,{endX:_0x1ff5aa,endY:_0x52c12b}=_0x317c7e,_0x59e4cb=_0x1ff5aa-_0x13a382,_0x2bfb42=_0x52c12b-_0xac1070,_0x383201={'labelPosition':_0xac1070-_0x476bf1>=_0x2f70bb?_0x50c9dc(0x47f):'bottom','sheetID':_0x1f138b,'range':_0x38ed72,'color':_0x1ce52f,'name':_0x436c36,'selection':_0x249852,'left':_0x13a382,'top':_0xac1070,'width':_0x59e4cb,'height':_0x2bfb42,'evented':!0x1,'zIndex':_0x166ec6};return new _0x327c29(_0x436c36,_0x383201);});_0x5951b9[_0x3e1df2(0x322)](_0x2d5a95,_0x5c9390),this[_0x3e1df2(0x1ab)]=new Set(_0x2d5a95);}[_0x2be3c1(0x443)](){const _0x4d8f60=_0x2be3c1;var _0x278f69;(_0x278f69=this[_0x4d8f60(0x1ab)])==null||_0x278f69['forEach'](_0x100073=>_0x100073['dispose']());}[_0x2be3c1(0x3f2)](){const _0x2f950e=_0x2be3c1;return _0x309330[_0x2f950e(0x2ea)](this[_0x2f950e(0x3f7)][_0x2f950e(0x3e1)],this[_0x2f950e(0x3f7)]);}};_0x485669=_0x1aabc3([_0x2a98fd(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x309330[_0x2be3c1(0x3e3)])),_0x2a98fd(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x2a98fd(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x485669);function _0xe1d537(_0x4bbeb0){const _0x3b1432=_0x2be3c1,_0x596c30=new Map();return _0x4bbeb0['forEach'](_0x3fbe7f=>{const _0x4b0157=_0x4ca8;if(_0x596c30[_0x4b0157(0x235)](_0x3fbe7f[_0x4b0157(0x475)])){const _0x18dbb6=_0x596c30[_0x4b0157(0x489)](_0x3fbe7f[_0x4b0157(0x475)]);_0x18dbb6[_0x4b0157(0x429)]+=',\x20'+_0x3fbe7f[_0x4b0157(0x429)];}else _0x596c30[_0x4b0157(0x2af)](_0x3fbe7f[_0x4b0157(0x475)],_0x3fbe7f);}),Array[_0x3b1432(0x391)](_0x596c30[_0x3b1432(0x2bc)]());}var _0x116f64=Object['getOwnPropertyDescriptor'],_0xd6ade1=(_0xa5afcd,_0x197bde,_0x18c17e,_0x5c67ce)=>{const _0x101296=_0x2be3c1;for(var _0x5eba56=_0x5c67ce>0x1?void 0x0:_0x5c67ce?_0x116f64(_0x197bde,_0x18c17e):_0x197bde,_0x4ccce3=_0xa5afcd[_0x101296(0x413)]-0x1,_0x559278;_0x4ccce3>=0x0;_0x4ccce3--)(_0x559278=_0xa5afcd[_0x4ccce3])&&(_0x5eba56=_0x559278(_0x5eba56)||_0x5eba56);return _0x5eba56;},_0x48ddcf=(_0x5c72a2,_0x2f7982)=>(_0x4f63d9,_0x520512)=>_0x2f7982(_0x4f63d9,_0x520512,_0x5c72a2);let _0x489eee=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0xf7520,_0x371b7f,_0x1780e1,_0x47d738,_0x1a177f,_0x532e01){const _0xae9e27=_0x2be3c1;super(),this[_0xae9e27(0x1a5)]=_0xf7520,this[_0xae9e27(0x252)]=_0x371b7f,this[_0xae9e27(0x3b3)]=_0x1780e1,this[_0xae9e27(0x459)]=_0x47d738,this[_0xae9e27(0x280)]=_0x1a177f,this[_0xae9e27(0x1f3)]=_0x532e01,this[_0xae9e27(0x358)](),this[_0xae9e27(0x1f8)]();}['_setupBeforeClosingHandler'](){const _0x50b07b=_0x2be3c1;this['disposeWithMe'](this[_0x50b07b(0x1a5)][_0x50b07b(0x272)](()=>{const _0x4cdeb3=_0x50b07b;if(this[_0x4cdeb3(0x252)][_0x4cdeb3(0x3f4)][_0x4cdeb3(0x426)])return this[_0x4cdeb3(0x1f3)]['t'](_0x4cdeb3(0x2e8));}));}[_0x2be3c1(0x1f8)](){const _0x2d920f=_0x2be3c1;this[_0x2d920f(0x3ee)](this[_0x2d920f(0x3b3)][_0x2d920f(0x473)]['subscribe'](_0x306cb8=>{const _0xd2f95=_0x2d920f;_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x435)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x420))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['CLOSE_ROOM']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t']('collaboration.closeRoom')}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x2cf)]&&this[_0xd2f95(0x280)][_0xd2f95(0x34c)]({'title':this['_localeService']['t'](_0xd2f95(0x404)),'content':this[_0xd2f95(0x1f3)]['t']('permission.content'),'type':_0xd2f95(0x383),'duration':0x0}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x282)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)]['Error'],'content':this['_localeService']['t'](_0xd2f95(0x365))+'('+_0x306cb8['data']+')'}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x375)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)]['Warning'],'content':this['_localeService']['t'](_0x306cb8['data']||'')}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x2f8)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this['_localeService']['t'](_0xd2f95(0x42f))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['SOCKET_FAILED']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x3af))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x37e)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x1be))});}));}};_0x489eee=_0xd6ade1([_0x48ddcf(0x0,_0x2ff57e[_0x2be3c1(0x42d)]),_0x48ddcf(0x1,_0x4cce40[_0x2be3c1(0x286)]),_0x48ddcf(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x32e)])),_0x48ddcf(0x3,_0x2ff57e[_0x2be3c1(0x1b2)]),_0x48ddcf(0x4,_0x2ff57e[_0x2be3c1(0x446)]),_0x48ddcf(0x5,_0x88db4d['Inject'](_0x88db4d['LocaleService']))],_0x489eee);var _0x58b8e2=Object[_0x2be3c1(0x393)],_0x63a29d=(_0x52fff3,_0xb23013,_0x26fb38,_0x5199ac)=>{const _0x513532=_0x2be3c1;for(var _0x4d259c=_0x5199ac>0x1?void 0x0:_0x5199ac?_0x58b8e2(_0xb23013,_0x26fb38):_0xb23013,_0xeda522=_0x52fff3[_0x513532(0x413)]-0x1,_0x5ea8f7;_0xeda522>=0x0;_0xeda522--)(_0x5ea8f7=_0x52fff3[_0xeda522])&&(_0x4d259c=_0x5ea8f7(_0x4d259c)||_0x4d259c);return _0x4d259c;},_0x393210=(_0x123c82,_0x3cbb55)=>(_0x5b5264,_0x4b4d08)=>_0x3cbb55(_0x5b5264,_0x4b4d08,_0x123c82);let _0x5ab0af=class extends _0x88db4d['Disposable']{constructor(_0x58adb3,_0x2ba179,_0xf941d,_0x1481cf){const _0x320332=_0x2be3c1;super(),_0x31ba17(this,'_memberID'),(this[_0x320332(0x363)]=_0x58adb3,this[_0x320332(0x1cd)]=_0x2ba179,this[_0x320332(0x1ee)]=_0xf941d,this['_collaborationSessionService']=_0x1481cf,this[_0x320332(0x43c)]());}['_init'](){const _0x2330cb=_0x2be3c1;this['_initWindowErrorListener'](),this[_0x2330cb(0x2fe)](),this[_0x2330cb(0x42e)](),this[_0x2330cb(0x2da)]();}[_0x2be3c1(0x2da)](){const _0x6751fb=_0x2be3c1;this['disposeWithMe'](this[_0x6751fb(0x195)][_0x6751fb(0x46b)][_0x6751fb(0x1f2)](_0x3ab1aa=>{const _0x4de683=_0x6751fb;this[_0x4de683(0x21d)]=_0x3ab1aa==null?void 0x0:_0x3ab1aa['memberID'];}));}[_0x2be3c1(0x3e8)](){const _0x257c3a=_0x2be3c1,_0x490a9c=_0x59f430=>{const _0x3dd610=_0x4ca8;var _0x53f756;this[_0x3dd610(0x425)]('error',_0x3dd610(0x246)+_0x59f430[_0x3dd610(0x2a3)]+_0x3dd610(0x18d)+_0x59f430[_0x3dd610(0x416)]+':'+_0x59f430['lineno']+':'+_0x59f430[_0x3dd610(0x3d6)]+'\x0a'+(((_0x53f756=_0x59f430[_0x3dd610(0x383)])==null?void 0x0:_0x53f756[_0x3dd610(0x438)])||''));};window[_0x257c3a(0x3d0)](_0x257c3a(0x383),_0x490a9c),this[_0x257c3a(0x3ee)](()=>{const _0xb725c1=_0x257c3a;window[_0xb725c1(0x18c)](_0xb725c1(0x383),_0x490a9c);});}[_0x2be3c1(0x2fe)](){const _0x41265a=_0x2be3c1,_0x348606=_0x371544=>{const _0x43dc30=_0x4ca8;this[_0x43dc30(0x425)](_0x43dc30(0x383),'[Unhandled\x20Rejection]:\x20'+_0x371544['reason']);};window['addEventListener'](_0x41265a(0x1f4),_0x348606),this[_0x41265a(0x3ee)](()=>{const _0x106ffb=_0x41265a;window[_0x106ffb(0x18c)](_0x106ffb(0x1f4),_0x348606);});}['_monkeyPatchLogService'](){const _0x169796=_0x2be3c1,_0x2a3105=this['_logService'][_0x169796(0x383)][_0x169796(0x2aa)](this[_0x169796(0x1ee)]);this['_logService'][_0x169796(0x383)]=(..._0x30b827)=>{const _0x28f2a7=_0x169796,_0x1cdcc3=_0x30b827[_0x28f2a7(0x22e)](_0x153f35=>_0x153f35 instanceof Error?_0x153f35[_0x28f2a7(0x2a3)]+'\x0a'+_0x153f35[_0x28f2a7(0x438)]:String(_0x153f35))[_0x28f2a7(0x3a2)]('\x20');this['_uploadLog'](_0x28f2a7(0x383),_0x28f2a7(0x30c)+_0x1cdcc3),_0x2a3105(..._0x30b827);},this[_0x169796(0x3ee)](()=>{this['_logService']['error']=_0x2a3105;});}[_0x2be3c1(0x425)](_0x6b36a3,_0x5805df){const _0x4ed269=_0x2be3c1;try{const _0x584596={'userId':this[_0x4ed269(0x21d)],'logLabel':_0x6b36a3,'content':_0x5805df};this[_0x4ed269(0x1cd)][_0x4ed269(0x28c)](_0x4ed269(0x381),{'body':_0x584596})[_0x4ed269(0x2ff)](()=>{});}catch{}}};_0x5ab0af=_0x63a29d([_0x393210(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x393210(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x393210(0x2,_0x88db4d['ILogService']),_0x393210(0x3,_0x88db4d['Inject'](_0x4cce40['CollaborationSessionService']))],_0x5ab0af);const _0x5d13e6=_0x2be3c1(0x2b7),_0x4f9c2d={};var _0x4077e7=Object[_0x2be3c1(0x393)],_0x445486=(_0x4f436d,_0x5cd58c,_0x224de4,_0x1bbc80)=>{for(var _0xb1fd4e=_0x1bbc80>0x1?void 0x0:_0x1bbc80?_0x4077e7(_0x5cd58c,_0x224de4):_0x5cd58c,_0x4fc3e5=_0x4f436d['length']-0x1,_0x4a2a1a;_0x4fc3e5>=0x0;_0x4fc3e5--)(_0x4a2a1a=_0x4f436d[_0x4fc3e5])&&(_0xb1fd4e=_0x4a2a1a(_0xb1fd4e)||_0xb1fd4e);return _0xb1fd4e;},_0x3871b1=(_0x6778c7,_0x5e275c)=>(_0x4ca5d2,_0x5863b4)=>_0x5e275c(_0x4ca5d2,_0x5863b4,_0x6778c7);let _0xf4bf8f=class{constructor(_0x27f545,_0x56e3dc){const _0x38c33b=_0x2be3c1;this[_0x38c33b(0x46d)]=_0x27f545,this['_renderManagerService']=_0x56e3dc;}[_0x2be3c1(0x34f)](_0x4dbd18){const _0x34a707=_0x2be3c1;this[_0x34a707(0x351)](_0x4dbd18),this[_0x34a707(0x374)](_0x4dbd18);}[_0x2be3c1(0x224)](_0x201b0f){const _0x29abed=_0x2be3c1,{unitID:_0x51fb5f}=_0x201b0f,_0x16ad06=this[_0x29abed(0x3b5)][_0x29abed(0x44d)](_0x51fb5f)['with'](_0x1fd691[_0x29abed(0x190)]),{redoCache:_0x1681b8}=_0x16ad06[_0x29abed(0x3c7)]();if(_0x1681b8[_0x29abed(0x413)]===0x0)return _0x201b0f;let _0x3c2872=_0x88db4d[_0x29abed(0x26b)][_0x29abed(0x19e)](_0x201b0f[_0x29abed(0x2f4)][0x0]);for(let _0x3fd846=0x0;_0x3fd846<_0x1681b8['length'];_0x3fd846++){const _0xdeb576={'id':_0x29abed(0x198),'params':{..._0x1681b8[_0x3fd846]}},_0x34fea9=this[_0x29abed(0x46d)][_0x29abed(0x255)](_0x3c2872,_0xdeb576,!0x1);if(_0x28fbb0[_0x29abed(0x440)](_0x34fea9))throw _0x34fea9[_0x29abed(0x383)];_0x3c2872=_0x34fea9[_0x29abed(0x29e)];}return{..._0x88db4d[_0x29abed(0x26b)]['deepClone'](_0x201b0f),'mutations':[_0x3c2872]};}[_0x2be3c1(0x351)](_0x4f8aab){const _0x1edf7c=_0x2be3c1,{unitID:_0x1951df}=_0x4f8aab,_0x38f40e=this[_0x1edf7c(0x3b5)][_0x1edf7c(0x44d)](_0x1951df)[_0x1edf7c(0x23a)](_0x1fd691[_0x1edf7c(0x190)]),{undoCache:_0x17b7a2,redoCache:_0x5e5044}=_0x38f40e['getUndoRedoMutationParamsCache']();if(_0x17b7a2[_0x1edf7c(0x413)]===0x0||_0x5e5044[_0x1edf7c(0x413)]===0x0)return;const _0x266bba=[],_0x4228ab=[];let _0x278ab4=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]),_0x409cbb=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]);for(let _0x50a3e2=_0x17b7a2['length']-0x1;_0x50a3e2>=0x0;_0x50a3e2--){const _0x4c99f3={'id':_0x1edf7c(0x198),'params':{..._0x17b7a2[_0x50a3e2]}},_0x3945a8={'id':'doc.mutation.rich-text-editing','params':{..._0x5e5044[_0x50a3e2]}},_0x222c4e=this[_0x1edf7c(0x46d)][_0x1edf7c(0x255)](_0x278ab4,_0x4c99f3,!0x1),_0x5a4f6d=this['_transformService']['transformMutation'](_0x409cbb,_0x3945a8,!0x1);if(_0x28fbb0['isTransformMutationFailure'](_0x222c4e))throw _0x222c4e[_0x1edf7c(0x383)];if(_0x28fbb0['isTransformMutationFailure'](_0x5a4f6d))throw _0x5a4f6d['error'];_0x266bba[_0x1edf7c(0x36a)](_0x222c4e[_0x1edf7c(0x27c)][_0x1edf7c(0x317)]),_0x4228ab[_0x1edf7c(0x36a)](_0x5a4f6d[_0x1edf7c(0x27c)]['params']),_0x278ab4=_0x222c4e[_0x1edf7c(0x29e)],_0x409cbb=_0x5a4f6d[_0x1edf7c(0x29e)];}_0x38f40e[_0x1edf7c(0x37c)]({'undoCache':_0x266bba,'redoCache':_0x4228ab});}[_0x2be3c1(0x374)](_0x50e7f0){const _0x11eae0=_0x2be3c1,{unitID:_0x75a2b4}=_0x50e7f0,_0x441f9c=this['_renderManagerService']['getRenderById'](_0x75a2b4)['with'](_0x1fd691[_0x11eae0(0x190)]),_0x5afef2=_0x441f9c['getActiveRange']();if(_0x5afef2==null)return;const _0x4295ca=[{'id':_0x11eae0(0x198),'params':{'unitId':_0x50e7f0['unitID'],'actions':null,'textRanges':[_0x5afef2]}}],_0x4c1c3f=this[_0x11eae0(0x46d)]['transformMutationsWithChangeset'](_0x50e7f0,_0x4295ca);if(!_0x28fbb0[_0x11eae0(0x41e)](_0x4c1c3f))throw _0x4c1c3f[_0x11eae0(0x383)];const _0xbd86a5=_0x4c1c3f['m2Prime'][0x0][_0x11eae0(0x317)][_0x11eae0(0x28d)];Array[_0x11eae0(0x360)](_0xbd86a5)&&_0xbd86a5[_0x11eae0(0x413)]&&_0x441f9c['setActiveRange'](_0xbd86a5[0x0]);}};_0xf4bf8f=_0x445486([_0x3871b1(0x0,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x3871b1(0x1,_0xe27d05['IRenderManagerService'])],_0xf4bf8f);var _0x5c6111=Object[_0x2be3c1(0x393)],_0x13c426=(_0x48f53f,_0x5b0fb5,_0x4f8aaf,_0x416795)=>{const _0x444d38=_0x2be3c1;for(var _0x29102f=_0x416795>0x1?void 0x0:_0x416795?_0x5c6111(_0x5b0fb5,_0x4f8aaf):_0x5b0fb5,_0x3b560f=_0x48f53f[_0x444d38(0x413)]-0x1,_0x33c334;_0x3b560f>=0x0;_0x3b560f--)(_0x33c334=_0x48f53f[_0x3b560f])&&(_0x29102f=_0x33c334(_0x29102f)||_0x29102f);return _0x29102f;},_0x5c32b0=(_0x21aa35,_0x196eb4)=>(_0x2184c5,_0xea38c)=>_0x196eb4(_0x2184c5,_0xea38c,_0x21aa35);let _0xf420a0=class{constructor(_0x5f412c,_0x202676,_0x2351f6){const _0x221ebe=_0x2be3c1;this[_0x221ebe(0x363)]=_0x5f412c,this['_transformService']=_0x202676,this[_0x221ebe(0x2f0)]=_0x2351f6;}[_0x2be3c1(0x294)](_0x46718f){const _0x2b48d0=_0x2be3c1;this[_0x2b48d0(0x40e)](_0x46718f);}[_0x2be3c1(0x224)](_0x922693){const _0x1b9eda=_0x2be3c1,{unitID:_0x4c7b90}=_0x922693,{collaboration:_0x590fcd}=this[_0x1b9eda(0x2f0)][_0x1b9eda(0x35e)](_0x4c7b90);if(_0x590fcd[_0x1b9eda(0x413)]===0x0)return _0x922693;let _0xb1b165=_0x88db4d[_0x1b9eda(0x26b)][_0x1b9eda(0x19e)](_0x922693[_0x1b9eda(0x2f4)][0x0]);for(let _0x5ac517=0x0;_0x5ac517<_0x590fcd[_0x1b9eda(0x413)];_0x5ac517++){const _0x28f77c={'id':_0x1b9eda(0x198),'params':{'unitId':_0x590fcd[_0x5ac517][_0x1b9eda(0x2b8)],..._0x590fcd[_0x5ac517][_0x1b9eda(0x369)]}},_0x1af7a5=this[_0x1b9eda(0x46d)]['transformMutation'](_0xb1b165,_0x28f77c,!0x1);if(_0x28fbb0[_0x1b9eda(0x440)](_0x1af7a5))throw _0x1af7a5['error'];_0xb1b165=_0x1af7a5[_0x1b9eda(0x29e)];}return{..._0x88db4d['Tools']['deepClone'](_0x922693),'mutations':[_0xb1b165]};}[_0x2be3c1(0x40e)](_0x10a56f){const _0x1ad5cc=_0x2be3c1,{unitID:_0x3190a6}=_0x10a56f,{history:_0x2d2cd6,collaboration:_0x3221a2}=this[_0x1ad5cc(0x2f0)][_0x1ad5cc(0x35e)](_0x3190a6);if(_0x2d2cd6[_0x1ad5cc(0x413)]===0x0&&_0x3221a2['length']===0x0)return;const _0x214ad4=[],_0xa82eea=[];let _0x30a567=_0x88db4d['Tools'][_0x1ad5cc(0x19e)](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]);for(let _0x105394=_0x2d2cd6[_0x1ad5cc(0x413)]-0x1;_0x105394>=0x0;_0x105394--){const _0x550a11={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394]['unitId'],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x276)]}},_0x3c3b6b={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394][_0x1ad5cc(0x2b8)],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x369)]}},_0x27740d=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x30a567,_0x550a11,!0x1),_0x2ecd96=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x520945,_0x3c3b6b,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x27740d))throw _0x27740d[_0x1ad5cc(0x383)];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x2ecd96))throw _0x2ecd96[_0x1ad5cc(0x383)];_0x214ad4[_0x1ad5cc(0x36a)]({..._0x2d2cd6[_0x105394],'undoState':_0x27740d[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x2ecd96[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x27740d['m1Prime'],_0x520945=_0x2ecd96[_0x1ad5cc(0x29e)];}_0x30a567=_0x88db4d[_0x1ad5cc(0x26b)][_0x1ad5cc(0x19e)](_0x10a56f['mutations'][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f['mutations'][0x0]);for(let _0x2074b7=_0x3221a2[_0x1ad5cc(0x413)]-0x1;_0x2074b7>=0x0;_0x2074b7--){const _0x45c164={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x276)]}},_0x1cf319={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x369)]}},_0x731ce8=this[_0x1ad5cc(0x46d)]['transformMutation'](_0x30a567,_0x45c164,!0x1),_0x4f48d9=this['_transformService']['transformMutation'](_0x520945,_0x1cf319,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x731ce8))throw _0x731ce8['error'];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x4f48d9))throw _0x4f48d9['error'];_0xa82eea[_0x1ad5cc(0x36a)]({..._0x3221a2[_0x2074b7],'undoState':_0x731ce8[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x4f48d9[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x731ce8['m1Prime'],_0x520945=_0x4f48d9[_0x1ad5cc(0x29e)];}this['_docStateChangeManagerService'][_0x1ad5cc(0x1a1)](_0x3190a6,{'history':_0x214ad4,'collaboration':_0xa82eea});}};_0xf420a0=_0x13c426([_0x5c32b0(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x5c32b0(0x1,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x5c32b0(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)]))],_0xf420a0);var _0x4ba42a=Object[_0x2be3c1(0x393)],_0x3f362a=(_0x47b21c,_0x392480,_0x2986a7,_0x5b628b)=>{const _0x27eaca=_0x2be3c1;for(var _0x2c4f6a=_0x5b628b>0x1?void 0x0:_0x5b628b?_0x4ba42a(_0x392480,_0x2986a7):_0x392480,_0x1b022e=_0x47b21c[_0x27eaca(0x413)]-0x1,_0x26afad;_0x1b022e>=0x0;_0x1b022e--)(_0x26afad=_0x47b21c[_0x1b022e])&&(_0x2c4f6a=_0x26afad(_0x2c4f6a)||_0x2c4f6a);return _0x2c4f6a;},_0x141c25=(_0x481f7a,_0x5b81a0)=>(_0x968ebe,_0x3c8119)=>_0x5b81a0(_0x968ebe,_0x3c8119,_0x481f7a);let _0x3f33b5=class{constructor(_0x1b3834,_0x59d056){const _0x2a78c9=_0x2be3c1;this['_injector']=_0x1b3834,this[_0x2a78c9(0x46d)]=_0x59d056;}[_0x2be3c1(0x39e)](_0x299c51){const _0x2d2e92=_0x2be3c1;var _0x233494;const _0x8fb980=this[_0x2d2e92(0x363)][_0x2d2e92(0x489)](_0x3c0520[_0x2d2e92(0x41a)]),_0x50047e=(_0x233494=_0x8fb980[_0x2d2e92(0x3ed)]())!=null?_0x233494:[];if(_0x50047e[_0x2d2e92(0x413)]===0x0)return;const _0xb4d9b3=_0x299c51['unitID'],_0xc860a9=[{'id':_0x2d2e92(0x198),'params':{'unitId':_0xb4d9b3,'actions':null,'textRanges':_0x50047e}}],_0x53d5b1=this[_0x2d2e92(0x46d)][_0x2d2e92(0x3d9)](_0x299c51,_0xc860a9);if(!_0x28fbb0[_0x2d2e92(0x41e)](_0x53d5b1))throw _0x53d5b1[_0x2d2e92(0x383)];const _0x4d001f=_0x53d5b1['m2Prime'][0x0][_0x2d2e92(0x317)]['textRanges'];Array[_0x2d2e92(0x360)](_0x4d001f)&&_0x4d001f['length']&&_0x8fb980['replaceDocRanges'](_0x4d001f,{'unitId':_0xb4d9b3,'subUnitId':_0xb4d9b3},!0x1);}};_0x3f33b5=_0x3f362a([_0x141c25(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x141c25(0x1,_0x28fbb0[_0x2be3c1(0x1f5)])],_0x3f33b5);var _0x5b5e0c=Object[_0x2be3c1(0x393)],_0x5cf6e5=(_0x5a3dbd,_0x302eea,_0x4c8b44,_0x16cc3d)=>{for(var _0x5e8cc2=_0x16cc3d>0x1?void 0x0:_0x16cc3d?_0x5b5e0c(_0x302eea,_0x4c8b44):_0x302eea,_0x3e3474=_0x5a3dbd['length']-0x1,_0xb38621;_0x3e3474>=0x0;_0x3e3474--)(_0xb38621=_0x5a3dbd[_0x3e3474])&&(_0x5e8cc2=_0xb38621(_0x5e8cc2)||_0x5e8cc2);return _0x5e8cc2;},_0x98ee06=(_0x5b0273,_0x45c50d)=>(_0x2ee540,_0x2d0147)=>_0x45c50d(_0x2ee540,_0x2d0147,_0x5b0273);let _0x1527d5=class extends _0x88db4d['Disposable']{constructor(_0x514b82,_0x291966,_0x50e463,_0x1a7aa8,_0x539da0,_0x38ae26,_0xa0e65,_0x4f495c){const _0x350b53=_0x2be3c1;super(),_0x31ba17(this,_0x350b53(0x199),new _0x3b0fae['BehaviorSubject'](_0x4cce40[_0x350b53(0x202)][_0x350b53(0x323)])),(this[_0x350b53(0x2f0)]=_0x514b82,this[_0x350b53(0x301)]=_0x291966,this[_0x350b53(0x445)]=_0x50e463,this[_0x350b53(0x397)]=_0x1a7aa8,this[_0x350b53(0x41d)]=_0x539da0,this[_0x350b53(0x292)]=_0x38ae26,this[_0x350b53(0x459)]=_0xa0e65,this[_0x350b53(0x1f3)]=_0x4f495c,this['_initEntityListener']());}[_0x2be3c1(0x267)](){const _0x54595d=_0x2be3c1;this['disposeWithMe'](this[_0x54595d(0x301)][_0x54595d(0x26e)][_0x54595d(0x1f2)](_0x115364=>{const _0x177cbb=_0x54595d,_0xea6e0b=this['_docStateChangeManagerService'][_0x177cbb(0x1a2)]['subscribe'](_0x5633dd=>{const _0x17f6b9=_0x177cbb;if(_0x5633dd==null)return;const {unitId:_0x73c9fc,redoState:_0x2740df,commandId:_0x243357}=_0x5633dd;if(_0x73c9fc!==_0x115364['unitID'])return;const _0x31e19b={'id':_0x243357,'type':_0x88db4d[_0x17f6b9(0x19d)][_0x17f6b9(0x38e)],'params':{'unitId':_0x73c9fc,'actions':_0x2740df[_0x17f6b9(0x418)],'textRanges':null}};_0x115364[_0x17f6b9(0x19f)](_0x31e19b);});if(_0x115364[_0x177cbb(0x3ee)](_0xea6e0b),_0x115364 instanceof _0x4cce40[_0x177cbb(0x453)]){const _0x5eb864={'onTransformIME':_0xbbef6f=>this[_0x177cbb(0x445)][_0x177cbb(0x34f)](_0xbbef6f),'onTransformState':_0x112d37=>this[_0x177cbb(0x397)][_0x177cbb(0x294)](_0x112d37),'onTransformSelections':_0x438ef3=>this[_0x177cbb(0x41d)][_0x177cbb(0x39e)](_0x438ef3),'onSyncEditingCollabCursor':_0x4e477f=>this[_0x177cbb(0x292)][_0x177cbb(0x1d1)](_0x4e477f),'onTransformRemoteChangesetByIMECache':_0x53444c=>this['_docTransformIMECacheService'][_0x177cbb(0x224)](_0x53444c),'onTransformRemoteChangesetByStateCache':_0x1e8782=>this['_docTransformStateCacheService'][_0x177cbb(0x224)](_0x1e8782)};_0x115364['addHandlerCallback'](_0x5eb864);}}));}};_0x1527d5=_0x5cf6e5([_0x98ee06(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)])),_0x98ee06(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x330)])),_0x98ee06(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0xf4bf8f)),_0x98ee06(0x3,_0x88db4d['Inject'](_0xf420a0)),_0x98ee06(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x3f33b5)),_0x98ee06(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x98ee06(0x6,_0x2ff57e['IMessageService']),_0x98ee06(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x1527d5);var _0x518652=(_0x533918=>(_0x533918[_0x533918['UNDEFINED']=0x0]=_0x2be3c1(0x295),_0x533918[_0x533918['OK']=0x1]='OK',_0x533918[_0x533918['INTERNAL_ERROR']=0x2]=_0x2be3c1(0x460),_0x533918[_0x533918[_0x2be3c1(0x2cf)]=0x3]=_0x2be3c1(0x2cf),_0x533918[_0x533918['NOT_FOUND']=0x4]='NOT_FOUND',_0x533918[_0x533918['UNAUTHENTICATED']=0x5]=_0x2be3c1(0x2fd),_0x533918[_0x533918[_0x2be3c1(0x1e1)]=0x6]=_0x2be3c1(0x1e1),_0x533918[_0x533918['INVALID_ARGUMENT']=0x7]=_0x2be3c1(0x398),_0x533918[_0x533918['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x533918[_0x533918[_0x2be3c1(0x18e)]=0x9]=_0x2be3c1(0x18e),_0x533918[_0x533918[_0x2be3c1(0x455)]=0xa]=_0x2be3c1(0x455),_0x533918[_0x533918[_0x2be3c1(0x3b2)]=0xb]=_0x2be3c1(0x3b2),_0x533918[_0x533918['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2be3c1(0x309),_0x533918[_0x533918[_0x2be3c1(0x1fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x533918[_0x533918['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x533918[_0x533918[_0x2be3c1(0x3a0)]=0xf]=_0x2be3c1(0x3a0),_0x533918[_0x533918[_0x2be3c1(0x278)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x533918[_0x533918[_0x2be3c1(0x464)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x533918[_0x533918[_0x2be3c1(0x1c5)]=0x65]=_0x2be3c1(0x1c5),_0x533918[_0x533918[_0x2be3c1(0x28e)]=0xc9]=_0x2be3c1(0x28e),_0x533918[_0x533918[_0x2be3c1(0x406)]=0xca]='USER_IS_ANONYMOUS',_0x533918[_0x533918['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2be3c1(0x3ca),_0x533918[_0x533918[_0x2be3c1(0x3cf)]=0x1771]=_0x2be3c1(0x3cf),_0x533918[_0x533918[_0x2be3c1(0x212)]=0x1772]=_0x2be3c1(0x212),_0x533918[_0x533918['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2be3c1(0x1de),_0x533918[_0x533918[_0x2be3c1(0x1ff)]=0x1b59]=_0x2be3c1(0x1ff),_0x533918[_0x533918[_0x2be3c1(0x1ad)]=0x1b5a]=_0x2be3c1(0x1ad),_0x533918[_0x533918[_0x2be3c1(0x25d)]=0x1b5b]=_0x2be3c1(0x25d),_0x533918[_0x533918[_0x2be3c1(0x422)]=0x1b5c]=_0x2be3c1(0x422),_0x533918[_0x533918['APPLY_DUPLICATED']=0x1b5d]=_0x2be3c1(0x20a),_0x533918[_0x533918['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2be3c1(0x3eb),_0x533918[_0x533918[_0x2be3c1(0x373)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x533918[_0x533918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x533918[_0x533918[_0x2be3c1(0x419)]=0x232b]=_0x2be3c1(0x419),_0x533918[_0x533918[_0x2be3c1(0x3ad)]=0x232c]=_0x2be3c1(0x3ad),_0x533918[_0x533918[_0x2be3c1(0x192)]=0x232d]=_0x2be3c1(0x192),_0x533918[_0x533918[_0x2be3c1(0x30e)]=0x2711]=_0x2be3c1(0x30e),_0x533918[_0x533918['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2be3c1(0x34d),_0x533918[_0x533918[_0x2be3c1(0x462)]=0x2713]=_0x2be3c1(0x462),_0x533918[_0x533918[_0x2be3c1(0x319)]=0x2714]=_0x2be3c1(0x319),_0x533918[_0x533918[_0x2be3c1(0x1ea)]=0x271a]=_0x2be3c1(0x1ea),_0x533918[_0x533918[_0x2be3c1(0x2d4)]=0x271b]=_0x2be3c1(0x2d4),_0x533918[_0x533918[_0x2be3c1(0x45f)]=0x271c]=_0x2be3c1(0x45f),_0x533918[_0x533918['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2be3c1(0x3ef),_0x533918[_0x533918[_0x2be3c1(0x364)]=0x271e]=_0x2be3c1(0x364),_0x533918[_0x533918[_0x2be3c1(0x2eb)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x533918[_0x533918['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2be3c1(0x20c),_0x533918[_0x533918[_0x2be3c1(0x1ef)]=0x2af9]=_0x2be3c1(0x1ef),_0x533918[_0x533918[_0x2be3c1(0x21f)]=0x2ee1]=_0x2be3c1(0x21f),_0x533918[_0x533918[_0x2be3c1(0x43f)]=0x2ee2]=_0x2be3c1(0x43f),_0x533918[_0x533918[_0x2be3c1(0x20d)]=0x2ee3]=_0x2be3c1(0x20d),_0x533918[_0x533918[_0x2be3c1(0x45c)]=0x2ee4]=_0x2be3c1(0x45c),_0x533918[_0x533918[_0x2be3c1(0x3ac)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2bf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2c8)]=0x32ca]=_0x2be3c1(0x2c8),_0x533918[_0x533918['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2be3c1(0x259),_0x533918[_0x533918['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x2be3c1(0x2d5),_0x533918[_0x533918['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2be3c1(0x265),_0x533918[_0x533918[_0x2be3c1(0x333)]=0x36b3]=_0x2be3c1(0x333),_0x533918[_0x533918[_0x2be3c1(0x341)]=0x36b4]=_0x2be3c1(0x341),_0x533918[_0x533918[_0x2be3c1(0x18a)]=0x36b5]=_0x2be3c1(0x18a),_0x533918[_0x533918['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2be3c1(0x44f),_0x533918[_0x533918[_0x2be3c1(0x43b)]=0x36b7]=_0x2be3c1(0x43b),_0x533918[_0x533918['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x533918[_0x533918[_0x2be3c1(0x1b9)]=0x3715]=_0x2be3c1(0x1b9),_0x533918[_0x533918[_0x2be3c1(0x1ac)]=0x3716]=_0x2be3c1(0x1ac),_0x533918[_0x533918['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x533918[_0x533918[_0x2be3c1(0x392)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x533918[_0x533918[_0x2be3c1(0x221)]=0x3a99]=_0x2be3c1(0x221),_0x533918[_0x533918[_0x2be3c1(0x209)]=0x3a9a]=_0x2be3c1(0x209),_0x533918[_0x533918['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2be3c1(0x2fb),_0x533918[_0x533918[_0x2be3c1(0x2c4)]=0x3a9c]=_0x2be3c1(0x2c4),_0x533918[_0x533918['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2be3c1(0x376),_0x533918[_0x533918['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2be3c1(0x2c7),_0x533918[_0x533918['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2be3c1(0x266),_0x533918[_0x533918[_0x2be3c1(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x533918[_0x533918['UNRECOGNIZED']=-0x1]=_0x2be3c1(0x3ba),_0x533918))(_0x518652||{});function _0x31ea8c(_0xb5ea33){const _0x57e656=_0x2be3c1;var _0x374bb4,_0x52ed88;const _0x31239b=(_0x374bb4=_0xb5ea33['stageInfo'])==null?void 0x0:_0x374bb4[_0x57e656(0x487)],_0x4a7792=((_0x52ed88=_0xb5ea33[_0x57e656(0x1f7)])==null?void 0x0:_0x52ed88['totalFormulasToCalculate'])||0x0;return _0x31239b===_0x52fd75[_0x57e656(0x1bf)][_0x57e656(0x3da)]&&_0x4a7792>0x0;}function _0x472f0d(_0x44ec68){const _0x4c2918=_0x2be3c1;return _0x44ec68[_0x4c2918(0x241)]===_0x52fd75[_0x4c2918(0x239)][_0x4c2918(0x430)];}var _0x34db8e=Object[_0x2be3c1(0x393)],_0x58201a=(_0x1525fa,_0x40edaa,_0x19c4eb,_0x37a0d8)=>{for(var _0xcfb802=_0x37a0d8>0x1?void 0x0:_0x37a0d8?_0x34db8e(_0x40edaa,_0x19c4eb):_0x40edaa,_0x390c2d=_0x1525fa['length']-0x1,_0x2403cf;_0x390c2d>=0x0;_0x390c2d--)(_0x2403cf=_0x1525fa[_0x390c2d])&&(_0xcfb802=_0x2403cf(_0xcfb802)||_0xcfb802);return _0xcfb802;},_0x203b18=(_0x31e544,_0x84c5a)=>(_0x5ce274,_0x11d8c2)=>_0x84c5a(_0x5ce274,_0x11d8c2,_0x31e544);const _0x15f328=_0x2be3c1(0x1db),_0x30d5d1=_0x2be3c1(0x219),_0x83496a=_0x2be3c1(0x386);let _0x33f734=class extends _0x88db4d['Disposable']{constructor(_0x3c0603,_0x264262,_0x44dffa,_0x6ab2c8,_0xf0a2a0,_0x23998c,_0x175da0){const _0x41ae10=_0x2be3c1;super(),_0x31ba17(this,_0x41ae10(0x30f),null),_0x31ba17(this,_0x41ae10(0x353),0x0),_0x31ba17(this,_0x41ae10(0x3d5),0x0),_0x31ba17(this,_0x41ae10(0x2ba),[]),_0x31ba17(this,_0x41ae10(0x2b0),0x0),(this[_0x41ae10(0x459)]=_0x3c0603,this['_commandService']=_0x264262,this[_0x41ae10(0x213)]=_0x44dffa,this['_httpService']=_0x6ab2c8,this[_0x41ae10(0x1b7)]=_0xf0a2a0,this[_0x41ae10(0x1ee)]=_0x23998c,this['_localeService']=_0x175da0,this[_0x41ae10(0x324)]());}['_initCommandInterceptor'](){const _0xb51c52=_0x2be3c1;this['disposeWithMe'](this[_0xb51c52(0x243)]['beforeCommandExecuted']((_0x45aff2,_0x24c308)=>{const _0x262602=_0xb51c52;var _0x380add;if(_0x45aff2['id']!==_0x52fd75[_0x262602(0x465)]['id'])return;const _0xcdf3e9=_0x45aff2[_0x262602(0x317)];if(!this['_hasFormulaInDirtyRanges']((_0x380add=_0xcdf3e9[_0x262602(0x281)])!=null?_0x380add:[]))return;if(!this[_0x262602(0x201)]())throw this['_checkAndWaitForCalculationPermission'](_0x45aff2,_0x24c308),this['_showGuardMessage'](),new _0x88db4d[(_0x262602(0x314))]();})),this[_0xb51c52(0x3ee)](this[_0xb51c52(0x243)][_0xb51c52(0x1b3)]((_0x35400a,_0x4896fd)=>{const _0x49da2f=_0xb51c52;if(_0x35400a['id']!==_0x52fd75[_0x49da2f(0x1bb)]['id'])return;const _0x34ec66=_0x35400a['params'];if(_0x31ea8c(_0x34ec66)){const _0x4bb47e=_0x88db4d[_0x49da2f(0x335)]();this[_0x49da2f(0x2ba)]['push'](_0x4bb47e),this[_0x49da2f(0x3d4)](_0x4bb47e);}else{if(_0x472f0d(_0x34ec66)&&this[_0x49da2f(0x2ba)][_0x49da2f(0x413)]>0x0){const _0x157ef9=this['_taskIds'][_0x49da2f(0x1e5)]();this[_0x49da2f(0x269)](_0x157ef9);}}}));}[_0x2be3c1(0x1a4)](){const _0x80ddfd=_0x2be3c1;super[_0x80ddfd(0x1a4)](),this[_0x80ddfd(0x26c)](),this[_0x80ddfd(0x2ba)]=[],this['_currentUsage']=0x0,this[_0x80ddfd(0x353)]=0x0,this[_0x80ddfd(0x2b0)]=0x0;}async[_0x2be3c1(0x2e9)](_0x3957c0,_0x3033fd){const _0x5aa30a=_0x2be3c1;for(let _0x3e90b9=0x0;_0x3e90b9<0x1e;_0x3e90b9++)try{if(await this[_0x5aa30a(0x350)](),this[_0x5aa30a(0x201)]()){this[_0x5aa30a(0x2b9)](_0x3957c0,_0x3033fd),this['_messageService']['show']({'content':this[_0x5aa30a(0x1f3)]['t'](_0x5aa30a(0x214)),'type':_0x37cc58[_0x5aa30a(0x254)]['Success']});return;}await new Promise(_0x2a7bd4=>{const _0x2887b3=_0x5aa30a;this[_0x2887b3(0x30f)]=window[_0x2887b3(0x44c)](_0x2a7bd4,0x3e8);});}catch(_0x1be50d){this[_0x5aa30a(0x1ee)][_0x5aa30a(0x383)](_0x1be50d);}this[_0x5aa30a(0x459)]['show']({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x37cc58[_0x5aa30a(0x254)][_0x5aa30a(0x42a)]});}['_applyCommand'](_0x53fd85,_0xd6df17){const _0x355770=_0x2be3c1;try{this[_0x355770(0x243)][_0x355770(0x33c)](_0x53fd85['id'],_0x53fd85[_0x355770(0x317)],_0xd6df17);}catch(_0x1c6bf7){this[_0x355770(0x1ee)]['error'](_0x1c6bf7);}}[_0x2be3c1(0x3a6)](_0x2d4b80,_0x4e3bf1){const _0x14d0a4=_0x2be3c1;_0x4e3bf1<this['_lastResponseTimestamp']||(this[_0x14d0a4(0x2b0)]=_0x4e3bf1,this[_0x14d0a4(0x353)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x325)]),this[_0x14d0a4(0x3d5)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x3c2)]));}async[_0x2be3c1(0x3d4)](_0x3cd11c){const _0xf24591=_0x2be3c1;var _0x34a6a7,_0xf75c4b;const _0x3d8549=Date[_0xf24591(0x1cf)]();try{const _0x4f57cb=((_0x34a6a7=this[_0xf24591(0x213)]['getConfig'](_0x4cce40[_0xf24591(0x1a8)]))==null?void 0x0:_0x34a6a7[_0xf24591(0x31b)])||_0x30d5d1,_0x29f28b=(await this['_httpService'][_0xf24591(0x28c)](_0x4f57cb,{'body':JSON['stringify']({'taskId':_0x3cd11c})}))[_0xf24591(0x35c)];if(((_0xf75c4b=_0x29f28b[_0xf24591(0x383)])==null?void 0x0:_0xf75c4b[_0xf24591(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x29f28b[_0xf24591(0x38f)],_0x3d8549);}catch(_0x5b69d6){this[_0xf24591(0x1ee)]['error'](_0x5b69d6);}}async[_0x2be3c1(0x350)](_0x1952a7){const _0x96f080=_0x2be3c1;var _0x550038,_0x2eee26;const _0x11c3bf=Date[_0x96f080(0x1cf)]();try{const _0x2f5476=((_0x550038=this[_0x96f080(0x213)]['getConfig'](_0x4cce40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x550038['getformulaLimitStatusUrl'])||_0x15f328,_0x58e641=_0x1952a7?_0x2f5476+_0x96f080(0x189)+encodeURIComponent(_0x1952a7):_0x2f5476,_0x30520e=(await this[_0x96f080(0x1cd)][_0x96f080(0x489)](_0x58e641))[_0x96f080(0x35c)];if(((_0x2eee26=_0x30520e[_0x96f080(0x383)])==null?void 0x0:_0x2eee26[_0x96f080(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x30520e[_0x96f080(0x38f)],_0x11c3bf);}catch(_0x5e6607){this[_0x96f080(0x1ee)]['error'](_0x5e6607);}}async[_0x2be3c1(0x269)](_0x3744a4){const _0xc73b39=_0x2be3c1;var _0x2e97e,_0x5c85db;const _0x19c536=Date[_0xc73b39(0x1cf)]();try{const _0x1f4c3=((_0x2e97e=this[_0xc73b39(0x213)]['getConfig'](_0x4cce40[_0xc73b39(0x1a8)]))==null?void 0x0:_0x2e97e['releaseFormulaLimitUrl'])||_0x83496a,_0x3262e3=(await this[_0xc73b39(0x1cd)][_0xc73b39(0x28c)](_0x1f4c3,{'body':JSON[_0xc73b39(0x231)]({'taskId':_0x3744a4})}))[_0xc73b39(0x35c)];if(((_0x5c85db=_0x3262e3['error'])==null?void 0x0:_0x5c85db[_0xc73b39(0x2c0)])!==_0x518652['OK'])return;this[_0xc73b39(0x3a6)](_0x3262e3[_0xc73b39(0x38f)],_0x19c536);}catch(_0x190a1c){this[_0xc73b39(0x1ee)][_0xc73b39(0x383)](_0x190a1c);}}[_0x2be3c1(0x201)](){const _0x10c221=_0x2be3c1;return this[_0x10c221(0x353)]===0x0?!0x0:this[_0x10c221(0x353)]-this[_0x10c221(0x3d5)]>0x0;}['_clearPolling'](){const _0x365b04=_0x2be3c1;this[_0x365b04(0x30f)]&&(clearTimeout(this['_pollingInterval']),this[_0x365b04(0x30f)]=null);}[_0x2be3c1(0x439)](){const _0x238ff3=_0x2be3c1;this[_0x238ff3(0x459)]['show']({'content':this[_0x238ff3(0x1f3)]['t'](_0x238ff3(0x1e6)),'type':_0x37cc58['MessageType'][_0x238ff3(0x3fa)]});}[_0x2be3c1(0x32a)](_0x2208e8){const _0x527b82=_0x2be3c1;for(const _0x55aa8d of _0x2208e8){const {unitId:_0x2a48ec,sheetId:_0x18b248,range:_0x1ea3d5}=_0x55aa8d,_0x5359d4=this['_univerInstanceService']['getUnit'](_0x2a48ec);if(!_0x5359d4)continue;const _0x3a33d6=_0x5359d4['getSheetBySheetId'](_0x18b248);if(!_0x3a33d6)continue;const _0x16ca17=_0x3a33d6[_0x527b82(0x46f)]();for(let _0x33bd45=_0x1ea3d5['startRow'];_0x33bd45<=_0x1ea3d5[_0x527b82(0x32d)];_0x33bd45++)for(let _0x18f2a8=_0x1ea3d5[_0x527b82(0x40b)];_0x18f2a8<=_0x1ea3d5[_0x527b82(0x236)];_0x18f2a8++){const _0x4da119=_0x16ca17[_0x527b82(0x21e)](_0x33bd45,_0x18f2a8);if(_0x4da119&&(_0x88db4d[_0x527b82(0x3ff)](_0x4da119['f'])||_0x88db4d['isFormulaId'](_0x4da119['si'])))return!0x0;}}return!0x1;}};_0x33f734=_0x58201a([_0x203b18(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x2ff57e[_0x2be3c1(0x1b2)])),_0x203b18(0x1,_0x88db4d[_0x2be3c1(0x355)]),_0x203b18(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x203b18(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x203b18(0x4,_0x88db4d[_0x2be3c1(0x43e)]),_0x203b18(0x5,_0x88db4d[_0x2be3c1(0x193)]),_0x203b18(0x6,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x33f734);var _0x521f44=Object[_0x2be3c1(0x393)],_0x18fb13=(_0x54378c,_0x536443,_0x1d174f,_0x29fda3)=>{for(var _0x3649ad=_0x29fda3>0x1?void 0x0:_0x29fda3?_0x521f44(_0x536443,_0x1d174f):_0x536443,_0x224b26=_0x54378c['length']-0x1,_0x5ecb66;_0x224b26>=0x0;_0x224b26--)(_0x5ecb66=_0x54378c[_0x224b26])&&(_0x3649ad=_0x5ecb66(_0x3649ad)||_0x3649ad);return _0x3649ad;},_0x41d411=(_0x24819d,_0x21b1bd)=>(_0x1d484b,_0x1598ae)=>_0x21b1bd(_0x1d484b,_0x1598ae,_0x24819d);let _0x8c1091=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x3a182b,_0x21ed1a,_0x5346ba){const _0xeb382a=_0x2be3c1;super(),_0x31ba17(this,_0xeb382a(0x191),new Map()),_0x31ba17(this,_0xeb382a(0x384),new Map()),_0x31ba17(this,'_disabled',!0x1),(this[_0xeb382a(0x213)]=_0x3a182b,this[_0xeb382a(0x206)]=_0x21ed1a,this[_0xeb382a(0x342)]=_0x5346ba);}[_0x2be3c1(0x3d1)](){const _0x3c2e98=_0x2be3c1;this[_0x3c2e98(0x400)]=!0x0;}[_0x2be3c1(0x2ab)](){const _0x4db3cb=_0x2be3c1;this[_0x4db3cb(0x400)]=!0x1;}get['saveTaskMap'](){const _0x3ec998=_0x2be3c1;return this[_0x3ec998(0x384)];}['dispose'](){const _0x3aebdc=_0x2be3c1;this['exhaustSavingTask']()[_0x3aebdc(0x38a)](()=>super[_0x3aebdc(0x1a4)]());}async[_0x2be3c1(0x33e)](_0x1576e5){const _0x1ff948=_0x2be3c1;return this[_0x1ff948(0x400)]?null:this[_0x1ff948(0x206)][_0x1ff948(0x3dd)](_0x4cce40[_0x1ff948(0x1c9)](_0x1576e5));}async[_0x2be3c1(0x208)](_0x649080,_0x1e16c2){const _0x41d89e=_0x2be3c1;return!!this[_0x41d89e(0x206)][_0x41d89e(0x2bb)](_0x649080,_0x1e16c2);}[_0x2be3c1(0x3ec)](_0x5c9bfa,_0x5321aa,_0x587d57,_0x281e48){const _0x70b699=_0x2be3c1,_0x30fc50=this[_0x70b699(0x342)][_0x70b699(0x230)](_0x5c9bfa);this[_0x70b699(0x191)][_0x70b699(0x2af)](_0x5c9bfa,{'unitID':_0x5c9bfa,'type':_0x5321aa,'awaitingChangeset':_0x587d57,'mutations':_0x281e48,'rev':_0x30fc50}),this[_0x70b699(0x384)][_0x70b699(0x235)](_0x5c9bfa)||this[_0x70b699(0x2cc)](_0x5c9bfa);}['_scheduleSaving'](_0x3e94fb){const _0x284c75=_0x2be3c1,_0x1a9eaf=this[_0x284c75(0x434)]();_0x1a9eaf===0x0?this['_saveCache'](_0x3e94fb):this[_0x284c75(0x384)]['set'](_0x3e94fb,setTimeout(()=>this[_0x284c75(0x488)](_0x3e94fb),_0x1a9eaf));}[_0x2be3c1(0x434)](){const _0x27b02=_0x2be3c1;var _0xda102b;return(_0xda102b=this[_0x27b02(0x213)][_0x27b02(0x1ec)](_0x4cce40[_0x27b02(0x470)]))!=null?_0xda102b:_0x4cce40[_0x27b02(0x211)];}[_0x2be3c1(0x488)](_0x4a8b28){const _0x573254=_0x2be3c1,_0xed0d89=this[_0x573254(0x384)][_0x573254(0x489)](_0x4a8b28);return _0xed0d89!==void 0x0&&window[_0x573254(0x2ad)](_0xed0d89),this[_0x573254(0x206)][_0x573254(0x2bb)](_0x4cce40[_0x573254(0x1c9)](_0x4a8b28),this[_0x573254(0x191)][_0x573254(0x489)](_0x4a8b28))[_0x573254(0x38a)](()=>this[_0x573254(0x384)][_0x573254(0x3e0)](_0x4a8b28));}async[_0x2be3c1(0x3d8)](){const _0x4e3878=_0x2be3c1,_0x184b6c=[];this[_0x4e3878(0x384)][_0x4e3878(0x2cd)]((_0x375296,_0x47f86e)=>{const _0x1c520b=_0x4e3878;window['clearTimeout'](_0x375296),_0x184b6c[_0x1c520b(0x339)](this[_0x1c520b(0x488)](_0x47f86e)[_0x1c520b(0x38a)](()=>{const _0x393ecf=_0x1c520b;this[_0x393ecf(0x384)][_0x393ecf(0x3e0)](_0x47f86e);}));}),await Promise[_0x4e3878(0x337)](_0x184b6c);}};_0x8c1091=_0x18fb13([_0x41d411(0x0,_0x88db4d[_0x2be3c1(0x24a)]),_0x41d411(0x1,_0x88db4d[_0x2be3c1(0x1f0)]),_0x41d411(0x2,_0x88db4d['Inject'](_0x28fbb0[_0x2be3c1(0x336)]))],_0x8c1091);class _0x513617 extends _0x88db4d['RxDisposable']{constructor(){const _0x31bac8=_0x2be3c1;super(),_0x31ba17(this,_0x31bac8(0x39f)),this[_0x31bac8(0x39f)]=_0x3b0fae['fromEvent'](window,_0x31bac8(0x436))[_0x31bac8(0x204)](_0x3b0fae['takeUntil'](this[_0x31bac8(0x35b)]),_0x3b0fae[_0x31bac8(0x388)](0x1),_0x3b0fae['mapTo'](void 0x0));}[_0x2be3c1(0x433)](_0x47e78a,_0x3924a7,_0x491b56=!0x1){const _0xe33dab=_0x2be3c1,_0x3b684a=new URL(window['location'][_0xe33dab(0x273)]);_0x3b684a[_0xe33dab(0x326)][_0xe33dab(0x2af)](_0x47e78a,_0x3924a7),_0x491b56?window[_0xe33dab(0x3a8)][_0xe33dab(0x451)]('','',_0x3b684a['toString']()):window[_0xe33dab(0x3a8)][_0xe33dab(0x415)]('','',_0x3b684a[_0xe33dab(0x268)]());}['removeParam'](_0xeb8193,_0x2cb38b=!0x1){const _0x21445f=_0x2be3c1,_0x503384=new URL(window[_0x21445f(0x291)][_0x21445f(0x273)]);_0x503384[_0x21445f(0x326)]['delete'](_0xeb8193),_0x2cb38b?window[_0x21445f(0x3a8)]['replaceState']('','',_0x503384[_0x21445f(0x268)]()):window[_0x21445f(0x3a8)][_0x21445f(0x415)]('','',_0x503384[_0x21445f(0x268)]());}[_0x2be3c1(0x223)](_0x29d4c8){const _0x1d5e8c=_0x2be3c1;var _0x25954a;return(_0x25954a=new URL(window['location']['href'])[_0x1d5e8c(0x326)]['get'](_0x29d4c8))!=null?_0x25954a:void 0x0;}}var _0x3b9316=Object[_0x2be3c1(0x275)],_0x5b650c=Object[_0x2be3c1(0x393)],_0x3d229a=(_0x5d668f,_0x54e88a,_0x1e1609)=>_0x54e88a in _0x5d668f?_0x3b9316(_0x5d668f,_0x54e88a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1609}):_0x5d668f[_0x54e88a]=_0x1e1609,_0x46dcdf=(_0x3b6f03,_0x43bc6f,_0x1eb44c,_0x320520)=>{for(var _0x1a38b2=_0x320520>0x1?void 0x0:_0x320520?_0x5b650c(_0x43bc6f,_0x1eb44c):_0x43bc6f,_0x1bce8e=_0x3b6f03['length']-0x1,_0x7f6a0a;_0x1bce8e>=0x0;_0x1bce8e--)(_0x7f6a0a=_0x3b6f03[_0x1bce8e])&&(_0x1a38b2=_0x7f6a0a(_0x1a38b2)||_0x1a38b2);return _0x1a38b2;},_0xc76b7c=(_0x508e4c,_0x7a1300)=>(_0x99b94d,_0x5c3897)=>_0x7a1300(_0x99b94d,_0x5c3897,_0x508e4c),_0x1b6d10=(_0x1a5afb,_0x370d40,_0x1c3769)=>_0x3d229a(_0x1a5afb,_0x370d40+'',_0x1c3769);const _0x59e002=_0x2be3c1(0x28b);_0x37e3f4[_0x2be3c1(0x1a7)]=class extends _0x88db4d[_0x2be3c1(0x448)]{constructor(_0x37188a=_0x4f9c2d,_0x186cd1,_0xc9c1fe,_0x48970d){const _0x1adbae=_0x2be3c1;super(),this[_0x1adbae(0x357)]=_0x37188a,this[_0x1adbae(0x3b5)]=_0x186cd1,this[_0x1adbae(0x363)]=_0xc9c1fe,this[_0x1adbae(0x213)]=_0x48970d;const {..._0x64aaef}=_0x88db4d[_0x1adbae(0x21c)]({},_0x4f9c2d,this['_config']);this[_0x1adbae(0x213)][_0x1adbae(0x409)](_0x5d13e6,_0x64aaef);}['onStarting'](){const _0x1d3a43=_0x2be3c1;this[_0x1d3a43(0x44e)](),this[_0x1d3a43(0x396)]();}[_0x2be3c1(0x229)](){const _0x5f216f=_0x2be3c1;this[_0x5f216f(0x316)]();}[_0x2be3c1(0x44e)](){const _0x3f9626=_0x2be3c1;var _0x4e795c;const _0x2191ef=[[_0x469c3c],[_0x33f734],[_0x3f33b5],[_0xf4bf8f],[_0xf420a0],[_0x5ae914],[_0x58bcf2,{'useClass':_0x513617}],[_0x37abfe[_0x3f9626(0x30b)],{'useClass':_0x37abfe[_0x3f9626(0x3bb)]}],[_0x4cce40[_0x3f9626(0x286)],{'useClass':_0x8c1091}],[_0x37e3f4['DesktopCollaborationStatusDisplayController']],[_0x1527d5],[_0x489eee],[_0x2e3752],[_0x53cf70],[_0x37e3f4['CollaborationDataLoaderController']]];this['_config']['enableFrontendLog']&&_0x2191ef[_0x3f9626(0x339)]([_0x5ab0af]),_0x88db4d[_0x3f9626(0x2c9)](this[_0x3f9626(0x363)],_0x88db4d[_0x3f9626(0x1ca)](_0x2191ef,(_0x4e795c=this['_config'])==null?void 0x0:_0x4e795c[_0x3f9626(0x283)]));}[_0x2be3c1(0x316)](){const _0x19ec79=_0x2be3c1;this['disposeWithMe'](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)][_0x19ec79(0x44b)],[_0x476e21])),this[_0x19ec79(0x3ee)](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)]['UNIVER_SHEET'],[_0x485669]));}['_initDependencies'](){const _0x135695=_0x2be3c1;_0x88db4d['touchDependencies'](this[_0x135695(0x363)],[[_0x2e3752],[_0x37e3f4[_0x135695(0x46e)]],[_0x1527d5],[_0x489eee],[_0x37e3f4[_0x135695(0x343)]],[_0x33f734]]),this[_0x135695(0x357)][_0x135695(0x240)]&&_0x88db4d[_0x135695(0x40d)](this[_0x135695(0x363)],[[_0x5ab0af]]);}},_0x1b6d10(_0x37e3f4[_0x2be3c1(0x1a7)],_0x2be3c1(0x2fc),_0x59e002),_0x37e3f4[_0x2be3c1(0x1a7)]=_0x46dcdf([_0x88db4d[_0x2be3c1(0x2a4)](_0x4cce40[_0x2be3c1(0x401)]),_0xc76b7c(0x1,_0xe27d05[_0x2be3c1(0x306)]),_0xc76b7c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0xc76b7c(0x3,_0x88db4d[_0x2be3c1(0x24a)])],_0x37e3f4[_0x2be3c1(0x1a7)]);var _0x7d5e97=Object[_0x2be3c1(0x393)],_0x3a5924=(_0xac25d7,_0x557e62,_0x5bbe82,_0x33423e)=>{const _0x553cba=_0x2be3c1;for(var _0x39c452=_0x33423e>0x1?void 0x0:_0x33423e?_0x7d5e97(_0x557e62,_0x5bbe82):_0x557e62,_0x4f3792=_0xac25d7[_0x553cba(0x413)]-0x1,_0x5267ad;_0x4f3792>=0x0;_0x4f3792--)(_0x5267ad=_0xac25d7[_0x4f3792])&&(_0x39c452=_0x5267ad(_0x39c452)||_0x39c452);return _0x39c452;},_0x475aeb=(_0x367833,_0x5d72f6)=>(_0x87da93,_0x43b697)=>_0x5d72f6(_0x87da93,_0x43b697,_0x367833);_0x37e3f4[_0x2be3c1(0x28a)]=class extends _0x4cce40[_0x2be3c1(0x24b)]{constructor(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c){super(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c);}async[_0x2be3c1(0x308)](_0x221810){const _0x6501f7=_0x2be3c1,_0x3a21f3=await this['_getSessionTicket'](),_0x260fba=this[_0x6501f7(0x344)](_0x221810,_0x3a21f3);return this[_0x6501f7(0x18b)](_0x260fba);}[_0x2be3c1(0x344)](_0x1fc8ad,_0x2cb51a){const _0x413ed9=_0x2be3c1,_0x3a1298=typeof window>'u'?new URL(_0x1fc8ad):new URL(_0x1fc8ad,window[_0x413ed9(0x291)][_0x413ed9(0x253)]);_0x3a1298['searchParams'][_0x413ed9(0x2af)]('sessionTicket',_0x2cb51a);const _0x4f3c7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x413ed9(0x291)][_0x413ed9(0x1af)]);return _0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))&&_0x3a1298[_0x413ed9(0x326)][_0x413ed9(0x2af)](_0x413ed9(0x1d0),_0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))),_0x3a1298[_0x413ed9(0x268)]();}async[_0x2be3c1(0x338)](){const _0x2d51ff=_0x2be3c1;var _0x3645a7,_0x5d0452,_0x3d06ad;const _0x1e6866=this[_0x2d51ff(0x213)][_0x2d51ff(0x1ec)](_0x4cce40[_0x2d51ff(0x1a8)]),_0x3a58ad=(_0x3645a7=_0x1e6866==null?void 0x0:_0x1e6866[_0x2d51ff(0x3e9)])!=null?_0x3645a7:_0x4cce40[_0x2d51ff(0x35f)];return(_0x3d06ad=(_0x5d0452=(await this[_0x2d51ff(0x1cd)][_0x2d51ff(0x489)](_0x3a58ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5d0452[_0x2d51ff(0x47b)])!=null?_0x3d06ad:'';}},_0x37e3f4[_0x2be3c1(0x28a)]=_0x3a5924([_0x475aeb(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x475aeb(0x1,_0x88db4d['Inject'](_0x37abfe[_0x2be3c1(0x21b)])),_0x475aeb(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x475aeb(0x3,_0x88db4d[_0x2be3c1(0x193)]),_0x475aeb(0x4,_0x28fbb0[_0x2be3c1(0x271)])],_0x37e3f4[_0x2be3c1(0x28a)]);var _0xce0fd5=Object[_0x2be3c1(0x393)],_0x6aa6d0=(_0x2f1b26,_0x10796a,_0x2907de,_0xd7d8d8)=>{const _0x2919c4=_0x2be3c1;for(var _0x5c6a67=_0xd7d8d8>0x1?void 0x0:_0xd7d8d8?_0xce0fd5(_0x10796a,_0x2907de):_0x10796a,_0x4b4a72=_0x2f1b26[_0x2919c4(0x413)]-0x1,_0x5322ac;_0x4b4a72>=0x0;_0x4b4a72--)(_0x5322ac=_0x2f1b26[_0x4b4a72])&&(_0x5c6a67=_0x5322ac(_0x5c6a67)||_0x5c6a67);return _0x5c6a67;},_0x4dd39d=(_0x435e3a,_0x16575e)=>(_0x48eb37,_0x3e3e19)=>_0x16575e(_0x48eb37,_0x3e3e19,_0x435e3a);_0x37e3f4[_0x2be3c1(0x3ab)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x4fb336,_0x37591f,_0x3c268d){const _0x2f755b=_0x2be3c1;super(),this['_instanceService']=_0x4fb336,this['_httpService']=_0x37591f,this[_0x2f755b(0x213)]=_0x3c268d;}async[_0x2be3c1(0x372)](_0x113a43,_0x5b4250,_0x10451d,..._0x18c6a5){const _0x421b48=_0x2be3c1;var _0x22ad06,_0x19216e,_0x3f51b5,_0x5cfb55;const _0x30ef10=this['_instanceService'][_0x421b48(0x3c1)]();if(!_0x30ef10)throw new Error(_0x421b48(0x20e));const _0xe4ca1d=((_0x22ad06=this[_0x421b48(0x213)][_0x421b48(0x1ec)](_0x4cce40[_0x421b48(0x3c9)]))!=null?_0x22ad06:_0x4cce40[_0x421b48(0x407)])+'/'+_0x113a43+'/run/'+_0x5b4250,_0x45e2a4=new URL(window[_0x421b48(0x291)][_0x421b48(0x273)]),_0x35b31e={'scriptId':_0x113a43,'runId':(_0x19216e=_0x45e2a4[_0x421b48(0x326)][_0x421b48(0x489)](_0x421b48(0x1d0)))!=null?_0x19216e:'','function':_0x5b4250,'unitId':_0x30ef10['getUnitId'](),'argsOfFunction':JSON[_0x421b48(0x231)](_0x18c6a5),'invokeId':(_0x3f51b5=_0x10451d['invokeId'])!=null?_0x3f51b5:'','executionId':(_0x5cfb55=_0x10451d[_0x421b48(0x47d)])!=null?_0x5cfb55:''};try{const _0x560a3d=await this[_0x421b48(0x1cd)][_0x421b48(0x28c)](_0xe4ca1d,{'body':_0x35b31e});return _0x560a3d['body']['error']&&_0x560a3d[_0x421b48(0x35c)]['error'][_0x421b48(0x2c0)]!==_0x518652['OK']?_0x421b48(0x3fd):_0x560a3d['body']['result'];}catch{return _0x421b48(0x3fd);}}},_0x37e3f4[_0x2be3c1(0x3ab)]=_0x6aa6d0([_0x4dd39d(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x4dd39d(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe['HTTPService'])),_0x4dd39d(0x2,_0x88db4d['IConfigService'])],_0x37e3f4[_0x2be3c1(0x3ab)]);const _0x52b9f6=0x7530,_0xfa5471=_0x2be3c1(0x3e2);class _0x2fbd7b extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x3221e6=_0x2be3c1;super(),_0x31ba17(this,_0x3221e6(0x3a7),_0x88db4d[_0x3221e6(0x335)]()),_0x31ba17(this,_0x3221e6(0x320),new Set()),_0x31ba17(this,_0x3221e6(0x2b4),new Map()),_0x31ba17(this,'_heartbeatTimer',null),_0x31ba17(this,_0x3221e6(0x44a),new Map()),_0x31ba17(this,_0x3221e6(0x349),new Map()),this[_0x3221e6(0x43c)]();}[_0x2be3c1(0x1a4)](){const _0x10a09e=_0x2be3c1;super[_0x10a09e(0x1a4)](),this[_0x10a09e(0x44a)][_0x10a09e(0x2cd)]((_0x56470f,_0x330cd)=>this[_0x10a09e(0x421)](_0x330cd)),this[_0x10a09e(0x468)]&&window[_0x10a09e(0x1b0)](this[_0x10a09e(0x468)]);}[_0x2be3c1(0x20f)](_0x5f2134){const _0x5987c2=_0x2be3c1;return this['_ensureSubject'](_0x5f2134)[_0x5987c2(0x204)](_0x3b0fae[_0x5987c2(0x2d6)]());}['editingUnit'](_0xe6c715){const _0xeb5add=_0x2be3c1;this[_0xeb5add(0x320)][_0xeb5add(0x426)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xeb5add(0x262)](_0xe6c715),this[_0xeb5add(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xe6c715],'isForwarded':!0x1});}['disposeUnit'](_0x5a34c5){const _0x2664da=_0x2be3c1;this[_0x2664da(0x320)][_0x2664da(0x3e0)](_0x5a34c5),this[_0x2664da(0x320)]['size']===0x0&&this[_0x2664da(0x468)]&&window[_0x2664da(0x1b0)](this[_0x2664da(0x468)]);}[_0x2be3c1(0x43c)](){const _0x2aa1ca=_0x2be3c1;this[_0x2aa1ca(0x3ee)](_0x88db4d['toDisposable'](_0x3b0fae[_0x2aa1ca(0x2e1)](window,_0x2aa1ca(0x3df))[_0x2aa1ca(0x1f2)](_0xa1fec4=>{const _0x1b59c3=_0x2aa1ca;if(_0xa1fec4['key']!==_0xfa5471||!_0xa1fec4[_0x1b59c3(0x2b5)])return;const _0x462bea=JSON[_0x1b59c3(0x2e4)](_0xa1fec4[_0x1b59c3(0x2b5)]);this[_0x1b59c3(0x1d7)](_0x462bea);}))),window[_0x2aa1ca(0x3d0)](_0x2aa1ca(0x23b),()=>this[_0x2aa1ca(0x21a)]({'type':0x1,'memberID':this[_0x2aa1ca(0x3a7)],'unitIDs':Array[_0x2aa1ca(0x391)](this[_0x2aa1ca(0x320)])}));}[_0x2be3c1(0x1d7)](_0x4d9631){const _0x270ce3=_0x2be3c1;switch(_0x4d9631[_0x270ce3(0x3bd)]){case 0x0:this[_0x270ce3(0x348)](_0x4d9631);break;case 0x1:this[_0x270ce3(0x449)](_0x4d9631);break;case 0x2:this[_0x270ce3(0x2de)](_0x4d9631);break;}}[_0x2be3c1(0x348)](_0x415fb1){const _0x3e0675=_0x2be3c1,{unitIDs:_0x2e2e3b,memberID:_0x2f4c30,isForwarded:_0x54d11b}=_0x415fb1;_0x2e2e3b[_0x3e0675(0x2cd)](_0x1f205a=>{const _0x702e7e=_0x3e0675;if(!_0x54d11b&&this['_unitOnClients'][_0x702e7e(0x235)](_0x1f205a)&&this[_0x702e7e(0x3a1)](_0x1f205a)['next'](_0x4cce40[_0x702e7e(0x23d)][_0x702e7e(0x215)]),!this[_0x702e7e(0x2b4)]['has'](_0x1f205a)||!this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)[_0x702e7e(0x235)](_0x2f4c30)){const _0x146bee=this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)||new Set();_0x146bee['add'](_0x2f4c30),this[_0x702e7e(0x2b4)][_0x702e7e(0x2af)](_0x1f205a,_0x146bee),this[_0x702e7e(0x2fa)](_0x2f4c30);}}),_0x54d11b||this[_0x3e0675(0x21a)]({'type':0x0,'memberID':this[_0x3e0675(0x3a7)],'unitIDs':[...this[_0x3e0675(0x320)]],'isForwarded':!0x0});}[_0x2be3c1(0x2fa)](_0x106dfa){const _0x387fae=_0x2be3c1;this[_0x387fae(0x421)](_0x106dfa);const _0xf10d82=window[_0x387fae(0x44c)](()=>{const _0x57abb3=_0x387fae;this[_0x57abb3(0x2b4)][_0x57abb3(0x2cd)](_0x5313b1=>{const _0x49985d=_0x57abb3;_0x5313b1[_0x49985d(0x3e0)](_0x106dfa);});},_0x52b9f6*0x2);this[_0x387fae(0x44a)][_0x387fae(0x2af)](_0x106dfa,_0xf10d82);}[_0x2be3c1(0x421)](_0x43bb5d){const _0x298530=_0x2be3c1;if(this[_0x298530(0x44a)]['has'](_0x43bb5d)){const _0xec0479=this[_0x298530(0x44a)][_0x298530(0x489)](_0x43bb5d);_0xec0479&&window[_0x298530(0x2ad)](_0xec0479),this[_0x298530(0x44a)][_0x298530(0x2af)](_0x43bb5d,null);}}[_0x2be3c1(0x449)](_0x570f5e){const _0x137db3=_0x2be3c1,{memberID:_0x14f013,unitIDs:_0x3e41b6}=_0x570f5e;_0x3e41b6[_0x137db3(0x2cd)](_0x36650b=>{const _0x182553=_0x137db3;var _0x598539;const _0x1767eb=this['_unitOnClients']['get'](_0x36650b);_0x1767eb&&(_0x1767eb[_0x182553(0x3e0)](_0x14f013),(_0x598539=this['_ensureSubject'](_0x36650b))==null||_0x598539['next'](_0x1767eb[_0x182553(0x426)]===0x0?_0x4cce40[_0x182553(0x23d)][_0x182553(0x256)]:_0x4cce40[_0x182553(0x23d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x14f013);}[_0x2be3c1(0x2de)](_0x25c7eb){const _0x2a9f22=_0x2be3c1;this[_0x2a9f22(0x2fa)](_0x25c7eb[_0x2a9f22(0x442)]);}[_0x2be3c1(0x21a)](_0x5e837c){const _0x409ff2=_0x2be3c1;localStorage[_0x409ff2(0x2bb)](_0xfa5471,JSON['stringify'](_0x5e837c));}['_scheduleHeartbeat'](){const _0x272c95=_0x2be3c1;this[_0x272c95(0x468)]=window['setInterval'](()=>{const _0xca249c=_0x272c95;this[_0xca249c(0x21a)]({'type':0x2,'memberID':this[_0xca249c(0x3a7)]});},_0x52b9f6);}[_0x2be3c1(0x3a1)](_0x4d3ea7){const _0x2ea8fc=_0x2be3c1;return this[_0x2ea8fc(0x349)][_0x2ea8fc(0x235)](_0x4d3ea7)||this[_0x2ea8fc(0x349)][_0x2ea8fc(0x2af)](_0x4d3ea7,new _0x3b0fae[(_0x2ea8fc(0x3b8))](_0x4cce40[_0x2ea8fc(0x23d)][_0x2ea8fc(0x256)])),this[_0x2ea8fc(0x349)]['get'](_0x4d3ea7);}}_0x37e3f4[_0x2be3c1(0x3c6)]=_0x58bcf2,_0x37e3f4[_0x2be3c1(0x331)]=_0x327c29,_0x37e3f4['WebBrowserSingleActiveUnitService']=_0x2fbd7b,_0x37e3f4[_0x2be3c1(0x2f6)]=_0x513617,Object[_0x2be3c1(0x275)](_0x37e3f4,Symbol[_0x2be3c1(0x432)],{'value':_0x2be3c1(0x2e0)});}));
1
+ function _0x5833(_0x30586c,_0x4f2611){_0x30586c=_0x30586c-0x108;const _0x520a0e=_0x520a();let _0x583330=_0x520a0e[_0x30586c];return _0x583330;}(function(_0x32d6af,_0xa905a5){const _0x3e765c=_0x5833,_0x58f836=_0x32d6af();while(!![]){try{const _0x2ea93c=-parseInt(_0x3e765c(0x263))/0x1+-parseInt(_0x3e765c(0x17e))/0x2*(-parseInt(_0x3e765c(0x145))/0x3)+parseInt(_0x3e765c(0x1b1))/0x4+parseInt(_0x3e765c(0x278))/0x5*(parseInt(_0x3e765c(0x1fd))/0x6)+-parseInt(_0x3e765c(0x1d1))/0x7+parseInt(_0x3e765c(0x1d5))/0x8*(parseInt(_0x3e765c(0x285))/0x9)+-parseInt(_0x3e765c(0x186))/0xa*(-parseInt(_0x3e765c(0x2b2))/0xb);if(_0x2ea93c===_0xa905a5)break;else _0x58f836['push'](_0x58f836['shift']());}catch(_0x357fe7){_0x58f836['push'](_0x58f836['shift']());}}}(_0x520a,0x44a60),function(_0x5dcd53,_0x304d5c){const _0x10e2d8=_0x5833;typeof exports==_0x10e2d8(0x372)&&typeof module<'u'?_0x304d5c(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==_0x10e2d8(0x1b0)&&define[_0x10e2d8(0x3f1)]?define([_0x10e2d8(0x30e),_0x10e2d8(0x3b3),_0x10e2d8(0x135),'@univerjs/core','@univerjs/ui',_0x10e2d8(0x374),_0x10e2d8(0x3e6),_0x10e2d8(0x15f),'@univerjs/rpc',_0x10e2d8(0x3eb),'@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x10e2d8(0x12d),'@univerjs-pro/collaboration',_0x10e2d8(0x2ef),_0x10e2d8(0x21d),'rxjs/operators',_0x10e2d8(0x323)],_0x304d5c):(_0x5dcd53=typeof globalThis<'u'?globalThis:_0x5dcd53||self,_0x304d5c(_0x5dcd53[_0x10e2d8(0x326)]={},_0x5dcd53[_0x10e2d8(0x2b9)],_0x5dcd53[_0x10e2d8(0x266)],_0x5dcd53[_0x10e2d8(0x2a5)],_0x5dcd53[_0x10e2d8(0x34a)],_0x5dcd53[_0x10e2d8(0x374)],_0x5dcd53[_0x10e2d8(0x1ed)],_0x5dcd53['React'],_0x5dcd53['UniverRpc'],_0x5dcd53[_0x10e2d8(0x3a6)],_0x5dcd53[_0x10e2d8(0x2b7)],_0x5dcd53['UniverNetwork'],_0x5dcd53[_0x10e2d8(0x311)],_0x5dcd53[_0x10e2d8(0x193)],_0x5dcd53[_0x10e2d8(0x15a)],_0x5dcd53[_0x10e2d8(0x232)],_0x5dcd53[_0x10e2d8(0x29e)],_0x5dcd53[_0x10e2d8(0x374)][_0x10e2d8(0x3ed)],_0x5dcd53[_0x10e2d8(0x268)]));}(this,function(_0x23f96a,_0x56f8e0,_0x40f345,_0x99a487,_0x3ebdd3,_0xf18ada,_0xdfb808,_0x24e254,_0x52bf9f,_0x1e6c76,_0x4b6de8,_0xb43dfb,_0x2afbb3,_0xba1fc8,_0x1d0b4f,_0x2d04b0,_0x7369e4,_0x4f8855,_0x31a5a7){'use strict';const _0x42caba=_0x5833;var _0x76e751=Object[_0x42caba(0x321)],_0x5c1d79=(_0x14a026,_0x188201,_0x37532d)=>_0x188201 in _0x14a026?_0x76e751(_0x14a026,_0x188201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37532d}):_0x14a026[_0x188201]=_0x37532d,_0x450946=(_0x5079ec,_0x33855f,_0x3e107e)=>_0x5c1d79(_0x5079ec,typeof _0x33855f!=_0x42caba(0x180)?_0x33855f+'':_0x33855f,_0x3e107e);function _0x365323({ref:_0x5d0263,..._0xf2ddfa}){const _0x4c692c=_0x42caba,{icon:_0x398384,id:_0x25cc43,className:_0x380a80,extend:_0x31702c,..._0x347032}=_0xf2ddfa,_0x4aed5e=(_0x4c692c(0x132)+_0x25cc43+'\x20'+(_0x380a80||''))[_0x4c692c(0x3cb)](),_0x5bdd7c=_0x24e254[_0x4c692c(0x246)]('_'+_0xcd1b20());return _0x377bf1(_0x398384,''+_0x25cc43,{'defIds':_0x398384[_0x4c692c(0x144)],'idSuffix':_0x5bdd7c[_0x4c692c(0x14d)]},{'ref':_0x5d0263,'className':_0x4aed5e,..._0x347032},_0x31702c);}function _0x377bf1(_0x5bbd0a,_0x18bd69,_0x121ffc,_0x34bf7e,_0x29b21f){const _0x32709a=_0x42caba;return _0x24e254[_0x32709a(0x229)](_0x5bbd0a[_0x32709a(0x1a6)],{'key':_0x18bd69,..._0x309c26(_0x5bbd0a,_0x121ffc,_0x29b21f),..._0x34bf7e},(_0x473eb8(_0x5bbd0a,_0x121ffc)[_0x32709a(0x131)]||[])['map']((_0xa9fe4c,_0x5b10dd)=>_0x377bf1(_0xa9fe4c,_0x18bd69+'-'+_0x5bbd0a['tag']+'-'+_0x5b10dd,_0x121ffc,void 0x0,_0x29b21f)));}function _0x309c26(_0x4dfc77,_0x4f4197,_0x4e177e){const _0x4b1e24=_0x42caba,_0x5b7bad={..._0x4dfc77[_0x4b1e24(0x1ab)]};_0x4e177e!=null&&_0x4e177e['colorChannel1']&&_0x5b7bad['fill']===_0x4b1e24(0x2fb)&&(_0x5b7bad[_0x4b1e24(0x1bb)]=_0x4e177e[_0x4b1e24(0x2fb)]),_0x4dfc77[_0x4b1e24(0x1a6)]===_0x4b1e24(0x31c)&&_0x5b7bad['id']&&(_0x5b7bad['id']=_0x5b7bad['id']+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x27ea69,_0x1ef1c6])=>{const _0x34c40d=_0x4b1e24;_0x27ea69===_0x34c40d(0x31c)&&typeof _0x1ef1c6=='string'&&(_0x5b7bad[_0x27ea69]=_0x1ef1c6['replace'](/url\(#(.*)\)/,_0x34c40d(0x3be)+_0x4f4197['idSuffix']+')'));});const {defIds:_0xb0934c}=_0x4f4197;return!_0xb0934c||_0xb0934c[_0x4b1e24(0x1f4)]===0x0||(_0x4dfc77['tag']==='use'&&_0x5b7bad[_0x4b1e24(0x158)]&&(_0x5b7bad[_0x4b1e24(0x158)]=_0x5b7bad[_0x4b1e24(0x158)]+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x25f6f5,_0x68f30b])=>{const _0x4b0f65=_0x4b1e24;typeof _0x68f30b==_0x4b0f65(0x307)&&(_0x5b7bad[_0x25f6f5]=_0x68f30b[_0x4b0f65(0x190)](/url\(#(.*)\)/,_0x4b0f65(0x3be)+_0x4f4197[_0x4b0f65(0x2a1)]+')'));})),_0x5b7bad;}function _0x473eb8(_0x4a2a88,_0x3169bf){const _0x3079d0=_0x42caba;var _0x166be8;const {defIds:_0x4e7ea7}=_0x3169bf;return!_0x4e7ea7||_0x4e7ea7[_0x3079d0(0x1f4)]===0x0?_0x4a2a88:_0x4a2a88['tag']===_0x3079d0(0x365)&&((_0x166be8=_0x4a2a88[_0x3079d0(0x131)])!=null&&_0x166be8[_0x3079d0(0x1f4)])?{..._0x4a2a88,'children':_0x4a2a88[_0x3079d0(0x131)][_0x3079d0(0x139)](_0x2a248d=>typeof _0x2a248d['attrs']['id']==_0x3079d0(0x307)&&_0x4e7ea7&&_0x4e7ea7[_0x3079d0(0x2f0)](_0x2a248d[_0x3079d0(0x1ab)]['id'])?{..._0x2a248d,'attrs':{..._0x2a248d[_0x3079d0(0x1ab)],'id':_0x2a248d[_0x3079d0(0x1ab)]['id']+_0x3169bf[_0x3079d0(0x2a1)]}}:_0x2a248d)}:_0x4a2a88;}function _0xcd1b20(){const _0x45bb83=_0x42caba;return Math[_0x45bb83(0x147)]()[_0x45bb83(0x2df)](0x24)['substring'](0x2,0x8);}_0x365323['displayName']=_0x42caba(0x3d1);const _0x44f037={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x3ce),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x3df)},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x142),'strokeLinecap':'round','strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':_0x42caba(0x24b)},'children':[{'tag':'path','attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143)}}]}]}],'defIds':[_0x42caba(0x24b)]},_0x34401d=_0x24e254[_0x42caba(0x181)](function(_0x2ad812,_0x32d614){const _0x1b3bb8=_0x42caba;return _0x24e254[_0x1b3bb8(0x229)](_0x365323,Object[_0x1b3bb8(0x1c5)]({},_0x2ad812,{'id':'off-line-icon','ref':_0x32d614,'icon':_0x44f037}));});_0x34401d[_0x42caba(0x13f)]=_0x42caba(0x148);const _0x3716d6={'tag':_0x42caba(0x13a),'attrs':{'xmlns':_0x42caba(0x174),'fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x1d9),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x23d)},'children':[{'tag':'path','attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x2b0),'strokeLinecap':_0x42caba(0x281),'strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143),'transform':'translate(.97)'}}]}]}],'defIds':[_0x42caba(0x357)]},_0x2998c0=_0x24e254[_0x42caba(0x181)](function(_0x382e47,_0x1a7bd7){const _0x5ad4ce=_0x42caba;return _0x24e254[_0x5ad4ce(0x229)](_0x365323,Object['assign']({},_0x382e47,{'id':_0x5ad4ce(0x157),'ref':_0x1a7bd7,'icon':_0x3716d6}));});_0x2998c0[_0x42caba(0x13f)]='OnLineIcon';function _0x21667f(_0x359917){const _0x25f0c2=_0x42caba;switch(_0x359917){case _0x40f345['CollaborationStatus']['OFFLINE']:return _0x25f0c2(0x2a4);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x24a)]:return _0x25f0c2(0x2a8);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x235)]:return _0x25f0c2(0x3ba);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x293)]:return _0x25f0c2(0x34d);case _0x40f345['CollaborationStatus'][_0x25f0c2(0x375)]:case _0x40f345[_0x25f0c2(0x3cf)]['AWAITING_WITH_PENDING']:return _0x25f0c2(0x39b);case _0x40f345[_0x25f0c2(0x3cf)]['SYNCED']:case _0x40f345['CollaborationStatus']['PENDING']:return _0x25f0c2(0x168);}}function _0x1d8aba(_0xbd8c1e){const _0x38eb11=_0x42caba,{status$:_0xa737f1}=_0xbd8c1e,_0x567dcc=_0x3ebdd3[_0x38eb11(0x288)](_0xa737f1,_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x293)]),_0x5f2bdf=_0x3ebdd3[_0x38eb11(0x2bf)](_0x99a487[_0x38eb11(0x35d)]),_0x38ad86=_0x3ebdd3[_0x38eb11(0x2bf)](_0x40f345['CollaborationSessionService']),_0xbad5f1=_0x567dcc!==_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x3c7)],_0x50d381=_0x5f2bdf['t'](_0x21667f(_0x567dcc)),_0x56f642=_0xbad5f1?_0x56f8e0[_0x38eb11(0x198)](_0x2998c0,{}):_0x56f8e0[_0x38eb11(0x198)](_0x34401d,{}),_0x40805b=_0x24e254['useCallback'](()=>{_0xbad5f1||_0x38ad86['reconnect']();},[_0xbad5f1,_0x38ad86]);function _0x25a4cc(){const _0x255403=_0x38eb11;return _0x56f8e0[_0x255403(0x2dd)](_0x255403(0x21f),{'className':_0x255403(0x3a3),'onClick':_0x40805b,'children':[_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':_0xdfb808[_0x255403(0x3b4)](_0x255403(0x1f5),{'univer-text-green-500':_0xbad5f1,'univer-text-red-500':!_0xbad5f1}),'children':_0x56f642}),_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d381})]});}return _0xbad5f1?_0x25a4cc():_0x56f8e0['jsx'](_0xdfb808[_0x38eb11(0x265)],{'title':_0x5f2bdf['t']('collab-client.tooltip.reconnect'),'children':_0x25a4cc()});}var _0x26e07a=Object[_0x42caba(0x27d)],_0x355e6c=(_0x2a05de,_0x3f73d0,_0x3ec381,_0x16258a)=>{const _0x4c114f=_0x42caba;for(var _0x285b27=_0x16258a>0x1?void 0x0:_0x16258a?_0x26e07a(_0x3f73d0,_0x3ec381):_0x3f73d0,_0x543cfc=_0x2a05de[_0x4c114f(0x1f4)]-0x1,_0x341afb;_0x543cfc>=0x0;_0x543cfc--)(_0x341afb=_0x2a05de[_0x543cfc])&&(_0x285b27=_0x341afb(_0x285b27)||_0x285b27);return _0x285b27;},_0x3ab8b2=(_0x58a668,_0x2025d3)=>(_0x3158c6,_0x5c7cb0)=>_0x2025d3(_0x3158c6,_0x5c7cb0,_0x58a668);_0x23f96a[_0x42caba(0x254)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x4a7b61,_0x30aeb5,_0x1e445a,_0x18cf1b){const _0x552934=_0x42caba;super(),_0x450946(this,'_status$',new _0xf18ada[(_0x552934(0x1c2))](_0x40f345[_0x552934(0x3cf)][_0x552934(0x293)])),(this[_0x552934(0x2c0)]=_0x4a7b61,this['_injector']=_0x30aeb5,this['_collaborationController']=_0x1e445a,this['_uiPartsService']=_0x18cf1b,this[_0x552934(0x165)](),this[_0x552934(0x25e)]());}['_initStatusListener'](){const _0x304083=_0x42caba;this['disposeWithMe'](this[_0x304083(0x2c0)][_0x304083(0x2ab)][_0x304083(0x1cd)](_0xf18ada['switchMap'](()=>{const _0x3fc274=_0x304083,_0x19acff=this[_0x3fc274(0x2c0)]['getFocusedUnit']();return _0x19acff?this['_collaborationController'][_0x3fc274(0x29c)](_0x19acff[_0x3fc274(0x359)]()):_0xf18ada['of'](null);}),_0xf18ada[_0x304083(0x35b)](_0x3192df=>_0x3192df?_0x3192df[_0x304083(0x206)]:_0xf18ada['of'](_0x40f345[_0x304083(0x3cf)]['NOT_COLLAB'])))[_0x304083(0x222)](_0x13a574=>{const _0x57648a=_0x304083;this[_0x57648a(0x3e5)]['next'](_0x13a574);}));}['_initStatusComponent'](){const _0x40a897=_0x42caba;this[_0x40a897(0x170)](this[_0x40a897(0x253)][_0x40a897(0x1bd)](_0x3ebdd3[_0x40a897(0x184)][_0x40a897(0x28a)],()=>_0x3ebdd3['connectInjector'](_0x5b6f7b({'status$':this['_status$'][_0x40a897(0x154)]()}),this['_injector'])));}},_0x23f96a[_0x42caba(0x254)]=_0x355e6c([_0x3ab8b2(0x0,_0x99a487[_0x42caba(0x14f)]),_0x3ab8b2(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x3ab8b2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x1f7)])),_0x3ab8b2(0x3,_0x3ebdd3[_0x42caba(0x252)])],_0x23f96a['DesktopCollaborationStatusDisplayController']);function _0x5b6f7b(_0x2fd73f){const {status$:_0x1fe326}=_0x2fd73f;return function(){const _0x4393b8=_0x5833;return _0x56f8e0[_0x4393b8(0x198)](_0x1d8aba,{'status$':_0x1fe326});};}const _0x2eaaa6=_0x99a487[_0x42caba(0x2db)](_0x42caba(0x12b));var _0x85530=Object[_0x42caba(0x27d)],_0x3c6f2c=(_0x387f64,_0x4ecc32,_0x49b7f3,_0x424eab)=>{const _0x268292=_0x42caba;for(var _0x4aa0a5=_0x424eab>0x1?void 0x0:_0x424eab?_0x85530(_0x4ecc32,_0x49b7f3):_0x4ecc32,_0x36c18f=_0x387f64[_0x268292(0x1f4)]-0x1,_0x35677;_0x36c18f>=0x0;_0x36c18f--)(_0x35677=_0x387f64[_0x36c18f])&&(_0x4aa0a5=_0x35677(_0x4aa0a5)||_0x4aa0a5);return _0x4aa0a5;},_0x1ae8a9=(_0x10e028,_0x4ba6c6)=>(_0x31e2b7,_0x581c8f)=>_0x4ba6c6(_0x31e2b7,_0x581c8f,_0x10e028);_0x23f96a[_0x42caba(0x216)]=class extends _0x99a487['RxDisposable']{constructor(_0x5597f7,_0x302b5f,_0x42f15b,_0x532eb3,_0x2a15c4){const _0x22a6ae=_0x42caba;super(),this['_urlService']=_0x5597f7,this['_logService']=_0x302b5f,this[_0x22a6ae(0x390)]=_0x42f15b,this[_0x22a6ae(0x10e)]=_0x532eb3,_0x2a15c4?_0x2a15c4==null||_0x2a15c4[_0x22a6ae(0x2a2)]()['then'](()=>this[_0x22a6ae(0x273)]()):(this[_0x22a6ae(0x27c)][_0x22a6ae(0x204)](_0x22a6ae(0x2b8),_0x22a6ae(0x121)),this[_0x22a6ae(0x273)]());}async[_0x42caba(0x273)](){const _0x3fc8e5=_0x42caba,_0xd22b81=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x393)),_0x43d175=this['_urlService']['getParam'](_0x3fc8e5(0x2d7)),_0x3851e7=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x26a));if(!_0xd22b81||!_0x43d175){this['_logService'][_0x3fc8e5(0x204)](_0x3fc8e5(0x2b8),_0x3fc8e5(0x20a));return;}const _0x3307c3=await this['_dataLoaderService'][_0x3fc8e5(0x244)](_0xd22b81,Number(_0x43d175),_0x3851e7);_0x3307c3&&_0x3307c3 instanceof _0x99a487[_0x3fc8e5(0x250)]&&this['_setupSubUnitSync'](_0x3307c3);}async[_0x42caba(0x35f)](_0x5ad612){const _0x1a1ea0=_0x42caba;await this['_updateSubUnitFromURLParams'](_0x5ad612),_0x5ad612[_0x1a1ea0(0x1c0)][_0x1a1ea0(0x1cd)](_0xf18ada[_0x1a1ea0(0x141)](this[_0x1a1ea0(0x1ef)]))['subscribe'](_0x4f1f95=>{const _0x7f11c7=_0x1a1ea0;_0x4f1f95&&this[_0x7f11c7(0x2bc)](_0x4f1f95);}),this['_urlService']['urlChange$']['pipe'](_0xf18ada[_0x1a1ea0(0x141)](this['dispose$']))[_0x1a1ea0(0x222)](()=>this[_0x1a1ea0(0x349)](_0x5ad612));}[_0x42caba(0x2bc)](_0xff19d,_0x794fb5=!0x1){const _0x8a2343=_0x42caba,_0x5106eb=this[_0x8a2343(0x227)][_0x8a2343(0x37f)](_0x8a2343(0x26a));_0xff19d[_0x8a2343(0x2b6)]()!==_0x5106eb&&this[_0x8a2343(0x227)][_0x8a2343(0x27b)](_0x8a2343(0x26a),_0xff19d['getSheetId'](),_0x794fb5);}async[_0x42caba(0x349)](_0x287da3){const _0x47e95d=_0x42caba;var _0x3613f4;const _0x48c6d2=this[_0x47e95d(0x227)][_0x47e95d(0x37f)](_0x47e95d(0x26a));if(!_0x48c6d2||!_0x287da3[_0x47e95d(0x287)](_0x48c6d2)){const _0x24f19f=_0x287da3['getUnhiddenWorksheets']()[0x0],_0x373bf7=_0x287da3['getSheetBySheetId'](_0x24f19f);if(!_0x373bf7)return;this['_updateURLWithCurrentState'](_0x373bf7,!0x0),await this[_0x47e95d(0x390)]['executeCommand'](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x24f19f});return;}((_0x3613f4=_0x287da3['getActiveSheet']())==null?void 0x0:_0x3613f4['getSheetId']())!==_0x48c6d2&&await this[_0x47e95d(0x390)][_0x47e95d(0x28d)](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x48c6d2});}},_0x23f96a['CollaborationDataLoaderController']=_0x3c6f2c([_0x1ae8a9(0x0,_0x2eaaa6),_0x1ae8a9(0x1,_0x99a487[_0x42caba(0x2e3)]),_0x1ae8a9(0x2,_0x99a487['ICommandService']),_0x1ae8a9(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x2ca)])),_0x1ae8a9(0x4,_0x99a487[_0x42caba(0x2fd)](_0x52bf9f[_0x42caba(0x16f)]))],_0x23f96a[_0x42caba(0x216)]);var _0x1efe45=Object[_0x42caba(0x27d)],_0x3658c7=(_0x3d5e53,_0x2662fa,_0x975813,_0x52db65)=>{const _0x178b4c=_0x42caba;for(var _0x50fef4=_0x52db65>0x1?void 0x0:_0x52db65?_0x1efe45(_0x2662fa,_0x975813):_0x2662fa,_0x1d5656=_0x3d5e53[_0x178b4c(0x1f4)]-0x1,_0x504207;_0x1d5656>=0x0;_0x1d5656--)(_0x504207=_0x3d5e53[_0x1d5656])&&(_0x50fef4=_0x504207(_0x50fef4)||_0x50fef4);return _0x50fef4;},_0x3514bd=(_0x1cad99,_0x184bb4)=>(_0x47e47b,_0x4138bd)=>_0x184bb4(_0x47e47b,_0x4138bd,_0x1cad99);let _0x47f8da=class extends _0x99a487['RxDisposable']{constructor(_0x295358,_0x4c775e){const _0x4e7fa2=_0x42caba;super(),this[_0x4e7fa2(0x32b)]=_0x295358,this[_0x4e7fa2(0x2ea)]=_0x4c775e,this['_init']();}[_0x42caba(0x273)](){const _0x61d184=_0x42caba,_0x1f452d=this;this[_0x61d184(0x170)](this[_0x61d184(0x32b)][_0x61d184(0x2cd)]({'onBeforePasteImage':async _0x305367=>{const _0x37247e=_0x61d184,_0xb4b6c2=await _0x1f452d[_0x37247e(0x2ea)][_0x37247e(0x2d2)](_0x305367);return _0xb4b6c2?{'source':_0xb4b6c2[_0x37247e(0x353)],'imageSourceType':_0xb4b6c2['imageSourceType']}:null;}}));}};_0x47f8da=_0x3658c7([_0x3514bd(0x0,_0x2afbb3['IDocClipboardService']),_0x3514bd(0x1,_0xba1fc8[_0x42caba(0x15e)])],_0x47f8da);const _0x185656=[_0x42caba(0x24d),_0x42caba(0x234),'green.600',_0x42caba(0x373),'blue.400',_0x42caba(0x1a5)];class _0x2dbe1f extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x3baada=_0x42caba;super(...arguments),_0x450946(this,'_assignedColors',new Map()),_0x450946(this,_0x3baada(0x30b),0x0);}[_0x42caba(0x2af)](_0x18700a){const _0x48ac08=_0x42caba;if(this['_assignedColors'][_0x48ac08(0x185)](_0x18700a))return this['_assignedColors']['get'](_0x18700a);const _0x24be3c=_0x185656[this[_0x48ac08(0x30b)]];return this[_0x48ac08(0x30b)]=(this[_0x48ac08(0x30b)]+0x1)%_0x185656['length'],this[_0x48ac08(0x241)][_0x48ac08(0x2ff)](_0x18700a,_0x24be3c),_0x24be3c;}}function _0x1b89d1(_0xfa697f){const _0x325b7e=_0x42caba;let _0x235e92='';for(const _0x575599 of _0xfa697f){const {startOffset:_0x1a3d97,endOffset:_0x394fca,isActive:_0x3e7d18,rangeType:_0x3f78d0,segmentId:_0x15cc81,segmentPage:_0xcfd6e7}=_0x575599;_0x235e92[_0x325b7e(0x1f4)]&&(_0x235e92+=','),_0x235e92+=_0x1a3d97+':'+_0x394fca+':'+(_0x3e7d18?'1':'0')+':'+_0x3f78d0+':'+_0x15cc81+':'+_0xcfd6e7;}return _0x235e92;}function _0x432c8d(_0x4b5be7){const _0x2f7317=_0x42caba,_0x293131=_0x4b5be7[_0x2f7317(0x146)](','),_0xbc9f8e=[];for(const _0x556d07 of _0x293131){const [_0x4bb40b,_0x1089a6,_0x32dc9b,_0x3af489,_0x509663,_0x1e2216]=_0x556d07['split'](':');_0xbc9f8e[_0x2f7317(0x242)]({'startOffset':Number(_0x4bb40b),'endOffset':Number(_0x1089a6),'collapsed':_0x4bb40b===_0x1089a6,'isActive':_0x32dc9b==='1','rangeType':_0x3af489===_0x99a487[_0x2f7317(0x21b)]['TEXT']?_0x99a487[_0x2f7317(0x21b)][_0x2f7317(0x230)]:_0x99a487[_0x2f7317(0x21b)]['RECT'],'segmentId':typeof _0x509663==_0x2f7317(0x307)?String(_0x509663):'','segmentPage':Number(_0x1e2216!=null?_0x1e2216:-0x1)});}return _0xbc9f8e[_0x2f7317(0x33d)](_0x95145f=>_0x95145f[_0x2f7317(0x18e)])||(_0xbc9f8e[0x0]['isActive']=!0x0),_0xbc9f8e;}class _0x151704 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0xeb0781=_0x42caba;super(...arguments),_0x450946(this,_0xeb0781(0x1fc),new _0xf18ada['BehaviorSubject'](null)),_0x450946(this,_0xeb0781(0x2d0),this[_0xeb0781(0x1fc)][_0xeb0781(0x154)]());}[_0x42caba(0x12c)](_0x20d4c6){const _0x2e47f5=_0x42caba,{unitID:_0x1356da,memberID:_0xf0f558,textRanges:_0x4eb4fe}=_0x20d4c6,_0x373932=_0x1b89d1(_0x4eb4fe);if(_0x373932==='')return;const _0x34f586={'unitID':_0x1356da,'memberID':_0xf0f558,'selection':_0x373932};this[_0x2e47f5(0x1fc)][_0x2e47f5(0x1ba)](_0x34f586);}}var _0x292158=Object[_0x42caba(0x27d)],_0x25ef79=(_0x584117,_0xe39874,_0x497533,_0x54fc30)=>{const _0x20f97e=_0x42caba;for(var _0x1e183f=_0x54fc30>0x1?void 0x0:_0x54fc30?_0x292158(_0xe39874,_0x497533):_0xe39874,_0x302c74=_0x584117[_0x20f97e(0x1f4)]-0x1,_0x1e7857;_0x302c74>=0x0;_0x302c74--)(_0x1e7857=_0x584117[_0x302c74])&&(_0x1e183f=_0x1e7857(_0x1e183f)||_0x1e183f);return _0x1e183f;},_0x3ea4db=(_0x4fe40b,_0x4bdfa0)=>(_0x1ebad3,_0x2bc290)=>_0x4bdfa0(_0x1ebad3,_0x2bc290,_0x4fe40b);const _0xe0f9d1=0x12c,_0x4a197b=0x64;let _0x5b726f=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x46e6f9,_0x1faa45,_0x4220c2,_0x3bb859,_0x147a7b,_0x35b9eb,_0x57399f,_0x57050f,_0xa53e59){const _0x1a5dff=_0x42caba;super(),_0x450946(this,_0x1a5dff(0x217),!0x1),_0x450946(this,'_init',!0x1),_0x450946(this,_0x1a5dff(0x32e),new _0xf18ada[(_0x1a5dff(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this[_0x1a5dff(0x32e)][_0x1a5dff(0x154)]()),_0x450946(this,'_roomMembers$',new _0xf18ada[(_0x1a5dff(0x1c2))]([])),_0x450946(this,_0x1a5dff(0x1e6),this[_0x1a5dff(0x39a)][_0x1a5dff(0x1cd)](_0xf18ada[_0x1a5dff(0x194)](_0xe0f9d1))),_0x450946(this,_0x1a5dff(0x290),_0x99a487[_0x1a5dff(0x1aa)](_0x2e91a4=>{const _0x5d41be=_0x1a5dff,_0x17514a={'eventID':_0x1d0b4f[_0x5d41be(0x2f3)][_0x5d41be(0x207)],'data':{'unitID':this[_0x5d41be(0x392)],'memberID':this[_0x5d41be(0x169)][_0x5d41be(0x218)](),'selection':_0x1b89d1(_0x2e91a4)}};this['_session']['send'](_0x17514a,this[_0x5d41be(0x392)]);},_0x4a197b)),(this[_0x1a5dff(0x392)]=_0x46e6f9,this[_0x1a5dff(0x169)]=_0x1faa45,this[_0x1a5dff(0x3b2)]=_0x4220c2,this[_0x1a5dff(0x354)]=_0x3bb859,this[_0x1a5dff(0x2c7)]=_0x147a7b,this[_0x1a5dff(0x18f)]=_0x35b9eb,this[_0x1a5dff(0x17a)]=_0x57399f,this['_univerInstanceService']=_0x57050f,this['_commandService']=_0xa53e59);}get[_0x42caba(0x1ae)](){const _0x4d16a7=_0x42caba;return this['_cursorInfo$'][_0x4d16a7(0x279)]();}get[_0x42caba(0x1d3)](){const _0xacc1be=_0x42caba;return this[_0xacc1be(0x39a)][_0xacc1be(0x279)]();}[_0x42caba(0x310)](){const _0x18b450=_0x42caba;super['dispose'](),this[_0x18b450(0x32e)][_0x18b450(0x1ba)](new Map()),this['_cursorInfo$'][_0x18b450(0x2cc)](),this[_0x18b450(0x39a)][_0x18b450(0x1ba)]([]),this[_0x18b450(0x39a)]['complete']();}[_0x42caba(0x1ce)](){const _0x20f646=_0x42caba;this[_0x20f646(0x273)]||(this['_init']=!0x0,this['_session'][_0x20f646(0x258)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0x19b3ce=>{const _0x2a7350=_0x20f646;_0x19b3ce===_0x40f345['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a7350(0x325)]();}),this[_0x20f646(0x169)][_0x20f646(0x166)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0xfa2ff4=>{const _0x5e6079=_0x20f646,_0x5872fd=_0xfa2ff4[_0x5e6079(0x1f1)];_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x207)]&&this[_0x5e6079(0x3ea)](_0xfa2ff4),_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x28b)]&&this['_onCursorDelete'](_0xfa2ff4);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x5028ad=>{const _0x5dab54=_0x20f646,_0x4f370d=_0x5028ad[_0x5dab54(0x3a2)];_0x4f370d!=null&&this['_online']&&_0x5028ad['id']===_0x2d04b0[_0x5dab54(0x1b4)]['id']&&_0x4f370d['unitId']===this[_0x5dab54(0x392)]&&_0x4f370d[_0x5dab54(0x2a7)]===!0x1&&_0x4f370d[_0x5dab54(0x3f0)][_0x5dab54(0x1f4)]>0x0&&this[_0x5dab54(0x290)](_0x4f370d[_0x5dab54(0x3f0)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this['dispose$']))[_0x20f646(0x222)](_0x3ecd89=>{const _0x35bfa1=_0x20f646;if((_0x3ecd89==null?void 0x0:_0x3ecd89[_0x35bfa1(0x392)])!==this[_0x35bfa1(0x392)])return;const _0x1eb4d7={'eventID':_0x1d0b4f[_0x35bfa1(0x2f3)][_0x35bfa1(0x207)],'data':_0x3ecd89};this[_0x35bfa1(0x3ea)](_0x1eb4d7);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x483701=>{const _0x54fe2d=_0x20f646;if(_0x483701[_0x54fe2d(0x3a2)]==null)return;const _0x4a942a=_0x483701[_0x54fe2d(0x3a2)];if(_0x483701['id']!==_0x2d04b0[_0x54fe2d(0x2e1)]['id']||_0x4a942a[_0x54fe2d(0x1c6)]!==this[_0x54fe2d(0x392)])return;const _0x2e24f0={'id':_0x54fe2d(0x205),'params':_0x4a942a},_0x1370ff=this[_0x54fe2d(0x1ae)];for(const [_0x482e08,_0xe74b11]of _0x1370ff){const _0x19a638={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x54fe2d(0x392)],'actions':null,'textRanges':_0xe74b11['ranges']}},_0xc84fae=this[_0x54fe2d(0x17a)]['transformMutation'](_0x2e24f0,_0x19a638,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0xc84fae))throw _0xc84fae['error'];_0x1370ff[_0x54fe2d(0x2ff)](_0x482e08,{..._0xe74b11,'ranges':_0xc84fae[_0x54fe2d(0x35e)][_0x54fe2d(0x3a2)][_0x54fe2d(0x248)]});}queueMicrotask(()=>{const _0x4239d7=_0x54fe2d;this['_cursorInfo$'][_0x4239d7(0x1ba)](_0x1370ff);});})));}[_0x42caba(0x3ea)](_0x3a04e6){const _0x2f598b=_0x42caba;var _0x28c26e,_0x17bab9;const {memberID:_0x2560b4,selection:_0x226845}=_0x3a04e6[_0x2f598b(0x343)],_0x118d13=_0x432c8d(_0x226845),_0x38ff9b=(_0x17bab9=(_0x28c26e=this[_0x2f598b(0x2c7)]['getMember'](this['unitID'],_0x2560b4))==null?void 0x0:_0x28c26e[_0x2f598b(0x3ab)])!=null?_0x17bab9:'Unknown\x20user',_0x568757={'color':this[_0x2f598b(0x354)][_0x2f598b(0x2af)](_0x2560b4),'name':_0x38ff9b,'ranges':_0x118d13},_0x4dd9a3=this['cursorInfo'];_0x4dd9a3['set'](_0x2560b4,_0x568757),this[_0x2f598b(0x32e)][_0x2f598b(0x1ba)](_0x4dd9a3);}[_0x42caba(0x17b)](_0x395adb){const _0x11b7be=_0x42caba,{memberID:_0x145ce6}=_0x395adb[_0x11b7be(0x343)],_0x5ed392=this['cursorInfo'];_0x5ed392[_0x11b7be(0x192)](_0x145ce6),this[_0x11b7be(0x32e)][_0x11b7be(0x1ba)](_0x5ed392);}['_toggleOnline'](){const _0x527636=_0x42caba;var _0x41f84d;if(this[_0x527636(0x217)]=!0x0,((_0x41f84d=this[_0x527636(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x41f84d[_0x527636(0x359)]())!==this[_0x527636(0x392)])return;const _0x4f275d=this[_0x527636(0x3b2)][_0x527636(0x394)](_0x2d04b0[_0x527636(0x35c)])['getDocRanges']();Array['isArray'](_0x4f275d)&&_0x4f275d[_0x527636(0x1f4)]>0x0&&this[_0x527636(0x290)](_0x4f275d);}[_0x42caba(0x325)](){this['_online']=!0x1;}};_0x5b726f=_0x25ef79([_0x3ea4db(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0x3ea4db(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x3ea4db(0x4,_0x99a487[_0x42caba(0x2ac)](_0x40f345['MemberService'])),_0x3ea4db(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x3ea4db(0x6,_0x1d0b4f['ITransformService']),_0x3ea4db(0x7,_0x99a487[_0x42caba(0x14f)]),_0x3ea4db(0x8,_0x99a487[_0x42caba(0x277)])],_0x5b726f);var _0x4e7a3a=Object[_0x42caba(0x27d)],_0x39a13d=(_0x30a40d,_0x311ef9,_0x3ef719,_0x1f41c4)=>{const _0x360627=_0x42caba;for(var _0x3f6bce=_0x1f41c4>0x1?void 0x0:_0x1f41c4?_0x4e7a3a(_0x311ef9,_0x3ef719):_0x311ef9,_0x41a7cd=_0x30a40d[_0x360627(0x1f4)]-0x1,_0x24ac26;_0x41a7cd>=0x0;_0x41a7cd--)(_0x24ac26=_0x30a40d[_0x41a7cd])&&(_0x3f6bce=_0x24ac26(_0x3f6bce)||_0x3f6bce);return _0x3f6bce;},_0x323e4f=(_0x202d62,_0x2c9ca6)=>(_0x2c5cc3,_0x5481cc)=>_0x2c9ca6(_0x2c5cc3,_0x5481cc,_0x202d62);const _0x400d6f=0x12c,_0x5254fc=0x64,_0x3a936c=()=>{let _0x5498e2=[],_0x110c93=!0x1;return _0x5bc222=>{const _0x474148=_0x5833;_0x5498e2[_0x474148(0x242)](_0x5bc222),_0x110c93||(_0x110c93=!0x0,setTimeout(()=>{_0x5498e2['forEach'](_0x5c0565=>_0x5c0565()),_0x5498e2=[],_0x110c93=!0x1;}));};};let _0x580a68=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x171eda,_0x168969,_0x5a5473,_0xc0d255,_0x1bd4f4,_0x100e74,_0x257590,_0x3a25f0){const _0x32a0c5=_0x42caba;super(),_0x450946(this,'_online',!0x1),_0x450946(this,_0x32a0c5(0x273),!0x1),_0x450946(this,_0x32a0c5(0x32e),new _0xf18ada[(_0x32a0c5(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this['_cursorInfo$'][_0x32a0c5(0x154)]()),_0x450946(this,_0x32a0c5(0x39a),new _0xf18ada[(_0x32a0c5(0x1c2))]([])),_0x450946(this,_0x32a0c5(0x1e6),this['_roomMembers$'][_0x32a0c5(0x1cd)](_0xf18ada[_0x32a0c5(0x194)](_0x400d6f))),_0x450946(this,_0x32a0c5(0x290),_0x99a487[_0x32a0c5(0x1aa)]((_0x1734dd,_0x16b309)=>{const _0x20aed2=_0x32a0c5,_0x11cf6b={'eventID':_0x1d0b4f[_0x20aed2(0x2f3)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x20aed2(0x169)][_0x20aed2(0x218)](),'selection':_0x7369e4['serializeRangeWithSheet'](_0x1734dd,_0x16b309[_0x20aed2(0x25b)])}};this[_0x20aed2(0x169)][_0x20aed2(0x1dd)](_0x11cf6b,this['unitID']);},_0x5254fc)),(this[_0x32a0c5(0x392)]=_0x171eda,this[_0x32a0c5(0x169)]=_0x168969,this[_0x32a0c5(0x3b2)]=_0x5a5473,this[_0x32a0c5(0x354)]=_0xc0d255,this[_0x32a0c5(0x2c7)]=_0x1bd4f4,this[_0x32a0c5(0x2c0)]=_0x100e74,this['_commandService']=_0x257590,this[_0x32a0c5(0x211)]=_0x3a25f0);}get[_0x42caba(0x1ae)](){const _0x277a04=_0x42caba;return this[_0x277a04(0x32e)][_0x277a04(0x279)]();}get[_0x42caba(0x1d3)](){const _0x351098=_0x42caba;return this[_0x351098(0x39a)][_0x351098(0x279)]();}[_0x42caba(0x310)](){const _0x16b141=_0x42caba;super[_0x16b141(0x310)](),this[_0x16b141(0x32e)][_0x16b141(0x1ba)](new Map()),this[_0x16b141(0x32e)][_0x16b141(0x2cc)](),this[_0x16b141(0x39a)]['next']([]),this[_0x16b141(0x39a)][_0x16b141(0x2cc)]();}['init'](){const _0x355d3d=_0x42caba;this[_0x355d3d(0x273)]||(this[_0x355d3d(0x273)]=!0x0,this[_0x355d3d(0x169)][_0x355d3d(0x258)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))['subscribe'](_0x3849f8=>{const _0x51f8c5=_0x355d3d;_0x3849f8===_0x40f345[_0x51f8c5(0x2c2)][_0x51f8c5(0x3ad)]?this[_0x51f8c5(0x1b9)]():this[_0x51f8c5(0x325)]();}),this[_0x355d3d(0x169)][_0x355d3d(0x166)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))[_0x355d3d(0x222)](_0x5983dd=>{const _0xbaa297=_0x355d3d,_0x5ab04e=_0x5983dd[_0xbaa297(0x1f1)];_0x5ab04e===_0x1d0b4f[_0xbaa297(0x2f3)][_0xbaa297(0x207)]&&this[_0xbaa297(0x3ea)](_0x5983dd),_0x5ab04e===_0x1d0b4f['CollaborationEvent'][_0xbaa297(0x28b)]&&this[_0xbaa297(0x17b)](_0x5983dd);}),this[_0x355d3d(0x387)](),this['disposeWithMe'](this[_0x355d3d(0x390)][_0x355d3d(0x29f)](_0x36dfb6=>{const _0x7beed2=_0x355d3d;if(this[_0x7beed2(0x217)]&&_0x36dfb6['id']===_0x1e6c76['SetSelectionsOperation']['id']&&_0x36dfb6[_0x7beed2(0x3a2)][_0x7beed2(0x1c6)]===this['unitID']){const _0x4108ba=_0x36dfb6['params'];this['_updateLocalCursor'](_0x4108ba[_0x7beed2(0x3ee)],_0x4108ba[_0x7beed2(0x388)][0x0]);}})));}[_0x42caba(0x3ea)](_0x27acee){const _0xf4801a=_0x42caba;var _0x55aa73,_0x13c962;const {memberID:_0x51c8eb,selection:_0x3dea5c}=_0x27acee[_0xf4801a(0x343)],{sheetName:_0x2978bf,range:_0x140e38}=_0x7369e4[_0xf4801a(0x39e)](_0x3dea5c),_0x2354ca={'name':(_0x13c962=(_0x55aa73=this[_0xf4801a(0x2c7)][_0xf4801a(0x338)](this['unitID'],_0x51c8eb))==null?void 0x0:_0x55aa73[_0xf4801a(0x3ab)])!=null?_0x13c962:'Unknown\x20user','range':this['_getMergeRange'](_0x2978bf,_0x140e38),'sheetID':_0x2978bf,'color':this[_0xf4801a(0x354)][_0xf4801a(0x2af)](_0x51c8eb),'selection':_0x3dea5c},_0xab5f41=this[_0xf4801a(0x1ae)];_0xab5f41[_0xf4801a(0x2ff)](_0x51c8eb,_0x2354ca),this[_0xf4801a(0x32e)][_0xf4801a(0x1ba)](_0xab5f41);}[_0x42caba(0x17b)](_0x596851){const _0x29dc58=_0x42caba,{memberID:_0xefe6fb}=_0x596851['data'],_0x588eb9=this[_0x29dc58(0x1ae)];_0x588eb9[_0x29dc58(0x192)](_0xefe6fb),this[_0x29dc58(0x32e)][_0x29dc58(0x1ba)](_0x588eb9);}[_0x42caba(0x328)](_0x4a6c86,_0x251e63){const _0x20ddd3=_0x42caba;var _0x2427b0,_0x2b39af;const _0x28ea0d=(_0x2b39af=(_0x2427b0=this[_0x20ddd3(0x2c0)][_0x20ddd3(0x155)](this['unitID']))==null?void 0x0:_0x2427b0[_0x20ddd3(0x287)](_0x4a6c86))==null?void 0x0:_0x2b39af[_0x20ddd3(0x25a)]();return(_0x28ea0d==null?void 0x0:_0x28ea0d[_0x20ddd3(0x380)](_0x5b1bcf=>_0x99a487['Rectangle'][_0x20ddd3(0x308)](_0x5b1bcf,_0x251e63)))||_0x251e63;}[_0x42caba(0x387)](){const _0x5c7d8c=_0x42caba,_0x57be39=new _0x99a487[(_0x5c7d8c(0x322))](),_0xede9e1=_0x3a936c(),_0x4ec1a3=()=>{const _0x1f64d3=_0x5c7d8c;_0x57be39['dispose']();const _0x2320dc=(_0x2e6db4,_0x2aaf25,_0x5e8eb0,_0x359816)=>{const _0x3019d7=_0x5833;let _0x124f0a=[];switch(_0x2e6db4['id']){case _0x1e6c76[_0x3019d7(0x1c4)]['DeleteRangeMoveLeftCommandId']:{_0x124f0a=_0x1e6c76['handleDeleteRangeMoveLeft'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x125)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x191)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)]['InsertColCommandId']:{_0x124f0a=_0x1e6c76[_0x3019d7(0x333)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x22e)]:{_0x124f0a=_0x1e6c76['handleInsertRangeMoveDown'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x3b7)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x36b)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x2d8)]:{_0x124f0a=_0x1e6c76['handleInsertRow'](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x320)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x22c)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x22f)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x337)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x37a)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x1d7)](_0x2e6db4,_0x359816);break;}}const _0x8f00c3=_0x1e6c76[_0x3019d7(0x123)](_0x124f0a,_0x359816),_0xf21432=this['cursorInfo']['get'](_0x2aaf25);if(_0xf21432&&_0x8f00c3){const _0x26cc2c={..._0xf21432,'range':_0x8f00c3};this[_0x3019d7(0x1ae)]['set'](_0x2aaf25,_0x26cc2c),_0xede9e1(()=>{const _0x50d651=_0x3019d7,_0x3ef985=this[_0x50d651(0x211)][_0x50d651(0x1a8)](_0x8f00c3,_0x5ed527=>(_0x3ef985['dispose'](),_0x2320dc(_0x5ed527,_0x2aaf25,_0x5e8eb0,_0x8f00c3)));_0x57be39[_0x50d651(0x1df)](_0x3ef985);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f64d3(0x2e5)]((_0x17d53b,_0x46b789)=>{const _0x37c7d1=_0x1f64d3,{range:_0x316b23,sheetID:_0x264c62}=_0x17d53b,_0x73b030=this[_0x37c7d1(0x211)]['registerRefRange'](_0x316b23,_0x3cf7bc=>(_0x73b030[_0x37c7d1(0x310)](),_0x2320dc(_0x3cf7bc,_0x46b789,_0x264c62,_0x316b23)));_0x57be39[_0x37c7d1(0x1df)](_0x73b030);});};this['disposeWithMe'](_0x99a487['toDisposable'](this[_0x5c7d8c(0x32e)][_0x5c7d8c(0x222)](()=>{_0x4ec1a3();})));}['_toggleOnline'](){const _0x5b3f8c=_0x42caba;var _0x3fbc4c,_0x443c4f;if(this[_0x5b3f8c(0x217)]=!0x0,((_0x3fbc4c=this[_0x5b3f8c(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x3fbc4c[_0x5b3f8c(0x359)]())!==this[_0x5b3f8c(0x392)])return;const _0x2a57e3=(_0x443c4f=this[_0x5b3f8c(0x3b2)][_0x5b3f8c(0x394)](_0x1e6c76['SheetsSelectionsService'])[_0x5b3f8c(0x332)]())==null?void 0x0:_0x443c4f[0x0],_0x374202=this[_0x5b3f8c(0x2c0)]['getCurrentUnitForType'](_0x99a487['UniverInstanceType']['UNIVER_SHEET'])[_0x5b3f8c(0x163)]();_0x2a57e3&&_0x374202&&this[_0x5b3f8c(0x290)](_0x374202['getSheetId'](),_0x2a57e3);}[_0x42caba(0x325)](){const _0x2a1fa4=_0x42caba;this[_0x2a1fa4(0x217)]=!0x1;}};_0x580a68=_0x39a13d([_0x323e4f(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x323e4f(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x323e4f(0x4,_0x99a487['Inject'](_0x40f345[_0x42caba(0x32d)])),_0x323e4f(0x5,_0x99a487[_0x42caba(0x14f)]),_0x323e4f(0x6,_0x99a487['ICommandService']),_0x323e4f(0x7,_0x99a487[_0x42caba(0x2ac)](_0x1e6c76[_0x42caba(0x167)]))],_0x580a68);var _0x49f6e2=Object['getOwnPropertyDescriptor'],_0x578a2b=(_0x105cc7,_0x26ebaa,_0x49b48b,_0x529d24)=>{for(var _0x3e1a96=_0x529d24>0x1?void 0x0:_0x529d24?_0x49f6e2(_0x26ebaa,_0x49b48b):_0x26ebaa,_0x3d7762=_0x105cc7['length']-0x1,_0x562ee7;_0x3d7762>=0x0;_0x3d7762--)(_0x562ee7=_0x105cc7[_0x3d7762])&&(_0x3e1a96=_0x562ee7(_0x3e1a96)||_0x3e1a96);return _0x3e1a96;},_0x49a0a4=(_0x433626,_0x5a8efc)=>(_0x230506,_0x3d719d)=>_0x5a8efc(_0x230506,_0x3d719d,_0x433626);let _0x550d1c=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x1d3422,_0x5d6494,_0x21b6f4){const _0x44eb1a=_0x42caba;super(),_0x450946(this,_0x44eb1a(0x38b),new Map()),_0x450946(this,'_entityInit$',new _0xf18ada[(_0x44eb1a(0x3bb))]()),(this[_0x44eb1a(0x2c0)]=_0x1d3422,this[_0x44eb1a(0x3b2)]=_0x5d6494,this[_0x44eb1a(0x3c2)]=_0x21b6f4,this[_0x44eb1a(0x273)]());}[_0x42caba(0x310)](){const _0x53e61e=_0x42caba;super[_0x53e61e(0x310)](),this[_0x53e61e(0x173)]['complete'](),this[_0x53e61e(0x38b)][_0x53e61e(0x2e5)](_0xf63376=>_0xf63376[_0x53e61e(0x310)]());}[_0x42caba(0x199)](_0x46be7b){const _0x8c0847=_0x42caba;return this[_0x8c0847(0x38b)]['has'](_0x46be7b)?this[_0x8c0847(0x38b)][_0x8c0847(0x394)](_0x46be7b)[_0x8c0847(0x236)]:this[_0x8c0847(0x173)][_0x8c0847(0x1cd)](_0xf18ada[_0x8c0847(0x1de)](_0x5f3f68=>_0x5f3f68[_0x8c0847(0x392)]===_0x46be7b),_0xf18ada[_0x8c0847(0x35b)](_0x3add51=>_0x3add51[_0x8c0847(0x236)]));}[_0x42caba(0x273)](){const _0x50f7b2=_0x42caba;this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x2f9)])[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x141)](this[_0x50f7b2(0x1ef)]))['subscribe'](async _0x3ee739=>{const _0x374ad1=_0x50f7b2,_0x4d9193=_0x3ee739[_0x374ad1(0x359)](),_0x1d8300=await this[_0x374ad1(0x2a0)](_0x4d9193);this[_0x374ad1(0x173)][_0x374ad1(0x1ba)](_0x1d8300),this[_0x374ad1(0x38b)][_0x374ad1(0x2ff)](_0x4d9193,_0x1d8300);}),this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)])[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x1de)](_0x1d190c=>!_0x1d190c['getUnitId']()[_0x50f7b2(0x3c6)]('__')))[_0x50f7b2(0x222)](async _0x28f10f=>{const _0x1debf0=_0x50f7b2,_0x23be95=_0x28f10f['getUnitId'](),_0x34d848=await this['_startDocCollabCursor'](_0x23be95);this[_0x1debf0(0x173)][_0x1debf0(0x1ba)](_0x34d848),this[_0x1debf0(0x38b)][_0x1debf0(0x2ff)](_0x23be95,_0x34d848);}),_0xf18ada[_0x50f7b2(0x28c)](this['_univerInstanceService'][_0x50f7b2(0x1e1)](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x99a487['UniverInstanceType']['UNIVER_SHEET']))[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x222)](_0x11181c=>{const _0x3482ec=_0x50f7b2,_0x24ff97=_0x11181c['getUnitId'](),_0x29dd67=this[_0x3482ec(0x38b)][_0x3482ec(0x394)](_0x24ff97);_0x29dd67&&(_0x29dd67[_0x3482ec(0x310)](),this[_0x3482ec(0x38b)][_0x3482ec(0x192)](_0x24ff97));});}async['_startSheetCollabCursor'](_0xeec388){const _0x34c424=_0x42caba,_0x4b1b9f=await this['_collabSessionService'][_0x34c424(0x334)](_0xeec388),_0x5e7a1d=this[_0x34c424(0x3b2)][_0x34c424(0x280)](_0x580a68,_0xeec388,_0x4b1b9f);return _0x5e7a1d[_0x34c424(0x1ce)](),_0x5e7a1d;}async[_0x42caba(0x30a)](_0x813731){const _0x102f46=_0x42caba,_0x2fba28=await this[_0x102f46(0x3c2)]['requireSession'](_0x813731),_0x3521d1=this[_0x102f46(0x3b2)]['createInstance'](_0x5b726f,_0x813731,_0x2fba28);return _0x3521d1[_0x102f46(0x1ce)](),_0x3521d1;}};_0x550d1c=_0x578a2b([_0x49a0a4(0x0,_0x99a487[_0x42caba(0x14f)]),_0x49a0a4(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x49a0a4(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x3b1)]))],_0x550d1c);const _0x2206e4=0x14,_0x53bf10=0xc8,_0x32c7e3=0x4,_0x14f19e=0x5;function _0x2a5b61(_0x4a2f63,_0x2184cc){const _0x68847c=_0x42caba;let {radius:_0x17dccf,width:_0x4cbff2,height:_0x3f1fa0}=_0x2184cc;_0x17dccf=_0x17dccf!=null?_0x17dccf:0x0,_0x4cbff2=_0x4cbff2!=null?_0x4cbff2:0x1e,_0x3f1fa0=_0x3f1fa0!=null?_0x3f1fa0:0x1e;let _0x37fe97=0x0,_0x4619c1=0x0,_0x16f5c9=0x0;_0x37fe97=_0x4619c1=_0x16f5c9=Math['min'](_0x17dccf,_0x4cbff2/0x2,_0x3f1fa0/0x2),_0x4a2f63['beginPath'](),_0x4a2f63[_0x68847c(0x16b)](_0x37fe97,0x0),_0x4a2f63['lineTo'](_0x4cbff2-_0x4619c1,0x0),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x4619c1,_0x4619c1,_0x4619c1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a2f63[_0x68847c(0x1e0)](_0x4cbff2,_0x3f1fa0-_0x16f5c9),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x16f5c9,_0x3f1fa0-_0x16f5c9,_0x16f5c9,0x0,Math['PI']/0x2,!0x1),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x3f1fa0),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x37fe97),_0x4a2f63[_0x68847c(0x2f1)](_0x37fe97,_0x37fe97,_0x37fe97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a2f63[_0x68847c(0x134)](),_0x2184cc['fill']&&(_0x4a2f63[_0x68847c(0x183)](),_0x4a2f63[_0x68847c(0x160)]=_0x2184cc[_0x68847c(0x1bb)],_0x2184cc[_0x68847c(0x257)]===_0x68847c(0x38c)?_0x4a2f63[_0x68847c(0x1bb)](_0x68847c(0x38c)):_0x4a2f63['fill'](),_0x4a2f63['restore']());}class _0x27d9e3 extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3a046f,_0x2731cd){const _0x579db7=_0x42caba;super(_0x3a046f,_0x2731cd),_0x450946(this,_0x579db7(0x172)),_0x450946(this,_0x579db7(0x36e)),(this['color']=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x172)],this[_0x579db7(0x36e)]=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x36e)]);}static[_0x42caba(0x1f3)](_0x5875b5,_0x36b392){const _0x54446b=_0x42caba,{text:_0x40a876,color:_0x4d177b}=_0x36b392;_0x5875b5[_0x54446b(0x183)](),_0x5875b5['font']=_0x54446b(0x38a);const _0x387a5d=_0x5875b5[_0x54446b(0x3a4)](_0x40a876)['width'],_0x5c3670=Math[_0x54446b(0x369)](_0x387a5d+0x2*_0x32c7e3,_0x53bf10);_0x2a5b61(_0x5875b5,{'height':_0x2206e4,'radius':0x4,'width':_0x5c3670,'fill':_0x4d177b}),_0x5875b5[_0x54446b(0x160)]=_0x54446b(0x1d8);const _0x191f71=_0x32c7e3,_0x52b58d=_0x2206e4-_0x14f19e,_0xad536e=_0x53bf10-0x2*_0x32c7e3;if(_0x387a5d>_0xad536e){let _0x4183e6='',_0x364893=0x0;for(const _0x22403f of _0x40a876){const _0x236c37=_0x5875b5[_0x54446b(0x3a4)](_0x22403f)[_0x54446b(0x214)];if(_0x364893+_0x236c37<=_0xad536e-_0x5875b5[_0x54446b(0x3a4)](_0x54446b(0x23c))['width'])_0x4183e6+=_0x22403f,_0x364893+=_0x236c37;else{_0x4183e6+=_0x54446b(0x23c);break;}}_0x5875b5[_0x54446b(0x1cc)](_0x4183e6,_0x191f71,_0x52b58d);}else _0x5875b5[_0x54446b(0x1cc)](_0x40a876,_0x191f71,_0x52b58d);_0x5875b5[_0x54446b(0x255)]();}[_0x42caba(0x12f)](_0x2c3972){const _0x26fa4d=_0x42caba;_0x27d9e3[_0x26fa4d(0x1f3)](_0x2c3972,this);}}const _0x5490d6=_0x42caba(0x24c),_0x4ab9de='collab-text-range-',_0xe34627=_0x42caba(0x3c1),_0x260daa=0x6,_0x5211e4=1.5,_0x1403b6=0x4,_0x4b4d7e=1.5,_0x15ecc8=_0x42caba(0x351);class _0x503cb4{constructor(_0x4af0b8,_0x451dd8,_0x195e00,_0x2d16c4){const _0xdd6212=_0x42caba;_0x450946(this,_0xdd6212(0x3d6),[]),_0x450946(this,_0xdd6212(0x245),null),_0x450946(this,_0xdd6212(0x162),null),_0x450946(this,_0xdd6212(0x38e),null),_0x450946(this,_0xdd6212(0x1f9),null),_0x450946(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4af0b8,this[_0xdd6212(0x31e)]=_0x451dd8,this[_0xdd6212(0x12a)]=_0x195e00,this[_0xdd6212(0x175)]=_0x2d16c4,this[_0xdd6212(0x33b)]());}set['_hover'](_0x253a1c){const _0x3399ce=_0x42caba;_0x253a1c?(this[_0x3399ce(0x38e)]&&this['_anchorDot'][_0x3399ce(0x17d)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x176)]()):(this[_0x3399ce(0x38e)]&&this[_0x3399ce(0x38e)][_0x3399ce(0x176)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x17d)]());}[_0x42caba(0x310)](){const _0x155d10=_0x42caba;for(const _0x4353e4 of this[_0x155d10(0x3d6)])_0x4353e4[_0x155d10(0x310)]();this[_0x155d10(0x162)]&&this['_textBubble'][_0x155d10(0x310)](),this[_0x155d10(0x38e)]&&this[_0x155d10(0x38e)][_0x155d10(0x310)](),this[_0x155d10(0x245)]&&this['_anchor'][_0x155d10(0x310)](),this['_eventUnsubscribe']&&this[_0x155d10(0x360)]();}[_0x42caba(0x33b)](){const _0x34fcc1=_0x42caba;var _0x3da5aa;const {_docSkeleton:_0x944dd6,_document:_0x4d2dff}=this,{color:_0x231ed5,name:_0x3bb836,ranges:_0xcfc929}=this[_0x34fcc1(0x3bf)],_0x26e638=_0x4d2dff['getOffsetConfig'](),{docsLeft:_0x133ba6,docsTop:_0x241dee}=_0x26e638,_0x254a01=new _0x2afbb3['NodePositionConvertToCursor'](_0x26e638,_0x944dd6);for(const {startOffset:_0x463829,endOffset:_0x36cb1e,rangeType:_0x4eac4f,segmentId:_0x4dd186,segmentPage:_0x421423,collapsed:_0x2720ec,isActive:_0x27014b}of _0xcfc929){const _0x41e4e1=_0x944dd6['findNodePositionByCharIndex'](_0x463829,!0x0,_0x4dd186,_0x421423);let _0x3e75fc=_0x944dd6['findNodePositionByCharIndex'](_0x36cb1e,!0x0,_0x4dd186,_0x421423);if(_0x3e75fc==null&&(_0x3e75fc=_0x944dd6[_0x34fcc1(0x2eb)](_0x36cb1e-0x1,!0x1,_0x4dd186,_0x421423)),_0x27014b){const {contentBoxPointGroup:_0x12e67c}=_0x254a01['getRangePointData'](_0x3e75fc,_0x3e75fc);if(_0x12e67c[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x3ec)](_0x231ed5,_0x12e67c,_0x133ba6,_0x241dee,_0x3bb836),this[_0x34fcc1(0x360)]=this['_handleHover']();}if(_0x41e4e1&&_0x3e75fc){if(_0x4eac4f===_0x99a487[_0x34fcc1(0x21b)][_0x34fcc1(0x3cc)]){const _0x11248d=new _0x2afbb3[(_0x34fcc1(0x1c7))](_0x26e638,_0x944dd6),{pointGroup:_0x5e8c5e}=(_0x3da5aa=_0x11248d['getRangePointData'](_0x41e4e1,_0x3e75fc))!=null?_0x3da5aa:{};if(_0x5e8c5e==null||_0x5e8c5e[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x370)](_0x231ed5,_0x5e8c5e,_0x133ba6,_0x241dee);}else{if(!_0x2720ec){const {borderBoxPointGroup:_0x4c85c8}=_0x254a01['getRangePointData'](_0x41e4e1,_0x3e75fc);if(_0x4c85c8[_0x34fcc1(0x1f4)]===0x0)continue;this['_drawTextRange'](_0x231ed5,_0x4c85c8,_0x133ba6,_0x241dee);}}}}}['_drawAnchor'](_0x4755f3,_0x394d14,_0xb2f09a,_0x57340e,_0x49f96a){const _0x1b8cc4=_0x42caba,_0x890e06=this[_0x1b8cc4(0x346)](_0x394d14),{left:_0xefd138,top:_0x1e524f,height:_0x21e729}=_0x890e06,_0x1fb4a4=this[_0x1b8cc4(0x1b7)](),_0x33400d=_0x4b4d7e/_0x1fb4a4,_0x456f87=new _0x4b6de8[(_0x1b8cc4(0x220))](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e,'height':_0x21e729,'width':_0x5211e4,'fill':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487['COLORS']['black'],0x0),'strokeWidth':_0x33400d,'stroke':_0x15ecc8,'evented':!0x0});this['_anchor']=_0x456f87,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x456f87,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3b96fe=new _0x4b6de8['Rect'](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x1403b6/0x2,'height':_0x1403b6,'width':_0x1403b6,'fill':_0x4755f3||_0x4b6de8['getColor'](_0x99a487[_0x1b8cc4(0x1b5)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487[_0x1b8cc4(0x1b5)][_0x1b8cc4(0x384)],0x0),'evented':!0x1});this[_0x1b8cc4(0x38e)]=_0x3b96fe,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3b96fe,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3bdc4d=new _0x27d9e3(_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x2206e4,'text':_0x49f96a,'color':_0x4755f3});this['_textBubble']=_0x3bdc4d,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3bdc4d,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']),this[_0x1b8cc4(0x1d4)]=!0x1;}[_0x42caba(0x398)](){const _0x4f11d0=_0x42caba,_0x561ba0=this['_anchor'][_0x4f11d0(0x15b)][_0x4f11d0(0x1d6)](()=>{const _0x5ee797=_0x4f11d0;this[_0x5ee797(0x1d4)]=!0x0;}),_0x1f36a9=this[_0x4f11d0(0x245)][_0x4f11d0(0x3a5)]['subscribeEvent'](()=>{const _0x12ba49=_0x4f11d0;this['_hideTimer']&&clearTimeout(this[_0x12ba49(0x1f9)]),this['_hideTimer']=setTimeout(()=>{const _0x57a8d1=_0x12ba49;this[_0x57a8d1(0x1d4)]=!0x1;},0x7d0);});return()=>{_0x561ba0['unsubscribe'](),_0x1f36a9['unsubscribe']();};}[_0x42caba(0x17c)](_0x2bcb57,_0x2f096d,_0x2dd89b,_0x36978a){const _0x4b07e6=_0x42caba,_0x10286a=new _0x99a487[(_0x4b07e6(0x27a))](_0x2bcb57)[_0x4b07e6(0x1ad)](0.2)['toRgbString'](),_0x44d4ff=new _0x4b6de8['RegularPolygon'](_0x4ab9de+_0x99a487[_0x4b07e6(0x10b)](_0x260daa),{'pointsGroup':_0x2f096d,'fill':_0x10286a||_0x4b6de8[_0x4b07e6(0x3b0)](_0x99a487[_0x4b07e6(0x1b5)]['black'],0.2),'left':_0x2dd89b,'top':_0x36978a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b07e6(0x3d6)][_0x4b07e6(0x242)](_0x44d4ff),this[_0x4b07e6(0x31e)]['addObject'](_0x44d4ff,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2a1c43,_0x25964d,_0x2391e2,_0x1d9ad0){const _0x157967=_0x42caba,_0x4a14bb=new _0x99a487['ColorKit'](_0x2a1c43)[_0x157967(0x1ad)](0.2)[_0x157967(0x3d0)](),_0x13e832=new _0x4b6de8[(_0x157967(0x1a2))](_0xe34627+_0x99a487['generateRandomId'](_0x260daa),{'pointsGroup':_0x25964d,'fill':_0x4a14bb||_0x4b6de8['getColor'](_0x99a487['COLORS'][_0x157967(0x384)],0.2),'left':_0x2391e2,'top':_0x1d9ad0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x157967(0x3d6)][_0x157967(0x242)](_0x13e832),this['_scene'][_0x157967(0x3e1)](_0x13e832,_0x2afbb3[_0x157967(0x1c1)]);}[_0x42caba(0x346)](_0x1c919e){const _0xcd705f=_0x1c919e[0x0],_0x529ea4=_0xcd705f[0x0],_0x2212cd=_0xcd705f[0x2],{x:_0x1c36cb,y:_0x1b6a72}=_0x529ea4,{x:_0x1933cc,y:_0x372c14}=_0x2212cd;return{'left':_0x1c36cb,'top':_0x1b6a72,'width':_0x1933cc-_0x1c36cb,'height':_0x372c14-_0x1b6a72};}[_0x42caba(0x1b7)](){const _0x4be436=_0x42caba,{scaleX:_0x4e910c,scaleY:_0x1e3464}=this[_0x4be436(0x31e)][_0x4be436(0x3dd)]();return Math[_0x4be436(0x1a4)](_0x4e910c,_0x1e3464);}}var _0x55d01a=Object[_0x42caba(0x27d)],_0x5aca4e=(_0x1d95e7,_0x3b51ca,_0xb95d36,_0x499b58)=>{const _0x35df30=_0x42caba;for(var _0x1b1d80=_0x499b58>0x1?void 0x0:_0x499b58?_0x55d01a(_0x3b51ca,_0xb95d36):_0x3b51ca,_0x381f80=_0x1d95e7[_0x35df30(0x1f4)]-0x1,_0x5ea9d0;_0x381f80>=0x0;_0x381f80--)(_0x5ea9d0=_0x1d95e7[_0x381f80])&&(_0x1b1d80=_0x5ea9d0(_0x1b1d80)||_0x1b1d80);return _0x1b1d80;},_0x499290=(_0x57e731,_0x3085a3)=>(_0xdbf95e,_0x495f6b)=>_0x3085a3(_0xdbf95e,_0x495f6b,_0x57e731);let _0x459cb5=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x5a1dd2,_0x513e66,_0xa04a11,_0x3d8a4e,_0x39c39d){const _0x545173=_0x42caba;super(),_0x450946(this,_0x545173(0x237),[]),_0x450946(this,_0x545173(0x32f),[]),(this['_context']=_0x5a1dd2,this[_0x545173(0x1c8)]=_0x513e66,this[_0x545173(0x341)]=_0xa04a11,this[_0x545173(0x390)]=_0x3d8a4e,this[_0x545173(0x202)]=_0x39c39d,this['_init']());}['_init'](){const _0x1b6cc9=_0x42caba,_0x17079a=this['_context'][_0x1b6cc9(0x1c6)],_0x103efc=this[_0x1b6cc9(0x1c8)];this[_0x1b6cc9(0x170)](_0xf18ada[_0x1b6cc9(0x3b5)]([this[_0x1b6cc9(0x341)][_0x1b6cc9(0x199)](_0x17079a),this['_themeService'][_0x1b6cc9(0x30c)]])['pipe'](_0x4f8855[_0x1b6cc9(0x139)](([_0x2a057d,_0x338a94])=>({'skeleton':_0x103efc[_0x1b6cc9(0x389)](),'cursors':[..._0x2a057d[_0x1b6cc9(0x212)]()][_0x1b6cc9(0x2b4)](_0x181ff3=>({..._0x181ff3,'color':this[_0x1b6cc9(0x202)][_0x1b6cc9(0x37e)](_0x181ff3[_0x1b6cc9(0x172)])}))})))[_0x1b6cc9(0x222)](_0x293328=>{const _0x2aa33c=_0x1b6cc9;if(this[_0x2aa33c(0x109)](),_0x293328){const {skeleton:_0x9303e,cursors:_0x4c002d}=_0x293328;this['_updateCollabCursors'](_0x9303e,_0x4c002d);}})),this[_0x1b6cc9(0x3b8)](),this['_initCommandExecutedListener']();}[_0x42caba(0x1b6)](_0x191c28,_0x5ab3f3){const _0xae3548=_0x42caba,{scene:_0xcf59df,mainComponent:_0x26613e}=this[_0xae3548(0x368)],_0x1668a6=_0x5ab3f3['map'](_0x30723d=>new _0x503cb4(_0x30723d,_0xcf59df,_0x191c28,_0x26613e));this['_cursorShapes']=_0x1668a6,this[_0xae3548(0x32f)]=_0x5ab3f3;}[_0x42caba(0x16e)](){const _0x257982=_0x42caba;this['_removeCollabCursors']();const {scene:_0x3138ad,mainComponent:_0xa52903}=this[_0x257982(0x368)],_0x279f84=this[_0x257982(0x1c8)][_0x257982(0x389)](),_0x4bd265=this['_cursors'][_0x257982(0x139)](_0x5655c3=>new _0x503cb4(_0x5655c3,_0x3138ad,_0x279f84,_0xa52903));this['_cursorShapes']=_0x4bd265;}[_0x42caba(0x109)](){const _0x47ccfc=_0x42caba;this[_0x47ccfc(0x237)][_0x47ccfc(0x2e5)](_0x2c2321=>_0x2c2321[_0x47ccfc(0x310)]()),this['_cursorShapes']=[];}[_0x42caba(0x2ee)](){const _0x29b299=_0x42caba,_0x136a05=[_0x2afbb3['SetDocZoomRatioOperation']['id']];this[_0x29b299(0x170)](this[_0x29b299(0x390)]['onCommandExecuted'](_0x366aef=>{const _0x2f916e=_0x29b299;_0x136a05[_0x2f916e(0x2f0)](_0x366aef['id'])&&_0x366aef['params'][_0x2f916e(0x1c6)]===this[_0x2f916e(0x368)]['unitId']&&this[_0x2f916e(0x16e)]();}));}[_0x42caba(0x3b8)](){const _0x3bec35=_0x42caba;this[_0x3bec35(0x170)](_0x99a487['fromEventSubject'](this[_0x3bec35(0x368)][_0x3bec35(0x399)][_0x3bec35(0x25d)])[_0x3bec35(0x1cd)](_0x4f8855['filter'](_0x49b6d8=>_0x49b6d8[_0x3bec35(0x2d7)]===_0x4b6de8['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3bec35(0x189)]),_0x4f8855[_0x3bec35(0x30d)](0x10))[_0x3bec35(0x222)](()=>{this['_refreshCollabCursors']();}));}};_0x459cb5=_0x5aca4e([_0x499290(0x1,_0x99a487[_0x42caba(0x2ac)](_0x2d04b0[_0x42caba(0x2c4)])),_0x499290(0x2,_0x99a487['Inject'](_0x550d1c)),_0x499290(0x3,_0x99a487[_0x42caba(0x277)]),_0x499290(0x4,_0x99a487[_0x42caba(0x2ac)](_0x99a487['ThemeService']))],_0x459cb5);const _0x52aac3=0x1,_0x3f8611=1.5;class _0x232e7e extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3f1a1f,_0xb01a1f){const _0x2aea8c=_0x42caba;super(_0x3f1a1f,_0xb01a1f),_0x450946(this,_0x2aea8c(0x2b1)),_0x450946(this,'_hovered',!0x1),_0x450946(this,_0x2aea8c(0x3c3)),_0x450946(this,_0x2aea8c(0x14e),''),_0x450946(this,_0x2aea8c(0x112),_0x2aea8c(0x221)),_0x450946(this,_0x2aea8c(0x296)),(_0xb01a1f&&this['setShapeProps'](_0xb01a1f),this[_0x2aea8c(0x15b)][_0x2aea8c(0x1d6)](()=>this[_0x2aea8c(0x318)]({'hovered':!0x0})),this[_0x2aea8c(0x3a5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3d8a83){const _0x9918da=_0x42caba;var _0x239f9b,_0x138df3,_0x5cd3bc,_0x3d4dbb,_0x2b92cb,_0x558300;this['_color']=(_0x239f9b=_0x3d8a83[_0x9918da(0x172)])!=null?_0x239f9b:this[_0x9918da(0x2b1)],this[_0x9918da(0x378)]=(_0x138df3=_0x3d8a83[_0x9918da(0x3af)])!=null?_0x138df3:this[_0x9918da(0x378)],this['_range']=(_0x5cd3bc=_0x3d8a83[_0x9918da(0x25b)])!=null?_0x5cd3bc:this[_0x9918da(0x3c3)],this[_0x9918da(0x14e)]=(_0x3d4dbb=_0x3d8a83[_0x9918da(0x3ab)])!=null?_0x3d4dbb:this[_0x9918da(0x14e)],this[_0x9918da(0x112)]=(_0x2b92cb=_0x3d8a83[_0x9918da(0x2c5)])!=null?_0x2b92cb:this[_0x9918da(0x112)],this['_backgroundColor']=(_0x558300=_0x3d8a83[_0x9918da(0x33c)])!=null?_0x558300:this['_backgroundColor'],this[_0x9918da(0x299)]({'width':_0x3d8a83[_0x9918da(0x214)],'height':_0x3d8a83[_0x9918da(0x319)]});}['onMouseMove'](_0x87c2a3){const _0x570221=_0x42caba,{row:_0x2e2f60,column:_0x3a8037}=_0x87c2a3;if(_0x2e2f60>=this[_0x570221(0x3c3)][_0x570221(0x20e)]&&_0x2e2f60<=this[_0x570221(0x3c3)]['endRow']&&_0x3a8037>=this[_0x570221(0x3c3)][_0x570221(0x39d)]&&_0x3a8037<=this[_0x570221(0x3c3)]['endColumn']){this[_0x570221(0x318)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x42caba(0x3a0)](_0x12aac1){return!0x1;}['_draw'](_0x458b30){const _0x29bd4e=_0x42caba;_0x4b6de8[_0x29bd4e(0x220)][_0x29bd4e(0x1f3)](_0x458b30,{'width':this[_0x29bd4e(0x214)],'height':this[_0x29bd4e(0x319)],'strokeWidth':_0x3f8611,'stroke':this[_0x29bd4e(0x2b1)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x458b30['save'](),_0x458b30['transform'](0x1,0x0,0x0,0x1,this[_0x29bd4e(0x214)],this[_0x29bd4e(0x112)]===_0x29bd4e(0x1da)?0x0:-_0x2206e4),_0x27d9e3[_0x29bd4e(0x1f3)](_0x458b30,{'text':this[_0x29bd4e(0x14e)],'color':this[_0x29bd4e(0x2b1)]}),_0x458b30[_0x29bd4e(0x255)]());}}var _0x463e44=Object[_0x42caba(0x27d)],_0x262cfd=(_0x18d593,_0x1467f9,_0x266b5b,_0x1917c5)=>{const _0x18ba10=_0x42caba;for(var _0x9aceaa=_0x1917c5>0x1?void 0x0:_0x1917c5?_0x463e44(_0x1467f9,_0x266b5b):_0x1467f9,_0x29d9dc=_0x18d593[_0x18ba10(0x1f4)]-0x1,_0x23e8c9;_0x29d9dc>=0x0;_0x29d9dc--)(_0x23e8c9=_0x18d593[_0x29d9dc])&&(_0x9aceaa=_0x23e8c9(_0x9aceaa)||_0x9aceaa);return _0x9aceaa;},_0x83315=(_0x1578d8,_0x4906f5)=>(_0x34c91a,_0x843c33)=>_0x4906f5(_0x34c91a,_0x843c33,_0x1578d8);const _0x4c2212=0x1389;let _0x4db1a0=class extends _0x99a487['RxDisposable']{constructor(_0x42d25e,_0x4145cf,_0x4bc792,_0x1f612e){const _0x51be4d=_0x42caba;super(),_0x450946(this,_0x51be4d(0x32f),new Set()),_0x450946(this,_0x51be4d(0x196),null),(this[_0x51be4d(0x368)]=_0x42d25e,this[_0x51be4d(0x19a)]=_0x4145cf,this[_0x51be4d(0x341)]=_0x4bc792,this[_0x51be4d(0x202)]=_0x1f612e,this['_init']());}[_0x42caba(0x273)](){const _0x18b139=_0x42caba;this[_0x18b139(0x19a)][_0x18b139(0x182)][_0x18b139(0x1cd)](_0x4f8855[_0x18b139(0x141)](this[_0x18b139(0x1ef)]),_0x4f8855[_0x18b139(0x35b)](_0x1238f2=>{const _0x47a760=_0x18b139;if(_0x1238f2){const _0x2d50c6=_0x1238f2['sheetId'];return _0xf18ada[_0x47a760(0x3b5)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x47a760(0x1c6)]),this[_0x47a760(0x202)][_0x47a760(0x30c)])[_0x47a760(0x1cd)](_0x4f8855[_0x47a760(0x139)](([_0x3bbbd1,_0x545054])=>{const _0x55f5c8=_0x47a760,_0x5b0870=new Map();return _0x3bbbd1[_0x55f5c8(0x2e5)]((_0x23ead0,_0x40eacf)=>{const _0x22a069=_0x55f5c8;if(_0x23ead0[_0x22a069(0x10f)]===_0x2d50c6){const _0x426e0b={..._0x23ead0};_0x426e0b[_0x22a069(0x172)]=this[_0x22a069(0x202)][_0x22a069(0x37e)](_0x23ead0['color']),_0x5b0870['set'](_0x40eacf,_0x426e0b);}}),{'skeleton':_0x1238f2,'cursors':_0x5b0870};}));}return _0xf18ada['of']({'skeleton':null,'cursors':new Map()});}))[_0x18b139(0x222)](({skeleton:_0x801a3a,cursors:_0x28f338})=>{this['_removeCollabCursors'](),_0x801a3a&&this['_updateCollabCursors'](_0x801a3a,_0x28f338);}),this[_0x18b139(0x19a)][_0x18b139(0x182)]['subscribe'](_0x5afeaa=>{const _0x342507=_0x18b139;if(_0x5afeaa==null)return;const {skeleton:_0x335677}=_0x5afeaa,{scene:_0x419c16}=this[_0x342507(0x368)];_0x419c16[_0x342507(0x223)][_0x342507(0x1d6)](_0x99a487[_0x342507(0x1aa)](_0x30b577=>{const _0x3e847b=_0x342507;var _0x287db5,_0x3a8928;const {offsetX:_0xf51349,offsetY:_0x2370bd}=_0x30b577,{x:_0xa0cd7f,y:_0x1c0daf}=_0x419c16[_0x3e847b(0x140)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xf51349,_0x2370bd])),{scaleX:_0x323d71,scaleY:_0x1470b5}=_0x419c16[_0x3e847b(0x3dd)](),_0x39e14f=_0x419c16[_0x3e847b(0x329)](_0x4b6de8[_0x3e847b(0x276)][_0x3e847b(0x2d9)]),_0x56e156=_0x419c16[_0x3e847b(0x305)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xa0cd7f,_0x1c0daf]),_0x39e14f),_0x28fcbb=_0x335677[_0x3e847b(0x12e)](_0xf51349,_0x2370bd,_0x323d71,_0x1470b5,_0x56e156);((_0x287db5=this[_0x3e847b(0x196)])==null?void 0x0:_0x287db5[_0x3e847b(0x10a)])===_0x28fcbb[_0x3e847b(0x10a)]&&((_0x3a8928=this[_0x3e847b(0x196)])==null?void 0x0:_0x3a8928['row'])===_0x28fcbb[_0x3e847b(0x126)]||this['_cursors'][_0x3e847b(0x2e5)](_0x2c7a4d=>{const _0x55e596=_0x3e847b;_0x2c7a4d[_0x55e596(0x344)](_0x28fcbb);});},0x64));});}[_0x42caba(0x1b6)](_0x2f7bd7,_0x366fad){const _0x1ba229=_0x42caba;var _0x5ad0e3;const _0x21b0ed=(_0x5ad0e3=this[_0x1ba229(0x19a)][_0x1ba229(0x3a7)]())==null?void 0x0:_0x5ad0e3[_0x1ba229(0x1bc)];if(!_0x21b0ed)return;const _0x3a910a=this[_0x1ba229(0x345)]();if(!_0x3a910a)return;this['_cursors'][_0x1ba229(0x2e5)](_0x47c988=>{_0x47c988['makeDirty']();});const {scene:_0x218ef9}=_0x3a910a,_0x3f7385=_0x85a335(Array[_0x1ba229(0x283)](_0x366fad[_0x1ba229(0x212)]()))[_0x1ba229(0x139)](_0x2fc6ff=>{const _0x17b379=_0x1ba229,{color:_0x3b8857,range:_0x57ba58,name:_0x1b28ae,selection:_0x14c52f,sheetID:_0x165c44}=_0x2fc6ff,{startColumn:_0x58269d,startRow:_0x2a512a,endColumn:_0x4e4a2f,endRow:_0x444c3e}=_0x57ba58,_0x581e9f=_0x31a5a7[_0x17b379(0x282)](_0x2a512a,_0x58269d,_0x218ef9,_0x21b0ed),_0x36e7f5=_0x31a5a7[_0x17b379(0x282)](_0x444c3e,_0x4e4a2f,_0x218ef9,_0x21b0ed),{columnHeaderHeightAndMarginTop:_0x100674}=_0x21b0ed,{startX:_0x1b5b06,startY:_0x2744a}=_0x581e9f,{endX:_0x5b7701,endY:_0x3cb69f}=_0x36e7f5,_0x38ca5b=_0x5b7701-_0x1b5b06,_0x452386=_0x3cb69f-_0x2744a,_0x249adc={'labelPosition':_0x2744a-_0x100674>=_0x2206e4?_0x17b379(0x221):'bottom','sheetID':_0x165c44,'range':_0x57ba58,'color':_0x3b8857,'name':_0x1b28ae,'selection':_0x14c52f,'left':_0x1b5b06,'top':_0x2744a,'width':_0x38ca5b,'height':_0x452386,'evented':!0x1,'zIndex':_0x4c2212};return new _0x232e7e(_0x1b28ae,_0x249adc);});_0x218ef9[_0x1ba229(0x138)](_0x3f7385,_0x52aac3),this[_0x1ba229(0x32f)]=new Set(_0x3f7385);}[_0x42caba(0x109)](){const _0x2c0b8d=_0x42caba;var _0x57136e;(_0x57136e=this[_0x2c0b8d(0x32f)])==null||_0x57136e[_0x2c0b8d(0x2e5)](_0x164360=>_0x164360[_0x2c0b8d(0x310)]());}[_0x42caba(0x345)](){const _0x357982=_0x42caba;return _0x31a5a7[_0x357982(0x26d)](this['_context'][_0x357982(0x393)],this[_0x357982(0x368)]);}};_0x4db1a0=_0x262cfd([_0x83315(0x1,_0x99a487[_0x42caba(0x2ac)](_0x31a5a7['SheetSkeletonManagerService'])),_0x83315(0x2,_0x99a487[_0x42caba(0x2ac)](_0x550d1c)),_0x83315(0x3,_0x99a487['Inject'](_0x99a487[_0x42caba(0x347)]))],_0x4db1a0);function _0x85a335(_0x25f48d){const _0x3b2a7b=_0x42caba,_0x5f4950=new Map();return _0x25f48d[_0x3b2a7b(0x2e5)](_0x224f9f=>{const _0x5279de=_0x3b2a7b;if(_0x5f4950[_0x5279de(0x185)](_0x224f9f[_0x5279de(0x27f)])){const _0x16e628=_0x5f4950[_0x5279de(0x394)](_0x224f9f['selection']);_0x16e628[_0x5279de(0x3ab)]+=',\x20'+_0x224f9f[_0x5279de(0x3ab)];}else _0x5f4950[_0x5279de(0x2ff)](_0x224f9f['selection'],_0x224f9f);}),Array[_0x3b2a7b(0x283)](_0x5f4950['values']());}var _0x1d1e8c=Object[_0x42caba(0x27d)],_0x54cbb9=(_0x435c4f,_0x3367ed,_0x59a02d,_0x21cb07)=>{const _0x318782=_0x42caba;for(var _0x1fec6a=_0x21cb07>0x1?void 0x0:_0x21cb07?_0x1d1e8c(_0x3367ed,_0x59a02d):_0x3367ed,_0x2c9bfd=_0x435c4f[_0x318782(0x1f4)]-0x1,_0x294de9;_0x2c9bfd>=0x0;_0x2c9bfd--)(_0x294de9=_0x435c4f[_0x2c9bfd])&&(_0x1fec6a=_0x294de9(_0x1fec6a)||_0x1fec6a);return _0x1fec6a;},_0x12c3c2=(_0x5b5a9f,_0x43745b)=>(_0x248359,_0xdf4841)=>_0x43745b(_0x248359,_0xdf4841,_0x5b5a9f);let _0x54c86a=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x46c6ae,_0x370b7e,_0x3a3fe2,_0x3e39e3,_0x352d2f,_0x1c8b36){const _0x237791=_0x42caba;super(),this['_beforeCloseService']=_0x46c6ae,this['_localCacheService']=_0x370b7e,this[_0x237791(0x3db)]=_0x3a3fe2,this[_0x237791(0x361)]=_0x3e39e3,this[_0x237791(0x108)]=_0x352d2f,this[_0x237791(0x213)]=_0x1c8b36,this[_0x237791(0x2e7)](),this[_0x237791(0x13b)]();}['_setupBeforeClosingHandler'](){const _0x5757f9=_0x42caba;this[_0x5757f9(0x170)](this[_0x5757f9(0x11c)][_0x5757f9(0x3e2)](()=>{const _0xd17024=_0x5757f9;if(this['_localCacheService'][_0xd17024(0x13c)][_0xd17024(0x21c)])return this[_0xd17024(0x213)]['t']('collaboration.offline-data-not-saved');}));}[_0x42caba(0x13b)](){const _0x3b825f=_0x42caba;this[_0x3b825f(0x170)](this[_0x3b825f(0x3db)]['event$'][_0x3b825f(0x222)](_0xab945d=>{const _0x44b116=_0x3b825f;_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x2e4)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x314)],'content':this[_0x44b116(0x213)]['t']('collaboration.single-unit.warning')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1fa)]&&this['_messageService'][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Warning'],'content':this[_0x44b116(0x213)]['t']('collaboration.closeRoom')}),_0xab945d['id']===_0x40f345['CollaborationUIEventId'][_0x44b116(0x1fb)]&&this[_0x44b116(0x108)]['show']({'title':this[_0x44b116(0x213)]['t']('permission.title'),'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x17f)),'type':_0x44b116(0x233),'duration':0x0}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x24a)]&&this[_0x44b116(0x361)]['show']({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x1f0))+'('+_0xab945d[_0x44b116(0x343)]+')'}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1be)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this['_localeService']['t'](_0xab945d[_0x44b116(0x343)]||'')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)]['SOCKET_FAILED_RETRY']&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x20f))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x3b6)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Error'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x129))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x177)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x3dc))});}));}};_0x54c86a=_0x54cbb9([_0x12c3c2(0x0,_0x3ebdd3[_0x42caba(0x339)]),_0x12c3c2(0x1,_0x40f345[_0x42caba(0x2da)]),_0x12c3c2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationUIEventService'])),_0x12c3c2(0x3,_0x3ebdd3[_0x42caba(0x3d7)]),_0x12c3c2(0x4,_0x3ebdd3[_0x42caba(0x2c9)]),_0x12c3c2(0x5,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x54c86a);var _0x449bad=Object[_0x42caba(0x27d)],_0x4b8caa=(_0x3121ac,_0xce286b,_0x3d7352,_0x24405d)=>{const _0x477b04=_0x42caba;for(var _0x4fae62=_0x24405d>0x1?void 0x0:_0x24405d?_0x449bad(_0xce286b,_0x3d7352):_0xce286b,_0x4e28ff=_0x3121ac[_0x477b04(0x1f4)]-0x1,_0x3af723;_0x4e28ff>=0x0;_0x4e28ff--)(_0x3af723=_0x3121ac[_0x4e28ff])&&(_0x4fae62=_0x3af723(_0x4fae62)||_0x4fae62);return _0x4fae62;},_0x395709=(_0x317776,_0x1059ab)=>(_0x27f75b,_0x2a310c)=>_0x1059ab(_0x27f75b,_0x2a310c,_0x317776);let _0x4dd5ae=class extends _0x99a487['Disposable']{constructor(_0x5bfc80,_0x505cd1,_0x2feaa0,_0x3a3dbe){const _0xdaecd2=_0x42caba;super(),_0x450946(this,_0xdaecd2(0x3ca)),(this[_0xdaecd2(0x3b2)]=_0x5bfc80,this['_httpService']=_0x505cd1,this[_0xdaecd2(0x27c)]=_0x2feaa0,this['_collaborationSessionService']=_0x3a3dbe,this[_0xdaecd2(0x273)]());}[_0x42caba(0x273)](){const _0xf91489=_0x42caba;this['_initWindowErrorListener'](),this[_0xf91489(0x29a)](),this['_monkeyPatchLogService'](),this[_0xf91489(0x383)]();}[_0x42caba(0x383)](){const _0x2cc7de=_0x42caba;this[_0x2cc7de(0x170)](this[_0x2cc7de(0x31b)][_0x2cc7de(0x201)][_0x2cc7de(0x222)](_0x2dee52=>{const _0x4f669e=_0x2cc7de;this[_0x4f669e(0x3ca)]=_0x2dee52==null?void 0x0:_0x2dee52[_0x4f669e(0x3c0)];}));}['_initWindowErrorListener'](){const _0x12a150=_0x42caba,_0x3c462f=_0x1efe31=>{const _0x29b127=_0x5833;var _0x5f01bd;this['_uploadLog']('error',_0x29b127(0x3c8)+_0x1efe31[_0x29b127(0x3a8)]+_0x29b127(0x1e8)+_0x1efe31['filename']+':'+_0x1efe31[_0x29b127(0x2fe)]+':'+_0x1efe31['colno']+'\x0a'+(((_0x5f01bd=_0x1efe31[_0x29b127(0x233)])==null?void 0x0:_0x5f01bd[_0x29b127(0x31d)])||''));};window[_0x12a150(0x2dc)](_0x12a150(0x233),_0x3c462f),this['disposeWithMe'](()=>{const _0x18cdd5=_0x12a150;window[_0x18cdd5(0x1a9)](_0x18cdd5(0x233),_0x3c462f);});}[_0x42caba(0x29a)](){const _0x466481=_0x42caba,_0x21b550=_0x53f428=>{const _0x58e0dc=_0x5833;this[_0x58e0dc(0x3ac)](_0x58e0dc(0x233),_0x58e0dc(0x26e)+_0x53f428[_0x58e0dc(0x26c)]);};window[_0x466481(0x2dc)]('unhandledrejection',_0x21b550),this[_0x466481(0x170)](()=>{const _0x1784c6=_0x466481;window['removeEventListener'](_0x1784c6(0x331),_0x21b550);});}[_0x42caba(0x32c)](){const _0x39947a=_0x42caba,_0x201dc6=this[_0x39947a(0x27c)][_0x39947a(0x233)][_0x39947a(0x37d)](this[_0x39947a(0x27c)]);this['_logService'][_0x39947a(0x233)]=(..._0xa547ef)=>{const _0x1886d8=_0x39947a,_0x83779c=_0xa547ef[_0x1886d8(0x139)](_0x5cc265=>_0x5cc265 instanceof Error?_0x5cc265[_0x1886d8(0x3a8)]+'\x0a'+_0x5cc265[_0x1886d8(0x31d)]:String(_0x5cc265))[_0x1886d8(0x371)]('\x20');this[_0x1886d8(0x3ac)](_0x1886d8(0x233),_0x1886d8(0x2d1)+_0x83779c),_0x201dc6(..._0xa547ef);},this[_0x39947a(0x170)](()=>{const _0x28cd81=_0x39947a;this[_0x28cd81(0x27c)]['error']=_0x201dc6;});}[_0x42caba(0x3ac)](_0x271c89,_0xc4234){const _0x4ab95e=_0x42caba;try{const _0x275e9b={'userId':this[_0x4ab95e(0x3ca)],'logLabel':_0x271c89,'content':_0xc4234};this[_0x4ab95e(0x3a9)][_0x4ab95e(0x39c)](_0x4ab95e(0x11f),{'body':_0x275e9b})[_0x4ab95e(0x33e)](()=>{});}catch{}}};_0x4dd5ae=_0x4b8caa([_0x395709(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x395709(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x395709(0x2,_0x99a487[_0x42caba(0x2e3)]),_0x395709(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationSessionService']))],_0x4dd5ae);const _0x2a0609='collaboration-client-ui.config',_0x326bbf={};var _0x35fa5f=Object[_0x42caba(0x27d)],_0x841b8c=(_0x2e81a7,_0x36c23e,_0x3b1a28,_0x5069c1)=>{const _0x5904c1=_0x42caba;for(var _0x4f1732=_0x5069c1>0x1?void 0x0:_0x5069c1?_0x35fa5f(_0x36c23e,_0x3b1a28):_0x36c23e,_0x3a1ad7=_0x2e81a7[_0x5904c1(0x1f4)]-0x1,_0x2158b1;_0x3a1ad7>=0x0;_0x3a1ad7--)(_0x2158b1=_0x2e81a7[_0x3a1ad7])&&(_0x4f1732=_0x2158b1(_0x4f1732)||_0x4f1732);return _0x4f1732;},_0x3efac9=(_0x36ddc7,_0x57f284)=>(_0x112eec,_0x4427f1)=>_0x57f284(_0x112eec,_0x4427f1,_0x36ddc7);let _0x2f7c5c=class{constructor(_0x3d1d87,_0x3e38e9){this['_transformService']=_0x3d1d87,this['_renderManagerService']=_0x3e38e9;}[_0x42caba(0x335)](_0x1fdae3){const _0x579306=_0x42caba;this[_0x579306(0x3c9)](_0x1fdae3),this[_0x579306(0x153)](_0x1fdae3);}[_0x42caba(0x3de)](_0x48388d){const _0x2fd303=_0x42caba,{unitID:_0x4ab2fd}=_0x48388d,_0x242fd0=this[_0x2fd303(0x16d)][_0x2fd303(0x2f4)](_0x4ab2fd)[_0x2fd303(0x187)](_0x2afbb3[_0x2fd303(0x3a1)]),{redoCache:_0x1f58c4}=_0x242fd0[_0x2fd303(0x342)]();if(_0x1f58c4['length']===0x0)return _0x48388d;let _0x511b2f=_0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d[_0x2fd303(0x226)][0x0]);for(let _0x2e59e4=0x0;_0x2e59e4<_0x1f58c4[_0x2fd303(0x1f4)];_0x2e59e4++){const _0x429fb9={'id':_0x2fd303(0x205),'params':{..._0x1f58c4[_0x2e59e4]}},_0x523c7b=this[_0x2fd303(0x17a)][_0x2fd303(0x1ac)](_0x511b2f,_0x429fb9,!0x1);if(_0x1d0b4f[_0x2fd303(0x113)](_0x523c7b))throw _0x523c7b['error'];_0x511b2f=_0x523c7b['m1Prime'];}return{..._0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d),'mutations':[_0x511b2f]};}[_0x42caba(0x3c9)](_0x2eef08){const _0x27d225=_0x42caba,{unitID:_0x2a1590}=_0x2eef08,_0x49c779=this[_0x27d225(0x16d)][_0x27d225(0x2f4)](_0x2a1590)[_0x27d225(0x187)](_0x2afbb3[_0x27d225(0x3a1)]),{undoCache:_0x14220a,redoCache:_0x6eb2eb}=_0x49c779['getUndoRedoMutationParamsCache']();if(_0x14220a[_0x27d225(0x1f4)]===0x0||_0x6eb2eb['length']===0x0)return;const _0x17313a=[],_0x5be98a=[];let _0x394444=_0x99a487[_0x27d225(0x303)][_0x27d225(0x385)](_0x2eef08['mutations'][0x0]),_0x388a7b=_0x99a487['Tools'][_0x27d225(0x385)](_0x2eef08[_0x27d225(0x226)][0x0]);for(let _0x416a20=_0x14220a['length']-0x1;_0x416a20>=0x0;_0x416a20--){const _0x45fd8a={'id':_0x27d225(0x205),'params':{..._0x14220a[_0x416a20]}},_0x2a3009={'id':_0x27d225(0x205),'params':{..._0x6eb2eb[_0x416a20]}},_0x295183=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x394444,_0x45fd8a,!0x1),_0x4f820e=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x388a7b,_0x2a3009,!0x1);if(_0x1d0b4f[_0x27d225(0x113)](_0x295183))throw _0x295183[_0x27d225(0x233)];if(_0x1d0b4f[_0x27d225(0x113)](_0x4f820e))throw _0x4f820e[_0x27d225(0x233)];_0x17313a[_0x27d225(0x2cf)](_0x295183['m2Prime'][_0x27d225(0x3a2)]),_0x5be98a[_0x27d225(0x2cf)](_0x4f820e[_0x27d225(0x35e)][_0x27d225(0x3a2)]),_0x394444=_0x295183[_0x27d225(0x330)],_0x388a7b=_0x4f820e['m1Prime'];}_0x49c779['setUndoRedoMutationParamsCache']({'undoCache':_0x17313a,'redoCache':_0x5be98a});}['_transformPreviousActiveRange'](_0x5d041c){const _0x38d107=_0x42caba,{unitID:_0x302427}=_0x5d041c,_0x15442f=this[_0x38d107(0x16d)]['getRenderById'](_0x302427)[_0x38d107(0x187)](_0x2afbb3[_0x38d107(0x3a1)]),_0x2860c5=_0x15442f[_0x38d107(0x30f)]();if(_0x2860c5==null)return;const _0x1abe87=[{'id':_0x38d107(0x205),'params':{'unitId':_0x5d041c[_0x38d107(0x392)],'actions':null,'textRanges':[_0x2860c5]}}],_0x35b81e=this[_0x38d107(0x17a)][_0x38d107(0x21a)](_0x5d041c,_0x1abe87);if(!_0x1d0b4f[_0x38d107(0x1af)](_0x35b81e))throw _0x35b81e['error'];const _0x3bf0e0=_0x35b81e[_0x38d107(0x35e)][0x0]['params']['textRanges'];Array[_0x38d107(0x292)](_0x3bf0e0)&&_0x3bf0e0[_0x38d107(0x1f4)]&&_0x15442f[_0x38d107(0x16a)](_0x3bf0e0[0x0]);}};_0x2f7c5c=_0x841b8c([_0x3efac9(0x0,_0x1d0b4f[_0x42caba(0x3e4)]),_0x3efac9(0x1,_0x4b6de8[_0x42caba(0x128)])],_0x2f7c5c);var _0x186efd=Object['getOwnPropertyDescriptor'],_0x4d13f1=(_0x400ab4,_0x456c81,_0x53980e,_0x593142)=>{const _0x29744d=_0x42caba;for(var _0x522859=_0x593142>0x1?void 0x0:_0x593142?_0x186efd(_0x456c81,_0x53980e):_0x456c81,_0x13833e=_0x400ab4[_0x29744d(0x1f4)]-0x1,_0x50e866;_0x13833e>=0x0;_0x13833e--)(_0x50e866=_0x400ab4[_0x13833e])&&(_0x522859=_0x50e866(_0x522859)||_0x522859);return _0x522859;},_0xd0e5c8=(_0x42644f,_0x102e93)=>(_0x1d1580,_0x4a7caa)=>_0x102e93(_0x1d1580,_0x4a7caa,_0x42644f);let _0xf67027=class{constructor(_0xc2f8d0,_0x8a48d9,_0x55678d){const _0x3a1cc5=_0x42caba;this[_0x3a1cc5(0x3b2)]=_0xc2f8d0,this['_transformService']=_0x8a48d9,this[_0x3a1cc5(0x19d)]=_0x55678d;}[_0x42caba(0x2ae)](_0x271123){const _0x404b65=_0x42caba;this[_0x404b65(0x15d)](_0x271123);}[_0x42caba(0x3de)](_0x17fe22){const _0x2e6e9f=_0x42caba,{unitID:_0x1663b2}=_0x17fe22,{collaboration:_0x1e9769}=this[_0x2e6e9f(0x19d)][_0x2e6e9f(0x271)](_0x1663b2);if(_0x1e9769[_0x2e6e9f(0x1f4)]===0x0)return _0x17fe22;let _0x37c6c0=_0x99a487['Tools'][_0x2e6e9f(0x385)](_0x17fe22[_0x2e6e9f(0x226)][0x0]);for(let _0x1fe2df=0x0;_0x1fe2df<_0x1e9769[_0x2e6e9f(0x1f4)];_0x1fe2df++){const _0x220220={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e9769[_0x1fe2df][_0x2e6e9f(0x1c6)],..._0x1e9769[_0x1fe2df][_0x2e6e9f(0x114)]}},_0x5073d1=this[_0x2e6e9f(0x17a)][_0x2e6e9f(0x1ac)](_0x37c6c0,_0x220220,!0x1);if(_0x1d0b4f[_0x2e6e9f(0x113)](_0x5073d1))throw _0x5073d1[_0x2e6e9f(0x233)];_0x37c6c0=_0x5073d1[_0x2e6e9f(0x330)];}return{..._0x99a487[_0x2e6e9f(0x303)][_0x2e6e9f(0x385)](_0x17fe22),'mutations':[_0x37c6c0]};}[_0x42caba(0x15d)](_0x474f51){const _0x4c53cf=_0x42caba,{unitID:_0x2462c8}=_0x474f51,{history:_0x27069e,collaboration:_0x308da8}=this['_docStateChangeManagerService'][_0x4c53cf(0x271)](_0x2462c8);if(_0x27069e[_0x4c53cf(0x1f4)]===0x0&&_0x308da8[_0x4c53cf(0x1f4)]===0x0)return;const _0x51f01d=[],_0x4011ef=[];let _0x4d5414=_0x99a487['Tools'][_0x4c53cf(0x385)](_0x474f51['mutations'][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x533561=_0x27069e[_0x4c53cf(0x1f4)]-0x1;_0x533561>=0x0;_0x533561--){const _0x45f82e={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561]['unitId'],..._0x27069e[_0x533561][_0x4c53cf(0x1c9)]}},_0x1fb748={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561][_0x4c53cf(0x1c6)],..._0x27069e[_0x533561][_0x4c53cf(0x114)]}},_0x11bc88=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x4d5414,_0x45f82e,!0x1),_0x488cb0=this[_0x4c53cf(0x17a)]['transformMutation'](_0x605b94,_0x1fb748,!0x1);if(_0x1d0b4f[_0x4c53cf(0x113)](_0x11bc88))throw _0x11bc88[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0x488cb0))throw _0x488cb0[_0x4c53cf(0x233)];_0x51f01d[_0x4c53cf(0x2cf)]({..._0x27069e[_0x533561],'undoState':_0x11bc88[_0x4c53cf(0x35e)]['params'],'redoState':_0x488cb0[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x11bc88[_0x4c53cf(0x330)],_0x605b94=_0x488cb0[_0x4c53cf(0x330)];}_0x4d5414=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)]['deepClone'](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x4c60d0=_0x308da8['length']-0x1;_0x4c60d0>=0x0;_0x4c60d0--){const _0x509f3f={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x1c9)]}},_0x3f58ff={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x114)]}},_0x2d88fc=this[_0x4c53cf(0x17a)]['transformMutation'](_0x4d5414,_0x509f3f,!0x1),_0xdb7d48=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x605b94,_0x3f58ff,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0x2d88fc))throw _0x2d88fc[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0xdb7d48))throw _0xdb7d48[_0x4c53cf(0x233)];_0x4011ef['unshift']({..._0x308da8[_0x4c60d0],'undoState':_0x2d88fc['m2Prime']['params'],'redoState':_0xdb7d48[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x2d88fc[_0x4c53cf(0x330)],_0x605b94=_0xdb7d48['m1Prime'];}this[_0x4c53cf(0x19d)]['setStateCache'](_0x2462c8,{'history':_0x51f01d,'collaboration':_0x4011ef});}};_0xf67027=_0x4d13f1([_0xd0e5c8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0xd0e5c8(0x1,_0x1d0b4f['ITransformService']),_0xd0e5c8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)]))],_0xf67027);var _0xc8aa01=Object[_0x42caba(0x27d)],_0x2c6e0a=(_0x367a77,_0x17ee02,_0x4a9a0f,_0x347fe1)=>{const _0x22a307=_0x42caba;for(var _0x56a82f=_0x347fe1>0x1?void 0x0:_0x347fe1?_0xc8aa01(_0x17ee02,_0x4a9a0f):_0x17ee02,_0x46794c=_0x367a77[_0x22a307(0x1f4)]-0x1,_0xbaa816;_0x46794c>=0x0;_0x46794c--)(_0xbaa816=_0x367a77[_0x46794c])&&(_0x56a82f=_0xbaa816(_0x56a82f)||_0x56a82f);return _0x56a82f;},_0x5760ab=(_0x1bda41,_0x1bf4c3)=>(_0x1dbde1,_0x596b75)=>_0x1bf4c3(_0x1dbde1,_0x596b75,_0x1bda41);let _0x5db7b4=class{constructor(_0x272311,_0x12db12){this['_injector']=_0x272311,this['_transformService']=_0x12db12;}['transformSelections'](_0x598bca){const _0x596574=_0x42caba;var _0x2d2352;const _0x1c8144=this[_0x596574(0x3b2)][_0x596574(0x394)](_0x2d04b0[_0x596574(0x35c)]),_0x4923fa=(_0x2d2352=_0x1c8144[_0x596574(0x1a7)]())!=null?_0x2d2352:[];if(_0x4923fa['length']===0x0)return;const _0x241c6c=_0x598bca[_0x596574(0x392)],_0x543533=[{'id':_0x596574(0x205),'params':{'unitId':_0x241c6c,'actions':null,'textRanges':_0x4923fa}}],_0x51ae63=this['_transformService']['transformMutationsWithChangeset'](_0x598bca,_0x543533);if(!_0x1d0b4f[_0x596574(0x1af)](_0x51ae63))throw _0x51ae63[_0x596574(0x233)];const _0x279b33=_0x51ae63['m2Prime'][0x0][_0x596574(0x3a2)][_0x596574(0x248)];Array[_0x596574(0x292)](_0x279b33)&&_0x279b33[_0x596574(0x1f4)]&&_0x1c8144[_0x596574(0x309)](_0x279b33,{'unitId':_0x241c6c,'subUnitId':_0x241c6c},!0x1);}};_0x5db7b4=_0x2c6e0a([_0x5760ab(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x5760ab(0x1,_0x1d0b4f['ITransformService'])],_0x5db7b4);var _0x5e18bb=Object[_0x42caba(0x27d)],_0x761dd4=(_0x316328,_0x3e08a5,_0x59c6ca,_0x2a003c)=>{for(var _0x2938ab=_0x2a003c>0x1?void 0x0:_0x2a003c?_0x5e18bb(_0x3e08a5,_0x59c6ca):_0x3e08a5,_0x45e777=_0x316328['length']-0x1,_0x2df735;_0x45e777>=0x0;_0x45e777--)(_0x2df735=_0x316328[_0x45e777])&&(_0x2938ab=_0x2df735(_0x2938ab)||_0x2938ab);return _0x2938ab;},_0x4b8bc8=(_0x379990,_0x57d754)=>(_0x5f13fb,_0x39fa65)=>_0x57d754(_0x5f13fb,_0x39fa65,_0x379990);let _0x494724=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x3e95e6,_0x4a85c1,_0x597549,_0x41a81b,_0x1a4221,_0x525944,_0x50de3e,_0xfe8977){const _0x47ad08=_0x42caba;super(),_0x450946(this,_0x47ad08(0x3e5),new _0xf18ada[(_0x47ad08(0x1c2))](_0x40f345[_0x47ad08(0x3cf)][_0x47ad08(0x293)])),(this[_0x47ad08(0x19d)]=_0x3e95e6,this['_collaborationController']=_0x4a85c1,this[_0x47ad08(0x2d6)]=_0x597549,this[_0x47ad08(0x219)]=_0x41a81b,this['_docTransformSelectionsService']=_0x1a4221,this['_docSyncEditingCollabCursorService']=_0x525944,this[_0x47ad08(0x361)]=_0x50de3e,this[_0x47ad08(0x213)]=_0xfe8977,this[_0x47ad08(0x2ba)]());}[_0x42caba(0x2ba)](){const _0x25c5fc=_0x42caba;this[_0x25c5fc(0x170)](this[_0x25c5fc(0x362)][_0x25c5fc(0x2e6)][_0x25c5fc(0x222)](_0x399885=>{const _0x1a1204=_0x25c5fc,_0x3943e1=this['_docStateChangeManagerService']['docStateChange$'][_0x1a1204(0x222)](_0x5e8685=>{const _0x5c3e57=_0x1a1204;if(_0x5e8685==null)return;const {unitId:_0x5d13d5,redoState:_0x21dee6,commandId:_0x268c6e}=_0x5e8685;if(_0x5d13d5!==_0x399885[_0x5c3e57(0x392)])return;const _0xd63c14={'id':_0x268c6e,'type':_0x99a487['CommandType']['MUTATION'],'params':{'unitId':_0x5d13d5,'actions':_0x21dee6['actions'],'textRanges':null}};_0x399885['onLocalMutation'](_0xd63c14);});if(_0x399885[_0x1a1204(0x170)](_0x3943e1),_0x399885 instanceof _0x40f345['DocCollaborationEntity']){const _0x403f77={'onTransformIME':_0x340afd=>this['_docTransformIMECacheService'][_0x1a1204(0x335)](_0x340afd),'onTransformState':_0x15b512=>this[_0x1a1204(0x219)]['transformStateCache'](_0x15b512),'onTransformSelections':_0x32bba8=>this['_docTransformSelectionsService'][_0x1a1204(0x295)](_0x32bba8),'onSyncEditingCollabCursor':_0x30a0fb=>this['_docSyncEditingCollabCursorService'][_0x1a1204(0x12c)](_0x30a0fb),'onTransformRemoteChangesetByIMECache':_0xbee9db=>this[_0x1a1204(0x2d6)]['transformRemoteChangeset'](_0xbee9db),'onTransformRemoteChangesetByStateCache':_0x2431bd=>this['_docTransformStateCacheService'][_0x1a1204(0x3de)](_0x2431bd)};_0x399885[_0x1a1204(0x1e7)](_0x403f77);}}));}};_0x494724=_0x761dd4([_0x4b8bc8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)])),_0x4b8bc8(0x1,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationController'])),_0x4b8bc8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2f7c5c)),_0x4b8bc8(0x3,_0x99a487[_0x42caba(0x2ac)](_0xf67027)),_0x4b8bc8(0x4,_0x99a487['Inject'](_0x5db7b4)),_0x4b8bc8(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x4b8bc8(0x6,_0x3ebdd3[_0x42caba(0x3d7)]),_0x4b8bc8(0x7,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x35d)]))],_0x494724);var _0x34d078=(_0x14e0d0=>(_0x14e0d0[_0x14e0d0[_0x42caba(0x2d5)]=0x0]=_0x42caba(0x2d5),_0x14e0d0[_0x14e0d0['OK']=0x1]='OK',_0x14e0d0[_0x14e0d0[_0x42caba(0x200)]=0x2]=_0x42caba(0x200),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fb)]=0x3]=_0x42caba(0x1fb),_0x14e0d0[_0x14e0d0['NOT_FOUND']=0x4]='NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x272)]=0x5]='UNAUTHENTICATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3ae)]=0x6]=_0x42caba(0x3ae),_0x14e0d0[_0x14e0d0[_0x42caba(0x195)]=0x7]=_0x42caba(0x195),_0x14e0d0[_0x14e0d0['TOO_MANY_REQUESTS']=0x8]=_0x42caba(0x350),_0x14e0d0[_0x14e0d0['COMPLETION_FINISHED']=0x9]=_0x42caba(0x301),_0x14e0d0[_0x14e0d0[_0x42caba(0x2e8)]=0xa]=_0x42caba(0x2e8),_0x14e0d0[_0x14e0d0[_0x42caba(0x340)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x14e0d0[_0x14e0d0[_0x42caba(0x317)]=0xc]=_0x42caba(0x317),_0x14e0d0[_0x14e0d0[_0x42caba(0x327)]=0xd]=_0x42caba(0x327),_0x14e0d0[_0x14e0d0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x42caba(0x302),_0x14e0d0[_0x14e0d0[_0x42caba(0x1db)]=0xf]=_0x42caba(0x1db),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x14e0d0[_0x14e0d0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x42caba(0x20c),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fe)]=0x65]=_0x42caba(0x1fe),_0x14e0d0[_0x14e0d0[_0x42caba(0x37c)]=0xc9]='USER_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x22b)]=0xca]=_0x42caba(0x22b),_0x14e0d0[_0x14e0d0[_0x42caba(0x209)]=0x1389]=_0x42caba(0x209),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bd)]=0x1771]=_0x42caba(0x2bd),_0x14e0d0[_0x14e0d0[_0x42caba(0x377)]=0x1772]=_0x42caba(0x377),_0x14e0d0[_0x14e0d0[_0x42caba(0x367)]=0x1773]=_0x42caba(0x367),_0x14e0d0[_0x14e0d0[_0x42caba(0x19e)]=0x1b59]=_0x42caba(0x19e),_0x14e0d0[_0x14e0d0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x14e0d0[_0x14e0d0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x42caba(0x224),_0x14e0d0[_0x14e0d0[_0x42caba(0x313)]=0x1b5c]=_0x42caba(0x313),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d8)]=0x1b5d]=_0x42caba(0x3d8),_0x14e0d0[_0x14e0d0[_0x42caba(0x366)]=0x1f41]=_0x42caba(0x366),_0x14e0d0[_0x14e0d0[_0x42caba(0x304)]=0x2329]=_0x42caba(0x304),_0x14e0d0[_0x14e0d0[_0x42caba(0x161)]=0x232a]=_0x42caba(0x161),_0x14e0d0[_0x14e0d0[_0x42caba(0x324)]=0x232b]=_0x42caba(0x324),_0x14e0d0[_0x14e0d0[_0x42caba(0x386)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x1ff)]=0x232d]=_0x42caba(0x1ff),_0x14e0d0[_0x14e0d0[_0x42caba(0x376)]=0x2711]=_0x42caba(0x376),_0x14e0d0[_0x14e0d0[_0x42caba(0x215)]=0x2712]=_0x42caba(0x215),_0x14e0d0[_0x14e0d0[_0x42caba(0x11d)]=0x2713]=_0x42caba(0x11d),_0x14e0d0[_0x14e0d0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x395)]=0x271a]=_0x42caba(0x395),_0x14e0d0[_0x14e0d0[_0x42caba(0x19b)]=0x271b]=_0x42caba(0x19b),_0x14e0d0[_0x14e0d0[_0x42caba(0x1d2)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2ec)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x14e0d0[_0x14e0d0[_0x42caba(0x274)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x26f)]=0x271f]=_0x42caba(0x26f),_0x14e0d0[_0x14e0d0[_0x42caba(0x117)]=0x2720]=_0x42caba(0x117),_0x14e0d0[_0x14e0d0[_0x42caba(0x149)]=0x2af9]=_0x42caba(0x149),_0x14e0d0[_0x14e0d0[_0x42caba(0x23f)]=0x2ee1]=_0x42caba(0x23f),_0x14e0d0[_0x14e0d0['INVALID_INVITE_CODE']=0x2ee2]=_0x42caba(0x3e9),_0x14e0d0[_0x14e0d0['INVITE_CODE_REQUIRED']=0x2ee3]=_0x42caba(0x259),_0x14e0d0[_0x14e0d0[_0x42caba(0x32a)]=0x2ee4]=_0x42caba(0x32a),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bb)]=0x2ee5]=_0x42caba(0x2bb),_0x14e0d0[_0x14e0d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x286)]=0x32ca]=_0x42caba(0x286),_0x14e0d0[_0x14e0d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x37b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x14e0d0[_0x14e0d0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x14e0d0[_0x14e0d0[_0x42caba(0x2f6)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2d3)]=0x36b5]=_0x42caba(0x2d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x18a)]=0x36b6]=_0x42caba(0x18a),_0x14e0d0[_0x14e0d0[_0x42caba(0x3b9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x14e0d0[_0x14e0d0[_0x42caba(0x122)]=0x36b8]=_0x42caba(0x122),_0x14e0d0[_0x14e0d0[_0x42caba(0x2f2)]=0x3715]=_0x42caba(0x2f2),_0x14e0d0[_0x14e0d0[_0x42caba(0x36a)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d9)]=0x3717]=_0x42caba(0x3d9),_0x14e0d0[_0x14e0d0[_0x42caba(0x358)]=0x37dd]=_0x42caba(0x358),_0x14e0d0[_0x14e0d0[_0x42caba(0x118)]=0x3a99]=_0x42caba(0x118),_0x14e0d0[_0x14e0d0[_0x42caba(0x249)]=0x3a9a]=_0x42caba(0x249),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d3)]=0x3a9c]=_0x42caba(0x3d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x239)]=0x3a9d]=_0x42caba(0x239),_0x14e0d0[_0x14e0d0[_0x42caba(0x289)]=0x3a9e]=_0x42caba(0x289),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x298)]=0x3e81]=_0x42caba(0x298),_0x14e0d0[_0x14e0d0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x14e0d0))(_0x34d078||{});function _0x7d739d(_0x1f16e1){const _0x378ead=_0x42caba;var _0x2b9220,_0x3a0dea;const _0x38b7f7=(_0x2b9220=_0x1f16e1['stageInfo'])==null?void 0x0:_0x2b9220[_0x378ead(0x25c)],_0x48ea96=((_0x3a0dea=_0x1f16e1[_0x378ead(0x1ea)])==null?void 0x0:_0x3a0dea['totalFormulasToCalculate'])||0x0;return _0x38b7f7===_0x7369e4[_0x378ead(0x26b)][_0x378ead(0x11b)]&&_0x48ea96>0x0;}function _0x5de4b5(_0x3a0813){const _0x275d73=_0x42caba;return _0x3a0813[_0x275d73(0x1e9)]===_0x7369e4[_0x275d73(0x159)][_0x275d73(0x381)];}var _0x3d089b=Object[_0x42caba(0x27d)],_0x16e44d=(_0x4f8928,_0x390027,_0x50e494,_0x2b1308)=>{const _0x5c4c0e=_0x42caba;for(var _0x2263ac=_0x2b1308>0x1?void 0x0:_0x2b1308?_0x3d089b(_0x390027,_0x50e494):_0x390027,_0x2fdcc2=_0x4f8928[_0x5c4c0e(0x1f4)]-0x1,_0x5b923d;_0x2fdcc2>=0x0;_0x2fdcc2--)(_0x5b923d=_0x4f8928[_0x2fdcc2])&&(_0x2263ac=_0x5b923d(_0x2263ac)||_0x2263ac);return _0x2263ac;},_0x4fa34c=(_0x35d3c3,_0x3d43b1)=>(_0x2dab98,_0x123d88)=>_0x3d43b1(_0x2dab98,_0x123d88,_0x35d3c3);const _0x5f507f=_0x42caba(0x210),_0x119aad=_0x42caba(0x208),_0x9ec6e2=_0x42caba(0x3e3);let _0x1f6973=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x228618,_0x2f010f,_0x33c848,_0x323760,_0x1b34b1,_0x1a99ec,_0x41ec79){const _0x237d69=_0x42caba;super(),_0x450946(this,'_pollingInterval',null),_0x450946(this,_0x237d69(0x18d),0x0),_0x450946(this,'_currentUsage',0x0),_0x450946(this,_0x237d69(0x312),[]),_0x450946(this,_0x237d69(0x27e),0x0),(this['_messageService']=_0x228618,this[_0x237d69(0x390)]=_0x2f010f,this[_0x237d69(0x364)]=_0x33c848,this['_httpService']=_0x323760,this[_0x237d69(0x2c0)]=_0x1b34b1,this[_0x237d69(0x27c)]=_0x1a99ec,this[_0x237d69(0x213)]=_0x41ec79,this[_0x237d69(0x3bd)]());}[_0x42caba(0x3bd)](){const _0x34df9b=_0x42caba;this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x2aa)]((_0x6f5650,_0x5a3165)=>{const _0x4c57d9=_0x34df9b;var _0x2bfa62;if(_0x6f5650['id']!==_0x7369e4[_0x4c57d9(0x1e4)]['id'])return;const _0x47b40b=_0x6f5650[_0x4c57d9(0x3a2)];if(!this[_0x4c57d9(0x19c)]((_0x2bfa62=_0x47b40b[_0x4c57d9(0x151)])!=null?_0x2bfa62:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x4c57d9(0x2e0)](_0x6f5650,_0x5a3165),this[_0x4c57d9(0x130)](),new _0x99a487[(_0x4c57d9(0x291))]();})),this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x29f)]((_0x2718f8,_0x6a370c)=>{const _0x53e825=_0x34df9b;if(_0x2718f8['id']!==_0x7369e4['SetFormulaCalculationNotificationMutation']['id'])return;const _0x352a1e=_0x2718f8[_0x53e825(0x3a2)];if(_0x7d739d(_0x352a1e)){const _0x3dedf0=_0x99a487[_0x53e825(0x10b)]();this[_0x53e825(0x312)][_0x53e825(0x242)](_0x3dedf0),this[_0x53e825(0x133)](_0x3dedf0);}else{if(_0x5de4b5(_0x352a1e)&&this[_0x53e825(0x312)][_0x53e825(0x1f4)]>0x0){const _0x41bea0=this[_0x53e825(0x312)]['shift']();this['_releaseCalculationLimit'](_0x41bea0);}}}));}[_0x42caba(0x310)](){const _0x495291=_0x42caba;super[_0x495291(0x310)](),this[_0x495291(0x3aa)](),this['_taskIds']=[],this[_0x495291(0x3c5)]=0x0,this[_0x495291(0x18d)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x42caba(0x2e0)](_0x1ac289,_0x108492){const _0x2812db=_0x42caba;for(let _0x3c37ac=0x0;_0x3c37ac<0x1e;_0x3c37ac++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2812db(0x179)]()){this[_0x2812db(0x1f8)](_0x1ac289,_0x108492),this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x336)),'type':_0xdfb808[_0x2812db(0x36d)]['Success']});return;}await new Promise(_0x1ed796=>{const _0x2da345=_0x2812db;this['_pollingInterval']=window[_0x2da345(0x2de)](_0x1ed796,0x3e8);});}catch(_0x109e12){this[_0x2812db(0x27c)]['error'](_0x109e12);}this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x391)),'type':_0xdfb808[_0x2812db(0x36d)][_0x2812db(0x2c6)]});}[_0x42caba(0x1f8)](_0x6198f8,_0x4b0ba2){const _0x27d33e=_0x42caba;try{this[_0x27d33e(0x390)][_0x27d33e(0x28d)](_0x6198f8['id'],_0x6198f8[_0x27d33e(0x3a2)],_0x4b0ba2);}catch(_0x39489d){this['_logService'][_0x27d33e(0x233)](_0x39489d);}}[_0x42caba(0x3e0)](_0x38dff9,_0xdd9a98){const _0xaeb242=_0x42caba;_0xdd9a98<this['_lastResponseTimestamp']||(this[_0xaeb242(0x27e)]=_0xdd9a98,this[_0xaeb242(0x18d)]=Number['parseInt'](_0x38dff9[_0xaeb242(0x1b3)]),this[_0xaeb242(0x3c5)]=Number[_0xaeb242(0x1d0)](_0x38dff9[_0xaeb242(0x29d)]));}async[_0x42caba(0x133)](_0x53dab1){const _0x419513=_0x42caba;var _0x458f85,_0x562af2;const _0x354f19=Date[_0x419513(0x2d4)]();try{const _0x104854=((_0x458f85=this[_0x419513(0x364)][_0x419513(0x15c)](_0x40f345[_0x419513(0x34e)]))==null?void 0x0:_0x458f85[_0x419513(0x2f7)])||_0x119aad,_0x52ef87=(await this[_0x419513(0x3a9)]['post'](_0x104854,{'body':JSON[_0x419513(0x24f)]({'taskId':_0x53dab1})}))[_0x419513(0x1cb)];if(((_0x562af2=_0x52ef87[_0x419513(0x233)])==null?void 0x0:_0x562af2[_0x419513(0x34b)])!==_0x34d078['OK'])return;this['_setFormulaLimitStatus'](_0x52ef87[_0x419513(0x2f5)],_0x354f19);}catch(_0x225081){this['_logService']['error'](_0x225081);}}async[_0x42caba(0x1b2)](_0x127284){const _0x311f09=_0x42caba;var _0x130138,_0x327e53;const _0x4fb336=Date[_0x311f09(0x2d4)]();try{const _0x38fd25=((_0x130138=this[_0x311f09(0x364)][_0x311f09(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x130138[_0x311f09(0x38f)])||_0x5f507f,_0x55e771=_0x127284?_0x38fd25+_0x311f09(0x188)+encodeURIComponent(_0x127284):_0x38fd25,_0x443323=(await this[_0x311f09(0x3a9)][_0x311f09(0x394)](_0x55e771))[_0x311f09(0x1cb)];if(((_0x327e53=_0x443323[_0x311f09(0x233)])==null?void 0x0:_0x327e53[_0x311f09(0x34b)])!==_0x34d078['OK'])return;this[_0x311f09(0x3e0)](_0x443323[_0x311f09(0x2f5)],_0x4fb336);}catch(_0x29d54b){this[_0x311f09(0x27c)][_0x311f09(0x233)](_0x29d54b);}}async[_0x42caba(0x24e)](_0x22ad2a){const _0x263a9c=_0x42caba;var _0x572749,_0x5afaa2;const _0x1bb9a3=Date[_0x263a9c(0x2d4)]();try{const _0x2bbc94=((_0x572749=this[_0x263a9c(0x364)]['getConfig'](_0x40f345[_0x263a9c(0x34e)]))==null?void 0x0:_0x572749[_0x263a9c(0x197)])||_0x9ec6e2,_0x1d767f=(await this[_0x263a9c(0x3a9)][_0x263a9c(0x39c)](_0x2bbc94,{'body':JSON['stringify']({'taskId':_0x22ad2a})}))[_0x263a9c(0x1cb)];if(((_0x5afaa2=_0x1d767f[_0x263a9c(0x233)])==null?void 0x0:_0x5afaa2['code'])!==_0x34d078['OK'])return;this[_0x263a9c(0x3e0)](_0x1d767f[_0x263a9c(0x2f5)],_0x1bb9a3);}catch(_0x1ee565){this[_0x263a9c(0x27c)]['error'](_0x1ee565);}}[_0x42caba(0x179)](){const _0x4a32bc=_0x42caba;return this[_0x4a32bc(0x18d)]===0x0?!0x0:this[_0x4a32bc(0x18d)]-this[_0x4a32bc(0x3c5)]>0x0;}[_0x42caba(0x3aa)](){const _0x2d2463=_0x42caba;this['_pollingInterval']&&(clearTimeout(this[_0x2d2463(0x111)]),this[_0x2d2463(0x111)]=null);}[_0x42caba(0x130)](){const _0x4add5e=_0x42caba;this[_0x4add5e(0x361)][_0x4add5e(0x176)]({'content':this[_0x4add5e(0x213)]['t'](_0x4add5e(0x13d)),'type':_0xdfb808['MessageType'][_0x4add5e(0x355)]});}['_hasFormulaInDirtyRanges'](_0x5c6163){const _0x3afe8f=_0x42caba;for(const _0x415ba8 of _0x5c6163){const {unitId:_0xa08c34,sheetId:_0x51ac76,range:_0x545bad}=_0x415ba8,_0x423160=this[_0x3afe8f(0x2c0)][_0x3afe8f(0x2ed)](_0xa08c34);if(!_0x423160)continue;const _0x11216b=_0x423160[_0x3afe8f(0x287)](_0x51ac76);if(!_0x11216b)continue;const _0x3842be=_0x11216b[_0x3afe8f(0x1a1)]();for(let _0x10ceba=_0x545bad[_0x3afe8f(0x20e)];_0x10ceba<=_0x545bad[_0x3afe8f(0x1c3)];_0x10ceba++)for(let _0x54c28c=_0x545bad[_0x3afe8f(0x39d)];_0x54c28c<=_0x545bad[_0x3afe8f(0x14a)];_0x54c28c++){const _0x2011ce=_0x3842be[_0x3afe8f(0x279)](_0x10ceba,_0x54c28c);if(_0x2011ce&&(_0x99a487['isFormulaString'](_0x2011ce['f'])||_0x99a487[_0x3afe8f(0x2ad)](_0x2011ce['si'])))return!0x0;}}return!0x1;}};_0x1f6973=_0x16e44d([_0x4fa34c(0x0,_0x99a487[_0x42caba(0x2ac)](_0x3ebdd3['IMessageService'])),_0x4fa34c(0x1,_0x99a487[_0x42caba(0x277)]),_0x4fa34c(0x2,_0x99a487[_0x42caba(0x20d)]),_0x4fa34c(0x3,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x4fa34c(0x4,_0x99a487[_0x42caba(0x14f)]),_0x4fa34c(0x5,_0x99a487[_0x42caba(0x2e3)]),_0x4fa34c(0x6,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x1f6973);var _0x12a4db=Object[_0x42caba(0x27d)],_0x32410d=(_0x38105c,_0x559079,_0x5449eb,_0x2e9e41)=>{const _0x13a483=_0x42caba;for(var _0x5f1dd0=_0x2e9e41>0x1?void 0x0:_0x2e9e41?_0x12a4db(_0x559079,_0x5449eb):_0x559079,_0x22aba3=_0x38105c[_0x13a483(0x1f4)]-0x1,_0xfcd872;_0x22aba3>=0x0;_0x22aba3--)(_0xfcd872=_0x38105c[_0x22aba3])&&(_0x5f1dd0=_0xfcd872(_0x5f1dd0)||_0x5f1dd0);return _0x5f1dd0;},_0x55d959=(_0x328e1f,_0x2ceced)=>(_0x11c11e,_0x152249)=>_0x2ceced(_0x11c11e,_0x152249,_0x328e1f);let _0x90aec9=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x576d03,_0xc20246,_0x29890b){const _0x42bdf5=_0x42caba;super(),_0x450946(this,'_cachedData',new Map()),_0x450946(this,_0x42bdf5(0x315),new Map()),_0x450946(this,'_disabled',!0x1),(this[_0x42bdf5(0x364)]=_0x576d03,this[_0x42bdf5(0x267)]=_0xc20246,this[_0x42bdf5(0x379)]=_0x29890b);}[_0x42caba(0x18c)](){const _0x5d2562=_0x42caba;this[_0x5d2562(0x35a)]=!0x0;}[_0x42caba(0x300)](){const _0x117026=_0x42caba;this[_0x117026(0x35a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x42caba(0x310)](){const _0x7c8676=_0x42caba;this[_0x7c8676(0x256)]()['then'](()=>super[_0x7c8676(0x310)]());}async[_0x42caba(0x269)](_0x1d37bc){const _0x360d71=_0x42caba;return this[_0x360d71(0x35a)]?null:this[_0x360d71(0x267)][_0x360d71(0x110)](_0x40f345[_0x360d71(0x352)](_0x1d37bc));}async[_0x42caba(0x38d)](_0x439850,_0x12e47a){const _0x304fc4=_0x42caba;return!!this[_0x304fc4(0x267)][_0x304fc4(0x2fc)](_0x439850,_0x12e47a);}[_0x42caba(0x2a3)](_0x2ba0f1,_0x21e576,_0xf35ddb,_0x4dd44b){const _0x17bf72=_0x42caba,_0x913614=this['_revisionService'][_0x17bf72(0x39f)](_0x2ba0f1);this['_cachedData']['set'](_0x2ba0f1,{'unitID':_0x2ba0f1,'type':_0x21e576,'awaitingChangeset':_0xf35ddb,'mutations':_0x4dd44b,'rev':_0x913614}),this[_0x17bf72(0x315)][_0x17bf72(0x185)](_0x2ba0f1)||this[_0x17bf72(0x124)](_0x2ba0f1);}[_0x42caba(0x124)](_0x1b6331){const _0x187f80=_0x42caba,_0x5371ec=this[_0x187f80(0x2b3)]();_0x5371ec===0x0?this[_0x187f80(0x2fa)](_0x1b6331):this['_saveTaskMap'][_0x187f80(0x2ff)](_0x1b6331,setTimeout(()=>this[_0x187f80(0x2fa)](_0x1b6331),_0x5371ec));}[_0x42caba(0x2b3)](){const _0x16ffb2=_0x42caba;var _0x1241bc;return(_0x1241bc=this[_0x16ffb2(0x364)][_0x16ffb2(0x15c)](_0x40f345[_0x16ffb2(0x261)]))!=null?_0x1241bc:_0x40f345[_0x16ffb2(0x33a)];}[_0x42caba(0x2fa)](_0x35f146){const _0x372ccb=_0x42caba,_0x5b9cc9=this[_0x372ccb(0x315)][_0x372ccb(0x394)](_0x35f146);return _0x5b9cc9!==void 0x0&&window[_0x372ccb(0x316)](_0x5b9cc9),this[_0x372ccb(0x267)]['setItem'](_0x40f345[_0x372ccb(0x352)](_0x35f146),this[_0x372ccb(0x1ee)][_0x372ccb(0x394)](_0x35f146))[_0x372ccb(0x152)](()=>this[_0x372ccb(0x315)][_0x372ccb(0x192)](_0x35f146));}async[_0x42caba(0x256)](){const _0x48c575=_0x42caba,_0x312c5f=[];this[_0x48c575(0x315)][_0x48c575(0x2e5)]((_0x3fe624,_0x1313e0)=>{const _0x2a6b8d=_0x48c575;window[_0x2a6b8d(0x316)](_0x3fe624),_0x312c5f[_0x2a6b8d(0x242)](this[_0x2a6b8d(0x2fa)](_0x1313e0)[_0x2a6b8d(0x152)](()=>{const _0x4ce8b3=_0x2a6b8d;this[_0x4ce8b3(0x315)]['delete'](_0x1313e0);}));}),await Promise[_0x48c575(0x115)](_0x312c5f);}};_0x90aec9=_0x32410d([_0x55d959(0x0,_0x99a487[_0x42caba(0x20d)]),_0x55d959(0x1,_0x99a487['ILocalStorageService']),_0x55d959(0x2,_0x99a487[_0x42caba(0x2ac)](_0x1d0b4f[_0x42caba(0x3e7)]))],_0x90aec9);class _0x36a969 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0x51a4eb=_0x42caba;super(),_0x450946(this,'urlChange$'),this['urlChange$']=_0xf18ada['fromEvent'](window,_0x51a4eb(0x1bf))[_0x51a4eb(0x1cd)](_0xf18ada[_0x51a4eb(0x141)](this['dispose$']),_0xf18ada['shareReplay'](0x1),_0xf18ada[_0x51a4eb(0x3ef)](void 0x0));}['setParam'](_0x3cc346,_0x7f77c3,_0x511b28=!0x1){const _0x2b3f99=_0x42caba,_0x3659e0=new URL(window[_0x2b3f99(0x171)]['href']);_0x3659e0[_0x2b3f99(0x2f8)]['set'](_0x3cc346,_0x7f77c3),_0x511b28?window['history'][_0x2b3f99(0x36f)]('','',_0x3659e0[_0x2b3f99(0x2df)]()):window[_0x2b3f99(0x25f)]['pushState']('','',_0x3659e0[_0x2b3f99(0x2df)]());}[_0x42caba(0x348)](_0x2d9eaf,_0x57f6fc=!0x1){const _0x46a742=_0x42caba,_0x5ea070=new URL(window[_0x46a742(0x171)]['href']);_0x5ea070['searchParams'][_0x46a742(0x192)](_0x2d9eaf),_0x57f6fc?window[_0x46a742(0x25f)]['replaceState']('','',_0x5ea070['toString']()):window[_0x46a742(0x25f)][_0x46a742(0x225)]('','',_0x5ea070[_0x46a742(0x2df)]());}[_0x42caba(0x37f)](_0x37f094){const _0x2ec506=_0x42caba;var _0x3a05b3;return(_0x3a05b3=new URL(window[_0x2ec506(0x171)][_0x2ec506(0x21e)])[_0x2ec506(0x2f8)][_0x2ec506(0x394)](_0x37f094))!=null?_0x3a05b3:void 0x0;}}var _0x77162b=Object['defineProperty'],_0x281362=Object['getOwnPropertyDescriptor'],_0x2afe0d=(_0x2e3dac,_0x20e692,_0x5a0e91)=>_0x20e692 in _0x2e3dac?_0x77162b(_0x2e3dac,_0x20e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0e91}):_0x2e3dac[_0x20e692]=_0x5a0e91,_0x4bb996=(_0x172f97,_0x226472,_0x5ec46a,_0x56f921)=>{const _0x3e47c0=_0x42caba;for(var _0x3577b2=_0x56f921>0x1?void 0x0:_0x56f921?_0x281362(_0x226472,_0x5ec46a):_0x226472,_0x43d6e2=_0x172f97[_0x3e47c0(0x1f4)]-0x1,_0xc64237;_0x43d6e2>=0x0;_0x43d6e2--)(_0xc64237=_0x172f97[_0x43d6e2])&&(_0x3577b2=_0xc64237(_0x3577b2)||_0x3577b2);return _0x3577b2;},_0x1c5263=(_0x55bf94,_0x2e4296)=>(_0x30e53e,_0x2a3a41)=>_0x2e4296(_0x30e53e,_0x2a3a41,_0x55bf94),_0x39c477=(_0xc61edd,_0x14e5bd,_0x29ca4d)=>_0x2afe0d(_0xc61edd,_0x14e5bd+'',_0x29ca4d);const _0xfcfa8d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x23f96a['UniverCollaborationClientUIPlugin']=class extends _0x99a487[_0x42caba(0x260)]{constructor(_0x317635=_0x326bbf,_0x1493a8,_0x253617,_0x35826b){const _0xec049a=_0x42caba;super(),this[_0xec049a(0x28f)]=_0x317635,this['_renderManagerService']=_0x1493a8,this[_0xec049a(0x3b2)]=_0x253617,this[_0xec049a(0x364)]=_0x35826b;const {..._0x6b81f1}=_0x99a487['merge']({},_0x326bbf,this[_0xec049a(0x28f)]);this['_configService'][_0xec049a(0x18b)](_0x2a0609,_0x6b81f1);}['onStarting'](){const _0x4465e6=_0x42caba;this['_registerDependencies'](),this[_0x4465e6(0x3bc)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x284724=_0x42caba;var _0x5418fd;const _0x1a7d75=[[_0x2dbe1f],[_0x1f6973],[_0x5db7b4],[_0x2f7c5c],[_0xf67027],[_0x151704],[_0x2eaaa6,{'useClass':_0x36a969}],[_0xb43dfb['ISocketService'],{'useClass':_0xb43dfb[_0x284724(0x284)]}],[_0x40f345[_0x284724(0x2da)],{'useClass':_0x90aec9}],[_0x23f96a[_0x284724(0x254)]],[_0x494724],[_0x54c86a],[_0x550d1c],[_0x47f8da],[_0x23f96a[_0x284724(0x216)]]];this[_0x284724(0x28f)][_0x284724(0x1e5)]&&_0x1a7d75[_0x284724(0x242)]([_0x4dd5ae]),_0x99a487[_0x284724(0x2e2)](this['_injector'],_0x99a487[_0x284724(0x228)](_0x1a7d75,(_0x5418fd=this[_0x284724(0x28f)])==null?void 0x0:_0x5418fd[_0x284724(0x23e)]));}[_0x42caba(0x1f2)](){const _0x5cef27=_0x42caba;this[_0x5cef27(0x170)](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)][_0x5cef27(0x22a)],[_0x459cb5])),this['disposeWithMe'](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)]['UNIVER_SHEET'],[_0x4db1a0]));}[_0x42caba(0x3bc)](){const _0x18035a=_0x42caba;_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x550d1c],[_0x23f96a[_0x18035a(0x254)]],[_0x494724],[_0x54c86a],[_0x23f96a['CollaborationDataLoaderController']],[_0x1f6973]]),this['_config'][_0x18035a(0x1e5)]&&_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x4dd5ae]]);}},_0x39c477(_0x23f96a[_0x42caba(0x19f)],'pluginName',_0xfcfa8d),_0x23f96a[_0x42caba(0x19f)]=_0x4bb996([_0x99a487['DependentOn'](_0x40f345[_0x42caba(0x22d)]),_0x1c5263(0x1,_0x4b6de8['IRenderManagerService']),_0x1c5263(0x2,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x1c5263(0x3,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x19f)]);var _0x1059ee=Object[_0x42caba(0x27d)],_0x40a8c8=(_0x3e19b9,_0x5d0ece,_0x2c751c,_0x434ac1)=>{const _0x4c1cc0=_0x42caba;for(var _0x20022f=_0x434ac1>0x1?void 0x0:_0x434ac1?_0x1059ee(_0x5d0ece,_0x2c751c):_0x5d0ece,_0x254545=_0x3e19b9[_0x4c1cc0(0x1f4)]-0x1,_0x1a475a;_0x254545>=0x0;_0x254545--)(_0x1a475a=_0x3e19b9[_0x254545])&&(_0x20022f=_0x1a475a(_0x20022f)||_0x20022f);return _0x20022f;},_0x598f33=(_0x13dee0,_0x4ed21c)=>(_0xe9f6aa,_0x147aff)=>_0x4ed21c(_0xe9f6aa,_0x147aff,_0x13dee0);_0x23f96a[_0x42caba(0x10c)]=class extends _0x40f345[_0x42caba(0x297)]{constructor(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91){super(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91);}async[_0x42caba(0x116)](_0x28c4c3){const _0x30b156=_0x42caba,_0x182394=await this[_0x30b156(0x29b)](),_0x2b9c0e=this[_0x30b156(0x275)](_0x28c4c3,_0x182394);return this[_0x30b156(0x23a)](_0x2b9c0e);}[_0x42caba(0x275)](_0x66947f,_0x4d2246){const _0x500cc4=_0x42caba,_0x54cf3c=typeof window>'u'?new URL(_0x66947f):new URL(_0x66947f,window['location'][_0x500cc4(0x34f)]);_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)](_0x500cc4(0x1ec),_0x4d2246);const _0x515721=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x500cc4(0x171)][_0x500cc4(0x397)]);return _0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))&&_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)]('runId',_0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))),_0x54cf3c[_0x500cc4(0x2df)]();}async['_getSessionTicket'](){const _0x2a24d3=_0x42caba;var _0x421087,_0x45d5c5,_0x204e88;const _0x3818a3=this['_configService'][_0x2a24d3(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x53f23a=(_0x421087=_0x3818a3==null?void 0x0:_0x3818a3['wsSessionTicketUrl'])!=null?_0x421087:_0x40f345[_0x2a24d3(0x203)];return(_0x204e88=(_0x45d5c5=(await this['_httpService'][_0x2a24d3(0x394)](_0x53f23a,{'headers':{'Content-Type':_0x2a24d3(0x3d4)}}))['body'])==null?void 0x0:_0x45d5c5['ticket'])!=null?_0x204e88:'';}},_0x23f96a[_0x42caba(0x10c)]=_0x40a8c8([_0x598f33(0x0,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x598f33(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x598f33(0x2,_0x99a487['IConfigService']),_0x598f33(0x3,_0x99a487[_0x42caba(0x2e3)]),_0x598f33(0x4,_0x1d0b4f[_0x42caba(0x3e8)])],_0x23f96a[_0x42caba(0x10c)]);var _0x312934=Object[_0x42caba(0x27d)],_0x56a8ee=(_0x3c57b2,_0x58575d,_0x29352f,_0x5c0889)=>{const _0x57ea78=_0x42caba;for(var _0x257219=_0x5c0889>0x1?void 0x0:_0x5c0889?_0x312934(_0x58575d,_0x29352f):_0x58575d,_0x14d881=_0x3c57b2[_0x57ea78(0x1f4)]-0x1,_0x219061;_0x14d881>=0x0;_0x14d881--)(_0x219061=_0x3c57b2[_0x14d881])&&(_0x257219=_0x219061(_0x257219)||_0x257219);return _0x257219;},_0x2d88ed=(_0x3d2d15,_0x5a56e4)=>(_0x3260de,_0xa7e4b)=>_0x5a56e4(_0x3260de,_0xa7e4b,_0x3d2d15);_0x23f96a[_0x42caba(0x10d)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x30a6c1,_0x4993b9,_0x521119){const _0x140bcb=_0x42caba;super(),this[_0x140bcb(0x240)]=_0x30a6c1,this[_0x140bcb(0x3a9)]=_0x4993b9,this[_0x140bcb(0x364)]=_0x521119;}async['runOnServer'](_0x4250ea,_0xe223fb,_0x34eec7,..._0x3d1d74){const _0x4f6f56=_0x42caba;var _0x3aa21c,_0x3ab2bf,_0x21c597,_0x3387c9;const _0x4b4c3c=this[_0x4f6f56(0x240)][_0x4f6f56(0x137)]();if(!_0x4b4c3c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4d6076=((_0x3aa21c=this['_configService'][_0x4f6f56(0x15c)](_0x40f345['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3aa21c:_0x40f345[_0x4f6f56(0x262)])+'/'+_0x4250ea+'/run/'+_0xe223fb,_0x2a2c27=new URL(window['location'][_0x4f6f56(0x21e)]),_0x5d72ef={'scriptId':_0x4250ea,'runId':(_0x3ab2bf=_0x2a2c27['searchParams']['get']('runId'))!=null?_0x3ab2bf:'','function':_0xe223fb,'unitId':_0x4b4c3c[_0x4f6f56(0x359)](),'argsOfFunction':JSON[_0x4f6f56(0x24f)](_0x3d1d74),'invokeId':(_0x21c597=_0x34eec7[_0x4f6f56(0x11a)])!=null?_0x21c597:'','executionId':(_0x3387c9=_0x34eec7[_0x4f6f56(0x119)])!=null?_0x3387c9:''};try{const _0x30e372=await this[_0x4f6f56(0x3a9)][_0x4f6f56(0x39c)](_0x4d6076,{'body':_0x5d72ef});return _0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)]&&_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)][_0x4f6f56(0x34b)]!==_0x34d078['OK']?_0x4f6f56(0x2e9):_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x14c)];}catch{return _0x4f6f56(0x2e9);}}},_0x23f96a[_0x42caba(0x10d)]=_0x56a8ee([_0x2d88ed(0x0,_0x99a487[_0x42caba(0x14f)]),_0x2d88ed(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x2d88ed(0x2,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x10d)]);const _0x56d46a=0x7530,_0x18731e=_0x42caba(0x247);class _0xfe5c1d extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x5282b6=_0x42caba;super(),_0x450946(this,_0x5282b6(0x120),_0x99a487[_0x5282b6(0x10b)]()),_0x450946(this,'_selfUnitIDs',new Set()),_0x450946(this,_0x5282b6(0x1a3),new Map()),_0x450946(this,_0x5282b6(0x156),null),_0x450946(this,_0x5282b6(0x20b),new Map()),_0x450946(this,'_unitStatus',new Map()),this[_0x5282b6(0x273)]();}['dispose'](){const _0x3ba2f3=_0x42caba;super['dispose'](),this[_0x3ba2f3(0x20b)][_0x3ba2f3(0x2e5)]((_0x30d7f7,_0x169363)=>this['_removeClearOtherTimer'](_0x169363)),this[_0x3ba2f3(0x156)]&&window[_0x3ba2f3(0x243)](this[_0x3ba2f3(0x156)]);}['getUnitStatus$'](_0x1054f7){const _0x5ef5cc=_0x42caba;return this['_ensureSubject'](_0x1054f7)[_0x5ef5cc(0x1cd)](_0xf18ada[_0x5ef5cc(0x306)]());}[_0x42caba(0x1eb)](_0x52ba88){const _0x44d5c3=_0x42caba;this['_selfUnitIDs'][_0x44d5c3(0x21c)]===0x0&&this[_0x44d5c3(0x356)](),this['_selfUnitIDs']['add'](_0x52ba88),this['_send']({'type':0x0,'memberID':this[_0x44d5c3(0x120)],'unitIDs':[_0x52ba88],'isForwarded':!0x1});}[_0x42caba(0x3da)](_0x50ef18){const _0x3c5f1c=_0x42caba;this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x192)](_0x50ef18),this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x21c)]===0x0&&this[_0x3c5f1c(0x156)]&&window[_0x3c5f1c(0x243)](this[_0x3c5f1c(0x156)]);}['_init'](){const _0x5bd92d=_0x42caba;this[_0x5bd92d(0x170)](_0x99a487['toDisposable'](_0xf18ada[_0x5bd92d(0x28e)](window,_0x5bd92d(0x11e))['subscribe'](_0x215885=>{const _0x4902f9=_0x5bd92d;if(_0x215885[_0x4902f9(0x382)]!==_0x18731e||!_0x215885[_0x4902f9(0x1e3)])return;const _0x5d0b39=JSON['parse'](_0x215885['newValue']);this[_0x4902f9(0x1dc)](_0x5d0b39);}))),window[_0x5bd92d(0x2dc)](_0x5bd92d(0x3c4),()=>this[_0x5bd92d(0x150)]({'type':0x1,'memberID':this[_0x5bd92d(0x120)],'unitIDs':Array[_0x5bd92d(0x283)](this[_0x5bd92d(0x2b5)])}));}[_0x42caba(0x1dc)](_0x1d9f1c){const _0x8d16ba=_0x42caba;switch(_0x1d9f1c[_0x8d16ba(0x2d7)]){case 0x0:this[_0x8d16ba(0x1e2)](_0x1d9f1c);break;case 0x1:this[_0x8d16ba(0x16c)](_0x1d9f1c);break;case 0x2:this[_0x8d16ba(0x36c)](_0x1d9f1c);break;}}[_0x42caba(0x1e2)](_0xbd3658){const _0x3224d1=_0x42caba,{unitIDs:_0x74b785,memberID:_0x5f1205,isForwarded:_0x2fcb18}=_0xbd3658;_0x74b785['forEach'](_0x5bc923=>{const _0x1b982f=_0x5833;if(!_0x2fcb18&&this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)&&this[_0x1b982f(0x13e)](_0x5bc923)[_0x1b982f(0x1ba)](_0x40f345[_0x1b982f(0x363)][_0x1b982f(0x127)]),!this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)||!this[_0x1b982f(0x1a3)]['get'](_0x5bc923)[_0x1b982f(0x185)](_0x5f1205)){const _0x3d7841=this['_unitOnClients'][_0x1b982f(0x394)](_0x5bc923)||new Set();_0x3d7841[_0x1b982f(0x1df)](_0x5f1205),this[_0x1b982f(0x1a3)][_0x1b982f(0x2ff)](_0x5bc923,_0x3d7841),this[_0x1b982f(0x251)](_0x5f1205);}}),_0x2fcb18||this[_0x3224d1(0x150)]({'type':0x0,'memberID':this[_0x3224d1(0x120)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x42caba(0x251)](_0x55540c){const _0x3c5264=_0x42caba;this['_removeClearOtherTimer'](_0x55540c);const _0x1975d1=window['setTimeout'](()=>{const _0x2bf54d=_0x5833;this[_0x2bf54d(0x1a3)][_0x2bf54d(0x2e5)](_0x5a0a34=>{_0x5a0a34['delete'](_0x55540c);});},_0x56d46a*0x2);this['_clearOtherTimers'][_0x3c5264(0x2ff)](_0x55540c,_0x1975d1);}[_0x42caba(0x136)](_0x114ccb){const _0x301eac=_0x42caba;if(this[_0x301eac(0x20b)][_0x301eac(0x185)](_0x114ccb)){const _0x100938=this[_0x301eac(0x20b)][_0x301eac(0x394)](_0x114ccb);_0x100938&&window['clearTimeout'](_0x100938),this[_0x301eac(0x20b)][_0x301eac(0x2ff)](_0x114ccb,null);}}['_handleLeaveEvent'](_0x43918d){const _0xc41147=_0x42caba,{memberID:_0x356ca0,unitIDs:_0x4117ec}=_0x43918d;_0x4117ec['forEach'](_0x5a9e7d=>{const _0x1814c6=_0x5833;var _0x446dfc;const _0x4c54ce=this[_0x1814c6(0x1a3)]['get'](_0x5a9e7d);_0x4c54ce&&(_0x4c54ce[_0x1814c6(0x192)](_0x356ca0),(_0x446dfc=this[_0x1814c6(0x13e)](_0x5a9e7d))==null||_0x446dfc[_0x1814c6(0x1ba)](_0x4c54ce[_0x1814c6(0x21c)]===0x0?_0x40f345[_0x1814c6(0x363)][_0x1814c6(0x2c8)]:_0x40f345['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xc41147(0x136)](_0x356ca0);}[_0x42caba(0x36c)](_0x2cfa2b){const _0x255122=_0x42caba;this[_0x255122(0x251)](_0x2cfa2b[_0x255122(0x3c0)]);}[_0x42caba(0x150)](_0x47e4ee){const _0x3874c8=_0x42caba;localStorage[_0x3874c8(0x2fc)](_0x18731e,JSON[_0x3874c8(0x24f)](_0x47e4ee));}[_0x42caba(0x356)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4f3ed4=_0x5833;this[_0x4f3ed4(0x150)]({'type':0x2,'memberID':this[_0x4f3ed4(0x120)]});},_0x56d46a);}[_0x42caba(0x13e)](_0x39c735){const _0xd8c758=_0x42caba;return this[_0xd8c758(0x3cd)][_0xd8c758(0x185)](_0x39c735)||this[_0xd8c758(0x3cd)][_0xd8c758(0x2ff)](_0x39c735,new _0xf18ada[(_0xd8c758(0x1c2))](_0x40f345[_0xd8c758(0x363)][_0xd8c758(0x2c8)])),this[_0xd8c758(0x3cd)][_0xd8c758(0x394)](_0x39c735);}}_0x23f96a[_0x42caba(0x264)]=_0x2eaaa6,_0x23f96a['SheetCollabCursorShape']=_0x232e7e,_0x23f96a[_0x42caba(0x2ce)]=_0xfe5c1d,_0x23f96a[_0x42caba(0x2cb)]=_0x36a969,Object[_0x42caba(0x321)](_0x23f96a,Symbol[_0x42caba(0x231)],{'value':_0x42caba(0x1f6)});}));function _0x520a(){const _0x285a33=['saveImage','ENTITLE_INVALID_COUPON_CODE','now','UNDEFINED','_docTransformIMECacheService','type','InsertRowCommandId','VIEW_MAIN','ILocalCacheService','createIdentifier','addEventListener','jsxs','setTimeout','toString','_checkAndWaitForCalculationPermission','RichTextEditingMutation','registerDependencies','ILogService','OTHER_CLIENT_EDITING','forEach','entityInit$','_setupBeforeClosingHandler','LOGIN_FAILED','Failed','_imageIoService','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_initCommandExecutedListener','@univerjs/docs','includes','arc','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationEvent','getRenderById','limitInfo','PAYMENT_CHANNEL_NOT_SUPPORT','startFormulaLimitUrl','searchParams','UNIVER_SHEET','_saveCache','colorChannel1','setItem','Optional','lineno','set','enableLocalCache','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Tools','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','distinctUntilChanged','string','contains','replaceDocRanges','_startDocCollabCursor','_colorIndex','currentTheme$','throttleTime','exports','getActiveRange','dispose','UniverDocsUi','_taskIds','APPLY_PERMISSION_DENIED','Warning','_saveTaskMap','clearTimeout','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setShapeProps','height','Vector2','_collaborationSessionService','mask','stack','_scene','1em','MoveRangeCommandId','defineProperty','DisposableCollection','@univerjs/sheets-ui','LICENSE_IMPORT_SIZE_EXCEEDED','_toggleOffline','UniverProCollaborationClientUi','EMAIL_VERIFY_CODE_MISMATCH','_getMergeRange','getViewport','USER_NOT_INVITED_CODE','_docClipboardService','_monkeyPatchLogService','MemberService','_cursorInfo$','_cursors','m1Prime','unhandledrejection','getCurrentSelections','handleInsertCol','requireSession','transformIMECache','formula.calculation.started','handleIRemoveCol','getMember','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_render','backgroundColor','some','catch','SetWorksheetActivateCommand','MOBILE_VERIFY_CODE_MISMATCH','_collabCursorController','getUndoRedoMutationParamsCache','data','onMouseMove','_getSheetObject','_getAnchorBounding','ThemeService','removeParam','_updateSubUnitFromURLParams','UniverUi','code','currentColor','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','getLocalCacheKey','source','_colorAssignService','Loading','_scheduleHeartbeat','on-line-icon_clip0_910_349','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','_disabled','switchMap','DocSelectionManagerService','LocaleService','m2Prime','_setupSubUnitSync','_eventUnsubscribe','_messageService','_collaborationController','UnitStatus','_configService','defs','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','_context','min','ENTITLE_REPORT_LIMIT_EXCEED','handleInsertRangeMoveRight','_handleHeartbeatEvent','MessageType','text','replaceState','_drawRectRange','join','object','red.300','rxjs','AWAITING','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','_hovered','_revisionService','RemoveRowCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','USER_NOT_FOUND','bind','getColorFromTheme','getParam','find','SUCCESS','key','_initUserListener','black','deepClone','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','selections','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entities','evenodd','saveOfflineData','_anchorDot','getformulaLimitStatusUrl','_commandService','formula.calculation.unable','unitID','unit','get','YUUMI_NO_CUBOID_FOR_QUESTION','clipPath','search','_handleHover','engine','_roomMembers$','collabStatus.syncing','post','startColumn','deserializeRangeWithSheet','getCurrentRevOfUnit','triggerDblclick','DocIMEInputManagerService','params','univer-flex\x20univer-items-center','measureText','onPointerLeave$','UniverSheets','getCurrent','message','_httpService','_clearPolling','name','_uploadLog','ONLINE','ALREADY_EXISTS','hovered','getColor','CollaborationSessionService','_injector','react/jsx-runtime','clsx','combineLatest','SOCKET_FAILED','InsertRangeMoveRightCommandId','_initResize','ENTITLE_COUPON_USED_UP','collabStatus.fetchMiss','Subject','_initDependencies','_initCommandInterceptor','url(#$1','_cursor','memberID','collab-rect-range-','_collabSessionService','_range','unload','_currentUsage','startsWith','OFFLINE','[Window\x20Error]:\x20','_transformUndoRedoStack','_memberID','trim','RECT','_unitStatus','0\x200\x2016\x2016','CollaborationStatus','toRgbString','UniverIcon','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','application/json','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_shapes','IMessageService','APPLY_DUPLICATED','ENTITLE_INSUFFICIENT_QUOTA','disposeUnit','_collaborationUIEventService','session.collaboration-timeout','getAncestorScale','transformRemoteChangeset','url(#off-line-icon_clip0_910_343)','_setFormulaLimitStatus','addObject','registerBeforeClose','/universer-api/license/formula/limit/done','ITransformService','_status$','@univerjs/design','RevisionService','ISnapshotServerService','INVALID_INVITE_CODE','_onCursorUpdate','@univerjs/sheets','_drawAnchor','operators','subUnitId','mapTo','ranges','amd','_notificationService','_removeCollabCursors','column','generateRandomId','BrowserCollaborationSocketService','RemoteUniscriptService','_dataLoaderService','sheetID','getItem','_pollingInterval','_labelPosition','isTransformMutationFailure','redoState','all','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_INVALID_CODE','executionId','invokeId','START_CALCULATION','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','storage','/universer-api/frontend/logs','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','runRefRangeMutations','_scheduleSaving','DeleteRangeMoveUpCommandId','row','OTHER_CLIENTS_EDITING','IRenderManagerService','session.connection-failed','_docSkeleton','uni.network.url-service','syncEditingCollabCursor','@univerjs/drawing','getCellPositionByOffset','_draw','_showGuardMessage','children','univerjs-icon\x20univerjs-icon-','_startCalculationLimit','closePath','@univerjs-pro/collaboration-client','_removeClearOtherTimer','getFocusedUnit','addObjects','map','svg','_initEvent','saveTaskMap','formula.calculation.waiting','_ensureSubject','displayName','getRelativeToViewportCoord','takeUntil','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','M0\x200H16V16H0z','defIds','423426QEFomh','split','random','OffLineIcon','PY_RUNTIME_SCRIPT_ERROR','endColumn','none','result','current','_name','IUniverInstanceService','_send','dirtyRanges','then','_transformPreviousActiveRange','asObservable','getUniverSheetInstance','_heartbeatTimer','on-line-icon','xlink:href','FormulaExecutedStateType','UniverProCollaboration','onPointerEnter$','getConfig','_transformHistoryAndStateStack','IImageIoService','react','fillStyle','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_textBubble','getActiveSheet','touchDependencies','_initStatusComponent','event$','RefRangeService','collabStatus.synced','_session','setActiveRange','moveTo','_handleLeaveEvent','_renderManagerService','_refreshCollabCursors','IRemoteInstanceService','disposeWithMe','location','color','_entityInit$','http://www.w3.org/2000/svg','_document','show','SUBMIT_CHANGESET_TIMEOUT','RxDisposable','_checkCalculationAvailable','_transformService','_onCursorDelete','_drawTextRange','hide','6uNgZPL','permission.content','symbol','forwardRef','currentSkeleton$','save','BuiltInUIPart','has','39110RFTKaO','with','?taskId=','resize','ENTITLE_COUPON_EXPIRED','setConfig','disableLocalCache','_maxFormulaLimit','isActive','_syncEditingCollabCursorService','replace','handleDeleteRangeMoveUp','delete','UniverDrawing','debounceTime','INVALID_ARGUMENT','_lastPointer','releaseFormulaLimitUrl','jsx','getCollabCursors$','_sheetSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_hasFormulaInDirtyRanges','_docStateChangeManagerService','APPLY_REJECT','UniverCollaborationClientUIPlugin','registerRenderModule','getCellMatrix','RegularPolygon','_unitOnClients','max','yellow.400','tag','getDocRanges','registerRefRange','removeEventListener','debounce','attrs','transformMutation','setAlpha','cursorInfo','isTransformMutationsWithChangesetSuccess','function','1354932IrJYFD','_getFormulaLimitStatus','maxFormulaLimit','SetTextSelectionsOperation','COLORS','_updateCollabCursors','_getScale','UniverInstanceType','_toggleOnline','next','fill','skeleton','registerComponent','JOIN_ROOM_FAILED','popstate','activeSheet$','TEXT_RANGE_LAYER_INDEX','BehaviorSubject','endRow','EffectRefRangId','assign','unitId','NodePositionConvertToRectRange','_docSkeletonManagerService','undoState','Shape','body','fillText','pipe','init','entries','parseInt','3539088APobCo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','roomMembers','_hover','3014384PwylQJ','subscribeEvent','handleIRemoveRow','#FFF','0\x200\x2017\x2016','bottom','AUTHORIZE_CODE_ILLEGAL','_handleEvent','send','filter','add','lineTo','getTypeOfUnitDisposed$','_handleJoinEvent','newValue','SetFormulaCalculationStartMutation','enableFrontendLog','roomMembers$','addHandlerCallback','\x20at\x20','functionsExecutedState','stageInfo','editingUnit','sessionTicket','UniverDesign','_cachedData','dispose$','collaboration.closeRoom','eventID','_registerRenderDependencies','drawWith','length','univer-mr-2\x20univer-flex\x20univer-text-xl','Module','CollaborationController','_applyCommand','_hideTimer','CLOSE_ROOM','PERMISSION_DENIED','_collabCursorState$','78QGzujY','ERROR_AGAIN','LICENSE_DISTRO_REJECTED','INTERNAL_ERROR','socket$','_themeService','DEFAULT_WS_SESSION_TICKET_URL','debug','doc.mutation.rich-text-editing','status$','UPDATE_CURSOR','/universer-api/license/formula/limit/start','CHANGESET_REVISION_CONFILICT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearOtherTimers','CURRENT_STATUS_CANNOT_OPERATE','IConfigService','startRow','session.will-retry','/universer-api/license/formula/limit/status','_refRangeService','values','_localeService','width','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationDataLoaderController','_online','getMemberID','_docTransformStateCacheService','transformMutationsWithChangeset','DOC_RANGE_TYPE','size','@univerjs/engine-formula','href','div','Rect','top','subscribe','onPointerMove$','APPLY_REVISION_CONFILICT','pushState','mutations','_urlService','mergeOverrideWithDependencies','createElement','UNIVER_DOC','USER_IS_ANONYMOUS','handleMoveRange','UniverCollaborationClientPlugin','InsertRangeMoveDownCommandId','RemoveColCommandId','TEXT','toStringTag','UniverDocs','error','jiqing.500','FETCH_MISS','cursorInfo$','_cursorShapes','Disposable','REDEMPTION_USER_NOT_ELIGIBLE','_doCreateSocket','white','...','url(#on-line-icon_clip0_910_349)','override','INVITE_CODE_HAS_BEEN_UES','_instanceService','_assignedColors','push','clearInterval','loadUnit','_anchor','useRef','ACTIVE_UNIT_EVENT_CHANNEL','textRanges','REDEMPTION_CODE_INACTIVE','CONFLICT','off-line-icon_clip0_910_343','collab-text-anchor-','purple.300','_releaseCalculationLimit','stringify','Workbook','_scheduleClearOtherTimer','IUIPartsService','_uiPartsService','DesktopCollaborationStatusDisplayController','restore','exhaustSavingTask','fillRule','sessionStatus$','INVITE_CODE_REQUIRED','getMergeData','range','stage','onTransformChange$','_initStatusListener','history','Plugin','LOCAL_CACHE_INTERVAL_KEY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','486816AekYcv','IURLService','Tooltip','UniverProCollaborationClient','_localStorageService','UniverSheetsUi','loadOfflineData','subunit','FormulaExecuteStageType','reason','getSheetObject','[Unhandled\x20Rejection]:\x20','YUUMI_AI_RUN_FAILED','FromArray','getStateCache','UNAUTHENTICATED','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createSocketURL','SHEET_VIEWPORT_KEY','ICommandService','21695bCymDW','getValue','ColorKit','setParam','_logService','getOwnPropertyDescriptor','_lastResponseTimestamp','selection','createInstance','round','getCoordByCell','from','WebSocketService','9VlAopx','MOBILE_HAS_BEEN_BOUND','getSheetBySheetId','useObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','USERS_LEAVE','merge','executeCommand','fromEvent','_config','_updateLocalCursor','CanceledError','isArray','NOT_COLLAB','runId','transformSelections','_backgroundColor','CollaborationSocketService','DATA_SOURCE_TOO_LARGE','transformByState','_initUnhandledRejectionListener','_getSessionTicket','getCollabEntity$','currentUsage','UniverEngineFormula','onCommandExecuted','_startSheetCollabCursor','idSuffix','whenReady','updateOfflineData','collabStatus.offline','UniverCore','DocStateChangeManagerService','isEditing','collabStatus.conflict','path','beforeCommandExecuted','focused$','Inject','isFormulaId','transformStateCache','assignAColorForMemberID','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','_color','220dJKEmP','_getSaveTimeout','flatMap','_selfUnitIDs','getSheetId','UniverEngineRender','[CollaborationDataLoaderController]','React','_initEntityListener','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','SNAPSHOT_INVALID_SNAPSHOT','Injector','useDependency','_univerInstanceService','CollaborationUIEventId','SessionStatus','HTTPService','DocSkeletonManagerService','labelPosition','Error','_memberService','NO_OTHER_CLIENTS_EDITING','INotificationService','DataLoaderService','WebURLService','complete','addClipboardHook','WebBrowserSingleActiveUnitService','unshift','collabCursorState$','[LogService\x20Error]:\x20'];_0x520a=function(){return _0x285a33;};return _0x520a();}