@univerjs-pro/collaboration-client-ui 0.18.0 → 0.19.0
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/sk-SK.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/sk-SK.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/sk-SK.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/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x7d21(){const _0xcf5beb=['HEADER_MENU','reason','Disposable','UniverDesign','0.2)','isFormulaString','docStateChange$','getOffsetConfig','_messageService','SetWorksheetActivateCommand','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','@univerjs/sheets','popstate','_updateSubUnitFromURLParams','ILocalStorageService','UniverCollaborationClientUIPlugin','function','forEach','column','_collabCursorController','substring','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','runId','slice','_injector','unit','_memberService','_localeService','setActiveRange','source','packageName','enableLocalCache','LICENSE_IMPORT_SIZE_EXCEEDED','href','TEXT','COLORS','post','WECHAT_HAS_BEEN_BOUND','whenReady','_localStorageService','ENTITLE_REPORT_LIMIT_EXCEED','YUUMI_AI_RUN_FAILED','INTERNAL_ERROR','getTypeOfUnitDisposed$','toString','collaboration-client-ui.config','5299WKygQw','rgba','highlight','APPLY_REVISION_CONFILICT','debug','_anchor','colorChannel1','_beforeCloseService','_lastResponseTimestamp','defIds','MoveRangeCommandId','getMergeData','_cursors','session.collaboration-timeout','_clearOtherTimers','#FFF','@univerjs-pro/collaboration-client-ui','split','toStringTag','limitInfo','_startSheetCollabCursor','range','ENTITLE_CHAT_LIMIT_EXCEED','currentColor','_entities','isArray','result','catch','handleIRemoveRow','rgba(','permission.content','RxDisposable','IMessageService','TEXT_RANGE_LAYER_INDEX','_hasFormulaInDirtyRanges','_univerInstanceService','USER_NOT_FOUND','univer-flex\x20univer-items-center','newValue','/run/','_urlService','override','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ticket','DataLoaderService','handleMoveRange','handleInsertRangeMoveDown','ALREADY_EXISTS','version','_cachedData','UniverCollaborationClientPlugin','addClipboardHook','UNDEFINED',',\x200.2)','AWAITING_WITH_PENDING','_handleEvent','@univerjs/docs-ui','editingUnit','@univerjs/engine-render','startsWith','takeUntil','onPointerEnter$','setStateCache','_labelPosition','constructor','filter','UniverIcon','_range','_context','UniverSheetsUi','TRANSFORM_CHANGE_OBSERVABLE_TYPE','history','name','WebBrowserSingleActiveUnitService','toRgbString','_getScale','_status$','eventID','Injector','univerjs-icon\x20univerjs-icon-','path','stageInfo','drawWith','registerRenderModule','ENTITLE_DUP_SUBSCRIPTION','runRefRangeMutations','getTypeOfUnitAdded$','DOC_RANGE_TYPE','_roomMembers$','white','subscribeEvent','decorate','RegularPolygon','SetDocZoomRatioOperation','transformStateCache','_hover','LICENSE_EXPORT_SIZE_EXCEEDED','getCellPositionByOffset','CollaborationSocketService','event$','LICENSE_DISTRO_REJECTED','asObservable','unitId','CONNECTOR_DATA_TOO_LARGE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','USER_NOT_INVITED_CODE','code','getUndoRedoMutationParamsCache','HTTPService','_isBlinkVisible','createInstance','top','setAlpha','pushState','disableLocalCache','_backgroundColor','url(#off-line-icon_clip0_910_343)','EffectRefRangId','_initStatusComponent','_startCalculationLimit','_startBlinking','executeCommand','getSheetId','dispose','FETCH_MISS','purple.300','SUBMIT_CHANGESET_TIMEOUT','29114152NRWdsi','save','Warning','searchParams','USERS_LEAVE','init','RECT','NOT_FOUND','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docClipboardService','CommandType','InsertRangeMoveDownCommandId','EMAIL_HAS_BEEN_BOUND','now','/universer-api/frontend/logs','collabStatus.syncing','_pollingInterval','IConfigService','maxFormulaLimit','memberID','HEARTBEAT','_render','removeEventListener','[Window\x20Error]:\x20','FormulaExecuteStageType','_hovered','_getAnchorBounding','call','SessionStatus','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveRightCommandId','NodePositionConvertToRectRange','_removeClearOtherTimer','DocSkeletonManagerService','functionsExecutedState','START_CALCULATION','origin','collab-text-range-','subUnitId','IImageIoService','max','wsSessionTicketUrl','show','onTransformChange$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','YUUMI_SUBSCRIPTION_NOT_FOUND','row','stage','assign','imageSourceType','PY_RUNTIME_SCRIPT_ERROR','error','symbol','get','UnitStatus','JOIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','defineProperty','dirtyRanges','_session','getColorFromTheme','UNIVER_DOC','CollaborationEvent','application/json','isTransformMutationFailure','ENTITLE_USE_COUPON_NOT_1ST_TRADE','tag','_online','bind','fillStyle','LOCAL_CACHE_INTERVAL','unload','prototype','LEAVE','Workbook','debounce','_unitStatus','MessageType','_docTransformIMECacheService','size','_applyCommand','activeSheet$','black','onMouseMove','SYNCED','_commandService','undoState','setUndoRedoMutationParamsCache','YUUMI_URL_COL_OUT_OF_RANGE','useRef','has','location','runOnServer','_docTransformSelectionsService','reconnect','jsxs','_docSkeletonManagerService','TOO_MANY_REQUESTS','getSheetObject','_checkAndWaitForCalculationPermission','_getSessionTicket','LOGIN_TOKEN_PROCESSING_FAILED','measureText','_collabCursorState$','getCurrentRevOfUnit','MOBILE_HAS_BEEN_BOUND','type','replaceDocRanges','CURRENT_STATUS_CANNOT_OPERATE','_highlight','on-line-icon_clip0_910_349','backgroundColor','parse','onCommandExecuted','combineLatest','_toggleOffline','IUIPartsService','getItem','isTransformMutationsWithChangesetSuccess','getUnit','SheetCollabCursorShape','Shape','@univerjs/rpc','useObservable','ranges','min','registerRefRange','IRemoteInstanceService','_monkeyPatchLogService','getStateCache','transformMutationsWithChangeset','storage','m1Prime','onStarting','_ensureSubject','RemoteUniscriptService','transformSelections','onPointerLeave$','getFocusedUnit','_initDependencies','2660186dxNoVn','text','color','pipe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CHANGESET_REVISION_CONFILICT','getUniverSheetInstance','_uiPartsService','INVITE_CODE_ALREADY_BOUND','_refreshCollabCursors','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','?taskId=','join','_initEntityListener','string','fillText','_toggleOnline','getActiveRange','_releaseCalculationLimit','Rect','dispose$','ISnapshotServerService','message','[LogService\x20Error]:\x20','Vector2','skeleton','with','showText','Active','getLocalCacheKey','_showGuardMessage','delete','colno','_notificationService','getConfig','_syncEditingCollabCursorService','filename','5946328uKpcfi','MOBILE_VERIFY_CODE_MISMATCH','executionId','ERROR_AGAIN','permission.title','transformIMECache','getMemberID','clearInterval','unitID','_scheduleSaving','_initEvent','push','@univerjs/docs','_refRangeService','ColorKit','_entityInit$','loadUnit','key','collabCursorState$','add','deserializeRangeWithSheet','ENTITLE_COUPON_USED_UP','_textBubble','search','_eventUnsubscribe','\x20at\x20','mutations','CollaborationSessionService','hide','stringify','UPDATE_CURSOR','_initStatusListener','DocCollaborationEntity','_getSaveTimeout','offsetY','getRelativeToViewportCoord','url(#on-line-icon_clip0_910_349)','fromEventSubject','getColor','APPLY_PERMISSION_DENIED','createIdentifier','session.will-retry','_createSocketURL','BehaviorSubject','UniverNetwork','UNAUTHENTICATED','_docSyncEditingCollabCursorService','CollaborationController','enableFrontendLog','EMAIL_VERIFY_CODE_MISMATCH','setTimeout','deepClone','react','LocaleService','_cursorInfo$','Inactive','_getMergeRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collabStatus.notCollab','UniverEngineFormula','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.offline','...','labelPosition','params','UNRECOGNIZED','getCollabEntity$','currentUsage','911936DefKHY','createElement','IRenderManagerService','SUCCESS','setItem','_uploadLog','beforeCommandExecuted','_drawRectRange','RichTextEditingMutation','AUTHORIZE_CODE_ILLEGAL','getCurrentUnitForType','ENTITLE_COUPON_EXPIRED','_anchorDot','getViewport','exports','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','REDEMPTION_CODE_HAS_BEEN_CREATED','VIEW_MAIN','_taskIds','_unitOnClients','Inject','_handleHeartbeatEvent','_saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_UNABLE_LOAD_URL','syncEditingCollabCursor','getSheetBySheetId','SheetsSelectionsService','blue.400','USER_IS_ANONYMOUS','_updateLocalCursor','DocSelectionManagerService','APPLY_DUPLICATED','send','1096730edlwgE','@univerjs/design','flatMap','DeleteRangeMoveLeftCommandId','merge','red.300','_httpService','getValue','UniverInstanceType','cursorInfo','_colorAssignService','INVALID_ARGUMENT','PERMISSION_DENIED','_getFormulaLimitStatus','Error','arc','url(#$1','translate(.97)','sheetId','getUnitId','SetFormulaCalculationNotificationMutation','M0\x200H16V16H0z','doc.mutation.rich-text-editing','next','_blinkTimer','svg','getSkeleton','fill','_imageIoService','actions','clearTimeout','uni.network.url-service','_docStateChangeManagerService','SetFormulaCalculationStartMutation','setInterval','OFFLINE','_docTransformStateCacheService','LOCAL_CACHE_INTERVAL_KEY','transformMutation','set','m2Prime','getAncestorScale','getParam','PAYMENT_CHANNEL_NOT_SUPPORT','collaboration.closeRoom','_configService','_handleHover','_transformUndoRedoStack','_hideTimer','collaboration.offline-data-not-saved','transformByState','_instanceService','clipPath','engine','mergeOverrideWithDependencies','IDocClipboardService','isFormulaId','_initUserListener','cursorInfo$','totalFormulasToCalculate','_initResize','_updateURLWithCurrentState','endRow','assignAColorForMemberID','CollaborationUIEventId','use','Loading','_clearPolling','IURLService','touchDependencies','Failed','_scene','_lastPointer','replace','disposeUnit','UniverDocs','Unknown\x20user','DocIMEInputManagerService','clsx','addEventListener','ENTITLE_CAN_NOT_BUY_LOWER_OTP','round','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_cursor','evenodd','getCurrent','length','UniverProCollaborationClient','off-line-icon','REDEMPTION_CODE_FULLY_REDEEMED','requireSession','_blinkIntervalTimer','SheetSkeletonManagerService','Optional','_startDocCollabCursor','@univerjs/core','lineTo','isActive','parseInt','ENTITLE_NEED_BILLING_ADDRESS','_setupSubUnitSync','_handleLeaveEvent','UniverCore','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','unhandledrejection','values','_onCursorUpdate','_sheetSkeletonManagerService','_colorIndex','INVALID_INVITE_CODE','stack','CollaborationStatus','_registerRenderDependencies','NOT_COLLAB','Success','status$','SOCKET_FAILED','3323358tadJKN','connectInjector','on-line-icon','_collaborationController','UniverProCollaboration','@univerjs/network','useDependency','transformRemoteChangeset','rxjs/operators','rxjs','INotificationService','saveTaskMap','contains','roomMembers','_color','COMPLETION_FINISHED','invokeId','addObject','generateRandomId','ILogService','RevisionService','_currentUsage','collabStatus.fetchMiss','Plugin','getUnhiddenWorksheets','moveTo','OnLineIcon','getUnitStatus$','none','bottom','ENTITLE_INVALID_COUPON_CODE','Tooltip','_setupBeforeClosingHandler','OTHER_CLIENTS_EDITING','_handleJoinEvent','handleDeleteRangeMoveUp','_send','data','mask','selection','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_transformPreviousActiveRange','div','shareReplay','highlightSecond','all','idSuffix','getActiveSheet','_registerDependencies','Rectangle','loadOfflineData','_logService','_transformService','getCoordByCell','complete','handleInsertRangeMoveRight','_onRefRangeChange','_dataLoaderService','currentTheme$','map','@univerjs/drawing','green.600','startRow','subscribe','APPLY_REJECT','_showText','then','CONFLICT','YUUMI_NO_CUBOID_FOR_QUESTION','CLOSE_ROOM','React','_collaborationSessionService','onLocalMutation','IUniverInstanceService','http://www.w3.org/2000/svg','_renderManagerService','object','_memberID','sessionStatus$','UniverDrawing','registerComponent','from','session.connection-failed','ILocalCacheService','attrs','currentSkeleton$','NO_OTHER_CLIENTS_EDITING','lineno','iterator','height','InsertRowCommandId','createSocket','disposeWithMe','InsertColCommandId','saveOfflineData','getRangePointData','handleIRemoveCol','INVITE_CODE_REQUIRED','roomMembers$','DATA_SOURCE_TOO_LARGE','@univerjs/ui','setOffsetY','_collabSessionService','INVITE_CODE_HAS_BEEN_UES','entries','findNodePositionByCharIndex','textRanges','_removeCollabCursors','rgb','FromArray','_cursorShapes','getMember','SNAPSHOT_HAS_BEEN_REMOVED','unsubscribe','WebURLService','closePath','Tools','_localCacheService','restore','startColumn','beginPath','_scheduleClearOtherTimer','_themeService','subunit','_setFormulaLimitStatus','_heartbeatTimer','fromEvent','getRenderById','useCallback','CollaborationDataLoaderController','redoState','9924Owtvxk','APPLY_NON_SEQUENTIAL_REVISION','_shapes','YUUMI_CONNECTOR_URL_NOT_FOUND','@univerjs-pro/collaboration-client','triggerDblclick','/universer-api/license/formula/limit/start','WebSocketService','collab-text-anchor-','YUUMI_ASYNCIO_CANCELLED','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','ENTITLE_INSUFFICIENT_QUOTA','_drawAnchor','debounceTime','pluginName','_collaborationUIEventService','_id','sessionTicket','children','DisposableCollection','getFormulaLimitStatusUrl','OTHER_CLIENT_EDITING','jsx','_revisionService','0\x200\x2016\x2016','_init','RemoveColCommandId','_selfUnitIDs','collab-client.tooltip.reconnect','width','startFormulaLimitUrl','onPointerMove$','_doCreateSocket','REDEMPTION_USER_NOT_ELIGIBLE','_assignedColors','collab-rect-range-','REDEMPTION_CODE_INACTIVE','_draw','_getLighterColor','ONLINE','_onCursorDelete','UNIVER_SHEET','ITransformService','setConfig','getDocRanges','getCollabCursors$','9aIEdAW','releaseFormulaLimitUrl','PENDING','forwardRef','DependentOn','/universer-api/license/formula/limit/status','_getSheetObject','includes','collabStatus.synced','displayName','_maxFormulaLimit','setShapeProps','toDisposable','DeleteRangeMoveUpCommandId','_document','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','1em','_config','_updateCollabCursors','off-line-icon_clip0_910_343','switchMap','unshift','formula.calculation.unable','_checkCalculationAvailable','YUUMI_ALL_TABLES_IS_INVALID','_offsetY','shift','_highlightSecond','_name','_stopBlinking','body','_drawTextRange','DocStateChangeManagerService','ICommandService','OffLineIcon','[CollaborationDataLoaderController]','defs','replaceState','makeDirty','_saveCache','_disabled','some','ThemeService','YUUMI_RATE_OVER_LIMIT'];_0x7d21=function(){return _0xcf5beb;};return _0x7d21();}function _0x1749(_0xd16cb,_0x286cf9){_0xd16cb=_0xd16cb-0x10f;const _0x7d2193=_0x7d21();let _0x174918=_0x7d2193[_0xd16cb];return _0x174918;}(function(_0x3c683b,_0x22a0bc){const _0xb015ed=_0x1749,_0x21e7dd=_0x3c683b();while(!![]){try{const _0x47b288=-parseInt(_0xb015ed(0x1a3))/0x1+-parseInt(_0xb015ed(0x13a))/0x2+-parseInt(_0xb015ed(0x23a))/0x3+parseInt(_0xb015ed(0x15f))/0x4+parseInt(_0xb015ed(0x1c5))/0x5+-parseInt(_0xb015ed(0x2bd))/0x6*(parseInt(_0xb015ed(0x346))/0x7)+-parseInt(_0xb015ed(0x3c5))/0x8*(-parseInt(_0xb015ed(0x2ec))/0x9);if(_0x47b288===_0x22a0bc)break;else _0x21e7dd['push'](_0x21e7dd['shift']());}catch(_0x3dcc98){_0x21e7dd['push'](_0x21e7dd['shift']());}}}(_0x7d21,0xb5788),function(_0x11f007,_0x4563db){const _0x229693=_0x1749;typeof exports==_0x229693(0x286)&&typeof module<'u'?_0x4563db(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x229693(0x328)&&define['amd']?define([_0x229693(0x1b1),_0x229693(0x2c1),_0x229693(0x224),_0x229693(0x29e),_0x229693(0x243),_0x229693(0x1c6),_0x229693(0x193),'react/jsx-runtime',_0x229693(0x128),_0x229693(0x323),_0x229693(0x380),_0x229693(0x23f),_0x229693(0x37e),_0x229693(0x276),'@univerjs-pro/collaboration',_0x229693(0x16b),_0x229693(0x2c8),_0x229693(0x242),'@univerjs/sheets-ui'],_0x4563db):(_0x11f007=typeof globalThis<'u'?globalThis:_0x11f007||self,_0x4563db(_0x11f007['UniverProCollaborationClientUi']={},_0x11f007[_0x229693(0x21c)],_0x11f007[_0x229693(0x22b)],_0x11f007['UniverUi'],_0x11f007[_0x229693(0x243)],_0x11f007[_0x229693(0x31b)],_0x11f007[_0x229693(0x280)],_0x11f007[_0x229693(0x280)],_0x11f007['UniverRpc'],_0x11f007['UniverSheets'],_0x11f007['UniverEngineRender'],_0x11f007[_0x229693(0x18b)],_0x11f007['UniverDocsUi'],_0x11f007[_0x229693(0x289)],_0x11f007[_0x229693(0x23e)],_0x11f007[_0x229693(0x210)],_0x11f007[_0x229693(0x19a)],_0x11f007[_0x229693(0x243)]['operators'],_0x11f007[_0x229693(0x38b)]));}(this,function(_0x22d456,_0x590dd7,_0x1b3dd9,_0x18fc70,_0x2a7259,_0x664d08,_0x3be816,_0x519c9e,_0x3efa64,_0x5f0670,_0x3f9dd4,_0x57fbee,_0x191e18,_0x388b72,_0x4795bc,_0x72742f,_0x2e4567,_0x5b3727,_0x1b5d7d){const _0x66a763=_0x1749;Object[_0x66a763(0x3fe)](_0x22d456,Symbol[_0x66a763(0x358)],{'value':'Module'});function _0x424abb({ref:_0x53e278,..._0x250f51}){const _0x1015d1=_0x66a763;let {icon:_0x59af9f,id:_0x15737e,className:_0x4300a7,extend:_0x152097,..._0x379513}=_0x250f51,_0x29fb4e=(_0x1015d1(0x395)+_0x15737e+'\x20'+(_0x4300a7||''))['trim'](),_0x3f2dc4=(0x0,_0x3be816[_0x1015d1(0x41e)])('_'+_0x5c9dc1());return _0x3c903b(_0x59af9f,''+_0x15737e,{'defIds':_0x59af9f[_0x1015d1(0x34f)],'idSuffix':_0x3f2dc4['current']},{'ref':_0x53e278,'className':_0x29fb4e,..._0x379513},_0x152097);}function _0x3c903b(_0x395dfc,_0x474bba,_0x5afe58,_0x45e014,_0x3c1d4b){const _0x4dd172=_0x66a763;return(0x0,_0x3be816['createElement'])(_0x395dfc[_0x4dd172(0x407)],{'key':_0x474bba,..._0x15c280(_0x395dfc,_0x5afe58,_0x3c1d4b),..._0x45e014},(_0x10385a(_0x395dfc,_0x5afe58)[_0x4dd172(0x2d0)]||[])[_0x4dd172(0x275)]((_0x37e5f2,_0x5bae1a)=>_0x3c903b(_0x37e5f2,_0x474bba+'-'+_0x395dfc[_0x4dd172(0x407)]+'-'+_0x5bae1a,_0x5afe58,void 0x0,_0x3c1d4b)));}function _0x15c280(_0x535660,_0x55318b,_0x32be57){const _0x484cbd=_0x66a763;let _0x5e57f9={..._0x535660[_0x484cbd(0x28e)]};_0x32be57!=null&&_0x32be57[_0x484cbd(0x34c)]&&_0x5e57f9[_0x484cbd(0x1e0)]==='colorChannel1'&&(_0x5e57f9[_0x484cbd(0x1e0)]=_0x32be57['colorChannel1']),_0x535660[_0x484cbd(0x407)]===_0x484cbd(0x260)&&_0x5e57f9['id']&&(_0x5e57f9['id']+=_0x55318b[_0x484cbd(0x268)]),Object['entries'](_0x5e57f9)['forEach'](([_0x154c81,_0x917b53])=>{const _0x8166d9=_0x484cbd;_0x154c81===_0x8166d9(0x260)&&typeof _0x917b53=='string'&&(_0x5e57f9[_0x154c81]=_0x917b53[_0x8166d9(0x20e)](/url\(#(.*)\)/,_0x8166d9(0x1d5)+_0x55318b[_0x8166d9(0x268)]+')'));});let {defIds:_0x40423e}=_0x55318b;return!_0x40423e||_0x40423e['length']===0x0?_0x5e57f9:(_0x535660[_0x484cbd(0x407)]===_0x484cbd(0x206)&&_0x5e57f9['xlink:href']&&(_0x5e57f9['xlink:href']+=_0x55318b[_0x484cbd(0x268)]),Object[_0x484cbd(0x2a2)](_0x5e57f9)[_0x484cbd(0x329)](([_0x3d66be,_0x5b013d])=>{const _0x26bd9d=_0x484cbd;typeof _0x5b013d=='string'&&(_0x5e57f9[_0x3d66be]=_0x5b013d['replace'](/url\(#(.*)\)/,_0x26bd9d(0x1d5)+_0x55318b[_0x26bd9d(0x268)]+')'));}),_0x5e57f9);}function _0x10385a(_0x344546,_0xd22332){const _0x1620de=_0x66a763;var _0x3cf58d;let {defIds:_0x31f362}=_0xd22332;return!_0x31f362||_0x31f362[_0x1620de(0x21b)]===0x0?_0x344546:_0x344546[_0x1620de(0x407)]===_0x1620de(0x310)&&(_0x3cf58d=_0x344546['children'])!=null&&_0x3cf58d[_0x1620de(0x21b)]?{..._0x344546,'children':_0x344546[_0x1620de(0x2d0)][_0x1620de(0x275)](_0x32acc5=>typeof _0x32acc5['attrs']['id']==_0x1620de(0x148)&&_0x31f362&&_0x31f362[_0x1620de(0x2f3)](_0x32acc5['attrs']['id'])?{..._0x32acc5,'attrs':{..._0x32acc5[_0x1620de(0x28e)],'id':_0x32acc5[_0x1620de(0x28e)]['id']+_0xd22332['idSuffix']}}:_0x32acc5)}:_0x344546;}function _0x5c9dc1(){const _0x1f4db3=_0x66a763;return Math['random']()[_0x1f4db3(0x344)](0x24)[_0x1f4db3(0x32c)](0x2,0x8);}_0x424abb[_0x66a763(0x2f5)]=_0x66a763(0x388);let _0x18ebbd={'tag':_0x66a763(0x1de),'attrs':{'xmlns':_0x66a763(0x284),'fill':_0x66a763(0x256),'viewBox':_0x66a763(0x2d6),'width':_0x66a763(0x2fc),'height':_0x66a763(0x2fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x66a763(0x3ba)},'children':[{'tag':_0x66a763(0x396),'attrs':{'stroke':_0x66a763(0x35d),'d':_0x66a763(0x1b2),'strokeLinecap':_0x66a763(0x216),'strokeLinejoin':_0x66a763(0x216),'strokeWidth':1.2}}]},{'tag':_0x66a763(0x310),'attrs':{},'children':[{'tag':_0x66a763(0x1f9),'attrs':{'id':_0x66a763(0x2ff)},'children':[{'tag':'path','attrs':{'fill':_0x66a763(0x39f),'d':_0x66a763(0x1da)}}]}]}],'defIds':[_0x66a763(0x2ff)]},_0x4cefad=(0x0,_0x3be816[_0x66a763(0x2ef)])(function(_0x20f1b1,_0x2caa7b){const _0x4665fd=_0x66a763;return(0x0,_0x3be816[_0x4665fd(0x1a4)])(_0x424abb,Object[_0x4665fd(0x3f5)]({},_0x20f1b1,{'id':_0x4665fd(0x21d),'ref':_0x2caa7b,'icon':_0x18ebbd}));});_0x4cefad[_0x66a763(0x2f5)]=_0x66a763(0x30e);let _0x36d626={'tag':'svg','attrs':{'xmlns':_0x66a763(0x284),'fill':_0x66a763(0x256),'viewBox':'0\x200\x2017\x2016','width':_0x66a763(0x2fc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x66a763(0x183)},'children':[{'tag':_0x66a763(0x396),'attrs':{'stroke':_0x66a763(0x35d),'d':_0x66a763(0x322),'strokeLinecap':_0x66a763(0x216),'strokeLinejoin':_0x66a763(0x216),'strokeWidth':1.2}}]},{'tag':_0x66a763(0x310),'attrs':{},'children':[{'tag':_0x66a763(0x1f9),'attrs':{'id':_0x66a763(0x11c)},'children':[{'tag':_0x66a763(0x396),'attrs':{'fill':_0x66a763(0x39f),'d':_0x66a763(0x1da),'transform':_0x66a763(0x1d6)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x11c58f=(0x0,_0x3be816[_0x66a763(0x2ef)])(function(_0x2a667a,_0x31ff7c){const _0x540837=_0x66a763;return(0x0,_0x3be816[_0x540837(0x1a4)])(_0x424abb,Object[_0x540837(0x3f5)]({},_0x2a667a,{'id':_0x540837(0x23c),'ref':_0x31ff7c,'icon':_0x36d626}));});_0x11c58f[_0x66a763(0x2f5)]=_0x66a763(0x254);function _0x45015f(_0x12a00d){const _0x1e1897=_0x66a763;switch(_0x12a00d){case _0x590dd7['CollaborationStatus'][_0x1e1897(0x1e8)]:return _0x1e1897(0x19c);case _0x590dd7[_0x1e1897(0x234)][_0x1e1897(0x27d)]:return'collabStatus.conflict';case _0x590dd7[_0x1e1897(0x234)][_0x1e1897(0x3c2)]:return _0x1e1897(0x250);case _0x590dd7['CollaborationStatus']['NOT_COLLAB']:return _0x1e1897(0x199);case _0x590dd7['CollaborationStatus']['AWAITING']:case _0x590dd7[_0x1e1897(0x234)][_0x1e1897(0x37c)]:return _0x1e1897(0x3d4);case _0x590dd7['CollaborationStatus'][_0x1e1897(0x419)]:case _0x590dd7[_0x1e1897(0x234)][_0x1e1897(0x2ee)]:return _0x1e1897(0x2f4);}}function _0xc173fa(_0xbbca70){const _0x17b803=_0x66a763;let {status$:_0x4a0bb7}=_0xbbca70,_0x22c52a=(0x0,_0x18fc70[_0x17b803(0x129)])(_0x4a0bb7,_0x590dd7['CollaborationStatus'][_0x17b803(0x236)]),_0x594cbe=(0x0,_0x18fc70['useDependency'])(_0x1b3dd9[_0x17b803(0x194)]),_0x3d4b83=(0x0,_0x18fc70[_0x17b803(0x240)])(_0x590dd7[_0x17b803(0x17a)]),_0x37e6da=_0x22c52a!==_0x590dd7[_0x17b803(0x234)][_0x17b803(0x1e8)],_0x2a30bd=_0x594cbe['t'](_0x45015f(_0x22c52a)),_0x253094=_0x37e6da?(0x0,_0x519c9e['jsx'])(_0x11c58f,{}):(0x0,_0x519c9e['jsx'])(_0x4cefad,{}),_0x39d3b3=(0x0,_0x3be816[_0x17b803(0x2ba)])(()=>{const _0x2fbeea=_0x17b803;_0x37e6da||_0x3d4b83[_0x2fbeea(0x423)]();},[_0x37e6da,_0x3d4b83]);function _0x331f61(){const _0x213846=_0x17b803;return(0x0,_0x519c9e[_0x213846(0x424)])(_0x213846(0x264),{'className':_0x213846(0x36b),'onClick':_0x39d3b3,'children':[(0x0,_0x519c9e[_0x213846(0x2d4)])(_0x213846(0x264),{'className':(0x0,_0x664d08[_0x213846(0x213)])('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x37e6da,'univer-text-red-500':!_0x37e6da}),'children':_0x253094}),(0x0,_0x519c9e[_0x213846(0x2d4)])(_0x213846(0x264),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2a30bd})]});}return _0x37e6da?_0x331f61():(0x0,_0x519c9e[_0x17b803(0x2d4)])(_0x664d08[_0x17b803(0x259)],{'title':_0x594cbe['t'](_0x17b803(0x2da)),'children':_0x331f61()});}function _0x4fb53c(_0x11aa0e){'@babel/helpers - typeof';const _0x2d5429=_0x66a763;return _0x4fb53c=typeof Symbol=='function'&&typeof Symbol[_0x2d5429(0x292)]==_0x2d5429(0x3f9)?function(_0xddb99c){return typeof _0xddb99c;}:function(_0x2e2de8){const _0x33bd55=_0x2d5429;return _0x2e2de8&&typeof Symbol==_0x33bd55(0x328)&&_0x2e2de8[_0x33bd55(0x386)]===Symbol&&_0x2e2de8!==Symbol[_0x33bd55(0x40d)]?'symbol':typeof _0x2e2de8;},_0x4fb53c(_0x11aa0e);}function _0x33ed62(_0x3357b8,_0x14ea93){const _0x5122e6=_0x66a763;if(_0x4fb53c(_0x3357b8)!='object'||!_0x3357b8)return _0x3357b8;var _0x135d34=_0x3357b8[Symbol['toPrimitive']];if(_0x135d34!==void 0x0){var _0x17fe22=_0x135d34[_0x5122e6(0x3e0)](_0x3357b8,_0x14ea93||'default');if(_0x4fb53c(_0x17fe22)!='object')return _0x17fe22;throw TypeError(_0x5122e6(0x370));}return(_0x14ea93===_0x5122e6(0x148)?String:Number)(_0x3357b8);}function _0x15ce50(_0x57e50b){const _0x2a71b5=_0x66a763;var _0x19a03a=_0x33ed62(_0x57e50b,_0x2a71b5(0x148));return _0x4fb53c(_0x19a03a)=='symbol'?_0x19a03a:_0x19a03a+'';}function _0x1d6097(_0x350e54,_0xc93360,_0x5c2392){return(_0xc93360=_0x15ce50(_0xc93360))in _0x350e54?Object['defineProperty'](_0x350e54,_0xc93360,{'value':_0x5c2392,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x350e54[_0xc93360]=_0x5c2392,_0x350e54;}function _0x3942dc(_0x507a90,_0x6d1378){return function(_0x4a8470,_0x59a374){_0x6d1378(_0x4a8470,_0x59a374,_0x507a90);};}function _0x23cdbf(_0x4754c2,_0x450274,_0x1866db,_0x364d94){const _0x22619e=_0x66a763;var _0x370b28=arguments[_0x22619e(0x21b)],_0x1126f4=_0x370b28<0x3?_0x450274:_0x364d94===null?_0x364d94=Object['getOwnPropertyDescriptor'](_0x450274,_0x1866db):_0x364d94,_0x3fd012;if(typeof Reflect==_0x22619e(0x286)&&typeof Reflect[_0x22619e(0x3a1)]==_0x22619e(0x328))_0x1126f4=Reflect[_0x22619e(0x3a1)](_0x4754c2,_0x450274,_0x1866db,_0x364d94);else{for(var _0x69e84e=_0x4754c2['length']-0x1;_0x69e84e>=0x0;_0x69e84e--)(_0x3fd012=_0x4754c2[_0x69e84e])&&(_0x1126f4=(_0x370b28<0x3?_0x3fd012(_0x1126f4):_0x370b28>0x3?_0x3fd012(_0x450274,_0x1866db,_0x1126f4):_0x3fd012(_0x450274,_0x1866db))||_0x1126f4);}return _0x370b28>0x3&&_0x1126f4&&Object[_0x22619e(0x3fe)](_0x450274,_0x1866db,_0x1126f4),_0x1126f4;}let _0x5185bd=class extends _0x1b3dd9['Disposable']{constructor(_0x557729,_0x51d2ed,_0xd2205c,_0x43f14f){const _0x10ef96=_0x66a763;super(),this['_univerInstanceService']=_0x557729,this[_0x10ef96(0x330)]=_0x51d2ed,this['_collaborationController']=_0xd2205c,this[_0x10ef96(0x141)]=_0x43f14f,_0x1d6097(this,_0x10ef96(0x392),new _0x2a7259['BehaviorSubject'](_0x590dd7[_0x10ef96(0x234)][_0x10ef96(0x236)])),this[_0x10ef96(0x3bc)](),this['_initStatusListener']();}[_0x66a763(0x17e)](){const _0x253e12=_0x66a763;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x253e12(0x13d)]((0x0,_0x2a7259[_0x253e12(0x300)])(()=>{const _0x34c921=_0x253e12;let _0x3a04b0=this[_0x34c921(0x369)][_0x34c921(0x138)]();return _0x3a04b0?this[_0x34c921(0x23d)][_0x34c921(0x1a1)](_0x3a04b0[_0x34c921(0x1d8)]()):(0x0,_0x2a7259['of'])(null);}),(0x0,_0x2a7259['switchMap'])(_0x802b1c=>_0x802b1c?_0x802b1c[_0x253e12(0x238)]:(0x0,_0x2a7259['of'])(_0x590dd7[_0x253e12(0x234)]['NOT_COLLAB'])))[_0x253e12(0x279)](_0x3c7130=>{const _0x411877=_0x253e12;this[_0x411877(0x392)][_0x411877(0x1dc)](_0x3c7130);}));}[_0x66a763(0x3bc)](){const _0x1926d5=_0x66a763;this[_0x1926d5(0x296)](this['_uiPartsService'][_0x1926d5(0x28a)](_0x18fc70['BuiltInUIPart'][_0x1926d5(0x318)],()=>(0x0,_0x18fc70[_0x1926d5(0x23b)])(_0x39756d({'status$':this[_0x1926d5(0x392)][_0x1926d5(0x3ab)]()}),this[_0x1926d5(0x330)])));}};_0x5185bd=_0x23cdbf([_0x3942dc(0x0,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7['CollaborationController'])),_0x3942dc(0x3,_0x18fc70[_0x66a763(0x122)])],_0x5185bd);function _0x39756d(_0x16023e){let {status$:_0x4d24e4}=_0x16023e;return function(){const _0x4099b0=_0x1749;return(0x0,_0x519c9e[_0x4099b0(0x2d4)])(_0xc173fa,{'status$':_0x4d24e4});};}let _0x15d5a4=(0x0,_0x1b3dd9[_0x66a763(0x187)])(_0x66a763(0x1e4)),_0x2a20fe=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(_0x364739,_0x36a21c,_0x15f55a,_0x3e278c,_0xb05923){const _0x45a77d=_0x66a763;super(),this[_0x45a77d(0x36e)]=_0x364739,this[_0x45a77d(0x26d)]=_0x36a21c,this[_0x45a77d(0x41a)]=_0x15f55a,this['_dataLoaderService']=_0x3e278c,_0xb05923?_0xb05923==null||_0xb05923[_0x45a77d(0x33e)]()[_0x45a77d(0x27c)](()=>this[_0x45a77d(0x2d7)]()):(this[_0x45a77d(0x26d)][_0x45a77d(0x34a)](_0x45a77d(0x30f),_0x45a77d(0x13e)),this[_0x45a77d(0x2d7)]());}async[_0x66a763(0x2d7)](){const _0x3708bf=_0x66a763;let _0xb8a77f=this[_0x3708bf(0x36e)][_0x3708bf(0x1ef)](_0x3708bf(0x331)),_0x32430e=this[_0x3708bf(0x36e)]['getParam'](_0x3708bf(0x118)),_0x4449d3=this[_0x3708bf(0x36e)]['getParam'](_0x3708bf(0x2b5));if(!_0xb8a77f||!_0x32430e){this[_0x3708bf(0x26d)][_0x3708bf(0x34a)](_0x3708bf(0x30f),_0x3708bf(0x32d));return;}let _0x49c92a=await this[_0x3708bf(0x273)][_0x3708bf(0x16f)](_0xb8a77f,Number(_0x32430e),_0x4449d3);_0x49c92a&&_0x49c92a instanceof _0x1b3dd9[_0x3708bf(0x40f)]&&this['_setupSubUnitSync'](_0x49c92a);}async[_0x66a763(0x229)](_0x136c5c){const _0x140e8a=_0x66a763;await this[_0x140e8a(0x325)](_0x136c5c),_0x136c5c[_0x140e8a(0x416)][_0x140e8a(0x13d)]((0x0,_0x2a7259[_0x140e8a(0x382)])(this[_0x140e8a(0x14e)]))['subscribe'](_0x32dec5=>{const _0x20900c=_0x140e8a;_0x32dec5&&this[_0x20900c(0x202)](_0x32dec5);}),this['_urlService']['urlChange$'][_0x140e8a(0x13d)]((0x0,_0x2a7259[_0x140e8a(0x382)])(this[_0x140e8a(0x14e)]))[_0x140e8a(0x279)](()=>this['_updateSubUnitFromURLParams'](_0x136c5c));}[_0x66a763(0x202)](_0x1f5367,_0x5d2ee3=!0x1){const _0xe86a0=_0x66a763;let _0x244517=this[_0xe86a0(0x36e)]['getParam'](_0xe86a0(0x2b5));_0x1f5367[_0xe86a0(0x3c0)]()!==_0x244517&&this[_0xe86a0(0x36e)]['setParam'](_0xe86a0(0x2b5),_0x1f5367[_0xe86a0(0x3c0)](),_0x5d2ee3);}async[_0x66a763(0x325)](_0x4047d4){const _0x4c4d7b=_0x66a763;var _0x4f9515;let _0x1996a8=this['_urlService']['getParam']('subunit');if(!_0x1996a8||!_0x4047d4[_0x4c4d7b(0x1bd)](_0x1996a8)){let _0x2781f9=_0x4047d4[_0x4c4d7b(0x252)]()[0x0],_0x358da2=_0x4047d4['getSheetBySheetId'](_0x2781f9);if(!_0x358da2)return;this[_0x4c4d7b(0x202)](_0x358da2,!0x0),await this[_0x4c4d7b(0x41a)][_0x4c4d7b(0x3bf)](_0x5f0670['SetWorksheetActivateCommand']['id'],{'unitId':_0x4047d4[_0x4c4d7b(0x1d8)](),'subUnitId':_0x2781f9});return;}((_0x4f9515=_0x4047d4[_0x4c4d7b(0x269)]())==null?void 0x0:_0x4f9515['getSheetId']())!==_0x1996a8&&await this[_0x4c4d7b(0x41a)]['executeCommand'](_0x5f0670[_0x4c4d7b(0x321)]['id'],{'unitId':_0x4047d4[_0x4c4d7b(0x1d8)](),'subUnitId':_0x1996a8});}};_0x2a20fe=_0x23cdbf([_0x3942dc(0x0,_0x15d5a4),_0x3942dc(0x1,_0x1b3dd9[_0x66a763(0x24d)]),_0x3942dc(0x2,_0x1b3dd9[_0x66a763(0x30d)]),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7[_0x66a763(0x372)])),_0x3942dc(0x4,(0x0,_0x1b3dd9[_0x66a763(0x222)])(_0x3efa64[_0x66a763(0x12d)]))],_0x2a20fe);var _0x467354=_0x66a763(0x356),_0xf272ea='0.18.0';let _0x54750b=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(_0x179ba9,_0x3c34e6){const _0x42466f=_0x66a763;super(),this['_docClipboardService']=_0x179ba9,this[_0x42466f(0x1e1)]=_0x3c34e6,this[_0x42466f(0x2d7)]();}[_0x66a763(0x2d7)](){const _0x40d9f3=_0x66a763;let _0x47534a=this;this[_0x40d9f3(0x296)](this[_0x40d9f3(0x3ce)][_0x40d9f3(0x379)]({'onBeforePasteImage':async _0x301dcf=>{const _0x581d6f=_0x40d9f3;let _0x20b394=await _0x47534a[_0x581d6f(0x1e1)]['saveImage'](_0x301dcf);return _0x20b394?{'source':_0x20b394[_0x581d6f(0x335)],'imageSourceType':_0x20b394[_0x581d6f(0x3f6)]}:null;}}));}};_0x54750b=_0x23cdbf([_0x3942dc(0x0,_0x191e18[_0x66a763(0x1fc)]),_0x3942dc(0x1,_0x388b72[_0x66a763(0x3ec)])],_0x54750b);let _0x55eecf=[_0x66a763(0x3c3),'jiqing.500',_0x66a763(0x277),_0x66a763(0x1ca),_0x66a763(0x1bf),'yellow.400'];var _0x47813f=class extends _0x1b3dd9[_0x66a763(0x31a)]{constructor(..._0x3cdef5){const _0x932519=_0x66a763;super(..._0x3cdef5),_0x1d6097(this,_0x932519(0x2e0),new Map()),_0x1d6097(this,'_colorIndex',0x0);}[_0x66a763(0x204)](_0xce9325){const _0x1f5d74=_0x66a763;if(this[_0x1f5d74(0x2e0)][_0x1f5d74(0x41f)](_0xce9325))return this[_0x1f5d74(0x2e0)][_0x1f5d74(0x3fa)](_0xce9325);let _0x3c9514=_0x55eecf[this[_0x1f5d74(0x231)]];return this[_0x1f5d74(0x231)]=(this['_colorIndex']+0x1)%_0x55eecf['length'],this[_0x1f5d74(0x2e0)]['set'](_0xce9325,_0x3c9514),_0x3c9514;}},_0x1ae0d0=function(_0xda221a){const _0x3b3351=_0x66a763;return _0xda221a[_0x3b3351(0x156)]='1',_0xda221a[_0x3b3351(0x196)]='0',_0xda221a;}(_0x1ae0d0||{});function _0x3d6915(_0x4dfea3){const _0x4b02a2=_0x66a763;let _0x1dbbfa='';for(let _0x45a55b of _0x4dfea3){let {startOffset:_0x57942b,endOffset:_0x4e48c8,isActive:_0x5989f6,rangeType:_0x26318a,segmentId:_0x596cec,segmentPage:_0x288716}=_0x45a55b;_0x1dbbfa[_0x4b02a2(0x21b)]&&(_0x1dbbfa+=','),_0x1dbbfa+=_0x57942b+':'+_0x4e48c8+':'+(_0x5989f6?_0x1ae0d0[_0x4b02a2(0x156)]:_0x1ae0d0['Inactive'])+':'+_0x26318a+':'+_0x596cec+':'+_0x288716;}return _0x1dbbfa;}function _0x122649(_0x5ee5f0){const _0x24c701=_0x66a763;let _0x200e6c=_0x5ee5f0[_0x24c701(0x357)](','),_0x3282a8=[];for(let _0x13a151 of _0x200e6c){let [_0x5a11d8,_0x5f4c94,_0x3eb0ce,_0x48d4ab,_0x2d9a61,_0x3a3448]=_0x13a151[_0x24c701(0x357)](':');_0x3282a8[_0x24c701(0x16a)]({'startOffset':Number(_0x5a11d8),'endOffset':Number(_0x5f4c94),'collapsed':_0x5a11d8===_0x5f4c94,'isActive':_0x3eb0ce===_0x1ae0d0['Active'],'rangeType':_0x48d4ab===_0x1b3dd9[_0x24c701(0x39d)][_0x24c701(0x33a)]?_0x1b3dd9['DOC_RANGE_TYPE']['TEXT']:_0x1b3dd9[_0x24c701(0x39d)][_0x24c701(0x3cb)],'segmentId':typeof _0x2d9a61==_0x24c701(0x148)?String(_0x2d9a61):'','segmentPage':Number(_0x3a3448==null?-0x1:_0x3a3448)});}return _0x3282a8[_0x24c701(0x315)](_0x334747=>_0x334747[_0x24c701(0x226)])||(_0x3282a8[0x0]['isActive']=!0x0),_0x3282a8;}var _0x24b9e2=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(..._0xe1c322){const _0x3333d2=_0x66a763;super(..._0xe1c322),_0x1d6097(this,_0x3333d2(0x115),new _0x2a7259[(_0x3333d2(0x18a))](null)),_0x1d6097(this,_0x3333d2(0x171),this[_0x3333d2(0x115)][_0x3333d2(0x3ab)]());}[_0x66a763(0x1bc)](_0xdcb05b){const _0xa00d49=_0x66a763;let {unitID:_0x532b4b,memberID:_0x2700e2,textRanges:_0x4e5b93}=_0xdcb05b,_0x3b585c=_0x3d6915(_0x4e5b93);if(_0x3b585c==='')return;let _0x5681ab={'unitID':_0x532b4b,'memberID':_0x2700e2,'selection':_0x3b585c};this[_0xa00d49(0x115)]['next'](_0x5681ab);}};let _0x459412=class extends _0x1b3dd9['RxDisposable']{get['cursorInfo'](){const _0x4e33b8=_0x66a763;return this['_cursorInfo$'][_0x4e33b8(0x1cc)]();}get['roomMembers'](){const _0x377f83=_0x66a763;return this['_roomMembers$'][_0x377f83(0x1cc)]();}constructor(_0x3f986a,_0x38e349,_0x1749ad,_0x314c4a,_0x29a660,_0x3329fd,_0x57c8e0,_0x41184b,_0x3c274d){const _0x3ab88e=_0x66a763;super(),this[_0x3ab88e(0x167)]=_0x3f986a,this[_0x3ab88e(0x400)]=_0x38e349,this[_0x3ab88e(0x330)]=_0x1749ad,this['_colorAssignService']=_0x314c4a,this[_0x3ab88e(0x332)]=_0x29a660,this[_0x3ab88e(0x15d)]=_0x3329fd,this[_0x3ab88e(0x26e)]=_0x57c8e0,this[_0x3ab88e(0x369)]=_0x41184b,this['_commandService']=_0x3c274d,_0x1d6097(this,_0x3ab88e(0x408),!0x1),_0x1d6097(this,_0x3ab88e(0x2d7),!0x1),_0x1d6097(this,_0x3ab88e(0x195),new _0x2a7259[(_0x3ab88e(0x18a))](new Map())),_0x1d6097(this,_0x3ab88e(0x1ff),this['_cursorInfo$']['asObservable']()),_0x1d6097(this,_0x3ab88e(0x39e),new _0x2a7259[(_0x3ab88e(0x18a))]([])),_0x1d6097(this,_0x3ab88e(0x29c),this[_0x3ab88e(0x39e)]['pipe']((0x0,_0x2a7259['debounceTime'])(0x12c))),_0x1d6097(this,'_updateLocalCursor',(0x0,_0x1b3dd9[_0x3ab88e(0x410)])(_0x4fb95b=>{const _0x50346e=_0x3ab88e;let _0x4863ec={'eventID':_0x4795bc[_0x50346e(0x403)][_0x50346e(0x17d)],'data':{'unitID':this['unitID'],'memberID':this[_0x50346e(0x400)][_0x50346e(0x165)](),'selection':_0x3d6915(_0x4fb95b)}};this[_0x50346e(0x400)]['send'](_0x4863ec,this[_0x50346e(0x167)]);},0x64));}[_0x66a763(0x3c1)](){const _0x5ba267=_0x66a763;super['dispose'](),this[_0x5ba267(0x195)][_0x5ba267(0x1dc)](new Map()),this[_0x5ba267(0x195)][_0x5ba267(0x270)](),this[_0x5ba267(0x39e)][_0x5ba267(0x1dc)]([]),this['_roomMembers$'][_0x5ba267(0x270)]();}[_0x66a763(0x3ca)](){const _0x383c85=_0x66a763;this[_0x383c85(0x2d7)]||(this[_0x383c85(0x2d7)]=!0x0,this[_0x383c85(0x400)]['sessionStatus$'][_0x383c85(0x13d)]((0x0,_0x2a7259['takeUntil'])(this[_0x383c85(0x14e)]))[_0x383c85(0x279)](_0x46722e=>{const _0x17c2ae=_0x383c85;_0x46722e===_0x590dd7[_0x17c2ae(0x3e1)][_0x17c2ae(0x2e5)]?this[_0x17c2ae(0x14a)]():this['_toggleOffline']();}),this[_0x383c85(0x400)]['event$'][_0x383c85(0x13d)]((0x0,_0x2a7259['takeUntil'])(this[_0x383c85(0x14e)]))['subscribe'](_0x283f49=>{const _0x416228=_0x383c85;let _0xcd8afe=_0x283f49[_0x416228(0x393)];_0xcd8afe===_0x4795bc[_0x416228(0x403)][_0x416228(0x17d)]&&this[_0x416228(0x22f)](_0x283f49),_0xcd8afe===_0x4795bc[_0x416228(0x403)][_0x416228(0x3c9)]&&this[_0x416228(0x2e6)](_0x283f49);}),this[_0x383c85(0x296)](this[_0x383c85(0x41a)][_0x383c85(0x11f)](_0x191888=>{const _0x23d4e2=_0x383c85;let _0x4ffba9=_0x191888[_0x23d4e2(0x19f)];_0x4ffba9!=null&&this[_0x23d4e2(0x408)]&&_0x191888['id']===_0x72742f['SetTextSelectionsOperation']['id']&&_0x4ffba9[_0x23d4e2(0x3ac)]===this[_0x23d4e2(0x167)]&&_0x4ffba9['isEditing']===!0x1&&_0x4ffba9[_0x23d4e2(0x12a)][_0x23d4e2(0x21b)]>0x0&&this[_0x23d4e2(0x1c1)](_0x4ffba9[_0x23d4e2(0x12a)]);})),this[_0x383c85(0x15d)][_0x383c85(0x171)][_0x383c85(0x13d)]((0x0,_0x2a7259[_0x383c85(0x382)])(this['dispose$']))[_0x383c85(0x279)](_0xb0695e=>{const _0xc3b46d=_0x383c85;if((_0xb0695e==null?void 0x0:_0xb0695e['unitID'])!==this[_0xc3b46d(0x167)])return;let _0x592a79={'eventID':_0x4795bc[_0xc3b46d(0x403)]['UPDATE_CURSOR'],'data':_0xb0695e};this[_0xc3b46d(0x22f)](_0x592a79);}),this[_0x383c85(0x296)](this['_commandService'][_0x383c85(0x11f)](_0x5cc813=>{const _0x36b7e7=_0x383c85;if(_0x5cc813[_0x36b7e7(0x19f)]==null)return;let _0x599bcf=_0x5cc813[_0x36b7e7(0x19f)];if(_0x5cc813['id']!==_0x72742f[_0x36b7e7(0x1ab)]['id']||_0x599bcf[_0x36b7e7(0x3ac)]!==this[_0x36b7e7(0x167)])return;let _0x5b06ea={'id':_0x36b7e7(0x1db),'params':_0x599bcf},_0x1d49a4=this[_0x36b7e7(0x1ce)];for(let [_0x21ec5d,_0x5443e1]of _0x1d49a4){let _0x19d527={'id':_0x36b7e7(0x1db),'params':{'unitId':this[_0x36b7e7(0x167)],'actions':null,'textRanges':_0x5443e1[_0x36b7e7(0x12a)]}},_0x2261cb=this['_transformService']['transformMutation'](_0x5b06ea,_0x19d527,!0x1);if((0x0,_0x4795bc[_0x36b7e7(0x405)])(_0x2261cb))throw _0x2261cb['error'];_0x1d49a4[_0x36b7e7(0x1ec)](_0x21ec5d,{..._0x5443e1,'ranges':_0x2261cb[_0x36b7e7(0x1ed)][_0x36b7e7(0x19f)][_0x36b7e7(0x2a4)]});}queueMicrotask(()=>{const _0x1d5b7c=_0x36b7e7;this[_0x1d5b7c(0x195)][_0x1d5b7c(0x1dc)](_0x1d49a4);});})));}[_0x66a763(0x22f)](_0x54a1f4){const _0x23e4ba=_0x66a763;var _0x416048,_0x2dd090;let {memberID:_0x4c0b9e,selection:_0x40fd71}=_0x54a1f4[_0x23e4ba(0x25f)],_0x450932=_0x122649(_0x40fd71),_0x4cbbd7=(_0x416048=(_0x2dd090=this['_memberService'][_0x23e4ba(0x2a9)](this[_0x23e4ba(0x167)],_0x4c0b9e))==null?void 0x0:_0x2dd090[_0x23e4ba(0x38e)])==null?_0x23e4ba(0x211):_0x416048,_0x40c4ee={'color':this[_0x23e4ba(0x1cf)][_0x23e4ba(0x204)](_0x4c0b9e),'name':_0x4cbbd7,'ranges':_0x450932},_0x3d6ff0=this[_0x23e4ba(0x1ce)];_0x3d6ff0[_0x23e4ba(0x1ec)](_0x4c0b9e,_0x40c4ee),this[_0x23e4ba(0x195)][_0x23e4ba(0x1dc)](_0x3d6ff0);}['_onCursorDelete'](_0x27e518){const _0x1811f1=_0x66a763;let {memberID:_0xd814cc}=_0x27e518['data'],_0x1fb6e1=this['cursorInfo'];_0x1fb6e1['delete'](_0xd814cc),this['_cursorInfo$'][_0x1811f1(0x1dc)](_0x1fb6e1);}[_0x66a763(0x14a)](){const _0x42ce85=_0x66a763;var _0x2d4b0c;if(this[_0x42ce85(0x408)]=!0x0,((_0x2d4b0c=this[_0x42ce85(0x369)][_0x42ce85(0x138)]())==null?void 0x0:_0x2d4b0c[_0x42ce85(0x1d8)]())!==this[_0x42ce85(0x167)])return;let _0x6abc66=this['_injector'][_0x42ce85(0x3fa)](_0x72742f[_0x42ce85(0x1c2)])[_0x42ce85(0x2ea)]();Array[_0x42ce85(0x35f)](_0x6abc66)&&_0x6abc66[_0x42ce85(0x21b)]>0x0&&this[_0x42ce85(0x1c1)](_0x6abc66);}[_0x66a763(0x121)](){this['_online']=!0x1;}};_0x459412=_0x23cdbf([_0x3942dc(0x2,(0x0,_0x1b3dd9['Inject'])(_0x1b3dd9['Injector'])),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x47813f)),_0x3942dc(0x4,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7['MemberService'])),_0x3942dc(0x5,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x24b9e2)),_0x3942dc(0x6,_0x4795bc[_0x66a763(0x2e8)]),_0x3942dc(0x7,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x8,_0x1b3dd9[_0x66a763(0x30d)])],_0x459412);let _0x2ae441=()=>{let _0x1ae99d=[],_0x5b6759=!0x1;return _0x11df2b=>{_0x1ae99d['push'](_0x11df2b),_0x5b6759||(_0x5b6759=!0x0,setTimeout(()=>{const _0x2f83b9=_0x1749;_0x1ae99d[_0x2f83b9(0x329)](_0x65bebd=>_0x65bebd()),_0x1ae99d=[],_0x5b6759=!0x1;}));};},_0x59f225=class extends _0x1b3dd9['RxDisposable']{get[_0x66a763(0x1ce)](){const _0x37cb17=_0x66a763;return this[_0x37cb17(0x195)][_0x37cb17(0x1cc)]();}get[_0x66a763(0x247)](){const _0x4078a4=_0x66a763;return this[_0x4078a4(0x39e)]['getValue']();}constructor(_0x354f03,_0x3bbc2e,_0x5bb8a7,_0x313796,_0x31be56,_0x45984b,_0x482502,_0x3c55cd){const _0x5a7683=_0x66a763;super(),this[_0x5a7683(0x167)]=_0x354f03,this['_session']=_0x3bbc2e,this['_injector']=_0x5bb8a7,this[_0x5a7683(0x1cf)]=_0x313796,this[_0x5a7683(0x332)]=_0x31be56,this[_0x5a7683(0x369)]=_0x45984b,this[_0x5a7683(0x41a)]=_0x482502,this[_0x5a7683(0x16c)]=_0x3c55cd,_0x1d6097(this,_0x5a7683(0x408),!0x1),_0x1d6097(this,_0x5a7683(0x2d7),!0x1),_0x1d6097(this,'_cursorInfo$',new _0x2a7259[(_0x5a7683(0x18a))](new Map())),_0x1d6097(this,'cursorInfo$',this[_0x5a7683(0x195)]['asObservable']()),_0x1d6097(this,'_roomMembers$',new _0x2a7259['BehaviorSubject']([])),_0x1d6097(this,_0x5a7683(0x29c),this['_roomMembers$']['pipe']((0x0,_0x2a7259[_0x5a7683(0x2cb)])(0x12c))),_0x1d6097(this,'_updateLocalCursor',(0x0,_0x1b3dd9[_0x5a7683(0x410)])((_0x41eb6e,_0x188cf7)=>{const _0x7bfbf9=_0x5a7683;let _0x50a176={'eventID':_0x4795bc['CollaborationEvent'][_0x7bfbf9(0x17d)],'data':{'unitID':this['unitID'],'memberID':this[_0x7bfbf9(0x400)][_0x7bfbf9(0x165)](),'selection':(0x0,_0x2e4567['serializeRangeWithSheet'])(_0x41eb6e,_0x188cf7[_0x7bfbf9(0x35b)])}};this['_session'][_0x7bfbf9(0x1c4)](_0x50a176,this[_0x7bfbf9(0x167)]);},0x64));}['dispose'](){const _0x3d8719=_0x66a763;super[_0x3d8719(0x3c1)](),this['_cursorInfo$']['next'](new Map()),this[_0x3d8719(0x195)][_0x3d8719(0x270)](),this[_0x3d8719(0x39e)][_0x3d8719(0x1dc)]([]),this['_roomMembers$'][_0x3d8719(0x270)]();}[_0x66a763(0x3ca)](){const _0x3d8162=_0x66a763;this[_0x3d8162(0x2d7)]||(this[_0x3d8162(0x2d7)]=!0x0,this['_session'][_0x3d8162(0x288)][_0x3d8162(0x13d)]((0x0,_0x2a7259['takeUntil'])(this[_0x3d8162(0x14e)]))[_0x3d8162(0x279)](_0x594ecb=>{const _0x1ba8eb=_0x3d8162;_0x594ecb===_0x590dd7[_0x1ba8eb(0x3e1)][_0x1ba8eb(0x2e5)]?this[_0x1ba8eb(0x14a)]():this['_toggleOffline']();}),this['_session'][_0x3d8162(0x3a9)][_0x3d8162(0x13d)]((0x0,_0x2a7259[_0x3d8162(0x382)])(this[_0x3d8162(0x14e)]))['subscribe'](_0x28c197=>{const _0x3676c4=_0x3d8162;let _0x3d911f=_0x28c197[_0x3676c4(0x393)];_0x3d911f===_0x4795bc[_0x3676c4(0x403)][_0x3676c4(0x17d)]&&this['_onCursorUpdate'](_0x28c197),_0x3d911f===_0x4795bc[_0x3676c4(0x403)][_0x3676c4(0x3c9)]&&this[_0x3676c4(0x2e6)](_0x28c197);}),this[_0x3d8162(0x272)](),this[_0x3d8162(0x296)](this[_0x3d8162(0x41a)][_0x3d8162(0x11f)](_0x111ff5=>{const _0x1b51d5=_0x3d8162;if(this['_online']&&_0x111ff5['id']===_0x5f0670['SetSelectionsOperation']['id']&&_0x111ff5[_0x1b51d5(0x19f)]['unitId']===this['unitID']){let _0x348aa8=_0x111ff5[_0x1b51d5(0x19f)];this[_0x1b51d5(0x1c1)](_0x348aa8[_0x1b51d5(0x3eb)],_0x348aa8['selections'][0x0]);}})));}[_0x66a763(0x22f)](_0x25be76){const _0x33d77e=_0x66a763;var _0x290720,_0xaee63f;let {memberID:_0x3397a2,selection:_0x2a842f}=_0x25be76['data'],{sheetName:_0x56334,range:_0x25a52a}=(0x0,_0x2e4567[_0x33d77e(0x173)])(_0x2a842f),_0x87a922={'name':(_0x290720=(_0xaee63f=this[_0x33d77e(0x332)]['getMember'](this[_0x33d77e(0x167)],_0x3397a2))==null?void 0x0:_0xaee63f[_0x33d77e(0x38e)])==null?'Unknown\x20user':_0x290720,'range':this['_getMergeRange'](_0x56334,_0x25a52a),'sheetID':_0x56334,'color':this[_0x33d77e(0x1cf)][_0x33d77e(0x204)](_0x3397a2),'selection':_0x2a842f},_0x270fde=this[_0x33d77e(0x1ce)];_0x270fde[_0x33d77e(0x1ec)](_0x3397a2,_0x87a922),this[_0x33d77e(0x195)][_0x33d77e(0x1dc)](_0x270fde);}['_onCursorDelete'](_0x343ae8){const _0x148bf8=_0x66a763;let {memberID:_0xd63bfe}=_0x343ae8[_0x148bf8(0x25f)],_0x509d73=this['cursorInfo'];_0x509d73[_0x148bf8(0x159)](_0xd63bfe),this[_0x148bf8(0x195)][_0x148bf8(0x1dc)](_0x509d73);}[_0x66a763(0x197)](_0x586d4d,_0x527363){const _0x293c82=_0x66a763;var _0x4b5d26;let _0x23d748=(_0x4b5d26=this[_0x293c82(0x369)][_0x293c82(0x140)](this[_0x293c82(0x167)]))==null||(_0x4b5d26=_0x4b5d26[_0x293c82(0x1bd)](_0x586d4d))==null?void 0x0:_0x4b5d26[_0x293c82(0x351)]();return(_0x23d748==null?void 0x0:_0x23d748['find'](_0x2077ef=>_0x1b3dd9[_0x293c82(0x26b)][_0x293c82(0x246)](_0x2077ef,_0x527363)))||_0x527363;}[_0x66a763(0x272)](){const _0x5dc7bb=_0x66a763;let _0x4897f2=new _0x1b3dd9[(_0x5dc7bb(0x2d1))](),_0x3a0574=_0x2ae441(),_0x37dbcc=()=>{const _0x2dd691=_0x5dc7bb;_0x4897f2[_0x2dd691(0x3c1)]();let _0x2f2197=(_0x5f1924,_0x47aa34,_0x30e2b1,_0x303c28)=>{const _0x1c6476=_0x2dd691;let _0x1d020b=[];switch(_0x5f1924['id']){case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x1c8)]:_0x1d020b=(0x0,_0x5f0670['handleDeleteRangeMoveLeft'])(_0x5f1924,_0x303c28);break;case _0x5f0670['EffectRefRangId'][_0x1c6476(0x2f9)]:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x25d)])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x297)]:_0x1d020b=(0x0,_0x5f0670['handleInsertCol'])(_0x5f1924,_0x303c28);break;case _0x5f0670['EffectRefRangId'][_0x1c6476(0x3d0)]:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x374)])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x3e3)]:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x271)])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x294)]:_0x1d020b=(0x0,_0x5f0670['handleInsertRow'])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x350)]:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x373)])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)][_0x1c6476(0x2d8)]:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x29a)])(_0x5f1924,_0x303c28);break;case _0x5f0670[_0x1c6476(0x3bb)]['RemoveRowCommandId']:_0x1d020b=(0x0,_0x5f0670[_0x1c6476(0x362)])(_0x5f1924,_0x303c28);break;}let _0x1fb6a5=(0x0,_0x5f0670[_0x1c6476(0x39b)])(_0x1d020b,_0x303c28),_0x30df43=this['cursorInfo'][_0x1c6476(0x3fa)](_0x47aa34);if(_0x30df43&&_0x1fb6a5){let _0x595d37={..._0x30df43,'range':_0x1fb6a5};this['cursorInfo'][_0x1c6476(0x1ec)](_0x47aa34,_0x595d37),_0x3a0574(()=>{const _0x400e01=_0x1c6476;let _0xb12c5e=this[_0x400e01(0x16c)]['registerRefRange'](_0x1fb6a5,_0x1f7c6d=>(_0xb12c5e[_0x400e01(0x3c1)](),_0x2f2197(_0x1f7c6d,_0x47aa34,_0x30e2b1,_0x1fb6a5)));_0x4897f2[_0x400e01(0x172)](_0xb12c5e);});}return{'redos':[],'undos':[]};};this[_0x2dd691(0x1ce)][_0x2dd691(0x329)]((_0x56f63c,_0x4ef414)=>{const _0x2ffb8a=_0x2dd691;let {range:_0x482a1e,sheetID:_0x12b49b}=_0x56f63c,_0x1076ef=this['_refRangeService'][_0x2ffb8a(0x12c)](_0x482a1e,_0x4f4287=>(_0x1076ef[_0x2ffb8a(0x3c1)](),_0x2f2197(_0x4f4287,_0x4ef414,_0x12b49b,_0x482a1e)));_0x4897f2[_0x2ffb8a(0x172)](_0x1076ef);});};this[_0x5dc7bb(0x296)]((0x0,_0x1b3dd9[_0x5dc7bb(0x2f8)])(this[_0x5dc7bb(0x195)][_0x5dc7bb(0x279)](()=>{_0x37dbcc();})));}[_0x66a763(0x14a)](){const _0x4e4c69=_0x66a763;var _0x4117d2,_0x8e6f1e;if(this[_0x4e4c69(0x408)]=!0x0,((_0x4117d2=this[_0x4e4c69(0x369)][_0x4e4c69(0x138)]())==null?void 0x0:_0x4117d2[_0x4e4c69(0x1d8)]())!==this['unitID'])return;let _0x82da5a=(_0x8e6f1e=this[_0x4e4c69(0x330)][_0x4e4c69(0x3fa)](_0x5f0670[_0x4e4c69(0x1be)])['getCurrentSelections']())==null?void 0x0:_0x8e6f1e[0x0],_0x5629b7=this[_0x4e4c69(0x369)][_0x4e4c69(0x1ad)](_0x1b3dd9[_0x4e4c69(0x1cd)]['UNIVER_SHEET'])['getActiveSheet']();_0x82da5a&&_0x5629b7&&this[_0x4e4c69(0x1c1)](_0x5629b7[_0x4e4c69(0x3c0)](),_0x82da5a);}[_0x66a763(0x121)](){const _0x347d94=_0x66a763;this[_0x347d94(0x408)]=!0x1;}};_0x59f225=_0x23cdbf([_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x47813f)),_0x3942dc(0x4,(0x0,_0x1b3dd9['Inject'])(_0x590dd7['MemberService'])),_0x3942dc(0x5,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x6,_0x1b3dd9[_0x66a763(0x30d)]),_0x3942dc(0x7,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x5f0670['RefRangeService']))],_0x59f225);let _0x3b5e8b=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(_0x2542fa,_0x11e877,_0x530a08){const _0x5d2dc6=_0x66a763;super(),this[_0x5d2dc6(0x369)]=_0x2542fa,this[_0x5d2dc6(0x330)]=_0x11e877,this['_collabSessionService']=_0x530a08,_0x1d6097(this,_0x5d2dc6(0x35e),new Map()),_0x1d6097(this,_0x5d2dc6(0x16e),new _0x2a7259['Subject']()),this[_0x5d2dc6(0x2d7)]();}['dispose'](){const _0x51438f=_0x66a763;super[_0x51438f(0x3c1)](),this['_entityInit$'][_0x51438f(0x270)](),this[_0x51438f(0x35e)][_0x51438f(0x329)](_0x3cd070=>_0x3cd070[_0x51438f(0x3c1)]());}[_0x66a763(0x2eb)](_0x4db35f){const _0x6685e5=_0x66a763;return this[_0x6685e5(0x35e)]['has'](_0x4db35f)?this[_0x6685e5(0x35e)]['get'](_0x4db35f)['cursorInfo$']:this[_0x6685e5(0x16e)]['pipe']((0x0,_0x2a7259[_0x6685e5(0x387)])(_0x9bc833=>_0x9bc833['unitID']===_0x4db35f),(0x0,_0x2a7259['switchMap'])(_0x494c7b=>_0x494c7b['cursorInfo$']));}[_0x66a763(0x2d7)](){const _0x21acc6=_0x66a763;this[_0x21acc6(0x369)][_0x21acc6(0x39c)](_0x1b3dd9[_0x21acc6(0x1cd)][_0x21acc6(0x2e7)])[_0x21acc6(0x13d)]((0x0,_0x2a7259[_0x21acc6(0x382)])(this['dispose$']))['subscribe'](async _0x509793=>{const _0x50fcac=_0x21acc6;let _0x2d5f15=_0x509793['getUnitId'](),_0x3c9d2b=await this['_startSheetCollabCursor'](_0x2d5f15);this[_0x50fcac(0x16e)]['next'](_0x3c9d2b),this[_0x50fcac(0x35e)][_0x50fcac(0x1ec)](_0x2d5f15,_0x3c9d2b);}),this[_0x21acc6(0x369)][_0x21acc6(0x39c)](_0x1b3dd9['UniverInstanceType'][_0x21acc6(0x402)])[_0x21acc6(0x13d)]((0x0,_0x2a7259[_0x21acc6(0x382)])(this[_0x21acc6(0x14e)]))[_0x21acc6(0x13d)]((0x0,_0x2a7259[_0x21acc6(0x387)])(_0x2a9266=>!_0x2a9266[_0x21acc6(0x1d8)]()['startsWith']('__')))[_0x21acc6(0x279)](async _0x3aeb2d=>{const _0x3cd7bf=_0x21acc6;let _0x5d6423=_0x3aeb2d[_0x3cd7bf(0x1d8)](),_0xc739f6=await this[_0x3cd7bf(0x223)](_0x5d6423);this[_0x3cd7bf(0x16e)][_0x3cd7bf(0x1dc)](_0xc739f6),this[_0x3cd7bf(0x35e)][_0x3cd7bf(0x1ec)](_0x5d6423,_0xc739f6);}),(0x0,_0x2a7259[_0x21acc6(0x1c9)])(this[_0x21acc6(0x369)][_0x21acc6(0x343)](_0x1b3dd9['UniverInstanceType'][_0x21acc6(0x402)]),this['_univerInstanceService'][_0x21acc6(0x343)](_0x1b3dd9[_0x21acc6(0x1cd)][_0x21acc6(0x2e7)]))['pipe']((0x0,_0x2a7259[_0x21acc6(0x382)])(this[_0x21acc6(0x14e)]))[_0x21acc6(0x279)](_0x1e958d=>{const _0x486ade=_0x21acc6;let _0x50f444=_0x1e958d[_0x486ade(0x1d8)](),_0x13e0cf=this[_0x486ade(0x35e)][_0x486ade(0x3fa)](_0x50f444);_0x13e0cf&&(_0x13e0cf[_0x486ade(0x3c1)](),this['_entities']['delete'](_0x50f444));});}async[_0x66a763(0x35a)](_0x211217){const _0x1c1770=_0x66a763;let _0xad956f=await this[_0x1c1770(0x2a0)][_0x1c1770(0x21f)](_0x211217),_0x8c2ec=this['_injector'][_0x1c1770(0x3b4)](_0x59f225,_0x211217,_0xad956f);return _0x8c2ec[_0x1c1770(0x3ca)](),_0x8c2ec;}async[_0x66a763(0x223)](_0x31ff5e){const _0x51530d=_0x66a763;let _0x3d86a7=await this['_collabSessionService'][_0x51530d(0x21f)](_0x31ff5e),_0x2e5a3d=this['_injector']['createInstance'](_0x459412,_0x31ff5e,_0x3d86a7);return _0x2e5a3d[_0x51530d(0x3ca)](),_0x2e5a3d;}};_0x3b5e8b=_0x23cdbf([_0x3942dc(0x0,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7['CollaborationSessionService']))],_0x3b5e8b);function _0x2b9d9e(_0x2a633e,_0x4db018){const _0x4b8eff=_0x66a763;var _0x199864,_0x47ef36,_0x646b3c;let {radius:_0x2d5d5c,width:_0x528ee1,height:_0x3fa5e7}=_0x4db018;_0x2d5d5c=(_0x199864=_0x2d5d5c)==null?0x0:_0x199864,_0x528ee1=(_0x47ef36=_0x528ee1)==null?0x1e:_0x47ef36,_0x3fa5e7=(_0x646b3c=_0x3fa5e7)==null?0x1e:_0x646b3c;let _0x59e38a=0x0,_0x1f988c=0x0,_0x275c84=0x0;_0x59e38a=_0x1f988c=_0x275c84=Math[_0x4b8eff(0x12b)](_0x2d5d5c,_0x528ee1/0x2,_0x3fa5e7/0x2),_0x2a633e[_0x4b8eff(0x2b2)](),_0x2a633e[_0x4b8eff(0x253)](_0x59e38a,0x0),_0x2a633e[_0x4b8eff(0x225)](_0x528ee1-_0x1f988c,0x0),_0x2a633e[_0x4b8eff(0x1d4)](_0x528ee1-_0x1f988c,_0x1f988c,_0x1f988c,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a633e[_0x4b8eff(0x225)](_0x528ee1,_0x3fa5e7-_0x275c84),_0x2a633e[_0x4b8eff(0x1d4)](_0x528ee1-_0x275c84,_0x3fa5e7-_0x275c84,_0x275c84,0x0,Math['PI']/0x2,!0x1),_0x2a633e['lineTo'](0x0,_0x3fa5e7),_0x2a633e[_0x4b8eff(0x225)](0x0,_0x59e38a),_0x2a633e['arc'](_0x59e38a,_0x59e38a,_0x59e38a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a633e[_0x4b8eff(0x2ad)](),_0x4db018[_0x4b8eff(0x1e0)]&&(_0x2a633e['save'](),_0x2a633e[_0x4b8eff(0x40a)]=_0x4db018['fill'],_0x4db018['fillRule']===_0x4b8eff(0x219)?_0x2a633e[_0x4b8eff(0x1e0)]('evenodd'):_0x2a633e[_0x4b8eff(0x1e0)](),_0x2a633e['restore']());}var _0x6ceb1a=class _0x52db5e extends _0x3f9dd4[_0x66a763(0x127)]{constructor(_0x4e720c,_0x2a2289){const _0xe2d9c4=_0x66a763;super(_0x4e720c,_0x2a2289),_0x1d6097(this,'color',void 0x0),_0x1d6097(this,'text',void 0x0),this[_0xe2d9c4(0x13c)]=_0x2a2289==null?void 0x0:_0x2a2289[_0xe2d9c4(0x13c)],this[_0xe2d9c4(0x13b)]=_0x2a2289==null?void 0x0:_0x2a2289[_0xe2d9c4(0x13b)];}static['drawWith'](_0x485dbf,_0x365643){const _0x248150=_0x66a763;let {text:_0x2542cc,color:_0x107f7d}=_0x365643;_0x485dbf[_0x248150(0x3c6)](),_0x485dbf['font']=_0x248150(0x217);let _0x5dbca9=_0x485dbf[_0x248150(0x114)](_0x2542cc)[_0x248150(0x2db)];if(_0x2b9d9e(_0x485dbf,{'height':0x14,'radius':0x4,'width':Math[_0x248150(0x12b)](_0x5dbca9+0x8,0xc8),'fill':_0x107f7d,'evented':!0x1}),_0x485dbf[_0x248150(0x40a)]=_0x248150(0x355),_0x5dbca9>0xc0){let _0xfd6491='',_0x3cbc26=0x0;for(let _0x2820a2 of _0x2542cc){let _0x448325=_0x485dbf[_0x248150(0x114)](_0x2820a2)[_0x248150(0x2db)];if(_0x3cbc26+_0x448325<=0xc0-_0x485dbf[_0x248150(0x114)](_0x248150(0x19d))[_0x248150(0x2db)])_0xfd6491+=_0x2820a2,_0x3cbc26+=_0x448325;else{_0xfd6491+='...';break;}}_0x485dbf[_0x248150(0x149)](_0xfd6491,0x4,0xf);}else _0x485dbf[_0x248150(0x149)](_0x2542cc,0x4,0xf);_0x485dbf[_0x248150(0x2b0)]();}[_0x66a763(0x2e3)](_0x35883f){_0x52db5e['drawWith'](_0x35883f,this);}};let _0x312380=_0x66a763(0x2c5);var _0x5070b5=class{constructor(_0xf4c27e,_0x1a1079,_0x44ff9f,_0x11a162){const _0x5abbcf=_0x66a763;this[_0x5abbcf(0x218)]=_0xf4c27e,this[_0x5abbcf(0x20c)]=_0x1a1079,this['_docSkeleton']=_0x44ff9f,this[_0x5abbcf(0x2fa)]=_0x11a162,_0x1d6097(this,_0x5abbcf(0x2bf),[]),_0x1d6097(this,_0x5abbcf(0x34b),null),_0x1d6097(this,_0x5abbcf(0x175),null),_0x1d6097(this,_0x5abbcf(0x1af),null),_0x1d6097(this,_0x5abbcf(0x1f5),null),_0x1d6097(this,_0x5abbcf(0x177),null),this[_0x5abbcf(0x3da)]();}set[_0x66a763(0x3a5)](_0x59203d){const _0x6c20aa=_0x66a763;_0x59203d?(this['_anchorDot']&&this[_0x6c20aa(0x1af)][_0x6c20aa(0x17b)](),this[_0x6c20aa(0x175)]&&this['_textBubble'][_0x6c20aa(0x3ef)]()):(this['_anchorDot']&&this[_0x6c20aa(0x1af)][_0x6c20aa(0x3ef)](),this[_0x6c20aa(0x175)]&&this['_textBubble'][_0x6c20aa(0x17b)]());}[_0x66a763(0x3c1)](){const _0x419a1a=_0x66a763;for(let _0x30644a of this[_0x419a1a(0x2bf)])_0x30644a[_0x419a1a(0x3c1)]();this[_0x419a1a(0x175)]&&this['_textBubble'][_0x419a1a(0x3c1)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x419a1a(0x34b)]&&this['_anchor'][_0x419a1a(0x3c1)](),this[_0x419a1a(0x177)]&&this[_0x419a1a(0x177)]();}[_0x66a763(0x3da)](){const _0x3f712a=_0x66a763;let {_docSkeleton:_0x31e8ab,_document:_0x1b51c1}=this,{color:_0x5cf69e,name:_0x43a144,ranges:_0x19052f}=this[_0x3f712a(0x218)],_0x253389=_0x1b51c1[_0x3f712a(0x31f)](),{docsLeft:_0x4c2a75,docsTop:_0x8208f3}=_0x253389,_0x4bb52d=new _0x191e18['NodePositionConvertToCursor'](_0x253389,_0x31e8ab);for(let {startOffset:_0x2698a9,endOffset:_0x4fd4e8,rangeType:_0x4fdddc,segmentId:_0x10c1cd,segmentPage:_0x1aabd7,collapsed:_0x271051,isActive:_0x2f5d51}of _0x19052f){let _0x89aca5=_0x31e8ab[_0x3f712a(0x2a3)](_0x2698a9,!0x0,_0x10c1cd,_0x1aabd7),_0x55e0a4=_0x31e8ab['findNodePositionByCharIndex'](_0x4fd4e8,!0x0,_0x10c1cd,_0x1aabd7);if(_0x55e0a4==null&&(_0x55e0a4=_0x31e8ab[_0x3f712a(0x2a3)](_0x4fd4e8-0x1,!0x1,_0x10c1cd,_0x1aabd7)),_0x2f5d51){let {contentBoxPointGroup:_0x461075}=_0x4bb52d[_0x3f712a(0x299)](_0x55e0a4,_0x55e0a4);if(_0x461075[_0x3f712a(0x21b)]===0x0)continue;this[_0x3f712a(0x2ca)](_0x5cf69e,_0x461075,_0x4c2a75,_0x8208f3,_0x43a144),this['_eventUnsubscribe']=this[_0x3f712a(0x1f3)]();}if(_0x89aca5&&_0x55e0a4){if(_0x4fdddc===_0x1b3dd9[_0x3f712a(0x39d)][_0x3f712a(0x3cb)]){var _0x4b868d;let {pointGroup:_0xad2e69}=(_0x4b868d=new _0x191e18[(_0x3f712a(0x3e4))](_0x253389,_0x31e8ab)[_0x3f712a(0x299)](_0x89aca5,_0x55e0a4))==null?{}:_0x4b868d;if(_0xad2e69==null||_0xad2e69[_0x3f712a(0x21b)]===0x0)continue;this[_0x3f712a(0x1aa)](_0x5cf69e,_0xad2e69,_0x4c2a75,_0x8208f3);}else{if(!_0x271051){let {borderBoxPointGroup:_0x21f128}=_0x4bb52d[_0x3f712a(0x299)](_0x89aca5,_0x55e0a4);if(_0x21f128[_0x3f712a(0x21b)]===0x0)continue;this['_drawTextRange'](_0x5cf69e,_0x21f128,_0x4c2a75,_0x8208f3);}}}}}[_0x66a763(0x2ca)](_0x58200b,_0x2df9c9,_0x1bda6a,_0x15737b,_0x35031a){const _0xefeb52=_0x66a763;let {left:_0x543948,top:_0x46ff9e,height:_0x4539b4}=this['_getAnchorBounding'](_0x2df9c9),_0x5710a7=1.5/this[_0xefeb52(0x391)](),_0x4aaf73=new _0x3f9dd4[(_0xefeb52(0x14d))](_0x312380+(0x0,_0x1b3dd9[_0xefeb52(0x24c)])(0x6),{'left':_0x543948+_0x1bda6a-_0x5710a7,'top':_0x46ff9e+_0x15737b,'height':_0x4539b4,'width':1.5,'fill':_0x58200b||(0x0,_0x3f9dd4[_0xefeb52(0x185)])(_0x1b3dd9[_0xefeb52(0x33b)][_0xefeb52(0x417)],0x0),'strokeWidth':_0x5710a7,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0xefeb52(0x34b)]=_0x4aaf73,this[_0xefeb52(0x20c)][_0xefeb52(0x24b)](_0x4aaf73,_0x191e18[_0xefeb52(0x367)]);let _0x56994c=new _0x3f9dd4['Rect'](_0x312380+(0x0,_0x1b3dd9['generateRandomId'])(0x6),{'left':_0x543948+_0x1bda6a-_0x5710a7,'top':_0x46ff9e+_0x15737b-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x58200b||(0x0,_0x3f9dd4['getColor'])(_0x1b3dd9['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x58200b||(0x0,_0x3f9dd4[_0xefeb52(0x185)])(_0x1b3dd9[_0xefeb52(0x33b)][_0xefeb52(0x417)],0x0),'evented':!0x1});this['_anchorDot']=_0x56994c,this[_0xefeb52(0x20c)]['addObject'](_0x56994c,_0x191e18[_0xefeb52(0x367)]);let _0x12063f=new _0x6ceb1a(_0x312380+(0x0,_0x1b3dd9['generateRandomId'])(0x6),{'left':_0x543948+_0x1bda6a-_0x5710a7,'top':_0x46ff9e+_0x15737b-0x14,'text':_0x35031a,'color':_0x58200b});this['_textBubble']=_0x12063f,this['_scene'][_0xefeb52(0x24b)](_0x12063f,_0x191e18[_0xefeb52(0x367)]),this[_0xefeb52(0x3a5)]=!0x1;}[_0x66a763(0x1f3)](){const _0x26a336=_0x66a763;let _0x2513a6=this[_0x26a336(0x34b)][_0x26a336(0x383)][_0x26a336(0x3a0)](()=>{const _0x1c1389=_0x26a336;this[_0x1c1389(0x3a5)]=!0x0;}),_0x4a25c9=this['_anchor'][_0x26a336(0x137)]['subscribeEvent'](()=>{const _0x414409=_0x26a336;this[_0x414409(0x1f5)]&&clearTimeout(this[_0x414409(0x1f5)]),this[_0x414409(0x1f5)]=setTimeout(()=>{const _0x1673c3=_0x414409;this[_0x1673c3(0x3a5)]=!0x1;},0x7d0);});return()=>{const _0x1f7d39=_0x26a336;_0x2513a6[_0x1f7d39(0x2ab)](),_0x4a25c9[_0x1f7d39(0x2ab)]();};}[_0x66a763(0x30b)](_0x58386e,_0x437861,_0x32d1a8,_0x492aed){const _0x428406=_0x66a763;let _0x47dfe7=0.2,_0xeb8ef2=new _0x1b3dd9[(_0x428406(0x16d))](_0x58386e)[_0x428406(0x3b6)](_0x47dfe7)[_0x428406(0x390)](),_0x494330=new _0x3f9dd4[(_0x428406(0x3a2))](_0x428406(0x3ea)+(0x0,_0x1b3dd9[_0x428406(0x24c)])(0x6),{'pointsGroup':_0x437861,'fill':_0xeb8ef2||(0x0,_0x3f9dd4[_0x428406(0x185)])(_0x1b3dd9[_0x428406(0x33b)][_0x428406(0x417)],_0x47dfe7),'left':_0x32d1a8,'top':_0x492aed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x428406(0x2bf)][_0x428406(0x16a)](_0x494330),this[_0x428406(0x20c)][_0x428406(0x24b)](_0x494330,_0x191e18[_0x428406(0x367)]);}['_drawRectRange'](_0x5a9ff9,_0x48723b,_0xc9a467,_0x5051a6){const _0x164e4a=_0x66a763;let _0xb6d446=0.2,_0x134196=new _0x1b3dd9[(_0x164e4a(0x16d))](_0x5a9ff9)['setAlpha'](_0xb6d446)['toRgbString'](),_0x59a3dc=new _0x3f9dd4[(_0x164e4a(0x3a2))](_0x164e4a(0x2e1)+(0x0,_0x1b3dd9[_0x164e4a(0x24c)])(0x6),{'pointsGroup':_0x48723b,'fill':_0x134196||(0x0,_0x3f9dd4[_0x164e4a(0x185)])(_0x1b3dd9['COLORS'][_0x164e4a(0x417)],_0xb6d446),'left':_0xc9a467,'top':_0x5051a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x164e4a(0x2bf)][_0x164e4a(0x16a)](_0x59a3dc),this[_0x164e4a(0x20c)][_0x164e4a(0x24b)](_0x59a3dc,_0x191e18[_0x164e4a(0x367)]);}[_0x66a763(0x3df)](_0x2c7817){let _0x19f317=_0x2c7817[0x0],_0x57ac8d=_0x19f317[0x0],_0x36b12a=_0x19f317[0x2],{x:_0x4af10b,y:_0x3b780c}=_0x57ac8d,{x:_0x568227,y:_0x469a9}=_0x36b12a;return{'left':_0x4af10b,'top':_0x3b780c,'width':_0x568227-_0x4af10b,'height':_0x469a9-_0x3b780c};}[_0x66a763(0x391)](){const _0x3fda89=_0x66a763;let {scaleX:_0x154d1a,scaleY:_0x1b86e3}=this[_0x3fda89(0x20c)][_0x3fda89(0x1ee)]();return Math[_0x3fda89(0x3ed)](_0x154d1a,_0x1b86e3);}};let _0x50760f=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(_0x4dd02f,_0x13e28a,_0x5e0beb,_0x2d46b2,_0x4ac759){const _0x4786bd=_0x66a763;super(),this[_0x4786bd(0x38a)]=_0x4dd02f,this['_docSkeletonManagerService']=_0x13e28a,this[_0x4786bd(0x32b)]=_0x5e0beb,this['_commandService']=_0x2d46b2,this[_0x4786bd(0x2b4)]=_0x4ac759,_0x1d6097(this,_0x4786bd(0x2a8),[]),_0x1d6097(this,_0x4786bd(0x352),[]),this[_0x4786bd(0x2d7)]();}[_0x66a763(0x2d7)](){const _0x4a5879=_0x66a763;let _0x36cdad=this[_0x4a5879(0x38a)]['unitId'],_0x34a86e=this[_0x4a5879(0x425)];this['disposeWithMe']((0x0,_0x2a7259[_0x4a5879(0x120)])([this['_collabCursorController'][_0x4a5879(0x2eb)](_0x36cdad),this['_themeService'][_0x4a5879(0x274)]])[_0x4a5879(0x13d)]((0x0,_0x5b3727['map'])(([_0x21f34a,_0x55593a])=>({'skeleton':_0x34a86e[_0x4a5879(0x1df)](),'cursors':[..._0x21f34a[_0x4a5879(0x22e)]()][_0x4a5879(0x1c7)](_0x36cd4b=>({..._0x36cd4b,'color':this[_0x4a5879(0x2b4)]['getColorFromTheme'](_0x36cd4b[_0x4a5879(0x13c)])}))})))[_0x4a5879(0x279)](_0x479311=>{const _0x3175d4=_0x4a5879;if(this[_0x3175d4(0x2a5)](),_0x479311){let {skeleton:_0x46ef32,cursors:_0x1a926b}=_0x479311;this[_0x3175d4(0x2fe)](_0x46ef32,_0x1a926b);}})),this[_0x4a5879(0x201)](),this['_initCommandExecutedListener']();}[_0x66a763(0x2fe)](_0x1c86e2,_0x52aa5b){const _0x2fcfa8=_0x66a763;let {scene:_0x3b7e4e,mainComponent:_0x136f8d}=this[_0x2fcfa8(0x38a)];this[_0x2fcfa8(0x2a8)]=_0x52aa5b[_0x2fcfa8(0x275)](_0x1eadc8=>new _0x5070b5(_0x1eadc8,_0x3b7e4e,_0x1c86e2,_0x136f8d)),this[_0x2fcfa8(0x352)]=_0x52aa5b;}[_0x66a763(0x143)](){const _0x46c921=_0x66a763;this['_removeCollabCursors']();let {scene:_0x1719f4,mainComponent:_0x3bc226}=this['_context'],_0x5f31de=this[_0x46c921(0x425)]['getSkeleton']();this['_cursorShapes']=this[_0x46c921(0x352)]['map'](_0x1e5180=>new _0x5070b5(_0x1e5180,_0x1719f4,_0x5f31de,_0x3bc226));}[_0x66a763(0x2a5)](){const _0x3729c9=_0x66a763;this[_0x3729c9(0x2a8)]['forEach'](_0x4f87b8=>_0x4f87b8[_0x3729c9(0x3c1)]()),this[_0x3729c9(0x2a8)]=[];}['_initCommandExecutedListener'](){const _0x4d2e05=_0x66a763;let _0x3ab225=[_0x191e18[_0x4d2e05(0x3a3)]['id']];this[_0x4d2e05(0x296)](this['_commandService'][_0x4d2e05(0x11f)](_0x5de920=>{const _0x1bbf14=_0x4d2e05;_0x3ab225[_0x1bbf14(0x2f3)](_0x5de920['id'])&&_0x5de920[_0x1bbf14(0x19f)][_0x1bbf14(0x3ac)]===this[_0x1bbf14(0x38a)][_0x1bbf14(0x3ac)]&&this[_0x1bbf14(0x143)]();}));}['_initResize'](){const _0x112412=_0x66a763;this[_0x112412(0x296)]((0x0,_0x1b3dd9[_0x112412(0x184)])(this[_0x112412(0x38a)][_0x112412(0x1fa)][_0x112412(0x3f0)])[_0x112412(0x13d)]((0x0,_0x5b3727[_0x112412(0x387)])(_0x2aee7b=>_0x2aee7b[_0x112412(0x118)]===_0x3f9dd4[_0x112412(0x38c)]['resize']),(0x0,_0x5b3727['throttleTime'])(0x10))['subscribe'](()=>{const _0x20a3a4=_0x112412;this[_0x20a3a4(0x143)]();}));}};_0x50760f=_0x23cdbf([_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x72742f[_0x66a763(0x3e6)])),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x3b5e8b)),_0x3942dc(0x3,_0x1b3dd9[_0x66a763(0x30d)]),_0x3942dc(0x4,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x316)]))],_0x50760f);var _0x4befa6=class extends _0x3f9dd4[_0x66a763(0x127)]{constructor(_0xb98792,_0x4374bb){const _0x5ebc78=_0x66a763;if(super(_0xb98792,_0x4374bb),_0x1d6097(this,'_color',void 0x0),_0x1d6097(this,'_hovered',!0x1),_0x1d6097(this,_0x5ebc78(0x389),void 0x0),_0x1d6097(this,_0x5ebc78(0x308),''),_0x1d6097(this,'_labelPosition',_0x5ebc78(0x3b5)),_0x1d6097(this,_0x5ebc78(0x3b9),void 0x0),_0x1d6097(this,'_showText',void 0x0),_0x1d6097(this,_0x5ebc78(0x11b),void 0x0),_0x1d6097(this,_0x5ebc78(0x307),0x4),_0x1d6097(this,'_blinkTimer',void 0x0),_0x1d6097(this,_0x5ebc78(0x220),void 0x0),_0x1d6097(this,_0x5ebc78(0x3b3),!0x0),_0x1d6097(this,_0x5ebc78(0x305),0x0),_0x4374bb){var _0x5b45f6;if(this['setShapeProps'](_0x4374bb),_0x4374bb[_0x5ebc78(0x348)]&&((_0x5b45f6=_0x4374bb[_0x5ebc78(0x266)])==null?this[_0x5ebc78(0x307)]:_0x5b45f6)){var _0x4aa5ed;this['_startBlinking']((_0x4aa5ed=_0x4374bb['highlightSecond'])==null?this[_0x5ebc78(0x307)]:_0x4aa5ed);}}this[_0x5ebc78(0x383)]['subscribeEvent'](()=>this[_0x5ebc78(0x2f7)]({'hovered':!0x0})),this[_0x5ebc78(0x137)][_0x5ebc78(0x3a0)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x66a763(0x29f)](_0x206803){this['_offsetY']=_0x206803;}[_0x66a763(0x2f7)](_0x5e90ed){const _0x111eb5=_0x66a763;var _0x2dabf9,_0x4eaeeb,_0x2b54c3,_0x5c7249,_0x11368d,_0x1b5ae6,_0x569d01;this[_0x111eb5(0x248)]=(_0x2dabf9=_0x5e90ed[_0x111eb5(0x13c)])==null?this['_color']:_0x2dabf9,this[_0x111eb5(0x3de)]=(_0x4eaeeb=_0x5e90ed['hovered'])==null?this[_0x111eb5(0x3de)]:_0x4eaeeb,this['_range']=(_0x2b54c3=_0x5e90ed[_0x111eb5(0x35b)])==null?this[_0x111eb5(0x389)]:_0x2b54c3,this[_0x111eb5(0x308)]=(_0x5c7249=_0x5e90ed[_0x111eb5(0x38e)])==null?this[_0x111eb5(0x308)]:_0x5c7249,this[_0x111eb5(0x385)]=(_0x11368d=_0x5e90ed[_0x111eb5(0x19e)])==null?this[_0x111eb5(0x385)]:_0x11368d,this['_backgroundColor']=(_0x1b5ae6=_0x5e90ed[_0x111eb5(0x11d)])==null?this[_0x111eb5(0x3b9)]:_0x1b5ae6,this[_0x111eb5(0x27b)]=(_0x569d01=_0x5e90ed[_0x111eb5(0x155)])==null?this[_0x111eb5(0x27b)]:_0x569d01,_0x5e90ed[_0x111eb5(0x266)]!==void 0x0&&(this[_0x111eb5(0x307)]=_0x5e90ed['highlightSecond']),_0x5e90ed[_0x111eb5(0x348)]!==void 0x0&&(this['_highlight']=_0x5e90ed[_0x111eb5(0x348)]),_0x5e90ed[_0x111eb5(0x181)]!==void 0x0&&(this[_0x111eb5(0x305)]=_0x5e90ed['offsetY']),this[_0x111eb5(0x1f7)]({'width':_0x5e90ed[_0x111eb5(0x2db)],'height':_0x5e90ed[_0x111eb5(0x293)]});}[_0x66a763(0x418)](_0x2263d2){const _0x190fea=_0x66a763;let {row:_0x19387f,column:_0x3b4dfb}=_0x2263d2;if(_0x19387f>=this[_0x190fea(0x389)][_0x190fea(0x278)]&&_0x19387f<=this['_range'][_0x190fea(0x203)]&&_0x3b4dfb>=this[_0x190fea(0x389)][_0x190fea(0x2b1)]&&_0x3b4dfb<=this[_0x190fea(0x389)]['endColumn']){this[_0x190fea(0x2f7)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x66a763(0x3be)](_0x32a3f9){const _0x4eb00b=_0x66a763;this['_stopBlinking'](),this[_0x4eb00b(0x3b3)]=!0x0,this['_blinkIntervalTimer']=window['setInterval'](()=>{const _0x1f0b36=_0x4eb00b;this[_0x1f0b36(0x3b3)]=!this[_0x1f0b36(0x3b3)],this[_0x1f0b36(0x312)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x4eb00b(0x191)](()=>{const _0x277757=_0x4eb00b;this[_0x277757(0x309)](),this[_0x277757(0x3b3)]=!0x0,this['makeDirty'](!0x0);},_0x32a3f9*0x3e8);}['_stopBlinking'](){const _0x86034c=_0x66a763;this[_0x86034c(0x220)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x86034c(0x220)]=void 0x0),this['_blinkTimer']&&(window[_0x86034c(0x1e3)](this[_0x86034c(0x1dd)]),this[_0x86034c(0x1dd)]=void 0x0);}[_0x66a763(0x2c2)](_0x20a279){return!0x1;}[_0x66a763(0x3c1)](){const _0x37c15e=_0x66a763;this[_0x37c15e(0x309)](),super[_0x37c15e(0x3c1)]();}[_0x66a763(0x2e3)](_0x4b3195){const _0x4d95f6=_0x66a763;var _0x1bc1ed;let _0x2c070a=this[_0x4d95f6(0x248)],_0x357f05=this['_backgroundColor'];if(this[_0x4d95f6(0x11b)]&&!this[_0x4d95f6(0x3b3)]&&(_0x2c070a=this[_0x4d95f6(0x2e4)](this[_0x4d95f6(0x248)]),_0x357f05=this[_0x4d95f6(0x3b9)]?this[_0x4d95f6(0x2e4)](this[_0x4d95f6(0x3b9)]):void 0x0),_0x3f9dd4[_0x4d95f6(0x14d)][_0x4d95f6(0x398)](_0x4b3195,{'width':this[_0x4d95f6(0x2db)],'height':this[_0x4d95f6(0x293)],'strokeWidth':(_0x1bc1ed=this['strokeWidth'])==null?1.5:_0x1bc1ed,'stroke':_0x2c070a,'evented':!0x1,'fill':_0x357f05}),this[_0x4d95f6(0x3de)]||this['_showText']){var _0xfa40aa;_0x4b3195[_0x4d95f6(0x3c6)](),_0x4b3195['transform'](0x1,0x0,0x0,0x1,this[_0x4d95f6(0x2db)],(this[_0x4d95f6(0x385)]===_0x4d95f6(0x257)?0x0:-0x14)+((_0xfa40aa=this['_offsetY'])==null?0x0:_0xfa40aa)),_0x6ceb1a[_0x4d95f6(0x398)](_0x4b3195,{'text':this[_0x4d95f6(0x308)],'color':_0x2c070a}),_0x4b3195[_0x4d95f6(0x2b0)]();}}['_getLighterColor'](_0x28e133){const _0x8f5e8e=_0x66a763;return _0x28e133[_0x8f5e8e(0x381)]('#')?_0x8f5e8e(0x363)+Number[_0x8f5e8e(0x227)](_0x28e133[_0x8f5e8e(0x32f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x28e133['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x8f5e8e(0x227)](_0x28e133['slice'](0x5,0x7),0x10)+_0x8f5e8e(0x37b):_0x28e133['startsWith'](_0x8f5e8e(0x347))?_0x28e133[_0x8f5e8e(0x20e)](/[\d.]+\)$/g,_0x8f5e8e(0x31c)):_0x28e133[_0x8f5e8e(0x381)](_0x8f5e8e(0x2a6))?_0x28e133[_0x8f5e8e(0x20e)](_0x8f5e8e(0x2a6),_0x8f5e8e(0x347))[_0x8f5e8e(0x20e)](')',_0x8f5e8e(0x37b)):_0x28e133;}};let _0x155705=class extends _0x1b3dd9['RxDisposable']{constructor(_0x58c264,_0x4645b8,_0x2bc8cd,_0xa55547){const _0x9542a6=_0x66a763;super(),this['_context']=_0x58c264,this['_sheetSkeletonManagerService']=_0x4645b8,this[_0x9542a6(0x32b)]=_0x2bc8cd,this[_0x9542a6(0x2b4)]=_0xa55547,_0x1d6097(this,_0x9542a6(0x352),new Set()),_0x1d6097(this,_0x9542a6(0x20d),null),this[_0x9542a6(0x2d7)]();}[_0x66a763(0x2d7)](){const _0x3ce272=_0x66a763;this[_0x3ce272(0x230)][_0x3ce272(0x28f)][_0x3ce272(0x13d)]((0x0,_0x5b3727[_0x3ce272(0x382)])(this[_0x3ce272(0x14e)]),(0x0,_0x5b3727[_0x3ce272(0x300)])(_0x1c982c=>{const _0x2180b2=_0x3ce272;if(_0x1c982c){let _0x146b21=_0x1c982c[_0x2180b2(0x1d7)];return(0x0,_0x2a7259[_0x2180b2(0x120)])(this[_0x2180b2(0x32b)]['getCollabCursors$'](this['_context'][_0x2180b2(0x3ac)]),this['_themeService'][_0x2180b2(0x274)])['pipe']((0x0,_0x5b3727['map'])(([_0x39c75e,_0xb8bbcd])=>{const _0x159745=_0x2180b2;let _0x284733=new Map();return _0x39c75e[_0x159745(0x329)]((_0x4e8715,_0x3f6b39)=>{const _0x1ccca2=_0x159745;if(_0x4e8715['sheetID']===_0x146b21){let _0x4e627e={..._0x4e8715};_0x4e627e[_0x1ccca2(0x13c)]=this['_themeService'][_0x1ccca2(0x401)](_0x4e8715['color']),_0x284733[_0x1ccca2(0x1ec)](_0x3f6b39,_0x4e627e);}}),{'skeleton':_0x1c982c,'cursors':_0x284733};}));}return(0x0,_0x2a7259['of'])({'skeleton':null,'cursors':new Map()});}))[_0x3ce272(0x279)](({skeleton:_0x29304f,cursors:_0x547c65})=>{const _0x9972dc=_0x3ce272;this[_0x9972dc(0x2a5)](),_0x29304f&&this['_updateCollabCursors'](_0x29304f,_0x547c65);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x4d03a6=>{const _0x482b79=_0x3ce272;if(_0x4d03a6==null)return;let {skeleton:_0x4367b7}=_0x4d03a6,{scene:_0x5c15e8}=this[_0x482b79(0x38a)];_0x5c15e8[_0x482b79(0x2dd)][_0x482b79(0x3a0)]((0x0,_0x1b3dd9[_0x482b79(0x410)])(_0x250ce9=>{const _0x2cf95d=_0x482b79;var _0x18b506,_0xe31cd0;let {offsetX:_0x5a4a00,offsetY:_0x4d344f}=_0x250ce9,{x:_0x67bb44,y:_0x1d36a8}=_0x5c15e8[_0x2cf95d(0x182)](_0x3f9dd4[_0x2cf95d(0x152)]['FromArray']([_0x5a4a00,_0x4d344f])),{scaleX:_0x23c0ed,scaleY:_0x526099}=_0x5c15e8[_0x2cf95d(0x1ee)](),_0x54a9e8=_0x5c15e8[_0x2cf95d(0x1b0)](_0x3f9dd4['SHEET_VIEWPORT_KEY'][_0x2cf95d(0x1b4)]),_0xd2ec7a=_0x5c15e8['getVpScrollXYInfoByPosToVp'](_0x3f9dd4[_0x2cf95d(0x152)][_0x2cf95d(0x2a7)]([_0x67bb44,_0x1d36a8]),_0x54a9e8),_0x4c1798=_0x4367b7[_0x2cf95d(0x3a7)](_0x5a4a00,_0x4d344f,_0x23c0ed,_0x526099,_0xd2ec7a);((_0x18b506=this[_0x2cf95d(0x20d)])==null?void 0x0:_0x18b506['column'])===_0x4c1798[_0x2cf95d(0x32a)]&&((_0xe31cd0=this['_lastPointer'])==null?void 0x0:_0xe31cd0[_0x2cf95d(0x3f3)])===_0x4c1798[_0x2cf95d(0x3f3)]||this[_0x2cf95d(0x352)][_0x2cf95d(0x329)](_0x7f9f5b=>{const _0x1ca68a=_0x2cf95d;_0x7f9f5b[_0x1ca68a(0x418)](_0x4c1798);});},0x64));});}['_updateCollabCursors'](_0x5a7bd6,_0x5a1f9a){const _0x3f1eb3=_0x66a763;var _0x1e9cd4;let _0x298ef0=(_0x1e9cd4=this[_0x3f1eb3(0x230)][_0x3f1eb3(0x21a)]())==null?void 0x0:_0x1e9cd4[_0x3f1eb3(0x153)];if(!_0x298ef0)return;let _0x403860=this[_0x3f1eb3(0x2f2)]();if(!_0x403860)return;this[_0x3f1eb3(0x352)][_0x3f1eb3(0x329)](_0x3801fa=>{const _0x49d6bc=_0x3f1eb3;_0x3801fa[_0x49d6bc(0x312)]();});let {scene:_0x2cf99c}=_0x403860,_0x54b8e1=_0x1a5ff7(Array[_0x3f1eb3(0x28b)](_0x5a1f9a[_0x3f1eb3(0x22e)]()))[_0x3f1eb3(0x275)](_0xc0118a=>{const _0x5eeb63=_0x3f1eb3;let {color:_0x3304c1,range:_0x310ec1,name:_0xdae0c0,selection:_0x433c97,sheetID:_0x2e6045}=_0xc0118a,{startColumn:_0x457425,startRow:_0x1a2afb,endColumn:_0x351be9,endRow:_0xbff903}=_0x310ec1,_0xfdc51=(0x0,_0x1b5d7d[_0x5eeb63(0x26f)])(_0x1a2afb,_0x457425,_0x2cf99c,_0x298ef0),_0xf7457e=(0x0,_0x1b5d7d[_0x5eeb63(0x26f)])(_0xbff903,_0x351be9,_0x2cf99c,_0x298ef0),{columnHeaderHeightAndMarginTop:_0x1e047f}=_0x298ef0,{startX:_0x310fa4,startY:_0x425c78}=_0xfdc51,{endX:_0x52c6ea,endY:_0xb5ecc2}=_0xf7457e,_0x269415=_0x52c6ea-_0x310fa4,_0x594d41=_0xb5ecc2-_0x425c78;return new _0x4befa6(_0xdae0c0,{'labelPosition':_0x425c78-_0x1e047f>=0x14?_0x5eeb63(0x3b5):_0x5eeb63(0x257),'sheetID':_0x2e6045,'range':_0x310ec1,'color':_0x3304c1,'name':_0xdae0c0,'selection':_0x433c97,'left':_0x310fa4,'top':_0x425c78,'width':_0x269415,'height':_0x594d41,'evented':!0x1,'zIndex':0x1389});});_0x2cf99c['addObjects'](_0x54b8e1,0x1),this[_0x3f1eb3(0x352)]=new Set(_0x54b8e1);}[_0x66a763(0x2a5)](){var _0x22384b;(_0x22384b=this['_cursors'])==null||_0x22384b['forEach'](_0x300d7c=>_0x300d7c['dispose']());}[_0x66a763(0x2f2)](){const _0x32a5da=_0x66a763;return(0x0,_0x1b5d7d[_0x32a5da(0x110)])(this[_0x32a5da(0x38a)][_0x32a5da(0x331)],this[_0x32a5da(0x38a)]);}};_0x155705=_0x23cdbf([_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b5d7d[_0x66a763(0x221)])),_0x3942dc(0x2,(0x0,_0x1b3dd9['Inject'])(_0x3b5e8b)),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x316)]))],_0x155705);function _0x1a5ff7(_0x5f3b74){const _0x478a7b=_0x66a763;let _0x58e9a8=new Map();return _0x5f3b74[_0x478a7b(0x329)](_0x2be7bd=>{const _0x398376=_0x478a7b;if(_0x58e9a8[_0x398376(0x41f)](_0x2be7bd[_0x398376(0x261)])){let _0x2dbec0=_0x58e9a8[_0x398376(0x3fa)](_0x2be7bd[_0x398376(0x261)]);_0x2dbec0[_0x398376(0x38e)]+=',\x20'+_0x2be7bd[_0x398376(0x38e)];}else _0x58e9a8['set'](_0x2be7bd['selection'],_0x2be7bd);}),Array[_0x478a7b(0x28b)](_0x58e9a8[_0x478a7b(0x22e)]());}let _0x355702=class extends _0x1b3dd9['Disposable']{constructor(_0x560d22,_0x36458e,_0x78df94,_0x293cc5,_0x2989c4,_0x520089){const _0x17daba=_0x66a763;super(),this[_0x17daba(0x34d)]=_0x560d22,this[_0x17daba(0x2af)]=_0x36458e,this[_0x17daba(0x2cd)]=_0x78df94,this[_0x17daba(0x320)]=_0x293cc5,this[_0x17daba(0x15b)]=_0x2989c4,this[_0x17daba(0x333)]=_0x520089,this['_setupBeforeClosingHandler'](),this[_0x17daba(0x169)]();}[_0x66a763(0x25a)](){const _0x3abf6e=_0x66a763;this[_0x3abf6e(0x296)](this[_0x3abf6e(0x34d)]['registerBeforeClose'](()=>{const _0x223366=_0x3abf6e;if(this[_0x223366(0x2af)][_0x223366(0x245)]['size'])return this[_0x223366(0x333)]['t'](_0x223366(0x1f6));}));}['_initEvent'](){const _0x4084a9=_0x66a763;this['disposeWithMe'](this[_0x4084a9(0x2cd)][_0x4084a9(0x3a9)][_0x4084a9(0x279)](_0x4bdea6=>{const _0x3d4c5f=_0x4084a9;_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)][_0x3d4c5f(0x2d3)]&&this[_0x3d4c5f(0x320)][_0x3d4c5f(0x3ef)]({'type':_0x664d08['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)][_0x3d4c5f(0x27f)]&&this[_0x3d4c5f(0x320)][_0x3d4c5f(0x3ef)]({'type':_0x664d08[_0x3d4c5f(0x412)][_0x3d4c5f(0x3c7)],'content':this[_0x3d4c5f(0x333)]['t'](_0x3d4c5f(0x1f1))}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)][_0x3d4c5f(0x1d1)]&&this[_0x3d4c5f(0x15b)][_0x3d4c5f(0x3ef)]({'title':this[_0x3d4c5f(0x333)]['t'](_0x3d4c5f(0x163)),'content':this['_localeService']['t'](_0x3d4c5f(0x364)),'type':_0x3d4c5f(0x3f8),'duration':0x0}),_0x4bdea6['id']===_0x590dd7['CollaborationUIEventId'][_0x3d4c5f(0x27d)]&&this[_0x3d4c5f(0x320)]['show']({'type':_0x664d08[_0x3d4c5f(0x412)][_0x3d4c5f(0x1d3)],'content':this[_0x3d4c5f(0x333)]['t'](_0x3d4c5f(0x1f1))+'('+_0x4bdea6[_0x3d4c5f(0x25f)]+')'}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)]['JOIN_ROOM_FAILED']&&this[_0x3d4c5f(0x320)][_0x3d4c5f(0x3ef)]({'type':_0x664d08[_0x3d4c5f(0x412)]['Warning'],'content':this['_localeService']['t'](_0x4bdea6[_0x3d4c5f(0x25f)]||'')}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)]['SOCKET_FAILED_RETRY']&&this[_0x3d4c5f(0x320)]['show']({'type':_0x664d08['MessageType'][_0x3d4c5f(0x3c7)],'content':this['_localeService']['t'](_0x3d4c5f(0x188))}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)][_0x3d4c5f(0x239)]&&this[_0x3d4c5f(0x320)][_0x3d4c5f(0x3ef)]({'type':_0x664d08[_0x3d4c5f(0x412)]['Error'],'content':this[_0x3d4c5f(0x333)]['t'](_0x3d4c5f(0x28c))}),_0x4bdea6['id']===_0x590dd7[_0x3d4c5f(0x205)][_0x3d4c5f(0x3c4)]&&this[_0x3d4c5f(0x320)][_0x3d4c5f(0x3ef)]({'type':_0x664d08[_0x3d4c5f(0x412)][_0x3d4c5f(0x1d3)],'content':this[_0x3d4c5f(0x333)]['t'](_0x3d4c5f(0x353))});}));}};_0x355702=_0x23cdbf([_0x3942dc(0x0,_0x18fc70['IBeforeCloseService']),_0x3942dc(0x1,_0x590dd7[_0x66a763(0x28d)]),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7['CollaborationUIEventService'])),_0x3942dc(0x3,_0x18fc70[_0x66a763(0x366)]),_0x3942dc(0x4,_0x18fc70[_0x66a763(0x244)]),_0x3942dc(0x5,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x194)]))],_0x355702);let _0x5b2e19=_0x66a763(0x345);Symbol(_0x5b2e19);let _0x50cfe6={},_0x30fbc4=class{constructor(_0x35d69d,_0x3254d2){const _0x3ec441=_0x66a763;this[_0x3ec441(0x26e)]=_0x35d69d,this['_renderManagerService']=_0x3254d2;}[_0x66a763(0x164)](_0x6efb56){const _0x50183e=_0x66a763;this[_0x50183e(0x1f4)](_0x6efb56),this[_0x50183e(0x263)](_0x6efb56);}['transformRemoteChangeset'](_0x24b7ca){const _0x2a8963=_0x66a763;let {unitID:_0x3e9dc8}=_0x24b7ca,{redoCache:_0x474231}=this['_renderManagerService'][_0x2a8963(0x2b9)](_0x3e9dc8)['with'](_0x191e18[_0x2a8963(0x212)])[_0x2a8963(0x3b1)]();if(_0x474231['length']===0x0)return _0x24b7ca;let _0x469e64=_0x1b3dd9[_0x2a8963(0x2ae)][_0x2a8963(0x192)](_0x24b7ca[_0x2a8963(0x179)][0x0]);for(let _0x57a701=0x0;_0x57a701<_0x474231[_0x2a8963(0x21b)];_0x57a701++){let _0x4044a7={'id':_0x2a8963(0x1db),'params':{..._0x474231[_0x57a701]}},_0x3a08fb=this[_0x2a8963(0x26e)]['transformMutation'](_0x469e64,_0x4044a7,!0x1);if((0x0,_0x4795bc['isTransformMutationFailure'])(_0x3a08fb))throw _0x3a08fb['error'];_0x469e64=_0x3a08fb[_0x2a8963(0x132)];}return{..._0x1b3dd9[_0x2a8963(0x2ae)][_0x2a8963(0x192)](_0x24b7ca),'mutations':[_0x469e64]};}[_0x66a763(0x1f4)](_0x332e90){const _0x1b5f54=_0x66a763;let {unitID:_0x434b88}=_0x332e90,_0x2583cb=this[_0x1b5f54(0x285)][_0x1b5f54(0x2b9)](_0x434b88)[_0x1b5f54(0x154)](_0x191e18[_0x1b5f54(0x212)]),{undoCache:_0x6dfaf5,redoCache:_0x3aa001}=_0x2583cb[_0x1b5f54(0x3b1)]();if(_0x6dfaf5['length']===0x0||_0x3aa001[_0x1b5f54(0x21b)]===0x0)return;let _0x1e111c=[],_0x42b4d7=[],_0x119afa=_0x1b3dd9[_0x1b5f54(0x2ae)][_0x1b5f54(0x192)](_0x332e90[_0x1b5f54(0x179)][0x0]),_0x141a91=_0x1b3dd9[_0x1b5f54(0x2ae)]['deepClone'](_0x332e90[_0x1b5f54(0x179)][0x0]);for(let _0x4b94ca=_0x6dfaf5[_0x1b5f54(0x21b)]-0x1;_0x4b94ca>=0x0;_0x4b94ca--){let _0x19a260={'id':_0x1b5f54(0x1db),'params':{..._0x6dfaf5[_0x4b94ca]}},_0xdd9e45={'id':_0x1b5f54(0x1db),'params':{..._0x3aa001[_0x4b94ca]}},_0x1d9a8d=this['_transformService'][_0x1b5f54(0x1eb)](_0x119afa,_0x19a260,!0x1),_0x21053b=this['_transformService']['transformMutation'](_0x141a91,_0xdd9e45,!0x1);if((0x0,_0x4795bc[_0x1b5f54(0x405)])(_0x1d9a8d))throw _0x1d9a8d[_0x1b5f54(0x3f8)];if((0x0,_0x4795bc[_0x1b5f54(0x405)])(_0x21053b))throw _0x21053b[_0x1b5f54(0x3f8)];_0x1e111c[_0x1b5f54(0x301)](_0x1d9a8d[_0x1b5f54(0x1ed)][_0x1b5f54(0x19f)]),_0x42b4d7[_0x1b5f54(0x301)](_0x21053b[_0x1b5f54(0x1ed)][_0x1b5f54(0x19f)]),_0x119afa=_0x1d9a8d['m1Prime'],_0x141a91=_0x21053b[_0x1b5f54(0x132)];}_0x2583cb[_0x1b5f54(0x41c)]({'undoCache':_0x1e111c,'redoCache':_0x42b4d7});}[_0x66a763(0x263)](_0x291a08){const _0x2d0d94=_0x66a763;let {unitID:_0x3101a2}=_0x291a08,_0x15394b=this['_renderManagerService'][_0x2d0d94(0x2b9)](_0x3101a2)['with'](_0x191e18[_0x2d0d94(0x212)]),_0x10c9a6=_0x15394b[_0x2d0d94(0x14b)]();if(_0x10c9a6==null)return;let _0x30a211=[{'id':_0x2d0d94(0x1db),'params':{'unitId':_0x291a08['unitID'],'actions':null,'textRanges':[_0x10c9a6]}}],_0x346bb5=this[_0x2d0d94(0x26e)][_0x2d0d94(0x130)](_0x291a08,_0x30a211);if(!(0x0,_0x4795bc['isTransformMutationsWithChangesetSuccess'])(_0x346bb5))throw _0x346bb5[_0x2d0d94(0x3f8)];let _0x563a5b=_0x346bb5[_0x2d0d94(0x1ed)][0x0][_0x2d0d94(0x19f)][_0x2d0d94(0x2a4)];Array[_0x2d0d94(0x35f)](_0x563a5b)&&_0x563a5b[_0x2d0d94(0x21b)]&&_0x15394b[_0x2d0d94(0x334)](_0x563a5b[0x0]);}};_0x30fbc4=_0x23cdbf([_0x3942dc(0x0,_0x4795bc[_0x66a763(0x2e8)]),_0x3942dc(0x1,_0x3f9dd4[_0x66a763(0x1a5)])],_0x30fbc4);let _0x379a8d=class{constructor(_0x245a6a,_0x1651d6,_0x4d1626){const _0x3fde0b=_0x66a763;this[_0x3fde0b(0x330)]=_0x245a6a,this[_0x3fde0b(0x26e)]=_0x1651d6,this[_0x3fde0b(0x1e5)]=_0x4d1626;}[_0x66a763(0x3a4)](_0x3b5f53){this['_transformHistoryAndStateStack'](_0x3b5f53);}[_0x66a763(0x241)](_0x22f4da){const _0xb15f4e=_0x66a763;let {unitID:_0x410671}=_0x22f4da,{collaboration:_0x40a2d2}=this['_docStateChangeManagerService'][_0xb15f4e(0x12f)](_0x410671);if(_0x40a2d2[_0xb15f4e(0x21b)]===0x0)return _0x22f4da;let _0x27269d=_0x1b3dd9[_0xb15f4e(0x2ae)]['deepClone'](_0x22f4da[_0xb15f4e(0x179)][0x0]);for(let _0x40a14d=0x0;_0x40a14d<_0x40a2d2[_0xb15f4e(0x21b)];_0x40a14d++){let _0x42cf5d={'id':_0xb15f4e(0x1db),'params':{'unitId':_0x40a2d2[_0x40a14d][_0xb15f4e(0x3ac)],..._0x40a2d2[_0x40a14d][_0xb15f4e(0x2bc)]}},_0x543b12=this['_transformService'][_0xb15f4e(0x1eb)](_0x27269d,_0x42cf5d,!0x1);if((0x0,_0x4795bc[_0xb15f4e(0x405)])(_0x543b12))throw _0x543b12['error'];_0x27269d=_0x543b12[_0xb15f4e(0x132)];}return{..._0x1b3dd9[_0xb15f4e(0x2ae)][_0xb15f4e(0x192)](_0x22f4da),'mutations':[_0x27269d]};}['_transformHistoryAndStateStack'](_0x541d8a){const _0x2d76aa=_0x66a763;let {unitID:_0x1cf47e}=_0x541d8a,{history:_0x1ea36d,collaboration:_0x1e767d}=this[_0x2d76aa(0x1e5)][_0x2d76aa(0x12f)](_0x1cf47e);if(_0x1ea36d[_0x2d76aa(0x21b)]===0x0&&_0x1e767d[_0x2d76aa(0x21b)]===0x0)return;let _0x1b97de=[],_0x4d0759=[],_0x5a382f=_0x1b3dd9[_0x2d76aa(0x2ae)]['deepClone'](_0x541d8a[_0x2d76aa(0x179)][0x0]),_0xe87918=_0x1b3dd9['Tools'][_0x2d76aa(0x192)](_0x541d8a[_0x2d76aa(0x179)][0x0]);for(let _0xdf309f=_0x1ea36d[_0x2d76aa(0x21b)]-0x1;_0xdf309f>=0x0;_0xdf309f--){let _0x2f2c70={'id':_0x2d76aa(0x1db),'params':{'unitId':_0x1ea36d[_0xdf309f][_0x2d76aa(0x3ac)],..._0x1ea36d[_0xdf309f]['undoState']}},_0x3a64b1={'id':_0x2d76aa(0x1db),'params':{'unitId':_0x1ea36d[_0xdf309f]['unitId'],..._0x1ea36d[_0xdf309f][_0x2d76aa(0x2bc)]}},_0x3107f9=this[_0x2d76aa(0x26e)][_0x2d76aa(0x1eb)](_0x5a382f,_0x2f2c70,!0x1),_0x234f92=this[_0x2d76aa(0x26e)][_0x2d76aa(0x1eb)](_0xe87918,_0x3a64b1,!0x1);if((0x0,_0x4795bc[_0x2d76aa(0x405)])(_0x3107f9))throw _0x3107f9[_0x2d76aa(0x3f8)];if((0x0,_0x4795bc[_0x2d76aa(0x405)])(_0x234f92))throw _0x234f92[_0x2d76aa(0x3f8)];_0x1b97de[_0x2d76aa(0x301)]({..._0x1ea36d[_0xdf309f],'undoState':_0x3107f9[_0x2d76aa(0x1ed)]['params'],'redoState':_0x234f92[_0x2d76aa(0x1ed)][_0x2d76aa(0x19f)]}),_0x5a382f=_0x3107f9[_0x2d76aa(0x132)],_0xe87918=_0x234f92['m1Prime'];}_0x5a382f=_0x1b3dd9[_0x2d76aa(0x2ae)][_0x2d76aa(0x192)](_0x541d8a[_0x2d76aa(0x179)][0x0]),_0xe87918=_0x1b3dd9[_0x2d76aa(0x2ae)][_0x2d76aa(0x192)](_0x541d8a[_0x2d76aa(0x179)][0x0]);for(let _0x38f929=_0x1e767d[_0x2d76aa(0x21b)]-0x1;_0x38f929>=0x0;_0x38f929--){let _0x93e32c={'id':_0x2d76aa(0x1db),'params':{'unitId':_0x1e767d[_0x38f929][_0x2d76aa(0x3ac)],..._0x1e767d[_0x38f929][_0x2d76aa(0x41b)]}},_0x11a89c={'id':_0x2d76aa(0x1db),'params':{'unitId':_0x1e767d[_0x38f929]['unitId'],..._0x1e767d[_0x38f929][_0x2d76aa(0x2bc)]}},_0x2c2186=this[_0x2d76aa(0x26e)][_0x2d76aa(0x1eb)](_0x5a382f,_0x93e32c,!0x1),_0x4503aa=this[_0x2d76aa(0x26e)][_0x2d76aa(0x1eb)](_0xe87918,_0x11a89c,!0x1);if((0x0,_0x4795bc[_0x2d76aa(0x405)])(_0x2c2186))throw _0x2c2186['error'];if((0x0,_0x4795bc[_0x2d76aa(0x405)])(_0x4503aa))throw _0x4503aa[_0x2d76aa(0x3f8)];_0x4d0759[_0x2d76aa(0x301)]({..._0x1e767d[_0x38f929],'undoState':_0x2c2186[_0x2d76aa(0x1ed)][_0x2d76aa(0x19f)],'redoState':_0x4503aa['m2Prime'][_0x2d76aa(0x19f)]}),_0x5a382f=_0x2c2186['m1Prime'],_0xe87918=_0x4503aa[_0x2d76aa(0x132)];}this[_0x2d76aa(0x1e5)][_0x2d76aa(0x384)](_0x1cf47e,{'history':_0x1b97de,'collaboration':_0x4d0759});}};_0x379a8d=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9['Inject'])(_0x1b3dd9['Injector'])),_0x3942dc(0x1,_0x4795bc[_0x66a763(0x2e8)]),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x191e18[_0x66a763(0x30c)]))],_0x379a8d);let _0x1097b5=class{constructor(_0x3d7d97,_0x42005d){const _0x4d1c6=_0x66a763;this[_0x4d1c6(0x330)]=_0x3d7d97,this[_0x4d1c6(0x26e)]=_0x42005d;}[_0x66a763(0x136)](_0x4ad31a){const _0x438503=_0x66a763;var _0x961a9f;let _0x8a3535=this[_0x438503(0x330)][_0x438503(0x3fa)](_0x72742f[_0x438503(0x1c2)]),_0x512b95=(_0x961a9f=_0x8a3535[_0x438503(0x2ea)]())==null?[]:_0x961a9f;if(_0x512b95[_0x438503(0x21b)]===0x0)return;let _0x17a7e4=_0x4ad31a[_0x438503(0x167)],_0x2b570d=[{'id':_0x438503(0x1db),'params':{'unitId':_0x17a7e4,'actions':null,'textRanges':_0x512b95}}],_0xce5d2a=this['_transformService'][_0x438503(0x130)](_0x4ad31a,_0x2b570d);if(!(0x0,_0x4795bc[_0x438503(0x124)])(_0xce5d2a))throw _0xce5d2a[_0x438503(0x3f8)];let _0x8c9e5a=_0xce5d2a[_0x438503(0x1ed)][0x0][_0x438503(0x19f)]['textRanges'];Array[_0x438503(0x35f)](_0x8c9e5a)&&_0x8c9e5a[_0x438503(0x21b)]&&_0x8a3535[_0x438503(0x119)](_0x8c9e5a,{'unitId':_0x17a7e4,'subUnitId':_0x17a7e4},!0x1);}};_0x1097b5=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9['Inject'])(_0x1b3dd9['Injector'])),_0x3942dc(0x1,_0x4795bc['ITransformService'])],_0x1097b5);let _0x2c6409=class extends _0x1b3dd9['Disposable']{constructor(_0x55de1a,_0x164a0b,_0x38d72b,_0x54053f,_0x3d876d,_0x25ad6b,_0x2e70af,_0x5b13e2){const _0x3fcc79=_0x66a763;super(),this['_docStateChangeManagerService']=_0x55de1a,this['_collaborationController']=_0x164a0b,this['_docTransformIMECacheService']=_0x38d72b,this[_0x3fcc79(0x1e9)]=_0x54053f,this[_0x3fcc79(0x422)]=_0x3d876d,this[_0x3fcc79(0x18d)]=_0x25ad6b,this[_0x3fcc79(0x320)]=_0x2e70af,this[_0x3fcc79(0x333)]=_0x5b13e2,_0x1d6097(this,'_status$',new _0x2a7259[(_0x3fcc79(0x18a))](_0x590dd7['CollaborationStatus']['NOT_COLLAB'])),this['_initEntityListener']();}[_0x66a763(0x147)](){const _0x2f973d=_0x66a763;this['disposeWithMe'](this[_0x2f973d(0x23d)]['entityInit$'][_0x2f973d(0x279)](_0x578265=>{const _0x8b2181=_0x2f973d;let _0x2f90b7=this[_0x8b2181(0x1e5)][_0x8b2181(0x31e)][_0x8b2181(0x279)](_0x9e507e=>{const _0x19fa0f=_0x8b2181;if(_0x9e507e==null)return;let {unitId:_0x3ef44f,redoState:_0x12552b,commandId:_0x44aefd}=_0x9e507e;if(_0x3ef44f!==_0x578265[_0x19fa0f(0x167)])return;let _0x25c6ba={'id':_0x44aefd,'type':_0x1b3dd9[_0x19fa0f(0x3cf)]['MUTATION'],'params':{'unitId':_0x3ef44f,'actions':_0x12552b[_0x19fa0f(0x1e2)],'textRanges':null}};_0x578265[_0x19fa0f(0x282)](_0x25c6ba);});_0x578265['disposeWithMe'](_0x2f90b7),_0x578265 instanceof _0x590dd7[_0x8b2181(0x17f)]&&_0x578265['addHandlerCallback']({'onTransformIME':_0x44dfce=>this[_0x8b2181(0x413)]['transformIMECache'](_0x44dfce),'onTransformState':_0x50d58e=>this[_0x8b2181(0x1e9)][_0x8b2181(0x3a4)](_0x50d58e),'onTransformSelections':_0x531a27=>this[_0x8b2181(0x422)][_0x8b2181(0x136)](_0x531a27),'onSyncEditingCollabCursor':_0x3bf0cd=>this[_0x8b2181(0x18d)][_0x8b2181(0x1bc)](_0x3bf0cd),'onTransformRemoteChangesetByIMECache':_0x443fc4=>this[_0x8b2181(0x413)][_0x8b2181(0x241)](_0x443fc4),'onTransformRemoteChangesetByStateCache':_0x33d072=>this[_0x8b2181(0x1e9)][_0x8b2181(0x241)](_0x33d072)});}));}};_0x2c6409=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9['Inject'])(_0x191e18[_0x66a763(0x30c)])),_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7[_0x66a763(0x18e)])),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x30fbc4)),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x379a8d)),_0x3942dc(0x4,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1097b5)),_0x3942dc(0x5,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x24b9e2)),_0x3942dc(0x6,_0x18fc70[_0x66a763(0x366)]),_0x3942dc(0x7,(0x0,_0x1b3dd9['Inject'])(_0x1b3dd9[_0x66a763(0x194)]))],_0x2c6409);let _0x77eeda=class extends _0x1b3dd9['Disposable']{constructor(_0x482dc2,_0x5beb64,_0x3e93d8,_0x51437b){const _0x18c463=_0x66a763;super(),this[_0x18c463(0x330)]=_0x482dc2,this[_0x18c463(0x1cb)]=_0x5beb64,this[_0x18c463(0x26d)]=_0x3e93d8,this[_0x18c463(0x281)]=_0x51437b,_0x1d6097(this,_0x18c463(0x287),void 0x0),this['_init']();}['_init'](){const _0x2e9458=_0x66a763;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x2e9458(0x12e)](),this[_0x2e9458(0x1fe)]();}[_0x66a763(0x1fe)](){const _0x36629e=_0x66a763;this[_0x36629e(0x296)](this[_0x36629e(0x281)]['socket$'][_0x36629e(0x279)](_0xfeb772=>{const _0x8757c5=_0x36629e;this[_0x8757c5(0x287)]=_0xfeb772==null?void 0x0:_0xfeb772[_0x8757c5(0x3d8)];}));}['_initWindowErrorListener'](){const _0x4d6668=_0x66a763;let _0x3f99e2=_0x382a26=>{const _0x1a6b8d=_0x1749;var _0x56becc;this[_0x1a6b8d(0x1a8)](_0x1a6b8d(0x3f8),_0x1a6b8d(0x3dc)+_0x382a26[_0x1a6b8d(0x150)]+_0x1a6b8d(0x178)+_0x382a26[_0x1a6b8d(0x15e)]+':'+_0x382a26[_0x1a6b8d(0x291)]+':'+_0x382a26[_0x1a6b8d(0x15a)]+'\x0a'+(((_0x56becc=_0x382a26[_0x1a6b8d(0x3f8)])==null?void 0x0:_0x56becc[_0x1a6b8d(0x233)])||''));};window['addEventListener'](_0x4d6668(0x3f8),_0x3f99e2),this[_0x4d6668(0x296)](()=>{const _0x74bba=_0x4d6668;window['removeEventListener'](_0x74bba(0x3f8),_0x3f99e2);});}['_initUnhandledRejectionListener'](){const _0x3cb555=_0x66a763;let _0x389043=_0x4c06ee=>{const _0x47c1a1=_0x1749;this[_0x47c1a1(0x1a8)](_0x47c1a1(0x3f8),'[Unhandled\x20Rejection]:\x20'+_0x4c06ee[_0x47c1a1(0x319)]);};window[_0x3cb555(0x214)](_0x3cb555(0x22d),_0x389043),this[_0x3cb555(0x296)](()=>{const _0x475443=_0x3cb555;window[_0x475443(0x3db)](_0x475443(0x22d),_0x389043);});}[_0x66a763(0x12e)](){const _0xc069f4=_0x66a763;let _0x1e8311=this[_0xc069f4(0x26d)][_0xc069f4(0x3f8)][_0xc069f4(0x409)](this[_0xc069f4(0x26d)]);this['_logService']['error']=(..._0x56a030)=>{const _0x5829b5=_0xc069f4;let _0xad8f7=_0x56a030['map'](_0x5076f3=>_0x5076f3 instanceof Error?_0x5076f3[_0x5829b5(0x150)]+'\x0a'+_0x5076f3[_0x5829b5(0x233)]:String(_0x5076f3))[_0x5829b5(0x146)]('\x20');this[_0x5829b5(0x1a8)]('error',_0x5829b5(0x151)+_0xad8f7),_0x1e8311(..._0x56a030);},this[_0xc069f4(0x296)](()=>{const _0x5a77cb=_0xc069f4;this['_logService'][_0x5a77cb(0x3f8)]=_0x1e8311;});}['_uploadLog'](_0x593fd4,_0x122155){const _0x14f23a=_0x66a763;try{let _0x3a9007={'userId':this[_0x14f23a(0x287)],'logLabel':_0x593fd4,'content':_0x122155};this[_0x14f23a(0x1cb)]['post'](_0x14f23a(0x3d3),{'body':_0x3a9007})[_0x14f23a(0x361)](()=>{});}catch{}}};_0x77eeda=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x1,(0x0,_0x1b3dd9['Inject'])(_0x57fbee['HTTPService'])),_0x3942dc(0x2,_0x1b3dd9['ILogService']),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x590dd7[_0x66a763(0x17a)]))],_0x77eeda);let _0x2b2b34=function(_0x28cc13){const _0x474be9=_0x66a763;return _0x28cc13[_0x28cc13['UNDEFINED']=0x0]=_0x474be9(0x37a),_0x28cc13[_0x28cc13['OK']=0x1]='OK',_0x28cc13[_0x28cc13['INTERNAL_ERROR']=0x2]=_0x474be9(0x342),_0x28cc13[_0x28cc13[_0x474be9(0x1d1)]=0x3]=_0x474be9(0x1d1),_0x28cc13[_0x28cc13[_0x474be9(0x3cc)]=0x4]=_0x474be9(0x3cc),_0x28cc13[_0x28cc13[_0x474be9(0x18c)]=0x5]=_0x474be9(0x18c),_0x28cc13[_0x28cc13[_0x474be9(0x375)]=0x6]='ALREADY_EXISTS',_0x28cc13[_0x28cc13[_0x474be9(0x1d0)]=0x7]=_0x474be9(0x1d0),_0x28cc13[_0x28cc13[_0x474be9(0x10f)]=0x8]='TOO_MANY_REQUESTS',_0x28cc13[_0x28cc13[_0x474be9(0x249)]=0x9]='COMPLETION_FINISHED',_0x28cc13[_0x28cc13['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x28cc13[_0x28cc13[_0x474be9(0x160)]=0xb]=_0x474be9(0x160),_0x28cc13[_0x28cc13['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x474be9(0x2fb),_0x28cc13[_0x28cc13['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x474be9(0x190),_0x28cc13[_0x28cc13['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x474be9(0x198),_0x28cc13[_0x28cc13[_0x474be9(0x1ac)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x28cc13[_0x28cc13[_0x474be9(0x113)]=0x10]=_0x474be9(0x113),_0x28cc13[_0x28cc13['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x474be9(0x11a),_0x28cc13[_0x28cc13[_0x474be9(0x162)]=0x65]=_0x474be9(0x162),_0x28cc13[_0x28cc13[_0x474be9(0x36a)]=0xc9]=_0x474be9(0x36a),_0x28cc13[_0x28cc13[_0x474be9(0x1c0)]=0xca]=_0x474be9(0x1c0),_0x28cc13[_0x28cc13['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x474be9(0x13f),_0x28cc13[_0x28cc13[_0x474be9(0x3e2)]=0x1771]=_0x474be9(0x3e2),_0x28cc13[_0x28cc13[_0x474be9(0x2aa)]=0x1772]=_0x474be9(0x2aa),_0x28cc13[_0x28cc13['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x28cc13[_0x28cc13['APPLY_REJECT']=0x1b59]=_0x474be9(0x27a),_0x28cc13[_0x28cc13[_0x474be9(0x2be)]=0x1b5a]=_0x474be9(0x2be),_0x28cc13[_0x28cc13[_0x474be9(0x349)]=0x1b5b]=_0x474be9(0x349),_0x28cc13[_0x28cc13['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x474be9(0x186),_0x28cc13[_0x28cc13[_0x474be9(0x1c3)]=0x1b5d]=_0x474be9(0x1c3),_0x28cc13[_0x28cc13[_0x474be9(0x3ad)]=0x1f41]=_0x474be9(0x3ad),_0x28cc13[_0x28cc13['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x28cc13[_0x28cc13[_0x474be9(0x19b)]=0x232a]=_0x474be9(0x19b),_0x28cc13[_0x28cc13[_0x474be9(0x338)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x28cc13[_0x28cc13[_0x474be9(0x3a6)]=0x232c]=_0x474be9(0x3a6),_0x28cc13[_0x28cc13[_0x474be9(0x3aa)]=0x232d]=_0x474be9(0x3aa),_0x28cc13[_0x28cc13[_0x474be9(0x1bb)]=0x2711]=_0x474be9(0x1bb),_0x28cc13[_0x28cc13['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x474be9(0x41d),_0x28cc13[_0x28cc13['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x474be9(0x317),_0x28cc13[_0x28cc13[_0x474be9(0x3f2)]=0x2714]=_0x474be9(0x3f2),_0x28cc13[_0x28cc13[_0x474be9(0x27e)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x28cc13[_0x28cc13[_0x474be9(0x2c6)]=0x271b]=_0x474be9(0x2c6),_0x28cc13[_0x28cc13[_0x474be9(0x1ba)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x28cc13[_0x28cc13['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x474be9(0x304),_0x28cc13[_0x28cc13[_0x474be9(0x3fd)]=0x271e]=_0x474be9(0x3fd),_0x28cc13[_0x28cc13[_0x474be9(0x341)]=0x271f]=_0x474be9(0x341),_0x28cc13[_0x28cc13['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x474be9(0x2c0),_0x28cc13[_0x28cc13[_0x474be9(0x3f7)]=0x2af9]=_0x474be9(0x3f7),_0x28cc13[_0x28cc13[_0x474be9(0x2a1)]=0x2ee1]=_0x474be9(0x2a1),_0x28cc13[_0x28cc13[_0x474be9(0x232)]=0x2ee2]=_0x474be9(0x232),_0x28cc13[_0x28cc13[_0x474be9(0x29b)]=0x2ee3]=_0x474be9(0x29b),_0x28cc13[_0x28cc13[_0x474be9(0x3af)]=0x2ee4]=_0x474be9(0x3af),_0x28cc13[_0x28cc13['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x474be9(0x142),_0x28cc13[_0x28cc13[_0x474be9(0x33d)]=0x32c9]=_0x474be9(0x33d),_0x28cc13[_0x28cc13[_0x474be9(0x117)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x28cc13[_0x28cc13[_0x474be9(0x3d1)]=0x32cb]=_0x474be9(0x3d1),_0x28cc13[_0x28cc13[_0x474be9(0x215)]=0x36b1]=_0x474be9(0x215),_0x28cc13[_0x28cc13[_0x474be9(0x3ae)]=0x36b2]=_0x474be9(0x3ae),_0x28cc13[_0x28cc13[_0x474be9(0x39a)]=0x36b3]=_0x474be9(0x39a),_0x28cc13[_0x28cc13[_0x474be9(0x1f0)]=0x36b4]=_0x474be9(0x1f0),_0x28cc13[_0x28cc13[_0x474be9(0x258)]=0x36b5]=_0x474be9(0x258),_0x28cc13[_0x28cc13['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x474be9(0x1ae),_0x28cc13[_0x28cc13[_0x474be9(0x174)]=0x36b7]=_0x474be9(0x174),_0x28cc13[_0x28cc13['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x474be9(0x406),_0x28cc13[_0x28cc13[_0x474be9(0x35c)]=0x3715]=_0x474be9(0x35c),_0x28cc13[_0x28cc13[_0x474be9(0x340)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x28cc13[_0x28cc13[_0x474be9(0x2c9)]=0x3717]=_0x474be9(0x2c9),_0x28cc13[_0x28cc13[_0x474be9(0x228)]=0x37dd]=_0x474be9(0x228),_0x28cc13[_0x28cc13['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x28cc13[_0x28cc13[_0x474be9(0x2e2)]=0x3a9a]=_0x474be9(0x2e2),_0x28cc13[_0x28cc13[_0x474be9(0x21e)]=0x3a9b]=_0x474be9(0x21e),_0x28cc13[_0x28cc13['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x28cc13[_0x28cc13[_0x474be9(0x2df)]=0x3a9d]=_0x474be9(0x2df),_0x28cc13[_0x28cc13[_0x474be9(0x3f1)]=0x3a9e]=_0x474be9(0x3f1),_0x28cc13[_0x28cc13[_0x474be9(0x1b3)]=0x3a9f]=_0x474be9(0x1b3),_0x28cc13[_0x28cc13['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x474be9(0x29d),_0x28cc13[_0x28cc13[_0x474be9(0x1a0)]=-0x1]=_0x474be9(0x1a0),_0x28cc13;}({});function _0x47102c(_0x24f2ab){const _0x59eeb5=_0x66a763;var _0x36f825,_0x232f36;let _0x2a8fe4=(_0x36f825=_0x24f2ab[_0x59eeb5(0x397)])==null?void 0x0:_0x36f825[_0x59eeb5(0x3f4)],_0x339d9c=((_0x232f36=_0x24f2ab[_0x59eeb5(0x397)])==null?void 0x0:_0x232f36[_0x59eeb5(0x200)])||0x0;return _0x2a8fe4===_0x2e4567[_0x59eeb5(0x3dd)][_0x59eeb5(0x3e8)]&&_0x339d9c>0x0;}function _0x2e826d(_0x482ed3){const _0x23f4df=_0x66a763;return _0x482ed3[_0x23f4df(0x3e7)]===_0x2e4567['FormulaExecutedStateType'][_0x23f4df(0x1a6)];}let _0x28cce3=class extends _0x1b3dd9[_0x66a763(0x31a)]{constructor(_0x31bbc4,_0xb453fc,_0xd6dcf1,_0x45be89,_0x3555d6,_0x229069,_0x5ac434){const _0x135d4b=_0x66a763;super(),this[_0x135d4b(0x320)]=_0x31bbc4,this[_0x135d4b(0x41a)]=_0xb453fc,this[_0x135d4b(0x1f2)]=_0xd6dcf1,this[_0x135d4b(0x1cb)]=_0x45be89,this[_0x135d4b(0x369)]=_0x3555d6,this['_logService']=_0x229069,this[_0x135d4b(0x333)]=_0x5ac434,_0x1d6097(this,'_pollingInterval',null),_0x1d6097(this,_0x135d4b(0x2f6),0x0),_0x1d6097(this,_0x135d4b(0x24f),0x0),_0x1d6097(this,_0x135d4b(0x1b5),[]),_0x1d6097(this,_0x135d4b(0x34e),0x0),this['_initCommandInterceptor']();}['_initCommandInterceptor'](){const _0x340aaf=_0x66a763;this[_0x340aaf(0x296)](this[_0x340aaf(0x41a)][_0x340aaf(0x1a9)]((_0x4cc60d,_0x8d4266)=>{const _0xa7c5e8=_0x340aaf;var _0x32d42c;if(_0x4cc60d['id']!==_0x2e4567[_0xa7c5e8(0x1e6)]['id'])return;let _0x446a14=_0x4cc60d[_0xa7c5e8(0x19f)];if(this[_0xa7c5e8(0x368)]((_0x32d42c=_0x446a14[_0xa7c5e8(0x3ff)])==null?[]:_0x32d42c)&&!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x4cc60d,_0x8d4266),this['_showGuardMessage'](),new _0x1b3dd9['CanceledError']();})),this['disposeWithMe'](this[_0x340aaf(0x41a)][_0x340aaf(0x11f)]((_0x5cf975,_0x3f5537)=>{const _0x3a1eb3=_0x340aaf;if(_0x5cf975['id']!==_0x2e4567[_0x3a1eb3(0x1d9)]['id'])return;let _0x5923dd=_0x5cf975['params'];if(_0x47102c(_0x5923dd)){let _0x23ae67=(0x0,_0x1b3dd9[_0x3a1eb3(0x24c)])();this[_0x3a1eb3(0x1b5)]['push'](_0x23ae67),this[_0x3a1eb3(0x3bd)](_0x23ae67);}else{if(_0x2e826d(_0x5923dd)&&this[_0x3a1eb3(0x1b5)]['length']>0x0){let _0x51f1ad=this[_0x3a1eb3(0x1b5)][_0x3a1eb3(0x306)]();this['_releaseCalculationLimit'](_0x51f1ad);}}}));}['dispose'](){const _0xcdd03f=_0x66a763;super[_0xcdd03f(0x3c1)](),this[_0xcdd03f(0x208)](),this['_taskIds']=[],this[_0xcdd03f(0x24f)]=0x0,this[_0xcdd03f(0x2f6)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x66a763(0x111)](_0x3cfc4d,_0x169095){const _0x58f4ee=_0x66a763;for(let _0x3ca3a2=0x0;_0x3ca3a2<0x1e;_0x3ca3a2++)try{if(await this[_0x58f4ee(0x1d2)](),this[_0x58f4ee(0x303)]()){this[_0x58f4ee(0x415)](_0x3cfc4d,_0x169095),this['_messageService'][_0x58f4ee(0x3ef)]({'content':this[_0x58f4ee(0x333)]['t']('formula.calculation.started'),'type':_0x664d08['MessageType'][_0x58f4ee(0x237)]});return;}await new Promise(_0x15d034=>{const _0xb454d6=_0x58f4ee;this[_0xb454d6(0x3d5)]=window['setTimeout'](_0x15d034,0x3e8);});}catch(_0x574ff2){this[_0x58f4ee(0x26d)][_0x58f4ee(0x3f8)](_0x574ff2);}this['_messageService'][_0x58f4ee(0x3ef)]({'content':this[_0x58f4ee(0x333)]['t'](_0x58f4ee(0x302)),'type':_0x664d08[_0x58f4ee(0x412)][_0x58f4ee(0x1d3)]});}[_0x66a763(0x415)](_0x3580bd,_0x30e8fd){const _0x42fb5f=_0x66a763;try{this[_0x42fb5f(0x41a)][_0x42fb5f(0x3bf)](_0x3580bd['id'],_0x3580bd['params'],_0x30e8fd);}catch(_0x14067e){this['_logService'][_0x42fb5f(0x3f8)](_0x14067e);}}[_0x66a763(0x2b6)](_0x4ec02f,_0x569c3d){const _0x2e0d66=_0x66a763;_0x569c3d<this[_0x2e0d66(0x34e)]||(this['_lastResponseTimestamp']=_0x569c3d,this['_maxFormulaLimit']=Number[_0x2e0d66(0x227)](_0x4ec02f[_0x2e0d66(0x3d7)]),this[_0x2e0d66(0x24f)]=Number['parseInt'](_0x4ec02f[_0x2e0d66(0x1a2)]));}async['_startCalculationLimit'](_0xd50709){const _0x5ca6a7=_0x66a763;let _0x3a1009=Date[_0x5ca6a7(0x3d2)]();try{var _0x155d4f,_0x3f87f9;let _0x1c1e63=((_0x155d4f=this['_configService']['getConfig'](_0x590dd7[_0x5ca6a7(0x144)]))==null?void 0x0:_0x155d4f[_0x5ca6a7(0x2dc)])||_0x5ca6a7(0x2c3),_0x4d865c=(await this[_0x5ca6a7(0x1cb)]['post'](_0x1c1e63,{'body':JSON['stringify']({'taskId':_0xd50709})}))[_0x5ca6a7(0x30a)];if(((_0x3f87f9=_0x4d865c[_0x5ca6a7(0x3f8)])==null?void 0x0:_0x3f87f9[_0x5ca6a7(0x3b0)])!==_0x2b2b34['OK'])return;this[_0x5ca6a7(0x2b6)](_0x4d865c['limitInfo'],_0x3a1009);}catch(_0x5c0ac7){this['_logService'][_0x5ca6a7(0x3f8)](_0x5c0ac7);}}async[_0x66a763(0x1d2)](_0x5e66d0){const _0x14e3fe=_0x66a763;let _0x4034ff=Date[_0x14e3fe(0x3d2)]();try{var _0x365770,_0x425ad0;let _0x4c3dc5=((_0x365770=this[_0x14e3fe(0x1f2)][_0x14e3fe(0x15c)](_0x590dd7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x365770[_0x14e3fe(0x2d2)])||_0x14e3fe(0x2f1),_0xc97383=_0x5e66d0?_0x4c3dc5+_0x14e3fe(0x145)+encodeURIComponent(_0x5e66d0):_0x4c3dc5,_0x2b709f=(await this['_httpService']['get'](_0xc97383))[_0x14e3fe(0x30a)];if(((_0x425ad0=_0x2b709f[_0x14e3fe(0x3f8)])==null?void 0x0:_0x425ad0[_0x14e3fe(0x3b0)])!==_0x2b2b34['OK'])return;this[_0x14e3fe(0x2b6)](_0x2b709f[_0x14e3fe(0x359)],_0x4034ff);}catch(_0x2810a4){this[_0x14e3fe(0x26d)][_0x14e3fe(0x3f8)](_0x2810a4);}}async[_0x66a763(0x14c)](_0x180471){const _0x4df3f7=_0x66a763;let _0x30d3f6=Date['now']();try{var _0x1dbe79,_0x26b67e;let _0x12a13c=((_0x1dbe79=this[_0x4df3f7(0x1f2)][_0x4df3f7(0x15c)](_0x590dd7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1dbe79[_0x4df3f7(0x2ed)])||'/universer-api/license/formula/limit/done',_0x54159a=(await this[_0x4df3f7(0x1cb)][_0x4df3f7(0x33c)](_0x12a13c,{'body':JSON[_0x4df3f7(0x17c)]({'taskId':_0x180471})}))[_0x4df3f7(0x30a)];if(((_0x26b67e=_0x54159a['error'])==null?void 0x0:_0x26b67e[_0x4df3f7(0x3b0)])!==_0x2b2b34['OK'])return;this[_0x4df3f7(0x2b6)](_0x54159a['limitInfo'],_0x30d3f6);}catch(_0x4d97ee){this[_0x4df3f7(0x26d)][_0x4df3f7(0x3f8)](_0x4d97ee);}}[_0x66a763(0x303)](){const _0x5f553d=_0x66a763;return this[_0x5f553d(0x2f6)]===0x0?!0x0:this[_0x5f553d(0x2f6)]-this[_0x5f553d(0x24f)]>0x0;}[_0x66a763(0x208)](){const _0x578c1e=_0x66a763;this['_pollingInterval']&&(clearTimeout(this[_0x578c1e(0x3d5)]),this[_0x578c1e(0x3d5)]=null);}[_0x66a763(0x158)](){const _0x432bbd=_0x66a763;this[_0x432bbd(0x320)][_0x432bbd(0x3ef)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x664d08[_0x432bbd(0x412)][_0x432bbd(0x207)]});}[_0x66a763(0x368)](_0x35b842){const _0x3a14fc=_0x66a763;for(let _0x59caa7 of _0x35b842){let {unitId:_0x1ffd21,sheetId:_0x1596fd,range:_0x213d6a}=_0x59caa7,_0x32f085=this['_univerInstanceService'][_0x3a14fc(0x125)](_0x1ffd21);if(!_0x32f085)continue;let _0x2c092c=_0x32f085[_0x3a14fc(0x1bd)](_0x1596fd);if(!_0x2c092c)continue;let _0x43cd37=_0x2c092c['getCellMatrix']();for(let _0xd23bec=_0x213d6a[_0x3a14fc(0x278)];_0xd23bec<=_0x213d6a[_0x3a14fc(0x203)];_0xd23bec++)for(let _0x1d8dc8=_0x213d6a['startColumn'];_0x1d8dc8<=_0x213d6a['endColumn'];_0x1d8dc8++){let _0x3eff0e=_0x43cd37[_0x3a14fc(0x1cc)](_0xd23bec,_0x1d8dc8);if(_0x3eff0e&&((0x0,_0x1b3dd9[_0x3a14fc(0x31d)])(_0x3eff0e['f'])||(0x0,_0x1b3dd9[_0x3a14fc(0x1fd)])(_0x3eff0e['si'])))return!0x0;}}return!0x1;}};_0x28cce3=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x18fc70[_0x66a763(0x366)])),_0x3942dc(0x1,_0x1b3dd9['ICommandService']),_0x3942dc(0x2,_0x1b3dd9['IConfigService']),_0x3942dc(0x3,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x57fbee[_0x66a763(0x3b2)])),_0x3942dc(0x4,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x5,_0x1b3dd9['ILogService']),_0x3942dc(0x6,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x194)]))],_0x28cce3);let _0x5ad57b=class extends _0x1b3dd9['Disposable']{constructor(_0x3b42a9,_0x44cf47,_0x34f36d){const _0x7fc21d=_0x66a763;super(),this[_0x7fc21d(0x1f2)]=_0x3b42a9,this[_0x7fc21d(0x33f)]=_0x44cf47,this[_0x7fc21d(0x2d5)]=_0x34f36d,_0x1d6097(this,_0x7fc21d(0x377),new Map()),_0x1d6097(this,_0x7fc21d(0x1b9),new Map()),_0x1d6097(this,'_disabled',!0x1);}[_0x66a763(0x3b8)](){this['_disabled']=!0x0;}[_0x66a763(0x337)](){const _0x19d785=_0x66a763;this[_0x19d785(0x314)]=!0x1;}get[_0x66a763(0x245)](){const _0x5a23be=_0x66a763;return this[_0x5a23be(0x1b9)];}[_0x66a763(0x3c1)](){const _0x1e948d=_0x66a763;this['exhaustSavingTask']()[_0x1e948d(0x27c)](()=>super['dispose']());}async[_0x66a763(0x26c)](_0xc3bb9d){const _0x5a4d51=_0x66a763;return this[_0x5a4d51(0x314)]?null:this['_localStorageService'][_0x5a4d51(0x123)]((0x0,_0x590dd7[_0x5a4d51(0x157)])(_0xc3bb9d));}async[_0x66a763(0x298)](_0x21c8c4,_0x22e4b8){const _0x5e0518=_0x66a763;return!!this[_0x5e0518(0x33f)][_0x5e0518(0x1a7)](_0x21c8c4,_0x22e4b8);}['updateOfflineData'](_0x3fd575,_0x491948,_0x34e50d,_0x96db80){const _0x2e0857=_0x66a763;let _0x307c52=this[_0x2e0857(0x2d5)][_0x2e0857(0x116)](_0x3fd575);this['_cachedData'][_0x2e0857(0x1ec)](_0x3fd575,{'unitID':_0x3fd575,'type':_0x491948,'awaitingChangeset':_0x34e50d,'mutations':_0x96db80,'rev':_0x307c52}),this['_saveTaskMap']['has'](_0x3fd575)||this[_0x2e0857(0x168)](_0x3fd575);}['_scheduleSaving'](_0x5ce2d9){const _0x2a8d96=_0x66a763;let _0x260c65=this[_0x2a8d96(0x180)]();_0x260c65===0x0?this[_0x2a8d96(0x313)](_0x5ce2d9):this[_0x2a8d96(0x1b9)]['set'](_0x5ce2d9,setTimeout(()=>this[_0x2a8d96(0x313)](_0x5ce2d9),_0x260c65));}[_0x66a763(0x180)](){const _0x388e91=_0x66a763;var _0x51d2e8;return(_0x51d2e8=this[_0x388e91(0x1f2)][_0x388e91(0x15c)](_0x590dd7[_0x388e91(0x1ea)]))==null?_0x590dd7[_0x388e91(0x40b)]:_0x51d2e8;}[_0x66a763(0x313)](_0x29cb2c){const _0xdca996=_0x66a763;let _0x5481b0=this[_0xdca996(0x1b9)]['get'](_0x29cb2c);return _0x5481b0!==void 0x0&&window['clearTimeout'](_0x5481b0),this[_0xdca996(0x33f)]['setItem']((0x0,_0x590dd7['getLocalCacheKey'])(_0x29cb2c),this[_0xdca996(0x377)][_0xdca996(0x3fa)](_0x29cb2c))['then'](()=>this[_0xdca996(0x1b9)][_0xdca996(0x159)](_0x29cb2c));}async['exhaustSavingTask'](){const _0x239c57=_0x66a763;let _0x2a5ba7=[];this[_0x239c57(0x1b9)]['forEach']((_0x20e769,_0x412503)=>{const _0x112608=_0x239c57;window['clearTimeout'](_0x20e769),_0x2a5ba7[_0x112608(0x16a)](this[_0x112608(0x313)](_0x412503)['then'](()=>{const _0x508195=_0x112608;this[_0x508195(0x1b9)][_0x508195(0x159)](_0x412503);}));}),await Promise[_0x239c57(0x267)](_0x2a5ba7);}};_0x5ad57b=_0x23cdbf([_0x3942dc(0x0,_0x1b3dd9[_0x66a763(0x3d6)]),_0x3942dc(0x1,_0x1b3dd9[_0x66a763(0x326)]),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x4795bc[_0x66a763(0x24e)]))],_0x5ad57b);var _0x372f57=class extends _0x1b3dd9[_0x66a763(0x365)]{constructor(){const _0x89d26e=_0x66a763;super(),_0x1d6097(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x2a7259[_0x89d26e(0x2b8)])(window,_0x89d26e(0x324))[_0x89d26e(0x13d)]((0x0,_0x2a7259[_0x89d26e(0x382)])(this[_0x89d26e(0x14e)]),(0x0,_0x2a7259[_0x89d26e(0x265)])(0x1),(0x0,_0x2a7259['mapTo'])(void 0x0));}['setParam'](_0x65a629,_0x3334ca,_0x22fcd7=!0x1){const _0xc1a2c3=_0x66a763;let _0x376909=new URL(window[_0xc1a2c3(0x420)][_0xc1a2c3(0x339)]);_0x376909[_0xc1a2c3(0x3c8)]['set'](_0x65a629,_0x3334ca),_0x22fcd7?window[_0xc1a2c3(0x38d)][_0xc1a2c3(0x311)]('','',_0x376909['toString']()):window[_0xc1a2c3(0x38d)][_0xc1a2c3(0x3b7)]('','',_0x376909[_0xc1a2c3(0x344)]());}['removeParam'](_0x5bdc29,_0x1b5d17=!0x1){const _0x586333=_0x66a763;let _0x2b0b75=new URL(window[_0x586333(0x420)]['href']);_0x2b0b75[_0x586333(0x3c8)][_0x586333(0x159)](_0x5bdc29),_0x1b5d17?window[_0x586333(0x38d)]['replaceState']('','',_0x2b0b75[_0x586333(0x344)]()):window[_0x586333(0x38d)][_0x586333(0x3b7)]('','',_0x2b0b75['toString']());}[_0x66a763(0x1ef)](_0x1b5aa6){const _0x174d5e=_0x66a763;var _0x12a452;return(_0x12a452=new URL(window[_0x174d5e(0x420)][_0x174d5e(0x339)])[_0x174d5e(0x3c8)][_0x174d5e(0x3fa)](_0x1b5aa6))==null?void 0x0:_0x12a452;}};let _0x3b4ce4=class extends _0x1b3dd9[_0x66a763(0x251)]{constructor(_0x3ff718=_0x50cfe6,_0x5a54bc,_0x401c6c,_0x5a6058){const _0x513acf=_0x66a763;super(),this[_0x513acf(0x2fd)]=_0x3ff718,this['_renderManagerService']=_0x5a54bc,this[_0x513acf(0x330)]=_0x401c6c,this[_0x513acf(0x1f2)]=_0x5a6058;let {..._0xb7e298}=(0x0,_0x1b3dd9[_0x513acf(0x1c9)])({},_0x50cfe6,this[_0x513acf(0x2fd)]);this[_0x513acf(0x1f2)][_0x513acf(0x2e9)](_0x5b2e19,_0xb7e298);}[_0x66a763(0x133)](){const _0x45b8d9=_0x66a763;this[_0x45b8d9(0x26a)](),this[_0x45b8d9(0x139)]();}['onRendered'](){const _0x5054ce=_0x66a763;this[_0x5054ce(0x235)]();}['_registerDependencies'](){const _0x1605f3=_0x66a763;var _0x19785f;let _0x3f9fb1=[[_0x47813f],[_0x28cce3],[_0x1097b5],[_0x30fbc4],[_0x379a8d],[_0x24b9e2],[_0x15d5a4,{'useClass':_0x372f57}],[_0x57fbee['ISocketService'],{'useClass':_0x57fbee[_0x1605f3(0x2c4)]}],[_0x590dd7['ILocalCacheService'],{'useClass':_0x5ad57b}],[_0x5185bd],[_0x2c6409],[_0x355702],[_0x3b5e8b],[_0x54750b],[_0x2a20fe]];this[_0x1605f3(0x2fd)][_0x1605f3(0x18f)]&&_0x3f9fb1[_0x1605f3(0x16a)]([_0x77eeda]),(0x0,_0x1b3dd9['registerDependencies'])(this[_0x1605f3(0x330)],(0x0,_0x1b3dd9[_0x1605f3(0x1fb)])(_0x3f9fb1,(_0x19785f=this[_0x1605f3(0x2fd)])==null?void 0x0:_0x19785f[_0x1605f3(0x36f)]));}[_0x66a763(0x235)](){const _0xf0f96b=_0x66a763;this[_0xf0f96b(0x296)](this['_renderManagerService']['registerRenderModule'](_0x1b3dd9[_0xf0f96b(0x1cd)][_0xf0f96b(0x402)],[_0x50760f])),this[_0xf0f96b(0x296)](this[_0xf0f96b(0x285)][_0xf0f96b(0x399)](_0x1b3dd9[_0xf0f96b(0x1cd)]['UNIVER_SHEET'],[_0x155705]));}[_0x66a763(0x139)](){const _0x687ed2=_0x66a763;(0x0,_0x1b3dd9[_0x687ed2(0x20a)])(this['_injector'],[[_0x3b5e8b],[_0x5185bd],[_0x2c6409],[_0x355702],[_0x2a20fe],[_0x28cce3]]),this[_0x687ed2(0x2fd)][_0x687ed2(0x18f)]&&(0x0,_0x1b3dd9[_0x687ed2(0x20a)])(this['_injector'],[[_0x77eeda]]);}};_0x1d6097(_0x3b4ce4,_0x66a763(0x2cc),_0x66a763(0x3cd)),_0x1d6097(_0x3b4ce4,_0x66a763(0x336),_0x467354),_0x1d6097(_0x3b4ce4,_0x66a763(0x376),_0xf272ea),_0x3b4ce4=_0x23cdbf([(0x0,_0x1b3dd9[_0x66a763(0x2f0)])(_0x590dd7[_0x66a763(0x378)]),_0x3942dc(0x1,_0x3f9dd4[_0x66a763(0x1a5)]),_0x3942dc(0x2,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x3,_0x1b3dd9[_0x66a763(0x3d6)])],_0x3b4ce4);let _0x279969=class extends _0x590dd7[_0x66a763(0x3a8)]{constructor(_0x46569e,_0x5f27b6,_0x558498,_0x4dc2a1,_0x3a57b1){super(_0x46569e,_0x5f27b6,_0x558498,_0x4dc2a1,_0x3a57b1);}async[_0x66a763(0x295)](_0x253771){const _0x4c726a=_0x66a763;let _0x5669bb=await this[_0x4c726a(0x112)](),_0x118c80=this['_createSocketURL'](_0x253771,_0x5669bb);return this[_0x4c726a(0x2de)](_0x118c80);}[_0x66a763(0x189)](_0x3c93ce,_0x32ec8e){const _0xc0e595=_0x66a763;let _0xd6e761=typeof window>'u'?new URL(_0x3c93ce):new URL(_0x3c93ce,window['location'][_0xc0e595(0x3e9)]);_0xd6e761['searchParams']['set'](_0xc0e595(0x2cf),_0x32ec8e);let _0x1466f3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc0e595(0x420)][_0xc0e595(0x176)]);return _0x1466f3[_0xc0e595(0x3fa)](_0xc0e595(0x32e))&&_0xd6e761[_0xc0e595(0x3c8)][_0xc0e595(0x1ec)](_0xc0e595(0x32e),_0x1466f3['get'](_0xc0e595(0x32e))),_0xd6e761[_0xc0e595(0x344)]();}async['_getSessionTicket'](){const _0x490d3f=_0x66a763;var _0x2b90c2,_0x4a36aa,_0xba9b66;let _0x469915=this[_0x490d3f(0x1f2)][_0x490d3f(0x15c)](_0x590dd7[_0x490d3f(0x144)]),_0x4ab174=(_0x2b90c2=_0x469915==null?void 0x0:_0x469915[_0x490d3f(0x3ee)])==null?_0x590dd7['DEFAULT_WS_SESSION_TICKET_URL']:_0x2b90c2;return(_0x4a36aa=(_0xba9b66=(await this[_0x490d3f(0x1cb)][_0x490d3f(0x3fa)](_0x4ab174,{'headers':{'Content-Type':_0x490d3f(0x404)}}))['body'])==null?void 0x0:_0xba9b66[_0x490d3f(0x371)])==null?'':_0x4a36aa;}};_0x279969=_0x23cdbf([_0x3942dc(0x0,(0x0,_0x1b3dd9['Inject'])(_0x1b3dd9[_0x66a763(0x394)])),_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x57fbee[_0x66a763(0x3b2)])),_0x3942dc(0x2,_0x1b3dd9[_0x66a763(0x3d6)]),_0x3942dc(0x3,_0x1b3dd9[_0x66a763(0x24d)]),_0x3942dc(0x4,_0x4795bc[_0x66a763(0x14f)])],_0x279969);let _0x1e7cf6=class extends _0x1b3dd9[_0x66a763(0x31a)]{constructor(_0x175b33,_0x5e1c68,_0x2fd2f6){const _0x495f1a=_0x66a763;super(),this[_0x495f1a(0x1f8)]=_0x175b33,this['_httpService']=_0x5e1c68,this['_configService']=_0x2fd2f6;}async[_0x66a763(0x421)](_0x13a445,_0x5bfba8,_0x1c432f,..._0x188366){const _0x310030=_0x66a763;var _0x439853,_0x16f79a,_0x5248df,_0x48e40c;let _0x596851=this[_0x310030(0x1f8)][_0x310030(0x138)]();if(!_0x596851)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x520ec7=((_0x439853=this[_0x310030(0x1f2)]['getConfig'](_0x590dd7[_0x310030(0x22c)]))==null?_0x590dd7[_0x310030(0x262)]:_0x439853)+'/'+_0x13a445+_0x310030(0x36d)+_0x5bfba8,_0x261b7a={'scriptId':_0x13a445,'runId':(_0x16f79a=new URL(window['location'][_0x310030(0x339)])[_0x310030(0x3c8)][_0x310030(0x3fa)]('runId'))==null?'':_0x16f79a,'function':_0x5bfba8,'unitId':_0x596851[_0x310030(0x1d8)](),'argsOfFunction':JSON[_0x310030(0x17c)](_0x188366),'invokeId':(_0x5248df=_0x1c432f[_0x310030(0x24a)])==null?'':_0x5248df,'executionId':(_0x48e40c=_0x1c432f[_0x310030(0x161)])==null?'':_0x48e40c};try{let _0x230ae3=await this[_0x310030(0x1cb)]['post'](_0x520ec7,{'body':_0x261b7a});return _0x230ae3['body'][_0x310030(0x3f8)]&&_0x230ae3[_0x310030(0x30a)]['error'][_0x310030(0x3b0)]!==_0x2b2b34['OK']?_0x310030(0x20b):_0x230ae3[_0x310030(0x30a)][_0x310030(0x360)];}catch{return _0x310030(0x20b);}}};_0x1e7cf6=_0x23cdbf([_0x3942dc(0x0,_0x1b3dd9[_0x66a763(0x283)]),_0x3942dc(0x1,(0x0,_0x1b3dd9[_0x66a763(0x1b7)])(_0x57fbee[_0x66a763(0x3b2)])),_0x3942dc(0x2,_0x1b3dd9[_0x66a763(0x3d6)])],_0x1e7cf6);var _0x19fca8=function(_0x2723a4){const _0xd13ebf=_0x66a763;return _0x2723a4[_0x2723a4['JOIN']=0x0]=_0xd13ebf(0x3fc),_0x2723a4[_0x2723a4['LEAVE']=0x1]=_0xd13ebf(0x40e),_0x2723a4[_0x2723a4[_0xd13ebf(0x3d9)]=0x2]=_0xd13ebf(0x3d9),_0x2723a4;}(_0x19fca8||{});let _0x4cd257=0x7530,_0x57e41c=_0x66a763(0x2c7);var _0x2ae680=class extends _0x1b3dd9[_0x66a763(0x31a)]{constructor(){const _0x681731=_0x66a763;super(),_0x1d6097(this,_0x681731(0x2ce),(0x0,_0x1b3dd9[_0x681731(0x24c)])()),_0x1d6097(this,_0x681731(0x2d9),new Set()),_0x1d6097(this,_0x681731(0x1b6),new Map()),_0x1d6097(this,'_heartbeatTimer',null),_0x1d6097(this,_0x681731(0x354),new Map()),_0x1d6097(this,_0x681731(0x411),new Map()),this[_0x681731(0x2d7)]();}['dispose'](){const _0x16d0fb=_0x66a763;super[_0x16d0fb(0x3c1)](),this[_0x16d0fb(0x354)][_0x16d0fb(0x329)]((_0x2cf69b,_0x3972c7)=>this[_0x16d0fb(0x3e5)](_0x3972c7)),this[_0x16d0fb(0x2b7)]&&window[_0x16d0fb(0x166)](this['_heartbeatTimer']);}[_0x66a763(0x255)](_0x53a64a){const _0x14c483=_0x66a763;return this[_0x14c483(0x134)](_0x53a64a)[_0x14c483(0x13d)]((0x0,_0x2a7259['distinctUntilChanged'])());}[_0x66a763(0x37f)](_0x2f1495){const _0x3ba999=_0x66a763;this[_0x3ba999(0x2d9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3ba999(0x2d9)][_0x3ba999(0x172)](_0x2f1495),this[_0x3ba999(0x25e)]({'type':_0x19fca8[_0x3ba999(0x3fc)],'memberID':this['_id'],'unitIDs':[_0x2f1495],'isForwarded':!0x1});}[_0x66a763(0x20f)](_0x28e187){const _0x45b42e=_0x66a763;this[_0x45b42e(0x2d9)][_0x45b42e(0x159)](_0x28e187),this[_0x45b42e(0x2d9)][_0x45b42e(0x414)]===0x0&&this[_0x45b42e(0x2b7)]&&window[_0x45b42e(0x166)](this[_0x45b42e(0x2b7)]);}[_0x66a763(0x2d7)](){const _0x2e1d17=_0x66a763;this[_0x2e1d17(0x296)]((0x0,_0x1b3dd9[_0x2e1d17(0x2f8)])((0x0,_0x2a7259[_0x2e1d17(0x2b8)])(window,_0x2e1d17(0x131))[_0x2e1d17(0x279)](_0x1be95d=>{const _0x4f8418=_0x2e1d17;if(_0x1be95d[_0x4f8418(0x170)]!==_0x57e41c||!_0x1be95d[_0x4f8418(0x36c)])return;let _0x15214f=JSON[_0x4f8418(0x11e)](_0x1be95d[_0x4f8418(0x36c)]);this[_0x4f8418(0x37d)](_0x15214f);}))),window[_0x2e1d17(0x214)](_0x2e1d17(0x40c),()=>this[_0x2e1d17(0x25e)]({'type':_0x19fca8['LEAVE'],'memberID':this[_0x2e1d17(0x2ce)],'unitIDs':Array[_0x2e1d17(0x28b)](this[_0x2e1d17(0x2d9)])}));}['_handleEvent'](_0x363028){const _0x5e5b02=_0x66a763;switch(_0x363028[_0x5e5b02(0x118)]){case _0x19fca8[_0x5e5b02(0x3fc)]:this[_0x5e5b02(0x25c)](_0x363028);break;case _0x19fca8[_0x5e5b02(0x40e)]:this['_handleLeaveEvent'](_0x363028);break;case _0x19fca8['HEARTBEAT']:this[_0x5e5b02(0x1b8)](_0x363028);break;}}[_0x66a763(0x25c)](_0x2f022a){const _0x3b3022=_0x66a763;let {unitIDs:_0x5bec07,memberID:_0x91ce97,isForwarded:_0x2243b2}=_0x2f022a;_0x5bec07['forEach'](_0x30804b=>{const _0x1d5608=_0x1749;if(!_0x2243b2&&this['_unitOnClients'][_0x1d5608(0x41f)](_0x30804b)&&this['_ensureSubject'](_0x30804b)[_0x1d5608(0x1dc)](_0x590dd7['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x1d5608(0x1b6)][_0x1d5608(0x41f)](_0x30804b)||!this[_0x1d5608(0x1b6)][_0x1d5608(0x3fa)](_0x30804b)[_0x1d5608(0x41f)](_0x91ce97)){let _0x456639=this['_unitOnClients'][_0x1d5608(0x3fa)](_0x30804b)||new Set();_0x456639[_0x1d5608(0x172)](_0x91ce97),this[_0x1d5608(0x1b6)][_0x1d5608(0x1ec)](_0x30804b,_0x456639),this[_0x1d5608(0x2b3)](_0x91ce97);}}),_0x2243b2||this[_0x3b3022(0x25e)]({'type':_0x19fca8[_0x3b3022(0x3fc)],'memberID':this[_0x3b3022(0x2ce)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x66a763(0x2b3)](_0x3a6822){const _0x597b6=_0x66a763;this[_0x597b6(0x3e5)](_0x3a6822);let _0x10ede4=window[_0x597b6(0x191)](()=>{const _0x3c1083=_0x597b6;this[_0x3c1083(0x1b6)][_0x3c1083(0x329)](_0x20dd95=>{const _0xb4ae4e=_0x3c1083;_0x20dd95[_0xb4ae4e(0x159)](_0x3a6822);});},_0x4cd257*0x2);this[_0x597b6(0x354)][_0x597b6(0x1ec)](_0x3a6822,_0x10ede4);}[_0x66a763(0x3e5)](_0x1efe9b){const _0x52679a=_0x66a763;if(this['_clearOtherTimers']['has'](_0x1efe9b)){let _0x1ab766=this['_clearOtherTimers'][_0x52679a(0x3fa)](_0x1efe9b);_0x1ab766&&window[_0x52679a(0x1e3)](_0x1ab766),this['_clearOtherTimers'][_0x52679a(0x1ec)](_0x1efe9b,null);}}[_0x66a763(0x22a)](_0x51f8e1){const _0x59fc44=_0x66a763;let {memberID:_0x1acdb0,unitIDs:_0x45acec}=_0x51f8e1;_0x45acec['forEach'](_0x5571f1=>{const _0x29f309=_0x1749;var _0x11fbab;let _0x491871=this[_0x29f309(0x1b6)]['get'](_0x5571f1);_0x491871&&(_0x491871[_0x29f309(0x159)](_0x1acdb0),(_0x11fbab=this[_0x29f309(0x134)](_0x5571f1))==null||_0x11fbab[_0x29f309(0x1dc)](_0x491871[_0x29f309(0x414)]===0x0?_0x590dd7[_0x29f309(0x3fb)][_0x29f309(0x290)]:_0x590dd7[_0x29f309(0x3fb)][_0x29f309(0x25b)]));}),this[_0x59fc44(0x3e5)](_0x1acdb0);}['_handleHeartbeatEvent'](_0x25ef1b){const _0x414919=_0x66a763;this[_0x414919(0x2b3)](_0x25ef1b['memberID']);}[_0x66a763(0x25e)](_0x2cfbea){const _0x1dc78d=_0x66a763;localStorage[_0x1dc78d(0x1a7)](_0x57e41c,JSON['stringify'](_0x2cfbea));}['_scheduleHeartbeat'](){const _0x3f9f32=_0x66a763;this[_0x3f9f32(0x2b7)]=window[_0x3f9f32(0x1e7)](()=>{const _0x565b5d=_0x3f9f32;this[_0x565b5d(0x25e)]({'type':_0x19fca8[_0x565b5d(0x3d9)],'memberID':this[_0x565b5d(0x2ce)]});},_0x4cd257);}[_0x66a763(0x134)](_0x2214a3){const _0x4c96e6=_0x66a763;return this[_0x4c96e6(0x411)]['has'](_0x2214a3)||this[_0x4c96e6(0x411)][_0x4c96e6(0x1ec)](_0x2214a3,new _0x2a7259[(_0x4c96e6(0x18a))](_0x590dd7[_0x4c96e6(0x3fb)][_0x4c96e6(0x290)])),this[_0x4c96e6(0x411)][_0x4c96e6(0x3fa)](_0x2214a3);}};Object['defineProperty'](_0x22d456,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x279969;}}),Object[_0x66a763(0x3fe)](_0x22d456,_0x66a763(0x2bb),{'enumerable':!0x0,'get':function(){return _0x2a20fe;}}),Object['defineProperty'](_0x22d456,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x5185bd;}}),_0x22d456[_0x66a763(0x209)]=_0x15d5a4,Object['defineProperty'](_0x22d456,_0x66a763(0x135),{'enumerable':!0x0,'get':function(){return _0x1e7cf6;}}),_0x22d456[_0x66a763(0x126)]=_0x4befa6,Object['defineProperty'](_0x22d456,_0x66a763(0x327),{'enumerable':!0x0,'get':function(){return _0x3b4ce4;}}),_0x22d456[_0x66a763(0x38f)]=_0x2ae680,_0x22d456[_0x66a763(0x2ac)]=_0x372f57;}));
|
|
1
|
+
(function(_0x3751c1,_0x245eb5){const _0x5d7166=_0x1f09,_0x2dd76c=_0x3751c1();while(!![]){try{const _0x292413=-parseInt(_0x5d7166(0x2ba))/0x1*(parseInt(_0x5d7166(0x37f))/0x2)+-parseInt(_0x5d7166(0x18a))/0x3*(parseInt(_0x5d7166(0x196))/0x4)+-parseInt(_0x5d7166(0x25b))/0x5*(-parseInt(_0x5d7166(0x461))/0x6)+-parseInt(_0x5d7166(0x35c))/0x7+parseInt(_0x5d7166(0x2d8))/0x8*(-parseInt(_0x5d7166(0x152))/0x9)+-parseInt(_0x5d7166(0x278))/0xa*(parseInt(_0x5d7166(0x445))/0xb)+parseInt(_0x5d7166(0x2b1))/0xc;if(_0x292413===_0x245eb5)break;else _0x2dd76c['push'](_0x2dd76c['shift']());}catch(_0x895223){_0x2dd76c['push'](_0x2dd76c['shift']());}}}(_0x59b4,0x33d5c),function(_0x5f3bca,_0x13183b){const _0x50e683=_0x1f09;typeof exports==_0x50e683(0x30b)&&typeof module<'u'?_0x13183b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x50e683(0x2f0)&&define['amd']?define([_0x50e683(0x2bf),_0x50e683(0x43f),_0x50e683(0x1fd),'@univerjs/ui',_0x50e683(0x3f5),_0x50e683(0x1a3),_0x50e683(0x41e),_0x50e683(0x209),_0x50e683(0x460),_0x50e683(0x280),_0x50e683(0x212),_0x50e683(0x1e3),'@univerjs/docs-ui',_0x50e683(0x329),'@univerjs-pro/collaboration',_0x50e683(0x2ac),'@univerjs/engine-formula',_0x50e683(0x1ee),_0x50e683(0x208)],_0x13183b):(_0x5f3bca=typeof globalThis<'u'?globalThis:_0x5f3bca||self,_0x13183b(_0x5f3bca[_0x50e683(0x175)]={},_0x5f3bca[_0x50e683(0x265)],_0x5f3bca[_0x50e683(0x1cb)],_0x5f3bca[_0x50e683(0x195)],_0x5f3bca[_0x50e683(0x3f5)],_0x5f3bca['UniverDesign'],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x36c)],_0x5f3bca['UniverSheets'],_0x5f3bca[_0x50e683(0x364)],_0x5f3bca[_0x50e683(0x38f)],_0x5f3bca[_0x50e683(0x297)],_0x5f3bca[_0x50e683(0x396)],_0x5f3bca[_0x50e683(0x170)],_0x5f3bca['UniverDocs'],_0x5f3bca[_0x50e683(0x29c)],_0x5f3bca[_0x50e683(0x3f5)][_0x50e683(0x3c9)],_0x5f3bca[_0x50e683(0x16f)]));}(this,function(_0x2f0af9,_0x18e88d,_0x1e96bc,_0x163a5f,_0x25f103,_0x12bd8e,_0x996045,_0x3595c1,_0xba6498,_0x3a9a8f,_0x42ac73,_0xe453ac,_0xe88835,_0x42b430,_0x55fb1d,_0x3aacdf,_0x3b565c,_0x23c12b,_0x1827e1){const _0x29b412=_0x1f09;Object[_0x29b412(0x45a)](_0x2f0af9,Symbol[_0x29b412(0x38c)],{'value':_0x29b412(0x3fa)});function _0x42b57b({ref:_0x3af208,..._0x530459}){const _0x481816=_0x29b412;let {icon:_0x586923,id:_0x551974,className:_0x48dfcb,extend:_0x528e3f,..._0x2f833e}=_0x530459,_0x2f8775=(_0x481816(0x35a)+_0x551974+'\x20'+(_0x48dfcb||''))[_0x481816(0x3f4)](),_0x5b0949=(0x0,_0x996045['useRef'])('_'+_0x5dc6e6());return _0x2b3511(_0x586923,''+_0x551974,{'defIds':_0x586923[_0x481816(0x3a0)],'idSuffix':_0x5b0949[_0x481816(0x456)]},{'ref':_0x3af208,'className':_0x2f8775,..._0x2f833e},_0x528e3f);}function _0x2b3511(_0x4c696b,_0x4f0fc3,_0x2aa7c7,_0x2744ed,_0x48bc65){const _0x50afc7=_0x29b412;return(0x0,_0x996045['createElement'])(_0x4c696b[_0x50afc7(0x3e0)],{'key':_0x4f0fc3,..._0x5c3b31(_0x4c696b,_0x2aa7c7,_0x48bc65),..._0x2744ed},(_0x5d5327(_0x4c696b,_0x2aa7c7)[_0x50afc7(0x2f9)]||[])[_0x50afc7(0x403)]((_0x2255a4,_0x1f95ee)=>_0x2b3511(_0x2255a4,_0x4f0fc3+'-'+_0x4c696b[_0x50afc7(0x3e0)]+'-'+_0x1f95ee,_0x2aa7c7,void 0x0,_0x48bc65)));}function _0x5c3b31(_0x5b3c6d,_0x48ccfa,_0x1c3285){const _0x159ef5=_0x29b412;let _0x4851ac={..._0x5b3c6d['attrs']};_0x1c3285!=null&&_0x1c3285[_0x159ef5(0x426)]&&_0x4851ac['fill']==='colorChannel1'&&(_0x4851ac[_0x159ef5(0x2e6)]=_0x1c3285[_0x159ef5(0x426)]),_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x44b)&&_0x4851ac['id']&&(_0x4851ac['id']+=_0x48ccfa[_0x159ef5(0x36b)]),Object[_0x159ef5(0x2d4)](_0x4851ac)[_0x159ef5(0x312)](([_0x3f271b,_0x32171c])=>{const _0x13a9a7=_0x159ef5;_0x3f271b===_0x13a9a7(0x44b)&&typeof _0x32171c=='string'&&(_0x4851ac[_0x3f271b]=_0x32171c[_0x13a9a7(0x26c)](/url\(#(.*)\)/,_0x13a9a7(0x231)+_0x48ccfa[_0x13a9a7(0x36b)]+')'));});let {defIds:_0x12a107}=_0x48ccfa;return!_0x12a107||_0x12a107[_0x159ef5(0x1b7)]===0x0?_0x4851ac:(_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x229)&&_0x4851ac[_0x159ef5(0x3e5)]&&(_0x4851ac['xlink:href']+=_0x48ccfa[_0x159ef5(0x36b)]),Object['entries'](_0x4851ac)['forEach'](([_0x4cf601,_0x292449])=>{const _0x542692=_0x159ef5;typeof _0x292449==_0x542692(0x416)&&(_0x4851ac[_0x4cf601]=_0x292449['replace'](/url\(#(.*)\)/,_0x542692(0x231)+_0x48ccfa[_0x542692(0x36b)]+')'));}),_0x4851ac);}function _0x5d5327(_0x187400,_0x55d846){const _0x139bac=_0x29b412;var _0x1b727b;let {defIds:_0x557a96}=_0x55d846;return!_0x557a96||_0x557a96[_0x139bac(0x1b7)]===0x0?_0x187400:_0x187400[_0x139bac(0x3e0)]===_0x139bac(0x2e7)&&(_0x1b727b=_0x187400[_0x139bac(0x2f9)])!=null&&_0x1b727b[_0x139bac(0x1b7)]?{..._0x187400,'children':_0x187400[_0x139bac(0x2f9)][_0x139bac(0x403)](_0x1c93ef=>typeof _0x1c93ef[_0x139bac(0x402)]['id']==_0x139bac(0x416)&&_0x557a96&&_0x557a96[_0x139bac(0x1d8)](_0x1c93ef[_0x139bac(0x402)]['id'])?{..._0x1c93ef,'attrs':{..._0x1c93ef[_0x139bac(0x402)],'id':_0x1c93ef[_0x139bac(0x402)]['id']+_0x55d846['idSuffix']}}:_0x1c93ef)}:_0x187400;}function _0x5dc6e6(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x42b57b[_0x29b412(0x181)]='UniverIcon';let _0x3044f3={'tag':_0x29b412(0x25e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x463),'width':_0x29b412(0x457),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'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':_0x29b412(0x29f),'strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':_0x29b412(0x40e),'attrs':{'id':_0x29b412(0x3dc)},'children':[{'tag':_0x29b412(0x330),'attrs':{'fill':_0x29b412(0x2a5),'d':_0x29b412(0x2df)}}]}]}],'defIds':[_0x29b412(0x3dc)]},_0x32f60e=(0x0,_0x996045[_0x29b412(0x249)])(function(_0x4f7e7f,_0x5b8fa4){const _0x501c73=_0x29b412;return(0x0,_0x996045[_0x501c73(0x3b2)])(_0x42b57b,Object[_0x501c73(0x1cd)]({},_0x4f7e7f,{'id':'off-line-icon','ref':_0x5b8fa4,'icon':_0x3044f3}));});_0x32f60e[_0x29b412(0x181)]=_0x29b412(0x1ec);let _0x18c937={'tag':'svg','attrs':{'xmlns':_0x29b412(0x3f8),'fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x2c3),'width':_0x29b412(0x457),'height':_0x29b412(0x457)},'children':[{'tag':'g','attrs':{'clipPath':_0x29b412(0x336)},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'d':_0x29b412(0x1aa),'strokeLinecap':'round','strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x29b412(0x2df),'transform':'translate(.97)'}}]}]}],'defIds':[_0x29b412(0x169)]},_0x4b6f8b=(0x0,_0x996045['forwardRef'])(function(_0x29bffd,_0x571e3c){const _0x923b3a=_0x29b412;return(0x0,_0x996045['createElement'])(_0x42b57b,Object[_0x923b3a(0x1cd)]({},_0x29bffd,{'id':_0x923b3a(0x1ce),'ref':_0x571e3c,'icon':_0x18c937}));});_0x4b6f8b['displayName']=_0x29b412(0x23f);function _0x134a0c(_0x22f849){const _0x1166f0=_0x29b412;switch(_0x22f849){case _0x18e88d['CollaborationStatus'][_0x1166f0(0x1c6)]:return _0x1166f0(0x1de);case _0x18e88d[_0x1166f0(0x22f)]['CONFLICT']:return _0x1166f0(0x23a);case _0x18e88d['CollaborationStatus'][_0x1166f0(0x3eb)]:return _0x1166f0(0x3b1);case _0x18e88d[_0x1166f0(0x22f)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x18e88d[_0x1166f0(0x22f)]['AWAITING']:case _0x18e88d[_0x1166f0(0x22f)]['AWAITING_WITH_PENDING']:return _0x1166f0(0x26e);case _0x18e88d[_0x1166f0(0x22f)][_0x1166f0(0x2c2)]:case _0x18e88d['CollaborationStatus'][_0x1166f0(0x381)]:return _0x1166f0(0x17f);}}function _0x48688a(_0x304914){const _0x46b464=_0x29b412;let {status$:_0x4db24c}=_0x304914,_0x4ca7ab=(0x0,_0x163a5f['useObservable'])(_0x4db24c,_0x18e88d[_0x46b464(0x22f)][_0x46b464(0x19f)]),_0x2efa9c=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x1e96bc['LocaleService']),_0x1446ef=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x18e88d[_0x46b464(0x38e)]),_0x4989c5=_0x4ca7ab!==_0x18e88d['CollaborationStatus'][_0x46b464(0x1c6)],_0x3213e3=_0x2efa9c['t'](_0x134a0c(_0x4ca7ab)),_0x8c953b=_0x4989c5?(0x0,_0x3595c1[_0x46b464(0x289)])(_0x4b6f8b,{}):(0x0,_0x3595c1[_0x46b464(0x289)])(_0x32f60e,{}),_0x5bca74=(0x0,_0x996045[_0x46b464(0x3a8)])(()=>{_0x4989c5||_0x1446ef['reconnect']();},[_0x4989c5,_0x1446ef]);function _0x551a39(){const _0x5f256c=_0x46b464;return(0x0,_0x3595c1[_0x5f256c(0x269)])(_0x5f256c(0x1b9),{'className':'univer-flex\x20univer-items-center','onClick':_0x5bca74,'children':[(0x0,_0x3595c1[_0x5f256c(0x289)])(_0x5f256c(0x1b9),{'className':(0x0,_0x12bd8e[_0x5f256c(0x31c)])('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4989c5,'univer-text-red-500':!_0x4989c5}),'children':_0x8c953b}),(0x0,_0x3595c1['jsx'])(_0x5f256c(0x1b9),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3213e3})]});}return _0x4989c5?_0x551a39():(0x0,_0x3595c1[_0x46b464(0x289)])(_0x12bd8e[_0x46b464(0x261)],{'title':_0x2efa9c['t'](_0x46b464(0x2f3)),'children':_0x551a39()});}function _0xd5e38a(_0x4d823b){'@babel/helpers - typeof';const _0x2fbcb0=_0x29b412;return _0xd5e38a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2fbcb0(0x1f1)?function(_0x1376bc){return typeof _0x1376bc;}:function(_0x5daa45){const _0x3237b0=_0x2fbcb0;return _0x5daa45&&typeof Symbol==_0x3237b0(0x2f0)&&_0x5daa45['constructor']===Symbol&&_0x5daa45!==Symbol[_0x3237b0(0x153)]?_0x3237b0(0x1f1):typeof _0x5daa45;},_0xd5e38a(_0x4d823b);}function _0x597435(_0x4d913e,_0x2c742a){const _0x2c94bf=_0x29b412;if(_0xd5e38a(_0x4d913e)!=_0x2c94bf(0x30b)||!_0x4d913e)return _0x4d913e;var _0x17305c=_0x4d913e[Symbol[_0x2c94bf(0x163)]];if(_0x17305c!==void 0x0){var _0x3987dd=_0x17305c[_0x2c94bf(0x2ef)](_0x4d913e,_0x2c742a||_0x2c94bf(0x1b6));if(_0xd5e38a(_0x3987dd)!='object')return _0x3987dd;throw TypeError(_0x2c94bf(0x2b9));}return(_0x2c742a===_0x2c94bf(0x416)?String:Number)(_0x4d913e);}function _0x133709(_0x57284c){const _0x25d8ef=_0x29b412;var _0x58dc39=_0x597435(_0x57284c,_0x25d8ef(0x416));return _0xd5e38a(_0x58dc39)==_0x25d8ef(0x1f1)?_0x58dc39:_0x58dc39+'';}function _0x4878f2(_0x4f1d6b,_0x349441,_0x25b22b){return(_0x349441=_0x133709(_0x349441))in _0x4f1d6b?Object['defineProperty'](_0x4f1d6b,_0x349441,{'value':_0x25b22b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f1d6b[_0x349441]=_0x25b22b,_0x4f1d6b;}function _0x19fee6(_0x492af7,_0x58cae9){return function(_0x246808,_0x5a3d84){_0x58cae9(_0x246808,_0x5a3d84,_0x492af7);};}function _0x1c9c51(_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9){const _0x4f4920=_0x29b412;var _0x2ed182=arguments['length'],_0x2a2f27=_0x2ed182<0x3?_0x34e9d1:_0x3d6bf9===null?_0x3d6bf9=Object[_0x4f4920(0x2bd)](_0x34e9d1,_0xe01564):_0x3d6bf9,_0x439dce;if(typeof Reflect==_0x4f4920(0x30b)&&typeof Reflect[_0x4f4920(0x282)]=='function')_0x2a2f27=Reflect[_0x4f4920(0x282)](_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9);else{for(var _0x4ae473=_0x2f8532['length']-0x1;_0x4ae473>=0x0;_0x4ae473--)(_0x439dce=_0x2f8532[_0x4ae473])&&(_0x2a2f27=(_0x2ed182<0x3?_0x439dce(_0x2a2f27):_0x2ed182>0x3?_0x439dce(_0x34e9d1,_0xe01564,_0x2a2f27):_0x439dce(_0x34e9d1,_0xe01564))||_0x2a2f27);}return _0x2ed182>0x3&&_0x2a2f27&&Object[_0x4f4920(0x45a)](_0x34e9d1,_0xe01564,_0x2a2f27),_0x2a2f27;}let _0x31d8d2=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x58757a,_0x2c32b2,_0xb84fd0,_0x445ab3){const _0x36627f=_0x29b412;super(),this[_0x36627f(0x2d1)]=_0x58757a,this[_0x36627f(0x21f)]=_0x2c32b2,this[_0x36627f(0x27e)]=_0xb84fd0,this[_0x36627f(0x171)]=_0x445ab3,_0x4878f2(this,_0x36627f(0x1f6),new _0x25f103[(_0x36627f(0x177))](_0x18e88d[_0x36627f(0x22f)][_0x36627f(0x19f)])),this[_0x36627f(0x3f0)](),this[_0x36627f(0x412)]();}[_0x29b412(0x412)](){const _0x3ce989=_0x29b412;this[_0x3ce989(0x434)](this[_0x3ce989(0x2d1)][_0x3ce989(0x2cf)][_0x3ce989(0x23c)]((0x0,_0x25f103[_0x3ce989(0x43a)])(()=>{const _0x2964b0=_0x3ce989;let _0x44f120=this[_0x2964b0(0x2d1)][_0x2964b0(0x37d)]();return _0x44f120?this['_collaborationController'][_0x2964b0(0x1b3)](_0x44f120[_0x2964b0(0x393)]()):(0x0,_0x25f103['of'])(null);}),(0x0,_0x25f103[_0x3ce989(0x43a)])(_0x2e62ce=>_0x2e62ce?_0x2e62ce[_0x3ce989(0x1fb)]:(0x0,_0x25f103['of'])(_0x18e88d['CollaborationStatus'][_0x3ce989(0x19f)])))[_0x3ce989(0x2ca)](_0x3fd373=>{const _0x5b67fa=_0x3ce989;this['_status$'][_0x5b67fa(0x1db)](_0x3fd373);}));}[_0x29b412(0x3f0)](){const _0xc7e217=_0x29b412;this[_0xc7e217(0x434)](this[_0xc7e217(0x171)]['registerComponent'](_0x163a5f[_0xc7e217(0x406)][_0xc7e217(0x40f)],()=>(0x0,_0x163a5f[_0xc7e217(0x1a1)])(_0x3d5c36({'status$':this['_status$'][_0xc7e217(0x341)]()}),this[_0xc7e217(0x21f)])));}};_0x31d8d2=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['Injector'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x322)])),_0x19fee6(0x3,_0x163a5f['IUIPartsService'])],_0x31d8d2);function _0x3d5c36(_0x3441a8){let {status$:_0x4b973b}=_0x3441a8;return function(){const _0x110a6b=_0x1f09;return(0x0,_0x3595c1[_0x110a6b(0x289)])(_0x48688a,{'status$':_0x4b973b});};}let _0x19d706=(0x0,_0x1e96bc[_0x29b412(0x29e)])(_0x29b412(0x326)),_0x4bd713=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x4a305a,_0x5e937d,_0x5c084b,_0x2ad14f,_0x1928cd){const _0x1f10c9=_0x29b412;super(),this[_0x1f10c9(0x433)]=_0x4a305a,this[_0x1f10c9(0x3d0)]=_0x5e937d,this[_0x1f10c9(0x1e4)]=_0x5c084b,this[_0x1f10c9(0x245)]=_0x2ad14f,_0x1928cd?_0x1928cd==null||_0x1928cd['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x1f10c9(0x43e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1f10c9(0x19b)]());}async['_init'](){const _0x15198c=_0x29b412;let _0x570d96=this[_0x15198c(0x433)][_0x15198c(0x263)]('unit'),_0x5cb7b7=this[_0x15198c(0x433)]['getParam'](_0x15198c(0x2f8)),_0x1066d0=this['_urlService'][_0x15198c(0x263)](_0x15198c(0x277));if(!_0x570d96||!_0x5cb7b7){this['_logService'][_0x15198c(0x424)](_0x15198c(0x43e),_0x15198c(0x18b));return;}let _0x2ce9da=await this['_dataLoaderService'][_0x15198c(0x3db)](_0x570d96,Number(_0x5cb7b7),_0x1066d0);_0x2ce9da&&_0x2ce9da instanceof _0x1e96bc['Workbook']&&this[_0x15198c(0x164)](_0x2ce9da);}async['_setupSubUnitSync'](_0x2ad20a){const _0x127f95=_0x29b412;await this[_0x127f95(0x252)](_0x2ad20a),_0x2ad20a['activeSheet$'][_0x127f95(0x23c)]((0x0,_0x25f103[_0x127f95(0x3c7)])(this[_0x127f95(0x165)]))[_0x127f95(0x2ca)](_0x7dae9c=>{const _0x5433d9=_0x127f95;_0x7dae9c&&this[_0x5433d9(0x211)](_0x7dae9c);}),this[_0x127f95(0x433)]['urlChange$'][_0x127f95(0x23c)]((0x0,_0x25f103['takeUntil'])(this['dispose$']))[_0x127f95(0x2ca)](()=>this[_0x127f95(0x252)](_0x2ad20a));}[_0x29b412(0x211)](_0x415db7,_0x11e44c=!0x1){const _0x1f80b0=_0x29b412;let _0x599b2a=this[_0x1f80b0(0x433)]['getParam'](_0x1f80b0(0x277));_0x415db7[_0x1f80b0(0x2a2)]()!==_0x599b2a&&this[_0x1f80b0(0x433)]['setParam'](_0x1f80b0(0x277),_0x415db7[_0x1f80b0(0x2a2)](),_0x11e44c);}async['_updateSubUnitFromURLParams'](_0xa30344){const _0x1c5e83=_0x29b412;var _0x22e396;let _0x302177=this['_urlService'][_0x1c5e83(0x263)](_0x1c5e83(0x277));if(!_0x302177||!_0xa30344[_0x1c5e83(0x354)](_0x302177)){let _0x7c0966=_0xa30344[_0x1c5e83(0x39f)]()[0x0],_0x25917b=_0xa30344[_0x1c5e83(0x354)](_0x7c0966);if(!_0x25917b)return;this[_0x1c5e83(0x211)](_0x25917b,!0x0),await this['_commandService'][_0x1c5e83(0x358)](_0x3a9a8f['SetWorksheetActivateCommand']['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x7c0966});return;}((_0x22e396=_0xa30344['getActiveSheet']())==null?void 0x0:_0x22e396[_0x1c5e83(0x2a2)]())!==_0x302177&&await this[_0x1c5e83(0x1e4)][_0x1c5e83(0x358)](_0x3a9a8f[_0x1c5e83(0x348)]['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x302177});}};_0x4bd713=_0x1c9c51([_0x19fee6(0x0,_0x19d706),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['DataLoaderService'])),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x20b)])(_0xba6498[_0x29b412(0x238)]))],_0x4bd713);var _0x3a7710=_0x29b412(0x1bd),_0x4df1c3=_0x29b412(0x2ce);let _0x3048a8=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x547f9e,_0x4c537b){const _0x1b6937=_0x29b412;super(),this[_0x1b6937(0x1b5)]=_0x547f9e,this[_0x1b6937(0x338)]=_0x4c537b,this[_0x1b6937(0x19b)]();}[_0x29b412(0x19b)](){const _0x28dfcf=_0x29b412;let _0x393f53=this;this['disposeWithMe'](this[_0x28dfcf(0x1b5)][_0x28dfcf(0x421)]({'onBeforePasteImage':async _0x4babcf=>{const _0x2e9763=_0x28dfcf;let _0x50d80=await _0x393f53[_0x2e9763(0x338)][_0x2e9763(0x40d)](_0x4babcf);return _0x50d80?{'source':_0x50d80[_0x2e9763(0x25f)],'imageSourceType':_0x50d80[_0x2e9763(0x295)]}:null;}}));}};_0x3048a8=_0x1c9c51([_0x19fee6(0x0,_0xe88835[_0x29b412(0x2ad)]),_0x19fee6(0x1,_0x42b430[_0x29b412(0x28b)])],_0x3048a8);let _0x519b19=['purple.300',_0x29b412(0x432),_0x29b412(0x2b4),_0x29b412(0x370),_0x29b412(0x2f7),'yellow.400'];var _0x447e19=class extends _0x1e96bc['Disposable']{constructor(..._0x29c9c1){const _0x586830=_0x29b412;super(..._0x29c9c1),_0x4878f2(this,_0x586830(0x2a9),new Map()),_0x4878f2(this,_0x586830(0x335),0x0);}[_0x29b412(0x2fc)](_0x4aa21f){const _0x12cbf3=_0x29b412;if(this['_assignedColors'][_0x12cbf3(0x411)](_0x4aa21f))return this['_assignedColors'][_0x12cbf3(0x17b)](_0x4aa21f);let _0x406318=_0x519b19[this[_0x12cbf3(0x335)]];return this[_0x12cbf3(0x335)]=(this[_0x12cbf3(0x335)]+0x1)%_0x519b19[_0x12cbf3(0x1b7)],this['_assignedColors'][_0x12cbf3(0x1dc)](_0x4aa21f,_0x406318),_0x406318;}},_0x4212b1=function(_0x5ece7e){const _0x49646b=_0x29b412;return _0x5ece7e[_0x49646b(0x331)]='1',_0x5ece7e['Inactive']='0',_0x5ece7e;}(_0x4212b1||{});function _0x4ca010(_0x1111e3){const _0x1f8534=_0x29b412;let _0x50ceab='';for(let _0x2f5260 of _0x1111e3){let {startOffset:_0x21c1c7,endOffset:_0x33e3ed,isActive:_0x16d4c7,rangeType:_0xb85fd4,segmentId:_0x3d7370,segmentPage:_0x435cf8}=_0x2f5260;_0x50ceab['length']&&(_0x50ceab+=','),_0x50ceab+=_0x21c1c7+':'+_0x33e3ed+':'+(_0x16d4c7?_0x4212b1[_0x1f8534(0x331)]:_0x4212b1[_0x1f8534(0x3d9)])+':'+_0xb85fd4+':'+_0x3d7370+':'+_0x435cf8;}return _0x50ceab;}function _0x20a36d(_0x41c6fe){const _0x5ca588=_0x29b412;let _0x1277f2=_0x41c6fe[_0x5ca588(0x1d7)](','),_0x26abd4=[];for(let _0x402835 of _0x1277f2){let [_0x1fbce1,_0x43db11,_0x139e96,_0x32988f,_0x31d5a0,_0x66275a]=_0x402835[_0x5ca588(0x1d7)](':');_0x26abd4[_0x5ca588(0x3ec)]({'startOffset':Number(_0x1fbce1),'endOffset':Number(_0x43db11),'collapsed':_0x1fbce1===_0x43db11,'isActive':_0x139e96===_0x4212b1[_0x5ca588(0x331)],'rangeType':_0x32988f===_0x1e96bc[_0x5ca588(0x155)][_0x5ca588(0x319)]?_0x1e96bc[_0x5ca588(0x155)]['TEXT']:_0x1e96bc['DOC_RANGE_TYPE'][_0x5ca588(0x45d)],'segmentId':typeof _0x31d5a0=='string'?String(_0x31d5a0):'','segmentPage':Number(_0x66275a==null?-0x1:_0x66275a)});}return _0x26abd4[_0x5ca588(0x409)](_0x4d575a=>_0x4d575a['isActive'])||(_0x26abd4[0x0][_0x5ca588(0x43c)]=!0x0),_0x26abd4;}var _0x54c1c7=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(..._0x55e6ef){const _0x48ccf9=_0x29b412;super(..._0x55e6ef),_0x4878f2(this,_0x48ccf9(0x351),new _0x25f103[(_0x48ccf9(0x177))](null)),_0x4878f2(this,'collabCursorState$',this[_0x48ccf9(0x351)][_0x48ccf9(0x341)]());}[_0x29b412(0x30e)](_0xb7fc09){const _0x527215=_0x29b412;let {unitID:_0x76d712,memberID:_0x30538b,textRanges:_0x29296d}=_0xb7fc09,_0x373399=_0x4ca010(_0x29296d);if(_0x373399==='')return;let _0x33ba1d={'unitID':_0x76d712,'memberID':_0x30538b,'selection':_0x373399};this[_0x527215(0x351)][_0x527215(0x1db)](_0x33ba1d);}};let _0x83701a=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x1fc8cd=_0x29b412;return this[_0x1fc8cd(0x226)][_0x1fc8cd(0x27d)]();}get[_0x29b412(0x304)](){return this['_roomMembers$']['getValue']();}constructor(_0x83a06f,_0x5431ba,_0x7d2cde,_0x257c31,_0x388183,_0x34c527,_0x36e93e,_0x2a4cd8,_0x4906ac){const _0x1c8dfe=_0x29b412;super(),this[_0x1c8dfe(0x180)]=_0x83a06f,this[_0x1c8dfe(0x16b)]=_0x5431ba,this[_0x1c8dfe(0x21f)]=_0x7d2cde,this[_0x1c8dfe(0x21d)]=_0x257c31,this[_0x1c8dfe(0x1a6)]=_0x388183,this[_0x1c8dfe(0x3c6)]=_0x34c527,this[_0x1c8dfe(0x446)]=_0x36e93e,this[_0x1c8dfe(0x2d1)]=_0x2a4cd8,this[_0x1c8dfe(0x1e4)]=_0x4906ac,_0x4878f2(this,'_online',!0x1),_0x4878f2(this,_0x1c8dfe(0x19b),!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x1c8dfe(0x177))](new Map())),_0x4878f2(this,_0x1c8dfe(0x309),this['_cursorInfo$'][_0x1c8dfe(0x341)]()),_0x4878f2(this,_0x1c8dfe(0x1b4),new _0x25f103['BehaviorSubject']([])),_0x4878f2(this,_0x1c8dfe(0x1e5),this[_0x1c8dfe(0x1b4)][_0x1c8dfe(0x23c)]((0x0,_0x25f103[_0x1c8dfe(0x213)])(0x12c))),_0x4878f2(this,_0x1c8dfe(0x3bf),(0x0,_0x1e96bc[_0x1c8dfe(0x20e)])(_0x3f488b=>{const _0x2faa7c=_0x1c8dfe;let _0x799354={'eventID':_0x55fb1d[_0x2faa7c(0x1f3)][_0x2faa7c(0x2e0)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x4ca010(_0x3f488b)}};this[_0x2faa7c(0x16b)][_0x2faa7c(0x3e8)](_0x799354,this['unitID']);},0x64));}[_0x29b412(0x1e7)](){const _0x5760fb=_0x29b412;super['dispose'](),this[_0x5760fb(0x226)][_0x5760fb(0x1db)](new Map()),this[_0x5760fb(0x226)][_0x5760fb(0x444)](),this[_0x5760fb(0x1b4)][_0x5760fb(0x1db)]([]),this[_0x5760fb(0x1b4)]['complete']();}[_0x29b412(0x37a)](){const _0x212d30=_0x29b412;this[_0x212d30(0x19b)]||(this['_init']=!0x0,this['_session'][_0x212d30(0x2bc)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))['subscribe'](_0x463949=>{const _0x3aba3a=_0x212d30;_0x463949===_0x18e88d[_0x3aba3a(0x1f7)][_0x3aba3a(0x314)]?this[_0x3aba3a(0x3a4)]():this[_0x3aba3a(0x1af)]();}),this[_0x212d30(0x16b)][_0x212d30(0x420)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))[_0x212d30(0x2ca)](_0x4f0df9=>{const _0x3bdad8=_0x212d30;let _0x490f79=_0x4f0df9[_0x3bdad8(0x34e)];_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)]['UPDATE_CURSOR']&&this[_0x3bdad8(0x32a)](_0x4f0df9),_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)][_0x3bdad8(0x1b1)]&&this['_onCursorDelete'](_0x4f0df9);}),this[_0x212d30(0x434)](this['_commandService'][_0x212d30(0x2d9)](_0x5c76f7=>{const _0x2328c2=_0x212d30;let _0x194148=_0x5c76f7[_0x2328c2(0x431)];_0x194148!=null&&this['_online']&&_0x5c76f7['id']===_0x3aacdf[_0x2328c2(0x3c2)]['id']&&_0x194148['unitId']===this[_0x2328c2(0x180)]&&_0x194148[_0x2328c2(0x349)]===!0x1&&_0x194148[_0x2328c2(0x1ba)][_0x2328c2(0x1b7)]>0x0&&this['_updateLocalCursor'](_0x194148[_0x2328c2(0x1ba)]);})),this[_0x212d30(0x3c6)]['collabCursorState$'][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this['dispose$']))[_0x212d30(0x2ca)](_0x2b25c9=>{const _0x36581b=_0x212d30;if((_0x2b25c9==null?void 0x0:_0x2b25c9[_0x36581b(0x180)])!==this[_0x36581b(0x180)])return;let _0x38ce3e={'eventID':_0x55fb1d[_0x36581b(0x1f3)][_0x36581b(0x2e0)],'data':_0x2b25c9};this[_0x36581b(0x32a)](_0x38ce3e);}),this[_0x212d30(0x434)](this[_0x212d30(0x1e4)][_0x212d30(0x2d9)](_0x35bcc8=>{const _0x414993=_0x212d30;if(_0x35bcc8[_0x414993(0x431)]==null)return;let _0x1ad72c=_0x35bcc8[_0x414993(0x431)];if(_0x35bcc8['id']!==_0x3aacdf[_0x414993(0x405)]['id']||_0x1ad72c[_0x414993(0x378)]!==this[_0x414993(0x180)])return;let _0x14e0af={'id':_0x414993(0x3ac),'params':_0x1ad72c},_0x42f0d8=this[_0x414993(0x22e)];for(let [_0x4a575e,_0x1ae761]of _0x42f0d8){let _0x1d949a={'id':_0x414993(0x3ac),'params':{'unitId':this[_0x414993(0x180)],'actions':null,'textRanges':_0x1ae761[_0x414993(0x1ba)]}},_0x1b25d0=this['_transformService']['transformMutation'](_0x14e0af,_0x1d949a,!0x1);if((0x0,_0x55fb1d[_0x414993(0x2ea)])(_0x1b25d0))throw _0x1b25d0[_0x414993(0x1cf)];_0x42f0d8[_0x414993(0x1dc)](_0x4a575e,{..._0x1ae761,'ranges':_0x1b25d0[_0x414993(0x447)]['params']['textRanges']});}queueMicrotask(()=>{const _0x275327=_0x414993;this[_0x275327(0x226)][_0x275327(0x1db)](_0x42f0d8);});})));}[_0x29b412(0x32a)](_0x4acaf7){const _0x380687=_0x29b412;var _0x444814,_0x575190;let {memberID:_0x5b0ec4,selection:_0x1e2b79}=_0x4acaf7[_0x380687(0x2c4)],_0x384f6b=_0x20a36d(_0x1e2b79),_0x2ddeff=(_0x444814=(_0x575190=this[_0x380687(0x1a6)][_0x380687(0x301)](this[_0x380687(0x180)],_0x5b0ec4))==null?void 0x0:_0x575190[_0x380687(0x298)])==null?_0x380687(0x357):_0x444814,_0x5f3a4f={'color':this[_0x380687(0x21d)]['assignAColorForMemberID'](_0x5b0ec4),'name':_0x2ddeff,'ranges':_0x384f6b},_0x424858=this['cursorInfo'];_0x424858[_0x380687(0x1dc)](_0x5b0ec4,_0x5f3a4f),this['_cursorInfo$']['next'](_0x424858);}[_0x29b412(0x179)](_0xe98497){const _0x520f77=_0x29b412;let {memberID:_0x16e383}=_0xe98497[_0x520f77(0x2c4)],_0x77a7c0=this[_0x520f77(0x22e)];_0x77a7c0[_0x520f77(0x24d)](_0x16e383),this['_cursorInfo$']['next'](_0x77a7c0);}[_0x29b412(0x3a4)](){const _0x1a4ea9=_0x29b412;var _0xf3315f;if(this[_0x1a4ea9(0x223)]=!0x0,((_0xf3315f=this[_0x1a4ea9(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0xf3315f['getUnitId']())!==this[_0x1a4ea9(0x180)])return;let _0x109861=this['_injector'][_0x1a4ea9(0x17b)](_0x3aacdf[_0x1a4ea9(0x3d8)])[_0x1a4ea9(0x45c)]();Array['isArray'](_0x109861)&&_0x109861[_0x1a4ea9(0x1b7)]>0x0&&this[_0x1a4ea9(0x3bf)](_0x109861);}[_0x29b412(0x1af)](){const _0x35f742=_0x29b412;this[_0x35f742(0x223)]=!0x1;}};_0x83701a=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x2b0)])),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x54c1c7)),_0x19fee6(0x6,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x7,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x8,_0x1e96bc[_0x29b412(0x42c)])],_0x83701a);let _0x37f6df=()=>{let _0x2123ba=[],_0x5a963d=!0x1;return _0x948fef=>{_0x2123ba['push'](_0x948fef),_0x5a963d||(_0x5a963d=!0x0,setTimeout(()=>{const _0x3a3ab0=_0x1f09;_0x2123ba[_0x3a3ab0(0x312)](_0x304be9=>_0x304be9()),_0x2123ba=[],_0x5a963d=!0x1;}));};},_0x4853dd=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x4e0b6a=_0x29b412;return this[_0x4e0b6a(0x226)]['getValue']();}get[_0x29b412(0x304)](){const _0x558420=_0x29b412;return this[_0x558420(0x1b4)]['getValue']();}constructor(_0x165d4e,_0x459e5b,_0x3c577b,_0x520e0e,_0x53ab57,_0x3be1ea,_0x3382d7,_0x5d3512){const _0x3be063=_0x29b412;super(),this['unitID']=_0x165d4e,this[_0x3be063(0x16b)]=_0x459e5b,this[_0x3be063(0x21f)]=_0x3c577b,this['_colorAssignService']=_0x520e0e,this[_0x3be063(0x1a6)]=_0x53ab57,this[_0x3be063(0x2d1)]=_0x3be1ea,this['_commandService']=_0x3382d7,this[_0x3be063(0x251)]=_0x5d3512,_0x4878f2(this,_0x3be063(0x223),!0x1),_0x4878f2(this,'_init',!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x3be063(0x177))](new Map())),_0x4878f2(this,_0x3be063(0x309),this['_cursorInfo$']['asObservable']()),_0x4878f2(this,_0x3be063(0x1b4),new _0x25f103[(_0x3be063(0x177))]([])),_0x4878f2(this,_0x3be063(0x1e5),this[_0x3be063(0x1b4)][_0x3be063(0x23c)]((0x0,_0x25f103['debounceTime'])(0x12c))),_0x4878f2(this,_0x3be063(0x3bf),(0x0,_0x1e96bc[_0x3be063(0x20e)])((_0x458b64,_0x172515)=>{const _0x58d36b=_0x3be063;let _0x26badc={'eventID':_0x55fb1d[_0x58d36b(0x1f3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x58d36b(0x180)],'memberID':this[_0x58d36b(0x16b)][_0x58d36b(0x352)](),'selection':(0x0,_0x3b565c[_0x58d36b(0x419)])(_0x458b64,_0x172515['range'])}};this['_session'][_0x58d36b(0x3e8)](_0x26badc,this[_0x58d36b(0x180)]);},0x64));}[_0x29b412(0x1e7)](){const _0x5c77f2=_0x29b412;super['dispose'](),this[_0x5c77f2(0x226)]['next'](new Map()),this[_0x5c77f2(0x226)][_0x5c77f2(0x444)](),this[_0x5c77f2(0x1b4)]['next']([]),this['_roomMembers$'][_0x5c77f2(0x444)]();}[_0x29b412(0x37a)](){const _0x449b33=_0x29b412;this['_init']||(this[_0x449b33(0x19b)]=!0x0,this['_session'][_0x449b33(0x2bc)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))[_0x449b33(0x2ca)](_0x10a028=>{const _0x56d92c=_0x449b33;_0x10a028===_0x18e88d[_0x56d92c(0x1f7)][_0x56d92c(0x314)]?this['_toggleOnline']():this[_0x56d92c(0x1af)]();}),this['_session'][_0x449b33(0x420)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))['subscribe'](_0x5d77b2=>{const _0xd57e6f=_0x449b33;let _0x746d14=_0x5d77b2['eventID'];_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x2e0)]&&this[_0xd57e6f(0x32a)](_0x5d77b2),_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x1b1)]&&this[_0xd57e6f(0x179)](_0x5d77b2);}),this['_onRefRangeChange'](),this[_0x449b33(0x434)](this[_0x449b33(0x1e4)][_0x449b33(0x2d9)](_0x3f9fdd=>{const _0x4b0058=_0x449b33;if(this[_0x4b0058(0x223)]&&_0x3f9fdd['id']===_0x3a9a8f[_0x4b0058(0x1be)]['id']&&_0x3f9fdd[_0x4b0058(0x431)][_0x4b0058(0x378)]===this['unitID']){let _0x154280=_0x3f9fdd[_0x4b0058(0x431)];this[_0x4b0058(0x3bf)](_0x154280[_0x4b0058(0x2ee)],_0x154280[_0x4b0058(0x1ae)][0x0]);}})));}[_0x29b412(0x32a)](_0x263fe8){const _0x5cbd3f=_0x29b412;var _0x324624,_0x788b3a;let {memberID:_0xbb81b9,selection:_0x43d407}=_0x263fe8[_0x5cbd3f(0x2c4)],{sheetName:_0x334063,range:_0x35ce05}=(0x0,_0x3b565c['deserializeRangeWithSheet'])(_0x43d407),_0x1cce6b={'name':(_0x324624=(_0x788b3a=this['_memberService'][_0x5cbd3f(0x301)](this[_0x5cbd3f(0x180)],_0xbb81b9))==null?void 0x0:_0x788b3a[_0x5cbd3f(0x298)])==null?_0x5cbd3f(0x357):_0x324624,'range':this[_0x5cbd3f(0x408)](_0x334063,_0x35ce05),'sheetID':_0x334063,'color':this[_0x5cbd3f(0x21d)][_0x5cbd3f(0x2fc)](_0xbb81b9),'selection':_0x43d407},_0xffb35f=this[_0x5cbd3f(0x22e)];_0xffb35f[_0x5cbd3f(0x1dc)](_0xbb81b9,_0x1cce6b),this[_0x5cbd3f(0x226)][_0x5cbd3f(0x1db)](_0xffb35f);}[_0x29b412(0x179)](_0x5e53aa){const _0x2fe577=_0x29b412;let {memberID:_0x2d99d7}=_0x5e53aa[_0x2fe577(0x2c4)],_0x20d45d=this[_0x2fe577(0x22e)];_0x20d45d['delete'](_0x2d99d7),this[_0x2fe577(0x226)]['next'](_0x20d45d);}['_getMergeRange'](_0x343c17,_0x567cf4){const _0x322e73=_0x29b412;var _0x1647a2;let _0xa9057d=(_0x1647a2=this[_0x322e73(0x2d1)][_0x322e73(0x29d)](this['unitID']))==null||(_0x1647a2=_0x1647a2[_0x322e73(0x354)](_0x343c17))==null?void 0x0:_0x1647a2[_0x322e73(0x279)]();return(_0xa9057d==null?void 0x0:_0xa9057d['find'](_0x4e5c5a=>_0x1e96bc['Rectangle'][_0x322e73(0x1b0)](_0x4e5c5a,_0x567cf4)))||_0x567cf4;}[_0x29b412(0x2dd)](){const _0x34a47b=_0x29b412;let _0x47f365=new _0x1e96bc[(_0x34a47b(0x394))](),_0x29e4e1=_0x37f6df(),_0x5b578f=()=>{const _0x56e03d=_0x34a47b;_0x47f365[_0x56e03d(0x1e7)]();let _0x139a46=(_0x2d8cf4,_0x4c6b97,_0x392777,_0x1437d1)=>{const _0x3b115c=_0x56e03d;let _0x4615da=[];switch(_0x2d8cf4['id']){case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x187)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x1f8)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x3ad)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x272)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)]['InsertColCommandId']:_0x4615da=(0x0,_0x3a9a8f['handleInsertCol'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1df)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3fc)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x221)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x454)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x355)]:_0x4615da=(0x0,_0x3a9a8f['handleInsertRow'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['MoveRangeCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3e6)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['RemoveColCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x293)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1a0)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x17e)])(_0x2d8cf4,_0x1437d1);break;}let _0x239f5e=(0x0,_0x3a9a8f[_0x3b115c(0x386)])(_0x4615da,_0x1437d1),_0x199f5d=this['cursorInfo'][_0x3b115c(0x17b)](_0x4c6b97);if(_0x199f5d&&_0x239f5e){let _0x244272={..._0x199f5d,'range':_0x239f5e};this[_0x3b115c(0x22e)][_0x3b115c(0x1dc)](_0x4c6b97,_0x244272),_0x29e4e1(()=>{const _0x5749f0=_0x3b115c;let _0x5660ca=this[_0x5749f0(0x251)][_0x5749f0(0x27b)](_0x239f5e,_0x2cb5a9=>(_0x5660ca[_0x5749f0(0x1e7)](),_0x139a46(_0x2cb5a9,_0x4c6b97,_0x392777,_0x239f5e)));_0x47f365[_0x5749f0(0x20c)](_0x5660ca);});}return{'redos':[],'undos':[]};};this[_0x56e03d(0x22e)][_0x56e03d(0x312)]((_0x4a53d8,_0xa50d9e)=>{const _0x19c4db=_0x56e03d;let {range:_0x1f1108,sheetID:_0x19e370}=_0x4a53d8,_0x45b800=this['_refRangeService']['registerRefRange'](_0x1f1108,_0x459dec=>(_0x45b800[_0x19c4db(0x1e7)](),_0x139a46(_0x459dec,_0xa50d9e,_0x19e370,_0x1f1108)));_0x47f365['add'](_0x45b800);});};this['disposeWithMe']((0x0,_0x1e96bc['toDisposable'])(this[_0x34a47b(0x226)][_0x34a47b(0x2ca)](()=>{_0x5b578f();})));}['_toggleOnline'](){const _0x1fb496=_0x29b412;var _0x23175d,_0x136c47;if(this[_0x1fb496(0x223)]=!0x0,((_0x23175d=this[_0x1fb496(0x2d1)][_0x1fb496(0x37d)]())==null?void 0x0:_0x23175d[_0x1fb496(0x393)]())!==this[_0x1fb496(0x180)])return;let _0x2f4b26=(_0x136c47=this['_injector']['get'](_0x3a9a8f[_0x1fb496(0x3e7)])[_0x1fb496(0x23e)]())==null?void 0x0:_0x136c47[0x0],_0x3fa803=this[_0x1fb496(0x2d1)][_0x1fb496(0x38b)](_0x1e96bc[_0x1fb496(0x20d)]['UNIVER_SHEET'])['getActiveSheet']();_0x2f4b26&&_0x3fa803&&this['_updateLocalCursor'](_0x3fa803[_0x1fb496(0x2a2)](),_0x2f4b26);}[_0x29b412(0x1af)](){const _0x769354=_0x29b412;this[_0x769354(0x223)]=!0x1;}};_0x4853dd=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['MemberService'])),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x6,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3a9a8f[_0x29b412(0x40c)]))],_0x4853dd);let _0x396377=class extends _0x1e96bc['RxDisposable']{constructor(_0x28bbc0,_0x223af9,_0x338f39){const _0x319d75=_0x29b412;super(),this['_univerInstanceService']=_0x28bbc0,this[_0x319d75(0x21f)]=_0x223af9,this[_0x319d75(0x281)]=_0x338f39,_0x4878f2(this,_0x319d75(0x1a9),new Map()),_0x4878f2(this,'_entityInit$',new _0x25f103[(_0x319d75(0x321))]()),this[_0x319d75(0x19b)]();}[_0x29b412(0x1e7)](){const _0x4c88b4=_0x29b412;super[_0x4c88b4(0x1e7)](),this[_0x4c88b4(0x3d7)][_0x4c88b4(0x444)](),this[_0x4c88b4(0x1a9)][_0x4c88b4(0x312)](_0x2114f0=>_0x2114f0[_0x4c88b4(0x1e7)]());}[_0x29b412(0x197)](_0x53cc1c){const _0x310827=_0x29b412;return this['_entities'][_0x310827(0x411)](_0x53cc1c)?this['_entities'][_0x310827(0x17b)](_0x53cc1c)[_0x310827(0x309)]:this['_entityInit$'][_0x310827(0x23c)]((0x0,_0x25f103[_0x310827(0x442)])(_0xcb81da=>_0xcb81da['unitID']===_0x53cc1c),(0x0,_0x25f103[_0x310827(0x43a)])(_0x2f40fa=>_0x2f40fa[_0x310827(0x309)]));}['_init'](){const _0x20bb1a=_0x29b412;this[_0x20bb1a(0x2d1)][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)])[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](async _0x495a51=>{const _0x227328=_0x20bb1a;let _0x16fb0a=_0x495a51['getUnitId'](),_0xc90972=await this[_0x227328(0x429)](_0x16fb0a);this[_0x227328(0x3d7)][_0x227328(0x1db)](_0xc90972),this[_0x227328(0x1a9)]['set'](_0x16fb0a,_0xc90972);}),this['_univerInstanceService'][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)])['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x442)])(_0x3cd117=>!_0x3cd117[_0x20bb1a(0x393)]()[_0x20bb1a(0x220)]('__')))[_0x20bb1a(0x2ca)](async _0x4dbc92=>{const _0x23e5f7=_0x20bb1a;let _0x1890fa=_0x4dbc92[_0x23e5f7(0x393)](),_0x4a5f49=await this['_startDocCollabCursor'](_0x1890fa);this[_0x23e5f7(0x3d7)]['next'](_0x4a5f49),this[_0x23e5f7(0x1a9)][_0x23e5f7(0x1dc)](_0x1890fa,_0x4a5f49);}),(0x0,_0x25f103[_0x20bb1a(0x371)])(this[_0x20bb1a(0x2d1)][_0x20bb1a(0x31f)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)]))['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](_0x58567f=>{const _0x454037=_0x20bb1a;let _0x3e07f6=_0x58567f[_0x454037(0x393)](),_0x16c8aa=this[_0x454037(0x1a9)][_0x454037(0x17b)](_0x3e07f6);_0x16c8aa&&(_0x16c8aa[_0x454037(0x1e7)](),this[_0x454037(0x1a9)][_0x454037(0x24d)](_0x3e07f6));});}async['_startSheetCollabCursor'](_0xe7b3f2){const _0x52c21f=_0x29b412;let _0x2c9104=await this['_collabSessionService'][_0x52c21f(0x24c)](_0xe7b3f2),_0x33b542=this['_injector'][_0x52c21f(0x18c)](_0x4853dd,_0xe7b3f2,_0x2c9104);return _0x33b542[_0x52c21f(0x37a)](),_0x33b542;}async['_startDocCollabCursor'](_0x5bef0f){const _0x1d55dd=_0x29b412;let _0x243a4f=await this[_0x1d55dd(0x281)]['requireSession'](_0x5bef0f),_0xf24d7e=this['_injector']['createInstance'](_0x83701a,_0x5bef0f,_0x243a4f);return _0xf24d7e['init'](),_0xf24d7e;}};_0x396377=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x38e)]))],_0x396377);function _0x3e4eef(_0x3979ec,_0x47d0d9){const _0x3ac713=_0x29b412;var _0x41ecee,_0x3603c4,_0x49386a;let {radius:_0x2eec1a,width:_0x2fe56b,height:_0x976f02}=_0x47d0d9;_0x2eec1a=(_0x41ecee=_0x2eec1a)==null?0x0:_0x41ecee,_0x2fe56b=(_0x3603c4=_0x2fe56b)==null?0x1e:_0x3603c4,_0x976f02=(_0x49386a=_0x976f02)==null?0x1e:_0x49386a;let _0x384575=0x0,_0x411d1a=0x0,_0x115917=0x0;_0x384575=_0x411d1a=_0x115917=Math[_0x3ac713(0x356)](_0x2eec1a,_0x2fe56b/0x2,_0x976f02/0x2),_0x3979ec['beginPath'](),_0x3979ec[_0x3ac713(0x449)](_0x384575,0x0),_0x3979ec['lineTo'](_0x2fe56b-_0x411d1a,0x0),_0x3979ec['arc'](_0x2fe56b-_0x411d1a,_0x411d1a,_0x411d1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x3979ec[_0x3ac713(0x1ca)](_0x2fe56b,_0x976f02-_0x115917),_0x3979ec[_0x3ac713(0x3b7)](_0x2fe56b-_0x115917,_0x976f02-_0x115917,_0x115917,0x0,Math['PI']/0x2,!0x1),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x976f02),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x384575),_0x3979ec[_0x3ac713(0x3b7)](_0x384575,_0x384575,_0x384575,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3979ec['closePath'](),_0x47d0d9[_0x3ac713(0x2e6)]&&(_0x3979ec[_0x3ac713(0x166)](),_0x3979ec[_0x3ac713(0x323)]=_0x47d0d9[_0x3ac713(0x2e6)],_0x47d0d9[_0x3ac713(0x344)]==='evenodd'?_0x3979ec[_0x3ac713(0x2e6)](_0x3ac713(0x1a2)):_0x3979ec['fill'](),_0x3979ec[_0x3ac713(0x3c1)]());}var _0x3fff7c=class _0x4eb704 extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x4dc50e,_0x48dfaf){const _0x5c208b=_0x29b412;super(_0x4dc50e,_0x48dfaf),_0x4878f2(this,_0x5c208b(0x44c),void 0x0),_0x4878f2(this,_0x5c208b(0x15d),void 0x0),this['color']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x44c)],this['text']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x15d)];}static[_0x29b412(0x190)](_0x4799f7,_0x251588){const _0x375acb=_0x29b412;let {text:_0xe81eee,color:_0x30ab73}=_0x251588;_0x4799f7['save'](),_0x4799f7[_0x375acb(0x1d4)]=_0x375acb(0x160);let _0x3023f4=_0x4799f7[_0x375acb(0x26a)](_0xe81eee)[_0x375acb(0x2ae)];if(_0x3e4eef(_0x4799f7,{'height':0x14,'radius':0x4,'width':Math['min'](_0x3023f4+0x8,0xc8),'fill':_0x30ab73,'evented':!0x1}),_0x4799f7['fillStyle']=_0x375acb(0x36e),_0x3023f4>0xc0){let _0x189adf='',_0x165d8b=0x0;for(let _0x36718d of _0xe81eee){let _0xd27561=_0x4799f7[_0x375acb(0x26a)](_0x36718d)[_0x375acb(0x2ae)];if(_0x165d8b+_0xd27561<=0xc0-_0x4799f7['measureText']('...')[_0x375acb(0x2ae)])_0x189adf+=_0x36718d,_0x165d8b+=_0xd27561;else{_0x189adf+=_0x375acb(0x33e);break;}}_0x4799f7[_0x375acb(0x2de)](_0x189adf,0x4,0xf);}else _0x4799f7[_0x375acb(0x2de)](_0xe81eee,0x4,0xf);_0x4799f7[_0x375acb(0x3c1)]();}['_draw'](_0x32b5e2){const _0x2d67d0=_0x29b412;_0x4eb704[_0x2d67d0(0x190)](_0x32b5e2,this);}};let _0x5ae368='collab-text-anchor-';var _0x3c104f=class{constructor(_0x3c0d9b,_0x57a231,_0xc65beb,_0x31e0d2){const _0x13007f=_0x29b412;this[_0x13007f(0x339)]=_0x3c0d9b,this[_0x13007f(0x285)]=_0x57a231,this[_0x13007f(0x188)]=_0xc65beb,this[_0x13007f(0x401)]=_0x31e0d2,_0x4878f2(this,_0x13007f(0x1a5),[]),_0x4878f2(this,_0x13007f(0x294),null),_0x4878f2(this,_0x13007f(0x305),null),_0x4878f2(this,_0x13007f(0x2e9),null),_0x4878f2(this,_0x13007f(0x3a5),null),_0x4878f2(this,'_eventUnsubscribe',null),this[_0x13007f(0x3e9)]();}set[_0x29b412(0x317)](_0x2209a3){const _0x54f2dc=_0x29b412;_0x2209a3?(this['_anchorDot']&&this['_anchorDot'][_0x54f2dc(0x193)](),this[_0x54f2dc(0x305)]&&this[_0x54f2dc(0x305)]['show']()):(this[_0x54f2dc(0x2e9)]&&this[_0x54f2dc(0x2e9)][_0x54f2dc(0x450)](),this['_textBubble']&&this[_0x54f2dc(0x305)][_0x54f2dc(0x193)]());}[_0x29b412(0x1e7)](){const _0x5bc547=_0x29b412;for(let _0xd94525 of this[_0x5bc547(0x1a5)])_0xd94525['dispose']();this[_0x5bc547(0x305)]&&this[_0x5bc547(0x305)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x2e9)]&&this[_0x5bc547(0x2e9)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x294)]&&this['_anchor'][_0x5bc547(0x1e7)](),this[_0x5bc547(0x21e)]&&this[_0x5bc547(0x21e)]();}['_render'](){const _0x1ae480=_0x29b412;let {_docSkeleton:_0x2144f9,_document:_0x2c831c}=this,{color:_0x36b694,name:_0x2bca94,ranges:_0x3061c2}=this[_0x1ae480(0x339)],_0x1010de=_0x2c831c[_0x1ae480(0x216)](),{docsLeft:_0x32954d,docsTop:_0xdd8fc6}=_0x1010de,_0x571bbd=new _0xe88835[(_0x1ae480(0x39c))](_0x1010de,_0x2144f9);for(let {startOffset:_0x398df4,endOffset:_0x176fdb,rangeType:_0xe22076,segmentId:_0x41c315,segmentPage:_0x254479,collapsed:_0x1a2b97,isActive:_0x2f1102}of _0x3061c2){let _0x56b78d=_0x2144f9['findNodePositionByCharIndex'](_0x398df4,!0x0,_0x41c315,_0x254479),_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb,!0x0,_0x41c315,_0x254479);if(_0x567f6e==null&&(_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb-0x1,!0x1,_0x41c315,_0x254479)),_0x2f1102){let {contentBoxPointGroup:_0x56ca02}=_0x571bbd[_0x1ae480(0x1ef)](_0x567f6e,_0x567f6e);if(_0x56ca02[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x35e)](_0x36b694,_0x56ca02,_0x32954d,_0xdd8fc6,_0x2bca94),this[_0x1ae480(0x21e)]=this[_0x1ae480(0x302)]();}if(_0x56b78d&&_0x567f6e){if(_0xe22076===_0x1e96bc[_0x1ae480(0x155)][_0x1ae480(0x45d)]){var _0x316605;let {pointGroup:_0x5a0355}=(_0x316605=new _0xe88835[(_0x1ae480(0x236))](_0x1010de,_0x2144f9)[_0x1ae480(0x1ef)](_0x56b78d,_0x567f6e))==null?{}:_0x316605;if(_0x5a0355==null||_0x5a0355[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x1d3)](_0x36b694,_0x5a0355,_0x32954d,_0xdd8fc6);}else{if(!_0x1a2b97){let {borderBoxPointGroup:_0xb6d706}=_0x571bbd['getRangePointData'](_0x56b78d,_0x567f6e);if(_0xb6d706['length']===0x0)continue;this[_0x1ae480(0x16d)](_0x36b694,_0xb6d706,_0x32954d,_0xdd8fc6);}}}}}[_0x29b412(0x35e)](_0x22ece4,_0x22293a,_0x4b5eeb,_0x52cddd,_0x1e0856){const _0x971822=_0x29b412;let {left:_0x1bdb09,top:_0x23ba29,height:_0x2ab78a}=this[_0x971822(0x18f)](_0x22293a),_0x2423b5=1.5/this[_0x971822(0x3fe)](),_0x5cbe4d=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd,'height':_0x2ab78a,'width':1.5,'fill':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)][_0x971822(0x292)],0x0),'strokeWidth':_0x2423b5,'stroke':_0x971822(0x1ed),'evented':!0x0});this[_0x971822(0x294)]=_0x5cbe4d,this[_0x971822(0x285)]['addObject'](_0x5cbe4d,_0xe88835[_0x971822(0x2be)]);let _0x5b6d12=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x22ece4||(0x0,_0x42ac73['getColor'])(_0x1e96bc['COLORS'][_0x971822(0x292)],0x0),'strokeWidth':0x0,'stroke':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)]['black'],0x0),'evented':!0x1});this[_0x971822(0x2e9)]=_0x5b6d12,this['_scene'][_0x971822(0x368)](_0x5b6d12,_0xe88835['TEXT_RANGE_LAYER_INDEX']);let _0x4e9c4c=new _0x3fff7c(_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x14,'text':_0x1e0856,'color':_0x22ece4});this['_textBubble']=_0x4e9c4c,this[_0x971822(0x285)]['addObject'](_0x4e9c4c,_0xe88835[_0x971822(0x2be)]),this[_0x971822(0x317)]=!0x1;}[_0x29b412(0x302)](){const _0x1f95fb=_0x29b412;let _0x570dfa=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x38e7c3=this[_0x1f95fb(0x294)][_0x1f95fb(0x254)][_0x1f95fb(0x31a)](()=>{const _0x1d8ab0=_0x1f95fb;this[_0x1d8ab0(0x3a5)]&&clearTimeout(this[_0x1d8ab0(0x3a5)]),this['_hideTimer']=setTimeout(()=>{const _0x191691=_0x1d8ab0;this[_0x191691(0x317)]=!0x1;},0x7d0);});return()=>{const _0xc47a3f=_0x1f95fb;_0x570dfa[_0xc47a3f(0x3bc)](),_0x38e7c3['unsubscribe']();};}['_drawTextRange'](_0x144f7d,_0x2a87fc,_0x1f0678,_0x9d8996){const _0x25bbf0=_0x29b412;let _0x569e54=0.2,_0x5b55a4=new _0x1e96bc[(_0x25bbf0(0x1f0))](_0x144f7d)[_0x25bbf0(0x21c)](_0x569e54)[_0x25bbf0(0x243)](),_0x6d4b0e=new _0x42ac73[(_0x25bbf0(0x22b))]('collab-text-range-'+(0x0,_0x1e96bc['generateRandomId'])(0x6),{'pointsGroup':_0x2a87fc,'fill':_0x5b55a4||(0x0,_0x42ac73[_0x25bbf0(0x3c4)])(_0x1e96bc[_0x25bbf0(0x3e2)][_0x25bbf0(0x292)],_0x569e54),'left':_0x1f0678,'top':_0x9d8996,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25bbf0(0x1a5)][_0x25bbf0(0x3ec)](_0x6d4b0e),this[_0x25bbf0(0x285)]['addObject'](_0x6d4b0e,_0xe88835[_0x25bbf0(0x2be)]);}[_0x29b412(0x1d3)](_0x49ddf5,_0x4ed521,_0x2d84bb,_0x1b4bd2){const _0x46a778=_0x29b412;let _0x576d43=0.2,_0x58ffca=new _0x1e96bc['ColorKit'](_0x49ddf5)[_0x46a778(0x21c)](_0x576d43)['toRgbString'](),_0x304d10=new _0x42ac73[(_0x46a778(0x22b))]('collab-rect-range-'+(0x0,_0x1e96bc[_0x46a778(0x1f9)])(0x6),{'pointsGroup':_0x4ed521,'fill':_0x58ffca||(0x0,_0x42ac73[_0x46a778(0x3c4)])(_0x1e96bc['COLORS'][_0x46a778(0x292)],_0x576d43),'left':_0x2d84bb,'top':_0x1b4bd2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46a778(0x1a5)][_0x46a778(0x3ec)](_0x304d10),this[_0x46a778(0x285)][_0x46a778(0x368)](_0x304d10,_0xe88835[_0x46a778(0x2be)]);}[_0x29b412(0x18f)](_0x260ef0){let _0x18995f=_0x260ef0[0x0],_0x3ebb6c=_0x18995f[0x0],_0x453a64=_0x18995f[0x2],{x:_0x5b0007,y:_0x5ca8f5}=_0x3ebb6c,{x:_0x139fdc,y:_0x5ed55d}=_0x453a64;return{'left':_0x5b0007,'top':_0x5ca8f5,'width':_0x139fdc-_0x5b0007,'height':_0x5ed55d-_0x5ca8f5};}[_0x29b412(0x3fe)](){const _0x3f8056=_0x29b412;let {scaleX:_0x2f7130,scaleY:_0x4af46b}=this[_0x3f8056(0x285)][_0x3f8056(0x347)]();return Math[_0x3f8056(0x44a)](_0x2f7130,_0x4af46b);}};let _0x303d04=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0xb6fa4f,_0x577c32,_0x12ed0c,_0x2ec7a3,_0x53035c){const _0x216722=_0x29b412;super(),this[_0x216722(0x158)]=_0xb6fa4f,this['_docSkeletonManagerService']=_0x577c32,this[_0x216722(0x21b)]=_0x12ed0c,this['_commandService']=_0x2ec7a3,this[_0x216722(0x33f)]=_0x53035c,_0x4878f2(this,_0x216722(0x392),[]),_0x4878f2(this,_0x216722(0x19d),[]),this['_init']();}['_init'](){const _0x3276eb=_0x29b412;let _0x967496=this[_0x3276eb(0x158)][_0x3276eb(0x378)],_0x5e1999=this['_docSkeletonManagerService'];this[_0x3276eb(0x434)]((0x0,_0x25f103[_0x3276eb(0x19c)])([this[_0x3276eb(0x21b)]['getCollabCursors$'](_0x967496),this[_0x3276eb(0x33f)][_0x3276eb(0x17c)]])[_0x3276eb(0x23c)]((0x0,_0x23c12b[_0x3276eb(0x403)])(([_0x3a07df,_0x588ddf])=>({'skeleton':_0x5e1999[_0x3276eb(0x219)](),'cursors':[..._0x3a07df['values']()][_0x3276eb(0x1c2)](_0x64ae73=>({..._0x64ae73,'color':this[_0x3276eb(0x33f)]['getColorFromTheme'](_0x64ae73[_0x3276eb(0x44c)])}))})))[_0x3276eb(0x2ca)](_0x223dac=>{const _0x121d33=_0x3276eb;if(this[_0x121d33(0x384)](),_0x223dac){let {skeleton:_0x215f8d,cursors:_0x58ec81}=_0x223dac;this[_0x121d33(0x192)](_0x215f8d,_0x58ec81);}})),this[_0x3276eb(0x1c9)](),this[_0x3276eb(0x390)]();}[_0x29b412(0x192)](_0x1139f4,_0x4eaa26){const _0x1dfdc3=_0x29b412;let {scene:_0x1153a5,mainComponent:_0x428efa}=this[_0x1dfdc3(0x158)];this[_0x1dfdc3(0x392)]=_0x4eaa26[_0x1dfdc3(0x403)](_0x338d8d=>new _0x3c104f(_0x338d8d,_0x1153a5,_0x1139f4,_0x428efa)),this[_0x1dfdc3(0x19d)]=_0x4eaa26;}[_0x29b412(0x222)](){const _0x50893a=_0x29b412;this[_0x50893a(0x384)]();let {scene:_0x17ba28,mainComponent:_0x9a0bea}=this[_0x50893a(0x158)],_0x5a023e=this[_0x50893a(0x2fd)][_0x50893a(0x219)]();this['_cursorShapes']=this[_0x50893a(0x19d)][_0x50893a(0x403)](_0x26d2ed=>new _0x3c104f(_0x26d2ed,_0x17ba28,_0x5a023e,_0x9a0bea));}[_0x29b412(0x384)](){const _0x54ec8e=_0x29b412;this[_0x54ec8e(0x392)][_0x54ec8e(0x312)](_0x111c54=>_0x111c54[_0x54ec8e(0x1e7)]()),this[_0x54ec8e(0x392)]=[];}[_0x29b412(0x390)](){const _0x1c2f27=_0x29b412;let _0x37de48=[_0xe88835[_0x1c2f27(0x3c8)]['id']];this[_0x1c2f27(0x434)](this[_0x1c2f27(0x1e4)]['onCommandExecuted'](_0x43efd4=>{const _0x9922ac=_0x1c2f27;_0x37de48['includes'](_0x43efd4['id'])&&_0x43efd4[_0x9922ac(0x431)][_0x9922ac(0x378)]===this['_context'][_0x9922ac(0x378)]&&this[_0x9922ac(0x222)]();}));}[_0x29b412(0x1c9)](){const _0x19184c=_0x29b412;this[_0x19184c(0x434)]((0x0,_0x1e96bc[_0x19184c(0x30d)])(this['_context'][_0x19184c(0x404)][_0x19184c(0x21a)])[_0x19184c(0x23c)]((0x0,_0x23c12b[_0x19184c(0x442)])(_0x1a163c=>_0x1a163c[_0x19184c(0x2f8)]===_0x42ac73[_0x19184c(0x43d)]['resize']),(0x0,_0x23c12b[_0x19184c(0x3b6)])(0x10))['subscribe'](()=>{const _0x44e63a=_0x19184c;this[_0x44e63a(0x222)]();}));}};_0x303d04=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3aacdf[_0x29b412(0x237)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,_0x1e96bc['ICommandService']),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x303d04);var _0x5a9d20=class extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x54cf87,_0x4b9cc0){const _0x22930c=_0x29b412;if(super(_0x54cf87,_0x4b9cc0),_0x4878f2(this,_0x22930c(0x328),void 0x0),_0x4878f2(this,_0x22930c(0x25d),!0x1),_0x4878f2(this,_0x22930c(0x40a),void 0x0),_0x4878f2(this,'_name',''),_0x4878f2(this,'_labelPosition',_0x22930c(0x3b9)),_0x4878f2(this,_0x22930c(0x315),void 0x0),_0x4878f2(this,'_showText',void 0x0),_0x4878f2(this,_0x22930c(0x3f7),void 0x0),_0x4878f2(this,_0x22930c(0x1fa),0x4),_0x4878f2(this,'_blinkTimer',void 0x0),_0x4878f2(this,_0x22930c(0x334),void 0x0),_0x4878f2(this,_0x22930c(0x206),!0x0),_0x4878f2(this,_0x22930c(0x205),0x0),_0x4b9cc0){var _0x26b316;if(this['setShapeProps'](_0x4b9cc0),_0x4b9cc0['highlight']&&((_0x26b316=_0x4b9cc0[_0x22930c(0x353)])==null?this[_0x22930c(0x1fa)]:_0x26b316)){var _0x24bf9e;this[_0x22930c(0x210)]((_0x24bf9e=_0x4b9cc0['highlightSecond'])==null?this[_0x22930c(0x1fa)]:_0x24bf9e);}}this['onPointerEnter$'][_0x22930c(0x31a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x22930c(0x254)][_0x22930c(0x31a)](()=>this[_0x22930c(0x1ad)]({'hovered':!0x1}));}['setOffsetY'](_0x3819ec){this['_offsetY']=_0x3819ec;}[_0x29b412(0x1ad)](_0x553c51){const _0x2f2d41=_0x29b412;var _0x54e9ad,_0x4f590e,_0x2588d4,_0x49801a,_0x3c3b02,_0x2fcedf,_0x23832b;this['_color']=(_0x54e9ad=_0x553c51['color'])==null?this[_0x2f2d41(0x328)]:_0x54e9ad,this[_0x2f2d41(0x25d)]=(_0x4f590e=_0x553c51['hovered'])==null?this[_0x2f2d41(0x25d)]:_0x4f590e,this['_range']=(_0x2588d4=_0x553c51[_0x2f2d41(0x233)])==null?this[_0x2f2d41(0x40a)]:_0x2588d4,this[_0x2f2d41(0x3ce)]=(_0x49801a=_0x553c51[_0x2f2d41(0x298)])==null?this[_0x2f2d41(0x3ce)]:_0x49801a,this[_0x2f2d41(0x241)]=(_0x3c3b02=_0x553c51[_0x2f2d41(0x22d)])==null?this[_0x2f2d41(0x241)]:_0x3c3b02,this[_0x2f2d41(0x315)]=(_0x2fcedf=_0x553c51[_0x2f2d41(0x266)])==null?this[_0x2f2d41(0x315)]:_0x2fcedf,this[_0x2f2d41(0x453)]=(_0x23832b=_0x553c51['showText'])==null?this[_0x2f2d41(0x453)]:_0x23832b,_0x553c51[_0x2f2d41(0x353)]!==void 0x0&&(this['_highlightSecond']=_0x553c51['highlightSecond']),_0x553c51[_0x2f2d41(0x224)]!==void 0x0&&(this[_0x2f2d41(0x3f7)]=_0x553c51[_0x2f2d41(0x224)]),_0x553c51[_0x2f2d41(0x198)]!==void 0x0&&(this[_0x2f2d41(0x205)]=_0x553c51[_0x2f2d41(0x198)]),this[_0x2f2d41(0x3bb)]({'width':_0x553c51[_0x2f2d41(0x2ae)],'height':_0x553c51[_0x2f2d41(0x31b)]});}[_0x29b412(0x27f)](_0x54a6e2){const _0x33dc15=_0x29b412;let {row:_0x5b847e,column:_0x3a136b}=_0x54a6e2;if(_0x5b847e>=this[_0x33dc15(0x40a)][_0x33dc15(0x387)]&&_0x5b847e<=this[_0x33dc15(0x40a)][_0x33dc15(0x380)]&&_0x3a136b>=this[_0x33dc15(0x40a)][_0x33dc15(0x247)]&&_0x3a136b<=this[_0x33dc15(0x40a)][_0x33dc15(0x42e)]){this[_0x33dc15(0x1ad)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29b412(0x210)](_0x5af236){const _0x45ba80=_0x29b412;this['_stopBlinking'](),this[_0x45ba80(0x206)]=!0x0,this['_blinkIntervalTimer']=window[_0x45ba80(0x19a)](()=>{const _0x35bf36=_0x45ba80;this[_0x35bf36(0x206)]=!this[_0x35bf36(0x206)],this[_0x35bf36(0x2f5)](!0x0);},0x1f4),this[_0x45ba80(0x410)]=window[_0x45ba80(0x20a)](()=>{const _0x34582d=_0x45ba80;this['_stopBlinking'](),this[_0x34582d(0x206)]=!0x0,this['makeDirty'](!0x0);},_0x5af236*0x3e8);}['_stopBlinking'](){const _0x14466e=_0x29b412;this[_0x14466e(0x334)]&&(window['clearInterval'](this[_0x14466e(0x334)]),this[_0x14466e(0x334)]=void 0x0),this[_0x14466e(0x410)]&&(window['clearTimeout'](this[_0x14466e(0x410)]),this[_0x14466e(0x410)]=void 0x0);}['triggerDblclick'](_0x27c910){return!0x1;}[_0x29b412(0x1e7)](){const _0x37abc2=_0x29b412;this[_0x37abc2(0x2cb)](),super[_0x37abc2(0x1e7)]();}[_0x29b412(0x2a8)](_0x7156f6){const _0x17cf1c=_0x29b412;var _0xfe7e54;let _0xedb8ef=this[_0x17cf1c(0x328)],_0x4d95ef=this['_backgroundColor'];if(this['_highlight']&&!this[_0x17cf1c(0x206)]&&(_0xedb8ef=this['_getLighterColor'](this[_0x17cf1c(0x328)]),_0x4d95ef=this[_0x17cf1c(0x315)]?this[_0x17cf1c(0x3d3)](this[_0x17cf1c(0x315)]):void 0x0),_0x42ac73['Rect'][_0x17cf1c(0x190)](_0x7156f6,{'width':this['width'],'height':this[_0x17cf1c(0x31b)],'strokeWidth':(_0xfe7e54=this[_0x17cf1c(0x29b)])==null?1.5:_0xfe7e54,'stroke':_0xedb8ef,'evented':!0x1,'fill':_0x4d95ef}),this[_0x17cf1c(0x25d)]||this[_0x17cf1c(0x453)]){var _0x4f7871;_0x7156f6[_0x17cf1c(0x166)](),_0x7156f6[_0x17cf1c(0x43b)](0x1,0x0,0x0,0x1,this[_0x17cf1c(0x2ae)],(this[_0x17cf1c(0x241)]===_0x17cf1c(0x1b8)?0x0:-0x14)+((_0x4f7871=this[_0x17cf1c(0x205)])==null?0x0:_0x4f7871)),_0x3fff7c['drawWith'](_0x7156f6,{'text':this[_0x17cf1c(0x3ce)],'color':_0xedb8ef}),_0x7156f6[_0x17cf1c(0x3c1)]();}}['_getLighterColor'](_0x5de18a){const _0x2fef3a=_0x29b412;return _0x5de18a['startsWith']('#')?_0x2fef3a(0x2cc)+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x5de18a['slice'](0x5,0x7),0x10)+_0x2fef3a(0x1fc):_0x5de18a[_0x2fef3a(0x220)]('rgba')?_0x5de18a['replace'](/[\d.]+\)$/g,'0.2)'):_0x5de18a[_0x2fef3a(0x220)](_0x2fef3a(0x3ee))?_0x5de18a['replace']('rgb','rgba')[_0x2fef3a(0x26c)](')',',\x200.2)'):_0x5de18a;}};let _0x1225ba=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x280019,_0x4ae9c4,_0x55a63c,_0x16abca){const _0x2b4a5d=_0x29b412;super(),this[_0x2b4a5d(0x158)]=_0x280019,this['_sheetSkeletonManagerService']=_0x4ae9c4,this[_0x2b4a5d(0x21b)]=_0x55a63c,this[_0x2b4a5d(0x33f)]=_0x16abca,_0x4878f2(this,_0x2b4a5d(0x19d),new Set()),_0x4878f2(this,_0x2b4a5d(0x2ed),null),this['_init']();}[_0x29b412(0x19b)](){const _0x37900=_0x29b412;this[_0x37900(0x452)][_0x37900(0x24e)][_0x37900(0x23c)]((0x0,_0x23c12b['takeUntil'])(this[_0x37900(0x165)]),(0x0,_0x23c12b['switchMap'])(_0x2441b7=>{const _0x2fbb15=_0x37900;if(_0x2441b7){let _0x2fab44=_0x2441b7['sheetId'];return(0x0,_0x25f103['combineLatest'])(this['_collabCursorController']['getCollabCursors$'](this[_0x2fbb15(0x158)][_0x2fbb15(0x378)]),this['_themeService'][_0x2fbb15(0x17c)])[_0x2fbb15(0x23c)]((0x0,_0x23c12b[_0x2fbb15(0x403)])(([_0x3ddb70,_0x507668])=>{const _0x3b9bcd=_0x2fbb15;let _0x10b45e=new Map();return _0x3ddb70[_0x3b9bcd(0x312)]((_0x354aab,_0x59ef74)=>{const _0x517c64=_0x3b9bcd;if(_0x354aab[_0x517c64(0x2d5)]===_0x2fab44){let _0x149bfb={..._0x354aab};_0x149bfb[_0x517c64(0x44c)]=this[_0x517c64(0x33f)][_0x517c64(0x3ea)](_0x354aab[_0x517c64(0x44c)]),_0x10b45e[_0x517c64(0x1dc)](_0x59ef74,_0x149bfb);}}),{'skeleton':_0x2441b7,'cursors':_0x10b45e};}));}return(0x0,_0x25f103['of'])({'skeleton':null,'cursors':new Map()});}))[_0x37900(0x2ca)](({skeleton:_0x4447d7,cursors:_0x33ce2d})=>{const _0x5f4f7e=_0x37900;this[_0x5f4f7e(0x384)](),_0x4447d7&&this[_0x5f4f7e(0x192)](_0x4447d7,_0x33ce2d);}),this['_sheetSkeletonManagerService'][_0x37900(0x24e)][_0x37900(0x2ca)](_0x38dd71=>{const _0x5cd98a=_0x37900;if(_0x38dd71==null)return;let {skeleton:_0x43a147}=_0x38dd71,{scene:_0x43804f}=this[_0x5cd98a(0x158)];_0x43804f[_0x5cd98a(0x273)]['subscribeEvent']((0x0,_0x1e96bc[_0x5cd98a(0x20e)])(_0x262c7e=>{const _0x57cf73=_0x5cd98a;var _0x3deace,_0x294928;let {offsetX:_0x16973e,offsetY:_0xac43df}=_0x262c7e,{x:_0x2829bc,y:_0x2fa77c}=_0x43804f[_0x57cf73(0x161)](_0x42ac73[_0x57cf73(0x441)][_0x57cf73(0x227)]([_0x16973e,_0xac43df])),{scaleX:_0x236199,scaleY:_0xb60ed7}=_0x43804f['getAncestorScale'](),_0x5a54d3=_0x43804f[_0x57cf73(0x2b2)](_0x42ac73[_0x57cf73(0x362)]['VIEW_MAIN']),_0x12d162=_0x43804f[_0x57cf73(0x262)](_0x42ac73[_0x57cf73(0x441)]['FromArray']([_0x2829bc,_0x2fa77c]),_0x5a54d3),_0xee2662=_0x43a147['getCellPositionByOffset'](_0x16973e,_0xac43df,_0x236199,_0xb60ed7,_0x12d162);((_0x3deace=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x3deace[_0x57cf73(0x41a)])===_0xee2662[_0x57cf73(0x41a)]&&((_0x294928=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x294928[_0x57cf73(0x2b7)])===_0xee2662['row']||this[_0x57cf73(0x19d)][_0x57cf73(0x312)](_0x5f1fae=>{_0x5f1fae['onMouseMove'](_0xee2662);});},0x64));});}[_0x29b412(0x192)](_0x252bf9,_0x5f50ef){const _0x2d9b77=_0x29b412;var _0x275c2c;let _0x24fa72=(_0x275c2c=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x275c2c[_0x2d9b77(0x3ff)];if(!_0x24fa72)return;let _0x831d1=this['_getSheetObject']();if(!_0x831d1)return;this['_cursors']['forEach'](_0x123c77=>{const _0x4129e6=_0x2d9b77;_0x123c77[_0x4129e6(0x2f5)]();});let {scene:_0x16c8cf}=_0x831d1,_0x11b7e1=_0x34efc9(Array[_0x2d9b77(0x30c)](_0x5f50ef[_0x2d9b77(0x253)]()))[_0x2d9b77(0x403)](_0x19ba63=>{const _0x4637d6=_0x2d9b77;let {color:_0xde619e,range:_0x4dd6ad,name:_0x5eef21,selection:_0xd3dbe,sheetID:_0x1b1941}=_0x19ba63,{startColumn:_0x44eec1,startRow:_0xbffd5f,endColumn:_0x140010,endRow:_0x3c7efe}=_0x4dd6ad,_0x3ae7c4=(0x0,_0x1827e1['getCoordByCell'])(_0xbffd5f,_0x44eec1,_0x16c8cf,_0x24fa72),_0x4dae7f=(0x0,_0x1827e1[_0x4637d6(0x34a)])(_0x3c7efe,_0x140010,_0x16c8cf,_0x24fa72),{columnHeaderHeightAndMarginTop:_0x40eb52}=_0x24fa72,{startX:_0x3e8f09,startY:_0x37bf29}=_0x3ae7c4,{endX:_0x25fe8f,endY:_0x55bc3e}=_0x4dae7f,_0x234012=_0x25fe8f-_0x3e8f09,_0x3c8f6a=_0x55bc3e-_0x37bf29;return new _0x5a9d20(_0x5eef21,{'labelPosition':_0x37bf29-_0x40eb52>=0x14?_0x4637d6(0x3b9):_0x4637d6(0x1b8),'sheetID':_0x1b1941,'range':_0x4dd6ad,'color':_0xde619e,'name':_0x5eef21,'selection':_0xd3dbe,'left':_0x3e8f09,'top':_0x37bf29,'width':_0x234012,'height':_0x3c8f6a,'evented':!0x1,'zIndex':0x1389});});_0x16c8cf[_0x2d9b77(0x39a)](_0x11b7e1,0x1),this[_0x2d9b77(0x19d)]=new Set(_0x11b7e1);}[_0x29b412(0x384)](){const _0xf87dd5=_0x29b412;var _0x502ba0;(_0x502ba0=this[_0xf87dd5(0x19d)])==null||_0x502ba0['forEach'](_0x5dee53=>_0x5dee53[_0xf87dd5(0x1e7)]());}[_0x29b412(0x307)](){const _0x3b629f=_0x29b412;return(0x0,_0x1827e1[_0x3b629f(0x437)])(this[_0x3b629f(0x158)][_0x3b629f(0x1bf)],this[_0x3b629f(0x158)]);}};_0x1225ba=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1827e1['SheetSkeletonManagerService'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x1225ba);function _0x34efc9(_0x5c2079){const _0x44f221=_0x29b412;let _0x3d0516=new Map();return _0x5c2079[_0x44f221(0x312)](_0x52cb44=>{const _0x1598de=_0x44f221;if(_0x3d0516['has'](_0x52cb44['selection'])){let _0x566fa6=_0x3d0516[_0x1598de(0x17b)](_0x52cb44[_0x1598de(0x1bc)]);_0x566fa6[_0x1598de(0x298)]+=',\x20'+_0x52cb44['name'];}else _0x3d0516[_0x1598de(0x1dc)](_0x52cb44[_0x1598de(0x1bc)],_0x52cb44);}),Array['from'](_0x3d0516[_0x44f221(0x253)]());}let _0x3bab23=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1f67b1,_0x3b2395,_0x50ee3d,_0x23a2ce,_0x53fcdd,_0x768d2e){const _0x1f4954=_0x29b412;super(),this[_0x1f4954(0x1f4)]=_0x1f67b1,this['_localCacheService']=_0x3b2395,this[_0x1f4954(0x316)]=_0x50ee3d,this['_messageService']=_0x23a2ce,this[_0x1f4954(0x173)]=_0x53fcdd,this[_0x1f4954(0x382)]=_0x768d2e,this[_0x1f4954(0x36d)](),this[_0x1f4954(0x204)]();}[_0x29b412(0x36d)](){const _0x55a557=_0x29b412;this['disposeWithMe'](this[_0x55a557(0x1f4)]['registerBeforeClose'](()=>{const _0xa6e3b2=_0x55a557;if(this[_0xa6e3b2(0x3fd)][_0xa6e3b2(0x425)][_0xa6e3b2(0x2e1)])return this[_0xa6e3b2(0x382)]['t'](_0xa6e3b2(0x448));}));}[_0x29b412(0x204)](){const _0x2137d4=_0x29b412;this[_0x2137d4(0x434)](this[_0x2137d4(0x316)][_0x2137d4(0x420)][_0x2137d4(0x2ca)](_0x56320e=>{const _0x2ed3c6=_0x2137d4;_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x218)]&&this['_messageService'][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)]['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CLOSE_ROOM']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x459)]&&this[_0x2ed3c6(0x173)][_0x2ed3c6(0x450)]({'title':this['_localeService']['t'](_0x2ed3c6(0x288)),'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x1e6)),'type':_0x2ed3c6(0x1cf),'duration':0x0}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CONFLICT']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))+'('+_0x56320e[_0x2ed3c6(0x2c4)]+')'}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x3a3)]&&this[_0x2ed3c6(0x2d3)]['show']({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x56320e['data']||'')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x42f)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this['_localeService']['t'](_0x2ed3c6(0x3ab))}),_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x1d6)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x2d7))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x215)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x3cf))});}));}};_0x3bab23=_0x1c9c51([_0x19fee6(0x0,_0x163a5f['IBeforeCloseService']),_0x19fee6(0x1,_0x18e88d[_0x29b412(0x2ec)]),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x18e88d[_0x29b412(0x375)])),_0x19fee6(0x3,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x4,_0x163a5f['INotificationService']),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0x3bab23);let _0x2eef91=_0x29b412(0x2b3);Symbol(_0x2eef91);let _0x26ee57={},_0x548b99=class{constructor(_0x5c0f6f,_0x4c0c18){const _0x206685=_0x29b412;this[_0x206685(0x446)]=_0x5c0f6f,this[_0x206685(0x16e)]=_0x4c0c18;}['transformIMECache'](_0x3f3774){this['_transformUndoRedoStack'](_0x3f3774),this['_transformPreviousActiveRange'](_0x3f3774);}['transformRemoteChangeset'](_0x3557f2){const _0x1756aa=_0x29b412;let {unitID:_0x4982c8}=_0x3557f2,{redoCache:_0xd45036}=this[_0x1756aa(0x16e)][_0x1756aa(0x156)](_0x4982c8)[_0x1756aa(0x3a6)](_0xe88835['DocIMEInputManagerService'])[_0x1756aa(0x367)]();if(_0xd45036['length']===0x0)return _0x3557f2;let _0x5b2a8c=_0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2[_0x1756aa(0x260)][0x0]);for(let _0x464598=0x0;_0x464598<_0xd45036['length'];_0x464598++){let _0x1ab2a4={'id':'doc.mutation.rich-text-editing','params':{..._0xd45036[_0x464598]}},_0x107ece=this[_0x1756aa(0x446)][_0x1756aa(0x255)](_0x5b2a8c,_0x1ab2a4,!0x1);if((0x0,_0x55fb1d[_0x1756aa(0x2ea)])(_0x107ece))throw _0x107ece['error'];_0x5b2a8c=_0x107ece[_0x1756aa(0x296)];}return{..._0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2),'mutations':[_0x5b2a8c]};}[_0x29b412(0x194)](_0xcd52f){const _0x43842e=_0x29b412;let {unitID:_0x300dd2}=_0xcd52f,_0x522986=this[_0x43842e(0x16e)][_0x43842e(0x156)](_0x300dd2)['with'](_0xe88835[_0x43842e(0x313)]),{undoCache:_0x35139b,redoCache:_0x5e045e}=_0x522986[_0x43842e(0x367)]();if(_0x35139b[_0x43842e(0x1b7)]===0x0||_0x5e045e[_0x43842e(0x1b7)]===0x0)return;let _0x21a3c1=[],_0x36bb23=[],_0x28cc20=_0x1e96bc['Tools'][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]),_0x3cd184=_0x1e96bc[_0x43842e(0x287)][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]);for(let _0x593943=_0x35139b[_0x43842e(0x1b7)]-0x1;_0x593943>=0x0;_0x593943--){let _0x389f50={'id':_0x43842e(0x3ac),'params':{..._0x35139b[_0x593943]}},_0xdff7fa={'id':_0x43842e(0x3ac),'params':{..._0x5e045e[_0x593943]}},_0x2eebe5=this[_0x43842e(0x446)]['transformMutation'](_0x28cc20,_0x389f50,!0x1),_0x141a86=this[_0x43842e(0x446)][_0x43842e(0x255)](_0x3cd184,_0xdff7fa,!0x1);if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x2eebe5))throw _0x2eebe5['error'];if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x141a86))throw _0x141a86[_0x43842e(0x1cf)];_0x21a3c1[_0x43842e(0x2e5)](_0x2eebe5[_0x43842e(0x447)][_0x43842e(0x431)]),_0x36bb23[_0x43842e(0x2e5)](_0x141a86['m2Prime'][_0x43842e(0x431)]),_0x28cc20=_0x2eebe5[_0x43842e(0x296)],_0x3cd184=_0x141a86[_0x43842e(0x296)];}_0x522986[_0x43842e(0x1ea)]({'undoCache':_0x21a3c1,'redoCache':_0x36bb23});}[_0x29b412(0x2e2)](_0x374880){const _0xc91c10=_0x29b412;let {unitID:_0x5db3ef}=_0x374880,_0x6c6cea=this[_0xc91c10(0x16e)]['getRenderById'](_0x5db3ef)[_0xc91c10(0x3a6)](_0xe88835['DocIMEInputManagerService']),_0xd1974e=_0x6c6cea[_0xc91c10(0x3da)]();if(_0xd1974e==null)return;let _0x219571=[{'id':_0xc91c10(0x3ac),'params':{'unitId':_0x374880[_0xc91c10(0x180)],'actions':null,'textRanges':[_0xd1974e]}}],_0xee3601=this[_0xc91c10(0x446)][_0xc91c10(0x39e)](_0x374880,_0x219571);if(!(0x0,_0x55fb1d[_0xc91c10(0x3be)])(_0xee3601))throw _0xee3601[_0xc91c10(0x1cf)];let _0x1802f0=_0xee3601[_0xc91c10(0x447)][0x0][_0xc91c10(0x431)][_0xc91c10(0x3f9)];Array['isArray'](_0x1802f0)&&_0x1802f0[_0xc91c10(0x1b7)]&&_0x6c6cea[_0xc91c10(0x22c)](_0x1802f0[0x0]);}};_0x548b99=_0x1c9c51([_0x19fee6(0x0,_0x55fb1d['ITransformService']),_0x19fee6(0x1,_0x42ac73['IRenderManagerService'])],_0x548b99);let _0x164d7f=class{constructor(_0x53301a,_0x3d105d,_0x2557eb){const _0x4b46dc=_0x29b412;this[_0x4b46dc(0x21f)]=_0x53301a,this[_0x4b46dc(0x446)]=_0x3d105d,this['_docStateChangeManagerService']=_0x2557eb;}[_0x29b412(0x189)](_0x1a32d8){const _0x178831=_0x29b412;this[_0x178831(0x3aa)](_0x1a32d8);}[_0x29b412(0x244)](_0x19a8e4){const _0x2b34a3=_0x29b412;let {unitID:_0x37b09b}=_0x19a8e4,{collaboration:_0x41487d}=this[_0x2b34a3(0x33c)][_0x2b34a3(0x39d)](_0x37b09b);if(_0x41487d[_0x2b34a3(0x1b7)]===0x0)return _0x19a8e4;let _0x429cf7=_0x1e96bc[_0x2b34a3(0x287)][_0x2b34a3(0x3a1)](_0x19a8e4[_0x2b34a3(0x260)][0x0]);for(let _0x127a18=0x0;_0x127a18<_0x41487d[_0x2b34a3(0x1b7)];_0x127a18++){let _0x40e553={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41487d[_0x127a18][_0x2b34a3(0x378)],..._0x41487d[_0x127a18][_0x2b34a3(0x274)]}},_0x48279a=this[_0x2b34a3(0x446)][_0x2b34a3(0x255)](_0x429cf7,_0x40e553,!0x1);if((0x0,_0x55fb1d['isTransformMutationFailure'])(_0x48279a))throw _0x48279a['error'];_0x429cf7=_0x48279a[_0x2b34a3(0x296)];}return{..._0x1e96bc[_0x2b34a3(0x287)]['deepClone'](_0x19a8e4),'mutations':[_0x429cf7]};}[_0x29b412(0x3aa)](_0x58de53){const _0x3c6e61=_0x29b412;let {unitID:_0x42f58e}=_0x58de53,{history:_0x2e3dcc,collaboration:_0x2080f5}=this[_0x3c6e61(0x33c)][_0x3c6e61(0x39d)](_0x42f58e);if(_0x2e3dcc['length']===0x0&&_0x2080f5['length']===0x0)return;let _0x57d63f=[],_0x11f026=[],_0x4708c0=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]),_0x72e56=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x2df32e=_0x2e3dcc['length']-0x1;_0x2df32e>=0x0;_0x2df32e--){let _0x261747={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x34d)]}},_0x5a129b={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x274)]}},_0x8fe57c=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x4708c0,_0x261747,!0x1),_0x5a0ce1=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x72e56,_0x5a129b,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x8fe57c))throw _0x8fe57c['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x5a0ce1))throw _0x5a0ce1[_0x3c6e61(0x1cf)];_0x57d63f[_0x3c6e61(0x2e5)]({..._0x2e3dcc[_0x2df32e],'undoState':_0x8fe57c['m2Prime'][_0x3c6e61(0x431)],'redoState':_0x5a0ce1[_0x3c6e61(0x447)][_0x3c6e61(0x431)]}),_0x4708c0=_0x8fe57c[_0x3c6e61(0x296)],_0x72e56=_0x5a0ce1[_0x3c6e61(0x296)];}_0x4708c0=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53['mutations'][0x0]),_0x72e56=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x373075=_0x2080f5[_0x3c6e61(0x1b7)]-0x1;_0x373075>=0x0;_0x373075--){let _0x354494={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x34d)]}},_0x3de5c4={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x274)]}},_0x1ee72a=this['_transformService'][_0x3c6e61(0x255)](_0x4708c0,_0x354494,!0x1),_0x3c54d5=this['_transformService'][_0x3c6e61(0x255)](_0x72e56,_0x3de5c4,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x1ee72a))throw _0x1ee72a['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x3c54d5))throw _0x3c54d5['error'];_0x11f026[_0x3c6e61(0x2e5)]({..._0x2080f5[_0x373075],'undoState':_0x1ee72a[_0x3c6e61(0x447)][_0x3c6e61(0x431)],'redoState':_0x3c54d5['m2Prime'][_0x3c6e61(0x431)]}),_0x4708c0=_0x1ee72a[_0x3c6e61(0x296)],_0x72e56=_0x3c54d5[_0x3c6e61(0x296)];}this[_0x3c6e61(0x33c)][_0x3c6e61(0x2a1)](_0x42f58e,{'history':_0x57d63f,'collaboration':_0x11f026});}};_0x164d7f=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe88835[_0x29b412(0x343)]))],_0x164d7f);let _0x12c66b=class{constructor(_0x59aac9,_0x35b233){this['_injector']=_0x59aac9,this['_transformService']=_0x35b233;}[_0x29b412(0x157)](_0xc2d487){const _0x224304=_0x29b412;var _0x46cedf;let _0x3a1b48=this[_0x224304(0x21f)]['get'](_0x3aacdf[_0x224304(0x3d8)]),_0x4f801a=(_0x46cedf=_0x3a1b48['getDocRanges']())==null?[]:_0x46cedf;if(_0x4f801a['length']===0x0)return;let _0x17d2a2=_0xc2d487['unitID'],_0x4748c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17d2a2,'actions':null,'textRanges':_0x4f801a}}],_0x731f18=this['_transformService'][_0x224304(0x39e)](_0xc2d487,_0x4748c0);if(!(0x0,_0x55fb1d['isTransformMutationsWithChangesetSuccess'])(_0x731f18))throw _0x731f18[_0x224304(0x1cf)];let _0x2ccf82=_0x731f18[_0x224304(0x447)][0x0]['params']['textRanges'];Array[_0x224304(0x41c)](_0x2ccf82)&&_0x2ccf82[_0x224304(0x1b7)]&&_0x3a1b48[_0x224304(0x185)](_0x2ccf82,{'unitId':_0x17d2a2,'subUnitId':_0x17d2a2},!0x1);}};_0x12c66b=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)])],_0x12c66b);let _0xfbf66=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1a1108,_0x19c535,_0x7d0ae,_0x2d5a7a,_0x2acf7f,_0x253193,_0x95f8e3,_0x5486d7){const _0x4b8c70=_0x29b412;super(),this[_0x4b8c70(0x33c)]=_0x1a1108,this[_0x4b8c70(0x27e)]=_0x19c535,this['_docTransformIMECacheService']=_0x7d0ae,this[_0x4b8c70(0x275)]=_0x2d5a7a,this[_0x4b8c70(0x28c)]=_0x2acf7f,this['_docSyncEditingCollabCursorService']=_0x253193,this['_messageService']=_0x95f8e3,this[_0x4b8c70(0x382)]=_0x5486d7,_0x4878f2(this,_0x4b8c70(0x1f6),new _0x25f103[(_0x4b8c70(0x177))](_0x18e88d[_0x4b8c70(0x22f)][_0x4b8c70(0x19f)])),this[_0x4b8c70(0x228)]();}[_0x29b412(0x228)](){const _0x453f06=_0x29b412;this[_0x453f06(0x434)](this[_0x453f06(0x27e)][_0x453f06(0x1bb)]['subscribe'](_0x2b8c18=>{const _0x492894=_0x453f06;let _0x384535=this[_0x492894(0x33c)][_0x492894(0x1ac)][_0x492894(0x2ca)](_0x3a5f9d=>{const _0x3d25f1=_0x492894;if(_0x3a5f9d==null)return;let {unitId:_0x52640f,redoState:_0x55d963,commandId:_0x26572d}=_0x3a5f9d;if(_0x52640f!==_0x2b8c18[_0x3d25f1(0x180)])return;let _0x5052ef={'id':_0x26572d,'type':_0x1e96bc[_0x3d25f1(0x2a7)][_0x3d25f1(0x44d)],'params':{'unitId':_0x52640f,'actions':_0x55d963[_0x3d25f1(0x376)],'textRanges':null}};_0x2b8c18[_0x3d25f1(0x428)](_0x5052ef);});_0x2b8c18['disposeWithMe'](_0x384535),_0x2b8c18 instanceof _0x18e88d[_0x492894(0x2ab)]&&_0x2b8c18[_0x492894(0x15a)]({'onTransformIME':_0x31a927=>this['_docTransformIMECacheService'][_0x492894(0x264)](_0x31a927),'onTransformState':_0x1dc330=>this[_0x492894(0x275)][_0x492894(0x189)](_0x1dc330),'onTransformSelections':_0x1a5a9a=>this[_0x492894(0x28c)][_0x492894(0x157)](_0x1a5a9a),'onSyncEditingCollabCursor':_0x3d86bf=>this[_0x492894(0x333)][_0x492894(0x30e)](_0x3d86bf),'onTransformRemoteChangesetByIMECache':_0x32589b=>this[_0x492894(0x37c)][_0x492894(0x244)](_0x32589b),'onTransformRemoteChangesetByStateCache':_0x589e44=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x589e44)});}));}};_0xfbf66=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0xe88835[_0x29b412(0x343)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['CollaborationController'])),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x548b99)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x164d7f)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x12c66b)),_0x19fee6(0x5,(0x0,_0x1e96bc['Inject'])(_0x54c1c7)),_0x19fee6(0x6,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0xfbf66);let _0x50b38e=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x524dfd,_0x933d4f,_0x5a0fc0,_0x544a99){const _0x3d9e12=_0x29b412;super(),this['_injector']=_0x524dfd,this[_0x3d9e12(0x20f)]=_0x933d4f,this[_0x3d9e12(0x3d0)]=_0x5a0fc0,this[_0x3d9e12(0x318)]=_0x544a99,_0x4878f2(this,_0x3d9e12(0x458),void 0x0),this[_0x3d9e12(0x19b)]();}[_0x29b412(0x19b)](){const _0x4d819b=_0x29b412;this[_0x4d819b(0x2a0)](),this[_0x4d819b(0x359)](),this[_0x4d819b(0x19e)](),this['_initUserListener']();}[_0x29b412(0x418)](){const _0x59f18a=_0x29b412;this['disposeWithMe'](this[_0x59f18a(0x318)]['socket$'][_0x59f18a(0x2ca)](_0xdd83e7=>{const _0x5d2f96=_0x59f18a;this[_0x5d2f96(0x458)]=_0xdd83e7==null?void 0x0:_0xdd83e7['memberID'];}));}[_0x29b412(0x2a0)](){const _0x5681de=_0x29b412;let _0x4569b9=_0x3d7c0e=>{const _0x5f2397=_0x1f09;var _0x2803cf;this[_0x5f2397(0x3d4)](_0x5f2397(0x1cf),_0x5f2397(0x24b)+_0x3d7c0e[_0x5f2397(0x217)]+'\x20at\x20'+_0x3d7c0e[_0x5f2397(0x440)]+':'+_0x3d7c0e['lineno']+':'+_0x3d7c0e['colno']+'\x0a'+(((_0x2803cf=_0x3d7c0e[_0x5f2397(0x1cf)])==null?void 0x0:_0x2803cf[_0x5f2397(0x360)])||''));};window[_0x5681de(0x234)](_0x5681de(0x1cf),_0x4569b9),this[_0x5681de(0x434)](()=>{const _0x489062=_0x5681de;window[_0x489062(0x154)](_0x489062(0x1cf),_0x4569b9);});}[_0x29b412(0x359)](){const _0x52fbff=_0x29b412;let _0xc272d1=_0x10ea62=>{const _0x39bb71=_0x1f09;this['_uploadLog'](_0x39bb71(0x1cf),_0x39bb71(0x3f1)+_0x10ea62[_0x39bb71(0x286)]);};window[_0x52fbff(0x234)]('unhandledrejection',_0xc272d1),this[_0x52fbff(0x434)](()=>{const _0x214f15=_0x52fbff;window[_0x214f15(0x154)](_0x214f15(0x2fa),_0xc272d1);});}[_0x29b412(0x19e)](){const _0x27b805=_0x29b412;let _0x1d6a12=this[_0x27b805(0x3d0)][_0x27b805(0x1cf)][_0x27b805(0x2fb)](this[_0x27b805(0x3d0)]);this[_0x27b805(0x3d0)][_0x27b805(0x1cf)]=(..._0x15125c)=>{const _0x19be7d=_0x27b805;let _0x1e75a4=_0x15125c[_0x19be7d(0x403)](_0x4ae5e9=>_0x4ae5e9 instanceof Error?_0x4ae5e9[_0x19be7d(0x217)]+'\x0a'+_0x4ae5e9['stack']:String(_0x4ae5e9))[_0x19be7d(0x15c)]('\x20');this['_uploadLog'](_0x19be7d(0x1cf),_0x19be7d(0x2dc)+_0x1e75a4),_0x1d6a12(..._0x15125c);},this[_0x27b805(0x434)](()=>{this['_logService']['error']=_0x1d6a12;});}[_0x29b412(0x3d4)](_0x291f91,_0x1d6558){const _0x3e150d=_0x29b412;try{let _0x15f7fb={'userId':this[_0x3e150d(0x458)],'logLabel':_0x291f91,'content':_0x1d6558};this[_0x3e150d(0x20f)][_0x3e150d(0x1a4)](_0x3e150d(0x300),{'body':_0x15f7fb})[_0x3e150d(0x3cd)](()=>{});}catch{}}};_0x50b38e=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['ILogService']),_0x19fee6(0x3,(0x0,_0x1e96bc['Inject'])(_0x18e88d['CollaborationSessionService']))],_0x50b38e);let _0x3beb10=function(_0x36bfcf){const _0x3efb7f=_0x29b412;return _0x36bfcf[_0x36bfcf['UNDEFINED']=0x0]=_0x3efb7f(0x203),_0x36bfcf[_0x36bfcf['OK']=0x1]='OK',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d2)]=0x2]=_0x3efb7f(0x1d2),_0x36bfcf[_0x36bfcf['PERMISSION_DENIED']=0x3]=_0x3efb7f(0x459),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3f3)]=0x4]=_0x3efb7f(0x3f3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x39b)]=0x5]=_0x3efb7f(0x39b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2da)]=0x6]=_0x3efb7f(0x2da),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x388)]=0x7]='INVALID_ARGUMENT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x398)]=0x8]=_0x3efb7f(0x398),_0x36bfcf[_0x36bfcf['COMPLETION_FINISHED']=0x9]=_0x3efb7f(0x36a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x32b)]=0xa]='LOGIN_FAILED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x379)]=0xb]=_0x3efb7f(0x379),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1cc)]=0xc]=_0x3efb7f(0x1cc),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x439)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x443)]=0xe]=_0x3efb7f(0x443),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1e8)]=0xf]=_0x3efb7f(0x1e8),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x44f)]=0x10]=_0x3efb7f(0x44f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x214)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x31e)]=0x65]='ERROR_AGAIN',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1a7)]=0xc9]=_0x3efb7f(0x1a7),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x25a)]=0xca]=_0x3efb7f(0x25a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x248)]=0x1389]=_0x3efb7f(0x248),_0x36bfcf[_0x36bfcf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3efb7f(0x259),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x38d)]=0x1772]=_0x3efb7f(0x38d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x36bfcf[_0x36bfcf['APPLY_REJECT']=0x1b59]=_0x3efb7f(0x271),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d0)]=0x1b5a]=_0x3efb7f(0x1d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2c1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e8)]=0x1b5c]=_0x3efb7f(0x2e8),_0x36bfcf[_0x36bfcf['APPLY_DUPLICATED']=0x1b5d]=_0x3efb7f(0x2b8),_0x36bfcf[_0x36bfcf['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x36bfcf[_0x36bfcf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3efb7f(0x372),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x16c)]=0x232a]=_0x3efb7f(0x16c),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3cc)]=0x232b]=_0x3efb7f(0x3cc),_0x36bfcf[_0x36bfcf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3efb7f(0x40b),_0x36bfcf[_0x36bfcf['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3c3)]=0x2711]=_0x3efb7f(0x3c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2d0)]=0x2712]=_0x3efb7f(0x2d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3a7)]=0x2713]=_0x3efb7f(0x3a7),_0x36bfcf[_0x36bfcf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3efb7f(0x366),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x29a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35d)]=0x271b]=_0x3efb7f(0x35d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x27c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x36bfcf[_0x36bfcf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3efb7f(0x1e1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x250)]=0x271e]=_0x3efb7f(0x250),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d5)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x36bfcf[_0x36bfcf['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3efb7f(0x225),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x423)]=0x2af9]=_0x3efb7f(0x423),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x37b)]=0x2ee1]=_0x3efb7f(0x37b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2a6)]=0x2ee2]='INVALID_INVITE_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1eb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x290)]=0x2ee4]=_0x3efb7f(0x290),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x207)]=0x2ee5]=_0x3efb7f(0x207),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x183)]=0x32c9]=_0x3efb7f(0x183),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x466)]=0x32ca]=_0x3efb7f(0x466),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x30a)]=0x32cb]=_0x3efb7f(0x30a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x389)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x36bfcf[_0x36bfcf['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x191)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x34b)]=0x36b4]=_0x3efb7f(0x34b),_0x36bfcf[_0x36bfcf['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f2)]=0x36b6]=_0x3efb7f(0x2f2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x235)]=0x36b7]=_0x3efb7f(0x235),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e4)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x36bfcf[_0x36bfcf['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3efb7f(0x1c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d1)]=0x3716]=_0x3efb7f(0x3d1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x415)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d2)]=0x37dd]=_0x3efb7f(0x3d2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x15f)]=0x3a99]=_0x3efb7f(0x15f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x413)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e1)]=0x3a9b]=_0x3efb7f(0x3e1),_0x36bfcf[_0x36bfcf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3efb7f(0x464),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f6)]=0x3a9d]=_0x3efb7f(0x2f6),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35f)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x17a)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x276)]=0x3e81]=_0x3efb7f(0x276),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x182)]=-0x1]=_0x3efb7f(0x182),_0x36bfcf;}({});function _0x2a8cbb(_0x178484){const _0x2d5bf4=_0x29b412;var _0xbccdf3,_0x4d83e3;let _0x1620e6=(_0xbccdf3=_0x178484[_0x2d5bf4(0x41f)])==null?void 0x0:_0xbccdf3[_0x2d5bf4(0x3b5)],_0x5a9676=((_0x4d83e3=_0x178484['stageInfo'])==null?void 0x0:_0x4d83e3[_0x2d5bf4(0x41d)])||0x0;return _0x1620e6===_0x3b565c[_0x2d5bf4(0x36f)][_0x2d5bf4(0x1c1)]&&_0x5a9676>0x0;}function _0x474789(_0x5a38cb){const _0x5d21aa=_0x29b412;return _0x5a38cb[_0x5d21aa(0x15b)]===_0x3b565c[_0x5d21aa(0x397)][_0x5d21aa(0x332)];}let _0x1e5951=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x21e94d,_0x46ea4c,_0x24baf4,_0x3bb4c0,_0x378ea8,_0xed9cc1,_0xc30640){const _0x269f35=_0x29b412;super(),this[_0x269f35(0x2d3)]=_0x21e94d,this[_0x269f35(0x1e4)]=_0x46ea4c,this['_configService']=_0x24baf4,this[_0x269f35(0x20f)]=_0x3bb4c0,this[_0x269f35(0x2d1)]=_0x378ea8,this[_0x269f35(0x3d0)]=_0xed9cc1,this[_0x269f35(0x382)]=_0xc30640,_0x4878f2(this,_0x269f35(0x230),null),_0x4878f2(this,_0x269f35(0x16a),0x0),_0x4878f2(this,'_currentUsage',0x0),_0x4878f2(this,_0x269f35(0x3a2),[]),_0x4878f2(this,_0x269f35(0x23b),0x0),this[_0x269f35(0x1ab)]();}[_0x29b412(0x1ab)](){const _0x487dc1=_0x29b412;this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)]['beforeCommandExecuted']((_0x488243,_0x1b1733)=>{const _0x546342=_0x487dc1;var _0x457cb8;if(_0x488243['id']!==_0x3b565c[_0x546342(0x18e)]['id'])return;let _0x4f6d0d=_0x488243[_0x546342(0x431)];if(this[_0x546342(0x258)]((_0x457cb8=_0x4f6d0d[_0x546342(0x2b6)])==null?[]:_0x457cb8)&&!this[_0x546342(0x246)]())throw this['_checkAndWaitForCalculationPermission'](_0x488243,_0x1b1733),this[_0x546342(0x2f4)](),new _0x1e96bc[(_0x546342(0x15e))]();})),this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)][_0x487dc1(0x2d9)]((_0x1c71b4,_0x215427)=>{const _0x11be81=_0x487dc1;if(_0x1c71b4['id']!==_0x3b565c[_0x11be81(0x186)]['id'])return;let _0x148593=_0x1c71b4[_0x11be81(0x431)];if(_0x2a8cbb(_0x148593)){let _0x32f570=(0x0,_0x1e96bc[_0x11be81(0x1f9)])();this['_taskIds']['push'](_0x32f570),this[_0x11be81(0x2c9)](_0x32f570);}else{if(_0x474789(_0x148593)&&this[_0x11be81(0x3a2)][_0x11be81(0x1b7)]>0x0){let _0x59e017=this[_0x11be81(0x3a2)][_0x11be81(0x3ae)]();this[_0x11be81(0x3c0)](_0x59e017);}}}));}[_0x29b412(0x1e7)](){const _0x37d2e0=_0x29b412;super[_0x37d2e0(0x1e7)](),this[_0x37d2e0(0x42d)](),this[_0x37d2e0(0x3a2)]=[],this[_0x37d2e0(0x26d)]=0x0,this[_0x37d2e0(0x16a)]=0x0,this[_0x37d2e0(0x23b)]=0x0;}async[_0x29b412(0x2a4)](_0x308e3f,_0x1b71b9){const _0x561cb9=_0x29b412;for(let _0x2c27e8=0x0;_0x2c27e8<0x1e;_0x2c27e8++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x308e3f,_0x1b71b9),this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t']('formula.calculation.started'),'type':_0x12bd8e[_0x561cb9(0x1b2)][_0x561cb9(0x26f)]});return;}await new Promise(_0x55d594=>{const _0x31137e=_0x561cb9;this[_0x31137e(0x230)]=window[_0x31137e(0x20a)](_0x55d594,0x3e8);});}catch(_0x4f166d){this[_0x561cb9(0x3d0)][_0x561cb9(0x1cf)](_0x4f166d);}this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t'](_0x561cb9(0x365)),'type':_0x12bd8e['MessageType'][_0x561cb9(0x369)]});}[_0x29b412(0x45b)](_0x319631,_0x498612){const _0x3c3957=_0x29b412;try{this['_commandService'][_0x3c3957(0x358)](_0x319631['id'],_0x319631[_0x3c3957(0x431)],_0x498612);}catch(_0x37c4c4){this[_0x3c3957(0x3d0)][_0x3c3957(0x1cf)](_0x37c4c4);}}[_0x29b412(0x23d)](_0x3fd9af,_0xf03def){const _0x37d609=_0x29b412;_0xf03def<this[_0x37d609(0x23b)]||(this[_0x37d609(0x23b)]=_0xf03def,this[_0x37d609(0x16a)]=Number[_0x37d609(0x391)](_0x3fd9af['maxFormulaLimit']),this[_0x37d609(0x26d)]=Number[_0x37d609(0x391)](_0x3fd9af['currentUsage']));}async[_0x29b412(0x2c9)](_0x46a356){const _0x535b68=_0x29b412;let _0x34b40f=Date['now']();try{var _0x3cef6d,_0x4a040d;let _0x2b6157=((_0x3cef6d=this['_configService'][_0x535b68(0x1f5)](_0x18e88d[_0x535b68(0x342)]))==null?void 0x0:_0x3cef6d[_0x535b68(0x1c4)])||_0x535b68(0x3af),_0x1b0210=(await this[_0x535b68(0x20f)][_0x535b68(0x1a4)](_0x2b6157,{'body':JSON['stringify']({'taskId':_0x46a356})}))[_0x535b68(0x2eb)];if(((_0x4a040d=_0x1b0210['error'])==null?void 0x0:_0x4a040d[_0x535b68(0x303)])!==_0x3beb10['OK'])return;this[_0x535b68(0x23d)](_0x1b0210[_0x535b68(0x3cb)],_0x34b40f);}catch(_0x3cc0e2){this[_0x535b68(0x3d0)][_0x535b68(0x1cf)](_0x3cc0e2);}}async[_0x29b412(0x38a)](_0x12c247){const _0x3530c9=_0x29b412;let _0x218eaa=Date[_0x3530c9(0x24f)]();try{var _0x3d2fc6,_0x516f11;let _0x3274f1=((_0x3d2fc6=this[_0x3530c9(0x363)][_0x3530c9(0x1f5)](_0x18e88d[_0x3530c9(0x342)]))==null?void 0x0:_0x3d2fc6[_0x3530c9(0x200)])||'/universer-api/license/formula/limit/status',_0x5f33e8=_0x12c247?_0x3274f1+_0x3530c9(0x3ba)+encodeURIComponent(_0x12c247):_0x3274f1,_0x4e9d51=(await this['_httpService'][_0x3530c9(0x17b)](_0x5f33e8))[_0x3530c9(0x2eb)];if(((_0x516f11=_0x4e9d51['error'])==null?void 0x0:_0x516f11[_0x3530c9(0x303)])!==_0x3beb10['OK'])return;this[_0x3530c9(0x23d)](_0x4e9d51[_0x3530c9(0x3cb)],_0x218eaa);}catch(_0x5d8a63){this['_logService'][_0x3530c9(0x1cf)](_0x5d8a63);}}async[_0x29b412(0x3c0)](_0x50a4dd){const _0x39dffc=_0x29b412;let _0x56937b=Date[_0x39dffc(0x24f)]();try{var _0xfdb0bc,_0x2e6300;let _0x2e1280=((_0xfdb0bc=this[_0x39dffc(0x363)]['getConfig'](_0x18e88d[_0x39dffc(0x342)]))==null?void 0x0:_0xfdb0bc[_0x39dffc(0x2c0)])||'/universer-api/license/formula/limit/done',_0xbb7257=(await this[_0x39dffc(0x20f)][_0x39dffc(0x1a4)](_0x2e1280,{'body':JSON[_0x39dffc(0x3fb)]({'taskId':_0x50a4dd})}))[_0x39dffc(0x2eb)];if(((_0x2e6300=_0xbb7257[_0x39dffc(0x1cf)])==null?void 0x0:_0x2e6300[_0x39dffc(0x303)])!==_0x3beb10['OK'])return;this['_setFormulaLimitStatus'](_0xbb7257[_0x39dffc(0x3cb)],_0x56937b);}catch(_0xf46bf7){this[_0x39dffc(0x3d0)][_0x39dffc(0x1cf)](_0xf46bf7);}}[_0x29b412(0x246)](){const _0xe75ed1=_0x29b412;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xe75ed1(0x26d)]>0x0;}[_0x29b412(0x42d)](){const _0x422938=_0x29b412;this[_0x422938(0x230)]&&(clearTimeout(this[_0x422938(0x230)]),this[_0x422938(0x230)]=null);}[_0x29b412(0x2f4)](){const _0x1531d7=_0x29b412;this[_0x1531d7(0x2d3)]['show']({'content':this[_0x1531d7(0x382)]['t'](_0x1531d7(0x1e2)),'type':_0x12bd8e['MessageType'][_0x1531d7(0x201)]});}['_hasFormulaInDirtyRanges'](_0x193b9b){const _0x248844=_0x29b412;for(let _0x4bbf43 of _0x193b9b){let {unitId:_0x12c361,sheetId:_0x296e40,range:_0x4492e0}=_0x4bbf43,_0xeaf923=this[_0x248844(0x2d1)]['getUnit'](_0x12c361);if(!_0xeaf923)continue;let _0x59ceea=_0xeaf923[_0x248844(0x354)](_0x296e40);if(!_0x59ceea)continue;let _0x570ac7=_0x59ceea[_0x248844(0x414)]();for(let _0x34aeef=_0x4492e0[_0x248844(0x387)];_0x34aeef<=_0x4492e0[_0x248844(0x380)];_0x34aeef++)for(let _0x68cbc0=_0x4492e0[_0x248844(0x247)];_0x68cbc0<=_0x4492e0[_0x248844(0x42e)];_0x68cbc0++){let _0x27ce8a=_0x570ac7[_0x248844(0x27d)](_0x34aeef,_0x68cbc0);if(_0x27ce8a&&((0x0,_0x1e96bc[_0x248844(0x34c)])(_0x27ce8a['f'])||(0x0,_0x1e96bc[_0x248844(0x455)])(_0x27ce8a['si'])))return!0x0;}}return!0x1;}};_0x1e5951=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x163a5f[_0x29b412(0x268)])),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac['HTTPService'])),_0x19fee6(0x4,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x6,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x1d9)]))],_0x1e5951);let _0x4ee559=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x55ff19,_0x2e4fc8,_0x4e12c7){const _0x3f352f=_0x29b412;super(),this[_0x3f352f(0x363)]=_0x55ff19,this[_0x3f352f(0x308)]=_0x2e4fc8,this[_0x3f352f(0x256)]=_0x4e12c7,_0x4878f2(this,_0x3f352f(0x2cd),new Map()),_0x4878f2(this,'_saveTaskMap',new Map()),_0x4878f2(this,_0x3f352f(0x184),!0x1);}[_0x29b412(0x37e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x41fcd7=_0x29b412;this[_0x41fcd7(0x184)]=!0x1;}get['saveTaskMap'](){const _0xa33c8a=_0x29b412;return this[_0xa33c8a(0x2b5)];}[_0x29b412(0x1e7)](){const _0x2e2606=_0x29b412;this[_0x2e2606(0x337)]()[_0x2e2606(0x232)](()=>super['dispose']());}async[_0x29b412(0x2db)](_0x36edda){const _0x569688=_0x29b412;return this[_0x569688(0x184)]?null:this['_localStorageService']['getItem']((0x0,_0x18e88d['getLocalCacheKey'])(_0x36edda));}async['saveOfflineData'](_0x32c0e9,_0x411d7a){const _0x417c9b=_0x29b412;return!!this[_0x417c9b(0x308)][_0x417c9b(0x3f6)](_0x32c0e9,_0x411d7a);}[_0x29b412(0x3b8)](_0x410647,_0x3b3a3c,_0x5e3515,_0x448abd){const _0x337add=_0x29b412;let _0x43b28b=this[_0x337add(0x256)][_0x337add(0x17d)](_0x410647);this[_0x337add(0x2cd)][_0x337add(0x1dc)](_0x410647,{'unitID':_0x410647,'type':_0x3b3a3c,'awaitingChangeset':_0x5e3515,'mutations':_0x448abd,'rev':_0x43b28b}),this[_0x337add(0x2b5)][_0x337add(0x411)](_0x410647)||this[_0x337add(0x178)](_0x410647);}[_0x29b412(0x178)](_0x2b27bd){const _0x12e3ab=_0x29b412;let _0x48f44e=this['_getSaveTimeout']();_0x48f44e===0x0?this[_0x12e3ab(0x240)](_0x2b27bd):this['_saveTaskMap']['set'](_0x2b27bd,setTimeout(()=>this[_0x12e3ab(0x240)](_0x2b27bd),_0x48f44e));}[_0x29b412(0x199)](){const _0x38f477=_0x29b412;var _0x912de2;return(_0x912de2=this[_0x38f477(0x363)][_0x38f477(0x1f5)](_0x18e88d[_0x38f477(0x18d)]))==null?_0x18e88d[_0x38f477(0x32c)]:_0x912de2;}[_0x29b412(0x240)](_0x20d5be){const _0x2899b7=_0x29b412;let _0xb67ecb=this[_0x2899b7(0x2b5)][_0x2899b7(0x17b)](_0x20d5be);return _0xb67ecb!==void 0x0&&window['clearTimeout'](_0xb67ecb),this[_0x2899b7(0x308)][_0x2899b7(0x3f6)]((0x0,_0x18e88d[_0x2899b7(0x2c6)])(_0x20d5be),this[_0x2899b7(0x2cd)][_0x2899b7(0x17b)](_0x20d5be))[_0x2899b7(0x232)](()=>this[_0x2899b7(0x2b5)]['delete'](_0x20d5be));}async['exhaustSavingTask'](){const _0x4265c5=_0x29b412;let _0x1a2b7e=[];this[_0x4265c5(0x2b5)][_0x4265c5(0x312)]((_0x4026a7,_0x48094c)=>{const _0x3ad648=_0x4265c5;window['clearTimeout'](_0x4026a7),_0x1a2b7e[_0x3ad648(0x3ec)](this['_saveCache'](_0x48094c)[_0x3ad648(0x232)](()=>{const _0x5ae92d=_0x3ad648;this[_0x5ae92d(0x2b5)][_0x5ae92d(0x24d)](_0x48094c);}));}),await Promise[_0x4265c5(0x291)](_0x1a2b7e);}};_0x4ee559=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x1,_0x1e96bc['ILocalStorageService']),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x55fb1d[_0x29b412(0x239)]))],_0x4ee559);var _0x294890=class extends _0x1e96bc['RxDisposable']{constructor(){const _0xd3f5bc=_0x29b412;super(),_0x4878f2(this,_0xd3f5bc(0x3ca),void 0x0),this[_0xd3f5bc(0x3ca)]=(0x0,_0x25f103[_0xd3f5bc(0x2f1)])(window,_0xd3f5bc(0x2c7))[_0xd3f5bc(0x23c)]((0x0,_0x25f103[_0xd3f5bc(0x3c7)])(this['dispose$']),(0x0,_0x25f103['shareReplay'])(0x1),(0x0,_0x25f103[_0xd3f5bc(0x3b3)])(void 0x0));}[_0x29b412(0x346)](_0x413666,_0x326232,_0x3e0221=!0x1){const _0x1b3183=_0x29b412;let _0x6ccd70=new URL(window[_0x1b3183(0x3ed)][_0x1b3183(0x168)]);_0x6ccd70[_0x1b3183(0x1c0)][_0x1b3183(0x1dc)](_0x413666,_0x326232),_0x3e0221?window[_0x1b3183(0x451)]['replaceState']('','',_0x6ccd70['toString']()):window[_0x1b3183(0x451)][_0x1b3183(0x32d)]('','',_0x6ccd70[_0x1b3183(0x28f)]());}[_0x29b412(0x383)](_0x11f5a1,_0x471ce2=!0x1){const _0x5a9f1d=_0x29b412;let _0x3ddd6f=new URL(window[_0x5a9f1d(0x3ed)][_0x5a9f1d(0x168)]);_0x3ddd6f[_0x5a9f1d(0x1c0)]['delete'](_0x11f5a1),_0x471ce2?window[_0x5a9f1d(0x451)][_0x5a9f1d(0x438)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]()):window[_0x5a9f1d(0x451)][_0x5a9f1d(0x32d)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]());}[_0x29b412(0x263)](_0x5ae4f3){const _0x5d996a=_0x29b412;var _0x33fbf2;return(_0x33fbf2=new URL(window[_0x5d996a(0x3ed)]['href'])[_0x5d996a(0x1c0)]['get'](_0x5ae4f3))==null?void 0x0:_0x33fbf2;}};let _0x5003be=class extends _0x1e96bc[_0x29b412(0x3e4)]{constructor(_0x3277a9=_0x26ee57,_0x2a4ba0,_0x42caf8,_0x581d62){const _0xecfc8c=_0x29b412;super(),this[_0xecfc8c(0x324)]=_0x3277a9,this['_renderManagerService']=_0x2a4ba0,this['_injector']=_0x42caf8,this[_0xecfc8c(0x363)]=_0x581d62;let {..._0x16b781}=(0x0,_0x1e96bc[_0xecfc8c(0x371)])({},_0x26ee57,this['_config']);this[_0xecfc8c(0x363)][_0xecfc8c(0x176)](_0x2eef91,_0x16b781);}[_0x29b412(0x28e)](){const _0x1f9c22=_0x29b412;this[_0x1f9c22(0x3c5)](),this[_0x1f9c22(0x2fe)]();}[_0x29b412(0x3d6)](){const _0x118bc5=_0x29b412;this[_0x118bc5(0x284)]();}[_0x29b412(0x3c5)](){const _0xfc99aa=_0x29b412;var _0x53d6dc;let _0x5ba7a0=[[_0x447e19],[_0x1e5951],[_0x12c66b],[_0x548b99],[_0x164d7f],[_0x54c1c7],[_0x19d706,{'useClass':_0x294890}],[_0xe453ac[_0xfc99aa(0x42b)],{'useClass':_0xe453ac[_0xfc99aa(0x3bd)]}],[_0x18e88d[_0xfc99aa(0x2ec)],{'useClass':_0x4ee559}],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x396377],[_0x3048a8],[_0x4bd713]];this[_0xfc99aa(0x324)]['enableFrontendLog']&&_0x5ba7a0['push']([_0x50b38e]),(0x0,_0x1e96bc[_0xfc99aa(0x2bb)])(this['_injector'],(0x0,_0x1e96bc[_0xfc99aa(0x1c8)])(_0x5ba7a0,(_0x53d6dc=this['_config'])==null?void 0x0:_0x53d6dc[_0xfc99aa(0x270)]));}[_0x29b412(0x284)](){const _0x6a358c=_0x29b412;this[_0x6a358c(0x434)](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x1dd)],[_0x303d04])),this['disposeWithMe'](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x3b4)],[_0x1225ba]));}['_initDependencies'](){const _0x7ac55d=_0x29b412;(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x396377],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x4bd713],[_0x1e5951]]),this[_0x7ac55d(0x324)][_0x7ac55d(0x2af)]&&(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x50b38e]]);}};_0x4878f2(_0x5003be,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x4878f2(_0x5003be,_0x29b412(0x2aa),_0x3a7710),_0x4878f2(_0x5003be,_0x29b412(0x32e),_0x4df1c3),_0x5003be=_0x1c9c51([(0x0,_0x1e96bc[_0x29b412(0x3df)])(_0x18e88d[_0x29b412(0x33d)]),_0x19fee6(0x1,_0x42ac73[_0x29b412(0x417)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,_0x1e96bc['IConfigService'])],_0x5003be);let _0x10dd44=class extends _0x18e88d[_0x29b412(0x3d5)]{constructor(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72){super(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72);}async[_0x29b412(0x340)](_0x232ed9){const _0x4d569d=_0x29b412;let _0x49fc19=await this[_0x4d569d(0x400)](),_0x2ffcc0=this['_createSocketURL'](_0x232ed9,_0x49fc19);return this[_0x4d569d(0x44e)](_0x2ffcc0);}['_createSocketURL'](_0x265d40,_0x5ca5c9){const _0x5954ca=_0x29b412;let _0x2a278a=typeof window>'u'?new URL(_0x265d40):new URL(_0x265d40,window[_0x5954ca(0x3ed)]['origin']);_0x2a278a[_0x5954ca(0x1c0)][_0x5954ca(0x1dc)](_0x5954ca(0x35b),_0x5ca5c9);let _0x2fb8ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5954ca(0x3ed)][_0x5954ca(0x361)]);return _0x2fb8ee[_0x5954ca(0x17b)]('runId')&&_0x2a278a[_0x5954ca(0x1c0)]['set']('runId',_0x2fb8ee[_0x5954ca(0x17b)](_0x5954ca(0x422))),_0x2a278a[_0x5954ca(0x28f)]();}async['_getSessionTicket'](){const _0x2cd5bc=_0x29b412;var _0x44de20,_0x54941b,_0x414ddb;let _0x5b99c9=this[_0x2cd5bc(0x363)][_0x2cd5bc(0x1f5)](_0x18e88d[_0x2cd5bc(0x342)]),_0x7aafde=(_0x44de20=_0x5b99c9==null?void 0x0:_0x5b99c9['wsSessionTicketUrl'])==null?_0x18e88d['DEFAULT_WS_SESSION_TICKET_URL']:_0x44de20;return(_0x54941b=(_0x414ddb=(await this[_0x2cd5bc(0x20f)][_0x2cd5bc(0x17b)](_0x7aafde,{'headers':{'Content-Type':_0x2cd5bc(0x3b0)}}))[_0x2cd5bc(0x2eb)])==null?void 0x0:_0x414ddb[_0x2cd5bc(0x3de)])==null?'':_0x54941b;}};_0x10dd44=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x4,_0x55fb1d[_0x29b412(0x407)])],_0x10dd44);let _0x24bc76=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x514373,_0x1ca4d4,_0x3ab589){const _0x448d2d=_0x29b412;super(),this['_instanceService']=_0x514373,this[_0x448d2d(0x20f)]=_0x1ca4d4,this[_0x448d2d(0x363)]=_0x3ab589;}async['runOnServer'](_0x7ae2c7,_0x2a9ed8,_0x22d292,..._0x1fec78){const _0x553f84=_0x29b412;var _0x11c2cf,_0x5b555a,_0x31f17d,_0x20e274;let _0x85692a=this[_0x553f84(0x31d)][_0x553f84(0x37d)]();if(!_0x85692a)throw Error(_0x553f84(0x1fe));let _0x172f98=((_0x11c2cf=this['_configService'][_0x553f84(0x1f5)](_0x18e88d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x18e88d[_0x553f84(0x2d2)]:_0x11c2cf)+'/'+_0x7ae2c7+'/run/'+_0x2a9ed8,_0x1dabef={'scriptId':_0x7ae2c7,'runId':(_0x5b555a=new URL(window[_0x553f84(0x3ed)][_0x553f84(0x168)])[_0x553f84(0x1c0)][_0x553f84(0x17b)](_0x553f84(0x422)))==null?'':_0x5b555a,'function':_0x2a9ed8,'unitId':_0x85692a['getUnitId'](),'argsOfFunction':JSON[_0x553f84(0x3fb)](_0x1fec78),'invokeId':(_0x31f17d=_0x22d292[_0x553f84(0x27a)])==null?'':_0x31f17d,'executionId':(_0x20e274=_0x22d292[_0x553f84(0x395)])==null?'':_0x20e274};try{let _0x1bc09b=await this['_httpService'][_0x553f84(0x1a4)](_0x172f98,{'body':_0x1dabef});return _0x1bc09b['body'][_0x553f84(0x1cf)]&&_0x1bc09b[_0x553f84(0x2eb)][_0x553f84(0x1cf)]['code']!==_0x3beb10['OK']?'Failed':_0x1bc09b['body'][_0x553f84(0x399)];}catch{return _0x553f84(0x25c);}}};_0x24bc76=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['IConfigService'])],_0x24bc76);var _0x5ba476=function(_0x1ae756){const _0x551be8=_0x29b412;return _0x1ae756[_0x1ae756[_0x551be8(0x462)]=0x0]=_0x551be8(0x462),_0x1ae756[_0x1ae756[_0x551be8(0x22a)]=0x1]=_0x551be8(0x22a),_0x1ae756[_0x1ae756['HEARTBEAT']=0x2]=_0x551be8(0x436),_0x1ae756;}(_0x5ba476||{});let _0x484776=0x7530,_0x12e800=_0x29b412(0x1c5);var _0xa6a228=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(){const _0x314ece=_0x29b412;super(),_0x4878f2(this,_0x314ece(0x174),(0x0,_0x1e96bc[_0x314ece(0x1f9)])()),_0x4878f2(this,'_selfUnitIDs',new Set()),_0x4878f2(this,'_unitOnClients',new Map()),_0x4878f2(this,_0x314ece(0x45e),null),_0x4878f2(this,'_clearOtherTimers',new Map()),_0x4878f2(this,_0x314ece(0x374),new Map()),this[_0x314ece(0x19b)]();}[_0x29b412(0x1e7)](){const _0xaba82e=_0x29b412;super[_0xaba82e(0x1e7)](),this[_0xaba82e(0x1e0)][_0xaba82e(0x312)]((_0x1314f8,_0xb530e0)=>this[_0xaba82e(0x377)](_0xb530e0)),this[_0xaba82e(0x45e)]&&window[_0xaba82e(0x2d6)](this['_heartbeatTimer']);}[_0x29b412(0x172)](_0x3f6b34){const _0x5cde09=_0x29b412;return this[_0x5cde09(0x167)](_0x3f6b34)[_0x5cde09(0x23c)]((0x0,_0x25f103[_0x5cde09(0x1d1)])());}[_0x29b412(0x257)](_0x3789d5){const _0x312bda=_0x29b412;this['_selfUnitIDs'][_0x312bda(0x2e1)]===0x0&&this[_0x312bda(0x1c7)](),this[_0x312bda(0x1f2)][_0x312bda(0x20c)](_0x3789d5),this[_0x312bda(0x3a9)]({'type':_0x5ba476[_0x312bda(0x462)],'memberID':this['_id'],'unitIDs':[_0x3789d5],'isForwarded':!0x1});}[_0x29b412(0x427)](_0xf9e57f){const _0x3ce809=_0x29b412;this[_0x3ce809(0x1f2)][_0x3ce809(0x24d)](_0xf9e57f),this[_0x3ce809(0x1f2)][_0x3ce809(0x2e1)]===0x0&&this[_0x3ce809(0x45e)]&&window[_0x3ce809(0x2d6)](this[_0x3ce809(0x45e)]);}['_init'](){const _0x4023cd=_0x29b412;this['disposeWithMe']((0x0,_0x1e96bc[_0x4023cd(0x202)])((0x0,_0x25f103['fromEvent'])(window,_0x4023cd(0x162))['subscribe'](_0x1d3ae4=>{const _0x255133=_0x4023cd;if(_0x1d3ae4[_0x255133(0x310)]!==_0x12e800||!_0x1d3ae4[_0x255133(0x350)])return;let _0x33b0ff=JSON[_0x255133(0x1da)](_0x1d3ae4['newValue']);this[_0x255133(0x2c8)](_0x33b0ff);}))),window[_0x4023cd(0x234)](_0x4023cd(0x2a3),()=>this['_send']({'type':_0x5ba476['LEAVE'],'memberID':this[_0x4023cd(0x174)],'unitIDs':Array['from'](this[_0x4023cd(0x1f2)])}));}[_0x29b412(0x2c8)](_0x168819){const _0x55543c=_0x29b412;switch(_0x168819['type']){case _0x5ba476[_0x55543c(0x462)]:this['_handleJoinEvent'](_0x168819);break;case _0x5ba476[_0x55543c(0x22a)]:this['_handleLeaveEvent'](_0x168819);break;case _0x5ba476['HEARTBEAT']:this[_0x55543c(0x3f2)](_0x168819);break;}}[_0x29b412(0x32f)](_0x9726a0){const _0xe37db4=_0x29b412;let {unitIDs:_0x377a14,memberID:_0x5c6e93,isForwarded:_0x46b543}=_0x9726a0;_0x377a14[_0xe37db4(0x312)](_0x2a033a=>{const _0x4c3a4e=_0xe37db4;if(!_0x46b543&&this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x411)](_0x2a033a)&&this['_ensureSubject'](_0x2a033a)[_0x4c3a4e(0x1db)](_0x18e88d[_0x4c3a4e(0x327)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4c3a4e(0x411)](_0x2a033a)||!this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x17b)](_0x2a033a)['has'](_0x5c6e93)){let _0x504774=this[_0x4c3a4e(0x33b)]['get'](_0x2a033a)||new Set();_0x504774[_0x4c3a4e(0x20c)](_0x5c6e93),this[_0x4c3a4e(0x33b)]['set'](_0x2a033a,_0x504774),this[_0x4c3a4e(0x1a8)](_0x5c6e93);}}),_0x46b543||this[_0xe37db4(0x3a9)]({'type':_0x5ba476[_0xe37db4(0x462)],'memberID':this[_0xe37db4(0x174)],'unitIDs':[...this[_0xe37db4(0x1f2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x378d36){const _0x12e442=_0x29b412;this[_0x12e442(0x377)](_0x378d36);let _0x294b79=window[_0x12e442(0x20a)](()=>{const _0xbc866d=_0x12e442;this[_0xbc866d(0x33b)][_0xbc866d(0x312)](_0x4ac55d=>{_0x4ac55d['delete'](_0x378d36);});},_0x484776*0x2);this[_0x12e442(0x1e0)][_0x12e442(0x1dc)](_0x378d36,_0x294b79);}[_0x29b412(0x377)](_0x4c6fbf){const _0xa18723=_0x29b412;if(this[_0xa18723(0x1e0)][_0xa18723(0x411)](_0x4c6fbf)){let _0x1a25a3=this[_0xa18723(0x1e0)][_0xa18723(0x17b)](_0x4c6fbf);_0x1a25a3&&window[_0xa18723(0x325)](_0x1a25a3),this[_0xa18723(0x1e0)][_0xa18723(0x1dc)](_0x4c6fbf,null);}}['_handleLeaveEvent'](_0x378933){const _0x1f2c32=_0x29b412;let {memberID:_0x379f84,unitIDs:_0x5d2b22}=_0x378933;_0x5d2b22[_0x1f2c32(0x312)](_0x5a1483=>{const _0x4ffb66=_0x1f2c32;var _0x2455a3;let _0x401af4=this['_unitOnClients'][_0x4ffb66(0x17b)](_0x5a1483);_0x401af4&&(_0x401af4[_0x4ffb66(0x24d)](_0x379f84),(_0x2455a3=this['_ensureSubject'](_0x5a1483))==null||_0x2455a3['next'](_0x401af4[_0x4ffb66(0x2e1)]===0x0?_0x18e88d['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x18e88d['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x379f84);}[_0x29b412(0x3f2)](_0x21243b){const _0xb54d03=_0x29b412;this[_0xb54d03(0x1a8)](_0x21243b[_0xb54d03(0x242)]);}[_0x29b412(0x3a9)](_0x58ebbb){const _0x49bf5c=_0x29b412;localStorage[_0x49bf5c(0x3f6)](_0x12e800,JSON[_0x49bf5c(0x3fb)](_0x58ebbb));}[_0x29b412(0x1c7)](){const _0x31b8b1=_0x29b412;this[_0x31b8b1(0x45e)]=window[_0x31b8b1(0x19a)](()=>{const _0x46feb0=_0x31b8b1;this[_0x46feb0(0x3a9)]({'type':_0x5ba476['HEARTBEAT'],'memberID':this['_id']});},_0x484776);}[_0x29b412(0x167)](_0x18b938){const _0x7745ff=_0x29b412;return this['_unitStatus'][_0x7745ff(0x411)](_0x18b938)||this['_unitStatus'][_0x7745ff(0x1dc)](_0x18b938,new _0x25f103[(_0x7745ff(0x177))](_0x18e88d[_0x7745ff(0x327)][_0x7745ff(0x320)])),this['_unitStatus']['get'](_0x18b938);}};Object['defineProperty'](_0x2f0af9,_0x29b412(0x373),{'enumerable':!0x0,'get':function(){return _0x10dd44;}}),Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x2c5),{'enumerable':!0x0,'get':function(){return _0x4bd713;}}),Object[_0x29b412(0x45a)](_0x2f0af9,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x31d8d2;}}),_0x2f0af9['IURLService']=_0x19d706,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x26b),{'enumerable':!0x0,'get':function(){return _0x24bc76;}}),_0x2f0af9[_0x29b412(0x1e9)]=_0x5a9d20,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x306),{'enumerable':!0x0,'get':function(){return _0x5003be;}}),_0x2f0af9[_0x29b412(0x159)]=_0xa6a228,_0x2f0af9[_0x29b412(0x430)]=_0x294890;}));function _0x1f09(_0x10e4fb,_0x4ac7e0){_0x10e4fb=_0x10e4fb-0x152;const _0x59b470=_0x59b4();let _0x1f094f=_0x59b470[_0x10e4fb];return _0x1f094f;}function _0x59b4(){const _0x2f001b=['touchDependencies','forEach','DocIMEInputManagerService','ONLINE','_backgroundColor','_collaborationUIEventService','_hover','_collaborationSessionService','TEXT','subscribeEvent','height','clsx','_instanceService','ERROR_AGAIN','getTypeOfUnitDisposed$','NO_OTHER_CLIENTS_EDITING','Subject','CollaborationController','fillStyle','_config','clearTimeout','uni.network.url-service','UnitStatus','_color','@univerjs/drawing','_onCursorUpdate','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','pushState','version','_handleJoinEvent','path','Active','SUCCESS','_docSyncEditingCollabCursorService','_blinkIntervalTimer','_colorIndex','url(#on-line-icon_clip0_910_349)','exhaustSavingTask','_imageIoService','_cursor','Warning','_unitOnClients','_docStateChangeManagerService','UniverCollaborationClientPlugin','...','_themeService','createSocket','asObservable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocStateChangeManagerService','fillRule','EffectRefRangId','setParam','getAncestorScale','SetWorksheetActivateCommand','isEditing','getCoordByCell','PAYMENT_CHANNEL_NOT_SUPPORT','isFormulaString','undoState','eventID','none','newValue','_collabCursorState$','getMemberID','highlightSecond','getSheetBySheetId','InsertRowCommandId','min','Unknown\x20user','executeCommand','_initUnhandledRejectionListener','univerjs-icon\x20univerjs-icon-','sessionTicket','743302wgMTmn','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','stack','search','SHEET_VIEWPORT_KEY','_configService','UniverEngineRender','formula.calculation.unable','YUUMI_SUBSCRIPTION_NOT_FOUND','getUndoRedoMutationParamsCache','addObject','Error','COMPLETION_FINISHED','idSuffix','UniverRpc','_setupBeforeClosingHandler','#FFF','FormulaExecuteStageType','red.300','merge','LICENSE_MAX_UNITS_EXCEEDED','BrowserCollaborationSocketService','_unitStatus','CollaborationUIEventService','actions','_removeClearOtherTimer','unitId','MOBILE_VERIFY_CODE_MISMATCH','init','INVITE_CODE_HAS_BEEN_UES','_docTransformIMECacheService','getFocusedUnit','disableLocalCache','34xuqZej','endRow','PENDING','_localeService','removeParam','_removeCollabCursors','CollaborationUIEventId','runRefRangeMutations','startRow','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getFormulaLimitStatus','getCurrentUnitForType','toStringTag','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','UniverNetwork','_initCommandExecutedListener','parseInt','_cursorShapes','getUnitId','DisposableCollection','executionId','UniverDrawing','FormulaExecutedStateType','TOO_MANY_REQUESTS','result','addObjects','UNAUTHENTICATED','NodePositionConvertToCursor','getStateCache','transformMutationsWithChangeset','getUnhiddenWorksheets','defIds','deepClone','_taskIds','JOIN_ROOM_FAILED','_toggleOnline','_hideTimer','with','YUUMI_RATE_OVER_LIMIT','useCallback','_send','_transformHistoryAndStateStack','session.will-retry','doc.mutation.rich-text-editing','DeleteRangeMoveUpCommandId','shift','/universer-api/license/formula/limit/start','application/json','collabStatus.fetchMiss','createElement','mapTo','UNIVER_SHEET','stage','throttleTime','arc','updateOfflineData','top','?taskId=','transformByState','unsubscribe','WebSocketService','isTransformMutationsWithChangesetSuccess','_updateLocalCursor','_releaseCalculationLimit','restore','SetTextSelectionsOperation','YUUMI_UNABLE_LOAD_URL','getColor','_registerDependencies','_syncEditingCollabCursorService','takeUntil','SetDocZoomRatioOperation','operators','urlChange$','limitInfo','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_name','session.collaboration-timeout','_logService','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_getLighterColor','_uploadLog','CollaborationSocketService','onRendered','_entityInit$','DocSelectionManagerService','Inactive','getActiveRange','loadUnit','off-line-icon_clip0_910_343','Injector','ticket','DependentOn','tag','REDEMPTION_CODE_FULLY_REDEEMED','COLORS','ENSURE_SNAPSHOT_EXECUTION','Plugin','xlink:href','handleMoveRange','SheetsSelectionsService','send','_render','getColorFromTheme','FETCH_MISS','push','location','rgb','Shape','_initStatusComponent','[Unhandled\x20Rejection]:\x20','_handleHeartbeatEvent','NOT_FOUND','trim','rxjs','setItem','_highlight','http://www.w3.org/2000/svg','textRanges','Module','stringify','handleInsertRangeMoveDown','_localCacheService','_getScale','skeleton','_getSessionTicket','_document','attrs','map','engine','RichTextEditingMutation','BuiltInUIPart','ISnapshotServerService','_getMergeRange','some','_range','LICENSE_EXPORT_SIZE_EXCEEDED','RefRangeService','saveImage','clipPath','HEADER_MENU','_blinkTimer','has','_initStatusListener','REDEMPTION_CODE_INACTIVE','getCellMatrix','ENTITLE_INSUFFICIENT_QUOTA','string','IRenderManagerService','_initUserListener','serializeRangeWithSheet','column','IConfigService','isArray','totalFormulasToCalculate','react','stageInfo','event$','addClipboardHook','runId','PY_RUNTIME_SCRIPT_ERROR','debug','saveTaskMap','colorChannel1','disposeUnit','onLocalMutation','_startSheetCollabCursor','ITransformService','ISocketService','ICommandService','_clearPolling','endColumn','SOCKET_FAILED_RETRY','WebURLService','params','jiqing.500','_urlService','disposeWithMe','React','HEARTBEAT','getSheetObject','replaceState','EMAIL_VERIFY_CODE_MISMATCH','switchMap','transform','isActive','TRANSFORM_CHANGE_OBSERVABLE_TYPE','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','filename','Vector2','filter','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','33lApEUK','_transformService','m2Prime','collaboration.offline-data-not-saved','moveTo','max','mask','color','MUTATION','_doCreateSocket','LOGIN_TOKEN_PROCESSING_FAILED','show','history','_sheetSkeletonManagerService','_showText','handleInsertRangeMoveRight','isFormulaId','current','1em','_memberID','PERMISSION_DENIED','defineProperty','_applyCommand','getDocRanges','RECT','_heartbeatTimer','collaboration.closeRoom','@univerjs/rpc','11460jnClSV','JOIN','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','216324KxrgPW','prototype','removeEventListener','DOC_RANGE_TYPE','getRenderById','transformSelections','_context','WebBrowserSingleActiveUnitService','addHandlerCallback','functionsExecutedState','join','text','CanceledError','REDEMPTION_INVALID_CODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getRelativeToViewportCoord','storage','toPrimitive','_setupSubUnitSync','dispose$','save','_ensureSubject','href','on-line-icon_clip0_910_349','_maxFormulaLimit','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_drawTextRange','_renderManagerService','UniverSheetsUi','UniverProCollaboration','_uiPartsService','getUnitStatus$','_notificationService','_id','UniverProCollaborationClientUi','setConfig','BehaviorSubject','_scheduleSaving','_onCursorDelete','REDEMPTION_CODE_HAS_BEEN_CREATED','get','currentTheme$','getCurrentRevOfUnit','handleIRemoveRow','collabStatus.synced','unitID','displayName','UNRECOGNIZED','WECHAT_HAS_BEEN_BOUND','_disabled','replaceDocRanges','SetFormulaCalculationNotificationMutation','DeleteRangeMoveLeftCommandId','_docSkeleton','transformStateCache','142863KHaNrg','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','LOCAL_CACHE_INTERVAL_KEY','SetFormulaCalculationStartMutation','_getAnchorBounding','drawWith','ENTITLE_DUP_SUBSCRIPTION','_updateCollabCursors','hide','_transformUndoRedoStack','UniverUi','12LeHlXt','getCollabCursors$','offsetY','_getSaveTimeout','setInterval','_init','combineLatest','_cursors','_monkeyPatchLogService','NOT_COLLAB','RemoveRowCommandId','connectInjector','evenodd','@univerjs/design','post','_shapes','_memberService','USER_NOT_FOUND','_scheduleClearOtherTimer','_entities','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','_initCommandInterceptor','docStateChange$','setShapeProps','selections','_toggleOffline','contains','USERS_LEAVE','MessageType','getCollabEntity$','_roomMembers$','_docClipboardService','default','length','bottom','div','ranges','entityInit$','selection','@univerjs-pro/collaboration-client-ui','SetSelectionsOperation','unit','searchParams','START_CALCULATION','flatMap','ENTITLE_CHAT_LIMIT_EXCEED','startFormulaLimitUrl','ACTIVE_UNIT_EVENT_CHANNEL','OFFLINE','_scheduleHeartbeat','mergeOverrideWithDependencies','_initResize','lineTo','UniverCore','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assign','on-line-icon','error','APPLY_NON_SEQUENTIAL_REVISION','distinctUntilChanged','INTERNAL_ERROR','_drawRectRange','font','YUUMI_AI_RUN_FAILED','SOCKET_FAILED','split','includes','LocaleService','parse','next','set','UNIVER_DOC','collabStatus.offline','InsertRangeMoveDownCommandId','_clearOtherTimers','YUUMI_ALL_TABLES_IS_INVALID','formula.calculation.waiting','@univerjs/network','_commandService','roomMembers$','permission.content','dispose','AUTHORIZE_CODE_ILLEGAL','SheetCollabCursorShape','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','OffLineIcon','rgba(255,\x20255,\x20255,\x200.01)','rxjs/operators','getRangePointData','ColorKit','symbol','_selfUnitIDs','CollaborationEvent','_beforeCloseService','getConfig','_status$','SessionStatus','handleDeleteRangeMoveLeft','generateRandomId','_highlightSecond','status$',',\x200.2)','@univerjs/core','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','getFormulaLimitStatusUrl','Loading','toDisposable','UNDEFINED','_initEvent','_offsetY','_isBlinkVisible','INVITE_CODE_ALREADY_BOUND','@univerjs/sheets-ui','react/jsx-runtime','setTimeout','Optional','add','UniverInstanceType','debounce','_httpService','_startBlinking','_updateURLWithCurrentState','@univerjs/engine-render','debounceTime','CURRENT_STATUS_CANNOT_OPERATE','SUBMIT_CHANGESET_TIMEOUT','getOffsetConfig','message','OTHER_CLIENT_EDITING','getSkeleton','onTransformChange$','_collabCursorController','setAlpha','_colorAssignService','_eventUnsubscribe','_injector','startsWith','InsertRangeMoveRightCommandId','_refreshCollabCursors','_online','highlight','YUUMI_CONNECTOR_URL_NOT_FOUND','_cursorInfo$','FromArray','_initEntityListener','use','LEAVE','RegularPolygon','setActiveRange','labelPosition','cursorInfo','CollaborationStatus','_pollingInterval','url(#$1','then','range','addEventListener','ENTITLE_COUPON_USED_UP','NodePositionConvertToRectRange','DocSkeletonManagerService','IRemoteInstanceService','RevisionService','collabStatus.conflict','_lastResponseTimestamp','pipe','_setFormulaLimitStatus','getCurrentSelections','OnLineIcon','_saveCache','_labelPosition','memberID','toRgbString','transformRemoteChangeset','_dataLoaderService','_checkCalculationAvailable','startColumn','CHANGESET_REVISION_CONFILICT','forwardRef','ILogService','[Window\x20Error]:\x20','requireSession','delete','currentSkeleton$','now','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refRangeService','_updateSubUnitFromURLParams','values','onPointerLeave$','transformMutation','_revisionService','editingUnit','_hasFormulaInDirtyRanges','SNAPSHOT_INVALID_SNAPSHOT','USER_IS_ANONYMOUS','955DscQLb','Failed','_hovered','svg','source','mutations','Tooltip','getVpScrollXYInfoByPosToVp','getParam','transformIMECache','UniverProCollaborationClient','backgroundColor','RxDisposable','IMessageService','jsxs','measureText','RemoteUniscriptService','replace','_currentUsage','collabStatus.syncing','Success','override','APPLY_REJECT','handleDeleteRangeMoveUp','onPointerMove$','redoState','_docTransformStateCacheService','DATA_SOURCE_TOO_LARGE','subunit','1308730AVRXjb','getMergeData','invokeId','registerRefRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getValue','_collaborationController','onMouseMove','@univerjs/sheets','_collabSessionService','decorate','findNodePositionByCharIndex','_registerRenderDependencies','_scene','reason','Tools','permission.title','jsx','IUniverInstanceService','IImageIoService','_docTransformSelectionsService','useDependency','onStarting','toString','USER_NOT_INVITED_CODE','all','black','handleIRemoveCol','_anchor','imageSourceType','m1Prime','UniverDocsUi','name','Disposable','YUUMI_NO_CUBOID_FOR_QUESTION','strokeWidth','UniverEngineFormula','getUniverSheetInstance','createIdentifier','round','_initWindowErrorListener','setStateCache','getSheetId','unload','_checkAndWaitForCalculationPermission','white','INVALID_INVITE_CODE','CommandType','_draw','_assignedColors','packageName','DocCollaborationEntity','@univerjs/docs','IDocClipboardService','width','enableFrontendLog','MemberService','13028340AnCfWH','getViewport','collaboration-client-ui.config','green.600','_saveTaskMap','dirtyRanges','row','APPLY_DUPLICATED','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','16709ASTYzO','registerDependencies','sessionStatus$','getOwnPropertyDescriptor','TEXT_RANGE_LAYER_INDEX','exports','releaseFormulaLimitUrl','APPLY_REVISION_CONFILICT','SYNCED','0\x200\x2017\x2016','data','CollaborationDataLoaderController','getLocalCacheKey','popstate','_handleEvent','_startCalculationLimit','subscribe','_stopBlinking','rgba(','_cachedData','0.19.0','focused$','YUUMI_URL_COL_OUT_OF_RANGE','_univerInstanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_messageService','entries','sheetID','clearInterval','session.connection-failed','104RgBQah','onCommandExecuted','ALREADY_EXISTS','loadOfflineData','[LogService\x20Error]:\x20','_onRefRangeChange','fillText','M0\x200H16V16H0z','UPDATE_CURSOR','size','_transformPreviousActiveRange','registerRenderModule','ENTITLE_USE_COUPON_NOT_1ST_TRADE','unshift','fill','defs','APPLY_PERMISSION_DENIED','_anchorDot','isTransformMutationFailure','body','ILocalCacheService','_lastPointer','subUnitId','call','function','fromEvent','ENTITLE_COUPON_EXPIRED','collab-client.tooltip.reconnect','_showGuardMessage','makeDirty','REDEMPTION_USER_NOT_ELIGIBLE','blue.400','type','children','unhandledrejection','bind','assignAColorForMemberID','_docSkeletonManagerService','_initDependencies','currentColor','/universer-api/frontend/logs','getMember','_handleHover','code','roomMembers','_textBubble','UniverCollaborationClientUIPlugin','_getSheetObject','_localStorageService','cursorInfo$','EMAIL_HAS_BEEN_BOUND','object','from','fromEventSubject','syncEditingCollabCursor','HTTPService','key'];_0x59b4=function(){return _0x2f001b;};return _0x59b4();}
|