@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-ab93895
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2eeb(){const _0x160d51=['add','textRanges','_collabCursorState$','drawWith','UNIVER_SHEET','defs','filter','getUnitId','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','_clearOtherTimers','_refreshCollabCursors','@univerjs-pro/collaboration','OFFLINE','collabCursorState$','INTERNAL_ERROR','disableLocalCache','exhaustSavingTask','CONFLICT','get','_eventUnsubscribe','replaceDocRanges','svg','@univerjs/core','text','univer-flex\x20univer-items-center','IDocClipboardService','@univerjs/network','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INVALID_ARGUMENT','range','call','LocaleService','arc','newValue','executionId','UniverCollaborationClientPlugin','_beforeCloseService','getUnitStatus$','DeleteRangeMoveUpCommandId','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','UniverCollaborationClientUIPlugin','_document','getUnhiddenWorksheets','getTypeOfUnitAdded$','UPDATE_CURSOR','reconnect','Rect','IMessageService','_roomMembers$','PY_RUNTIME_SCRIPT_ERROR','ENSURE_SNAPSHOT_EXECUTION','isActive','getViewport','pluginName','RECT','EffectRefRangId','debounce','UniverDocs','WebURLService','_scene','0\x200\x2017\x2016','switchMap','_removeClearOtherTimer','eventID','createInstance','collabStatus.offline','SetTextSelectionsOperation','m2Prime','_config','_hovered','code','CollaborationUIEventId','complete','includes','_color','_cursorInfo$','getSheetObject','saveImage','UNDEFINED','getCollabCursors$','TEXT','UnitStatus','@univerjs/drawing','startColumn','transform','150jUDLcx','setAlpha','SheetCollabCursorShape','_initResize','NOT_COLLAB','CollaborationEvent','WebSocketService','attrs','268692okRyRw','Error','_getMergeRange','_docSkeleton','_registerRenderDependencies','throttleTime','_docStateChangeManagerService','trim','DocSkeletonManagerService','_toggleOffline','combineLatest','YUUMI_NO_CUBOID_FOR_QUESTION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','getCollabEntity$','type','React','sessionTicket','executeCommand','InsertRangeMoveRightCommandId','runId','2XjhjmL','asObservable','UniverRpc','3EkQakF','disposeWithMe','220eRLydH','bottom','triggerDblclick','_updateURLWithCurrentState','JOIN_ROOM_FAILED','clsx','Inject','InsertRowCommandId','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','popstate','_id','_assignedColors','fillStyle','getParam','collaboration.single-unit.warning','registerBeforeClose','undoState','RxDisposable','override','deepClone','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localCacheService','_cachedData','currentTheme$','FETCH_MISS','getCurrent','setStateCache','_collabCursorController','MessageType','handleDeleteRangeMoveLeft','USERS_LEAVE','1853224HsOeBN','length','addObjects','session.collaboration-timeout','cursorInfo','registerRefRange','collabStatus.synced','transformSelections','PERMISSION_DENIED','evenodd','getSheetId','createElement','UniverCore','onPointerMove$','UniverProCollaboration','delete','_hover','NO_OTHER_CLIENTS_EDITING','docStateChange$','SheetsSelectionsService','WebBrowserSingleActiveUnitService','on-line-single','top','univer-text-red-500','Tooltip','UniverSheets','OnLineSingle','isTransformMutationFailure','sheetID','APPLY_REVISION_CONFILICT','substring','_getSheetObject','_uiPartsService','getConfig','UniverUi','RegularPolygon','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','tag','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','_draw','_localStorageService','defineProperty','getCoordByCell','APPLY_NON_SEQUENTIAL_REVISION','requireSession','Tools','unload','useObservable','roomMembers$','_selfUnitIDs','VIEW_MAIN','with','getOwnPropertySymbols','CollaborationUIEventService','_doCreateSocket','onPointerEnter$','getRangePointData','getMemberID','getVpScrollXYInfoByPosToVp','setShapeProps','_notificationService','jsxs','_updateLocalCursor','handleDeleteRangeMoveUp','dispose','hasOwnProperty','_transformHistoryAndStateStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','max','fillText','isArray','IUIPartsService','DocStateChangeManagerService','BehaviorSubject','session.will-retry','extend','_docTransformSelectionsService','Failed','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MoveRangeCommandId','@univerjs-pro/collaboration-client','_transformPreviousActiveRange','concat','clipPath','482891AGATNm','distinctUntilChanged','all','backgroundColor','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','CollaborationStatusDisplay','_lastPointer','_handleHeartbeatEvent','off-line-single','Disposable','_getAnchorBounding','Optional','prototype','translate(.97)','selection','displayName','removeParam','_commandService','rxjs','_unitOnClients','_scheduleClearOtherTimer','_docTransformStateCacheService','_online','assignAColorForMemberID','_collabSessionService','operators','collabStatus.syncing','labelPosition','setItem','CLOSE_ROOM','getUniverSheetInstance','addClipboardHook','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','MOBILE_HAS_BEEN_BOUND','addObject','collaboration-client.offline-data-not-saved','_onRefRangeChange','hide','_cursorShapes','next','ThemeService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/engine-render','merge','NOT_FOUND','IBeforeCloseService','colorChannel1','session.connection-failed','@univerjs/rpc','className','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','UniverEngineRender','getOwnPropertyDescriptor','name','CollaborationStatus','column','registerDependencies','values','COLORS','_logService','INVITE_CODE_ALREADY_BOUND','font','_memberService','_drawAnchor','history','DOC_RANGE_TYPE','_heartbeatTimer','searchParams','#FFF','replace','Unknown\x20user','_localeService','@univerjs/ui','addEventListener','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_WS_SESSION_TICKET_URL','show','getLocalCacheKey','getUndoRedoMutationParamsCache','ILocalStorageService','_collaborationController','BrowserCollaborationSocketService','CollaborationController','disposeUnit','CommandType','getAncestorScale','status$','toStringTag','unshift','setParam','cursorInfo$','/run/','TEXT_RANGE_LAYER_INDEX','wsSessionTicketUrl','_handleJoinEvent','HEADER_MENU','transformMutation','registerRenderModule','error','CHANGESET_REVISION_CONFILICT','react/jsx-runtime','RichTextEditingMutation','_initStatusComponent','RevisionService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_getScale','resize','size','@univerjs/docs-ui','_ensureSubject','doc.mutation.rich-text-editing','_initStatusListener','replaceState','Shape','onPointerLeave$','UniverProCollaborationClient','some','RemoteUniscriptService','unit','unitId','mapTo','fill','activeSheet$','data','_docSkeletonManagerService','_startSheetCollabCursor','indexOf','mask','_initCommandExecutedListener','engine','fillRule','react','_startDocCollabCursor','LOCAL_CACHE_INTERVAL_KEY','invokeId','_name','propertyIsEnumerable','_univerInstanceService','handleInsertRangeMoveRight','NodePositionConvertToRectRange','unsubscribe','black','getTypeOfUnitDisposed$','storage','random','_entities','UNIVER_DOC','ICommandService','_messageService','ILogService','LOCAL_CACHE_INTERVAL','_saveTaskMap','push','body','getCurrentRevOfUnit','_docTransformIMECacheService','toString','onStarting','getSkeleton','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','getDocRanges','onCommandExecuted','clearTimeout','_session','subscribe','_removeCollabCursors','debug','urlChange$','UniverNetwork','lineTo','OTHER_CLIENTS_EDITING','parse','generateRandomId','RemoveColCommandId','_collaborationUIEventService','_httpService','handleInsertCol','_initDependencies','getColor','measureText','_onCursorDelete','INVALID_INVITE_CODE','runRefRangeMutations','save','_unitStatus','setUndoRedoMutationParamsCache','takeUntil','SessionStatus','loadUnit','UniverDocsUi','UniverProCollaborationClientUi','UniverInstanceType','onRendered','IURLService','setActiveRange','isTransformMutationsWithChangesetSuccess','hovered','then','selections','_handleHover','UNAUTHENTICATED','entityInit$','clearInterval','collabStatus.notCollab','getActiveRange','forwardRef','getCurrentSelections','OffLineSingle','addHandlerCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','makeDirty','_labelPosition','_initEvent','_init','function','YUUMI_ASYNCIO_CANCELLED','updateOfflineData','DocCollaborationEntity','transformMutationsWithChangeset','InsertColCommandId','send','whenReady','APPLY_REJECT','Vector2','_shapes','transformRemoteChangeset','_anchorDot','univer-text-green-500','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SUBMIT_CHANGESET_TIMEOUT','DataLoaderService','UniverSheetsUi','idSuffix','stringify','IUniverInstanceService','_saveCache','_docSyncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','restore','_cursors','getFocusedUnit','@univerjs/sheets-ui','_syncEditingCollabCursorService','_docClipboardService','SYNCED','collaboration-client-ui.config','jsx','DocIMEInputManagerService','COMPLETION_FINISHED','split','_anchor','sessionStatus$','m1Prime','forEach','div','EMAIL_HAS_BEEN_BOUND','path','post','Warning','useDependency','M0\x200H16V16H0z','actions','endRow','...','has','UniverDesign','enableLocalCache','ITransformService','1em','transformIMECache','useCallback','event$','_updateSubUnitFromURLParams','_colorIndex','ILocalCacheService','_registerDependencies','getRenderById','endColumn','unitID','@univerjs/sheets','application/json','_range','setInterval','getRelativeToViewportCoord','init','xlink:href','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','row','SOCKET_FAILED_RETRY','6147496rDezUw','subunit','_revisionService','SheetSkeletonManagerService','currentSkeleton$','_handleLeaveEvent','color','width','_getSessionTicket','IConfigService','DesktopCollaborationStatusDisplayController','startRow','_renderManagerService','registerComponent','fromEventSubject','defIds','round','href','params','string','BuiltInUIPart','amd','Plugin','children','pushState','_imageIoService','currentColor','getCellPositionByOffset','onMouseMove','useRef','_send','[CollaborationDataLoaderController]','_entityInit$','min','CONNECTOR_DATA_TOO_LARGE','setConfig','ranges','_scheduleHeartbeat','HTTPService','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','ISocketService','ONLINE','_transformUndoRedoStack','key','_colorAssignService','collaboration.closeRoom','icon','rxjs/operators','getMember','271638UnDqRj','url(#$1','_injector','subUnitId','IImageIoService','_toggleOnline','debounceTime','_render','redoState','Subject','saveTaskMap','roomMembers','location','mutations','from','off-line-single_clip0_910_343','ColorKit','getSheetBySheetId','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','mergeOverrideWithDependencies','subscribeEvent','Workbook','_themeService','_configService','CollaborationSessionService','connectInjector','AWAITING_WITH_PENDING','CollaborationDataLoaderController','closePath','INVITE_CODE_REQUIRED','isEditing','_refRangeService','ALREADY_EXISTS','_dataLoaderService','entries','pipe','_context','_hideTimer','red300','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','on-line-single_clip0_910_349','startsWith','Injector','getStateCache','SOCKET_FAILED','_backgroundColor','_createSocketURL','NodePositionConvertToCursor','_textBubble','origin','_updateCollabCursors','getMergeData','YUUMI_RATE_OVER_LIMIT','_disabled','IRenderManagerService','getActiveSheet','assign','handleInsertRangeMoveDown','getValue','349671zDIbFj','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onCursorUpdate','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','IRemoteInstanceService','MemberService','190wcETAQ','_cursor','3814885WWCzrt','_transformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_initEntityListener','UNRECOGNIZED'];_0x2eeb=function(){return _0x160d51;};return _0x2eeb();}function _0x37a6(_0x551e2a,_0x40ddd6){const _0x2eebde=_0x2eeb();return _0x37a6=function(_0x37a6ae,_0x4422a6){_0x37a6ae=_0x37a6ae-0x1e2;let _0x5b2066=_0x2eebde[_0x37a6ae];return _0x5b2066;},_0x37a6(_0x551e2a,_0x40ddd6);}(function(_0xc6c5e1,_0x3775d0){const _0xf088d1=_0x37a6,_0x37fa77=_0xc6c5e1();while(!![]){try{const _0x466ebb=-parseInt(_0xf088d1(0x24e))/0x1*(parseInt(_0xf088d1(0x468))/0x2)+parseInt(_0xf088d1(0x46b))/0x3*(-parseInt(_0xf088d1(0x376))/0x4)+parseInt(_0xf088d1(0x3ef))/0x5+-parseInt(_0xf088d1(0x44b))/0x6*(-parseInt(_0xf088d1(0x3e5))/0x7)+-parseInt(_0xf088d1(0x1f7))/0x8+parseInt(_0xf088d1(0x3a8))/0x9*(parseInt(_0xf088d1(0x3ed))/0xa)+parseInt(_0xf088d1(0x46d))/0xb*(parseInt(_0xf088d1(0x453))/0xc);if(_0x466ebb===_0x3775d0)break;else _0x37fa77['push'](_0x37fa77['shift']());}catch(_0x131402){_0x37fa77['push'](_0x37fa77['shift']());}}}(_0x2eeb,0xbed5e),function(_0x12157c,_0x5d5bcf){const _0x2e1a60=_0x37a6;typeof exports=='object'&&typeof module<'u'?_0x5d5bcf(exports,require(_0x2e1a60(0x24a)),require(_0x2e1a60(0x40c)),require(_0x2e1a60(0x27a)),require(_0x2e1a60(0x410)),require(_0x2e1a60(0x2bd)),require(_0x2e1a60(0x448)),require(_0x2e1a60(0x261)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x2e1a60(0x372)),require(_0x2e1a60(0x36b)),require(_0x2e1a60(0x3a6)),require(_0x2e1a60(0x345)),require(_0x2e1a60(0x2b5)),require('@univerjs/ui'),require('@univerjs/design'),require(_0x2e1a60(0x2d4)),require(_0x2e1a60(0x280))):typeof define==_0x2e1a60(0x329)&&define[_0x2e1a60(0x38b)]?define(['exports','@univerjs-pro/collaboration-client',_0x2e1a60(0x40c),_0x2e1a60(0x27a),_0x2e1a60(0x410),_0x2e1a60(0x2bd),_0x2e1a60(0x448),_0x2e1a60(0x261),'@univerjs/docs',_0x2e1a60(0x401),_0x2e1a60(0x372),_0x2e1a60(0x36b),'rxjs/operators',_0x2e1a60(0x345),_0x2e1a60(0x2b5),_0x2e1a60(0x299),'@univerjs/design',_0x2e1a60(0x2d4),_0x2e1a60(0x280)],_0x5d5bcf):(_0x12157c=typeof globalThis<'u'?globalThis:_0x12157c||self,_0x5d5bcf(_0x12157c[_0x2e1a60(0x310)]={},_0x12157c[_0x2e1a60(0x2c4)],_0x12157c[_0x2e1a60(0x203)],_0x12157c[_0x2e1a60(0x284)],_0x12157c[_0x2e1a60(0x2fa)],_0x12157c[_0x2e1a60(0x30f)],_0x12157c['UniverDrawing'],_0x12157c[_0x2e1a60(0x261)],_0x12157c[_0x2e1a60(0x42f)],_0x12157c[_0x2e1a60(0x205)],_0x12157c['UniverEngineFormula'],_0x12157c[_0x2e1a60(0x210)],_0x12157c[_0x2e1a60(0x261)][_0x2e1a60(0x268)],_0x12157c[_0x2e1a60(0x33a)],_0x12157c[_0x2e1a60(0x463)],_0x12157c[_0x2e1a60(0x219)],_0x12157c[_0x2e1a60(0x35d)],_0x12157c['React'],_0x12157c[_0x2e1a60(0x46a)]));}(this,function(_0x2becbd,_0x5557ff,_0x49eaeb,_0x506afb,_0x23e63f,_0x3c8f3f,_0x1182f3,_0x1a1591,_0x54d7ba,_0x579da8,_0x20a384,_0x11631c,_0x35f2b8,_0x5f076c,_0x59198a,_0x284e97,_0x381eec,_0x1a1d3a,_0x339d10){'use strict';const _0x29a50d=_0x37a6;var _0xcd50a7=Object[_0x29a50d(0x222)],_0x1b35ec=(_0x26502c,_0x49ef06,_0x1680c4)=>_0x49ef06 in _0x26502c?_0xcd50a7(_0x26502c,_0x49ef06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1680c4}):_0x26502c[_0x49ef06]=_0x1680c4,_0x2d5d22=(_0x3330a8,_0x3036ff,_0x1bc605)=>_0x1b35ec(_0x3330a8,typeof _0x3036ff!='symbol'?_0x3036ff+'':_0x3036ff,_0x1bc605),_0x551851=Object[_0x29a50d(0x285)],_0x14ef93=(_0xdea14,_0x521703,_0x30aa7b,_0x5ad3e0)=>{for(var _0x37068f=_0x5ad3e0>0x1?void 0x0:_0x5ad3e0?_0x551851(_0x521703,_0x30aa7b):_0x521703,_0x3f4e08=_0xdea14['length']-0x1,_0x199792;_0x3f4e08>=0x0;_0x3f4e08--)(_0x199792=_0xdea14[_0x3f4e08])&&(_0x37068f=_0x199792(_0x37068f)||_0x37068f);return _0x37068f;},_0xb58c59=(_0x1f0ac4,_0x20b374)=>(_0x59b2c5,_0x3b5999)=>_0x20b374(_0x59b2c5,_0x3b5999,_0x1f0ac4);let _0x450d8e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x5f0a8a,_0xba3e25){const _0x1496f3=_0x29a50d;super(),this[_0x1496f3(0x347)]=_0x5f0a8a,this[_0x1496f3(0x38f)]=_0xba3e25,this[_0x1496f3(0x328)]();}[_0x29a50d(0x328)](){const _0x28b8a6=_0x29a50d,_0x194490=this;this['disposeWithMe'](this[_0x28b8a6(0x347)][_0x28b8a6(0x26e)]({'onBeforePasteImage':async _0x105b59=>{const _0x44e711=_0x28b8a6,_0x214b72=await _0x194490['_imageIoService'][_0x44e711(0x443)](_0x105b59);return _0x214b72?{'source':_0x214b72[_0x44e711(0x460)],'imageSourceType':_0x214b72['imageSourceType']}:null;}}));}};_0x450d8e=_0x14ef93([_0xb58c59(0x0,_0x3c8f3f[_0x29a50d(0x40f)]),_0xb58c59(0x1,_0x1182f3[_0x29a50d(0x3ac)])],_0x450d8e);const _0x338c20=['purple300','jiqing500','verdancy600',_0x29a50d(0x3cf),'blue400','gold400'];class _0x2b7743 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x1a25f3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x1a25f3(0x1e2),new Map()),_0x2d5d22(this,_0x1a25f3(0x365),0x0);}['assignAColorForMemberID'](_0x26af6a){const _0x4745a0=_0x29a50d;if(this['_assignedColors'][_0x4745a0(0x35c)](_0x26af6a))return this['_assignedColors'][_0x4745a0(0x408)](_0x26af6a);const _0x3eaf0f=_0x338c20[this['_colorIndex']];return this['_colorIndex']=(this[_0x4745a0(0x365)]+0x1)%_0x338c20['length'],this[_0x4745a0(0x1e2)][_0x4745a0(0x3e6)](_0x26af6a,_0x3eaf0f),_0x3eaf0f;}}function _0x446ae4(_0x401bad){const _0x4df26a=_0x29a50d;let _0x19f519='';for(const _0x143d5a of _0x401bad){const {startOffset:_0x1702bf,endOffset:_0x3424d4,isActive:_0x1234e8,rangeType:_0x8fc05b,segmentId:_0x5ada5e,segmentPage:_0x5d2d89}=_0x143d5a;_0x19f519[_0x4df26a(0x1f8)]&&(_0x19f519+=','),_0x19f519+=_0x1702bf+':'+_0x3424d4+':'+(_0x1234e8?'1':'0')+':'+_0x8fc05b+':'+_0x5ada5e+':'+_0x5d2d89;}return _0x19f519;}function _0x29cfa8(_0x3ffc68){const _0x365d9e=_0x29a50d,_0x1d2685=_0x3ffc68[_0x365d9e(0x34d)](','),_0x4cf2f5=[];for(const _0x583d15 of _0x1d2685){const [_0x3bfd03,_0x230076,_0x33d4b2,_0x583e44,_0x9bf7a1,_0x3b497b]=_0x583d15[_0x365d9e(0x34d)](':');_0x4cf2f5[_0x365d9e(0x2e9)]({'startOffset':Number(_0x3bfd03),'endOffset':Number(_0x230076),'collapsed':_0x3bfd03===_0x230076,'isActive':_0x33d4b2==='1','rangeType':_0x583e44===_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]?_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]:_0x49eaeb[_0x365d9e(0x292)]['RECT'],'segmentId':typeof _0x9bf7a1==_0x365d9e(0x389)?String(_0x9bf7a1):'','segmentPage':Number(_0x3b497b!=null?_0x3b497b:-0x1)});}return _0x4cf2f5[_0x365d9e(0x2c5)](_0xe50898=>_0xe50898[_0x365d9e(0x429)])||(_0x4cf2f5[0x0][_0x365d9e(0x429)]=!0x0),_0x4cf2f5;}class _0xb3c406 extends _0x49eaeb['RxDisposable']{constructor(){const _0x441bd3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x441bd3(0x3f7),new _0x1a1591[(_0x441bd3(0x242))](null)),_0x2d5d22(this,_0x441bd3(0x403),this[_0x441bd3(0x3f7)]['asObservable']());}['syncEditingCollabCursor'](_0x2b660b){const _0x4335cf=_0x29a50d,{unitID:_0x1dc5cd,memberID:_0x4003bf,textRanges:_0x46289c}=_0x2b660b,_0x263cde=_0x446ae4(_0x46289c);if(_0x263cde==='')return;const _0x15afb5={'unitID':_0x1dc5cd,'memberID':_0x4003bf,'selection':_0x263cde};this[_0x4335cf(0x3f7)][_0x4335cf(0x277)](_0x15afb5);}}var _0x5054d1=Object[_0x29a50d(0x285)],_0x51b10f=(_0x426160,_0x2825cb,_0x102b86,_0x4dbe65)=>{const _0x50ef68=_0x29a50d;for(var _0x4a8c69=_0x4dbe65>0x1?void 0x0:_0x4dbe65?_0x5054d1(_0x2825cb,_0x102b86):_0x2825cb,_0x6a55a4=_0x426160[_0x50ef68(0x1f8)]-0x1,_0xe0b8f3;_0x6a55a4>=0x0;_0x6a55a4--)(_0xe0b8f3=_0x426160[_0x6a55a4])&&(_0x4a8c69=_0xe0b8f3(_0x4a8c69)||_0x4a8c69);return _0x4a8c69;},_0x219835=(_0x560f15,_0x1fc4d9)=>(_0x2f5958,_0x62cd3)=>_0x1fc4d9(_0x2f5958,_0x62cd3,_0x560f15);const _0x83ff0b=0x12c,_0x119ba9=0x64;let _0x1c5ab0=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x513a54,_0x179075,_0x49db95,_0x34330c,_0x1c2e08,_0x502821,_0x1bfbc3,_0xfc901b,_0x4fee77){const _0x351c3c=_0x29a50d;super(),_0x2d5d22(this,_0x351c3c(0x265),!0x1),_0x2d5d22(this,_0x351c3c(0x328),!0x1),_0x2d5d22(this,'_cursorInfo$',new _0x1a1591[(_0x351c3c(0x242))](new Map())),_0x2d5d22(this,_0x351c3c(0x2ab),this[_0x351c3c(0x441)][_0x351c3c(0x469)]()),_0x2d5d22(this,'_roomMembers$',new _0x1a1591[(_0x351c3c(0x242))]([])),_0x2d5d22(this,_0x351c3c(0x229),this['_roomMembers$'][_0x351c3c(0x3cc)](_0x1a1591[_0x351c3c(0x3ae)](_0x83ff0b))),_0x2d5d22(this,_0x351c3c(0x237),_0x49eaeb[_0x351c3c(0x42e)](_0x49d24d=>{const _0x4727e5=_0x351c3c,_0x36503c={'eventID':_0x579da8[_0x4727e5(0x450)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4727e5(0x36a)],'memberID':this[_0x4727e5(0x2f5)][_0x4727e5(0x232)](),'selection':_0x446ae4(_0x49d24d)}};this['_session'][_0x4727e5(0x32f)](_0x36503c,this[_0x4727e5(0x36a)]);},_0x119ba9)),(this[_0x351c3c(0x36a)]=_0x513a54,this[_0x351c3c(0x2f5)]=_0x179075,this[_0x351c3c(0x3aa)]=_0x49db95,this[_0x351c3c(0x3a3)]=_0x34330c,this[_0x351c3c(0x28f)]=_0x1c2e08,this[_0x351c3c(0x346)]=_0x502821,this[_0x351c3c(0x3f0)]=_0x1bfbc3,this['_univerInstanceService']=_0xfc901b,this['_commandService']=_0x4fee77);}get['cursorInfo'](){const _0x2682ee=_0x29a50d;return this['_cursorInfo$'][_0x2682ee(0x3e4)]();}get[_0x29a50d(0x3b3)](){const _0x4487ec=_0x29a50d;return this[_0x4487ec(0x426)][_0x4487ec(0x3e4)]();}['dispose'](){const _0x40b886=_0x29a50d;super['dispose'](),this['_cursorInfo$'][_0x40b886(0x277)](new Map()),this['_cursorInfo$'][_0x40b886(0x43e)](),this['_roomMembers$'][_0x40b886(0x277)]([]),this[_0x40b886(0x426)]['complete']();}['init'](){const _0x455920=_0x29a50d;this[_0x455920(0x328)]||(this['_init']=!0x0,this['_session'][_0x455920(0x34f)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this[_0x455920(0x324)]))[_0x455920(0x2f6)](_0x326f28=>{const _0x416bf3=_0x455920;_0x326f28===_0x5557ff['SessionStatus'][_0x416bf3(0x3a0)]?this[_0x416bf3(0x3ad)]():this[_0x416bf3(0x45c)]();}),this[_0x455920(0x2f5)][_0x455920(0x363)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))[_0x455920(0x2f6)](_0x39bb15=>{const _0x409c6f=_0x455920,_0x70c63b=_0x39bb15['eventID'];_0x70c63b===_0x579da8['CollaborationEvent'][_0x409c6f(0x422)]&&this[_0x409c6f(0x3e8)](_0x39bb15),_0x70c63b===_0x579da8[_0x409c6f(0x450)][_0x409c6f(0x1f6)]&&this[_0x409c6f(0x306)](_0x39bb15);}),this[_0x455920(0x46c)](this[_0x455920(0x260)]['onCommandExecuted'](_0x4fabcf=>{const _0x3ff2c9=_0x455920,_0xf4349c=_0x4fabcf['params'];_0xf4349c!=null&&this[_0x3ff2c9(0x265)]&&_0x4fabcf['id']===_0x54d7ba[_0x3ff2c9(0x438)]['id']&&_0xf4349c[_0x3ff2c9(0x2c8)]===this[_0x3ff2c9(0x36a)]&&_0xf4349c[_0x3ff2c9(0x3c7)]===!0x1&&_0xf4349c['ranges'][_0x3ff2c9(0x1f8)]>0x0&&this[_0x3ff2c9(0x237)](_0xf4349c[_0x3ff2c9(0x39a)]);})),this[_0x455920(0x346)][_0x455920(0x403)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))['subscribe'](_0x108636=>{const _0x88ff59=_0x455920;if((_0x108636==null?void 0x0:_0x108636[_0x88ff59(0x36a)])!==this['unitID'])return;const _0x4e363b={'eventID':_0x579da8[_0x88ff59(0x450)][_0x88ff59(0x422)],'data':_0x108636};this[_0x88ff59(0x3e8)](_0x4e363b);}),this['disposeWithMe'](this[_0x455920(0x260)]['onCommandExecuted'](_0x382b72=>{const _0x39dd84=_0x455920;if(_0x382b72[_0x39dd84(0x388)]==null)return;const _0x3c2221=_0x382b72[_0x39dd84(0x388)];if(_0x382b72['id']!==_0x54d7ba[_0x39dd84(0x2b6)]['id']||_0x3c2221['unitId']!==this[_0x39dd84(0x36a)])return;const _0x12a3da={'id':'doc.mutation.rich-text-editing','params':_0x3c2221},_0xcfc386=this[_0x39dd84(0x1fb)];for(const [_0x25a8e3,_0x32cd38]of _0xcfc386){const _0x343b6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39dd84(0x36a)],'actions':null,'textRanges':_0x32cd38['ranges']}},_0x38f689=this[_0x39dd84(0x3f0)][_0x39dd84(0x2b1)](_0x12a3da,_0x343b6c,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x38f689))throw _0x38f689[_0x39dd84(0x2b3)];_0xcfc386[_0x39dd84(0x3e6)](_0x25a8e3,{..._0x32cd38,'ranges':_0x38f689[_0x39dd84(0x439)][_0x39dd84(0x388)][_0x39dd84(0x3f6)]});}queueMicrotask(()=>{const _0xc300e=_0x39dd84;this[_0xc300e(0x441)][_0xc300e(0x277)](_0xcfc386);});})));}[_0x29a50d(0x3e8)](_0x5d0272){const _0x2545b3=_0x29a50d;var _0x333df9,_0x17869f;const {memberID:_0x329ac6,selection:_0x2ecb3b}=_0x5d0272[_0x2545b3(0x2cc)],_0x3622c6=_0x29cfa8(_0x2ecb3b),_0x29cc2c=(_0x17869f=(_0x333df9=this[_0x2545b3(0x28f)][_0x2545b3(0x3a7)](this[_0x2545b3(0x36a)],_0x329ac6))==null?void 0x0:_0x333df9[_0x2545b3(0x286)])!=null?_0x17869f:_0x2545b3(0x297),_0x30594e={'color':this[_0x2545b3(0x3a3)][_0x2545b3(0x266)](_0x329ac6),'name':_0x29cc2c,'ranges':_0x3622c6},_0x3047a8=this['cursorInfo'];_0x3047a8[_0x2545b3(0x3e6)](_0x329ac6,_0x30594e),this[_0x2545b3(0x441)][_0x2545b3(0x277)](_0x3047a8);}[_0x29a50d(0x306)](_0x5e0663){const _0x370767=_0x29a50d,{memberID:_0x5bbdf3}=_0x5e0663[_0x370767(0x2cc)],_0x22ec5a=this[_0x370767(0x1fb)];_0x22ec5a[_0x370767(0x206)](_0x5bbdf3),this[_0x370767(0x441)][_0x370767(0x277)](_0x22ec5a);}['_toggleOnline'](){const _0xe21eb9=_0x29a50d;var _0x401d27;if(this['_online']=!0x0,((_0x401d27=this['_univerInstanceService'][_0xe21eb9(0x344)]())==null?void 0x0:_0x401d27[_0xe21eb9(0x3fc)]())!==this[_0xe21eb9(0x36a)])return;const _0x5bbfe4=this[_0xe21eb9(0x3aa)]['get'](_0x54d7ba['DocSelectionManagerService'])[_0xe21eb9(0x2f2)]();Array[_0xe21eb9(0x23f)](_0x5bbfe4)&&_0x5bbfe4[_0xe21eb9(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x5bbfe4);}[_0x29a50d(0x45c)](){const _0x2c019e=_0x29a50d;this[_0x2c019e(0x265)]=!0x1;}};_0x1c5ab0=_0x51b10f([_0x219835(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x219835(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x219835(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3ec)])),_0x219835(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x219835(0x6,_0x579da8[_0x29a50d(0x35f)]),_0x219835(0x7,_0x49eaeb[_0x29a50d(0x33d)]),_0x219835(0x8,_0x49eaeb[_0x29a50d(0x2e4)])],_0x1c5ab0);var _0xcd30c5=Object[_0x29a50d(0x285)],_0x43ea1f=(_0x1fd67b,_0x229043,_0x2677a1,_0x446307)=>{const _0x1fca47=_0x29a50d;for(var _0x15e0bd=_0x446307>0x1?void 0x0:_0x446307?_0xcd30c5(_0x229043,_0x2677a1):_0x229043,_0x3028e0=_0x1fd67b[_0x1fca47(0x1f8)]-0x1,_0x3439bd;_0x3028e0>=0x0;_0x3028e0--)(_0x3439bd=_0x1fd67b[_0x3028e0])&&(_0x15e0bd=_0x3439bd(_0x15e0bd)||_0x15e0bd);return _0x15e0bd;},_0x3f2afc=(_0x1f55a7,_0x4435ad)=>(_0x7cc039,_0x2f8227)=>_0x4435ad(_0x7cc039,_0x2f8227,_0x1f55a7);const _0x39f794=0x12c,_0x2e42b2=0x64,_0x5c336a=()=>{let _0x453c86=[],_0x1412e9=!0x1;return _0x57169c=>{_0x453c86['push'](_0x57169c),_0x1412e9||(_0x1412e9=!0x0,setTimeout(()=>{const _0x75caee=_0x37a6;_0x453c86[_0x75caee(0x351)](_0x50a3a1=>_0x50a3a1()),_0x453c86=[],_0x1412e9=!0x1;}));};};let _0x2fd7eb=class extends _0x49eaeb['RxDisposable']{constructor(_0x2c43da,_0x222478,_0x121253,_0x2ae8b1,_0x862144,_0x53e0bd,_0x19c7d2,_0x4806c1){const _0x3221dc=_0x29a50d;super(),_0x2d5d22(this,_0x3221dc(0x265),!0x1),_0x2d5d22(this,_0x3221dc(0x328),!0x1),_0x2d5d22(this,_0x3221dc(0x441),new _0x1a1591[(_0x3221dc(0x242))](new Map())),_0x2d5d22(this,_0x3221dc(0x2ab),this['_cursorInfo$'][_0x3221dc(0x469)]()),_0x2d5d22(this,_0x3221dc(0x426),new _0x1a1591[(_0x3221dc(0x242))]([])),_0x2d5d22(this,_0x3221dc(0x229),this[_0x3221dc(0x426)][_0x3221dc(0x3cc)](_0x1a1591[_0x3221dc(0x3ae)](_0x39f794))),_0x2d5d22(this,_0x3221dc(0x237),_0x49eaeb[_0x3221dc(0x42e)]((_0x5741cb,_0x61c5ac)=>{const _0x4fab18=_0x3221dc,_0x226a25={'eventID':_0x579da8['CollaborationEvent'][_0x4fab18(0x422)],'data':{'unitID':this[_0x4fab18(0x36a)],'memberID':this[_0x4fab18(0x2f5)][_0x4fab18(0x232)](),'selection':_0x20a384[_0x4fab18(0x3fd)](_0x5741cb,_0x61c5ac[_0x4fab18(0x413)])}};this[_0x4fab18(0x2f5)]['send'](_0x226a25,this[_0x4fab18(0x36a)]);},_0x2e42b2)),(this[_0x3221dc(0x36a)]=_0x2c43da,this[_0x3221dc(0x2f5)]=_0x222478,this[_0x3221dc(0x3aa)]=_0x121253,this[_0x3221dc(0x3a3)]=_0x2ae8b1,this[_0x3221dc(0x28f)]=_0x862144,this[_0x3221dc(0x2da)]=_0x53e0bd,this[_0x3221dc(0x260)]=_0x19c7d2,this[_0x3221dc(0x3c8)]=_0x4806c1);}get[_0x29a50d(0x1fb)](){const _0x4b4509=_0x29a50d;return this['_cursorInfo$'][_0x4b4509(0x3e4)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x29a50d(0x239)](){const _0x1bac0c=_0x29a50d;super[_0x1bac0c(0x239)](),this[_0x1bac0c(0x441)]['next'](new Map()),this[_0x1bac0c(0x441)][_0x1bac0c(0x43e)](),this[_0x1bac0c(0x426)][_0x1bac0c(0x277)]([]),this[_0x1bac0c(0x426)][_0x1bac0c(0x43e)]();}['init'](){const _0x4f8907=_0x29a50d;this[_0x4f8907(0x328)]||(this[_0x4f8907(0x328)]=!0x0,this['_session'][_0x4f8907(0x34f)]['pipe'](_0x1a1591[_0x4f8907(0x30c)](this[_0x4f8907(0x324)]))['subscribe'](_0x3604fc=>{const _0x5adb01=_0x4f8907;_0x3604fc===_0x5557ff[_0x5adb01(0x30d)]['ONLINE']?this[_0x5adb01(0x3ad)]():this[_0x5adb01(0x45c)]();}),this[_0x4f8907(0x2f5)]['event$'][_0x4f8907(0x3cc)](_0x1a1591[_0x4f8907(0x30c)](this['dispose$']))[_0x4f8907(0x2f6)](_0x54931f=>{const _0x5a747e=_0x4f8907,_0x5491a0=_0x54931f[_0x5a747e(0x435)];_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x422)]&&this['_onCursorUpdate'](_0x54931f),_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x1f6)]&&this['_onCursorDelete'](_0x54931f);}),this['_onRefRangeChange'](),this[_0x4f8907(0x46c)](this[_0x4f8907(0x260)][_0x4f8907(0x2f3)](_0x372ce5=>{const _0x17eda2=_0x4f8907;if(this[_0x17eda2(0x265)]&&_0x372ce5['id']===_0x11631c['SetSelectionsOperation']['id']&&_0x372ce5[_0x17eda2(0x388)][_0x17eda2(0x2c8)]===this[_0x17eda2(0x36a)]){const _0x3652f1=_0x372ce5['params'];this[_0x17eda2(0x237)](_0x3652f1[_0x17eda2(0x3ab)],_0x3652f1[_0x17eda2(0x318)][0x0]);}})));}[_0x29a50d(0x3e8)](_0xb436f7){const _0x569fdf=_0x29a50d;var _0x51cb54,_0x8250de;const {memberID:_0x169483,selection:_0xc07e96}=_0xb436f7[_0x569fdf(0x2cc)],{sheetName:_0x4a286e,range:_0x42c8c1}=_0x20a384['deserializeRangeWithSheet'](_0xc07e96),_0x467615={'name':(_0x8250de=(_0x51cb54=this[_0x569fdf(0x28f)]['getMember'](this[_0x569fdf(0x36a)],_0x169483))==null?void 0x0:_0x51cb54['name'])!=null?_0x8250de:_0x569fdf(0x297),'range':this[_0x569fdf(0x455)](_0x4a286e,_0x42c8c1),'sheetID':_0x4a286e,'color':this[_0x569fdf(0x3a3)][_0x569fdf(0x266)](_0x169483),'selection':_0xc07e96},_0x26cdb6=this[_0x569fdf(0x1fb)];_0x26cdb6[_0x569fdf(0x3e6)](_0x169483,_0x467615),this[_0x569fdf(0x441)][_0x569fdf(0x277)](_0x26cdb6);}[_0x29a50d(0x306)](_0x17450b){const _0x34c533=_0x29a50d,{memberID:_0x140593}=_0x17450b[_0x34c533(0x2cc)],_0x19d781=this[_0x34c533(0x1fb)];_0x19d781[_0x34c533(0x206)](_0x140593),this[_0x34c533(0x441)][_0x34c533(0x277)](_0x19d781);}[_0x29a50d(0x455)](_0x523091,_0x3ee47a){const _0x563c42=_0x29a50d;var _0x1e1649,_0x3ab2f9;const _0x489506=(_0x3ab2f9=(_0x1e1649=this['_univerInstanceService'][_0x563c42(0x26d)](this['unitID']))==null?void 0x0:_0x1e1649[_0x563c42(0x3b9)](_0x523091))==null?void 0x0:_0x3ab2f9[_0x563c42(0x3dd)]();return(_0x489506==null?void 0x0:_0x489506['find'](_0x241d86=>_0x49eaeb['Rectangle']['contains'](_0x241d86,_0x3ee47a)))||_0x3ee47a;}[_0x29a50d(0x274)](){const _0x2d09db=_0x29a50d,_0x427032=new _0x49eaeb['DisposableCollection'](),_0x3df10c=_0x5c336a(),_0x313273=()=>{const _0x1fb24a=_0x37a6;_0x427032[_0x1fb24a(0x239)]();const _0x3b403c=(_0xec609d,_0x104623,_0x4abd5e,_0x3d3b46)=>{const _0x51a87f=_0x1fb24a;let _0xb7df29=[];switch(_0xec609d['id']){case _0x11631c['EffectRefRangId'][_0x51a87f(0x39e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x1f5)](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId'][_0x51a87f(0x41c)]:{_0xb7df29=_0x11631c[_0x51a87f(0x238)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x32e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x302)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)]['InsertRangeMoveDownCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3e3)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x466)]:{_0xb7df29=_0x11631c[_0x51a87f(0x2db)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x474)]:{_0xb7df29=_0x11631c['handleInsertRow'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x249)]:{_0xb7df29=_0x11631c['handleMoveRange'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x2ff)]:{_0xb7df29=_0x11631c['handleIRemoveCol'](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId']['RemoveRowCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3ea)](_0xec609d,_0x3d3b46);break;}}const _0xc99c4f=_0x11631c[_0x51a87f(0x308)](_0xb7df29,_0x3d3b46),_0x5a362c=this['cursorInfo'][_0x51a87f(0x408)](_0x104623);if(_0x5a362c&&_0xc99c4f){const _0x507f05={..._0x5a362c,'range':_0xc99c4f};this[_0x51a87f(0x1fb)][_0x51a87f(0x3e6)](_0x104623,_0x507f05),_0x3df10c(()=>{const _0x14a302=_0x51a87f,_0x31d5bd=this['_refRangeService'][_0x14a302(0x1fc)](_0xc99c4f,_0x282cea=>(_0x31d5bd[_0x14a302(0x239)](),_0x3b403c(_0x282cea,_0x104623,_0x4abd5e,_0xc99c4f)));_0x427032[_0x14a302(0x3f5)](_0x31d5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1fb24a(0x351)]((_0x2e1fe8,_0x489215)=>{const _0x2738d0=_0x1fb24a,{range:_0x125390,sheetID:_0xf84377}=_0x2e1fe8,_0x41fd2d=this[_0x2738d0(0x3c8)][_0x2738d0(0x1fc)](_0x125390,_0x2d34c7=>(_0x41fd2d[_0x2738d0(0x239)](),_0x3b403c(_0x2d34c7,_0x489215,_0xf84377,_0x125390)));_0x427032[_0x2738d0(0x3f5)](_0x41fd2d);});};this[_0x2d09db(0x46c)](_0x49eaeb[_0x2d09db(0x21d)](this[_0x2d09db(0x441)][_0x2d09db(0x2f6)](()=>{_0x313273();})));}['_toggleOnline'](){const _0x59f179=_0x29a50d;var _0x4996d6,_0x4ea600;if(this['_online']=!0x0,((_0x4996d6=this[_0x59f179(0x2da)][_0x59f179(0x344)]())==null?void 0x0:_0x4996d6[_0x59f179(0x3fc)]())!==this[_0x59f179(0x36a)])return;const _0x53733e=(_0x4ea600=this[_0x59f179(0x3aa)][_0x59f179(0x408)](_0x11631c[_0x59f179(0x20a)])[_0x59f179(0x320)]())==null?void 0x0:_0x4ea600[0x0],_0x57549c=this['_univerInstanceService']['getCurrentUnitForType'](_0x49eaeb[_0x59f179(0x311)]['UNIVER_SHEET'])[_0x59f179(0x3e1)]();_0x53733e&&_0x57549c&&this[_0x59f179(0x237)](_0x57549c[_0x59f179(0x201)](),_0x53733e);}[_0x29a50d(0x45c)](){const _0x1de090=_0x29a50d;this[_0x1de090(0x265)]=!0x1;}};_0x2fd7eb=_0x43ea1f([_0x3f2afc(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x3f2afc(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x3f2afc(0x4,_0x49eaeb['Inject'](_0x5557ff[_0x29a50d(0x3ec)])),_0x3f2afc(0x5,_0x49eaeb[_0x29a50d(0x33d)]),_0x3f2afc(0x6,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3f2afc(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x11631c['RefRangeService']))],_0x2fd7eb);var _0x36a9ff=Object['getOwnPropertyDescriptor'],_0x1737f5=(_0x49396c,_0x1125fb,_0x3571a4,_0xcd829a)=>{const _0x4d82ce=_0x29a50d;for(var _0x184c4a=_0xcd829a>0x1?void 0x0:_0xcd829a?_0x36a9ff(_0x1125fb,_0x3571a4):_0x1125fb,_0x3f3bff=_0x49396c[_0x4d82ce(0x1f8)]-0x1,_0x2a2d6d;_0x3f3bff>=0x0;_0x3f3bff--)(_0x2a2d6d=_0x49396c[_0x3f3bff])&&(_0x184c4a=_0x2a2d6d(_0x184c4a)||_0x184c4a);return _0x184c4a;},_0xc4bb52=(_0x37f5a7,_0x42614c)=>(_0x33e6dd,_0x5d5beb)=>_0x42614c(_0x33e6dd,_0x5d5beb,_0x37f5a7);let _0x43f861=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fcae4,_0x137b54,_0x112c01){const _0xe095a3=_0x29a50d;super(),_0x2d5d22(this,_0xe095a3(0x2e2),new Map()),_0x2d5d22(this,_0xe095a3(0x396),new _0x1a1591[(_0xe095a3(0x3b1))]()),(this[_0xe095a3(0x2da)]=_0x1fcae4,this[_0xe095a3(0x3aa)]=_0x137b54,this[_0xe095a3(0x267)]=_0x112c01,this[_0xe095a3(0x328)]());}[_0x29a50d(0x239)](){const _0x4a0f8f=_0x29a50d;super['dispose'](),this[_0x4a0f8f(0x396)][_0x4a0f8f(0x43e)](),this['_entities']['forEach'](_0x478872=>_0x478872[_0x4a0f8f(0x239)]());}[_0x29a50d(0x445)](_0x25fe8d){const _0x262e8e=_0x29a50d;return this[_0x262e8e(0x2e2)][_0x262e8e(0x35c)](_0x25fe8d)?this[_0x262e8e(0x2e2)][_0x262e8e(0x408)](_0x25fe8d)[_0x262e8e(0x2ab)]:this[_0x262e8e(0x396)][_0x262e8e(0x3cc)](_0x1a1591[_0x262e8e(0x3fb)](_0x373c1d=>_0x373c1d[_0x262e8e(0x36a)]===_0x25fe8d),_0x1a1591[_0x262e8e(0x433)](_0x34df2e=>_0x34df2e[_0x262e8e(0x2ab)]));}[_0x29a50d(0x328)](){const _0x456ee3=_0x29a50d;this['_univerInstanceService'][_0x456ee3(0x421)](_0x49eaeb['UniverInstanceType'][_0x456ee3(0x3f9)])[_0x456ee3(0x3cc)](_0x1a1591['takeUntil'](this[_0x456ee3(0x324)]))['subscribe'](async _0x22d9b3=>{const _0x34d8b5=_0x456ee3,_0x48f54d=_0x22d9b3[_0x34d8b5(0x3fc)](),_0x186d60=await this[_0x34d8b5(0x2ce)](_0x48f54d);this[_0x34d8b5(0x396)][_0x34d8b5(0x277)](_0x186d60),this['_entities'][_0x34d8b5(0x3e6)](_0x48f54d,_0x186d60);}),this[_0x456ee3(0x2da)][_0x456ee3(0x421)](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x2e3)])['pipe'](_0x1a1591[_0x456ee3(0x30c)](this['dispose$']))[_0x456ee3(0x3cc)](_0x1a1591['filter'](_0x46c424=>!_0x46c424[_0x456ee3(0x3fc)]()[_0x456ee3(0x3d3)]('__')))[_0x456ee3(0x2f6)](async _0x434b42=>{const _0x15e9db=_0x456ee3,_0x527ed6=_0x434b42[_0x15e9db(0x3fc)](),_0x5d4e8d=await this['_startDocCollabCursor'](_0x527ed6);this['_entityInit$']['next'](_0x5d4e8d),this[_0x15e9db(0x2e2)][_0x15e9db(0x3e6)](_0x527ed6,_0x5d4e8d);}),_0x1a1591[_0x456ee3(0x27b)](this[_0x456ee3(0x2da)][_0x456ee3(0x2df)](_0x49eaeb[_0x456ee3(0x311)]['UNIVER_DOC']),this[_0x456ee3(0x2da)]['getTypeOfUnitDisposed$'](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x3f9)]))[_0x456ee3(0x3cc)](_0x1a1591[_0x456ee3(0x30c)](this[_0x456ee3(0x324)]))[_0x456ee3(0x2f6)](_0x88b0b0=>{const _0x3eeea0=_0x456ee3,_0x4805a7=_0x88b0b0['getUnitId'](),_0x876251=this['_entities']['get'](_0x4805a7);_0x876251&&(_0x876251['dispose'](),this[_0x3eeea0(0x2e2)][_0x3eeea0(0x206)](_0x4805a7));});}async[_0x29a50d(0x2ce)](_0x3d7417){const _0x36bc38=_0x29a50d,_0x392481=await this[_0x36bc38(0x267)][_0x36bc38(0x225)](_0x3d7417),_0x4e817a=this[_0x36bc38(0x3aa)][_0x36bc38(0x436)](_0x2fd7eb,_0x3d7417,_0x392481);return _0x4e817a[_0x36bc38(0x370)](),_0x4e817a;}async[_0x29a50d(0x2d5)](_0xf574ee){const _0x27c14f=_0x29a50d,_0x80cc8c=await this['_collabSessionService']['requireSession'](_0xf574ee),_0x20e90c=this['_injector'][_0x27c14f(0x436)](_0x1c5ab0,_0xf574ee,_0x80cc8c);return _0x20e90c[_0x27c14f(0x370)](),_0x20e90c;}};_0x43f861=_0x1737f5([_0xc4bb52(0x0,_0x49eaeb['IUniverInstanceService']),_0xc4bb52(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0xc4bb52(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3c1)]))],_0x43f861);const _0x595381=0x14,_0x25739e=0xc8,_0x5d12f1=0x4,_0x1aad98=0x5;function _0x1fa848(_0x2cfae3,_0x5b0dcf){const _0x2f3fc9=_0x29a50d;let {radius:_0x528f92,width:_0x251fca,height:_0x556f83}=_0x5b0dcf;_0x528f92=_0x528f92!=null?_0x528f92:0x0,_0x251fca=_0x251fca!=null?_0x251fca:0x1e,_0x556f83=_0x556f83!=null?_0x556f83:0x1e;let _0x2c1289=0x0,_0x50bd3d=0x0,_0x384fe2=0x0;_0x2c1289=_0x50bd3d=_0x384fe2=Math[_0x2f3fc9(0x397)](_0x528f92,_0x251fca/0x2,_0x556f83/0x2),_0x2cfae3['beginPath'](),_0x2cfae3['moveTo'](_0x2c1289,0x0),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca-_0x50bd3d,0x0),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x50bd3d,_0x50bd3d,_0x50bd3d,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca,_0x556f83-_0x384fe2),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x384fe2,_0x556f83-_0x384fe2,_0x384fe2,0x0,Math['PI']/0x2,!0x1),_0x2cfae3['lineTo'](0x0,_0x556f83),_0x2cfae3[_0x2f3fc9(0x2fb)](0x0,_0x2c1289),_0x2cfae3['arc'](_0x2c1289,_0x2c1289,_0x2c1289,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cfae3[_0x2f3fc9(0x3c5)](),_0x5b0dcf['fill']&&(_0x2cfae3[_0x2f3fc9(0x309)](),_0x2cfae3[_0x2f3fc9(0x1e3)]=_0x5b0dcf[_0x2f3fc9(0x2ca)],_0x5b0dcf[_0x2f3fc9(0x2d3)]==='evenodd'?_0x2cfae3[_0x2f3fc9(0x2ca)](_0x2f3fc9(0x200)):_0x2cfae3[_0x2f3fc9(0x2ca)](),_0x2cfae3[_0x2f3fc9(0x342)]());}class _0x5827b1 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x123bc4,_0x50a212){const _0x574b9a=_0x29a50d;super(_0x123bc4,_0x50a212),_0x2d5d22(this,_0x574b9a(0x37c)),_0x2d5d22(this,_0x574b9a(0x40d)),(this[_0x574b9a(0x37c)]=_0x50a212==null?void 0x0:_0x50a212['color'],this[_0x574b9a(0x40d)]=_0x50a212==null?void 0x0:_0x50a212['text']);}static[_0x29a50d(0x3f8)](_0x54e41d,_0x2be9a9){const _0x20fae6=_0x29a50d,{text:_0x204f7d,color:_0x552aeb}=_0x2be9a9;_0x54e41d[_0x20fae6(0x309)](),_0x54e41d[_0x20fae6(0x28e)]=_0x20fae6(0x411);const _0x13f2a8=_0x54e41d[_0x20fae6(0x305)](_0x204f7d)[_0x20fae6(0x37d)],_0x4da335=Math[_0x20fae6(0x397)](_0x13f2a8+0x2*_0x5d12f1,_0x25739e);_0x1fa848(_0x54e41d,{'height':_0x595381,'radius':0x4,'width':_0x4da335,'fill':_0x552aeb}),_0x54e41d[_0x20fae6(0x1e3)]=_0x20fae6(0x295);const _0x4a4c41=_0x5d12f1,_0x1a7f24=_0x595381-_0x1aad98,_0xac7a1a=_0x25739e-0x2*_0x5d12f1;if(_0x13f2a8>_0xac7a1a){let _0x702ca1='',_0x59d5fe=0x0;for(const _0x43efd4 of _0x204f7d){const _0x509ea0=_0x54e41d['measureText'](_0x43efd4)[_0x20fae6(0x37d)];if(_0x59d5fe+_0x509ea0<=_0xac7a1a-_0x54e41d['measureText'](_0x20fae6(0x35b))[_0x20fae6(0x37d)])_0x702ca1+=_0x43efd4,_0x59d5fe+=_0x509ea0;else{_0x702ca1+='...';break;}}_0x54e41d[_0x20fae6(0x23e)](_0x702ca1,_0x4a4c41,_0x1a7f24);}else _0x54e41d[_0x20fae6(0x23e)](_0x204f7d,_0x4a4c41,_0x1a7f24);_0x54e41d[_0x20fae6(0x342)]();}[_0x29a50d(0x220)](_0x2c63ab){const _0x31e105=_0x29a50d;_0x5827b1[_0x31e105(0x3f8)](_0x2c63ab,this);}}const _0x45e3b3='collab-text-anchor-',_0x593524='collab-text-range-',_0x4eac36='collab-rect-range-',_0x4a83dd=0x6,_0xf35acb=1.5,_0x3c267d=0x4,_0x58e706=1.5,_0x295271=_0x29a50d(0x340);class _0x214372{constructor(_0x3e4ba4,_0x3dbc7d,_0x4e6b0a,_0x4a9247){const _0x9f0b05=_0x29a50d;_0x2d5d22(this,_0x9f0b05(0x333),[]),_0x2d5d22(this,_0x9f0b05(0x34e),null),_0x2d5d22(this,_0x9f0b05(0x3da),null),_0x2d5d22(this,_0x9f0b05(0x335),null),_0x2d5d22(this,_0x9f0b05(0x3ce),null),_0x2d5d22(this,_0x9f0b05(0x409),null),(this[_0x9f0b05(0x3ee)]=_0x3e4ba4,this[_0x9f0b05(0x431)]=_0x3dbc7d,this[_0x9f0b05(0x456)]=_0x4e6b0a,this[_0x9f0b05(0x41f)]=_0x4a9247,this[_0x9f0b05(0x3af)]());}set[_0x29a50d(0x207)](_0x41cae6){const _0x2102ff=_0x29a50d;_0x41cae6?(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['hide'](),this[_0x2102ff(0x3da)]&&this[_0x2102ff(0x3da)][_0x2102ff(0x29d)]()):(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['show'](),this['_textBubble']&&this[_0x2102ff(0x3da)][_0x2102ff(0x275)]());}['dispose'](){const _0x4a4306=_0x29a50d;for(const _0x5d9214 of this[_0x4a4306(0x333)])_0x5d9214['dispose']();this['_textBubble']&&this[_0x4a4306(0x3da)][_0x4a4306(0x239)](),this[_0x4a4306(0x335)]&&this[_0x4a4306(0x335)]['dispose'](),this[_0x4a4306(0x34e)]&&this['_anchor'][_0x4a4306(0x239)](),this[_0x4a4306(0x409)]&&this[_0x4a4306(0x409)]();}[_0x29a50d(0x3af)](){const _0x812f97=_0x29a50d;var _0x54bee7;const {_docSkeleton:_0x13682a,_document:_0x4c4e05}=this,{color:_0x42366a,name:_0x2b802f,ranges:_0x526b13}=this[_0x812f97(0x3ee)],_0x13f25f=_0x4c4e05['getOffsetConfig'](),{docsLeft:_0x322209,docsTop:_0x444da5}=_0x13f25f,_0xddf286=new _0x3c8f3f[(_0x812f97(0x3d9))](_0x13f25f,_0x13682a);for(const {startOffset:_0xc4d8c6,endOffset:_0x202600,rangeType:_0x1a009d,segmentId:_0x30354b,segmentPage:_0x58f5c7,collapsed:_0x5407d4,isActive:_0x37e2ac}of _0x526b13){const _0xb5a5e8=_0x13682a[_0x812f97(0x39d)](_0xc4d8c6,!0x0,_0x30354b,_0x58f5c7);let _0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600,!0x0,_0x30354b,_0x58f5c7);if(_0x3e5266==null&&(_0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600-0x1,!0x1,_0x30354b,_0x58f5c7)),_0x37e2ac){const {contentBoxPointGroup:_0x3c1015}=_0xddf286[_0x812f97(0x231)](_0x3e5266,_0x3e5266);if(_0x3c1015[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x290)](_0x42366a,_0x3c1015,_0x322209,_0x444da5,_0x2b802f),this['_eventUnsubscribe']=this[_0x812f97(0x319)]();}if(_0xb5a5e8&&_0x3e5266){if(_0x1a009d===_0x49eaeb[_0x812f97(0x292)][_0x812f97(0x42c)]){const _0x56e4a8=new _0x3c8f3f[(_0x812f97(0x2dc))](_0x13f25f,_0x13682a),{pointGroup:_0x552913}=(_0x54bee7=_0x56e4a8[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266))!=null?_0x54bee7:{};if(_0x552913==null||_0x552913[_0x812f97(0x1f8)]===0x0)continue;this['_drawRectRange'](_0x42366a,_0x552913,_0x322209,_0x444da5);}else{if(!_0x5407d4){const {borderBoxPointGroup:_0x5c893e}=_0xddf286[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266);if(_0x5c893e[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x282)](_0x42366a,_0x5c893e,_0x322209,_0x444da5);}}}}}[_0x29a50d(0x290)](_0x2afa69,_0x1a66e9,_0x218e4a,_0x5330ef,_0x480104){const _0x242994=_0x29a50d,_0xa0e5e9=this[_0x242994(0x259)](_0x1a66e9),{left:_0x4e614e,top:_0x1adf7a,height:_0x2b8ac1}=_0xa0e5e9,_0x3be486=this[_0x242994(0x2ba)](),_0x15035b=_0x58e706/_0x3be486,_0x2fb4c4=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef,'height':_0x2b8ac1,'width':_0xf35acb,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)][_0x242994(0x2de)],0x0),'strokeWidth':_0x15035b,'stroke':_0x295271,'evented':!0x0});this[_0x242994(0x34e)]=_0x2fb4c4,this[_0x242994(0x431)][_0x242994(0x272)](_0x2fb4c4,_0x3c8f3f[_0x242994(0x2ad)]);const _0xf434f0=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x3c267d/0x2,'height':_0x3c267d,'width':_0x3c267d,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xf434f0,this[_0x242994(0x431)][_0x242994(0x272)](_0xf434f0,_0x3c8f3f[_0x242994(0x2ad)]);const _0x36664a=new _0x5827b1(_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x595381,'text':_0x480104,'color':_0x2afa69});this[_0x242994(0x3da)]=_0x36664a,this['_scene']['addObject'](_0x36664a,_0x3c8f3f[_0x242994(0x2ad)]),this[_0x242994(0x207)]=!0x1;}[_0x29a50d(0x319)](){const _0x4837cb=_0x29a50d,_0x6a500e=this[_0x4837cb(0x34e)][_0x4837cb(0x230)][_0x4837cb(0x3bd)](()=>{const _0x556c8f=_0x4837cb;this[_0x556c8f(0x207)]=!0x0;}),_0x229f15=this[_0x4837cb(0x34e)][_0x4837cb(0x2c3)][_0x4837cb(0x3bd)](()=>{const _0x1fcfe4=_0x4837cb;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1fcfe4(0x3ce)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x42cfd5=_0x4837cb;_0x6a500e['unsubscribe'](),_0x229f15[_0x42cfd5(0x2dd)]();};}[_0x29a50d(0x282)](_0x40fe86,_0x5e3a47,_0x6196e,_0x51c9d0){const _0x5cb361=_0x29a50d,_0x31d0ca=new _0x49eaeb[(_0x5cb361(0x3b8))](_0x40fe86)[_0x5cb361(0x44c)](0.2)['toRgbString'](),_0x41fd0e=new _0x506afb[(_0x5cb361(0x21a))](_0x593524+_0x49eaeb[_0x5cb361(0x226)][_0x5cb361(0x2fe)](_0x4a83dd),{'pointsGroup':_0x5e3a47,'fill':_0x31d0ca||_0x506afb['getColor'](_0x49eaeb[_0x5cb361(0x28b)][_0x5cb361(0x2de)],0.2),'left':_0x6196e,'top':_0x51c9d0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5cb361(0x2e9)](_0x41fd0e),this['_scene'][_0x5cb361(0x272)](_0x41fd0e,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af45b,_0x4f3615,_0x1aec2d,_0x5af415){const _0x352058=_0x29a50d,_0x3c6631=new _0x49eaeb[(_0x352058(0x3b8))](_0x5af45b)['setAlpha'](0.2)['toRgbString'](),_0x475ffe=new _0x506afb[(_0x352058(0x21a))](_0x4eac36+_0x49eaeb[_0x352058(0x226)][_0x352058(0x2fe)](_0x4a83dd),{'pointsGroup':_0x4f3615,'fill':_0x3c6631||_0x506afb[_0x352058(0x304)](_0x49eaeb[_0x352058(0x28b)][_0x352058(0x2de)],0.2),'left':_0x1aec2d,'top':_0x5af415,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x352058(0x333)][_0x352058(0x2e9)](_0x475ffe),this['_scene']['addObject'](_0x475ffe,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}[_0x29a50d(0x259)](_0x1b3048){const _0x35d2bb=_0x1b3048[0x0],_0x8c0ff4=_0x35d2bb[0x0],_0x67a131=_0x35d2bb[0x2],{x:_0x439ceb,y:_0x14acd5}=_0x8c0ff4,{x:_0x116d28,y:_0xe3887c}=_0x67a131;return{'left':_0x439ceb,'top':_0x14acd5,'width':_0x116d28-_0x439ceb,'height':_0xe3887c-_0x14acd5};}[_0x29a50d(0x2ba)](){const _0x29008e=_0x29a50d,{scaleX:_0x26399a,scaleY:_0x2e15ad}=this[_0x29008e(0x431)]['getAncestorScale']();return Math[_0x29008e(0x23d)](_0x26399a,_0x2e15ad);}}var _0x107dfe=Object[_0x29a50d(0x285)],_0xd28aa9=(_0x436812,_0x9ad9ac,_0x1f56b8,_0x3f88ec)=>{for(var _0x163b0a=_0x3f88ec>0x1?void 0x0:_0x3f88ec?_0x107dfe(_0x9ad9ac,_0x1f56b8):_0x9ad9ac,_0x55ddf6=_0x436812['length']-0x1,_0x1bfcf0;_0x55ddf6>=0x0;_0x55ddf6--)(_0x1bfcf0=_0x436812[_0x55ddf6])&&(_0x163b0a=_0x1bfcf0(_0x163b0a)||_0x163b0a);return _0x163b0a;},_0x3baee4=(_0x50ae0e,_0x146b2b)=>(_0x1bd7d8,_0x16f6a7)=>_0x146b2b(_0x1bd7d8,_0x16f6a7,_0x50ae0e);let _0x4c2a27=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fd917,_0x573634,_0xf56dea,_0x53c965,_0x53ef7c){const _0x3e4a0f=_0x29a50d;super(),_0x2d5d22(this,_0x3e4a0f(0x276),[]),_0x2d5d22(this,_0x3e4a0f(0x343),[]),(this[_0x3e4a0f(0x3cd)]=_0x1fd917,this['_docSkeletonManagerService']=_0x573634,this[_0x3e4a0f(0x1f3)]=_0xf56dea,this[_0x3e4a0f(0x260)]=_0x53c965,this[_0x3e4a0f(0x3bf)]=_0x53ef7c,this[_0x3e4a0f(0x328)]());}['_init'](){const _0x16e7b7=_0x29a50d,_0xdf8016=this[_0x16e7b7(0x3cd)][_0x16e7b7(0x2c8)],_0x3e3eea=this[_0x16e7b7(0x2cd)];this['disposeWithMe'](_0x1a1591[_0x16e7b7(0x45d)]([this[_0x16e7b7(0x1f3)][_0x16e7b7(0x445)](_0xdf8016),this[_0x16e7b7(0x3bf)][_0x16e7b7(0x1ef)]])[_0x16e7b7(0x3cc)](_0x35f2b8[_0x16e7b7(0x247)](([_0x5a3dc3,_0x475a70])=>({'skeleton':_0x3e3eea['getSkeleton'](),'cursors':[..._0x5a3dc3['values']()]['flatMap'](_0x67a813=>({..._0x67a813,'color':_0x475a70[_0x67a813[_0x16e7b7(0x37c)]]}))})))[_0x16e7b7(0x2f6)](_0x2682e4=>{if(this['_removeCollabCursors'](),_0x2682e4){const {skeleton:_0x2b344f,cursors:_0x51b64b}=_0x2682e4;this['_updateCollabCursors'](_0x2b344f,_0x51b64b);}})),this[_0x16e7b7(0x44e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x237092,_0x47ce55){const _0x1b9e39=_0x29a50d,{scene:_0x29e729,mainComponent:_0x34df55}=this[_0x1b9e39(0x3cd)],_0x2688a4=_0x47ce55[_0x1b9e39(0x247)](_0x5d3b92=>new _0x214372(_0x5d3b92,_0x29e729,_0x237092,_0x34df55));this[_0x1b9e39(0x276)]=_0x2688a4,this[_0x1b9e39(0x343)]=_0x47ce55;}[_0x29a50d(0x400)](){const _0x148839=_0x29a50d;this[_0x148839(0x2f7)]();const {scene:_0x30c4b0,mainComponent:_0x10e7e5}=this[_0x148839(0x3cd)],_0x62d2de=this[_0x148839(0x2cd)][_0x148839(0x2ef)](),_0x5cbf00=this[_0x148839(0x343)]['map'](_0x3136ff=>new _0x214372(_0x3136ff,_0x30c4b0,_0x62d2de,_0x10e7e5));this['_cursorShapes']=_0x5cbf00;}[_0x29a50d(0x2f7)](){const _0x254992=_0x29a50d;this[_0x254992(0x276)][_0x254992(0x351)](_0x232435=>_0x232435['dispose']()),this[_0x254992(0x276)]=[];}[_0x29a50d(0x2d1)](){const _0x5c9c54=_0x29a50d,_0x4f4477=[_0x3c8f3f['SetDocZoomRatioOperation']['id']];this[_0x5c9c54(0x46c)](this[_0x5c9c54(0x260)][_0x5c9c54(0x2f3)](_0x2c8f89=>{const _0x4b6b71=_0x5c9c54;_0x4f4477[_0x4b6b71(0x43f)](_0x2c8f89['id'])&&_0x2c8f89['params']['unitId']===this['_context'][_0x4b6b71(0x2c8)]&&this[_0x4b6b71(0x400)]();}));}[_0x29a50d(0x44e)](){const _0x520440=_0x29a50d;this[_0x520440(0x46c)](_0x49eaeb[_0x520440(0x384)](this[_0x520440(0x3cd)][_0x520440(0x2d2)]['onTransformChange$'])[_0x520440(0x3cc)](_0x35f2b8[_0x520440(0x3fb)](_0x4d3e1b=>_0x4d3e1b[_0x520440(0x462)]===_0x506afb[_0x520440(0x45f)][_0x520440(0x2bb)]),_0x35f2b8[_0x520440(0x458)](0x10))[_0x520440(0x2f6)](()=>{this['_refreshCollabCursors']();}));}};_0x4c2a27=_0xd28aa9([_0x3baee4(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x54d7ba[_0x29a50d(0x45b)])),_0x3baee4(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x3baee4(0x3,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3baee4(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['ThemeService']))],_0x4c2a27);const _0x59e1ad=0x1,_0x3f904f=1.5;class _0x3df6b2 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x357750,_0xb910e3){const _0x5198b1=_0x29a50d;super(_0x357750,_0xb910e3),_0x2d5d22(this,_0x5198b1(0x440)),_0x2d5d22(this,_0x5198b1(0x43b),!0x1),_0x2d5d22(this,_0x5198b1(0x36d)),_0x2d5d22(this,_0x5198b1(0x2d8),''),_0x2d5d22(this,_0x5198b1(0x326),_0x5198b1(0x20d)),_0x2d5d22(this,_0x5198b1(0x3d7)),(_0xb910e3&&this[_0x5198b1(0x234)](_0xb910e3),this[_0x5198b1(0x230)][_0x5198b1(0x3bd)](()=>this[_0x5198b1(0x234)]({'hovered':!0x0})),this[_0x5198b1(0x2c3)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x29a50d(0x234)](_0x5666db){const _0x3609aa=_0x29a50d;var _0x882a0c,_0x1938c7,_0x40b2a5,_0xe2a95e,_0x301e74,_0x5311ad;this[_0x3609aa(0x440)]=(_0x882a0c=_0x5666db['color'])!=null?_0x882a0c:this['_color'],this[_0x3609aa(0x43b)]=(_0x1938c7=_0x5666db[_0x3609aa(0x316)])!=null?_0x1938c7:this[_0x3609aa(0x43b)],this[_0x3609aa(0x36d)]=(_0x40b2a5=_0x5666db[_0x3609aa(0x413)])!=null?_0x40b2a5:this[_0x3609aa(0x36d)],this['_name']=(_0xe2a95e=_0x5666db[_0x3609aa(0x286)])!=null?_0xe2a95e:this[_0x3609aa(0x2d8)],this[_0x3609aa(0x326)]=(_0x301e74=_0x5666db[_0x3609aa(0x26a)])!=null?_0x301e74:this[_0x3609aa(0x326)],this['_backgroundColor']=(_0x5311ad=_0x5666db[_0x3609aa(0x251)])!=null?_0x5311ad:this['_backgroundColor'],this['transformByState']({'width':_0x5666db[_0x3609aa(0x37d)],'height':_0x5666db['height']});}[_0x29a50d(0x392)](_0x770daa){const _0x44e7b1=_0x29a50d,{row:_0x3963f2,column:_0x5b921c}=_0x770daa;if(_0x3963f2>=this[_0x44e7b1(0x36d)][_0x44e7b1(0x381)]&&_0x3963f2<=this['_range'][_0x44e7b1(0x35a)]&&_0x5b921c>=this['_range'][_0x44e7b1(0x449)]&&_0x5b921c<=this['_range'][_0x44e7b1(0x369)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x44e7b1(0x234)]({'hovered':!0x1});}[_0x29a50d(0x46f)](_0x13abc2){return!0x1;}[_0x29a50d(0x220)](_0x4b761c){const _0x5c9d98=_0x29a50d;_0x506afb['Rect'][_0x5c9d98(0x3f8)](_0x4b761c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3f904f,'stroke':this[_0x5c9d98(0x440)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5c9d98(0x43b)]&&(_0x4b761c[_0x5c9d98(0x309)](),_0x4b761c[_0x5c9d98(0x44a)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c9d98(0x326)]===_0x5c9d98(0x46e)?0x0:-0x14),_0x5827b1[_0x5c9d98(0x3f8)](_0x4b761c,{'text':this[_0x5c9d98(0x2d8)],'color':this[_0x5c9d98(0x440)]}),_0x4b761c[_0x5c9d98(0x342)]());}}var _0x17711b=Object['getOwnPropertyDescriptor'],_0x164dcf=(_0xfef30,_0x2099a7,_0x4fe18f,_0x3af357)=>{for(var _0x86c95f=_0x3af357>0x1?void 0x0:_0x3af357?_0x17711b(_0x2099a7,_0x4fe18f):_0x2099a7,_0x2ce3a3=_0xfef30['length']-0x1,_0x348977;_0x2ce3a3>=0x0;_0x2ce3a3--)(_0x348977=_0xfef30[_0x2ce3a3])&&(_0x86c95f=_0x348977(_0x86c95f)||_0x86c95f);return _0x86c95f;},_0x150cc6=(_0x53b799,_0x3011e2)=>(_0x5524e9,_0x58d18f)=>_0x3011e2(_0x5524e9,_0x58d18f,_0x53b799);const _0x49cc29=0x1389;let _0x42601e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x481f71,_0x53f870,_0x1248d5,_0x12d6c1){const _0x3f9766=_0x29a50d;super(),_0x2d5d22(this,'_cursors',new Set()),_0x2d5d22(this,'_lastPointer',null),(this[_0x3f9766(0x3cd)]=_0x481f71,this[_0x3f9766(0x2f0)]=_0x53f870,this[_0x3f9766(0x1f3)]=_0x1248d5,this['_themeService']=_0x12d6c1,this[_0x3f9766(0x328)]());}[_0x29a50d(0x328)](){const _0x6d86b0=_0x29a50d;this['_sheetSkeletonManagerService'][_0x6d86b0(0x37a)]['pipe'](_0x35f2b8[_0x6d86b0(0x30c)](this['dispose$']),_0x35f2b8[_0x6d86b0(0x433)](_0x3cd373=>{const _0x4ad794=_0x6d86b0;if(_0x3cd373){const _0x45b53d=_0x3cd373['sheetId'];return _0x1a1591[_0x4ad794(0x45d)](this[_0x4ad794(0x1f3)][_0x4ad794(0x445)](this[_0x4ad794(0x3cd)][_0x4ad794(0x2c8)]),this[_0x4ad794(0x3bf)][_0x4ad794(0x1ef)])[_0x4ad794(0x3cc)](_0x35f2b8[_0x4ad794(0x247)](([_0x2416f2,_0x959f7b])=>{const _0x46a639=_0x4ad794,_0x55f638=new Map();return _0x2416f2[_0x46a639(0x351)]((_0x300450,_0x1c2983)=>{const _0x19a46a=_0x46a639;if(_0x300450[_0x19a46a(0x213)]===_0x45b53d){const _0x44979e={..._0x300450};_0x44979e['color']=_0x959f7b[_0x300450[_0x19a46a(0x37c)]],_0x55f638[_0x19a46a(0x3e6)](_0x1c2983,_0x44979e);}}),{'skeleton':_0x3cd373,'cursors':_0x55f638};}));}return _0x1a1591['of']({'skeleton':null,'cursors':new Map()});}))[_0x6d86b0(0x2f6)](({skeleton:_0x210926,cursors:_0x1d0ee8})=>{const _0x274cd0=_0x6d86b0;this[_0x274cd0(0x2f7)](),_0x210926&&this[_0x274cd0(0x3dc)](_0x210926,_0x1d0ee8);}),this[_0x6d86b0(0x2f0)][_0x6d86b0(0x37a)][_0x6d86b0(0x2f6)](_0x31099a=>{const _0x825ee0=_0x6d86b0;if(_0x31099a==null)return;const {skeleton:_0x4b2fd2}=_0x31099a,{scene:_0x2a1228}=this[_0x825ee0(0x3cd)];_0x2a1228[_0x825ee0(0x204)][_0x825ee0(0x3bd)](_0x49eaeb['debounce'](_0x42ae3c=>{const _0x4ee79d=_0x825ee0;var _0x56e3ed,_0x3f29ff;const {offsetX:_0x5eb4a4,offsetY:_0x1994a7}=_0x42ae3c,{x:_0x422ea7,y:_0x3c90fe}=_0x2a1228[_0x4ee79d(0x36f)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x5eb4a4,_0x1994a7])),{scaleX:_0x2c1529,scaleY:_0xfd9cf7}=_0x2a1228[_0x4ee79d(0x2a6)](),_0x312e80=_0x2a1228[_0x4ee79d(0x42a)](_0x506afb['SHEET_VIEWPORT_KEY'][_0x4ee79d(0x22b)]),_0x25e836=_0x2a1228[_0x4ee79d(0x233)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x422ea7,_0x3c90fe]),_0x312e80),_0x576f8d=_0x4b2fd2[_0x4ee79d(0x391)](_0x5eb4a4,_0x1994a7,_0x2c1529,_0xfd9cf7,_0x25e836);((_0x56e3ed=this[_0x4ee79d(0x255)])==null?void 0x0:_0x56e3ed[_0x4ee79d(0x288)])===_0x576f8d[_0x4ee79d(0x288)]&&((_0x3f29ff=this[_0x4ee79d(0x255)])==null?void 0x0:_0x3f29ff[_0x4ee79d(0x374)])===_0x576f8d[_0x4ee79d(0x374)]||this[_0x4ee79d(0x343)]['forEach'](_0xa3c1ab=>{const _0x5e747d=_0x4ee79d;_0xa3c1ab[_0x5e747d(0x392)](_0x576f8d);});},0x64));});}[_0x29a50d(0x3dc)](_0x496eed,_0x5e8931){const _0x4b71be=_0x29a50d;var _0x3c6fe;const _0x495ed1=(_0x3c6fe=this[_0x4b71be(0x2f0)][_0x4b71be(0x1f1)]())==null?void 0x0:_0x3c6fe['skeleton'];if(!_0x495ed1)return;const _0x4608e5=this['_getSheetObject']();if(!_0x4608e5)return;this[_0x4b71be(0x343)]['forEach'](_0x41c480=>{const _0x29973c=_0x4b71be;_0x41c480[_0x29973c(0x325)]();});const {scene:_0x2374c4}=_0x4608e5,_0x5464c0=_0x4a5028(Array[_0x4b71be(0x3b6)](_0x5e8931['values']()))['map'](_0x3a7ab3=>{const _0x148d4d=_0x4b71be,{color:_0x3ef8a7,range:_0x326a23,name:_0x50d0df,selection:_0x5eb8dd,sheetID:_0x4992ec}=_0x3a7ab3,{startColumn:_0x3cdda8,startRow:_0x29f463,endColumn:_0x3a6129,endRow:_0x23281d}=_0x326a23,_0x316077=_0x5f076c[_0x148d4d(0x223)](_0x29f463,_0x3cdda8,_0x2374c4,_0x495ed1),_0xe56fcd=_0x5f076c[_0x148d4d(0x223)](_0x23281d,_0x3a6129,_0x2374c4,_0x495ed1),{columnHeaderHeightAndMarginTop:_0x446ee4}=_0x495ed1,{startX:_0x158b01,startY:_0x2fe37e}=_0x316077,{endX:_0x4f82ad,endY:_0x20bee8}=_0xe56fcd,_0x39bd86=_0x4f82ad-_0x158b01,_0x57bf4b=_0x20bee8-_0x2fe37e,_0x9cb66f={'labelPosition':_0x2fe37e-_0x446ee4>=_0x595381?'top':'bottom','sheetID':_0x4992ec,'range':_0x326a23,'color':_0x3ef8a7,'name':_0x50d0df,'selection':_0x5eb8dd,'left':_0x158b01,'top':_0x2fe37e,'width':_0x39bd86,'height':_0x57bf4b,'evented':!0x1,'zIndex':_0x49cc29};return new _0x3df6b2(_0x50d0df,_0x9cb66f);});_0x2374c4[_0x4b71be(0x1f9)](_0x5464c0,_0x59e1ad),this['_cursors']=new Set(_0x5464c0);}[_0x29a50d(0x2f7)](){const _0x123827=_0x29a50d;var _0x1a2a51;(_0x1a2a51=this[_0x123827(0x343)])==null||_0x1a2a51[_0x123827(0x351)](_0x506781=>_0x506781['dispose']());}[_0x29a50d(0x216)](){const _0x47d64f=_0x29a50d;return _0x5f076c[_0x47d64f(0x442)](this['_context'][_0x47d64f(0x2c7)],this[_0x47d64f(0x3cd)]);}};_0x42601e=_0x164dcf([_0x150cc6(0x1,_0x49eaeb['Inject'](_0x5f076c[_0x29a50d(0x379)])),_0x150cc6(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x150cc6(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x278)]))],_0x42601e);function _0x4a5028(_0x3f4beb){const _0x5c8338=_0x29a50d,_0x326479=new Map();return _0x3f4beb[_0x5c8338(0x351)](_0x54d189=>{const _0x374dd7=_0x5c8338;if(_0x326479[_0x374dd7(0x35c)](_0x54d189['selection'])){const _0x42dfa3=_0x326479[_0x374dd7(0x408)](_0x54d189[_0x374dd7(0x25d)]);_0x42dfa3[_0x374dd7(0x286)]+=',\x20'+_0x54d189['name'];}else _0x326479[_0x374dd7(0x3e6)](_0x54d189[_0x374dd7(0x25d)],_0x54d189);}),Array['from'](_0x326479[_0x5c8338(0x28a)]());}var _0x5e223d=function(){const _0x12e8ac=_0x29a50d;return _0x5e223d=Object[_0x12e8ac(0x3e2)]||function(_0x27c652){const _0x3b9e3f=_0x12e8ac;for(var _0x121108,_0x2716cc=0x1,_0x251cef=arguments['length'];_0x2716cc<_0x251cef;_0x2716cc++){_0x121108=arguments[_0x2716cc];for(var _0x41b081 in _0x121108)Object[_0x3b9e3f(0x25b)][_0x3b9e3f(0x23a)]['call'](_0x121108,_0x41b081)&&(_0x27c652[_0x41b081]=_0x121108[_0x41b081]);}return _0x27c652;},_0x5e223d['apply'](this,arguments);},_0x5e4f93=function(_0x1b3302,_0x1acaa4){const _0x33d7e2=_0x29a50d;var _0x2516ca={};for(var _0x557376 in _0x1b3302)Object[_0x33d7e2(0x25b)][_0x33d7e2(0x23a)]['call'](_0x1b3302,_0x557376)&&_0x1acaa4['indexOf'](_0x557376)<0x0&&(_0x2516ca[_0x557376]=_0x1b3302[_0x557376]);if(_0x1b3302!=null&&typeof Object[_0x33d7e2(0x22d)]==_0x33d7e2(0x329)){for(var _0x2d8021=0x0,_0x557376=Object[_0x33d7e2(0x22d)](_0x1b3302);_0x2d8021<_0x557376[_0x33d7e2(0x1f8)];_0x2d8021++)_0x1acaa4[_0x33d7e2(0x2cf)](_0x557376[_0x2d8021])<0x0&&Object[_0x33d7e2(0x25b)][_0x33d7e2(0x2d9)][_0x33d7e2(0x414)](_0x1b3302,_0x557376[_0x2d8021])&&(_0x2516ca[_0x557376[_0x2d8021]]=_0x1b3302[_0x557376[_0x2d8021]]);}return _0x2516ca;},_0x518293=_0x1a1d3a['forwardRef'](function(_0x3d5e4f,_0x8dde8a){const _0x1345da=_0x29a50d;var _0x3f682c=_0x3d5e4f[_0x1345da(0x3a5)],_0x481f96=_0x3d5e4f['id'],_0x35b657=_0x3d5e4f[_0x1345da(0x281)],_0x16deca=_0x3d5e4f[_0x1345da(0x244)],_0x109b32=_0x5e4f93(_0x3d5e4f,[_0x1345da(0x3a5),'id',_0x1345da(0x281),'extend']),_0x5b5d2f=_0x1345da(0x253)['concat'](_0x481f96,'\x20')[_0x1345da(0x24c)](_0x35b657||'')[_0x1345da(0x45a)](),_0x314177=_0x1a1d3a[_0x1345da(0x393)]('_'[_0x1345da(0x24c)](_0x167b70()));return _0xe1bc89(_0x3f682c,''['concat'](_0x481f96),{'defIds':_0x3f682c[_0x1345da(0x385)],'idSuffix':_0x314177['current']},_0x5e223d({'ref':_0x8dde8a,'className':_0x5b5d2f},_0x109b32),_0x16deca);});function _0xe1bc89(_0x32cb20,_0x30bd2c,_0xda12b3,_0xce40f2,_0x519065){const _0x4bf9a5=_0x29a50d;return _0x1a1d3a[_0x4bf9a5(0x202)](_0x32cb20['tag'],_0x5e223d(_0x5e223d({'key':_0x30bd2c},_0x336027(_0x32cb20,_0xda12b3,_0x519065)),_0xce40f2),(_0x2f8816(_0x32cb20,_0xda12b3)[_0x4bf9a5(0x38d)]||[])[_0x4bf9a5(0x247)](function(_0xb797aa,_0x4d0a49){const _0x48bc9f=_0x4bf9a5;return _0xe1bc89(_0xb797aa,''[_0x48bc9f(0x24c)](_0x30bd2c,'-')[_0x48bc9f(0x24c)](_0x32cb20[_0x48bc9f(0x21c)],'-')[_0x48bc9f(0x24c)](_0x4d0a49),_0xda12b3,void 0x0,_0x519065);}));}function _0x336027(_0x5e1a0c,_0x8cdc9c,_0x1b30ed){const _0x508d5c=_0x29a50d;var _0x34377a=_0x5e223d({},_0x5e1a0c[_0x508d5c(0x452)]);_0x1b30ed!=null&&_0x1b30ed[_0x508d5c(0x27e)]&&_0x34377a[_0x508d5c(0x2ca)]===_0x508d5c(0x27e)&&(_0x34377a[_0x508d5c(0x2ca)]=_0x1b30ed[_0x508d5c(0x27e)]),_0x5e1a0c['tag']===_0x508d5c(0x2d0)&&_0x34377a['id']&&(_0x34377a['id']=_0x34377a['id']+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)['forEach'](function(_0xd2f93d){const _0x21d8b1=_0x508d5c;var _0x51c035=_0xd2f93d[0x0],_0x22f51b=_0xd2f93d[0x1];_0x51c035===_0x21d8b1(0x2d0)&&typeof _0x22f51b==_0x21d8b1(0x389)&&(_0x34377a[_0x51c035]=_0x22f51b[_0x21d8b1(0x296)](/url\(#(.*)\)/,_0x21d8b1(0x3a9)['concat'](_0x8cdc9c[_0x21d8b1(0x33b)],')')));});var _0x5e7449=_0x8cdc9c[_0x508d5c(0x385)];return!_0x5e7449||_0x5e7449[_0x508d5c(0x1f8)]===0x0||(_0x5e1a0c[_0x508d5c(0x21c)]==='use'&&_0x34377a[_0x508d5c(0x371)]&&(_0x34377a[_0x508d5c(0x371)]=_0x34377a[_0x508d5c(0x371)]+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)[_0x508d5c(0x351)](function(_0x3cbccd){const _0x28abe2=_0x508d5c;var _0x173d66=_0x3cbccd[0x0],_0x30a18e=_0x3cbccd[0x1];typeof _0x30a18e==_0x28abe2(0x389)&&(_0x34377a[_0x173d66]=_0x30a18e['replace'](/url\(#(.*)\)/,_0x28abe2(0x3a9)['concat'](_0x8cdc9c['idSuffix'],')')));})),_0x34377a;}function _0x2f8816(_0x3ad024,_0x118555){const _0x27929b=_0x29a50d;var _0x10d735,_0x31e7fe=_0x118555[_0x27929b(0x385)];return!_0x31e7fe||_0x31e7fe[_0x27929b(0x1f8)]===0x0?_0x3ad024:_0x3ad024[_0x27929b(0x21c)]===_0x27929b(0x3fa)&&(!((_0x10d735=_0x3ad024[_0x27929b(0x38d)])===null||_0x10d735===void 0x0)&&_0x10d735[_0x27929b(0x1f8)])?_0x5e223d(_0x5e223d({},_0x3ad024),{'children':_0x3ad024[_0x27929b(0x38d)][_0x27929b(0x247)](function(_0x1b54dd){const _0x363273=_0x27929b;return typeof _0x1b54dd[_0x363273(0x452)]['id']==_0x363273(0x389)&&_0x31e7fe&&_0x31e7fe[_0x363273(0x2cf)](_0x1b54dd[_0x363273(0x452)]['id'])>-0x1?_0x5e223d(_0x5e223d({},_0x1b54dd),{'attrs':_0x5e223d(_0x5e223d({},_0x1b54dd[_0x363273(0x452)]),{'id':_0x1b54dd[_0x363273(0x452)]['id']+_0x118555[_0x363273(0x33b)]})}):_0x1b54dd;})}):_0x3ad024;}function _0x167b70(){const _0x3e066d=_0x29a50d;return Math[_0x3e066d(0x2e1)]()[_0x3e066d(0x2ed)](0x24)[_0x3e066d(0x215)](0x2,0x8);}_0x518293[_0x29a50d(0x25e)]=_0x29a50d(0x475);var _0x119b46={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x29a50d(0x360),'height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x41d),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':_0x29a50d(0x386),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3b7)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358)}}]}]}],'defIds':[_0x29a50d(0x3b7)]},_0x334b90=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x59724b,_0x53f36f){const _0x16baec=_0x29a50d;return _0x1a1d3a['createElement'](_0x518293,Object['assign']({},_0x59724b,{'id':_0x16baec(0x257),'ref':_0x53f36f,'icon':_0x119b46}));});_0x334b90[_0x29a50d(0x25e)]=_0x29a50d(0x321);var _0x47dc42={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':_0x29a50d(0x432),'width':'1em','height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':_0x29a50d(0x2f1)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x21b),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29a50d(0x3fa),'attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3d2)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358),'transform':_0x29a50d(0x25c)}}]}]}],'defIds':[_0x29a50d(0x3d2)]},_0x100138=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x3864e4,_0xb868c0){const _0x957a26=_0x29a50d;return _0x1a1d3a[_0x957a26(0x202)](_0x518293,Object['assign']({},_0x3864e4,{'id':_0x957a26(0x20c),'ref':_0xb868c0,'icon':_0x47dc42}));});_0x100138[_0x29a50d(0x25e)]=_0x29a50d(0x211);function _0x4e52fd(_0x30e0f8){const _0x546cb3=_0x29a50d;switch(_0x30e0f8){case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x402)]:return _0x546cb3(0x437);case _0x5557ff['CollaborationStatus'][_0x546cb3(0x407)]:return'collabStatus.conflict';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x1f0)]:return'collabStatus.fetchMiss';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x44f)]:return _0x546cb3(0x31d);case _0x5557ff[_0x546cb3(0x287)]['AWAITING']:case _0x5557ff['CollaborationStatus'][_0x546cb3(0x3c3)]:return _0x546cb3(0x269);case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x348)]:case _0x5557ff[_0x546cb3(0x287)]['PENDING']:return _0x546cb3(0x1fd);}}function _0x56e298(_0x48b81f){const _0x225c80=_0x29a50d,{status$:_0x421cc9}=_0x48b81f,_0x5c4d27=_0x284e97[_0x225c80(0x228)](_0x421cc9,_0x5557ff['CollaborationStatus']['NOT_COLLAB']),_0x32af6f=_0x284e97[_0x225c80(0x357)](_0x49eaeb[_0x225c80(0x415)]),_0x17a8b4=_0x284e97[_0x225c80(0x357)](_0x5557ff[_0x225c80(0x3c1)]),_0x4ccd49=_0x5c4d27!==_0x5557ff[_0x225c80(0x287)][_0x225c80(0x402)],_0x3f6ee9=_0x32af6f['t'](_0x4e52fd(_0x5c4d27)),_0x145917=_0x4ccd49?_0x59198a[_0x225c80(0x34a)](_0x100138,{}):_0x59198a[_0x225c80(0x34a)](_0x334b90,{}),_0x15e474=_0x1a1d3a[_0x225c80(0x362)](()=>{const _0x326828=_0x225c80;_0x4ccd49||_0x17a8b4[_0x326828(0x423)]();},[_0x4ccd49,_0x17a8b4]);function _0x1a86e2(){const _0x538119=_0x225c80;return _0x59198a[_0x538119(0x236)](_0x538119(0x352),{'className':_0x538119(0x40e),'onClick':_0x15e474,'children':[_0x59198a[_0x538119(0x34a)]('div',{'className':_0x381eec[_0x538119(0x472)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4ccd49?_0x538119(0x336):_0x538119(0x20e)),'children':_0x145917}),_0x59198a['jsx'](_0x538119(0x352),{'className':_0x538119(0x2b9),'children':_0x3f6ee9})]});}return _0x4ccd49?_0x1a86e2():_0x59198a[_0x225c80(0x34a)](_0x381eec[_0x225c80(0x20f)],{'title':_0x32af6f['t']('collab-client.tooltip.reconnect'),'children':_0x1a86e2()});}var _0x2517eb=Object[_0x29a50d(0x285)],_0x5b2b4f=(_0x40fd14,_0x5b3efc,_0xe8829d,_0x5a2887)=>{const _0x30ebe9=_0x29a50d;for(var _0x3958dc=_0x5a2887>0x1?void 0x0:_0x5a2887?_0x2517eb(_0x5b3efc,_0xe8829d):_0x5b3efc,_0x56a717=_0x40fd14[_0x30ebe9(0x1f8)]-0x1,_0x3455a6;_0x56a717>=0x0;_0x56a717--)(_0x3455a6=_0x40fd14[_0x56a717])&&(_0x3958dc=_0x3455a6(_0x3958dc)||_0x3958dc);return _0x3958dc;},_0x280298=(_0x276320,_0x21ea7b)=>(_0x29c0f6,_0x3cad9b)=>_0x21ea7b(_0x29c0f6,_0x3cad9b,_0x276320);_0x2becbd[_0x29a50d(0x380)]=class extends _0x49eaeb['Disposable']{constructor(_0x479fbb,_0x575f73,_0x1dd0e2,_0x18803e){const _0x364376=_0x29a50d;super(),_0x2d5d22(this,_0x364376(0x477),new _0x1a1591[(_0x364376(0x242))](_0x5557ff[_0x364376(0x287)][_0x364376(0x44f)])),(this[_0x364376(0x2da)]=_0x479fbb,this[_0x364376(0x3aa)]=_0x575f73,this['_collaborationController']=_0x1dd0e2,this[_0x364376(0x217)]=_0x18803e,this['_initStatusComponent'](),this[_0x364376(0x2c0)]());}[_0x29a50d(0x2c0)](){const _0x22ef58=_0x29a50d;this[_0x22ef58(0x46c)](this[_0x22ef58(0x2da)]['focused$']['pipe'](_0x1a1591[_0x22ef58(0x433)](()=>{const _0x17375a=_0x22ef58,_0x1a1144=this[_0x17375a(0x2da)][_0x17375a(0x344)]();return _0x1a1144?this[_0x17375a(0x2a1)][_0x17375a(0x461)](_0x1a1144[_0x17375a(0x3fc)]()):_0x1a1591['of'](null);}),_0x1a1591[_0x22ef58(0x433)](_0x5d1b1e=>_0x5d1b1e?_0x5d1b1e[_0x22ef58(0x2a7)]:_0x1a1591['of'](_0x5557ff[_0x22ef58(0x287)][_0x22ef58(0x44f)])))[_0x22ef58(0x2f6)](_0x39d974=>{const _0x95b265=_0x22ef58;this[_0x95b265(0x477)]['next'](_0x39d974);}));}[_0x29a50d(0x2b7)](){const _0x571834=_0x29a50d;this[_0x571834(0x46c)](this[_0x571834(0x217)][_0x571834(0x383)](_0x284e97[_0x571834(0x38a)][_0x571834(0x2b0)],()=>_0x284e97[_0x571834(0x3c2)](_0x1c8028({'status$':this[_0x571834(0x477)][_0x571834(0x469)]()}),this[_0x571834(0x3aa)])));}},_0x2becbd[_0x29a50d(0x380)]=_0x5b2b4f([_0x280298(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x280298(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x280298(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x280298(0x3,_0x284e97[_0x29a50d(0x240)])],_0x2becbd[_0x29a50d(0x380)]);function _0x1c8028(_0x2d384d){const {status$:_0x294366}=_0x2d384d;return function(){const _0x4264cf=_0x37a6;return _0x59198a[_0x4264cf(0x34a)](_0x56e298,{'status$':_0x294366});};}var _0x977734=Object[_0x29a50d(0x285)],_0x20208a=(_0xf07a90,_0x3b1014,_0x3c36d3,_0x32de2f)=>{const _0x219d61=_0x29a50d;for(var _0x3f9355=_0x32de2f>0x1?void 0x0:_0x32de2f?_0x977734(_0x3b1014,_0x3c36d3):_0x3b1014,_0x3b98eb=_0xf07a90[_0x219d61(0x1f8)]-0x1,_0x57e682;_0x3b98eb>=0x0;_0x3b98eb--)(_0x57e682=_0xf07a90[_0x3b98eb])&&(_0x3f9355=_0x57e682(_0x3f9355)||_0x3f9355);return _0x3f9355;},_0x3b85ff=(_0x3f4673,_0x1096e4)=>(_0x376de0,_0xa73b33)=>_0x1096e4(_0x376de0,_0xa73b33,_0x3f4673);let _0x39f32d=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x101019,_0x14d965,_0x27e9ab,_0x935197,_0x3d02d5,_0xe6e08a){const _0x267e54=_0x29a50d;super(),this[_0x267e54(0x41a)]=_0x101019,this[_0x267e54(0x1ed)]=_0x14d965,this[_0x267e54(0x300)]=_0x27e9ab,this['_messageService']=_0x935197,this[_0x267e54(0x235)]=_0x3d02d5,this['_localeService']=_0xe6e08a,this[_0x267e54(0x3ba)](),this[_0x267e54(0x327)]();}[_0x29a50d(0x3ba)](){const _0x2e907e=_0x29a50d;this[_0x2e907e(0x46c)](this['_beforeCloseService'][_0x2e907e(0x1e6)](()=>{const _0x223aa6=_0x2e907e;if(this[_0x223aa6(0x1ed)][_0x223aa6(0x3b2)][_0x223aa6(0x2bc)])return this[_0x223aa6(0x298)]['t'](_0x223aa6(0x273));}));}['_initEvent'](){const _0x5a35c7=_0x29a50d;this['disposeWithMe'](this[_0x5a35c7(0x300)][_0x5a35c7(0x363)][_0x5a35c7(0x2f6)](_0x101242=>{const _0x40d614=_0x5a35c7;_0x101242['id']===_0x5557ff[_0x40d614(0x43d)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1e5))}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x26c)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x1ff)]&&this[_0x40d614(0x235)][_0x40d614(0x29d)]({'title':this[_0x40d614(0x298)]['t']('permission.title'),'content':this[_0x40d614(0x298)]['t']('permission.content'),'type':_0x40d614(0x2b3),'duration':0x0}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x407)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))+'('+_0x101242['data']+')'}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x471)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec['MessageType'][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x101242['data']||'')}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x375)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x243))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x3d6)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this['_localeService']['t'](_0x40d614(0x27f))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x338)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec['MessageType']['Error'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1fa))});}));}};_0x39f32d=_0x20208a([_0x3b85ff(0x0,_0x284e97[_0x29a50d(0x27d)]),_0x3b85ff(0x1,_0x5557ff[_0x29a50d(0x366)]),_0x3b85ff(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x22e)])),_0x3b85ff(0x3,_0x284e97['IMessageService']),_0x3b85ff(0x4,_0x284e97['INotificationService']),_0x3b85ff(0x5,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x39f32d);const _0x52495c=_0x29a50d(0x349),_0xbe33c4={},_0x189700=_0x49eaeb['createIdentifier']('uni.network.url-service');var _0x4e8d8e=Object['getOwnPropertyDescriptor'],_0x151c9f=(_0x3e567c,_0x1f72ee,_0x43707b,_0x314ad4)=>{const _0x480818=_0x29a50d;for(var _0x19f48e=_0x314ad4>0x1?void 0x0:_0x314ad4?_0x4e8d8e(_0x1f72ee,_0x43707b):_0x1f72ee,_0x316ac9=_0x3e567c[_0x480818(0x1f8)]-0x1,_0x284dfd;_0x316ac9>=0x0;_0x316ac9--)(_0x284dfd=_0x3e567c[_0x316ac9])&&(_0x19f48e=_0x284dfd(_0x19f48e)||_0x19f48e);return _0x19f48e;},_0x13287b=(_0x5ce16f,_0x5243eb)=>(_0x4425e8,_0x23abb9)=>_0x5243eb(_0x4425e8,_0x23abb9,_0x5ce16f);_0x2becbd[_0x29a50d(0x3c4)]=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x164978,_0x42c1c9,_0x348699,_0x2aac5b,_0x2a8833){const _0x4ebfdf=_0x29a50d;super(),this[_0x4ebfdf(0x21f)]=_0x164978,this[_0x4ebfdf(0x28c)]=_0x42c1c9,this[_0x4ebfdf(0x260)]=_0x348699,this[_0x4ebfdf(0x3ca)]=_0x2aac5b,_0x2a8833?_0x2a8833==null||_0x2a8833[_0x4ebfdf(0x330)]()[_0x4ebfdf(0x317)](()=>this[_0x4ebfdf(0x328)]()):(this['_logService']['debug'](_0x4ebfdf(0x395),_0x4ebfdf(0x3e7)),this[_0x4ebfdf(0x328)]());}async['_init'](){const _0x4c9d55=_0x29a50d,_0x2eb0a1=this[_0x4c9d55(0x21f)]['getParam'](_0x4c9d55(0x2c7)),_0x52b34a=this['_urlService'][_0x4c9d55(0x1e4)](_0x4c9d55(0x462)),_0x4e7c11=this['_urlService'][_0x4c9d55(0x1e4)]('subunit');if(!_0x2eb0a1||!_0x52b34a){this[_0x4c9d55(0x28c)][_0x4c9d55(0x2f8)](_0x4c9d55(0x395),_0x4c9d55(0x323));return;}const _0x268a8e=await this[_0x4c9d55(0x3ca)][_0x4c9d55(0x30e)](_0x2eb0a1,Number(_0x52b34a),_0x4e7c11);_0x268a8e&&_0x268a8e instanceof _0x49eaeb[_0x4c9d55(0x3be)]&&this[_0x4c9d55(0x252)](_0x268a8e);}async[_0x29a50d(0x252)](_0x2bc67a){const _0xd047ca=_0x29a50d;await this['_updateSubUnitFromURLParams'](_0x2bc67a),_0x2bc67a[_0xd047ca(0x2cb)][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](_0x36768b=>{const _0x4363fc=_0xd047ca;_0x36768b&&this[_0x4363fc(0x470)](_0x36768b);}),this[_0xd047ca(0x21f)]['urlChange$'][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](()=>this['_updateSubUnitFromURLParams'](_0x2bc67a));}[_0x29a50d(0x470)](_0xc67f68,_0x413bd5=!0x1){const _0x3d60bd=_0x29a50d,_0x2d0e0e=this[_0x3d60bd(0x21f)]['getParam'](_0x3d60bd(0x377));_0xc67f68[_0x3d60bd(0x201)]()!==_0x2d0e0e&&this['_urlService']['setParam'](_0x3d60bd(0x377),_0xc67f68['getSheetId'](),_0x413bd5);}async[_0x29a50d(0x364)](_0x27acc5){const _0x396096=_0x29a50d;var _0x52cc78;const _0x1f055d=this['_urlService'][_0x396096(0x1e4)](_0x396096(0x377));if(!_0x1f055d||!_0x27acc5['getSheetBySheetId'](_0x1f055d)){const _0x486613=_0x27acc5[_0x396096(0x420)]()[0x0],_0x41e0df=_0x27acc5[_0x396096(0x3b9)](_0x486613);if(!_0x41e0df)return;this[_0x396096(0x470)](_0x41e0df,!0x0),await this['_commandService'][_0x396096(0x465)](_0x11631c[_0x396096(0x270)]['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x486613});return;}((_0x52cc78=_0x27acc5['getActiveSheet']())==null?void 0x0:_0x52cc78[_0x396096(0x201)]())!==_0x1f055d&&await this[_0x396096(0x260)]['executeCommand'](_0x11631c['SetWorksheetActivateCommand']['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x1f055d});}},_0x2becbd[_0x29a50d(0x3c4)]=_0x151c9f([_0x13287b(0x0,_0x189700),_0x13287b(0x1,_0x49eaeb['ILogService']),_0x13287b(0x2,_0x49eaeb[_0x29a50d(0x2e4)]),_0x13287b(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x339)])),_0x13287b(0x4,_0x49eaeb[_0x29a50d(0x25a)](_0x339d10[_0x29a50d(0x3eb)]))],_0x2becbd['CollaborationDataLoaderController']);var _0xa74593=Object[_0x29a50d(0x285)],_0x26c7e7=(_0x3511eb,_0x44c9b7,_0x3b5498,_0xb9cf4b)=>{const _0x45a1aa=_0x29a50d;for(var _0x2aa651=_0xb9cf4b>0x1?void 0x0:_0xb9cf4b?_0xa74593(_0x44c9b7,_0x3b5498):_0x44c9b7,_0x4ade36=_0x3511eb[_0x45a1aa(0x1f8)]-0x1,_0x17cdf6;_0x4ade36>=0x0;_0x4ade36--)(_0x17cdf6=_0x3511eb[_0x4ade36])&&(_0x2aa651=_0x17cdf6(_0x2aa651)||_0x2aa651);return _0x2aa651;},_0x41d13d=(_0x2b3222,_0x52762e)=>(_0x2547bd,_0x5f0d24)=>_0x52762e(_0x2547bd,_0x5f0d24,_0x2b3222);let _0x200e80=class{constructor(_0x242a92,_0x3d3c4c,_0x5cc5e9){const _0x243fc9=_0x29a50d;this['_injector']=_0x242a92,this[_0x243fc9(0x3f0)]=_0x3d3c4c,this['_renderManagerService']=_0x5cc5e9;}[_0x29a50d(0x361)](_0x5c40b2){const _0x203831=_0x29a50d;this[_0x203831(0x3a1)](_0x5c40b2),this[_0x203831(0x24b)](_0x5c40b2);}[_0x29a50d(0x334)](_0x5d475b){const _0x45da17=_0x29a50d,{unitID:_0x30ddf6}=_0x5d475b,_0x525cdd=this[_0x45da17(0x382)][_0x45da17(0x368)](_0x30ddf6)[_0x45da17(0x22c)](_0x3c8f3f[_0x45da17(0x34b)]),{redoCache:_0x307163}=_0x525cdd[_0x45da17(0x29f)]();if(_0x307163[_0x45da17(0x1f8)]===0x0)return _0x5d475b;let _0x2cdfe5=_0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b[_0x45da17(0x3b5)][0x0]);for(let _0x3aadac=0x0;_0x3aadac<_0x307163[_0x45da17(0x1f8)];_0x3aadac++){const _0x407282={'id':_0x45da17(0x2bf),'params':{..._0x307163[_0x3aadac]}},_0x55193c=this['_transformService'][_0x45da17(0x2b1)](_0x2cdfe5,_0x407282,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x55193c))throw _0x55193c[_0x45da17(0x2b3)];_0x2cdfe5=_0x55193c[_0x45da17(0x350)];}return{..._0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b),'mutations':[_0x2cdfe5]};}[_0x29a50d(0x3a1)](_0x3561fd){const _0x29a36d=_0x29a50d,{unitID:_0x255f97}=_0x3561fd,_0x472cf4=this[_0x29a36d(0x382)][_0x29a36d(0x368)](_0x255f97)['with'](_0x3c8f3f[_0x29a36d(0x34b)]),{undoCache:_0xff28d5,redoCache:_0x12901f}=_0x472cf4['getUndoRedoMutationParamsCache']();if(_0xff28d5[_0x29a36d(0x1f8)]===0x0||_0x12901f[_0x29a36d(0x1f8)]===0x0)return;const _0x420ceb=[],_0x4e3255=[];let _0x7e1b77=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]),_0x305058=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]);for(let _0x3147bf=_0xff28d5[_0x29a36d(0x1f8)]-0x1;_0x3147bf>=0x0;_0x3147bf--){const _0x418962={'id':_0x29a36d(0x2bf),'params':{..._0xff28d5[_0x3147bf]}},_0x28b8eb={'id':_0x29a36d(0x2bf),'params':{..._0x12901f[_0x3147bf]}},_0x218285=this['_transformService'][_0x29a36d(0x2b1)](_0x7e1b77,_0x418962,!0x1),_0x1cf85=this[_0x29a36d(0x3f0)]['transformMutation'](_0x305058,_0x28b8eb,!0x1);if(_0x579da8[_0x29a36d(0x212)](_0x218285))throw _0x218285[_0x29a36d(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1cf85))throw _0x1cf85['error'];_0x420ceb[_0x29a36d(0x2a9)](_0x218285[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x4e3255[_0x29a36d(0x2a9)](_0x1cf85[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x7e1b77=_0x218285[_0x29a36d(0x350)],_0x305058=_0x1cf85[_0x29a36d(0x350)];}_0x472cf4[_0x29a36d(0x30b)]({'undoCache':_0x420ceb,'redoCache':_0x4e3255});}[_0x29a50d(0x24b)](_0x58bc91){const _0x28f180=_0x29a50d,{unitID:_0x414ac5}=_0x58bc91,_0x557ccb=this[_0x28f180(0x382)][_0x28f180(0x368)](_0x414ac5)['with'](_0x3c8f3f[_0x28f180(0x34b)]),_0x453c15=_0x557ccb[_0x28f180(0x31e)]();if(_0x453c15==null)return;const _0x588688=[{'id':_0x28f180(0x2bf),'params':{'unitId':_0x58bc91['unitID'],'actions':null,'textRanges':[_0x453c15]}}],_0x13fac3=this[_0x28f180(0x3f0)][_0x28f180(0x32d)](_0x58bc91,_0x588688);if(!_0x579da8[_0x28f180(0x315)](_0x13fac3))throw _0x13fac3[_0x28f180(0x2b3)];const _0x5e1ae6=_0x13fac3[_0x28f180(0x439)][0x0][_0x28f180(0x388)]['textRanges'];Array[_0x28f180(0x23f)](_0x5e1ae6)&&_0x5e1ae6[_0x28f180(0x1f8)]&&_0x557ccb[_0x28f180(0x314)](_0x5e1ae6[0x0]);}};_0x200e80=_0x26c7e7([_0x41d13d(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x41d13d(0x1,_0x579da8['ITransformService']),_0x41d13d(0x2,_0x506afb[_0x29a50d(0x3e0)])],_0x200e80);var _0x1082a4=Object[_0x29a50d(0x285)],_0x2008b4=(_0x4074ee,_0x17fb5f,_0x532899,_0x5e7f37)=>{const _0x4362fa=_0x29a50d;for(var _0x48497b=_0x5e7f37>0x1?void 0x0:_0x5e7f37?_0x1082a4(_0x17fb5f,_0x532899):_0x17fb5f,_0x754b2b=_0x4074ee[_0x4362fa(0x1f8)]-0x1,_0x40bbb8;_0x754b2b>=0x0;_0x754b2b--)(_0x40bbb8=_0x4074ee[_0x754b2b])&&(_0x48497b=_0x40bbb8(_0x48497b)||_0x48497b);return _0x48497b;},_0x969e28=(_0x58a9f4,_0x5612b8)=>(_0x9a9de0,_0x54c33b)=>_0x5612b8(_0x9a9de0,_0x54c33b,_0x58a9f4);let _0x3ab3d0=class{constructor(_0x3b790f,_0x590007,_0x263946){const _0x3df41a=_0x29a50d;this[_0x3df41a(0x3aa)]=_0x3b790f,this[_0x3df41a(0x3f0)]=_0x590007,this[_0x3df41a(0x459)]=_0x263946;}['transformStateCache'](_0x37f5bc){const _0x2a255f=_0x29a50d;this[_0x2a255f(0x23b)](_0x37f5bc);}['transformRemoteChangeset'](_0xf98eae){const _0x203c33=_0x29a50d,{unitID:_0x58d615}=_0xf98eae,{collaboration:_0x45655e}=this['_docStateChangeManagerService'][_0x203c33(0x3d5)](_0x58d615);if(_0x45655e['length']===0x0)return _0xf98eae;let _0xa3adaa=_0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae[_0x203c33(0x3b5)][0x0]);for(let _0x3465f5=0x0;_0x3465f5<_0x45655e['length'];_0x3465f5++){const _0x413199={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45655e[_0x3465f5]['unitId'],..._0x45655e[_0x3465f5][_0x203c33(0x3b0)]}},_0x3775d2=this[_0x203c33(0x3f0)][_0x203c33(0x2b1)](_0xa3adaa,_0x413199,!0x1);if(_0x579da8[_0x203c33(0x212)](_0x3775d2))throw _0x3775d2[_0x203c33(0x2b3)];_0xa3adaa=_0x3775d2[_0x203c33(0x350)];}return{..._0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae),'mutations':[_0xa3adaa]};}[_0x29a50d(0x23b)](_0x4b244e){const _0x2a0a27=_0x29a50d,{unitID:_0x3c1fec}=_0x4b244e,{history:_0x22e2ad,collaboration:_0x59359b}=this['_docStateChangeManagerService'][_0x2a0a27(0x3d5)](_0x3c1fec);if(_0x22e2ad[_0x2a0a27(0x1f8)]===0x0&&_0x59359b[_0x2a0a27(0x1f8)]===0x0)return;const _0x545dbf=[],_0x170b1c=[];let _0x164838=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e['mutations'][0x0]);for(let _0x17a9c6=_0x22e2ad[_0x2a0a27(0x1f8)]-0x1;_0x17a9c6>=0x0;_0x17a9c6--){const _0x44bb84={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x1e7)]}},_0x47ab10={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x3b0)]}},_0x3a7605=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x164838,_0x44bb84,!0x1),_0x1b002d=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x588ed6,_0x47ab10,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x3a7605))throw _0x3a7605[_0x2a0a27(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1b002d))throw _0x1b002d[_0x2a0a27(0x2b3)];_0x545dbf[_0x2a0a27(0x2a9)]({..._0x22e2ad[_0x17a9c6],'undoState':_0x3a7605[_0x2a0a27(0x439)][_0x2a0a27(0x388)],'redoState':_0x1b002d[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x3a7605[_0x2a0a27(0x350)],_0x588ed6=_0x1b002d[_0x2a0a27(0x350)];}_0x164838=_0x49eaeb[_0x2a0a27(0x226)]['deepClone'](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]);for(let _0x33d149=_0x59359b[_0x2a0a27(0x1f8)]-0x1;_0x33d149>=0x0;_0x33d149--){const _0x42e26f={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149][_0x2a0a27(0x2c8)],..._0x59359b[_0x33d149][_0x2a0a27(0x1e7)]}},_0x1ea43d={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149]['unitId'],..._0x59359b[_0x33d149][_0x2a0a27(0x3b0)]}},_0x55122f=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x164838,_0x42e26f,!0x1),_0x3ab380=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x588ed6,_0x1ea43d,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x55122f))throw _0x55122f['error'];if(_0x579da8[_0x2a0a27(0x212)](_0x3ab380))throw _0x3ab380[_0x2a0a27(0x2b3)];_0x170b1c[_0x2a0a27(0x2a9)]({..._0x59359b[_0x33d149],'undoState':_0x55122f['m2Prime'][_0x2a0a27(0x388)],'redoState':_0x3ab380[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x55122f[_0x2a0a27(0x350)],_0x588ed6=_0x3ab380[_0x2a0a27(0x350)];}this[_0x2a0a27(0x459)][_0x2a0a27(0x1f2)](_0x3c1fec,{'history':_0x545dbf,'collaboration':_0x170b1c});}};_0x3ab3d0=_0x2008b4([_0x969e28(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x969e28(0x1,_0x579da8['ITransformService']),_0x969e28(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x3c8f3f[_0x29a50d(0x241)]))],_0x3ab3d0);var _0x395ea2=Object['getOwnPropertyDescriptor'],_0x19f754=(_0x2aaae3,_0x7e370d,_0x14d952,_0x3a4a0d)=>{const _0x44f179=_0x29a50d;for(var _0x473ef8=_0x3a4a0d>0x1?void 0x0:_0x3a4a0d?_0x395ea2(_0x7e370d,_0x14d952):_0x7e370d,_0x1f3e77=_0x2aaae3[_0x44f179(0x1f8)]-0x1,_0x43722e;_0x1f3e77>=0x0;_0x1f3e77--)(_0x43722e=_0x2aaae3[_0x1f3e77])&&(_0x473ef8=_0x43722e(_0x473ef8)||_0x473ef8);return _0x473ef8;},_0x13baf3=(_0x38dd81,_0x33c0ed)=>(_0x2a28e0,_0xd13403)=>_0x33c0ed(_0x2a28e0,_0xd13403,_0x38dd81);let _0x458c5d=class{constructor(_0x32dadb,_0x4ac525){const _0x3cc4a8=_0x29a50d;this[_0x3cc4a8(0x3aa)]=_0x32dadb,this[_0x3cc4a8(0x3f0)]=_0x4ac525;}[_0x29a50d(0x1fe)](_0x22e588){const _0x55338d=_0x29a50d;var _0x410d67;const _0x55eb4b=this[_0x55338d(0x3aa)][_0x55338d(0x408)](_0x54d7ba['DocSelectionManagerService']),_0x17c935=(_0x410d67=_0x55eb4b[_0x55338d(0x2f2)]())!=null?_0x410d67:[];if(_0x17c935[_0x55338d(0x1f8)]===0x0)return;const _0x474f7f=_0x22e588['unitID'],_0x4a77f6=[{'id':_0x55338d(0x2bf),'params':{'unitId':_0x474f7f,'actions':null,'textRanges':_0x17c935}}],_0x535e4c=this[_0x55338d(0x3f0)]['transformMutationsWithChangeset'](_0x22e588,_0x4a77f6);if(!_0x579da8[_0x55338d(0x315)](_0x535e4c))throw _0x535e4c[_0x55338d(0x2b3)];const _0x554322=_0x535e4c['m2Prime'][0x0][_0x55338d(0x388)]['textRanges'];Array[_0x55338d(0x23f)](_0x554322)&&_0x554322[_0x55338d(0x1f8)]&&_0x55eb4b[_0x55338d(0x40a)](_0x554322,{'unitId':_0x474f7f,'subUnitId':_0x474f7f},!0x1);}};_0x458c5d=_0x19f754([_0x13baf3(0x0,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x13baf3(0x1,_0x579da8[_0x29a50d(0x35f)])],_0x458c5d);var _0x28ec76=Object['getOwnPropertyDescriptor'],_0x3ff2bd=(_0x509535,_0x4fddc0,_0xda78d,_0x5d057f)=>{for(var _0xcec483=_0x5d057f>0x1?void 0x0:_0x5d057f?_0x28ec76(_0x4fddc0,_0xda78d):_0x4fddc0,_0x1c21e1=_0x509535['length']-0x1,_0x5d5c0a;_0x1c21e1>=0x0;_0x1c21e1--)(_0x5d5c0a=_0x509535[_0x1c21e1])&&(_0xcec483=_0x5d5c0a(_0xcec483)||_0xcec483);return _0xcec483;},_0x171b17=(_0x51a27e,_0x2744ad)=>(_0x209d5b,_0x29e96d)=>_0x2744ad(_0x209d5b,_0x29e96d,_0x51a27e);let _0x4c5e7f=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x373af2,_0x5ee993,_0x1c0268,_0xb7afa6,_0x74b42,_0xa2e521,_0x44548e,_0x1614f1){const _0x320221=_0x29a50d;super(),_0x2d5d22(this,_0x320221(0x477),new _0x1a1591[(_0x320221(0x242))](_0x5557ff[_0x320221(0x287)][_0x320221(0x44f)])),(this[_0x320221(0x459)]=_0x373af2,this[_0x320221(0x2a1)]=_0x5ee993,this[_0x320221(0x2ec)]=_0x1c0268,this[_0x320221(0x264)]=_0xb7afa6,this[_0x320221(0x245)]=_0x74b42,this[_0x320221(0x33f)]=_0xa2e521,this[_0x320221(0x2e5)]=_0x44548e,this[_0x320221(0x298)]=_0x1614f1,this[_0x320221(0x3f3)]());}['_initEntityListener'](){const _0x5dd4d6=_0x29a50d;this[_0x5dd4d6(0x46c)](this[_0x5dd4d6(0x2a1)][_0x5dd4d6(0x31b)]['subscribe'](_0x3cba4a=>{const _0x5ce1be=_0x5dd4d6,_0x2c89d5=this[_0x5ce1be(0x459)][_0x5ce1be(0x209)][_0x5ce1be(0x2f6)](_0x22eca6=>{const _0x379a6f=_0x5ce1be;if(_0x22eca6==null)return;const {unitId:_0x3cb791,redoState:_0x1edd9f,commandId:_0x542778}=_0x22eca6;if(_0x3cb791!==_0x3cba4a[_0x379a6f(0x36a)])return;const _0x2b8e74={'id':_0x542778,'type':_0x49eaeb[_0x379a6f(0x2a5)]['MUTATION'],'params':{'unitId':_0x3cb791,'actions':_0x1edd9f[_0x379a6f(0x359)],'textRanges':null}};_0x3cba4a['onLocalMutation'](_0x2b8e74);});if(_0x3cba4a[_0x5ce1be(0x46c)](_0x2c89d5),_0x3cba4a instanceof _0x5557ff[_0x5ce1be(0x32c)]){const _0x40cc44={'onTransformIME':_0x22d576=>this[_0x5ce1be(0x2ec)]['transformIMECache'](_0x22d576),'onTransformState':_0x411cba=>this[_0x5ce1be(0x264)]['transformStateCache'](_0x411cba),'onTransformSelections':_0x3d3a9e=>this[_0x5ce1be(0x245)]['transformSelections'](_0x3d3a9e),'onSyncEditingCollabCursor':_0x3e1bbf=>this[_0x5ce1be(0x33f)]['syncEditingCollabCursor'](_0x3e1bbf),'onTransformRemoteChangesetByIMECache':_0x411174=>this[_0x5ce1be(0x2ec)]['transformRemoteChangeset'](_0x411174),'onTransformRemoteChangesetByStateCache':_0xc35437=>this['_docTransformStateCacheService'][_0x5ce1be(0x334)](_0xc35437)};_0x3cba4a[_0x5ce1be(0x322)](_0x40cc44);}}));}};_0x4c5e7f=_0x3ff2bd([_0x171b17(0x0,_0x49eaeb['Inject'](_0x3c8f3f[_0x29a50d(0x241)])),_0x171b17(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x171b17(0x2,_0x49eaeb['Inject'](_0x200e80)),_0x171b17(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x3ab3d0)),_0x171b17(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x458c5d)),_0x171b17(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x171b17(0x6,_0x284e97[_0x29a50d(0x425)]),_0x171b17(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x4c5e7f);var _0x4f8005=Object['getOwnPropertyDescriptor'],_0x402824=(_0x2a9841,_0x5ae4e5,_0x4ca086,_0x52417b)=>{for(var _0x302038=_0x52417b>0x1?void 0x0:_0x52417b?_0x4f8005(_0x5ae4e5,_0x4ca086):_0x5ae4e5,_0x2b64eb=_0x2a9841['length']-0x1,_0x1f19e8;_0x2b64eb>=0x0;_0x2b64eb--)(_0x1f19e8=_0x2a9841[_0x2b64eb])&&(_0x302038=_0x1f19e8(_0x302038)||_0x302038);return _0x302038;},_0x677963=(_0x2bef0d,_0x34ba9d)=>(_0x4aeff2,_0x1390c8)=>_0x34ba9d(_0x4aeff2,_0x1390c8,_0x2bef0d);let _0x5464f7=class extends _0x49eaeb['Disposable']{constructor(_0xb9d92b,_0x3e7bb6,_0x45940b){const _0x590371=_0x29a50d;super(),_0x2d5d22(this,_0x590371(0x1ee),new Map()),_0x2d5d22(this,_0x590371(0x2e8),new Map()),_0x2d5d22(this,_0x590371(0x3df),!0x1),(this['_configService']=_0xb9d92b,this[_0x590371(0x221)]=_0x3e7bb6,this[_0x590371(0x378)]=_0x45940b);}[_0x29a50d(0x405)](){const _0x797320=_0x29a50d;this[_0x797320(0x3df)]=!0x0;}[_0x29a50d(0x35e)](){const _0x47a8c1=_0x29a50d;this[_0x47a8c1(0x3df)]=!0x1;}get[_0x29a50d(0x3b2)](){const _0x12c90d=_0x29a50d;return this[_0x12c90d(0x2e8)];}[_0x29a50d(0x239)](){const _0x5c89c2=_0x29a50d;this[_0x5c89c2(0x406)]()[_0x5c89c2(0x317)](()=>super[_0x5c89c2(0x239)]());}async['loadOfflineData'](_0x2bf0db){const _0x35ea91=_0x29a50d;return this[_0x35ea91(0x3df)]?null:this[_0x35ea91(0x221)]['getItem'](_0x5557ff[_0x35ea91(0x29e)](_0x2bf0db));}async[_0x29a50d(0x341)](_0x2b2326,_0x4f59b1){const _0x35df70=_0x29a50d;return!!this[_0x35df70(0x221)]['setItem'](_0x2b2326,_0x4f59b1);}[_0x29a50d(0x32b)](_0x110669,_0x2f2a37,_0x1647c8,_0x41fb19){const _0x141a3a=_0x29a50d,_0x38b1e8=this[_0x141a3a(0x378)][_0x141a3a(0x2eb)](_0x110669);this[_0x141a3a(0x1ee)][_0x141a3a(0x3e6)](_0x110669,{'unitID':_0x110669,'type':_0x2f2a37,'awaitingChangeset':_0x1647c8,'mutations':_0x41fb19,'rev':_0x38b1e8}),this[_0x141a3a(0x2e8)][_0x141a3a(0x35c)](_0x110669)||this['_scheduleSaving'](_0x110669);}['_scheduleSaving'](_0x2ab593){const _0xb8503=_0x29a50d,_0x2e2bca=this['_getSaveTimeout']();_0x2e2bca===0x0?this[_0xb8503(0x33e)](_0x2ab593):this[_0xb8503(0x2e8)][_0xb8503(0x3e6)](_0x2ab593,setTimeout(()=>this[_0xb8503(0x33e)](_0x2ab593),_0x2e2bca));}['_getSaveTimeout'](){const _0x15adba=_0x29a50d;var _0x15b5a9;return(_0x15b5a9=this[_0x15adba(0x3c0)][_0x15adba(0x218)](_0x5557ff[_0x15adba(0x2d6)]))!=null?_0x15b5a9:_0x5557ff[_0x15adba(0x2e7)];}[_0x29a50d(0x33e)](_0x1a2d0c){const _0x375fc8=_0x29a50d,_0x1b1b96=this[_0x375fc8(0x2e8)]['get'](_0x1a2d0c);return _0x1b1b96!==void 0x0&&window[_0x375fc8(0x2f4)](_0x1b1b96),this[_0x375fc8(0x221)]['setItem'](_0x5557ff[_0x375fc8(0x29e)](_0x1a2d0c),this[_0x375fc8(0x1ee)][_0x375fc8(0x408)](_0x1a2d0c))[_0x375fc8(0x317)](()=>this[_0x375fc8(0x2e8)]['delete'](_0x1a2d0c));}async[_0x29a50d(0x406)](){const _0x1b4c1b=_0x29a50d,_0x4e5067=[];this[_0x1b4c1b(0x2e8)][_0x1b4c1b(0x351)]((_0x3adcde,_0x5b634e)=>{const _0x37da98=_0x1b4c1b;window[_0x37da98(0x2f4)](_0x3adcde),_0x4e5067['push'](this[_0x37da98(0x33e)](_0x5b634e)[_0x37da98(0x317)](()=>{const _0x52785d=_0x37da98;this[_0x52785d(0x2e8)][_0x52785d(0x206)](_0x5b634e);}));}),await Promise[_0x1b4c1b(0x250)](_0x4e5067);}};_0x5464f7=_0x402824([_0x677963(0x0,_0x49eaeb['IConfigService']),_0x677963(0x1,_0x49eaeb[_0x29a50d(0x2a0)]),_0x677963(0x2,_0x49eaeb['Inject'](_0x579da8[_0x29a50d(0x2b8)]))],_0x5464f7);class _0x46366a extends _0x49eaeb['RxDisposable']{constructor(){const _0x3acfba=_0x29a50d;super(),_0x2d5d22(this,_0x3acfba(0x2f9)),this[_0x3acfba(0x2f9)]=_0x1a1591['fromEvent'](window,_0x3acfba(0x478))['pipe'](_0x1a1591[_0x3acfba(0x30c)](this['dispose$']),_0x1a1591['shareReplay'](0x1),_0x1a1591[_0x3acfba(0x2c9)](void 0x0));}[_0x29a50d(0x2aa)](_0x370648,_0x155899,_0x1c1113=!0x1){const _0x36fb76=_0x29a50d,_0x28ad67=new URL(window[_0x36fb76(0x3b4)]['href']);_0x28ad67['searchParams'][_0x36fb76(0x3e6)](_0x370648,_0x155899),_0x1c1113?window[_0x36fb76(0x291)][_0x36fb76(0x2c1)]('','',_0x28ad67[_0x36fb76(0x2ed)]()):window[_0x36fb76(0x291)][_0x36fb76(0x38e)]('','',_0x28ad67[_0x36fb76(0x2ed)]());}[_0x29a50d(0x25f)](_0x319279,_0x415d99=!0x1){const _0x5ca383=_0x29a50d,_0x168e2a=new URL(window['location'][_0x5ca383(0x387)]);_0x168e2a[_0x5ca383(0x294)][_0x5ca383(0x206)](_0x319279),_0x415d99?window[_0x5ca383(0x291)][_0x5ca383(0x2c1)]('','',_0x168e2a[_0x5ca383(0x2ed)]()):window[_0x5ca383(0x291)]['pushState']('','',_0x168e2a[_0x5ca383(0x2ed)]());}[_0x29a50d(0x1e4)](_0x179376){const _0x51d311=_0x29a50d;var _0x1d3e03;return(_0x1d3e03=new URL(window[_0x51d311(0x3b4)][_0x51d311(0x387)])['searchParams'][_0x51d311(0x408)](_0x179376))!=null?_0x1d3e03:void 0x0;}}var _0x74bd41=Object[_0x29a50d(0x222)],_0x5c8e56=Object[_0x29a50d(0x285)],_0x5ae38f=(_0x27102a,_0x5472b4,_0x425a24)=>_0x5472b4 in _0x27102a?_0x74bd41(_0x27102a,_0x5472b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425a24}):_0x27102a[_0x5472b4]=_0x425a24,_0xa46fee=(_0x4b7f8c,_0x41949c,_0x35e36e,_0x52a254)=>{const _0x3e605f=_0x29a50d;for(var _0xe4985=_0x52a254>0x1?void 0x0:_0x52a254?_0x5c8e56(_0x41949c,_0x35e36e):_0x41949c,_0x2cd629=_0x4b7f8c[_0x3e605f(0x1f8)]-0x1,_0x5d6824;_0x2cd629>=0x0;_0x2cd629--)(_0x5d6824=_0x4b7f8c[_0x2cd629])&&(_0xe4985=_0x5d6824(_0xe4985)||_0xe4985);return _0xe4985;},_0x1e1c52=(_0x3f2ac9,_0x260cf6)=>(_0x2f09de,_0x51e881)=>_0x260cf6(_0x2f09de,_0x51e881,_0x3f2ac9),_0x223eb5=(_0x4ba62a,_0x3e4355,_0x3b4a87)=>_0x5ae38f(_0x4ba62a,_0x3e4355+'',_0x3b4a87);const _0x2fe50f=_0x29a50d(0x1ec);_0x2becbd['UniverCollaborationClientUIPlugin']=class extends _0x49eaeb[_0x29a50d(0x38c)]{constructor(_0x240367=_0xbe33c4,_0x427a25,_0x18a1e0,_0x65b65d){const _0xe0439f=_0x29a50d;super(),this[_0xe0439f(0x43a)]=_0x240367,this[_0xe0439f(0x382)]=_0x427a25,this[_0xe0439f(0x3aa)]=_0x18a1e0,this[_0xe0439f(0x3c0)]=_0x65b65d;const {..._0x524db6}=_0x49eaeb[_0xe0439f(0x27b)]({},_0xbe33c4,this[_0xe0439f(0x43a)]);this[_0xe0439f(0x3c0)][_0xe0439f(0x399)](_0x52495c,_0x524db6);}[_0x29a50d(0x2ee)](){const _0xdc99f1=_0x29a50d;this[_0xdc99f1(0x367)](),this['_initDependencies']();}[_0x29a50d(0x312)](){const _0x2ac514=_0x29a50d;this[_0x2ac514(0x457)]();}[_0x29a50d(0x367)](){const _0x45956f=_0x29a50d;var _0x4c4810;const _0x36be28=[[_0x2b7743],[_0x458c5d],[_0x200e80],[_0x3ab3d0],[_0xb3c406],[_0x189700,{'useClass':_0x46366a}],[_0x23e63f[_0x45956f(0x39f)],{'useClass':_0x23e63f[_0x45956f(0x451)]}],[_0x5557ff[_0x45956f(0x366)],{'useClass':_0x5464f7}],[_0x2becbd[_0x45956f(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x43f861],[_0x450d8e],[_0x2becbd[_0x45956f(0x3c4)]]];_0x49eaeb[_0x45956f(0x289)](this['_injector'],_0x49eaeb[_0x45956f(0x3bc)](_0x36be28,(_0x4c4810=this['_config'])==null?void 0x0:_0x4c4810[_0x45956f(0x1e9)]));}[_0x29a50d(0x457)](){const _0x24eac2=_0x29a50d;this['disposeWithMe'](this[_0x24eac2(0x382)]['registerRenderModule'](_0x49eaeb[_0x24eac2(0x311)][_0x24eac2(0x2e3)],[_0x4c2a27])),this[_0x24eac2(0x46c)](this['_renderManagerService'][_0x24eac2(0x2b2)](_0x49eaeb[_0x24eac2(0x311)]['UNIVER_SHEET'],[_0x42601e]));}[_0x29a50d(0x303)](){const _0x2b44e3=_0x29a50d;_0x49eaeb['touchDependencies'](this[_0x2b44e3(0x3aa)],[[_0x43f861],[_0x2becbd[_0x2b44e3(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x2becbd['CollaborationDataLoaderController']]]);}},_0x223eb5(_0x2becbd['UniverCollaborationClientUIPlugin'],_0x29a50d(0x42b),_0x2fe50f),_0x2becbd[_0x29a50d(0x41e)]=_0xa46fee([_0x49eaeb['DependentOn'](_0x5557ff[_0x29a50d(0x419)]),_0x1e1c52(0x1,_0x506afb[_0x29a50d(0x3e0)]),_0x1e1c52(0x2,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x1e1c52(0x3,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x41e)]);var _0x2ea41f=Object[_0x29a50d(0x285)],_0x10409b=(_0x142668,_0x21d47d,_0x4ab9c0,_0x301608)=>{for(var _0x46d0cb=_0x301608>0x1?void 0x0:_0x301608?_0x2ea41f(_0x21d47d,_0x4ab9c0):_0x21d47d,_0x5955d7=_0x142668['length']-0x1,_0x800743;_0x5955d7>=0x0;_0x5955d7--)(_0x800743=_0x142668[_0x5955d7])&&(_0x46d0cb=_0x800743(_0x46d0cb)||_0x46d0cb);return _0x46d0cb;},_0x5c514a=(_0x1b64b5,_0x37a2a1)=>(_0x476747,_0x825610)=>_0x37a2a1(_0x476747,_0x825610,_0x1b64b5);_0x2becbd['BrowserCollaborationSocketService']=class extends _0x5557ff['CollaborationSocketService']{constructor(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18){super(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18);}async['createSocket'](_0x335917){const _0x554fc0=_0x29a50d,_0x4a034d=await this[_0x554fc0(0x37e)](),_0x24984c=this['_createSocketURL'](_0x335917,_0x4a034d);return this[_0x554fc0(0x22f)](_0x24984c);}[_0x29a50d(0x3d8)](_0x134d68,_0x9b95a6){const _0x28309c=_0x29a50d,_0x2f1d12=typeof window>'u'?new URL(_0x134d68):new URL(_0x134d68,window[_0x28309c(0x3b4)][_0x28309c(0x3db)]);_0x2f1d12[_0x28309c(0x294)][_0x28309c(0x3e6)](_0x28309c(0x464),_0x9b95a6);const _0x571c76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28309c(0x3b4)]['search']);return _0x571c76[_0x28309c(0x408)](_0x28309c(0x467))&&_0x2f1d12[_0x28309c(0x294)]['set'](_0x28309c(0x467),_0x571c76['get']('runId')),_0x2f1d12[_0x28309c(0x2ed)]();}async[_0x29a50d(0x37e)](){const _0x4c54a7=_0x29a50d;var _0x3562a4,_0xdbc109,_0x18b895;const _0x403c0c=this['_configService'][_0x4c54a7(0x218)](_0x5557ff[_0x4c54a7(0x23c)]),_0xd886a4=(_0x3562a4=_0x403c0c==null?void 0x0:_0x403c0c[_0x4c54a7(0x2ae)])!=null?_0x3562a4:_0x5557ff[_0x4c54a7(0x29c)];return(_0x18b895=(_0xdbc109=(await this['_httpService'][_0x4c54a7(0x408)](_0xd886a4,{'headers':{'Content-Type':_0x4c54a7(0x36c)}}))[_0x4c54a7(0x2ea)])==null?void 0x0:_0xdbc109['ticket'])!=null?_0x18b895:'';}},_0x2becbd['BrowserCollaborationSocketService']=_0x10409b([_0x5c514a(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x5c514a(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x23e63f[_0x29a50d(0x39c)])),_0x5c514a(0x2,_0x49eaeb[_0x29a50d(0x37f)]),_0x5c514a(0x3,_0x49eaeb[_0x29a50d(0x2e6)]),_0x5c514a(0x4,_0x579da8[_0x29a50d(0x3f2)])],_0x2becbd[_0x29a50d(0x2a2)]);const _0x59be6f=0x7530,_0x16ec45='ACTIVE_UNIT_EVENT_CHANNEL';class _0x524bf6 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x5d4658=_0x29a50d;super(),_0x2d5d22(this,_0x5d4658(0x479),_0x49eaeb[_0x5d4658(0x2fe)]()),_0x2d5d22(this,_0x5d4658(0x22a),new Set()),_0x2d5d22(this,_0x5d4658(0x262),new Map()),_0x2d5d22(this,'_heartbeatTimer',null),_0x2d5d22(this,_0x5d4658(0x3ff),new Map()),_0x2d5d22(this,_0x5d4658(0x30a),new Map()),this[_0x5d4658(0x328)]();}[_0x29a50d(0x239)](){const _0x5e80c5=_0x29a50d;super[_0x5e80c5(0x239)](),this[_0x5e80c5(0x3ff)][_0x5e80c5(0x351)]((_0x5eb81b,_0x163b4e)=>this[_0x5e80c5(0x434)](_0x163b4e)),this[_0x5e80c5(0x293)]&&window[_0x5e80c5(0x31c)](this[_0x5e80c5(0x293)]);}[_0x29a50d(0x41b)](_0x4fe9c7){const _0x8c88fb=_0x29a50d;return this[_0x8c88fb(0x2be)](_0x4fe9c7)['pipe'](_0x1a1591[_0x8c88fb(0x24f)]());}['editingUnit'](_0x37b4e4){const _0xb9d237=_0x29a50d;this[_0xb9d237(0x22a)][_0xb9d237(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0xb9d237(0x22a)][_0xb9d237(0x3f5)](_0x37b4e4),this[_0xb9d237(0x394)]({'type':0x0,'memberID':this[_0xb9d237(0x479)],'unitIDs':[_0x37b4e4],'isForwarded':!0x1});}[_0x29a50d(0x2a4)](_0x38dee2){const _0x3c4566=_0x29a50d;this['_selfUnitIDs'][_0x3c4566(0x206)](_0x38dee2),this[_0x3c4566(0x22a)][_0x3c4566(0x2bc)]===0x0&&this[_0x3c4566(0x293)]&&window[_0x3c4566(0x31c)](this[_0x3c4566(0x293)]);}[_0x29a50d(0x328)](){const _0x330005=_0x29a50d;this['disposeWithMe'](_0x49eaeb[_0x330005(0x21d)](_0x1a1591['fromEvent'](window,_0x330005(0x2e0))['subscribe'](_0x4811d3=>{const _0x38afce=_0x330005;if(_0x4811d3[_0x38afce(0x3a2)]!==_0x16ec45||!_0x4811d3[_0x38afce(0x417)])return;const _0x45ffa8=JSON[_0x38afce(0x2fd)](_0x4811d3[_0x38afce(0x417)]);this['_handleEvent'](_0x45ffa8);}))),window[_0x330005(0x29a)](_0x330005(0x227),()=>this[_0x330005(0x394)]({'type':0x1,'memberID':this[_0x330005(0x479)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x430312){const _0x11d785=_0x29a50d;switch(_0x430312[_0x11d785(0x462)]){case 0x0:this[_0x11d785(0x2af)](_0x430312);break;case 0x1:this[_0x11d785(0x37b)](_0x430312);break;case 0x2:this[_0x11d785(0x256)](_0x430312);break;}}[_0x29a50d(0x2af)](_0x56bd0a){const _0x59a689=_0x29a50d,{unitIDs:_0xa0ecd1,memberID:_0xa06dde,isForwarded:_0x3984d2}=_0x56bd0a;_0xa0ecd1[_0x59a689(0x351)](_0x193c7=>{const _0x43381a=_0x59a689;if(!_0x3984d2&&this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)&&this[_0x43381a(0x2be)](_0x193c7)[_0x43381a(0x277)](_0x5557ff[_0x43381a(0x447)]['OTHER_CLIENTS_EDITING']),!this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)||!this[_0x43381a(0x262)]['get'](_0x193c7)['has'](_0xa06dde)){const _0x5b3164=this[_0x43381a(0x262)][_0x43381a(0x408)](_0x193c7)||new Set();_0x5b3164[_0x43381a(0x3f5)](_0xa06dde),this[_0x43381a(0x262)][_0x43381a(0x3e6)](_0x193c7,_0x5b3164),this['_scheduleClearOtherTimer'](_0xa06dde);}}),_0x3984d2||this[_0x59a689(0x394)]({'type':0x0,'memberID':this[_0x59a689(0x479)],'unitIDs':[...this[_0x59a689(0x22a)]],'isForwarded':!0x0});}[_0x29a50d(0x263)](_0x54c6f0){const _0x3da855=_0x29a50d;this[_0x3da855(0x434)](_0x54c6f0);const _0x9a67c8=window['setTimeout'](()=>{const _0x2af602=_0x3da855;this['_unitOnClients'][_0x2af602(0x351)](_0xdd3e61=>{_0xdd3e61['delete'](_0x54c6f0);});},_0x59be6f*0x2);this[_0x3da855(0x3ff)][_0x3da855(0x3e6)](_0x54c6f0,_0x9a67c8);}['_removeClearOtherTimer'](_0x1c5a18){const _0x434f7a=_0x29a50d;if(this[_0x434f7a(0x3ff)][_0x434f7a(0x35c)](_0x1c5a18)){const _0x36942b=this['_clearOtherTimers'][_0x434f7a(0x408)](_0x1c5a18);_0x36942b&&window[_0x434f7a(0x2f4)](_0x36942b),this['_clearOtherTimers'][_0x434f7a(0x3e6)](_0x1c5a18,null);}}['_handleLeaveEvent'](_0x385e2e){const {memberID:_0x19e534,unitIDs:_0x4f0e01}=_0x385e2e;_0x4f0e01['forEach'](_0x4236b9=>{const _0x14b80a=_0x37a6;var _0x392109;const _0x54c7d8=this['_unitOnClients'][_0x14b80a(0x408)](_0x4236b9);_0x54c7d8&&(_0x54c7d8[_0x14b80a(0x206)](_0x19e534),(_0x392109=this[_0x14b80a(0x2be)](_0x4236b9))==null||_0x392109[_0x14b80a(0x277)](_0x54c7d8['size']===0x0?_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x208)]:_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x2fc)]));}),this['_removeClearOtherTimer'](_0x19e534);}['_handleHeartbeatEvent'](_0x2d6c98){const _0xe994c1=_0x29a50d;this['_scheduleClearOtherTimer'](_0x2d6c98[_0xe994c1(0x3d1)]);}[_0x29a50d(0x394)](_0x455908){const _0x2a6bcf=_0x29a50d;localStorage[_0x2a6bcf(0x26b)](_0x16ec45,JSON[_0x2a6bcf(0x33c)](_0x455908));}[_0x29a50d(0x39b)](){const _0x2489f6=_0x29a50d;this[_0x2489f6(0x293)]=window[_0x2489f6(0x36e)](()=>{const _0x160a30=_0x2489f6;this[_0x160a30(0x394)]({'type':0x2,'memberID':this[_0x160a30(0x479)]});},_0x59be6f);}['_ensureSubject'](_0x1a7eab){const _0x1988da=_0x29a50d;return this[_0x1988da(0x30a)][_0x1988da(0x35c)](_0x1a7eab)||this[_0x1988da(0x30a)][_0x1988da(0x3e6)](_0x1a7eab,new _0x1a1591['BehaviorSubject'](_0x5557ff[_0x1988da(0x447)][_0x1988da(0x208)])),this['_unitStatus']['get'](_0x1a7eab);}}var _0x5afc4b=(_0x513dcc=>(_0x513dcc[_0x513dcc[_0x29a50d(0x444)]=0x0]=_0x29a50d(0x444),_0x513dcc[_0x513dcc['OK']=0x1]='OK',_0x513dcc[_0x513dcc[_0x29a50d(0x404)]=0x2]=_0x29a50d(0x404),_0x513dcc[_0x513dcc[_0x29a50d(0x1ff)]=0x3]=_0x29a50d(0x1ff),_0x513dcc[_0x513dcc[_0x29a50d(0x27c)]=0x4]=_0x29a50d(0x27c),_0x513dcc[_0x513dcc['UNAUTHENTICATED']=0x5]=_0x29a50d(0x31a),_0x513dcc[_0x513dcc[_0x29a50d(0x3c9)]=0x6]='ALREADY_EXISTS',_0x513dcc[_0x513dcc[_0x29a50d(0x412)]=0x7]=_0x29a50d(0x412),_0x513dcc[_0x513dcc['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x513dcc[_0x513dcc['COMPLETION_FINISHED']=0x9]=_0x29a50d(0x34c),_0x513dcc[_0x513dcc['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x513dcc[_0x513dcc[_0x29a50d(0x2b4)]=0x1389]=_0x29a50d(0x2b4),_0x513dcc[_0x513dcc[_0x29a50d(0x29b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x513dcc[_0x513dcc[_0x29a50d(0x21e)]=0x1772]=_0x29a50d(0x21e),_0x513dcc[_0x513dcc[_0x29a50d(0x428)]=0x1773]=_0x29a50d(0x428),_0x513dcc[_0x513dcc['APPLY_REJECT']=0x1b59]=_0x29a50d(0x331),_0x513dcc[_0x513dcc[_0x29a50d(0x224)]=0x1b5a]=_0x29a50d(0x224),_0x513dcc[_0x513dcc[_0x29a50d(0x214)]=0x1b5b]=_0x29a50d(0x214),_0x513dcc[_0x513dcc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x29a50d(0x26f),_0x513dcc[_0x513dcc['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x513dcc[_0x513dcc[_0x29a50d(0x398)]=0x1f41]=_0x29a50d(0x398),_0x513dcc[_0x513dcc[_0x29a50d(0x373)]=0x2329]=_0x29a50d(0x373),_0x513dcc[_0x513dcc[_0x29a50d(0x3f1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x513dcc[_0x513dcc[_0x29a50d(0x3d0)]=0x232b]=_0x29a50d(0x3d0),_0x513dcc[_0x513dcc[_0x29a50d(0x279)]=0x232c]=_0x29a50d(0x279),_0x513dcc[_0x513dcc[_0x29a50d(0x1eb)]=0x232d]=_0x29a50d(0x1eb),_0x513dcc[_0x513dcc[_0x29a50d(0x3e9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x513dcc[_0x513dcc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29a50d(0x283),_0x513dcc[_0x513dcc[_0x29a50d(0x3de)]=0x2713]=_0x29a50d(0x3de),_0x513dcc[_0x513dcc[_0x29a50d(0x476)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x513dcc[_0x513dcc[_0x29a50d(0x45e)]=0x271a]=_0x29a50d(0x45e),_0x513dcc[_0x513dcc[_0x29a50d(0x32a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x513dcc[_0x513dcc[_0x29a50d(0x427)]=0x2af9]=_0x29a50d(0x427),_0x513dcc[_0x513dcc[_0x29a50d(0x3fe)]=0x2ee1]=_0x29a50d(0x3fe),_0x513dcc[_0x513dcc[_0x29a50d(0x307)]=0x2ee2]='INVALID_INVITE_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x3c6)]=0x2ee3]=_0x29a50d(0x3c6),_0x513dcc[_0x513dcc['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x28d)]=0x2ee5]=_0x29a50d(0x28d),_0x513dcc[_0x513dcc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x29a50d(0x3bb),_0x513dcc[_0x513dcc[_0x29a50d(0x271)]=0x32ca]=_0x29a50d(0x271),_0x513dcc[_0x513dcc[_0x29a50d(0x353)]=0x32cb]=_0x29a50d(0x353),_0x513dcc[_0x513dcc[_0x29a50d(0x3f4)]=-0x1]=_0x29a50d(0x3f4),_0x513dcc))(_0x5afc4b||{}),_0x21f660=Object[_0x29a50d(0x285)],_0x1be725=(_0x4ec892,_0x3cfe72,_0x5a49a7,_0x13f21d)=>{const _0x225da5=_0x29a50d;for(var _0x260648=_0x13f21d>0x1?void 0x0:_0x13f21d?_0x21f660(_0x3cfe72,_0x5a49a7):_0x3cfe72,_0x266d4b=_0x4ec892[_0x225da5(0x1f8)]-0x1,_0x2f130c;_0x266d4b>=0x0;_0x266d4b--)(_0x2f130c=_0x4ec892[_0x266d4b])&&(_0x260648=_0x2f130c(_0x260648)||_0x260648);return _0x260648;},_0x348082=(_0x106b0c,_0x10a6c0)=>(_0x37297e,_0xde305f)=>_0x10a6c0(_0x37297e,_0xde305f,_0x106b0c);_0x2becbd[_0x29a50d(0x2c6)]=class extends _0x49eaeb['Disposable']{constructor(_0x1c716c,_0x22ce91,_0x518e7b){const _0x2352f3=_0x29a50d;super(),this['_instanceService']=_0x1c716c,this[_0x2352f3(0x301)]=_0x22ce91,this['_configService']=_0x518e7b;}async['runOnServer'](_0x2e512b,_0x276d1a,_0x3f275a,..._0x4a9d7a){const _0x1e727f=_0x29a50d;var _0x506bf3,_0x23caa7,_0x52c6c9,_0x3517bf;const _0x3cda5e=this['_instanceService'][_0x1e727f(0x344)]();if(!_0x3cda5e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x542858=((_0x506bf3=this[_0x1e727f(0x3c0)][_0x1e727f(0x218)](_0x5557ff[_0x1e727f(0x248)]))!=null?_0x506bf3:_0x5557ff[_0x1e727f(0x337)])+'/'+_0x2e512b+_0x1e727f(0x2ac)+_0x276d1a,_0xc8521c=new URL(window[_0x1e727f(0x3b4)][_0x1e727f(0x387)]),_0x52b87e={'scriptId':_0x2e512b,'runId':(_0x23caa7=_0xc8521c[_0x1e727f(0x294)][_0x1e727f(0x408)](_0x1e727f(0x467)))!=null?_0x23caa7:'','function':_0x276d1a,'unitId':_0x3cda5e[_0x1e727f(0x3fc)](),'argsOfFunction':JSON[_0x1e727f(0x33c)](_0x4a9d7a),'invokeId':(_0x52c6c9=_0x3f275a[_0x1e727f(0x2d7)])!=null?_0x52c6c9:'','executionId':(_0x3517bf=_0x3f275a[_0x1e727f(0x418)])!=null?_0x3517bf:''};try{const _0x3dec5e=await this[_0x1e727f(0x301)][_0x1e727f(0x355)](_0x542858,{'body':_0x52b87e});return _0x3dec5e[_0x1e727f(0x2ea)]['error']&&_0x3dec5e[_0x1e727f(0x2ea)]['error'][_0x1e727f(0x43c)]!==_0x5afc4b['OK']?_0x1e727f(0x246):_0x3dec5e[_0x1e727f(0x2ea)]['result'];}catch{return _0x1e727f(0x246);}}},_0x2becbd['RemoteUniscriptService']=_0x1be725([_0x348082(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x348082(0x1,_0x49eaeb['Inject'](_0x23e63f['HTTPService'])),_0x348082(0x2,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x2c6)]),_0x2becbd[_0x29a50d(0x254)]=_0x56e298,_0x2becbd[_0x29a50d(0x313)]=_0x189700,_0x2becbd[_0x29a50d(0x44d)]=_0x3df6b2,_0x2becbd[_0x29a50d(0x20b)]=_0x524bf6,_0x2becbd[_0x29a50d(0x430)]=_0x46366a,Object[_0x29a50d(0x222)](_0x2becbd,Symbol[_0x29a50d(0x2a8)],{'value':'Module'});}));
|
|
1
|
+
function _0x1eaa(_0x4948ed,_0x2fa136){const _0x39ec75=_0x39ec();return _0x1eaa=function(_0x1eaace,_0x517aa7){_0x1eaace=_0x1eaace-0x6a;let _0x5d2fe2=_0x39ec75[_0x1eaace];return _0x5d2fe2;},_0x1eaa(_0x4948ed,_0x2fa136);}(function(_0x53f3ee,_0x4def73){const _0x4876cd=_0x1eaa,_0x3f57ba=_0x53f3ee();while(!![]){try{const _0x39f074=-parseInt(_0x4876cd(0x198))/0x1*(parseInt(_0x4876cd(0x194))/0x2)+parseInt(_0x4876cd(0xb2))/0x3*(-parseInt(_0x4876cd(0x2c5))/0x4)+parseInt(_0x4876cd(0x139))/0x5*(-parseInt(_0x4876cd(0x2d2))/0x6)+-parseInt(_0x4876cd(0x120))/0x7*(parseInt(_0x4876cd(0x2b8))/0x8)+parseInt(_0x4876cd(0x265))/0x9*(parseInt(_0x4876cd(0x70))/0xa)+parseInt(_0x4876cd(0xaa))/0xb+parseInt(_0x4876cd(0xbf))/0xc;if(_0x39f074===_0x4def73)break;else _0x3f57ba['push'](_0x3f57ba['shift']());}catch(_0x8b8f67){_0x3f57ba['push'](_0x3f57ba['shift']());}}}(_0x39ec,0xf1e49),function(_0x4652f7,_0x27c63f){const _0x2308a1=_0x1eaa;typeof exports==_0x2308a1(0xf2)&&typeof module<'u'?_0x27c63f(exports,require(_0x2308a1(0x249)),require(_0x2308a1(0xe3)),require('@univerjs/engine-render'),require(_0x2308a1(0x2fc)),require('@univerjs/docs-ui'),require(_0x2308a1(0x10a)),require(_0x2308a1(0x14a)),require(_0x2308a1(0x14c)),require('@univerjs-pro/collaboration'),require(_0x2308a1(0x1ed)),require('@univerjs/sheets'),require(_0x2308a1(0x25e)),require('@univerjs/sheets-ui'),require(_0x2308a1(0x228)),require(_0x2308a1(0x2a5)),require(_0x2308a1(0x2ac)),require(_0x2308a1(0x140)),require('@univerjs/rpc')):typeof define==_0x2308a1(0x73)&&define['amd']?define([_0x2308a1(0x298),_0x2308a1(0x249),'@univerjs/core',_0x2308a1(0x15e),_0x2308a1(0x2fc),'@univerjs/docs-ui',_0x2308a1(0x10a),_0x2308a1(0x14a),_0x2308a1(0x14c),'@univerjs-pro/collaboration',_0x2308a1(0x1ed),_0x2308a1(0x71),_0x2308a1(0x25e),_0x2308a1(0x2e1),_0x2308a1(0x228),'@univerjs/ui',_0x2308a1(0x2ac),_0x2308a1(0x140),_0x2308a1(0x294)],_0x27c63f):(_0x4652f7=typeof globalThis<'u'?globalThis:_0x4652f7||self,_0x27c63f(_0x4652f7['UniverProCollaborationClientUi']={},_0x4652f7[_0x2308a1(0x22c)],_0x4652f7[_0x2308a1(0x278)],_0x4652f7[_0x2308a1(0x2c4)],_0x4652f7[_0x2308a1(0x24e)],_0x4652f7['UniverDocsUi'],_0x4652f7[_0x2308a1(0x237)],_0x4652f7['rxjs'],_0x4652f7['UniverDocs'],_0x4652f7[_0x2308a1(0x179)],_0x4652f7['UniverEngineFormula'],_0x4652f7[_0x2308a1(0xcf)],_0x4652f7[_0x2308a1(0x14a)]['operators'],_0x4652f7['UniverSheetsUi'],_0x4652f7['React'],_0x4652f7['UniverUi'],_0x4652f7[_0x2308a1(0x24c)],_0x4652f7['React'],_0x4652f7['UniverRpc']));}(this,function(_0x1a6cab,_0x3d05ed,_0x4d006c,_0x3ce196,_0x651cbe,_0x5051a5,_0xb0693b,_0x424996,_0x2b2a28,_0x12f559,_0x1371df,_0x231e9c,_0x4e626c,_0x4a87b2,_0x4ce13b,_0x1b6316,_0x1f5fc2,_0x3fb4d0,_0x5adf1e){'use strict';const _0x125ea8=_0x1eaa;var _0x2fd6c2=Object['defineProperty'],_0x342b02=(_0x5aaf5d,_0x55de50,_0x1751f8)=>_0x55de50 in _0x5aaf5d?_0x2fd6c2(_0x5aaf5d,_0x55de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1751f8}):_0x5aaf5d[_0x55de50]=_0x1751f8,_0x321a93=(_0x3eb722,_0x5f1712,_0x507c30)=>_0x342b02(_0x3eb722,typeof _0x5f1712!=_0x125ea8(0x245)?_0x5f1712+'':_0x5f1712,_0x507c30),_0x171bef=Object[_0x125ea8(0x209)],_0x3e0f6a=(_0x194f7f,_0x329c11,_0x37c7d5,_0x5a7137)=>{const _0x555ac1=_0x125ea8;for(var _0x2225f4=_0x5a7137>0x1?void 0x0:_0x5a7137?_0x171bef(_0x329c11,_0x37c7d5):_0x329c11,_0x45626f=_0x194f7f[_0x555ac1(0xb7)]-0x1,_0x8f6085;_0x45626f>=0x0;_0x45626f--)(_0x8f6085=_0x194f7f[_0x45626f])&&(_0x2225f4=_0x8f6085(_0x2225f4)||_0x2225f4);return _0x2225f4;},_0x11af32=(_0x2e7fca,_0x275c4b)=>(_0x5e3722,_0x58d1b2)=>_0x275c4b(_0x5e3722,_0x58d1b2,_0x2e7fca);let _0x22fe1a=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x13b101,_0x2b3e93){const _0x5353fc=_0x125ea8;super(),this[_0x5353fc(0x7d)]=_0x13b101,this[_0x5353fc(0x1fe)]=_0x2b3e93,this[_0x5353fc(0x2c1)]();}[_0x125ea8(0x2c1)](){const _0x2883b1=_0x125ea8,_0x12d94c=this;this[_0x2883b1(0xd9)](this[_0x2883b1(0x7d)][_0x2883b1(0xe1)]({'onBeforePasteImage':async _0xd2b883=>{const _0x232fde=_0x2883b1,_0x28e298=await _0x12d94c[_0x232fde(0x1fe)][_0x232fde(0xed)](_0xd2b883);return _0x28e298?{'source':_0x28e298[_0x232fde(0x79)],'imageSourceType':_0x28e298[_0x232fde(0xef)]}:null;}}));}};_0x22fe1a=_0x3e0f6a([_0x11af32(0x0,_0x5051a5[_0x125ea8(0xde)]),_0x11af32(0x1,_0xb0693b[_0x125ea8(0x1ab)])],_0x22fe1a);const _0x34f80e=[_0x125ea8(0x145),_0x125ea8(0x7b),_0x125ea8(0x2f6),_0x125ea8(0x2bc),'blue400','gold400'];class _0x1bdb8f extends _0x4d006c['Disposable']{constructor(){const _0x18825c=_0x125ea8;super(...arguments),_0x321a93(this,_0x18825c(0x182),new Map()),_0x321a93(this,'_colorIndex',0x0);}[_0x125ea8(0x257)](_0x2e1502){const _0xc3d5b8=_0x125ea8;if(this[_0xc3d5b8(0x182)][_0xc3d5b8(0x2e7)](_0x2e1502))return this[_0xc3d5b8(0x182)][_0xc3d5b8(0x205)](_0x2e1502);const _0x4b5727=_0x34f80e[this[_0xc3d5b8(0x2fa)]];return this[_0xc3d5b8(0x2fa)]=(this[_0xc3d5b8(0x2fa)]+0x1)%_0x34f80e[_0xc3d5b8(0xb7)],this[_0xc3d5b8(0x182)]['set'](_0x2e1502,_0x4b5727),_0x4b5727;}}function _0x141f60(_0x46fc3d){let _0x152c9a='';for(const _0x291652 of _0x46fc3d){const {startOffset:_0x4b8f0e,endOffset:_0x28d9b7,isActive:_0x166b29,rangeType:_0x204da,segmentId:_0x3f291a,segmentPage:_0x35550d}=_0x291652;_0x152c9a['length']&&(_0x152c9a+=','),_0x152c9a+=_0x4b8f0e+':'+_0x28d9b7+':'+(_0x166b29?'1':'0')+':'+_0x204da+':'+_0x3f291a+':'+_0x35550d;}return _0x152c9a;}function _0x4c1c82(_0x5cd4a2){const _0x2cec34=_0x125ea8,_0x3b8916=_0x5cd4a2[_0x2cec34(0xb0)](','),_0x3eb0f5=[];for(const _0x3ecb64 of _0x3b8916){const [_0x402021,_0x4f9bab,_0x47ffd8,_0x36e09e,_0x2716c4,_0x20b6d4]=_0x3ecb64[_0x2cec34(0xb0)](':');_0x3eb0f5[_0x2cec34(0x2e4)]({'startOffset':Number(_0x402021),'endOffset':Number(_0x4f9bab),'collapsed':_0x402021===_0x4f9bab,'isActive':_0x47ffd8==='1','rangeType':_0x36e09e===_0x4d006c['DOC_RANGE_TYPE'][_0x2cec34(0x22e)]?_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0x22e)]:_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0xee)],'segmentId':typeof _0x2716c4=='string'?String(_0x2716c4):'','segmentPage':Number(_0x20b6d4!=null?_0x20b6d4:-0x1)});}return _0x3eb0f5['some'](_0x511a40=>_0x511a40[_0x2cec34(0x100)])||(_0x3eb0f5[0x0][_0x2cec34(0x100)]=!0x0),_0x3eb0f5;}class _0x167556 extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x284065=_0x125ea8;super(...arguments),_0x321a93(this,_0x284065(0x26e),new _0x424996['BehaviorSubject'](null)),_0x321a93(this,_0x284065(0x7e),this[_0x284065(0x26e)]['asObservable']());}[_0x125ea8(0x1a4)](_0x4bafdb){const _0x330d68=_0x125ea8,{unitID:_0x55b1e6,memberID:_0x553f29,textRanges:_0xa9b14}=_0x4bafdb,_0x5b1a32=_0x141f60(_0xa9b14);if(_0x5b1a32==='')return;const _0x5c4fd7={'unitID':_0x55b1e6,'memberID':_0x553f29,'selection':_0x5b1a32};this[_0x330d68(0x26e)][_0x330d68(0xa3)](_0x5c4fd7);}}var _0x4b7ddf=Object[_0x125ea8(0x209)],_0x1081c5=(_0x55d458,_0x26d532,_0x155906,_0x13807b)=>{const _0x3bdd7a=_0x125ea8;for(var _0x38d416=_0x13807b>0x1?void 0x0:_0x13807b?_0x4b7ddf(_0x26d532,_0x155906):_0x26d532,_0x2a4484=_0x55d458[_0x3bdd7a(0xb7)]-0x1,_0x2e65fd;_0x2a4484>=0x0;_0x2a4484--)(_0x2e65fd=_0x55d458[_0x2a4484])&&(_0x38d416=_0x2e65fd(_0x38d416)||_0x38d416);return _0x38d416;},_0x487bf2=(_0x4ff345,_0x52a4e6)=>(_0x271d55,_0x2e3311)=>_0x52a4e6(_0x271d55,_0x2e3311,_0x4ff345);const _0x467c21=0x12c,_0x45daee=0x64;let _0x1fe332=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x443ca0,_0xb8d697,_0x3a7571,_0x18eaf9,_0x400ce9,_0x404f27,_0x2ef8f4,_0x242048,_0x18cb63){const _0x1213f4=_0x125ea8;super(),_0x321a93(this,'_online',!0x1),_0x321a93(this,_0x1213f4(0x2c1),!0x1),_0x321a93(this,'_cursorInfo$',new _0x424996[(_0x1213f4(0x170))](new Map())),_0x321a93(this,_0x1213f4(0x1a0),this['_cursorInfo$']['asObservable']()),_0x321a93(this,_0x1213f4(0x20a),new _0x424996[(_0x1213f4(0x170))]([])),_0x321a93(this,_0x1213f4(0x1b0),this[_0x1213f4(0x20a)][_0x1213f4(0x2c2)](_0x424996[_0x1213f4(0x267)](_0x467c21))),_0x321a93(this,_0x1213f4(0x13a),_0x4d006c[_0x1213f4(0x7f)](_0xae959d=>{const _0x53014d=_0x1213f4,_0x4d1b27={'eventID':_0x12f559[_0x53014d(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x53014d(0xae)],'memberID':this[_0x53014d(0x280)][_0x53014d(0x11d)](),'selection':_0x141f60(_0xae959d)}};this[_0x53014d(0x280)][_0x53014d(0x1a6)](_0x4d1b27,this['unitID']);},_0x45daee)),(this[_0x1213f4(0xae)]=_0x443ca0,this[_0x1213f4(0x280)]=_0xb8d697,this['_injector']=_0x3a7571,this[_0x1213f4(0xbb)]=_0x18eaf9,this['_memberService']=_0x400ce9,this[_0x1213f4(0x1f1)]=_0x404f27,this[_0x1213f4(0xdb)]=_0x2ef8f4,this[_0x1213f4(0x1af)]=_0x242048,this[_0x1213f4(0xe8)]=_0x18cb63);}get[_0x125ea8(0x241)](){const _0x14c3a4=_0x125ea8;return this[_0x14c3a4(0x144)][_0x14c3a4(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x4f1b89=_0x125ea8;return this[_0x4f1b89(0x20a)][_0x4f1b89(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x5d7746=_0x125ea8;super[_0x5d7746(0x23f)](),this[_0x5d7746(0x144)][_0x5d7746(0xa3)](new Map()),this['_cursorInfo$'][_0x5d7746(0x2a2)](),this[_0x5d7746(0x20a)]['next']([]),this[_0x5d7746(0x20a)][_0x5d7746(0x2a2)]();}[_0x125ea8(0x101)](){const _0x57bd33=_0x125ea8;this[_0x57bd33(0x2c1)]||(this[_0x57bd33(0x2c1)]=!0x0,this[_0x57bd33(0x280)]['sessionStatus$'][_0x57bd33(0x2c2)](_0x424996['takeUntil'](this[_0x57bd33(0x281)]))[_0x57bd33(0x2fb)](_0x2065be=>{const _0x413d4b=_0x57bd33;_0x2065be===_0x3d05ed['SessionStatus'][_0x413d4b(0xc5)]?this[_0x413d4b(0x169)]():this[_0x413d4b(0x1d2)]();}),this[_0x57bd33(0x280)][_0x57bd33(0x2bb)]['pipe'](_0x424996[_0x57bd33(0x2b2)](this[_0x57bd33(0x281)]))['subscribe'](_0x14a45a=>{const _0x5a0f44=_0x57bd33,_0x44cbeb=_0x14a45a[_0x5a0f44(0x29e)];_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x16a)]&&this['_onCursorUpdate'](_0x14a45a),_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x295)]&&this['_onCursorDelete'](_0x14a45a);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)]['onCommandExecuted'](_0x551635=>{const _0x539dc5=_0x57bd33,_0x3c947f=_0x551635['params'];_0x3c947f!=null&&this['_online']&&_0x551635['id']===_0x2b2a28['SetTextSelectionsOperation']['id']&&_0x3c947f[_0x539dc5(0x224)]===this[_0x539dc5(0xae)]&&_0x3c947f['isEditing']===!0x1&&_0x3c947f[_0x539dc5(0x1c0)][_0x539dc5(0xb7)]>0x0&&this[_0x539dc5(0x13a)](_0x3c947f[_0x539dc5(0x1c0)]);})),this['_syncEditingCollabCursorService'][_0x57bd33(0x7e)][_0x57bd33(0x2c2)](_0x424996[_0x57bd33(0x2b2)](this['dispose$']))[_0x57bd33(0x2fb)](_0x35da37=>{const _0x114217=_0x57bd33;if((_0x35da37==null?void 0x0:_0x35da37[_0x114217(0xae)])!==this[_0x114217(0xae)])return;const _0x2aebad={'eventID':_0x12f559['CollaborationEvent'][_0x114217(0x16a)],'data':_0x35da37};this[_0x114217(0x1bb)](_0x2aebad);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)][_0x57bd33(0x1ca)](_0x20a9e8=>{const _0x5128f5=_0x57bd33;if(_0x20a9e8['params']==null)return;const _0x1301df=_0x20a9e8[_0x5128f5(0x2fd)];if(_0x20a9e8['id']!==_0x2b2a28[_0x5128f5(0x18e)]['id']||_0x1301df[_0x5128f5(0x224)]!==this[_0x5128f5(0xae)])return;const _0x1715e3={'id':_0x5128f5(0x12e),'params':_0x1301df},_0x58e448=this[_0x5128f5(0x241)];for(const [_0x5b3c90,_0x190751]of _0x58e448){const _0x4c018b={'id':_0x5128f5(0x12e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x190751[_0x5128f5(0x1c0)]}},_0x48fd3c=this[_0x5128f5(0xdb)][_0x5128f5(0x1d1)](_0x1715e3,_0x4c018b,!0x1);if(_0x12f559[_0x5128f5(0xcb)](_0x48fd3c))throw _0x48fd3c[_0x5128f5(0x2bd)];_0x58e448[_0x5128f5(0x21a)](_0x5b3c90,{..._0x190751,'ranges':_0x48fd3c[_0x5128f5(0x250)]['params'][_0x5128f5(0xa2)]});}queueMicrotask(()=>{const _0x3d993b=_0x5128f5;this[_0x3d993b(0x144)][_0x3d993b(0xa3)](_0x58e448);});})));}['_onCursorUpdate'](_0x2c8be1){const _0x366d62=_0x125ea8;var _0x5952a2,_0x667801;const {memberID:_0x417f10,selection:_0x3f03bd}=_0x2c8be1[_0x366d62(0x22d)],_0x43624b=_0x4c1c82(_0x3f03bd),_0x9c6b6b=(_0x667801=(_0x5952a2=this[_0x366d62(0x1ef)][_0x366d62(0x2d0)](this[_0x366d62(0xae)],_0x417f10))==null?void 0x0:_0x5952a2[_0x366d62(0x277)])!=null?_0x667801:_0x366d62(0xd6),_0x1790fc={'color':this[_0x366d62(0xbb)][_0x366d62(0x257)](_0x417f10),'name':_0x9c6b6b,'ranges':_0x43624b},_0x41fdbc=this[_0x366d62(0x241)];_0x41fdbc[_0x366d62(0x21a)](_0x417f10,_0x1790fc),this[_0x366d62(0x144)][_0x366d62(0xa3)](_0x41fdbc);}[_0x125ea8(0x166)](_0x1dc42d){const _0x5e0f33=_0x125ea8,{memberID:_0xe3de9d}=_0x1dc42d[_0x5e0f33(0x22d)],_0x3008c8=this[_0x5e0f33(0x241)];_0x3008c8[_0x5e0f33(0x22b)](_0xe3de9d),this[_0x5e0f33(0x144)][_0x5e0f33(0xa3)](_0x3008c8);}[_0x125ea8(0x169)](){const _0x5d1a27=_0x125ea8;var _0x4650f5;if(this[_0x5d1a27(0x258)]=!0x0,((_0x4650f5=this['_univerInstanceService'][_0x5d1a27(0x297)]())==null?void 0x0:_0x4650f5['getUnitId']())!==this[_0x5d1a27(0xae)])return;const _0x2fe037=this['_injector'][_0x5d1a27(0x205)](_0x2b2a28[_0x5d1a27(0xb5)])[_0x5d1a27(0x135)]();Array[_0x5d1a27(0x177)](_0x2fe037)&&_0x2fe037[_0x5d1a27(0xb7)]>0x0&&this[_0x5d1a27(0x13a)](_0x2fe037);}[_0x125ea8(0x1d2)](){const _0x239fea=_0x125ea8;this[_0x239fea(0x258)]=!0x1;}};_0x1fe332=_0x1081c5([_0x487bf2(0x2,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x487bf2(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x487bf2(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x26c)])),_0x487bf2(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x487bf2(0x6,_0x12f559['ITransformService']),_0x487bf2(0x7,_0x4d006c['IUniverInstanceService']),_0x487bf2(0x8,_0x4d006c[_0x125ea8(0x1a7)])],_0x1fe332);var _0x2d4727=Object[_0x125ea8(0x209)],_0x14fd81=(_0x4cc102,_0x2a391f,_0x57128d,_0x2ebfa3)=>{const _0x3bfe60=_0x125ea8;for(var _0xda4429=_0x2ebfa3>0x1?void 0x0:_0x2ebfa3?_0x2d4727(_0x2a391f,_0x57128d):_0x2a391f,_0x50b831=_0x4cc102[_0x3bfe60(0xb7)]-0x1,_0x2b43ad;_0x50b831>=0x0;_0x50b831--)(_0x2b43ad=_0x4cc102[_0x50b831])&&(_0xda4429=_0x2b43ad(_0xda4429)||_0xda4429);return _0xda4429;},_0x5d144d=(_0x54e046,_0x173abe)=>(_0x3fce87,_0x369b4c)=>_0x173abe(_0x3fce87,_0x369b4c,_0x54e046);const _0x1738be=0x12c,_0xd08119=0x64,_0x41b37c=()=>{let _0x1a7d48=[],_0x30fd52=!0x1;return _0x3d2224=>{const _0x564ce2=_0x1eaa;_0x1a7d48[_0x564ce2(0x2e4)](_0x3d2224),_0x30fd52||(_0x30fd52=!0x0,setTimeout(()=>{const _0x48872a=_0x564ce2;_0x1a7d48[_0x48872a(0x1fa)](_0x400f0b=>_0x400f0b()),_0x1a7d48=[],_0x30fd52=!0x1;}));};};let _0x95cd17=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x5d52ba,_0x276aa4,_0x151dcf,_0x10d9c5,_0x5aac27,_0x4a3432,_0x27d03e,_0x25c4c0){const _0x38d539=_0x125ea8;super(),_0x321a93(this,_0x38d539(0x258),!0x1),_0x321a93(this,_0x38d539(0x2c1),!0x1),_0x321a93(this,_0x38d539(0x144),new _0x424996['BehaviorSubject'](new Map())),_0x321a93(this,_0x38d539(0x1a0),this['_cursorInfo$'][_0x38d539(0x147)]()),_0x321a93(this,_0x38d539(0x20a),new _0x424996[(_0x38d539(0x170))]([])),_0x321a93(this,_0x38d539(0x1b0),this['_roomMembers$']['pipe'](_0x424996['debounceTime'](_0x1738be))),_0x321a93(this,'_updateLocalCursor',_0x4d006c[_0x38d539(0x7f)]((_0x492bb1,_0x4ea429)=>{const _0x23bad7=_0x38d539,_0x1cbc53={'eventID':_0x12f559[_0x23bad7(0x254)][_0x23bad7(0x16a)],'data':{'unitID':this[_0x23bad7(0xae)],'memberID':this[_0x23bad7(0x280)][_0x23bad7(0x11d)](),'selection':_0x1371df[_0x23bad7(0x2d4)](_0x492bb1,_0x4ea429[_0x23bad7(0x2e9)])}};this[_0x23bad7(0x280)][_0x23bad7(0x1a6)](_0x1cbc53,this['unitID']);},_0xd08119)),(this[_0x38d539(0xae)]=_0x5d52ba,this[_0x38d539(0x280)]=_0x276aa4,this['_injector']=_0x151dcf,this['_colorAssignService']=_0x10d9c5,this['_memberService']=_0x5aac27,this[_0x38d539(0x1af)]=_0x4a3432,this[_0x38d539(0xe8)]=_0x27d03e,this[_0x38d539(0xec)]=_0x25c4c0);}get[_0x125ea8(0x241)](){const _0x55de5e=_0x125ea8;return this[_0x55de5e(0x144)][_0x55de5e(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x10ddd9=_0x125ea8;return this['_roomMembers$'][_0x10ddd9(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x27c921=_0x125ea8;super[_0x27c921(0x23f)](),this[_0x27c921(0x144)]['next'](new Map()),this['_cursorInfo$'][_0x27c921(0x2a2)](),this[_0x27c921(0x20a)][_0x27c921(0xa3)]([]),this[_0x27c921(0x20a)][_0x27c921(0x2a2)]();}[_0x125ea8(0x101)](){const _0xa44346=_0x125ea8;this[_0xa44346(0x2c1)]||(this[_0xa44346(0x2c1)]=!0x0,this[_0xa44346(0x280)]['sessionStatus$'][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this[_0xa44346(0x281)]))['subscribe'](_0x4fbd39=>{const _0x41cad5=_0xa44346;_0x4fbd39===_0x3d05ed[_0x41cad5(0x138)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa44346(0x280)][_0xa44346(0x2bb)][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this['dispose$']))['subscribe'](_0x5ceae9=>{const _0x378a7f=_0xa44346,_0x3fcdbc=_0x5ceae9[_0x378a7f(0x29e)];_0x3fcdbc===_0x12f559[_0x378a7f(0x254)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5ceae9),_0x3fcdbc===_0x12f559[_0x378a7f(0x254)][_0x378a7f(0x295)]&&this[_0x378a7f(0x166)](_0x5ceae9);}),this[_0xa44346(0x1a1)](),this[_0xa44346(0xd9)](this[_0xa44346(0xe8)][_0xa44346(0x1ca)](_0x4bc19e=>{const _0x40a270=_0xa44346;if(this[_0x40a270(0x258)]&&_0x4bc19e['id']===_0x231e9c[_0x40a270(0x1ff)]['id']&&_0x4bc19e[_0x40a270(0x2fd)]['unitId']===this[_0x40a270(0xae)]){const _0x14febd=_0x4bc19e[_0x40a270(0x2fd)];this[_0x40a270(0x13a)](_0x14febd[_0x40a270(0x92)],_0x14febd[_0x40a270(0x29f)][0x0]);}})));}['_onCursorUpdate'](_0x330014){const _0x1fe0c8=_0x125ea8;var _0x2e2682,_0x52c656;const {memberID:_0x2968dd,selection:_0x3dc1a2}=_0x330014[_0x1fe0c8(0x22d)],{sheetName:_0x70321c,range:_0x2792d1}=_0x1371df[_0x1fe0c8(0xa8)](_0x3dc1a2),_0x388595={'name':(_0x52c656=(_0x2e2682=this[_0x1fe0c8(0x1ef)][_0x1fe0c8(0x2d0)](this[_0x1fe0c8(0xae)],_0x2968dd))==null?void 0x0:_0x2e2682[_0x1fe0c8(0x277)])!=null?_0x52c656:_0x1fe0c8(0xd6),'range':this[_0x1fe0c8(0x17e)](_0x70321c,_0x2792d1),'sheetID':_0x70321c,'color':this['_colorAssignService'][_0x1fe0c8(0x257)](_0x2968dd),'selection':_0x3dc1a2},_0x2e3739=this[_0x1fe0c8(0x241)];_0x2e3739['set'](_0x2968dd,_0x388595),this[_0x1fe0c8(0x144)]['next'](_0x2e3739);}[_0x125ea8(0x166)](_0x3c8fd0){const _0x4d1f99=_0x125ea8,{memberID:_0x4c66f6}=_0x3c8fd0[_0x4d1f99(0x22d)],_0x164892=this[_0x4d1f99(0x241)];_0x164892[_0x4d1f99(0x22b)](_0x4c66f6),this[_0x4d1f99(0x144)]['next'](_0x164892);}[_0x125ea8(0x17e)](_0x26d15b,_0x2cd19e){const _0x38688b=_0x125ea8;var _0x33afec,_0x46da57;const _0x1c1f29=(_0x46da57=(_0x33afec=this[_0x38688b(0x1af)]['getUniverSheetInstance'](this[_0x38688b(0xae)]))==null?void 0x0:_0x33afec[_0x38688b(0x17f)](_0x26d15b))==null?void 0x0:_0x46da57[_0x38688b(0x7c)]();return(_0x1c1f29==null?void 0x0:_0x1c1f29['find'](_0x4b21b3=>_0x4d006c[_0x38688b(0x10c)]['contains'](_0x4b21b3,_0x2cd19e)))||_0x2cd19e;}[_0x125ea8(0x1a1)](){const _0x47bc72=_0x125ea8,_0x4ce641=new _0x4d006c['DisposableCollection'](),_0x1a75bb=_0x41b37c(),_0x50f6dc=()=>{const _0x4c772e=_0x1eaa;_0x4ce641[_0x4c772e(0x23f)]();const _0x294b64=(_0x425cd1,_0x1aa268,_0x12b7fc,_0x6d12f5)=>{const _0x3897ce=_0x4c772e;let _0xb9c2c8=[];switch(_0x425cd1['id']){case _0x231e9c[_0x3897ce(0x1e7)]['DeleteRangeMoveLeftCommandId']:{_0xb9c2c8=_0x231e9c['handleDeleteRangeMoveLeft'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x2db)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x29b)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x21f)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cf)]:{_0xb9c2c8=_0x231e9c['handleInsertRangeMoveDown'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x158)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1fd)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x184)]:{_0xb9c2c8=_0x231e9c['handleInsertRow'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['MoveRangeCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x242)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cc)]:{_0xb9c2c8=_0x231e9c['handleIRemoveCol'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2d7)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1f7)](_0x425cd1,_0x6d12f5);break;}}const _0x21f1e1=_0x231e9c[_0x3897ce(0x2f1)](_0xb9c2c8,_0x6d12f5),_0x254933=this[_0x3897ce(0x241)][_0x3897ce(0x205)](_0x1aa268);if(_0x254933&&_0x21f1e1){const _0x16fdbe={..._0x254933,'range':_0x21f1e1};this[_0x3897ce(0x241)][_0x3897ce(0x21a)](_0x1aa268,_0x16fdbe),_0x1a75bb(()=>{const _0xa40955=_0x3897ce,_0x153949=this[_0xa40955(0xec)][_0xa40955(0x213)](_0x21f1e1,_0x1944d4=>(_0x153949[_0xa40955(0x23f)](),_0x294b64(_0x1944d4,_0x1aa268,_0x12b7fc,_0x21f1e1)));_0x4ce641[_0xa40955(0x208)](_0x153949);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4c772e(0x1fa)]((_0x3482f4,_0x2fbb4a)=>{const _0xa00375=_0x4c772e,{range:_0x29976c,sheetID:_0x551e22}=_0x3482f4,_0x273d95=this[_0xa00375(0xec)][_0xa00375(0x213)](_0x29976c,_0x1e51d=>(_0x273d95['dispose'](),_0x294b64(_0x1e51d,_0x2fbb4a,_0x551e22,_0x29976c)));_0x4ce641['add'](_0x273d95);});};this[_0x47bc72(0xd9)](_0x4d006c[_0x47bc72(0x109)](this[_0x47bc72(0x144)][_0x47bc72(0x2fb)](()=>{_0x50f6dc();})));}[_0x125ea8(0x169)](){const _0x172c00=_0x125ea8;var _0x2c4caf,_0x2bf1b1;if(this[_0x172c00(0x258)]=!0x0,((_0x2c4caf=this[_0x172c00(0x1af)]['getFocusedUnit']())==null?void 0x0:_0x2c4caf[_0x172c00(0x1d0)]())!==this[_0x172c00(0xae)])return;const _0x197b63=(_0x2bf1b1=this[_0x172c00(0x9f)]['get'](_0x231e9c[_0x172c00(0x94)])[_0x172c00(0x95)]())==null?void 0x0:_0x2bf1b1[0x0],_0x542ddf=this[_0x172c00(0x1af)][_0x172c00(0x1cc)](_0x4d006c[_0x172c00(0xd3)][_0x172c00(0x141)])['getActiveSheet']();_0x197b63&&_0x542ddf&&this['_updateLocalCursor'](_0x542ddf[_0x172c00(0xff)](),_0x197b63);}[_0x125ea8(0x1d2)](){const _0x4eef90=_0x125ea8;this[_0x4eef90(0x258)]=!0x1;}};_0x95cd17=_0x14fd81([_0x5d144d(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d144d(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x5d144d(0x4,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x26c)])),_0x5d144d(0x5,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d144d(0x6,_0x4d006c[_0x125ea8(0x1a7)]),_0x5d144d(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x231e9c[_0x125ea8(0x128)]))],_0x95cd17);var _0x47f7f0=Object[_0x125ea8(0x209)],_0x731459=(_0x5763bb,_0xab9581,_0x43c7a1,_0x51a394)=>{const _0x24aada=_0x125ea8;for(var _0x238095=_0x51a394>0x1?void 0x0:_0x51a394?_0x47f7f0(_0xab9581,_0x43c7a1):_0xab9581,_0x167875=_0x5763bb[_0x24aada(0xb7)]-0x1,_0x420700;_0x167875>=0x0;_0x167875--)(_0x420700=_0x5763bb[_0x167875])&&(_0x238095=_0x420700(_0x238095)||_0x238095);return _0x238095;},_0x3dee12=(_0x47d296,_0x2fb704)=>(_0x1819a2,_0x52cdba)=>_0x2fb704(_0x1819a2,_0x52cdba,_0x47d296);let _0x55a692=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x1161fc,_0x4d0282,_0x2c4703){const _0x39e99a=_0x125ea8;super(),_0x321a93(this,_0x39e99a(0x13b),new Map()),_0x321a93(this,'_entityInit$',new _0x424996[(_0x39e99a(0x23c))]()),(this[_0x39e99a(0x1af)]=_0x1161fc,this[_0x39e99a(0x9f)]=_0x4d0282,this[_0x39e99a(0x204)]=_0x2c4703,this[_0x39e99a(0x2c1)]());}[_0x125ea8(0x23f)](){const _0x3db488=_0x125ea8;super[_0x3db488(0x23f)](),this[_0x3db488(0x20f)][_0x3db488(0x2a2)](),this['_entities'][_0x3db488(0x1fa)](_0x4e9f08=>_0x4e9f08[_0x3db488(0x23f)]());}[_0x125ea8(0x78)](_0x4d7f23){const _0x230cf9=_0x125ea8;return this[_0x230cf9(0x13b)][_0x230cf9(0x2e7)](_0x4d7f23)?this[_0x230cf9(0x13b)][_0x230cf9(0x205)](_0x4d7f23)[_0x230cf9(0x1a0)]:this['_entityInit$'][_0x230cf9(0x2c2)](_0x424996['filter'](_0x1eb975=>_0x1eb975[_0x230cf9(0xae)]===_0x4d7f23),_0x424996[_0x230cf9(0x263)](_0x503ab0=>_0x503ab0[_0x230cf9(0x1a0)]));}[_0x125ea8(0x2c1)](){const _0x20f871=_0x125ea8;this[_0x20f871(0x1af)]['getTypeOfUnitAdded$'](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x141)])['pipe'](_0x424996[_0x20f871(0x2b2)](this['dispose$']))[_0x20f871(0x2fb)](async _0x580069=>{const _0x171310=_0x20f871,_0x5479e2=_0x580069['getUnitId'](),_0x999818=await this[_0x171310(0x20b)](_0x5479e2);this['_entityInit$'][_0x171310(0xa3)](_0x999818),this[_0x171310(0x13b)][_0x171310(0x21a)](_0x5479e2,_0x999818);}),this[_0x20f871(0x1af)][_0x20f871(0x76)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_DOC'])[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))['pipe'](_0x424996['filter'](_0x343d12=>!_0x343d12[_0x20f871(0x1d0)]()[_0x20f871(0x1c6)]('__')))[_0x20f871(0x2fb)](async _0x48f678=>{const _0x1ecee8=_0x20f871,_0x3bee40=_0x48f678[_0x1ecee8(0x1d0)](),_0x327ae1=await this[_0x1ecee8(0xd1)](_0x3bee40);this[_0x1ecee8(0x20f)][_0x1ecee8(0xa3)](_0x327ae1),this[_0x1ecee8(0x13b)][_0x1ecee8(0x21a)](_0x3bee40,_0x327ae1);}),_0x424996[_0x20f871(0xfe)](this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x220)]),this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_SHEET']))[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))[_0x20f871(0x2fb)](_0x12dec9=>{const _0x1cbc4e=_0x20f871,_0x4285d9=_0x12dec9['getUnitId'](),_0xe8da3a=this['_entities'][_0x1cbc4e(0x205)](_0x4285d9);_0xe8da3a&&(_0xe8da3a[_0x1cbc4e(0x23f)](),this['_entities'][_0x1cbc4e(0x22b)](_0x4285d9));});}async[_0x125ea8(0x20b)](_0x1d0ad9){const _0x3f1e62=_0x125ea8,_0x62d5de=await this[_0x3f1e62(0x204)]['requireSession'](_0x1d0ad9),_0x57f18b=this[_0x3f1e62(0x9f)][_0x3f1e62(0x19b)](_0x95cd17,_0x1d0ad9,_0x62d5de);return _0x57f18b[_0x3f1e62(0x101)](),_0x57f18b;}async[_0x125ea8(0xd1)](_0x38b3b5){const _0x3b5080=_0x125ea8,_0x36747b=await this[_0x3b5080(0x204)][_0x3b5080(0xf0)](_0x38b3b5),_0x4f4147=this[_0x3b5080(0x9f)]['createInstance'](_0x1fe332,_0x38b3b5,_0x36747b);return _0x4f4147['init'](),_0x4f4147;}};_0x55a692=_0x731459([_0x3dee12(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x3dee12(0x1,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x3dee12(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x1d5)]))],_0x55a692);const _0x260e0f=0x14,_0x4dfe11=0xc8,_0x31133a=0x4,_0x4fa4ce=0x5;function _0x240879(_0x2e8691,_0x32f447){const _0x2573c1=_0x125ea8;let {radius:_0x48143a,width:_0x3a2647,height:_0x37e8c7}=_0x32f447;_0x48143a=_0x48143a!=null?_0x48143a:0x0,_0x3a2647=_0x3a2647!=null?_0x3a2647:0x1e,_0x37e8c7=_0x37e8c7!=null?_0x37e8c7:0x1e;let _0x58bf9a=0x0,_0x263452=0x0,_0x17127b=0x0;_0x58bf9a=_0x263452=_0x17127b=Math[_0x2573c1(0x28f)](_0x48143a,_0x3a2647/0x2,_0x37e8c7/0x2),_0x2e8691['beginPath'](),_0x2e8691[_0x2573c1(0x1de)](_0x58bf9a,0x0),_0x2e8691[_0x2573c1(0x7a)](_0x3a2647-_0x263452,0x0),_0x2e8691['arc'](_0x3a2647-_0x263452,_0x263452,_0x263452,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e8691['lineTo'](_0x3a2647,_0x37e8c7-_0x17127b),_0x2e8691[_0x2573c1(0x25a)](_0x3a2647-_0x17127b,_0x37e8c7-_0x17127b,_0x17127b,0x0,Math['PI']/0x2,!0x1),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x37e8c7),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x58bf9a),_0x2e8691[_0x2573c1(0x25a)](_0x58bf9a,_0x58bf9a,_0x58bf9a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e8691[_0x2573c1(0xbd)](),_0x32f447[_0x2573c1(0x1d4)]&&(_0x2e8691[_0x2573c1(0xd7)](),_0x2e8691[_0x2573c1(0x125)]=_0x32f447[_0x2573c1(0x1d4)],_0x32f447['fillRule']===_0x2573c1(0x1eb)?_0x2e8691[_0x2573c1(0x1d4)](_0x2573c1(0x1eb)):_0x2e8691[_0x2573c1(0x1d4)](),_0x2e8691[_0x2573c1(0x21c)]());}class _0x5e0250 extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x337ea7,_0x1ffb7b){const _0x5cb762=_0x125ea8;super(_0x337ea7,_0x1ffb7b),_0x321a93(this,'color'),_0x321a93(this,'text'),(this[_0x5cb762(0xd0)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b[_0x5cb762(0xd0)],this[_0x5cb762(0x159)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b['text']);}static['drawWith'](_0x5b251d,_0xfbb19){const _0x1427be=_0x125ea8,{text:_0x129737,color:_0x2df314}=_0xfbb19;_0x5b251d['save'](),_0x5b251d[_0x1427be(0x105)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17003b=_0x5b251d['measureText'](_0x129737)[_0x1427be(0x20d)],_0x55d925=Math['min'](_0x17003b+0x2*_0x31133a,_0x4dfe11);_0x240879(_0x5b251d,{'height':_0x260e0f,'radius':0x4,'width':_0x55d925,'fill':_0x2df314}),_0x5b251d[_0x1427be(0x125)]=_0x1427be(0x74);const _0x12651d=_0x31133a,_0x382d16=_0x260e0f-_0x4fa4ce,_0x618729=_0x4dfe11-0x2*_0x31133a;if(_0x17003b>_0x618729){let _0x46b489='',_0x469bc4=0x0;for(const _0x147820 of _0x129737){const _0x2ca20d=_0x5b251d[_0x1427be(0x299)](_0x147820)[_0x1427be(0x20d)];if(_0x469bc4+_0x2ca20d<=_0x618729-_0x5b251d[_0x1427be(0x299)](_0x1427be(0x1f0))[_0x1427be(0x20d)])_0x46b489+=_0x147820,_0x469bc4+=_0x2ca20d;else{_0x46b489+=_0x1427be(0x1f0);break;}}_0x5b251d[_0x1427be(0x1c7)](_0x46b489,_0x12651d,_0x382d16);}else _0x5b251d[_0x1427be(0x1c7)](_0x129737,_0x12651d,_0x382d16);_0x5b251d[_0x1427be(0x21c)]();}[_0x125ea8(0x275)](_0x53c93f){const _0x487ca5=_0x125ea8;_0x5e0250[_0x487ca5(0x2a4)](_0x53c93f,this);}}const _0x27bee1=_0x125ea8(0x282),_0x3145a7=_0x125ea8(0xab),_0x262063='collab-rect-range-',_0x2053ea=0x6,_0x389923=1.5,_0x100a90=0x4,_0x2d7857=1.5,_0x440953=_0x125ea8(0x218);class _0x5931b9{constructor(_0x18fa2d,_0x3d0c24,_0x8eac85,_0x135e08){const _0x4bdeff=_0x125ea8;_0x321a93(this,_0x4bdeff(0x171),[]),_0x321a93(this,_0x4bdeff(0x13c),null),_0x321a93(this,_0x4bdeff(0x2be),null),_0x321a93(this,_0x4bdeff(0x2eb),null),_0x321a93(this,_0x4bdeff(0x1cd),null),_0x321a93(this,'_eventUnsubscribe',null),(this['_cursor']=_0x18fa2d,this[_0x4bdeff(0x195)]=_0x3d0c24,this[_0x4bdeff(0x18a)]=_0x8eac85,this['_document']=_0x135e08,this[_0x4bdeff(0xa7)]());}set[_0x125ea8(0x233)](_0x24294f){const _0x1f5610=_0x125ea8;_0x24294f?(this[_0x1f5610(0x2eb)]&&this[_0x1f5610(0x2eb)][_0x1f5610(0x8f)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x2ab)]()):(this['_anchorDot']&&this[_0x1f5610(0x2eb)][_0x1f5610(0x2ab)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x8f)]());}[_0x125ea8(0x23f)](){const _0x4bb5a3=_0x125ea8;for(const _0x1a19c2 of this['_shapes'])_0x1a19c2[_0x4bb5a3(0x23f)]();this[_0x4bb5a3(0x2be)]&&this[_0x4bb5a3(0x2be)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x2eb)]&&this[_0x4bb5a3(0x2eb)]['dispose'](),this['_anchor']&&this[_0x4bb5a3(0x13c)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x11b)]&&this['_eventUnsubscribe']();}[_0x125ea8(0xa7)](){const _0x20473f=_0x125ea8;var _0x39c5b9;const {_docSkeleton:_0x3cd27b,_document:_0x1de1c3}=this,{color:_0x4ad29e,name:_0x594e52,ranges:_0x33c3d9}=this[_0x20473f(0x285)],_0x26ccf2=_0x1de1c3[_0x20473f(0x1bf)](),{docsLeft:_0x3fe292,docsTop:_0x6ffa53}=_0x26ccf2,_0x1043f5=new _0x5051a5[(_0x20473f(0x24f))](_0x26ccf2,_0x3cd27b);for(const {startOffset:_0x187e02,endOffset:_0x1ce27b,rangeType:_0xe6ebf,segmentId:_0x29bd7f,segmentPage:_0x3be249,collapsed:_0x2a582f,isActive:_0x274ab2}of _0x33c3d9){const _0x2f1dd6=_0x3cd27b[_0x20473f(0x2cb)](_0x187e02,!0x0,_0x29bd7f,_0x3be249);let _0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b,!0x0,_0x29bd7f,_0x3be249);if(_0x2cf534==null&&(_0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b-0x1,!0x1,_0x29bd7f,_0x3be249)),_0x274ab2){const {contentBoxPointGroup:_0x5ea432}=_0x1043f5[_0x20473f(0x252)](_0x2cf534,_0x2cf534);if(_0x5ea432[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x2e6)](_0x4ad29e,_0x5ea432,_0x3fe292,_0x6ffa53,_0x594e52),this[_0x20473f(0x11b)]=this[_0x20473f(0x168)]();}if(_0x2f1dd6&&_0x2cf534){if(_0xe6ebf===_0x4d006c['DOC_RANGE_TYPE'][_0x20473f(0xee)]){const _0x535362=new _0x5051a5['NodePositionConvertToRectRange'](_0x26ccf2,_0x3cd27b),{pointGroup:_0x409f79}=(_0x39c5b9=_0x535362[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534))!=null?_0x39c5b9:{};if(_0x409f79==null||_0x409f79[_0x20473f(0xb7)]===0x0)continue;this['_drawRectRange'](_0x4ad29e,_0x409f79,_0x3fe292,_0x6ffa53);}else{if(!_0x2a582f){const {borderBoxPointGroup:_0x56ba56}=_0x1043f5[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534);if(_0x56ba56[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x24b)](_0x4ad29e,_0x56ba56,_0x3fe292,_0x6ffa53);}}}}}['_drawAnchor'](_0x53a757,_0x5aa7ab,_0x32625e,_0x4dfc86,_0x4469ac){const _0x22bc24=_0x125ea8,_0x12bd60=this[_0x22bc24(0xe0)](_0x5aa7ab),{left:_0x305b86,top:_0x49a6ed,height:_0x20ac5}=_0x12bd60,_0x3f6be3=this[_0x22bc24(0x13e)](),_0xbad854=_0x2d7857/_0x3f6be3,_0x5d4805=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c[_0x22bc24(0x1b5)]['generateRandomId'](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86,'height':_0x20ac5,'width':_0x389923,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'strokeWidth':_0xbad854,'stroke':_0x440953,'evented':!0x0});this[_0x22bc24(0x13c)]=_0x5d4805,this['_scene']['addObject'](_0x5d4805,_0x5051a5[_0x22bc24(0xd8)]);const _0x576f9a=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x100a90/0x2,'height':_0x100a90,'width':_0x100a90,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a757||_0x3ce196['getColor'](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'evented':!0x1});this[_0x22bc24(0x2eb)]=_0x576f9a,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x576f9a,_0x5051a5[_0x22bc24(0xd8)]);const _0x3b5665=new _0x5e0250(_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x260e0f,'text':_0x4469ac,'color':_0x53a757});this[_0x22bc24(0x2be)]=_0x3b5665,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x3b5665,_0x5051a5['TEXT_RANGE_LAYER_INDEX']),this[_0x22bc24(0x233)]=!0x1;}[_0x125ea8(0x168)](){const _0x2b29f5=_0x125ea8,_0x5856f5=this['_anchor']['onPointerEnter$'][_0x2b29f5(0xc6)](()=>{const _0xa6d969=_0x2b29f5;this[_0xa6d969(0x233)]=!0x0;}),_0x3e3415=this[_0x2b29f5(0x13c)][_0x2b29f5(0x19c)][_0x2b29f5(0xc6)](()=>{const _0x4b31c4=_0x2b29f5;this[_0x4b31c4(0x1cd)]&&clearTimeout(this['_hideTimer']),this[_0x4b31c4(0x1cd)]=setTimeout(()=>{const _0x4424fc=_0x4b31c4;this[_0x4424fc(0x233)]=!0x1;},0x7d0);});return()=>{const _0x416ac3=_0x2b29f5;_0x5856f5[_0x416ac3(0x99)](),_0x3e3415[_0x416ac3(0x99)]();};}[_0x125ea8(0x24b)](_0x42c6b0,_0x25f26c,_0x1cb032,_0x10faab){const _0x5f3aef=_0x125ea8,_0x31733b=new _0x4d006c[(_0x5f3aef(0xfd))](_0x42c6b0)[_0x5f3aef(0x273)](0.2)[_0x5f3aef(0x292)](),_0x33dd70=new _0x3ce196[(_0x5f3aef(0x15b))](_0x3145a7+_0x4d006c[_0x5f3aef(0x1b5)]['generateRandomId'](_0x2053ea),{'pointsGroup':_0x25f26c,'fill':_0x31733b||_0x3ce196[_0x5f3aef(0x151)](_0x4d006c[_0x5f3aef(0x124)][_0x5f3aef(0x6b)],0.2),'left':_0x1cb032,'top':_0x10faab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f3aef(0x171)][_0x5f3aef(0x2e4)](_0x33dd70),this['_scene']['addObject'](_0x33dd70,_0x5051a5['TEXT_RANGE_LAYER_INDEX']);}[_0x125ea8(0x1f5)](_0x664e62,_0xc61803,_0x5590b7,_0x1b8d61){const _0x41fc19=_0x125ea8,_0x2c5aa2=new _0x4d006c[(_0x41fc19(0xfd))](_0x664e62)[_0x41fc19(0x273)](0.2)[_0x41fc19(0x292)](),_0x558085=new _0x3ce196['RegularPolygon'](_0x262063+_0x4d006c['Tools'][_0x41fc19(0xcd)](_0x2053ea),{'pointsGroup':_0xc61803,'fill':_0x2c5aa2||_0x3ce196[_0x41fc19(0x151)](_0x4d006c[_0x41fc19(0x124)][_0x41fc19(0x6b)],0.2),'left':_0x5590b7,'top':_0x1b8d61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41fc19(0x171)]['push'](_0x558085),this[_0x41fc19(0x195)][_0x41fc19(0x9d)](_0x558085,_0x5051a5[_0x41fc19(0xd8)]);}[_0x125ea8(0xe0)](_0x4eb0b1){const _0x14ea66=_0x4eb0b1[0x0],_0x319545=_0x14ea66[0x0],_0x333d30=_0x14ea66[0x2],{x:_0x31e480,y:_0xca433e}=_0x319545,{x:_0x33ef70,y:_0x54a5a4}=_0x333d30;return{'left':_0x31e480,'top':_0xca433e,'width':_0x33ef70-_0x31e480,'height':_0x54a5a4-_0xca433e};}[_0x125ea8(0x13e)](){const _0x6def8d=_0x125ea8,{scaleX:_0x1e392b,scaleY:_0x344596}=this['_scene']['getAncestorScale']();return Math[_0x6def8d(0x186)](_0x1e392b,_0x344596);}}var _0x9407ad=Object[_0x125ea8(0x209)],_0x319cec=(_0x1a997b,_0x29408b,_0x1e175e,_0x1882cd)=>{for(var _0x4131d5=_0x1882cd>0x1?void 0x0:_0x1882cd?_0x9407ad(_0x29408b,_0x1e175e):_0x29408b,_0x4f542e=_0x1a997b['length']-0x1,_0x5d2ad1;_0x4f542e>=0x0;_0x4f542e--)(_0x5d2ad1=_0x1a997b[_0x4f542e])&&(_0x4131d5=_0x5d2ad1(_0x4131d5)||_0x4131d5);return _0x4131d5;},_0xe68bed=(_0x452c00,_0x2bfd56)=>(_0x24eb8e,_0x8c1966)=>_0x2bfd56(_0x24eb8e,_0x8c1966,_0x452c00);let _0x49880d=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x28761e,_0x72af24,_0x19651d,_0x496dc6,_0x1a53a8){const _0xb196ff=_0x125ea8;super(),_0x321a93(this,'_cursorShapes',[]),_0x321a93(this,'_cursors',[]),(this[_0xb196ff(0x10d)]=_0x28761e,this[_0xb196ff(0x113)]=_0x72af24,this[_0xb196ff(0x211)]=_0x19651d,this['_commandService']=_0x496dc6,this[_0xb196ff(0x1c8)]=_0x1a53a8,this[_0xb196ff(0x2c1)]());}[_0x125ea8(0x2c1)](){const _0x44ac1f=_0x125ea8,_0x22a741=this['_context'][_0x44ac1f(0x224)],_0x3e896b=this[_0x44ac1f(0x113)];this[_0x44ac1f(0xd9)](_0x424996['combineLatest']([this['_collabCursorController'][_0x44ac1f(0x78)](_0x22a741),this[_0x44ac1f(0x1c8)]['currentTheme$']])[_0x44ac1f(0x2c2)](_0x4e626c[_0x44ac1f(0x16f)](([_0x5c1c51,_0x40c7aa])=>({'skeleton':_0x3e896b[_0x44ac1f(0x1b3)](),'cursors':[..._0x5c1c51[_0x44ac1f(0x1f3)]()][_0x44ac1f(0x28d)](_0x2960b0=>({..._0x2960b0,'color':_0x40c7aa[_0x2960b0[_0x44ac1f(0xd0)]]}))})))[_0x44ac1f(0x2fb)](_0x24a11e=>{const _0x52be4a=_0x44ac1f;if(this[_0x52be4a(0x1a5)](),_0x24a11e){const {skeleton:_0x14ae24,cursors:_0x773bb}=_0x24a11e;this[_0x52be4a(0x231)](_0x14ae24,_0x773bb);}})),this[_0x44ac1f(0x190)](),this[_0x44ac1f(0x2c6)]();}['_updateCollabCursors'](_0xa9690,_0x23905a){const _0x42e4e1=_0x125ea8,{scene:_0x51119d,mainComponent:_0x55e3f9}=this['_context'],_0x348b9d=_0x23905a['map'](_0x2afdd5=>new _0x5931b9(_0x2afdd5,_0x51119d,_0xa9690,_0x55e3f9));this[_0x42e4e1(0x2ad)]=_0x348b9d,this['_cursors']=_0x23905a;}[_0x125ea8(0x1db)](){const _0x8d595e=_0x125ea8;this['_removeCollabCursors']();const {scene:_0x48f7c8,mainComponent:_0x44970f}=this[_0x8d595e(0x10d)],_0xa769bb=this[_0x8d595e(0x113)][_0x8d595e(0x1b3)](),_0x2258a5=this[_0x8d595e(0x2f2)][_0x8d595e(0x16f)](_0x1fd693=>new _0x5931b9(_0x1fd693,_0x48f7c8,_0xa769bb,_0x44970f));this[_0x8d595e(0x2ad)]=_0x2258a5;}[_0x125ea8(0x1a5)](){const _0x4edc83=_0x125ea8;this[_0x4edc83(0x2ad)][_0x4edc83(0x1fa)](_0x2333e1=>_0x2333e1[_0x4edc83(0x23f)]()),this[_0x4edc83(0x2ad)]=[];}[_0x125ea8(0x2c6)](){const _0x228839=_0x125ea8,_0x1af8da=[_0x5051a5[_0x228839(0x215)]['id']];this[_0x228839(0xd9)](this['_commandService'][_0x228839(0x1ca)](_0x3b0b00=>{const _0x5b1024=_0x228839;_0x1af8da[_0x5b1024(0x84)](_0x3b0b00['id'])&&_0x3b0b00[_0x5b1024(0x2fd)][_0x5b1024(0x224)]===this[_0x5b1024(0x10d)][_0x5b1024(0x224)]&&this[_0x5b1024(0x1db)]();}));}[_0x125ea8(0x190)](){const _0x496015=_0x125ea8;this[_0x496015(0xd9)](_0x4d006c[_0x496015(0xf3)](this[_0x496015(0x10d)][_0x496015(0x1a3)][_0x496015(0x160)])[_0x496015(0x2c2)](_0x4e626c[_0x496015(0x2f5)](_0x154a06=>_0x154a06[_0x496015(0xd4)]===_0x3ce196[_0x496015(0x127)][_0x496015(0xb3)]),_0x4e626c['throttleTime'](0x10))[_0x496015(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};_0x49880d=_0x319cec([_0xe68bed(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x2b2a28[_0x125ea8(0x81)])),_0xe68bed(0x2,_0x4d006c['Inject'](_0x55a692)),_0xe68bed(0x3,_0x4d006c[_0x125ea8(0x1a7)]),_0xe68bed(0x4,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x126)]))],_0x49880d);const _0x2c5595=0x1,_0x5243f7=1.5;class _0x415e6b extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x3bb2cf,_0x5cbdab){const _0x412812=_0x125ea8;super(_0x3bb2cf,_0x5cbdab),_0x321a93(this,_0x412812(0x2d1)),_0x321a93(this,_0x412812(0x223),!0x1),_0x321a93(this,_0x412812(0x183)),_0x321a93(this,'_name',''),_0x321a93(this,'_labelPosition','top'),_0x321a93(this,'_backgroundColor'),(_0x5cbdab&&this[_0x412812(0x16d)](_0x5cbdab),this[_0x412812(0x146)][_0x412812(0xc6)](()=>this[_0x412812(0x16d)]({'hovered':!0x0})),this[_0x412812(0x19c)]['subscribeEvent'](()=>this[_0x412812(0x16d)]({'hovered':!0x1})));}[_0x125ea8(0x16d)](_0x30b592){const _0xa5e97=_0x125ea8;var _0x18fa34,_0x25f1f8,_0x5b1c14,_0x50f5fb,_0x1a9aa6,_0x42ddc0;this[_0xa5e97(0x2d1)]=(_0x18fa34=_0x30b592[_0xa5e97(0xd0)])!=null?_0x18fa34:this[_0xa5e97(0x2d1)],this[_0xa5e97(0x223)]=(_0x25f1f8=_0x30b592['hovered'])!=null?_0x25f1f8:this[_0xa5e97(0x223)],this[_0xa5e97(0x183)]=(_0x5b1c14=_0x30b592[_0xa5e97(0x2e9)])!=null?_0x5b1c14:this['_range'],this[_0xa5e97(0xfb)]=(_0x50f5fb=_0x30b592[_0xa5e97(0x277)])!=null?_0x50f5fb:this[_0xa5e97(0xfb)],this[_0xa5e97(0x132)]=(_0x1a9aa6=_0x30b592[_0xa5e97(0xc8)])!=null?_0x1a9aa6:this[_0xa5e97(0x132)],this[_0xa5e97(0xf8)]=(_0x42ddc0=_0x30b592[_0xa5e97(0x28c)])!=null?_0x42ddc0:this[_0xa5e97(0xf8)],this[_0xa5e97(0x1f6)]({'width':_0x30b592[_0xa5e97(0x20d)],'height':_0x30b592[_0xa5e97(0x156)]});}[_0x125ea8(0x1bd)](_0x556400){const _0x293c13=_0x125ea8,{row:_0x2821fa,column:_0x250d19}=_0x556400;if(_0x2821fa>=this[_0x293c13(0x183)][_0x293c13(0x2e0)]&&_0x2821fa<=this[_0x293c13(0x183)][_0x293c13(0x19a)]&&_0x250d19>=this[_0x293c13(0x183)][_0x293c13(0xdc)]&&_0x250d19<=this[_0x293c13(0x183)]['endColumn']){this[_0x293c13(0x16d)]({'hovered':!0x0});return;}this[_0x293c13(0x16d)]({'hovered':!0x1});}[_0x125ea8(0x2de)](_0x5f1729){return!0x1;}['_draw'](_0x5befd4){const _0x3c5159=_0x125ea8;_0x3ce196[_0x3c5159(0x1c3)][_0x3c5159(0x2a4)](_0x5befd4,{'width':this[_0x3c5159(0x20d)],'height':this[_0x3c5159(0x156)],'strokeWidth':_0x5243f7,'stroke':this[_0x3c5159(0x2d1)],'evented':!0x1,'fill':this[_0x3c5159(0xf8)]}),this['_hovered']&&(_0x5befd4[_0x3c5159(0xd7)](),_0x5befd4[_0x3c5159(0xa6)](0x1,0x0,0x0,0x1,this[_0x3c5159(0x20d)],this[_0x3c5159(0x132)]===_0x3c5159(0x1b6)?0x0:-0x14),_0x5e0250[_0x3c5159(0x2a4)](_0x5befd4,{'text':this[_0x3c5159(0xfb)],'color':this[_0x3c5159(0x2d1)]}),_0x5befd4[_0x3c5159(0x21c)]());}}var _0x3c63=Object[_0x125ea8(0x209)],_0x469407=(_0x4c5e01,_0x28d040,_0x5ddc69,_0x5e92b4)=>{for(var _0xc2974f=_0x5e92b4>0x1?void 0x0:_0x5e92b4?_0x3c63(_0x28d040,_0x5ddc69):_0x28d040,_0x282808=_0x4c5e01['length']-0x1,_0x1e05e2;_0x282808>=0x0;_0x282808--)(_0x1e05e2=_0x4c5e01[_0x282808])&&(_0xc2974f=_0x1e05e2(_0xc2974f)||_0xc2974f);return _0xc2974f;},_0x15c691=(_0x1ce40b,_0x162632)=>(_0x2ccb99,_0x42320c)=>_0x162632(_0x2ccb99,_0x42320c,_0x1ce40b);const _0x1e278c=0x1389;let _0x46ea4f=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x4b26fd,_0xde0931,_0x243ec2,_0x43faa4){const _0x164cfb=_0x125ea8;super(),_0x321a93(this,_0x164cfb(0x2f2),new Set()),_0x321a93(this,_0x164cfb(0x98),null),(this[_0x164cfb(0x10d)]=_0x4b26fd,this[_0x164cfb(0x1e6)]=_0xde0931,this[_0x164cfb(0x211)]=_0x243ec2,this[_0x164cfb(0x1c8)]=_0x43faa4,this['_init']());}[_0x125ea8(0x2c1)](){const _0x4fb612=_0x125ea8;this[_0x4fb612(0x1e6)][_0x4fb612(0xe9)]['pipe'](_0x4e626c['takeUntil'](this[_0x4fb612(0x281)]),_0x4e626c['switchMap'](_0x34caa5=>{const _0x22cc94=_0x4fb612;if(_0x34caa5){const _0x3348d3=_0x34caa5[_0x22cc94(0x1b7)];return _0x424996[_0x22cc94(0x26a)](this['_collabCursorController'][_0x22cc94(0x78)](this[_0x22cc94(0x10d)]['unitId']),this[_0x22cc94(0x1c8)][_0x22cc94(0x2e3)])[_0x22cc94(0x2c2)](_0x4e626c[_0x22cc94(0x16f)](([_0x44c049,_0x20b443])=>{const _0x37bada=_0x22cc94,_0x27c255=new Map();return _0x44c049[_0x37bada(0x1fa)]((_0x3ecdca,_0x5404c2)=>{const _0x569dae=_0x37bada;if(_0x3ecdca[_0x569dae(0x165)]===_0x3348d3){const _0x13844c={..._0x3ecdca};_0x13844c[_0x569dae(0xd0)]=_0x20b443[_0x3ecdca[_0x569dae(0xd0)]],_0x27c255['set'](_0x5404c2,_0x13844c);}}),{'skeleton':_0x34caa5,'cursors':_0x27c255};}));}return _0x424996['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fb612(0x2fb)](({skeleton:_0x5322e7,cursors:_0x13ddc5})=>{const _0x26337e=_0x4fb612;this['_removeCollabCursors'](),_0x5322e7&&this[_0x26337e(0x231)](_0x5322e7,_0x13ddc5);}),this[_0x4fb612(0x1e6)]['currentSkeleton$'][_0x4fb612(0x2fb)](_0x50fd62=>{const _0x1f737d=_0x4fb612;if(_0x50fd62==null)return;const {skeleton:_0x276d3a}=_0x50fd62,{scene:_0x413c0d}=this[_0x1f737d(0x10d)];_0x413c0d[_0x1f737d(0x80)]['subscribeEvent'](_0x4d006c['debounce'](_0x300a4b=>{const _0x1addcd=_0x1f737d;var _0x30b10a,_0x167faf;const {offsetX:_0x22adaa,offsetY:_0x430c43}=_0x300a4b,{x:_0x2f9773,y:_0x1f415b}=_0x413c0d[_0x1addcd(0xe2)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x22adaa,_0x430c43])),{scaleX:_0x132a4f,scaleY:_0xb8a57b}=_0x413c0d[_0x1addcd(0x253)](),_0x583f4a=_0x413c0d[_0x1addcd(0x22a)](_0x3ce196[_0x1addcd(0x1e0)]['VIEW_MAIN']),_0xcc9805=_0x413c0d[_0x1addcd(0x10e)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x2f9773,_0x1f415b]),_0x583f4a),_0x3e9349=_0x276d3a[_0x1addcd(0x279)](_0x22adaa,_0x430c43,_0x132a4f,_0xb8a57b,_0xcc9805);((_0x30b10a=this[_0x1addcd(0x98)])==null?void 0x0:_0x30b10a[_0x1addcd(0x2a8)])===_0x3e9349[_0x1addcd(0x2a8)]&&((_0x167faf=this[_0x1addcd(0x98)])==null?void 0x0:_0x167faf[_0x1addcd(0x290)])===_0x3e9349['row']||this['_cursors'][_0x1addcd(0x1fa)](_0x3d42b8=>{const _0x522dc5=_0x1addcd;_0x3d42b8[_0x522dc5(0x1bd)](_0x3e9349);});},0x64));});}[_0x125ea8(0x231)](_0x1e1a95,_0x48a2fd){const _0x35dfd0=_0x125ea8;var _0x7026fb;const _0x216563=(_0x7026fb=this[_0x35dfd0(0x1e6)][_0x35dfd0(0xdd)]())==null?void 0x0:_0x7026fb[_0x35dfd0(0x244)];if(!_0x216563)return;const _0x8b8bc3=this['_getSheetObject']();if(!_0x8b8bc3)return;this['_cursors']['forEach'](_0x8459c=>{_0x8459c['makeDirty']();});const {scene:_0x111778}=_0x8b8bc3,_0x181d84=_0x4f5916(Array[_0x35dfd0(0x18f)](_0x48a2fd['values']()))[_0x35dfd0(0x16f)](_0x3aef04=>{const _0x3405d7=_0x35dfd0,{color:_0x3af984,range:_0x441926,name:_0x33b869,selection:_0x1f60e6,sheetID:_0x23cdc8}=_0x3aef04,{startColumn:_0x4d9562,startRow:_0x2c83a8,endColumn:_0x1ceeb,endRow:_0x64fa85}=_0x441926,_0x40a599=_0x4a87b2[_0x3405d7(0xa9)](_0x2c83a8,_0x4d9562,_0x111778,_0x216563),_0x379c13=_0x4a87b2[_0x3405d7(0xa9)](_0x64fa85,_0x1ceeb,_0x111778,_0x216563),{columnHeaderHeightAndMarginTop:_0x2ace49}=_0x216563,{startX:_0x6274f2,startY:_0x3019b3}=_0x40a599,{endX:_0x355e50,endY:_0x18d158}=_0x379c13,_0x54473c=_0x355e50-_0x6274f2,_0x36ef1d=_0x18d158-_0x3019b3,_0x5842a7={'labelPosition':_0x3019b3-_0x2ace49>=_0x260e0f?_0x3405d7(0x286):_0x3405d7(0x1b6),'sheetID':_0x23cdc8,'range':_0x441926,'color':_0x3af984,'name':_0x33b869,'selection':_0x1f60e6,'left':_0x6274f2,'top':_0x3019b3,'width':_0x54473c,'height':_0x36ef1d,'evented':!0x1,'zIndex':_0x1e278c};return new _0x415e6b(_0x33b869,_0x5842a7);});_0x111778['addObjects'](_0x181d84,_0x2c5595),this['_cursors']=new Set(_0x181d84);}[_0x125ea8(0x1a5)](){const _0x5d5002=_0x125ea8;var _0x2c1ade;(_0x2c1ade=this['_cursors'])==null||_0x2c1ade[_0x5d5002(0x1fa)](_0x541da8=>_0x541da8[_0x5d5002(0x23f)]());}['_getSheetObject'](){const _0x3d52f3=_0x125ea8;return _0x4a87b2[_0x3d52f3(0x1f4)](this[_0x3d52f3(0x10d)]['unit'],this[_0x3d52f3(0x10d)]);}};_0x46ea4f=_0x469407([_0x15c691(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x4a87b2[_0x125ea8(0x1b1)])),_0x15c691(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x55a692)),_0x15c691(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x126)]))],_0x46ea4f);function _0x4f5916(_0x47c780){const _0x316e34=_0x125ea8,_0x13efa5=new Map();return _0x47c780[_0x316e34(0x1fa)](_0xb6c4d1=>{const _0x2c9748=_0x316e34;if(_0x13efa5[_0x2c9748(0x2e7)](_0xb6c4d1['selection'])){const _0x1b49e2=_0x13efa5[_0x2c9748(0x205)](_0xb6c4d1[_0x2c9748(0x18c)]);_0x1b49e2[_0x2c9748(0x277)]+=',\x20'+_0xb6c4d1[_0x2c9748(0x277)];}else _0x13efa5[_0x2c9748(0x21a)](_0xb6c4d1[_0x2c9748(0x18c)],_0xb6c4d1);}),Array['from'](_0x13efa5[_0x316e34(0x1f3)]());}var _0x5b9bc2=function(){const _0x4b97c1=_0x125ea8;return _0x5b9bc2=Object[_0x4b97c1(0x1cb)]||function(_0x15a3d4){const _0x1e96bc=_0x4b97c1;for(var _0x5a5d8c,_0x50fcbf=0x1,_0x2d354a=arguments['length'];_0x50fcbf<_0x2d354a;_0x50fcbf++){_0x5a5d8c=arguments[_0x50fcbf];for(var _0x40fb83 in _0x5a5d8c)Object['prototype'][_0x1e96bc(0xe5)][_0x1e96bc(0x1bc)](_0x5a5d8c,_0x40fb83)&&(_0x15a3d4[_0x40fb83]=_0x5a5d8c[_0x40fb83]);}return _0x15a3d4;},_0x5b9bc2['apply'](this,arguments);},_0x1e235a=function(_0x32498b,_0xd39dfa){const _0x4579b6=_0x125ea8;var _0x3aa1f2={};for(var _0xba0c07 in _0x32498b)Object[_0x4579b6(0x26f)][_0x4579b6(0xe5)]['call'](_0x32498b,_0xba0c07)&&_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07)<0x0&&(_0x3aa1f2[_0xba0c07]=_0x32498b[_0xba0c07]);if(_0x32498b!=null&&typeof Object[_0x4579b6(0x288)]=='function'){for(var _0xbc5c71=0x0,_0xba0c07=Object['getOwnPropertySymbols'](_0x32498b);_0xbc5c71<_0xba0c07[_0x4579b6(0xb7)];_0xbc5c71++)_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07[_0xbc5c71])<0x0&&Object[_0x4579b6(0x26f)][_0x4579b6(0x11a)][_0x4579b6(0x1bc)](_0x32498b,_0xba0c07[_0xbc5c71])&&(_0x3aa1f2[_0xba0c07[_0xbc5c71]]=_0x32498b[_0xba0c07[_0xbc5c71]]);}return _0x3aa1f2;},_0x514b25=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x53c8b5,_0x3248f2){const _0x3c27ac=_0x125ea8;var _0x19b5dc=_0x53c8b5[_0x3c27ac(0x1b9)],_0xd2bb97=_0x53c8b5['id'],_0x20ab5f=_0x53c8b5['className'],_0x279b3a=_0x53c8b5[_0x3c27ac(0x8b)],_0x2dd8b2=_0x1e235a(_0x53c8b5,[_0x3c27ac(0x1b9),'id',_0x3c27ac(0x88),_0x3c27ac(0x8b)]),_0x56855c=_0x3c27ac(0xb1)[_0x3c27ac(0x234)](_0xd2bb97,'\x20')[_0x3c27ac(0x234)](_0x20ab5f||'')[_0x3c27ac(0x6d)](),_0x201bd1=_0x3fb4d0['useRef']('_'[_0x3c27ac(0x234)](_0x164c34()));return _0x1ce9e5(_0x19b5dc,''[_0x3c27ac(0x234)](_0xd2bb97),{'defIds':_0x19b5dc[_0x3c27ac(0x197)],'idSuffix':_0x201bd1['current']},_0x5b9bc2({'ref':_0x3248f2,'className':_0x56855c},_0x2dd8b2),_0x279b3a);});function _0x1ce9e5(_0x45dd1d,_0x48a963,_0x5e475e,_0x35062c,_0x4856cd){const _0x1f614e=_0x125ea8;return _0x3fb4d0['createElement'](_0x45dd1d[_0x1f614e(0x97)],_0x5b9bc2(_0x5b9bc2({'key':_0x48a963},_0x248e02(_0x45dd1d,_0x5e475e,_0x4856cd)),_0x35062c),(_0x2d5efa(_0x45dd1d,_0x5e475e)[_0x1f614e(0x18d)]||[])[_0x1f614e(0x16f)](function(_0x33c2a0,_0x4cc232){const _0x4bc465=_0x1f614e;return _0x1ce9e5(_0x33c2a0,''[_0x4bc465(0x234)](_0x48a963,'-')['concat'](_0x45dd1d[_0x4bc465(0x97)],'-')[_0x4bc465(0x234)](_0x4cc232),_0x5e475e,void 0x0,_0x4856cd);}));}function _0x248e02(_0x169c8a,_0x5add02,_0xca788b){const _0x49270f=_0x125ea8;var _0x361bca=_0x5b9bc2({},_0x169c8a[_0x49270f(0xe6)]);_0xca788b!=null&&_0xca788b[_0x49270f(0x118)]&&_0x361bca['fill']===_0x49270f(0x118)&&(_0x361bca['fill']=_0xca788b['colorChannel1']),_0x169c8a[_0x49270f(0x97)]===_0x49270f(0xc4)&&_0x361bca['id']&&(_0x361bca['id']=_0x361bca['id']+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x37a085){const _0x1d1902=_0x49270f;var _0x24a070=_0x37a085[0x0],_0x46cc63=_0x37a085[0x1];_0x24a070===_0x1d1902(0xc4)&&typeof _0x46cc63==_0x1d1902(0x82)&&(_0x361bca[_0x24a070]=_0x46cc63[_0x1d1902(0x1ba)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5add02[_0x1d1902(0x1b4)],')')));});var _0x1ab8bb=_0x5add02['defIds'];return!_0x1ab8bb||_0x1ab8bb[_0x49270f(0xb7)]===0x0||(_0x169c8a[_0x49270f(0x97)]==='use'&&_0x361bca[_0x49270f(0x28e)]&&(_0x361bca[_0x49270f(0x28e)]=_0x361bca[_0x49270f(0x28e)]+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x2eca6b){const _0x48f77c=_0x49270f;var _0x50f5ad=_0x2eca6b[0x0],_0x55c4a7=_0x2eca6b[0x1];typeof _0x55c4a7==_0x48f77c(0x82)&&(_0x361bca[_0x50f5ad]=_0x55c4a7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x48f77c(0x234)](_0x5add02[_0x48f77c(0x1b4)],')')));})),_0x361bca;}function _0x2d5efa(_0x461fb6,_0x57a911){const _0x47c3c7=_0x125ea8;var _0x11b7dc,_0x4984a0=_0x57a911[_0x47c3c7(0x197)];return!_0x4984a0||_0x4984a0['length']===0x0?_0x461fb6:_0x461fb6[_0x47c3c7(0x97)]===_0x47c3c7(0x1e4)&&(!((_0x11b7dc=_0x461fb6[_0x47c3c7(0x18d)])===null||_0x11b7dc===void 0x0)&&_0x11b7dc[_0x47c3c7(0xb7)])?_0x5b9bc2(_0x5b9bc2({},_0x461fb6),{'children':_0x461fb6[_0x47c3c7(0x18d)][_0x47c3c7(0x16f)](function(_0x2e868b){const _0x5cc16c=_0x47c3c7;return typeof _0x2e868b[_0x5cc16c(0xe6)]['id']=='string'&&_0x4984a0&&_0x4984a0[_0x5cc16c(0x20e)](_0x2e868b[_0x5cc16c(0xe6)]['id'])>-0x1?_0x5b9bc2(_0x5b9bc2({},_0x2e868b),{'attrs':_0x5b9bc2(_0x5b9bc2({},_0x2e868b[_0x5cc16c(0xe6)]),{'id':_0x2e868b[_0x5cc16c(0xe6)]['id']+_0x57a911[_0x5cc16c(0x1b4)]})}):_0x2e868b;})}):_0x461fb6;}function _0x164c34(){const _0x4b4c95=_0x125ea8;return Math[_0x4b4c95(0x287)]()['toString'](0x24)[_0x4b4c95(0x23d)](0x2,0x8);}_0x514b25[_0x125ea8(0x219)]='UniverIcon';var _0x190964={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x2a6),'width':'1em','height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0x176)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':_0x125ea8(0x27f),'strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2a9)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'fill':'#fff','d':_0x125ea8(0x178)}}]}]}],'defIds':[_0x125ea8(0x2a9)]},_0x15262d=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x238b5b,_0x221fd3){const _0x5e3278=_0x125ea8;return _0x3fb4d0[_0x5e3278(0x1be)](_0x514b25,Object[_0x5e3278(0x1cb)]({},_0x238b5b,{'id':_0x5e3278(0x17c),'ref':_0x221fd3,'icon':_0x190964}));});_0x15262d['displayName']='OffLineSingle';var _0x2d33f2={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x1e2),'width':_0x125ea8(0x19e),'height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0xc1)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'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':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x125ea8(0x1e4),'attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2ba)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x125ea8(0x178),'transform':_0x125ea8(0x16c)}}]}]}],'defIds':[_0x125ea8(0x2ba)]},_0x4109ad=_0x3fb4d0['forwardRef'](function(_0x3c0941,_0x314abe){const _0x54c3b3=_0x125ea8;return _0x3fb4d0[_0x54c3b3(0x1be)](_0x514b25,Object[_0x54c3b3(0x1cb)]({},_0x3c0941,{'id':_0x54c3b3(0x174),'ref':_0x314abe,'icon':_0x2d33f2}));});_0x4109ad[_0x125ea8(0x219)]=_0x125ea8(0x243);function _0x11a1ba(_0x3e97b7){const _0x34d753=_0x125ea8;switch(_0x3e97b7){case _0x3d05ed[_0x34d753(0x129)]['OFFLINE']:return _0x34d753(0x115);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x236)]:return _0x34d753(0x122);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x2f0)]:return _0x34d753(0x25f);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x14f)]:return _0x34d753(0x2b0);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x29c)]:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x27a)]:return _0x34d753(0xb6);case _0x3d05ed[_0x34d753(0x129)]['SYNCED']:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x12a)]:return _0x34d753(0x1dc);}}function _0x22772b(_0xd961d0){const _0x4688e2=_0x125ea8,{status$:_0x4eecbf}=_0xd961d0,_0x56cf85=_0x1b6316[_0x4688e2(0xf1)](_0x4eecbf,_0x3d05ed[_0x4688e2(0x129)]['NOT_COLLAB']),_0x25fba6=_0x1b6316[_0x4688e2(0x143)](_0x4d006c[_0x4688e2(0x83)]),_0x5f17ae=_0x1b6316[_0x4688e2(0x143)](_0x3d05ed[_0x4688e2(0x1d5)]),_0x3f1a41=_0x56cf85!==_0x3d05ed['CollaborationStatus'][_0x4688e2(0x27c)],_0x45ebf8=_0x25fba6['t'](_0x11a1ba(_0x56cf85)),_0x146c0d=_0x3f1a41?_0x4ce13b[_0x4688e2(0x149)](_0x4109ad,{}):_0x4ce13b[_0x4688e2(0x149)](_0x15262d,{}),_0x472d18=_0x3fb4d0[_0x4688e2(0x229)](()=>{_0x3f1a41||_0x5f17ae['reconnect']();},[_0x3f1a41,_0x5f17ae]);function _0x5e7237(){const _0x1ec91a=_0x4688e2;return _0x4ce13b[_0x1ec91a(0x230)](_0x1ec91a(0xce),{'className':'univer-flex\x20univer-items-center','onClick':_0x472d18,'children':[_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':_0x1f5fc2[_0x1ec91a(0x6a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3f1a41?_0x1ec91a(0x2af):_0x1ec91a(0x2df)),'children':_0x146c0d}),_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x45ebf8})]});}return _0x3f1a41?_0x5e7237():_0x4ce13b[_0x4688e2(0x149)](_0x1f5fc2[_0x4688e2(0x93)],{'title':_0x25fba6['t'](_0x4688e2(0xa5)),'children':_0x5e7237()});}var _0x24a3a5=Object[_0x125ea8(0x209)],_0x16b6f5=(_0x1ed99a,_0x12d44e,_0x52423a,_0x4fad8f)=>{const _0x207c7e=_0x125ea8;for(var _0x3399a4=_0x4fad8f>0x1?void 0x0:_0x4fad8f?_0x24a3a5(_0x12d44e,_0x52423a):_0x12d44e,_0x46abb1=_0x1ed99a[_0x207c7e(0xb7)]-0x1,_0x5e0747;_0x46abb1>=0x0;_0x46abb1--)(_0x5e0747=_0x1ed99a[_0x46abb1])&&(_0x3399a4=_0x5e0747(_0x3399a4)||_0x3399a4);return _0x3399a4;},_0x5d3fc2=(_0x8fa462,_0x4f14d6)=>(_0x39e0f2,_0x4689a7)=>_0x4f14d6(_0x39e0f2,_0x4689a7,_0x8fa462);_0x1a6cab[_0x125ea8(0x14d)]=class extends _0x4d006c['Disposable']{constructor(_0xa2d155,_0x48d930,_0x2f2c34,_0x474031){const _0x2341e1=_0x125ea8;super(),_0x321a93(this,_0x2341e1(0x2dc),new _0x424996[(_0x2341e1(0x170))](_0x3d05ed['CollaborationStatus']['NOT_COLLAB'])),(this[_0x2341e1(0x1af)]=_0xa2d155,this[_0x2341e1(0x9f)]=_0x48d930,this[_0x2341e1(0x262)]=_0x2f2c34,this[_0x2341e1(0x28b)]=_0x474031,this[_0x2341e1(0x2b5)](),this[_0x2341e1(0x152)]());}[_0x125ea8(0x152)](){const _0x3263d2=_0x125ea8;this[_0x3263d2(0xd9)](this[_0x3263d2(0x1af)][_0x3263d2(0x21d)][_0x3263d2(0x2c2)](_0x424996['switchMap'](()=>{const _0x24821b=_0x3263d2,_0x11e682=this[_0x24821b(0x1af)][_0x24821b(0x297)]();return _0x11e682?this['_collaborationController'][_0x24821b(0x10f)](_0x11e682[_0x24821b(0x1d0)]()):_0x424996['of'](null);}),_0x424996[_0x3263d2(0x263)](_0x21e0d9=>_0x21e0d9?_0x21e0d9[_0x3263d2(0x266)]:_0x424996['of'](_0x3d05ed[_0x3263d2(0x129)][_0x3263d2(0x14f)])))[_0x3263d2(0x2fb)](_0x45f191=>{const _0x4bcad1=_0x3263d2;this[_0x4bcad1(0x2dc)][_0x4bcad1(0xa3)](_0x45f191);}));}[_0x125ea8(0x2b5)](){const _0x361b16=_0x125ea8;this['disposeWithMe'](this[_0x361b16(0x28b)][_0x361b16(0x271)](_0x1b6316[_0x361b16(0x1ee)][_0x361b16(0x15c)],()=>_0x1b6316[_0x361b16(0x23e)](_0x5ef5d2({'status$':this[_0x361b16(0x2dc)][_0x361b16(0x147)]()}),this[_0x361b16(0x9f)])));}},_0x1a6cab[_0x125ea8(0x14d)]=_0x16b6f5([_0x5d3fc2(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d3fc2(0x1,_0x4d006c['Inject'](_0x4d006c['Injector'])),_0x5d3fc2(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x150)])),_0x5d3fc2(0x3,_0x1b6316[_0x125ea8(0x225)])],_0x1a6cab[_0x125ea8(0x14d)]);function _0x5ef5d2(_0x4e2077){const {status$:_0x4a0c9d}=_0x4e2077;return function(){return _0x4ce13b['jsx'](_0x22772b,{'status$':_0x4a0c9d});};}var _0x37904c=Object[_0x125ea8(0x209)],_0x58cc96=(_0x5ede38,_0x242d29,_0x5789b8,_0x31c9b2)=>{for(var _0x3f247d=_0x31c9b2>0x1?void 0x0:_0x31c9b2?_0x37904c(_0x242d29,_0x5789b8):_0x242d29,_0xfa8de7=_0x5ede38['length']-0x1,_0x7f0c00;_0xfa8de7>=0x0;_0xfa8de7--)(_0x7f0c00=_0x5ede38[_0xfa8de7])&&(_0x3f247d=_0x7f0c00(_0x3f247d)||_0x3f247d);return _0x3f247d;},_0x1c1d7d=(_0x1ac9eb,_0x34b5ea)=>(_0x44bd23,_0x4ea1ee)=>_0x34b5ea(_0x44bd23,_0x4ea1ee,_0x1ac9eb);let _0x412a08=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x574081,_0x115b59,_0xc22381,_0x592594,_0x90da61,_0x8f8645){const _0x443d38=_0x125ea8;super(),this[_0x443d38(0x276)]=_0x574081,this[_0x443d38(0x1df)]=_0x115b59,this[_0x443d38(0x17b)]=_0xc22381,this[_0x443d38(0x226)]=_0x592594,this[_0x443d38(0x27d)]=_0x90da61,this[_0x443d38(0x85)]=_0x8f8645,this[_0x443d38(0x13f)](),this['_initEvent']();}[_0x125ea8(0x13f)](){const _0x415f0a=_0x125ea8;this[_0x415f0a(0xd9)](this[_0x415f0a(0x276)][_0x415f0a(0xfc)](()=>{const _0x15baed=_0x415f0a;if(this[_0x15baed(0x1df)][_0x15baed(0x114)]['size'])return this[_0x15baed(0x85)]['t'](_0x15baed(0x8a));}));}[_0x125ea8(0x16e)](){const _0x78c963=_0x125ea8;this['disposeWithMe'](this[_0x78c963(0x17b)][_0x78c963(0x2bb)][_0x78c963(0x2fb)](_0x78a9fd=>{const _0x45e9be=_0x78c963;_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['OTHER_CLIENT_EDITING']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x22f))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x25d)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)]['Warning'],'content':this[_0x45e9be(0x85)]['t']('collaboration.closeRoom')}),_0x78a9fd['id']===_0x3d05ed['CollaborationUIEventId'][_0x45e9be(0x2f7)]&&this[_0x45e9be(0x27d)][_0x45e9be(0x2ab)]({'title':this[_0x45e9be(0x85)]['t']('permission.title'),'content':this[_0x45e9be(0x85)]['t']('permission.content'),'type':_0x45e9be(0x2bd),'duration':0x0}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x236)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0x164))+'('+_0x78a9fd[_0x45e9be(0x22d)]+')'}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x15a)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2['MessageType']['Warning'],'content':this[_0x45e9be(0x85)]['t'](_0x78a9fd['data']||'')}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x2e8)]&&this['_messageService'][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x221))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['SOCKET_FAILED']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0xa1))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x284)]&&this['_messageService']['show']({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this[_0x45e9be(0x85)]['t']('session.collaboration-timeout')});}));}};_0x412a08=_0x58cc96([_0x1c1d7d(0x0,_0x1b6316['IBeforeCloseService']),_0x1c1d7d(0x1,_0x3d05ed[_0x125ea8(0x2b3)]),_0x1c1d7d(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x2aa)])),_0x1c1d7d(0x3,_0x1b6316[_0x125ea8(0x251)]),_0x1c1d7d(0x4,_0x1b6316[_0x125ea8(0x153)]),_0x1c1d7d(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['LocaleService']))],_0x412a08);const _0x23abbe=_0x125ea8(0x1ce),_0x2b1b44={},_0xade62c=_0x4d006c[_0x125ea8(0x1ae)](_0x125ea8(0x102));var _0x46649e=Object['getOwnPropertyDescriptor'],_0x562aae=(_0x1b9abe,_0x4a15ba,_0x2d0640,_0x57a925)=>{const _0x3e1752=_0x125ea8;for(var _0x949621=_0x57a925>0x1?void 0x0:_0x57a925?_0x46649e(_0x4a15ba,_0x2d0640):_0x4a15ba,_0x59d855=_0x1b9abe[_0x3e1752(0xb7)]-0x1,_0x34036d;_0x59d855>=0x0;_0x59d855--)(_0x34036d=_0x1b9abe[_0x59d855])&&(_0x949621=_0x34036d(_0x949621)||_0x949621);return _0x949621;},_0x4da828=(_0x5b105f,_0x2a43d0)=>(_0x3a36ca,_0xcc5a2c)=>_0x2a43d0(_0x3a36ca,_0xcc5a2c,_0x5b105f);_0x1a6cab[_0x125ea8(0x15d)]=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x2fdd05,_0x29d4be,_0x4e465a,_0x107564,_0x527568){const _0x4d95b1=_0x125ea8;super(),this[_0x4d95b1(0x26b)]=_0x2fdd05,this['_logService']=_0x29d4be,this['_commandService']=_0x4e465a,this[_0x4d95b1(0xfa)]=_0x107564,_0x527568?_0x527568==null||_0x527568[_0x4d95b1(0x173)]()[_0x4d95b1(0x87)](()=>this[_0x4d95b1(0x2c1)]()):(this[_0x4d95b1(0x17d)][_0x4d95b1(0x136)](_0x4d95b1(0xb9),_0x4d95b1(0xe4)),this['_init']());}async[_0x125ea8(0x2c1)](){const _0x3c88d8=_0x125ea8,_0x1ec450=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0x12d)),_0x2eb9c8=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0xd4)),_0x378850=this['_urlService'][_0x3c88d8(0x27b)](_0x3c88d8(0x1c4));if(!_0x1ec450||!_0x2eb9c8){this['_logService'][_0x3c88d8(0x136)](_0x3c88d8(0xb9),_0x3c88d8(0x206));return;}const _0x16a0a7=await this[_0x3c88d8(0xfa)][_0x3c88d8(0x19d)](_0x1ec450,Number(_0x2eb9c8),_0x378850);_0x16a0a7&&_0x16a0a7 instanceof _0x4d006c['Workbook']&&this[_0x3c88d8(0xc2)](_0x16a0a7);}async[_0x125ea8(0xc2)](_0x400a9a){const _0xdd2c50=_0x125ea8;await this[_0xdd2c50(0x17a)](_0x400a9a),_0x400a9a[_0xdd2c50(0x2d3)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))[_0xdd2c50(0x2fb)](_0x252fd4=>{_0x252fd4&&this['_updateURLWithCurrentState'](_0x252fd4);}),this['_urlService'][_0xdd2c50(0x1e1)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))['subscribe'](()=>this[_0xdd2c50(0x17a)](_0x400a9a));}[_0x125ea8(0xf4)](_0x19f230,_0x293189=!0x1){const _0x5aaed1=_0x125ea8,_0x128913=this['_urlService'][_0x5aaed1(0x27b)](_0x5aaed1(0x1c4));_0x19f230[_0x5aaed1(0xff)]()!==_0x128913&&this[_0x5aaed1(0x26b)][_0x5aaed1(0x1a8)](_0x5aaed1(0x1c4),_0x19f230['getSheetId'](),_0x293189);}async[_0x125ea8(0x17a)](_0x209640){const _0x12563b=_0x125ea8;var _0x22a849;const _0x2c33ab=this[_0x12563b(0x26b)][_0x12563b(0x27b)]('subunit');if(!_0x2c33ab||!_0x209640[_0x12563b(0x17f)](_0x2c33ab)){const _0x55fd7a=_0x209640[_0x12563b(0x10b)]()[0x0],_0x2f6f5e=_0x209640[_0x12563b(0x17f)](_0x55fd7a);if(!_0x2f6f5e)return;this[_0x12563b(0xf4)](_0x2f6f5e,!0x0),await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c[_0x12563b(0xc0)]['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x55fd7a});return;}((_0x22a849=_0x209640['getActiveSheet']())==null?void 0x0:_0x22a849[_0x12563b(0xff)]())!==_0x2c33ab&&await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x2c33ab});}},_0x1a6cab[_0x125ea8(0x15d)]=_0x562aae([_0x4da828(0x0,_0xade62c),_0x4da828(0x1,_0x4d006c['ILogService']),_0x4da828(0x2,_0x4d006c['ICommandService']),_0x4da828(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x1da)])),_0x4da828(0x4,_0x4d006c['Optional'](_0x5adf1e['IRemoteInstanceService']))],_0x1a6cab['CollaborationDataLoaderController']);var _0x2ec213=Object['getOwnPropertyDescriptor'],_0x7f7a1f=(_0x5326f0,_0x3a0494,_0x1ebebe,_0x4788d0)=>{for(var _0x43c873=_0x4788d0>0x1?void 0x0:_0x4788d0?_0x2ec213(_0x3a0494,_0x1ebebe):_0x3a0494,_0x230d42=_0x5326f0['length']-0x1,_0x22ccaa;_0x230d42>=0x0;_0x230d42--)(_0x22ccaa=_0x5326f0[_0x230d42])&&(_0x43c873=_0x22ccaa(_0x43c873)||_0x43c873);return _0x43c873;},_0x5d946a=(_0x1291bf,_0x3c501a)=>(_0x2e7f65,_0x53d576)=>_0x3c501a(_0x2e7f65,_0x53d576,_0x1291bf);let _0x27c614=class{constructor(_0x3c4918,_0x597b9c,_0x4299b0){const _0x21e182=_0x125ea8;this[_0x21e182(0x9f)]=_0x3c4918,this[_0x21e182(0xdb)]=_0x597b9c,this[_0x21e182(0x2a7)]=_0x4299b0;}['transformIMECache'](_0x972471){const _0x1415c8=_0x125ea8;this[_0x1415c8(0x1d8)](_0x972471),this[_0x1415c8(0x15f)](_0x972471);}[_0x125ea8(0x185)](_0x1afa18){const _0x192e94=_0x125ea8,{unitID:_0x3e5c9c}=_0x1afa18,_0x52474c=this[_0x192e94(0x2a7)][_0x192e94(0x203)](_0x3e5c9c)[_0x192e94(0x28a)](_0x5051a5['DocIMEInputManagerService']),{redoCache:_0x3c07ba}=_0x52474c[_0x192e94(0x1e9)]();if(_0x3c07ba[_0x192e94(0xb7)]===0x0)return _0x1afa18;let _0x13d0e7=_0x4d006c[_0x192e94(0x1b5)]['deepClone'](_0x1afa18['mutations'][0x0]);for(let _0x12a110=0x0;_0x12a110<_0x3c07ba[_0x192e94(0xb7)];_0x12a110++){const _0x2e9693={'id':_0x192e94(0x12e),'params':{..._0x3c07ba[_0x12a110]}},_0x240999=this['_transformService'][_0x192e94(0x1d1)](_0x13d0e7,_0x2e9693,!0x1);if(_0x12f559[_0x192e94(0xcb)](_0x240999))throw _0x240999['error'];_0x13d0e7=_0x240999[_0x192e94(0x77)];}return{..._0x4d006c[_0x192e94(0x1b5)][_0x192e94(0xc3)](_0x1afa18),'mutations':[_0x13d0e7]};}['_transformUndoRedoStack'](_0x12694c){const _0x4610bc=_0x125ea8,{unitID:_0x5abdab}=_0x12694c,_0x12bafc=this[_0x4610bc(0x2a7)][_0x4610bc(0x203)](_0x5abdab)[_0x4610bc(0x28a)](_0x5051a5[_0x4610bc(0x180)]),{undoCache:_0x17ed83,redoCache:_0x52ea5f}=_0x12bafc[_0x4610bc(0x1e9)]();if(_0x17ed83[_0x4610bc(0xb7)]===0x0||_0x52ea5f[_0x4610bc(0xb7)]===0x0)return;const _0x43375b=[],_0x653381=[];let _0x160021=_0x4d006c['Tools'][_0x4610bc(0xc3)](_0x12694c['mutations'][0x0]),_0x319045=_0x4d006c[_0x4610bc(0x1b5)][_0x4610bc(0xc3)](_0x12694c[_0x4610bc(0x6c)][0x0]);for(let _0x174e28=_0x17ed83['length']-0x1;_0x174e28>=0x0;_0x174e28--){const _0x317627={'id':_0x4610bc(0x12e),'params':{..._0x17ed83[_0x174e28]}},_0x39d1bc={'id':_0x4610bc(0x12e),'params':{..._0x52ea5f[_0x174e28]}},_0x5a99de=this[_0x4610bc(0xdb)][_0x4610bc(0x1d1)](_0x160021,_0x317627,!0x1),_0x8822ac=this['_transformService'][_0x4610bc(0x1d1)](_0x319045,_0x39d1bc,!0x1);if(_0x12f559[_0x4610bc(0xcb)](_0x5a99de))throw _0x5a99de['error'];if(_0x12f559[_0x4610bc(0xcb)](_0x8822ac))throw _0x8822ac[_0x4610bc(0x2bd)];_0x43375b[_0x4610bc(0x2ef)](_0x5a99de['m2Prime'][_0x4610bc(0x2fd)]),_0x653381[_0x4610bc(0x2ef)](_0x8822ac[_0x4610bc(0x250)][_0x4610bc(0x2fd)]),_0x160021=_0x5a99de['m1Prime'],_0x319045=_0x8822ac[_0x4610bc(0x77)];}_0x12bafc['setUndoRedoMutationParamsCache']({'undoCache':_0x43375b,'redoCache':_0x653381});}[_0x125ea8(0x15f)](_0x59d9d6){const _0x58580b=_0x125ea8,{unitID:_0x58da44}=_0x59d9d6,_0x2135bf=this[_0x58580b(0x2a7)][_0x58580b(0x203)](_0x58da44)[_0x58580b(0x28a)](_0x5051a5[_0x58580b(0x180)]),_0x2cb760=_0x2135bf[_0x58580b(0x1c9)]();if(_0x2cb760==null)return;const _0x48d529=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d9d6['unitID'],'actions':null,'textRanges':[_0x2cb760]}}],_0x59b818=this['_transformService'][_0x58580b(0x238)](_0x59d9d6,_0x48d529);if(!_0x12f559[_0x58580b(0x167)](_0x59b818))throw _0x59b818[_0x58580b(0x2bd)];const _0x1be267=_0x59b818['m2Prime'][0x0][_0x58580b(0x2fd)][_0x58580b(0xa2)];Array[_0x58580b(0x177)](_0x1be267)&&_0x1be267[_0x58580b(0xb7)]&&_0x2135bf[_0x58580b(0x2c7)](_0x1be267[0x0]);}};_0x27c614=_0x7f7a1f([_0x5d946a(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d946a(0x1,_0x12f559['ITransformService']),_0x5d946a(0x2,_0x3ce196['IRenderManagerService'])],_0x27c614);var _0x43e871=Object[_0x125ea8(0x209)],_0x208020=(_0x2781ae,_0x5ba4eb,_0x474902,_0x2df645)=>{const _0x6a77f6=_0x125ea8;for(var _0x75d50c=_0x2df645>0x1?void 0x0:_0x2df645?_0x43e871(_0x5ba4eb,_0x474902):_0x5ba4eb,_0x24f1d6=_0x2781ae[_0x6a77f6(0xb7)]-0x1,_0x47b5c8;_0x24f1d6>=0x0;_0x24f1d6--)(_0x47b5c8=_0x2781ae[_0x24f1d6])&&(_0x75d50c=_0x47b5c8(_0x75d50c)||_0x75d50c);return _0x75d50c;},_0x4f294f=(_0x2e424d,_0x3e37f5)=>(_0x4ebc48,_0x1f9e62)=>_0x3e37f5(_0x4ebc48,_0x1f9e62,_0x2e424d);let _0x55d5ce=class{constructor(_0x291fe9,_0x20407a,_0x4c0a26){const _0x4e6c63=_0x125ea8;this[_0x4e6c63(0x9f)]=_0x291fe9,this['_transformService']=_0x20407a,this[_0x4e6c63(0x163)]=_0x4c0a26;}[_0x125ea8(0x272)](_0x30e236){const _0xfff505=_0x125ea8;this[_0xfff505(0x192)](_0x30e236);}[_0x125ea8(0x185)](_0x1f8246){const _0xf92c4c=_0x125ea8,{unitID:_0x2b30cd}=_0x1f8246,{collaboration:_0x1fad7e}=this[_0xf92c4c(0x163)][_0xf92c4c(0xdf)](_0x2b30cd);if(_0x1fad7e[_0xf92c4c(0xb7)]===0x0)return _0x1f8246;let _0x148ec4=_0x4d006c[_0xf92c4c(0x1b5)][_0xf92c4c(0xc3)](_0x1f8246[_0xf92c4c(0x6c)][0x0]);for(let _0x5b33b7=0x0;_0x5b33b7<_0x1fad7e[_0xf92c4c(0xb7)];_0x5b33b7++){const _0x4c0b86={'id':_0xf92c4c(0x12e),'params':{'unitId':_0x1fad7e[_0x5b33b7][_0xf92c4c(0x224)],..._0x1fad7e[_0x5b33b7][_0xf92c4c(0x11f)]}},_0x780107=this[_0xf92c4c(0xdb)][_0xf92c4c(0x1d1)](_0x148ec4,_0x4c0b86,!0x1);if(_0x12f559['isTransformMutationFailure'](_0x780107))throw _0x780107[_0xf92c4c(0x2bd)];_0x148ec4=_0x780107['m1Prime'];}return{..._0x4d006c['Tools'][_0xf92c4c(0xc3)](_0x1f8246),'mutations':[_0x148ec4]};}[_0x125ea8(0x192)](_0x3e4357){const _0x1885ae=_0x125ea8,{unitID:_0x587503}=_0x3e4357,{history:_0x50d9e0,collaboration:_0x1d316b}=this['_docStateChangeManagerService']['getStateCache'](_0x587503);if(_0x50d9e0[_0x1885ae(0xb7)]===0x0&&_0x1d316b[_0x1885ae(0xb7)]===0x0)return;const _0x284b21=[],_0x47b940=[];let _0x10c309=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x6fc3f4=_0x50d9e0[_0x1885ae(0xb7)]-0x1;_0x6fc3f4>=0x0;_0x6fc3f4--){const _0x18c441={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x2d8)]}},_0x90bff5={'id':_0x1885ae(0x12e),'params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x11f)]}},_0x4a72b0=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x18c441,!0x1),_0x5f3018=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x90bff5,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4a72b0))throw _0x4a72b0[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x5f3018))throw _0x5f3018['error'];_0x284b21[_0x1885ae(0x2ef)]({..._0x50d9e0[_0x6fc3f4],'undoState':_0x4a72b0[_0x1885ae(0x250)]['params'],'redoState':_0x5f3018['m2Prime'][_0x1885ae(0x2fd)]}),_0x10c309=_0x4a72b0['m1Prime'],_0x3034f6=_0x5f3018[_0x1885ae(0x77)];}_0x10c309=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x113254=_0x1d316b[_0x1885ae(0xb7)]-0x1;_0x113254>=0x0;_0x113254--){const _0x29cbfa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x2d8)]}},_0x2db619={'id':_0x1885ae(0x12e),'params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x11f)]}},_0x4f194e=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x29cbfa,!0x1),_0x39f461=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x2db619,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4f194e))throw _0x4f194e[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x39f461))throw _0x39f461[_0x1885ae(0x2bd)];_0x47b940[_0x1885ae(0x2ef)]({..._0x1d316b[_0x113254],'undoState':_0x4f194e[_0x1885ae(0x250)][_0x1885ae(0x2fd)],'redoState':_0x39f461[_0x1885ae(0x250)][_0x1885ae(0x2fd)]}),_0x10c309=_0x4f194e[_0x1885ae(0x77)],_0x3034f6=_0x39f461[_0x1885ae(0x77)];}this[_0x1885ae(0x163)][_0x1885ae(0x2da)](_0x587503,{'history':_0x284b21,'collaboration':_0x47b940});}};_0x55d5ce=_0x208020([_0x4f294f(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x4f294f(0x1,_0x12f559['ITransformService']),_0x4f294f(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x5051a5[_0x125ea8(0x2a1)]))],_0x55d5ce);var _0x55f156=Object[_0x125ea8(0x209)],_0x1cbab1=(_0x1afcae,_0x4b39c5,_0x190f60,_0x9e1079)=>{const _0x3f3105=_0x125ea8;for(var _0x261a4a=_0x9e1079>0x1?void 0x0:_0x9e1079?_0x55f156(_0x4b39c5,_0x190f60):_0x4b39c5,_0x54a317=_0x1afcae[_0x3f3105(0xb7)]-0x1,_0xbc1940;_0x54a317>=0x0;_0x54a317--)(_0xbc1940=_0x1afcae[_0x54a317])&&(_0x261a4a=_0xbc1940(_0x261a4a)||_0x261a4a);return _0x261a4a;},_0x3c3f19=(_0x101865,_0x17f825)=>(_0x2959aa,_0x454611)=>_0x17f825(_0x2959aa,_0x454611,_0x101865);let _0x685fad=class{constructor(_0x3c16a5,_0x4d406b){this['_injector']=_0x3c16a5,this['_transformService']=_0x4d406b;}['transformSelections'](_0x4feaab){const _0x10c62b=_0x125ea8;var _0x3b4308;const _0xa7b4ac=this[_0x10c62b(0x9f)][_0x10c62b(0x205)](_0x2b2a28[_0x10c62b(0xb5)]),_0x48e447=(_0x3b4308=_0xa7b4ac[_0x10c62b(0x135)]())!=null?_0x3b4308:[];if(_0x48e447[_0x10c62b(0xb7)]===0x0)return;const _0x4c38f9=_0x4feaab['unitID'],_0x22fee4=[{'id':_0x10c62b(0x12e),'params':{'unitId':_0x4c38f9,'actions':null,'textRanges':_0x48e447}}],_0x4730ed=this['_transformService'][_0x10c62b(0x238)](_0x4feaab,_0x22fee4);if(!_0x12f559[_0x10c62b(0x167)](_0x4730ed))throw _0x4730ed[_0x10c62b(0x2bd)];const _0x1ebcc3=_0x4730ed[_0x10c62b(0x250)][0x0][_0x10c62b(0x2fd)][_0x10c62b(0xa2)];Array[_0x10c62b(0x177)](_0x1ebcc3)&&_0x1ebcc3['length']&&_0xa7b4ac[_0x10c62b(0x1c5)](_0x1ebcc3,{'unitId':_0x4c38f9,'subUnitId':_0x4c38f9},!0x1);}};_0x685fad=_0x1cbab1([_0x3c3f19(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x3c3f19(0x1,_0x12f559[_0x125ea8(0x2c3)])],_0x685fad);var _0x5302c6=Object['getOwnPropertyDescriptor'],_0x27721b=(_0x1a3187,_0x1d428c,_0x1b4060,_0x498f38)=>{const _0x124c20=_0x125ea8;for(var _0x51f53f=_0x498f38>0x1?void 0x0:_0x498f38?_0x5302c6(_0x1d428c,_0x1b4060):_0x1d428c,_0x371a5e=_0x1a3187[_0x124c20(0xb7)]-0x1,_0x544be5;_0x371a5e>=0x0;_0x371a5e--)(_0x544be5=_0x1a3187[_0x371a5e])&&(_0x51f53f=_0x544be5(_0x51f53f)||_0x51f53f);return _0x51f53f;},_0x96d203=(_0x3512f1,_0x32ff47)=>(_0x455d04,_0x2fa671)=>_0x32ff47(_0x455d04,_0x2fa671,_0x3512f1);let _0x1cabee=class extends _0x4d006c['Disposable']{constructor(_0x9526e7,_0x2d4e62,_0x2901c6,_0x274fb7,_0x2a4ba4,_0x4f7826,_0x2d7592,_0x75abee){const _0x52c6c2=_0x125ea8;super(),_0x321a93(this,'_status$',new _0x424996[(_0x52c6c2(0x170))](_0x3d05ed['CollaborationStatus'][_0x52c6c2(0x14f)])),(this[_0x52c6c2(0x163)]=_0x9526e7,this[_0x52c6c2(0x262)]=_0x2d4e62,this['_docTransformIMECacheService']=_0x2901c6,this[_0x52c6c2(0xd5)]=_0x274fb7,this['_docTransformSelectionsService']=_0x2a4ba4,this[_0x52c6c2(0x142)]=_0x4f7826,this[_0x52c6c2(0x226)]=_0x2d7592,this['_localeService']=_0x75abee,this[_0x52c6c2(0xac)]());}[_0x125ea8(0xac)](){const _0x3e521b=_0x125ea8;this[_0x3e521b(0xd9)](this[_0x3e521b(0x262)][_0x3e521b(0x222)][_0x3e521b(0x2fb)](_0x287bb3=>{const _0x28028a=_0x3e521b,_0x1f5b99=this[_0x28028a(0x163)][_0x28028a(0xcc)][_0x28028a(0x2fb)](_0x4a877d=>{const _0x30567c=_0x28028a;if(_0x4a877d==null)return;const {unitId:_0x4753ef,redoState:_0x4dffa0,commandId:_0x5ab66a}=_0x4a877d;if(_0x4753ef!==_0x287bb3['unitID'])return;const _0x456434={'id':_0x5ab66a,'type':_0x4d006c[_0x30567c(0x1dd)]['MUTATION'],'params':{'unitId':_0x4753ef,'actions':_0x4dffa0[_0x30567c(0x270)],'textRanges':null}};_0x287bb3[_0x30567c(0x202)](_0x456434);});if(_0x287bb3[_0x28028a(0xd9)](_0x1f5b99),_0x287bb3 instanceof _0x3d05ed[_0x28028a(0xbe)]){const _0x8237be={'onTransformIME':_0x5b7b73=>this[_0x28028a(0x2c0)][_0x28028a(0x14b)](_0x5b7b73),'onTransformState':_0x349833=>this[_0x28028a(0xd5)][_0x28028a(0x272)](_0x349833),'onTransformSelections':_0x3ebc96=>this[_0x28028a(0x188)][_0x28028a(0x201)](_0x3ebc96),'onSyncEditingCollabCursor':_0x59e7c3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x59e7c3),'onTransformRemoteChangesetByIMECache':_0x12f45c=>this[_0x28028a(0x2c0)][_0x28028a(0x185)](_0x12f45c),'onTransformRemoteChangesetByStateCache':_0x1ef2b4=>this[_0x28028a(0xd5)][_0x28028a(0x185)](_0x1ef2b4)};_0x287bb3['addHandlerCallback'](_0x8237be);}}));}};_0x1cabee=_0x27721b([_0x96d203(0x0,_0x4d006c['Inject'](_0x5051a5[_0x125ea8(0x2a1)])),_0x96d203(0x1,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x150)])),_0x96d203(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x27c614)),_0x96d203(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x55d5ce)),_0x96d203(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x685fad)),_0x96d203(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x96d203(0x6,_0x1b6316[_0x125ea8(0x251)]),_0x96d203(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x83)]))],_0x1cabee);var _0x169802=Object[_0x125ea8(0x209)],_0xaa1c6a=(_0x544209,_0x2d402e,_0x668883,_0x53a6e4)=>{const _0x40c9c8=_0x125ea8;for(var _0x19801d=_0x53a6e4>0x1?void 0x0:_0x53a6e4?_0x169802(_0x2d402e,_0x668883):_0x2d402e,_0x1d7044=_0x544209[_0x40c9c8(0xb7)]-0x1,_0x4817ee;_0x1d7044>=0x0;_0x1d7044--)(_0x4817ee=_0x544209[_0x1d7044])&&(_0x19801d=_0x4817ee(_0x19801d)||_0x19801d);return _0x19801d;},_0x126761=(_0x3aa2c8,_0x1526dc)=>(_0x29b9f8,_0x37bc13)=>_0x1526dc(_0x29b9f8,_0x37bc13,_0x3aa2c8);let _0x42251d=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x4df13a,_0x1e9a30,_0x2fa30c){const _0x5ace5a=_0x125ea8;super(),_0x321a93(this,_0x5ace5a(0x2b1),new Map()),_0x321a93(this,_0x5ace5a(0xea),new Map()),_0x321a93(this,'_disabled',!0x1),(this[_0x5ace5a(0x2c9)]=_0x4df13a,this[_0x5ace5a(0x1b2)]=_0x1e9a30,this[_0x5ace5a(0x2d6)]=_0x2fa30c);}['disableLocalCache'](){const _0x3b1db8=_0x125ea8;this[_0x3b1db8(0x2b7)]=!0x0;}['enableLocalCache'](){const _0x3ec7c7=_0x125ea8;this[_0x3ec7c7(0x2b7)]=!0x1;}get[_0x125ea8(0x114)](){const _0x539c6b=_0x125ea8;return this[_0x539c6b(0xea)];}[_0x125ea8(0x23f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x125ea8(0x191)](_0x4697a4){const _0x5e4524=_0x125ea8;return this[_0x5e4524(0x2b7)]?null:this[_0x5e4524(0x1b2)]['getItem'](_0x3d05ed[_0x5e4524(0x2c8)](_0x4697a4));}async[_0x125ea8(0x227)](_0x1289e5,_0x55f526){return!!this['_localStorageService']['setItem'](_0x1289e5,_0x55f526);}['updateOfflineData'](_0x4092df,_0x4a7472,_0x950ed8,_0x9b9c9b){const _0x230e9e=_0x125ea8,_0x3de0c8=this[_0x230e9e(0x2d6)][_0x230e9e(0x181)](_0x4092df);this[_0x230e9e(0x2b1)][_0x230e9e(0x21a)](_0x4092df,{'unitID':_0x4092df,'type':_0x4a7472,'awaitingChangeset':_0x950ed8,'mutations':_0x9b9c9b,'rev':_0x3de0c8}),this[_0x230e9e(0xea)][_0x230e9e(0x2e7)](_0x4092df)||this[_0x230e9e(0x235)](_0x4092df);}[_0x125ea8(0x235)](_0x44785c){const _0x41f000=_0x125ea8,_0x402c5a=this[_0x41f000(0x239)]();_0x402c5a===0x0?this[_0x41f000(0x154)](_0x44785c):this[_0x41f000(0xea)][_0x41f000(0x21a)](_0x44785c,setTimeout(()=>this['_saveCache'](_0x44785c),_0x402c5a));}['_getSaveTimeout'](){const _0x59da0a=_0x125ea8;var _0x243545;return(_0x243545=this[_0x59da0a(0x2c9)][_0x59da0a(0x9c)](_0x3d05ed['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x243545:_0x3d05ed[_0x59da0a(0x256)];}['_saveCache'](_0x2b144e){const _0x582d19=_0x125ea8,_0x59f0d3=this[_0x582d19(0xea)]['get'](_0x2b144e);return _0x59f0d3!==void 0x0&&window[_0x582d19(0xda)](_0x59f0d3),this[_0x582d19(0x1b2)][_0x582d19(0xaf)](_0x3d05ed[_0x582d19(0x2c8)](_0x2b144e),this['_cachedData'][_0x582d19(0x205)](_0x2b144e))[_0x582d19(0x87)](()=>this[_0x582d19(0xea)][_0x582d19(0x22b)](_0x2b144e));}async[_0x125ea8(0x9b)](){const _0x58772e=_0x125ea8,_0x23efd4=[];this[_0x58772e(0xea)][_0x58772e(0x1fa)]((_0xc4eea2,_0x41bea7)=>{const _0x1fc258=_0x58772e;window[_0x1fc258(0xda)](_0xc4eea2),_0x23efd4[_0x1fc258(0x2e4)](this[_0x1fc258(0x154)](_0x41bea7)[_0x1fc258(0x87)](()=>{const _0x1b2edc=_0x1fc258;this[_0x1b2edc(0xea)][_0x1b2edc(0x22b)](_0x41bea7);}));}),await Promise[_0x58772e(0x2ce)](_0x23efd4);}};_0x42251d=_0xaa1c6a([_0x126761(0x0,_0x4d006c[_0x125ea8(0x24d)]),_0x126761(0x1,_0x4d006c['ILocalStorageService']),_0x126761(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x12f559['RevisionService']))],_0x42251d);class _0x2d18ad extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x16dc6e=_0x125ea8;super(),_0x321a93(this,_0x16dc6e(0x1e1)),this['urlChange$']=_0x424996['fromEvent'](window,_0x16dc6e(0x269))['pipe'](_0x424996[_0x16dc6e(0x2b2)](this[_0x16dc6e(0x281)]),_0x424996[_0x16dc6e(0x12c)](0x1),_0x424996[_0x16dc6e(0x2e2)](void 0x0));}[_0x125ea8(0x1a8)](_0x2e3105,_0x1cb3e9,_0x5f409f=!0x1){const _0x6629ef=_0x125ea8,_0x37446d=new URL(window['location']['href']);_0x37446d[_0x6629ef(0x14e)][_0x6629ef(0x21a)](_0x2e3105,_0x1cb3e9),_0x5f409f?window[_0x6629ef(0x255)][_0x6629ef(0x1f2)]('','',_0x37446d[_0x6629ef(0x72)]()):window['history'][_0x6629ef(0x29d)]('','',_0x37446d[_0x6629ef(0x72)]());}[_0x125ea8(0x103)](_0x3b72ae,_0x4f6aab=!0x1){const _0x42ffce=_0x125ea8,_0x12f00d=new URL(window['location'][_0x42ffce(0x1b8)]);_0x12f00d[_0x42ffce(0x14e)][_0x42ffce(0x22b)](_0x3b72ae),_0x4f6aab?window[_0x42ffce(0x255)][_0x42ffce(0x1f2)]('','',_0x12f00d[_0x42ffce(0x72)]()):window['history'][_0x42ffce(0x29d)]('','',_0x12f00d[_0x42ffce(0x72)]());}[_0x125ea8(0x27b)](_0x2973e2){const _0x4bd256=_0x125ea8;var _0x4675b9;return(_0x4675b9=new URL(window[_0x4bd256(0x130)]['href'])['searchParams'][_0x4bd256(0x205)](_0x2973e2))!=null?_0x4675b9:void 0x0;}}var _0x53224c=Object[_0x125ea8(0x2f8)],_0x370b99=Object[_0x125ea8(0x209)],_0x27b1a7=(_0x1193fd,_0x2a8dd1,_0x33c66c)=>_0x2a8dd1 in _0x1193fd?_0x53224c(_0x1193fd,_0x2a8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c66c}):_0x1193fd[_0x2a8dd1]=_0x33c66c,_0x25789f=(_0x445aa1,_0x1b6b91,_0x8dcb12,_0x1412f5)=>{const _0x2096f7=_0x125ea8;for(var _0x5c92b6=_0x1412f5>0x1?void 0x0:_0x1412f5?_0x370b99(_0x1b6b91,_0x8dcb12):_0x1b6b91,_0x26d8f0=_0x445aa1[_0x2096f7(0xb7)]-0x1,_0x3d74e4;_0x26d8f0>=0x0;_0x26d8f0--)(_0x3d74e4=_0x445aa1[_0x26d8f0])&&(_0x5c92b6=_0x3d74e4(_0x5c92b6)||_0x5c92b6);return _0x5c92b6;},_0x300d57=(_0x303e10,_0xc14701)=>(_0x5ba0ad,_0x3f8eaf)=>_0xc14701(_0x5ba0ad,_0x3f8eaf,_0x303e10),_0x1d53a3=(_0x2789d5,_0x3745da,_0x5473cc)=>_0x27b1a7(_0x2789d5,_0x3745da+'',_0x5473cc);const _0x12890b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a6cab['UniverCollaborationClientUIPlugin']=class extends _0x4d006c[_0x125ea8(0x104)]{constructor(_0x22e71e=_0x2b1b44,_0x243192,_0x1f7aa1,_0x5233c8){const _0x21659e=_0x125ea8;super(),this['_config']=_0x22e71e,this[_0x21659e(0x2a7)]=_0x243192,this[_0x21659e(0x9f)]=_0x1f7aa1,this[_0x21659e(0x2c9)]=_0x5233c8;const {..._0x15b9d2}=_0x4d006c['merge']({},_0x2b1b44,this[_0x21659e(0x264)]);this[_0x21659e(0x2c9)][_0x21659e(0x1fc)](_0x23abbe,_0x15b9d2);}['onStarting'](){const _0x333f95=_0x125ea8;this[_0x333f95(0x133)](),this[_0x333f95(0x1ec)]();}[_0x125ea8(0x9a)](){const _0x352c96=_0x125ea8;this[_0x352c96(0x2f4)]();}['_registerDependencies'](){const _0x4cf5bc=_0x125ea8;var _0x10dc73;const _0x23fc68=[[_0x1bdb8f],[_0x685fad],[_0x27c614],[_0x55d5ce],[_0x167556],[_0xade62c,{'useClass':_0x2d18ad}],[_0x651cbe[_0x4cf5bc(0x296)],{'useClass':_0x651cbe['WebSocketService']}],[_0x3d05ed['ILocalCacheService'],{'useClass':_0x42251d}],[_0x1a6cab[_0x4cf5bc(0x14d)]],[_0x1cabee],[_0x412a08],[_0x55a692],[_0x22fe1a],[_0x1a6cab[_0x4cf5bc(0x15d)]]];_0x4d006c[_0x4cf5bc(0x24a)](this[_0x4cf5bc(0x9f)],_0x4d006c[_0x4cf5bc(0xa4)](_0x23fc68,(_0x10dc73=this[_0x4cf5bc(0x264)])==null?void 0x0:_0x10dc73['override']));}[_0x125ea8(0x2f4)](){const _0x342719=_0x125ea8;this[_0x342719(0xd9)](this[_0x342719(0x2a7)][_0x342719(0x27e)](_0x4d006c[_0x342719(0xd3)]['UNIVER_DOC'],[_0x49880d])),this[_0x342719(0xd9)](this[_0x342719(0x2a7)]['registerRenderModule'](_0x4d006c['UniverInstanceType']['UNIVER_SHEET'],[_0x46ea4f]));}[_0x125ea8(0x1ec)](){const _0x957cb6=_0x125ea8;_0x4d006c[_0x957cb6(0x246)](this[_0x957cb6(0x9f)],[[_0x55a692],[_0x1a6cab[_0x957cb6(0x14d)]],[_0x1cabee],[_0x412a08],[_0x1a6cab[_0x957cb6(0x15d)]]]);}},_0x1d53a3(_0x1a6cab[_0x125ea8(0x119)],_0x125ea8(0x161),_0x12890b),_0x1a6cab[_0x125ea8(0x119)]=_0x25789f([_0x4d006c[_0x125ea8(0x11c)](_0x3d05ed['UniverCollaborationClientPlugin']),_0x300d57(0x1,_0x3ce196[_0x125ea8(0x187)]),_0x300d57(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x300d57(0x3,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab['UniverCollaborationClientUIPlugin']);var _0x1f26e2=Object[_0x125ea8(0x209)],_0x23a6b0=(_0x5ae13d,_0x1663cf,_0x4d51c9,_0xa1e124)=>{for(var _0x5820f0=_0xa1e124>0x1?void 0x0:_0xa1e124?_0x1f26e2(_0x1663cf,_0x4d51c9):_0x1663cf,_0x119868=_0x5ae13d['length']-0x1,_0x32d2f4;_0x119868>=0x0;_0x119868--)(_0x32d2f4=_0x5ae13d[_0x119868])&&(_0x5820f0=_0x32d2f4(_0x5820f0)||_0x5820f0);return _0x5820f0;},_0x512a71=(_0x52c22e,_0x292525)=>(_0x8fd54,_0x266fe7)=>_0x292525(_0x8fd54,_0x266fe7,_0x52c22e);_0x1a6cab['BrowserCollaborationSocketService']=class extends _0x3d05ed[_0x125ea8(0x13d)]{constructor(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523){super(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523);}async['createSocket'](_0x348055){const _0x488a32=_0x125ea8,_0x34ed53=await this['_getSessionTicket'](),_0x125480=this[_0x488a32(0x2ee)](_0x348055,_0x34ed53);return this[_0x488a32(0x1ea)](_0x125480);}[_0x125ea8(0x2ee)](_0x17e925,_0x499722){const _0x2c1421=_0x125ea8,_0x2f4b68=typeof window>'u'?new URL(_0x17e925):new URL(_0x17e925,window[_0x2c1421(0x130)][_0x2c1421(0x2b9)]);_0x2f4b68['searchParams'][_0x2c1421(0x21a)]('sessionTicket',_0x499722);const _0x2ef366=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c1421(0x130)][_0x2c1421(0xc7)]);return _0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))&&_0x2f4b68[_0x2c1421(0x14e)][_0x2c1421(0x21a)](_0x2c1421(0x9e),_0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))),_0x2f4b68[_0x2c1421(0x72)]();}async[_0x125ea8(0x75)](){const _0xdffdbe=_0x125ea8;var _0xdb8922,_0x218412,_0x514e40;const _0x3c74eb=this[_0xdffdbe(0x2c9)][_0xdffdbe(0x9c)](_0x3d05ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5861be=(_0xdb8922=_0x3c74eb==null?void 0x0:_0x3c74eb[_0xdffdbe(0x1d9)])!=null?_0xdb8922:_0x3d05ed[_0xdffdbe(0x1c1)];return(_0x514e40=(_0x218412=(await this[_0xdffdbe(0x210)][_0xdffdbe(0x205)](_0x5861be,{'headers':{'Content-Type':_0xdffdbe(0x199)}}))[_0xdffdbe(0x2a0)])==null?void 0x0:_0x218412[_0xdffdbe(0x261)])!=null?_0x514e40:'';}},_0x1a6cab[_0x125ea8(0x12b)]=_0x23a6b0([_0x512a71(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x512a71(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x512a71(0x2,_0x4d006c[_0x125ea8(0x24d)]),_0x512a71(0x3,_0x4d006c[_0x125ea8(0x19f)]),_0x512a71(0x4,_0x12f559[_0x125ea8(0x23b)])],_0x1a6cab[_0x125ea8(0x12b)]);const _0x3d73c5=0x7530,_0x4d458c=_0x125ea8(0x260);class _0x3d5db7 extends _0x4d006c[_0x125ea8(0x96)]{constructor(){const _0x35d878=_0x125ea8;super(),_0x321a93(this,_0x35d878(0x2f9),_0x4d006c[_0x35d878(0xcd)]()),_0x321a93(this,_0x35d878(0x175),new Set()),_0x321a93(this,_0x35d878(0x2e5),new Map()),_0x321a93(this,'_heartbeatTimer',null),_0x321a93(this,_0x35d878(0x6e),new Map()),_0x321a93(this,_0x35d878(0xf6),new Map()),this['_init']();}[_0x125ea8(0x23f)](){const _0xb247f3=_0x125ea8;super[_0xb247f3(0x23f)](),this['_clearOtherTimers'][_0xb247f3(0x1fa)]((_0x44fd58,_0x3dc0f8)=>this[_0xb247f3(0x108)](_0x3dc0f8)),this[_0xb247f3(0x8c)]&&window[_0xb247f3(0x1f8)](this[_0xb247f3(0x8c)]);}[_0x125ea8(0x106)](_0x4391b6){const _0x177c16=_0x125ea8;return this['_ensureSubject'](_0x4391b6)[_0x177c16(0x2c2)](_0x424996[_0x177c16(0x2ae)]());}['editingUnit'](_0x4beba8){const _0x12e818=_0x125ea8;this['_selfUnitIDs']['size']===0x0&&this[_0x12e818(0xba)](),this['_selfUnitIDs'][_0x12e818(0x208)](_0x4beba8),this[_0x12e818(0xbc)]({'type':0x0,'memberID':this[_0x12e818(0x2f9)],'unitIDs':[_0x4beba8],'isForwarded':!0x1});}['disposeUnit'](_0x146d09){const _0x43d358=_0x125ea8;this['_selfUnitIDs'][_0x43d358(0x22b)](_0x146d09),this['_selfUnitIDs']['size']===0x0&&this[_0x43d358(0x8c)]&&window[_0x43d358(0x1f8)](this[_0x43d358(0x8c)]);}[_0x125ea8(0x2c1)](){const _0x57ff79=_0x125ea8;this[_0x57ff79(0xd9)](_0x4d006c['toDisposable'](_0x424996[_0x57ff79(0x247)](window,_0x57ff79(0x2d9))['subscribe'](_0x3cc57e=>{const _0x44ec08=_0x57ff79;if(_0x3cc57e[_0x44ec08(0x111)]!==_0x4d458c||!_0x3cc57e[_0x44ec08(0x248)])return;const _0x1d1371=JSON[_0x44ec08(0x11e)](_0x3cc57e[_0x44ec08(0x248)]);this[_0x44ec08(0xeb)](_0x1d1371);}))),window[_0x57ff79(0x8e)](_0x57ff79(0x2ea),()=>this[_0x57ff79(0xbc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57ff79(0x18f)](this[_0x57ff79(0x175)])}));}[_0x125ea8(0xeb)](_0x11e758){const _0x353f60=_0x125ea8;switch(_0x11e758[_0x353f60(0xd4)]){case 0x0:this['_handleJoinEvent'](_0x11e758);break;case 0x1:this['_handleLeaveEvent'](_0x11e758);break;case 0x2:this[_0x353f60(0x1aa)](_0x11e758);break;}}[_0x125ea8(0x110)](_0x1775b8){const _0x4036d6=_0x125ea8,{unitIDs:_0xb1c24f,memberID:_0x44e438,isForwarded:_0x1b9692}=_0x1775b8;_0xb1c24f['forEach'](_0x125e55=>{const _0xb388bd=_0x1eaa;if(!_0x1b9692&&this[_0xb388bd(0x2e5)][_0xb388bd(0x2e7)](_0x125e55)&&this['_ensureSubject'](_0x125e55)[_0xb388bd(0xa3)](_0x3d05ed[_0xb388bd(0x6f)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0xb388bd(0x2e7)](_0x125e55)||!this[_0xb388bd(0x2e5)][_0xb388bd(0x205)](_0x125e55)['has'](_0x44e438)){const _0x499d04=this[_0xb388bd(0x2e5)]['get'](_0x125e55)||new Set();_0x499d04['add'](_0x44e438),this[_0xb388bd(0x2e5)]['set'](_0x125e55,_0x499d04),this['_scheduleClearOtherTimer'](_0x44e438);}}),_0x1b9692||this[_0x4036d6(0xbc)]({'type':0x0,'memberID':this[_0x4036d6(0x2f9)],'unitIDs':[...this[_0x4036d6(0x175)]],'isForwarded':!0x0});}[_0x125ea8(0x207)](_0xac9a78){const _0x1840fc=_0x125ea8;this[_0x1840fc(0x108)](_0xac9a78);const _0x401047=window[_0x1840fc(0x117)](()=>{const _0x33334b=_0x1840fc;this[_0x33334b(0x2e5)][_0x33334b(0x1fa)](_0x1bd0c8=>{const _0x14a99d=_0x33334b;_0x1bd0c8[_0x14a99d(0x22b)](_0xac9a78);});},_0x3d73c5*0x2);this[_0x1840fc(0x6e)]['set'](_0xac9a78,_0x401047);}[_0x125ea8(0x108)](_0x3b2a10){const _0x38c666=_0x125ea8;if(this[_0x38c666(0x6e)][_0x38c666(0x2e7)](_0x3b2a10)){const _0x130845=this[_0x38c666(0x6e)]['get'](_0x3b2a10);_0x130845&&window[_0x38c666(0xda)](_0x130845),this['_clearOtherTimers'][_0x38c666(0x21a)](_0x3b2a10,null);}}['_handleLeaveEvent'](_0x1efc4e){const _0x979112=_0x125ea8,{memberID:_0x20acca,unitIDs:_0x297dee}=_0x1efc4e;_0x297dee[_0x979112(0x1fa)](_0x5dd49c=>{const _0x294e79=_0x979112;var _0x384c95;const _0x24a0e8=this[_0x294e79(0x2e5)]['get'](_0x5dd49c);_0x24a0e8&&(_0x24a0e8['delete'](_0x20acca),(_0x384c95=this[_0x294e79(0x123)](_0x5dd49c))==null||_0x384c95[_0x294e79(0xa3)](_0x24a0e8[_0x294e79(0x232)]===0x0?_0x3d05ed[_0x294e79(0x6f)][_0x294e79(0x1e8)]:_0x3d05ed['UnitStatus'][_0x294e79(0x2dd)]));}),this[_0x979112(0x108)](_0x20acca);}[_0x125ea8(0x1aa)](_0xa06da3){const _0x5b38f3=_0x125ea8;this[_0x5b38f3(0x207)](_0xa06da3['memberID']);}[_0x125ea8(0xbc)](_0x511b81){const _0x3e7329=_0x125ea8;localStorage[_0x3e7329(0xaf)](_0x4d458c,JSON[_0x3e7329(0x214)](_0x511b81));}[_0x125ea8(0xba)](){const _0x2c4219=_0x125ea8;this[_0x2c4219(0x8c)]=window[_0x2c4219(0x291)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3d73c5);}[_0x125ea8(0x123)](_0x27d01e){const _0x3d782c=_0x125ea8;return this[_0x3d782c(0xf6)][_0x3d782c(0x2e7)](_0x27d01e)||this[_0x3d782c(0xf6)][_0x3d782c(0x21a)](_0x27d01e,new _0x424996[(_0x3d782c(0x170))](_0x3d05ed[_0x3d782c(0x6f)][_0x3d782c(0x1e8)])),this[_0x3d782c(0xf6)][_0x3d782c(0x205)](_0x27d01e);}}var _0x3ddc83=(_0x12e3ff=>(_0x12e3ff[_0x12e3ff[_0x125ea8(0x240)]=0x0]=_0x125ea8(0x240),_0x12e3ff[_0x12e3ff['OK']=0x1]='OK',_0x12e3ff[_0x12e3ff[_0x125ea8(0x289)]=0x2]=_0x125ea8(0x289),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2f7)]=0x3]=_0x125ea8(0x2f7),_0x12e3ff[_0x12e3ff['NOT_FOUND']=0x4]='NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1f9)]=0x5]=_0x125ea8(0x1f9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x23a)]=0x6]=_0x125ea8(0x23a),_0x12e3ff[_0x12e3ff[_0x125ea8(0x12f)]=0x7]=_0x125ea8(0x12f),_0x12e3ff[_0x12e3ff[_0x125ea8(0x26d)]=0x8]='TOO_MANY_REQUESTS',_0x12e3ff[_0x12e3ff[_0x125ea8(0x112)]=0x9]='COMPLETION_FINISHED',_0x12e3ff[_0x12e3ff['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x12e3ff[_0x12e3ff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x125ea8(0x148),_0x12e3ff[_0x12e3ff[_0x125ea8(0x157)]=0x1771]=_0x125ea8(0x157),_0x12e3ff[_0x12e3ff[_0x125ea8(0xd2)]=0x1772]=_0x125ea8(0xd2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1c2)]=0x1773]=_0x125ea8(0x1c2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x90)]=0x1b59]=_0x125ea8(0x90),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2a3)]=0x1b5a]=_0x125ea8(0x2a3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x155)]=0x1b5b]=_0x125ea8(0x155),_0x12e3ff[_0x12e3ff[_0x125ea8(0x18b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x193)]=0x1b5d]=_0x125ea8(0x193),_0x12e3ff[_0x12e3ff[_0x125ea8(0x16b)]=0x1f41]=_0x125ea8(0x16b),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d6)]=0x2329]=_0x125ea8(0x1d6),_0x12e3ff[_0x12e3ff[_0x125ea8(0x217)]=0x232a]=_0x125ea8(0x217),_0x12e3ff[_0x12e3ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x283)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x125ea8(0xad),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1a9)]=0x2711]=_0x125ea8(0x1a9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x293)]=0x2712]=_0x125ea8(0x293),_0x12e3ff[_0x12e3ff[_0x125ea8(0x91)]=0x2713]=_0x125ea8(0x91),_0x12e3ff[_0x12e3ff[_0x125ea8(0x259)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf9)]=0x271a]=_0x125ea8(0xf9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d3)]=0x271b]=_0x125ea8(0x1d3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x162)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1e5)]=0x2ee1]=_0x125ea8(0x1e5),_0x12e3ff[_0x12e3ff['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf7)]=0x2ee3]=_0x125ea8(0xf7),_0x12e3ff[_0x12e3ff[_0x125ea8(0x116)]=0x2ee4]=_0x125ea8(0x116),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2b4)]=0x2ee5]=_0x125ea8(0x2b4),_0x12e3ff[_0x12e3ff[_0x125ea8(0xca)]=0x32c9]=_0x125ea8(0xca),_0x12e3ff[_0x12e3ff[_0x125ea8(0xb4)]=0x32ca]=_0x125ea8(0xb4),_0x12e3ff[_0x12e3ff[_0x125ea8(0x25b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x196)]=-0x1]=_0x125ea8(0x196),_0x12e3ff))(_0x3ddc83||{}),_0x1f93b7=Object[_0x125ea8(0x209)],_0x2977b6=(_0x34b960,_0x5e0e11,_0x413c00,_0x1f75a8)=>{const _0x38766b=_0x125ea8;for(var _0x1e90f7=_0x1f75a8>0x1?void 0x0:_0x1f75a8?_0x1f93b7(_0x5e0e11,_0x413c00):_0x5e0e11,_0x3f597f=_0x34b960[_0x38766b(0xb7)]-0x1,_0x1e097c;_0x3f597f>=0x0;_0x3f597f--)(_0x1e097c=_0x34b960[_0x3f597f])&&(_0x1e90f7=_0x1e097c(_0x1e90f7)||_0x1e90f7);return _0x1e90f7;},_0x9c16f0=(_0x315a71,_0x172044)=>(_0x316106,_0x31bb98)=>_0x172044(_0x316106,_0x31bb98,_0x315a71);_0x1a6cab[_0x125ea8(0x1cf)]=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x2cb40c,_0x587068,_0x10d6a0){const _0x2f6662=_0x125ea8;super(),this['_instanceService']=_0x2cb40c,this[_0x2f6662(0x210)]=_0x587068,this['_configService']=_0x10d6a0;}async[_0x125ea8(0x21e)](_0x14e443,_0x3dc6e8,_0x25b9b1,..._0x18de95){const _0x3a26f9=_0x125ea8;var _0x124b78,_0x2d0ef0,_0x3840bc,_0x5e5968;const _0x2659d0=this[_0x3a26f9(0x86)][_0x3a26f9(0x297)]();if(!_0x2659d0)throw new Error(_0x3a26f9(0x1d7));const _0x3b1a6f=((_0x124b78=this[_0x3a26f9(0x2c9)][_0x3a26f9(0x9c)](_0x3d05ed[_0x3a26f9(0x1a2)]))!=null?_0x124b78:_0x3d05ed[_0x3a26f9(0x121)])+'/'+_0x14e443+_0x3a26f9(0x172)+_0x3dc6e8,_0x544b22=new URL(window[_0x3a26f9(0x130)][_0x3a26f9(0x1b8)]),_0x99a540={'scriptId':_0x14e443,'runId':(_0x2d0ef0=_0x544b22[_0x3a26f9(0x14e)]['get'](_0x3a26f9(0x9e)))!=null?_0x2d0ef0:'','function':_0x3dc6e8,'unitId':_0x2659d0[_0x3a26f9(0x1d0)](),'argsOfFunction':JSON['stringify'](_0x18de95),'invokeId':(_0x3840bc=_0x25b9b1['invokeId'])!=null?_0x3840bc:'','executionId':(_0x5e5968=_0x25b9b1[_0x3a26f9(0x274)])!=null?_0x5e5968:''};try{const _0x35b9b4=await this[_0x3a26f9(0x210)]['post'](_0x3b1a6f,{'body':_0x99a540});return _0x35b9b4['body'][_0x3a26f9(0x2bd)]&&_0x35b9b4[_0x3a26f9(0x2a0)][_0x3a26f9(0x2bd)][_0x3a26f9(0x200)]!==_0x3ddc83['OK']?_0x3a26f9(0x134):_0x35b9b4['body'][_0x3a26f9(0xe7)];}catch{return _0x3a26f9(0x134);}}},_0x1a6cab['RemoteUniscriptService']=_0x2977b6([_0x9c16f0(0x0,_0x4d006c['IUniverInstanceService']),_0x9c16f0(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x9c16f0(0x2,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab[_0x125ea8(0x1cf)]),_0x1a6cab['CollaborationStatusDisplay']=_0x22772b,_0x1a6cab['IURLService']=_0xade62c,_0x1a6cab[_0x125ea8(0x2bf)]=_0x415e6b,_0x1a6cab[_0x125ea8(0x131)]=_0x3d5db7,_0x1a6cab[_0x125ea8(0x2cd)]=_0x2d18ad,Object[_0x125ea8(0x2f8)](_0x1a6cab,Symbol[_0x125ea8(0x1fb)],{'value':_0x125ea8(0x2ca)});}));function _0x39ec(){const _0x7d86ad=['getUnhiddenWorksheets','Rectangle','_context','getVpScrollXYInfoByPosToVp','getCollabEntity$','_handleJoinEvent','key','COMPLETION_FINISHED','_docSkeletonManagerService','saveTaskMap','collabStatus.offline','USER_NOT_INVITED_CODE','setTimeout','colorChannel1','UniverCollaborationClientUIPlugin','propertyIsEnumerable','_eventUnsubscribe','DependentOn','getMemberID','parse','redoState','63cCUCfW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabStatus.conflict','_ensureSubject','COLORS','fillStyle','ThemeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RefRangeService','CollaborationStatus','PENDING','BrowserCollaborationSocketService','shareReplay','unit','doc.mutation.rich-text-editing','INVALID_ARGUMENT','location','WebBrowserSingleActiveUnitService','_labelPosition','_registerDependencies','Failed','getDocRanges','debug','clipPath','SessionStatus','71915OHgkAl','_updateLocalCursor','_entities','_anchor','CollaborationSocketService','_getScale','_setupBeforeClosingHandler','react','UNIVER_SHEET','_docSyncEditingCollabCursorService','useDependency','_cursorInfo$','purple300','onPointerEnter$','asObservable','CHANGESET_REVISION_CONFILICT','jsx','rxjs','transformIMECache','@univerjs/docs','DesktopCollaborationStatusDisplayController','searchParams','NOT_COLLAB','CollaborationController','getColor','_initStatusListener','INotificationService','_saveCache','APPLY_REVISION_CONFILICT','height','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveRightCommandId','text','JOIN_ROOM_FAILED','RegularPolygon','HEADER_MENU','CollaborationDataLoaderController','@univerjs/engine-render','_transformPreviousActiveRange','onTransformChange$','pluginName','PY_RUNTIME_SCRIPT_ERROR','_docStateChangeManagerService','collaboration.closeRoom','sheetID','_onCursorDelete','isTransformMutationsWithChangesetSuccess','_handleHover','_toggleOnline','UPDATE_CURSOR','CONNECTOR_DATA_TOO_LARGE','translate(.97)','setShapeProps','_initEvent','map','BehaviorSubject','_shapes','/run/','whenReady','on-line-single','_selfUnitIDs','url(#off-line-single_clip0_910_343)','isArray','M0\x200H16V16H0z','UniverProCollaboration','_updateSubUnitFromURLParams','_collaborationUIEventService','off-line-single','_logService','_getMergeRange','getSheetBySheetId','DocIMEInputManagerService','getCurrentRevOfUnit','_assignedColors','_range','InsertRowCommandId','transformRemoteChangeset','max','IRenderManagerService','_docTransformSelectionsService','Warning','_docSkeleton','APPLY_PERMISSION_DENIED','selection','children','RichTextEditingMutation','from','_initResize','loadOfflineData','_transformHistoryAndStateStack','APPLY_DUPLICATED','2700CSPxjC','_scene','UNRECOGNIZED','defIds','861uHPLuC','application/json','endRow','createInstance','onPointerLeave$','loadUnit','1em','ILogService','cursorInfo$','_onRefRangeChange','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','engine','syncEditingCollabCursor','_removeCollabCursors','send','ICommandService','setParam','YUUMI_UNABLE_LOAD_URL','_handleHeartbeatEvent','IImageIoService','getValue','Vector2','createIdentifier','_univerInstanceService','roomMembers$','SheetSkeletonManagerService','_localStorageService','getSkeleton','idSuffix','Tools','bottom','sheetId','href','icon','replace','_onCursorUpdate','call','onMouseMove','createElement','getOffsetConfig','ranges','DEFAULT_WS_SESSION_TICKET_URL','ENSURE_SNAPSHOT_EXECUTION','Rect','subunit','replaceDocRanges','startsWith','fillText','_themeService','getActiveRange','onCommandExecuted','assign','getCurrentUnitForType','_hideTimer','collaboration-client-ui.config','RemoteUniscriptService','getUnitId','transformMutation','_toggleOffline','YUUMI_ASYNCIO_CANCELLED','fill','CollaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','wsSessionTicketUrl','DataLoaderService','_refreshCollabCursors','collabStatus.synced','CommandType','moveTo','_localCacheService','SHEET_VIEWPORT_KEY','urlChange$','0\x200\x2017\x2016','MessageType','defs','INVITE_CODE_HAS_BEEN_UES','_sheetSkeletonManagerService','EffectRefRangId','NO_OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','_doCreateSocket','evenodd','_initDependencies','@univerjs/engine-formula','BuiltInUIPart','_memberService','...','_syncEditingCollabCursorService','replaceState','values','getSheetObject','_drawRectRange','transformByState','handleIRemoveRow','clearInterval','UNAUTHENTICATED','forEach','toStringTag','setConfig','handleInsertRangeMoveRight','_imageIoService','SetSelectionsOperation','code','transformSelections','onLocalMutation','getRenderById','_collabSessionService','get','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleClearOtherTimer','add','getOwnPropertyDescriptor','_roomMembers$','_startSheetCollabCursor','CollaborationUIEventId','width','indexOf','_entityInit$','_httpService','_collabCursorController','getTypeOfUnitDisposed$','registerRefRange','stringify','SetDocZoomRatioOperation','FromArray','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','displayName','set','executeCommand','restore','focused$','runOnServer','handleInsertCol','UNIVER_DOC','session.will-retry','entityInit$','_hovered','unitId','IUIPartsService','_messageService','saveOfflineData','react/jsx-runtime','useCallback','getViewport','delete','UniverProCollaborationClient','data','TEXT','collaboration.single-unit.warning','jsxs','_updateCollabCursors','size','_hover','concat','_scheduleSaving','CONFLICT','UniverDrawing','transformMutationsWithChangeset','_getSaveTimeout','ALREADY_EXISTS','ISnapshotServerService','Subject','substring','connectInjector','dispose','UNDEFINED','cursorInfo','handleMoveRange','OnLineSingle','skeleton','symbol','touchDependencies','fromEvent','newValue','@univerjs-pro/collaboration-client','registerDependencies','_drawTextRange','UniverDesign','IConfigService','UniverNetwork','NodePositionConvertToCursor','m2Prime','IMessageService','getRangePointData','getAncestorScale','CollaborationEvent','history','LOCAL_CACHE_INTERVAL','assignAColorForMemberID','_online','YUUMI_SUBSCRIPTION_NOT_FOUND','arc','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','CLOSE_ROOM','rxjs/operators','collabStatus.fetchMiss','ACTIVE_UNIT_EVENT_CHANNEL','ticket','_collaborationController','switchMap','_config','736353EDLxSZ','status$','debounceTime','svg','popstate','combineLatest','_urlService','MemberService','TOO_MANY_REQUESTS','_collabCursorState$','prototype','actions','registerComponent','transformStateCache','setAlpha','executionId','_draw','_beforeCloseService','name','UniverCore','getCellPositionByOffset','AWAITING_WITH_PENDING','getParam','OFFLINE','_notificationService','registerRenderModule','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','_session','dispose$','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_cursor','top','random','getOwnPropertySymbols','INTERNAL_ERROR','with','_uiPartsService','backgroundColor','flatMap','xlink:href','min','row','setInterval','toRgbString','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/rpc','USERS_LEAVE','ISocketService','getFocusedUnit','exports','measureText','path','InsertColCommandId','AWAITING','pushState','eventID','selections','body','DocStateChangeManagerService','complete','APPLY_NON_SEQUENTIAL_REVISION','drawWith','@univerjs/ui','0\x200\x2016\x2016','_renderManagerService','column','off-line-single_clip0_910_343','CollaborationUIEventService','show','@univerjs/design','_cursorShapes','distinctUntilChanged','univer-text-green-500','collabStatus.notCollab','_cachedData','takeUntil','ILocalCacheService','INVITE_CODE_ALREADY_BOUND','_initStatusComponent','RxDisposable','_disabled','984392EfDMWz','origin','on-line-single_clip0_910_349','event$','red300','error','_textBubble','SheetCollabCursorShape','_docTransformIMECacheService','_init','pipe','ITransformService','UniverEngineRender','16lQdAFM','_initCommandExecutedListener','setActiveRange','getLocalCacheKey','_configService','Module','findNodePositionByCharIndex','RemoveColCommandId','WebURLService','all','InsertRangeMoveDownCommandId','getMember','_color','300BNZlTy','activeSheet$','serializeRangeWithSheet','none','_revisionService','RemoveRowCommandId','undoState','storage','setStateCache','handleDeleteRangeMoveUp','_status$','OTHER_CLIENTS_EDITING','triggerDblclick','univer-text-red-500','startRow','@univerjs/sheets-ui','mapTo','currentTheme$','push','_unitOnClients','_drawAnchor','has','SOCKET_FAILED_RETRY','range','unload','_anchorDot','IUniverInstanceService','round','_createSocketURL','unshift','FETCH_MISS','runRefRangeMutations','_cursors','HTTPService','_registerRenderDependencies','filter','verdancy600','PERMISSION_DENIED','defineProperty','_id','_colorIndex','subscribe','@univerjs/network','params','clsx','black','mutations','trim','_clearOtherTimers','UnitStatus','210VdekOw','@univerjs/sheets','toString','function','#FFF','_getSessionTicket','getTypeOfUnitAdded$','m1Prime','getCollabCursors$','source','lineTo','jiqing500','getMergeData','_docClipboardService','collabCursorState$','debounce','onPointerMove$','DocSkeletonManagerService','string','LocaleService','includes','_localeService','_instanceService','then','className','Error','collaboration-client.offline-data-not-saved','extend','_heartbeatTimer','Injector','addEventListener','hide','APPLY_REJECT','YUUMI_RATE_OVER_LIMIT','subUnitId','Tooltip','SheetsSelectionsService','getCurrentSelections','Disposable','tag','_lastPointer','unsubscribe','onRendered','exhaustSavingTask','getConfig','addObject','runId','_injector','Inject','session.connection-failed','textRanges','next','mergeOverrideWithDependencies','collab-client.tooltip.reconnect','transform','_render','deserializeRangeWithSheet','getCoordByCell','12619255EPPbQj','collab-text-range-','_initEntityListener','LICENSE_DISTRO_REJECTED','unitID','setItem','split','univerjs-icon\x20univerjs-icon-','771918DIXtBf','resize','MOBILE_HAS_BEEN_BOUND','DocSelectionManagerService','collabStatus.syncing','length','currentColor','[CollaborationDataLoaderController]','_scheduleHeartbeat','_colorAssignService','_send','closePath','DocCollaborationEntity','25723152jqxUKX','SetWorksheetActivateCommand','url(#on-line-single_clip0_910_349)','_setupSubUnitSync','deepClone','mask','ONLINE','subscribeEvent','search','labelPosition','Shape','WECHAT_HAS_BEEN_BOUND','isTransformMutationFailure','docStateChange$','generateRandomId','div','UniverSheets','color','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','UniverInstanceType','type','_docTransformStateCacheService','Unknown\x20user','save','TEXT_RANGE_LAYER_INDEX','disposeWithMe','clearTimeout','_transformService','startColumn','getCurrent','IDocClipboardService','getStateCache','_getAnchorBounding','addClipboardHook','getRelativeToViewportCoord','@univerjs/core','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hasOwnProperty','attrs','result','_commandService','currentSkeleton$','_saveTaskMap','_handleEvent','_refRangeService','saveImage','RECT','imageSourceType','requireSession','useObservable','object','fromEventSubject','_updateURLWithCurrentState','forwardRef','_unitStatus','INVITE_CODE_REQUIRED','_backgroundColor','YUUMI_NO_CUBOID_FOR_QUESTION','_dataLoaderService','_name','registerBeforeClose','ColorKit','merge','getSheetId','isActive','init','uni.network.url-service','removeParam','Plugin','font','getUnitStatus$','roomMembers','_removeClearOtherTimer','toDisposable','@univerjs/drawing'];_0x39ec=function(){return _0x7d86ad;};return _0x39ec();}
|