@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd951(_0x3e2f78,_0x29cae3){_0x3e2f78=_0x3e2f78-0x1be;const _0x509803=_0x5098();let _0xd9510b=_0x509803[_0x3e2f78];return _0xd9510b;}function _0x5098(){const _0x3c2b3a=['collabStatus.offline','LOCAL_CACHE_INTERVAL','onCommandExecuted','SHEET_VIEWPORT_KEY','show','WebURLService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createElement','setActiveRange','runRefRangeMutations','_applyCommand','_docTransformIMECacheService','_updateURLWithCurrentState','some','CollaborationUIEventId','DocSelectionManagerService','isTransformMutationFailure','_injector','_range','_hideTimer','stage','status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','min','getCollabCursors$','TEXT_RANGE_LAYER_INDEX','reconnect','whenReady','height','registerRenderModule','entityInit$','useRef','map','_selfUnitIDs','source','_updateLocalCursor','_removeClearOtherTimer','DeleteRangeMoveUpCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','urlChange$','_render','UNIVER_DOC','LOCAL_CACHE_INTERVAL_KEY','connectInjector','createIdentifier','EffectRefRangId','_scene','set','eventID','add','split','Shape','all','debounceTime','fillRule','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','CLOSE_ROOM','getRelativeToViewportCoord','_docTransformSelectionsService','CollaborationEvent','PENDING','univerjs-icon\x20univerjs-icon-','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','resize','_unitStatus','_setupSubUnitSync','_initDependencies','ticket','_beforeCloseService','_config','YUUMI_RATE_OVER_LIMIT','RECT','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','_drawTextRange','data','Module','_memberService','UniverDesign','ALREADY_EXISTS','_memberID','handleIRemoveCol','_httpService','UniverDocsUi','ISocketService','UniverCore','getCellPositionByOffset','distinctUntilChanged','Loading','@univerjs/sheets-ui','CURRENT_STATUS_CANNOT_OPERATE','Plugin','assignAColorForMemberID','getOwnPropertyDescriptor','isFormulaString','IBeforeCloseService','round','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','enableLocalCache','CollaborationStatus','/universer-api/frontend/logs','Vector2','values','onPointerEnter$','blue.400','docStateChange$','lineTo','endColumn','error','TOO_MANY_REQUESTS','location','currentSkeleton$','replace','_urlService','ENTITLE_COUPON_USED_UP','_sheetSkeletonManagerService','startsWith','off-line-icon_clip0_910_343','_univerInstanceService','_onCursorDelete','41184pbxaDL','_pollingInterval','collabCursorState$','_status$','_onRefRangeChange','black','subunit','@univerjs/ui','origin','DependentOn','send','_docSyncEditingCollabCursorService','_textBubble','getDocRanges','MemberService','transformSelections','cursorInfo$','getFocusedUnit','_collabCursorController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toRgbString','dispose','m2Prime','DisposableCollection','focused$','InsertRangeMoveDownCommandId','hide','setUndoRedoMutationParamsCache','clsx','_instanceService','deepClone','UnitStatus','collabStatus.fetchMiss','IMessageService','getActiveSheet','_refreshCollabCursors','APPLY_REVISION_CONFILICT','getCellMatrix','getSheetBySheetId','\x20at\x20','_docSkeletonManagerService','formula.calculation.started','collabStatus.syncing','collabStatus.notCollab','[Window\x20Error]:\x20','Subject','UNAUTHENTICATED','DeleteRangeMoveLeftCommandId','init','_startDocCollabCursor','_commandService','13HHySZA','RemoteUniscriptService','getUnitStatus$','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','YUUMI_NO_CUBOID_FOR_QUESTION','_currentUsage','setInterval','_transformUndoRedoStack','_hover','toStringTag','ColorKit','transformMutationsWithChangeset','syncEditingCollabCursor','_handleJoinEvent','getRenderById','mapTo','permission.content','createSocket','reason','throttleTime','_id','Unknown\x20user','setItem','_name','_handleHeartbeatEvent','SetDocZoomRatioOperation','RxDisposable','fillText','@univerjs-pro/collaboration-client','_collabSessionService','rgba(255,\x20255,\x20255,\x200.01)','now','InsertRangeMoveRightCommandId','ISnapshotServerService','Optional','LICENSE_MAX_UNITS_EXCEEDED','undoState','_docClipboardService','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','transformRemoteChangeset','green.600','@univerjs/engine-formula','@univerjs/sheets','_docSkeleton','permission.title','YUUMI_UNABLE_LOAD_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endRow','transformStateCache','collaboration.closeRoom','HEADER_MENU','clearTimeout','switchMap','_notificationService','SNAPSHOT_HAS_BEEN_REMOVED','assign','imageSourceType','/universer-api/license/formula/limit/done','_syncEditingCollabCursorService','_drawRectRange','/run/','_anchorDot','Disposable','sessionTicket','SOCKET_FAILED_RETRY','popstate','423SnGbxk','react/jsx-runtime','ThemeService','arc','IURLService','RichTextEditingMutation','stageInfo','AWAITING_WITH_PENDING','find','actions','_clearPolling','_online','_handleLeaveEvent','SetFormulaCalculationStartMutation','REDEMPTION_CODE_NOT_STARTED','getCurrentRevOfUnit','with','getUniverSheetInstance','_transformPreviousActiveRange','ENTITLE_COUPON_EXPIRED','handleInsertRangeMoveDown','http://www.w3.org/2000/svg','post','LOGIN_TOKEN_PROCESSING_FAILED','jsxs','REDEMPTION_USER_NOT_ELIGIBLE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_startCalculationLimit','font','_startSheetCollabCursor','[Unhandled\x20Rejection]:\x20','0\x200\x2017\x2016','UniverProCollaborationClient','application/json','getAncestorScale','_logService','catch','shift','socket$','WECHAT_HAS_BEEN_BOUND','_imageIoService','unload','@univerjs/network','_labelPosition','getMember','addObjects','ILogService','_collaborationSessionService','url(#off-line-icon_clip0_910_343)','Tools','ENTITLE_NEED_BILLING_ADDRESS','contains','_toggleOnline','restore','_checkAndWaitForCalculationPermission','exhaustSavingTask','rxjs','transform','dirtyRanges','Success','collaboration-client-ui.config','collabStatus.conflict','@univerjs/design','Injector','4200192dUyIbO','Error','_collaborationUIEventService','SOCKET_FAILED','INVITE_CODE_HAS_BEEN_UES','search','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','drawWith','size','unhandledrejection','_anchor','enableFrontendLog','sheetId','SetSelectionsOperation','getMergeData','formula.calculation.unable','collaboration.offline-data-not-saved','ITransformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','includes','DOC_RANGE_TYPE','_initEntityListener','_localStorageService','takeUntil','_maxFormulaLimit','REDEMPTION_CODE_FULLY_REDEEMED','m1Prime','unitId','subUnitId','unsubscribe','_eventUnsubscribe','UPDATE_CURSOR','CONFLICT','SetTextSelectionsOperation','MoveRangeCommandId','_lastResponseTimestamp','OffLineIcon','selection','_init','RegularPolygon','body','UniverCollaborationClientPlugin','closePath','fromEvent','from','_releaseCalculationLimit','trim','INTERNAL_ERROR','loadOfflineData','amd','red.300','_roomMembers$','color','subscribe','combineLatest','current','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initWindowErrorListener','_draw','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','saveOfflineData','getCurrentUnitForType','releaseFormulaLimitUrl','fill','getCurrent','_transformService','length','defs','Rect','[CollaborationDataLoaderController]','setShapeProps','_taskIds','collaboration.single-unit.warning','deserializeRangeWithSheet','onRendered','runId','UniverIcon','UniverSheets','unshift','APPLY_DUPLICATED','_clearOtherTimers','event$','_refRangeService','flatMap','params','text','UniverUi','registerComponent','width','history','YUUMI_ALL_TABLES_IS_INVALID','_setFormulaLimitStatus','get','onPointerMove$','startFormulaLimitUrl','getViewport','function','InsertRowCommandId','getMemberID','getItem','OnLineIcon','Workbook','activeSheet$','yellow.400','BuiltInUIPart','react','UNDEFINED','_renderManagerService','addObject','redoState','_cursors','colorChannel1','removeParam','_initUserListener','textRanges','asObservable','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_ASYNCIO_CANCELLED','ranges','transformIMECache','hovered','RevisionService','onMouseMove','href','_saveTaskMap','_getFormulaLimitStatus','disableLocalCache','_uiPartsService','UniverSheetsUi','handleInsertRangeMoveRight','ONLINE','getActiveRange','substring','xlink:href','@univerjs/core','key','TEXT','string','setConfig','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_saveCache','NOT_COLLAB','stack','SNAPSHOT_INVALID_SNAPSHOT','touchDependencies','replaceState','INVALID_ARGUMENT','currentColor','makeDirty','fromEventSubject','startRow','debounce','registerBeforeClose','div','bottom','BehaviorSubject','FormulaExecutedStateType','0\x200\x2016\x2016','_disabled','displayName','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','invokeId','engine','setStateCache','jsx','moveTo','USER_NOT_INVITED_CODE','override','addHandlerCallback','getUnhiddenWorksheets','findNodePositionByCharIndex','setAlpha','getSheetObject','ILocalCacheService','idSuffix','getConfig','translate(.97)','_messageService','mask','on-line-icon_clip0_910_349','join','on-line-icon','REDEMPTION_INVALID_CODE','DocCollaborationEntity','_checkCalculationAvailable','_backgroundColor','complete','1em','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_assignedColors','delete','subscribeEvent','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REJECT','session.collaboration-timeout','_initResize','_localCacheService','has','parse','createInstance','ENSURE_SNAPSHOT_EXECUTION','_themeService','forEach','UniverEngineRender','uni.network.url-service','_dataLoaderService','updateOfflineData','NodePositionConvertToRectRange','[LogService\x20Error]:\x20','functionsExecutedState','UNRECOGNIZED','MessageType','_scheduleSaving','ENTITLE_INSUFFICIENT_QUOTA','addEventListener','getSkeleton','CollaborationSessionService','_send','114YzTssk','_drawAnchor','startColumn','UniverInstanceType','_getSaveTimeout','FormulaExecuteStageType','merge','MOBILE_HAS_BEEN_BOUND','clipPath','_initCommandExecutedListener','596540TASByU','removeEventListener','CollaborationController','sessionStatus$','IConfigService','ENTITLE_INVALID_COUPON_CODE','symbol','_cursorInfo$','_getScale','...','33006eySUYm','UniverCollaborationClientUIPlugin','UniverNetwork','svg','useDependency','_uploadLog','_heartbeatTimer','138068EgwACc','173250slbiPT','transformMutation','_scheduleHeartbeat','LICENSE_IMPORT_SIZE_EXCEEDED','skeleton','2235832Niblkg','DocIMEInputManagerService','IRenderManagerService','IImageIoService','APPLY_NON_SEQUENTIAL_REVISION','roomMembers','limitInfo','_updateCollabCursors','code','getSheetId','SetWorksheetActivateCommand','CONNECTOR_DATA_TOO_LARGE','UniverEngineFormula','BrowserCollaborationSocketService','registerRefRange','M0\x200H16V16H0z','_onCursorUpdate','_colorAssignService','getCoordByCell','RemoveColCommandId','DocStateChangeManagerService','getCurrentSelections','REDEMPTION_CODE_INACTIVE','DesktopCollaborationStatusDisplayController','currentUsage','_initCommandInterceptor','unitID','parseInt','NOT_FOUND','USER_IS_ANONYMOUS','UNIVER_SHEET','onPointerLeave$','useCallback','SetFormulaCalculationNotificationMutation','_getSheetObject','then','debug','range','_doCreateSocket','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CHANGESET_REVISION_CONFILICT','_handleHover','_createSocketURL','UniverDrawing','UniverRpc','RemoveRowCommandId','COMPLETION_FINISHED','shareReplay','NO_OTHER_CLIENTS_EDITING','HTTPService','VIEW_MAIN','name','url(#on-line-icon_clip0_910_349)','IDocClipboardService','_entityInit$','_unitOnClients','collab-rect-range-','_cursorShapes','FromArray','_session','editingUnit','disposeWithMe','triggerDblclick','stringify','bind','random','getColorFromTheme','evenodd','getStateCache','@univerjs/docs-ui','fillStyle','_collaborationController','ERROR_AGAIN','mutations','jiqing.500','UniverProCollaborationClientUi','transformByState','attrs','_removeCollabCursors','exports','getColor','_ensureSubject','_colorIndex','_context','next','_configService','generateRandomId','entries','_hovered','save','pushState','_monkeyPatchLogService','getLocalCacheKey','replaceDocRanges','row','OFFLINE','SheetsSelectionsService','_lastPointer','_entities','memberID','#FFF','IUniverInstanceService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DATA_SOURCE_TOO_LARGE','_getAnchorBounding','_docTransformStateCacheService','CommandType','INVALID_INVITE_CODE','CollaborationSocketService','_toggleOffline','_shapes','UniverDocs','_setupBeforeClosingHandler','push','WebBrowserSingleActiveUnitService','getParam','COLORS','column','Failed','beginPath','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_AI_RUN_FAILED','_showGuardMessage','runOnServer','_updateSubUnitFromURLParams','_docStateChangeManagerService','searchParams','totalFormulasToCalculate','dispose$','type','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','currentTheme$','collab-text-anchor-','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_transformHistoryAndStateStack','_initStatusComponent','backgroundColor','/universer-api/license/formula/limit/start','setTimeout','getUnitId','tag','@univerjs-pro/collaboration','saveTaskMap','defineProperty','object','_initStatusListener','_cursor','maxFormulaLimit','path','isActive','measureText','_document','_registerRenderDependencies','ICommandService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','executionId','_revisionService','useObservable','message','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','React','LOGIN_FAILED','white','saveImage','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','pipe','_cachedData','cursorInfo','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','url(#$1','USER_NOT_FOUND','roomMembers$','JOIN_ROOM_FAILED','LocaleService','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','toString','none','_color','PERMISSION_DENIED','Inject','INotificationService','ENTITLE_CHAT_LIMIT_EXCEED'];_0x5098=function(){return _0x3c2b3a;};return _0x5098();}(function(_0x287316,_0x5b1030){const _0xc1aa93=_0xd951,_0x173688=_0x287316();while(!![]){try{const _0x5e5873=-parseInt(_0xc1aa93(0x3ef))/0x1*(parseInt(_0xc1aa93(0x271))/0x2)+-parseInt(_0xc1aa93(0x3bc))/0x3+parseInt(_0xc1aa93(0x27e))/0x4+-parseInt(_0xc1aa93(0x267))/0x5+parseInt(_0xc1aa93(0x25d))/0x6*(parseInt(_0xc1aa93(0x278))/0x7)+parseInt(_0xc1aa93(0x475))/0x8+-parseInt(_0xc1aa93(0x434))/0x9*(parseInt(_0xc1aa93(0x279))/0xa);if(_0x5e5873===_0x5b1030)break;else _0x173688['push'](_0x173688['shift']());}catch(_0x19e397){_0x173688['push'](_0x173688['shift']());}}}(_0x5098,0x487b8),function(_0x57b525,_0x273d66){const _0x31a82e=_0xd951;typeof exports==_0x31a82e(0x315)&&typeof module<'u'?_0x273d66(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==_0x31a82e(0x1e2)&&define[_0x31a82e(0x4ab)]?define([_0x31a82e(0x2ce),_0x31a82e(0x435),_0x31a82e(0x40c),_0x31a82e(0x208),_0x31a82e(0x3c3),'rxjs',_0x31a82e(0x473),_0x31a82e(0x1eb),'@univerjs/rpc',_0x31a82e(0x41c),'@univerjs/engine-render',_0x31a82e(0x45f),_0x31a82e(0x2c4),'@univerjs/drawing',_0x31a82e(0x312),'@univerjs/docs',_0x31a82e(0x41b),'rxjs/operators',_0x31a82e(0x39c)],_0x273d66):(_0x57b525=typeof globalThis<'u'?globalThis:_0x57b525||self,_0x273d66(_0x57b525[_0x31a82e(0x2ca)]={},_0x57b525[_0x31a82e(0x326)],_0x57b525[_0x31a82e(0x455)],_0x57b525[_0x31a82e(0x398)],_0x57b525[_0x31a82e(0x1d8)],_0x57b525[_0x31a82e(0x46d)],_0x57b525[_0x31a82e(0x391)],_0x57b525['React'],_0x57b525[_0x31a82e(0x2ab)],_0x57b525[_0x31a82e(0x1cf)],_0x57b525[_0x31a82e(0x24e)],_0x57b525[_0x31a82e(0x273)],_0x57b525[_0x31a82e(0x396)],_0x57b525[_0x31a82e(0x2aa)],_0x57b525['UniverProCollaboration'],_0x57b525[_0x31a82e(0x2ee)],_0x57b525[_0x31a82e(0x28a)],_0x57b525['rxjs']['operators'],_0x57b525[_0x31a82e(0x202)]));}(this,function(_0x40352c,_0x13857f,_0x3958ea,_0x40624a,_0x8e6f8f,_0x5b38f4,_0x4e15c3,_0xd4880e,_0xd8d89c,_0x411621,_0x2680b3,_0x42d795,_0x118be2,_0x39a6e5,_0x2c324c,_0x3f3b23,_0x100a4f,_0x23a207,_0x383790){'use strict';const _0x295e11=_0xd951;var _0x52273e=Object[_0x295e11(0x314)],_0x1ef35f=(_0x5532b3,_0xd23dcd,_0x5194f6)=>_0xd23dcd in _0x5532b3?_0x52273e(_0x5532b3,_0xd23dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5194f6}):_0x5532b3[_0xd23dcd]=_0x5194f6,_0x9020b=(_0x19606b,_0x2cf3a6,_0x43941c)=>_0x1ef35f(_0x19606b,typeof _0x2cf3a6!=_0x295e11(0x26d)?_0x2cf3a6+'':_0x2cf3a6,_0x43941c);function _0x131739({ref:_0xca56b2,..._0x76c429}){const _0x376ae8=_0x295e11,{icon:_0x85921,id:_0x360fe0,className:_0x1a9603,extend:_0x16bfad,..._0xac3fef}=_0x76c429,_0x1301a7=(_0x376ae8(0x37f)+_0x360fe0+'\x20'+(_0x1a9603||''))[_0x376ae8(0x4a8)](),_0x2a7704=_0xd4880e[_0x376ae8(0x360)]('_'+_0x4a4889());return _0x39d872(_0x85921,''+_0x360fe0,{'defIds':_0x85921['defIds'],'idSuffix':_0x2a7704[_0x376ae8(0x4b1)]},{'ref':_0xca56b2,'className':_0x1301a7,..._0xac3fef},_0x16bfad);}function _0x39d872(_0xb6893a,_0x2d2188,_0xb6e0a2,_0x470ea3,_0x3f876c){const _0x2eb4a0=_0x295e11;return _0xd4880e[_0x2eb4a0(0x347)](_0xb6893a['tag'],{'key':_0x2d2188,..._0x4a7ab4(_0xb6893a,_0xb6e0a2,_0x3f876c),..._0x470ea3},(_0x3b45e4(_0xb6893a,_0xb6e0a2)[_0x2eb4a0(0x357)]||[])[_0x2eb4a0(0x361)]((_0x3c3a8f,_0xf1c516)=>_0x39d872(_0x3c3a8f,_0x2d2188+'-'+_0xb6893a[_0x2eb4a0(0x311)]+'-'+_0xf1c516,_0xb6e0a2,void 0x0,_0x3f876c)));}function _0x4a7ab4(_0x1e8845,_0x6642f6,_0x472910){const _0x2289af=_0x295e11,_0x41dcf0={..._0x1e8845['attrs']};_0x472910!=null&&_0x472910['colorChannel1']&&_0x41dcf0[_0x2289af(0x1c1)]===_0x2289af(0x1f1)&&(_0x41dcf0[_0x2289af(0x1c1)]=_0x472910[_0x2289af(0x1f1)]),_0x1e8845[_0x2289af(0x311)]===_0x2289af(0x234)&&_0x41dcf0['id']&&(_0x41dcf0['id']=_0x41dcf0['id']+_0x6642f6['idSuffix']),Object[_0x2289af(0x2d6)](_0x41dcf0)[_0x2289af(0x24d)](([_0xcb21f,_0x16c5ac])=>{const _0x577462=_0x2289af;_0xcb21f===_0x577462(0x234)&&typeof _0x16c5ac==_0x577462(0x20b)&&(_0x41dcf0[_0xcb21f]=_0x16c5ac['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6642f6['idSuffix']+')'));});const {defIds:_0x5d9336}=_0x6642f6;return!_0x5d9336||_0x5d9336[_0x2289af(0x1c4)]===0x0||(_0x1e8845[_0x2289af(0x311)]==='use'&&_0x41dcf0['xlink:href']&&(_0x41dcf0[_0x2289af(0x207)]=_0x41dcf0['xlink:href']+_0x6642f6[_0x2289af(0x230)]),Object['entries'](_0x41dcf0)[_0x2289af(0x24d)](([_0x29a382,_0x6b1f68])=>{const _0x5ce6b7=_0x2289af;typeof _0x6b1f68==_0x5ce6b7(0x20b)&&(_0x41dcf0[_0x29a382]=_0x6b1f68[_0x5ce6b7(0x3b4)](/url\(#(.*)\)/,_0x5ce6b7(0x332)+_0x6642f6[_0x5ce6b7(0x230)]+')'));})),_0x41dcf0;}function _0x3b45e4(_0x57adee,_0x20b1ae){const _0x47902b=_0x295e11;var _0x124c7f;const {defIds:_0x25813d}=_0x20b1ae;return!_0x25813d||_0x25813d[_0x47902b(0x1c4)]===0x0?_0x57adee:_0x57adee['tag']===_0x47902b(0x1c5)&&((_0x124c7f=_0x57adee[_0x47902b(0x357)])!=null&&_0x124c7f[_0x47902b(0x1c4)])?{..._0x57adee,'children':_0x57adee['children'][_0x47902b(0x361)](_0x498124=>typeof _0x498124[_0x47902b(0x2cc)]['id']==_0x47902b(0x20b)&&_0x25813d&&_0x25813d[_0x47902b(0x48d)](_0x498124[_0x47902b(0x2cc)]['id'])?{..._0x498124,'attrs':{..._0x498124[_0x47902b(0x2cc)],'id':_0x498124[_0x47902b(0x2cc)]['id']+_0x20b1ae['idSuffix']}}:_0x498124)}:_0x57adee;}function _0x4a4889(){const _0x70cca9=_0x295e11;return Math[_0x70cca9(0x2c0)]()[_0x70cca9(0x339)](0x24)[_0x70cca9(0x206)](0x2,0x8);}_0x131739[_0x295e11(0x221)]=_0x295e11(0x1ce);const _0x5901d5={'tag':_0x295e11(0x274),'attrs':{'xmlns':_0x295e11(0x449),'fill':_0x295e11(0x33a),'viewBox':_0x295e11(0x21f),'width':_0x295e11(0x23d),'height':_0x295e11(0x23d)},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x465)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':_0x295e11(0x3b9)},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':'white','d':_0x295e11(0x28d)}}]}]}],'defIds':[_0x295e11(0x3b9)]},_0x5590f2=_0xd4880e['forwardRef'](function(_0x4f8aa6,_0x36dca2){const _0xa355de=_0x295e11;return _0xd4880e[_0xa355de(0x347)](_0x131739,Object[_0xa355de(0x429)]({},_0x4f8aa6,{'id':_0xa355de(0x242),'ref':_0x36dca2,'icon':_0x5901d5}));});_0x5590f2[_0x295e11(0x221)]=_0x295e11(0x49e);const _0xe8835b={'tag':'svg','attrs':{'xmlns':_0x295e11(0x449),'fill':'none','viewBox':_0x295e11(0x454),'width':_0x295e11(0x23d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x2b3)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':_0x295e11(0x4b6),'strokeLinecap':_0x295e11(0x3a3),'strokeLinejoin':_0x295e11(0x3a3),'strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':_0x295e11(0x328),'d':_0x295e11(0x28d),'transform':_0x295e11(0x232)}}]}]}],'defIds':[_0x295e11(0x235)]},_0x52040c=_0xd4880e['forwardRef'](function(_0x2250c3,_0x43e22f){const _0x53fe98=_0x295e11;return _0xd4880e[_0x53fe98(0x347)](_0x131739,Object['assign']({},_0x2250c3,{'id':_0x53fe98(0x237),'ref':_0x43e22f,'icon':_0xe8835b}));});_0x52040c[_0x295e11(0x221)]=_0x295e11(0x1e6);function _0x2f1c0b(_0x1ffd1e){const _0x51dc1a=_0x295e11;switch(_0x1ffd1e){case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x2de)]:return _0x51dc1a(0x340);case _0x3958ea[_0x51dc1a(0x3a7)]['CONFLICT']:return _0x51dc1a(0x472);case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x30a)]:return _0x51dc1a(0x3dc);case _0x3958ea[_0x51dc1a(0x3a7)]['NOT_COLLAB']:return _0x51dc1a(0x3e7);case _0x3958ea['CollaborationStatus']['AWAITING']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x43b)]:return _0x51dc1a(0x3e6);case _0x3958ea[_0x51dc1a(0x3a7)]['SYNCED']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x37e)]:return'collabStatus.synced';}}function _0xcd213(_0x1b6a2c){const _0x2bc7f5=_0x295e11,{status$:_0x436ae1}=_0x1b6a2c,_0x495ca0=_0x8e6f8f[_0x2bc7f5(0x322)](_0x436ae1,_0x3958ea['CollaborationStatus'][_0x2bc7f5(0x20f)]),_0x340eec=_0x8e6f8f['useDependency'](_0x40624a[_0x2bc7f5(0x336)]),_0x5cfd52=_0x8e6f8f[_0x2bc7f5(0x275)](_0x3958ea[_0x2bc7f5(0x25b)]),_0x3d8e3b=_0x495ca0!==_0x3958ea[_0x2bc7f5(0x3a7)]['OFFLINE'],_0x482001=_0x340eec['t'](_0x2f1c0b(_0x495ca0)),_0x164598=_0x3d8e3b?_0x13857f[_0x2bc7f5(0x226)](_0x52040c,{}):_0x13857f[_0x2bc7f5(0x226)](_0x5590f2,{}),_0x13c59d=_0xd4880e[_0x2bc7f5(0x29e)](()=>{const _0x38d741=_0x2bc7f5;_0x3d8e3b||_0x5cfd52[_0x38d741(0x35b)]();},[_0x3d8e3b,_0x5cfd52]);function _0x2e0147(){const _0xb30c2d=_0x2bc7f5;return _0x13857f[_0xb30c2d(0x44c)](_0xb30c2d(0x21b),{'className':'univer-flex\x20univer-items-center','onClick':_0x13c59d,'children':[_0x13857f[_0xb30c2d(0x226)](_0xb30c2d(0x21b),{'className':_0x4e15c3[_0xb30c2d(0x3d8)](_0xb30c2d(0x1f6),{'univer-text-green-500':_0x3d8e3b,'univer-text-red-500':!_0x3d8e3b}),'children':_0x164598}),_0x13857f[_0xb30c2d(0x226)]('div',{'className':_0xb30c2d(0x2a6),'children':_0x482001})]});}return _0x3d8e3b?_0x2e0147():_0x13857f[_0x2bc7f5(0x226)](_0x4e15c3['Tooltip'],{'title':_0x340eec['t']('collab-client.tooltip.reconnect'),'children':_0x2e0147()});}var _0x12011b=Object[_0x295e11(0x3a0)],_0x168c30=(_0x2ae7c1,_0xd94130,_0x39c76e,_0x9fb07e)=>{const _0x548137=_0x295e11;for(var _0x1022bb=_0x9fb07e>0x1?void 0x0:_0x9fb07e?_0x12011b(_0xd94130,_0x39c76e):_0xd94130,_0x35bcdb=_0x2ae7c1[_0x548137(0x1c4)]-0x1,_0x258a3c;_0x35bcdb>=0x0;_0x35bcdb--)(_0x258a3c=_0x2ae7c1[_0x35bcdb])&&(_0x1022bb=_0x258a3c(_0x1022bb)||_0x1022bb);return _0x1022bb;},_0x1e8573=(_0x43b099,_0x25030e)=>(_0x7067a,_0x705bdc)=>_0x25030e(_0x7067a,_0x705bdc,_0x43b099);_0x40352c['DesktopCollaborationStatusDisplayController']=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x391501,_0x5997cb,_0x5e9bdb,_0xbc69da){const _0x53a496=_0x295e11;super(),_0x9020b(this,'_status$',new _0x5b38f4['BehaviorSubject'](_0x3958ea[_0x53a496(0x3a7)][_0x53a496(0x20f)])),(this[_0x53a496(0x3ba)]=_0x391501,this[_0x53a496(0x351)]=_0x5997cb,this['_collaborationController']=_0x5e9bdb,this[_0x53a496(0x201)]=_0xbc69da,this[_0x53a496(0x30c)](),this['_initStatusListener']());}[_0x295e11(0x316)](){const _0x32a44f=_0x295e11;this[_0x32a44f(0x2bc)](this[_0x32a44f(0x3ba)][_0x32a44f(0x3d4)][_0x32a44f(0x32d)](_0x5b38f4[_0x32a44f(0x426)](()=>{const _0x1b9a06=_0x32a44f,_0x2517cd=this[_0x1b9a06(0x3ba)][_0x1b9a06(0x3cd)]();return _0x2517cd?this[_0x1b9a06(0x2c6)]['getCollabEntity$'](_0x2517cd[_0x1b9a06(0x310)]()):_0x5b38f4['of'](null);}),_0x5b38f4['switchMap'](_0x4ca2fe=>_0x4ca2fe?_0x4ca2fe[_0x32a44f(0x355)]:_0x5b38f4['of'](_0x3958ea[_0x32a44f(0x3a7)]['NOT_COLLAB'])))[_0x32a44f(0x4af)](_0x253c97=>{const _0x1dbc8e=_0x32a44f;this[_0x1dbc8e(0x3bf)][_0x1dbc8e(0x2d3)](_0x253c97);}));}[_0x295e11(0x30c)](){const _0x54a419=_0x295e11;this[_0x54a419(0x2bc)](this[_0x54a419(0x201)][_0x54a419(0x1d9)](_0x8e6f8f[_0x54a419(0x1ea)][_0x54a419(0x424)],()=>_0x8e6f8f[_0x54a419(0x36c)](_0x41185c({'status$':this['_status$'][_0x54a419(0x1f5)]()}),this['_injector'])));}},_0x40352c[_0x295e11(0x295)]=_0x168c30([_0x1e8573(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x1e8573(0x1,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1e8573(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x1e8573(0x3,_0x8e6f8f['IUIPartsService'])],_0x40352c[_0x295e11(0x295)]);function _0x41185c(_0x52c9ae){const {status$:_0x44ad9c}=_0x52c9ae;return function(){return _0x13857f['jsx'](_0xcd213,{'status$':_0x44ad9c});};}const _0x6adebe=_0x40624a[_0x295e11(0x36d)](_0x295e11(0x24f));var _0x42923e=Object[_0x295e11(0x3a0)],_0x2a106a=(_0x1e7ffc,_0x5503fa,_0x5cc529,_0xde3492)=>{const _0x214063=_0x295e11;for(var _0x5c6e79=_0xde3492>0x1?void 0x0:_0xde3492?_0x42923e(_0x5503fa,_0x5cc529):_0x5503fa,_0x1307ae=_0x1e7ffc[_0x214063(0x1c4)]-0x1,_0x76634d;_0x1307ae>=0x0;_0x1307ae--)(_0x76634d=_0x1e7ffc[_0x1307ae])&&(_0x5c6e79=_0x76634d(_0x5c6e79)||_0x5c6e79);return _0x5c6e79;},_0x592fe8=(_0x4dc3cd,_0x2b9a45)=>(_0x553803,_0x22066f)=>_0x2b9a45(_0x553803,_0x22066f,_0x4dc3cd);_0x40352c[_0x295e11(0x301)]=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1b2fa9,_0x3c9bd7,_0x3bc1d3,_0x38a27a,_0x531ae1){const _0x17777a=_0x295e11;super(),this[_0x17777a(0x3b5)]=_0x1b2fa9,this[_0x17777a(0x458)]=_0x3c9bd7,this[_0x17777a(0x3ee)]=_0x3bc1d3,this['_dataLoaderService']=_0x38a27a,_0x531ae1?_0x531ae1==null||_0x531ae1[_0x17777a(0x35c)]()[_0x17777a(0x2a1)](()=>this[_0x17777a(0x4a0)]()):(this[_0x17777a(0x458)][_0x17777a(0x2a2)](_0x17777a(0x1c7),_0x17777a(0x44e)),this[_0x17777a(0x4a0)]());}async['_init'](){const _0x4ce2cd=_0x295e11,_0x4492e0=this['_urlService'][_0x4ce2cd(0x2f2)]('unit'),_0x52bd08=this[_0x4ce2cd(0x3b5)][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x300)),_0x40146a=this['_urlService'][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x3c2));if(!_0x4492e0||!_0x52bd08){this['_logService'][_0x4ce2cd(0x2a2)](_0x4ce2cd(0x1c7),_0x4ce2cd(0x3a4));return;}const _0x41d800=await this[_0x4ce2cd(0x250)]['loadUnit'](_0x4492e0,Number(_0x52bd08),_0x40146a);_0x41d800&&_0x41d800 instanceof _0x40624a[_0x4ce2cd(0x1e7)]&&this[_0x4ce2cd(0x384)](_0x41d800);}async[_0x295e11(0x384)](_0x562653){const _0x461bd0=_0x295e11;await this['_updateSubUnitFromURLParams'](_0x562653),_0x562653[_0x461bd0(0x1e8)]['pipe'](_0x5b38f4[_0x461bd0(0x491)](this[_0x461bd0(0x2ff)]))[_0x461bd0(0x4af)](_0xcfca4f=>{const _0x25c174=_0x461bd0;_0xcfca4f&&this[_0x25c174(0x34c)](_0xcfca4f);}),this[_0x461bd0(0x3b5)][_0x461bd0(0x368)][_0x461bd0(0x32d)](_0x5b38f4[_0x461bd0(0x491)](this['dispose$']))[_0x461bd0(0x4af)](()=>this[_0x461bd0(0x2fb)](_0x562653));}[_0x295e11(0x34c)](_0x114e33,_0x41669a=!0x1){const _0x84637e=_0x295e11,_0xe85f69=this[_0x84637e(0x3b5)]['getParam'](_0x84637e(0x3c2));_0x114e33['getSheetId']()!==_0xe85f69&&this[_0x84637e(0x3b5)]['setParam']('subunit',_0x114e33[_0x84637e(0x287)](),_0x41669a);}async['_updateSubUnitFromURLParams'](_0x26aece){const _0x2c758e=_0x295e11;var _0x5bad2b;const _0x1690ab=this['_urlService']['getParam']('subunit');if(!_0x1690ab||!_0x26aece['getSheetBySheetId'](_0x1690ab)){const _0x5e1680=_0x26aece[_0x2c758e(0x22b)]()[0x0],_0x5b2d25=_0x26aece[_0x2c758e(0x3e2)](_0x5e1680);if(!_0x5b2d25)return;this[_0x2c758e(0x34c)](_0x5b2d25,!0x0),await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece['getUnitId'](),'subUnitId':_0x5e1680});return;}((_0x5bad2b=_0x26aece[_0x2c758e(0x3de)]())==null?void 0x0:_0x5bad2b['getSheetId']())!==_0x1690ab&&await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece[_0x2c758e(0x310)](),'subUnitId':_0x1690ab});}},_0x40352c[_0x295e11(0x301)]=_0x2a106a([_0x592fe8(0x0,_0x6adebe),_0x592fe8(0x1,_0x40624a['ILogService']),_0x592fe8(0x2,_0x40624a[_0x295e11(0x31e)]),_0x592fe8(0x3,_0x40624a['Inject'](_0x3958ea['DataLoaderService'])),_0x592fe8(0x4,_0x40624a[_0x295e11(0x412)](_0xd8d89c['IRemoteInstanceService']))],_0x40352c[_0x295e11(0x301)]);var _0x3d1fbf=Object[_0x295e11(0x3a0)],_0x23df43=(_0x2c8cd8,_0x4dfc0f,_0x1078d4,_0x2a945f)=>{const _0x4c0641=_0x295e11;for(var _0x31108d=_0x2a945f>0x1?void 0x0:_0x2a945f?_0x3d1fbf(_0x4dfc0f,_0x1078d4):_0x4dfc0f,_0x3d14b5=_0x2c8cd8[_0x4c0641(0x1c4)]-0x1,_0x2d7fb9;_0x3d14b5>=0x0;_0x3d14b5--)(_0x2d7fb9=_0x2c8cd8[_0x3d14b5])&&(_0x31108d=_0x2d7fb9(_0x31108d)||_0x31108d);return _0x31108d;},_0x52f7c2=(_0x22a71c,_0x40e784)=>(_0x13c049,_0x1fe269)=>_0x40e784(_0x13c049,_0x1fe269,_0x22a71c);let _0x47f626=class extends _0x40624a['RxDisposable']{constructor(_0x302379,_0xcd4b90){const _0x3f6b21=_0x295e11;super(),this[_0x3f6b21(0x415)]=_0x302379,this['_imageIoService']=_0xcd4b90,this[_0x3f6b21(0x4a0)]();}['_init'](){const _0x55319d=_0x295e11,_0x1ab0a9=this;this[_0x55319d(0x2bc)](this[_0x55319d(0x415)]['addClipboardHook']({'onBeforePasteImage':async _0x277c93=>{const _0x3910a2=_0x55319d,_0x49c372=await _0x1ab0a9[_0x3910a2(0x45d)][_0x3910a2(0x329)](_0x277c93);return _0x49c372?{'source':_0x49c372[_0x3910a2(0x363)],'imageSourceType':_0x49c372[_0x3910a2(0x42a)]}:null;}}));}};_0x47f626=_0x23df43([_0x52f7c2(0x0,_0x118be2[_0x295e11(0x2b4)]),_0x52f7c2(0x1,_0x39a6e5[_0x295e11(0x281)])],_0x47f626);const _0x5a4b3c=['purple.300',_0x295e11(0x2c9),_0x295e11(0x41a),_0x295e11(0x4ac),_0x295e11(0x3ac),_0x295e11(0x1e9)];class _0x2d4f99 extends _0x40624a[_0x295e11(0x430)]{constructor(){const _0x4bea10=_0x295e11;super(...arguments),_0x9020b(this,'_assignedColors',new Map()),_0x9020b(this,_0x4bea10(0x2d1),0x0);}[_0x295e11(0x39f)](_0x244c72){const _0x516272=_0x295e11;if(this[_0x516272(0x23f)][_0x516272(0x248)](_0x244c72))return this[_0x516272(0x23f)][_0x516272(0x1de)](_0x244c72);const _0x1a80ba=_0x5a4b3c[this[_0x516272(0x2d1)]];return this[_0x516272(0x2d1)]=(this[_0x516272(0x2d1)]+0x1)%_0x5a4b3c[_0x516272(0x1c4)],this['_assignedColors']['set'](_0x244c72,_0x1a80ba),_0x1a80ba;}}function _0x102844(_0x17dfa0){const _0x5ebeb7=_0x295e11;let _0xf102be='';for(const _0x21d1f8 of _0x17dfa0){const {startOffset:_0x4f2170,endOffset:_0x129770,isActive:_0x4d8e89,rangeType:_0x40628c,segmentId:_0x50c7ae,segmentPage:_0x12f649}=_0x21d1f8;_0xf102be[_0x5ebeb7(0x1c4)]&&(_0xf102be+=','),_0xf102be+=_0x4f2170+':'+_0x129770+':'+(_0x4d8e89?'1':'0')+':'+_0x40628c+':'+_0x50c7ae+':'+_0x12f649;}return _0xf102be;}function _0x58bff3(_0x51a700){const _0x1bf0df=_0x295e11,_0x21e4a0=_0x51a700[_0x1bf0df(0x373)](','),_0x1311e2=[];for(const _0x12e62a of _0x21e4a0){const [_0x4be033,_0x207bb7,_0x5c1387,_0x6963c9,_0x35316c,_0x2d12cd]=_0x12e62a[_0x1bf0df(0x373)](':');_0x1311e2[_0x1bf0df(0x2f0)]({'startOffset':Number(_0x4be033),'endOffset':Number(_0x207bb7),'collapsed':_0x4be033===_0x207bb7,'isActive':_0x5c1387==='1','rangeType':_0x6963c9===_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]?_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]:_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x38a)],'segmentId':typeof _0x35316c==_0x1bf0df(0x20b)?String(_0x35316c):'','segmentPage':Number(_0x2d12cd!=null?_0x2d12cd:-0x1)});}return _0x1311e2[_0x1bf0df(0x34d)](_0x3756f2=>_0x3756f2[_0x1bf0df(0x31a)])||(_0x1311e2[0x0][_0x1bf0df(0x31a)]=!0x0),_0x1311e2;}class _0x2a125f extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x2da0fb=_0x295e11;super(...arguments),_0x9020b(this,_0x2da0fb(0x331),new _0x5b38f4[(_0x2da0fb(0x21d))](null)),_0x9020b(this,_0x2da0fb(0x3be),this['_collabCursorState$'][_0x2da0fb(0x1f5)]());}[_0x295e11(0x3fc)](_0x9dd2f1){const _0x4c9fae=_0x295e11,{unitID:_0x231157,memberID:_0x4e6650,textRanges:_0x555a9c}=_0x9dd2f1,_0x275abd=_0x102844(_0x555a9c);if(_0x275abd==='')return;const _0x30bb1c={'unitID':_0x231157,'memberID':_0x4e6650,'selection':_0x275abd};this[_0x4c9fae(0x331)][_0x4c9fae(0x2d3)](_0x30bb1c);}}var _0x2a4222=Object[_0x295e11(0x3a0)],_0x3e0001=(_0x55520a,_0x2800cf,_0x5d7e1e,_0x2fa240)=>{const _0x1292cd=_0x295e11;for(var _0x322cbe=_0x2fa240>0x1?void 0x0:_0x2fa240?_0x2a4222(_0x2800cf,_0x5d7e1e):_0x2800cf,_0x214fd1=_0x55520a[_0x1292cd(0x1c4)]-0x1,_0x3324de;_0x214fd1>=0x0;_0x214fd1--)(_0x3324de=_0x55520a[_0x214fd1])&&(_0x322cbe=_0x3324de(_0x322cbe)||_0x322cbe);return _0x322cbe;},_0x257362=(_0x4f2bf8,_0x25dbb3)=>(_0x446402,_0xe9a420)=>_0x25dbb3(_0x446402,_0xe9a420,_0x4f2bf8);const _0x3d3736=0x12c,_0x5e6a39=0x64;let _0x3890dd=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x55503b,_0x4c0f58,_0x13026e,_0x328ad8,_0xd6fe50,_0x253ed7,_0x4c8692,_0x5c0ab0,_0x4ed639){const _0x4e266d=_0x295e11;super(),_0x9020b(this,_0x4e266d(0x43f),!0x1),_0x9020b(this,_0x4e266d(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4['BehaviorSubject'](new Map())),_0x9020b(this,_0x4e266d(0x3cc),this['_cursorInfo$'][_0x4e266d(0x1f5)]()),_0x9020b(this,'_roomMembers$',new _0x5b38f4[(_0x4e266d(0x21d))]([])),_0x9020b(this,'roomMembers$',this['_roomMembers$'][_0x4e266d(0x32d)](_0x5b38f4[_0x4e266d(0x376)](_0x3d3736))),_0x9020b(this,_0x4e266d(0x364),_0x40624a[_0x4e266d(0x219)](_0x15702c=>{const _0x2869dd=_0x4e266d,_0x2d05d2={'eventID':_0x2c324c[_0x2869dd(0x37d)][_0x2869dd(0x499)],'data':{'unitID':this[_0x2869dd(0x298)],'memberID':this[_0x2869dd(0x2ba)][_0x2869dd(0x1e4)](),'selection':_0x102844(_0x15702c)}};this['_session'][_0x2869dd(0x3c6)](_0x2d05d2,this[_0x2869dd(0x298)]);},_0x5e6a39)),(this[_0x4e266d(0x298)]=_0x55503b,this[_0x4e266d(0x2ba)]=_0x4c0f58,this[_0x4e266d(0x351)]=_0x13026e,this[_0x4e266d(0x28f)]=_0x328ad8,this[_0x4e266d(0x390)]=_0xd6fe50,this[_0x4e266d(0x42c)]=_0x253ed7,this[_0x4e266d(0x1c3)]=_0x4c8692,this[_0x4e266d(0x3ba)]=_0x5c0ab0,this[_0x4e266d(0x3ee)]=_0x4ed639);}get[_0x295e11(0x32f)](){const _0x17382f=_0x295e11;return this['_cursorInfo$'][_0x17382f(0x337)]();}get['roomMembers'](){const _0x2631be=_0x295e11;return this[_0x2631be(0x4ad)][_0x2631be(0x337)]();}['dispose'](){const _0x3e252b=_0x295e11;super[_0x3e252b(0x3d1)](),this[_0x3e252b(0x26e)][_0x3e252b(0x2d3)](new Map()),this['_cursorInfo$'][_0x3e252b(0x23c)](),this[_0x3e252b(0x4ad)][_0x3e252b(0x2d3)]([]),this['_roomMembers$'][_0x3e252b(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1edc16=_0x295e11;this[_0x1edc16(0x4a0)]||(this[_0x1edc16(0x4a0)]=!0x0,this[_0x1edc16(0x2ba)][_0x1edc16(0x26a)][_0x1edc16(0x32d)](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))['subscribe'](_0x4cca0c=>{const _0x7ed1b7=_0x1edc16;_0x4cca0c===_0x3958ea['SessionStatus'][_0x7ed1b7(0x204)]?this['_toggleOnline']():this[_0x7ed1b7(0x2ec)]();}),this[_0x1edc16(0x2ba)]['event$'][_0x1edc16(0x32d)](_0x5b38f4['takeUntil'](this[_0x1edc16(0x2ff)]))['subscribe'](_0x3409f3=>{const _0x2e2d6d=_0x1edc16,_0x529573=_0x3409f3[_0x2e2d6d(0x371)];_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3409f3),_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3409f3);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)][_0x1edc16(0x342)](_0x3bfc14=>{const _0x367677=_0x1edc16,_0x5741d1=_0x3bfc14[_0x367677(0x1d6)];_0x5741d1!=null&&this['_online']&&_0x3bfc14['id']===_0x3f3b23[_0x367677(0x49b)]['id']&&_0x5741d1['unitId']===this[_0x367677(0x298)]&&_0x5741d1['isEditing']===!0x1&&_0x5741d1['ranges'][_0x367677(0x1c4)]>0x0&&this[_0x367677(0x364)](_0x5741d1[_0x367677(0x1f8)]);})),this[_0x1edc16(0x42c)]['collabCursorState$']['pipe'](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))[_0x1edc16(0x4af)](_0x2a4d46=>{const _0xde30fa=_0x1edc16;if((_0x2a4d46==null?void 0x0:_0x2a4d46[_0xde30fa(0x298)])!==this[_0xde30fa(0x298)])return;const _0x901b06={'eventID':_0x2c324c['CollaborationEvent'][_0xde30fa(0x499)],'data':_0x2a4d46};this[_0xde30fa(0x28e)](_0x901b06);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)]['onCommandExecuted'](_0x3372f4=>{const _0x3ce016=_0x1edc16;if(_0x3372f4['params']==null)return;const _0x5c9574=_0x3372f4['params'];if(_0x3372f4['id']!==_0x3f3b23[_0x3ce016(0x439)]['id']||_0x5c9574[_0x3ce016(0x495)]!==this[_0x3ce016(0x298)])return;const _0x5786b3={'id':_0x3ce016(0x489),'params':_0x5c9574},_0x4c4f43=this[_0x3ce016(0x32f)];for(const [_0x5a7712,_0x2ecd0e]of _0x4c4f43){const _0x339304={'id':_0x3ce016(0x489),'params':{'unitId':this[_0x3ce016(0x298)],'actions':null,'textRanges':_0x2ecd0e[_0x3ce016(0x1f8)]}},_0x24577b=this[_0x3ce016(0x1c3)][_0x3ce016(0x27a)](_0x5786b3,_0x339304,!0x1);if(_0x2c324c[_0x3ce016(0x350)](_0x24577b))throw _0x24577b[_0x3ce016(0x3b0)];_0x4c4f43['set'](_0x5a7712,{..._0x2ecd0e,'ranges':_0x24577b[_0x3ce016(0x3d2)][_0x3ce016(0x1d6)][_0x3ce016(0x1f4)]});}queueMicrotask(()=>{const _0x553931=_0x3ce016;this[_0x553931(0x26e)][_0x553931(0x2d3)](_0x4c4f43);});})));}[_0x295e11(0x28e)](_0x187296){const _0x3f686f=_0x295e11;var _0x4ca474,_0x52d007;const {memberID:_0x222de6,selection:_0x888b6f}=_0x187296['data'],_0x529384=_0x58bff3(_0x888b6f),_0x46197e=(_0x52d007=(_0x4ca474=this[_0x3f686f(0x390)][_0x3f686f(0x461)](this[_0x3f686f(0x298)],_0x222de6))==null?void 0x0:_0x4ca474[_0x3f686f(0x2b2)])!=null?_0x52d007:_0x3f686f(0x405),_0x29e655={'color':this[_0x3f686f(0x28f)][_0x3f686f(0x39f)](_0x222de6),'name':_0x46197e,'ranges':_0x529384},_0x1eab11=this['cursorInfo'];_0x1eab11['set'](_0x222de6,_0x29e655),this[_0x3f686f(0x26e)][_0x3f686f(0x2d3)](_0x1eab11);}[_0x295e11(0x3bb)](_0x1bc7a9){const _0x54f6ef=_0x295e11,{memberID:_0x1f34a3}=_0x1bc7a9[_0x54f6ef(0x38e)],_0x280e18=this[_0x54f6ef(0x32f)];_0x280e18[_0x54f6ef(0x240)](_0x1f34a3),this[_0x54f6ef(0x26e)][_0x54f6ef(0x2d3)](_0x280e18);}[_0x295e11(0x469)](){const _0x44e8a8=_0x295e11;var _0x736fbe;if(this['_online']=!0x0,((_0x736fbe=this[_0x44e8a8(0x3ba)][_0x44e8a8(0x3cd)]())==null?void 0x0:_0x736fbe[_0x44e8a8(0x310)]())!==this[_0x44e8a8(0x298)])return;const _0x325e34=this[_0x44e8a8(0x351)][_0x44e8a8(0x1de)](_0x3f3b23['DocSelectionManagerService'])[_0x44e8a8(0x3c9)]();Array[_0x44e8a8(0x44f)](_0x325e34)&&_0x325e34[_0x44e8a8(0x1c4)]>0x0&&this[_0x44e8a8(0x364)](_0x325e34);}[_0x295e11(0x2ec)](){const _0x3df8b6=_0x295e11;this[_0x3df8b6(0x43f)]=!0x1;}};_0x3890dd=_0x3e0001([_0x257362(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x257362(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x257362(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x3ca)])),_0x257362(0x5,_0x40624a[_0x295e11(0x33d)](_0x2a125f)),_0x257362(0x6,_0x2c324c[_0x295e11(0x487)]),_0x257362(0x7,_0x40624a[_0x295e11(0x2e4)]),_0x257362(0x8,_0x40624a[_0x295e11(0x31e)])],_0x3890dd);var _0x4f6ccc=Object[_0x295e11(0x3a0)],_0x41cedf=(_0x4f145a,_0x397679,_0x1be8c2,_0x5174c2)=>{const _0x1cba3e=_0x295e11;for(var _0x8a633=_0x5174c2>0x1?void 0x0:_0x5174c2?_0x4f6ccc(_0x397679,_0x1be8c2):_0x397679,_0x556b21=_0x4f145a[_0x1cba3e(0x1c4)]-0x1,_0x1b4ab6;_0x556b21>=0x0;_0x556b21--)(_0x1b4ab6=_0x4f145a[_0x556b21])&&(_0x8a633=_0x1b4ab6(_0x8a633)||_0x8a633);return _0x8a633;},_0x1b052f=(_0x53d015,_0x570139)=>(_0x1c6c6b,_0x12287d)=>_0x570139(_0x1c6c6b,_0x12287d,_0x53d015);const _0x5b2ea1=0x12c,_0x1f1062=0x64,_0x5e4f08=()=>{let _0xb95cd2=[],_0x9b5be1=!0x1;return _0x53a938=>{const _0x4b227d=_0xd951;_0xb95cd2[_0x4b227d(0x2f0)](_0x53a938),_0x9b5be1||(_0x9b5be1=!0x0,setTimeout(()=>{const _0x38c4d2=_0x4b227d;_0xb95cd2[_0x38c4d2(0x24d)](_0x198d60=>_0x198d60()),_0xb95cd2=[],_0x9b5be1=!0x1;}));};};let _0x523ec5=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x53a2aa,_0x24400c,_0x3f2398,_0x2540fd,_0x54a51d,_0xd0d4ed,_0x2b9b4e,_0x5eabde){const _0x4de1b5=_0x295e11;super(),_0x9020b(this,_0x4de1b5(0x43f),!0x1),_0x9020b(this,_0x4de1b5(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4[(_0x4de1b5(0x21d))](new Map())),_0x9020b(this,_0x4de1b5(0x3cc),this[_0x4de1b5(0x26e)]['asObservable']()),_0x9020b(this,'_roomMembers$',new _0x5b38f4['BehaviorSubject']([])),_0x9020b(this,_0x4de1b5(0x334),this[_0x4de1b5(0x4ad)][_0x4de1b5(0x32d)](_0x5b38f4[_0x4de1b5(0x376)](_0x5b2ea1))),_0x9020b(this,'_updateLocalCursor',_0x40624a[_0x4de1b5(0x219)]((_0x49fedb,_0x3f8233)=>{const _0x170276=_0x4de1b5,_0xe1c0d2={'eventID':_0x2c324c[_0x170276(0x37d)][_0x170276(0x499)],'data':{'unitID':this[_0x170276(0x298)],'memberID':this[_0x170276(0x2ba)][_0x170276(0x1e4)](),'selection':_0x100a4f['serializeRangeWithSheet'](_0x49fedb,_0x3f8233[_0x170276(0x2a3)])}};this[_0x170276(0x2ba)][_0x170276(0x3c6)](_0xe1c0d2,this[_0x170276(0x298)]);},_0x1f1062)),(this[_0x4de1b5(0x298)]=_0x53a2aa,this[_0x4de1b5(0x2ba)]=_0x24400c,this[_0x4de1b5(0x351)]=_0x3f2398,this[_0x4de1b5(0x28f)]=_0x2540fd,this[_0x4de1b5(0x390)]=_0x54a51d,this['_univerInstanceService']=_0xd0d4ed,this[_0x4de1b5(0x3ee)]=_0x2b9b4e,this[_0x4de1b5(0x1d4)]=_0x5eabde);}get[_0x295e11(0x32f)](){const _0x5db136=_0x295e11;return this[_0x5db136(0x26e)][_0x5db136(0x337)]();}get[_0x295e11(0x283)](){const _0x330254=_0x295e11;return this[_0x330254(0x4ad)][_0x330254(0x337)]();}[_0x295e11(0x3d1)](){const _0x51655=_0x295e11;super[_0x51655(0x3d1)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x51655(0x23c)](),this['_roomMembers$'][_0x51655(0x2d3)]([]),this[_0x51655(0x4ad)][_0x51655(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1ee9a5=_0x295e11;this['_init']||(this[_0x1ee9a5(0x4a0)]=!0x0,this[_0x1ee9a5(0x2ba)]['sessionStatus$'][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))['subscribe'](_0x1cb913=>{const _0x3a2a11=_0x1ee9a5;_0x1cb913===_0x3958ea['SessionStatus'][_0x3a2a11(0x204)]?this['_toggleOnline']():this[_0x3a2a11(0x2ec)]();}),this[_0x1ee9a5(0x2ba)][_0x1ee9a5(0x1d3)][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))[_0x1ee9a5(0x4af)](_0x18ca13=>{const _0x4be13e=_0x1ee9a5,_0x9171fb=_0x18ca13[_0x4be13e(0x371)];_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['UPDATE_CURSOR']&&this[_0x4be13e(0x28e)](_0x18ca13),_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x18ca13);}),this['_onRefRangeChange'](),this[_0x1ee9a5(0x2bc)](this[_0x1ee9a5(0x3ee)][_0x1ee9a5(0x342)](_0x548dff=>{const _0x447cef=_0x1ee9a5;if(this[_0x447cef(0x43f)]&&_0x548dff['id']===_0x411621[_0x447cef(0x483)]['id']&&_0x548dff['params']['unitId']===this[_0x447cef(0x298)]){const _0x2c7fef=_0x548dff[_0x447cef(0x1d6)];this[_0x447cef(0x364)](_0x2c7fef[_0x447cef(0x496)],_0x2c7fef['selections'][0x0]);}})));}['_onCursorUpdate'](_0x87c3c5){const _0x3f3f45=_0x295e11;var _0x29d61d,_0x3037ea;const {memberID:_0x3dddac,selection:_0x5c1174}=_0x87c3c5[_0x3f3f45(0x38e)],{sheetName:_0x186d70,range:_0x1d0ca4}=_0x100a4f[_0x3f3f45(0x1cb)](_0x5c1174),_0x286a83={'name':(_0x3037ea=(_0x29d61d=this['_memberService']['getMember'](this[_0x3f3f45(0x298)],_0x3dddac))==null?void 0x0:_0x29d61d[_0x3f3f45(0x2b2)])!=null?_0x3037ea:_0x3f3f45(0x405),'range':this[_0x3f3f45(0x3f3)](_0x186d70,_0x1d0ca4),'sheetID':_0x186d70,'color':this['_colorAssignService'][_0x3f3f45(0x39f)](_0x3dddac),'selection':_0x5c1174},_0x1592bc=this[_0x3f3f45(0x32f)];_0x1592bc[_0x3f3f45(0x370)](_0x3dddac,_0x286a83),this[_0x3f3f45(0x26e)][_0x3f3f45(0x2d3)](_0x1592bc);}[_0x295e11(0x3bb)](_0x42e49c){const _0x3a547d=_0x295e11,{memberID:_0x23401b}=_0x42e49c[_0x3a547d(0x38e)],_0x2b9a20=this[_0x3a547d(0x32f)];_0x2b9a20[_0x3a547d(0x240)](_0x23401b),this[_0x3a547d(0x26e)][_0x3a547d(0x2d3)](_0x2b9a20);}['_getMergeRange'](_0x3faf14,_0x355ecf){const _0x32e5b4=_0x295e11;var _0x3ac723,_0x5c18f7;const _0x370291=(_0x5c18f7=(_0x3ac723=this[_0x32e5b4(0x3ba)][_0x32e5b4(0x445)](this[_0x32e5b4(0x298)]))==null?void 0x0:_0x3ac723[_0x32e5b4(0x3e2)](_0x3faf14))==null?void 0x0:_0x5c18f7[_0x32e5b4(0x484)]();return(_0x370291==null?void 0x0:_0x370291[_0x32e5b4(0x43c)](_0x1db291=>_0x40624a['Rectangle'][_0x32e5b4(0x468)](_0x1db291,_0x355ecf)))||_0x355ecf;}[_0x295e11(0x3c0)](){const _0x3dd950=_0x295e11,_0x2fc688=new _0x40624a[(_0x3dd950(0x3d3))](),_0x3e7019=_0x5e4f08(),_0x14352a=()=>{const _0x4a07d2=_0x3dd950;_0x2fc688[_0x4a07d2(0x3d1)]();const _0x38dcf1=(_0x27614d,_0x5b7305,_0xeb9f68,_0x4bea2e)=>{const _0x541b19=_0x4a07d2;let _0x3c566f=[];switch(_0x27614d['id']){case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3eb)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveLeft'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x366)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveUp'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)]['InsertColCommandId']:{_0x3c566f=_0x411621['handleInsertCol'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3d5)]:{_0x3c566f=_0x411621[_0x541b19(0x448)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x410)]:{_0x3c566f=_0x411621[_0x541b19(0x203)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x1e3)]:{_0x3c566f=_0x411621['handleInsertRow'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x49c)]:{_0x3c566f=_0x411621['handleMoveRange'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x291)]:{_0x3c566f=_0x411621[_0x541b19(0x394)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x2ac)]:{_0x3c566f=_0x411621['handleIRemoveRow'](_0x27614d,_0x4bea2e);break;}}const _0x1dc816=_0x411621[_0x541b19(0x349)](_0x3c566f,_0x4bea2e),_0x553b3b=this[_0x541b19(0x32f)][_0x541b19(0x1de)](_0x5b7305);if(_0x553b3b&&_0x1dc816){const _0x441a82={..._0x553b3b,'range':_0x1dc816};this[_0x541b19(0x32f)][_0x541b19(0x370)](_0x5b7305,_0x441a82),_0x3e7019(()=>{const _0xa2c807=_0x541b19,_0x2af9fc=this['_refRangeService'][_0xa2c807(0x28c)](_0x1dc816,_0x255a80=>(_0x2af9fc[_0xa2c807(0x3d1)](),_0x38dcf1(_0x255a80,_0x5b7305,_0xeb9f68,_0x1dc816)));_0x2fc688[_0xa2c807(0x372)](_0x2af9fc);});}return{'redos':[],'undos':[]};};this[_0x4a07d2(0x32f)]['forEach']((_0x4709cc,_0x29775a)=>{const _0x13693f=_0x4a07d2,{range:_0x35ece7,sheetID:_0x488596}=_0x4709cc,_0x4b64f4=this['_refRangeService']['registerRefRange'](_0x35ece7,_0x4d7a1e=>(_0x4b64f4[_0x13693f(0x3d1)](),_0x38dcf1(_0x4d7a1e,_0x29775a,_0x488596,_0x35ece7)));_0x2fc688[_0x13693f(0x372)](_0x4b64f4);});};this[_0x3dd950(0x2bc)](_0x40624a[_0x3dd950(0x381)](this[_0x3dd950(0x26e)]['subscribe'](()=>{_0x14352a();})));}['_toggleOnline'](){const _0x5b511a=_0x295e11;var _0x54caf1,_0x32f729;if(this[_0x5b511a(0x43f)]=!0x0,((_0x54caf1=this[_0x5b511a(0x3ba)]['getFocusedUnit']())==null?void 0x0:_0x54caf1['getUnitId']())!==this[_0x5b511a(0x298)])return;const _0x2e7bb4=(_0x32f729=this[_0x5b511a(0x351)]['get'](_0x411621[_0x5b511a(0x2df)])[_0x5b511a(0x293)]())==null?void 0x0:_0x32f729[0x0],_0x3bfa3f=this['_univerInstanceService'][_0x5b511a(0x1bf)](_0x40624a[_0x5b511a(0x260)][_0x5b511a(0x29c)])[_0x5b511a(0x3de)]();_0x2e7bb4&&_0x3bfa3f&&this['_updateLocalCursor'](_0x3bfa3f[_0x5b511a(0x287)](),_0x2e7bb4);}[_0x295e11(0x2ec)](){const _0x497efa=_0x295e11;this[_0x497efa(0x43f)]=!0x1;}};_0x523ec5=_0x41cedf([_0x1b052f(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1b052f(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x1b052f(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea['MemberService'])),_0x1b052f(0x5,_0x40624a[_0x295e11(0x2e4)]),_0x1b052f(0x6,_0x40624a['ICommandService']),_0x1b052f(0x7,_0x40624a[_0x295e11(0x33d)](_0x411621['RefRangeService']))],_0x523ec5);var _0x8ceac4=Object['getOwnPropertyDescriptor'],_0x38c744=(_0x3ce998,_0x472e3d,_0x40cea5,_0x515c8b)=>{const _0x358e43=_0x295e11;for(var _0x43f0a4=_0x515c8b>0x1?void 0x0:_0x515c8b?_0x8ceac4(_0x472e3d,_0x40cea5):_0x472e3d,_0x3b0205=_0x3ce998[_0x358e43(0x1c4)]-0x1,_0x3eed05;_0x3b0205>=0x0;_0x3b0205--)(_0x3eed05=_0x3ce998[_0x3b0205])&&(_0x43f0a4=_0x3eed05(_0x43f0a4)||_0x43f0a4);return _0x43f0a4;},_0x335a40=(_0xb7f342,_0xad2926)=>(_0x5f6054,_0x5c85bd)=>_0xad2926(_0x5f6054,_0x5c85bd,_0xb7f342);let _0x2e9070=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1fe412,_0x2f10d2,_0x6027a5){const _0x27065e=_0x295e11;super(),_0x9020b(this,_0x27065e(0x2e1),new Map()),_0x9020b(this,'_entityInit$',new _0x5b38f4[(_0x27065e(0x3e9))]()),(this[_0x27065e(0x3ba)]=_0x1fe412,this['_injector']=_0x2f10d2,this[_0x27065e(0x40d)]=_0x6027a5,this['_init']());}['dispose'](){const _0xac6d81=_0x295e11;super[_0xac6d81(0x3d1)](),this[_0xac6d81(0x2b5)][_0xac6d81(0x23c)](),this['_entities'][_0xac6d81(0x24d)](_0x5a20f7=>_0x5a20f7[_0xac6d81(0x3d1)]());}[_0x295e11(0x359)](_0x149a78){const _0x5d499f=_0x295e11;return this[_0x5d499f(0x2e1)][_0x5d499f(0x248)](_0x149a78)?this['_entities'][_0x5d499f(0x1de)](_0x149a78)[_0x5d499f(0x3cc)]:this[_0x5d499f(0x2b5)]['pipe'](_0x5b38f4['filter'](_0x436759=>_0x436759[_0x5d499f(0x298)]===_0x149a78),_0x5b38f4[_0x5d499f(0x426)](_0x2db1ba=>_0x2db1ba[_0x5d499f(0x3cc)]));}[_0x295e11(0x4a0)](){const _0x45d9db=_0x295e11;this['_univerInstanceService'][_0x45d9db(0x324)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)])['pipe'](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x4af)](async _0xfc322c=>{const _0x53a854=_0x45d9db,_0x3d0a6e=_0xfc322c['getUnitId'](),_0x44e0cb=await this[_0x53a854(0x452)](_0x3d0a6e);this[_0x53a854(0x2b5)]['next'](_0x44e0cb),this[_0x53a854(0x2e1)][_0x53a854(0x370)](_0x3d0a6e,_0x44e0cb);}),this[_0x45d9db(0x3ba)][_0x45d9db(0x324)](_0x40624a['UniverInstanceType'][_0x45d9db(0x36a)])[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x32d)](_0x5b38f4['filter'](_0x17f7b2=>!_0x17f7b2['getUnitId']()[_0x45d9db(0x3b8)]('__')))[_0x45d9db(0x4af)](async _0x56497d=>{const _0x12becb=_0x45d9db,_0x5e5339=_0x56497d[_0x12becb(0x310)](),_0x237dc5=await this[_0x12becb(0x3ed)](_0x5e5339);this['_entityInit$']['next'](_0x237dc5),this[_0x12becb(0x2e1)][_0x12becb(0x370)](_0x5e5339,_0x237dc5);}),_0x5b38f4['merge'](this['_univerInstanceService'][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)]['UNIVER_DOC']),this[_0x45d9db(0x3ba)][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)]))[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this['dispose$']))['subscribe'](_0x5f42bb=>{const _0x3de874=_0x45d9db,_0x1565e2=_0x5f42bb[_0x3de874(0x310)](),_0x3b3ee7=this[_0x3de874(0x2e1)]['get'](_0x1565e2);_0x3b3ee7&&(_0x3b3ee7[_0x3de874(0x3d1)](),this[_0x3de874(0x2e1)]['delete'](_0x1565e2));});}async[_0x295e11(0x452)](_0x304ffd){const _0x41cbe8=_0x295e11,_0x31eff5=await this['_collabSessionService']['requireSession'](_0x304ffd),_0x11c5dc=this[_0x41cbe8(0x351)]['createInstance'](_0x523ec5,_0x304ffd,_0x31eff5);return _0x11c5dc[_0x41cbe8(0x3ec)](),_0x11c5dc;}async[_0x295e11(0x3ed)](_0x33df58){const _0x327ee5=_0x295e11,_0x280772=await this[_0x327ee5(0x40d)]['requireSession'](_0x33df58),_0x25430d=this[_0x327ee5(0x351)][_0x327ee5(0x24a)](_0x3890dd,_0x33df58,_0x280772);return _0x25430d[_0x327ee5(0x3ec)](),_0x25430d;}};_0x2e9070=_0x38c744([_0x335a40(0x0,_0x40624a['IUniverInstanceService']),_0x335a40(0x1,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x335a40(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x2e9070);const _0x35613d=0x14,_0x4d8d40=0xc8,_0x5d5c87=0x4,_0x928588=0x5;function _0x152066(_0x2e4cb0,_0x14e90d){const _0x2fccec=_0x295e11;let {radius:_0x269c10,width:_0x1b13f7,height:_0x1d1e5d}=_0x14e90d;_0x269c10=_0x269c10!=null?_0x269c10:0x0,_0x1b13f7=_0x1b13f7!=null?_0x1b13f7:0x1e,_0x1d1e5d=_0x1d1e5d!=null?_0x1d1e5d:0x1e;let _0x36d24f=0x0,_0x4f65a7=0x0,_0x1a9e46=0x0;_0x36d24f=_0x4f65a7=_0x1a9e46=Math[_0x2fccec(0x358)](_0x269c10,_0x1b13f7/0x2,_0x1d1e5d/0x2),_0x2e4cb0[_0x2fccec(0x2f6)](),_0x2e4cb0[_0x2fccec(0x227)](_0x36d24f,0x0),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7-_0x4f65a7,0x0),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x4f65a7,_0x4f65a7,_0x4f65a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7,_0x1d1e5d-_0x1a9e46),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x1a9e46,_0x1d1e5d-_0x1a9e46,_0x1a9e46,0x0,Math['PI']/0x2,!0x1),_0x2e4cb0['lineTo'](0x0,_0x1d1e5d),_0x2e4cb0[_0x2fccec(0x3ae)](0x0,_0x36d24f),_0x2e4cb0['arc'](_0x36d24f,_0x36d24f,_0x36d24f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e4cb0[_0x2fccec(0x4a4)](),_0x14e90d[_0x2fccec(0x1c1)]&&(_0x2e4cb0[_0x2fccec(0x2d8)](),_0x2e4cb0[_0x2fccec(0x2c5)]=_0x14e90d['fill'],_0x14e90d[_0x2fccec(0x377)]===_0x2fccec(0x2c2)?_0x2e4cb0['fill']('evenodd'):_0x2e4cb0['fill'](),_0x2e4cb0[_0x2fccec(0x46a)]());}class _0x368cae extends _0x2680b3[_0x295e11(0x374)]{constructor(_0x27b948,_0x4ca0a7){const _0x3114c7=_0x295e11;super(_0x27b948,_0x4ca0a7),_0x9020b(this,'color'),_0x9020b(this,'text'),(this[_0x3114c7(0x4ae)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['color'],this[_0x3114c7(0x1d7)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['text']);}static[_0x295e11(0x47d)](_0x445bf8,_0x5820cc){const _0x5aeba8=_0x295e11,{text:_0xd0a2bb,color:_0xa74210}=_0x5820cc;_0x445bf8['save'](),_0x445bf8[_0x5aeba8(0x451)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x538f99=_0x445bf8[_0x5aeba8(0x31b)](_0xd0a2bb)['width'],_0x315024=Math[_0x5aeba8(0x358)](_0x538f99+0x2*_0x5d5c87,_0x4d8d40);_0x152066(_0x445bf8,{'height':_0x35613d,'radius':0x4,'width':_0x315024,'fill':_0xa74210}),_0x445bf8[_0x5aeba8(0x2c5)]=_0x5aeba8(0x2e3);const _0x2bb98d=_0x5d5c87,_0x3af4ce=_0x35613d-_0x928588,_0x463771=_0x4d8d40-0x2*_0x5d5c87;if(_0x538f99>_0x463771){let _0x227587='',_0x136a12=0x0;for(const _0x3497a6 of _0xd0a2bb){const _0x580044=_0x445bf8[_0x5aeba8(0x31b)](_0x3497a6)['width'];if(_0x136a12+_0x580044<=_0x463771-_0x445bf8[_0x5aeba8(0x31b)](_0x5aeba8(0x270))[_0x5aeba8(0x1da)])_0x227587+=_0x3497a6,_0x136a12+=_0x580044;else{_0x227587+=_0x5aeba8(0x270);break;}}_0x445bf8['fillText'](_0x227587,_0x2bb98d,_0x3af4ce);}else _0x445bf8[_0x5aeba8(0x40b)](_0xd0a2bb,_0x2bb98d,_0x3af4ce);_0x445bf8['restore']();}[_0x295e11(0x4b5)](_0x2c41da){_0x368cae['drawWith'](_0x2c41da,this);}}const _0x468e62=_0x295e11(0x304),_0x4c3fbd='collab-text-range-',_0x2981df=_0x295e11(0x2b7),_0x62891c=0x6,_0x5e2caf=1.5,_0x322d6c=0x4,_0x3c6dc7=1.5,_0x32fbe1=_0x295e11(0x40e);class _0x49aed0{constructor(_0x3e776c,_0x430368,_0x167092,_0xf17f62){const _0x3ff88a=_0x295e11;_0x9020b(this,_0x3ff88a(0x2ed),[]),_0x9020b(this,_0x3ff88a(0x480),null),_0x9020b(this,_0x3ff88a(0x3c8),null),_0x9020b(this,'_anchorDot',null),_0x9020b(this,'_hideTimer',null),_0x9020b(this,'_eventUnsubscribe',null),(this[_0x3ff88a(0x317)]=_0x3e776c,this[_0x3ff88a(0x36f)]=_0x430368,this[_0x3ff88a(0x41d)]=_0x167092,this[_0x3ff88a(0x31c)]=_0xf17f62,this[_0x3ff88a(0x369)]());}set[_0x295e11(0x3f8)](_0x4b3ea7){const _0x50fa72=_0x295e11;_0x4b3ea7?(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)][_0x50fa72(0x3d6)](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x344)]()):(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)]['show'](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x3d6)]());}['dispose'](){const _0x47c638=_0x295e11;for(const _0x453e76 of this[_0x47c638(0x2ed)])_0x453e76[_0x47c638(0x3d1)]();this['_textBubble']&&this['_textBubble'][_0x47c638(0x3d1)](),this[_0x47c638(0x42f)]&&this['_anchorDot'][_0x47c638(0x3d1)](),this[_0x47c638(0x480)]&&this['_anchor'][_0x47c638(0x3d1)](),this['_eventUnsubscribe']&&this[_0x47c638(0x498)]();}[_0x295e11(0x369)](){const _0x5cd4d=_0x295e11;var _0x21cf32;const {_docSkeleton:_0x2ca938,_document:_0x4e101f}=this,{color:_0x163d4b,name:_0x4f2a64,ranges:_0x2bed12}=this['_cursor'],_0x15de3b=_0x4e101f['getOffsetConfig'](),{docsLeft:_0x514a42,docsTop:_0x513a56}=_0x15de3b,_0x135c20=new _0x118be2['NodePositionConvertToCursor'](_0x15de3b,_0x2ca938);for(const {startOffset:_0xa4fd9f,endOffset:_0x1686cf,rangeType:_0xfcb2f6,segmentId:_0x1a4ea1,segmentPage:_0x3a58d4,collapsed:_0x109dd8,isActive:_0x26afd8}of _0x2bed12){const _0x470543=_0x2ca938[_0x5cd4d(0x22c)](_0xa4fd9f,!0x0,_0x1a4ea1,_0x3a58d4);let _0xf8a32d=_0x2ca938['findNodePositionByCharIndex'](_0x1686cf,!0x0,_0x1a4ea1,_0x3a58d4);if(_0xf8a32d==null&&(_0xf8a32d=_0x2ca938[_0x5cd4d(0x22c)](_0x1686cf-0x1,!0x1,_0x1a4ea1,_0x3a58d4)),_0x26afd8){const {contentBoxPointGroup:_0x6336de}=_0x135c20['getRangePointData'](_0xf8a32d,_0xf8a32d);if(_0x6336de['length']===0x0)continue;this[_0x5cd4d(0x25e)](_0x163d4b,_0x6336de,_0x514a42,_0x513a56,_0x4f2a64),this[_0x5cd4d(0x498)]=this[_0x5cd4d(0x2a8)]();}if(_0x470543&&_0xf8a32d){if(_0xfcb2f6===_0x40624a[_0x5cd4d(0x48e)][_0x5cd4d(0x38a)]){const _0x33c0cc=new _0x118be2[(_0x5cd4d(0x252))](_0x15de3b,_0x2ca938),{pointGroup:_0x28855b}=(_0x21cf32=_0x33c0cc['getRangePointData'](_0x470543,_0xf8a32d))!=null?_0x21cf32:{};if(_0x28855b==null||_0x28855b[_0x5cd4d(0x1c4)]===0x0)continue;this['_drawRectRange'](_0x163d4b,_0x28855b,_0x514a42,_0x513a56);}else{if(!_0x109dd8){const {borderBoxPointGroup:_0x24e0f6}=_0x135c20['getRangePointData'](_0x470543,_0xf8a32d);if(_0x24e0f6[_0x5cd4d(0x1c4)]===0x0)continue;this[_0x5cd4d(0x38d)](_0x163d4b,_0x24e0f6,_0x514a42,_0x513a56);}}}}}[_0x295e11(0x25e)](_0x1a7a43,_0x25207f,_0x1963bf,_0x50f52c,_0x11b189){const _0x55992b=_0x295e11,_0x36e174=this[_0x55992b(0x2e7)](_0x25207f),{left:_0x9f5970,top:_0x33308c,height:_0x2e5b09}=_0x36e174,_0x476ad1=this[_0x55992b(0x26f)](),_0x5b273c=_0x3c6dc7/_0x476ad1,_0x83d532=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c,'height':_0x2e5b09,'width':_0x5e2caf,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':_0x5b273c,'stroke':_0x32fbe1,'evented':!0x0});this['_anchor']=_0x83d532,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x83d532,_0x118be2['TEXT_RANGE_LAYER_INDEX']);const _0x4a2a75=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x322d6c/0x2,'height':_0x322d6c,'width':_0x322d6c,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':0x0,'stroke':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'evented':!0x1});this[_0x55992b(0x42f)]=_0x4a2a75,this['_scene'][_0x55992b(0x1ee)](_0x4a2a75,_0x118be2[_0x55992b(0x35a)]);const _0x452e1b=new _0x368cae(_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x35613d,'text':_0x11b189,'color':_0x1a7a43});this[_0x55992b(0x3c8)]=_0x452e1b,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x452e1b,_0x118be2[_0x55992b(0x35a)]),this[_0x55992b(0x3f8)]=!0x1;}[_0x295e11(0x2a8)](){const _0x45e073=_0x295e11,_0x45d74c=this[_0x45e073(0x480)]['onPointerEnter$'][_0x45e073(0x241)](()=>{const _0x428c75=_0x45e073;this[_0x428c75(0x3f8)]=!0x0;}),_0x4a1017=this['_anchor'][_0x45e073(0x29d)][_0x45e073(0x241)](()=>{const _0x13a8ac=_0x45e073;this[_0x13a8ac(0x353)]&&clearTimeout(this[_0x13a8ac(0x353)]),this[_0x13a8ac(0x353)]=setTimeout(()=>{const _0x22d42e=_0x13a8ac;this[_0x22d42e(0x3f8)]=!0x1;},0x7d0);});return()=>{const _0x6ba1db=_0x45e073;_0x45d74c[_0x6ba1db(0x497)](),_0x4a1017['unsubscribe']();};}['_drawTextRange'](_0x51e650,_0x2677dc,_0x4295c3,_0x240818){const _0x2168d1=_0x295e11,_0x3e206b=new _0x40624a[(_0x2168d1(0x3fa))](_0x51e650)[_0x2168d1(0x22d)](0.2)['toRgbString'](),_0x3e5796=new _0x2680b3['RegularPolygon'](_0x4c3fbd+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x2677dc,'fill':_0x3e206b||_0x2680b3['getColor'](_0x40624a[_0x2168d1(0x2f3)][_0x2168d1(0x3c1)],0.2),'left':_0x4295c3,'top':_0x240818,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2168d1(0x2ed)][_0x2168d1(0x2f0)](_0x3e5796),this['_scene'][_0x2168d1(0x1ee)](_0x3e5796,_0x118be2[_0x2168d1(0x35a)]);}[_0x295e11(0x42d)](_0x37adb3,_0x1484a6,_0x1375a1,_0x47744a){const _0xc0a53=_0x295e11,_0x1704ee=new _0x40624a[(_0xc0a53(0x3fa))](_0x37adb3)[_0xc0a53(0x22d)](0.2)[_0xc0a53(0x3d0)](),_0x57683d=new _0x2680b3[(_0xc0a53(0x4a1))](_0x2981df+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x1484a6,'fill':_0x1704ee||_0x2680b3[_0xc0a53(0x2cf)](_0x40624a['COLORS'][_0xc0a53(0x3c1)],0.2),'left':_0x1375a1,'top':_0x47744a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc0a53(0x2ed)][_0xc0a53(0x2f0)](_0x57683d),this[_0xc0a53(0x36f)]['addObject'](_0x57683d,_0x118be2[_0xc0a53(0x35a)]);}[_0x295e11(0x2e7)](_0x36430a){const _0x169476=_0x36430a[0x0],_0x3d5c78=_0x169476[0x0],_0x4afe71=_0x169476[0x2],{x:_0x3007fc,y:_0x47a6ab}=_0x3d5c78,{x:_0x66f2e9,y:_0x28a6a5}=_0x4afe71;return{'left':_0x3007fc,'top':_0x47a6ab,'width':_0x66f2e9-_0x3007fc,'height':_0x28a6a5-_0x47a6ab};}[_0x295e11(0x26f)](){const _0x574867=_0x295e11,{scaleX:_0x2b11c8,scaleY:_0x16a6d8}=this[_0x574867(0x36f)][_0x574867(0x457)]();return Math['max'](_0x2b11c8,_0x16a6d8);}}var _0x5d8036=Object[_0x295e11(0x3a0)],_0x48f02f=(_0x422e3a,_0x362264,_0x13f3a5,_0x2e4ea6)=>{for(var _0x33c8e4=_0x2e4ea6>0x1?void 0x0:_0x2e4ea6?_0x5d8036(_0x362264,_0x13f3a5):_0x362264,_0x1a7f33=_0x422e3a['length']-0x1,_0x2971e7;_0x1a7f33>=0x0;_0x1a7f33--)(_0x2971e7=_0x422e3a[_0x1a7f33])&&(_0x33c8e4=_0x2971e7(_0x33c8e4)||_0x33c8e4);return _0x33c8e4;},_0x509c49=(_0x3cb66e,_0x9d9ea8)=>(_0x28d023,_0x355064)=>_0x9d9ea8(_0x28d023,_0x355064,_0x3cb66e);let _0x2faf05=class extends _0x40624a['RxDisposable']{constructor(_0x53e963,_0x1a36ed,_0x57a9c0,_0x6b714b,_0x42fc37){const _0x3ded4d=_0x295e11;super(),_0x9020b(this,_0x3ded4d(0x2b8),[]),_0x9020b(this,'_cursors',[]),(this['_context']=_0x53e963,this['_docSkeletonManagerService']=_0x1a36ed,this[_0x3ded4d(0x3ce)]=_0x57a9c0,this[_0x3ded4d(0x3ee)]=_0x6b714b,this[_0x3ded4d(0x24c)]=_0x42fc37,this[_0x3ded4d(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x978927=_0x295e11,_0x19672e=this[_0x978927(0x2d2)]['unitId'],_0x193287=this[_0x978927(0x3e4)];this[_0x978927(0x2bc)](_0x5b38f4[_0x978927(0x4b0)]([this[_0x978927(0x3ce)][_0x978927(0x359)](_0x19672e),this['_themeService'][_0x978927(0x303)]])[_0x978927(0x32d)](_0x23a207[_0x978927(0x361)](([_0x36f1eb,_0x40f003])=>({'skeleton':_0x193287[_0x978927(0x25a)](),'cursors':[..._0x36f1eb[_0x978927(0x3aa)]()][_0x978927(0x1d5)](_0x4164e5=>({..._0x4164e5,'color':this[_0x978927(0x24c)][_0x978927(0x2c1)](_0x4164e5[_0x978927(0x4ae)])}))})))[_0x978927(0x4af)](_0x4d355d=>{const _0x533a3f=_0x978927;if(this['_removeCollabCursors'](),_0x4d355d){const {skeleton:_0x4a9044,cursors:_0x2ac6ff}=_0x4d355d;this[_0x533a3f(0x285)](_0x4a9044,_0x2ac6ff);}})),this['_initResize'](),this[_0x978927(0x266)]();}[_0x295e11(0x285)](_0x5c235d,_0x1d1800){const _0x105a3b=_0x295e11,{scene:_0x248cf8,mainComponent:_0x51f349}=this[_0x105a3b(0x2d2)],_0x47dffe=_0x1d1800['map'](_0x443027=>new _0x49aed0(_0x443027,_0x248cf8,_0x5c235d,_0x51f349));this[_0x105a3b(0x2b8)]=_0x47dffe,this[_0x105a3b(0x1f0)]=_0x1d1800;}[_0x295e11(0x3df)](){const _0x5a1911=_0x295e11;this[_0x5a1911(0x2cd)]();const {scene:_0x2c9fc9,mainComponent:_0x21bc0d}=this[_0x5a1911(0x2d2)],_0x3eb528=this[_0x5a1911(0x3e4)][_0x5a1911(0x25a)](),_0x237ef4=this[_0x5a1911(0x1f0)][_0x5a1911(0x361)](_0x477e92=>new _0x49aed0(_0x477e92,_0x2c9fc9,_0x3eb528,_0x21bc0d));this['_cursorShapes']=_0x237ef4;}[_0x295e11(0x2cd)](){const _0x548f61=_0x295e11;this[_0x548f61(0x2b8)][_0x548f61(0x24d)](_0x569084=>_0x569084['dispose']()),this[_0x548f61(0x2b8)]=[];}[_0x295e11(0x266)](){const _0x503524=_0x295e11,_0x4a1537=[_0x118be2[_0x503524(0x409)]['id']];this[_0x503524(0x2bc)](this['_commandService'][_0x503524(0x342)](_0x328b7a=>{const _0x22c2ba=_0x503524;_0x4a1537[_0x22c2ba(0x48d)](_0x328b7a['id'])&&_0x328b7a[_0x22c2ba(0x1d6)][_0x22c2ba(0x495)]===this['_context'][_0x22c2ba(0x495)]&&this[_0x22c2ba(0x3df)]();}));}[_0x295e11(0x246)](){const _0x375ed4=_0x295e11;this[_0x375ed4(0x2bc)](_0x40624a[_0x375ed4(0x217)](this[_0x375ed4(0x2d2)][_0x375ed4(0x224)]['onTransformChange$'])[_0x375ed4(0x32d)](_0x23a207['filter'](_0x32b4cb=>_0x32b4cb['type']===_0x2680b3[_0x375ed4(0x2e5)][_0x375ed4(0x382)]),_0x23a207[_0x375ed4(0x403)](0x10))[_0x375ed4(0x4af)](()=>{this['_refreshCollabCursors']();}));}};_0x2faf05=_0x48f02f([_0x509c49(0x1,_0x40624a[_0x295e11(0x33d)](_0x3f3b23[_0x295e11(0x416)])),_0x509c49(0x2,_0x40624a['Inject'](_0x2e9070)),_0x509c49(0x3,_0x40624a[_0x295e11(0x31e)]),_0x509c49(0x4,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0x2faf05);const _0x554bac=0x1,_0x1624fb=1.5;class _0x446f9f extends _0x2680b3['Shape']{constructor(_0x191857,_0x80cea1){const _0x144fc3=_0x295e11;super(_0x191857,_0x80cea1),_0x9020b(this,_0x144fc3(0x33b)),_0x9020b(this,_0x144fc3(0x2d7),!0x1),_0x9020b(this,_0x144fc3(0x352)),_0x9020b(this,'_name',''),_0x9020b(this,_0x144fc3(0x460),'top'),_0x9020b(this,'_backgroundColor'),(_0x80cea1&&this[_0x144fc3(0x1c8)](_0x80cea1),this[_0x144fc3(0x3ab)][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x295e11(0x1c8)](_0x22cefa){const _0x265723=_0x295e11;var _0x1051f7,_0x43fa79,_0x51ee62,_0x32f725,_0x5ddcf4,_0xd3418a;this[_0x265723(0x33b)]=(_0x1051f7=_0x22cefa[_0x265723(0x4ae)])!=null?_0x1051f7:this['_color'],this[_0x265723(0x2d7)]=(_0x43fa79=_0x22cefa[_0x265723(0x1fa)])!=null?_0x43fa79:this[_0x265723(0x2d7)],this[_0x265723(0x352)]=(_0x51ee62=_0x22cefa[_0x265723(0x2a3)])!=null?_0x51ee62:this[_0x265723(0x352)],this[_0x265723(0x407)]=(_0x32f725=_0x22cefa[_0x265723(0x2b2)])!=null?_0x32f725:this[_0x265723(0x407)],this[_0x265723(0x460)]=(_0x5ddcf4=_0x22cefa['labelPosition'])!=null?_0x5ddcf4:this[_0x265723(0x460)],this[_0x265723(0x23b)]=(_0xd3418a=_0x22cefa[_0x265723(0x30d)])!=null?_0xd3418a:this['_backgroundColor'],this[_0x265723(0x2cb)]({'width':_0x22cefa['width'],'height':_0x22cefa[_0x265723(0x35d)]});}[_0x295e11(0x1fc)](_0x4b5ca4){const _0x22b833=_0x295e11,{row:_0x26ee95,column:_0x2f75dd}=_0x4b5ca4;if(_0x26ee95>=this[_0x22b833(0x352)][_0x22b833(0x218)]&&_0x26ee95<=this['_range'][_0x22b833(0x421)]&&_0x2f75dd>=this[_0x22b833(0x352)]['startColumn']&&_0x2f75dd<=this[_0x22b833(0x352)][_0x22b833(0x3af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x22b833(0x1c8)]({'hovered':!0x1});}[_0x295e11(0x2bd)](_0x31d5da){return!0x1;}[_0x295e11(0x4b5)](_0x39c592){const _0x51b4e5=_0x295e11;_0x2680b3[_0x51b4e5(0x1c6)]['drawWith'](_0x39c592,{'width':this[_0x51b4e5(0x1da)],'height':this[_0x51b4e5(0x35d)],'strokeWidth':_0x1624fb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x51b4e5(0x23b)]}),this[_0x51b4e5(0x2d7)]&&(_0x39c592[_0x51b4e5(0x2d8)](),_0x39c592[_0x51b4e5(0x46e)](0x1,0x0,0x0,0x1,this[_0x51b4e5(0x1da)],this[_0x51b4e5(0x460)]==='bottom'?0x0:-_0x35613d),_0x368cae[_0x51b4e5(0x47d)](_0x39c592,{'text':this['_name'],'color':this[_0x51b4e5(0x33b)]}),_0x39c592[_0x51b4e5(0x46a)]());}}var _0x5d98a5=Object[_0x295e11(0x3a0)],_0x399d1c=(_0x1b7c7b,_0x7b9092,_0x4f1259,_0x3a6867)=>{for(var _0x2c80ca=_0x3a6867>0x1?void 0x0:_0x3a6867?_0x5d98a5(_0x7b9092,_0x4f1259):_0x7b9092,_0x4b6784=_0x1b7c7b['length']-0x1,_0x48b49d;_0x4b6784>=0x0;_0x4b6784--)(_0x48b49d=_0x1b7c7b[_0x4b6784])&&(_0x2c80ca=_0x48b49d(_0x2c80ca)||_0x2c80ca);return _0x2c80ca;},_0x4b97fc=(_0x20a562,_0xab254a)=>(_0x111884,_0x1a5f7c)=>_0xab254a(_0x111884,_0x1a5f7c,_0x20a562);const _0x52502=0x1389;let _0xb986df=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1ee1aa,_0x500f55,_0x1bfc3b,_0x298392){const _0x7aa836=_0x295e11;super(),_0x9020b(this,_0x7aa836(0x1f0),new Set()),_0x9020b(this,_0x7aa836(0x2e0),null),(this[_0x7aa836(0x2d2)]=_0x1ee1aa,this[_0x7aa836(0x3b7)]=_0x500f55,this[_0x7aa836(0x3ce)]=_0x1bfc3b,this[_0x7aa836(0x24c)]=_0x298392,this[_0x7aa836(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x500a49=_0x295e11;this['_sheetSkeletonManagerService'][_0x500a49(0x3b3)][_0x500a49(0x32d)](_0x23a207[_0x500a49(0x491)](this[_0x500a49(0x2ff)]),_0x23a207[_0x500a49(0x426)](_0x260293=>{const _0x15ca47=_0x500a49;if(_0x260293){const _0x1cf6ef=_0x260293[_0x15ca47(0x482)];return _0x5b38f4['combineLatest'](this['_collabCursorController'][_0x15ca47(0x359)](this['_context'][_0x15ca47(0x495)]),this['_themeService'][_0x15ca47(0x303)])[_0x15ca47(0x32d)](_0x23a207['map'](([_0x30fe7b,_0x5dc4c8])=>{const _0x3507ac=_0x15ca47,_0xa7f4e2=new Map();return _0x30fe7b[_0x3507ac(0x24d)]((_0x535890,_0x1bbee2)=>{const _0x5ab6a9=_0x3507ac;if(_0x535890['sheetID']===_0x1cf6ef){const _0x14f30d={..._0x535890};_0x14f30d[_0x5ab6a9(0x4ae)]=this[_0x5ab6a9(0x24c)][_0x5ab6a9(0x2c1)](_0x535890['color']),_0xa7f4e2[_0x5ab6a9(0x370)](_0x1bbee2,_0x14f30d);}}),{'skeleton':_0x260293,'cursors':_0xa7f4e2};}));}return _0x5b38f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x500a49(0x4af)](({skeleton:_0x4921d2,cursors:_0x5d4702})=>{const _0x2fc025=_0x500a49;this[_0x2fc025(0x2cd)](),_0x4921d2&&this[_0x2fc025(0x285)](_0x4921d2,_0x5d4702);}),this[_0x500a49(0x3b7)][_0x500a49(0x3b3)]['subscribe'](_0x3989b9=>{const _0x3d3863=_0x500a49;if(_0x3989b9==null)return;const {skeleton:_0x416265}=_0x3989b9,{scene:_0x3a8ade}=this[_0x3d3863(0x2d2)];_0x3a8ade[_0x3d3863(0x1df)][_0x3d3863(0x241)](_0x40624a[_0x3d3863(0x219)](_0xd4e93f=>{const _0x51cdd8=_0x3d3863;var _0x3b3651,_0x4525e5;const {offsetX:_0x4df87c,offsetY:_0x22bfb1}=_0xd4e93f,{x:_0x3c34dc,y:_0x5aeee3}=_0x3a8ade[_0x51cdd8(0x37b)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x4df87c,_0x22bfb1])),{scaleX:_0x4543fd,scaleY:_0x81404a}=_0x3a8ade[_0x51cdd8(0x457)](),_0x5466ba=_0x3a8ade[_0x51cdd8(0x1e1)](_0x2680b3[_0x51cdd8(0x343)][_0x51cdd8(0x2b1)]),_0x2b909b=_0x3a8ade[_0x51cdd8(0x38c)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x3c34dc,_0x5aeee3]),_0x5466ba),_0x569c48=_0x416265[_0x51cdd8(0x399)](_0x4df87c,_0x22bfb1,_0x4543fd,_0x81404a,_0x2b909b);((_0x3b3651=this['_lastPointer'])==null?void 0x0:_0x3b3651['column'])===_0x569c48[_0x51cdd8(0x2f4)]&&((_0x4525e5=this['_lastPointer'])==null?void 0x0:_0x4525e5[_0x51cdd8(0x2dd)])===_0x569c48[_0x51cdd8(0x2dd)]||this[_0x51cdd8(0x1f0)][_0x51cdd8(0x24d)](_0x238391=>{_0x238391['onMouseMove'](_0x569c48);});},0x64));});}[_0x295e11(0x285)](_0x35609f,_0x36dd65){const _0x359ee4=_0x295e11;var _0x515972;const _0x42e965=(_0x515972=this[_0x359ee4(0x3b7)][_0x359ee4(0x1c2)]())==null?void 0x0:_0x515972[_0x359ee4(0x27d)];if(!_0x42e965)return;const _0x3fa5b4=this[_0x359ee4(0x2a0)]();if(!_0x3fa5b4)return;this[_0x359ee4(0x1f0)][_0x359ee4(0x24d)](_0x17f7d1=>{const _0x6fdaff=_0x359ee4;_0x17f7d1[_0x6fdaff(0x216)]();});const {scene:_0x50d9da}=_0x3fa5b4,_0x354a8b=_0x1c8364(Array[_0x359ee4(0x4a6)](_0x36dd65[_0x359ee4(0x3aa)]()))[_0x359ee4(0x361)](_0x20008a=>{const _0x5ba545=_0x359ee4,{color:_0x55f6ed,range:_0x5f21e7,name:_0x3de70f,selection:_0x16a4e9,sheetID:_0x2a1fec}=_0x20008a,{startColumn:_0x46c150,startRow:_0x335f62,endColumn:_0x5dce2b,endRow:_0x5a0e2b}=_0x5f21e7,_0x1b432e=_0x383790[_0x5ba545(0x290)](_0x335f62,_0x46c150,_0x50d9da,_0x42e965),_0x2447d5=_0x383790[_0x5ba545(0x290)](_0x5a0e2b,_0x5dce2b,_0x50d9da,_0x42e965),{columnHeaderHeightAndMarginTop:_0x20aa36}=_0x42e965,{startX:_0x211bb7,startY:_0x6f1270}=_0x1b432e,{endX:_0x4d9382,endY:_0x5201b8}=_0x2447d5,_0x10d8bb=_0x4d9382-_0x211bb7,_0x4e5c52=_0x5201b8-_0x6f1270,_0x463e23={'labelPosition':_0x6f1270-_0x20aa36>=_0x35613d?'top':_0x5ba545(0x21c),'sheetID':_0x2a1fec,'range':_0x5f21e7,'color':_0x55f6ed,'name':_0x3de70f,'selection':_0x16a4e9,'left':_0x211bb7,'top':_0x6f1270,'width':_0x10d8bb,'height':_0x4e5c52,'evented':!0x1,'zIndex':_0x52502};return new _0x446f9f(_0x3de70f,_0x463e23);});_0x50d9da[_0x359ee4(0x462)](_0x354a8b,_0x554bac),this[_0x359ee4(0x1f0)]=new Set(_0x354a8b);}[_0x295e11(0x2cd)](){const _0x178af6=_0x295e11;var _0x40f1dd;(_0x40f1dd=this[_0x178af6(0x1f0)])==null||_0x40f1dd['forEach'](_0x24fe21=>_0x24fe21['dispose']());}[_0x295e11(0x2a0)](){const _0x3b1ff4=_0x295e11;return _0x383790[_0x3b1ff4(0x22e)](this['_context']['unit'],this[_0x3b1ff4(0x2d2)]);}};_0xb986df=_0x399d1c([_0x4b97fc(0x1,_0x40624a[_0x295e11(0x33d)](_0x383790['SheetSkeletonManagerService'])),_0x4b97fc(0x2,_0x40624a[_0x295e11(0x33d)](_0x2e9070)),_0x4b97fc(0x3,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0xb986df);function _0x1c8364(_0x1d81dc){const _0x8c30c4=_0x295e11,_0x2ec3b8=new Map();return _0x1d81dc[_0x8c30c4(0x24d)](_0x34ba1f=>{const _0x3b4441=_0x8c30c4;if(_0x2ec3b8['has'](_0x34ba1f[_0x3b4441(0x49f)])){const _0x411f40=_0x2ec3b8['get'](_0x34ba1f[_0x3b4441(0x49f)]);_0x411f40['name']+=',\x20'+_0x34ba1f[_0x3b4441(0x2b2)];}else _0x2ec3b8[_0x3b4441(0x370)](_0x34ba1f[_0x3b4441(0x49f)],_0x34ba1f);}),Array[_0x8c30c4(0x4a6)](_0x2ec3b8[_0x8c30c4(0x3aa)]());}var _0x326b59=Object[_0x295e11(0x3a0)],_0x31e8cf=(_0x2bc339,_0x2cd2a2,_0x50089b,_0x82946f)=>{const _0x2d3b7e=_0x295e11;for(var _0x1f8ef3=_0x82946f>0x1?void 0x0:_0x82946f?_0x326b59(_0x2cd2a2,_0x50089b):_0x2cd2a2,_0x4d16db=_0x2bc339[_0x2d3b7e(0x1c4)]-0x1,_0x45d6ea;_0x4d16db>=0x0;_0x4d16db--)(_0x45d6ea=_0x2bc339[_0x4d16db])&&(_0x1f8ef3=_0x45d6ea(_0x1f8ef3)||_0x1f8ef3);return _0x1f8ef3;},_0x2c4925=(_0x4fddfb,_0xccfc63)=>(_0x6f0825,_0x352217)=>_0xccfc63(_0x6f0825,_0x352217,_0x4fddfb);let _0x3ef4e4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2faa9a,_0x1cab0b,_0x51fd2d,_0x28daa8,_0x27c5f6,_0x5eb3e6){const _0x49a0ec=_0x295e11;super(),this['_beforeCloseService']=_0x2faa9a,this[_0x49a0ec(0x247)]=_0x1cab0b,this[_0x49a0ec(0x477)]=_0x51fd2d,this[_0x49a0ec(0x233)]=_0x28daa8,this[_0x49a0ec(0x427)]=_0x27c5f6,this[_0x49a0ec(0x2a5)]=_0x5eb3e6,this[_0x49a0ec(0x2ef)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1f1018=_0x295e11;this[_0x1f1018(0x2bc)](this[_0x1f1018(0x387)][_0x1f1018(0x21a)](()=>{const _0x505ea7=_0x1f1018;if(this['_localCacheService'][_0x505ea7(0x313)][_0x505ea7(0x47e)])return this[_0x505ea7(0x2a5)]['t'](_0x505ea7(0x486));}));}['_initEvent'](){const _0x55ef9c=_0x295e11;this['disposeWithMe'](this[_0x55ef9c(0x477)][_0x55ef9c(0x1d3)][_0x55ef9c(0x4af)](_0x4c11de=>{const _0x46ea29=_0x55ef9c;_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)]['OTHER_CLIENT_EDITING']&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x1ca))}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x37a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x423))}),_0x4c11de['id']===_0x3958ea['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x46ea29(0x427)][_0x46ea29(0x344)]({'title':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x41e)),'content':this['_localeService']['t'](_0x46ea29(0x400)),'type':'error','duration':0x0}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x49a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4c11de[_0x46ea29(0x38e)]+')'}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x335)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType']['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x4c11de[_0x46ea29(0x38e)]||'')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x432)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t']('session.will-retry')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x478)]&&this['_messageService'][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType'][_0x46ea29(0x476)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x417)]&&this['_messageService']['show']({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x245))});}));}};_0x3ef4e4=_0x31e8cf([_0x2c4925(0x0,_0x8e6f8f[_0x295e11(0x3a2)]),_0x2c4925(0x1,_0x3958ea[_0x295e11(0x22f)]),_0x2c4925(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea['CollaborationUIEventService'])),_0x2c4925(0x3,_0x8e6f8f[_0x295e11(0x3dd)]),_0x2c4925(0x4,_0x8e6f8f[_0x295e11(0x33e)]),_0x2c4925(0x5,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x3ef4e4);var _0x2791ef=Object['getOwnPropertyDescriptor'],_0x9fed27=(_0x407397,_0x5eda0d,_0x3f868e,_0x27465a)=>{for(var _0x5abdd1=_0x27465a>0x1?void 0x0:_0x27465a?_0x2791ef(_0x5eda0d,_0x3f868e):_0x5eda0d,_0x44d037=_0x407397['length']-0x1,_0x387584;_0x44d037>=0x0;_0x44d037--)(_0x387584=_0x407397[_0x44d037])&&(_0x5abdd1=_0x387584(_0x5abdd1)||_0x5abdd1);return _0x5abdd1;},_0x282872=(_0x220ff5,_0x8186e2)=>(_0x42d608,_0x425b71)=>_0x8186e2(_0x42d608,_0x425b71,_0x220ff5);let _0x308889=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4de178,_0xb79518,_0x33a17b,_0x44e31e){const _0x474d16=_0x295e11;super(),_0x9020b(this,_0x474d16(0x393)),(this[_0x474d16(0x351)]=_0x4de178,this[_0x474d16(0x395)]=_0xb79518,this[_0x474d16(0x458)]=_0x33a17b,this['_collaborationSessionService']=_0x44e31e,this[_0x474d16(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x8453ab=_0x295e11;this[_0x8453ab(0x4b4)](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x8453ab(0x1f3)]();}[_0x295e11(0x1f3)](){const _0x29e4f1=_0x295e11;this[_0x29e4f1(0x2bc)](this[_0x29e4f1(0x464)][_0x29e4f1(0x45b)]['subscribe'](_0x2cf014=>{const _0x7ba852=_0x29e4f1;this['_memberID']=_0x2cf014==null?void 0x0:_0x2cf014[_0x7ba852(0x2e2)];}));}[_0x295e11(0x4b4)](){const _0x40aafe=_0x295e11,_0xd8b0d9=_0x12204f=>{const _0x3d1f4d=_0xd951;var _0x2ee5f9;this[_0x3d1f4d(0x276)](_0x3d1f4d(0x3b0),_0x3d1f4d(0x3e8)+_0x12204f[_0x3d1f4d(0x323)]+_0x3d1f4d(0x3e3)+_0x12204f['filename']+':'+_0x12204f['lineno']+':'+_0x12204f['colno']+'\x0a'+(((_0x2ee5f9=_0x12204f[_0x3d1f4d(0x3b0)])==null?void 0x0:_0x2ee5f9['stack'])||''));};window[_0x40aafe(0x259)](_0x40aafe(0x3b0),_0xd8b0d9),this[_0x40aafe(0x2bc)](()=>{const _0x13c24b=_0x40aafe;window[_0x13c24b(0x268)](_0x13c24b(0x3b0),_0xd8b0d9);});}['_initUnhandledRejectionListener'](){const _0x198791=_0x295e11,_0x1ce688=_0x2461ac=>{const _0x599c23=_0xd951;this['_uploadLog'](_0x599c23(0x3b0),_0x599c23(0x453)+_0x2461ac[_0x599c23(0x402)]);};window[_0x198791(0x259)]('unhandledrejection',_0x1ce688),this['disposeWithMe'](()=>{const _0x3e249f=_0x198791;window[_0x3e249f(0x268)](_0x3e249f(0x47f),_0x1ce688);});}[_0x295e11(0x2da)](){const _0x1a19ac=_0x295e11,_0x125679=this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)][_0x1a19ac(0x2bf)](this[_0x1a19ac(0x458)]);this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)]=(..._0x452fc5)=>{const _0x285d1e=_0x1a19ac,_0x37c87f=_0x452fc5[_0x285d1e(0x361)](_0x5a4984=>_0x5a4984 instanceof Error?_0x5a4984['message']+'\x0a'+_0x5a4984[_0x285d1e(0x210)]:String(_0x5a4984))[_0x285d1e(0x236)]('\x20');this[_0x285d1e(0x276)](_0x285d1e(0x3b0),_0x285d1e(0x253)+_0x37c87f),_0x125679(..._0x452fc5);},this[_0x1a19ac(0x2bc)](()=>{const _0x2fd058=_0x1a19ac;this['_logService'][_0x2fd058(0x3b0)]=_0x125679;});}[_0x295e11(0x276)](_0x247c54,_0x199cda){const _0x545c73=_0x295e11;try{const _0x57b6db={'userId':this[_0x545c73(0x393)],'logLabel':_0x247c54,'content':_0x199cda};this[_0x545c73(0x395)][_0x545c73(0x44a)](_0x545c73(0x3a8),{'body':_0x57b6db})[_0x545c73(0x459)](()=>{});}catch{}}};_0x308889=_0x9fed27([_0x282872(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x282872(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x282872(0x2,_0x40624a[_0x295e11(0x463)]),_0x282872(0x3,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x308889);const _0x146d19=_0x295e11(0x471),_0x1498da={};var _0x25e539=Object[_0x295e11(0x3a0)],_0x475cf6=(_0x5e3968,_0x1ace57,_0x2e7346,_0x2a1a9d)=>{const _0x3b36b5=_0x295e11;for(var _0x455dd1=_0x2a1a9d>0x1?void 0x0:_0x2a1a9d?_0x25e539(_0x1ace57,_0x2e7346):_0x1ace57,_0x59fb3e=_0x5e3968[_0x3b36b5(0x1c4)]-0x1,_0x53e22f;_0x59fb3e>=0x0;_0x59fb3e--)(_0x53e22f=_0x5e3968[_0x59fb3e])&&(_0x455dd1=_0x53e22f(_0x455dd1)||_0x455dd1);return _0x455dd1;},_0xb424f6=(_0x1d2751,_0x4007bf)=>(_0x226338,_0x2714b2)=>_0x4007bf(_0x226338,_0x2714b2,_0x1d2751);let _0x516df5=class{constructor(_0x498256,_0x66e69f){const _0x559a62=_0x295e11;this[_0x559a62(0x1c3)]=_0x498256,this['_renderManagerService']=_0x66e69f;}[_0x295e11(0x1f9)](_0x1adbe4){const _0x8f6da7=_0x295e11;this['_transformUndoRedoStack'](_0x1adbe4),this[_0x8f6da7(0x446)](_0x1adbe4);}[_0x295e11(0x419)](_0x38542a){const _0x56747f=_0x295e11,{unitID:_0xbadb73}=_0x38542a,_0x52604b=this[_0x56747f(0x1ed)][_0x56747f(0x3fe)](_0xbadb73)['with'](_0x118be2[_0x56747f(0x27f)]),{redoCache:_0x3d9c76}=_0x52604b['getUndoRedoMutationParamsCache']();if(_0x3d9c76[_0x56747f(0x1c4)]===0x0)return _0x38542a;let _0x1a316c=_0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a[_0x56747f(0x2c8)][0x0]);for(let _0x389109=0x0;_0x389109<_0x3d9c76[_0x56747f(0x1c4)];_0x389109++){const _0x21b49d={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9c76[_0x389109]}},_0x20b20e=this[_0x56747f(0x1c3)][_0x56747f(0x27a)](_0x1a316c,_0x21b49d,!0x1);if(_0x2c324c[_0x56747f(0x350)](_0x20b20e))throw _0x20b20e[_0x56747f(0x3b0)];_0x1a316c=_0x20b20e[_0x56747f(0x494)];}return{..._0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a),'mutations':[_0x1a316c]};}[_0x295e11(0x3f7)](_0x47955d){const _0x4a0590=_0x295e11,{unitID:_0x737230}=_0x47955d,_0x15eac6=this[_0x4a0590(0x1ed)]['getRenderById'](_0x737230)[_0x4a0590(0x444)](_0x118be2[_0x4a0590(0x27f)]),{undoCache:_0x3727a9,redoCache:_0x4ad55b}=_0x15eac6[_0x4a0590(0x32c)]();if(_0x3727a9[_0x4a0590(0x1c4)]===0x0||_0x4ad55b[_0x4a0590(0x1c4)]===0x0)return;const _0x1e5b66=[],_0x1942cd=[];let _0x241064=_0x40624a[_0x4a0590(0x466)][_0x4a0590(0x3da)](_0x47955d[_0x4a0590(0x2c8)][0x0]),_0x52fb1b=_0x40624a[_0x4a0590(0x466)]['deepClone'](_0x47955d[_0x4a0590(0x2c8)][0x0]);for(let _0x43a8ef=_0x3727a9[_0x4a0590(0x1c4)]-0x1;_0x43a8ef>=0x0;_0x43a8ef--){const _0x57471b={'id':_0x4a0590(0x489),'params':{..._0x3727a9[_0x43a8ef]}},_0x2be435={'id':_0x4a0590(0x489),'params':{..._0x4ad55b[_0x43a8ef]}},_0x15c0c9=this['_transformService']['transformMutation'](_0x241064,_0x57471b,!0x1),_0x5ab943=this[_0x4a0590(0x1c3)]['transformMutation'](_0x52fb1b,_0x2be435,!0x1);if(_0x2c324c['isTransformMutationFailure'](_0x15c0c9))throw _0x15c0c9[_0x4a0590(0x3b0)];if(_0x2c324c[_0x4a0590(0x350)](_0x5ab943))throw _0x5ab943[_0x4a0590(0x3b0)];_0x1e5b66[_0x4a0590(0x1d0)](_0x15c0c9[_0x4a0590(0x3d2)]['params']),_0x1942cd[_0x4a0590(0x1d0)](_0x5ab943[_0x4a0590(0x3d2)][_0x4a0590(0x1d6)]),_0x241064=_0x15c0c9[_0x4a0590(0x494)],_0x52fb1b=_0x5ab943[_0x4a0590(0x494)];}_0x15eac6[_0x4a0590(0x3d7)]({'undoCache':_0x1e5b66,'redoCache':_0x1942cd});}[_0x295e11(0x446)](_0x4c1826){const _0x1a89b6=_0x295e11,{unitID:_0x2533aa}=_0x4c1826,_0x175ba1=this[_0x1a89b6(0x1ed)][_0x1a89b6(0x3fe)](_0x2533aa)[_0x1a89b6(0x444)](_0x118be2[_0x1a89b6(0x27f)]),_0x309938=_0x175ba1[_0x1a89b6(0x205)]();if(_0x309938==null)return;const _0x2d81b5=[{'id':_0x1a89b6(0x489),'params':{'unitId':_0x4c1826[_0x1a89b6(0x298)],'actions':null,'textRanges':[_0x309938]}}],_0x135543=this[_0x1a89b6(0x1c3)][_0x1a89b6(0x3fb)](_0x4c1826,_0x2d81b5);if(!_0x2c324c['isTransformMutationsWithChangesetSuccess'](_0x135543))throw _0x135543['error'];const _0x2d096d=_0x135543[_0x1a89b6(0x3d2)][0x0][_0x1a89b6(0x1d6)][_0x1a89b6(0x1f4)];Array[_0x1a89b6(0x44f)](_0x2d096d)&&_0x2d096d[_0x1a89b6(0x1c4)]&&_0x175ba1[_0x1a89b6(0x348)](_0x2d096d[0x0]);}};_0x516df5=_0x475cf6([_0xb424f6(0x0,_0x2c324c[_0x295e11(0x487)]),_0xb424f6(0x1,_0x2680b3['IRenderManagerService'])],_0x516df5);var _0x228c9f=Object[_0x295e11(0x3a0)],_0x1714d3=(_0x8fcc38,_0x13f243,_0x43a4ca,_0x1dc333)=>{const _0x5f4ca8=_0x295e11;for(var _0x19dfad=_0x1dc333>0x1?void 0x0:_0x1dc333?_0x228c9f(_0x13f243,_0x43a4ca):_0x13f243,_0x247b40=_0x8fcc38[_0x5f4ca8(0x1c4)]-0x1,_0x217173;_0x247b40>=0x0;_0x247b40--)(_0x217173=_0x8fcc38[_0x247b40])&&(_0x19dfad=_0x217173(_0x19dfad)||_0x19dfad);return _0x19dfad;},_0x558441=(_0xfd4f4,_0x15dae2)=>(_0x3a885b,_0x21c62f)=>_0x15dae2(_0x3a885b,_0x21c62f,_0xfd4f4);let _0x2c640a=class{constructor(_0x3366a7,_0x4ca0da,_0x5717eb){const _0x107f65=_0x295e11;this['_injector']=_0x3366a7,this[_0x107f65(0x1c3)]=_0x4ca0da,this[_0x107f65(0x2fc)]=_0x5717eb;}[_0x295e11(0x422)](_0x479a34){this['_transformHistoryAndStateStack'](_0x479a34);}[_0x295e11(0x419)](_0x58abe5){const _0x1381e9=_0x295e11,{unitID:_0x4ab10b}=_0x58abe5,{collaboration:_0x5ee347}=this[_0x1381e9(0x2fc)]['getStateCache'](_0x4ab10b);if(_0x5ee347[_0x1381e9(0x1c4)]===0x0)return _0x58abe5;let _0x738f18=_0x40624a[_0x1381e9(0x466)][_0x1381e9(0x3da)](_0x58abe5['mutations'][0x0]);for(let _0x473fb2=0x0;_0x473fb2<_0x5ee347[_0x1381e9(0x1c4)];_0x473fb2++){const _0xbe55d9={'id':_0x1381e9(0x489),'params':{'unitId':_0x5ee347[_0x473fb2]['unitId'],..._0x5ee347[_0x473fb2][_0x1381e9(0x1ef)]}},_0x1440b1=this[_0x1381e9(0x1c3)][_0x1381e9(0x27a)](_0x738f18,_0xbe55d9,!0x1);if(_0x2c324c[_0x1381e9(0x350)](_0x1440b1))throw _0x1440b1[_0x1381e9(0x3b0)];_0x738f18=_0x1440b1[_0x1381e9(0x494)];}return{..._0x40624a[_0x1381e9(0x466)]['deepClone'](_0x58abe5),'mutations':[_0x738f18]};}[_0x295e11(0x30b)](_0x3c2ae0){const _0x4011c1=_0x295e11,{unitID:_0x18d294}=_0x3c2ae0,{history:_0x1de47f,collaboration:_0x508721}=this[_0x4011c1(0x2fc)][_0x4011c1(0x2c3)](_0x18d294);if(_0x1de47f['length']===0x0&&_0x508721[_0x4011c1(0x1c4)]===0x0)return;const _0x388a17=[],_0x46a1e1=[];let _0x31ccae=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0x5b86d4=_0x1de47f['length']-0x1;_0x5b86d4>=0x0;_0x5b86d4--){const _0x23e857={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1de47f[_0x5b86d4][_0x4011c1(0x495)],..._0x1de47f[_0x5b86d4][_0x4011c1(0x414)]}},_0x1fb002={'id':_0x4011c1(0x489),'params':{'unitId':_0x1de47f[_0x5b86d4]['unitId'],..._0x1de47f[_0x5b86d4][_0x4011c1(0x1ef)]}},_0x1a3ef3=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x31ccae,_0x23e857,!0x1),_0x3cf942=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x1fb002,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x1a3ef3))throw _0x1a3ef3[_0x4011c1(0x3b0)];if(_0x2c324c['isTransformMutationFailure'](_0x3cf942))throw _0x3cf942[_0x4011c1(0x3b0)];_0x388a17[_0x4011c1(0x1d0)]({..._0x1de47f[_0x5b86d4],'undoState':_0x1a3ef3[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)],'redoState':_0x3cf942[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x1a3ef3[_0x4011c1(0x494)],_0x1d162d=_0x3cf942[_0x4011c1(0x494)];}_0x31ccae=_0x40624a[_0x4011c1(0x466)][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0xdd9db5=_0x508721['length']-0x1;_0xdd9db5>=0x0;_0xdd9db5--){const _0x152d96={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5]['undoState']}},_0x26e121={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5][_0x4011c1(0x1ef)]}},_0x27e4ee=this[_0x4011c1(0x1c3)]['transformMutation'](_0x31ccae,_0x152d96,!0x1),_0x51dc8f=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x26e121,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x27e4ee))throw _0x27e4ee[_0x4011c1(0x3b0)];if(_0x2c324c[_0x4011c1(0x350)](_0x51dc8f))throw _0x51dc8f['error'];_0x46a1e1[_0x4011c1(0x1d0)]({..._0x508721[_0xdd9db5],'undoState':_0x27e4ee[_0x4011c1(0x3d2)]['params'],'redoState':_0x51dc8f[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x27e4ee[_0x4011c1(0x494)],_0x1d162d=_0x51dc8f['m1Prime'];}this[_0x4011c1(0x2fc)][_0x4011c1(0x225)](_0x18d294,{'history':_0x388a17,'collaboration':_0x46a1e1});}};_0x2c640a=_0x1714d3([_0x558441(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x558441(0x1,_0x2c324c[_0x295e11(0x487)]),_0x558441(0x2,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)]))],_0x2c640a);var _0xe51764=Object['getOwnPropertyDescriptor'],_0x2bc37e=(_0x2ddb06,_0x206184,_0x2fc267,_0x4fa6c8)=>{const _0x596df3=_0x295e11;for(var _0x2d54cb=_0x4fa6c8>0x1?void 0x0:_0x4fa6c8?_0xe51764(_0x206184,_0x2fc267):_0x206184,_0x1b0cb3=_0x2ddb06[_0x596df3(0x1c4)]-0x1,_0x43f500;_0x1b0cb3>=0x0;_0x1b0cb3--)(_0x43f500=_0x2ddb06[_0x1b0cb3])&&(_0x2d54cb=_0x43f500(_0x2d54cb)||_0x2d54cb);return _0x2d54cb;},_0x1448a9=(_0xc7e7e0,_0x1bcdac)=>(_0x36dd66,_0x500562)=>_0x1bcdac(_0x36dd66,_0x500562,_0xc7e7e0);let _0x1165fa=class{constructor(_0x2dbfae,_0x141d78){const _0x340588=_0x295e11;this['_injector']=_0x2dbfae,this[_0x340588(0x1c3)]=_0x141d78;}[_0x295e11(0x3cb)](_0xad5b72){const _0x38493d=_0x295e11;var _0x17d107;const _0x4ecc4d=this[_0x38493d(0x351)][_0x38493d(0x1de)](_0x3f3b23[_0x38493d(0x34f)]),_0x21811f=(_0x17d107=_0x4ecc4d[_0x38493d(0x3c9)]())!=null?_0x17d107:[];if(_0x21811f[_0x38493d(0x1c4)]===0x0)return;const _0xf31187=_0xad5b72[_0x38493d(0x298)],_0x1a1b71=[{'id':_0x38493d(0x489),'params':{'unitId':_0xf31187,'actions':null,'textRanges':_0x21811f}}],_0x225db4=this[_0x38493d(0x1c3)][_0x38493d(0x3fb)](_0xad5b72,_0x1a1b71);if(!_0x2c324c[_0x38493d(0x38b)](_0x225db4))throw _0x225db4[_0x38493d(0x3b0)];const _0x53b2e9=_0x225db4[_0x38493d(0x3d2)][0x0][_0x38493d(0x1d6)][_0x38493d(0x1f4)];Array[_0x38493d(0x44f)](_0x53b2e9)&&_0x53b2e9[_0x38493d(0x1c4)]&&_0x4ecc4d[_0x38493d(0x2dc)](_0x53b2e9,{'unitId':_0xf31187,'subUnitId':_0xf31187},!0x1);}};_0x1165fa=_0x2bc37e([_0x1448a9(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1448a9(0x1,_0x2c324c[_0x295e11(0x487)])],_0x1165fa);var _0x368a97=Object[_0x295e11(0x3a0)],_0x488d23=(_0x389eab,_0x3b6076,_0x19ce94,_0x5a2e4f)=>{const _0xe45ea=_0x295e11;for(var _0x55d49a=_0x5a2e4f>0x1?void 0x0:_0x5a2e4f?_0x368a97(_0x3b6076,_0x19ce94):_0x3b6076,_0x1852ae=_0x389eab[_0xe45ea(0x1c4)]-0x1,_0x5ec3de;_0x1852ae>=0x0;_0x1852ae--)(_0x5ec3de=_0x389eab[_0x1852ae])&&(_0x55d49a=_0x5ec3de(_0x55d49a)||_0x55d49a);return _0x55d49a;},_0x178c3d=(_0x506b87,_0xd415ac)=>(_0x1f6c46,_0x5b9abc)=>_0xd415ac(_0x1f6c46,_0x5b9abc,_0x506b87);let _0x22b2b8=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x76a33e,_0x49edf4,_0xaeffd1,_0x15ef02,_0x42766f,_0x4dcb6e,_0x45ab22,_0xafb9eb){const _0x210030=_0x295e11;super(),_0x9020b(this,_0x210030(0x3bf),new _0x5b38f4[(_0x210030(0x21d))](_0x3958ea[_0x210030(0x3a7)][_0x210030(0x20f)])),(this[_0x210030(0x2fc)]=_0x76a33e,this['_collaborationController']=_0x49edf4,this['_docTransformIMECacheService']=_0xaeffd1,this['_docTransformStateCacheService']=_0x15ef02,this[_0x210030(0x37c)]=_0x42766f,this[_0x210030(0x3c7)]=_0x4dcb6e,this[_0x210030(0x233)]=_0x45ab22,this[_0x210030(0x2a5)]=_0xafb9eb,this[_0x210030(0x48f)]());}[_0x295e11(0x48f)](){const _0x89f344=_0x295e11;this['disposeWithMe'](this[_0x89f344(0x2c6)][_0x89f344(0x35f)]['subscribe'](_0xa3270f=>{const _0x1521ae=_0x89f344,_0x2e4bdf=this[_0x1521ae(0x2fc)][_0x1521ae(0x3ad)]['subscribe'](_0x3d23f8=>{const _0x2e7699=_0x1521ae;if(_0x3d23f8==null)return;const {unitId:_0x879a5c,redoState:_0x1c67dd,commandId:_0x5d1873}=_0x3d23f8;if(_0x879a5c!==_0xa3270f[_0x2e7699(0x298)])return;const _0x56e44f={'id':_0x5d1873,'type':_0x40624a[_0x2e7699(0x2e9)]['MUTATION'],'params':{'unitId':_0x879a5c,'actions':_0x1c67dd[_0x2e7699(0x43d)],'textRanges':null}};_0xa3270f['onLocalMutation'](_0x56e44f);});if(_0xa3270f[_0x1521ae(0x2bc)](_0x2e4bdf),_0xa3270f instanceof _0x3958ea[_0x1521ae(0x239)]){const _0x1b6ba9={'onTransformIME':_0x4d1e27=>this[_0x1521ae(0x34b)]['transformIMECache'](_0x4d1e27),'onTransformState':_0x3029b5=>this['_docTransformStateCacheService'][_0x1521ae(0x422)](_0x3029b5),'onTransformSelections':_0x2950ee=>this[_0x1521ae(0x37c)][_0x1521ae(0x3cb)](_0x2950ee),'onSyncEditingCollabCursor':_0xf108b8=>this['_docSyncEditingCollabCursorService'][_0x1521ae(0x3fc)](_0xf108b8),'onTransformRemoteChangesetByIMECache':_0x25c36d=>this[_0x1521ae(0x34b)][_0x1521ae(0x419)](_0x25c36d),'onTransformRemoteChangesetByStateCache':_0x335dcb=>this[_0x1521ae(0x2e8)][_0x1521ae(0x419)](_0x335dcb)};_0xa3270f[_0x1521ae(0x22a)](_0x1b6ba9);}}));}};_0x22b2b8=_0x488d23([_0x178c3d(0x0,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)])),_0x178c3d(0x1,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x178c3d(0x2,_0x40624a[_0x295e11(0x33d)](_0x516df5)),_0x178c3d(0x3,_0x40624a[_0x295e11(0x33d)](_0x2c640a)),_0x178c3d(0x4,_0x40624a['Inject'](_0x1165fa)),_0x178c3d(0x5,_0x40624a['Inject'](_0x2a125f)),_0x178c3d(0x6,_0x8e6f8f[_0x295e11(0x3dd)]),_0x178c3d(0x7,_0x40624a[_0x295e11(0x33d)](_0x40624a['LocaleService']))],_0x22b2b8);var _0x319d71=(_0x4df9c9=>(_0x4df9c9[_0x4df9c9[_0x295e11(0x1ec)]=0x0]=_0x295e11(0x1ec),_0x4df9c9[_0x4df9c9['OK']=0x1]='OK',_0x4df9c9[_0x4df9c9[_0x295e11(0x4a9)]=0x2]=_0x295e11(0x4a9),_0x4df9c9[_0x4df9c9[_0x295e11(0x33c)]=0x3]=_0x295e11(0x33c),_0x4df9c9[_0x4df9c9[_0x295e11(0x29a)]=0x4]='NOT_FOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x3ea)]=0x5]='UNAUTHENTICATED',_0x4df9c9[_0x4df9c9[_0x295e11(0x392)]=0x6]=_0x295e11(0x392),_0x4df9c9[_0x4df9c9[_0x295e11(0x214)]=0x7]=_0x295e11(0x214),_0x4df9c9[_0x4df9c9['TOO_MANY_REQUESTS']=0x8]=_0x295e11(0x3b1),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ad)]=0x9]=_0x295e11(0x2ad),_0x4df9c9[_0x4df9c9['LOGIN_FAILED']=0xa]=_0x295e11(0x327),_0x4df9c9[_0x4df9c9[_0x295e11(0x48c)]=0xb]=_0x295e11(0x48c),_0x4df9c9[_0x4df9c9[_0x295e11(0x488)]=0xc]=_0x295e11(0x488),_0x4df9c9[_0x4df9c9[_0x295e11(0x380)]=0xd]=_0x295e11(0x380),_0x4df9c9[_0x4df9c9[_0x295e11(0x346)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4df9c9[_0x4df9c9['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4df9c9[_0x4df9c9[_0x295e11(0x44b)]=0x10]=_0x295e11(0x44b),_0x4df9c9[_0x4df9c9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x295e11(0x39d),_0x4df9c9[_0x4df9c9[_0x295e11(0x2c7)]=0x65]=_0x295e11(0x2c7),_0x4df9c9[_0x4df9c9['USER_NOT_FOUND']=0xc9]=_0x295e11(0x333),_0x4df9c9[_0x4df9c9['USER_IS_ANONYMOUS']=0xca]=_0x295e11(0x29b),_0x4df9c9[_0x4df9c9[_0x295e11(0x2a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4df9c9[_0x4df9c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x295e11(0x211),_0x4df9c9[_0x4df9c9[_0x295e11(0x428)]=0x1772]=_0x295e11(0x428),_0x4df9c9[_0x4df9c9[_0x295e11(0x24b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4df9c9[_0x4df9c9['APPLY_REJECT']=0x1b59]=_0x295e11(0x244),_0x4df9c9[_0x4df9c9[_0x295e11(0x282)]=0x1b5a]=_0x295e11(0x282),_0x4df9c9[_0x4df9c9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x295e11(0x3e0),_0x4df9c9[_0x4df9c9[_0x295e11(0x3a5)]=0x1b5c]=_0x295e11(0x3a5),_0x4df9c9[_0x4df9c9['APPLY_DUPLICATED']=0x1b5d]=_0x295e11(0x1d1),_0x4df9c9[_0x4df9c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x295e11(0x289),_0x4df9c9[_0x4df9c9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x295e11(0x413),_0x4df9c9[_0x4df9c9[_0x295e11(0x420)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4df9c9[_0x4df9c9[_0x295e11(0x27c)]=0x232b]=_0x295e11(0x27c),_0x4df9c9[_0x4df9c9[_0x295e11(0x338)]=0x232c]=_0x295e11(0x338),_0x4df9c9[_0x4df9c9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x295e11(0x47b),_0x4df9c9[_0x4df9c9[_0x295e11(0x41f)]=0x2711]=_0x295e11(0x41f),_0x4df9c9[_0x4df9c9[_0x295e11(0x306)]=0x2712]=_0x295e11(0x306),_0x4df9c9[_0x4df9c9[_0x295e11(0x389)]=0x2713]=_0x295e11(0x389),_0x4df9c9[_0x4df9c9[_0x295e11(0x308)]=0x2714]=_0x295e11(0x308),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4df9c9[_0x4df9c9[_0x295e11(0x1f7)]=0x271b]=_0x295e11(0x1f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x243)]=0x271c]=_0x295e11(0x243),_0x4df9c9[_0x4df9c9[_0x295e11(0x1dc)]=0x271d]=_0x295e11(0x1dc),_0x4df9c9[_0x4df9c9[_0x295e11(0x3cf)]=0x271e]=_0x295e11(0x3cf),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f8)]=0x271f]=_0x295e11(0x2f8),_0x4df9c9[_0x4df9c9[_0x295e11(0x325)]=0x2720]=_0x295e11(0x325),_0x4df9c9[_0x4df9c9[_0x295e11(0x418)]=0x2af9]=_0x295e11(0x418),_0x4df9c9[_0x4df9c9[_0x295e11(0x479)]=0x2ee1]=_0x295e11(0x479),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ea)]=0x2ee2]='INVALID_INVITE_CODE',_0x4df9c9[_0x4df9c9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4df9c9[_0x4df9c9[_0x295e11(0x228)]=0x2ee4]=_0x295e11(0x228),_0x4df9c9[_0x4df9c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4df9c9[_0x4df9c9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x295e11(0x45c),_0x4df9c9[_0x4df9c9[_0x295e11(0x264)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x32b)]=0x32cb]=_0x295e11(0x32b),_0x4df9c9[_0x4df9c9[_0x295e11(0x4b3)]=0x36b1]=_0x295e11(0x4b3),_0x4df9c9[_0x4df9c9[_0x295e11(0x307)]=0x36b2]=_0x295e11(0x307),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f2)]=0x36b3]=_0x295e11(0x3f2),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f7)]=0x36b4]=_0x295e11(0x2f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x26c)]=0x36b5]=_0x295e11(0x26c),_0x4df9c9[_0x4df9c9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x295e11(0x447),_0x4df9c9[_0x4df9c9[_0x295e11(0x3b6)]=0x36b7]=_0x295e11(0x3b6),_0x4df9c9[_0x4df9c9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x295e11(0x31f),_0x4df9c9[_0x4df9c9[_0x295e11(0x33f)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4df9c9[_0x4df9c9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x295e11(0x4b2),_0x4df9c9[_0x4df9c9[_0x295e11(0x258)]=0x3717]=_0x295e11(0x258),_0x4df9c9[_0x4df9c9[_0x295e11(0x467)]=0x37dd]=_0x295e11(0x467),_0x4df9c9[_0x4df9c9[_0x295e11(0x238)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4df9c9[_0x4df9c9[_0x295e11(0x294)]=0x3a9a]=_0x295e11(0x294),_0x4df9c9[_0x4df9c9[_0x295e11(0x493)]=0x3a9b]=_0x295e11(0x493),_0x4df9c9[_0x4df9c9[_0x295e11(0x442)]=0x3a9c]=_0x295e11(0x442),_0x4df9c9[_0x4df9c9[_0x295e11(0x44d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4df9c9[_0x4df9c9[_0x295e11(0x23e)]=0x3a9e]=_0x295e11(0x23e),_0x4df9c9[_0x4df9c9[_0x295e11(0x330)]=0x3a9f]=_0x295e11(0x330),_0x4df9c9[_0x4df9c9[_0x295e11(0x2e6)]=0x3e81]=_0x295e11(0x2e6),_0x4df9c9[_0x4df9c9[_0x295e11(0x255)]=-0x1]=_0x295e11(0x255),_0x4df9c9))(_0x319d71||{});function _0x143dd4(_0x1b9485){const _0x3d0277=_0x295e11;var _0x2be7e6,_0x1d6e22;const _0x4a10a4=(_0x2be7e6=_0x1b9485[_0x3d0277(0x43a)])==null?void 0x0:_0x2be7e6[_0x3d0277(0x354)],_0xe72418=((_0x1d6e22=_0x1b9485['stageInfo'])==null?void 0x0:_0x1d6e22[_0x3d0277(0x2fe)])||0x0;return _0x4a10a4===_0x100a4f[_0x3d0277(0x262)]['START_CALCULATION']&&_0xe72418>0x0;}function _0x361644(_0x44083a){const _0x34793c=_0x295e11;return _0x44083a[_0x34793c(0x254)]===_0x100a4f[_0x34793c(0x21e)]['SUCCESS'];}var _0x161bf3=Object[_0x295e11(0x3a0)],_0x5d9f83=(_0x269f0d,_0x57c0a6,_0x1c7f2f,_0x57a56a)=>{for(var _0x553e4f=_0x57a56a>0x1?void 0x0:_0x57a56a?_0x161bf3(_0x57c0a6,_0x1c7f2f):_0x57c0a6,_0x23464b=_0x269f0d['length']-0x1,_0x1a0113;_0x23464b>=0x0;_0x23464b--)(_0x1a0113=_0x269f0d[_0x23464b])&&(_0x553e4f=_0x1a0113(_0x553e4f)||_0x553e4f);return _0x553e4f;},_0x16e967=(_0x10ba53,_0x59b4cf)=>(_0x5d5295,_0x2ea79d)=>_0x59b4cf(_0x5d5295,_0x2ea79d,_0x10ba53);const _0x55cf85=_0x295e11(0x302),_0x918f2b=_0x295e11(0x30e),_0x272d31=_0x295e11(0x42b);let _0x2f3884=class extends _0x40624a['Disposable']{constructor(_0x225761,_0x5d0559,_0x2b9c81,_0x204d62,_0x2f9443,_0x468d02,_0xf5bd9){const _0x4a297c=_0x295e11;super(),_0x9020b(this,_0x4a297c(0x3bd),null),_0x9020b(this,_0x4a297c(0x492),0x0),_0x9020b(this,'_currentUsage',0x0),_0x9020b(this,_0x4a297c(0x1c9),[]),_0x9020b(this,_0x4a297c(0x49d),0x0),(this[_0x4a297c(0x233)]=_0x225761,this[_0x4a297c(0x3ee)]=_0x5d0559,this[_0x4a297c(0x2d4)]=_0x2b9c81,this[_0x4a297c(0x395)]=_0x204d62,this[_0x4a297c(0x3ba)]=_0x2f9443,this[_0x4a297c(0x458)]=_0x468d02,this['_localeService']=_0xf5bd9,this[_0x4a297c(0x297)]());}[_0x295e11(0x297)](){const _0x27bf7a=_0x295e11;this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['beforeCommandExecuted']((_0x13d7ac,_0x2246ba)=>{const _0x29ed22=_0x27bf7a;var _0x1c851b;if(_0x13d7ac['id']!==_0x100a4f[_0x29ed22(0x441)]['id'])return;const _0x2315a0=_0x13d7ac[_0x29ed22(0x1d6)];if(!this[_0x29ed22(0x32a)]((_0x1c851b=_0x2315a0[_0x29ed22(0x46f)])!=null?_0x1c851b:[]))return;if(!this[_0x29ed22(0x23a)]())throw this['_checkAndWaitForCalculationPermission'](_0x13d7ac,_0x2246ba),this['_showGuardMessage'](),new _0x40624a['CanceledError']();})),this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['onCommandExecuted']((_0x2dec4d,_0x13ba47)=>{const _0x3f4b7a=_0x27bf7a;if(_0x2dec4d['id']!==_0x100a4f[_0x3f4b7a(0x29f)]['id'])return;const _0x3a9303=_0x2dec4d[_0x3f4b7a(0x1d6)];if(_0x143dd4(_0x3a9303)){const _0x4e049b=_0x40624a['generateRandomId']();this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x2f0)](_0x4e049b),this[_0x3f4b7a(0x450)](_0x4e049b);}else{if(_0x361644(_0x3a9303)&&this['_taskIds'][_0x3f4b7a(0x1c4)]>0x0){const _0xbd4839=this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x45a)]();this[_0x3f4b7a(0x4a7)](_0xbd4839);}}}));}[_0x295e11(0x3d1)](){const _0xd03487=_0x295e11;super[_0xd03487(0x3d1)](),this[_0xd03487(0x43e)](),this['_taskIds']=[],this[_0xd03487(0x3f5)]=0x0,this[_0xd03487(0x492)]=0x0,this[_0xd03487(0x49d)]=0x0;}async[_0x295e11(0x46b)](_0x302348,_0x23fe20){const _0x58fbaf=_0x295e11;for(let _0x26e843=0x0;_0x26e843<0x1e;_0x26e843++)try{if(await this[_0x58fbaf(0x1ff)](),this[_0x58fbaf(0x23a)]()){this[_0x58fbaf(0x34a)](_0x302348,_0x23fe20),this['_messageService'][_0x58fbaf(0x344)]({'content':this[_0x58fbaf(0x2a5)]['t'](_0x58fbaf(0x3e5)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x470)]});return;}await new Promise(_0x469cc3=>{const _0x22ddd1=_0x58fbaf;this[_0x22ddd1(0x3bd)]=window[_0x22ddd1(0x30f)](_0x469cc3,0x3e8);});}catch(_0x1812e6){this['_logService'][_0x58fbaf(0x3b0)](_0x1812e6);}this[_0x58fbaf(0x233)][_0x58fbaf(0x344)]({'content':this['_localeService']['t'](_0x58fbaf(0x485)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x476)]});}[_0x295e11(0x34a)](_0x23753a,_0x3d2a46){const _0x49fce1=_0x295e11;try{this['_commandService'][_0x49fce1(0x48b)](_0x23753a['id'],_0x23753a['params'],_0x3d2a46);}catch(_0x3c77d8){this[_0x49fce1(0x458)][_0x49fce1(0x3b0)](_0x3c77d8);}}[_0x295e11(0x1dd)](_0x5f1832,_0x34df17){const _0x12502a=_0x295e11;_0x34df17<this['_lastResponseTimestamp']||(this[_0x12502a(0x49d)]=_0x34df17,this[_0x12502a(0x492)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x318)]),this[_0x12502a(0x3f5)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x296)]));}async[_0x295e11(0x450)](_0x5bdc4e){const _0x2af952=_0x295e11;var _0x2eef35,_0x15c990;const _0x3a6982=Date[_0x2af952(0x40f)]();try{const _0x584b09=((_0x2eef35=this[_0x2af952(0x2d4)][_0x2af952(0x231)](_0x3958ea[_0x2af952(0x222)]))==null?void 0x0:_0x2eef35[_0x2af952(0x1e0)])||_0x918f2b,_0x590f0d=(await this[_0x2af952(0x395)][_0x2af952(0x44a)](_0x584b09,{'body':JSON[_0x2af952(0x2be)]({'taskId':_0x5bdc4e})}))[_0x2af952(0x4a2)];if(((_0x15c990=_0x590f0d['error'])==null?void 0x0:_0x15c990[_0x2af952(0x286)])!==_0x319d71['OK'])return;this[_0x2af952(0x1dd)](_0x590f0d[_0x2af952(0x284)],_0x3a6982);}catch(_0x1b9cd1){this['_logService']['error'](_0x1b9cd1);}}async[_0x295e11(0x1ff)](_0x363f61){const _0x283ad5=_0x295e11;var _0x358e7c,_0x53746a;const _0x43a2fe=Date['now']();try{const _0x41b3a0=((_0x358e7c=this[_0x283ad5(0x2d4)]['getConfig'](_0x3958ea[_0x283ad5(0x222)]))==null?void 0x0:_0x358e7c['getformulaLimitStatusUrl'])||_0x55cf85,_0x3cc283=_0x363f61?_0x41b3a0+'?taskId='+encodeURIComponent(_0x363f61):_0x41b3a0,_0x4c03fb=(await this[_0x283ad5(0x395)][_0x283ad5(0x1de)](_0x3cc283))[_0x283ad5(0x4a2)];if(((_0x53746a=_0x4c03fb[_0x283ad5(0x3b0)])==null?void 0x0:_0x53746a[_0x283ad5(0x286)])!==_0x319d71['OK'])return;this['_setFormulaLimitStatus'](_0x4c03fb[_0x283ad5(0x284)],_0x43a2fe);}catch(_0x527548){this[_0x283ad5(0x458)][_0x283ad5(0x3b0)](_0x527548);}}async[_0x295e11(0x4a7)](_0x366abc){const _0x3e112b=_0x295e11;var _0x15dfdf,_0x2a02e5;const _0x721099=Date[_0x3e112b(0x40f)]();try{const _0x391bf7=((_0x15dfdf=this['_configService']['getConfig'](_0x3958ea[_0x3e112b(0x222)]))==null?void 0x0:_0x15dfdf[_0x3e112b(0x1c0)])||_0x272d31,_0x58b32a=(await this[_0x3e112b(0x395)][_0x3e112b(0x44a)](_0x391bf7,{'body':JSON['stringify']({'taskId':_0x366abc})}))[_0x3e112b(0x4a2)];if(((_0x2a02e5=_0x58b32a[_0x3e112b(0x3b0)])==null?void 0x0:_0x2a02e5[_0x3e112b(0x286)])!==_0x319d71['OK'])return;this[_0x3e112b(0x1dd)](_0x58b32a[_0x3e112b(0x284)],_0x721099);}catch(_0x1e0304){this[_0x3e112b(0x458)][_0x3e112b(0x3b0)](_0x1e0304);}}['_checkCalculationAvailable'](){const _0x1aef1f=_0x295e11;return this[_0x1aef1f(0x492)]===0x0?!0x0:this[_0x1aef1f(0x492)]-this[_0x1aef1f(0x3f5)]>0x0;}[_0x295e11(0x43e)](){const _0x4475b9=_0x295e11;this[_0x4475b9(0x3bd)]&&(clearTimeout(this[_0x4475b9(0x3bd)]),this[_0x4475b9(0x3bd)]=null);}[_0x295e11(0x2f9)](){const _0x57899b=_0x295e11;this[_0x57899b(0x233)][_0x57899b(0x344)]({'content':this[_0x57899b(0x2a5)]['t']('formula.calculation.waiting'),'type':_0x4e15c3[_0x57899b(0x256)][_0x57899b(0x39b)]});}[_0x295e11(0x32a)](_0x1de230){const _0x5bb94c=_0x295e11;for(const _0x2d63b8 of _0x1de230){const {unitId:_0x3cde27,sheetId:_0x1f7711,range:_0x4f34b9}=_0x2d63b8,_0x4e678d=this['_univerInstanceService']['getUnit'](_0x3cde27);if(!_0x4e678d)continue;const _0x2be0c4=_0x4e678d[_0x5bb94c(0x3e2)](_0x1f7711);if(!_0x2be0c4)continue;const _0x3ca1e0=_0x2be0c4[_0x5bb94c(0x3e1)]();for(let _0x755b32=_0x4f34b9[_0x5bb94c(0x218)];_0x755b32<=_0x4f34b9[_0x5bb94c(0x421)];_0x755b32++)for(let _0x17d3f7=_0x4f34b9[_0x5bb94c(0x25f)];_0x17d3f7<=_0x4f34b9[_0x5bb94c(0x3af)];_0x17d3f7++){const _0x36e27d=_0x3ca1e0['getValue'](_0x755b32,_0x17d3f7);if(_0x36e27d&&(_0x40624a[_0x5bb94c(0x3a1)](_0x36e27d['f'])||_0x40624a['isFormulaId'](_0x36e27d['si'])))return!0x0;}}return!0x1;}};_0x2f3884=_0x5d9f83([_0x16e967(0x0,_0x40624a[_0x295e11(0x33d)](_0x8e6f8f[_0x295e11(0x3dd)])),_0x16e967(0x1,_0x40624a['ICommandService']),_0x16e967(0x2,_0x40624a[_0x295e11(0x26b)]),_0x16e967(0x3,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x16e967(0x4,_0x40624a[_0x295e11(0x2e4)]),_0x16e967(0x5,_0x40624a['ILogService']),_0x16e967(0x6,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x2f3884);var _0xd76ff7=Object[_0x295e11(0x3a0)],_0xc80f08=(_0x5c7170,_0x19d41a,_0x24c4a4,_0x1b31f6)=>{const _0x2fb312=_0x295e11;for(var _0x3b9490=_0x1b31f6>0x1?void 0x0:_0x1b31f6?_0xd76ff7(_0x19d41a,_0x24c4a4):_0x19d41a,_0x1c13dd=_0x5c7170[_0x2fb312(0x1c4)]-0x1,_0xf04be;_0x1c13dd>=0x0;_0x1c13dd--)(_0xf04be=_0x5c7170[_0x1c13dd])&&(_0x3b9490=_0xf04be(_0x3b9490)||_0x3b9490);return _0x3b9490;},_0x5b38eb=(_0x29c3f9,_0x53c8d0)=>(_0xe464cc,_0x2c92aa)=>_0x53c8d0(_0xe464cc,_0x2c92aa,_0x29c3f9);let _0x3698c4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4e7466,_0x33f518,_0x2b911c){const _0xdc9bf9=_0x295e11;super(),_0x9020b(this,_0xdc9bf9(0x32e),new Map()),_0x9020b(this,_0xdc9bf9(0x1fe),new Map()),_0x9020b(this,'_disabled',!0x1),(this[_0xdc9bf9(0x2d4)]=_0x4e7466,this[_0xdc9bf9(0x490)]=_0x33f518,this[_0xdc9bf9(0x321)]=_0x2b911c);}[_0x295e11(0x200)](){const _0x14cbd3=_0x295e11;this[_0x14cbd3(0x220)]=!0x0;}[_0x295e11(0x3a6)](){const _0x1a6373=_0x295e11;this[_0x1a6373(0x220)]=!0x1;}get[_0x295e11(0x313)](){return this['_saveTaskMap'];}[_0x295e11(0x3d1)](){const _0x4b1ad8=_0x295e11;this[_0x4b1ad8(0x46c)]()['then'](()=>super[_0x4b1ad8(0x3d1)]());}async[_0x295e11(0x4aa)](_0x23171b){const _0x332140=_0x295e11;return this[_0x332140(0x220)]?null:this[_0x332140(0x490)][_0x332140(0x1e5)](_0x3958ea[_0x332140(0x2db)](_0x23171b));}async[_0x295e11(0x1be)](_0x5a590a,_0xf74f56){const _0x1cf23a=_0x295e11;return!!this[_0x1cf23a(0x490)][_0x1cf23a(0x406)](_0x5a590a,_0xf74f56);}[_0x295e11(0x251)](_0x41b57a,_0x587a5,_0x1b55a6,_0x3c1683){const _0x5ce9a2=_0x295e11,_0x5ef294=this['_revisionService'][_0x5ce9a2(0x443)](_0x41b57a);this[_0x5ce9a2(0x32e)][_0x5ce9a2(0x370)](_0x41b57a,{'unitID':_0x41b57a,'type':_0x587a5,'awaitingChangeset':_0x1b55a6,'mutations':_0x3c1683,'rev':_0x5ef294}),this[_0x5ce9a2(0x1fe)]['has'](_0x41b57a)||this[_0x5ce9a2(0x257)](_0x41b57a);}['_scheduleSaving'](_0x5e498c){const _0x4517e5=_0x295e11,_0x40d34b=this[_0x4517e5(0x261)]();_0x40d34b===0x0?this['_saveCache'](_0x5e498c):this[_0x4517e5(0x1fe)][_0x4517e5(0x370)](_0x5e498c,setTimeout(()=>this[_0x4517e5(0x20e)](_0x5e498c),_0x40d34b));}[_0x295e11(0x261)](){const _0x3408cc=_0x295e11;var _0x2dc032;return(_0x2dc032=this[_0x3408cc(0x2d4)][_0x3408cc(0x231)](_0x3958ea[_0x3408cc(0x36b)]))!=null?_0x2dc032:_0x3958ea[_0x3408cc(0x341)];}['_saveCache'](_0x318b16){const _0x146c43=_0x295e11,_0x13c50e=this[_0x146c43(0x1fe)][_0x146c43(0x1de)](_0x318b16);return _0x13c50e!==void 0x0&&window[_0x146c43(0x425)](_0x13c50e),this[_0x146c43(0x490)]['setItem'](_0x3958ea['getLocalCacheKey'](_0x318b16),this[_0x146c43(0x32e)][_0x146c43(0x1de)](_0x318b16))[_0x146c43(0x2a1)](()=>this[_0x146c43(0x1fe)][_0x146c43(0x240)](_0x318b16));}async[_0x295e11(0x46c)](){const _0x3a06f5=_0x295e11,_0xa9a7a7=[];this['_saveTaskMap']['forEach']((_0x17ac57,_0x427d1d)=>{const _0xab9e18=_0xd951;window[_0xab9e18(0x425)](_0x17ac57),_0xa9a7a7['push'](this[_0xab9e18(0x20e)](_0x427d1d)[_0xab9e18(0x2a1)](()=>{const _0x3c9f93=_0xab9e18;this[_0x3c9f93(0x1fe)]['delete'](_0x427d1d);}));}),await Promise[_0x3a06f5(0x375)](_0xa9a7a7);}};_0x3698c4=_0xc80f08([_0x5b38eb(0x0,_0x40624a[_0x295e11(0x26b)]),_0x5b38eb(0x1,_0x40624a['ILocalStorageService']),_0x5b38eb(0x2,_0x40624a[_0x295e11(0x33d)](_0x2c324c[_0x295e11(0x1fb)]))],_0x3698c4);class _0x5e9496 extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x5c8673=_0x295e11;super(),_0x9020b(this,_0x5c8673(0x368)),this[_0x5c8673(0x368)]=_0x5b38f4[_0x5c8673(0x4a5)](window,_0x5c8673(0x433))[_0x5c8673(0x32d)](_0x5b38f4[_0x5c8673(0x491)](this[_0x5c8673(0x2ff)]),_0x5b38f4[_0x5c8673(0x2ae)](0x1),_0x5b38f4[_0x5c8673(0x3ff)](void 0x0));}['setParam'](_0x102d3a,_0x5a52be,_0xe60998=!0x1){const _0x417047=_0x295e11,_0x260554=new URL(window[_0x417047(0x3b2)]['href']);_0x260554[_0x417047(0x2fd)][_0x417047(0x370)](_0x102d3a,_0x5a52be),_0xe60998?window[_0x417047(0x1db)]['replaceState']('','',_0x260554[_0x417047(0x339)]()):window[_0x417047(0x1db)][_0x417047(0x2d9)]('','',_0x260554[_0x417047(0x339)]());}[_0x295e11(0x1f2)](_0x194a37,_0x1417a0=!0x1){const _0xda47cc=_0x295e11,_0x4ed731=new URL(window['location'][_0xda47cc(0x1fd)]);_0x4ed731[_0xda47cc(0x2fd)][_0xda47cc(0x240)](_0x194a37),_0x1417a0?window[_0xda47cc(0x1db)][_0xda47cc(0x213)]('','',_0x4ed731[_0xda47cc(0x339)]()):window[_0xda47cc(0x1db)][_0xda47cc(0x2d9)]('','',_0x4ed731['toString']());}['getParam'](_0x2f9c7a){const _0x24aca3=_0x295e11;var _0x530226;return(_0x530226=new URL(window['location'][_0x24aca3(0x1fd)])[_0x24aca3(0x2fd)]['get'](_0x2f9c7a))!=null?_0x530226:void 0x0;}}var _0x530910=Object['defineProperty'],_0x40f96b=Object[_0x295e11(0x3a0)],_0x15fe47=(_0x497739,_0x48709e,_0x25a192)=>_0x48709e in _0x497739?_0x530910(_0x497739,_0x48709e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a192}):_0x497739[_0x48709e]=_0x25a192,_0x283235=(_0x43d628,_0x4e9c62,_0x4a1ebc,_0x20abd7)=>{const _0x1d2d08=_0x295e11;for(var _0x51ed70=_0x20abd7>0x1?void 0x0:_0x20abd7?_0x40f96b(_0x4e9c62,_0x4a1ebc):_0x4e9c62,_0x34e86d=_0x43d628[_0x1d2d08(0x1c4)]-0x1,_0x224bab;_0x34e86d>=0x0;_0x34e86d--)(_0x224bab=_0x43d628[_0x34e86d])&&(_0x51ed70=_0x224bab(_0x51ed70)||_0x51ed70);return _0x51ed70;},_0x51bd95=(_0x3935e6,_0x5cd520)=>(_0x12642d,_0x496546)=>_0x5cd520(_0x12642d,_0x496546,_0x3935e6),_0xeb6823=(_0x3a2726,_0x4a477f,_0x17dd68)=>_0x15fe47(_0x3a2726,_0x4a477f+'',_0x17dd68);const _0x25e50f=_0x295e11(0x378);_0x40352c[_0x295e11(0x272)]=class extends _0x40624a[_0x295e11(0x39e)]{constructor(_0x322eef=_0x1498da,_0x297ed5,_0x2657ee,_0x30d688){const _0x1d217a=_0x295e11;super(),this['_config']=_0x322eef,this[_0x1d217a(0x1ed)]=_0x297ed5,this[_0x1d217a(0x351)]=_0x2657ee,this[_0x1d217a(0x2d4)]=_0x30d688;const {..._0x4c8277}=_0x40624a[_0x1d217a(0x263)]({},_0x1498da,this[_0x1d217a(0x388)]);this[_0x1d217a(0x2d4)][_0x1d217a(0x20c)](_0x146d19,_0x4c8277);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x295e11(0x1cc)](){const _0x45c951=_0x295e11;this[_0x45c951(0x31d)]();}['_registerDependencies'](){const _0x5c7cca=_0x295e11;var _0x1e58aa;const _0x149308=[[_0x2d4f99],[_0x2f3884],[_0x1165fa],[_0x516df5],[_0x2c640a],[_0x2a125f],[_0x6adebe,{'useClass':_0x5e9496}],[_0x42d795[_0x5c7cca(0x397)],{'useClass':_0x42d795['WebSocketService']}],[_0x3958ea[_0x5c7cca(0x22f)],{'useClass':_0x3698c4}],[_0x40352c[_0x5c7cca(0x295)]],[_0x22b2b8],[_0x3ef4e4],[_0x2e9070],[_0x47f626],[_0x40352c['CollaborationDataLoaderController']]];this[_0x5c7cca(0x388)][_0x5c7cca(0x481)]&&_0x149308[_0x5c7cca(0x2f0)]([_0x308889]),_0x40624a['registerDependencies'](this[_0x5c7cca(0x351)],_0x40624a['mergeOverrideWithDependencies'](_0x149308,(_0x1e58aa=this[_0x5c7cca(0x388)])==null?void 0x0:_0x1e58aa[_0x5c7cca(0x229)]));}['_registerRenderDependencies'](){const _0x5835c9=_0x295e11;this['disposeWithMe'](this[_0x5835c9(0x1ed)]['registerRenderModule'](_0x40624a[_0x5835c9(0x260)][_0x5835c9(0x36a)],[_0x2faf05])),this[_0x5835c9(0x2bc)](this[_0x5835c9(0x1ed)][_0x5835c9(0x35e)](_0x40624a[_0x5835c9(0x260)]['UNIVER_SHEET'],[_0xb986df]));}[_0x295e11(0x385)](){const _0xf40917=_0x295e11;_0x40624a['touchDependencies'](this[_0xf40917(0x351)],[[_0x2e9070],[_0x40352c['DesktopCollaborationStatusDisplayController']],[_0x22b2b8],[_0x3ef4e4],[_0x40352c[_0xf40917(0x301)]],[_0x2f3884]]),this[_0xf40917(0x388)][_0xf40917(0x481)]&&_0x40624a[_0xf40917(0x212)](this[_0xf40917(0x351)],[[_0x308889]]);}},_0xeb6823(_0x40352c[_0x295e11(0x272)],'pluginName',_0x25e50f),_0x40352c['UniverCollaborationClientUIPlugin']=_0x283235([_0x40624a[_0x295e11(0x3c5)](_0x3958ea[_0x295e11(0x4a3)]),_0x51bd95(0x1,_0x2680b3[_0x295e11(0x280)]),_0x51bd95(0x2,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x51bd95(0x3,_0x40624a['IConfigService'])],_0x40352c['UniverCollaborationClientUIPlugin']);var _0x1765a2=Object[_0x295e11(0x3a0)],_0x4dc7fa=(_0x68f912,_0x4d5339,_0x42cc1b,_0x630dc7)=>{const _0x54acd5=_0x295e11;for(var _0x372736=_0x630dc7>0x1?void 0x0:_0x630dc7?_0x1765a2(_0x4d5339,_0x42cc1b):_0x4d5339,_0x35b2c3=_0x68f912[_0x54acd5(0x1c4)]-0x1,_0x2886eb;_0x35b2c3>=0x0;_0x35b2c3--)(_0x2886eb=_0x68f912[_0x35b2c3])&&(_0x372736=_0x2886eb(_0x372736)||_0x372736);return _0x372736;},_0x45c070=(_0x1a1fbe,_0x3c7144)=>(_0x240266,_0xf162bb)=>_0x3c7144(_0x240266,_0xf162bb,_0x1a1fbe);_0x40352c[_0x295e11(0x28b)]=class extends _0x3958ea[_0x295e11(0x2eb)]{constructor(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb){super(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb);}async[_0x295e11(0x401)](_0x1decec){const _0x3aa03b=_0x295e11,_0x569583=await this[_0x3aa03b(0x379)](),_0x19c363=this['_createSocketURL'](_0x1decec,_0x569583);return this[_0x3aa03b(0x2a4)](_0x19c363);}[_0x295e11(0x2a9)](_0x1a79ce,_0x5acd25){const _0x396d29=_0x295e11,_0x40b677=typeof window>'u'?new URL(_0x1a79ce):new URL(_0x1a79ce,window[_0x396d29(0x3b2)][_0x396d29(0x3c4)]);_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)](_0x396d29(0x431),_0x5acd25);const _0x4b5e69=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x396d29(0x47a)]);return _0x4b5e69['get']('runId')&&_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)]('runId',_0x4b5e69[_0x396d29(0x1de)]('runId')),_0x40b677[_0x396d29(0x339)]();}async[_0x295e11(0x379)](){const _0x2c0bb4=_0x295e11;var _0x29799d,_0x34773e,_0x4fd70b;const _0x22bb55=this['_configService'][_0x2c0bb4(0x231)](_0x3958ea[_0x2c0bb4(0x222)]),_0x2a50cf=(_0x29799d=_0x22bb55==null?void 0x0:_0x22bb55['wsSessionTicketUrl'])!=null?_0x29799d:_0x3958ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4fd70b=(_0x34773e=(await this['_httpService'][_0x2c0bb4(0x1de)](_0x2a50cf,{'headers':{'Content-Type':_0x2c0bb4(0x456)}}))[_0x2c0bb4(0x4a2)])==null?void 0x0:_0x34773e[_0x2c0bb4(0x386)])!=null?_0x4fd70b:'';}},_0x40352c['BrowserCollaborationSocketService']=_0x4dc7fa([_0x45c070(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x45c070(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x45c070(0x2,_0x40624a[_0x295e11(0x26b)]),_0x45c070(0x3,_0x40624a['ILogService']),_0x45c070(0x4,_0x2c324c[_0x295e11(0x411)])],_0x40352c[_0x295e11(0x28b)]);var _0x145339=Object[_0x295e11(0x3a0)],_0x3380e6=(_0x10608d,_0x32eefe,_0x528d30,_0x38a671)=>{const _0x2855f2=_0x295e11;for(var _0x1dd3aa=_0x38a671>0x1?void 0x0:_0x38a671?_0x145339(_0x32eefe,_0x528d30):_0x32eefe,_0x5ec9c9=_0x10608d[_0x2855f2(0x1c4)]-0x1,_0x537c0f;_0x5ec9c9>=0x0;_0x5ec9c9--)(_0x537c0f=_0x10608d[_0x5ec9c9])&&(_0x1dd3aa=_0x537c0f(_0x1dd3aa)||_0x1dd3aa);return _0x1dd3aa;},_0x2105cc=(_0x3b52ec,_0xa2f103)=>(_0x52c6e8,_0x3ad6ba)=>_0xa2f103(_0x52c6e8,_0x3ad6ba,_0x3b52ec);_0x40352c[_0x295e11(0x3f0)]=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2b038e,_0x2b01df,_0x145c2e){const _0xd440d6=_0x295e11;super(),this[_0xd440d6(0x3d9)]=_0x2b038e,this[_0xd440d6(0x395)]=_0x2b01df,this[_0xd440d6(0x2d4)]=_0x145c2e;}async[_0x295e11(0x2fa)](_0x44efb2,_0x9379ac,_0x515c21,..._0x27df63){const _0x3b9f42=_0x295e11;var _0x369917,_0x53d13d,_0x3ca8b7,_0x376a1a;const _0x5c31c4=this[_0x3b9f42(0x3d9)][_0x3b9f42(0x3cd)]();if(!_0x5c31c4)throw new Error(_0x3b9f42(0x356));const _0x15c154=((_0x369917=this[_0x3b9f42(0x2d4)][_0x3b9f42(0x231)](_0x3958ea[_0x3b9f42(0x367)]))!=null?_0x369917:_0x3958ea[_0x3b9f42(0x20d)])+'/'+_0x44efb2+_0x3b9f42(0x42e)+_0x9379ac,_0x358859=new URL(window[_0x3b9f42(0x3b2)]['href']),_0x41cfc3={'scriptId':_0x44efb2,'runId':(_0x53d13d=_0x358859['searchParams'][_0x3b9f42(0x1de)](_0x3b9f42(0x1cd)))!=null?_0x53d13d:'','function':_0x9379ac,'unitId':_0x5c31c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x27df63),'invokeId':(_0x3ca8b7=_0x515c21[_0x3b9f42(0x223)])!=null?_0x3ca8b7:'','executionId':(_0x376a1a=_0x515c21[_0x3b9f42(0x320)])!=null?_0x376a1a:''};try{const _0x166dcb=await this[_0x3b9f42(0x395)]['post'](_0x15c154,{'body':_0x41cfc3});return _0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)]&&_0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)][_0x3b9f42(0x286)]!==_0x319d71['OK']?_0x3b9f42(0x2f5):_0x166dcb[_0x3b9f42(0x4a2)]['result'];}catch{return _0x3b9f42(0x2f5);}}},_0x40352c[_0x295e11(0x3f0)]=_0x3380e6([_0x2105cc(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x2105cc(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795['HTTPService'])),_0x2105cc(0x2,_0x40624a[_0x295e11(0x26b)])],_0x40352c[_0x295e11(0x3f0)]);const _0x193540=0x7530,_0x4b5352='ACTIVE_UNIT_EVENT_CHANNEL';class _0x581939 extends _0x40624a['Disposable']{constructor(){const _0x2f2490=_0x295e11;super(),_0x9020b(this,_0x2f2490(0x404),_0x40624a[_0x2f2490(0x2d5)]()),_0x9020b(this,'_selfUnitIDs',new Set()),_0x9020b(this,_0x2f2490(0x2b6),new Map()),_0x9020b(this,_0x2f2490(0x277),null),_0x9020b(this,_0x2f2490(0x1d2),new Map()),_0x9020b(this,_0x2f2490(0x383),new Map()),this[_0x2f2490(0x4a0)]();}[_0x295e11(0x3d1)](){const _0x3c3c1e=_0x295e11;super[_0x3c3c1e(0x3d1)](),this[_0x3c3c1e(0x1d2)][_0x3c3c1e(0x24d)]((_0x4726ee,_0x389075)=>this[_0x3c3c1e(0x365)](_0x389075)),this[_0x3c3c1e(0x277)]&&window['clearInterval'](this[_0x3c3c1e(0x277)]);}[_0x295e11(0x3f1)](_0x53f8cf){const _0xd1888f=_0x295e11;return this[_0xd1888f(0x2d0)](_0x53f8cf)[_0xd1888f(0x32d)](_0x5b38f4[_0xd1888f(0x39a)]());}[_0x295e11(0x2bb)](_0x46adff){const _0x547cf5=_0x295e11;this[_0x547cf5(0x362)][_0x547cf5(0x47e)]===0x0&&this[_0x547cf5(0x27b)](),this[_0x547cf5(0x362)][_0x547cf5(0x372)](_0x46adff),this[_0x547cf5(0x25c)]({'type':0x0,'memberID':this[_0x547cf5(0x404)],'unitIDs':[_0x46adff],'isForwarded':!0x1});}['disposeUnit'](_0x33cc0d){const _0x1ecd45=_0x295e11;this[_0x1ecd45(0x362)][_0x1ecd45(0x240)](_0x33cc0d),this['_selfUnitIDs'][_0x1ecd45(0x47e)]===0x0&&this[_0x1ecd45(0x277)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x295e11(0x4a0)](){const _0x5d77a4=_0x295e11;this[_0x5d77a4(0x2bc)](_0x40624a[_0x5d77a4(0x381)](_0x5b38f4[_0x5d77a4(0x4a5)](window,'storage')[_0x5d77a4(0x4af)](_0x16ce6a=>{const _0x247378=_0x5d77a4;if(_0x16ce6a[_0x247378(0x209)]!==_0x4b5352||!_0x16ce6a['newValue'])return;const _0x2e8109=JSON[_0x247378(0x249)](_0x16ce6a['newValue']);this[_0x247378(0x305)](_0x2e8109);}))),window['addEventListener'](_0x5d77a4(0x45e),()=>this[_0x5d77a4(0x25c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d77a4(0x4a6)](this[_0x5d77a4(0x362)])}));}[_0x295e11(0x305)](_0xd4b0f0){const _0x119784=_0x295e11;switch(_0xd4b0f0['type']){case 0x0:this[_0x119784(0x3fd)](_0xd4b0f0);break;case 0x1:this[_0x119784(0x440)](_0xd4b0f0);break;case 0x2:this[_0x119784(0x408)](_0xd4b0f0);break;}}[_0x295e11(0x3fd)](_0xc9e2fa){const _0x4c0708=_0x295e11,{unitIDs:_0x18139d,memberID:_0x563195,isForwarded:_0x38b6a9}=_0xc9e2fa;_0x18139d[_0x4c0708(0x24d)](_0x37fea6=>{const _0xe3a1f4=_0x4c0708;if(!_0x38b6a9&&this['_unitOnClients']['has'](_0x37fea6)&&this[_0xe3a1f4(0x2d0)](_0x37fea6)[_0xe3a1f4(0x2d3)](_0x3958ea[_0xe3a1f4(0x3db)][_0xe3a1f4(0x309)]),!this[_0xe3a1f4(0x2b6)]['has'](_0x37fea6)||!this[_0xe3a1f4(0x2b6)]['get'](_0x37fea6)[_0xe3a1f4(0x248)](_0x563195)){const _0x1051cc=this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x1de)](_0x37fea6)||new Set();_0x1051cc[_0xe3a1f4(0x372)](_0x563195),this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x370)](_0x37fea6,_0x1051cc),this[_0xe3a1f4(0x47c)](_0x563195);}}),_0x38b6a9||this['_send']({'type':0x0,'memberID':this[_0x4c0708(0x404)],'unitIDs':[...this[_0x4c0708(0x362)]],'isForwarded':!0x0});}[_0x295e11(0x47c)](_0x2be0eb){const _0x163496=_0x295e11;this[_0x163496(0x365)](_0x2be0eb);const _0x527f4d=window[_0x163496(0x30f)](()=>{const _0xa25ac2=_0x163496;this['_unitOnClients'][_0xa25ac2(0x24d)](_0xe18203=>{const _0x3d12f1=_0xa25ac2;_0xe18203[_0x3d12f1(0x240)](_0x2be0eb);});},_0x193540*0x2);this['_clearOtherTimers'][_0x163496(0x370)](_0x2be0eb,_0x527f4d);}['_removeClearOtherTimer'](_0x1f1ce3){const _0x47b597=_0x295e11;if(this['_clearOtherTimers'][_0x47b597(0x248)](_0x1f1ce3)){const _0x423165=this['_clearOtherTimers'][_0x47b597(0x1de)](_0x1f1ce3);_0x423165&&window[_0x47b597(0x425)](_0x423165),this[_0x47b597(0x1d2)][_0x47b597(0x370)](_0x1f1ce3,null);}}['_handleLeaveEvent'](_0x2e4fe6){const _0x93116a=_0x295e11,{memberID:_0x50e1c3,unitIDs:_0x1d15b6}=_0x2e4fe6;_0x1d15b6['forEach'](_0x7328e0=>{const _0x5261a9=_0xd951;var _0x4b3b46;const _0x49411c=this[_0x5261a9(0x2b6)]['get'](_0x7328e0);_0x49411c&&(_0x49411c[_0x5261a9(0x240)](_0x50e1c3),(_0x4b3b46=this[_0x5261a9(0x2d0)](_0x7328e0))==null||_0x4b3b46[_0x5261a9(0x2d3)](_0x49411c[_0x5261a9(0x47e)]===0x0?_0x3958ea['UnitStatus'][_0x5261a9(0x2af)]:_0x3958ea[_0x5261a9(0x3db)][_0x5261a9(0x309)]));}),this[_0x93116a(0x365)](_0x50e1c3);}[_0x295e11(0x408)](_0x4aa911){const _0x319cfc=_0x295e11;this[_0x319cfc(0x47c)](_0x4aa911['memberID']);}['_send'](_0x4cbac8){const _0x28ad1e=_0x295e11;localStorage['setItem'](_0x4b5352,JSON[_0x28ad1e(0x2be)](_0x4cbac8));}['_scheduleHeartbeat'](){const _0x5e76e9=_0x295e11;this[_0x5e76e9(0x277)]=window[_0x5e76e9(0x3f6)](()=>{const _0x3eed7b=_0x5e76e9;this[_0x3eed7b(0x25c)]({'type':0x2,'memberID':this['_id']});},_0x193540);}[_0x295e11(0x2d0)](_0x1f0268){const _0x46b357=_0x295e11;return this[_0x46b357(0x383)]['has'](_0x1f0268)||this[_0x46b357(0x383)][_0x46b357(0x370)](_0x1f0268,new _0x5b38f4['BehaviorSubject'](_0x3958ea['UnitStatus'][_0x46b357(0x2af)])),this[_0x46b357(0x383)][_0x46b357(0x1de)](_0x1f0268);}}_0x40352c[_0x295e11(0x438)]=_0x6adebe,_0x40352c['SheetCollabCursorShape']=_0x446f9f,_0x40352c[_0x295e11(0x2f1)]=_0x581939,_0x40352c[_0x295e11(0x345)]=_0x5e9496,Object[_0x295e11(0x314)](_0x40352c,Symbol[_0x295e11(0x3f9)],{'value':_0x295e11(0x38f)});}));
|
|
1
|
+
function _0x5251(_0xaa21a1,_0x2f4e88){_0xaa21a1=_0xaa21a1-0x1b8;const _0x23fa9e=_0x23fa();let _0x525130=_0x23fa9e[_0xaa21a1];return _0x525130;}function _0x23fa(){const _0x4bc07b=['_logService','_getFormulaLimitStatus','debounce','_startSheetCollabCursor','UniverNetwork','isArray','exports','transformRemoteChangeset','isFormulaString','getSheetBySheetId','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','_initEvent','univer-flex\x20univer-items-center','maxFormulaLimit','urlChange$','_colorAssignService','_getSheetObject','green.600','transformSelections','collaboration.closeRoom','APPLY_DUPLICATED','NOT_COLLAB','Disposable','CommandType','children','getOffsetConfig','Tooltip','parse','defs','_assignedColors','totalFormulasToCalculate','_releaseCalculationLimit','_docTransformIMECacheService','Failed','origin','9qYdDii','data','onCommandExecuted','_notificationService','REDEMPTION_CODE_FULLY_REDEEMED','restore','getCollabCursors$','ENTITLE_COUPON_USED_UP','_initResize','white','...','amd','sessionTicket','ENTITLE_DUP_SUBSCRIPTION','displayName','setParam','_applyCommand','MessageType','url(#on-line-icon_clip0_910_349)','collabStatus.conflict','generateRandomId','_transformHistoryAndStateStack','error','RemoveColCommandId','code','SetWorksheetActivateCommand','@univerjs-pro/collaboration','/run/','formula.calculation.waiting','ENSURE_SNAPSHOT_EXECUTION','color','_createSocketURL','CollaborationSocketService','yellow.400','min','ICommandService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subUnitId','_monkeyPatchLogService','YUUMI_RATE_OVER_LIMIT','_toggleOnline','dirtyRanges','onPointerLeave$','COMPLETION_FINISHED','useObservable','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','onMouseMove','currentColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','engine','getMemberID','lineTo','\x20at\x20','OFFLINE','RxDisposable','CollaborationDataLoaderController','ranges','isTransformMutationsWithChangesetSuccess','flatMap','OnLineIcon','setAlpha','@univerjs/sheets','INVITE_CODE_HAS_BEEN_UES','_startDocCollabCursor','RevisionService','CONFLICT','_cursorInfo$','addObject','_cachedData','CLOSE_ROOM','UnitStatus','handleMoveRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ColorKit','height','skeleton','_getSaveTimeout','ILocalCacheService','_drawRectRange','_uiPartsService','mutations','AUTHORIZE_CODE_ILLEGAL','setInterval','getTypeOfUnitAdded$','removeParam','FETCH_MISS','complete','_updateCollabCursors','findNodePositionByCharIndex','ITransformService','IUIPartsService','registerDependencies','_getSessionTicket','subunit','stack','redoState','Plugin','ENTITLE_USE_COUPON_NOT_1ST_TRADE','rxjs/operators','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getAnchorBounding','Unknown\x20user','_online','assignAColorForMemberID','with','_setFormulaLimitStatus','getActiveSheet','trim','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','merge','resize','getActiveRange','getStateCache','getCellPositionByOffset','saveOfflineData','_status$','@univerjs/drawing','releaseFormulaLimitUrl','getCellMatrix','#FFF','_registerRenderDependencies','replace','126KRPoWH','blue.400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','doc.mutation.rich-text-editing','collab-text-anchor-','_document','USER_NOT_FOUND','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_CHAT_LIMIT_EXCEED','256988pxdWev','OffLineIcon','SheetsSelectionsService','addHandlerCallback','_drawAnchor','takeUntil','UniverUi','_init','_collaborationController','div','_draw','drawWith','dispose$','CollaborationEvent','ENTITLE_COUPON_EXPIRED','handleIRemoveCol','deepClone','0\x200\x2016\x2016','url(#$1','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','rxjs','_clearPolling','fill','attrs','_collaborationSessionService','getColor','FormulaExecutedStateType','SessionStatus','name','_beforeCloseService','getValue','168VjLYiL','_clearOtherTimers','collab-client.tooltip.reconnect','pushState','SheetSkeletonManagerService','_initStatusComponent','CollaborationUIEventId','25485kxceRj','getOwnPropertyDescriptor','isActive','_registerDependencies','UniverSheetsUi','transformMutationsWithChangeset','ONLINE','session.will-retry','UNIVER_DOC','colorChannel1','has','syncEditingCollabCursor','requireSession','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getRenderById','_saveTaskMap','top','getFocusedUnit','entries','useCallback','univerjs-icon\x20univerjs-icon-','http://www.w3.org/2000/svg','mask','LICENSE_IMPORT_SIZE_EXCEEDED','width','LOCAL_CACHE_INTERVAL','editingUnit','Rectangle','xlink:href','_handleHover','selections','replaceState','UniverEngineRender','_eventUnsubscribe','1em','location','getColorFromTheme','getCollabEntity$','createInstance','YUUMI_ALL_TABLES_IS_INVALID','combineLatest','getConfig','textRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','onPointerMove$','_sheetSkeletonManagerService','exhaustSavingTask','getformulaLimitStatusUrl','_initDependencies','InsertColCommandId','DocSkeletonManagerService','UniverDocsUi','LICENSE_EXPORT_SIZE_EXCEEDED','imageSourceType','_anchorDot','_removeClearOtherTimer','init','_hovered','505988dGrRGR','text','idSuffix','InsertRowCommandId','_render','EMAIL_HAS_BEEN_BOUND','column','runOnServer','m1Prime','_scheduleSaving','object','unit','_saveCache','off-line-icon','_session','UniverCollaborationClientPlugin','collabStatus.fetchMiss','setUndoRedoMutationParamsCache','IUniverInstanceService','random','_setupBeforeClosingHandler','Inject','[Unhandled\x20Rejection]:\x20','getCoordByCell','makeDirty','/universer-api/license/formula/limit/start','[Window\x20Error]:\x20','Module','889YYKoif','m2Prime','ThemeService','registerRenderModule','getSkeleton','range','substring','unitId','string','UniverCore','now','evenodd','START_CALCULATION','_handleEvent','startRow','SetSelectionsOperation','_ensureSubject','IBeforeCloseService','getSheetId','getCurrentSelections','registerBeforeClose','bind','EffectRefRangId','mapTo','CollaborationStatus','purple.300','DocIMEInputManagerService','Rect','createSocket','YUUMI_UNABLE_LOAD_URL','functionsExecutedState','VIEW_MAIN','_checkAndWaitForCalculationPermission','getAncestorScale','handleIRemoveRow','_collabCursorState$','_send','collaboration.single-unit.warning','tag','runRefRangeMutations','@univerjs/sheets-ui','UniverIcon','getRangePointData','roomMembers$','currentTheme$','delete','_onCursorUpdate','USERS_LEAVE','RemoveRowCommandId','jsx','@univerjs/docs-ui','debounceTime','_initCommandInterceptor','post','size','_entities','disposeWithMe','clipPath','DEFAULT_WS_SESSION_TICKET_URL','UniverInstanceType','setItem','CanceledError','memberID','INTERNAL_ERROR','catch','Warning','_localeService','_refreshCollabCursors','status$','session.connection-failed','RECT','ILogService','react/jsx-runtime','REDEMPTION_CODE_HAS_BEEN_CREATED','round','handleInsertCol','/universer-api/license/formula/limit/status','show','clearInterval','toDisposable','_showGuardMessage','IDocClipboardService','transform','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DesktopCollaborationStatusDisplayController','MUTATION','off-line-icon_clip0_910_343','path','ERROR_AGAIN','UniverProCollaborationClientUi','USER_IS_ANONYMOUS','_textBubble','isFormulaId','_color','undoState','defineProperty','_selfUnitIDs','on-line-icon','bottom','debug','_checkCalculationAvailable','_anchor','CHANGESET_REVISION_CONFILICT','permission.title','UniverCollaborationClientUIPlugin','IConfigService','@univerjs/core','registerComponent','event$','asObservable','_docStateChangeManagerService','RegularPolygon','IMessageService','NOT_FOUND','@univerjs-pro/collaboration-client','_taskIds','SNAPSHOT_INVALID_SNAPSHOT','_toggleOffline','INVALID_ARGUMENT','APPLY_REVISION_CONFILICT','labelPosition','startFormulaLimitUrl','hovered','black','unitID','moveTo','getTypeOfUnitDisposed$','some','DocSelectionManagerService','_docTransformSelectionsService','permission.content','Loading','focused$','OTHER_CLIENTS_EDITING','values','transformMutation','all','unhandledrejection','_id','_urlService','@univerjs/engine-formula','session.collaboration-timeout','IRenderManagerService','collabStatus.synced','_onCursorDelete','SetTextSelectionsOperation','_cursors','newValue','EMAIL_VERIFY_CODE_MISMATCH','_initWindowErrorListener','searchParams','_revisionService','APPLY_PERMISSION_DENIED','_uploadLog','ALREADY_EXISTS','LOCAL_CACHE_INTERVAL_KEY','_entityInit$','parseInt','saveTaskMap','reason','from','closePath','_getScale','clearTimeout','UNRECOGNIZED','removeEventListener','href','REDEMPTION_USER_REDEEM_TIMES_EXCEED','executeCommand','RichTextEditingMutation','YUUMI_NO_CUBOID_FOR_QUESTION','_handleLeaveEvent','useDependency','set','_updateSubUnitFromURLParams','measureText','FromArray','_config','_labelPosition','univer-mr-2\x20univer-flex\x20univer-text-xl','push','INVALID_INVITE_CODE','LOGIN_TOKEN_PROCESSING_FAILED','TEXT','params','BehaviorSubject','collabStatus.notCollab','setShapeProps','forEach','find','_configService','APPLY_NON_SEQUENTIAL_REVISION','_disabled','DOC_RANGE_TYPE','add','_cursorShapes','SUBMIT_CHANGESET_TIMEOUT','_refRangeService','DisposableCollection','clsx','type','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','CollaborationUIEventService','application/json','_context','ENTITLE_NEED_BILLING_ADDRESS','addEventListener','MemberService','Shape','YUUMI_AI_RUN_FAILED','NO_OTHER_CLIENTS_EDITING','_colorIndex','_messageService','switchMap','socket$','collab-rect-range-','unshift','CURRENT_STATUS_CANNOT_OPERATE','M0\x200H16V16H0z','collaboration.offline-data-not-saved','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getMember','YUUMI_SUBSCRIPTION_NOT_FOUND','registerRefRange','ticket','docStateChange$','use','UniverEngineFormula','font','_localCacheService','getParam','subscribeEvent','lineno','Injector','length','_roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','_lastResponseTimestamp','fromEvent','handleDeleteRangeMoveLeft','YUUMI_CONNECTOR_URL_NOT_FOUND','getUndoRedoMutationParamsCache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','contains','_updateLocalCursor','split','Error','runId','_initStatusListener','eventID','DATA_SOURCE_TOO_LARGE','selection','getUnhiddenWorksheets','COLORS','isEditing','_onRefRangeChange','startsWith','isTransformMutationFailure','33752ZykxUr','_imageIoService','invokeId','cursorInfo','_transformPreviousActiveRange','_collabSessionService','serializeRangeWithSheet','url(#off-line-icon_clip0_910_343)','getUniverSheetInstance','fillText','YUUMI_ASYNCIO_CANCELLED','_scene','actions','UniverProCollaborationClient','_handleHeartbeatEvent','currentSkeleton$','save','stageInfo','then','handleInsertRangeMoveRight','USER_NOT_INVITED_CODE','subscribe','MOBILE_HAS_BEEN_BOUND','entityInit$','_localStorageService','on-line-icon_clip0_910_349','limitInfo','_scheduleHeartbeat','ENTITLE_REPORT_LIMIT_EXCEED','setActiveRange','fromEventSubject','TEXT_RANGE_LAYER_INDEX','collabCursorState$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LOGIN_FAILED','JOIN_ROOM_FAILED','REDEMPTION_CODE_INACTIVE','HTTPService','_docSkeletonManagerService','createElement','current','cursorInfo$','_range','beginPath','endRow','UNIVER_SHEET','Subject','triggerDblclick','body','roomMembers','REDEMPTION_USER_NOT_ELIGIBLE','AWAITING_WITH_PENDING','connectInjector','getSheetObject','_pollingInterval','getUnitId','touchDependencies','_hover','_lastPointer','@univerjs/docs','distinctUntilChanged','_themeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','symbol','includes','_backgroundColor','max','useRef','_handleJoinEvent','_collabCursorController','onLocalMutation','translate(.97)','_initCommandExecutedListener','_initEntityListener','_removeCollabCursors','/universer-api/license/formula/limit/done','fillStyle','_currentUsage','React','_memberID','throttleTime','REDEMPTION_INVALID_CODE','DocStateChangeManagerService','APPLY_REJECT','_initUnhandledRejectionListener','key','LICENSE_DISTRO_REJECTED','_syncEditingCollabCursorService','handleInsertRow','MOBILE_VERIFY_CODE_MISMATCH','join','pipe','getLocalCacheKey','colno','@univerjs/rpc','arc','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Vector2','shift','?taskId=','uni.network.url-service','sheetId','collabStatus.syncing','_shapes','transformStateCache','send','0\x200\x2017\x2016','PERMISSION_DENIED','next','red.300','_initUserListener','WECHAT_HAS_BEEN_BOUND','stringify','LocaleService','SetFormulaCalculationNotificationMutation','none','RemoteUniscriptService','endColumn','_startCalculationLimit','_instanceService','_renderManagerService','setConfig','UPDATE_CURSOR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','TOO_MANY_REQUESTS','filename','CONNECTOR_DATA_TOO_LARGE','_unitOnClients','addObjects','UniverDesign','hide','_unitStatus','UniverDrawing','INVITE_CODE_REQUIRED','storage','sessionStatus$','handleInsertRangeMoveDown','2048751TAKtyv','_httpService','getCurrentUnitForType','_maxFormulaLimit','replaceDocRanges','source','ISnapshotServerService','_docSyncEditingCollabCursorService','startColumn','getUnitStatus$','_scheduleClearOtherTimer','dispose','_updateURLWithCurrentState','svg','toString','transformIMECache','onRendered','_univerInstanceService','fillRule','_name','setStateCache','whenReady','_transformService','100342pfbcgt','_cursor','_memberService','unsubscribe','IRemoteInstanceService','_docTransformStateCacheService','setTimeout','get','SNAPSHOT_HAS_BEEN_REMOVED','wsSessionTicketUrl','pluginName','20tStczv','_hasFormulaInDirtyRanges','CollaborationSessionService','WebSocketService','SUCCESS','_setupSubUnitSync','getMergeData','_docClipboardService','BuiltInUIPart','toRgbString','history','FormulaExecuteStageType','RefRangeService','REDEMPTION_CODE_NOT_STARTED','UniverSheets','deserializeRangeWithSheet','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','ISocketService','ENTITLE_INVALID_COUPON_CODE','SOCKET_FAILED','_drawTextRange','_collaborationUIEventService','_heartbeatTimer','unload','map','UNDEFINED','getCurrentRevOfUnit','_docSkeleton','ENTITLE_INSUFFICIENT_QUOTA','UniverDocs','assign','MoveRangeCommandId','CollaborationController','413099NeJWrG','filter','_commandService'];_0x23fa=function(){return _0x4bc07b;};return _0x23fa();}(function(_0x48179e,_0x1ccc66){const _0x200a0f=_0x5251,_0x289747=_0x48179e();while(!![]){try{const _0x28e16d=parseInt(_0x200a0f(0x3aa))/0x1+-parseInt(_0x200a0f(0x455))/0x2+parseInt(_0x200a0f(0x3d1))/0x3*(parseInt(_0x200a0f(0x1be))/0x4)+parseInt(_0x200a0f(0x47b))/0x5*(-parseInt(_0x200a0f(0x44c))/0x6)+-parseInt(_0x200a0f(0x1da))/0x7*(parseInt(_0x200a0f(0x2dd))/0x8)+-parseInt(_0x200a0f(0x367))/0x9*(-parseInt(_0x200a0f(0x389))/0xa)+parseInt(_0x200a0f(0x37e))/0xb*(-parseInt(_0x200a0f(0x474))/0xc);if(_0x28e16d===_0x1ccc66)break;else _0x289747['push'](_0x289747['shift']());}catch(_0x31dc42){_0x289747['push'](_0x289747['shift']());}}}(_0x23fa,0x55290),function(_0x6be4ef,_0xeb91f3){const _0x35eb6a=_0x5251;typeof exports==_0x35eb6a(0x1c8)&&typeof module<'u'?_0xeb91f3(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x35eb6a(0x3dc)]?define([_0x35eb6a(0x3b3),_0x35eb6a(0x222),_0x35eb6a(0x24c),_0x35eb6a(0x244),'@univerjs/ui','rxjs','@univerjs/design','react',_0x35eb6a(0x33b),_0x35eb6a(0x40f),'@univerjs/engine-render','@univerjs/network',_0x35eb6a(0x20c),_0x35eb6a(0x446),_0x35eb6a(0x3eb),_0x35eb6a(0x318),_0x35eb6a(0x266),_0x35eb6a(0x434),_0x35eb6a(0x202)],_0xeb91f3):(_0x6be4ef=typeof globalThis<'u'?globalThis:_0x6be4ef||self,_0xeb91f3(_0x6be4ef[_0x35eb6a(0x233)]={},_0x6be4ef['React'],_0x6be4ef[_0x35eb6a(0x2ea)],_0x6be4ef[_0x35eb6a(0x1e3)],_0x6be4ef[_0x35eb6a(0x45b)],_0x6be4ef[_0x35eb6a(0x469)],_0x6be4ef[_0x35eb6a(0x35f)],_0x6be4ef[_0x35eb6a(0x32b)],_0x6be4ef['UniverRpc'],_0x6be4ef[_0x35eb6a(0x397)],_0x6be4ef[_0x35eb6a(0x49b)],_0x6be4ef[_0x35eb6a(0x3b1)],_0x6be4ef[_0x35eb6a(0x4ae)],_0x6be4ef[_0x35eb6a(0x362)],_0x6be4ef['UniverProCollaboration'],_0x6be4ef[_0x35eb6a(0x3a6)],_0x6be4ef[_0x35eb6a(0x2be)],_0x6be4ef[_0x35eb6a(0x469)]['operators'],_0x6be4ef[_0x35eb6a(0x47f)]));}(this,function(_0x1ddbd2,_0x3a9348,_0x308558,_0x333729,_0x270f30,_0x27440d,_0x5363fc,_0x543b72,_0x4784c6,_0x37d825,_0x220e15,_0x45181c,_0x106c52,_0x198854,_0x49182d,_0x73cf4e,_0x5b915e,_0x272e6a,_0x46629d){'use strict';const _0x492c29=_0x5251;var _0x1db6ee=Object['defineProperty'],_0x3db28d=(_0x3dc8a2,_0x29771d,_0x202588)=>_0x29771d in _0x3dc8a2?_0x1db6ee(_0x3dc8a2,_0x29771d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202588}):_0x3dc8a2[_0x29771d]=_0x202588,_0x56d583=(_0x3725cf,_0x308add,_0x56697c)=>_0x3db28d(_0x3725cf,typeof _0x308add!=_0x492c29(0x31c)?_0x308add+'':_0x308add,_0x56697c);function _0x4498a1({ref:_0x55eba9,..._0x4ac4b7}){const _0xf13b81=_0x492c29,{icon:_0x55e51e,id:_0x22e070,className:_0x221049,extend:_0x45859e,..._0x2bd861}=_0x4ac4b7,_0xae67af=(_0xf13b81(0x48f)+_0x22e070+'\x20'+(_0x221049||''))[_0xf13b81(0x43d)](),_0x54392c=_0x543b72[_0xf13b81(0x320)]('_'+_0x5c90e8());return _0x4c963a(_0x55e51e,''+_0x22e070,{'defIds':_0x55e51e['defIds'],'idSuffix':_0x54392c[_0xf13b81(0x305)]},{'ref':_0x55eba9,'className':_0xae67af,..._0x2bd861},_0x45859e);}function _0x4c963a(_0x92fe70,_0x3fc7e8,_0x2f9850,_0x3d3452,_0x22d21d){const _0x4512b3=_0x492c29;return _0x543b72[_0x4512b3(0x304)](_0x92fe70[_0x4512b3(0x200)],{'key':_0x3fc7e8,..._0x28c66f(_0x92fe70,_0x2f9850,_0x22d21d),..._0x3d3452},(_0x5dd786(_0x92fe70,_0x2f9850)[_0x4512b3(0x3c6)]||[])[_0x4512b3(0x3a1)]((_0x4dc355,_0x44662a)=>_0x4c963a(_0x4dc355,_0x3fc7e8+'-'+_0x92fe70[_0x4512b3(0x200)]+'-'+_0x44662a,_0x2f9850,void 0x0,_0x22d21d)));}function _0x28c66f(_0x2fbc33,_0x3b08cb,_0x13619c){const _0x40affe=_0x492c29,_0x12a5ac={..._0x2fbc33[_0x40affe(0x46c)]};_0x13619c!=null&&_0x13619c[_0x40affe(0x484)]&&_0x12a5ac['fill']===_0x40affe(0x484)&&(_0x12a5ac[_0x40affe(0x46b)]=_0x13619c[_0x40affe(0x484)]),_0x2fbc33[_0x40affe(0x200)]==='mask'&&_0x12a5ac['id']&&(_0x12a5ac['id']=_0x12a5ac['id']+_0x3b08cb[_0x40affe(0x1c0)]),Object[_0x40affe(0x48d)](_0x12a5ac)[_0x40affe(0x296)](([_0x4799ec,_0x50b0f4])=>{const _0x22acb4=_0x40affe;_0x4799ec===_0x22acb4(0x491)&&typeof _0x50b0f4==_0x22acb4(0x1e2)&&(_0x12a5ac[_0x4799ec]=_0x50b0f4[_0x22acb4(0x44b)](/url\(#(.*)\)/,'url(#$1'+_0x3b08cb['idSuffix']+')'));});const {defIds:_0x14d3b8}=_0x3b08cb;return!_0x14d3b8||_0x14d3b8[_0x40affe(0x2c5)]===0x0||(_0x2fbc33[_0x40affe(0x200)]===_0x40affe(0x2bd)&&_0x12a5ac[_0x40affe(0x497)]&&(_0x12a5ac[_0x40affe(0x497)]=_0x12a5ac[_0x40affe(0x497)]+_0x3b08cb[_0x40affe(0x1c0)]),Object[_0x40affe(0x48d)](_0x12a5ac)[_0x40affe(0x296)](([_0x31b6ed,_0x145613])=>{const _0x18ad43=_0x40affe;typeof _0x145613=='string'&&(_0x12a5ac[_0x31b6ed]=_0x145613[_0x18ad43(0x44b)](/url\(#(.*)\)/,_0x18ad43(0x467)+_0x3b08cb[_0x18ad43(0x1c0)]+')'));})),_0x12a5ac;}function _0x5dd786(_0x501b11,_0x3dcb55){const _0x15e100=_0x492c29;var _0x25e225;const {defIds:_0x281e7c}=_0x3dcb55;return!_0x281e7c||_0x281e7c[_0x15e100(0x2c5)]===0x0?_0x501b11:_0x501b11[_0x15e100(0x200)]===_0x15e100(0x3ca)&&((_0x25e225=_0x501b11[_0x15e100(0x3c6)])!=null&&_0x25e225[_0x15e100(0x2c5)])?{..._0x501b11,'children':_0x501b11[_0x15e100(0x3c6)][_0x15e100(0x3a1)](_0x283972=>typeof _0x283972[_0x15e100(0x46c)]['id']==_0x15e100(0x1e2)&&_0x281e7c&&_0x281e7c[_0x15e100(0x31d)](_0x283972[_0x15e100(0x46c)]['id'])?{..._0x283972,'attrs':{..._0x283972[_0x15e100(0x46c)],'id':_0x283972[_0x15e100(0x46c)]['id']+_0x3dcb55[_0x15e100(0x1c0)]}}:_0x283972)}:_0x501b11;}function _0x5c90e8(){const _0x374856=_0x492c29;return Math[_0x374856(0x1d1)]()[_0x374856(0x375)](0x24)[_0x374856(0x1e0)](0x2,0x8);}_0x4498a1[_0x492c29(0x3df)]=_0x492c29(0x203);const _0x4890dc={'tag':_0x492c29(0x374),'attrs':{'xmlns':_0x492c29(0x490),'fill':_0x492c29(0x350),'viewBox':_0x492c29(0x466),'width':_0x492c29(0x49d),'height':_0x492c29(0x49d)},'children':[{'tag':'g','attrs':{'clipPath':_0x492c29(0x2e4)},'children':[{'tag':_0x492c29(0x231),'attrs':{'stroke':_0x492c29(0x401),'d':_0x492c29(0x468),'strokeLinecap':_0x492c29(0x224),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x492c29(0x3ca),'attrs':{},'children':[{'tag':_0x492c29(0x213),'attrs':{'id':_0x492c29(0x230)},'children':[{'tag':_0x492c29(0x231),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x155252=_0x543b72['forwardRef'](function(_0x472e62,_0x34115d){const _0x130b73=_0x492c29;return _0x543b72[_0x130b73(0x304)](_0x4498a1,Object[_0x130b73(0x3a7)]({},_0x472e62,{'id':_0x130b73(0x1cb),'ref':_0x34115d,'icon':_0x4890dc}));});_0x155252['displayName']=_0x492c29(0x456);const _0xc349b0={'tag':_0x492c29(0x374),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x492c29(0x350),'viewBox':_0x492c29(0x347),'width':_0x492c29(0x49d),'height':_0x492c29(0x49d)},'children':[{'tag':'g','attrs':{'clipPath':_0x492c29(0x3e3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x492c29(0x399),'strokeLinecap':_0x492c29(0x224),'strokeLinejoin':_0x492c29(0x224),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x492c29(0x213),'attrs':{'id':_0x492c29(0x2f6)},'children':[{'tag':_0x492c29(0x231),'attrs':{'fill':_0x492c29(0x3da),'d':_0x492c29(0x2b5),'transform':_0x492c29(0x324)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2cc924=_0x543b72['forwardRef'](function(_0x492c13,_0x180267){const _0x1b6275=_0x492c29;return _0x543b72[_0x1b6275(0x304)](_0x4498a1,Object[_0x1b6275(0x3a7)]({},_0x492c13,{'id':_0x1b6275(0x23b),'ref':_0x180267,'icon':_0xc349b0}));});_0x2cc924[_0x492c29(0x3df)]=_0x492c29(0x40d);function _0x421e35(_0x2dd38c){const _0x2d12a2=_0x492c29;switch(_0x2dd38c){case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x407)]:return'collabStatus.offline';case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x413)]:return _0x2d12a2(0x3e4);case _0x308558['CollaborationStatus'][_0x2d12a2(0x427)]:return _0x2d12a2(0x1ce);case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x3c3)]:return _0x2d12a2(0x294);case _0x308558['CollaborationStatus']['AWAITING']:case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x310)]:return _0x2d12a2(0x343);case _0x308558[_0x2d12a2(0x1f2)]['SYNCED']:case _0x308558[_0x2d12a2(0x1f2)]['PENDING']:return _0x2d12a2(0x269);}}function _0x1e9402(_0x552162){const _0x582b8a=_0x492c29,{status$:_0x441bd8}=_0x552162,_0x511919=_0x270f30[_0x582b8a(0x3fd)](_0x441bd8,_0x308558['CollaborationStatus'][_0x582b8a(0x3c3)]),_0x3cb4f2=_0x270f30['useDependency'](_0x333729['LocaleService']),_0x421a17=_0x270f30[_0x582b8a(0x286)](_0x308558[_0x582b8a(0x38b)]),_0x46840d=_0x511919!==_0x308558[_0x582b8a(0x1f2)][_0x582b8a(0x407)],_0x513c23=_0x3cb4f2['t'](_0x421e35(_0x511919)),_0x57e1d5=_0x46840d?_0x3a9348['jsx'](_0x2cc924,{}):_0x3a9348['jsx'](_0x155252,{}),_0x30fd45=_0x543b72[_0x582b8a(0x48e)](()=>{_0x46840d||_0x421a17['reconnect']();},[_0x46840d,_0x421a17]);function _0x4bae3e(){const _0x5cec10=_0x582b8a;return _0x3a9348['jsxs']('div',{'className':_0x5cec10(0x3ba),'onClick':_0x30fd45,'children':[_0x3a9348[_0x5cec10(0x20b)](_0x5cec10(0x45e),{'className':_0x5363fc[_0x5cec10(0x2a1)](_0x5cec10(0x28d),{'univer-text-green-500':_0x46840d,'univer-text-red-500':!_0x46840d}),'children':_0x57e1d5}),_0x3a9348[_0x5cec10(0x20b)](_0x5cec10(0x45e),{'className':_0x5cec10(0x402),'children':_0x513c23})]});}return _0x46840d?_0x4bae3e():_0x3a9348[_0x582b8a(0x20b)](_0x5363fc[_0x582b8a(0x3c8)],{'title':_0x3cb4f2['t'](_0x582b8a(0x476)),'children':_0x4bae3e()});}var _0x5dc79a=Object['getOwnPropertyDescriptor'],_0x4fafe1=(_0x4e5ef4,_0x4effbe,_0x149f62,_0x4e2836)=>{const _0x244360=_0x492c29;for(var _0x1fd9d6=_0x4e2836>0x1?void 0x0:_0x4e2836?_0x5dc79a(_0x4effbe,_0x149f62):_0x4effbe,_0x5b9841=_0x4e5ef4[_0x244360(0x2c5)]-0x1,_0x482a90;_0x5b9841>=0x0;_0x5b9841--)(_0x482a90=_0x4e5ef4[_0x5b9841])&&(_0x1fd9d6=_0x482a90(_0x1fd9d6)||_0x1fd9d6);return _0x1fd9d6;},_0x53922b=(_0x499aaf,_0x362eda)=>(_0x38d207,_0xbbd97e)=>_0x362eda(_0x38d207,_0xbbd97e,_0x499aaf);_0x1ddbd2[_0x492c29(0x22e)]=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x26a03b,_0x15bb5c,_0x202c9e,_0x1c7e1f){const _0x31b060=_0x492c29;super(),_0x56d583(this,'_status$',new _0x27440d['BehaviorSubject'](_0x308558['CollaborationStatus'][_0x31b060(0x3c3)])),(this[_0x31b060(0x378)]=_0x26a03b,this[_0x31b060(0x359)]=_0x15bb5c,this[_0x31b060(0x45d)]=_0x202c9e,this[_0x31b060(0x421)]=_0x1c7e1f,this[_0x31b060(0x479)](),this['_initStatusListener']());}[_0x492c29(0x2d3)](){const _0x17a637=_0x492c29;this['disposeWithMe'](this[_0x17a637(0x378)][_0x17a637(0x25e)]['pipe'](_0x27440d[_0x17a637(0x2b0)](()=>{const _0x8641d7=_0x17a637,_0x23dc0a=this['_univerInstanceService'][_0x8641d7(0x48c)]();return _0x23dc0a?this[_0x8641d7(0x45d)][_0x8641d7(0x4a0)](_0x23dc0a[_0x8641d7(0x314)]()):_0x27440d['of'](null);}),_0x27440d[_0x17a637(0x2b0)](_0x3de774=>_0x3de774?_0x3de774[_0x17a637(0x21e)]:_0x27440d['of'](_0x308558[_0x17a637(0x1f2)][_0x17a637(0x3c3)])))[_0x17a637(0x2f2)](_0x1f6800=>{const _0x3387f8=_0x17a637;this[_0x3387f8(0x445)]['next'](_0x1f6800);}));}[_0x492c29(0x479)](){const _0x25b2f4=_0x492c29;this['disposeWithMe'](this[_0x25b2f4(0x421)][_0x25b2f4(0x245)](_0x270f30[_0x25b2f4(0x391)]['HEADER_MENU'],()=>_0x270f30[_0x25b2f4(0x311)](_0x2c6eb6({'status$':this['_status$'][_0x25b2f4(0x247)]()}),this[_0x25b2f4(0x359)])));}},_0x1ddbd2[_0x492c29(0x22e)]=_0x4fafe1([_0x53922b(0x0,_0x333729[_0x492c29(0x1d0)]),_0x53922b(0x1,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x53922b(0x2,_0x333729[_0x492c29(0x1d3)](_0x308558['CollaborationController'])),_0x53922b(0x3,_0x270f30[_0x492c29(0x42c)])],_0x1ddbd2[_0x492c29(0x22e)]);function _0x2c6eb6(_0x2c0ab7){const {status$:_0x1d01a8}=_0x2c0ab7;return function(){return _0x3a9348['jsx'](_0x1e9402,{'status$':_0x1d01a8});};}const _0x2dd234=_0x333729[_0x492c29(0x3ff)](_0x492c29(0x341));var _0x200b87=Object[_0x492c29(0x47c)],_0x1ef1f7=(_0x28ea4a,_0x543c24,_0x376c0b,_0x3ee396)=>{const _0x3b3f82=_0x492c29;for(var _0x5d5a92=_0x3ee396>0x1?void 0x0:_0x3ee396?_0x200b87(_0x543c24,_0x376c0b):_0x543c24,_0x2c0db3=_0x28ea4a[_0x3b3f82(0x2c5)]-0x1,_0x4b7b82;_0x2c0db3>=0x0;_0x2c0db3--)(_0x4b7b82=_0x28ea4a[_0x2c0db3])&&(_0x5d5a92=_0x4b7b82(_0x5d5a92)||_0x5d5a92);return _0x5d5a92;},_0x2b2ee9=(_0x2c6358,_0x1f3437)=>(_0x4df716,_0x2af065)=>_0x1f3437(_0x4df716,_0x2af065,_0x2c6358);_0x1ddbd2[_0x492c29(0x409)]=class extends _0x333729[_0x492c29(0x408)]{constructor(_0xb36999,_0x19eb10,_0x30d711,_0xd0ed69,_0x48557c){const _0x1e17e0=_0x492c29;super(),this['_urlService']=_0xb36999,this[_0x1e17e0(0x3ad)]=_0x19eb10,this[_0x1e17e0(0x3ac)]=_0x30d711,this['_dataLoaderService']=_0xd0ed69,_0x48557c?_0x48557c==null||_0x48557c[_0x1e17e0(0x37c)]()[_0x1e17e0(0x2ef)](()=>this[_0x1e17e0(0x45c)]()):(this['_logService']['debug'](_0x1e17e0(0x3b7),_0x1e17e0(0x31b)),this[_0x1e17e0(0x45c)]());}async[_0x492c29(0x45c)](){const _0x14d0c0=_0x492c29,_0x5cbe9c=this['_urlService']['getParam'](_0x14d0c0(0x1c9)),_0x3ee5d7=this['_urlService'][_0x14d0c0(0x2c1)]('type'),_0x256749=this['_urlService'][_0x14d0c0(0x2c1)]('subunit');if(!_0x5cbe9c||!_0x3ee5d7){this[_0x14d0c0(0x3ad)][_0x14d0c0(0x23d)](_0x14d0c0(0x3b7),_0x14d0c0(0x488));return;}const _0x39bd27=await this['_dataLoaderService']['loadUnit'](_0x5cbe9c,Number(_0x3ee5d7),_0x256749);_0x39bd27&&_0x39bd27 instanceof _0x333729['Workbook']&&this[_0x14d0c0(0x38e)](_0x39bd27);}async[_0x492c29(0x38e)](_0x10a237){const _0x3cb8f8=_0x492c29;await this[_0x3cb8f8(0x288)](_0x10a237),_0x10a237['activeSheet$'][_0x3cb8f8(0x338)](_0x27440d[_0x3cb8f8(0x45a)](this[_0x3cb8f8(0x461)]))[_0x3cb8f8(0x2f2)](_0x24df72=>{const _0x3cbb37=_0x3cb8f8;_0x24df72&&this[_0x3cbb37(0x373)](_0x24df72);}),this[_0x3cb8f8(0x265)][_0x3cb8f8(0x3bc)][_0x3cb8f8(0x338)](_0x27440d[_0x3cb8f8(0x45a)](this['dispose$']))[_0x3cb8f8(0x2f2)](()=>this[_0x3cb8f8(0x288)](_0x10a237));}[_0x492c29(0x373)](_0x40db2d,_0x3eb046=!0x1){const _0x263453=_0x492c29,_0xcc8ec2=this['_urlService'][_0x263453(0x2c1)]('subunit');_0x40db2d['getSheetId']()!==_0xcc8ec2&&this['_urlService'][_0x263453(0x3e0)](_0x263453(0x42f),_0x40db2d[_0x263453(0x1ec)](),_0x3eb046);}async[_0x492c29(0x288)](_0x4c3eb5){const _0x1c5f4b=_0x492c29;var _0x53167d;const _0x20f29b=this['_urlService'][_0x1c5f4b(0x2c1)](_0x1c5f4b(0x42f));if(!_0x20f29b||!_0x4c3eb5[_0x1c5f4b(0x3b6)](_0x20f29b)){const _0xfc7a3c=_0x4c3eb5[_0x1c5f4b(0x2d7)]()[0x0],_0x534bad=_0x4c3eb5[_0x1c5f4b(0x3b6)](_0xfc7a3c);if(!_0x534bad)return;this[_0x1c5f4b(0x373)](_0x534bad,!0x0),await this[_0x1c5f4b(0x3ac)][_0x1c5f4b(0x282)](_0x37d825[_0x1c5f4b(0x3ea)]['id'],{'unitId':_0x4c3eb5[_0x1c5f4b(0x314)](),'subUnitId':_0xfc7a3c});return;}((_0x53167d=_0x4c3eb5[_0x1c5f4b(0x43c)]())==null?void 0x0:_0x53167d[_0x1c5f4b(0x1ec)]())!==_0x20f29b&&await this[_0x1c5f4b(0x3ac)][_0x1c5f4b(0x282)](_0x37d825[_0x1c5f4b(0x3ea)]['id'],{'unitId':_0x4c3eb5[_0x1c5f4b(0x314)](),'subUnitId':_0x20f29b});}},_0x1ddbd2[_0x492c29(0x409)]=_0x1ef1f7([_0x2b2ee9(0x0,_0x2dd234),_0x2b2ee9(0x1,_0x333729[_0x492c29(0x221)]),_0x2b2ee9(0x2,_0x333729[_0x492c29(0x3f4)]),_0x2b2ee9(0x3,_0x333729[_0x492c29(0x1d3)](_0x308558['DataLoaderService'])),_0x2b2ee9(0x4,_0x333729['Optional'](_0x4784c6[_0x492c29(0x382)]))],_0x1ddbd2[_0x492c29(0x409)]);var _0x45d99d=Object[_0x492c29(0x47c)],_0x40192a=(_0x30ebed,_0x510687,_0x4e6af1,_0x41cf84)=>{const _0x54f24a=_0x492c29;for(var _0x3ace71=_0x41cf84>0x1?void 0x0:_0x41cf84?_0x45d99d(_0x510687,_0x4e6af1):_0x510687,_0x1b94bc=_0x30ebed[_0x54f24a(0x2c5)]-0x1,_0x6e8c1c;_0x1b94bc>=0x0;_0x1b94bc--)(_0x6e8c1c=_0x30ebed[_0x1b94bc])&&(_0x3ace71=_0x6e8c1c(_0x3ace71)||_0x3ace71);return _0x3ace71;},_0x4da3cb=(_0x33d1f5,_0x18b177)=>(_0x4114d2,_0x14d7aa)=>_0x18b177(_0x4114d2,_0x14d7aa,_0x33d1f5);let _0x45faa8=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x5d2858,_0x38b793){const _0x4baf5a=_0x492c29;super(),this[_0x4baf5a(0x390)]=_0x5d2858,this[_0x4baf5a(0x2de)]=_0x38b793,this[_0x4baf5a(0x45c)]();}['_init'](){const _0x490e5a=_0x492c29,_0x1700d5=this;this[_0x490e5a(0x212)](this[_0x490e5a(0x390)]['addClipboardHook']({'onBeforePasteImage':async _0x44ad55=>{const _0x38edda=_0x490e5a,_0x511b44=await _0x1700d5['_imageIoService']['saveImage'](_0x44ad55);return _0x511b44?{'source':_0x511b44[_0x38edda(0x36c)],'imageSourceType':_0x511b44[_0x38edda(0x1b9)]}:null;}}));}};_0x45faa8=_0x40192a([_0x4da3cb(0x0,_0x106c52[_0x492c29(0x22b)]),_0x4da3cb(0x1,_0x198854['IImageIoService'])],_0x45faa8);const _0x3bf0a3=[_0x492c29(0x1f3),'jiqing.500',_0x492c29(0x3bf),_0x492c29(0x34a),_0x492c29(0x44d),_0x492c29(0x3f2)];class _0x26569c extends _0x333729[_0x492c29(0x3c4)]{constructor(){const _0x514284=_0x492c29;super(...arguments),_0x56d583(this,'_assignedColors',new Map()),_0x56d583(this,_0x514284(0x2ae),0x0);}[_0x492c29(0x439)](_0x4354ee){const _0x7532b1=_0x492c29;if(this['_assignedColors'][_0x7532b1(0x485)](_0x4354ee))return this['_assignedColors'][_0x7532b1(0x385)](_0x4354ee);const _0x20fc29=_0x3bf0a3[this[_0x7532b1(0x2ae)]];return this['_colorIndex']=(this[_0x7532b1(0x2ae)]+0x1)%_0x3bf0a3['length'],this[_0x7532b1(0x3cb)][_0x7532b1(0x287)](_0x4354ee,_0x20fc29),_0x20fc29;}}function _0x5e279d(_0x45d828){let _0xbefeef='';for(const _0xf3f7fe of _0x45d828){const {startOffset:_0x53c2db,endOffset:_0x188cb6,isActive:_0x482f18,rangeType:_0x5e4d0f,segmentId:_0x18b6ad,segmentPage:_0x4c3ac7}=_0xf3f7fe;_0xbefeef['length']&&(_0xbefeef+=','),_0xbefeef+=_0x53c2db+':'+_0x188cb6+':'+(_0x482f18?'1':'0')+':'+_0x5e4d0f+':'+_0x18b6ad+':'+_0x4c3ac7;}return _0xbefeef;}function _0x4e5162(_0x146da5){const _0x5414b4=_0x492c29,_0xaf1af9=_0x146da5[_0x5414b4(0x2d0)](','),_0x2b6513=[];for(const _0x5e367b of _0xaf1af9){const [_0x66d903,_0x116dcc,_0x296136,_0x5a96bf,_0x120191,_0x48be7f]=_0x5e367b[_0x5414b4(0x2d0)](':');_0x2b6513['push']({'startOffset':Number(_0x66d903),'endOffset':Number(_0x116dcc),'collapsed':_0x66d903===_0x116dcc,'isActive':_0x296136==='1','rangeType':_0x5a96bf===_0x333729['DOC_RANGE_TYPE'][_0x5414b4(0x291)]?_0x333729[_0x5414b4(0x29b)]['TEXT']:_0x333729[_0x5414b4(0x29b)][_0x5414b4(0x220)],'segmentId':typeof _0x120191==_0x5414b4(0x1e2)?String(_0x120191):'','segmentPage':Number(_0x48be7f!=null?_0x48be7f:-0x1)});}return _0x2b6513[_0x5414b4(0x259)](_0x38416a=>_0x38416a[_0x5414b4(0x47d)])||(_0x2b6513[0x0][_0x5414b4(0x47d)]=!0x0),_0x2b6513;}class _0x319393 extends _0x333729[_0x492c29(0x408)]{constructor(){const _0x6296c4=_0x492c29;super(...arguments),_0x56d583(this,_0x6296c4(0x1fd),new _0x27440d[(_0x6296c4(0x293))](null)),_0x56d583(this,_0x6296c4(0x2fd),this['_collabCursorState$'][_0x6296c4(0x247)]());}[_0x492c29(0x486)](_0xe9a6d7){const _0x24bde5=_0x492c29,{unitID:_0x5b6544,memberID:_0x523dc6,textRanges:_0x1c4652}=_0xe9a6d7,_0x434508=_0x5e279d(_0x1c4652);if(_0x434508==='')return;const _0x2cca08={'unitID':_0x5b6544,'memberID':_0x523dc6,'selection':_0x434508};this[_0x24bde5(0x1fd)][_0x24bde5(0x349)](_0x2cca08);}}var _0x4c04b8=Object[_0x492c29(0x47c)],_0x372c16=(_0x3b5275,_0x5a8499,_0xbbf35,_0x3b10a1)=>{const _0x3e2d63=_0x492c29;for(var _0x498a76=_0x3b10a1>0x1?void 0x0:_0x3b10a1?_0x4c04b8(_0x5a8499,_0xbbf35):_0x5a8499,_0x23839f=_0x3b5275[_0x3e2d63(0x2c5)]-0x1,_0x1679f3;_0x23839f>=0x0;_0x23839f--)(_0x1679f3=_0x3b5275[_0x23839f])&&(_0x498a76=_0x1679f3(_0x498a76)||_0x498a76);return _0x498a76;},_0x43bd09=(_0x47e163,_0x1a5ee5)=>(_0x2326da,_0x2bbead)=>_0x1a5ee5(_0x2326da,_0x2bbead,_0x47e163);const _0x12eec9=0x12c,_0x25150a=0x64;let _0xc1bf0a=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x58c971,_0x466b56,_0x5ea897,_0x13d9f4,_0xb57f5b,_0x556307,_0x4507a,_0x29d83d,_0xd5366b){const _0x1d18e9=_0x492c29;super(),_0x56d583(this,'_online',!0x1),_0x56d583(this,_0x1d18e9(0x45c),!0x1),_0x56d583(this,_0x1d18e9(0x414),new _0x27440d[(_0x1d18e9(0x293))](new Map())),_0x56d583(this,_0x1d18e9(0x306),this[_0x1d18e9(0x414)][_0x1d18e9(0x247)]()),_0x56d583(this,_0x1d18e9(0x2c6),new _0x27440d['BehaviorSubject']([])),_0x56d583(this,_0x1d18e9(0x205),this[_0x1d18e9(0x2c6)][_0x1d18e9(0x338)](_0x27440d[_0x1d18e9(0x20d)](_0x12eec9))),_0x56d583(this,_0x1d18e9(0x2cf),_0x333729[_0x1d18e9(0x3af)](_0x1b2c45=>{const _0x37f1d1=_0x1d18e9,_0x4b410d={'eventID':_0x49182d['CollaborationEvent'][_0x37f1d1(0x357)],'data':{'unitID':this[_0x37f1d1(0x256)],'memberID':this[_0x37f1d1(0x1cc)]['getMemberID'](),'selection':_0x5e279d(_0x1b2c45)}};this[_0x37f1d1(0x1cc)][_0x37f1d1(0x346)](_0x4b410d,this[_0x37f1d1(0x256)]);},_0x25150a)),(this[_0x1d18e9(0x256)]=_0x58c971,this[_0x1d18e9(0x1cc)]=_0x466b56,this['_injector']=_0x5ea897,this[_0x1d18e9(0x3bd)]=_0x13d9f4,this[_0x1d18e9(0x380)]=_0xb57f5b,this[_0x1d18e9(0x334)]=_0x556307,this[_0x1d18e9(0x37d)]=_0x4507a,this[_0x1d18e9(0x378)]=_0x29d83d,this[_0x1d18e9(0x3ac)]=_0xd5366b);}get[_0x492c29(0x2e0)](){const _0x5d2b12=_0x492c29;return this['_cursorInfo$'][_0x5d2b12(0x473)]();}get[_0x492c29(0x30e)](){return this['_roomMembers$']['getValue']();}[_0x492c29(0x372)](){const _0x4da56e=_0x492c29;super['dispose'](),this[_0x4da56e(0x414)][_0x4da56e(0x349)](new Map()),this[_0x4da56e(0x414)]['complete'](),this[_0x4da56e(0x2c6)][_0x4da56e(0x349)]([]),this[_0x4da56e(0x2c6)][_0x4da56e(0x428)]();}[_0x492c29(0x1bc)](){const _0x3f4b8c=_0x492c29;this[_0x3f4b8c(0x45c)]||(this[_0x3f4b8c(0x45c)]=!0x0,this[_0x3f4b8c(0x1cc)][_0x3f4b8c(0x365)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))[_0x3f4b8c(0x2f2)](_0x57c9f7=>{const _0x244525=_0x3f4b8c;_0x57c9f7===_0x308558[_0x244525(0x470)]['ONLINE']?this[_0x244525(0x3f9)]():this[_0x244525(0x24f)]();}),this[_0x3f4b8c(0x1cc)][_0x3f4b8c(0x246)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))['subscribe'](_0x5b5529=>{const _0x1925f4=_0x3f4b8c,_0x48d874=_0x5b5529[_0x1925f4(0x2d4)];_0x48d874===_0x49182d[_0x1925f4(0x462)]['UPDATE_CURSOR']&&this[_0x1925f4(0x208)](_0x5b5529),_0x48d874===_0x49182d[_0x1925f4(0x462)][_0x1925f4(0x209)]&&this[_0x1925f4(0x26a)](_0x5b5529);}),this[_0x3f4b8c(0x212)](this[_0x3f4b8c(0x3ac)][_0x3f4b8c(0x3d3)](_0x49d8d8=>{const _0x3a68f1=_0x3f4b8c,_0xffa4cb=_0x49d8d8[_0x3a68f1(0x292)];_0xffa4cb!=null&&this[_0x3a68f1(0x438)]&&_0x49d8d8['id']===_0x73cf4e[_0x3a68f1(0x26b)]['id']&&_0xffa4cb[_0x3a68f1(0x1e1)]===this['unitID']&&_0xffa4cb[_0x3a68f1(0x2d9)]===!0x1&&_0xffa4cb[_0x3a68f1(0x40a)][_0x3a68f1(0x2c5)]>0x0&&this[_0x3a68f1(0x2cf)](_0xffa4cb[_0x3a68f1(0x40a)]);})),this['_syncEditingCollabCursorService'][_0x3f4b8c(0x2fd)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))[_0x3f4b8c(0x2f2)](_0x54e7b0=>{const _0x5adfbc=_0x3f4b8c;if((_0x54e7b0==null?void 0x0:_0x54e7b0[_0x5adfbc(0x256)])!==this[_0x5adfbc(0x256)])return;const _0x2ddc68={'eventID':_0x49182d[_0x5adfbc(0x462)][_0x5adfbc(0x357)],'data':_0x54e7b0};this[_0x5adfbc(0x208)](_0x2ddc68);}),this['disposeWithMe'](this[_0x3f4b8c(0x3ac)][_0x3f4b8c(0x3d3)](_0x497a44=>{const _0x81a2c1=_0x3f4b8c;if(_0x497a44[_0x81a2c1(0x292)]==null)return;const _0x18bbcf=_0x497a44[_0x81a2c1(0x292)];if(_0x497a44['id']!==_0x73cf4e[_0x81a2c1(0x283)]['id']||_0x18bbcf[_0x81a2c1(0x1e1)]!==this[_0x81a2c1(0x256)])return;const _0x423b5a={'id':'doc.mutation.rich-text-editing','params':_0x18bbcf},_0x1071a1=this[_0x81a2c1(0x2e0)];for(const [_0x3f8379,_0x333940]of _0x1071a1){const _0x2c1652={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x333940[_0x81a2c1(0x40a)]}},_0xb6f870=this[_0x81a2c1(0x37d)][_0x81a2c1(0x261)](_0x423b5a,_0x2c1652,!0x1);if(_0x49182d[_0x81a2c1(0x2dc)](_0xb6f870))throw _0xb6f870[_0x81a2c1(0x3e7)];_0x1071a1[_0x81a2c1(0x287)](_0x3f8379,{..._0x333940,'ranges':_0xb6f870[_0x81a2c1(0x1db)][_0x81a2c1(0x292)][_0x81a2c1(0x4a5)]});}queueMicrotask(()=>{const _0x90de70=_0x81a2c1;this[_0x90de70(0x414)][_0x90de70(0x349)](_0x1071a1);});})));}[_0x492c29(0x208)](_0x471f04){const _0x12efc2=_0x492c29;var _0x43f84c,_0xb0e64f;const {memberID:_0x1918b6,selection:_0x3c018e}=_0x471f04[_0x12efc2(0x3d2)],_0x313da1=_0x4e5162(_0x3c018e),_0x146c0c=(_0xb0e64f=(_0x43f84c=this['_memberService'][_0x12efc2(0x2b8)](this[_0x12efc2(0x256)],_0x1918b6))==null?void 0x0:_0x43f84c['name'])!=null?_0xb0e64f:'Unknown\x20user',_0x21d150={'color':this[_0x12efc2(0x3bd)][_0x12efc2(0x439)](_0x1918b6),'name':_0x146c0c,'ranges':_0x313da1},_0x8b7d63=this[_0x12efc2(0x2e0)];_0x8b7d63[_0x12efc2(0x287)](_0x1918b6,_0x21d150),this[_0x12efc2(0x414)][_0x12efc2(0x349)](_0x8b7d63);}[_0x492c29(0x26a)](_0x46ad56){const _0x49550a=_0x492c29,{memberID:_0x2c7f55}=_0x46ad56[_0x49550a(0x3d2)],_0x1ad484=this['cursorInfo'];_0x1ad484[_0x49550a(0x207)](_0x2c7f55),this[_0x49550a(0x414)][_0x49550a(0x349)](_0x1ad484);}[_0x492c29(0x3f9)](){const _0x5767c0=_0x492c29;var _0xffd7fa;if(this['_online']=!0x0,((_0xffd7fa=this[_0x5767c0(0x378)][_0x5767c0(0x48c)]())==null?void 0x0:_0xffd7fa[_0x5767c0(0x314)]())!==this['unitID'])return;const _0x2dc452=this[_0x5767c0(0x359)][_0x5767c0(0x385)](_0x73cf4e[_0x5767c0(0x25a)])['getDocRanges']();Array['isArray'](_0x2dc452)&&_0x2dc452[_0x5767c0(0x2c5)]>0x0&&this[_0x5767c0(0x2cf)](_0x2dc452);}[_0x492c29(0x24f)](){const _0x12deb6=_0x492c29;this[_0x12deb6(0x438)]=!0x1;}};_0xc1bf0a=_0x372c16([_0x43bd09(0x2,_0x333729['Inject'](_0x333729[_0x492c29(0x2c4)])),_0x43bd09(0x3,_0x333729['Inject'](_0x26569c)),_0x43bd09(0x4,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x2aa)])),_0x43bd09(0x5,_0x333729['Inject'](_0x319393)),_0x43bd09(0x6,_0x49182d['ITransformService']),_0x43bd09(0x7,_0x333729['IUniverInstanceService']),_0x43bd09(0x8,_0x333729[_0x492c29(0x3f4)])],_0xc1bf0a);var _0x5d2af0=Object[_0x492c29(0x47c)],_0x38dde2=(_0x310ecd,_0x30449d,_0x4ec245,_0x2d0b5b)=>{for(var _0x362de2=_0x2d0b5b>0x1?void 0x0:_0x2d0b5b?_0x5d2af0(_0x30449d,_0x4ec245):_0x30449d,_0x1e37ea=_0x310ecd['length']-0x1,_0x4d005a;_0x1e37ea>=0x0;_0x1e37ea--)(_0x4d005a=_0x310ecd[_0x1e37ea])&&(_0x362de2=_0x4d005a(_0x362de2)||_0x362de2);return _0x362de2;},_0x24fc5c=(_0x1df4ed,_0x117df3)=>(_0x18c40e,_0x221e9d)=>_0x117df3(_0x18c40e,_0x221e9d,_0x1df4ed);const _0x279180=0x12c,_0x573526=0x64,_0x219feb=()=>{let _0x45b07e=[],_0x208590=!0x1;return _0x5b6c38=>{const _0x2f4bdf=_0x5251;_0x45b07e[_0x2f4bdf(0x28e)](_0x5b6c38),_0x208590||(_0x208590=!0x0,setTimeout(()=>{const _0x3a3f73=_0x2f4bdf;_0x45b07e[_0x3a3f73(0x296)](_0x5f1f32=>_0x5f1f32()),_0x45b07e=[],_0x208590=!0x1;}));};};let _0x3dd396=class extends _0x333729['RxDisposable']{constructor(_0x4b8b65,_0x4f5c14,_0xb87063,_0x2507b4,_0x37ec2b,_0x185bfd,_0x68931d,_0x10a664){const _0x77ca1b=_0x492c29;super(),_0x56d583(this,'_online',!0x1),_0x56d583(this,_0x77ca1b(0x45c),!0x1),_0x56d583(this,_0x77ca1b(0x414),new _0x27440d[(_0x77ca1b(0x293))](new Map())),_0x56d583(this,_0x77ca1b(0x306),this[_0x77ca1b(0x414)][_0x77ca1b(0x247)]()),_0x56d583(this,_0x77ca1b(0x2c6),new _0x27440d[(_0x77ca1b(0x293))]([])),_0x56d583(this,'roomMembers$',this['_roomMembers$'][_0x77ca1b(0x338)](_0x27440d[_0x77ca1b(0x20d)](_0x279180))),_0x56d583(this,'_updateLocalCursor',_0x333729['debounce']((_0x41cab0,_0x4da18e)=>{const _0x4c075c=_0x77ca1b,_0x3ab986={'eventID':_0x49182d[_0x4c075c(0x462)][_0x4c075c(0x357)],'data':{'unitID':this[_0x4c075c(0x256)],'memberID':this[_0x4c075c(0x1cc)][_0x4c075c(0x404)](),'selection':_0x5b915e[_0x4c075c(0x2e3)](_0x41cab0,_0x4da18e[_0x4c075c(0x1df)])}};this[_0x4c075c(0x1cc)]['send'](_0x3ab986,this[_0x4c075c(0x256)]);},_0x573526)),(this[_0x77ca1b(0x256)]=_0x4b8b65,this['_session']=_0x4f5c14,this[_0x77ca1b(0x359)]=_0xb87063,this[_0x77ca1b(0x3bd)]=_0x2507b4,this[_0x77ca1b(0x380)]=_0x37ec2b,this[_0x77ca1b(0x378)]=_0x185bfd,this[_0x77ca1b(0x3ac)]=_0x68931d,this[_0x77ca1b(0x29f)]=_0x10a664);}get[_0x492c29(0x2e0)](){const _0x4b6988=_0x492c29;return this[_0x4b6988(0x414)][_0x4b6988(0x473)]();}get[_0x492c29(0x30e)](){const _0x15b211=_0x492c29;return this[_0x15b211(0x2c6)][_0x15b211(0x473)]();}[_0x492c29(0x372)](){const _0x4caad3=_0x492c29;super[_0x4caad3(0x372)](),this[_0x4caad3(0x414)][_0x4caad3(0x349)](new Map()),this['_cursorInfo$'][_0x4caad3(0x428)](),this[_0x4caad3(0x2c6)][_0x4caad3(0x349)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x210846=_0x492c29;this[_0x210846(0x45c)]||(this[_0x210846(0x45c)]=!0x0,this[_0x210846(0x1cc)][_0x210846(0x365)]['pipe'](_0x27440d['takeUntil'](this['dispose$']))[_0x210846(0x2f2)](_0x1945a7=>{const _0x25597c=_0x210846;_0x1945a7===_0x308558[_0x25597c(0x470)][_0x25597c(0x481)]?this['_toggleOnline']():this[_0x25597c(0x24f)]();}),this[_0x210846(0x1cc)][_0x210846(0x246)][_0x210846(0x338)](_0x27440d[_0x210846(0x45a)](this[_0x210846(0x461)]))[_0x210846(0x2f2)](_0x105f9d=>{const _0x1338d1=_0x210846,_0x2f8a2c=_0x105f9d['eventID'];_0x2f8a2c===_0x49182d['CollaborationEvent'][_0x1338d1(0x357)]&&this[_0x1338d1(0x208)](_0x105f9d),_0x2f8a2c===_0x49182d['CollaborationEvent'][_0x1338d1(0x209)]&&this[_0x1338d1(0x26a)](_0x105f9d);}),this[_0x210846(0x2da)](),this[_0x210846(0x212)](this[_0x210846(0x3ac)][_0x210846(0x3d3)](_0x90fbf5=>{const _0x472f88=_0x210846;if(this[_0x472f88(0x438)]&&_0x90fbf5['id']===_0x37d825[_0x472f88(0x1e9)]['id']&&_0x90fbf5[_0x472f88(0x292)][_0x472f88(0x1e1)]===this[_0x472f88(0x256)]){const _0x49090e=_0x90fbf5[_0x472f88(0x292)];this['_updateLocalCursor'](_0x49090e[_0x472f88(0x3f6)],_0x49090e[_0x472f88(0x499)][0x0]);}})));}['_onCursorUpdate'](_0x3c97a9){const _0x54c03e=_0x492c29;var _0x29329a,_0x36831a;const {memberID:_0x4354b4,selection:_0x462b4b}=_0x3c97a9[_0x54c03e(0x3d2)],{sheetName:_0x280d5c,range:_0x47c6c7}=_0x5b915e[_0x54c03e(0x398)](_0x462b4b),_0x4e3301={'name':(_0x36831a=(_0x29329a=this['_memberService'][_0x54c03e(0x2b8)](this['unitID'],_0x4354b4))==null?void 0x0:_0x29329a[_0x54c03e(0x471)])!=null?_0x36831a:_0x54c03e(0x437),'range':this['_getMergeRange'](_0x280d5c,_0x47c6c7),'sheetID':_0x280d5c,'color':this[_0x54c03e(0x3bd)][_0x54c03e(0x439)](_0x4354b4),'selection':_0x462b4b},_0x274cd1=this[_0x54c03e(0x2e0)];_0x274cd1[_0x54c03e(0x287)](_0x4354b4,_0x4e3301),this[_0x54c03e(0x414)][_0x54c03e(0x349)](_0x274cd1);}[_0x492c29(0x26a)](_0x5815b8){const _0x40d3e3=_0x492c29,{memberID:_0x4e2ef5}=_0x5815b8[_0x40d3e3(0x3d2)],_0x580c41=this[_0x40d3e3(0x2e0)];_0x580c41[_0x40d3e3(0x207)](_0x4e2ef5),this[_0x40d3e3(0x414)][_0x40d3e3(0x349)](_0x580c41);}['_getMergeRange'](_0x3bff4a,_0x41cc44){const _0x38551e=_0x492c29;var _0x580448,_0x38ae9d;const _0x35954a=(_0x38ae9d=(_0x580448=this['_univerInstanceService'][_0x38551e(0x2e5)](this[_0x38551e(0x256)]))==null?void 0x0:_0x580448[_0x38551e(0x3b6)](_0x3bff4a))==null?void 0x0:_0x38ae9d[_0x38551e(0x38f)]();return(_0x35954a==null?void 0x0:_0x35954a[_0x38551e(0x297)](_0x73c99c=>_0x333729[_0x38551e(0x496)][_0x38551e(0x2ce)](_0x73c99c,_0x41cc44)))||_0x41cc44;}['_onRefRangeChange'](){const _0x3fbc6d=_0x492c29,_0x49d5fb=new _0x333729[(_0x3fbc6d(0x2a0))](),_0x286add=_0x219feb(),_0x106cdd=()=>{const _0x21210b=_0x3fbc6d;_0x49d5fb[_0x21210b(0x372)]();const _0x2e08cf=(_0x12394c,_0x1860b1,_0x136588,_0x4ff836)=>{const _0x474551=_0x21210b;let _0x3f733d=[];switch(_0x12394c['id']){case _0x37d825[_0x474551(0x1f0)]['DeleteRangeMoveLeftCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x2ca)](_0x12394c,_0x4ff836);break;}case _0x37d825['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x3f733d=_0x37d825['handleDeleteRangeMoveUp'](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x4ac)]:{_0x3f733d=_0x37d825[_0x474551(0x225)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)]['InsertRangeMoveDownCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x366)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)]['InsertRangeMoveRightCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x2f0)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x1c1)]:{_0x3f733d=_0x37d825[_0x474551(0x335)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x3a8)]:{_0x3f733d=_0x37d825[_0x474551(0x419)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x3e8)]:{_0x3f733d=_0x37d825[_0x474551(0x464)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x20a)]:{_0x3f733d=_0x37d825[_0x474551(0x1fc)](_0x12394c,_0x4ff836);break;}}const _0x35a9ee=_0x37d825[_0x474551(0x201)](_0x3f733d,_0x4ff836),_0x5c82b2=this[_0x474551(0x2e0)]['get'](_0x1860b1);if(_0x5c82b2&&_0x35a9ee){const _0x765126={..._0x5c82b2,'range':_0x35a9ee};this[_0x474551(0x2e0)]['set'](_0x1860b1,_0x765126),_0x286add(()=>{const _0x1b304c=_0x474551,_0x1f2517=this[_0x1b304c(0x29f)]['registerRefRange'](_0x35a9ee,_0x13ca99=>(_0x1f2517[_0x1b304c(0x372)](),_0x2e08cf(_0x13ca99,_0x1860b1,_0x136588,_0x35a9ee)));_0x49d5fb['add'](_0x1f2517);});}return{'redos':[],'undos':[]};};this[_0x21210b(0x2e0)][_0x21210b(0x296)]((_0x5b3d48,_0x368b29)=>{const _0x473390=_0x21210b,{range:_0x5839ac,sheetID:_0x9670eb}=_0x5b3d48,_0x1446e9=this['_refRangeService'][_0x473390(0x2ba)](_0x5839ac,_0x44ce5e=>(_0x1446e9['dispose'](),_0x2e08cf(_0x44ce5e,_0x368b29,_0x9670eb,_0x5839ac)));_0x49d5fb['add'](_0x1446e9);});};this[_0x3fbc6d(0x212)](_0x333729['toDisposable'](this[_0x3fbc6d(0x414)]['subscribe'](()=>{_0x106cdd();})));}['_toggleOnline'](){const _0x4d79e6=_0x492c29;var _0x56c430,_0x26054c;if(this[_0x4d79e6(0x438)]=!0x0,((_0x56c430=this[_0x4d79e6(0x378)]['getFocusedUnit']())==null?void 0x0:_0x56c430['getUnitId']())!==this[_0x4d79e6(0x256)])return;const _0x27c93f=(_0x26054c=this[_0x4d79e6(0x359)][_0x4d79e6(0x385)](_0x37d825[_0x4d79e6(0x457)])[_0x4d79e6(0x1ed)]())==null?void 0x0:_0x26054c[0x0],_0x2fecef=this[_0x4d79e6(0x378)][_0x4d79e6(0x369)](_0x333729[_0x4d79e6(0x215)][_0x4d79e6(0x30a)])['getActiveSheet']();_0x27c93f&&_0x2fecef&&this[_0x4d79e6(0x2cf)](_0x2fecef['getSheetId'](),_0x27c93f);}[_0x492c29(0x24f)](){const _0x188a92=_0x492c29;this[_0x188a92(0x438)]=!0x1;}};_0x3dd396=_0x38dde2([_0x24fc5c(0x2,_0x333729['Inject'](_0x333729[_0x492c29(0x2c4)])),_0x24fc5c(0x3,_0x333729[_0x492c29(0x1d3)](_0x26569c)),_0x24fc5c(0x4,_0x333729[_0x492c29(0x1d3)](_0x308558['MemberService'])),_0x24fc5c(0x5,_0x333729[_0x492c29(0x1d0)]),_0x24fc5c(0x6,_0x333729['ICommandService']),_0x24fc5c(0x7,_0x333729['Inject'](_0x37d825[_0x492c29(0x395)]))],_0x3dd396);var _0x315b9e=Object['getOwnPropertyDescriptor'],_0x1531da=(_0x15cef7,_0x351e94,_0x375d89,_0x4cf049)=>{const _0x553056=_0x492c29;for(var _0x5e6811=_0x4cf049>0x1?void 0x0:_0x4cf049?_0x315b9e(_0x351e94,_0x375d89):_0x351e94,_0xbc8238=_0x15cef7[_0x553056(0x2c5)]-0x1,_0x30465f;_0xbc8238>=0x0;_0xbc8238--)(_0x30465f=_0x15cef7[_0xbc8238])&&(_0x5e6811=_0x30465f(_0x5e6811)||_0x5e6811);return _0x5e6811;},_0x2566f6=(_0x40efac,_0x298370)=>(_0x591967,_0x5d0e6e)=>_0x298370(_0x591967,_0x5d0e6e,_0x40efac);let _0x5df748=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x31a354,_0x1ba62f,_0x3d6214){const _0x27f110=_0x492c29;super(),_0x56d583(this,_0x27f110(0x211),new Map()),_0x56d583(this,'_entityInit$',new _0x27440d[(_0x27f110(0x30b))]()),(this['_univerInstanceService']=_0x31a354,this[_0x27f110(0x359)]=_0x1ba62f,this[_0x27f110(0x2e2)]=_0x3d6214,this[_0x27f110(0x45c)]());}[_0x492c29(0x372)](){const _0x41f3fe=_0x492c29;super[_0x41f3fe(0x372)](),this[_0x41f3fe(0x276)]['complete'](),this[_0x41f3fe(0x211)][_0x41f3fe(0x296)](_0x2a3576=>_0x2a3576[_0x41f3fe(0x372)]());}[_0x492c29(0x3d7)](_0x34c1ab){const _0x441d6c=_0x492c29;return this['_entities'][_0x441d6c(0x485)](_0x34c1ab)?this[_0x441d6c(0x211)]['get'](_0x34c1ab)[_0x441d6c(0x306)]:this[_0x441d6c(0x276)][_0x441d6c(0x338)](_0x27440d[_0x441d6c(0x3ab)](_0x500730=>_0x500730[_0x441d6c(0x256)]===_0x34c1ab),_0x27440d[_0x441d6c(0x2b0)](_0xb246fb=>_0xb246fb['cursorInfo$']));}[_0x492c29(0x45c)](){const _0xed545c=_0x492c29;this['_univerInstanceService'][_0xed545c(0x425)](_0x333729[_0xed545c(0x215)][_0xed545c(0x30a)])[_0xed545c(0x338)](_0x27440d['takeUntil'](this['dispose$']))[_0xed545c(0x2f2)](async _0x539ed0=>{const _0x2d5a65=_0xed545c,_0x322886=_0x539ed0[_0x2d5a65(0x314)](),_0x34b8f2=await this['_startSheetCollabCursor'](_0x322886);this[_0x2d5a65(0x276)][_0x2d5a65(0x349)](_0x34b8f2),this['_entities'][_0x2d5a65(0x287)](_0x322886,_0x34b8f2);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x333729[_0xed545c(0x215)][_0xed545c(0x483)])[_0xed545c(0x338)](_0x27440d[_0xed545c(0x45a)](this[_0xed545c(0x461)]))[_0xed545c(0x338)](_0x27440d[_0xed545c(0x3ab)](_0x188466=>!_0x188466[_0xed545c(0x314)]()[_0xed545c(0x2db)]('__')))[_0xed545c(0x2f2)](async _0x3acc9c=>{const _0x2d2458=_0xed545c,_0x51d1cb=_0x3acc9c[_0x2d2458(0x314)](),_0x4e4c18=await this[_0x2d2458(0x411)](_0x51d1cb);this[_0x2d2458(0x276)]['next'](_0x4e4c18),this[_0x2d2458(0x211)][_0x2d2458(0x287)](_0x51d1cb,_0x4e4c18);}),_0x27440d[_0xed545c(0x43f)](this[_0xed545c(0x378)][_0xed545c(0x258)](_0x333729[_0xed545c(0x215)][_0xed545c(0x483)]),this[_0xed545c(0x378)][_0xed545c(0x258)](_0x333729[_0xed545c(0x215)]['UNIVER_SHEET']))[_0xed545c(0x338)](_0x27440d['takeUntil'](this['dispose$']))[_0xed545c(0x2f2)](_0x4bede0=>{const _0x3c7393=_0xed545c,_0x957db8=_0x4bede0['getUnitId'](),_0x189bad=this[_0x3c7393(0x211)][_0x3c7393(0x385)](_0x957db8);_0x189bad&&(_0x189bad[_0x3c7393(0x372)](),this[_0x3c7393(0x211)][_0x3c7393(0x207)](_0x957db8));});}async[_0x492c29(0x3b0)](_0x296412){const _0x433bd1=_0x492c29,_0x2384db=await this[_0x433bd1(0x2e2)][_0x433bd1(0x487)](_0x296412),_0x51149f=this[_0x433bd1(0x359)][_0x433bd1(0x4a1)](_0x3dd396,_0x296412,_0x2384db);return _0x51149f[_0x433bd1(0x1bc)](),_0x51149f;}async[_0x492c29(0x411)](_0x102b52){const _0x310636=_0x492c29,_0x1a7ffb=await this['_collabSessionService'][_0x310636(0x487)](_0x102b52),_0x2965ba=this['_injector'][_0x310636(0x4a1)](_0xc1bf0a,_0x102b52,_0x1a7ffb);return _0x2965ba['init'](),_0x2965ba;}};_0x5df748=_0x1531da([_0x2566f6(0x0,_0x333729[_0x492c29(0x1d0)]),_0x2566f6(0x1,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x2566f6(0x2,_0x333729['Inject'](_0x308558[_0x492c29(0x38b)]))],_0x5df748);const _0x1f27a2=0x14,_0x58f1cb=0xc8,_0x183273=0x4,_0x27e356=0x5;function _0x4a942d(_0x3ea1f9,_0x568ae2){const _0xdf95c5=_0x492c29;let {radius:_0x1e6320,width:_0xd6a087,height:_0x1ddb73}=_0x568ae2;_0x1e6320=_0x1e6320!=null?_0x1e6320:0x0,_0xd6a087=_0xd6a087!=null?_0xd6a087:0x1e,_0x1ddb73=_0x1ddb73!=null?_0x1ddb73:0x1e;let _0x235265=0x0,_0x4eb805=0x0,_0x602474=0x0;_0x235265=_0x4eb805=_0x602474=Math[_0xdf95c5(0x3f3)](_0x1e6320,_0xd6a087/0x2,_0x1ddb73/0x2),_0x3ea1f9[_0xdf95c5(0x308)](),_0x3ea1f9[_0xdf95c5(0x257)](_0x235265,0x0),_0x3ea1f9[_0xdf95c5(0x405)](_0xd6a087-_0x4eb805,0x0),_0x3ea1f9[_0xdf95c5(0x33c)](_0xd6a087-_0x4eb805,_0x4eb805,_0x4eb805,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ea1f9[_0xdf95c5(0x405)](_0xd6a087,_0x1ddb73-_0x602474),_0x3ea1f9[_0xdf95c5(0x33c)](_0xd6a087-_0x602474,_0x1ddb73-_0x602474,_0x602474,0x0,Math['PI']/0x2,!0x1),_0x3ea1f9['lineTo'](0x0,_0x1ddb73),_0x3ea1f9[_0xdf95c5(0x405)](0x0,_0x235265),_0x3ea1f9['arc'](_0x235265,_0x235265,_0x235265,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ea1f9[_0xdf95c5(0x27b)](),_0x568ae2[_0xdf95c5(0x46b)]&&(_0x3ea1f9[_0xdf95c5(0x2ed)](),_0x3ea1f9[_0xdf95c5(0x329)]=_0x568ae2[_0xdf95c5(0x46b)],_0x568ae2[_0xdf95c5(0x379)]===_0xdf95c5(0x1e5)?_0x3ea1f9['fill']('evenodd'):_0x3ea1f9['fill'](),_0x3ea1f9['restore']());}class _0x56ed81 extends _0x220e15[_0x492c29(0x2ab)]{constructor(_0x44f625,_0x466499){const _0x9bc3c9=_0x492c29;super(_0x44f625,_0x466499),_0x56d583(this,'color'),_0x56d583(this,'text'),(this['color']=_0x466499==null?void 0x0:_0x466499[_0x9bc3c9(0x3ef)],this[_0x9bc3c9(0x1bf)]=_0x466499==null?void 0x0:_0x466499[_0x9bc3c9(0x1bf)]);}static[_0x492c29(0x460)](_0x48a3f6,_0x253ce0){const _0x365091=_0x492c29,{text:_0x322f70,color:_0x1d2528}=_0x253ce0;_0x48a3f6[_0x365091(0x2ed)](),_0x48a3f6[_0x365091(0x2bf)]=_0x365091(0x2b7);const _0x4f1f3c=_0x48a3f6[_0x365091(0x289)](_0x322f70)['width'],_0x295704=Math['min'](_0x4f1f3c+0x2*_0x183273,_0x58f1cb);_0x4a942d(_0x48a3f6,{'height':_0x1f27a2,'radius':0x4,'width':_0x295704,'fill':_0x1d2528}),_0x48a3f6[_0x365091(0x329)]=_0x365091(0x449);const _0x14e270=_0x183273,_0x564eec=_0x1f27a2-_0x27e356,_0x28d96f=_0x58f1cb-0x2*_0x183273;if(_0x4f1f3c>_0x28d96f){let _0x16502a='',_0x16f848=0x0;for(const _0x3ff2ce of _0x322f70){const _0x34b7b4=_0x48a3f6['measureText'](_0x3ff2ce)[_0x365091(0x493)];if(_0x16f848+_0x34b7b4<=_0x28d96f-_0x48a3f6[_0x365091(0x289)](_0x365091(0x3db))[_0x365091(0x493)])_0x16502a+=_0x3ff2ce,_0x16f848+=_0x34b7b4;else{_0x16502a+='...';break;}}_0x48a3f6[_0x365091(0x2e6)](_0x16502a,_0x14e270,_0x564eec);}else _0x48a3f6['fillText'](_0x322f70,_0x14e270,_0x564eec);_0x48a3f6['restore']();}[_0x492c29(0x45f)](_0x33a2d1){const _0x27043b=_0x492c29;_0x56ed81[_0x27043b(0x460)](_0x33a2d1,this);}}const _0x330d66=_0x492c29(0x450),_0x45d381='collab-text-range-',_0x3fb9de=_0x492c29(0x2b2),_0x35a515=0x6,_0x2f5ca5=1.5,_0x597267=0x4,_0x5d6d65=1.5,_0x49b853='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e8b31{constructor(_0x2d233b,_0x71f1a5,_0x19789f,_0x2214d6){const _0x325986=_0x492c29;_0x56d583(this,_0x325986(0x344),[]),_0x56d583(this,_0x325986(0x23f),null),_0x56d583(this,_0x325986(0x235),null),_0x56d583(this,_0x325986(0x1ba),null),_0x56d583(this,'_hideTimer',null),_0x56d583(this,'_eventUnsubscribe',null),(this[_0x325986(0x37f)]=_0x2d233b,this[_0x325986(0x2e8)]=_0x71f1a5,this[_0x325986(0x3a4)]=_0x19789f,this[_0x325986(0x451)]=_0x2214d6,this['_render']());}set[_0x492c29(0x316)](_0x5bbf0e){const _0x4bb676=_0x492c29;_0x5bbf0e?(this['_anchorDot']&&this[_0x4bb676(0x1ba)]['hide'](),this[_0x4bb676(0x235)]&&this['_textBubble'][_0x4bb676(0x227)]()):(this['_anchorDot']&&this[_0x4bb676(0x1ba)][_0x4bb676(0x227)](),this['_textBubble']&&this[_0x4bb676(0x235)][_0x4bb676(0x360)]());}[_0x492c29(0x372)](){const _0x2ab416=_0x492c29;for(const _0x3e821d of this['_shapes'])_0x3e821d[_0x2ab416(0x372)]();this[_0x2ab416(0x235)]&&this[_0x2ab416(0x235)][_0x2ab416(0x372)](),this['_anchorDot']&&this[_0x2ab416(0x1ba)][_0x2ab416(0x372)](),this[_0x2ab416(0x23f)]&&this[_0x2ab416(0x23f)][_0x2ab416(0x372)](),this[_0x2ab416(0x49c)]&&this[_0x2ab416(0x49c)]();}[_0x492c29(0x1c2)](){const _0x5b75ee=_0x492c29;var _0x1a751d;const {_docSkeleton:_0x2be645,_document:_0x5d8bcd}=this,{color:_0x2b4dc1,name:_0x145366,ranges:_0x3ac921}=this[_0x5b75ee(0x37f)],_0x34ea79=_0x5d8bcd[_0x5b75ee(0x3c7)](),{docsLeft:_0x90acb7,docsTop:_0x505bcd}=_0x34ea79,_0x5b34d8=new _0x106c52['NodePositionConvertToCursor'](_0x34ea79,_0x2be645);for(const {startOffset:_0x1f8062,endOffset:_0x220189,rangeType:_0x119aed,segmentId:_0x107a17,segmentPage:_0x2fb5a2,collapsed:_0xcfaef5,isActive:_0x139508}of _0x3ac921){const _0x4695c3=_0x2be645[_0x5b75ee(0x42a)](_0x1f8062,!0x0,_0x107a17,_0x2fb5a2);let _0x2585d9=_0x2be645['findNodePositionByCharIndex'](_0x220189,!0x0,_0x107a17,_0x2fb5a2);if(_0x2585d9==null&&(_0x2585d9=_0x2be645[_0x5b75ee(0x42a)](_0x220189-0x1,!0x1,_0x107a17,_0x2fb5a2)),_0x139508){const {contentBoxPointGroup:_0x3a95ee}=_0x5b34d8[_0x5b75ee(0x204)](_0x2585d9,_0x2585d9);if(_0x3a95ee['length']===0x0)continue;this[_0x5b75ee(0x459)](_0x2b4dc1,_0x3a95ee,_0x90acb7,_0x505bcd,_0x145366),this['_eventUnsubscribe']=this[_0x5b75ee(0x498)]();}if(_0x4695c3&&_0x2585d9){if(_0x119aed===_0x333729[_0x5b75ee(0x29b)][_0x5b75ee(0x220)]){const _0xd1b151=new _0x106c52['NodePositionConvertToRectRange'](_0x34ea79,_0x2be645),{pointGroup:_0x1c9663}=(_0x1a751d=_0xd1b151[_0x5b75ee(0x204)](_0x4695c3,_0x2585d9))!=null?_0x1a751d:{};if(_0x1c9663==null||_0x1c9663['length']===0x0)continue;this['_drawRectRange'](_0x2b4dc1,_0x1c9663,_0x90acb7,_0x505bcd);}else{if(!_0xcfaef5){const {borderBoxPointGroup:_0x19812f}=_0x5b34d8['getRangePointData'](_0x4695c3,_0x2585d9);if(_0x19812f[_0x5b75ee(0x2c5)]===0x0)continue;this[_0x5b75ee(0x39d)](_0x2b4dc1,_0x19812f,_0x90acb7,_0x505bcd);}}}}}[_0x492c29(0x459)](_0x119b3b,_0x549745,_0x4a6559,_0x48ab28,_0x267ed8){const _0x3c7195=_0x492c29,_0x33be32=this[_0x3c7195(0x436)](_0x549745),{left:_0x9d2678,top:_0xb518e,height:_0x1a7e06}=_0x33be32,_0x56c039=this['_getScale'](),_0x242973=_0x5d6d65/_0x56c039,_0x578f3d=new _0x220e15[(_0x3c7195(0x1f5))](_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28,'height':_0x1a7e06,'width':_0x2f5ca5,'fill':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'strokeWidth':_0x242973,'stroke':_0x49b853,'evented':!0x0});this[_0x3c7195(0x23f)]=_0x578f3d,this['_scene']['addObject'](_0x578f3d,_0x106c52[_0x3c7195(0x2fc)]);const _0x21740a=new _0x220e15[(_0x3c7195(0x1f5))](_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28-_0x597267/0x2,'height':_0x597267,'width':_0x597267,'fill':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'strokeWidth':0x0,'stroke':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'evented':!0x1});this[_0x3c7195(0x1ba)]=_0x21740a,this['_scene'][_0x3c7195(0x415)](_0x21740a,_0x106c52[_0x3c7195(0x2fc)]);const _0x23e0a6=new _0x56ed81(_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28-_0x1f27a2,'text':_0x267ed8,'color':_0x119b3b});this[_0x3c7195(0x235)]=_0x23e0a6,this[_0x3c7195(0x2e8)][_0x3c7195(0x415)](_0x23e0a6,_0x106c52[_0x3c7195(0x2fc)]),this[_0x3c7195(0x316)]=!0x1;}[_0x492c29(0x498)](){const _0x237dc7=_0x492c29,_0x435108=this[_0x237dc7(0x23f)]['onPointerEnter$'][_0x237dc7(0x2c2)](()=>{const _0x476626=_0x237dc7;this[_0x476626(0x316)]=!0x0;}),_0x19663a=this[_0x237dc7(0x23f)][_0x237dc7(0x3fb)][_0x237dc7(0x2c2)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xa90924=_0x237dc7;_0x435108['unsubscribe'](),_0x19663a[_0xa90924(0x381)]();};}[_0x492c29(0x39d)](_0x576b8c,_0x1d8703,_0xadcea5,_0x164a2f){const _0xce90c9=_0x492c29,_0x108115=new _0x333729[(_0xce90c9(0x41b))](_0x576b8c)[_0xce90c9(0x40e)](0.2)[_0xce90c9(0x392)](),_0x1a1169=new _0x220e15[(_0xce90c9(0x249))](_0x45d381+_0x333729[_0xce90c9(0x3e5)](_0x35a515),{'pointsGroup':_0x1d8703,'fill':_0x108115||_0x220e15[_0xce90c9(0x46e)](_0x333729[_0xce90c9(0x2d8)][_0xce90c9(0x255)],0.2),'left':_0xadcea5,'top':_0x164a2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xce90c9(0x344)][_0xce90c9(0x28e)](_0x1a1169),this[_0xce90c9(0x2e8)][_0xce90c9(0x415)](_0x1a1169,_0x106c52['TEXT_RANGE_LAYER_INDEX']);}[_0x492c29(0x420)](_0xa8916d,_0x33be53,_0xb1ff55,_0x206e8e){const _0x1fb433=_0x492c29,_0x4c88e6=new _0x333729[(_0x1fb433(0x41b))](_0xa8916d)[_0x1fb433(0x40e)](0.2)['toRgbString'](),_0x25a87f=new _0x220e15[(_0x1fb433(0x249))](_0x3fb9de+_0x333729['generateRandomId'](_0x35a515),{'pointsGroup':_0x33be53,'fill':_0x4c88e6||_0x220e15['getColor'](_0x333729[_0x1fb433(0x2d8)][_0x1fb433(0x255)],0.2),'left':_0xb1ff55,'top':_0x206e8e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fb433(0x344)][_0x1fb433(0x28e)](_0x25a87f),this[_0x1fb433(0x2e8)]['addObject'](_0x25a87f,_0x106c52[_0x1fb433(0x2fc)]);}[_0x492c29(0x436)](_0x1e4ff3){const _0x3efcb5=_0x1e4ff3[0x0],_0x5dcd6a=_0x3efcb5[0x0],_0x4dc420=_0x3efcb5[0x2],{x:_0x22497b,y:_0x2a1d5f}=_0x5dcd6a,{x:_0x5abeb7,y:_0x38519f}=_0x4dc420;return{'left':_0x22497b,'top':_0x2a1d5f,'width':_0x5abeb7-_0x22497b,'height':_0x38519f-_0x2a1d5f};}[_0x492c29(0x27c)](){const _0x50e703=_0x492c29,{scaleX:_0x46ac03,scaleY:_0x39caf9}=this[_0x50e703(0x2e8)][_0x50e703(0x1fb)]();return Math[_0x50e703(0x31f)](_0x46ac03,_0x39caf9);}}var _0x485020=Object[_0x492c29(0x47c)],_0x2daec4=(_0x285733,_0x6135a,_0x37df91,_0x4fc57b)=>{const _0x47fa61=_0x492c29;for(var _0x12620e=_0x4fc57b>0x1?void 0x0:_0x4fc57b?_0x485020(_0x6135a,_0x37df91):_0x6135a,_0x4cf1fa=_0x285733[_0x47fa61(0x2c5)]-0x1,_0x35eb10;_0x4cf1fa>=0x0;_0x4cf1fa--)(_0x35eb10=_0x285733[_0x4cf1fa])&&(_0x12620e=_0x35eb10(_0x12620e)||_0x12620e);return _0x12620e;},_0x325629=(_0x5d753d,_0x39a15e)=>(_0x375760,_0x43a8a1)=>_0x39a15e(_0x375760,_0x43a8a1,_0x5d753d);let _0x1b3f30=class extends _0x333729['RxDisposable']{constructor(_0x2b0be1,_0x3788cd,_0x2229a7,_0x1b4e79,_0x3798a9){const _0x4079e0=_0x492c29;super(),_0x56d583(this,_0x4079e0(0x29d),[]),_0x56d583(this,'_cursors',[]),(this[_0x4079e0(0x2a7)]=_0x2b0be1,this[_0x4079e0(0x303)]=_0x3788cd,this['_collabCursorController']=_0x2229a7,this['_commandService']=_0x1b4e79,this[_0x4079e0(0x31a)]=_0x3798a9,this[_0x4079e0(0x45c)]());}[_0x492c29(0x45c)](){const _0x5eed57=_0x492c29,_0x4bd997=this[_0x5eed57(0x2a7)][_0x5eed57(0x1e1)],_0x238c5b=this['_docSkeletonManagerService'];this[_0x5eed57(0x212)](_0x27440d[_0x5eed57(0x4a3)]([this[_0x5eed57(0x322)][_0x5eed57(0x3d7)](_0x4bd997),this[_0x5eed57(0x31a)][_0x5eed57(0x206)]])[_0x5eed57(0x338)](_0x272e6a[_0x5eed57(0x3a1)](([_0x4a1477,_0x3e62bc])=>({'skeleton':_0x238c5b[_0x5eed57(0x1de)](),'cursors':[..._0x4a1477[_0x5eed57(0x260)]()][_0x5eed57(0x40c)](_0x318f51=>({..._0x318f51,'color':this['_themeService'][_0x5eed57(0x49f)](_0x318f51[_0x5eed57(0x3ef)])}))})))[_0x5eed57(0x2f2)](_0x363e2f=>{const _0x1d1a26=_0x5eed57;if(this[_0x1d1a26(0x327)](),_0x363e2f){const {skeleton:_0xfa6ead,cursors:_0xd6fe1b}=_0x363e2f;this[_0x1d1a26(0x429)](_0xfa6ead,_0xd6fe1b);}})),this[_0x5eed57(0x3d9)](),this[_0x5eed57(0x325)]();}[_0x492c29(0x429)](_0x22f9a6,_0x390630){const _0x2f1222=_0x492c29,{scene:_0x58ed98,mainComponent:_0x29025c}=this[_0x2f1222(0x2a7)],_0x4c36dc=_0x390630[_0x2f1222(0x3a1)](_0x5536a4=>new _0x1e8b31(_0x5536a4,_0x58ed98,_0x22f9a6,_0x29025c));this['_cursorShapes']=_0x4c36dc,this[_0x2f1222(0x26c)]=_0x390630;}[_0x492c29(0x21d)](){const _0x145d6c=_0x492c29;this[_0x145d6c(0x327)]();const {scene:_0x15b284,mainComponent:_0x2303e7}=this[_0x145d6c(0x2a7)],_0x45b835=this[_0x145d6c(0x303)][_0x145d6c(0x1de)](),_0x35fa3d=this[_0x145d6c(0x26c)][_0x145d6c(0x3a1)](_0xb12a02=>new _0x1e8b31(_0xb12a02,_0x15b284,_0x45b835,_0x2303e7));this['_cursorShapes']=_0x35fa3d;}['_removeCollabCursors'](){const _0x3a1772=_0x492c29;this[_0x3a1772(0x29d)][_0x3a1772(0x296)](_0x2f147c=>_0x2f147c[_0x3a1772(0x372)]()),this[_0x3a1772(0x29d)]=[];}['_initCommandExecutedListener'](){const _0x1b42c7=_0x492c29,_0x107a7f=[_0x106c52['SetDocZoomRatioOperation']['id']];this[_0x1b42c7(0x212)](this[_0x1b42c7(0x3ac)][_0x1b42c7(0x3d3)](_0x4c3d81=>{const _0x189454=_0x1b42c7;_0x107a7f[_0x189454(0x31d)](_0x4c3d81['id'])&&_0x4c3d81['params'][_0x189454(0x1e1)]===this['_context'][_0x189454(0x1e1)]&&this[_0x189454(0x21d)]();}));}[_0x492c29(0x3d9)](){const _0x12d333=_0x492c29;this[_0x12d333(0x212)](_0x333729[_0x12d333(0x2fb)](this['_context'][_0x12d333(0x403)]['onTransformChange$'])['pipe'](_0x272e6a[_0x12d333(0x3ab)](_0xfb93c3=>_0xfb93c3[_0x12d333(0x2a2)]===_0x220e15[_0x12d333(0x44e)][_0x12d333(0x440)]),_0x272e6a[_0x12d333(0x32d)](0x10))[_0x12d333(0x2f2)](()=>{const _0x336ddd=_0x12d333;this[_0x336ddd(0x21d)]();}));}};_0x1b3f30=_0x2daec4([_0x325629(0x1,_0x333729[_0x492c29(0x1d3)](_0x73cf4e[_0x492c29(0x4ad)])),_0x325629(0x2,_0x333729[_0x492c29(0x1d3)](_0x5df748)),_0x325629(0x3,_0x333729[_0x492c29(0x3f4)]),_0x325629(0x4,_0x333729['Inject'](_0x333729[_0x492c29(0x1dc)]))],_0x1b3f30);const _0x4aa95f=0x1,_0x3d7e43=1.5;class _0x3138b9 extends _0x220e15[_0x492c29(0x2ab)]{constructor(_0x3a0748,_0x22550b){const _0x3aa56f=_0x492c29;super(_0x3a0748,_0x22550b),_0x56d583(this,_0x3aa56f(0x237)),_0x56d583(this,_0x3aa56f(0x1bd),!0x1),_0x56d583(this,_0x3aa56f(0x307)),_0x56d583(this,_0x3aa56f(0x37a),''),_0x56d583(this,'_labelPosition',_0x3aa56f(0x48b)),_0x56d583(this,'_backgroundColor'),(_0x22550b&&this[_0x3aa56f(0x295)](_0x22550b),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3aa56f(0x295)]({'hovered':!0x0})),this[_0x3aa56f(0x3fb)][_0x3aa56f(0x2c2)](()=>this[_0x3aa56f(0x295)]({'hovered':!0x1})));}[_0x492c29(0x295)](_0x36e007){const _0x5d156f=_0x492c29;var _0xc115f3,_0x46e479,_0x15595d,_0xd81407,_0x45a6f1,_0x2003ea;this[_0x5d156f(0x237)]=(_0xc115f3=_0x36e007[_0x5d156f(0x3ef)])!=null?_0xc115f3:this['_color'],this[_0x5d156f(0x1bd)]=(_0x46e479=_0x36e007[_0x5d156f(0x254)])!=null?_0x46e479:this[_0x5d156f(0x1bd)],this['_range']=(_0x15595d=_0x36e007[_0x5d156f(0x1df)])!=null?_0x15595d:this[_0x5d156f(0x307)],this[_0x5d156f(0x37a)]=(_0xd81407=_0x36e007['name'])!=null?_0xd81407:this[_0x5d156f(0x37a)],this[_0x5d156f(0x28c)]=(_0x45a6f1=_0x36e007[_0x5d156f(0x252)])!=null?_0x45a6f1:this['_labelPosition'],this[_0x5d156f(0x31e)]=(_0x2003ea=_0x36e007['backgroundColor'])!=null?_0x2003ea:this[_0x5d156f(0x31e)],this['transformByState']({'width':_0x36e007['width'],'height':_0x36e007[_0x5d156f(0x41c)]});}[_0x492c29(0x400)](_0x175c35){const _0x4470a4=_0x492c29,{row:_0x31666f,column:_0x16fd0a}=_0x175c35;if(_0x31666f>=this['_range']['startRow']&&_0x31666f<=this[_0x4470a4(0x307)][_0x4470a4(0x309)]&&_0x16fd0a>=this['_range'][_0x4470a4(0x36f)]&&_0x16fd0a<=this[_0x4470a4(0x307)][_0x4470a4(0x352)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4470a4(0x295)]({'hovered':!0x1});}[_0x492c29(0x30c)](_0x1f8443){return!0x1;}[_0x492c29(0x45f)](_0x1a648d){const _0x5d3829=_0x492c29;_0x220e15[_0x5d3829(0x1f5)]['drawWith'](_0x1a648d,{'width':this[_0x5d3829(0x493)],'height':this[_0x5d3829(0x41c)],'strokeWidth':_0x3d7e43,'stroke':this[_0x5d3829(0x237)],'evented':!0x1,'fill':this[_0x5d3829(0x31e)]}),this[_0x5d3829(0x1bd)]&&(_0x1a648d[_0x5d3829(0x2ed)](),_0x1a648d[_0x5d3829(0x22c)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x5d3829(0x23c)?0x0:-_0x1f27a2),_0x56ed81['drawWith'](_0x1a648d,{'text':this[_0x5d3829(0x37a)],'color':this[_0x5d3829(0x237)]}),_0x1a648d[_0x5d3829(0x3d6)]());}}var _0x13b01f=Object['getOwnPropertyDescriptor'],_0xdde68=(_0x3b13bf,_0x15e3e6,_0x2841d6,_0x215f73)=>{const _0x58f642=_0x492c29;for(var _0x285ac4=_0x215f73>0x1?void 0x0:_0x215f73?_0x13b01f(_0x15e3e6,_0x2841d6):_0x15e3e6,_0x37eb12=_0x3b13bf[_0x58f642(0x2c5)]-0x1,_0x979a1d;_0x37eb12>=0x0;_0x37eb12--)(_0x979a1d=_0x3b13bf[_0x37eb12])&&(_0x285ac4=_0x979a1d(_0x285ac4)||_0x285ac4);return _0x285ac4;},_0x6b219c=(_0x2ab90d,_0x5a35b6)=>(_0x4cfd83,_0x30b4ea)=>_0x5a35b6(_0x4cfd83,_0x30b4ea,_0x2ab90d);const _0x10c21f=0x1389;let _0x2c4f7a=class extends _0x333729['RxDisposable']{constructor(_0x1bbd94,_0x17418b,_0x23dec1,_0x3a0585){const _0x42fbed=_0x492c29;super(),_0x56d583(this,'_cursors',new Set()),_0x56d583(this,_0x42fbed(0x317),null),(this[_0x42fbed(0x2a7)]=_0x1bbd94,this[_0x42fbed(0x4a8)]=_0x17418b,this[_0x42fbed(0x322)]=_0x23dec1,this[_0x42fbed(0x31a)]=_0x3a0585,this['_init']());}[_0x492c29(0x45c)](){const _0x12e53a=_0x492c29;this['_sheetSkeletonManagerService'][_0x12e53a(0x2ec)]['pipe'](_0x272e6a[_0x12e53a(0x45a)](this['dispose$']),_0x272e6a[_0x12e53a(0x2b0)](_0x52a407=>{const _0x4c389a=_0x12e53a;if(_0x52a407){const _0x20861b=_0x52a407[_0x4c389a(0x342)];return _0x27440d[_0x4c389a(0x4a3)](this['_collabCursorController'][_0x4c389a(0x3d7)](this[_0x4c389a(0x2a7)][_0x4c389a(0x1e1)]),this[_0x4c389a(0x31a)]['currentTheme$'])[_0x4c389a(0x338)](_0x272e6a[_0x4c389a(0x3a1)](([_0x1b8c71,_0x142f91])=>{const _0x23c03c=_0x4c389a,_0x403468=new Map();return _0x1b8c71[_0x23c03c(0x296)]((_0x4ee41b,_0x1a40ac)=>{const _0x448cdf=_0x23c03c;if(_0x4ee41b['sheetID']===_0x20861b){const _0x953c0={..._0x4ee41b};_0x953c0['color']=this[_0x448cdf(0x31a)][_0x448cdf(0x49f)](_0x4ee41b[_0x448cdf(0x3ef)]),_0x403468[_0x448cdf(0x287)](_0x1a40ac,_0x953c0);}}),{'skeleton':_0x52a407,'cursors':_0x403468};}));}return _0x27440d['of']({'skeleton':null,'cursors':new Map()});}))[_0x12e53a(0x2f2)](({skeleton:_0x51f43f,cursors:_0x3fdc43})=>{const _0x52cf33=_0x12e53a;this[_0x52cf33(0x327)](),_0x51f43f&&this[_0x52cf33(0x429)](_0x51f43f,_0x3fdc43);}),this[_0x12e53a(0x4a8)][_0x12e53a(0x2ec)]['subscribe'](_0xd8ff05=>{const _0xba759b=_0x12e53a;if(_0xd8ff05==null)return;const {skeleton:_0xdd0586}=_0xd8ff05,{scene:_0xeac165}=this[_0xba759b(0x2a7)];_0xeac165[_0xba759b(0x4a7)][_0xba759b(0x2c2)](_0x333729[_0xba759b(0x3af)](_0x4fedc2=>{const _0x3ebf50=_0xba759b;var _0x34aad8,_0x5c0a2c;const {offsetX:_0x13a166,offsetY:_0x1239e3}=_0x4fedc2,{x:_0x29ab97,y:_0x1a0598}=_0xeac165['getRelativeToViewportCoord'](_0x220e15[_0x3ebf50(0x33e)][_0x3ebf50(0x28a)]([_0x13a166,_0x1239e3])),{scaleX:_0x52f4aa,scaleY:_0xb44d34}=_0xeac165['getAncestorScale'](),_0x2dfe51=_0xeac165['getViewport'](_0x220e15['SHEET_VIEWPORT_KEY'][_0x3ebf50(0x1f9)]),_0x2c43bc=_0xeac165[_0x3ebf50(0x3b8)](_0x220e15['Vector2'][_0x3ebf50(0x28a)]([_0x29ab97,_0x1a0598]),_0x2dfe51),_0x266c6d=_0xdd0586[_0x3ebf50(0x443)](_0x13a166,_0x1239e3,_0x52f4aa,_0xb44d34,_0x2c43bc);((_0x34aad8=this[_0x3ebf50(0x317)])==null?void 0x0:_0x34aad8[_0x3ebf50(0x1c4)])===_0x266c6d[_0x3ebf50(0x1c4)]&&((_0x5c0a2c=this['_lastPointer'])==null?void 0x0:_0x5c0a2c['row'])===_0x266c6d['row']||this[_0x3ebf50(0x26c)]['forEach'](_0x5a8658=>{_0x5a8658['onMouseMove'](_0x266c6d);});},0x64));});}[_0x492c29(0x429)](_0x17f1dc,_0x307e80){const _0x1d8369=_0x492c29;var _0x419068;const _0x68415c=(_0x419068=this[_0x1d8369(0x4a8)]['getCurrent']())==null?void 0x0:_0x419068[_0x1d8369(0x41d)];if(!_0x68415c)return;const _0x266b00=this[_0x1d8369(0x3be)]();if(!_0x266b00)return;this[_0x1d8369(0x26c)][_0x1d8369(0x296)](_0x19f12a=>{const _0x4d5090=_0x1d8369;_0x19f12a[_0x4d5090(0x1d6)]();});const {scene:_0x1798fc}=_0x266b00,_0x5e0feb=_0x13a885(Array[_0x1d8369(0x27a)](_0x307e80[_0x1d8369(0x260)]()))[_0x1d8369(0x3a1)](_0x418823=>{const _0x31086f=_0x1d8369,{color:_0x5661b8,range:_0x158421,name:_0xea2709,selection:_0x2bd98a,sheetID:_0x1948c0}=_0x418823,{startColumn:_0x59425f,startRow:_0x109b82,endColumn:_0x23d7b1,endRow:_0x3869f5}=_0x158421,_0x3031b1=_0x46629d[_0x31086f(0x1d5)](_0x109b82,_0x59425f,_0x1798fc,_0x68415c),_0x2ef1d5=_0x46629d[_0x31086f(0x1d5)](_0x3869f5,_0x23d7b1,_0x1798fc,_0x68415c),{columnHeaderHeightAndMarginTop:_0x35e619}=_0x68415c,{startX:_0x4cf4cc,startY:_0x219843}=_0x3031b1,{endX:_0x44f045,endY:_0x14bcdf}=_0x2ef1d5,_0x38cbc7=_0x44f045-_0x4cf4cc,_0xcc5dcf=_0x14bcdf-_0x219843,_0x43bcc4={'labelPosition':_0x219843-_0x35e619>=_0x1f27a2?'top':_0x31086f(0x23c),'sheetID':_0x1948c0,'range':_0x158421,'color':_0x5661b8,'name':_0xea2709,'selection':_0x2bd98a,'left':_0x4cf4cc,'top':_0x219843,'width':_0x38cbc7,'height':_0xcc5dcf,'evented':!0x1,'zIndex':_0x10c21f};return new _0x3138b9(_0xea2709,_0x43bcc4);});_0x1798fc[_0x1d8369(0x35e)](_0x5e0feb,_0x4aa95f),this[_0x1d8369(0x26c)]=new Set(_0x5e0feb);}[_0x492c29(0x327)](){const _0xc18a53=_0x492c29;var _0x91b875;(_0x91b875=this[_0xc18a53(0x26c)])==null||_0x91b875['forEach'](_0x150d8d=>_0x150d8d[_0xc18a53(0x372)]());}[_0x492c29(0x3be)](){const _0x3771d4=_0x492c29;return _0x46629d[_0x3771d4(0x312)](this[_0x3771d4(0x2a7)][_0x3771d4(0x1c9)],this[_0x3771d4(0x2a7)]);}};_0x2c4f7a=_0xdde68([_0x6b219c(0x1,_0x333729[_0x492c29(0x1d3)](_0x46629d[_0x492c29(0x478)])),_0x6b219c(0x2,_0x333729[_0x492c29(0x1d3)](_0x5df748)),_0x6b219c(0x3,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x1dc)]))],_0x2c4f7a);function _0x13a885(_0x245ddf){const _0x2ebb1e=_0x492c29,_0xaf17f9=new Map();return _0x245ddf[_0x2ebb1e(0x296)](_0x313886=>{const _0x4e48f8=_0x2ebb1e;if(_0xaf17f9['has'](_0x313886[_0x4e48f8(0x2d6)])){const _0x78b761=_0xaf17f9['get'](_0x313886['selection']);_0x78b761[_0x4e48f8(0x471)]+=',\x20'+_0x313886['name'];}else _0xaf17f9[_0x4e48f8(0x287)](_0x313886[_0x4e48f8(0x2d6)],_0x313886);}),Array['from'](_0xaf17f9['values']());}var _0x46354d=Object[_0x492c29(0x47c)],_0x362880=(_0x177a50,_0x1b9a7e,_0xd1805b,_0x2eed56)=>{for(var _0xe8b812=_0x2eed56>0x1?void 0x0:_0x2eed56?_0x46354d(_0x1b9a7e,_0xd1805b):_0x1b9a7e,_0x5b999e=_0x177a50['length']-0x1,_0x25307a;_0x5b999e>=0x0;_0x5b999e--)(_0x25307a=_0x177a50[_0x5b999e])&&(_0xe8b812=_0x25307a(_0xe8b812)||_0xe8b812);return _0xe8b812;},_0xc0f695=(_0x4b7aa7,_0x21eddb)=>(_0x19e4ac,_0x4fc87c)=>_0x21eddb(_0x19e4ac,_0x4fc87c,_0x4b7aa7);let _0x4fa748=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x1343b9,_0x434646,_0x4fab26,_0xfbd90a,_0x2d2b9b,_0x59940d){const _0x35afc5=_0x492c29;super(),this[_0x35afc5(0x472)]=_0x1343b9,this[_0x35afc5(0x2c0)]=_0x434646,this['_collaborationUIEventService']=_0x4fab26,this[_0x35afc5(0x2af)]=_0xfbd90a,this[_0x35afc5(0x3d4)]=_0x2d2b9b,this[_0x35afc5(0x21c)]=_0x59940d,this[_0x35afc5(0x1d2)](),this[_0x35afc5(0x3b9)]();}[_0x492c29(0x1d2)](){const _0x45f511=_0x492c29;this[_0x45f511(0x212)](this[_0x45f511(0x472)][_0x45f511(0x1ee)](()=>{const _0x2fadac=_0x45f511;if(this[_0x2fadac(0x2c0)][_0x2fadac(0x278)][_0x2fadac(0x210)])return this[_0x2fadac(0x21c)]['t'](_0x2fadac(0x2b6));}));}[_0x492c29(0x3b9)](){const _0x3f5824=_0x492c29;this[_0x3f5824(0x212)](this[_0x3f5824(0x39e)]['event$'][_0x3f5824(0x2f2)](_0x10ba2f=>{const _0xd767fd=_0x3f5824;_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)]['OTHER_CLIENT_EDITING']&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType'][_0xd767fd(0x21b)],'content':this['_localeService']['t'](_0xd767fd(0x1ff))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x417)]&&this[_0xd767fd(0x2af)]['show']({'type':_0x5363fc['MessageType'][_0xd767fd(0x21b)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x348)]&&this['_notificationService']['show']({'title':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x241)),'content':this['_localeService']['t'](_0xd767fd(0x25c)),'type':_0xd767fd(0x3e7),'duration':0x0}),_0x10ba2f['id']===_0x308558['CollaborationUIEventId']['CONFLICT']&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType']['Error'],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x3c1))+'('+_0x10ba2f[_0xd767fd(0x3d2)]+')'}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x300)]&&this['_messageService']['show']({'type':_0x5363fc[_0xd767fd(0x3e2)]['Warning'],'content':this[_0xd767fd(0x21c)]['t'](_0x10ba2f[_0xd767fd(0x3d2)]||'')}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0xd767fd(0x227)]({'type':_0x5363fc[_0xd767fd(0x3e2)][_0xd767fd(0x21b)],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x482))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x39c)]&&this['_messageService'][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType'][_0xd767fd(0x2d1)],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x21f))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x29e)]&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType']['Error'],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x267))});}));}};_0x4fa748=_0x362880([_0xc0f695(0x0,_0x270f30[_0x492c29(0x1eb)]),_0xc0f695(0x1,_0x308558[_0x492c29(0x41f)]),_0xc0f695(0x2,_0x333729['Inject'](_0x308558[_0x492c29(0x2a5)])),_0xc0f695(0x3,_0x270f30[_0x492c29(0x24a)]),_0xc0f695(0x4,_0x270f30['INotificationService']),_0xc0f695(0x5,_0x333729['Inject'](_0x333729[_0x492c29(0x34e)]))],_0x4fa748);var _0x4e04bb=Object['getOwnPropertyDescriptor'],_0x2fd1cb=(_0x1ca3ec,_0x65dbd6,_0x188b5d,_0x3f19e2)=>{const _0xe669e7=_0x492c29;for(var _0x18450a=_0x3f19e2>0x1?void 0x0:_0x3f19e2?_0x4e04bb(_0x65dbd6,_0x188b5d):_0x65dbd6,_0x495a89=_0x1ca3ec[_0xe669e7(0x2c5)]-0x1,_0x483ad3;_0x495a89>=0x0;_0x495a89--)(_0x483ad3=_0x1ca3ec[_0x495a89])&&(_0x18450a=_0x483ad3(_0x18450a)||_0x18450a);return _0x18450a;},_0x37e35a=(_0x295b07,_0x4da697)=>(_0x525d77,_0x4b261a)=>_0x4da697(_0x525d77,_0x4b261a,_0x295b07);let _0x40f773=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xa89cee,_0x406b46,_0x30629a,_0x27c14f){const _0x5bfd40=_0x492c29;super(),_0x56d583(this,'_memberID'),(this[_0x5bfd40(0x359)]=_0xa89cee,this[_0x5bfd40(0x368)]=_0x406b46,this[_0x5bfd40(0x3ad)]=_0x30629a,this['_collaborationSessionService']=_0x27c14f,this[_0x5bfd40(0x45c)]());}['_init'](){const _0x4ad5a1=_0x492c29;this[_0x4ad5a1(0x26f)](),this[_0x4ad5a1(0x331)](),this[_0x4ad5a1(0x3f7)](),this[_0x4ad5a1(0x34b)]();}[_0x492c29(0x34b)](){const _0x5a470a=_0x492c29;this[_0x5a470a(0x212)](this[_0x5a470a(0x46d)][_0x5a470a(0x2b1)][_0x5a470a(0x2f2)](_0x1b6dd2=>{const _0x18e67c=_0x5a470a;this[_0x18e67c(0x32c)]=_0x1b6dd2==null?void 0x0:_0x1b6dd2[_0x18e67c(0x218)];}));}[_0x492c29(0x26f)](){const _0x26ffdb=_0x492c29,_0x17e0d3=_0x4ad32f=>{const _0x10689d=_0x5251;var _0xdbd0e8;this[_0x10689d(0x273)](_0x10689d(0x3e7),_0x10689d(0x1d8)+_0x4ad32f['message']+_0x10689d(0x406)+_0x4ad32f[_0x10689d(0x35b)]+':'+_0x4ad32f[_0x10689d(0x2c3)]+':'+_0x4ad32f[_0x10689d(0x33a)]+'\x0a'+(((_0xdbd0e8=_0x4ad32f[_0x10689d(0x3e7)])==null?void 0x0:_0xdbd0e8[_0x10689d(0x430)])||''));};window[_0x26ffdb(0x2a9)]('error',_0x17e0d3),this[_0x26ffdb(0x212)](()=>{const _0x37b47d=_0x26ffdb;window[_0x37b47d(0x27f)]('error',_0x17e0d3);});}[_0x492c29(0x331)](){const _0x34e3a2=_0x492c29,_0x595191=_0x402d8c=>{const _0x29d0cf=_0x5251;this[_0x29d0cf(0x273)](_0x29d0cf(0x3e7),_0x29d0cf(0x1d4)+_0x402d8c[_0x29d0cf(0x279)]);};window[_0x34e3a2(0x2a9)](_0x34e3a2(0x263),_0x595191),this[_0x34e3a2(0x212)](()=>{const _0x5a66a6=_0x34e3a2;window[_0x5a66a6(0x27f)](_0x5a66a6(0x263),_0x595191);});}[_0x492c29(0x3f7)](){const _0x45f219=_0x492c29,_0x48644d=this[_0x45f219(0x3ad)][_0x45f219(0x3e7)][_0x45f219(0x1ef)](this[_0x45f219(0x3ad)]);this[_0x45f219(0x3ad)][_0x45f219(0x3e7)]=(..._0x5d9f02)=>{const _0x1e6142=_0x45f219,_0x459756=_0x5d9f02[_0x1e6142(0x3a1)](_0x502e7b=>_0x502e7b instanceof Error?_0x502e7b['message']+'\x0a'+_0x502e7b[_0x1e6142(0x430)]:String(_0x502e7b))[_0x1e6142(0x337)]('\x20');this['_uploadLog']('error','[LogService\x20Error]:\x20'+_0x459756),_0x48644d(..._0x5d9f02);},this[_0x45f219(0x212)](()=>{const _0xa8849c=_0x45f219;this[_0xa8849c(0x3ad)][_0xa8849c(0x3e7)]=_0x48644d;});}[_0x492c29(0x273)](_0x459e20,_0x3a3d1d){const _0x1aba60=_0x492c29;try{const _0x349540={'userId':this[_0x1aba60(0x32c)],'logLabel':_0x459e20,'content':_0x3a3d1d};this[_0x1aba60(0x368)][_0x1aba60(0x20f)]('/universer-api/frontend/logs',{'body':_0x349540})[_0x1aba60(0x21a)](()=>{});}catch{}}};_0x40f773=_0x2fd1cb([_0x37e35a(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x37e35a(0x1,_0x333729['Inject'](_0x45181c[_0x492c29(0x302)])),_0x37e35a(0x2,_0x333729['ILogService']),_0x37e35a(0x3,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x38b)]))],_0x40f773);const _0x90aaa9='collaboration-client-ui.config',_0x53a6a1={};var _0x2c74fd=Object[_0x492c29(0x47c)],_0x1918fc=(_0xecfe5b,_0x55458f,_0x5c4e3a,_0x166cda)=>{const _0x15d271=_0x492c29;for(var _0x1e4f77=_0x166cda>0x1?void 0x0:_0x166cda?_0x2c74fd(_0x55458f,_0x5c4e3a):_0x55458f,_0x27ddf4=_0xecfe5b[_0x15d271(0x2c5)]-0x1,_0x58a13e;_0x27ddf4>=0x0;_0x27ddf4--)(_0x58a13e=_0xecfe5b[_0x27ddf4])&&(_0x1e4f77=_0x58a13e(_0x1e4f77)||_0x1e4f77);return _0x1e4f77;},_0x52967b=(_0x17b2c6,_0x22c4c1)=>(_0x3171f7,_0x12a931)=>_0x22c4c1(_0x3171f7,_0x12a931,_0x17b2c6);let _0x25eed9=class{constructor(_0x24ab37,_0x49c259){const _0x4f3734=_0x492c29;this[_0x4f3734(0x37d)]=_0x24ab37,this[_0x4f3734(0x355)]=_0x49c259;}['transformIMECache'](_0xef2057){this['_transformUndoRedoStack'](_0xef2057),this['_transformPreviousActiveRange'](_0xef2057);}[_0x492c29(0x3b4)](_0x471194){const _0x5a7964=_0x492c29,{unitID:_0x581897}=_0x471194,_0x66b955=this['_renderManagerService'][_0x5a7964(0x489)](_0x581897)[_0x5a7964(0x43a)](_0x106c52['DocIMEInputManagerService']),{redoCache:_0x1777ef}=_0x66b955[_0x5a7964(0x2cc)]();if(_0x1777ef[_0x5a7964(0x2c5)]===0x0)return _0x471194;let _0x530136=_0x333729['Tools'][_0x5a7964(0x465)](_0x471194[_0x5a7964(0x422)][0x0]);for(let _0x27956f=0x0;_0x27956f<_0x1777ef['length'];_0x27956f++){const _0x2cc832={'id':_0x5a7964(0x44f),'params':{..._0x1777ef[_0x27956f]}},_0x4f6728=this[_0x5a7964(0x37d)][_0x5a7964(0x261)](_0x530136,_0x2cc832,!0x1);if(_0x49182d[_0x5a7964(0x2dc)](_0x4f6728))throw _0x4f6728['error'];_0x530136=_0x4f6728[_0x5a7964(0x1c6)];}return{..._0x333729['Tools'][_0x5a7964(0x465)](_0x471194),'mutations':[_0x530136]};}['_transformUndoRedoStack'](_0x3a4e6c){const _0x385f87=_0x492c29,{unitID:_0x531ced}=_0x3a4e6c,_0x2b0d39=this[_0x385f87(0x355)][_0x385f87(0x489)](_0x531ced)[_0x385f87(0x43a)](_0x106c52[_0x385f87(0x1f4)]),{undoCache:_0x148fa0,redoCache:_0x163aaa}=_0x2b0d39[_0x385f87(0x2cc)]();if(_0x148fa0[_0x385f87(0x2c5)]===0x0||_0x163aaa[_0x385f87(0x2c5)]===0x0)return;const _0x477a19=[],_0x588833=[];let _0x240d0c=_0x333729[_0x385f87(0x2a3)][_0x385f87(0x465)](_0x3a4e6c[_0x385f87(0x422)][0x0]),_0x35114c=_0x333729[_0x385f87(0x2a3)]['deepClone'](_0x3a4e6c['mutations'][0x0]);for(let _0x58359e=_0x148fa0[_0x385f87(0x2c5)]-0x1;_0x58359e>=0x0;_0x58359e--){const _0x46f235={'id':_0x385f87(0x44f),'params':{..._0x148fa0[_0x58359e]}},_0xebe4e9={'id':_0x385f87(0x44f),'params':{..._0x163aaa[_0x58359e]}},_0x387cc4=this['_transformService'][_0x385f87(0x261)](_0x240d0c,_0x46f235,!0x1),_0x37fa35=this[_0x385f87(0x37d)][_0x385f87(0x261)](_0x35114c,_0xebe4e9,!0x1);if(_0x49182d[_0x385f87(0x2dc)](_0x387cc4))throw _0x387cc4[_0x385f87(0x3e7)];if(_0x49182d['isTransformMutationFailure'](_0x37fa35))throw _0x37fa35[_0x385f87(0x3e7)];_0x477a19['unshift'](_0x387cc4[_0x385f87(0x1db)][_0x385f87(0x292)]),_0x588833[_0x385f87(0x2b3)](_0x37fa35[_0x385f87(0x1db)]['params']),_0x240d0c=_0x387cc4[_0x385f87(0x1c6)],_0x35114c=_0x37fa35[_0x385f87(0x1c6)];}_0x2b0d39[_0x385f87(0x1cf)]({'undoCache':_0x477a19,'redoCache':_0x588833});}[_0x492c29(0x2e1)](_0x19bda0){const _0x37919e=_0x492c29,{unitID:_0x3ffa14}=_0x19bda0,_0x8d6373=this['_renderManagerService'][_0x37919e(0x489)](_0x3ffa14)[_0x37919e(0x43a)](_0x106c52[_0x37919e(0x1f4)]),_0x25260b=_0x8d6373[_0x37919e(0x441)]();if(_0x25260b==null)return;const _0x145be0=[{'id':_0x37919e(0x44f),'params':{'unitId':_0x19bda0['unitID'],'actions':null,'textRanges':[_0x25260b]}}],_0x3c5df5=this[_0x37919e(0x37d)][_0x37919e(0x480)](_0x19bda0,_0x145be0);if(!_0x49182d[_0x37919e(0x40b)](_0x3c5df5))throw _0x3c5df5['error'];const _0x11ff9f=_0x3c5df5[_0x37919e(0x1db)][0x0]['params']['textRanges'];Array[_0x37919e(0x3b2)](_0x11ff9f)&&_0x11ff9f[_0x37919e(0x2c5)]&&_0x8d6373[_0x37919e(0x2fa)](_0x11ff9f[0x0]);}};_0x25eed9=_0x1918fc([_0x52967b(0x0,_0x49182d['ITransformService']),_0x52967b(0x1,_0x220e15['IRenderManagerService'])],_0x25eed9);var _0x2c9ea4=Object[_0x492c29(0x47c)],_0x5aaff4=(_0x42e684,_0x2e7bd5,_0x569c8a,_0x305f90)=>{for(var _0x25b1c1=_0x305f90>0x1?void 0x0:_0x305f90?_0x2c9ea4(_0x2e7bd5,_0x569c8a):_0x2e7bd5,_0x215f39=_0x42e684['length']-0x1,_0x687063;_0x215f39>=0x0;_0x215f39--)(_0x687063=_0x42e684[_0x215f39])&&(_0x25b1c1=_0x687063(_0x25b1c1)||_0x25b1c1);return _0x25b1c1;},_0x732ab=(_0x2ae60a,_0x585b4a)=>(_0x43bd43,_0x134ae8)=>_0x585b4a(_0x43bd43,_0x134ae8,_0x2ae60a);let _0x2faccb=class{constructor(_0x28b55b,_0x1f265a,_0x476a41){const _0xbf4f4=_0x492c29;this[_0xbf4f4(0x359)]=_0x28b55b,this[_0xbf4f4(0x37d)]=_0x1f265a,this[_0xbf4f4(0x248)]=_0x476a41;}['transformStateCache'](_0x53bbc9){const _0x3f931f=_0x492c29;this[_0x3f931f(0x3e6)](_0x53bbc9);}[_0x492c29(0x3b4)](_0xbe9512){const _0x3b0c7b=_0x492c29,{unitID:_0x5223d4}=_0xbe9512,{collaboration:_0x266e33}=this[_0x3b0c7b(0x248)][_0x3b0c7b(0x442)](_0x5223d4);if(_0x266e33[_0x3b0c7b(0x2c5)]===0x0)return _0xbe9512;let _0x17b2e7=_0x333729[_0x3b0c7b(0x2a3)][_0x3b0c7b(0x465)](_0xbe9512[_0x3b0c7b(0x422)][0x0]);for(let _0x11d024=0x0;_0x11d024<_0x266e33[_0x3b0c7b(0x2c5)];_0x11d024++){const _0x456b01={'id':_0x3b0c7b(0x44f),'params':{'unitId':_0x266e33[_0x11d024][_0x3b0c7b(0x1e1)],..._0x266e33[_0x11d024][_0x3b0c7b(0x431)]}},_0x427afd=this[_0x3b0c7b(0x37d)][_0x3b0c7b(0x261)](_0x17b2e7,_0x456b01,!0x1);if(_0x49182d['isTransformMutationFailure'](_0x427afd))throw _0x427afd['error'];_0x17b2e7=_0x427afd['m1Prime'];}return{..._0x333729[_0x3b0c7b(0x2a3)][_0x3b0c7b(0x465)](_0xbe9512),'mutations':[_0x17b2e7]};}[_0x492c29(0x3e6)](_0x3e4cb6){const _0x104125=_0x492c29,{unitID:_0x29a538}=_0x3e4cb6,{history:_0x4ff06c,collaboration:_0x4f504f}=this[_0x104125(0x248)][_0x104125(0x442)](_0x29a538);if(_0x4ff06c[_0x104125(0x2c5)]===0x0&&_0x4f504f['length']===0x0)return;const _0x590302=[],_0x50c7c1=[];let _0x523256=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6['mutations'][0x0]),_0x252db0=_0x333729[_0x104125(0x2a3)][_0x104125(0x465)](_0x3e4cb6[_0x104125(0x422)][0x0]);for(let _0xfb78f0=_0x4ff06c[_0x104125(0x2c5)]-0x1;_0xfb78f0>=0x0;_0xfb78f0--){const _0x39f8c8={'id':_0x104125(0x44f),'params':{'unitId':_0x4ff06c[_0xfb78f0][_0x104125(0x1e1)],..._0x4ff06c[_0xfb78f0][_0x104125(0x238)]}},_0x3b290c={'id':_0x104125(0x44f),'params':{'unitId':_0x4ff06c[_0xfb78f0]['unitId'],..._0x4ff06c[_0xfb78f0]['redoState']}},_0x52f9cc=this['_transformService'][_0x104125(0x261)](_0x523256,_0x39f8c8,!0x1),_0x1336ea=this[_0x104125(0x37d)][_0x104125(0x261)](_0x252db0,_0x3b290c,!0x1);if(_0x49182d[_0x104125(0x2dc)](_0x52f9cc))throw _0x52f9cc['error'];if(_0x49182d['isTransformMutationFailure'](_0x1336ea))throw _0x1336ea[_0x104125(0x3e7)];_0x590302[_0x104125(0x2b3)]({..._0x4ff06c[_0xfb78f0],'undoState':_0x52f9cc[_0x104125(0x1db)][_0x104125(0x292)],'redoState':_0x1336ea[_0x104125(0x1db)]['params']}),_0x523256=_0x52f9cc[_0x104125(0x1c6)],_0x252db0=_0x1336ea['m1Prime'];}_0x523256=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6['mutations'][0x0]),_0x252db0=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6[_0x104125(0x422)][0x0]);for(let _0x44d49c=_0x4f504f[_0x104125(0x2c5)]-0x1;_0x44d49c>=0x0;_0x44d49c--){const _0x51bf53={'id':_0x104125(0x44f),'params':{'unitId':_0x4f504f[_0x44d49c]['unitId'],..._0x4f504f[_0x44d49c][_0x104125(0x238)]}},_0x2534ff={'id':_0x104125(0x44f),'params':{'unitId':_0x4f504f[_0x44d49c][_0x104125(0x1e1)],..._0x4f504f[_0x44d49c][_0x104125(0x431)]}},_0x2bd052=this[_0x104125(0x37d)][_0x104125(0x261)](_0x523256,_0x51bf53,!0x1),_0x4ae975=this[_0x104125(0x37d)]['transformMutation'](_0x252db0,_0x2534ff,!0x1);if(_0x49182d[_0x104125(0x2dc)](_0x2bd052))throw _0x2bd052[_0x104125(0x3e7)];if(_0x49182d[_0x104125(0x2dc)](_0x4ae975))throw _0x4ae975[_0x104125(0x3e7)];_0x50c7c1['unshift']({..._0x4f504f[_0x44d49c],'undoState':_0x2bd052[_0x104125(0x1db)][_0x104125(0x292)],'redoState':_0x4ae975['m2Prime'][_0x104125(0x292)]}),_0x523256=_0x2bd052[_0x104125(0x1c6)],_0x252db0=_0x4ae975['m1Prime'];}this[_0x104125(0x248)][_0x104125(0x37b)](_0x29a538,{'history':_0x590302,'collaboration':_0x50c7c1});}};_0x2faccb=_0x5aaff4([_0x732ab(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x732ab(0x1,_0x49182d[_0x492c29(0x42b)]),_0x732ab(0x2,_0x333729[_0x492c29(0x1d3)](_0x106c52[_0x492c29(0x32f)]))],_0x2faccb);var _0x5d57c2=Object['getOwnPropertyDescriptor'],_0x4244bf=(_0x23f043,_0x895f7b,_0x227419,_0x2b527c)=>{for(var _0x267cc=_0x2b527c>0x1?void 0x0:_0x2b527c?_0x5d57c2(_0x895f7b,_0x227419):_0x895f7b,_0x53ef37=_0x23f043['length']-0x1,_0x2fd92c;_0x53ef37>=0x0;_0x53ef37--)(_0x2fd92c=_0x23f043[_0x53ef37])&&(_0x267cc=_0x2fd92c(_0x267cc)||_0x267cc);return _0x267cc;},_0x1c6161=(_0x521622,_0xa9473b)=>(_0x9aaabf,_0x4eef1c)=>_0xa9473b(_0x9aaabf,_0x4eef1c,_0x521622);let _0x3f49e6=class{constructor(_0x270508,_0x21b2f0){const _0x323ae6=_0x492c29;this['_injector']=_0x270508,this[_0x323ae6(0x37d)]=_0x21b2f0;}[_0x492c29(0x3c0)](_0x319b52){const _0xcd5d4f=_0x492c29;var _0x1aadb3;const _0x1c5a81=this[_0xcd5d4f(0x359)][_0xcd5d4f(0x385)](_0x73cf4e[_0xcd5d4f(0x25a)]),_0x1b2373=(_0x1aadb3=_0x1c5a81['getDocRanges']())!=null?_0x1aadb3:[];if(_0x1b2373[_0xcd5d4f(0x2c5)]===0x0)return;const _0x41da97=_0x319b52[_0xcd5d4f(0x256)],_0x223447=[{'id':_0xcd5d4f(0x44f),'params':{'unitId':_0x41da97,'actions':null,'textRanges':_0x1b2373}}],_0x1ab145=this[_0xcd5d4f(0x37d)]['transformMutationsWithChangeset'](_0x319b52,_0x223447);if(!_0x49182d['isTransformMutationsWithChangesetSuccess'](_0x1ab145))throw _0x1ab145[_0xcd5d4f(0x3e7)];const _0xb91146=_0x1ab145[_0xcd5d4f(0x1db)][0x0][_0xcd5d4f(0x292)][_0xcd5d4f(0x4a5)];Array[_0xcd5d4f(0x3b2)](_0xb91146)&&_0xb91146[_0xcd5d4f(0x2c5)]&&_0x1c5a81[_0xcd5d4f(0x36b)](_0xb91146,{'unitId':_0x41da97,'subUnitId':_0x41da97},!0x1);}};_0x3f49e6=_0x4244bf([_0x1c6161(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x1c6161(0x1,_0x49182d['ITransformService'])],_0x3f49e6);var _0x2dabfd=Object[_0x492c29(0x47c)],_0x11f1ed=(_0x2acb22,_0x14699f,_0x28c409,_0x40aaff)=>{const _0x3f5261=_0x492c29;for(var _0x51c937=_0x40aaff>0x1?void 0x0:_0x40aaff?_0x2dabfd(_0x14699f,_0x28c409):_0x14699f,_0x17b4b8=_0x2acb22[_0x3f5261(0x2c5)]-0x1,_0x58b8b1;_0x17b4b8>=0x0;_0x17b4b8--)(_0x58b8b1=_0x2acb22[_0x17b4b8])&&(_0x51c937=_0x58b8b1(_0x51c937)||_0x51c937);return _0x51c937;},_0x26efbe=(_0x1c2e11,_0x22ab55)=>(_0x194908,_0xbae10c)=>_0x22ab55(_0x194908,_0xbae10c,_0x1c2e11);let _0x1d6816=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x12b7ec,_0xa8986d,_0x351903,_0x2ff941,_0x1482eb,_0x4e3a04,_0x12a748,_0x49c975){const _0x4e327c=_0x492c29;super(),_0x56d583(this,_0x4e327c(0x445),new _0x27440d[(_0x4e327c(0x293))](_0x308558[_0x4e327c(0x1f2)][_0x4e327c(0x3c3)])),(this[_0x4e327c(0x248)]=_0x12b7ec,this[_0x4e327c(0x45d)]=_0xa8986d,this[_0x4e327c(0x3ce)]=_0x351903,this[_0x4e327c(0x383)]=_0x2ff941,this[_0x4e327c(0x25b)]=_0x1482eb,this[_0x4e327c(0x36e)]=_0x4e3a04,this[_0x4e327c(0x2af)]=_0x12a748,this[_0x4e327c(0x21c)]=_0x49c975,this['_initEntityListener']());}[_0x492c29(0x326)](){const _0x19e0f7=_0x492c29;this[_0x19e0f7(0x212)](this[_0x19e0f7(0x45d)][_0x19e0f7(0x2f4)][_0x19e0f7(0x2f2)](_0x59b3c0=>{const _0x6f0886=_0x19e0f7,_0xa2b003=this[_0x6f0886(0x248)][_0x6f0886(0x2bc)]['subscribe'](_0x22f75b=>{const _0x39ec41=_0x6f0886;if(_0x22f75b==null)return;const {unitId:_0x2480ba,redoState:_0x5b1fd8,commandId:_0x33655a}=_0x22f75b;if(_0x2480ba!==_0x59b3c0[_0x39ec41(0x256)])return;const _0x2e3306={'id':_0x33655a,'type':_0x333729[_0x39ec41(0x3c5)][_0x39ec41(0x22f)],'params':{'unitId':_0x2480ba,'actions':_0x5b1fd8[_0x39ec41(0x2e9)],'textRanges':null}};_0x59b3c0[_0x39ec41(0x323)](_0x2e3306);});if(_0x59b3c0[_0x6f0886(0x212)](_0xa2b003),_0x59b3c0 instanceof _0x308558['DocCollaborationEntity']){const _0x378f92={'onTransformIME':_0x5962e1=>this[_0x6f0886(0x3ce)][_0x6f0886(0x376)](_0x5962e1),'onTransformState':_0x49c631=>this[_0x6f0886(0x383)][_0x6f0886(0x345)](_0x49c631),'onTransformSelections':_0x32c3b0=>this[_0x6f0886(0x25b)][_0x6f0886(0x3c0)](_0x32c3b0),'onSyncEditingCollabCursor':_0xaa7dbb=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0xaa7dbb),'onTransformRemoteChangesetByIMECache':_0x5d02f6=>this[_0x6f0886(0x3ce)][_0x6f0886(0x3b4)](_0x5d02f6),'onTransformRemoteChangesetByStateCache':_0x469f5e=>this[_0x6f0886(0x383)]['transformRemoteChangeset'](_0x469f5e)};_0x59b3c0[_0x6f0886(0x458)](_0x378f92);}}));}};_0x1d6816=_0x11f1ed([_0x26efbe(0x0,_0x333729[_0x492c29(0x1d3)](_0x106c52['DocStateChangeManagerService'])),_0x26efbe(0x1,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x3a9)])),_0x26efbe(0x2,_0x333729[_0x492c29(0x1d3)](_0x25eed9)),_0x26efbe(0x3,_0x333729[_0x492c29(0x1d3)](_0x2faccb)),_0x26efbe(0x4,_0x333729[_0x492c29(0x1d3)](_0x3f49e6)),_0x26efbe(0x5,_0x333729['Inject'](_0x319393)),_0x26efbe(0x6,_0x270f30['IMessageService']),_0x26efbe(0x7,_0x333729[_0x492c29(0x1d3)](_0x333729['LocaleService']))],_0x1d6816);var _0x11269e=(_0x5dcbff=>(_0x5dcbff[_0x5dcbff[_0x492c29(0x3a2)]=0x0]=_0x492c29(0x3a2),_0x5dcbff[_0x5dcbff['OK']=0x1]='OK',_0x5dcbff[_0x5dcbff[_0x492c29(0x219)]=0x2]=_0x492c29(0x219),_0x5dcbff[_0x5dcbff[_0x492c29(0x348)]=0x3]=_0x492c29(0x348),_0x5dcbff[_0x5dcbff['NOT_FOUND']=0x4]=_0x492c29(0x24b),_0x5dcbff[_0x5dcbff['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5dcbff[_0x5dcbff['ALREADY_EXISTS']=0x6]=_0x492c29(0x274),_0x5dcbff[_0x5dcbff[_0x492c29(0x250)]=0x7]=_0x492c29(0x250),_0x5dcbff[_0x5dcbff[_0x492c29(0x35a)]=0x8]=_0x492c29(0x35a),_0x5dcbff[_0x5dcbff[_0x492c29(0x3fc)]=0x9]=_0x492c29(0x3fc),_0x5dcbff[_0x5dcbff[_0x492c29(0x2ff)]=0xa]=_0x492c29(0x2ff),_0x5dcbff[_0x5dcbff[_0x492c29(0x336)]=0xb]=_0x492c29(0x336),_0x5dcbff[_0x5dcbff['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5dcbff[_0x5dcbff[_0x492c29(0x26e)]=0xd]=_0x492c29(0x26e),_0x5dcbff[_0x5dcbff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x492c29(0x41a),_0x5dcbff[_0x5dcbff[_0x492c29(0x423)]=0xf]=_0x492c29(0x423),_0x5dcbff[_0x5dcbff['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x492c29(0x290),_0x5dcbff[_0x5dcbff['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x492c29(0x2b4),_0x5dcbff[_0x5dcbff[_0x492c29(0x232)]=0x65]=_0x492c29(0x232),_0x5dcbff[_0x5dcbff[_0x492c29(0x452)]=0xc9]=_0x492c29(0x452),_0x5dcbff[_0x5dcbff[_0x492c29(0x234)]=0xca]='USER_IS_ANONYMOUS',_0x5dcbff[_0x5dcbff[_0x492c29(0x240)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5dcbff[_0x5dcbff[_0x492c29(0x24e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5dcbff[_0x5dcbff[_0x492c29(0x386)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5dcbff[_0x5dcbff[_0x492c29(0x3ee)]=0x1773]=_0x492c29(0x3ee),_0x5dcbff[_0x5dcbff['APPLY_REJECT']=0x1b59]=_0x492c29(0x330),_0x5dcbff[_0x5dcbff['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x492c29(0x299),_0x5dcbff[_0x5dcbff[_0x492c29(0x251)]=0x1b5b]=_0x492c29(0x251),_0x5dcbff[_0x5dcbff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x492c29(0x272),_0x5dcbff[_0x5dcbff['APPLY_DUPLICATED']=0x1b5d]=_0x492c29(0x3c2),_0x5dcbff[_0x5dcbff[_0x492c29(0x35c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x3fe)]=0x2329]=_0x492c29(0x3fe),_0x5dcbff[_0x5dcbff[_0x492c29(0x435)]=0x232a]=_0x492c29(0x435),_0x5dcbff[_0x5dcbff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x492c29(0x492),_0x5dcbff[_0x5dcbff[_0x492c29(0x1b8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5dcbff[_0x5dcbff[_0x492c29(0x333)]=0x232d]=_0x492c29(0x333),_0x5dcbff[_0x5dcbff[_0x492c29(0x1f7)]=0x2711]=_0x492c29(0x1f7),_0x5dcbff[_0x5dcbff[_0x492c29(0x2c7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x3f8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5dcbff[_0x5dcbff[_0x492c29(0x2b9)]=0x2714]=_0x492c29(0x2b9),_0x5dcbff[_0x5dcbff['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x492c29(0x284),_0x5dcbff[_0x5dcbff[_0x492c29(0x2e7)]=0x271b]=_0x492c29(0x2e7),_0x5dcbff[_0x5dcbff[_0x492c29(0x3f5)]=0x271c]=_0x492c29(0x3f5),_0x5dcbff[_0x5dcbff[_0x492c29(0x4a2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5dcbff[_0x5dcbff[_0x492c29(0x2fe)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5dcbff[_0x5dcbff[_0x492c29(0x2ac)]=0x271f]=_0x492c29(0x2ac),_0x5dcbff[_0x5dcbff[_0x492c29(0x2cb)]=0x2720]=_0x492c29(0x2cb),_0x5dcbff[_0x5dcbff['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5dcbff[_0x5dcbff['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x492c29(0x410),_0x5dcbff[_0x5dcbff['INVALID_INVITE_CODE']=0x2ee2]=_0x492c29(0x28f),_0x5dcbff[_0x5dcbff[_0x492c29(0x363)]=0x2ee3]=_0x492c29(0x363),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f1)]=0x2ee4]=_0x492c29(0x2f1),_0x5dcbff[_0x5dcbff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5dcbff[_0x5dcbff[_0x492c29(0x34c)]=0x32c9]=_0x492c29(0x34c),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f3)]=0x32ca]=_0x492c29(0x2f3),_0x5dcbff[_0x5dcbff[_0x492c29(0x1c3)]=0x32cb]=_0x492c29(0x1c3),_0x5dcbff[_0x5dcbff[_0x492c29(0x4a6)]=0x36b1]=_0x492c29(0x4a6),_0x5dcbff[_0x5dcbff[_0x492c29(0x43e)]=0x36b2]=_0x492c29(0x43e),_0x5dcbff[_0x5dcbff[_0x492c29(0x3de)]=0x36b3]=_0x492c29(0x3de),_0x5dcbff[_0x5dcbff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x492c29(0x453),_0x5dcbff[_0x5dcbff[_0x492c29(0x39b)]=0x36b5]=_0x492c29(0x39b),_0x5dcbff[_0x5dcbff[_0x492c29(0x463)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5dcbff[_0x5dcbff[_0x492c29(0x3d8)]=0x36b7]=_0x492c29(0x3d8),_0x5dcbff[_0x5dcbff[_0x492c29(0x433)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5dcbff[_0x5dcbff[_0x492c29(0x454)]=0x3715]=_0x492c29(0x454),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f9)]=0x3716]=_0x492c29(0x2f9),_0x5dcbff[_0x5dcbff[_0x492c29(0x3a5)]=0x3717]=_0x492c29(0x3a5),_0x5dcbff[_0x5dcbff[_0x492c29(0x2a8)]=0x37dd]=_0x492c29(0x2a8),_0x5dcbff[_0x5dcbff['REDEMPTION_INVALID_CODE']=0x3a99]=_0x492c29(0x32e),_0x5dcbff[_0x5dcbff[_0x492c29(0x301)]=0x3a9a]=_0x492c29(0x301),_0x5dcbff[_0x5dcbff[_0x492c29(0x3d5)]=0x3a9b]=_0x492c29(0x3d5),_0x5dcbff[_0x5dcbff['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x492c29(0x396),_0x5dcbff[_0x5dcbff[_0x492c29(0x30f)]=0x3a9d]=_0x492c29(0x30f),_0x5dcbff[_0x5dcbff[_0x492c29(0x281)]=0x3a9e]=_0x492c29(0x281),_0x5dcbff[_0x5dcbff[_0x492c29(0x223)]=0x3a9f]=_0x492c29(0x223),_0x5dcbff[_0x5dcbff[_0x492c29(0x2d5)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x27e)]=-0x1]=_0x492c29(0x27e),_0x5dcbff))(_0x11269e||{});function _0x7336c(_0x1d78bf){const _0x3a14ba=_0x492c29;var _0xd283cf,_0x3d854c;const _0x33ffc0=(_0xd283cf=_0x1d78bf[_0x3a14ba(0x2ee)])==null?void 0x0:_0xd283cf['stage'],_0x1a6baf=((_0x3d854c=_0x1d78bf['stageInfo'])==null?void 0x0:_0x3d854c[_0x3a14ba(0x3cc)])||0x0;return _0x33ffc0===_0x5b915e[_0x3a14ba(0x394)][_0x3a14ba(0x1e6)]&&_0x1a6baf>0x0;}function _0x25c200(_0x3f1d88){const _0x598050=_0x492c29;return _0x3f1d88[_0x598050(0x1f8)]===_0x5b915e[_0x598050(0x46f)][_0x598050(0x38d)];}var _0x2445ee=Object['getOwnPropertyDescriptor'],_0x642bfc=(_0x49fac4,_0x515844,_0x107217,_0x2b2a60)=>{const _0x1c54b9=_0x492c29;for(var _0x1b97ef=_0x2b2a60>0x1?void 0x0:_0x2b2a60?_0x2445ee(_0x515844,_0x107217):_0x515844,_0x46c61e=_0x49fac4[_0x1c54b9(0x2c5)]-0x1,_0x2b1d45;_0x46c61e>=0x0;_0x46c61e--)(_0x2b1d45=_0x49fac4[_0x46c61e])&&(_0x1b97ef=_0x2b1d45(_0x1b97ef)||_0x1b97ef);return _0x1b97ef;},_0x47b09b=(_0x418cd0,_0x3e8b41)=>(_0x3b65d9,_0xc0c21d)=>_0x3e8b41(_0x3b65d9,_0xc0c21d,_0x418cd0);const _0x4a25eb=_0x492c29(0x226),_0x3d14d1=_0x492c29(0x1d7),_0x167be4=_0x492c29(0x328);let _0x517451=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xe72a6b,_0x575a27,_0x242948,_0x1e9427,_0x433814,_0x496c34,_0x5ddd50){const _0x5c44c7=_0x492c29;super(),_0x56d583(this,_0x5c44c7(0x313),null),_0x56d583(this,'_maxFormulaLimit',0x0),_0x56d583(this,_0x5c44c7(0x32a),0x0),_0x56d583(this,_0x5c44c7(0x24d),[]),_0x56d583(this,_0x5c44c7(0x2c8),0x0),(this[_0x5c44c7(0x2af)]=_0xe72a6b,this[_0x5c44c7(0x3ac)]=_0x575a27,this[_0x5c44c7(0x298)]=_0x242948,this[_0x5c44c7(0x368)]=_0x1e9427,this[_0x5c44c7(0x378)]=_0x433814,this[_0x5c44c7(0x3ad)]=_0x496c34,this[_0x5c44c7(0x21c)]=_0x5ddd50,this[_0x5c44c7(0x20e)]());}[_0x492c29(0x20e)](){const _0x4c9636=_0x492c29;this[_0x4c9636(0x212)](this[_0x4c9636(0x3ac)]['beforeCommandExecuted']((_0x4f6541,_0x299bf3)=>{const _0x3b1bd0=_0x4c9636;var _0x297bd1;if(_0x4f6541['id']!==_0x5b915e['SetFormulaCalculationStartMutation']['id'])return;const _0x25872a=_0x4f6541[_0x3b1bd0(0x292)];if(!this[_0x3b1bd0(0x38a)]((_0x297bd1=_0x25872a[_0x3b1bd0(0x3fa)])!=null?_0x297bd1:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3b1bd0(0x1fa)](_0x4f6541,_0x299bf3),this[_0x3b1bd0(0x22a)](),new _0x333729[(_0x3b1bd0(0x217))]();})),this[_0x4c9636(0x212)](this['_commandService']['onCommandExecuted']((_0x358bb0,_0x2fa5ad)=>{const _0x35d109=_0x4c9636;if(_0x358bb0['id']!==_0x5b915e[_0x35d109(0x34f)]['id'])return;const _0x5a066d=_0x358bb0[_0x35d109(0x292)];if(_0x7336c(_0x5a066d)){const _0x27e46e=_0x333729['generateRandomId']();this['_taskIds'][_0x35d109(0x28e)](_0x27e46e),this['_startCalculationLimit'](_0x27e46e);}else{if(_0x25c200(_0x5a066d)&&this[_0x35d109(0x24d)][_0x35d109(0x2c5)]>0x0){const _0x1c1b5a=this[_0x35d109(0x24d)][_0x35d109(0x33f)]();this[_0x35d109(0x3cd)](_0x1c1b5a);}}}));}[_0x492c29(0x372)](){const _0x319cff=_0x492c29;super[_0x319cff(0x372)](),this[_0x319cff(0x46a)](),this[_0x319cff(0x24d)]=[],this[_0x319cff(0x32a)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x319cff(0x2c8)]=0x0;}async[_0x492c29(0x1fa)](_0x3f46b7,_0x20c20b){const _0xea563e=_0x492c29;for(let _0x5956c5=0x0;_0x5956c5<0x1e;_0x5956c5++)try{if(await this[_0xea563e(0x3ae)](),this[_0xea563e(0x23e)]()){this[_0xea563e(0x3e1)](_0x3f46b7,_0x20c20b),this[_0xea563e(0x2af)][_0xea563e(0x227)]({'content':this[_0xea563e(0x21c)]['t']('formula.calculation.started'),'type':_0x5363fc[_0xea563e(0x3e2)]['Success']});return;}await new Promise(_0x3d287a=>{const _0x1060d6=_0xea563e;this[_0x1060d6(0x313)]=window[_0x1060d6(0x384)](_0x3d287a,0x3e8);});}catch(_0xc6be79){this[_0xea563e(0x3ad)][_0xea563e(0x3e7)](_0xc6be79);}this[_0xea563e(0x2af)][_0xea563e(0x227)]({'content':this[_0xea563e(0x21c)]['t']('formula.calculation.unable'),'type':_0x5363fc[_0xea563e(0x3e2)]['Error']});}[_0x492c29(0x3e1)](_0x2b53ec,_0x989772){const _0x35ae93=_0x492c29;try{this[_0x35ae93(0x3ac)][_0x35ae93(0x282)](_0x2b53ec['id'],_0x2b53ec[_0x35ae93(0x292)],_0x989772);}catch(_0x539c56){this[_0x35ae93(0x3ad)][_0x35ae93(0x3e7)](_0x539c56);}}[_0x492c29(0x43b)](_0xd262dd,_0x575658){const _0xedd165=_0x492c29;_0x575658<this[_0xedd165(0x2c8)]||(this[_0xedd165(0x2c8)]=_0x575658,this[_0xedd165(0x36a)]=Number[_0xedd165(0x277)](_0xd262dd[_0xedd165(0x3bb)]),this['_currentUsage']=Number[_0xedd165(0x277)](_0xd262dd['currentUsage']));}async[_0x492c29(0x353)](_0x557280){const _0x3e4096=_0x492c29;var _0x59b261,_0x293a87;const _0x555fea=Date[_0x3e4096(0x1e4)]();try{const _0x323a84=((_0x59b261=this[_0x3e4096(0x298)][_0x3e4096(0x4a4)](_0x308558[_0x3e4096(0x2a4)]))==null?void 0x0:_0x59b261[_0x3e4096(0x253)])||_0x3d14d1,_0x5732bb=(await this[_0x3e4096(0x368)]['post'](_0x323a84,{'body':JSON[_0x3e4096(0x34d)]({'taskId':_0x557280})}))[_0x3e4096(0x30d)];if(((_0x293a87=_0x5732bb[_0x3e4096(0x3e7)])==null?void 0x0:_0x293a87[_0x3e4096(0x3e9)])!==_0x11269e['OK'])return;this[_0x3e4096(0x43b)](_0x5732bb[_0x3e4096(0x2f7)],_0x555fea);}catch(_0xa70552){this['_logService']['error'](_0xa70552);}}async[_0x492c29(0x3ae)](_0x158e14){const _0xfad2e3=_0x492c29;var _0x5c63a7,_0x2dc70d;const _0x1084cd=Date[_0xfad2e3(0x1e4)]();try{const _0x51f273=((_0x5c63a7=this[_0xfad2e3(0x298)]['getConfig'](_0x308558[_0xfad2e3(0x2a4)]))==null?void 0x0:_0x5c63a7[_0xfad2e3(0x4aa)])||_0x4a25eb,_0x17719f=_0x158e14?_0x51f273+_0xfad2e3(0x340)+encodeURIComponent(_0x158e14):_0x51f273,_0x364bb5=(await this[_0xfad2e3(0x368)][_0xfad2e3(0x385)](_0x17719f))[_0xfad2e3(0x30d)];if(((_0x2dc70d=_0x364bb5[_0xfad2e3(0x3e7)])==null?void 0x0:_0x2dc70d[_0xfad2e3(0x3e9)])!==_0x11269e['OK'])return;this[_0xfad2e3(0x43b)](_0x364bb5[_0xfad2e3(0x2f7)],_0x1084cd);}catch(_0x30845c){this[_0xfad2e3(0x3ad)]['error'](_0x30845c);}}async[_0x492c29(0x3cd)](_0x26f8c4){const _0x59d37f=_0x492c29;var _0xc2af29,_0x1caba4;const _0x5db0be=Date[_0x59d37f(0x1e4)]();try{const _0x5b2f1b=((_0xc2af29=this[_0x59d37f(0x298)][_0x59d37f(0x4a4)](_0x308558['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xc2af29[_0x59d37f(0x447)])||_0x167be4,_0x491444=(await this[_0x59d37f(0x368)]['post'](_0x5b2f1b,{'body':JSON[_0x59d37f(0x34d)]({'taskId':_0x26f8c4})}))[_0x59d37f(0x30d)];if(((_0x1caba4=_0x491444[_0x59d37f(0x3e7)])==null?void 0x0:_0x1caba4[_0x59d37f(0x3e9)])!==_0x11269e['OK'])return;this[_0x59d37f(0x43b)](_0x491444[_0x59d37f(0x2f7)],_0x5db0be);}catch(_0xc95bf6){this['_logService'][_0x59d37f(0x3e7)](_0xc95bf6);}}[_0x492c29(0x23e)](){const _0x5b2abb=_0x492c29;return this[_0x5b2abb(0x36a)]===0x0?!0x0:this[_0x5b2abb(0x36a)]-this[_0x5b2abb(0x32a)]>0x0;}[_0x492c29(0x46a)](){const _0x529972=_0x492c29;this[_0x529972(0x313)]&&(clearTimeout(this['_pollingInterval']),this[_0x529972(0x313)]=null);}[_0x492c29(0x22a)](){const _0x3af0ec=_0x492c29;this['_messageService'][_0x3af0ec(0x227)]({'content':this[_0x3af0ec(0x21c)]['t'](_0x3af0ec(0x3ed)),'type':_0x5363fc[_0x3af0ec(0x3e2)][_0x3af0ec(0x25d)]});}[_0x492c29(0x38a)](_0x3050a7){const _0x4171f3=_0x492c29;for(const _0x46668d of _0x3050a7){const {unitId:_0x479edc,sheetId:_0x322e8d,range:_0xa19bfe}=_0x46668d,_0x21e6cc=this[_0x4171f3(0x378)]['getUnit'](_0x479edc);if(!_0x21e6cc)continue;const _0x54553e=_0x21e6cc[_0x4171f3(0x3b6)](_0x322e8d);if(!_0x54553e)continue;const _0x148be5=_0x54553e[_0x4171f3(0x448)]();for(let _0x376cbb=_0xa19bfe[_0x4171f3(0x1e8)];_0x376cbb<=_0xa19bfe['endRow'];_0x376cbb++)for(let _0x295756=_0xa19bfe[_0x4171f3(0x36f)];_0x295756<=_0xa19bfe['endColumn'];_0x295756++){const _0x20899e=_0x148be5[_0x4171f3(0x473)](_0x376cbb,_0x295756);if(_0x20899e&&(_0x333729[_0x4171f3(0x3b5)](_0x20899e['f'])||_0x333729[_0x4171f3(0x236)](_0x20899e['si'])))return!0x0;}}return!0x1;}};_0x517451=_0x642bfc([_0x47b09b(0x0,_0x333729[_0x492c29(0x1d3)](_0x270f30[_0x492c29(0x24a)])),_0x47b09b(0x1,_0x333729[_0x492c29(0x3f4)]),_0x47b09b(0x2,_0x333729[_0x492c29(0x243)]),_0x47b09b(0x3,_0x333729[_0x492c29(0x1d3)](_0x45181c[_0x492c29(0x302)])),_0x47b09b(0x4,_0x333729[_0x492c29(0x1d0)]),_0x47b09b(0x5,_0x333729[_0x492c29(0x221)]),_0x47b09b(0x6,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x34e)]))],_0x517451);var _0x4f6e19=Object[_0x492c29(0x47c)],_0x3fe145=(_0x5bd220,_0x2fafa3,_0x17e127,_0x366d67)=>{const _0x4544dd=_0x492c29;for(var _0x1ce04f=_0x366d67>0x1?void 0x0:_0x366d67?_0x4f6e19(_0x2fafa3,_0x17e127):_0x2fafa3,_0x53bfe8=_0x5bd220[_0x4544dd(0x2c5)]-0x1,_0x5ae104;_0x53bfe8>=0x0;_0x53bfe8--)(_0x5ae104=_0x5bd220[_0x53bfe8])&&(_0x1ce04f=_0x5ae104(_0x1ce04f)||_0x1ce04f);return _0x1ce04f;},_0x4ee739=(_0x28023c,_0x3b49a1)=>(_0x6705b9,_0x243d1f)=>_0x3b49a1(_0x6705b9,_0x243d1f,_0x28023c);let _0x51a028=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x467335,_0x423883,_0x43d204){const _0x19d231=_0x492c29;super(),_0x56d583(this,_0x19d231(0x416),new Map()),_0x56d583(this,'_saveTaskMap',new Map()),_0x56d583(this,_0x19d231(0x29a),!0x1),(this['_configService']=_0x467335,this['_localStorageService']=_0x423883,this[_0x19d231(0x271)]=_0x43d204);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x531055=_0x492c29;this[_0x531055(0x29a)]=!0x1;}get[_0x492c29(0x278)](){return this['_saveTaskMap'];}[_0x492c29(0x372)](){const _0x21b7cd=_0x492c29;this[_0x21b7cd(0x4a9)]()[_0x21b7cd(0x2ef)](()=>super['dispose']());}async['loadOfflineData'](_0x53279f){const _0x21224=_0x492c29;return this[_0x21224(0x29a)]?null:this[_0x21224(0x2f5)]['getItem'](_0x308558[_0x21224(0x339)](_0x53279f));}async[_0x492c29(0x444)](_0x3c1cc9,_0x206f76){const _0x5050d9=_0x492c29;return!!this['_localStorageService'][_0x5050d9(0x216)](_0x3c1cc9,_0x206f76);}['updateOfflineData'](_0x4df53c,_0x136139,_0x302263,_0x4517de){const _0x5e8959=_0x492c29,_0x27dff0=this['_revisionService'][_0x5e8959(0x3a3)](_0x4df53c);this[_0x5e8959(0x416)][_0x5e8959(0x287)](_0x4df53c,{'unitID':_0x4df53c,'type':_0x136139,'awaitingChangeset':_0x302263,'mutations':_0x4517de,'rev':_0x27dff0}),this['_saveTaskMap'][_0x5e8959(0x485)](_0x4df53c)||this[_0x5e8959(0x1c7)](_0x4df53c);}[_0x492c29(0x1c7)](_0x4bbf3b){const _0x26a4dc=_0x492c29,_0x34ac6a=this[_0x26a4dc(0x41e)]();_0x34ac6a===0x0?this[_0x26a4dc(0x1ca)](_0x4bbf3b):this['_saveTaskMap'][_0x26a4dc(0x287)](_0x4bbf3b,setTimeout(()=>this[_0x26a4dc(0x1ca)](_0x4bbf3b),_0x34ac6a));}[_0x492c29(0x41e)](){const _0x492512=_0x492c29;var _0x97804e;return(_0x97804e=this['_configService'][_0x492512(0x4a4)](_0x308558[_0x492512(0x275)]))!=null?_0x97804e:_0x308558[_0x492512(0x494)];}[_0x492c29(0x1ca)](_0x238e7d){const _0x2a1487=_0x492c29,_0x4da2e0=this[_0x2a1487(0x48a)][_0x2a1487(0x385)](_0x238e7d);return _0x4da2e0!==void 0x0&&window[_0x2a1487(0x27d)](_0x4da2e0),this[_0x2a1487(0x2f5)][_0x2a1487(0x216)](_0x308558[_0x2a1487(0x339)](_0x238e7d),this['_cachedData'][_0x2a1487(0x385)](_0x238e7d))[_0x2a1487(0x2ef)](()=>this[_0x2a1487(0x48a)][_0x2a1487(0x207)](_0x238e7d));}async['exhaustSavingTask'](){const _0x4a127e=_0x492c29,_0x3b4768=[];this['_saveTaskMap'][_0x4a127e(0x296)]((_0x1b35dc,_0x59eb13)=>{const _0x4c60dd=_0x4a127e;window[_0x4c60dd(0x27d)](_0x1b35dc),_0x3b4768[_0x4c60dd(0x28e)](this['_saveCache'](_0x59eb13)[_0x4c60dd(0x2ef)](()=>{this['_saveTaskMap']['delete'](_0x59eb13);}));}),await Promise[_0x4a127e(0x262)](_0x3b4768);}};_0x51a028=_0x3fe145([_0x4ee739(0x0,_0x333729[_0x492c29(0x243)]),_0x4ee739(0x1,_0x333729['ILocalStorageService']),_0x4ee739(0x2,_0x333729[_0x492c29(0x1d3)](_0x49182d[_0x492c29(0x412)]))],_0x51a028);class _0x48aba0 extends _0x333729[_0x492c29(0x408)]{constructor(){const _0x13e7b2=_0x492c29;super(),_0x56d583(this,'urlChange$'),this['urlChange$']=_0x27440d[_0x13e7b2(0x2c9)](window,'popstate')[_0x13e7b2(0x338)](_0x27440d[_0x13e7b2(0x45a)](this[_0x13e7b2(0x461)]),_0x27440d['shareReplay'](0x1),_0x27440d[_0x13e7b2(0x1f1)](void 0x0));}[_0x492c29(0x3e0)](_0xf86bee,_0x31b317,_0x687cb5=!0x1){const _0x20ee8e=_0x492c29,_0x4e363d=new URL(window[_0x20ee8e(0x49e)][_0x20ee8e(0x280)]);_0x4e363d[_0x20ee8e(0x270)][_0x20ee8e(0x287)](_0xf86bee,_0x31b317),_0x687cb5?window[_0x20ee8e(0x393)][_0x20ee8e(0x49a)]('','',_0x4e363d['toString']()):window['history'][_0x20ee8e(0x477)]('','',_0x4e363d['toString']());}[_0x492c29(0x426)](_0xee435f,_0x390c2c=!0x1){const _0x121fcf=_0x492c29,_0x2222df=new URL(window[_0x121fcf(0x49e)][_0x121fcf(0x280)]);_0x2222df['searchParams'][_0x121fcf(0x207)](_0xee435f),_0x390c2c?window[_0x121fcf(0x393)]['replaceState']('','',_0x2222df[_0x121fcf(0x375)]()):window[_0x121fcf(0x393)][_0x121fcf(0x477)]('','',_0x2222df['toString']());}[_0x492c29(0x2c1)](_0x55927a){const _0x92532b=_0x492c29;var _0x3ccce7;return(_0x3ccce7=new URL(window['location'][_0x92532b(0x280)])[_0x92532b(0x270)][_0x92532b(0x385)](_0x55927a))!=null?_0x3ccce7:void 0x0;}}var _0x5179de=Object['defineProperty'],_0x357d14=Object[_0x492c29(0x47c)],_0x3262f5=(_0x5cbf78,_0x330bd6,_0xbabb48)=>_0x330bd6 in _0x5cbf78?_0x5179de(_0x5cbf78,_0x330bd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbabb48}):_0x5cbf78[_0x330bd6]=_0xbabb48,_0x35f27d=(_0x3beba6,_0x21a474,_0x1f7e8a,_0x5929d7)=>{for(var _0x36f368=_0x5929d7>0x1?void 0x0:_0x5929d7?_0x357d14(_0x21a474,_0x1f7e8a):_0x21a474,_0x24b4d4=_0x3beba6['length']-0x1,_0x73d6c8;_0x24b4d4>=0x0;_0x24b4d4--)(_0x73d6c8=_0x3beba6[_0x24b4d4])&&(_0x36f368=_0x73d6c8(_0x36f368)||_0x36f368);return _0x36f368;},_0x4f7452=(_0x4923cc,_0x596372)=>(_0x1972ac,_0x58bc74)=>_0x596372(_0x1972ac,_0x58bc74,_0x4923cc),_0x28a8b4=(_0x5906be,_0x5c4729,_0x19d292)=>_0x3262f5(_0x5906be,_0x5c4729+'',_0x19d292);const _0x78fae7=_0x492c29(0x33d);_0x1ddbd2['UniverCollaborationClientUIPlugin']=class extends _0x333729[_0x492c29(0x432)]{constructor(_0x4099ad=_0x53a6a1,_0x57fc9b,_0x5c2103,_0x5159e7){const _0x4fcbb=_0x492c29;super(),this[_0x4fcbb(0x28b)]=_0x4099ad,this[_0x4fcbb(0x355)]=_0x57fc9b,this[_0x4fcbb(0x359)]=_0x5c2103,this[_0x4fcbb(0x298)]=_0x5159e7;const {..._0x569be8}=_0x333729[_0x4fcbb(0x43f)]({},_0x53a6a1,this['_config']);this['_configService'][_0x4fcbb(0x356)](_0x90aaa9,_0x569be8);}['onStarting'](){const _0x5b340b=_0x492c29;this[_0x5b340b(0x47e)](),this[_0x5b340b(0x4ab)]();}[_0x492c29(0x377)](){const _0x2f2c47=_0x492c29;this[_0x2f2c47(0x44a)]();}[_0x492c29(0x47e)](){const _0x5a05d5=_0x492c29;var _0x185598;const _0x286cfe=[[_0x26569c],[_0x517451],[_0x3f49e6],[_0x25eed9],[_0x2faccb],[_0x319393],[_0x2dd234,{'useClass':_0x48aba0}],[_0x45181c[_0x5a05d5(0x39a)],{'useClass':_0x45181c[_0x5a05d5(0x38c)]}],[_0x308558[_0x5a05d5(0x41f)],{'useClass':_0x51a028}],[_0x1ddbd2[_0x5a05d5(0x22e)]],[_0x1d6816],[_0x4fa748],[_0x5df748],[_0x45faa8],[_0x1ddbd2[_0x5a05d5(0x409)]]];this[_0x5a05d5(0x28b)]['enableFrontendLog']&&_0x286cfe[_0x5a05d5(0x28e)]([_0x40f773]),_0x333729[_0x5a05d5(0x42d)](this[_0x5a05d5(0x359)],_0x333729['mergeOverrideWithDependencies'](_0x286cfe,(_0x185598=this['_config'])==null?void 0x0:_0x185598['override']));}[_0x492c29(0x44a)](){const _0x45c212=_0x492c29;this[_0x45c212(0x212)](this[_0x45c212(0x355)][_0x45c212(0x1dd)](_0x333729[_0x45c212(0x215)][_0x45c212(0x483)],[_0x1b3f30])),this['disposeWithMe'](this['_renderManagerService'][_0x45c212(0x1dd)](_0x333729['UniverInstanceType'][_0x45c212(0x30a)],[_0x2c4f7a]));}[_0x492c29(0x4ab)](){const _0x3d132d=_0x492c29;_0x333729[_0x3d132d(0x315)](this['_injector'],[[_0x5df748],[_0x1ddbd2['DesktopCollaborationStatusDisplayController']],[_0x1d6816],[_0x4fa748],[_0x1ddbd2[_0x3d132d(0x409)]],[_0x517451]]),this[_0x3d132d(0x28b)]['enableFrontendLog']&&_0x333729[_0x3d132d(0x315)](this[_0x3d132d(0x359)],[[_0x40f773]]);}},_0x28a8b4(_0x1ddbd2[_0x492c29(0x242)],_0x492c29(0x388),_0x78fae7),_0x1ddbd2[_0x492c29(0x242)]=_0x35f27d([_0x333729['DependentOn'](_0x308558[_0x492c29(0x1cd)]),_0x4f7452(0x1,_0x220e15[_0x492c29(0x268)]),_0x4f7452(0x2,_0x333729[_0x492c29(0x1d3)](_0x333729['Injector'])),_0x4f7452(0x3,_0x333729[_0x492c29(0x243)])],_0x1ddbd2['UniverCollaborationClientUIPlugin']);var _0x1e0f88=Object[_0x492c29(0x47c)],_0x462991=(_0x43fc3d,_0x2b7ced,_0x259bb4,_0x4f32ab)=>{for(var _0x39fd8b=_0x4f32ab>0x1?void 0x0:_0x4f32ab?_0x1e0f88(_0x2b7ced,_0x259bb4):_0x2b7ced,_0x1dbbee=_0x43fc3d['length']-0x1,_0x23f272;_0x1dbbee>=0x0;_0x1dbbee--)(_0x23f272=_0x43fc3d[_0x1dbbee])&&(_0x39fd8b=_0x23f272(_0x39fd8b)||_0x39fd8b);return _0x39fd8b;},_0x569878=(_0x490fea,_0x273fd6)=>(_0x54f182,_0x848a68)=>_0x273fd6(_0x54f182,_0x848a68,_0x490fea);_0x1ddbd2['BrowserCollaborationSocketService']=class extends _0x308558[_0x492c29(0x3f1)]{constructor(_0x30a207,_0x27bfa5,_0x1435bb,_0x210425,_0x2f0c50){super(_0x30a207,_0x27bfa5,_0x1435bb,_0x210425,_0x2f0c50);}async[_0x492c29(0x1f6)](_0x23d87d){const _0x45bd15=_0x492c29,_0x5bb5fb=await this['_getSessionTicket'](),_0x5a334c=this[_0x45bd15(0x3f0)](_0x23d87d,_0x5bb5fb);return this['_doCreateSocket'](_0x5a334c);}[_0x492c29(0x3f0)](_0x4c6cb8,_0x35cab7){const _0x464fb9=_0x492c29,_0x416cd9=typeof window>'u'?new URL(_0x4c6cb8):new URL(_0x4c6cb8,window[_0x464fb9(0x49e)][_0x464fb9(0x3d0)]);_0x416cd9[_0x464fb9(0x270)][_0x464fb9(0x287)](_0x464fb9(0x3dd),_0x35cab7);const _0x222578=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x464fb9(0x49e)]['search']);return _0x222578[_0x464fb9(0x385)](_0x464fb9(0x2d2))&&_0x416cd9['searchParams']['set'](_0x464fb9(0x2d2),_0x222578['get'](_0x464fb9(0x2d2))),_0x416cd9['toString']();}async[_0x492c29(0x42e)](){const _0x362efd=_0x492c29;var _0x291a4a,_0x174111,_0x54c866;const _0x1bec1e=this[_0x362efd(0x298)][_0x362efd(0x4a4)](_0x308558[_0x362efd(0x2a4)]),_0x5c617e=(_0x291a4a=_0x1bec1e==null?void 0x0:_0x1bec1e[_0x362efd(0x387)])!=null?_0x291a4a:_0x308558[_0x362efd(0x214)];return(_0x54c866=(_0x174111=(await this[_0x362efd(0x368)][_0x362efd(0x385)](_0x5c617e,{'headers':{'Content-Type':_0x362efd(0x2a6)}}))['body'])==null?void 0x0:_0x174111[_0x362efd(0x2bb)])!=null?_0x54c866:'';}},_0x1ddbd2['BrowserCollaborationSocketService']=_0x462991([_0x569878(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x569878(0x1,_0x333729['Inject'](_0x45181c[_0x492c29(0x302)])),_0x569878(0x2,_0x333729[_0x492c29(0x243)]),_0x569878(0x3,_0x333729[_0x492c29(0x221)]),_0x569878(0x4,_0x49182d[_0x492c29(0x36d)])],_0x1ddbd2['BrowserCollaborationSocketService']);var _0x8e6f13=Object[_0x492c29(0x47c)],_0x599de4=(_0x410726,_0x4f02ff,_0x59a08d,_0x17fa18)=>{const _0x107776=_0x492c29;for(var _0x24fdbb=_0x17fa18>0x1?void 0x0:_0x17fa18?_0x8e6f13(_0x4f02ff,_0x59a08d):_0x4f02ff,_0x30fb4f=_0x410726[_0x107776(0x2c5)]-0x1,_0x5b5cd7;_0x30fb4f>=0x0;_0x30fb4f--)(_0x5b5cd7=_0x410726[_0x30fb4f])&&(_0x24fdbb=_0x5b5cd7(_0x24fdbb)||_0x24fdbb);return _0x24fdbb;},_0x3c5187=(_0x227d57,_0x602879)=>(_0x3a5ae8,_0x4c8109)=>_0x602879(_0x3a5ae8,_0x4c8109,_0x227d57);_0x1ddbd2[_0x492c29(0x351)]=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xa7805,_0x91bef7,_0x30bfa5){const _0x2864c5=_0x492c29;super(),this['_instanceService']=_0xa7805,this['_httpService']=_0x91bef7,this[_0x2864c5(0x298)]=_0x30bfa5;}async[_0x492c29(0x1c5)](_0x5eb55e,_0x4620d3,_0x44f766,..._0xc01ee3){const _0x5f138b=_0x492c29;var _0x4d78d3,_0x1ab72b,_0x2ae05b,_0x14512f;const _0xe4b57c=this[_0x5f138b(0x354)]['getFocusedUnit']();if(!_0xe4b57c)throw new Error(_0x5f138b(0x2cd));const _0x37cd64=((_0x4d78d3=this['_configService'][_0x5f138b(0x4a4)](_0x308558[_0x5f138b(0x22d)]))!=null?_0x4d78d3:_0x308558[_0x5f138b(0x358)])+'/'+_0x5eb55e+_0x5f138b(0x3ec)+_0x4620d3,_0x4a483d=new URL(window[_0x5f138b(0x49e)][_0x5f138b(0x280)]),_0x530c17={'scriptId':_0x5eb55e,'runId':(_0x1ab72b=_0x4a483d[_0x5f138b(0x270)][_0x5f138b(0x385)](_0x5f138b(0x2d2)))!=null?_0x1ab72b:'','function':_0x4620d3,'unitId':_0xe4b57c[_0x5f138b(0x314)](),'argsOfFunction':JSON[_0x5f138b(0x34d)](_0xc01ee3),'invokeId':(_0x2ae05b=_0x44f766[_0x5f138b(0x2df)])!=null?_0x2ae05b:'','executionId':(_0x14512f=_0x44f766['executionId'])!=null?_0x14512f:''};try{const _0x5e67b9=await this['_httpService']['post'](_0x37cd64,{'body':_0x530c17});return _0x5e67b9[_0x5f138b(0x30d)][_0x5f138b(0x3e7)]&&_0x5e67b9[_0x5f138b(0x30d)][_0x5f138b(0x3e7)][_0x5f138b(0x3e9)]!==_0x11269e['OK']?_0x5f138b(0x3cf):_0x5e67b9['body']['result'];}catch{return _0x5f138b(0x3cf);}}},_0x1ddbd2[_0x492c29(0x351)]=_0x599de4([_0x3c5187(0x0,_0x333729[_0x492c29(0x1d0)]),_0x3c5187(0x1,_0x333729[_0x492c29(0x1d3)](_0x45181c['HTTPService'])),_0x3c5187(0x2,_0x333729[_0x492c29(0x243)])],_0x1ddbd2[_0x492c29(0x351)]);const _0x1f13d2=0x7530,_0x4511cb='ACTIVE_UNIT_EVENT_CHANNEL';class _0x598757 extends _0x333729[_0x492c29(0x3c4)]{constructor(){const _0x4858c8=_0x492c29;super(),_0x56d583(this,_0x4858c8(0x264),_0x333729[_0x4858c8(0x3e5)]()),_0x56d583(this,_0x4858c8(0x23a),new Set()),_0x56d583(this,_0x4858c8(0x35d),new Map()),_0x56d583(this,_0x4858c8(0x39f),null),_0x56d583(this,'_clearOtherTimers',new Map()),_0x56d583(this,_0x4858c8(0x361),new Map()),this[_0x4858c8(0x45c)]();}[_0x492c29(0x372)](){const _0x54db93=_0x492c29;super[_0x54db93(0x372)](),this['_clearOtherTimers'][_0x54db93(0x296)]((_0x3561f1,_0x18c4bf)=>this[_0x54db93(0x1bb)](_0x18c4bf)),this[_0x54db93(0x39f)]&&window['clearInterval'](this[_0x54db93(0x39f)]);}[_0x492c29(0x370)](_0x311cc2){const _0x49fa9b=_0x492c29;return this[_0x49fa9b(0x1ea)](_0x311cc2)[_0x49fa9b(0x338)](_0x27440d[_0x49fa9b(0x319)]());}[_0x492c29(0x495)](_0x1dc815){const _0x4ac2e8=_0x492c29;this[_0x4ac2e8(0x23a)][_0x4ac2e8(0x210)]===0x0&&this[_0x4ac2e8(0x2f8)](),this[_0x4ac2e8(0x23a)][_0x4ac2e8(0x29c)](_0x1dc815),this[_0x4ac2e8(0x1fe)]({'type':0x0,'memberID':this[_0x4ac2e8(0x264)],'unitIDs':[_0x1dc815],'isForwarded':!0x1});}['disposeUnit'](_0x3d3578){const _0x350bdc=_0x492c29;this[_0x350bdc(0x23a)]['delete'](_0x3d3578),this[_0x350bdc(0x23a)][_0x350bdc(0x210)]===0x0&&this['_heartbeatTimer']&&window[_0x350bdc(0x228)](this[_0x350bdc(0x39f)]);}[_0x492c29(0x45c)](){const _0x30fab3=_0x492c29;this[_0x30fab3(0x212)](_0x333729[_0x30fab3(0x229)](_0x27440d[_0x30fab3(0x2c9)](window,_0x30fab3(0x364))[_0x30fab3(0x2f2)](_0x55fd2d=>{const _0x5a289f=_0x30fab3;if(_0x55fd2d[_0x5a289f(0x332)]!==_0x4511cb||!_0x55fd2d[_0x5a289f(0x26d)])return;const _0x18afcb=JSON[_0x5a289f(0x3c9)](_0x55fd2d['newValue']);this[_0x5a289f(0x1e7)](_0x18afcb);}))),window[_0x30fab3(0x2a9)](_0x30fab3(0x3a0),()=>this[_0x30fab3(0x1fe)]({'type':0x1,'memberID':this[_0x30fab3(0x264)],'unitIDs':Array[_0x30fab3(0x27a)](this[_0x30fab3(0x23a)])}));}[_0x492c29(0x1e7)](_0x55f8f7){const _0x41138c=_0x492c29;switch(_0x55f8f7[_0x41138c(0x2a2)]){case 0x0:this[_0x41138c(0x321)](_0x55f8f7);break;case 0x1:this[_0x41138c(0x285)](_0x55f8f7);break;case 0x2:this['_handleHeartbeatEvent'](_0x55f8f7);break;}}[_0x492c29(0x321)](_0x444f53){const _0x2e411b=_0x492c29,{unitIDs:_0x5f9597,memberID:_0x1dd870,isForwarded:_0x2bcdc4}=_0x444f53;_0x5f9597['forEach'](_0x2846b5=>{const _0x213771=_0x5251;if(!_0x2bcdc4&&this[_0x213771(0x35d)][_0x213771(0x485)](_0x2846b5)&&this[_0x213771(0x1ea)](_0x2846b5)[_0x213771(0x349)](_0x308558[_0x213771(0x418)][_0x213771(0x25f)]),!this['_unitOnClients']['has'](_0x2846b5)||!this[_0x213771(0x35d)][_0x213771(0x385)](_0x2846b5)[_0x213771(0x485)](_0x1dd870)){const _0x395bd5=this[_0x213771(0x35d)][_0x213771(0x385)](_0x2846b5)||new Set();_0x395bd5[_0x213771(0x29c)](_0x1dd870),this['_unitOnClients']['set'](_0x2846b5,_0x395bd5),this['_scheduleClearOtherTimer'](_0x1dd870);}}),_0x2bcdc4||this['_send']({'type':0x0,'memberID':this[_0x2e411b(0x264)],'unitIDs':[...this[_0x2e411b(0x23a)]],'isForwarded':!0x0});}[_0x492c29(0x371)](_0xb631c6){const _0x3083fd=_0x492c29;this[_0x3083fd(0x1bb)](_0xb631c6);const _0x35d7bc=window['setTimeout'](()=>{const _0x508f5c=_0x3083fd;this[_0x508f5c(0x35d)]['forEach'](_0x2a763e=>{const _0x28dd33=_0x508f5c;_0x2a763e[_0x28dd33(0x207)](_0xb631c6);});},_0x1f13d2*0x2);this[_0x3083fd(0x475)][_0x3083fd(0x287)](_0xb631c6,_0x35d7bc);}[_0x492c29(0x1bb)](_0x37e139){const _0x2ae5ba=_0x492c29;if(this[_0x2ae5ba(0x475)][_0x2ae5ba(0x485)](_0x37e139)){const _0x576713=this[_0x2ae5ba(0x475)]['get'](_0x37e139);_0x576713&&window[_0x2ae5ba(0x27d)](_0x576713),this[_0x2ae5ba(0x475)][_0x2ae5ba(0x287)](_0x37e139,null);}}[_0x492c29(0x285)](_0x2c27cd){const _0x8e7f13=_0x492c29,{memberID:_0x52bf9b,unitIDs:_0x2e5865}=_0x2c27cd;_0x2e5865[_0x8e7f13(0x296)](_0x5cbaef=>{const _0x5907f1=_0x8e7f13;var _0x4ccae2;const _0x38b315=this[_0x5907f1(0x35d)][_0x5907f1(0x385)](_0x5cbaef);_0x38b315&&(_0x38b315[_0x5907f1(0x207)](_0x52bf9b),(_0x4ccae2=this[_0x5907f1(0x1ea)](_0x5cbaef))==null||_0x4ccae2[_0x5907f1(0x349)](_0x38b315['size']===0x0?_0x308558[_0x5907f1(0x418)][_0x5907f1(0x2ad)]:_0x308558[_0x5907f1(0x418)][_0x5907f1(0x25f)]));}),this[_0x8e7f13(0x1bb)](_0x52bf9b);}[_0x492c29(0x2eb)](_0x24d413){const _0x2aa6d0=_0x492c29;this[_0x2aa6d0(0x371)](_0x24d413[_0x2aa6d0(0x218)]);}['_send'](_0x3d2701){const _0x5edfb4=_0x492c29;localStorage[_0x5edfb4(0x216)](_0x4511cb,JSON[_0x5edfb4(0x34d)](_0x3d2701));}['_scheduleHeartbeat'](){const _0x5e0856=_0x492c29;this[_0x5e0856(0x39f)]=window[_0x5e0856(0x424)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x1f13d2);}[_0x492c29(0x1ea)](_0x241f85){const _0x4a72bf=_0x492c29;return this[_0x4a72bf(0x361)][_0x4a72bf(0x485)](_0x241f85)||this[_0x4a72bf(0x361)][_0x4a72bf(0x287)](_0x241f85,new _0x27440d['BehaviorSubject'](_0x308558['UnitStatus'][_0x4a72bf(0x2ad)])),this['_unitStatus'][_0x4a72bf(0x385)](_0x241f85);}}_0x1ddbd2['IURLService']=_0x2dd234,_0x1ddbd2['SheetCollabCursorShape']=_0x3138b9,_0x1ddbd2['WebBrowserSingleActiveUnitService']=_0x598757,_0x1ddbd2['WebURLService']=_0x48aba0,Object[_0x492c29(0x239)](_0x1ddbd2,Symbol['toStringTag'],{'value':_0x492c29(0x1d9)});}));
|