@univerjs-pro/collaboration-client-ui 0.10.9 → 0.10.10-experimental.20251016-33b0941
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/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/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/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/types/locale/en-US.d.ts +7 -0
- package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
- package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
- 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/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 +19 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2a3e(_0x23fb8f,_0x21d2b3){const _0x41d674=_0x41d6();return _0x2a3e=function(_0x2a3ea5,_0x142473){_0x2a3ea5=_0x2a3ea5-0x114;let _0x52acb3=_0x41d674[_0x2a3ea5];return _0x52acb3;},_0x2a3e(_0x23fb8f,_0x21d2b3);}function _0x41d6(){const _0x491d51=['getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','subUnitId','collaboration-client.offline-data-not-saved','resize','_configService','indexOf','_shapes','_ensureSubject','addEventListener','url(#$1','IBeforeCloseService','flatMap','getLocalCacheKey','IConfigService','loadUnit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initStatusListener','isTransformMutationFailure','m2Prime','WECHAT_HAS_BEEN_BOUND','@univerjs/ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRefRangeChange','permission.content','OTHER_CLIENTS_EDITING','_range','UNIVER_DOC','getMergeData','IDocClipboardService','closePath','Unknown\x20user','location','shareReplay','takeUntil','entries','_localCacheService','entityInit$','IUniverInstanceService','_handleHover','exhaustSavingTask','onPointerLeave$','getMemberID','_context','_updateSubUnitFromURLParams','getCurrentUnitForType','_cursor','collabCursorState$','pushState','onRendered','assignAColorForMemberID','Shape','off-line-icon_clip0_910_343','...','pluginName','split','newValue','next','BuiltInUIPart','unit','InsertColCommandId','clearTimeout','_transformPreviousActiveRange','INVITE_CODE_REQUIRED','distinctUntilChanged','CommandType','_onCursorUpdate','urlChange$','61767FKLZUl','26433CbmnKh','_labelPosition','current','Failed','getUnitId','searchParams','registerRefRange','green.600','useObservable','_initEvent','editingUnit','APPLY_DUPLICATED','Vector2','m1Prime','_commandService','hide','loadOfflineData','call','_injector','push','_backgroundColor','SetDocZoomRatioOperation','SNAPSHOT_INVALID_SNAPSHOT','_draw','subscribe','getValue','UniverCore','_saveCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','undoState','activeSheet$','_registerDependencies','COMPLETION_FINISHED','_localStorageService','UNRECOGNIZED','onPointerEnter$','getConfig','map','parse','_unitStatus','setConfig','RECT','INVALID_ARGUMENT','_drawAnchor','symbol','_setupSubUnitSync','_onCursorDelete','blue.400','makeDirty','prototype','UniverNetwork','UniverSheetsUi','_revisionService','_doCreateSocket','apply','EffectRefRangId','UPDATE_CURSOR','4552709ZDISzx','setStateCache','sessionStatus$','getOwnPropertyDescriptor','3101960PEFNRX','selection','CollaborationSessionService','collabStatus.fetchMiss','11CHxZFh','_status$','NodePositionConvertToRectRange','_collabCursorController','filter','displayName','FromArray','getSkeleton','_httpService','MOBILE_HAS_BEEN_BOUND','getItem','href','1em','setInterval','ISocketService','getColorFromTheme','_cursors','replace','_startSheetCollabCursor','addHandlerCallback','color','OTHER_CLIENT_EDITING','_cursorInfo$','_drawRectRange','PERMISSION_DENIED','collab-text-anchor-','endColumn','CollaborationUIEventId','MoveRangeCommandId','collabStatus.syncing','xlink:href','triggerDblclick','on-line-icon_clip0_910_349','div','SheetCollabCursorShape','_getSaveTimeout','pipe','WebSocketService','IImageIoService','@univerjs/engine-render','getParam','getCellPositionByOffset','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','_univerInstanceService','session.will-retry','collabStatus.notCollab','_beforeCloseService','svg','_hideTimer','_instanceService','YUUMI_ALL_TABLES_IS_INVALID','onLocalMutation','body','_selfUnitIDs','isTransformMutationsWithChangesetSuccess','enableLocalCache','mutations','_initStatusComponent','_colorAssignService','fill','1526736tlKOvn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onCommandExecuted','_handleLeaveEvent','measureText','LICENSE_DISTRO_REJECTED','MemberService','values','ColorKit','_id','_sheetSkeletonManagerService','has','UniverDrawing','whenReady','APPLY_REVISION_CONFILICT','eventID','delete','_registerRenderDependencies','_notificationService','DEFAULT_WS_SESSION_TICKET_URL','saveOfflineData','findNodePositionByCharIndex','getCollabCursors$','startColumn','propertyIsEnumerable','Inject','UniverProCollaborationClient','round','getUndoRedoMutationParamsCache','invokeId','registerBeforeClose','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveCol','IURLService','createSocket','LOGIN_FAILED','colorChannel1','ThemeService','Rectangle','YUUMI_UNABLE_LOAD_URL','DisposableCollection','ALREADY_EXISTS','OnLineIcon','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','transform','JOIN_ROOM_FAILED','height','getSheetId','code','collab-rect-range-','getMember','dispose$','setAlpha','generateRandomId','_docTransformIMECacheService','transformStateCache','_collabCursorState$','Disposable','onPointerMove$','UniverSheets','Optional','_renderManagerService','save','PENDING','imageSourceType','_entities','font','_anchorDot','disposeUnit','handleIRemoveRow','fillText','Tools','runOnServer','memberID','react/jsx-runtime','CONFLICT','DOC_RANGE_TYPE','purple.300','getUnhiddenWorksheets','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LOCAL_CACHE_INTERVAL_KEY','_anchor','_online','UniverCollaborationClientUIPlugin','getStateCache','UniverProCollaboration','SessionStatus','red.300','5WvRNiu','getOwnPropertySymbols','setUndoRedoMutationParamsCache','/run/','_scheduleHeartbeat','TOO_MANY_REQUESTS','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','disableLocalCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_unitOnClients','collabStatus.synced','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','_document','SYNCED','INotificationService','arc','_imageIoService','CollaborationSocketService','NOT_FOUND','unload','IMessageService','@univerjs-pro/collaboration','UniverDesign','LICENSE_MAX_UNITS_EXCEEDED','roomMembers$','CONNECTOR_DATA_TOO_LARGE','_session','DesktopCollaborationStatusDisplayController','transformByState','DocIMEInputManagerService','DocSelectionManagerService','drawWith','_memberService','BehaviorSubject','_startDocCollabCursor','_roomMembers$','@univerjs/sheets','set','_config','roomMembers','_toggleOnline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_drawTextRange','Warning','_toggleOffline','forwardRef','USERS_LEAVE','className','_docSyncEditingCollabCursorService','post','cursorInfo$','@univerjs/core','InsertRangeMoveRightCommandId','_docSkeletonManagerService','getViewport','_getAnchorBounding','status$','8cstyrW','cursorInfo','moveTo','_dataLoaderService','add','UniverDocsUi','subunit','white','_eventUnsubscribe','serializeRangeWithSheet','ENSURE_SNAPSHOT_EXECUTION','result','_clearOtherTimers','clipPath','DocCollaborationEntity','_initDependencies','getFocusedUnit','_lastPointer','_transformHistoryAndStateStack','isEditing','yellow.400','UNAUTHENTICATED','UniverRpc','combineLatest','_docTransformStateCacheService','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','contains','fromEventSubject','transformMutationsWithChangeset','_docTransformSelectionsService','_init','CollaborationStatus','SheetsSelectionsService','getActiveRange','useCallback','currentColor','SetTextSelectionsOperation','startsWith','MUTATION','Injector','DocStateChangeManagerService','_docClipboardService','_scheduleClearOtherTimer','univer-mr-2\x20univer-flex\x20univer-text-xl','Error','asObservable','operators','unitID','http://www.w3.org/2000/svg','_initEntityListener','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getScale','getRenderById','toStringTag','defIds','_disabled','@univerjs-pro/collaboration-client','BrowserCollaborationSocketService','path','redoState','syncEditingCollabCursor','getSheetObject','transformSelections','transformMutation','InsertRangeMoveDownCommandId','InsertRowCommandId','_syncEditingCollabCursorService','_handleEvent','children','runId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','trim','setParam','replaceDocRanges','getSheetBySheetId','defineProperty','key','extend','_collabSessionService','_send','jsx','switchMap','evenodd','defs','_refreshCollabCursors','_scene','handleMoveRange','deepClone','black','from','setShapeProps','min','type','Rect','connectInjector','_textBubble','NO_OTHER_CLIENTS_EDITING','_color','WebBrowserSingleActiveUnitService','YUUMI_URL_COL_OUT_OF_RANGE','UniverUi','handleDeleteRangeMoveUp','init','focused$','addObject','_getMergeRange','all','univerjs-icon\x20univerjs-icon-','fromEvent','collabStatus.conflict','range','_hovered','unshift','_docSkeleton','UniverCollaborationClientPlugin','[CollaborationDataLoaderController]','COLORS','random','getCurrent','_render','sessionTicket','useDependency','collab-client.tooltip.reconnect','_removeClearOtherTimer','permission.title','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','size','ITransformService','SHEET_VIEWPORT_KEY','UNIVER_SHEET','setItem','ticket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','startRow','row','_colorIndex','disposeWithMe','_urlService','DependentOn','text','INTERNAL_ERROR','getCoordByCell','UNDEFINED','saveTaskMap','UnitStatus','touchDependencies','DeleteRangeMoveLeftCommandId','_getSessionTicket','ONLINE','idSuffix','function','IUIPartsService','column','bottom','CollaborationDataLoaderController','removeParam','univer-flex\x20univer-items-center','2098284aRtVVw','#FFF','getColor','_uiPartsService','session.collaboration-timeout','top','Tooltip','UniverEngineFormula','656YqJQJb','UniverDocs','_refRangeService','unsubscribe','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','0\x200\x2017\x2016','includes','createIdentifier','handleDeleteRangeMoveLeft','23362KwJUoP','complete','show','_name','substring','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','assign','_removeCollabCursors','icon','executionId','replaceState','ILocalStorageService','ILocalCacheService','some','TEXT_RANGE_LAYER_INDEX','registerRenderModule','throttleTime','registerDependencies','textRanges','@univerjs/docs-ui','_messageService','sheetID','INVITE_CODE_ALREADY_BOUND','_handleJoinEvent','SheetSkeletonManagerService','tag','clearInterval','history','_initCommandExecutedListener','_handleHeartbeatEvent','find','_saveTaskMap','_updateURLWithCurrentState','UniverEngineRender','_setupBeforeClosingHandler','PY_RUNTIME_SCRIPT_ERROR','with','rxjs','@univerjs/rpc','@univerjs/design','concat','isActive','_scheduleSaving','jiqing.500','UniverInstanceType','NOT_COLLAB','docStateChange$','params','error','lineTo','send','react','_logService','toString','registerComponent','YUUMI_NO_CUBOID_FOR_QUESTION','addClipboardHook','string','event$','ISnapshotServerService','currentSkeleton$','backgroundColor','none','getAncestorScale','debounce','getTypeOfUnitAdded$','UniverProCollaborationClientUi','_themeService','FETCH_MISS','_getSheetObject','createElement','isArray','YUUMI_RATE_OVER_LIMIT','getRangePointData','M0\x200H16V16H0z','popstate','deserializeRangeWithSheet','LOCAL_CACHE_INTERVAL','merge','MessageType','selections','subscribeEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','_transformService','forEach','requireSession','restore','HTTPService','VIEW_MAIN','_docStateChangeManagerService','ranges','React','currentTheme$','_heartbeatTimer','RichTextEditingMutation','beginPath','get','hovered','collaboration.closeRoom','addObjects','doc.mutation.rich-text-editing','_transformUndoRedoStack','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_HAS_BEEN_UES','handleInsertRow','LocaleService','_updateCollabCursors','_localeService','_assignedColors','RemoteUniscriptService','setTimeout','_collaborationController','SetWorksheetActivateCommand','collab-text-range-','data','name','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IRenderManagerService','wsSessionTicketUrl','setActiveRange','RxDisposable','@univerjs/docs','SOCKET_FAILED_RETRY','updateOfflineData','_cursorShapes','ICommandService','@univerjs/network','_cachedData','executeCommand','origin','CollaborationEvent','getCurrentRevOfUnit','dispose','TEXT','stringify','transformRemoteChangeset','fillStyle','APPLY_REJECT','EMAIL_HAS_BEEN_BOUND','RemoveColCommandId','CollaborationController','attrs','mask','runRefRangeMutations','width','createInstance','34FJCJYn','then','YUUMI_ASYNCIO_CANCELLED','OFFLINE','translate(.97)','INVALID_INVITE_CODE','Module','_entityInit$','endRow','handleInsertRangeMoveRight'];_0x41d6=function(){return _0x491d51;};return _0x41d6();}(function(_0x3c69a1,_0x5852c1){const _0x470c21=_0x2a3e,_0x42be29=_0x3c69a1();while(!![]){try{const _0x41b144=parseInt(_0x470c21(0x30c))/0x1*(parseInt(_0x470c21(0x278))/0x2)+-parseInt(_0x470c21(0x35b))/0x3*(parseInt(_0x470c21(0x1c7))/0x4)+-parseInt(_0x470c21(0x18c))/0x5*(parseInt(_0x470c21(0x133))/0x6)+parseInt(_0x470c21(0x394))/0x7+-parseInt(_0x470c21(0x26f))/0x8*(parseInt(_0x470c21(0x35a))/0x9)+parseInt(_0x470c21(0x398))/0xa+parseInt(_0x470c21(0x39c))/0xb*(-parseInt(_0x470c21(0x267))/0xc);if(_0x41b144===_0x5852c1)break;else _0x42be29['push'](_0x42be29['shift']());}catch(_0x33cc03){_0x42be29['push'](_0x42be29['shift']());}}}(_0x41d6,0x54f84),function(_0x2f74cc,_0x4cec56){const _0x3762fe=_0x2a3e;typeof exports=='object'&&typeof module<'u'?_0x4cec56(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['amd']?define(['exports',_0x3762fe(0x17e),_0x3762fe(0x201),_0x3762fe(0x1c1),_0x3762fe(0x32b),_0x3762fe(0x29e),_0x3762fe(0x2a0),_0x3762fe(0x2ac),_0x3762fe(0x29f),_0x3762fe(0x1b2),_0x3762fe(0x11d),_0x3762fe(0x2f8),_0x3762fe(0x28c),'@univerjs/drawing',_0x3762fe(0x1a3),_0x3762fe(0x2f3),'@univerjs/engine-formula','rxjs/operators','@univerjs/sheets-ui'],_0x4cec56):(_0x2f74cc=typeof globalThis<'u'?globalThis:_0x2f74cc||self,_0x4cec56(_0x2f74cc[_0x3762fe(0x2bb)]={},_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x14d)],_0x2f74cc[_0x3762fe(0x375)],_0x2f74cc[_0x3762fe(0x22d)],_0x2f74cc['rxjs'],_0x2f74cc[_0x3762fe(0x1a4)],_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x1dd)],_0x2f74cc[_0x3762fe(0x16f)],_0x2f74cc[_0x3762fe(0x29a)],_0x2f74cc[_0x3762fe(0x38d)],_0x2f74cc[_0x3762fe(0x1cc)],_0x2f74cc[_0x3762fe(0x13f)],_0x2f74cc[_0x3762fe(0x189)],_0x2f74cc[_0x3762fe(0x270)],_0x2f74cc[_0x3762fe(0x26e)],_0x2f74cc[_0x3762fe(0x29e)][_0x3762fe(0x1f6)],_0x2f74cc[_0x3762fe(0x38e)]));}(this,function(_0x2fd8ae,_0xfc1913,_0x33f364,_0x2b709b,_0x24d176,_0x3052c2,_0x238d53,_0x429c21,_0x2d0390,_0x52298f,_0x45a576,_0x3092c3,_0x5e00f9,_0xe88a8c,_0x13c520,_0x136824,_0x4c94b6,_0x2698e1,_0x3bd105){'use strict';const _0x360c99=_0x2a3e;var _0x58e69a=Object['defineProperty'],_0xc0a38b=(_0x147b47,_0x56a3f5,_0x5c4989)=>_0x56a3f5 in _0x147b47?_0x58e69a(_0x147b47,_0x56a3f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4989}):_0x147b47[_0x56a3f5]=_0x5c4989,_0x2197b9=(_0x2d52e8,_0x274a5b,_0x11829a)=>_0xc0a38b(_0x2d52e8,typeof _0x274a5b!=_0x360c99(0x387)?_0x274a5b+'':_0x274a5b,_0x11829a),_0x177906=function(){const _0x387bce=_0x360c99;return _0x177906=Object[_0x387bce(0x27f)]||function(_0x595f6d){const _0x3c8434=_0x387bce;for(var _0x431724,_0xa0161f=0x1,_0x2c0f19=arguments['length'];_0xa0161f<_0x2c0f19;_0xa0161f++){_0x431724=arguments[_0xa0161f];for(var _0x2ddd5d in _0x431724)Object[_0x3c8434(0x38c)]['hasOwnProperty'][_0x3c8434(0x36c)](_0x431724,_0x2ddd5d)&&(_0x595f6d[_0x2ddd5d]=_0x431724[_0x2ddd5d]);}return _0x595f6d;},_0x177906[_0x387bce(0x391)](this,arguments);},_0x5f2abf=function(_0x5b3e87,_0xe4a8b){const _0x7dcb32=_0x360c99;var _0x4dee9b={};for(var _0x35153a in _0x5b3e87)Object[_0x7dcb32(0x38c)]['hasOwnProperty']['call'](_0x5b3e87,_0x35153a)&&_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a)<0x0&&(_0x4dee9b[_0x35153a]=_0x5b3e87[_0x35153a]);if(_0x5b3e87!=null&&typeof Object[_0x7dcb32(0x18d)]==_0x7dcb32(0x260)){for(var _0x1a67ca=0x0,_0x35153a=Object[_0x7dcb32(0x18d)](_0x5b3e87);_0x1a67ca<_0x35153a[_0x7dcb32(0x1fa)];_0x1a67ca++)_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a[_0x1a67ca])<0x0&&Object[_0x7dcb32(0x38c)][_0x7dcb32(0x14b)][_0x7dcb32(0x36c)](_0x5b3e87,_0x35153a[_0x1a67ca])&&(_0x4dee9b[_0x35153a[_0x1a67ca]]=_0x5b3e87[_0x35153a[_0x1a67ca]]);}return _0x4dee9b;},_0xd8baad=_0x429c21['forwardRef'](function(_0x421d73,_0x5e542b){const _0x5b427f=_0x360c99;var _0xc952c8=_0x421d73['icon'],_0x447890=_0x421d73['id'],_0x364e21=_0x421d73[_0x5b427f(0x1bd)],_0x17b057=_0x421d73[_0x5b427f(0x216)],_0x55d8dd=_0x5f2abf(_0x421d73,[_0x5b427f(0x281),'id',_0x5b427f(0x1bd),_0x5b427f(0x216)]),_0x42ef4b=_0x5b427f(0x234)[_0x5b427f(0x2a1)](_0x447890,'\x20')['concat'](_0x364e21||'')[_0x5b427f(0x210)](),_0x3a8532=_0x429c21['useRef']('_'[_0x5b427f(0x2a1)](_0x4e09ba()));return _0x100c97(_0xc952c8,''[_0x5b427f(0x2a1)](_0x447890),{'defIds':_0xc952c8[_0x5b427f(0x1ff)],'idSuffix':_0x3a8532[_0x5b427f(0x35d)]},_0x177906({'ref':_0x5e542b,'className':_0x42ef4b},_0x55d8dd),_0x17b057);});function _0x100c97(_0x2617ab,_0x3f3b7a,_0x3d8ebd,_0xcc857,_0x1592c4){const _0x57885e=_0x360c99;return _0x429c21['createElement'](_0x2617ab[_0x57885e(0x292)],_0x177906(_0x177906({'key':_0x3f3b7a},_0x42e6d3(_0x2617ab,_0x3d8ebd,_0x1592c4)),_0xcc857),(_0x5d3b45(_0x2617ab,_0x3d8ebd)[_0x57885e(0x20d)]||[])['map'](function(_0xfd0184,_0x5b9c64){const _0x21e31f=_0x57885e;return _0x100c97(_0xfd0184,''[_0x21e31f(0x2a1)](_0x3f3b7a,'-')[_0x21e31f(0x2a1)](_0x2617ab[_0x21e31f(0x292)],'-')[_0x21e31f(0x2a1)](_0x5b9c64),_0x3d8ebd,void 0x0,_0x1592c4);}));}function _0x42e6d3(_0x110268,_0x5796d4,_0x4eda1c){const _0x2ec5fd=_0x360c99;var _0x3aefe1=_0x177906({},_0x110268[_0x2ec5fd(0x307)]);_0x4eda1c!=null&&_0x4eda1c[_0x2ec5fd(0x157)]&&_0x3aefe1[_0x2ec5fd(0x132)]===_0x2ec5fd(0x157)&&(_0x3aefe1[_0x2ec5fd(0x132)]=_0x4eda1c[_0x2ec5fd(0x157)]),_0x110268[_0x2ec5fd(0x292)]===_0x2ec5fd(0x308)&&_0x3aefe1['id']&&(_0x3aefe1['id']=_0x3aefe1['id']+_0x5796d4[_0x2ec5fd(0x25f)]),Object[_0x2ec5fd(0x339)](_0x3aefe1)['forEach'](function(_0x338370){const _0x41ecd3=_0x2ec5fd;var _0x2a7cfb=_0x338370[0x0],_0x21e868=_0x338370[0x1];_0x2a7cfb===_0x41ecd3(0x308)&&typeof _0x21e868=='string'&&(_0x3aefe1[_0x2a7cfb]=_0x21e868[_0x41ecd3(0x3ad)](/url\(#(.*)\)/,_0x41ecd3(0x320)[_0x41ecd3(0x2a1)](_0x5796d4['idSuffix'],')')));});var _0x1488ae=_0x5796d4[_0x2ec5fd(0x1ff)];return!_0x1488ae||_0x1488ae[_0x2ec5fd(0x1fa)]===0x0||(_0x110268[_0x2ec5fd(0x292)]==='use'&&_0x3aefe1['xlink:href']&&(_0x3aefe1[_0x2ec5fd(0x114)]=_0x3aefe1[_0x2ec5fd(0x114)]+_0x5796d4[_0x2ec5fd(0x25f)]),Object['entries'](_0x3aefe1)['forEach'](function(_0xad10f5){const _0x2ecec8=_0x2ec5fd;var _0x5020d4=_0xad10f5[0x0],_0x54db65=_0xad10f5[0x1];typeof _0x54db65==_0x2ecec8(0x2b2)&&(_0x3aefe1[_0x5020d4]=_0x54db65[_0x2ecec8(0x3ad)](/url\(#(.*)\)/,_0x2ecec8(0x320)['concat'](_0x5796d4[_0x2ecec8(0x25f)],')')));})),_0x3aefe1;}function _0x5d3b45(_0x51bd0a,_0x31a3e8){const _0x1f2934=_0x360c99;var _0x39e899,_0x5114eb=_0x31a3e8[_0x1f2934(0x1ff)];return!_0x5114eb||_0x5114eb['length']===0x0?_0x51bd0a:_0x51bd0a[_0x1f2934(0x292)]==='defs'&&(!((_0x39e899=_0x51bd0a[_0x1f2934(0x20d)])===null||_0x39e899===void 0x0)&&_0x39e899[_0x1f2934(0x1fa)])?_0x177906(_0x177906({},_0x51bd0a),{'children':_0x51bd0a[_0x1f2934(0x20d)][_0x1f2934(0x380)](function(_0x1cd947){const _0x649235=_0x1f2934;return typeof _0x1cd947['attrs']['id']==_0x649235(0x2b2)&&_0x5114eb&&_0x5114eb[_0x649235(0x275)](_0x1cd947[_0x649235(0x307)]['id'])?_0x177906(_0x177906({},_0x1cd947),{'attrs':_0x177906(_0x177906({},_0x1cd947['attrs']),{'id':_0x1cd947['attrs']['id']+_0x31a3e8[_0x649235(0x25f)]})}):_0x1cd947;})}):_0x51bd0a;}function _0x4e09ba(){const _0x5075eb=_0x360c99;return Math[_0x5075eb(0x23e)]()[_0x5075eb(0x2ae)](0x24)[_0x5075eb(0x27c)](0x2,0x8);}_0xd8baad[_0x360c99(0x3a1)]='UniverIcon';var _0x3f4d17={'tag':_0x360c99(0x126),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x360c99(0x2b7),'viewBox':'0\x200\x2016\x2016','width':_0x360c99(0x3a8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x360c99(0x1eb),'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':_0x360c99(0x14e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x360c99(0x34a)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':_0x360c99(0x2c3)}}]}]}],'defIds':[_0x360c99(0x34a)]},_0x251d33=_0x429c21[_0x360c99(0x1bb)](function(_0x5eac2e,_0x49d0a9){const _0x51f221=_0x360c99;return _0x429c21[_0x51f221(0x2bf)](_0xd8baad,Object[_0x51f221(0x27f)]({},_0x5eac2e,{'id':'off-line-icon','ref':_0x49d0a9,'icon':_0x3f4d17}));});_0x251d33[_0x360c99(0x3a1)]='OffLineIcon';var _0x545994={'tag':_0x360c99(0x126),'attrs':{'xmlns':_0x360c99(0x1f8),'fill':_0x360c99(0x2b7),'viewBox':_0x360c99(0x274),'width':_0x360c99(0x3a8),'height':_0x360c99(0x3a8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x360c99(0x203),'attrs':{'stroke':_0x360c99(0x1eb),'d':_0x360c99(0x273),'strokeLinecap':_0x360c99(0x14e),'strokeLinejoin':_0x360c99(0x14e),'strokeWidth':1.2}}]},{'tag':_0x360c99(0x21c),'attrs':{},'children':[{'tag':_0x360c99(0x1d4),'attrs':{'id':_0x360c99(0x116)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':'M0\x200H16V16H0z','transform':_0x360c99(0x310)}}]}]}],'defIds':[_0x360c99(0x116)]},_0x582e7a=_0x429c21['forwardRef'](function(_0xba816d,_0x24dd79){const _0x4c19c8=_0x360c99;return _0x429c21['createElement'](_0xd8baad,Object[_0x4c19c8(0x27f)]({},_0xba816d,{'id':'on-line-icon','ref':_0x24dd79,'icon':_0x545994}));});_0x582e7a[_0x360c99(0x3a1)]=_0x360c99(0x15d);function _0x4af773(_0x6dd662){const _0x378d5e=_0x360c99;switch(_0x6dd662){case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x30f)]:return'collabStatus.offline';case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x17f)]:return _0x378d5e(0x236);case _0x33f364['CollaborationStatus'][_0x378d5e(0x2bd)]:return _0x378d5e(0x39b);case _0x33f364[_0x378d5e(0x1e7)]['NOT_COLLAB']:return _0x378d5e(0x124);case _0x33f364[_0x378d5e(0x1e7)]['AWAITING']:case _0x33f364[_0x378d5e(0x1e7)]['AWAITING_WITH_PENDING']:return _0x378d5e(0x3b9);case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x19b)]:case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x173)]:return _0x378d5e(0x197);}}function _0x404f63(_0x28bbb2){const _0x2e298f=_0x360c99,{status$:_0x5c9c9a}=_0x28bbb2,_0x22fcde=_0x24d176[_0x2e298f(0x363)](_0x5c9c9a,_0x33f364['CollaborationStatus']['NOT_COLLAB']),_0x1b6be5=_0x24d176[_0x2e298f(0x242)](_0x2b709b[_0x2e298f(0x2e3)]),_0x1e1957=_0x24d176[_0x2e298f(0x242)](_0x33f364['CollaborationSessionService']),_0x55983f=_0x22fcde!==_0x33f364[_0x2e298f(0x1e7)][_0x2e298f(0x30f)],_0x331cd2=_0x1b6be5['t'](_0x4af773(_0x22fcde)),_0x3ff8f6=_0x55983f?_0xfc1913['jsx'](_0x582e7a,{}):_0xfc1913[_0x2e298f(0x219)](_0x251d33,{}),_0x1833aa=_0x429c21[_0x2e298f(0x1ea)](()=>{_0x55983f||_0x1e1957['reconnect']();},[_0x55983f,_0x1e1957]);function _0x5ec271(){const _0x4314ba=_0x2e298f;return _0xfc1913['jsxs'](_0x4314ba(0x117),{'className':_0x4314ba(0x266),'onClick':_0x1833aa,'children':[_0xfc1913['jsx'](_0x4314ba(0x117),{'className':_0x238d53['clsx'](_0x4314ba(0x1f3),{'univer-text-green-500':_0x55983f,'univer-text-red-500':!_0x55983f}),'children':_0x3ff8f6}),_0xfc1913[_0x4314ba(0x219)](_0x4314ba(0x117),{'className':_0x4314ba(0x195),'children':_0x331cd2})]});}return _0x55983f?_0x5ec271():_0xfc1913[_0x2e298f(0x219)](_0x238d53[_0x2e298f(0x26d)],{'title':_0x1b6be5['t'](_0x2e298f(0x243)),'children':_0x5ec271()});}var _0x3c40c5=Object[_0x360c99(0x397)],_0x59b143=(_0x1fc627,_0x5a6a73,_0x32a137,_0x588e9a)=>{const _0x2a6639=_0x360c99;for(var _0x32bb87=_0x588e9a>0x1?void 0x0:_0x588e9a?_0x3c40c5(_0x5a6a73,_0x32a137):_0x5a6a73,_0x290505=_0x1fc627[_0x2a6639(0x1fa)]-0x1,_0x52524e;_0x290505>=0x0;_0x290505--)(_0x52524e=_0x1fc627[_0x290505])&&(_0x32bb87=_0x52524e(_0x32bb87)||_0x32bb87);return _0x32bb87;},_0x440704=(_0xdd385,_0x401ded)=>(_0x12652d,_0x24d97e)=>_0x401ded(_0x12652d,_0x24d97e,_0xdd385);_0x2fd8ae['DesktopCollaborationStatusDisplayController']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x522564,_0x58efa4,_0x4059bc,_0x4fa4f8){const _0x509eef=_0x360c99;super(),_0x2197b9(this,_0x509eef(0x39d),new _0x3052c2['BehaviorSubject'](_0x33f364[_0x509eef(0x1e7)]['NOT_COLLAB'])),(this[_0x509eef(0x122)]=_0x522564,this[_0x509eef(0x36d)]=_0x58efa4,this[_0x509eef(0x2e9)]=_0x4059bc,this[_0x509eef(0x26a)]=_0x4fa4f8,this[_0x509eef(0x130)](),this['_initStatusListener']());}[_0x360c99(0x327)](){const _0xc43733=_0x360c99;this[_0xc43733(0x252)](this[_0xc43733(0x122)][_0xc43733(0x230)][_0xc43733(0x11a)](_0x3052c2[_0xc43733(0x21a)](()=>{const _0xa96059=_0xc43733,_0x55e1e1=this[_0xa96059(0x122)][_0xa96059(0x1d7)]();return _0x55e1e1?this['_collaborationController']['getCollabEntity$'](_0x55e1e1[_0xa96059(0x35f)]()):_0x3052c2['of'](null);}),_0x3052c2[_0xc43733(0x21a)](_0x171ab9=>_0x171ab9?_0x171ab9[_0xc43733(0x1c6)]:_0x3052c2['of'](_0x33f364[_0xc43733(0x1e7)][_0xc43733(0x2a6)])))[_0xc43733(0x373)](_0x2fded5=>{const _0x3248e0=_0xc43733;this['_status$'][_0x3248e0(0x34f)](_0x2fded5);}));}[_0x360c99(0x130)](){const _0x570aeb=_0x360c99;this[_0x570aeb(0x252)](this[_0x570aeb(0x26a)][_0x570aeb(0x2af)](_0x24d176[_0x570aeb(0x350)]['HEADER_MENU'],()=>_0x24d176[_0x570aeb(0x227)](_0x590eb5({'status$':this[_0x570aeb(0x39d)][_0x570aeb(0x1f5)]()}),this[_0x570aeb(0x36d)])));}},_0x2fd8ae['DesktopCollaborationStatusDisplayController']=_0x59b143([_0x440704(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x440704(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x440704(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x306)])),_0x440704(0x3,_0x24d176[_0x360c99(0x261)])],_0x2fd8ae[_0x360c99(0x1a9)]);function _0x590eb5(_0x61a457){const {status$:_0x2b8692}=_0x61a457;return function(){const _0x26e6ad=_0x2a3e;return _0xfc1913[_0x26e6ad(0x219)](_0x404f63,{'status$':_0x2b8692});};}const _0x52e083=_0x2b709b[_0x360c99(0x276)]('uni.network.url-service');var _0x226ff4=Object[_0x360c99(0x397)],_0x9388a2=(_0x215e1e,_0x1be34f,_0x3251fd,_0x3cd6d7)=>{for(var _0x8687e4=_0x3cd6d7>0x1?void 0x0:_0x3cd6d7?_0x226ff4(_0x1be34f,_0x3251fd):_0x1be34f,_0x310c03=_0x215e1e['length']-0x1,_0x3420da;_0x310c03>=0x0;_0x310c03--)(_0x3420da=_0x215e1e[_0x310c03])&&(_0x8687e4=_0x3420da(_0x8687e4)||_0x8687e4);return _0x8687e4;},_0x24d5ad=(_0x3d1b87,_0x116840)=>(_0x582d92,_0x9f724)=>_0x116840(_0x582d92,_0x9f724,_0x3d1b87);_0x2fd8ae[_0x360c99(0x264)]=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x15d758,_0x327ffe,_0x15eb89,_0x48d71a,_0x1a7b13){const _0x2b7977=_0x360c99;super(),this[_0x2b7977(0x253)]=_0x15d758,this[_0x2b7977(0x2ad)]=_0x327ffe,this[_0x2b7977(0x369)]=_0x15eb89,this[_0x2b7977(0x1ca)]=_0x48d71a,_0x1a7b13?_0x1a7b13==null||_0x1a7b13[_0x2b7977(0x140)]()[_0x2b7977(0x30d)](()=>this[_0x2b7977(0x1e6)]()):(this[_0x2b7977(0x2ad)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x360c99(0x1e6)](){const _0x559cb7=_0x360c99,_0x575f4a=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x351)),_0x5f1175=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x225)),_0x119468=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x1cd));if(!_0x575f4a||!_0x5f1175){this[_0x559cb7(0x2ad)]['debug'](_0x559cb7(0x23c),_0x559cb7(0x1fb));return;}const _0x549cf3=await this[_0x559cb7(0x1ca)][_0x559cb7(0x325)](_0x575f4a,Number(_0x5f1175),_0x119468);_0x549cf3&&_0x549cf3 instanceof _0x2b709b['Workbook']&&this[_0x559cb7(0x388)](_0x549cf3);}async[_0x360c99(0x388)](_0x4f0b3c){const _0x51e69f=_0x360c99;await this[_0x51e69f(0x342)](_0x4f0b3c),_0x4f0b3c[_0x51e69f(0x379)][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](_0x1b1f8c=>{const _0x5e9bbf=_0x51e69f;_0x1b1f8c&&this[_0x5e9bbf(0x299)](_0x1b1f8c);}),this[_0x51e69f(0x253)]['urlChange$'][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](()=>this[_0x51e69f(0x342)](_0x4f0b3c));}['_updateURLWithCurrentState'](_0x4172a6,_0x4c7ded=!0x1){const _0x4f10a0=_0x360c99,_0x1218d6=this['_urlService'][_0x4f10a0(0x11e)](_0x4f10a0(0x1cd));_0x4172a6[_0x4f10a0(0x163)]()!==_0x1218d6&&this[_0x4f10a0(0x253)][_0x4f10a0(0x211)](_0x4f10a0(0x1cd),_0x4172a6[_0x4f10a0(0x163)](),_0x4c7ded);}async[_0x360c99(0x342)](_0x5bb2c4){const _0x415c3f=_0x360c99;var _0x5cb361;const _0x798a8d=this['_urlService']['getParam'](_0x415c3f(0x1cd));if(!_0x798a8d||!_0x5bb2c4[_0x415c3f(0x213)](_0x798a8d)){const _0x40b487=_0x5bb2c4[_0x415c3f(0x182)]()[0x0],_0x561c96=_0x5bb2c4[_0x415c3f(0x213)](_0x40b487);if(!_0x561c96)return;this[_0x415c3f(0x299)](_0x561c96,!0x0),await this['_commandService'][_0x415c3f(0x2fa)](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x40b487});return;}((_0x5cb361=_0x5bb2c4['getActiveSheet']())==null?void 0x0:_0x5cb361[_0x415c3f(0x163)]())!==_0x798a8d&&await this[_0x415c3f(0x369)]['executeCommand'](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x798a8d});}},_0x2fd8ae[_0x360c99(0x264)]=_0x9388a2([_0x24d5ad(0x0,_0x52e083),_0x24d5ad(0x1,_0x2b709b['ILogService']),_0x24d5ad(0x2,_0x2b709b[_0x360c99(0x2f7)]),_0x24d5ad(0x3,_0x2b709b[_0x360c99(0x14c)](_0x33f364['DataLoaderService'])),_0x24d5ad(0x4,_0x2b709b[_0x360c99(0x170)](_0x2d0390['IRemoteInstanceService']))],_0x2fd8ae[_0x360c99(0x264)]);var _0x3aca32=Object[_0x360c99(0x397)],_0x51a5fb=(_0x59b0ca,_0x917fc,_0x328c4b,_0x143310)=>{for(var _0x35b805=_0x143310>0x1?void 0x0:_0x143310?_0x3aca32(_0x917fc,_0x328c4b):_0x917fc,_0x23f5ff=_0x59b0ca['length']-0x1,_0x59a28e;_0x23f5ff>=0x0;_0x23f5ff--)(_0x59a28e=_0x59b0ca[_0x23f5ff])&&(_0x35b805=_0x59a28e(_0x35b805)||_0x35b805);return _0x35b805;},_0x1b70a7=(_0x4c7d6f,_0x21d881)=>(_0x29f739,_0x1ec9c3)=>_0x21d881(_0x29f739,_0x1ec9c3,_0x4c7d6f);let _0xe9be34=class extends _0x2b709b['RxDisposable']{constructor(_0x44b56a,_0x27ade7){const _0x3a34d4=_0x360c99;super(),this[_0x3a34d4(0x1f1)]=_0x44b56a,this[_0x3a34d4(0x19e)]=_0x27ade7,this[_0x3a34d4(0x1e6)]();}[_0x360c99(0x1e6)](){const _0x323f58=_0x360c99,_0x5e0ab1=this;this[_0x323f58(0x252)](this[_0x323f58(0x1f1)][_0x323f58(0x2b1)]({'onBeforePasteImage':async _0x2511a6=>{const _0x253da8=_0x323f58,_0x1a11da=await _0x5e0ab1[_0x253da8(0x19e)]['saveImage'](_0x2511a6);return _0x1a11da?{'source':_0x1a11da['source'],'imageSourceType':_0x1a11da[_0x253da8(0x174)]}:null;}}));}};_0xe9be34=_0x51a5fb([_0x1b70a7(0x0,_0x5e00f9[_0x360c99(0x333)]),_0x1b70a7(0x1,_0xe88a8c[_0x360c99(0x11c)])],_0xe9be34);const _0x4b65fb=[_0x360c99(0x181),_0x360c99(0x2a4),_0x360c99(0x362),_0x360c99(0x18b),_0x360c99(0x38a),_0x360c99(0x1db)];class _0xe4ed4e extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x546ec5=_0x360c99;super(...arguments),_0x2197b9(this,_0x546ec5(0x2e6),new Map()),_0x2197b9(this,_0x546ec5(0x251),0x0);}[_0x360c99(0x348)](_0x355827){const _0x3b3335=_0x360c99;if(this[_0x3b3335(0x2e6)]['has'](_0x355827))return this[_0x3b3335(0x2e6)][_0x3b3335(0x2da)](_0x355827);const _0x30f28a=_0x4b65fb[this['_colorIndex']];return this['_colorIndex']=(this[_0x3b3335(0x251)]+0x1)%_0x4b65fb[_0x3b3335(0x1fa)],this[_0x3b3335(0x2e6)][_0x3b3335(0x1b3)](_0x355827,_0x30f28a),_0x30f28a;}}function _0x5b0648(_0x531ff8){const _0x261f08=_0x360c99;let _0x37f418='';for(const _0x2f8682 of _0x531ff8){const {startOffset:_0x507c64,endOffset:_0x4311f7,isActive:_0xc414b7,rangeType:_0x314600,segmentId:_0x3ddac1,segmentPage:_0x17f25e}=_0x2f8682;_0x37f418[_0x261f08(0x1fa)]&&(_0x37f418+=','),_0x37f418+=_0x507c64+':'+_0x4311f7+':'+(_0xc414b7?'1':'0')+':'+_0x314600+':'+_0x3ddac1+':'+_0x17f25e;}return _0x37f418;}function _0x24f4e8(_0xbf5726){const _0xbef2a1=_0x360c99,_0x44d871=_0xbf5726['split'](','),_0x233b3f=[];for(const _0x18038f of _0x44d871){const [_0x3e953e,_0x1d778f,_0x2ae558,_0x546541,_0x11183e,_0x340462]=_0x18038f[_0xbef2a1(0x34d)](':');_0x233b3f[_0xbef2a1(0x36e)]({'startOffset':Number(_0x3e953e),'endOffset':Number(_0x1d778f),'collapsed':_0x3e953e===_0x1d778f,'isActive':_0x2ae558==='1','rangeType':_0x546541===_0x2b709b[_0xbef2a1(0x180)][_0xbef2a1(0x2ff)]?_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x2ff)]:_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x384)],'segmentId':typeof _0x11183e==_0xbef2a1(0x2b2)?String(_0x11183e):'','segmentPage':Number(_0x340462!=null?_0x340462:-0x1)});}return _0x233b3f[_0xbef2a1(0x286)](_0x16bb77=>_0x16bb77[_0xbef2a1(0x2a2)])||(_0x233b3f[0x0][_0xbef2a1(0x2a2)]=!0x0),_0x233b3f;}class _0x314824 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x16473b=_0x360c99;super(...arguments),_0x2197b9(this,_0x16473b(0x16c),new _0x3052c2[(_0x16473b(0x1af))](null)),_0x2197b9(this,_0x16473b(0x345),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x281aea){const _0x3fead3=_0x360c99,{unitID:_0x5366fb,memberID:_0x503df2,textRanges:_0x46d09c}=_0x281aea,_0x3fd1bf=_0x5b0648(_0x46d09c);if(_0x3fd1bf==='')return;const _0xa93a72={'unitID':_0x5366fb,'memberID':_0x503df2,'selection':_0x3fd1bf};this['_collabCursorState$'][_0x3fead3(0x34f)](_0xa93a72);}}var _0x4b0105=Object[_0x360c99(0x397)],_0x1f0dc8=(_0xee9547,_0x223743,_0x38beed,_0x70d857)=>{for(var _0x131904=_0x70d857>0x1?void 0x0:_0x70d857?_0x4b0105(_0x223743,_0x38beed):_0x223743,_0x25e2a1=_0xee9547['length']-0x1,_0x322cfb;_0x25e2a1>=0x0;_0x25e2a1--)(_0x322cfb=_0xee9547[_0x25e2a1])&&(_0x131904=_0x322cfb(_0x131904)||_0x131904);return _0x131904;},_0x34e023=(_0x5c0006,_0x206eee)=>(_0x837e2b,_0x739045)=>_0x206eee(_0x837e2b,_0x739045,_0x5c0006);const _0x53be8a=0x12c,_0xbfb85c=0x64;let _0x3f8cee=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x56858e,_0x3e03e8,_0x5e741a,_0x50b23c,_0x37c45c,_0x5d5ec7,_0x41ed98,_0x5cca68,_0x42a2d0){const _0x2745ee=_0x360c99;super(),_0x2197b9(this,_0x2745ee(0x186),!0x1),_0x2197b9(this,_0x2745ee(0x1e6),!0x1),_0x2197b9(this,_0x2745ee(0x3b2),new _0x3052c2[(_0x2745ee(0x1af))](new Map())),_0x2197b9(this,_0x2745ee(0x1c0),this[_0x2745ee(0x3b2)][_0x2745ee(0x1f5)]()),_0x2197b9(this,_0x2745ee(0x1b1),new _0x3052c2[(_0x2745ee(0x1af))]([])),_0x2197b9(this,_0x2745ee(0x1a6),this[_0x2745ee(0x1b1)][_0x2745ee(0x11a)](_0x3052c2[_0x2745ee(0x246)](_0x53be8a))),_0x2197b9(this,_0x2745ee(0x121),_0x2b709b['debounce'](_0x11fb4a=>{const _0xc646ac=_0x2745ee,_0x17502a={'eventID':_0x13c520[_0xc646ac(0x2fc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc646ac(0x1f7)],'memberID':this[_0xc646ac(0x1a8)][_0xc646ac(0x340)](),'selection':_0x5b0648(_0x11fb4a)}};this[_0xc646ac(0x1a8)][_0xc646ac(0x2ab)](_0x17502a,this['unitID']);},_0xbfb85c)),(this[_0x2745ee(0x1f7)]=_0x56858e,this[_0x2745ee(0x1a8)]=_0x3e03e8,this[_0x2745ee(0x36d)]=_0x5e741a,this['_colorAssignService']=_0x50b23c,this[_0x2745ee(0x1ae)]=_0x37c45c,this[_0x2745ee(0x20b)]=_0x5d5ec7,this['_transformService']=_0x41ed98,this[_0x2745ee(0x122)]=_0x5cca68,this['_commandService']=_0x42a2d0);}get[_0x360c99(0x1c8)](){const _0x385983=_0x360c99;return this[_0x385983(0x3b2)][_0x385983(0x374)]();}get[_0x360c99(0x1b5)](){const _0x5e7afa=_0x360c99;return this[_0x5e7afa(0x1b1)]['getValue']();}[_0x360c99(0x2fe)](){const _0x4b254c=_0x360c99;super[_0x4b254c(0x2fe)](),this[_0x4b254c(0x3b2)][_0x4b254c(0x34f)](new Map()),this[_0x4b254c(0x3b2)]['complete'](),this[_0x4b254c(0x1b1)][_0x4b254c(0x34f)]([]),this[_0x4b254c(0x1b1)][_0x4b254c(0x279)]();}[_0x360c99(0x22f)](){const _0x9c9870=_0x360c99;this[_0x9c9870(0x1e6)]||(this['_init']=!0x0,this['_session'][_0x9c9870(0x396)][_0x9c9870(0x11a)](_0x3052c2['takeUntil'](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x267b12=>{const _0x57e849=_0x9c9870;_0x267b12===_0x33f364[_0x57e849(0x18a)]['ONLINE']?this[_0x57e849(0x1b6)]():this['_toggleOffline']();}),this[_0x9c9870(0x1a8)]['event$'][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x4570bb=>{const _0x31a50b=_0x9c9870,_0x1ec7b0=_0x4570bb[_0x31a50b(0x142)];_0x1ec7b0===_0x13c520[_0x31a50b(0x2fc)]['UPDATE_CURSOR']&&this[_0x31a50b(0x358)](_0x4570bb),_0x1ec7b0===_0x13c520['CollaborationEvent'][_0x31a50b(0x1bc)]&&this[_0x31a50b(0x389)](_0x4570bb);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)]['onCommandExecuted'](_0x4b3a87=>{const _0x42c82d=_0x9c9870,_0x243113=_0x4b3a87[_0x42c82d(0x2a8)];_0x243113!=null&&this[_0x42c82d(0x186)]&&_0x4b3a87['id']===_0x136824[_0x42c82d(0x1ec)]['id']&&_0x243113['unitId']===this[_0x42c82d(0x1f7)]&&_0x243113[_0x42c82d(0x1da)]===!0x1&&_0x243113['ranges'][_0x42c82d(0x1fa)]>0x0&&this[_0x42c82d(0x121)](_0x243113['ranges']);})),this[_0x9c9870(0x20b)][_0x9c9870(0x345)][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x54f269=>{const _0x57169d=_0x9c9870;if((_0x54f269==null?void 0x0:_0x54f269[_0x57169d(0x1f7)])!==this['unitID'])return;const _0x1c7fe8={'eventID':_0x13c520[_0x57169d(0x2fc)][_0x57169d(0x393)],'data':_0x54f269};this[_0x57169d(0x358)](_0x1c7fe8);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)][_0x9c9870(0x135)](_0x34a9fd=>{const _0x48d7c9=_0x9c9870;if(_0x34a9fd[_0x48d7c9(0x2a8)]==null)return;const _0x7f8303=_0x34a9fd['params'];if(_0x34a9fd['id']!==_0x136824[_0x48d7c9(0x2d8)]['id']||_0x7f8303[_0x48d7c9(0x2cc)]!==this['unitID'])return;const _0x1253f5={'id':_0x48d7c9(0x2de),'params':_0x7f8303},_0xeb9779=this[_0x48d7c9(0x1c8)];for(const [_0x472098,_0x566f69]of _0xeb9779){const _0x7f39d3={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x566f69[_0x48d7c9(0x2d4)]}},_0x2a6f5b=this['_transformService'][_0x48d7c9(0x208)](_0x1253f5,_0x7f39d3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x2a6f5b))throw _0x2a6f5b[_0x48d7c9(0x2a9)];_0xeb9779[_0x48d7c9(0x1b3)](_0x472098,{..._0x566f69,'ranges':_0x2a6f5b['m2Prime'][_0x48d7c9(0x2a8)][_0x48d7c9(0x28b)]});}queueMicrotask(()=>{const _0x4abe44=_0x48d7c9;this['_cursorInfo$'][_0x4abe44(0x34f)](_0xeb9779);});})));}[_0x360c99(0x358)](_0x488679){const _0x20a1f6=_0x360c99;var _0x4addde,_0x40e660;const {memberID:_0x3050e0,selection:_0x119842}=_0x488679[_0x20a1f6(0x2ec)],_0x63f6c9=_0x24f4e8(_0x119842),_0x520cf6=(_0x40e660=(_0x4addde=this[_0x20a1f6(0x1ae)][_0x20a1f6(0x166)](this['unitID'],_0x3050e0))==null?void 0x0:_0x4addde['name'])!=null?_0x40e660:_0x20a1f6(0x335),_0x3b4e97={'color':this[_0x20a1f6(0x131)][_0x20a1f6(0x348)](_0x3050e0),'name':_0x520cf6,'ranges':_0x63f6c9},_0x737c05=this[_0x20a1f6(0x1c8)];_0x737c05[_0x20a1f6(0x1b3)](_0x3050e0,_0x3b4e97),this['_cursorInfo$'][_0x20a1f6(0x34f)](_0x737c05);}[_0x360c99(0x389)](_0x92be0b){const _0x5d2f76=_0x360c99,{memberID:_0x590c0b}=_0x92be0b[_0x5d2f76(0x2ec)],_0xf40e0c=this[_0x5d2f76(0x1c8)];_0xf40e0c[_0x5d2f76(0x143)](_0x590c0b),this[_0x5d2f76(0x3b2)][_0x5d2f76(0x34f)](_0xf40e0c);}[_0x360c99(0x1b6)](){const _0x5535aa=_0x360c99;var _0x3f0ca3;if(this[_0x5535aa(0x186)]=!0x0,((_0x3f0ca3=this['_univerInstanceService'][_0x5535aa(0x1d7)]())==null?void 0x0:_0x3f0ca3[_0x5535aa(0x35f)]())!==this[_0x5535aa(0x1f7)])return;const _0x1e01b3=this[_0x5535aa(0x36d)][_0x5535aa(0x2da)](_0x136824[_0x5535aa(0x1ac)])[_0x5535aa(0x316)]();Array[_0x5535aa(0x2c0)](_0x1e01b3)&&_0x1e01b3[_0x5535aa(0x1fa)]>0x0&&this[_0x5535aa(0x121)](_0x1e01b3);}[_0x360c99(0x1ba)](){const _0x97905c=_0x360c99;this[_0x97905c(0x186)]=!0x1;}};_0x3f8cee=_0x1f0dc8([_0x34e023(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x34e023(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x34e023(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x34e023(0x5,_0x2b709b[_0x360c99(0x14c)](_0x314824)),_0x34e023(0x6,_0x13c520[_0x360c99(0x249)]),_0x34e023(0x7,_0x2b709b[_0x360c99(0x33c)]),_0x34e023(0x8,_0x2b709b['ICommandService'])],_0x3f8cee);var _0x2b7695=Object[_0x360c99(0x397)],_0x2dd8eb=(_0x2dfeaf,_0x424a5c,_0x4c0f8a,_0x35be0c)=>{const _0x4f0a22=_0x360c99;for(var _0xfeafbe=_0x35be0c>0x1?void 0x0:_0x35be0c?_0x2b7695(_0x424a5c,_0x4c0f8a):_0x424a5c,_0x322357=_0x2dfeaf[_0x4f0a22(0x1fa)]-0x1,_0x6f829d;_0x322357>=0x0;_0x322357--)(_0x6f829d=_0x2dfeaf[_0x322357])&&(_0xfeafbe=_0x6f829d(_0xfeafbe)||_0xfeafbe);return _0xfeafbe;},_0x538134=(_0x151eb3,_0x38099c)=>(_0x5dd2b9,_0x1e1fb3)=>_0x38099c(_0x5dd2b9,_0x1e1fb3,_0x151eb3);const _0x139d86=0x12c,_0x2daf18=0x64,_0x4bc158=()=>{let _0x2fa8e4=[],_0x54e6af=!0x1;return _0x25bb47=>{_0x2fa8e4['push'](_0x25bb47),_0x54e6af||(_0x54e6af=!0x0,setTimeout(()=>{const _0x21211b=_0x2a3e;_0x2fa8e4[_0x21211b(0x2ce)](_0x1bca0d=>_0x1bca0d()),_0x2fa8e4=[],_0x54e6af=!0x1;}));};};let _0x1f0937=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x39629d,_0x4e50ef,_0x46cf85,_0x5c25f0,_0x6a4662,_0x493f8c,_0x179cb2,_0x55a4c3){const _0x53947c=_0x360c99;super(),_0x2197b9(this,_0x53947c(0x186),!0x1),_0x2197b9(this,_0x53947c(0x1e6),!0x1),_0x2197b9(this,_0x53947c(0x3b2),new _0x3052c2[(_0x53947c(0x1af))](new Map())),_0x2197b9(this,_0x53947c(0x1c0),this[_0x53947c(0x3b2)]['asObservable']()),_0x2197b9(this,'_roomMembers$',new _0x3052c2['BehaviorSubject']([])),_0x2197b9(this,_0x53947c(0x1a6),this[_0x53947c(0x1b1)][_0x53947c(0x11a)](_0x3052c2[_0x53947c(0x246)](_0x139d86))),_0x2197b9(this,_0x53947c(0x121),_0x2b709b[_0x53947c(0x2b9)]((_0x572796,_0x39aa6d)=>{const _0x5d7dd6=_0x53947c,_0x1a6b0f={'eventID':_0x13c520[_0x5d7dd6(0x2fc)][_0x5d7dd6(0x393)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x340)](),'selection':_0x4c94b6[_0x5d7dd6(0x1d0)](_0x572796,_0x39aa6d['range'])}};this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x2ab)](_0x1a6b0f,this[_0x5d7dd6(0x1f7)]);},_0x2daf18)),(this[_0x53947c(0x1f7)]=_0x39629d,this[_0x53947c(0x1a8)]=_0x4e50ef,this[_0x53947c(0x36d)]=_0x46cf85,this[_0x53947c(0x131)]=_0x5c25f0,this[_0x53947c(0x1ae)]=_0x6a4662,this[_0x53947c(0x122)]=_0x493f8c,this['_commandService']=_0x179cb2,this['_refRangeService']=_0x55a4c3);}get[_0x360c99(0x1c8)](){const _0x16cd8f=_0x360c99;return this[_0x16cd8f(0x3b2)][_0x16cd8f(0x374)]();}get[_0x360c99(0x1b5)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x71302c=_0x360c99;super['dispose'](),this['_cursorInfo$'][_0x71302c(0x34f)](new Map()),this['_cursorInfo$'][_0x71302c(0x279)](),this[_0x71302c(0x1b1)][_0x71302c(0x34f)]([]),this[_0x71302c(0x1b1)]['complete']();}[_0x360c99(0x22f)](){const _0x218970=_0x360c99;this['_init']||(this[_0x218970(0x1e6)]=!0x0,this[_0x218970(0x1a8)]['sessionStatus$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this[_0x218970(0x167)]))['subscribe'](_0x4394d1=>{const _0x3e1f84=_0x218970;_0x4394d1===_0x33f364[_0x3e1f84(0x18a)][_0x3e1f84(0x25e)]?this[_0x3e1f84(0x1b6)]():this[_0x3e1f84(0x1ba)]();}),this[_0x218970(0x1a8)]['event$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this['dispose$']))['subscribe'](_0x1b73a1=>{const _0x1b1654=_0x218970,_0x31ade8=_0x1b73a1[_0x1b1654(0x142)];_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x393)]&&this[_0x1b1654(0x358)](_0x1b73a1),_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x1bc)]&&this[_0x1b1654(0x389)](_0x1b73a1);}),this[_0x218970(0x32d)](),this[_0x218970(0x252)](this[_0x218970(0x369)]['onCommandExecuted'](_0x226cb1=>{const _0x5e84be=_0x218970;if(this[_0x5e84be(0x186)]&&_0x226cb1['id']===_0x52298f['SetSelectionsOperation']['id']&&_0x226cb1[_0x5e84be(0x2a8)]['unitId']===this[_0x5e84be(0x1f7)]){const _0x79aa24=_0x226cb1[_0x5e84be(0x2a8)];this['_updateLocalCursor'](_0x79aa24[_0x5e84be(0x318)],_0x79aa24[_0x5e84be(0x2c9)][0x0]);}})));}['_onCursorUpdate'](_0x2aefd9){const _0x421982=_0x360c99;var _0x48c763,_0x44dc99;const {memberID:_0x2af0bd,selection:_0xa8683e}=_0x2aefd9[_0x421982(0x2ec)],{sheetName:_0x1fcdf5,range:_0x2c174c}=_0x4c94b6[_0x421982(0x2c5)](_0xa8683e),_0x51a621={'name':(_0x44dc99=(_0x48c763=this[_0x421982(0x1ae)][_0x421982(0x166)](this[_0x421982(0x1f7)],_0x2af0bd))==null?void 0x0:_0x48c763['name'])!=null?_0x44dc99:'Unknown\x20user','range':this[_0x421982(0x232)](_0x1fcdf5,_0x2c174c),'sheetID':_0x1fcdf5,'color':this['_colorAssignService'][_0x421982(0x348)](_0x2af0bd),'selection':_0xa8683e},_0xf9575d=this['cursorInfo'];_0xf9575d[_0x421982(0x1b3)](_0x2af0bd,_0x51a621),this[_0x421982(0x3b2)][_0x421982(0x34f)](_0xf9575d);}[_0x360c99(0x389)](_0x498497){const _0x227e36=_0x360c99,{memberID:_0x3cf714}=_0x498497[_0x227e36(0x2ec)],_0x2a619b=this['cursorInfo'];_0x2a619b['delete'](_0x3cf714),this[_0x227e36(0x3b2)]['next'](_0x2a619b);}[_0x360c99(0x232)](_0x1b9b12,_0x4b6fe9){const _0x40c89f=_0x360c99;var _0x2e7ab1,_0x263878;const _0x21e84f=(_0x263878=(_0x2e7ab1=this[_0x40c89f(0x122)]['getUniverSheetInstance'](this[_0x40c89f(0x1f7)]))==null?void 0x0:_0x2e7ab1['getSheetBySheetId'](_0x1b9b12))==null?void 0x0:_0x263878[_0x40c89f(0x332)]();return(_0x21e84f==null?void 0x0:_0x21e84f[_0x40c89f(0x297)](_0x1cd4ff=>_0x2b709b[_0x40c89f(0x159)][_0x40c89f(0x1e2)](_0x1cd4ff,_0x4b6fe9)))||_0x4b6fe9;}[_0x360c99(0x32d)](){const _0x38eb99=_0x360c99,_0x4e3738=new _0x2b709b[(_0x38eb99(0x15b))](),_0x509da8=_0x4bc158(),_0x6ae952=()=>{const _0x475d49=_0x38eb99;_0x4e3738[_0x475d49(0x2fe)]();const _0x528976=(_0x4cf4f3,_0xa40c5f,_0x433241,_0x5ddbdc)=>{const _0x385951=_0x475d49;let _0x430d0f=[];switch(_0x4cf4f3['id']){case _0x52298f[_0x385951(0x392)][_0x385951(0x25c)]:{_0x430d0f=_0x52298f[_0x385951(0x277)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)]['DeleteRangeMoveUpCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x22e)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x352)]:{_0x430d0f=_0x52298f['handleInsertCol'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x209)]:{_0x430d0f=_0x52298f['handleInsertRangeMoveDown'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x1c2)]:{_0x430d0f=_0x52298f[_0x385951(0x315)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x20a)]:{_0x430d0f=_0x52298f[_0x385951(0x2e2)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId'][_0x385951(0x3b8)]:{_0x430d0f=_0x52298f[_0x385951(0x21f)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x305)]:{_0x430d0f=_0x52298f[_0x385951(0x153)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId']['RemoveRowCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x179)](_0x4cf4f3,_0x5ddbdc);break;}}const _0x1ea462=_0x52298f[_0x385951(0x309)](_0x430d0f,_0x5ddbdc),_0x1577cf=this['cursorInfo'][_0x385951(0x2da)](_0xa40c5f);if(_0x1577cf&&_0x1ea462){const _0x28cefc={..._0x1577cf,'range':_0x1ea462};this[_0x385951(0x1c8)][_0x385951(0x1b3)](_0xa40c5f,_0x28cefc),_0x509da8(()=>{const _0xbdb00f=_0x385951,_0x59a1be=this['_refRangeService'][_0xbdb00f(0x361)](_0x1ea462,_0x72b53a=>(_0x59a1be[_0xbdb00f(0x2fe)](),_0x528976(_0x72b53a,_0xa40c5f,_0x433241,_0x1ea462)));_0x4e3738[_0xbdb00f(0x1cb)](_0x59a1be);});}return{'redos':[],'undos':[]};};this[_0x475d49(0x1c8)][_0x475d49(0x2ce)]((_0x154f41,_0x65a859)=>{const _0x4612a7=_0x475d49,{range:_0x5e1d4a,sheetID:_0x557e49}=_0x154f41,_0xd41817=this[_0x4612a7(0x271)][_0x4612a7(0x361)](_0x5e1d4a,_0x24af01=>(_0xd41817['dispose'](),_0x528976(_0x24af01,_0x65a859,_0x557e49,_0x5e1d4a)));_0x4e3738['add'](_0xd41817);});};this[_0x38eb99(0x252)](_0x2b709b[_0x38eb99(0x27e)](this[_0x38eb99(0x3b2)][_0x38eb99(0x373)](()=>{_0x6ae952();})));}['_toggleOnline'](){const _0x3a7b21=_0x360c99;var _0x37fbb1,_0x2981c8;if(this[_0x3a7b21(0x186)]=!0x0,((_0x37fbb1=this[_0x3a7b21(0x122)]['getFocusedUnit']())==null?void 0x0:_0x37fbb1[_0x3a7b21(0x35f)]())!==this['unitID'])return;const _0x675175=(_0x2981c8=this[_0x3a7b21(0x36d)]['get'](_0x52298f[_0x3a7b21(0x1e8)])['getCurrentSelections']())==null?void 0x0:_0x2981c8[0x0],_0x1fc7b1=this[_0x3a7b21(0x122)][_0x3a7b21(0x343)](_0x2b709b[_0x3a7b21(0x2a5)]['UNIVER_SHEET'])['getActiveSheet']();_0x675175&&_0x1fc7b1&&this[_0x3a7b21(0x121)](_0x1fc7b1[_0x3a7b21(0x163)](),_0x675175);}[_0x360c99(0x1ba)](){const _0x1efd23=_0x360c99;this[_0x1efd23(0x186)]=!0x1;}};_0x1f0937=_0x2dd8eb([_0x538134(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x538134(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x538134(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x538134(0x5,_0x2b709b[_0x360c99(0x33c)]),_0x538134(0x6,_0x2b709b[_0x360c99(0x2f7)]),_0x538134(0x7,_0x2b709b[_0x360c99(0x14c)](_0x52298f['RefRangeService']))],_0x1f0937);var _0x4af34c=Object[_0x360c99(0x397)],_0x1c48e1=(_0xf9ad60,_0xad18c,_0x5271a0,_0x2c8db8)=>{const _0x33c696=_0x360c99;for(var _0x440d97=_0x2c8db8>0x1?void 0x0:_0x2c8db8?_0x4af34c(_0xad18c,_0x5271a0):_0xad18c,_0x35738a=_0xf9ad60[_0x33c696(0x1fa)]-0x1,_0x206e44;_0x35738a>=0x0;_0x35738a--)(_0x206e44=_0xf9ad60[_0x35738a])&&(_0x440d97=_0x206e44(_0x440d97)||_0x440d97);return _0x440d97;},_0x1b0a8a=(_0x21fa0f,_0x5ec38c)=>(_0xbb0283,_0x3e360c)=>_0x5ec38c(_0xbb0283,_0x3e360c,_0x21fa0f);let _0x29df5e=class extends _0x2b709b['RxDisposable']{constructor(_0x201612,_0x1cd059,_0x149d2c){const _0x2d87b3=_0x360c99;super(),_0x2197b9(this,_0x2d87b3(0x175),new Map()),_0x2197b9(this,_0x2d87b3(0x313),new _0x3052c2['Subject']()),(this[_0x2d87b3(0x122)]=_0x201612,this[_0x2d87b3(0x36d)]=_0x1cd059,this['_collabSessionService']=_0x149d2c,this[_0x2d87b3(0x1e6)]());}['dispose'](){const _0x1c3b65=_0x360c99;super[_0x1c3b65(0x2fe)](),this['_entityInit$'][_0x1c3b65(0x279)](),this['_entities'][_0x1c3b65(0x2ce)](_0x27cd8a=>_0x27cd8a[_0x1c3b65(0x2fe)]());}['getCollabCursors$'](_0x411ad5){const _0x31426f=_0x360c99;return this[_0x31426f(0x175)][_0x31426f(0x13e)](_0x411ad5)?this['_entities'][_0x31426f(0x2da)](_0x411ad5)[_0x31426f(0x1c0)]:this[_0x31426f(0x313)][_0x31426f(0x11a)](_0x3052c2['filter'](_0x37d98e=>_0x37d98e[_0x31426f(0x1f7)]===_0x411ad5),_0x3052c2[_0x31426f(0x21a)](_0x3b336d=>_0x3b336d[_0x31426f(0x1c0)]));}[_0x360c99(0x1e6)](){const _0x46715d=_0x360c99;this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b[_0x46715d(0x2a5)][_0x46715d(0x24b)])[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))[_0x46715d(0x373)](async _0x217f76=>{const _0x13ec4b=_0x46715d,_0x4eb40a=_0x217f76['getUnitId'](),_0x55c4e2=await this[_0x13ec4b(0x3ae)](_0x4eb40a);this[_0x13ec4b(0x313)][_0x13ec4b(0x34f)](_0x55c4e2),this['_entities'][_0x13ec4b(0x1b3)](_0x4eb40a,_0x55c4e2);}),this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b['UniverInstanceType'][_0x46715d(0x331)])['pipe'](_0x3052c2[_0x46715d(0x338)](this[_0x46715d(0x167)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x3a0)](_0x4ece4f=>!_0x4ece4f[_0x46715d(0x35f)]()[_0x46715d(0x1ed)]('__')))[_0x46715d(0x373)](async _0x3a3d24=>{const _0x3eecfe=_0x46715d,_0x2e0405=_0x3a3d24[_0x3eecfe(0x35f)](),_0x51a71c=await this[_0x3eecfe(0x1b0)](_0x2e0405);this[_0x3eecfe(0x313)][_0x3eecfe(0x34f)](_0x51a71c),this[_0x3eecfe(0x175)][_0x3eecfe(0x1b3)](_0x2e0405,_0x51a71c);}),_0x3052c2[_0x46715d(0x2c7)](this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType']['UNIVER_DOC']),this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType'][_0x46715d(0x24b)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))['subscribe'](_0x2e1b2d=>{const _0x341e6e=_0x46715d,_0x4cd932=_0x2e1b2d[_0x341e6e(0x35f)](),_0x437165=this['_entities'][_0x341e6e(0x2da)](_0x4cd932);_0x437165&&(_0x437165[_0x341e6e(0x2fe)](),this[_0x341e6e(0x175)][_0x341e6e(0x143)](_0x4cd932));});}async['_startSheetCollabCursor'](_0x14d174){const _0x3ba845=_0x360c99,_0x4236ba=await this[_0x3ba845(0x217)][_0x3ba845(0x2cf)](_0x14d174),_0x23afb0=this[_0x3ba845(0x36d)][_0x3ba845(0x30b)](_0x1f0937,_0x14d174,_0x4236ba);return _0x23afb0['init'](),_0x23afb0;}async[_0x360c99(0x1b0)](_0x5319ab){const _0x285529=_0x360c99,_0x2d29af=await this[_0x285529(0x217)][_0x285529(0x2cf)](_0x5319ab),_0x36eadd=this['_injector']['createInstance'](_0x3f8cee,_0x5319ab,_0x2d29af);return _0x36eadd['init'](),_0x36eadd;}};_0x29df5e=_0x1c48e1([_0x1b0a8a(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x1b0a8a(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['Injector'])),_0x1b0a8a(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x39a)]))],_0x29df5e);const _0x4469c1=0x14,_0x24f6c6=0xc8,_0x2ad6b9=0x4,_0xd2fe1e=0x5;function _0xacbd05(_0x478b65,_0x118d4d){const _0x1e4bed=_0x360c99;let {radius:_0x5f0937,width:_0x3d513c,height:_0x4e30ad}=_0x118d4d;_0x5f0937=_0x5f0937!=null?_0x5f0937:0x0,_0x3d513c=_0x3d513c!=null?_0x3d513c:0x1e,_0x4e30ad=_0x4e30ad!=null?_0x4e30ad:0x1e;let _0x10b256=0x0,_0x55ab2d=0x0,_0xf21bdc=0x0;_0x10b256=_0x55ab2d=_0xf21bdc=Math[_0x1e4bed(0x224)](_0x5f0937,_0x3d513c/0x2,_0x4e30ad/0x2),_0x478b65[_0x1e4bed(0x2d9)](),_0x478b65[_0x1e4bed(0x1c9)](_0x10b256,0x0),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c-_0x55ab2d,0x0),_0x478b65[_0x1e4bed(0x19d)](_0x3d513c-_0x55ab2d,_0x55ab2d,_0x55ab2d,Math['PI']*0x3/0x2,0x0,!0x1),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c,_0x4e30ad-_0xf21bdc),_0x478b65['arc'](_0x3d513c-_0xf21bdc,_0x4e30ad-_0xf21bdc,_0xf21bdc,0x0,Math['PI']/0x2,!0x1),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x4e30ad),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x10b256),_0x478b65[_0x1e4bed(0x19d)](_0x10b256,_0x10b256,_0x10b256,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x478b65[_0x1e4bed(0x334)](),_0x118d4d[_0x1e4bed(0x132)]&&(_0x478b65[_0x1e4bed(0x172)](),_0x478b65[_0x1e4bed(0x302)]=_0x118d4d[_0x1e4bed(0x132)],_0x118d4d['fillRule']==='evenodd'?_0x478b65['fill'](_0x1e4bed(0x21b)):_0x478b65['fill'](),_0x478b65[_0x1e4bed(0x2d0)]());}class _0x568687 extends _0x45a576[_0x360c99(0x349)]{constructor(_0xac1e43,_0x3dbcec){const _0x4df42d=_0x360c99;super(_0xac1e43,_0x3dbcec),_0x2197b9(this,_0x4df42d(0x3b0)),_0x2197b9(this,_0x4df42d(0x255)),(this[_0x4df42d(0x3b0)]=_0x3dbcec==null?void 0x0:_0x3dbcec['color'],this[_0x4df42d(0x255)]=_0x3dbcec==null?void 0x0:_0x3dbcec['text']);}static['drawWith'](_0x53f620,_0x3cb716){const _0x4c9a45=_0x360c99,{text:_0x57b2c3,color:_0x5396c9}=_0x3cb716;_0x53f620[_0x4c9a45(0x172)](),_0x53f620[_0x4c9a45(0x176)]=_0x4c9a45(0x1b7);const _0x2668c5=_0x53f620[_0x4c9a45(0x137)](_0x57b2c3)[_0x4c9a45(0x30a)],_0x3da77f=Math[_0x4c9a45(0x224)](_0x2668c5+0x2*_0x2ad6b9,_0x24f6c6);_0xacbd05(_0x53f620,{'height':_0x4469c1,'radius':0x4,'width':_0x3da77f,'fill':_0x5396c9}),_0x53f620[_0x4c9a45(0x302)]=_0x4c9a45(0x268);const _0x5a9183=_0x2ad6b9,_0xf14004=_0x4469c1-_0xd2fe1e,_0x11c866=_0x24f6c6-0x2*_0x2ad6b9;if(_0x2668c5>_0x11c866){let _0x7e55fd='',_0x114427=0x0;for(const _0x113e81 of _0x57b2c3){const _0x375480=_0x53f620['measureText'](_0x113e81)[_0x4c9a45(0x30a)];if(_0x114427+_0x375480<=_0x11c866-_0x53f620[_0x4c9a45(0x137)](_0x4c9a45(0x34b))[_0x4c9a45(0x30a)])_0x7e55fd+=_0x113e81,_0x114427+=_0x375480;else{_0x7e55fd+=_0x4c9a45(0x34b);break;}}_0x53f620['fillText'](_0x7e55fd,_0x5a9183,_0xf14004);}else _0x53f620[_0x4c9a45(0x17a)](_0x57b2c3,_0x5a9183,_0xf14004);_0x53f620['restore']();}[_0x360c99(0x372)](_0x5eaba7){const _0xaa004d=_0x360c99;_0x568687[_0xaa004d(0x1ad)](_0x5eaba7,this);}}const _0x241436=_0x360c99(0x3b5),_0x585b5f=_0x360c99(0x2eb),_0x11b0dc=_0x360c99(0x165),_0x25808=0x6,_0x400016=1.5,_0x1a9687=0x4,_0x17748a=1.5,_0x230e44=_0x360c99(0x152);class _0x3beb1d{constructor(_0x25aa15,_0x2d1263,_0x5ee6db,_0xc2cbcb){const _0x365dad=_0x360c99;_0x2197b9(this,_0x365dad(0x31d),[]),_0x2197b9(this,'_anchor',null),_0x2197b9(this,_0x365dad(0x228),null),_0x2197b9(this,_0x365dad(0x177),null),_0x2197b9(this,_0x365dad(0x127),null),_0x2197b9(this,_0x365dad(0x1cf),null),(this[_0x365dad(0x344)]=_0x25aa15,this['_scene']=_0x2d1263,this[_0x365dad(0x23a)]=_0x5ee6db,this[_0x365dad(0x19a)]=_0xc2cbcb,this[_0x365dad(0x240)]());}set[_0x360c99(0x193)](_0x32bbc7){const _0x344fbd=_0x360c99;_0x32bbc7?(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)][_0x344fbd(0x36a)](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)]['show']()):(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)]['show'](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)][_0x344fbd(0x36a)]());}[_0x360c99(0x2fe)](){const _0x4cf0a0=_0x360c99;for(const _0x16d9bb of this[_0x4cf0a0(0x31d)])_0x16d9bb[_0x4cf0a0(0x2fe)]();this['_textBubble']&&this['_textBubble'][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x177)]&&this[_0x4cf0a0(0x177)][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x185)]&&this[_0x4cf0a0(0x185)][_0x4cf0a0(0x2fe)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x360c99(0x240)](){const _0x1109ae=_0x360c99;var _0x3ad15a;const {_docSkeleton:_0xaf6cd2,_document:_0x1a7e5f}=this,{color:_0x38fd89,name:_0x457c6a,ranges:_0x1ad233}=this[_0x1109ae(0x344)],_0x2854f1=_0x1a7e5f['getOffsetConfig'](),{docsLeft:_0x24e3c6,docsTop:_0x525e6f}=_0x2854f1,_0x582fb1=new _0x5e00f9['NodePositionConvertToCursor'](_0x2854f1,_0xaf6cd2);for(const {startOffset:_0x78284f,endOffset:_0x4220c1,rangeType:_0x2c5850,segmentId:_0x8f900,segmentPage:_0x64bbcd,collapsed:_0x19b3d3,isActive:_0x30d4eb}of _0x1ad233){const _0x25a541=_0xaf6cd2[_0x1109ae(0x148)](_0x78284f,!0x0,_0x8f900,_0x64bbcd);let _0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1,!0x0,_0x8f900,_0x64bbcd);if(_0xe6bea6==null&&(_0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1-0x1,!0x1,_0x8f900,_0x64bbcd)),_0x30d4eb){const {contentBoxPointGroup:_0x1f51c7}=_0x582fb1[_0x1109ae(0x2c2)](_0xe6bea6,_0xe6bea6);if(_0x1f51c7[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x386)](_0x38fd89,_0x1f51c7,_0x24e3c6,_0x525e6f,_0x457c6a),this[_0x1109ae(0x1cf)]=this[_0x1109ae(0x33d)]();}if(_0x25a541&&_0xe6bea6){if(_0x2c5850===_0x2b709b[_0x1109ae(0x180)][_0x1109ae(0x384)]){const _0x328acd=new _0x5e00f9[(_0x1109ae(0x39e))](_0x2854f1,_0xaf6cd2),{pointGroup:_0x41b388}=(_0x3ad15a=_0x328acd[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6))!=null?_0x3ad15a:{};if(_0x41b388==null||_0x41b388[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x3b3)](_0x38fd89,_0x41b388,_0x24e3c6,_0x525e6f);}else{if(!_0x19b3d3){const {borderBoxPointGroup:_0x1d1275}=_0x582fb1[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6);if(_0x1d1275[_0x1109ae(0x1fa)]===0x0)continue;this['_drawTextRange'](_0x38fd89,_0x1d1275,_0x24e3c6,_0x525e6f);}}}}}[_0x360c99(0x386)](_0x5803f4,_0x1487e9,_0x27d8f5,_0x25bd88,_0x3069ec){const _0x15d714=_0x360c99,_0x4c465f=this[_0x15d714(0x1c5)](_0x1487e9),{left:_0x5558cf,top:_0x5986c8,height:_0x2bcf15}=_0x4c465f,_0x4bd7f6=this[_0x15d714(0x1fc)](),_0x350622=_0x17748a/_0x4bd7f6,_0x2a9fc8=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88,'height':_0x2bcf15,'width':_0x400016,'fill':_0x5803f4||_0x45a576['getColor'](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':_0x350622,'stroke':_0x230e44,'evented':!0x0});this[_0x15d714(0x185)]=_0x2a9fc8,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x2a9fc8,_0x5e00f9[_0x15d714(0x287)]);const _0x3feb08=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x1a9687/0x2,'height':_0x1a9687,'width':_0x1a9687,'fill':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':0x0,'stroke':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)]['black'],0x0),'evented':!0x1});this[_0x15d714(0x177)]=_0x3feb08,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x3feb08,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);const _0x17821f=new _0x568687(_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x4469c1,'text':_0x3069ec,'color':_0x5803f4});this[_0x15d714(0x228)]=_0x17821f,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x17821f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']),this[_0x15d714(0x193)]=!0x1;}['_handleHover'](){const _0x54507c=_0x360c99,_0x181b6a=this['_anchor'][_0x54507c(0x37e)][_0x54507c(0x2ca)](()=>{const _0x3651a5=_0x54507c;this[_0x3651a5(0x193)]=!0x0;}),_0x57e157=this[_0x54507c(0x185)][_0x54507c(0x33f)][_0x54507c(0x2ca)](()=>{const _0x22e579=_0x54507c;this[_0x22e579(0x127)]&&clearTimeout(this[_0x22e579(0x127)]),this[_0x22e579(0x127)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3550b5=_0x54507c;_0x181b6a[_0x3550b5(0x272)](),_0x57e157['unsubscribe']();};}[_0x360c99(0x1b8)](_0x12ecd9,_0x4b5674,_0x16f10d,_0x4f717a){const _0x4903ac=_0x360c99,_0x145235=new _0x2b709b[(_0x4903ac(0x13b))](_0x12ecd9)['setAlpha'](0.2)['toRgbString'](),_0x17a57f=new _0x45a576['RegularPolygon'](_0x585b5f+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x4b5674,'fill':_0x145235||_0x45a576[_0x4903ac(0x269)](_0x2b709b['COLORS'][_0x4903ac(0x221)],0.2),'left':_0x16f10d,'top':_0x4f717a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4903ac(0x31d)][_0x4903ac(0x36e)](_0x17a57f),this[_0x4903ac(0x21e)][_0x4903ac(0x231)](_0x17a57f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);}[_0x360c99(0x3b3)](_0x4b3767,_0x22199f,_0x4e2799,_0x5e0123){const _0x32cfc3=_0x360c99,_0x46a0dc=new _0x2b709b[(_0x32cfc3(0x13b))](_0x4b3767)[_0x32cfc3(0x168)](0.2)['toRgbString'](),_0x5befa3=new _0x45a576['RegularPolygon'](_0x11b0dc+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x22199f,'fill':_0x46a0dc||_0x45a576[_0x32cfc3(0x269)](_0x2b709b[_0x32cfc3(0x23d)][_0x32cfc3(0x221)],0.2),'left':_0x4e2799,'top':_0x5e0123,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32cfc3(0x31d)][_0x32cfc3(0x36e)](_0x5befa3),this[_0x32cfc3(0x21e)]['addObject'](_0x5befa3,_0x5e00f9[_0x32cfc3(0x287)]);}[_0x360c99(0x1c5)](_0x3268c9){const _0x553af6=_0x3268c9[0x0],_0x11ce4c=_0x553af6[0x0],_0x553bd2=_0x553af6[0x2],{x:_0x346e4a,y:_0x441dd1}=_0x11ce4c,{x:_0x2cc57a,y:_0x4298f1}=_0x553bd2;return{'left':_0x346e4a,'top':_0x441dd1,'width':_0x2cc57a-_0x346e4a,'height':_0x4298f1-_0x441dd1};}['_getScale'](){const _0x17db0f=_0x360c99,{scaleX:_0x291789,scaleY:_0x1f00c8}=this[_0x17db0f(0x21e)][_0x17db0f(0x2b8)]();return Math['max'](_0x291789,_0x1f00c8);}}var _0x1fa192=Object[_0x360c99(0x397)],_0x5b55cd=(_0x5d64ca,_0x3800ac,_0x1e7584,_0xec46ae)=>{const _0x287fe8=_0x360c99;for(var _0x3eb35f=_0xec46ae>0x1?void 0x0:_0xec46ae?_0x1fa192(_0x3800ac,_0x1e7584):_0x3800ac,_0xaf7754=_0x5d64ca[_0x287fe8(0x1fa)]-0x1,_0x20a17b;_0xaf7754>=0x0;_0xaf7754--)(_0x20a17b=_0x5d64ca[_0xaf7754])&&(_0x3eb35f=_0x20a17b(_0x3eb35f)||_0x3eb35f);return _0x3eb35f;},_0x873145=(_0x21de43,_0x3a3225)=>(_0x23cc3d,_0x1e8c39)=>_0x3a3225(_0x23cc3d,_0x1e8c39,_0x21de43);let _0x4f058a=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x4659d7,_0x44d15f,_0x106f9d,_0x401eb8,_0x5bb6d2){const _0x30e5e9=_0x360c99;super(),_0x2197b9(this,'_cursorShapes',[]),_0x2197b9(this,_0x30e5e9(0x3ac),[]),(this[_0x30e5e9(0x341)]=_0x4659d7,this[_0x30e5e9(0x1c3)]=_0x44d15f,this[_0x30e5e9(0x39f)]=_0x106f9d,this['_commandService']=_0x401eb8,this[_0x30e5e9(0x2bc)]=_0x5bb6d2,this[_0x30e5e9(0x1e6)]());}[_0x360c99(0x1e6)](){const _0xb815a0=_0x360c99,_0x23ae71=this['_context'][_0xb815a0(0x2cc)],_0x2ac6f1=this[_0xb815a0(0x1c3)];this[_0xb815a0(0x252)](_0x3052c2[_0xb815a0(0x1de)]([this[_0xb815a0(0x39f)][_0xb815a0(0x149)](_0x23ae71),this[_0xb815a0(0x2bc)][_0xb815a0(0x2d6)]])['pipe'](_0x2698e1['map'](([_0x4d9670,_0x37601d])=>({'skeleton':_0x2ac6f1[_0xb815a0(0x3a3)](),'cursors':[..._0x4d9670[_0xb815a0(0x13a)]()][_0xb815a0(0x322)](_0x726da=>({..._0x726da,'color':this[_0xb815a0(0x2bc)]['getColorFromTheme'](_0x726da[_0xb815a0(0x3b0)])}))})))[_0xb815a0(0x373)](_0xc17bc2=>{const _0x1caff0=_0xb815a0;if(this[_0x1caff0(0x280)](),_0xc17bc2){const {skeleton:_0x1fb9f7,cursors:_0x3e09c2}=_0xc17bc2;this[_0x1caff0(0x2e4)](_0x1fb9f7,_0x3e09c2);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x360c99(0x2e4)](_0x388672,_0xf41523){const _0x7079af=_0x360c99,{scene:_0x54358e,mainComponent:_0x28baa7}=this['_context'],_0x575d12=_0xf41523['map'](_0x3352c4=>new _0x3beb1d(_0x3352c4,_0x54358e,_0x388672,_0x28baa7));this[_0x7079af(0x2f6)]=_0x575d12,this[_0x7079af(0x3ac)]=_0xf41523;}[_0x360c99(0x21d)](){const _0x18ab6a=_0x360c99;this[_0x18ab6a(0x280)]();const {scene:_0x580537,mainComponent:_0x35c901}=this[_0x18ab6a(0x341)],_0x1193c6=this[_0x18ab6a(0x1c3)][_0x18ab6a(0x3a3)](),_0x37130a=this[_0x18ab6a(0x3ac)][_0x18ab6a(0x380)](_0x325742=>new _0x3beb1d(_0x325742,_0x580537,_0x1193c6,_0x35c901));this['_cursorShapes']=_0x37130a;}[_0x360c99(0x280)](){const _0x1d1409=_0x360c99;this['_cursorShapes'][_0x1d1409(0x2ce)](_0x1f17cb=>_0x1f17cb['dispose']()),this[_0x1d1409(0x2f6)]=[];}[_0x360c99(0x295)](){const _0x52fea7=_0x360c99,_0x2bcf8f=[_0x5e00f9[_0x52fea7(0x370)]['id']];this['disposeWithMe'](this[_0x52fea7(0x369)][_0x52fea7(0x135)](_0xe5089c=>{const _0x4281d6=_0x52fea7;_0x2bcf8f[_0x4281d6(0x275)](_0xe5089c['id'])&&_0xe5089c['params'][_0x4281d6(0x2cc)]===this['_context'][_0x4281d6(0x2cc)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2a45cd=_0x360c99;this[_0x2a45cd(0x252)](_0x2b709b[_0x2a45cd(0x1e3)](this['_context']['engine']['onTransformChange$'])[_0x2a45cd(0x11a)](_0x2698e1['filter'](_0x5d65e4=>_0x5d65e4['type']===_0x45a576[_0x2a45cd(0x326)][_0x2a45cd(0x31a)]),_0x2698e1[_0x2a45cd(0x289)](0x10))[_0x2a45cd(0x373)](()=>{const _0x25723d=_0x2a45cd;this[_0x25723d(0x21d)]();}));}};_0x4f058a=_0x5b55cd([_0x873145(0x1,_0x2b709b[_0x360c99(0x14c)](_0x136824['DocSkeletonManagerService'])),_0x873145(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x873145(0x3,_0x2b709b[_0x360c99(0x2f7)]),_0x873145(0x4,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x158)]))],_0x4f058a);const _0x461bd1=0x1,_0x3c4366=1.5;class _0x34aaa3 extends _0x45a576['Shape']{constructor(_0x1b0d35,_0x43fa26){const _0x79fd04=_0x360c99;super(_0x1b0d35,_0x43fa26),_0x2197b9(this,_0x79fd04(0x22a)),_0x2197b9(this,_0x79fd04(0x238),!0x1),_0x2197b9(this,_0x79fd04(0x330)),_0x2197b9(this,'_name',''),_0x2197b9(this,'_labelPosition',_0x79fd04(0x26c)),_0x2197b9(this,'_backgroundColor'),(_0x43fa26&&this['setShapeProps'](_0x43fa26),this[_0x79fd04(0x37e)][_0x79fd04(0x2ca)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x79fd04(0x2ca)](()=>this[_0x79fd04(0x223)]({'hovered':!0x1})));}['setShapeProps'](_0x43eea8){const _0x531403=_0x360c99;var _0x246652,_0x163b29,_0x482349,_0x34f7c6,_0x469ad3,_0x2eb560;this[_0x531403(0x22a)]=(_0x246652=_0x43eea8[_0x531403(0x3b0)])!=null?_0x246652:this[_0x531403(0x22a)],this[_0x531403(0x238)]=(_0x163b29=_0x43eea8[_0x531403(0x2db)])!=null?_0x163b29:this[_0x531403(0x238)],this[_0x531403(0x330)]=(_0x482349=_0x43eea8[_0x531403(0x237)])!=null?_0x482349:this[_0x531403(0x330)],this[_0x531403(0x27b)]=(_0x34f7c6=_0x43eea8[_0x531403(0x2ed)])!=null?_0x34f7c6:this[_0x531403(0x27b)],this[_0x531403(0x35c)]=(_0x469ad3=_0x43eea8['labelPosition'])!=null?_0x469ad3:this[_0x531403(0x35c)],this['_backgroundColor']=(_0x2eb560=_0x43eea8[_0x531403(0x2b6)])!=null?_0x2eb560:this[_0x531403(0x36f)],this[_0x531403(0x1aa)]({'width':_0x43eea8[_0x531403(0x30a)],'height':_0x43eea8['height']});}['onMouseMove'](_0x34696b){const _0x1d0108=_0x360c99,{row:_0x237eff,column:_0x343b19}=_0x34696b;if(_0x237eff>=this['_range'][_0x1d0108(0x24f)]&&_0x237eff<=this[_0x1d0108(0x330)][_0x1d0108(0x314)]&&_0x343b19>=this[_0x1d0108(0x330)][_0x1d0108(0x14a)]&&_0x343b19<=this[_0x1d0108(0x330)][_0x1d0108(0x3b6)]){this[_0x1d0108(0x223)]({'hovered':!0x0});return;}this[_0x1d0108(0x223)]({'hovered':!0x1});}[_0x360c99(0x115)](_0x2e4268){return!0x1;}[_0x360c99(0x372)](_0x24e177){const _0x338fda=_0x360c99;_0x45a576['Rect'][_0x338fda(0x1ad)](_0x24e177,{'width':this[_0x338fda(0x30a)],'height':this[_0x338fda(0x162)],'strokeWidth':_0x3c4366,'stroke':this[_0x338fda(0x22a)],'evented':!0x1,'fill':this[_0x338fda(0x36f)]}),this[_0x338fda(0x238)]&&(_0x24e177[_0x338fda(0x172)](),_0x24e177[_0x338fda(0x160)](0x1,0x0,0x0,0x1,this[_0x338fda(0x30a)],this[_0x338fda(0x35c)]==='bottom'?0x0:-_0x4469c1),_0x568687[_0x338fda(0x1ad)](_0x24e177,{'text':this[_0x338fda(0x27b)],'color':this['_color']}),_0x24e177['restore']());}}var _0x56fae1=Object[_0x360c99(0x397)],_0x3d2cbb=(_0xaf18ce,_0x56d330,_0x3df714,_0x9327a3)=>{const _0x5a152c=_0x360c99;for(var _0x79f3b2=_0x9327a3>0x1?void 0x0:_0x9327a3?_0x56fae1(_0x56d330,_0x3df714):_0x56d330,_0x512ff5=_0xaf18ce[_0x5a152c(0x1fa)]-0x1,_0x18fb9a;_0x512ff5>=0x0;_0x512ff5--)(_0x18fb9a=_0xaf18ce[_0x512ff5])&&(_0x79f3b2=_0x18fb9a(_0x79f3b2)||_0x79f3b2);return _0x79f3b2;},_0x223292=(_0x59c8fb,_0x388c2a)=>(_0x2867d3,_0x1b4d0)=>_0x388c2a(_0x2867d3,_0x1b4d0,_0x59c8fb);const _0x42a70a=0x1389;let _0x2d56c6=class extends _0x2b709b['RxDisposable']{constructor(_0x28f191,_0xfa7f93,_0x353511,_0x195386){const _0x33584e=_0x360c99;super(),_0x2197b9(this,'_cursors',new Set()),_0x2197b9(this,_0x33584e(0x1d8),null),(this[_0x33584e(0x341)]=_0x28f191,this[_0x33584e(0x13d)]=_0xfa7f93,this['_collabCursorController']=_0x353511,this[_0x33584e(0x2bc)]=_0x195386,this[_0x33584e(0x1e6)]());}['_init'](){const _0x5b14ce=_0x360c99;this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)]['pipe'](_0x2698e1['takeUntil'](this[_0x5b14ce(0x167)]),_0x2698e1[_0x5b14ce(0x21a)](_0x1a07ee=>{const _0x3e956f=_0x5b14ce;if(_0x1a07ee){const _0x1541d9=_0x1a07ee['sheetId'];return _0x3052c2[_0x3e956f(0x1de)](this[_0x3e956f(0x39f)][_0x3e956f(0x149)](this[_0x3e956f(0x341)]['unitId']),this[_0x3e956f(0x2bc)][_0x3e956f(0x2d6)])[_0x3e956f(0x11a)](_0x2698e1[_0x3e956f(0x380)](([_0x687101,_0x1bee54])=>{const _0x1691c5=new Map();return _0x687101['forEach']((_0x17729f,_0x13ce01)=>{const _0x5b81eb=_0x2a3e;if(_0x17729f[_0x5b81eb(0x28e)]===_0x1541d9){const _0x541641={..._0x17729f};_0x541641[_0x5b81eb(0x3b0)]=this[_0x5b81eb(0x2bc)][_0x5b81eb(0x3ab)](_0x17729f[_0x5b81eb(0x3b0)]),_0x1691c5[_0x5b81eb(0x1b3)](_0x13ce01,_0x541641);}}),{'skeleton':_0x1a07ee,'cursors':_0x1691c5};}));}return _0x3052c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5b14ce(0x373)](({skeleton:_0x571bc6,cursors:_0x2c3bb5})=>{const _0x4dd214=_0x5b14ce;this[_0x4dd214(0x280)](),_0x571bc6&&this[_0x4dd214(0x2e4)](_0x571bc6,_0x2c3bb5);}),this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)][_0x5b14ce(0x373)](_0x372abe=>{const _0x59b699=_0x5b14ce;if(_0x372abe==null)return;const {skeleton:_0x4d5771}=_0x372abe,{scene:_0x2be16a}=this[_0x59b699(0x341)];_0x2be16a[_0x59b699(0x16e)][_0x59b699(0x2ca)](_0x2b709b['debounce'](_0xf3ba98=>{const _0x2e0750=_0x59b699;var _0x4d2719,_0x167340;const {offsetX:_0x565438,offsetY:_0x5e60e4}=_0xf3ba98,{x:_0x2dbd9c,y:_0x1bef81}=_0x2be16a['getRelativeToViewportCoord'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x565438,_0x5e60e4])),{scaleX:_0x43d954,scaleY:_0x115041}=_0x2be16a[_0x2e0750(0x2b8)](),_0x1f5fc5=_0x2be16a[_0x2e0750(0x1c4)](_0x45a576[_0x2e0750(0x24a)][_0x2e0750(0x2d2)]),_0x55908e=_0x2be16a['getVpScrollXYInfoByPosToVp'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x2dbd9c,_0x1bef81]),_0x1f5fc5),_0x39df02=_0x4d5771[_0x2e0750(0x11f)](_0x565438,_0x5e60e4,_0x43d954,_0x115041,_0x55908e);((_0x4d2719=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x4d2719[_0x2e0750(0x262)])===_0x39df02[_0x2e0750(0x262)]&&((_0x167340=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x167340[_0x2e0750(0x250)])===_0x39df02[_0x2e0750(0x250)]||this[_0x2e0750(0x3ac)][_0x2e0750(0x2ce)](_0x4cadff=>{_0x4cadff['onMouseMove'](_0x39df02);});},0x64));});}[_0x360c99(0x2e4)](_0xbde488,_0x5bf412){const _0x5012ff=_0x360c99;var _0x3831fd;const _0x4494a6=(_0x3831fd=this[_0x5012ff(0x13d)][_0x5012ff(0x23f)]())==null?void 0x0:_0x3831fd['skeleton'];if(!_0x4494a6)return;const _0x2e7fbd=this[_0x5012ff(0x2be)]();if(!_0x2e7fbd)return;this[_0x5012ff(0x3ac)][_0x5012ff(0x2ce)](_0x32c831=>{const _0x76a71d=_0x5012ff;_0x32c831[_0x76a71d(0x38b)]();});const {scene:_0x13232b}=_0x2e7fbd,_0x5e8412=_0x3d257f(Array[_0x5012ff(0x222)](_0x5bf412['values']()))[_0x5012ff(0x380)](_0x43578b=>{const _0x177d75=_0x5012ff,{color:_0x32e1d9,range:_0x3295e1,name:_0x5c9c4f,selection:_0x59d432,sheetID:_0x498cfd}=_0x43578b,{startColumn:_0x3ec03c,startRow:_0x3e8720,endColumn:_0x227e40,endRow:_0x1f353b}=_0x3295e1,_0x46a5f8=_0x3bd105[_0x177d75(0x257)](_0x3e8720,_0x3ec03c,_0x13232b,_0x4494a6),_0x1e4968=_0x3bd105[_0x177d75(0x257)](_0x1f353b,_0x227e40,_0x13232b,_0x4494a6),{columnHeaderHeightAndMarginTop:_0x4e075d}=_0x4494a6,{startX:_0x58e13b,startY:_0x16d900}=_0x46a5f8,{endX:_0x1654a8,endY:_0x433657}=_0x1e4968,_0x4e62c8=_0x1654a8-_0x58e13b,_0x135f33=_0x433657-_0x16d900,_0x1b922c={'labelPosition':_0x16d900-_0x4e075d>=_0x4469c1?_0x177d75(0x26c):_0x177d75(0x263),'sheetID':_0x498cfd,'range':_0x3295e1,'color':_0x32e1d9,'name':_0x5c9c4f,'selection':_0x59d432,'left':_0x58e13b,'top':_0x16d900,'width':_0x4e62c8,'height':_0x135f33,'evented':!0x1,'zIndex':_0x42a70a};return new _0x34aaa3(_0x5c9c4f,_0x1b922c);});_0x13232b[_0x5012ff(0x2dd)](_0x5e8412,_0x461bd1),this['_cursors']=new Set(_0x5e8412);}['_removeCollabCursors'](){const _0x21937a=_0x360c99;var _0x46a6c3;(_0x46a6c3=this[_0x21937a(0x3ac)])==null||_0x46a6c3[_0x21937a(0x2ce)](_0x1f0c26=>_0x1f0c26[_0x21937a(0x2fe)]());}[_0x360c99(0x2be)](){const _0x4aa374=_0x360c99;return _0x3bd105[_0x4aa374(0x206)](this[_0x4aa374(0x341)][_0x4aa374(0x351)],this[_0x4aa374(0x341)]);}};_0x2d56c6=_0x3d2cbb([_0x223292(0x1,_0x2b709b[_0x360c99(0x14c)](_0x3bd105[_0x360c99(0x291)])),_0x223292(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x223292(0x3,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['ThemeService']))],_0x2d56c6);function _0x3d257f(_0x518c3b){const _0x2c611e=_0x360c99,_0x3844b4=new Map();return _0x518c3b['forEach'](_0xe98517=>{const _0x42ec7c=_0x2a3e;if(_0x3844b4[_0x42ec7c(0x13e)](_0xe98517[_0x42ec7c(0x399)])){const _0x4a6c9f=_0x3844b4[_0x42ec7c(0x2da)](_0xe98517[_0x42ec7c(0x399)]);_0x4a6c9f[_0x42ec7c(0x2ed)]+=',\x20'+_0xe98517[_0x42ec7c(0x2ed)];}else _0x3844b4[_0x42ec7c(0x1b3)](_0xe98517[_0x42ec7c(0x399)],_0xe98517);}),Array['from'](_0x3844b4[_0x2c611e(0x13a)]());}var _0x484d8a=Object[_0x360c99(0x397)],_0x22f0fc=(_0x2c64fb,_0x4e9d43,_0x33bc6d,_0x2d2277)=>{for(var _0x21a8ba=_0x2d2277>0x1?void 0x0:_0x2d2277?_0x484d8a(_0x4e9d43,_0x33bc6d):_0x4e9d43,_0x3262e7=_0x2c64fb['length']-0x1,_0x2cf08a;_0x3262e7>=0x0;_0x3262e7--)(_0x2cf08a=_0x2c64fb[_0x3262e7])&&(_0x21a8ba=_0x2cf08a(_0x21a8ba)||_0x21a8ba);return _0x21a8ba;},_0xa7a49a=(_0x6a753,_0x3fa759)=>(_0x4e2964,_0x245d70)=>_0x3fa759(_0x4e2964,_0x245d70,_0x6a753);let _0x329f6a=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x291de7,_0x16f00c,_0xbf866c,_0x2c016c,_0x2a56bc,_0x27e85c){const _0x434022=_0x360c99;super(),this[_0x434022(0x125)]=_0x291de7,this['_localCacheService']=_0x16f00c,this['_collaborationUIEventService']=_0xbf866c,this[_0x434022(0x28d)]=_0x2c016c,this[_0x434022(0x145)]=_0x2a56bc,this[_0x434022(0x2e5)]=_0x27e85c,this[_0x434022(0x29b)](),this[_0x434022(0x364)]();}[_0x360c99(0x29b)](){const _0x47eb1f=_0x360c99;this[_0x47eb1f(0x252)](this[_0x47eb1f(0x125)][_0x47eb1f(0x151)](()=>{const _0xda212a=_0x47eb1f;if(this[_0xda212a(0x33a)]['saveTaskMap'][_0xda212a(0x248)])return this[_0xda212a(0x2e5)]['t'](_0xda212a(0x319));}));}[_0x360c99(0x364)](){const _0x373090=_0x360c99;this['disposeWithMe'](this['_collaborationUIEventService'][_0x373090(0x2b3)]['subscribe'](_0x85c9ae=>{const _0x30e2da=_0x373090;_0x85c9ae['id']===_0x33f364['CollaborationUIEventId'][_0x30e2da(0x3b1)]&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x85c9ae['id']===_0x33f364['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x2dc))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x3b4)]&&this['_notificationService'][_0x30e2da(0x27a)]({'title':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x245)),'content':this['_localeService']['t'](_0x30e2da(0x32e)),'type':'error','duration':0x0}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x17f)]&&this['_messageService'][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t']('collaboration.closeRoom')+'('+_0x85c9ae['data']+')'}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x161)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53['MessageType'][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x85c9ae['data']||'')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x2f4)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Warning'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x123))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SOCKET_FAILED']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1f4)],'content':this['_localeService']['t']('session.connection-failed')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x26b))});}));}};_0x329f6a=_0x22f0fc([_0xa7a49a(0x0,_0x24d176[_0x360c99(0x321)]),_0xa7a49a(0x1,_0x33f364['ILocalCacheService']),_0xa7a49a(0x2,_0x2b709b[_0x360c99(0x14c)](_0x33f364['CollaborationUIEventService'])),_0xa7a49a(0x3,_0x24d176[_0x360c99(0x1a2)]),_0xa7a49a(0x4,_0x24d176[_0x360c99(0x19c)]),_0xa7a49a(0x5,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x2e3)]))],_0x329f6a);const _0x1823a5='collaboration-client-ui.config',_0xa0e94={};var _0x29fc8d=Object[_0x360c99(0x397)],_0x13792e=(_0x379901,_0x5a614b,_0x3e7273,_0x1ea6a6)=>{const _0x540022=_0x360c99;for(var _0x1cf5f9=_0x1ea6a6>0x1?void 0x0:_0x1ea6a6?_0x29fc8d(_0x5a614b,_0x3e7273):_0x5a614b,_0x2417fc=_0x379901[_0x540022(0x1fa)]-0x1,_0x576259;_0x2417fc>=0x0;_0x2417fc--)(_0x576259=_0x379901[_0x2417fc])&&(_0x1cf5f9=_0x576259(_0x1cf5f9)||_0x1cf5f9);return _0x1cf5f9;},_0x5394cd=(_0x17004c,_0x2aa365)=>(_0x220322,_0x214f67)=>_0x2aa365(_0x220322,_0x214f67,_0x17004c);let _0x23f606=class{constructor(_0x449d4b,_0x94cfa0){const _0x234ac8=_0x360c99;this[_0x234ac8(0x2cd)]=_0x449d4b,this[_0x234ac8(0x171)]=_0x94cfa0;}['transformIMECache'](_0x698dd5){const _0x528ade=_0x360c99;this[_0x528ade(0x2df)](_0x698dd5),this['_transformPreviousActiveRange'](_0x698dd5);}[_0x360c99(0x301)](_0x345cba){const _0x10fb25=_0x360c99,{unitID:_0x3f4cb2}=_0x345cba,_0xd34273=this[_0x10fb25(0x171)]['getRenderById'](_0x3f4cb2)[_0x10fb25(0x29d)](_0x5e00f9[_0x10fb25(0x1ab)]),{redoCache:_0x2628ad}=_0xd34273['getUndoRedoMutationParamsCache']();if(_0x2628ad['length']===0x0)return _0x345cba;let _0x24ebb9=_0x2b709b[_0x10fb25(0x17b)][_0x10fb25(0x220)](_0x345cba[_0x10fb25(0x12f)][0x0]);for(let _0x24b5b9=0x0;_0x24b5b9<_0x2628ad[_0x10fb25(0x1fa)];_0x24b5b9++){const _0x2d40de={'id':'doc.mutation.rich-text-editing','params':{..._0x2628ad[_0x24b5b9]}},_0x2917f0=this[_0x10fb25(0x2cd)][_0x10fb25(0x208)](_0x24ebb9,_0x2d40de,!0x1);if(_0x13c520[_0x10fb25(0x328)](_0x2917f0))throw _0x2917f0[_0x10fb25(0x2a9)];_0x24ebb9=_0x2917f0['m1Prime'];}return{..._0x2b709b['Tools'][_0x10fb25(0x220)](_0x345cba),'mutations':[_0x24ebb9]};}[_0x360c99(0x2df)](_0x4d6108){const _0x115ed2=_0x360c99,{unitID:_0x3b60d6}=_0x4d6108,_0x365bb2=this[_0x115ed2(0x171)][_0x115ed2(0x1fd)](_0x3b60d6)[_0x115ed2(0x29d)](_0x5e00f9[_0x115ed2(0x1ab)]),{undoCache:_0x5b0552,redoCache:_0x316c16}=_0x365bb2[_0x115ed2(0x14f)]();if(_0x5b0552[_0x115ed2(0x1fa)]===0x0||_0x316c16[_0x115ed2(0x1fa)]===0x0)return;const _0x1022ce=[],_0x4298de=[];let _0xa3c121=_0x2b709b['Tools'][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]),_0x3d171c=_0x2b709b[_0x115ed2(0x17b)][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]);for(let _0x4369fa=_0x5b0552['length']-0x1;_0x4369fa>=0x0;_0x4369fa--){const _0x1e87b8={'id':'doc.mutation.rich-text-editing','params':{..._0x5b0552[_0x4369fa]}},_0xfcc7e={'id':_0x115ed2(0x2de),'params':{..._0x316c16[_0x4369fa]}},_0x118bb8=this[_0x115ed2(0x2cd)]['transformMutation'](_0xa3c121,_0x1e87b8,!0x1),_0x411f7f=this[_0x115ed2(0x2cd)][_0x115ed2(0x208)](_0x3d171c,_0xfcc7e,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x118bb8))throw _0x118bb8[_0x115ed2(0x2a9)];if(_0x13c520[_0x115ed2(0x328)](_0x411f7f))throw _0x411f7f[_0x115ed2(0x2a9)];_0x1022ce[_0x115ed2(0x239)](_0x118bb8['m2Prime'][_0x115ed2(0x2a8)]),_0x4298de[_0x115ed2(0x239)](_0x411f7f[_0x115ed2(0x329)][_0x115ed2(0x2a8)]),_0xa3c121=_0x118bb8[_0x115ed2(0x368)],_0x3d171c=_0x411f7f[_0x115ed2(0x368)];}_0x365bb2[_0x115ed2(0x18e)]({'undoCache':_0x1022ce,'redoCache':_0x4298de});}[_0x360c99(0x354)](_0x3aa278){const _0x2166b7=_0x360c99,{unitID:_0x277c50}=_0x3aa278,_0x42e7e9=this[_0x2166b7(0x171)]['getRenderById'](_0x277c50)[_0x2166b7(0x29d)](_0x5e00f9[_0x2166b7(0x1ab)]),_0x3ad05a=_0x42e7e9[_0x2166b7(0x1e9)]();if(_0x3ad05a==null)return;const _0x25e5dc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aa278['unitID'],'actions':null,'textRanges':[_0x3ad05a]}}],_0x3059ec=this[_0x2166b7(0x2cd)][_0x2166b7(0x1e4)](_0x3aa278,_0x25e5dc);if(!_0x13c520[_0x2166b7(0x12d)](_0x3059ec))throw _0x3059ec[_0x2166b7(0x2a9)];const _0xeb809d=_0x3059ec[_0x2166b7(0x329)][0x0][_0x2166b7(0x2a8)][_0x2166b7(0x28b)];Array['isArray'](_0xeb809d)&&_0xeb809d[_0x2166b7(0x1fa)]&&_0x42e7e9[_0x2166b7(0x2f1)](_0xeb809d[0x0]);}};_0x23f606=_0x13792e([_0x5394cd(0x0,_0x13c520[_0x360c99(0x249)]),_0x5394cd(0x1,_0x45a576[_0x360c99(0x2ef)])],_0x23f606);var _0xbe5847=Object[_0x360c99(0x397)],_0x31110b=(_0x339738,_0x5e1ba4,_0x31519b,_0x45ff3c)=>{const _0x287d06=_0x360c99;for(var _0x1a12be=_0x45ff3c>0x1?void 0x0:_0x45ff3c?_0xbe5847(_0x5e1ba4,_0x31519b):_0x5e1ba4,_0x227c3e=_0x339738[_0x287d06(0x1fa)]-0x1,_0x175eca;_0x227c3e>=0x0;_0x227c3e--)(_0x175eca=_0x339738[_0x227c3e])&&(_0x1a12be=_0x175eca(_0x1a12be)||_0x1a12be);return _0x1a12be;},_0x626e10=(_0x29a056,_0x5543ae)=>(_0x372994,_0x205572)=>_0x5543ae(_0x372994,_0x205572,_0x29a056);let _0x18c4d9=class{constructor(_0x356ea2,_0x413812,_0x23337d){const _0x3bcfc1=_0x360c99;this[_0x3bcfc1(0x36d)]=_0x356ea2,this['_transformService']=_0x413812,this['_docStateChangeManagerService']=_0x23337d;}['transformStateCache'](_0x52ccd9){const _0x39602b=_0x360c99;this[_0x39602b(0x1d9)](_0x52ccd9);}[_0x360c99(0x301)](_0x9ebbfc){const _0x3d0f98=_0x360c99,{unitID:_0x246c03}=_0x9ebbfc,{collaboration:_0x304f4a}=this['_docStateChangeManagerService'][_0x3d0f98(0x188)](_0x246c03);if(_0x304f4a[_0x3d0f98(0x1fa)]===0x0)return _0x9ebbfc;let _0x3e624d=_0x2b709b[_0x3d0f98(0x17b)][_0x3d0f98(0x220)](_0x9ebbfc['mutations'][0x0]);for(let _0x5862a8=0x0;_0x5862a8<_0x304f4a[_0x3d0f98(0x1fa)];_0x5862a8++){const _0x2dc01f={'id':_0x3d0f98(0x2de),'params':{'unitId':_0x304f4a[_0x5862a8]['unitId'],..._0x304f4a[_0x5862a8][_0x3d0f98(0x204)]}},_0x20de2e=this[_0x3d0f98(0x2cd)]['transformMutation'](_0x3e624d,_0x2dc01f,!0x1);if(_0x13c520[_0x3d0f98(0x328)](_0x20de2e))throw _0x20de2e[_0x3d0f98(0x2a9)];_0x3e624d=_0x20de2e[_0x3d0f98(0x368)];}return{..._0x2b709b[_0x3d0f98(0x17b)]['deepClone'](_0x9ebbfc),'mutations':[_0x3e624d]};}[_0x360c99(0x1d9)](_0x362a0c){const _0x75aa81=_0x360c99,{unitID:_0x5e19ac}=_0x362a0c,{history:_0x37ca8f,collaboration:_0x5d97af}=this[_0x75aa81(0x2d3)][_0x75aa81(0x188)](_0x5e19ac);if(_0x37ca8f[_0x75aa81(0x1fa)]===0x0&&_0x5d97af['length']===0x0)return;const _0x5a430a=[],_0x285639=[];let _0x1a6c86=_0x2b709b['Tools'][_0x75aa81(0x220)](_0x362a0c['mutations'][0x0]),_0x4057df=_0x2b709b['Tools']['deepClone'](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x51c2bb=_0x37ca8f[_0x75aa81(0x1fa)]-0x1;_0x51c2bb>=0x0;_0x51c2bb--){const _0x1aa721={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['undoState']}},_0x3a00a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['redoState']}},_0x1352b0=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x1aa721,!0x1),_0x18311e=this['_transformService'][_0x75aa81(0x208)](_0x4057df,_0x3a00a3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x1352b0))throw _0x1352b0[_0x75aa81(0x2a9)];if(_0x13c520['isTransformMutationFailure'](_0x18311e))throw _0x18311e[_0x75aa81(0x2a9)];_0x5a430a[_0x75aa81(0x239)]({..._0x37ca8f[_0x51c2bb],'undoState':_0x1352b0['m2Prime']['params'],'redoState':_0x18311e[_0x75aa81(0x329)][_0x75aa81(0x2a8)]}),_0x1a6c86=_0x1352b0[_0x75aa81(0x368)],_0x4057df=_0x18311e[_0x75aa81(0x368)];}_0x1a6c86=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]),_0x4057df=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x4ed414=_0x5d97af['length']-0x1;_0x4ed414>=0x0;_0x4ed414--){const _0x441fe0={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x378)]}},_0x4e1b28={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x204)]}},_0x36f43d=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x441fe0,!0x1),_0x55bd4f=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x4057df,_0x4e1b28,!0x1);if(_0x13c520[_0x75aa81(0x328)](_0x36f43d))throw _0x36f43d[_0x75aa81(0x2a9)];if(_0x13c520[_0x75aa81(0x328)](_0x55bd4f))throw _0x55bd4f['error'];_0x285639[_0x75aa81(0x239)]({..._0x5d97af[_0x4ed414],'undoState':_0x36f43d[_0x75aa81(0x329)][_0x75aa81(0x2a8)],'redoState':_0x55bd4f['m2Prime']['params']}),_0x1a6c86=_0x36f43d[_0x75aa81(0x368)],_0x4057df=_0x55bd4f['m1Prime'];}this['_docStateChangeManagerService'][_0x75aa81(0x395)](_0x5e19ac,{'history':_0x5a430a,'collaboration':_0x285639});}};_0x18c4d9=_0x31110b([_0x626e10(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x626e10(0x1,_0x13c520[_0x360c99(0x249)]),_0x626e10(0x2,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)]))],_0x18c4d9);var _0x5c5f39=Object[_0x360c99(0x397)],_0x321e62=(_0x32d28b,_0x4aa576,_0x16cf65,_0x2531ca)=>{const _0x4fb930=_0x360c99;for(var _0x367693=_0x2531ca>0x1?void 0x0:_0x2531ca?_0x5c5f39(_0x4aa576,_0x16cf65):_0x4aa576,_0x18a000=_0x32d28b[_0x4fb930(0x1fa)]-0x1,_0x87854f;_0x18a000>=0x0;_0x18a000--)(_0x87854f=_0x32d28b[_0x18a000])&&(_0x367693=_0x87854f(_0x367693)||_0x367693);return _0x367693;},_0x36436d=(_0x35d8c0,_0x943e46)=>(_0x348241,_0x25238f)=>_0x943e46(_0x348241,_0x25238f,_0x35d8c0);let _0x227b61=class{constructor(_0x623037,_0xeb5533){const _0x2f0e0b=_0x360c99;this[_0x2f0e0b(0x36d)]=_0x623037,this[_0x2f0e0b(0x2cd)]=_0xeb5533;}['transformSelections'](_0xdd80b9){const _0x454904=_0x360c99;var _0xd58d99;const _0x2d32b6=this[_0x454904(0x36d)][_0x454904(0x2da)](_0x136824['DocSelectionManagerService']),_0x1dd62f=(_0xd58d99=_0x2d32b6[_0x454904(0x316)]())!=null?_0xd58d99:[];if(_0x1dd62f['length']===0x0)return;const _0x1e62d8=_0xdd80b9[_0x454904(0x1f7)],_0x23f254=[{'id':_0x454904(0x2de),'params':{'unitId':_0x1e62d8,'actions':null,'textRanges':_0x1dd62f}}],_0x375b30=this['_transformService'][_0x454904(0x1e4)](_0xdd80b9,_0x23f254);if(!_0x13c520['isTransformMutationsWithChangesetSuccess'](_0x375b30))throw _0x375b30[_0x454904(0x2a9)];const _0xc8743b=_0x375b30[_0x454904(0x329)][0x0][_0x454904(0x2a8)][_0x454904(0x28b)];Array[_0x454904(0x2c0)](_0xc8743b)&&_0xc8743b[_0x454904(0x1fa)]&&_0x2d32b6[_0x454904(0x212)](_0xc8743b,{'unitId':_0x1e62d8,'subUnitId':_0x1e62d8},!0x1);}};_0x227b61=_0x321e62([_0x36436d(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x36436d(0x1,_0x13c520[_0x360c99(0x249)])],_0x227b61);var _0x310906=Object[_0x360c99(0x397)],_0x31e9d7=(_0x36e7a9,_0x246322,_0x5b86f0,_0x1df03e)=>{for(var _0x1fff92=_0x1df03e>0x1?void 0x0:_0x1df03e?_0x310906(_0x246322,_0x5b86f0):_0x246322,_0x4d03b9=_0x36e7a9['length']-0x1,_0x481a3c;_0x4d03b9>=0x0;_0x4d03b9--)(_0x481a3c=_0x36e7a9[_0x4d03b9])&&(_0x1fff92=_0x481a3c(_0x1fff92)||_0x1fff92);return _0x1fff92;},_0x21f869=(_0x5c3847,_0x41a069)=>(_0x25ad56,_0x5348fe)=>_0x41a069(_0x25ad56,_0x5348fe,_0x5c3847);let _0x4b66e1=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x138708,_0x1634f,_0x5e06e5,_0x5936f3,_0x5486bf,_0x92f030,_0x4bb19d,_0x5f2513){const _0x5b4905=_0x360c99;super(),_0x2197b9(this,_0x5b4905(0x39d),new _0x3052c2[(_0x5b4905(0x1af))](_0x33f364[_0x5b4905(0x1e7)][_0x5b4905(0x2a6)])),(this[_0x5b4905(0x2d3)]=_0x138708,this['_collaborationController']=_0x1634f,this[_0x5b4905(0x16a)]=_0x5e06e5,this[_0x5b4905(0x1df)]=_0x5936f3,this[_0x5b4905(0x1e5)]=_0x5486bf,this[_0x5b4905(0x1be)]=_0x92f030,this[_0x5b4905(0x28d)]=_0x4bb19d,this[_0x5b4905(0x2e5)]=_0x5f2513,this[_0x5b4905(0x1f9)]());}[_0x360c99(0x1f9)](){const _0x56a118=_0x360c99;this['disposeWithMe'](this[_0x56a118(0x2e9)][_0x56a118(0x33b)]['subscribe'](_0xdeb76e=>{const _0x38e76a=_0x56a118,_0x5aab5d=this[_0x38e76a(0x2d3)][_0x38e76a(0x2a7)][_0x38e76a(0x373)](_0x46427d=>{const _0x298479=_0x38e76a;if(_0x46427d==null)return;const {unitId:_0x26a372,redoState:_0x3b205c,commandId:_0x5061a5}=_0x46427d;if(_0x26a372!==_0xdeb76e[_0x298479(0x1f7)])return;const _0x2ef414={'id':_0x5061a5,'type':_0x2b709b[_0x298479(0x357)][_0x298479(0x1ee)],'params':{'unitId':_0x26a372,'actions':_0x3b205c['actions'],'textRanges':null}};_0xdeb76e[_0x298479(0x12a)](_0x2ef414);});if(_0xdeb76e[_0x38e76a(0x252)](_0x5aab5d),_0xdeb76e instanceof _0x33f364[_0x38e76a(0x1d5)]){const _0xbd547c={'onTransformIME':_0x588850=>this[_0x38e76a(0x16a)]['transformIMECache'](_0x588850),'onTransformState':_0x25bb06=>this[_0x38e76a(0x1df)][_0x38e76a(0x16b)](_0x25bb06),'onTransformSelections':_0x47dbc9=>this[_0x38e76a(0x1e5)][_0x38e76a(0x207)](_0x47dbc9),'onSyncEditingCollabCursor':_0xb30d9c=>this[_0x38e76a(0x1be)][_0x38e76a(0x205)](_0xb30d9c),'onTransformRemoteChangesetByIMECache':_0x4a685d=>this[_0x38e76a(0x16a)]['transformRemoteChangeset'](_0x4a685d),'onTransformRemoteChangesetByStateCache':_0x1c7628=>this[_0x38e76a(0x1df)][_0x38e76a(0x301)](_0x1c7628)};_0xdeb76e[_0x38e76a(0x3af)](_0xbd547c);}}));}};_0x4b66e1=_0x31e9d7([_0x21f869(0x0,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)])),_0x21f869(0x1,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x306)])),_0x21f869(0x2,_0x2b709b[_0x360c99(0x14c)](_0x23f606)),_0x21f869(0x3,_0x2b709b[_0x360c99(0x14c)](_0x18c4d9)),_0x21f869(0x4,_0x2b709b[_0x360c99(0x14c)](_0x227b61)),_0x21f869(0x5,_0x2b709b['Inject'](_0x314824)),_0x21f869(0x6,_0x24d176[_0x360c99(0x1a2)]),_0x21f869(0x7,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['LocaleService']))],_0x4b66e1);var _0x54c5c1=Object[_0x360c99(0x397)],_0x47f40b=(_0x26e281,_0x321390,_0x5d4c7d,_0x1d342b)=>{const _0x33de2c=_0x360c99;for(var _0x101c96=_0x1d342b>0x1?void 0x0:_0x1d342b?_0x54c5c1(_0x321390,_0x5d4c7d):_0x321390,_0x4c7fff=_0x26e281[_0x33de2c(0x1fa)]-0x1,_0x4113dd;_0x4c7fff>=0x0;_0x4c7fff--)(_0x4113dd=_0x26e281[_0x4c7fff])&&(_0x101c96=_0x4113dd(_0x101c96)||_0x101c96);return _0x101c96;},_0x475cca=(_0x2a6072,_0xde7d62)=>(_0x5c0aed,_0x45f43f)=>_0xde7d62(_0x5c0aed,_0x45f43f,_0x2a6072);let _0x19ee49=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x161092,_0xc3bbb9,_0x146687){const _0x1ccf1b=_0x360c99;super(),_0x2197b9(this,_0x1ccf1b(0x2f9),new Map()),_0x2197b9(this,_0x1ccf1b(0x298),new Map()),_0x2197b9(this,'_disabled',!0x1),(this[_0x1ccf1b(0x31b)]=_0x161092,this[_0x1ccf1b(0x37c)]=_0xc3bbb9,this['_revisionService']=_0x146687);}[_0x360c99(0x194)](){const _0x5d3cde=_0x360c99;this[_0x5d3cde(0x200)]=!0x0;}[_0x360c99(0x12e)](){const _0x3bad5e=_0x360c99;this[_0x3bad5e(0x200)]=!0x1;}get[_0x360c99(0x259)](){const _0x3d2b6d=_0x360c99;return this[_0x3d2b6d(0x298)];}[_0x360c99(0x2fe)](){const _0x5ea35c=_0x360c99;this[_0x5ea35c(0x33e)]()[_0x5ea35c(0x30d)](()=>super[_0x5ea35c(0x2fe)]());}async[_0x360c99(0x36b)](_0x137747){const _0xe12e=_0x360c99;return this[_0xe12e(0x200)]?null:this[_0xe12e(0x37c)][_0xe12e(0x3a6)](_0x33f364['getLocalCacheKey'](_0x137747));}async[_0x360c99(0x147)](_0x359f4b,_0x2c777e){return!!this['_localStorageService']['setItem'](_0x359f4b,_0x2c777e);}[_0x360c99(0x2f5)](_0x55724c,_0x2d05d2,_0x2db989,_0x3ec2a2){const _0x58d6b8=_0x360c99,_0x419913=this[_0x58d6b8(0x38f)][_0x58d6b8(0x2fd)](_0x55724c);this[_0x58d6b8(0x2f9)][_0x58d6b8(0x1b3)](_0x55724c,{'unitID':_0x55724c,'type':_0x2d05d2,'awaitingChangeset':_0x2db989,'mutations':_0x3ec2a2,'rev':_0x419913}),this[_0x58d6b8(0x298)][_0x58d6b8(0x13e)](_0x55724c)||this['_scheduleSaving'](_0x55724c);}[_0x360c99(0x2a3)](_0x5da7d0){const _0x1f1263=_0x360c99,_0x450d31=this['_getSaveTimeout']();_0x450d31===0x0?this['_saveCache'](_0x5da7d0):this[_0x1f1263(0x298)][_0x1f1263(0x1b3)](_0x5da7d0,setTimeout(()=>this[_0x1f1263(0x376)](_0x5da7d0),_0x450d31));}[_0x360c99(0x119)](){const _0x20f94e=_0x360c99;var _0x14386c;return(_0x14386c=this[_0x20f94e(0x31b)]['getConfig'](_0x33f364[_0x20f94e(0x184)]))!=null?_0x14386c:_0x33f364[_0x20f94e(0x2c6)];}[_0x360c99(0x376)](_0x2a3a32){const _0x335a50=_0x360c99,_0x91c9d0=this['_saveTaskMap'][_0x335a50(0x2da)](_0x2a3a32);return _0x91c9d0!==void 0x0&&window['clearTimeout'](_0x91c9d0),this[_0x335a50(0x37c)]['setItem'](_0x33f364[_0x335a50(0x323)](_0x2a3a32),this[_0x335a50(0x2f9)]['get'](_0x2a3a32))[_0x335a50(0x30d)](()=>this[_0x335a50(0x298)]['delete'](_0x2a3a32));}async[_0x360c99(0x33e)](){const _0x4cbe81=_0x360c99,_0x3a2668=[];this[_0x4cbe81(0x298)][_0x4cbe81(0x2ce)]((_0x286266,_0x28bb47)=>{const _0x228485=_0x4cbe81;window['clearTimeout'](_0x286266),_0x3a2668[_0x228485(0x36e)](this['_saveCache'](_0x28bb47)['then'](()=>{const _0x1cc396=_0x228485;this[_0x1cc396(0x298)][_0x1cc396(0x143)](_0x28bb47);}));}),await Promise[_0x4cbe81(0x233)](_0x3a2668);}};_0x19ee49=_0x47f40b([_0x475cca(0x0,_0x2b709b['IConfigService']),_0x475cca(0x1,_0x2b709b[_0x360c99(0x284)]),_0x475cca(0x2,_0x2b709b[_0x360c99(0x14c)](_0x13c520['RevisionService']))],_0x19ee49);class _0x561609 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x2214ea=_0x360c99;super(),_0x2197b9(this,_0x2214ea(0x359)),this[_0x2214ea(0x359)]=_0x3052c2[_0x2214ea(0x235)](window,_0x2214ea(0x2c4))[_0x2214ea(0x11a)](_0x3052c2['takeUntil'](this[_0x2214ea(0x167)]),_0x3052c2[_0x2214ea(0x337)](0x1),_0x3052c2['mapTo'](void 0x0));}[_0x360c99(0x211)](_0x1d05ff,_0x4a7732,_0x18ee5d=!0x1){const _0x4df89d=_0x360c99,_0x282db1=new URL(window[_0x4df89d(0x336)][_0x4df89d(0x3a7)]);_0x282db1[_0x4df89d(0x360)]['set'](_0x1d05ff,_0x4a7732),_0x18ee5d?window['history'][_0x4df89d(0x283)]('','',_0x282db1['toString']()):window[_0x4df89d(0x294)][_0x4df89d(0x346)]('','',_0x282db1['toString']());}[_0x360c99(0x265)](_0x15509a,_0x3d5964=!0x1){const _0x585507=_0x360c99,_0x4025ec=new URL(window[_0x585507(0x336)]['href']);_0x4025ec[_0x585507(0x360)]['delete'](_0x15509a),_0x3d5964?window[_0x585507(0x294)]['replaceState']('','',_0x4025ec[_0x585507(0x2ae)]()):window['history']['pushState']('','',_0x4025ec[_0x585507(0x2ae)]());}[_0x360c99(0x11e)](_0x234bdf){const _0x31c3fa=_0x360c99;var _0x2189c7;return(_0x2189c7=new URL(window[_0x31c3fa(0x336)][_0x31c3fa(0x3a7)])[_0x31c3fa(0x360)][_0x31c3fa(0x2da)](_0x234bdf))!=null?_0x2189c7:void 0x0;}}var _0x90164e=Object[_0x360c99(0x214)],_0x300722=Object['getOwnPropertyDescriptor'],_0xfdc988=(_0x2673e8,_0x41a1f4,_0x3d98c4)=>_0x41a1f4 in _0x2673e8?_0x90164e(_0x2673e8,_0x41a1f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d98c4}):_0x2673e8[_0x41a1f4]=_0x3d98c4,_0x14dc58=(_0x415e4a,_0x326a51,_0x238dc8,_0x234430)=>{const _0x5affaf=_0x360c99;for(var _0x4dd5e7=_0x234430>0x1?void 0x0:_0x234430?_0x300722(_0x326a51,_0x238dc8):_0x326a51,_0x336d81=_0x415e4a[_0x5affaf(0x1fa)]-0x1,_0x19a24e;_0x336d81>=0x0;_0x336d81--)(_0x19a24e=_0x415e4a[_0x336d81])&&(_0x4dd5e7=_0x19a24e(_0x4dd5e7)||_0x4dd5e7);return _0x4dd5e7;},_0x3d70f1=(_0x106f92,_0xe642e4)=>(_0x490bc4,_0x47b493)=>_0xe642e4(_0x490bc4,_0x47b493,_0x106f92),_0x56e1bb=(_0xf0faba,_0x3e9fae,_0x3e9412)=>_0xfdc988(_0xf0faba,_0x3e9fae+'',_0x3e9412);const _0x4621c3=_0x360c99(0x120);_0x2fd8ae[_0x360c99(0x187)]=class extends _0x2b709b['Plugin']{constructor(_0x1bcc98=_0xa0e94,_0x53eca4,_0x1c165b,_0x208f45){const _0x4a6649=_0x360c99;super(),this[_0x4a6649(0x1b4)]=_0x1bcc98,this['_renderManagerService']=_0x53eca4,this[_0x4a6649(0x36d)]=_0x1c165b,this['_configService']=_0x208f45;const {..._0x1af4bf}=_0x2b709b[_0x4a6649(0x2c7)]({},_0xa0e94,this[_0x4a6649(0x1b4)]);this['_configService'][_0x4a6649(0x383)](_0x1823a5,_0x1af4bf);}['onStarting'](){const _0x337257=_0x360c99;this[_0x337257(0x37a)](),this[_0x337257(0x1d6)]();}[_0x360c99(0x347)](){const _0x937a60=_0x360c99;this[_0x937a60(0x144)]();}[_0x360c99(0x37a)](){const _0x144833=_0x360c99;var _0x565754;const _0x28be79=[[_0xe4ed4e],[_0x227b61],[_0x23f606],[_0x18c4d9],[_0x314824],[_0x52e083,{'useClass':_0x561609}],[_0x3092c3[_0x144833(0x3aa)],{'useClass':_0x3092c3[_0x144833(0x11b)]}],[_0x33f364[_0x144833(0x285)],{'useClass':_0x19ee49}],[_0x2fd8ae[_0x144833(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x29df5e],[_0xe9be34],[_0x2fd8ae[_0x144833(0x264)]]];_0x2b709b[_0x144833(0x28a)](this[_0x144833(0x36d)],_0x2b709b['mergeOverrideWithDependencies'](_0x28be79,(_0x565754=this[_0x144833(0x1b4)])==null?void 0x0:_0x565754['override']));}[_0x360c99(0x144)](){const _0x3d7bf0=_0x360c99;this[_0x3d7bf0(0x252)](this['_renderManagerService'][_0x3d7bf0(0x288)](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x331)],[_0x4f058a])),this['disposeWithMe'](this[_0x3d7bf0(0x171)]['registerRenderModule'](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x24b)],[_0x2d56c6]));}['_initDependencies'](){const _0x3a344f=_0x360c99;_0x2b709b[_0x3a344f(0x25b)](this[_0x3a344f(0x36d)],[[_0x29df5e],[_0x2fd8ae[_0x3a344f(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x2fd8ae[_0x3a344f(0x264)]]]);}},_0x56e1bb(_0x2fd8ae[_0x360c99(0x187)],_0x360c99(0x34c),_0x4621c3),_0x2fd8ae[_0x360c99(0x187)]=_0x14dc58([_0x2b709b[_0x360c99(0x254)](_0x33f364[_0x360c99(0x23b)]),_0x3d70f1(0x1,_0x45a576[_0x360c99(0x2ef)]),_0x3d70f1(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x3d70f1(0x3,_0x2b709b[_0x360c99(0x324)])],_0x2fd8ae['UniverCollaborationClientUIPlugin']);var _0x2874b6=Object[_0x360c99(0x397)],_0x179e49=(_0x3f1fc4,_0x5859d6,_0x4f9540,_0x33a89a)=>{const _0x31f4ac=_0x360c99;for(var _0x1fd314=_0x33a89a>0x1?void 0x0:_0x33a89a?_0x2874b6(_0x5859d6,_0x4f9540):_0x5859d6,_0x393ee4=_0x3f1fc4[_0x31f4ac(0x1fa)]-0x1,_0x3108eb;_0x393ee4>=0x0;_0x393ee4--)(_0x3108eb=_0x3f1fc4[_0x393ee4])&&(_0x1fd314=_0x3108eb(_0x1fd314)||_0x1fd314);return _0x1fd314;},_0x35f562=(_0x4c5c58,_0xe55aaa)=>(_0x481a1d,_0x46477f)=>_0xe55aaa(_0x481a1d,_0x46477f,_0x4c5c58);_0x2fd8ae[_0x360c99(0x202)]=class extends _0x33f364[_0x360c99(0x19f)]{constructor(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2){super(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2);}async[_0x360c99(0x155)](_0x22afc2){const _0xc0d3e=_0x360c99,_0x51de8e=await this['_getSessionTicket'](),_0x5d19d1=this['_createSocketURL'](_0x22afc2,_0x51de8e);return this[_0xc0d3e(0x390)](_0x5d19d1);}['_createSocketURL'](_0x38e617,_0xa8a8ef){const _0xcc9cae=_0x360c99,_0xe70904=typeof window>'u'?new URL(_0x38e617):new URL(_0x38e617,window[_0xcc9cae(0x336)][_0xcc9cae(0x2fb)]);_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)](_0xcc9cae(0x241),_0xa8a8ef);const _0x1346fe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcc9cae(0x336)]['search']);return _0x1346fe['get'](_0xcc9cae(0x20e))&&_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)]('runId',_0x1346fe['get']('runId')),_0xe70904[_0xcc9cae(0x2ae)]();}async[_0x360c99(0x25d)](){const _0x4283f8=_0x360c99;var _0x17c2eb,_0x4e71e5,_0x3dc6b8;const _0xfc9b2b=this[_0x4283f8(0x31b)][_0x4283f8(0x37f)](_0x33f364[_0x4283f8(0x20f)]),_0x4ca407=(_0x17c2eb=_0xfc9b2b==null?void 0x0:_0xfc9b2b[_0x4283f8(0x2f0)])!=null?_0x17c2eb:_0x33f364[_0x4283f8(0x146)];return(_0x3dc6b8=(_0x4e71e5=(await this[_0x4283f8(0x3a4)][_0x4283f8(0x2da)](_0x4ca407,{'headers':{'Content-Type':'application/json'}}))[_0x4283f8(0x12b)])==null?void 0x0:_0x4e71e5[_0x4283f8(0x24d)])!=null?_0x3dc6b8:'';}},_0x2fd8ae[_0x360c99(0x202)]=_0x179e49([_0x35f562(0x0,_0x2b709b['Inject'](_0x2b709b[_0x360c99(0x1ef)])),_0x35f562(0x1,_0x2b709b['Inject'](_0x3092c3['HTTPService'])),_0x35f562(0x2,_0x2b709b[_0x360c99(0x324)]),_0x35f562(0x3,_0x2b709b['ILogService']),_0x35f562(0x4,_0x13c520[_0x360c99(0x2b4)])],_0x2fd8ae['BrowserCollaborationSocketService']);var _0x356f7a=(_0x1e12b3=>(_0x1e12b3[_0x1e12b3['UNDEFINED']=0x0]=_0x360c99(0x258),_0x1e12b3[_0x1e12b3['OK']=0x1]='OK',_0x1e12b3[_0x1e12b3[_0x360c99(0x256)]=0x2]=_0x360c99(0x256),_0x1e12b3[_0x1e12b3[_0x360c99(0x3b4)]=0x3]=_0x360c99(0x3b4),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a0)]=0x4]=_0x360c99(0x1a0),_0x1e12b3[_0x1e12b3[_0x360c99(0x1dc)]=0x5]=_0x360c99(0x1dc),_0x1e12b3[_0x1e12b3['ALREADY_EXISTS']=0x6]=_0x360c99(0x15c),_0x1e12b3[_0x1e12b3[_0x360c99(0x385)]=0x7]=_0x360c99(0x385),_0x1e12b3[_0x1e12b3[_0x360c99(0x191)]=0x8]=_0x360c99(0x191),_0x1e12b3[_0x1e12b3[_0x360c99(0x37b)]=0x9]='COMPLETION_FINISHED',_0x1e12b3[_0x1e12b3['LOGIN_FAILED']=0xa]=_0x360c99(0x156),_0x1e12b3[_0x1e12b3[_0x360c99(0x15f)]=0xb]=_0x360c99(0x15f),_0x1e12b3[_0x1e12b3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x360c99(0x2ee),_0x1e12b3[_0x1e12b3[_0x360c99(0x27d)]=0xd]=_0x360c99(0x27d),_0x1e12b3[_0x1e12b3[_0x360c99(0x32c)]=0xe]=_0x360c99(0x32c),_0x1e12b3[_0x1e12b3[_0x360c99(0x1e1)]=0x1389]=_0x360c99(0x1e1),_0x1e12b3[_0x1e12b3[_0x360c99(0x371)]=0x1771]=_0x360c99(0x371),_0x1e12b3[_0x1e12b3[_0x360c99(0x317)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1d1)]=0x1773]=_0x360c99(0x1d1),_0x1e12b3[_0x1e12b3[_0x360c99(0x303)]=0x1b59]=_0x360c99(0x303),_0x1e12b3[_0x1e12b3[_0x360c99(0x199)]=0x1b5a]=_0x360c99(0x199),_0x1e12b3[_0x1e12b3[_0x360c99(0x141)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e12b3[_0x1e12b3[_0x360c99(0x198)]=0x1b5c]=_0x360c99(0x198),_0x1e12b3[_0x1e12b3['APPLY_DUPLICATED']=0x1b5d]=_0x360c99(0x366),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a7)]=0x1f41]=_0x360c99(0x1a7),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a5)]=0x2329]=_0x360c99(0x1a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x247)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x192)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e12b3[_0x1e12b3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x360c99(0x15e),_0x1e12b3[_0x1e12b3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x360c99(0x138),_0x1e12b3[_0x1e12b3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x360c99(0x15a),_0x1e12b3[_0x1e12b3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x360c99(0x22c),_0x1e12b3[_0x1e12b3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x360c99(0x2c1),_0x1e12b3[_0x1e12b3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1e12b3[_0x1e12b3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x360c99(0x2b0),_0x1e12b3[_0x1e12b3[_0x360c99(0x30e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1e12b3[_0x1e12b3[_0x360c99(0x24e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1e12b3[_0x1e12b3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x360c99(0x129),_0x1e12b3[_0x1e12b3[_0x360c99(0x377)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1e0)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e12b3[_0x1e12b3[_0x360c99(0x2cb)]=0x2720]=_0x360c99(0x2cb),_0x1e12b3[_0x1e12b3[_0x360c99(0x29c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e12b3[_0x1e12b3[_0x360c99(0x2e1)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e12b3[_0x1e12b3[_0x360c99(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x355)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1e12b3[_0x1e12b3['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x28f)]=0x2ee5]=_0x360c99(0x28f),_0x1e12b3[_0x1e12b3[_0x360c99(0x32a)]=0x32c9]=_0x360c99(0x32a),_0x1e12b3[_0x1e12b3[_0x360c99(0x3a5)]=0x32ca]=_0x360c99(0x3a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x304)]=0x32cb]=_0x360c99(0x304),_0x1e12b3[_0x1e12b3[_0x360c99(0x37d)]=-0x1]='UNRECOGNIZED',_0x1e12b3))(_0x356f7a||{}),_0x31a0f2=Object[_0x360c99(0x397)],_0x225033=(_0x39ded1,_0x189af4,_0x2352fe,_0x411dc3)=>{const _0x4965e6=_0x360c99;for(var _0x599f09=_0x411dc3>0x1?void 0x0:_0x411dc3?_0x31a0f2(_0x189af4,_0x2352fe):_0x189af4,_0x45fb23=_0x39ded1[_0x4965e6(0x1fa)]-0x1,_0x3a02e0;_0x45fb23>=0x0;_0x45fb23--)(_0x3a02e0=_0x39ded1[_0x45fb23])&&(_0x599f09=_0x3a02e0(_0x599f09)||_0x599f09);return _0x599f09;},_0x1e8f91=(_0x559086,_0x2b4d38)=>(_0x2ce880,_0x528cb4)=>_0x2b4d38(_0x2ce880,_0x528cb4,_0x559086);_0x2fd8ae['RemoteUniscriptService']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x263ea5,_0x4a2ebb,_0x33d66e){const _0x1105fe=_0x360c99;super(),this['_instanceService']=_0x263ea5,this[_0x1105fe(0x3a4)]=_0x4a2ebb,this[_0x1105fe(0x31b)]=_0x33d66e;}async[_0x360c99(0x17c)](_0x23a4c0,_0x170a53,_0x14c8ed,..._0x574677){const _0x4d848c=_0x360c99;var _0x177ca3,_0x169e5e,_0x171910,_0x457044;const _0x551f84=this[_0x4d848c(0x128)][_0x4d848c(0x1d7)]();if(!_0x551f84)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1d8850=((_0x177ca3=this[_0x4d848c(0x31b)][_0x4d848c(0x37f)](_0x33f364[_0x4d848c(0x134)]))!=null?_0x177ca3:_0x33f364[_0x4d848c(0x183)])+'/'+_0x23a4c0+_0x4d848c(0x18f)+_0x170a53,_0x826c90=new URL(window[_0x4d848c(0x336)]['href']),_0x45322c={'scriptId':_0x23a4c0,'runId':(_0x169e5e=_0x826c90['searchParams'][_0x4d848c(0x2da)](_0x4d848c(0x20e)))!=null?_0x169e5e:'','function':_0x170a53,'unitId':_0x551f84[_0x4d848c(0x35f)](),'argsOfFunction':JSON[_0x4d848c(0x300)](_0x574677),'invokeId':(_0x171910=_0x14c8ed[_0x4d848c(0x150)])!=null?_0x171910:'','executionId':(_0x457044=_0x14c8ed[_0x4d848c(0x282)])!=null?_0x457044:''};try{const _0x40893d=await this[_0x4d848c(0x3a4)][_0x4d848c(0x1bf)](_0x1d8850,{'body':_0x45322c});return _0x40893d[_0x4d848c(0x12b)][_0x4d848c(0x2a9)]&&_0x40893d[_0x4d848c(0x12b)]['error'][_0x4d848c(0x164)]!==_0x356f7a['OK']?_0x4d848c(0x35e):_0x40893d['body'][_0x4d848c(0x1d2)];}catch{return _0x4d848c(0x35e);}}},_0x2fd8ae[_0x360c99(0x2e7)]=_0x225033([_0x1e8f91(0x0,_0x2b709b['IUniverInstanceService']),_0x1e8f91(0x1,_0x2b709b['Inject'](_0x3092c3[_0x360c99(0x2d1)])),_0x1e8f91(0x2,_0x2b709b['IConfigService'])],_0x2fd8ae[_0x360c99(0x2e7)]);const _0x3b03e0=0x7530,_0x2904b4=_0x360c99(0x2e0);class _0x8f298 extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x3f7678=_0x360c99;super(),_0x2197b9(this,'_id',_0x2b709b['generateRandomId']()),_0x2197b9(this,_0x3f7678(0x12c),new Set()),_0x2197b9(this,_0x3f7678(0x196),new Map()),_0x2197b9(this,_0x3f7678(0x2d7),null),_0x2197b9(this,_0x3f7678(0x1d3),new Map()),_0x2197b9(this,_0x3f7678(0x382),new Map()),this[_0x3f7678(0x1e6)]();}[_0x360c99(0x2fe)](){const _0x38393a=_0x360c99;super[_0x38393a(0x2fe)](),this[_0x38393a(0x1d3)][_0x38393a(0x2ce)]((_0x557435,_0x434f49)=>this[_0x38393a(0x244)](_0x434f49)),this[_0x38393a(0x2d7)]&&window['clearInterval'](this[_0x38393a(0x2d7)]);}['getUnitStatus$'](_0x2ca4ff){const _0x20fbbe=_0x360c99;return this[_0x20fbbe(0x31e)](_0x2ca4ff)[_0x20fbbe(0x11a)](_0x3052c2[_0x20fbbe(0x356)]());}[_0x360c99(0x365)](_0x50345c){const _0x1e2ce4=_0x360c99;this[_0x1e2ce4(0x12c)][_0x1e2ce4(0x248)]===0x0&&this[_0x1e2ce4(0x190)](),this['_selfUnitIDs'][_0x1e2ce4(0x1cb)](_0x50345c),this['_send']({'type':0x0,'memberID':this[_0x1e2ce4(0x13c)],'unitIDs':[_0x50345c],'isForwarded':!0x1});}[_0x360c99(0x178)](_0x187dbb){const _0xfc4635=_0x360c99;this[_0xfc4635(0x12c)][_0xfc4635(0x143)](_0x187dbb),this[_0xfc4635(0x12c)][_0xfc4635(0x248)]===0x0&&this['_heartbeatTimer']&&window[_0xfc4635(0x293)](this[_0xfc4635(0x2d7)]);}[_0x360c99(0x1e6)](){const _0xa30703=_0x360c99;this[_0xa30703(0x252)](_0x2b709b[_0xa30703(0x27e)](_0x3052c2['fromEvent'](window,'storage')[_0xa30703(0x373)](_0x297fab=>{const _0x24b528=_0xa30703;if(_0x297fab[_0x24b528(0x215)]!==_0x2904b4||!_0x297fab[_0x24b528(0x34e)])return;const _0x20f80a=JSON[_0x24b528(0x381)](_0x297fab['newValue']);this[_0x24b528(0x20c)](_0x20f80a);}))),window[_0xa30703(0x31f)](_0xa30703(0x1a1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xa30703(0x222)](this[_0xa30703(0x12c)])}));}[_0x360c99(0x20c)](_0x3ced48){const _0x394821=_0x360c99;switch(_0x3ced48[_0x394821(0x225)]){case 0x0:this[_0x394821(0x290)](_0x3ced48);break;case 0x1:this[_0x394821(0x136)](_0x3ced48);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ced48);break;}}[_0x360c99(0x290)](_0x11fcfe){const _0x4d1ddf=_0x360c99,{unitIDs:_0x289ae3,memberID:_0x3d9dfa,isForwarded:_0x1a7b31}=_0x11fcfe;_0x289ae3['forEach'](_0x4cee6d=>{const _0x3c49b3=_0x2a3e;if(!_0x1a7b31&&this[_0x3c49b3(0x196)][_0x3c49b3(0x13e)](_0x4cee6d)&&this[_0x3c49b3(0x31e)](_0x4cee6d)[_0x3c49b3(0x34f)](_0x33f364[_0x3c49b3(0x25a)][_0x3c49b3(0x32f)]),!this['_unitOnClients'][_0x3c49b3(0x13e)](_0x4cee6d)||!this['_unitOnClients'][_0x3c49b3(0x2da)](_0x4cee6d)[_0x3c49b3(0x13e)](_0x3d9dfa)){const _0x46e5f0=this[_0x3c49b3(0x196)][_0x3c49b3(0x2da)](_0x4cee6d)||new Set();_0x46e5f0['add'](_0x3d9dfa),this['_unitOnClients'][_0x3c49b3(0x1b3)](_0x4cee6d,_0x46e5f0),this['_scheduleClearOtherTimer'](_0x3d9dfa);}}),_0x1a7b31||this[_0x4d1ddf(0x218)]({'type':0x0,'memberID':this[_0x4d1ddf(0x13c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x360c99(0x1f2)](_0x1d72a4){const _0x18920c=_0x360c99;this[_0x18920c(0x244)](_0x1d72a4);const _0x238065=window[_0x18920c(0x2e8)](()=>{this['_unitOnClients']['forEach'](_0x23c8b4=>{const _0x5b8e8f=_0x2a3e;_0x23c8b4[_0x5b8e8f(0x143)](_0x1d72a4);});},_0x3b03e0*0x2);this[_0x18920c(0x1d3)]['set'](_0x1d72a4,_0x238065);}['_removeClearOtherTimer'](_0x116b24){const _0x5aeea0=_0x360c99;if(this[_0x5aeea0(0x1d3)]['has'](_0x116b24)){const _0x4bc196=this[_0x5aeea0(0x1d3)][_0x5aeea0(0x2da)](_0x116b24);_0x4bc196&&window[_0x5aeea0(0x353)](_0x4bc196),this[_0x5aeea0(0x1d3)][_0x5aeea0(0x1b3)](_0x116b24,null);}}['_handleLeaveEvent'](_0x528a65){const {memberID:_0x115e59,unitIDs:_0x53e5bc}=_0x528a65;_0x53e5bc['forEach'](_0x9d8547=>{const _0x179ab5=_0x2a3e;var _0x508951;const _0x36bc4a=this[_0x179ab5(0x196)][_0x179ab5(0x2da)](_0x9d8547);_0x36bc4a&&(_0x36bc4a[_0x179ab5(0x143)](_0x115e59),(_0x508951=this['_ensureSubject'](_0x9d8547))==null||_0x508951['next'](_0x36bc4a[_0x179ab5(0x248)]===0x0?_0x33f364[_0x179ab5(0x25a)][_0x179ab5(0x229)]:_0x33f364['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x115e59);}[_0x360c99(0x296)](_0x2053c3){const _0x25fc12=_0x360c99;this[_0x25fc12(0x1f2)](_0x2053c3[_0x25fc12(0x17d)]);}['_send'](_0x531449){const _0xd30a92=_0x360c99;localStorage[_0xd30a92(0x24c)](_0x2904b4,JSON[_0xd30a92(0x300)](_0x531449));}[_0x360c99(0x190)](){const _0x38a41a=_0x360c99;this[_0x38a41a(0x2d7)]=window[_0x38a41a(0x3a9)](()=>{const _0xba6cbf=_0x38a41a;this[_0xba6cbf(0x218)]({'type':0x2,'memberID':this[_0xba6cbf(0x13c)]});},_0x3b03e0);}['_ensureSubject'](_0xb6a940){const _0x35e68b=_0x360c99;return this[_0x35e68b(0x382)][_0x35e68b(0x13e)](_0xb6a940)||this[_0x35e68b(0x382)][_0x35e68b(0x1b3)](_0xb6a940,new _0x3052c2[(_0x35e68b(0x1af))](_0x33f364['UnitStatus'][_0x35e68b(0x229)])),this['_unitStatus']['get'](_0xb6a940);}}_0x2fd8ae[_0x360c99(0x154)]=_0x52e083,_0x2fd8ae[_0x360c99(0x118)]=_0x34aaa3,_0x2fd8ae[_0x360c99(0x22b)]=_0x8f298,_0x2fd8ae['WebURLService']=_0x561609,Object[_0x360c99(0x214)](_0x2fd8ae,Symbol[_0x360c99(0x1fe)],{'value':_0x360c99(0x312)});}));
|
|
1
|
+
function _0x3243(_0x47566c,_0x496ce5){const _0x35fd4e=_0x35fd();return _0x3243=function(_0x324372,_0x2744a3){_0x324372=_0x324372-0x144;let _0xc23883=_0x35fd4e[_0x324372];return _0xc23883;},_0x3243(_0x47566c,_0x496ce5);}(function(_0x8e1265,_0x5db016){const _0x11135e=_0x3243,_0x18c4e4=_0x8e1265();while(!![]){try{const _0x388da2=-parseInt(_0x11135e(0x214))/0x1+parseInt(_0x11135e(0x2aa))/0x2*(parseInt(_0x11135e(0x323))/0x3)+-parseInt(_0x11135e(0x387))/0x4+-parseInt(_0x11135e(0x365))/0x5*(parseInt(_0x11135e(0x32f))/0x6)+parseInt(_0x11135e(0x292))/0x7+-parseInt(_0x11135e(0x16c))/0x8*(parseInt(_0x11135e(0x2e6))/0x9)+parseInt(_0x11135e(0x289))/0xa;if(_0x388da2===_0x5db016)break;else _0x18c4e4['push'](_0x18c4e4['shift']());}catch(_0x25244f){_0x18c4e4['push'](_0x18c4e4['shift']());}}}(_0x35fd,0xa12ec),function(_0x5347fc,_0x4136b0){const _0x4031cc=_0x3243;typeof exports==_0x4031cc(0x374)&&typeof module<'u'?_0x4136b0(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==_0x4031cc(0x39e)&&define[_0x4031cc(0x29a)]?define([_0x4031cc(0x331),_0x4031cc(0x147),_0x4031cc(0x25a),_0x4031cc(0x242),'@univerjs/ui',_0x4031cc(0x1e0),'@univerjs/design',_0x4031cc(0x156),_0x4031cc(0x188),_0x4031cc(0x20a),_0x4031cc(0x15f),_0x4031cc(0x2c4),_0x4031cc(0x1ac),'@univerjs/drawing',_0x4031cc(0x41d),_0x4031cc(0x2d5),_0x4031cc(0x271),'rxjs/operators',_0x4031cc(0x1c7)],_0x4136b0):(_0x5347fc=typeof globalThis<'u'?globalThis:_0x5347fc||self,_0x4136b0(_0x5347fc[_0x4031cc(0x340)]={},_0x5347fc[_0x4031cc(0x1c5)],_0x5347fc[_0x4031cc(0x17e)],_0x5347fc[_0x4031cc(0x20e)],_0x5347fc[_0x4031cc(0x2e8)],_0x5347fc[_0x4031cc(0x1e0)],_0x5347fc['UniverDesign'],_0x5347fc[_0x4031cc(0x1c5)],_0x5347fc['UniverRpc'],_0x5347fc[_0x4031cc(0x155)],_0x5347fc[_0x4031cc(0x3ac)],_0x5347fc['UniverNetwork'],_0x5347fc[_0x4031cc(0x333)],_0x5347fc[_0x4031cc(0x26a)],_0x5347fc[_0x4031cc(0x35d)],_0x5347fc[_0x4031cc(0x22d)],_0x5347fc[_0x4031cc(0x2b9)],_0x5347fc['rxjs'][_0x4031cc(0x3d0)],_0x5347fc[_0x4031cc(0x26e)]));}(this,function(_0x3bf0b9,_0x3a5f39,_0x3eed55,_0x575825,_0x18db7f,_0x10129d,_0x50c879,_0x10c968,_0x50f9f1,_0x3f4762,_0x3faa66,_0x5c150a,_0x312d5b,_0x434fa1,_0x382605,_0x3f5683,_0x50b51e,_0x30d1fc,_0x19ff18){'use strict';const _0x1d598f=_0x3243;var _0x2781eb=Object[_0x1d598f(0x352)],_0x1c133c=(_0x2280a0,_0x4de1c2,_0x3126e3)=>_0x4de1c2 in _0x2280a0?_0x2781eb(_0x2280a0,_0x4de1c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3126e3}):_0x2280a0[_0x4de1c2]=_0x3126e3,_0x407fe5=(_0x46fba6,_0x1c6528,_0x45f727)=>_0x1c133c(_0x46fba6,typeof _0x1c6528!='symbol'?_0x1c6528+'':_0x1c6528,_0x45f727),_0x3fb196=function(){const _0x458cf0=_0x1d598f;return _0x3fb196=Object['assign']||function(_0x4f50cc){const _0x4018be=_0x3243;for(var _0x44cfd6,_0x14af9e=0x1,_0x3ca2e2=arguments[_0x4018be(0x219)];_0x14af9e<_0x3ca2e2;_0x14af9e++){_0x44cfd6=arguments[_0x14af9e];for(var _0x11508f in _0x44cfd6)Object[_0x4018be(0x26c)][_0x4018be(0x40d)][_0x4018be(0x397)](_0x44cfd6,_0x11508f)&&(_0x4f50cc[_0x11508f]=_0x44cfd6[_0x11508f]);}return _0x4f50cc;},_0x3fb196[_0x458cf0(0x3c1)](this,arguments);},_0x9d1363=function(_0xdf0947,_0x46181a){const _0xde9bf6=_0x1d598f;var _0x4273cf={};for(var _0x34d48b in _0xdf0947)Object[_0xde9bf6(0x26c)][_0xde9bf6(0x40d)]['call'](_0xdf0947,_0x34d48b)&&_0x46181a[_0xde9bf6(0x32d)](_0x34d48b)<0x0&&(_0x4273cf[_0x34d48b]=_0xdf0947[_0x34d48b]);if(_0xdf0947!=null&&typeof Object[_0xde9bf6(0x35a)]==_0xde9bf6(0x39e)){for(var _0xdbdc8b=0x0,_0x34d48b=Object[_0xde9bf6(0x35a)](_0xdf0947);_0xdbdc8b<_0x34d48b['length'];_0xdbdc8b++)_0x46181a[_0xde9bf6(0x32d)](_0x34d48b[_0xdbdc8b])<0x0&&Object['prototype'][_0xde9bf6(0x40a)][_0xde9bf6(0x397)](_0xdf0947,_0x34d48b[_0xdbdc8b])&&(_0x4273cf[_0x34d48b[_0xdbdc8b]]=_0xdf0947[_0x34d48b[_0xdbdc8b]]);}return _0x4273cf;},_0x383187=_0x10c968[_0x1d598f(0x3dc)](function(_0x2df27c,_0x4a0b6a){const _0x523079=_0x1d598f;var _0x53b6ca=_0x2df27c[_0x523079(0x21d)],_0x1407d4=_0x2df27c['id'],_0x38d798=_0x2df27c[_0x523079(0x418)],_0x4b4d15=_0x2df27c[_0x523079(0x30f)],_0x1c9256=_0x9d1363(_0x2df27c,[_0x523079(0x21d),'id',_0x523079(0x418),_0x523079(0x30f)]),_0x1c255d=_0x523079(0x231)[_0x523079(0x187)](_0x1407d4,'\x20')[_0x523079(0x187)](_0x38d798||'')[_0x523079(0x250)](),_0x280eeb=_0x10c968[_0x523079(0x350)]('_'[_0x523079(0x187)](_0x28ccce()));return _0x1fc51b(_0x53b6ca,''[_0x523079(0x187)](_0x1407d4),{'defIds':_0x53b6ca[_0x523079(0x3b2)],'idSuffix':_0x280eeb[_0x523079(0x291)]},_0x3fb196({'ref':_0x4a0b6a,'className':_0x1c255d},_0x1c9256),_0x4b4d15);});function _0x1fc51b(_0x369250,_0x4610b1,_0x1a3982,_0x38820f,_0x3995cf){const _0x2c42ba=_0x1d598f;return _0x10c968[_0x2c42ba(0x1a5)](_0x369250[_0x2c42ba(0x1af)],_0x3fb196(_0x3fb196({'key':_0x4610b1},_0x820868(_0x369250,_0x1a3982,_0x3995cf)),_0x38820f),(_0x1a357a(_0x369250,_0x1a3982)[_0x2c42ba(0x400)]||[])['map'](function(_0x2fa21e,_0x4403e3){const _0x427428=_0x2c42ba;return _0x1fc51b(_0x2fa21e,''[_0x427428(0x187)](_0x4610b1,'-')[_0x427428(0x187)](_0x369250[_0x427428(0x1af)],'-')[_0x427428(0x187)](_0x4403e3),_0x1a3982,void 0x0,_0x3995cf);}));}function _0x820868(_0x20b6a7,_0x463a7e,_0x5e9c2c){const _0x18440a=_0x1d598f;var _0x4ae15a=_0x3fb196({},_0x20b6a7[_0x18440a(0x348)]);_0x5e9c2c!=null&&_0x5e9c2c[_0x18440a(0x3d8)]&&_0x4ae15a[_0x18440a(0x363)]===_0x18440a(0x3d8)&&(_0x4ae15a[_0x18440a(0x363)]=_0x5e9c2c[_0x18440a(0x3d8)]),_0x20b6a7[_0x18440a(0x1af)]==='mask'&&_0x4ae15a['id']&&(_0x4ae15a['id']=_0x4ae15a['id']+_0x463a7e[_0x18440a(0x2eb)]),Object[_0x18440a(0x241)](_0x4ae15a)[_0x18440a(0x34f)](function(_0x22f226){const _0x369c2c=_0x18440a;var _0x482e2e=_0x22f226[0x0],_0x2ac874=_0x22f226[0x1];_0x482e2e==='mask'&&typeof _0x2ac874=='string'&&(_0x4ae15a[_0x482e2e]=_0x2ac874['replace'](/url\(#(.*)\)/,'url(#$1'[_0x369c2c(0x187)](_0x463a7e[_0x369c2c(0x2eb)],')')));});var _0x263cd9=_0x463a7e[_0x18440a(0x3b2)];return!_0x263cd9||_0x263cd9[_0x18440a(0x219)]===0x0||(_0x20b6a7['tag']===_0x18440a(0x1cc)&&_0x4ae15a[_0x18440a(0x24f)]&&(_0x4ae15a['xlink:href']=_0x4ae15a[_0x18440a(0x24f)]+_0x463a7e[_0x18440a(0x2eb)]),Object[_0x18440a(0x241)](_0x4ae15a)['forEach'](function(_0x470965){const _0x503fba=_0x18440a;var _0x4456c1=_0x470965[0x0],_0x3e3b49=_0x470965[0x1];typeof _0x3e3b49==_0x503fba(0x1d6)&&(_0x4ae15a[_0x4456c1]=_0x3e3b49['replace'](/url\(#(.*)\)/,_0x503fba(0x199)[_0x503fba(0x187)](_0x463a7e[_0x503fba(0x2eb)],')')));})),_0x4ae15a;}function _0x1a357a(_0x4e8f89,_0x2833ed){const _0xa7cff=_0x1d598f;var _0x13af9b,_0x506063=_0x2833ed[_0xa7cff(0x3b2)];return!_0x506063||_0x506063['length']===0x0?_0x4e8f89:_0x4e8f89[_0xa7cff(0x1af)]===_0xa7cff(0x2d9)&&(!((_0x13af9b=_0x4e8f89[_0xa7cff(0x400)])===null||_0x13af9b===void 0x0)&&_0x13af9b[_0xa7cff(0x219)])?_0x3fb196(_0x3fb196({},_0x4e8f89),{'children':_0x4e8f89['children'][_0xa7cff(0x335)](function(_0x217a5f){const _0xdfca4a=_0xa7cff;return typeof _0x217a5f[_0xdfca4a(0x348)]['id']=='string'&&_0x506063&&_0x506063[_0xdfca4a(0x27d)](_0x217a5f['attrs']['id'])?_0x3fb196(_0x3fb196({},_0x217a5f),{'attrs':_0x3fb196(_0x3fb196({},_0x217a5f['attrs']),{'id':_0x217a5f[_0xdfca4a(0x348)]['id']+_0x2833ed[_0xdfca4a(0x2eb)]})}):_0x217a5f;})}):_0x4e8f89;}function _0x28ccce(){const _0x3f26a6=_0x1d598f;return Math[_0x3f26a6(0x2c0)]()[_0x3f26a6(0x32c)](0x24)['substring'](0x2,0x8);}_0x383187[_0x1d598f(0x2d3)]=_0x1d598f(0x16d);var _0x5c0d86={'tag':_0x1d598f(0x318),'attrs':{'xmlns':_0x1d598f(0x2ad),'fill':_0x1d598f(0x3b6),'viewBox':_0x1d598f(0x269),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1d598f(0x252),'attrs':{'stroke':_0x1d598f(0x18b),'d':_0x1d598f(0x235),'strokeLinecap':_0x1d598f(0x41a),'strokeLinejoin':_0x1d598f(0x41a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1d598f(0x358),'attrs':{'id':_0x1d598f(0x1c6)},'children':[{'tag':_0x1d598f(0x252),'attrs':{'fill':_0x1d598f(0x306),'d':_0x1d598f(0x14f)}}]}]}],'defIds':[_0x1d598f(0x1c6)]},_0x30c08e=_0x10c968['forwardRef'](function(_0x553682,_0x156550){const _0x386428=_0x1d598f;return _0x10c968[_0x386428(0x1a5)](_0x383187,Object[_0x386428(0x36f)]({},_0x553682,{'id':'off-line-icon','ref':_0x156550,'icon':_0x5c0d86}));});_0x30c08e['displayName']=_0x1d598f(0x3a4);var _0x1adb1b={'tag':_0x1d598f(0x318),'attrs':{'xmlns':_0x1d598f(0x2ad),'fill':_0x1d598f(0x3b6),'viewBox':_0x1d598f(0x288),'width':_0x1d598f(0x195),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1d598f(0x252),'attrs':{'stroke':'currentColor','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':_0x1d598f(0x41a),'strokeLinejoin':_0x1d598f(0x41a),'strokeWidth':1.2}}]},{'tag':_0x1d598f(0x2d9),'attrs':{},'children':[{'tag':_0x1d598f(0x358),'attrs':{'id':_0x1d598f(0x290)},'children':[{'tag':_0x1d598f(0x252),'attrs':{'fill':_0x1d598f(0x306),'d':'M0\x200H16V16H0z','transform':_0x1d598f(0x38a)}}]}]}],'defIds':[_0x1d598f(0x290)]},_0x32b529=_0x10c968[_0x1d598f(0x3dc)](function(_0x7f6163,_0xb2574b){const _0x2676f2=_0x1d598f;return _0x10c968[_0x2676f2(0x1a5)](_0x383187,Object[_0x2676f2(0x36f)]({},_0x7f6163,{'id':'on-line-icon','ref':_0xb2574b,'icon':_0x1adb1b}));});_0x32b529[_0x1d598f(0x2d3)]=_0x1d598f(0x34d);function _0xa8b75e(_0x16a4c8){const _0x246160=_0x1d598f;switch(_0x16a4c8){case _0x3eed55[_0x246160(0x353)][_0x246160(0x18a)]:return _0x246160(0x366);case _0x3eed55['CollaborationStatus'][_0x246160(0x273)]:return'collabStatus.conflict';case _0x3eed55[_0x246160(0x353)][_0x246160(0x1b5)]:return'collabStatus.fetchMiss';case _0x3eed55[_0x246160(0x353)][_0x246160(0x367)]:return _0x246160(0x2ce);case _0x3eed55[_0x246160(0x353)][_0x246160(0x3f8)]:case _0x3eed55[_0x246160(0x353)][_0x246160(0x2c5)]:return _0x246160(0x336);case _0x3eed55[_0x246160(0x353)][_0x246160(0x2b1)]:case _0x3eed55['CollaborationStatus']['PENDING']:return _0x246160(0x326);}}function _0x37a9bc(_0x417ede){const _0x29b1bf=_0x1d598f,{status$:_0x3d8a2b}=_0x417ede,_0x2a54a1=_0x18db7f['useObservable'](_0x3d8a2b,_0x3eed55['CollaborationStatus'][_0x29b1bf(0x367)]),_0x4ed32a=_0x18db7f[_0x29b1bf(0x22f)](_0x575825[_0x29b1bf(0x308)]),_0x1db781=_0x18db7f[_0x29b1bf(0x22f)](_0x3eed55[_0x29b1bf(0x162)]),_0x3a7bfd=_0x2a54a1!==_0x3eed55[_0x29b1bf(0x353)][_0x29b1bf(0x18a)],_0x2dbf30=_0x4ed32a['t'](_0xa8b75e(_0x2a54a1)),_0x45e661=_0x3a7bfd?_0x3a5f39['jsx'](_0x32b529,{}):_0x3a5f39['jsx'](_0x30c08e,{}),_0x294d40=_0x10c968[_0x29b1bf(0x168)](()=>{_0x3a7bfd||_0x1db781['reconnect']();},[_0x3a7bfd,_0x1db781]);function _0xa9740a(){const _0x10722c=_0x29b1bf;return _0x3a5f39[_0x10722c(0x1d9)](_0x10722c(0x405),{'className':_0x10722c(0x310),'onClick':_0x294d40,'children':[_0x3a5f39['jsx'](_0x10722c(0x405),{'className':_0x50c879[_0x10722c(0x258)](_0x10722c(0x2ef),{'univer-text-green-500':_0x3a7bfd,'univer-text-red-500':!_0x3a7bfd}),'children':_0x45e661}),_0x3a5f39[_0x10722c(0x240)](_0x10722c(0x405),{'className':_0x10722c(0x3a7),'children':_0x2dbf30})]});}return _0x3a7bfd?_0xa9740a():_0x3a5f39[_0x29b1bf(0x240)](_0x50c879[_0x29b1bf(0x3fa)],{'title':_0x4ed32a['t'](_0x29b1bf(0x1fc)),'children':_0xa9740a()});}var _0x57f8b6=Object[_0x1d598f(0x2a6)],_0x3e6d8a=(_0x53527b,_0x14fca8,_0x2bf728,_0x3221b6)=>{for(var _0x538419=_0x3221b6>0x1?void 0x0:_0x3221b6?_0x57f8b6(_0x14fca8,_0x2bf728):_0x14fca8,_0x1a52e6=_0x53527b['length']-0x1,_0x518784;_0x1a52e6>=0x0;_0x1a52e6--)(_0x518784=_0x53527b[_0x1a52e6])&&(_0x538419=_0x518784(_0x538419)||_0x538419);return _0x538419;},_0x3863ab=(_0x183cf8,_0x39ca54)=>(_0x5bfee2,_0x176c44)=>_0x39ca54(_0x5bfee2,_0x176c44,_0x183cf8);_0x3bf0b9[_0x1d598f(0x34e)]=class extends _0x575825[_0x1d598f(0x3f3)]{constructor(_0x4288d2,_0x14f6c1,_0x4f85fa,_0x227e5f){const _0x38ec8e=_0x1d598f;super(),_0x407fe5(this,'_status$',new _0x10129d[(_0x38ec8e(0x2fe))](_0x3eed55[_0x38ec8e(0x353)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4288d2,this[_0x38ec8e(0x237)]=_0x14f6c1,this[_0x38ec8e(0x2d1)]=_0x4f85fa,this[_0x38ec8e(0x361)]=_0x227e5f,this[_0x38ec8e(0x3df)](),this[_0x38ec8e(0x1de)]());}[_0x1d598f(0x1de)](){const _0x325337=_0x1d598f;this['disposeWithMe'](this[_0x325337(0x3c3)][_0x325337(0x3ab)]['pipe'](_0x10129d['switchMap'](()=>{const _0x58aba0=_0x325337,_0x280f13=this['_univerInstanceService'][_0x58aba0(0x1c1)]();return _0x280f13?this[_0x58aba0(0x2d1)][_0x58aba0(0x416)](_0x280f13[_0x58aba0(0x149)]()):_0x10129d['of'](null);}),_0x10129d[_0x325337(0x38e)](_0x2810e7=>_0x2810e7?_0x2810e7[_0x325337(0x1bb)]:_0x10129d['of'](_0x3eed55[_0x325337(0x353)][_0x325337(0x367)])))[_0x325337(0x1bd)](_0x26ff45=>{const _0x57109e=_0x325337;this[_0x57109e(0x2c7)]['next'](_0x26ff45);}));}[_0x1d598f(0x3df)](){const _0x5d988a=_0x1d598f;this[_0x5d988a(0x1c2)](this[_0x5d988a(0x361)]['registerComponent'](_0x18db7f[_0x5d988a(0x14b)][_0x5d988a(0x19f)],()=>_0x18db7f[_0x5d988a(0x36d)](_0x2b275e({'status$':this['_status$'][_0x5d988a(0x20b)]()}),this[_0x5d988a(0x237)])));}},_0x3bf0b9['DesktopCollaborationStatusDisplayController']=_0x3e6d8a([_0x3863ab(0x0,_0x575825[_0x1d598f(0x22c)]),_0x3863ab(0x1,_0x575825[_0x1d598f(0x280)](_0x575825['Injector'])),_0x3863ab(0x2,_0x575825[_0x1d598f(0x280)](_0x3eed55[_0x1d598f(0x402)])),_0x3863ab(0x3,_0x18db7f[_0x1d598f(0x1f2)])],_0x3bf0b9['DesktopCollaborationStatusDisplayController']);function _0x2b275e(_0x12b18c){const {status$:_0x13e0ed}=_0x12b18c;return function(){return _0x3a5f39['jsx'](_0x37a9bc,{'status$':_0x13e0ed});};}const _0x23e87d=_0x575825[_0x1d598f(0x159)]('uni.network.url-service');var _0x39e8b2=Object[_0x1d598f(0x2a6)],_0x2ddab7=(_0x4454f5,_0x58fa1c,_0x42e154,_0x218fe8)=>{for(var _0x5c12d1=_0x218fe8>0x1?void 0x0:_0x218fe8?_0x39e8b2(_0x58fa1c,_0x42e154):_0x58fa1c,_0x56821c=_0x4454f5['length']-0x1,_0x5ab973;_0x56821c>=0x0;_0x56821c--)(_0x5ab973=_0x4454f5[_0x56821c])&&(_0x5c12d1=_0x5ab973(_0x5c12d1)||_0x5c12d1);return _0x5c12d1;},_0x500f02=(_0x29e2d3,_0x4635c7)=>(_0x625c51,_0x2a9594)=>_0x4635c7(_0x625c51,_0x2a9594,_0x29e2d3);_0x3bf0b9[_0x1d598f(0x261)]=class extends _0x575825['RxDisposable']{constructor(_0x56cffc,_0x2b75fb,_0x50282c,_0x354b93,_0x3183e0){const _0x2250eb=_0x1d598f;super(),this[_0x2250eb(0x191)]=_0x56cffc,this['_logService']=_0x2b75fb,this[_0x2250eb(0x263)]=_0x50282c,this['_dataLoaderService']=_0x354b93,_0x3183e0?_0x3183e0==null||_0x3183e0['whenReady']()[_0x2250eb(0x228)](()=>this[_0x2250eb(0x31a)]()):(this[_0x2250eb(0x1ae)]['debug'](_0x2250eb(0x3ba),_0x2250eb(0x31c)),this[_0x2250eb(0x31a)]());}async[_0x1d598f(0x31a)](){const _0x3a7cee=_0x1d598f,_0x1beba5=this[_0x3a7cee(0x191)][_0x3a7cee(0x21b)](_0x3a7cee(0x3aa)),_0x320a7c=this['_urlService'][_0x3a7cee(0x21b)](_0x3a7cee(0x3bf)),_0x54f30a=this['_urlService'][_0x3a7cee(0x21b)](_0x3a7cee(0x2c6));if(!_0x1beba5||!_0x320a7c){this[_0x3a7cee(0x1ae)][_0x3a7cee(0x281)]('[CollaborationDataLoaderController]',_0x3a7cee(0x3e7));return;}const _0x3b796f=await this[_0x3a7cee(0x25c)]['loadUnit'](_0x1beba5,Number(_0x320a7c),_0x54f30a);_0x3b796f&&_0x3b796f instanceof _0x575825[_0x3a7cee(0x243)]&&this[_0x3a7cee(0x325)](_0x3b796f);}async[_0x1d598f(0x325)](_0x509c75){const _0x11a789=_0x1d598f;await this[_0x11a789(0x347)](_0x509c75),_0x509c75[_0x11a789(0x302)][_0x11a789(0x377)](_0x10129d['takeUntil'](this[_0x11a789(0x1eb)]))[_0x11a789(0x1bd)](_0xd3ea63=>{const _0x41c002=_0x11a789;_0xd3ea63&&this[_0x41c002(0x227)](_0xd3ea63);}),this['_urlService']['urlChange$']['pipe'](_0x10129d[_0x11a789(0x1a4)](this[_0x11a789(0x1eb)]))[_0x11a789(0x1bd)](()=>this['_updateSubUnitFromURLParams'](_0x509c75));}[_0x1d598f(0x227)](_0x11a947,_0x123dc9=!0x1){const _0x1ede0b=_0x1d598f,_0x1c6b0f=this[_0x1ede0b(0x191)]['getParam'](_0x1ede0b(0x2c6));_0x11a947['getSheetId']()!==_0x1c6b0f&&this['_urlService']['setParam'](_0x1ede0b(0x2c6),_0x11a947['getSheetId'](),_0x123dc9);}async['_updateSubUnitFromURLParams'](_0x2c7913){const _0x32bf01=_0x1d598f;var _0x1a2e2f;const _0xc1bd5f=this[_0x32bf01(0x191)]['getParam']('subunit');if(!_0xc1bd5f||!_0x2c7913[_0x32bf01(0x421)](_0xc1bd5f)){const _0x377887=_0x2c7913['getUnhiddenWorksheets']()[0x0],_0x330109=_0x2c7913[_0x32bf01(0x421)](_0x377887);if(!_0x330109)return;this['_updateURLWithCurrentState'](_0x330109,!0x0),await this[_0x32bf01(0x263)][_0x32bf01(0x1a2)](_0x3f4762['SetWorksheetActivateCommand']['id'],{'unitId':_0x2c7913[_0x32bf01(0x149)](),'subUnitId':_0x377887});return;}((_0x1a2e2f=_0x2c7913[_0x32bf01(0x150)]())==null?void 0x0:_0x1a2e2f[_0x32bf01(0x186)]())!==_0xc1bd5f&&await this[_0x32bf01(0x263)][_0x32bf01(0x1a2)](_0x3f4762[_0x32bf01(0x3bc)]['id'],{'unitId':_0x2c7913[_0x32bf01(0x149)](),'subUnitId':_0xc1bd5f});}},_0x3bf0b9['CollaborationDataLoaderController']=_0x2ddab7([_0x500f02(0x0,_0x23e87d),_0x500f02(0x1,_0x575825[_0x1d598f(0x1ab)]),_0x500f02(0x2,_0x575825[_0x1d598f(0x27a)]),_0x500f02(0x3,_0x575825[_0x1d598f(0x280)](_0x3eed55[_0x1d598f(0x15d)])),_0x500f02(0x4,_0x575825['Optional'](_0x50f9f1['IRemoteInstanceService']))],_0x3bf0b9[_0x1d598f(0x261)]);var _0x4b4982=Object[_0x1d598f(0x2a6)],_0x23408d=(_0x377921,_0x22deb0,_0x4966a5,_0x5c190c)=>{const _0x141d6e=_0x1d598f;for(var _0x2849f7=_0x5c190c>0x1?void 0x0:_0x5c190c?_0x4b4982(_0x22deb0,_0x4966a5):_0x22deb0,_0x3f0fbe=_0x377921[_0x141d6e(0x219)]-0x1,_0x6ba66d;_0x3f0fbe>=0x0;_0x3f0fbe--)(_0x6ba66d=_0x377921[_0x3f0fbe])&&(_0x2849f7=_0x6ba66d(_0x2849f7)||_0x2849f7);return _0x2849f7;},_0x8db512=(_0x439562,_0x1a8459)=>(_0x5add1a,_0x60dfe5)=>_0x1a8459(_0x5add1a,_0x60dfe5,_0x439562);let _0x505881=class extends _0x575825['RxDisposable']{constructor(_0x3f48fb,_0x323f76){const _0x2fbe35=_0x1d598f;super(),this[_0x2fbe35(0x1f6)]=_0x3f48fb,this['_imageIoService']=_0x323f76,this[_0x2fbe35(0x31a)]();}[_0x1d598f(0x31a)](){const _0x4032c2=_0x1d598f,_0x30ff9f=this;this[_0x4032c2(0x1c2)](this[_0x4032c2(0x1f6)][_0x4032c2(0x3a2)]({'onBeforePasteImage':async _0x48cf33=>{const _0x210908=_0x4032c2,_0x13552e=await _0x30ff9f['_imageIoService'][_0x210908(0x321)](_0x48cf33);return _0x13552e?{'source':_0x13552e[_0x210908(0x18d)],'imageSourceType':_0x13552e[_0x210908(0x223)]}:null;}}));}};_0x505881=_0x23408d([_0x8db512(0x0,_0x312d5b[_0x1d598f(0x33b)]),_0x8db512(0x1,_0x434fa1[_0x1d598f(0x3d7)])],_0x505881);const _0x153299=[_0x1d598f(0x170),_0x1d598f(0x2b8),_0x1d598f(0x3e5),_0x1d598f(0x2cc),_0x1d598f(0x30d),'yellow.400'];class _0x530293 extends _0x575825[_0x1d598f(0x3f3)]{constructor(){const _0x580ea7=_0x1d598f;super(...arguments),_0x407fe5(this,'_assignedColors',new Map()),_0x407fe5(this,_0x580ea7(0x2cd),0x0);}[_0x1d598f(0x180)](_0x48a090){const _0x45b06d=_0x1d598f;if(this[_0x45b06d(0x2a0)][_0x45b06d(0x24c)](_0x48a090))return this[_0x45b06d(0x2a0)][_0x45b06d(0x208)](_0x48a090);const _0x29d5f2=_0x153299[this[_0x45b06d(0x2cd)]];return this[_0x45b06d(0x2cd)]=(this[_0x45b06d(0x2cd)]+0x1)%_0x153299[_0x45b06d(0x219)],this[_0x45b06d(0x2a0)][_0x45b06d(0x38d)](_0x48a090,_0x29d5f2),_0x29d5f2;}}function _0x4f9ef6(_0x1676c9){let _0x3f789e='';for(const _0xdaf8c6 of _0x1676c9){const {startOffset:_0x516ef6,endOffset:_0x56ca8f,isActive:_0x5dcba9,rangeType:_0x239a53,segmentId:_0x132bf5,segmentPage:_0x4c455b}=_0xdaf8c6;_0x3f789e['length']&&(_0x3f789e+=','),_0x3f789e+=_0x516ef6+':'+_0x56ca8f+':'+(_0x5dcba9?'1':'0')+':'+_0x239a53+':'+_0x132bf5+':'+_0x4c455b;}return _0x3f789e;}function _0x26442c(_0x58a525){const _0x6d5b59=_0x1d598f,_0x548c81=_0x58a525[_0x6d5b59(0x34c)](','),_0x1daa61=[];for(const _0x4e710a of _0x548c81){const [_0x46d73f,_0x494e77,_0xcc02ae,_0x2de183,_0x536c6b,_0x198392]=_0x4e710a[_0x6d5b59(0x34c)](':');_0x1daa61['push']({'startOffset':Number(_0x46d73f),'endOffset':Number(_0x494e77),'collapsed':_0x46d73f===_0x494e77,'isActive':_0xcc02ae==='1','rangeType':_0x2de183===_0x575825[_0x6d5b59(0x355)][_0x6d5b59(0x275)]?_0x575825[_0x6d5b59(0x355)][_0x6d5b59(0x275)]:_0x575825[_0x6d5b59(0x355)][_0x6d5b59(0x341)],'segmentId':typeof _0x536c6b==_0x6d5b59(0x1d6)?String(_0x536c6b):'','segmentPage':Number(_0x198392!=null?_0x198392:-0x1)});}return _0x1daa61[_0x6d5b59(0x33d)](_0x5efd33=>_0x5efd33['isActive'])||(_0x1daa61[0x0][_0x6d5b59(0x3e4)]=!0x0),_0x1daa61;}class _0x3184f8 extends _0x575825['RxDisposable']{constructor(){const _0xc38493=_0x1d598f;super(...arguments),_0x407fe5(this,_0xc38493(0x2e2),new _0x10129d[(_0xc38493(0x2fe))](null)),_0x407fe5(this,_0xc38493(0x230),this[_0xc38493(0x2e2)][_0xc38493(0x20b)]());}['syncEditingCollabCursor'](_0x1fd4fe){const _0x38973c=_0x1d598f,{unitID:_0x1442b6,memberID:_0x3bc3b8,textRanges:_0xb26709}=_0x1fd4fe,_0x11e003=_0x4f9ef6(_0xb26709);if(_0x11e003==='')return;const _0x59fc53={'unitID':_0x1442b6,'memberID':_0x3bc3b8,'selection':_0x11e003};this[_0x38973c(0x2e2)][_0x38973c(0x144)](_0x59fc53);}}var _0x11e6c9=Object[_0x1d598f(0x2a6)],_0x5d74ce=(_0x2ad824,_0x5dc80b,_0x30afb2,_0x142c77)=>{for(var _0x232910=_0x142c77>0x1?void 0x0:_0x142c77?_0x11e6c9(_0x5dc80b,_0x30afb2):_0x5dc80b,_0x2dfe20=_0x2ad824['length']-0x1,_0x61d7d8;_0x2dfe20>=0x0;_0x2dfe20--)(_0x61d7d8=_0x2ad824[_0x2dfe20])&&(_0x232910=_0x61d7d8(_0x232910)||_0x232910);return _0x232910;},_0x136e68=(_0x4409bb,_0x1860c3)=>(_0x4f8065,_0x26fd73)=>_0x1860c3(_0x4f8065,_0x26fd73,_0x4409bb);const _0x1c9ae2=0x12c,_0x38e33e=0x64;let _0x3d3ba0=class extends _0x575825['RxDisposable']{constructor(_0x23e07f,_0x129958,_0x4ea76c,_0x280f1a,_0x332c79,_0x5ddb74,_0x275e03,_0x2199fa,_0x3d0580){const _0x5c4081=_0x1d598f;super(),_0x407fe5(this,_0x5c4081(0x381),!0x1),_0x407fe5(this,_0x5c4081(0x31a),!0x1),_0x407fe5(this,'_cursorInfo$',new _0x10129d[(_0x5c4081(0x2fe))](new Map())),_0x407fe5(this,_0x5c4081(0x39d),this['_cursorInfo$']['asObservable']()),_0x407fe5(this,_0x5c4081(0x2b6),new _0x10129d[(_0x5c4081(0x2fe))]([])),_0x407fe5(this,_0x5c4081(0x299),this[_0x5c4081(0x2b6)][_0x5c4081(0x377)](_0x10129d['debounceTime'](_0x1c9ae2))),_0x407fe5(this,_0x5c4081(0x3e0),_0x575825[_0x5c4081(0x35c)](_0x7bdd6c=>{const _0x4a6140=_0x5c4081,_0x1fa00d={'eventID':_0x382605[_0x4a6140(0x174)][_0x4a6140(0x2bc)],'data':{'unitID':this[_0x4a6140(0x226)],'memberID':this['_session'][_0x4a6140(0x1a1)](),'selection':_0x4f9ef6(_0x7bdd6c)}};this[_0x4a6140(0x2ec)][_0x4a6140(0x222)](_0x1fa00d,this['unitID']);},_0x38e33e)),(this['unitID']=_0x23e07f,this[_0x5c4081(0x2ec)]=_0x129958,this[_0x5c4081(0x237)]=_0x4ea76c,this['_colorAssignService']=_0x280f1a,this[_0x5c4081(0x161)]=_0x332c79,this[_0x5c4081(0x1e2)]=_0x5ddb74,this[_0x5c4081(0x2af)]=_0x275e03,this[_0x5c4081(0x3c3)]=_0x2199fa,this[_0x5c4081(0x263)]=_0x3d0580);}get['cursorInfo'](){const _0x9990f4=_0x1d598f;return this[_0x9990f4(0x37b)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x1d598f(0x189)](){const _0x3f354c=_0x1d598f;super[_0x3f354c(0x189)](),this[_0x3f354c(0x37b)][_0x3f354c(0x144)](new Map()),this[_0x3f354c(0x37b)]['complete'](),this[_0x3f354c(0x2b6)]['next']([]),this['_roomMembers$'][_0x3f354c(0x3de)]();}['init'](){const _0x5d0758=_0x1d598f;this[_0x5d0758(0x31a)]||(this[_0x5d0758(0x31a)]=!0x0,this['_session'][_0x5d0758(0x19c)]['pipe'](_0x10129d[_0x5d0758(0x1a4)](this[_0x5d0758(0x1eb)]))[_0x5d0758(0x1bd)](_0x24e2b6=>{const _0x50df72=_0x5d0758;_0x24e2b6===_0x3eed55[_0x50df72(0x33e)][_0x50df72(0x1fb)]?this[_0x50df72(0x2de)]():this[_0x50df72(0x35e)]();}),this['_session']['event$']['pipe'](_0x10129d[_0x5d0758(0x1a4)](this['dispose$']))['subscribe'](_0x40c363=>{const _0x5a9db7=_0x5d0758,_0x12160e=_0x40c363[_0x5a9db7(0x2ba)];_0x12160e===_0x382605[_0x5a9db7(0x174)][_0x5a9db7(0x2bc)]&&this[_0x5a9db7(0x404)](_0x40c363),_0x12160e===_0x382605[_0x5a9db7(0x174)][_0x5a9db7(0x2c1)]&&this[_0x5a9db7(0x419)](_0x40c363);}),this[_0x5d0758(0x1c2)](this[_0x5d0758(0x263)]['onCommandExecuted'](_0x28763a=>{const _0x3e2db8=_0x5d0758,_0x168784=_0x28763a[_0x3e2db8(0x2ed)];_0x168784!=null&&this['_online']&&_0x28763a['id']===_0x3f5683['SetTextSelectionsOperation']['id']&&_0x168784[_0x3e2db8(0x3ca)]===this[_0x3e2db8(0x226)]&&_0x168784[_0x3e2db8(0x2dc)]===!0x1&&_0x168784[_0x3e2db8(0x206)][_0x3e2db8(0x219)]>0x0&&this['_updateLocalCursor'](_0x168784['ranges']);})),this[_0x5d0758(0x1e2)][_0x5d0758(0x230)]['pipe'](_0x10129d['takeUntil'](this[_0x5d0758(0x1eb)]))[_0x5d0758(0x1bd)](_0x43dec2=>{const _0x3fd343=_0x5d0758;if((_0x43dec2==null?void 0x0:_0x43dec2[_0x3fd343(0x226)])!==this[_0x3fd343(0x226)])return;const _0x1286cb={'eventID':_0x382605[_0x3fd343(0x174)]['UPDATE_CURSOR'],'data':_0x43dec2};this[_0x3fd343(0x404)](_0x1286cb);}),this[_0x5d0758(0x1c2)](this['_commandService'][_0x5d0758(0x224)](_0x30bc34=>{const _0xbcd9c9=_0x5d0758;if(_0x30bc34[_0xbcd9c9(0x2ed)]==null)return;const _0x1f26ca=_0x30bc34[_0xbcd9c9(0x2ed)];if(_0x30bc34['id']!==_0x3f5683[_0xbcd9c9(0x25e)]['id']||_0x1f26ca['unitId']!==this[_0xbcd9c9(0x226)])return;const _0x433d97={'id':_0xbcd9c9(0x270),'params':_0x1f26ca},_0x182fcb=this[_0xbcd9c9(0x178)];for(const [_0x519d02,_0x58cf90]of _0x182fcb){const _0x39dd5d={'id':_0xbcd9c9(0x270),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x58cf90[_0xbcd9c9(0x206)]}},_0x13eabb=this[_0xbcd9c9(0x2af)][_0xbcd9c9(0x37c)](_0x433d97,_0x39dd5d,!0x1);if(_0x382605[_0xbcd9c9(0x2f9)](_0x13eabb))throw _0x13eabb[_0xbcd9c9(0x277)];_0x182fcb[_0xbcd9c9(0x38d)](_0x519d02,{..._0x58cf90,'ranges':_0x13eabb['m2Prime'][_0xbcd9c9(0x2ed)][_0xbcd9c9(0x14c)]});}queueMicrotask(()=>{const _0x2d8ebc=_0xbcd9c9;this[_0x2d8ebc(0x37b)][_0x2d8ebc(0x144)](_0x182fcb);});})));}[_0x1d598f(0x404)](_0x1e905b){const _0x3644e1=_0x1d598f;var _0x310932,_0x27b4b0;const {memberID:_0x55d81e,selection:_0x278403}=_0x1e905b[_0x3644e1(0x313)],_0x230f71=_0x26442c(_0x278403),_0xbcea12=(_0x27b4b0=(_0x310932=this['_memberService'][_0x3644e1(0x17f)](this[_0x3644e1(0x226)],_0x55d81e))==null?void 0x0:_0x310932['name'])!=null?_0x27b4b0:_0x3644e1(0x3b3),_0x2376d7={'color':this[_0x3644e1(0x1ef)][_0x3644e1(0x180)](_0x55d81e),'name':_0xbcea12,'ranges':_0x230f71},_0x32fc78=this[_0x3644e1(0x178)];_0x32fc78[_0x3644e1(0x38d)](_0x55d81e,_0x2376d7),this[_0x3644e1(0x37b)][_0x3644e1(0x144)](_0x32fc78);}[_0x1d598f(0x419)](_0x10daa2){const _0x486fa7=_0x1d598f,{memberID:_0x1510ac}=_0x10daa2[_0x486fa7(0x313)],_0x261f35=this['cursorInfo'];_0x261f35[_0x486fa7(0x37f)](_0x1510ac),this['_cursorInfo$'][_0x486fa7(0x144)](_0x261f35);}['_toggleOnline'](){const _0x350275=_0x1d598f;var _0x51593a;if(this[_0x350275(0x381)]=!0x0,((_0x51593a=this['_univerInstanceService'][_0x350275(0x1c1)]())==null?void 0x0:_0x51593a[_0x350275(0x149)]())!==this[_0x350275(0x226)])return;const _0x55a57d=this['_injector'][_0x350275(0x208)](_0x3f5683[_0x350275(0x190)])['getDocRanges']();Array[_0x350275(0x39f)](_0x55a57d)&&_0x55a57d[_0x350275(0x219)]>0x0&&this[_0x350275(0x3e0)](_0x55a57d);}[_0x1d598f(0x35e)](){const _0x592d7d=_0x1d598f;this[_0x592d7d(0x381)]=!0x1;}};_0x3d3ba0=_0x5d74ce([_0x136e68(0x2,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0x136e68(0x3,_0x575825[_0x1d598f(0x280)](_0x530293)),_0x136e68(0x4,_0x575825[_0x1d598f(0x280)](_0x3eed55[_0x1d598f(0x193)])),_0x136e68(0x5,_0x575825['Inject'](_0x3184f8)),_0x136e68(0x6,_0x382605[_0x1d598f(0x1ee)]),_0x136e68(0x7,_0x575825[_0x1d598f(0x22c)]),_0x136e68(0x8,_0x575825[_0x1d598f(0x27a)])],_0x3d3ba0);var _0x187caf=Object[_0x1d598f(0x2a6)],_0x57afa8=(_0x4ca607,_0x5b1d27,_0x1a88db,_0x1ae041)=>{for(var _0x1d752b=_0x1ae041>0x1?void 0x0:_0x1ae041?_0x187caf(_0x5b1d27,_0x1a88db):_0x5b1d27,_0x5816f7=_0x4ca607['length']-0x1,_0x3c77ca;_0x5816f7>=0x0;_0x5816f7--)(_0x3c77ca=_0x4ca607[_0x5816f7])&&(_0x1d752b=_0x3c77ca(_0x1d752b)||_0x1d752b);return _0x1d752b;},_0xda225c=(_0x28ee99,_0x45bf23)=>(_0x8c6b7e,_0x459aa6)=>_0x45bf23(_0x8c6b7e,_0x459aa6,_0x28ee99);const _0x3227f4=0x12c,_0x43e893=0x64,_0x4c5a3b=()=>{let _0x556c9e=[],_0x11a64c=!0x1;return _0x2e2b65=>{const _0x829e49=_0x3243;_0x556c9e[_0x829e49(0x337)](_0x2e2b65),_0x11a64c||(_0x11a64c=!0x0,setTimeout(()=>{const _0x144ae0=_0x829e49;_0x556c9e[_0x144ae0(0x34f)](_0x36f4d7=>_0x36f4d7()),_0x556c9e=[],_0x11a64c=!0x1;}));};};let _0xa322ec=class extends _0x575825[_0x1d598f(0x1d7)]{constructor(_0x4b2980,_0x5e9247,_0x43adbe,_0x22dbfe,_0x16100c,_0x2edddd,_0x1e9e68,_0x4ea3ae){const _0x8c490a=_0x1d598f;super(),_0x407fe5(this,'_online',!0x1),_0x407fe5(this,'_init',!0x1),_0x407fe5(this,_0x8c490a(0x37b),new _0x10129d[(_0x8c490a(0x2fe))](new Map())),_0x407fe5(this,_0x8c490a(0x39d),this['_cursorInfo$'][_0x8c490a(0x20b)]()),_0x407fe5(this,_0x8c490a(0x2b6),new _0x10129d[(_0x8c490a(0x2fe))]([])),_0x407fe5(this,_0x8c490a(0x299),this['_roomMembers$'][_0x8c490a(0x377)](_0x10129d[_0x8c490a(0x265)](_0x3227f4))),_0x407fe5(this,_0x8c490a(0x3e0),_0x575825[_0x8c490a(0x35c)]((_0x293a10,_0x49cfde)=>{const _0x1ab2df=_0x8c490a,_0x3e6131={'eventID':_0x382605['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1ab2df(0x226)],'memberID':this['_session']['getMemberID'](),'selection':_0x50b51e[_0x1ab2df(0x3d5)](_0x293a10,_0x49cfde[_0x1ab2df(0x2d2)])}};this[_0x1ab2df(0x2ec)][_0x1ab2df(0x222)](_0x3e6131,this['unitID']);},_0x43e893)),(this[_0x8c490a(0x226)]=_0x4b2980,this[_0x8c490a(0x2ec)]=_0x5e9247,this[_0x8c490a(0x237)]=_0x43adbe,this[_0x8c490a(0x1ef)]=_0x22dbfe,this[_0x8c490a(0x161)]=_0x16100c,this[_0x8c490a(0x3c3)]=_0x2edddd,this[_0x8c490a(0x263)]=_0x1e9e68,this[_0x8c490a(0x194)]=_0x4ea3ae);}get[_0x1d598f(0x178)](){const _0x51c034=_0x1d598f;return this[_0x51c034(0x37b)]['getValue']();}get[_0x1d598f(0x145)](){return this['_roomMembers$']['getValue']();}[_0x1d598f(0x189)](){const _0x48d72c=_0x1d598f;super[_0x48d72c(0x189)](),this[_0x48d72c(0x37b)]['next'](new Map()),this['_cursorInfo$'][_0x48d72c(0x3de)](),this[_0x48d72c(0x2b6)][_0x48d72c(0x144)]([]),this[_0x48d72c(0x2b6)][_0x48d72c(0x3de)]();}[_0x1d598f(0x229)](){const _0x325e21=_0x1d598f;this[_0x325e21(0x31a)]||(this[_0x325e21(0x31a)]=!0x0,this[_0x325e21(0x2ec)][_0x325e21(0x19c)][_0x325e21(0x377)](_0x10129d[_0x325e21(0x1a4)](this[_0x325e21(0x1eb)]))[_0x325e21(0x1bd)](_0x4ea607=>{const _0xc967ba=_0x325e21;_0x4ea607===_0x3eed55[_0xc967ba(0x33e)][_0xc967ba(0x1fb)]?this[_0xc967ba(0x2de)]():this['_toggleOffline']();}),this[_0x325e21(0x2ec)]['event$'][_0x325e21(0x377)](_0x10129d['takeUntil'](this['dispose$']))[_0x325e21(0x1bd)](_0x197ed3=>{const _0x4c2141=_0x325e21,_0x2414f6=_0x197ed3[_0x4c2141(0x2ba)];_0x2414f6===_0x382605[_0x4c2141(0x174)][_0x4c2141(0x2bc)]&&this[_0x4c2141(0x404)](_0x197ed3),_0x2414f6===_0x382605[_0x4c2141(0x174)][_0x4c2141(0x2c1)]&&this[_0x4c2141(0x419)](_0x197ed3);}),this[_0x325e21(0x373)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x3b62f6=>{const _0x4d8545=_0x325e21;if(this[_0x4d8545(0x381)]&&_0x3b62f6['id']===_0x3f4762[_0x4d8545(0x293)]['id']&&_0x3b62f6[_0x4d8545(0x2ed)]['unitId']===this[_0x4d8545(0x226)]){const _0x9c0058=_0x3b62f6['params'];this[_0x4d8545(0x3e0)](_0x9c0058[_0x4d8545(0x3c5)],_0x9c0058[_0x4d8545(0x382)][0x0]);}})));}[_0x1d598f(0x404)](_0x22b5de){const _0x27d0c6=_0x1d598f;var _0x472354,_0x2bb377;const {memberID:_0x1b9a8f,selection:_0x57c6c8}=_0x22b5de[_0x27d0c6(0x313)],{sheetName:_0x1d988d,range:_0xb3a6a1}=_0x50b51e['deserializeRangeWithSheet'](_0x57c6c8),_0x192c3d={'name':(_0x2bb377=(_0x472354=this[_0x27d0c6(0x161)][_0x27d0c6(0x17f)](this['unitID'],_0x1b9a8f))==null?void 0x0:_0x472354[_0x27d0c6(0x2a4)])!=null?_0x2bb377:_0x27d0c6(0x3b3),'range':this[_0x27d0c6(0x1b3)](_0x1d988d,_0xb3a6a1),'sheetID':_0x1d988d,'color':this[_0x27d0c6(0x1ef)][_0x27d0c6(0x180)](_0x1b9a8f),'selection':_0x57c6c8},_0x1db3f9=this[_0x27d0c6(0x178)];_0x1db3f9['set'](_0x1b9a8f,_0x192c3d),this[_0x27d0c6(0x37b)][_0x27d0c6(0x144)](_0x1db3f9);}[_0x1d598f(0x419)](_0x5efcb5){const _0x26da1e=_0x1d598f,{memberID:_0x1d8505}=_0x5efcb5['data'],_0x2a60f4=this[_0x26da1e(0x178)];_0x2a60f4[_0x26da1e(0x37f)](_0x1d8505),this[_0x26da1e(0x37b)][_0x26da1e(0x144)](_0x2a60f4);}[_0x1d598f(0x1b3)](_0x2b4685,_0x15880e){const _0xbfd0a6=_0x1d598f;var _0x586fb,_0x377317;const _0x4cca90=(_0x377317=(_0x586fb=this[_0xbfd0a6(0x3c3)][_0xbfd0a6(0x37e)](this[_0xbfd0a6(0x226)]))==null?void 0x0:_0x586fb[_0xbfd0a6(0x421)](_0x2b4685))==null?void 0x0:_0x377317[_0xbfd0a6(0x383)]();return(_0x4cca90==null?void 0x0:_0x4cca90[_0xbfd0a6(0x204)](_0x59196c=>_0x575825[_0xbfd0a6(0x1d8)][_0xbfd0a6(0x332)](_0x59196c,_0x15880e)))||_0x15880e;}[_0x1d598f(0x373)](){const _0x2ba5e8=_0x1d598f,_0x4fbdf2=new _0x575825[(_0x2ba5e8(0x409))](),_0x5c2572=_0x4c5a3b(),_0x5b04d9=()=>{const _0x4d5953=_0x2ba5e8;_0x4fbdf2[_0x4d5953(0x189)]();const _0x1208a0=(_0x36a200,_0x1b9cda,_0x5a756c,_0x3e66f1)=>{const _0x4aa2d8=_0x4d5953;let _0x52f287=[];switch(_0x36a200['id']){case _0x3f4762[_0x4aa2d8(0x2dd)]['DeleteRangeMoveLeftCommandId']:{_0x52f287=_0x3f4762[_0x4aa2d8(0x2ea)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)]['DeleteRangeMoveUpCommandId']:{_0x52f287=_0x3f4762[_0x4aa2d8(0x2b3)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)]['InsertColCommandId']:{_0x52f287=_0x3f4762[_0x4aa2d8(0x17b)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)]['InsertRangeMoveDownCommandId']:{_0x52f287=_0x3f4762[_0x4aa2d8(0x33f)](_0x36a200,_0x3e66f1);break;}case _0x3f4762['EffectRefRangId'][_0x4aa2d8(0x17a)]:{_0x52f287=_0x3f4762[_0x4aa2d8(0x22e)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)][_0x4aa2d8(0x213)]:{_0x52f287=_0x3f4762[_0x4aa2d8(0x3c7)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)][_0x4aa2d8(0x3cf)]:{_0x52f287=_0x3f4762[_0x4aa2d8(0x22b)](_0x36a200,_0x3e66f1);break;}case _0x3f4762[_0x4aa2d8(0x2dd)][_0x4aa2d8(0x309)]:{_0x52f287=_0x3f4762[_0x4aa2d8(0x2e0)](_0x36a200,_0x3e66f1);break;}case _0x3f4762['EffectRefRangId']['RemoveRowCommandId']:{_0x52f287=_0x3f4762['handleIRemoveRow'](_0x36a200,_0x3e66f1);break;}}const _0x4e4a10=_0x3f4762[_0x4aa2d8(0x351)](_0x52f287,_0x3e66f1),_0x22c5f6=this[_0x4aa2d8(0x178)][_0x4aa2d8(0x208)](_0x1b9cda);if(_0x22c5f6&&_0x4e4a10){const _0x513218={..._0x22c5f6,'range':_0x4e4a10};this[_0x4aa2d8(0x178)][_0x4aa2d8(0x38d)](_0x1b9cda,_0x513218),_0x5c2572(()=>{const _0x4e55a5=_0x4aa2d8,_0x14c51d=this[_0x4e55a5(0x194)][_0x4e55a5(0x35b)](_0x4e4a10,_0xcdd8de=>(_0x14c51d[_0x4e55a5(0x189)](),_0x1208a0(_0xcdd8de,_0x1b9cda,_0x5a756c,_0x4e4a10)));_0x4fbdf2['add'](_0x14c51d);});}return{'redos':[],'undos':[]};};this[_0x4d5953(0x178)][_0x4d5953(0x34f)]((_0x120be2,_0x278f1e)=>{const _0x75c0d0=_0x4d5953,{range:_0x52b372,sheetID:_0xfe8680}=_0x120be2,_0x583b60=this[_0x75c0d0(0x194)][_0x75c0d0(0x35b)](_0x52b372,_0x1a9890=>(_0x583b60[_0x75c0d0(0x189)](),_0x1208a0(_0x1a9890,_0x278f1e,_0xfe8680,_0x52b372)));_0x4fbdf2[_0x75c0d0(0x41c)](_0x583b60);});};this['disposeWithMe'](_0x575825[_0x2ba5e8(0x1c8)](this[_0x2ba5e8(0x37b)][_0x2ba5e8(0x1bd)](()=>{_0x5b04d9();})));}[_0x1d598f(0x2de)](){const _0x5ec35f=_0x1d598f;var _0x260b2b,_0x849726;if(this['_online']=!0x0,((_0x260b2b=this[_0x5ec35f(0x3c3)][_0x5ec35f(0x1c1)]())==null?void 0x0:_0x260b2b[_0x5ec35f(0x149)]())!==this[_0x5ec35f(0x226)])return;const _0x47d3af=(_0x849726=this['_injector'][_0x5ec35f(0x208)](_0x3f4762[_0x5ec35f(0x1f0)])[_0x5ec35f(0x146)]())==null?void 0x0:_0x849726[0x0],_0xd700f5=this[_0x5ec35f(0x3c3)][_0x5ec35f(0x171)](_0x575825['UniverInstanceType'][_0x5ec35f(0x1e7)])[_0x5ec35f(0x150)]();_0x47d3af&&_0xd700f5&&this[_0x5ec35f(0x3e0)](_0xd700f5[_0x5ec35f(0x186)](),_0x47d3af);}['_toggleOffline'](){const _0x13481f=_0x1d598f;this[_0x13481f(0x381)]=!0x1;}};_0xa322ec=_0x57afa8([_0xda225c(0x2,_0x575825[_0x1d598f(0x280)](_0x575825['Injector'])),_0xda225c(0x3,_0x575825['Inject'](_0x530293)),_0xda225c(0x4,_0x575825[_0x1d598f(0x280)](_0x3eed55[_0x1d598f(0x193)])),_0xda225c(0x5,_0x575825[_0x1d598f(0x22c)]),_0xda225c(0x6,_0x575825[_0x1d598f(0x27a)]),_0xda225c(0x7,_0x575825[_0x1d598f(0x280)](_0x3f4762[_0x1d598f(0x232)]))],_0xa322ec);var _0x1ff4b3=Object[_0x1d598f(0x2a6)],_0x139ac1=(_0x5f3595,_0x2c2bc2,_0x8b3f8f,_0x130df9)=>{const _0x331431=_0x1d598f;for(var _0x26dffd=_0x130df9>0x1?void 0x0:_0x130df9?_0x1ff4b3(_0x2c2bc2,_0x8b3f8f):_0x2c2bc2,_0x2be608=_0x5f3595[_0x331431(0x219)]-0x1,_0x5ebd69;_0x2be608>=0x0;_0x2be608--)(_0x5ebd69=_0x5f3595[_0x2be608])&&(_0x26dffd=_0x5ebd69(_0x26dffd)||_0x26dffd);return _0x26dffd;},_0x19303b=(_0x9f2654,_0x493e75)=>(_0x516a31,_0x4f7e27)=>_0x493e75(_0x516a31,_0x4f7e27,_0x9f2654);let _0x3093f1=class extends _0x575825[_0x1d598f(0x1d7)]{constructor(_0x3d45eb,_0x8392f3,_0x67814c){const _0x6f9870=_0x1d598f;super(),_0x407fe5(this,_0x6f9870(0x297),new Map()),_0x407fe5(this,_0x6f9870(0x3a6),new _0x10129d[(_0x6f9870(0x2a2))]()),(this[_0x6f9870(0x3c3)]=_0x3d45eb,this['_injector']=_0x8392f3,this[_0x6f9870(0x259)]=_0x67814c,this[_0x6f9870(0x31a)]());}[_0x1d598f(0x189)](){const _0x55d6c7=_0x1d598f;super[_0x55d6c7(0x189)](),this[_0x55d6c7(0x3a6)][_0x55d6c7(0x3de)](),this[_0x55d6c7(0x297)]['forEach'](_0x5c37d0=>_0x5c37d0[_0x55d6c7(0x189)]());}[_0x1d598f(0x408)](_0x810703){const _0x10b0da=_0x1d598f;return this[_0x10b0da(0x297)][_0x10b0da(0x24c)](_0x810703)?this[_0x10b0da(0x297)][_0x10b0da(0x208)](_0x810703)[_0x10b0da(0x39d)]:this[_0x10b0da(0x3a6)]['pipe'](_0x10129d[_0x10b0da(0x3c8)](_0x208872=>_0x208872[_0x10b0da(0x226)]===_0x810703),_0x10129d[_0x10b0da(0x38e)](_0x5bfc16=>_0x5bfc16[_0x10b0da(0x39d)]));}[_0x1d598f(0x31a)](){const _0x45985e=_0x1d598f;this[_0x45985e(0x3c3)]['getTypeOfUnitAdded$'](_0x575825[_0x45985e(0x1c4)]['UNIVER_SHEET'])['pipe'](_0x10129d[_0x45985e(0x1a4)](this[_0x45985e(0x1eb)]))['subscribe'](async _0x5924eb=>{const _0x42e272=_0x45985e,_0x4ddcb4=_0x5924eb['getUnitId'](),_0x31ba2b=await this[_0x42e272(0x25b)](_0x4ddcb4);this[_0x42e272(0x3a6)][_0x42e272(0x144)](_0x31ba2b),this[_0x42e272(0x297)][_0x42e272(0x38d)](_0x4ddcb4,_0x31ba2b);}),this[_0x45985e(0x3c3)]['getTypeOfUnitAdded$'](_0x575825['UniverInstanceType'][_0x45985e(0x425)])[_0x45985e(0x377)](_0x10129d[_0x45985e(0x1a4)](this[_0x45985e(0x1eb)]))['pipe'](_0x10129d['filter'](_0x516e0c=>!_0x516e0c[_0x45985e(0x149)]()[_0x45985e(0x2ff)]('__')))[_0x45985e(0x1bd)](async _0x25fc0d=>{const _0x14262a=_0x45985e,_0x3959b4=_0x25fc0d['getUnitId'](),_0x4453c0=await this[_0x14262a(0x338)](_0x3959b4);this[_0x14262a(0x3a6)][_0x14262a(0x144)](_0x4453c0),this['_entities'][_0x14262a(0x38d)](_0x3959b4,_0x4453c0);}),_0x10129d['merge'](this[_0x45985e(0x3c3)][_0x45985e(0x15b)](_0x575825['UniverInstanceType'][_0x45985e(0x425)]),this[_0x45985e(0x3c3)][_0x45985e(0x15b)](_0x575825[_0x45985e(0x1c4)][_0x45985e(0x1e7)]))[_0x45985e(0x377)](_0x10129d[_0x45985e(0x1a4)](this[_0x45985e(0x1eb)]))[_0x45985e(0x1bd)](_0x2ac7c7=>{const _0x1a6dc1=_0x45985e,_0x3a9a1d=_0x2ac7c7[_0x1a6dc1(0x149)](),_0x5deba7=this[_0x1a6dc1(0x297)][_0x1a6dc1(0x208)](_0x3a9a1d);_0x5deba7&&(_0x5deba7[_0x1a6dc1(0x189)](),this['_entities'][_0x1a6dc1(0x37f)](_0x3a9a1d));});}async[_0x1d598f(0x25b)](_0x28d52f){const _0x15d403=_0x1d598f,_0x50a46b=await this[_0x15d403(0x259)][_0x15d403(0x20f)](_0x28d52f),_0x6aaebe=this[_0x15d403(0x237)][_0x15d403(0x29f)](_0xa322ec,_0x28d52f,_0x50a46b);return _0x6aaebe[_0x15d403(0x229)](),_0x6aaebe;}async['_startDocCollabCursor'](_0x110a3d){const _0x5848a9=_0x1d598f,_0x39d483=await this[_0x5848a9(0x259)][_0x5848a9(0x20f)](_0x110a3d),_0xda2053=this['_injector'][_0x5848a9(0x29f)](_0x3d3ba0,_0x110a3d,_0x39d483);return _0xda2053[_0x5848a9(0x229)](),_0xda2053;}};_0x3093f1=_0x139ac1([_0x19303b(0x0,_0x575825['IUniverInstanceService']),_0x19303b(0x1,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0x19303b(0x2,_0x575825[_0x1d598f(0x280)](_0x3eed55[_0x1d598f(0x162)]))],_0x3093f1);const _0xf49afa=0x14,_0x52cce2=0xc8,_0x4d15bb=0x4,_0x199dbf=0x5;function _0xbbcedc(_0x4b0987,_0x48c1af){const _0x17ee30=_0x1d598f;let {radius:_0x56b068,width:_0x3f9b5f,height:_0x43fb36}=_0x48c1af;_0x56b068=_0x56b068!=null?_0x56b068:0x0,_0x3f9b5f=_0x3f9b5f!=null?_0x3f9b5f:0x1e,_0x43fb36=_0x43fb36!=null?_0x43fb36:0x1e;let _0x563cec=0x0,_0x4e046b=0x0,_0x58bce1=0x0;_0x563cec=_0x4e046b=_0x58bce1=Math[_0x17ee30(0x28d)](_0x56b068,_0x3f9b5f/0x2,_0x43fb36/0x2),_0x4b0987[_0x17ee30(0x390)](),_0x4b0987[_0x17ee30(0x3da)](_0x563cec,0x0),_0x4b0987[_0x17ee30(0x3c9)](_0x3f9b5f-_0x4e046b,0x0),_0x4b0987[_0x17ee30(0x1b1)](_0x3f9b5f-_0x4e046b,_0x4e046b,_0x4e046b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4b0987['lineTo'](_0x3f9b5f,_0x43fb36-_0x58bce1),_0x4b0987[_0x17ee30(0x1b1)](_0x3f9b5f-_0x58bce1,_0x43fb36-_0x58bce1,_0x58bce1,0x0,Math['PI']/0x2,!0x1),_0x4b0987[_0x17ee30(0x3c9)](0x0,_0x43fb36),_0x4b0987[_0x17ee30(0x3c9)](0x0,_0x563cec),_0x4b0987[_0x17ee30(0x1b1)](_0x563cec,_0x563cec,_0x563cec,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4b0987[_0x17ee30(0x3b1)](),_0x48c1af['fill']&&(_0x4b0987[_0x17ee30(0x19d)](),_0x4b0987['fillStyle']=_0x48c1af['fill'],_0x48c1af[_0x17ee30(0x328)]===_0x17ee30(0x369)?_0x4b0987[_0x17ee30(0x363)](_0x17ee30(0x369)):_0x4b0987['fill'](),_0x4b0987['restore']());}class _0x71eefc extends _0x3faa66['Shape']{constructor(_0x179a4c,_0x51dbcc){const _0x5b4d72=_0x1d598f;super(_0x179a4c,_0x51dbcc),_0x407fe5(this,_0x5b4d72(0x28b)),_0x407fe5(this,_0x5b4d72(0x1bc)),(this['color']=_0x51dbcc==null?void 0x0:_0x51dbcc[_0x5b4d72(0x28b)],this[_0x5b4d72(0x1bc)]=_0x51dbcc==null?void 0x0:_0x51dbcc['text']);}static[_0x1d598f(0x17d)](_0x4a3bfc,_0x4eaa9f){const _0x36f0ce=_0x1d598f,{text:_0x1b487f,color:_0x172a0c}=_0x4eaa9f;_0x4a3bfc[_0x36f0ce(0x19d)](),_0x4a3bfc['font']=_0x36f0ce(0x339);const _0x394edf=_0x4a3bfc[_0x36f0ce(0x2c9)](_0x1b487f)[_0x36f0ce(0x354)],_0x47b539=Math[_0x36f0ce(0x28d)](_0x394edf+0x2*_0x4d15bb,_0x52cce2);_0xbbcedc(_0x4a3bfc,{'height':_0xf49afa,'radius':0x4,'width':_0x47b539,'fill':_0x172a0c}),_0x4a3bfc[_0x36f0ce(0x1e4)]=_0x36f0ce(0x167);const _0x1df5cd=_0x4d15bb,_0x4814bd=_0xf49afa-_0x199dbf,_0x350190=_0x52cce2-0x2*_0x4d15bb;if(_0x394edf>_0x350190){let _0x5b28a4='',_0x1182fd=0x0;for(const _0x5c341a of _0x1b487f){const _0x134287=_0x4a3bfc[_0x36f0ce(0x2c9)](_0x5c341a)[_0x36f0ce(0x354)];if(_0x1182fd+_0x134287<=_0x350190-_0x4a3bfc[_0x36f0ce(0x2c9)]('...')[_0x36f0ce(0x354)])_0x5b28a4+=_0x5c341a,_0x1182fd+=_0x134287;else{_0x5b28a4+=_0x36f0ce(0x2d6);break;}}_0x4a3bfc[_0x36f0ce(0x423)](_0x5b28a4,_0x1df5cd,_0x4814bd);}else _0x4a3bfc[_0x36f0ce(0x423)](_0x1b487f,_0x1df5cd,_0x4814bd);_0x4a3bfc[_0x36f0ce(0x295)]();}[_0x1d598f(0x14d)](_0x3273d7){_0x71eefc['drawWith'](_0x3273d7,this);}}const _0x2e95c6='collab-text-anchor-',_0x43b277=_0x1d598f(0x205),_0x14266e='collab-rect-range-',_0x43a67b=0x6,_0x1dfb59=1.5,_0x36f3ae=0x4,_0x30bb75=1.5,_0x4497e4=_0x1d598f(0x24a);class _0xa626d9{constructor(_0x556a64,_0x26a35a,_0x3644b6,_0x63bc13){const _0x146256=_0x1d598f;_0x407fe5(this,_0x146256(0x181),[]),_0x407fe5(this,_0x146256(0x2a9),null),_0x407fe5(this,_0x146256(0x298),null),_0x407fe5(this,_0x146256(0x39c),null),_0x407fe5(this,_0x146256(0x282),null),_0x407fe5(this,_0x146256(0x3c0),null),(this[_0x146256(0x3f2)]=_0x556a64,this[_0x146256(0x344)]=_0x26a35a,this[_0x146256(0x296)]=_0x3644b6,this[_0x146256(0x415)]=_0x63bc13,this[_0x146256(0x276)]());}set[_0x1d598f(0x151)](_0x542692){const _0x244dad=_0x1d598f;_0x542692?(this[_0x244dad(0x39c)]&&this[_0x244dad(0x39c)][_0x244dad(0x3b5)](),this[_0x244dad(0x298)]&&this[_0x244dad(0x298)][_0x244dad(0x370)]()):(this[_0x244dad(0x39c)]&&this[_0x244dad(0x39c)][_0x244dad(0x370)](),this['_textBubble']&&this[_0x244dad(0x298)][_0x244dad(0x3b5)]());}['dispose'](){const _0x412a55=_0x1d598f;for(const _0x5323f2 of this['_shapes'])_0x5323f2[_0x412a55(0x189)]();this[_0x412a55(0x298)]&&this[_0x412a55(0x298)][_0x412a55(0x189)](),this[_0x412a55(0x39c)]&&this[_0x412a55(0x39c)][_0x412a55(0x189)](),this['_anchor']&&this[_0x412a55(0x2a9)][_0x412a55(0x189)](),this[_0x412a55(0x3c0)]&&this['_eventUnsubscribe']();}[_0x1d598f(0x276)](){const _0x1f8fca=_0x1d598f;var _0x12d036;const {_docSkeleton:_0x498133,_document:_0x5844b1}=this,{color:_0x4488aa,name:_0x31372f,ranges:_0x22c0a5}=this['_cursor'],_0xe81758=_0x5844b1[_0x1f8fca(0x389)](),{docsLeft:_0x29f4bc,docsTop:_0x344253}=_0xe81758,_0x2a9c05=new _0x312d5b[(_0x1f8fca(0x22a))](_0xe81758,_0x498133);for(const {startOffset:_0x3ec032,endOffset:_0x21e51d,rangeType:_0x120e25,segmentId:_0x3dc487,segmentPage:_0x3cc3d9,collapsed:_0x40d10d,isActive:_0x113610}of _0x22c0a5){const _0x468dcf=_0x498133[_0x1f8fca(0x406)](_0x3ec032,!0x0,_0x3dc487,_0x3cc3d9);let _0xe7b50d=_0x498133[_0x1f8fca(0x406)](_0x21e51d,!0x0,_0x3dc487,_0x3cc3d9);if(_0xe7b50d==null&&(_0xe7b50d=_0x498133[_0x1f8fca(0x406)](_0x21e51d-0x1,!0x1,_0x3dc487,_0x3cc3d9)),_0x113610){const {contentBoxPointGroup:_0x4d8cfa}=_0x2a9c05[_0x1f8fca(0x385)](_0xe7b50d,_0xe7b50d);if(_0x4d8cfa[_0x1f8fca(0x219)]===0x0)continue;this[_0x1f8fca(0x1ca)](_0x4488aa,_0x4d8cfa,_0x29f4bc,_0x344253,_0x31372f),this[_0x1f8fca(0x3c0)]=this[_0x1f8fca(0x392)]();}if(_0x468dcf&&_0xe7b50d){if(_0x120e25===_0x575825['DOC_RANGE_TYPE'][_0x1f8fca(0x341)]){const _0x301ab1=new _0x312d5b[(_0x1f8fca(0x3cb))](_0xe81758,_0x498133),{pointGroup:_0x4b449a}=(_0x12d036=_0x301ab1['getRangePointData'](_0x468dcf,_0xe7b50d))!=null?_0x12d036:{};if(_0x4b449a==null||_0x4b449a[_0x1f8fca(0x219)]===0x0)continue;this[_0x1f8fca(0x2b7)](_0x4488aa,_0x4b449a,_0x29f4bc,_0x344253);}else{if(!_0x40d10d){const {borderBoxPointGroup:_0x1baa78}=_0x2a9c05[_0x1f8fca(0x385)](_0x468dcf,_0xe7b50d);if(_0x1baa78[_0x1f8fca(0x219)]===0x0)continue;this[_0x1f8fca(0x253)](_0x4488aa,_0x1baa78,_0x29f4bc,_0x344253);}}}}}['_drawAnchor'](_0x549c62,_0x3db293,_0x38f873,_0x5a7402,_0xb9567b){const _0x168eed=_0x1d598f,_0x17386c=this['_getAnchorBounding'](_0x3db293),{left:_0x2fb10b,top:_0x1e5d28,height:_0x467ac6}=_0x17386c,_0x334df4=this[_0x168eed(0x192)](),_0x10b67e=_0x30bb75/_0x334df4,_0x1d4063=new _0x3faa66[(_0x168eed(0x334))](_0x2e95c6+_0x575825[_0x168eed(0x1c9)](_0x43a67b),{'left':_0x2fb10b+_0x38f873-_0x10b67e,'top':_0x1e5d28+_0x5a7402,'height':_0x467ac6,'width':_0x1dfb59,'fill':_0x549c62||_0x3faa66[_0x168eed(0x3ef)](_0x575825[_0x168eed(0x304)][_0x168eed(0x31d)],0x0),'strokeWidth':_0x10b67e,'stroke':_0x4497e4,'evented':!0x0});this[_0x168eed(0x2a9)]=_0x1d4063,this['_scene'][_0x168eed(0x29e)](_0x1d4063,_0x312d5b[_0x168eed(0x386)]);const _0x51c390=new _0x3faa66[(_0x168eed(0x334))](_0x2e95c6+_0x575825[_0x168eed(0x1c9)](_0x43a67b),{'left':_0x2fb10b+_0x38f873-_0x10b67e,'top':_0x1e5d28+_0x5a7402-_0x36f3ae/0x2,'height':_0x36f3ae,'width':_0x36f3ae,'fill':_0x549c62||_0x3faa66[_0x168eed(0x3ef)](_0x575825[_0x168eed(0x304)][_0x168eed(0x31d)],0x0),'strokeWidth':0x0,'stroke':_0x549c62||_0x3faa66['getColor'](_0x575825[_0x168eed(0x304)][_0x168eed(0x31d)],0x0),'evented':!0x1});this[_0x168eed(0x39c)]=_0x51c390,this[_0x168eed(0x344)][_0x168eed(0x29e)](_0x51c390,_0x312d5b[_0x168eed(0x386)]);const _0x19787c=new _0x71eefc(_0x2e95c6+_0x575825['generateRandomId'](_0x43a67b),{'left':_0x2fb10b+_0x38f873-_0x10b67e,'top':_0x1e5d28+_0x5a7402-_0xf49afa,'text':_0xb9567b,'color':_0x549c62});this[_0x168eed(0x298)]=_0x19787c,this['_scene']['addObject'](_0x19787c,_0x312d5b[_0x168eed(0x386)]),this[_0x168eed(0x151)]=!0x1;}[_0x1d598f(0x392)](){const _0x5b54ed=_0x1d598f,_0x1fb5fd=this[_0x5b54ed(0x2a9)]['onPointerEnter$'][_0x5b54ed(0x343)](()=>{const _0x33cf35=_0x5b54ed;this[_0x33cf35(0x151)]=!0x0;}),_0x2ca942=this[_0x5b54ed(0x2a9)][_0x5b54ed(0x3b7)][_0x5b54ed(0x343)](()=>{const _0x3709bd=_0x5b54ed;this[_0x3709bd(0x282)]&&clearTimeout(this[_0x3709bd(0x282)]),this[_0x3709bd(0x282)]=setTimeout(()=>{const _0x5d7614=_0x3709bd;this[_0x5d7614(0x151)]=!0x1;},0x7d0);});return()=>{const _0x4d9ceb=_0x5b54ed;_0x1fb5fd[_0x4d9ceb(0x1b0)](),_0x2ca942[_0x4d9ceb(0x1b0)]();};}[_0x1d598f(0x253)](_0x2087c3,_0x16ea2e,_0x215bb0,_0x4de9b9){const _0x10d074=_0x1d598f,_0x22222c=new _0x575825['ColorKit'](_0x2087c3)['setAlpha'](0.2)[_0x10d074(0x251)](),_0x3af1d4=new _0x3faa66[(_0x10d074(0x41e))](_0x43b277+_0x575825['generateRandomId'](_0x43a67b),{'pointsGroup':_0x16ea2e,'fill':_0x22222c||_0x3faa66[_0x10d074(0x3ef)](_0x575825['COLORS'][_0x10d074(0x31d)],0.2),'left':_0x215bb0,'top':_0x4de9b9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10d074(0x181)]['push'](_0x3af1d4),this[_0x10d074(0x344)][_0x10d074(0x29e)](_0x3af1d4,_0x312d5b['TEXT_RANGE_LAYER_INDEX']);}[_0x1d598f(0x2b7)](_0x54061c,_0x5a9b8a,_0x505198,_0x547348){const _0x40d661=_0x1d598f,_0x4d66ae=new _0x575825[(_0x40d661(0x2f4))](_0x54061c)['setAlpha'](0.2)['toRgbString'](),_0x42d38e=new _0x3faa66[(_0x40d661(0x41e))](_0x14266e+_0x575825[_0x40d661(0x1c9)](_0x43a67b),{'pointsGroup':_0x5a9b8a,'fill':_0x4d66ae||_0x3faa66[_0x40d661(0x3ef)](_0x575825[_0x40d661(0x304)][_0x40d661(0x31d)],0.2),'left':_0x505198,'top':_0x547348,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x40d661(0x181)][_0x40d661(0x337)](_0x42d38e),this[_0x40d661(0x344)][_0x40d661(0x29e)](_0x42d38e,_0x312d5b[_0x40d661(0x386)]);}[_0x1d598f(0x26f)](_0x3a886c){const _0x17784a=_0x3a886c[0x0],_0x5b76ce=_0x17784a[0x0],_0x5e5049=_0x17784a[0x2],{x:_0x2ebc9d,y:_0x732505}=_0x5b76ce,{x:_0x4fb279,y:_0x307a02}=_0x5e5049;return{'left':_0x2ebc9d,'top':_0x732505,'width':_0x4fb279-_0x2ebc9d,'height':_0x307a02-_0x732505};}[_0x1d598f(0x192)](){const _0x53a547=_0x1d598f,{scaleX:_0x371c20,scaleY:_0x4ba4fe}=this[_0x53a547(0x344)]['getAncestorScale']();return Math[_0x53a547(0x3a0)](_0x371c20,_0x4ba4fe);}}var _0x192773=Object[_0x1d598f(0x2a6)],_0x28fb20=(_0x589034,_0x6f5d58,_0xf13353,_0x4c5711)=>{const _0x1449fa=_0x1d598f;for(var _0x1241a3=_0x4c5711>0x1?void 0x0:_0x4c5711?_0x192773(_0x6f5d58,_0xf13353):_0x6f5d58,_0x33001c=_0x589034[_0x1449fa(0x219)]-0x1,_0x394a0a;_0x33001c>=0x0;_0x33001c--)(_0x394a0a=_0x589034[_0x33001c])&&(_0x1241a3=_0x394a0a(_0x1241a3)||_0x1241a3);return _0x1241a3;},_0x83dec4=(_0x3fd7c6,_0x5db967)=>(_0x534c4b,_0x5175ae)=>_0x5db967(_0x534c4b,_0x5175ae,_0x3fd7c6);let _0x6fa3e3=class extends _0x575825[_0x1d598f(0x1d7)]{constructor(_0x491922,_0x57f1a6,_0x22fef7,_0x4ec314,_0x20cfea){const _0x206a61=_0x1d598f;super(),_0x407fe5(this,_0x206a61(0x345),[]),_0x407fe5(this,_0x206a61(0x36b),[]),(this[_0x206a61(0x1d0)]=_0x491922,this[_0x206a61(0x23b)]=_0x57f1a6,this['_collabCursorController']=_0x22fef7,this[_0x206a61(0x263)]=_0x4ec314,this[_0x206a61(0x2fb)]=_0x20cfea,this[_0x206a61(0x31a)]());}[_0x1d598f(0x31a)](){const _0x1cc419=_0x1d598f,_0xb75322=this[_0x1cc419(0x1d0)][_0x1cc419(0x3ca)],_0x30e0e5=this[_0x1cc419(0x23b)];this[_0x1cc419(0x1c2)](_0x10129d['combineLatest']([this[_0x1cc419(0x33a)][_0x1cc419(0x408)](_0xb75322),this[_0x1cc419(0x2fb)][_0x1cc419(0x3a1)]])['pipe'](_0x30d1fc[_0x1cc419(0x335)](([_0x30473b,_0x50d1d6])=>({'skeleton':_0x30e0e5[_0x1cc419(0x342)](),'cursors':[..._0x30473b[_0x1cc419(0x14e)]()][_0x1cc419(0x3b8)](_0x2f69c0=>({..._0x2f69c0,'color':this[_0x1cc419(0x2fb)][_0x1cc419(0x20d)](_0x2f69c0[_0x1cc419(0x28b)])}))})))[_0x1cc419(0x1bd)](_0x233dff=>{const _0x2b22ad=_0x1cc419;if(this[_0x2b22ad(0x239)](),_0x233dff){const {skeleton:_0x5f55cb,cursors:_0x2fe700}=_0x233dff;this[_0x2b22ad(0x30e)](_0x5f55cb,_0x2fe700);}})),this[_0x1cc419(0x23d)](),this[_0x1cc419(0x264)]();}[_0x1d598f(0x30e)](_0x3d6969,_0x253301){const _0x46758d=_0x1d598f,{scene:_0x40ea39,mainComponent:_0x1b637c}=this[_0x46758d(0x1d0)],_0x498d26=_0x253301['map'](_0x514aa6=>new _0xa626d9(_0x514aa6,_0x40ea39,_0x3d6969,_0x1b637c));this[_0x46758d(0x345)]=_0x498d26,this[_0x46758d(0x36b)]=_0x253301;}['_refreshCollabCursors'](){const _0x37c2a0=_0x1d598f;this[_0x37c2a0(0x239)]();const {scene:_0x25f671,mainComponent:_0xb811fd}=this[_0x37c2a0(0x1d0)],_0x520f8f=this[_0x37c2a0(0x23b)][_0x37c2a0(0x342)](),_0x10c963=this['_cursors'][_0x37c2a0(0x335)](_0x41d5d3=>new _0xa626d9(_0x41d5d3,_0x25f671,_0x520f8f,_0xb811fd));this[_0x37c2a0(0x345)]=_0x10c963;}[_0x1d598f(0x239)](){const _0x944a0b=_0x1d598f;this['_cursorShapes']['forEach'](_0x4a7b27=>_0x4a7b27[_0x944a0b(0x189)]()),this[_0x944a0b(0x345)]=[];}[_0x1d598f(0x264)](){const _0x2b52da=_0x1d598f,_0x3eb3f3=[_0x312d5b['SetDocZoomRatioOperation']['id']];this[_0x2b52da(0x1c2)](this[_0x2b52da(0x263)][_0x2b52da(0x224)](_0x3e8a56=>{const _0x5badc8=_0x2b52da;_0x3eb3f3['includes'](_0x3e8a56['id'])&&_0x3e8a56[_0x5badc8(0x2ed)][_0x5badc8(0x3ca)]===this[_0x5badc8(0x1d0)][_0x5badc8(0x3ca)]&&this['_refreshCollabCursors']();}));}[_0x1d598f(0x23d)](){const _0x110eea=_0x1d598f;this[_0x110eea(0x1c2)](_0x575825[_0x110eea(0x21f)](this['_context'][_0x110eea(0x183)]['onTransformChange$'])[_0x110eea(0x377)](_0x30d1fc[_0x110eea(0x3c8)](_0x1eaa1a=>_0x1eaa1a[_0x110eea(0x3bf)]===_0x3faa66[_0x110eea(0x15c)][_0x110eea(0x359)]),_0x30d1fc[_0x110eea(0x3d4)](0x10))[_0x110eea(0x1bd)](()=>{const _0x56df37=_0x110eea;this[_0x56df37(0x201)]();}));}};_0x6fa3e3=_0x28fb20([_0x83dec4(0x1,_0x575825[_0x1d598f(0x280)](_0x3f5683[_0x1d598f(0x3cd)])),_0x83dec4(0x2,_0x575825['Inject'](_0x3093f1)),_0x83dec4(0x3,_0x575825[_0x1d598f(0x27a)]),_0x83dec4(0x4,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x2e4)]))],_0x6fa3e3);const _0x421fb3=0x1,_0x61abc2=1.5;class _0x4f7d08 extends _0x3faa66[_0x1d598f(0x153)]{constructor(_0x41594b,_0x25888f){const _0x4f07ce=_0x1d598f;super(_0x41594b,_0x25888f),_0x407fe5(this,_0x4f07ce(0x196)),_0x407fe5(this,'_hovered',!0x1),_0x407fe5(this,_0x4f07ce(0x3e8)),_0x407fe5(this,_0x4f07ce(0x176),''),_0x407fe5(this,_0x4f07ce(0x2a5),'top'),_0x407fe5(this,_0x4f07ce(0x36a)),(_0x25888f&&this[_0x4f07ce(0x3e6)](_0x25888f),this['onPointerEnter$'][_0x4f07ce(0x343)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4f07ce(0x343)](()=>this[_0x4f07ce(0x3e6)]({'hovered':!0x1})));}['setShapeProps'](_0xec613f){const _0x23aac5=_0x1d598f;var _0x40b659,_0x546c00,_0x4fe360,_0x437413,_0x1afc93,_0x518e55;this[_0x23aac5(0x196)]=(_0x40b659=_0xec613f['color'])!=null?_0x40b659:this[_0x23aac5(0x196)],this[_0x23aac5(0x24e)]=(_0x546c00=_0xec613f[_0x23aac5(0x39a)])!=null?_0x546c00:this[_0x23aac5(0x24e)],this[_0x23aac5(0x3e8)]=(_0x4fe360=_0xec613f[_0x23aac5(0x2d2)])!=null?_0x4fe360:this[_0x23aac5(0x3e8)],this[_0x23aac5(0x176)]=(_0x437413=_0xec613f['name'])!=null?_0x437413:this[_0x23aac5(0x176)],this[_0x23aac5(0x2a5)]=(_0x1afc93=_0xec613f[_0x23aac5(0x3d3)])!=null?_0x1afc93:this[_0x23aac5(0x2a5)],this['_backgroundColor']=(_0x518e55=_0xec613f[_0x23aac5(0x3ad)])!=null?_0x518e55:this[_0x23aac5(0x36a)],this[_0x23aac5(0x357)]({'width':_0xec613f[_0x23aac5(0x354)],'height':_0xec613f[_0x23aac5(0x20c)]});}[_0x1d598f(0x1ad)](_0x16c295){const _0x2fbc2a=_0x1d598f,{row:_0x431450,column:_0x423167}=_0x16c295;if(_0x431450>=this['_range']['startRow']&&_0x431450<=this[_0x2fbc2a(0x3e8)][_0x2fbc2a(0x21e)]&&_0x423167>=this[_0x2fbc2a(0x3e8)]['startColumn']&&_0x423167<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2fbc2a(0x3e6)]({'hovered':!0x1});}['triggerDblclick'](_0x1aa3a6){return!0x1;}[_0x1d598f(0x14d)](_0x33a0f9){const _0x1628cb=_0x1d598f;_0x3faa66[_0x1628cb(0x334)][_0x1628cb(0x17d)](_0x33a0f9,{'width':this['width'],'height':this[_0x1628cb(0x20c)],'strokeWidth':_0x61abc2,'stroke':this[_0x1628cb(0x196)],'evented':!0x1,'fill':this[_0x1628cb(0x36a)]}),this[_0x1628cb(0x24e)]&&(_0x33a0f9[_0x1628cb(0x19d)](),_0x33a0f9[_0x1628cb(0x3b9)](0x1,0x0,0x0,0x1,this[_0x1628cb(0x354)],this[_0x1628cb(0x2a5)]===_0x1628cb(0x3ee)?0x0:-_0xf49afa),_0x71eefc[_0x1628cb(0x17d)](_0x33a0f9,{'text':this[_0x1628cb(0x176)],'color':this[_0x1628cb(0x196)]}),_0x33a0f9[_0x1628cb(0x295)]());}}var _0x38751a=Object[_0x1d598f(0x2a6)],_0x9dad0f=(_0x92e017,_0x35ac8b,_0x50ba72,_0x4ab92d)=>{const _0x1f3699=_0x1d598f;for(var _0x54a0b5=_0x4ab92d>0x1?void 0x0:_0x4ab92d?_0x38751a(_0x35ac8b,_0x50ba72):_0x35ac8b,_0x1077bf=_0x92e017[_0x1f3699(0x219)]-0x1,_0x1af4f6;_0x1077bf>=0x0;_0x1077bf--)(_0x1af4f6=_0x92e017[_0x1077bf])&&(_0x54a0b5=_0x1af4f6(_0x54a0b5)||_0x54a0b5);return _0x54a0b5;},_0x5dded1=(_0x2f9f7d,_0x39c9fa)=>(_0x38766d,_0x1878f9)=>_0x39c9fa(_0x38766d,_0x1878f9,_0x2f9f7d);const _0x1ce021=0x1389;let _0x1d0c7b=class extends _0x575825[_0x1d598f(0x1d7)]{constructor(_0x3565bd,_0x49cf75,_0x357deb,_0xa66c07){const _0x25af1f=_0x1d598f;super(),_0x407fe5(this,_0x25af1f(0x36b),new Set()),_0x407fe5(this,'_lastPointer',null),(this['_context']=_0x3565bd,this[_0x25af1f(0x233)]=_0x49cf75,this[_0x25af1f(0x33a)]=_0x357deb,this[_0x25af1f(0x2fb)]=_0xa66c07,this[_0x25af1f(0x31a)]());}[_0x1d598f(0x31a)](){const _0x4b92e8=_0x1d598f;this['_sheetSkeletonManagerService'][_0x4b92e8(0x356)]['pipe'](_0x30d1fc[_0x4b92e8(0x1a4)](this[_0x4b92e8(0x1eb)]),_0x30d1fc['switchMap'](_0x52e85c=>{const _0x79c3a8=_0x4b92e8;if(_0x52e85c){const _0x3d57ab=_0x52e85c[_0x79c3a8(0x1f9)];return _0x10129d[_0x79c3a8(0x1f5)](this[_0x79c3a8(0x33a)][_0x79c3a8(0x408)](this[_0x79c3a8(0x1d0)][_0x79c3a8(0x3ca)]),this[_0x79c3a8(0x2fb)]['currentTheme$'])['pipe'](_0x30d1fc[_0x79c3a8(0x335)](([_0x2113f9,_0x214ac5])=>{const _0x372147=_0x79c3a8,_0x104b80=new Map();return _0x2113f9[_0x372147(0x34f)]((_0x35323c,_0x335186)=>{const _0x3db68a=_0x372147;if(_0x35323c[_0x3db68a(0x312)]===_0x3d57ab){const _0x219eb8={..._0x35323c};_0x219eb8['color']=this[_0x3db68a(0x2fb)][_0x3db68a(0x20d)](_0x35323c[_0x3db68a(0x28b)]),_0x104b80[_0x3db68a(0x38d)](_0x335186,_0x219eb8);}}),{'skeleton':_0x52e85c,'cursors':_0x104b80};}));}return _0x10129d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4ddf9d,cursors:_0x5ae5b4})=>{const _0x4757f4=_0x4b92e8;this[_0x4757f4(0x239)](),_0x4ddf9d&&this[_0x4757f4(0x30e)](_0x4ddf9d,_0x5ae5b4);}),this[_0x4b92e8(0x233)]['currentSkeleton$'][_0x4b92e8(0x1bd)](_0x55b587=>{const _0x4618ba=_0x4b92e8;if(_0x55b587==null)return;const {skeleton:_0x2a201b}=_0x55b587,{scene:_0x9f9cb4}=this[_0x4618ba(0x1d0)];_0x9f9cb4['onPointerMove$'][_0x4618ba(0x343)](_0x575825['debounce'](_0x4874d2=>{const _0x5bdba6=_0x4618ba;var _0x18f747,_0x5ad7b8;const {offsetX:_0x46e2b9,offsetY:_0x2ddaea}=_0x4874d2,{x:_0x2b378f,y:_0x5796b2}=_0x9f9cb4[_0x5bdba6(0x27b)](_0x3faa66[_0x5bdba6(0x394)][_0x5bdba6(0x3c6)]([_0x46e2b9,_0x2ddaea])),{scaleX:_0x32ea7e,scaleY:_0x5632f1}=_0x9f9cb4[_0x5bdba6(0x40c)](),_0x2e40=_0x9f9cb4[_0x5bdba6(0x257)](_0x3faa66[_0x5bdba6(0x2f6)][_0x5bdba6(0x2f7)]),_0x39d84e=_0x9f9cb4[_0x5bdba6(0x210)](_0x3faa66[_0x5bdba6(0x394)][_0x5bdba6(0x3c6)]([_0x2b378f,_0x5796b2]),_0x2e40),_0x535d79=_0x2a201b[_0x5bdba6(0x1a7)](_0x46e2b9,_0x2ddaea,_0x32ea7e,_0x5632f1,_0x39d84e);((_0x18f747=this[_0x5bdba6(0x2f0)])==null?void 0x0:_0x18f747[_0x5bdba6(0x1c0)])===_0x535d79['column']&&((_0x5ad7b8=this[_0x5bdba6(0x2f0)])==null?void 0x0:_0x5ad7b8[_0x5bdba6(0x401)])===_0x535d79[_0x5bdba6(0x401)]||this[_0x5bdba6(0x36b)][_0x5bdba6(0x34f)](_0x3a03f4=>{const _0x429b25=_0x5bdba6;_0x3a03f4[_0x429b25(0x1ad)](_0x535d79);});},0x64));});}['_updateCollabCursors'](_0x38396f,_0x5a6158){const _0x12c2be=_0x1d598f;var _0x4e0330;const _0x5a6a8c=(_0x4e0330=this[_0x12c2be(0x233)][_0x12c2be(0x216)]())==null?void 0x0:_0x4e0330[_0x12c2be(0x1ec)];if(!_0x5a6a8c)return;const _0x5bdfd6=this[_0x12c2be(0x3e1)]();if(!_0x5bdfd6)return;this['_cursors']['forEach'](_0x56b06f=>{const _0x2589d8=_0x12c2be;_0x56b06f[_0x2589d8(0x218)]();});const {scene:_0x2cb4e6}=_0x5bdfd6,_0x2a7948=_0x35ae58(Array[_0x12c2be(0x236)](_0x5a6158[_0x12c2be(0x14e)]()))[_0x12c2be(0x335)](_0x161be6=>{const _0x2dab5b=_0x12c2be,{color:_0x3dfaff,range:_0x429669,name:_0x9989,selection:_0x6e8ddd,sheetID:_0x90f764}=_0x161be6,{startColumn:_0x202680,startRow:_0x4b276b,endColumn:_0x256872,endRow:_0x246e94}=_0x429669,_0x3fa8f9=_0x19ff18[_0x2dab5b(0x217)](_0x4b276b,_0x202680,_0x2cb4e6,_0x5a6a8c),_0x313257=_0x19ff18[_0x2dab5b(0x217)](_0x246e94,_0x256872,_0x2cb4e6,_0x5a6a8c),{columnHeaderHeightAndMarginTop:_0x1f7c4c}=_0x5a6a8c,{startX:_0x4dcaee,startY:_0x32efff}=_0x3fa8f9,{endX:_0x5b36db,endY:_0x191f80}=_0x313257,_0x5d2a70=_0x5b36db-_0x4dcaee,_0xb344dc=_0x191f80-_0x32efff,_0x4ce455={'labelPosition':_0x32efff-_0x1f7c4c>=_0xf49afa?_0x2dab5b(0x160):'bottom','sheetID':_0x90f764,'range':_0x429669,'color':_0x3dfaff,'name':_0x9989,'selection':_0x6e8ddd,'left':_0x4dcaee,'top':_0x32efff,'width':_0x5d2a70,'height':_0xb344dc,'evented':!0x1,'zIndex':_0x1ce021};return new _0x4f7d08(_0x9989,_0x4ce455);});_0x2cb4e6[_0x12c2be(0x1b9)](_0x2a7948,_0x421fb3),this['_cursors']=new Set(_0x2a7948);}[_0x1d598f(0x239)](){const _0x2354cc=_0x1d598f;var _0x1f395d;(_0x1f395d=this[_0x2354cc(0x36b)])==null||_0x1f395d[_0x2354cc(0x34f)](_0x320d8d=>_0x320d8d[_0x2354cc(0x189)]());}['_getSheetObject'](){const _0x2d7dff=_0x1d598f;return _0x19ff18['getSheetObject'](this[_0x2d7dff(0x1d0)][_0x2d7dff(0x3aa)],this[_0x2d7dff(0x1d0)]);}};_0x1d0c7b=_0x9dad0f([_0x5dded1(0x1,_0x575825[_0x1d598f(0x280)](_0x19ff18[_0x1d598f(0x320)])),_0x5dded1(0x2,_0x575825['Inject'](_0x3093f1)),_0x5dded1(0x3,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x2e4)]))],_0x1d0c7b);function _0x35ae58(_0xb419ad){const _0x4a0fcb=_0x1d598f,_0x43a02d=new Map();return _0xb419ad[_0x4a0fcb(0x34f)](_0x344592=>{const _0x4354f7=_0x4a0fcb;if(_0x43a02d[_0x4354f7(0x24c)](_0x344592[_0x4354f7(0x23c)])){const _0x35f6a0=_0x43a02d[_0x4354f7(0x208)](_0x344592[_0x4354f7(0x23c)]);_0x35f6a0[_0x4354f7(0x2a4)]+=',\x20'+_0x344592['name'];}else _0x43a02d[_0x4354f7(0x38d)](_0x344592[_0x4354f7(0x23c)],_0x344592);}),Array['from'](_0x43a02d[_0x4a0fcb(0x14e)]());}var _0x17ac74=Object[_0x1d598f(0x2a6)],_0x1fa134=(_0xd2b5a7,_0x171d0a,_0xe57763,_0x3c45e1)=>{const _0x30ba64=_0x1d598f;for(var _0x27ad89=_0x3c45e1>0x1?void 0x0:_0x3c45e1?_0x17ac74(_0x171d0a,_0xe57763):_0x171d0a,_0x42f974=_0xd2b5a7[_0x30ba64(0x219)]-0x1,_0x550ea1;_0x42f974>=0x0;_0x42f974--)(_0x550ea1=_0xd2b5a7[_0x42f974])&&(_0x27ad89=_0x550ea1(_0x27ad89)||_0x27ad89);return _0x27ad89;},_0x58e4a8=(_0x5a41a5,_0x40acfd)=>(_0x509834,_0x3d89c0)=>_0x40acfd(_0x509834,_0x3d89c0,_0x5a41a5);let _0x1fed79=class extends _0x575825[_0x1d598f(0x3f3)]{constructor(_0x4fc637,_0x113e54,_0xb80bfe,_0x4873fb,_0x306c37,_0x418e09){const _0x189978=_0x1d598f;super(),this[_0x189978(0x371)]=_0x4fc637,this[_0x189978(0x3bb)]=_0x113e54,this['_collaborationUIEventService']=_0xb80bfe,this[_0x189978(0x23e)]=_0x4873fb,this[_0x189978(0x3c2)]=_0x306c37,this[_0x189978(0x25d)]=_0x418e09,this['_setupBeforeClosingHandler'](),this[_0x189978(0x182)]();}[_0x1d598f(0x1b6)](){const _0x433ac6=_0x1d598f;this[_0x433ac6(0x1c2)](this['_beforeCloseService'][_0x433ac6(0x3b4)](()=>{const _0x2bccb2=_0x433ac6;if(this[_0x2bccb2(0x3bb)]['saveTaskMap'][_0x2bccb2(0x303)])return this[_0x2bccb2(0x25d)]['t'](_0x2bccb2(0x31b));}));}['_initEvent'](){const _0x419b95=_0x1d598f;this[_0x419b95(0x1c2)](this[_0x419b95(0x172)][_0x419b95(0x1ce)][_0x419b95(0x1bd)](_0x1cb6f2=>{const _0x416cd5=_0x419b95;_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)][_0x416cd5(0x300)]&&this['_messageService']['show']({'type':_0x50c879['MessageType'][_0x416cd5(0x1d1)],'content':this[_0x416cd5(0x25d)]['t'](_0x416cd5(0x2f1))}),_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)][_0x416cd5(0x2ee)]&&this[_0x416cd5(0x23e)]['show']({'type':_0x50c879[_0x416cd5(0x2d4)][_0x416cd5(0x1d1)],'content':this[_0x416cd5(0x25d)]['t'](_0x416cd5(0x376))}),_0x1cb6f2['id']===_0x3eed55['CollaborationUIEventId'][_0x416cd5(0x3ea)]&&this[_0x416cd5(0x3c2)][_0x416cd5(0x370)]({'title':this[_0x416cd5(0x25d)]['t'](_0x416cd5(0x1a3)),'content':this['_localeService']['t'](_0x416cd5(0x256)),'type':_0x416cd5(0x277),'duration':0x0}),_0x1cb6f2['id']===_0x3eed55['CollaborationUIEventId'][_0x416cd5(0x273)]&&this[_0x416cd5(0x23e)]['show']({'type':_0x50c879[_0x416cd5(0x2d4)][_0x416cd5(0x322)],'content':this[_0x416cd5(0x25d)]['t']('collaboration.closeRoom')+'('+_0x1cb6f2[_0x416cd5(0x313)]+')'}),_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x416cd5(0x370)]({'type':_0x50c879['MessageType'][_0x416cd5(0x1d1)],'content':this[_0x416cd5(0x25d)]['t'](_0x1cb6f2['data']||'')}),_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)][_0x416cd5(0x23a)]&&this[_0x416cd5(0x23e)][_0x416cd5(0x370)]({'type':_0x50c879[_0x416cd5(0x2d4)][_0x416cd5(0x1d1)],'content':this[_0x416cd5(0x25d)]['t']('session.will-retry')}),_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)][_0x416cd5(0x1ed)]&&this[_0x416cd5(0x23e)][_0x416cd5(0x370)]({'type':_0x50c879[_0x416cd5(0x2d4)][_0x416cd5(0x322)],'content':this[_0x416cd5(0x25d)]['t'](_0x416cd5(0x1d3))}),_0x1cb6f2['id']===_0x3eed55[_0x416cd5(0x2b4)][_0x416cd5(0x327)]&&this['_messageService'][_0x416cd5(0x370)]({'type':_0x50c879[_0x416cd5(0x2d4)][_0x416cd5(0x322)],'content':this[_0x416cd5(0x25d)]['t']('session.collaboration-timeout')});}));}};_0x1fed79=_0x1fa134([_0x58e4a8(0x0,_0x18db7f[_0x1d598f(0x395)]),_0x58e4a8(0x1,_0x3eed55[_0x1d598f(0x3f7)]),_0x58e4a8(0x2,_0x575825[_0x1d598f(0x280)](_0x3eed55['CollaborationUIEventService'])),_0x58e4a8(0x3,_0x18db7f[_0x1d598f(0x272)]),_0x58e4a8(0x4,_0x18db7f[_0x1d598f(0x14a)]),_0x58e4a8(0x5,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x308)]))],_0x1fed79);const _0x586963=_0x1d598f(0x324),_0x574b54={};var _0x50ed3a=Object[_0x1d598f(0x2a6)],_0x2dd045=(_0x5cdf50,_0x561278,_0x36bc5e,_0x283be5)=>{for(var _0x3f6952=_0x283be5>0x1?void 0x0:_0x283be5?_0x50ed3a(_0x561278,_0x36bc5e):_0x561278,_0xcad1de=_0x5cdf50['length']-0x1,_0xb86c94;_0xcad1de>=0x0;_0xcad1de--)(_0xb86c94=_0x5cdf50[_0xcad1de])&&(_0x3f6952=_0xb86c94(_0x3f6952)||_0x3f6952);return _0x3f6952;},_0x2bf900=(_0x4b6e7d,_0x1c64d6)=>(_0x6bdf7b,_0x5ed131)=>_0x1c64d6(_0x6bdf7b,_0x5ed131,_0x4b6e7d);let _0x519008=class{constructor(_0x549ac4,_0x5148a3){const _0x4f13d0=_0x1d598f;this[_0x4f13d0(0x2af)]=_0x549ac4,this[_0x4f13d0(0x2cb)]=_0x5148a3;}[_0x1d598f(0x246)](_0x11165e){const _0x56f9c7=_0x1d598f;this[_0x56f9c7(0x154)](_0x11165e),this[_0x56f9c7(0x31f)](_0x11165e);}[_0x1d598f(0x203)](_0x2d35dd){const _0x4321c3=_0x1d598f,{unitID:_0xf31c50}=_0x2d35dd,_0x13a79b=this[_0x4321c3(0x2cb)][_0x4321c3(0x368)](_0xf31c50)[_0x4321c3(0x3ff)](_0x312d5b[_0x4321c3(0x393)]),{redoCache:_0x3f9e82}=_0x13a79b['getUndoRedoMutationParamsCache']();if(_0x3f9e82[_0x4321c3(0x219)]===0x0)return _0x2d35dd;let _0x184282=_0x575825[_0x4321c3(0x36e)][_0x4321c3(0x315)](_0x2d35dd[_0x4321c3(0x1fd)][0x0]);for(let _0x2998ae=0x0;_0x2998ae<_0x3f9e82['length'];_0x2998ae++){const _0x346ba7={'id':_0x4321c3(0x270),'params':{..._0x3f9e82[_0x2998ae]}},_0x2ed994=this[_0x4321c3(0x2af)][_0x4321c3(0x37c)](_0x184282,_0x346ba7,!0x1);if(_0x382605['isTransformMutationFailure'](_0x2ed994))throw _0x2ed994[_0x4321c3(0x277)];_0x184282=_0x2ed994['m1Prime'];}return{..._0x575825[_0x4321c3(0x36e)][_0x4321c3(0x315)](_0x2d35dd),'mutations':[_0x184282]};}[_0x1d598f(0x154)](_0xaa3d00){const _0x36d89d=_0x1d598f,{unitID:_0x3c18d6}=_0xaa3d00,_0x24b1b8=this[_0x36d89d(0x2cb)][_0x36d89d(0x368)](_0x3c18d6)[_0x36d89d(0x3ff)](_0x312d5b['DocIMEInputManagerService']),{undoCache:_0x28ce29,redoCache:_0x41c004}=_0x24b1b8[_0x36d89d(0x2b2)]();if(_0x28ce29[_0x36d89d(0x219)]===0x0||_0x41c004[_0x36d89d(0x219)]===0x0)return;const _0xd7d112=[],_0x3ba4d5=[];let _0x41f8c0=_0x575825[_0x36d89d(0x36e)][_0x36d89d(0x315)](_0xaa3d00[_0x36d89d(0x1fd)][0x0]),_0x38abe5=_0x575825[_0x36d89d(0x36e)][_0x36d89d(0x315)](_0xaa3d00['mutations'][0x0]);for(let _0x549342=_0x28ce29['length']-0x1;_0x549342>=0x0;_0x549342--){const _0x1db51d={'id':_0x36d89d(0x270),'params':{..._0x28ce29[_0x549342]}},_0x4fd6b9={'id':_0x36d89d(0x270),'params':{..._0x41c004[_0x549342]}},_0x2e01a9=this['_transformService'][_0x36d89d(0x37c)](_0x41f8c0,_0x1db51d,!0x1),_0x1a4c05=this['_transformService'][_0x36d89d(0x37c)](_0x38abe5,_0x4fd6b9,!0x1);if(_0x382605[_0x36d89d(0x2f9)](_0x2e01a9))throw _0x2e01a9[_0x36d89d(0x277)];if(_0x382605[_0x36d89d(0x2f9)](_0x1a4c05))throw _0x1a4c05[_0x36d89d(0x277)];_0xd7d112['unshift'](_0x2e01a9['m2Prime'][_0x36d89d(0x2ed)]),_0x3ba4d5[_0x36d89d(0x2f8)](_0x1a4c05[_0x36d89d(0x3e9)][_0x36d89d(0x2ed)]),_0x41f8c0=_0x2e01a9['m1Prime'],_0x38abe5=_0x1a4c05[_0x36d89d(0x2e3)];}_0x24b1b8[_0x36d89d(0x2a7)]({'undoCache':_0xd7d112,'redoCache':_0x3ba4d5});}['_transformPreviousActiveRange'](_0x202d59){const _0x3f81e4=_0x1d598f,{unitID:_0x19b9e4}=_0x202d59,_0xc2ae9c=this[_0x3f81e4(0x2cb)]['getRenderById'](_0x19b9e4)[_0x3f81e4(0x3ff)](_0x312d5b[_0x3f81e4(0x393)]),_0x42ad0d=_0xc2ae9c[_0x3f81e4(0x166)]();if(_0x42ad0d==null)return;const _0x1dc31e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x202d59[_0x3f81e4(0x226)],'actions':null,'textRanges':[_0x42ad0d]}}],_0x41971a=this[_0x3f81e4(0x2af)][_0x3f81e4(0x2cf)](_0x202d59,_0x1dc31e);if(!_0x382605['isTransformMutationsWithChangesetSuccess'](_0x41971a))throw _0x41971a['error'];const _0x3d7b06=_0x41971a[_0x3f81e4(0x3e9)][0x0][_0x3f81e4(0x2ed)][_0x3f81e4(0x14c)];Array['isArray'](_0x3d7b06)&&_0x3d7b06[_0x3f81e4(0x219)]&&_0xc2ae9c[_0x3f81e4(0x3dd)](_0x3d7b06[0x0]);}};_0x519008=_0x2dd045([_0x2bf900(0x0,_0x382605['ITransformService']),_0x2bf900(0x1,_0x3faa66[_0x1d598f(0x40b)])],_0x519008);var _0x3c3086=Object['getOwnPropertyDescriptor'],_0x2a887d=(_0x4cfe48,_0xb2bd61,_0x3018d3,_0x30998c)=>{const _0x91f35d=_0x1d598f;for(var _0x2dae64=_0x30998c>0x1?void 0x0:_0x30998c?_0x3c3086(_0xb2bd61,_0x3018d3):_0xb2bd61,_0x552072=_0x4cfe48[_0x91f35d(0x219)]-0x1,_0x5bedb1;_0x552072>=0x0;_0x552072--)(_0x5bedb1=_0x4cfe48[_0x552072])&&(_0x2dae64=_0x5bedb1(_0x2dae64)||_0x2dae64);return _0x2dae64;},_0xc7bd04=(_0x30ae8f,_0x2e4101)=>(_0x149569,_0x4eca4a)=>_0x2e4101(_0x149569,_0x4eca4a,_0x30ae8f);let _0x549439=class{constructor(_0x36d79b,_0x5ded38,_0x105c0f){const _0x5275ff=_0x1d598f;this[_0x5275ff(0x237)]=_0x36d79b,this[_0x5275ff(0x2af)]=_0x5ded38,this[_0x5275ff(0x2d8)]=_0x105c0f;}[_0x1d598f(0x3b0)](_0x555df2){const _0x283f4a=_0x1d598f;this[_0x283f4a(0x29c)](_0x555df2);}['transformRemoteChangeset'](_0x3aa0e1){const _0x15427e=_0x1d598f,{unitID:_0x21215e}=_0x3aa0e1,{collaboration:_0x4f4283}=this[_0x15427e(0x2d8)][_0x15427e(0x1cb)](_0x21215e);if(_0x4f4283[_0x15427e(0x219)]===0x0)return _0x3aa0e1;let _0x500330=_0x575825[_0x15427e(0x36e)][_0x15427e(0x315)](_0x3aa0e1['mutations'][0x0]);for(let _0x5b6363=0x0;_0x5b6363<_0x4f4283[_0x15427e(0x219)];_0x5b6363++){const _0x583e78={'id':_0x15427e(0x270),'params':{'unitId':_0x4f4283[_0x5b6363][_0x15427e(0x3ca)],..._0x4f4283[_0x5b6363][_0x15427e(0x1e1)]}},_0x4f1f5d=this[_0x15427e(0x2af)]['transformMutation'](_0x500330,_0x583e78,!0x1);if(_0x382605[_0x15427e(0x2f9)](_0x4f1f5d))throw _0x4f1f5d[_0x15427e(0x277)];_0x500330=_0x4f1f5d[_0x15427e(0x2e3)];}return{..._0x575825['Tools'][_0x15427e(0x315)](_0x3aa0e1),'mutations':[_0x500330]};}[_0x1d598f(0x29c)](_0x390573){const _0x3781b4=_0x1d598f,{unitID:_0x179b25}=_0x390573,{history:_0x39ba5f,collaboration:_0x40558f}=this[_0x3781b4(0x2d8)]['getStateCache'](_0x179b25);if(_0x39ba5f[_0x3781b4(0x219)]===0x0&&_0x40558f[_0x3781b4(0x219)]===0x0)return;const _0x3e64e3=[],_0x9a4824=[];let _0x19d357=_0x575825[_0x3781b4(0x36e)][_0x3781b4(0x315)](_0x390573['mutations'][0x0]),_0x4fc3b4=_0x575825[_0x3781b4(0x36e)][_0x3781b4(0x315)](_0x390573[_0x3781b4(0x1fd)][0x0]);for(let _0x1aa305=_0x39ba5f[_0x3781b4(0x219)]-0x1;_0x1aa305>=0x0;_0x1aa305--){const _0x436004={'id':_0x3781b4(0x270),'params':{'unitId':_0x39ba5f[_0x1aa305][_0x3781b4(0x3ca)],..._0x39ba5f[_0x1aa305][_0x3781b4(0x215)]}},_0x4abb1e={'id':_0x3781b4(0x270),'params':{'unitId':_0x39ba5f[_0x1aa305][_0x3781b4(0x3ca)],..._0x39ba5f[_0x1aa305]['redoState']}},_0x414c3c=this[_0x3781b4(0x2af)][_0x3781b4(0x37c)](_0x19d357,_0x436004,!0x1),_0x5aee45=this[_0x3781b4(0x2af)][_0x3781b4(0x37c)](_0x4fc3b4,_0x4abb1e,!0x1);if(_0x382605[_0x3781b4(0x2f9)](_0x414c3c))throw _0x414c3c['error'];if(_0x382605[_0x3781b4(0x2f9)](_0x5aee45))throw _0x5aee45[_0x3781b4(0x277)];_0x3e64e3[_0x3781b4(0x2f8)]({..._0x39ba5f[_0x1aa305],'undoState':_0x414c3c['m2Prime'][_0x3781b4(0x2ed)],'redoState':_0x5aee45[_0x3781b4(0x3e9)][_0x3781b4(0x2ed)]}),_0x19d357=_0x414c3c[_0x3781b4(0x2e3)],_0x4fc3b4=_0x5aee45[_0x3781b4(0x2e3)];}_0x19d357=_0x575825[_0x3781b4(0x36e)]['deepClone'](_0x390573[_0x3781b4(0x1fd)][0x0]),_0x4fc3b4=_0x575825[_0x3781b4(0x36e)][_0x3781b4(0x315)](_0x390573['mutations'][0x0]);for(let _0x261bdc=_0x40558f[_0x3781b4(0x219)]-0x1;_0x261bdc>=0x0;_0x261bdc--){const _0xd08aa2={'id':_0x3781b4(0x270),'params':{'unitId':_0x40558f[_0x261bdc][_0x3781b4(0x3ca)],..._0x40558f[_0x261bdc][_0x3781b4(0x215)]}},_0x277166={'id':_0x3781b4(0x270),'params':{'unitId':_0x40558f[_0x261bdc][_0x3781b4(0x3ca)],..._0x40558f[_0x261bdc]['redoState']}},_0x42caa8=this[_0x3781b4(0x2af)][_0x3781b4(0x37c)](_0x19d357,_0xd08aa2,!0x1),_0xeeb7ab=this['_transformService'][_0x3781b4(0x37c)](_0x4fc3b4,_0x277166,!0x1);if(_0x382605[_0x3781b4(0x2f9)](_0x42caa8))throw _0x42caa8['error'];if(_0x382605[_0x3781b4(0x2f9)](_0xeeb7ab))throw _0xeeb7ab['error'];_0x9a4824['unshift']({..._0x40558f[_0x261bdc],'undoState':_0x42caa8[_0x3781b4(0x3e9)][_0x3781b4(0x2ed)],'redoState':_0xeeb7ab[_0x3781b4(0x3e9)][_0x3781b4(0x2ed)]}),_0x19d357=_0x42caa8['m1Prime'],_0x4fc3b4=_0xeeb7ab['m1Prime'];}this[_0x3781b4(0x2d8)][_0x3781b4(0x220)](_0x179b25,{'history':_0x3e64e3,'collaboration':_0x9a4824});}};_0x549439=_0x2a887d([_0xc7bd04(0x0,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0xc7bd04(0x1,_0x382605[_0x1d598f(0x1ee)]),_0xc7bd04(0x2,_0x575825[_0x1d598f(0x280)](_0x312d5b['DocStateChangeManagerService']))],_0x549439);var _0x1984bb=Object['getOwnPropertyDescriptor'],_0x4b283d=(_0x4dc5cd,_0x1265e0,_0xb4523e,_0x294937)=>{const _0x42ecf8=_0x1d598f;for(var _0x2cc4be=_0x294937>0x1?void 0x0:_0x294937?_0x1984bb(_0x1265e0,_0xb4523e):_0x1265e0,_0x4ace06=_0x4dc5cd[_0x42ecf8(0x219)]-0x1,_0x3d3124;_0x4ace06>=0x0;_0x4ace06--)(_0x3d3124=_0x4dc5cd[_0x4ace06])&&(_0x2cc4be=_0x3d3124(_0x2cc4be)||_0x2cc4be);return _0x2cc4be;},_0x543a39=(_0x6bddf3,_0x451d2a)=>(_0x218b34,_0x2f5acd)=>_0x451d2a(_0x218b34,_0x2f5acd,_0x6bddf3);let _0xd6bc1d=class{constructor(_0x39903e,_0x46e644){const _0x21ff94=_0x1d598f;this[_0x21ff94(0x237)]=_0x39903e,this[_0x21ff94(0x2af)]=_0x46e644;}[_0x1d598f(0x1e8)](_0xd5d58d){const _0x315d6a=_0x1d598f;var _0x26c351;const _0x2ac961=this[_0x315d6a(0x237)][_0x315d6a(0x208)](_0x3f5683[_0x315d6a(0x190)]),_0x3ebf02=(_0x26c351=_0x2ac961[_0x315d6a(0x3e3)]())!=null?_0x26c351:[];if(_0x3ebf02[_0x315d6a(0x219)]===0x0)return;const _0x3efe7d=_0xd5d58d[_0x315d6a(0x226)],_0xc31766=[{'id':_0x315d6a(0x270),'params':{'unitId':_0x3efe7d,'actions':null,'textRanges':_0x3ebf02}}],_0x14e1e1=this[_0x315d6a(0x2af)]['transformMutationsWithChangeset'](_0xd5d58d,_0xc31766);if(!_0x382605['isTransformMutationsWithChangesetSuccess'](_0x14e1e1))throw _0x14e1e1['error'];const _0x5278f9=_0x14e1e1[_0x315d6a(0x3e9)][0x0]['params'][_0x315d6a(0x14c)];Array[_0x315d6a(0x39f)](_0x5278f9)&&_0x5278f9['length']&&_0x2ac961[_0x315d6a(0x2d7)](_0x5278f9,{'unitId':_0x3efe7d,'subUnitId':_0x3efe7d},!0x1);}};_0xd6bc1d=_0x4b283d([_0x543a39(0x0,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0x543a39(0x1,_0x382605[_0x1d598f(0x1ee)])],_0xd6bc1d);var _0x59cee0=Object[_0x1d598f(0x2a6)],_0x1c03d3=(_0xa8c488,_0x47f7e2,_0x145569,_0x188d95)=>{const _0x259554=_0x1d598f;for(var _0x2aa600=_0x188d95>0x1?void 0x0:_0x188d95?_0x59cee0(_0x47f7e2,_0x145569):_0x47f7e2,_0x115a13=_0xa8c488[_0x259554(0x219)]-0x1,_0x531f70;_0x115a13>=0x0;_0x115a13--)(_0x531f70=_0xa8c488[_0x115a13])&&(_0x2aa600=_0x531f70(_0x2aa600)||_0x2aa600);return _0x2aa600;},_0x264e96=(_0x53fc4f,_0x1201a1)=>(_0x1ec2b1,_0x4f2041)=>_0x1201a1(_0x1ec2b1,_0x4f2041,_0x53fc4f);let _0x3235f6=class extends _0x575825[_0x1d598f(0x3f3)]{constructor(_0x1a505e,_0x2332b9,_0x2c858d,_0x27abab,_0x2b2af9,_0x2df6db,_0x1fb6f3,_0x19851c){const _0x3ae0a4=_0x1d598f;super(),_0x407fe5(this,_0x3ae0a4(0x2c7),new _0x10129d[(_0x3ae0a4(0x2fe))](_0x3eed55['CollaborationStatus']['NOT_COLLAB'])),(this[_0x3ae0a4(0x2d8)]=_0x1a505e,this[_0x3ae0a4(0x2d1)]=_0x2332b9,this[_0x3ae0a4(0x185)]=_0x2c858d,this[_0x3ae0a4(0x314)]=_0x27abab,this[_0x3ae0a4(0x2a3)]=_0x2b2af9,this[_0x3ae0a4(0x2fd)]=_0x2df6db,this[_0x3ae0a4(0x23e)]=_0x1fb6f3,this[_0x3ae0a4(0x25d)]=_0x19851c,this[_0x3ae0a4(0x40e)]());}[_0x1d598f(0x40e)](){const _0x4de961=_0x1d598f;this['disposeWithMe'](this[_0x4de961(0x2d1)]['entityInit$'][_0x4de961(0x1bd)](_0x24a984=>{const _0x562040=_0x4de961,_0x9d9036=this[_0x562040(0x2d8)]['docStateChange$'][_0x562040(0x1bd)](_0x9d8e4c=>{const _0x4f587a=_0x562040;if(_0x9d8e4c==null)return;const {unitId:_0x52de52,redoState:_0x1cdd7c,commandId:_0x56a6f3}=_0x9d8e4c;if(_0x52de52!==_0x24a984[_0x4f587a(0x226)])return;const _0x5fc145={'id':_0x56a6f3,'type':_0x575825['CommandType'][_0x4f587a(0x175)],'params':{'unitId':_0x52de52,'actions':_0x1cdd7c[_0x4f587a(0x25f)],'textRanges':null}};_0x24a984[_0x4f587a(0x3fd)](_0x5fc145);});if(_0x24a984[_0x562040(0x1c2)](_0x9d9036),_0x24a984 instanceof _0x3eed55[_0x562040(0x2fa)]){const _0x5dbe34={'onTransformIME':_0x30624f=>this[_0x562040(0x185)]['transformIMECache'](_0x30624f),'onTransformState':_0xd53190=>this[_0x562040(0x314)][_0x562040(0x3b0)](_0xd53190),'onTransformSelections':_0x52b2d6=>this[_0x562040(0x2a3)]['transformSelections'](_0x52b2d6),'onSyncEditingCollabCursor':_0x4db4e9=>this[_0x562040(0x2fd)][_0x562040(0x2e7)](_0x4db4e9),'onTransformRemoteChangesetByIMECache':_0x340f69=>this[_0x562040(0x185)][_0x562040(0x203)](_0x340f69),'onTransformRemoteChangesetByStateCache':_0x4d97d6=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x4d97d6)};_0x24a984['addHandlerCallback'](_0x5dbe34);}}));}};_0x3235f6=_0x1c03d3([_0x264e96(0x0,_0x575825[_0x1d598f(0x280)](_0x312d5b['DocStateChangeManagerService'])),_0x264e96(0x1,_0x575825['Inject'](_0x3eed55[_0x1d598f(0x402)])),_0x264e96(0x2,_0x575825[_0x1d598f(0x280)](_0x519008)),_0x264e96(0x3,_0x575825[_0x1d598f(0x280)](_0x549439)),_0x264e96(0x4,_0x575825[_0x1d598f(0x280)](_0xd6bc1d)),_0x264e96(0x5,_0x575825[_0x1d598f(0x280)](_0x3184f8)),_0x264e96(0x6,_0x18db7f[_0x1d598f(0x272)]),_0x264e96(0x7,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x308)]))],_0x3235f6);var _0x58b93c=(_0x4771a9=>(_0x4771a9[_0x4771a9[_0x1d598f(0x364)]=0x0]=_0x1d598f(0x364),_0x4771a9[_0x4771a9['OK']=0x1]='OK',_0x4771a9[_0x4771a9[_0x1d598f(0x1f8)]=0x2]=_0x1d598f(0x1f8),_0x4771a9[_0x4771a9[_0x1d598f(0x3ea)]=0x3]=_0x1d598f(0x3ea),_0x4771a9[_0x4771a9[_0x1d598f(0x28e)]=0x4]=_0x1d598f(0x28e),_0x4771a9[_0x4771a9[_0x1d598f(0x2b0)]=0x5]=_0x1d598f(0x2b0),_0x4771a9[_0x4771a9['ALREADY_EXISTS']=0x6]=_0x1d598f(0x30a),_0x4771a9[_0x4771a9[_0x1d598f(0x380)]=0x7]='INVALID_ARGUMENT',_0x4771a9[_0x4771a9[_0x1d598f(0x33c)]=0x8]=_0x1d598f(0x33c),_0x4771a9[_0x4771a9[_0x1d598f(0x245)]=0x9]=_0x1d598f(0x245),_0x4771a9[_0x4771a9[_0x1d598f(0x209)]=0xa]='LOGIN_FAILED',_0x4771a9[_0x4771a9[_0x1d598f(0x274)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4771a9[_0x4771a9['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4771a9[_0x4771a9['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1d598f(0x278),_0x4771a9[_0x4771a9[_0x1d598f(0x403)]=0xe]=_0x1d598f(0x403),_0x4771a9[_0x4771a9[_0x1d598f(0x152)]=0xf]=_0x1d598f(0x152),_0x4771a9[_0x4771a9['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1d598f(0x411),_0x4771a9[_0x4771a9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1d598f(0x3ce),_0x4771a9[_0x4771a9[_0x1d598f(0x2ca)]=0x65]=_0x1d598f(0x2ca),_0x4771a9[_0x4771a9[_0x1d598f(0x19b)]=0xc9]=_0x1d598f(0x19b),_0x4771a9[_0x4771a9['USER_IS_ANONYMOUS']=0xca]=_0x1d598f(0x3db),_0x4771a9[_0x4771a9[_0x1d598f(0x2f3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4771a9[_0x4771a9[_0x1d598f(0x1f3)]=0x1771]=_0x1d598f(0x1f3),_0x4771a9[_0x4771a9[_0x1d598f(0x28c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4771a9[_0x4771a9[_0x1d598f(0x1fe)]=0x1773]=_0x1d598f(0x1fe),_0x4771a9[_0x4771a9['APPLY_REJECT']=0x1b59]=_0x1d598f(0x207),_0x4771a9[_0x4771a9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4771a9[_0x4771a9[_0x1d598f(0x2ae)]=0x1b5b]=_0x1d598f(0x2ae),_0x4771a9[_0x4771a9[_0x1d598f(0x30c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4771a9[_0x4771a9[_0x1d598f(0x35f)]=0x1b5d]=_0x1d598f(0x35f),_0x4771a9[_0x4771a9[_0x1d598f(0x307)]=0x1f41]=_0x1d598f(0x307),_0x4771a9[_0x4771a9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1d598f(0x3fc),_0x4771a9[_0x4771a9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1d598f(0x268),_0x4771a9[_0x4771a9[_0x1d598f(0x1a0)]=0x232b]=_0x1d598f(0x1a0),_0x4771a9[_0x4771a9[_0x1d598f(0x164)]=0x232c]=_0x1d598f(0x164),_0x4771a9[_0x4771a9[_0x1d598f(0x330)]=0x232d]=_0x1d598f(0x330),_0x4771a9[_0x4771a9[_0x1d598f(0x37d)]=0x2711]=_0x1d598f(0x37d),_0x4771a9[_0x4771a9[_0x1d598f(0x316)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4771a9[_0x4771a9[_0x1d598f(0x412)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4771a9[_0x4771a9[_0x1d598f(0x2fc)]=0x2714]=_0x1d598f(0x2fc),_0x4771a9[_0x4771a9[_0x1d598f(0x384)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4771a9[_0x4771a9[_0x1d598f(0x3bd)]=0x271b]=_0x1d598f(0x3bd),_0x4771a9[_0x4771a9[_0x1d598f(0x378)]=0x271c]=_0x1d598f(0x378),_0x4771a9[_0x4771a9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4771a9[_0x4771a9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d598f(0x2db),_0x4771a9[_0x4771a9[_0x1d598f(0x16f)]=0x271f]=_0x1d598f(0x16f),_0x4771a9[_0x4771a9[_0x1d598f(0x2f2)]=0x2720]=_0x1d598f(0x2f2),_0x4771a9[_0x4771a9[_0x1d598f(0x255)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4771a9[_0x4771a9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1d598f(0x19a),_0x4771a9[_0x4771a9[_0x1d598f(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x4771a9[_0x4771a9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4771a9[_0x4771a9['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4771a9[_0x4771a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4771a9[_0x4771a9[_0x1d598f(0x1b4)]=0x32c9]=_0x1d598f(0x1b4),_0x4771a9[_0x4771a9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d598f(0x2e5),_0x4771a9[_0x4771a9[_0x1d598f(0x319)]=0x32cb]=_0x1d598f(0x319),_0x4771a9[_0x4771a9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1d598f(0x38c),_0x4771a9[_0x4771a9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1d598f(0x2da),_0x4771a9[_0x4771a9[_0x1d598f(0x15e)]=0x36b3]=_0x1d598f(0x15e),_0x4771a9[_0x4771a9[_0x1d598f(0x1f4)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4771a9[_0x4771a9[_0x1d598f(0x2e1)]=0x3715]=_0x1d598f(0x2e1),_0x4771a9[_0x4771a9[_0x1d598f(0x16a)]=0x3716]=_0x1d598f(0x16a),_0x4771a9[_0x4771a9[_0x1d598f(0x38f)]=0x37dd]=_0x1d598f(0x38f),_0x4771a9[_0x4771a9[_0x1d598f(0x1bf)]=0x3a99]=_0x1d598f(0x1bf),_0x4771a9[_0x4771a9[_0x1d598f(0x1e9)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4771a9[_0x4771a9[_0x1d598f(0x3af)]=0x3a9b]=_0x1d598f(0x3af),_0x4771a9[_0x4771a9[_0x1d598f(0x2b5)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4771a9[_0x4771a9[_0x1d598f(0x211)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4771a9[_0x4771a9['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1d598f(0x379),_0x4771a9[_0x4771a9[_0x1d598f(0x399)]=0x3a9f]=_0x1d598f(0x399),_0x4771a9[_0x4771a9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4771a9))(_0x58b93c||{});function _0x9916cb(_0x58fcb9){const _0x352313=_0x1d598f;var _0x577a4f,_0x1ae6a0;const _0x610035=(_0x577a4f=_0x58fcb9['stageInfo'])==null?void 0x0:_0x577a4f[_0x352313(0x301)],_0x2778e2=((_0x1ae6a0=_0x58fcb9[_0x352313(0x32e)])==null?void 0x0:_0x1ae6a0['totalFormulasToCalculate'])||0x0;return _0x610035===_0x50b51e[_0x352313(0x184)][_0x352313(0x2ab)]&&_0x2778e2>0x0;}function _0x374aa5(_0x1e8c2c){const _0xf30deb=_0x1d598f;return _0x1e8c2c[_0xf30deb(0x346)]===_0x50b51e['FormulaExecutedStateType'][_0xf30deb(0x31e)];}var _0x20d093=Object[_0x1d598f(0x2a6)],_0x2b65ae=(_0xc4b4be,_0x197b1f,_0x1e6683,_0xea367c)=>{const _0x1b69c4=_0x1d598f;for(var _0x56fab5=_0xea367c>0x1?void 0x0:_0xea367c?_0x20d093(_0x197b1f,_0x1e6683):_0x197b1f,_0x385e04=_0xc4b4be[_0x1b69c4(0x219)]-0x1,_0x4c71e6;_0x385e04>=0x0;_0x385e04--)(_0x4c71e6=_0xc4b4be[_0x385e04])&&(_0x56fab5=_0x4c71e6(_0x56fab5)||_0x56fab5);return _0x56fab5;},_0x52057c=(_0xd6928e,_0x59b1d8)=>(_0x3b678e,_0x344e4c)=>_0x59b1d8(_0x3b678e,_0x344e4c,_0xd6928e);const _0x3b5e01=_0x1d598f(0x18c),_0x14c6e6=_0x1d598f(0x1a8),_0x1d6f34='/universer-api/license/formula/limit/done';let _0xa59acb=class extends _0x575825[_0x1d598f(0x3f3)]{constructor(_0x2759da,_0x4d029d,_0x4685db,_0x5a8132,_0x567e5f,_0x9a6f74,_0x4624de){const _0x72d613=_0x1d598f;super(),_0x407fe5(this,'_pollingInterval',null),_0x407fe5(this,_0x72d613(0x1cd),0x0),_0x407fe5(this,_0x72d613(0x3f9),0x0),_0x407fe5(this,_0x72d613(0x317),[]),_0x407fe5(this,_0x72d613(0x21a),0x0),(this[_0x72d613(0x23e)]=_0x2759da,this['_commandService']=_0x4d029d,this[_0x72d613(0x2c2)]=_0x4685db,this[_0x72d613(0x234)]=_0x5a8132,this[_0x72d613(0x3c3)]=_0x567e5f,this[_0x72d613(0x1ae)]=_0x9a6f74,this[_0x72d613(0x25d)]=_0x4624de,this[_0x72d613(0x1c3)]());}[_0x1d598f(0x1c3)](){const _0x2d2da7=_0x1d598f;this[_0x2d2da7(0x1c2)](this[_0x2d2da7(0x263)][_0x2d2da7(0x24d)]((_0x37d10c,_0x4ead1b)=>{const _0x520d30=_0x2d2da7;if(_0x37d10c['id']!==_0x50b51e['SetFormulaCalculationStartMutation']['id'])return;const _0x2014d6=_0x37d10c['params'];if(!this['_hasFormulaInDirtyRanges'](_0x2014d6['dirtyRanges']))return;if(!this[_0x520d30(0x21c)]())throw this[_0x520d30(0x254)](_0x37d10c,_0x4ead1b),this[_0x520d30(0x32a)](),new _0x575825[(_0x520d30(0x26b))]();})),this['disposeWithMe'](this['_commandService'][_0x2d2da7(0x224)]((_0x97866b,_0x57f656)=>{const _0x78ecb2=_0x2d2da7;if(_0x97866b['id']!==_0x50b51e[_0x78ecb2(0x24b)]['id'])return;const _0x1627d5=_0x97866b[_0x78ecb2(0x2ed)];if(_0x9916cb(_0x1627d5)){const _0x568ed4=_0x575825[_0x78ecb2(0x1c9)]();this['_taskIds']['push'](_0x568ed4),this[_0x78ecb2(0x41f)](_0x568ed4);}else{if(_0x374aa5(_0x1627d5)&&this[_0x78ecb2(0x317)][_0x78ecb2(0x219)]>0x0){const _0x1180ad=this[_0x78ecb2(0x317)][_0x78ecb2(0x41b)]();this[_0x78ecb2(0x3eb)](_0x1180ad);}}}));}[_0x1d598f(0x189)](){const _0x65b891=_0x1d598f;super['dispose'](),this['_clearPolling'](),this[_0x65b891(0x317)]=[],this[_0x65b891(0x3f9)]=0x0,this[_0x65b891(0x1cd)]=0x0,this[_0x65b891(0x21a)]=0x0;}async[_0x1d598f(0x254)](_0x4d281c,_0x2542a9){const _0x1b9c81=_0x1d598f;for(let _0x4d8ad2=0x0;_0x4d8ad2<0x1e;_0x4d8ad2++)try{if(await this[_0x1b9c81(0x247)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x4d281c,_0x2542a9),this[_0x1b9c81(0x23e)][_0x1b9c81(0x370)]({'content':this[_0x1b9c81(0x25d)]['t']('formula.calculation.started'),'type':_0x50c879[_0x1b9c81(0x2d4)][_0x1b9c81(0x30b)]});return;}await new Promise(_0xa8756=>{const _0x45d026=_0x1b9c81;this[_0x45d026(0x424)]=window[_0x45d026(0x3f6)](_0xa8756,0x3e8);});}catch(_0x7b3020){this[_0x1b9c81(0x1ae)]['error'](_0x7b3020);}this['_messageService'][_0x1b9c81(0x370)]({'content':this[_0x1b9c81(0x25d)]['t'](_0x1b9c81(0x3f5)),'type':_0x50c879[_0x1b9c81(0x2d4)][_0x1b9c81(0x322)]});}[_0x1d598f(0x1d4)](_0x58b7d2,_0x3e779b){const _0x151cb8=_0x1d598f;try{this[_0x151cb8(0x263)][_0x151cb8(0x1a2)](_0x58b7d2['id'],_0x58b7d2[_0x151cb8(0x2ed)],_0x3e779b);}catch(_0x56b36a){this[_0x151cb8(0x1ae)]['error'](_0x56b36a);}}[_0x1d598f(0x3d2)](_0x4546b6,_0x5ee1b1){const _0xf145fd=_0x1d598f;_0x5ee1b1<this[_0xf145fd(0x21a)]||(this[_0xf145fd(0x21a)]=_0x5ee1b1,this[_0xf145fd(0x1cd)]=Number[_0xf145fd(0x3a5)](_0x4546b6[_0xf145fd(0x3f0)]),this['_currentUsage']=Number['parseInt'](_0x4546b6['currentUsage']));}async['_startCalculationLimit'](_0x2569a0){const _0x2faa23=_0x1d598f;var _0xf5a32e,_0x20a3c5;const _0x472942=Date[_0x2faa23(0x18e)]();try{const _0x119741=((_0xf5a32e=this[_0x2faa23(0x2c2)]['getConfig'](_0x3eed55[_0x2faa23(0x3e2)]))==null?void 0x0:_0xf5a32e[_0x2faa23(0x179)])||_0x14c6e6,_0x135a58=(await this['_httpService'][_0x2faa23(0x1d2)](_0x119741,{'body':JSON[_0x2faa23(0x2c3)]({'taskId':_0x2569a0})}))[_0x2faa23(0x3a9)];if(((_0x20a3c5=_0x135a58[_0x2faa23(0x277)])==null?void 0x0:_0x20a3c5[_0x2faa23(0x27c)])!==_0x58b93c['OK'])return;this['_setFormulaLimitStatus'](_0x135a58['limitInfo'],_0x472942);}catch(_0x982399){this[_0x2faa23(0x1ae)]['error'](_0x982399);}}async['_getFormulaLimitStatus'](_0xcb2561){const _0x393dfb=_0x1d598f;var _0x123478,_0xb6569b;const _0x1d97a8=Date[_0x393dfb(0x18e)]();try{const _0x2fdb07=((_0x123478=this['_configService']['getConfig'](_0x3eed55['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x123478[_0x393dfb(0x3ae)])||_0x3b5e01,_0xd677e9=_0xcb2561?_0x2fdb07+_0x393dfb(0x38b)+encodeURIComponent(_0xcb2561):_0x2fdb07,_0xb6ba5f=(await this['_httpService']['get'](_0xd677e9))['body'];if(((_0xb6569b=_0xb6ba5f[_0x393dfb(0x277)])==null?void 0x0:_0xb6569b[_0x393dfb(0x27c)])!==_0x58b93c['OK'])return;this[_0x393dfb(0x3d2)](_0xb6ba5f[_0x393dfb(0x27f)],_0x1d97a8);}catch(_0x4cfcbc){this['_logService'][_0x393dfb(0x277)](_0x4cfcbc);}}async[_0x1d598f(0x3eb)](_0x585b50){const _0x1faca6=_0x1d598f;var _0x282791,_0x3213a4;const _0x36381c=Date[_0x1faca6(0x18e)]();try{const _0x58d8af=((_0x282791=this[_0x1faca6(0x2c2)]['getConfig'](_0x3eed55[_0x1faca6(0x3e2)]))==null?void 0x0:_0x282791['releaseFormulaLimitUrl'])||_0x1d6f34,_0x35e97f=(await this[_0x1faca6(0x234)]['post'](_0x58d8af,{'body':JSON[_0x1faca6(0x2c3)]({'taskId':_0x585b50})}))[_0x1faca6(0x3a9)];if(((_0x3213a4=_0x35e97f[_0x1faca6(0x277)])==null?void 0x0:_0x3213a4[_0x1faca6(0x27c)])!==_0x58b93c['OK'])return;this[_0x1faca6(0x3d2)](_0x35e97f['limitInfo'],_0x36381c);}catch(_0x2ad3f8){this[_0x1faca6(0x1ae)][_0x1faca6(0x277)](_0x2ad3f8);}}['_checkCalculationAvailable'](){const _0x3a6772=_0x1d598f;return this[_0x3a6772(0x1cd)]===0x0?!0x0:this[_0x3a6772(0x1cd)]-this[_0x3a6772(0x3f9)]>0x0;}[_0x1d598f(0x279)](){const _0x91d3be=_0x1d598f;this[_0x91d3be(0x424)]&&(clearTimeout(this['_pollingInterval']),this[_0x91d3be(0x424)]=null);}[_0x1d598f(0x32a)](){const _0x58af57=_0x1d598f;this[_0x58af57(0x23e)][_0x58af57(0x370)]({'content':this[_0x58af57(0x25d)]['t'](_0x58af57(0x372)),'type':_0x50c879[_0x58af57(0x2d4)][_0x58af57(0x285)]});}[_0x1d598f(0x3fe)](_0x2affc1){const _0x4838db=_0x1d598f;for(const _0x5279c2 of _0x2affc1){const {unitId:_0xaa8316,sheetId:_0x24d728,range:_0x365c7d}=_0x5279c2,_0x61e5a=this[_0x4838db(0x3c3)][_0x4838db(0x18f)](_0xaa8316);if(!_0x61e5a)continue;const _0x273172=_0x61e5a[_0x4838db(0x421)](_0x24d728);if(!_0x273172)continue;const _0xb51d56=_0x273172[_0x4838db(0x349)]();for(let _0x2eb8a4=_0x365c7d['startRow'];_0x2eb8a4<=_0x365c7d['endRow'];_0x2eb8a4++)for(let _0x3525ba=_0x365c7d[_0x4838db(0x410)];_0x3525ba<=_0x365c7d['endColumn'];_0x3525ba++){const _0x25053f=_0xb51d56[_0x4838db(0x283)](_0x2eb8a4,_0x3525ba);if(_0x25053f&&(_0x575825[_0x4838db(0x1b2)](_0x25053f['f'])||_0x575825[_0x4838db(0x1aa)](_0x25053f['si'])))return!0x0;}}return!0x1;}};_0xa59acb=_0x2b65ae([_0x52057c(0x0,_0x575825[_0x1d598f(0x280)](_0x18db7f[_0x1d598f(0x272)])),_0x52057c(0x1,_0x575825['ICommandService']),_0x52057c(0x2,_0x575825[_0x1d598f(0x1db)]),_0x52057c(0x3,_0x575825['Inject'](_0x5c150a[_0x1d598f(0x17c)])),_0x52057c(0x4,_0x575825['IUniverInstanceService']),_0x52057c(0x5,_0x575825[_0x1d598f(0x1ab)]),_0x52057c(0x6,_0x575825['Inject'](_0x575825[_0x1d598f(0x308)]))],_0xa59acb);var _0x5b5edf=Object['getOwnPropertyDescriptor'],_0x437533=(_0x28fd33,_0x6fefc3,_0x5137a6,_0x171ef7)=>{const _0x25a2f4=_0x1d598f;for(var _0x5e47f7=_0x171ef7>0x1?void 0x0:_0x171ef7?_0x5b5edf(_0x6fefc3,_0x5137a6):_0x6fefc3,_0x4fca8e=_0x28fd33[_0x25a2f4(0x219)]-0x1,_0x1a3406;_0x4fca8e>=0x0;_0x4fca8e--)(_0x1a3406=_0x28fd33[_0x4fca8e])&&(_0x5e47f7=_0x1a3406(_0x5e47f7)||_0x5e47f7);return _0x5e47f7;},_0x313b7f=(_0x32d780,_0x3d3597)=>(_0x117842,_0x111ad7)=>_0x3d3597(_0x117842,_0x111ad7,_0x32d780);let _0x47a692=class extends _0x575825['Disposable']{constructor(_0x3d8964,_0x1f7092,_0x467ad6){const _0x2867d4=_0x1d598f;super(),_0x407fe5(this,_0x2867d4(0x1f7),new Map()),_0x407fe5(this,_0x2867d4(0x3d1),new Map()),_0x407fe5(this,_0x2867d4(0x1fa),!0x1),(this['_configService']=_0x3d8964,this['_localStorageService']=_0x1f7092,this[_0x2867d4(0x2c8)]=_0x467ad6);}[_0x1d598f(0x158)](){const _0x3f6920=_0x1d598f;this[_0x3f6920(0x1fa)]=!0x0;}[_0x1d598f(0x398)](){const _0x5e63e5=_0x1d598f;this[_0x5e63e5(0x1fa)]=!0x1;}get[_0x1d598f(0x148)](){const _0x5ca582=_0x1d598f;return this[_0x5ca582(0x3d1)];}[_0x1d598f(0x189)](){const _0x2cc5c1=_0x1d598f;this[_0x2cc5c1(0x15a)]()[_0x2cc5c1(0x228)](()=>super[_0x2cc5c1(0x189)]());}async['loadOfflineData'](_0x5bb809){const _0x438fe6=_0x1d598f;return this[_0x438fe6(0x1fa)]?null:this['_localStorageService'][_0x438fe6(0x2be)](_0x3eed55[_0x438fe6(0x221)](_0x5bb809));}async[_0x1d598f(0x266)](_0x5b597e,_0x3e47d9){const _0x131e39=_0x1d598f;return!!this['_localStorageService'][_0x131e39(0x3fb)](_0x5b597e,_0x3e47d9);}[_0x1d598f(0x225)](_0x5a55e1,_0x35ad6e,_0x3aef17,_0x1bc540){const _0x1c3fa3=_0x1d598f,_0x351630=this[_0x1c3fa3(0x2c8)][_0x1c3fa3(0x2df)](_0x5a55e1);this['_cachedData'][_0x1c3fa3(0x38d)](_0x5a55e1,{'unitID':_0x5a55e1,'type':_0x35ad6e,'awaitingChangeset':_0x3aef17,'mutations':_0x1bc540,'rev':_0x351630}),this['_saveTaskMap'][_0x1c3fa3(0x24c)](_0x5a55e1)||this[_0x1c3fa3(0x1dc)](_0x5a55e1);}['_scheduleSaving'](_0x29fc62){const _0x317d94=_0x1d598f,_0x7a6762=this[_0x317d94(0x169)]();_0x7a6762===0x0?this[_0x317d94(0x413)](_0x29fc62):this['_saveTaskMap'][_0x317d94(0x38d)](_0x29fc62,setTimeout(()=>this[_0x317d94(0x413)](_0x29fc62),_0x7a6762));}[_0x1d598f(0x169)](){const _0x57f9ea=_0x1d598f;var _0x1cbba2;return(_0x1cbba2=this[_0x57f9ea(0x2c2)][_0x57f9ea(0x200)](_0x3eed55[_0x57f9ea(0x360)]))!=null?_0x1cbba2:_0x3eed55['LOCAL_CACHE_INTERVAL'];}[_0x1d598f(0x413)](_0x28027b){const _0x2d55cc=_0x1d598f,_0x28f4c3=this['_saveTaskMap'][_0x2d55cc(0x208)](_0x28027b);return _0x28f4c3!==void 0x0&&window[_0x2d55cc(0x1e5)](_0x28f4c3),this[_0x2d55cc(0x388)][_0x2d55cc(0x3fb)](_0x3eed55[_0x2d55cc(0x221)](_0x28027b),this[_0x2d55cc(0x1f7)][_0x2d55cc(0x208)](_0x28027b))['then'](()=>this[_0x2d55cc(0x3d1)][_0x2d55cc(0x37f)](_0x28027b));}async[_0x1d598f(0x15a)](){const _0x5d7b3b=_0x1d598f,_0x5bd845=[];this[_0x5d7b3b(0x3d1)][_0x5d7b3b(0x34f)]((_0x31bbc0,_0x5b6e27)=>{const _0x4386e9=_0x5d7b3b;window[_0x4386e9(0x1e5)](_0x31bbc0),_0x5bd845['push'](this[_0x4386e9(0x413)](_0x5b6e27)[_0x4386e9(0x228)](()=>{const _0xb52b8d=_0x4386e9;this[_0xb52b8d(0x3d1)][_0xb52b8d(0x37f)](_0x5b6e27);}));}),await Promise[_0x5d7b3b(0x37a)](_0x5bd845);}};_0x47a692=_0x437533([_0x313b7f(0x0,_0x575825[_0x1d598f(0x1db)]),_0x313b7f(0x1,_0x575825[_0x1d598f(0x3f4)]),_0x313b7f(0x2,_0x575825[_0x1d598f(0x280)](_0x382605['RevisionService']))],_0x47a692);class _0x1f9787 extends _0x575825[_0x1d598f(0x1d7)]{constructor(){const _0x15f297=_0x1d598f;super(),_0x407fe5(this,_0x15f297(0x27e)),this[_0x15f297(0x27e)]=_0x10129d[_0x15f297(0x1dd)](window,_0x15f297(0x3c4))[_0x15f297(0x377)](_0x10129d[_0x15f297(0x1a4)](this[_0x15f297(0x1eb)]),_0x10129d[_0x15f297(0x39b)](0x1),_0x10129d[_0x15f297(0x16e)](void 0x0));}['setParam'](_0x4ee4fb,_0x3cb577,_0x16c383=!0x1){const _0x33cac8=_0x1d598f,_0x27000c=new URL(window[_0x33cac8(0x3f1)][_0x33cac8(0x1e3)]);_0x27000c[_0x33cac8(0x2d0)]['set'](_0x4ee4fb,_0x3cb577),_0x16c383?window[_0x33cac8(0x2a8)][_0x33cac8(0x238)]('','',_0x27000c[_0x33cac8(0x32c)]()):window[_0x33cac8(0x2a8)][_0x33cac8(0x173)]('','',_0x27000c[_0x33cac8(0x32c)]());}['removeParam'](_0xdb6201,_0x5f98c7=!0x1){const _0x4919b5=_0x1d598f,_0x3d259b=new URL(window['location']['href']);_0x3d259b[_0x4919b5(0x2d0)][_0x4919b5(0x37f)](_0xdb6201),_0x5f98c7?window[_0x4919b5(0x2a8)]['replaceState']('','',_0x3d259b[_0x4919b5(0x32c)]()):window[_0x4919b5(0x2a8)][_0x4919b5(0x173)]('','',_0x3d259b[_0x4919b5(0x32c)]());}[_0x1d598f(0x21b)](_0x355d32){const _0x50ac85=_0x1d598f;var _0x277bc1;return(_0x277bc1=new URL(window[_0x50ac85(0x3f1)][_0x50ac85(0x1e3)])['searchParams'][_0x50ac85(0x208)](_0x355d32))!=null?_0x277bc1:void 0x0;}}var _0x1b90b6=Object[_0x1d598f(0x352)],_0xbebf16=Object[_0x1d598f(0x2a6)],_0x4422b3=(_0x5d4a70,_0x28ffdb,_0x26b817)=>_0x28ffdb in _0x5d4a70?_0x1b90b6(_0x5d4a70,_0x28ffdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26b817}):_0x5d4a70[_0x28ffdb]=_0x26b817,_0x370dec=(_0x1f5fa6,_0x18c6b1,_0x3d89fb,_0x4578c4)=>{const _0x55f445=_0x1d598f;for(var _0x3b15fe=_0x4578c4>0x1?void 0x0:_0x4578c4?_0xbebf16(_0x18c6b1,_0x3d89fb):_0x18c6b1,_0x2c4d7e=_0x1f5fa6[_0x55f445(0x219)]-0x1,_0x2cbfc2;_0x2c4d7e>=0x0;_0x2c4d7e--)(_0x2cbfc2=_0x1f5fa6[_0x2c4d7e])&&(_0x3b15fe=_0x2cbfc2(_0x3b15fe)||_0x3b15fe);return _0x3b15fe;},_0x5ca765=(_0x59b1e7,_0x5a9d06)=>(_0x196449,_0x3262af)=>_0x5a9d06(_0x196449,_0x3262af,_0x59b1e7),_0xb0e95f=(_0x31d7ee,_0x441764,_0x2889ce)=>_0x4422b3(_0x31d7ee,_0x441764+'',_0x2889ce);const _0x32b0f1=_0x1d598f(0x3a8);_0x3bf0b9[_0x1d598f(0x1be)]=class extends _0x575825[_0x1d598f(0x36c)]{constructor(_0x219dd6=_0x574b54,_0x1234d9,_0x59f871,_0x3e801a){const _0x463c0e=_0x1d598f;super(),this[_0x463c0e(0x260)]=_0x219dd6,this[_0x463c0e(0x2cb)]=_0x1234d9,this['_injector']=_0x59f871,this[_0x463c0e(0x2c2)]=_0x3e801a;const {..._0x1ee62c}=_0x575825[_0x463c0e(0x1ea)]({},_0x574b54,this[_0x463c0e(0x260)]);this[_0x463c0e(0x2c2)]['setConfig'](_0x586963,_0x1ee62c);}[_0x1d598f(0x3d6)](){const _0x376e60=_0x1d598f;this[_0x376e60(0x305)](),this[_0x376e60(0x2ac)]();}[_0x1d598f(0x2bb)](){const _0x106494=_0x1d598f;this[_0x106494(0x391)]();}[_0x1d598f(0x305)](){const _0x58d9a0=_0x1d598f;var _0x54c2d5;const _0x1e19bb=[[_0x530293],[_0xa59acb],[_0xd6bc1d],[_0x519008],[_0x549439],[_0x3184f8],[_0x23e87d,{'useClass':_0x1f9787}],[_0x5c150a['ISocketService'],{'useClass':_0x5c150a[_0x58d9a0(0x362)]}],[_0x3eed55[_0x58d9a0(0x3f7)],{'useClass':_0x47a692}],[_0x3bf0b9[_0x58d9a0(0x34e)]],[_0x3235f6],[_0x1fed79],[_0x3093f1],[_0x505881],[_0x3bf0b9['CollaborationDataLoaderController']]];_0x575825[_0x58d9a0(0x165)](this[_0x58d9a0(0x237)],_0x575825[_0x58d9a0(0x262)](_0x1e19bb,(_0x54c2d5=this[_0x58d9a0(0x260)])==null?void 0x0:_0x54c2d5['override']));}['_registerRenderDependencies'](){const _0x54ea53=_0x1d598f;this['disposeWithMe'](this[_0x54ea53(0x2cb)]['registerRenderModule'](_0x575825[_0x54ea53(0x1c4)]['UNIVER_DOC'],[_0x6fa3e3])),this[_0x54ea53(0x1c2)](this[_0x54ea53(0x2cb)][_0x54ea53(0x1f1)](_0x575825['UniverInstanceType']['UNIVER_SHEET'],[_0x1d0c7b]));}['_initDependencies'](){const _0x114df0=_0x1d598f;_0x575825[_0x114df0(0x417)](this['_injector'],[[_0x3093f1],[_0x3bf0b9[_0x114df0(0x34e)]],[_0x3235f6],[_0x1fed79],[_0x3bf0b9[_0x114df0(0x261)]],[_0xa59acb]]);}},_0xb0e95f(_0x3bf0b9[_0x1d598f(0x1be)],_0x1d598f(0x34a),_0x32b0f1),_0x3bf0b9[_0x1d598f(0x1be)]=_0x370dec([_0x575825['DependentOn'](_0x3eed55[_0x1d598f(0x1e6)]),_0x5ca765(0x1,_0x3faa66[_0x1d598f(0x40b)]),_0x5ca765(0x2,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0x5ca765(0x3,_0x575825[_0x1d598f(0x1db)])],_0x3bf0b9[_0x1d598f(0x1be)]);var _0x56c0b2=Object[_0x1d598f(0x2a6)],_0x129f4d=(_0x5a6bbf,_0xe3b6c1,_0x23f8ad,_0x3ff12f)=>{for(var _0x14b400=_0x3ff12f>0x1?void 0x0:_0x3ff12f?_0x56c0b2(_0xe3b6c1,_0x23f8ad):_0xe3b6c1,_0x33be09=_0x5a6bbf['length']-0x1,_0x2677a2;_0x33be09>=0x0;_0x33be09--)(_0x2677a2=_0x5a6bbf[_0x33be09])&&(_0x14b400=_0x2677a2(_0x14b400)||_0x14b400);return _0x14b400;},_0x31c155=(_0x5e5c6f,_0x19fe80)=>(_0x55e801,_0x1183ad)=>_0x19fe80(_0x55e801,_0x1183ad,_0x5e5c6f);_0x3bf0b9['BrowserCollaborationSocketService']=class extends _0x3eed55[_0x1d598f(0x244)]{constructor(_0x49f956,_0x3ee6c3,_0x2de9c0,_0x1a8a24,_0x4d2077){super(_0x49f956,_0x3ee6c3,_0x2de9c0,_0x1a8a24,_0x4d2077);}async[_0x1d598f(0x287)](_0x4a9441){const _0x1be6b6=_0x1d598f,_0x20d581=await this[_0x1be6b6(0x396)](),_0x4be9c9=this['_createSocketURL'](_0x4a9441,_0x20d581);return this['_doCreateSocket'](_0x4be9c9);}['_createSocketURL'](_0x1fbea6,_0xad0c4a){const _0x24532a=_0x1d598f,_0x628991=typeof window>'u'?new URL(_0x1fbea6):new URL(_0x1fbea6,window['location'][_0x24532a(0x29b)]);_0x628991['searchParams'][_0x24532a(0x38d)](_0x24532a(0x40f),_0xad0c4a);const _0x47d584=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24532a(0x3f1)][_0x24532a(0x375)]);return _0x47d584[_0x24532a(0x208)](_0x24532a(0x177))&&_0x628991[_0x24532a(0x2d0)]['set'](_0x24532a(0x177),_0x47d584[_0x24532a(0x208)](_0x24532a(0x177))),_0x628991[_0x24532a(0x32c)]();}async[_0x1d598f(0x396)](){const _0x3d424a=_0x1d598f;var _0x23b340,_0x28a7da,_0x212855;const _0x5bc424=this[_0x3d424a(0x2c2)][_0x3d424a(0x200)](_0x3eed55[_0x3d424a(0x3e2)]),_0x21e16a=(_0x23b340=_0x5bc424==null?void 0x0:_0x5bc424['wsSessionTicketUrl'])!=null?_0x23b340:_0x3eed55['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x212855=(_0x28a7da=(await this[_0x3d424a(0x234)]['get'](_0x21e16a,{'headers':{'Content-Type':_0x3d424a(0x1a9)}}))[_0x3d424a(0x3a9)])==null?void 0x0:_0x28a7da[_0x3d424a(0x3ec)])!=null?_0x212855:'';}},_0x3bf0b9[_0x1d598f(0x1b7)]=_0x129f4d([_0x31c155(0x0,_0x575825[_0x1d598f(0x280)](_0x575825[_0x1d598f(0x3a3)])),_0x31c155(0x1,_0x575825[_0x1d598f(0x280)](_0x5c150a[_0x1d598f(0x17c)])),_0x31c155(0x2,_0x575825[_0x1d598f(0x1db)]),_0x31c155(0x3,_0x575825[_0x1d598f(0x1ab)]),_0x31c155(0x4,_0x382605['ISnapshotServerService'])],_0x3bf0b9[_0x1d598f(0x1b7)]);var _0x542d83=Object[_0x1d598f(0x2a6)],_0x7a753a=(_0x50c108,_0x42634a,_0x1cab2e,_0x9f88d5)=>{for(var _0x4519e8=_0x9f88d5>0x1?void 0x0:_0x9f88d5?_0x542d83(_0x42634a,_0x1cab2e):_0x42634a,_0x53ac78=_0x50c108['length']-0x1,_0x27dc40;_0x53ac78>=0x0;_0x53ac78--)(_0x27dc40=_0x50c108[_0x53ac78])&&(_0x4519e8=_0x27dc40(_0x4519e8)||_0x4519e8);return _0x4519e8;},_0x522df5=(_0x4c1a94,_0x2c4812)=>(_0x267d12,_0x5037ec)=>_0x2c4812(_0x267d12,_0x5037ec,_0x4c1a94);_0x3bf0b9['RemoteUniscriptService']=class extends _0x575825[_0x1d598f(0x3f3)]{constructor(_0x5cb89c,_0x3764f9,_0x2dabfc){const _0x2a7d41=_0x1d598f;super(),this[_0x2a7d41(0x2e9)]=_0x5cb89c,this['_httpService']=_0x3764f9,this['_configService']=_0x2dabfc;}async[_0x1d598f(0x2f5)](_0x174588,_0x4d7cb2,_0x4d9295,..._0x274405){const _0x192110=_0x1d598f;var _0x585838,_0x1331ab,_0x2a1c23,_0x58afab;const _0x1f5ea7=this[_0x192110(0x2e9)][_0x192110(0x1c1)]();if(!_0x1f5ea7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d97af=((_0x585838=this[_0x192110(0x2c2)][_0x192110(0x200)](_0x3eed55['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x585838:_0x3eed55[_0x192110(0x422)])+'/'+_0x174588+_0x192110(0x248)+_0x4d7cb2,_0x1167d5=new URL(window['location'][_0x192110(0x1e3)]),_0x262242={'scriptId':_0x174588,'runId':(_0x1331ab=_0x1167d5[_0x192110(0x2d0)][_0x192110(0x208)](_0x192110(0x177)))!=null?_0x1331ab:'','function':_0x4d7cb2,'unitId':_0x1f5ea7[_0x192110(0x149)](),'argsOfFunction':JSON[_0x192110(0x2c3)](_0x274405),'invokeId':(_0x2a1c23=_0x4d9295[_0x192110(0x26d)])!=null?_0x2a1c23:'','executionId':(_0x58afab=_0x4d9295[_0x192110(0x1da)])!=null?_0x58afab:''};try{const _0x9373b2=await this[_0x192110(0x234)]['post'](_0x5d97af,{'body':_0x262242});return _0x9373b2['body'][_0x192110(0x277)]&&_0x9373b2[_0x192110(0x3a9)][_0x192110(0x277)][_0x192110(0x27c)]!==_0x58b93c['OK']?'Failed':_0x9373b2[_0x192110(0x3a9)][_0x192110(0x294)];}catch{return _0x192110(0x420);}}},_0x3bf0b9[_0x1d598f(0x29d)]=_0x7a753a([_0x522df5(0x0,_0x575825['IUniverInstanceService']),_0x522df5(0x1,_0x575825['Inject'](_0x5c150a['HTTPService'])),_0x522df5(0x2,_0x575825[_0x1d598f(0x1db)])],_0x3bf0b9[_0x1d598f(0x29d)]);const _0x434e94=0x7530,_0x3eee2c=_0x1d598f(0x284);class _0x3c638c extends _0x575825[_0x1d598f(0x3f3)]{constructor(){const _0x1faeeb=_0x1d598f;super(),_0x407fe5(this,_0x1faeeb(0x1d5),_0x575825['generateRandomId']()),_0x407fe5(this,'_selfUnitIDs',new Set()),_0x407fe5(this,_0x1faeeb(0x1a6),new Map()),_0x407fe5(this,_0x1faeeb(0x202),null),_0x407fe5(this,'_clearOtherTimers',new Map()),_0x407fe5(this,_0x1faeeb(0x286),new Map()),this['_init']();}[_0x1d598f(0x189)](){const _0x5f1c93=_0x1d598f;super['dispose'](),this[_0x5f1c93(0x32b)][_0x5f1c93(0x34f)]((_0x4f8ecc,_0x4adfa1)=>this[_0x5f1c93(0x212)](_0x4adfa1)),this['_heartbeatTimer']&&window[_0x5f1c93(0x2bd)](this['_heartbeatTimer']);}[_0x1d598f(0x198)](_0x3b533d){const _0x567c3f=_0x1d598f;return this[_0x567c3f(0x16b)](_0x3b533d)['pipe'](_0x10129d[_0x567c3f(0x163)]());}[_0x1d598f(0x267)](_0x49b711){const _0x27fc29=_0x1d598f;this[_0x27fc29(0x19e)][_0x27fc29(0x303)]===0x0&&this[_0x27fc29(0x3cc)](),this[_0x27fc29(0x19e)][_0x27fc29(0x41c)](_0x49b711),this[_0x27fc29(0x197)]({'type':0x0,'memberID':this[_0x27fc29(0x1d5)],'unitIDs':[_0x49b711],'isForwarded':!0x1});}['disposeUnit'](_0x20f287){const _0x554562=_0x1d598f;this[_0x554562(0x19e)][_0x554562(0x37f)](_0x20f287),this[_0x554562(0x19e)]['size']===0x0&&this[_0x554562(0x202)]&&window[_0x554562(0x2bd)](this[_0x554562(0x202)]);}['_init'](){const _0x6ad24f=_0x1d598f;this[_0x6ad24f(0x1c2)](_0x575825['toDisposable'](_0x10129d[_0x6ad24f(0x1dd)](window,'storage')[_0x6ad24f(0x1bd)](_0x42cef7=>{const _0x102877=_0x6ad24f;if(_0x42cef7[_0x102877(0x2a1)]!==_0x3eee2c||!_0x42cef7[_0x102877(0x1ba)])return;const _0x52368e=JSON[_0x102877(0x407)](_0x42cef7[_0x102877(0x1ba)]);this[_0x102877(0x249)](_0x52368e);}))),window[_0x6ad24f(0x1cf)]('unload',()=>this[_0x6ad24f(0x197)]({'type':0x1,'memberID':this[_0x6ad24f(0x1d5)],'unitIDs':Array[_0x6ad24f(0x236)](this[_0x6ad24f(0x19e)])}));}[_0x1d598f(0x249)](_0xb33721){const _0x8cae8a=_0x1d598f;switch(_0xb33721[_0x8cae8a(0x3bf)]){case 0x0:this[_0x8cae8a(0x1df)](_0xb33721);break;case 0x1:this[_0x8cae8a(0x28a)](_0xb33721);break;case 0x2:this['_handleHeartbeatEvent'](_0xb33721);break;}}[_0x1d598f(0x1df)](_0x44d842){const _0xa18eed=_0x1d598f,{unitIDs:_0x2013f9,memberID:_0x59bfe8,isForwarded:_0x2838e1}=_0x44d842;_0x2013f9[_0xa18eed(0x34f)](_0x39c4d7=>{const _0x497408=_0xa18eed;if(!_0x2838e1&&this[_0x497408(0x1a6)][_0x497408(0x24c)](_0x39c4d7)&&this[_0x497408(0x16b)](_0x39c4d7)[_0x497408(0x144)](_0x3eed55[_0x497408(0x1ff)]['OTHER_CLIENTS_EDITING']),!this[_0x497408(0x1a6)][_0x497408(0x24c)](_0x39c4d7)||!this['_unitOnClients']['get'](_0x39c4d7)['has'](_0x59bfe8)){const _0x42051e=this['_unitOnClients']['get'](_0x39c4d7)||new Set();_0x42051e['add'](_0x59bfe8),this[_0x497408(0x1a6)]['set'](_0x39c4d7,_0x42051e),this['_scheduleClearOtherTimer'](_0x59bfe8);}}),_0x2838e1||this[_0xa18eed(0x197)]({'type':0x0,'memberID':this[_0xa18eed(0x1d5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1d598f(0x329)](_0x4df76d){const _0x26e2fe=_0x1d598f;this['_removeClearOtherTimer'](_0x4df76d);const _0x313a8f=window[_0x26e2fe(0x3f6)](()=>{const _0xb44951=_0x26e2fe;this[_0xb44951(0x1a6)][_0xb44951(0x34f)](_0x197c02=>{const _0x499ec1=_0xb44951;_0x197c02[_0x499ec1(0x37f)](_0x4df76d);});},_0x434e94*0x2);this[_0x26e2fe(0x32b)]['set'](_0x4df76d,_0x313a8f);}['_removeClearOtherTimer'](_0x112cb2){const _0x48349c=_0x1d598f;if(this[_0x48349c(0x32b)]['has'](_0x112cb2)){const _0x406f90=this[_0x48349c(0x32b)][_0x48349c(0x208)](_0x112cb2);_0x406f90&&window['clearTimeout'](_0x406f90),this[_0x48349c(0x32b)][_0x48349c(0x38d)](_0x112cb2,null);}}[_0x1d598f(0x28a)](_0x5377cb){const _0x1cfc69=_0x1d598f,{memberID:_0x72ca2d,unitIDs:_0x4b814f}=_0x5377cb;_0x4b814f[_0x1cfc69(0x34f)](_0x993299=>{const _0xbec23e=_0x1cfc69;var _0x62a570;const _0x263450=this['_unitOnClients'][_0xbec23e(0x208)](_0x993299);_0x263450&&(_0x263450[_0xbec23e(0x37f)](_0x72ca2d),(_0x62a570=this[_0xbec23e(0x16b)](_0x993299))==null||_0x62a570[_0xbec23e(0x144)](_0x263450[_0xbec23e(0x303)]===0x0?_0x3eed55[_0xbec23e(0x1ff)][_0xbec23e(0x3d9)]:_0x3eed55[_0xbec23e(0x1ff)][_0xbec23e(0x414)]));}),this[_0x1cfc69(0x212)](_0x72ca2d);}[_0x1d598f(0x2bf)](_0x4c28d0){const _0x2d384f=_0x1d598f;this[_0x2d384f(0x329)](_0x4c28d0[_0x2d384f(0x3ed)]);}[_0x1d598f(0x197)](_0x13541e){const _0x4d458c=_0x1d598f;localStorage[_0x4d458c(0x3fb)](_0x3eee2c,JSON[_0x4d458c(0x2c3)](_0x13541e));}[_0x1d598f(0x3cc)](){const _0x495093=_0x1d598f;this[_0x495093(0x202)]=window[_0x495093(0x34b)](()=>{const _0x50e797=_0x495093;this[_0x50e797(0x197)]({'type':0x2,'memberID':this[_0x50e797(0x1d5)]});},_0x434e94);}[_0x1d598f(0x16b)](_0x238436){const _0x5eda8e=_0x1d598f;return this[_0x5eda8e(0x286)][_0x5eda8e(0x24c)](_0x238436)||this[_0x5eda8e(0x286)][_0x5eda8e(0x38d)](_0x238436,new _0x10129d[(_0x5eda8e(0x2fe))](_0x3eed55[_0x5eda8e(0x1ff)][_0x5eda8e(0x3d9)])),this['_unitStatus'][_0x5eda8e(0x208)](_0x238436);}}_0x3bf0b9[_0x1d598f(0x3be)]=_0x23e87d,_0x3bf0b9[_0x1d598f(0x23f)]=_0x4f7d08,_0x3bf0b9[_0x1d598f(0x28f)]=_0x3c638c,_0x3bf0b9[_0x1d598f(0x157)]=_0x1f9787,Object['defineProperty'](_0x3bf0b9,Symbol['toStringTag'],{'value':_0x1d598f(0x1b8)});}));function _0x35fd(){const _0x37a14a=['SheetSkeletonManagerService','saveImage','Error','12819gKErUZ','collaboration-client-ui.config','_setupSubUnitSync','collabStatus.synced','SUBMIT_CHANGESET_TIMEOUT','fillRule','_scheduleClearOtherTimer','_showGuardMessage','_clearOtherTimers','toString','indexOf','stageInfo','1286562uyaIvJ','LICENSE_DISTRO_REJECTED','exports','contains','UniverDocsUi','Rect','map','collabStatus.syncing','push','_startDocCollabCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collabCursorController','IDocClipboardService','TOO_MANY_REQUESTS','some','SessionStatus','handleInsertRangeMoveDown','UniverProCollaborationClientUi','RECT','getSkeleton','subscribeEvent','_scene','_cursorShapes','functionsExecutedState','_updateSubUnitFromURLParams','attrs','getCellMatrix','pluginName','setInterval','split','OnLineIcon','DesktopCollaborationStatusDisplayController','forEach','useRef','runRefRangeMutations','defineProperty','CollaborationStatus','width','DOC_RANGE_TYPE','currentSkeleton$','transformByState','clipPath','resize','getOwnPropertySymbols','registerRefRange','debounce','UniverProCollaboration','_toggleOffline','APPLY_DUPLICATED','LOCAL_CACHE_INTERVAL_KEY','_uiPartsService','WebSocketService','fill','UNDEFINED','10MRSXyf','collabStatus.offline','NOT_COLLAB','getRenderById','evenodd','_backgroundColor','_cursors','Plugin','connectInjector','Tools','assign','show','_beforeCloseService','formula.calculation.waiting','_onRefRangeChange','object','search','collaboration.closeRoom','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','all','_cursorInfo$','transformMutation','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','delete','INVALID_ARGUMENT','_online','selections','getMergeData','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','TEXT_RANGE_LAYER_INDEX','3938860DeWwyR','_localStorageService','getOffsetConfig','translate(.97)','?taskId=','ENTITLE_CAN_NOT_BUY_LOWER_OTP','set','switchMap','ENTITLE_NEED_BILLING_ADDRESS','beginPath','_registerRenderDependencies','_handleHover','DocIMEInputManagerService','Vector2','IBeforeCloseService','_getSessionTicket','call','enableLocalCache','REDEMPTION_CODE_HAS_BEEN_CREATED','hovered','shareReplay','_anchorDot','cursorInfo$','function','isArray','max','currentTheme$','addClipboardHook','Injector','OffLineIcon','parseInt','_entityInit$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','body','unit','focused$','UniverEngineRender','backgroundColor','getformulaLimitStatusUrl','REDEMPTION_CODE_FULLY_REDEEMED','transformStateCache','closePath','defIds','Unknown\x20user','registerBeforeClose','hide','none','onPointerLeave$','flatMap','transform','[CollaborationDataLoaderController]','_localCacheService','SetWorksheetActivateCommand','YUUMI_ASYNCIO_CANCELLED','IURLService','type','_eventUnsubscribe','apply','_notificationService','_univerInstanceService','popstate','subUnitId','FromArray','handleInsertRow','filter','lineTo','unitId','NodePositionConvertToRectRange','_scheduleHeartbeat','DocSkeletonManagerService','CURRENT_STATUS_CANNOT_OPERATE','MoveRangeCommandId','operators','_saveTaskMap','_setFormulaLimitStatus','labelPosition','throttleTime','serializeRangeWithSheet','onStarting','IImageIoService','colorChannel1','NO_OTHER_CLIENTS_EDITING','moveTo','USER_IS_ANONYMOUS','forwardRef','setActiveRange','complete','_initStatusComponent','_updateLocalCursor','_getSheetObject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getDocRanges','isActive','green.600','setShapeProps','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_range','m2Prime','PERMISSION_DENIED','_releaseCalculationLimit','ticket','memberID','bottom','getColor','maxFormulaLimit','location','_cursor','Disposable','ILocalStorageService','formula.calculation.unable','setTimeout','ILocalCacheService','AWAITING','_currentUsage','Tooltip','setItem','LICENSE_MAX_UNITS_EXCEEDED','onLocalMutation','_hasFormulaInDirtyRanges','with','children','row','CollaborationController','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','div','findNodePositionByCharIndex','parse','getCollabCursors$','DisposableCollection','propertyIsEnumerable','IRenderManagerService','getAncestorScale','hasOwnProperty','_initEntityListener','sessionTicket','startColumn','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_RATE_OVER_LIMIT','_saveCache','OTHER_CLIENTS_EDITING','_document','getCollabEntity$','touchDependencies','className','_onCursorDelete','round','shift','add','@univerjs-pro/collaboration','RegularPolygon','_startCalculationLimit','Failed','getSheetBySheetId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillText','_pollingInterval','UNIVER_DOC','next','roomMembers','getCurrentSelections','react/jsx-runtime','saveTaskMap','getUnitId','INotificationService','BuiltInUIPart','textRanges','_draw','values','M0\x200H16V16H0z','getActiveSheet','_hover','AUTHORIZE_CODE_ILLEGAL','Shape','_transformUndoRedoStack','UniverSheets','react','WebURLService','disableLocalCache','createIdentifier','exhaustSavingTask','getTypeOfUnitDisposed$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DataLoaderService','ENTITLE_DUP_SUBSCRIPTION','@univerjs/engine-render','top','_memberService','CollaborationSessionService','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','registerDependencies','getActiveRange','#FFF','useCallback','_getSaveTimeout','ENTITLE_REPORT_LIMIT_EXCEED','_ensureSubject','517016VAjKPN','UniverIcon','mapTo','YUUMI_AI_RUN_FAILED','purple.300','getCurrentUnitForType','_collaborationUIEventService','pushState','CollaborationEvent','MUTATION','_name','runId','cursorInfo','startFormulaLimitUrl','InsertRangeMoveRightCommandId','handleInsertCol','HTTPService','drawWith','UniverProCollaborationClient','getMember','assignAColorForMemberID','_shapes','_initEvent','engine','FormulaExecuteStageType','_docTransformIMECacheService','getSheetId','concat','@univerjs/rpc','dispose','OFFLINE','currentColor','/universer-api/license/formula/limit/status','source','now','getUnit','DocSelectionManagerService','_urlService','_getScale','MemberService','_refRangeService','1em','_color','_send','getUnitStatus$','url(#$1','INVITE_CODE_HAS_BEEN_UES','USER_NOT_FOUND','sessionStatus$','save','_selfUnitIDs','HEADER_MENU','LICENSE_IMPORT_SIZE_EXCEEDED','getMemberID','executeCommand','permission.title','takeUntil','createElement','_unitOnClients','getCellPositionByOffset','/universer-api/license/formula/limit/start','application/json','isFormulaId','ILogService','@univerjs/docs-ui','onMouseMove','_logService','tag','unsubscribe','arc','isFormulaString','_getMergeRange','WECHAT_HAS_BEEN_BOUND','FETCH_MISS','_setupBeforeClosingHandler','BrowserCollaborationSocketService','Module','addObjects','newValue','status$','text','subscribe','UniverCollaborationClientUIPlugin','REDEMPTION_INVALID_CODE','column','getFocusedUnit','disposeWithMe','_initCommandInterceptor','UniverInstanceType','React','off-line-icon_clip0_910_343','@univerjs/sheets-ui','toDisposable','generateRandomId','_drawAnchor','getStateCache','use','_maxFormulaLimit','event$','addEventListener','_context','Warning','post','session.connection-failed','_applyCommand','_id','string','RxDisposable','Rectangle','jsxs','executionId','IConfigService','_scheduleSaving','fromEvent','_initStatusListener','_handleJoinEvent','rxjs','redoState','_syncEditingCollabCursorService','href','fillStyle','clearTimeout','UniverCollaborationClientPlugin','UNIVER_SHEET','transformSelections','REDEMPTION_CODE_INACTIVE','merge','dispose$','skeleton','SOCKET_FAILED','ITransformService','_colorAssignService','SheetsSelectionsService','registerRenderModule','IUIPartsService','SNAPSHOT_INVALID_SNAPSHOT','PAYMENT_CHANNEL_NOT_SUPPORT','combineLatest','_docClipboardService','_cachedData','INTERNAL_ERROR','sheetId','_disabled','ONLINE','collab-client.tooltip.reconnect','mutations','ENSURE_SNAPSHOT_EXECUTION','UnitStatus','getConfig','_refreshCollabCursors','_heartbeatTimer','transformRemoteChangeset','find','collab-text-range-','ranges','APPLY_REJECT','get','LOGIN_FAILED','@univerjs/sheets','asObservable','height','getColorFromTheme','UniverCore','requireSession','getVpScrollXYInfoByPosToVp','REDEMPTION_USER_NOT_ELIGIBLE','_removeClearOtherTimer','InsertRowCommandId','425987XRUrDO','undoState','getCurrent','getCoordByCell','makeDirty','length','_lastResponseTimestamp','getParam','_checkCalculationAvailable','icon','endRow','fromEventSubject','setStateCache','getLocalCacheKey','send','imageSourceType','onCommandExecuted','updateOfflineData','unitID','_updateURLWithCurrentState','then','init','NodePositionConvertToCursor','handleMoveRange','IUniverInstanceService','UniverDocs','handleInsertRangeMoveRight','useDependency','collabCursorState$','univerjs-icon\x20univerjs-icon-','RefRangeService','_sheetSkeletonManagerService','_httpService','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','from','_injector','replaceState','_removeCollabCursors','SOCKET_FAILED_RETRY','_docSkeletonManagerService','selection','_initResize','_messageService','SheetCollabCursorShape','jsx','entries','@univerjs/core','Workbook','CollaborationSocketService','COMPLETION_FINISHED','transformIMECache','_getFormulaLimitStatus','/run/','_handleEvent','rgba(255,\x20255,\x20255,\x200.01)','SetFormulaCalculationNotificationMutation','has','beforeCommandExecuted','_hovered','xlink:href','trim','toRgbString','path','_drawTextRange','_checkAndWaitForCalculationPermission','PY_RUNTIME_SCRIPT_ERROR','permission.content','getViewport','clsx','_collabSessionService','@univerjs-pro/collaboration-client','_startSheetCollabCursor','_dataLoaderService','_localeService','RichTextEditingMutation','actions','_config','CollaborationDataLoaderController','mergeOverrideWithDependencies','_commandService','_initCommandExecutedListener','debounceTime','saveOfflineData','editingUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','0\x200\x2016\x2016','UniverDrawing','CanceledError','prototype','invokeId','UniverSheetsUi','_getAnchorBounding','doc.mutation.rich-text-editing','@univerjs/engine-formula','IMessageService','CONFLICT','MOBILE_VERIFY_CODE_MISMATCH','TEXT','_render','error','EMAIL_VERIFY_CODE_MISMATCH','_clearPolling','ICommandService','getRelativeToViewportCoord','code','includes','urlChange$','limitInfo','Inject','debug','_hideTimer','getValue','ACTIVE_UNIT_EVENT_CHANNEL','Loading','_unitStatus','createSocket','0\x200\x2017\x2016','10426200CsfgtP','_handleLeaveEvent','color','SNAPSHOT_HAS_BEEN_REMOVED','min','NOT_FOUND','WebBrowserSingleActiveUnitService','on-line-icon_clip0_910_349','current','7582708uwfaHm','SetSelectionsOperation','result','restore','_docSkeleton','_entities','_textBubble','roomMembers$','amd','origin','_transformHistoryAndStateStack','RemoteUniscriptService','addObject','createInstance','_assignedColors','key','Subject','_docTransformSelectionsService','name','_labelPosition','getOwnPropertyDescriptor','setUndoRedoMutationParamsCache','history','_anchor','296YviVaP','START_CALCULATION','_initDependencies','http://www.w3.org/2000/svg','APPLY_REVISION_CONFILICT','_transformService','UNAUTHENTICATED','SYNCED','getUndoRedoMutationParamsCache','handleDeleteRangeMoveUp','CollaborationUIEventId','REDEMPTION_CODE_NOT_STARTED','_roomMembers$','_drawRectRange','jiqing.500','UniverEngineFormula','eventID','onRendered','UPDATE_CURSOR','clearInterval','getItem','_handleHeartbeatEvent','random','USERS_LEAVE','_configService','stringify','@univerjs/network','AWAITING_WITH_PENDING','subunit','_status$','_revisionService','measureText','ERROR_AGAIN','_renderManagerService','red.300','_colorIndex','collabStatus.notCollab','transformMutationsWithChangeset','searchParams','_collaborationController','range','displayName','MessageType','@univerjs/docs','...','replaceDocRanges','_docStateChangeManagerService','defs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isEditing','EffectRefRangId','_toggleOnline','getCurrentRevOfUnit','handleIRemoveCol','ENTITLE_CHAT_LIMIT_EXCEED','_collabCursorState$','m1Prime','ThemeService','MOBILE_HAS_BEEN_BOUND','36bNBJrq','syncEditingCollabCursor','UniverUi','_instanceService','handleDeleteRangeMoveLeft','idSuffix','_session','params','CLOSE_ROOM','univer-mr-2\x20univer-flex\x20univer-text-xl','_lastPointer','collaboration.single-unit.warning','YUUMI_CONNECTOR_URL_NOT_FOUND','CHANGESET_REVISION_CONFILICT','ColorKit','runOnServer','SHEET_VIEWPORT_KEY','VIEW_MAIN','unshift','isTransformMutationFailure','DocCollaborationEntity','_themeService','YUUMI_SUBSCRIPTION_NOT_FOUND','_docSyncEditingCollabCursorService','BehaviorSubject','startsWith','OTHER_CLIENT_EDITING','stage','activeSheet$','size','COLORS','_registerDependencies','white','CONNECTOR_DATA_TOO_LARGE','LocaleService','RemoveColCommandId','ALREADY_EXISTS','Success','APPLY_PERMISSION_DENIED','blue.400','_updateCollabCursors','extend','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','sheetID','data','_docTransformStateCacheService','deepClone','YUUMI_URL_COL_OUT_OF_RANGE','_taskIds','svg','EMAIL_HAS_BEEN_BOUND','_init','collaboration-client.offline-data-not-saved','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','black','SUCCESS','_transformPreviousActiveRange'];_0x35fd=function(){return _0x37a14a;};return _0x35fd();}
|