@univerjs-pro/collaboration-client-ui 0.9.4 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/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/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
- 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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2e20(){const _0x1af16b=['params','permission.content','CommandType','toDisposable','OTHER_CLIENTS_EDITING','_initStatusComponent','PENDING','useDependency','WebBrowserSingleActiveUnitService','subunit','UNIVER_DOC','getLocalCacheKey','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','OnLineIcon','concat','runId','m2Prime','call','url(#on-line-icon_clip0_910_349)','black','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','react/jsx-runtime','_send','_entities','object','YUUMI_SUBSCRIPTION_NOT_FOUND','max','CollaborationDataLoaderController','has','_cursorInfo$','length','OffLineIcon','removeParam','unsubscribe','handleDeleteRangeMoveUp','LICENSE_EXPORT_SIZE_EXCEEDED','setItem','UniverDrawing','mutations','attrs','color','imageSourceType','addObjects','jsxs','_docClipboardService','cursorInfo$','RemoveColCommandId','5041880IzjbKm','collab-text-range-','SheetCollabCursorShape','getColorFromTheme','eventID','doc.mutation.rich-text-editing','MOBILE_HAS_BEEN_BOUND','displayName','_clearOtherTimers','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationSessionService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setTimeout','substring','executionId','AWAITING_WITH_PENDING','code','search','_updateCollabCursors','rxjs','react','set','currentSkeleton$','WECHAT_HAS_BEEN_BOUND','fillText','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveRange','history','onRendered','getActiveSheet','OTHER_CLIENT_EDITING','current','sessionTicket','saveImage','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_WS_SESSION_TICKET_URL','onMouseMove','getMemberID','engine','_textBubble','SOCKET_FAILED','reconnect','merge','_unitStatus','entries','symbol','ACTIVE_UNIT_EVENT_CHANNEL','getUnhiddenWorksheets','INVALID_INVITE_CODE','_messageService','_updateLocalCursor','_removeCollabCursors','UniverProCollaborationClient','isEditing','UniverNetwork','RemoteUniscriptService','_anchorDot','origin','ALREADY_EXISTS','_range','send','debounceTime','_transformUndoRedoStack','loadUnit','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','extend','2040921GaFeov','MessageType','toStringTag','jiqing.500','SetSelectionsOperation','getViewport','Inject','Tooltip','InsertColCommandId','getAncestorScale','_cursor','JOIN_ROOM_FAILED','application/json','currentColor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveOfflineData','_initStatusListener','LocaleService','_sheetSkeletonManagerService','_renderManagerService','colorChannel1','4582980LFgKup','startColumn','_scheduleClearOtherTimer','getUnitId','debug','init','on-line-icon','FromArray','UPDATE_CURSOR','_getAnchorBounding','getUndoRedoMutationParamsCache','urlChange$','...','round','CollaborationUIEventService','collaboration-client-ui.config','Warning','key','APPLY_DUPLICATED','_notificationService','APPLY_REJECT','_handleHeartbeatEvent','sheetId','_shapes','on-line-icon_clip0_910_349','_roomMembers$','getSheetId','editingUnit','_labelPosition','@univerjs/sheets-ui','deepClone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/design','[CollaborationDataLoaderController]','1em','getItem','/run/','TOO_MANY_REQUESTS','UniverInstanceType','ENSURE_SNAPSHOT_EXECUTION','white','addEventListener','ISocketService','registerDependencies','registerComponent','CollaborationController','asObservable','getCellPositionByOffset','IUIPartsService','transformRemoteChangeset','_context','_dataLoaderService','getRangePointData','_toggleOnline','RemoveRowCommandId','svg','UniverCore','_unitOnClients','IURLService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','rxjs/operators','handleInsertCol','IUniverInstanceService','DOC_RANGE_TYPE','parse','DesktopCollaborationStatusDisplayController','unitID','DocCollaborationEntity','COLORS','transformMutation','setInterval','unitId','getValue','getVpScrollXYInfoByPosToVp','setStateCache','registerBeforeClose','roomMembers$','collaboration.closeRoom','handleInsertRangeMoveRight','takeUntil','ONLINE','APPLY_NON_SEQUENTIAL_REVISION','row','DocStateChangeManagerService','RefRangeService','PERMISSION_DENIED','labelPosition','Failed','lineTo','YUUMI_ASYNCIO_CANCELLED','idSuffix','font','assign','toRgbString','_scheduleSaving','CONFLICT','PY_RUNTIME_SCRIPT_ERROR','beginPath','univer-flex\x20univer-items-center','cursorInfo','_initDependencies','clipPath','YUUMI_UNABLE_LOAD_URL','_hideTimer','_themeService','UniverProCollaboration','NO_OTHER_CLIENTS_EDITING','IConfigService','xlink:href','getTypeOfUnitDisposed$','CONNECTOR_DATA_TOO_LARGE','_commandService','transformStateCache','trim','collab-text-anchor-','_initResize','setActiveRange','map','M0\x200H16V16H0z','@univerjs-pro/collaboration-client','BehaviorSubject','exhaustSavingTask','_collabCursorState$','getRenderById','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_doCreateSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Workbook','_lastPointer','currentTheme$','newValue','hide','SYNCED','ILogService','getDocRanges','enableLocalCache','fromEvent','_transformPreviousActiveRange','_id','icon','APPLY_REVISION_CONFILICT','assignAColorForMemberID','includes','redoState','TEXT','path','_render','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','_onRefRangeChange','_init','url(#$1','isTransformMutationFailure','DocIMEInputManagerService','data','source','_logService','useRef','UNRECOGNIZED','_getSaveTimeout','_onCursorUpdate','collabStatus.notCollab','35254QcOCVr','createElement','_refRangeService','string','range','_initEvent','Unknown\x20user','collabStatus.offline','values','propertyIsEnumerable','getUniverSheetInstance','flatMap','SheetsSelectionsService','@univerjs-pro/collaboration','_startSheetCollabCursor','_docSkeletonManagerService','min','with','getConfig','USERS_LEAVE','FETCH_MISS','ISnapshotServerService','_initCommandExecutedListener','createSocket','_anchor','save','collabCursorState$','RECT','combineLatest','_ensureSubject','collabStatus.synced','setUndoRedoMutationParamsCache','createInstance','getSheetObject','width','_getMergeRange','_scheduleHeartbeat','updateOfflineData','syncEditingCollabCursor','OFFLINE','Vector2','_uiPartsService','USER_NOT_INVITED_CODE','_hovered','APPLY_PERMISSION_DENIED','popstate','_saveTaskMap','_drawRectRange','@univerjs/network','getRelativeToViewportCoord','_syncEditingCollabCursorService','INTERNAL_ERROR','UniverIcon','_getSessionTicket','replaceState','defs','complete','handleIRemoveCol','_docStateChangeManagerService','CollaborationStatus','sessionStatus$','getTypeOfUnitAdded$','subscribe','fill','320pBcpQv','defineProperty','endColumn','_drawAnchor','getOwnPropertySymbols','getCurrentRevOfUnit','throttleTime','isActive','_memberService','Disposable','_setupSubUnitSync','unload','m1Prime','UniverUi','session.will-retry','3892820mikcvf','LOCAL_CACHE_INTERVAL','_refreshCollabCursors','createIdentifier','_urlService','Tools','subUnitId','DependentOn','IMessageService','split','shareReplay','isTransformMutationsWithChangesetSuccess','mask','roomMembers','arc','_setupBeforeClosingHandler','_session','permission.title','_assignedColors','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','_selfUnitIDs','Optional','handleInsertRow','_initEntityListener','forEach','_collaborationController','BrowserCollaborationSocketService','MUTATION','serializeRangeWithSheet','dispose','findNodePositionByCharIndex','_localCacheService','@univerjs/engine-formula','get','_transformHistoryAndStateStack','next','_registerRenderDependencies','executeCommand','RegularPolygon','generateRandomId','registerRefRange','UnitStatus','function','Shape','_heartbeatTimer','stringify','triggerDblclick','_configService','indexOf','_draw','_status$','React','exports','TEXT_RANGE_LAYER_INDEX','_createSocketURL','isArray','CollaborationEvent','LICENSE_MAX_UNITS_EXCEEDED','handleInsertRangeMoveDown','ILocalCacheService','replaceDocRanges','_handleEvent','UNIVER_SHEET','COMPLETION_FINISHED','UniverEngineRender','clearTimeout','AWAITING','height','name','href','setParam','_colorAssignService','textRanges','from','moveTo','drawWith','InsertRowCommandId','green.600','whenReady','dispose$','#FFF','startsWith','_registerDependencies','focused$','RevisionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','debounce','hasOwnProperty','className','bottom','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onCommandExecuted','_collabCursorController','CollaborationUIEventId','INVITE_CODE_ALREADY_BOUND','_color','getMergeData','_updateURLWithCurrentState','blue.400','getCollabCursors$','@univerjs/rpc','off-line-icon_clip0_910_343','@univerjs/docs-ui','329684JxuYqK','EffectRefRangId','MOBILE_VERIFY_CODE_MISMATCH','IBeforeCloseService','WebSocketService','_docTransformStateCacheService','_docTransformIMECacheService','mergeOverrideWithDependencies','getColor','pluginName','requireSession','InsertRangeMoveRightCommandId','ThemeService','ranges','text','session.collaboration-timeout','http://www.w3.org/2000/svg','getFocusedUnit','_getSheetObject','Error','setShapeProps','skeleton','deserializeRangeWithSheet','sheetID','_docSyncEditingCollabCursorService','_transformService','CollaborationSocketService','_updateSubUnitFromURLParams','SHEET_VIEWPORT_KEY','_handleLeaveEvent','getCollabEntity$','EMAIL_HAS_BEEN_BOUND','undoState','measureText','_entityInit$','_httpService','type','_revisionService','SetWorksheetActivateCommand','_collaborationUIEventService','NodePositionConvertToCursor','ICommandService','INotificationService','Injector','_cursorShapes','UniverDocs','UniverSheets','_instanceService','EMAIL_VERIFY_CODE_MISMATCH','NodePositionConvertToRectRange','location','toString','Plugin','getCurrentUnitForType','unshift','some','random','resize','off-line-icon','evenodd','_toggleOffline','error','transformMutationsWithChangeset','collaboration.single-unit.warning','addObject','RxDisposable','_startDocCollabCursor','transformIMECache','getCoordByCell','size','_docTransformSelectionsService','getSkeleton','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVALID_ARGUMENT','selection','_collabSessionService','Subject','getOwnPropertyDescriptor','InsertRangeMoveDownCommandId','subscribeEvent','hovered','_cachedData','onPointerLeave$','_name','YUUMI_URL_COL_OUT_OF_RANGE','push','RichTextEditingMutation','_hover','_handleHover','handleIRemoveRow','UniverCollaborationClientUIPlugin','MemberService','Rect','_univerInstanceService','_localStorageService','getStateCache','ColorKit','getMember','show','CHANGESET_REVISION_CONFILICT','_cursors','registerRenderModule','red.300','prototype','onLocalMutation','54VvaPDR','_saveCache','YUUMI_RATE_OVER_LIMIT','_injector','delete','getCurrent','_removeClearOtherTimer','YUUMI_ALL_TABLES_IS_INVALID','replace','DisposableCollection','storage','touchDependencies','onPointerMove$','result','_drawTextRange','_eventUnsubscribe','0\x200\x2017\x2016','yellow.400','_onCursorDelete','IDocClipboardService','filter','event$','WebURLService','SessionStatus','amd','_online','44LlrxoA','operators','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','transformSelections','body','distinctUntilChanged','restore','setAlpha','MoveRangeCommandId','fillRule','column','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','disposeUnit','forwardRef','HTTPService','_disabled','getSheetBySheetId','session.connection-failed','getParam','INVITE_CODE_HAS_BEEN_UES','useObservable','@univerjs/sheets','find','fillStyle','top','ITransformService','disableLocalCache','_getScale','IRemoteInstanceService','switchMap','_scene','defIds','url(#off-line-icon_clip0_910_343)','jsx','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','purple.300','YUUMI_AI_RUN_FAILED','disposeWithMe','UniverEngineFormula','CLOSE_ROOM','_imageIoService','0\x200\x2016\x2016','_backgroundColor','saveTaskMap','VIEW_MAIN','tag','UniverRpc','LICENSE_DISTRO_REJECTED','SheetSkeletonManagerService','13162177lJplYs','pipe','searchParams','UNAUTHENTICATED','children','UNDEFINED','_config','NOT_COLLAB','@univerjs/ui','IRenderManagerService','pushState','translate(.97)','_colorIndex','LOGIN_FAILED','none','IImageIoService','add','getOffsetConfig'];_0x2e20=function(){return _0x1af16b;};return _0x2e20();}function _0x35c9(_0x88068e,_0x57cd94){const _0x2e20e6=_0x2e20();return _0x35c9=function(_0x35c91a,_0x362c40){_0x35c91a=_0x35c91a-0x166;let _0x5ae76e=_0x2e20e6[_0x35c91a];return _0x5ae76e;},_0x35c9(_0x88068e,_0x57cd94);}(function(_0x25beb5,_0x1d9858){const _0x3a0a5f=_0x35c9,_0x1c18be=_0x25beb5();while(!![]){try{const _0x4b9559=-parseInt(_0x3a0a5f(0x313))/0x1*(parseInt(_0x3a0a5f(0x1d9))/0x2)+-parseInt(_0x3a0a5f(0x2f9))/0x3*(parseInt(_0x3a0a5f(0x28f))/0x4)+-parseInt(_0x3a0a5f(0x228))/0x5+-parseInt(_0x3a0a5f(0x3e0))/0x6+-parseInt(_0x3a0a5f(0x346))/0x7+-parseInt(_0x3a0a5f(0x388))/0x8+-parseInt(_0x3a0a5f(0x3cb))/0x9*(-parseInt(_0x3a0a5f(0x219))/0xa);if(_0x4b9559===_0x1d9858)break;else _0x1c18be['push'](_0x1c18be['shift']());}catch(_0x37c994){_0x1c18be['push'](_0x1c18be['shift']());}}}(_0x2e20,0xe6976),function(_0x4fb134,_0x3b1277){const _0x29d0f7=_0x35c9;typeof exports==_0x29d0f7(0x371)&&typeof module<'u'?_0x3b1277(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x29d0f7(0x311)]?define([_0x29d0f7(0x25c),_0x29d0f7(0x1ae),'@univerjs/core','@univerjs/engine-render',_0x29d0f7(0x209),_0x29d0f7(0x28e),'@univerjs/drawing',_0x29d0f7(0x39c),_0x29d0f7(0x1e6),'@univerjs/docs',_0x29d0f7(0x248),_0x29d0f7(0x329),_0x29d0f7(0x173),_0x29d0f7(0x3fd),_0x29d0f7(0x36e),_0x29d0f7(0x34e),_0x29d0f7(0x400),_0x29d0f7(0x39d),_0x29d0f7(0x28c)],_0x3b1277):(_0x4fb134=typeof globalThis<'u'?globalThis:_0x4fb134||self,_0x3b1277(_0x4fb134['UniverProCollaborationClientUi']={},_0x4fb134[_0x29d0f7(0x3bd)],_0x4fb134[_0x29d0f7(0x16f)],_0x4fb134[_0x29d0f7(0x268)],_0x4fb134[_0x29d0f7(0x3bf)],_0x4fb134['UniverDocsUi'],_0x4fb134[_0x29d0f7(0x37e)],_0x4fb134[_0x29d0f7(0x39c)],_0x4fb134[_0x29d0f7(0x1a0)],_0x4fb134[_0x29d0f7(0x2bc)],_0x4fb134[_0x29d0f7(0x33b)],_0x4fb134[_0x29d0f7(0x2bd)],_0x4fb134[_0x29d0f7(0x39c)][_0x29d0f7(0x314)],_0x4fb134['UniverSheetsUi'],_0x4fb134[_0x29d0f7(0x25b)],_0x4fb134[_0x29d0f7(0x226)],_0x4fb134['UniverDesign'],_0x4fb134['React'],_0x4fb134[_0x29d0f7(0x343)]));}(this,function(_0x1a9818,_0x574d08,_0x1a1077,_0x440ec2,_0x415ecd,_0x34435f,_0x4ee18e,_0x447b79,_0x2333c6,_0x204ba9,_0x1b192e,_0xf2c5f7,_0x66fe1a,_0x10445a,_0x4c4c0f,_0x2b55d2,_0x48312e,_0x1906a3,_0x32b0cc){'use strict';const _0x57a832=_0x35c9;var _0x302413=Object[_0x57a832(0x21a)],_0xe7514=(_0x53e5b8,_0x46220a,_0x10ac80)=>_0x46220a in _0x53e5b8?_0x302413(_0x53e5b8,_0x46220a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10ac80}):_0x53e5b8[_0x46220a]=_0x10ac80,_0x1531e9=(_0x3fd2f4,_0x317819,_0x3abc20)=>_0xe7514(_0x3fd2f4,typeof _0x317819!=_0x57a832(0x3b6)?_0x317819+'':_0x317819,_0x3abc20),_0x230b3f=Object[_0x57a832(0x2dd)],_0x4a12a8=(_0x233296,_0x6fe41a,_0x313b13,_0x3790ca)=>{const _0x50e395=_0x57a832;for(var _0x24bc70=_0x3790ca>0x1?void 0x0:_0x3790ca?_0x230b3f(_0x6fe41a,_0x313b13):_0x6fe41a,_0x44c62f=_0x233296[_0x50e395(0x377)]-0x1,_0x1e9ce9;_0x44c62f>=0x0;_0x44c62f--)(_0x1e9ce9=_0x233296[_0x44c62f])&&(_0x24bc70=_0x1e9ce9(_0x24bc70)||_0x24bc70);return _0x24bc70;},_0x23dcab=(_0x3708bb,_0x431732)=>(_0x5a1fee,_0x4acc26)=>_0x431732(_0x5a1fee,_0x4acc26,_0x3708bb);let _0x10a210=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x4afc4a,_0x32b67e){const _0x441c15=_0x57a832;super(),this[_0x441c15(0x385)]=_0x4afc4a,this[_0x441c15(0x33d)]=_0x32b67e,this[_0x441c15(0x1cd)]();}[_0x57a832(0x1cd)](){const _0x444c17=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x24085a=>{const _0x2661a8=_0x35c9,_0x54d4a5=await _0x444c17[_0x2661a8(0x33d)][_0x2661a8(0x3aa)](_0x24085a);return _0x54d4a5?{'source':_0x54d4a5[_0x2661a8(0x1d2)],'imageSourceType':_0x54d4a5[_0x2661a8(0x382)]}:null;}}));}};_0x10a210=_0x4a12a8([_0x23dcab(0x0,_0x34435f[_0x57a832(0x30c)]),_0x23dcab(0x1,_0x4ee18e[_0x57a832(0x355)])],_0x10a210);const _0x30a909=[_0x57a832(0x338),_0x57a832(0x3ce),_0x57a832(0x275),_0x57a832(0x2f6),_0x57a832(0x28a),_0x57a832(0x30a)];class _0x1ea788 extends _0x1a1077['Disposable']{constructor(){const _0x5d42f5=_0x57a832;super(...arguments),_0x1531e9(this,'_assignedColors',new Map()),_0x1531e9(this,_0x5d42f5(0x352),0x0);}[_0x57a832(0x1c4)](_0x1f2e5c){const _0x55c03b=_0x57a832;if(this[_0x55c03b(0x23a)]['has'](_0x1f2e5c))return this['_assignedColors']['get'](_0x1f2e5c);const _0x462c57=_0x30a909[this[_0x55c03b(0x352)]];return this['_colorIndex']=(this[_0x55c03b(0x352)]+0x1)%_0x30a909['length'],this[_0x55c03b(0x23a)][_0x55c03b(0x39e)](_0x1f2e5c,_0x462c57),_0x462c57;}}function _0x1e3d7a(_0x3274e7){let _0x25fca6='';for(const _0x1a13cf of _0x3274e7){const {startOffset:_0x31f0f7,endOffset:_0x381486,isActive:_0x2fd796,rangeType:_0x13ba57,segmentId:_0x54a8c0,segmentPage:_0x14075d}=_0x1a13cf;_0x25fca6['length']&&(_0x25fca6+=','),_0x25fca6+=_0x31f0f7+':'+_0x381486+':'+(_0x2fd796?'1':'0')+':'+_0x13ba57+':'+_0x54a8c0+':'+_0x14075d;}return _0x25fca6;}function _0x5cbcf2(_0x1c9b36){const _0x270083=_0x57a832,_0x1c073b=_0x1c9b36[_0x270083(0x231)](','),_0x53c9c7=[];for(const _0x34c0be of _0x1c073b){const [_0x3f41d8,_0x541563,_0x543e86,_0x52347b,_0x2c35dd,_0x422b56]=_0x34c0be[_0x270083(0x231)](':');_0x53c9c7[_0x270083(0x2e5)]({'startOffset':Number(_0x3f41d8),'endOffset':Number(_0x541563),'collapsed':_0x3f41d8===_0x541563,'isActive':_0x543e86==='1','rangeType':_0x52347b===_0x1a1077[_0x270083(0x176)][_0x270083(0x1c7)]?_0x1a1077[_0x270083(0x176)][_0x270083(0x1c7)]:_0x1a1077[_0x270083(0x176)]['RECT'],'segmentId':typeof _0x2c35dd==_0x270083(0x1dc)?String(_0x2c35dd):'','segmentPage':Number(_0x422b56!=null?_0x422b56:-0x1)});}return _0x53c9c7[_0x270083(0x2c6)](_0x404860=>_0x404860[_0x270083(0x220)])||(_0x53c9c7[0x0][_0x270083(0x220)]=!0x0),_0x53c9c7;}class _0x1b1215 extends _0x1a1077['RxDisposable']{constructor(){const _0x1b25c0=_0x57a832;super(...arguments),_0x1531e9(this,_0x1b25c0(0x1b1),new _0x447b79[(_0x1b25c0(0x1af))](null)),_0x1531e9(this,'collabCursorState$',this[_0x1b25c0(0x1b1)]['asObservable']());}['syncEditingCollabCursor'](_0x4bca94){const _0x3c15e3=_0x57a832,{unitID:_0x1742da,memberID:_0x5661fa,textRanges:_0x13e4bb}=_0x4bca94,_0x509914=_0x1e3d7a(_0x13e4bb);if(_0x509914==='')return;const _0x1c35c4={'unitID':_0x1742da,'memberID':_0x5661fa,'selection':_0x509914};this[_0x3c15e3(0x1b1)]['next'](_0x1c35c4);}}var _0x671df6=Object['getOwnPropertyDescriptor'],_0xea6c81=(_0x2ddc03,_0xb5b00e,_0xab4487,_0x583db7)=>{const _0x3923f6=_0x57a832;for(var _0x3fe99f=_0x583db7>0x1?void 0x0:_0x583db7?_0x671df6(_0xb5b00e,_0xab4487):_0xb5b00e,_0x431f5a=_0x2ddc03[_0x3923f6(0x377)]-0x1,_0x103a0b;_0x431f5a>=0x0;_0x431f5a--)(_0x103a0b=_0x2ddc03[_0x431f5a])&&(_0x3fe99f=_0x103a0b(_0x3fe99f)||_0x3fe99f);return _0x3fe99f;},_0x5c3a86=(_0x1322cc,_0x3090e6)=>(_0x14287b,_0x332bae)=>_0x3090e6(_0x14287b,_0x332bae,_0x1322cc);const _0x5e2b14=0x12c,_0x524430=0x64;let _0x1530f8=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x2d186f,_0x35065e,_0x4b4511,_0x4eb6e2,_0x35b999,_0x5a6375,_0x2f500e,_0xdb71b7,_0x463a8f){const _0x2d3ca0=_0x57a832;super(),_0x1531e9(this,'_online',!0x1),_0x1531e9(this,_0x2d3ca0(0x1cd),!0x1),_0x1531e9(this,_0x2d3ca0(0x376),new _0x447b79[(_0x2d3ca0(0x1af))](new Map())),_0x1531e9(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1531e9(this,'_roomMembers$',new _0x447b79[(_0x2d3ca0(0x1af))]([])),_0x1531e9(this,_0x2d3ca0(0x183),this[_0x2d3ca0(0x3f9)][_0x2d3ca0(0x347)](_0x447b79[_0x2d3ca0(0x3c6)](_0x5e2b14))),_0x1531e9(this,_0x2d3ca0(0x3bb),_0x1a1077[_0x2d3ca0(0x27e)](_0x187c85=>{const _0x4b62e5=_0x2d3ca0,_0x50f7c3={'eventID':_0x2333c6[_0x4b62e5(0x260)][_0x4b62e5(0x3e8)],'data':{'unitID':this[_0x4b62e5(0x179)],'memberID':this['_session'][_0x4b62e5(0x3ae)](),'selection':_0x1e3d7a(_0x187c85)}};this[_0x4b62e5(0x238)][_0x4b62e5(0x3c5)](_0x50f7c3,this[_0x4b62e5(0x179)]);},_0x524430)),(this[_0x2d3ca0(0x179)]=_0x2d186f,this[_0x2d3ca0(0x238)]=_0x35065e,this[_0x2d3ca0(0x2fc)]=_0x4b4511,this[_0x2d3ca0(0x26f)]=_0x4eb6e2,this['_memberService']=_0x35b999,this[_0x2d3ca0(0x20b)]=_0x5a6375,this['_transformService']=_0x2f500e,this[_0x2d3ca0(0x2ed)]=_0xdb71b7,this['_commandService']=_0x463a8f);}get[_0x57a832(0x19a)](){const _0x458484=_0x57a832;return this[_0x458484(0x376)][_0x458484(0x17f)]();}get['roomMembers'](){const _0x30223b=_0x57a832;return this[_0x30223b(0x3f9)][_0x30223b(0x17f)]();}[_0x57a832(0x245)](){const _0x2377f6=_0x57a832;super['dispose'](),this[_0x2377f6(0x376)][_0x2377f6(0x24b)](new Map()),this['_cursorInfo$'][_0x2377f6(0x211)](),this[_0x2377f6(0x3f9)][_0x2377f6(0x24b)]([]),this[_0x2377f6(0x3f9)][_0x2377f6(0x211)]();}[_0x57a832(0x3e5)](){const _0x2eb920=_0x57a832;this[_0x2eb920(0x1cd)]||(this['_init']=!0x0,this[_0x2eb920(0x238)][_0x2eb920(0x215)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this['dispose$']))['subscribe'](_0x5616c1=>{const _0x4f3221=_0x2eb920;_0x5616c1===_0x574d08['SessionStatus']['ONLINE']?this[_0x4f3221(0x16c)]():this[_0x4f3221(0x2cb)]();}),this[_0x2eb920(0x238)][_0x2eb920(0x30e)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this['dispose$']))[_0x2eb920(0x217)](_0x1530bc=>{const _0xd3cfa8=_0x2eb920,_0x407a43=_0x1530bc[_0xd3cfa8(0x38c)];_0x407a43===_0x2333c6[_0xd3cfa8(0x260)][_0xd3cfa8(0x3e8)]&&this[_0xd3cfa8(0x1d7)](_0x1530bc),_0x407a43===_0x2333c6[_0xd3cfa8(0x260)][_0xd3cfa8(0x1ec)]&&this[_0xd3cfa8(0x30b)](_0x1530bc);}),this[_0x2eb920(0x33a)](this['_commandService'][_0x2eb920(0x283)](_0x34e8c6=>{const _0x16982b=_0x2eb920,_0x223d8d=_0x34e8c6[_0x16982b(0x358)];_0x223d8d!=null&&this[_0x16982b(0x312)]&&_0x34e8c6['id']===_0x204ba9['SetTextSelectionsOperation']['id']&&_0x223d8d[_0x16982b(0x17e)]===this[_0x16982b(0x179)]&&_0x223d8d[_0x16982b(0x3be)]===!0x1&&_0x223d8d[_0x16982b(0x29c)][_0x16982b(0x377)]>0x0&&this[_0x16982b(0x3bb)](_0x223d8d[_0x16982b(0x29c)]);})),this[_0x2eb920(0x20b)][_0x2eb920(0x1f3)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this[_0x2eb920(0x277)]))[_0x2eb920(0x217)](_0x3e0541=>{const _0x20a540=_0x2eb920;if((_0x3e0541==null?void 0x0:_0x3e0541[_0x20a540(0x179)])!==this[_0x20a540(0x179)])return;const _0x1c17d4={'eventID':_0x2333c6[_0x20a540(0x260)][_0x20a540(0x3e8)],'data':_0x3e0541};this[_0x20a540(0x1d7)](_0x1c17d4);}),this[_0x2eb920(0x33a)](this['_commandService'][_0x2eb920(0x283)](_0x12c61d=>{const _0xbeeae8=_0x2eb920;if(_0x12c61d[_0xbeeae8(0x358)]==null)return;const _0x4c4c26=_0x12c61d[_0xbeeae8(0x358)];if(_0x12c61d['id']!==_0x204ba9[_0xbeeae8(0x2e6)]['id']||_0x4c4c26['unitId']!==this[_0xbeeae8(0x179)])return;const _0x10a803={'id':'doc.mutation.rich-text-editing','params':_0x4c4c26},_0x546750=this[_0xbeeae8(0x19a)];for(const [_0x4c2bf1,_0x26247a]of _0x546750){const _0x49c0a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xbeeae8(0x179)],'actions':null,'textRanges':_0x26247a[_0xbeeae8(0x29c)]}},_0x298a6e=this[_0xbeeae8(0x2a8)][_0xbeeae8(0x17c)](_0x10a803,_0x49c0a6,!0x1);if(_0x2333c6[_0xbeeae8(0x1cf)](_0x298a6e))throw _0x298a6e[_0xbeeae8(0x2cc)];_0x546750[_0xbeeae8(0x39e)](_0x4c2bf1,{..._0x26247a,'ranges':_0x298a6e[_0xbeeae8(0x369)][_0xbeeae8(0x358)][_0xbeeae8(0x270)]});}queueMicrotask(()=>{const _0x5f434b=_0xbeeae8;this['_cursorInfo$'][_0x5f434b(0x24b)](_0x546750);});})));}[_0x57a832(0x1d7)](_0x95159b){const _0xa42410=_0x57a832;var _0x12c69f,_0x5f100e;const {memberID:_0xd7c5c2,selection:_0x53475a}=_0x95159b[_0xa42410(0x1d1)],_0x24f904=_0x5cbcf2(_0x53475a),_0x5c6d3f=(_0x5f100e=(_0x12c69f=this[_0xa42410(0x221)]['getMember'](this['unitID'],_0xd7c5c2))==null?void 0x0:_0x12c69f['name'])!=null?_0x5f100e:_0xa42410(0x1df),_0x435629={'color':this[_0xa42410(0x26f)]['assignAColorForMemberID'](_0xd7c5c2),'name':_0x5c6d3f,'ranges':_0x24f904},_0x18387e=this[_0xa42410(0x19a)];_0x18387e[_0xa42410(0x39e)](_0xd7c5c2,_0x435629),this[_0xa42410(0x376)][_0xa42410(0x24b)](_0x18387e);}[_0x57a832(0x30b)](_0x3e0004){const _0x2b5760=_0x57a832,{memberID:_0x146cd6}=_0x3e0004[_0x2b5760(0x1d1)],_0x4b8890=this[_0x2b5760(0x19a)];_0x4b8890[_0x2b5760(0x2fd)](_0x146cd6),this[_0x2b5760(0x376)][_0x2b5760(0x24b)](_0x4b8890);}['_toggleOnline'](){const _0x173f1d=_0x57a832;var _0x186f34;if(this['_online']=!0x0,((_0x186f34=this[_0x173f1d(0x2ed)][_0x173f1d(0x2a0)]())==null?void 0x0:_0x186f34[_0x173f1d(0x3e3)]())!==this[_0x173f1d(0x179)])return;const _0x1ff8da=this['_injector'][_0x173f1d(0x249)](_0x204ba9['DocSelectionManagerService'])['getDocRanges']();Array[_0x173f1d(0x25f)](_0x1ff8da)&&_0x1ff8da['length']>0x0&&this['_updateLocalCursor'](_0x1ff8da);}['_toggleOffline'](){const _0x1e2e65=_0x57a832;this[_0x1e2e65(0x312)]=!0x1;}};_0x1530f8=_0xea6c81([_0x5c3a86(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['Injector'])),_0x5c3a86(0x3,_0x1a1077['Inject'](_0x1ea788)),_0x5c3a86(0x4,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x2eb)])),_0x5c3a86(0x5,_0x1a1077[_0x57a832(0x3d1)](_0x1b1215)),_0x5c3a86(0x6,_0x2333c6['ITransformService']),_0x5c3a86(0x7,_0x1a1077[_0x57a832(0x175)]),_0x5c3a86(0x8,_0x1a1077['ICommandService'])],_0x1530f8);var _0x259922=Object[_0x57a832(0x2dd)],_0x4b93ab=(_0x502085,_0x29f701,_0x59fc0b,_0x23ecab)=>{const _0x9c8c5e=_0x57a832;for(var _0x4a714f=_0x23ecab>0x1?void 0x0:_0x23ecab?_0x259922(_0x29f701,_0x59fc0b):_0x29f701,_0x1a5110=_0x502085[_0x9c8c5e(0x377)]-0x1,_0x41e58e;_0x1a5110>=0x0;_0x1a5110--)(_0x41e58e=_0x502085[_0x1a5110])&&(_0x4a714f=_0x41e58e(_0x4a714f)||_0x4a714f);return _0x4a714f;},_0x23473a=(_0x15c85b,_0x214971)=>(_0x7fa1b8,_0x3a8984)=>_0x214971(_0x7fa1b8,_0x3a8984,_0x15c85b);const _0x3ed3d0=0x12c,_0x2ba3fe=0x64,_0x472d36=()=>{let _0x4410ae=[],_0x47990f=!0x1;return _0x2bf20d=>{const _0x18ca4b=_0x35c9;_0x4410ae[_0x18ca4b(0x2e5)](_0x2bf20d),_0x47990f||(_0x47990f=!0x0,setTimeout(()=>{const _0x30e9a9=_0x18ca4b;_0x4410ae[_0x30e9a9(0x240)](_0x541fd4=>_0x541fd4()),_0x4410ae=[],_0x47990f=!0x1;}));};};let _0x11d216=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x503e0c,_0x4b3707,_0xd11a15,_0x28a4c7,_0x13d340,_0xb09863,_0x55da90,_0x37da08){const _0x4e670f=_0x57a832;super(),_0x1531e9(this,_0x4e670f(0x312),!0x1),_0x1531e9(this,'_init',!0x1),_0x1531e9(this,_0x4e670f(0x376),new _0x447b79[(_0x4e670f(0x1af))](new Map())),_0x1531e9(this,_0x4e670f(0x386),this[_0x4e670f(0x376)][_0x4e670f(0x40e)]()),_0x1531e9(this,'_roomMembers$',new _0x447b79[(_0x4e670f(0x1af))]([])),_0x1531e9(this,_0x4e670f(0x183),this[_0x4e670f(0x3f9)][_0x4e670f(0x347)](_0x447b79[_0x4e670f(0x3c6)](_0x3ed3d0))),_0x1531e9(this,_0x4e670f(0x3bb),_0x1a1077[_0x4e670f(0x27e)]((_0x1404e3,_0x4568ee)=>{const _0x45f609=_0x4e670f,_0x33b765={'eventID':_0x2333c6[_0x45f609(0x260)][_0x45f609(0x3e8)],'data':{'unitID':this['unitID'],'memberID':this[_0x45f609(0x238)]['getMemberID'](),'selection':_0x1b192e[_0x45f609(0x244)](_0x1404e3,_0x4568ee[_0x45f609(0x1dd)])}};this[_0x45f609(0x238)][_0x45f609(0x3c5)](_0x33b765,this[_0x45f609(0x179)]);},_0x2ba3fe)),(this[_0x4e670f(0x179)]=_0x503e0c,this[_0x4e670f(0x238)]=_0x4b3707,this[_0x4e670f(0x2fc)]=_0xd11a15,this['_colorAssignService']=_0x28a4c7,this[_0x4e670f(0x221)]=_0x13d340,this[_0x4e670f(0x2ed)]=_0xb09863,this[_0x4e670f(0x1a6)]=_0x55da90,this[_0x4e670f(0x1db)]=_0x37da08);}get['cursorInfo'](){const _0x5cc777=_0x57a832;return this[_0x5cc777(0x376)]['getValue']();}get[_0x57a832(0x235)](){const _0x3c8e79=_0x57a832;return this[_0x3c8e79(0x3f9)][_0x3c8e79(0x17f)]();}[_0x57a832(0x245)](){const _0x437db3=_0x57a832;super[_0x437db3(0x245)](),this[_0x437db3(0x376)][_0x437db3(0x24b)](new Map()),this[_0x437db3(0x376)][_0x437db3(0x211)](),this[_0x437db3(0x3f9)][_0x437db3(0x24b)]([]),this[_0x437db3(0x3f9)][_0x437db3(0x211)]();}[_0x57a832(0x3e5)](){const _0x392d36=_0x57a832;this[_0x392d36(0x1cd)]||(this[_0x392d36(0x1cd)]=!0x0,this[_0x392d36(0x238)]['sessionStatus$']['pipe'](_0x447b79[_0x392d36(0x186)](this['dispose$']))[_0x392d36(0x217)](_0x3c3c3f=>{const _0x2e021c=_0x392d36;_0x3c3c3f===_0x574d08[_0x2e021c(0x310)][_0x2e021c(0x187)]?this['_toggleOnline']():this[_0x2e021c(0x2cb)]();}),this[_0x392d36(0x238)][_0x392d36(0x30e)][_0x392d36(0x347)](_0x447b79[_0x392d36(0x186)](this['dispose$']))['subscribe'](_0xc48c45=>{const _0x23d5a5=_0x392d36,_0x26c658=_0xc48c45[_0x23d5a5(0x38c)];_0x26c658===_0x2333c6[_0x23d5a5(0x260)][_0x23d5a5(0x3e8)]&&this['_onCursorUpdate'](_0xc48c45),_0x26c658===_0x2333c6[_0x23d5a5(0x260)][_0x23d5a5(0x1ec)]&&this[_0x23d5a5(0x30b)](_0xc48c45);}),this[_0x392d36(0x1cc)](),this['disposeWithMe'](this[_0x392d36(0x1a6)][_0x392d36(0x283)](_0x394be7=>{const _0x1bdf0c=_0x392d36;if(this[_0x1bdf0c(0x312)]&&_0x394be7['id']===_0xf2c5f7[_0x1bdf0c(0x3cf)]['id']&&_0x394be7[_0x1bdf0c(0x358)][_0x1bdf0c(0x17e)]===this[_0x1bdf0c(0x179)]){const _0x2e927f=_0x394be7[_0x1bdf0c(0x358)];this[_0x1bdf0c(0x3bb)](_0x2e927f[_0x1bdf0c(0x22e)],_0x2e927f['selections'][0x0]);}})));}[_0x57a832(0x1d7)](_0x5a23a3){const _0x20122b=_0x57a832;var _0x4ae884,_0x4dec93;const {memberID:_0x1ada4e,selection:_0x3907d1}=_0x5a23a3[_0x20122b(0x1d1)],{sheetName:_0x4db80e,range:_0x963296}=_0x1b192e[_0x20122b(0x2a5)](_0x3907d1),_0x5d62f0={'name':(_0x4dec93=(_0x4ae884=this['_memberService'][_0x20122b(0x2f1)](this[_0x20122b(0x179)],_0x1ada4e))==null?void 0x0:_0x4ae884[_0x20122b(0x26c)])!=null?_0x4dec93:_0x20122b(0x1df),'range':this[_0x20122b(0x1fc)](_0x4db80e,_0x963296),'sheetID':_0x4db80e,'color':this[_0x20122b(0x26f)][_0x20122b(0x1c4)](_0x1ada4e),'selection':_0x3907d1},_0x157b2a=this[_0x20122b(0x19a)];_0x157b2a[_0x20122b(0x39e)](_0x1ada4e,_0x5d62f0),this[_0x20122b(0x376)][_0x20122b(0x24b)](_0x157b2a);}[_0x57a832(0x30b)](_0x355fa5){const _0x53e695=_0x57a832,{memberID:_0x3c6e8e}=_0x355fa5['data'],_0x1c6130=this[_0x53e695(0x19a)];_0x1c6130[_0x53e695(0x2fd)](_0x3c6e8e),this[_0x53e695(0x376)][_0x53e695(0x24b)](_0x1c6130);}[_0x57a832(0x1fc)](_0x5e05d3,_0x263781){const _0x172dc2=_0x57a832;var _0x441d8a,_0x1bd827;const _0x1b733a=(_0x1bd827=(_0x441d8a=this[_0x172dc2(0x2ed)][_0x172dc2(0x1e3)](this[_0x172dc2(0x179)]))==null?void 0x0:_0x441d8a[_0x172dc2(0x324)](_0x5e05d3))==null?void 0x0:_0x1bd827[_0x172dc2(0x288)]();return(_0x1b733a==null?void 0x0:_0x1b733a[_0x172dc2(0x32a)](_0x416b66=>_0x1a1077['Rectangle']['contains'](_0x416b66,_0x263781)))||_0x263781;}[_0x57a832(0x1cc)](){const _0x593f0f=_0x57a832,_0x4d3e9b=new _0x1a1077[(_0x593f0f(0x302))](),_0x3e3b1a=_0x472d36(),_0x26bcbc=()=>{const _0xa1c61c=_0x593f0f;_0x4d3e9b[_0xa1c61c(0x245)]();const _0xc6e0d2=(_0x4e2274,_0x2b5b05,_0x5b7974,_0x17687f)=>{const _0xbf38b=_0xa1c61c;let _0x1019a5=[];switch(_0x4e2274['id']){case _0xf2c5f7[_0xbf38b(0x290)]['DeleteRangeMoveLeftCommandId']:{_0x1019a5=_0xf2c5f7['handleDeleteRangeMoveLeft'](_0x4e2274,_0x17687f);break;}case _0xf2c5f7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x37b)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x3d3)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x174)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x2de)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x262)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7['EffectRefRangId'][_0xbf38b(0x29a)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x185)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x274)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x23e)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x31c)]:{_0x1019a5=_0xf2c5f7['handleMoveRange'](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x387)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x212)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x16d)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x2e9)](_0x4e2274,_0x17687f);break;}}const _0x2109b2=_0xf2c5f7['runRefRangeMutations'](_0x1019a5,_0x17687f),_0x4b9328=this['cursorInfo'][_0xbf38b(0x249)](_0x2b5b05);if(_0x4b9328&&_0x2109b2){const _0x2c87a4={..._0x4b9328,'range':_0x2109b2};this[_0xbf38b(0x19a)][_0xbf38b(0x39e)](_0x2b5b05,_0x2c87a4),_0x3e3b1a(()=>{const _0x3a5814=_0xbf38b,_0x360107=this[_0x3a5814(0x1db)][_0x3a5814(0x250)](_0x2109b2,_0x5932f2=>(_0x360107[_0x3a5814(0x245)](),_0xc6e0d2(_0x5932f2,_0x2b5b05,_0x5b7974,_0x2109b2)));_0x4d3e9b[_0x3a5814(0x356)](_0x360107);});}return{'redos':[],'undos':[]};};this[_0xa1c61c(0x19a)][_0xa1c61c(0x240)]((_0x1315a3,_0x30ff0e)=>{const _0x237365=_0xa1c61c,{range:_0x475cd4,sheetID:_0x5e8104}=_0x1315a3,_0x574c02=this['_refRangeService'][_0x237365(0x250)](_0x475cd4,_0x209ba9=>(_0x574c02['dispose'](),_0xc6e0d2(_0x209ba9,_0x30ff0e,_0x5e8104,_0x475cd4)));_0x4d3e9b[_0x237365(0x356)](_0x574c02);});};this[_0x593f0f(0x33a)](_0x1a1077[_0x593f0f(0x35b)](this[_0x593f0f(0x376)][_0x593f0f(0x217)](()=>{_0x26bcbc();})));}['_toggleOnline'](){const _0x2501f3=_0x57a832;var _0x2735be,_0x15e819;if(this[_0x2501f3(0x312)]=!0x0,((_0x2735be=this[_0x2501f3(0x2ed)][_0x2501f3(0x2a0)]())==null?void 0x0:_0x2735be[_0x2501f3(0x3e3)]())!==this[_0x2501f3(0x179)])return;const _0x464e17=(_0x15e819=this[_0x2501f3(0x2fc)][_0x2501f3(0x249)](_0xf2c5f7[_0x2501f3(0x1e5)])['getCurrentSelections']())==null?void 0x0:_0x15e819[0x0],_0x10cf73=this[_0x2501f3(0x2ed)][_0x2501f3(0x2c4)](_0x1a1077[_0x2501f3(0x406)][_0x2501f3(0x266)])['getActiveSheet']();_0x464e17&&_0x10cf73&&this[_0x2501f3(0x3bb)](_0x10cf73[_0x2501f3(0x3fa)](),_0x464e17);}['_toggleOffline'](){this['_online']=!0x1;}};_0x11d216=_0x4b93ab([_0x23473a(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x23473a(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x1ea788)),_0x23473a(0x4,_0x1a1077['Inject'](_0x574d08[_0x57a832(0x2eb)])),_0x23473a(0x5,_0x1a1077['IUniverInstanceService']),_0x23473a(0x6,_0x1a1077[_0x57a832(0x2b8)]),_0x23473a(0x7,_0x1a1077[_0x57a832(0x3d1)](_0xf2c5f7[_0x57a832(0x18b)]))],_0x11d216);var _0x577e26=Object[_0x57a832(0x2dd)],_0x466128=(_0x3df5c9,_0x38a1d1,_0xd343bb,_0x428368)=>{const _0x2ae9a5=_0x57a832;for(var _0x27d86a=_0x428368>0x1?void 0x0:_0x428368?_0x577e26(_0x38a1d1,_0xd343bb):_0x38a1d1,_0x23caac=_0x3df5c9[_0x2ae9a5(0x377)]-0x1,_0x3f195c;_0x23caac>=0x0;_0x23caac--)(_0x3f195c=_0x3df5c9[_0x23caac])&&(_0x27d86a=_0x3f195c(_0x27d86a)||_0x27d86a);return _0x27d86a;},_0x1ee3fa=(_0x454b42,_0x289dfa)=>(_0x47f6ef,_0x1318fd)=>_0x289dfa(_0x47f6ef,_0x1318fd,_0x454b42);let _0x1cbcc1=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x493b78,_0x4aa884,_0x1be53f){const _0x4f55dd=_0x57a832;super(),_0x1531e9(this,_0x4f55dd(0x370),new Map()),_0x1531e9(this,_0x4f55dd(0x2b1),new _0x447b79[(_0x4f55dd(0x2dc))]()),(this[_0x4f55dd(0x2ed)]=_0x493b78,this[_0x4f55dd(0x2fc)]=_0x4aa884,this['_collabSessionService']=_0x1be53f,this[_0x4f55dd(0x1cd)]());}[_0x57a832(0x245)](){const _0x8fab=_0x57a832;super[_0x8fab(0x245)](),this[_0x8fab(0x2b1)][_0x8fab(0x211)](),this['_entities'][_0x8fab(0x240)](_0x44c69f=>_0x44c69f['dispose']());}[_0x57a832(0x28b)](_0x2f0546){const _0xfa8976=_0x57a832;return this['_entities'][_0xfa8976(0x375)](_0x2f0546)?this[_0xfa8976(0x370)]['get'](_0x2f0546)[_0xfa8976(0x386)]:this[_0xfa8976(0x2b1)][_0xfa8976(0x347)](_0x447b79['filter'](_0x21fd7a=>_0x21fd7a['unitID']===_0x2f0546),_0x447b79[_0xfa8976(0x331)](_0x32744a=>_0x32744a[_0xfa8976(0x386)]));}[_0x57a832(0x1cd)](){const _0x33329f=_0x57a832;this[_0x33329f(0x2ed)][_0x33329f(0x216)](_0x1a1077[_0x33329f(0x406)][_0x33329f(0x266)])[_0x33329f(0x347)](_0x447b79[_0x33329f(0x186)](this[_0x33329f(0x277)]))[_0x33329f(0x217)](async _0x3eb3f7=>{const _0x1d4dcf=_0x33329f,_0x506d5d=_0x3eb3f7['getUnitId'](),_0x16f3d2=await this[_0x1d4dcf(0x1e7)](_0x506d5d);this[_0x1d4dcf(0x2b1)][_0x1d4dcf(0x24b)](_0x16f3d2),this[_0x1d4dcf(0x370)][_0x1d4dcf(0x39e)](_0x506d5d,_0x16f3d2);}),this['_univerInstanceService'][_0x33329f(0x216)](_0x1a1077[_0x33329f(0x406)]['UNIVER_DOC'])[_0x33329f(0x347)](_0x447b79[_0x33329f(0x186)](this[_0x33329f(0x277)]))[_0x33329f(0x347)](_0x447b79[_0x33329f(0x30d)](_0x5d4b47=>!_0x5d4b47[_0x33329f(0x3e3)]()[_0x33329f(0x279)]('__')))[_0x33329f(0x217)](async _0x535745=>{const _0x19523c=_0x33329f,_0x2e1c13=_0x535745[_0x19523c(0x3e3)](),_0x50165b=await this['_startDocCollabCursor'](_0x2e1c13);this[_0x19523c(0x2b1)][_0x19523c(0x24b)](_0x50165b),this[_0x19523c(0x370)]['set'](_0x2e1c13,_0x50165b);}),_0x447b79['merge'](this[_0x33329f(0x2ed)][_0x33329f(0x1a4)](_0x1a1077[_0x33329f(0x406)]['UNIVER_DOC']),this[_0x33329f(0x2ed)][_0x33329f(0x1a4)](_0x1a1077[_0x33329f(0x406)]['UNIVER_SHEET']))[_0x33329f(0x347)](_0x447b79['takeUntil'](this[_0x33329f(0x277)]))[_0x33329f(0x217)](_0x4de67d=>{const _0x159527=_0x33329f,_0x2151db=_0x4de67d[_0x159527(0x3e3)](),_0x101a6b=this[_0x159527(0x370)][_0x159527(0x249)](_0x2151db);_0x101a6b&&(_0x101a6b[_0x159527(0x245)](),this[_0x159527(0x370)]['delete'](_0x2151db));});}async[_0x57a832(0x1e7)](_0x2558b9){const _0x1cf29f=_0x57a832,_0x2087af=await this[_0x1cf29f(0x2db)][_0x1cf29f(0x299)](_0x2558b9),_0xba5dc0=this[_0x1cf29f(0x2fc)][_0x1cf29f(0x1f9)](_0x11d216,_0x2558b9,_0x2087af);return _0xba5dc0[_0x1cf29f(0x3e5)](),_0xba5dc0;}async[_0x57a832(0x2d1)](_0x13d280){const _0x227b6b=_0x57a832,_0x19c6d5=await this[_0x227b6b(0x2db)][_0x227b6b(0x299)](_0x13d280),_0x3e6a18=this[_0x227b6b(0x2fc)][_0x227b6b(0x1f9)](_0x1530f8,_0x13d280,_0x19c6d5);return _0x3e6a18[_0x227b6b(0x3e5)](),_0x3e6a18;}};_0x1cbcc1=_0x466128([_0x1ee3fa(0x0,_0x1a1077['IUniverInstanceService']),_0x1ee3fa(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x1ee3fa(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x393)]))],_0x1cbcc1);const _0x3f9c8c=0x14,_0x28ff14=0xc8,_0x1897ea=0x4,_0x4a8b6d=0x5;function _0x5d6476(_0x10e27d,_0x5c9eb2){const _0x3ce6fb=_0x57a832;let {radius:_0x173ba6,width:_0x1f084a,height:_0x1a9c4d}=_0x5c9eb2;_0x173ba6=_0x173ba6!=null?_0x173ba6:0x0,_0x1f084a=_0x1f084a!=null?_0x1f084a:0x1e,_0x1a9c4d=_0x1a9c4d!=null?_0x1a9c4d:0x1e;let _0x1d7f0e=0x0,_0xfccca1=0x0,_0x28c0f4=0x0;_0x1d7f0e=_0xfccca1=_0x28c0f4=Math[_0x3ce6fb(0x1e9)](_0x173ba6,_0x1f084a/0x2,_0x1a9c4d/0x2),_0x10e27d[_0x3ce6fb(0x198)](),_0x10e27d[_0x3ce6fb(0x272)](_0x1d7f0e,0x0),_0x10e27d[_0x3ce6fb(0x18f)](_0x1f084a-_0xfccca1,0x0),_0x10e27d['arc'](_0x1f084a-_0xfccca1,_0xfccca1,_0xfccca1,Math['PI']*0x3/0x2,0x0,!0x1),_0x10e27d[_0x3ce6fb(0x18f)](_0x1f084a,_0x1a9c4d-_0x28c0f4),_0x10e27d[_0x3ce6fb(0x236)](_0x1f084a-_0x28c0f4,_0x1a9c4d-_0x28c0f4,_0x28c0f4,0x0,Math['PI']/0x2,!0x1),_0x10e27d[_0x3ce6fb(0x18f)](0x0,_0x1a9c4d),_0x10e27d[_0x3ce6fb(0x18f)](0x0,_0x1d7f0e),_0x10e27d[_0x3ce6fb(0x236)](_0x1d7f0e,_0x1d7f0e,_0x1d7f0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x10e27d['closePath'](),_0x5c9eb2['fill']&&(_0x10e27d[_0x3ce6fb(0x1f2)](),_0x10e27d[_0x3ce6fb(0x32b)]=_0x5c9eb2[_0x3ce6fb(0x218)],_0x5c9eb2[_0x3ce6fb(0x31d)]===_0x3ce6fb(0x2ca)?_0x10e27d[_0x3ce6fb(0x218)](_0x3ce6fb(0x2ca)):_0x10e27d[_0x3ce6fb(0x218)](),_0x10e27d[_0x3ce6fb(0x31a)]());}class _0x25ae16 extends _0x440ec2[_0x57a832(0x253)]{constructor(_0x6d2863,_0x537900){const _0xc3f5b1=_0x57a832;super(_0x6d2863,_0x537900),_0x1531e9(this,'color'),_0x1531e9(this,_0xc3f5b1(0x29d)),(this[_0xc3f5b1(0x381)]=_0x537900==null?void 0x0:_0x537900[_0xc3f5b1(0x381)],this['text']=_0x537900==null?void 0x0:_0x537900[_0xc3f5b1(0x29d)]);}static[_0x57a832(0x273)](_0x44a161,_0x556e16){const _0xfcce26=_0x57a832,{text:_0x4ef1d3,color:_0x75c873}=_0x556e16;_0x44a161[_0xfcce26(0x1f2)](),_0x44a161[_0xfcce26(0x192)]=_0xfcce26(0x3ff);const _0x499199=_0x44a161[_0xfcce26(0x2b0)](_0x4ef1d3)[_0xfcce26(0x1fb)],_0xa2a829=Math[_0xfcce26(0x1e9)](_0x499199+0x2*_0x1897ea,_0x28ff14);_0x5d6476(_0x44a161,{'height':_0x3f9c8c,'radius':0x4,'width':_0xa2a829,'fill':_0x75c873}),_0x44a161[_0xfcce26(0x32b)]=_0xfcce26(0x278);const _0x463410=_0x1897ea,_0x414235=_0x3f9c8c-_0x4a8b6d,_0x394aa9=_0x28ff14-0x2*_0x1897ea;if(_0x499199>_0x394aa9){let _0x5744ae='',_0x4c3edf=0x0;for(const _0x3adc72 of _0x4ef1d3){const _0x1e6c6e=_0x44a161['measureText'](_0x3adc72)[_0xfcce26(0x1fb)];if(_0x4c3edf+_0x1e6c6e<=_0x394aa9-_0x44a161[_0xfcce26(0x2b0)](_0xfcce26(0x3ec))[_0xfcce26(0x1fb)])_0x5744ae+=_0x3adc72,_0x4c3edf+=_0x1e6c6e;else{_0x5744ae+='...';break;}}_0x44a161[_0xfcce26(0x3a1)](_0x5744ae,_0x463410,_0x414235);}else _0x44a161[_0xfcce26(0x3a1)](_0x4ef1d3,_0x463410,_0x414235);_0x44a161['restore']();}[_0x57a832(0x259)](_0x136576){_0x25ae16['drawWith'](_0x136576,this);}}const _0x3e5479=_0x57a832(0x1a9),_0x4a88c8=_0x57a832(0x389),_0x4d67d6='collab-rect-range-',_0x163e00=0x6,_0x46e3b0=1.5,_0x287a48=0x4,_0x2cc186=1.5,_0xa831f7=_0x57a832(0x1ca);class _0x4105ac{constructor(_0x43dc15,_0x5e3d61,_0x292f9b,_0x44b101){const _0xa317c9=_0x57a832;_0x1531e9(this,_0xa317c9(0x3f7),[]),_0x1531e9(this,_0xa317c9(0x1f1),null),_0x1531e9(this,'_textBubble',null),_0x1531e9(this,_0xa317c9(0x3c1),null),_0x1531e9(this,_0xa317c9(0x19e),null),_0x1531e9(this,_0xa317c9(0x308),null),(this[_0xa317c9(0x3d5)]=_0x43dc15,this[_0xa317c9(0x332)]=_0x5e3d61,this['_docSkeleton']=_0x292f9b,this['_document']=_0x44b101,this['_render']());}set['_hover'](_0x469416){const _0x14bb63=_0x57a832;_0x469416?(this[_0x14bb63(0x3c1)]&&this[_0x14bb63(0x3c1)][_0x14bb63(0x1ba)](),this['_textBubble']&&this[_0x14bb63(0x3b0)]['show']()):(this[_0x14bb63(0x3c1)]&&this[_0x14bb63(0x3c1)][_0x14bb63(0x2f2)](),this[_0x14bb63(0x3b0)]&&this[_0x14bb63(0x3b0)][_0x14bb63(0x1ba)]());}[_0x57a832(0x245)](){const _0x3bc71b=_0x57a832;for(const _0x59dda9 of this['_shapes'])_0x59dda9[_0x3bc71b(0x245)]();this[_0x3bc71b(0x3b0)]&&this['_textBubble'][_0x3bc71b(0x245)](),this[_0x3bc71b(0x3c1)]&&this['_anchorDot'][_0x3bc71b(0x245)](),this['_anchor']&&this[_0x3bc71b(0x1f1)]['dispose'](),this[_0x3bc71b(0x308)]&&this['_eventUnsubscribe']();}[_0x57a832(0x1c9)](){const _0x352a64=_0x57a832;var _0x2fa224;const {_docSkeleton:_0xcb7c45,_document:_0xef9c30}=this,{color:_0x1cd6fa,name:_0x2197cd,ranges:_0x26d415}=this[_0x352a64(0x3d5)],_0x294fc8=_0xef9c30[_0x352a64(0x357)](),{docsLeft:_0x41939c,docsTop:_0x429aeb}=_0x294fc8,_0x5744c3=new _0x34435f[(_0x352a64(0x2b7))](_0x294fc8,_0xcb7c45);for(const {startOffset:_0x4b7a0a,endOffset:_0x59e08f,rangeType:_0x11b396,segmentId:_0x386336,segmentPage:_0x5587f2,collapsed:_0x500b89,isActive:_0x2e7281}of _0x26d415){const _0x46cf37=_0xcb7c45[_0x352a64(0x246)](_0x4b7a0a,!0x0,_0x386336,_0x5587f2);let _0x33955e=_0xcb7c45[_0x352a64(0x246)](_0x59e08f,!0x0,_0x386336,_0x5587f2);if(_0x33955e==null&&(_0x33955e=_0xcb7c45[_0x352a64(0x246)](_0x59e08f-0x1,!0x1,_0x386336,_0x5587f2)),_0x2e7281){const {contentBoxPointGroup:_0x10ec8d}=_0x5744c3[_0x352a64(0x16b)](_0x33955e,_0x33955e);if(_0x10ec8d[_0x352a64(0x377)]===0x0)continue;this[_0x352a64(0x21c)](_0x1cd6fa,_0x10ec8d,_0x41939c,_0x429aeb,_0x2197cd),this['_eventUnsubscribe']=this[_0x352a64(0x2e8)]();}if(_0x46cf37&&_0x33955e){if(_0x11b396===_0x1a1077[_0x352a64(0x176)][_0x352a64(0x1f4)]){const _0x105b9d=new _0x34435f[(_0x352a64(0x2c0))](_0x294fc8,_0xcb7c45),{pointGroup:_0x2064d9}=(_0x2fa224=_0x105b9d[_0x352a64(0x16b)](_0x46cf37,_0x33955e))!=null?_0x2fa224:{};if(_0x2064d9==null||_0x2064d9['length']===0x0)continue;this[_0x352a64(0x208)](_0x1cd6fa,_0x2064d9,_0x41939c,_0x429aeb);}else{if(!_0x500b89){const {borderBoxPointGroup:_0x3ad06f}=_0x5744c3['getRangePointData'](_0x46cf37,_0x33955e);if(_0x3ad06f['length']===0x0)continue;this[_0x352a64(0x307)](_0x1cd6fa,_0x3ad06f,_0x41939c,_0x429aeb);}}}}}[_0x57a832(0x21c)](_0x3f01ce,_0x206eaf,_0x34d93b,_0x21064d,_0xf6dcad){const _0x179a32=_0x57a832,_0x1facdb=this['_getAnchorBounding'](_0x206eaf),{left:_0x704ffb,top:_0x2fe87f,height:_0x5e0be5}=_0x1facdb,_0x31988c=this[_0x179a32(0x32f)](),_0x5b2d24=_0x2cc186/_0x31988c,_0x1fb654=new _0x440ec2[(_0x179a32(0x2ec))](_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d,'height':_0x5e0be5,'width':_0x46e3b0,'fill':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077[_0x179a32(0x17b)][_0x179a32(0x36c)],0x0),'strokeWidth':_0x5b2d24,'stroke':_0xa831f7,'evented':!0x0});this[_0x179a32(0x1f1)]=_0x1fb654,this[_0x179a32(0x332)][_0x179a32(0x2cf)](_0x1fb654,_0x34435f[_0x179a32(0x25d)]);const _0x2c248b=new _0x440ec2[(_0x179a32(0x2ec))](_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d-_0x287a48/0x2,'height':_0x287a48,'width':_0x287a48,'fill':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077[_0x179a32(0x17b)][_0x179a32(0x36c)],0x0),'strokeWidth':0x0,'stroke':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077['COLORS'][_0x179a32(0x36c)],0x0),'evented':!0x1});this[_0x179a32(0x3c1)]=_0x2c248b,this['_scene'][_0x179a32(0x2cf)](_0x2c248b,_0x34435f['TEXT_RANGE_LAYER_INDEX']);const _0x381013=new _0x25ae16(_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d-_0x3f9c8c,'text':_0xf6dcad,'color':_0x3f01ce});this['_textBubble']=_0x381013,this[_0x179a32(0x332)]['addObject'](_0x381013,_0x34435f[_0x179a32(0x25d)]),this['_hover']=!0x1;}[_0x57a832(0x2e8)](){const _0x29e0e7=_0x57a832,_0x7800d7=this[_0x29e0e7(0x1f1)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x11d741=_0x29e0e7;this[_0x11d741(0x2e7)]=!0x0;}),_0x16555=this[_0x29e0e7(0x1f1)][_0x29e0e7(0x2e2)]['subscribeEvent'](()=>{const _0x5c3d88=_0x29e0e7;this[_0x5c3d88(0x19e)]&&clearTimeout(this[_0x5c3d88(0x19e)]),this[_0x5c3d88(0x19e)]=setTimeout(()=>{const _0xcf2bc0=_0x5c3d88;this[_0xcf2bc0(0x2e7)]=!0x1;},0x7d0);});return()=>{const _0x1edbc6=_0x29e0e7;_0x7800d7[_0x1edbc6(0x37a)](),_0x16555[_0x1edbc6(0x37a)]();};}[_0x57a832(0x307)](_0x5d7228,_0x455175,_0x3f71c3,_0x2771c9){const _0x3b0570=_0x57a832,_0x466e11=new _0x1a1077[(_0x3b0570(0x2f0))](_0x5d7228)[_0x3b0570(0x31b)](0.2)['toRgbString'](),_0x296bfc=new _0x440ec2[(_0x3b0570(0x24e))](_0x4a88c8+_0x1a1077[_0x3b0570(0x24f)](_0x163e00),{'pointsGroup':_0x455175,'fill':_0x466e11||_0x440ec2[_0x3b0570(0x297)](_0x1a1077[_0x3b0570(0x17b)][_0x3b0570(0x36c)],0.2),'left':_0x3f71c3,'top':_0x2771c9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b0570(0x2e5)](_0x296bfc),this[_0x3b0570(0x332)][_0x3b0570(0x2cf)](_0x296bfc,_0x34435f[_0x3b0570(0x25d)]);}[_0x57a832(0x208)](_0x9ebc99,_0x22ff9e,_0x742689,_0x2ddaa9){const _0x20dd44=_0x57a832,_0x3ffb37=new _0x1a1077[(_0x20dd44(0x2f0))](_0x9ebc99)['setAlpha'](0.2)[_0x20dd44(0x194)](),_0x45acab=new _0x440ec2[(_0x20dd44(0x24e))](_0x4d67d6+_0x1a1077[_0x20dd44(0x24f)](_0x163e00),{'pointsGroup':_0x22ff9e,'fill':_0x3ffb37||_0x440ec2[_0x20dd44(0x297)](_0x1a1077['COLORS'][_0x20dd44(0x36c)],0.2),'left':_0x742689,'top':_0x2ddaa9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20dd44(0x3f7)]['push'](_0x45acab),this['_scene'][_0x20dd44(0x2cf)](_0x45acab,_0x34435f[_0x20dd44(0x25d)]);}[_0x57a832(0x3e9)](_0x2f25e1){const _0x2b18bd=_0x2f25e1[0x0],_0x162511=_0x2b18bd[0x0],_0x4a12d0=_0x2b18bd[0x2],{x:_0x3b9b0f,y:_0x6226e6}=_0x162511,{x:_0x3b4d00,y:_0x25e525}=_0x4a12d0;return{'left':_0x3b9b0f,'top':_0x6226e6,'width':_0x3b4d00-_0x3b9b0f,'height':_0x25e525-_0x6226e6};}['_getScale'](){const _0x3f9f49=_0x57a832,{scaleX:_0x5d94fa,scaleY:_0xcc3179}=this['_scene']['getAncestorScale']();return Math[_0x3f9f49(0x373)](_0x5d94fa,_0xcc3179);}}var _0x10f842=Object['getOwnPropertyDescriptor'],_0x18c987=(_0x4d83ac,_0x5e6038,_0x278dbb,_0x2b6767)=>{const _0x48f5ca=_0x57a832;for(var _0x3d2ef8=_0x2b6767>0x1?void 0x0:_0x2b6767?_0x10f842(_0x5e6038,_0x278dbb):_0x5e6038,_0x30dbca=_0x4d83ac[_0x48f5ca(0x377)]-0x1,_0x59a578;_0x30dbca>=0x0;_0x30dbca--)(_0x59a578=_0x4d83ac[_0x30dbca])&&(_0x3d2ef8=_0x59a578(_0x3d2ef8)||_0x3d2ef8);return _0x3d2ef8;},_0x36e942=(_0x281bc6,_0x24d6b7)=>(_0x379ea4,_0x2ca353)=>_0x24d6b7(_0x379ea4,_0x2ca353,_0x281bc6);let _0x35262d=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x4c1fc5,_0x1d0eff,_0x3db886,_0x33bc41,_0x1b9ef2){const _0x214de3=_0x57a832;super(),_0x1531e9(this,'_cursorShapes',[]),_0x1531e9(this,'_cursors',[]),(this[_0x214de3(0x169)]=_0x4c1fc5,this['_docSkeletonManagerService']=_0x1d0eff,this['_collabCursorController']=_0x3db886,this['_commandService']=_0x33bc41,this[_0x214de3(0x19f)]=_0x1b9ef2,this[_0x214de3(0x1cd)]());}[_0x57a832(0x1cd)](){const _0x146dfe=_0x57a832,_0x4657cf=this[_0x146dfe(0x169)][_0x146dfe(0x17e)],_0x25b3f5=this[_0x146dfe(0x1e8)];this['disposeWithMe'](_0x447b79[_0x146dfe(0x1f5)]([this['_collabCursorController']['getCollabCursors$'](_0x4657cf),this['_themeService']['currentTheme$']])[_0x146dfe(0x347)](_0x66fe1a['map'](([_0x247971,_0x401008])=>({'skeleton':_0x25b3f5['getSkeleton'](),'cursors':[..._0x247971[_0x146dfe(0x1e1)]()][_0x146dfe(0x1e4)](_0x3a02cc=>({..._0x3a02cc,'color':this[_0x146dfe(0x19f)][_0x146dfe(0x38b)](_0x3a02cc['color'])}))})))[_0x146dfe(0x217)](_0x15c6db=>{const _0x4f84c9=_0x146dfe;if(this[_0x4f84c9(0x3bc)](),_0x15c6db){const {skeleton:_0x40863b,cursors:_0x108d2a}=_0x15c6db;this[_0x4f84c9(0x39b)](_0x40863b,_0x108d2a);}})),this[_0x146dfe(0x1aa)](),this['_initCommandExecutedListener']();}[_0x57a832(0x39b)](_0x3f4663,_0x2e1278){const _0xd03284=_0x57a832,{scene:_0x36b735,mainComponent:_0x1df5e0}=this[_0xd03284(0x169)],_0x34574a=_0x2e1278[_0xd03284(0x1ac)](_0x523ec3=>new _0x4105ac(_0x523ec3,_0x36b735,_0x3f4663,_0x1df5e0));this[_0xd03284(0x2bb)]=_0x34574a,this[_0xd03284(0x2f4)]=_0x2e1278;}[_0x57a832(0x22a)](){const _0x329790=_0x57a832;this[_0x329790(0x3bc)]();const {scene:_0x36311a,mainComponent:_0x4e91a0}=this[_0x329790(0x169)],_0x15c95c=this[_0x329790(0x1e8)][_0x329790(0x2d6)](),_0x4e753c=this['_cursors'][_0x329790(0x1ac)](_0x4209c6=>new _0x4105ac(_0x4209c6,_0x36311a,_0x15c95c,_0x4e91a0));this[_0x329790(0x2bb)]=_0x4e753c;}[_0x57a832(0x3bc)](){const _0x28315b=_0x57a832;this['_cursorShapes'][_0x28315b(0x240)](_0x48aad5=>_0x48aad5[_0x28315b(0x245)]()),this['_cursorShapes']=[];}[_0x57a832(0x1ef)](){const _0x117d53=_0x57a832,_0x59f7c0=[_0x34435f['SetDocZoomRatioOperation']['id']];this[_0x117d53(0x33a)](this[_0x117d53(0x1a6)]['onCommandExecuted'](_0x436315=>{const _0x24433b=_0x117d53;_0x59f7c0[_0x24433b(0x1c5)](_0x436315['id'])&&_0x436315[_0x24433b(0x358)][_0x24433b(0x17e)]===this[_0x24433b(0x169)][_0x24433b(0x17e)]&&this['_refreshCollabCursors']();}));}[_0x57a832(0x1aa)](){const _0x58e462=_0x57a832;this[_0x58e462(0x33a)](_0x1a1077['fromEventSubject'](this[_0x58e462(0x169)][_0x58e462(0x3af)]['onTransformChange$'])['pipe'](_0x66fe1a[_0x58e462(0x30d)](_0x5baa88=>_0x5baa88[_0x58e462(0x2b3)]===_0x440ec2['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x58e462(0x2c8)]),_0x66fe1a[_0x58e462(0x21f)](0x10))['subscribe'](()=>{const _0x52e9ca=_0x58e462;this[_0x52e9ca(0x22a)]();}));}};_0x35262d=_0x18c987([_0x36e942(0x1,_0x1a1077['Inject'](_0x204ba9['DocSkeletonManagerService'])),_0x36e942(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1cbcc1)),_0x36e942(0x3,_0x1a1077[_0x57a832(0x2b8)]),_0x36e942(0x4,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x29b)]))],_0x35262d);const _0x1f272a=0x1,_0x2a4028=1.5;class _0x5ad0fd extends _0x440ec2[_0x57a832(0x253)]{constructor(_0x33ecee,_0x3dfcf8){const _0x5873ab=_0x57a832;super(_0x33ecee,_0x3dfcf8),_0x1531e9(this,'_color'),_0x1531e9(this,_0x5873ab(0x204),!0x1),_0x1531e9(this,_0x5873ab(0x3c4)),_0x1531e9(this,'_name',''),_0x1531e9(this,_0x5873ab(0x3fc),_0x5873ab(0x32c)),_0x1531e9(this,'_backgroundColor'),(_0x3dfcf8&&this[_0x5873ab(0x2a3)](_0x3dfcf8),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5873ab(0x2a3)]({'hovered':!0x0})),this[_0x5873ab(0x2e2)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3224a3){const _0x11f32e=_0x57a832;var _0x1a890b,_0x31c184,_0x172a0f,_0x4f5947,_0x4fb560,_0x4dc3cc;this['_color']=(_0x1a890b=_0x3224a3['color'])!=null?_0x1a890b:this[_0x11f32e(0x287)],this[_0x11f32e(0x204)]=(_0x31c184=_0x3224a3[_0x11f32e(0x2e0)])!=null?_0x31c184:this[_0x11f32e(0x204)],this[_0x11f32e(0x3c4)]=(_0x172a0f=_0x3224a3[_0x11f32e(0x1dd)])!=null?_0x172a0f:this[_0x11f32e(0x3c4)],this[_0x11f32e(0x2e3)]=(_0x4f5947=_0x3224a3[_0x11f32e(0x26c)])!=null?_0x4f5947:this['_name'],this['_labelPosition']=(_0x4fb560=_0x3224a3[_0x11f32e(0x18d)])!=null?_0x4fb560:this[_0x11f32e(0x3fc)],this[_0x11f32e(0x33f)]=(_0x4dc3cc=_0x3224a3['backgroundColor'])!=null?_0x4dc3cc:this[_0x11f32e(0x33f)],this['transformByState']({'width':_0x3224a3[_0x11f32e(0x1fb)],'height':_0x3224a3['height']});}[_0x57a832(0x3ad)](_0x204a83){const _0x393fcd=_0x57a832,{row:_0x5f0afb,column:_0x524f10}=_0x204a83;if(_0x5f0afb>=this[_0x393fcd(0x3c4)]['startRow']&&_0x5f0afb<=this[_0x393fcd(0x3c4)]['endRow']&&_0x524f10>=this[_0x393fcd(0x3c4)][_0x393fcd(0x3e1)]&&_0x524f10<=this['_range'][_0x393fcd(0x21b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x393fcd(0x2a3)]({'hovered':!0x1});}[_0x57a832(0x256)](_0xf60fca){return!0x1;}[_0x57a832(0x259)](_0x5d9541){const _0x5c7a2f=_0x57a832;_0x440ec2['Rect'][_0x5c7a2f(0x273)](_0x5d9541,{'width':this['width'],'height':this[_0x5c7a2f(0x26b)],'strokeWidth':_0x2a4028,'stroke':this[_0x5c7a2f(0x287)],'evented':!0x1,'fill':this[_0x5c7a2f(0x33f)]}),this[_0x5c7a2f(0x204)]&&(_0x5d9541['save'](),_0x5d9541['transform'](0x1,0x0,0x0,0x1,this[_0x5c7a2f(0x1fb)],this[_0x5c7a2f(0x3fc)]===_0x5c7a2f(0x281)?0x0:-0x14),_0x25ae16[_0x5c7a2f(0x273)](_0x5d9541,{'text':this['_name'],'color':this[_0x5c7a2f(0x287)]}),_0x5d9541['restore']());}}var _0x4313e6=Object[_0x57a832(0x2dd)],_0x20e438=(_0x4fe770,_0x36cb90,_0x5bcb34,_0x2dc2d4)=>{const _0x53987=_0x57a832;for(var _0x41df6b=_0x2dc2d4>0x1?void 0x0:_0x2dc2d4?_0x4313e6(_0x36cb90,_0x5bcb34):_0x36cb90,_0x4e14ae=_0x4fe770[_0x53987(0x377)]-0x1,_0x48ed55;_0x4e14ae>=0x0;_0x4e14ae--)(_0x48ed55=_0x4fe770[_0x4e14ae])&&(_0x41df6b=_0x48ed55(_0x41df6b)||_0x41df6b);return _0x41df6b;},_0x14c6b4=(_0x458a3d,_0x1479f9)=>(_0x515708,_0x16b94d)=>_0x1479f9(_0x515708,_0x16b94d,_0x458a3d);const _0x3e7fae=0x1389;let _0x52e675=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x26f3a1,_0x526737,_0x1c9217,_0x1f02d1){const _0x47925a=_0x57a832;super(),_0x1531e9(this,'_cursors',new Set()),_0x1531e9(this,_0x47925a(0x1b7),null),(this['_context']=_0x26f3a1,this[_0x47925a(0x3dd)]=_0x526737,this['_collabCursorController']=_0x1c9217,this['_themeService']=_0x1f02d1,this['_init']());}[_0x57a832(0x1cd)](){const _0x148980=_0x57a832;this[_0x148980(0x3dd)]['currentSkeleton$'][_0x148980(0x347)](_0x66fe1a[_0x148980(0x186)](this[_0x148980(0x277)]),_0x66fe1a[_0x148980(0x331)](_0x3a834d=>{const _0x2af55c=_0x148980;if(_0x3a834d){const _0x39ab79=_0x3a834d[_0x2af55c(0x3f6)];return _0x447b79[_0x2af55c(0x1f5)](this[_0x2af55c(0x284)][_0x2af55c(0x28b)](this[_0x2af55c(0x169)]['unitId']),this[_0x2af55c(0x19f)][_0x2af55c(0x1b8)])[_0x2af55c(0x347)](_0x66fe1a[_0x2af55c(0x1ac)](([_0x58f39a,_0x4c66f5])=>{const _0x575651=new Map();return _0x58f39a['forEach']((_0x4c817d,_0x2860b2)=>{const _0x3123d1=_0x35c9;if(_0x4c817d[_0x3123d1(0x2a6)]===_0x39ab79){const _0x5496ed={..._0x4c817d};_0x5496ed[_0x3123d1(0x381)]=this[_0x3123d1(0x19f)][_0x3123d1(0x38b)](_0x4c817d[_0x3123d1(0x381)]),_0x575651[_0x3123d1(0x39e)](_0x2860b2,_0x5496ed);}}),{'skeleton':_0x3a834d,'cursors':_0x575651};}));}return _0x447b79['of']({'skeleton':null,'cursors':new Map()});}))[_0x148980(0x217)](({skeleton:_0x149d89,cursors:_0x5352c0})=>{this['_removeCollabCursors'](),_0x149d89&&this['_updateCollabCursors'](_0x149d89,_0x5352c0);}),this['_sheetSkeletonManagerService'][_0x148980(0x39f)][_0x148980(0x217)](_0x5d704f=>{const _0x1ead6f=_0x148980;if(_0x5d704f==null)return;const {skeleton:_0x2d84fc}=_0x5d704f,{scene:_0x57cd67}=this[_0x1ead6f(0x169)];_0x57cd67[_0x1ead6f(0x305)][_0x1ead6f(0x2df)](_0x1a1077[_0x1ead6f(0x27e)](_0x2ebd0d=>{const _0xfca40f=_0x1ead6f;var _0x11678c,_0x2bedf8;const {offsetX:_0x1d5e38,offsetY:_0x3d07e2}=_0x2ebd0d,{x:_0x1dd473,y:_0x33bbbd}=_0x57cd67[_0xfca40f(0x20a)](_0x440ec2[_0xfca40f(0x201)][_0xfca40f(0x3e7)]([_0x1d5e38,_0x3d07e2])),{scaleX:_0x2e29a2,scaleY:_0x371943}=_0x57cd67[_0xfca40f(0x3d4)](),_0x475d13=_0x57cd67[_0xfca40f(0x3d0)](_0x440ec2[_0xfca40f(0x2ab)][_0xfca40f(0x341)]),_0x5cf7f9=_0x57cd67[_0xfca40f(0x180)](_0x440ec2['Vector2'][_0xfca40f(0x3e7)]([_0x1dd473,_0x33bbbd]),_0x475d13),_0x5524e9=_0x2d84fc[_0xfca40f(0x166)](_0x1d5e38,_0x3d07e2,_0x2e29a2,_0x371943,_0x5cf7f9);((_0x11678c=this[_0xfca40f(0x1b7)])==null?void 0x0:_0x11678c[_0xfca40f(0x31e)])===_0x5524e9['column']&&((_0x2bedf8=this[_0xfca40f(0x1b7)])==null?void 0x0:_0x2bedf8['row'])===_0x5524e9[_0xfca40f(0x189)]||this['_cursors'][_0xfca40f(0x240)](_0x1380b2=>{const _0x5803eb=_0xfca40f;_0x1380b2[_0x5803eb(0x3ad)](_0x5524e9);});},0x64));});}[_0x57a832(0x39b)](_0x50a050,_0x32f662){const _0x1bc698=_0x57a832;var _0x4bd12d;const _0x5879a5=(_0x4bd12d=this[_0x1bc698(0x3dd)][_0x1bc698(0x2fe)]())==null?void 0x0:_0x4bd12d[_0x1bc698(0x2a4)];if(!_0x5879a5)return;const _0xed8b58=this[_0x1bc698(0x2a1)]();if(!_0xed8b58)return;this[_0x1bc698(0x2f4)]['forEach'](_0x3e7d49=>{_0x3e7d49['makeDirty']();});const {scene:_0x3cbe46}=_0xed8b58,_0x41a07e=_0x379f98(Array[_0x1bc698(0x271)](_0x32f662[_0x1bc698(0x1e1)]()))[_0x1bc698(0x1ac)](_0x683d4d=>{const _0x14deff=_0x1bc698,{color:_0x17be1e,range:_0x337686,name:_0x60f3d6,selection:_0x533274,sheetID:_0x5d4060}=_0x683d4d,{startColumn:_0x368c6c,startRow:_0x207c89,endColumn:_0x2b2542,endRow:_0x3de08c}=_0x337686,_0x1ab2e4=_0x10445a[_0x14deff(0x2d3)](_0x207c89,_0x368c6c,_0x3cbe46,_0x5879a5),_0x5ec76c=_0x10445a[_0x14deff(0x2d3)](_0x3de08c,_0x2b2542,_0x3cbe46,_0x5879a5),{columnHeaderHeightAndMarginTop:_0x3c7767}=_0x5879a5,{startX:_0x3d822b,startY:_0x1251b1}=_0x1ab2e4,{endX:_0x3e82a1,endY:_0x9e7516}=_0x5ec76c,_0x172c9a=_0x3e82a1-_0x3d822b,_0x288ede=_0x9e7516-_0x1251b1,_0x722956={'labelPosition':_0x1251b1-_0x3c7767>=_0x3f9c8c?_0x14deff(0x32c):_0x14deff(0x281),'sheetID':_0x5d4060,'range':_0x337686,'color':_0x17be1e,'name':_0x60f3d6,'selection':_0x533274,'left':_0x3d822b,'top':_0x1251b1,'width':_0x172c9a,'height':_0x288ede,'evented':!0x1,'zIndex':_0x3e7fae};return new _0x5ad0fd(_0x60f3d6,_0x722956);});_0x3cbe46[_0x1bc698(0x383)](_0x41a07e,_0x1f272a),this[_0x1bc698(0x2f4)]=new Set(_0x41a07e);}['_removeCollabCursors'](){const _0x58bb25=_0x57a832;var _0x434ed0;(_0x434ed0=this[_0x58bb25(0x2f4)])==null||_0x434ed0['forEach'](_0x5428ae=>_0x5428ae[_0x58bb25(0x245)]());}[_0x57a832(0x2a1)](){const _0x5a8eff=_0x57a832;return _0x10445a[_0x5a8eff(0x1fa)](this[_0x5a8eff(0x169)]['unit'],this[_0x5a8eff(0x169)]);}};_0x52e675=_0x20e438([_0x14c6b4(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x10445a[_0x57a832(0x345)])),_0x14c6b4(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1cbcc1)),_0x14c6b4(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['ThemeService']))],_0x52e675);function _0x379f98(_0x3eb0c3){const _0x1f9dc8=new Map();return _0x3eb0c3['forEach'](_0x2c502a=>{const _0x34abd1=_0x35c9;if(_0x1f9dc8[_0x34abd1(0x375)](_0x2c502a['selection'])){const _0x4f8275=_0x1f9dc8['get'](_0x2c502a[_0x34abd1(0x2da)]);_0x4f8275['name']+=',\x20'+_0x2c502a['name'];}else _0x1f9dc8[_0x34abd1(0x39e)](_0x2c502a[_0x34abd1(0x2da)],_0x2c502a);}),Array['from'](_0x1f9dc8['values']());}var _0x3c7b1f=function(){const _0x2a8a45=_0x57a832;return _0x3c7b1f=Object[_0x2a8a45(0x193)]||function(_0x321c1c){const _0x36f3a5=_0x2a8a45;for(var _0x5bb2a8,_0x2ad9a7=0x1,_0x130630=arguments[_0x36f3a5(0x377)];_0x2ad9a7<_0x130630;_0x2ad9a7++){_0x5bb2a8=arguments[_0x2ad9a7];for(var _0x551f5e in _0x5bb2a8)Object[_0x36f3a5(0x2f7)][_0x36f3a5(0x27f)][_0x36f3a5(0x36a)](_0x5bb2a8,_0x551f5e)&&(_0x321c1c[_0x551f5e]=_0x5bb2a8[_0x551f5e]);}return _0x321c1c;},_0x3c7b1f['apply'](this,arguments);},_0x33df74=function(_0x5a2fc3,_0x535513){const _0x30563e=_0x57a832;var _0x1465d={};for(var _0x915440 in _0x5a2fc3)Object[_0x30563e(0x2f7)][_0x30563e(0x27f)][_0x30563e(0x36a)](_0x5a2fc3,_0x915440)&&_0x535513[_0x30563e(0x258)](_0x915440)<0x0&&(_0x1465d[_0x915440]=_0x5a2fc3[_0x915440]);if(_0x5a2fc3!=null&&typeof Object['getOwnPropertySymbols']==_0x30563e(0x252)){for(var _0x5154cc=0x0,_0x915440=Object[_0x30563e(0x21d)](_0x5a2fc3);_0x5154cc<_0x915440[_0x30563e(0x377)];_0x5154cc++)_0x535513['indexOf'](_0x915440[_0x5154cc])<0x0&&Object[_0x30563e(0x2f7)][_0x30563e(0x1e2)]['call'](_0x5a2fc3,_0x915440[_0x5154cc])&&(_0x1465d[_0x915440[_0x5154cc]]=_0x5a2fc3[_0x915440[_0x5154cc]]);}return _0x1465d;},_0x5119e9=_0x1906a3[_0x57a832(0x321)](function(_0x3f2828,_0x284d89){const _0x3f27f9=_0x57a832;var _0x2accab=_0x3f2828[_0x3f27f9(0x1c2)],_0x1dcb45=_0x3f2828['id'],_0x195cc6=_0x3f2828[_0x3f27f9(0x280)],_0x347f49=_0x3f2828[_0x3f27f9(0x3ca)],_0x5b5895=_0x33df74(_0x3f2828,[_0x3f27f9(0x1c2),'id',_0x3f27f9(0x280),_0x3f27f9(0x3ca)]),_0x52acf2='univerjs-icon\x20univerjs-icon-'[_0x3f27f9(0x367)](_0x1dcb45,'\x20')['concat'](_0x195cc6||'')[_0x3f27f9(0x1a8)](),_0x48e2d5=_0x1906a3[_0x3f27f9(0x1d4)]('_'[_0x3f27f9(0x367)](_0x40f779()));return _0x4b6bd5(_0x2accab,''[_0x3f27f9(0x367)](_0x1dcb45),{'defIds':_0x2accab[_0x3f27f9(0x333)],'idSuffix':_0x48e2d5[_0x3f27f9(0x3a8)]},_0x3c7b1f({'ref':_0x284d89,'className':_0x52acf2},_0x5b5895),_0x347f49);});function _0x4b6bd5(_0x348b22,_0x389f5f,_0x242dc5,_0x5ec09f,_0x3c565a){const _0x58dc53=_0x57a832;return _0x1906a3[_0x58dc53(0x1da)](_0x348b22['tag'],_0x3c7b1f(_0x3c7b1f({'key':_0x389f5f},_0x40cc27(_0x348b22,_0x242dc5,_0x3c565a)),_0x5ec09f),(_0x5a10a8(_0x348b22,_0x242dc5)['children']||[])[_0x58dc53(0x1ac)](function(_0x59e730,_0x835073){const _0x4f8159=_0x58dc53;return _0x4b6bd5(_0x59e730,''[_0x4f8159(0x367)](_0x389f5f,'-')[_0x4f8159(0x367)](_0x348b22[_0x4f8159(0x342)],'-')['concat'](_0x835073),_0x242dc5,void 0x0,_0x3c565a);}));}function _0x40cc27(_0x2e7d36,_0x29557a,_0x24de52){const _0x1a9a6b=_0x57a832;var _0x3e3b16=_0x3c7b1f({},_0x2e7d36['attrs']);_0x24de52!=null&&_0x24de52[_0x1a9a6b(0x3df)]&&_0x3e3b16[_0x1a9a6b(0x218)]===_0x1a9a6b(0x3df)&&(_0x3e3b16[_0x1a9a6b(0x218)]=_0x24de52[_0x1a9a6b(0x3df)]),_0x2e7d36[_0x1a9a6b(0x342)]==='mask'&&_0x3e3b16['id']&&(_0x3e3b16['id']=_0x3e3b16['id']+_0x29557a[_0x1a9a6b(0x191)]),Object[_0x1a9a6b(0x3b5)](_0x3e3b16)[_0x1a9a6b(0x240)](function(_0x401aa2){const _0x5aba76=_0x1a9a6b;var _0x2ed759=_0x401aa2[0x0],_0x1633d3=_0x401aa2[0x1];_0x2ed759===_0x5aba76(0x234)&&typeof _0x1633d3=='string'&&(_0x3e3b16[_0x2ed759]=_0x1633d3[_0x5aba76(0x301)](/url\(#(.*)\)/,_0x5aba76(0x1ce)[_0x5aba76(0x367)](_0x29557a[_0x5aba76(0x191)],')')));});var _0x380a5c=_0x29557a['defIds'];return!_0x380a5c||_0x380a5c[_0x1a9a6b(0x377)]===0x0||(_0x2e7d36[_0x1a9a6b(0x342)]==='use'&&_0x3e3b16['xlink:href']&&(_0x3e3b16[_0x1a9a6b(0x1a3)]=_0x3e3b16['xlink:href']+_0x29557a[_0x1a9a6b(0x191)]),Object[_0x1a9a6b(0x3b5)](_0x3e3b16)[_0x1a9a6b(0x240)](function(_0x21c73d){const _0x3db2e6=_0x1a9a6b;var _0x554880=_0x21c73d[0x0],_0xd2c512=_0x21c73d[0x1];typeof _0xd2c512==_0x3db2e6(0x1dc)&&(_0x3e3b16[_0x554880]=_0xd2c512[_0x3db2e6(0x301)](/url\(#(.*)\)/,_0x3db2e6(0x1ce)[_0x3db2e6(0x367)](_0x29557a[_0x3db2e6(0x191)],')')));})),_0x3e3b16;}function _0x5a10a8(_0x490c8b,_0x441735){const _0x55da82=_0x57a832;var _0x54752c,_0x4cea25=_0x441735[_0x55da82(0x333)];return!_0x4cea25||_0x4cea25[_0x55da82(0x377)]===0x0?_0x490c8b:_0x490c8b[_0x55da82(0x342)]==='defs'&&(!((_0x54752c=_0x490c8b[_0x55da82(0x34a)])===null||_0x54752c===void 0x0)&&_0x54752c[_0x55da82(0x377)])?_0x3c7b1f(_0x3c7b1f({},_0x490c8b),{'children':_0x490c8b[_0x55da82(0x34a)][_0x55da82(0x1ac)](function(_0x25dfd6){const _0x45bc9d=_0x55da82;return typeof _0x25dfd6['attrs']['id']==_0x45bc9d(0x1dc)&&_0x4cea25&&_0x4cea25[_0x45bc9d(0x1c5)](_0x25dfd6[_0x45bc9d(0x380)]['id'])?_0x3c7b1f(_0x3c7b1f({},_0x25dfd6),{'attrs':_0x3c7b1f(_0x3c7b1f({},_0x25dfd6[_0x45bc9d(0x380)]),{'id':_0x25dfd6[_0x45bc9d(0x380)]['id']+_0x441735[_0x45bc9d(0x191)]})}):_0x25dfd6;})}):_0x490c8b;}function _0x40f779(){const _0x54a178=_0x57a832;return Math[_0x54a178(0x2c7)]()['toString'](0x24)[_0x54a178(0x396)](0x2,0x8);}_0x5119e9[_0x57a832(0x38f)]=_0x57a832(0x20d);var _0x26dff8={'tag':_0x57a832(0x16e),'attrs':{'xmlns':_0x57a832(0x29f),'fill':_0x57a832(0x354),'viewBox':_0x57a832(0x33e),'width':_0x57a832(0x402),'height':_0x57a832(0x402)},'children':[{'tag':'g','attrs':{'clipPath':_0x57a832(0x334)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'stroke':_0x57a832(0x3d8),'d':_0x57a832(0x23b),'strokeLinecap':_0x57a832(0x3ed),'strokeLinejoin':_0x57a832(0x3ed),'strokeWidth':1.2}}]},{'tag':_0x57a832(0x210),'attrs':{},'children':[{'tag':_0x57a832(0x19c),'attrs':{'id':_0x57a832(0x28d)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'fill':'white','d':_0x57a832(0x1ad)}}]}]}],'defIds':[_0x57a832(0x28d)]},_0x2f50cb=_0x1906a3[_0x57a832(0x321)](function(_0x292a24,_0x1b2923){const _0x25d675=_0x57a832;return _0x1906a3[_0x25d675(0x1da)](_0x5119e9,Object[_0x25d675(0x193)]({},_0x292a24,{'id':_0x25d675(0x2c9),'ref':_0x1b2923,'icon':_0x26dff8}));});_0x2f50cb['displayName']=_0x57a832(0x378);var _0x2ff746={'tag':_0x57a832(0x16e),'attrs':{'xmlns':_0x57a832(0x29f),'fill':_0x57a832(0x354),'viewBox':_0x57a832(0x309),'width':_0x57a832(0x402),'height':_0x57a832(0x402)},'children':[{'tag':'g','attrs':{'clipPath':_0x57a832(0x36b)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'stroke':'currentColor','d':_0x57a832(0x3c9),'strokeLinecap':_0x57a832(0x3ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x57a832(0x3f8)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'fill':_0x57a832(0x408),'d':_0x57a832(0x1ad),'transform':_0x57a832(0x351)}}]}]}],'defIds':[_0x57a832(0x3f8)]},_0x17b6eb=_0x1906a3['forwardRef'](function(_0x1aa00a,_0x1edca6){const _0x4ae287=_0x57a832;return _0x1906a3['createElement'](_0x5119e9,Object[_0x4ae287(0x193)]({},_0x1aa00a,{'id':_0x4ae287(0x3e6),'ref':_0x1edca6,'icon':_0x2ff746}));});_0x17b6eb[_0x57a832(0x38f)]=_0x57a832(0x366);function _0x5978c7(_0x144e92){const _0x56f355=_0x57a832;switch(_0x144e92){case _0x574d08[_0x56f355(0x214)][_0x56f355(0x200)]:return _0x56f355(0x1e0);case _0x574d08[_0x56f355(0x214)]['CONFLICT']:return'collabStatus.conflict';case _0x574d08['CollaborationStatus'][_0x56f355(0x1ed)]:return _0x56f355(0x2d7);case _0x574d08[_0x56f355(0x214)][_0x56f355(0x34d)]:return _0x56f355(0x1d8);case _0x574d08['CollaborationStatus'][_0x56f355(0x26a)]:case _0x574d08['CollaborationStatus'][_0x56f355(0x398)]:return'collabStatus.syncing';case _0x574d08[_0x56f355(0x214)][_0x56f355(0x1bb)]:case _0x574d08['CollaborationStatus'][_0x56f355(0x35e)]:return _0x56f355(0x1f7);}}function _0x50aa6f(_0x56629d){const _0x1785de=_0x57a832,{status$:_0x1ad56e}=_0x56629d,_0x2e1791=_0x2b55d2[_0x1785de(0x328)](_0x1ad56e,_0x574d08['CollaborationStatus'][_0x1785de(0x34d)]),_0xe5fe9a=_0x2b55d2[_0x1785de(0x35f)](_0x1a1077[_0x1785de(0x3dc)]),_0x5ec80e=_0x2b55d2[_0x1785de(0x35f)](_0x574d08[_0x1785de(0x393)]),_0x5b1e38=_0x2e1791!==_0x574d08[_0x1785de(0x214)][_0x1785de(0x200)],_0x23e2ce=_0xe5fe9a['t'](_0x5978c7(_0x2e1791)),_0x1ce1b7=_0x5b1e38?_0x4c4c0f['jsx'](_0x17b6eb,{}):_0x4c4c0f[_0x1785de(0x335)](_0x2f50cb,{}),_0x49a02f=_0x1906a3['useCallback'](()=>{const _0x2da341=_0x1785de;_0x5b1e38||_0x5ec80e[_0x2da341(0x3b2)]();},[_0x5b1e38,_0x5ec80e]);function _0x1b74cb(){const _0x1802cc=_0x1785de;return _0x4c4c0f[_0x1802cc(0x384)]('div',{'className':_0x1802cc(0x199),'onClick':_0x49a02f,'children':[_0x4c4c0f[_0x1802cc(0x335)]('div',{'className':_0x48312e['clsx'](_0x1802cc(0x315),{'univer-text-green-500':_0x5b1e38,'univer-text-red-500':!_0x5b1e38}),'children':_0x1ce1b7}),_0x4c4c0f[_0x1802cc(0x335)]('div',{'className':_0x1802cc(0x31f),'children':_0x23e2ce})]});}return _0x5b1e38?_0x1b74cb():_0x4c4c0f[_0x1785de(0x335)](_0x48312e[_0x1785de(0x3d2)],{'title':_0xe5fe9a['t']('collab-client.tooltip.reconnect'),'children':_0x1b74cb()});}var _0xdde3d9=Object[_0x57a832(0x2dd)],_0x2ad6bc=(_0x1325a9,_0xfa7cd1,_0x57f845,_0x339c21)=>{for(var _0x30d7e2=_0x339c21>0x1?void 0x0:_0x339c21?_0xdde3d9(_0xfa7cd1,_0x57f845):_0xfa7cd1,_0x17625c=_0x1325a9['length']-0x1,_0x25b269;_0x17625c>=0x0;_0x17625c--)(_0x25b269=_0x1325a9[_0x17625c])&&(_0x30d7e2=_0x25b269(_0x30d7e2)||_0x30d7e2);return _0x30d7e2;},_0x52439e=(_0x43902d,_0xb92d76)=>(_0x4a0b1a,_0x30d7a4)=>_0xb92d76(_0x4a0b1a,_0x30d7a4,_0x43902d);_0x1a9818[_0x57a832(0x178)]=class extends _0x1a1077['Disposable']{constructor(_0x3c5993,_0x3e89e7,_0xe50c5c,_0x2d135d){const _0x2b0839=_0x57a832;super(),_0x1531e9(this,_0x2b0839(0x25a),new _0x447b79['BehaviorSubject'](_0x574d08['CollaborationStatus'][_0x2b0839(0x34d)])),(this[_0x2b0839(0x2ed)]=_0x3c5993,this[_0x2b0839(0x2fc)]=_0x3e89e7,this[_0x2b0839(0x241)]=_0xe50c5c,this[_0x2b0839(0x202)]=_0x2d135d,this[_0x2b0839(0x35d)](),this['_initStatusListener']());}[_0x57a832(0x3db)](){const _0x173950=_0x57a832;this[_0x173950(0x33a)](this[_0x173950(0x2ed)][_0x173950(0x27b)]['pipe'](_0x447b79[_0x173950(0x331)](()=>{const _0x425886=_0x173950,_0x50ff89=this['_univerInstanceService'][_0x425886(0x2a0)]();return _0x50ff89?this[_0x425886(0x241)][_0x425886(0x2ad)](_0x50ff89[_0x425886(0x3e3)]()):_0x447b79['of'](null);}),_0x447b79['switchMap'](_0x6dd6c6=>_0x6dd6c6?_0x6dd6c6['status$']:_0x447b79['of'](_0x574d08['CollaborationStatus'][_0x173950(0x34d)])))[_0x173950(0x217)](_0x412d84=>{const _0x5ca496=_0x173950;this[_0x5ca496(0x25a)][_0x5ca496(0x24b)](_0x412d84);}));}[_0x57a832(0x35d)](){const _0x3f1efd=_0x57a832;this[_0x3f1efd(0x33a)](this[_0x3f1efd(0x202)][_0x3f1efd(0x40c)](_0x2b55d2['BuiltInUIPart']['HEADER_MENU'],()=>_0x2b55d2['connectInjector'](_0x8670a1({'status$':this[_0x3f1efd(0x25a)][_0x3f1efd(0x40e)]()}),this['_injector'])));}},_0x1a9818[_0x57a832(0x178)]=_0x2ad6bc([_0x52439e(0x0,_0x1a1077[_0x57a832(0x175)]),_0x52439e(0x1,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x52439e(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x40d)])),_0x52439e(0x3,_0x2b55d2[_0x57a832(0x167)])],_0x1a9818[_0x57a832(0x178)]);function _0x8670a1(_0x426b49){const {status$:_0x238379}=_0x426b49;return function(){const _0x59e00f=_0x35c9;return _0x4c4c0f[_0x59e00f(0x335)](_0x50aa6f,{'status$':_0x238379});};}var _0x24b5b2=Object[_0x57a832(0x2dd)],_0xe84f3e=(_0x10085e,_0x157e00,_0x303ff6,_0x5895a1)=>{const _0x3da983=_0x57a832;for(var _0x1de4c5=_0x5895a1>0x1?void 0x0:_0x5895a1?_0x24b5b2(_0x157e00,_0x303ff6):_0x157e00,_0x49f722=_0x10085e[_0x3da983(0x377)]-0x1,_0x1b7883;_0x49f722>=0x0;_0x49f722--)(_0x1b7883=_0x10085e[_0x49f722])&&(_0x1de4c5=_0x1b7883(_0x1de4c5)||_0x1de4c5);return _0x1de4c5;},_0x4accaa=(_0x24465d,_0x539cc5)=>(_0x14b97b,_0x321cc8)=>_0x539cc5(_0x14b97b,_0x321cc8,_0x24465d);let _0x4cf4a6=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0xd06377,_0x4a3d41,_0x1fc79d,_0x188010,_0x49f4bf,_0x1ae221){const _0x1e33e9=_0x57a832;super(),this['_beforeCloseService']=_0xd06377,this[_0x1e33e9(0x247)]=_0x4a3d41,this[_0x1e33e9(0x2b6)]=_0x1fc79d,this[_0x1e33e9(0x3ba)]=_0x188010,this[_0x1e33e9(0x3f3)]=_0x49f4bf,this[_0x1e33e9(0x391)]=_0x1ae221,this[_0x1e33e9(0x237)](),this[_0x1e33e9(0x1de)]();}[_0x57a832(0x237)](){const _0x299b38=_0x57a832;this[_0x299b38(0x33a)](this['_beforeCloseService'][_0x299b38(0x182)](()=>{const _0x5aee17=_0x299b38;if(this[_0x5aee17(0x247)][_0x5aee17(0x340)]['size'])return this[_0x5aee17(0x391)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x57a832(0x1de)](){const _0x27b8c2=_0x57a832;this[_0x27b8c2(0x33a)](this[_0x27b8c2(0x2b6)][_0x27b8c2(0x30e)][_0x27b8c2(0x217)](_0x14e80e=>{const _0x2c76c3=_0x27b8c2;_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3a7)]&&this[_0x2c76c3(0x3ba)][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x3f0)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x2ce))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x33c)]&&this[_0x2c76c3(0x3ba)][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)]['Warning'],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x184))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x18c)]&&this[_0x2c76c3(0x3f3)][_0x2c76c3(0x2f2)]({'title':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x239)),'content':this['_localeService']['t'](_0x2c76c3(0x359)),'type':_0x2c76c3(0x2cc),'duration':0x0}),_0x14e80e['id']===_0x574d08['CollaborationUIEventId'][_0x2c76c3(0x196)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)]['Error'],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x184))+'('+_0x14e80e[_0x2c76c3(0x1d1)]+')'}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3d6)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x3f0)],'content':this[_0x2c76c3(0x391)]['t'](_0x14e80e[_0x2c76c3(0x1d1)]||'')}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x364)]&&this[_0x2c76c3(0x3ba)]['show']({'type':_0x48312e[_0x2c76c3(0x3cc)]['Warning'],'content':this['_localeService']['t'](_0x2c76c3(0x227))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3b1)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x2a2)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x325))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2c76c3(0x3ba)]['show']({'type':_0x48312e['MessageType'][_0x2c76c3(0x2a2)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x29e))});}));}};_0x4cf4a6=_0xe84f3e([_0x4accaa(0x0,_0x2b55d2[_0x57a832(0x292)]),_0x4accaa(0x1,_0x574d08[_0x57a832(0x263)]),_0x4accaa(0x2,_0x1a1077['Inject'](_0x574d08[_0x57a832(0x3ee)])),_0x4accaa(0x3,_0x2b55d2['IMessageService']),_0x4accaa(0x4,_0x2b55d2[_0x57a832(0x2b9)]),_0x4accaa(0x5,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x3dc)]))],_0x4cf4a6);const _0x404759=_0x57a832(0x3ef),_0x53571b={},_0x1a05da=_0x1a1077[_0x57a832(0x22b)]('uni.network.url-service');var _0x1046d2=Object[_0x57a832(0x2dd)],_0x3bec64=(_0x2f46e4,_0x3af939,_0x4ad6bf,_0x4b5706)=>{for(var _0x5804a1=_0x4b5706>0x1?void 0x0:_0x4b5706?_0x1046d2(_0x3af939,_0x4ad6bf):_0x3af939,_0x293fea=_0x2f46e4['length']-0x1,_0x93598a;_0x293fea>=0x0;_0x293fea--)(_0x93598a=_0x2f46e4[_0x293fea])&&(_0x5804a1=_0x93598a(_0x5804a1)||_0x5804a1);return _0x5804a1;},_0x5a2ed1=(_0x5d1af7,_0x37b530)=>(_0x4805ae,_0x202b6d)=>_0x37b530(_0x4805ae,_0x202b6d,_0x5d1af7);_0x1a9818['CollaborationDataLoaderController']=class extends _0x1a1077['RxDisposable']{constructor(_0x392022,_0x36244e,_0x596388,_0x5dee88,_0x129a0e){const _0x4a6052=_0x57a832;super(),this[_0x4a6052(0x22c)]=_0x392022,this[_0x4a6052(0x1d3)]=_0x36244e,this[_0x4a6052(0x1a6)]=_0x596388,this['_dataLoaderService']=_0x5dee88,_0x129a0e?_0x129a0e==null||_0x129a0e[_0x4a6052(0x276)]()['then'](()=>this['_init']()):(this[_0x4a6052(0x1d3)][_0x4a6052(0x3e4)]('[CollaborationDataLoaderController]',_0x4a6052(0x36d)),this[_0x4a6052(0x1cd)]());}async[_0x57a832(0x1cd)](){const _0x4481b8=_0x57a832,_0x2e2bb8=this[_0x4481b8(0x22c)][_0x4481b8(0x326)]('unit'),_0x5da8a8=this[_0x4481b8(0x22c)]['getParam'](_0x4481b8(0x2b3)),_0x4bfefc=this['_urlService'][_0x4481b8(0x326)](_0x4481b8(0x361));if(!_0x2e2bb8||!_0x5da8a8){this[_0x4481b8(0x1d3)][_0x4481b8(0x3e4)](_0x4481b8(0x401),_0x4481b8(0x3d9));return;}const _0x40c1e5=await this[_0x4481b8(0x16a)][_0x4481b8(0x3c8)](_0x2e2bb8,Number(_0x5da8a8),_0x4bfefc);_0x40c1e5&&_0x40c1e5 instanceof _0x1a1077[_0x4481b8(0x1b6)]&&this[_0x4481b8(0x223)](_0x40c1e5);}async[_0x57a832(0x223)](_0x44686f){const _0x518cd1=_0x57a832;await this[_0x518cd1(0x2aa)](_0x44686f),_0x44686f['activeSheet$'][_0x518cd1(0x347)](_0x447b79[_0x518cd1(0x186)](this[_0x518cd1(0x277)]))['subscribe'](_0xa0007c=>{_0xa0007c&&this['_updateURLWithCurrentState'](_0xa0007c);}),this[_0x518cd1(0x22c)][_0x518cd1(0x3eb)][_0x518cd1(0x347)](_0x447b79['takeUntil'](this[_0x518cd1(0x277)]))[_0x518cd1(0x217)](()=>this[_0x518cd1(0x2aa)](_0x44686f));}[_0x57a832(0x289)](_0x14b208,_0x4e4856=!0x1){const _0x5c8784=_0x57a832,_0x4be3db=this[_0x5c8784(0x22c)][_0x5c8784(0x326)]('subunit');_0x14b208[_0x5c8784(0x3fa)]()!==_0x4be3db&&this['_urlService'][_0x5c8784(0x26e)](_0x5c8784(0x361),_0x14b208[_0x5c8784(0x3fa)](),_0x4e4856);}async[_0x57a832(0x2aa)](_0x4e0858){const _0x2279ab=_0x57a832;var _0x2854ee;const _0x596ebe=this[_0x2279ab(0x22c)][_0x2279ab(0x326)]('subunit');if(!_0x596ebe||!_0x4e0858['getSheetBySheetId'](_0x596ebe)){const _0x274a13=_0x4e0858[_0x2279ab(0x3b8)]()[0x0],_0x46e5f9=_0x4e0858['getSheetBySheetId'](_0x274a13);if(!_0x46e5f9)return;this[_0x2279ab(0x289)](_0x46e5f9,!0x0),await this[_0x2279ab(0x1a6)][_0x2279ab(0x24d)](_0xf2c5f7[_0x2279ab(0x2b5)]['id'],{'unitId':_0x4e0858[_0x2279ab(0x3e3)](),'subUnitId':_0x274a13});return;}((_0x2854ee=_0x4e0858[_0x2279ab(0x3a6)]())==null?void 0x0:_0x2854ee[_0x2279ab(0x3fa)]())!==_0x596ebe&&await this[_0x2279ab(0x1a6)][_0x2279ab(0x24d)](_0xf2c5f7[_0x2279ab(0x2b5)]['id'],{'unitId':_0x4e0858[_0x2279ab(0x3e3)](),'subUnitId':_0x596ebe});}},_0x1a9818['CollaborationDataLoaderController']=_0x3bec64([_0x5a2ed1(0x0,_0x1a05da),_0x5a2ed1(0x1,_0x1a1077[_0x57a832(0x1bc)]),_0x5a2ed1(0x2,_0x1a1077[_0x57a832(0x2b8)]),_0x5a2ed1(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x574d08['DataLoaderService'])),_0x5a2ed1(0x4,_0x1a1077[_0x57a832(0x23d)](_0x32b0cc[_0x57a832(0x330)]))],_0x1a9818[_0x57a832(0x374)]);var _0x1f78e7=Object[_0x57a832(0x2dd)],_0x424500=(_0x3f9152,_0x93c1e9,_0x255097,_0x29f4dc)=>{const _0x2b6b03=_0x57a832;for(var _0xadff94=_0x29f4dc>0x1?void 0x0:_0x29f4dc?_0x1f78e7(_0x93c1e9,_0x255097):_0x93c1e9,_0x399f2b=_0x3f9152[_0x2b6b03(0x377)]-0x1,_0x344748;_0x399f2b>=0x0;_0x399f2b--)(_0x344748=_0x3f9152[_0x399f2b])&&(_0xadff94=_0x344748(_0xadff94)||_0xadff94);return _0xadff94;},_0x8bc2e9=(_0x40cd8a,_0x2e1aaa)=>(_0x26e366,_0x5a9343)=>_0x2e1aaa(_0x26e366,_0x5a9343,_0x40cd8a);let _0x2eb4c5=class{constructor(_0x3d5e4a,_0x143608,_0x4ca87d){const _0x19e859=_0x57a832;this['_injector']=_0x3d5e4a,this[_0x19e859(0x2a8)]=_0x143608,this['_renderManagerService']=_0x4ca87d;}['transformIMECache'](_0x12cb85){const _0x178983=_0x57a832;this[_0x178983(0x3c7)](_0x12cb85),this[_0x178983(0x1c0)](_0x12cb85);}[_0x57a832(0x168)](_0x3a64ba){const _0x83a76b=_0x57a832,{unitID:_0x2cc00c}=_0x3a64ba,_0x2f7762=this[_0x83a76b(0x3de)][_0x83a76b(0x1b2)](_0x2cc00c)[_0x83a76b(0x1ea)](_0x34435f[_0x83a76b(0x1d0)]),{redoCache:_0x4fc694}=_0x2f7762[_0x83a76b(0x3ea)]();if(_0x4fc694[_0x83a76b(0x377)]===0x0)return _0x3a64ba;let _0x1d0c46=_0x1a1077[_0x83a76b(0x22d)][_0x83a76b(0x3fe)](_0x3a64ba[_0x83a76b(0x37f)][0x0]);for(let _0x5811e6=0x0;_0x5811e6<_0x4fc694[_0x83a76b(0x377)];_0x5811e6++){const _0x28d12b={'id':_0x83a76b(0x38d),'params':{..._0x4fc694[_0x5811e6]}},_0x19cb2d=this[_0x83a76b(0x2a8)][_0x83a76b(0x17c)](_0x1d0c46,_0x28d12b,!0x1);if(_0x2333c6['isTransformMutationFailure'](_0x19cb2d))throw _0x19cb2d[_0x83a76b(0x2cc)];_0x1d0c46=_0x19cb2d[_0x83a76b(0x225)];}return{..._0x1a1077[_0x83a76b(0x22d)]['deepClone'](_0x3a64ba),'mutations':[_0x1d0c46]};}['_transformUndoRedoStack'](_0x2168d6){const _0x263f9a=_0x57a832,{unitID:_0x2044b9}=_0x2168d6,_0x2691e6=this[_0x263f9a(0x3de)][_0x263f9a(0x1b2)](_0x2044b9)[_0x263f9a(0x1ea)](_0x34435f[_0x263f9a(0x1d0)]),{undoCache:_0x1d4f90,redoCache:_0x44cbd5}=_0x2691e6[_0x263f9a(0x3ea)]();if(_0x1d4f90[_0x263f9a(0x377)]===0x0||_0x44cbd5[_0x263f9a(0x377)]===0x0)return;const _0x432e2e=[],_0x43e004=[];let _0x270832=_0x1a1077[_0x263f9a(0x22d)][_0x263f9a(0x3fe)](_0x2168d6[_0x263f9a(0x37f)][0x0]),_0xb7a287=_0x1a1077[_0x263f9a(0x22d)]['deepClone'](_0x2168d6['mutations'][0x0]);for(let _0x1e33b9=_0x1d4f90[_0x263f9a(0x377)]-0x1;_0x1e33b9>=0x0;_0x1e33b9--){const _0x242088={'id':_0x263f9a(0x38d),'params':{..._0x1d4f90[_0x1e33b9]}},_0x543c4f={'id':_0x263f9a(0x38d),'params':{..._0x44cbd5[_0x1e33b9]}},_0x435959=this[_0x263f9a(0x2a8)][_0x263f9a(0x17c)](_0x270832,_0x242088,!0x1),_0x275d3d=this[_0x263f9a(0x2a8)][_0x263f9a(0x17c)](_0xb7a287,_0x543c4f,!0x1);if(_0x2333c6[_0x263f9a(0x1cf)](_0x435959))throw _0x435959[_0x263f9a(0x2cc)];if(_0x2333c6[_0x263f9a(0x1cf)](_0x275d3d))throw _0x275d3d[_0x263f9a(0x2cc)];_0x432e2e[_0x263f9a(0x2c5)](_0x435959[_0x263f9a(0x369)]['params']),_0x43e004[_0x263f9a(0x2c5)](_0x275d3d['m2Prime'][_0x263f9a(0x358)]),_0x270832=_0x435959['m1Prime'],_0xb7a287=_0x275d3d[_0x263f9a(0x225)];}_0x2691e6[_0x263f9a(0x1f8)]({'undoCache':_0x432e2e,'redoCache':_0x43e004});}[_0x57a832(0x1c0)](_0x172e42){const _0x383b65=_0x57a832,{unitID:_0x32f08c}=_0x172e42,_0x439b0a=this[_0x383b65(0x3de)]['getRenderById'](_0x32f08c)[_0x383b65(0x1ea)](_0x34435f['DocIMEInputManagerService']),_0x4a451f=_0x439b0a[_0x383b65(0x3a3)]();if(_0x4a451f==null)return;const _0x5ecb3e=[{'id':_0x383b65(0x38d),'params':{'unitId':_0x172e42['unitID'],'actions':null,'textRanges':[_0x4a451f]}}],_0x508978=this[_0x383b65(0x2a8)][_0x383b65(0x2cd)](_0x172e42,_0x5ecb3e);if(!_0x2333c6[_0x383b65(0x233)](_0x508978))throw _0x508978[_0x383b65(0x2cc)];const _0x5d706d=_0x508978[_0x383b65(0x369)][0x0]['params'][_0x383b65(0x270)];Array[_0x383b65(0x25f)](_0x5d706d)&&_0x5d706d['length']&&_0x439b0a[_0x383b65(0x1ab)](_0x5d706d[0x0]);}};_0x2eb4c5=_0x424500([_0x8bc2e9(0x0,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x8bc2e9(0x1,_0x2333c6[_0x57a832(0x32d)]),_0x8bc2e9(0x2,_0x440ec2[_0x57a832(0x34f)])],_0x2eb4c5);var _0x309bda=Object[_0x57a832(0x2dd)],_0x5e2d98=(_0x400091,_0x21f9ed,_0x2954d4,_0x334044)=>{const _0xb3ef42=_0x57a832;for(var _0x305356=_0x334044>0x1?void 0x0:_0x334044?_0x309bda(_0x21f9ed,_0x2954d4):_0x21f9ed,_0x4939e0=_0x400091[_0xb3ef42(0x377)]-0x1,_0x38d0c9;_0x4939e0>=0x0;_0x4939e0--)(_0x38d0c9=_0x400091[_0x4939e0])&&(_0x305356=_0x38d0c9(_0x305356)||_0x305356);return _0x305356;},_0x46def2=(_0xf01c90,_0x9e2c39)=>(_0x1f953c,_0x1d39c2)=>_0x9e2c39(_0x1f953c,_0x1d39c2,_0xf01c90);let _0x141932=class{constructor(_0x3a5fea,_0x294f2c,_0xeb7fea){const _0x102a63=_0x57a832;this[_0x102a63(0x2fc)]=_0x3a5fea,this[_0x102a63(0x2a8)]=_0x294f2c,this['_docStateChangeManagerService']=_0xeb7fea;}[_0x57a832(0x1a7)](_0x3ac196){const _0x66fa55=_0x57a832;this[_0x66fa55(0x24a)](_0x3ac196);}['transformRemoteChangeset'](_0xba84c8){const _0x38d9a9=_0x57a832,{unitID:_0x5918b4}=_0xba84c8,{collaboration:_0x823f51}=this[_0x38d9a9(0x213)][_0x38d9a9(0x2ef)](_0x5918b4);if(_0x823f51[_0x38d9a9(0x377)]===0x0)return _0xba84c8;let _0xa892e9=_0x1a1077[_0x38d9a9(0x22d)][_0x38d9a9(0x3fe)](_0xba84c8['mutations'][0x0]);for(let _0x501b15=0x0;_0x501b15<_0x823f51['length'];_0x501b15++){const _0xf03b91={'id':_0x38d9a9(0x38d),'params':{'unitId':_0x823f51[_0x501b15][_0x38d9a9(0x17e)],..._0x823f51[_0x501b15][_0x38d9a9(0x1c6)]}},_0x54ce7b=this[_0x38d9a9(0x2a8)][_0x38d9a9(0x17c)](_0xa892e9,_0xf03b91,!0x1);if(_0x2333c6[_0x38d9a9(0x1cf)](_0x54ce7b))throw _0x54ce7b['error'];_0xa892e9=_0x54ce7b['m1Prime'];}return{..._0x1a1077[_0x38d9a9(0x22d)][_0x38d9a9(0x3fe)](_0xba84c8),'mutations':[_0xa892e9]};}[_0x57a832(0x24a)](_0x165037){const _0x503cf0=_0x57a832,{unitID:_0x11c46e}=_0x165037,{history:_0x441eac,collaboration:_0x53e43b}=this[_0x503cf0(0x213)][_0x503cf0(0x2ef)](_0x11c46e);if(_0x441eac[_0x503cf0(0x377)]===0x0&&_0x53e43b[_0x503cf0(0x377)]===0x0)return;const _0x1e57a0=[],_0x10eeaa=[];let _0x371baa=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037['mutations'][0x0]),_0x1c6518=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037[_0x503cf0(0x37f)][0x0]);for(let _0x502340=_0x441eac['length']-0x1;_0x502340>=0x0;_0x502340--){const _0xd3cdbf={'id':_0x503cf0(0x38d),'params':{'unitId':_0x441eac[_0x502340][_0x503cf0(0x17e)],..._0x441eac[_0x502340]['undoState']}},_0x1082b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x441eac[_0x502340]['unitId'],..._0x441eac[_0x502340]['redoState']}},_0x29889d=this[_0x503cf0(0x2a8)]['transformMutation'](_0x371baa,_0xd3cdbf,!0x1),_0x501cf8=this[_0x503cf0(0x2a8)]['transformMutation'](_0x1c6518,_0x1082b8,!0x1);if(_0x2333c6[_0x503cf0(0x1cf)](_0x29889d))throw _0x29889d['error'];if(_0x2333c6['isTransformMutationFailure'](_0x501cf8))throw _0x501cf8['error'];_0x1e57a0['unshift']({..._0x441eac[_0x502340],'undoState':_0x29889d[_0x503cf0(0x369)][_0x503cf0(0x358)],'redoState':_0x501cf8['m2Prime'][_0x503cf0(0x358)]}),_0x371baa=_0x29889d[_0x503cf0(0x225)],_0x1c6518=_0x501cf8[_0x503cf0(0x225)];}_0x371baa=_0x1a1077[_0x503cf0(0x22d)]['deepClone'](_0x165037['mutations'][0x0]),_0x1c6518=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037[_0x503cf0(0x37f)][0x0]);for(let _0x10aa6c=_0x53e43b[_0x503cf0(0x377)]-0x1;_0x10aa6c>=0x0;_0x10aa6c--){const _0x58498c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53e43b[_0x10aa6c][_0x503cf0(0x17e)],..._0x53e43b[_0x10aa6c][_0x503cf0(0x2af)]}},_0x4ca06e={'id':_0x503cf0(0x38d),'params':{'unitId':_0x53e43b[_0x10aa6c][_0x503cf0(0x17e)],..._0x53e43b[_0x10aa6c][_0x503cf0(0x1c6)]}},_0x507760=this[_0x503cf0(0x2a8)][_0x503cf0(0x17c)](_0x371baa,_0x58498c,!0x1),_0x7deaf1=this['_transformService'][_0x503cf0(0x17c)](_0x1c6518,_0x4ca06e,!0x1);if(_0x2333c6[_0x503cf0(0x1cf)](_0x507760))throw _0x507760[_0x503cf0(0x2cc)];if(_0x2333c6[_0x503cf0(0x1cf)](_0x7deaf1))throw _0x7deaf1[_0x503cf0(0x2cc)];_0x10eeaa['unshift']({..._0x53e43b[_0x10aa6c],'undoState':_0x507760[_0x503cf0(0x369)][_0x503cf0(0x358)],'redoState':_0x7deaf1[_0x503cf0(0x369)]['params']}),_0x371baa=_0x507760[_0x503cf0(0x225)],_0x1c6518=_0x7deaf1['m1Prime'];}this['_docStateChangeManagerService'][_0x503cf0(0x181)](_0x11c46e,{'history':_0x1e57a0,'collaboration':_0x10eeaa});}};_0x141932=_0x5e2d98([_0x46def2(0x0,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x46def2(0x1,_0x2333c6[_0x57a832(0x32d)]),_0x46def2(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x34435f['DocStateChangeManagerService']))],_0x141932);var _0x57b41c=Object['getOwnPropertyDescriptor'],_0x2dc522=(_0x324220,_0x458728,_0x1fd27d,_0x448b5a)=>{const _0x128b81=_0x57a832;for(var _0x1e1b6e=_0x448b5a>0x1?void 0x0:_0x448b5a?_0x57b41c(_0x458728,_0x1fd27d):_0x458728,_0x4ae6c6=_0x324220[_0x128b81(0x377)]-0x1,_0x54f031;_0x4ae6c6>=0x0;_0x4ae6c6--)(_0x54f031=_0x324220[_0x4ae6c6])&&(_0x1e1b6e=_0x54f031(_0x1e1b6e)||_0x1e1b6e);return _0x1e1b6e;},_0x4ecc99=(_0x91d78,_0x542c7a)=>(_0x19a3ec,_0x3ef1cb)=>_0x542c7a(_0x19a3ec,_0x3ef1cb,_0x91d78);let _0x5dd998=class{constructor(_0x3d207,_0x4e862b){const _0xcc759e=_0x57a832;this[_0xcc759e(0x2fc)]=_0x3d207,this[_0xcc759e(0x2a8)]=_0x4e862b;}[_0x57a832(0x317)](_0xe04f50){const _0x7d39f3=_0x57a832;var _0x2d57c0;const _0x4fcbd7=this['_injector'][_0x7d39f3(0x249)](_0x204ba9['DocSelectionManagerService']),_0x362c90=(_0x2d57c0=_0x4fcbd7[_0x7d39f3(0x1bd)]())!=null?_0x2d57c0:[];if(_0x362c90['length']===0x0)return;const _0x387d93=_0xe04f50[_0x7d39f3(0x179)],_0x4dcb4e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x387d93,'actions':null,'textRanges':_0x362c90}}],_0xb9def9=this[_0x7d39f3(0x2a8)][_0x7d39f3(0x2cd)](_0xe04f50,_0x4dcb4e);if(!_0x2333c6['isTransformMutationsWithChangesetSuccess'](_0xb9def9))throw _0xb9def9['error'];const _0x36d71a=_0xb9def9[_0x7d39f3(0x369)][0x0][_0x7d39f3(0x358)][_0x7d39f3(0x270)];Array['isArray'](_0x36d71a)&&_0x36d71a[_0x7d39f3(0x377)]&&_0x4fcbd7[_0x7d39f3(0x264)](_0x36d71a,{'unitId':_0x387d93,'subUnitId':_0x387d93},!0x1);}};_0x5dd998=_0x2dc522([_0x4ecc99(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x4ecc99(0x1,_0x2333c6[_0x57a832(0x32d)])],_0x5dd998);var _0x14d421=Object[_0x57a832(0x2dd)],_0x550026=(_0x4b35f8,_0x6aad00,_0x41d712,_0x4a02b9)=>{const _0x2c633e=_0x57a832;for(var _0x24569a=_0x4a02b9>0x1?void 0x0:_0x4a02b9?_0x14d421(_0x6aad00,_0x41d712):_0x6aad00,_0x4d2363=_0x4b35f8[_0x2c633e(0x377)]-0x1,_0x2f70ce;_0x4d2363>=0x0;_0x4d2363--)(_0x2f70ce=_0x4b35f8[_0x4d2363])&&(_0x24569a=_0x2f70ce(_0x24569a)||_0x24569a);return _0x24569a;},_0x1aabbd=(_0x53e248,_0x38a455)=>(_0x91da00,_0xf607df)=>_0x38a455(_0x91da00,_0xf607df,_0x53e248);let _0x5e8e9a=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0x4418b5,_0xa5f2fa,_0x587fe2,_0x19d6fd,_0x16f819,_0x40e75a,_0x168a30,_0x3bc46e){const _0x290296=_0x57a832;super(),_0x1531e9(this,_0x290296(0x25a),new _0x447b79['BehaviorSubject'](_0x574d08[_0x290296(0x214)][_0x290296(0x34d)])),(this[_0x290296(0x213)]=_0x4418b5,this[_0x290296(0x241)]=_0xa5f2fa,this[_0x290296(0x295)]=_0x587fe2,this[_0x290296(0x294)]=_0x19d6fd,this[_0x290296(0x2d5)]=_0x16f819,this[_0x290296(0x2a7)]=_0x40e75a,this[_0x290296(0x3ba)]=_0x168a30,this['_localeService']=_0x3bc46e,this[_0x290296(0x23f)]());}[_0x57a832(0x23f)](){const _0x22c890=_0x57a832;this[_0x22c890(0x33a)](this[_0x22c890(0x241)]['entityInit$'][_0x22c890(0x217)](_0x1f7456=>{const _0x139c00=_0x22c890,_0x58810f=this['_docStateChangeManagerService']['docStateChange$'][_0x139c00(0x217)](_0x2a0f1e=>{const _0x464dce=_0x139c00;if(_0x2a0f1e==null)return;const {unitId:_0x1f27bf,redoState:_0x4f0a8c,commandId:_0x472fff}=_0x2a0f1e;if(_0x1f27bf!==_0x1f7456[_0x464dce(0x179)])return;const _0x43d948={'id':_0x472fff,'type':_0x1a1077[_0x464dce(0x35a)][_0x464dce(0x243)],'params':{'unitId':_0x1f27bf,'actions':_0x4f0a8c['actions'],'textRanges':null}};_0x1f7456[_0x464dce(0x2f8)](_0x43d948);});if(_0x1f7456[_0x139c00(0x33a)](_0x58810f),_0x1f7456 instanceof _0x574d08[_0x139c00(0x17a)]){const _0x3b9a0d={'onTransformIME':_0x5722cf=>this[_0x139c00(0x295)][_0x139c00(0x2d2)](_0x5722cf),'onTransformState':_0x2bdf40=>this[_0x139c00(0x294)]['transformStateCache'](_0x2bdf40),'onTransformSelections':_0x3f6909=>this[_0x139c00(0x2d5)][_0x139c00(0x317)](_0x3f6909),'onSyncEditingCollabCursor':_0x22f1fd=>this['_docSyncEditingCollabCursorService'][_0x139c00(0x1ff)](_0x22f1fd),'onTransformRemoteChangesetByIMECache':_0x18f01f=>this[_0x139c00(0x295)][_0x139c00(0x168)](_0x18f01f),'onTransformRemoteChangesetByStateCache':_0x4f952e=>this[_0x139c00(0x294)]['transformRemoteChangeset'](_0x4f952e)};_0x1f7456['addHandlerCallback'](_0x3b9a0d);}}));}};_0x5e8e9a=_0x550026([_0x1aabbd(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x34435f[_0x57a832(0x18a)])),_0x1aabbd(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x574d08['CollaborationController'])),_0x1aabbd(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x2eb4c5)),_0x1aabbd(0x3,_0x1a1077['Inject'](_0x141932)),_0x1aabbd(0x4,_0x1a1077[_0x57a832(0x3d1)](_0x5dd998)),_0x1aabbd(0x5,_0x1a1077[_0x57a832(0x3d1)](_0x1b1215)),_0x1aabbd(0x6,_0x2b55d2[_0x57a832(0x230)]),_0x1aabbd(0x7,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x3dc)]))],_0x5e8e9a);var _0x27d61a=Object[_0x57a832(0x2dd)],_0xc5d995=(_0x12aaae,_0x30a017,_0x2233fc,_0x1919e4)=>{const _0x4b6987=_0x57a832;for(var _0x140e5f=_0x1919e4>0x1?void 0x0:_0x1919e4?_0x27d61a(_0x30a017,_0x2233fc):_0x30a017,_0x38e3bb=_0x12aaae[_0x4b6987(0x377)]-0x1,_0x289369;_0x38e3bb>=0x0;_0x38e3bb--)(_0x289369=_0x12aaae[_0x38e3bb])&&(_0x140e5f=_0x289369(_0x140e5f)||_0x140e5f);return _0x140e5f;},_0x3ada09=(_0x1f1380,_0x22e921)=>(_0xf06a69,_0x144344)=>_0x22e921(_0xf06a69,_0x144344,_0x1f1380);let _0x504b3f=class extends _0x1a1077['Disposable']{constructor(_0x236b3c,_0x127acd,_0x1a80fa){const _0x53204c=_0x57a832;super(),_0x1531e9(this,_0x53204c(0x2e1),new Map()),_0x1531e9(this,_0x53204c(0x207),new Map()),_0x1531e9(this,_0x53204c(0x323),!0x1),(this[_0x53204c(0x257)]=_0x236b3c,this['_localStorageService']=_0x127acd,this[_0x53204c(0x2b4)]=_0x1a80fa);}[_0x57a832(0x32e)](){const _0x28a73d=_0x57a832;this[_0x28a73d(0x323)]=!0x0;}[_0x57a832(0x1be)](){const _0x18f2ae=_0x57a832;this[_0x18f2ae(0x323)]=!0x1;}get['saveTaskMap'](){const _0x5e62e1=_0x57a832;return this[_0x5e62e1(0x207)];}[_0x57a832(0x245)](){const _0x53b6ed=_0x57a832;this[_0x53b6ed(0x1b0)]()['then'](()=>super[_0x53b6ed(0x245)]());}async['loadOfflineData'](_0x51fcb6){const _0x3ab6fe=_0x57a832;return this['_disabled']?null:this[_0x3ab6fe(0x2ee)][_0x3ab6fe(0x403)](_0x574d08[_0x3ab6fe(0x363)](_0x51fcb6));}async[_0x57a832(0x3da)](_0xa0c29e,_0x420030){const _0x365a5d=_0x57a832;return!!this[_0x365a5d(0x2ee)][_0x365a5d(0x37d)](_0xa0c29e,_0x420030);}[_0x57a832(0x1fe)](_0x4af1ac,_0x398dbc,_0x3c8d5c,_0x375642){const _0x167f08=_0x57a832,_0x5f110c=this[_0x167f08(0x2b4)][_0x167f08(0x21e)](_0x4af1ac);this[_0x167f08(0x2e1)][_0x167f08(0x39e)](_0x4af1ac,{'unitID':_0x4af1ac,'type':_0x398dbc,'awaitingChangeset':_0x3c8d5c,'mutations':_0x375642,'rev':_0x5f110c}),this['_saveTaskMap'][_0x167f08(0x375)](_0x4af1ac)||this['_scheduleSaving'](_0x4af1ac);}[_0x57a832(0x195)](_0x341d65){const _0x3767ad=_0x57a832,_0x136882=this[_0x3767ad(0x1d6)]();_0x136882===0x0?this['_saveCache'](_0x341d65):this[_0x3767ad(0x207)]['set'](_0x341d65,setTimeout(()=>this[_0x3767ad(0x2fa)](_0x341d65),_0x136882));}[_0x57a832(0x1d6)](){const _0x27afa6=_0x57a832;var _0x543ab7;return(_0x543ab7=this[_0x27afa6(0x257)][_0x27afa6(0x1eb)](_0x574d08['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x543ab7:_0x574d08[_0x27afa6(0x229)];}[_0x57a832(0x2fa)](_0x5a88b9){const _0x27cbc2=_0x57a832,_0x43a97b=this['_saveTaskMap'][_0x27cbc2(0x249)](_0x5a88b9);return _0x43a97b!==void 0x0&&window[_0x27cbc2(0x269)](_0x43a97b),this[_0x27cbc2(0x2ee)]['setItem'](_0x574d08[_0x27cbc2(0x363)](_0x5a88b9),this[_0x27cbc2(0x2e1)]['get'](_0x5a88b9))['then'](()=>this[_0x27cbc2(0x207)][_0x27cbc2(0x2fd)](_0x5a88b9));}async[_0x57a832(0x1b0)](){const _0x2c5b01=_0x57a832,_0x15c288=[];this['_saveTaskMap'][_0x2c5b01(0x240)]((_0x503646,_0x286eb9)=>{const _0x324b6a=_0x2c5b01;window['clearTimeout'](_0x503646),_0x15c288[_0x324b6a(0x2e5)](this[_0x324b6a(0x2fa)](_0x286eb9)['then'](()=>{const _0x2a50f2=_0x324b6a;this[_0x2a50f2(0x207)]['delete'](_0x286eb9);}));}),await Promise['all'](_0x15c288);}};_0x504b3f=_0xc5d995([_0x3ada09(0x0,_0x1a1077[_0x57a832(0x1a2)]),_0x3ada09(0x1,_0x1a1077['ILocalStorageService']),_0x3ada09(0x2,_0x1a1077['Inject'](_0x2333c6[_0x57a832(0x27c)]))],_0x504b3f);class _0x5dfba9 extends _0x1a1077['RxDisposable']{constructor(){const _0x17acbc=_0x57a832;super(),_0x1531e9(this,'urlChange$'),this[_0x17acbc(0x3eb)]=_0x447b79[_0x17acbc(0x1bf)](window,_0x17acbc(0x206))['pipe'](_0x447b79[_0x17acbc(0x186)](this[_0x17acbc(0x277)]),_0x447b79[_0x17acbc(0x232)](0x1),_0x447b79['mapTo'](void 0x0));}[_0x57a832(0x26e)](_0x56f615,_0x54d82f,_0x26544b=!0x1){const _0x311d09=_0x57a832,_0x1a198f=new URL(window[_0x311d09(0x2c1)][_0x311d09(0x26d)]);_0x1a198f[_0x311d09(0x348)][_0x311d09(0x39e)](_0x56f615,_0x54d82f),_0x26544b?window[_0x311d09(0x3a4)][_0x311d09(0x20f)]('','',_0x1a198f['toString']()):window['history']['pushState']('','',_0x1a198f['toString']());}[_0x57a832(0x379)](_0x1fbec2,_0x5ac1de=!0x1){const _0x44d7b7=_0x57a832,_0x49d123=new URL(window['location'][_0x44d7b7(0x26d)]);_0x49d123[_0x44d7b7(0x348)][_0x44d7b7(0x2fd)](_0x1fbec2),_0x5ac1de?window['history'][_0x44d7b7(0x20f)]('','',_0x49d123['toString']()):window[_0x44d7b7(0x3a4)][_0x44d7b7(0x350)]('','',_0x49d123['toString']());}[_0x57a832(0x326)](_0x4fd8c1){const _0x239233=_0x57a832;var _0x472ba3;return(_0x472ba3=new URL(window['location'][_0x239233(0x26d)])[_0x239233(0x348)][_0x239233(0x249)](_0x4fd8c1))!=null?_0x472ba3:void 0x0;}}var _0x291b62=Object[_0x57a832(0x21a)],_0x461c4c=Object[_0x57a832(0x2dd)],_0x4768aa=(_0x451fe4,_0x5c279d,_0x3eb548)=>_0x5c279d in _0x451fe4?_0x291b62(_0x451fe4,_0x5c279d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eb548}):_0x451fe4[_0x5c279d]=_0x3eb548,_0x3cd502=(_0x38b87f,_0x1e8623,_0x3e8304,_0xc63472)=>{const _0x45590a=_0x57a832;for(var _0xd7ef6b=_0xc63472>0x1?void 0x0:_0xc63472?_0x461c4c(_0x1e8623,_0x3e8304):_0x1e8623,_0x3c5be6=_0x38b87f[_0x45590a(0x377)]-0x1,_0x1a7ee3;_0x3c5be6>=0x0;_0x3c5be6--)(_0x1a7ee3=_0x38b87f[_0x3c5be6])&&(_0xd7ef6b=_0x1a7ee3(_0xd7ef6b)||_0xd7ef6b);return _0xd7ef6b;},_0x11dc4c=(_0x3b11c8,_0x3a07e8)=>(_0x1c117d,_0x3c545f)=>_0x3a07e8(_0x1c117d,_0x3c545f,_0x3b11c8),_0x4b046d=(_0x544ca6,_0x1158c4,_0x1a7bc7)=>_0x4768aa(_0x544ca6,_0x1158c4+'',_0x1a7bc7);const _0x59665e=_0x57a832(0x2d8);_0x1a9818['UniverCollaborationClientUIPlugin']=class extends _0x1a1077[_0x57a832(0x2c3)]{constructor(_0x5daed6=_0x53571b,_0x40cda0,_0xa71e08,_0x4e0d12){const _0x242dd4=_0x57a832;super(),this['_config']=_0x5daed6,this[_0x242dd4(0x3de)]=_0x40cda0,this[_0x242dd4(0x2fc)]=_0xa71e08,this[_0x242dd4(0x257)]=_0x4e0d12;const {..._0x340a01}=_0x1a1077[_0x242dd4(0x3b3)]({},_0x53571b,this[_0x242dd4(0x34c)]);this[_0x242dd4(0x257)]['setConfig'](_0x404759,_0x340a01);}['onStarting'](){const _0x5063ce=_0x57a832;this[_0x5063ce(0x27a)](),this[_0x5063ce(0x19b)]();}[_0x57a832(0x3a5)](){const _0x264c1c=_0x57a832;this[_0x264c1c(0x24c)]();}[_0x57a832(0x27a)](){const _0x239e1d=_0x57a832;var _0x23c6ff;const _0x417976=[[_0x1ea788],[_0x5dd998],[_0x2eb4c5],[_0x141932],[_0x1b1215],[_0x1a05da,{'useClass':_0x5dfba9}],[_0x415ecd[_0x239e1d(0x40a)],{'useClass':_0x415ecd[_0x239e1d(0x293)]}],[_0x574d08['ILocalCacheService'],{'useClass':_0x504b3f}],[_0x1a9818[_0x239e1d(0x178)]],[_0x5e8e9a],[_0x4cf4a6],[_0x1cbcc1],[_0x10a210],[_0x1a9818[_0x239e1d(0x374)]]];_0x1a1077[_0x239e1d(0x40b)](this[_0x239e1d(0x2fc)],_0x1a1077[_0x239e1d(0x296)](_0x417976,(_0x23c6ff=this[_0x239e1d(0x34c)])==null?void 0x0:_0x23c6ff['override']));}[_0x57a832(0x24c)](){const _0x30d378=_0x57a832;this['disposeWithMe'](this[_0x30d378(0x3de)][_0x30d378(0x2f5)](_0x1a1077[_0x30d378(0x406)][_0x30d378(0x362)],[_0x35262d])),this[_0x30d378(0x33a)](this[_0x30d378(0x3de)]['registerRenderModule'](_0x1a1077[_0x30d378(0x406)][_0x30d378(0x266)],[_0x52e675]));}[_0x57a832(0x19b)](){const _0x566c1c=_0x57a832;_0x1a1077[_0x566c1c(0x304)](this['_injector'],[[_0x1cbcc1],[_0x1a9818[_0x566c1c(0x178)]],[_0x5e8e9a],[_0x4cf4a6],[_0x1a9818[_0x566c1c(0x374)]]]);}},_0x4b046d(_0x1a9818[_0x57a832(0x2ea)],_0x57a832(0x298),_0x59665e),_0x1a9818[_0x57a832(0x2ea)]=_0x3cd502([_0x1a1077[_0x57a832(0x22f)](_0x574d08['UniverCollaborationClientPlugin']),_0x11dc4c(0x1,_0x440ec2[_0x57a832(0x34f)]),_0x11dc4c(0x2,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x11dc4c(0x3,_0x1a1077[_0x57a832(0x1a2)])],_0x1a9818[_0x57a832(0x2ea)]);var _0x309e3f=Object['getOwnPropertyDescriptor'],_0x14eb02=(_0x5c7075,_0x32ad94,_0x571455,_0x25ce58)=>{const _0xa44713=_0x57a832;for(var _0x27261d=_0x25ce58>0x1?void 0x0:_0x25ce58?_0x309e3f(_0x32ad94,_0x571455):_0x32ad94,_0x37e59e=_0x5c7075[_0xa44713(0x377)]-0x1,_0x4fa447;_0x37e59e>=0x0;_0x37e59e--)(_0x4fa447=_0x5c7075[_0x37e59e])&&(_0x27261d=_0x4fa447(_0x27261d)||_0x27261d);return _0x27261d;},_0x4929a6=(_0x4a29c3,_0xb36567)=>(_0x3d0451,_0x41ad32)=>_0xb36567(_0x3d0451,_0x41ad32,_0x4a29c3);_0x1a9818[_0x57a832(0x242)]=class extends _0x574d08[_0x57a832(0x2a9)]{constructor(_0x301bb9,_0x2b946f,_0x3b18ed,_0x31cdd5,_0x53b67c){super(_0x301bb9,_0x2b946f,_0x3b18ed,_0x31cdd5,_0x53b67c);}async[_0x57a832(0x1f0)](_0xdd9eb6){const _0x1c7ed5=_0x57a832,_0x39f342=await this[_0x1c7ed5(0x20e)](),_0xce755a=this[_0x1c7ed5(0x25e)](_0xdd9eb6,_0x39f342);return this[_0x1c7ed5(0x1b4)](_0xce755a);}[_0x57a832(0x25e)](_0x2937fa,_0x3c8389){const _0x435dab=_0x57a832,_0x6e0bc7=typeof window>'u'?new URL(_0x2937fa):new URL(_0x2937fa,window['location'][_0x435dab(0x3c2)]);_0x6e0bc7['searchParams'][_0x435dab(0x39e)](_0x435dab(0x3a9),_0x3c8389);const _0x539ba3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x435dab(0x2c1)][_0x435dab(0x39a)]);return _0x539ba3[_0x435dab(0x249)](_0x435dab(0x368))&&_0x6e0bc7[_0x435dab(0x348)][_0x435dab(0x39e)]('runId',_0x539ba3[_0x435dab(0x249)]('runId')),_0x6e0bc7[_0x435dab(0x2c2)]();}async['_getSessionTicket'](){const _0x366f5f=_0x57a832;var _0x2cb6b3,_0x42cb76,_0x4c4acd;const _0x24afa6=this[_0x366f5f(0x257)][_0x366f5f(0x1eb)](_0x574d08['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x232691=(_0x2cb6b3=_0x24afa6==null?void 0x0:_0x24afa6['wsSessionTicketUrl'])!=null?_0x2cb6b3:_0x574d08[_0x366f5f(0x3ac)];return(_0x4c4acd=(_0x42cb76=(await this[_0x366f5f(0x2b2)]['get'](_0x232691,{'headers':{'Content-Type':_0x366f5f(0x3d7)}}))[_0x366f5f(0x318)])==null?void 0x0:_0x42cb76['ticket'])!=null?_0x4c4acd:'';}},_0x1a9818['BrowserCollaborationSocketService']=_0x14eb02([_0x4929a6(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['Injector'])),_0x4929a6(0x1,_0x1a1077['Inject'](_0x415ecd['HTTPService'])),_0x4929a6(0x2,_0x1a1077['IConfigService']),_0x4929a6(0x3,_0x1a1077[_0x57a832(0x1bc)]),_0x4929a6(0x4,_0x2333c6[_0x57a832(0x1ee)])],_0x1a9818['BrowserCollaborationSocketService']);const _0x10c329=0x7530,_0x5ba98d=_0x57a832(0x3b7);class _0x1b7a10 extends _0x1a1077['Disposable']{constructor(){const _0x250988=_0x57a832;super(),_0x1531e9(this,_0x250988(0x1c1),_0x1a1077[_0x250988(0x24f)]()),_0x1531e9(this,_0x250988(0x23c),new Set()),_0x1531e9(this,_0x250988(0x170),new Map()),_0x1531e9(this,'_heartbeatTimer',null),_0x1531e9(this,'_clearOtherTimers',new Map()),_0x1531e9(this,'_unitStatus',new Map()),this[_0x250988(0x1cd)]();}[_0x57a832(0x245)](){const _0x1fe2c0=_0x57a832;super[_0x1fe2c0(0x245)](),this[_0x1fe2c0(0x390)][_0x1fe2c0(0x240)]((_0x737831,_0x563a89)=>this['_removeClearOtherTimer'](_0x563a89)),this[_0x1fe2c0(0x254)]&&window['clearInterval'](this[_0x1fe2c0(0x254)]);}['getUnitStatus$'](_0x18250c){const _0x7442dc=_0x57a832;return this[_0x7442dc(0x1f6)](_0x18250c)['pipe'](_0x447b79[_0x7442dc(0x319)]());}[_0x57a832(0x3fb)](_0x182a71){const _0x552f44=_0x57a832;this[_0x552f44(0x23c)][_0x552f44(0x2d4)]===0x0&&this[_0x552f44(0x1fd)](),this['_selfUnitIDs'][_0x552f44(0x356)](_0x182a71),this[_0x552f44(0x36f)]({'type':0x0,'memberID':this[_0x552f44(0x1c1)],'unitIDs':[_0x182a71],'isForwarded':!0x1});}[_0x57a832(0x320)](_0x2651f1){const _0x4dfceb=_0x57a832;this[_0x4dfceb(0x23c)][_0x4dfceb(0x2fd)](_0x2651f1),this[_0x4dfceb(0x23c)][_0x4dfceb(0x2d4)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4dfceb(0x254)]);}[_0x57a832(0x1cd)](){const _0x3e420e=_0x57a832;this[_0x3e420e(0x33a)](_0x1a1077['toDisposable'](_0x447b79[_0x3e420e(0x1bf)](window,_0x3e420e(0x303))[_0x3e420e(0x217)](_0x25321a=>{const _0x407afa=_0x3e420e;if(_0x25321a[_0x407afa(0x3f1)]!==_0x5ba98d||!_0x25321a['newValue'])return;const _0x2601aa=JSON[_0x407afa(0x177)](_0x25321a[_0x407afa(0x1b9)]);this[_0x407afa(0x265)](_0x2601aa);}))),window[_0x3e420e(0x409)](_0x3e420e(0x224),()=>this[_0x3e420e(0x36f)]({'type':0x1,'memberID':this[_0x3e420e(0x1c1)],'unitIDs':Array[_0x3e420e(0x271)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x5471c7){const _0x34530=_0x57a832;switch(_0x5471c7[_0x34530(0x2b3)]){case 0x0:this[_0x34530(0x1cb)](_0x5471c7);break;case 0x1:this['_handleLeaveEvent'](_0x5471c7);break;case 0x2:this[_0x34530(0x3f5)](_0x5471c7);break;}}['_handleJoinEvent'](_0x1f5eb4){const _0x135ca4=_0x57a832,{unitIDs:_0x178d01,memberID:_0x27c14a,isForwarded:_0x33f86b}=_0x1f5eb4;_0x178d01[_0x135ca4(0x240)](_0x2cea76=>{const _0x38204b=_0x135ca4;if(!_0x33f86b&&this['_unitOnClients']['has'](_0x2cea76)&&this[_0x38204b(0x1f6)](_0x2cea76)['next'](_0x574d08[_0x38204b(0x251)][_0x38204b(0x35c)]),!this[_0x38204b(0x170)]['has'](_0x2cea76)||!this[_0x38204b(0x170)][_0x38204b(0x249)](_0x2cea76)[_0x38204b(0x375)](_0x27c14a)){const _0x579318=this[_0x38204b(0x170)][_0x38204b(0x249)](_0x2cea76)||new Set();_0x579318[_0x38204b(0x356)](_0x27c14a),this[_0x38204b(0x170)][_0x38204b(0x39e)](_0x2cea76,_0x579318),this[_0x38204b(0x3e2)](_0x27c14a);}}),_0x33f86b||this['_send']({'type':0x0,'memberID':this[_0x135ca4(0x1c1)],'unitIDs':[...this[_0x135ca4(0x23c)]],'isForwarded':!0x0});}[_0x57a832(0x3e2)](_0x490949){const _0x514013=_0x57a832;this[_0x514013(0x2ff)](_0x490949);const _0x3dd644=window[_0x514013(0x395)](()=>{this['_unitOnClients']['forEach'](_0x22b329=>{_0x22b329['delete'](_0x490949);});},_0x10c329*0x2);this['_clearOtherTimers']['set'](_0x490949,_0x3dd644);}[_0x57a832(0x2ff)](_0x19c0ab){const _0x2dbe16=_0x57a832;if(this[_0x2dbe16(0x390)][_0x2dbe16(0x375)](_0x19c0ab)){const _0x2907c5=this['_clearOtherTimers'][_0x2dbe16(0x249)](_0x19c0ab);_0x2907c5&&window['clearTimeout'](_0x2907c5),this['_clearOtherTimers'][_0x2dbe16(0x39e)](_0x19c0ab,null);}}[_0x57a832(0x2ac)](_0x5baa5e){const _0x327985=_0x57a832,{memberID:_0x4365b5,unitIDs:_0x14be70}=_0x5baa5e;_0x14be70[_0x327985(0x240)](_0x1d03fd=>{const _0xb6d0cb=_0x327985;var _0x2470b4;const _0x35b46b=this[_0xb6d0cb(0x170)][_0xb6d0cb(0x249)](_0x1d03fd);_0x35b46b&&(_0x35b46b[_0xb6d0cb(0x2fd)](_0x4365b5),(_0x2470b4=this['_ensureSubject'](_0x1d03fd))==null||_0x2470b4[_0xb6d0cb(0x24b)](_0x35b46b[_0xb6d0cb(0x2d4)]===0x0?_0x574d08[_0xb6d0cb(0x251)]['NO_OTHER_CLIENTS_EDITING']:_0x574d08['UnitStatus'][_0xb6d0cb(0x35c)]));}),this[_0x327985(0x2ff)](_0x4365b5);}[_0x57a832(0x3f5)](_0x1449d3){const _0x1adab2=_0x57a832;this[_0x1adab2(0x3e2)](_0x1449d3['memberID']);}[_0x57a832(0x36f)](_0x4e90ca){const _0x324b0e=_0x57a832;localStorage[_0x324b0e(0x37d)](_0x5ba98d,JSON[_0x324b0e(0x255)](_0x4e90ca));}[_0x57a832(0x1fd)](){const _0x585c85=_0x57a832;this['_heartbeatTimer']=window[_0x585c85(0x17d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x10c329);}[_0x57a832(0x1f6)](_0x3e8dca){const _0x361bf8=_0x57a832;return this[_0x361bf8(0x3b4)][_0x361bf8(0x375)](_0x3e8dca)||this['_unitStatus'][_0x361bf8(0x39e)](_0x3e8dca,new _0x447b79['BehaviorSubject'](_0x574d08[_0x361bf8(0x251)][_0x361bf8(0x1a1)])),this[_0x361bf8(0x3b4)]['get'](_0x3e8dca);}}var _0x57b1fc=(_0x11e47e=>(_0x11e47e[_0x11e47e[_0x57a832(0x34b)]=0x0]=_0x57a832(0x34b),_0x11e47e[_0x11e47e['OK']=0x1]='OK',_0x11e47e[_0x11e47e[_0x57a832(0x20c)]=0x2]=_0x57a832(0x20c),_0x11e47e[_0x11e47e[_0x57a832(0x18c)]=0x3]=_0x57a832(0x18c),_0x11e47e[_0x11e47e['NOT_FOUND']=0x4]=_0x57a832(0x337),_0x11e47e[_0x11e47e[_0x57a832(0x349)]=0x5]=_0x57a832(0x349),_0x11e47e[_0x11e47e[_0x57a832(0x3c3)]=0x6]=_0x57a832(0x3c3),_0x11e47e[_0x11e47e[_0x57a832(0x2d9)]=0x7]=_0x57a832(0x2d9),_0x11e47e[_0x11e47e[_0x57a832(0x405)]=0x8]='TOO_MANY_REQUESTS',_0x11e47e[_0x11e47e['COMPLETION_FINISHED']=0x9]=_0x57a832(0x267),_0x11e47e[_0x11e47e['LOGIN_FAILED']=0xa]=_0x57a832(0x353),_0x11e47e[_0x11e47e[_0x57a832(0x291)]=0xb]=_0x57a832(0x291),_0x11e47e[_0x11e47e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x57a832(0x3a2),_0x11e47e[_0x11e47e[_0x57a832(0x2bf)]=0xd]=_0x57a832(0x2bf),_0x11e47e[_0x11e47e[_0x57a832(0x3ab)]=0xe]=_0x57a832(0x3ab),_0x11e47e[_0x11e47e[_0x57a832(0x2f3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x11e47e[_0x11e47e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11e47e[_0x11e47e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x11e47e[_0x11e47e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57a832(0x407),_0x11e47e[_0x11e47e[_0x57a832(0x3f4)]=0x1b59]=_0x57a832(0x3f4),_0x11e47e[_0x11e47e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x57a832(0x188),_0x11e47e[_0x11e47e[_0x57a832(0x1c3)]=0x1b5b]=_0x57a832(0x1c3),_0x11e47e[_0x11e47e[_0x57a832(0x205)]=0x1b5c]=_0x57a832(0x205),_0x11e47e[_0x11e47e[_0x57a832(0x3f2)]=0x1b5d]='APPLY_DUPLICATED',_0x11e47e[_0x11e47e[_0x57a832(0x1a5)]=0x1f41]=_0x57a832(0x1a5),_0x11e47e[_0x11e47e[_0x57a832(0x261)]=0x2329]=_0x57a832(0x261),_0x11e47e[_0x11e47e[_0x57a832(0x394)]=0x232a]=_0x57a832(0x394),_0x11e47e[_0x11e47e[_0x57a832(0x336)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11e47e[_0x11e47e[_0x57a832(0x37c)]=0x232c]=_0x57a832(0x37c),_0x11e47e[_0x11e47e[_0x57a832(0x344)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x11e47e[_0x11e47e[_0x57a832(0x19d)]=0x2711]=_0x57a832(0x19d),_0x11e47e[_0x11e47e[_0x57a832(0x2e4)]=0x2712]=_0x57a832(0x2e4),_0x11e47e[_0x11e47e[_0x57a832(0x2fb)]=0x2713]=_0x57a832(0x2fb),_0x11e47e[_0x11e47e[_0x57a832(0x372)]=0x2714]=_0x57a832(0x372),_0x11e47e[_0x11e47e[_0x57a832(0x392)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x11e47e[_0x11e47e[_0x57a832(0x190)]=0x271b]=_0x57a832(0x190),_0x11e47e[_0x11e47e[_0x57a832(0x282)]=0x271c]=_0x57a832(0x282),_0x11e47e[_0x11e47e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x57a832(0x300),_0x11e47e[_0x11e47e[_0x57a832(0x172)]=0x271e]=_0x57a832(0x172),_0x11e47e[_0x11e47e[_0x57a832(0x339)]=0x271f]=_0x57a832(0x339),_0x11e47e[_0x11e47e[_0x57a832(0x316)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x11e47e[_0x11e47e[_0x57a832(0x197)]=0x2af9]=_0x57a832(0x197),_0x11e47e[_0x11e47e[_0x57a832(0x327)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x11e47e[_0x11e47e[_0x57a832(0x3b9)]=0x2ee2]=_0x57a832(0x3b9),_0x11e47e[_0x11e47e[_0x57a832(0x365)]=0x2ee3]=_0x57a832(0x365),_0x11e47e[_0x11e47e[_0x57a832(0x203)]=0x2ee4]=_0x57a832(0x203),_0x11e47e[_0x11e47e[_0x57a832(0x286)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x11e47e[_0x11e47e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x57a832(0x3a0),_0x11e47e[_0x11e47e[_0x57a832(0x38e)]=0x32ca]=_0x57a832(0x38e),_0x11e47e[_0x11e47e[_0x57a832(0x2ae)]=0x32cb]=_0x57a832(0x2ae),_0x11e47e[_0x11e47e[_0x57a832(0x1d5)]=-0x1]=_0x57a832(0x1d5),_0x11e47e))(_0x57b1fc||{}),_0x207074=Object[_0x57a832(0x2dd)],_0x8de1ee=(_0x2609fa,_0x5e0299,_0xcd938d,_0x5da7c7)=>{const _0x228375=_0x57a832;for(var _0x6d715a=_0x5da7c7>0x1?void 0x0:_0x5da7c7?_0x207074(_0x5e0299,_0xcd938d):_0x5e0299,_0x2d7cc5=_0x2609fa[_0x228375(0x377)]-0x1,_0x27708a;_0x2d7cc5>=0x0;_0x2d7cc5--)(_0x27708a=_0x2609fa[_0x2d7cc5])&&(_0x6d715a=_0x27708a(_0x6d715a)||_0x6d715a);return _0x6d715a;},_0xc51a23=(_0x3cf7a4,_0x3fa0e6)=>(_0x236bf8,_0x59a8e6)=>_0x3fa0e6(_0x236bf8,_0x59a8e6,_0x3cf7a4);_0x1a9818[_0x57a832(0x3c0)]=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0x1aa76d,_0x164082,_0x15530c){const _0x3c7d39=_0x57a832;super(),this['_instanceService']=_0x1aa76d,this[_0x3c7d39(0x2b2)]=_0x164082,this[_0x3c7d39(0x257)]=_0x15530c;}async['runOnServer'](_0x151dea,_0x53d16d,_0x11575d,..._0x2241fa){const _0xf9aff2=_0x57a832;var _0x1eb38b,_0x536b3a,_0x3a973c,_0x2af5b1;const _0x7daa22=this[_0xf9aff2(0x2be)][_0xf9aff2(0x2a0)]();if(!_0x7daa22)throw new Error(_0xf9aff2(0x27d));const _0x2e953d=((_0x1eb38b=this[_0xf9aff2(0x257)][_0xf9aff2(0x1eb)](_0x574d08[_0xf9aff2(0x1b5)]))!=null?_0x1eb38b:_0x574d08[_0xf9aff2(0x1b3)])+'/'+_0x151dea+_0xf9aff2(0x404)+_0x53d16d,_0x130e89=new URL(window[_0xf9aff2(0x2c1)]['href']),_0x32b2f7={'scriptId':_0x151dea,'runId':(_0x536b3a=_0x130e89[_0xf9aff2(0x348)][_0xf9aff2(0x249)]('runId'))!=null?_0x536b3a:'','function':_0x53d16d,'unitId':_0x7daa22[_0xf9aff2(0x3e3)](),'argsOfFunction':JSON[_0xf9aff2(0x255)](_0x2241fa),'invokeId':(_0x3a973c=_0x11575d['invokeId'])!=null?_0x3a973c:'','executionId':(_0x2af5b1=_0x11575d[_0xf9aff2(0x397)])!=null?_0x2af5b1:''};try{const _0x24c806=await this[_0xf9aff2(0x2b2)]['post'](_0x2e953d,{'body':_0x32b2f7});return _0x24c806[_0xf9aff2(0x318)]['error']&&_0x24c806['body'][_0xf9aff2(0x2cc)][_0xf9aff2(0x399)]!==_0x57b1fc['OK']?'Failed':_0x24c806[_0xf9aff2(0x318)][_0xf9aff2(0x306)];}catch{return _0xf9aff2(0x18e);}}},_0x1a9818['RemoteUniscriptService']=_0x8de1ee([_0xc51a23(0x0,_0x1a1077[_0x57a832(0x175)]),_0xc51a23(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x415ecd[_0x57a832(0x322)])),_0xc51a23(0x2,_0x1a1077[_0x57a832(0x1a2)])],_0x1a9818[_0x57a832(0x3c0)]),_0x1a9818[_0x57a832(0x171)]=_0x1a05da,_0x1a9818[_0x57a832(0x38a)]=_0x5ad0fd,_0x1a9818[_0x57a832(0x360)]=_0x1b7a10,_0x1a9818[_0x57a832(0x30f)]=_0x5dfba9,Object[_0x57a832(0x21a)](_0x1a9818,Symbol[_0x57a832(0x3cd)],{'value':'Module'});}));
|
|
1
|
+
function _0x4423(_0x128b6c,_0xb9166d){const _0x2e4e76=_0x2e4e();return _0x4423=function(_0x44231,_0x2bfa19){_0x44231=_0x44231-0x1cf;let _0x21391b=_0x2e4e76[_0x44231];return _0x21391b;},_0x4423(_0x128b6c,_0xb9166d);}(function(_0x118a79,_0x2fc47e){const _0x552c32=_0x4423,_0x2f2ed5=_0x118a79();while(!![]){try{const _0x5c0a3a=-parseInt(_0x552c32(0x214))/0x1+parseInt(_0x552c32(0x3ad))/0x2+-parseInt(_0x552c32(0x212))/0x3*(-parseInt(_0x552c32(0x23b))/0x4)+parseInt(_0x552c32(0x38c))/0x5+-parseInt(_0x552c32(0x295))/0x6*(-parseInt(_0x552c32(0x346))/0x7)+-parseInt(_0x552c32(0x466))/0x8*(parseInt(_0x552c32(0x2ea))/0x9)+-parseInt(_0x552c32(0x3f5))/0xa;if(_0x5c0a3a===_0x2fc47e)break;else _0x2f2ed5['push'](_0x2f2ed5['shift']());}catch(_0x25ba98){_0x2f2ed5['push'](_0x2f2ed5['shift']());}}}(_0x2e4e,0x7728a),function(_0x1b470d,_0x33e9fc){const _0x120386=_0x4423;typeof exports=='object'&&typeof module<'u'?_0x33e9fc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x120386(0x371),_0x120386(0x1ec),_0x120386(0x24f),_0x120386(0x2a6),_0x120386(0x21e),_0x120386(0x247),_0x120386(0x201),_0x120386(0x446),_0x120386(0x1cf),'@univerjs/docs',_0x120386(0x22f),_0x120386(0x41f),_0x120386(0x3f7),_0x120386(0x1ee),_0x120386(0x3c6),_0x120386(0x33c),'@univerjs/design',_0x120386(0x312),_0x120386(0x391)],_0x33e9fc):(_0x1b470d=typeof globalThis<'u'?globalThis:_0x1b470d||self,_0x33e9fc(_0x1b470d[_0x120386(0x217)]={},_0x1b470d[_0x120386(0x350)],_0x1b470d[_0x120386(0x2aa)],_0x1b470d['UniverEngineRender'],_0x1b470d['UniverNetwork'],_0x1b470d[_0x120386(0x2dd)],_0x1b470d[_0x120386(0x3e2)],_0x1b470d['rxjs'],_0x1b470d[_0x120386(0x463)],_0x1b470d[_0x120386(0x425)],_0x1b470d[_0x120386(0x44a)],_0x1b470d[_0x120386(0x455)],_0x1b470d[_0x120386(0x446)][_0x120386(0x32f)],_0x1b470d[_0x120386(0x2ad)],_0x1b470d['React'],_0x1b470d['UniverUi'],_0x1b470d[_0x120386(0x236)],_0x1b470d[_0x120386(0x45c)],_0x1b470d[_0x120386(0x324)]));}(this,function(_0x4414de,_0x5ea283,_0x9efe79,_0x20c736,_0x3a22ad,_0x51d6ac,_0x4d7d4f,_0x41dc47,_0x14883c,_0x30c6d1,_0x16f999,_0x5e6e1d,_0x48ac13,_0x502283,_0x325499,_0x14cb12,_0x17e47b,_0xbb6667,_0x4b831a){'use strict';const _0x2ef9d4=_0x4423;var _0x48fb9d=Object['defineProperty'],_0x25a77b=(_0x198e90,_0xd1189b,_0x33470d)=>_0xd1189b in _0x198e90?_0x48fb9d(_0x198e90,_0xd1189b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33470d}):_0x198e90[_0xd1189b]=_0x33470d,_0xcb4086=(_0x1d9fdc,_0x15d91e,_0x49c945)=>_0x25a77b(_0x1d9fdc,typeof _0x15d91e!=_0x2ef9d4(0x280)?_0x15d91e+'':_0x15d91e,_0x49c945),_0x566b7e=Object['getOwnPropertyDescriptor'],_0x4a9d93=(_0x41b866,_0x3be52d,_0x34a50e,_0x167a81)=>{const _0x25807b=_0x2ef9d4;for(var _0x1fa075=_0x167a81>0x1?void 0x0:_0x167a81?_0x566b7e(_0x3be52d,_0x34a50e):_0x3be52d,_0x414141=_0x41b866[_0x25807b(0x291)]-0x1,_0x272aaf;_0x414141>=0x0;_0x414141--)(_0x272aaf=_0x41b866[_0x414141])&&(_0x1fa075=_0x272aaf(_0x1fa075)||_0x1fa075);return _0x1fa075;},_0x3766c8=(_0x55b506,_0x2da118)=>(_0x217923,_0x448285)=>_0x2da118(_0x217923,_0x448285,_0x55b506);let _0xc8d52f=class extends _0x9efe79['RxDisposable']{constructor(_0x33d239,_0x55e20e){const _0x5e9990=_0x2ef9d4;super(),this[_0x5e9990(0x40a)]=_0x33d239,this[_0x5e9990(0x439)]=_0x55e20e,this[_0x5e9990(0x20b)]();}[_0x2ef9d4(0x20b)](){const _0xf92457=_0x2ef9d4,_0x223902=this;this[_0xf92457(0x448)](this[_0xf92457(0x40a)][_0xf92457(0x224)]({'onBeforePasteImage':async _0x9367b0=>{const _0x52b975=_0xf92457,_0x579a7f=await _0x223902['_imageIoService'][_0x52b975(0x1df)](_0x9367b0);return _0x579a7f?{'source':_0x579a7f[_0x52b975(0x3a5)],'imageSourceType':_0x579a7f[_0x52b975(0x341)]}:null;}}));}};_0xc8d52f=_0x4a9d93([_0x3766c8(0x0,_0x51d6ac['IDocClipboardService']),_0x3766c8(0x1,_0x4d7d4f[_0x2ef9d4(0x429)])],_0xc8d52f);const _0x441a1a=[_0x2ef9d4(0x2ce),_0x2ef9d4(0x389),'green.600','red.300',_0x2ef9d4(0x443),_0x2ef9d4(0x37d)];class _0x3938ea extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(){const _0x3f8ab6=_0x2ef9d4;super(...arguments),_0xcb4086(this,'_assignedColors',new Map()),_0xcb4086(this,_0x3f8ab6(0x361),0x0);}[_0x2ef9d4(0x1e1)](_0x13b0a4){const _0x1b93b9=_0x2ef9d4;if(this[_0x1b93b9(0x269)]['has'](_0x13b0a4))return this[_0x1b93b9(0x269)][_0x1b93b9(0x284)](_0x13b0a4);const _0x5a86fb=_0x441a1a[this[_0x1b93b9(0x361)]];return this['_colorIndex']=(this[_0x1b93b9(0x361)]+0x1)%_0x441a1a['length'],this[_0x1b93b9(0x269)][_0x1b93b9(0x246)](_0x13b0a4,_0x5a86fb),_0x5a86fb;}}function _0x37ed5f(_0x3b72ef){const _0x3f9132=_0x2ef9d4;let _0x34e405='';for(const _0x4e3979 of _0x3b72ef){const {startOffset:_0x12e08a,endOffset:_0x4b8a5e,isActive:_0x5f1e37,rangeType:_0x34c5f3,segmentId:_0x56ce88,segmentPage:_0x3bf0d5}=_0x4e3979;_0x34e405[_0x3f9132(0x291)]&&(_0x34e405+=','),_0x34e405+=_0x12e08a+':'+_0x4b8a5e+':'+(_0x5f1e37?'1':'0')+':'+_0x34c5f3+':'+_0x56ce88+':'+_0x3bf0d5;}return _0x34e405;}function _0x10a9b6(_0x29a589){const _0x49d386=_0x2ef9d4,_0x5999e0=_0x29a589['split'](','),_0x2fc3c0=[];for(const _0x336b26 of _0x5999e0){const [_0x1c39a0,_0x3075df,_0x543d03,_0x349910,_0x5c5b4b,_0x2d6598]=_0x336b26[_0x49d386(0x266)](':');_0x2fc3c0[_0x49d386(0x428)]({'startOffset':Number(_0x1c39a0),'endOffset':Number(_0x3075df),'collapsed':_0x1c39a0===_0x3075df,'isActive':_0x543d03==='1','rangeType':_0x349910===_0x9efe79['DOC_RANGE_TYPE']['TEXT']?_0x9efe79[_0x49d386(0x1da)][_0x49d386(0x382)]:_0x9efe79[_0x49d386(0x1da)]['RECT'],'segmentId':typeof _0x5c5b4b==_0x49d386(0x222)?String(_0x5c5b4b):'','segmentPage':Number(_0x2d6598!=null?_0x2d6598:-0x1)});}return _0x2fc3c0[_0x49d386(0x262)](_0x2c824e=>_0x2c824e['isActive'])||(_0x2fc3c0[0x0][_0x49d386(0x303)]=!0x0),_0x2fc3c0;}class _0x1f1d5b extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(){const _0x85c112=_0x2ef9d4;super(...arguments),_0xcb4086(this,_0x85c112(0x438),new _0x41dc47[(_0x85c112(0x245))](null)),_0xcb4086(this,_0x85c112(0x3a7),this[_0x85c112(0x438)][_0x85c112(0x38a)]());}[_0x2ef9d4(0x292)](_0x894e62){const _0x4ce3a8=_0x2ef9d4,{unitID:_0x378b7a,memberID:_0x31627c,textRanges:_0x2572fc}=_0x894e62,_0x4656be=_0x37ed5f(_0x2572fc);if(_0x4656be==='')return;const _0x3fcbeb={'unitID':_0x378b7a,'memberID':_0x31627c,'selection':_0x4656be};this[_0x4ce3a8(0x438)]['next'](_0x3fcbeb);}}var _0x5d7e95=Object['getOwnPropertyDescriptor'],_0x3131d1=(_0x1c83d0,_0xbb53cc,_0x460d70,_0x4fa6b4)=>{const _0x1a1ae4=_0x2ef9d4;for(var _0x14f6d2=_0x4fa6b4>0x1?void 0x0:_0x4fa6b4?_0x5d7e95(_0xbb53cc,_0x460d70):_0xbb53cc,_0x19570e=_0x1c83d0[_0x1a1ae4(0x291)]-0x1,_0x140192;_0x19570e>=0x0;_0x19570e--)(_0x140192=_0x1c83d0[_0x19570e])&&(_0x14f6d2=_0x140192(_0x14f6d2)||_0x14f6d2);return _0x14f6d2;},_0x40e35d=(_0x2b8584,_0x25eccd)=>(_0x372222,_0x1793b9)=>_0x25eccd(_0x372222,_0x1793b9,_0x2b8584);const _0x448c36=0x12c,_0x12b87e=0x64;let _0x2db27d=class extends _0x9efe79['RxDisposable']{constructor(_0x5287ad,_0x15cb95,_0x2d76ad,_0x2b126b,_0x1b993d,_0x3bcbe1,_0x14ad57,_0x34ea20,_0x1f2f51){const _0x2276b9=_0x2ef9d4;super(),_0xcb4086(this,_0x2276b9(0x2e2),!0x1),_0xcb4086(this,_0x2276b9(0x20b),!0x1),_0xcb4086(this,_0x2276b9(0x21d),new _0x41dc47['BehaviorSubject'](new Map())),_0xcb4086(this,_0x2276b9(0x3a8),this[_0x2276b9(0x21d)]['asObservable']()),_0xcb4086(this,_0x2276b9(0x241),new _0x41dc47[(_0x2276b9(0x245))]([])),_0xcb4086(this,_0x2276b9(0x437),this[_0x2276b9(0x241)]['pipe'](_0x41dc47['debounceTime'](_0x448c36))),_0xcb4086(this,_0x2276b9(0x374),_0x9efe79[_0x2276b9(0x359)](_0x3aaf3d=>{const _0x1a5b04=_0x2276b9,_0x30b480={'eventID':_0x14883c[_0x1a5b04(0x38f)][_0x1a5b04(0x328)],'data':{'unitID':this[_0x1a5b04(0x296)],'memberID':this[_0x1a5b04(0x260)][_0x1a5b04(0x356)](),'selection':_0x37ed5f(_0x3aaf3d)}};this[_0x1a5b04(0x260)][_0x1a5b04(0x2bf)](_0x30b480,this[_0x1a5b04(0x296)]);},_0x12b87e)),(this[_0x2276b9(0x296)]=_0x5287ad,this['_session']=_0x15cb95,this[_0x2276b9(0x45f)]=_0x2d76ad,this[_0x2276b9(0x469)]=_0x2b126b,this[_0x2276b9(0x2f3)]=_0x1b993d,this[_0x2276b9(0x366)]=_0x3bcbe1,this[_0x2276b9(0x36d)]=_0x14ad57,this['_univerInstanceService']=_0x34ea20,this['_commandService']=_0x1f2f51);}get[_0x2ef9d4(0x36e)](){const _0x42f753=_0x2ef9d4;return this[_0x42f753(0x21d)][_0x42f753(0x244)]();}get[_0x2ef9d4(0x249)](){const _0x22bc29=_0x2ef9d4;return this['_roomMembers$'][_0x22bc29(0x244)]();}[_0x2ef9d4(0x22c)](){const _0x4418ad=_0x2ef9d4;super[_0x4418ad(0x22c)](),this['_cursorInfo$'][_0x4418ad(0x365)](new Map()),this['_cursorInfo$'][_0x4418ad(0x1e2)](),this[_0x4418ad(0x241)]['next']([]),this[_0x4418ad(0x241)][_0x4418ad(0x1e2)]();}[_0x2ef9d4(0x2a8)](){const _0x4291d5=_0x2ef9d4;this[_0x4291d5(0x20b)]||(this['_init']=!0x0,this['_session'][_0x4291d5(0x456)]['pipe'](_0x41dc47[_0x4291d5(0x307)](this[_0x4291d5(0x21c)]))[_0x4291d5(0x3db)](_0x247ad0=>{const _0x4d8e6d=_0x4291d5;_0x247ad0===_0x5ea283['SessionStatus'][_0x4d8e6d(0x345)]?this[_0x4d8e6d(0x23d)]():this[_0x4d8e6d(0x220)]();}),this[_0x4291d5(0x260)][_0x4291d5(0x215)][_0x4291d5(0x3d2)](_0x41dc47[_0x4291d5(0x307)](this[_0x4291d5(0x21c)]))['subscribe'](_0x247a3f=>{const _0x787303=_0x4291d5,_0xff398e=_0x247a3f['eventID'];_0xff398e===_0x14883c[_0x787303(0x38f)][_0x787303(0x328)]&&this[_0x787303(0x2e4)](_0x247a3f),_0xff398e===_0x14883c[_0x787303(0x38f)][_0x787303(0x467)]&&this[_0x787303(0x3a1)](_0x247a3f);}),this[_0x4291d5(0x448)](this[_0x4291d5(0x405)][_0x4291d5(0x2d1)](_0x478dad=>{const _0x6f7551=_0x4291d5,_0x11b024=_0x478dad['params'];_0x11b024!=null&&this[_0x6f7551(0x2e2)]&&_0x478dad['id']===_0x30c6d1[_0x6f7551(0x3a6)]['id']&&_0x11b024['unitId']===this[_0x6f7551(0x296)]&&_0x11b024[_0x6f7551(0x426)]===!0x1&&_0x11b024[_0x6f7551(0x462)][_0x6f7551(0x291)]>0x0&&this[_0x6f7551(0x374)](_0x11b024['ranges']);})),this['_syncEditingCollabCursorService'][_0x4291d5(0x3a7)][_0x4291d5(0x3d2)](_0x41dc47[_0x4291d5(0x307)](this[_0x4291d5(0x21c)]))['subscribe'](_0x436dec=>{const _0xffd885=_0x4291d5;if((_0x436dec==null?void 0x0:_0x436dec[_0xffd885(0x296)])!==this[_0xffd885(0x296)])return;const _0x3076fb={'eventID':_0x14883c[_0xffd885(0x38f)][_0xffd885(0x328)],'data':_0x436dec};this[_0xffd885(0x2e4)](_0x3076fb);}),this[_0x4291d5(0x448)](this[_0x4291d5(0x405)][_0x4291d5(0x2d1)](_0x5126d3=>{const _0x488119=_0x4291d5;if(_0x5126d3[_0x488119(0x34a)]==null)return;const _0x5cfbdf=_0x5126d3[_0x488119(0x34a)];if(_0x5126d3['id']!==_0x30c6d1['RichTextEditingMutation']['id']||_0x5cfbdf[_0x488119(0x3cb)]!==this[_0x488119(0x296)])return;const _0x5a98a0={'id':_0x488119(0x299),'params':_0x5cfbdf},_0x24c69e=this[_0x488119(0x36e)];for(const [_0x376d57,_0x2084c2]of _0x24c69e){const _0x6774de={'id':_0x488119(0x299),'params':{'unitId':this[_0x488119(0x296)],'actions':null,'textRanges':_0x2084c2[_0x488119(0x462)]}},_0x3288d6=this[_0x488119(0x36d)]['transformMutation'](_0x5a98a0,_0x6774de,!0x1);if(_0x14883c['isTransformMutationFailure'](_0x3288d6))throw _0x3288d6['error'];_0x24c69e['set'](_0x376d57,{..._0x2084c2,'ranges':_0x3288d6[_0x488119(0x1f0)][_0x488119(0x34a)][_0x488119(0x444)]});}queueMicrotask(()=>{const _0x162597=_0x488119;this[_0x162597(0x21d)][_0x162597(0x365)](_0x24c69e);});})));}[_0x2ef9d4(0x2e4)](_0x41ae3b){const _0x4c7a6e=_0x2ef9d4;var _0x12cd8a,_0x13ad9b;const {memberID:_0x468f86,selection:_0x224388}=_0x41ae3b['data'],_0x294048=_0x10a9b6(_0x224388),_0x9c706d=(_0x13ad9b=(_0x12cd8a=this[_0x4c7a6e(0x2f3)][_0x4c7a6e(0x327)](this['unitID'],_0x468f86))==null?void 0x0:_0x12cd8a[_0x4c7a6e(0x2eb)])!=null?_0x13ad9b:_0x4c7a6e(0x30b),_0x162816={'color':this[_0x4c7a6e(0x469)]['assignAColorForMemberID'](_0x468f86),'name':_0x9c706d,'ranges':_0x294048},_0xdc207a=this[_0x4c7a6e(0x36e)];_0xdc207a[_0x4c7a6e(0x246)](_0x468f86,_0x162816),this[_0x4c7a6e(0x21d)][_0x4c7a6e(0x365)](_0xdc207a);}['_onCursorDelete'](_0x18d761){const _0xee583e=_0x2ef9d4,{memberID:_0x1fec10}=_0x18d761[_0xee583e(0x458)],_0x4cbfd8=this['cursorInfo'];_0x4cbfd8[_0xee583e(0x276)](_0x1fec10),this[_0xee583e(0x21d)]['next'](_0x4cbfd8);}[_0x2ef9d4(0x23d)](){const _0xd31a24=_0x2ef9d4;var _0xa50e0f;if(this[_0xd31a24(0x2e2)]=!0x0,((_0xa50e0f=this[_0xd31a24(0x45b)][_0xd31a24(0x263)]())==null?void 0x0:_0xa50e0f[_0xd31a24(0x256)]())!==this[_0xd31a24(0x296)])return;const _0x52ed0=this['_injector'][_0xd31a24(0x284)](_0x30c6d1[_0xd31a24(0x34f)])['getDocRanges']();Array['isArray'](_0x52ed0)&&_0x52ed0['length']>0x0&&this['_updateLocalCursor'](_0x52ed0);}[_0x2ef9d4(0x220)](){const _0x29bf20=_0x2ef9d4;this[_0x29bf20(0x2e2)]=!0x1;}};_0x2db27d=_0x3131d1([_0x40e35d(0x2,_0x9efe79['Inject'](_0x9efe79[_0x2ef9d4(0x412)])),_0x40e35d(0x3,_0x9efe79[_0x2ef9d4(0x202)](_0x3938ea)),_0x40e35d(0x4,_0x9efe79[_0x2ef9d4(0x202)](_0x5ea283['MemberService'])),_0x40e35d(0x5,_0x9efe79[_0x2ef9d4(0x202)](_0x1f1d5b)),_0x40e35d(0x6,_0x14883c[_0x2ef9d4(0x378)]),_0x40e35d(0x7,_0x9efe79[_0x2ef9d4(0x23a)]),_0x40e35d(0x8,_0x9efe79[_0x2ef9d4(0x43d)])],_0x2db27d);var _0x18737b=Object['getOwnPropertyDescriptor'],_0x478e9a=(_0xd44b48,_0x1cfc9f,_0x1e5357,_0x5f398b)=>{const _0x39364a=_0x2ef9d4;for(var _0x798b6=_0x5f398b>0x1?void 0x0:_0x5f398b?_0x18737b(_0x1cfc9f,_0x1e5357):_0x1cfc9f,_0x46ca6b=_0xd44b48[_0x39364a(0x291)]-0x1,_0x506d66;_0x46ca6b>=0x0;_0x46ca6b--)(_0x506d66=_0xd44b48[_0x46ca6b])&&(_0x798b6=_0x506d66(_0x798b6)||_0x798b6);return _0x798b6;},_0xf8db1e=(_0x3ee526,_0x362fd8)=>(_0x52b2d9,_0x244d73)=>_0x362fd8(_0x52b2d9,_0x244d73,_0x3ee526);const _0x96e133=0x12c,_0x384eac=0x64,_0x3bd093=()=>{let _0x1b6cb8=[],_0x5ebdb0=!0x1;return _0x54fadd=>{const _0x247a2e=_0x4423;_0x1b6cb8[_0x247a2e(0x428)](_0x54fadd),_0x5ebdb0||(_0x5ebdb0=!0x0,setTimeout(()=>{const _0x3e2373=_0x247a2e;_0x1b6cb8[_0x3e2373(0x323)](_0x5b91b7=>_0x5b91b7()),_0x1b6cb8=[],_0x5ebdb0=!0x1;}));};};let _0x231d6a=class extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(_0x570201,_0x20f082,_0x1f18ef,_0x422e2f,_0x5de2b0,_0x418090,_0x2df01f,_0x34a3e9){const _0x4707f9=_0x2ef9d4;super(),_0xcb4086(this,'_online',!0x1),_0xcb4086(this,_0x4707f9(0x20b),!0x1),_0xcb4086(this,_0x4707f9(0x21d),new _0x41dc47[(_0x4707f9(0x245))](new Map())),_0xcb4086(this,_0x4707f9(0x3a8),this[_0x4707f9(0x21d)][_0x4707f9(0x38a)]()),_0xcb4086(this,_0x4707f9(0x241),new _0x41dc47['BehaviorSubject']([])),_0xcb4086(this,_0x4707f9(0x437),this[_0x4707f9(0x241)][_0x4707f9(0x3d2)](_0x41dc47['debounceTime'](_0x96e133))),_0xcb4086(this,_0x4707f9(0x374),_0x9efe79[_0x4707f9(0x359)]((_0x3dcdf9,_0x101c6b)=>{const _0x49b93a=_0x4707f9,_0x1bc819={'eventID':_0x14883c[_0x49b93a(0x38f)][_0x49b93a(0x328)],'data':{'unitID':this['unitID'],'memberID':this[_0x49b93a(0x260)][_0x49b93a(0x356)](),'selection':_0x16f999[_0x49b93a(0x2c5)](_0x3dcdf9,_0x101c6b[_0x49b93a(0x37c)])}};this[_0x49b93a(0x260)]['send'](_0x1bc819,this['unitID']);},_0x384eac)),(this[_0x4707f9(0x296)]=_0x570201,this[_0x4707f9(0x260)]=_0x20f082,this[_0x4707f9(0x45f)]=_0x1f18ef,this[_0x4707f9(0x469)]=_0x422e2f,this['_memberService']=_0x5de2b0,this[_0x4707f9(0x45b)]=_0x418090,this[_0x4707f9(0x405)]=_0x2df01f,this[_0x4707f9(0x27c)]=_0x34a3e9);}get['cursorInfo'](){const _0x3da141=_0x2ef9d4;return this['_cursorInfo$'][_0x3da141(0x244)]();}get[_0x2ef9d4(0x249)](){const _0x26efe7=_0x2ef9d4;return this[_0x26efe7(0x241)][_0x26efe7(0x244)]();}[_0x2ef9d4(0x22c)](){const _0x26e8b6=_0x2ef9d4;super[_0x26e8b6(0x22c)](),this[_0x26e8b6(0x21d)][_0x26e8b6(0x365)](new Map()),this['_cursorInfo$'][_0x26e8b6(0x1e2)](),this['_roomMembers$'][_0x26e8b6(0x365)]([]),this[_0x26e8b6(0x241)][_0x26e8b6(0x1e2)]();}[_0x2ef9d4(0x2a8)](){const _0x380c2c=_0x2ef9d4;this[_0x380c2c(0x20b)]||(this[_0x380c2c(0x20b)]=!0x0,this[_0x380c2c(0x260)][_0x380c2c(0x456)][_0x380c2c(0x3d2)](_0x41dc47[_0x380c2c(0x307)](this['dispose$']))[_0x380c2c(0x3db)](_0x427299=>{const _0x2b6914=_0x380c2c;_0x427299===_0x5ea283[_0x2b6914(0x43b)]['ONLINE']?this[_0x2b6914(0x23d)]():this[_0x2b6914(0x220)]();}),this['_session']['event$'][_0x380c2c(0x3d2)](_0x41dc47[_0x380c2c(0x307)](this['dispose$']))[_0x380c2c(0x3db)](_0x5c6823=>{const _0x578a9e=_0x380c2c,_0x527a53=_0x5c6823[_0x578a9e(0x42b)];_0x527a53===_0x14883c['CollaborationEvent'][_0x578a9e(0x328)]&&this['_onCursorUpdate'](_0x5c6823),_0x527a53===_0x14883c[_0x578a9e(0x38f)][_0x578a9e(0x467)]&&this[_0x578a9e(0x3a1)](_0x5c6823);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x380c2c(0x405)]['onCommandExecuted'](_0x417b40=>{const _0x3faa69=_0x380c2c;if(this[_0x3faa69(0x2e2)]&&_0x417b40['id']===_0x5e6e1d[_0x3faa69(0x30f)]['id']&&_0x417b40[_0x3faa69(0x34a)][_0x3faa69(0x3cb)]===this[_0x3faa69(0x296)]){const _0x3d4cde=_0x417b40['params'];this[_0x3faa69(0x374)](_0x3d4cde['subUnitId'],_0x3d4cde[_0x3faa69(0x393)][0x0]);}})));}['_onCursorUpdate'](_0x2f3f09){const _0xf43b07=_0x2ef9d4;var _0x546234,_0x263552;const {memberID:_0x58ec14,selection:_0x40d5d5}=_0x2f3f09[_0xf43b07(0x458)],{sheetName:_0x19823c,range:_0x2f63f2}=_0x16f999[_0xf43b07(0x3fe)](_0x40d5d5),_0x26179a={'name':(_0x263552=(_0x546234=this['_memberService'][_0xf43b07(0x327)](this[_0xf43b07(0x296)],_0x58ec14))==null?void 0x0:_0x546234[_0xf43b07(0x2eb)])!=null?_0x263552:'Unknown\x20user','range':this[_0xf43b07(0x2c0)](_0x19823c,_0x2f63f2),'sheetID':_0x19823c,'color':this[_0xf43b07(0x469)][_0xf43b07(0x1e1)](_0x58ec14),'selection':_0x40d5d5},_0x2b8240=this[_0xf43b07(0x36e)];_0x2b8240['set'](_0x58ec14,_0x26179a),this[_0xf43b07(0x21d)]['next'](_0x2b8240);}[_0x2ef9d4(0x3a1)](_0x19efbc){const _0x1ee213=_0x2ef9d4,{memberID:_0x2ecd11}=_0x19efbc[_0x1ee213(0x458)],_0x5de43b=this[_0x1ee213(0x36e)];_0x5de43b[_0x1ee213(0x276)](_0x2ecd11),this[_0x1ee213(0x21d)][_0x1ee213(0x365)](_0x5de43b);}['_getMergeRange'](_0x5586ec,_0x48e8ec){const _0x2ab8f7=_0x2ef9d4;var _0x42b4f5,_0x43ebd0;const _0x3e5945=(_0x43ebd0=(_0x42b4f5=this[_0x2ab8f7(0x45b)][_0x2ab8f7(0x3ec)](this[_0x2ab8f7(0x296)]))==null?void 0x0:_0x42b4f5[_0x2ab8f7(0x270)](_0x5586ec))==null?void 0x0:_0x43ebd0[_0x2ab8f7(0x205)]();return(_0x3e5945==null?void 0x0:_0x3e5945[_0x2ab8f7(0x306)](_0x562978=>_0x9efe79[_0x2ab8f7(0x3f6)][_0x2ab8f7(0x252)](_0x562978,_0x48e8ec)))||_0x48e8ec;}['_onRefRangeChange'](){const _0x4c9d69=_0x2ef9d4,_0x3efc47=new _0x9efe79['DisposableCollection'](),_0x54e1b6=_0x3bd093(),_0x6adabe=()=>{const _0x257e27=_0x4423;_0x3efc47[_0x257e27(0x22c)]();const _0x5c1a53=(_0x3cffc6,_0x380992,_0x4649c8,_0x248df2)=>{const _0x4f1cf1=_0x257e27;let _0x48aff1=[];switch(_0x3cffc6['id']){case _0x5e6e1d[_0x4f1cf1(0x31c)]['DeleteRangeMoveLeftCommandId']:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x39f)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x39d)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x221)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x459)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x353)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d['EffectRefRangId'][_0x4f1cf1(0x305)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x42d)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x1fb)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x2a4)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x2ef)]:{_0x48aff1=_0x5e6e1d['handleInsertRow'](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d['EffectRefRangId'][_0x4f1cf1(0x26c)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x31b)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x383)]:{_0x48aff1=_0x5e6e1d[_0x4f1cf1(0x35e)](_0x3cffc6,_0x248df2);break;}case _0x5e6e1d[_0x4f1cf1(0x31c)][_0x4f1cf1(0x29d)]:{_0x48aff1=_0x5e6e1d['handleIRemoveRow'](_0x3cffc6,_0x248df2);break;}}const _0x4c98c5=_0x5e6e1d['runRefRangeMutations'](_0x48aff1,_0x248df2),_0x220cbf=this['cursorInfo'][_0x4f1cf1(0x284)](_0x380992);if(_0x220cbf&&_0x4c98c5){const _0x441d03={..._0x220cbf,'range':_0x4c98c5};this[_0x4f1cf1(0x36e)][_0x4f1cf1(0x246)](_0x380992,_0x441d03),_0x54e1b6(()=>{const _0x1da1ca=_0x4f1cf1,_0x41ca79=this[_0x1da1ca(0x27c)]['registerRefRange'](_0x4c98c5,_0x7f04e2=>(_0x41ca79[_0x1da1ca(0x22c)](),_0x5c1a53(_0x7f04e2,_0x380992,_0x4649c8,_0x4c98c5)));_0x3efc47['add'](_0x41ca79);});}return{'redos':[],'undos':[]};};this[_0x257e27(0x36e)][_0x257e27(0x323)]((_0x296c1e,_0xa3996e)=>{const _0x2d36ab=_0x257e27,{range:_0x301658,sheetID:_0x3369a8}=_0x296c1e,_0x543cc2=this[_0x2d36ab(0x27c)][_0x2d36ab(0x1fe)](_0x301658,_0x4b631a=>(_0x543cc2[_0x2d36ab(0x22c)](),_0x5c1a53(_0x4b631a,_0xa3996e,_0x3369a8,_0x301658)));_0x3efc47[_0x2d36ab(0x40e)](_0x543cc2);});};this[_0x4c9d69(0x448)](_0x9efe79[_0x4c9d69(0x322)](this[_0x4c9d69(0x21d)][_0x4c9d69(0x3db)](()=>{_0x6adabe();})));}['_toggleOnline'](){const _0x364933=_0x2ef9d4;var _0x20a0a6,_0xefdf9c;if(this[_0x364933(0x2e2)]=!0x0,((_0x20a0a6=this[_0x364933(0x45b)]['getFocusedUnit']())==null?void 0x0:_0x20a0a6[_0x364933(0x256)]())!==this[_0x364933(0x296)])return;const _0x28e8c9=(_0xefdf9c=this[_0x364933(0x45f)]['get'](_0x5e6e1d[_0x364933(0x271)])[_0x364933(0x343)]())==null?void 0x0:_0xefdf9c[0x0],_0x52ae60=this[_0x364933(0x45b)][_0x364933(0x301)](_0x9efe79[_0x364933(0x2ae)]['UNIVER_SHEET'])[_0x364933(0x31a)]();_0x28e8c9&&_0x52ae60&&this[_0x364933(0x374)](_0x52ae60['getSheetId'](),_0x28e8c9);}[_0x2ef9d4(0x220)](){const _0x595352=_0x2ef9d4;this[_0x595352(0x2e2)]=!0x1;}};_0x231d6a=_0x478e9a([_0xf8db1e(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x412)])),_0xf8db1e(0x3,_0x9efe79['Inject'](_0x3938ea)),_0xf8db1e(0x4,_0x9efe79['Inject'](_0x5ea283['MemberService'])),_0xf8db1e(0x5,_0x9efe79[_0x2ef9d4(0x23a)]),_0xf8db1e(0x6,_0x9efe79[_0x2ef9d4(0x43d)]),_0xf8db1e(0x7,_0x9efe79[_0x2ef9d4(0x202)](_0x5e6e1d[_0x2ef9d4(0x203)]))],_0x231d6a);var _0x5e53c0=Object[_0x2ef9d4(0x338)],_0x220b32=(_0x3ee50f,_0x2005f0,_0x2860e7,_0x26135c)=>{for(var _0x214aae=_0x26135c>0x1?void 0x0:_0x26135c?_0x5e53c0(_0x2005f0,_0x2860e7):_0x2005f0,_0x5f2bb1=_0x3ee50f['length']-0x1,_0x4b1a39;_0x5f2bb1>=0x0;_0x5f2bb1--)(_0x4b1a39=_0x3ee50f[_0x5f2bb1])&&(_0x214aae=_0x4b1a39(_0x214aae)||_0x214aae);return _0x214aae;},_0x54291d=(_0x5a3dc6,_0x3a5842)=>(_0x4bc1b2,_0x130b06)=>_0x3a5842(_0x4bc1b2,_0x130b06,_0x5a3dc6);let _0x290703=class extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(_0x58b512,_0x1e0695,_0x511464){const _0x3b062b=_0x2ef9d4;super(),_0xcb4086(this,_0x3b062b(0x348),new Map()),_0xcb4086(this,_0x3b062b(0x283),new _0x41dc47[(_0x3b062b(0x3bf))]()),(this[_0x3b062b(0x45b)]=_0x58b512,this['_injector']=_0x1e0695,this[_0x3b062b(0x243)]=_0x511464,this[_0x3b062b(0x20b)]());}['dispose'](){const _0x54fc86=_0x2ef9d4;super[_0x54fc86(0x22c)](),this['_entityInit$'][_0x54fc86(0x1e2)](),this[_0x54fc86(0x348)][_0x54fc86(0x323)](_0x51e2b4=>_0x51e2b4[_0x54fc86(0x22c)]());}[_0x2ef9d4(0x38e)](_0x95483c){const _0x23b643=_0x2ef9d4;return this['_entities'][_0x23b643(0x3e9)](_0x95483c)?this['_entities'][_0x23b643(0x284)](_0x95483c)[_0x23b643(0x3a8)]:this['_entityInit$'][_0x23b643(0x3d2)](_0x41dc47['filter'](_0x1e7efd=>_0x1e7efd[_0x23b643(0x296)]===_0x95483c),_0x41dc47[_0x23b643(0x435)](_0x2d2cf4=>_0x2d2cf4[_0x23b643(0x3a8)]));}[_0x2ef9d4(0x20b)](){const _0x21f48b=_0x2ef9d4;this[_0x21f48b(0x45b)][_0x21f48b(0x1f1)](_0x9efe79[_0x21f48b(0x2ae)]['UNIVER_SHEET'])[_0x21f48b(0x3d2)](_0x41dc47[_0x21f48b(0x307)](this[_0x21f48b(0x21c)]))['subscribe'](async _0x2d4a45=>{const _0x17e8c9=_0x21f48b,_0x47fc68=_0x2d4a45[_0x17e8c9(0x256)](),_0x44aa4f=await this[_0x17e8c9(0x339)](_0x47fc68);this['_entityInit$']['next'](_0x44aa4f),this[_0x17e8c9(0x348)][_0x17e8c9(0x246)](_0x47fc68,_0x44aa4f);}),this['_univerInstanceService'][_0x21f48b(0x1f1)](_0x9efe79['UniverInstanceType'][_0x21f48b(0x394)])[_0x21f48b(0x3d2)](_0x41dc47[_0x21f48b(0x307)](this[_0x21f48b(0x21c)]))[_0x21f48b(0x3d2)](_0x41dc47['filter'](_0x128789=>!_0x128789['getUnitId']()['startsWith']('__')))[_0x21f48b(0x3db)](async _0x21c477=>{const _0x2f1db5=_0x21f48b,_0x2d3b20=_0x21c477[_0x2f1db5(0x256)](),_0x161f98=await this[_0x2f1db5(0x3d1)](_0x2d3b20);this[_0x2f1db5(0x283)][_0x2f1db5(0x365)](_0x161f98),this[_0x2f1db5(0x348)][_0x2f1db5(0x246)](_0x2d3b20,_0x161f98);}),_0x41dc47[_0x21f48b(0x293)](this[_0x21f48b(0x45b)][_0x21f48b(0x3bb)](_0x9efe79[_0x21f48b(0x2ae)][_0x21f48b(0x394)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x9efe79[_0x21f48b(0x2ae)][_0x21f48b(0x3ff)]))[_0x21f48b(0x3d2)](_0x41dc47[_0x21f48b(0x307)](this['dispose$']))[_0x21f48b(0x3db)](_0x465316=>{const _0x159656=_0x21f48b,_0xb9a8a9=_0x465316[_0x159656(0x256)](),_0x46a92d=this['_entities'][_0x159656(0x284)](_0xb9a8a9);_0x46a92d&&(_0x46a92d[_0x159656(0x22c)](),this[_0x159656(0x348)]['delete'](_0xb9a8a9));});}async[_0x2ef9d4(0x339)](_0x1e54dd){const _0x4475c2=_0x2ef9d4,_0x291212=await this[_0x4475c2(0x243)][_0x4475c2(0x239)](_0x1e54dd),_0x15b79a=this[_0x4475c2(0x45f)]['createInstance'](_0x231d6a,_0x1e54dd,_0x291212);return _0x15b79a[_0x4475c2(0x2a8)](),_0x15b79a;}async[_0x2ef9d4(0x3d1)](_0x21cf44){const _0x4145e7=_0x2ef9d4,_0x3116e0=await this[_0x4145e7(0x243)][_0x4145e7(0x239)](_0x21cf44),_0x2999cb=this['_injector'][_0x4145e7(0x450)](_0x2db27d,_0x21cf44,_0x3116e0);return _0x2999cb[_0x4145e7(0x2a8)](),_0x2999cb;}};_0x290703=_0x220b32([_0x54291d(0x0,_0x9efe79['IUniverInstanceService']),_0x54291d(0x1,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x412)])),_0x54291d(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x5ea283[_0x2ef9d4(0x3fa)]))],_0x290703);const _0x3ea023=0x14,_0x3d61e4=0xc8,_0x4a110f=0x4,_0x4f0cc4=0x5;function _0x365544(_0x378987,_0x2c898d){const _0x503dda=_0x2ef9d4;let {radius:_0x29e991,width:_0x98acc2,height:_0x1cd5cb}=_0x2c898d;_0x29e991=_0x29e991!=null?_0x29e991:0x0,_0x98acc2=_0x98acc2!=null?_0x98acc2:0x1e,_0x1cd5cb=_0x1cd5cb!=null?_0x1cd5cb:0x1e;let _0x16ccdb=0x0,_0x582e18=0x0,_0x1b0fc6=0x0;_0x16ccdb=_0x582e18=_0x1b0fc6=Math[_0x503dda(0x2d8)](_0x29e991,_0x98acc2/0x2,_0x1cd5cb/0x2),_0x378987[_0x503dda(0x3a9)](),_0x378987[_0x503dda(0x3a2)](_0x16ccdb,0x0),_0x378987[_0x503dda(0x408)](_0x98acc2-_0x582e18,0x0),_0x378987['arc'](_0x98acc2-_0x582e18,_0x582e18,_0x582e18,Math['PI']*0x3/0x2,0x0,!0x1),_0x378987[_0x503dda(0x408)](_0x98acc2,_0x1cd5cb-_0x1b0fc6),_0x378987[_0x503dda(0x219)](_0x98acc2-_0x1b0fc6,_0x1cd5cb-_0x1b0fc6,_0x1b0fc6,0x0,Math['PI']/0x2,!0x1),_0x378987[_0x503dda(0x408)](0x0,_0x1cd5cb),_0x378987['lineTo'](0x0,_0x16ccdb),_0x378987[_0x503dda(0x219)](_0x16ccdb,_0x16ccdb,_0x16ccdb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x378987[_0x503dda(0x44f)](),_0x2c898d['fill']&&(_0x378987[_0x503dda(0x414)](),_0x378987[_0x503dda(0x25d)]=_0x2c898d[_0x503dda(0x370)],_0x2c898d['fillRule']===_0x503dda(0x337)?_0x378987[_0x503dda(0x370)](_0x503dda(0x337)):_0x378987['fill'](),_0x378987[_0x503dda(0x23e)]());}class _0x2677ed extends _0x20c736[_0x2ef9d4(0x3e4)]{constructor(_0x11d49c,_0x42cdd1){const _0x29ba00=_0x2ef9d4;super(_0x11d49c,_0x42cdd1),_0xcb4086(this,_0x29ba00(0x464)),_0xcb4086(this,_0x29ba00(0x1d3)),(this[_0x29ba00(0x464)]=_0x42cdd1==null?void 0x0:_0x42cdd1['color'],this['text']=_0x42cdd1==null?void 0x0:_0x42cdd1[_0x29ba00(0x1d3)]);}static[_0x2ef9d4(0x352)](_0x31c056,_0x2aa2ef){const _0x58ae24=_0x2ef9d4,{text:_0x3cb508,color:_0x56ee2a}=_0x2aa2ef;_0x31c056['save'](),_0x31c056[_0x58ae24(0x314)]=_0x58ae24(0x28c);const _0x270017=_0x31c056[_0x58ae24(0x1f4)](_0x3cb508)[_0x58ae24(0x277)],_0x517661=Math['min'](_0x270017+0x2*_0x4a110f,_0x3d61e4);_0x365544(_0x31c056,{'height':_0x3ea023,'radius':0x4,'width':_0x517661,'fill':_0x56ee2a}),_0x31c056[_0x58ae24(0x25d)]=_0x58ae24(0x2ac);const _0x3790ae=_0x4a110f,_0x33f001=_0x3ea023-_0x4f0cc4,_0x108ea0=_0x3d61e4-0x2*_0x4a110f;if(_0x270017>_0x108ea0){let _0x5801a7='',_0xaa1935=0x0;for(const _0x3ad527 of _0x3cb508){const _0x4c597f=_0x31c056[_0x58ae24(0x1f4)](_0x3ad527)['width'];if(_0xaa1935+_0x4c597f<=_0x108ea0-_0x31c056[_0x58ae24(0x1f4)]('...')[_0x58ae24(0x277)])_0x5801a7+=_0x3ad527,_0xaa1935+=_0x4c597f;else{_0x5801a7+=_0x58ae24(0x40b);break;}}_0x31c056[_0x58ae24(0x2ed)](_0x5801a7,_0x3790ae,_0x33f001);}else _0x31c056[_0x58ae24(0x2ed)](_0x3cb508,_0x3790ae,_0x33f001);_0x31c056['restore']();}[_0x2ef9d4(0x232)](_0x27a918){_0x2677ed['drawWith'](_0x27a918,this);}}const _0x19026=_0x2ef9d4(0x33b),_0x18c297=_0x2ef9d4(0x20c),_0x22228b=_0x2ef9d4(0x40c),_0x9c35d2=0x6,_0x58eff1=1.5,_0xe22d=0x4,_0x4655a5=1.5,_0x534653=_0x2ef9d4(0x3e7);class _0x12b074{constructor(_0xf4bcd0,_0x311776,_0x1f5f9c,_0x564e8f){const _0x230c68=_0x2ef9d4;_0xcb4086(this,_0x230c68(0x3b7),[]),_0xcb4086(this,'_anchor',null),_0xcb4086(this,'_textBubble',null),_0xcb4086(this,_0x230c68(0x318),null),_0xcb4086(this,'_hideTimer',null),_0xcb4086(this,_0x230c68(0x421),null),(this['_cursor']=_0xf4bcd0,this[_0x230c68(0x420)]=_0x311776,this[_0x230c68(0x2df)]=_0x1f5f9c,this[_0x230c68(0x37e)]=_0x564e8f,this[_0x230c68(0x1db)]());}set[_0x2ef9d4(0x2d7)](_0x11c186){const _0x3dbc9b=_0x2ef9d4;_0x11c186?(this['_anchorDot']&&this[_0x3dbc9b(0x318)][_0x3dbc9b(0x3fd)](),this[_0x3dbc9b(0x43f)]&&this[_0x3dbc9b(0x43f)][_0x3dbc9b(0x1e9)]()):(this['_anchorDot']&&this[_0x3dbc9b(0x318)][_0x3dbc9b(0x1e9)](),this[_0x3dbc9b(0x43f)]&&this[_0x3dbc9b(0x43f)][_0x3dbc9b(0x3fd)]());}[_0x2ef9d4(0x22c)](){const _0x2d366b=_0x2ef9d4;for(const _0xc79309 of this[_0x2d366b(0x3b7)])_0xc79309[_0x2d366b(0x22c)]();this[_0x2d366b(0x43f)]&&this[_0x2d366b(0x43f)][_0x2d366b(0x22c)](),this['_anchorDot']&&this['_anchorDot'][_0x2d366b(0x22c)](),this[_0x2d366b(0x41d)]&&this[_0x2d366b(0x41d)][_0x2d366b(0x22c)](),this[_0x2d366b(0x421)]&&this[_0x2d366b(0x421)]();}[_0x2ef9d4(0x1db)](){const _0xcf66bc=_0x2ef9d4;var _0x3ad598;const {_docSkeleton:_0x4443b0,_document:_0x1061d3}=this,{color:_0x4ce5a2,name:_0x58360e,ranges:_0x2c6e3b}=this[_0xcf66bc(0x329)],_0x45c5f5=_0x1061d3[_0xcf66bc(0x41b)](),{docsLeft:_0x51d34b,docsTop:_0x49d882}=_0x45c5f5,_0x3f9ce1=new _0x51d6ac[(_0xcf66bc(0x2d6))](_0x45c5f5,_0x4443b0);for(const {startOffset:_0x33b61c,endOffset:_0x18a0a7,rangeType:_0x2e521e,segmentId:_0x3276e9,segmentPage:_0xec4af5,collapsed:_0xd86b76,isActive:_0x10278c}of _0x2c6e3b){const _0x3d6a48=_0x4443b0[_0xcf66bc(0x240)](_0x33b61c,!0x0,_0x3276e9,_0xec4af5);let _0x6cebd1=_0x4443b0[_0xcf66bc(0x240)](_0x18a0a7,!0x0,_0x3276e9,_0xec4af5);if(_0x6cebd1==null&&(_0x6cebd1=_0x4443b0[_0xcf66bc(0x240)](_0x18a0a7-0x1,!0x1,_0x3276e9,_0xec4af5)),_0x10278c){const {contentBoxPointGroup:_0x30bd5d}=_0x3f9ce1[_0xcf66bc(0x372)](_0x6cebd1,_0x6cebd1);if(_0x30bd5d[_0xcf66bc(0x291)]===0x0)continue;this[_0xcf66bc(0x315)](_0x4ce5a2,_0x30bd5d,_0x51d34b,_0x49d882,_0x58360e),this[_0xcf66bc(0x421)]=this[_0xcf66bc(0x321)]();}if(_0x3d6a48&&_0x6cebd1){if(_0x2e521e===_0x9efe79[_0xcf66bc(0x1da)][_0xcf66bc(0x20e)]){const _0x425e9e=new _0x51d6ac[(_0xcf66bc(0x454))](_0x45c5f5,_0x4443b0),{pointGroup:_0xc3ce27}=(_0x3ad598=_0x425e9e[_0xcf66bc(0x372)](_0x3d6a48,_0x6cebd1))!=null?_0x3ad598:{};if(_0xc3ce27==null||_0xc3ce27['length']===0x0)continue;this['_drawRectRange'](_0x4ce5a2,_0xc3ce27,_0x51d34b,_0x49d882);}else{if(!_0xd86b76){const {borderBoxPointGroup:_0x27cd51}=_0x3f9ce1['getRangePointData'](_0x3d6a48,_0x6cebd1);if(_0x27cd51[_0xcf66bc(0x291)]===0x0)continue;this[_0xcf66bc(0x285)](_0x4ce5a2,_0x27cd51,_0x51d34b,_0x49d882);}}}}}[_0x2ef9d4(0x315)](_0x50a0d6,_0x2309b9,_0xbc67c6,_0x1f44cc,_0x676978){const _0x45559a=_0x2ef9d4,_0x281ada=this['_getAnchorBounding'](_0x2309b9),{left:_0x4236bc,top:_0x18a1e3,height:_0x48651f}=_0x281ada,_0x1b2c4d=this[_0x45559a(0x1f8)](),_0x1632bb=_0x4655a5/_0x1b2c4d,_0x3eee98=new _0x20c736[(_0x45559a(0x2f6))](_0x19026+_0x9efe79[_0x45559a(0x2d0)](_0x9c35d2),{'left':_0x4236bc+_0xbc67c6-_0x1632bb,'top':_0x18a1e3+_0x1f44cc,'height':_0x48651f,'width':_0x58eff1,'fill':_0x50a0d6||_0x20c736[_0x45559a(0x1eb)](_0x9efe79['COLORS'][_0x45559a(0x3be)],0x0),'strokeWidth':_0x1632bb,'stroke':_0x534653,'evented':!0x0});this[_0x45559a(0x41d)]=_0x3eee98,this['_scene']['addObject'](_0x3eee98,_0x51d6ac['TEXT_RANGE_LAYER_INDEX']);const _0x36a09a=new _0x20c736['Rect'](_0x19026+_0x9efe79[_0x45559a(0x2d0)](_0x9c35d2),{'left':_0x4236bc+_0xbc67c6-_0x1632bb,'top':_0x18a1e3+_0x1f44cc-_0xe22d/0x2,'height':_0xe22d,'width':_0xe22d,'fill':_0x50a0d6||_0x20c736[_0x45559a(0x1eb)](_0x9efe79[_0x45559a(0x1fc)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x50a0d6||_0x20c736[_0x45559a(0x1eb)](_0x9efe79[_0x45559a(0x1fc)][_0x45559a(0x3be)],0x0),'evented':!0x1});this['_anchorDot']=_0x36a09a,this[_0x45559a(0x420)][_0x45559a(0x3a4)](_0x36a09a,_0x51d6ac['TEXT_RANGE_LAYER_INDEX']);const _0x32caa2=new _0x2677ed(_0x19026+_0x9efe79[_0x45559a(0x2d0)](_0x9c35d2),{'left':_0x4236bc+_0xbc67c6-_0x1632bb,'top':_0x18a1e3+_0x1f44cc-_0x3ea023,'text':_0x676978,'color':_0x50a0d6});this[_0x45559a(0x43f)]=_0x32caa2,this[_0x45559a(0x420)][_0x45559a(0x3a4)](_0x32caa2,_0x51d6ac[_0x45559a(0x2fe)]),this['_hover']=!0x1;}[_0x2ef9d4(0x321)](){const _0x198665=_0x2ef9d4,_0x41ccb8=this[_0x198665(0x41d)][_0x198665(0x3e5)][_0x198665(0x317)](()=>{const _0x34d351=_0x198665;this[_0x34d351(0x2d7)]=!0x0;}),_0x3b6731=this[_0x198665(0x41d)]['onPointerLeave$'][_0x198665(0x317)](()=>{const _0x182d12=_0x198665;this[_0x182d12(0x384)]&&clearTimeout(this[_0x182d12(0x384)]),this['_hideTimer']=setTimeout(()=>{const _0x2b05c6=_0x182d12;this[_0x2b05c6(0x2d7)]=!0x1;},0x7d0);});return()=>{const _0x52fd56=_0x198665;_0x41ccb8[_0x52fd56(0x424)](),_0x3b6731['unsubscribe']();};}[_0x2ef9d4(0x285)](_0x584ed5,_0x565834,_0xb03a2c,_0x411841){const _0x589a65=_0x2ef9d4,_0x5763c4=new _0x9efe79[(_0x589a65(0x31f))](_0x584ed5)[_0x589a65(0x418)](0.2)[_0x589a65(0x342)](),_0x296ea6=new _0x20c736[(_0x589a65(0x360))](_0x18c297+_0x9efe79[_0x589a65(0x2d0)](_0x9c35d2),{'pointsGroup':_0x565834,'fill':_0x5763c4||_0x20c736[_0x589a65(0x1eb)](_0x9efe79[_0x589a65(0x1fc)]['black'],0.2),'left':_0xb03a2c,'top':_0x411841,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x589a65(0x3b7)][_0x589a65(0x428)](_0x296ea6),this[_0x589a65(0x420)][_0x589a65(0x3a4)](_0x296ea6,_0x51d6ac[_0x589a65(0x2fe)]);}[_0x2ef9d4(0x2d9)](_0x56704c,_0xa106a9,_0x22b4a9,_0x7e1da8){const _0x514d75=_0x2ef9d4,_0x25e73d=new _0x9efe79['ColorKit'](_0x56704c)['setAlpha'](0.2)[_0x514d75(0x342)](),_0x1c37fc=new _0x20c736[(_0x514d75(0x360))](_0x22228b+_0x9efe79['generateRandomId'](_0x9c35d2),{'pointsGroup':_0xa106a9,'fill':_0x25e73d||_0x20c736['getColor'](_0x9efe79['COLORS']['black'],0.2),'left':_0x22b4a9,'top':_0x7e1da8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x514d75(0x3b7)][_0x514d75(0x428)](_0x1c37fc),this[_0x514d75(0x420)][_0x514d75(0x3a4)](_0x1c37fc,_0x51d6ac[_0x514d75(0x2fe)]);}['_getAnchorBounding'](_0x238eda){const _0x265849=_0x238eda[0x0],_0x1689f7=_0x265849[0x0],_0x426ccb=_0x265849[0x2],{x:_0x23c5bd,y:_0x2ef186}=_0x1689f7,{x:_0x306f35,y:_0x3f70ff}=_0x426ccb;return{'left':_0x23c5bd,'top':_0x2ef186,'width':_0x306f35-_0x23c5bd,'height':_0x3f70ff-_0x2ef186};}['_getScale'](){const _0x33efaa=_0x2ef9d4,{scaleX:_0x394f73,scaleY:_0x130635}=this[_0x33efaa(0x420)][_0x33efaa(0x390)]();return Math['max'](_0x394f73,_0x130635);}}var _0x5af0f9=Object[_0x2ef9d4(0x338)],_0x506ae2=(_0x26019c,_0x3ab7c5,_0x268e92,_0x124483)=>{const _0x502a3e=_0x2ef9d4;for(var _0x4096d6=_0x124483>0x1?void 0x0:_0x124483?_0x5af0f9(_0x3ab7c5,_0x268e92):_0x3ab7c5,_0x2607a7=_0x26019c[_0x502a3e(0x291)]-0x1,_0x5cf67f;_0x2607a7>=0x0;_0x2607a7--)(_0x5cf67f=_0x26019c[_0x2607a7])&&(_0x4096d6=_0x5cf67f(_0x4096d6)||_0x4096d6);return _0x4096d6;},_0x22e191=(_0x51ef03,_0x3f34d7)=>(_0x195781,_0x4e42c2)=>_0x3f34d7(_0x195781,_0x4e42c2,_0x51ef03);let _0x335254=class extends _0x9efe79['RxDisposable']{constructor(_0x2cc1f5,_0x5087f7,_0x4295ca,_0x324a01,_0x239ba7){const _0x21c735=_0x2ef9d4;super(),_0xcb4086(this,_0x21c735(0x226),[]),_0xcb4086(this,_0x21c735(0x422),[]),(this[_0x21c735(0x2e8)]=_0x2cc1f5,this['_docSkeletonManagerService']=_0x5087f7,this[_0x21c735(0x331)]=_0x4295ca,this['_commandService']=_0x324a01,this['_themeService']=_0x239ba7,this[_0x21c735(0x20b)]());}[_0x2ef9d4(0x20b)](){const _0x20d2c8=_0x2ef9d4,_0x361518=this['_context'][_0x20d2c8(0x3cb)],_0x1c25d0=this[_0x20d2c8(0x453)];this[_0x20d2c8(0x448)](_0x41dc47[_0x20d2c8(0x228)]([this[_0x20d2c8(0x331)][_0x20d2c8(0x38e)](_0x361518),this[_0x20d2c8(0x457)][_0x20d2c8(0x319)]])[_0x20d2c8(0x3d2)](_0x48ac13[_0x20d2c8(0x3ce)](([_0x2f6956,_0x5530e1])=>({'skeleton':_0x1c25d0['getSkeleton'](),'cursors':[..._0x2f6956[_0x20d2c8(0x216)]()][_0x20d2c8(0x29b)](_0x568325=>({..._0x568325,'color':this[_0x20d2c8(0x457)][_0x20d2c8(0x2fb)](_0x568325[_0x20d2c8(0x464)])}))})))[_0x20d2c8(0x3db)](_0x2e27b2=>{const _0x32cda8=_0x20d2c8;if(this[_0x32cda8(0x22b)](),_0x2e27b2){const {skeleton:_0x105e90,cursors:_0x33811f}=_0x2e27b2;this['_updateCollabCursors'](_0x105e90,_0x33811f);}})),this[_0x20d2c8(0x46c)](),this[_0x20d2c8(0x1e0)]();}[_0x2ef9d4(0x1d1)](_0x2920db,_0x4b4372){const _0x4b9449=_0x2ef9d4,{scene:_0xeb7fc5,mainComponent:_0x443d8b}=this['_context'],_0x39c505=_0x4b4372[_0x4b9449(0x3ce)](_0x4649d6=>new _0x12b074(_0x4649d6,_0xeb7fc5,_0x2920db,_0x443d8b));this[_0x4b9449(0x226)]=_0x39c505,this[_0x4b9449(0x422)]=_0x4b4372;}[_0x2ef9d4(0x29c)](){const _0x28af2a=_0x2ef9d4;this[_0x28af2a(0x22b)]();const {scene:_0x3990d6,mainComponent:_0x42ee81}=this['_context'],_0x4b452e=this['_docSkeletonManagerService'][_0x28af2a(0x24d)](),_0x3927aa=this[_0x28af2a(0x422)][_0x28af2a(0x3ce)](_0x394617=>new _0x12b074(_0x394617,_0x3990d6,_0x4b452e,_0x42ee81));this['_cursorShapes']=_0x3927aa;}[_0x2ef9d4(0x22b)](){const _0x360e3d=_0x2ef9d4;this[_0x360e3d(0x226)][_0x360e3d(0x323)](_0x42eea1=>_0x42eea1[_0x360e3d(0x22c)]()),this[_0x360e3d(0x226)]=[];}[_0x2ef9d4(0x1e0)](){const _0x50216b=_0x2ef9d4,_0xe4624b=[_0x51d6ac['SetDocZoomRatioOperation']['id']];this[_0x50216b(0x448)](this[_0x50216b(0x405)][_0x50216b(0x2d1)](_0x4238de=>{const _0x15e60e=_0x50216b;_0xe4624b[_0x15e60e(0x368)](_0x4238de['id'])&&_0x4238de['params']['unitId']===this[_0x15e60e(0x2e8)]['unitId']&&this[_0x15e60e(0x29c)]();}));}['_initResize'](){const _0x25e4e4=_0x2ef9d4;this['disposeWithMe'](_0x9efe79[_0x25e4e4(0x449)](this['_context'][_0x25e4e4(0x3f9)]['onTransformChange$'])[_0x25e4e4(0x3d2)](_0x48ac13['filter'](_0x3d054f=>_0x3d054f[_0x25e4e4(0x1d2)]===_0x20c736[_0x25e4e4(0x2f1)][_0x25e4e4(0x3b4)]),_0x48ac13['throttleTime'](0x10))['subscribe'](()=>{const _0x58f1e7=_0x25e4e4;this[_0x58f1e7(0x29c)]();}));}};_0x335254=_0x506ae2([_0x22e191(0x1,_0x9efe79[_0x2ef9d4(0x202)](_0x30c6d1[_0x2ef9d4(0x392)])),_0x22e191(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x290703)),_0x22e191(0x3,_0x9efe79[_0x2ef9d4(0x43d)]),_0x22e191(0x4,_0x9efe79['Inject'](_0x9efe79[_0x2ef9d4(0x3f2)]))],_0x335254);const _0x384f93=0x1,_0x4a499e=1.5;class _0x56e7c0 extends _0x20c736[_0x2ef9d4(0x3e4)]{constructor(_0x2e0294,_0x13c720){const _0x28ee5b=_0x2ef9d4;super(_0x2e0294,_0x13c720),_0xcb4086(this,_0x28ee5b(0x2db)),_0xcb4086(this,_0x28ee5b(0x2b7),!0x1),_0xcb4086(this,_0x28ee5b(0x38d)),_0xcb4086(this,'_name',''),_0xcb4086(this,_0x28ee5b(0x210),_0x28ee5b(0x37a)),_0xcb4086(this,'_backgroundColor'),(_0x13c720&&this[_0x28ee5b(0x3d3)](_0x13c720),this[_0x28ee5b(0x3e5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x28ee5b(0x317)](()=>this[_0x28ee5b(0x3d3)]({'hovered':!0x1})));}[_0x2ef9d4(0x3d3)](_0x4f15bf){const _0x1d97c0=_0x2ef9d4;var _0x56c341,_0x5924be,_0x4a30ed,_0x4f25e3,_0x2f1ad0,_0xfd57d1;this[_0x1d97c0(0x2db)]=(_0x56c341=_0x4f15bf[_0x1d97c0(0x464)])!=null?_0x56c341:this[_0x1d97c0(0x2db)],this['_hovered']=(_0x5924be=_0x4f15bf[_0x1d97c0(0x23f)])!=null?_0x5924be:this[_0x1d97c0(0x2b7)],this[_0x1d97c0(0x38d)]=(_0x4a30ed=_0x4f15bf[_0x1d97c0(0x37c)])!=null?_0x4a30ed:this[_0x1d97c0(0x38d)],this['_name']=(_0x4f25e3=_0x4f15bf[_0x1d97c0(0x2eb)])!=null?_0x4f25e3:this[_0x1d97c0(0x326)],this[_0x1d97c0(0x210)]=(_0x2f1ad0=_0x4f15bf[_0x1d97c0(0x300)])!=null?_0x2f1ad0:this[_0x1d97c0(0x210)],this[_0x1d97c0(0x3cd)]=(_0xfd57d1=_0x4f15bf['backgroundColor'])!=null?_0xfd57d1:this['_backgroundColor'],this[_0x1d97c0(0x409)]({'width':_0x4f15bf[_0x1d97c0(0x277)],'height':_0x4f15bf[_0x1d97c0(0x340)]});}[_0x2ef9d4(0x40d)](_0x2a61d0){const _0x2aa7f7=_0x2ef9d4,{row:_0x2bb755,column:_0x33e770}=_0x2a61d0;if(_0x2bb755>=this[_0x2aa7f7(0x38d)][_0x2aa7f7(0x1ef)]&&_0x2bb755<=this[_0x2aa7f7(0x38d)]['endRow']&&_0x33e770>=this[_0x2aa7f7(0x38d)][_0x2aa7f7(0x211)]&&_0x33e770<=this[_0x2aa7f7(0x38d)][_0x2aa7f7(0x2d2)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2aa7f7(0x3d3)]({'hovered':!0x1});}[_0x2ef9d4(0x461)](_0x56cb7e){return!0x1;}['_draw'](_0x104f3e){const _0x295d1b=_0x2ef9d4;_0x20c736[_0x295d1b(0x2f6)][_0x295d1b(0x352)](_0x104f3e,{'width':this[_0x295d1b(0x277)],'height':this['height'],'strokeWidth':_0x4a499e,'stroke':this[_0x295d1b(0x2db)],'evented':!0x1,'fill':this[_0x295d1b(0x3cd)]}),this[_0x295d1b(0x2b7)]&&(_0x104f3e[_0x295d1b(0x414)](),_0x104f3e['transform'](0x1,0x0,0x0,0x1,this[_0x295d1b(0x277)],this[_0x295d1b(0x210)]===_0x295d1b(0x3d0)?0x0:-_0x3ea023),_0x2677ed[_0x295d1b(0x352)](_0x104f3e,{'text':this[_0x295d1b(0x326)],'color':this['_color']}),_0x104f3e[_0x295d1b(0x23e)]());}}var _0x215226=Object[_0x2ef9d4(0x338)],_0x1c1fe1=(_0x39e8f7,_0xb8791e,_0x42031e,_0x2e1373)=>{const _0x7cc839=_0x2ef9d4;for(var _0x225e70=_0x2e1373>0x1?void 0x0:_0x2e1373?_0x215226(_0xb8791e,_0x42031e):_0xb8791e,_0x29b036=_0x39e8f7[_0x7cc839(0x291)]-0x1,_0x17d92c;_0x29b036>=0x0;_0x29b036--)(_0x17d92c=_0x39e8f7[_0x29b036])&&(_0x225e70=_0x17d92c(_0x225e70)||_0x225e70);return _0x225e70;},_0x191ba0=(_0x59a29b,_0x5e58c5)=>(_0x261900,_0x2301e5)=>_0x5e58c5(_0x261900,_0x2301e5,_0x59a29b);const _0x1310c8=0x1389;let _0x3561a4=class extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(_0x26ac7b,_0x5efdd0,_0x1da0ee,_0x5ed59b){const _0x401798=_0x2ef9d4;super(),_0xcb4086(this,_0x401798(0x422),new Set()),_0xcb4086(this,'_lastPointer',null),(this[_0x401798(0x2e8)]=_0x26ac7b,this[_0x401798(0x264)]=_0x5efdd0,this[_0x401798(0x331)]=_0x1da0ee,this[_0x401798(0x457)]=_0x5ed59b,this[_0x401798(0x20b)]());}[_0x2ef9d4(0x20b)](){const _0x6e6c3a=_0x2ef9d4;this[_0x6e6c3a(0x264)][_0x6e6c3a(0x2f5)][_0x6e6c3a(0x3d2)](_0x48ac13[_0x6e6c3a(0x307)](this[_0x6e6c3a(0x21c)]),_0x48ac13[_0x6e6c3a(0x435)](_0x1eec7d=>{const _0x297781=_0x6e6c3a;if(_0x1eec7d){const _0x393a75=_0x1eec7d[_0x297781(0x297)];return _0x41dc47[_0x297781(0x228)](this[_0x297781(0x331)][_0x297781(0x38e)](this[_0x297781(0x2e8)][_0x297781(0x3cb)]),this[_0x297781(0x457)][_0x297781(0x319)])[_0x297781(0x3d2)](_0x48ac13[_0x297781(0x3ce)](([_0x22890e,_0x40eb18])=>{const _0x2f59e7=_0x297781,_0x18378e=new Map();return _0x22890e[_0x2f59e7(0x323)]((_0x4c9130,_0x5e75c5)=>{const _0x3ee4da=_0x2f59e7;if(_0x4c9130[_0x3ee4da(0x3b2)]===_0x393a75){const _0x20047e={..._0x4c9130};_0x20047e[_0x3ee4da(0x464)]=this[_0x3ee4da(0x457)]['getColorFromTheme'](_0x4c9130[_0x3ee4da(0x464)]),_0x18378e[_0x3ee4da(0x246)](_0x5e75c5,_0x20047e);}}),{'skeleton':_0x1eec7d,'cursors':_0x18378e};}));}return _0x41dc47['of']({'skeleton':null,'cursors':new Map()});}))[_0x6e6c3a(0x3db)](({skeleton:_0x2bc1aa,cursors:_0x406f8e})=>{const _0x8ff75f=_0x6e6c3a;this[_0x8ff75f(0x22b)](),_0x2bc1aa&&this[_0x8ff75f(0x1d1)](_0x2bc1aa,_0x406f8e);}),this[_0x6e6c3a(0x264)][_0x6e6c3a(0x2f5)][_0x6e6c3a(0x3db)](_0x1ec30f=>{const _0x491654=_0x6e6c3a;if(_0x1ec30f==null)return;const {skeleton:_0x58d3f7}=_0x1ec30f,{scene:_0x22bfba}=this[_0x491654(0x2e8)];_0x22bfba['onPointerMove$'][_0x491654(0x317)](_0x9efe79[_0x491654(0x359)](_0x4c43e1=>{const _0x115db7=_0x491654;var _0x202d38,_0x455023;const {offsetX:_0x421926,offsetY:_0xf52c43}=_0x4c43e1,{x:_0x1f9197,y:_0x57f98f}=_0x22bfba['getRelativeToViewportCoord'](_0x20c736[_0x115db7(0x3b1)]['FromArray']([_0x421926,_0xf52c43])),{scaleX:_0x1605cf,scaleY:_0x4a553c}=_0x22bfba[_0x115db7(0x390)](),_0x501b21=_0x22bfba['getViewport'](_0x20c736['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0xc00c6e=_0x22bfba[_0x115db7(0x3d9)](_0x20c736[_0x115db7(0x3b1)][_0x115db7(0x3ef)]([_0x1f9197,_0x57f98f]),_0x501b21),_0x348eb1=_0x58d3f7[_0x115db7(0x204)](_0x421926,_0xf52c43,_0x1605cf,_0x4a553c,_0xc00c6e);((_0x202d38=this[_0x115db7(0x3df)])==null?void 0x0:_0x202d38[_0x115db7(0x39c)])===_0x348eb1[_0x115db7(0x39c)]&&((_0x455023=this[_0x115db7(0x3df)])==null?void 0x0:_0x455023[_0x115db7(0x29f)])===_0x348eb1[_0x115db7(0x29f)]||this[_0x115db7(0x422)]['forEach'](_0x593909=>{const _0x199433=_0x115db7;_0x593909[_0x199433(0x40d)](_0x348eb1);});},0x64));});}[_0x2ef9d4(0x1d1)](_0x289759,_0x3d9b22){const _0x114a57=_0x2ef9d4;var _0xdc26df;const _0x14b624=(_0xdc26df=this[_0x114a57(0x264)][_0x114a57(0x31d)]())==null?void 0x0:_0xdc26df[_0x114a57(0x2f9)];if(!_0x14b624)return;const _0x20e593=this[_0x114a57(0x1dd)]();if(!_0x20e593)return;this[_0x114a57(0x422)][_0x114a57(0x323)](_0x524461=>{const _0x406067=_0x114a57;_0x524461[_0x406067(0x234)]();});const {scene:_0x5d853b}=_0x20e593,_0x4bcb79=_0x336458(Array[_0x114a57(0x33a)](_0x3d9b22['values']()))[_0x114a57(0x3ce)](_0x37082d=>{const _0x394598=_0x114a57,{color:_0x3ddf7e,range:_0x217224,name:_0x496bb9,selection:_0xb6c431,sheetID:_0x483429}=_0x37082d,{startColumn:_0x377d96,startRow:_0x59fd54,endColumn:_0x1fd301,endRow:_0x5a37d6}=_0x217224,_0x33cbb1=_0x502283['getCoordByCell'](_0x59fd54,_0x377d96,_0x5d853b,_0x14b624),_0x564f25=_0x502283[_0x394598(0x36c)](_0x5a37d6,_0x1fd301,_0x5d853b,_0x14b624),{columnHeaderHeightAndMarginTop:_0xe5aeef}=_0x14b624,{startX:_0x42f93d,startY:_0x484043}=_0x33cbb1,{endX:_0x38dd40,endY:_0x430bd6}=_0x564f25,_0x5d7615=_0x38dd40-_0x42f93d,_0x3e39c7=_0x430bd6-_0x484043,_0x45489c={'labelPosition':_0x484043-_0xe5aeef>=_0x3ea023?_0x394598(0x37a):'bottom','sheetID':_0x483429,'range':_0x217224,'color':_0x3ddf7e,'name':_0x496bb9,'selection':_0xb6c431,'left':_0x42f93d,'top':_0x484043,'width':_0x5d7615,'height':_0x3e39c7,'evented':!0x1,'zIndex':_0x1310c8};return new _0x56e7c0(_0x496bb9,_0x45489c);});_0x5d853b[_0x114a57(0x3a0)](_0x4bcb79,_0x384f93),this[_0x114a57(0x422)]=new Set(_0x4bcb79);}[_0x2ef9d4(0x22b)](){const _0x2314ab=_0x2ef9d4;var _0x525963;(_0x525963=this['_cursors'])==null||_0x525963[_0x2314ab(0x323)](_0x4c7bd9=>_0x4c7bd9[_0x2314ab(0x22c)]());}[_0x2ef9d4(0x1dd)](){const _0x9a1372=_0x2ef9d4;return _0x502283[_0x9a1372(0x281)](this[_0x9a1372(0x2e8)][_0x9a1372(0x3ba)],this[_0x9a1372(0x2e8)]);}};_0x3561a4=_0x1c1fe1([_0x191ba0(0x1,_0x9efe79['Inject'](_0x502283[_0x2ef9d4(0x2e9)])),_0x191ba0(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x290703)),_0x191ba0(0x3,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x3f2)]))],_0x3561a4);function _0x336458(_0x3fea35){const _0x4c780c=_0x2ef9d4,_0x5755ff=new Map();return _0x3fea35[_0x4c780c(0x323)](_0xee3cb9=>{const _0x312fb2=_0x4c780c;if(_0x5755ff[_0x312fb2(0x3e9)](_0xee3cb9[_0x312fb2(0x44d)])){const _0x2424eb=_0x5755ff['get'](_0xee3cb9[_0x312fb2(0x44d)]);_0x2424eb[_0x312fb2(0x2eb)]+=',\x20'+_0xee3cb9[_0x312fb2(0x2eb)];}else _0x5755ff[_0x312fb2(0x246)](_0xee3cb9['selection'],_0xee3cb9);}),Array[_0x4c780c(0x33a)](_0x5755ff[_0x4c780c(0x216)]());}var _0x43498d=function(){const _0x5e04cc=_0x2ef9d4;return _0x43498d=Object['assign']||function(_0x5f11f4){const _0x3457f8=_0x4423;for(var _0x141aef,_0x4979bb=0x1,_0x477c70=arguments[_0x3457f8(0x291)];_0x4979bb<_0x477c70;_0x4979bb++){_0x141aef=arguments[_0x4979bb];for(var _0x2a1ff2 in _0x141aef)Object[_0x3457f8(0x41c)]['hasOwnProperty']['call'](_0x141aef,_0x2a1ff2)&&(_0x5f11f4[_0x2a1ff2]=_0x141aef[_0x2a1ff2]);}return _0x5f11f4;},_0x43498d[_0x5e04cc(0x1f5)](this,arguments);},_0x1891fa=function(_0x552d93,_0x221d1e){const _0xb320c9=_0x2ef9d4;var _0xae4483={};for(var _0x11c3e7 in _0x552d93)Object[_0xb320c9(0x41c)][_0xb320c9(0x419)][_0xb320c9(0x380)](_0x552d93,_0x11c3e7)&&_0x221d1e[_0xb320c9(0x233)](_0x11c3e7)<0x0&&(_0xae4483[_0x11c3e7]=_0x552d93[_0x11c3e7]);if(_0x552d93!=null&&typeof Object[_0xb320c9(0x427)]==_0xb320c9(0x452)){for(var _0x5945b9=0x0,_0x11c3e7=Object[_0xb320c9(0x427)](_0x552d93);_0x5945b9<_0x11c3e7['length'];_0x5945b9++)_0x221d1e[_0xb320c9(0x233)](_0x11c3e7[_0x5945b9])<0x0&&Object[_0xb320c9(0x41c)]['propertyIsEnumerable'][_0xb320c9(0x380)](_0x552d93,_0x11c3e7[_0x5945b9])&&(_0xae4483[_0x11c3e7[_0x5945b9]]=_0x552d93[_0x11c3e7[_0x5945b9]]);}return _0xae4483;},_0x3bee8a=_0xbb6667[_0x2ef9d4(0x32e)](function(_0x4c4ddc,_0x170509){const _0x334aa4=_0x2ef9d4;var _0x112278=_0x4c4ddc[_0x334aa4(0x442)],_0xdd5649=_0x4c4ddc['id'],_0x131434=_0x4c4ddc['className'],_0x1df174=_0x4c4ddc[_0x334aa4(0x44c)],_0x5653c9=_0x1891fa(_0x4c4ddc,[_0x334aa4(0x442),'id',_0x334aa4(0x3cc),_0x334aa4(0x44c)]),_0x35425f='univerjs-icon\x20univerjs-icon-'[_0x334aa4(0x2be)](_0xdd5649,'\x20')[_0x334aa4(0x2be)](_0x131434||'')['trim'](),_0x486019=_0xbb6667[_0x334aa4(0x3e6)]('_'[_0x334aa4(0x2be)](_0xbffb01()));return _0x592dbe(_0x112278,''[_0x334aa4(0x2be)](_0xdd5649),{'defIds':_0x112278['defIds'],'idSuffix':_0x486019[_0x334aa4(0x2e5)]},_0x43498d({'ref':_0x170509,'className':_0x35425f},_0x5653c9),_0x1df174);});function _0x592dbe(_0x50d81f,_0x2e2d32,_0x17a2a2,_0x4f63c5,_0xec1622){const _0x3c01b1=_0x2ef9d4;return _0xbb6667['createElement'](_0x50d81f[_0x3c01b1(0x367)],_0x43498d(_0x43498d({'key':_0x2e2d32},_0x44d0e9(_0x50d81f,_0x17a2a2,_0xec1622)),_0x4f63c5),(_0x2e4243(_0x50d81f,_0x17a2a2)[_0x3c01b1(0x207)]||[])[_0x3c01b1(0x3ce)](function(_0x11814e,_0x57108f){const _0x37f1b1=_0x3c01b1;return _0x592dbe(_0x11814e,''[_0x37f1b1(0x2be)](_0x2e2d32,'-')['concat'](_0x50d81f['tag'],'-')[_0x37f1b1(0x2be)](_0x57108f),_0x17a2a2,void 0x0,_0xec1622);}));}function _0x44d0e9(_0x19261c,_0x403e61,_0x219782){const _0x67d8b5=_0x2ef9d4;var _0x283e12=_0x43498d({},_0x19261c[_0x67d8b5(0x358)]);_0x219782!=null&&_0x219782[_0x67d8b5(0x1de)]&&_0x283e12['fill']===_0x67d8b5(0x1de)&&(_0x283e12[_0x67d8b5(0x370)]=_0x219782['colorChannel1']),_0x19261c[_0x67d8b5(0x367)]===_0x67d8b5(0x275)&&_0x283e12['id']&&(_0x283e12['id']=_0x283e12['id']+_0x403e61[_0x67d8b5(0x294)]),Object['entries'](_0x283e12)[_0x67d8b5(0x323)](function(_0x14bd8e){const _0x46a0d8=_0x67d8b5;var _0x34c08d=_0x14bd8e[0x0],_0x2b99bf=_0x14bd8e[0x1];_0x34c08d==='mask'&&typeof _0x2b99bf=='string'&&(_0x283e12[_0x34c08d]=_0x2b99bf[_0x46a0d8(0x3d7)](/url\(#(.*)\)/,_0x46a0d8(0x3ab)[_0x46a0d8(0x2be)](_0x403e61[_0x46a0d8(0x294)],')')));});var _0x24cecc=_0x403e61[_0x67d8b5(0x432)];return!_0x24cecc||_0x24cecc['length']===0x0||(_0x19261c[_0x67d8b5(0x367)]==='use'&&_0x283e12[_0x67d8b5(0x3f4)]&&(_0x283e12[_0x67d8b5(0x3f4)]=_0x283e12[_0x67d8b5(0x3f4)]+_0x403e61[_0x67d8b5(0x294)]),Object[_0x67d8b5(0x411)](_0x283e12)[_0x67d8b5(0x323)](function(_0x25f673){const _0x3229fd=_0x67d8b5;var _0x5d56a9=_0x25f673[0x0],_0x1e8236=_0x25f673[0x1];typeof _0x1e8236==_0x3229fd(0x222)&&(_0x283e12[_0x5d56a9]=_0x1e8236[_0x3229fd(0x3d7)](/url\(#(.*)\)/,_0x3229fd(0x3ab)[_0x3229fd(0x2be)](_0x403e61[_0x3229fd(0x294)],')')));})),_0x283e12;}function _0x2e4243(_0x113ec6,_0x1f7ddd){const _0x336617=_0x2ef9d4;var _0x2b71b9,_0x57e1bd=_0x1f7ddd[_0x336617(0x432)];return!_0x57e1bd||_0x57e1bd['length']===0x0?_0x113ec6:_0x113ec6[_0x336617(0x367)]===_0x336617(0x423)&&(!((_0x2b71b9=_0x113ec6[_0x336617(0x207)])===null||_0x2b71b9===void 0x0)&&_0x2b71b9[_0x336617(0x291)])?_0x43498d(_0x43498d({},_0x113ec6),{'children':_0x113ec6['children'][_0x336617(0x3ce)](function(_0x5c71b5){const _0x4f62c3=_0x336617;return typeof _0x5c71b5[_0x4f62c3(0x358)]['id']==_0x4f62c3(0x222)&&_0x57e1bd&&_0x57e1bd[_0x4f62c3(0x368)](_0x5c71b5[_0x4f62c3(0x358)]['id'])?_0x43498d(_0x43498d({},_0x5c71b5),{'attrs':_0x43498d(_0x43498d({},_0x5c71b5[_0x4f62c3(0x358)]),{'id':_0x5c71b5[_0x4f62c3(0x358)]['id']+_0x1f7ddd[_0x4f62c3(0x294)]})}):_0x5c71b5;})}):_0x113ec6;}function _0xbffb01(){const _0x3de8cf=_0x2ef9d4;return Math[_0x3de8cf(0x46b)]()[_0x3de8cf(0x39a)](0x24)['substring'](0x2,0x8);}_0x3bee8a[_0x2ef9d4(0x25e)]=_0x2ef9d4(0x2b0);var _0x1282fd={'tag':'svg','attrs':{'xmlns':_0x2ef9d4(0x1e7),'fill':_0x2ef9d4(0x1f9),'viewBox':_0x2ef9d4(0x259),'width':_0x2ef9d4(0x364),'height':_0x2ef9d4(0x364)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ef9d4(0x2b8)},'children':[{'tag':_0x2ef9d4(0x397),'attrs':{'stroke':_0x2ef9d4(0x250),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x2ef9d4(0x2a0),'strokeWidth':1.2}}]},{'tag':_0x2ef9d4(0x423),'attrs':{},'children':[{'tag':_0x2ef9d4(0x1ff),'attrs':{'id':_0x2ef9d4(0x42a)},'children':[{'tag':_0x2ef9d4(0x397),'attrs':{'fill':_0x2ef9d4(0x347),'d':_0x2ef9d4(0x35f)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x405753=_0xbb6667[_0x2ef9d4(0x32e)](function(_0x3c28d0,_0x3295f7){const _0x32bf48=_0x2ef9d4;return _0xbb6667['createElement'](_0x3bee8a,Object['assign']({},_0x3c28d0,{'id':_0x32bf48(0x2c7),'ref':_0x3295f7,'icon':_0x1282fd}));});_0x405753['displayName']='OffLineIcon';var _0x57968e={'tag':_0x2ef9d4(0x2c6),'attrs':{'xmlns':_0x2ef9d4(0x1e7),'fill':_0x2ef9d4(0x1f9),'viewBox':_0x2ef9d4(0x3f0),'width':'1em','height':_0x2ef9d4(0x364)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ef9d4(0x26a)},'children':[{'tag':'path','attrs':{'stroke':_0x2ef9d4(0x250),'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':'round','strokeLinejoin':_0x2ef9d4(0x2a0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2ef9d4(0x1ff),'attrs':{'id':_0x2ef9d4(0x387)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2ef9d4(0x35f),'transform':_0x2ef9d4(0x30c)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5e73fd=_0xbb6667[_0x2ef9d4(0x32e)](function(_0x500452,_0x588f6a){const _0x311705=_0x2ef9d4;return _0xbb6667[_0x311705(0x2a2)](_0x3bee8a,Object[_0x311705(0x3b3)]({},_0x500452,{'id':'on-line-icon','ref':_0x588f6a,'icon':_0x57968e}));});_0x5e73fd['displayName']='OnLineIcon';function _0x3b6a32(_0xda87ee){const _0x3a55a4=_0x2ef9d4;switch(_0xda87ee){case _0x5ea283[_0x3a55a4(0x332)]['OFFLINE']:return'collabStatus.offline';case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x272)]:return _0x3a55a4(0x35c);case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x40f)]:return _0x3a55a4(0x1f2);case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x357)]:return _0x3a55a4(0x237);case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x279)]:case _0x5ea283[_0x3a55a4(0x332)]['AWAITING_WITH_PENDING']:return _0x3a55a4(0x2b1);case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x2fc)]:case _0x5ea283[_0x3a55a4(0x332)][_0x3a55a4(0x302)]:return _0x3a55a4(0x363);}}function _0x10a19e(_0x3b661d){const _0x28aa6b=_0x2ef9d4,{status$:_0xa2132c}=_0x3b661d,_0x2ff8da=_0x14cb12[_0x28aa6b(0x27f)](_0xa2132c,_0x5ea283[_0x28aa6b(0x332)]['NOT_COLLAB']),_0x27c0de=_0x14cb12[_0x28aa6b(0x376)](_0x9efe79[_0x28aa6b(0x3cf)]),_0x26e67b=_0x14cb12[_0x28aa6b(0x376)](_0x5ea283[_0x28aa6b(0x3fa)]),_0x588e12=_0x2ff8da!==_0x5ea283[_0x28aa6b(0x332)][_0x28aa6b(0x1d6)],_0x27a00c=_0x27c0de['t'](_0x3b6a32(_0x2ff8da)),_0x462a43=_0x588e12?_0x325499[_0x28aa6b(0x37f)](_0x5e73fd,{}):_0x325499[_0x28aa6b(0x37f)](_0x405753,{}),_0x5a5c4c=_0xbb6667['useCallback'](()=>{const _0x1469a9=_0x28aa6b;_0x588e12||_0x26e67b[_0x1469a9(0x2c1)]();},[_0x588e12,_0x26e67b]);function _0x2931c5(){const _0x3f6c15=_0x28aa6b;return _0x325499[_0x3f6c15(0x1f6)](_0x3f6c15(0x3c0),{'className':_0x3f6c15(0x362),'onClick':_0x5a5c4c,'children':[_0x325499['jsx'](_0x3f6c15(0x3c0),{'className':_0x17e47b['clsx'](_0x3f6c15(0x309),{'univer-text-green-500':_0x588e12,'univer-text-red-500':!_0x588e12}),'children':_0x462a43}),_0x325499[_0x3f6c15(0x37f)](_0x3f6c15(0x3c0),{'className':_0x3f6c15(0x41a),'children':_0x27a00c})]});}return _0x588e12?_0x2931c5():_0x325499[_0x28aa6b(0x37f)](_0x17e47b[_0x28aa6b(0x46a)],{'title':_0x27c0de['t'](_0x28aa6b(0x451)),'children':_0x2931c5()});}var _0x2ce216=Object[_0x2ef9d4(0x338)],_0x445d04=(_0x40ca79,_0xf641da,_0x43aa3,_0x18d336)=>{const _0x4da2ad=_0x2ef9d4;for(var _0x5ab7bd=_0x18d336>0x1?void 0x0:_0x18d336?_0x2ce216(_0xf641da,_0x43aa3):_0xf641da,_0x3f1114=_0x40ca79[_0x4da2ad(0x291)]-0x1,_0x2af6ed;_0x3f1114>=0x0;_0x3f1114--)(_0x2af6ed=_0x40ca79[_0x3f1114])&&(_0x5ab7bd=_0x2af6ed(_0x5ab7bd)||_0x5ab7bd);return _0x5ab7bd;},_0x257897=(_0x11d7b5,_0x16d418)=>(_0x4bea20,_0x374a3e)=>_0x16d418(_0x4bea20,_0x374a3e,_0x11d7b5);_0x4414de[_0x2ef9d4(0x2cc)]=class extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(_0x2edc72,_0x3cc871,_0xd45215,_0x79de37){const _0x57d32a=_0x2ef9d4;super(),_0xcb4086(this,'_status$',new _0x41dc47['BehaviorSubject'](_0x5ea283[_0x57d32a(0x332)][_0x57d32a(0x357)])),(this[_0x57d32a(0x45b)]=_0x2edc72,this[_0x57d32a(0x45f)]=_0x3cc871,this[_0x57d32a(0x253)]=_0xd45215,this[_0x57d32a(0x2bb)]=_0x79de37,this[_0x57d32a(0x434)](),this[_0x57d32a(0x3c4)]());}['_initStatusListener'](){const _0x212109=_0x2ef9d4;this[_0x212109(0x448)](this[_0x212109(0x45b)][_0x212109(0x43c)][_0x212109(0x3d2)](_0x41dc47[_0x212109(0x435)](()=>{const _0x21b7d=_0x212109,_0x110469=this['_univerInstanceService']['getFocusedUnit']();return _0x110469?this[_0x21b7d(0x253)][_0x21b7d(0x33f)](_0x110469['getUnitId']()):_0x41dc47['of'](null);}),_0x41dc47['switchMap'](_0x5b53a0=>_0x5b53a0?_0x5b53a0[_0x212109(0x415)]:_0x41dc47['of'](_0x5ea283['CollaborationStatus'][_0x212109(0x357)])))[_0x212109(0x3db)](_0x549bae=>{const _0x1a638e=_0x212109;this[_0x1a638e(0x22a)]['next'](_0x549bae);}));}[_0x2ef9d4(0x434)](){const _0x5af317=_0x2ef9d4;this[_0x5af317(0x448)](this[_0x5af317(0x2bb)][_0x5af317(0x238)](_0x14cb12[_0x5af317(0x282)][_0x5af317(0x2d4)],()=>_0x14cb12['connectInjector'](_0x470446({'status$':this[_0x5af317(0x22a)]['asObservable']()}),this['_injector'])));}},_0x4414de['DesktopCollaborationStatusDisplayController']=_0x445d04([_0x257897(0x0,_0x9efe79['IUniverInstanceService']),_0x257897(0x1,_0x9efe79['Inject'](_0x9efe79[_0x2ef9d4(0x412)])),_0x257897(0x2,_0x9efe79['Inject'](_0x5ea283[_0x2ef9d4(0x43a)])),_0x257897(0x3,_0x14cb12[_0x2ef9d4(0x369)])],_0x4414de[_0x2ef9d4(0x2cc)]);function _0x470446(_0x33de8d){const {status$:_0x32ad13}=_0x33de8d;return function(){const _0x15954a=_0x4423;return _0x325499[_0x15954a(0x37f)](_0x10a19e,{'status$':_0x32ad13});};}var _0x7d4cca=Object['getOwnPropertyDescriptor'],_0x341263=(_0x5e100b,_0x2d7329,_0xfe49eb,_0x475576)=>{const _0x374a61=_0x2ef9d4;for(var _0x13585a=_0x475576>0x1?void 0x0:_0x475576?_0x7d4cca(_0x2d7329,_0xfe49eb):_0x2d7329,_0x32df47=_0x5e100b[_0x374a61(0x291)]-0x1,_0x12a318;_0x32df47>=0x0;_0x32df47--)(_0x12a318=_0x5e100b[_0x32df47])&&(_0x13585a=_0x12a318(_0x13585a)||_0x13585a);return _0x13585a;},_0xad3d77=(_0x20844b,_0x40902d)=>(_0x3fa0b3,_0x4ed964)=>_0x40902d(_0x3fa0b3,_0x4ed964,_0x20844b);let _0xf04d9b=class extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(_0xba0c89,_0x2d1e55,_0x20245d,_0xf15729,_0x1e38fe,_0x481953){const _0x105187=_0x2ef9d4;super(),this['_beforeCloseService']=_0xba0c89,this[_0x105187(0x28e)]=_0x2d1e55,this['_collaborationUIEventService']=_0x20245d,this[_0x105187(0x402)]=_0xf15729,this[_0x105187(0x254)]=_0x1e38fe,this[_0x105187(0x3bd)]=_0x481953,this[_0x105187(0x35d)](),this[_0x105187(0x46d)]();}[_0x2ef9d4(0x35d)](){const _0x182d41=_0x2ef9d4;this[_0x182d41(0x448)](this['_beforeCloseService'][_0x182d41(0x22d)](()=>{const _0x3d9935=_0x182d41;if(this[_0x3d9935(0x28e)][_0x3d9935(0x1d9)][_0x3d9935(0x32c)])return this[_0x3d9935(0x3bd)]['t'](_0x3d9935(0x2a7));}));}['_initEvent'](){const _0x1c6a6d=_0x2ef9d4;this[_0x1c6a6d(0x448)](this[_0x1c6a6d(0x1f3)][_0x1c6a6d(0x215)][_0x1c6a6d(0x3db)](_0x2d4365=>{const _0x3c2528=_0x1c6a6d;_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)]['OTHER_CLIENT_EDITING']&&this[_0x3c2528(0x402)]['show']({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x433)],'content':this[_0x3c2528(0x3bd)]['t'](_0x3c2528(0x3e8))}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)]['CLOSE_ROOM']&&this[_0x3c2528(0x402)][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x433)],'content':this['_localeService']['t'](_0x3c2528(0x34d))}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)][_0x3c2528(0x447)]&&this[_0x3c2528(0x254)][_0x3c2528(0x1e9)]({'title':this[_0x3c2528(0x3bd)]['t'](_0x3c2528(0x1f7)),'content':this['_localeService']['t'](_0x3c2528(0x3ea)),'type':_0x3c2528(0x1e8),'duration':0x0}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)][_0x3c2528(0x272)]&&this[_0x3c2528(0x402)][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x1fd)],'content':this['_localeService']['t'](_0x3c2528(0x34d))+'('+_0x2d4365['data']+')'}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)][_0x3c2528(0x3ee)]&&this[_0x3c2528(0x402)][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x433)],'content':this[_0x3c2528(0x3bd)]['t'](_0x2d4365[_0x3c2528(0x458)]||'')}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x433)],'content':this['_localeService']['t'](_0x3c2528(0x24a))}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)]['SOCKET_FAILED']&&this[_0x3c2528(0x402)][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x1fd)],'content':this[_0x3c2528(0x3bd)]['t'](_0x3c2528(0x2b4))}),_0x2d4365['id']===_0x5ea283[_0x3c2528(0x21b)][_0x3c2528(0x35a)]&&this[_0x3c2528(0x402)][_0x3c2528(0x1e9)]({'type':_0x17e47b[_0x3c2528(0x396)][_0x3c2528(0x1fd)],'content':this[_0x3c2528(0x3bd)]['t'](_0x3c2528(0x3d4))});}));}};_0xf04d9b=_0x341263([_0xad3d77(0x0,_0x14cb12[_0x2ef9d4(0x235)]),_0xad3d77(0x1,_0x5ea283['ILocalCacheService']),_0xad3d77(0x2,_0x9efe79['Inject'](_0x5ea283['CollaborationUIEventService'])),_0xad3d77(0x3,_0x14cb12['IMessageService']),_0xad3d77(0x4,_0x14cb12[_0x2ef9d4(0x27d)]),_0xad3d77(0x5,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x3cf)]))],_0xf04d9b);const _0x4443a1=_0x2ef9d4(0x39b),_0x27f6ed={},_0x44dee4=_0x9efe79[_0x2ef9d4(0x45e)]('uni.network.url-service');var _0x37f5ba=Object[_0x2ef9d4(0x338)],_0x36dff8=(_0x14f997,_0xb37396,_0x71802a,_0x4c7586)=>{const _0x7d4e30=_0x2ef9d4;for(var _0x358a96=_0x4c7586>0x1?void 0x0:_0x4c7586?_0x37f5ba(_0xb37396,_0x71802a):_0xb37396,_0x141c20=_0x14f997[_0x7d4e30(0x291)]-0x1,_0x2f4c41;_0x141c20>=0x0;_0x141c20--)(_0x2f4c41=_0x14f997[_0x141c20])&&(_0x358a96=_0x2f4c41(_0x358a96)||_0x358a96);return _0x358a96;},_0x3d7a13=(_0xe4df83,_0x526428)=>(_0x4f95ef,_0x165ffd)=>_0x526428(_0x4f95ef,_0x165ffd,_0xe4df83);_0x4414de[_0x2ef9d4(0x430)]=class extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(_0x4c3fcd,_0x1bccff,_0x2722d7,_0x503f4f,_0x384787){const _0x5d8fc0=_0x2ef9d4;super(),this[_0x5d8fc0(0x36b)]=_0x4c3fcd,this[_0x5d8fc0(0x3d6)]=_0x1bccff,this['_commandService']=_0x2722d7,this[_0x5d8fc0(0x2fa)]=_0x503f4f,_0x384787?_0x384787==null||_0x384787[_0x5d8fc0(0x27e)]()[_0x5d8fc0(0x27b)](()=>this[_0x5d8fc0(0x20b)]()):(this[_0x5d8fc0(0x3d6)][_0x5d8fc0(0x3c2)]('[CollaborationDataLoaderController]',_0x5d8fc0(0x2e3)),this[_0x5d8fc0(0x20b)]());}async['_init'](){const _0x4a5218=_0x2ef9d4,_0x3a7f4c=this[_0x4a5218(0x36b)][_0x4a5218(0x2a5)](_0x4a5218(0x3ba)),_0x5ef313=this[_0x4a5218(0x36b)]['getParam'](_0x4a5218(0x1d2)),_0x5cef10=this[_0x4a5218(0x36b)][_0x4a5218(0x2a5)](_0x4a5218(0x230));if(!_0x3a7f4c||!_0x5ef313){this[_0x4a5218(0x3d6)]['debug']('[CollaborationDataLoaderController]',_0x4a5218(0x334));return;}const _0x26dcdd=await this[_0x4a5218(0x2fa)][_0x4a5218(0x1e4)](_0x3a7f4c,Number(_0x5ef313),_0x5cef10);_0x26dcdd&&_0x26dcdd instanceof _0x9efe79[_0x4a5218(0x2c8)]&&this['_setupSubUnitSync'](_0x26dcdd);}async[_0x2ef9d4(0x304)](_0x1d0f18){const _0x2ea045=_0x2ef9d4;await this[_0x2ea045(0x23c)](_0x1d0f18),_0x1d0f18['activeSheet$'][_0x2ea045(0x3d2)](_0x41dc47[_0x2ea045(0x307)](this[_0x2ea045(0x21c)]))[_0x2ea045(0x3db)](_0x4119aa=>{_0x4119aa&&this['_updateURLWithCurrentState'](_0x4119aa);}),this[_0x2ea045(0x36b)]['urlChange$'][_0x2ea045(0x3d2)](_0x41dc47[_0x2ea045(0x307)](this[_0x2ea045(0x21c)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1d0f18));}['_updateURLWithCurrentState'](_0x10841d,_0xf07c67=!0x1){const _0x5e569b=_0x2ef9d4,_0x2f6db2=this['_urlService'][_0x5e569b(0x2a5)](_0x5e569b(0x230));_0x10841d[_0x5e569b(0x1dc)]()!==_0x2f6db2&&this[_0x5e569b(0x36b)][_0x5e569b(0x28b)](_0x5e569b(0x230),_0x10841d[_0x5e569b(0x1dc)](),_0xf07c67);}async[_0x2ef9d4(0x23c)](_0x1919fc){const _0x5a7d89=_0x2ef9d4;var _0x37a542;const _0x2c902a=this[_0x5a7d89(0x36b)][_0x5a7d89(0x2a5)](_0x5a7d89(0x230));if(!_0x2c902a||!_0x1919fc[_0x5a7d89(0x270)](_0x2c902a)){const _0x1357db=_0x1919fc[_0x5a7d89(0x39e)]()[0x0],_0x3ec159=_0x1919fc[_0x5a7d89(0x270)](_0x1357db);if(!_0x3ec159)return;this[_0x5a7d89(0x3ed)](_0x3ec159,!0x0),await this[_0x5a7d89(0x405)][_0x5a7d89(0x308)](_0x5e6e1d[_0x5a7d89(0x2e7)]['id'],{'unitId':_0x1919fc['getUnitId'](),'subUnitId':_0x1357db});return;}((_0x37a542=_0x1919fc[_0x5a7d89(0x31a)]())==null?void 0x0:_0x37a542[_0x5a7d89(0x1dc)]())!==_0x2c902a&&await this[_0x5a7d89(0x405)][_0x5a7d89(0x308)](_0x5e6e1d[_0x5a7d89(0x2e7)]['id'],{'unitId':_0x1919fc[_0x5a7d89(0x256)](),'subUnitId':_0x2c902a});}},_0x4414de[_0x2ef9d4(0x430)]=_0x36dff8([_0x3d7a13(0x0,_0x44dee4),_0x3d7a13(0x1,_0x9efe79['ILogService']),_0x3d7a13(0x2,_0x9efe79[_0x2ef9d4(0x43d)]),_0x3d7a13(0x3,_0x9efe79[_0x2ef9d4(0x202)](_0x5ea283[_0x2ef9d4(0x407)])),_0x3d7a13(0x4,_0x9efe79[_0x2ef9d4(0x242)](_0x4b831a[_0x2ef9d4(0x26b)]))],_0x4414de[_0x2ef9d4(0x430)]);var _0x430718=Object['getOwnPropertyDescriptor'],_0x454a12=(_0x545ff7,_0x2b1459,_0x19d4b2,_0x58fd61)=>{const _0x16ee1d=_0x2ef9d4;for(var _0x34dd15=_0x58fd61>0x1?void 0x0:_0x58fd61?_0x430718(_0x2b1459,_0x19d4b2):_0x2b1459,_0x2f70c2=_0x545ff7[_0x16ee1d(0x291)]-0x1,_0x2d27e8;_0x2f70c2>=0x0;_0x2f70c2--)(_0x2d27e8=_0x545ff7[_0x2f70c2])&&(_0x34dd15=_0x2d27e8(_0x34dd15)||_0x34dd15);return _0x34dd15;},_0xc894b=(_0x3caab7,_0x5229ca)=>(_0x4e98c9,_0x57f9f5)=>_0x5229ca(_0x4e98c9,_0x57f9f5,_0x3caab7);let _0x7449c2=class{constructor(_0x3b0bca,_0x17195b){const _0x577e66=_0x2ef9d4;this['_transformService']=_0x3b0bca,this[_0x577e66(0x3c1)]=_0x17195b;}[_0x2ef9d4(0x3d5)](_0x5cb90c){const _0x4b3568=_0x2ef9d4;this[_0x4b3568(0x355)](_0x5cb90c),this['_transformPreviousActiveRange'](_0x5cb90c);}[_0x2ef9d4(0x3ac)](_0x5ac60d){const _0x58ecaa=_0x2ef9d4,{unitID:_0x2ae955}=_0x5ac60d,_0x258d6e=this[_0x58ecaa(0x3c1)]['getRenderById'](_0x2ae955)[_0x58ecaa(0x209)](_0x51d6ac['DocIMEInputManagerService']),{redoCache:_0x3195d8}=_0x258d6e['getUndoRedoMutationParamsCache']();if(_0x3195d8['length']===0x0)return _0x5ac60d;let _0x45f5d5=_0x9efe79['Tools'][_0x58ecaa(0x373)](_0x5ac60d[_0x58ecaa(0x3c3)][0x0]);for(let _0x490660=0x0;_0x490660<_0x3195d8[_0x58ecaa(0x291)];_0x490660++){const _0x20f973={'id':_0x58ecaa(0x299),'params':{..._0x3195d8[_0x490660]}},_0x58a2cf=this[_0x58ecaa(0x36d)][_0x58ecaa(0x2e1)](_0x45f5d5,_0x20f973,!0x1);if(_0x14883c[_0x58ecaa(0x385)](_0x58a2cf))throw _0x58a2cf[_0x58ecaa(0x1e8)];_0x45f5d5=_0x58a2cf['m1Prime'];}return{..._0x9efe79[_0x58ecaa(0x44e)][_0x58ecaa(0x373)](_0x5ac60d),'mutations':[_0x45f5d5]};}['_transformUndoRedoStack'](_0x11c599){const _0x4e97dc=_0x2ef9d4,{unitID:_0x51fd4e}=_0x11c599,_0x209cad=this['_renderManagerService'][_0x4e97dc(0x45a)](_0x51fd4e)[_0x4e97dc(0x209)](_0x51d6ac[_0x4e97dc(0x25a)]),{undoCache:_0x5771ec,redoCache:_0x509fd2}=_0x209cad[_0x4e97dc(0x335)]();if(_0x5771ec[_0x4e97dc(0x291)]===0x0||_0x509fd2[_0x4e97dc(0x291)]===0x0)return;const _0x2bc2a4=[],_0x11ce35=[];let _0x3df294=_0x9efe79[_0x4e97dc(0x44e)][_0x4e97dc(0x373)](_0x11c599[_0x4e97dc(0x3c3)][0x0]),_0x4cbc8c=_0x9efe79['Tools'][_0x4e97dc(0x373)](_0x11c599[_0x4e97dc(0x3c3)][0x0]);for(let _0x1e4cd0=_0x5771ec[_0x4e97dc(0x291)]-0x1;_0x1e4cd0>=0x0;_0x1e4cd0--){const _0xfe55={'id':'doc.mutation.rich-text-editing','params':{..._0x5771ec[_0x1e4cd0]}},_0x23522a={'id':_0x4e97dc(0x299),'params':{..._0x509fd2[_0x1e4cd0]}},_0xea581=this['_transformService'][_0x4e97dc(0x2e1)](_0x3df294,_0xfe55,!0x1),_0x32c3f5=this[_0x4e97dc(0x36d)]['transformMutation'](_0x4cbc8c,_0x23522a,!0x1);if(_0x14883c['isTransformMutationFailure'](_0xea581))throw _0xea581[_0x4e97dc(0x1e8)];if(_0x14883c[_0x4e97dc(0x385)](_0x32c3f5))throw _0x32c3f5[_0x4e97dc(0x1e8)];_0x2bc2a4[_0x4e97dc(0x36f)](_0xea581[_0x4e97dc(0x1f0)][_0x4e97dc(0x34a)]),_0x11ce35[_0x4e97dc(0x36f)](_0x32c3f5['m2Prime'][_0x4e97dc(0x34a)]),_0x3df294=_0xea581['m1Prime'],_0x4cbc8c=_0x32c3f5[_0x4e97dc(0x2ab)];}_0x209cad[_0x4e97dc(0x24e)]({'undoCache':_0x2bc2a4,'redoCache':_0x11ce35});}[_0x2ef9d4(0x2dc)](_0x36f46c){const _0x6f1ef6=_0x2ef9d4,{unitID:_0x2eede9}=_0x36f46c,_0x314cea=this[_0x6f1ef6(0x3c1)][_0x6f1ef6(0x45a)](_0x2eede9)['with'](_0x51d6ac[_0x6f1ef6(0x25a)]),_0x10c59c=_0x314cea[_0x6f1ef6(0x3eb)]();if(_0x10c59c==null)return;const _0x40e9f8=[{'id':_0x6f1ef6(0x299),'params':{'unitId':_0x36f46c[_0x6f1ef6(0x296)],'actions':null,'textRanges':[_0x10c59c]}}],_0x5ed319=this[_0x6f1ef6(0x36d)][_0x6f1ef6(0x1d5)](_0x36f46c,_0x40e9f8);if(!_0x14883c[_0x6f1ef6(0x20f)](_0x5ed319))throw _0x5ed319[_0x6f1ef6(0x1e8)];const _0x615c41=_0x5ed319['m2Prime'][0x0]['params']['textRanges'];Array[_0x6f1ef6(0x29e)](_0x615c41)&&_0x615c41[_0x6f1ef6(0x291)]&&_0x314cea[_0x6f1ef6(0x3e1)](_0x615c41[0x0]);}};_0x7449c2=_0x454a12([_0xc894b(0x0,_0x14883c[_0x2ef9d4(0x378)]),_0xc894b(0x1,_0x20c736[_0x2ef9d4(0x2ec)])],_0x7449c2);var _0x1a1a58=Object[_0x2ef9d4(0x338)],_0x56ab3d=(_0x5d4697,_0x2b6ff3,_0x52a1b1,_0xc95ba7)=>{const _0x1e49b6=_0x2ef9d4;for(var _0x4d6920=_0xc95ba7>0x1?void 0x0:_0xc95ba7?_0x1a1a58(_0x2b6ff3,_0x52a1b1):_0x2b6ff3,_0xe1bb6e=_0x5d4697[_0x1e49b6(0x291)]-0x1,_0x1a4116;_0xe1bb6e>=0x0;_0xe1bb6e--)(_0x1a4116=_0x5d4697[_0xe1bb6e])&&(_0x4d6920=_0x1a4116(_0x4d6920)||_0x4d6920);return _0x4d6920;},_0x53b2a3=(_0x4a100d,_0x230e42)=>(_0x27593d,_0x39f778)=>_0x230e42(_0x27593d,_0x39f778,_0x4a100d);let _0x49f0f9=class{constructor(_0x5ef420,_0x73659,_0x163731){const _0x1b41cf=_0x2ef9d4;this['_injector']=_0x5ef420,this[_0x1b41cf(0x36d)]=_0x73659,this[_0x1b41cf(0x2c9)]=_0x163731;}[_0x2ef9d4(0x255)](_0x1dc679){const _0xd8cd1d=_0x2ef9d4;this[_0xd8cd1d(0x3c5)](_0x1dc679);}[_0x2ef9d4(0x3ac)](_0x1135ed){const _0x2ec379=_0x2ef9d4,{unitID:_0x2dbfed}=_0x1135ed,{collaboration:_0x342119}=this[_0x2ec379(0x2c9)][_0x2ec379(0x3e3)](_0x2dbfed);if(_0x342119[_0x2ec379(0x291)]===0x0)return _0x1135ed;let _0x4dcc33=_0x9efe79['Tools'][_0x2ec379(0x373)](_0x1135ed[_0x2ec379(0x3c3)][0x0]);for(let _0x51cb2a=0x0;_0x51cb2a<_0x342119[_0x2ec379(0x291)];_0x51cb2a++){const _0x3de673={'id':_0x2ec379(0x299),'params':{'unitId':_0x342119[_0x51cb2a][_0x2ec379(0x3cb)],..._0x342119[_0x51cb2a][_0x2ec379(0x1d7)]}},_0x31f899=this['_transformService'][_0x2ec379(0x2e1)](_0x4dcc33,_0x3de673,!0x1);if(_0x14883c[_0x2ec379(0x385)](_0x31f899))throw _0x31f899[_0x2ec379(0x1e8)];_0x4dcc33=_0x31f899[_0x2ec379(0x2ab)];}return{..._0x9efe79[_0x2ec379(0x44e)][_0x2ec379(0x373)](_0x1135ed),'mutations':[_0x4dcc33]};}[_0x2ef9d4(0x3c5)](_0x2db13b){const _0x327438=_0x2ef9d4,{unitID:_0x311cd8}=_0x2db13b,{history:_0x4df57a,collaboration:_0x1f3a3d}=this[_0x327438(0x2c9)][_0x327438(0x3e3)](_0x311cd8);if(_0x4df57a[_0x327438(0x291)]===0x0&&_0x1f3a3d[_0x327438(0x291)]===0x0)return;const _0x37be88=[],_0xdc042c=[];let _0xbb35f3=_0x9efe79['Tools'][_0x327438(0x373)](_0x2db13b[_0x327438(0x3c3)][0x0]),_0x5ecfa7=_0x9efe79[_0x327438(0x44e)][_0x327438(0x373)](_0x2db13b[_0x327438(0x3c3)][0x0]);for(let _0x5413a9=_0x4df57a[_0x327438(0x291)]-0x1;_0x5413a9>=0x0;_0x5413a9--){const _0x4f5dd6={'id':_0x327438(0x299),'params':{'unitId':_0x4df57a[_0x5413a9][_0x327438(0x3cb)],..._0x4df57a[_0x5413a9][_0x327438(0x43e)]}},_0x19cdb4={'id':_0x327438(0x299),'params':{'unitId':_0x4df57a[_0x5413a9][_0x327438(0x3cb)],..._0x4df57a[_0x5413a9][_0x327438(0x1d7)]}},_0x1cc7c7=this[_0x327438(0x36d)][_0x327438(0x2e1)](_0xbb35f3,_0x4f5dd6,!0x1),_0x4defda=this[_0x327438(0x36d)][_0x327438(0x2e1)](_0x5ecfa7,_0x19cdb4,!0x1);if(_0x14883c['isTransformMutationFailure'](_0x1cc7c7))throw _0x1cc7c7[_0x327438(0x1e8)];if(_0x14883c[_0x327438(0x385)](_0x4defda))throw _0x4defda[_0x327438(0x1e8)];_0x37be88[_0x327438(0x36f)]({..._0x4df57a[_0x5413a9],'undoState':_0x1cc7c7[_0x327438(0x1f0)][_0x327438(0x34a)],'redoState':_0x4defda['m2Prime'][_0x327438(0x34a)]}),_0xbb35f3=_0x1cc7c7[_0x327438(0x2ab)],_0x5ecfa7=_0x4defda['m1Prime'];}_0xbb35f3=_0x9efe79['Tools']['deepClone'](_0x2db13b['mutations'][0x0]),_0x5ecfa7=_0x9efe79[_0x327438(0x44e)][_0x327438(0x373)](_0x2db13b[_0x327438(0x3c3)][0x0]);for(let _0x88f478=_0x1f3a3d[_0x327438(0x291)]-0x1;_0x88f478>=0x0;_0x88f478--){const _0x53ffa8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f3a3d[_0x88f478][_0x327438(0x3cb)],..._0x1f3a3d[_0x88f478]['undoState']}},_0x3c69eb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f3a3d[_0x88f478]['unitId'],..._0x1f3a3d[_0x88f478][_0x327438(0x1d7)]}},_0x19aa6c=this[_0x327438(0x36d)][_0x327438(0x2e1)](_0xbb35f3,_0x53ffa8,!0x1),_0x3f1a0f=this[_0x327438(0x36d)]['transformMutation'](_0x5ecfa7,_0x3c69eb,!0x1);if(_0x14883c['isTransformMutationFailure'](_0x19aa6c))throw _0x19aa6c['error'];if(_0x14883c[_0x327438(0x385)](_0x3f1a0f))throw _0x3f1a0f[_0x327438(0x1e8)];_0xdc042c[_0x327438(0x36f)]({..._0x1f3a3d[_0x88f478],'undoState':_0x19aa6c[_0x327438(0x1f0)]['params'],'redoState':_0x3f1a0f[_0x327438(0x1f0)][_0x327438(0x34a)]}),_0xbb35f3=_0x19aa6c[_0x327438(0x2ab)],_0x5ecfa7=_0x3f1a0f['m1Prime'];}this['_docStateChangeManagerService'][_0x327438(0x3d8)](_0x311cd8,{'history':_0x37be88,'collaboration':_0xdc042c});}};_0x49f0f9=_0x56ab3d([_0x53b2a3(0x0,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x412)])),_0x53b2a3(0x1,_0x14883c[_0x2ef9d4(0x378)]),_0x53b2a3(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x51d6ac[_0x2ef9d4(0x1d0)]))],_0x49f0f9);var _0x226e1f=Object[_0x2ef9d4(0x338)],_0x459a94=(_0x36d9fd,_0x22a77c,_0x1e6c38,_0x56f7e1)=>{for(var _0x19de50=_0x56f7e1>0x1?void 0x0:_0x56f7e1?_0x226e1f(_0x22a77c,_0x1e6c38):_0x22a77c,_0x23ff36=_0x36d9fd['length']-0x1,_0x20ef13;_0x23ff36>=0x0;_0x23ff36--)(_0x20ef13=_0x36d9fd[_0x23ff36])&&(_0x19de50=_0x20ef13(_0x19de50)||_0x19de50);return _0x19de50;},_0x495d68=(_0x3cb6bd,_0x1e9611)=>(_0x193f29,_0x4b6ac8)=>_0x1e9611(_0x193f29,_0x4b6ac8,_0x3cb6bd);let _0x2eda85=class{constructor(_0x22e7ef,_0x805f93){this['_injector']=_0x22e7ef,this['_transformService']=_0x805f93;}['transformSelections'](_0x429a60){const _0x5bf7e4=_0x2ef9d4;var _0x370d6b;const _0x226c8b=this[_0x5bf7e4(0x45f)][_0x5bf7e4(0x284)](_0x30c6d1[_0x5bf7e4(0x34f)]),_0x1850e0=(_0x370d6b=_0x226c8b['getDocRanges']())!=null?_0x370d6b:[];if(_0x1850e0[_0x5bf7e4(0x291)]===0x0)return;const _0x5edf11=_0x429a60[_0x5bf7e4(0x296)],_0x41447c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5edf11,'actions':null,'textRanges':_0x1850e0}}],_0x361f2f=this[_0x5bf7e4(0x36d)]['transformMutationsWithChangeset'](_0x429a60,_0x41447c);if(!_0x14883c[_0x5bf7e4(0x20f)](_0x361f2f))throw _0x361f2f['error'];const _0x4379bc=_0x361f2f[_0x5bf7e4(0x1f0)][0x0][_0x5bf7e4(0x34a)][_0x5bf7e4(0x444)];Array['isArray'](_0x4379bc)&&_0x4379bc[_0x5bf7e4(0x291)]&&_0x226c8b[_0x5bf7e4(0x34c)](_0x4379bc,{'unitId':_0x5edf11,'subUnitId':_0x5edf11},!0x1);}};_0x2eda85=_0x459a94([_0x495d68(0x0,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x412)])),_0x495d68(0x1,_0x14883c[_0x2ef9d4(0x378)])],_0x2eda85);var _0x1e84c9=Object[_0x2ef9d4(0x338)],_0x3d9b91=(_0x44e26b,_0x5b3699,_0x550867,_0x380530)=>{for(var _0x35aa5d=_0x380530>0x1?void 0x0:_0x380530?_0x1e84c9(_0x5b3699,_0x550867):_0x5b3699,_0x316b0b=_0x44e26b['length']-0x1,_0x693d72;_0x316b0b>=0x0;_0x316b0b--)(_0x693d72=_0x44e26b[_0x316b0b])&&(_0x35aa5d=_0x693d72(_0x35aa5d)||_0x35aa5d);return _0x35aa5d;},_0x254437=(_0x276523,_0x1e7c12)=>(_0x20ff95,_0xac633f)=>_0x1e7c12(_0x20ff95,_0xac633f,_0x276523);let _0x3461c0=class extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(_0xfe1ea4,_0x4c59ab,_0x223ff4,_0x3b454e,_0x27414e,_0x2f173a,_0x3a63fa,_0x49154f){const _0x3f650f=_0x2ef9d4;super(),_0xcb4086(this,'_status$',new _0x41dc47[(_0x3f650f(0x245))](_0x5ea283[_0x3f650f(0x332)][_0x3f650f(0x357)])),(this['_docStateChangeManagerService']=_0xfe1ea4,this[_0x3f650f(0x253)]=_0x4c59ab,this['_docTransformIMECacheService']=_0x223ff4,this[_0x3f650f(0x2d3)]=_0x3b454e,this[_0x3f650f(0x2f8)]=_0x27414e,this[_0x3f650f(0x3f1)]=_0x2f173a,this[_0x3f650f(0x402)]=_0x3a63fa,this[_0x3f650f(0x3bd)]=_0x49154f,this['_initEntityListener']());}[_0x2ef9d4(0x1e6)](){const _0x1993a0=_0x2ef9d4;this[_0x1993a0(0x448)](this[_0x1993a0(0x253)][_0x1993a0(0x267)][_0x1993a0(0x3db)](_0x38dd5=>{const _0x1d7c45=_0x1993a0,_0x25d496=this['_docStateChangeManagerService'][_0x1d7c45(0x24c)][_0x1d7c45(0x3db)](_0xd32199=>{const _0x4309f4=_0x1d7c45;if(_0xd32199==null)return;const {unitId:_0x4a9fd0,redoState:_0x1bc4ce,commandId:_0x455f48}=_0xd32199;if(_0x4a9fd0!==_0x38dd5['unitID'])return;const _0xb4f6ae={'id':_0x455f48,'type':_0x9efe79['CommandType']['MUTATION'],'params':{'unitId':_0x4a9fd0,'actions':_0x1bc4ce[_0x4309f4(0x2e6)],'textRanges':null}};_0x38dd5[_0x4309f4(0x3ae)](_0xb4f6ae);});if(_0x38dd5[_0x1d7c45(0x448)](_0x25d496),_0x38dd5 instanceof _0x5ea283[_0x1d7c45(0x398)]){const _0x43435e={'onTransformIME':_0x5b6d99=>this[_0x1d7c45(0x30a)][_0x1d7c45(0x3d5)](_0x5b6d99),'onTransformState':_0x296c6b=>this[_0x1d7c45(0x2d3)][_0x1d7c45(0x255)](_0x296c6b),'onTransformSelections':_0x2699f9=>this[_0x1d7c45(0x2f8)]['transformSelections'](_0x2699f9),'onSyncEditingCollabCursor':_0x32389b=>this[_0x1d7c45(0x3f1)][_0x1d7c45(0x292)](_0x32389b),'onTransformRemoteChangesetByIMECache':_0x5c4f07=>this[_0x1d7c45(0x30a)][_0x1d7c45(0x3ac)](_0x5c4f07),'onTransformRemoteChangesetByStateCache':_0x306768=>this[_0x1d7c45(0x2d3)]['transformRemoteChangeset'](_0x306768)};_0x38dd5[_0x1d7c45(0x257)](_0x43435e);}}));}};_0x3461c0=_0x3d9b91([_0x254437(0x0,_0x9efe79[_0x2ef9d4(0x202)](_0x51d6ac[_0x2ef9d4(0x1d0)])),_0x254437(0x1,_0x9efe79[_0x2ef9d4(0x202)](_0x5ea283[_0x2ef9d4(0x43a)])),_0x254437(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x7449c2)),_0x254437(0x3,_0x9efe79[_0x2ef9d4(0x202)](_0x49f0f9)),_0x254437(0x4,_0x9efe79[_0x2ef9d4(0x202)](_0x2eda85)),_0x254437(0x5,_0x9efe79[_0x2ef9d4(0x202)](_0x1f1d5b)),_0x254437(0x6,_0x14cb12[_0x2ef9d4(0x29a)]),_0x254437(0x7,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79['LocaleService']))],_0x3461c0);var _0x86fd04=Object['getOwnPropertyDescriptor'],_0x32f2df=(_0x5225b8,_0x2110d3,_0x5e094a,_0x522d3f)=>{for(var _0x218034=_0x522d3f>0x1?void 0x0:_0x522d3f?_0x86fd04(_0x2110d3,_0x5e094a):_0x2110d3,_0x44d94c=_0x5225b8['length']-0x1,_0x5ca87a;_0x44d94c>=0x0;_0x44d94c--)(_0x5ca87a=_0x5225b8[_0x44d94c])&&(_0x218034=_0x5ca87a(_0x218034)||_0x218034);return _0x218034;},_0x4c5c5c=(_0x508d29,_0x4307f4)=>(_0x313e18,_0x15cebc)=>_0x4307f4(_0x313e18,_0x15cebc,_0x508d29);let _0x2e4f01=class extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(_0x1f9dd8,_0x327b0e,_0x4b3d52){const _0x47c532=_0x2ef9d4;super(),_0xcb4086(this,_0x47c532(0x1d8),new Map()),_0xcb4086(this,_0x47c532(0x440),new Map()),_0xcb4086(this,_0x47c532(0x223),!0x1),(this[_0x47c532(0x3dd)]=_0x1f9dd8,this[_0x47c532(0x278)]=_0x327b0e,this[_0x47c532(0x2da)]=_0x4b3d52);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x4b3027=_0x2ef9d4;this[_0x4b3027(0x223)]=!0x1;}get[_0x2ef9d4(0x1d9)](){return this['_saveTaskMap'];}[_0x2ef9d4(0x22c)](){const _0x5c7429=_0x2ef9d4;this[_0x5c7429(0x3fb)]()[_0x5c7429(0x27b)](()=>super['dispose']());}async[_0x2ef9d4(0x22e)](_0x198e8f){const _0x3f8d4a=_0x2ef9d4;return this[_0x3f8d4a(0x223)]?null:this[_0x3f8d4a(0x278)][_0x3f8d4a(0x336)](_0x5ea283['getLocalCacheKey'](_0x198e8f));}async[_0x2ef9d4(0x386)](_0x21d472,_0x35470a){const _0x7e71af=_0x2ef9d4;return!!this[_0x7e71af(0x278)]['setItem'](_0x21d472,_0x35470a);}[_0x2ef9d4(0x28a)](_0x47592c,_0x4f5ded,_0x5a6a62,_0x43d462){const _0x3a9e78=_0x2ef9d4,_0x1fa1e2=this[_0x3a9e78(0x2da)][_0x3a9e78(0x1fa)](_0x47592c);this['_cachedData']['set'](_0x47592c,{'unitID':_0x47592c,'type':_0x4f5ded,'awaitingChangeset':_0x5a6a62,'mutations':_0x43d462,'rev':_0x1fa1e2}),this[_0x3a9e78(0x440)][_0x3a9e78(0x3e9)](_0x47592c)||this[_0x3a9e78(0x45d)](_0x47592c);}[_0x2ef9d4(0x45d)](_0x826d63){const _0x570735=_0x2ef9d4,_0x2f4c0a=this[_0x570735(0x213)]();_0x2f4c0a===0x0?this[_0x570735(0x231)](_0x826d63):this[_0x570735(0x440)][_0x570735(0x246)](_0x826d63,setTimeout(()=>this['_saveCache'](_0x826d63),_0x2f4c0a));}['_getSaveTimeout'](){const _0x1e1762=_0x2ef9d4;var _0x48f3b6;return(_0x48f3b6=this[_0x1e1762(0x3dd)][_0x1e1762(0x1ea)](_0x5ea283['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x48f3b6:_0x5ea283[_0x1e1762(0x1ed)];}[_0x2ef9d4(0x231)](_0x452fb8){const _0x19187b=_0x2ef9d4,_0x5b4add=this[_0x19187b(0x440)][_0x19187b(0x284)](_0x452fb8);return _0x5b4add!==void 0x0&&window[_0x19187b(0x333)](_0x5b4add),this['_localStorageService'][_0x19187b(0x349)](_0x5ea283[_0x19187b(0x208)](_0x452fb8),this[_0x19187b(0x1d8)]['get'](_0x452fb8))[_0x19187b(0x27b)](()=>this[_0x19187b(0x440)][_0x19187b(0x276)](_0x452fb8));}async['exhaustSavingTask'](){const _0x3a1726=_0x2ef9d4,_0xccddea=[];this[_0x3a1726(0x440)][_0x3a1726(0x323)]((_0x8d4a5a,_0x4b8d82)=>{const _0x5e9a82=_0x3a1726;window['clearTimeout'](_0x8d4a5a),_0xccddea[_0x5e9a82(0x428)](this[_0x5e9a82(0x231)](_0x4b8d82)['then'](()=>{const _0x5b8ad3=_0x5e9a82;this[_0x5b8ad3(0x440)][_0x5b8ad3(0x276)](_0x4b8d82);}));}),await Promise[_0x3a1726(0x289)](_0xccddea);}};_0x2e4f01=_0x32f2df([_0x4c5c5c(0x0,_0x9efe79[_0x2ef9d4(0x24b)]),_0x4c5c5c(0x1,_0x9efe79[_0x2ef9d4(0x44b)]),_0x4c5c5c(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x14883c[_0x2ef9d4(0x413)]))],_0x2e4f01);class _0x5947d2 extends _0x9efe79[_0x2ef9d4(0x2ca)]{constructor(){const _0x250be1=_0x2ef9d4;super(),_0xcb4086(this,_0x250be1(0x227)),this[_0x250be1(0x227)]=_0x41dc47[_0x250be1(0x41e)](window,'popstate')[_0x250be1(0x3d2)](_0x41dc47[_0x250be1(0x307)](this[_0x250be1(0x21c)]),_0x41dc47['shareReplay'](0x1),_0x41dc47[_0x250be1(0x2f4)](void 0x0));}[_0x2ef9d4(0x28b)](_0x45ed4a,_0x222b1a,_0x1533a4=!0x1){const _0x24d24d=_0x2ef9d4,_0x112f71=new URL(window['location'][_0x24d24d(0x2c3)]);_0x112f71[_0x24d24d(0x42c)][_0x24d24d(0x246)](_0x45ed4a,_0x222b1a),_0x1533a4?window['history'][_0x24d24d(0x406)]('','',_0x112f71['toString']()):window[_0x24d24d(0x20a)][_0x24d24d(0x3ca)]('','',_0x112f71[_0x24d24d(0x39a)]());}[_0x2ef9d4(0x2ee)](_0x123ede,_0x49ad58=!0x1){const _0x592912=_0x2ef9d4,_0xbdf33=new URL(window[_0x592912(0x416)][_0x592912(0x2c3)]);_0xbdf33[_0x592912(0x42c)][_0x592912(0x276)](_0x123ede),_0x49ad58?window[_0x592912(0x20a)]['replaceState']('','',_0xbdf33['toString']()):window[_0x592912(0x20a)][_0x592912(0x3ca)]('','',_0xbdf33['toString']());}[_0x2ef9d4(0x2a5)](_0x579160){const _0x7a86bf=_0x2ef9d4;var _0x49a0bd;return(_0x49a0bd=new URL(window[_0x7a86bf(0x416)]['href'])[_0x7a86bf(0x42c)][_0x7a86bf(0x284)](_0x579160))!=null?_0x49a0bd:void 0x0;}}var _0x4e39ed=Object[_0x2ef9d4(0x2b9)],_0x260092=Object[_0x2ef9d4(0x338)],_0x410d82=(_0x543403,_0x57be3d,_0x2d7f94)=>_0x57be3d in _0x543403?_0x4e39ed(_0x543403,_0x57be3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d7f94}):_0x543403[_0x57be3d]=_0x2d7f94,_0x5bdc74=(_0x21b257,_0xe95fe7,_0x21de03,_0x229eff)=>{for(var _0x1cddce=_0x229eff>0x1?void 0x0:_0x229eff?_0x260092(_0xe95fe7,_0x21de03):_0xe95fe7,_0x332152=_0x21b257['length']-0x1,_0x1e17ca;_0x332152>=0x0;_0x332152--)(_0x1e17ca=_0x21b257[_0x332152])&&(_0x1cddce=_0x1e17ca(_0x1cddce)||_0x1cddce);return _0x1cddce;},_0x397f71=(_0xe944f9,_0x370575)=>(_0x3103ff,_0x4bb5b9)=>_0x370575(_0x3103ff,_0x4bb5b9,_0xe944f9),_0x4aa207=(_0x1fcb18,_0x1967a9,_0x12f6f8)=>_0x410d82(_0x1fcb18,_0x1967a9+'',_0x12f6f8);const _0x4a7043=_0x2ef9d4(0x3b0);_0x4414de[_0x2ef9d4(0x460)]=class extends _0x9efe79[_0x2ef9d4(0x399)]{constructor(_0x46232a=_0x27f6ed,_0x3c5938,_0x53cc05,_0xd2450d){const _0x295517=_0x2ef9d4;super(),this['_config']=_0x46232a,this[_0x295517(0x3c1)]=_0x3c5938,this[_0x295517(0x45f)]=_0x53cc05,this[_0x295517(0x3dd)]=_0xd2450d;const {..._0x21b447}=_0x9efe79[_0x295517(0x293)]({},_0x27f6ed,this[_0x295517(0x3f3)]);this[_0x295517(0x3dd)]['setConfig'](_0x4443a1,_0x21b447);}[_0x2ef9d4(0x379)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2ef9d4(0x26f)](){const _0x30393d=_0x2ef9d4;this[_0x30393d(0x3fc)]();}['_registerDependencies'](){const _0x43a628=_0x2ef9d4;var _0x404d17;const _0x234315=[[_0x3938ea],[_0x2eda85],[_0x7449c2],[_0x49f0f9],[_0x1f1d5b],[_0x44dee4,{'useClass':_0x5947d2}],[_0x3a22ad[_0x43a628(0x2ba)],{'useClass':_0x3a22ad['WebSocketService']}],[_0x5ea283[_0x43a628(0x20d)],{'useClass':_0x2e4f01}],[_0x4414de[_0x43a628(0x2cc)]],[_0x3461c0],[_0xf04d9b],[_0x290703],[_0xc8d52f],[_0x4414de[_0x43a628(0x430)]]];_0x9efe79[_0x43a628(0x401)](this[_0x43a628(0x45f)],_0x9efe79[_0x43a628(0x3b5)](_0x234315,(_0x404d17=this['_config'])==null?void 0x0:_0x404d17[_0x43a628(0x316)]));}['_registerRenderDependencies'](){const _0x2e5e13=_0x2ef9d4;this[_0x2e5e13(0x448)](this[_0x2e5e13(0x3c1)][_0x2e5e13(0x34b)](_0x9efe79[_0x2e5e13(0x2ae)][_0x2e5e13(0x394)],[_0x335254])),this[_0x2e5e13(0x448)](this[_0x2e5e13(0x3c1)]['registerRenderModule'](_0x9efe79['UniverInstanceType'][_0x2e5e13(0x3ff)],[_0x3561a4]));}[_0x2ef9d4(0x3aa)](){const _0x608dc9=_0x2ef9d4;_0x9efe79['touchDependencies'](this['_injector'],[[_0x290703],[_0x4414de[_0x608dc9(0x2cc)]],[_0x3461c0],[_0xf04d9b],[_0x4414de[_0x608dc9(0x430)]]]);}},_0x4aa207(_0x4414de['UniverCollaborationClientUIPlugin'],_0x2ef9d4(0x2b2),_0x4a7043),_0x4414de[_0x2ef9d4(0x460)]=_0x5bdc74([_0x9efe79[_0x2ef9d4(0x218)](_0x5ea283['UniverCollaborationClientPlugin']),_0x397f71(0x1,_0x20c736[_0x2ef9d4(0x2ec)]),_0x397f71(0x2,_0x9efe79[_0x2ef9d4(0x202)](_0x9efe79[_0x2ef9d4(0x412)])),_0x397f71(0x3,_0x9efe79[_0x2ef9d4(0x24b)])],_0x4414de[_0x2ef9d4(0x460)]);var _0x53f04e=Object[_0x2ef9d4(0x338)],_0x59bd22=(_0x5739e1,_0x40486a,_0x2817cc,_0x5c2b1a)=>{const _0x47c46c=_0x2ef9d4;for(var _0x1237b3=_0x5c2b1a>0x1?void 0x0:_0x5c2b1a?_0x53f04e(_0x40486a,_0x2817cc):_0x40486a,_0x360aed=_0x5739e1[_0x47c46c(0x291)]-0x1,_0x488537;_0x360aed>=0x0;_0x360aed--)(_0x488537=_0x5739e1[_0x360aed])&&(_0x1237b3=_0x488537(_0x1237b3)||_0x1237b3);return _0x1237b3;},_0x589fea=(_0x47b6b3,_0x20bac4)=>(_0x5b979b,_0x529945)=>_0x20bac4(_0x5b979b,_0x529945,_0x47b6b3);_0x4414de[_0x2ef9d4(0x2a3)]=class extends _0x5ea283['CollaborationSocketService']{constructor(_0x5c2289,_0x3bbe28,_0x2e5d15,_0x335559,_0x4161bf){super(_0x5c2289,_0x3bbe28,_0x2e5d15,_0x335559,_0x4161bf);}async[_0x2ef9d4(0x286)](_0x386ce5){const _0x893b3a=_0x2ef9d4,_0x6a2bbc=await this[_0x893b3a(0x200)](),_0x651158=this[_0x893b3a(0x30e)](_0x386ce5,_0x6a2bbc);return this[_0x893b3a(0x37b)](_0x651158);}['_createSocketURL'](_0x37ced1,_0x344f10){const _0x3882c5=_0x2ef9d4,_0x486dbc=typeof window>'u'?new URL(_0x37ced1):new URL(_0x37ced1,window['location'][_0x3882c5(0x344)]);_0x486dbc[_0x3882c5(0x42c)]['set']('sessionTicket',_0x344f10);const _0x4cce2c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3882c5(0x416)]['search']);return _0x4cce2c[_0x3882c5(0x284)](_0x3882c5(0x2f0))&&_0x486dbc['searchParams']['set']('runId',_0x4cce2c[_0x3882c5(0x284)](_0x3882c5(0x2f0))),_0x486dbc['toString']();}async['_getSessionTicket'](){const _0x291fd8=_0x2ef9d4;var _0x4d391a,_0x16a11f,_0x4b9a14;const _0xdfc135=this[_0x291fd8(0x3dd)][_0x291fd8(0x1ea)](_0x5ea283[_0x291fd8(0x31e)]),_0xa33428=(_0x4d391a=_0xdfc135==null?void 0x0:_0xdfc135[_0x291fd8(0x1d4)])!=null?_0x4d391a:_0x5ea283[_0x291fd8(0x290)];return(_0x4b9a14=(_0x16a11f=(await this[_0x291fd8(0x388)][_0x291fd8(0x284)](_0xa33428,{'headers':{'Content-Type':_0x291fd8(0x3e0)}}))[_0x291fd8(0x32a)])==null?void 0x0:_0x16a11f[_0x291fd8(0x261)])!=null?_0x4b9a14:'';}},_0x4414de[_0x2ef9d4(0x2a3)]=_0x59bd22([_0x589fea(0x0,_0x9efe79['Inject'](_0x9efe79[_0x2ef9d4(0x412)])),_0x589fea(0x1,_0x9efe79['Inject'](_0x3a22ad[_0x2ef9d4(0x2e0)])),_0x589fea(0x2,_0x9efe79[_0x2ef9d4(0x24b)]),_0x589fea(0x3,_0x9efe79[_0x2ef9d4(0x3f8)]),_0x589fea(0x4,_0x14883c[_0x2ef9d4(0x2a1)])],_0x4414de[_0x2ef9d4(0x2a3)]);const _0x479b80=0x7530,_0xe6d3d4=_0x2ef9d4(0x2c2);class _0x5620f0 extends _0x9efe79[_0x2ef9d4(0x375)]{constructor(){const _0x44fda7=_0x2ef9d4;super(),_0xcb4086(this,_0x44fda7(0x265),_0x9efe79[_0x44fda7(0x2d0)]()),_0xcb4086(this,'_selfUnitIDs',new Set()),_0xcb4086(this,_0x44fda7(0x431),new Map()),_0xcb4086(this,_0x44fda7(0x3da),null),_0xcb4086(this,_0x44fda7(0x417),new Map()),_0xcb4086(this,_0x44fda7(0x3dc),new Map()),this['_init']();}[_0x2ef9d4(0x22c)](){const _0x1eef34=_0x2ef9d4;super[_0x1eef34(0x22c)](),this[_0x1eef34(0x417)][_0x1eef34(0x323)]((_0x5e1ad5,_0x1c3d3b)=>this['_removeClearOtherTimer'](_0x1c3d3b)),this[_0x1eef34(0x3da)]&&window[_0x1eef34(0x26e)](this[_0x1eef34(0x3da)]);}[_0x2ef9d4(0x28f)](_0x29adfe){const _0x2d7d94=_0x2ef9d4;return this[_0x2d7d94(0x2bd)](_0x29adfe)[_0x2d7d94(0x3d2)](_0x41dc47[_0x2d7d94(0x1e5)]());}[_0x2ef9d4(0x3bc)](_0x3a6135){const _0x46bde1=_0x2ef9d4;this[_0x46bde1(0x3b8)][_0x46bde1(0x32c)]===0x0&&this[_0x46bde1(0x2de)](),this['_selfUnitIDs']['add'](_0x3a6135),this[_0x46bde1(0x33d)]({'type':0x0,'memberID':this[_0x46bde1(0x265)],'unitIDs':[_0x3a6135],'isForwarded':!0x1});}[_0x2ef9d4(0x229)](_0x11fbe8){const _0x5d9375=_0x2ef9d4;this[_0x5d9375(0x3b8)][_0x5d9375(0x276)](_0x11fbe8),this[_0x5d9375(0x3b8)][_0x5d9375(0x32c)]===0x0&&this[_0x5d9375(0x3da)]&&window[_0x5d9375(0x26e)](this['_heartbeatTimer']);}[_0x2ef9d4(0x20b)](){const _0x135d5f=_0x2ef9d4;this[_0x135d5f(0x448)](_0x9efe79[_0x135d5f(0x322)](_0x41dc47[_0x135d5f(0x41e)](window,'storage')['subscribe'](_0x5d6157=>{const _0xbc4554=_0x135d5f;if(_0x5d6157[_0xbc4554(0x34e)]!==_0xe6d3d4||!_0x5d6157[_0xbc4554(0x2cf)])return;const _0x24a924=JSON[_0xbc4554(0x2b5)](_0x5d6157[_0xbc4554(0x2cf)]);this[_0xbc4554(0x21a)](_0x24a924);}))),window['addEventListener']('unload',()=>this[_0x135d5f(0x33d)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x135d5f(0x33a)](this[_0x135d5f(0x3b8)])}));}[_0x2ef9d4(0x21a)](_0x42f07c){const _0x16236c=_0x2ef9d4;switch(_0x42f07c[_0x16236c(0x1d2)]){case 0x0:this['_handleJoinEvent'](_0x42f07c);break;case 0x1:this[_0x16236c(0x32b)](_0x42f07c);break;case 0x2:this[_0x16236c(0x3c9)](_0x42f07c);break;}}[_0x2ef9d4(0x2a9)](_0xdf0af6){const _0x911972=_0x2ef9d4,{unitIDs:_0x177d17,memberID:_0x672763,isForwarded:_0x471248}=_0xdf0af6;_0x177d17[_0x911972(0x323)](_0x3f8182=>{const _0x383fec=_0x911972;if(!_0x471248&&this[_0x383fec(0x431)][_0x383fec(0x3e9)](_0x3f8182)&&this['_ensureSubject'](_0x3f8182)[_0x383fec(0x365)](_0x5ea283[_0x383fec(0x3c8)][_0x383fec(0x46e)]),!this[_0x383fec(0x431)]['has'](_0x3f8182)||!this[_0x383fec(0x431)][_0x383fec(0x284)](_0x3f8182)[_0x383fec(0x3e9)](_0x672763)){const _0x14cf7b=this[_0x383fec(0x431)][_0x383fec(0x284)](_0x3f8182)||new Set();_0x14cf7b['add'](_0x672763),this['_unitOnClients']['set'](_0x3f8182,_0x14cf7b),this[_0x383fec(0x2f7)](_0x672763);}}),_0x471248||this[_0x911972(0x33d)]({'type':0x0,'memberID':this[_0x911972(0x265)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2ef9d4(0x2f7)](_0x569b25){const _0x4692c3=_0x2ef9d4;this['_removeClearOtherTimer'](_0x569b25);const _0x20caf0=window[_0x4692c3(0x25c)](()=>{const _0x440e29=_0x4692c3;this[_0x440e29(0x431)][_0x440e29(0x323)](_0x320319=>{_0x320319['delete'](_0x569b25);});},_0x479b80*0x2);this[_0x4692c3(0x417)][_0x4692c3(0x246)](_0x569b25,_0x20caf0);}[_0x2ef9d4(0x251)](_0x5f0034){const _0x1457b6=_0x2ef9d4;if(this[_0x1457b6(0x417)][_0x1457b6(0x3e9)](_0x5f0034)){const _0x269a7e=this['_clearOtherTimers'][_0x1457b6(0x284)](_0x5f0034);_0x269a7e&&window[_0x1457b6(0x333)](_0x269a7e),this[_0x1457b6(0x417)][_0x1457b6(0x246)](_0x5f0034,null);}}[_0x2ef9d4(0x32b)](_0x3a7f79){const _0x4e8bff=_0x2ef9d4,{memberID:_0x4dae6d,unitIDs:_0x400e8c}=_0x3a7f79;_0x400e8c[_0x4e8bff(0x323)](_0x950d5d=>{const _0x378856=_0x4e8bff;var _0x133134;const _0x2f3725=this[_0x378856(0x431)]['get'](_0x950d5d);_0x2f3725&&(_0x2f3725[_0x378856(0x276)](_0x4dae6d),(_0x133134=this[_0x378856(0x2bd)](_0x950d5d))==null||_0x133134['next'](_0x2f3725[_0x378856(0x32c)]===0x0?_0x5ea283[_0x378856(0x3c8)][_0x378856(0x395)]:_0x5ea283[_0x378856(0x3c8)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4dae6d);}[_0x2ef9d4(0x3c9)](_0x4c5a7c){this['_scheduleClearOtherTimer'](_0x4c5a7c['memberID']);}[_0x2ef9d4(0x33d)](_0xea5c51){const _0x1f0a20=_0x2ef9d4;localStorage[_0x1f0a20(0x349)](_0xe6d3d4,JSON[_0x1f0a20(0x3c7)](_0xea5c51));}[_0x2ef9d4(0x2de)](){const _0x86ad93=_0x2ef9d4;this['_heartbeatTimer']=window[_0x86ad93(0x445)](()=>{const _0x2eb345=_0x86ad93;this[_0x2eb345(0x33d)]({'type':0x2,'memberID':this[_0x2eb345(0x265)]});},_0x479b80);}[_0x2ef9d4(0x2bd)](_0x4bec60){const _0x5c80fc=_0x2ef9d4;return this[_0x5c80fc(0x3dc)][_0x5c80fc(0x3e9)](_0x4bec60)||this[_0x5c80fc(0x3dc)][_0x5c80fc(0x246)](_0x4bec60,new _0x41dc47[(_0x5c80fc(0x245))](_0x5ea283[_0x5c80fc(0x3c8)][_0x5c80fc(0x395)])),this['_unitStatus'][_0x5c80fc(0x284)](_0x4bec60);}}var _0x6d16ce=(_0x15ba62=>(_0x15ba62[_0x15ba62['UNDEFINED']=0x0]=_0x2ef9d4(0x351),_0x15ba62[_0x15ba62['OK']=0x1]='OK',_0x15ba62[_0x15ba62[_0x2ef9d4(0x248)]=0x2]=_0x2ef9d4(0x248),_0x15ba62[_0x15ba62[_0x2ef9d4(0x447)]=0x3]='PERMISSION_DENIED',_0x15ba62[_0x15ba62['NOT_FOUND']=0x4]=_0x2ef9d4(0x225),_0x15ba62[_0x15ba62[_0x2ef9d4(0x32d)]=0x5]=_0x2ef9d4(0x32d),_0x15ba62[_0x15ba62['ALREADY_EXISTS']=0x6]=_0x2ef9d4(0x400),_0x15ba62[_0x15ba62[_0x2ef9d4(0x3a3)]=0x7]=_0x2ef9d4(0x3a3),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2cb)]=0x8]=_0x2ef9d4(0x2cb),_0x15ba62[_0x15ba62[_0x2ef9d4(0x330)]=0x9]=_0x2ef9d4(0x330),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2d5)]=0xa]=_0x2ef9d4(0x2d5),_0x15ba62[_0x15ba62[_0x2ef9d4(0x25f)]=0xb]=_0x2ef9d4(0x25f),_0x15ba62[_0x15ba62[_0x2ef9d4(0x206)]=0xc]=_0x2ef9d4(0x206),_0x15ba62[_0x15ba62['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2ef9d4(0x410),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2bc)]=0xe]=_0x2ef9d4(0x2bc),_0x15ba62[_0x15ba62['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x15ba62[_0x15ba62[_0x2ef9d4(0x27a)]=0x1771]=_0x2ef9d4(0x27a),_0x15ba62[_0x15ba62['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2ef9d4(0x377),_0x15ba62[_0x15ba62[_0x2ef9d4(0x30d)]=0x1773]=_0x2ef9d4(0x30d),_0x15ba62[_0x15ba62[_0x2ef9d4(0x465)]=0x1b59]=_0x2ef9d4(0x465),_0x15ba62[_0x15ba62['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ef9d4(0x354),_0x15ba62[_0x15ba62[_0x2ef9d4(0x35b)]=0x1b5b]=_0x2ef9d4(0x35b),_0x15ba62[_0x15ba62[_0x2ef9d4(0x436)]=0x1b5c]=_0x2ef9d4(0x436),_0x15ba62[_0x15ba62[_0x2ef9d4(0x441)]=0x1b5d]=_0x2ef9d4(0x441),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2fd)]=0x1f41]=_0x2ef9d4(0x2fd),_0x15ba62[_0x15ba62[_0x2ef9d4(0x310)]=0x2329]=_0x2ef9d4(0x310),_0x15ba62[_0x15ba62['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x15ba62[_0x15ba62['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ef9d4(0x320),_0x15ba62[_0x15ba62['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2ef9d4(0x38b),_0x15ba62[_0x15ba62[_0x2ef9d4(0x403)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x15ba62[_0x15ba62[_0x2ef9d4(0x33e)]=0x2711]=_0x2ef9d4(0x33e),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2b6)]=0x2712]=_0x2ef9d4(0x2b6),_0x15ba62[_0x15ba62[_0x2ef9d4(0x25b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15ba62[_0x15ba62[_0x2ef9d4(0x404)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x15ba62[_0x15ba62[_0x2ef9d4(0x311)]=0x271a]=_0x2ef9d4(0x311),_0x15ba62[_0x15ba62[_0x2ef9d4(0x468)]=0x271b]=_0x2ef9d4(0x468),_0x15ba62[_0x15ba62['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x15ba62[_0x15ba62['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2ef9d4(0x325),_0x15ba62[_0x15ba62['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2ef9d4(0x42e),_0x15ba62[_0x15ba62['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x15ba62[_0x15ba62[_0x2ef9d4(0x274)]=0x2720]=_0x2ef9d4(0x274),_0x15ba62[_0x15ba62[_0x2ef9d4(0x273)]=0x2af9]=_0x2ef9d4(0x273),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2f2)]=0x2ee1]=_0x2ef9d4(0x2f2),_0x15ba62[_0x15ba62[_0x2ef9d4(0x268)]=0x2ee2]=_0x2ef9d4(0x268),_0x15ba62[_0x15ba62[_0x2ef9d4(0x258)]=0x2ee3]=_0x2ef9d4(0x258),_0x15ba62[_0x15ba62[_0x2ef9d4(0x287)]=0x2ee4]=_0x2ef9d4(0x287),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2b3)]=0x2ee5]=_0x2ef9d4(0x2b3),_0x15ba62[_0x15ba62[_0x2ef9d4(0x42f)]=0x32c9]=_0x2ef9d4(0x42f),_0x15ba62[_0x15ba62[_0x2ef9d4(0x2af)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x15ba62[_0x15ba62[_0x2ef9d4(0x1e3)]=0x32cb]=_0x2ef9d4(0x1e3),_0x15ba62[_0x15ba62[_0x2ef9d4(0x3b9)]=-0x1]='UNRECOGNIZED',_0x15ba62))(_0x6d16ce||{}),_0x2402a6=Object['getOwnPropertyDescriptor'],_0x1272c4=(_0x1f83bb,_0x231148,_0x520678,_0x443bd4)=>{const _0x8f9e7=_0x2ef9d4;for(var _0x4badf9=_0x443bd4>0x1?void 0x0:_0x443bd4?_0x2402a6(_0x231148,_0x520678):_0x231148,_0x4113e0=_0x1f83bb[_0x8f9e7(0x291)]-0x1,_0x5e1655;_0x4113e0>=0x0;_0x4113e0--)(_0x5e1655=_0x1f83bb[_0x4113e0])&&(_0x4badf9=_0x5e1655(_0x4badf9)||_0x4badf9);return _0x4badf9;},_0x13aaa4=(_0x9f8f78,_0xef20e2)=>(_0x2dd9fd,_0x1eb6c9)=>_0xef20e2(_0x2dd9fd,_0x1eb6c9,_0x9f8f78);_0x4414de[_0x2ef9d4(0x28d)]=class extends _0x9efe79['Disposable']{constructor(_0x216804,_0x297d72,_0x5740ad){const _0x49904b=_0x2ef9d4;super(),this[_0x49904b(0x298)]=_0x216804,this['_httpService']=_0x297d72,this[_0x49904b(0x3dd)]=_0x5740ad;}async[_0x2ef9d4(0x3de)](_0x52165d,_0x2484c6,_0x271276,..._0x13e315){const _0x2e7e2d=_0x2ef9d4;var _0x1c7903,_0x209f2d,_0x444982,_0x1c6514;const _0x351546=this['_instanceService'][_0x2e7e2d(0x263)]();if(!_0x351546)throw new Error(_0x2e7e2d(0x2cd));const _0x193937=((_0x1c7903=this['_configService'][_0x2e7e2d(0x1ea)](_0x5ea283['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1c7903:_0x5ea283[_0x2e7e2d(0x313)])+'/'+_0x52165d+_0x2e7e2d(0x381)+_0x2484c6,_0x18c2fe=new URL(window[_0x2e7e2d(0x416)][_0x2e7e2d(0x2c3)]),_0x20579d={'scriptId':_0x52165d,'runId':(_0x209f2d=_0x18c2fe[_0x2e7e2d(0x42c)][_0x2e7e2d(0x284)](_0x2e7e2d(0x2f0)))!=null?_0x209f2d:'','function':_0x2484c6,'unitId':_0x351546['getUnitId'](),'argsOfFunction':JSON[_0x2e7e2d(0x3c7)](_0x13e315),'invokeId':(_0x444982=_0x271276['invokeId'])!=null?_0x444982:'','executionId':(_0x1c6514=_0x271276['executionId'])!=null?_0x1c6514:''};try{const _0x46d74c=await this[_0x2e7e2d(0x388)][_0x2e7e2d(0x2ff)](_0x193937,{'body':_0x20579d});return _0x46d74c[_0x2e7e2d(0x32a)][_0x2e7e2d(0x1e8)]&&_0x46d74c[_0x2e7e2d(0x32a)]['error'][_0x2e7e2d(0x21f)]!==_0x6d16ce['OK']?'Failed':_0x46d74c['body'][_0x2e7e2d(0x3b6)];}catch{return _0x2e7e2d(0x26d);}}},_0x4414de[_0x2ef9d4(0x28d)]=_0x1272c4([_0x13aaa4(0x0,_0x9efe79[_0x2ef9d4(0x23a)]),_0x13aaa4(0x1,_0x9efe79['Inject'](_0x3a22ad[_0x2ef9d4(0x2e0)])),_0x13aaa4(0x2,_0x9efe79[_0x2ef9d4(0x24b)])],_0x4414de[_0x2ef9d4(0x28d)]),_0x4414de['IURLService']=_0x44dee4,_0x4414de[_0x2ef9d4(0x2c4)]=_0x56e7c0,_0x4414de['WebBrowserSingleActiveUnitService']=_0x5620f0,_0x4414de[_0x2ef9d4(0x36a)]=_0x5947d2,Object[_0x2ef9d4(0x2b9)](_0x4414de,Symbol[_0x2ef9d4(0x288)],{'value':_0x2ef9d4(0x3af)});}));function _0x2e4e(){const _0x3192c0=['div','_renderManagerService','debug','mutations','_initStatusListener','_transformHistoryAndStateStack','react/jsx-runtime','stringify','UnitStatus','_handleHeartbeatEvent','pushState','unitId','className','_backgroundColor','map','LocaleService','bottom','_startDocCollabCursor','pipe','setShapeProps','session.collaboration-timeout','transformIMECache','_logService','replace','setStateCache','getVpScrollXYInfoByPosToVp','_heartbeatTimer','subscribe','_unitStatus','_configService','runOnServer','_lastPointer','application/json','setActiveRange','UniverDrawing','getStateCache','Shape','onPointerEnter$','useRef','rgba(255,\x20255,\x20255,\x200.01)','collaboration.single-unit.warning','has','permission.content','getActiveRange','getUniverSheetInstance','_updateURLWithCurrentState','JOIN_ROOM_FAILED','FromArray','0\x200\x2017\x2016','_docSyncEditingCollabCursorService','ThemeService','_config','xlink:href','12816320fubUEf','Rectangle','rxjs/operators','ILogService','engine','CollaborationSessionService','exhaustSavingTask','_registerRenderDependencies','hide','deserializeRangeWithSheet','UNIVER_SHEET','ALREADY_EXISTS','registerDependencies','_messageService','LICENSE_DISTRO_REJECTED','YUUMI_SUBSCRIPTION_NOT_FOUND','_commandService','replaceState','DataLoaderService','lineTo','transformByState','_docClipboardService','...','collab-rect-range-','onMouseMove','add','FETCH_MISS','EMAIL_VERIFY_CODE_MISMATCH','entries','Injector','RevisionService','save','status$','location','_clearOtherTimers','setAlpha','hasOwnProperty','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getOffsetConfig','prototype','_anchor','fromEvent','@univerjs/sheets','_scene','_eventUnsubscribe','_cursors','defs','unsubscribe','UniverDocs','isEditing','getOwnPropertySymbols','push','IImageIoService','off-line-icon_clip0_910_343','eventID','searchParams','handleInsertRangeMoveDown','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WECHAT_HAS_BEEN_BOUND','CollaborationDataLoaderController','_unitOnClients','defIds','Warning','_initStatusComponent','switchMap','APPLY_PERMISSION_DENIED','roomMembers$','_collabCursorState$','_imageIoService','CollaborationController','SessionStatus','focused$','ICommandService','undoState','_textBubble','_saveTaskMap','APPLY_DUPLICATED','icon','blue.400','textRanges','setInterval','rxjs','PERMISSION_DENIED','disposeWithMe','fromEventSubject','UniverEngineFormula','ILocalStorageService','extend','selection','Tools','closePath','createInstance','collab-client.tooltip.reconnect','function','_docSkeletonManagerService','NodePositionConvertToRectRange','UniverSheets','sessionStatus$','_themeService','data','InsertColCommandId','getRenderById','_univerInstanceService','React','_scheduleSaving','createIdentifier','_injector','UniverCollaborationClientUIPlugin','triggerDblclick','ranges','UniverProCollaboration','color','APPLY_REJECT','24FObhoD','USERS_LEAVE','YUUMI_ASYNCIO_CANCELLED','_colorAssignService','Tooltip','random','_initResize','_initEvent','OTHER_CLIENTS_EDITING','@univerjs-pro/collaboration','DocStateChangeManagerService','_updateCollabCursors','type','text','wsSessionTicketUrl','transformMutationsWithChangeset','OFFLINE','redoState','_cachedData','saveTaskMap','DOC_RANGE_TYPE','_render','getSheetId','_getSheetObject','colorChannel1','saveImage','_initCommandExecutedListener','assignAColorForMemberID','complete','EMAIL_HAS_BEEN_BOUND','loadUnit','distinctUntilChanged','_initEntityListener','http://www.w3.org/2000/svg','error','show','getConfig','getColor','@univerjs-pro/collaboration-client','LOCAL_CACHE_INTERVAL','@univerjs/sheets-ui','startRow','m2Prime','getTypeOfUnitAdded$','collabStatus.fetchMiss','_collaborationUIEventService','measureText','apply','jsxs','permission.title','_getScale','none','getCurrentRevOfUnit','InsertRangeMoveRightCommandId','COLORS','Error','registerRefRange','clipPath','_getSessionTicket','@univerjs/drawing','Inject','RefRangeService','getCellPositionByOffset','getMergeData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','children','getLocalCacheKey','with','history','_init','collab-text-range-','ILocalCacheService','RECT','isTransformMutationsWithChangesetSuccess','_labelPosition','startColumn','2517189aEBJYP','_getSaveTimeout','101065jHiBZK','event$','values','UniverProCollaborationClientUi','DependentOn','arc','_handleEvent','CollaborationUIEventId','dispose$','_cursorInfo$','@univerjs/network','code','_toggleOffline','handleDeleteRangeMoveUp','string','_disabled','addClipboardHook','NOT_FOUND','_cursorShapes','urlChange$','combineLatest','disposeUnit','_status$','_removeCollabCursors','dispose','registerBeforeClose','loadOfflineData','@univerjs/engine-formula','subunit','_saveCache','_draw','indexOf','makeDirty','IBeforeCloseService','UniverDesign','collabStatus.notCollab','registerComponent','requireSession','IUniverInstanceService','4pgvyqg','_updateSubUnitFromURLParams','_toggleOnline','restore','hovered','findNodePositionByCharIndex','_roomMembers$','Optional','_collabSessionService','getValue','BehaviorSubject','set','@univerjs/docs-ui','INTERNAL_ERROR','roomMembers','session.will-retry','IConfigService','docStateChange$','getSkeleton','setUndoRedoMutationParamsCache','@univerjs/core','currentColor','_removeClearOtherTimer','contains','_collaborationController','_notificationService','transformStateCache','getUnitId','addHandlerCallback','INVITE_CODE_REQUIRED','0\x200\x2016\x2016','DocIMEInputManagerService','YUUMI_RATE_OVER_LIMIT','setTimeout','fillStyle','displayName','MOBILE_VERIFY_CODE_MISMATCH','_session','ticket','some','getFocusedUnit','_sheetSkeletonManagerService','_id','split','entityInit$','INVALID_INVITE_CODE','_assignedColors','url(#on-line-icon_clip0_910_349)','IRemoteInstanceService','MoveRangeCommandId','Failed','clearInterval','onRendered','getSheetBySheetId','SheetsSelectionsService','CONFLICT','PY_RUNTIME_SCRIPT_ERROR','YUUMI_CONNECTOR_URL_NOT_FOUND','mask','delete','width','_localStorageService','AWAITING','SNAPSHOT_INVALID_SNAPSHOT','then','_refRangeService','INotificationService','whenReady','useObservable','symbol','getSheetObject','BuiltInUIPart','_entityInit$','get','_drawTextRange','createSocket','USER_NOT_INVITED_CODE','toStringTag','all','updateOfflineData','setParam','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RemoteUniscriptService','_localCacheService','getUnitStatus$','DEFAULT_WS_SESSION_TICKET_URL','length','syncEditingCollabCursor','merge','idSuffix','42YnHBzI','unitID','sheetId','_instanceService','doc.mutation.rich-text-editing','IMessageService','flatMap','_refreshCollabCursors','RemoveRowCommandId','isArray','row','round','ISnapshotServerService','createElement','BrowserCollaborationSocketService','handleInsertRangeMoveRight','getParam','@univerjs/engine-render','collaboration-client.offline-data-not-saved','init','_handleJoinEvent','UniverCore','m1Prime','#FFF','UniverSheetsUi','UniverInstanceType','MOBILE_HAS_BEEN_BOUND','UniverIcon','collabStatus.syncing','pluginName','INVITE_CODE_ALREADY_BOUND','session.connection-failed','parse','YUUMI_URL_COL_OUT_OF_RANGE','_hovered','url(#off-line-icon_clip0_910_343)','defineProperty','ISocketService','_uiPartsService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_ensureSubject','concat','send','_getMergeRange','reconnect','ACTIVE_UNIT_EVENT_CHANNEL','href','SheetCollabCursorShape','serializeRangeWithSheet','svg','off-line-icon','Workbook','_docStateChangeManagerService','RxDisposable','TOO_MANY_REQUESTS','DesktopCollaborationStatusDisplayController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','purple.300','newValue','generateRandomId','onCommandExecuted','endColumn','_docTransformStateCacheService','HEADER_MENU','LOGIN_FAILED','NodePositionConvertToCursor','_hover','min','_drawRectRange','_revisionService','_color','_transformPreviousActiveRange','UniverDocsUi','_scheduleHeartbeat','_docSkeleton','HTTPService','transformMutation','_online','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onCursorUpdate','current','actions','SetWorksheetActivateCommand','_context','SheetSkeletonManagerService','414891lnmzyh','name','IRenderManagerService','fillText','removeParam','InsertRowCommandId','runId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INVITE_CODE_HAS_BEEN_UES','_memberService','mapTo','currentSkeleton$','Rect','_scheduleClearOtherTimer','_docTransformSelectionsService','skeleton','_dataLoaderService','getColorFromTheme','SYNCED','CONNECTOR_DATA_TOO_LARGE','TEXT_RANGE_LAYER_INDEX','post','labelPosition','getCurrentUnitForType','PENDING','isActive','_setupSubUnitSync','InsertRangeMoveDownCommandId','find','takeUntil','executeCommand','univer-mr-2\x20univer-flex\x20univer-text-xl','_docTransformIMECacheService','Unknown\x20user','translate(.97)','ENSURE_SNAPSHOT_EXECUTION','_createSocketURL','SetSelectionsOperation','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','react','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','font','_drawAnchor','override','subscribeEvent','_anchorDot','currentTheme$','getActiveSheet','handleMoveRange','EffectRefRangId','getCurrent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ColorKit','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','toDisposable','forEach','UniverRpc','YUUMI_ALL_TABLES_IS_INVALID','_name','getMember','UPDATE_CURSOR','_cursor','body','_handleLeaveEvent','size','UNAUTHENTICATED','forwardRef','operators','COMPLETION_FINISHED','_collabCursorController','CollaborationStatus','clearTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUndoRedoMutationParamsCache','getItem','evenodd','getOwnPropertyDescriptor','_startSheetCollabCursor','from','collab-text-anchor-','@univerjs/ui','_send','YUUMI_UNABLE_LOAD_URL','getCollabEntity$','height','imageSourceType','toRgbString','getCurrentSelections','origin','ONLINE','38577JVtKRO','white','_entities','setItem','params','registerRenderModule','replaceDocRanges','collaboration.closeRoom','key','DocSelectionManagerService','UniverProCollaborationClient','UNDEFINED','drawWith','handleInsertCol','APPLY_NON_SEQUENTIAL_REVISION','_transformUndoRedoStack','getMemberID','NOT_COLLAB','attrs','debounce','SUBMIT_CHANGESET_TIMEOUT','APPLY_REVISION_CONFILICT','collabStatus.conflict','_setupBeforeClosingHandler','handleIRemoveCol','M0\x200H16V16H0z','RegularPolygon','_colorIndex','univer-flex\x20univer-items-center','collabStatus.synced','1em','next','_syncEditingCollabCursorService','tag','includes','IUIPartsService','WebURLService','_urlService','getCoordByCell','_transformService','cursorInfo','unshift','fill','exports','getRangePointData','deepClone','_updateLocalCursor','Disposable','useDependency','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','onStarting','top','_doCreateSocket','range','yellow.400','_document','jsx','call','/run/','TEXT','RemoveColCommandId','_hideTimer','isTransformMutationFailure','saveOfflineData','on-line-icon_clip0_910_349','_httpService','jiqing.500','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','1146060izFIyt','_range','getCollabCursors$','CollaborationEvent','getAncestorScale','@univerjs/rpc','DocSkeletonManagerService','selections','UNIVER_DOC','NO_OTHER_CLIENTS_EDITING','MessageType','path','DocCollaborationEntity','Plugin','toString','collaboration-client-ui.config','column','DeleteRangeMoveUpCommandId','getUnhiddenWorksheets','handleDeleteRangeMoveLeft','addObjects','_onCursorDelete','moveTo','INVALID_ARGUMENT','addObject','source','SetTextSelectionsOperation','collabCursorState$','cursorInfo$','beginPath','_initDependencies','url(#$1','transformRemoteChangeset','1804432ocIEZz','onLocalMutation','Module','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Vector2','sheetID','assign','resize','mergeOverrideWithDependencies','result','_shapes','_selfUnitIDs','UNRECOGNIZED','unit','getTypeOfUnitDisposed$','editingUnit','_localeService','black','Subject'];_0x2e4e=function(){return _0x3192c0;};return _0x2e4e();}
|