@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5b51(){const _0x27908c=['debounceTime','roomMembers','jiqing.500','@univerjs/design','random','_context','docStateChange$','REDEMPTION_INVALID_CODE','_startDocCollabCursor','split','getCurrentSelections','ISnapshotServerService','_name','transformIMECache','0\x200\x2017\x2016','addClipboardHook','getStateCache','filter','_transformService','ENTITLE_REPORT_LIMIT_EXCEED','_handleHover','CLOSE_ROOM','labelPosition','message','registerDependencies','_scheduleSaving','2126124eowpJG','collaboration-client-ui.config','forwardRef','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FromArray','OffLineIcon','unhandledrejection','addObject','_lastPointer','_clearOtherTimers','ONLINE','_setupSubUnitSync','translate(.97)','_initEntityListener','PERMISSION_DENIED','InsertRowCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','_memberService','DEFAULT_WS_SESSION_TICKET_URL','_assignedColors','MOBILE_VERIFY_CODE_MISMATCH','Rect','totalFormulasToCalculate','get','clearInterval','registerComponent','debug','WebURLService','getColor','_removeCollabCursors','stageInfo','UNAUTHENTICATED','history','trim','DeleteRangeMoveLeftCommandId','fill','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collabStatus.synced','currentSkeleton$','permission.content','?taskId=','endRow','[LogService\x20Error]:\x20','DesktopCollaborationStatusDisplayController','xlink:href','useDependency','_initCommandInterceptor','executionId','clearTimeout','map','switchMap','_initResize','ENTITLE_NEED_BILLING_ADDRESS','_updateLocalCursor','USER_IS_ANONYMOUS','_logService','CollaborationUIEventService','getActiveRange','Optional','setActiveRange','_clearPolling','result','getFocusedUnit','collaboration.offline-data-not-saved','TOO_MANY_REQUESTS','SHEET_VIEWPORT_KEY','_hover','10EdaxJZ','1prVsIK','transformMutation','_univerInstanceService','\x20at\x20','connectInjector','getMember','string','PAYMENT_CHANNEL_NOT_SUPPORT','assign','_backgroundColor','from','TEXT','getSkeleton','SessionStatus','CanceledError','MUTATION','roomMembers$','Tooltip','round','getOwnPropertyDescriptor','_collabCursorController','saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','BrowserCollaborationSocketService','Error','INVALID_INVITE_CODE','jsx','_initUserListener','unitId','TEXT_RANGE_LAYER_INDEX','@univerjs/sheets-ui','LICENSE_IMPORT_SIZE_EXCEEDED','has','width','/universer-api/license/formula/limit/done','_onCursorUpdate','_initUnhandledRejectionListener','doc.mutation.rich-text-editing','EMAIL_VERIFY_CODE_MISMATCH','_collabSessionService','skeleton','EMAIL_HAS_BEEN_BOUND','2440536hmFgPP','enableLocalCache','_initStatusComponent','_onCursorDelete','addObjects','activeSheet$','mask','Inject','collabStatus.syncing','_updateSubUnitFromURLParams','_notificationService','touchDependencies','_dataLoaderService','status$','UniverDocs','subUnitId','getCurrent','pipe','UniverProCollaborationClient','onRendered','UPDATE_CURSOR','isFormulaString','memberID','DocSkeletonManagerService','Disposable','ITransformService','getViewport','UnitStatus','deepClone','m1Prime','SUCCESS','enableFrontendLog','SetTextSelectionsOperation','JOIN_ROOM_FAILED','_revisionService','executeCommand','IURLService','ISocketService','set','_cachedData','getAncestorScale','storage','setConfig','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CONNECTOR_DATA_TOO_LARGE','RemoveColCommandId','toString','defIds','none','_sheetSkeletonManagerService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','purple.300','_handleLeaveEvent','_checkCalculationAvailable','sessionTicket','WebBrowserSingleActiveUnitService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_ASYNCIO_CANCELLED','CollaborationController','defineProperty','getTypeOfUnitAdded$','Injector','url(#$1','_initDependencies','entityInit$','_hovered','white','LOCAL_CACHE_INTERVAL_KEY','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_memberID','@univerjs/drawing','event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cursors','_lastResponseTimestamp','CONFLICT','_docClipboardService','_saveTaskMap','dispose$','pushState','REDEMPTION_CODE_HAS_BEEN_CREATED','_localCacheService','USER_NOT_INVITED_CODE','collabStatus.fetchMiss','blue.400','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCellPositionByOffset','_transformUndoRedoStack','_init','ENSURE_SNAPSHOT_EXECUTION','collabStatus.notCollab','size','NOT_FOUND','then','_handleJoinEvent','Warning','_syncEditingCollabCursorService','createSocket','react','_session','save','flatMap','OTHER_CLIENTS_EDITING','permission.title','length','entries','range','@univerjs/sheets','_unitStatus','APPLY_REVISION_CONFILICT','startRow','WebSocketService','CollaborationDataLoaderController','DATA_SOURCE_TOO_LARGE','replace','_render','_color','APPLY_NON_SEQUENTIAL_REVISION','_drawAnchor','_drawTextRange','fromEvent','UniverCore','runRefRangeMutations','ENTITLE_DUP_SUBSCRIPTION','AWAITING_WITH_PENDING','_docSyncEditingCollabCursorService','getSheetObject','Rectangle','exports','/run/','getColorFromTheme','urlChange$','getRangePointData','_uploadLog','currentColor','getUnitStatus$','_toggleOnline','addHandlerCallback','REDEMPTION_CODE_INACTIVE','_startSheetCollabCursor','off-line-icon_clip0_910_343','_pollingInterval','USERS_LEAVE','editingUnit','@univerjs/core','symbol','cursorInfo$','setShapeProps','DOC_RANGE_TYPE','Plugin','fillText','color','collab-text-range-','Module','Workbook','removeEventListener','_send','actions','_getSheetObject','dirtyRanges','registerRenderModule','uni.network.url-service','_cursorInfo$','_refRangeService','getOffsetConfig','onLocalMutation','backgroundColor','url(#off-line-icon_clip0_910_343)','_initStatusListener','engine','displayName','MOBILE_HAS_BEEN_BOUND','endColumn','UniverSheets','@univerjs-pro/collaboration','_toggleOffline','body','_transformHistoryAndStateStack','UNIVER_SHEET','unit','jsxs','measureText','complete','collabStatus.offline','INVITE_CODE_ALREADY_BOUND','_configService','top','dispose','_refreshCollabCursors','init','isTransformMutationFailure','@univerjs/docs','PY_RUNTIME_SCRIPT_ERROR','_instanceService','@univerjs/engine-render','_localStorageService','merge','useRef','Vector2','@univerjs/docs-ui','ENTITLE_CHAT_LIMIT_EXCEED','ICommandService','ALREADY_EXISTS','_online','7801227xjBmvB','_releaseCalculationLimit','setParam','debounce','handleIRemoveRow','createInstance','amd','ENTITLE_USE_COUPON_NOT_1ST_TRADE','colno','REDEMPTION_USER_NOT_ELIGIBLE','_startCalculationLimit','onPointerMove$','createIdentifier','params','black','idSuffix','getTypeOfUnitDisposed$','_shapes','ENTITLE_INVALID_COUPON_CODE','newValue','_getSessionTicket','_disabled','getMemberID','redoState','[CollaborationDataLoaderController]','useCallback','DocSelectionManagerService','font','_range','/universer-api/license/formula/limit/start','triggerDblclick','REDEMPTION_CODE_NOT_STARTED','YUUMI_ALL_TABLES_IS_INVALID','ILocalCacheService','fillRule','SheetSkeletonManagerService','handleIRemoveCol','syncEditingCollabCursor','clipPath','assignAColorForMemberID','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED','disposeWithMe','_applyCommand','distinctUntilChanged','_scene','UNIVER_DOC','push','fromEventSubject','Subject','ILogService','focused$','FormulaExecutedStateType','_monkeyPatchLogService','_textBubble','react/jsx-runtime','drawWith','toStringTag','NOT_COLLAB','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','path','BehaviorSubject','removeParam','saveImage','subscribeEvent','isEditing','getCollabCursors$','height','_checkAndWaitForCalculationPermission','tag','updateOfflineData','transformRemoteChangeset','MessageType','row','whenReady','runId','getCurrentUnitForType','_initWindowErrorListener','IUniverInstanceService','@univerjs/network','toDisposable','_themeService','yellow.400','_renderManagerService','error','_entities','stage','setUndoRedoMutationParamsCache','collaboration.closeRoom','CollaborationEvent','ENTITLE_COUPON_USED_UP','collabStatus.conflict','getRenderById','UniverDrawing','selections','ENTITLE_CAN_NOT_BUY_LOWER_OTP','COMPLETION_FINISHED','collabCursorState$','with','subscribe','RemoteUniscriptService','_colorIndex','NodePositionConvertToCursor','asObservable','_eventUnsubscribe','SNAPSHOT_INVALID_SNAPSHOT','setItem','SheetCollabCursorShape','_updateCollabCursors','getItem','_unitOnClients','clsx','addEventListener','_labelPosition','transformStateCache','univer-flex\x20univer-items-center','UniverInstanceType','catch','mergeOverrideWithDependencies','location','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isTransformMutationsWithChangesetSuccess','SetWorksheetActivateCommand','_currentUsage','CollaborationSocketService','_hideTimer','_updateURLWithCurrentState','LOGIN_FAILED','_urlService','parseInt','loadUnit','_httpService','delete','red.300','sheetID','YUUMI_AI_RUN_FAILED','hovered','isFormulaId','_removeClearOtherTimer','registerRefRange','Failed','CollaborationSessionService','INVITE_CODE_REQUIRED','mutations','getUnhiddenWorksheets','getConfig','ThemeService','_docSkeletonManagerService','onCommandExecuted','NO_OTHER_CLIENTS_EDITING','_beforeCloseService','moveTo','INVITE_CODE_HAS_BEEN_UES','HEADER_MENU','RxDisposable','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','defs','_uiPartsService','textRanges','_config','getCurrentRevOfUnit','_docTransformSelectionsService','svg','runOnServer','_showGuardMessage','SUBMIT_CHANGESET_TIMEOUT','InsertColCommandId','eventID','getActiveSheet','requireSession','_setupBeforeClosingHandler','DocStateChangeManagerService','_maxFormulaLimit','SetSelectionsOperation','searchParams','YUUMI_RATE_OVER_LIMIT','ENTITLE_COUPON_EXPIRED','COLORS','parse','_saveCache','0\x200\x2016\x2016','_messageService','selection','_docSkeleton','onPointerEnter$','_createSocketURL','unshift','handleInsertRangeMoveDown','collaboration.single-unit.warning','IMessageService','DocIMEInputManagerService','fillStyle','stack','IDocClipboardService','reconnect','toRgbString','_initEvent','_ensureSubject','text','_commandService','max','name','currentTheme$','column','send','LICENSE_EXPORT_SIZE_EXCEEDED','Success','univerjs-icon\x20univerjs-icon-','ColorKit','_getSaveTimeout','354KlSdzt','@univerjs/rpc','_collaborationSessionService','arc','...','OFFLINE','stringify','NodePositionConvertToRectRange','use','_imageIoService','takeUntil','UniverEngineFormula','find','m2Prime','application/json','restore','IConfigService','onMouseMove','currentUsage','values','unitID','YUUMI_URL_COL_OUT_OF_RANGE','hide','[Window\x20Error]:\x20','_registerDependencies','11620360jbrYCb','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','evenodd','cursorInfo','UniverNetwork','UniverProCollaboration','ERROR_AGAIN','getRelativeToViewportCoord','36qaveUx','formula.calculation.started','loadOfflineData','transformByState','_registerRenderDependencies','http://www.w3.org/2000/svg','RevisionService','shift','beginPath','[RemoteUniscriptService]:\x20no\x20focused\x20unit','attrs','USER_NOT_FOUND','_document','code','_injector','data','@univerjs/engine-formula','maxFormulaLimit','transformMutationsWithChangeset','Tools','getFormulaLimitStatusUrl','lineno','1em','_anchor','rxjs/operators','getSheetBySheetId','getCollabEntity$','shareReplay','APPLY_DUPLICATED','setAlpha','handleDeleteRangeMoveUp','_getScale','881806Zolvqw','_localeService','url(#on-line-icon_clip0_910_349)','InsertRangeMoveDownCommandId','@univerjs/ui','lineTo','getSheetId','rxjs','UniverCollaborationClientUIPlugin','IRenderManagerService','green.600','contains','limitInfo','next','_collabCursorState$','transform','session.connection-failed','DeleteRangeMoveUpCommandId','_onRefRangeChange','_handleHeartbeatEvent','setStateCache','UniverRpc','_getMergeRange','imageSourceType','_hasFormulaInDirtyRanges','_setFormulaLimitStatus','ranges','APPLY_REJECT','colorChannel1','_colorAssignService','_docStateChangeManagerService','href','SetDocZoomRatioOperation','getUnitId','_cursor','HTTPService','on-line-icon_clip0_910_349','Loading','children','all','CURRENT_STATUS_CANNOT_OPERATE','_status$','_scheduleClearOtherTimer','getCoordByCell','APPLY_PERMISSION_DENIED','DocCollaborationEntity','FormulaExecuteStageType','getDocRanges','replaceState','disableLocalCache','REDEMPTION_CODE_FULLY_REDEEMED','div','makeDirty','_cursorShapes','post','combineLatest','bind','CHANGESET_REVISION_CONFILICT','createElement','180824EAsefH','getParam','popstate','UniverSheetsUi','forEach','getValue','INotificationService','_entityInit$','_id','YUUMI_SUBSCRIPTION_NOT_FOUND','unsubscribe','onPointerLeave$','LocaleService','_doCreateSocket','current','handleInsertRow','M0\x200H16V16H0z','show','SetFormulaCalculationStartMutation','unload','findNodePositionByCharIndex','Unknown\x20user','type','INVALID_ARGUMENT','startsWith','_taskIds','_selfUnitIDs','_collaborationUIEventService','IBeforeCloseService','ILocalStorageService','UNDEFINED','EffectRefRangId','/universer-api/frontend/logs','@univerjs-pro/collaboration-client','YUUMI_NO_CUBOID_FOR_QUESTION','formula.calculation.waiting','exhaustSavingTask','off-line-icon','session.will-retry','search','startFormulaLimitUrl','_docTransformIMECacheService','handleDeleteRangeMoveLeft','some','RegularPolygon','operators','getUndoRedoMutationParamsCache','SOCKET_FAILED_RETRY','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','RECT','getLocalCacheKey','replaceDocRanges','_drawRectRange','ENTITLE_INSUFFICIENT_QUOTA','wsSessionTicketUrl','min','CollaborationUIEventId','registerBeforeClose','CollaborationStatus','useObservable','_anchorDot','generateRandomId','_roomMembers$','reason','390365iEtOGw','subunit','_handleEvent','LOCAL_CACHE_INTERVAL','_getAnchorBounding','_collaborationController','add','INTERNAL_ERROR','_docTransformStateCacheService','ticket','key','DisposableCollection','LICENSE_DISTRO_REJECTED','LOGIN_TOKEN_PROCESSING_FAILED','[Unhandled\x20Rejection]:\x20','setTimeout','undoState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','now','_heartbeatTimer','includes','isArray','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'];_0x5b51=function(){return _0x27908c;};return _0x5b51();}function _0x4160(_0x43d322,_0x3629b9){_0x43d322=_0x43d322-0xef;const _0x5b518e=_0x5b51();let _0x4160ee=_0x5b518e[_0x43d322];return _0x4160ee;}(function(_0x4a8f25,_0x3b328c){const _0x20eef6=_0x4160,_0x3ad430=_0x4a8f25();while(!![]){try{const _0x1cdf53=-parseInt(_0x20eef6(0x31c))/0x1*(-parseInt(_0x20eef6(0x22b))/0x2)+-parseInt(_0x20eef6(0x346))/0x3+parseInt(_0x20eef6(0x20b))/0x4*(-parseInt(_0x20eef6(0x2a6))/0x5)+parseInt(_0x20eef6(0x1ea))/0x6*(parseInt(_0x20eef6(0x266))/0x7)+parseInt(_0x20eef6(0x203))/0x8+-parseInt(_0x20eef6(0x117))/0x9*(parseInt(_0x20eef6(0x31b))/0xa)+-parseInt(_0x20eef6(0x2d7))/0xb;if(_0x1cdf53===_0x3b328c)break;else _0x3ad430['push'](_0x3ad430['shift']());}catch(_0x259163){_0x3ad430['push'](_0x3ad430['shift']());}}}(_0x5b51,0xcd640),function(_0x4224f4,_0x2938a9){const _0x3f8afe=_0x4160;typeof exports=='object'&&typeof module<'u'?_0x2938a9(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x3f8afe(0x11d)]?define([_0x3f8afe(0x3c6),_0x3f8afe(0x14e),_0x3f8afe(0x287),_0x3f8afe(0x3d6),_0x3f8afe(0x22f),_0x3f8afe(0x232),_0x3f8afe(0x2c0),_0x3f8afe(0x3a8),_0x3f8afe(0x1eb),_0x3f8afe(0x3b1),_0x3f8afe(0x10d),_0x3f8afe(0x167),_0x3f8afe(0x112),_0x3f8afe(0x38c),_0x3f8afe(0xf9),_0x3f8afe(0x10a),_0x3f8afe(0x21b),_0x3f8afe(0x223),_0x3f8afe(0x33a)],_0x2938a9):(_0x4224f4=typeof globalThis<'u'?globalThis:_0x4224f4||self,_0x2938a9(_0x4224f4['UniverProCollaborationClientUi']={},_0x4224f4['React'],_0x4224f4[_0x3f8afe(0x358)],_0x4224f4[_0x3f8afe(0x3bf)],_0x4224f4['UniverUi'],_0x4224f4[_0x3f8afe(0x232)],_0x4224f4['UniverDesign'],_0x4224f4['React'],_0x4224f4[_0x3f8afe(0x240)],_0x4224f4[_0x3f8afe(0xf8)],_0x4224f4['UniverEngineRender'],_0x4224f4[_0x3f8afe(0x207)],_0x4224f4['UniverDocsUi'],_0x4224f4[_0x3f8afe(0x175)],_0x4224f4[_0x3f8afe(0x208)],_0x4224f4[_0x3f8afe(0x354)],_0x4224f4[_0x3f8afe(0x1f5)],_0x4224f4[_0x3f8afe(0x232)][_0x3f8afe(0x293)],_0x4224f4[_0x3f8afe(0x269)]));}(this,function(_0x250274,_0x50ad8a,_0x36cfba,_0x52ac88,_0x4e1f2d,_0x2b2634,_0x167111,_0x3cae89,_0x223e14,_0x1bb243,_0x5652e3,_0x4be759,_0x22c0e5,_0x2fe8eb,_0x5099b3,_0x266e85,_0x441a03,_0x293824,_0x422eca){'use strict';const _0x2fae81=_0x4160;var _0x15ee67=Object[_0x2fae81(0x381)],_0x271a02=(_0x2f8bd7,_0x2632a2,_0x3ffe4a)=>_0x2632a2 in _0x2f8bd7?_0x15ee67(_0x2f8bd7,_0x2632a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ffe4a}):_0x2f8bd7[_0x2632a2]=_0x3ffe4a,_0x2859d0=(_0x264563,_0x107e03,_0x46e488)=>_0x271a02(_0x264563,typeof _0x107e03!=_0x2fae81(0x3d7)?_0x107e03+'':_0x107e03,_0x46e488);function _0x307590({ref:_0x366eb8,..._0x3f42b4}){const _0x32230f=_0x2fae81,{icon:_0x821393,id:_0x46d306,className:_0x2652c5,extend:_0x241092,..._0xdcb3c9}=_0x3f42b4,_0x5e3f97=(_0x32230f(0x1e7)+_0x46d306+'\x20'+(_0x2652c5||''))[_0x32230f(0x2f9)](),_0x4494fd=_0x3cae89[_0x32230f(0x110)]('_'+_0x21a44a());return _0x447053(_0x821393,''+_0x46d306,{'defIds':_0x821393[_0x32230f(0x375)],'idSuffix':_0x4494fd[_0x32230f(0x274)]},{'ref':_0x366eb8,'className':_0x5e3f97,..._0xdcb3c9},_0x241092);}function _0x447053(_0x37e41a,_0x56e3bc,_0x58f861,_0x2b0c1e,_0x5670e5){const _0x4845c4=_0x2fae81;return _0x3cae89[_0x4845c4(0x265)](_0x37e41a[_0x4845c4(0x15d)],{'key':_0x56e3bc,..._0x5d761c(_0x37e41a,_0x58f861,_0x5670e5),..._0x2b0c1e},(_0x2a01b1(_0x37e41a,_0x58f861)[_0x4845c4(0x251)]||[])[_0x4845c4(0x309)]((_0x2676d4,_0x4ed8cf)=>_0x447053(_0x2676d4,_0x56e3bc+'-'+_0x37e41a[_0x4845c4(0x15d)]+'-'+_0x4ed8cf,_0x58f861,void 0x0,_0x5670e5)));}function _0x5d761c(_0x8ea73e,_0x577775,_0x2eef8d){const _0x182607=_0x2fae81,_0x30bf31={..._0x8ea73e[_0x182607(0x215)]};_0x2eef8d!=null&&_0x2eef8d['colorChannel1']&&_0x30bf31['fill']===_0x182607(0x247)&&(_0x30bf31[_0x182607(0x2fb)]=_0x2eef8d[_0x182607(0x247)]),_0x8ea73e[_0x182607(0x15d)]===_0x182607(0x34c)&&_0x30bf31['id']&&(_0x30bf31['id']=_0x30bf31['id']+_0x577775[_0x182607(0x126)]),Object[_0x182607(0x3af)](_0x30bf31)['forEach'](([_0xa2eddb,_0x5c9a9e])=>{const _0xaa9051=_0x182607;_0xa2eddb===_0xaa9051(0x34c)&&typeof _0x5c9a9e=='string'&&(_0x30bf31[_0xa2eddb]=_0x5c9a9e[_0xaa9051(0x3b8)](/url\(#(.*)\)/,_0xaa9051(0x384)+_0x577775[_0xaa9051(0x126)]+')'));});const {defIds:_0x197718}=_0x577775;return!_0x197718||_0x197718[_0x182607(0x3ae)]===0x0||(_0x8ea73e[_0x182607(0x15d)]===_0x182607(0x1f2)&&_0x30bf31[_0x182607(0x304)]&&(_0x30bf31[_0x182607(0x304)]=_0x30bf31[_0x182607(0x304)]+_0x577775[_0x182607(0x126)]),Object[_0x182607(0x3af)](_0x30bf31)[_0x182607(0x26a)](([_0x3a1a65,_0x321b21])=>{const _0x1e737b=_0x182607;typeof _0x321b21==_0x1e737b(0x322)&&(_0x30bf31[_0x3a1a65]=_0x321b21[_0x1e737b(0x3b8)](/url\(#(.*)\)/,'url(#$1'+_0x577775[_0x1e737b(0x126)]+')'));})),_0x30bf31;}function _0x2a01b1(_0x31e028,_0x53104d){const _0x2fabc1=_0x2fae81;var _0x528077;const {defIds:_0x1da7e4}=_0x53104d;return!_0x1da7e4||_0x1da7e4[_0x2fabc1(0x3ae)]===0x0?_0x31e028:_0x31e028[_0x2fabc1(0x15d)]===_0x2fabc1(0x1b4)&&((_0x528077=_0x31e028[_0x2fabc1(0x251)])!=null&&_0x528077['length'])?{..._0x31e028,'children':_0x31e028['children'][_0x2fabc1(0x309)](_0x35a7e5=>typeof _0x35a7e5[_0x2fabc1(0x215)]['id']=='string'&&_0x1da7e4&&_0x1da7e4[_0x2fabc1(0x2ba)](_0x35a7e5[_0x2fabc1(0x215)]['id'])?{..._0x35a7e5,'attrs':{..._0x35a7e5['attrs'],'id':_0x35a7e5[_0x2fabc1(0x215)]['id']+_0x53104d[_0x2fabc1(0x126)]}}:_0x35a7e5)}:_0x31e028;}function _0x21a44a(){const _0x3be57b=_0x2fae81;return Math[_0x3be57b(0x2c1)]()[_0x3be57b(0x374)](0x24)['substring'](0x2,0x8);}_0x307590['displayName']='UniverIcon';const _0x34a694={'tag':'svg','attrs':{'xmlns':_0x2fae81(0x210),'fill':_0x2fae81(0x376),'viewBox':_0x2fae81(0x1cc),'width':_0x2fae81(0x221),'height':_0x2fae81(0x221)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fae81(0xf2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2fae81(0x296),'strokeLinecap':_0x2fae81(0x32e),'strokeLinejoin':_0x2fae81(0x32e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2fae81(0x13d),'attrs':{'id':_0x2fae81(0x3d2)},'children':[{'tag':_0x2fae81(0x154),'attrs':{'fill':_0x2fae81(0x388),'d':_0x2fae81(0x276)}}]}]}],'defIds':[_0x2fae81(0x3d2)]},_0x4b3986=_0x3cae89[_0x2fae81(0x2d9)](function(_0x44f95,_0x496627){const _0x466245=_0x2fae81;return _0x3cae89['createElement'](_0x307590,Object['assign']({},_0x44f95,{'id':_0x466245(0x28b),'ref':_0x496627,'icon':_0x34a694}));});_0x4b3986[_0x2fae81(0xf5)]=_0x2fae81(0x2dd);const _0x5a0cb0={'tag':_0x2fae81(0x1ba),'attrs':{'xmlns':_0x2fae81(0x210),'fill':_0x2fae81(0x376),'viewBox':_0x2fae81(0x2cb),'width':_0x2fae81(0x221),'height':_0x2fae81(0x221)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fae81(0x22d)},'children':[{'tag':_0x2fae81(0x154),'attrs':{'stroke':_0x2fae81(0x3cc),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2fae81(0x32e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2fae81(0x1b4),'attrs':{},'children':[{'tag':_0x2fae81(0x13d),'attrs':{'id':_0x2fae81(0x24f)},'children':[{'tag':_0x2fae81(0x154),'attrs':{'fill':_0x2fae81(0x388),'d':_0x2fae81(0x276),'transform':_0x2fae81(0x2e4)}}]}]}],'defIds':[_0x2fae81(0x24f)]},_0x2b9d3c=_0x3cae89['forwardRef'](function(_0x1dd431,_0xc0b3cd){const _0x303d53=_0x2fae81;return _0x3cae89[_0x303d53(0x265)](_0x307590,Object[_0x303d53(0x324)]({},_0x1dd431,{'id':'on-line-icon','ref':_0xc0b3cd,'icon':_0x5a0cb0}));});_0x2b9d3c[_0x2fae81(0xf5)]='OnLineIcon';function _0x4f2877(_0x349f88){const _0x1d2821=_0x2fae81;switch(_0x349f88){case _0x36cfba['CollaborationStatus'][_0x1d2821(0x1ef)]:return _0x1d2821(0x102);case _0x36cfba['CollaborationStatus']['CONFLICT']:return _0x1d2821(0x173);case _0x36cfba[_0x1d2821(0x2a0)]['FETCH_MISS']:return _0x1d2821(0x399);case _0x36cfba[_0x1d2821(0x2a0)][_0x1d2821(0x151)]:return _0x1d2821(0x3a0);case _0x36cfba[_0x1d2821(0x2a0)]['AWAITING']:case _0x36cfba[_0x1d2821(0x2a0)][_0x1d2821(0x3c2)]:return _0x1d2821(0x34e);case _0x36cfba[_0x1d2821(0x2a0)]['SYNCED']:case _0x36cfba[_0x1d2821(0x2a0)]['PENDING']:return _0x1d2821(0x2fd);}}function _0x5e1ab8(_0x58531e){const _0x8ba7d1=_0x2fae81,{status$:_0x26aace}=_0x58531e,_0x5046ed=_0x4e1f2d[_0x8ba7d1(0x2a1)](_0x26aace,_0x36cfba[_0x8ba7d1(0x2a0)]['NOT_COLLAB']),_0x401746=_0x4e1f2d[_0x8ba7d1(0x305)](_0x52ac88['LocaleService']),_0x432a22=_0x4e1f2d['useDependency'](_0x36cfba[_0x8ba7d1(0x1a5)]),_0x2cc8fa=_0x5046ed!==_0x36cfba[_0x8ba7d1(0x2a0)][_0x8ba7d1(0x1ef)],_0x183553=_0x401746['t'](_0x4f2877(_0x5046ed)),_0x4dacce=_0x2cc8fa?_0x50ad8a[_0x8ba7d1(0x336)](_0x2b9d3c,{}):_0x50ad8a[_0x8ba7d1(0x336)](_0x4b3986,{}),_0x536702=_0x3cae89[_0x8ba7d1(0x130)](()=>{const _0x3d3410=_0x8ba7d1;_0x2cc8fa||_0x432a22[_0x3d3410(0x1da)]();},[_0x2cc8fa,_0x432a22]);function _0x1e616d(){const _0x9ce3cc=_0x8ba7d1;return _0x50ad8a[_0x9ce3cc(0xff)](_0x9ce3cc(0x25e),{'className':_0x9ce3cc(0x18b),'onClick':_0x536702,'children':[_0x50ad8a[_0x9ce3cc(0x336)](_0x9ce3cc(0x25e),{'className':_0x167111[_0x9ce3cc(0x187)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2cc8fa,'univer-text-red-500':!_0x2cc8fa}),'children':_0x4dacce}),_0x50ad8a[_0x9ce3cc(0x336)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x183553})]});}return _0x2cc8fa?_0x1e616d():_0x50ad8a[_0x8ba7d1(0x336)](_0x167111[_0x8ba7d1(0x32d)],{'title':_0x401746['t']('collab-client.tooltip.reconnect'),'children':_0x1e616d()});}var _0x46b61e=Object[_0x2fae81(0x32f)],_0x1ee39c=(_0x2f29cb,_0x12f89d,_0x44f25d,_0x5a2dda)=>{const _0x1c74fc=_0x2fae81;for(var _0x434e0c=_0x5a2dda>0x1?void 0x0:_0x5a2dda?_0x46b61e(_0x12f89d,_0x44f25d):_0x12f89d,_0x5cb2e7=_0x2f29cb[_0x1c74fc(0x3ae)]-0x1,_0xdcd83e;_0x5cb2e7>=0x0;_0x5cb2e7--)(_0xdcd83e=_0x2f29cb[_0x5cb2e7])&&(_0x434e0c=_0xdcd83e(_0x434e0c)||_0x434e0c);return _0x434e0c;},_0x3838b8=(_0x41f272,_0x3e9fa5)=>(_0x2f3f18,_0x31fdd5)=>_0x3e9fa5(_0x2f3f18,_0x31fdd5,_0x41f272);_0x250274[_0x2fae81(0x303)]=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x5eae1c,_0x10c6ce,_0x241787,_0x4afee4){const _0x50227c=_0x2fae81;super(),_0x2859d0(this,_0x50227c(0x254),new _0x2b2634['BehaviorSubject'](_0x36cfba['CollaborationStatus'][_0x50227c(0x151)])),(this[_0x50227c(0x31e)]=_0x5eae1c,this[_0x50227c(0x219)]=_0x10c6ce,this['_collaborationController']=_0x241787,this[_0x50227c(0x1b5)]=_0x4afee4,this[_0x50227c(0x348)](),this[_0x50227c(0xf3)]());}[_0x2fae81(0xf3)](){const _0x50005e=_0x2fae81;this[_0x50005e(0x141)](this['_univerInstanceService'][_0x50005e(0x14a)][_0x50005e(0x357)](_0x2b2634[_0x50005e(0x30a)](()=>{const _0x39d789=_0x50005e,_0x278719=this[_0x39d789(0x31e)][_0x39d789(0x316)]();return _0x278719?this[_0x39d789(0x2ab)][_0x39d789(0x225)](_0x278719[_0x39d789(0x24c)]()):_0x2b2634['of'](null);}),_0x2b2634[_0x50005e(0x30a)](_0x2ab7a1=>_0x2ab7a1?_0x2ab7a1[_0x50005e(0x353)]:_0x2b2634['of'](_0x36cfba['CollaborationStatus'][_0x50005e(0x151)])))['subscribe'](_0x260be1=>{const _0x1cb8bd=_0x50005e;this[_0x1cb8bd(0x254)][_0x1cb8bd(0x238)](_0x260be1);}));}[_0x2fae81(0x348)](){const _0x160e88=_0x2fae81;this['disposeWithMe'](this[_0x160e88(0x1b5)][_0x160e88(0x2f1)](_0x4e1f2d['BuiltInUIPart'][_0x160e88(0x1b1)],()=>_0x4e1f2d[_0x160e88(0x320)](_0x2b610a({'status$':this['_status$'][_0x160e88(0x17f)]()}),this['_injector'])));}},_0x250274[_0x2fae81(0x303)]=_0x1ee39c([_0x3838b8(0x0,_0x52ac88[_0x2fae81(0x166)]),_0x3838b8(0x1,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x383)])),_0x3838b8(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba[_0x2fae81(0x380)])),_0x3838b8(0x3,_0x4e1f2d['IUIPartsService'])],_0x250274[_0x2fae81(0x303)]);function _0x2b610a(_0x28063a){const {status$:_0x14bd4f}=_0x28063a;return function(){return _0x50ad8a['jsx'](_0x5e1ab8,{'status$':_0x14bd4f});};}const _0x5c2a40=_0x52ac88[_0x2fae81(0x123)](_0x2fae81(0x3e7));var _0x4cdd66=Object[_0x2fae81(0x32f)],_0x34f369=(_0x122260,_0x545e7c,_0x1a9ec7,_0x481a07)=>{for(var _0x297b1d=_0x481a07>0x1?void 0x0:_0x481a07?_0x4cdd66(_0x545e7c,_0x1a9ec7):_0x545e7c,_0xc17e56=_0x122260['length']-0x1,_0x2f254d;_0xc17e56>=0x0;_0xc17e56--)(_0x2f254d=_0x122260[_0xc17e56])&&(_0x297b1d=_0x2f254d(_0x297b1d)||_0x297b1d);return _0x297b1d;},_0x4cfe1c=(_0x44409a,_0x3853cd)=>(_0xfd58c4,_0x5ea0c7)=>_0x3853cd(_0xfd58c4,_0x5ea0c7,_0x44409a);_0x250274['CollaborationDataLoaderController']=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0x2d098d,_0x181899,_0x271722,_0x15b323,_0x15e20b){const _0x5c88c1=_0x2fae81;super(),this[_0x5c88c1(0x198)]=_0x2d098d,this[_0x5c88c1(0x30f)]=_0x181899,this[_0x5c88c1(0x1df)]=_0x271722,this[_0x5c88c1(0x352)]=_0x15b323,_0x15e20b?_0x15e20b==null||_0x15e20b[_0x5c88c1(0x162)]()[_0x5c88c1(0x3a3)](()=>this[_0x5c88c1(0x39e)]()):(this[_0x5c88c1(0x30f)][_0x5c88c1(0x2f2)](_0x5c88c1(0x12f),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x2fae81(0x39e)](){const _0x41818a=_0x2fae81,_0x1827fc=this[_0x41818a(0x198)]['getParam'](_0x41818a(0xfe)),_0x1fbc71=this[_0x41818a(0x198)][_0x41818a(0x267)](_0x41818a(0x27c)),_0x4b41d1=this[_0x41818a(0x198)][_0x41818a(0x267)]('subunit');if(!_0x1827fc||!_0x1fbc71){this['_logService'][_0x41818a(0x2f2)](_0x41818a(0x12f),_0x41818a(0x190));return;}const _0x1cb89d=await this[_0x41818a(0x352)][_0x41818a(0x19a)](_0x1827fc,Number(_0x1fbc71),_0x4b41d1);_0x1cb89d&&_0x1cb89d instanceof _0x52ac88[_0x41818a(0x3e0)]&&this[_0x41818a(0x2e3)](_0x1cb89d);}async['_setupSubUnitSync'](_0x72178b){const _0x1be619=_0x2fae81;await this[_0x1be619(0x34f)](_0x72178b),_0x72178b[_0x1be619(0x34b)][_0x1be619(0x357)](_0x2b2634[_0x1be619(0x1f4)](this[_0x1be619(0x394)]))[_0x1be619(0x17b)](_0x3a46cb=>{const _0x283e1d=_0x1be619;_0x3a46cb&&this[_0x283e1d(0x196)](_0x3a46cb);}),this[_0x1be619(0x198)][_0x1be619(0x3c9)][_0x1be619(0x357)](_0x2b2634['takeUntil'](this[_0x1be619(0x394)]))[_0x1be619(0x17b)](()=>this[_0x1be619(0x34f)](_0x72178b));}[_0x2fae81(0x196)](_0x30565c,_0x23567e=!0x1){const _0x393618=_0x2fae81,_0x3eaceb=this[_0x393618(0x198)]['getParam'](_0x393618(0x2a7));_0x30565c['getSheetId']()!==_0x3eaceb&&this[_0x393618(0x198)][_0x393618(0x119)](_0x393618(0x2a7),_0x30565c[_0x393618(0x231)](),_0x23567e);}async[_0x2fae81(0x34f)](_0x53ea20){const _0x233a75=_0x2fae81;var _0xfb1ba3;const _0x11eadb=this[_0x233a75(0x198)][_0x233a75(0x267)](_0x233a75(0x2a7));if(!_0x11eadb||!_0x53ea20[_0x233a75(0x224)](_0x11eadb)){const _0x522d6f=_0x53ea20[_0x233a75(0x1a8)]()[0x0],_0x30bb5c=_0x53ea20['getSheetBySheetId'](_0x522d6f);if(!_0x30bb5c)return;this['_updateURLWithCurrentState'](_0x30bb5c,!0x0),await this['_commandService'][_0x233a75(0x369)](_0x1bb243[_0x233a75(0x192)]['id'],{'unitId':_0x53ea20[_0x233a75(0x24c)](),'subUnitId':_0x522d6f});return;}((_0xfb1ba3=_0x53ea20[_0x233a75(0x1c0)]())==null?void 0x0:_0xfb1ba3[_0x233a75(0x231)]())!==_0x11eadb&&await this[_0x233a75(0x1df)][_0x233a75(0x369)](_0x1bb243[_0x233a75(0x192)]['id'],{'unitId':_0x53ea20['getUnitId'](),'subUnitId':_0x11eadb});}},_0x250274[_0x2fae81(0x3b6)]=_0x34f369([_0x4cfe1c(0x0,_0x5c2a40),_0x4cfe1c(0x1,_0x52ac88[_0x2fae81(0x149)]),_0x4cfe1c(0x2,_0x52ac88[_0x2fae81(0x114)]),_0x4cfe1c(0x3,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba['DataLoaderService'])),_0x4cfe1c(0x4,_0x52ac88[_0x2fae81(0x312)](_0x223e14['IRemoteInstanceService']))],_0x250274[_0x2fae81(0x3b6)]);var _0x26a722=Object['getOwnPropertyDescriptor'],_0x18d5e1=(_0x46936d,_0x10e6b9,_0x3a6c87,_0x4d4f68)=>{for(var _0x5b6494=_0x4d4f68>0x1?void 0x0:_0x4d4f68?_0x26a722(_0x10e6b9,_0x3a6c87):_0x10e6b9,_0x621e1d=_0x46936d['length']-0x1,_0x3ef9ea;_0x621e1d>=0x0;_0x621e1d--)(_0x3ef9ea=_0x46936d[_0x621e1d])&&(_0x5b6494=_0x3ef9ea(_0x5b6494)||_0x5b6494);return _0x5b6494;},_0x507ec8=(_0x5e0a38,_0x2b892a)=>(_0x43aadf,_0x16d459)=>_0x2b892a(_0x43aadf,_0x16d459,_0x5e0a38);let _0x22bae4=class extends _0x52ac88['RxDisposable']{constructor(_0x3e50bd,_0x23e698){const _0x13186e=_0x2fae81;super(),this['_docClipboardService']=_0x3e50bd,this[_0x13186e(0x1f3)]=_0x23e698,this[_0x13186e(0x39e)]();}[_0x2fae81(0x39e)](){const _0x462733=_0x2fae81,_0x3f0164=this;this['disposeWithMe'](this[_0x462733(0x392)][_0x462733(0x2cc)]({'onBeforePasteImage':async _0x561a85=>{const _0x4ed0bd=_0x462733,_0x2b774a=await _0x3f0164[_0x4ed0bd(0x1f3)][_0x4ed0bd(0x157)](_0x561a85);return _0x2b774a?{'source':_0x2b774a['source'],'imageSourceType':_0x2b774a[_0x4ed0bd(0x242)]}:null;}}));}};_0x22bae4=_0x18d5e1([_0x507ec8(0x0,_0x22c0e5[_0x2fae81(0x1d9)]),_0x507ec8(0x1,_0x2fe8eb['IImageIoService'])],_0x22bae4);const _0xff8d95=[_0x2fae81(0x379),_0x2fae81(0x2bf),_0x2fae81(0x235),_0x2fae81(0x19d),_0x2fae81(0x39a),_0x2fae81(0x16a)];class _0xee3413 extends _0x52ac88[_0x2fae81(0x35e)]{constructor(){const _0x89df65=_0x2fae81;super(...arguments),_0x2859d0(this,_0x89df65(0x2eb),new Map()),_0x2859d0(this,_0x89df65(0x17d),0x0);}['assignAColorForMemberID'](_0x538b0f){const _0x2ede4e=_0x2fae81;if(this[_0x2ede4e(0x2eb)][_0x2ede4e(0x33c)](_0x538b0f))return this['_assignedColors'][_0x2ede4e(0x2ef)](_0x538b0f);const _0x2a9daa=_0xff8d95[this[_0x2ede4e(0x17d)]];return this[_0x2ede4e(0x17d)]=(this[_0x2ede4e(0x17d)]+0x1)%_0xff8d95[_0x2ede4e(0x3ae)],this[_0x2ede4e(0x2eb)][_0x2ede4e(0x36c)](_0x538b0f,_0x2a9daa),_0x2a9daa;}}function _0x2b5b32(_0x905b63){const _0x294ade=_0x2fae81;let _0x2bcf9f='';for(const _0x5b2405 of _0x905b63){const {startOffset:_0x3bd678,endOffset:_0x461b1c,isActive:_0x2a9903,rangeType:_0x181ebd,segmentId:_0x2d1be2,segmentPage:_0x1835d6}=_0x5b2405;_0x2bcf9f[_0x294ade(0x3ae)]&&(_0x2bcf9f+=','),_0x2bcf9f+=_0x3bd678+':'+_0x461b1c+':'+(_0x2a9903?'1':'0')+':'+_0x181ebd+':'+_0x2d1be2+':'+_0x1835d6;}return _0x2bcf9f;}function _0x1299fc(_0x3d3134){const _0x4658cd=_0x2fae81,_0x3e8b2a=_0x3d3134[_0x4658cd(0x2c6)](','),_0x222925=[];for(const _0x113ae8 of _0x3e8b2a){const [_0x38921c,_0x50b8bf,_0x5d7da6,_0x33d25b,_0x229634,_0xae52b1]=_0x113ae8[_0x4658cd(0x2c6)](':');_0x222925[_0x4658cd(0x146)]({'startOffset':Number(_0x38921c),'endOffset':Number(_0x50b8bf),'collapsed':_0x38921c===_0x50b8bf,'isActive':_0x5d7da6==='1','rangeType':_0x33d25b===_0x52ac88[_0x4658cd(0x3da)][_0x4658cd(0x327)]?_0x52ac88[_0x4658cd(0x3da)][_0x4658cd(0x327)]:_0x52ac88['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x229634=='string'?String(_0x229634):'','segmentPage':Number(_0xae52b1!=null?_0xae52b1:-0x1)});}return _0x222925[_0x4658cd(0x291)](_0x51704c=>_0x51704c['isActive'])||(_0x222925[0x0]['isActive']=!0x0),_0x222925;}class _0x46c6b2 extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(){const _0xe68cb3=_0x2fae81;super(...arguments),_0x2859d0(this,_0xe68cb3(0x239),new _0x2b2634['BehaviorSubject'](null)),_0x2859d0(this,_0xe68cb3(0x179),this[_0xe68cb3(0x239)][_0xe68cb3(0x17f)]());}[_0x2fae81(0x13c)](_0x14b311){const _0xfdb232=_0x2fae81,{unitID:_0x10d025,memberID:_0x4569d4,textRanges:_0x19660a}=_0x14b311,_0xab6fa3=_0x2b5b32(_0x19660a);if(_0xab6fa3==='')return;const _0x2f0ec8={'unitID':_0x10d025,'memberID':_0x4569d4,'selection':_0xab6fa3};this[_0xfdb232(0x239)][_0xfdb232(0x238)](_0x2f0ec8);}}var _0x878ccb=Object[_0x2fae81(0x32f)],_0x519a97=(_0x357a98,_0x2a62e4,_0x5c2daa,_0x1466f8)=>{for(var _0x42bfaf=_0x1466f8>0x1?void 0x0:_0x1466f8?_0x878ccb(_0x2a62e4,_0x5c2daa):_0x2a62e4,_0xae00cd=_0x357a98['length']-0x1,_0x3692c0;_0xae00cd>=0x0;_0xae00cd--)(_0x3692c0=_0x357a98[_0xae00cd])&&(_0x42bfaf=_0x3692c0(_0x42bfaf)||_0x42bfaf);return _0x42bfaf;},_0x4b2caa=(_0x4cb297,_0x3fd56c)=>(_0x369558,_0x230bc5)=>_0x3fd56c(_0x369558,_0x230bc5,_0x4cb297);const _0x39ba06=0x12c,_0x3a9f5a=0x64;let _0x38f564=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0xc2e6af,_0x4d047d,_0x1532a2,_0x32bd97,_0x11dbc3,_0x3bdfa8,_0x4fa50c,_0x26e643,_0x17343c){const _0x1c93ba=_0x2fae81;super(),_0x2859d0(this,_0x1c93ba(0x116),!0x1),_0x2859d0(this,_0x1c93ba(0x39e),!0x1),_0x2859d0(this,_0x1c93ba(0x3e8),new _0x2b2634[(_0x1c93ba(0x155))](new Map())),_0x2859d0(this,'cursorInfo$',this[_0x1c93ba(0x3e8)][_0x1c93ba(0x17f)]()),_0x2859d0(this,_0x1c93ba(0x2a4),new _0x2b2634[(_0x1c93ba(0x155))]([])),_0x2859d0(this,'roomMembers$',this['_roomMembers$'][_0x1c93ba(0x357)](_0x2b2634['debounceTime'](_0x39ba06))),_0x2859d0(this,_0x1c93ba(0x30d),_0x52ac88[_0x1c93ba(0x11a)](_0x12f180=>{const _0x2dcd47=_0x1c93ba,_0x3bef48={'eventID':_0x5099b3['CollaborationEvent'][_0x2dcd47(0x35a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2dcd47(0x12d)](),'selection':_0x2b5b32(_0x12f180)}};this[_0x2dcd47(0x3a9)][_0x2dcd47(0x1e4)](_0x3bef48,this[_0x2dcd47(0x1fe)]);},_0x3a9f5a)),(this['unitID']=_0xc2e6af,this[_0x1c93ba(0x3a9)]=_0x4d047d,this[_0x1c93ba(0x219)]=_0x1532a2,this['_colorAssignService']=_0x32bd97,this['_memberService']=_0x11dbc3,this[_0x1c93ba(0x3a6)]=_0x3bdfa8,this['_transformService']=_0x4fa50c,this[_0x1c93ba(0x31e)]=_0x26e643,this[_0x1c93ba(0x1df)]=_0x17343c);}get[_0x2fae81(0x206)](){const _0x427ef2=_0x2fae81;return this[_0x427ef2(0x3e8)][_0x427ef2(0x26b)]();}get[_0x2fae81(0x2be)](){const _0x3c4940=_0x2fae81;return this[_0x3c4940(0x2a4)][_0x3c4940(0x26b)]();}[_0x2fae81(0x106)](){const _0xfe8773=_0x2fae81;super['dispose'](),this[_0xfe8773(0x3e8)]['next'](new Map()),this[_0xfe8773(0x3e8)][_0xfe8773(0x101)](),this[_0xfe8773(0x2a4)]['next']([]),this[_0xfe8773(0x2a4)][_0xfe8773(0x101)]();}[_0x2fae81(0x108)](){const _0x417db8=_0x2fae81;this[_0x417db8(0x39e)]||(this[_0x417db8(0x39e)]=!0x0,this['_session']['sessionStatus$'][_0x417db8(0x357)](_0x2b2634[_0x417db8(0x1f4)](this['dispose$']))[_0x417db8(0x17b)](_0x4828ed=>{const _0x5a78b8=_0x417db8;_0x4828ed===_0x36cfba[_0x5a78b8(0x329)][_0x5a78b8(0x2e2)]?this[_0x5a78b8(0x3ce)]():this[_0x5a78b8(0xfa)]();}),this[_0x417db8(0x3a9)][_0x417db8(0x38d)][_0x417db8(0x357)](_0x2b2634[_0x417db8(0x1f4)](this[_0x417db8(0x394)]))[_0x417db8(0x17b)](_0x3caf0a=>{const _0x58bccd=_0x417db8,_0x1aed75=_0x3caf0a[_0x58bccd(0x1bf)];_0x1aed75===_0x5099b3['CollaborationEvent'][_0x58bccd(0x35a)]&&this[_0x58bccd(0x33f)](_0x3caf0a),_0x1aed75===_0x5099b3['CollaborationEvent'][_0x58bccd(0x3d4)]&&this['_onCursorDelete'](_0x3caf0a);}),this['disposeWithMe'](this['_commandService'][_0x417db8(0x1ac)](_0x3a1b53=>{const _0x52470a=_0x417db8,_0x17e0f=_0x3a1b53['params'];_0x17e0f!=null&&this[_0x52470a(0x116)]&&_0x3a1b53['id']===_0x266e85[_0x52470a(0x366)]['id']&&_0x17e0f[_0x52470a(0x338)]===this[_0x52470a(0x1fe)]&&_0x17e0f[_0x52470a(0x159)]===!0x1&&_0x17e0f[_0x52470a(0x245)][_0x52470a(0x3ae)]>0x0&&this[_0x52470a(0x30d)](_0x17e0f[_0x52470a(0x245)]);})),this[_0x417db8(0x3a6)][_0x417db8(0x179)][_0x417db8(0x357)](_0x2b2634['takeUntil'](this[_0x417db8(0x394)]))[_0x417db8(0x17b)](_0x3ba49c=>{const _0xae4c9a=_0x417db8;if((_0x3ba49c==null?void 0x0:_0x3ba49c[_0xae4c9a(0x1fe)])!==this[_0xae4c9a(0x1fe)])return;const _0x494427={'eventID':_0x5099b3['CollaborationEvent'][_0xae4c9a(0x35a)],'data':_0x3ba49c};this[_0xae4c9a(0x33f)](_0x494427);}),this[_0x417db8(0x141)](this['_commandService'][_0x417db8(0x1ac)](_0x22cefd=>{const _0x9696e5=_0x417db8;if(_0x22cefd[_0x9696e5(0x124)]==null)return;const _0x22c7e4=_0x22cefd[_0x9696e5(0x124)];if(_0x22cefd['id']!==_0x266e85['RichTextEditingMutation']['id']||_0x22c7e4[_0x9696e5(0x338)]!==this['unitID'])return;const _0x20b742={'id':'doc.mutation.rich-text-editing','params':_0x22c7e4},_0x3d5ff4=this['cursorInfo'];for(const [_0x3696c3,_0x1c68e8]of _0x3d5ff4){const _0x26a9fc={'id':_0x9696e5(0x341),'params':{'unitId':this[_0x9696e5(0x1fe)],'actions':null,'textRanges':_0x1c68e8['ranges']}},_0x3d9627=this[_0x9696e5(0x2cf)][_0x9696e5(0x31d)](_0x20b742,_0x26a9fc,!0x1);if(_0x5099b3[_0x9696e5(0x109)](_0x3d9627))throw _0x3d9627[_0x9696e5(0x16c)];_0x3d5ff4['set'](_0x3696c3,{..._0x1c68e8,'ranges':_0x3d9627[_0x9696e5(0x1f7)][_0x9696e5(0x124)][_0x9696e5(0x1b6)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3d5ff4);});})));}['_onCursorUpdate'](_0x3eed02){const _0x5dd7b8=_0x2fae81;var _0x15d477,_0x406ca1;const {memberID:_0x3fbfc2,selection:_0x23b332}=_0x3eed02[_0x5dd7b8(0x21a)],_0x4f28e5=_0x1299fc(_0x23b332),_0xdacf76=(_0x406ca1=(_0x15d477=this[_0x5dd7b8(0x2e9)][_0x5dd7b8(0x321)](this[_0x5dd7b8(0x1fe)],_0x3fbfc2))==null?void 0x0:_0x15d477['name'])!=null?_0x406ca1:'Unknown\x20user',_0x33a833={'color':this[_0x5dd7b8(0x248)]['assignAColorForMemberID'](_0x3fbfc2),'name':_0xdacf76,'ranges':_0x4f28e5},_0x26b32f=this[_0x5dd7b8(0x206)];_0x26b32f[_0x5dd7b8(0x36c)](_0x3fbfc2,_0x33a833),this[_0x5dd7b8(0x3e8)]['next'](_0x26b32f);}[_0x2fae81(0x349)](_0x5a6f24){const _0x11b45d=_0x2fae81,{memberID:_0x56a8ea}=_0x5a6f24['data'],_0x11c4cc=this[_0x11b45d(0x206)];_0x11c4cc[_0x11b45d(0x19c)](_0x56a8ea),this[_0x11b45d(0x3e8)][_0x11b45d(0x238)](_0x11c4cc);}[_0x2fae81(0x3ce)](){const _0x5920ee=_0x2fae81;var _0x1bd8d2;if(this[_0x5920ee(0x116)]=!0x0,((_0x1bd8d2=this[_0x5920ee(0x31e)][_0x5920ee(0x316)]())==null?void 0x0:_0x1bd8d2[_0x5920ee(0x24c)]())!==this['unitID'])return;const _0x1e5a0a=this[_0x5920ee(0x219)][_0x5920ee(0x2ef)](_0x266e85['DocSelectionManagerService'])[_0x5920ee(0x25a)]();Array[_0x5920ee(0x2bb)](_0x1e5a0a)&&_0x1e5a0a[_0x5920ee(0x3ae)]>0x0&&this[_0x5920ee(0x30d)](_0x1e5a0a);}[_0x2fae81(0xfa)](){const _0x5de5ff=_0x2fae81;this[_0x5de5ff(0x116)]=!0x1;}};_0x38f564=_0x519a97([_0x4b2caa(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x383)])),_0x4b2caa(0x3,_0x52ac88[_0x2fae81(0x34d)](_0xee3413)),_0x4b2caa(0x4,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba['MemberService'])),_0x4b2caa(0x5,_0x52ac88[_0x2fae81(0x34d)](_0x46c6b2)),_0x4b2caa(0x6,_0x5099b3[_0x2fae81(0x35f)]),_0x4b2caa(0x7,_0x52ac88[_0x2fae81(0x166)]),_0x4b2caa(0x8,_0x52ac88[_0x2fae81(0x114)])],_0x38f564);var _0x5227c5=Object['getOwnPropertyDescriptor'],_0x407c7e=(_0x3102a2,_0x1e9ea6,_0x18669e,_0x4a6b8f)=>{const _0x4eb74d=_0x2fae81;for(var _0x596711=_0x4a6b8f>0x1?void 0x0:_0x4a6b8f?_0x5227c5(_0x1e9ea6,_0x18669e):_0x1e9ea6,_0x44aa30=_0x3102a2[_0x4eb74d(0x3ae)]-0x1,_0x5d92e4;_0x44aa30>=0x0;_0x44aa30--)(_0x5d92e4=_0x3102a2[_0x44aa30])&&(_0x596711=_0x5d92e4(_0x596711)||_0x596711);return _0x596711;},_0x32f17d=(_0x305827,_0x34711d)=>(_0x2f1349,_0x50622d)=>_0x34711d(_0x2f1349,_0x50622d,_0x305827);const _0x5ce82f=0x12c,_0x56aea2=0x64,_0x24d003=()=>{let _0x547c1c=[],_0x4e429e=!0x1;return _0x5c8a9e=>{_0x547c1c['push'](_0x5c8a9e),_0x4e429e||(_0x4e429e=!0x0,setTimeout(()=>{_0x547c1c['forEach'](_0x1b4a9d=>_0x1b4a9d()),_0x547c1c=[],_0x4e429e=!0x1;}));};};let _0x262ec3=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0x2af8f6,_0x15688b,_0x24a9d7,_0x5b8d45,_0x3bb055,_0x37dbba,_0x577633,_0x248455){const _0x4cddb3=_0x2fae81;super(),_0x2859d0(this,_0x4cddb3(0x116),!0x1),_0x2859d0(this,_0x4cddb3(0x39e),!0x1),_0x2859d0(this,_0x4cddb3(0x3e8),new _0x2b2634[(_0x4cddb3(0x155))](new Map())),_0x2859d0(this,_0x4cddb3(0x3d8),this[_0x4cddb3(0x3e8)]['asObservable']()),_0x2859d0(this,_0x4cddb3(0x2a4),new _0x2b2634['BehaviorSubject']([])),_0x2859d0(this,_0x4cddb3(0x32c),this['_roomMembers$']['pipe'](_0x2b2634[_0x4cddb3(0x2bd)](_0x5ce82f))),_0x2859d0(this,'_updateLocalCursor',_0x52ac88[_0x4cddb3(0x11a)]((_0x1f50fa,_0x2c6e2a)=>{const _0x571613=_0x4cddb3,_0x29fa36={'eventID':_0x5099b3[_0x571613(0x171)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x571613(0x1fe)],'memberID':this['_session']['getMemberID'](),'selection':_0x441a03['serializeRangeWithSheet'](_0x1f50fa,_0x2c6e2a[_0x571613(0x3b0)])}};this[_0x571613(0x3a9)][_0x571613(0x1e4)](_0x29fa36,this[_0x571613(0x1fe)]);},_0x56aea2)),(this[_0x4cddb3(0x1fe)]=_0x2af8f6,this[_0x4cddb3(0x3a9)]=_0x15688b,this[_0x4cddb3(0x219)]=_0x24a9d7,this['_colorAssignService']=_0x5b8d45,this[_0x4cddb3(0x2e9)]=_0x3bb055,this['_univerInstanceService']=_0x37dbba,this[_0x4cddb3(0x1df)]=_0x577633,this[_0x4cddb3(0x3e9)]=_0x248455);}get[_0x2fae81(0x206)](){const _0x3e5fdd=_0x2fae81;return this[_0x3e5fdd(0x3e8)][_0x3e5fdd(0x26b)]();}get[_0x2fae81(0x2be)](){const _0x347ce0=_0x2fae81;return this[_0x347ce0(0x2a4)][_0x347ce0(0x26b)]();}[_0x2fae81(0x106)](){const _0x46e373=_0x2fae81;super[_0x46e373(0x106)](),this['_cursorInfo$'][_0x46e373(0x238)](new Map()),this['_cursorInfo$']['complete'](),this[_0x46e373(0x2a4)]['next']([]),this[_0x46e373(0x2a4)][_0x46e373(0x101)]();}[_0x2fae81(0x108)](){const _0x13e176=_0x2fae81;this[_0x13e176(0x39e)]||(this[_0x13e176(0x39e)]=!0x0,this[_0x13e176(0x3a9)][_0x13e176(0x2da)]['pipe'](_0x2b2634[_0x13e176(0x1f4)](this[_0x13e176(0x394)]))[_0x13e176(0x17b)](_0x5b7202=>{const _0xc2b10c=_0x13e176;_0x5b7202===_0x36cfba[_0xc2b10c(0x329)]['ONLINE']?this[_0xc2b10c(0x3ce)]():this['_toggleOffline']();}),this[_0x13e176(0x3a9)]['event$']['pipe'](_0x2b2634[_0x13e176(0x1f4)](this['dispose$']))[_0x13e176(0x17b)](_0x156925=>{const _0x23bef3=_0x13e176,_0x528342=_0x156925[_0x23bef3(0x1bf)];_0x528342===_0x5099b3[_0x23bef3(0x171)]['UPDATE_CURSOR']&&this[_0x23bef3(0x33f)](_0x156925),_0x528342===_0x5099b3[_0x23bef3(0x171)][_0x23bef3(0x3d4)]&&this['_onCursorDelete'](_0x156925);}),this[_0x13e176(0x23d)](),this['disposeWithMe'](this[_0x13e176(0x1df)][_0x13e176(0x1ac)](_0x56b21c=>{const _0x518aa2=_0x13e176;if(this['_online']&&_0x56b21c['id']===_0x1bb243[_0x518aa2(0x1c5)]['id']&&_0x56b21c[_0x518aa2(0x124)][_0x518aa2(0x338)]===this['unitID']){const _0x4e3935=_0x56b21c[_0x518aa2(0x124)];this[_0x518aa2(0x30d)](_0x4e3935[_0x518aa2(0x355)],_0x4e3935[_0x518aa2(0x176)][0x0]);}})));}[_0x2fae81(0x33f)](_0x3834ad){const _0x253f0f=_0x2fae81;var _0xdf13d,_0x4b4fd6;const {memberID:_0x56063f,selection:_0x18bfbc}=_0x3834ad[_0x253f0f(0x21a)],{sheetName:_0x11d379,range:_0x104948}=_0x441a03['deserializeRangeWithSheet'](_0x18bfbc),_0x121927={'name':(_0x4b4fd6=(_0xdf13d=this[_0x253f0f(0x2e9)][_0x253f0f(0x321)](this[_0x253f0f(0x1fe)],_0x56063f))==null?void 0x0:_0xdf13d[_0x253f0f(0x1e1)])!=null?_0x4b4fd6:_0x253f0f(0x27b),'range':this[_0x253f0f(0x241)](_0x11d379,_0x104948),'sheetID':_0x11d379,'color':this[_0x253f0f(0x248)][_0x253f0f(0x13e)](_0x56063f),'selection':_0x18bfbc},_0xd604b7=this[_0x253f0f(0x206)];_0xd604b7[_0x253f0f(0x36c)](_0x56063f,_0x121927),this['_cursorInfo$'][_0x253f0f(0x238)](_0xd604b7);}[_0x2fae81(0x349)](_0x1c4b03){const _0x575e67=_0x2fae81,{memberID:_0x567174}=_0x1c4b03['data'],_0x13c5af=this[_0x575e67(0x206)];_0x13c5af[_0x575e67(0x19c)](_0x567174),this['_cursorInfo$']['next'](_0x13c5af);}[_0x2fae81(0x241)](_0x62ed96,_0x125501){const _0x921a2d=_0x2fae81;var _0x3885e4,_0x2d58e3;const _0x23fc66=(_0x2d58e3=(_0x3885e4=this[_0x921a2d(0x31e)]['getUniverSheetInstance'](this[_0x921a2d(0x1fe)]))==null?void 0x0:_0x3885e4[_0x921a2d(0x224)](_0x62ed96))==null?void 0x0:_0x2d58e3['getMergeData']();return(_0x23fc66==null?void 0x0:_0x23fc66[_0x921a2d(0x1f6)](_0x47ccfb=>_0x52ac88[_0x921a2d(0x3c5)][_0x921a2d(0x236)](_0x47ccfb,_0x125501)))||_0x125501;}[_0x2fae81(0x23d)](){const _0x3a345f=_0x2fae81,_0x333d5b=new _0x52ac88[(_0x3a345f(0x2b1))](),_0x5ef6e3=_0x24d003(),_0x4d0dc6=()=>{const _0x132f88=_0x3a345f;_0x333d5b[_0x132f88(0x106)]();const _0x2d47a1=(_0x29d8b5,_0xd26f90,_0x4ce17c,_0x21dca9)=>{const _0x250e48=_0x132f88;let _0x382a75=[];switch(_0x29d8b5['id']){case _0x1bb243[_0x250e48(0x285)][_0x250e48(0x2fa)]:{_0x382a75=_0x1bb243[_0x250e48(0x290)](_0x29d8b5,_0x21dca9);break;}case _0x1bb243['EffectRefRangId'][_0x250e48(0x23c)]:{_0x382a75=_0x1bb243[_0x250e48(0x229)](_0x29d8b5,_0x21dca9);break;}case _0x1bb243['EffectRefRangId'][_0x250e48(0x1be)]:{_0x382a75=_0x1bb243['handleInsertCol'](_0x29d8b5,_0x21dca9);break;}case _0x1bb243['EffectRefRangId'][_0x250e48(0x22e)]:{_0x382a75=_0x1bb243[_0x250e48(0x1d3)](_0x29d8b5,_0x21dca9);break;}case _0x1bb243[_0x250e48(0x285)]['InsertRangeMoveRightCommandId']:{_0x382a75=_0x1bb243['handleInsertRangeMoveRight'](_0x29d8b5,_0x21dca9);break;}case _0x1bb243[_0x250e48(0x285)][_0x250e48(0x2e7)]:{_0x382a75=_0x1bb243[_0x250e48(0x275)](_0x29d8b5,_0x21dca9);break;}case _0x1bb243[_0x250e48(0x285)]['MoveRangeCommandId']:{_0x382a75=_0x1bb243['handleMoveRange'](_0x29d8b5,_0x21dca9);break;}case _0x1bb243[_0x250e48(0x285)][_0x250e48(0x373)]:{_0x382a75=_0x1bb243[_0x250e48(0x13b)](_0x29d8b5,_0x21dca9);break;}case _0x1bb243[_0x250e48(0x285)]['RemoveRowCommandId']:{_0x382a75=_0x1bb243[_0x250e48(0x11b)](_0x29d8b5,_0x21dca9);break;}}const _0x357006=_0x1bb243[_0x250e48(0x3c0)](_0x382a75,_0x21dca9),_0x293e76=this[_0x250e48(0x206)][_0x250e48(0x2ef)](_0xd26f90);if(_0x293e76&&_0x357006){const _0x28f998={..._0x293e76,'range':_0x357006};this[_0x250e48(0x206)][_0x250e48(0x36c)](_0xd26f90,_0x28f998),_0x5ef6e3(()=>{const _0xa61522=_0x250e48,_0xf0310=this[_0xa61522(0x3e9)][_0xa61522(0x1a3)](_0x357006,_0x3ae6a7=>(_0xf0310[_0xa61522(0x106)](),_0x2d47a1(_0x3ae6a7,_0xd26f90,_0x4ce17c,_0x357006)));_0x333d5b[_0xa61522(0x2ac)](_0xf0310);});}return{'redos':[],'undos':[]};};this[_0x132f88(0x206)][_0x132f88(0x26a)]((_0x4ca144,_0x2c8ade)=>{const _0xb8859d=_0x132f88,{range:_0x561175,sheetID:_0x1f5be4}=_0x4ca144,_0x47d830=this['_refRangeService'][_0xb8859d(0x1a3)](_0x561175,_0x2d1eba=>(_0x47d830['dispose'](),_0x2d47a1(_0x2d1eba,_0x2c8ade,_0x1f5be4,_0x561175)));_0x333d5b[_0xb8859d(0x2ac)](_0x47d830);});};this[_0x3a345f(0x141)](_0x52ac88[_0x3a345f(0x168)](this['_cursorInfo$'][_0x3a345f(0x17b)](()=>{_0x4d0dc6();})));}[_0x2fae81(0x3ce)](){const _0x2c922f=_0x2fae81;var _0x316992,_0x2ab9de;if(this[_0x2c922f(0x116)]=!0x0,((_0x316992=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x316992[_0x2c922f(0x24c)]())!==this[_0x2c922f(0x1fe)])return;const _0x1b21e5=(_0x2ab9de=this['_injector']['get'](_0x1bb243['SheetsSelectionsService'])[_0x2c922f(0x2c7)]())==null?void 0x0:_0x2ab9de[0x0],_0x346521=this[_0x2c922f(0x31e)][_0x2c922f(0x164)](_0x52ac88[_0x2c922f(0x18c)]['UNIVER_SHEET'])['getActiveSheet']();_0x1b21e5&&_0x346521&&this[_0x2c922f(0x30d)](_0x346521[_0x2c922f(0x231)](),_0x1b21e5);}[_0x2fae81(0xfa)](){const _0x9c144b=_0x2fae81;this[_0x9c144b(0x116)]=!0x1;}};_0x262ec3=_0x407c7e([_0x32f17d(0x2,_0x52ac88['Inject'](_0x52ac88[_0x2fae81(0x383)])),_0x32f17d(0x3,_0x52ac88[_0x2fae81(0x34d)](_0xee3413)),_0x32f17d(0x4,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba['MemberService'])),_0x32f17d(0x5,_0x52ac88[_0x2fae81(0x166)]),_0x32f17d(0x6,_0x52ac88[_0x2fae81(0x114)]),_0x32f17d(0x7,_0x52ac88[_0x2fae81(0x34d)](_0x1bb243['RefRangeService']))],_0x262ec3);var _0x1ffaac=Object[_0x2fae81(0x32f)],_0xad2ac0=(_0x51af09,_0x2fc725,_0x2e55f5,_0x16f046)=>{const _0x116f1b=_0x2fae81;for(var _0x30da44=_0x16f046>0x1?void 0x0:_0x16f046?_0x1ffaac(_0x2fc725,_0x2e55f5):_0x2fc725,_0x21c322=_0x51af09[_0x116f1b(0x3ae)]-0x1,_0x4996b4;_0x21c322>=0x0;_0x21c322--)(_0x4996b4=_0x51af09[_0x21c322])&&(_0x30da44=_0x4996b4(_0x30da44)||_0x30da44);return _0x30da44;},_0x2e9d33=(_0x407114,_0x5a293e)=>(_0x2fb6ad,_0x10f190)=>_0x5a293e(_0x2fb6ad,_0x10f190,_0x407114);let _0x4c9861=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0x446233,_0x2c69e1,_0x3ce69f){const _0x26eb6a=_0x2fae81;super(),_0x2859d0(this,_0x26eb6a(0x16d),new Map()),_0x2859d0(this,_0x26eb6a(0x26d),new _0x2b2634[(_0x26eb6a(0x148))]()),(this[_0x26eb6a(0x31e)]=_0x446233,this[_0x26eb6a(0x219)]=_0x2c69e1,this['_collabSessionService']=_0x3ce69f,this[_0x26eb6a(0x39e)]());}[_0x2fae81(0x106)](){const _0x13ddf6=_0x2fae81;super['dispose'](),this['_entityInit$'][_0x13ddf6(0x101)](),this[_0x13ddf6(0x16d)]['forEach'](_0x1c9483=>_0x1c9483[_0x13ddf6(0x106)]());}['getCollabCursors$'](_0x459289){const _0x5afb09=_0x2fae81;return this['_entities'][_0x5afb09(0x33c)](_0x459289)?this[_0x5afb09(0x16d)]['get'](_0x459289)[_0x5afb09(0x3d8)]:this[_0x5afb09(0x26d)]['pipe'](_0x2b2634[_0x5afb09(0x2ce)](_0x498f4f=>_0x498f4f[_0x5afb09(0x1fe)]===_0x459289),_0x2b2634[_0x5afb09(0x30a)](_0x460300=>_0x460300['cursorInfo$']));}[_0x2fae81(0x39e)](){const _0x533c69=_0x2fae81;this[_0x533c69(0x31e)][_0x533c69(0x382)](_0x52ac88[_0x533c69(0x18c)]['UNIVER_SHEET'])[_0x533c69(0x357)](_0x2b2634[_0x533c69(0x1f4)](this[_0x533c69(0x394)]))['subscribe'](async _0x2d7617=>{const _0xd97e8=_0x533c69,_0x16096e=_0x2d7617['getUnitId'](),_0x24fc83=await this[_0xd97e8(0x3d1)](_0x16096e);this[_0xd97e8(0x26d)][_0xd97e8(0x238)](_0x24fc83),this['_entities']['set'](_0x16096e,_0x24fc83);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52ac88[_0x533c69(0x18c)]['UNIVER_DOC'])[_0x533c69(0x357)](_0x2b2634[_0x533c69(0x1f4)](this[_0x533c69(0x394)]))[_0x533c69(0x357)](_0x2b2634['filter'](_0x5b5b71=>!_0x5b5b71[_0x533c69(0x24c)]()[_0x533c69(0x27e)]('__')))[_0x533c69(0x17b)](async _0x5b64c1=>{const _0x27de0e=_0x533c69,_0x50d7eb=_0x5b64c1[_0x27de0e(0x24c)](),_0x47bd94=await this['_startDocCollabCursor'](_0x50d7eb);this['_entityInit$'][_0x27de0e(0x238)](_0x47bd94),this[_0x27de0e(0x16d)]['set'](_0x50d7eb,_0x47bd94);}),_0x2b2634[_0x533c69(0x10f)](this[_0x533c69(0x31e)][_0x533c69(0x127)](_0x52ac88[_0x533c69(0x18c)][_0x533c69(0x145)]),this[_0x533c69(0x31e)][_0x533c69(0x127)](_0x52ac88[_0x533c69(0x18c)][_0x533c69(0xfd)]))['pipe'](_0x2b2634[_0x533c69(0x1f4)](this[_0x533c69(0x394)]))[_0x533c69(0x17b)](_0x4263ea=>{const _0x260ad2=_0x533c69,_0x343573=_0x4263ea['getUnitId'](),_0x51efc8=this[_0x260ad2(0x16d)]['get'](_0x343573);_0x51efc8&&(_0x51efc8[_0x260ad2(0x106)](),this[_0x260ad2(0x16d)][_0x260ad2(0x19c)](_0x343573));});}async[_0x2fae81(0x3d1)](_0x555e7e){const _0x1e3856=_0x2fae81,_0x5c15db=await this[_0x1e3856(0x343)]['requireSession'](_0x555e7e),_0x45aafc=this[_0x1e3856(0x219)][_0x1e3856(0x11c)](_0x262ec3,_0x555e7e,_0x5c15db);return _0x45aafc[_0x1e3856(0x108)](),_0x45aafc;}async[_0x2fae81(0x2c5)](_0x21fdf3){const _0x1a4704=_0x2fae81,_0x22af44=await this[_0x1a4704(0x343)][_0x1a4704(0x1c1)](_0x21fdf3),_0x23e569=this['_injector']['createInstance'](_0x38f564,_0x21fdf3,_0x22af44);return _0x23e569[_0x1a4704(0x108)](),_0x23e569;}};_0x4c9861=_0xad2ac0([_0x2e9d33(0x0,_0x52ac88[_0x2fae81(0x166)]),_0x2e9d33(0x1,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88['Injector'])),_0x2e9d33(0x2,_0x52ac88['Inject'](_0x36cfba['CollaborationSessionService']))],_0x4c9861);const _0x153df0=0x14,_0xee24d4=0xc8,_0x11a294=0x4,_0x2af8a5=0x5;function _0x28c67d(_0x2d8d63,_0x345b7c){const _0x2dd3d5=_0x2fae81;let {radius:_0x120c7c,width:_0x5549af,height:_0x2373d9}=_0x345b7c;_0x120c7c=_0x120c7c!=null?_0x120c7c:0x0,_0x5549af=_0x5549af!=null?_0x5549af:0x1e,_0x2373d9=_0x2373d9!=null?_0x2373d9:0x1e;let _0xf97ce1=0x0,_0x4ce732=0x0,_0x545bcf=0x0;_0xf97ce1=_0x4ce732=_0x545bcf=Math[_0x2dd3d5(0x29d)](_0x120c7c,_0x5549af/0x2,_0x2373d9/0x2),_0x2d8d63[_0x2dd3d5(0x213)](),_0x2d8d63[_0x2dd3d5(0x1af)](_0xf97ce1,0x0),_0x2d8d63['lineTo'](_0x5549af-_0x4ce732,0x0),_0x2d8d63['arc'](_0x5549af-_0x4ce732,_0x4ce732,_0x4ce732,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d8d63[_0x2dd3d5(0x230)](_0x5549af,_0x2373d9-_0x545bcf),_0x2d8d63[_0x2dd3d5(0x1ed)](_0x5549af-_0x545bcf,_0x2373d9-_0x545bcf,_0x545bcf,0x0,Math['PI']/0x2,!0x1),_0x2d8d63[_0x2dd3d5(0x230)](0x0,_0x2373d9),_0x2d8d63[_0x2dd3d5(0x230)](0x0,_0xf97ce1),_0x2d8d63['arc'](_0xf97ce1,_0xf97ce1,_0xf97ce1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d8d63['closePath'](),_0x345b7c[_0x2dd3d5(0x2fb)]&&(_0x2d8d63['save'](),_0x2d8d63[_0x2dd3d5(0x1d7)]=_0x345b7c[_0x2dd3d5(0x2fb)],_0x345b7c[_0x2dd3d5(0x139)]===_0x2dd3d5(0x205)?_0x2d8d63['fill']('evenodd'):_0x2d8d63[_0x2dd3d5(0x2fb)](),_0x2d8d63[_0x2dd3d5(0x1f9)]());}class _0x39e8f9 extends _0x5652e3['Shape']{constructor(_0x126cee,_0x54bb2d){const _0x4ef022=_0x2fae81;super(_0x126cee,_0x54bb2d),_0x2859d0(this,_0x4ef022(0x3dd)),_0x2859d0(this,_0x4ef022(0x1de)),(this['color']=_0x54bb2d==null?void 0x0:_0x54bb2d['color'],this['text']=_0x54bb2d==null?void 0x0:_0x54bb2d[_0x4ef022(0x1de)]);}static[_0x2fae81(0x14f)](_0x5f0603,_0x4ea5a3){const _0x46f006=_0x2fae81,{text:_0x2ab479,color:_0x7e362c}=_0x4ea5a3;_0x5f0603[_0x46f006(0x3aa)](),_0x5f0603[_0x46f006(0x132)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x54eccb=_0x5f0603[_0x46f006(0x100)](_0x2ab479)['width'],_0x431b2c=Math['min'](_0x54eccb+0x2*_0x11a294,_0xee24d4);_0x28c67d(_0x5f0603,{'height':_0x153df0,'radius':0x4,'width':_0x431b2c,'fill':_0x7e362c}),_0x5f0603[_0x46f006(0x1d7)]='#FFF';const _0x33a145=_0x11a294,_0x47c876=_0x153df0-_0x2af8a5,_0x5639d6=_0xee24d4-0x2*_0x11a294;if(_0x54eccb>_0x5639d6){let _0x444687='',_0x4feae0=0x0;for(const _0x9a23d5 of _0x2ab479){const _0x51c8c5=_0x5f0603['measureText'](_0x9a23d5)[_0x46f006(0x33d)];if(_0x4feae0+_0x51c8c5<=_0x5639d6-_0x5f0603[_0x46f006(0x100)](_0x46f006(0x1ee))[_0x46f006(0x33d)])_0x444687+=_0x9a23d5,_0x4feae0+=_0x51c8c5;else{_0x444687+=_0x46f006(0x1ee);break;}}_0x5f0603['fillText'](_0x444687,_0x33a145,_0x47c876);}else _0x5f0603[_0x46f006(0x3dc)](_0x2ab479,_0x33a145,_0x47c876);_0x5f0603[_0x46f006(0x1f9)]();}['_draw'](_0x429faf){const _0x47efaa=_0x2fae81;_0x39e8f9[_0x47efaa(0x14f)](_0x429faf,this);}}const _0x2fc193='collab-text-anchor-',_0x10da06=_0x2fae81(0x3de),_0x15c4c0='collab-rect-range-',_0x5dfd55=0x6,_0x14fff6=1.5,_0x2cd42f=0x4,_0x3d566c=1.5,_0x3d6473='rgba(255,\x20255,\x20255,\x200.01)';class _0x516132{constructor(_0x27cb65,_0x70f498,_0x2adf08,_0x19fe41){const _0x252151=_0x2fae81;_0x2859d0(this,'_shapes',[]),_0x2859d0(this,_0x252151(0x222),null),_0x2859d0(this,_0x252151(0x14d),null),_0x2859d0(this,_0x252151(0x2a2),null),_0x2859d0(this,_0x252151(0x195),null),_0x2859d0(this,'_eventUnsubscribe',null),(this[_0x252151(0x24d)]=_0x27cb65,this[_0x252151(0x144)]=_0x70f498,this[_0x252151(0x1cf)]=_0x2adf08,this[_0x252151(0x217)]=_0x19fe41,this[_0x252151(0x3b9)]());}set[_0x2fae81(0x31a)](_0x5d4bf6){const _0x341c51=_0x2fae81;_0x5d4bf6?(this['_anchorDot']&&this[_0x341c51(0x2a2)][_0x341c51(0x200)](),this['_textBubble']&&this[_0x341c51(0x14d)][_0x341c51(0x277)]()):(this[_0x341c51(0x2a2)]&&this[_0x341c51(0x2a2)][_0x341c51(0x277)](),this[_0x341c51(0x14d)]&&this[_0x341c51(0x14d)][_0x341c51(0x200)]());}[_0x2fae81(0x106)](){const _0x326535=_0x2fae81;for(const _0x179685 of this[_0x326535(0x128)])_0x179685[_0x326535(0x106)]();this[_0x326535(0x14d)]&&this[_0x326535(0x14d)][_0x326535(0x106)](),this[_0x326535(0x2a2)]&&this[_0x326535(0x2a2)]['dispose'](),this[_0x326535(0x222)]&&this[_0x326535(0x222)][_0x326535(0x106)](),this[_0x326535(0x180)]&&this['_eventUnsubscribe']();}[_0x2fae81(0x3b9)](){const _0x93e61c=_0x2fae81;var _0x3cfa95;const {_docSkeleton:_0x190533,_document:_0xc0feb6}=this,{color:_0xe2833b,name:_0xe623e8,ranges:_0x221213}=this[_0x93e61c(0x24d)],_0x10d378=_0xc0feb6[_0x93e61c(0xef)](),{docsLeft:_0x3fbf95,docsTop:_0x1f7ee0}=_0x10d378,_0xb0081=new _0x22c0e5[(_0x93e61c(0x17e))](_0x10d378,_0x190533);for(const {startOffset:_0x4ac2c8,endOffset:_0x4b6718,rangeType:_0x486125,segmentId:_0x498de6,segmentPage:_0x207011,collapsed:_0x7bd1fe,isActive:_0xdab860}of _0x221213){const _0x5ac3a7=_0x190533['findNodePositionByCharIndex'](_0x4ac2c8,!0x0,_0x498de6,_0x207011);let _0x408461=_0x190533[_0x93e61c(0x27a)](_0x4b6718,!0x0,_0x498de6,_0x207011);if(_0x408461==null&&(_0x408461=_0x190533[_0x93e61c(0x27a)](_0x4b6718-0x1,!0x1,_0x498de6,_0x207011)),_0xdab860){const {contentBoxPointGroup:_0x133302}=_0xb0081['getRangePointData'](_0x408461,_0x408461);if(_0x133302[_0x93e61c(0x3ae)]===0x0)continue;this[_0x93e61c(0x3bc)](_0xe2833b,_0x133302,_0x3fbf95,_0x1f7ee0,_0xe623e8),this[_0x93e61c(0x180)]=this[_0x93e61c(0x2d1)]();}if(_0x5ac3a7&&_0x408461){if(_0x486125===_0x52ac88[_0x93e61c(0x3da)][_0x93e61c(0x297)]){const _0x2e1709=new _0x22c0e5[(_0x93e61c(0x1f1))](_0x10d378,_0x190533),{pointGroup:_0x432374}=(_0x3cfa95=_0x2e1709[_0x93e61c(0x3ca)](_0x5ac3a7,_0x408461))!=null?_0x3cfa95:{};if(_0x432374==null||_0x432374[_0x93e61c(0x3ae)]===0x0)continue;this['_drawRectRange'](_0xe2833b,_0x432374,_0x3fbf95,_0x1f7ee0);}else{if(!_0x7bd1fe){const {borderBoxPointGroup:_0x164b72}=_0xb0081[_0x93e61c(0x3ca)](_0x5ac3a7,_0x408461);if(_0x164b72['length']===0x0)continue;this[_0x93e61c(0x3bd)](_0xe2833b,_0x164b72,_0x3fbf95,_0x1f7ee0);}}}}}[_0x2fae81(0x3bc)](_0x2d2083,_0x437eeb,_0x26f973,_0x195ea7,_0x153ed6){const _0x97c8fb=_0x2fae81,_0x4b1376=this[_0x97c8fb(0x2aa)](_0x437eeb),{left:_0x2f387d,top:_0x2ea086,height:_0x3bb583}=_0x4b1376,_0x1077be=this[_0x97c8fb(0x22a)](),_0x3e3252=_0x3d566c/_0x1077be,_0x352aca=new _0x5652e3[(_0x97c8fb(0x2ed))](_0x2fc193+_0x52ac88[_0x97c8fb(0x2a3)](_0x5dfd55),{'left':_0x2f387d+_0x26f973-_0x3e3252,'top':_0x2ea086+_0x195ea7,'height':_0x3bb583,'width':_0x14fff6,'fill':_0x2d2083||_0x5652e3[_0x97c8fb(0x2f4)](_0x52ac88[_0x97c8fb(0x1c9)][_0x97c8fb(0x125)],0x0),'strokeWidth':_0x3e3252,'stroke':_0x3d6473,'evented':!0x0});this[_0x97c8fb(0x222)]=_0x352aca,this[_0x97c8fb(0x144)]['addObject'](_0x352aca,_0x22c0e5['TEXT_RANGE_LAYER_INDEX']);const _0x3420e3=new _0x5652e3[(_0x97c8fb(0x2ed))](_0x2fc193+_0x52ac88[_0x97c8fb(0x2a3)](_0x5dfd55),{'left':_0x2f387d+_0x26f973-_0x3e3252,'top':_0x2ea086+_0x195ea7-_0x2cd42f/0x2,'height':_0x2cd42f,'width':_0x2cd42f,'fill':_0x2d2083||_0x5652e3['getColor'](_0x52ac88['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x2d2083||_0x5652e3[_0x97c8fb(0x2f4)](_0x52ac88['COLORS'][_0x97c8fb(0x125)],0x0),'evented':!0x1});this[_0x97c8fb(0x2a2)]=_0x3420e3,this['_scene'][_0x97c8fb(0x2df)](_0x3420e3,_0x22c0e5['TEXT_RANGE_LAYER_INDEX']);const _0x5dffd8=new _0x39e8f9(_0x2fc193+_0x52ac88[_0x97c8fb(0x2a3)](_0x5dfd55),{'left':_0x2f387d+_0x26f973-_0x3e3252,'top':_0x2ea086+_0x195ea7-_0x153df0,'text':_0x153ed6,'color':_0x2d2083});this[_0x97c8fb(0x14d)]=_0x5dffd8,this[_0x97c8fb(0x144)][_0x97c8fb(0x2df)](_0x5dffd8,_0x22c0e5[_0x97c8fb(0x339)]),this['_hover']=!0x1;}[_0x2fae81(0x2d1)](){const _0x2c01d3=_0x2fae81,_0x4fd390=this['_anchor'][_0x2c01d3(0x1d0)][_0x2c01d3(0x158)](()=>{const _0x4df250=_0x2c01d3;this[_0x4df250(0x31a)]=!0x0;}),_0x2e16ac=this['_anchor'][_0x2c01d3(0x271)][_0x2c01d3(0x158)](()=>{const _0x25f4cd=_0x2c01d3;this[_0x25f4cd(0x195)]&&clearTimeout(this[_0x25f4cd(0x195)]),this['_hideTimer']=setTimeout(()=>{const _0x2dc059=_0x25f4cd;this[_0x2dc059(0x31a)]=!0x1;},0x7d0);});return()=>{const _0x1146d1=_0x2c01d3;_0x4fd390[_0x1146d1(0x270)](),_0x2e16ac['unsubscribe']();};}[_0x2fae81(0x3bd)](_0x3a6ab6,_0x373af7,_0x434d7b,_0x18d140){const _0x57fe04=_0x2fae81,_0x5c4c4d=new _0x52ac88['ColorKit'](_0x3a6ab6)[_0x57fe04(0x228)](0.2)[_0x57fe04(0x1db)](),_0x30ac84=new _0x5652e3[(_0x57fe04(0x292))](_0x10da06+_0x52ac88[_0x57fe04(0x2a3)](_0x5dfd55),{'pointsGroup':_0x373af7,'fill':_0x5c4c4d||_0x5652e3[_0x57fe04(0x2f4)](_0x52ac88[_0x57fe04(0x1c9)][_0x57fe04(0x125)],0.2),'left':_0x434d7b,'top':_0x18d140,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57fe04(0x128)][_0x57fe04(0x146)](_0x30ac84),this[_0x57fe04(0x144)][_0x57fe04(0x2df)](_0x30ac84,_0x22c0e5['TEXT_RANGE_LAYER_INDEX']);}[_0x2fae81(0x29a)](_0x1878f0,_0x457605,_0xed6c53,_0x1498f0){const _0x3e1557=_0x2fae81,_0x551f86=new _0x52ac88[(_0x3e1557(0x1e8))](_0x1878f0)['setAlpha'](0.2)['toRgbString'](),_0x4f8f56=new _0x5652e3[(_0x3e1557(0x292))](_0x15c4c0+_0x52ac88['generateRandomId'](_0x5dfd55),{'pointsGroup':_0x457605,'fill':_0x551f86||_0x5652e3[_0x3e1557(0x2f4)](_0x52ac88[_0x3e1557(0x1c9)][_0x3e1557(0x125)],0.2),'left':_0xed6c53,'top':_0x1498f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e1557(0x128)]['push'](_0x4f8f56),this[_0x3e1557(0x144)][_0x3e1557(0x2df)](_0x4f8f56,_0x22c0e5['TEXT_RANGE_LAYER_INDEX']);}[_0x2fae81(0x2aa)](_0x22e955){const _0x38cf50=_0x22e955[0x0],_0xbb859e=_0x38cf50[0x0],_0x4585aa=_0x38cf50[0x2],{x:_0x1b20d0,y:_0x521609}=_0xbb859e,{x:_0x46038b,y:_0x5ef677}=_0x4585aa;return{'left':_0x1b20d0,'top':_0x521609,'width':_0x46038b-_0x1b20d0,'height':_0x5ef677-_0x521609};}[_0x2fae81(0x22a)](){const _0x439b9e=_0x2fae81,{scaleX:_0x313044,scaleY:_0x1d31fd}=this[_0x439b9e(0x144)][_0x439b9e(0x36e)]();return Math[_0x439b9e(0x1e0)](_0x313044,_0x1d31fd);}}var _0x4e8c82=Object[_0x2fae81(0x32f)],_0x24a9a6=(_0x2f5963,_0x57a11b,_0x4c60ed,_0x29a925)=>{const _0x19ac95=_0x2fae81;for(var _0x581ea6=_0x29a925>0x1?void 0x0:_0x29a925?_0x4e8c82(_0x57a11b,_0x4c60ed):_0x57a11b,_0x496db3=_0x2f5963[_0x19ac95(0x3ae)]-0x1,_0x37295b;_0x496db3>=0x0;_0x496db3--)(_0x37295b=_0x2f5963[_0x496db3])&&(_0x581ea6=_0x37295b(_0x581ea6)||_0x581ea6);return _0x581ea6;},_0x1a4253=(_0x5402ca,_0x2ead83)=>(_0x250335,_0x24242a)=>_0x2ead83(_0x250335,_0x24242a,_0x5402ca);let _0x51afeb=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0x564972,_0x3a4101,_0x51c081,_0x45ef8e,_0x4174be){const _0x46a493=_0x2fae81;super(),_0x2859d0(this,'_cursorShapes',[]),_0x2859d0(this,'_cursors',[]),(this['_context']=_0x564972,this['_docSkeletonManagerService']=_0x3a4101,this[_0x46a493(0x330)]=_0x51c081,this[_0x46a493(0x1df)]=_0x45ef8e,this[_0x46a493(0x169)]=_0x4174be,this[_0x46a493(0x39e)]());}[_0x2fae81(0x39e)](){const _0x384362=_0x2fae81,_0x633d76=this[_0x384362(0x2c2)][_0x384362(0x338)],_0x550033=this[_0x384362(0x1ab)];this['disposeWithMe'](_0x2b2634[_0x384362(0x262)]([this['_collabCursorController'][_0x384362(0x15a)](_0x633d76),this[_0x384362(0x169)][_0x384362(0x1e2)]])[_0x384362(0x357)](_0x293824[_0x384362(0x309)](([_0x3cf237,_0x53e0a2])=>({'skeleton':_0x550033[_0x384362(0x328)](),'cursors':[..._0x3cf237[_0x384362(0x1fd)]()][_0x384362(0x3ab)](_0xa00fe2=>({..._0xa00fe2,'color':this[_0x384362(0x169)][_0x384362(0x3c8)](_0xa00fe2[_0x384362(0x3dd)])}))})))[_0x384362(0x17b)](_0x14a531=>{const _0x7a25db=_0x384362;if(this[_0x7a25db(0x2f5)](),_0x14a531){const {skeleton:_0x3109d3,cursors:_0x13e3a1}=_0x14a531;this[_0x7a25db(0x184)](_0x3109d3,_0x13e3a1);}})),this[_0x384362(0x30b)](),this['_initCommandExecutedListener']();}[_0x2fae81(0x184)](_0x32ca55,_0x2dfbda){const _0x464de8=_0x2fae81,{scene:_0x3f7097,mainComponent:_0x50e75e}=this[_0x464de8(0x2c2)],_0x32a73b=_0x2dfbda[_0x464de8(0x309)](_0x1ed4df=>new _0x516132(_0x1ed4df,_0x3f7097,_0x32ca55,_0x50e75e));this['_cursorShapes']=_0x32a73b,this[_0x464de8(0x38f)]=_0x2dfbda;}['_refreshCollabCursors'](){const _0xe5a5a7=_0x2fae81;this[_0xe5a5a7(0x2f5)]();const {scene:_0x1e3906,mainComponent:_0x5dc108}=this[_0xe5a5a7(0x2c2)],_0x239234=this[_0xe5a5a7(0x1ab)][_0xe5a5a7(0x328)](),_0x13f9fa=this[_0xe5a5a7(0x38f)][_0xe5a5a7(0x309)](_0x237a3e=>new _0x516132(_0x237a3e,_0x1e3906,_0x239234,_0x5dc108));this[_0xe5a5a7(0x260)]=_0x13f9fa;}[_0x2fae81(0x2f5)](){const _0x8aa2a2=_0x2fae81;this[_0x8aa2a2(0x260)][_0x8aa2a2(0x26a)](_0xbf8090=>_0xbf8090[_0x8aa2a2(0x106)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x44a8c0=_0x2fae81,_0x3b323a=[_0x22c0e5[_0x44a8c0(0x24b)]['id']];this[_0x44a8c0(0x141)](this[_0x44a8c0(0x1df)][_0x44a8c0(0x1ac)](_0x4733c6=>{const _0x4d8290=_0x44a8c0;_0x3b323a['includes'](_0x4733c6['id'])&&_0x4733c6[_0x4d8290(0x124)]['unitId']===this[_0x4d8290(0x2c2)][_0x4d8290(0x338)]&&this[_0x4d8290(0x107)]();}));}['_initResize'](){const _0x2714e8=_0x2fae81;this[_0x2714e8(0x141)](_0x52ac88[_0x2714e8(0x147)](this[_0x2714e8(0x2c2)][_0x2714e8(0xf4)]['onTransformChange$'])[_0x2714e8(0x357)](_0x293824['filter'](_0x55ea44=>_0x55ea44['type']===_0x5652e3[_0x2714e8(0x37e)]['resize']),_0x293824['throttleTime'](0x10))[_0x2714e8(0x17b)](()=>{const _0x370079=_0x2714e8;this[_0x370079(0x107)]();}));}};_0x51afeb=_0x24a9a6([_0x1a4253(0x1,_0x52ac88[_0x2fae81(0x34d)](_0x266e85[_0x2fae81(0x35d)])),_0x1a4253(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x4c9861)),_0x1a4253(0x3,_0x52ac88['ICommandService']),_0x1a4253(0x4,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x1aa)]))],_0x51afeb);const _0x5632d7=0x1,_0x77afbe=1.5;class _0x7078a3 extends _0x5652e3['Shape']{constructor(_0x485cfc,_0x257fca){const _0x588a39=_0x2fae81;super(_0x485cfc,_0x257fca),_0x2859d0(this,_0x588a39(0x3ba)),_0x2859d0(this,_0x588a39(0x387),!0x1),_0x2859d0(this,_0x588a39(0x133)),_0x2859d0(this,'_name',''),_0x2859d0(this,'_labelPosition',_0x588a39(0x105)),_0x2859d0(this,_0x588a39(0x325)),(_0x257fca&&this[_0x588a39(0x3d9)](_0x257fca),this[_0x588a39(0x1d0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x588a39(0x271)][_0x588a39(0x158)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2fae81(0x3d9)](_0x4c3c6c){const _0x22ffd3=_0x2fae81;var _0x41e482,_0x2e09c6,_0x3aab4d,_0x21ec0f,_0x3cf1be,_0x3c0da4;this['_color']=(_0x41e482=_0x4c3c6c[_0x22ffd3(0x3dd)])!=null?_0x41e482:this[_0x22ffd3(0x3ba)],this[_0x22ffd3(0x387)]=(_0x2e09c6=_0x4c3c6c[_0x22ffd3(0x1a0)])!=null?_0x2e09c6:this['_hovered'],this[_0x22ffd3(0x133)]=(_0x3aab4d=_0x4c3c6c[_0x22ffd3(0x3b0)])!=null?_0x3aab4d:this[_0x22ffd3(0x133)],this[_0x22ffd3(0x2c9)]=(_0x21ec0f=_0x4c3c6c[_0x22ffd3(0x1e1)])!=null?_0x21ec0f:this[_0x22ffd3(0x2c9)],this[_0x22ffd3(0x189)]=(_0x3cf1be=_0x4c3c6c[_0x22ffd3(0x2d3)])!=null?_0x3cf1be:this['_labelPosition'],this[_0x22ffd3(0x325)]=(_0x3c0da4=_0x4c3c6c[_0x22ffd3(0xf1)])!=null?_0x3c0da4:this[_0x22ffd3(0x325)],this[_0x22ffd3(0x20e)]({'width':_0x4c3c6c[_0x22ffd3(0x33d)],'height':_0x4c3c6c[_0x22ffd3(0x15b)]});}['onMouseMove'](_0x4f2a12){const _0x6cc1ba=_0x2fae81,{row:_0x16a75d,column:_0x1bbdb7}=_0x4f2a12;if(_0x16a75d>=this['_range'][_0x6cc1ba(0x3b4)]&&_0x16a75d<=this['_range'][_0x6cc1ba(0x301)]&&_0x1bbdb7>=this['_range']['startColumn']&&_0x1bbdb7<=this[_0x6cc1ba(0x133)][_0x6cc1ba(0xf7)]){this[_0x6cc1ba(0x3d9)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2fae81(0x135)](_0x24115f){return!0x1;}['_draw'](_0xeba18f){const _0x13c8fd=_0x2fae81;_0x5652e3[_0x13c8fd(0x2ed)][_0x13c8fd(0x14f)](_0xeba18f,{'width':this['width'],'height':this['height'],'strokeWidth':_0x77afbe,'stroke':this[_0x13c8fd(0x3ba)],'evented':!0x1,'fill':this[_0x13c8fd(0x325)]}),this['_hovered']&&(_0xeba18f[_0x13c8fd(0x3aa)](),_0xeba18f[_0x13c8fd(0x23a)](0x1,0x0,0x0,0x1,this[_0x13c8fd(0x33d)],this['_labelPosition']==='bottom'?0x0:-_0x153df0),_0x39e8f9['drawWith'](_0xeba18f,{'text':this[_0x13c8fd(0x2c9)],'color':this[_0x13c8fd(0x3ba)]}),_0xeba18f[_0x13c8fd(0x1f9)]());}}var _0x5c4018=Object['getOwnPropertyDescriptor'],_0x3cb15d=(_0x59194e,_0x55d54f,_0x3571f3,_0x1f53f2)=>{const _0x4f27c6=_0x2fae81;for(var _0x161d39=_0x1f53f2>0x1?void 0x0:_0x1f53f2?_0x5c4018(_0x55d54f,_0x3571f3):_0x55d54f,_0x140a17=_0x59194e[_0x4f27c6(0x3ae)]-0x1,_0x4f556e;_0x140a17>=0x0;_0x140a17--)(_0x4f556e=_0x59194e[_0x140a17])&&(_0x161d39=_0x4f556e(_0x161d39)||_0x161d39);return _0x161d39;},_0x4ba0b7=(_0x2f6efd,_0x5042e5)=>(_0x3951ee,_0x34751e)=>_0x5042e5(_0x3951ee,_0x34751e,_0x2f6efd);const _0x110286=0x1389;let _0x414644=class extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(_0x5bb456,_0x3d2980,_0x363021,_0x32b7de){const _0x35e54b=_0x2fae81;super(),_0x2859d0(this,_0x35e54b(0x38f),new Set()),_0x2859d0(this,_0x35e54b(0x2e0),null),(this['_context']=_0x5bb456,this[_0x35e54b(0x377)]=_0x3d2980,this[_0x35e54b(0x330)]=_0x363021,this[_0x35e54b(0x169)]=_0x32b7de,this[_0x35e54b(0x39e)]());}['_init'](){const _0x4b0370=_0x2fae81;this[_0x4b0370(0x377)]['currentSkeleton$'][_0x4b0370(0x357)](_0x293824[_0x4b0370(0x1f4)](this[_0x4b0370(0x394)]),_0x293824['switchMap'](_0x3989f4=>{const _0x51d533=_0x4b0370;if(_0x3989f4){const _0x226c1d=_0x3989f4['sheetId'];return _0x2b2634['combineLatest'](this['_collabCursorController'][_0x51d533(0x15a)](this[_0x51d533(0x2c2)]['unitId']),this[_0x51d533(0x169)][_0x51d533(0x1e2)])[_0x51d533(0x357)](_0x293824[_0x51d533(0x309)](([_0x12e7e6,_0x1ae7e7])=>{const _0x4f0427=_0x51d533,_0x529a5c=new Map();return _0x12e7e6[_0x4f0427(0x26a)]((_0x533edc,_0x39d71c)=>{const _0x512f50=_0x4f0427;if(_0x533edc[_0x512f50(0x19e)]===_0x226c1d){const _0x34d6df={..._0x533edc};_0x34d6df['color']=this[_0x512f50(0x169)][_0x512f50(0x3c8)](_0x533edc['color']),_0x529a5c[_0x512f50(0x36c)](_0x39d71c,_0x34d6df);}}),{'skeleton':_0x3989f4,'cursors':_0x529a5c};}));}return _0x2b2634['of']({'skeleton':null,'cursors':new Map()});}))[_0x4b0370(0x17b)](({skeleton:_0x2e929a,cursors:_0x56091e})=>{const _0x5c131b=_0x4b0370;this[_0x5c131b(0x2f5)](),_0x2e929a&&this[_0x5c131b(0x184)](_0x2e929a,_0x56091e);}),this[_0x4b0370(0x377)][_0x4b0370(0x2fe)][_0x4b0370(0x17b)](_0x3cd215=>{const _0x49937f=_0x4b0370;if(_0x3cd215==null)return;const {skeleton:_0xc681da}=_0x3cd215,{scene:_0x2053a9}=this['_context'];_0x2053a9[_0x49937f(0x122)][_0x49937f(0x158)](_0x52ac88['debounce'](_0x226cbe=>{const _0x5d3a49=_0x49937f;var _0x228fb0,_0x58b891;const {offsetX:_0xede57,offsetY:_0x2d6963}=_0x226cbe,{x:_0x3b512e,y:_0x33e4fd}=_0x2053a9[_0x5d3a49(0x20a)](_0x5652e3[_0x5d3a49(0x111)][_0x5d3a49(0x2dc)]([_0xede57,_0x2d6963])),{scaleX:_0x5c64f1,scaleY:_0x2f95ee}=_0x2053a9[_0x5d3a49(0x36e)](),_0x7f693b=_0x2053a9[_0x5d3a49(0x360)](_0x5652e3[_0x5d3a49(0x319)]['VIEW_MAIN']),_0x42e90c=_0x2053a9['getVpScrollXYInfoByPosToVp'](_0x5652e3[_0x5d3a49(0x111)][_0x5d3a49(0x2dc)]([_0x3b512e,_0x33e4fd]),_0x7f693b),_0x4816a3=_0xc681da[_0x5d3a49(0x39c)](_0xede57,_0x2d6963,_0x5c64f1,_0x2f95ee,_0x42e90c);((_0x228fb0=this[_0x5d3a49(0x2e0)])==null?void 0x0:_0x228fb0[_0x5d3a49(0x1e3)])===_0x4816a3['column']&&((_0x58b891=this['_lastPointer'])==null?void 0x0:_0x58b891['row'])===_0x4816a3[_0x5d3a49(0x161)]||this['_cursors']['forEach'](_0xf56fcb=>{const _0x2d9bac=_0x5d3a49;_0xf56fcb[_0x2d9bac(0x1fb)](_0x4816a3);});},0x64));});}[_0x2fae81(0x184)](_0x3dd071,_0x1a7478){const _0x4e7154=_0x2fae81;var _0x24d41a;const _0x80329e=(_0x24d41a=this[_0x4e7154(0x377)][_0x4e7154(0x356)]())==null?void 0x0:_0x24d41a[_0x4e7154(0x344)];if(!_0x80329e)return;const _0x569bf2=this['_getSheetObject']();if(!_0x569bf2)return;this[_0x4e7154(0x38f)][_0x4e7154(0x26a)](_0x673fa0=>{const _0x5dd9f4=_0x4e7154;_0x673fa0[_0x5dd9f4(0x25f)]();});const {scene:_0x116277}=_0x569bf2,_0x5306c=_0x2fe988(Array[_0x4e7154(0x326)](_0x1a7478[_0x4e7154(0x1fd)]()))[_0x4e7154(0x309)](_0x5c0b26=>{const _0x141285=_0x4e7154,{color:_0x2f80ba,range:_0x19ac76,name:_0x24fade,selection:_0x3e639f,sheetID:_0x2f5014}=_0x5c0b26,{startColumn:_0x530244,startRow:_0xbe0bfb,endColumn:_0x78b2aa,endRow:_0x4f2ac4}=_0x19ac76,_0x25e42b=_0x422eca[_0x141285(0x256)](_0xbe0bfb,_0x530244,_0x116277,_0x80329e),_0x5181d4=_0x422eca['getCoordByCell'](_0x4f2ac4,_0x78b2aa,_0x116277,_0x80329e),{columnHeaderHeightAndMarginTop:_0x447363}=_0x80329e,{startX:_0x5cd1f8,startY:_0x539d24}=_0x25e42b,{endX:_0x411418,endY:_0x4a23d4}=_0x5181d4,_0x2063f6=_0x411418-_0x5cd1f8,_0x4c7f73=_0x4a23d4-_0x539d24,_0x8a5c1c={'labelPosition':_0x539d24-_0x447363>=_0x153df0?_0x141285(0x105):'bottom','sheetID':_0x2f5014,'range':_0x19ac76,'color':_0x2f80ba,'name':_0x24fade,'selection':_0x3e639f,'left':_0x5cd1f8,'top':_0x539d24,'width':_0x2063f6,'height':_0x4c7f73,'evented':!0x1,'zIndex':_0x110286};return new _0x7078a3(_0x24fade,_0x8a5c1c);});_0x116277[_0x4e7154(0x34a)](_0x5306c,_0x5632d7),this[_0x4e7154(0x38f)]=new Set(_0x5306c);}[_0x2fae81(0x2f5)](){const _0x190ff8=_0x2fae81;var _0x38965a;(_0x38965a=this[_0x190ff8(0x38f)])==null||_0x38965a[_0x190ff8(0x26a)](_0x1bd8a9=>_0x1bd8a9[_0x190ff8(0x106)]());}[_0x2fae81(0x3e4)](){const _0x27df13=_0x2fae81;return _0x422eca[_0x27df13(0x3c4)](this['_context'][_0x27df13(0xfe)],this[_0x27df13(0x2c2)]);}};_0x414644=_0x3cb15d([_0x4ba0b7(0x1,_0x52ac88['Inject'](_0x422eca[_0x2fae81(0x13a)])),_0x4ba0b7(0x2,_0x52ac88['Inject'](_0x4c9861)),_0x4ba0b7(0x3,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x1aa)]))],_0x414644);function _0x2fe988(_0x532296){const _0x48d888=_0x2fae81,_0x57b899=new Map();return _0x532296[_0x48d888(0x26a)](_0x2c615b=>{const _0x194afa=_0x48d888;if(_0x57b899['has'](_0x2c615b[_0x194afa(0x1ce)])){const _0x1a9966=_0x57b899[_0x194afa(0x2ef)](_0x2c615b[_0x194afa(0x1ce)]);_0x1a9966[_0x194afa(0x1e1)]+=',\x20'+_0x2c615b[_0x194afa(0x1e1)];}else _0x57b899[_0x194afa(0x36c)](_0x2c615b[_0x194afa(0x1ce)],_0x2c615b);}),Array[_0x48d888(0x326)](_0x57b899[_0x48d888(0x1fd)]());}var _0x33ff03=Object[_0x2fae81(0x32f)],_0xb0d08f=(_0x3e1b31,_0x50dd39,_0x37d184,_0x327f7b)=>{const _0x51d9c1=_0x2fae81;for(var _0x3f5751=_0x327f7b>0x1?void 0x0:_0x327f7b?_0x33ff03(_0x50dd39,_0x37d184):_0x50dd39,_0x1c3daf=_0x3e1b31[_0x51d9c1(0x3ae)]-0x1,_0xc30876;_0x1c3daf>=0x0;_0x1c3daf--)(_0xc30876=_0x3e1b31[_0x1c3daf])&&(_0x3f5751=_0xc30876(_0x3f5751)||_0x3f5751);return _0x3f5751;},_0x108aff=(_0xe2c96f,_0x4ceb3a)=>(_0x222dcc,_0x37cf06)=>_0x4ceb3a(_0x222dcc,_0x37cf06,_0xe2c96f);let _0x1c0c30=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x221c6e,_0x3d2bf2,_0x465af9,_0x20a312,_0x5cf68e,_0x4b54a9){const _0x2ecbc4=_0x2fae81;super(),this['_beforeCloseService']=_0x221c6e,this[_0x2ecbc4(0x397)]=_0x3d2bf2,this[_0x2ecbc4(0x281)]=_0x465af9,this[_0x2ecbc4(0x1cd)]=_0x20a312,this[_0x2ecbc4(0x350)]=_0x5cf68e,this[_0x2ecbc4(0x22c)]=_0x4b54a9,this['_setupBeforeClosingHandler'](),this[_0x2ecbc4(0x1dc)]();}[_0x2fae81(0x1c2)](){const _0x52a404=_0x2fae81;this['disposeWithMe'](this[_0x52a404(0x1ae)][_0x52a404(0x29f)](()=>{const _0x73fac9=_0x52a404;if(this[_0x73fac9(0x397)][_0x73fac9(0x331)]['size'])return this[_0x73fac9(0x22c)]['t'](_0x73fac9(0x317));}));}['_initEvent'](){const _0x5cf39d=_0x2fae81;this[_0x5cf39d(0x141)](this[_0x5cf39d(0x281)]['event$']['subscribe'](_0xb2bb6b=>{const _0x1f87ba=_0x5cf39d;_0xb2bb6b['id']===_0x36cfba['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1f87ba(0x1cd)][_0x1f87ba(0x277)]({'type':_0x167111[_0x1f87ba(0x160)][_0x1f87ba(0x3a5)],'content':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x1d4))}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)][_0x1f87ba(0x2d2)]&&this[_0x1f87ba(0x1cd)]['show']({'type':_0x167111['MessageType']['Warning'],'content':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x170))}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)]['PERMISSION_DENIED']&&this[_0x1f87ba(0x350)]['show']({'title':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x3ad)),'content':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x2ff)),'type':_0x1f87ba(0x16c),'duration':0x0}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)][_0x1f87ba(0x391)]&&this[_0x1f87ba(0x1cd)]['show']({'type':_0x167111['MessageType'][_0x1f87ba(0x334)],'content':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x170))+'('+_0xb2bb6b[_0x1f87ba(0x21a)]+')'}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)][_0x1f87ba(0x367)]&&this[_0x1f87ba(0x1cd)][_0x1f87ba(0x277)]({'type':_0x167111[_0x1f87ba(0x160)][_0x1f87ba(0x3a5)],'content':this[_0x1f87ba(0x22c)]['t'](_0xb2bb6b[_0x1f87ba(0x21a)]||'')}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)][_0x1f87ba(0x295)]&&this[_0x1f87ba(0x1cd)]['show']({'type':_0x167111[_0x1f87ba(0x160)][_0x1f87ba(0x3a5)],'content':this[_0x1f87ba(0x22c)]['t'](_0x1f87ba(0x28c))}),_0xb2bb6b['id']===_0x36cfba[_0x1f87ba(0x29e)][_0x1f87ba(0x140)]&&this[_0x1f87ba(0x1cd)][_0x1f87ba(0x277)]({'type':_0x167111[_0x1f87ba(0x160)][_0x1f87ba(0x334)],'content':this['_localeService']['t'](_0x1f87ba(0x23b))}),_0xb2bb6b['id']===_0x36cfba['CollaborationUIEventId'][_0x1f87ba(0x1bd)]&&this['_messageService'][_0x1f87ba(0x277)]({'type':_0x167111['MessageType'][_0x1f87ba(0x334)],'content':this[_0x1f87ba(0x22c)]['t']('session.collaboration-timeout')});}));}};_0x1c0c30=_0xb0d08f([_0x108aff(0x0,_0x4e1f2d[_0x2fae81(0x282)]),_0x108aff(0x1,_0x36cfba[_0x2fae81(0x138)]),_0x108aff(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba[_0x2fae81(0x310)])),_0x108aff(0x3,_0x4e1f2d['IMessageService']),_0x108aff(0x4,_0x4e1f2d[_0x2fae81(0x26c)]),_0x108aff(0x5,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x272)]))],_0x1c0c30);var _0x4bc61b=Object[_0x2fae81(0x32f)],_0x326d21=(_0x4279b9,_0x45a744,_0x47c489,_0x396543)=>{const _0x28bbdd=_0x2fae81;for(var _0x3440db=_0x396543>0x1?void 0x0:_0x396543?_0x4bc61b(_0x45a744,_0x47c489):_0x45a744,_0x6b921f=_0x4279b9[_0x28bbdd(0x3ae)]-0x1,_0x2657bc;_0x6b921f>=0x0;_0x6b921f--)(_0x2657bc=_0x4279b9[_0x6b921f])&&(_0x3440db=_0x2657bc(_0x3440db)||_0x3440db);return _0x3440db;},_0x12134b=(_0x141b9a,_0x28f4be)=>(_0x118fd6,_0x131528)=>_0x28f4be(_0x118fd6,_0x131528,_0x141b9a);let _0x4659b7=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x152992,_0x377589,_0x2db8b9,_0x301220){const _0x27be14=_0x2fae81;super(),_0x2859d0(this,_0x27be14(0x38b)),(this[_0x27be14(0x219)]=_0x152992,this[_0x27be14(0x19b)]=_0x377589,this[_0x27be14(0x30f)]=_0x2db8b9,this[_0x27be14(0x1ec)]=_0x301220,this[_0x27be14(0x39e)]());}['_init'](){const _0x43fb7a=_0x2fae81;this[_0x43fb7a(0x165)](),this['_initUnhandledRejectionListener'](),this[_0x43fb7a(0x14c)](),this[_0x43fb7a(0x337)]();}['_initUserListener'](){const _0x571672=_0x2fae81;this['disposeWithMe'](this[_0x571672(0x1ec)]['socket$'][_0x571672(0x17b)](_0x30e9c8=>{const _0x60a9ed=_0x571672;this[_0x60a9ed(0x38b)]=_0x30e9c8==null?void 0x0:_0x30e9c8[_0x60a9ed(0x35c)];}));}[_0x2fae81(0x165)](){const _0x507a35=_0x2fae81,_0x2f935d=_0x204a11=>{const _0x150c9f=_0x4160;var _0xbf15cf;this[_0x150c9f(0x3cb)](_0x150c9f(0x16c),_0x150c9f(0x201)+_0x204a11[_0x150c9f(0x2d4)]+_0x150c9f(0x31f)+_0x204a11['filename']+':'+_0x204a11[_0x150c9f(0x220)]+':'+_0x204a11[_0x150c9f(0x11f)]+'\x0a'+(((_0xbf15cf=_0x204a11[_0x150c9f(0x16c)])==null?void 0x0:_0xbf15cf[_0x150c9f(0x1d8)])||''));};window[_0x507a35(0x188)](_0x507a35(0x16c),_0x2f935d),this[_0x507a35(0x141)](()=>{const _0x4d0fea=_0x507a35;window[_0x4d0fea(0x3e1)]('error',_0x2f935d);});}[_0x2fae81(0x340)](){const _0x3d48e9=_0x2fae81,_0x41b9a7=_0x37974d=>{const _0x5034ce=_0x4160;this[_0x5034ce(0x3cb)](_0x5034ce(0x16c),_0x5034ce(0x2b4)+_0x37974d[_0x5034ce(0x2a5)]);};window[_0x3d48e9(0x188)](_0x3d48e9(0x2de),_0x41b9a7),this[_0x3d48e9(0x141)](()=>{const _0x4442de=_0x3d48e9;window[_0x4442de(0x3e1)]('unhandledrejection',_0x41b9a7);});}[_0x2fae81(0x14c)](){const _0x4bd735=_0x2fae81,_0x168041=this['_logService'][_0x4bd735(0x16c)][_0x4bd735(0x263)](this['_logService']);this['_logService']['error']=(..._0xbc4454)=>{const _0x12fd2b=_0x4bd735,_0x253e7e=_0xbc4454[_0x12fd2b(0x309)](_0x5d8098=>_0x5d8098 instanceof Error?_0x5d8098['message']+'\x0a'+_0x5d8098[_0x12fd2b(0x1d8)]:String(_0x5d8098))['join']('\x20');this['_uploadLog'](_0x12fd2b(0x16c),_0x12fd2b(0x302)+_0x253e7e),_0x168041(..._0xbc4454);},this[_0x4bd735(0x141)](()=>{const _0x486bea=_0x4bd735;this[_0x486bea(0x30f)]['error']=_0x168041;});}[_0x2fae81(0x3cb)](_0xbb4307,_0x7ceb52){const _0xb6cdb4=_0x2fae81;try{const _0x34849b={'userId':this[_0xb6cdb4(0x38b)],'logLabel':_0xbb4307,'content':_0x7ceb52};this[_0xb6cdb4(0x19b)][_0xb6cdb4(0x261)](_0xb6cdb4(0x286),{'body':_0x34849b})[_0xb6cdb4(0x18d)](()=>{});}catch{}}};_0x4659b7=_0x326d21([_0x12134b(0x0,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88['Injector'])),_0x12134b(0x1,_0x52ac88['Inject'](_0x4be759[_0x2fae81(0x24e)])),_0x12134b(0x2,_0x52ac88['ILogService']),_0x12134b(0x3,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba[_0x2fae81(0x1a5)]))],_0x4659b7);const _0x4a2719=_0x2fae81(0x2d8),_0x16ef0b={};var _0x527a68=Object['getOwnPropertyDescriptor'],_0x14057c=(_0x419ee9,_0x57040f,_0x25c1b8,_0x5dc065)=>{const _0x10075c=_0x2fae81;for(var _0xcf39b4=_0x5dc065>0x1?void 0x0:_0x5dc065?_0x527a68(_0x57040f,_0x25c1b8):_0x57040f,_0xcc651e=_0x419ee9[_0x10075c(0x3ae)]-0x1,_0x12fba8;_0xcc651e>=0x0;_0xcc651e--)(_0x12fba8=_0x419ee9[_0xcc651e])&&(_0xcf39b4=_0x12fba8(_0xcf39b4)||_0xcf39b4);return _0xcf39b4;},_0x2ac70f=(_0x36249d,_0x22ee19)=>(_0x969b37,_0x2946ee)=>_0x22ee19(_0x969b37,_0x2946ee,_0x36249d);let _0xfedba1=class{constructor(_0x502aa0,_0x21c6ad){const _0x33df79=_0x2fae81;this[_0x33df79(0x2cf)]=_0x502aa0,this[_0x33df79(0x16b)]=_0x21c6ad;}[_0x2fae81(0x2ca)](_0x1f0571){const _0x2f4fc2=_0x2fae81;this[_0x2f4fc2(0x39d)](_0x1f0571),this['_transformPreviousActiveRange'](_0x1f0571);}['transformRemoteChangeset'](_0x6cdb0e){const _0x277f8c=_0x2fae81,{unitID:_0x2dd3f9}=_0x6cdb0e,_0x5f17a6=this[_0x277f8c(0x16b)][_0x277f8c(0x174)](_0x2dd3f9)[_0x277f8c(0x17a)](_0x22c0e5['DocIMEInputManagerService']),{redoCache:_0x642b3c}=_0x5f17a6[_0x277f8c(0x294)]();if(_0x642b3c['length']===0x0)return _0x6cdb0e;let _0x50c72f=_0x52ac88[_0x277f8c(0x21e)][_0x277f8c(0x362)](_0x6cdb0e[_0x277f8c(0x1a7)][0x0]);for(let _0x37227f=0x0;_0x37227f<_0x642b3c[_0x277f8c(0x3ae)];_0x37227f++){const _0x233da7={'id':_0x277f8c(0x341),'params':{..._0x642b3c[_0x37227f]}},_0x562cfa=this[_0x277f8c(0x2cf)][_0x277f8c(0x31d)](_0x50c72f,_0x233da7,!0x1);if(_0x5099b3[_0x277f8c(0x109)](_0x562cfa))throw _0x562cfa['error'];_0x50c72f=_0x562cfa['m1Prime'];}return{..._0x52ac88['Tools'][_0x277f8c(0x362)](_0x6cdb0e),'mutations':[_0x50c72f]};}['_transformUndoRedoStack'](_0x4c94bf){const _0x3a602a=_0x2fae81,{unitID:_0x133565}=_0x4c94bf,_0x14158d=this[_0x3a602a(0x16b)]['getRenderById'](_0x133565)[_0x3a602a(0x17a)](_0x22c0e5[_0x3a602a(0x1d6)]),{undoCache:_0x250568,redoCache:_0x3c9abb}=_0x14158d[_0x3a602a(0x294)]();if(_0x250568['length']===0x0||_0x3c9abb[_0x3a602a(0x3ae)]===0x0)return;const _0x4931e3=[],_0x572904=[];let _0x58cae9=_0x52ac88['Tools'][_0x3a602a(0x362)](_0x4c94bf['mutations'][0x0]),_0xdeaf93=_0x52ac88['Tools']['deepClone'](_0x4c94bf[_0x3a602a(0x1a7)][0x0]);for(let _0x3ec900=_0x250568[_0x3a602a(0x3ae)]-0x1;_0x3ec900>=0x0;_0x3ec900--){const _0x3a540a={'id':_0x3a602a(0x341),'params':{..._0x250568[_0x3ec900]}},_0x32ec80={'id':_0x3a602a(0x341),'params':{..._0x3c9abb[_0x3ec900]}},_0x493889=this[_0x3a602a(0x2cf)]['transformMutation'](_0x58cae9,_0x3a540a,!0x1),_0x2c277f=this[_0x3a602a(0x2cf)][_0x3a602a(0x31d)](_0xdeaf93,_0x32ec80,!0x1);if(_0x5099b3[_0x3a602a(0x109)](_0x493889))throw _0x493889[_0x3a602a(0x16c)];if(_0x5099b3[_0x3a602a(0x109)](_0x2c277f))throw _0x2c277f[_0x3a602a(0x16c)];_0x4931e3[_0x3a602a(0x1d2)](_0x493889[_0x3a602a(0x1f7)][_0x3a602a(0x124)]),_0x572904['unshift'](_0x2c277f[_0x3a602a(0x1f7)][_0x3a602a(0x124)]),_0x58cae9=_0x493889[_0x3a602a(0x363)],_0xdeaf93=_0x2c277f[_0x3a602a(0x363)];}_0x14158d[_0x3a602a(0x16f)]({'undoCache':_0x4931e3,'redoCache':_0x572904});}[_0x2fae81(0x153)](_0x40abe6){const _0x1ec60e=_0x2fae81,{unitID:_0x31a939}=_0x40abe6,_0x177788=this['_renderManagerService']['getRenderById'](_0x31a939)[_0x1ec60e(0x17a)](_0x22c0e5[_0x1ec60e(0x1d6)]),_0x2255b5=_0x177788[_0x1ec60e(0x311)]();if(_0x2255b5==null)return;const _0x186356=[{'id':_0x1ec60e(0x341),'params':{'unitId':_0x40abe6[_0x1ec60e(0x1fe)],'actions':null,'textRanges':[_0x2255b5]}}],_0x551b52=this[_0x1ec60e(0x2cf)][_0x1ec60e(0x21d)](_0x40abe6,_0x186356);if(!_0x5099b3[_0x1ec60e(0x191)](_0x551b52))throw _0x551b52['error'];const _0x1780de=_0x551b52[_0x1ec60e(0x1f7)][0x0][_0x1ec60e(0x124)][_0x1ec60e(0x1b6)];Array['isArray'](_0x1780de)&&_0x1780de[_0x1ec60e(0x3ae)]&&_0x177788[_0x1ec60e(0x313)](_0x1780de[0x0]);}};_0xfedba1=_0x14057c([_0x2ac70f(0x0,_0x5099b3['ITransformService']),_0x2ac70f(0x1,_0x5652e3[_0x2fae81(0x234)])],_0xfedba1);var _0x54c1bd=Object[_0x2fae81(0x32f)],_0xdea841=(_0xbf8811,_0x151614,_0x4c361a,_0x2f2abf)=>{const _0xc1adc3=_0x2fae81;for(var _0x5f2d8f=_0x2f2abf>0x1?void 0x0:_0x2f2abf?_0x54c1bd(_0x151614,_0x4c361a):_0x151614,_0x518f6a=_0xbf8811[_0xc1adc3(0x3ae)]-0x1,_0x52a4a2;_0x518f6a>=0x0;_0x518f6a--)(_0x52a4a2=_0xbf8811[_0x518f6a])&&(_0x5f2d8f=_0x52a4a2(_0x5f2d8f)||_0x5f2d8f);return _0x5f2d8f;},_0xfb4913=(_0x592025,_0x14fb7d)=>(_0x2ef830,_0x3ab573)=>_0x14fb7d(_0x2ef830,_0x3ab573,_0x592025);let _0x34a2ef=class{constructor(_0xb3dad5,_0x377b70,_0x2b11cb){const _0x188118=_0x2fae81;this['_injector']=_0xb3dad5,this['_transformService']=_0x377b70,this[_0x188118(0x249)]=_0x2b11cb;}[_0x2fae81(0x18a)](_0x2b801e){const _0x4fcdf1=_0x2fae81;this[_0x4fcdf1(0xfc)](_0x2b801e);}['transformRemoteChangeset'](_0x530911){const _0x5a32ae=_0x2fae81,{unitID:_0x3ec213}=_0x530911,{collaboration:_0x3999c1}=this['_docStateChangeManagerService'][_0x5a32ae(0x2cd)](_0x3ec213);if(_0x3999c1[_0x5a32ae(0x3ae)]===0x0)return _0x530911;let _0x5c8bb4=_0x52ac88[_0x5a32ae(0x21e)]['deepClone'](_0x530911['mutations'][0x0]);for(let _0x596b9b=0x0;_0x596b9b<_0x3999c1['length'];_0x596b9b++){const _0x5d69f2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3999c1[_0x596b9b][_0x5a32ae(0x338)],..._0x3999c1[_0x596b9b][_0x5a32ae(0x12e)]}},_0x5cc43f=this[_0x5a32ae(0x2cf)]['transformMutation'](_0x5c8bb4,_0x5d69f2,!0x1);if(_0x5099b3[_0x5a32ae(0x109)](_0x5cc43f))throw _0x5cc43f['error'];_0x5c8bb4=_0x5cc43f[_0x5a32ae(0x363)];}return{..._0x52ac88[_0x5a32ae(0x21e)][_0x5a32ae(0x362)](_0x530911),'mutations':[_0x5c8bb4]};}['_transformHistoryAndStateStack'](_0x375a84){const _0x459ef7=_0x2fae81,{unitID:_0x33395c}=_0x375a84,{history:_0x2655b6,collaboration:_0xbda380}=this[_0x459ef7(0x249)]['getStateCache'](_0x33395c);if(_0x2655b6['length']===0x0&&_0xbda380[_0x459ef7(0x3ae)]===0x0)return;const _0x31957b=[],_0x590e87=[];let _0x272573=_0x52ac88['Tools'][_0x459ef7(0x362)](_0x375a84[_0x459ef7(0x1a7)][0x0]),_0xbf682c=_0x52ac88['Tools']['deepClone'](_0x375a84[_0x459ef7(0x1a7)][0x0]);for(let _0x1b34dd=_0x2655b6[_0x459ef7(0x3ae)]-0x1;_0x1b34dd>=0x0;_0x1b34dd--){const _0x5ae6ca={'id':_0x459ef7(0x341),'params':{'unitId':_0x2655b6[_0x1b34dd][_0x459ef7(0x338)],..._0x2655b6[_0x1b34dd][_0x459ef7(0x2b6)]}},_0x5ad4b0={'id':_0x459ef7(0x341),'params':{'unitId':_0x2655b6[_0x1b34dd]['unitId'],..._0x2655b6[_0x1b34dd][_0x459ef7(0x12e)]}},_0x3239f3=this['_transformService'][_0x459ef7(0x31d)](_0x272573,_0x5ae6ca,!0x1),_0x565f49=this[_0x459ef7(0x2cf)][_0x459ef7(0x31d)](_0xbf682c,_0x5ad4b0,!0x1);if(_0x5099b3['isTransformMutationFailure'](_0x3239f3))throw _0x3239f3['error'];if(_0x5099b3[_0x459ef7(0x109)](_0x565f49))throw _0x565f49[_0x459ef7(0x16c)];_0x31957b[_0x459ef7(0x1d2)]({..._0x2655b6[_0x1b34dd],'undoState':_0x3239f3[_0x459ef7(0x1f7)][_0x459ef7(0x124)],'redoState':_0x565f49[_0x459ef7(0x1f7)][_0x459ef7(0x124)]}),_0x272573=_0x3239f3['m1Prime'],_0xbf682c=_0x565f49[_0x459ef7(0x363)];}_0x272573=_0x52ac88[_0x459ef7(0x21e)][_0x459ef7(0x362)](_0x375a84[_0x459ef7(0x1a7)][0x0]),_0xbf682c=_0x52ac88[_0x459ef7(0x21e)][_0x459ef7(0x362)](_0x375a84[_0x459ef7(0x1a7)][0x0]);for(let _0x10481a=_0xbda380[_0x459ef7(0x3ae)]-0x1;_0x10481a>=0x0;_0x10481a--){const _0x61d731={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbda380[_0x10481a][_0x459ef7(0x338)],..._0xbda380[_0x10481a][_0x459ef7(0x2b6)]}},_0x7fa14c={'id':_0x459ef7(0x341),'params':{'unitId':_0xbda380[_0x10481a]['unitId'],..._0xbda380[_0x10481a][_0x459ef7(0x12e)]}},_0x373a95=this[_0x459ef7(0x2cf)][_0x459ef7(0x31d)](_0x272573,_0x61d731,!0x1),_0x3de98a=this[_0x459ef7(0x2cf)][_0x459ef7(0x31d)](_0xbf682c,_0x7fa14c,!0x1);if(_0x5099b3[_0x459ef7(0x109)](_0x373a95))throw _0x373a95[_0x459ef7(0x16c)];if(_0x5099b3[_0x459ef7(0x109)](_0x3de98a))throw _0x3de98a[_0x459ef7(0x16c)];_0x590e87[_0x459ef7(0x1d2)]({..._0xbda380[_0x10481a],'undoState':_0x373a95['m2Prime'][_0x459ef7(0x124)],'redoState':_0x3de98a[_0x459ef7(0x1f7)][_0x459ef7(0x124)]}),_0x272573=_0x373a95[_0x459ef7(0x363)],_0xbf682c=_0x3de98a[_0x459ef7(0x363)];}this[_0x459ef7(0x249)][_0x459ef7(0x23f)](_0x33395c,{'history':_0x31957b,'collaboration':_0x590e87});}};_0x34a2ef=_0xdea841([_0xfb4913(0x0,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x383)])),_0xfb4913(0x1,_0x5099b3['ITransformService']),_0xfb4913(0x2,_0x52ac88['Inject'](_0x22c0e5[_0x2fae81(0x1c3)]))],_0x34a2ef);var _0x3f57fe=Object[_0x2fae81(0x32f)],_0xa09a35=(_0x595f9e,_0x170fee,_0x563f74,_0x1ca6b7)=>{const _0x245990=_0x2fae81;for(var _0x2ea99a=_0x1ca6b7>0x1?void 0x0:_0x1ca6b7?_0x3f57fe(_0x170fee,_0x563f74):_0x170fee,_0x15e01a=_0x595f9e[_0x245990(0x3ae)]-0x1,_0x45074b;_0x15e01a>=0x0;_0x15e01a--)(_0x45074b=_0x595f9e[_0x15e01a])&&(_0x2ea99a=_0x45074b(_0x2ea99a)||_0x2ea99a);return _0x2ea99a;},_0xa1a487=(_0x24dbe2,_0x4c8bdf)=>(_0x2de844,_0x4ffdcc)=>_0x4c8bdf(_0x2de844,_0x4ffdcc,_0x24dbe2);let _0x5bd7a4=class{constructor(_0x5d70f8,_0x1e8ca5){const _0xc0d2b5=_0x2fae81;this[_0xc0d2b5(0x219)]=_0x5d70f8,this[_0xc0d2b5(0x2cf)]=_0x1e8ca5;}['transformSelections'](_0x49d586){const _0x275afe=_0x2fae81;var _0x4339c4;const _0xcb7d37=this[_0x275afe(0x219)][_0x275afe(0x2ef)](_0x266e85[_0x275afe(0x131)]),_0x1c0e51=(_0x4339c4=_0xcb7d37[_0x275afe(0x25a)]())!=null?_0x4339c4:[];if(_0x1c0e51['length']===0x0)return;const _0x5abba6=_0x49d586[_0x275afe(0x1fe)],_0x5412d8=[{'id':_0x275afe(0x341),'params':{'unitId':_0x5abba6,'actions':null,'textRanges':_0x1c0e51}}],_0x28ce04=this['_transformService'][_0x275afe(0x21d)](_0x49d586,_0x5412d8);if(!_0x5099b3[_0x275afe(0x191)](_0x28ce04))throw _0x28ce04[_0x275afe(0x16c)];const _0x5bc2b5=_0x28ce04[_0x275afe(0x1f7)][0x0][_0x275afe(0x124)]['textRanges'];Array['isArray'](_0x5bc2b5)&&_0x5bc2b5[_0x275afe(0x3ae)]&&_0xcb7d37[_0x275afe(0x299)](_0x5bc2b5,{'unitId':_0x5abba6,'subUnitId':_0x5abba6},!0x1);}};_0x5bd7a4=_0xa09a35([_0xa1a487(0x0,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x383)])),_0xa1a487(0x1,_0x5099b3[_0x2fae81(0x35f)])],_0x5bd7a4);var _0x3152dd=Object[_0x2fae81(0x32f)],_0x2f4542=(_0x57fc26,_0x227d2b,_0x4ff819,_0x4cc79d)=>{const _0x861a49=_0x2fae81;for(var _0x5e1088=_0x4cc79d>0x1?void 0x0:_0x4cc79d?_0x3152dd(_0x227d2b,_0x4ff819):_0x227d2b,_0x17a669=_0x57fc26[_0x861a49(0x3ae)]-0x1,_0x333ec6;_0x17a669>=0x0;_0x17a669--)(_0x333ec6=_0x57fc26[_0x17a669])&&(_0x5e1088=_0x333ec6(_0x5e1088)||_0x5e1088);return _0x5e1088;},_0x268c76=(_0xaec5f1,_0x4fc0d9)=>(_0x2ca547,_0x29183a)=>_0x4fc0d9(_0x2ca547,_0x29183a,_0xaec5f1);let _0x185498=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x2813d8,_0x5ad695,_0x292330,_0x1cd93c,_0x564b86,_0xe5e9cf,_0x1282c5,_0x4046b8){const _0x37ab53=_0x2fae81;super(),_0x2859d0(this,_0x37ab53(0x254),new _0x2b2634[(_0x37ab53(0x155))](_0x36cfba['CollaborationStatus'][_0x37ab53(0x151)])),(this[_0x37ab53(0x249)]=_0x2813d8,this['_collaborationController']=_0x5ad695,this['_docTransformIMECacheService']=_0x292330,this['_docTransformStateCacheService']=_0x1cd93c,this[_0x37ab53(0x1b9)]=_0x564b86,this[_0x37ab53(0x3c3)]=_0xe5e9cf,this[_0x37ab53(0x1cd)]=_0x1282c5,this[_0x37ab53(0x22c)]=_0x4046b8,this[_0x37ab53(0x2e5)]());}['_initEntityListener'](){const _0x62333=_0x2fae81;this[_0x62333(0x141)](this[_0x62333(0x2ab)][_0x62333(0x386)][_0x62333(0x17b)](_0x4aee26=>{const _0x12caf0=_0x62333,_0x5a3549=this['_docStateChangeManagerService'][_0x12caf0(0x2c3)][_0x12caf0(0x17b)](_0x34e7da=>{const _0x18b1f9=_0x12caf0;if(_0x34e7da==null)return;const {unitId:_0x428850,redoState:_0x2f9b4f,commandId:_0x5c0314}=_0x34e7da;if(_0x428850!==_0x4aee26[_0x18b1f9(0x1fe)])return;const _0x868ac1={'id':_0x5c0314,'type':_0x52ac88['CommandType'][_0x18b1f9(0x32b)],'params':{'unitId':_0x428850,'actions':_0x2f9b4f[_0x18b1f9(0x3e3)],'textRanges':null}};_0x4aee26[_0x18b1f9(0xf0)](_0x868ac1);});if(_0x4aee26[_0x12caf0(0x141)](_0x5a3549),_0x4aee26 instanceof _0x36cfba[_0x12caf0(0x258)]){const _0x5072d8={'onTransformIME':_0x3a12f7=>this[_0x12caf0(0x28f)]['transformIMECache'](_0x3a12f7),'onTransformState':_0x3fbd6b=>this[_0x12caf0(0x2ae)]['transformStateCache'](_0x3fbd6b),'onTransformSelections':_0x5cabc4=>this['_docTransformSelectionsService']['transformSelections'](_0x5cabc4),'onSyncEditingCollabCursor':_0x47cfb9=>this[_0x12caf0(0x3c3)]['syncEditingCollabCursor'](_0x47cfb9),'onTransformRemoteChangesetByIMECache':_0x1dbe6b=>this[_0x12caf0(0x28f)][_0x12caf0(0x15f)](_0x1dbe6b),'onTransformRemoteChangesetByStateCache':_0x549cfe=>this[_0x12caf0(0x2ae)][_0x12caf0(0x15f)](_0x549cfe)};_0x4aee26[_0x12caf0(0x3cf)](_0x5072d8);}}));}};_0x185498=_0x2f4542([_0x268c76(0x0,_0x52ac88[_0x2fae81(0x34d)](_0x22c0e5[_0x2fae81(0x1c3)])),_0x268c76(0x1,_0x52ac88[_0x2fae81(0x34d)](_0x36cfba[_0x2fae81(0x380)])),_0x268c76(0x2,_0x52ac88[_0x2fae81(0x34d)](_0xfedba1)),_0x268c76(0x3,_0x52ac88[_0x2fae81(0x34d)](_0x34a2ef)),_0x268c76(0x4,_0x52ac88[_0x2fae81(0x34d)](_0x5bd7a4)),_0x268c76(0x5,_0x52ac88[_0x2fae81(0x34d)](_0x46c6b2)),_0x268c76(0x6,_0x4e1f2d[_0x2fae81(0x1d5)]),_0x268c76(0x7,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88['LocaleService']))],_0x185498);var _0x1048c9=(_0x34e1c0=>(_0x34e1c0[_0x34e1c0[_0x2fae81(0x284)]=0x0]=_0x2fae81(0x284),_0x34e1c0[_0x34e1c0['OK']=0x1]='OK',_0x34e1c0[_0x34e1c0[_0x2fae81(0x2ad)]=0x2]=_0x2fae81(0x2ad),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2e6)]=0x3]=_0x2fae81(0x2e6),_0x34e1c0[_0x34e1c0[_0x2fae81(0x3a2)]=0x4]=_0x2fae81(0x3a2),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2f7)]=0x5]=_0x2fae81(0x2f7),_0x34e1c0[_0x34e1c0['ALREADY_EXISTS']=0x6]=_0x2fae81(0x115),_0x34e1c0[_0x34e1c0[_0x2fae81(0x27d)]=0x7]=_0x2fae81(0x27d),_0x34e1c0[_0x34e1c0[_0x2fae81(0x318)]=0x8]=_0x2fae81(0x318),_0x34e1c0[_0x34e1c0[_0x2fae81(0x178)]=0x9]='COMPLETION_FINISHED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x197)]=0xa]=_0x2fae81(0x197),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2ec)]=0xb]=_0x2fae81(0x2ec),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2fc)]=0xc]=_0x2fae81(0x2fc),_0x34e1c0[_0x34e1c0[_0x2fae81(0x342)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x34e1c0[_0x34e1c0[_0x2fae81(0x39b)]=0xe]=_0x2fae81(0x39b),_0x34e1c0[_0x34e1c0['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x34e1c0[_0x34e1c0['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x2fae81(0x2b3),_0x34e1c0[_0x34e1c0[_0x2fae81(0x253)]=0x64]=_0x2fae81(0x253),_0x34e1c0[_0x34e1c0[_0x2fae81(0x209)]=0x65]=_0x2fae81(0x209),_0x34e1c0[_0x34e1c0[_0x2fae81(0x216)]=0xc9]=_0x2fae81(0x216),_0x34e1c0[_0x34e1c0[_0x2fae81(0x30e)]=0xca]='USER_IS_ANONYMOUS',_0x34e1c0[_0x34e1c0[_0x2fae81(0x264)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34e1c0[_0x34e1c0[_0x2fae81(0x181)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x34e1c0[_0x34e1c0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x39f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x34e1c0[_0x34e1c0[_0x2fae81(0x246)]=0x1b59]=_0x2fae81(0x246),_0x34e1c0[_0x34e1c0[_0x2fae81(0x3bb)]=0x1b5a]=_0x2fae81(0x3bb),_0x34e1c0[_0x34e1c0[_0x2fae81(0x3b3)]=0x1b5b]=_0x2fae81(0x3b3),_0x34e1c0[_0x34e1c0[_0x2fae81(0x257)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x227)]=0x1b5d]='APPLY_DUPLICATED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x372)]=0x1f41]=_0x2fae81(0x372),_0x34e1c0[_0x34e1c0[_0x2fae81(0x332)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x2db)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x33b)]=0x232b]=_0x2fae81(0x33b),_0x34e1c0[_0x34e1c0[_0x2fae81(0x1e5)]=0x232c]=_0x2fae81(0x1e5),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2b2)]=0x232d]=_0x2fae81(0x2b2),_0x34e1c0[_0x34e1c0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2fae81(0x152),_0x34e1c0[_0x34e1c0[_0x2fae81(0x1ff)]=0x2712]=_0x2fae81(0x1ff),_0x34e1c0[_0x34e1c0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2fae81(0x1c7),_0x34e1c0[_0x34e1c0[_0x2fae81(0x26f)]=0x2714]=_0x2fae81(0x26f),_0x34e1c0[_0x34e1c0[_0x2fae81(0x288)]=0x271a]=_0x2fae81(0x288),_0x34e1c0[_0x34e1c0[_0x2fae81(0x37f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x2b7)]=0x271c]=_0x2fae81(0x2b7),_0x34e1c0[_0x34e1c0[_0x2fae81(0x137)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x34e1c0[_0x34e1c0[_0x2fae81(0x38a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x19f)]=0x271f]=_0x2fae81(0x19f),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2e8)]=0x2720]=_0x2fae81(0x2e8),_0x34e1c0[_0x34e1c0[_0x2fae81(0x10b)]=0x2af9]=_0x2fae81(0x10b),_0x34e1c0[_0x34e1c0[_0x2fae81(0x1b0)]=0x2ee1]=_0x2fae81(0x1b0),_0x34e1c0[_0x34e1c0[_0x2fae81(0x335)]=0x2ee2]='INVALID_INVITE_CODE',_0x34e1c0[_0x34e1c0[_0x2fae81(0x1a6)]=0x2ee3]=_0x2fae81(0x1a6),_0x34e1c0[_0x34e1c0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2fae81(0x398),_0x34e1c0[_0x34e1c0[_0x2fae81(0x103)]=0x2ee5]=_0x2fae81(0x103),_0x34e1c0[_0x34e1c0[_0x2fae81(0x13f)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x34e1c0[_0x34e1c0[_0x2fae81(0xf6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x34e1c0[_0x34e1c0[_0x2fae81(0x345)]=0x32cb]=_0x2fae81(0x345),_0x34e1c0[_0x34e1c0[_0x2fae81(0x177)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x34e1c0[_0x34e1c0[_0x2fae81(0x1b3)]=0x36b2]=_0x2fae81(0x1b3),_0x34e1c0[_0x34e1c0[_0x2fae81(0x3c1)]=0x36b3]=_0x2fae81(0x3c1),_0x34e1c0[_0x34e1c0[_0x2fae81(0x323)]=0x36b4]=_0x2fae81(0x323),_0x34e1c0[_0x34e1c0[_0x2fae81(0x129)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x34e1c0[_0x34e1c0[_0x2fae81(0x1c8)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x172)]=0x36b7]=_0x2fae81(0x172),_0x34e1c0[_0x34e1c0[_0x2fae81(0x11e)]=0x36b8]=_0x2fae81(0x11e),_0x34e1c0[_0x34e1c0[_0x2fae81(0x113)]=0x3715]=_0x2fae81(0x113),_0x34e1c0[_0x34e1c0[_0x2fae81(0x2d0)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x29b)]=0x3717]=_0x2fae81(0x29b),_0x34e1c0[_0x34e1c0[_0x2fae81(0x30c)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x34e1c0[_0x34e1c0[_0x2fae81(0x2c4)]=0x3a99]=_0x2fae81(0x2c4),_0x34e1c0[_0x34e1c0[_0x2fae81(0x3d0)]=0x3a9a]=_0x2fae81(0x3d0),_0x34e1c0[_0x34e1c0[_0x2fae81(0x25d)]=0x3a9b]=_0x2fae81(0x25d),_0x34e1c0[_0x34e1c0[_0x2fae81(0x136)]=0x3a9c]=_0x2fae81(0x136),_0x34e1c0[_0x34e1c0[_0x2fae81(0x120)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x34e1c0[_0x34e1c0['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2fae81(0x378),_0x34e1c0[_0x34e1c0[_0x2fae81(0x396)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x34e1c0[_0x34e1c0[_0x2fae81(0x3b7)]=0x3e81]=_0x2fae81(0x3b7),_0x34e1c0[_0x34e1c0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x34e1c0))(_0x1048c9||{});function _0xe21757(_0x254e94){const _0x1cc5bf=_0x2fae81;var _0x3b8a1b,_0x2d3f44;const _0x53b740=(_0x3b8a1b=_0x254e94[_0x1cc5bf(0x2f6)])==null?void 0x0:_0x3b8a1b[_0x1cc5bf(0x16e)],_0x2b6598=((_0x2d3f44=_0x254e94['stageInfo'])==null?void 0x0:_0x2d3f44[_0x1cc5bf(0x2ee)])||0x0;return _0x53b740===_0x441a03[_0x1cc5bf(0x259)]['START_CALCULATION']&&_0x2b6598>0x0;}function _0x5c7037(_0x3454cf){const _0x17287f=_0x2fae81;return _0x3454cf['functionsExecutedState']===_0x441a03[_0x17287f(0x14b)][_0x17287f(0x364)];}var _0x24de6e=Object['getOwnPropertyDescriptor'],_0x2f8e90=(_0x30b6bf,_0x2f73f5,_0x5bbffe,_0x185487)=>{const _0x595907=_0x2fae81;for(var _0x8ec29a=_0x185487>0x1?void 0x0:_0x185487?_0x24de6e(_0x2f73f5,_0x5bbffe):_0x2f73f5,_0x1b74cb=_0x30b6bf[_0x595907(0x3ae)]-0x1,_0x4d68e1;_0x1b74cb>=0x0;_0x1b74cb--)(_0x4d68e1=_0x30b6bf[_0x1b74cb])&&(_0x8ec29a=_0x4d68e1(_0x8ec29a)||_0x8ec29a);return _0x8ec29a;},_0x5f21da=(_0x15a700,_0x2f92de)=>(_0x50e6a8,_0x2e7fe8)=>_0x2f92de(_0x50e6a8,_0x2e7fe8,_0x15a700);const _0x151701='/universer-api/license/formula/limit/status',_0x472d0d=_0x2fae81(0x134),_0x508905=_0x2fae81(0x33e);let _0x26cf71=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x43ce02,_0x2e4ae2,_0x4c3de3,_0xd87c2,_0x340482,_0x367442,_0x2f4cea){const _0x4e3570=_0x2fae81;super(),_0x2859d0(this,_0x4e3570(0x3d3),null),_0x2859d0(this,_0x4e3570(0x1c4),0x0),_0x2859d0(this,_0x4e3570(0x193),0x0),_0x2859d0(this,_0x4e3570(0x27f),[]),_0x2859d0(this,_0x4e3570(0x390),0x0),(this[_0x4e3570(0x1cd)]=_0x43ce02,this[_0x4e3570(0x1df)]=_0x2e4ae2,this[_0x4e3570(0x104)]=_0x4c3de3,this[_0x4e3570(0x19b)]=_0xd87c2,this['_univerInstanceService']=_0x340482,this[_0x4e3570(0x30f)]=_0x367442,this[_0x4e3570(0x22c)]=_0x2f4cea,this[_0x4e3570(0x306)]());}['_initCommandInterceptor'](){const _0x3dabee=_0x2fae81;this['disposeWithMe'](this['_commandService']['beforeCommandExecuted']((_0x3369f7,_0x2cf46a)=>{const _0x2436ae=_0x4160;var _0xfa1190;if(_0x3369f7['id']!==_0x441a03[_0x2436ae(0x278)]['id'])return;const _0x518bfc=_0x3369f7['params'];if(!this[_0x2436ae(0x243)]((_0xfa1190=_0x518bfc[_0x2436ae(0x3e5)])!=null?_0xfa1190:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x2436ae(0x15c)](_0x3369f7,_0x2cf46a),this[_0x2436ae(0x1bc)](),new _0x52ac88[(_0x2436ae(0x32a))]();})),this[_0x3dabee(0x141)](this[_0x3dabee(0x1df)][_0x3dabee(0x1ac)]((_0x3c7c54,_0xc44fb1)=>{const _0x4e02d2=_0x3dabee;if(_0x3c7c54['id']!==_0x441a03['SetFormulaCalculationNotificationMutation']['id'])return;const _0x46737f=_0x3c7c54['params'];if(_0xe21757(_0x46737f)){const _0x3cf7f0=_0x52ac88[_0x4e02d2(0x2a3)]();this[_0x4e02d2(0x27f)][_0x4e02d2(0x146)](_0x3cf7f0),this[_0x4e02d2(0x121)](_0x3cf7f0);}else{if(_0x5c7037(_0x46737f)&&this[_0x4e02d2(0x27f)][_0x4e02d2(0x3ae)]>0x0){const _0x3e0d72=this['_taskIds'][_0x4e02d2(0x212)]();this[_0x4e02d2(0x118)](_0x3e0d72);}}}));}[_0x2fae81(0x106)](){const _0x3f2b68=_0x2fae81;super[_0x3f2b68(0x106)](),this['_clearPolling'](),this[_0x3f2b68(0x27f)]=[],this['_currentUsage']=0x0,this[_0x3f2b68(0x1c4)]=0x0,this[_0x3f2b68(0x390)]=0x0;}async[_0x2fae81(0x15c)](_0xd8b4b6,_0xd79f77){const _0x41389b=_0x2fae81;for(let _0xdef4fc=0x0;_0xdef4fc<0x1e;_0xdef4fc++)try{if(await this['_getFormulaLimitStatus'](),this[_0x41389b(0x37b)]()){this[_0x41389b(0x142)](_0xd8b4b6,_0xd79f77),this[_0x41389b(0x1cd)]['show']({'content':this['_localeService']['t'](_0x41389b(0x20c)),'type':_0x167111['MessageType'][_0x41389b(0x1e6)]});return;}await new Promise(_0x311af3=>{const _0x240772=_0x41389b;this[_0x240772(0x3d3)]=window[_0x240772(0x2b5)](_0x311af3,0x3e8);});}catch(_0x2fb30e){this[_0x41389b(0x30f)]['error'](_0x2fb30e);}this['_messageService'][_0x41389b(0x277)]({'content':this[_0x41389b(0x22c)]['t']('formula.calculation.unable'),'type':_0x167111[_0x41389b(0x160)][_0x41389b(0x334)]});}['_applyCommand'](_0x415988,_0x24550b){const _0x1b9ab9=_0x2fae81;try{this['_commandService'][_0x1b9ab9(0x369)](_0x415988['id'],_0x415988[_0x1b9ab9(0x124)],_0x24550b);}catch(_0x297e87){this[_0x1b9ab9(0x30f)][_0x1b9ab9(0x16c)](_0x297e87);}}[_0x2fae81(0x244)](_0x4b6c9a,_0x305d9c){const _0x3532d4=_0x2fae81;_0x305d9c<this[_0x3532d4(0x390)]||(this[_0x3532d4(0x390)]=_0x305d9c,this[_0x3532d4(0x1c4)]=Number[_0x3532d4(0x199)](_0x4b6c9a[_0x3532d4(0x21c)]),this[_0x3532d4(0x193)]=Number[_0x3532d4(0x199)](_0x4b6c9a[_0x3532d4(0x1fc)]));}async['_startCalculationLimit'](_0x32179a){const _0x133f3a=_0x2fae81;var _0x37b0eb,_0x642f21;const _0xc4da6e=Date['now']();try{const _0x5713ed=((_0x37b0eb=this['_configService']['getConfig'](_0x36cfba[_0x133f3a(0x204)]))==null?void 0x0:_0x37b0eb[_0x133f3a(0x28e)])||_0x472d0d,_0x1de79a=(await this[_0x133f3a(0x19b)]['post'](_0x5713ed,{'body':JSON['stringify']({'taskId':_0x32179a})}))[_0x133f3a(0xfb)];if(((_0x642f21=_0x1de79a[_0x133f3a(0x16c)])==null?void 0x0:_0x642f21['code'])!==_0x1048c9['OK'])return;this['_setFormulaLimitStatus'](_0x1de79a[_0x133f3a(0x237)],_0xc4da6e);}catch(_0x54f76a){this[_0x133f3a(0x30f)]['error'](_0x54f76a);}}async['_getFormulaLimitStatus'](_0x4df062){const _0x579f7b=_0x2fae81;var _0xe86c14,_0x1ecab5;const _0x4eae5d=Date[_0x579f7b(0x2b8)]();try{const _0xeccbed=((_0xe86c14=this[_0x579f7b(0x104)][_0x579f7b(0x1a9)](_0x36cfba[_0x579f7b(0x204)]))==null?void 0x0:_0xe86c14[_0x579f7b(0x21f)])||_0x151701,_0x4e9cfc=_0x4df062?_0xeccbed+_0x579f7b(0x300)+encodeURIComponent(_0x4df062):_0xeccbed,_0x104d78=(await this['_httpService'][_0x579f7b(0x2ef)](_0x4e9cfc))[_0x579f7b(0xfb)];if(((_0x1ecab5=_0x104d78[_0x579f7b(0x16c)])==null?void 0x0:_0x1ecab5[_0x579f7b(0x218)])!==_0x1048c9['OK'])return;this[_0x579f7b(0x244)](_0x104d78[_0x579f7b(0x237)],_0x4eae5d);}catch(_0x39452a){this['_logService']['error'](_0x39452a);}}async['_releaseCalculationLimit'](_0x119792){const _0x4d8ca1=_0x2fae81;var _0x114de6,_0x4eaa7b;const _0x41f3d1=Date['now']();try{const _0x163f36=((_0x114de6=this['_configService'][_0x4d8ca1(0x1a9)](_0x36cfba[_0x4d8ca1(0x204)]))==null?void 0x0:_0x114de6['releaseFormulaLimitUrl'])||_0x508905,_0xd84fd7=(await this[_0x4d8ca1(0x19b)][_0x4d8ca1(0x261)](_0x163f36,{'body':JSON[_0x4d8ca1(0x1f0)]({'taskId':_0x119792})}))['body'];if(((_0x4eaa7b=_0xd84fd7[_0x4d8ca1(0x16c)])==null?void 0x0:_0x4eaa7b[_0x4d8ca1(0x218)])!==_0x1048c9['OK'])return;this[_0x4d8ca1(0x244)](_0xd84fd7['limitInfo'],_0x41f3d1);}catch(_0x4f48ed){this[_0x4d8ca1(0x30f)][_0x4d8ca1(0x16c)](_0x4f48ed);}}[_0x2fae81(0x37b)](){const _0x48c0fa=_0x2fae81;return this[_0x48c0fa(0x1c4)]===0x0?!0x0:this[_0x48c0fa(0x1c4)]-this[_0x48c0fa(0x193)]>0x0;}[_0x2fae81(0x314)](){const _0x34b71f=_0x2fae81;this['_pollingInterval']&&(clearTimeout(this[_0x34b71f(0x3d3)]),this[_0x34b71f(0x3d3)]=null);}[_0x2fae81(0x1bc)](){const _0x569b93=_0x2fae81;this['_messageService'][_0x569b93(0x277)]({'content':this[_0x569b93(0x22c)]['t'](_0x569b93(0x289)),'type':_0x167111[_0x569b93(0x160)][_0x569b93(0x250)]});}['_hasFormulaInDirtyRanges'](_0x4f7b1c){const _0x9588f2=_0x2fae81;for(const _0x19eaa8 of _0x4f7b1c){const {unitId:_0x97f98,sheetId:_0x230308,range:_0x145d6e}=_0x19eaa8,_0x4b9f21=this[_0x9588f2(0x31e)]['getUnit'](_0x97f98);if(!_0x4b9f21)continue;const _0x4cb67a=_0x4b9f21[_0x9588f2(0x224)](_0x230308);if(!_0x4cb67a)continue;const _0x4d1b31=_0x4cb67a['getCellMatrix']();for(let _0x37d74d=_0x145d6e[_0x9588f2(0x3b4)];_0x37d74d<=_0x145d6e[_0x9588f2(0x301)];_0x37d74d++)for(let _0x3b3206=_0x145d6e['startColumn'];_0x3b3206<=_0x145d6e[_0x9588f2(0xf7)];_0x3b3206++){const _0x395eae=_0x4d1b31[_0x9588f2(0x26b)](_0x37d74d,_0x3b3206);if(_0x395eae&&(_0x52ac88[_0x9588f2(0x35b)](_0x395eae['f'])||_0x52ac88[_0x9588f2(0x1a1)](_0x395eae['si'])))return!0x0;}}return!0x1;}};_0x26cf71=_0x2f8e90([_0x5f21da(0x0,_0x52ac88[_0x2fae81(0x34d)](_0x4e1f2d[_0x2fae81(0x1d5)])),_0x5f21da(0x1,_0x52ac88[_0x2fae81(0x114)]),_0x5f21da(0x2,_0x52ac88[_0x2fae81(0x1fa)]),_0x5f21da(0x3,_0x52ac88[_0x2fae81(0x34d)](_0x4be759[_0x2fae81(0x24e)])),_0x5f21da(0x4,_0x52ac88[_0x2fae81(0x166)]),_0x5f21da(0x5,_0x52ac88[_0x2fae81(0x149)]),_0x5f21da(0x6,_0x52ac88['Inject'](_0x52ac88['LocaleService']))],_0x26cf71);var _0x1fabfb=Object[_0x2fae81(0x32f)],_0x2372c8=(_0x323625,_0x16913e,_0x5ed0a0,_0x3aa722)=>{for(var _0x3599bc=_0x3aa722>0x1?void 0x0:_0x3aa722?_0x1fabfb(_0x16913e,_0x5ed0a0):_0x16913e,_0x392889=_0x323625['length']-0x1,_0x784bad;_0x392889>=0x0;_0x392889--)(_0x784bad=_0x323625[_0x392889])&&(_0x3599bc=_0x784bad(_0x3599bc)||_0x3599bc);return _0x3599bc;},_0x272e2b=(_0x2b3ae9,_0x116f49)=>(_0x504909,_0x2f360a)=>_0x116f49(_0x504909,_0x2f360a,_0x2b3ae9);let _0x301235=class extends _0x52ac88[_0x2fae81(0x35e)]{constructor(_0x4822b4,_0xf81575,_0x5f8102){const _0x2927c1=_0x2fae81;super(),_0x2859d0(this,_0x2927c1(0x36d),new Map()),_0x2859d0(this,'_saveTaskMap',new Map()),_0x2859d0(this,_0x2927c1(0x12c),!0x1),(this[_0x2927c1(0x104)]=_0x4822b4,this[_0x2927c1(0x10e)]=_0xf81575,this[_0x2927c1(0x368)]=_0x5f8102);}[_0x2fae81(0x25c)](){const _0x3a0020=_0x2fae81;this[_0x3a0020(0x12c)]=!0x0;}[_0x2fae81(0x347)](){const _0xccc686=_0x2fae81;this[_0xccc686(0x12c)]=!0x1;}get[_0x2fae81(0x331)](){const _0x15adb5=_0x2fae81;return this[_0x15adb5(0x393)];}[_0x2fae81(0x106)](){const _0x3eb5c8=_0x2fae81;this[_0x3eb5c8(0x28a)]()['then'](()=>super['dispose']());}async[_0x2fae81(0x20d)](_0x1b04d7){const _0x923ad=_0x2fae81;return this[_0x923ad(0x12c)]?null:this[_0x923ad(0x10e)][_0x923ad(0x185)](_0x36cfba[_0x923ad(0x298)](_0x1b04d7));}async['saveOfflineData'](_0x38e1d3,_0x2fcda3){const _0x2f60bd=_0x2fae81;return!!this['_localStorageService'][_0x2f60bd(0x182)](_0x38e1d3,_0x2fcda3);}[_0x2fae81(0x15e)](_0x33d7d8,_0x527ee8,_0x249bd8,_0x259367){const _0x580438=_0x2fae81,_0x38c1af=this[_0x580438(0x368)][_0x580438(0x1b8)](_0x33d7d8);this[_0x580438(0x36d)]['set'](_0x33d7d8,{'unitID':_0x33d7d8,'type':_0x527ee8,'awaitingChangeset':_0x249bd8,'mutations':_0x259367,'rev':_0x38c1af}),this[_0x580438(0x393)]['has'](_0x33d7d8)||this['_scheduleSaving'](_0x33d7d8);}[_0x2fae81(0x2d6)](_0x88dffd){const _0x2081ae=_0x2fae81,_0x180f20=this['_getSaveTimeout']();_0x180f20===0x0?this[_0x2081ae(0x1cb)](_0x88dffd):this[_0x2081ae(0x393)]['set'](_0x88dffd,setTimeout(()=>this['_saveCache'](_0x88dffd),_0x180f20));}[_0x2fae81(0x1e9)](){const _0x1ba775=_0x2fae81;var _0x3a5176;return(_0x3a5176=this[_0x1ba775(0x104)][_0x1ba775(0x1a9)](_0x36cfba[_0x1ba775(0x389)]))!=null?_0x3a5176:_0x36cfba[_0x1ba775(0x2a9)];}['_saveCache'](_0x299a50){const _0xd72084=_0x2fae81,_0x2869da=this['_saveTaskMap']['get'](_0x299a50);return _0x2869da!==void 0x0&&window['clearTimeout'](_0x2869da),this[_0xd72084(0x10e)][_0xd72084(0x182)](_0x36cfba[_0xd72084(0x298)](_0x299a50),this[_0xd72084(0x36d)][_0xd72084(0x2ef)](_0x299a50))[_0xd72084(0x3a3)](()=>this[_0xd72084(0x393)]['delete'](_0x299a50));}async[_0x2fae81(0x28a)](){const _0x4e611f=_0x2fae81,_0x729ce6=[];this[_0x4e611f(0x393)][_0x4e611f(0x26a)]((_0x101dc8,_0x3315e3)=>{const _0x18960a=_0x4e611f;window[_0x18960a(0x308)](_0x101dc8),_0x729ce6[_0x18960a(0x146)](this[_0x18960a(0x1cb)](_0x3315e3)[_0x18960a(0x3a3)](()=>{const _0x2b4639=_0x18960a;this[_0x2b4639(0x393)]['delete'](_0x3315e3);}));}),await Promise[_0x4e611f(0x252)](_0x729ce6);}};_0x301235=_0x2372c8([_0x272e2b(0x0,_0x52ac88['IConfigService']),_0x272e2b(0x1,_0x52ac88[_0x2fae81(0x283)]),_0x272e2b(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x5099b3[_0x2fae81(0x211)]))],_0x301235);class _0x1f939b extends _0x52ac88[_0x2fae81(0x1b2)]{constructor(){const _0x5073f3=_0x2fae81;super(),_0x2859d0(this,_0x5073f3(0x3c9)),this[_0x5073f3(0x3c9)]=_0x2b2634[_0x5073f3(0x3be)](window,_0x5073f3(0x268))[_0x5073f3(0x357)](_0x2b2634[_0x5073f3(0x1f4)](this[_0x5073f3(0x394)]),_0x2b2634[_0x5073f3(0x226)](0x1),_0x2b2634['mapTo'](void 0x0));}[_0x2fae81(0x119)](_0x2a2a3a,_0x3cd890,_0x224b5c=!0x1){const _0xe389f=_0x2fae81,_0x443223=new URL(window[_0xe389f(0x18f)]['href']);_0x443223[_0xe389f(0x1c6)]['set'](_0x2a2a3a,_0x3cd890),_0x224b5c?window['history']['replaceState']('','',_0x443223['toString']()):window[_0xe389f(0x2f8)][_0xe389f(0x395)]('','',_0x443223[_0xe389f(0x374)]());}[_0x2fae81(0x156)](_0x1b805e,_0x50b470=!0x1){const _0x2019f1=_0x2fae81,_0x579bf7=new URL(window[_0x2019f1(0x18f)][_0x2019f1(0x24a)]);_0x579bf7['searchParams'][_0x2019f1(0x19c)](_0x1b805e),_0x50b470?window[_0x2019f1(0x2f8)][_0x2019f1(0x25b)]('','',_0x579bf7[_0x2019f1(0x374)]()):window[_0x2019f1(0x2f8)][_0x2019f1(0x395)]('','',_0x579bf7[_0x2019f1(0x374)]());}['getParam'](_0x157bb9){const _0x3dc3c7=_0x2fae81;var _0xa57626;return(_0xa57626=new URL(window[_0x3dc3c7(0x18f)][_0x3dc3c7(0x24a)])[_0x3dc3c7(0x1c6)][_0x3dc3c7(0x2ef)](_0x157bb9))!=null?_0xa57626:void 0x0;}}var _0x43092d=Object['defineProperty'],_0x240195=Object[_0x2fae81(0x32f)],_0x5962c9=(_0x1287fc,_0x5c5145,_0x52a63a)=>_0x5c5145 in _0x1287fc?_0x43092d(_0x1287fc,_0x5c5145,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52a63a}):_0x1287fc[_0x5c5145]=_0x52a63a,_0x3d72f9=(_0x2908bc,_0x6cda6e,_0x95437b,_0x2b366a)=>{const _0x43e1f5=_0x2fae81;for(var _0x198dfb=_0x2b366a>0x1?void 0x0:_0x2b366a?_0x240195(_0x6cda6e,_0x95437b):_0x6cda6e,_0x3cf36b=_0x2908bc[_0x43e1f5(0x3ae)]-0x1,_0x1ce8a7;_0x3cf36b>=0x0;_0x3cf36b--)(_0x1ce8a7=_0x2908bc[_0x3cf36b])&&(_0x198dfb=_0x1ce8a7(_0x198dfb)||_0x198dfb);return _0x198dfb;},_0x5883aa=(_0x33a9f0,_0x19c3f9)=>(_0x43dd40,_0x8fcf6e)=>_0x19c3f9(_0x43dd40,_0x8fcf6e,_0x33a9f0),_0x327f87=(_0x527141,_0x2f1224,_0xe2d31e)=>_0x5962c9(_0x527141,_0x2f1224+'',_0xe2d31e);const _0x1a070d=_0x2fae81(0x371);_0x250274[_0x2fae81(0x233)]=class extends _0x52ac88[_0x2fae81(0x3db)]{constructor(_0x1c792b=_0x16ef0b,_0x334760,_0x2294ed,_0x483d5c){const _0x12df81=_0x2fae81;super(),this[_0x12df81(0x1b7)]=_0x1c792b,this[_0x12df81(0x16b)]=_0x334760,this[_0x12df81(0x219)]=_0x2294ed,this[_0x12df81(0x104)]=_0x483d5c;const {..._0x17ee33}=_0x52ac88[_0x12df81(0x10f)]({},_0x16ef0b,this[_0x12df81(0x1b7)]);this[_0x12df81(0x104)][_0x12df81(0x370)](_0x4a2719,_0x17ee33);}['onStarting'](){const _0x210e43=_0x2fae81;this[_0x210e43(0x202)](),this[_0x210e43(0x385)]();}[_0x2fae81(0x359)](){const _0x10d312=_0x2fae81;this[_0x10d312(0x20f)]();}[_0x2fae81(0x202)](){const _0x1dc3ee=_0x2fae81;var _0x4e5950;const _0x52c995=[[_0xee3413],[_0x26cf71],[_0x5bd7a4],[_0xfedba1],[_0x34a2ef],[_0x46c6b2],[_0x5c2a40,{'useClass':_0x1f939b}],[_0x4be759[_0x1dc3ee(0x36b)],{'useClass':_0x4be759[_0x1dc3ee(0x3b5)]}],[_0x36cfba[_0x1dc3ee(0x138)],{'useClass':_0x301235}],[_0x250274['DesktopCollaborationStatusDisplayController']],[_0x185498],[_0x1c0c30],[_0x4c9861],[_0x22bae4],[_0x250274[_0x1dc3ee(0x3b6)]]];this[_0x1dc3ee(0x1b7)]['enableFrontendLog']&&_0x52c995['push']([_0x4659b7]),_0x52ac88[_0x1dc3ee(0x2d5)](this[_0x1dc3ee(0x219)],_0x52ac88[_0x1dc3ee(0x18e)](_0x52c995,(_0x4e5950=this[_0x1dc3ee(0x1b7)])==null?void 0x0:_0x4e5950['override']));}[_0x2fae81(0x20f)](){const _0x551504=_0x2fae81;this[_0x551504(0x141)](this['_renderManagerService'][_0x551504(0x3e6)](_0x52ac88[_0x551504(0x18c)][_0x551504(0x145)],[_0x51afeb])),this[_0x551504(0x141)](this[_0x551504(0x16b)][_0x551504(0x3e6)](_0x52ac88['UniverInstanceType'][_0x551504(0xfd)],[_0x414644]));}['_initDependencies'](){const _0x5a9e9c=_0x2fae81;_0x52ac88[_0x5a9e9c(0x351)](this[_0x5a9e9c(0x219)],[[_0x4c9861],[_0x250274[_0x5a9e9c(0x303)]],[_0x185498],[_0x1c0c30],[_0x250274['CollaborationDataLoaderController']],[_0x26cf71]]),this[_0x5a9e9c(0x1b7)][_0x5a9e9c(0x365)]&&_0x52ac88[_0x5a9e9c(0x351)](this['_injector'],[[_0x4659b7]]);}},_0x327f87(_0x250274['UniverCollaborationClientUIPlugin'],'pluginName',_0x1a070d),_0x250274[_0x2fae81(0x233)]=_0x3d72f9([_0x52ac88['DependentOn'](_0x36cfba['UniverCollaborationClientPlugin']),_0x5883aa(0x1,_0x5652e3[_0x2fae81(0x234)]),_0x5883aa(0x2,_0x52ac88[_0x2fae81(0x34d)](_0x52ac88[_0x2fae81(0x383)])),_0x5883aa(0x3,_0x52ac88[_0x2fae81(0x1fa)])],_0x250274[_0x2fae81(0x233)]);var _0x2cea01=Object[_0x2fae81(0x32f)],_0x49e81d=(_0x2c42b4,_0x33c0ce,_0x181400,_0x39b972)=>{const _0x49c9fc=_0x2fae81;for(var _0x57a570=_0x39b972>0x1?void 0x0:_0x39b972?_0x2cea01(_0x33c0ce,_0x181400):_0x33c0ce,_0x398fd5=_0x2c42b4[_0x49c9fc(0x3ae)]-0x1,_0x4be6dd;_0x398fd5>=0x0;_0x398fd5--)(_0x4be6dd=_0x2c42b4[_0x398fd5])&&(_0x57a570=_0x4be6dd(_0x57a570)||_0x57a570);return _0x57a570;},_0x2ee97a=(_0x2f8d6d,_0x2fd84c)=>(_0x190a1a,_0x1aabf8)=>_0x2fd84c(_0x190a1a,_0x1aabf8,_0x2f8d6d);_0x250274['BrowserCollaborationSocketService']=class extends _0x36cfba[_0x2fae81(0x194)]{constructor(_0x112daa,_0x26c6fe,_0xdcb596,_0x228482,_0x345c69){super(_0x112daa,_0x26c6fe,_0xdcb596,_0x228482,_0x345c69);}async[_0x2fae81(0x3a7)](_0x51abc5){const _0x1217bc=_0x2fae81,_0x296ac0=await this[_0x1217bc(0x12b)](),_0x2932da=this[_0x1217bc(0x1d1)](_0x51abc5,_0x296ac0);return this[_0x1217bc(0x273)](_0x2932da);}[_0x2fae81(0x1d1)](_0x226d9d,_0x400591){const _0x10d5c9=_0x2fae81,_0x498c43=typeof window>'u'?new URL(_0x226d9d):new URL(_0x226d9d,window['location']['origin']);_0x498c43[_0x10d5c9(0x1c6)][_0x10d5c9(0x36c)](_0x10d5c9(0x37c),_0x400591);const _0x3a4865=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10d5c9(0x18f)][_0x10d5c9(0x28d)]);return _0x3a4865[_0x10d5c9(0x2ef)](_0x10d5c9(0x163))&&_0x498c43[_0x10d5c9(0x1c6)][_0x10d5c9(0x36c)](_0x10d5c9(0x163),_0x3a4865[_0x10d5c9(0x2ef)](_0x10d5c9(0x163))),_0x498c43['toString']();}async[_0x2fae81(0x12b)](){const _0x1d0adf=_0x2fae81;var _0x55cd98,_0x285346,_0x158055;const _0x2bcbfa=this[_0x1d0adf(0x104)][_0x1d0adf(0x1a9)](_0x36cfba['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x26024a=(_0x55cd98=_0x2bcbfa==null?void 0x0:_0x2bcbfa[_0x1d0adf(0x29c)])!=null?_0x55cd98:_0x36cfba[_0x1d0adf(0x2ea)];return(_0x158055=(_0x285346=(await this[_0x1d0adf(0x19b)][_0x1d0adf(0x2ef)](_0x26024a,{'headers':{'Content-Type':_0x1d0adf(0x1f8)}}))['body'])==null?void 0x0:_0x285346[_0x1d0adf(0x2af)])!=null?_0x158055:'';}},_0x250274['BrowserCollaborationSocketService']=_0x49e81d([_0x2ee97a(0x0,_0x52ac88['Inject'](_0x52ac88['Injector'])),_0x2ee97a(0x1,_0x52ac88['Inject'](_0x4be759['HTTPService'])),_0x2ee97a(0x2,_0x52ac88[_0x2fae81(0x1fa)]),_0x2ee97a(0x3,_0x52ac88[_0x2fae81(0x149)]),_0x2ee97a(0x4,_0x5099b3[_0x2fae81(0x2c8)])],_0x250274[_0x2fae81(0x333)]);var _0xa5e04a=Object[_0x2fae81(0x32f)],_0x2bcdd4=(_0x53a28f,_0x20830b,_0x4ea567,_0x3857d2)=>{const _0x578d79=_0x2fae81;for(var _0x379e2f=_0x3857d2>0x1?void 0x0:_0x3857d2?_0xa5e04a(_0x20830b,_0x4ea567):_0x20830b,_0x56c4ac=_0x53a28f[_0x578d79(0x3ae)]-0x1,_0x578541;_0x56c4ac>=0x0;_0x56c4ac--)(_0x578541=_0x53a28f[_0x56c4ac])&&(_0x379e2f=_0x578541(_0x379e2f)||_0x379e2f);return _0x379e2f;},_0x93dc2b=(_0x5074fb,_0x265b01)=>(_0x13b839,_0x558489)=>_0x265b01(_0x13b839,_0x558489,_0x5074fb);_0x250274[_0x2fae81(0x17c)]=class extends _0x52ac88['Disposable']{constructor(_0x693458,_0x2383a5,_0x47a8d5){const _0x2d22af=_0x2fae81;super(),this[_0x2d22af(0x10c)]=_0x693458,this[_0x2d22af(0x19b)]=_0x2383a5,this[_0x2d22af(0x104)]=_0x47a8d5;}async[_0x2fae81(0x1bb)](_0x2dca9e,_0x4f154f,_0x297e92,..._0xc91ae3){const _0x255611=_0x2fae81;var _0x47cf31,_0x167639,_0x4f1280,_0x28d7d9;const _0x1d1710=this[_0x255611(0x10c)][_0x255611(0x316)]();if(!_0x1d1710)throw new Error(_0x255611(0x214));const _0x5bbf51=((_0x47cf31=this['_configService'][_0x255611(0x1a9)](_0x36cfba[_0x255611(0x38e)]))!=null?_0x47cf31:_0x36cfba[_0x255611(0x2bc)])+'/'+_0x2dca9e+_0x255611(0x3c7)+_0x4f154f,_0x4a6e2c=new URL(window['location']['href']),_0x419d7a={'scriptId':_0x2dca9e,'runId':(_0x167639=_0x4a6e2c[_0x255611(0x1c6)][_0x255611(0x2ef)](_0x255611(0x163)))!=null?_0x167639:'','function':_0x4f154f,'unitId':_0x1d1710[_0x255611(0x24c)](),'argsOfFunction':JSON[_0x255611(0x1f0)](_0xc91ae3),'invokeId':(_0x4f1280=_0x297e92['invokeId'])!=null?_0x4f1280:'','executionId':(_0x28d7d9=_0x297e92[_0x255611(0x307)])!=null?_0x28d7d9:''};try{const _0x219659=await this['_httpService'][_0x255611(0x261)](_0x5bbf51,{'body':_0x419d7a});return _0x219659[_0x255611(0xfb)][_0x255611(0x16c)]&&_0x219659[_0x255611(0xfb)]['error'][_0x255611(0x218)]!==_0x1048c9['OK']?_0x255611(0x1a4):_0x219659[_0x255611(0xfb)][_0x255611(0x315)];}catch{return _0x255611(0x1a4);}}},_0x250274[_0x2fae81(0x17c)]=_0x2bcdd4([_0x93dc2b(0x0,_0x52ac88[_0x2fae81(0x166)]),_0x93dc2b(0x1,_0x52ac88['Inject'](_0x4be759[_0x2fae81(0x24e)])),_0x93dc2b(0x2,_0x52ac88[_0x2fae81(0x1fa)])],_0x250274['RemoteUniscriptService']);const _0x47151a=0x7530,_0x4012b7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1f6a7d extends _0x52ac88['Disposable']{constructor(){const _0x23641c=_0x2fae81;super(),_0x2859d0(this,_0x23641c(0x26e),_0x52ac88[_0x23641c(0x2a3)]()),_0x2859d0(this,_0x23641c(0x280),new Set()),_0x2859d0(this,_0x23641c(0x186),new Map()),_0x2859d0(this,_0x23641c(0x2b9),null),_0x2859d0(this,_0x23641c(0x2e1),new Map()),_0x2859d0(this,_0x23641c(0x3b2),new Map()),this['_init']();}['dispose'](){const _0x59bd38=_0x2fae81;super[_0x59bd38(0x106)](),this[_0x59bd38(0x2e1)]['forEach']((_0x3c28f5,_0x13c03c)=>this[_0x59bd38(0x1a2)](_0x13c03c)),this[_0x59bd38(0x2b9)]&&window[_0x59bd38(0x2f0)](this['_heartbeatTimer']);}[_0x2fae81(0x3cd)](_0x5e2448){const _0x3e9414=_0x2fae81;return this[_0x3e9414(0x1dd)](_0x5e2448)['pipe'](_0x2b2634[_0x3e9414(0x143)]());}[_0x2fae81(0x3d5)](_0x4732b8){const _0x5c2272=_0x2fae81;this['_selfUnitIDs'][_0x5c2272(0x3a1)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5c2272(0x280)][_0x5c2272(0x2ac)](_0x4732b8),this[_0x5c2272(0x3e2)]({'type':0x0,'memberID':this[_0x5c2272(0x26e)],'unitIDs':[_0x4732b8],'isForwarded':!0x1});}['disposeUnit'](_0x5d2d26){const _0x27f4e6=_0x2fae81;this[_0x27f4e6(0x280)][_0x27f4e6(0x19c)](_0x5d2d26),this['_selfUnitIDs'][_0x27f4e6(0x3a1)]===0x0&&this[_0x27f4e6(0x2b9)]&&window[_0x27f4e6(0x2f0)](this['_heartbeatTimer']);}[_0x2fae81(0x39e)](){const _0x55dc2b=_0x2fae81;this[_0x55dc2b(0x141)](_0x52ac88['toDisposable'](_0x2b2634[_0x55dc2b(0x3be)](window,_0x55dc2b(0x36f))[_0x55dc2b(0x17b)](_0x8cef91=>{const _0x26477e=_0x55dc2b;if(_0x8cef91[_0x26477e(0x2b0)]!==_0x4012b7||!_0x8cef91[_0x26477e(0x12a)])return;const _0x2329b0=JSON[_0x26477e(0x1ca)](_0x8cef91[_0x26477e(0x12a)]);this[_0x26477e(0x2a8)](_0x2329b0);}))),window[_0x55dc2b(0x188)](_0x55dc2b(0x279),()=>this[_0x55dc2b(0x3e2)]({'type':0x1,'memberID':this[_0x55dc2b(0x26e)],'unitIDs':Array[_0x55dc2b(0x326)](this[_0x55dc2b(0x280)])}));}[_0x2fae81(0x2a8)](_0x128c18){const _0x5d5484=_0x2fae81;switch(_0x128c18[_0x5d5484(0x27c)]){case 0x0:this[_0x5d5484(0x3a4)](_0x128c18);break;case 0x1:this[_0x5d5484(0x37a)](_0x128c18);break;case 0x2:this[_0x5d5484(0x23e)](_0x128c18);break;}}[_0x2fae81(0x3a4)](_0x2c08c9){const _0x38f0c5=_0x2fae81,{unitIDs:_0x36ed32,memberID:_0x1aaf3d,isForwarded:_0xc65d4a}=_0x2c08c9;_0x36ed32['forEach'](_0x2756bf=>{const _0x446f6d=_0x4160;if(!_0xc65d4a&&this[_0x446f6d(0x186)][_0x446f6d(0x33c)](_0x2756bf)&&this[_0x446f6d(0x1dd)](_0x2756bf)['next'](_0x36cfba[_0x446f6d(0x361)]['OTHER_CLIENTS_EDITING']),!this[_0x446f6d(0x186)]['has'](_0x2756bf)||!this[_0x446f6d(0x186)][_0x446f6d(0x2ef)](_0x2756bf)[_0x446f6d(0x33c)](_0x1aaf3d)){const _0x6a1b17=this[_0x446f6d(0x186)][_0x446f6d(0x2ef)](_0x2756bf)||new Set();_0x6a1b17[_0x446f6d(0x2ac)](_0x1aaf3d),this[_0x446f6d(0x186)][_0x446f6d(0x36c)](_0x2756bf,_0x6a1b17),this[_0x446f6d(0x255)](_0x1aaf3d);}}),_0xc65d4a||this[_0x38f0c5(0x3e2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x38f0c5(0x280)]],'isForwarded':!0x0});}[_0x2fae81(0x255)](_0x299862){const _0x3363ae=_0x2fae81;this[_0x3363ae(0x1a2)](_0x299862);const _0xcf8c31=window[_0x3363ae(0x2b5)](()=>{const _0x50c596=_0x3363ae;this[_0x50c596(0x186)][_0x50c596(0x26a)](_0x45d421=>{const _0xc8d211=_0x50c596;_0x45d421[_0xc8d211(0x19c)](_0x299862);});},_0x47151a*0x2);this[_0x3363ae(0x2e1)][_0x3363ae(0x36c)](_0x299862,_0xcf8c31);}['_removeClearOtherTimer'](_0x3b0e77){const _0xb485a1=_0x2fae81;if(this[_0xb485a1(0x2e1)]['has'](_0x3b0e77)){const _0x3ccbfc=this['_clearOtherTimers'][_0xb485a1(0x2ef)](_0x3b0e77);_0x3ccbfc&&window[_0xb485a1(0x308)](_0x3ccbfc),this[_0xb485a1(0x2e1)]['set'](_0x3b0e77,null);}}['_handleLeaveEvent'](_0x3698c6){const _0x132ce1=_0x2fae81,{memberID:_0x547e6c,unitIDs:_0x14038a}=_0x3698c6;_0x14038a[_0x132ce1(0x26a)](_0x411d6b=>{const _0x43d9f2=_0x132ce1;var _0x4d1059;const _0x20d6ad=this[_0x43d9f2(0x186)][_0x43d9f2(0x2ef)](_0x411d6b);_0x20d6ad&&(_0x20d6ad[_0x43d9f2(0x19c)](_0x547e6c),(_0x4d1059=this[_0x43d9f2(0x1dd)](_0x411d6b))==null||_0x4d1059[_0x43d9f2(0x238)](_0x20d6ad[_0x43d9f2(0x3a1)]===0x0?_0x36cfba[_0x43d9f2(0x361)][_0x43d9f2(0x1ad)]:_0x36cfba[_0x43d9f2(0x361)][_0x43d9f2(0x3ac)]));}),this[_0x132ce1(0x1a2)](_0x547e6c);}[_0x2fae81(0x23e)](_0x497dd1){const _0x44024b=_0x2fae81;this[_0x44024b(0x255)](_0x497dd1[_0x44024b(0x35c)]);}[_0x2fae81(0x3e2)](_0x58782e){const _0x4cba81=_0x2fae81;localStorage[_0x4cba81(0x182)](_0x4012b7,JSON[_0x4cba81(0x1f0)](_0x58782e));}['_scheduleHeartbeat'](){const _0x5dcabe=_0x2fae81;this[_0x5dcabe(0x2b9)]=window['setInterval'](()=>{const _0x52013a=_0x5dcabe;this[_0x52013a(0x3e2)]({'type':0x2,'memberID':this['_id']});},_0x47151a);}[_0x2fae81(0x1dd)](_0x43c102){const _0x4ffcf9=_0x2fae81;return this[_0x4ffcf9(0x3b2)][_0x4ffcf9(0x33c)](_0x43c102)||this[_0x4ffcf9(0x3b2)][_0x4ffcf9(0x36c)](_0x43c102,new _0x2b2634[(_0x4ffcf9(0x155))](_0x36cfba['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ffcf9(0x3b2)][_0x4ffcf9(0x2ef)](_0x43c102);}}_0x250274[_0x2fae81(0x36a)]=_0x5c2a40,_0x250274[_0x2fae81(0x183)]=_0x7078a3,_0x250274[_0x2fae81(0x37d)]=_0x1f6a7d,_0x250274[_0x2fae81(0x2f3)]=_0x1f939b,Object[_0x2fae81(0x381)](_0x250274,Symbol[_0x2fae81(0x150)],{'value':_0x2fae81(0x3df)});}));
|
|
1
|
+
function _0x1599(_0x370940,_0x42b24d){_0x370940=_0x370940-0x86;const _0x3f7c69=_0x3f7c();let _0x15993d=_0x3f7c69[_0x370940];return _0x15993d;}(function(_0x2f700f,_0x5599af){const _0x50980f=_0x1599,_0x48dfc8=_0x2f700f();while(!![]){try{const _0x1dbbea=parseInt(_0x50980f(0xf4))/0x1*(parseInt(_0x50980f(0x1dd))/0x2)+parseInt(_0x50980f(0x103))/0x3*(-parseInt(_0x50980f(0x2fe))/0x4)+parseInt(_0x50980f(0x2e8))/0x5*(-parseInt(_0x50980f(0x150))/0x6)+parseInt(_0x50980f(0x2d1))/0x7+-parseInt(_0x50980f(0x2d0))/0x8+-parseInt(_0x50980f(0x376))/0x9+parseInt(_0x50980f(0xa5))/0xa;if(_0x1dbbea===_0x5599af)break;else _0x48dfc8['push'](_0x48dfc8['shift']());}catch(_0x5629c5){_0x48dfc8['push'](_0x48dfc8['shift']());}}}(_0x3f7c,0x9f523),function(_0x5d00d1,_0x2b515c){const _0x5e8ee7=_0x1599;typeof exports==_0x5e8ee7(0x2e6)&&typeof module<'u'?_0x2b515c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5e8ee7(0xe4)&&define[_0x5e8ee7(0x118)]?define(['exports',_0x5e8ee7(0xeb),_0x5e8ee7(0x2e3),_0x5e8ee7(0x34f),'@univerjs/ui','rxjs',_0x5e8ee7(0x15f),'react',_0x5e8ee7(0x203),_0x5e8ee7(0x29b),_0x5e8ee7(0x309),_0x5e8ee7(0x1be),_0x5e8ee7(0x1c1),_0x5e8ee7(0x369),_0x5e8ee7(0x1e1),'@univerjs/docs',_0x5e8ee7(0x1b3),_0x5e8ee7(0x18b),_0x5e8ee7(0xa0)],_0x2b515c):(_0x5d00d1=typeof globalThis<'u'?globalThis:_0x5d00d1||self,_0x2b515c(_0x5d00d1[_0x5e8ee7(0x2bc)]={},_0x5d00d1[_0x5e8ee7(0x37d)],_0x5d00d1[_0x5e8ee7(0x30a)],_0x5d00d1['UniverCore'],_0x5d00d1[_0x5e8ee7(0x26a)],_0x5d00d1[_0x5e8ee7(0xa1)],_0x5d00d1['UniverDesign'],_0x5d00d1['React'],_0x5d00d1[_0x5e8ee7(0x16a)],_0x5d00d1[_0x5e8ee7(0x1ab)],_0x5d00d1['UniverEngineRender'],_0x5d00d1[_0x5e8ee7(0x1b7)],_0x5d00d1[_0x5e8ee7(0x1ea)],_0x5d00d1[_0x5e8ee7(0x24e)],_0x5d00d1[_0x5e8ee7(0xad)],_0x5d00d1[_0x5e8ee7(0x264)],_0x5d00d1[_0x5e8ee7(0x27d)],_0x5d00d1['rxjs'][_0x5e8ee7(0x1a1)],_0x5d00d1[_0x5e8ee7(0x1de)]));}(this,function(_0x94c2a0,_0x3fba3f,_0xe836dc,_0x1acd3c,_0x3d1085,_0x52b4d8,_0x31b7ea,_0x5b1fa1,_0x501fab,_0x17a17c,_0x4dbd74,_0x26a7c0,_0x4a5890,_0x12a509,_0x1d9a86,_0x3e8285,_0x5dc12e,_0x20b870,_0x3f878d){'use strict';const _0x35dcc5=_0x1599;var _0x35d869=Object[_0x35dcc5(0x2a2)],_0x27024f=(_0x35c307,_0x5b958f,_0x43e919)=>_0x5b958f in _0x35c307?_0x35d869(_0x35c307,_0x5b958f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e919}):_0x35c307[_0x5b958f]=_0x43e919,_0x504098=(_0x2fef61,_0x57dde8,_0x294c1e)=>_0x27024f(_0x2fef61,typeof _0x57dde8!=_0x35dcc5(0x110)?_0x57dde8+'':_0x57dde8,_0x294c1e);function _0x211bfc({ref:_0x497037,..._0x349e01}){const _0x4bec32=_0x35dcc5,{icon:_0xbd9079,id:_0x32dd70,className:_0x419ace,extend:_0x26b4c3,..._0x1ce8c3}=_0x349e01,_0x39628f=(_0x4bec32(0x370)+_0x32dd70+'\x20'+(_0x419ace||''))[_0x4bec32(0x1a8)](),_0x1c616f=_0x5b1fa1[_0x4bec32(0x1f4)]('_'+_0x40ff15());return _0x48ce0e(_0xbd9079,''+_0x32dd70,{'defIds':_0xbd9079[_0x4bec32(0x267)],'idSuffix':_0x1c616f[_0x4bec32(0x87)]},{'ref':_0x497037,'className':_0x39628f,..._0x1ce8c3},_0x26b4c3);}function _0x48ce0e(_0x31cf98,_0x20f0e6,_0x50438e,_0x40d5a7,_0x43b4da){const _0x3dcc08=_0x35dcc5;return _0x5b1fa1[_0x3dcc08(0x32a)](_0x31cf98[_0x3dcc08(0x254)],{'key':_0x20f0e6,..._0x12c8ba(_0x31cf98,_0x50438e,_0x43b4da),..._0x40d5a7},(_0x40f2e0(_0x31cf98,_0x50438e)['children']||[])[_0x3dcc08(0x365)]((_0x30ca94,_0x56047b)=>_0x48ce0e(_0x30ca94,_0x20f0e6+'-'+_0x31cf98[_0x3dcc08(0x254)]+'-'+_0x56047b,_0x50438e,void 0x0,_0x43b4da)));}function _0x12c8ba(_0x104b99,_0x2bc63d,_0x8a1bcd){const _0x2dde7d=_0x35dcc5,_0x2a4799={..._0x104b99[_0x2dde7d(0x319)]};_0x8a1bcd!=null&&_0x8a1bcd[_0x2dde7d(0x252)]&&_0x2a4799[_0x2dde7d(0x1cf)]===_0x2dde7d(0x252)&&(_0x2a4799[_0x2dde7d(0x1cf)]=_0x8a1bcd['colorChannel1']),_0x104b99[_0x2dde7d(0x254)]===_0x2dde7d(0x15a)&&_0x2a4799['id']&&(_0x2a4799['id']=_0x2a4799['id']+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x5bd208,_0x5bf351])=>{const _0x51dde4=_0x2dde7d;_0x5bd208===_0x51dde4(0x15a)&&typeof _0x5bf351==_0x51dde4(0xc1)&&(_0x2a4799[_0x5bd208]=_0x5bf351[_0x51dde4(0x2d6)](/url\(#(.*)\)/,_0x51dde4(0x170)+_0x2bc63d[_0x51dde4(0x1bf)]+')'));});const {defIds:_0x3ddcf3}=_0x2bc63d;return!_0x3ddcf3||_0x3ddcf3['length']===0x0||(_0x104b99[_0x2dde7d(0x254)]==='use'&&_0x2a4799[_0x2dde7d(0x2a1)]&&(_0x2a4799[_0x2dde7d(0x2a1)]=_0x2a4799[_0x2dde7d(0x2a1)]+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x304797,_0x111637])=>{const _0x4a5b2d=_0x2dde7d;typeof _0x111637=='string'&&(_0x2a4799[_0x304797]=_0x111637[_0x4a5b2d(0x2d6)](/url\(#(.*)\)/,'url(#$1'+_0x2bc63d['idSuffix']+')'));})),_0x2a4799;}function _0x40f2e0(_0x59e1ca,_0x12faff){const _0x40e271=_0x35dcc5;var _0x39ed88;const {defIds:_0x4d7209}=_0x12faff;return!_0x4d7209||_0x4d7209[_0x40e271(0x36b)]===0x0?_0x59e1ca:_0x59e1ca[_0x40e271(0x254)]===_0x40e271(0x194)&&((_0x39ed88=_0x59e1ca[_0x40e271(0x186)])!=null&&_0x39ed88[_0x40e271(0x36b)])?{..._0x59e1ca,'children':_0x59e1ca[_0x40e271(0x186)]['map'](_0x153e52=>typeof _0x153e52['attrs']['id']==_0x40e271(0xc1)&&_0x4d7209&&_0x4d7209[_0x40e271(0x34d)](_0x153e52[_0x40e271(0x319)]['id'])?{..._0x153e52,'attrs':{..._0x153e52[_0x40e271(0x319)],'id':_0x153e52[_0x40e271(0x319)]['id']+_0x12faff[_0x40e271(0x1bf)]}}:_0x153e52)}:_0x59e1ca;}function _0x40ff15(){const _0x84c2be=_0x35dcc5;return Math[_0x84c2be(0x306)]()[_0x84c2be(0x327)](0x24)[_0x84c2be(0x344)](0x2,0x8);}_0x211bfc['displayName']=_0x35dcc5(0x20e);const _0x477673={'tag':_0x35dcc5(0x35a),'attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':_0x35dcc5(0x1aa),'width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x21e)},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'stroke':_0x35dcc5(0x2aa),'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':_0x35dcc5(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':_0x35dcc5(0x26e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35dcc5(0x14f)]},_0x293c47=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x36c14b,_0x3ad0db){const _0x292b50=_0x35dcc5;return _0x5b1fa1[_0x292b50(0x32a)](_0x211bfc,Object[_0x292b50(0x1e3)]({},_0x36c14b,{'id':_0x292b50(0x353),'ref':_0x3ad0db,'icon':_0x477673}));});_0x293c47['displayName']=_0x35dcc5(0xc7);const _0x2985e9={'tag':'svg','attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':'0\x200\x2017\x2016','width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x372)},'children':[{'tag':'path','attrs':{'stroke':_0x35dcc5(0x2aa),'d':_0x35dcc5(0x195),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':_0x35dcc5(0x1fa),'transform':_0x35dcc5(0x159)}}]}]}],'defIds':[_0x35dcc5(0x11c)]},_0x18a4cb=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x3f050f,_0x1e22c2){const _0x104a34=_0x35dcc5;return _0x5b1fa1[_0x104a34(0x32a)](_0x211bfc,Object[_0x104a34(0x1e3)]({},_0x3f050f,{'id':_0x104a34(0x155),'ref':_0x1e22c2,'icon':_0x2985e9}));});_0x18a4cb[_0x35dcc5(0x1a9)]=_0x35dcc5(0x22f);function _0x2260c7(_0x8fa159){const _0x47ce8c=_0x35dcc5;switch(_0x8fa159){case _0xe836dc['CollaborationStatus']['OFFLINE']:return _0x47ce8c(0x2b7);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x1fc)]:return _0x47ce8c(0x29d);case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x332)]:return _0x47ce8c(0x289);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2c5)]:return _0x47ce8c(0x24a);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2da)]:case _0xe836dc[_0x47ce8c(0x283)]['AWAITING_WITH_PENDING']:return _0x47ce8c(0x1da);case _0xe836dc[_0x47ce8c(0x283)]['SYNCED']:case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x2e2)]:return'collabStatus.synced';}}function _0x195e6b(_0x18c53d){const _0x2763b4=_0x35dcc5,{status$:_0x404c97}=_0x18c53d,_0x67a6cf=_0x3d1085[_0x2763b4(0xf8)](_0x404c97,_0xe836dc[_0x2763b4(0x283)][_0x2763b4(0x2c5)]),_0x452aca=_0x3d1085[_0x2763b4(0x21b)](_0x1acd3c[_0x2763b4(0x10c)]),_0x41e98e=_0x3d1085[_0x2763b4(0x21b)](_0xe836dc[_0x2763b4(0x1e7)]),_0xbad154=_0x67a6cf!==_0xe836dc['CollaborationStatus'][_0x2763b4(0xbe)],_0x2ac27d=_0x452aca['t'](_0x2260c7(_0x67a6cf)),_0x427f38=_0xbad154?_0x3fba3f[_0x2763b4(0x2d2)](_0x18a4cb,{}):_0x3fba3f[_0x2763b4(0x2d2)](_0x293c47,{}),_0x3a90bf=_0x5b1fa1[_0x2763b4(0x19f)](()=>{_0xbad154||_0x41e98e['reconnect']();},[_0xbad154,_0x41e98e]);function _0x138293(){const _0x3dc544=_0x2763b4;return _0x3fba3f['jsxs'](_0x3dc544(0x228),{'className':'univer-flex\x20univer-items-center','onClick':_0x3a90bf,'children':[_0x3fba3f[_0x3dc544(0x2d2)](_0x3dc544(0x228),{'className':_0x31b7ea[_0x3dc544(0x236)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xbad154,'univer-text-red-500':!_0xbad154}),'children':_0x427f38}),_0x3fba3f['jsx'](_0x3dc544(0x228),{'className':_0x3dc544(0x1a5),'children':_0x2ac27d})]});}return _0xbad154?_0x138293():_0x3fba3f[_0x2763b4(0x2d2)](_0x31b7ea['Tooltip'],{'title':_0x452aca['t'](_0x2763b4(0x2ef)),'children':_0x138293()});}var _0x23a300=Object[_0x35dcc5(0x378)],_0x312e14=(_0x49c067,_0x2a2e5d,_0x1acc11,_0x5c61f6)=>{const _0x275315=_0x35dcc5;for(var _0x41c134=_0x5c61f6>0x1?void 0x0:_0x5c61f6?_0x23a300(_0x2a2e5d,_0x1acc11):_0x2a2e5d,_0x2d963d=_0x49c067[_0x275315(0x36b)]-0x1,_0x53028e;_0x2d963d>=0x0;_0x2d963d--)(_0x53028e=_0x49c067[_0x2d963d])&&(_0x41c134=_0x53028e(_0x41c134)||_0x41c134);return _0x41c134;},_0x171612=(_0x202bf1,_0x122cc7)=>(_0x9efde4,_0x1d38cf)=>_0x122cc7(_0x9efde4,_0x1d38cf,_0x202bf1);_0x94c2a0['DesktopCollaborationStatusDisplayController']=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1a20ab,_0x1a928a,_0xe26574,_0x1da128){const _0x2ec2ad=_0x35dcc5;super(),_0x504098(this,_0x2ec2ad(0x197),new _0x52b4d8[(_0x2ec2ad(0x2eb))](_0xe836dc[_0x2ec2ad(0x283)][_0x2ec2ad(0x2c5)])),(this['_univerInstanceService']=_0x1a20ab,this[_0x2ec2ad(0x304)]=_0x1a928a,this['_collaborationController']=_0xe26574,this[_0x2ec2ad(0x226)]=_0x1da128,this[_0x2ec2ad(0x8a)](),this[_0x2ec2ad(0x273)]());}['_initStatusListener'](){const _0x3d7b6e=_0x35dcc5;this['disposeWithMe'](this[_0x3d7b6e(0x2ee)]['focused$'][_0x3d7b6e(0x22a)](_0x52b4d8['switchMap'](()=>{const _0x3c3194=_0x3d7b6e,_0x2b10f0=this[_0x3c3194(0x2ee)]['getFocusedUnit']();return _0x2b10f0?this[_0x3c3194(0x2c7)]['getCollabEntity$'](_0x2b10f0[_0x3c3194(0x2cb)]()):_0x52b4d8['of'](null);}),_0x52b4d8[_0x3d7b6e(0x1ac)](_0xc0291b=>_0xc0291b?_0xc0291b[_0x3d7b6e(0x363)]:_0x52b4d8['of'](_0xe836dc[_0x3d7b6e(0x283)][_0x3d7b6e(0x2c5)])))['subscribe'](_0x5284f2=>{const _0x4084c2=_0x3d7b6e;this[_0x4084c2(0x197)]['next'](_0x5284f2);}));}[_0x35dcc5(0x8a)](){const _0x23b3d8=_0x35dcc5;this[_0x23b3d8(0x362)](this[_0x23b3d8(0x226)][_0x23b3d8(0x131)](_0x3d1085['BuiltInUIPart'][_0x23b3d8(0x234)],()=>_0x3d1085[_0x23b3d8(0xa8)](_0x37946a({'status$':this[_0x23b3d8(0x197)]['asObservable']()}),this[_0x23b3d8(0x304)])));}},_0x94c2a0[_0x35dcc5(0x34a)]=_0x312e14([_0x171612(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x171612(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x171612(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x171612(0x3,_0x3d1085[_0x35dcc5(0x1ee)])],_0x94c2a0[_0x35dcc5(0x34a)]);function _0x37946a(_0x100f22){const {status$:_0x18150e}=_0x100f22;return function(){const _0x4f4a77=_0x1599;return _0x3fba3f[_0x4f4a77(0x2d2)](_0x195e6b,{'status$':_0x18150e});};}const _0x47bc3f=_0x1acd3c[_0x35dcc5(0xcd)](_0x35dcc5(0x233));var _0x30153f=Object[_0x35dcc5(0x378)],_0x1252a5=(_0x2257d3,_0x5494dd,_0x5cb6f5,_0x7879f0)=>{const _0x2a1102=_0x35dcc5;for(var _0x1cc70a=_0x7879f0>0x1?void 0x0:_0x7879f0?_0x30153f(_0x5494dd,_0x5cb6f5):_0x5494dd,_0x41bb78=_0x2257d3[_0x2a1102(0x36b)]-0x1,_0x58d480;_0x41bb78>=0x0;_0x41bb78--)(_0x58d480=_0x2257d3[_0x41bb78])&&(_0x1cc70a=_0x58d480(_0x1cc70a)||_0x1cc70a);return _0x1cc70a;},_0x45e21c=(_0x25fa75,_0x2a8446)=>(_0x53b1fc,_0x5ebac0)=>_0x2a8446(_0x53b1fc,_0x5ebac0,_0x25fa75);_0x94c2a0[_0x35dcc5(0xdc)]=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x282073,_0x531c05,_0x3cee84,_0x59b84a,_0x3a9824){const _0x4e7ec=_0x35dcc5;super(),this[_0x4e7ec(0x1a7)]=_0x282073,this['_logService']=_0x531c05,this[_0x4e7ec(0xe6)]=_0x3cee84,this[_0x4e7ec(0xa3)]=_0x59b84a,_0x3a9824?_0x3a9824==null||_0x3a9824[_0x4e7ec(0x115)]()[_0x4e7ec(0x1c3)](()=>this[_0x4e7ec(0x216)]()):(this[_0x4e7ec(0x94)]['debug']('[CollaborationDataLoaderController]',_0x4e7ec(0xd4)),this[_0x4e7ec(0x216)]());}async['_init'](){const _0x3c9016=_0x35dcc5,_0x359e09=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)](_0x3c9016(0xb3)),_0x2a70a7=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('type'),_0xebe472=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('subunit');if(!_0x359e09||!_0x2a70a7){this[_0x3c9016(0x94)]['debug'](_0x3c9016(0xc9),_0x3c9016(0x137));return;}const _0x56e723=await this[_0x3c9016(0xa3)]['loadUnit'](_0x359e09,Number(_0x2a70a7),_0xebe472);_0x56e723&&_0x56e723 instanceof _0x1acd3c[_0x3c9016(0x30b)]&&this[_0x3c9016(0x35f)](_0x56e723);}async[_0x35dcc5(0x35f)](_0x391853){const _0x462bbf=_0x35dcc5;await this['_updateSubUnitFromURLParams'](_0x391853),_0x391853['activeSheet$'][_0x462bbf(0x22a)](_0x52b4d8['takeUntil'](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](_0x483523=>{const _0x394cb9=_0x462bbf;_0x483523&&this[_0x394cb9(0x371)](_0x483523);}),this[_0x462bbf(0x1a7)][_0x462bbf(0xec)][_0x462bbf(0x22a)](_0x52b4d8[_0x462bbf(0xa7)](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](()=>this[_0x462bbf(0x1d2)](_0x391853));}['_updateURLWithCurrentState'](_0x2b8b8e,_0x406834=!0x1){const _0x5e90a2=_0x35dcc5,_0x443e46=this['_urlService'][_0x5e90a2(0x1a2)]('subunit');_0x2b8b8e[_0x5e90a2(0xc5)]()!==_0x443e46&&this['_urlService'][_0x5e90a2(0x130)](_0x5e90a2(0x2a3),_0x2b8b8e[_0x5e90a2(0xc5)](),_0x406834);}async[_0x35dcc5(0x1d2)](_0x387788){const _0x45765b=_0x35dcc5;var _0x350ee1;const _0x168bc1=this[_0x45765b(0x1a7)]['getParam'](_0x45765b(0x2a3));if(!_0x168bc1||!_0x387788[_0x45765b(0x14b)](_0x168bc1)){const _0x5c4a43=_0x387788[_0x45765b(0xcf)]()[0x0],_0xb99076=_0x387788[_0x45765b(0x14b)](_0x5c4a43);if(!_0xb99076)return;this[_0x45765b(0x371)](_0xb99076,!0x0),await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x5c4a43});return;}((_0x350ee1=_0x387788['getActiveSheet']())==null?void 0x0:_0x350ee1[_0x45765b(0xc5)]())!==_0x168bc1&&await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x168bc1});}},_0x94c2a0[_0x35dcc5(0xdc)]=_0x1252a5([_0x45e21c(0x0,_0x47bc3f),_0x45e21c(0x1,_0x1acd3c[_0x35dcc5(0x296)]),_0x45e21c(0x2,_0x1acd3c[_0x35dcc5(0x27e)]),_0x45e21c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1df)])),_0x45e21c(0x4,_0x1acd3c[_0x35dcc5(0x220)](_0x501fab[_0x35dcc5(0x357)]))],_0x94c2a0['CollaborationDataLoaderController']);var _0x559fad=Object[_0x35dcc5(0x378)],_0x3f059e=(_0x3ce31f,_0x50c7e8,_0x293c28,_0x3ad049)=>{const _0x2cdfc2=_0x35dcc5;for(var _0x5b8ac2=_0x3ad049>0x1?void 0x0:_0x3ad049?_0x559fad(_0x50c7e8,_0x293c28):_0x50c7e8,_0x2e93a5=_0x3ce31f[_0x2cdfc2(0x36b)]-0x1,_0x3f8908;_0x2e93a5>=0x0;_0x2e93a5--)(_0x3f8908=_0x3ce31f[_0x2e93a5])&&(_0x5b8ac2=_0x3f8908(_0x5b8ac2)||_0x5b8ac2);return _0x5b8ac2;},_0xffe697=(_0x5a8d82,_0x8374e)=>(_0x288e3d,_0x834361)=>_0x8374e(_0x288e3d,_0x834361,_0x5a8d82);let _0x774444=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x27fffd,_0xa2a3cb){const _0x5f06e1=_0x35dcc5;super(),this['_docClipboardService']=_0x27fffd,this[_0x5f06e1(0x2f7)]=_0xa2a3cb,this[_0x5f06e1(0x216)]();}[_0x35dcc5(0x216)](){const _0x27c2d6=_0x35dcc5,_0x222067=this;this[_0x27c2d6(0x362)](this[_0x27c2d6(0x123)][_0x27c2d6(0x2d7)]({'onBeforePasteImage':async _0x3101fb=>{const _0x14475b=_0x27c2d6,_0x29756a=await _0x222067[_0x14475b(0x2f7)][_0x14475b(0x149)](_0x3101fb);return _0x29756a?{'source':_0x29756a[_0x14475b(0x315)],'imageSourceType':_0x29756a[_0x14475b(0x30c)]}:null;}}));}};_0x774444=_0x3f059e([_0xffe697(0x0,_0x4a5890[_0x35dcc5(0x36f)]),_0xffe697(0x1,_0x12a509[_0x35dcc5(0x1dc)])],_0x774444);const _0x1718b1=[_0x35dcc5(0x310),'jiqing.500',_0x35dcc5(0x1d8),_0x35dcc5(0x2a7),_0x35dcc5(0x1e6),_0x35dcc5(0x16f)];class _0x2ecc79 extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(){const _0x5b4afb=_0x35dcc5;super(...arguments),_0x504098(this,'_assignedColors',new Map()),_0x504098(this,_0x5b4afb(0x19a),0x0);}[_0x35dcc5(0x20b)](_0x3ee6d4){const _0x3c6906=_0x35dcc5;if(this[_0x3c6906(0x2df)]['has'](_0x3ee6d4))return this['_assignedColors']['get'](_0x3ee6d4);const _0x458338=_0x1718b1[this[_0x3c6906(0x19a)]];return this['_colorIndex']=(this[_0x3c6906(0x19a)]+0x1)%_0x1718b1['length'],this['_assignedColors']['set'](_0x3ee6d4,_0x458338),_0x458338;}}function _0x5d330d(_0x420db9){const _0x2e4a54=_0x35dcc5;let _0x314c01='';for(const _0xb15f6c of _0x420db9){const {startOffset:_0x41eeef,endOffset:_0x53204a,isActive:_0x65b53b,rangeType:_0x5d43a3,segmentId:_0x221839,segmentPage:_0x2a111a}=_0xb15f6c;_0x314c01[_0x2e4a54(0x36b)]&&(_0x314c01+=','),_0x314c01+=_0x41eeef+':'+_0x53204a+':'+(_0x65b53b?'1':'0')+':'+_0x5d43a3+':'+_0x221839+':'+_0x2a111a;}return _0x314c01;}function _0x220161(_0x38ccd0){const _0x59e2d1=_0x35dcc5,_0x3c708f=_0x38ccd0[_0x59e2d1(0x92)](','),_0x156521=[];for(const _0x4dcc89 of _0x3c708f){const [_0x41cfb4,_0x5e708a,_0x2980aa,_0x48140e,_0x3a5bb7,_0x17cd4a]=_0x4dcc89[_0x59e2d1(0x92)](':');_0x156521['push']({'startOffset':Number(_0x41cfb4),'endOffset':Number(_0x5e708a),'collapsed':_0x41cfb4===_0x5e708a,'isActive':_0x2980aa==='1','rangeType':_0x48140e===_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]?_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]:_0x1acd3c['DOC_RANGE_TYPE'][_0x59e2d1(0x1ca)],'segmentId':typeof _0x3a5bb7==_0x59e2d1(0xc1)?String(_0x3a5bb7):'','segmentPage':Number(_0x17cd4a!=null?_0x17cd4a:-0x1)});}return _0x156521[_0x59e2d1(0x263)](_0x3a92df=>_0x3a92df[_0x59e2d1(0x224)])||(_0x156521[0x0]['isActive']=!0x0),_0x156521;}class _0x4fc58b extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(){const _0x3d46b6=_0x35dcc5;super(...arguments),_0x504098(this,'_collabCursorState$',new _0x52b4d8[(_0x3d46b6(0x2eb))](null)),_0x504098(this,'collabCursorState$',this[_0x3d46b6(0x2cc)][_0x3d46b6(0x34c)]());}[_0x35dcc5(0xbb)](_0x30e0a5){const _0x11a319=_0x35dcc5,{unitID:_0x4cb71d,memberID:_0x46810,textRanges:_0x356948}=_0x30e0a5,_0x2c127c=_0x5d330d(_0x356948);if(_0x2c127c==='')return;const _0x55093e={'unitID':_0x4cb71d,'memberID':_0x46810,'selection':_0x2c127c};this[_0x11a319(0x2cc)][_0x11a319(0xba)](_0x55093e);}}var _0x4d86e5=Object[_0x35dcc5(0x378)],_0x29e528=(_0x5580f8,_0xa96d9,_0x478241,_0x10a1f5)=>{const _0x31ad4a=_0x35dcc5;for(var _0xa2f84e=_0x10a1f5>0x1?void 0x0:_0x10a1f5?_0x4d86e5(_0xa96d9,_0x478241):_0xa96d9,_0x3019bc=_0x5580f8[_0x31ad4a(0x36b)]-0x1,_0x58519a;_0x3019bc>=0x0;_0x3019bc--)(_0x58519a=_0x5580f8[_0x3019bc])&&(_0xa2f84e=_0x58519a(_0xa2f84e)||_0xa2f84e);return _0xa2f84e;},_0x42c20c=(_0x12f8f2,_0x192cc8)=>(_0x3c8505,_0x6696f4)=>_0x192cc8(_0x3c8505,_0x6696f4,_0x12f8f2);const _0x3691bf=0x12c,_0x120aad=0x64;let _0x51b1c2=class extends _0x1acd3c['RxDisposable']{constructor(_0x3b2bf6,_0x1641d1,_0x105b0d,_0x342580,_0x45c2a5,_0x58366f,_0x179120,_0x2b73ae,_0x2c0d60){const _0x13d47f=_0x35dcc5;super(),_0x504098(this,_0x13d47f(0x1c7),!0x1),_0x504098(this,'_init',!0x1),_0x504098(this,_0x13d47f(0x8e),new _0x52b4d8[(_0x13d47f(0x2eb))](new Map())),_0x504098(this,_0x13d47f(0xfc),this[_0x13d47f(0x8e)][_0x13d47f(0x34c)]()),_0x504098(this,_0x13d47f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,'roomMembers$',this[_0x13d47f(0x312)][_0x13d47f(0x22a)](_0x52b4d8['debounceTime'](_0x3691bf))),_0x504098(this,_0x13d47f(0x206),_0x1acd3c['debounce'](_0x4ad5bb=>{const _0x51864d=_0x13d47f,_0xdc0a6e={'eventID':_0x1d9a86[_0x51864d(0xd6)][_0x51864d(0x17b)],'data':{'unitID':this['unitID'],'memberID':this[_0x51864d(0x238)][_0x51864d(0x1b1)](),'selection':_0x5d330d(_0x4ad5bb)}};this[_0x51864d(0x238)][_0x51864d(0x32f)](_0xdc0a6e,this[_0x51864d(0x181)]);},_0x120aad)),(this[_0x13d47f(0x181)]=_0x3b2bf6,this[_0x13d47f(0x238)]=_0x1641d1,this[_0x13d47f(0x304)]=_0x105b0d,this[_0x13d47f(0x335)]=_0x342580,this['_memberService']=_0x45c2a5,this[_0x13d47f(0x1d5)]=_0x58366f,this['_transformService']=_0x179120,this['_univerInstanceService']=_0x2b73ae,this[_0x13d47f(0xe6)]=_0x2c0d60);}get[_0x35dcc5(0x2ba)](){const _0xaae948=_0x35dcc5;return this[_0xaae948(0x8e)]['getValue']();}get['roomMembers'](){const _0x508e6d=_0x35dcc5;return this['_roomMembers$'][_0x508e6d(0x20a)]();}[_0x35dcc5(0x381)](){const _0x4301d1=_0x35dcc5;super['dispose'](),this['_cursorInfo$'][_0x4301d1(0xba)](new Map()),this[_0x4301d1(0x8e)][_0x4301d1(0x269)](),this[_0x4301d1(0x312)][_0x4301d1(0xba)]([]),this[_0x4301d1(0x312)][_0x4301d1(0x269)]();}['init'](){const _0x5eb9f1=_0x35dcc5;this[_0x5eb9f1(0x216)]||(this[_0x5eb9f1(0x216)]=!0x0,this[_0x5eb9f1(0x238)][_0x5eb9f1(0x262)]['pipe'](_0x52b4d8[_0x5eb9f1(0xa7)](this[_0x5eb9f1(0x2f9)]))[_0x5eb9f1(0xc6)](_0x91d8ed=>{const _0x8713b1=_0x5eb9f1;_0x91d8ed===_0xe836dc[_0x8713b1(0x28c)]['ONLINE']?this[_0x8713b1(0x2be)]():this[_0x8713b1(0x322)]();}),this[_0x5eb9f1(0x238)][_0x5eb9f1(0x9d)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x300e95=>{const _0x38d6d3=_0x5eb9f1,_0x1788f0=_0x300e95['eventID'];_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)][_0x38d6d3(0x17b)]&&this[_0x38d6d3(0x20f)](_0x300e95),_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)]['USERS_LEAVE']&&this[_0x38d6d3(0x298)](_0x300e95);}),this[_0x5eb9f1(0x362)](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17681e=>{const _0x4f2df0=_0x5eb9f1,_0x53d003=_0x17681e[_0x4f2df0(0x164)];_0x53d003!=null&&this[_0x4f2df0(0x1c7)]&&_0x17681e['id']===_0x3e8285['SetTextSelectionsOperation']['id']&&_0x53d003[_0x4f2df0(0x334)]===this[_0x4f2df0(0x181)]&&_0x53d003[_0x4f2df0(0x33b)]===!0x1&&_0x53d003[_0x4f2df0(0x22e)][_0x4f2df0(0x36b)]>0x0&&this[_0x4f2df0(0x206)](_0x53d003[_0x4f2df0(0x22e)]);})),this[_0x5eb9f1(0x1d5)][_0x5eb9f1(0x193)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x55ae26=>{const _0xeaf0d0=_0x5eb9f1;if((_0x55ae26==null?void 0x0:_0x55ae26[_0xeaf0d0(0x181)])!==this[_0xeaf0d0(0x181)])return;const _0x40b768={'eventID':_0x1d9a86['CollaborationEvent'][_0xeaf0d0(0x17b)],'data':_0x55ae26};this['_onCursorUpdate'](_0x40b768);}),this['disposeWithMe'](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17707a=>{const _0x5a9ae4=_0x5eb9f1;if(_0x17707a[_0x5a9ae4(0x164)]==null)return;const _0x3bf9ff=_0x17707a['params'];if(_0x17707a['id']!==_0x3e8285[_0x5a9ae4(0x295)]['id']||_0x3bf9ff['unitId']!==this[_0x5a9ae4(0x181)])return;const _0x508b6c={'id':_0x5a9ae4(0x2b8),'params':_0x3bf9ff},_0x1f6859=this['cursorInfo'];for(const [_0x451c28,_0x4f2bbb]of _0x1f6859){const _0x208183={'id':_0x5a9ae4(0x2b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f2bbb['ranges']}},_0x458c03=this[_0x5a9ae4(0x2a5)]['transformMutation'](_0x508b6c,_0x208183,!0x1);if(_0x1d9a86[_0x5a9ae4(0xd0)](_0x458c03))throw _0x458c03[_0x5a9ae4(0x36d)];_0x1f6859[_0x5a9ae4(0x375)](_0x451c28,{..._0x4f2bbb,'ranges':_0x458c03[_0x5a9ae4(0x167)]['params'][_0x5a9ae4(0x35b)]});}queueMicrotask(()=>{const _0x2f9da9=_0x5a9ae4;this[_0x2f9da9(0x8e)]['next'](_0x1f6859);});})));}[_0x35dcc5(0x20f)](_0x3f8d42){const _0xd60897=_0x35dcc5;var _0x56d8dd,_0x8d75c9;const {memberID:_0x2c6b6a,selection:_0x3e5c71}=_0x3f8d42[_0xd60897(0xe5)],_0x49ccff=_0x220161(_0x3e5c71),_0x1d8408=(_0x8d75c9=(_0x56d8dd=this['_memberService'][_0xd60897(0x1eb)](this[_0xd60897(0x181)],_0x2c6b6a))==null?void 0x0:_0x56d8dd[_0xd60897(0x10b)])!=null?_0x8d75c9:_0xd60897(0x21a),_0x40a6af={'color':this[_0xd60897(0x335)][_0xd60897(0x20b)](_0x2c6b6a),'name':_0x1d8408,'ranges':_0x49ccff},_0x4e5bc8=this['cursorInfo'];_0x4e5bc8['set'](_0x2c6b6a,_0x40a6af),this['_cursorInfo$'][_0xd60897(0xba)](_0x4e5bc8);}[_0x35dcc5(0x298)](_0x54440c){const _0xa8ebf=_0x35dcc5,{memberID:_0x2cac70}=_0x54440c[_0xa8ebf(0xe5)],_0x2406d8=this[_0xa8ebf(0x2ba)];_0x2406d8[_0xa8ebf(0x2bb)](_0x2cac70),this['_cursorInfo$'][_0xa8ebf(0xba)](_0x2406d8);}[_0x35dcc5(0x2be)](){const _0x305610=_0x35dcc5;var _0x50af44;if(this[_0x305610(0x1c7)]=!0x0,((_0x50af44=this['_univerInstanceService'][_0x305610(0x21c)]())==null?void 0x0:_0x50af44[_0x305610(0x2cb)]())!==this[_0x305610(0x181)])return;const _0x17019e=this[_0x305610(0x304)][_0x305610(0x343)](_0x3e8285['DocSelectionManagerService'])[_0x305610(0x172)]();Array[_0x305610(0x245)](_0x17019e)&&_0x17019e[_0x305610(0x36b)]>0x0&&this[_0x305610(0x206)](_0x17019e);}[_0x35dcc5(0x322)](){this['_online']=!0x1;}};_0x51b1c2=_0x29e528([_0x42c20c(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x42c20c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x42c20c(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x42c20c(0x5,_0x1acd3c['Inject'](_0x4fc58b)),_0x42c20c(0x6,_0x1d9a86['ITransformService']),_0x42c20c(0x7,_0x1acd3c[_0x35dcc5(0x329)]),_0x42c20c(0x8,_0x1acd3c[_0x35dcc5(0x27e)])],_0x51b1c2);var _0x4ea420=Object['getOwnPropertyDescriptor'],_0x55cd00=(_0x579146,_0x1d360a,_0x4dc7ee,_0x5ab8d5)=>{for(var _0xb45386=_0x5ab8d5>0x1?void 0x0:_0x5ab8d5?_0x4ea420(_0x1d360a,_0x4dc7ee):_0x1d360a,_0xf02477=_0x579146['length']-0x1,_0x3f33f1;_0xf02477>=0x0;_0xf02477--)(_0x3f33f1=_0x579146[_0xf02477])&&(_0xb45386=_0x3f33f1(_0xb45386)||_0xb45386);return _0xb45386;},_0x160e72=(_0x24e3f6,_0x296fa2)=>(_0x364b43,_0x49fbc4)=>_0x296fa2(_0x364b43,_0x49fbc4,_0x24e3f6);const _0x5d23a5=0x12c,_0x2bf8bd=0x64,_0x5f1747=()=>{let _0x471273=[],_0x590510=!0x1;return _0x513e63=>{const _0x30d1b6=_0x1599;_0x471273[_0x30d1b6(0x2c2)](_0x513e63),_0x590510||(_0x590510=!0x0,setTimeout(()=>{_0x471273['forEach'](_0x564b6c=>_0x564b6c()),_0x471273=[],_0x590510=!0x1;}));};};let _0x3b7df7=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x41947c,_0x3cedfb,_0x175980,_0x22dd78,_0x298a3f,_0x137d6f,_0x1639f9,_0x890848){const _0x21010f=_0x35dcc5;super(),_0x504098(this,'_online',!0x1),_0x504098(this,_0x21010f(0x216),!0x1),_0x504098(this,_0x21010f(0x8e),new _0x52b4d8['BehaviorSubject'](new Map())),_0x504098(this,_0x21010f(0xfc),this[_0x21010f(0x8e)][_0x21010f(0x34c)]()),_0x504098(this,_0x21010f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,_0x21010f(0x2c4),this[_0x21010f(0x312)][_0x21010f(0x22a)](_0x52b4d8[_0x21010f(0x287)](_0x5d23a5))),_0x504098(this,'_updateLocalCursor',_0x1acd3c['debounce']((_0x4bb9da,_0x2a31ff)=>{const _0x3489a0=_0x21010f,_0x2b94e0={'eventID':_0x1d9a86['CollaborationEvent'][_0x3489a0(0x17b)],'data':{'unitID':this[_0x3489a0(0x181)],'memberID':this['_session'][_0x3489a0(0x1b1)](),'selection':_0x5dc12e[_0x3489a0(0x290)](_0x4bb9da,_0x2a31ff[_0x3489a0(0x251)])}};this[_0x3489a0(0x238)][_0x3489a0(0x32f)](_0x2b94e0,this['unitID']);},_0x2bf8bd)),(this[_0x21010f(0x181)]=_0x41947c,this[_0x21010f(0x238)]=_0x3cedfb,this[_0x21010f(0x304)]=_0x175980,this[_0x21010f(0x335)]=_0x22dd78,this[_0x21010f(0x360)]=_0x298a3f,this['_univerInstanceService']=_0x137d6f,this[_0x21010f(0xe6)]=_0x1639f9,this[_0x21010f(0x1c8)]=_0x890848);}get[_0x35dcc5(0x2ba)](){const _0x149ca3=_0x35dcc5;return this['_cursorInfo$'][_0x149ca3(0x20a)]();}get['roomMembers'](){const _0x3fd6ae=_0x35dcc5;return this[_0x3fd6ae(0x312)][_0x3fd6ae(0x20a)]();}['dispose'](){const _0x2a7397=_0x35dcc5;super['dispose'](),this[_0x2a7397(0x8e)]['next'](new Map()),this[_0x2a7397(0x8e)][_0x2a7397(0x269)](),this[_0x2a7397(0x312)][_0x2a7397(0xba)]([]),this[_0x2a7397(0x312)][_0x2a7397(0x269)]();}['init'](){const _0x5ca263=_0x35dcc5;this[_0x5ca263(0x216)]||(this[_0x5ca263(0x216)]=!0x0,this[_0x5ca263(0x238)][_0x5ca263(0x262)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0xbe613=>{const _0x24c4d9=_0x5ca263;_0xbe613===_0xe836dc[_0x24c4d9(0x28c)][_0x24c4d9(0xed)]?this[_0x24c4d9(0x2be)]():this[_0x24c4d9(0x322)]();}),this[_0x5ca263(0x238)][_0x5ca263(0x9d)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0x9465f6=>{const _0x57e842=_0x5ca263,_0x538caa=_0x9465f6[_0x57e842(0xc4)];_0x538caa===_0x1d9a86['CollaborationEvent'][_0x57e842(0x17b)]&&this[_0x57e842(0x20f)](_0x9465f6),_0x538caa===_0x1d9a86[_0x57e842(0xd6)][_0x57e842(0x2f2)]&&this['_onCursorDelete'](_0x9465f6);}),this[_0x5ca263(0x223)](),this['disposeWithMe'](this[_0x5ca263(0xe6)][_0x5ca263(0x1d7)](_0x3595f2=>{const _0x49d99d=_0x5ca263;if(this['_online']&&_0x3595f2['id']===_0x17a17c[_0x49d99d(0xe9)]['id']&&_0x3595f2[_0x49d99d(0x164)]['unitId']===this[_0x49d99d(0x181)]){const _0x394ffd=_0x3595f2[_0x49d99d(0x164)];this[_0x49d99d(0x206)](_0x394ffd[_0x49d99d(0x1f0)],_0x394ffd[_0x49d99d(0x320)][0x0]);}})));}[_0x35dcc5(0x20f)](_0x3c5223){const _0x4cc9da=_0x35dcc5;var _0x551f96,_0x29411c;const {memberID:_0x5f591f,selection:_0x44a582}=_0x3c5223[_0x4cc9da(0xe5)],{sheetName:_0x26c58a,range:_0x53328d}=_0x5dc12e[_0x4cc9da(0x171)](_0x44a582),_0x47f0a0={'name':(_0x29411c=(_0x551f96=this[_0x4cc9da(0x360)][_0x4cc9da(0x1eb)](this['unitID'],_0x5f591f))==null?void 0x0:_0x551f96['name'])!=null?_0x29411c:_0x4cc9da(0x21a),'range':this[_0x4cc9da(0x36e)](_0x26c58a,_0x53328d),'sheetID':_0x26c58a,'color':this[_0x4cc9da(0x335)]['assignAColorForMemberID'](_0x5f591f),'selection':_0x44a582},_0x16605a=this[_0x4cc9da(0x2ba)];_0x16605a[_0x4cc9da(0x375)](_0x5f591f,_0x47f0a0),this[_0x4cc9da(0x8e)][_0x4cc9da(0xba)](_0x16605a);}[_0x35dcc5(0x298)](_0x504778){const _0x1354d0=_0x35dcc5,{memberID:_0x3b660a}=_0x504778[_0x1354d0(0xe5)],_0x3dc5e1=this[_0x1354d0(0x2ba)];_0x3dc5e1[_0x1354d0(0x2bb)](_0x3b660a),this['_cursorInfo$'][_0x1354d0(0xba)](_0x3dc5e1);}[_0x35dcc5(0x36e)](_0x3687fd,_0x2c541f){const _0x26d029=_0x35dcc5;var _0xf11c7e,_0x293598;const _0x4df95c=(_0x293598=(_0xf11c7e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x26d029(0x181)]))==null?void 0x0:_0xf11c7e[_0x26d029(0x14b)](_0x3687fd))==null?void 0x0:_0x293598['getMergeData']();return(_0x4df95c==null?void 0x0:_0x4df95c[_0x26d029(0x2f0)](_0x5689bc=>_0x1acd3c[_0x26d029(0x1e8)][_0x26d029(0x145)](_0x5689bc,_0x2c541f)))||_0x2c541f;}[_0x35dcc5(0x223)](){const _0x422792=_0x35dcc5,_0x161d97=new _0x1acd3c[(_0x422792(0x1f9))](),_0x49ddca=_0x5f1747(),_0x2069ff=()=>{const _0x287e23=_0x422792;_0x161d97['dispose']();const _0x245884=(_0x4bbf36,_0x545f28,_0x17bb45,_0x5d6b10)=>{const _0x47375b=_0x1599;let _0x3da4b4=[];switch(_0x4bbf36['id']){case _0x17a17c[_0x47375b(0x125)]['DeleteRangeMoveLeftCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x13d)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x16d)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertColCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x166)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x199)]:{_0x3da4b4=_0x17a17c['handleInsertRangeMoveDown'](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertRangeMoveRightCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x368)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0xda)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x37a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x9c)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x11e)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x23a)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x313)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c['EffectRefRangId'][_0x47375b(0x367)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25c)](_0x4bbf36,_0x5d6b10);break;}}const _0x83030f=_0x17a17c[_0x47375b(0x276)](_0x3da4b4,_0x5d6b10),_0x51c1c8=this[_0x47375b(0x2ba)][_0x47375b(0x343)](_0x545f28);if(_0x51c1c8&&_0x83030f){const _0x5bcc63={..._0x51c1c8,'range':_0x83030f};this[_0x47375b(0x2ba)][_0x47375b(0x375)](_0x545f28,_0x5bcc63),_0x49ddca(()=>{const _0x22064e=_0x47375b,_0x5c361f=this[_0x22064e(0x1c8)]['registerRefRange'](_0x83030f,_0x4aa357=>(_0x5c361f[_0x22064e(0x381)](),_0x245884(_0x4aa357,_0x545f28,_0x17bb45,_0x83030f)));_0x161d97[_0x22064e(0x2fc)](_0x5c361f);});}return{'redos':[],'undos':[]};};this[_0x287e23(0x2ba)][_0x287e23(0x9a)]((_0x5c5f6c,_0x31e29b)=>{const _0x266bac=_0x287e23,{range:_0x3374d9,sheetID:_0x190de2}=_0x5c5f6c,_0x5320ba=this[_0x266bac(0x1c8)][_0x266bac(0x285)](_0x3374d9,_0x3d19b0=>(_0x5320ba[_0x266bac(0x381)](),_0x245884(_0x3d19b0,_0x31e29b,_0x190de2,_0x3374d9)));_0x161d97[_0x266bac(0x2fc)](_0x5320ba);});};this[_0x422792(0x362)](_0x1acd3c[_0x422792(0x31a)](this[_0x422792(0x8e)]['subscribe'](()=>{_0x2069ff();})));}[_0x35dcc5(0x2be)](){const _0x5d8dfb=_0x35dcc5;var _0xb6a22,_0x4c73a5;if(this[_0x5d8dfb(0x1c7)]=!0x0,((_0xb6a22=this[_0x5d8dfb(0x2ee)][_0x5d8dfb(0x21c)]())==null?void 0x0:_0xb6a22[_0x5d8dfb(0x2cb)]())!==this[_0x5d8dfb(0x181)])return;const _0x42cba9=(_0x4c73a5=this[_0x5d8dfb(0x304)][_0x5d8dfb(0x343)](_0x17a17c['SheetsSelectionsService'])[_0x5d8dfb(0x351)]())==null?void 0x0:_0x4c73a5[0x0],_0x3c4405=this['_univerInstanceService'][_0x5d8dfb(0x100)](_0x1acd3c[_0x5d8dfb(0x8d)][_0x5d8dfb(0x97)])[_0x5d8dfb(0x268)]();_0x42cba9&&_0x3c4405&&this['_updateLocalCursor'](_0x3c4405['getSheetId'](),_0x42cba9);}[_0x35dcc5(0x322)](){const _0x4d533e=_0x35dcc5;this[_0x4d533e(0x1c7)]=!0x1;}};_0x3b7df7=_0x55cd00([_0x160e72(0x2,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x160e72(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x160e72(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x160e72(0x5,_0x1acd3c['IUniverInstanceService']),_0x160e72(0x6,_0x1acd3c['ICommandService']),_0x160e72(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x17a17c[_0x35dcc5(0x253)]))],_0x3b7df7);var _0x971b24=Object[_0x35dcc5(0x378)],_0x504e92=(_0x3910c2,_0x434353,_0x84a3b,_0x303b6b)=>{const _0x35b957=_0x35dcc5;for(var _0x199846=_0x303b6b>0x1?void 0x0:_0x303b6b?_0x971b24(_0x434353,_0x84a3b):_0x434353,_0x14672c=_0x3910c2[_0x35b957(0x36b)]-0x1,_0x1f8f6f;_0x14672c>=0x0;_0x14672c--)(_0x1f8f6f=_0x3910c2[_0x14672c])&&(_0x199846=_0x1f8f6f(_0x199846)||_0x199846);return _0x199846;},_0x1a1d42=(_0x1da880,_0x178b62)=>(_0x98e966,_0x2c1664)=>_0x178b62(_0x98e966,_0x2c1664,_0x1da880);let _0x224c41=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x583c8c,_0x3c026f,_0x11e8e8){const _0x5289bd=_0x35dcc5;super(),_0x504098(this,_0x5289bd(0x142),new Map()),_0x504098(this,_0x5289bd(0x133),new _0x52b4d8[(_0x5289bd(0xbd))]()),(this[_0x5289bd(0x2ee)]=_0x583c8c,this[_0x5289bd(0x304)]=_0x3c026f,this[_0x5289bd(0x2ea)]=_0x11e8e8,this[_0x5289bd(0x216)]());}[_0x35dcc5(0x381)](){const _0x43749a=_0x35dcc5;super['dispose'](),this['_entityInit$'][_0x43749a(0x269)](),this[_0x43749a(0x142)][_0x43749a(0x9a)](_0x55a11f=>_0x55a11f[_0x43749a(0x381)]());}['getCollabCursors$'](_0x53c81b){const _0x4c4878=_0x35dcc5;return this[_0x4c4878(0x142)][_0x4c4878(0x1ba)](_0x53c81b)?this[_0x4c4878(0x142)][_0x4c4878(0x343)](_0x53c81b)['cursorInfo$']:this['_entityInit$'][_0x4c4878(0x22a)](_0x52b4d8[_0x4c4878(0x2e9)](_0xa66117=>_0xa66117['unitID']===_0x53c81b),_0x52b4d8[_0x4c4878(0x1ac)](_0xa572b7=>_0xa572b7[_0x4c4878(0xfc)]));}['_init'](){const _0x5a040c=_0x35dcc5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)])[_0x5a040c(0x22a)](_0x52b4d8['takeUntil'](this[_0x5a040c(0x2f9)]))['subscribe'](async _0x419d79=>{const _0x2e7dc5=_0x5a040c,_0x145e84=_0x419d79[_0x2e7dc5(0x2cb)](),_0x48e2c1=await this['_startSheetCollabCursor'](_0x145e84);this[_0x2e7dc5(0x133)][_0x2e7dc5(0xba)](_0x48e2c1),this[_0x2e7dc5(0x142)][_0x2e7dc5(0x375)](_0x145e84,_0x48e2c1);}),this[_0x5a040c(0x2ee)][_0x5a040c(0x225)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x1b2)])['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))[_0x5a040c(0x22a)](_0x52b4d8[_0x5a040c(0x2e9)](_0x4d0035=>!_0x4d0035[_0x5a040c(0x2cb)]()[_0x5a040c(0x17f)]('__')))[_0x5a040c(0xc6)](async _0x3d4238=>{const _0x154380=_0x5a040c,_0xb270ef=_0x3d4238[_0x154380(0x2cb)](),_0x5b37ee=await this[_0x154380(0x36a)](_0xb270ef);this['_entityInit$'][_0x154380(0xba)](_0x5b37ee),this[_0x154380(0x142)][_0x154380(0x375)](_0xb270ef,_0x5b37ee);}),_0x52b4d8[_0x5a040c(0x88)](this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c['UniverInstanceType']['UNIVER_DOC']),this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)]))['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))['subscribe'](_0x534858=>{const _0x1efc7e=_0x5a040c,_0xfb0fe4=_0x534858['getUnitId'](),_0x3ea2ae=this[_0x1efc7e(0x142)][_0x1efc7e(0x343)](_0xfb0fe4);_0x3ea2ae&&(_0x3ea2ae[_0x1efc7e(0x381)](),this['_entities'][_0x1efc7e(0x2bb)](_0xfb0fe4));});}async[_0x35dcc5(0x198)](_0x16d79a){const _0x1def99=_0x35dcc5,_0xd77182=await this[_0x1def99(0x2ea)][_0x1def99(0x2c9)](_0x16d79a),_0x360995=this['_injector']['createInstance'](_0x3b7df7,_0x16d79a,_0xd77182);return _0x360995[_0x1def99(0xfd)](),_0x360995;}async['_startDocCollabCursor'](_0x13c646){const _0x3f74af=_0x35dcc5,_0xebe179=await this[_0x3f74af(0x2ea)][_0x3f74af(0x2c9)](_0x13c646),_0x38dc30=this['_injector'][_0x3f74af(0x1ff)](_0x51b1c2,_0x13c646,_0xebe179);return _0x38dc30[_0x3f74af(0xfd)](),_0x38dc30;}};_0x224c41=_0x504e92([_0x1a1d42(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x1a1d42(0x1,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x1a1d42(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x224c41);const _0x1be3de=0x14,_0xa03e9=0xc8,_0x36129c=0x4,_0x157402=0x5;function _0x3266e6(_0x36ab44,_0x3d3a02){const _0x2e4186=_0x35dcc5;let {radius:_0x5adadf,width:_0x78f4a2,height:_0x2e1bd7}=_0x3d3a02;_0x5adadf=_0x5adadf!=null?_0x5adadf:0x0,_0x78f4a2=_0x78f4a2!=null?_0x78f4a2:0x1e,_0x2e1bd7=_0x2e1bd7!=null?_0x2e1bd7:0x1e;let _0x5a9f68=0x0,_0x251fc8=0x0,_0x290631=0x0;_0x5a9f68=_0x251fc8=_0x290631=Math[_0x2e4186(0x1e0)](_0x5adadf,_0x78f4a2/0x2,_0x2e1bd7/0x2),_0x36ab44[_0x2e4186(0xc3)](),_0x36ab44[_0x2e4186(0x1cc)](_0x5a9f68,0x0),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2-_0x251fc8,0x0),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x251fc8,_0x251fc8,_0x251fc8,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2,_0x2e1bd7-_0x290631),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x290631,_0x2e1bd7-_0x290631,_0x290631,0x0,Math['PI']/0x2,!0x1),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x2e1bd7),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x5a9f68),_0x36ab44[_0x2e4186(0x20d)](_0x5a9f68,_0x5a9f68,_0x5a9f68,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ab44['closePath'](),_0x3d3a02[_0x2e4186(0x1cf)]&&(_0x36ab44['save'](),_0x36ab44[_0x2e4186(0xfb)]=_0x3d3a02[_0x2e4186(0x1cf)],_0x3d3a02['fillRule']===_0x2e4186(0x10d)?_0x36ab44[_0x2e4186(0x1cf)](_0x2e4186(0x10d)):_0x36ab44[_0x2e4186(0x1cf)](),_0x36ab44[_0x2e4186(0x219)]());}class _0x1aaf15 extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x38e862,_0x39e8dc){const _0x572ea9=_0x35dcc5;super(_0x38e862,_0x39e8dc),_0x504098(this,'color'),_0x504098(this,_0x572ea9(0xd2)),(this['color']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0x27c)],this['text']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0xd2)]);}static['drawWith'](_0x56982c,_0x167aa1){const _0x4a851c=_0x35dcc5,{text:_0x1420f0,color:_0x10da22}=_0x167aa1;_0x56982c[_0x4a851c(0x37b)](),_0x56982c[_0x4a851c(0x1e5)]=_0x4a851c(0x35e);const _0x1763c3=_0x56982c['measureText'](_0x1420f0)[_0x4a851c(0x311)],_0x2b8b97=Math[_0x4a851c(0x1e0)](_0x1763c3+0x2*_0x36129c,_0xa03e9);_0x3266e6(_0x56982c,{'height':_0x1be3de,'radius':0x4,'width':_0x2b8b97,'fill':_0x10da22}),_0x56982c['fillStyle']='#FFF';const _0x376c9e=_0x36129c,_0x284e68=_0x1be3de-_0x157402,_0x162587=_0xa03e9-0x2*_0x36129c;if(_0x1763c3>_0x162587){let _0x1c2028='',_0xc68952=0x0;for(const _0x1d14c1 of _0x1420f0){const _0x2ce474=_0x56982c[_0x4a851c(0x108)](_0x1d14c1)['width'];if(_0xc68952+_0x2ce474<=_0x162587-_0x56982c['measureText']('...')[_0x4a851c(0x311)])_0x1c2028+=_0x1d14c1,_0xc68952+=_0x2ce474;else{_0x1c2028+='...';break;}}_0x56982c[_0x4a851c(0x2d8)](_0x1c2028,_0x376c9e,_0x284e68);}else _0x56982c[_0x4a851c(0x2d8)](_0x1420f0,_0x376c9e,_0x284e68);_0x56982c[_0x4a851c(0x219)]();}['_draw'](_0x137b91){const _0x12173a=_0x35dcc5;_0x1aaf15[_0x12173a(0x205)](_0x137b91,this);}}const _0x59fab8='collab-text-anchor-',_0x3a9f81=_0x35dcc5(0x34e),_0x46b727='collab-rect-range-',_0x54bcc5=0x6,_0x898d05=1.5,_0xbe2765=0x4,_0x170b47=1.5,_0x25e4a1=_0x35dcc5(0x17d);class _0x274d19{constructor(_0x5b9fc2,_0x15be6d,_0x5e032c,_0x146662){const _0x22a9f3=_0x35dcc5;_0x504098(this,_0x22a9f3(0x13c),[]),_0x504098(this,'_anchor',null),_0x504098(this,_0x22a9f3(0x235),null),_0x504098(this,'_anchorDot',null),_0x504098(this,_0x22a9f3(0x158),null),_0x504098(this,_0x22a9f3(0x326),null),(this[_0x22a9f3(0x138)]=_0x5b9fc2,this[_0x22a9f3(0x1bd)]=_0x15be6d,this['_docSkeleton']=_0x5e032c,this['_document']=_0x146662,this[_0x22a9f3(0x1bc)]());}set[_0x35dcc5(0x2fa)](_0x2aa9d9){const _0x2d070e=_0x35dcc5;_0x2aa9d9?(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)]['hide'](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['show']()):(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)][_0x2d070e(0x18a)](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['hide']());}[_0x35dcc5(0x381)](){const _0x1ff236=_0x35dcc5;for(const _0x58eca3 of this[_0x1ff236(0x13c)])_0x58eca3[_0x1ff236(0x381)]();this['_textBubble']&&this[_0x1ff236(0x235)][_0x1ff236(0x381)](),this[_0x1ff236(0xf0)]&&this[_0x1ff236(0xf0)][_0x1ff236(0x381)](),this['_anchor']&&this[_0x1ff236(0x124)][_0x1ff236(0x381)](),this['_eventUnsubscribe']&&this[_0x1ff236(0x326)]();}[_0x35dcc5(0x1bc)](){const _0x2bea37=_0x35dcc5;var _0x14d946;const {_docSkeleton:_0x14f96f,_document:_0x3375a6}=this,{color:_0x5a249a,name:_0x2322fb,ranges:_0x150f34}=this['_cursor'],_0x253137=_0x3375a6[_0x2bea37(0x299)](),{docsLeft:_0x4c12b9,docsTop:_0x594c21}=_0x253137,_0x590fab=new _0x4a5890[(_0x2bea37(0x261))](_0x253137,_0x14f96f);for(const {startOffset:_0x814156,endOffset:_0x5517a9,rangeType:_0x13a6ba,segmentId:_0x42408c,segmentPage:_0x5080f6,collapsed:_0x2557f7,isActive:_0x1a1931}of _0x150f34){const _0x5a612e=_0x14f96f[_0x2bea37(0xac)](_0x814156,!0x0,_0x42408c,_0x5080f6);let _0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9,!0x0,_0x42408c,_0x5080f6);if(_0x34b0ee==null&&(_0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9-0x1,!0x1,_0x42408c,_0x5080f6)),_0x1a1931){const {contentBoxPointGroup:_0x14ef16}=_0x590fab['getRangePointData'](_0x34b0ee,_0x34b0ee);if(_0x14ef16[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0xab)](_0x5a249a,_0x14ef16,_0x4c12b9,_0x594c21,_0x2322fb),this[_0x2bea37(0x326)]=this[_0x2bea37(0x328)]();}if(_0x5a612e&&_0x34b0ee){if(_0x13a6ba===_0x1acd3c['DOC_RANGE_TYPE'][_0x2bea37(0x1ca)]){const _0x6e3bfa=new _0x4a5890[(_0x2bea37(0x22b))](_0x253137,_0x14f96f),{pointGroup:_0x2c68a2}=(_0x14d946=_0x6e3bfa[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee))!=null?_0x14d946:{};if(_0x2c68a2==null||_0x2c68a2[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x32d)](_0x5a249a,_0x2c68a2,_0x4c12b9,_0x594c21);}else{if(!_0x2557f7){const {borderBoxPointGroup:_0x8f8d29}=_0x590fab[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee);if(_0x8f8d29[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x104)](_0x5a249a,_0x8f8d29,_0x4c12b9,_0x594c21);}}}}}['_drawAnchor'](_0x4fd484,_0x4691c5,_0x4557be,_0x705aad,_0x3e5140){const _0x233b7c=_0x35dcc5,_0x5a7fa6=this[_0x233b7c(0x15e)](_0x4691c5),{left:_0x23295f,top:_0x4e558c,height:_0x212d60}=_0x5a7fa6,_0x29dcfe=this[_0x233b7c(0xb0)](),_0xf3de69=_0x170b47/_0x29dcfe,_0x52127a=new _0x4dbd74[(_0x233b7c(0x33e))](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad,'height':_0x212d60,'width':_0x898d05,'fill':_0x4fd484||_0x4dbd74['getColor'](_0x1acd3c['COLORS'][_0x233b7c(0x25b)],0x0),'strokeWidth':_0xf3de69,'stroke':_0x25e4a1,'evented':!0x0});this[_0x233b7c(0x124)]=_0x52127a,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x52127a,_0x4a5890[_0x233b7c(0x307)]);const _0x553dca=new _0x4dbd74['Rect'](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0xbe2765/0x2,'height':_0xbe2765,'width':_0xbe2765,'fill':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'evented':!0x1});this[_0x233b7c(0xf0)]=_0x553dca,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x553dca,_0x4a5890[_0x233b7c(0x307)]);const _0xd85097=new _0x1aaf15(_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0x1be3de,'text':_0x3e5140,'color':_0x4fd484});this['_textBubble']=_0xd85097,this['_scene']['addObject'](_0xd85097,_0x4a5890[_0x233b7c(0x307)]),this[_0x233b7c(0x2fa)]=!0x1;}[_0x35dcc5(0x328)](){const _0x121484=_0x35dcc5,_0x2cbbb1=this[_0x121484(0x124)][_0x121484(0x202)][_0x121484(0x192)](()=>{const _0xe30568=_0x121484;this[_0xe30568(0x2fa)]=!0x0;}),_0x2d8964=this['_anchor'][_0x121484(0x2f8)]['subscribeEvent'](()=>{const _0x3f471a=_0x121484;this[_0x3f471a(0x158)]&&clearTimeout(this[_0x3f471a(0x158)]),this[_0x3f471a(0x158)]=setTimeout(()=>{const _0x46d052=_0x3f471a;this[_0x46d052(0x2fa)]=!0x1;},0x7d0);});return()=>{const _0x128ca6=_0x121484;_0x2cbbb1['unsubscribe'](),_0x2d8964[_0x128ca6(0x27b)]();};}[_0x35dcc5(0x104)](_0x429591,_0x4d023e,_0x5567c9,_0x4c6a4e){const _0xe9372e=_0x35dcc5,_0x4d17d4=new _0x1acd3c[(_0xe9372e(0x230))](_0x429591)['setAlpha'](0.2)[_0xe9372e(0x256)](),_0x5a58cf=new _0x4dbd74[(_0xe9372e(0xfa))](_0x3a9f81+_0x1acd3c['generateRandomId'](_0x54bcc5),{'pointsGroup':_0x4d023e,'fill':_0x4d17d4||_0x4dbd74[_0xe9372e(0x2ac)](_0x1acd3c[_0xe9372e(0x301)][_0xe9372e(0x25b)],0.2),'left':_0x5567c9,'top':_0x4c6a4e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a58cf),this[_0xe9372e(0x1bd)]['addObject'](_0x5a58cf,_0x4a5890[_0xe9372e(0x307)]);}[_0x35dcc5(0x32d)](_0x5acac9,_0xe5d6e1,_0x49c58c,_0x254a64){const _0x3408c4=_0x35dcc5,_0x42cdc9=new _0x1acd3c[(_0x3408c4(0x230))](_0x5acac9)[_0x3408c4(0x257)](0.2)[_0x3408c4(0x256)](),_0x3a62ec=new _0x4dbd74[(_0x3408c4(0xfa))](_0x46b727+_0x1acd3c[_0x3408c4(0x23f)](_0x54bcc5),{'pointsGroup':_0xe5d6e1,'fill':_0x42cdc9||_0x4dbd74[_0x3408c4(0x2ac)](_0x1acd3c[_0x3408c4(0x301)][_0x3408c4(0x25b)],0.2),'left':_0x49c58c,'top':_0x254a64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3408c4(0x13c)][_0x3408c4(0x2c2)](_0x3a62ec),this[_0x3408c4(0x1bd)]['addObject'](_0x3a62ec,_0x4a5890[_0x3408c4(0x307)]);}[_0x35dcc5(0x15e)](_0x11d8e2){const _0x4e1529=_0x11d8e2[0x0],_0x3b65df=_0x4e1529[0x0],_0x3f6fa7=_0x4e1529[0x2],{x:_0x478414,y:_0x434f8d}=_0x3b65df,{x:_0x1184b3,y:_0x5e3035}=_0x3f6fa7;return{'left':_0x478414,'top':_0x434f8d,'width':_0x1184b3-_0x478414,'height':_0x5e3035-_0x434f8d};}[_0x35dcc5(0xb0)](){const _0x3e0d07=_0x35dcc5,{scaleX:_0x2c6c5b,scaleY:_0x20da77}=this[_0x3e0d07(0x1bd)][_0x3e0d07(0x18e)]();return Math['max'](_0x2c6c5b,_0x20da77);}}var _0x20f9cd=Object[_0x35dcc5(0x378)],_0x19a1a0=(_0x150605,_0x1e0141,_0xffefc,_0x48c2b4)=>{const _0xa7427a=_0x35dcc5;for(var _0x1c3ede=_0x48c2b4>0x1?void 0x0:_0x48c2b4?_0x20f9cd(_0x1e0141,_0xffefc):_0x1e0141,_0x2f0d53=_0x150605[_0xa7427a(0x36b)]-0x1,_0x482d0a;_0x2f0d53>=0x0;_0x2f0d53--)(_0x482d0a=_0x150605[_0x2f0d53])&&(_0x1c3ede=_0x482d0a(_0x1c3ede)||_0x1c3ede);return _0x1c3ede;},_0x51bd1b=(_0x42c1aa,_0x4b77ba)=>(_0x660978,_0x409f34)=>_0x4b77ba(_0x660978,_0x409f34,_0x42c1aa);let _0x2a51ff=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x4a23ba,_0x4221ee,_0x13a93e,_0x36659c,_0x16d731){const _0x4addb3=_0x35dcc5;super(),_0x504098(this,_0x4addb3(0x24f),[]),_0x504098(this,_0x4addb3(0x140),[]),(this[_0x4addb3(0xf9)]=_0x4a23ba,this['_docSkeletonManagerService']=_0x4221ee,this['_collabCursorController']=_0x13a93e,this['_commandService']=_0x36659c,this[_0x4addb3(0xe8)]=_0x16d731,this['_init']());}[_0x35dcc5(0x216)](){const _0x140391=_0x35dcc5,_0x595cf4=this[_0x140391(0xf9)][_0x140391(0x334)],_0x122a45=this[_0x140391(0x1f2)];this[_0x140391(0x362)](_0x52b4d8[_0x140391(0x336)]([this[_0x140391(0xd8)][_0x140391(0x8c)](_0x595cf4),this[_0x140391(0xe8)][_0x140391(0x1c9)]])['pipe'](_0x20b870[_0x140391(0x365)](([_0x4938d1,_0x76b9c7])=>({'skeleton':_0x122a45[_0x140391(0x120)](),'cursors':[..._0x4938d1[_0x140391(0x1b9)]()][_0x140391(0x179)](_0x5789f5=>({..._0x5789f5,'color':this[_0x140391(0xe8)][_0x140391(0x1d9)](_0x5789f5[_0x140391(0x27c)])}))})))[_0x140391(0xc6)](_0xf259f0=>{const _0x8fc382=_0x140391;if(this[_0x8fc382(0x182)](),_0xf259f0){const {skeleton:_0x52cdcc,cursors:_0x5e549a}=_0xf259f0;this[_0x8fc382(0x31c)](_0x52cdcc,_0x5e549a);}})),this[_0x140391(0xdb)](),this[_0x140391(0x132)]();}[_0x35dcc5(0x31c)](_0x42ca8d,_0x27a4b5){const _0x2478fc=_0x35dcc5,{scene:_0x1b59f7,mainComponent:_0x3246ab}=this[_0x2478fc(0xf9)],_0x350d88=_0x27a4b5[_0x2478fc(0x365)](_0x143ab1=>new _0x274d19(_0x143ab1,_0x1b59f7,_0x42ca8d,_0x3246ab));this[_0x2478fc(0x24f)]=_0x350d88,this['_cursors']=_0x27a4b5;}[_0x35dcc5(0x2b5)](){const _0x18ad55=_0x35dcc5;this[_0x18ad55(0x182)]();const {scene:_0x32039e,mainComponent:_0x37962c}=this[_0x18ad55(0xf9)],_0x5b21ec=this[_0x18ad55(0x1f2)][_0x18ad55(0x120)](),_0x35d742=this['_cursors']['map'](_0x1dd429=>new _0x274d19(_0x1dd429,_0x32039e,_0x5b21ec,_0x37962c));this[_0x18ad55(0x24f)]=_0x35d742;}[_0x35dcc5(0x182)](){const _0x2d1d8c=_0x35dcc5;this['_cursorShapes'][_0x2d1d8c(0x9a)](_0x3fed81=>_0x3fed81[_0x2d1d8c(0x381)]()),this[_0x2d1d8c(0x24f)]=[];}[_0x35dcc5(0x132)](){const _0x5be644=_0x35dcc5,_0x727f4c=[_0x4a5890[_0x5be644(0x305)]['id']];this[_0x5be644(0x362)](this[_0x5be644(0xe6)][_0x5be644(0x1d7)](_0x49bbda=>{const _0x5939d6=_0x5be644;_0x727f4c[_0x5939d6(0x34d)](_0x49bbda['id'])&&_0x49bbda[_0x5939d6(0x164)][_0x5939d6(0x334)]===this[_0x5939d6(0xf9)][_0x5939d6(0x334)]&&this['_refreshCollabCursors']();}));}[_0x35dcc5(0xdb)](){const _0x19c9a0=_0x35dcc5;this[_0x19c9a0(0x362)](_0x1acd3c[_0x19c9a0(0x26c)](this['_context'][_0x19c9a0(0x121)][_0x19c9a0(0x31e)])[_0x19c9a0(0x22a)](_0x20b870[_0x19c9a0(0x2e9)](_0x59df50=>_0x59df50[_0x19c9a0(0x17a)]===_0x4dbd74[_0x19c9a0(0x24d)][_0x19c9a0(0x201)]),_0x20b870[_0x19c9a0(0x214)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x2a51ff=_0x19a1a0([_0x51bd1b(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3e8285[_0x35dcc5(0x2a6)])),_0x51bd1b(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x51bd1b(0x3,_0x1acd3c[_0x35dcc5(0x27e)]),_0x51bd1b(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x2a51ff);const _0x4f518b=0x1,_0x40423f=1.5;class _0x17cc8b extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x5333a7,_0x26e6a4){const _0x5107b9=_0x35dcc5;super(_0x5333a7,_0x26e6a4),_0x504098(this,_0x5107b9(0x292)),_0x504098(this,_0x5107b9(0x2af),!0x1),_0x504098(this,_0x5107b9(0x21f)),_0x504098(this,_0x5107b9(0x222),''),_0x504098(this,_0x5107b9(0xa2),_0x5107b9(0x37c)),_0x504098(this,_0x5107b9(0x275)),(_0x26e6a4&&this[_0x5107b9(0x165)](_0x26e6a4),this[_0x5107b9(0x202)][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x1})));}[_0x35dcc5(0x165)](_0x244903){const _0x121aec=_0x35dcc5;var _0x2f5e49,_0xc53170,_0x57427b,_0x2f677d,_0x1d816e,_0x3b2d05;this[_0x121aec(0x292)]=(_0x2f5e49=_0x244903[_0x121aec(0x27c)])!=null?_0x2f5e49:this[_0x121aec(0x292)],this['_hovered']=(_0xc53170=_0x244903[_0x121aec(0x2cd)])!=null?_0xc53170:this['_hovered'],this[_0x121aec(0x21f)]=(_0x57427b=_0x244903['range'])!=null?_0x57427b:this[_0x121aec(0x21f)],this['_name']=(_0x2f677d=_0x244903['name'])!=null?_0x2f677d:this[_0x121aec(0x222)],this[_0x121aec(0xa2)]=(_0x1d816e=_0x244903[_0x121aec(0x2ed)])!=null?_0x1d816e:this[_0x121aec(0xa2)],this['_backgroundColor']=(_0x3b2d05=_0x244903[_0x121aec(0x1ed)])!=null?_0x3b2d05:this[_0x121aec(0x275)],this[_0x121aec(0x2d4)]({'width':_0x244903['width'],'height':_0x244903['height']});}[_0x35dcc5(0x346)](_0x453ef3){const _0x50fb76=_0x35dcc5,{row:_0x115386,column:_0x8f8d8d}=_0x453ef3;if(_0x115386>=this[_0x50fb76(0x21f)][_0x50fb76(0x122)]&&_0x115386<=this[_0x50fb76(0x21f)][_0x50fb76(0xbf)]&&_0x8f8d8d>=this['_range'][_0x50fb76(0x270)]&&_0x8f8d8d<=this[_0x50fb76(0x21f)][_0x50fb76(0x13b)]){this[_0x50fb76(0x165)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35dcc5(0x321)](_0x5e7369){return!0x1;}[_0x35dcc5(0x200)](_0x15a6bd){const _0x571f36=_0x35dcc5;_0x4dbd74[_0x571f36(0x33e)]['drawWith'](_0x15a6bd,{'width':this[_0x571f36(0x311)],'height':this['height'],'strokeWidth':_0x40423f,'stroke':this[_0x571f36(0x292)],'evented':!0x1,'fill':this[_0x571f36(0x275)]}),this[_0x571f36(0x2af)]&&(_0x15a6bd[_0x571f36(0x37b)](),_0x15a6bd[_0x571f36(0x160)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x571f36(0x28f)?0x0:-_0x1be3de),_0x1aaf15[_0x571f36(0x205)](_0x15a6bd,{'text':this[_0x571f36(0x222)],'color':this[_0x571f36(0x292)]}),_0x15a6bd[_0x571f36(0x219)]());}}var _0x3f2731=Object[_0x35dcc5(0x378)],_0x50f509=(_0x5c5044,_0x3bab73,_0x461e28,_0x4f3a6d)=>{const _0x5c42b1=_0x35dcc5;for(var _0x1e2017=_0x4f3a6d>0x1?void 0x0:_0x4f3a6d?_0x3f2731(_0x3bab73,_0x461e28):_0x3bab73,_0x3dd428=_0x5c5044[_0x5c42b1(0x36b)]-0x1,_0x2cda26;_0x3dd428>=0x0;_0x3dd428--)(_0x2cda26=_0x5c5044[_0x3dd428])&&(_0x1e2017=_0x2cda26(_0x1e2017)||_0x1e2017);return _0x1e2017;},_0x194512=(_0x318a4e,_0x3f9772)=>(_0x3ae66e,_0x447127)=>_0x3f9772(_0x3ae66e,_0x447127,_0x318a4e);const _0x131984=0x1389;let _0x4f2b9e=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x177d28,_0x56f2b6,_0x4290fd,_0x208c5b){const _0x4bffe8=_0x35dcc5;super(),_0x504098(this,_0x4bffe8(0x140),new Set()),_0x504098(this,'_lastPointer',null),(this[_0x4bffe8(0xf9)]=_0x177d28,this[_0x4bffe8(0xe7)]=_0x56f2b6,this[_0x4bffe8(0xd8)]=_0x4290fd,this[_0x4bffe8(0xe8)]=_0x208c5b,this[_0x4bffe8(0x216)]());}[_0x35dcc5(0x216)](){const _0x26bca4=_0x35dcc5;this[_0x26bca4(0xe7)]['currentSkeleton$']['pipe'](_0x20b870[_0x26bca4(0xa7)](this['dispose$']),_0x20b870[_0x26bca4(0x1ac)](_0x1f9eea=>{const _0x26d220=_0x26bca4;if(_0x1f9eea){const _0x28b008=_0x1f9eea['sheetId'];return _0x52b4d8[_0x26d220(0x336)](this['_collabCursorController'][_0x26d220(0x8c)](this['_context']['unitId']),this[_0x26d220(0xe8)][_0x26d220(0x1c9)])['pipe'](_0x20b870['map'](([_0x1f479e,_0x3b62b7])=>{const _0xaf6e16=_0x26d220,_0x3f0b84=new Map();return _0x1f479e[_0xaf6e16(0x9a)]((_0x1387e2,_0x14f9f7)=>{const _0x1bc18e=_0xaf6e16;if(_0x1387e2[_0x1bc18e(0x185)]===_0x28b008){const _0x70a2aa={..._0x1387e2};_0x70a2aa[_0x1bc18e(0x27c)]=this[_0x1bc18e(0xe8)][_0x1bc18e(0x1d9)](_0x1387e2[_0x1bc18e(0x27c)]),_0x3f0b84['set'](_0x14f9f7,_0x70a2aa);}}),{'skeleton':_0x1f9eea,'cursors':_0x3f0b84};}));}return _0x52b4d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x26bca4(0xc6)](({skeleton:_0x4de974,cursors:_0x5375ea})=>{const _0x4c4eb3=_0x26bca4;this['_removeCollabCursors'](),_0x4de974&&this[_0x4c4eb3(0x31c)](_0x4de974,_0x5375ea);}),this[_0x26bca4(0xe7)][_0x26bca4(0x17c)][_0x26bca4(0xc6)](_0x225ba7=>{const _0x3140b1=_0x26bca4;if(_0x225ba7==null)return;const {skeleton:_0x41e392}=_0x225ba7,{scene:_0x25dc40}=this[_0x3140b1(0xf9)];_0x25dc40[_0x3140b1(0x380)]['subscribeEvent'](_0x1acd3c['debounce'](_0x4de2d6=>{const _0x5511ca=_0x3140b1;var _0x1c464f,_0x251dae;const {offsetX:_0x59f5bb,offsetY:_0x2193b7}=_0x4de2d6,{x:_0x336588,y:_0x2a3f0e}=_0x25dc40['getRelativeToViewportCoord'](_0x4dbd74[_0x5511ca(0x24b)][_0x5511ca(0x352)]([_0x59f5bb,_0x2193b7])),{scaleX:_0x257aa8,scaleY:_0x32eaf8}=_0x25dc40[_0x5511ca(0x18e)](),_0x437b11=_0x25dc40[_0x5511ca(0x2f3)](_0x4dbd74['SHEET_VIEWPORT_KEY'][_0x5511ca(0x342)]),_0x2081d5=_0x25dc40[_0x5511ca(0x249)](_0x4dbd74[_0x5511ca(0x24b)]['FromArray']([_0x336588,_0x2a3f0e]),_0x437b11),_0x294f8b=_0x41e392[_0x5511ca(0x2ad)](_0x59f5bb,_0x2193b7,_0x257aa8,_0x32eaf8,_0x2081d5);((_0x1c464f=this[_0x5511ca(0x135)])==null?void 0x0:_0x1c464f['column'])===_0x294f8b[_0x5511ca(0x31d)]&&((_0x251dae=this[_0x5511ca(0x135)])==null?void 0x0:_0x251dae[_0x5511ca(0xe3)])===_0x294f8b['row']||this['_cursors'][_0x5511ca(0x9a)](_0x7b52c=>{const _0x465bf0=_0x5511ca;_0x7b52c[_0x465bf0(0x346)](_0x294f8b);});},0x64));});}[_0x35dcc5(0x31c)](_0x34d998,_0x3c70b8){const _0xaf5a73=_0x35dcc5;var _0x3be247;const _0x17c500=(_0x3be247=this[_0xaf5a73(0xe7)][_0xaf5a73(0x291)]())==null?void 0x0:_0x3be247[_0xaf5a73(0x2dd)];if(!_0x17c500)return;const _0x412b2b=this[_0xaf5a73(0x1db)]();if(!_0x412b2b)return;this[_0xaf5a73(0x140)][_0xaf5a73(0x9a)](_0x711f61=>{const _0xdfee77=_0xaf5a73;_0x711f61[_0xdfee77(0x2de)]();});const {scene:_0x2b02a4}=_0x412b2b,_0x4c2c80=_0x4dd79b(Array[_0xaf5a73(0x29a)](_0x3c70b8[_0xaf5a73(0x1b9)]()))['map'](_0x30a4b6=>{const _0x5aadaf=_0xaf5a73,{color:_0x2c2a0a,range:_0x529cfd,name:_0x29ba0b,selection:_0xdc75a,sheetID:_0x4946ea}=_0x30a4b6,{startColumn:_0x4dd7b2,startRow:_0x574a41,endColumn:_0x232fb1,endRow:_0x2d905f}=_0x529cfd,_0x18441b=_0x3f878d[_0x5aadaf(0x35c)](_0x574a41,_0x4dd7b2,_0x2b02a4,_0x17c500),_0x120e7d=_0x3f878d[_0x5aadaf(0x35c)](_0x2d905f,_0x232fb1,_0x2b02a4,_0x17c500),{columnHeaderHeightAndMarginTop:_0x11e291}=_0x17c500,{startX:_0x43ab04,startY:_0x359843}=_0x18441b,{endX:_0x53a94c,endY:_0x3ffe04}=_0x120e7d,_0x28e1e0=_0x53a94c-_0x43ab04,_0x30717b=_0x3ffe04-_0x359843,_0x20022e={'labelPosition':_0x359843-_0x11e291>=_0x1be3de?_0x5aadaf(0x37c):'bottom','sheetID':_0x4946ea,'range':_0x529cfd,'color':_0x2c2a0a,'name':_0x29ba0b,'selection':_0xdc75a,'left':_0x43ab04,'top':_0x359843,'width':_0x28e1e0,'height':_0x30717b,'evented':!0x1,'zIndex':_0x131984};return new _0x17cc8b(_0x29ba0b,_0x20022e);});_0x2b02a4[_0xaf5a73(0x163)](_0x4c2c80,_0x4f518b),this[_0xaf5a73(0x140)]=new Set(_0x4c2c80);}['_removeCollabCursors'](){const _0x1d0b00=_0x35dcc5;var _0x937b0b;(_0x937b0b=this[_0x1d0b00(0x140)])==null||_0x937b0b[_0x1d0b00(0x9a)](_0x5d7652=>_0x5d7652[_0x1d0b00(0x381)]());}[_0x35dcc5(0x1db)](){const _0x1a88dc=_0x35dcc5;return _0x3f878d[_0x1a88dc(0x1d3)](this[_0x1a88dc(0xf9)][_0x1a88dc(0xb3)],this[_0x1a88dc(0xf9)]);}};_0x4f2b9e=_0x50f509([_0x194512(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3f878d['SheetSkeletonManagerService'])),_0x194512(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x194512(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x4f2b9e);function _0x4dd79b(_0x3f2665){const _0x4d6b22=_0x35dcc5,_0x3927c9=new Map();return _0x3f2665[_0x4d6b22(0x9a)](_0x1982af=>{const _0x3aa704=_0x4d6b22;if(_0x3927c9[_0x3aa704(0x1ba)](_0x1982af['selection'])){const _0x30c154=_0x3927c9[_0x3aa704(0x343)](_0x1982af[_0x3aa704(0x231)]);_0x30c154[_0x3aa704(0x10b)]+=',\x20'+_0x1982af[_0x3aa704(0x10b)];}else _0x3927c9['set'](_0x1982af[_0x3aa704(0x231)],_0x1982af);}),Array[_0x4d6b22(0x29a)](_0x3927c9[_0x4d6b22(0x1b9)]());}var _0x2bb036=Object[_0x35dcc5(0x378)],_0x25444b=(_0x14888c,_0x574651,_0x2d5c3b,_0x54a110)=>{const _0x26af63=_0x35dcc5;for(var _0x18107c=_0x54a110>0x1?void 0x0:_0x54a110?_0x2bb036(_0x574651,_0x2d5c3b):_0x574651,_0x216ca1=_0x14888c[_0x26af63(0x36b)]-0x1,_0xe2d0d8;_0x216ca1>=0x0;_0x216ca1--)(_0xe2d0d8=_0x14888c[_0x216ca1])&&(_0x18107c=_0xe2d0d8(_0x18107c)||_0x18107c);return _0x18107c;},_0xc857fd=(_0x19d5e4,_0x51769f)=>(_0x36d8bf,_0x12bfe9)=>_0x51769f(_0x36d8bf,_0x12bfe9,_0x19d5e4);let _0x56f72a=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1caa93,_0x45c7f1,_0x263865,_0x41112a,_0x174116,_0x464c4d){const _0x1980f8=_0x35dcc5;super(),this[_0x1980f8(0x1d0)]=_0x1caa93,this[_0x1980f8(0x127)]=_0x45c7f1,this[_0x1980f8(0x2dc)]=_0x263865,this[_0x1980f8(0x15b)]=_0x41112a,this[_0x1980f8(0x330)]=_0x174116,this['_localeService']=_0x464c4d,this[_0x1980f8(0x324)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2605d9=_0x35dcc5;this['disposeWithMe'](this['_beforeCloseService'][_0x2605d9(0x341)](()=>{const _0x256c57=_0x2605d9;if(this[_0x256c57(0x127)][_0x256c57(0xb2)][_0x256c57(0x9b)])return this[_0x256c57(0xaf)]['t']('collaboration.offline-data-not-saved');}));}[_0x35dcc5(0x2d3)](){const _0x380306=_0x35dcc5;this[_0x380306(0x362)](this[_0x380306(0x2dc)][_0x380306(0x9d)][_0x380306(0xc6)](_0x4d95f6=>{const _0x22f617=_0x380306;_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId'][_0x22f617(0x1f5)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t']('collaboration.single-unit.warning')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['CLOSE_ROOM']&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this['_localeService']['t'](_0x22f617(0x136))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xb8)]&&this[_0x22f617(0x330)][_0x22f617(0x18a)]({'title':this[_0x22f617(0xaf)]['t'](_0x22f617(0x178)),'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x347)),'type':'error','duration':0x0}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x1fc)]&&this['_messageService'][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)]['Error'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x136))+'('+_0x4d95f6[_0x22f617(0xe5)]+')'}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xa6)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t'](_0x4d95f6['data']||'')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x114)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea['MessageType']['Warning'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x2ff))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['SOCKET_FAILED']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0xc2))}),_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this['_localeService']['t'](_0x22f617(0x27f))});}));}};_0x56f72a=_0x25444b([_0xc857fd(0x0,_0x3d1085[_0x35dcc5(0x10e)]),_0xc857fd(0x1,_0xe836dc[_0x35dcc5(0x1d6)]),_0xc857fd(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x18d)])),_0xc857fd(0x3,_0x3d1085[_0x35dcc5(0x37f)]),_0xc857fd(0x4,_0x3d1085[_0x35dcc5(0xf7)]),_0xc857fd(0x5,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x56f72a);var _0x54e161=Object[_0x35dcc5(0x378)],_0x3e277b=(_0x5da7ce,_0x3b1220,_0xdc5319,_0x43e96a)=>{const _0x397ed7=_0x35dcc5;for(var _0x2037f9=_0x43e96a>0x1?void 0x0:_0x43e96a?_0x54e161(_0x3b1220,_0xdc5319):_0x3b1220,_0x1102bf=_0x5da7ce[_0x397ed7(0x36b)]-0x1,_0x339b57;_0x1102bf>=0x0;_0x1102bf--)(_0x339b57=_0x5da7ce[_0x1102bf])&&(_0x2037f9=_0x339b57(_0x2037f9)||_0x2037f9);return _0x2037f9;},_0x534ac1=(_0x50e661,_0x5e3772)=>(_0x37806f,_0x18dfef)=>_0x5e3772(_0x37806f,_0x18dfef,_0x50e661);let _0x245133=class extends _0x1acd3c['Disposable']{constructor(_0xe96816,_0x14cc66,_0x457442,_0x22a1c9){const _0x344404=_0x35dcc5;super(),_0x504098(this,'_memberID'),(this[_0x344404(0x304)]=_0xe96816,this[_0x344404(0x111)]=_0x14cc66,this[_0x344404(0x94)]=_0x457442,this[_0x344404(0xa4)]=_0x22a1c9,this['_init']());}[_0x35dcc5(0x216)](){const _0x333a0f=_0x35dcc5;this[_0x333a0f(0x23b)](),this[_0x333a0f(0x28a)](),this[_0x333a0f(0x101)](),this[_0x333a0f(0x2b9)]();}['_initUserListener'](){const _0x34d75e=_0x35dcc5;this['disposeWithMe'](this[_0x34d75e(0xa4)][_0x34d75e(0x91)]['subscribe'](_0xacb2ab=>{const _0x25f661=_0x34d75e;this[_0x25f661(0x116)]=_0xacb2ab==null?void 0x0:_0xacb2ab['memberID'];}));}['_initWindowErrorListener'](){const _0x4ee69c=_0x35dcc5,_0x440cf8=_0x28362c=>{const _0x22696d=_0x1599;var _0x20a637;this[_0x22696d(0x2e5)](_0x22696d(0x36d),_0x22696d(0xce)+_0x28362c['message']+_0x22696d(0x168)+_0x28362c['filename']+':'+_0x28362c['lineno']+':'+_0x28362c[_0x22696d(0x1c4)]+'\x0a'+(((_0x20a637=_0x28362c['error'])==null?void 0x0:_0x20a637[_0x22696d(0x2b0)])||''));};window[_0x4ee69c(0x374)](_0x4ee69c(0x36d),_0x440cf8),this['disposeWithMe'](()=>{const _0x589383=_0x4ee69c;window[_0x589383(0x14e)](_0x589383(0x36d),_0x440cf8);});}[_0x35dcc5(0x28a)](){const _0x4fa5ab=_0x35dcc5,_0x29c5b4=_0x2da639=>{const _0x5953d9=_0x1599;this['_uploadLog'](_0x5953d9(0x36d),_0x5953d9(0x1fd)+_0x2da639[_0x5953d9(0x359)]);};window[_0x4fa5ab(0x374)](_0x4fa5ab(0x1f1),_0x29c5b4),this[_0x4fa5ab(0x362)](()=>{window['removeEventListener']('unhandledrejection',_0x29c5b4);});}[_0x35dcc5(0x101)](){const _0x4b2c60=_0x35dcc5,_0x50d263=this[_0x4b2c60(0x94)]['error'][_0x4b2c60(0x21d)](this[_0x4b2c60(0x94)]);this['_logService'][_0x4b2c60(0x36d)]=(..._0x317528)=>{const _0x2eecd4=_0x4b2c60,_0xdc0d21=_0x317528[_0x2eecd4(0x365)](_0x451486=>_0x451486 instanceof Error?_0x451486[_0x2eecd4(0x1f7)]+'\x0a'+_0x451486[_0x2eecd4(0x2b0)]:String(_0x451486))[_0x2eecd4(0x144)]('\x20');this[_0x2eecd4(0x2e5)](_0x2eecd4(0x36d),_0x2eecd4(0x141)+_0xdc0d21),_0x50d263(..._0x317528);},this['disposeWithMe'](()=>{const _0x201663=_0x4b2c60;this[_0x201663(0x94)][_0x201663(0x36d)]=_0x50d263;});}[_0x35dcc5(0x2e5)](_0x14cdad,_0x29ea58){const _0x35d752=_0x35dcc5;try{const _0x11af93={'userId':this[_0x35d752(0x116)],'logLabel':_0x14cdad,'content':_0x29ea58};this[_0x35d752(0x111)][_0x35d752(0x109)]('/universer-api/frontend/logs',{'body':_0x11af93})[_0x35d752(0x2ab)](()=>{});}catch{}}};_0x245133=_0x3e277b([_0x534ac1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x534ac1(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x534ac1(0x2,_0x1acd3c[_0x35dcc5(0x296)]),_0x534ac1(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x245133);const _0x1b22ef=_0x35dcc5(0x232),_0x444dbe={};var _0x54b66a=Object[_0x35dcc5(0x378)],_0x5f537f=(_0x1fc95f,_0x424823,_0x2ca0ba,_0x31d031)=>{const _0x522ebf=_0x35dcc5;for(var _0x80ec94=_0x31d031>0x1?void 0x0:_0x31d031?_0x54b66a(_0x424823,_0x2ca0ba):_0x424823,_0x4ad92d=_0x1fc95f[_0x522ebf(0x36b)]-0x1,_0x31f8ad;_0x4ad92d>=0x0;_0x4ad92d--)(_0x31f8ad=_0x1fc95f[_0x4ad92d])&&(_0x80ec94=_0x31f8ad(_0x80ec94)||_0x80ec94);return _0x80ec94;},_0x187e8c=(_0x323a51,_0x406256)=>(_0xc46cd5,_0x38ee55)=>_0x406256(_0xc46cd5,_0x38ee55,_0x323a51);let _0x17d59f=class{constructor(_0xfb98ee,_0x5c58a6){const _0x1bf234=_0x35dcc5;this[_0x1bf234(0x2a5)]=_0xfb98ee,this[_0x1bf234(0x19d)]=_0x5c58a6;}['transformIMECache'](_0x492384){this['_transformUndoRedoStack'](_0x492384),this['_transformPreviousActiveRange'](_0x492384);}['transformRemoteChangeset'](_0x538f6e){const _0x4f9242=_0x35dcc5,{unitID:_0x21074f}=_0x538f6e,_0x2c0918=this['_renderManagerService']['getRenderById'](_0x21074f)['with'](_0x4a5890[_0x4f9242(0x28e)]),{redoCache:_0x1b042d}=_0x2c0918[_0x4f9242(0x1fe)]();if(_0x1b042d[_0x4f9242(0x36b)]===0x0)return _0x538f6e;let _0x2bc4b4=_0x1acd3c['Tools'][_0x4f9242(0x107)](_0x538f6e[_0x4f9242(0x356)][0x0]);for(let _0x1bb5c7=0x0;_0x1bb5c7<_0x1b042d[_0x4f9242(0x36b)];_0x1bb5c7++){const _0x1227dd={'id':'doc.mutation.rich-text-editing','params':{..._0x1b042d[_0x1bb5c7]}},_0x46f628=this['_transformService'][_0x4f9242(0x277)](_0x2bc4b4,_0x1227dd,!0x1);if(_0x1d9a86[_0x4f9242(0xd0)](_0x46f628))throw _0x46f628[_0x4f9242(0x36d)];_0x2bc4b4=_0x46f628[_0x4f9242(0x24c)];}return{..._0x1acd3c[_0x4f9242(0x25e)][_0x4f9242(0x107)](_0x538f6e),'mutations':[_0x2bc4b4]};}[_0x35dcc5(0x303)](_0xebad48){const _0x1bdde2=_0x35dcc5,{unitID:_0x1e2a14}=_0xebad48,_0x255972=this[_0x1bdde2(0x19d)][_0x1bdde2(0x1e2)](_0x1e2a14)[_0x1bdde2(0xe0)](_0x4a5890['DocIMEInputManagerService']),{undoCache:_0xf7fcdc,redoCache:_0x15b250}=_0x255972[_0x1bdde2(0x1fe)]();if(_0xf7fcdc[_0x1bdde2(0x36b)]===0x0||_0x15b250['length']===0x0)return;const _0x4623d2=[],_0x188e7b=[];let _0x406cf1=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]),_0x49d8fb=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]);for(let _0x2870b2=_0xf7fcdc[_0x1bdde2(0x36b)]-0x1;_0x2870b2>=0x0;_0x2870b2--){const _0x33e7b5={'id':_0x1bdde2(0x2b8),'params':{..._0xf7fcdc[_0x2870b2]}},_0x162824={'id':_0x1bdde2(0x2b8),'params':{..._0x15b250[_0x2870b2]}},_0x46825e=this[_0x1bdde2(0x2a5)][_0x1bdde2(0x277)](_0x406cf1,_0x33e7b5,!0x1),_0xc898d0=this['_transformService'][_0x1bdde2(0x277)](_0x49d8fb,_0x162824,!0x1);if(_0x1d9a86['isTransformMutationFailure'](_0x46825e))throw _0x46825e[_0x1bdde2(0x36d)];if(_0x1d9a86[_0x1bdde2(0xd0)](_0xc898d0))throw _0xc898d0[_0x1bdde2(0x36d)];_0x4623d2['unshift'](_0x46825e[_0x1bdde2(0x167)]['params']),_0x188e7b[_0x1bdde2(0xdd)](_0xc898d0[_0x1bdde2(0x167)][_0x1bdde2(0x164)]),_0x406cf1=_0x46825e[_0x1bdde2(0x24c)],_0x49d8fb=_0xc898d0[_0x1bdde2(0x24c)];}_0x255972[_0x1bdde2(0x151)]({'undoCache':_0x4623d2,'redoCache':_0x188e7b});}['_transformPreviousActiveRange'](_0x2d178b){const _0x27a065=_0x35dcc5,{unitID:_0x3968b0}=_0x2d178b,_0x575cf2=this[_0x27a065(0x19d)][_0x27a065(0x1e2)](_0x3968b0)['with'](_0x4a5890[_0x27a065(0x28e)]),_0x4c934b=_0x575cf2['getActiveRange']();if(_0x4c934b==null)return;const _0x55024b=[{'id':_0x27a065(0x2b8),'params':{'unitId':_0x2d178b[_0x27a065(0x181)],'actions':null,'textRanges':[_0x4c934b]}}],_0x58338b=this['_transformService'][_0x27a065(0x96)](_0x2d178b,_0x55024b);if(!_0x1d9a86[_0x27a065(0x1af)](_0x58338b))throw _0x58338b[_0x27a065(0x36d)];const _0x5c0652=_0x58338b[_0x27a065(0x167)][0x0][_0x27a065(0x164)]['textRanges'];Array[_0x27a065(0x245)](_0x5c0652)&&_0x5c0652[_0x27a065(0x36b)]&&_0x575cf2[_0x27a065(0x30d)](_0x5c0652[0x0]);}};_0x17d59f=_0x5f537f([_0x187e8c(0x0,_0x1d9a86['ITransformService']),_0x187e8c(0x1,_0x4dbd74[_0x35dcc5(0x1f3)])],_0x17d59f);var _0x4b3752=Object[_0x35dcc5(0x378)],_0x62151d=(_0x3e5307,_0x20be16,_0x513529,_0x6a8908)=>{const _0xfb6f49=_0x35dcc5;for(var _0x3ec695=_0x6a8908>0x1?void 0x0:_0x6a8908?_0x4b3752(_0x20be16,_0x513529):_0x20be16,_0x39805f=_0x3e5307[_0xfb6f49(0x36b)]-0x1,_0x4642ad;_0x39805f>=0x0;_0x39805f--)(_0x4642ad=_0x3e5307[_0x39805f])&&(_0x3ec695=_0x4642ad(_0x3ec695)||_0x3ec695);return _0x3ec695;},_0x5351b9=(_0x187928,_0xf4b22c)=>(_0x21129a,_0x4ad56c)=>_0xf4b22c(_0x21129a,_0x4ad56c,_0x187928);let _0x20228f=class{constructor(_0x43e291,_0x53d94a,_0x299148){const _0x545cd2=_0x35dcc5;this[_0x545cd2(0x304)]=_0x43e291,this[_0x545cd2(0x2a5)]=_0x53d94a,this['_docStateChangeManagerService']=_0x299148;}[_0x35dcc5(0xef)](_0x4544c){const _0x2b1bec=_0x35dcc5;this[_0x2b1bec(0x173)](_0x4544c);}[_0x35dcc5(0xb9)](_0xc4b474){const _0x160b47=_0x35dcc5,{unitID:_0x18b5b6}=_0xc4b474,{collaboration:_0x501bf3}=this[_0x160b47(0x10f)][_0x160b47(0x1a0)](_0x18b5b6);if(_0x501bf3[_0x160b47(0x36b)]===0x0)return _0xc4b474;let _0xde331e=_0x1acd3c[_0x160b47(0x25e)]['deepClone'](_0xc4b474[_0x160b47(0x356)][0x0]);for(let _0x47e470=0x0;_0x47e470<_0x501bf3[_0x160b47(0x36b)];_0x47e470++){const _0x3152f5={'id':_0x160b47(0x2b8),'params':{'unitId':_0x501bf3[_0x47e470][_0x160b47(0x334)],..._0x501bf3[_0x47e470][_0x160b47(0x348)]}},_0x27925f=this['_transformService'][_0x160b47(0x277)](_0xde331e,_0x3152f5,!0x1);if(_0x1d9a86[_0x160b47(0xd0)](_0x27925f))throw _0x27925f[_0x160b47(0x36d)];_0xde331e=_0x27925f['m1Prime'];}return{..._0x1acd3c[_0x160b47(0x25e)][_0x160b47(0x107)](_0xc4b474),'mutations':[_0xde331e]};}[_0x35dcc5(0x173)](_0x4d99c5){const _0x2799ab=_0x35dcc5,{unitID:_0x2f24ea}=_0x4d99c5,{history:_0x1960e6,collaboration:_0x121f56}=this[_0x2799ab(0x10f)]['getStateCache'](_0x2f24ea);if(_0x1960e6['length']===0x0&&_0x121f56['length']===0x0)return;const _0x3d5dfc=[],_0x13fa10=[];let _0xa58508=_0x1acd3c[_0x2799ab(0x25e)][_0x2799ab(0x107)](_0x4d99c5['mutations'][0x0]),_0x2dbae0=_0x1acd3c['Tools']['deepClone'](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x1ad05a=_0x1960e6['length']-0x1;_0x1ad05a>=0x0;_0x1ad05a--){const _0x107bb0={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0xcc)]}},_0x5ba048={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0x348)]}},_0x5b6d99=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x107bb0,!0x1),_0x2022b5=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0x2dbae0,_0x5ba048,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x5b6d99))throw _0x5b6d99['error'];if(_0x1d9a86[_0x2799ab(0xd0)](_0x2022b5))throw _0x2022b5[_0x2799ab(0x36d)];_0x3d5dfc['unshift']({..._0x1960e6[_0x1ad05a],'undoState':_0x5b6d99[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0x2022b5[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x5b6d99[_0x2799ab(0x24c)],_0x2dbae0=_0x2022b5['m1Prime'];}_0xa58508=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]),_0x2dbae0=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x21c7c1=_0x121f56['length']-0x1;_0x21c7c1>=0x0;_0x21c7c1--){const _0x1df591={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1][_0x2799ab(0x334)],..._0x121f56[_0x21c7c1][_0x2799ab(0xcc)]}},_0x26cb90={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1]['unitId'],..._0x121f56[_0x21c7c1][_0x2799ab(0x348)]}},_0x3c922c=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x1df591,!0x1),_0xecc7e6=this['_transformService'][_0x2799ab(0x277)](_0x2dbae0,_0x26cb90,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x3c922c))throw _0x3c922c[_0x2799ab(0x36d)];if(_0x1d9a86['isTransformMutationFailure'](_0xecc7e6))throw _0xecc7e6[_0x2799ab(0x36d)];_0x13fa10['unshift']({..._0x121f56[_0x21c7c1],'undoState':_0x3c922c[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0xecc7e6[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x3c922c[_0x2799ab(0x24c)],_0x2dbae0=_0xecc7e6[_0x2799ab(0x24c)];}this[_0x2799ab(0x10f)]['setStateCache'](_0x2f24ea,{'history':_0x3d5dfc,'collaboration':_0x13fa10});}};_0x20228f=_0x62151d([_0x5351b9(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5351b9(0x1,_0x1d9a86[_0x35dcc5(0xd9)]),_0x5351b9(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890['DocStateChangeManagerService']))],_0x20228f);var _0x29884f=Object['getOwnPropertyDescriptor'],_0x5313f3=(_0xece908,_0x314292,_0x13e966,_0x3ae326)=>{const _0x47919c=_0x35dcc5;for(var _0x5c4a8e=_0x3ae326>0x1?void 0x0:_0x3ae326?_0x29884f(_0x314292,_0x13e966):_0x314292,_0x395163=_0xece908[_0x47919c(0x36b)]-0x1,_0x17f7bd;_0x395163>=0x0;_0x395163--)(_0x17f7bd=_0xece908[_0x395163])&&(_0x5c4a8e=_0x17f7bd(_0x5c4a8e)||_0x5c4a8e);return _0x5c4a8e;},_0x258d61=(_0x4f1d6d,_0x31fbd1)=>(_0x1b4cac,_0x596254)=>_0x31fbd1(_0x1b4cac,_0x596254,_0x4f1d6d);let _0x5ca507=class{constructor(_0xbc6ce1,_0x932555){const _0x187970=_0x35dcc5;this[_0x187970(0x304)]=_0xbc6ce1,this[_0x187970(0x2a5)]=_0x932555;}[_0x35dcc5(0x2ec)](_0x5c20b0){const _0x15f3c8=_0x35dcc5;var _0x415b41;const _0x6a1b24=this[_0x15f3c8(0x304)]['get'](_0x3e8285[_0x15f3c8(0x25f)]),_0x1e62c3=(_0x415b41=_0x6a1b24[_0x15f3c8(0x172)]())!=null?_0x415b41:[];if(_0x1e62c3[_0x15f3c8(0x36b)]===0x0)return;const _0xd4d81a=_0x5c20b0[_0x15f3c8(0x181)],_0x3e75b0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d81a,'actions':null,'textRanges':_0x1e62c3}}],_0x59ae45=this[_0x15f3c8(0x2a5)][_0x15f3c8(0x96)](_0x5c20b0,_0x3e75b0);if(!_0x1d9a86[_0x15f3c8(0x1af)](_0x59ae45))throw _0x59ae45[_0x15f3c8(0x36d)];const _0xba13a1=_0x59ae45[_0x15f3c8(0x167)][0x0]['params'][_0x15f3c8(0x35b)];Array[_0x15f3c8(0x245)](_0xba13a1)&&_0xba13a1['length']&&_0x6a1b24[_0x15f3c8(0x17e)](_0xba13a1,{'unitId':_0xd4d81a,'subUnitId':_0xd4d81a},!0x1);}};_0x5ca507=_0x5313f3([_0x258d61(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x258d61(0x1,_0x1d9a86[_0x35dcc5(0xd9)])],_0x5ca507);var _0x9bafee=Object[_0x35dcc5(0x378)],_0x332f74=(_0x16b4c5,_0x2334ac,_0x351ae6,_0x310cc1)=>{for(var _0x27c17c=_0x310cc1>0x1?void 0x0:_0x310cc1?_0x9bafee(_0x2334ac,_0x351ae6):_0x2334ac,_0x1327ce=_0x16b4c5['length']-0x1,_0xbc999e;_0x1327ce>=0x0;_0x1327ce--)(_0xbc999e=_0x16b4c5[_0x1327ce])&&(_0x27c17c=_0xbc999e(_0x27c17c)||_0x27c17c);return _0x27c17c;},_0x4e87b8=(_0x28b06f,_0x20ce3a)=>(_0x49d3b6,_0x5b969a)=>_0x20ce3a(_0x49d3b6,_0x5b969a,_0x28b06f);let _0x207c0e=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x62406e,_0x297818,_0x2ac3a6,_0x2bc6ae,_0x137388,_0x6f66b0,_0x306c4b,_0x3eba49){const _0x4ebf66=_0x35dcc5;super(),_0x504098(this,'_status$',new _0x52b4d8[(_0x4ebf66(0x2eb))](_0xe836dc[_0x4ebf66(0x283)][_0x4ebf66(0x2c5)])),(this[_0x4ebf66(0x10f)]=_0x62406e,this['_collaborationController']=_0x297818,this[_0x4ebf66(0x156)]=_0x2ac3a6,this['_docTransformStateCacheService']=_0x2bc6ae,this['_docTransformSelectionsService']=_0x137388,this['_docSyncEditingCollabCursorService']=_0x6f66b0,this['_messageService']=_0x306c4b,this[_0x4ebf66(0xaf)]=_0x3eba49,this[_0x4ebf66(0x229)]());}[_0x35dcc5(0x229)](){const _0x5a4449=_0x35dcc5;this[_0x5a4449(0x362)](this[_0x5a4449(0x2c7)][_0x5a4449(0xa9)][_0x5a4449(0xc6)](_0x17060a=>{const _0x39aef2=_0x5a4449,_0x5846d9=this[_0x39aef2(0x10f)][_0x39aef2(0x255)]['subscribe'](_0x335fe6=>{const _0x4e3df1=_0x39aef2;if(_0x335fe6==null)return;const {unitId:_0x4be373,redoState:_0x4e4c81,commandId:_0x31c22e}=_0x335fe6;if(_0x4be373!==_0x17060a['unitID'])return;const _0x25eb28={'id':_0x31c22e,'type':_0x1acd3c[_0x4e3df1(0x9f)][_0x4e3df1(0x174)],'params':{'unitId':_0x4be373,'actions':_0x4e4c81[_0x4e3df1(0xf2)],'textRanges':null}};_0x17060a[_0x4e3df1(0x13a)](_0x25eb28);});if(_0x17060a[_0x39aef2(0x362)](_0x5846d9),_0x17060a instanceof _0xe836dc[_0x39aef2(0x143)]){const _0x20f376={'onTransformIME':_0x4a0b15=>this[_0x39aef2(0x156)][_0x39aef2(0x16b)](_0x4a0b15),'onTransformState':_0x331085=>this['_docTransformStateCacheService'][_0x39aef2(0xef)](_0x331085),'onTransformSelections':_0x7f236d=>this[_0x39aef2(0x20c)][_0x39aef2(0x2ec)](_0x7f236d),'onSyncEditingCollabCursor':_0xa93de3=>this[_0x39aef2(0x11a)][_0x39aef2(0xbb)](_0xa93de3),'onTransformRemoteChangesetByIMECache':_0xc4457a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xc4457a),'onTransformRemoteChangesetByStateCache':_0x192522=>this[_0x39aef2(0x161)][_0x39aef2(0xb9)](_0x192522)};_0x17060a[_0x39aef2(0x177)](_0x20f376);}}));}};_0x207c0e=_0x332f74([_0x4e87b8(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890[_0x35dcc5(0x12b)])),_0x4e87b8(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x4e87b8(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x17d59f)),_0x4e87b8(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x20228f)),_0x4e87b8(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x5ca507)),_0x4e87b8(0x5,_0x1acd3c[_0x35dcc5(0x36c)](_0x4fc58b)),_0x4e87b8(0x6,_0x3d1085[_0x35dcc5(0x37f)]),_0x4e87b8(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x207c0e);var _0x5a8da7=(_0x5091d8=>(_0x5091d8[_0x5091d8['UNDEFINED']=0x0]=_0x35dcc5(0x288),_0x5091d8[_0x5091d8['OK']=0x1]='OK',_0x5091d8[_0x5091d8[_0x35dcc5(0x242)]=0x2]='INTERNAL_ERROR',_0x5091d8[_0x5091d8[_0x35dcc5(0xb8)]=0x3]=_0x35dcc5(0xb8),_0x5091d8[_0x5091d8['NOT_FOUND']=0x4]=_0x35dcc5(0x2ae),_0x5091d8[_0x5091d8['UNAUTHENTICATED']=0x5]=_0x35dcc5(0xf6),_0x5091d8[_0x5091d8[_0x35dcc5(0x112)]=0x6]=_0x35dcc5(0x112),_0x5091d8[_0x5091d8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5091d8[_0x5091d8[_0x35dcc5(0x247)]=0x8]=_0x35dcc5(0x247),_0x5091d8[_0x5091d8['COMPLETION_FINISHED']=0x9]=_0x35dcc5(0x1d4),_0x5091d8[_0x5091d8[_0x35dcc5(0x316)]=0xa]='LOGIN_FAILED',_0x5091d8[_0x5091d8[_0x35dcc5(0x302)]=0xb]=_0x35dcc5(0x302),_0x5091d8[_0x5091d8[_0x35dcc5(0x1ef)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0xde)]=0xd]=_0x35dcc5(0xde),_0x5091d8[_0x5091d8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x278)]=0xf]=_0x35dcc5(0x278),_0x5091d8[_0x5091d8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x35dcc5(0xe1),_0x5091d8[_0x5091d8[_0x35dcc5(0x16e)]=0x64]=_0x35dcc5(0x16e),_0x5091d8[_0x5091d8[_0x35dcc5(0x183)]=0x65]=_0x35dcc5(0x183),_0x5091d8[_0x5091d8[_0x35dcc5(0x10a)]=0xc9]='USER_NOT_FOUND',_0x5091d8[_0x5091d8[_0x35dcc5(0x89)]=0xca]=_0x35dcc5(0x89),_0x5091d8[_0x5091d8[_0x35dcc5(0x34b)]=0x1389]=_0x35dcc5(0x34b),_0x5091d8[_0x5091d8[_0x35dcc5(0x366)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5091d8[_0x5091d8[_0x35dcc5(0xae)]=0x1772]=_0x35dcc5(0xae),_0x5091d8[_0x5091d8[_0x35dcc5(0x282)]=0x1773]=_0x35dcc5(0x282),_0x5091d8[_0x5091d8[_0x35dcc5(0x32c)]=0x1b59]='APPLY_REJECT',_0x5091d8[_0x5091d8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5091d8[_0x5091d8[_0x35dcc5(0xca)]=0x1b5b]=_0x35dcc5(0xca),_0x5091d8[_0x5091d8[_0x35dcc5(0xff)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5091d8[_0x5091d8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5091d8[_0x5091d8[_0x35dcc5(0x102)]=0x1f41]=_0x35dcc5(0x102),_0x5091d8[_0x5091d8[_0x35dcc5(0x272)]=0x2329]=_0x35dcc5(0x272),_0x5091d8[_0x5091d8[_0x35dcc5(0x190)]=0x232a]=_0x35dcc5(0x190),_0x5091d8[_0x5091d8[_0x35dcc5(0x28b)]=0x232b]=_0x35dcc5(0x28b),_0x5091d8[_0x5091d8[_0x35dcc5(0x297)]=0x232c]=_0x35dcc5(0x297),_0x5091d8[_0x5091d8[_0x35dcc5(0x2d9)]=0x232d]=_0x35dcc5(0x2d9),_0x5091d8[_0x5091d8[_0x35dcc5(0x31b)]=0x2711]=_0x35dcc5(0x31b),_0x5091d8[_0x5091d8[_0x35dcc5(0x373)]=0x2712]=_0x35dcc5(0x373),_0x5091d8[_0x5091d8[_0x35dcc5(0x215)]=0x2713]=_0x35dcc5(0x215),_0x5091d8[_0x5091d8[_0x35dcc5(0x33f)]=0x2714]=_0x35dcc5(0x33f),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bf)]=0x271a]=_0x35dcc5(0x2bf),_0x5091d8[_0x5091d8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35dcc5(0x2b3),_0x5091d8[_0x5091d8[_0x35dcc5(0x2a8)]=0x271c]=_0x35dcc5(0x2a8),_0x5091d8[_0x5091d8[_0x35dcc5(0xea)]=0x271d]=_0x35dcc5(0xea),_0x5091d8[_0x5091d8[_0x35dcc5(0xd3)]=0x271e]=_0x35dcc5(0xd3),_0x5091d8[_0x5091d8[_0x35dcc5(0x333)]=0x271f]=_0x35dcc5(0x333),_0x5091d8[_0x5091d8[_0x35dcc5(0xf3)]=0x2720]=_0x35dcc5(0xf3),_0x5091d8[_0x5091d8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x35dcc5(0x1a3),_0x5091d8[_0x5091d8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35dcc5(0x184),_0x5091d8[_0x5091d8['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5091d8[_0x5091d8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x35dcc5(0x1ce),_0x5091d8[_0x5091d8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x35dcc5(0x26b),_0x5091d8[_0x5091d8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x35dcc5(0x28d),_0x5091d8[_0x5091d8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x35dcc5(0x281),_0x5091d8[_0x5091d8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x35dcc5(0x12f),_0x5091d8[_0x5091d8[_0x35dcc5(0x213)]=0x32cb]=_0x35dcc5(0x213),_0x5091d8[_0x5091d8[_0x35dcc5(0x126)]=0x36b1]=_0x35dcc5(0x126),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bd)]=0x36b2]=_0x35dcc5(0x2bd),_0x5091d8[_0x5091d8[_0x35dcc5(0x2b4)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5091d8[_0x5091d8[_0x35dcc5(0x175)]=0x36b4]=_0x35dcc5(0x175),_0x5091d8[_0x5091d8[_0x35dcc5(0x2cf)]=0x36b5]=_0x35dcc5(0x2cf),_0x5091d8[_0x5091d8[_0x35dcc5(0x355)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x2e4)]=0x36b7]=_0x35dcc5(0x2e4),_0x5091d8[_0x5091d8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x35dcc5(0x2d5),_0x5091d8[_0x5091d8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35dcc5(0x188),_0x5091d8[_0x5091d8[_0x35dcc5(0x318)]=0x3716]=_0x35dcc5(0x318),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c3)]=0x3717]=_0x35dcc5(0x2c3),_0x5091d8[_0x5091d8['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5091d8[_0x5091d8[_0x35dcc5(0x2c0)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5091d8[_0x5091d8[_0x35dcc5(0x1b8)]=0x3a9a]=_0x35dcc5(0x1b8),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f4)]=0x3a9b]=_0x35dcc5(0x2f4),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f5)]=0x3a9c]=_0x35dcc5(0x2f5),_0x5091d8[_0x5091d8[_0x35dcc5(0x187)]=0x3a9d]=_0x35dcc5(0x187),_0x5091d8[_0x5091d8[_0x35dcc5(0x217)]=0x3a9e]=_0x35dcc5(0x217),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c8)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5091d8[_0x5091d8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35dcc5(0x2fb),_0x5091d8[_0x5091d8[_0x35dcc5(0x134)]=-0x1]=_0x35dcc5(0x134),_0x5091d8))(_0x5a8da7||{});function _0x12ddac(_0xb1c943){const _0xe2a521=_0x35dcc5;var _0xe9783e,_0x3198f6;const _0x251fcb=(_0xe9783e=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0xe9783e[_0xe2a521(0x29f)],_0x21e216=((_0x3198f6=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0x3198f6[_0xe2a521(0x16c)])||0x0;return _0x251fcb===_0x5dc12e[_0xe2a521(0x339)][_0xe2a521(0x212)]&&_0x21e216>0x0;}function _0x18ee2b(_0x808c92){const _0x39c6bc=_0x35dcc5;return _0x808c92[_0x39c6bc(0x1cb)]===_0x5dc12e[_0x39c6bc(0x128)][_0x39c6bc(0x169)];}var _0x145cff=Object['getOwnPropertyDescriptor'],_0x444011=(_0x20a42f,_0x10671b,_0xa05792,_0x485647)=>{const _0x5acb64=_0x35dcc5;for(var _0x1b4210=_0x485647>0x1?void 0x0:_0x485647?_0x145cff(_0x10671b,_0xa05792):_0x10671b,_0x5d97be=_0x20a42f[_0x5acb64(0x36b)]-0x1,_0x4b6237;_0x5d97be>=0x0;_0x5d97be--)(_0x4b6237=_0x20a42f[_0x5d97be])&&(_0x1b4210=_0x4b6237(_0x1b4210)||_0x1b4210);return _0x1b4210;},_0x17cba1=(_0x2e1528,_0x427d5d)=>(_0x514b28,_0x1a8678)=>_0x427d5d(_0x514b28,_0x1a8678,_0x2e1528);const _0x31e8dd=_0x35dcc5(0x11f),_0x5ead8b=_0x35dcc5(0x18f),_0x59133d=_0x35dcc5(0x8f);let _0x20acf5=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x503dcb,_0x6fce63,_0x4f64a0,_0x12f728,_0x10eb52,_0x48d9c6,_0x21fe48){const _0x33bbdf=_0x35dcc5;super(),_0x504098(this,_0x33bbdf(0x211),null),_0x504098(this,_0x33bbdf(0x1ad),0x0),_0x504098(this,_0x33bbdf(0x154),0x0),_0x504098(this,_0x33bbdf(0x2a9),[]),_0x504098(this,_0x33bbdf(0x106),0x0),(this[_0x33bbdf(0x15b)]=_0x503dcb,this[_0x33bbdf(0xe6)]=_0x6fce63,this[_0x33bbdf(0x1c2)]=_0x4f64a0,this[_0x33bbdf(0x111)]=_0x12f728,this[_0x33bbdf(0x2ee)]=_0x10eb52,this['_logService']=_0x48d9c6,this[_0x33bbdf(0xaf)]=_0x21fe48,this[_0x33bbdf(0x31f)]());}[_0x35dcc5(0x31f)](){const _0x419e2e=_0x35dcc5;this[_0x419e2e(0x362)](this[_0x419e2e(0xe6)]['beforeCommandExecuted']((_0x49b915,_0xe89e7a)=>{const _0x135180=_0x419e2e;var _0x560c00;if(_0x49b915['id']!==_0x5dc12e['SetFormulaCalculationStartMutation']['id'])return;const _0x5f58c5=_0x49b915[_0x135180(0x164)];if(!this[_0x135180(0x8b)]((_0x560c00=_0x5f58c5[_0x135180(0x1e9)])!=null?_0x560c00:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x135180(0x129)](_0x49b915,_0xe89e7a),this[_0x135180(0xb1)](),new _0x1acd3c['CanceledError']();})),this[_0x419e2e(0x362)](this['_commandService'][_0x419e2e(0x1d7)]((_0x212eb6,_0x40018d)=>{const _0x320d49=_0x419e2e;if(_0x212eb6['id']!==_0x5dc12e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x49cc0b=_0x212eb6[_0x320d49(0x164)];if(_0x12ddac(_0x49cc0b)){const _0x5d699f=_0x1acd3c[_0x320d49(0x23f)]();this['_taskIds'][_0x320d49(0x2c2)](_0x5d699f),this[_0x320d49(0x207)](_0x5d699f);}else{if(_0x18ee2b(_0x49cc0b)&&this[_0x320d49(0x2a9)][_0x320d49(0x36b)]>0x0){const _0x2842be=this[_0x320d49(0x2a9)][_0x320d49(0x2b2)]();this[_0x320d49(0x1a4)](_0x2842be);}}}));}['dispose'](){const _0x35e053=_0x35dcc5;super[_0x35e053(0x381)](),this['_clearPolling'](),this[_0x35e053(0x2a9)]=[],this['_currentUsage']=0x0,this[_0x35e053(0x1ad)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x35dcc5(0x129)](_0x1d2874,_0x4e3b4c){const _0xb62abe=_0x35dcc5;for(let _0x106644=0x0;_0x106644<0x1e;_0x106644++)try{if(await this[_0xb62abe(0x250)](),this[_0xb62abe(0x2ce)]()){this[_0xb62abe(0x258)](_0x1d2874,_0x4e3b4c),this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t'](_0xb62abe(0x18c)),'type':_0x31b7ea[_0xb62abe(0x1f8)][_0xb62abe(0x246)]});return;}await new Promise(_0xd74af2=>{const _0x4e14ac=_0xb62abe;this[_0x4e14ac(0x211)]=window[_0x4e14ac(0x241)](_0xd74af2,0x3e8);});}catch(_0x14b2c7){this[_0xb62abe(0x94)][_0xb62abe(0x36d)](_0x14b2c7);}this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t']('formula.calculation.unable'),'type':_0x31b7ea['MessageType'][_0xb62abe(0x308)]});}[_0x35dcc5(0x258)](_0x279498,_0x34f0e3){const _0x18180b=_0x35dcc5;try{this[_0x18180b(0xe6)][_0x18180b(0x23c)](_0x279498['id'],_0x279498[_0x18180b(0x164)],_0x34f0e3);}catch(_0x31abc9){this[_0x18180b(0x94)][_0x18180b(0x36d)](_0x31abc9);}}['_setFormulaLimitStatus'](_0x396753,_0x41feb9){const _0x3246a5=_0x35dcc5;_0x41feb9<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x41feb9,this['_maxFormulaLimit']=Number['parseInt'](_0x396753[_0x3246a5(0x350)]),this[_0x3246a5(0x154)]=Number[_0x3246a5(0xb5)](_0x396753[_0x3246a5(0x239)]));}async[_0x35dcc5(0x207)](_0x1a2a7f){const _0x5ec444=_0x35dcc5;var _0x3e680d,_0x5924dc;const _0x290090=Date['now']();try{const _0x515bf1=((_0x3e680d=this[_0x5ec444(0x1c2)][_0x5ec444(0x14a)](_0xe836dc[_0x5ec444(0x338)]))==null?void 0x0:_0x3e680d[_0x5ec444(0x337)])||_0x5ead8b,_0x2fea2c=(await this[_0x5ec444(0x111)][_0x5ec444(0x109)](_0x515bf1,{'body':JSON[_0x5ec444(0x1b6)]({'taskId':_0x1a2a7f})}))[_0x5ec444(0x279)];if(((_0x5924dc=_0x2fea2c[_0x5ec444(0x36d)])==null?void 0x0:_0x5924dc[_0x5ec444(0xfe)])!==_0x5a8da7['OK'])return;this[_0x5ec444(0x331)](_0x2fea2c[_0x5ec444(0x191)],_0x290090);}catch(_0x2cc754){this[_0x5ec444(0x94)][_0x5ec444(0x36d)](_0x2cc754);}}async[_0x35dcc5(0x250)](_0x3652b2){const _0x33c88d=_0x35dcc5;var _0x17c1c8,_0x22e56c;const _0xed5485=Date[_0x33c88d(0x153)]();try{const _0xcae761=((_0x17c1c8=this[_0x33c88d(0x1c2)]['getConfig'](_0xe836dc[_0x33c88d(0x338)]))==null?void 0x0:_0x17c1c8[_0x33c88d(0x1b4)])||_0x31e8dd,_0x103222=_0x3652b2?_0xcae761+'?taskId='+encodeURIComponent(_0x3652b2):_0xcae761,_0x1cf2c0=(await this[_0x33c88d(0x111)][_0x33c88d(0x343)](_0x103222))['body'];if(((_0x22e56c=_0x1cf2c0[_0x33c88d(0x36d)])==null?void 0x0:_0x22e56c['code'])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x1cf2c0[_0x33c88d(0x191)],_0xed5485);}catch(_0x1bc394){this[_0x33c88d(0x94)]['error'](_0x1bc394);}}async['_releaseCalculationLimit'](_0x70102d){const _0x1929bc=_0x35dcc5;var _0xa48f97,_0x2704f9;const _0x3b9711=Date['now']();try{const _0x4aa110=((_0xa48f97=this[_0x1929bc(0x1c2)]['getConfig'](_0xe836dc[_0x1929bc(0x338)]))==null?void 0x0:_0xa48f97[_0x1929bc(0x15c)])||_0x59133d,_0x37abc0=(await this[_0x1929bc(0x111)][_0x1929bc(0x109)](_0x4aa110,{'body':JSON[_0x1929bc(0x1b6)]({'taskId':_0x70102d})}))[_0x1929bc(0x279)];if(((_0x2704f9=_0x37abc0[_0x1929bc(0x36d)])==null?void 0x0:_0x2704f9[_0x1929bc(0xfe)])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x37abc0[_0x1929bc(0x191)],_0x3b9711);}catch(_0x5b54b9){this['_logService'][_0x1929bc(0x36d)](_0x5b54b9);}}[_0x35dcc5(0x2ce)](){const _0x4aa11d=_0x35dcc5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4aa11d(0x1ad)]-this[_0x4aa11d(0x154)]>0x0;}[_0x35dcc5(0x27a)](){const _0x429bf2=_0x35dcc5;this[_0x429bf2(0x211)]&&(clearTimeout(this[_0x429bf2(0x211)]),this[_0x429bf2(0x211)]=null);}[_0x35dcc5(0xb1)](){const _0x233779=_0x35dcc5;this['_messageService'][_0x233779(0x18a)]({'content':this[_0x233779(0xaf)]['t'](_0x233779(0x1ae)),'type':_0x31b7ea[_0x233779(0x1f8)][_0x233779(0xb6)]});}[_0x35dcc5(0x8b)](_0x5546ce){const _0xbeee1c=_0x35dcc5;for(const _0x2e0b7b of _0x5546ce){const {unitId:_0x524a46,sheetId:_0x4176bd,range:_0x2b7dc6}=_0x2e0b7b,_0x1430be=this[_0xbeee1c(0x2ee)]['getUnit'](_0x524a46);if(!_0x1430be)continue;const _0x1e4523=_0x1430be[_0xbeee1c(0x14b)](_0x4176bd);if(!_0x1e4523)continue;const _0x577001=_0x1e4523[_0xbeee1c(0x2a4)]();for(let _0x1c2f1c=_0x2b7dc6[_0xbeee1c(0x122)];_0x1c2f1c<=_0x2b7dc6['endRow'];_0x1c2f1c++)for(let _0x37f827=_0x2b7dc6[_0xbeee1c(0x270)];_0x37f827<=_0x2b7dc6[_0xbeee1c(0x13b)];_0x37f827++){const _0x2855f9=_0x577001[_0xbeee1c(0x20a)](_0x1c2f1c,_0x37f827);if(_0x2855f9&&(_0x1acd3c['isFormulaString'](_0x2855f9['f'])||_0x1acd3c[_0xbeee1c(0x286)](_0x2855f9['si'])))return!0x0;}}return!0x1;}};_0x20acf5=_0x444011([_0x17cba1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x3d1085['IMessageService'])),_0x17cba1(0x1,_0x1acd3c[_0x35dcc5(0x27e)]),_0x17cba1(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x17cba1(0x3,_0x1acd3c['Inject'](_0x26a7c0['HTTPService'])),_0x17cba1(0x4,_0x1acd3c['IUniverInstanceService']),_0x17cba1(0x5,_0x1acd3c[_0x35dcc5(0x296)]),_0x17cba1(0x6,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x20acf5);var _0x40ea6d=Object[_0x35dcc5(0x378)],_0x45bb2a=(_0x4d6f4,_0x317bb6,_0x3cc101,_0x2020b1)=>{const _0x3dc326=_0x35dcc5;for(var _0x3adef0=_0x2020b1>0x1?void 0x0:_0x2020b1?_0x40ea6d(_0x317bb6,_0x3cc101):_0x317bb6,_0x31a209=_0x4d6f4[_0x3dc326(0x36b)]-0x1,_0x5d4a08;_0x31a209>=0x0;_0x31a209--)(_0x5d4a08=_0x4d6f4[_0x31a209])&&(_0x3adef0=_0x5d4a08(_0x3adef0)||_0x3adef0);return _0x3adef0;},_0x4999c5=(_0x40237e,_0x53ad18)=>(_0xa9c299,_0x50a398)=>_0x53ad18(_0xa9c299,_0x50a398,_0x40237e);let _0x125cac=class extends _0x1acd3c['Disposable']{constructor(_0x55e248,_0xb8dd89,_0x2f4edc){const _0x226ec0=_0x35dcc5;super(),_0x504098(this,_0x226ec0(0x35d),new Map()),_0x504098(this,_0x226ec0(0x271),new Map()),_0x504098(this,_0x226ec0(0x2e0),!0x1),(this[_0x226ec0(0x1c2)]=_0x55e248,this['_localStorageService']=_0xb8dd89,this[_0x226ec0(0x240)]=_0x2f4edc);}[_0x35dcc5(0x176)](){const _0x3c3da9=_0x35dcc5;this[_0x3c3da9(0x2e0)]=!0x0;}['enableLocalCache'](){const _0x187fc0=_0x35dcc5;this[_0x187fc0(0x2e0)]=!0x1;}get[_0x35dcc5(0xb2)](){const _0x39b85c=_0x35dcc5;return this[_0x39b85c(0x271)];}[_0x35dcc5(0x381)](){const _0x15b6e0=_0x35dcc5;this[_0x15b6e0(0x317)]()[_0x15b6e0(0x1c3)](()=>super[_0x15b6e0(0x381)]());}async[_0x35dcc5(0xb4)](_0x1dbb80){const _0x23988e=_0x35dcc5;return this[_0x23988e(0x2e0)]?null:this['_localStorageService']['getItem'](_0xe836dc['getLocalCacheKey'](_0x1dbb80));}async[_0x35dcc5(0x86)](_0x59e85d,_0x3a228e){const _0x3ad2c2=_0x35dcc5;return!!this[_0x3ad2c2(0xf5)][_0x3ad2c2(0x345)](_0x59e85d,_0x3a228e);}[_0x35dcc5(0x148)](_0x104cfc,_0x1829a2,_0x4d7529,_0x45137f){const _0x863731=_0x35dcc5,_0x2b5501=this[_0x863731(0x240)][_0x863731(0x218)](_0x104cfc);this[_0x863731(0x35d)][_0x863731(0x375)](_0x104cfc,{'unitID':_0x104cfc,'type':_0x1829a2,'awaitingChangeset':_0x4d7529,'mutations':_0x45137f,'rev':_0x2b5501}),this[_0x863731(0x271)][_0x863731(0x1ba)](_0x104cfc)||this[_0x863731(0x280)](_0x104cfc);}[_0x35dcc5(0x280)](_0x2944fd){const _0x1e67bf=_0x35dcc5,_0x4d1123=this[_0x1e67bf(0xe2)]();_0x4d1123===0x0?this[_0x1e67bf(0x147)](_0x2944fd):this[_0x1e67bf(0x271)]['set'](_0x2944fd,setTimeout(()=>this[_0x1e67bf(0x147)](_0x2944fd),_0x4d1123));}[_0x35dcc5(0xe2)](){const _0x49dbae=_0x35dcc5;var _0x5c5613;return(_0x5c5613=this['_configService'][_0x49dbae(0x14a)](_0xe836dc[_0x49dbae(0x1c0)]))!=null?_0x5c5613:_0xe836dc['LOCAL_CACHE_INTERVAL'];}[_0x35dcc5(0x147)](_0x51598b){const _0x5a800d=_0x35dcc5,_0xe752a6=this[_0x5a800d(0x271)][_0x5a800d(0x343)](_0x51598b);return _0xe752a6!==void 0x0&&window[_0x5a800d(0x248)](_0xe752a6),this['_localStorageService'][_0x5a800d(0x345)](_0xe836dc[_0x5a800d(0x243)](_0x51598b),this[_0x5a800d(0x35d)][_0x5a800d(0x343)](_0x51598b))[_0x5a800d(0x1c3)](()=>this['_saveTaskMap']['delete'](_0x51598b));}async[_0x35dcc5(0x317)](){const _0x54ec7a=_0x35dcc5,_0x551e14=[];this[_0x54ec7a(0x271)][_0x54ec7a(0x9a)]((_0x3a8eaa,_0x306105)=>{const _0x4bf6c1=_0x54ec7a;window['clearTimeout'](_0x3a8eaa),_0x551e14[_0x4bf6c1(0x2c2)](this['_saveCache'](_0x306105)[_0x4bf6c1(0x1c3)](()=>{this['_saveTaskMap']['delete'](_0x306105);}));}),await Promise[_0x54ec7a(0xb7)](_0x551e14);}};_0x125cac=_0x45bb2a([_0x4999c5(0x0,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x4999c5(0x1,_0x1acd3c[_0x35dcc5(0x29e)]),_0x4999c5(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1d9a86[_0x35dcc5(0x26f)]))],_0x125cac);class _0x1e34fb extends _0x1acd3c['RxDisposable']{constructor(){const _0x4b7440=_0x35dcc5;super(),_0x504098(this,_0x4b7440(0xec)),this['urlChange$']=_0x52b4d8[_0x4b7440(0x237)](window,'popstate')[_0x4b7440(0x22a)](_0x52b4d8[_0x4b7440(0xa7)](this['dispose$']),_0x52b4d8[_0x4b7440(0x113)](0x1),_0x52b4d8[_0x4b7440(0x105)](void 0x0));}[_0x35dcc5(0x130)](_0x450c8e,_0x1024af,_0x8af0bf=!0x1){const _0x493935=_0x35dcc5,_0x1daf00=new URL(window[_0x493935(0x196)][_0x493935(0x37e)]);_0x1daf00[_0x493935(0x1bb)][_0x493935(0x375)](_0x450c8e,_0x1024af),_0x8af0bf?window['history'][_0x493935(0x361)]('','',_0x1daf00[_0x493935(0x327)]()):window[_0x493935(0x23e)][_0x493935(0xf1)]('','',_0x1daf00[_0x493935(0x327)]());}[_0x35dcc5(0x189)](_0x27c293,_0x5680c2=!0x1){const _0x46966a=_0x35dcc5,_0x3b5c63=new URL(window[_0x46966a(0x196)][_0x46966a(0x37e)]);_0x3b5c63[_0x46966a(0x1bb)]['delete'](_0x27c293),_0x5680c2?window[_0x46966a(0x23e)][_0x46966a(0x361)]('','',_0x3b5c63[_0x46966a(0x327)]()):window[_0x46966a(0x23e)][_0x46966a(0xf1)]('','',_0x3b5c63[_0x46966a(0x327)]());}[_0x35dcc5(0x1a2)](_0x36e2f0){const _0x3c4c47=_0x35dcc5;var _0x96a641;return(_0x96a641=new URL(window['location']['href'])[_0x3c4c47(0x1bb)][_0x3c4c47(0x343)](_0x36e2f0))!=null?_0x96a641:void 0x0;}}var _0x52ee2e=Object[_0x35dcc5(0x2a2)],_0x4ac457=Object[_0x35dcc5(0x378)],_0x1929cc=(_0x271e52,_0x1ba97a,_0x4ffa02)=>_0x1ba97a in _0x271e52?_0x52ee2e(_0x271e52,_0x1ba97a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ffa02}):_0x271e52[_0x1ba97a]=_0x4ffa02,_0x4cc86e=(_0x564b07,_0x39075,_0x3eddef,_0x2a6e86)=>{const _0x1563d2=_0x35dcc5;for(var _0x165616=_0x2a6e86>0x1?void 0x0:_0x2a6e86?_0x4ac457(_0x39075,_0x3eddef):_0x39075,_0x2fe4db=_0x564b07[_0x1563d2(0x36b)]-0x1,_0x4ca8bd;_0x2fe4db>=0x0;_0x2fe4db--)(_0x4ca8bd=_0x564b07[_0x2fe4db])&&(_0x165616=_0x4ca8bd(_0x165616)||_0x165616);return _0x165616;},_0x50e127=(_0x21d00a,_0x81cd2e)=>(_0x2d01da,_0x2f8d02)=>_0x81cd2e(_0x2d01da,_0x2f8d02,_0x21d00a),_0x566736=(_0x564135,_0x1b33d4,_0x41401c)=>_0x1929cc(_0x564135,_0x1b33d4+'',_0x41401c);const _0x1c2b55=_0x35dcc5(0x25d);_0x94c2a0['UniverCollaborationClientUIPlugin']=class extends _0x1acd3c[_0x35dcc5(0x1c6)]{constructor(_0x4e4a58=_0x444dbe,_0x154b31,_0x12bc4d,_0x379a5d){const _0x44df97=_0x35dcc5;super(),this[_0x44df97(0x12d)]=_0x4e4a58,this['_renderManagerService']=_0x154b31,this[_0x44df97(0x304)]=_0x12bc4d,this[_0x44df97(0x1c2)]=_0x379a5d;const {..._0x1cd192}=_0x1acd3c['merge']({},_0x444dbe,this['_config']);this[_0x44df97(0x1c2)][_0x44df97(0x22c)](_0x1b22ef,_0x1cd192);}[_0x35dcc5(0x293)](){const _0x182af7=_0x35dcc5;this['_registerDependencies'](),this[_0x182af7(0x93)]();}[_0x35dcc5(0x274)](){const _0x55dfd2=_0x35dcc5;this[_0x55dfd2(0x2b6)]();}[_0x35dcc5(0x300)](){const _0x15d88f=_0x35dcc5;var _0x362aae;const _0x16cedb=[[_0x2ecc79],[_0x20acf5],[_0x5ca507],[_0x17d59f],[_0x20228f],[_0x4fc58b],[_0x47bc3f,{'useClass':_0x1e34fb}],[_0x26a7c0[_0x15d88f(0x340)],{'useClass':_0x26a7c0['WebSocketService']}],[_0xe836dc[_0x15d88f(0x1d6)],{'useClass':_0x125cac}],[_0x94c2a0[_0x15d88f(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x224c41],[_0x774444],[_0x94c2a0['CollaborationDataLoaderController']]];this['_config'][_0x15d88f(0x265)]&&_0x16cedb[_0x15d88f(0x2c2)]([_0x245133]),_0x1acd3c['registerDependencies'](this[_0x15d88f(0x304)],_0x1acd3c['mergeOverrideWithDependencies'](_0x16cedb,(_0x362aae=this[_0x15d88f(0x12d)])==null?void 0x0:_0x362aae[_0x15d88f(0x12e)]));}[_0x35dcc5(0x2b6)](){const _0x2f950b=_0x35dcc5;this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)][_0x2f950b(0x210)](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x1b2)],[_0x2a51ff])),this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)]['registerRenderModule'](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x97)],[_0x4f2b9e]));}['_initDependencies'](){const _0x430ff1=_0x35dcc5;_0x1acd3c['touchDependencies'](this[_0x430ff1(0x304)],[[_0x224c41],[_0x94c2a0[_0x430ff1(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x94c2a0[_0x430ff1(0xdc)]],[_0x20acf5]]),this[_0x430ff1(0x12d)][_0x430ff1(0x265)]&&_0x1acd3c[_0x430ff1(0x1c5)](this['_injector'],[[_0x245133]]);}},_0x566736(_0x94c2a0['UniverCollaborationClientUIPlugin'],_0x35dcc5(0x294),_0x1c2b55),_0x94c2a0[_0x35dcc5(0x180)]=_0x4cc86e([_0x1acd3c[_0x35dcc5(0xee)](_0xe836dc[_0x35dcc5(0x29c)]),_0x50e127(0x1,_0x4dbd74[_0x35dcc5(0x1f3)]),_0x50e127(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x50e127(0x3,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0[_0x35dcc5(0x180)]);var _0x3aba60=Object[_0x35dcc5(0x378)],_0x53105c=(_0x444123,_0x2ea1ff,_0x4955fd,_0x5e0c89)=>{const _0x2b6598=_0x35dcc5;for(var _0x45ba30=_0x5e0c89>0x1?void 0x0:_0x5e0c89?_0x3aba60(_0x2ea1ff,_0x4955fd):_0x2ea1ff,_0x2704bf=_0x444123[_0x2b6598(0x36b)]-0x1,_0x4f1eb5;_0x2704bf>=0x0;_0x2704bf--)(_0x4f1eb5=_0x444123[_0x2704bf])&&(_0x45ba30=_0x4f1eb5(_0x45ba30)||_0x45ba30);return _0x45ba30;},_0x5ca938=(_0x917fff,_0x599eff)=>(_0x3842e9,_0x4f5c2c)=>_0x599eff(_0x3842e9,_0x4f5c2c,_0x917fff);_0x94c2a0[_0x35dcc5(0x227)]=class extends _0xe836dc[_0x35dcc5(0x30e)]{constructor(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7){super(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7);}async[_0x35dcc5(0x2ca)](_0x2e9afb){const _0x279329=_0x35dcc5,_0x1f4a0f=await this[_0x279329(0x379)](),_0x282a04=this['_createSocketURL'](_0x2e9afb,_0x1f4a0f);return this[_0x279329(0x19e)](_0x282a04);}['_createSocketURL'](_0x49a899,_0x19f627){const _0x15268e=_0x35dcc5,_0x11b131=typeof window>'u'?new URL(_0x49a899):new URL(_0x49a899,window[_0x15268e(0x196)][_0x15268e(0x2f6)]);_0x11b131[_0x15268e(0x1bb)][_0x15268e(0x375)](_0x15268e(0xaa),_0x19f627);const _0x305bd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15268e(0x196)][_0x15268e(0x95)]);return _0x305bd1['get']('runId')&&_0x11b131[_0x15268e(0x1bb)]['set'](_0x15268e(0x349),_0x305bd1['get']('runId')),_0x11b131['toString']();}async['_getSessionTicket'](){const _0x3cd31b=_0x35dcc5;var _0x36d5dd,_0x3b50bd,_0x1deb33;const _0x3826fb=this[_0x3cd31b(0x1c2)][_0x3cd31b(0x14a)](_0xe836dc[_0x3cd31b(0x338)]),_0x44d20d=(_0x36d5dd=_0x3826fb==null?void 0x0:_0x3826fb['wsSessionTicketUrl'])!=null?_0x36d5dd:_0xe836dc[_0x3cd31b(0x14d)];return(_0x1deb33=(_0x3b50bd=(await this[_0x3cd31b(0x111)]['get'](_0x44d20d,{'headers':{'Content-Type':_0x3cd31b(0xc0)}}))[_0x3cd31b(0x279)])==null?void 0x0:_0x3b50bd['ticket'])!=null?_0x1deb33:'';}},_0x94c2a0[_0x35dcc5(0x227)]=_0x53105c([_0x5ca938(0x0,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5ca938(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x5ca938(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x5ca938(0x3,_0x1acd3c['ILogService']),_0x5ca938(0x4,_0x1d9a86['ISnapshotServerService'])],_0x94c2a0[_0x35dcc5(0x227)]);var _0x56d996=Object[_0x35dcc5(0x378)],_0x5c877c=(_0x53013f,_0x491019,_0x4849f6,_0x4ba3d)=>{const _0x22977a=_0x35dcc5;for(var _0x5b6665=_0x4ba3d>0x1?void 0x0:_0x4ba3d?_0x56d996(_0x491019,_0x4849f6):_0x491019,_0x110c9d=_0x53013f[_0x22977a(0x36b)]-0x1,_0x518de7;_0x110c9d>=0x0;_0x110c9d--)(_0x518de7=_0x53013f[_0x110c9d])&&(_0x5b6665=_0x518de7(_0x5b6665)||_0x5b6665);return _0x5b6665;},_0x188c3e=(_0x269a3b,_0x116ac0)=>(_0x432792,_0x4eea32)=>_0x116ac0(_0x432792,_0x4eea32,_0x269a3b);_0x94c2a0[_0x35dcc5(0xbc)]=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x857cc2,_0x18bf5f,_0x5e5746){const _0x2e3c06=_0x35dcc5;super(),this[_0x2e3c06(0x209)]=_0x857cc2,this[_0x2e3c06(0x111)]=_0x18bf5f,this[_0x2e3c06(0x1c2)]=_0x5e5746;}async[_0x35dcc5(0x26d)](_0x5c9c32,_0x409e09,_0x26824d,..._0x4c84b3){const _0x3069a4=_0x35dcc5;var _0x3f33cd,_0x240ceb,_0x59cae3,_0x301327;const _0x5008b6=this[_0x3069a4(0x209)][_0x3069a4(0x21c)]();if(!_0x5008b6)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1698d4=((_0x3f33cd=this[_0x3069a4(0x1c2)]['getConfig'](_0xe836dc[_0x3069a4(0xd7)]))!=null?_0x3f33cd:_0xe836dc[_0x3069a4(0xdf)])+'/'+_0x5c9c32+'/run/'+_0x409e09,_0x114695=new URL(window[_0x3069a4(0x196)][_0x3069a4(0x37e)]),_0x408cde={'scriptId':_0x5c9c32,'runId':(_0x240ceb=_0x114695['searchParams'][_0x3069a4(0x343)](_0x3069a4(0x349)))!=null?_0x240ceb:'','function':_0x409e09,'unitId':_0x5008b6[_0x3069a4(0x2cb)](),'argsOfFunction':JSON[_0x3069a4(0x1b6)](_0x4c84b3),'invokeId':(_0x59cae3=_0x26824d[_0x3069a4(0x32e)])!=null?_0x59cae3:'','executionId':(_0x301327=_0x26824d[_0x3069a4(0x2e1)])!=null?_0x301327:''};try{const _0x1aaa83=await this[_0x3069a4(0x111)]['post'](_0x1698d4,{'body':_0x408cde});return _0x1aaa83[_0x3069a4(0x279)][_0x3069a4(0x36d)]&&_0x1aaa83['body'][_0x3069a4(0x36d)][_0x3069a4(0xfe)]!==_0x5a8da7['OK']?'Failed':_0x1aaa83['body'][_0x3069a4(0x19c)];}catch{return'Failed';}}},_0x94c2a0[_0x35dcc5(0xbc)]=_0x5c877c([_0x188c3e(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x188c3e(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x188c3e(0x2,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0['RemoteUniscriptService']);const _0x2f5fd9=0x7530,_0x366a5e=_0x35dcc5(0x33d);class _0x11f82a extends _0x1acd3c['Disposable']{constructor(){const _0x583cc2=_0x35dcc5;super(),_0x504098(this,'_id',_0x1acd3c[_0x583cc2(0x23f)]()),_0x504098(this,_0x583cc2(0x152),new Set()),_0x504098(this,_0x583cc2(0x221),new Map()),_0x504098(this,_0x583cc2(0x364),null),_0x504098(this,'_clearOtherTimers',new Map()),_0x504098(this,_0x583cc2(0x117),new Map()),this[_0x583cc2(0x216)]();}[_0x35dcc5(0x381)](){const _0x12c66d=_0x35dcc5;super[_0x12c66d(0x381)](),this['_clearOtherTimers']['forEach']((_0xb4198f,_0x18c534)=>this[_0x12c66d(0x2db)](_0x18c534)),this[_0x12c66d(0x364)]&&window[_0x12c66d(0x244)](this[_0x12c66d(0x364)]);}[_0x35dcc5(0x354)](_0x2a6e88){const _0x1af53d=_0x35dcc5;return this[_0x1af53d(0x90)](_0x2a6e88)[_0x1af53d(0x22a)](_0x52b4d8[_0x1af53d(0x266)]());}[_0x35dcc5(0x2e7)](_0x2c2aa1){const _0x594b46=_0x35dcc5;this[_0x594b46(0x152)][_0x594b46(0x9b)]===0x0&&this[_0x594b46(0x119)](),this[_0x594b46(0x152)][_0x594b46(0x2fc)](_0x2c2aa1),this['_send']({'type':0x0,'memberID':this[_0x594b46(0x12c)],'unitIDs':[_0x2c2aa1],'isForwarded':!0x1});}[_0x35dcc5(0x1d1)](_0x1040f3){const _0x1b0db3=_0x35dcc5;this[_0x1b0db3(0x152)][_0x1b0db3(0x2bb)](_0x1040f3),this[_0x1b0db3(0x152)][_0x1b0db3(0x9b)]===0x0&&this[_0x1b0db3(0x364)]&&window[_0x1b0db3(0x244)](this['_heartbeatTimer']);}[_0x35dcc5(0x216)](){const _0x195d4d=_0x35dcc5;this[_0x195d4d(0x362)](_0x1acd3c[_0x195d4d(0x31a)](_0x52b4d8['fromEvent'](window,_0x195d4d(0x259))[_0x195d4d(0xc6)](_0x31c8b5=>{const _0x6e64b0=_0x195d4d;if(_0x31c8b5[_0x6e64b0(0x2b1)]!==_0x366a5e||!_0x31c8b5[_0x6e64b0(0xd5)])return;const _0x55f791=JSON[_0x6e64b0(0x325)](_0x31c8b5[_0x6e64b0(0xd5)]);this[_0x6e64b0(0x1ec)](_0x55f791);}))),window[_0x195d4d(0x374)](_0x195d4d(0x11d),()=>this[_0x195d4d(0x9e)]({'type':0x1,'memberID':this[_0x195d4d(0x12c)],'unitIDs':Array[_0x195d4d(0x29a)](this[_0x195d4d(0x152)])}));}[_0x35dcc5(0x1ec)](_0x3baab5){const _0x510de9=_0x35dcc5;switch(_0x3baab5['type']){case 0x0:this[_0x510de9(0xcb)](_0x3baab5);break;case 0x1:this[_0x510de9(0x1a6)](_0x3baab5);break;case 0x2:this[_0x510de9(0x33c)](_0x3baab5);break;}}['_handleJoinEvent'](_0x3528da){const _0x6b1cf3=_0x35dcc5,{unitIDs:_0x4858ca,memberID:_0x5b7675,isForwarded:_0x3af1c7}=_0x3528da;_0x4858ca[_0x6b1cf3(0x9a)](_0x4b5200=>{const _0x6f7a01=_0x6b1cf3;if(!_0x3af1c7&&this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)&&this[_0x6f7a01(0x90)](_0x4b5200)[_0x6f7a01(0xba)](_0xe836dc[_0x6f7a01(0x15d)][_0x6f7a01(0x157)]),!this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)||!this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)[_0x6f7a01(0x1ba)](_0x5b7675)){const _0x52a8ca=this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)||new Set();_0x52a8ca['add'](_0x5b7675),this[_0x6f7a01(0x221)][_0x6f7a01(0x375)](_0x4b5200,_0x52a8ca),this[_0x6f7a01(0x23d)](_0x5b7675);}}),_0x3af1c7||this[_0x6b1cf3(0x9e)]({'type':0x0,'memberID':this[_0x6b1cf3(0x12c)],'unitIDs':[...this[_0x6b1cf3(0x152)]],'isForwarded':!0x0});}[_0x35dcc5(0x23d)](_0x4c946d){const _0x1ebc1e=_0x35dcc5;this[_0x1ebc1e(0x2db)](_0x4c946d);const _0xd77ba5=window[_0x1ebc1e(0x241)](()=>{const _0x3702ce=_0x1ebc1e;this['_unitOnClients'][_0x3702ce(0x9a)](_0x3cd8c0=>{_0x3cd8c0['delete'](_0x4c946d);});},_0x2f5fd9*0x2);this['_clearOtherTimers'][_0x1ebc1e(0x375)](_0x4c946d,_0xd77ba5);}[_0x35dcc5(0x2db)](_0xe9adde){const _0x2456ff=_0x35dcc5;if(this[_0x2456ff(0x1e4)][_0x2456ff(0x1ba)](_0xe9adde)){const _0x242832=this[_0x2456ff(0x1e4)][_0x2456ff(0x343)](_0xe9adde);_0x242832&&window[_0x2456ff(0x248)](_0x242832),this['_clearOtherTimers'][_0x2456ff(0x375)](_0xe9adde,null);}}[_0x35dcc5(0x1a6)](_0x3f78ae){const _0x56f86d=_0x35dcc5,{memberID:_0xc3fa,unitIDs:_0x3281a9}=_0x3f78ae;_0x3281a9[_0x56f86d(0x9a)](_0x3e61bc=>{const _0x388f00=_0x56f86d;var _0xd3f08e;const _0x3eaff5=this['_unitOnClients'][_0x388f00(0x343)](_0x3e61bc);_0x3eaff5&&(_0x3eaff5[_0x388f00(0x2bb)](_0xc3fa),(_0xd3f08e=this['_ensureSubject'](_0x3e61bc))==null||_0xd3f08e[_0x388f00(0xba)](_0x3eaff5['size']===0x0?_0xe836dc[_0x388f00(0x15d)][_0x388f00(0x323)]:_0xe836dc[_0x388f00(0x15d)]['OTHER_CLIENTS_EDITING']));}),this[_0x56f86d(0x2db)](_0xc3fa);}[_0x35dcc5(0x33c)](_0x4e7375){const _0x158e7d=_0x35dcc5;this[_0x158e7d(0x23d)](_0x4e7375['memberID']);}[_0x35dcc5(0x9e)](_0x248845){const _0x4dad4e=_0x35dcc5;localStorage[_0x4dad4e(0x345)](_0x366a5e,JSON[_0x4dad4e(0x1b6)](_0x248845));}[_0x35dcc5(0x119)](){const _0x5cbab4=_0x35dcc5;this[_0x5cbab4(0x364)]=window[_0x5cbab4(0x146)](()=>{const _0x27ac44=_0x5cbab4;this[_0x27ac44(0x9e)]({'type':0x2,'memberID':this[_0x27ac44(0x12c)]});},_0x2f5fd9);}[_0x35dcc5(0x90)](_0x10deaf){const _0x5cdd47=_0x35dcc5;return this[_0x5cdd47(0x117)][_0x5cdd47(0x1ba)](_0x10deaf)||this[_0x5cdd47(0x117)][_0x5cdd47(0x375)](_0x10deaf,new _0x52b4d8[(_0x5cdd47(0x2eb))](_0xe836dc[_0x5cdd47(0x15d)][_0x5cdd47(0x323)])),this['_unitStatus'][_0x5cdd47(0x343)](_0x10deaf);}}_0x94c2a0[_0x35dcc5(0x2a0)]=_0x47bc3f,_0x94c2a0[_0x35dcc5(0xc8)]=_0x17cc8b,_0x94c2a0[_0x35dcc5(0x314)]=_0x11f82a,_0x94c2a0[_0x35dcc5(0x2c1)]=_0x1e34fb,Object['defineProperty'](_0x94c2a0,Symbol[_0x35dcc5(0x14c)],{'value':_0x35dcc5(0x204)});}));function _0x3f7c(){const _0xeb7894=['CollaborationUIEventId','CONFLICT','[Unhandled\x20Rejection]:\x20','getUndoRedoMutationParamsCache','createInstance','_draw','resize','onPointerEnter$','@univerjs/rpc','Module','drawWith','_updateLocalCursor','_startCalculationLimit','Disposable','_instanceService','getValue','assignAColorForMemberID','_docTransformSelectionsService','arc','UniverIcon','_onCursorUpdate','registerRenderModule','_pollingInterval','START_CALCULATION','EMAIL_HAS_BEEN_BOUND','throttleTime','YUUMI_RATE_OVER_LIMIT','_init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentRevOfUnit','restore','Unknown\x20user','useDependency','getFocusedUnit','bind','url(#off-line-icon_clip0_910_343)','_range','Optional','_unitOnClients','_name','_onRefRangeChange','isActive','getTypeOfUnitAdded$','_uiPartsService','BrowserCollaborationSocketService','div','_initEntityListener','pipe','NodePositionConvertToRectRange','setConfig','Warning','ranges','OnLineIcon','ColorKit','selection','collaboration-client-ui.config','uni.network.url-service','HEADER_MENU','_textBubble','clsx','fromEvent','_session','currentUsage','RemoveColCommandId','_initWindowErrorListener','executeCommand','_scheduleClearOtherTimer','history','generateRandomId','_revisionService','setTimeout','INTERNAL_ERROR','getLocalCacheKey','clearInterval','isArray','Success','TOO_MANY_REQUESTS','clearTimeout','getVpScrollXYInfoByPosToVp','collabStatus.notCollab','Vector2','m1Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverDrawing','_cursorShapes','_getFormulaLimitStatus','range','colorChannel1','RefRangeService','tag','docStateChange$','toRgbString','setAlpha','_applyCommand','storage','handleDeleteRangeMoveUp','black','handleIRemoveRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Tools','DocSelectionManagerService','SetWorksheetActivateCommand','NodePositionConvertToCursor','sessionStatus$','some','UniverDocs','enableFrontendLog','distinctUntilChanged','defIds','getActiveSheet','complete','UniverUi','USER_NOT_INVITED_CODE','fromEventSubject','runOnServer','clipPath','RevisionService','startColumn','_saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','_initStatusListener','onRendered','_backgroundColor','runRefRangeMutations','transformMutation','AUTHORIZE_CODE_ILLEGAL','body','_clearPolling','unsubscribe','color','UniverEngineFormula','ICommandService','session.collaboration-timeout','_scheduleSaving','WECHAT_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','CollaborationStatus','getTypeOfUnitDisposed$','registerRefRange','isFormulaId','debounceTime','UNDEFINED','collabStatus.fetchMiss','_initUnhandledRejectionListener','LICENSE_IMPORT_SIZE_EXCEEDED','SessionStatus','INVITE_CODE_ALREADY_BOUND','DocIMEInputManagerService','bottom','serializeRangeWithSheet','getCurrent','_color','onStarting','pluginName','RichTextEditingMutation','ILogService','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorDelete','getOffsetConfig','from','@univerjs/sheets','UniverCollaborationClientPlugin','collabStatus.conflict','ILocalStorageService','stage','IURLService','xlink:href','defineProperty','subunit','getCellMatrix','_transformService','DocSkeletonManagerService','red.300','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_taskIds','currentColor','catch','getColor','getCellPositionByOffset','NOT_FOUND','_hovered','stack','key','shift','YUUMI_ASYNCIO_CANCELLED','ENTITLE_DUP_SUBSCRIPTION','_refreshCollabCursors','_registerRenderDependencies','collabStatus.offline','doc.mutation.rich-text-editing','_initUserListener','cursorInfo','delete','UniverProCollaborationClientUi','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_INVALID_CODE','WebURLService','push','ENTITLE_INSUFFICIENT_QUOTA','roomMembers$','NOT_COLLAB','addObject','_collaborationController','REDEMPTION_CODE_HAS_BEEN_CREATED','requireSession','createSocket','getUnitId','_collabCursorState$','hovered','_checkCalculationAvailable','ENTITLE_INVALID_COUPON_CODE','6926328BokcXJ','4911025THFfNP','jsx','_initEvent','transformByState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','replace','addClipboardHook','fillText','LICENSE_DISTRO_REJECTED','AWAITING','_removeClearOtherTimer','_collaborationUIEventService','skeleton','makeDirty','_assignedColors','_disabled','executionId','PENDING','@univerjs-pro/collaboration-client','ENTITLE_COUPON_USED_UP','_uploadLog','object','editingUnit','763930OAmBjC','filter','_collabSessionService','BehaviorSubject','transformSelections','labelPosition','_univerInstanceService','collab-client.tooltip.reconnect','find','IConfigService','USERS_LEAVE','getViewport','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_NOT_STARTED','origin','_imageIoService','onPointerLeave$','dispose$','_hover','DATA_SOURCE_TOO_LARGE','add','path','6924sbCVcu','session.will-retry','_registerDependencies','COLORS','MOBILE_VERIFY_CODE_MISMATCH','_transformUndoRedoStack','_injector','SetDocZoomRatioOperation','random','TEXT_RANGE_LAYER_INDEX','Error','@univerjs/engine-render','UniverProCollaborationClient','Workbook','imageSourceType','setActiveRange','CollaborationSocketService','none','purple.300','width','_roomMembers$','handleIRemoveCol','WebBrowserSingleActiveUnitService','source','LOGIN_FAILED','exhaustSavingTask','ENTITLE_REPORT_LIMIT_EXCEED','attrs','toDisposable','YUUMI_UNABLE_LOAD_URL','_updateCollabCursors','column','onTransformChange$','_initCommandInterceptor','selections','triggerDblclick','_toggleOffline','NO_OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','parse','_eventUnsubscribe','toString','_handleHover','IUniverInstanceService','createElement','entries','APPLY_REJECT','_drawRectRange','invokeId','send','_notificationService','_setFormulaLimitStatus','FETCH_MISS','YUUMI_AI_RUN_FAILED','unitId','_colorAssignService','combineLatest','startFormulaLimitUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','FormulaExecuteStageType','white','isEditing','_handleHeartbeatEvent','ACTIVE_UNIT_EVENT_CHANNEL','Rect','YUUMI_SUBSCRIPTION_NOT_FOUND','ISocketService','registerBeforeClose','VIEW_MAIN','get','substring','setItem','onMouseMove','permission.content','redoState','runId','DesktopCollaborationStatusDisplayController','CHANGESET_REVISION_CONFILICT','asObservable','includes','collab-text-range-','@univerjs/core','maxFormulaLimit','getCurrentSelections','FromArray','off-line-icon','getUnitStatus$','ENTITLE_COUPON_EXPIRED','mutations','IRemoteInstanceService','Shape','reason','svg','textRanges','getCoordByCell','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','_memberService','replaceState','disposeWithMe','status$','_heartbeatTimer','map','SNAPSHOT_INVALID_SNAPSHOT','RemoveRowCommandId','handleInsertRangeMoveRight','@univerjs/drawing','_startDocCollabCursor','length','Inject','error','_getMergeRange','IDocClipboardService','univerjs-icon\x20univerjs-icon-','_updateURLWithCurrentState','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','addEventListener','set','9273636zuFpZN','HTTPService','getOwnPropertyDescriptor','_getSessionTicket','handleInsertRow','save','top','React','href','IMessageService','onPointerMove$','dispose','saveOfflineData','current','merge','USER_IS_ANONYMOUS','_initStatusComponent','_hasFormulaInDirtyRanges','getCollabCursors$','UniverInstanceType','_cursorInfo$','/universer-api/license/formula/limit/done','_ensureSubject','socket$','split','_initDependencies','_logService','search','transformMutationsWithChangeset','UNIVER_SHEET','forwardRef','getRangePointData','forEach','size','MoveRangeCommandId','event$','_send','CommandType','@univerjs/sheets-ui','rxjs','_labelPosition','_dataLoaderService','_collaborationSessionService','17734130PHRaBQ','JOIN_ROOM_FAILED','takeUntil','connectInjector','entityInit$','sessionTicket','_drawAnchor','findNodePositionByCharIndex','UniverProCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_getScale','_showGuardMessage','saveTaskMap','unit','loadOfflineData','parseInt','Loading','all','PERMISSION_DENIED','transformRemoteChangeset','next','syncEditingCollabCursor','RemoteUniscriptService','Subject','OFFLINE','endRow','application/json','string','session.connection-failed','beginPath','eventID','getSheetId','subscribe','OffLineIcon','SheetCollabCursorShape','[CollaborationDataLoaderController]','APPLY_REVISION_CONFILICT','_handleJoinEvent','undoState','createIdentifier','[Window\x20Error]:\x20','getUnhiddenWorksheets','isTransformMutationFailure','DOC_RANGE_TYPE','text','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newValue','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collabCursorController','ITransformService','InsertRowCommandId','_initResize','CollaborationDataLoaderController','unshift','EMAIL_VERIFY_CODE_MISMATCH','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','with','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','row','function','data','_commandService','_sheetSkeletonManagerService','_themeService','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','react/jsx-runtime','urlChange$','ONLINE','DependentOn','transformStateCache','_anchorDot','pushState','actions','YUUMI_CONNECTOR_URL_NOT_FOUND','1OPANQu','_localStorageService','UNAUTHENTICATED','INotificationService','useObservable','_context','RegularPolygon','fillStyle','cursorInfo$','init','code','APPLY_PERMISSION_DENIED','getCurrentUnitForType','_monkeyPatchLogService','CONNECTOR_DATA_TOO_LARGE','1539XLZeLr','_drawTextRange','mapTo','_lastResponseTimestamp','deepClone','measureText','post','USER_NOT_FOUND','name','LocaleService','evenodd','IBeforeCloseService','_docStateChangeManagerService','symbol','_httpService','ALREADY_EXISTS','shareReplay','SOCKET_FAILED_RETRY','whenReady','_memberID','_unitStatus','amd','_scheduleHeartbeat','_docSyncEditingCollabCursorService','Injector','on-line-icon_clip0_910_349','unload','handleMoveRange','/universer-api/license/formula/limit/status','getSkeleton','engine','startRow','_docClipboardService','_anchor','EffectRefRangId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_localCacheService','FormulaExecutedStateType','_checkAndWaitForCalculationPermission','http://www.w3.org/2000/svg','DocStateChangeManagerService','_id','_config','override','MOBILE_HAS_BEEN_BOUND','setParam','registerComponent','_initCommandExecutedListener','_entityInit$','UNRECOGNIZED','_lastPointer','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursor','ThemeService','onLocalMutation','endColumn','_shapes','handleDeleteRangeMoveLeft','1em','stageInfo','_cursors','[LogService\x20Error]:\x20','_entities','DocCollaborationEntity','join','contains','setInterval','_saveCache','updateOfflineData','saveImage','getConfig','getSheetBySheetId','toStringTag','DEFAULT_WS_SESSION_TICKET_URL','removeEventListener','off-line-icon_clip0_910_343','12oICKBj','setUndoRedoMutationParamsCache','_selfUnitIDs','now','_currentUsage','on-line-icon','_docTransformIMECacheService','OTHER_CLIENTS_EDITING','_hideTimer','translate(.97)','mask','_messageService','releaseFormulaLimitUrl','UnitStatus','_getAnchorBounding','@univerjs/design','transform','_docTransformStateCacheService','CollaborationController','addObjects','params','setShapeProps','handleInsertCol','m2Prime','\x20at\x20','SUCCESS','UniverRpc','transformIMECache','totalFormulasToCalculate','DeleteRangeMoveUpCommandId','CURRENT_STATUS_CANNOT_OPERATE','yellow.400','url(#$1','deserializeRangeWithSheet','getDocRanges','_transformHistoryAndStateStack','MUTATION','PAYMENT_CHANNEL_NOT_SUPPORT','disableLocalCache','addHandlerCallback','permission.title','flatMap','type','UPDATE_CURSOR','currentSkeleton$','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','startsWith','UniverCollaborationClientUIPlugin','unitID','_removeCollabCursors','ERROR_AGAIN','INVITE_CODE_HAS_BEEN_UES','sheetID','children','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CHAT_LIMIT_EXCEED','removeParam','show','rxjs/operators','formula.calculation.started','CollaborationUIEventService','getAncestorScale','/universer-api/license/formula/limit/start','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','limitInfo','subscribeEvent','collabCursorState$','defs','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','location','_status$','_startSheetCollabCursor','InsertRangeMoveDownCommandId','_colorIndex','lineTo','result','_renderManagerService','_doCreateSocket','useCallback','getStateCache','operators','getParam','PY_RUNTIME_SCRIPT_ERROR','_releaseCalculationLimit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleLeaveEvent','_urlService','trim','displayName','0\x200\x2016\x2016','UniverSheets','switchMap','_maxFormulaLimit','formula.calculation.waiting','isTransformMutationsWithChangesetSuccess','TEXT','getMemberID','UNIVER_DOC','@univerjs/engine-formula','getFormulaLimitStatusUrl','round','stringify','UniverNetwork','REDEMPTION_CODE_INACTIVE','values','has','searchParams','_render','_scene','@univerjs/network','idSuffix','LOCAL_CACHE_INTERVAL_KEY','@univerjs/docs-ui','_configService','then','colno','touchDependencies','Plugin','_online','_refRangeService','currentTheme$','RECT','functionsExecutedState','moveTo','MemberService','INVITE_CODE_REQUIRED','fill','_beforeCloseService','disposeUnit','_updateSubUnitFromURLParams','getSheetObject','COMPLETION_FINISHED','_syncEditingCollabCursorService','ILocalCacheService','onCommandExecuted','green.600','getColorFromTheme','collabStatus.syncing','_getSheetObject','IImageIoService','2534722QPPTZr','UniverSheetsUi','DataLoaderService','min','@univerjs-pro/collaboration','getRenderById','assign','_clearOtherTimers','font','blue.400','CollaborationSessionService','Rectangle','dirtyRanges','UniverDocsUi','getMember','_handleEvent','backgroundColor','IUIPartsService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subUnitId','unhandledrejection','_docSkeletonManagerService','IRenderManagerService','useRef','OTHER_CLIENT_EDITING','RxDisposable','message','MessageType','DisposableCollection','M0\x200H16V16H0z'];_0x3f7c=function(){return _0xeb7894;};return _0x3f7c();}
|