@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0xff45(_0x12e352,_0x46914d){_0x12e352=_0x12e352-0x77;const _0x21c2a9=_0x21c2();let _0xff450e=_0x21c2a9[_0x12e352];return _0xff450e;}const _0x282411=_0xff45;(function(_0x4eb532,_0x4646c0){const _0x10d721=_0xff45,_0x503e5d=_0x4eb532();while(!![]){try{const _0x28c04d=-parseInt(_0x10d721(0x19e))/0x1+-parseInt(_0x10d721(0x211))/0x2+parseInt(_0x10d721(0x2ff))/0x3*(parseInt(_0x10d721(0xf3))/0x4)+-parseInt(_0x10d721(0x1a6))/0x5+-parseInt(_0x10d721(0xd1))/0x6+parseInt(_0x10d721(0x23f))/0x7+parseInt(_0x10d721(0x1c9))/0x8*(parseInt(_0x10d721(0x99))/0x9);if(_0x28c04d===_0x4646c0)break;else _0x503e5d['push'](_0x503e5d['shift']());}catch(_0x57b701){_0x503e5d['push'](_0x503e5d['shift']());}}}(_0x21c2,0xa56e7));function _0x21c2(){const _0x5d60ef=['restore','NO_OTHER_CLIENTS_EDITING','Plugin','_updateSubUnitFromURLParams','ENTITLE_REPORT_LIMIT_EXCEED','DisposableCollection','arc','MOBILE_VERIFY_CODE_MISMATCH','add','Shape','drawWith','ENTITLE_INSUFFICIENT_QUOTA','_createSocketURL','_heartbeatTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','USER_NOT_FOUND','LICENSE_EXPORT_SIZE_EXCEEDED','setInterval','resize','_currentUsage','/run/','_onCursorUpdate','transformMutation','_selfUnitIDs','_registerDependencies','YUUMI_CONNECTOR_URL_NOT_FOUND','defs','_removeClearOtherTimer','_handleHeartbeatEvent','_instanceService','registerBeforeClose','get','_startSheetCollabCursor','string','getUndoRedoMutationParamsCache','size','useCallback','replaceState','_scheduleClearOtherTimer','runId','getMemberID','_getSaveTimeout','332391FwLKNP','error','location','SHEET_VIEWPORT_KEY','status$','transformByState','IUIPartsService','svg','3457135ntVMfE','with','univer-mr-2\x20univer-flex\x20univer-text-xl','ENTITLE_NEED_BILLING_ADDRESS','ENTITLE_CHAT_LIMIT_EXCEED','Tooltip','serializeRangeWithSheet','getConfig','VIEW_MAIN','_unitStatus','href','[CollaborationDataLoaderController]','getItem','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_drawRectRange','CollaborationController','round','onCommandExecuted','from','INTERNAL_ERROR','_registerRenderDependencies','show','formula.calculation.waiting','SetWorksheetActivateCommand','_send','_clearOtherTimers','handleMoveRange','Success','clsx','getformulaLimitStatusUrl','getActiveRange','evenodd','Unknown\x20user','find','YUUMI_ASYNCIO_CANCELLED','344tqllyP','_drawTextRange','USERS_LEAVE','newValue','RECT','REDEMPTION_CODE_INACTIVE','startColumn','APPLY_DUPLICATED','transformStateCache','_docTransformIMECacheService','_hideTimer','_syncEditingCollabCursorService','collaboration-client-ui.config','BehaviorSubject','_notificationService','takeUntil','endColumn','lineTo','imageSourceType','values','onStarting','_monkeyPatchLogService','div','name','includes','wsSessionTicketUrl','ENTITLE_DUP_SUBSCRIPTION','exhaustSavingTask','DocSkeletonManagerService','DocSelectionManagerService','_getSheetObject','assignAColorForMemberID','_id','_eventUnsubscribe','getRangePointData','ILocalStorageService','REDEMPTION_INVALID_CODE','mergeOverrideWithDependencies','_context','min','stringify','blue.400','distinctUntilChanged','popstate','_session','registerDependencies','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','backgroundColor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_renderManagerService','[LogService\x20Error]:\x20','getSheetBySheetId','IRenderManagerService','_injector','IUniverInstanceService','touchDependencies','_applyCommand','addHandlerCallback','xlink:href','unitId','_cursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','saveOfflineData','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_NO_CUBOID_FOR_QUESTION','_initResize','connectInjector','AWAITING','_setFormulaLimitStatus','sessionStatus$','_hasFormulaInDirtyRanges','2613534AMxbZJ','save','push','INVITE_CODE_REQUIRED','sheetID','fill','OFFLINE','getUnitId','result','width','WECHAT_HAS_BEEN_BOUND','column','ENTITLE_COUPON_USED_UP','_collabSessionService','functionsExecutedState','_initDependencies','UniverInstanceType','_docSyncEditingCollabCursorService','FETCH_MISS','tag','ENTITLE_INVALID_COUPON_CODE','_localeService','FormulaExecuteStageType','isTransformMutationsWithChangesetSuccess','ticket','on-line-icon','createInstance','send','OTHER_CLIENTS_EDITING','SUCCESS','_toggleOffline','_refreshCollabCursors','_collabCursorController','INotificationService','_themeService','sessionTicket','_lastResponseTimestamp','subUnitId','collabCursorState$','FromArray','lineno','[Window\x20Error]:\x20','clearTimeout','yellow.400','join','jsx','1932315rHWcxg','_checkAndWaitForCalculationPermission','InsertRangeMoveDownCommandId','transformSelections','YUUMI_UNABLE_LOAD_URL','BuiltInUIPart','_colorIndex','DeleteRangeMoveUpCommandId','getCoordByCell','_cursor','_saveTaskMap','clipPath','univer-flex\x20univer-items-center','debounce','collabStatus.offline','MoveRangeCommandId','toString','params','fromEvent','handleInsertRangeMoveRight','contains','hovered','focused$','_entityInit$','_uploadLog','ICommandService','UnitStatus','toDisposable','_taskIds','SNAPSHOT_INVALID_SNAPSHOT','maxFormulaLimit','syncEditingCollabCursor','uni.network.url-service','Failed','origin','on-line-icon_clip0_910_349','_urlService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','shift','_shapes','subscribe','useDependency','whenReady','NOT_COLLAB','beforeCommandExecuted','_status$','addObject','idSuffix','JOIN_ROOM_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','CONNECTOR_DATA_TOO_LARGE','addEventListener','generateRandomId','_getSessionTicket','_collaborationUIEventService','_textBubble','USER_NOT_INVITED_CODE','_memberService','_disabled','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','ISocketService','init','symbol','getLocalCacheKey','DeleteRangeMoveLeftCommandId','_assignedColors','getActiveSheet','getCollabEntity$','MOBILE_HAS_BEEN_BOUND','_anchor','enableFrontendLog','SheetCollabCursorShape','isArray','searchParams','M0\x200H16V16H0z','PAYMENT_CHANNEL_NOT_SUPPORT','_memberID','message','off-line-icon_clip0_910_343','_colorAssignService','setParam','path','code','invokeId','isTransformMutationFailure','RemoveColCommandId','getSheetId','collab-text-range-','isFormulaId','_refRangeService','stageInfo','REDEMPTION_CODE_NOT_STARTED','Error','_saveCache','DesktopCollaborationStatusDisplayController','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','use','handleIRemoveCol','map','color','LOGIN_FAILED','Disposable','assign','measureText','getCollabCursors$','unhandledrejection','_getMergeRange','BrowserCollaborationSocketService','_collaborationSessionService','eventID','undoState','_docStateChangeManagerService','PERMISSION_DENIED','handleDeleteRangeMoveUp','SetSelectionsOperation','useObservable','_initWindowErrorListener','getValue','APPLY_PERMISSION_DENIED','replaceDocRanges','ONLINE','deepClone','WebBrowserSingleActiveUnitService','url(#$1','onMouseMove','defineProperty','none','UPDATE_CURSOR','WebURLService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','deserializeRangeWithSheet','getColorFromTheme','closePath','_localStorageService','unit','transformMutationsWithChangeset','CURRENT_STATUS_CANNOT_OPERATE','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_ALREADY_BOUND','getAncestorScale','_handleLeaveEvent','NodePositionConvertToRectRange','IImageIoService','RevisionService','onPointerLeave$','PENDING','parseInt','MemberService','_handleJoinEvent','data','DOC_RANGE_TYPE','PY_RUNTIME_SCRIPT_ERROR','getSheetObject','random','currentColor','memberID','SessionStatus','0\x200\x2017\x2016','releaseFormulaLimitUrl','requireSession','body','APPLY_REVISION_CONFILICT','_labelPosition','DATA_SOURCE_TOO_LARGE','moveTo','onPointerEnter$','split','registerRenderModule','_cachedData','_entities','getMember','createSocket','collabStatus.fetchMiss','doc.mutation.rich-text-editing','now','_hover','getStateCache','USER_IS_ANONYMOUS','WebSocketService','_dataLoaderService','EMAIL_VERIFY_CODE_MISMATCH','mutations','getColor','_initEntityListener','ENTITLE_USE_COUPON_NOT_1ST_TRADE','addClipboardHook','getViewport','_name','SetFormulaCalculationNotificationMutation','_collabCursorState$','CollaborationDataLoaderController','entityInit$','1054509vWAwHs','urlChange$','session.collaboration-timeout','set','executeCommand','registerComponent','editingUnit','filename','transformIMECache','substring','executionId','_docClipboardService','Warning','displayName','application/json','getVpScrollXYInfoByPosToVp','white','_removeCollabCursors','Injector','registerRefRange','transformRemoteChangeset','clearInterval','DataLoaderService','ranges','all','EMAIL_HAS_BEEN_BOUND','ENTITLE_COUPON_EXPIRED','switchMap','actions','_config','ThemeService','then','top','COMPLETION_FINISHED','_sheetSkeletonManagerService','_transformService','getParam','SetFormulaCalculationStartMutation','ITransformService','TOO_MANY_REQUESTS','roomMembers$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','length','SheetSkeletonManagerService','CollaborationSessionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initStatusComponent','flatMap','getMergeData','black','LOCAL_CACHE_INTERVAL','UNAUTHENTICATED','_transformPreviousActiveRange','CHANGESET_REVISION_CONFILICT','RichTextEditingMutation','INVITE_CODE_HAS_BEEN_UES','subscribeEvent','IConfigService','history','docStateChange$','collab-client.tooltip.reconnect','fillRule','current','collab-rect-range-','setItem','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','currentUsage','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isFormulaString','...','YUUMI_AI_RUN_FAILED','_initUnhandledRejectionListener','dirtyRanges','TEXT','roomMembers','HTTPService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getSkeleton','SYNCED','CanceledError','RefRangeService','RemoteUniscriptService','_localCacheService','ILogService','entries','SheetsSelectionsService','removeEventListener','/universer-api/license/formula/limit/start','getOwnPropertyDescriptor','setTimeout','DEFAULT_WS_SESSION_TICKET_URL','complete','_color','collabStatus.notCollab','ColorKit','cursorInfo$','_setupBeforeClosingHandler','_releaseCalculationLimit','handleInsertRow','DocCollaborationEntity','type','_startDocCollabCursor','UNRECOGNIZED','unload','521919peNOJJ','_transformHistoryAndStateStack','/universer-api/license/formula/limit/done','_setupSubUnitSync','useRef','_beforeCloseService','colno','ILocalCacheService','pushState','addObjects','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_pollingInterval','subunit','_collaborationController','_messageService','_scheduleHeartbeat','collaboration.single-unit.warning','_handleHover','attrs','onLocalMutation','currentTheme$','NOT_FOUND','_roomMembers$','_onRefRangeChange','_scene','_docTransformStateCacheService','_hovered','limitInfo','dispose$','toRgbString','red.300','UNIVER_DOC','collaboration.offline-data-not-saved','_toggleOnline','INVALID_INVITE_CODE','LICENSE_DISTRO_REJECTED','delete','fillText','_unitOnClients','CONFLICT','children','getRelativeToViewportCoord','permission.title','LocaleService','Workbook','skeleton','textRanges','getDocRanges','m2Prime','getUnit','getUniverSheetInstance','_imageIoService','LOCAL_CACHE_INTERVAL_KEY','_commandService','APPLY_REJECT','_httpService','2786832fLhfMN','IDocClipboardService','#FFF','fromEventSubject','COLORS','CollaborationUIEventId','_maxFormulaLimit','SetTextSelectionsOperation','setAlpha','REDEMPTION_CODE_FULLY_REDEEMED','_showGuardMessage','purple.300','override','unitID','_getScale','\x20at\x20','setConfig','next','forwardRef','startRow','UNIVER_SHEET','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','Tools','/universer-api/license/formula/limit/status','AUTHORIZE_CODE_ILLEGAL','YUUMI_ALL_TABLES_IS_INVALID','Rectangle','range','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformChange$','hide','RegularPolygon','_startCalculationLimit','8WwPpQQ','socket$','text','session.connection-failed','_ensureSubject','makeDirty','_updateURLWithCurrentState','startsWith','getRenderById','dispose','reconnect','_configService','_docTransformSelectionsService','setStateCache','_anchorDot','NodePositionConvertToCursor','stack','filter','Rect','_scheduleSaving','_updateLocalCursor','_initEvent','search','_univerInstanceService','shareReplay','_init','startFormulaLimitUrl','source','getCurrent','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','DocStateChangeManagerService','YUUMI_RATE_OVER_LIMIT','OnLineIcon','colorChannel1','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentSelections','_initCommandExecutedListener','DocIMEInputManagerService','redoState','OffLineIcon','UNDEFINED','UniverCollaborationClientUIPlugin','off-line-icon','_online','_cursorInfo$','unsubscribe','SOCKET_FAILED_RETRY','bottom','disposeUnit','RxDisposable','cursorInfo','handleIRemoveRow','ALREADY_EXISTS','findNodePositionByCharIndex','_render','_getFormulaLimitStatus','Inject','_logService','max','_transformUndoRedoStack','post','pipe','event$','beginPath','_updateCollabCursors','MessageType','CollaborationEvent','_handleEvent','1em','disableLocalCache','runOnServer','has','onRendered','InsertRangeMoveRightCommandId','univerjs-icon\x20univerjs-icon-','_initCommandInterceptor','height','getFocusedUnit','endRow','combineLatest','disposeWithMe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','MUTATION','_cursorShapes','_checkCalculationAvailable','pluginName','asObservable','selection','debounceTime','_doCreateSocket','currentSkeleton$','setShapeProps','AWAITING_WITH_PENDING','forEach','LOGIN_TOKEN_PROCESSING_FAILED','fillStyle','replace','_revisionService','collaboration.closeRoom','_backgroundColor','IMessageService','_initStatusListener','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','parse','SUBMIT_CHANGESET_TIMEOUT','trim','CollaborationStatus','_range','CollaborationSocketService','_docSkeletonManagerService','merge','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','ERROR_AGAIN','saveImage','_uiPartsService','http://www.w3.org/2000/svg','getTypeOfUnitDisposed$','m1Prime','EffectRefRangId','ISnapshotServerService','_initUserListener','handleDeleteRangeMoveLeft','createElement','InsertRowCommandId','unshift','_getAnchorBounding'];_0x21c2=function(){return _0x5d60ef;};return _0x21c2();}var Xe=Object[_0x282411(0x2bc)],Ke=(_0x59f46b,_0x164b88,_0x53e472)=>_0x164b88 in _0x59f46b?Xe(_0x59f46b,_0x164b88,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53e472}):_0x59f46b[_0x164b88]=_0x53e472,_=(_0x36b1e5,_0x51c410,_0x1cd012)=>Ke(_0x36b1e5,typeof _0x51c410!=_0x282411(0x27d)?_0x51c410+'':_0x51c410,_0x1cd012);Object[_0x282411(0x2bc)](exports,Symbol['toStringTag'],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x33d99a,..._0x5eee92}){const _0x11b8e1=_0x282411,{icon:_0x1e5153,id:_0x461ce3,className:_0x5c6bdd,extend:_0x1f4573,..._0xa4a7a5}=_0x5eee92,_0x41fa7f=(_0x11b8e1(0x13e)+_0x461ce3+'\x20'+(_0x5c6bdd||''))[_0x11b8e1(0x15f)](),_0x45fdaa=A[_0x11b8e1(0x9d)]('_'+Qe());return $e(_0x1e5153,''+_0x461ce3,{'defIds':_0x1e5153['defIds'],'idSuffix':_0x45fdaa[_0x11b8e1(0x33d)]},{'ref':_0x33d99a,'className':_0x41fa7f,..._0xa4a7a5},_0x1f4573);}function $e(_0x293b45,_0x41f8ec,_0x4d9e51,_0x3d1537,_0x1cacf8){const _0x110e3e=_0x282411;return A[_0x110e3e(0x170)](_0x293b45[_0x110e3e(0x224)],{'key':_0x41f8ec,...Je(_0x293b45,_0x4d9e51,_0x1cacf8),..._0x3d1537},(Ze(_0x293b45,_0x4d9e51)['children']||[])['map']((_0x226a14,_0x48298a)=>$e(_0x226a14,_0x41f8ec+'-'+_0x293b45[_0x110e3e(0x224)]+'-'+_0x48298a,_0x4d9e51,void 0x0,_0x1cacf8)));}function Je(_0x21dd33,_0x39d6fc,_0x46d377){const _0x1a9551=_0x282411,_0x1f4ee7={..._0x21dd33[_0x1a9551(0xab)]};_0x46d377!=null&&_0x46d377[_0x1a9551(0x115)]&&_0x1f4ee7[_0x1a9551(0x216)]===_0x1a9551(0x115)&&(_0x1f4ee7[_0x1a9551(0x216)]=_0x46d377[_0x1a9551(0x115)]),_0x21dd33['tag']==='mask'&&_0x1f4ee7['id']&&(_0x1f4ee7['id']=_0x1f4ee7['id']+_0x39d6fc[_0x1a9551(0x26e)]),Object[_0x1a9551(0x85)](_0x1f4ee7)[_0x1a9551(0x153)](([_0x361f9c,_0x46329d])=>{const _0x36aec7=_0x1a9551;_0x361f9c==='mask'&&typeof _0x46329d==_0x36aec7(0x195)&&(_0x1f4ee7[_0x361f9c]=_0x46329d[_0x36aec7(0x156)](/url\(#(.*)\)/,_0x36aec7(0x2ba)+_0x39d6fc[_0x36aec7(0x26e)]+')'));});const {defIds:_0x1f840d}=_0x39d6fc;return!_0x1f840d||_0x1f840d[_0x1a9551(0x329)]===0x0||(_0x21dd33[_0x1a9551(0x224)]===_0x1a9551(0x29f)&&_0x1f4ee7[_0x1a9551(0x204)]&&(_0x1f4ee7['xlink:href']=_0x1f4ee7['xlink:href']+_0x39d6fc[_0x1a9551(0x26e)]),Object[_0x1a9551(0x85)](_0x1f4ee7)[_0x1a9551(0x153)](([_0x2076a1,_0x1a5deb])=>{const _0x3df707=_0x1a9551;typeof _0x1a5deb==_0x3df707(0x195)&&(_0x1f4ee7[_0x2076a1]=_0x1a5deb['replace'](/url\(#(.*)\)/,_0x3df707(0x2ba)+_0x39d6fc['idSuffix']+')'));})),_0x1f4ee7;}function Ze(_0x1c3dc4,_0x391b31){const _0x5db3eb=_0x282411;var _0x21ede3;const {defIds:_0x21d5a6}=_0x391b31;return!_0x21d5a6||_0x21d5a6[_0x5db3eb(0x329)]===0x0?_0x1c3dc4:_0x1c3dc4[_0x5db3eb(0x224)]===_0x5db3eb(0x18e)&&((_0x21ede3=_0x1c3dc4[_0x5db3eb(0xc1)])!=null&&_0x21ede3[_0x5db3eb(0x329)])?{..._0x1c3dc4,'children':_0x1c3dc4[_0x5db3eb(0xc1)][_0x5db3eb(0x2a1)](_0x382135=>typeof _0x382135[_0x5db3eb(0xab)]['id']=='string'&&_0x21d5a6&&_0x21d5a6[_0x5db3eb(0x1e1)](_0x382135[_0x5db3eb(0xab)]['id'])?{..._0x382135,'attrs':{..._0x382135[_0x5db3eb(0xab)],'id':_0x382135['attrs']['id']+_0x391b31[_0x5db3eb(0x26e)]}}:_0x382135)}:_0x1c3dc4;}function Qe(){const _0x311bb8=_0x282411;return Math[_0x311bb8(0x2d8)]()[_0x311bb8(0x24f)](0x24)[_0x311bb8(0x308)](0x2,0x8);}pe['displayName']='UniverIcon';const et={'tag':_0x282411(0x1a5),'attrs':{'xmlns':_0x282411(0x169),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x282411(0x138),'height':_0x282411(0x138)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x282411(0x290),'attrs':{'stroke':_0x282411(0x2d9),'d':_0x282411(0x27a),'strokeLinecap':_0x282411(0x1b6),'strokeLinejoin':_0x282411(0x1b6),'strokeWidth':1.2}}]},{'tag':_0x282411(0x18e),'attrs':{},'children':[{'tag':_0x282411(0x24a),'attrs':{'id':_0x282411(0x28d)},'children':[{'tag':_0x282411(0x290),'attrs':{'fill':_0x282411(0x30f),'d':_0x282411(0x289)}}]}]}],'defIds':[_0x282411(0x28d)]},xe=A[_0x282411(0xe3)](function(_0x1b314d,_0x21148c){const _0x2cc488=_0x282411;return A[_0x2cc488(0x170)](pe,Object[_0x2cc488(0x2a5)]({},_0x1b314d,{'id':_0x2cc488(0x11e),'ref':_0x21148c,'icon':et}));});xe[_0x282411(0x30c)]=_0x282411(0x11b);const tt={'tag':_0x282411(0x1a5),'attrs':{'xmlns':_0x282411(0x169),'fill':_0x282411(0x2bd),'viewBox':_0x282411(0x2dc),'width':'1em','height':_0x282411(0x138)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x282411(0x290),'attrs':{'stroke':_0x282411(0x2d9),'d':_0x282411(0x165),'strokeLinecap':_0x282411(0x1b6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x282411(0x18e),'attrs':{},'children':[{'tag':_0x282411(0x24a),'attrs':{'id':_0x282411(0x262)},'children':[{'tag':_0x282411(0x290),'attrs':{'fill':_0x282411(0x30f),'d':_0x282411(0x289),'transform':'translate(.97)'}}]}]}],'defIds':[_0x282411(0x262)]},Be=A[_0x282411(0xe3)](function(_0x1118d7,_0x175dab){const _0x2a176c=_0x282411;return A['createElement'](pe,Object[_0x2a176c(0x2a5)]({},_0x1118d7,{'id':_0x2a176c(0x22a),'ref':_0x175dab,'icon':tt}));});Be[_0x282411(0x30c)]=_0x282411(0x114);function st(_0x55a7a6){const _0xebef3b=_0x282411;switch(_0x55a7a6){case u['CollaborationStatus']['OFFLINE']:return _0xebef3b(0x24d);case u['CollaborationStatus'][_0xebef3b(0xc0)]:return'collabStatus.conflict';case u['CollaborationStatus'][_0xebef3b(0x223)]:return _0xebef3b(0x2eb);case u[_0xebef3b(0x160)]['NOT_COLLAB']:return _0xebef3b(0x8e);case u[_0xebef3b(0x160)][_0xebef3b(0x20d)]:case u[_0xebef3b(0x160)][_0xebef3b(0x152)]:return'collabStatus.syncing';case u['CollaborationStatus'][_0xebef3b(0x7f)]:case u['CollaborationStatus'][_0xebef3b(0x2d0)]:return'collabStatus.synced';}}function it(_0x3e2e5c){const _0x56172c=_0x282411,{status$:_0x326f35}=_0x3e2e5c,_0x59225a=O[_0x56172c(0x2b2)](_0x326f35,u[_0x56172c(0x160)]['NOT_COLLAB']),_0x11daae=O[_0x56172c(0x268)](a[_0x56172c(0xc4)]),_0x25c0f3=O[_0x56172c(0x268)](u[_0x56172c(0x32b)]),_0x1a7518=_0x59225a!==u['CollaborationStatus'][_0x56172c(0x217)],_0x5c00bf=_0x11daae['t'](st(_0x59225a)),_0x5cb995=_0x1a7518?M['jsx'](Be,{}):M[_0x56172c(0x23e)](xe,{}),_0x1b1e50=A[_0x56172c(0x198)](()=>{const _0x15a6be=_0x56172c;_0x1a7518||_0x25c0f3[_0x15a6be(0xfd)]();},[_0x1a7518,_0x25c0f3]);function _0x4aa493(){const _0x5b2135=_0x56172c;return M['jsxs'](_0x5b2135(0x1df),{'className':_0x5b2135(0x24b),'onClick':_0x1b1e50,'children':[M[_0x5b2135(0x23e)]('div',{'className':p[_0x5b2135(0x1c2)](_0x5b2135(0x1a8),{'univer-text-green-500':_0x1a7518,'univer-text-red-500':!_0x1a7518}),'children':_0x5cb995}),M[_0x5b2135(0x23e)](_0x5b2135(0x1df),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c00bf})]});}return _0x1a7518?_0x4aa493():M[_0x56172c(0x23e)](p[_0x56172c(0x1ab)],{'title':_0x11daae['t'](_0x56172c(0x33b)),'children':_0x4aa493()});}var nt=Object[_0x282411(0x89)],rt=(_0x2bde27,_0x4e1117,_0x546eac,_0x493257)=>{const _0x2bec27=_0x282411;for(var _0x1fb7c9=_0x493257>0x1?void 0x0:_0x493257?nt(_0x4e1117,_0x546eac):_0x4e1117,_0x307a30=_0x2bde27[_0x2bec27(0x329)]-0x1,_0x3e21c6;_0x307a30>=0x0;_0x307a30--)(_0x3e21c6=_0x2bde27[_0x307a30])&&(_0x1fb7c9=_0x3e21c6(_0x1fb7c9)||_0x1fb7c9);return _0x1fb7c9;},K=(_0x4d0be2,_0x521b78)=>(_0x5bff82,_0x447aa8)=>_0x521b78(_0x5bff82,_0x447aa8,_0x4d0be2);exports[_0x282411(0x29d)]=class extends a[_0x282411(0x2a4)]{constructor(_0x58d932,_0x2d4b94,_0x1d9de1,_0x8f24){const _0x1bb9f9=_0x282411;super(),_(this,_0x1bb9f9(0x26c),new I[(_0x1bb9f9(0x1d6))](u[_0x1bb9f9(0x160)]['NOT_COLLAB'])),(this[_0x1bb9f9(0x10a)]=_0x58d932,this[_0x1bb9f9(0x1ff)]=_0x2d4b94,this['_collaborationController']=_0x1d9de1,this['_uiPartsService']=_0x8f24,this[_0x1bb9f9(0x32d)](),this[_0x1bb9f9(0x15b)]());}[_0x282411(0x15b)](){const _0x5b4151=_0x282411;this[_0x5b4151(0x144)](this[_0x5b4151(0x10a)][_0x5b4151(0x255)]['pipe'](I[_0x5b4151(0x31a)](()=>{const _0x1d1d3f=_0x5b4151,_0x2de37e=this[_0x1d1d3f(0x10a)][_0x1d1d3f(0x141)]();return _0x2de37e?this['_collaborationController'][_0x1d1d3f(0x282)](_0x2de37e[_0x1d1d3f(0x218)]()):I['of'](null);}),I['switchMap'](_0x496c7d=>_0x496c7d?_0x496c7d[_0x5b4151(0x1a2)]:I['of'](u[_0x5b4151(0x160)][_0x5b4151(0x26a)])))[_0x5b4151(0x267)](_0x43afd7=>{const _0x35e30a=_0x5b4151;this[_0x35e30a(0x26c)][_0x35e30a(0xe2)](_0x43afd7);}));}[_0x282411(0x32d)](){const _0x4b919d=_0x282411;this[_0x4b919d(0x144)](this[_0x4b919d(0x168)][_0x4b919d(0x304)](O[_0x4b919d(0x244)]['HEADER_MENU'],()=>O[_0x4b919d(0x20c)](ot({'status$':this['_status$'][_0x4b919d(0x14c)]()}),this['_injector'])));}},exports[_0x282411(0x29d)]=rt([K(0x0,a[_0x282411(0x200)]),K(0x1,a[_0x282411(0x12c)](a[_0x282411(0x311)])),K(0x2,a['Inject'](u['CollaborationController'])),K(0x3,O[_0x282411(0x1a4)])],exports[_0x282411(0x29d)]);function ot(_0x5e5946){const {status$:_0xea819c}=_0x5e5946;return function(){const _0x1e1669=_0xff45;return M[_0x1e1669(0x23e)](it,{'status$':_0xea819c});};}const Oe=a['createIdentifier'](_0x282411(0x25f));var at=Object[_0x282411(0x89)],ct=(_0x31f5b3,_0x109ba2,_0x15626a,_0x52561e)=>{const _0x31b033=_0x282411;for(var _0x3ba2a7=_0x52561e>0x1?void 0x0:_0x52561e?at(_0x109ba2,_0x15626a):_0x109ba2,_0x108c0e=_0x31f5b3[_0x31b033(0x329)]-0x1,_0x120d3b;_0x108c0e>=0x0;_0x108c0e--)(_0x120d3b=_0x31f5b3[_0x108c0e])&&(_0x3ba2a7=_0x120d3b(_0x3ba2a7)||_0x3ba2a7);return _0x3ba2a7;},Y=(_0x1175ea,_0x2103ce)=>(_0x1edb04,_0x57673c)=>_0x2103ce(_0x1edb04,_0x57673c,_0x1175ea);exports['CollaborationDataLoaderController']=class extends a[_0x282411(0x125)]{constructor(_0x1eda4d,_0x34b2b8,_0x5ea2f0,_0x4ce485,_0x1977b3){const _0x103641=_0x282411;super(),this[_0x103641(0x263)]=_0x1eda4d,this[_0x103641(0x12d)]=_0x34b2b8,this[_0x103641(0xce)]=_0x5ea2f0,this[_0x103641(0x2f2)]=_0x4ce485,_0x1977b3?_0x1977b3==null||_0x1977b3[_0x103641(0x269)]()[_0x103641(0x31e)](()=>this[_0x103641(0x10c)]()):(this[_0x103641(0x12d)]['debug']('[CollaborationDataLoaderController]',_0x103641(0x2c0)),this[_0x103641(0x10c)]());}async[_0x282411(0x10c)](){const _0x3b3470=_0x282411,_0x13bb60=this['_urlService'][_0x3b3470(0x323)]('unit'),_0x2c1723=this[_0x3b3470(0x263)]['getParam']('type'),_0x387b14=this[_0x3b3470(0x263)]['getParam'](_0x3b3470(0xa5));if(!_0x13bb60||!_0x2c1723){this[_0x3b3470(0x12d)]['debug'](_0x3b3470(0x1b1),_0x3b3470(0x32c));return;}const _0x1fdf6b=await this[_0x3b3470(0x2f2)]['loadUnit'](_0x13bb60,Number(_0x2c1723),_0x387b14);_0x1fdf6b&&_0x1fdf6b instanceof a[_0x3b3470(0xc5)]&&this['_setupSubUnitSync'](_0x1fdf6b);}async[_0x282411(0x9c)](_0x170e74){const _0x3a3e55=_0x282411;await this[_0x3a3e55(0x177)](_0x170e74),_0x170e74['activeSheet$'][_0x3a3e55(0x131)](I['takeUntil'](this[_0x3a3e55(0xb5)]))[_0x3a3e55(0x267)](_0x2ff8ef=>{const _0x3da561=_0x3a3e55;_0x2ff8ef&&this[_0x3da561(0xf9)](_0x2ff8ef);}),this[_0x3a3e55(0x263)][_0x3a3e55(0x300)][_0x3a3e55(0x131)](I[_0x3a3e55(0x1d8)](this[_0x3a3e55(0xb5)]))[_0x3a3e55(0x267)](()=>this[_0x3a3e55(0x177)](_0x170e74));}[_0x282411(0xf9)](_0x280379,_0x27cabb=!0x1){const _0x3e0e78=_0x282411,_0x4bd587=this[_0x3e0e78(0x263)][_0x3e0e78(0x323)]('subunit');_0x280379[_0x3e0e78(0x295)]()!==_0x4bd587&&this[_0x3e0e78(0x263)]['setParam'](_0x3e0e78(0xa5),_0x280379['getSheetId'](),_0x27cabb);}async[_0x282411(0x177)](_0x1a0c0c){const _0x5bd22b=_0x282411;var _0xf3529b;const _0x38f904=this[_0x5bd22b(0x263)][_0x5bd22b(0x323)](_0x5bd22b(0xa5));if(!_0x38f904||!_0x1a0c0c[_0x5bd22b(0x1fd)](_0x38f904)){const _0x509265=_0x1a0c0c['getUnhiddenWorksheets']()[0x0],_0x4e1109=_0x1a0c0c[_0x5bd22b(0x1fd)](_0x509265);if(!_0x4e1109)return;this[_0x5bd22b(0xf9)](_0x4e1109,!0x0),await this[_0x5bd22b(0xce)][_0x5bd22b(0x303)](v[_0x5bd22b(0x1bd)]['id'],{'unitId':_0x1a0c0c['getUnitId'](),'subUnitId':_0x509265});return;}((_0xf3529b=_0x1a0c0c[_0x5bd22b(0x281)]())==null?void 0x0:_0xf3529b[_0x5bd22b(0x295)]())!==_0x38f904&&await this['_commandService'][_0x5bd22b(0x303)](v[_0x5bd22b(0x1bd)]['id'],{'unitId':_0x1a0c0c[_0x5bd22b(0x218)](),'subUnitId':_0x38f904});}},exports[_0x282411(0x2fd)]=ct([Y(0x0,Oe),Y(0x1,a[_0x282411(0x84)]),Y(0x2,a[_0x282411(0x258)]),Y(0x3,a[_0x282411(0x12c)](u[_0x282411(0x315)])),Y(0x4,a['Optional'](qe['IRemoteInstanceService']))],exports[_0x282411(0x2fd)]);var lt=Object['getOwnPropertyDescriptor'],_t=(_0x53bb92,_0x2ab08d,_0x10fb12,_0x20d71b)=>{const _0x5a1929=_0x282411;for(var _0x5f39e7=_0x20d71b>0x1?void 0x0:_0x20d71b?lt(_0x2ab08d,_0x10fb12):_0x2ab08d,_0x4490ec=_0x53bb92[_0x5a1929(0x329)]-0x1,_0x4693bc;_0x4490ec>=0x0;_0x4490ec--)(_0x4693bc=_0x53bb92[_0x4490ec])&&(_0x5f39e7=_0x4693bc(_0x5f39e7)||_0x5f39e7);return _0x5f39e7;},De=(_0x5052d7,_0x2b843c)=>(_0xeff92,_0x4f0937)=>_0x2b843c(_0xeff92,_0x4f0937,_0x5052d7);let me=class extends a[_0x282411(0x125)]{constructor(_0x4d6853,_0x37ea84){const _0x28e7ec=_0x282411;super(),this[_0x28e7ec(0x30a)]=_0x4d6853,this['_imageIoService']=_0x37ea84,this[_0x28e7ec(0x10c)]();}[_0x282411(0x10c)](){const _0x2f46d3=_0x282411,_0x2b4641=this;this['disposeWithMe'](this[_0x2f46d3(0x30a)][_0x2f46d3(0x2f8)]({'onBeforePasteImage':async _0x19b163=>{const _0x5c3d39=_0x2f46d3,_0xd1ddf6=await _0x2b4641[_0x5c3d39(0xcc)][_0x5c3d39(0x167)](_0x19b163);return _0xd1ddf6?{'source':_0xd1ddf6[_0x5c3d39(0x10e)],'imageSourceType':_0xd1ddf6[_0x5c3d39(0x1db)]}:null;}}));}};me=_t([De(0x0,T[_0x282411(0xd2)]),De(0x1,ze[_0x282411(0x2cd)])],me);const Ne=[_0x282411(0xdc),'jiqing.500','green.600',_0x282411(0xb7),_0x282411(0x1f2),_0x282411(0x23c)];class Re extends a[_0x282411(0x2a4)]{constructor(){const _0xf5effa=_0x282411;super(...arguments),_(this,_0xf5effa(0x280),new Map()),_(this,_0xf5effa(0x245),0x0);}[_0x282411(0x1e8)](_0x1ff3c0){const _0x14a118=_0x282411;if(this['_assignedColors']['has'](_0x1ff3c0))return this[_0x14a118(0x280)][_0x14a118(0x193)](_0x1ff3c0);const _0x1973dc=Ne[this[_0x14a118(0x245)]];return this[_0x14a118(0x245)]=(this['_colorIndex']+0x1)%Ne['length'],this[_0x14a118(0x280)][_0x14a118(0x302)](_0x1ff3c0,_0x1973dc),_0x1973dc;}}function Fe(_0x3d6b59){const _0x4e0c46=_0x282411;let _0x3c7477='';for(const _0x4bd140 of _0x3d6b59){const {startOffset:_0x10b433,endOffset:_0x2d9d11,isActive:_0x43090b,rangeType:_0x5b67db,segmentId:_0x59f82f,segmentPage:_0x24f0da}=_0x4bd140;_0x3c7477[_0x4e0c46(0x329)]&&(_0x3c7477+=','),_0x3c7477+=_0x10b433+':'+_0x2d9d11+':'+(_0x43090b?'1':'0')+':'+_0x5b67db+':'+_0x59f82f+':'+_0x24f0da;}return _0x3c7477;}function ht(_0x2ef7b9){const _0x41ce83=_0x282411,_0x4e5be1=_0x2ef7b9[_0x41ce83(0x2e5)](','),_0x1ae2a7=[];for(const _0x349e6f of _0x4e5be1){const [_0x2c3aa6,_0x35d26d,_0x53db9e,_0x18e93a,_0x497197,_0x392dae]=_0x349e6f[_0x41ce83(0x2e5)](':');_0x1ae2a7[_0x41ce83(0x213)]({'startOffset':Number(_0x2c3aa6),'endOffset':Number(_0x35d26d),'collapsed':_0x2c3aa6===_0x35d26d,'isActive':_0x53db9e==='1','rangeType':_0x18e93a===a[_0x41ce83(0x2d5)][_0x41ce83(0x7a)]?a[_0x41ce83(0x2d5)][_0x41ce83(0x7a)]:a[_0x41ce83(0x2d5)]['RECT'],'segmentId':typeof _0x497197==_0x41ce83(0x195)?String(_0x497197):'','segmentPage':Number(_0x392dae!=null?_0x392dae:-0x1)});}return _0x1ae2a7['some'](_0x2a45b9=>_0x2a45b9['isActive'])||(_0x1ae2a7[0x0]['isActive']=!0x0),_0x1ae2a7;}class be extends a[_0x282411(0x125)]{constructor(){const _0x50e758=_0x282411;super(...arguments),_(this,'_collabCursorState$',new I[(_0x50e758(0x1d6))](null)),_(this,_0x50e758(0x237),this['_collabCursorState$']['asObservable']());}[_0x282411(0x25e)](_0x4c393c){const _0x327d85=_0x282411,{unitID:_0x4f7f4f,memberID:_0x46afb6,textRanges:_0x3ad83d}=_0x4c393c,_0x83d0e5=Fe(_0x3ad83d);if(_0x83d0e5==='')return;const _0x5a571b={'unitID':_0x4f7f4f,'memberID':_0x46afb6,'selection':_0x83d0e5};this[_0x327d85(0x2fc)][_0x327d85(0xe2)](_0x5a571b);}}var ut=Object['getOwnPropertyDescriptor'],It=(_0x101924,_0x4aaa81,_0x1d9347,_0x2e8fd3)=>{const _0x4950d6=_0x282411;for(var _0x31169d=_0x2e8fd3>0x1?void 0x0:_0x2e8fd3?ut(_0x4aaa81,_0x1d9347):_0x4aaa81,_0x1deea0=_0x101924[_0x4950d6(0x329)]-0x1,_0x43e99d;_0x1deea0>=0x0;_0x1deea0--)(_0x43e99d=_0x101924[_0x1deea0])&&(_0x31169d=_0x43e99d(_0x31169d)||_0x31169d);return _0x31169d;},U=(_0x3ac65b,_0x1df56b)=>(_0x4e4d80,_0x4a8824)=>_0x1df56b(_0x4e4d80,_0x4a8824,_0x3ac65b);const St=0x12c,dt=0x64;let ve=class extends a[_0x282411(0x125)]{constructor(_0x30139e,_0x275475,_0x3f712d,_0x26599a,_0x2718ad,_0x4bd8a3,_0x544736,_0x1b825f,_0x412558){const _0x563a88=_0x282411;super(),_(this,_0x563a88(0x11f),!0x1),_(this,'_init',!0x1),_(this,_0x563a88(0x120),new I[(_0x563a88(0x1d6))](new Map())),_(this,_0x563a88(0x90),this[_0x563a88(0x120)][_0x563a88(0x14c)]()),_(this,_0x563a88(0xaf),new I[(_0x563a88(0x1d6))]([])),_(this,_0x563a88(0x327),this[_0x563a88(0xaf)]['pipe'](I[_0x563a88(0x14e)](St))),_(this,_0x563a88(0x107),a[_0x563a88(0x24c)](_0x326467=>{const _0x29e044=_0x563a88,_0x73c39c={'eventID':g[_0x29e044(0x136)][_0x29e044(0x2be)],'data':{'unitID':this[_0x29e044(0xde)],'memberID':this[_0x29e044(0x1f5)][_0x29e044(0x19c)](),'selection':Fe(_0x326467)}};this[_0x29e044(0x1f5)][_0x29e044(0x22c)](_0x73c39c,this[_0x29e044(0xde)]);},dt)),(this['unitID']=_0x30139e,this[_0x563a88(0x1f5)]=_0x275475,this[_0x563a88(0x1ff)]=_0x3f712d,this[_0x563a88(0x28e)]=_0x26599a,this[_0x563a88(0x278)]=_0x2718ad,this[_0x563a88(0x1d4)]=_0x4bd8a3,this[_0x563a88(0x322)]=_0x544736,this[_0x563a88(0x10a)]=_0x1b825f,this['_commandService']=_0x412558);}get['cursorInfo'](){const _0x291010=_0x282411;return this['_cursorInfo$'][_0x291010(0x2b4)]();}get[_0x282411(0x7b)](){const _0x1470f6=_0x282411;return this['_roomMembers$'][_0x1470f6(0x2b4)]();}[_0x282411(0xfc)](){const _0x10a6c8=_0x282411;super['dispose'](),this[_0x10a6c8(0x120)][_0x10a6c8(0xe2)](new Map()),this[_0x10a6c8(0x120)][_0x10a6c8(0x8c)](),this['_roomMembers$'][_0x10a6c8(0xe2)]([]),this[_0x10a6c8(0xaf)][_0x10a6c8(0x8c)]();}['init'](){const _0x21f9c1=_0x282411;this['_init']||(this[_0x21f9c1(0x10c)]=!0x0,this[_0x21f9c1(0x1f5)][_0x21f9c1(0x20f)][_0x21f9c1(0x131)](I['takeUntil'](this[_0x21f9c1(0xb5)]))[_0x21f9c1(0x267)](_0x4c197a=>{const _0x48942d=_0x21f9c1;_0x4c197a===u[_0x48942d(0x2db)][_0x48942d(0x2b7)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x21f9c1(0x132)][_0x21f9c1(0x131)](I['takeUntil'](this['dispose$']))['subscribe'](_0x45ab28=>{const _0x3cd1cf=_0x21f9c1,_0x4ffaeb=_0x45ab28[_0x3cd1cf(0x2ac)];_0x4ffaeb===g[_0x3cd1cf(0x136)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x45ab28),_0x4ffaeb===g[_0x3cd1cf(0x136)]['USERS_LEAVE']&&this[_0x3cd1cf(0x111)](_0x45ab28);}),this[_0x21f9c1(0x144)](this['_commandService'][_0x21f9c1(0x1b7)](_0x30fe48=>{const _0x2d6a5f=_0x21f9c1,_0x2f339b=_0x30fe48[_0x2d6a5f(0x250)];_0x2f339b!=null&&this[_0x2d6a5f(0x11f)]&&_0x30fe48['id']===V[_0x2d6a5f(0xd8)]['id']&&_0x2f339b[_0x2d6a5f(0x205)]===this[_0x2d6a5f(0xde)]&&_0x2f339b['isEditing']===!0x1&&_0x2f339b[_0x2d6a5f(0x316)][_0x2d6a5f(0x329)]>0x0&&this[_0x2d6a5f(0x107)](_0x2f339b['ranges']);})),this[_0x21f9c1(0x1d4)][_0x21f9c1(0x237)][_0x21f9c1(0x131)](I[_0x21f9c1(0x1d8)](this[_0x21f9c1(0xb5)]))[_0x21f9c1(0x267)](_0x333648=>{const _0x4eee2d=_0x21f9c1;if((_0x333648==null?void 0x0:_0x333648['unitID'])!==this[_0x4eee2d(0xde)])return;const _0x123e4d={'eventID':g[_0x4eee2d(0x136)][_0x4eee2d(0x2be)],'data':_0x333648};this[_0x4eee2d(0x189)](_0x123e4d);}),this[_0x21f9c1(0x144)](this[_0x21f9c1(0xce)]['onCommandExecuted'](_0x58c404=>{const _0x33b3b3=_0x21f9c1;if(_0x58c404[_0x33b3b3(0x250)]==null)return;const _0x587e34=_0x58c404['params'];if(_0x58c404['id']!==V[_0x33b3b3(0x335)]['id']||_0x587e34[_0x33b3b3(0x205)]!==this[_0x33b3b3(0xde)])return;const _0x40540f={'id':_0x33b3b3(0x2ec),'params':_0x587e34},_0x49af2f=this[_0x33b3b3(0x126)];for(const [_0x1e848e,_0x7a3da0]of _0x49af2f){const _0x139241={'id':_0x33b3b3(0x2ec),'params':{'unitId':this[_0x33b3b3(0xde)],'actions':null,'textRanges':_0x7a3da0[_0x33b3b3(0x316)]}},_0x953c8e=this[_0x33b3b3(0x322)][_0x33b3b3(0x18a)](_0x40540f,_0x139241,!0x1);if(g[_0x33b3b3(0x293)](_0x953c8e))throw _0x953c8e[_0x33b3b3(0x19f)];_0x49af2f['set'](_0x1e848e,{..._0x7a3da0,'ranges':_0x953c8e[_0x33b3b3(0xc9)]['params'][_0x33b3b3(0xc7)]});}queueMicrotask(()=>{const _0x1465e8=_0x33b3b3;this['_cursorInfo$'][_0x1465e8(0xe2)](_0x49af2f);});})));}[_0x282411(0x189)](_0x14b7b8){const _0x4bdd72=_0x282411;var _0x9ea036,_0x2f0541;const {memberID:_0x21d5de,selection:_0x46f983}=_0x14b7b8[_0x4bdd72(0x2d4)],_0x2b3f31=ht(_0x46f983),_0x28538a=(_0x2f0541=(_0x9ea036=this[_0x4bdd72(0x278)]['getMember'](this[_0x4bdd72(0xde)],_0x21d5de))==null?void 0x0:_0x9ea036['name'])!=null?_0x2f0541:_0x4bdd72(0x1c6),_0x5cdf31={'color':this[_0x4bdd72(0x28e)][_0x4bdd72(0x1e8)](_0x21d5de),'name':_0x28538a,'ranges':_0x2b3f31},_0x2aa712=this['cursorInfo'];_0x2aa712['set'](_0x21d5de,_0x5cdf31),this['_cursorInfo$'][_0x4bdd72(0xe2)](_0x2aa712);}[_0x282411(0x111)](_0x5a1cf4){const _0x142f96=_0x282411,{memberID:_0x2e0c31}=_0x5a1cf4['data'],_0x4aaa12=this['cursorInfo'];_0x4aaa12[_0x142f96(0xbd)](_0x2e0c31),this[_0x142f96(0x120)][_0x142f96(0xe2)](_0x4aaa12);}[_0x282411(0xba)](){const _0x1e5027=_0x282411;var _0x436d05;if(this[_0x1e5027(0x11f)]=!0x0,((_0x436d05=this[_0x1e5027(0x10a)][_0x1e5027(0x141)]())==null?void 0x0:_0x436d05[_0x1e5027(0x218)]())!==this[_0x1e5027(0xde)])return;const _0x6214df=this[_0x1e5027(0x1ff)][_0x1e5027(0x193)](V['DocSelectionManagerService'])[_0x1e5027(0xc8)]();Array[_0x1e5027(0x287)](_0x6214df)&&_0x6214df[_0x1e5027(0x329)]>0x0&&this[_0x1e5027(0x107)](_0x6214df);}[_0x282411(0x22f)](){const _0x3d2ac6=_0x282411;this[_0x3d2ac6(0x11f)]=!0x1;}};ve=It([U(0x2,a[_0x282411(0x12c)](a[_0x282411(0x311)])),U(0x3,a['Inject'](Re)),U(0x4,a[_0x282411(0x12c)](u[_0x282411(0x2d2)])),U(0x5,a[_0x282411(0x12c)](be)),U(0x6,g[_0x282411(0x325)]),U(0x7,a[_0x282411(0x200)]),U(0x8,a[_0x282411(0x258)])],ve);var ft=Object[_0x282411(0x89)],mt=(_0x81a232,_0x4a9360,_0x4dcfa5,_0x5707c2)=>{const _0x27fe3c=_0x282411;for(var _0x135a8e=_0x5707c2>0x1?void 0x0:_0x5707c2?ft(_0x4a9360,_0x4dcfa5):_0x4a9360,_0x1f644c=_0x81a232[_0x27fe3c(0x329)]-0x1,_0x78c90f;_0x1f644c>=0x0;_0x1f644c--)(_0x78c90f=_0x81a232[_0x1f644c])&&(_0x135a8e=_0x78c90f(_0x135a8e)||_0x135a8e);return _0x135a8e;},w=(_0x4e23ec,_0x1bbfe9)=>(_0xa8f3b4,_0x2531cc)=>_0x1bbfe9(_0xa8f3b4,_0x2531cc,_0x4e23ec);const vt=0x12c,gt=0x64,Et=()=>{let _0x277e11=[],_0x427ba6=!0x1;return _0x313b2c=>{const _0xf8c59b=_0xff45;_0x277e11[_0xf8c59b(0x213)](_0x313b2c),_0x427ba6||(_0x427ba6=!0x0,setTimeout(()=>{const _0x42fb98=_0xf8c59b;_0x277e11[_0x42fb98(0x153)](_0x3fec66=>_0x3fec66()),_0x277e11=[],_0x427ba6=!0x1;}));};};let ge=class extends a[_0x282411(0x125)]{constructor(_0x318d62,_0x417003,_0x8cd552,_0x508ce9,_0x14fbd0,_0x1ced93,_0xe204e8,_0x3722bd){const _0x173c14=_0x282411;super(),_(this,_0x173c14(0x11f),!0x1),_(this,_0x173c14(0x10c),!0x1),_(this,_0x173c14(0x120),new I[(_0x173c14(0x1d6))](new Map())),_(this,'cursorInfo$',this[_0x173c14(0x120)][_0x173c14(0x14c)]()),_(this,_0x173c14(0xaf),new I[(_0x173c14(0x1d6))]([])),_(this,_0x173c14(0x327),this[_0x173c14(0xaf)][_0x173c14(0x131)](I[_0x173c14(0x14e)](vt))),_(this,_0x173c14(0x107),a[_0x173c14(0x24c)]((_0xfe448f,_0x1c52d9)=>{const _0x10f2d3=_0x173c14,_0x5e519c={'eventID':g[_0x10f2d3(0x136)][_0x10f2d3(0x2be)],'data':{'unitID':this['unitID'],'memberID':this[_0x10f2d3(0x1f5)][_0x10f2d3(0x19c)](),'selection':B[_0x10f2d3(0x1ac)](_0xfe448f,_0x1c52d9[_0x10f2d3(0xed)])}};this[_0x10f2d3(0x1f5)]['send'](_0x5e519c,this['unitID']);},gt)),(this['unitID']=_0x318d62,this[_0x173c14(0x1f5)]=_0x417003,this['_injector']=_0x8cd552,this[_0x173c14(0x28e)]=_0x508ce9,this[_0x173c14(0x278)]=_0x14fbd0,this[_0x173c14(0x10a)]=_0x1ced93,this[_0x173c14(0xce)]=_0xe204e8,this[_0x173c14(0x298)]=_0x3722bd);}get[_0x282411(0x126)](){const _0x414655=_0x282411;return this[_0x414655(0x120)][_0x414655(0x2b4)]();}get[_0x282411(0x7b)](){const _0x5e571=_0x282411;return this[_0x5e571(0xaf)][_0x5e571(0x2b4)]();}['dispose'](){const _0x3263bf=_0x282411;super['dispose'](),this[_0x3263bf(0x120)][_0x3263bf(0xe2)](new Map()),this[_0x3263bf(0x120)][_0x3263bf(0x8c)](),this[_0x3263bf(0xaf)][_0x3263bf(0xe2)]([]),this[_0x3263bf(0xaf)][_0x3263bf(0x8c)]();}['init'](){const _0x3c56d6=_0x282411;this['_init']||(this[_0x3c56d6(0x10c)]=!0x0,this['_session'][_0x3c56d6(0x20f)][_0x3c56d6(0x131)](I[_0x3c56d6(0x1d8)](this[_0x3c56d6(0xb5)]))[_0x3c56d6(0x267)](_0x527de6=>{const _0x3b3381=_0x3c56d6;_0x527de6===u[_0x3b3381(0x2db)][_0x3b3381(0x2b7)]?this[_0x3b3381(0xba)]():this[_0x3b3381(0x22f)]();}),this[_0x3c56d6(0x1f5)][_0x3c56d6(0x132)][_0x3c56d6(0x131)](I[_0x3c56d6(0x1d8)](this[_0x3c56d6(0xb5)]))[_0x3c56d6(0x267)](_0x34c23d=>{const _0x31a4a1=_0x3c56d6,_0x21bcb2=_0x34c23d['eventID'];_0x21bcb2===g[_0x31a4a1(0x136)][_0x31a4a1(0x2be)]&&this['_onCursorUpdate'](_0x34c23d),_0x21bcb2===g[_0x31a4a1(0x136)][_0x31a4a1(0x1cb)]&&this['_onCursorDelete'](_0x34c23d);}),this[_0x3c56d6(0xb0)](),this[_0x3c56d6(0x144)](this[_0x3c56d6(0xce)][_0x3c56d6(0x1b7)](_0x34fe83=>{const _0x11cce4=_0x3c56d6;if(this[_0x11cce4(0x11f)]&&_0x34fe83['id']===v[_0x11cce4(0x2b1)]['id']&&_0x34fe83[_0x11cce4(0x250)][_0x11cce4(0x205)]===this[_0x11cce4(0xde)]){const _0x46b08f=_0x34fe83[_0x11cce4(0x250)];this['_updateLocalCursor'](_0x46b08f[_0x11cce4(0x236)],_0x46b08f['selections'][0x0]);}})));}[_0x282411(0x189)](_0xbfbfa7){const _0x5ea96f=_0x282411;var _0x344c24,_0x32e788;const {memberID:_0x3e50d7,selection:_0x1346d1}=_0xbfbfa7[_0x5ea96f(0x2d4)],{sheetName:_0x14f0ac,range:_0x546ec2}=B[_0x5ea96f(0x2c1)](_0x1346d1),_0x25e755={'name':(_0x32e788=(_0x344c24=this[_0x5ea96f(0x278)][_0x5ea96f(0x2e9)](this[_0x5ea96f(0xde)],_0x3e50d7))==null?void 0x0:_0x344c24[_0x5ea96f(0x1e0)])!=null?_0x32e788:'Unknown\x20user','range':this[_0x5ea96f(0x2a9)](_0x14f0ac,_0x546ec2),'sheetID':_0x14f0ac,'color':this[_0x5ea96f(0x28e)]['assignAColorForMemberID'](_0x3e50d7),'selection':_0x1346d1},_0x3fe7d3=this[_0x5ea96f(0x126)];_0x3fe7d3[_0x5ea96f(0x302)](_0x3e50d7,_0x25e755),this[_0x5ea96f(0x120)]['next'](_0x3fe7d3);}[_0x282411(0x111)](_0x5c37c7){const _0xabf4b9=_0x282411,{memberID:_0x342302}=_0x5c37c7[_0xabf4b9(0x2d4)],_0x5d238a=this[_0xabf4b9(0x126)];_0x5d238a[_0xabf4b9(0xbd)](_0x342302),this[_0xabf4b9(0x120)][_0xabf4b9(0xe2)](_0x5d238a);}[_0x282411(0x2a9)](_0x6c7163,_0x7514d7){const _0x22ff96=_0x282411;var _0xd3d083,_0x2206af;const _0x567a39=(_0x2206af=(_0xd3d083=this[_0x22ff96(0x10a)][_0x22ff96(0xcb)](this[_0x22ff96(0xde)]))==null?void 0x0:_0xd3d083[_0x22ff96(0x1fd)](_0x6c7163))==null?void 0x0:_0x2206af[_0x22ff96(0x32f)]();return(_0x567a39==null?void 0x0:_0x567a39[_0x22ff96(0x1c7)](_0x9c95f=>a[_0x22ff96(0xec)][_0x22ff96(0x253)](_0x9c95f,_0x7514d7)))||_0x7514d7;}[_0x282411(0xb0)](){const _0x28146b=_0x282411,_0x50ce46=new a[(_0x28146b(0x179))](),_0x16dedd=Et(),_0x42e38a=()=>{const _0xae4dab=_0x28146b;_0x50ce46[_0xae4dab(0xfc)]();const _0x803c7b=(_0x351bbf,_0x395093,_0xedcbdd,_0x12cb77)=>{const _0x285b6e=_0xae4dab;let _0x3552f9=[];switch(_0x351bbf['id']){case v[_0x285b6e(0x16c)][_0x285b6e(0x27f)]:{_0x3552f9=v[_0x285b6e(0x16f)](_0x351bbf,_0x12cb77);break;}case v['EffectRefRangId'][_0x285b6e(0x246)]:{_0x3552f9=v[_0x285b6e(0x2b0)](_0x351bbf,_0x12cb77);break;}case v['EffectRefRangId']['InsertColCommandId']:{_0x3552f9=v['handleInsertCol'](_0x351bbf,_0x12cb77);break;}case v['EffectRefRangId'][_0x285b6e(0x241)]:{_0x3552f9=v['handleInsertRangeMoveDown'](_0x351bbf,_0x12cb77);break;}case v[_0x285b6e(0x16c)][_0x285b6e(0x13d)]:{_0x3552f9=v[_0x285b6e(0x252)](_0x351bbf,_0x12cb77);break;}case v[_0x285b6e(0x16c)][_0x285b6e(0x171)]:{_0x3552f9=v[_0x285b6e(0x93)](_0x351bbf,_0x12cb77);break;}case v[_0x285b6e(0x16c)][_0x285b6e(0x24e)]:{_0x3552f9=v[_0x285b6e(0x1c0)](_0x351bbf,_0x12cb77);break;}case v['EffectRefRangId'][_0x285b6e(0x294)]:{_0x3552f9=v[_0x285b6e(0x2a0)](_0x351bbf,_0x12cb77);break;}case v[_0x285b6e(0x16c)]['RemoveRowCommandId']:{_0x3552f9=v[_0x285b6e(0x127)](_0x351bbf,_0x12cb77);break;}}const _0x1c03ab=v['runRefRangeMutations'](_0x3552f9,_0x12cb77),_0x4676c8=this[_0x285b6e(0x126)][_0x285b6e(0x193)](_0x395093);if(_0x4676c8&&_0x1c03ab){const _0x19b656={..._0x4676c8,'range':_0x1c03ab};this[_0x285b6e(0x126)][_0x285b6e(0x302)](_0x395093,_0x19b656),_0x16dedd(()=>{const _0x9233ec=_0x285b6e,_0x1c4259=this[_0x9233ec(0x298)][_0x9233ec(0x312)](_0x1c03ab,_0x2a52a5=>(_0x1c4259[_0x9233ec(0xfc)](),_0x803c7b(_0x2a52a5,_0x395093,_0xedcbdd,_0x1c03ab)));_0x50ce46['add'](_0x1c4259);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x54bb5a,_0x51d682)=>{const _0x5ce9cf=_0xae4dab,{range:_0x4befc8,sheetID:_0x5b4cbc}=_0x54bb5a,_0x2b7eae=this[_0x5ce9cf(0x298)]['registerRefRange'](_0x4befc8,_0x4d73cf=>(_0x2b7eae['dispose'](),_0x803c7b(_0x4d73cf,_0x51d682,_0x5b4cbc,_0x4befc8)));_0x50ce46[_0x5ce9cf(0x17c)](_0x2b7eae);});};this[_0x28146b(0x144)](a['toDisposable'](this[_0x28146b(0x120)][_0x28146b(0x267)](()=>{_0x42e38a();})));}[_0x282411(0xba)](){const _0x30b8e4=_0x282411;var _0x40514e,_0x3c3e03;if(this[_0x30b8e4(0x11f)]=!0x0,((_0x40514e=this[_0x30b8e4(0x10a)][_0x30b8e4(0x141)]())==null?void 0x0:_0x40514e[_0x30b8e4(0x218)]())!==this[_0x30b8e4(0xde)])return;const _0x3d92eb=(_0x3c3e03=this[_0x30b8e4(0x1ff)][_0x30b8e4(0x193)](v[_0x30b8e4(0x86)])[_0x30b8e4(0x117)]())==null?void 0x0:_0x3c3e03[0x0],_0x323770=this[_0x30b8e4(0x10a)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x30b8e4(0xe5)])[_0x30b8e4(0x281)]();_0x3d92eb&&_0x323770&&this['_updateLocalCursor'](_0x323770['getSheetId'](),_0x3d92eb);}[_0x282411(0x22f)](){const _0x801e49=_0x282411;this[_0x801e49(0x11f)]=!0x1;}};ge=mt([w(0x2,a[_0x282411(0x12c)](a[_0x282411(0x311)])),w(0x3,a[_0x282411(0x12c)](Re)),w(0x4,a[_0x282411(0x12c)](u[_0x282411(0x2d2)])),w(0x5,a[_0x282411(0x200)]),w(0x6,a['ICommandService']),w(0x7,a[_0x282411(0x12c)](v[_0x282411(0x81)]))],ge);var Ct=Object[_0x282411(0x89)],Tt=(_0x303dab,_0x4be56f,_0x11fd10,_0x40b905)=>{const _0x31c5d3=_0x282411;for(var _0x17868a=_0x40b905>0x1?void 0x0:_0x40b905?Ct(_0x4be56f,_0x11fd10):_0x4be56f,_0x4c429a=_0x303dab[_0x31c5d3(0x329)]-0x1,_0x1e3a9c;_0x4c429a>=0x0;_0x4c429a--)(_0x1e3a9c=_0x303dab[_0x4c429a])&&(_0x17868a=_0x1e3a9c(_0x17868a)||_0x17868a);return _0x17868a;},ce=(_0x2ee96c,_0x5e38c2)=>(_0x3a05af,_0x52165b)=>_0x5e38c2(_0x3a05af,_0x52165b,_0x2ee96c);let F=class extends a['RxDisposable']{constructor(_0x388a97,_0x5675a8,_0x4a74e5){const _0x5a6468=_0x282411;super(),_(this,_0x5a6468(0x2e8),new Map()),_(this,_0x5a6468(0x256),new I['Subject']()),(this[_0x5a6468(0x10a)]=_0x388a97,this['_injector']=_0x5675a8,this[_0x5a6468(0x21e)]=_0x4a74e5,this[_0x5a6468(0x10c)]());}[_0x282411(0xfc)](){const _0x49e96d=_0x282411;super[_0x49e96d(0xfc)](),this[_0x49e96d(0x256)]['complete'](),this['_entities'][_0x49e96d(0x153)](_0x4b5763=>_0x4b5763['dispose']());}[_0x282411(0x2a7)](_0x105994){const _0x362197=_0x282411;return this['_entities'][_0x362197(0x13b)](_0x105994)?this[_0x362197(0x2e8)]['get'](_0x105994)[_0x362197(0x90)]:this[_0x362197(0x256)]['pipe'](I['filter'](_0x287c25=>_0x287c25[_0x362197(0xde)]===_0x105994),I[_0x362197(0x31a)](_0x11e1c8=>_0x11e1c8[_0x362197(0x90)]));}[_0x282411(0x10c)](){const _0x1a06d1=_0x282411;this[_0x1a06d1(0x10a)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1a06d1(0xe5)])['pipe'](I['takeUntil'](this[_0x1a06d1(0xb5)]))['subscribe'](async _0x109afe=>{const _0x2a76e3=_0x1a06d1,_0xb2176f=_0x109afe[_0x2a76e3(0x218)](),_0x316ca2=await this[_0x2a76e3(0x194)](_0xb2176f);this[_0x2a76e3(0x256)]['next'](_0x316ca2),this[_0x2a76e3(0x2e8)][_0x2a76e3(0x302)](_0xb2176f,_0x316ca2);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1a06d1(0x221)][_0x1a06d1(0xb8)])[_0x1a06d1(0x131)](I[_0x1a06d1(0x1d8)](this[_0x1a06d1(0xb5)]))[_0x1a06d1(0x131)](I[_0x1a06d1(0x104)](_0x2e4e0a=>!_0x2e4e0a[_0x1a06d1(0x218)]()[_0x1a06d1(0xfa)]('__')))[_0x1a06d1(0x267)](async _0x3d1909=>{const _0x4f92a8=_0x1a06d1,_0x4a2e15=_0x3d1909[_0x4f92a8(0x218)](),_0x387c63=await this[_0x4f92a8(0x96)](_0x4a2e15);this['_entityInit$'][_0x4f92a8(0xe2)](_0x387c63),this[_0x4f92a8(0x2e8)][_0x4f92a8(0x302)](_0x4a2e15,_0x387c63);}),I['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x1a06d1(0x221)]['UNIVER_DOC']),this[_0x1a06d1(0x10a)][_0x1a06d1(0x16a)](a[_0x1a06d1(0x221)]['UNIVER_SHEET']))[_0x1a06d1(0x131)](I['takeUntil'](this[_0x1a06d1(0xb5)]))[_0x1a06d1(0x267)](_0x58506c=>{const _0x1ca6b7=_0x1a06d1,_0x274acb=_0x58506c[_0x1ca6b7(0x218)](),_0x19a889=this[_0x1ca6b7(0x2e8)][_0x1ca6b7(0x193)](_0x274acb);_0x19a889&&(_0x19a889['dispose'](),this[_0x1ca6b7(0x2e8)][_0x1ca6b7(0xbd)](_0x274acb));});}async[_0x282411(0x194)](_0x48393b){const _0x5e510c=_0x282411,_0x16edc0=await this[_0x5e510c(0x21e)][_0x5e510c(0x2de)](_0x48393b),_0x40540a=this[_0x5e510c(0x1ff)]['createInstance'](ge,_0x48393b,_0x16edc0);return _0x40540a['init'](),_0x40540a;}async[_0x282411(0x96)](_0x14d856){const _0x4d5682=_0x282411,_0xd71486=await this[_0x4d5682(0x21e)][_0x4d5682(0x2de)](_0x14d856),_0x52b009=this[_0x4d5682(0x1ff)][_0x4d5682(0x22b)](ve,_0x14d856,_0xd71486);return _0x52b009[_0x4d5682(0x27c)](),_0x52b009;}};F=Tt([ce(0x0,a[_0x282411(0x200)]),ce(0x1,a[_0x282411(0x12c)](a[_0x282411(0x311)])),ce(0x2,a[_0x282411(0x12c)](u[_0x282411(0x32b)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x4ca04f,_0x2d914e){const _0x501912=_0x282411;let {radius:_0x46f117,width:_0x4ac5b4,height:_0x5525c9}=_0x2d914e;_0x46f117=_0x46f117!=null?_0x46f117:0x0,_0x4ac5b4=_0x4ac5b4!=null?_0x4ac5b4:0x1e,_0x5525c9=_0x5525c9!=null?_0x5525c9:0x1e;let _0x8cf70=0x0,_0x28eea1=0x0,_0x512661=0x0;_0x8cf70=_0x28eea1=_0x512661=Math[_0x501912(0x1f0)](_0x46f117,_0x4ac5b4/0x2,_0x5525c9/0x2),_0x4ca04f[_0x501912(0x133)](),_0x4ca04f[_0x501912(0x2e3)](_0x8cf70,0x0),_0x4ca04f[_0x501912(0x1da)](_0x4ac5b4-_0x28eea1,0x0),_0x4ca04f[_0x501912(0x17a)](_0x4ac5b4-_0x28eea1,_0x28eea1,_0x28eea1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ca04f['lineTo'](_0x4ac5b4,_0x5525c9-_0x512661),_0x4ca04f[_0x501912(0x17a)](_0x4ac5b4-_0x512661,_0x5525c9-_0x512661,_0x512661,0x0,Math['PI']/0x2,!0x1),_0x4ca04f[_0x501912(0x1da)](0x0,_0x5525c9),_0x4ca04f['lineTo'](0x0,_0x8cf70),_0x4ca04f[_0x501912(0x17a)](_0x8cf70,_0x8cf70,_0x8cf70,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ca04f[_0x501912(0x2c3)](),_0x2d914e[_0x501912(0x216)]&&(_0x4ca04f[_0x501912(0x212)](),_0x4ca04f[_0x501912(0x155)]=_0x2d914e['fill'],_0x2d914e[_0x501912(0x33c)]===_0x501912(0x1c5)?_0x4ca04f[_0x501912(0x216)]('evenodd'):_0x4ca04f[_0x501912(0x216)](),_0x4ca04f[_0x501912(0x174)]());}class re extends C[_0x282411(0x17d)]{constructor(_0x158250,_0x29aeb4){const _0x50bd55=_0x282411;super(_0x158250,_0x29aeb4),_(this,'color'),_(this,_0x50bd55(0xf5)),(this['color']=_0x29aeb4==null?void 0x0:_0x29aeb4[_0x50bd55(0x2a2)],this[_0x50bd55(0xf5)]=_0x29aeb4==null?void 0x0:_0x29aeb4['text']);}static[_0x282411(0x17e)](_0x1c8b98,_0x500559){const _0x2c1063=_0x282411,{text:_0x1a61a3,color:_0x48046b}=_0x500559;_0x1c8b98[_0x2c1063(0x212)](),_0x1c8b98['font']=_0x2c1063(0x182);const _0x2c7384=_0x1c8b98[_0x2c1063(0x2a6)](_0x1a61a3)[_0x2c1063(0x21a)],_0x572e26=Math[_0x2c1063(0x1f0)](_0x2c7384+0x2*le,Ue);Ot(_0x1c8b98,{'height':X,'radius':0x4,'width':_0x572e26,'fill':_0x48046b}),_0x1c8b98[_0x2c1063(0x155)]=_0x2c1063(0xd3);const _0x350078=le,_0x4b05ec=X-pt,_0x518356=Ue-0x2*le;if(_0x2c7384>_0x518356){let _0x5a0cd2='',_0xccdbc5=0x0;for(const _0x1d0ae3 of _0x1a61a3){const _0x4a29ff=_0x1c8b98[_0x2c1063(0x2a6)](_0x1d0ae3)[_0x2c1063(0x21a)];if(_0xccdbc5+_0x4a29ff<=_0x518356-_0x1c8b98[_0x2c1063(0x2a6)](_0x2c1063(0x344))[_0x2c1063(0x21a)])_0x5a0cd2+=_0x1d0ae3,_0xccdbc5+=_0x4a29ff;else{_0x5a0cd2+=_0x2c1063(0x344);break;}}_0x1c8b98['fillText'](_0x5a0cd2,_0x350078,_0x4b05ec);}else _0x1c8b98[_0x2c1063(0xbe)](_0x1a61a3,_0x350078,_0x4b05ec);_0x1c8b98[_0x2c1063(0x174)]();}['_draw'](_0x5acebb){const _0x6dd7fd=_0x282411;re[_0x6dd7fd(0x17e)](_0x5acebb,this);}}const _e='collab-text-anchor-',Rt=_0x282411(0x296),bt=_0x282411(0x33e),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut='rgba(255,\x20255,\x20255,\x200.01)';class Le{constructor(_0x1a0045,_0x2c255e,_0x4d2888,_0x464a69){const _0x379da0=_0x282411;_(this,_0x379da0(0x266),[]),_(this,_0x379da0(0x284),null),_(this,'_textBubble',null),_(this,_0x379da0(0x101),null),_(this,_0x379da0(0x1d3),null),_(this,_0x379da0(0x1ea),null),(this[_0x379da0(0x248)]=_0x1a0045,this[_0x379da0(0xb1)]=_0x2c255e,this['_docSkeleton']=_0x4d2888,this['_document']=_0x464a69,this[_0x379da0(0x12a)]());}set[_0x282411(0x2ee)](_0x39b7d7){const _0x615098=_0x282411;_0x39b7d7?(this['_anchorDot']&&this['_anchorDot'][_0x615098(0xf0)](),this['_textBubble']&&this[_0x615098(0x276)][_0x615098(0x1bb)]()):(this['_anchorDot']&&this['_anchorDot'][_0x615098(0x1bb)](),this['_textBubble']&&this[_0x615098(0x276)][_0x615098(0xf0)]());}['dispose'](){const _0x134d37=_0x282411;for(const _0x10bafb of this['_shapes'])_0x10bafb[_0x134d37(0xfc)]();this[_0x134d37(0x276)]&&this[_0x134d37(0x276)]['dispose'](),this[_0x134d37(0x101)]&&this[_0x134d37(0x101)]['dispose'](),this[_0x134d37(0x284)]&&this[_0x134d37(0x284)][_0x134d37(0xfc)](),this[_0x134d37(0x1ea)]&&this['_eventUnsubscribe']();}[_0x282411(0x12a)](){const _0xdccf03=_0x282411;var _0x548674;const {_docSkeleton:_0x4bb9d4,_document:_0x203a60}=this,{color:_0x404bf0,name:_0x4f85a2,ranges:_0x3deedd}=this[_0xdccf03(0x248)],_0x25d09a=_0x203a60['getOffsetConfig'](),{docsLeft:_0x103fc2,docsTop:_0x60365e}=_0x25d09a,_0x292c9d=new T[(_0xdccf03(0x102))](_0x25d09a,_0x4bb9d4);for(const {startOffset:_0x428b54,endOffset:_0x81bff1,rangeType:_0x10664d,segmentId:_0x49fed1,segmentPage:_0x567f39,collapsed:_0x46ec7f,isActive:_0x2280c5}of _0x3deedd){const _0x3d9bec=_0x4bb9d4[_0xdccf03(0x129)](_0x428b54,!0x0,_0x49fed1,_0x567f39);let _0x245a2f=_0x4bb9d4[_0xdccf03(0x129)](_0x81bff1,!0x0,_0x49fed1,_0x567f39);if(_0x245a2f==null&&(_0x245a2f=_0x4bb9d4[_0xdccf03(0x129)](_0x81bff1-0x1,!0x1,_0x49fed1,_0x567f39)),_0x2280c5){const {contentBoxPointGroup:_0x85bca0}=_0x292c9d[_0xdccf03(0x1eb)](_0x245a2f,_0x245a2f);if(_0x85bca0[_0xdccf03(0x329)]===0x0)continue;this['_drawAnchor'](_0x404bf0,_0x85bca0,_0x103fc2,_0x60365e,_0x4f85a2),this[_0xdccf03(0x1ea)]=this[_0xdccf03(0xaa)]();}if(_0x3d9bec&&_0x245a2f){if(_0x10664d===a['DOC_RANGE_TYPE'][_0xdccf03(0x1cd)]){const _0x359bdd=new T[(_0xdccf03(0x2cc))](_0x25d09a,_0x4bb9d4),{pointGroup:_0x548b5e}=(_0x548674=_0x359bdd[_0xdccf03(0x1eb)](_0x3d9bec,_0x245a2f))!=null?_0x548674:{};if(_0x548b5e==null||_0x548b5e[_0xdccf03(0x329)]===0x0)continue;this[_0xdccf03(0x1b4)](_0x404bf0,_0x548b5e,_0x103fc2,_0x60365e);}else{if(!_0x46ec7f){const {borderBoxPointGroup:_0x53c6dd}=_0x292c9d[_0xdccf03(0x1eb)](_0x3d9bec,_0x245a2f);if(_0x53c6dd[_0xdccf03(0x329)]===0x0)continue;this[_0xdccf03(0x1ca)](_0x404bf0,_0x53c6dd,_0x103fc2,_0x60365e);}}}}}['_drawAnchor'](_0x53c098,_0x47006d,_0x4d357c,_0x13ed42,_0x48ab25){const _0x5f54e5=_0x282411,_0x489981=this[_0x5f54e5(0x173)](_0x47006d),{left:_0x5a1275,top:_0x2b3d0b,height:_0x14092d}=_0x489981,_0x1ae1de=this[_0x5f54e5(0xdf)](),_0x340ead=Nt/_0x1ae1de,_0x2db4e7=new C[(_0x5f54e5(0x105))](_e+a['generateRandomId'](H),{'left':_0x5a1275+_0x4d357c-_0x340ead,'top':_0x2b3d0b+_0x13ed42,'height':_0x14092d,'width':Dt,'fill':_0x53c098||C[_0x5f54e5(0x2f5)](a[_0x5f54e5(0xd5)][_0x5f54e5(0x330)],0x0),'strokeWidth':_0x340ead,'stroke':Ut,'evented':!0x0});this['_anchor']=_0x2db4e7,this['_scene']['addObject'](_0x2db4e7,T[_0x5f54e5(0x1f7)]);const _0xad32bd=new C[(_0x5f54e5(0x105))](_e+a[_0x5f54e5(0x273)](H),{'left':_0x5a1275+_0x4d357c-_0x340ead,'top':_0x2b3d0b+_0x13ed42-he/0x2,'height':he,'width':he,'fill':_0x53c098||C['getColor'](a['COLORS'][_0x5f54e5(0x330)],0x0),'strokeWidth':0x0,'stroke':_0x53c098||C[_0x5f54e5(0x2f5)](a[_0x5f54e5(0xd5)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xad32bd,this[_0x5f54e5(0xb1)][_0x5f54e5(0x26d)](_0xad32bd,T[_0x5f54e5(0x1f7)]);const _0x528b19=new re(_e+a[_0x5f54e5(0x273)](H),{'left':_0x5a1275+_0x4d357c-_0x340ead,'top':_0x2b3d0b+_0x13ed42-X,'text':_0x48ab25,'color':_0x53c098});this[_0x5f54e5(0x276)]=_0x528b19,this[_0x5f54e5(0xb1)][_0x5f54e5(0x26d)](_0x528b19,T[_0x5f54e5(0x1f7)]),this[_0x5f54e5(0x2ee)]=!0x1;}[_0x282411(0xaa)](){const _0x19fc2f=_0x282411,_0x37d060=this[_0x19fc2f(0x284)]['onPointerEnter$'][_0x19fc2f(0x337)](()=>{const _0xde84=_0x19fc2f;this[_0xde84(0x2ee)]=!0x0;}),_0x34fd08=this[_0x19fc2f(0x284)]['onPointerLeave$'][_0x19fc2f(0x337)](()=>{const _0x16758f=_0x19fc2f;this[_0x16758f(0x1d3)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3b85a2=_0x16758f;this[_0x3b85a2(0x2ee)]=!0x1;},0x7d0);});return()=>{const _0x1c42f0=_0x19fc2f;_0x37d060[_0x1c42f0(0x121)](),_0x34fd08[_0x1c42f0(0x121)]();};}[_0x282411(0x1ca)](_0x23b109,_0x3537c4,_0x1e2cd1,_0x2a2b5d){const _0x3c4ec4=_0x282411,_0xe3b355=new a[(_0x3c4ec4(0x8f))](_0x23b109)[_0x3c4ec4(0xd9)](0.2)['toRgbString'](),_0x2d0b33=new C[(_0x3c4ec4(0xf1))](Rt+a[_0x3c4ec4(0x273)](H),{'pointsGroup':_0x3537c4,'fill':_0xe3b355||C[_0x3c4ec4(0x2f5)](a[_0x3c4ec4(0xd5)][_0x3c4ec4(0x330)],0.2),'left':_0x1e2cd1,'top':_0x2a2b5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c4ec4(0x266)][_0x3c4ec4(0x213)](_0x2d0b33),this[_0x3c4ec4(0xb1)][_0x3c4ec4(0x26d)](_0x2d0b33,T[_0x3c4ec4(0x1f7)]);}[_0x282411(0x1b4)](_0x19ff59,_0x280d77,_0x438aea,_0x7ab2e5){const _0x5bd3be=_0x282411,_0x20fcc2=new a[(_0x5bd3be(0x8f))](_0x19ff59)['setAlpha'](0.2)[_0x5bd3be(0xb6)](),_0x5889b2=new C[(_0x5bd3be(0xf1))](bt+a[_0x5bd3be(0x273)](H),{'pointsGroup':_0x280d77,'fill':_0x20fcc2||C['getColor'](a[_0x5bd3be(0xd5)]['black'],0.2),'left':_0x438aea,'top':_0x7ab2e5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bd3be(0x213)](_0x5889b2),this[_0x5bd3be(0xb1)][_0x5bd3be(0x26d)](_0x5889b2,T[_0x5bd3be(0x1f7)]);}['_getAnchorBounding'](_0x234b80){const _0x228e44=_0x234b80[0x0],_0x184067=_0x228e44[0x0],_0x214b3b=_0x228e44[0x2],{x:_0x7213b9,y:_0x1577b5}=_0x184067,{x:_0x77f335,y:_0x183b94}=_0x214b3b;return{'left':_0x7213b9,'top':_0x1577b5,'width':_0x77f335-_0x7213b9,'height':_0x183b94-_0x1577b5};}[_0x282411(0xdf)](){const _0x95213e=_0x282411,{scaleX:_0x59afd6,scaleY:_0x10970e}=this[_0x95213e(0xb1)][_0x95213e(0x2ca)]();return Math[_0x95213e(0x12e)](_0x59afd6,_0x10970e);}}var Lt=Object[_0x282411(0x89)],Mt=(_0x51cdb8,_0x2f63bd,_0x47b46e,_0x21c895)=>{for(var _0x3330d7=_0x21c895>0x1?void 0x0:_0x21c895?Lt(_0x2f63bd,_0x47b46e):_0x2f63bd,_0x2557e2=_0x51cdb8['length']-0x1,_0x58f703;_0x2557e2>=0x0;_0x2557e2--)(_0x58f703=_0x51cdb8[_0x2557e2])&&(_0x3330d7=_0x58f703(_0x3330d7)||_0x3330d7);return _0x3330d7;},q=(_0x431a45,_0x4d43dd)=>(_0x2f9b75,_0x8c600b)=>_0x4d43dd(_0x2f9b75,_0x8c600b,_0x431a45);let Ee=class extends a[_0x282411(0x125)]{constructor(_0x10be0f,_0x3522d2,_0x9ba033,_0x40be4c,_0x4cb846){const _0x3c5aa2=_0x282411;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x3c5aa2(0x1ef)]=_0x10be0f,this[_0x3c5aa2(0x163)]=_0x3522d2,this['_collabCursorController']=_0x9ba033,this[_0x3c5aa2(0xce)]=_0x40be4c,this[_0x3c5aa2(0x233)]=_0x4cb846,this[_0x3c5aa2(0x10c)]());}[_0x282411(0x10c)](){const _0x472a09=_0x282411,_0xa4352d=this[_0x472a09(0x1ef)][_0x472a09(0x205)],_0x50aa37=this[_0x472a09(0x163)];this[_0x472a09(0x144)](I['combineLatest']([this[_0x472a09(0x231)][_0x472a09(0x2a7)](_0xa4352d),this['_themeService'][_0x472a09(0xad)]])[_0x472a09(0x131)]($[_0x472a09(0x2a1)](([_0x54eb61,_0x42ea99])=>({'skeleton':_0x50aa37[_0x472a09(0x7e)](),'cursors':[..._0x54eb61[_0x472a09(0x1dc)]()][_0x472a09(0x32e)](_0x1c66d5=>({..._0x1c66d5,'color':this[_0x472a09(0x233)]['getColorFromTheme'](_0x1c66d5[_0x472a09(0x2a2)])}))})))['subscribe'](_0x19062c=>{const _0x3ef1ea=_0x472a09;if(this[_0x3ef1ea(0x310)](),_0x19062c){const {skeleton:_0x4abfdb,cursors:_0x44ac33}=_0x19062c;this[_0x3ef1ea(0x134)](_0x4abfdb,_0x44ac33);}})),this[_0x472a09(0x20b)](),this[_0x472a09(0x118)]();}[_0x282411(0x134)](_0x199254,_0x57a58f){const _0x11dd75=_0x282411,{scene:_0x308aac,mainComponent:_0x547d10}=this[_0x11dd75(0x1ef)],_0x269894=_0x57a58f['map'](_0x3a6282=>new Le(_0x3a6282,_0x308aac,_0x199254,_0x547d10));this['_cursorShapes']=_0x269894,this[_0x11dd75(0x206)]=_0x57a58f;}[_0x282411(0x230)](){const _0x45dcce=_0x282411;this[_0x45dcce(0x310)]();const {scene:_0x2ccdbe,mainComponent:_0x4bac2b}=this[_0x45dcce(0x1ef)],_0x4c1cf9=this[_0x45dcce(0x163)][_0x45dcce(0x7e)](),_0xdfcf49=this['_cursors'][_0x45dcce(0x2a1)](_0x45ecb3=>new Le(_0x45ecb3,_0x2ccdbe,_0x4c1cf9,_0x4bac2b));this[_0x45dcce(0x149)]=_0xdfcf49;}[_0x282411(0x310)](){const _0x193468=_0x282411;this[_0x193468(0x149)][_0x193468(0x153)](_0x420a76=>_0x420a76['dispose']()),this[_0x193468(0x149)]=[];}['_initCommandExecutedListener'](){const _0x2b5945=_0x282411,_0x173f77=[T['SetDocZoomRatioOperation']['id']];this[_0x2b5945(0x144)](this['_commandService'][_0x2b5945(0x1b7)](_0x31c404=>{const _0x49e7e6=_0x2b5945;_0x173f77[_0x49e7e6(0x1e1)](_0x31c404['id'])&&_0x31c404[_0x49e7e6(0x250)][_0x49e7e6(0x205)]===this['_context'][_0x49e7e6(0x205)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x25be70=_0x282411;this[_0x25be70(0x144)](a[_0x25be70(0xd4)](this[_0x25be70(0x1ef)]['engine'][_0x25be70(0xef)])[_0x25be70(0x131)]($[_0x25be70(0x104)](_0x10ab31=>_0x10ab31[_0x25be70(0x95)]===C[_0x25be70(0x1b3)][_0x25be70(0x186)]),$['throttleTime'](0x10))[_0x25be70(0x267)](()=>{const _0x3588f7=_0x25be70;this[_0x3588f7(0x230)]();}));}};Ee=Mt([q(0x1,a[_0x282411(0x12c)](V[_0x282411(0x1e5)])),q(0x2,a[_0x282411(0x12c)](F)),q(0x3,a['ICommandService']),q(0x4,a[_0x282411(0x12c)](a[_0x282411(0x31d)]))],Ee);const At=0x1,Pt=1.5;class je extends C['Shape']{constructor(_0x132ec1,_0x422863){const _0x5acf45=_0x282411;super(_0x132ec1,_0x422863),_(this,_0x5acf45(0x8d)),_(this,_0x5acf45(0xb3),!0x1),_(this,_0x5acf45(0x161)),_(this,_0x5acf45(0x2fa),''),_(this,_0x5acf45(0x2e1),_0x5acf45(0x31f)),_(this,_0x5acf45(0x159)),(_0x422863&&this[_0x5acf45(0x151)](_0x422863),this[_0x5acf45(0x2e4)][_0x5acf45(0x337)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5acf45(0x2cf)][_0x5acf45(0x337)](()=>this[_0x5acf45(0x151)]({'hovered':!0x1})));}[_0x282411(0x151)](_0x50edde){const _0x9e1d0b=_0x282411;var _0x3ea735,_0x4986cc,_0x42912b,_0x2e509a,_0x51c5f2,_0x596020;this['_color']=(_0x3ea735=_0x50edde[_0x9e1d0b(0x2a2)])!=null?_0x3ea735:this[_0x9e1d0b(0x8d)],this[_0x9e1d0b(0xb3)]=(_0x4986cc=_0x50edde[_0x9e1d0b(0x254)])!=null?_0x4986cc:this[_0x9e1d0b(0xb3)],this[_0x9e1d0b(0x161)]=(_0x42912b=_0x50edde[_0x9e1d0b(0xed)])!=null?_0x42912b:this[_0x9e1d0b(0x161)],this[_0x9e1d0b(0x2fa)]=(_0x2e509a=_0x50edde[_0x9e1d0b(0x1e0)])!=null?_0x2e509a:this[_0x9e1d0b(0x2fa)],this[_0x9e1d0b(0x2e1)]=(_0x51c5f2=_0x50edde['labelPosition'])!=null?_0x51c5f2:this[_0x9e1d0b(0x2e1)],this['_backgroundColor']=(_0x596020=_0x50edde[_0x9e1d0b(0x1f9)])!=null?_0x596020:this[_0x9e1d0b(0x159)],this[_0x9e1d0b(0x1a3)]({'width':_0x50edde[_0x9e1d0b(0x21a)],'height':_0x50edde[_0x9e1d0b(0x140)]});}[_0x282411(0x2bb)](_0x823404){const _0x46096e=_0x282411,{row:_0x32a3c8,column:_0xc520e4}=_0x823404;if(_0x32a3c8>=this[_0x46096e(0x161)][_0x46096e(0xe4)]&&_0x32a3c8<=this[_0x46096e(0x161)][_0x46096e(0x142)]&&_0xc520e4>=this[_0x46096e(0x161)][_0x46096e(0x1cf)]&&_0xc520e4<=this[_0x46096e(0x161)]['endColumn']){this[_0x46096e(0x151)]({'hovered':!0x0});return;}this[_0x46096e(0x151)]({'hovered':!0x1});}['triggerDblclick'](_0x4696d2){return!0x1;}['_draw'](_0x1a1d98){const _0x36f745=_0x282411;C[_0x36f745(0x105)][_0x36f745(0x17e)](_0x1a1d98,{'width':this['width'],'height':this[_0x36f745(0x140)],'strokeWidth':Pt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x36f745(0x159)]}),this[_0x36f745(0xb3)]&&(_0x1a1d98['save'](),_0x1a1d98['transform'](0x1,0x0,0x0,0x1,this[_0x36f745(0x21a)],this[_0x36f745(0x2e1)]===_0x36f745(0x123)?0x0:-X),re[_0x36f745(0x17e)](_0x1a1d98,{'text':this[_0x36f745(0x2fa)],'color':this[_0x36f745(0x8d)]}),_0x1a1d98[_0x36f745(0x174)]());}}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x3f9242,_0x15fbe2,_0xd48b00,_0x1373d1)=>{const _0x27a059=_0x282411;for(var _0x5ad07d=_0x1373d1>0x1?void 0x0:_0x1373d1?wt(_0x15fbe2,_0xd48b00):_0x15fbe2,_0x5694e6=_0x3f9242[_0x27a059(0x329)]-0x1,_0x9b7061;_0x5694e6>=0x0;_0x5694e6--)(_0x9b7061=_0x3f9242[_0x5694e6])&&(_0x5ad07d=_0x9b7061(_0x5ad07d)||_0x5ad07d);return _0x5ad07d;},ue=(_0x5e1677,_0x567077)=>(_0x4de584,_0x56567e)=>_0x567077(_0x4de584,_0x56567e,_0x5e1677);const $t=0x1389;let Ce=class extends a[_0x282411(0x125)]{constructor(_0x35ce72,_0x2e6db7,_0x295f43,_0xaac692){const _0x4c9761=_0x282411;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x4c9761(0x1ef)]=_0x35ce72,this[_0x4c9761(0x321)]=_0x2e6db7,this['_collabCursorController']=_0x295f43,this[_0x4c9761(0x233)]=_0xaac692,this[_0x4c9761(0x10c)]());}[_0x282411(0x10c)](){const _0x116b58=_0x282411;this[_0x116b58(0x321)][_0x116b58(0x150)][_0x116b58(0x131)]($['takeUntil'](this['dispose$']),$[_0x116b58(0x31a)](_0x4134f1=>{const _0x1bedbd=_0x116b58;if(_0x4134f1){const _0x345289=_0x4134f1['sheetId'];return I[_0x1bedbd(0x143)](this['_collabCursorController'][_0x1bedbd(0x2a7)](this[_0x1bedbd(0x1ef)][_0x1bedbd(0x205)]),this[_0x1bedbd(0x233)][_0x1bedbd(0xad)])['pipe']($['map'](([_0x4fc937,_0x5b7518])=>{const _0x4b4808=_0x1bedbd,_0x4c85c7=new Map();return _0x4fc937[_0x4b4808(0x153)]((_0x53b8e4,_0x39dfcf)=>{const _0x36b287=_0x4b4808;if(_0x53b8e4[_0x36b287(0x215)]===_0x345289){const _0x51ec21={..._0x53b8e4};_0x51ec21['color']=this['_themeService'][_0x36b287(0x2c2)](_0x53b8e4[_0x36b287(0x2a2)]),_0x4c85c7[_0x36b287(0x302)](_0x39dfcf,_0x51ec21);}}),{'skeleton':_0x4134f1,'cursors':_0x4c85c7};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x116b58(0x267)](({skeleton:_0x56d9b5,cursors:_0x37133a})=>{const _0x3540c2=_0x116b58;this['_removeCollabCursors'](),_0x56d9b5&&this[_0x3540c2(0x134)](_0x56d9b5,_0x37133a);}),this[_0x116b58(0x321)][_0x116b58(0x150)]['subscribe'](_0x389fcd=>{const _0x5d1823=_0x116b58;if(_0x389fcd==null)return;const {skeleton:_0x3fffe6}=_0x389fcd,{scene:_0x4a4c7c}=this[_0x5d1823(0x1ef)];_0x4a4c7c['onPointerMove$'][_0x5d1823(0x337)](a[_0x5d1823(0x24c)](_0x43cae3=>{const _0xf2c09c=_0x5d1823;var _0x278efd,_0x39caf6;const {offsetX:_0x4c0ae6,offsetY:_0x3ee9c2}=_0x43cae3,{x:_0x4300be,y:_0x1d6197}=_0x4a4c7c[_0xf2c09c(0xc2)](C['Vector2'][_0xf2c09c(0x238)]([_0x4c0ae6,_0x3ee9c2])),{scaleX:_0x1017bb,scaleY:_0x160d8d}=_0x4a4c7c[_0xf2c09c(0x2ca)](),_0x51b8a4=_0x4a4c7c[_0xf2c09c(0x2f9)](C[_0xf2c09c(0x1a1)][_0xf2c09c(0x1ae)]),_0x3be263=_0x4a4c7c[_0xf2c09c(0x30e)](C['Vector2'][_0xf2c09c(0x238)]([_0x4300be,_0x1d6197]),_0x51b8a4),_0x6266cf=_0x3fffe6['getCellPositionByOffset'](_0x4c0ae6,_0x3ee9c2,_0x1017bb,_0x160d8d,_0x3be263);((_0x278efd=this['_lastPointer'])==null?void 0x0:_0x278efd[_0xf2c09c(0x21c)])===_0x6266cf[_0xf2c09c(0x21c)]&&((_0x39caf6=this['_lastPointer'])==null?void 0x0:_0x39caf6['row'])===_0x6266cf['row']||this[_0xf2c09c(0x206)][_0xf2c09c(0x153)](_0x2dc640=>{_0x2dc640['onMouseMove'](_0x6266cf);});},0x64));});}[_0x282411(0x134)](_0x226649,_0x3e8d21){const _0x136cbe=_0x282411;var _0x4413c2;const _0x5864cc=(_0x4413c2=this['_sheetSkeletonManagerService'][_0x136cbe(0x10f)]())==null?void 0x0:_0x4413c2[_0x136cbe(0xc6)];if(!_0x5864cc)return;const _0x4ec2d1=this['_getSheetObject']();if(!_0x4ec2d1)return;this[_0x136cbe(0x206)][_0x136cbe(0x153)](_0x44939a=>{const _0x5a0a57=_0x136cbe;_0x44939a[_0x5a0a57(0xf8)]();});const {scene:_0x3096d5}=_0x4ec2d1,_0x5808cd=xt(Array['from'](_0x3e8d21[_0x136cbe(0x1dc)]()))['map'](_0x5e4b59=>{const _0x20c932=_0x136cbe,{color:_0x3668e0,range:_0x1e476c,name:_0x225d8b,selection:_0x13b821,sheetID:_0x441e08}=_0x5e4b59,{startColumn:_0x31a14e,startRow:_0x18f8a1,endColumn:_0x4231d3,endRow:_0x3d0638}=_0x1e476c,_0x360b91=J[_0x20c932(0x247)](_0x18f8a1,_0x31a14e,_0x3096d5,_0x5864cc),_0xeaae44=J[_0x20c932(0x247)](_0x3d0638,_0x4231d3,_0x3096d5,_0x5864cc),{columnHeaderHeightAndMarginTop:_0x2592c6}=_0x5864cc,{startX:_0x23be9b,startY:_0x3bcb0d}=_0x360b91,{endX:_0x187e11,endY:_0x3165d3}=_0xeaae44,_0x4e3703=_0x187e11-_0x23be9b,_0x46d11b=_0x3165d3-_0x3bcb0d,_0x5a4e58={'labelPosition':_0x3bcb0d-_0x2592c6>=X?_0x20c932(0x31f):_0x20c932(0x123),'sheetID':_0x441e08,'range':_0x1e476c,'color':_0x3668e0,'name':_0x225d8b,'selection':_0x13b821,'left':_0x23be9b,'top':_0x3bcb0d,'width':_0x4e3703,'height':_0x46d11b,'evented':!0x1,'zIndex':$t};return new je(_0x225d8b,_0x5a4e58);});_0x3096d5[_0x136cbe(0xa2)](_0x5808cd,At),this[_0x136cbe(0x206)]=new Set(_0x5808cd);}[_0x282411(0x310)](){const _0x38e2cd=_0x282411;var _0x3221ad;(_0x3221ad=this[_0x38e2cd(0x206)])==null||_0x3221ad[_0x38e2cd(0x153)](_0x4fc0c5=>_0x4fc0c5[_0x38e2cd(0xfc)]());}[_0x282411(0x1e7)](){const _0x1ff6fe=_0x282411;return J[_0x1ff6fe(0x2d7)](this['_context'][_0x1ff6fe(0x2c5)],this[_0x1ff6fe(0x1ef)]);}};Ce=yt([ue(0x1,a[_0x282411(0x12c)](J[_0x282411(0x32a)])),ue(0x2,a['Inject'](F)),ue(0x3,a[_0x282411(0x12c)](a[_0x282411(0x31d)]))],Ce);function xt(_0xd18293){const _0x24f2e7=_0x282411,_0x1d1fa4=new Map();return _0xd18293[_0x24f2e7(0x153)](_0x434bfb=>{const _0x38716c=_0x24f2e7;if(_0x1d1fa4[_0x38716c(0x13b)](_0x434bfb[_0x38716c(0x14d)])){const _0x3589bb=_0x1d1fa4['get'](_0x434bfb[_0x38716c(0x14d)]);_0x3589bb[_0x38716c(0x1e0)]+=',\x20'+_0x434bfb[_0x38716c(0x1e0)];}else _0x1d1fa4[_0x38716c(0x302)](_0x434bfb[_0x38716c(0x14d)],_0x434bfb);}),Array[_0x24f2e7(0x1b8)](_0x1d1fa4[_0x24f2e7(0x1dc)]());}var Bt=Object[_0x282411(0x89)],Ft=(_0x117f9a,_0x1a6a9b,_0x196a4d,_0x4e8be5)=>{for(var _0x30cee1=_0x4e8be5>0x1?void 0x0:_0x4e8be5?Bt(_0x1a6a9b,_0x196a4d):_0x1a6a9b,_0x31355c=_0x117f9a['length']-0x1,_0xe6b493;_0x31355c>=0x0;_0x31355c--)(_0xe6b493=_0x117f9a[_0x31355c])&&(_0x30cee1=_0xe6b493(_0x30cee1)||_0x30cee1);return _0x30cee1;},y=(_0xe44351,_0x91930d)=>(_0x44581f,_0x30bddc)=>_0x91930d(_0x44581f,_0x30bddc,_0xe44351);let Z=class extends a[_0x282411(0x2a4)]{constructor(_0x5a6761,_0x1a5b9a,_0x2eee66,_0x10dd23,_0x373b0e,_0x557b95){const _0x569e9f=_0x282411;super(),this[_0x569e9f(0x9e)]=_0x5a6761,this[_0x569e9f(0x83)]=_0x1a5b9a,this[_0x569e9f(0x275)]=_0x2eee66,this['_messageService']=_0x10dd23,this[_0x569e9f(0x1d7)]=_0x373b0e,this[_0x569e9f(0x226)]=_0x557b95,this['_setupBeforeClosingHandler'](),this[_0x569e9f(0x108)]();}[_0x282411(0x91)](){const _0xf60ad5=_0x282411;this[_0xf60ad5(0x144)](this[_0xf60ad5(0x9e)][_0xf60ad5(0x192)](()=>{const _0x19a87a=_0xf60ad5;if(this[_0x19a87a(0x83)]['saveTaskMap'][_0x19a87a(0x197)])return this[_0x19a87a(0x226)]['t'](_0x19a87a(0xb9));}));}[_0x282411(0x108)](){const _0x20db76=_0x282411;this['disposeWithMe'](this['_collaborationUIEventService'][_0x20db76(0x132)]['subscribe'](_0x40b804=>{const _0x3736f3=_0x20db76;_0x40b804['id']===u[_0x3736f3(0xd6)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x3736f3(0x1bb)]({'type':p[_0x3736f3(0x135)][_0x3736f3(0x30b)],'content':this[_0x3736f3(0x226)]['t'](_0x3736f3(0xa9))}),_0x40b804['id']===u[_0x3736f3(0xd6)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':p[_0x3736f3(0x135)][_0x3736f3(0x30b)],'content':this[_0x3736f3(0x226)]['t'](_0x3736f3(0x158))}),_0x40b804['id']===u[_0x3736f3(0xd6)]['PERMISSION_DENIED']&&this[_0x3736f3(0x1d7)][_0x3736f3(0x1bb)]({'title':this[_0x3736f3(0x226)]['t'](_0x3736f3(0xc3)),'content':this['_localeService']['t']('permission.content'),'type':_0x3736f3(0x19f),'duration':0x0}),_0x40b804['id']===u[_0x3736f3(0xd6)][_0x3736f3(0xc0)]&&this[_0x3736f3(0xa7)][_0x3736f3(0x1bb)]({'type':p[_0x3736f3(0x135)][_0x3736f3(0x29b)],'content':this[_0x3736f3(0x226)]['t'](_0x3736f3(0x158))+'('+_0x40b804[_0x3736f3(0x2d4)]+')'}),_0x40b804['id']===u['CollaborationUIEventId'][_0x3736f3(0x26f)]&&this[_0x3736f3(0xa7)][_0x3736f3(0x1bb)]({'type':p['MessageType'][_0x3736f3(0x30b)],'content':this[_0x3736f3(0x226)]['t'](_0x40b804[_0x3736f3(0x2d4)]||'')}),_0x40b804['id']===u['CollaborationUIEventId'][_0x3736f3(0x122)]&&this['_messageService'][_0x3736f3(0x1bb)]({'type':p[_0x3736f3(0x135)][_0x3736f3(0x30b)],'content':this[_0x3736f3(0x226)]['t']('session.will-retry')}),_0x40b804['id']===u[_0x3736f3(0xd6)]['SOCKET_FAILED']&&this[_0x3736f3(0xa7)][_0x3736f3(0x1bb)]({'type':p[_0x3736f3(0x135)]['Error'],'content':this[_0x3736f3(0x226)]['t'](_0x3736f3(0xf6))}),_0x40b804['id']===u['CollaborationUIEventId'][_0x3736f3(0x15e)]&&this[_0x3736f3(0xa7)][_0x3736f3(0x1bb)]({'type':p[_0x3736f3(0x135)]['Error'],'content':this[_0x3736f3(0x226)]['t'](_0x3736f3(0x301))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x282411(0xa0)]),y(0x2,a[_0x282411(0x12c)](u['CollaborationUIEventService'])),y(0x3,O['IMessageService']),y(0x4,O[_0x282411(0x232)]),y(0x5,a[_0x282411(0x12c)](a[_0x282411(0xc4)]))],Z);var jt=Object[_0x282411(0x89)],kt=(_0x294f56,_0x49ac1c,_0x5df2e1,_0x300c4f)=>{for(var _0x4e6f20=_0x300c4f>0x1?void 0x0:_0x300c4f?jt(_0x49ac1c,_0x5df2e1):_0x49ac1c,_0x1813de=_0x294f56['length']-0x1,_0x2b0b9c;_0x1813de>=0x0;_0x1813de--)(_0x2b0b9c=_0x294f56[_0x1813de])&&(_0x4e6f20=_0x2b0b9c(_0x4e6f20)||_0x4e6f20);return _0x4e6f20;},z=(_0x28a7d1,_0xeb1347)=>(_0x152ef9,_0x4fcd40)=>_0xeb1347(_0x152ef9,_0x4fcd40,_0x28a7d1);let Q=class extends a[_0x282411(0x2a4)]{constructor(_0x30943c,_0x3f247c,_0x24b1d1,_0x472bbb){const _0xb40417=_0x282411;super(),_(this,_0xb40417(0x28b)),(this['_injector']=_0x30943c,this[_0xb40417(0xd0)]=_0x3f247c,this['_logService']=_0x24b1d1,this[_0xb40417(0x2ab)]=_0x472bbb,this['_init']());}[_0x282411(0x10c)](){const _0x6d25fb=_0x282411;this['_initWindowErrorListener'](),this[_0x6d25fb(0x78)](),this[_0x6d25fb(0x1de)](),this[_0x6d25fb(0x16e)]();}[_0x282411(0x16e)](){const _0x1d4e9b=_0x282411;this[_0x1d4e9b(0x144)](this['_collaborationSessionService'][_0x1d4e9b(0xf4)][_0x1d4e9b(0x267)](_0x276d23=>{const _0x3d97cb=_0x1d4e9b;this['_memberID']=_0x276d23==null?void 0x0:_0x276d23[_0x3d97cb(0x2da)];}));}[_0x282411(0x2b3)](){const _0x46be56=_0x282411,_0x33d9e4=_0x52afb3=>{const _0x510980=_0xff45;var _0x73c489;this[_0x510980(0x257)](_0x510980(0x19f),_0x510980(0x23a)+_0x52afb3['message']+_0x510980(0xe0)+_0x52afb3[_0x510980(0x306)]+':'+_0x52afb3[_0x510980(0x239)]+':'+_0x52afb3[_0x510980(0x9f)]+'\x0a'+(((_0x73c489=_0x52afb3[_0x510980(0x19f)])==null?void 0x0:_0x73c489[_0x510980(0x103)])||''));};window[_0x46be56(0x272)](_0x46be56(0x19f),_0x33d9e4),this[_0x46be56(0x144)](()=>{const _0x2d0781=_0x46be56;window[_0x2d0781(0x87)]('error',_0x33d9e4);});}[_0x282411(0x78)](){const _0x2b23c9=_0x282411,_0x3d2561=_0x252025=>{const _0x3bb4fe=_0xff45;this[_0x3bb4fe(0x257)](_0x3bb4fe(0x19f),'[Unhandled\x20Rejection]:\x20'+_0x252025['reason']);};window[_0x2b23c9(0x272)](_0x2b23c9(0x2a8),_0x3d2561),this[_0x2b23c9(0x144)](()=>{const _0x950e3a=_0x2b23c9;window[_0x950e3a(0x87)](_0x950e3a(0x2a8),_0x3d2561);});}[_0x282411(0x1de)](){const _0x2c5552=_0x282411,_0x15f3b7=this[_0x2c5552(0x12d)]['error']['bind'](this[_0x2c5552(0x12d)]);this[_0x2c5552(0x12d)][_0x2c5552(0x19f)]=(..._0x54cc63)=>{const _0xe58210=_0x2c5552,_0xe48fd9=_0x54cc63[_0xe58210(0x2a1)](_0x4554ed=>_0x4554ed instanceof Error?_0x4554ed[_0xe58210(0x28c)]+'\x0a'+_0x4554ed[_0xe58210(0x103)]:String(_0x4554ed))[_0xe58210(0x23d)]('\x20');this['_uploadLog']('error',_0xe58210(0x1fc)+_0xe48fd9),_0x15f3b7(..._0x54cc63);},this[_0x2c5552(0x144)](()=>{const _0x2079bd=_0x2c5552;this['_logService'][_0x2079bd(0x19f)]=_0x15f3b7;});}['_uploadLog'](_0x27640e,_0x17c3c4){const _0x59b003=_0x282411;try{const _0xf6b421={'userId':this[_0x59b003(0x28b)],'logLabel':_0x27640e,'content':_0x17c3c4};this['_httpService'][_0x59b003(0x130)]('/universer-api/frontend/logs',{'body':_0xf6b421})['catch'](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x282411(0x12c)](a[_0x282411(0x311)])),z(0x1,a[_0x282411(0x12c)](x[_0x282411(0x7c)])),z(0x2,a[_0x282411(0x84)]),z(0x3,a[_0x282411(0x12c)](u[_0x282411(0x32b)]))],Q);const Yt=_0x282411(0x1d5),Me={};var Ht=Object[_0x282411(0x89)],Wt=(_0xc7ecd2,_0x5474ba,_0x1db7ea,_0xf22ce3)=>{const _0x1eae65=_0x282411;for(var _0x565e76=_0xf22ce3>0x1?void 0x0:_0xf22ce3?Ht(_0x5474ba,_0x1db7ea):_0x5474ba,_0x47933c=_0xc7ecd2[_0x1eae65(0x329)]-0x1,_0xb4f36b;_0x47933c>=0x0;_0x47933c--)(_0xb4f36b=_0xc7ecd2[_0x47933c])&&(_0x565e76=_0xb4f36b(_0x565e76)||_0x565e76);return _0x565e76;},Ae=(_0x33f4e3,_0x13b814)=>(_0x22af60,_0x1ff2ea)=>_0x13b814(_0x22af60,_0x1ff2ea,_0x33f4e3);let ee=class{constructor(_0x2033d5,_0x331f0b){const _0x5cc3af=_0x282411;this[_0x5cc3af(0x322)]=_0x2033d5,this[_0x5cc3af(0x1fb)]=_0x331f0b;}['transformIMECache'](_0x261e30){const _0x2b18f6=_0x282411;this[_0x2b18f6(0x12f)](_0x261e30),this['_transformPreviousActiveRange'](_0x261e30);}['transformRemoteChangeset'](_0x148562){const _0x52b8ac=_0x282411,{unitID:_0xf16527}=_0x148562,_0x3e078e=this[_0x52b8ac(0x1fb)][_0x52b8ac(0xfb)](_0xf16527)[_0x52b8ac(0x1a7)](T[_0x52b8ac(0x119)]),{redoCache:_0x20793b}=_0x3e078e[_0x52b8ac(0x196)]();if(_0x20793b['length']===0x0)return _0x148562;let _0xa14947=a[_0x52b8ac(0xe8)][_0x52b8ac(0x2b8)](_0x148562[_0x52b8ac(0x2f4)][0x0]);for(let _0x1f15bc=0x0;_0x1f15bc<_0x20793b[_0x52b8ac(0x329)];_0x1f15bc++){const _0x44a5a3={'id':_0x52b8ac(0x2ec),'params':{..._0x20793b[_0x1f15bc]}},_0x50b960=this['_transformService'][_0x52b8ac(0x18a)](_0xa14947,_0x44a5a3,!0x1);if(g[_0x52b8ac(0x293)](_0x50b960))throw _0x50b960[_0x52b8ac(0x19f)];_0xa14947=_0x50b960[_0x52b8ac(0x16b)];}return{...a['Tools'][_0x52b8ac(0x2b8)](_0x148562),'mutations':[_0xa14947]};}['_transformUndoRedoStack'](_0x2381a5){const _0x4eb01f=_0x282411,{unitID:_0x322ec5}=_0x2381a5,_0x545ff6=this[_0x4eb01f(0x1fb)][_0x4eb01f(0xfb)](_0x322ec5)[_0x4eb01f(0x1a7)](T[_0x4eb01f(0x119)]),{undoCache:_0x2724a8,redoCache:_0x58c4b3}=_0x545ff6[_0x4eb01f(0x196)]();if(_0x2724a8[_0x4eb01f(0x329)]===0x0||_0x58c4b3[_0x4eb01f(0x329)]===0x0)return;const _0x599062=[],_0x136e90=[];let _0x1a3b5e=a[_0x4eb01f(0xe8)][_0x4eb01f(0x2b8)](_0x2381a5[_0x4eb01f(0x2f4)][0x0]),_0x43e960=a['Tools'][_0x4eb01f(0x2b8)](_0x2381a5['mutations'][0x0]);for(let _0x1dedf1=_0x2724a8[_0x4eb01f(0x329)]-0x1;_0x1dedf1>=0x0;_0x1dedf1--){const _0x55da32={'id':'doc.mutation.rich-text-editing','params':{..._0x2724a8[_0x1dedf1]}},_0x326f16={'id':_0x4eb01f(0x2ec),'params':{..._0x58c4b3[_0x1dedf1]}},_0x577e7c=this[_0x4eb01f(0x322)][_0x4eb01f(0x18a)](_0x1a3b5e,_0x55da32,!0x1),_0x1ffec0=this[_0x4eb01f(0x322)][_0x4eb01f(0x18a)](_0x43e960,_0x326f16,!0x1);if(g[_0x4eb01f(0x293)](_0x577e7c))throw _0x577e7c[_0x4eb01f(0x19f)];if(g[_0x4eb01f(0x293)](_0x1ffec0))throw _0x1ffec0[_0x4eb01f(0x19f)];_0x599062[_0x4eb01f(0x172)](_0x577e7c[_0x4eb01f(0xc9)]['params']),_0x136e90[_0x4eb01f(0x172)](_0x1ffec0[_0x4eb01f(0xc9)][_0x4eb01f(0x250)]),_0x1a3b5e=_0x577e7c[_0x4eb01f(0x16b)],_0x43e960=_0x1ffec0['m1Prime'];}_0x545ff6['setUndoRedoMutationParamsCache']({'undoCache':_0x599062,'redoCache':_0x136e90});}[_0x282411(0x333)](_0x40c73f){const _0x48021b=_0x282411,{unitID:_0x24a05e}=_0x40c73f,_0x157a6d=this[_0x48021b(0x1fb)]['getRenderById'](_0x24a05e)[_0x48021b(0x1a7)](T[_0x48021b(0x119)]),_0x2e5886=_0x157a6d[_0x48021b(0x1c4)]();if(_0x2e5886==null)return;const _0x2e5455=[{'id':_0x48021b(0x2ec),'params':{'unitId':_0x40c73f[_0x48021b(0xde)],'actions':null,'textRanges':[_0x2e5886]}}],_0x5083ce=this[_0x48021b(0x322)][_0x48021b(0x2c6)](_0x40c73f,_0x2e5455);if(!g[_0x48021b(0x228)](_0x5083ce))throw _0x5083ce[_0x48021b(0x19f)];const _0xd9edc1=_0x5083ce[_0x48021b(0xc9)][0x0][_0x48021b(0x250)][_0x48021b(0xc7)];Array[_0x48021b(0x287)](_0xd9edc1)&&_0xd9edc1[_0x48021b(0x329)]&&_0x157a6d['setActiveRange'](_0xd9edc1[0x0]);}};ee=Wt([Ae(0x0,g[_0x282411(0x325)]),Ae(0x1,C[_0x282411(0x1fe)])],ee);var Vt=Object[_0x282411(0x89)],Gt=(_0x97dd3b,_0x1781e0,_0x3c445a,_0x724aee)=>{const _0x271c65=_0x282411;for(var _0x1b4134=_0x724aee>0x1?void 0x0:_0x724aee?Vt(_0x1781e0,_0x3c445a):_0x1781e0,_0x577b11=_0x97dd3b[_0x271c65(0x329)]-0x1,_0x5afa99;_0x577b11>=0x0;_0x577b11--)(_0x5afa99=_0x97dd3b[_0x577b11])&&(_0x1b4134=_0x5afa99(_0x1b4134)||_0x1b4134);return _0x1b4134;},Ie=(_0x15878f,_0x5ce45b)=>(_0x4d05fe,_0x49f35a)=>_0x5ce45b(_0x4d05fe,_0x49f35a,_0x15878f);let te=class{constructor(_0x2c4635,_0x990f2b,_0x4aa71e){const _0x25f16e=_0x282411;this['_injector']=_0x2c4635,this[_0x25f16e(0x322)]=_0x990f2b,this[_0x25f16e(0x2ae)]=_0x4aa71e;}[_0x282411(0x1d1)](_0x42dc61){const _0x591d45=_0x282411;this[_0x591d45(0x9a)](_0x42dc61);}[_0x282411(0x313)](_0x27b444){const _0x10130f=_0x282411,{unitID:_0x3ef7a9}=_0x27b444,{collaboration:_0x45b7e7}=this[_0x10130f(0x2ae)][_0x10130f(0x2ef)](_0x3ef7a9);if(_0x45b7e7[_0x10130f(0x329)]===0x0)return _0x27b444;let _0xe4ba22=a[_0x10130f(0xe8)][_0x10130f(0x2b8)](_0x27b444[_0x10130f(0x2f4)][0x0]);for(let _0xf63e36=0x0;_0xf63e36<_0x45b7e7[_0x10130f(0x329)];_0xf63e36++){const _0x2f3b11={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45b7e7[_0xf63e36][_0x10130f(0x205)],..._0x45b7e7[_0xf63e36][_0x10130f(0x11a)]}},_0x5477a9=this[_0x10130f(0x322)][_0x10130f(0x18a)](_0xe4ba22,_0x2f3b11,!0x1);if(g['isTransformMutationFailure'](_0x5477a9))throw _0x5477a9[_0x10130f(0x19f)];_0xe4ba22=_0x5477a9['m1Prime'];}return{...a[_0x10130f(0xe8)][_0x10130f(0x2b8)](_0x27b444),'mutations':[_0xe4ba22]};}['_transformHistoryAndStateStack'](_0x3290de){const _0x1b2e87=_0x282411,{unitID:_0x332afd}=_0x3290de,{history:_0x11d0aa,collaboration:_0x5d9e50}=this[_0x1b2e87(0x2ae)][_0x1b2e87(0x2ef)](_0x332afd);if(_0x11d0aa[_0x1b2e87(0x329)]===0x0&&_0x5d9e50[_0x1b2e87(0x329)]===0x0)return;const _0x3ef992=[],_0x323909=[];let _0x18a08e=a[_0x1b2e87(0xe8)][_0x1b2e87(0x2b8)](_0x3290de[_0x1b2e87(0x2f4)][0x0]),_0x4ead7f=a['Tools'][_0x1b2e87(0x2b8)](_0x3290de['mutations'][0x0]);for(let _0x3e8fe1=_0x11d0aa[_0x1b2e87(0x329)]-0x1;_0x3e8fe1>=0x0;_0x3e8fe1--){const _0x4b6614={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11d0aa[_0x3e8fe1][_0x1b2e87(0x205)],..._0x11d0aa[_0x3e8fe1][_0x1b2e87(0x2ad)]}},_0x59f852={'id':_0x1b2e87(0x2ec),'params':{'unitId':_0x11d0aa[_0x3e8fe1][_0x1b2e87(0x205)],..._0x11d0aa[_0x3e8fe1]['redoState']}},_0x4e2ff9=this[_0x1b2e87(0x322)][_0x1b2e87(0x18a)](_0x18a08e,_0x4b6614,!0x1),_0x3fb0fa=this['_transformService'][_0x1b2e87(0x18a)](_0x4ead7f,_0x59f852,!0x1);if(g[_0x1b2e87(0x293)](_0x4e2ff9))throw _0x4e2ff9[_0x1b2e87(0x19f)];if(g[_0x1b2e87(0x293)](_0x3fb0fa))throw _0x3fb0fa[_0x1b2e87(0x19f)];_0x3ef992[_0x1b2e87(0x172)]({..._0x11d0aa[_0x3e8fe1],'undoState':_0x4e2ff9[_0x1b2e87(0xc9)]['params'],'redoState':_0x3fb0fa['m2Prime'][_0x1b2e87(0x250)]}),_0x18a08e=_0x4e2ff9[_0x1b2e87(0x16b)],_0x4ead7f=_0x3fb0fa[_0x1b2e87(0x16b)];}_0x18a08e=a['Tools'][_0x1b2e87(0x2b8)](_0x3290de['mutations'][0x0]),_0x4ead7f=a[_0x1b2e87(0xe8)]['deepClone'](_0x3290de['mutations'][0x0]);for(let _0xafd72a=_0x5d9e50[_0x1b2e87(0x329)]-0x1;_0xafd72a>=0x0;_0xafd72a--){const _0x3c5ac7={'id':_0x1b2e87(0x2ec),'params':{'unitId':_0x5d9e50[_0xafd72a][_0x1b2e87(0x205)],..._0x5d9e50[_0xafd72a][_0x1b2e87(0x2ad)]}},_0x562483={'id':_0x1b2e87(0x2ec),'params':{'unitId':_0x5d9e50[_0xafd72a][_0x1b2e87(0x205)],..._0x5d9e50[_0xafd72a][_0x1b2e87(0x11a)]}},_0xcd3d83=this['_transformService'][_0x1b2e87(0x18a)](_0x18a08e,_0x3c5ac7,!0x1),_0x4fa80c=this[_0x1b2e87(0x322)][_0x1b2e87(0x18a)](_0x4ead7f,_0x562483,!0x1);if(g[_0x1b2e87(0x293)](_0xcd3d83))throw _0xcd3d83[_0x1b2e87(0x19f)];if(g['isTransformMutationFailure'](_0x4fa80c))throw _0x4fa80c[_0x1b2e87(0x19f)];_0x323909[_0x1b2e87(0x172)]({..._0x5d9e50[_0xafd72a],'undoState':_0xcd3d83[_0x1b2e87(0xc9)][_0x1b2e87(0x250)],'redoState':_0x4fa80c[_0x1b2e87(0xc9)][_0x1b2e87(0x250)]}),_0x18a08e=_0xcd3d83[_0x1b2e87(0x16b)],_0x4ead7f=_0x4fa80c[_0x1b2e87(0x16b)];}this[_0x1b2e87(0x2ae)][_0x1b2e87(0x100)](_0x332afd,{'history':_0x3ef992,'collaboration':_0x323909});}};te=Gt([Ie(0x0,a['Inject'](a[_0x282411(0x311)])),Ie(0x1,g[_0x282411(0x325)]),Ie(0x2,a['Inject'](T[_0x282411(0x112)]))],te);var Xt=Object[_0x282411(0x89)],Kt=(_0xbeff75,_0x274c72,_0x5c3e80,_0x3662a3)=>{const _0x2d8b55=_0x282411;for(var _0x424a75=_0x3662a3>0x1?void 0x0:_0x3662a3?Xt(_0x274c72,_0x5c3e80):_0x274c72,_0x2574db=_0xbeff75[_0x2d8b55(0x329)]-0x1,_0x482854;_0x2574db>=0x0;_0x2574db--)(_0x482854=_0xbeff75[_0x2574db])&&(_0x424a75=_0x482854(_0x424a75)||_0x424a75);return _0x424a75;},Pe=(_0x40d5ad,_0x9ebb92)=>(_0x4af336,_0x3aec97)=>_0x9ebb92(_0x4af336,_0x3aec97,_0x40d5ad);let se=class{constructor(_0x1f2793,_0x548323){const _0x6c507f=_0x282411;this[_0x6c507f(0x1ff)]=_0x1f2793,this[_0x6c507f(0x322)]=_0x548323;}[_0x282411(0x242)](_0x55e5a2){const _0x563079=_0x282411;var _0x2768d5;const _0x4816aa=this['_injector'][_0x563079(0x193)](V[_0x563079(0x1e6)]),_0x4753ea=(_0x2768d5=_0x4816aa['getDocRanges']())!=null?_0x2768d5:[];if(_0x4753ea[_0x563079(0x329)]===0x0)return;const _0x4b390b=_0x55e5a2[_0x563079(0xde)],_0x40cd75=[{'id':_0x563079(0x2ec),'params':{'unitId':_0x4b390b,'actions':null,'textRanges':_0x4753ea}}],_0x6f9a9e=this[_0x563079(0x322)]['transformMutationsWithChangeset'](_0x55e5a2,_0x40cd75);if(!g[_0x563079(0x228)](_0x6f9a9e))throw _0x6f9a9e[_0x563079(0x19f)];const _0x55457b=_0x6f9a9e[_0x563079(0xc9)][0x0]['params']['textRanges'];Array['isArray'](_0x55457b)&&_0x55457b[_0x563079(0x329)]&&_0x4816aa[_0x563079(0x2b6)](_0x55457b,{'unitId':_0x4b390b,'subUnitId':_0x4b390b},!0x1);}};se=Kt([Pe(0x0,a[_0x282411(0x12c)](a[_0x282411(0x311)])),Pe(0x1,g[_0x282411(0x325)])],se);var qt=Object[_0x282411(0x89)],zt=(_0x59b857,_0xf42a67,_0x45a51e,_0x3a6b1b)=>{const _0xd637b=_0x282411;for(var _0x4460b7=_0x3a6b1b>0x1?void 0x0:_0x3a6b1b?qt(_0xf42a67,_0x45a51e):_0xf42a67,_0x385c8f=_0x59b857[_0xd637b(0x329)]-0x1,_0xb73e5a;_0x385c8f>=0x0;_0x385c8f--)(_0xb73e5a=_0x59b857[_0x385c8f])&&(_0x4460b7=_0xb73e5a(_0x4460b7)||_0x4460b7);return _0x4460b7;},N=(_0x17f48d,_0x184362)=>(_0x25e954,_0x3474ad)=>_0x184362(_0x25e954,_0x3474ad,_0x17f48d);let ie=class extends a[_0x282411(0x2a4)]{constructor(_0x4d9334,_0x26bc47,_0x565860,_0x272ec3,_0x506a92,_0x1f9d73,_0x5ae1f4,_0x35e54e){const _0x3212de=_0x282411;super(),_(this,_0x3212de(0x26c),new I[(_0x3212de(0x1d6))](u[_0x3212de(0x160)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x4d9334,this[_0x3212de(0xa6)]=_0x26bc47,this[_0x3212de(0x1d2)]=_0x565860,this[_0x3212de(0xb2)]=_0x272ec3,this[_0x3212de(0xff)]=_0x506a92,this[_0x3212de(0x222)]=_0x1f9d73,this[_0x3212de(0xa7)]=_0x5ae1f4,this[_0x3212de(0x226)]=_0x35e54e,this['_initEntityListener']());}[_0x282411(0x2f6)](){const _0x16327c=_0x282411;this[_0x16327c(0x144)](this[_0x16327c(0xa6)][_0x16327c(0x2fe)][_0x16327c(0x267)](_0x52ebf0=>{const _0x48a163=_0x16327c,_0x3978e6=this['_docStateChangeManagerService'][_0x48a163(0x33a)][_0x48a163(0x267)](_0x35c161=>{const _0x4301ff=_0x48a163;if(_0x35c161==null)return;const {unitId:_0x942f15,redoState:_0x53d4f4,commandId:_0x46374f}=_0x35c161;if(_0x942f15!==_0x52ebf0[_0x4301ff(0xde)])return;const _0x343303={'id':_0x46374f,'type':a['CommandType'][_0x4301ff(0x148)],'params':{'unitId':_0x942f15,'actions':_0x53d4f4[_0x4301ff(0x31b)],'textRanges':null}};_0x52ebf0[_0x4301ff(0xac)](_0x343303);});if(_0x52ebf0[_0x48a163(0x144)](_0x3978e6),_0x52ebf0 instanceof u[_0x48a163(0x94)]){const _0xaaf2ef={'onTransformIME':_0x4429cd=>this[_0x48a163(0x1d2)][_0x48a163(0x307)](_0x4429cd),'onTransformState':_0x500533=>this['_docTransformStateCacheService'][_0x48a163(0x1d1)](_0x500533),'onTransformSelections':_0x5b8a79=>this['_docTransformSelectionsService'][_0x48a163(0x242)](_0x5b8a79),'onSyncEditingCollabCursor':_0x16db5e=>this[_0x48a163(0x222)]['syncEditingCollabCursor'](_0x16db5e),'onTransformRemoteChangesetByIMECache':_0x3ea2cd=>this[_0x48a163(0x1d2)][_0x48a163(0x313)](_0x3ea2cd),'onTransformRemoteChangesetByStateCache':_0x499036=>this[_0x48a163(0xb2)][_0x48a163(0x313)](_0x499036)};_0x52ebf0[_0x48a163(0x203)](_0xaaf2ef);}}));}};ie=zt([N(0x0,a[_0x282411(0x12c)](T['DocStateChangeManagerService'])),N(0x1,a[_0x282411(0x12c)](u[_0x282411(0x1b5)])),N(0x2,a[_0x282411(0x12c)](ee)),N(0x3,a[_0x282411(0x12c)](te)),N(0x4,a[_0x282411(0x12c)](se)),N(0x5,a[_0x282411(0x12c)](be)),N(0x6,O[_0x282411(0x15a)]),N(0x7,a[_0x282411(0x12c)](a['LocaleService']))],ie);var G=(_0x3e1147=>(_0x3e1147[_0x3e1147[_0x282411(0x11c)]=0x0]=_0x282411(0x11c),_0x3e1147[_0x3e1147['OK']=0x1]='OK',_0x3e1147[_0x3e1147[_0x282411(0x1b9)]=0x2]='INTERNAL_ERROR',_0x3e1147[_0x3e1147[_0x282411(0x2af)]=0x3]='PERMISSION_DENIED',_0x3e1147[_0x3e1147[_0x282411(0xae)]=0x4]='NOT_FOUND',_0x3e1147[_0x3e1147[_0x282411(0x332)]=0x5]=_0x282411(0x332),_0x3e1147[_0x3e1147[_0x282411(0x128)]=0x6]='ALREADY_EXISTS',_0x3e1147[_0x3e1147[_0x282411(0xe6)]=0x7]=_0x282411(0xe6),_0x3e1147[_0x3e1147[_0x282411(0x326)]=0x8]=_0x282411(0x326),_0x3e1147[_0x3e1147['COMPLETION_FINISHED']=0x9]=_0x282411(0x320),_0x3e1147[_0x3e1147['LOGIN_FAILED']=0xa]=_0x282411(0x2a3),_0x3e1147[_0x3e1147[_0x282411(0x17b)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3e1147[_0x3e1147[_0x282411(0x15c)]=0xc]=_0x282411(0x15c),_0x3e1147[_0x3e1147[_0x282411(0x2f3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3e1147[_0x3e1147[_0x282411(0x145)]=0xe]=_0x282411(0x145),_0x3e1147[_0x3e1147['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x282411(0xea),_0x3e1147[_0x3e1147[_0x282411(0x154)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3e1147[_0x3e1147[_0x282411(0x2c7)]=0x64]=_0x282411(0x2c7),_0x3e1147[_0x3e1147[_0x282411(0x166)]=0x65]=_0x282411(0x166),_0x3e1147[_0x3e1147[_0x282411(0x183)]=0xc9]=_0x282411(0x183),_0x3e1147[_0x3e1147[_0x282411(0x2f0)]=0xca]='USER_IS_ANONYMOUS',_0x3e1147[_0x3e1147['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x282411(0x334),_0x3e1147[_0x3e1147['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x282411(0x25c),_0x3e1147[_0x3e1147[_0x282411(0x209)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3e1147[_0x3e1147['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x282411(0xe7),_0x3e1147[_0x3e1147['APPLY_REJECT']=0x1b59]=_0x282411(0xcf),_0x3e1147[_0x3e1147['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x282411(0x147),_0x3e1147[_0x3e1147[_0x282411(0x2e0)]=0x1b5b]=_0x282411(0x2e0),_0x3e1147[_0x3e1147[_0x282411(0x2b5)]=0x1b5c]=_0x282411(0x2b5),_0x3e1147[_0x3e1147[_0x282411(0x1d0)]=0x1b5d]=_0x282411(0x1d0),_0x3e1147[_0x3e1147[_0x282411(0x271)]=0x1f41]=_0x282411(0x271),_0x3e1147[_0x3e1147['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e1147[_0x3e1147[_0x282411(0x342)]=0x232a]=_0x282411(0x342),_0x3e1147[_0x3e1147['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x282411(0xee),_0x3e1147[_0x3e1147[_0x282411(0x184)]=0x232c]=_0x282411(0x184),_0x3e1147[_0x3e1147['LICENSE_DISTRO_REJECTED']=0x232d]=_0x282411(0xbc),_0x3e1147[_0x3e1147[_0x282411(0x243)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3e1147[_0x3e1147[_0x282411(0x116)]=0x2712]=_0x282411(0x116),_0x3e1147[_0x3e1147[_0x282411(0x113)]=0x2713]=_0x282411(0x113),_0x3e1147[_0x3e1147[_0x282411(0x110)]=0x2714]=_0x282411(0x110),_0x3e1147[_0x3e1147[_0x282411(0x20a)]=0x271a]=_0x282411(0x20a),_0x3e1147[_0x3e1147[_0x282411(0x1c8)]=0x271b]=_0x282411(0x1c8),_0x3e1147[_0x3e1147[_0x282411(0x264)]=0x271c]=_0x282411(0x264),_0x3e1147[_0x3e1147[_0x282411(0xeb)]=0x271d]=_0x282411(0xeb),_0x3e1147[_0x3e1147[_0x282411(0x207)]=0x271e]=_0x282411(0x207),_0x3e1147[_0x3e1147[_0x282411(0x77)]=0x271f]=_0x282411(0x77),_0x3e1147[_0x3e1147[_0x282411(0x18d)]=0x2720]=_0x282411(0x18d),_0x3e1147[_0x3e1147[_0x282411(0x2d6)]=0x2af9]=_0x282411(0x2d6),_0x3e1147[_0x3e1147[_0x282411(0x336)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3e1147[_0x3e1147['INVALID_INVITE_CODE']=0x2ee2]=_0x282411(0xbb),_0x3e1147[_0x3e1147[_0x282411(0x214)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e1147[_0x3e1147[_0x282411(0x277)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3e1147[_0x3e1147[_0x282411(0x2c9)]=0x2ee5]=_0x282411(0x2c9),_0x3e1147[_0x3e1147[_0x282411(0x21b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e1147[_0x3e1147[_0x282411(0x283)]=0x32ca]=_0x282411(0x283),_0x3e1147[_0x3e1147[_0x282411(0x318)]=0x32cb]=_0x282411(0x318),_0x3e1147[_0x3e1147['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x282411(0x7d),_0x3e1147[_0x3e1147[_0x282411(0x340)]=0x36b2]=_0x282411(0x340),_0x3e1147[_0x3e1147[_0x282411(0x1e3)]=0x36b3]=_0x282411(0x1e3),_0x3e1147[_0x3e1147['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x282411(0x28a),_0x3e1147[_0x3e1147[_0x282411(0x225)]=0x36b5]=_0x282411(0x225),_0x3e1147[_0x3e1147[_0x282411(0x319)]=0x36b6]=_0x282411(0x319),_0x3e1147[_0x3e1147[_0x282411(0x21d)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3e1147[_0x3e1147['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x282411(0x2f7),_0x3e1147[_0x3e1147[_0x282411(0x1aa)]=0x3715]=_0x282411(0x1aa),_0x3e1147[_0x3e1147[_0x282411(0x178)]=0x3716]=_0x282411(0x178),_0x3e1147[_0x3e1147[_0x282411(0x17f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x3e1147[_0x3e1147[_0x282411(0x1a9)]=0x37dd]=_0x282411(0x1a9),_0x3e1147[_0x3e1147[_0x282411(0x1ed)]=0x3a99]=_0x282411(0x1ed),_0x3e1147[_0x3e1147[_0x282411(0x1ce)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3e1147[_0x3e1147[_0x282411(0xda)]=0x3a9b]=_0x282411(0xda),_0x3e1147[_0x3e1147[_0x282411(0x29a)]=0x3a9c]=_0x282411(0x29a),_0x3e1147[_0x3e1147[_0x282411(0x270)]=0x3a9d]=_0x282411(0x270),_0x3e1147[_0x3e1147['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x282411(0xa3),_0x3e1147[_0x3e1147[_0x282411(0x146)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3e1147[_0x3e1147[_0x282411(0x2e2)]=0x3e81]=_0x282411(0x2e2),_0x3e1147[_0x3e1147[_0x282411(0x97)]=-0x1]='UNRECOGNIZED',_0x3e1147))(G||{});function Jt(_0x3be8d4){const _0x4e23d8=_0x282411;var _0x475b17,_0x1dc42d;const _0x5a7284=(_0x475b17=_0x3be8d4[_0x4e23d8(0x299)])==null?void 0x0:_0x475b17['stage'],_0x1e967a=((_0x1dc42d=_0x3be8d4[_0x4e23d8(0x299)])==null?void 0x0:_0x1dc42d['totalFormulasToCalculate'])||0x0;return _0x5a7284===B[_0x4e23d8(0x227)]['START_CALCULATION']&&_0x1e967a>0x0;}function Zt(_0x1e5406){const _0x575293=_0x282411;return _0x1e5406[_0x575293(0x21f)]===B['FormulaExecutedStateType'][_0x575293(0x22e)];}var Qt=Object[_0x282411(0x89)],es=(_0x421147,_0x3708f0,_0x3cff86,_0x28ddf8)=>{const _0x3ff01e=_0x282411;for(var _0x43c6d5=_0x28ddf8>0x1?void 0x0:_0x28ddf8?Qt(_0x3708f0,_0x3cff86):_0x3708f0,_0x4a1de8=_0x421147[_0x3ff01e(0x329)]-0x1,_0x13be4a;_0x4a1de8>=0x0;_0x4a1de8--)(_0x13be4a=_0x421147[_0x4a1de8])&&(_0x43c6d5=_0x13be4a(_0x43c6d5)||_0x43c6d5);return _0x43c6d5;},L=(_0x44d86b,_0x20dc65)=>(_0x5a25c4,_0x114f44)=>_0x20dc65(_0x5a25c4,_0x114f44,_0x44d86b);const ts=_0x282411(0xe9),ss=_0x282411(0x88),is=_0x282411(0x9b);let ne=class extends a[_0x282411(0x2a4)]{constructor(_0x5e8178,_0x4714e6,_0x33600f,_0x37b742,_0x37211a,_0x2e9660,_0x32d1f3){const _0x5a94cb=_0x282411;super(),_(this,_0x5a94cb(0xa4),null),_(this,_0x5a94cb(0xd7),0x0),_(this,_0x5a94cb(0x187),0x0),_(this,'_taskIds',[]),_(this,_0x5a94cb(0x235),0x0),(this['_messageService']=_0x5e8178,this[_0x5a94cb(0xce)]=_0x4714e6,this['_configService']=_0x33600f,this['_httpService']=_0x37b742,this[_0x5a94cb(0x10a)]=_0x37211a,this[_0x5a94cb(0x12d)]=_0x2e9660,this[_0x5a94cb(0x226)]=_0x32d1f3,this[_0x5a94cb(0x13f)]());}[_0x282411(0x13f)](){const _0x31d28c=_0x282411;this[_0x31d28c(0x144)](this[_0x31d28c(0xce)][_0x31d28c(0x26b)]((_0x4ac4e3,_0x5b5264)=>{const _0x5ac4b4=_0x31d28c;var _0x1cd0e8;if(_0x4ac4e3['id']!==B[_0x5ac4b4(0x324)]['id'])return;const _0x18f16c=_0x4ac4e3['params'];if(!this[_0x5ac4b4(0x210)]((_0x1cd0e8=_0x18f16c[_0x5ac4b4(0x79)])!=null?_0x1cd0e8:[]))return;if(!this[_0x5ac4b4(0x14a)]())throw this['_checkAndWaitForCalculationPermission'](_0x4ac4e3,_0x5b5264),this[_0x5ac4b4(0xdb)](),new a[(_0x5ac4b4(0x80))]();})),this['disposeWithMe'](this[_0x31d28c(0xce)][_0x31d28c(0x1b7)]((_0x2e7f96,_0x221804)=>{const _0x2d6d3f=_0x31d28c;if(_0x2e7f96['id']!==B[_0x2d6d3f(0x2fb)]['id'])return;const _0x3f6806=_0x2e7f96[_0x2d6d3f(0x250)];if(Jt(_0x3f6806)){const _0x1d8821=a[_0x2d6d3f(0x273)]();this[_0x2d6d3f(0x25b)][_0x2d6d3f(0x213)](_0x1d8821),this[_0x2d6d3f(0xf2)](_0x1d8821);}else{if(Zt(_0x3f6806)&&this[_0x2d6d3f(0x25b)][_0x2d6d3f(0x329)]>0x0){const _0x24438a=this['_taskIds'][_0x2d6d3f(0x265)]();this[_0x2d6d3f(0x92)](_0x24438a);}}}));}['dispose'](){const _0x1f7cd9=_0x282411;super[_0x1f7cd9(0xfc)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x1f7cd9(0x187)]=0x0,this[_0x1f7cd9(0xd7)]=0x0,this[_0x1f7cd9(0x235)]=0x0;}async[_0x282411(0x240)](_0x236340,_0x1efacd){const _0x1a3b08=_0x282411;for(let _0x45f5f5=0x0;_0x45f5f5<0x1e;_0x45f5f5++)try{if(await this[_0x1a3b08(0x12b)](),this['_checkCalculationAvailable']()){this[_0x1a3b08(0x202)](_0x236340,_0x1efacd),this['_messageService'][_0x1a3b08(0x1bb)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':p['MessageType'][_0x1a3b08(0x1c1)]});return;}await new Promise(_0x49fff8=>{const _0x18f335=_0x1a3b08;this['_pollingInterval']=window[_0x18f335(0x8a)](_0x49fff8,0x3e8);});}catch(_0x30c48e){this[_0x1a3b08(0x12d)]['error'](_0x30c48e);}this['_messageService'][_0x1a3b08(0x1bb)]({'content':this[_0x1a3b08(0x226)]['t']('formula.calculation.unable'),'type':p[_0x1a3b08(0x135)][_0x1a3b08(0x29b)]});}[_0x282411(0x202)](_0x276ae5,_0x71b3f6){const _0x2e90b2=_0x282411;try{this[_0x2e90b2(0xce)][_0x2e90b2(0x303)](_0x276ae5['id'],_0x276ae5[_0x2e90b2(0x250)],_0x71b3f6);}catch(_0x380fd6){this[_0x2e90b2(0x12d)][_0x2e90b2(0x19f)](_0x380fd6);}}[_0x282411(0x20e)](_0x497cb1,_0x11c042){const _0x11eeb4=_0x282411;_0x11c042<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x11c042,this[_0x11eeb4(0xd7)]=Number[_0x11eeb4(0x2d1)](_0x497cb1[_0x11eeb4(0x25d)]),this[_0x11eeb4(0x187)]=Number['parseInt'](_0x497cb1[_0x11eeb4(0x341)]));}async[_0x282411(0xf2)](_0x3ea8b0){const _0x4dbf1d=_0x282411;var _0x557d00,_0x35ed15;const _0x1c1414=Date[_0x4dbf1d(0x2ed)]();try{const _0x5c6377=((_0x557d00=this['_configService']['getConfig'](u[_0x4dbf1d(0x1f8)]))==null?void 0x0:_0x557d00[_0x4dbf1d(0x10d)])||ss,_0x5c042e=(await this[_0x4dbf1d(0xd0)][_0x4dbf1d(0x130)](_0x5c6377,{'body':JSON['stringify']({'taskId':_0x3ea8b0})}))[_0x4dbf1d(0x2df)];if(((_0x35ed15=_0x5c042e[_0x4dbf1d(0x19f)])==null?void 0x0:_0x35ed15[_0x4dbf1d(0x291)])!==G['OK'])return;this[_0x4dbf1d(0x20e)](_0x5c042e[_0x4dbf1d(0xb4)],_0x1c1414);}catch(_0x130649){this['_logService'][_0x4dbf1d(0x19f)](_0x130649);}}async[_0x282411(0x12b)](_0x2be68b){const _0x24937c=_0x282411;var _0x1b301f,_0x271de3;const _0x101307=Date[_0x24937c(0x2ed)]();try{const _0x132290=((_0x1b301f=this['_configService'][_0x24937c(0x1ad)](u[_0x24937c(0x1f8)]))==null?void 0x0:_0x1b301f[_0x24937c(0x1c3)])||ts,_0x54665e=_0x2be68b?_0x132290+'?taskId='+encodeURIComponent(_0x2be68b):_0x132290,_0x2704ed=(await this[_0x24937c(0xd0)][_0x24937c(0x193)](_0x54665e))[_0x24937c(0x2df)];if(((_0x271de3=_0x2704ed['error'])==null?void 0x0:_0x271de3[_0x24937c(0x291)])!==G['OK'])return;this[_0x24937c(0x20e)](_0x2704ed[_0x24937c(0xb4)],_0x101307);}catch(_0x4e6e3b){this[_0x24937c(0x12d)][_0x24937c(0x19f)](_0x4e6e3b);}}async['_releaseCalculationLimit'](_0x36c52c){const _0x580cd4=_0x282411;var _0x21d7c5,_0xab8095;const _0x59c335=Date[_0x580cd4(0x2ed)]();try{const _0x234a81=((_0x21d7c5=this[_0x580cd4(0xfe)][_0x580cd4(0x1ad)](u[_0x580cd4(0x1f8)]))==null?void 0x0:_0x21d7c5[_0x580cd4(0x2dd)])||is,_0x1c67e1=(await this[_0x580cd4(0xd0)][_0x580cd4(0x130)](_0x234a81,{'body':JSON['stringify']({'taskId':_0x36c52c})}))[_0x580cd4(0x2df)];if(((_0xab8095=_0x1c67e1[_0x580cd4(0x19f)])==null?void 0x0:_0xab8095[_0x580cd4(0x291)])!==G['OK'])return;this[_0x580cd4(0x20e)](_0x1c67e1['limitInfo'],_0x59c335);}catch(_0x20102e){this['_logService'][_0x580cd4(0x19f)](_0x20102e);}}[_0x282411(0x14a)](){const _0x3aced3=_0x282411;return this[_0x3aced3(0xd7)]===0x0?!0x0:this[_0x3aced3(0xd7)]-this[_0x3aced3(0x187)]>0x0;}['_clearPolling'](){const _0x321651=_0x282411;this[_0x321651(0xa4)]&&(clearTimeout(this[_0x321651(0xa4)]),this[_0x321651(0xa4)]=null);}[_0x282411(0xdb)](){const _0x5762bf=_0x282411;this[_0x5762bf(0xa7)][_0x5762bf(0x1bb)]({'content':this[_0x5762bf(0x226)]['t'](_0x5762bf(0x1bc)),'type':p['MessageType']['Loading']});}[_0x282411(0x210)](_0x5cead1){const _0x2f44ff=_0x282411;for(const _0x2410f5 of _0x5cead1){const {unitId:_0x1925a8,sheetId:_0x5658a1,range:_0x15de61}=_0x2410f5,_0x5d7471=this['_univerInstanceService'][_0x2f44ff(0xca)](_0x1925a8);if(!_0x5d7471)continue;const _0x3dd34b=_0x5d7471[_0x2f44ff(0x1fd)](_0x5658a1);if(!_0x3dd34b)continue;const _0x46f056=_0x3dd34b['getCellMatrix']();for(let _0x270cc8=_0x15de61[_0x2f44ff(0xe4)];_0x270cc8<=_0x15de61[_0x2f44ff(0x142)];_0x270cc8++)for(let _0x10ec4e=_0x15de61[_0x2f44ff(0x1cf)];_0x10ec4e<=_0x15de61[_0x2f44ff(0x1d9)];_0x10ec4e++){const _0x2ed706=_0x46f056[_0x2f44ff(0x2b4)](_0x270cc8,_0x10ec4e);if(_0x2ed706&&(a[_0x2f44ff(0x343)](_0x2ed706['f'])||a[_0x2f44ff(0x297)](_0x2ed706['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x282411(0x12c)](O[_0x282411(0x15a)])),L(0x1,a[_0x282411(0x258)]),L(0x2,a[_0x282411(0x338)]),L(0x3,a['Inject'](x[_0x282411(0x7c)])),L(0x4,a['IUniverInstanceService']),L(0x5,a[_0x282411(0x84)]),L(0x6,a['Inject'](a[_0x282411(0xc4)]))],ne);var ns=Object[_0x282411(0x89)],rs=(_0x108d41,_0x59cdbb,_0x19e134,_0xabe646)=>{const _0x4d0937=_0x282411;for(var _0x48c30e=_0xabe646>0x1?void 0x0:_0xabe646?ns(_0x59cdbb,_0x19e134):_0x59cdbb,_0x2a754a=_0x108d41[_0x4d0937(0x329)]-0x1,_0x37feaa;_0x2a754a>=0x0;_0x2a754a--)(_0x37feaa=_0x108d41[_0x2a754a])&&(_0x48c30e=_0x37feaa(_0x48c30e)||_0x48c30e);return _0x48c30e;},Se=(_0xf317a5,_0x2d3b02)=>(_0x4d91bd,_0x127d9b)=>_0x2d3b02(_0x4d91bd,_0x127d9b,_0xf317a5);let Te=class extends a[_0x282411(0x2a4)]{constructor(_0x29f2b8,_0x2cc485,_0x436c17){const _0x5c749d=_0x282411;super(),_(this,_0x5c749d(0x2e7),new Map()),_(this,_0x5c749d(0x249),new Map()),_(this,_0x5c749d(0x279),!0x1),(this[_0x5c749d(0xfe)]=_0x29f2b8,this[_0x5c749d(0x2c4)]=_0x2cc485,this[_0x5c749d(0x157)]=_0x436c17);}[_0x282411(0x139)](){const _0x4523cc=_0x282411;this[_0x4523cc(0x279)]=!0x0;}['enableLocalCache'](){const _0x205233=_0x282411;this[_0x205233(0x279)]=!0x1;}get['saveTaskMap'](){const _0xbea954=_0x282411;return this[_0xbea954(0x249)];}['dispose'](){const _0x2e421f=_0x282411;this[_0x2e421f(0x1e4)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x5b6424){const _0x2fbdf0=_0x282411;return this[_0x2fbdf0(0x279)]?null:this[_0x2fbdf0(0x2c4)][_0x2fbdf0(0x1b2)](u[_0x2fbdf0(0x27e)](_0x5b6424));}async[_0x282411(0x208)](_0x3035f8,_0x5b24cc){const _0x366de3=_0x282411;return!!this[_0x366de3(0x2c4)][_0x366de3(0x33f)](_0x3035f8,_0x5b24cc);}['updateOfflineData'](_0x152358,_0x5618f9,_0x1e83ea,_0x48ba46){const _0x3b9b5d=_0x282411,_0x1e044f=this[_0x3b9b5d(0x157)]['getCurrentRevOfUnit'](_0x152358);this[_0x3b9b5d(0x2e7)][_0x3b9b5d(0x302)](_0x152358,{'unitID':_0x152358,'type':_0x5618f9,'awaitingChangeset':_0x1e83ea,'mutations':_0x48ba46,'rev':_0x1e044f}),this[_0x3b9b5d(0x249)]['has'](_0x152358)||this['_scheduleSaving'](_0x152358);}[_0x282411(0x106)](_0x3240b2){const _0x58accc=_0x282411,_0x4f8717=this[_0x58accc(0x19d)]();_0x4f8717===0x0?this[_0x58accc(0x29c)](_0x3240b2):this['_saveTaskMap'][_0x58accc(0x302)](_0x3240b2,setTimeout(()=>this[_0x58accc(0x29c)](_0x3240b2),_0x4f8717));}[_0x282411(0x19d)](){const _0x2c2cd7=_0x282411;var _0x2ba2a0;return(_0x2ba2a0=this[_0x2c2cd7(0xfe)]['getConfig'](u[_0x2c2cd7(0xcd)]))!=null?_0x2ba2a0:u[_0x2c2cd7(0x331)];}['_saveCache'](_0x238cf4){const _0x29446b=_0x282411,_0x3ef550=this['_saveTaskMap'][_0x29446b(0x193)](_0x238cf4);return _0x3ef550!==void 0x0&&window[_0x29446b(0x23b)](_0x3ef550),this[_0x29446b(0x2c4)][_0x29446b(0x33f)](u[_0x29446b(0x27e)](_0x238cf4),this[_0x29446b(0x2e7)]['get'](_0x238cf4))[_0x29446b(0x31e)](()=>this[_0x29446b(0x249)][_0x29446b(0xbd)](_0x238cf4));}async[_0x282411(0x1e4)](){const _0x1fd21e=_0x282411,_0x20ba04=[];this['_saveTaskMap']['forEach']((_0x528a1e,_0x538712)=>{const _0x714a26=_0xff45;window[_0x714a26(0x23b)](_0x528a1e),_0x20ba04[_0x714a26(0x213)](this[_0x714a26(0x29c)](_0x538712)[_0x714a26(0x31e)](()=>{const _0x216aa7=_0x714a26;this[_0x216aa7(0x249)][_0x216aa7(0xbd)](_0x538712);}));}),await Promise[_0x1fd21e(0x317)](_0x20ba04);}};Te=rs([Se(0x0,a[_0x282411(0x338)]),Se(0x1,a[_0x282411(0x1ec)]),Se(0x2,a[_0x282411(0x12c)](g[_0x282411(0x2ce)]))],Te);class ke extends a[_0x282411(0x125)]{constructor(){const _0x291756=_0x282411;super(),_(this,_0x291756(0x300)),this[_0x291756(0x300)]=I[_0x291756(0x251)](window,_0x291756(0x1f4))[_0x291756(0x131)](I[_0x291756(0x1d8)](this['dispose$']),I[_0x291756(0x10b)](0x1),I['mapTo'](void 0x0));}[_0x282411(0x28f)](_0x2dfb94,_0xdb68da,_0x1fdf2e=!0x1){const _0x3888be=_0x282411,_0x38eec7=new URL(window['location'][_0x3888be(0x1b0)]);_0x38eec7[_0x3888be(0x288)][_0x3888be(0x302)](_0x2dfb94,_0xdb68da),_0x1fdf2e?window['history'][_0x3888be(0x199)]('','',_0x38eec7['toString']()):window[_0x3888be(0x339)][_0x3888be(0xa1)]('','',_0x38eec7[_0x3888be(0x24f)]());}['removeParam'](_0x1c801b,_0x2c8f6b=!0x1){const _0x186666=_0x282411,_0x2d9f1b=new URL(window[_0x186666(0x1a0)][_0x186666(0x1b0)]);_0x2d9f1b['searchParams'][_0x186666(0xbd)](_0x1c801b),_0x2c8f6b?window[_0x186666(0x339)]['replaceState']('','',_0x2d9f1b[_0x186666(0x24f)]()):window['history']['pushState']('','',_0x2d9f1b[_0x186666(0x24f)]());}['getParam'](_0x69d707){const _0x25df4d=_0x282411;var _0x330c48;return(_0x330c48=new URL(window['location'][_0x25df4d(0x1b0)])[_0x25df4d(0x288)][_0x25df4d(0x193)](_0x69d707))!=null?_0x330c48:void 0x0;}}var os=Object[_0x282411(0x2bc)],as=Object['getOwnPropertyDescriptor'],cs=(_0x5cb876,_0x117289,_0x3a8be4)=>_0x117289 in _0x5cb876?os(_0x5cb876,_0x117289,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a8be4}):_0x5cb876[_0x117289]=_0x3a8be4,ls=(_0xcab92a,_0x22b4f4,_0x17d4ce,_0x2d6c4c)=>{const _0x5a1f4e=_0x282411;for(var _0x570f0d=_0x2d6c4c>0x1?void 0x0:_0x2d6c4c?as(_0x22b4f4,_0x17d4ce):_0x22b4f4,_0x4d59e3=_0xcab92a[_0x5a1f4e(0x329)]-0x1,_0x2a81a0;_0x4d59e3>=0x0;_0x4d59e3--)(_0x2a81a0=_0xcab92a[_0x4d59e3])&&(_0x570f0d=_0x2a81a0(_0x570f0d)||_0x570f0d);return _0x570f0d;},de=(_0x5647fe,_0x297b5c)=>(_0x495fa9,_0xdf09c4)=>_0x297b5c(_0x495fa9,_0xdf09c4,_0x5647fe),_s=(_0x268c8a,_0xfe83c2,_0x492b98)=>cs(_0x268c8a,_0xfe83c2+'',_0x492b98);const hs=_0x282411(0x29e);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x282411(0x176)]{constructor(_0x1f68eb=Me,_0x205424,_0x107d5e,_0x21bdaa){const _0x49b3d1=_0x282411;super(),this[_0x49b3d1(0x31c)]=_0x1f68eb,this[_0x49b3d1(0x1fb)]=_0x205424,this[_0x49b3d1(0x1ff)]=_0x107d5e,this['_configService']=_0x21bdaa;const {..._0xd51bfe}=a[_0x49b3d1(0x164)]({},Me,this[_0x49b3d1(0x31c)]);this[_0x49b3d1(0xfe)][_0x49b3d1(0xe1)](Yt,_0xd51bfe);}[_0x282411(0x1dd)](){const _0x1b773f=_0x282411;this[_0x1b773f(0x18c)](),this[_0x1b773f(0x220)]();}[_0x282411(0x13c)](){this['_registerRenderDependencies']();}[_0x282411(0x18c)](){const _0x4d6244=_0x282411;var _0x36f93e;const _0x5cd242=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x4d6244(0x27b)],{'useClass':x[_0x4d6244(0x2f1)]}],[u[_0x4d6244(0xa0)],{'useClass':Te}],[exports[_0x4d6244(0x29d)]],[ie],[Z],[F],[me],[exports[_0x4d6244(0x2fd)]]];this['_config'][_0x4d6244(0x285)]&&_0x5cd242[_0x4d6244(0x213)]([Q]),a[_0x4d6244(0x1f6)](this['_injector'],a[_0x4d6244(0x1ee)](_0x5cd242,(_0x36f93e=this[_0x4d6244(0x31c)])==null?void 0x0:_0x36f93e[_0x4d6244(0xdd)]));}[_0x282411(0x1ba)](){const _0x3ae6f9=_0x282411;this['disposeWithMe'](this[_0x3ae6f9(0x1fb)][_0x3ae6f9(0x2e6)](a[_0x3ae6f9(0x221)]['UNIVER_DOC'],[Ee])),this[_0x3ae6f9(0x144)](this['_renderManagerService'][_0x3ae6f9(0x2e6)](a[_0x3ae6f9(0x221)][_0x3ae6f9(0xe5)],[Ce]));}[_0x282411(0x220)](){const _0x469cc3=_0x282411;a[_0x469cc3(0x201)](this[_0x469cc3(0x1ff)],[[F],[exports[_0x469cc3(0x29d)]],[ie],[Z],[exports['CollaborationDataLoaderController']],[ne]]),this[_0x469cc3(0x31c)][_0x469cc3(0x285)]&&a[_0x469cc3(0x201)](this[_0x469cc3(0x1ff)],[[Q]]);}},_s(exports[_0x282411(0x11d)],_0x282411(0x14b),hs),exports['UniverCollaborationClientUIPlugin']=ls([a['DependentOn'](u['UniverCollaborationClientPlugin']),de(0x1,C[_0x282411(0x1fe)]),de(0x2,a['Inject'](a[_0x282411(0x311)])),de(0x3,a[_0x282411(0x338)])],exports['UniverCollaborationClientUIPlugin']);var us=Object['getOwnPropertyDescriptor'],Is=(_0x5dad78,_0x1e6b07,_0x41d15c,_0x3e62a8)=>{const _0x21e350=_0x282411;for(var _0x38f4b9=_0x3e62a8>0x1?void 0x0:_0x3e62a8?us(_0x1e6b07,_0x41d15c):_0x1e6b07,_0x105a65=_0x5dad78[_0x21e350(0x329)]-0x1,_0xf72d4e;_0x105a65>=0x0;_0x105a65--)(_0xf72d4e=_0x5dad78[_0x105a65])&&(_0x38f4b9=_0xf72d4e(_0x38f4b9)||_0x38f4b9);return _0x38f4b9;},W=(_0x5b9c0f,_0x18f55b)=>(_0x53137d,_0x499b68)=>_0x18f55b(_0x53137d,_0x499b68,_0x5b9c0f);exports[_0x282411(0x2aa)]=class extends u[_0x282411(0x162)]{constructor(_0x5c2218,_0xb2e71,_0x4ef580,_0x13ad11,_0x513c7d){super(_0x5c2218,_0xb2e71,_0x4ef580,_0x13ad11,_0x513c7d);}async[_0x282411(0x2ea)](_0x14a4db){const _0x3e8c74=_0x282411,_0x41f71d=await this[_0x3e8c74(0x274)](),_0x2d3f13=this[_0x3e8c74(0x180)](_0x14a4db,_0x41f71d);return this[_0x3e8c74(0x14f)](_0x2d3f13);}[_0x282411(0x180)](_0x58c477,_0x3d375d){const _0x16fdba=_0x282411,_0x6c0ccb=typeof window>'u'?new URL(_0x58c477):new URL(_0x58c477,window[_0x16fdba(0x1a0)][_0x16fdba(0x261)]);_0x6c0ccb['searchParams']['set'](_0x16fdba(0x234),_0x3d375d);const _0x4c84a4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x16fdba(0x1a0)][_0x16fdba(0x109)]);return _0x4c84a4[_0x16fdba(0x193)](_0x16fdba(0x19b))&&_0x6c0ccb[_0x16fdba(0x288)]['set']('runId',_0x4c84a4[_0x16fdba(0x193)](_0x16fdba(0x19b))),_0x6c0ccb[_0x16fdba(0x24f)]();}async[_0x282411(0x274)](){const _0xeb1e7=_0x282411;var _0x5115c3,_0x21879b,_0xdc9a96;const _0xe5d081=this['_configService'][_0xeb1e7(0x1ad)](u[_0xeb1e7(0x1f8)]),_0x45959f=(_0x5115c3=_0xe5d081==null?void 0x0:_0xe5d081[_0xeb1e7(0x1e2)])!=null?_0x5115c3:u[_0xeb1e7(0x8b)];return(_0xdc9a96=(_0x21879b=(await this[_0xeb1e7(0xd0)][_0xeb1e7(0x193)](_0x45959f,{'headers':{'Content-Type':_0xeb1e7(0x30d)}}))[_0xeb1e7(0x2df)])==null?void 0x0:_0x21879b[_0xeb1e7(0x229)])!=null?_0xdc9a96:'';}},exports[_0x282411(0x2aa)]=Is([W(0x0,a[_0x282411(0x12c)](a['Injector'])),W(0x1,a['Inject'](x[_0x282411(0x7c)])),W(0x2,a[_0x282411(0x338)]),W(0x3,a[_0x282411(0x84)]),W(0x4,g[_0x282411(0x16d)])],exports['BrowserCollaborationSocketService']);var Ss=Object['getOwnPropertyDescriptor'],ds=(_0x5a13cc,_0x2719a5,_0x56305c,_0x3c9a6e)=>{for(var _0x262148=_0x3c9a6e>0x1?void 0x0:_0x3c9a6e?Ss(_0x2719a5,_0x56305c):_0x2719a5,_0x4ed3d6=_0x5a13cc['length']-0x1,_0x2ead8d;_0x4ed3d6>=0x0;_0x4ed3d6--)(_0x2ead8d=_0x5a13cc[_0x4ed3d6])&&(_0x262148=_0x2ead8d(_0x262148)||_0x262148);return _0x262148;},fe=(_0x5a540f,_0x297912)=>(_0x69b50b,_0x501fee)=>_0x297912(_0x69b50b,_0x501fee,_0x5a540f);exports[_0x282411(0x82)]=class extends a[_0x282411(0x2a4)]{constructor(_0xa09812,_0x1946b6,_0x5ee588){const _0x259ea1=_0x282411;super(),this[_0x259ea1(0x191)]=_0xa09812,this[_0x259ea1(0xd0)]=_0x1946b6,this[_0x259ea1(0xfe)]=_0x5ee588;}async[_0x282411(0x13a)](_0x1e9e58,_0x1e9eca,_0x5c2d20,..._0x12bb8d){const _0x51600f=_0x282411;var _0x5e0f5a,_0x2f43d1,_0x4de809,_0x49b0bd;const _0x102ebc=this['_instanceService'][_0x51600f(0x141)]();if(!_0x102ebc)throw new Error(_0x51600f(0x1fa));const _0x499bd1=((_0x5e0f5a=this[_0x51600f(0xfe)]['getConfig'](u[_0x51600f(0x328)]))!=null?_0x5e0f5a:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e9e58+_0x51600f(0x188)+_0x1e9eca,_0x164bb4=new URL(window[_0x51600f(0x1a0)][_0x51600f(0x1b0)]),_0x1279b3={'scriptId':_0x1e9e58,'runId':(_0x2f43d1=_0x164bb4['searchParams'][_0x51600f(0x193)](_0x51600f(0x19b)))!=null?_0x2f43d1:'','function':_0x1e9eca,'unitId':_0x102ebc[_0x51600f(0x218)](),'argsOfFunction':JSON[_0x51600f(0x1f1)](_0x12bb8d),'invokeId':(_0x4de809=_0x5c2d20[_0x51600f(0x292)])!=null?_0x4de809:'','executionId':(_0x49b0bd=_0x5c2d20[_0x51600f(0x309)])!=null?_0x49b0bd:''};try{const _0x27ef44=await this[_0x51600f(0xd0)][_0x51600f(0x130)](_0x499bd1,{'body':_0x1279b3});return _0x27ef44[_0x51600f(0x2df)][_0x51600f(0x19f)]&&_0x27ef44['body'][_0x51600f(0x19f)]['code']!==G['OK']?_0x51600f(0x260):_0x27ef44[_0x51600f(0x2df)][_0x51600f(0x219)];}catch{return _0x51600f(0x260);}}},exports[_0x282411(0x82)]=ds([fe(0x0,a[_0x282411(0x200)]),fe(0x1,a[_0x282411(0x12c)](x[_0x282411(0x7c)])),fe(0x2,a['IConfigService'])],exports[_0x282411(0x82)]);const we=0x7530,ye=_0x282411(0x2c8);class fs extends a[_0x282411(0x2a4)]{constructor(){const _0x4cba0d=_0x282411;super(),_(this,_0x4cba0d(0x1e9),a[_0x4cba0d(0x273)]()),_(this,_0x4cba0d(0x18b),new Set()),_(this,_0x4cba0d(0xbf),new Map()),_(this,_0x4cba0d(0x181),null),_(this,_0x4cba0d(0x1bf),new Map()),_(this,'_unitStatus',new Map()),this[_0x4cba0d(0x10c)]();}[_0x282411(0xfc)](){const _0x5bb75f=_0x282411;super[_0x5bb75f(0xfc)](),this[_0x5bb75f(0x1bf)][_0x5bb75f(0x153)]((_0x4572c6,_0x1dae43)=>this['_removeClearOtherTimer'](_0x1dae43)),this[_0x5bb75f(0x181)]&&window[_0x5bb75f(0x314)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x37afd9){const _0x10b692=_0x282411;return this[_0x10b692(0xf7)](_0x37afd9)[_0x10b692(0x131)](I[_0x10b692(0x1f3)]());}[_0x282411(0x305)](_0x235324){const _0x11c284=_0x282411;this['_selfUnitIDs'][_0x11c284(0x197)]===0x0&&this['_scheduleHeartbeat'](),this[_0x11c284(0x18b)]['add'](_0x235324),this[_0x11c284(0x1be)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x235324],'isForwarded':!0x1});}[_0x282411(0x124)](_0x5bf6cb){const _0xe96225=_0x282411;this[_0xe96225(0x18b)]['delete'](_0x5bf6cb),this['_selfUnitIDs'][_0xe96225(0x197)]===0x0&&this[_0xe96225(0x181)]&&window['clearInterval'](this[_0xe96225(0x181)]);}['_init'](){const _0x4c9c6e=_0x282411;this[_0x4c9c6e(0x144)](a[_0x4c9c6e(0x25a)](I[_0x4c9c6e(0x251)](window,'storage')[_0x4c9c6e(0x267)](_0x45bd07=>{const _0x1bb10c=_0x4c9c6e;if(_0x45bd07['key']!==ye||!_0x45bd07[_0x1bb10c(0x1cc)])return;const _0x510a68=JSON[_0x1bb10c(0x15d)](_0x45bd07[_0x1bb10c(0x1cc)]);this['_handleEvent'](_0x510a68);}))),window[_0x4c9c6e(0x272)](_0x4c9c6e(0x98),()=>this[_0x4c9c6e(0x1be)]({'type':0x1,'memberID':this[_0x4c9c6e(0x1e9)],'unitIDs':Array[_0x4c9c6e(0x1b8)](this[_0x4c9c6e(0x18b)])}));}[_0x282411(0x137)](_0x1aafb4){const _0x368517=_0x282411;switch(_0x1aafb4['type']){case 0x0:this[_0x368517(0x2d3)](_0x1aafb4);break;case 0x1:this[_0x368517(0x2cb)](_0x1aafb4);break;case 0x2:this[_0x368517(0x190)](_0x1aafb4);break;}}[_0x282411(0x2d3)](_0x121c79){const _0x507488=_0x282411,{unitIDs:_0x375f01,memberID:_0x3f8044,isForwarded:_0x1ff73c}=_0x121c79;_0x375f01[_0x507488(0x153)](_0x15fb82=>{const _0x231186=_0x507488;if(!_0x1ff73c&&this[_0x231186(0xbf)][_0x231186(0x13b)](_0x15fb82)&&this[_0x231186(0xf7)](_0x15fb82)[_0x231186(0xe2)](u[_0x231186(0x259)][_0x231186(0x22d)]),!this[_0x231186(0xbf)][_0x231186(0x13b)](_0x15fb82)||!this[_0x231186(0xbf)]['get'](_0x15fb82)[_0x231186(0x13b)](_0x3f8044)){const _0x27d482=this[_0x231186(0xbf)][_0x231186(0x193)](_0x15fb82)||new Set();_0x27d482['add'](_0x3f8044),this[_0x231186(0xbf)][_0x231186(0x302)](_0x15fb82,_0x27d482),this[_0x231186(0x19a)](_0x3f8044);}}),_0x1ff73c||this[_0x507488(0x1be)]({'type':0x0,'memberID':this[_0x507488(0x1e9)],'unitIDs':[...this[_0x507488(0x18b)]],'isForwarded':!0x0});}[_0x282411(0x19a)](_0x58a5eb){const _0x192d34=_0x282411;this['_removeClearOtherTimer'](_0x58a5eb);const _0x53df44=window[_0x192d34(0x8a)](()=>{const _0x234070=_0x192d34;this[_0x234070(0xbf)][_0x234070(0x153)](_0x57566b=>{const _0x309620=_0x234070;_0x57566b[_0x309620(0xbd)](_0x58a5eb);});},we*0x2);this['_clearOtherTimers'][_0x192d34(0x302)](_0x58a5eb,_0x53df44);}[_0x282411(0x18f)](_0x1dad62){const _0x33b664=_0x282411;if(this[_0x33b664(0x1bf)][_0x33b664(0x13b)](_0x1dad62)){const _0x3abe2d=this[_0x33b664(0x1bf)][_0x33b664(0x193)](_0x1dad62);_0x3abe2d&&window['clearTimeout'](_0x3abe2d),this[_0x33b664(0x1bf)]['set'](_0x1dad62,null);}}[_0x282411(0x2cb)](_0x716b3){const _0xe464bd=_0x282411,{memberID:_0x11726e,unitIDs:_0x2ca15c}=_0x716b3;_0x2ca15c[_0xe464bd(0x153)](_0x3a95dd=>{const _0x51904a=_0xe464bd;var _0x300959;const _0x237300=this[_0x51904a(0xbf)][_0x51904a(0x193)](_0x3a95dd);_0x237300&&(_0x237300['delete'](_0x11726e),(_0x300959=this[_0x51904a(0xf7)](_0x3a95dd))==null||_0x300959[_0x51904a(0xe2)](_0x237300[_0x51904a(0x197)]===0x0?u['UnitStatus'][_0x51904a(0x175)]:u['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x11726e);}[_0x282411(0x190)](_0x12726b){const _0x5a72e2=_0x282411;this[_0x5a72e2(0x19a)](_0x12726b[_0x5a72e2(0x2da)]);}[_0x282411(0x1be)](_0x33d5d3){const _0xe8dc12=_0x282411;localStorage[_0xe8dc12(0x33f)](ye,JSON[_0xe8dc12(0x1f1)](_0x33d5d3));}[_0x282411(0xa8)](){const _0x3a293e=_0x282411;this[_0x3a293e(0x181)]=window[_0x3a293e(0x185)](()=>{const _0x50ab56=_0x3a293e;this[_0x50ab56(0x1be)]({'type':0x2,'memberID':this[_0x50ab56(0x1e9)]});},we);}['_ensureSubject'](_0x53b828){const _0x3a07c4=_0x282411;return this[_0x3a07c4(0x1af)][_0x3a07c4(0x13b)](_0x53b828)||this['_unitStatus']['set'](_0x53b828,new I['BehaviorSubject'](u[_0x3a07c4(0x259)][_0x3a07c4(0x175)])),this[_0x3a07c4(0x1af)][_0x3a07c4(0x193)](_0x53b828);}}exports['IURLService']=Oe,exports[_0x282411(0x286)]=je,exports[_0x282411(0x2b9)]=fs,exports[_0x282411(0x2bf)]=ke;
|
|
1
|
+
'use strict';const _0x187bf3=_0x3f2d;(function(_0x597fd9,_0x4017ac){const _0x43abd1=_0x3f2d,_0x49afce=_0x597fd9();while(!![]){try{const _0x26dd14=-parseInt(_0x43abd1(0x281))/0x1*(parseInt(_0x43abd1(0x201))/0x2)+parseInt(_0x43abd1(0x26e))/0x3+parseInt(_0x43abd1(0x2de))/0x4*(-parseInt(_0x43abd1(0x235))/0x5)+-parseInt(_0x43abd1(0x435))/0x6+-parseInt(_0x43abd1(0x20f))/0x7+-parseInt(_0x43abd1(0x319))/0x8*(-parseInt(_0x43abd1(0x1e1))/0x9)+parseInt(_0x43abd1(0x315))/0xa*(parseInt(_0x43abd1(0x2a1))/0xb);if(_0x26dd14===_0x4017ac)break;else _0x49afce['push'](_0x49afce['shift']());}catch(_0x1ddd97){_0x49afce['push'](_0x49afce['shift']());}}}(_0x14c5,0xd310d));var Xe=Object['defineProperty'],Ke=(_0x32c1d9,_0x21dab8,_0x3fccfb)=>_0x21dab8 in _0x32c1d9?Xe(_0x32c1d9,_0x21dab8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fccfb}):_0x32c1d9[_0x21dab8]=_0x3fccfb,_=(_0x5845be,_0x4e9fa2,_0x381799)=>Ke(_0x5845be,typeof _0x4e9fa2!=_0x187bf3(0x270)?_0x4e9fa2+'':_0x4e9fa2,_0x381799);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x187bf3(0x3aa)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x30705b,..._0x1445f0}){const _0x4b4e2b=_0x187bf3,{icon:_0x588bb5,id:_0x486288,className:_0xde170d,extend:_0x21c1a9,..._0x1f04e8}=_0x1445f0,_0xef0366=(_0x4b4e2b(0x250)+_0x486288+'\x20'+(_0xde170d||''))[_0x4b4e2b(0x2e9)](),_0x40e8c9=A[_0x4b4e2b(0x459)]('_'+Qe());return $e(_0x588bb5,''+_0x486288,{'defIds':_0x588bb5['defIds'],'idSuffix':_0x40e8c9[_0x4b4e2b(0x2f4)]},{'ref':_0x30705b,'className':_0xef0366,..._0x1f04e8},_0x21c1a9);}function $e(_0x2e9193,_0x1f3f81,_0x15d96d,_0x2043b9,_0x490f1f){const _0x256f9f=_0x187bf3;return A[_0x256f9f(0x30f)](_0x2e9193[_0x256f9f(0x1c5)],{'key':_0x1f3f81,...Je(_0x2e9193,_0x15d96d,_0x490f1f),..._0x2043b9},(Ze(_0x2e9193,_0x15d96d)[_0x256f9f(0x30e)]||[])['map']((_0x135bb9,_0x3a68fd)=>$e(_0x135bb9,_0x1f3f81+'-'+_0x2e9193[_0x256f9f(0x1c5)]+'-'+_0x3a68fd,_0x15d96d,void 0x0,_0x490f1f)));}function Je(_0x4d84cb,_0x2e5072,_0x162f33){const _0x3b9764=_0x187bf3,_0x1f0c46={..._0x4d84cb[_0x3b9764(0x3d8)]};_0x162f33!=null&&_0x162f33['colorChannel1']&&_0x1f0c46['fill']==='colorChannel1'&&(_0x1f0c46[_0x3b9764(0x48c)]=_0x162f33[_0x3b9764(0x226)]),_0x4d84cb[_0x3b9764(0x1c5)]===_0x3b9764(0x256)&&_0x1f0c46['id']&&(_0x1f0c46['id']=_0x1f0c46['id']+_0x2e5072[_0x3b9764(0x44d)]),Object['entries'](_0x1f0c46)[_0x3b9764(0x35c)](([_0x3ffccf,_0xd71b28])=>{const _0xd60667=_0x3b9764;_0x3ffccf===_0xd60667(0x256)&&typeof _0xd71b28==_0xd60667(0x34c)&&(_0x1f0c46[_0x3ffccf]=_0xd71b28[_0xd60667(0x23b)](/url\(#(.*)\)/,_0xd60667(0x307)+_0x2e5072[_0xd60667(0x44d)]+')'));});const {defIds:_0x15b636}=_0x2e5072;return!_0x15b636||_0x15b636[_0x3b9764(0x313)]===0x0||(_0x4d84cb[_0x3b9764(0x1c5)]===_0x3b9764(0x372)&&_0x1f0c46[_0x3b9764(0x3a7)]&&(_0x1f0c46[_0x3b9764(0x3a7)]=_0x1f0c46[_0x3b9764(0x3a7)]+_0x2e5072[_0x3b9764(0x44d)]),Object[_0x3b9764(0x386)](_0x1f0c46)[_0x3b9764(0x35c)](([_0x35aa9d,_0x486afd])=>{const _0x899b3f=_0x3b9764;typeof _0x486afd==_0x899b3f(0x34c)&&(_0x1f0c46[_0x35aa9d]=_0x486afd[_0x899b3f(0x23b)](/url\(#(.*)\)/,_0x899b3f(0x307)+_0x2e5072[_0x899b3f(0x44d)]+')'));})),_0x1f0c46;}function Ze(_0x5642ba,_0x5783a4){const _0x1b28a6=_0x187bf3;var _0x7ce5d0;const {defIds:_0x3c7d44}=_0x5783a4;return!_0x3c7d44||_0x3c7d44[_0x1b28a6(0x313)]===0x0?_0x5642ba:_0x5642ba[_0x1b28a6(0x1c5)]===_0x1b28a6(0x1f5)&&((_0x7ce5d0=_0x5642ba[_0x1b28a6(0x30e)])!=null&&_0x7ce5d0[_0x1b28a6(0x313)])?{..._0x5642ba,'children':_0x5642ba[_0x1b28a6(0x30e)][_0x1b28a6(0x327)](_0x1d6d31=>typeof _0x1d6d31['attrs']['id']==_0x1b28a6(0x34c)&&_0x3c7d44&&_0x3c7d44['includes'](_0x1d6d31['attrs']['id'])?{..._0x1d6d31,'attrs':{..._0x1d6d31[_0x1b28a6(0x3d8)],'id':_0x1d6d31[_0x1b28a6(0x3d8)]['id']+_0x5783a4[_0x1b28a6(0x44d)]}}:_0x1d6d31)}:_0x5642ba;}function Qe(){const _0x19b6a6=_0x187bf3;return Math['random']()[_0x19b6a6(0x224)](0x24)[_0x19b6a6(0x3ed)](0x2,0x8);}pe['displayName']=_0x187bf3(0x44e);const et={'tag':_0x187bf3(0x390),'attrs':{'xmlns':_0x187bf3(0x41a),'fill':_0x187bf3(0x2e2),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x187bf3(0x3e7),'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':_0x187bf3(0x489),'strokeLinejoin':_0x187bf3(0x489),'strokeWidth':1.2}}]},{'tag':_0x187bf3(0x1f5),'attrs':{},'children':[{'tag':_0x187bf3(0x1fd),'attrs':{'id':_0x187bf3(0x299)},'children':[{'tag':_0x187bf3(0x3eb),'attrs':{'fill':_0x187bf3(0x392),'d':_0x187bf3(0x28b)}}]}]}],'defIds':[_0x187bf3(0x299)]},xe=A[_0x187bf3(0x414)](function(_0x25a822,_0x1431c0){const _0x44fa2a=_0x187bf3;return A[_0x44fa2a(0x30f)](pe,Object[_0x44fa2a(0x2bb)]({},_0x25a822,{'id':_0x44fa2a(0x26b),'ref':_0x1431c0,'icon':et}));});xe[_0x187bf3(0x3e6)]=_0x187bf3(0x217);const tt={'tag':'svg','attrs':{'xmlns':_0x187bf3(0x41a),'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x187bf3(0x3ac)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x187bf3(0x3eb),'attrs':{'stroke':_0x187bf3(0x3e7),'d':_0x187bf3(0x3ca),'strokeLinecap':_0x187bf3(0x489),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x187bf3(0x1f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x187bf3(0x3df)},'children':[{'tag':_0x187bf3(0x3eb),'attrs':{'fill':'white','d':_0x187bf3(0x28b),'transform':_0x187bf3(0x2ac)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Be=A[_0x187bf3(0x414)](function(_0x26097e,_0x3b9600){const _0x4ec413=_0x187bf3;return A[_0x4ec413(0x30f)](pe,Object[_0x4ec413(0x2bb)]({},_0x26097e,{'id':_0x4ec413(0x312),'ref':_0x3b9600,'icon':tt}));});Be[_0x187bf3(0x3e6)]=_0x187bf3(0x45f);function st(_0x59467d){const _0x383daf=_0x187bf3;switch(_0x59467d){case u[_0x383daf(0x3b4)]['OFFLINE']:return _0x383daf(0x310);case u[_0x383daf(0x3b4)][_0x383daf(0x2f6)]:return _0x383daf(0x3d7);case u['CollaborationStatus'][_0x383daf(0x41d)]:return _0x383daf(0x249);case u[_0x383daf(0x3b4)]['NOT_COLLAB']:return'collabStatus.notCollab';case u[_0x383daf(0x3b4)][_0x383daf(0x1d5)]:case u[_0x383daf(0x3b4)]['AWAITING_WITH_PENDING']:return _0x383daf(0x3af);case u[_0x383daf(0x3b4)][_0x383daf(0x322)]:case u['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function it(_0x26f43e){const _0x130cee=_0x187bf3,{status$:_0x290c16}=_0x26f43e,_0x451692=O[_0x130cee(0x3ba)](_0x290c16,u['CollaborationStatus']['NOT_COLLAB']),_0x405de9=O[_0x130cee(0x3e9)](a[_0x130cee(0x363)]),_0x8b0e31=O[_0x130cee(0x3e9)](u[_0x130cee(0x3a8)]),_0x51b27a=_0x451692!==u[_0x130cee(0x3b4)][_0x130cee(0x39e)],_0x21c398=_0x405de9['t'](st(_0x451692)),_0x2955f9=_0x51b27a?M[_0x130cee(0x286)](Be,{}):M[_0x130cee(0x286)](xe,{}),_0x479adf=A['useCallback'](()=>{const _0x175175=_0x130cee;_0x51b27a||_0x8b0e31[_0x175175(0x402)]();},[_0x51b27a,_0x8b0e31]);function _0x3f13a1(){const _0x486b71=_0x130cee;return M[_0x486b71(0x40f)](_0x486b71(0x461),{'className':_0x486b71(0x405),'onClick':_0x479adf,'children':[M[_0x486b71(0x286)](_0x486b71(0x461),{'className':p[_0x486b71(0x21a)](_0x486b71(0x298),{'univer-text-green-500':_0x51b27a,'univer-text-red-500':!_0x51b27a}),'children':_0x2955f9}),M[_0x486b71(0x286)]('div',{'className':_0x486b71(0x32b),'children':_0x21c398})]});}return _0x51b27a?_0x3f13a1():M['jsx'](p['Tooltip'],{'title':_0x405de9['t'](_0x130cee(0x1df)),'children':_0x3f13a1()});}var nt=Object['getOwnPropertyDescriptor'],rt=(_0x54c8ea,_0x22889c,_0x3c60ff,_0xfd16a1)=>{for(var _0x15b0f3=_0xfd16a1>0x1?void 0x0:_0xfd16a1?nt(_0x22889c,_0x3c60ff):_0x22889c,_0x4a5d23=_0x54c8ea['length']-0x1,_0x4bf861;_0x4a5d23>=0x0;_0x4a5d23--)(_0x4bf861=_0x54c8ea[_0x4a5d23])&&(_0x15b0f3=_0x4bf861(_0x15b0f3)||_0x15b0f3);return _0x15b0f3;},K=(_0xb17a50,_0x45e453)=>(_0x2314fb,_0xf61033)=>_0x45e453(_0x2314fb,_0xf61033,_0xb17a50);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x187bf3(0x3f5)]{constructor(_0x1a4070,_0x3e4f85,_0x4b8251,_0x17cf80){const _0x150521=_0x187bf3;super(),_(this,_0x150521(0x477),new I[(_0x150521(0x1f1))](u[_0x150521(0x3b4)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x1a4070,this[_0x150521(0x3cc)]=_0x3e4f85,this['_collaborationController']=_0x4b8251,this[_0x150521(0x3e2)]=_0x17cf80,this['_initStatusComponent'](),this[_0x150521(0x30d)]());}['_initStatusListener'](){const _0x1c02ad=_0x187bf3;this[_0x1c02ad(0x3d6)](this[_0x1c02ad(0x382)][_0x1c02ad(0x46b)][_0x1c02ad(0x467)](I['switchMap'](()=>{const _0x3b88de=_0x1c02ad,_0x1e7c70=this[_0x3b88de(0x382)]['getFocusedUnit']();return _0x1e7c70?this[_0x3b88de(0x255)][_0x3b88de(0x2d7)](_0x1e7c70['getUnitId']()):I['of'](null);}),I[_0x1c02ad(0x424)](_0x49003c=>_0x49003c?_0x49003c[_0x1c02ad(0x1f7)]:I['of'](u[_0x1c02ad(0x3b4)][_0x1c02ad(0x333)])))['subscribe'](_0x1c933b=>{const _0x33b195=_0x1c02ad;this[_0x33b195(0x477)]['next'](_0x1c933b);}));}[_0x187bf3(0x3c2)](){const _0x59f348=_0x187bf3;this[_0x59f348(0x3d6)](this[_0x59f348(0x3e2)][_0x59f348(0x2d8)](O[_0x59f348(0x3c3)]['HEADER_MENU'],()=>O['connectInjector'](ot({'status$':this[_0x59f348(0x477)][_0x59f348(0x36f)]()}),this[_0x59f348(0x3cc)])));}},exports['DesktopCollaborationStatusDisplayController']=rt([K(0x0,a[_0x187bf3(0x1e3)]),K(0x1,a[_0x187bf3(0x3a0)](a['Injector'])),K(0x2,a['Inject'](u[_0x187bf3(0x289)])),K(0x3,O['IUIPartsService'])],exports[_0x187bf3(0x366)]);function ot(_0x3f953f){const {status$:_0x51ba74}=_0x3f953f;return function(){const _0x3ad1dd=_0x3f2d;return M[_0x3ad1dd(0x286)](it,{'status$':_0x51ba74});};}const Oe=a[_0x187bf3(0x2a8)](_0x187bf3(0x330));var at=Object[_0x187bf3(0x306)],ct=(_0x2287fa,_0x42d620,_0xbb94f7,_0x9a4342)=>{const _0x3ce8e9=_0x187bf3;for(var _0x35d68f=_0x9a4342>0x1?void 0x0:_0x9a4342?at(_0x42d620,_0xbb94f7):_0x42d620,_0x48bab8=_0x2287fa[_0x3ce8e9(0x313)]-0x1,_0x3204d8;_0x48bab8>=0x0;_0x48bab8--)(_0x3204d8=_0x2287fa[_0x48bab8])&&(_0x35d68f=_0x3204d8(_0x35d68f)||_0x35d68f);return _0x35d68f;},Y=(_0x854b12,_0x199c7f)=>(_0x1168d0,_0x2e8c85)=>_0x199c7f(_0x1168d0,_0x2e8c85,_0x854b12);exports[_0x187bf3(0x450)]=class extends a[_0x187bf3(0x31f)]{constructor(_0x49fc8b,_0x2773f2,_0x504821,_0x4cb7b3,_0x34ee04){const _0x38484e=_0x187bf3;super(),this[_0x38484e(0x29b)]=_0x49fc8b,this[_0x38484e(0x446)]=_0x2773f2,this[_0x38484e(0x26a)]=_0x504821,this[_0x38484e(0x377)]=_0x4cb7b3,_0x34ee04?_0x34ee04==null||_0x34ee04[_0x38484e(0x316)]()[_0x38484e(0x2be)](()=>this[_0x38484e(0x20a)]()):(this[_0x38484e(0x446)][_0x38484e(0x24d)](_0x38484e(0x292),_0x38484e(0x454)),this[_0x38484e(0x20a)]());}async[_0x187bf3(0x20a)](){const _0x16b3a0=_0x187bf3,_0x51a874=this['_urlService'][_0x16b3a0(0x341)]('unit'),_0x2562e0=this[_0x16b3a0(0x29b)][_0x16b3a0(0x341)]('type'),_0x1d4d60=this['_urlService'][_0x16b3a0(0x341)](_0x16b3a0(0x41b));if(!_0x51a874||!_0x2562e0){this['_logService'][_0x16b3a0(0x24d)](_0x16b3a0(0x292),_0x16b3a0(0x25a));return;}const _0x19600d=await this['_dataLoaderService'][_0x16b3a0(0x2a3)](_0x51a874,Number(_0x2562e0),_0x1d4d60);_0x19600d&&_0x19600d instanceof a['Workbook']&&this[_0x16b3a0(0x3f7)](_0x19600d);}async['_setupSubUnitSync'](_0xa582bb){const _0x290f9e=_0x187bf3;await this[_0x290f9e(0x26c)](_0xa582bb),_0xa582bb['activeSheet$'][_0x290f9e(0x467)](I[_0x290f9e(0x262)](this[_0x290f9e(0x48a)]))['subscribe'](_0x391c18=>{_0x391c18&&this['_updateURLWithCurrentState'](_0x391c18);}),this[_0x290f9e(0x29b)]['urlChange$']['pipe'](I[_0x290f9e(0x262)](this[_0x290f9e(0x48a)]))[_0x290f9e(0x320)](()=>this['_updateSubUnitFromURLParams'](_0xa582bb));}[_0x187bf3(0x336)](_0x213010,_0x123dd3=!0x1){const _0x57933a=_0x187bf3,_0x12d104=this[_0x57933a(0x29b)]['getParam'](_0x57933a(0x41b));_0x213010['getSheetId']()!==_0x12d104&&this['_urlService']['setParam']('subunit',_0x213010['getSheetId'](),_0x123dd3);}async[_0x187bf3(0x26c)](_0x5ab7b9){const _0x58eef0=_0x187bf3;var _0x25864f;const _0xb01a06=this[_0x58eef0(0x29b)][_0x58eef0(0x341)](_0x58eef0(0x41b));if(!_0xb01a06||!_0x5ab7b9[_0x58eef0(0x260)](_0xb01a06)){const _0x3b57b9=_0x5ab7b9[_0x58eef0(0x3c1)]()[0x0],_0x4a9b15=_0x5ab7b9[_0x58eef0(0x260)](_0x3b57b9);if(!_0x4a9b15)return;this[_0x58eef0(0x336)](_0x4a9b15,!0x0),await this['_commandService'][_0x58eef0(0x27f)](v[_0x58eef0(0x490)]['id'],{'unitId':_0x5ab7b9[_0x58eef0(0x36a)](),'subUnitId':_0x3b57b9});return;}((_0x25864f=_0x5ab7b9['getActiveSheet']())==null?void 0x0:_0x25864f['getSheetId']())!==_0xb01a06&&await this[_0x58eef0(0x26a)]['executeCommand'](v[_0x58eef0(0x490)]['id'],{'unitId':_0x5ab7b9[_0x58eef0(0x36a)](),'subUnitId':_0xb01a06});}},exports[_0x187bf3(0x450)]=ct([Y(0x0,Oe),Y(0x1,a[_0x187bf3(0x361)]),Y(0x2,a['ICommandService']),Y(0x3,a[_0x187bf3(0x3a0)](u[_0x187bf3(0x369)])),Y(0x4,a[_0x187bf3(0x3c7)](qe[_0x187bf3(0x2c7)]))],exports[_0x187bf3(0x450)]);var lt=Object['getOwnPropertyDescriptor'],_t=(_0x136af3,_0x2cfeb8,_0x28fbbb,_0x1ce612)=>{for(var _0x543f4f=_0x1ce612>0x1?void 0x0:_0x1ce612?lt(_0x2cfeb8,_0x28fbbb):_0x2cfeb8,_0xd984fa=_0x136af3['length']-0x1,_0xb451f2;_0xd984fa>=0x0;_0xd984fa--)(_0xb451f2=_0x136af3[_0xd984fa])&&(_0x543f4f=_0xb451f2(_0x543f4f)||_0x543f4f);return _0x543f4f;},De=(_0x5d9fe5,_0x2b8874)=>(_0x258c31,_0x389b75)=>_0x2b8874(_0x258c31,_0x389b75,_0x5d9fe5);let me=class extends a[_0x187bf3(0x31f)]{constructor(_0x13f52b,_0x5e052e){const _0x2c4ede=_0x187bf3;super(),this[_0x2c4ede(0x290)]=_0x13f52b,this[_0x2c4ede(0x240)]=_0x5e052e,this[_0x2c4ede(0x20a)]();}[_0x187bf3(0x20a)](){const _0x5332fa=_0x187bf3,_0x472298=this;this[_0x5332fa(0x3d6)](this[_0x5332fa(0x290)][_0x5332fa(0x471)]({'onBeforePasteImage':async _0x4dc9a3=>{const _0x3c7bec=_0x5332fa,_0x3cd7fc=await _0x472298[_0x3c7bec(0x240)][_0x3c7bec(0x1f4)](_0x4dc9a3);return _0x3cd7fc?{'source':_0x3cd7fc[_0x3c7bec(0x251)],'imageSourceType':_0x3cd7fc[_0x3c7bec(0x2dd)]}:null;}}));}};me=_t([De(0x0,T[_0x187bf3(0x1e0)]),De(0x1,ze['IImageIoService'])],me);const Ne=[_0x187bf3(0x26d),_0x187bf3(0x2ce),_0x187bf3(0x417),_0x187bf3(0x30a),'blue.400',_0x187bf3(0x27a)];class Re extends a[_0x187bf3(0x3f5)]{constructor(){const _0xb40e90=_0x187bf3;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0xb40e90(0x26f),0x0);}[_0x187bf3(0x375)](_0x50e14c){const _0x48e91e=_0x187bf3;if(this[_0x48e91e(0x3b5)][_0x48e91e(0x2eb)](_0x50e14c))return this[_0x48e91e(0x3b5)]['get'](_0x50e14c);const _0x32c0d0=Ne[this[_0x48e91e(0x26f)]];return this[_0x48e91e(0x26f)]=(this[_0x48e91e(0x26f)]+0x1)%Ne[_0x48e91e(0x313)],this[_0x48e91e(0x3b5)][_0x48e91e(0x1f9)](_0x50e14c,_0x32c0d0),_0x32c0d0;}}function Fe(_0x12dc9c){const _0x37c7b8=_0x187bf3;let _0x21f022='';for(const _0x3e0f8e of _0x12dc9c){const {startOffset:_0x35396d,endOffset:_0x4e3b78,isActive:_0x486fe9,rangeType:_0x57687a,segmentId:_0x2fe0e3,segmentPage:_0x368ab2}=_0x3e0f8e;_0x21f022[_0x37c7b8(0x313)]&&(_0x21f022+=','),_0x21f022+=_0x35396d+':'+_0x4e3b78+':'+(_0x486fe9?'1':'0')+':'+_0x57687a+':'+_0x2fe0e3+':'+_0x368ab2;}return _0x21f022;}function ht(_0x598cd8){const _0x53068c=_0x187bf3,_0x56c6b3=_0x598cd8['split'](','),_0x2734a1=[];for(const _0x8ca5bf of _0x56c6b3){const [_0x54e258,_0x4a64bd,_0x4aa7c1,_0x446db2,_0x1ce231,_0x353872]=_0x8ca5bf[_0x53068c(0x1ea)](':');_0x2734a1['push']({'startOffset':Number(_0x54e258),'endOffset':Number(_0x4a64bd),'collapsed':_0x54e258===_0x4a64bd,'isActive':_0x4aa7c1==='1','rangeType':_0x446db2===a[_0x53068c(0x2aa)]['TEXT']?a[_0x53068c(0x2aa)][_0x53068c(0x1f3)]:a[_0x53068c(0x2aa)]['RECT'],'segmentId':typeof _0x1ce231==_0x53068c(0x34c)?String(_0x1ce231):'','segmentPage':Number(_0x353872!=null?_0x353872:-0x1)});}return _0x2734a1[_0x53068c(0x1d4)](_0x18c742=>_0x18c742[_0x53068c(0x2ba)])||(_0x2734a1[0x0][_0x53068c(0x2ba)]=!0x0),_0x2734a1;}function _0x14c5(){const _0x3e21de=['OTHER_CLIENTS_EDITING','collabStatus.syncing','isEditing','clearInterval','_transformService','INVITE_CODE_HAS_BEEN_UES','CollaborationStatus','_assignedColors','DisposableCollection','_drawTextRange','find','START_CALCULATION','useObservable','height','[Window\x20Error]:\x20','getUnitStatus$','SUCCESS','top','_context','getUnhiddenWorksheets','_initStatusComponent','BuiltInUIPart','addEventListener','all','FromArray','Optional','ticket','exhaustSavingTask','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','range','_injector','onCommandExecuted','color','getAncestorScale','[LogService\x20Error]:\x20','transform','fromEventSubject','_messageService','push','isArray','disposeWithMe','collabStatus.conflict','attrs','_cursor','LOGIN_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','_httpService','setTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','on-line-icon_clip0_910_349','_lastResponseTimestamp','_initResize','_uiPartsService','sessionStatus$','now','_initEntityListener','displayName','currentColor','setUndoRedoMutationParamsCache','useDependency','bind','path','runId','substring','ENTITLE_CAN_NOT_BUY_LOWER_OTP','join','FormulaExecutedStateType','formula.calculation.started','WebBrowserSingleActiveUnitService','Plugin','_clearPolling','Disposable','_shapes','_setupSubUnitSync','UNIVER_SHEET','Rectangle','_localCacheService','rgba(255,\x20255,\x20255,\x200.01)','/universer-api/license/formula/limit/status','requireSession','[Unhandled\x20Rejection]:\x20','stage','unitId','getCurrentSelections','reconnect','REDEMPTION_CODE_NOT_STARTED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','univer-flex\x20univer-items-center','_transformHistoryAndStateStack','AUTHORIZE_CODE_ILLEGAL','_getMergeRange','getValue','catch','createInstance','SheetsSelectionsService','_config','transformByState','jsxs','VIEW_MAIN','DeleteRangeMoveUpCommandId','fromEvent','parseInt','forwardRef','_getSheetObject','origin','green.600','init','black','http://www.w3.org/2000/svg','subunit','EMAIL_VERIFY_CODE_MISMATCH','FETCH_MISS','history','WebSocketService','deserializeRangeWithSheet','getFocusedUnit','shift','USER_IS_ANONYMOUS','switchMap','SetDocZoomRatioOperation','SetTextSelectionsOperation','_collaborationSessionService','CONNECTOR_DATA_TOO_LARGE','onLocalMutation','Unknown\x20user','_color','UNIVER_DOC','registerRefRange','save','m2Prime','RichTextEditingMutation','_entities','values','href','...','7495206GbOWyN','RegularPolygon','body','parse','isTransformMutationsWithChangesetSuccess','getActiveRange','_refreshCollabCursors','LOGIN_TOKEN_PROCESSING_FAILED','ENTITLE_DUP_SUBSCRIPTION','INVALID_INVITE_CODE','MemberService','name','RECT','getStateCache','_heartbeatTimer','location','_textBubble','_logService','DocSelectionManagerService','text','collab-text-anchor-','includes','size','onPointerEnter$','idSuffix','UniverIcon','YUUMI_AI_RUN_FAILED','CollaborationDataLoaderController','setParam','BrowserCollaborationSocketService','currentTheme$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','shareReplay','onRendered','permission.title','handleInsertRangeMoveRight','useRef','mapTo','reason','getMemberID','eventID','from','OnLineIcon','_anchorDot','div','COLORS','_docSyncEditingCollabCursorService','SOCKET_FAILED_RETRY','selection','formula.calculation.unable','pipe','MessageType','InsertRangeMoveDownCommandId','stack','focused$','RemoveColCommandId','DocStateChangeManagerService','_docTransformSelectionsService','Injector','onTransformChange$','addClipboardHook','row','enableLocalCache','lineno','pluginName','PAYMENT_CHANNEL_NOT_SUPPORT','_status$','APPLY_NON_SEQUENTIAL_REVISION','saveOfflineData','ENTITLE_NEED_BILLING_ADDRESS','collabCursorState$','actions','_refRangeService','search','getViewport','_getSessionTicket','APPLY_REJECT','_handleEvent','getCurrentRevOfUnit','searchParams','_handleLeaveEvent','CollaborationEvent','SetFormulaCalculationStartMutation','docStateChange$','round','dispose$','_maxFormulaLimit','fill','setAlpha','handleInsertRangeMoveDown','_toggleOffline','SetWorksheetActivateCommand','updateOfflineData','getRelativeToViewportCoord','delete','SetFormulaCalculationNotificationMutation','width','_handleHover','DeleteRangeMoveLeftCommandId','_notificationService','handleInsertCol','clearTimeout','toRgbString','endColumn','_getAnchorBounding','INVALID_ARGUMENT','session.connection-failed','_entityInit$','saveTaskMap','disposeUnit','tag','_getFormulaLimitStatus','mergeOverrideWithDependencies','_localStorageService','colno','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','InsertRowCommandId','getUndoRedoMutationParamsCache','IMessageService','sessionTicket','_registerDependencies','ranges','wsSessionTicketUrl','DATA_SOURCE_TOO_LARGE','some','AWAITING','unshift','textRanges','_uploadLog','APPLY_REVISION_CONFILICT','_getScale','_clearOtherTimers','_draw','unit','urlChange$','collab-client.tooltip.reconnect','IDocClipboardService','207zknKhX','override','IUniverInstanceService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_revisionService','\x20at\x20','_docSkeleton','_checkCalculationAvailable','contains','split','ICommandService','_drawRectRange','ENTITLE_COUPON_USED_UP','message','ENTITLE_INVALID_COUPON_CODE','_docTransformIMECacheService','BehaviorSubject','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','TEXT','saveImage','defs','startFormulaLimitUrl','status$','subUnitId','set','_docSkeletonManagerService','_removeClearOtherTimer','_startCalculationLimit','clipPath','getUniverSheetInstance','transformMutationsWithChangeset','transformMutation','14EXBpvx','redoState','key','APPLY_PERMISSION_DENIED','_hovered','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initDependencies','_cachedData','Shape','_init','error','_saveCache','CollaborationSocketService','_removeCollabCursors','10442236luWabx','WebURLService','CURRENT_STATUS_CANNOT_OPERATE','Error','triggerDblclick','_showGuardMessage','ISnapshotServerService','m1Prime','OffLineIcon','currentUsage','application/json','clsx','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','bottom','_getSaveTimeout','_initCommandInterceptor','#FFF','startRow','transformSelections','_selfUnitIDs','pushState','toString','send','colorChannel1','_startDocCollabCursor','engine','params','combineLatest','_scheduleClearOtherTimer','MOBILE_VERIFY_CODE_MISMATCH','_scene','deepClone','_onCursorDelete','SOCKET_FAILED','_toggleOnline','onPointerLeave$','IBeforeCloseService','add','5VAHMhe','_memberService','CollaborationUIEventService','_themeService','with','getTypeOfUnitDisposed$','replace','YUUMI_NO_CUBOID_FOR_QUESTION','replaceState','_cursors','roomMembers','_imageIoService','_online','_handleJoinEvent','_collabSessionService','sheetId','LICENSE_IMPORT_SIZE_EXCEEDED','storage','MUTATION','subscribeEvent','collabStatus.fetchMiss','_instanceService','getSheetId','getItem','debug','font','SHEET_VIEWPORT_KEY','univerjs-icon\x20univerjs-icon-','source','type','REDEMPTION_CODE_HAS_BEEN_CREATED','getRenderById','_collaborationController','mask','runOnServer','transformRemoteChangeset','_monkeyPatchLogService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerRenderDependencies','DependentOn','dispose','_saveTaskMap','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','_setFormulaLimitStatus','takeUntil','syncEditingCollabCursor','_handleHeartbeatEvent','dirtyRanges','collaboration.single-unit.warning','EffectRefRangId','post','getCellMatrix','_commandService','off-line-icon','_updateSubUnitFromURLParams','purple.300','1180785KBZvxo','_colorIndex','symbol','Rect','ITransformService','removeEventListener','_initCommandExecutedListener','_memberID','OTHER_CLIENT_EDITING','invokeId','LOCAL_CACHE_INTERVAL','Warning','yellow.400','runRefRangeMutations','Vector2','CHANGESET_REVISION_CONFILICT','getUnit','executeCommand','data','106495dUiLTR','UniverCollaborationClientUIPlugin','Failed','SetSelectionsOperation','skeleton','jsx','event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationController','debounce','M0\x200H16V16H0z','_renderManagerService','fillRule','stageInfo','_onRefRangeChange','_docClipboardService','_syncEditingCollabCursorService','[CollaborationDataLoaderController]','getConfig','_configService','DocIMEInputManagerService','addObject','MoveRangeCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','off-line-icon_clip0_910_343','onStarting','_urlService','USERS_LEAVE','_taskIds','UnitStatus','_hover','_disabled','39740569zVOUaU','EMAIL_HAS_BEEN_BOUND','loadUnit','endRow','LICENSE_EXPORT_SIZE_EXCEEDED','Subject','undoState','createIdentifier','ColorKit','DOC_RANGE_TYPE','getColor','translate(.97)','_initWindowErrorListener','HTTPService','limitInfo','enableFrontendLog','InsertRangeMoveRightCommandId','lineTo','distinctUntilChanged','ILocalCacheService','handleDeleteRangeMoveUp','_hideTimer','getCellPositionByOffset','YUUMI_ASYNCIO_CANCELLED','PY_RUNTIME_SCRIPT_ERROR','isActive','assign','REDEMPTION_CODE_INACTIVE','drawWith','then','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','RemoveRowCommandId','releaseFormulaLimitUrl','getColorFromTheme','UNAUTHENTICATED','closePath','IRemoteInstanceService','UPDATE_CURSOR','resize','COMPLETION_FINISHED','UniverInstanceType','code','ACTIVE_UNIT_EVENT_CHANNEL','jiqing.500','mutations','startColumn','hide','session.collaboration-timeout','registerBeforeClose','_releaseCalculationLimit','findNodePositionByCharIndex','IRenderManagerService','getCollabEntity$','registerComponent','transformStateCache','INotificationService','setItem','_backgroundColor','imageSourceType','1786172clVVqc','getOffsetConfig','min','getDocRanges','none','unitID','_session','_document','ThemeService','_lastPointer','_collaborationUIEventService','trim','getCurrent','has','REDEMPTION_CODE_FULLY_REDEEMED','INVITE_CODE_REQUIRED','Loading','disableLocalCache','registerRenderModule','_startSheetCollabCursor','_cursorInfo$','doc.mutation.rich-text-editing','current','_initEvent','CONFLICT','socket$','collaboration.closeRoom','arc','_colorAssignService','_collabCursorState$','onMouseMove','ENTITLE_COUPON_EXPIRED','toDisposable','RemoteUniscriptService','filter','_roomMembers$','_pollingInterval','isFormulaId','_scheduleSaving','debounceTime','getOwnPropertyDescriptor','url(#$1','_docTransformStateCacheService','serializeRangeWithSheet','red.300','IConfigService','_ensureSubject','_initStatusListener','children','createElement','collabStatus.offline','_transformPreviousActiveRange','on-line-icon','length','PERMISSION_DENIED','10qGPHUu','whenReady','complete','_transformUndoRedoStack','275168MlOyto','REDEMPTION_INVALID_CODE','show','column','isFormulaString','_unitOnClients','RxDisposable','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','SYNCED','_sheetSkeletonManagerService','getRangePointData','unload','_beforeCloseService','map','getSheetObject','touchDependencies','_anchor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','handleMoveRange','LICENSE_MAX_UNITS_EXCEEDED','ISocketService','TEXT_RANGE_LAYER_INDEX','uni.network.url-service','YUUMI_URL_COL_OUT_OF_RANGE','backgroundColor','NOT_COLLAB','_checkAndWaitForCalculationPermission','ENTITLE_CHAT_LIMIT_EXCEED','_updateURLWithCurrentState','MOBILE_HAS_BEEN_BOUND','measureText','_drawAnchor','_updateCollabCursors','_initUserListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','next','USER_NOT_FOUND','generateRandomId','_id','getParam','FormulaExecuteStageType','INVITE_CODE_ALREADY_BOUND','ENSURE_SNAPSHOT_EXECUTION','throttleTime','Tools','_cursorShapes','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','_localeService','YUUMI_UNABLE_LOAD_URL','string','getLocalCacheKey','NOT_FOUND','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','RefRangeService','merge','cursorInfo','setInterval','loadOfflineData','addHandlerCallback','_hasFormulaInDirtyRanges','editingUnit','memberID','CommandType','unsubscribe','forEach','stringify','_docStateChangeManagerService','isTransformMutationFailure','INTERNAL_ERROR','ILogService','ILocalStorageService','LocaleService','_createSocketURL','cursorInfo$','DesktopCollaborationStatusDisplayController','CollaborationUIEventId','ENTITLE_INSUFFICIENT_QUOTA','DataLoaderService','getUnitId','?taskId=','_applyCommand','_name','SessionStatus','asObservable','functionsExecutedState','UNRECOGNIZED','use','currentSkeleton$','getActiveSheet','assignAColorForMemberID','restore','_dataLoaderService','getSkeleton','_onCursorUpdate','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setShapeProps','ONLINE','newValue','handleIRemoveCol','SheetCollabCursorShape','_eventUnsubscribe','replaceDocRanges','_univerInstanceService','SheetSkeletonManagerService','fillStyle','formula.calculation.waiting','entries','USER_NOT_INVITED_CODE','_currentUsage','beginPath','CLOSE_ROOM','setActiveRange','_unitStatus','getVpScrollXYInfoByPosToVp','/run/','getCoordByCell','svg','UNDEFINED','white','get','max','NodePositionConvertToCursor','getMember','roomMembers$','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_range','JOIN_ROOM_FAILED','getCollabCursors$','evenodd','OFFLINE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Inject','totalFormulasToCalculate','_send','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','_updateLocalCursor','transformIMECache','xlink:href','CollaborationSessionService','beforeCommandExecuted','Module','labelPosition','1em','_collabCursorController'];_0x14c5=function(){return _0x3e21de;};return _0x14c5();}class be extends a[_0x187bf3(0x31f)]{constructor(){const _0x378183=_0x187bf3;super(...arguments),_(this,'_collabCursorState$',new I[(_0x378183(0x1f1))](null)),_(this,_0x378183(0x47b),this['_collabCursorState$']['asObservable']());}[_0x187bf3(0x263)](_0x437260){const _0x3a1157=_0x187bf3,{unitID:_0x14051f,memberID:_0x2826b4,textRanges:_0x5d9cca}=_0x437260,_0xb225cc=Fe(_0x5d9cca);if(_0xb225cc==='')return;const _0x48af31={'unitID':_0x14051f,'memberID':_0x2826b4,'selection':_0xb225cc};this[_0x3a1157(0x2fb)][_0x3a1157(0x33d)](_0x48af31);}}var ut=Object['getOwnPropertyDescriptor'],It=(_0x21c7d8,_0x479b4a,_0x5a0dda,_0x5bc7d0)=>{for(var _0x5712a1=_0x5bc7d0>0x1?void 0x0:_0x5bc7d0?ut(_0x479b4a,_0x5a0dda):_0x479b4a,_0x4047ae=_0x21c7d8['length']-0x1,_0x4c8fec;_0x4047ae>=0x0;_0x4047ae--)(_0x4c8fec=_0x21c7d8[_0x4047ae])&&(_0x5712a1=_0x4c8fec(_0x5712a1)||_0x5712a1);return _0x5712a1;},U=(_0x3565ad,_0xb6ed59)=>(_0x26f147,_0x38339d)=>_0xb6ed59(_0x26f147,_0x38339d,_0x3565ad);const St=0x12c,dt=0x64;let ve=class extends a[_0x187bf3(0x31f)]{constructor(_0x4328fb,_0x49491b,_0x563de0,_0x47eebc,_0x27bc6c,_0x3c9655,_0xf979e3,_0x38d0ef,_0x2ba59d){const _0x5452e1=_0x187bf3;super(),_(this,_0x5452e1(0x241),!0x1),_(this,'_init',!0x1),_(this,_0x5452e1(0x2f2),new I[(_0x5452e1(0x1f1))](new Map())),_(this,_0x5452e1(0x365),this['_cursorInfo$'][_0x5452e1(0x36f)]()),_(this,_0x5452e1(0x301),new I[(_0x5452e1(0x1f1))]([])),_(this,'roomMembers$',this['_roomMembers$'][_0x5452e1(0x467)](I[_0x5452e1(0x305)](St))),_(this,'_updateLocalCursor',a[_0x5452e1(0x28a)](_0x91b5a3=>{const _0x402d93=_0x5452e1,_0x3b1aa4={'eventID':g['CollaborationEvent'][_0x402d93(0x2c8)],'data':{'unitID':this[_0x402d93(0x2e3)],'memberID':this[_0x402d93(0x2e4)][_0x402d93(0x45c)](),'selection':Fe(_0x91b5a3)}};this['_session'][_0x402d93(0x225)](_0x3b1aa4,this[_0x402d93(0x2e3)]);},dt)),(this[_0x5452e1(0x2e3)]=_0x4328fb,this[_0x5452e1(0x2e4)]=_0x49491b,this['_injector']=_0x563de0,this['_colorAssignService']=_0x47eebc,this[_0x5452e1(0x236)]=_0x27bc6c,this[_0x5452e1(0x291)]=_0x3c9655,this[_0x5452e1(0x3b2)]=_0xf979e3,this['_univerInstanceService']=_0x38d0ef,this[_0x5452e1(0x26a)]=_0x2ba59d);}get[_0x187bf3(0x353)](){const _0x5f28e4=_0x187bf3;return this['_cursorInfo$'][_0x5f28e4(0x409)]();}get[_0x187bf3(0x23f)](){const _0x4795d2=_0x187bf3;return this[_0x4795d2(0x301)][_0x4795d2(0x409)]();}[_0x187bf3(0x25d)](){const _0x48715f=_0x187bf3;super[_0x48715f(0x25d)](),this[_0x48715f(0x2f2)][_0x48715f(0x33d)](new Map()),this[_0x48715f(0x2f2)][_0x48715f(0x317)](),this[_0x48715f(0x301)][_0x48715f(0x33d)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x530831=_0x187bf3;this[_0x530831(0x20a)]||(this[_0x530831(0x20a)]=!0x0,this['_session'][_0x530831(0x3e3)]['pipe'](I['takeUntil'](this[_0x530831(0x48a)]))[_0x530831(0x320)](_0x5eb97e=>{const _0x45b4dd=_0x530831;_0x5eb97e===u[_0x45b4dd(0x36e)][_0x45b4dd(0x37c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x530831(0x2e4)][_0x530831(0x287)][_0x530831(0x467)](I[_0x530831(0x262)](this[_0x530831(0x48a)]))[_0x530831(0x320)](_0x23116d=>{const _0x4550e6=_0x530831,_0xcd7772=_0x23116d['eventID'];_0xcd7772===g[_0x4550e6(0x486)]['UPDATE_CURSOR']&&this[_0x4550e6(0x379)](_0x23116d),_0xcd7772===g['CollaborationEvent'][_0x4550e6(0x29c)]&&this[_0x4550e6(0x22f)](_0x23116d);}),this[_0x530831(0x3d6)](this[_0x530831(0x26a)][_0x530831(0x3cd)](_0x58ce99=>{const _0x174cc9=_0x530831,_0x540486=_0x58ce99[_0x174cc9(0x229)];_0x540486!=null&&this[_0x174cc9(0x241)]&&_0x58ce99['id']===V[_0x174cc9(0x426)]['id']&&_0x540486[_0x174cc9(0x400)]===this['unitID']&&_0x540486[_0x174cc9(0x3b0)]===!0x1&&_0x540486[_0x174cc9(0x1d1)]['length']>0x0&&this['_updateLocalCursor'](_0x540486['ranges']);})),this[_0x530831(0x291)]['collabCursorState$'][_0x530831(0x467)](I['takeUntil'](this[_0x530831(0x48a)]))[_0x530831(0x320)](_0x5667a4=>{const _0x2f8a45=_0x530831;if((_0x5667a4==null?void 0x0:_0x5667a4['unitID'])!==this[_0x2f8a45(0x2e3)])return;const _0x5d2d42={'eventID':g['CollaborationEvent'][_0x2f8a45(0x2c8)],'data':_0x5667a4};this[_0x2f8a45(0x379)](_0x5d2d42);}),this[_0x530831(0x3d6)](this[_0x530831(0x26a)][_0x530831(0x3cd)](_0x13692e=>{const _0x19050f=_0x530831;if(_0x13692e[_0x19050f(0x229)]==null)return;const _0x50d40f=_0x13692e[_0x19050f(0x229)];if(_0x13692e['id']!==V[_0x19050f(0x430)]['id']||_0x50d40f[_0x19050f(0x400)]!==this[_0x19050f(0x2e3)])return;const _0x2a9d75={'id':_0x19050f(0x2f3),'params':_0x50d40f},_0xadc345=this[_0x19050f(0x353)];for(const [_0x4bab5d,_0x5443b7]of _0xadc345){const _0x4286b1={'id':_0x19050f(0x2f3),'params':{'unitId':this[_0x19050f(0x2e3)],'actions':null,'textRanges':_0x5443b7[_0x19050f(0x1d1)]}},_0x2e3aa7=this[_0x19050f(0x3b2)][_0x19050f(0x200)](_0x2a9d75,_0x4286b1,!0x1);if(g[_0x19050f(0x35f)](_0x2e3aa7))throw _0x2e3aa7[_0x19050f(0x20b)];_0xadc345[_0x19050f(0x1f9)](_0x4bab5d,{..._0x5443b7,'ranges':_0x2e3aa7[_0x19050f(0x42f)]['params'][_0x19050f(0x1d7)]});}queueMicrotask(()=>{const _0x5e755e=_0x19050f;this[_0x5e755e(0x2f2)][_0x5e755e(0x33d)](_0xadc345);});})));}[_0x187bf3(0x379)](_0x18845e){const _0xad3170=_0x187bf3;var _0xe1d9e0,_0x5d3789;const {memberID:_0x31ec9a,selection:_0x255e1f}=_0x18845e['data'],_0x483022=ht(_0x255e1f),_0x4bfca3=(_0x5d3789=(_0xe1d9e0=this[_0xad3170(0x236)][_0xad3170(0x396)](this[_0xad3170(0x2e3)],_0x31ec9a))==null?void 0x0:_0xe1d9e0[_0xad3170(0x440)])!=null?_0x5d3789:_0xad3170(0x42a),_0x223315={'color':this[_0xad3170(0x2fa)][_0xad3170(0x375)](_0x31ec9a),'name':_0x4bfca3,'ranges':_0x483022},_0x1699f9=this[_0xad3170(0x353)];_0x1699f9[_0xad3170(0x1f9)](_0x31ec9a,_0x223315),this['_cursorInfo$']['next'](_0x1699f9);}[_0x187bf3(0x22f)](_0x164991){const _0x3d9249=_0x187bf3,{memberID:_0x56d200}=_0x164991[_0x3d9249(0x280)],_0x23799b=this[_0x3d9249(0x353)];_0x23799b['delete'](_0x56d200),this[_0x3d9249(0x2f2)][_0x3d9249(0x33d)](_0x23799b);}[_0x187bf3(0x231)](){const _0x1e1caf=_0x187bf3;var _0x47a218;if(this[_0x1e1caf(0x241)]=!0x0,((_0x47a218=this[_0x1e1caf(0x382)][_0x1e1caf(0x421)]())==null?void 0x0:_0x47a218['getUnitId']())!==this[_0x1e1caf(0x2e3)])return;const _0x2eecb3=this[_0x1e1caf(0x3cc)][_0x1e1caf(0x393)](V[_0x1e1caf(0x447)])[_0x1e1caf(0x2e1)]();Array[_0x1e1caf(0x3d5)](_0x2eecb3)&&_0x2eecb3[_0x1e1caf(0x313)]>0x0&&this[_0x1e1caf(0x3a5)](_0x2eecb3);}[_0x187bf3(0x48f)](){const _0x37c792=_0x187bf3;this[_0x37c792(0x241)]=!0x1;}};ve=It([U(0x2,a['Inject'](a[_0x187bf3(0x46f)])),U(0x3,a[_0x187bf3(0x3a0)](Re)),U(0x4,a[_0x187bf3(0x3a0)](u[_0x187bf3(0x43f)])),U(0x5,a['Inject'](be)),U(0x6,g[_0x187bf3(0x272)]),U(0x7,a[_0x187bf3(0x1e3)]),U(0x8,a[_0x187bf3(0x1eb)])],ve);var ft=Object[_0x187bf3(0x306)],mt=(_0x269128,_0x36572d,_0x10a111,_0x389cb3)=>{const _0x22348c=_0x187bf3;for(var _0x5a083d=_0x389cb3>0x1?void 0x0:_0x389cb3?ft(_0x36572d,_0x10a111):_0x36572d,_0x14ef3c=_0x269128[_0x22348c(0x313)]-0x1,_0x5cb13c;_0x14ef3c>=0x0;_0x14ef3c--)(_0x5cb13c=_0x269128[_0x14ef3c])&&(_0x5a083d=_0x5cb13c(_0x5a083d)||_0x5a083d);return _0x5a083d;},w=(_0x69f52c,_0x4d2288)=>(_0x394db2,_0x221503)=>_0x4d2288(_0x394db2,_0x221503,_0x69f52c);const vt=0x12c,gt=0x64,Et=()=>{let _0x4bbd4b=[],_0x5bbecb=!0x1;return _0x5c084b=>{_0x4bbd4b['push'](_0x5c084b),_0x5bbecb||(_0x5bbecb=!0x0,setTimeout(()=>{_0x4bbd4b['forEach'](_0x2dd2f9=>_0x2dd2f9()),_0x4bbd4b=[],_0x5bbecb=!0x1;}));};};let ge=class extends a[_0x187bf3(0x31f)]{constructor(_0x366dfa,_0x4f60a6,_0x43c7a6,_0xd097a8,_0x474f72,_0x141ecb,_0x17d5a5,_0x36d0d3){const _0x3b4a58=_0x187bf3;super(),_(this,_0x3b4a58(0x241),!0x1),_(this,_0x3b4a58(0x20a),!0x1),_(this,'_cursorInfo$',new I[(_0x3b4a58(0x1f1))](new Map())),_(this,_0x3b4a58(0x365),this['_cursorInfo$'][_0x3b4a58(0x36f)]()),_(this,'_roomMembers$',new I[(_0x3b4a58(0x1f1))]([])),_(this,_0x3b4a58(0x397),this[_0x3b4a58(0x301)][_0x3b4a58(0x467)](I[_0x3b4a58(0x305)](vt))),_(this,'_updateLocalCursor',a['debounce']((_0xfe0844,_0x240af0)=>{const _0xb17cbd=_0x3b4a58,_0x34bcb1={'eventID':g[_0xb17cbd(0x486)][_0xb17cbd(0x2c8)],'data':{'unitID':this[_0xb17cbd(0x2e3)],'memberID':this[_0xb17cbd(0x2e4)]['getMemberID'](),'selection':B[_0xb17cbd(0x309)](_0xfe0844,_0x240af0[_0xb17cbd(0x3cb)])}};this['_session'][_0xb17cbd(0x225)](_0x34bcb1,this[_0xb17cbd(0x2e3)]);},gt)),(this['unitID']=_0x366dfa,this[_0x3b4a58(0x2e4)]=_0x4f60a6,this[_0x3b4a58(0x3cc)]=_0x43c7a6,this['_colorAssignService']=_0xd097a8,this[_0x3b4a58(0x236)]=_0x474f72,this['_univerInstanceService']=_0x141ecb,this[_0x3b4a58(0x26a)]=_0x17d5a5,this[_0x3b4a58(0x47d)]=_0x36d0d3);}get['cursorInfo'](){const _0x4d5733=_0x187bf3;return this['_cursorInfo$'][_0x4d5733(0x409)]();}get['roomMembers'](){const _0x2928b1=_0x187bf3;return this['_roomMembers$'][_0x2928b1(0x409)]();}[_0x187bf3(0x25d)](){const _0x1a9b59=_0x187bf3;super[_0x1a9b59(0x25d)](),this['_cursorInfo$']['next'](new Map()),this[_0x1a9b59(0x2f2)][_0x1a9b59(0x317)](),this['_roomMembers$'][_0x1a9b59(0x33d)]([]),this[_0x1a9b59(0x301)]['complete']();}[_0x187bf3(0x418)](){const _0x399d5f=_0x187bf3;this['_init']||(this[_0x399d5f(0x20a)]=!0x0,this[_0x399d5f(0x2e4)][_0x399d5f(0x3e3)][_0x399d5f(0x467)](I['takeUntil'](this[_0x399d5f(0x48a)]))[_0x399d5f(0x320)](_0x16cef=>{const _0x1cbd9d=_0x399d5f;_0x16cef===u[_0x1cbd9d(0x36e)][_0x1cbd9d(0x37c)]?this[_0x1cbd9d(0x231)]():this['_toggleOffline']();}),this['_session']['event$'][_0x399d5f(0x467)](I[_0x399d5f(0x262)](this['dispose$']))[_0x399d5f(0x320)](_0x5a38a4=>{const _0x21c899=_0x399d5f,_0x4000e5=_0x5a38a4[_0x21c899(0x45d)];_0x4000e5===g[_0x21c899(0x486)]['UPDATE_CURSOR']&&this[_0x21c899(0x379)](_0x5a38a4),_0x4000e5===g[_0x21c899(0x486)]['USERS_LEAVE']&&this[_0x21c899(0x22f)](_0x5a38a4);}),this[_0x399d5f(0x28f)](),this[_0x399d5f(0x3d6)](this[_0x399d5f(0x26a)]['onCommandExecuted'](_0x10ddd2=>{const _0x11012a=_0x399d5f;if(this[_0x11012a(0x241)]&&_0x10ddd2['id']===v[_0x11012a(0x284)]['id']&&_0x10ddd2[_0x11012a(0x229)]['unitId']===this['unitID']){const _0x77a8a9=_0x10ddd2[_0x11012a(0x229)];this[_0x11012a(0x3a5)](_0x77a8a9[_0x11012a(0x1f8)],_0x77a8a9['selections'][0x0]);}})));}[_0x187bf3(0x379)](_0x44186c){const _0x5ddd5f=_0x187bf3;var _0x406c22,_0x303d55;const {memberID:_0x4bd60b,selection:_0x54a4b1}=_0x44186c[_0x5ddd5f(0x280)],{sheetName:_0x421796,range:_0x5d347e}=B[_0x5ddd5f(0x420)](_0x54a4b1),_0x38c12c={'name':(_0x303d55=(_0x406c22=this[_0x5ddd5f(0x236)][_0x5ddd5f(0x396)](this['unitID'],_0x4bd60b))==null?void 0x0:_0x406c22[_0x5ddd5f(0x440)])!=null?_0x303d55:_0x5ddd5f(0x42a),'range':this[_0x5ddd5f(0x408)](_0x421796,_0x5d347e),'sheetID':_0x421796,'color':this[_0x5ddd5f(0x2fa)]['assignAColorForMemberID'](_0x4bd60b),'selection':_0x54a4b1},_0x362a4c=this[_0x5ddd5f(0x353)];_0x362a4c[_0x5ddd5f(0x1f9)](_0x4bd60b,_0x38c12c),this[_0x5ddd5f(0x2f2)][_0x5ddd5f(0x33d)](_0x362a4c);}[_0x187bf3(0x22f)](_0x414459){const _0x587464=_0x187bf3,{memberID:_0x3f8b04}=_0x414459[_0x587464(0x280)],_0xe86b47=this[_0x587464(0x353)];_0xe86b47[_0x587464(0x493)](_0x3f8b04),this[_0x587464(0x2f2)][_0x587464(0x33d)](_0xe86b47);}['_getMergeRange'](_0x460717,_0x2fdca7){const _0xe86c06=_0x187bf3;var _0x1818d3,_0x2efd55;const _0x448890=(_0x2efd55=(_0x1818d3=this[_0xe86c06(0x382)][_0xe86c06(0x1fe)](this[_0xe86c06(0x2e3)]))==null?void 0x0:_0x1818d3[_0xe86c06(0x260)](_0x460717))==null?void 0x0:_0x2efd55['getMergeData']();return(_0x448890==null?void 0x0:_0x448890[_0xe86c06(0x3b8)](_0x3a2247=>a[_0xe86c06(0x3f9)][_0xe86c06(0x1e9)](_0x3a2247,_0x2fdca7)))||_0x2fdca7;}[_0x187bf3(0x28f)](){const _0xc2e4c5=_0x187bf3,_0xe5545e=new a[(_0xc2e4c5(0x3b6))](),_0x523e30=Et(),_0x1553f8=()=>{const _0x1d4362=_0xc2e4c5;_0xe5545e[_0x1d4362(0x25d)]();const _0x4a7479=(_0x10cf14,_0x222381,_0x3ee660,_0x28693a)=>{const _0x984d64=_0x1d4362;let _0x420161=[];switch(_0x10cf14['id']){case v['EffectRefRangId'][_0x984d64(0x497)]:{_0x420161=v['handleDeleteRangeMoveLeft'](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)][_0x984d64(0x411)]:{_0x420161=v[_0x984d64(0x2b5)](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)]['InsertColCommandId']:{_0x420161=v[_0x984d64(0x499)](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)][_0x984d64(0x469)]:{_0x420161=v[_0x984d64(0x48e)](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)][_0x984d64(0x2b1)]:{_0x420161=v[_0x984d64(0x458)](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)][_0x984d64(0x1cc)]:{_0x420161=v['handleInsertRow'](_0x10cf14,_0x28693a);break;}case v[_0x984d64(0x267)][_0x984d64(0x297)]:{_0x420161=v[_0x984d64(0x32c)](_0x10cf14,_0x28693a);break;}case v['EffectRefRangId'][_0x984d64(0x46c)]:{_0x420161=v[_0x984d64(0x37e)](_0x10cf14,_0x28693a);break;}case v['EffectRefRangId'][_0x984d64(0x2c2)]:{_0x420161=v['handleIRemoveRow'](_0x10cf14,_0x28693a);break;}}const _0x55f33a=v[_0x984d64(0x27b)](_0x420161,_0x28693a),_0x5c2df8=this[_0x984d64(0x353)][_0x984d64(0x393)](_0x222381);if(_0x5c2df8&&_0x55f33a){const _0x5aaf28={..._0x5c2df8,'range':_0x55f33a};this['cursorInfo'][_0x984d64(0x1f9)](_0x222381,_0x5aaf28),_0x523e30(()=>{const _0x5928c8=_0x984d64,_0x643cf7=this['_refRangeService'][_0x5928c8(0x42d)](_0x55f33a,_0x262c7e=>(_0x643cf7[_0x5928c8(0x25d)](),_0x4a7479(_0x262c7e,_0x222381,_0x3ee660,_0x55f33a)));_0xe5545e['add'](_0x643cf7);});}return{'redos':[],'undos':[]};};this[_0x1d4362(0x353)]['forEach']((_0x565bf5,_0x117552)=>{const _0xf78f9d=_0x1d4362,{range:_0x4a2423,sheetID:_0x5a2749}=_0x565bf5,_0x3e8e54=this[_0xf78f9d(0x47d)][_0xf78f9d(0x42d)](_0x4a2423,_0x251710=>(_0x3e8e54[_0xf78f9d(0x25d)](),_0x4a7479(_0x251710,_0x117552,_0x5a2749,_0x4a2423)));_0xe5545e[_0xf78f9d(0x234)](_0x3e8e54);});};this['disposeWithMe'](a[_0xc2e4c5(0x2fe)](this[_0xc2e4c5(0x2f2)][_0xc2e4c5(0x320)](()=>{_0x1553f8();})));}[_0x187bf3(0x231)](){const _0x4a9948=_0x187bf3;var _0x468e27,_0x62fa35;if(this['_online']=!0x0,((_0x468e27=this[_0x4a9948(0x382)][_0x4a9948(0x421)]())==null?void 0x0:_0x468e27['getUnitId']())!==this['unitID'])return;const _0x5e01c3=(_0x62fa35=this[_0x4a9948(0x3cc)][_0x4a9948(0x393)](v[_0x4a9948(0x40c)])[_0x4a9948(0x401)]())==null?void 0x0:_0x62fa35[0x0],_0x1e9f16=this[_0x4a9948(0x382)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x4a9948(0x3f8)])[_0x4a9948(0x374)]();_0x5e01c3&&_0x1e9f16&&this[_0x4a9948(0x3a5)](_0x1e9f16[_0x4a9948(0x24b)](),_0x5e01c3);}[_0x187bf3(0x48f)](){const _0x9c1287=_0x187bf3;this[_0x9c1287(0x241)]=!0x1;}};ge=mt([w(0x2,a['Inject'](a[_0x187bf3(0x46f)])),w(0x3,a[_0x187bf3(0x3a0)](Re)),w(0x4,a['Inject'](u['MemberService'])),w(0x5,a[_0x187bf3(0x1e3)]),w(0x6,a[_0x187bf3(0x1eb)]),w(0x7,a[_0x187bf3(0x3a0)](v[_0x187bf3(0x351)]))],ge);var Ct=Object[_0x187bf3(0x306)],Tt=(_0x48ae6c,_0x39f6a0,_0x103366,_0x48804b)=>{for(var _0xd849df=_0x48804b>0x1?void 0x0:_0x48804b?Ct(_0x39f6a0,_0x103366):_0x39f6a0,_0x4cf565=_0x48ae6c['length']-0x1,_0x44c683;_0x4cf565>=0x0;_0x4cf565--)(_0x44c683=_0x48ae6c[_0x4cf565])&&(_0xd849df=_0x44c683(_0xd849df)||_0xd849df);return _0xd849df;},ce=(_0x5d580a,_0x1bbdd8)=>(_0x18b523,_0x2834ef)=>_0x1bbdd8(_0x18b523,_0x2834ef,_0x5d580a);let F=class extends a[_0x187bf3(0x31f)]{constructor(_0x585151,_0x428767,_0x2758e0){const _0x18720d=_0x187bf3;super(),_(this,_0x18720d(0x431),new Map()),_(this,_0x18720d(0x4a0),new I[(_0x18720d(0x2a6))]()),(this[_0x18720d(0x382)]=_0x585151,this['_injector']=_0x428767,this[_0x18720d(0x243)]=_0x2758e0,this[_0x18720d(0x20a)]());}[_0x187bf3(0x25d)](){const _0x50376b=_0x187bf3;super[_0x50376b(0x25d)](),this[_0x50376b(0x4a0)][_0x50376b(0x317)](),this[_0x50376b(0x431)][_0x50376b(0x35c)](_0x1408db=>_0x1408db['dispose']());}[_0x187bf3(0x39c)](_0x17176d){const _0x824f52=_0x187bf3;return this[_0x824f52(0x431)][_0x824f52(0x2eb)](_0x17176d)?this['_entities'][_0x824f52(0x393)](_0x17176d)['cursorInfo$']:this[_0x824f52(0x4a0)][_0x824f52(0x467)](I[_0x824f52(0x300)](_0x3d02b2=>_0x3d02b2[_0x824f52(0x2e3)]===_0x17176d),I['switchMap'](_0x43b930=>_0x43b930[_0x824f52(0x365)]));}[_0x187bf3(0x20a)](){const _0x4e50e6=_0x187bf3;this[_0x4e50e6(0x382)]['getTypeOfUnitAdded$'](a[_0x4e50e6(0x2cb)][_0x4e50e6(0x3f8)])[_0x4e50e6(0x467)](I[_0x4e50e6(0x262)](this[_0x4e50e6(0x48a)]))[_0x4e50e6(0x320)](async _0x1e7c0c=>{const _0x372466=_0x4e50e6,_0x3082a2=_0x1e7c0c[_0x372466(0x36a)](),_0x3dfffd=await this[_0x372466(0x2f1)](_0x3082a2);this[_0x372466(0x4a0)][_0x372466(0x33d)](_0x3dfffd),this[_0x372466(0x431)][_0x372466(0x1f9)](_0x3082a2,_0x3dfffd);}),this[_0x4e50e6(0x382)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x4e50e6(0x42c)])['pipe'](I[_0x4e50e6(0x262)](this[_0x4e50e6(0x48a)]))['pipe'](I[_0x4e50e6(0x300)](_0x32b756=>!_0x32b756[_0x4e50e6(0x36a)]()['startsWith']('__')))[_0x4e50e6(0x320)](async _0x3e1d0f=>{const _0x146010=_0x4e50e6,_0x335400=_0x3e1d0f[_0x146010(0x36a)](),_0x584e4f=await this[_0x146010(0x227)](_0x335400);this[_0x146010(0x4a0)][_0x146010(0x33d)](_0x584e4f),this[_0x146010(0x431)][_0x146010(0x1f9)](_0x335400,_0x584e4f);}),I[_0x4e50e6(0x352)](this[_0x4e50e6(0x382)]['getTypeOfUnitDisposed$'](a[_0x4e50e6(0x2cb)][_0x4e50e6(0x42c)]),this[_0x4e50e6(0x382)][_0x4e50e6(0x23a)](a['UniverInstanceType'][_0x4e50e6(0x3f8)]))[_0x4e50e6(0x467)](I[_0x4e50e6(0x262)](this['dispose$']))[_0x4e50e6(0x320)](_0x3aae49=>{const _0x357f2f=_0x4e50e6,_0x1fcbd3=_0x3aae49['getUnitId'](),_0x490a06=this[_0x357f2f(0x431)][_0x357f2f(0x393)](_0x1fcbd3);_0x490a06&&(_0x490a06[_0x357f2f(0x25d)](),this['_entities'][_0x357f2f(0x493)](_0x1fcbd3));});}async[_0x187bf3(0x2f1)](_0x19ef6e){const _0x43009e=_0x187bf3,_0x1c5f96=await this['_collabSessionService']['requireSession'](_0x19ef6e),_0x167e6f=this[_0x43009e(0x3cc)][_0x43009e(0x40b)](ge,_0x19ef6e,_0x1c5f96);return _0x167e6f[_0x43009e(0x418)](),_0x167e6f;}async[_0x187bf3(0x227)](_0x43b8c4){const _0x44ec94=_0x187bf3,_0x5afc83=await this[_0x44ec94(0x243)][_0x44ec94(0x3fd)](_0x43b8c4),_0x27db30=this['_injector'][_0x44ec94(0x40b)](ve,_0x43b8c4,_0x5afc83);return _0x27db30['init'](),_0x27db30;}};F=Tt([ce(0x0,a[_0x187bf3(0x1e3)]),ce(0x1,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x46f)])),ce(0x2,a[_0x187bf3(0x3a0)](u[_0x187bf3(0x3a8)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x4b4813,_0x4d6b26){const _0x3b1116=_0x187bf3;let {radius:_0x5dfd95,width:_0x40f7a0,height:_0x9a7139}=_0x4d6b26;_0x5dfd95=_0x5dfd95!=null?_0x5dfd95:0x0,_0x40f7a0=_0x40f7a0!=null?_0x40f7a0:0x1e,_0x9a7139=_0x9a7139!=null?_0x9a7139:0x1e;let _0x2fea9d=0x0,_0x481d39=0x0,_0x13b4dc=0x0;_0x2fea9d=_0x481d39=_0x13b4dc=Math[_0x3b1116(0x2e0)](_0x5dfd95,_0x40f7a0/0x2,_0x9a7139/0x2),_0x4b4813[_0x3b1116(0x389)](),_0x4b4813['moveTo'](_0x2fea9d,0x0),_0x4b4813[_0x3b1116(0x2b2)](_0x40f7a0-_0x481d39,0x0),_0x4b4813[_0x3b1116(0x2f9)](_0x40f7a0-_0x481d39,_0x481d39,_0x481d39,Math['PI']*0x3/0x2,0x0,!0x1),_0x4b4813[_0x3b1116(0x2b2)](_0x40f7a0,_0x9a7139-_0x13b4dc),_0x4b4813[_0x3b1116(0x2f9)](_0x40f7a0-_0x13b4dc,_0x9a7139-_0x13b4dc,_0x13b4dc,0x0,Math['PI']/0x2,!0x1),_0x4b4813[_0x3b1116(0x2b2)](0x0,_0x9a7139),_0x4b4813['lineTo'](0x0,_0x2fea9d),_0x4b4813[_0x3b1116(0x2f9)](_0x2fea9d,_0x2fea9d,_0x2fea9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4b4813[_0x3b1116(0x2c6)](),_0x4d6b26[_0x3b1116(0x48c)]&&(_0x4b4813['save'](),_0x4b4813[_0x3b1116(0x384)]=_0x4d6b26[_0x3b1116(0x48c)],_0x4d6b26[_0x3b1116(0x28d)]==='evenodd'?_0x4b4813['fill'](_0x3b1116(0x39d)):_0x4b4813[_0x3b1116(0x48c)](),_0x4b4813[_0x3b1116(0x376)]());}class re extends C[_0x187bf3(0x209)]{constructor(_0x2d238f,_0x5b9e4d){const _0x2cef8d=_0x187bf3;super(_0x2d238f,_0x5b9e4d),_(this,'color'),_(this,_0x2cef8d(0x448)),(this[_0x2cef8d(0x3ce)]=_0x5b9e4d==null?void 0x0:_0x5b9e4d[_0x2cef8d(0x3ce)],this['text']=_0x5b9e4d==null?void 0x0:_0x5b9e4d['text']);}static[_0x187bf3(0x2bd)](_0x1694d6,_0x1bdbe6){const _0x5b72d4=_0x187bf3,{text:_0x226681,color:_0x59e1b2}=_0x1bdbe6;_0x1694d6['save'](),_0x1694d6[_0x5b72d4(0x24e)]=_0x5b72d4(0x21b);const _0x284e87=_0x1694d6[_0x5b72d4(0x338)](_0x226681)[_0x5b72d4(0x495)],_0x441e61=Math[_0x5b72d4(0x2e0)](_0x284e87+0x2*le,Ue);Ot(_0x1694d6,{'height':X,'radius':0x4,'width':_0x441e61,'fill':_0x59e1b2}),_0x1694d6[_0x5b72d4(0x384)]=_0x5b72d4(0x21f);const _0x4ae40f=le,_0x2ca806=X-pt,_0x4172b7=Ue-0x2*le;if(_0x284e87>_0x4172b7){let _0xb1b6dc='',_0x43256b=0x0;for(const _0x24ac14 of _0x226681){const _0x11a495=_0x1694d6[_0x5b72d4(0x338)](_0x24ac14)[_0x5b72d4(0x495)];if(_0x43256b+_0x11a495<=_0x4172b7-_0x1694d6[_0x5b72d4(0x338)](_0x5b72d4(0x434))[_0x5b72d4(0x495)])_0xb1b6dc+=_0x24ac14,_0x43256b+=_0x11a495;else{_0xb1b6dc+=_0x5b72d4(0x434);break;}}_0x1694d6[_0x5b72d4(0x1cb)](_0xb1b6dc,_0x4ae40f,_0x2ca806);}else _0x1694d6[_0x5b72d4(0x1cb)](_0x226681,_0x4ae40f,_0x2ca806);_0x1694d6[_0x5b72d4(0x376)]();}[_0x187bf3(0x1dc)](_0xaeb6d7){const _0x41726a=_0x187bf3;re[_0x41726a(0x2bd)](_0xaeb6d7,this);}}const _e=_0x187bf3(0x449),Rt='collab-text-range-',bt='collab-rect-range-',H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x187bf3(0x3fb);class Le{constructor(_0x18fb37,_0x423c06,_0x1e07f7,_0x319086){const _0x1cbad1=_0x187bf3;_(this,_0x1cbad1(0x3f6),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x1cbad1(0x460),null),_(this,_0x1cbad1(0x2b6),null),_(this,_0x1cbad1(0x380),null),(this[_0x1cbad1(0x3d9)]=_0x18fb37,this[_0x1cbad1(0x22d)]=_0x423c06,this[_0x1cbad1(0x1e7)]=_0x1e07f7,this[_0x1cbad1(0x2e5)]=_0x319086,this['_render']());}set[_0x187bf3(0x29f)](_0x414901){const _0x5cb6e3=_0x187bf3;_0x414901?(this[_0x5cb6e3(0x460)]&&this['_anchorDot']['hide'](),this[_0x5cb6e3(0x445)]&&this['_textBubble'][_0x5cb6e3(0x31b)]()):(this[_0x5cb6e3(0x460)]&&this[_0x5cb6e3(0x460)][_0x5cb6e3(0x31b)](),this['_textBubble']&&this[_0x5cb6e3(0x445)][_0x5cb6e3(0x2d1)]());}['dispose'](){const _0x3e07df=_0x187bf3;for(const _0x663806 of this[_0x3e07df(0x3f6)])_0x663806[_0x3e07df(0x25d)]();this[_0x3e07df(0x445)]&&this[_0x3e07df(0x445)][_0x3e07df(0x25d)](),this[_0x3e07df(0x460)]&&this[_0x3e07df(0x460)][_0x3e07df(0x25d)](),this[_0x3e07df(0x32a)]&&this[_0x3e07df(0x32a)]['dispose'](),this[_0x3e07df(0x380)]&&this[_0x3e07df(0x380)]();}['_render'](){const _0x57d92a=_0x187bf3;var _0x169022;const {_docSkeleton:_0x230744,_document:_0x42d652}=this,{color:_0x205ffe,name:_0x514aaf,ranges:_0x159297}=this[_0x57d92a(0x3d9)],_0x532db0=_0x42d652[_0x57d92a(0x2df)](),{docsLeft:_0xcc7c13,docsTop:_0x25ef1f}=_0x532db0,_0x4c927c=new T[(_0x57d92a(0x395))](_0x532db0,_0x230744);for(const {startOffset:_0x306595,endOffset:_0x1ebce9,rangeType:_0x45436b,segmentId:_0x1bb170,segmentPage:_0x471234,collapsed:_0x4ad15b,isActive:_0x27ecfe}of _0x159297){const _0x2eeb6d=_0x230744[_0x57d92a(0x2d5)](_0x306595,!0x0,_0x1bb170,_0x471234);let _0xfdc653=_0x230744[_0x57d92a(0x2d5)](_0x1ebce9,!0x0,_0x1bb170,_0x471234);if(_0xfdc653==null&&(_0xfdc653=_0x230744['findNodePositionByCharIndex'](_0x1ebce9-0x1,!0x1,_0x1bb170,_0x471234)),_0x27ecfe){const {contentBoxPointGroup:_0x4609f7}=_0x4c927c[_0x57d92a(0x324)](_0xfdc653,_0xfdc653);if(_0x4609f7[_0x57d92a(0x313)]===0x0)continue;this['_drawAnchor'](_0x205ffe,_0x4609f7,_0xcc7c13,_0x25ef1f,_0x514aaf),this[_0x57d92a(0x380)]=this[_0x57d92a(0x496)]();}if(_0x2eeb6d&&_0xfdc653){if(_0x45436b===a[_0x57d92a(0x2aa)][_0x57d92a(0x441)]){const _0x4f625f=new T['NodePositionConvertToRectRange'](_0x532db0,_0x230744),{pointGroup:_0xfa0af2}=(_0x169022=_0x4f625f['getRangePointData'](_0x2eeb6d,_0xfdc653))!=null?_0x169022:{};if(_0xfa0af2==null||_0xfa0af2[_0x57d92a(0x313)]===0x0)continue;this[_0x57d92a(0x1ec)](_0x205ffe,_0xfa0af2,_0xcc7c13,_0x25ef1f);}else{if(!_0x4ad15b){const {borderBoxPointGroup:_0x2fa9b1}=_0x4c927c[_0x57d92a(0x324)](_0x2eeb6d,_0xfdc653);if(_0x2fa9b1[_0x57d92a(0x313)]===0x0)continue;this[_0x57d92a(0x3b7)](_0x205ffe,_0x2fa9b1,_0xcc7c13,_0x25ef1f);}}}}}[_0x187bf3(0x339)](_0x1ffe9c,_0x507a48,_0x132c21,_0x23ed13,_0x2860fa){const _0x5affa0=_0x187bf3,_0x565540=this[_0x5affa0(0x49d)](_0x507a48),{left:_0x5f390d,top:_0x35efa0,height:_0x1179da}=_0x565540,_0xadd5e0=this[_0x5affa0(0x1da)](),_0x7b8365=Nt/_0xadd5e0,_0x2e598c=new C[(_0x5affa0(0x271))](_e+a[_0x5affa0(0x33f)](H),{'left':_0x5f390d+_0x132c21-_0x7b8365,'top':_0x35efa0+_0x23ed13,'height':_0x1179da,'width':Dt,'fill':_0x1ffe9c||C['getColor'](a[_0x5affa0(0x462)][_0x5affa0(0x419)],0x0),'strokeWidth':_0x7b8365,'stroke':Ut,'evented':!0x0});this[_0x5affa0(0x32a)]=_0x2e598c,this[_0x5affa0(0x22d)][_0x5affa0(0x296)](_0x2e598c,T[_0x5affa0(0x32f)]);const _0x133ccb=new C[(_0x5affa0(0x271))](_e+a[_0x5affa0(0x33f)](H),{'left':_0x5f390d+_0x132c21-_0x7b8365,'top':_0x35efa0+_0x23ed13-he/0x2,'height':he,'width':he,'fill':_0x1ffe9c||C[_0x5affa0(0x2ab)](a[_0x5affa0(0x462)][_0x5affa0(0x419)],0x0),'strokeWidth':0x0,'stroke':_0x1ffe9c||C[_0x5affa0(0x2ab)](a[_0x5affa0(0x462)][_0x5affa0(0x419)],0x0),'evented':!0x1});this['_anchorDot']=_0x133ccb,this['_scene'][_0x5affa0(0x296)](_0x133ccb,T[_0x5affa0(0x32f)]);const _0x41d4ba=new re(_e+a['generateRandomId'](H),{'left':_0x5f390d+_0x132c21-_0x7b8365,'top':_0x35efa0+_0x23ed13-X,'text':_0x2860fa,'color':_0x1ffe9c});this[_0x5affa0(0x445)]=_0x41d4ba,this[_0x5affa0(0x22d)]['addObject'](_0x41d4ba,T[_0x5affa0(0x32f)]),this[_0x5affa0(0x29f)]=!0x1;}[_0x187bf3(0x496)](){const _0x582246=_0x187bf3,_0x19330b=this[_0x582246(0x32a)][_0x582246(0x44c)][_0x582246(0x248)](()=>{const _0x47a29f=_0x582246;this[_0x47a29f(0x29f)]=!0x0;}),_0x5ef6ac=this['_anchor'][_0x582246(0x232)][_0x582246(0x248)](()=>{const _0x2116e1=_0x582246;this[_0x2116e1(0x2b6)]&&clearTimeout(this[_0x2116e1(0x2b6)]),this['_hideTimer']=setTimeout(()=>{const _0x4f2098=_0x2116e1;this[_0x4f2098(0x29f)]=!0x1;},0x7d0);});return()=>{const _0xc325fb=_0x582246;_0x19330b['unsubscribe'](),_0x5ef6ac[_0xc325fb(0x35b)]();};}['_drawTextRange'](_0x2d974b,_0x263dd5,_0x440fb2,_0x1d95bb){const _0x33e495=_0x187bf3,_0x245d60=new a[(_0x33e495(0x2a9))](_0x2d974b)[_0x33e495(0x48d)](0.2)[_0x33e495(0x49b)](),_0x3cfde1=new C[(_0x33e495(0x436))](Rt+a[_0x33e495(0x33f)](H),{'pointsGroup':_0x263dd5,'fill':_0x245d60||C[_0x33e495(0x2ab)](a['COLORS']['black'],0.2),'left':_0x440fb2,'top':_0x1d95bb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3cfde1),this[_0x33e495(0x22d)]['addObject'](_0x3cfde1,T[_0x33e495(0x32f)]);}['_drawRectRange'](_0x4c1082,_0x36d176,_0x144f5b,_0x985773){const _0xf2e689=_0x187bf3,_0x36f1c7=new a[(_0xf2e689(0x2a9))](_0x4c1082)[_0xf2e689(0x48d)](0.2)[_0xf2e689(0x49b)](),_0x5280b3=new C[(_0xf2e689(0x436))](bt+a[_0xf2e689(0x33f)](H),{'pointsGroup':_0x36d176,'fill':_0x36f1c7||C['getColor'](a[_0xf2e689(0x462)][_0xf2e689(0x419)],0.2),'left':_0x144f5b,'top':_0x985773,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf2e689(0x3f6)]['push'](_0x5280b3),this['_scene']['addObject'](_0x5280b3,T['TEXT_RANGE_LAYER_INDEX']);}[_0x187bf3(0x49d)](_0x5d16bc){const _0x59f145=_0x5d16bc[0x0],_0x45ef08=_0x59f145[0x0],_0x69cef5=_0x59f145[0x2],{x:_0x31c311,y:_0x48dfc8}=_0x45ef08,{x:_0x136e38,y:_0x1b617f}=_0x69cef5;return{'left':_0x31c311,'top':_0x48dfc8,'width':_0x136e38-_0x31c311,'height':_0x1b617f-_0x48dfc8};}[_0x187bf3(0x1da)](){const _0x589485=_0x187bf3,{scaleX:_0x90be44,scaleY:_0x454864}=this[_0x589485(0x22d)][_0x589485(0x3cf)]();return Math[_0x589485(0x394)](_0x90be44,_0x454864);}}var Lt=Object[_0x187bf3(0x306)],Mt=(_0x6e9a7d,_0x43822e,_0xfb11ec,_0x2fc2af)=>{for(var _0x22a01f=_0x2fc2af>0x1?void 0x0:_0x2fc2af?Lt(_0x43822e,_0xfb11ec):_0x43822e,_0x2fdfb4=_0x6e9a7d['length']-0x1,_0x549718;_0x2fdfb4>=0x0;_0x2fdfb4--)(_0x549718=_0x6e9a7d[_0x2fdfb4])&&(_0x22a01f=_0x549718(_0x22a01f)||_0x22a01f);return _0x22a01f;},q=(_0x113925,_0x2a4f84)=>(_0x370bf8,_0xb8084a)=>_0x2a4f84(_0x370bf8,_0xb8084a,_0x113925);let Ee=class extends a['RxDisposable']{constructor(_0x31f571,_0x177f0d,_0x10c9a0,_0x1fc099,_0x225e5f){const _0x1d8647=_0x187bf3;super(),_(this,_0x1d8647(0x347),[]),_(this,_0x1d8647(0x23e),[]),(this['_context']=_0x31f571,this['_docSkeletonManagerService']=_0x177f0d,this[_0x1d8647(0x3ad)]=_0x10c9a0,this[_0x1d8647(0x26a)]=_0x1fc099,this[_0x1d8647(0x238)]=_0x225e5f,this[_0x1d8647(0x20a)]());}['_init'](){const _0x51da73=_0x187bf3,_0x25fbd4=this[_0x51da73(0x3c0)][_0x51da73(0x400)],_0xc24a9c=this[_0x51da73(0x1fa)];this['disposeWithMe'](I[_0x51da73(0x22a)]([this['_collabCursorController'][_0x51da73(0x39c)](_0x25fbd4),this[_0x51da73(0x238)][_0x51da73(0x453)]])[_0x51da73(0x467)]($[_0x51da73(0x327)](([_0x1e00db,_0x569dc3])=>({'skeleton':_0xc24a9c[_0x51da73(0x378)](),'cursors':[..._0x1e00db[_0x51da73(0x432)]()]['flatMap'](_0x24e477=>({..._0x24e477,'color':this[_0x51da73(0x238)][_0x51da73(0x2c4)](_0x24e477['color'])}))})))[_0x51da73(0x320)](_0x298817=>{const _0x44889c=_0x51da73;if(this[_0x44889c(0x20e)](),_0x298817){const {skeleton:_0x34e5f1,cursors:_0x34e027}=_0x298817;this[_0x44889c(0x33a)](_0x34e5f1,_0x34e027);}})),this[_0x51da73(0x3e1)](),this[_0x51da73(0x274)]();}[_0x187bf3(0x33a)](_0x557623,_0x1bcf94){const _0x41803c=_0x187bf3,{scene:_0x1b0015,mainComponent:_0x2cf6b0}=this[_0x41803c(0x3c0)],_0x12ab8d=_0x1bcf94['map'](_0x311b8e=>new Le(_0x311b8e,_0x1b0015,_0x557623,_0x2cf6b0));this['_cursorShapes']=_0x12ab8d,this[_0x41803c(0x23e)]=_0x1bcf94;}[_0x187bf3(0x43b)](){const _0x4e9a6b=_0x187bf3;this[_0x4e9a6b(0x20e)]();const {scene:_0x375af7,mainComponent:_0x5333fc}=this[_0x4e9a6b(0x3c0)],_0x35b6c5=this['_docSkeletonManagerService']['getSkeleton'](),_0x1c4f73=this[_0x4e9a6b(0x23e)][_0x4e9a6b(0x327)](_0x2cd0c3=>new Le(_0x2cd0c3,_0x375af7,_0x35b6c5,_0x5333fc));this['_cursorShapes']=_0x1c4f73;}[_0x187bf3(0x20e)](){const _0x4106dd=_0x187bf3;this[_0x4106dd(0x347)][_0x4106dd(0x35c)](_0x309b22=>_0x309b22[_0x4106dd(0x25d)]()),this[_0x4106dd(0x347)]=[];}['_initCommandExecutedListener'](){const _0x4982d1=_0x187bf3,_0x3019ec=[T[_0x4982d1(0x425)]['id']];this['disposeWithMe'](this[_0x4982d1(0x26a)][_0x4982d1(0x3cd)](_0x585613=>{const _0xedec17=_0x4982d1;_0x3019ec[_0xedec17(0x44a)](_0x585613['id'])&&_0x585613['params'][_0xedec17(0x400)]===this[_0xedec17(0x3c0)][_0xedec17(0x400)]&&this[_0xedec17(0x43b)]();}));}['_initResize'](){const _0x539a22=_0x187bf3;this['disposeWithMe'](a[_0x539a22(0x3d2)](this['_context'][_0x539a22(0x228)][_0x539a22(0x470)])[_0x539a22(0x467)]($['filter'](_0x19ac33=>_0x19ac33[_0x539a22(0x252)]===C[_0x539a22(0x206)][_0x539a22(0x2c9)]),$[_0x539a22(0x345)](0x10))[_0x539a22(0x320)](()=>{const _0xcc45c5=_0x539a22;this[_0xcc45c5(0x43b)]();}));}};Ee=Mt([q(0x1,a[_0x187bf3(0x3a0)](V['DocSkeletonManagerService'])),q(0x2,a[_0x187bf3(0x3a0)](F)),q(0x3,a[_0x187bf3(0x1eb)]),q(0x4,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x2e6)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x187bf3(0x209)]{constructor(_0x328694,_0x13f7cf){const _0x11908e=_0x187bf3;super(_0x328694,_0x13f7cf),_(this,_0x11908e(0x42b)),_(this,_0x11908e(0x205),!0x1),_(this,_0x11908e(0x39a)),_(this,_0x11908e(0x36d),''),_(this,'_labelPosition',_0x11908e(0x3bf)),_(this,_0x11908e(0x2dc)),(_0x13f7cf&&this[_0x11908e(0x37b)](_0x13f7cf),this[_0x11908e(0x44c)][_0x11908e(0x248)](()=>this[_0x11908e(0x37b)]({'hovered':!0x0})),this[_0x11908e(0x232)][_0x11908e(0x248)](()=>this[_0x11908e(0x37b)]({'hovered':!0x1})));}[_0x187bf3(0x37b)](_0x2898b7){const _0x2141c9=_0x187bf3;var _0x3238b0,_0x174410,_0x1325d0,_0x13d0c2,_0x4d9860,_0x16f63e;this[_0x2141c9(0x42b)]=(_0x3238b0=_0x2898b7['color'])!=null?_0x3238b0:this[_0x2141c9(0x42b)],this['_hovered']=(_0x174410=_0x2898b7['hovered'])!=null?_0x174410:this[_0x2141c9(0x205)],this[_0x2141c9(0x39a)]=(_0x1325d0=_0x2898b7[_0x2141c9(0x3cb)])!=null?_0x1325d0:this[_0x2141c9(0x39a)],this[_0x2141c9(0x36d)]=(_0x13d0c2=_0x2898b7[_0x2141c9(0x440)])!=null?_0x13d0c2:this[_0x2141c9(0x36d)],this['_labelPosition']=(_0x4d9860=_0x2898b7[_0x2141c9(0x3ab)])!=null?_0x4d9860:this['_labelPosition'],this[_0x2141c9(0x2dc)]=(_0x16f63e=_0x2898b7[_0x2141c9(0x332)])!=null?_0x16f63e:this[_0x2141c9(0x2dc)],this[_0x2141c9(0x40e)]({'width':_0x2898b7['width'],'height':_0x2898b7[_0x2141c9(0x3bb)]});}[_0x187bf3(0x2fc)](_0x4a56ed){const _0x1f0d24=_0x187bf3,{row:_0x40fb51,column:_0x2cd82d}=_0x4a56ed;if(_0x40fb51>=this[_0x1f0d24(0x39a)][_0x1f0d24(0x220)]&&_0x40fb51<=this[_0x1f0d24(0x39a)]['endRow']&&_0x2cd82d>=this['_range'][_0x1f0d24(0x2d0)]&&_0x2cd82d<=this[_0x1f0d24(0x39a)][_0x1f0d24(0x49c)]){this[_0x1f0d24(0x37b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x187bf3(0x213)](_0x4298b9){return!0x1;}[_0x187bf3(0x1dc)](_0x2a05cb){const _0x365124=_0x187bf3;C['Rect'][_0x365124(0x2bd)](_0x2a05cb,{'width':this[_0x365124(0x495)],'height':this['height'],'strokeWidth':Pt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x365124(0x2dc)]}),this['_hovered']&&(_0x2a05cb[_0x365124(0x42e)](),_0x2a05cb[_0x365124(0x3d1)](0x1,0x0,0x0,0x1,this[_0x365124(0x495)],this['_labelPosition']===_0x365124(0x21c)?0x0:-X),re[_0x365124(0x2bd)](_0x2a05cb,{'text':this[_0x365124(0x36d)],'color':this[_0x365124(0x42b)]}),_0x2a05cb[_0x365124(0x376)]());}}var wt=Object[_0x187bf3(0x306)],yt=(_0x22a9b4,_0x45169b,_0x36d7cf,_0x3a808c)=>{const _0x4fb66f=_0x187bf3;for(var _0x19064a=_0x3a808c>0x1?void 0x0:_0x3a808c?wt(_0x45169b,_0x36d7cf):_0x45169b,_0x5585b9=_0x22a9b4[_0x4fb66f(0x313)]-0x1,_0x35d807;_0x5585b9>=0x0;_0x5585b9--)(_0x35d807=_0x22a9b4[_0x5585b9])&&(_0x19064a=_0x35d807(_0x19064a)||_0x19064a);return _0x19064a;},ue=(_0x1127f8,_0x1109da)=>(_0x595d4f,_0x4910fc)=>_0x1109da(_0x595d4f,_0x4910fc,_0x1127f8);const $t=0x1389;let Ce=class extends a[_0x187bf3(0x31f)]{constructor(_0x251422,_0x442135,_0x35f224,_0x537c25){const _0x173f1d=_0x187bf3;super(),_(this,_0x173f1d(0x23e),new Set()),_(this,_0x173f1d(0x2e7),null),(this[_0x173f1d(0x3c0)]=_0x251422,this[_0x173f1d(0x323)]=_0x442135,this[_0x173f1d(0x3ad)]=_0x35f224,this[_0x173f1d(0x238)]=_0x537c25,this[_0x173f1d(0x20a)]());}[_0x187bf3(0x20a)](){const _0x58b2b8=_0x187bf3;this[_0x58b2b8(0x323)][_0x58b2b8(0x373)][_0x58b2b8(0x467)]($['takeUntil'](this['dispose$']),$['switchMap'](_0x85c52b=>{const _0x5207e7=_0x58b2b8;if(_0x85c52b){const _0x394c05=_0x85c52b[_0x5207e7(0x244)];return I[_0x5207e7(0x22a)](this[_0x5207e7(0x3ad)][_0x5207e7(0x39c)](this[_0x5207e7(0x3c0)][_0x5207e7(0x400)]),this[_0x5207e7(0x238)]['currentTheme$'])[_0x5207e7(0x467)]($[_0x5207e7(0x327)](([_0x42505a,_0x3775bd])=>{const _0x312cc8=new Map();return _0x42505a['forEach']((_0x2e4b4c,_0x43c247)=>{const _0x579e40=_0x3f2d;if(_0x2e4b4c['sheetID']===_0x394c05){const _0x325c05={..._0x2e4b4c};_0x325c05['color']=this[_0x579e40(0x238)][_0x579e40(0x2c4)](_0x2e4b4c[_0x579e40(0x3ce)]),_0x312cc8[_0x579e40(0x1f9)](_0x43c247,_0x325c05);}}),{'skeleton':_0x85c52b,'cursors':_0x312cc8};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2a880f,cursors:_0x7ec70})=>{const _0x1275b1=_0x58b2b8;this['_removeCollabCursors'](),_0x2a880f&&this[_0x1275b1(0x33a)](_0x2a880f,_0x7ec70);}),this[_0x58b2b8(0x323)]['currentSkeleton$'][_0x58b2b8(0x320)](_0x137172=>{const _0x2cd7f5=_0x58b2b8;if(_0x137172==null)return;const {skeleton:_0x3254ce}=_0x137172,{scene:_0x2b7c9c}=this[_0x2cd7f5(0x3c0)];_0x2b7c9c['onPointerMove$'][_0x2cd7f5(0x248)](a[_0x2cd7f5(0x28a)](_0xb432bd=>{const _0x571728=_0x2cd7f5;var _0x111be4,_0x4b8e97;const {offsetX:_0x3d3326,offsetY:_0x505033}=_0xb432bd,{x:_0x51fdc2,y:_0x322751}=_0x2b7c9c[_0x571728(0x492)](C['Vector2'][_0x571728(0x3c6)]([_0x3d3326,_0x505033])),{scaleX:_0x28c47c,scaleY:_0x310952}=_0x2b7c9c[_0x571728(0x3cf)](),_0x2c972e=_0x2b7c9c[_0x571728(0x47f)](C[_0x571728(0x24f)][_0x571728(0x410)]),_0x31aeed=_0x2b7c9c[_0x571728(0x38d)](C[_0x571728(0x27c)][_0x571728(0x3c6)]([_0x51fdc2,_0x322751]),_0x2c972e),_0x1b46ef=_0x3254ce[_0x571728(0x2b7)](_0x3d3326,_0x505033,_0x28c47c,_0x310952,_0x31aeed);((_0x111be4=this[_0x571728(0x2e7)])==null?void 0x0:_0x111be4[_0x571728(0x31c)])===_0x1b46ef['column']&&((_0x4b8e97=this[_0x571728(0x2e7)])==null?void 0x0:_0x4b8e97[_0x571728(0x472)])===_0x1b46ef[_0x571728(0x472)]||this[_0x571728(0x23e)][_0x571728(0x35c)](_0x175d97=>{const _0x5a7539=_0x571728;_0x175d97[_0x5a7539(0x2fc)](_0x1b46ef);});},0x64));});}[_0x187bf3(0x33a)](_0x25854c,_0x7c8512){const _0x183ae8=_0x187bf3;var _0x13b142;const _0x341456=(_0x13b142=this['_sheetSkeletonManagerService'][_0x183ae8(0x2ea)]())==null?void 0x0:_0x13b142[_0x183ae8(0x285)];if(!_0x341456)return;const _0x515d52=this[_0x183ae8(0x415)]();if(!_0x515d52)return;this['_cursors'][_0x183ae8(0x35c)](_0x36e48d=>{_0x36e48d['makeDirty']();});const {scene:_0x542366}=_0x515d52,_0x15bb6f=xt(Array[_0x183ae8(0x45e)](_0x7c8512['values']()))['map'](_0x3064b1=>{const _0x302a79=_0x183ae8,{color:_0x3a3eb4,range:_0x3b773d,name:_0x26eec0,selection:_0x20240b,sheetID:_0x37c764}=_0x3064b1,{startColumn:_0x2bfcce,startRow:_0x485f83,endColumn:_0x47f68d,endRow:_0xa47754}=_0x3b773d,_0x9838c5=J[_0x302a79(0x38f)](_0x485f83,_0x2bfcce,_0x542366,_0x341456),_0x8184ff=J[_0x302a79(0x38f)](_0xa47754,_0x47f68d,_0x542366,_0x341456),{columnHeaderHeightAndMarginTop:_0x15060d}=_0x341456,{startX:_0x68b00f,startY:_0x1ecedd}=_0x9838c5,{endX:_0x32cbd3,endY:_0x3c8236}=_0x8184ff,_0x3792b2=_0x32cbd3-_0x68b00f,_0x80ac4d=_0x3c8236-_0x1ecedd,_0x387a6f={'labelPosition':_0x1ecedd-_0x15060d>=X?_0x302a79(0x3bf):_0x302a79(0x21c),'sheetID':_0x37c764,'range':_0x3b773d,'color':_0x3a3eb4,'name':_0x26eec0,'selection':_0x20240b,'left':_0x68b00f,'top':_0x1ecedd,'width':_0x3792b2,'height':_0x80ac4d,'evented':!0x1,'zIndex':$t};return new je(_0x26eec0,_0x387a6f);});_0x542366['addObjects'](_0x15bb6f,At),this[_0x183ae8(0x23e)]=new Set(_0x15bb6f);}['_removeCollabCursors'](){const _0x167c73=_0x187bf3;var _0x52f600;(_0x52f600=this['_cursors'])==null||_0x52f600[_0x167c73(0x35c)](_0x5f0a37=>_0x5f0a37[_0x167c73(0x25d)]());}[_0x187bf3(0x415)](){const _0x272d6f=_0x187bf3;return J[_0x272d6f(0x328)](this[_0x272d6f(0x3c0)][_0x272d6f(0x1dd)],this[_0x272d6f(0x3c0)]);}};Ce=yt([ue(0x1,a[_0x187bf3(0x3a0)](J[_0x187bf3(0x383)])),ue(0x2,a[_0x187bf3(0x3a0)](F)),ue(0x3,a['Inject'](a['ThemeService']))],Ce);function xt(_0x70df5d){const _0xb067d8=_0x187bf3,_0xc42421=new Map();return _0x70df5d[_0xb067d8(0x35c)](_0x425ef8=>{const _0x1185ca=_0xb067d8;if(_0xc42421[_0x1185ca(0x2eb)](_0x425ef8[_0x1185ca(0x465)])){const _0x508282=_0xc42421[_0x1185ca(0x393)](_0x425ef8[_0x1185ca(0x465)]);_0x508282['name']+=',\x20'+_0x425ef8[_0x1185ca(0x440)];}else _0xc42421[_0x1185ca(0x1f9)](_0x425ef8[_0x1185ca(0x465)],_0x425ef8);}),Array[_0xb067d8(0x45e)](_0xc42421[_0xb067d8(0x432)]());}var Bt=Object[_0x187bf3(0x306)],Ft=(_0x50621b,_0x1bd15a,_0x5f0881,_0x1d0544)=>{for(var _0xbe16a9=_0x1d0544>0x1?void 0x0:_0x1d0544?Bt(_0x1bd15a,_0x5f0881):_0x1bd15a,_0x38d192=_0x50621b['length']-0x1,_0x298ff4;_0x38d192>=0x0;_0x38d192--)(_0x298ff4=_0x50621b[_0x38d192])&&(_0xbe16a9=_0x298ff4(_0xbe16a9)||_0xbe16a9);return _0xbe16a9;},y=(_0x531f1a,_0x382dce)=>(_0x4e289c,_0x4ab74c)=>_0x382dce(_0x4e289c,_0x4ab74c,_0x531f1a);let Z=class extends a[_0x187bf3(0x3f5)]{constructor(_0x4e29f2,_0x517fc0,_0x36a609,_0x5efd17,_0x12c676,_0xbb7fe5){const _0x3e8e82=_0x187bf3;super(),this[_0x3e8e82(0x326)]=_0x4e29f2,this[_0x3e8e82(0x3fa)]=_0x517fc0,this[_0x3e8e82(0x2e8)]=_0x36a609,this[_0x3e8e82(0x3d3)]=_0x5efd17,this[_0x3e8e82(0x498)]=_0x12c676,this[_0x3e8e82(0x34a)]=_0xbb7fe5,this[_0x3e8e82(0x34f)](),this[_0x3e8e82(0x2f5)]();}[_0x187bf3(0x34f)](){const _0x23b8fd=_0x187bf3;this[_0x23b8fd(0x3d6)](this[_0x23b8fd(0x326)][_0x23b8fd(0x2d3)](()=>{const _0x27b63c=_0x23b8fd;if(this[_0x27b63c(0x3fa)][_0x27b63c(0x4a1)]['size'])return this[_0x27b63c(0x34a)]['t']('collaboration.offline-data-not-saved');}));}[_0x187bf3(0x2f5)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x418872=>{const _0x1b4c42=_0x3f2d;_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x276)]&&this[_0x1b4c42(0x3d3)][_0x1b4c42(0x31b)]({'type':p[_0x1b4c42(0x468)][_0x1b4c42(0x279)],'content':this[_0x1b4c42(0x34a)]['t'](_0x1b4c42(0x266))}),_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x38a)]&&this[_0x1b4c42(0x3d3)]['show']({'type':p[_0x1b4c42(0x468)]['Warning'],'content':this[_0x1b4c42(0x34a)]['t'](_0x1b4c42(0x2f8))}),_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x314)]&&this[_0x1b4c42(0x498)][_0x1b4c42(0x31b)]({'title':this[_0x1b4c42(0x34a)]['t'](_0x1b4c42(0x457)),'content':this[_0x1b4c42(0x34a)]['t']('permission.content'),'type':_0x1b4c42(0x20b),'duration':0x0}),_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x2f6)]&&this[_0x1b4c42(0x3d3)][_0x1b4c42(0x31b)]({'type':p['MessageType']['Error'],'content':this['_localeService']['t'](_0x1b4c42(0x2f8))+'('+_0x418872[_0x1b4c42(0x280)]+')'}),_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x39b)]&&this[_0x1b4c42(0x3d3)]['show']({'type':p[_0x1b4c42(0x468)][_0x1b4c42(0x279)],'content':this[_0x1b4c42(0x34a)]['t'](_0x418872[_0x1b4c42(0x280)]||'')}),_0x418872['id']===u[_0x1b4c42(0x367)][_0x1b4c42(0x464)]&&this[_0x1b4c42(0x3d3)][_0x1b4c42(0x31b)]({'type':p[_0x1b4c42(0x468)][_0x1b4c42(0x279)],'content':this[_0x1b4c42(0x34a)]['t']('session.will-retry')}),_0x418872['id']===u['CollaborationUIEventId'][_0x1b4c42(0x230)]&&this[_0x1b4c42(0x3d3)]['show']({'type':p[_0x1b4c42(0x468)][_0x1b4c42(0x212)],'content':this['_localeService']['t'](_0x1b4c42(0x49f))}),_0x418872['id']===u['CollaborationUIEventId'][_0x1b4c42(0x25f)]&&this[_0x1b4c42(0x3d3)][_0x1b4c42(0x31b)]({'type':p['MessageType'][_0x1b4c42(0x212)],'content':this[_0x1b4c42(0x34a)]['t'](_0x1b4c42(0x2d2))});}));}};Z=Ft([y(0x0,O[_0x187bf3(0x233)]),y(0x1,u[_0x187bf3(0x2b4)]),y(0x2,a[_0x187bf3(0x3a0)](u[_0x187bf3(0x237)])),y(0x3,O[_0x187bf3(0x1ce)]),y(0x4,O[_0x187bf3(0x2da)]),y(0x5,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x363)]))],Z);var jt=Object[_0x187bf3(0x306)],kt=(_0xa2167a,_0x51b92a,_0x2d5e0f,_0x59242c)=>{for(var _0x317b5e=_0x59242c>0x1?void 0x0:_0x59242c?jt(_0x51b92a,_0x2d5e0f):_0x51b92a,_0x3ec03b=_0xa2167a['length']-0x1,_0x40ead4;_0x3ec03b>=0x0;_0x3ec03b--)(_0x40ead4=_0xa2167a[_0x3ec03b])&&(_0x317b5e=_0x40ead4(_0x317b5e)||_0x317b5e);return _0x317b5e;},z=(_0x18781e,_0x543eac)=>(_0x1b0bca,_0xfe9b74)=>_0x543eac(_0x1b0bca,_0xfe9b74,_0x18781e);function _0x3f2d(_0x42d113,_0x1683e2){_0x42d113=_0x42d113-0x1c5;const _0x14c577=_0x14c5();let _0x3f2dc5=_0x14c577[_0x42d113];return _0x3f2dc5;}let Q=class extends a['Disposable']{constructor(_0x5d22f0,_0x26d5f0,_0x2176a0,_0x467603){const _0x2f6fcb=_0x187bf3;super(),_(this,_0x2f6fcb(0x275)),(this['_injector']=_0x5d22f0,this[_0x2f6fcb(0x3dc)]=_0x26d5f0,this['_logService']=_0x2176a0,this[_0x2f6fcb(0x427)]=_0x467603,this[_0x2f6fcb(0x20a)]());}[_0x187bf3(0x20a)](){const _0x2085d2=_0x187bf3;this[_0x2085d2(0x2ad)](),this['_initUnhandledRejectionListener'](),this[_0x2085d2(0x259)](),this[_0x2085d2(0x33b)]();}[_0x187bf3(0x33b)](){const _0x5298c2=_0x187bf3;this[_0x5298c2(0x3d6)](this[_0x5298c2(0x427)][_0x5298c2(0x2f7)][_0x5298c2(0x320)](_0x3e9bf7=>{const _0x5708d1=_0x5298c2;this[_0x5708d1(0x275)]=_0x3e9bf7==null?void 0x0:_0x3e9bf7[_0x5708d1(0x359)];}));}[_0x187bf3(0x2ad)](){const _0x551645=_0x26d323=>{const _0x8eb760=_0x3f2d;var _0x53dda6;this[_0x8eb760(0x1d8)]('error',_0x8eb760(0x3bc)+_0x26d323[_0x8eb760(0x1ee)]+_0x8eb760(0x1e6)+_0x26d323['filename']+':'+_0x26d323[_0x8eb760(0x474)]+':'+_0x26d323[_0x8eb760(0x1c9)]+'\x0a'+(((_0x53dda6=_0x26d323[_0x8eb760(0x20b)])==null?void 0x0:_0x53dda6[_0x8eb760(0x46a)])||''));};window['addEventListener']('error',_0x551645),this['disposeWithMe'](()=>{const _0x25ff7a=_0x3f2d;window[_0x25ff7a(0x273)]('error',_0x551645);});}['_initUnhandledRejectionListener'](){const _0x5d37b5=_0x187bf3,_0x34f937=_0x588f44=>{const _0x5f5c2b=_0x3f2d;this['_uploadLog'](_0x5f5c2b(0x20b),_0x5f5c2b(0x3fe)+_0x588f44[_0x5f5c2b(0x45b)]);};window['addEventListener']('unhandledrejection',_0x34f937),this[_0x5d37b5(0x3d6)](()=>{const _0x389517=_0x5d37b5;window[_0x389517(0x273)]('unhandledrejection',_0x34f937);});}[_0x187bf3(0x259)](){const _0x3d5232=_0x187bf3,_0x50a5bf=this[_0x3d5232(0x446)][_0x3d5232(0x20b)][_0x3d5232(0x3ea)](this[_0x3d5232(0x446)]);this['_logService']['error']=(..._0x559bcb)=>{const _0x550ae1=_0x3d5232,_0x5926d3=_0x559bcb[_0x550ae1(0x327)](_0xbb324f=>_0xbb324f instanceof Error?_0xbb324f[_0x550ae1(0x1ee)]+'\x0a'+_0xbb324f[_0x550ae1(0x46a)]:String(_0xbb324f))[_0x550ae1(0x3ef)]('\x20');this[_0x550ae1(0x1d8)]('error',_0x550ae1(0x3d0)+_0x5926d3),_0x50a5bf(..._0x559bcb);},this[_0x3d5232(0x3d6)](()=>{const _0x19630d=_0x3d5232;this[_0x19630d(0x446)][_0x19630d(0x20b)]=_0x50a5bf;});}[_0x187bf3(0x1d8)](_0x5d2b62,_0x18fe15){const _0x49e54c=_0x187bf3;try{const _0x1e4938={'userId':this[_0x49e54c(0x275)],'logLabel':_0x5d2b62,'content':_0x18fe15};this[_0x49e54c(0x3dc)][_0x49e54c(0x268)]('/universer-api/frontend/logs',{'body':_0x1e4938})[_0x49e54c(0x40a)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x46f)])),z(0x1,a[_0x187bf3(0x3a0)](x[_0x187bf3(0x2ae)])),z(0x2,a[_0x187bf3(0x361)]),z(0x3,a['Inject'](u[_0x187bf3(0x3a8)]))],Q);const Yt='collaboration-client-ui.config',Me={};var Ht=Object[_0x187bf3(0x306)],Wt=(_0x26a327,_0x1f8a16,_0x4ecf9e,_0x2552a3)=>{const _0x859fc2=_0x187bf3;for(var _0x298d62=_0x2552a3>0x1?void 0x0:_0x2552a3?Ht(_0x1f8a16,_0x4ecf9e):_0x1f8a16,_0x4d4e4d=_0x26a327[_0x859fc2(0x313)]-0x1,_0x12eb20;_0x4d4e4d>=0x0;_0x4d4e4d--)(_0x12eb20=_0x26a327[_0x4d4e4d])&&(_0x298d62=_0x12eb20(_0x298d62)||_0x298d62);return _0x298d62;},Ae=(_0x422f86,_0x9f4cce)=>(_0x3e8d83,_0x2c5f1e)=>_0x9f4cce(_0x3e8d83,_0x2c5f1e,_0x422f86);let ee=class{constructor(_0x548bbe,_0x1f5181){const _0x43b5b0=_0x187bf3;this[_0x43b5b0(0x3b2)]=_0x548bbe,this[_0x43b5b0(0x28c)]=_0x1f5181;}[_0x187bf3(0x3a6)](_0x44cc20){const _0x57a1d1=_0x187bf3;this[_0x57a1d1(0x318)](_0x44cc20),this['_transformPreviousActiveRange'](_0x44cc20);}[_0x187bf3(0x258)](_0x2d0a41){const _0x1520f1=_0x187bf3,{unitID:_0x165c1b}=_0x2d0a41,_0x639d03=this[_0x1520f1(0x28c)][_0x1520f1(0x254)](_0x165c1b)[_0x1520f1(0x239)](T[_0x1520f1(0x295)]),{redoCache:_0x1f04ed}=_0x639d03[_0x1520f1(0x1cd)]();if(_0x1f04ed[_0x1520f1(0x313)]===0x0)return _0x2d0a41;let _0xddafbb=a[_0x1520f1(0x346)][_0x1520f1(0x22e)](_0x2d0a41[_0x1520f1(0x2cf)][0x0]);for(let _0xcbc147=0x0;_0xcbc147<_0x1f04ed['length'];_0xcbc147++){const _0x3237af={'id':_0x1520f1(0x2f3),'params':{..._0x1f04ed[_0xcbc147]}},_0x539d87=this[_0x1520f1(0x3b2)][_0x1520f1(0x200)](_0xddafbb,_0x3237af,!0x1);if(g[_0x1520f1(0x35f)](_0x539d87))throw _0x539d87[_0x1520f1(0x20b)];_0xddafbb=_0x539d87[_0x1520f1(0x216)];}return{...a[_0x1520f1(0x346)][_0x1520f1(0x22e)](_0x2d0a41),'mutations':[_0xddafbb]};}[_0x187bf3(0x318)](_0x16aa7b){const _0x3dd97c=_0x187bf3,{unitID:_0x2e6c55}=_0x16aa7b,_0x275502=this['_renderManagerService'][_0x3dd97c(0x254)](_0x2e6c55)[_0x3dd97c(0x239)](T[_0x3dd97c(0x295)]),{undoCache:_0x3199c8,redoCache:_0x3c8c45}=_0x275502[_0x3dd97c(0x1cd)]();if(_0x3199c8[_0x3dd97c(0x313)]===0x0||_0x3c8c45[_0x3dd97c(0x313)]===0x0)return;const _0x5e12d9=[],_0x6bd77=[];let _0x2df77b=a[_0x3dd97c(0x346)]['deepClone'](_0x16aa7b[_0x3dd97c(0x2cf)][0x0]),_0x2e4d2c=a['Tools']['deepClone'](_0x16aa7b['mutations'][0x0]);for(let _0x11eec7=_0x3199c8[_0x3dd97c(0x313)]-0x1;_0x11eec7>=0x0;_0x11eec7--){const _0x41036d={'id':_0x3dd97c(0x2f3),'params':{..._0x3199c8[_0x11eec7]}},_0x276ad4={'id':_0x3dd97c(0x2f3),'params':{..._0x3c8c45[_0x11eec7]}},_0x40e7a5=this[_0x3dd97c(0x3b2)][_0x3dd97c(0x200)](_0x2df77b,_0x41036d,!0x1),_0x22cc8b=this[_0x3dd97c(0x3b2)]['transformMutation'](_0x2e4d2c,_0x276ad4,!0x1);if(g['isTransformMutationFailure'](_0x40e7a5))throw _0x40e7a5[_0x3dd97c(0x20b)];if(g['isTransformMutationFailure'](_0x22cc8b))throw _0x22cc8b[_0x3dd97c(0x20b)];_0x5e12d9[_0x3dd97c(0x1d6)](_0x40e7a5[_0x3dd97c(0x42f)][_0x3dd97c(0x229)]),_0x6bd77['unshift'](_0x22cc8b[_0x3dd97c(0x42f)][_0x3dd97c(0x229)]),_0x2df77b=_0x40e7a5['m1Prime'],_0x2e4d2c=_0x22cc8b[_0x3dd97c(0x216)];}_0x275502[_0x3dd97c(0x3e8)]({'undoCache':_0x5e12d9,'redoCache':_0x6bd77});}[_0x187bf3(0x311)](_0x5a450d){const _0x58fd1a=_0x187bf3,{unitID:_0x12c435}=_0x5a450d,_0x336e86=this[_0x58fd1a(0x28c)][_0x58fd1a(0x254)](_0x12c435)['with'](T['DocIMEInputManagerService']),_0x108cde=_0x336e86[_0x58fd1a(0x43a)]();if(_0x108cde==null)return;const _0x2b772d=[{'id':_0x58fd1a(0x2f3),'params':{'unitId':_0x5a450d[_0x58fd1a(0x2e3)],'actions':null,'textRanges':[_0x108cde]}}],_0xd22838=this[_0x58fd1a(0x3b2)][_0x58fd1a(0x1ff)](_0x5a450d,_0x2b772d);if(!g[_0x58fd1a(0x439)](_0xd22838))throw _0xd22838[_0x58fd1a(0x20b)];const _0x2db098=_0xd22838[_0x58fd1a(0x42f)][0x0][_0x58fd1a(0x229)]['textRanges'];Array[_0x58fd1a(0x3d5)](_0x2db098)&&_0x2db098[_0x58fd1a(0x313)]&&_0x336e86[_0x58fd1a(0x38b)](_0x2db098[0x0]);}};ee=Wt([Ae(0x0,g[_0x187bf3(0x272)]),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object[_0x187bf3(0x306)],Gt=(_0x2e0c66,_0x33114c,_0x4a2071,_0x56e901)=>{const _0x578598=_0x187bf3;for(var _0x2d54ac=_0x56e901>0x1?void 0x0:_0x56e901?Vt(_0x33114c,_0x4a2071):_0x33114c,_0x3d2a76=_0x2e0c66[_0x578598(0x313)]-0x1,_0x2bbb83;_0x3d2a76>=0x0;_0x3d2a76--)(_0x2bbb83=_0x2e0c66[_0x3d2a76])&&(_0x2d54ac=_0x2bbb83(_0x2d54ac)||_0x2d54ac);return _0x2d54ac;},Ie=(_0x5571f0,_0x538c17)=>(_0x4535f4,_0x26a10a)=>_0x538c17(_0x4535f4,_0x26a10a,_0x5571f0);let te=class{constructor(_0x5178b2,_0x312a2b,_0x4cc54b){const _0x54472a=_0x187bf3;this['_injector']=_0x5178b2,this[_0x54472a(0x3b2)]=_0x312a2b,this[_0x54472a(0x35e)]=_0x4cc54b;}[_0x187bf3(0x2d9)](_0xd15284){this['_transformHistoryAndStateStack'](_0xd15284);}[_0x187bf3(0x258)](_0x3a5df5){const _0x5afbff=_0x187bf3,{unitID:_0x5c2d11}=_0x3a5df5,{collaboration:_0x4d8181}=this[_0x5afbff(0x35e)][_0x5afbff(0x442)](_0x5c2d11);if(_0x4d8181['length']===0x0)return _0x3a5df5;let _0xc143c3=a[_0x5afbff(0x346)][_0x5afbff(0x22e)](_0x3a5df5['mutations'][0x0]);for(let _0xe61764=0x0;_0xe61764<_0x4d8181[_0x5afbff(0x313)];_0xe61764++){const _0x3912a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d8181[_0xe61764][_0x5afbff(0x400)],..._0x4d8181[_0xe61764][_0x5afbff(0x202)]}},_0x5d944a=this[_0x5afbff(0x3b2)][_0x5afbff(0x200)](_0xc143c3,_0x3912a3,!0x1);if(g[_0x5afbff(0x35f)](_0x5d944a))throw _0x5d944a[_0x5afbff(0x20b)];_0xc143c3=_0x5d944a[_0x5afbff(0x216)];}return{...a[_0x5afbff(0x346)]['deepClone'](_0x3a5df5),'mutations':[_0xc143c3]};}[_0x187bf3(0x406)](_0x142ad0){const _0x423ab3=_0x187bf3,{unitID:_0x294339}=_0x142ad0,{history:_0x269e15,collaboration:_0x143b34}=this[_0x423ab3(0x35e)][_0x423ab3(0x442)](_0x294339);if(_0x269e15[_0x423ab3(0x313)]===0x0&&_0x143b34['length']===0x0)return;const _0x612182=[],_0x2ff6a7=[];let _0x191eb3=a[_0x423ab3(0x346)]['deepClone'](_0x142ad0[_0x423ab3(0x2cf)][0x0]),_0xf156c7=a[_0x423ab3(0x346)]['deepClone'](_0x142ad0[_0x423ab3(0x2cf)][0x0]);for(let _0x1910d3=_0x269e15['length']-0x1;_0x1910d3>=0x0;_0x1910d3--){const _0x290395={'id':_0x423ab3(0x2f3),'params':{'unitId':_0x269e15[_0x1910d3][_0x423ab3(0x400)],..._0x269e15[_0x1910d3][_0x423ab3(0x2a7)]}},_0x1d4377={'id':_0x423ab3(0x2f3),'params':{'unitId':_0x269e15[_0x1910d3]['unitId'],..._0x269e15[_0x1910d3][_0x423ab3(0x202)]}},_0x456b35=this[_0x423ab3(0x3b2)][_0x423ab3(0x200)](_0x191eb3,_0x290395,!0x1),_0x5af090=this[_0x423ab3(0x3b2)][_0x423ab3(0x200)](_0xf156c7,_0x1d4377,!0x1);if(g[_0x423ab3(0x35f)](_0x456b35))throw _0x456b35['error'];if(g[_0x423ab3(0x35f)](_0x5af090))throw _0x5af090[_0x423ab3(0x20b)];_0x612182[_0x423ab3(0x1d6)]({..._0x269e15[_0x1910d3],'undoState':_0x456b35[_0x423ab3(0x42f)][_0x423ab3(0x229)],'redoState':_0x5af090[_0x423ab3(0x42f)][_0x423ab3(0x229)]}),_0x191eb3=_0x456b35[_0x423ab3(0x216)],_0xf156c7=_0x5af090['m1Prime'];}_0x191eb3=a[_0x423ab3(0x346)][_0x423ab3(0x22e)](_0x142ad0[_0x423ab3(0x2cf)][0x0]),_0xf156c7=a[_0x423ab3(0x346)]['deepClone'](_0x142ad0[_0x423ab3(0x2cf)][0x0]);for(let _0x3742cd=_0x143b34[_0x423ab3(0x313)]-0x1;_0x3742cd>=0x0;_0x3742cd--){const _0x4b46a8={'id':_0x423ab3(0x2f3),'params':{'unitId':_0x143b34[_0x3742cd][_0x423ab3(0x400)],..._0x143b34[_0x3742cd]['undoState']}},_0x127b98={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x143b34[_0x3742cd][_0x423ab3(0x400)],..._0x143b34[_0x3742cd]['redoState']}},_0x3c6c8c=this[_0x423ab3(0x3b2)][_0x423ab3(0x200)](_0x191eb3,_0x4b46a8,!0x1),_0x219ff4=this[_0x423ab3(0x3b2)][_0x423ab3(0x200)](_0xf156c7,_0x127b98,!0x1);if(g[_0x423ab3(0x35f)](_0x3c6c8c))throw _0x3c6c8c[_0x423ab3(0x20b)];if(g[_0x423ab3(0x35f)](_0x219ff4))throw _0x219ff4[_0x423ab3(0x20b)];_0x2ff6a7[_0x423ab3(0x1d6)]({..._0x143b34[_0x3742cd],'undoState':_0x3c6c8c['m2Prime']['params'],'redoState':_0x219ff4[_0x423ab3(0x42f)][_0x423ab3(0x229)]}),_0x191eb3=_0x3c6c8c['m1Prime'],_0xf156c7=_0x219ff4[_0x423ab3(0x216)];}this[_0x423ab3(0x35e)]['setStateCache'](_0x294339,{'history':_0x612182,'collaboration':_0x2ff6a7});}};te=Gt([Ie(0x0,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x46f)])),Ie(0x1,g[_0x187bf3(0x272)]),Ie(0x2,a['Inject'](T[_0x187bf3(0x46d)]))],te);var Xt=Object[_0x187bf3(0x306)],Kt=(_0x44ab56,_0x30d01e,_0x5f1056,_0x56770a)=>{const _0x495a4e=_0x187bf3;for(var _0x224c7a=_0x56770a>0x1?void 0x0:_0x56770a?Xt(_0x30d01e,_0x5f1056):_0x30d01e,_0xc27ebb=_0x44ab56[_0x495a4e(0x313)]-0x1,_0x48e547;_0xc27ebb>=0x0;_0xc27ebb--)(_0x48e547=_0x44ab56[_0xc27ebb])&&(_0x224c7a=_0x48e547(_0x224c7a)||_0x224c7a);return _0x224c7a;},Pe=(_0x3a51e2,_0x27931c)=>(_0x5e6339,_0x74e9d4)=>_0x27931c(_0x5e6339,_0x74e9d4,_0x3a51e2);let se=class{constructor(_0xf0fbaf,_0x477ca8){const _0x1c0fa7=_0x187bf3;this[_0x1c0fa7(0x3cc)]=_0xf0fbaf,this[_0x1c0fa7(0x3b2)]=_0x477ca8;}['transformSelections'](_0x32def){const _0xb8f961=_0x187bf3;var _0x1e6f9e;const _0x352f57=this[_0xb8f961(0x3cc)]['get'](V['DocSelectionManagerService']),_0xa96316=(_0x1e6f9e=_0x352f57[_0xb8f961(0x2e1)]())!=null?_0x1e6f9e:[];if(_0xa96316['length']===0x0)return;const _0x5ac2de=_0x32def['unitID'],_0x51e4b3=[{'id':_0xb8f961(0x2f3),'params':{'unitId':_0x5ac2de,'actions':null,'textRanges':_0xa96316}}],_0x164a89=this[_0xb8f961(0x3b2)][_0xb8f961(0x1ff)](_0x32def,_0x51e4b3);if(!g['isTransformMutationsWithChangesetSuccess'](_0x164a89))throw _0x164a89[_0xb8f961(0x20b)];const _0x34007e=_0x164a89['m2Prime'][0x0][_0xb8f961(0x229)][_0xb8f961(0x1d7)];Array[_0xb8f961(0x3d5)](_0x34007e)&&_0x34007e[_0xb8f961(0x313)]&&_0x352f57[_0xb8f961(0x381)](_0x34007e,{'unitId':_0x5ac2de,'subUnitId':_0x5ac2de},!0x1);}};se=Kt([Pe(0x0,a['Inject'](a['Injector'])),Pe(0x1,g[_0x187bf3(0x272)])],se);var qt=Object['getOwnPropertyDescriptor'],zt=(_0x2bbc9a,_0x4bc1aa,_0x2f1860,_0x495b1c)=>{const _0x42f62c=_0x187bf3;for(var _0x320d76=_0x495b1c>0x1?void 0x0:_0x495b1c?qt(_0x4bc1aa,_0x2f1860):_0x4bc1aa,_0xff1051=_0x2bbc9a[_0x42f62c(0x313)]-0x1,_0x293923;_0xff1051>=0x0;_0xff1051--)(_0x293923=_0x2bbc9a[_0xff1051])&&(_0x320d76=_0x293923(_0x320d76)||_0x320d76);return _0x320d76;},N=(_0x1747af,_0xf59f69)=>(_0x5b4aac,_0x5005c0)=>_0xf59f69(_0x5b4aac,_0x5005c0,_0x1747af);let ie=class extends a[_0x187bf3(0x3f5)]{constructor(_0x2d3a8d,_0x4ca006,_0xd78a72,_0x4b24b5,_0x2c9e5d,_0x480d1e,_0x4171a1,_0x332a0c){const _0x483fde=_0x187bf3;super(),_(this,_0x483fde(0x477),new I[(_0x483fde(0x1f1))](u[_0x483fde(0x3b4)][_0x483fde(0x333)])),(this['_docStateChangeManagerService']=_0x2d3a8d,this[_0x483fde(0x255)]=_0x4ca006,this['_docTransformIMECacheService']=_0xd78a72,this[_0x483fde(0x308)]=_0x4b24b5,this[_0x483fde(0x46e)]=_0x2c9e5d,this[_0x483fde(0x463)]=_0x480d1e,this[_0x483fde(0x3d3)]=_0x4171a1,this['_localeService']=_0x332a0c,this[_0x483fde(0x3e5)]());}[_0x187bf3(0x3e5)](){const _0x27b622=_0x187bf3;this[_0x27b622(0x3d6)](this['_collaborationController']['entityInit$'][_0x27b622(0x320)](_0x507e46=>{const _0x291296=_0x27b622,_0x446959=this[_0x291296(0x35e)][_0x291296(0x488)][_0x291296(0x320)](_0x3039cd=>{const _0x15f251=_0x291296;if(_0x3039cd==null)return;const {unitId:_0x3cf5a9,redoState:_0x1542f8,commandId:_0x22ca6b}=_0x3039cd;if(_0x3cf5a9!==_0x507e46['unitID'])return;const _0x216b82={'id':_0x22ca6b,'type':a[_0x15f251(0x35a)][_0x15f251(0x247)],'params':{'unitId':_0x3cf5a9,'actions':_0x1542f8[_0x15f251(0x47c)],'textRanges':null}};_0x507e46[_0x15f251(0x429)](_0x216b82);});if(_0x507e46[_0x291296(0x3d6)](_0x446959),_0x507e46 instanceof u[_0x291296(0x349)]){const _0x1179a5={'onTransformIME':_0x5912aa=>this[_0x291296(0x1f0)]['transformIMECache'](_0x5912aa),'onTransformState':_0x56f14a=>this[_0x291296(0x308)]['transformStateCache'](_0x56f14a),'onTransformSelections':_0x4feeaa=>this['_docTransformSelectionsService'][_0x291296(0x221)](_0x4feeaa),'onSyncEditingCollabCursor':_0x3bd3a6=>this[_0x291296(0x463)][_0x291296(0x263)](_0x3bd3a6),'onTransformRemoteChangesetByIMECache':_0x17bb47=>this[_0x291296(0x1f0)][_0x291296(0x258)](_0x17bb47),'onTransformRemoteChangesetByStateCache':_0xd640f0=>this[_0x291296(0x308)][_0x291296(0x258)](_0xd640f0)};_0x507e46[_0x291296(0x356)](_0x1179a5);}}));}};ie=zt([N(0x0,a[_0x187bf3(0x3a0)](T[_0x187bf3(0x46d)])),N(0x1,a[_0x187bf3(0x3a0)](u[_0x187bf3(0x289)])),N(0x2,a[_0x187bf3(0x3a0)](ee)),N(0x3,a[_0x187bf3(0x3a0)](te)),N(0x4,a[_0x187bf3(0x3a0)](se)),N(0x5,a[_0x187bf3(0x3a0)](be)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a[_0x187bf3(0x363)]))],ie);var G=(_0x216b81=>(_0x216b81[_0x216b81[_0x187bf3(0x391)]=0x0]=_0x187bf3(0x391),_0x216b81[_0x216b81['OK']=0x1]='OK',_0x216b81[_0x216b81[_0x187bf3(0x360)]=0x2]='INTERNAL_ERROR',_0x216b81[_0x216b81[_0x187bf3(0x314)]=0x3]=_0x187bf3(0x314),_0x216b81[_0x216b81[_0x187bf3(0x34e)]=0x4]='NOT_FOUND',_0x216b81[_0x216b81[_0x187bf3(0x2c5)]=0x5]=_0x187bf3(0x2c5),_0x216b81[_0x216b81[_0x187bf3(0x2c1)]=0x6]='ALREADY_EXISTS',_0x216b81[_0x216b81[_0x187bf3(0x49e)]=0x7]=_0x187bf3(0x49e),_0x216b81[_0x216b81['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x216b81[_0x216b81['COMPLETION_FINISHED']=0x9]=_0x187bf3(0x2ca),_0x216b81[_0x216b81['LOGIN_FAILED']=0xa]=_0x187bf3(0x3da),_0x216b81[_0x216b81[_0x187bf3(0x22c)]=0xb]=_0x187bf3(0x22c),_0x216b81[_0x216b81[_0x187bf3(0x348)]=0xc]=_0x187bf3(0x348),_0x216b81[_0x216b81['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x187bf3(0x41c),_0x216b81[_0x216b81[_0x187bf3(0x39f)]=0xe]=_0x187bf3(0x39f),_0x216b81[_0x216b81['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x187bf3(0x407),_0x216b81[_0x216b81[_0x187bf3(0x43c)]=0x10]=_0x187bf3(0x43c),_0x216b81[_0x216b81[_0x187bf3(0x211)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x216b81[_0x216b81['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x216b81[_0x216b81[_0x187bf3(0x33e)]=0xc9]='USER_NOT_FOUND',_0x216b81[_0x216b81[_0x187bf3(0x423)]=0xca]='USER_IS_ANONYMOUS',_0x216b81[_0x216b81[_0x187bf3(0x27d)]=0x1389]=_0x187bf3(0x27d),_0x216b81[_0x216b81['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x187bf3(0x2bf),_0x216b81[_0x216b81[_0x187bf3(0x321)]=0x1772]=_0x187bf3(0x321),_0x216b81[_0x216b81[_0x187bf3(0x344)]=0x1773]=_0x187bf3(0x344),_0x216b81[_0x216b81[_0x187bf3(0x481)]=0x1b59]=_0x187bf3(0x481),_0x216b81[_0x216b81[_0x187bf3(0x478)]=0x1b5a]=_0x187bf3(0x478),_0x216b81[_0x216b81['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x187bf3(0x1d9),_0x216b81[_0x216b81[_0x187bf3(0x204)]=0x1b5c]=_0x187bf3(0x204),_0x216b81[_0x216b81[_0x187bf3(0x3a4)]=0x1b5d]=_0x187bf3(0x3a4),_0x216b81[_0x216b81[_0x187bf3(0x428)]=0x1f41]=_0x187bf3(0x428),_0x216b81[_0x216b81['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x187bf3(0x32d),_0x216b81[_0x216b81[_0x187bf3(0x33c)]=0x232a]=_0x187bf3(0x33c),_0x216b81[_0x216b81['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x187bf3(0x245),_0x216b81[_0x216b81['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x187bf3(0x2a5),_0x216b81[_0x216b81['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x216b81[_0x216b81[_0x187bf3(0x34b)]=0x2711]=_0x187bf3(0x34b),_0x216b81[_0x216b81[_0x187bf3(0x331)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x216b81[_0x216b81[_0x187bf3(0x2c0)]=0x2713]=_0x187bf3(0x2c0),_0x216b81[_0x216b81[_0x187bf3(0x3de)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x216b81[_0x216b81[_0x187bf3(0x23c)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x216b81[_0x216b81[_0x187bf3(0x2b8)]=0x271b]=_0x187bf3(0x2b8),_0x216b81[_0x216b81['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x187bf3(0x399),_0x216b81[_0x216b81[_0x187bf3(0x3a3)]=0x271d]=_0x187bf3(0x3a3),_0x216b81[_0x216b81[_0x187bf3(0x404)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x216b81[_0x216b81[_0x187bf3(0x44f)]=0x271f]=_0x187bf3(0x44f),_0x216b81[_0x216b81['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x216b81[_0x216b81['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x187bf3(0x2b9),_0x216b81[_0x216b81[_0x187bf3(0x3b3)]=0x2ee1]=_0x187bf3(0x3b3),_0x216b81[_0x216b81[_0x187bf3(0x43e)]=0x2ee2]='INVALID_INVITE_CODE',_0x216b81[_0x216b81[_0x187bf3(0x2ed)]=0x2ee3]=_0x187bf3(0x2ed),_0x216b81[_0x216b81[_0x187bf3(0x387)]=0x2ee4]=_0x187bf3(0x387),_0x216b81[_0x216b81['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x187bf3(0x343),_0x216b81[_0x216b81[_0x187bf3(0x350)]=0x32c9]=_0x187bf3(0x350),_0x216b81[_0x216b81[_0x187bf3(0x337)]=0x32ca]=_0x187bf3(0x337),_0x216b81[_0x216b81[_0x187bf3(0x2a2)]=0x32cb]=_0x187bf3(0x2a2),_0x216b81[_0x216b81[_0x187bf3(0x3ee)]=0x36b1]=_0x187bf3(0x3ee),_0x216b81[_0x216b81[_0x187bf3(0x1f2)]=0x36b2]=_0x187bf3(0x1f2),_0x216b81[_0x216b81[_0x187bf3(0x43d)]=0x36b3]=_0x187bf3(0x43d),_0x216b81[_0x216b81[_0x187bf3(0x476)]=0x36b4]=_0x187bf3(0x476),_0x216b81[_0x216b81[_0x187bf3(0x1ef)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x216b81[_0x216b81[_0x187bf3(0x2fd)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x216b81[_0x216b81[_0x187bf3(0x1ed)]=0x36b7]=_0x187bf3(0x1ed),_0x216b81[_0x216b81[_0x187bf3(0x1e4)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x216b81[_0x216b81['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x187bf3(0x335),_0x216b81[_0x216b81['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x216b81[_0x216b81['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x187bf3(0x368),_0x216b81[_0x216b81[_0x187bf3(0x47a)]=0x37dd]=_0x187bf3(0x47a),_0x216b81[_0x216b81[_0x187bf3(0x31a)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x216b81[_0x216b81[_0x187bf3(0x2bc)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x216b81[_0x216b81[_0x187bf3(0x2ec)]=0x3a9b]=_0x187bf3(0x2ec),_0x216b81[_0x216b81[_0x187bf3(0x403)]=0x3a9c]=_0x187bf3(0x403),_0x216b81[_0x216b81[_0x187bf3(0x3db)]=0x3a9d]=_0x187bf3(0x3db),_0x216b81[_0x216b81[_0x187bf3(0x37a)]=0x3a9e]=_0x187bf3(0x37a),_0x216b81[_0x216b81[_0x187bf3(0x253)]=0x3a9f]=_0x187bf3(0x253),_0x216b81[_0x216b81[_0x187bf3(0x1d3)]=0x3e81]=_0x187bf3(0x1d3),_0x216b81[_0x216b81[_0x187bf3(0x371)]=-0x1]=_0x187bf3(0x371),_0x216b81))(G||{});function Jt(_0x55d800){const _0x405cc4=_0x187bf3;var _0x1874c9,_0x353783;const _0x37a8a5=(_0x1874c9=_0x55d800['stageInfo'])==null?void 0x0:_0x1874c9[_0x405cc4(0x3ff)],_0x1cd684=((_0x353783=_0x55d800[_0x405cc4(0x28e)])==null?void 0x0:_0x353783[_0x405cc4(0x3a1)])||0x0;return _0x37a8a5===B[_0x405cc4(0x342)][_0x405cc4(0x3b9)]&&_0x1cd684>0x0;}function Zt(_0x30a17b){const _0x2674f1=_0x187bf3;return _0x30a17b[_0x2674f1(0x370)]===B[_0x2674f1(0x3f0)][_0x2674f1(0x3be)];}var Qt=Object[_0x187bf3(0x306)],es=(_0x11b5d0,_0x5ba5d8,_0xa68f46,_0x487a6a)=>{const _0x5146c8=_0x187bf3;for(var _0x482599=_0x487a6a>0x1?void 0x0:_0x487a6a?Qt(_0x5ba5d8,_0xa68f46):_0x5ba5d8,_0x46448f=_0x11b5d0[_0x5146c8(0x313)]-0x1,_0x3af92b;_0x46448f>=0x0;_0x46448f--)(_0x3af92b=_0x11b5d0[_0x46448f])&&(_0x482599=_0x3af92b(_0x482599)||_0x482599);return _0x482599;},L=(_0x26d176,_0x3725ed)=>(_0x579f13,_0x28e506)=>_0x3725ed(_0x579f13,_0x28e506,_0x26d176);const ts=_0x187bf3(0x3fc),ss='/universer-api/license/formula/limit/start',is='/universer-api/license/formula/limit/done';let ne=class extends a[_0x187bf3(0x3f5)]{constructor(_0x1a70c9,_0x47a36a,_0x12189d,_0x406d32,_0x5309c0,_0x408439,_0x922758){const _0x4a0c19=_0x187bf3;super(),_(this,_0x4a0c19(0x302),null),_(this,_0x4a0c19(0x48b),0x0),_(this,_0x4a0c19(0x388),0x0),_(this,'_taskIds',[]),_(this,_0x4a0c19(0x3e0),0x0),(this['_messageService']=_0x1a70c9,this[_0x4a0c19(0x26a)]=_0x47a36a,this[_0x4a0c19(0x294)]=_0x12189d,this[_0x4a0c19(0x3dc)]=_0x406d32,this[_0x4a0c19(0x382)]=_0x5309c0,this[_0x4a0c19(0x446)]=_0x408439,this[_0x4a0c19(0x34a)]=_0x922758,this[_0x4a0c19(0x21e)]());}[_0x187bf3(0x21e)](){const _0x34d4f1=_0x187bf3;this[_0x34d4f1(0x3d6)](this[_0x34d4f1(0x26a)][_0x34d4f1(0x3a9)]((_0x329a31,_0x4e2953)=>{const _0x145149=_0x34d4f1;var _0x266d84;if(_0x329a31['id']!==B[_0x145149(0x487)]['id'])return;const _0x15df93=_0x329a31[_0x145149(0x229)];if(!this[_0x145149(0x357)]((_0x266d84=_0x15df93[_0x145149(0x265)])!=null?_0x266d84:[]))return;if(!this[_0x145149(0x1e8)]())throw this['_checkAndWaitForCalculationPermission'](_0x329a31,_0x4e2953),this[_0x145149(0x214)](),new a['CanceledError']();})),this[_0x34d4f1(0x3d6)](this['_commandService']['onCommandExecuted']((_0x474387,_0x517d82)=>{const _0x3babc1=_0x34d4f1;if(_0x474387['id']!==B[_0x3babc1(0x494)]['id'])return;const _0x2de8c3=_0x474387[_0x3babc1(0x229)];if(Jt(_0x2de8c3)){const _0x5a0a25=a[_0x3babc1(0x33f)]();this[_0x3babc1(0x29d)][_0x3babc1(0x3d4)](_0x5a0a25),this[_0x3babc1(0x1fc)](_0x5a0a25);}else{if(Zt(_0x2de8c3)&&this[_0x3babc1(0x29d)][_0x3babc1(0x313)]>0x0){const _0x2a9a20=this[_0x3babc1(0x29d)][_0x3babc1(0x422)]();this['_releaseCalculationLimit'](_0x2a9a20);}}}));}[_0x187bf3(0x25d)](){const _0x3f2262=_0x187bf3;super[_0x3f2262(0x25d)](),this[_0x3f2262(0x3f4)](),this[_0x3f2262(0x29d)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x3f2262(0x3e0)]=0x0;}async[_0x187bf3(0x334)](_0x46e6e6,_0x4b1210){const _0x872b27=_0x187bf3;for(let _0x54d38e=0x0;_0x54d38e<0x1e;_0x54d38e++)try{if(await this[_0x872b27(0x1c6)](),this[_0x872b27(0x1e8)]()){this[_0x872b27(0x36c)](_0x46e6e6,_0x4b1210),this['_messageService'][_0x872b27(0x31b)]({'content':this[_0x872b27(0x34a)]['t'](_0x872b27(0x3f1)),'type':p[_0x872b27(0x468)]['Success']});return;}await new Promise(_0x2963d0=>{const _0x430984=_0x872b27;this[_0x430984(0x302)]=window['setTimeout'](_0x2963d0,0x3e8);});}catch(_0x31ba4c){this[_0x872b27(0x446)][_0x872b27(0x20b)](_0x31ba4c);}this[_0x872b27(0x3d3)]['show']({'content':this[_0x872b27(0x34a)]['t'](_0x872b27(0x466)),'type':p[_0x872b27(0x468)][_0x872b27(0x212)]});}[_0x187bf3(0x36c)](_0x3a04e3,_0x35099a){const _0xb1d8f1=_0x187bf3;try{this['_commandService']['executeCommand'](_0x3a04e3['id'],_0x3a04e3[_0xb1d8f1(0x229)],_0x35099a);}catch(_0x255389){this['_logService'][_0xb1d8f1(0x20b)](_0x255389);}}[_0x187bf3(0x261)](_0x35d9c3,_0x237496){const _0x23d87f=_0x187bf3;_0x237496<this[_0x23d87f(0x3e0)]||(this[_0x23d87f(0x3e0)]=_0x237496,this['_maxFormulaLimit']=Number[_0x23d87f(0x413)](_0x35d9c3['maxFormulaLimit']),this[_0x23d87f(0x388)]=Number[_0x23d87f(0x413)](_0x35d9c3[_0x23d87f(0x218)]));}async['_startCalculationLimit'](_0x4c9d0d){const _0x3e565f=_0x187bf3;var _0x933dfc,_0x1a4730;const _0x23b8a2=Date['now']();try{const _0x4d0ef1=((_0x933dfc=this[_0x3e565f(0x294)]['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x933dfc[_0x3e565f(0x1f6)])||ss,_0x5cd2bf=(await this[_0x3e565f(0x3dc)][_0x3e565f(0x268)](_0x4d0ef1,{'body':JSON[_0x3e565f(0x35d)]({'taskId':_0x4c9d0d})}))['body'];if(((_0x1a4730=_0x5cd2bf[_0x3e565f(0x20b)])==null?void 0x0:_0x1a4730['code'])!==G['OK'])return;this[_0x3e565f(0x261)](_0x5cd2bf['limitInfo'],_0x23b8a2);}catch(_0x2b767f){this[_0x3e565f(0x446)]['error'](_0x2b767f);}}async[_0x187bf3(0x1c6)](_0x2d7d6a){const _0x5599e2=_0x187bf3;var _0x4ce511,_0x413494;const _0x1bf56b=Date[_0x5599e2(0x3e4)]();try{const _0x5513af=((_0x4ce511=this[_0x5599e2(0x294)]['getConfig'](u[_0x5599e2(0x1ca)]))==null?void 0x0:_0x4ce511['getformulaLimitStatusUrl'])||ts,_0x45de8f=_0x2d7d6a?_0x5513af+_0x5599e2(0x36b)+encodeURIComponent(_0x2d7d6a):_0x5513af,_0x363ba9=(await this[_0x5599e2(0x3dc)][_0x5599e2(0x393)](_0x45de8f))[_0x5599e2(0x437)];if(((_0x413494=_0x363ba9['error'])==null?void 0x0:_0x413494[_0x5599e2(0x2cc)])!==G['OK'])return;this[_0x5599e2(0x261)](_0x363ba9[_0x5599e2(0x2af)],_0x1bf56b);}catch(_0x5cd863){this[_0x5599e2(0x446)]['error'](_0x5cd863);}}async[_0x187bf3(0x2d4)](_0x1eaf51){const _0x4bab8b=_0x187bf3;var _0x55aa82,_0x542a17;const _0x3172c5=Date[_0x4bab8b(0x3e4)]();try{const _0x480418=((_0x55aa82=this[_0x4bab8b(0x294)][_0x4bab8b(0x293)](u[_0x4bab8b(0x1ca)]))==null?void 0x0:_0x55aa82[_0x4bab8b(0x2c3)])||is,_0x28aa7d=(await this[_0x4bab8b(0x3dc)]['post'](_0x480418,{'body':JSON[_0x4bab8b(0x35d)]({'taskId':_0x1eaf51})}))['body'];if(((_0x542a17=_0x28aa7d[_0x4bab8b(0x20b)])==null?void 0x0:_0x542a17[_0x4bab8b(0x2cc)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x28aa7d['limitInfo'],_0x3172c5);}catch(_0x4f5309){this[_0x4bab8b(0x446)][_0x4bab8b(0x20b)](_0x4f5309);}}['_checkCalculationAvailable'](){const _0x332a22=_0x187bf3;return this[_0x332a22(0x48b)]===0x0?!0x0:this[_0x332a22(0x48b)]-this[_0x332a22(0x388)]>0x0;}['_clearPolling'](){const _0x188368=_0x187bf3;this['_pollingInterval']&&(clearTimeout(this[_0x188368(0x302)]),this[_0x188368(0x302)]=null);}[_0x187bf3(0x214)](){const _0x3840f=_0x187bf3;this[_0x3840f(0x3d3)]['show']({'content':this[_0x3840f(0x34a)]['t'](_0x3840f(0x385)),'type':p[_0x3840f(0x468)][_0x3840f(0x2ee)]});}[_0x187bf3(0x357)](_0x1369f8){const _0x14c4b1=_0x187bf3;for(const _0x4233b3 of _0x1369f8){const {unitId:_0x1d8ea4,sheetId:_0x3c3bca,range:_0x5a36d3}=_0x4233b3,_0x223b0a=this[_0x14c4b1(0x382)][_0x14c4b1(0x27e)](_0x1d8ea4);if(!_0x223b0a)continue;const _0x1d7d0c=_0x223b0a[_0x14c4b1(0x260)](_0x3c3bca);if(!_0x1d7d0c)continue;const _0x2b6d25=_0x1d7d0c[_0x14c4b1(0x269)]();for(let _0x51d8ec=_0x5a36d3[_0x14c4b1(0x220)];_0x51d8ec<=_0x5a36d3[_0x14c4b1(0x2a4)];_0x51d8ec++)for(let _0x5a6831=_0x5a36d3[_0x14c4b1(0x2d0)];_0x5a6831<=_0x5a36d3[_0x14c4b1(0x49c)];_0x5a6831++){const _0x239a86=_0x2b6d25['getValue'](_0x51d8ec,_0x5a6831);if(_0x239a86&&(a[_0x14c4b1(0x31d)](_0x239a86['f'])||a[_0x14c4b1(0x303)](_0x239a86['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x187bf3(0x3a0)](O[_0x187bf3(0x1ce)])),L(0x1,a[_0x187bf3(0x1eb)]),L(0x2,a[_0x187bf3(0x30b)]),L(0x3,a[_0x187bf3(0x3a0)](x['HTTPService'])),L(0x4,a['IUniverInstanceService']),L(0x5,a[_0x187bf3(0x361)]),L(0x6,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x363)]))],ne);var ns=Object[_0x187bf3(0x306)],rs=(_0x2a1650,_0x243c02,_0x160ee4,_0x25b636)=>{const _0x3e664b=_0x187bf3;for(var _0x148217=_0x25b636>0x1?void 0x0:_0x25b636?ns(_0x243c02,_0x160ee4):_0x243c02,_0x2337cc=_0x2a1650[_0x3e664b(0x313)]-0x1,_0x3fddb;_0x2337cc>=0x0;_0x2337cc--)(_0x3fddb=_0x2a1650[_0x2337cc])&&(_0x148217=_0x3fddb(_0x148217)||_0x148217);return _0x148217;},Se=(_0x375b82,_0x21d808)=>(_0x5b1098,_0x570dbf)=>_0x21d808(_0x5b1098,_0x570dbf,_0x375b82);let Te=class extends a[_0x187bf3(0x3f5)]{constructor(_0x30a570,_0xec1dcd,_0x5e0a3a){const _0x30362a=_0x187bf3;super(),_(this,_0x30362a(0x208),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x30362a(0x2a0),!0x1),(this[_0x30362a(0x294)]=_0x30a570,this['_localStorageService']=_0xec1dcd,this[_0x30362a(0x1e5)]=_0x5e0a3a);}[_0x187bf3(0x2ef)](){const _0xa46f6b=_0x187bf3;this[_0xa46f6b(0x2a0)]=!0x0;}[_0x187bf3(0x473)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5c36f7=_0x187bf3;return this[_0x5c36f7(0x25e)];}[_0x187bf3(0x25d)](){const _0x5d4e9d=_0x187bf3;this[_0x5d4e9d(0x3c9)]()['then'](()=>super[_0x5d4e9d(0x25d)]());}async[_0x187bf3(0x355)](_0x1aec15){const _0x568297=_0x187bf3;return this['_disabled']?null:this[_0x568297(0x1c8)][_0x568297(0x24c)](u[_0x568297(0x34d)](_0x1aec15));}async[_0x187bf3(0x479)](_0x18cfaa,_0x2482ff){const _0xf67320=_0x187bf3;return!!this[_0xf67320(0x1c8)][_0xf67320(0x2db)](_0x18cfaa,_0x2482ff);}[_0x187bf3(0x491)](_0x21de73,_0x46fc1b,_0x53c20b,_0x879e3c){const _0x2cee91=_0x187bf3,_0x1e7715=this[_0x2cee91(0x1e5)][_0x2cee91(0x483)](_0x21de73);this[_0x2cee91(0x208)][_0x2cee91(0x1f9)](_0x21de73,{'unitID':_0x21de73,'type':_0x46fc1b,'awaitingChangeset':_0x53c20b,'mutations':_0x879e3c,'rev':_0x1e7715}),this['_saveTaskMap']['has'](_0x21de73)||this[_0x2cee91(0x304)](_0x21de73);}['_scheduleSaving'](_0x498a2a){const _0x58a88d=_0x187bf3,_0x26769a=this['_getSaveTimeout']();_0x26769a===0x0?this[_0x58a88d(0x20c)](_0x498a2a):this[_0x58a88d(0x25e)][_0x58a88d(0x1f9)](_0x498a2a,setTimeout(()=>this['_saveCache'](_0x498a2a),_0x26769a));}[_0x187bf3(0x21d)](){const _0x31d7d1=_0x187bf3;var _0x3f3d6c;return(_0x3f3d6c=this['_configService'][_0x31d7d1(0x293)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3f3d6c:u[_0x31d7d1(0x278)];}[_0x187bf3(0x20c)](_0x1c4032){const _0x11c21a=_0x187bf3,_0x57cd8b=this['_saveTaskMap'][_0x11c21a(0x393)](_0x1c4032);return _0x57cd8b!==void 0x0&&window[_0x11c21a(0x49a)](_0x57cd8b),this[_0x11c21a(0x1c8)]['setItem'](u[_0x11c21a(0x34d)](_0x1c4032),this[_0x11c21a(0x208)][_0x11c21a(0x393)](_0x1c4032))['then'](()=>this['_saveTaskMap'][_0x11c21a(0x493)](_0x1c4032));}async[_0x187bf3(0x3c9)](){const _0x8ed92c=_0x187bf3,_0x4f3ae9=[];this[_0x8ed92c(0x25e)][_0x8ed92c(0x35c)]((_0x46d18e,_0x3a7f37)=>{const _0x571aaa=_0x8ed92c;window[_0x571aaa(0x49a)](_0x46d18e),_0x4f3ae9[_0x571aaa(0x3d4)](this[_0x571aaa(0x20c)](_0x3a7f37)[_0x571aaa(0x2be)](()=>{const _0x4fc13f=_0x571aaa;this[_0x4fc13f(0x25e)][_0x4fc13f(0x493)](_0x3a7f37);}));}),await Promise[_0x8ed92c(0x3c5)](_0x4f3ae9);}};Te=rs([Se(0x0,a[_0x187bf3(0x30b)]),Se(0x1,a[_0x187bf3(0x362)]),Se(0x2,a[_0x187bf3(0x3a0)](g['RevisionService']))],Te);class ke extends a[_0x187bf3(0x31f)]{constructor(){const _0x12ca1e=_0x187bf3;super(),_(this,'urlChange$'),this[_0x12ca1e(0x1de)]=I[_0x12ca1e(0x412)](window,'popstate')[_0x12ca1e(0x467)](I['takeUntil'](this['dispose$']),I[_0x12ca1e(0x455)](0x1),I[_0x12ca1e(0x45a)](void 0x0));}[_0x187bf3(0x451)](_0x241fb4,_0x49251b,_0x52d488=!0x1){const _0x24eea0=_0x187bf3,_0x29f69a=new URL(window[_0x24eea0(0x444)]['href']);_0x29f69a[_0x24eea0(0x484)][_0x24eea0(0x1f9)](_0x241fb4,_0x49251b),_0x52d488?window['history']['replaceState']('','',_0x29f69a['toString']()):window[_0x24eea0(0x41e)][_0x24eea0(0x223)]('','',_0x29f69a['toString']());}['removeParam'](_0x651150,_0x4cb0b2=!0x1){const _0x3b8206=_0x187bf3,_0x217d15=new URL(window[_0x3b8206(0x444)][_0x3b8206(0x433)]);_0x217d15['searchParams'][_0x3b8206(0x493)](_0x651150),_0x4cb0b2?window[_0x3b8206(0x41e)][_0x3b8206(0x23d)]('','',_0x217d15[_0x3b8206(0x224)]()):window[_0x3b8206(0x41e)][_0x3b8206(0x223)]('','',_0x217d15['toString']());}[_0x187bf3(0x341)](_0xdcc6e7){const _0x1550a6=_0x187bf3;var _0x45f77e;return(_0x45f77e=new URL(window[_0x1550a6(0x444)][_0x1550a6(0x433)])[_0x1550a6(0x484)]['get'](_0xdcc6e7))!=null?_0x45f77e:void 0x0;}}var os=Object['defineProperty'],as=Object[_0x187bf3(0x306)],cs=(_0x5a254c,_0x5c85ab,_0x42b1b6)=>_0x5c85ab in _0x5a254c?os(_0x5a254c,_0x5c85ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42b1b6}):_0x5a254c[_0x5c85ab]=_0x42b1b6,ls=(_0x403fe6,_0x3d4e48,_0x77292d,_0x56df28)=>{const _0xdc7763=_0x187bf3;for(var _0x18395f=_0x56df28>0x1?void 0x0:_0x56df28?as(_0x3d4e48,_0x77292d):_0x3d4e48,_0x1d0969=_0x403fe6[_0xdc7763(0x313)]-0x1,_0x4b72f0;_0x1d0969>=0x0;_0x1d0969--)(_0x4b72f0=_0x403fe6[_0x1d0969])&&(_0x18395f=_0x4b72f0(_0x18395f)||_0x18395f);return _0x18395f;},de=(_0xfc965d,_0x68328d)=>(_0x1c054f,_0x2d3054)=>_0x68328d(_0x1c054f,_0x2d3054,_0xfc965d),_s=(_0x17c0a8,_0x1e2684,_0x3fdac6)=>cs(_0x17c0a8,_0x1e2684+'',_0x3fdac6);const hs='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x187bf3(0x282)]=class extends a[_0x187bf3(0x3f3)]{constructor(_0x29f2bf=Me,_0x1d2743,_0x4c965d,_0x585fc1){const _0x878538=_0x187bf3;super(),this[_0x878538(0x40d)]=_0x29f2bf,this['_renderManagerService']=_0x1d2743,this['_injector']=_0x4c965d,this['_configService']=_0x585fc1;const {..._0x348ef0}=a[_0x878538(0x352)]({},Me,this['_config']);this[_0x878538(0x294)]['setConfig'](Yt,_0x348ef0);}[_0x187bf3(0x29a)](){const _0x1b7a73=_0x187bf3;this['_registerDependencies'](),this[_0x1b7a73(0x207)]();}[_0x187bf3(0x456)](){const _0x5d0562=_0x187bf3;this[_0x5d0562(0x25b)]();}[_0x187bf3(0x1d0)](){const _0x163855=_0x187bf3;var _0x1ce4d2;const _0x534927=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x163855(0x32e)],{'useClass':x[_0x163855(0x41f)]}],[u[_0x163855(0x2b4)],{'useClass':Te}],[exports[_0x163855(0x366)]],[ie],[Z],[F],[me],[exports[_0x163855(0x450)]]];this[_0x163855(0x40d)][_0x163855(0x2b0)]&&_0x534927[_0x163855(0x3d4)]([Q]),a['registerDependencies'](this[_0x163855(0x3cc)],a[_0x163855(0x1c7)](_0x534927,(_0x1ce4d2=this[_0x163855(0x40d)])==null?void 0x0:_0x1ce4d2[_0x163855(0x1e2)]));}['_registerRenderDependencies'](){const _0x5bb2ca=_0x187bf3;this[_0x5bb2ca(0x3d6)](this[_0x5bb2ca(0x28c)]['registerRenderModule'](a['UniverInstanceType'][_0x5bb2ca(0x42c)],[Ee])),this[_0x5bb2ca(0x3d6)](this[_0x5bb2ca(0x28c)][_0x5bb2ca(0x2f0)](a[_0x5bb2ca(0x2cb)][_0x5bb2ca(0x3f8)],[Ce]));}[_0x187bf3(0x207)](){const _0x25fe7b=_0x187bf3;a[_0x25fe7b(0x329)](this['_injector'],[[F],[exports[_0x25fe7b(0x366)]],[ie],[Z],[exports[_0x25fe7b(0x450)]],[ne]]),this['_config']['enableFrontendLog']&&a['touchDependencies'](this[_0x25fe7b(0x3cc)],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],_0x187bf3(0x475),hs),exports['UniverCollaborationClientUIPlugin']=ls([a[_0x187bf3(0x25c)](u['UniverCollaborationClientPlugin']),de(0x1,C[_0x187bf3(0x2d6)]),de(0x2,a[_0x187bf3(0x3a0)](a[_0x187bf3(0x46f)])),de(0x3,a[_0x187bf3(0x30b)])],exports['UniverCollaborationClientUIPlugin']);var us=Object['getOwnPropertyDescriptor'],Is=(_0x238dff,_0x23e788,_0x389595,_0x4e0775)=>{for(var _0x373477=_0x4e0775>0x1?void 0x0:_0x4e0775?us(_0x23e788,_0x389595):_0x23e788,_0x47b16c=_0x238dff['length']-0x1,_0x224b3f;_0x47b16c>=0x0;_0x47b16c--)(_0x224b3f=_0x238dff[_0x47b16c])&&(_0x373477=_0x224b3f(_0x373477)||_0x373477);return _0x373477;},W=(_0x4b38fb,_0x84066)=>(_0xb2626,_0x37031c)=>_0x84066(_0xb2626,_0x37031c,_0x4b38fb);exports[_0x187bf3(0x452)]=class extends u[_0x187bf3(0x20d)]{constructor(_0x1ff875,_0xa1f36f,_0x46f822,_0x3d5ded,_0x296f88){super(_0x1ff875,_0xa1f36f,_0x46f822,_0x3d5ded,_0x296f88);}async['createSocket'](_0x13e3f6){const _0x1656b6=_0x187bf3,_0x461c3a=await this[_0x1656b6(0x480)](),_0x3a45b3=this[_0x1656b6(0x364)](_0x13e3f6,_0x461c3a);return this['_doCreateSocket'](_0x3a45b3);}[_0x187bf3(0x364)](_0x589921,_0x5020c5){const _0x2ae7e7=_0x187bf3,_0x15a4c3=typeof window>'u'?new URL(_0x589921):new URL(_0x589921,window[_0x2ae7e7(0x444)][_0x2ae7e7(0x416)]);_0x15a4c3[_0x2ae7e7(0x484)]['set'](_0x2ae7e7(0x1cf),_0x5020c5);const _0xe8c6d2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2ae7e7(0x47e)]);return _0xe8c6d2[_0x2ae7e7(0x393)]('runId')&&_0x15a4c3[_0x2ae7e7(0x484)]['set'](_0x2ae7e7(0x3ec),_0xe8c6d2['get'](_0x2ae7e7(0x3ec))),_0x15a4c3[_0x2ae7e7(0x224)]();}async['_getSessionTicket'](){const _0xfc1802=_0x187bf3;var _0xbaba02,_0x2fb2c6,_0x21a14a;const _0x1be95d=this[_0xfc1802(0x294)][_0xfc1802(0x293)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x361cb8=(_0xbaba02=_0x1be95d==null?void 0x0:_0x1be95d[_0xfc1802(0x1d2)])!=null?_0xbaba02:u[_0xfc1802(0x398)];return(_0x21a14a=(_0x2fb2c6=(await this[_0xfc1802(0x3dc)]['get'](_0x361cb8,{'headers':{'Content-Type':_0xfc1802(0x219)}}))[_0xfc1802(0x437)])==null?void 0x0:_0x2fb2c6[_0xfc1802(0x3c8)])!=null?_0x21a14a:'';}},exports['BrowserCollaborationSocketService']=Is([W(0x0,a['Inject'](a[_0x187bf3(0x46f)])),W(0x1,a[_0x187bf3(0x3a0)](x['HTTPService'])),W(0x2,a['IConfigService']),W(0x3,a[_0x187bf3(0x361)]),W(0x4,g[_0x187bf3(0x215)])],exports[_0x187bf3(0x452)]);var Ss=Object[_0x187bf3(0x306)],ds=(_0x3b255d,_0x26f64d,_0x76c09c,_0x2ede1b)=>{const _0x188325=_0x187bf3;for(var _0x69b2a8=_0x2ede1b>0x1?void 0x0:_0x2ede1b?Ss(_0x26f64d,_0x76c09c):_0x26f64d,_0x119aa9=_0x3b255d[_0x188325(0x313)]-0x1,_0xe16c42;_0x119aa9>=0x0;_0x119aa9--)(_0xe16c42=_0x3b255d[_0x119aa9])&&(_0x69b2a8=_0xe16c42(_0x69b2a8)||_0x69b2a8);return _0x69b2a8;},fe=(_0x1fcb99,_0x5173ab)=>(_0x44ecea,_0x2553d0)=>_0x5173ab(_0x44ecea,_0x2553d0,_0x1fcb99);exports[_0x187bf3(0x2ff)]=class extends a['Disposable']{constructor(_0x400f2e,_0x6cb703,_0x4368c6){const _0x374613=_0x187bf3;super(),this[_0x374613(0x24a)]=_0x400f2e,this['_httpService']=_0x6cb703,this[_0x374613(0x294)]=_0x4368c6;}async[_0x187bf3(0x257)](_0x177aa4,_0x12d2b0,_0x3c66a3,..._0x47e252){const _0x5b331f=_0x187bf3;var _0x1a109a,_0x114f26,_0x4cf00e,_0x20a165;const _0x4b5513=this['_instanceService'][_0x5b331f(0x421)]();if(!_0x4b5513)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x508539=((_0x1a109a=this[_0x5b331f(0x294)][_0x5b331f(0x293)](u[_0x5b331f(0x288)]))!=null?_0x1a109a:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x177aa4+_0x5b331f(0x38e)+_0x12d2b0,_0x23d3ee=new URL(window['location'][_0x5b331f(0x433)]),_0x71987d={'scriptId':_0x177aa4,'runId':(_0x114f26=_0x23d3ee[_0x5b331f(0x484)][_0x5b331f(0x393)](_0x5b331f(0x3ec)))!=null?_0x114f26:'','function':_0x12d2b0,'unitId':_0x4b5513[_0x5b331f(0x36a)](),'argsOfFunction':JSON[_0x5b331f(0x35d)](_0x47e252),'invokeId':(_0x4cf00e=_0x3c66a3[_0x5b331f(0x277)])!=null?_0x4cf00e:'','executionId':(_0x20a165=_0x3c66a3['executionId'])!=null?_0x20a165:''};try{const _0x45f731=await this[_0x5b331f(0x3dc)][_0x5b331f(0x268)](_0x508539,{'body':_0x71987d});return _0x45f731[_0x5b331f(0x437)]['error']&&_0x45f731[_0x5b331f(0x437)][_0x5b331f(0x20b)][_0x5b331f(0x2cc)]!==G['OK']?_0x5b331f(0x283):_0x45f731[_0x5b331f(0x437)]['result'];}catch{return _0x5b331f(0x283);}}},exports[_0x187bf3(0x2ff)]=ds([fe(0x0,a[_0x187bf3(0x1e3)]),fe(0x1,a[_0x187bf3(0x3a0)](x[_0x187bf3(0x2ae)])),fe(0x2,a[_0x187bf3(0x30b)])],exports['RemoteUniscriptService']);const we=0x7530,ye=_0x187bf3(0x2cd);class fs extends a['Disposable']{constructor(){const _0x4d0e66=_0x187bf3;super(),_(this,_0x4d0e66(0x340),a['generateRandomId']()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4d0e66(0x31e),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4d0e66(0x1db),new Map()),_(this,_0x4d0e66(0x38c),new Map()),this['_init']();}[_0x187bf3(0x25d)](){const _0x224393=_0x187bf3;super[_0x224393(0x25d)](),this[_0x224393(0x1db)][_0x224393(0x35c)]((_0x442e11,_0x37e504)=>this[_0x224393(0x1fb)](_0x37e504)),this[_0x224393(0x443)]&&window[_0x224393(0x3b1)](this['_heartbeatTimer']);}[_0x187bf3(0x3bd)](_0x45eaf6){const _0x335fa3=_0x187bf3;return this[_0x335fa3(0x30c)](_0x45eaf6)[_0x335fa3(0x467)](I[_0x335fa3(0x2b3)]());}[_0x187bf3(0x358)](_0x3a5180){const _0x4bb5f3=_0x187bf3;this['_selfUnitIDs'][_0x4bb5f3(0x44b)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4bb5f3(0x234)](_0x3a5180),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3a5180],'isForwarded':!0x1});}[_0x187bf3(0x4a2)](_0x32bd33){const _0x51ed3d=_0x187bf3;this[_0x51ed3d(0x222)][_0x51ed3d(0x493)](_0x32bd33),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x51ed3d(0x3b1)](this['_heartbeatTimer']);}[_0x187bf3(0x20a)](){const _0x225136=_0x187bf3;this['disposeWithMe'](a[_0x225136(0x2fe)](I[_0x225136(0x412)](window,_0x225136(0x246))[_0x225136(0x320)](_0x45b880=>{const _0x42b7b5=_0x225136;if(_0x45b880[_0x42b7b5(0x203)]!==ye||!_0x45b880[_0x42b7b5(0x37d)])return;const _0x2c8f80=JSON[_0x42b7b5(0x438)](_0x45b880[_0x42b7b5(0x37d)]);this[_0x42b7b5(0x482)](_0x2c8f80);}))),window[_0x225136(0x3c4)](_0x225136(0x325),()=>this['_send']({'type':0x1,'memberID':this[_0x225136(0x340)],'unitIDs':Array[_0x225136(0x45e)](this['_selfUnitIDs'])}));}[_0x187bf3(0x482)](_0x3cdfee){const _0x2caac8=_0x187bf3;switch(_0x3cdfee['type']){case 0x0:this['_handleJoinEvent'](_0x3cdfee);break;case 0x1:this[_0x2caac8(0x485)](_0x3cdfee);break;case 0x2:this[_0x2caac8(0x264)](_0x3cdfee);break;}}[_0x187bf3(0x242)](_0x49bf15){const _0x2ab1f8=_0x187bf3,{unitIDs:_0x450eaf,memberID:_0x40c6e3,isForwarded:_0x5f468b}=_0x49bf15;_0x450eaf[_0x2ab1f8(0x35c)](_0x193f1f=>{const _0x58baf6=_0x2ab1f8;if(!_0x5f468b&&this[_0x58baf6(0x31e)][_0x58baf6(0x2eb)](_0x193f1f)&&this[_0x58baf6(0x30c)](_0x193f1f)[_0x58baf6(0x33d)](u[_0x58baf6(0x29e)]['OTHER_CLIENTS_EDITING']),!this[_0x58baf6(0x31e)]['has'](_0x193f1f)||!this['_unitOnClients'][_0x58baf6(0x393)](_0x193f1f)[_0x58baf6(0x2eb)](_0x40c6e3)){const _0x3bda35=this[_0x58baf6(0x31e)][_0x58baf6(0x393)](_0x193f1f)||new Set();_0x3bda35[_0x58baf6(0x234)](_0x40c6e3),this[_0x58baf6(0x31e)]['set'](_0x193f1f,_0x3bda35),this[_0x58baf6(0x22b)](_0x40c6e3);}}),_0x5f468b||this[_0x2ab1f8(0x3a2)]({'type':0x0,'memberID':this[_0x2ab1f8(0x340)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2145b1){const _0x26c4e8=_0x187bf3;this[_0x26c4e8(0x1fb)](_0x2145b1);const _0x5edb1f=window[_0x26c4e8(0x3dd)](()=>{const _0x26ada1=_0x26c4e8;this[_0x26ada1(0x31e)][_0x26ada1(0x35c)](_0x3918d9=>{_0x3918d9['delete'](_0x2145b1);});},we*0x2);this[_0x26c4e8(0x1db)][_0x26c4e8(0x1f9)](_0x2145b1,_0x5edb1f);}[_0x187bf3(0x1fb)](_0x4821d4){const _0x4c7a96=_0x187bf3;if(this[_0x4c7a96(0x1db)][_0x4c7a96(0x2eb)](_0x4821d4)){const _0x41f587=this[_0x4c7a96(0x1db)][_0x4c7a96(0x393)](_0x4821d4);_0x41f587&&window[_0x4c7a96(0x49a)](_0x41f587),this[_0x4c7a96(0x1db)][_0x4c7a96(0x1f9)](_0x4821d4,null);}}[_0x187bf3(0x485)](_0x459fc7){const _0x25417b=_0x187bf3,{memberID:_0x2e1ca8,unitIDs:_0x1ba21a}=_0x459fc7;_0x1ba21a[_0x25417b(0x35c)](_0x5b0606=>{const _0xe713b1=_0x25417b;var _0x2bdc15;const _0x41d9dd=this[_0xe713b1(0x31e)]['get'](_0x5b0606);_0x41d9dd&&(_0x41d9dd[_0xe713b1(0x493)](_0x2e1ca8),(_0x2bdc15=this[_0xe713b1(0x30c)](_0x5b0606))==null||_0x2bdc15[_0xe713b1(0x33d)](_0x41d9dd[_0xe713b1(0x44b)]===0x0?u[_0xe713b1(0x29e)]['NO_OTHER_CLIENTS_EDITING']:u[_0xe713b1(0x29e)][_0xe713b1(0x3ae)]));}),this['_removeClearOtherTimer'](_0x2e1ca8);}['_handleHeartbeatEvent'](_0x4a6fc6){const _0x3303cc=_0x187bf3;this['_scheduleClearOtherTimer'](_0x4a6fc6[_0x3303cc(0x359)]);}[_0x187bf3(0x3a2)](_0x444359){const _0x420b0a=_0x187bf3;localStorage[_0x420b0a(0x2db)](ye,JSON[_0x420b0a(0x35d)](_0x444359));}['_scheduleHeartbeat'](){const _0x2aed35=_0x187bf3;this[_0x2aed35(0x443)]=window[_0x2aed35(0x354)](()=>{const _0x2c662d=_0x2aed35;this[_0x2c662d(0x3a2)]({'type':0x2,'memberID':this[_0x2c662d(0x340)]});},we);}[_0x187bf3(0x30c)](_0x360988){const _0x3d68b2=_0x187bf3;return this[_0x3d68b2(0x38c)][_0x3d68b2(0x2eb)](_0x360988)||this[_0x3d68b2(0x38c)]['set'](_0x360988,new I[(_0x3d68b2(0x1f1))](u[_0x3d68b2(0x29e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d68b2(0x38c)][_0x3d68b2(0x393)](_0x360988);}}exports['IURLService']=Oe,exports[_0x187bf3(0x37f)]=je,exports[_0x187bf3(0x3f2)]=fs,exports[_0x187bf3(0x210)]=ke;
|