@univerjs-pro/collaboration-client-ui 0.10.2 → 0.10.3-nightly.202508121228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +5 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1bfb(_0x4d2536,_0x3ac9aa){const _0x3f6bbe=_0x3f6b();return _0x1bfb=function(_0x1bfbd8,_0x56e38b){_0x1bfbd8=_0x1bfbd8-0x6f;let _0x59e79f=_0x3f6bbe[_0x1bfbd8];return _0x59e79f;},_0x1bfb(_0x4d2536,_0x3ac9aa);}function _0x3f6b(){const _0x5a7927=['_heartbeatTimer','IRenderManagerService','onMouseMove','_cursors','application/json','clipPath','_uiPartsService','_imageIoService','getFocusedUnit','getParam','6986084QulsrP','purple.300','YUUMI_UNABLE_LOAD_URL','xlink:href','CollaborationDataLoaderController','setAlpha','connectInjector','getOffsetConfig','getTypeOfUnitAdded$','unitId','IMessageService','UniverDocs','_setupSubUnitSync','off-line-icon','combineLatest','assign','DependentOn','white','_drawTextRange','className','getCurrentRevOfUnit','setActiveRange','length','RemoveColCommandId','transformRemoteChangeset','452990qEaveG','DeleteRangeMoveUpCommandId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','useRef','MOBILE_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','UNAUTHENTICATED','_saveCache','distinctUntilChanged','currentColor','hasOwnProperty','_getAnchorBounding','_refRangeService','_scheduleClearOtherTimer','getUnitId','eventID','_ensureSubject','collaboration.closeRoom','_getScale','collabStatus.notCollab','stringify','function','EMAIL_VERIFY_CODE_MISMATCH','INTERNAL_ERROR','Subject','_eventUnsubscribe','idSuffix','collaboration-client-ui.config','_initEvent','searchParams','EffectRefRangId','UniverEngineRender','transformByState','USER_NOT_INVITED_CODE','height','Unknown\x20user','onLocalMutation','setStateCache','row','IConfigService','has','arc','symbol','TEXT_RANGE_LAYER_INDEX','Shape','_render','_dataLoaderService','_createSocketURL','restore','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','green.600','CONNECTOR_DATA_TOO_LARGE','colorChannel1','ThemeService','transform','_config','entries','startColumn','substring','UniverInstanceType','_removeClearOtherTimer','_online','_anchorDot','_cursor','DEFAULT_WS_SESSION_TICKET_URL','_localeService','ranges','transformMutation','APPLY_DUPLICATED','SOCKET_FAILED','_docSkeletonManagerService','DeleteRangeMoveLeftCommandId','saveImage','react','addHandlerCallback','addObject','push','_id','handleIRemoveCol','registerDependencies','post','UniverProCollaboration','concat','resize','selection','registerRefRange','origin','transformStateCache','params','isArray','some','icon','map','getDocRanges','random','unload','show','ISocketService','EMAIL_HAS_BEEN_BOUND','getValue','currentSkeleton$','UniverCore','CollaborationUIEventService','getTypeOfUnitDisposed$','newValue','collaboration-client.offline-data-not-saved','debug','@univerjs/docs','0\x200\x2017\x2016','YUUMI_ALL_TABLES_IS_INVALID','getViewport','@univerjs/design','handleDeleteRangeMoveUp','PY_RUNTIME_SCRIPT_ERROR','_collabCursorState$','replaceState','FromArray','WebSocketService','CLOSE_ROOM','_drawAnchor','_revisionService','call','fillRule','deepClone','round','session.will-retry','handleDeleteRangeMoveLeft','subscribeEvent','_transformUndoRedoStack','filter','INVALID_ARGUMENT','handleInsertRangeMoveRight','getMemberID','MessageType','collabStatus.synced','NOT_FOUND','DisposableCollection','_initResize','min','_shapes','jsxs','width','_scheduleHeartbeat','_sheetSkeletonManagerService','_docTransformSelectionsService','Optional','NodePositionConvertToRectRange','column','translate(.97)','Tools','handleInsertCol','@univerjs/docs-ui','measureText','m1Prime','endRow','createElement','off-line-icon_clip0_910_343','Injector','MemberService','toStringTag','urlChange$','SetWorksheetActivateCommand','_range','UniverNetwork','_onCursorDelete','loadOfflineData','unitID','LICENSE_DISTRO_REJECTED','memberID','_init','clearInterval','loadUnit','collabStatus.offline','getCollabCursors$','React','setConfig','status$','@univerjs-pro/collaboration','lineTo','_registerRenderDependencies','yellow.400','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','whenReady','displayName','disposeUnit','session.connection-failed','Failed','isActive','Workbook','type','_localCacheService','getRangePointData','code','rxjs','extend','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRendered','SessionStatus','_transformPreviousActiveRange','shareReplay','_hideTimer','size','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collabCursorController','updateOfflineData','_toggleOffline','getUndoRedoMutationParamsCache','HTTPService','actions','DocCollaborationEntity','session.collaboration-timeout','operators','hovered','collab-rect-range-','sessionStatus$','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','hide','UniverDesign','_injector','CollaborationStatus','focused$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabCursorState$','send','onTransformChange$','LocaleService','RemoteUniscriptService','pushState','LOCAL_CACHE_INTERVAL_KEY','5132166zTyhZU','syncEditingCollabCursor','jsx','UNIVER_DOC','INVALID_INVITE_CODE','_anchor','tag','_transformHistoryAndStateStack','children','OffLineIcon','_getSheetObject','sheetID','UniverRpc','forEach','drawWith','FETCH_MISS','getOwnPropertyDescriptor','Rectangle','_urlService','debounce','replaceDocRanges','registerBeforeClose','IUniverInstanceService','SNAPSHOT_INVALID_SNAPSHOT','mask','dispose','295416ILuSmT','DOC_RANGE_TYPE','saveOfflineData','use','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','color','handleInsertRangeMoveDown','executionId','unsubscribe','_getMergeRange','attrs','body','RefRangeService','_session','_refreshCollabCursors','subscribe','triggerDblclick','invokeId','values','setShapeProps','CommandType','_toggleOnline','SheetCollabCursorShape','Warning','@univerjs/ui','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','#FFF','entityInit$','_textBubble','_beforeCloseService','fillText','defs','_unitStatus','/run/','BuiltInUIPart','_commandService','save','BrowserCollaborationSocketService','get','history','16194216CJQZnH','none','_removeCollabCursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','ACTIVE_UNIT_EVENT_CHANNEL','OnLineIcon','skeleton','defIds','createIdentifier','handleMoveRange','YUUMI_AI_RUN_FAILED','ONLINE','_configService','getOwnPropertySymbols','indexOf','Error','_initStatusComponent','moveTo','SOCKET_FAILED_RETRY','RemoveRowCommandId','url(#off-line-icon_clip0_910_343)','redoState','backgroundColor','complete','OTHER_CLIENT_EDITING','RevisionService','MOBILE_HAS_BEEN_BOUND','_clearOtherTimers','@univerjs/sheets','CollaborationUIEventId','_localStorageService','RxDisposable','_messageService','getColor','WECHAT_HAS_BEEN_BOUND','UniverDocsUi','_status$','disposeWithMe','url(#on-line-icon_clip0_910_349)','ColorKit','name','from','MUTATION','_assignedColors','string','SetTextSelectionsOperation','_updateLocalCursor','_collaborationUIEventService','getSheetId','find','_themeService','UPDATE_CURSOR','black','APPLY_REJECT','_colorAssignService','href','div','collabStatus.syncing','collabStatus.fetchMiss','with','NOT_COLLAB','COMPLETION_FINISHED','IUIPartsService','PERMISSION_DENIED','toDisposable','runId','roomMembers$','_docSkeleton','_docTransformStateCacheService','_updateURLWithCurrentState','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','setParam','getSkeleton','APPLY_PERMISSION_DENIED','startRow','undoState','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REVISION_CONFILICT','search','Module','result','VIEW_MAIN','_registerDependencies','collab-text-range-','prototype','INVITE_CODE_REQUIRED','closePath','YUUMI_ASYNCIO_CANCELLED','_selfUnitIDs','merge','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleSaving','takeUntil','clearTimeout','trim','_initCommandExecutedListener','svg','error','currentTheme$','_memberService','text','_hovered','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','on-line-icon','getConfig','DesktopCollaborationStatusDisplayController','transformSelections','_draw','on-line-icon_clip0_910_349','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEventSubject','transformIMECache','asObservable','_handleLeaveEvent','mapTo','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','getSheetObject','getColorFromTheme','CollaborationSessionService','_docStateChangeManagerService','Disposable','_getSessionTicket','enableLocalCache','getLocalCacheKey','beginPath','next','isTransformMutationsWithChangesetSuccess','ICommandService','onPointerMove$','doc.mutation.rich-text-editing','ILocalCacheService','Vector2','collab-client.tooltip.reconnect','removeParam','url(#$1','_renderManagerService','setItem','UnitStatus','generateRandomId','_scene','CollaborationController','Rect','CHANGESET_REVISION_CONFILICT','popstate','deserializeRangeWithSheet','range','toString','APPLY_NON_SEQUENTIAL_REVISION','add','replace','_unitOnClients','_collaborationController','_initStatusListener','LOGIN_FAILED','setTimeout','object','m2Prime','flatMap','OTHER_CLIENTS_EDITING','_notificationService','toRgbString','mutations','max','UniverProCollaborationClient','sessionTicket','addEventListener','SYNCED','_lastPointer','USERS_LEAVE','_handleEvent','jiqing.500','@univerjs/engine-formula','then','_handleHover','propertyIsEnumerable','_hover','INVITE_CODE_ALREADY_BOUND','pipe','...','_syncEditingCollabCursorService','_roomMembers$','source','textRanges','imageSourceType','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','UniverIcon','bottom','@univerjs/network','cursorInfo$','switchMap','InsertColCommandId','unshift','font','UNIVER_SHEET','getMember','INVITE_CODE_HAS_BEEN_UES','IDocClipboardService','_handleJoinEvent','_startSheetCollabCursor','DocIMEInputManagerService','_disabled','ILocalStorageService','@univerjs/sheets-ui','DocSelectionManagerService','pluginName','event$','Inject','_cursorInfo$','fill','_docClipboardService','_httpService','_collabSessionService','UNRECOGNIZED','sheetId','collab-text-anchor-','parse','red.300','LICENSE_EXPORT_SIZE_EXCEEDED','_send','onPointerEnter$','getAncestorScale','executeCommand','wsSessionTicketUrl','COLORS','Tooltip','_docSyncEditingCollabCursorService','storage','editingUnit','_labelPosition','subunit','registerRenderModule','registerComponent','includes','getSheetBySheetId','_colorIndex','createInstance','onCommandExecuted','onStarting','isTransformMutationFailure','engine','@univerjs-pro/collaboration-client','TEXT','_color','[CollaborationDataLoaderController]','setInterval','RichTextEditingMutation','BehaviorSubject','IBeforeCloseService','RegularPolygon','UniverCollaborationClientUIPlugin','_entityInit$','_initEntityListener','InsertRowCommandId','evenodd','getUniverSheetInstance','path','INotificationService','LICENSE_MAX_UNITS_EXCEEDED','react/jsx-runtime','location','_handleHeartbeatEvent','ITransformService','dispose$','ILogService','_cachedData','getCoordByCell','findNodePositionByCharIndex','cursorInfo','exhaustSavingTask','_backgroundColor','_saveTaskMap','override','_transformService','top','defineProperty','_name','_getSaveTimeout','1em','RECT','getUnhiddenWorksheets','1016920rWrqBt','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENSURE_SNAPSHOT_EXECUTION','debounceTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEvent','forwardRef','isEditing','_univerInstanceService','_initDependencies','DocSkeletonManagerService','getUnitStatus$','makeDirty','_context','UniverDrawing','@univerjs/engine-render','key','getActiveSheet','getActiveRange','ticket','exports','contains','useDependency','rxjs/operators','NO_OTHER_CLIENTS_EDITING','fillStyle','addObjects','createSocket','unit','getStateCache','TOO_MANY_REQUESTS','requireSession','_logService','_cursorShapes','delete','M0\x200H16V16H0z','CollaborationEvent','_entities','_updateCollabCursors','_instanceService','2246516jhRHDd','IURLService','InsertRangeMoveRightCommandId','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','init','permission.title','useCallback','roomMembers','5UCVhAl'];_0x3f6b=function(){return _0x5a7927;};return _0x3f6b();}(function(_0x47674f,_0x53209b){const _0x3ae961=_0x1bfb,_0x431aa7=_0x47674f();while(!![]){try{const _0x8b4571=parseInt(_0x3ae961(0x213))/0x1+-parseInt(_0x3ae961(0x1bc))/0x2+-parseInt(_0x3ae961(0x76))/0x3+-parseInt(_0x3ae961(0x1e6))/0x4*(-parseInt(_0x3ae961(0x1ef))/0x5)+-parseInt(_0x3ae961(0x300))/0x6+-parseInt(_0x3ae961(0x1fa))/0x7+parseInt(_0x3ae961(0xa0))/0x8;if(_0x8b4571===_0x53209b)break;else _0x431aa7['push'](_0x431aa7['shift']());}catch(_0x15268e){_0x431aa7['push'](_0x431aa7['shift']());}}}(_0x3f6b,0x8d41f),function(_0x330c26,_0x51112a){const _0x14ece9=_0x1bfb;typeof exports==_0x14ece9(0x13e)&&typeof module<'u'?_0x51112a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x14ece9(0x22b)&&define['amd']?define([_0x14ece9(0x1d2),_0x14ece9(0x194),'@univerjs/core',_0x14ece9(0x1cd),_0x14ece9(0x15f),_0x14ece9(0x2af),'@univerjs/drawing',_0x14ece9(0x2db),_0x14ece9(0x2c9),_0x14ece9(0x283),_0x14ece9(0x14e),_0x14ece9(0xbd),_0x14ece9(0x1d5),_0x14ece9(0x16e),_0x14ece9(0x1a6),_0x14ece9(0x8f),_0x14ece9(0x287),_0x14ece9(0x261),'@univerjs/rpc'],_0x51112a):(_0x330c26=typeof globalThis<'u'?globalThis:_0x330c26||self,_0x51112a(_0x330c26['UniverProCollaborationClientUi']={},_0x330c26[_0x14ece9(0x146)],_0x330c26[_0x14ece9(0x27d)],_0x330c26[_0x14ece9(0x235)],_0x330c26[_0x14ece9(0x2bb)],_0x330c26[_0x14ece9(0xc4)],_0x330c26[_0x14ece9(0x1cc)],_0x330c26[_0x14ece9(0x2db)],_0x330c26[_0x14ece9(0x269)],_0x330c26[_0x14ece9(0x205)],_0x330c26['UniverEngineFormula'],_0x330c26['UniverSheets'],_0x330c26[_0x14ece9(0x2db)][_0x14ece9(0x2ed)],_0x330c26['UniverSheetsUi'],_0x330c26[_0x14ece9(0x2c6)],_0x330c26['UniverUi'],_0x330c26[_0x14ece9(0x2f4)],_0x330c26[_0x14ece9(0x2c6)],_0x330c26[_0x14ece9(0x30c)]));}(this,function(_0x4e590a,_0x4d8e7c,_0x3c1804,_0x214f70,_0x3ceccb,_0x4aced0,_0x218659,_0x23318b,_0x4b9b03,_0x3c10b0,_0x5f241f,_0x441e63,_0x46a0e3,_0x476013,_0x508896,_0xb7c596,_0x2e0a42,_0x264b32,_0x9f1645){'use strict';const _0x2a4230=_0x1bfb;var _0x380276=Object[_0x2a4230(0x1b6)],_0x1c82e5=(_0x15d054,_0x236b24,_0x1c9404)=>_0x236b24 in _0x15d054?_0x380276(_0x15d054,_0x236b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c9404}):_0x15d054[_0x236b24]=_0x1c9404,_0x275745=(_0x1bed32,_0x492827,_0x10bca9)=>_0x1c82e5(_0x1bed32,typeof _0x492827!=_0x2a4230(0x240)?_0x492827+'':_0x492827,_0x10bca9),_0x3d403f=Object['getOwnPropertyDescriptor'],_0x1fe922=(_0x5553a3,_0x5e7d42,_0x558daa,_0x109cf6)=>{const _0xc8ea23=_0x2a4230;for(var _0x17b5dd=_0x109cf6>0x1?void 0x0:_0x109cf6?_0x3d403f(_0x5e7d42,_0x558daa):_0x5e7d42,_0x44928a=_0x5553a3[_0xc8ea23(0x210)]-0x1,_0x1f6e35;_0x44928a>=0x0;_0x44928a--)(_0x1f6e35=_0x5553a3[_0x44928a])&&(_0x17b5dd=_0x1f6e35(_0x17b5dd)||_0x17b5dd);return _0x17b5dd;},_0x5ad8e6=(_0x12c773,_0x40f69f)=>(_0xe3e779,_0x53db87)=>_0x40f69f(_0xe3e779,_0x53db87,_0x12c773);let _0x34b7fc=class extends _0x3c1804['RxDisposable']{constructor(_0x16105d,_0x2bf1a2){const _0x37d369=_0x2a4230;super(),this[_0x37d369(0x175)]=_0x16105d,this[_0x37d369(0x1f7)]=_0x2bf1a2,this[_0x37d369(0x2c1)]();}['_init'](){const _0x43380d=_0x2a4230,_0x3092ee=this;this[_0x43380d(0xc6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5dbdde=>{const _0x5c014f=_0x43380d,_0x11312f=await _0x3092ee[_0x5c014f(0x1f7)][_0x5c014f(0x260)](_0x5dbdde);return _0x11312f?{'source':_0x11312f[_0x5c014f(0x158)],'imageSourceType':_0x11312f[_0x5c014f(0x15a)]}:null;}}));}};_0x34b7fc=_0x1fe922([_0x5ad8e6(0x0,_0x4aced0[_0x2a4230(0x168)]),_0x5ad8e6(0x1,_0x218659['IImageIoService'])],_0x34b7fc);const _0x5d0736=[_0x2a4230(0x1fb),_0x2a4230(0x14d),_0x2a4230(0x24a),_0x2a4230(0x17c),'blue.400',_0x2a4230(0x2cc)];class _0x7baa89 extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x5358ee=_0x2a4230;super(...arguments),_0x275745(this,_0x5358ee(0xcc),new Map()),_0x275745(this,_0x5358ee(0x18e),0x0);}[_0x2a4230(0x116)](_0x590c55){const _0x38326a=_0x2a4230;if(this[_0x38326a(0xcc)]['has'](_0x590c55))return this[_0x38326a(0xcc)]['get'](_0x590c55);const _0x15b059=_0x5d0736[this['_colorIndex']];return this[_0x38326a(0x18e)]=(this[_0x38326a(0x18e)]+0x1)%_0x5d0736[_0x38326a(0x210)],this[_0x38326a(0xcc)][_0x38326a(0x2cd)](_0x590c55,_0x15b059),_0x15b059;}}function _0x16b563(_0x125c96){const _0x68dc4c=_0x2a4230;let _0x3f2d17='';for(const _0x96525b of _0x125c96){const {startOffset:_0x4a32e5,endOffset:_0x5086b0,isActive:_0x33d863,rangeType:_0x2eeac8,segmentId:_0xe46ddf,segmentPage:_0x910b4d}=_0x96525b;_0x3f2d17[_0x68dc4c(0x210)]&&(_0x3f2d17+=','),_0x3f2d17+=_0x4a32e5+':'+_0x5086b0+':'+(_0x33d863?'1':'0')+':'+_0x2eeac8+':'+_0xe46ddf+':'+_0x910b4d;}return _0x3f2d17;}function _0x2357db(_0xd96c48){const _0x325e9c=_0x2a4230,_0x34d425=_0xd96c48['split'](','),_0x464a68=[];for(const _0x37bf30 of _0x34d425){const [_0x232a32,_0x447c5f,_0x2fdf8f,_0x370c83,_0x4e62d1,_0x2bcdc7]=_0x37bf30['split'](':');_0x464a68[_0x325e9c(0x264)]({'startOffset':Number(_0x232a32),'endOffset':Number(_0x447c5f),'collapsed':_0x232a32===_0x447c5f,'isActive':_0x2fdf8f==='1','rangeType':_0x370c83===_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]?_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]:_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x1ba)],'segmentId':typeof _0x4e62d1==_0x325e9c(0xcd)?String(_0x4e62d1):'','segmentPage':Number(_0x2bcdc7!=null?_0x2bcdc7:-0x1)});}return _0x464a68[_0x325e9c(0x272)](_0x556dc1=>_0x556dc1[_0x325e9c(0x2d5)])||(_0x464a68[0x0][_0x325e9c(0x2d5)]=!0x0),_0x464a68;}class _0x149923 extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x421fc4=_0x2a4230;super(...arguments),_0x275745(this,'_collabCursorState$',new _0x23318b[(_0x421fc4(0x19a))](null)),_0x275745(this,_0x421fc4(0x2f9),this[_0x421fc4(0x28a)][_0x421fc4(0x112)]());}[_0x2a4230(0x301)](_0x1a0b5b){const _0x26a70f=_0x2a4230,{unitID:_0x3314c9,memberID:_0x3671f5,textRanges:_0x176b10}=_0x1a0b5b,_0x16b09c=_0x16b563(_0x176b10);if(_0x16b09c==='')return;const _0x295e34={'unitID':_0x3314c9,'memberID':_0x3671f5,'selection':_0x16b09c};this[_0x26a70f(0x28a)][_0x26a70f(0x120)](_0x295e34);}}var _0x4d7bdb=Object[_0x2a4230(0x310)],_0x309cb6=(_0x191df8,_0x3d7ed,_0x58ca6a,_0x5c3fea)=>{const _0x586a4d=_0x2a4230;for(var _0x256c72=_0x5c3fea>0x1?void 0x0:_0x5c3fea?_0x4d7bdb(_0x3d7ed,_0x58ca6a):_0x3d7ed,_0x503230=_0x191df8[_0x586a4d(0x210)]-0x1,_0xe4bf9f;_0x503230>=0x0;_0x503230--)(_0xe4bf9f=_0x191df8[_0x503230])&&(_0x256c72=_0xe4bf9f(_0x256c72)||_0x256c72);return _0x256c72;},_0x5def13=(_0x288c71,_0x54703b)=>(_0x251096,_0x418cfb)=>_0x54703b(_0x251096,_0x418cfb,_0x288c71);const _0x8abd4f=0x12c,_0xd996b=0x64;let _0xe43420=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x64fe76,_0x5fd131,_0x1b7b1d,_0x3283e6,_0x1723de,_0x33b8d4,_0x4490f2,_0x27cbae,_0x280b4f){const _0x35210a=_0x2a4230;super(),_0x275745(this,_0x35210a(0x255),!0x1),_0x275745(this,_0x35210a(0x2c1),!0x1),_0x275745(this,_0x35210a(0x173),new _0x23318b[(_0x35210a(0x19a))](new Map())),_0x275745(this,_0x35210a(0x160),this[_0x35210a(0x173)][_0x35210a(0x112)]()),_0x275745(this,_0x35210a(0x157),new _0x23318b[(_0x35210a(0x19a))]([])),_0x275745(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x23318b[_0x35210a(0x1c1)](_0x8abd4f))),_0x275745(this,'_updateLocalCursor',_0x3c1804[_0x35210a(0x6f)](_0x4152e2=>{const _0xde52e=_0x35210a,_0x2c51f8={'eventID':_0x4b9b03['CollaborationEvent'][_0xde52e(0xd4)],'data':{'unitID':this[_0xde52e(0x2be)],'memberID':this[_0xde52e(0x84)][_0xde52e(0x29c)](),'selection':_0x16b563(_0x4152e2)}};this[_0xde52e(0x84)][_0xde52e(0x2fa)](_0x2c51f8,this[_0xde52e(0x2be)]);},_0xd996b)),(this['unitID']=_0x64fe76,this[_0x35210a(0x84)]=_0x5fd131,this[_0x35210a(0x2f5)]=_0x1b7b1d,this[_0x35210a(0xd7)]=_0x3283e6,this[_0x35210a(0x105)]=_0x1723de,this[_0x35210a(0x156)]=_0x33b8d4,this[_0x35210a(0x1b4)]=_0x4490f2,this[_0x35210a(0x1c6)]=_0x27cbae,this['_commandService']=_0x280b4f);}get[_0x2a4230(0x1af)](){const _0x5f17e3=_0x2a4230;return this[_0x5f17e3(0x173)][_0x5f17e3(0x27b)]();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}[_0x2a4230(0x75)](){const _0x5839ab=_0x2a4230;super[_0x5839ab(0x75)](),this[_0x5839ab(0x173)][_0x5839ab(0x120)](new Map()),this[_0x5839ab(0x173)][_0x5839ab(0xb8)](),this['_roomMembers$']['next']([]),this[_0x5839ab(0x157)][_0x5839ab(0xb8)]();}[_0x2a4230(0x1eb)](){const _0x9dbda5=_0x2a4230;this[_0x9dbda5(0x2c1)]||(this[_0x9dbda5(0x2c1)]=!0x0,this[_0x9dbda5(0x84)][_0x9dbda5(0x2f0)][_0x9dbda5(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x9dbda5(0x86)](_0x448df7=>{const _0x213078=_0x9dbda5;_0x448df7===_0x4d8e7c[_0x213078(0x2df)][_0x213078(0xac)]?this[_0x213078(0x8c)]():this['_toggleOffline']();}),this['_session'][_0x9dbda5(0x171)][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this[_0x9dbda5(0x1aa)]))[_0x9dbda5(0x86)](_0x20eb96=>{const _0xd029e1=_0x9dbda5,_0x17a134=_0x20eb96[_0xd029e1(0x225)];_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)][_0xd029e1(0xd4)]&&this['_onCursorUpdate'](_0x20eb96),_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)]['USERS_LEAVE']&&this[_0xd029e1(0x2bc)](_0x20eb96);}),this[_0x9dbda5(0xc6)](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x2674b0=>{const _0x188ee6=_0x9dbda5,_0x366938=_0x2674b0[_0x188ee6(0x270)];_0x366938!=null&&this[_0x188ee6(0x255)]&&_0x2674b0['id']===_0x3c10b0[_0x188ee6(0xce)]['id']&&_0x366938['unitId']===this['unitID']&&_0x366938[_0x188ee6(0x1c5)]===!0x1&&_0x366938[_0x188ee6(0x25a)][_0x188ee6(0x210)]>0x0&&this['_updateLocalCursor'](_0x366938[_0x188ee6(0x25a)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this['dispose$']))[_0x9dbda5(0x86)](_0x4a7b77=>{const _0x4191b6=_0x9dbda5;if((_0x4a7b77==null?void 0x0:_0x4a7b77[_0x4191b6(0x2be)])!==this[_0x4191b6(0x2be)])return;const _0x389cc2={'eventID':_0x4b9b03[_0x4191b6(0x1e2)][_0x4191b6(0xd4)],'data':_0x4a7b77};this[_0x4191b6(0x218)](_0x389cc2);}),this['disposeWithMe'](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x767cf7=>{const _0x597b79=_0x9dbda5;if(_0x767cf7[_0x597b79(0x270)]==null)return;const _0x4c8bd6=_0x767cf7['params'];if(_0x767cf7['id']!==_0x3c10b0[_0x597b79(0x199)]['id']||_0x4c8bd6[_0x597b79(0x203)]!==this['unitID'])return;const _0x3277c3={'id':_0x597b79(0x124),'params':_0x4c8bd6},_0x2115a5=this['cursorInfo'];for(const [_0x1952a5,_0x147dd1]of _0x2115a5){const _0x27c339={'id':_0x597b79(0x124),'params':{'unitId':this[_0x597b79(0x2be)],'actions':null,'textRanges':_0x147dd1[_0x597b79(0x25a)]}},_0x248729=this[_0x597b79(0x1b4)][_0x597b79(0x25b)](_0x3277c3,_0x27c339,!0x1);if(_0x4b9b03[_0x597b79(0x192)](_0x248729))throw _0x248729['error'];_0x2115a5[_0x597b79(0x2cd)](_0x1952a5,{..._0x147dd1,'ranges':_0x248729['m2Prime'][_0x597b79(0x270)][_0x597b79(0x159)]});}queueMicrotask(()=>{const _0x410eba=_0x597b79;this[_0x410eba(0x173)][_0x410eba(0x120)](_0x2115a5);});})));}['_onCursorUpdate'](_0x1af999){const _0x1c1be0=_0x2a4230;var _0x4eb9c3,_0x5d328c;const {memberID:_0x162b4d,selection:_0x418822}=_0x1af999[_0x1c1be0(0xa4)],_0x57d696=_0x2357db(_0x418822),_0x466e9c=(_0x5d328c=(_0x4eb9c3=this[_0x1c1be0(0x105)][_0x1c1be0(0x166)](this[_0x1c1be0(0x2be)],_0x162b4d))==null?void 0x0:_0x4eb9c3[_0x1c1be0(0xc9)])!=null?_0x5d328c:_0x1c1be0(0x239),_0x16f604={'color':this[_0x1c1be0(0xd7)][_0x1c1be0(0x116)](_0x162b4d),'name':_0x466e9c,'ranges':_0x57d696},_0x86def6=this[_0x1c1be0(0x1af)];_0x86def6['set'](_0x162b4d,_0x16f604),this[_0x1c1be0(0x173)][_0x1c1be0(0x120)](_0x86def6);}[_0x2a4230(0x2bc)](_0x11f519){const _0x5dc8c1=_0x2a4230,{memberID:_0x21d0c8}=_0x11f519[_0x5dc8c1(0xa4)],_0x312cbe=this[_0x5dc8c1(0x1af)];_0x312cbe[_0x5dc8c1(0x1e0)](_0x21d0c8),this[_0x5dc8c1(0x173)][_0x5dc8c1(0x120)](_0x312cbe);}['_toggleOnline'](){const _0x59cc9d=_0x2a4230;var _0x16c87c;if(this[_0x59cc9d(0x255)]=!0x0,((_0x16c87c=this['_univerInstanceService'][_0x59cc9d(0x1f8)]())==null?void 0x0:_0x16c87c['getUnitId']())!==this[_0x59cc9d(0x2be)])return;const _0x271c9e=this[_0x59cc9d(0x2f5)][_0x59cc9d(0x9e)](_0x3c10b0[_0x59cc9d(0x16f)])[_0x59cc9d(0x275)]();Array[_0x59cc9d(0x271)](_0x271c9e)&&_0x271c9e[_0x59cc9d(0x210)]>0x0&&this[_0x59cc9d(0xcf)](_0x271c9e);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0xe43420=_0x309cb6([_0x5def13(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5def13(0x3,_0x3c1804[_0x2a4230(0x172)](_0x7baa89)),_0x5def13(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x5def13(0x5,_0x3c1804[_0x2a4230(0x172)](_0x149923)),_0x5def13(0x6,_0x4b9b03[_0x2a4230(0x1a9)]),_0x5def13(0x7,_0x3c1804[_0x2a4230(0x72)]),_0x5def13(0x8,_0x3c1804[_0x2a4230(0x122)])],_0xe43420);var _0x2a39ea=Object['getOwnPropertyDescriptor'],_0x209e9f=(_0x122f81,_0x3d4769,_0x22732a,_0x2f7fe8)=>{for(var _0x569ccb=_0x2f7fe8>0x1?void 0x0:_0x2f7fe8?_0x2a39ea(_0x3d4769,_0x22732a):_0x3d4769,_0x3fd904=_0x122f81['length']-0x1,_0x285981;_0x3fd904>=0x0;_0x3fd904--)(_0x285981=_0x122f81[_0x3fd904])&&(_0x569ccb=_0x285981(_0x569ccb)||_0x569ccb);return _0x569ccb;},_0x6eef53=(_0x4d68da,_0x374d4b)=>(_0x4398cb,_0x3075c8)=>_0x374d4b(_0x4398cb,_0x3075c8,_0x4d68da);const _0x1acebf=0x12c,_0x21d725=0x64,_0x52d308=()=>{let _0x3ce80c=[],_0x4087e4=!0x1;return _0x2e92ce=>{const _0x2eee88=_0x1bfb;_0x3ce80c[_0x2eee88(0x264)](_0x2e92ce),_0x4087e4||(_0x4087e4=!0x0,setTimeout(()=>{_0x3ce80c['forEach'](_0x7314b4=>_0x7314b4()),_0x3ce80c=[],_0x4087e4=!0x1;}));};};let _0x3b49f4=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x11cdcd,_0x251285,_0xe2752f,_0x15e388,_0x3c013c,_0x13342c,_0x3366cb,_0x417020){const _0x39cc7c=_0x2a4230;super(),_0x275745(this,_0x39cc7c(0x255),!0x1),_0x275745(this,'_init',!0x1),_0x275745(this,_0x39cc7c(0x173),new _0x23318b[(_0x39cc7c(0x19a))](new Map())),_0x275745(this,'cursorInfo$',this[_0x39cc7c(0x173)][_0x39cc7c(0x112)]()),_0x275745(this,'_roomMembers$',new _0x23318b[(_0x39cc7c(0x19a))]([])),_0x275745(this,_0x39cc7c(0xe3),this[_0x39cc7c(0x157)][_0x39cc7c(0x154)](_0x23318b[_0x39cc7c(0x1c1)](_0x1acebf))),_0x275745(this,'_updateLocalCursor',_0x3c1804['debounce']((_0xc4ab2f,_0x5129da)=>{const _0xa372ad=_0x39cc7c,_0x3d3c7b={'eventID':_0x4b9b03[_0xa372ad(0x1e2)][_0xa372ad(0xd4)],'data':{'unitID':this['unitID'],'memberID':this[_0xa372ad(0x84)][_0xa372ad(0x29c)](),'selection':_0x5f241f['serializeRangeWithSheet'](_0xc4ab2f,_0x5129da[_0xa372ad(0x134)])}};this[_0xa372ad(0x84)][_0xa372ad(0x2fa)](_0x3d3c7b,this[_0xa372ad(0x2be)]);},_0x21d725)),(this[_0x39cc7c(0x2be)]=_0x11cdcd,this['_session']=_0x251285,this['_injector']=_0xe2752f,this[_0x39cc7c(0xd7)]=_0x15e388,this['_memberService']=_0x3c013c,this['_univerInstanceService']=_0x13342c,this[_0x39cc7c(0x9b)]=_0x3366cb,this[_0x39cc7c(0x222)]=_0x417020);}get[_0x2a4230(0x1af)](){return this['_cursorInfo$']['getValue']();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xb355cb=_0x2a4230;super[_0xb355cb(0x75)](),this[_0xb355cb(0x173)][_0xb355cb(0x120)](new Map()),this[_0xb355cb(0x173)][_0xb355cb(0xb8)](),this[_0xb355cb(0x157)][_0xb355cb(0x120)]([]),this['_roomMembers$'][_0xb355cb(0xb8)]();}['init'](){const _0x40aa7e=_0x2a4230;this[_0x40aa7e(0x2c1)]||(this[_0x40aa7e(0x2c1)]=!0x0,this[_0x40aa7e(0x84)][_0x40aa7e(0x2f0)]['pipe'](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x3fa38e=>{const _0x274179=_0x40aa7e;_0x3fa38e===_0x4d8e7c['SessionStatus'][_0x274179(0xac)]?this[_0x274179(0x8c)]():this['_toggleOffline']();}),this[_0x40aa7e(0x84)][_0x40aa7e(0x171)][_0x40aa7e(0x154)](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x1415d4=>{const _0xcc6b68=_0x40aa7e,_0x589bf5=_0x1415d4[_0xcc6b68(0x225)];_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0xd4)]&&this[_0xcc6b68(0x218)](_0x1415d4),_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0x14b)]&&this[_0xcc6b68(0x2bc)](_0x1415d4);}),this[_0x40aa7e(0x2cf)](),this[_0x40aa7e(0xc6)](this['_commandService']['onCommandExecuted'](_0xde272e=>{const _0x298582=_0x40aa7e;if(this['_online']&&_0xde272e['id']===_0x441e63['SetSelectionsOperation']['id']&&_0xde272e[_0x298582(0x270)][_0x298582(0x203)]===this[_0x298582(0x2be)]){const _0x1ae982=_0xde272e[_0x298582(0x270)];this[_0x298582(0xcf)](_0x1ae982['subUnitId'],_0x1ae982['selections'][0x0]);}})));}[_0x2a4230(0x218)](_0x12a612){const _0x27f0d2=_0x2a4230;var _0x2517bf,_0x5163e9;const {memberID:_0x3d2549,selection:_0x41ec11}=_0x12a612[_0x27f0d2(0xa4)],{sheetName:_0x167449,range:_0x486725}=_0x5f241f[_0x27f0d2(0x133)](_0x41ec11),_0x40cc5c={'name':(_0x5163e9=(_0x2517bf=this['_memberService']['getMember'](this[_0x27f0d2(0x2be)],_0x3d2549))==null?void 0x0:_0x2517bf['name'])!=null?_0x5163e9:_0x27f0d2(0x239),'range':this[_0x27f0d2(0x80)](_0x167449,_0x486725),'sheetID':_0x167449,'color':this['_colorAssignService'][_0x27f0d2(0x116)](_0x3d2549),'selection':_0x41ec11},_0x56f44b=this[_0x27f0d2(0x1af)];_0x56f44b['set'](_0x3d2549,_0x40cc5c),this[_0x27f0d2(0x173)][_0x27f0d2(0x120)](_0x56f44b);}[_0x2a4230(0x2bc)](_0x177a4b){const _0x2abb3b=_0x2a4230,{memberID:_0x5db0b9}=_0x177a4b['data'],_0x35d5fe=this[_0x2abb3b(0x1af)];_0x35d5fe['delete'](_0x5db0b9),this['_cursorInfo$'][_0x2abb3b(0x120)](_0x35d5fe);}[_0x2a4230(0x80)](_0x2cb537,_0x3a1623){const _0x18c111=_0x2a4230;var _0xe2869c,_0x279ccc;const _0x4cede3=(_0x279ccc=(_0xe2869c=this[_0x18c111(0x1c6)][_0x18c111(0x1a2)](this[_0x18c111(0x2be)]))==null?void 0x0:_0xe2869c[_0x18c111(0x18d)](_0x2cb537))==null?void 0x0:_0x279ccc['getMergeData']();return(_0x4cede3==null?void 0x0:_0x4cede3[_0x18c111(0xd2)](_0x49bc1a=>_0x3c1804[_0x18c111(0x311)][_0x18c111(0x1d3)](_0x49bc1a,_0x3a1623)))||_0x3a1623;}[_0x2a4230(0x2cf)](){const _0xa019fc=_0x2a4230,_0x28c2a4=new _0x3c1804[(_0xa019fc(0x2a0))](),_0x2a16e7=_0x52d308(),_0x3f03f6=()=>{const _0x183398=_0xa019fc;_0x28c2a4[_0x183398(0x75)]();const _0x21f6e5=(_0x341224,_0x10081f,_0x2d4086,_0x2eee98)=>{const _0x116381=_0x183398;let _0x2a1f89=[];switch(_0x341224['id']){case _0x441e63['EffectRefRangId'][_0x116381(0x25f)]:{_0x2a1f89=_0x441e63[_0x116381(0x296)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x214)]:{_0x2a1f89=_0x441e63[_0x116381(0x288)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x162)]:{_0x2a1f89=_0x441e63[_0x116381(0x2ae)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0x7d)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x1e8)]:{_0x2a1f89=_0x441e63[_0x116381(0x29b)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x1a0)]:{_0x2a1f89=_0x441e63['handleInsertRow'](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['MoveRangeCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0xaa)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x211)]:{_0x2a1f89=_0x441e63[_0x116381(0x266)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0xb4)]:{_0x2a1f89=_0x441e63['handleIRemoveRow'](_0x341224,_0x2eee98);break;}}const _0x5152cd=_0x441e63['runRefRangeMutations'](_0x2a1f89,_0x2eee98),_0x43b44a=this['cursorInfo'][_0x116381(0x9e)](_0x10081f);if(_0x43b44a&&_0x5152cd){const _0x479b91={..._0x43b44a,'range':_0x5152cd};this[_0x116381(0x1af)]['set'](_0x10081f,_0x479b91),_0x2a16e7(()=>{const _0x17a931=_0x116381,_0x463983=this['_refRangeService']['registerRefRange'](_0x5152cd,_0x295c18=>(_0x463983['dispose'](),_0x21f6e5(_0x295c18,_0x10081f,_0x2d4086,_0x5152cd)));_0x28c2a4[_0x17a931(0x137)](_0x463983);});}return{'redos':[],'undos':[]};};this[_0x183398(0x1af)][_0x183398(0x30d)]((_0xea0cf4,_0x202583)=>{const _0x39e2d2=_0x183398,{range:_0x308a16,sheetID:_0x59ebbb}=_0xea0cf4,_0x19760d=this[_0x39e2d2(0x222)][_0x39e2d2(0x26d)](_0x308a16,_0x248713=>(_0x19760d[_0x39e2d2(0x75)](),_0x21f6e5(_0x248713,_0x202583,_0x59ebbb,_0x308a16)));_0x28c2a4[_0x39e2d2(0x137)](_0x19760d);});};this[_0xa019fc(0xc6)](_0x3c1804[_0xa019fc(0xe1)](this[_0xa019fc(0x173)][_0xa019fc(0x86)](()=>{_0x3f03f6();})));}[_0x2a4230(0x8c)](){const _0x6daa77=_0x2a4230;var _0x149784,_0x190bba;if(this[_0x6daa77(0x255)]=!0x0,((_0x149784=this[_0x6daa77(0x1c6)][_0x6daa77(0x1f8)]())==null?void 0x0:_0x149784[_0x6daa77(0x224)]())!==this[_0x6daa77(0x2be)])return;const _0x2ec9c9=(_0x190bba=this['_injector']['get'](_0x441e63['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x190bba[0x0],_0xa3730b=this['_univerInstanceService']['getCurrentUnitForType'](_0x3c1804[_0x6daa77(0x253)]['UNIVER_SHEET'])[_0x6daa77(0x1cf)]();_0x2ec9c9&&_0xa3730b&&this[_0x6daa77(0xcf)](_0xa3730b[_0x6daa77(0xd1)](),_0x2ec9c9);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0x3b49f4=_0x209e9f([_0x6eef53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x6eef53(0x3,_0x3c1804['Inject'](_0x7baa89)),_0x6eef53(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x6eef53(0x5,_0x3c1804['IUniverInstanceService']),_0x6eef53(0x6,_0x3c1804['ICommandService']),_0x6eef53(0x7,_0x3c1804[_0x2a4230(0x172)](_0x441e63[_0x2a4230(0x83)]))],_0x3b49f4);var _0x374931=Object[_0x2a4230(0x310)],_0xa8e2db=(_0x25cd54,_0x17de9a,_0x138d22,_0x37f122)=>{for(var _0x4432ed=_0x37f122>0x1?void 0x0:_0x37f122?_0x374931(_0x17de9a,_0x138d22):_0x17de9a,_0x297e47=_0x25cd54['length']-0x1,_0x34f680;_0x297e47>=0x0;_0x297e47--)(_0x34f680=_0x25cd54[_0x297e47])&&(_0x4432ed=_0x34f680(_0x4432ed)||_0x4432ed);return _0x4432ed;},_0x5b6c99=(_0x838315,_0x59662f)=>(_0x3bceb3,_0x112391)=>_0x59662f(_0x3bceb3,_0x112391,_0x838315);let _0x120278=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x9f51e2,_0x4f8047,_0x583da1){const _0x41d699=_0x2a4230;super(),_0x275745(this,'_entities',new Map()),_0x275745(this,_0x41d699(0x19e),new _0x23318b[(_0x41d699(0x22e))]()),(this[_0x41d699(0x1c6)]=_0x9f51e2,this[_0x41d699(0x2f5)]=_0x4f8047,this['_collabSessionService']=_0x583da1,this[_0x41d699(0x2c1)]());}[_0x2a4230(0x75)](){const _0x2ad6f5=_0x2a4230;super[_0x2ad6f5(0x75)](),this['_entityInit$'][_0x2ad6f5(0xb8)](),this[_0x2ad6f5(0x1e3)][_0x2ad6f5(0x30d)](_0x373ab7=>_0x373ab7[_0x2ad6f5(0x75)]());}[_0x2a4230(0x2c5)](_0x52c4ac){const _0x235674=_0x2a4230;return this[_0x235674(0x1e3)][_0x235674(0x23e)](_0x52c4ac)?this[_0x235674(0x1e3)]['get'](_0x52c4ac)[_0x235674(0x160)]:this[_0x235674(0x19e)][_0x235674(0x154)](_0x23318b[_0x235674(0x299)](_0x2d9715=>_0x2d9715[_0x235674(0x2be)]===_0x52c4ac),_0x23318b[_0x235674(0x161)](_0x256e60=>_0x256e60['cursorInfo$']));}[_0x2a4230(0x2c1)](){const _0x4e56c7=_0x2a4230;this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)])[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0xfe)](this[_0x4e56c7(0x1aa)]))['subscribe'](async _0x217d31=>{const _0x36198a=_0x4e56c7,_0x59ce08=_0x217d31[_0x36198a(0x224)](),_0x24256b=await this[_0x36198a(0x16a)](_0x59ce08);this[_0x36198a(0x19e)]['next'](_0x24256b),this[_0x36198a(0x1e3)][_0x36198a(0x2cd)](_0x59ce08,_0x24256b);}),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)])[_0x4e56c7(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0x299)](_0x2ea437=>!_0x2ea437[_0x4e56c7(0x224)]()['startsWith']('__')))[_0x4e56c7(0x86)](async _0x4c906b=>{const _0x5f0547=_0x4e56c7,_0x47c08d=_0x4c906b['getUnitId'](),_0x4c6f83=await this['_startDocCollabCursor'](_0x47c08d);this[_0x5f0547(0x19e)][_0x5f0547(0x120)](_0x4c6f83),this['_entities'][_0x5f0547(0x2cd)](_0x47c08d,_0x4c6f83);}),_0x23318b[_0x4e56c7(0xfb)](this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)]),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)]))['pipe'](_0x23318b['takeUntil'](this[_0x4e56c7(0x1aa)]))[_0x4e56c7(0x86)](_0x4c595e=>{const _0x374b57=_0x4e56c7,_0x2405c8=_0x4c595e[_0x374b57(0x224)](),_0xa0eaa6=this[_0x374b57(0x1e3)]['get'](_0x2405c8);_0xa0eaa6&&(_0xa0eaa6[_0x374b57(0x75)](),this[_0x374b57(0x1e3)][_0x374b57(0x1e0)](_0x2405c8));});}async[_0x2a4230(0x16a)](_0x22be76){const _0x57092d=_0x2a4230,_0x311917=await this['_collabSessionService'][_0x57092d(0x1dd)](_0x22be76),_0x19b50a=this[_0x57092d(0x2f5)][_0x57092d(0x18f)](_0x3b49f4,_0x22be76,_0x311917);return _0x19b50a[_0x57092d(0x1eb)](),_0x19b50a;}async['_startDocCollabCursor'](_0x427681){const _0x4ef5cd=_0x2a4230,_0x5862f8=await this[_0x4ef5cd(0x177)][_0x4ef5cd(0x1dd)](_0x427681),_0x2a92cb=this[_0x4ef5cd(0x2f5)][_0x4ef5cd(0x18f)](_0xe43420,_0x427681,_0x5862f8);return _0x2a92cb[_0x4ef5cd(0x1eb)](),_0x2a92cb;}};_0x120278=_0xa8e2db([_0x5b6c99(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x5b6c99(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5b6c99(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x119)]))],_0x120278);const _0xfc8153=0x14,_0x51fabc=0xc8,_0x3451a1=0x4,_0x12a43c=0x5;function _0x18b18c(_0x19ea8f,_0x4b111b){const _0x5b542b=_0x2a4230;let {radius:_0x400b01,width:_0x551ee2,height:_0xb128ac}=_0x4b111b;_0x400b01=_0x400b01!=null?_0x400b01:0x0,_0x551ee2=_0x551ee2!=null?_0x551ee2:0x1e,_0xb128ac=_0xb128ac!=null?_0xb128ac:0x1e;let _0x412233=0x0,_0x575ffc=0x0,_0x12a4c3=0x0;_0x412233=_0x575ffc=_0x12a4c3=Math[_0x5b542b(0x2a2)](_0x400b01,_0x551ee2/0x2,_0xb128ac/0x2),_0x19ea8f[_0x5b542b(0x11f)](),_0x19ea8f[_0x5b542b(0xb2)](_0x412233,0x0),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2-_0x575ffc,0x0),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x575ffc,_0x575ffc,_0x575ffc,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2,_0xb128ac-_0x12a4c3),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x12a4c3,_0xb128ac-_0x12a4c3,_0x12a4c3,0x0,Math['PI']/0x2,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0xb128ac),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0x412233),_0x19ea8f['arc'](_0x412233,_0x412233,_0x412233,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ea8f[_0x5b542b(0xf8)](),_0x4b111b['fill']&&(_0x19ea8f[_0x5b542b(0x9c)](),_0x19ea8f[_0x5b542b(0x1d7)]=_0x4b111b['fill'],_0x4b111b[_0x5b542b(0x292)]===_0x5b542b(0x1a1)?_0x19ea8f[_0x5b542b(0x174)](_0x5b542b(0x1a1)):_0x19ea8f[_0x5b542b(0x174)](),_0x19ea8f[_0x5b542b(0x246)]());}class _0x49c000 extends _0x214f70[_0x2a4230(0x242)]{constructor(_0xdb6f63,_0xdc2041){const _0x45a891=_0x2a4230;super(_0xdb6f63,_0xdc2041),_0x275745(this,_0x45a891(0x7c)),_0x275745(this,_0x45a891(0x106)),(this['color']=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x7c)],this[_0x45a891(0x106)]=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x106)]);}static[_0x2a4230(0x30e)](_0x5703f6,_0x574eb9){const _0xd517b0=_0x2a4230,{text:_0x1da70a,color:_0x4682c6}=_0x574eb9;_0x5703f6['save'](),_0x5703f6[_0xd517b0(0x164)]=_0xd517b0(0xa3);const _0x32cfbf=_0x5703f6[_0xd517b0(0x2b0)](_0x1da70a)['width'],_0x253707=Math[_0xd517b0(0x2a2)](_0x32cfbf+0x2*_0x3451a1,_0x51fabc);_0x18b18c(_0x5703f6,{'height':_0xfc8153,'radius':0x4,'width':_0x253707,'fill':_0x4682c6}),_0x5703f6[_0xd517b0(0x1d7)]=_0xd517b0(0x92);const _0x527db4=_0x3451a1,_0x2e75e2=_0xfc8153-_0x12a43c,_0x54592b=_0x51fabc-0x2*_0x3451a1;if(_0x32cfbf>_0x54592b){let _0x4e97e0='',_0x1cc19e=0x0;for(const _0x30b071 of _0x1da70a){const _0x3d6f1d=_0x5703f6[_0xd517b0(0x2b0)](_0x30b071)[_0xd517b0(0x2a5)];if(_0x1cc19e+_0x3d6f1d<=_0x54592b-_0x5703f6[_0xd517b0(0x2b0)](_0xd517b0(0x155))[_0xd517b0(0x2a5)])_0x4e97e0+=_0x30b071,_0x1cc19e+=_0x3d6f1d;else{_0x4e97e0+=_0xd517b0(0x155);break;}}_0x5703f6[_0xd517b0(0x96)](_0x4e97e0,_0x527db4,_0x2e75e2);}else _0x5703f6['fillText'](_0x1da70a,_0x527db4,_0x2e75e2);_0x5703f6[_0xd517b0(0x246)]();}[_0x2a4230(0x10d)](_0x139a14){const _0xe0bce5=_0x2a4230;_0x49c000[_0xe0bce5(0x30e)](_0x139a14,this);}}const _0x4246ea=_0x2a4230(0x17a),_0x59d2ca=_0x2a4230(0xf5),_0x28663b=_0x2a4230(0x2ef),_0x1cab94=0x6,_0x45dd66=1.5,_0x1def78=0x4,_0x1fbb32=1.5,_0x155ab8=_0x2a4230(0x7a);class _0x1af15c{constructor(_0x486bc4,_0x385a2e,_0x4cbb4b,_0x4ba366){const _0x5185e0=_0x2a4230;_0x275745(this,_0x5185e0(0x2a3),[]),_0x275745(this,_0x5185e0(0x305),null),_0x275745(this,_0x5185e0(0x94),null),_0x275745(this,'_anchorDot',null),_0x275745(this,_0x5185e0(0x2e2),null),_0x275745(this,_0x5185e0(0x22f),null),(this[_0x5185e0(0x257)]=_0x486bc4,this[_0x5185e0(0x12e)]=_0x385a2e,this[_0x5185e0(0xe4)]=_0x4cbb4b,this['_document']=_0x4ba366,this['_render']());}set[_0x2a4230(0x152)](_0x2751e7){const _0x5d21c5=_0x2a4230;_0x2751e7?(this[_0x5d21c5(0x256)]&&this[_0x5d21c5(0x256)]['hide'](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x278)]()):(this['_anchorDot']&&this[_0x5d21c5(0x256)][_0x5d21c5(0x278)](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x2f3)]());}[_0x2a4230(0x75)](){const _0x165a89=_0x2a4230;for(const _0x4f3973 of this['_shapes'])_0x4f3973['dispose']();this[_0x165a89(0x94)]&&this[_0x165a89(0x94)][_0x165a89(0x75)](),this[_0x165a89(0x256)]&&this[_0x165a89(0x256)]['dispose'](),this['_anchor']&&this[_0x165a89(0x305)]['dispose'](),this[_0x165a89(0x22f)]&&this[_0x165a89(0x22f)]();}[_0x2a4230(0x243)](){const _0x3ad07d=_0x2a4230;var _0x26b581;const {_docSkeleton:_0x1fbd00,_document:_0x432c4a}=this,{color:_0x20578d,name:_0x453b6c,ranges:_0xd5eb09}=this['_cursor'],_0x9066b0=_0x432c4a[_0x3ad07d(0x201)](),{docsLeft:_0x2a4f59,docsTop:_0x35ee1c}=_0x9066b0,_0x42278b=new _0x4aced0['NodePositionConvertToCursor'](_0x9066b0,_0x1fbd00);for(const {startOffset:_0x5ea81a,endOffset:_0x5e2f72,rangeType:_0x133b36,segmentId:_0x3fd846,segmentPage:_0x57709d,collapsed:_0x1aa0d7,isActive:_0x4f674e}of _0xd5eb09){const _0x1443db=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5ea81a,!0x0,_0x3fd846,_0x57709d);let _0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72,!0x0,_0x3fd846,_0x57709d);if(_0x1d363f==null&&(_0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72-0x1,!0x1,_0x3fd846,_0x57709d)),_0x4f674e){const {contentBoxPointGroup:_0x3970c7}=_0x42278b[_0x3ad07d(0x2d9)](_0x1d363f,_0x1d363f);if(_0x3970c7[_0x3ad07d(0x210)]===0x0)continue;this[_0x3ad07d(0x28f)](_0x20578d,_0x3970c7,_0x2a4f59,_0x35ee1c,_0x453b6c),this['_eventUnsubscribe']=this[_0x3ad07d(0x150)]();}if(_0x1443db&&_0x1d363f){if(_0x133b36===_0x3c1804['DOC_RANGE_TYPE']['RECT']){const _0x25cacf=new _0x4aced0[(_0x3ad07d(0x2aa))](_0x9066b0,_0x1fbd00),{pointGroup:_0x42668e}=(_0x26b581=_0x25cacf[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f))!=null?_0x26b581:{};if(_0x42668e==null||_0x42668e[_0x3ad07d(0x210)]===0x0)continue;this['_drawRectRange'](_0x20578d,_0x42668e,_0x2a4f59,_0x35ee1c);}else{if(!_0x1aa0d7){const {borderBoxPointGroup:_0x376493}=_0x42278b[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f);if(_0x376493[_0x3ad07d(0x210)]===0x0)continue;this['_drawTextRange'](_0x20578d,_0x376493,_0x2a4f59,_0x35ee1c);}}}}}[_0x2a4230(0x28f)](_0x359374,_0x295fef,_0x25c13a,_0x453b01,_0x4eaa67){const _0x5f3b6b=_0x2a4230,_0x2f95c8=this[_0x5f3b6b(0x221)](_0x295fef),{left:_0x3e53fb,top:_0x289382,height:_0x846b41}=_0x2f95c8,_0x2e3382=this[_0x5f3b6b(0x228)](),_0x134e17=_0x1fbb32/_0x2e3382,_0x25114c=new _0x214f70[(_0x5f3b6b(0x130))](_0x4246ea+_0x3c1804['generateRandomId'](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01,'height':_0x846b41,'width':_0x45dd66,'fill':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)]['black'],0x0),'strokeWidth':_0x134e17,'stroke':_0x155ab8,'evented':!0x0});this['_anchor']=_0x25114c,this['_scene'][_0x5f3b6b(0x263)](_0x25114c,_0x4aced0[_0x5f3b6b(0x241)]);const _0x36fd91=new _0x214f70['Rect'](_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0x1def78/0x2,'height':_0x1def78,'width':_0x1def78,'fill':_0x359374||_0x214f70['getColor'](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'strokeWidth':0x0,'stroke':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'evented':!0x1});this[_0x5f3b6b(0x256)]=_0x36fd91,this['_scene'][_0x5f3b6b(0x263)](_0x36fd91,_0x4aced0[_0x5f3b6b(0x241)]);const _0x5e27c4=new _0x49c000(_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0xfc8153,'text':_0x4eaa67,'color':_0x359374});this[_0x5f3b6b(0x94)]=_0x5e27c4,this[_0x5f3b6b(0x12e)][_0x5f3b6b(0x263)](_0x5e27c4,_0x4aced0[_0x5f3b6b(0x241)]),this[_0x5f3b6b(0x152)]=!0x1;}[_0x2a4230(0x150)](){const _0x510165=_0x2a4230,_0x148dc0=this[_0x510165(0x305)][_0x510165(0x17f)]['subscribeEvent'](()=>{const _0x297798=_0x510165;this[_0x297798(0x152)]=!0x0;}),_0x5181ec=this[_0x510165(0x305)]['onPointerLeave$'][_0x510165(0x297)](()=>{const _0x22258b=_0x510165;this['_hideTimer']&&clearTimeout(this[_0x22258b(0x2e2)]),this['_hideTimer']=setTimeout(()=>{const _0x130bbb=_0x22258b;this[_0x130bbb(0x152)]=!0x1;},0x7d0);});return()=>{const _0x3edb74=_0x510165;_0x148dc0[_0x3edb74(0x7f)](),_0x5181ec[_0x3edb74(0x7f)]();};}[_0x2a4230(0x20c)](_0x54b466,_0x26b1c5,_0x4d29af,_0x5b686d){const _0x35e534=_0x2a4230,_0xcb7772=new _0x3c1804[(_0x35e534(0xc8))](_0x54b466)[_0x35e534(0x1ff)](0.2)[_0x35e534(0x143)](),_0x216698=new _0x214f70[(_0x35e534(0x19c))](_0x59d2ca+_0x3c1804['generateRandomId'](_0x1cab94),{'pointsGroup':_0x26b1c5,'fill':_0xcb7772||_0x214f70[_0x35e534(0xc2)](_0x3c1804[_0x35e534(0x183)][_0x35e534(0xd5)],0.2),'left':_0x4d29af,'top':_0x5b686d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35e534(0x264)](_0x216698),this['_scene'][_0x35e534(0x263)](_0x216698,_0x4aced0[_0x35e534(0x241)]);}['_drawRectRange'](_0x5be2dd,_0x53cdff,_0x1c5560,_0x3cc537){const _0xb002a1=_0x2a4230,_0x5b40ea=new _0x3c1804[(_0xb002a1(0xc8))](_0x5be2dd)[_0xb002a1(0x1ff)](0.2)['toRgbString'](),_0x4b26bc=new _0x214f70[(_0xb002a1(0x19c))](_0x28663b+_0x3c1804[_0xb002a1(0x12d)](_0x1cab94),{'pointsGroup':_0x53cdff,'fill':_0x5b40ea||_0x214f70[_0xb002a1(0xc2)](_0x3c1804[_0xb002a1(0x183)][_0xb002a1(0xd5)],0.2),'left':_0x1c5560,'top':_0x3cc537,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb002a1(0x2a3)][_0xb002a1(0x264)](_0x4b26bc),this[_0xb002a1(0x12e)][_0xb002a1(0x263)](_0x4b26bc,_0x4aced0[_0xb002a1(0x241)]);}[_0x2a4230(0x221)](_0x2eac69){const _0x280cc2=_0x2eac69[0x0],_0x30b0de=_0x280cc2[0x0],_0x58e336=_0x280cc2[0x2],{x:_0x5309b5,y:_0x1b88e5}=_0x30b0de,{x:_0x18c7c4,y:_0x2df576}=_0x58e336;return{'left':_0x5309b5,'top':_0x1b88e5,'width':_0x18c7c4-_0x5309b5,'height':_0x2df576-_0x1b88e5};}['_getScale'](){const _0x3e61e7=_0x2a4230,{scaleX:_0x3123b8,scaleY:_0x495f3d}=this['_scene'][_0x3e61e7(0x180)]();return Math[_0x3e61e7(0x145)](_0x3123b8,_0x495f3d);}}var _0x7b9f27=Object[_0x2a4230(0x310)],_0x239aad=(_0x409e8c,_0x578abe,_0x2a848b,_0x14307c)=>{const _0x57991=_0x2a4230;for(var _0x2c06aa=_0x14307c>0x1?void 0x0:_0x14307c?_0x7b9f27(_0x578abe,_0x2a848b):_0x578abe,_0x3b2e5c=_0x409e8c[_0x57991(0x210)]-0x1,_0x1128d8;_0x3b2e5c>=0x0;_0x3b2e5c--)(_0x1128d8=_0x409e8c[_0x3b2e5c])&&(_0x2c06aa=_0x1128d8(_0x2c06aa)||_0x2c06aa);return _0x2c06aa;},_0x36a65f=(_0x39b179,_0x191e6c)=>(_0xc564f1,_0x21f014)=>_0x191e6c(_0xc564f1,_0x21f014,_0x39b179);let _0x5eb364=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x417f66,_0x433ae9,_0x51a664,_0x15b693,_0x1c75a5){const _0x238827=_0x2a4230;super(),_0x275745(this,'_cursorShapes',[]),_0x275745(this,_0x238827(0x1f3),[]),(this[_0x238827(0x1cb)]=_0x417f66,this[_0x238827(0x25e)]=_0x433ae9,this[_0x238827(0x2e5)]=_0x51a664,this['_commandService']=_0x15b693,this[_0x238827(0xd3)]=_0x1c75a5,this[_0x238827(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x235804=_0x2a4230,_0x1d763c=this[_0x235804(0x1cb)]['unitId'],_0x14fc00=this[_0x235804(0x25e)];this['disposeWithMe'](_0x23318b['combineLatest']([this[_0x235804(0x2e5)][_0x235804(0x2c5)](_0x1d763c),this[_0x235804(0xd3)][_0x235804(0x104)]])['pipe'](_0x46a0e3['map'](([_0x5c9844,_0x457cd5])=>({'skeleton':_0x14fc00['getSkeleton'](),'cursors':[..._0x5c9844[_0x235804(0x89)]()][_0x235804(0x140)](_0x12665c=>({..._0x12665c,'color':this['_themeService'][_0x235804(0x118)](_0x12665c[_0x235804(0x7c)])}))})))[_0x235804(0x86)](_0x4aa1a9=>{const _0x557802=_0x235804;if(this[_0x557802(0xa2)](),_0x4aa1a9){const {skeleton:_0xbc45d8,cursors:_0x5af445}=_0x4aa1a9;this[_0x557802(0x1e4)](_0xbc45d8,_0x5af445);}})),this[_0x235804(0x2a1)](),this['_initCommandExecutedListener']();}[_0x2a4230(0x1e4)](_0x966920,_0x1ed703){const _0xaaae=_0x2a4230,{scene:_0x35c4a1,mainComponent:_0x4808ee}=this[_0xaaae(0x1cb)],_0x532aed=_0x1ed703[_0xaaae(0x274)](_0x4b4f4c=>new _0x1af15c(_0x4b4f4c,_0x35c4a1,_0x966920,_0x4808ee));this[_0xaaae(0x1df)]=_0x532aed,this['_cursors']=_0x1ed703;}[_0x2a4230(0x85)](){const _0x20ae75=_0x2a4230;this['_removeCollabCursors']();const {scene:_0x3a233d,mainComponent:_0x405985}=this[_0x20ae75(0x1cb)],_0x439faf=this[_0x20ae75(0x25e)][_0x20ae75(0xea)](),_0x4e6c19=this[_0x20ae75(0x1f3)]['map'](_0x531c98=>new _0x1af15c(_0x531c98,_0x3a233d,_0x439faf,_0x405985));this[_0x20ae75(0x1df)]=_0x4e6c19;}['_removeCollabCursors'](){const _0x150f3b=_0x2a4230;this[_0x150f3b(0x1df)][_0x150f3b(0x30d)](_0x39a583=>_0x39a583['dispose']()),this['_cursorShapes']=[];}[_0x2a4230(0x101)](){const _0x87459d=_0x2a4230,_0x7a789=[_0x4aced0['SetDocZoomRatioOperation']['id']];this[_0x87459d(0xc6)](this[_0x87459d(0x9b)][_0x87459d(0x190)](_0x123f98=>{const _0x5bdd73=_0x87459d;_0x7a789[_0x5bdd73(0x18c)](_0x123f98['id'])&&_0x123f98['params']['unitId']===this['_context'][_0x5bdd73(0x203)]&&this[_0x5bdd73(0x85)]();}));}['_initResize'](){const _0x59ddba=_0x2a4230;this[_0x59ddba(0xc6)](_0x3c1804[_0x59ddba(0x110)](this[_0x59ddba(0x1cb)][_0x59ddba(0x193)][_0x59ddba(0x2fb)])[_0x59ddba(0x154)](_0x46a0e3[_0x59ddba(0x299)](_0x50a60a=>_0x50a60a[_0x59ddba(0x2d7)]===_0x214f70['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x59ddba(0x26b)]),_0x46a0e3['throttleTime'](0x10))[_0x59ddba(0x86)](()=>{const _0x2bc337=_0x59ddba;this[_0x2bc337(0x85)]();}));}};_0x5eb364=_0x239aad([_0x36a65f(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c10b0[_0x2a4230(0x1c8)])),_0x36a65f(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x36a65f(0x3,_0x3c1804['ICommandService']),_0x36a65f(0x4,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x24d)]))],_0x5eb364);const _0x17721a=0x1,_0x4bc1b3=1.5;class _0xfe2e0a extends _0x214f70[_0x2a4230(0x242)]{constructor(_0x1e790a,_0x5ee2ca){const _0x2524bc=_0x2a4230;super(_0x1e790a,_0x5ee2ca),_0x275745(this,'_color'),_0x275745(this,_0x2524bc(0x107),!0x1),_0x275745(this,'_range'),_0x275745(this,_0x2524bc(0x1b7),''),_0x275745(this,_0x2524bc(0x188),_0x2524bc(0x1b5)),_0x275745(this,_0x2524bc(0x1b1)),(_0x5ee2ca&&this[_0x2524bc(0x8a)](_0x5ee2ca),this[_0x2524bc(0x17f)][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x1})));}[_0x2a4230(0x8a)](_0x38e02f){const _0x345340=_0x2a4230;var _0x349f55,_0x37645c,_0x187c53,_0x166042,_0xc0fb4a,_0x5574ae;this[_0x345340(0x196)]=(_0x349f55=_0x38e02f[_0x345340(0x7c)])!=null?_0x349f55:this['_color'],this[_0x345340(0x107)]=(_0x37645c=_0x38e02f[_0x345340(0x2ee)])!=null?_0x37645c:this['_hovered'],this['_range']=(_0x187c53=_0x38e02f[_0x345340(0x134)])!=null?_0x187c53:this[_0x345340(0x2ba)],this[_0x345340(0x1b7)]=(_0x166042=_0x38e02f[_0x345340(0xc9)])!=null?_0x166042:this['_name'],this['_labelPosition']=(_0xc0fb4a=_0x38e02f['labelPosition'])!=null?_0xc0fb4a:this['_labelPosition'],this[_0x345340(0x1b1)]=(_0x5574ae=_0x38e02f[_0x345340(0xb7)])!=null?_0x5574ae:this[_0x345340(0x1b1)],this[_0x345340(0x236)]({'width':_0x38e02f[_0x345340(0x2a5)],'height':_0x38e02f[_0x345340(0x238)]});}[_0x2a4230(0x1f2)](_0x4d76fa){const _0x5b3883=_0x2a4230,{row:_0x508918,column:_0x23d122}=_0x4d76fa;if(_0x508918>=this[_0x5b3883(0x2ba)][_0x5b3883(0xec)]&&_0x508918<=this[_0x5b3883(0x2ba)][_0x5b3883(0x2b2)]&&_0x23d122>=this[_0x5b3883(0x2ba)][_0x5b3883(0x251)]&&_0x23d122<=this[_0x5b3883(0x2ba)]['endColumn']){this[_0x5b3883(0x8a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4230(0x87)](_0x57d02b){return!0x1;}[_0x2a4230(0x10d)](_0x4304fd){const _0x3ea1c7=_0x2a4230;_0x214f70[_0x3ea1c7(0x130)][_0x3ea1c7(0x30e)](_0x4304fd,{'width':this['width'],'height':this[_0x3ea1c7(0x238)],'strokeWidth':_0x4bc1b3,'stroke':this[_0x3ea1c7(0x196)],'evented':!0x1,'fill':this[_0x3ea1c7(0x1b1)]}),this['_hovered']&&(_0x4304fd[_0x3ea1c7(0x9c)](),_0x4304fd[_0x3ea1c7(0x24e)](0x1,0x0,0x0,0x1,this[_0x3ea1c7(0x2a5)],this[_0x3ea1c7(0x188)]===_0x3ea1c7(0x15e)?0x0:-_0xfc8153),_0x49c000[_0x3ea1c7(0x30e)](_0x4304fd,{'text':this[_0x3ea1c7(0x1b7)],'color':this[_0x3ea1c7(0x196)]}),_0x4304fd[_0x3ea1c7(0x246)]());}}var _0x5e65ad=Object[_0x2a4230(0x310)],_0x4a1d02=(_0x223946,_0x11b22a,_0x352d97,_0x114b3f)=>{const _0x57b473=_0x2a4230;for(var _0x48d361=_0x114b3f>0x1?void 0x0:_0x114b3f?_0x5e65ad(_0x11b22a,_0x352d97):_0x11b22a,_0x6e05ff=_0x223946[_0x57b473(0x210)]-0x1,_0x532a83;_0x6e05ff>=0x0;_0x6e05ff--)(_0x532a83=_0x223946[_0x6e05ff])&&(_0x48d361=_0x532a83(_0x48d361)||_0x48d361);return _0x48d361;},_0x33ed27=(_0x5f4494,_0x2a3dd1)=>(_0x232ba7,_0x27e3a2)=>_0x2a3dd1(_0x232ba7,_0x27e3a2,_0x5f4494);const _0x261855=0x1389;let _0x1f6d7b=class extends _0x3c1804['RxDisposable']{constructor(_0x55ec91,_0x1469c1,_0x4e3c64,_0x56c84d){const _0x483d5a=_0x2a4230;super(),_0x275745(this,_0x483d5a(0x1f3),new Set()),_0x275745(this,_0x483d5a(0x14a),null),(this[_0x483d5a(0x1cb)]=_0x55ec91,this[_0x483d5a(0x2a7)]=_0x1469c1,this[_0x483d5a(0x2e5)]=_0x4e3c64,this['_themeService']=_0x56c84d,this[_0x483d5a(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x3fc94e=_0x2a4230;this[_0x3fc94e(0x2a7)]['currentSkeleton$']['pipe'](_0x46a0e3['takeUntil'](this['dispose$']),_0x46a0e3[_0x3fc94e(0x161)](_0xcfc373=>{const _0x4ed379=_0x3fc94e;if(_0xcfc373){const _0xa457c2=_0xcfc373[_0x4ed379(0x179)];return _0x23318b[_0x4ed379(0x208)](this[_0x4ed379(0x2e5)][_0x4ed379(0x2c5)](this[_0x4ed379(0x1cb)][_0x4ed379(0x203)]),this[_0x4ed379(0xd3)]['currentTheme$'])[_0x4ed379(0x154)](_0x46a0e3[_0x4ed379(0x274)](([_0x431aeb,_0x8d99fb])=>{const _0x4acf2e=_0x4ed379,_0x335a9d=new Map();return _0x431aeb[_0x4acf2e(0x30d)]((_0x28def4,_0x5537cd)=>{const _0x5883b=_0x4acf2e;if(_0x28def4[_0x5883b(0x30b)]===_0xa457c2){const _0x405c36={..._0x28def4};_0x405c36['color']=this[_0x5883b(0xd3)][_0x5883b(0x118)](_0x28def4[_0x5883b(0x7c)]),_0x335a9d[_0x5883b(0x2cd)](_0x5537cd,_0x405c36);}}),{'skeleton':_0xcfc373,'cursors':_0x335a9d};}));}return _0x23318b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3fc94e(0x86)](({skeleton:_0x510fff,cursors:_0x42e0dd})=>{const _0x5ecd2a=_0x3fc94e;this[_0x5ecd2a(0xa2)](),_0x510fff&&this['_updateCollabCursors'](_0x510fff,_0x42e0dd);}),this[_0x3fc94e(0x2a7)][_0x3fc94e(0x27c)][_0x3fc94e(0x86)](_0x1971d2=>{const _0x45794c=_0x3fc94e;if(_0x1971d2==null)return;const {skeleton:_0x38e4d2}=_0x1971d2,{scene:_0x1d5642}=this[_0x45794c(0x1cb)];_0x1d5642[_0x45794c(0x123)][_0x45794c(0x297)](_0x3c1804[_0x45794c(0x6f)](_0xc12db8=>{const _0x16ef0d=_0x45794c;var _0x1cedb0,_0x14e154;const {offsetX:_0xf21346,offsetY:_0x5dac26}=_0xc12db8,{x:_0x517510,y:_0x4f56b1}=_0x1d5642['getRelativeToViewportCoord'](_0x214f70['Vector2']['FromArray']([_0xf21346,_0x5dac26])),{scaleX:_0x84d840,scaleY:_0xdebce0}=_0x1d5642[_0x16ef0d(0x180)](),_0xb95bc4=_0x1d5642[_0x16ef0d(0x286)](_0x214f70[_0x16ef0d(0x1e9)][_0x16ef0d(0xf3)]),_0x395681=_0x1d5642[_0x16ef0d(0x115)](_0x214f70[_0x16ef0d(0x126)][_0x16ef0d(0x28c)]([_0x517510,_0x4f56b1]),_0xb95bc4),_0x1b4197=_0x38e4d2['getCellPositionByOffset'](_0xf21346,_0x5dac26,_0x84d840,_0xdebce0,_0x395681);((_0x1cedb0=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x1cedb0[_0x16ef0d(0x2ab)])===_0x1b4197[_0x16ef0d(0x2ab)]&&((_0x14e154=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x14e154[_0x16ef0d(0x23c)])===_0x1b4197[_0x16ef0d(0x23c)]||this[_0x16ef0d(0x1f3)][_0x16ef0d(0x30d)](_0x44c845=>{_0x44c845['onMouseMove'](_0x1b4197);});},0x64));});}['_updateCollabCursors'](_0x9147b7,_0x21fd6b){const _0x2172ba=_0x2a4230;var _0x2b4561;const _0x3f3af8=(_0x2b4561=this[_0x2172ba(0x2a7)]['getCurrent']())==null?void 0x0:_0x2b4561[_0x2172ba(0xa7)];if(!_0x3f3af8)return;const _0x59126a=this[_0x2172ba(0x30a)]();if(!_0x59126a)return;this[_0x2172ba(0x1f3)]['forEach'](_0x5a56c0=>{const _0x4434f8=_0x2172ba;_0x5a56c0[_0x4434f8(0x1ca)]();});const {scene:_0x8fc02d}=_0x59126a,_0x2753c8=_0x3c6a46(Array[_0x2172ba(0xca)](_0x21fd6b['values']()))[_0x2172ba(0x274)](_0x2dc6a6=>{const _0x3ec7a1=_0x2172ba,{color:_0x403110,range:_0x2fefda,name:_0x66428a,selection:_0x49d3bc,sheetID:_0x130d49}=_0x2dc6a6,{startColumn:_0x36f25a,startRow:_0x2431ef,endColumn:_0x43dbb3,endRow:_0x19120d}=_0x2fefda,_0x31d0cd=_0x476013[_0x3ec7a1(0x1ad)](_0x2431ef,_0x36f25a,_0x8fc02d,_0x3f3af8),_0x56efb3=_0x476013[_0x3ec7a1(0x1ad)](_0x19120d,_0x43dbb3,_0x8fc02d,_0x3f3af8),{columnHeaderHeightAndMarginTop:_0x5ac9f3}=_0x3f3af8,{startX:_0x3167b0,startY:_0x43a0f7}=_0x31d0cd,{endX:_0x501c87,endY:_0x4e42c8}=_0x56efb3,_0x4cf7b9=_0x501c87-_0x3167b0,_0xb411ca=_0x4e42c8-_0x43a0f7,_0x1c5dee={'labelPosition':_0x43a0f7-_0x5ac9f3>=_0xfc8153?_0x3ec7a1(0x1b5):_0x3ec7a1(0x15e),'sheetID':_0x130d49,'range':_0x2fefda,'color':_0x403110,'name':_0x66428a,'selection':_0x49d3bc,'left':_0x3167b0,'top':_0x43a0f7,'width':_0x4cf7b9,'height':_0xb411ca,'evented':!0x1,'zIndex':_0x261855};return new _0xfe2e0a(_0x66428a,_0x1c5dee);});_0x8fc02d[_0x2172ba(0x1d8)](_0x2753c8,_0x17721a),this['_cursors']=new Set(_0x2753c8);}[_0x2a4230(0xa2)](){const _0x1df685=_0x2a4230;var _0x28962d;(_0x28962d=this[_0x1df685(0x1f3)])==null||_0x28962d[_0x1df685(0x30d)](_0x4417f5=>_0x4417f5[_0x1df685(0x75)]());}[_0x2a4230(0x30a)](){const _0x15ce0c=_0x2a4230;return _0x476013[_0x15ce0c(0x117)](this['_context']['unit'],this[_0x15ce0c(0x1cb)]);}};_0x1f6d7b=_0x4a1d02([_0x33ed27(0x1,_0x3c1804[_0x2a4230(0x172)](_0x476013[_0x2a4230(0x7b)])),_0x33ed27(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x33ed27(0x3,_0x3c1804['Inject'](_0x3c1804[_0x2a4230(0x24d)]))],_0x1f6d7b);function _0x3c6a46(_0x91f0b2){const _0x174bfb=_0x2a4230,_0xe641e4=new Map();return _0x91f0b2[_0x174bfb(0x30d)](_0x1bb60b=>{const _0x1b4701=_0x174bfb;if(_0xe641e4['has'](_0x1bb60b['selection'])){const _0x253b90=_0xe641e4[_0x1b4701(0x9e)](_0x1bb60b[_0x1b4701(0x26c)]);_0x253b90[_0x1b4701(0xc9)]+=',\x20'+_0x1bb60b['name'];}else _0xe641e4[_0x1b4701(0x2cd)](_0x1bb60b[_0x1b4701(0x26c)],_0x1bb60b);}),Array[_0x174bfb(0xca)](_0xe641e4['values']());}var _0x35d1e5=function(){const _0x2bc8dc=_0x2a4230;return _0x35d1e5=Object[_0x2bc8dc(0x209)]||function(_0x25c54f){const _0x52e0cb=_0x2bc8dc;for(var _0x57186e,_0x1cacf4=0x1,_0x47c164=arguments[_0x52e0cb(0x210)];_0x1cacf4<_0x47c164;_0x1cacf4++){_0x57186e=arguments[_0x1cacf4];for(var _0x34d59d in _0x57186e)Object[_0x52e0cb(0xf6)][_0x52e0cb(0x220)][_0x52e0cb(0x291)](_0x57186e,_0x34d59d)&&(_0x25c54f[_0x34d59d]=_0x57186e[_0x34d59d]);}return _0x25c54f;},_0x35d1e5['apply'](this,arguments);},_0x38a142=function(_0x55027c,_0xc739fd){const _0x889e08=_0x2a4230;var _0x23c07f={};for(var _0x351dfa in _0x55027c)Object[_0x889e08(0xf6)]['hasOwnProperty'][_0x889e08(0x291)](_0x55027c,_0x351dfa)&&_0xc739fd[_0x889e08(0xaf)](_0x351dfa)<0x0&&(_0x23c07f[_0x351dfa]=_0x55027c[_0x351dfa]);if(_0x55027c!=null&&typeof Object[_0x889e08(0xae)]==_0x889e08(0x22b)){for(var _0x1d50a5=0x0,_0x351dfa=Object[_0x889e08(0xae)](_0x55027c);_0x1d50a5<_0x351dfa[_0x889e08(0x210)];_0x1d50a5++)_0xc739fd[_0x889e08(0xaf)](_0x351dfa[_0x1d50a5])<0x0&&Object['prototype'][_0x889e08(0x151)][_0x889e08(0x291)](_0x55027c,_0x351dfa[_0x1d50a5])&&(_0x23c07f[_0x351dfa[_0x1d50a5]]=_0x55027c[_0x351dfa[_0x1d50a5]]);}return _0x23c07f;},_0x3aa54e=_0x264b32[_0x2a4230(0x1c4)](function(_0x4907d1,_0x26a963){const _0x4ba1bd=_0x2a4230;var _0x203fc5=_0x4907d1[_0x4ba1bd(0x273)],_0x4c034c=_0x4907d1['id'],_0xe9dba0=_0x4907d1['className'],_0x3862c4=_0x4907d1[_0x4ba1bd(0x2dc)],_0x3b49da=_0x38a142(_0x4907d1,[_0x4ba1bd(0x273),'id',_0x4ba1bd(0x20d),_0x4ba1bd(0x2dc)]),_0x1de701=_0x4ba1bd(0xe8)['concat'](_0x4c034c,'\x20')[_0x4ba1bd(0x26a)](_0xe9dba0||'')[_0x4ba1bd(0x100)](),_0x38be57=_0x264b32[_0x4ba1bd(0x219)]('_'[_0x4ba1bd(0x26a)](_0x33899b()));return _0x214c91(_0x203fc5,''['concat'](_0x4c034c),{'defIds':_0x203fc5['defIds'],'idSuffix':_0x38be57['current']},_0x35d1e5({'ref':_0x26a963,'className':_0x1de701},_0x3b49da),_0x3862c4);});function _0x214c91(_0x34ab7f,_0x12983c,_0x514bd3,_0x575a76,_0x10935c){const _0x8724da=_0x2a4230;return _0x264b32[_0x8724da(0x2b3)](_0x34ab7f[_0x8724da(0x306)],_0x35d1e5(_0x35d1e5({'key':_0x12983c},_0x434d3e(_0x34ab7f,_0x514bd3,_0x10935c)),_0x575a76),(_0x25cf0d(_0x34ab7f,_0x514bd3)[_0x8724da(0x308)]||[])['map'](function(_0x1dab6c,_0x4d3402){const _0x421b1c=_0x8724da;return _0x214c91(_0x1dab6c,''[_0x421b1c(0x26a)](_0x12983c,'-')['concat'](_0x34ab7f['tag'],'-')['concat'](_0x4d3402),_0x514bd3,void 0x0,_0x10935c);}));}function _0x434d3e(_0x33bbac,_0x2bb4a4,_0xa6bc9){const _0x432c22=_0x2a4230;var _0x2960cf=_0x35d1e5({},_0x33bbac['attrs']);_0xa6bc9!=null&&_0xa6bc9['colorChannel1']&&_0x2960cf['fill']===_0x432c22(0x24c)&&(_0x2960cf[_0x432c22(0x174)]=_0xa6bc9[_0x432c22(0x24c)]),_0x33bbac['tag']==='mask'&&_0x2960cf['id']&&(_0x2960cf['id']=_0x2960cf['id']+_0x2bb4a4['idSuffix']),Object['entries'](_0x2960cf)[_0x432c22(0x30d)](function(_0xe5f836){const _0x3011f9=_0x432c22;var _0xbbe367=_0xe5f836[0x0],_0x59d618=_0xe5f836[0x1];_0xbbe367===_0x3011f9(0x74)&&typeof _0x59d618=='string'&&(_0x2960cf[_0xbbe367]=_0x59d618[_0x3011f9(0x138)](/url\(#(.*)\)/,'url(#$1'[_0x3011f9(0x26a)](_0x2bb4a4[_0x3011f9(0x230)],')')));});var _0x20db6e=_0x2bb4a4[_0x432c22(0xa8)];return!_0x20db6e||_0x20db6e[_0x432c22(0x210)]===0x0||(_0x33bbac[_0x432c22(0x306)]===_0x432c22(0x79)&&_0x2960cf[_0x432c22(0x1fd)]&&(_0x2960cf[_0x432c22(0x1fd)]=_0x2960cf['xlink:href']+_0x2bb4a4[_0x432c22(0x230)]),Object[_0x432c22(0x250)](_0x2960cf)[_0x432c22(0x30d)](function(_0x485374){const _0x1de4d9=_0x432c22;var _0x1df814=_0x485374[0x0],_0x2e0f67=_0x485374[0x1];typeof _0x2e0f67==_0x1de4d9(0xcd)&&(_0x2960cf[_0x1df814]=_0x2e0f67[_0x1de4d9(0x138)](/url\(#(.*)\)/,_0x1de4d9(0x129)['concat'](_0x2bb4a4['idSuffix'],')')));})),_0x2960cf;}function _0x25cf0d(_0x43605a,_0x39d720){const _0x14cbec=_0x2a4230;var _0x36e350,_0x2f9eed=_0x39d720['defIds'];return!_0x2f9eed||_0x2f9eed[_0x14cbec(0x210)]===0x0?_0x43605a:_0x43605a['tag']===_0x14cbec(0x97)&&(!((_0x36e350=_0x43605a[_0x14cbec(0x308)])===null||_0x36e350===void 0x0)&&_0x36e350[_0x14cbec(0x210)])?_0x35d1e5(_0x35d1e5({},_0x43605a),{'children':_0x43605a['children'][_0x14cbec(0x274)](function(_0x4938d0){const _0x3c8bd6=_0x14cbec;return typeof _0x4938d0[_0x3c8bd6(0x81)]['id']==_0x3c8bd6(0xcd)&&_0x2f9eed&&_0x2f9eed[_0x3c8bd6(0x18c)](_0x4938d0[_0x3c8bd6(0x81)]['id'])?_0x35d1e5(_0x35d1e5({},_0x4938d0),{'attrs':_0x35d1e5(_0x35d1e5({},_0x4938d0[_0x3c8bd6(0x81)]),{'id':_0x4938d0[_0x3c8bd6(0x81)]['id']+_0x39d720[_0x3c8bd6(0x230)]})}):_0x4938d0;})}):_0x43605a;}function _0x33899b(){const _0x5061a3=_0x2a4230;return Math[_0x5061a3(0x276)]()['toString'](0x24)[_0x5061a3(0x252)](0x2,0x8);}_0x3aa54e[_0x2a4230(0x2d1)]=_0x2a4230(0x15d);var _0x585497={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':'0\x200\x2016\x2016','width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xb5)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':_0x2a4230(0x97),'attrs':{},'children':[{'tag':_0x2a4230(0x1f5),'attrs':{'id':_0x2a4230(0x2b4)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':_0x2a4230(0x20b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4230(0x2b4)]},_0x281cb6=_0x264b32['forwardRef'](function(_0x42772f,_0x19a6d4){const _0x2921a5=_0x2a4230;return _0x264b32[_0x2921a5(0x2b3)](_0x3aa54e,Object[_0x2921a5(0x209)]({},_0x42772f,{'id':_0x2921a5(0x207),'ref':_0x19a6d4,'icon':_0x585497}));});_0x281cb6[_0x2a4230(0x2d1)]=_0x2a4230(0x309);var _0x12121e={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':_0x2a4230(0x284),'width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xc7)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':_0x2a4230(0x108),'strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a4230(0x10e)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':'white','d':_0x2a4230(0x1e1),'transform':_0x2a4230(0x2ac)}}]}]}],'defIds':[_0x2a4230(0x10e)]},_0x4a27e6=_0x264b32[_0x2a4230(0x1c4)](function(_0x5f0a89,_0x3b061e){const _0x434a3c=_0x2a4230;return _0x264b32[_0x434a3c(0x2b3)](_0x3aa54e,Object[_0x434a3c(0x209)]({},_0x5f0a89,{'id':_0x434a3c(0x109),'ref':_0x3b061e,'icon':_0x12121e}));});_0x4a27e6[_0x2a4230(0x2d1)]=_0x2a4230(0xa6);function _0x3514f5(_0xa6343b){const _0xea6084=_0x2a4230;switch(_0xa6343b){case _0x4d8e7c[_0xea6084(0x2f6)]['OFFLINE']:return _0xea6084(0x2c4);case _0x4d8e7c['CollaborationStatus'][_0xea6084(0x90)]:return'collabStatus.conflict';case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x30f)]:return _0xea6084(0xdb);case _0x4d8e7c[_0xea6084(0x2f6)]['NOT_COLLAB']:return _0xea6084(0x229);case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING']:case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING_WITH_PENDING']:return _0xea6084(0xda);case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x149)]:case _0x4d8e7c[_0xea6084(0x2f6)]['PENDING']:return _0xea6084(0x29e);}}function _0x53356e(_0x369fa0){const _0x134ca2=_0x2a4230,{status$:_0x3a4d2c}=_0x369fa0,_0x14ec24=_0xb7c596['useObservable'](_0x3a4d2c,_0x4d8e7c[_0x134ca2(0x2f6)]['NOT_COLLAB']),_0xcfad2d=_0xb7c596[_0x134ca2(0x1d4)](_0x3c1804[_0x134ca2(0x2fc)]),_0x4de713=_0xb7c596[_0x134ca2(0x1d4)](_0x4d8e7c[_0x134ca2(0x119)]),_0x38c915=_0x14ec24!==_0x4d8e7c[_0x134ca2(0x2f6)]['OFFLINE'],_0x4a722e=_0xcfad2d['t'](_0x3514f5(_0x14ec24)),_0x2842d9=_0x38c915?_0x508896['jsx'](_0x4a27e6,{}):_0x508896[_0x134ca2(0x302)](_0x281cb6,{}),_0x154b86=_0x264b32[_0x134ca2(0x1ed)](()=>{_0x38c915||_0x4de713['reconnect']();},[_0x38c915,_0x4de713]);function _0x3784ee(){const _0x35e666=_0x134ca2;return _0x508896[_0x35e666(0x2a4)](_0x35e666(0xd9),{'className':'univer-flex\x20univer-items-center','onClick':_0x154b86,'children':[_0x508896['jsx']('div',{'className':_0x2e0a42['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x38c915,'univer-text-red-500':!_0x38c915}),'children':_0x2842d9}),_0x508896[_0x35e666(0x302)](_0x35e666(0xd9),{'className':_0x35e666(0x215),'children':_0x4a722e})]});}return _0x38c915?_0x3784ee():_0x508896[_0x134ca2(0x302)](_0x2e0a42[_0x134ca2(0x184)],{'title':_0xcfad2d['t'](_0x134ca2(0x127)),'children':_0x3784ee()});}var _0x267bdb=Object[_0x2a4230(0x310)],_0x3e1a15=(_0x1724bb,_0x40baae,_0x467fbc,_0x1213d8)=>{for(var _0x526952=_0x1213d8>0x1?void 0x0:_0x1213d8?_0x267bdb(_0x40baae,_0x467fbc):_0x40baae,_0x4cd1ce=_0x1724bb['length']-0x1,_0x54f95c;_0x4cd1ce>=0x0;_0x4cd1ce--)(_0x54f95c=_0x1724bb[_0x4cd1ce])&&(_0x526952=_0x54f95c(_0x526952)||_0x526952);return _0x526952;},_0x152d53=(_0x585a2c,_0x45a067)=>(_0x1c16b1,_0x5ce727)=>_0x45a067(_0x1c16b1,_0x5ce727,_0x585a2c);_0x4e590a[_0x2a4230(0x10b)]=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x22ae6e,_0x25a307,_0x5a4c3f,_0xc390f6){const _0x1d072a=_0x2a4230;super(),_0x275745(this,_0x1d072a(0xc5),new _0x23318b[(_0x1d072a(0x19a))](_0x4d8e7c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1d072a(0x1c6)]=_0x22ae6e,this[_0x1d072a(0x2f5)]=_0x25a307,this[_0x1d072a(0x13a)]=_0x5a4c3f,this[_0x1d072a(0x1f6)]=_0xc390f6,this[_0x1d072a(0xb1)](),this['_initStatusListener']());}[_0x2a4230(0x13b)](){const _0x2309de=_0x2a4230;this[_0x2309de(0xc6)](this[_0x2309de(0x1c6)][_0x2309de(0x2f7)][_0x2309de(0x154)](_0x23318b[_0x2309de(0x161)](()=>{const _0x13c5c3=_0x2309de,_0x4714f5=this['_univerInstanceService'][_0x13c5c3(0x1f8)]();return _0x4714f5?this[_0x13c5c3(0x13a)]['getCollabEntity$'](_0x4714f5['getUnitId']()):_0x23318b['of'](null);}),_0x23318b[_0x2309de(0x161)](_0x494d6d=>_0x494d6d?_0x494d6d[_0x2309de(0x2c8)]:_0x23318b['of'](_0x4d8e7c[_0x2309de(0x2f6)][_0x2309de(0xdd)])))[_0x2309de(0x86)](_0x1c4a49=>{const _0x502525=_0x2309de;this[_0x502525(0xc5)][_0x502525(0x120)](_0x1c4a49);}));}['_initStatusComponent'](){const _0x2f4347=_0x2a4230;this[_0x2f4347(0xc6)](this[_0x2f4347(0x1f6)][_0x2f4347(0x18b)](_0xb7c596[_0x2f4347(0x9a)]['HEADER_MENU'],()=>_0xb7c596[_0x2f4347(0x200)](_0x2fe208({'status$':this[_0x2f4347(0xc5)]['asObservable']()}),this[_0x2f4347(0x2f5)])));}},_0x4e590a[_0x2a4230(0x10b)]=_0x3e1a15([_0x152d53(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x152d53(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x152d53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x152d53(0x3,_0xb7c596[_0x2a4230(0xdf)])],_0x4e590a[_0x2a4230(0x10b)]);function _0x2fe208(_0x13fb13){const {status$:_0x3afb71}=_0x13fb13;return function(){const _0x2a8c6d=_0x1bfb;return _0x508896[_0x2a8c6d(0x302)](_0x53356e,{'status$':_0x3afb71});};}var _0x1862ad=Object[_0x2a4230(0x310)],_0x2854c6=(_0x593041,_0xe13d3c,_0x5a539e,_0x37aab1)=>{for(var _0x5b8b4f=_0x37aab1>0x1?void 0x0:_0x37aab1?_0x1862ad(_0xe13d3c,_0x5a539e):_0xe13d3c,_0x1f1e64=_0x593041['length']-0x1,_0x3e90c5;_0x1f1e64>=0x0;_0x1f1e64--)(_0x3e90c5=_0x593041[_0x1f1e64])&&(_0x5b8b4f=_0x3e90c5(_0x5b8b4f)||_0x5b8b4f);return _0x5b8b4f;},_0x42d1e5=(_0x2ce331,_0x18de0b)=>(_0x20e3e9,_0x2292a8)=>_0x18de0b(_0x20e3e9,_0x2292a8,_0x2ce331);let _0x5be03f=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0xfe6cb9,_0x158f54,_0x5d7737,_0x1bcd47,_0x598924,_0x5b2ea3){const _0x13481b=_0x2a4230;super(),this[_0x13481b(0x95)]=_0xfe6cb9,this[_0x13481b(0x2d8)]=_0x158f54,this[_0x13481b(0xd0)]=_0x5d7737,this[_0x13481b(0xc1)]=_0x1bcd47,this[_0x13481b(0x142)]=_0x598924,this[_0x13481b(0x259)]=_0x5b2ea3,this[_0x13481b(0x21b)](),this[_0x13481b(0x232)]();}[_0x2a4230(0x21b)](){const _0x3433fc=_0x2a4230;this['disposeWithMe'](this[_0x3433fc(0x95)][_0x3433fc(0x71)](()=>{const _0x200caa=_0x3433fc;if(this[_0x200caa(0x2d8)]['saveTaskMap'][_0x200caa(0x2e3)])return this['_localeService']['t'](_0x200caa(0x281));}));}[_0x2a4230(0x232)](){const _0x1cccaf=_0x2a4230;this[_0x1cccaf(0xc6)](this[_0x1cccaf(0xd0)][_0x1cccaf(0x171)][_0x1cccaf(0x86)](_0x285e4b=>{const _0x580c8e=_0x1cccaf;_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb9)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x28e)]&&this['_messageService'][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0xe0)]&&this['_notificationService'][_0x580c8e(0x278)]({'title':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x1ec)),'content':this[_0x580c8e(0x259)]['t']('permission.content'),'type':'error','duration':0x0}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x90)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))+'('+_0x285e4b[_0x580c8e(0xa4)]+')'}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x285e4b[_0x580c8e(0xa4)]||'')}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb3)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x295))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x25d)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x2d3))}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x217)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0xb0)],'content':this['_localeService']['t'](_0x580c8e(0x2ec))});}));}};_0x5be03f=_0x2854c6([_0x42d1e5(0x0,_0xb7c596[_0x2a4230(0x19b)]),_0x42d1e5(0x1,_0x4d8e7c[_0x2a4230(0x125)]),_0x42d1e5(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x27e)])),_0x42d1e5(0x3,_0xb7c596[_0x2a4230(0x204)]),_0x42d1e5(0x4,_0xb7c596[_0x2a4230(0x1a4)]),_0x42d1e5(0x5,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x5be03f);const _0x5b970e=_0x2a4230(0x231),_0x3a187b={},_0x56d03c=_0x3c1804[_0x2a4230(0xa9)]('uni.network.url-service');var _0x27ab41=Object['getOwnPropertyDescriptor'],_0x384d80=(_0x22eaad,_0x4da01b,_0x3cbc9a,_0x4e71d1)=>{const _0x5506d2=_0x2a4230;for(var _0x1e58f1=_0x4e71d1>0x1?void 0x0:_0x4e71d1?_0x27ab41(_0x4da01b,_0x3cbc9a):_0x4da01b,_0x53ad5e=_0x22eaad[_0x5506d2(0x210)]-0x1,_0xe77745;_0x53ad5e>=0x0;_0x53ad5e--)(_0xe77745=_0x22eaad[_0x53ad5e])&&(_0x1e58f1=_0xe77745(_0x1e58f1)||_0x1e58f1);return _0x1e58f1;},_0xe0f450=(_0x3653ec,_0x36aade)=>(_0x521563,_0x304c3f)=>_0x36aade(_0x521563,_0x304c3f,_0x3653ec);_0x4e590a[_0x2a4230(0x1fe)]=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x29fd9b,_0x36b1fd,_0x36307b,_0x1cd40b,_0xa6d70a){const _0x3e3e57=_0x2a4230;super(),this[_0x3e3e57(0x312)]=_0x29fd9b,this[_0x3e3e57(0x1de)]=_0x36b1fd,this['_commandService']=_0x36307b,this[_0x3e3e57(0x244)]=_0x1cd40b,_0xa6d70a?_0xa6d70a==null||_0xa6d70a[_0x3e3e57(0x2d0)]()[_0x3e3e57(0x14f)](()=>this[_0x3e3e57(0x2c1)]()):(this['_logService'][_0x3e3e57(0x282)](_0x3e3e57(0x197),_0x3e3e57(0x2ce)),this['_init']());}async[_0x2a4230(0x2c1)](){const _0x47a562=_0x2a4230,_0x4a5c30=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x1da)),_0x4722ae=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x2d7)),_0x161a72=this[_0x47a562(0x312)][_0x47a562(0x1f9)](_0x47a562(0x189));if(!_0x4a5c30||!_0x4722ae){this['_logService'][_0x47a562(0x282)](_0x47a562(0x197),_0x47a562(0x249));return;}const _0x348233=await this['_dataLoaderService'][_0x47a562(0x2c3)](_0x4a5c30,Number(_0x4722ae),_0x161a72);_0x348233&&_0x348233 instanceof _0x3c1804[_0x47a562(0x2d6)]&&this['_setupSubUnitSync'](_0x348233);}async[_0x2a4230(0x206)](_0x3f2043){const _0xc9ff06=_0x2a4230;await this['_updateSubUnitFromURLParams'](_0x3f2043),_0x3f2043[_0xc9ff06(0x2f1)][_0xc9ff06(0x154)](_0x23318b[_0xc9ff06(0xfe)](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](_0x2e6389=>{const _0x200e63=_0xc9ff06;_0x2e6389&&this[_0x200e63(0xe6)](_0x2e6389);}),this[_0xc9ff06(0x312)][_0xc9ff06(0x2b8)]['pipe'](_0x23318b['takeUntil'](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](()=>this['_updateSubUnitFromURLParams'](_0x3f2043));}[_0x2a4230(0xe6)](_0x866f8e,_0x78a825=!0x1){const _0x10b3e0=_0x2a4230,_0x2cb10e=this[_0x10b3e0(0x312)][_0x10b3e0(0x1f9)](_0x10b3e0(0x189));_0x866f8e[_0x10b3e0(0xd1)]()!==_0x2cb10e&&this[_0x10b3e0(0x312)][_0x10b3e0(0xe9)](_0x10b3e0(0x189),_0x866f8e[_0x10b3e0(0xd1)](),_0x78a825);}async['_updateSubUnitFromURLParams'](_0x29c59a){const _0x2cf03e=_0x2a4230;var _0x5bbf3f;const _0x3fadc2=this[_0x2cf03e(0x312)][_0x2cf03e(0x1f9)](_0x2cf03e(0x189));if(!_0x3fadc2||!_0x29c59a[_0x2cf03e(0x18d)](_0x3fadc2)){const _0x566cf9=_0x29c59a[_0x2cf03e(0x1bb)]()[0x0],_0x3b478c=_0x29c59a[_0x2cf03e(0x18d)](_0x566cf9);if(!_0x3b478c)return;this['_updateURLWithCurrentState'](_0x3b478c,!0x0),await this['_commandService'][_0x2cf03e(0x181)](_0x441e63[_0x2cf03e(0x2b9)]['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x566cf9});return;}((_0x5bbf3f=_0x29c59a[_0x2cf03e(0x1cf)]())==null?void 0x0:_0x5bbf3f[_0x2cf03e(0xd1)]())!==_0x3fadc2&&await this[_0x2cf03e(0x9b)][_0x2cf03e(0x181)](_0x441e63['SetWorksheetActivateCommand']['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x3fadc2});}},_0x4e590a[_0x2a4230(0x1fe)]=_0x384d80([_0xe0f450(0x0,_0x56d03c),_0xe0f450(0x1,_0x3c1804['ILogService']),_0xe0f450(0x2,_0x3c1804[_0x2a4230(0x122)]),_0xe0f450(0x3,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c['DataLoaderService'])),_0xe0f450(0x4,_0x3c1804[_0x2a4230(0x2a9)](_0x9f1645['IRemoteInstanceService']))],_0x4e590a[_0x2a4230(0x1fe)]);var _0x4e5591=Object[_0x2a4230(0x310)],_0x102740=(_0x5c5730,_0x289487,_0x5bcc6e,_0x2f309e)=>{const _0x4a8b03=_0x2a4230;for(var _0x14a413=_0x2f309e>0x1?void 0x0:_0x2f309e?_0x4e5591(_0x289487,_0x5bcc6e):_0x289487,_0x529bc2=_0x5c5730[_0x4a8b03(0x210)]-0x1,_0x1b50f9;_0x529bc2>=0x0;_0x529bc2--)(_0x1b50f9=_0x5c5730[_0x529bc2])&&(_0x14a413=_0x1b50f9(_0x14a413)||_0x14a413);return _0x14a413;},_0x4222c4=(_0x432623,_0x4576ad)=>(_0x53c7cc,_0x456dd4)=>_0x4576ad(_0x53c7cc,_0x456dd4,_0x432623);let _0x291d78=class{constructor(_0x2100fa,_0x51e649){const _0x133f39=_0x2a4230;this['_transformService']=_0x2100fa,this[_0x133f39(0x12a)]=_0x51e649;}[_0x2a4230(0x111)](_0x4db1bf){const _0x24787e=_0x2a4230;this[_0x24787e(0x298)](_0x4db1bf),this[_0x24787e(0x2e0)](_0x4db1bf);}[_0x2a4230(0x212)](_0x2ea209){const _0x42f6f6=_0x2a4230,{unitID:_0x318ed1}=_0x2ea209,_0x10fd8f=this[_0x42f6f6(0x12a)]['getRenderById'](_0x318ed1)[_0x42f6f6(0xdc)](_0x4aced0[_0x42f6f6(0x16b)]),{redoCache:_0x44e83b}=_0x10fd8f['getUndoRedoMutationParamsCache']();if(_0x44e83b[_0x42f6f6(0x210)]===0x0)return _0x2ea209;let _0x10721a=_0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209[_0x42f6f6(0x144)][0x0]);for(let _0x42d2bd=0x0;_0x42d2bd<_0x44e83b['length'];_0x42d2bd++){const _0x3d4577={'id':_0x42f6f6(0x124),'params':{..._0x44e83b[_0x42d2bd]}},_0x106083=this[_0x42f6f6(0x1b4)]['transformMutation'](_0x10721a,_0x3d4577,!0x1);if(_0x4b9b03[_0x42f6f6(0x192)](_0x106083))throw _0x106083[_0x42f6f6(0x103)];_0x10721a=_0x106083[_0x42f6f6(0x2b1)];}return{..._0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209),'mutations':[_0x10721a]};}[_0x2a4230(0x298)](_0x2db7ff){const _0x15d71a=_0x2a4230,{unitID:_0x31744c}=_0x2db7ff,_0x5dc95d=this[_0x15d71a(0x12a)]['getRenderById'](_0x31744c)[_0x15d71a(0xdc)](_0x4aced0[_0x15d71a(0x16b)]),{undoCache:_0x27ee2e,redoCache:_0x2af9a7}=_0x5dc95d[_0x15d71a(0x2e8)]();if(_0x27ee2e['length']===0x0||_0x2af9a7['length']===0x0)return;const _0x379bc3=[],_0x204c31=[];let _0x15e510=_0x3c1804['Tools'][_0x15d71a(0x293)](_0x2db7ff[_0x15d71a(0x144)][0x0]),_0x4487df=_0x3c1804[_0x15d71a(0x2ad)][_0x15d71a(0x293)](_0x2db7ff['mutations'][0x0]);for(let _0x4c1653=_0x27ee2e['length']-0x1;_0x4c1653>=0x0;_0x4c1653--){const _0x4a3d0f={'id':_0x15d71a(0x124),'params':{..._0x27ee2e[_0x4c1653]}},_0x49720c={'id':'doc.mutation.rich-text-editing','params':{..._0x2af9a7[_0x4c1653]}},_0x3242fe=this[_0x15d71a(0x1b4)]['transformMutation'](_0x15e510,_0x4a3d0f,!0x1),_0x113632=this[_0x15d71a(0x1b4)]['transformMutation'](_0x4487df,_0x49720c,!0x1);if(_0x4b9b03[_0x15d71a(0x192)](_0x3242fe))throw _0x3242fe[_0x15d71a(0x103)];if(_0x4b9b03['isTransformMutationFailure'](_0x113632))throw _0x113632[_0x15d71a(0x103)];_0x379bc3['unshift'](_0x3242fe[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x204c31['unshift'](_0x113632[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x15e510=_0x3242fe[_0x15d71a(0x2b1)],_0x4487df=_0x113632[_0x15d71a(0x2b1)];}_0x5dc95d[_0x15d71a(0xe7)]({'undoCache':_0x379bc3,'redoCache':_0x204c31});}[_0x2a4230(0x2e0)](_0x1a00d2){const _0x516edc=_0x2a4230,{unitID:_0x3b0c1a}=_0x1a00d2,_0x4a0ac4=this[_0x516edc(0x12a)]['getRenderById'](_0x3b0c1a)[_0x516edc(0xdc)](_0x4aced0[_0x516edc(0x16b)]),_0x23afc6=_0x4a0ac4[_0x516edc(0x1d0)]();if(_0x23afc6==null)return;const _0xa796dc=[{'id':_0x516edc(0x124),'params':{'unitId':_0x1a00d2[_0x516edc(0x2be)],'actions':null,'textRanges':[_0x23afc6]}}],_0x558d67=this['_transformService']['transformMutationsWithChangeset'](_0x1a00d2,_0xa796dc);if(!_0x4b9b03['isTransformMutationsWithChangesetSuccess'](_0x558d67))throw _0x558d67[_0x516edc(0x103)];const _0x44f39e=_0x558d67[_0x516edc(0x13f)][0x0][_0x516edc(0x270)][_0x516edc(0x159)];Array[_0x516edc(0x271)](_0x44f39e)&&_0x44f39e[_0x516edc(0x210)]&&_0x4a0ac4[_0x516edc(0x20f)](_0x44f39e[0x0]);}};_0x291d78=_0x102740([_0x4222c4(0x0,_0x4b9b03[_0x2a4230(0x1a9)]),_0x4222c4(0x1,_0x214f70[_0x2a4230(0x1f1)])],_0x291d78);var _0x645181=Object['getOwnPropertyDescriptor'],_0x33cbc1=(_0x6b3f06,_0x42550b,_0x56bb8c,_0x329cf7)=>{const _0x4c76c1=_0x2a4230;for(var _0x5e6086=_0x329cf7>0x1?void 0x0:_0x329cf7?_0x645181(_0x42550b,_0x56bb8c):_0x42550b,_0x1c9737=_0x6b3f06[_0x4c76c1(0x210)]-0x1,_0xdb3377;_0x1c9737>=0x0;_0x1c9737--)(_0xdb3377=_0x6b3f06[_0x1c9737])&&(_0x5e6086=_0xdb3377(_0x5e6086)||_0x5e6086);return _0x5e6086;},_0xe057d=(_0x3961c8,_0x2b2934)=>(_0x3accc0,_0x5e752f)=>_0x2b2934(_0x3accc0,_0x5e752f,_0x3961c8);let _0x234507=class{constructor(_0x23896b,_0x3b5791,_0xda143a){const _0x2d740b=_0x2a4230;this[_0x2d740b(0x2f5)]=_0x23896b,this['_transformService']=_0x3b5791,this[_0x2d740b(0x11a)]=_0xda143a;}[_0x2a4230(0x26f)](_0x89ba9a){this['_transformHistoryAndStateStack'](_0x89ba9a);}[_0x2a4230(0x212)](_0x42d0ba){const _0x4bacd7=_0x2a4230,{unitID:_0x1a72b4}=_0x42d0ba,{collaboration:_0x29839a}=this[_0x4bacd7(0x11a)]['getStateCache'](_0x1a72b4);if(_0x29839a[_0x4bacd7(0x210)]===0x0)return _0x42d0ba;let _0x144027=_0x3c1804[_0x4bacd7(0x2ad)][_0x4bacd7(0x293)](_0x42d0ba[_0x4bacd7(0x144)][0x0]);for(let _0x3167a8=0x0;_0x3167a8<_0x29839a[_0x4bacd7(0x210)];_0x3167a8++){const _0x517000={'id':_0x4bacd7(0x124),'params':{'unitId':_0x29839a[_0x3167a8][_0x4bacd7(0x203)],..._0x29839a[_0x3167a8]['redoState']}},_0x133cdf=this['_transformService'][_0x4bacd7(0x25b)](_0x144027,_0x517000,!0x1);if(_0x4b9b03[_0x4bacd7(0x192)](_0x133cdf))throw _0x133cdf[_0x4bacd7(0x103)];_0x144027=_0x133cdf[_0x4bacd7(0x2b1)];}return{..._0x3c1804[_0x4bacd7(0x2ad)]['deepClone'](_0x42d0ba),'mutations':[_0x144027]};}[_0x2a4230(0x307)](_0x2db74f){const _0x373cb6=_0x2a4230,{unitID:_0x5b899c}=_0x2db74f,{history:_0x462174,collaboration:_0x29f0ee}=this[_0x373cb6(0x11a)][_0x373cb6(0x1db)](_0x5b899c);if(_0x462174[_0x373cb6(0x210)]===0x0&&_0x29f0ee[_0x373cb6(0x210)]===0x0)return;const _0x3abe27=[],_0x38ecfe=[];let _0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f['mutations'][0x0]),_0x45f137=_0x3c1804['Tools'][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x2b67ac=_0x462174['length']-0x1;_0x2b67ac>=0x0;_0x2b67ac--){const _0xf1b99e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xed)]}},_0x33ae02={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xb6)]}},_0x420a87=this[_0x373cb6(0x1b4)]['transformMutation'](_0x49a7f1,_0xf1b99e,!0x1),_0x4ae316=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x45f137,_0x33ae02,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x420a87))throw _0x420a87[_0x373cb6(0x103)];if(_0x4b9b03[_0x373cb6(0x192)](_0x4ae316))throw _0x4ae316[_0x373cb6(0x103)];_0x3abe27['unshift']({..._0x462174[_0x2b67ac],'undoState':_0x420a87[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x4ae316['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x420a87[_0x373cb6(0x2b1)],_0x45f137=_0x4ae316['m1Prime'];}_0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)]['deepClone'](_0x2db74f[_0x373cb6(0x144)][0x0]),_0x45f137=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x317777=_0x29f0ee[_0x373cb6(0x210)]-0x1;_0x317777>=0x0;_0x317777--){const _0x5319f8={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777]['undoState']}},_0x147509={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777][_0x373cb6(0xb6)]}},_0x4050d3=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x49a7f1,_0x5319f8,!0x1),_0x3defcc=this['_transformService'][_0x373cb6(0x25b)](_0x45f137,_0x147509,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x4050d3))throw _0x4050d3['error'];if(_0x4b9b03['isTransformMutationFailure'](_0x3defcc))throw _0x3defcc['error'];_0x38ecfe[_0x373cb6(0x163)]({..._0x29f0ee[_0x317777],'undoState':_0x4050d3[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x3defcc['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x4050d3[_0x373cb6(0x2b1)],_0x45f137=_0x3defcc[_0x373cb6(0x2b1)];}this[_0x373cb6(0x11a)][_0x373cb6(0x23b)](_0x5b899c,{'history':_0x3abe27,'collaboration':_0x38ecfe});}};_0x234507=_0x33cbc1([_0xe057d(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0xe057d(0x1,_0x4b9b03[_0x2a4230(0x1a9)]),_0xe057d(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4aced0['DocStateChangeManagerService']))],_0x234507);var _0x89c548=Object['getOwnPropertyDescriptor'],_0x1f6356=(_0x41d403,_0x4e5e27,_0x45b7de,_0x4a9bf6)=>{const _0x317e91=_0x2a4230;for(var _0x2cd5a6=_0x4a9bf6>0x1?void 0x0:_0x4a9bf6?_0x89c548(_0x4e5e27,_0x45b7de):_0x4e5e27,_0x420aa9=_0x41d403[_0x317e91(0x210)]-0x1,_0x4aa5df;_0x420aa9>=0x0;_0x420aa9--)(_0x4aa5df=_0x41d403[_0x420aa9])&&(_0x2cd5a6=_0x4aa5df(_0x2cd5a6)||_0x2cd5a6);return _0x2cd5a6;},_0x67c924=(_0x4e2078,_0x462861)=>(_0x50fe42,_0x4a0c43)=>_0x462861(_0x50fe42,_0x4a0c43,_0x4e2078);let _0x52d2d4=class{constructor(_0x1d5f88,_0x49a189){const _0xb7272f=_0x2a4230;this[_0xb7272f(0x2f5)]=_0x1d5f88,this[_0xb7272f(0x1b4)]=_0x49a189;}['transformSelections'](_0xfc43f6){const _0x52db3d=_0x2a4230;var _0x9b89c3;const _0x519ba3=this[_0x52db3d(0x2f5)]['get'](_0x3c10b0['DocSelectionManagerService']),_0x129e76=(_0x9b89c3=_0x519ba3['getDocRanges']())!=null?_0x9b89c3:[];if(_0x129e76[_0x52db3d(0x210)]===0x0)return;const _0x2a5894=_0xfc43f6[_0x52db3d(0x2be)],_0x42e949=[{'id':_0x52db3d(0x124),'params':{'unitId':_0x2a5894,'actions':null,'textRanges':_0x129e76}}],_0x110473=this['_transformService']['transformMutationsWithChangeset'](_0xfc43f6,_0x42e949);if(!_0x4b9b03[_0x52db3d(0x121)](_0x110473))throw _0x110473[_0x52db3d(0x103)];const _0x3de66d=_0x110473[_0x52db3d(0x13f)][0x0][_0x52db3d(0x270)][_0x52db3d(0x159)];Array[_0x52db3d(0x271)](_0x3de66d)&&_0x3de66d[_0x52db3d(0x210)]&&_0x519ba3[_0x52db3d(0x70)](_0x3de66d,{'unitId':_0x2a5894,'subUnitId':_0x2a5894},!0x1);}};_0x52d2d4=_0x1f6356([_0x67c924(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x67c924(0x1,_0x4b9b03[_0x2a4230(0x1a9)])],_0x52d2d4);var _0x2d3df1=Object['getOwnPropertyDescriptor'],_0x5a6468=(_0x2536c3,_0x1aea9b,_0x31a2f4,_0x186dba)=>{const _0x3eb843=_0x2a4230;for(var _0x288b35=_0x186dba>0x1?void 0x0:_0x186dba?_0x2d3df1(_0x1aea9b,_0x31a2f4):_0x1aea9b,_0x5925e6=_0x2536c3[_0x3eb843(0x210)]-0x1,_0x5e0be2;_0x5925e6>=0x0;_0x5925e6--)(_0x5e0be2=_0x2536c3[_0x5925e6])&&(_0x288b35=_0x5e0be2(_0x288b35)||_0x288b35);return _0x288b35;},_0x5ddcad=(_0x29aac3,_0x2fbd05)=>(_0xc0f0a5,_0x3cee07)=>_0x2fbd05(_0xc0f0a5,_0x3cee07,_0x29aac3);let _0x4eac55=class extends _0x3c1804['Disposable']{constructor(_0x559481,_0x4602,_0x5de09a,_0x32a202,_0x1dafa4,_0x2a00a0,_0x2c5cbd,_0x5acd98){const _0xd2f2b=_0x2a4230;super(),_0x275745(this,_0xd2f2b(0xc5),new _0x23318b[(_0xd2f2b(0x19a))](_0x4d8e7c[_0xd2f2b(0x2f6)][_0xd2f2b(0xdd)])),(this[_0xd2f2b(0x11a)]=_0x559481,this[_0xd2f2b(0x13a)]=_0x4602,this['_docTransformIMECacheService']=_0x5de09a,this[_0xd2f2b(0xe5)]=_0x32a202,this[_0xd2f2b(0x2a8)]=_0x1dafa4,this[_0xd2f2b(0x185)]=_0x2a00a0,this[_0xd2f2b(0xc1)]=_0x2c5cbd,this[_0xd2f2b(0x259)]=_0x5acd98,this[_0xd2f2b(0x19f)]());}['_initEntityListener'](){const _0x2d7eba=_0x2a4230;this[_0x2d7eba(0xc6)](this[_0x2d7eba(0x13a)][_0x2d7eba(0x93)]['subscribe'](_0x2ff8bd=>{const _0x3064d5=_0x2d7eba,_0x46abd0=this[_0x3064d5(0x11a)]['docStateChange$'][_0x3064d5(0x86)](_0x82e7ad=>{const _0x259902=_0x3064d5;if(_0x82e7ad==null)return;const {unitId:_0x53d5fd,redoState:_0x498a6c,commandId:_0x1caf3b}=_0x82e7ad;if(_0x53d5fd!==_0x2ff8bd[_0x259902(0x2be)])return;const _0x59f7e0={'id':_0x1caf3b,'type':_0x3c1804[_0x259902(0x8b)][_0x259902(0xcb)],'params':{'unitId':_0x53d5fd,'actions':_0x498a6c[_0x259902(0x2ea)],'textRanges':null}};_0x2ff8bd[_0x259902(0x23a)](_0x59f7e0);});if(_0x2ff8bd['disposeWithMe'](_0x46abd0),_0x2ff8bd instanceof _0x4d8e7c[_0x3064d5(0x2eb)]){const _0x22558a={'onTransformIME':_0x5c4c=>this[_0x3064d5(0x15c)]['transformIMECache'](_0x5c4c),'onTransformState':_0x4a4474=>this[_0x3064d5(0xe5)][_0x3064d5(0x26f)](_0x4a4474),'onTransformSelections':_0x582153=>this[_0x3064d5(0x2a8)][_0x3064d5(0x10c)](_0x582153),'onSyncEditingCollabCursor':_0x24aacf=>this[_0x3064d5(0x185)][_0x3064d5(0x301)](_0x24aacf),'onTransformRemoteChangesetByIMECache':_0x45fd7b=>this[_0x3064d5(0x15c)][_0x3064d5(0x212)](_0x45fd7b),'onTransformRemoteChangesetByStateCache':_0x2f7dc5=>this[_0x3064d5(0xe5)][_0x3064d5(0x212)](_0x2f7dc5)};_0x2ff8bd[_0x3064d5(0x262)](_0x22558a);}}));}};_0x4eac55=_0x5a6468([_0x5ddcad(0x0,_0x3c1804[_0x2a4230(0x172)](_0x4aced0[_0x2a4230(0x247)])),_0x5ddcad(0x1,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x5ddcad(0x2,_0x3c1804['Inject'](_0x291d78)),_0x5ddcad(0x3,_0x3c1804['Inject'](_0x234507)),_0x5ddcad(0x4,_0x3c1804['Inject'](_0x52d2d4)),_0x5ddcad(0x5,_0x3c1804['Inject'](_0x149923)),_0x5ddcad(0x6,_0xb7c596[_0x2a4230(0x204)]),_0x5ddcad(0x7,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x4eac55);var _0x3197aa=Object[_0x2a4230(0x310)],_0x599b5e=(_0x1d920c,_0x2c9b9c,_0x2f735d,_0x111914)=>{for(var _0x1465fc=_0x111914>0x1?void 0x0:_0x111914?_0x3197aa(_0x2c9b9c,_0x2f735d):_0x2c9b9c,_0x3788d3=_0x1d920c['length']-0x1,_0x107bb5;_0x3788d3>=0x0;_0x3788d3--)(_0x107bb5=_0x1d920c[_0x3788d3])&&(_0x1465fc=_0x107bb5(_0x1465fc)||_0x1465fc);return _0x1465fc;},_0x583c4b=(_0x40195a,_0x347cb8)=>(_0x1557e6,_0x28f0de)=>_0x347cb8(_0x1557e6,_0x28f0de,_0x40195a);let _0x3b652d=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x27b376,_0x432946,_0x119d36){const _0x1b7935=_0x2a4230;super(),_0x275745(this,_0x1b7935(0x1ac),new Map()),_0x275745(this,_0x1b7935(0x1b2),new Map()),_0x275745(this,'_disabled',!0x1),(this['_configService']=_0x27b376,this[_0x1b7935(0xbf)]=_0x432946,this[_0x1b7935(0x290)]=_0x119d36);}['disableLocalCache'](){const _0x1cb916=_0x2a4230;this[_0x1cb916(0x16c)]=!0x0;}[_0x2a4230(0x11d)](){const _0x51ceed=_0x2a4230;this[_0x51ceed(0x16c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0xd36ccc=_0x2a4230;this[_0xd36ccc(0x1b0)]()[_0xd36ccc(0x14f)](()=>super[_0xd36ccc(0x75)]());}async[_0x2a4230(0x2bd)](_0x41499a){const _0x5ab1dd=_0x2a4230;return this[_0x5ab1dd(0x16c)]?null:this[_0x5ab1dd(0xbf)]['getItem'](_0x4d8e7c[_0x5ab1dd(0x11e)](_0x41499a));}async[_0x2a4230(0x78)](_0x187128,_0x3fa472){const _0x39b722=_0x2a4230;return!!this[_0x39b722(0xbf)][_0x39b722(0x12b)](_0x187128,_0x3fa472);}[_0x2a4230(0x2e6)](_0x4dd887,_0x1abf14,_0x49ee85,_0x15f7fd){const _0x5547dd=_0x2a4230,_0x1f9b84=this['_revisionService'][_0x5547dd(0x20e)](_0x4dd887);this[_0x5547dd(0x1ac)][_0x5547dd(0x2cd)](_0x4dd887,{'unitID':_0x4dd887,'type':_0x1abf14,'awaitingChangeset':_0x49ee85,'mutations':_0x15f7fd,'rev':_0x1f9b84}),this[_0x5547dd(0x1b2)][_0x5547dd(0x23e)](_0x4dd887)||this[_0x5547dd(0xfd)](_0x4dd887);}[_0x2a4230(0xfd)](_0x1a1662){const _0x3fbede=_0x2a4230,_0xeef60e=this[_0x3fbede(0x1b8)]();_0xeef60e===0x0?this['_saveCache'](_0x1a1662):this[_0x3fbede(0x1b2)][_0x3fbede(0x2cd)](_0x1a1662,setTimeout(()=>this['_saveCache'](_0x1a1662),_0xeef60e));}[_0x2a4230(0x1b8)](){const _0x14bf57=_0x2a4230;var _0x1617a8;return(_0x1617a8=this[_0x14bf57(0xad)][_0x14bf57(0x10a)](_0x4d8e7c[_0x14bf57(0x2ff)]))!=null?_0x1617a8:_0x4d8e7c['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x3a98d4){const _0x1d8c93=_0x2a4230,_0xfdbc0a=this['_saveTaskMap'][_0x1d8c93(0x9e)](_0x3a98d4);return _0xfdbc0a!==void 0x0&&window[_0x1d8c93(0xff)](_0xfdbc0a),this[_0x1d8c93(0xbf)]['setItem'](_0x4d8e7c[_0x1d8c93(0x11e)](_0x3a98d4),this['_cachedData'][_0x1d8c93(0x9e)](_0x3a98d4))[_0x1d8c93(0x14f)](()=>this[_0x1d8c93(0x1b2)][_0x1d8c93(0x1e0)](_0x3a98d4));}async[_0x2a4230(0x1b0)](){const _0x4149a0=_0x2a4230,_0x1db28c=[];this[_0x4149a0(0x1b2)][_0x4149a0(0x30d)]((_0x5457d2,_0x53997b)=>{const _0x1566f7=_0x4149a0;window[_0x1566f7(0xff)](_0x5457d2),_0x1db28c['push'](this[_0x1566f7(0x21d)](_0x53997b)[_0x1566f7(0x14f)](()=>{const _0x2954ba=_0x1566f7;this[_0x2954ba(0x1b2)][_0x2954ba(0x1e0)](_0x53997b);}));}),await Promise['all'](_0x1db28c);}};_0x3b652d=_0x599b5e([_0x583c4b(0x0,_0x3c1804[_0x2a4230(0x23d)]),_0x583c4b(0x1,_0x3c1804[_0x2a4230(0x16d)]),_0x583c4b(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4b9b03[_0x2a4230(0xba)]))],_0x3b652d);class _0x50a82d extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x23ea13=_0x2a4230;super(),_0x275745(this,_0x23ea13(0x2b8)),this[_0x23ea13(0x2b8)]=_0x23318b[_0x23ea13(0x1c3)](window,_0x23ea13(0x132))['pipe'](_0x23318b[_0x23ea13(0xfe)](this['dispose$']),_0x23318b[_0x23ea13(0x2e1)](0x1),_0x23318b[_0x23ea13(0x114)](void 0x0));}['setParam'](_0x32986a,_0x3d6091,_0x10dd8e=!0x1){const _0x2dfbd7=_0x2a4230,_0x19f199=new URL(window['location']['href']);_0x19f199[_0x2dfbd7(0x233)]['set'](_0x32986a,_0x3d6091),_0x10dd8e?window[_0x2dfbd7(0x9f)][_0x2dfbd7(0x28b)]('','',_0x19f199[_0x2dfbd7(0x135)]()):window[_0x2dfbd7(0x9f)]['pushState']('','',_0x19f199[_0x2dfbd7(0x135)]());}[_0x2a4230(0x128)](_0x9179c5,_0x530fb4=!0x1){const _0x158d7a=_0x2a4230,_0x3f092=new URL(window[_0x158d7a(0x1a7)]['href']);_0x3f092['searchParams'][_0x158d7a(0x1e0)](_0x9179c5),_0x530fb4?window[_0x158d7a(0x9f)]['replaceState']('','',_0x3f092[_0x158d7a(0x135)]()):window['history'][_0x158d7a(0x2fe)]('','',_0x3f092[_0x158d7a(0x135)]());}[_0x2a4230(0x1f9)](_0x3c23d2){const _0x498890=_0x2a4230;var _0x430266;return(_0x430266=new URL(window[_0x498890(0x1a7)][_0x498890(0xd8)])[_0x498890(0x233)][_0x498890(0x9e)](_0x3c23d2))!=null?_0x430266:void 0x0;}}var _0x1473bd=Object[_0x2a4230(0x1b6)],_0x2f61b0=Object[_0x2a4230(0x310)],_0x3295c6=(_0x414cd7,_0x507629,_0x2ced58)=>_0x507629 in _0x414cd7?_0x1473bd(_0x414cd7,_0x507629,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced58}):_0x414cd7[_0x507629]=_0x2ced58,_0x39ddfa=(_0x7daa9c,_0x1c980f,_0x39d0c7,_0x5d38c2)=>{for(var _0x566f26=_0x5d38c2>0x1?void 0x0:_0x5d38c2?_0x2f61b0(_0x1c980f,_0x39d0c7):_0x1c980f,_0x8ea48b=_0x7daa9c['length']-0x1,_0xa10d12;_0x8ea48b>=0x0;_0x8ea48b--)(_0xa10d12=_0x7daa9c[_0x8ea48b])&&(_0x566f26=_0xa10d12(_0x566f26)||_0x566f26);return _0x566f26;},_0x2920db=(_0x301313,_0x1cc36a)=>(_0x336717,_0x591ae1)=>_0x1cc36a(_0x336717,_0x591ae1,_0x301313),_0xa93bb0=(_0x187089,_0x24352a,_0x225c04)=>_0x3295c6(_0x187089,_0x24352a+'',_0x225c04);const _0x383fdc=_0x2a4230(0x2e4);_0x4e590a['UniverCollaborationClientUIPlugin']=class extends _0x3c1804['Plugin']{constructor(_0x346e3e=_0x3a187b,_0x34fc35,_0x2bfe00,_0x5ded75){const _0x207415=_0x2a4230;super(),this['_config']=_0x346e3e,this[_0x207415(0x12a)]=_0x34fc35,this[_0x207415(0x2f5)]=_0x2bfe00,this['_configService']=_0x5ded75;const {..._0x51f7d6}=_0x3c1804['merge']({},_0x3a187b,this[_0x207415(0x24f)]);this[_0x207415(0xad)][_0x207415(0x2c7)](_0x5b970e,_0x51f7d6);}[_0x2a4230(0x191)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a4230(0x2de)](){this['_registerRenderDependencies']();}[_0x2a4230(0xf4)](){const _0x4420c5=_0x2a4230;var _0x502e0;const _0xc3b002=[[_0x7baa89],[_0x52d2d4],[_0x291d78],[_0x234507],[_0x149923],[_0x56d03c,{'useClass':_0x50a82d}],[_0x3ceccb[_0x4420c5(0x279)],{'useClass':_0x3ceccb[_0x4420c5(0x28d)]}],[_0x4d8e7c['ILocalCacheService'],{'useClass':_0x3b652d}],[_0x4e590a[_0x4420c5(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x120278],[_0x34b7fc],[_0x4e590a[_0x4420c5(0x1fe)]]];_0x3c1804[_0x4420c5(0x267)](this[_0x4420c5(0x2f5)],_0x3c1804['mergeOverrideWithDependencies'](_0xc3b002,(_0x502e0=this[_0x4420c5(0x24f)])==null?void 0x0:_0x502e0[_0x4420c5(0x1b3)]));}[_0x2a4230(0x2cb)](){const _0x4c5383=_0x2a4230;this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804[_0x4c5383(0x253)]['UNIVER_DOC'],[_0x5eb364])),this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804['UniverInstanceType'][_0x4c5383(0x165)],[_0x1f6d7b]));}[_0x2a4230(0x1c7)](){const _0x3ec9f4=_0x2a4230;_0x3c1804['touchDependencies'](this[_0x3ec9f4(0x2f5)],[[_0x120278],[_0x4e590a[_0x3ec9f4(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x4e590a[_0x3ec9f4(0x1fe)]]]);}},_0xa93bb0(_0x4e590a[_0x2a4230(0x19d)],_0x2a4230(0x170),_0x383fdc),_0x4e590a[_0x2a4230(0x19d)]=_0x39ddfa([_0x3c1804[_0x2a4230(0x20a)](_0x4d8e7c['UniverCollaborationClientPlugin']),_0x2920db(0x1,_0x214f70[_0x2a4230(0x1f1)]),_0x2920db(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x2920db(0x3,_0x3c1804[_0x2a4230(0x23d)])],_0x4e590a[_0x2a4230(0x19d)]);var _0x2fb126=Object[_0x2a4230(0x310)],_0x350a73=(_0x4cbed8,_0x39c830,_0x208bf2,_0x26b023)=>{const _0x4b29dc=_0x2a4230;for(var _0x112e9b=_0x26b023>0x1?void 0x0:_0x26b023?_0x2fb126(_0x39c830,_0x208bf2):_0x39c830,_0x3773c3=_0x4cbed8[_0x4b29dc(0x210)]-0x1,_0xd3d7e1;_0x3773c3>=0x0;_0x3773c3--)(_0xd3d7e1=_0x4cbed8[_0x3773c3])&&(_0x112e9b=_0xd3d7e1(_0x112e9b)||_0x112e9b);return _0x112e9b;},_0x1626ef=(_0x5a6515,_0x3b4506)=>(_0x1ecaaf,_0x4dfce2)=>_0x3b4506(_0x1ecaaf,_0x4dfce2,_0x5a6515);_0x4e590a[_0x2a4230(0x9d)]=class extends _0x4d8e7c['CollaborationSocketService']{constructor(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89){super(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89);}async[_0x2a4230(0x1d9)](_0x555400){const _0x4295d6=_0x2a4230,_0x671a0a=await this['_getSessionTicket'](),_0x4e2bfa=this[_0x4295d6(0x245)](_0x555400,_0x671a0a);return this['_doCreateSocket'](_0x4e2bfa);}[_0x2a4230(0x245)](_0xc577c0,_0x11f213){const _0x319919=_0x2a4230,_0x53a6f0=typeof window>'u'?new URL(_0xc577c0):new URL(_0xc577c0,window[_0x319919(0x1a7)][_0x319919(0x26e)]);_0x53a6f0['searchParams'][_0x319919(0x2cd)](_0x319919(0x147),_0x11f213);const _0x5a0886=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x319919(0x1a7)][_0x319919(0xf0)]);return _0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))&&_0x53a6f0[_0x319919(0x233)][_0x319919(0x2cd)](_0x319919(0xe2),_0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))),_0x53a6f0[_0x319919(0x135)]();}async[_0x2a4230(0x11c)](){const _0x5792f3=_0x2a4230;var _0xb57c36,_0x8456a7,_0x5dcdc3;const _0x4184f0=this[_0x5792f3(0xad)][_0x5792f3(0x10a)](_0x4d8e7c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x34b9b4=(_0xb57c36=_0x4184f0==null?void 0x0:_0x4184f0[_0x5792f3(0x182)])!=null?_0xb57c36:_0x4d8e7c[_0x5792f3(0x258)];return(_0x5dcdc3=(_0x8456a7=(await this[_0x5792f3(0x176)][_0x5792f3(0x9e)](_0x34b9b4,{'headers':{'Content-Type':_0x5792f3(0x1f4)}}))['body'])==null?void 0x0:_0x8456a7[_0x5792f3(0x1d1)])!=null?_0x5dcdc3:'';}},_0x4e590a['BrowserCollaborationSocketService']=_0x350a73([_0x1626ef(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x1626ef(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb[_0x2a4230(0x2e9)])),_0x1626ef(0x2,_0x3c1804[_0x2a4230(0x23d)]),_0x1626ef(0x3,_0x3c1804[_0x2a4230(0x1ab)]),_0x1626ef(0x4,_0x4b9b03['ISnapshotServerService'])],_0x4e590a[_0x2a4230(0x9d)]);const _0x461d63=0x7530,_0xd734cb=_0x2a4230(0xa5);class _0x33492f extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x247a22=_0x2a4230;super(),_0x275745(this,_0x247a22(0x265),_0x3c1804[_0x247a22(0x12d)]()),_0x275745(this,_0x247a22(0xfa),new Set()),_0x275745(this,_0x247a22(0x139),new Map()),_0x275745(this,_0x247a22(0x1f0),null),_0x275745(this,_0x247a22(0xbc),new Map()),_0x275745(this,_0x247a22(0x98),new Map()),this['_init']();}[_0x2a4230(0x75)](){const _0x246c04=_0x2a4230;super[_0x246c04(0x75)](),this['_clearOtherTimers'][_0x246c04(0x30d)]((_0x56c57d,_0x148f7f)=>this['_removeClearOtherTimer'](_0x148f7f)),this[_0x246c04(0x1f0)]&&window[_0x246c04(0x2c2)](this['_heartbeatTimer']);}[_0x2a4230(0x1c9)](_0x519d9c){const _0x257767=_0x2a4230;return this[_0x257767(0x226)](_0x519d9c)['pipe'](_0x23318b[_0x257767(0x21e)]());}[_0x2a4230(0x187)](_0x132cbd){const _0xcaeb5e=_0x2a4230;this[_0xcaeb5e(0xfa)][_0xcaeb5e(0x2e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0xcaeb5e(0xfa)]['add'](_0x132cbd),this[_0xcaeb5e(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x132cbd],'isForwarded':!0x1});}[_0x2a4230(0x2d2)](_0x2c282c){const _0xe20de4=_0x2a4230;this['_selfUnitIDs'][_0xe20de4(0x1e0)](_0x2c282c),this[_0xe20de4(0xfa)]['size']===0x0&&this[_0xe20de4(0x1f0)]&&window[_0xe20de4(0x2c2)](this[_0xe20de4(0x1f0)]);}[_0x2a4230(0x2c1)](){const _0x1618e5=_0x2a4230;this['disposeWithMe'](_0x3c1804[_0x1618e5(0xe1)](_0x23318b[_0x1618e5(0x1c3)](window,_0x1618e5(0x186))[_0x1618e5(0x86)](_0x37727d=>{const _0x12ead9=_0x1618e5;if(_0x37727d[_0x12ead9(0x1ce)]!==_0xd734cb||!_0x37727d[_0x12ead9(0x280)])return;const _0x535c9d=JSON[_0x12ead9(0x17b)](_0x37727d[_0x12ead9(0x280)]);this[_0x12ead9(0x14c)](_0x535c9d);}))),window[_0x1618e5(0x148)](_0x1618e5(0x277),()=>this[_0x1618e5(0x17e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x1618e5(0xfa)])}));}[_0x2a4230(0x14c)](_0x3bc93e){const _0x4365ee=_0x2a4230;switch(_0x3bc93e[_0x4365ee(0x2d7)]){case 0x0:this[_0x4365ee(0x169)](_0x3bc93e);break;case 0x1:this[_0x4365ee(0x113)](_0x3bc93e);break;case 0x2:this[_0x4365ee(0x1a8)](_0x3bc93e);break;}}[_0x2a4230(0x169)](_0x5451ec){const _0x3c99f6=_0x2a4230,{unitIDs:_0x5b9daa,memberID:_0x1e1ee5,isForwarded:_0x43d55e}=_0x5451ec;_0x5b9daa['forEach'](_0x52da0c=>{const _0x12a1f0=_0x1bfb;if(!_0x43d55e&&this[_0x12a1f0(0x139)][_0x12a1f0(0x23e)](_0x52da0c)&&this[_0x12a1f0(0x226)](_0x52da0c)['next'](_0x4d8e7c[_0x12a1f0(0x12c)][_0x12a1f0(0x141)]),!this['_unitOnClients'][_0x12a1f0(0x23e)](_0x52da0c)||!this[_0x12a1f0(0x139)][_0x12a1f0(0x9e)](_0x52da0c)[_0x12a1f0(0x23e)](_0x1e1ee5)){const _0x4c4cb5=this[_0x12a1f0(0x139)]['get'](_0x52da0c)||new Set();_0x4c4cb5[_0x12a1f0(0x137)](_0x1e1ee5),this[_0x12a1f0(0x139)]['set'](_0x52da0c,_0x4c4cb5),this[_0x12a1f0(0x223)](_0x1e1ee5);}}),_0x43d55e||this[_0x3c99f6(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2a4230(0x223)](_0x53ab4c){const _0x57df08=_0x2a4230;this[_0x57df08(0x254)](_0x53ab4c);const _0x32ea93=window[_0x57df08(0x13d)](()=>{const _0x59765f=_0x57df08;this['_unitOnClients'][_0x59765f(0x30d)](_0x1155a9=>{const _0x5e0215=_0x59765f;_0x1155a9[_0x5e0215(0x1e0)](_0x53ab4c);});},_0x461d63*0x2);this[_0x57df08(0xbc)][_0x57df08(0x2cd)](_0x53ab4c,_0x32ea93);}[_0x2a4230(0x254)](_0xa4ce39){const _0x406773=_0x2a4230;if(this[_0x406773(0xbc)]['has'](_0xa4ce39)){const _0x1bac57=this[_0x406773(0xbc)][_0x406773(0x9e)](_0xa4ce39);_0x1bac57&&window['clearTimeout'](_0x1bac57),this['_clearOtherTimers'][_0x406773(0x2cd)](_0xa4ce39,null);}}[_0x2a4230(0x113)](_0x30e8c3){const _0x5745fe=_0x2a4230,{memberID:_0x2d14e4,unitIDs:_0x1b678e}=_0x30e8c3;_0x1b678e['forEach'](_0x4ba272=>{const _0x46999d=_0x1bfb;var _0x5f385a;const _0x11b7b7=this['_unitOnClients'][_0x46999d(0x9e)](_0x4ba272);_0x11b7b7&&(_0x11b7b7['delete'](_0x2d14e4),(_0x5f385a=this['_ensureSubject'](_0x4ba272))==null||_0x5f385a[_0x46999d(0x120)](_0x11b7b7[_0x46999d(0x2e3)]===0x0?_0x4d8e7c['UnitStatus'][_0x46999d(0x1d6)]:_0x4d8e7c[_0x46999d(0x12c)]['OTHER_CLIENTS_EDITING']));}),this[_0x5745fe(0x254)](_0x2d14e4);}[_0x2a4230(0x1a8)](_0x17c916){const _0x553fd3=_0x2a4230;this[_0x553fd3(0x223)](_0x17c916[_0x553fd3(0x2c0)]);}['_send'](_0x5e8f8d){const _0x28fc6f=_0x2a4230;localStorage[_0x28fc6f(0x12b)](_0xd734cb,JSON[_0x28fc6f(0x22a)](_0x5e8f8d));}[_0x2a4230(0x2a6)](){const _0xd8cd16=_0x2a4230;this['_heartbeatTimer']=window[_0xd8cd16(0x198)](()=>{const _0x9dbcdb=_0xd8cd16;this[_0x9dbcdb(0x17e)]({'type':0x2,'memberID':this['_id']});},_0x461d63);}['_ensureSubject'](_0x2c2072){const _0x3d4db8=_0x2a4230;return this[_0x3d4db8(0x98)][_0x3d4db8(0x23e)](_0x2c2072)||this[_0x3d4db8(0x98)][_0x3d4db8(0x2cd)](_0x2c2072,new _0x23318b['BehaviorSubject'](_0x4d8e7c[_0x3d4db8(0x12c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d4db8(0x98)][_0x3d4db8(0x9e)](_0x2c2072);}}var _0x37a998=(_0x41bd73=>(_0x41bd73[_0x41bd73['UNDEFINED']=0x0]=_0x2a4230(0x216),_0x41bd73[_0x41bd73['OK']=0x1]='OK',_0x41bd73[_0x41bd73[_0x2a4230(0x22d)]=0x2]='INTERNAL_ERROR',_0x41bd73[_0x41bd73['PERMISSION_DENIED']=0x3]=_0x2a4230(0xe0),_0x41bd73[_0x41bd73[_0x2a4230(0x29f)]=0x4]=_0x2a4230(0x29f),_0x41bd73[_0x41bd73[_0x2a4230(0x21c)]=0x5]='UNAUTHENTICATED',_0x41bd73[_0x41bd73[_0x2a4230(0x1bd)]=0x6]=_0x2a4230(0x1bd),_0x41bd73[_0x41bd73[_0x2a4230(0x29a)]=0x7]=_0x2a4230(0x29a),_0x41bd73[_0x41bd73[_0x2a4230(0x1dc)]=0x8]=_0x2a4230(0x1dc),_0x41bd73[_0x41bd73[_0x2a4230(0xde)]=0x9]=_0x2a4230(0xde),_0x41bd73[_0x41bd73[_0x2a4230(0x13c)]=0xa]=_0x2a4230(0x13c),_0x41bd73[_0x41bd73[_0x2a4230(0x21a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x41bd73[_0x41bd73[_0x2a4230(0x2dd)]=0xc]=_0x2a4230(0x2dd),_0x41bd73[_0x41bd73['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2a4230(0x22c),_0x41bd73[_0x41bd73[_0x2a4230(0x1c2)]=0xe]=_0x2a4230(0x1c2),_0x41bd73[_0x41bd73['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2a4230(0x131),_0x41bd73[_0x41bd73[_0x2a4230(0x73)]=0x1771]=_0x2a4230(0x73),_0x41bd73[_0x41bd73[_0x2a4230(0x91)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41bd73[_0x41bd73[_0x2a4230(0x1c0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bd73[_0x41bd73[_0x2a4230(0xd6)]=0x1b59]='APPLY_REJECT',_0x41bd73[_0x41bd73[_0x2a4230(0x136)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bd73[_0x41bd73[_0x2a4230(0xef)]=0x1b5b]=_0x2a4230(0xef),_0x41bd73[_0x41bd73[_0x2a4230(0xeb)]=0x1b5c]=_0x2a4230(0xeb),_0x41bd73[_0x41bd73[_0x2a4230(0x25c)]=0x1b5d]=_0x2a4230(0x25c),_0x41bd73[_0x41bd73[_0x2a4230(0x24b)]=0x1f41]=_0x2a4230(0x24b),_0x41bd73[_0x41bd73[_0x2a4230(0x1a5)]=0x2329]=_0x2a4230(0x1a5),_0x41bd73[_0x41bd73[_0x2a4230(0xfc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x248)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x17d)]=0x232c]=_0x2a4230(0x17d),_0x41bd73[_0x41bd73[_0x2a4230(0x2bf)]=0x232d]=_0x2a4230(0x2bf),_0x41bd73[_0x41bd73[_0x2a4230(0x1fc)]=0x2711]=_0x2a4230(0x1fc),_0x41bd73[_0x41bd73[_0x2a4230(0x15b)]=0x2712]=_0x2a4230(0x15b),_0x41bd73[_0x41bd73[_0x2a4230(0x1ea)]=0x2713]=_0x2a4230(0x1ea),_0x41bd73[_0x41bd73[_0x2a4230(0x2f2)]=0x2714]=_0x2a4230(0x2f2),_0x41bd73[_0x41bd73[_0x2a4230(0xee)]=0x271a]=_0x2a4230(0xee),_0x41bd73[_0x41bd73[_0x2a4230(0xf9)]=0x271b]=_0x2a4230(0xf9),_0x41bd73[_0x41bd73[_0x2a4230(0x1be)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x41bd73[_0x41bd73[_0x2a4230(0x285)]=0x271d]=_0x2a4230(0x285),_0x41bd73[_0x41bd73[_0x2a4230(0x10f)]=0x271e]=_0x2a4230(0x10f),_0x41bd73[_0x41bd73[_0x2a4230(0xab)]=0x271f]=_0x2a4230(0xab),_0x41bd73[_0x41bd73['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x41bd73[_0x41bd73['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2a4230(0x289),_0x41bd73[_0x41bd73[_0x2a4230(0x167)]=0x2ee1]=_0x2a4230(0x167),_0x41bd73[_0x41bd73[_0x2a4230(0x304)]=0x2ee2]='INVALID_INVITE_CODE',_0x41bd73[_0x41bd73[_0x2a4230(0xf7)]=0x2ee3]=_0x2a4230(0xf7),_0x41bd73[_0x41bd73[_0x2a4230(0x237)]=0x2ee4]=_0x2a4230(0x237),_0x41bd73[_0x41bd73['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2a4230(0x153),_0x41bd73[_0x41bd73[_0x2a4230(0xc3)]=0x32c9]=_0x2a4230(0xc3),_0x41bd73[_0x41bd73[_0x2a4230(0xbb)]=0x32ca]=_0x2a4230(0xbb),_0x41bd73[_0x41bd73['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2a4230(0x27a),_0x41bd73[_0x41bd73[_0x2a4230(0x178)]=-0x1]=_0x2a4230(0x178),_0x41bd73))(_0x37a998||{}),_0x5606fe=Object['getOwnPropertyDescriptor'],_0x425895=(_0x3fbc88,_0x103504,_0x57ea1b,_0x44c08f)=>{const _0x3cb200=_0x2a4230;for(var _0x23c0a8=_0x44c08f>0x1?void 0x0:_0x44c08f?_0x5606fe(_0x103504,_0x57ea1b):_0x103504,_0x594e63=_0x3fbc88[_0x3cb200(0x210)]-0x1,_0x363050;_0x594e63>=0x0;_0x594e63--)(_0x363050=_0x3fbc88[_0x594e63])&&(_0x23c0a8=_0x363050(_0x23c0a8)||_0x23c0a8);return _0x23c0a8;},_0x2ad9b9=(_0x56aae2,_0x12b543)=>(_0x33ef77,_0x3a52b9)=>_0x12b543(_0x33ef77,_0x3a52b9,_0x56aae2);_0x4e590a[_0x2a4230(0x2fd)]=class extends _0x3c1804['Disposable']{constructor(_0x155676,_0x4b39bd,_0x510036){const _0x14f416=_0x2a4230;super(),this[_0x14f416(0x1e5)]=_0x155676,this[_0x14f416(0x176)]=_0x4b39bd,this['_configService']=_0x510036;}async['runOnServer'](_0xad879a,_0x1a6d91,_0x320a9d,..._0x4f5d50){const _0x526b73=_0x2a4230;var _0x33d074,_0x1d27dd,_0x2e1877,_0x461656;const _0x2f19d5=this[_0x526b73(0x1e5)][_0x526b73(0x1f8)]();if(!_0x2f19d5)throw new Error(_0x526b73(0x2f8));const _0x2ab6bb=((_0x33d074=this[_0x526b73(0xad)]['getConfig'](_0x4d8e7c[_0x526b73(0x1bf)]))!=null?_0x33d074:_0x4d8e7c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xad879a+_0x526b73(0x99)+_0x1a6d91,_0x493d80=new URL(window[_0x526b73(0x1a7)][_0x526b73(0xd8)]),_0x226fcb={'scriptId':_0xad879a,'runId':(_0x1d27dd=_0x493d80['searchParams'][_0x526b73(0x9e)](_0x526b73(0xe2)))!=null?_0x1d27dd:'','function':_0x1a6d91,'unitId':_0x2f19d5[_0x526b73(0x224)](),'argsOfFunction':JSON[_0x526b73(0x22a)](_0x4f5d50),'invokeId':(_0x2e1877=_0x320a9d[_0x526b73(0x88)])!=null?_0x2e1877:'','executionId':(_0x461656=_0x320a9d[_0x526b73(0x7e)])!=null?_0x461656:''};try{const _0x899da5=await this[_0x526b73(0x176)][_0x526b73(0x268)](_0x2ab6bb,{'body':_0x226fcb});return _0x899da5[_0x526b73(0x82)][_0x526b73(0x103)]&&_0x899da5[_0x526b73(0x82)]['error'][_0x526b73(0x2da)]!==_0x37a998['OK']?_0x526b73(0x2d4):_0x899da5[_0x526b73(0x82)][_0x526b73(0xf2)];}catch{return _0x526b73(0x2d4);}}},_0x4e590a['RemoteUniscriptService']=_0x425895([_0x2ad9b9(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x2ad9b9(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb['HTTPService'])),_0x2ad9b9(0x2,_0x3c1804['IConfigService'])],_0x4e590a[_0x2a4230(0x2fd)]),_0x4e590a[_0x2a4230(0x1e7)]=_0x56d03c,_0x4e590a[_0x2a4230(0x8d)]=_0xfe2e0a,_0x4e590a['WebBrowserSingleActiveUnitService']=_0x33492f,_0x4e590a['WebURLService']=_0x50a82d,Object[_0x2a4230(0x1b6)](_0x4e590a,Symbol[_0x2a4230(0x2b7)],{'value':_0x2a4230(0xf1)});}));
|
|
1
|
+
(function(_0x21e232,_0x542fae){const _0x3772ec=_0x1875,_0x4a03de=_0x21e232();while(!![]){try{const _0x55d63f=-parseInt(_0x3772ec(0x241))/0x1+parseInt(_0x3772ec(0x1cd))/0x2*(parseInt(_0x3772ec(0x20b))/0x3)+parseInt(_0x3772ec(0x2f9))/0x4*(-parseInt(_0x3772ec(0x358))/0x5)+-parseInt(_0x3772ec(0x26a))/0x6+parseInt(_0x3772ec(0x298))/0x7*(-parseInt(_0x3772ec(0x3bf))/0x8)+-parseInt(_0x3772ec(0x3f7))/0x9*(-parseInt(_0x3772ec(0x3d7))/0xa)+parseInt(_0x3772ec(0x28b))/0xb;if(_0x55d63f===_0x542fae)break;else _0x4a03de['push'](_0x4a03de['shift']());}catch(_0x36ed6f){_0x4a03de['push'](_0x4a03de['shift']());}}}(_0xb41b,0xafd58),function(_0x321afb,_0xee058c){const _0x59d3b0=_0x1875;typeof exports==_0x59d3b0(0x278)&&typeof module<'u'?_0xee058c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x59d3b0(0x21e)]?define(['exports',_0x59d3b0(0x1e0),'@univerjs-pro/collaboration-client',_0x59d3b0(0x1eb),_0x59d3b0(0x1f4),_0x59d3b0(0x259),_0x59d3b0(0x317),'react',_0x59d3b0(0x2bd),_0x59d3b0(0x2d0),_0x59d3b0(0x327),_0x59d3b0(0x2ce),_0x59d3b0(0x3e1),'@univerjs/drawing',_0x59d3b0(0x2a0),_0x59d3b0(0x1fb),'@univerjs/engine-formula',_0x59d3b0(0x42f),_0x59d3b0(0x29f)],_0xee058c):(_0x321afb=typeof globalThis<'u'?globalThis:_0x321afb||self,_0xee058c(_0x321afb[_0x59d3b0(0x36b)]={},_0x321afb[_0x59d3b0(0x256)],_0x321afb[_0x59d3b0(0x289)],_0x321afb[_0x59d3b0(0x1c2)],_0x321afb['UniverUi'],_0x321afb[_0x59d3b0(0x259)],_0x321afb[_0x59d3b0(0x2e1)],_0x321afb['React'],_0x321afb[_0x59d3b0(0x1b4)],_0x321afb[_0x59d3b0(0x2e8)],_0x321afb[_0x59d3b0(0x2e6)],_0x321afb[_0x59d3b0(0x3cd)],_0x321afb[_0x59d3b0(0x2cc)],_0x321afb[_0x59d3b0(0x2b8)],_0x321afb['UniverProCollaboration'],_0x321afb['UniverDocs'],_0x321afb[_0x59d3b0(0x2c8)],_0x321afb[_0x59d3b0(0x259)][_0x59d3b0(0x280)],_0x321afb['UniverSheetsUi']));}(this,function(_0x10df8c,_0xad9c21,_0x505f96,_0x282385,_0x31ed4b,_0x46e3a5,_0x1a2a2d,_0x32fa37,_0x34e870,_0xa4213c,_0x4366ed,_0x23f55f,_0x3eaeba,_0x23a402,_0x26b52b,_0x1e6451,_0x3a060a,_0x3c09e2,_0x387e44){'use strict';const _0x33791c=_0x1875;var _0xb6a999=Object['defineProperty'],_0x3d4f49=(_0x3580b6,_0x43c743,_0xe1b02b)=>_0x43c743 in _0x3580b6?_0xb6a999(_0x3580b6,_0x43c743,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe1b02b}):_0x3580b6[_0x43c743]=_0xe1b02b,_0x1bd675=(_0xabed2,_0x30c786,_0x5ca73b)=>_0x3d4f49(_0xabed2,typeof _0x30c786!='symbol'?_0x30c786+'':_0x30c786,_0x5ca73b),_0x5a6edd=function(){const _0x1e8eb0=_0x1875;return _0x5a6edd=Object[_0x1e8eb0(0x34f)]||function(_0x464844){const _0x49a241=_0x1e8eb0;for(var _0x53dacb,_0x55c1e3=0x1,_0x58f6eb=arguments['length'];_0x55c1e3<_0x58f6eb;_0x55c1e3++){_0x53dacb=arguments[_0x55c1e3];for(var _0x4e2354 in _0x53dacb)Object[_0x49a241(0x396)]['hasOwnProperty'][_0x49a241(0x368)](_0x53dacb,_0x4e2354)&&(_0x464844[_0x4e2354]=_0x53dacb[_0x4e2354]);}return _0x464844;},_0x5a6edd[_0x1e8eb0(0x2e2)](this,arguments);},_0x58d075=function(_0x1e239a,_0x4ef6d5){const _0x507a25=_0x1875;var _0x254dc4={};for(var _0x36bc70 in _0x1e239a)Object[_0x507a25(0x396)][_0x507a25(0x362)][_0x507a25(0x368)](_0x1e239a,_0x36bc70)&&_0x4ef6d5[_0x507a25(0x1c0)](_0x36bc70)<0x0&&(_0x254dc4[_0x36bc70]=_0x1e239a[_0x36bc70]);if(_0x1e239a!=null&&typeof Object[_0x507a25(0x350)]==_0x507a25(0x281)){for(var _0x531121=0x0,_0x36bc70=Object[_0x507a25(0x350)](_0x1e239a);_0x531121<_0x36bc70[_0x507a25(0x40b)];_0x531121++)_0x4ef6d5[_0x507a25(0x1c0)](_0x36bc70[_0x531121])<0x0&&Object[_0x507a25(0x396)][_0x507a25(0x1be)]['call'](_0x1e239a,_0x36bc70[_0x531121])&&(_0x254dc4[_0x36bc70[_0x531121]]=_0x1e239a[_0x36bc70[_0x531121]]);}return _0x254dc4;},_0x4a2c1b=_0x32fa37[_0x33791c(0x377)](function(_0x57cb03,_0x1542f9){const _0x6b6c21=_0x33791c;var _0x21b5e3=_0x57cb03[_0x6b6c21(0x39f)],_0x4eba7c=_0x57cb03['id'],_0x2c9fe7=_0x57cb03[_0x6b6c21(0x1d3)],_0x12e891=_0x57cb03[_0x6b6c21(0x2ee)],_0x35e5f0=_0x58d075(_0x57cb03,[_0x6b6c21(0x39f),'id',_0x6b6c21(0x1d3),'extend']),_0x1ee74a=_0x6b6c21(0x1c8)[_0x6b6c21(0x2cf)](_0x4eba7c,'\x20')['concat'](_0x2c9fe7||'')[_0x6b6c21(0x385)](),_0x4b0b31=_0x32fa37[_0x6b6c21(0x3a9)]('_'[_0x6b6c21(0x2cf)](_0x3ddaf1()));return _0x31b45b(_0x21b5e3,''[_0x6b6c21(0x2cf)](_0x4eba7c),{'defIds':_0x21b5e3[_0x6b6c21(0x312)],'idSuffix':_0x4b0b31[_0x6b6c21(0x1c1)]},_0x5a6edd({'ref':_0x1542f9,'className':_0x1ee74a},_0x35e5f0),_0x12e891);});function _0x31b45b(_0x597a69,_0x42e050,_0x287898,_0x11d065,_0x4c6a9f){const _0xf1c1b7=_0x33791c;return _0x32fa37[_0xf1c1b7(0x2c4)](_0x597a69['tag'],_0x5a6edd(_0x5a6edd({'key':_0x42e050},_0x4a31c0(_0x597a69,_0x287898,_0x4c6a9f)),_0x11d065),(_0x4b27b4(_0x597a69,_0x287898)[_0xf1c1b7(0x254)]||[])[_0xf1c1b7(0x3de)](function(_0x14394d,_0x3ec097){const _0x3e62c5=_0xf1c1b7;return _0x31b45b(_0x14394d,''[_0x3e62c5(0x2cf)](_0x42e050,'-')[_0x3e62c5(0x2cf)](_0x597a69[_0x3e62c5(0x23d)],'-')[_0x3e62c5(0x2cf)](_0x3ec097),_0x287898,void 0x0,_0x4c6a9f);}));}function _0x4a31c0(_0x4a7a90,_0x1824ea,_0x4a0c89){const _0xb13429=_0x33791c;var _0x1adb28=_0x5a6edd({},_0x4a7a90['attrs']);_0x4a0c89!=null&&_0x4a0c89[_0xb13429(0x213)]&&_0x1adb28[_0xb13429(0x252)]===_0xb13429(0x213)&&(_0x1adb28['fill']=_0x4a0c89[_0xb13429(0x213)]),_0x4a7a90['tag']===_0xb13429(0x3e2)&&_0x1adb28['id']&&(_0x1adb28['id']=_0x1adb28['id']+_0x1824ea['idSuffix']),Object[_0xb13429(0x30b)](_0x1adb28)[_0xb13429(0x3ee)](function(_0xc32f29){const _0x509348=_0xb13429;var _0x88e70f=_0xc32f29[0x0],_0x1147fc=_0xc32f29[0x1];_0x88e70f===_0x509348(0x3e2)&&typeof _0x1147fc=='string'&&(_0x1adb28[_0x88e70f]=_0x1147fc[_0x509348(0x26c)](/url\(#(.*)\)/,_0x509348(0x38b)['concat'](_0x1824ea[_0x509348(0x3e8)],')')));});var _0x123c02=_0x1824ea[_0xb13429(0x312)];return!_0x123c02||_0x123c02[_0xb13429(0x40b)]===0x0||(_0x4a7a90[_0xb13429(0x23d)]==='use'&&_0x1adb28[_0xb13429(0x233)]&&(_0x1adb28[_0xb13429(0x233)]=_0x1adb28['xlink:href']+_0x1824ea[_0xb13429(0x3e8)]),Object[_0xb13429(0x30b)](_0x1adb28)['forEach'](function(_0x23ee66){const _0x3b26e8=_0xb13429;var _0x5ca99a=_0x23ee66[0x0],_0x5bee5d=_0x23ee66[0x1];typeof _0x5bee5d=='string'&&(_0x1adb28[_0x5ca99a]=_0x5bee5d['replace'](/url\(#(.*)\)/,_0x3b26e8(0x38b)['concat'](_0x1824ea[_0x3b26e8(0x3e8)],')')));})),_0x1adb28;}function _0x4b27b4(_0x18f81f,_0x24442c){const _0x13893b=_0x33791c;var _0x1f8537,_0x224147=_0x24442c[_0x13893b(0x312)];return!_0x224147||_0x224147[_0x13893b(0x40b)]===0x0?_0x18f81f:_0x18f81f['tag']==='defs'&&(!((_0x1f8537=_0x18f81f[_0x13893b(0x254)])===null||_0x1f8537===void 0x0)&&_0x1f8537[_0x13893b(0x40b)])?_0x5a6edd(_0x5a6edd({},_0x18f81f),{'children':_0x18f81f[_0x13893b(0x254)][_0x13893b(0x3de)](function(_0x161d06){const _0x3e9126=_0x13893b;return typeof _0x161d06['attrs']['id']=='string'&&_0x224147&&_0x224147[_0x3e9126(0x382)](_0x161d06[_0x3e9126(0x247)]['id'])?_0x5a6edd(_0x5a6edd({},_0x161d06),{'attrs':_0x5a6edd(_0x5a6edd({},_0x161d06[_0x3e9126(0x247)]),{'id':_0x161d06[_0x3e9126(0x247)]['id']+_0x24442c[_0x3e9126(0x3e8)]})}):_0x161d06;})}):_0x18f81f;}function _0x3ddaf1(){const _0x47591c=_0x33791c;return Math[_0x47591c(0x3c3)]()[_0x47591c(0x3c1)](0x24)[_0x47591c(0x303)](0x2,0x8);}_0x4a2c1b[_0x33791c(0x39e)]=_0x33791c(0x309);var _0x20d36c={'tag':'svg','attrs':{'xmlns':_0x33791c(0x3a5),'fill':_0x33791c(0x365),'viewBox':_0x33791c(0x1bb),'width':_0x33791c(0x1dc),'height':_0x33791c(0x1dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x33791c(0x228)},'children':[{'tag':_0x33791c(0x363),'attrs':{'stroke':_0x33791c(0x2ec),'d':_0x33791c(0x25c),'strokeLinecap':_0x33791c(0x404),'strokeLinejoin':_0x33791c(0x404),'strokeWidth':1.2}}]},{'tag':_0x33791c(0x439),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33791c(0x1e1)},'children':[{'tag':'path','attrs':{'fill':_0x33791c(0x326),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2a34ee=_0x32fa37[_0x33791c(0x377)](function(_0x59571a,_0x2c7b41){const _0x9cb9fa=_0x33791c;return _0x32fa37[_0x9cb9fa(0x2c4)](_0x4a2c1b,Object[_0x9cb9fa(0x34f)]({},_0x59571a,{'id':'off-line-icon','ref':_0x2c7b41,'icon':_0x20d36c}));});_0x2a34ee[_0x33791c(0x39e)]='OffLineIcon';var _0x309062={'tag':_0x33791c(0x30a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x33791c(0x365),'viewBox':'0\x200\x2017\x2016','width':_0x33791c(0x1dc),'height':_0x33791c(0x1dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x33791c(0x39c)},'children':[{'tag':'path','attrs':{'stroke':_0x33791c(0x2ec),'d':_0x33791c(0x3e0),'strokeLinecap':_0x33791c(0x404),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x33791c(0x439),'attrs':{},'children':[{'tag':_0x33791c(0x1f8),'attrs':{'id':_0x33791c(0x41e)},'children':[{'tag':_0x33791c(0x363),'attrs':{'fill':_0x33791c(0x326),'d':'M0\x200H16V16H0z','transform':_0x33791c(0x425)}}]}]}],'defIds':[_0x33791c(0x41e)]},_0xecd4f1=_0x32fa37[_0x33791c(0x377)](function(_0x4b1149,_0x44b1ae){const _0x177de7=_0x33791c;return _0x32fa37['createElement'](_0x4a2c1b,Object[_0x177de7(0x34f)]({},_0x4b1149,{'id':_0x177de7(0x1f7),'ref':_0x44b1ae,'icon':_0x309062}));});_0xecd4f1[_0x33791c(0x39e)]=_0x33791c(0x374);function _0xbd4bce(_0x240b66){const _0x3393cc=_0x33791c;switch(_0x240b66){case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x378)]:return _0x3393cc(0x3be);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x2be)]:return _0x3393cc(0x406);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x431)]:return _0x3393cc(0x29b);case _0x505f96['CollaborationStatus'][_0x3393cc(0x291)]:return _0x3393cc(0x34e);case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x344)]:case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x43b)]:return _0x3393cc(0x2ac);case _0x505f96[_0x3393cc(0x421)]['SYNCED']:case _0x505f96[_0x3393cc(0x421)][_0x3393cc(0x25d)]:return'collabStatus.synced';}}function _0xb69d01(_0x787e06){const _0xc39a99=_0x33791c,{status$:_0x2bfb90}=_0x787e06,_0x18cbe0=_0x31ed4b[_0xc39a99(0x226)](_0x2bfb90,_0x505f96[_0xc39a99(0x421)]['NOT_COLLAB']),_0x32adf3=_0x31ed4b['useDependency'](_0x282385[_0xc39a99(0x408)]),_0x408d7e=_0x31ed4b[_0xc39a99(0x3c2)](_0x505f96[_0xc39a99(0x2c9)]),_0x149c98=_0x18cbe0!==_0x505f96[_0xc39a99(0x421)][_0xc39a99(0x378)],_0x3d9f16=_0x32adf3['t'](_0xbd4bce(_0x18cbe0)),_0x4ca5e6=_0x149c98?_0xad9c21[_0xc39a99(0x314)](_0xecd4f1,{}):_0xad9c21[_0xc39a99(0x314)](_0x2a34ee,{}),_0x4d72db=_0x32fa37[_0xc39a99(0x2eb)](()=>{const _0x202a0a=_0xc39a99;_0x149c98||_0x408d7e[_0x202a0a(0x36e)]();},[_0x149c98,_0x408d7e]);function _0x1e5ae1(){const _0x31c172=_0xc39a99;return _0xad9c21[_0x31c172(0x36c)](_0x31c172(0x3b8),{'className':_0x31c172(0x359),'onClick':_0x4d72db,'children':[_0xad9c21[_0x31c172(0x314)](_0x31c172(0x3b8),{'className':_0x1a2a2d[_0x31c172(0x33d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x149c98,'univer-text-red-500':!_0x149c98}),'children':_0x4ca5e6}),_0xad9c21['jsx'](_0x31c172(0x3b8),{'className':_0x31c172(0x32b),'children':_0x3d9f16})]});}return _0x149c98?_0x1e5ae1():_0xad9c21[_0xc39a99(0x314)](_0x1a2a2d['Tooltip'],{'title':_0x32adf3['t']('collab-client.tooltip.reconnect'),'children':_0x1e5ae1()});}var _0x450302=Object[_0x33791c(0x39a)],_0x5bb63d=(_0x5091bf,_0x1a1c30,_0x3c8ad0,_0x2a1041)=>{const _0x41dad4=_0x33791c;for(var _0x59b80c=_0x2a1041>0x1?void 0x0:_0x2a1041?_0x450302(_0x1a1c30,_0x3c8ad0):_0x1a1c30,_0x177a0e=_0x5091bf[_0x41dad4(0x40b)]-0x1,_0xbd6437;_0x177a0e>=0x0;_0x177a0e--)(_0xbd6437=_0x5091bf[_0x177a0e])&&(_0x59b80c=_0xbd6437(_0x59b80c)||_0x59b80c);return _0x59b80c;},_0x136fb9=(_0x526dbe,_0x1e1586)=>(_0x4615a4,_0x191435)=>_0x1e1586(_0x4615a4,_0x191435,_0x526dbe);_0x10df8c[_0x33791c(0x1cc)]=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x3926bf,_0x378c48,_0x516836,_0x3900c7){const _0x273518=_0x33791c;super(),_0x1bd675(this,_0x273518(0x27d),new _0x46e3a5[(_0x273518(0x2b4))](_0x505f96[_0x273518(0x421)][_0x273518(0x291)])),(this[_0x273518(0x276)]=_0x3926bf,this[_0x273518(0x27a)]=_0x378c48,this['_collaborationController']=_0x516836,this['_uiPartsService']=_0x3900c7,this[_0x273518(0x3d2)](),this[_0x273518(0x214)]());}[_0x33791c(0x214)](){const _0x57aa1c=_0x33791c;this[_0x57aa1c(0x351)](this[_0x57aa1c(0x276)][_0x57aa1c(0x320)]['pipe'](_0x46e3a5[_0x57aa1c(0x39b)](()=>{const _0x370c6c=_0x57aa1c,_0x518efe=this['_univerInstanceService'][_0x370c6c(0x1e6)]();return _0x518efe?this[_0x370c6c(0x2d2)][_0x370c6c(0x391)](_0x518efe['getUnitId']()):_0x46e3a5['of'](null);}),_0x46e3a5[_0x57aa1c(0x39b)](_0x3cc27b=>_0x3cc27b?_0x3cc27b[_0x57aa1c(0x2a7)]:_0x46e3a5['of'](_0x505f96['CollaborationStatus'][_0x57aa1c(0x291)])))[_0x57aa1c(0x338)](_0x5520b1=>{const _0x551dbc=_0x57aa1c;this[_0x551dbc(0x27d)][_0x551dbc(0x3cf)](_0x5520b1);}));}[_0x33791c(0x3d2)](){const _0x2fa80d=_0x33791c;this[_0x2fa80d(0x351)](this[_0x2fa80d(0x1e4)]['registerComponent'](_0x31ed4b['BuiltInUIPart'][_0x2fa80d(0x270)],()=>_0x31ed4b[_0x2fa80d(0x335)](_0x5f3d9e({'status$':this[_0x2fa80d(0x27d)][_0x2fa80d(0x3e3)]()}),this['_injector'])));}},_0x10df8c['DesktopCollaborationStatusDisplayController']=_0x5bb63d([_0x136fb9(0x0,_0x282385[_0x33791c(0x2d5)]),_0x136fb9(0x1,_0x282385['Inject'](_0x282385[_0x33791c(0x428)])),_0x136fb9(0x2,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x3fa)])),_0x136fb9(0x3,_0x31ed4b[_0x33791c(0x352)])],_0x10df8c[_0x33791c(0x1cc)]);function _0x5f3d9e(_0x1c4ae){const {status$:_0x13d320}=_0x1c4ae;return function(){return _0xad9c21['jsx'](_0xb69d01,{'status$':_0x13d320});};}const _0x529b68=_0x282385[_0x33791c(0x329)](_0x33791c(0x37f));var _0x50b603=Object[_0x33791c(0x39a)],_0x5667bb=(_0xdae0c8,_0x325b96,_0x27abfe,_0x27b80e)=>{const _0xd93e56=_0x33791c;for(var _0x23101d=_0x27b80e>0x1?void 0x0:_0x27b80e?_0x50b603(_0x325b96,_0x27abfe):_0x325b96,_0x19addd=_0xdae0c8[_0xd93e56(0x40b)]-0x1,_0xed1ae3;_0x19addd>=0x0;_0x19addd--)(_0xed1ae3=_0xdae0c8[_0x19addd])&&(_0x23101d=_0xed1ae3(_0x23101d)||_0x23101d);return _0x23101d;},_0x5e636b=(_0x40da45,_0x467de7)=>(_0xe6114d,_0x5d28a1)=>_0x467de7(_0xe6114d,_0x5d28a1,_0x40da45);_0x10df8c['CollaborationDataLoaderController']=class extends _0x282385['RxDisposable']{constructor(_0x53a887,_0x58db44,_0x302519,_0x619798,_0x208784){const _0x58d9ad=_0x33791c;super(),this[_0x58d9ad(0x202)]=_0x53a887,this[_0x58d9ad(0x28a)]=_0x58db44,this['_commandService']=_0x302519,this[_0x58d9ad(0x3b7)]=_0x619798,_0x208784?_0x208784==null||_0x208784[_0x58d9ad(0x1ee)]()[_0x58d9ad(0x3d6)](()=>this[_0x58d9ad(0x41f)]()):(this['_logService'][_0x58d9ad(0x38c)](_0x58d9ad(0x24d),_0x58d9ad(0x1e9)),this['_init']());}async[_0x33791c(0x41f)](){const _0x18ff21=_0x33791c,_0x4f50b2=this[_0x18ff21(0x202)][_0x18ff21(0x31e)](_0x18ff21(0x211)),_0x3f158c=this['_urlService']['getParam'](_0x18ff21(0x3f8)),_0x77856f=this[_0x18ff21(0x202)][_0x18ff21(0x31e)](_0x18ff21(0x346));if(!_0x4f50b2||!_0x3f158c){this['_logService'][_0x18ff21(0x38c)](_0x18ff21(0x24d),_0x18ff21(0x1fe));return;}const _0x169004=await this[_0x18ff21(0x3b7)]['loadUnit'](_0x4f50b2,Number(_0x3f158c),_0x77856f);_0x169004&&_0x169004 instanceof _0x282385[_0x18ff21(0x311)]&&this[_0x18ff21(0x21f)](_0x169004);}async[_0x33791c(0x21f)](_0x5d52b1){const _0x545f47=_0x33791c;await this[_0x545f47(0x38a)](_0x5d52b1),_0x5d52b1[_0x545f47(0x1a3)]['pipe'](_0x46e3a5['takeUntil'](this[_0x545f47(0x221)]))['subscribe'](_0x435167=>{const _0xd5ac5b=_0x545f47;_0x435167&&this[_0xd5ac5b(0x2ef)](_0x435167);}),this['_urlService'][_0x545f47(0x3ab)][_0x545f47(0x36d)](_0x46e3a5['takeUntil'](this[_0x545f47(0x221)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5d52b1));}[_0x33791c(0x2ef)](_0x327cf2,_0x2ec750=!0x1){const _0x9ae5be=_0x33791c,_0x41c4a2=this[_0x9ae5be(0x202)][_0x9ae5be(0x31e)](_0x9ae5be(0x346));_0x327cf2[_0x9ae5be(0x2c5)]()!==_0x41c4a2&&this[_0x9ae5be(0x202)]['setParam'](_0x9ae5be(0x346),_0x327cf2[_0x9ae5be(0x2c5)](),_0x2ec750);}async['_updateSubUnitFromURLParams'](_0x16e275){const _0x53dba9=_0x33791c;var _0x154a9a;const _0x21f747=this['_urlService'][_0x53dba9(0x31e)](_0x53dba9(0x346));if(!_0x21f747||!_0x16e275[_0x53dba9(0x222)](_0x21f747)){const _0xc697f9=_0x16e275[_0x53dba9(0x206)]()[0x0],_0x5220aa=_0x16e275[_0x53dba9(0x222)](_0xc697f9);if(!_0x5220aa)return;this[_0x53dba9(0x2ef)](_0x5220aa,!0x0),await this['_commandService']['executeCommand'](_0xa4213c[_0x53dba9(0x1a4)]['id'],{'unitId':_0x16e275[_0x53dba9(0x354)](),'subUnitId':_0xc697f9});return;}((_0x154a9a=_0x16e275['getActiveSheet']())==null?void 0x0:_0x154a9a['getSheetId']())!==_0x21f747&&await this[_0x53dba9(0x285)][_0x53dba9(0x1a2)](_0xa4213c[_0x53dba9(0x1a4)]['id'],{'unitId':_0x16e275[_0x53dba9(0x354)](),'subUnitId':_0x21f747});}},_0x10df8c[_0x33791c(0x392)]=_0x5667bb([_0x5e636b(0x0,_0x529b68),_0x5e636b(0x1,_0x282385[_0x33791c(0x1ad)]),_0x5e636b(0x2,_0x282385[_0x33791c(0x28e)]),_0x5e636b(0x3,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x2f5)])),_0x5e636b(0x4,_0x282385['Optional'](_0x34e870[_0x33791c(0x433)]))],_0x10df8c[_0x33791c(0x392)]);var _0x4e69d4=Object[_0x33791c(0x39a)],_0x2b6bb8=(_0x23d9ad,_0x1705ba,_0x19e6a3,_0x281392)=>{for(var _0x59d5c1=_0x281392>0x1?void 0x0:_0x281392?_0x4e69d4(_0x1705ba,_0x19e6a3):_0x1705ba,_0x7f0e95=_0x23d9ad['length']-0x1,_0x4822ba;_0x7f0e95>=0x0;_0x7f0e95--)(_0x4822ba=_0x23d9ad[_0x7f0e95])&&(_0x59d5c1=_0x4822ba(_0x59d5c1)||_0x59d5c1);return _0x59d5c1;},_0x1cd36c=(_0x366839,_0x457967)=>(_0x35ce88,_0x2cdf02)=>_0x457967(_0x35ce88,_0x2cdf02,_0x366839);let _0x58afcc=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0x27fee2,_0x21524a){const _0x31641d=_0x33791c;super(),this[_0x31641d(0x282)]=_0x27fee2,this['_imageIoService']=_0x21524a,this['_init']();}[_0x33791c(0x41f)](){const _0x50df2e=_0x33791c,_0x27e4a3=this;this[_0x50df2e(0x351)](this[_0x50df2e(0x282)]['addClipboardHook']({'onBeforePasteImage':async _0x464b37=>{const _0x384044=_0x50df2e,_0x3d0752=await _0x27e4a3[_0x384044(0x2b3)][_0x384044(0x3cc)](_0x464b37);return _0x3d0752?{'source':_0x3d0752[_0x384044(0x437)],'imageSourceType':_0x3d0752[_0x384044(0x2ba)]}:null;}}));}};_0x58afcc=_0x2b6bb8([_0x1cd36c(0x0,_0x3eaeba[_0x33791c(0x31a)]),_0x1cd36c(0x1,_0x23a402[_0x33791c(0x348)])],_0x58afcc);const _0x350398=[_0x33791c(0x29c),_0x33791c(0x35d),'green.600',_0x33791c(0x35f),_0x33791c(0x1f5),_0x33791c(0x2f2)];class _0x3baabc extends _0x282385[_0x33791c(0x34b)]{constructor(){const _0x487fc5=_0x33791c;super(...arguments),_0x1bd675(this,_0x487fc5(0x369),new Map()),_0x1bd675(this,_0x487fc5(0x39d),0x0);}['assignAColorForMemberID'](_0x24e1a5){const _0x33344f=_0x33791c;if(this[_0x33344f(0x369)][_0x33344f(0x386)](_0x24e1a5))return this[_0x33344f(0x369)][_0x33344f(0x1c6)](_0x24e1a5);const _0x265a2e=_0x350398[this[_0x33344f(0x39d)]];return this[_0x33344f(0x39d)]=(this[_0x33344f(0x39d)]+0x1)%_0x350398[_0x33344f(0x40b)],this[_0x33344f(0x369)]['set'](_0x24e1a5,_0x265a2e),_0x265a2e;}}function _0x38035e(_0xa71ae7){let _0x543afa='';for(const _0x41f90b of _0xa71ae7){const {startOffset:_0x59fe3f,endOffset:_0x129fca,isActive:_0x1d66d7,rangeType:_0x572740,segmentId:_0xa13380,segmentPage:_0x2ec7f9}=_0x41f90b;_0x543afa['length']&&(_0x543afa+=','),_0x543afa+=_0x59fe3f+':'+_0x129fca+':'+(_0x1d66d7?'1':'0')+':'+_0x572740+':'+_0xa13380+':'+_0x2ec7f9;}return _0x543afa;}function _0xa85d91(_0x288734){const _0x2680e9=_0x33791c,_0x2cba89=_0x288734[_0x2680e9(0x3f1)](','),_0x4838bf=[];for(const _0x27721c of _0x2cba89){const [_0x44264b,_0x425568,_0x36c710,_0x3ee642,_0x385d6a,_0x1d76a2]=_0x27721c[_0x2680e9(0x3f1)](':');_0x4838bf[_0x2680e9(0x1c4)]({'startOffset':Number(_0x44264b),'endOffset':Number(_0x425568),'collapsed':_0x44264b===_0x425568,'isActive':_0x36c710==='1','rangeType':_0x3ee642===_0x282385[_0x2680e9(0x1f9)][_0x2680e9(0x41b)]?_0x282385['DOC_RANGE_TYPE'][_0x2680e9(0x41b)]:_0x282385[_0x2680e9(0x1f9)]['RECT'],'segmentId':typeof _0x385d6a==_0x2680e9(0x389)?String(_0x385d6a):'','segmentPage':Number(_0x1d76a2!=null?_0x1d76a2:-0x1)});}return _0x4838bf[_0x2680e9(0x284)](_0x2ef0b0=>_0x2ef0b0[_0x2680e9(0x1d9)])||(_0x4838bf[0x0][_0x2680e9(0x1d9)]=!0x0),_0x4838bf;}class _0x2a8d1a extends _0x282385['RxDisposable']{constructor(){const _0x2300b6=_0x33791c;super(...arguments),_0x1bd675(this,_0x2300b6(0x244),new _0x46e3a5[(_0x2300b6(0x2b4))](null)),_0x1bd675(this,_0x2300b6(0x215),this['_collabCursorState$'][_0x2300b6(0x3e3)]());}[_0x33791c(0x1ff)](_0x2c7253){const _0x4dc00d=_0x33791c,{unitID:_0x19a845,memberID:_0x5b31d0,textRanges:_0x4769dc}=_0x2c7253,_0x458826=_0x38035e(_0x4769dc);if(_0x458826==='')return;const _0xca5f90={'unitID':_0x19a845,'memberID':_0x5b31d0,'selection':_0x458826};this['_collabCursorState$'][_0x4dc00d(0x3cf)](_0xca5f90);}}var _0x2fd2eb=Object['getOwnPropertyDescriptor'],_0xb5961c=(_0x2b6b72,_0x1e184b,_0x1e8ee9,_0x5ccdf3)=>{const _0x1fe3e7=_0x33791c;for(var _0x4d85cd=_0x5ccdf3>0x1?void 0x0:_0x5ccdf3?_0x2fd2eb(_0x1e184b,_0x1e8ee9):_0x1e184b,_0x2e6a69=_0x2b6b72[_0x1fe3e7(0x40b)]-0x1,_0x50c619;_0x2e6a69>=0x0;_0x2e6a69--)(_0x50c619=_0x2b6b72[_0x2e6a69])&&(_0x4d85cd=_0x50c619(_0x4d85cd)||_0x4d85cd);return _0x4d85cd;},_0xeb05a0=(_0x45c214,_0x1cd030)=>(_0xcd9380,_0x53cd1e)=>_0x1cd030(_0xcd9380,_0x53cd1e,_0x45c214);const _0x3019e7=0x12c,_0x5f26bb=0x64;let _0x796ef6=class extends _0x282385['RxDisposable']{constructor(_0x473bf7,_0x4297fb,_0x175f75,_0x1c82bb,_0x1e6143,_0x365303,_0x108186,_0x2b0702,_0x51f261){const _0x427b11=_0x33791c;super(),_0x1bd675(this,'_online',!0x1),_0x1bd675(this,_0x427b11(0x41f),!0x1),_0x1bd675(this,'_cursorInfo$',new _0x46e3a5[(_0x427b11(0x2b4))](new Map())),_0x1bd675(this,_0x427b11(0x330),this[_0x427b11(0x2d8)][_0x427b11(0x3e3)]()),_0x1bd675(this,_0x427b11(0x218),new _0x46e3a5['BehaviorSubject']([])),_0x1bd675(this,_0x427b11(0x20f),this[_0x427b11(0x218)]['pipe'](_0x46e3a5[_0x427b11(0x286)](_0x3019e7))),_0x1bd675(this,_0x427b11(0x370),_0x282385[_0x427b11(0x1a9)](_0x43f027=>{const _0x1da97b=_0x427b11,_0x2b35f6={'eventID':_0x26b52b[_0x1da97b(0x414)][_0x1da97b(0x426)],'data':{'unitID':this['unitID'],'memberID':this[_0x1da97b(0x2e4)][_0x1da97b(0x306)](),'selection':_0x38035e(_0x43f027)}};this['_session'][_0x1da97b(0x379)](_0x2b35f6,this[_0x1da97b(0x292)]);},_0x5f26bb)),(this[_0x427b11(0x292)]=_0x473bf7,this[_0x427b11(0x2e4)]=_0x4297fb,this[_0x427b11(0x27a)]=_0x175f75,this['_colorAssignService']=_0x1c82bb,this[_0x427b11(0x2b9)]=_0x1e6143,this[_0x427b11(0x3fe)]=_0x365303,this[_0x427b11(0x3f5)]=_0x108186,this[_0x427b11(0x276)]=_0x2b0702,this[_0x427b11(0x285)]=_0x51f261);}get[_0x33791c(0x3d9)](){const _0x4ac658=_0x33791c;return this['_cursorInfo$'][_0x4ac658(0x38f)]();}get[_0x33791c(0x287)](){return this['_roomMembers$']['getValue']();}[_0x33791c(0x19d)](){const _0x1c4041=_0x33791c;super[_0x1c4041(0x19d)](),this[_0x1c4041(0x2d8)][_0x1c4041(0x3cf)](new Map()),this[_0x1c4041(0x2d8)]['complete'](),this['_roomMembers$']['next']([]),this[_0x1c4041(0x218)][_0x1c4041(0x31c)]();}[_0x33791c(0x360)](){const _0x359228=_0x33791c;this[_0x359228(0x41f)]||(this[_0x359228(0x41f)]=!0x0,this[_0x359228(0x2e4)][_0x359228(0x316)][_0x359228(0x36d)](_0x46e3a5['takeUntil'](this['dispose$']))[_0x359228(0x338)](_0x10e88f=>{const _0x250d81=_0x359228;_0x10e88f===_0x505f96['SessionStatus']['ONLINE']?this[_0x250d81(0x1e8)]():this[_0x250d81(0x1b9)]();}),this['_session']['event$'][_0x359228(0x36d)](_0x46e3a5[_0x359228(0x2af)](this[_0x359228(0x221)]))[_0x359228(0x338)](_0x59f6cb=>{const _0x27a69e=_0x359228,_0x16e615=_0x59f6cb[_0x27a69e(0x30e)];_0x16e615===_0x26b52b[_0x27a69e(0x414)][_0x27a69e(0x426)]&&this[_0x27a69e(0x201)](_0x59f6cb),_0x16e615===_0x26b52b['CollaborationEvent'][_0x27a69e(0x2e7)]&&this[_0x27a69e(0x33b)](_0x59f6cb);}),this[_0x359228(0x351)](this[_0x359228(0x285)][_0x359228(0x2f1)](_0x4ef97c=>{const _0x47cfda=_0x359228,_0x1a4636=_0x4ef97c[_0x47cfda(0x1ae)];_0x1a4636!=null&&this[_0x47cfda(0x28f)]&&_0x4ef97c['id']===_0x1e6451[_0x47cfda(0x1c5)]['id']&&_0x1a4636[_0x47cfda(0x3c0)]===this[_0x47cfda(0x292)]&&_0x1a4636[_0x47cfda(0x2d1)]===!0x1&&_0x1a4636['ranges']['length']>0x0&&this[_0x47cfda(0x370)](_0x1a4636['ranges']);})),this[_0x359228(0x3fe)][_0x359228(0x215)][_0x359228(0x36d)](_0x46e3a5[_0x359228(0x2af)](this[_0x359228(0x221)]))[_0x359228(0x338)](_0x5276c7=>{const _0x158889=_0x359228;if((_0x5276c7==null?void 0x0:_0x5276c7[_0x158889(0x292)])!==this[_0x158889(0x292)])return;const _0x229097={'eventID':_0x26b52b[_0x158889(0x414)][_0x158889(0x426)],'data':_0x5276c7};this[_0x158889(0x201)](_0x229097);}),this['disposeWithMe'](this['_commandService'][_0x359228(0x2f1)](_0x4e8f70=>{const _0x4edcc6=_0x359228;if(_0x4e8f70[_0x4edcc6(0x1ae)]==null)return;const _0x44c7c9=_0x4e8f70[_0x4edcc6(0x1ae)];if(_0x4e8f70['id']!==_0x1e6451[_0x4edcc6(0x43c)]['id']||_0x44c7c9['unitId']!==this['unitID'])return;const _0x156246={'id':'doc.mutation.rich-text-editing','params':_0x44c7c9},_0x366b8f=this[_0x4edcc6(0x3d9)];for(const [_0x51ab7d,_0x55cf32]of _0x366b8f){const _0x2a904f={'id':_0x4edcc6(0x1d4),'params':{'unitId':this[_0x4edcc6(0x292)],'actions':null,'textRanges':_0x55cf32[_0x4edcc6(0x2e3)]}},_0x4026ac=this['_transformService'][_0x4edcc6(0x2f7)](_0x156246,_0x2a904f,!0x1);if(_0x26b52b[_0x4edcc6(0x2d6)](_0x4026ac))throw _0x4026ac[_0x4edcc6(0x397)];_0x366b8f[_0x4edcc6(0x38d)](_0x51ab7d,{..._0x55cf32,'ranges':_0x4026ac['m2Prime'][_0x4edcc6(0x1ae)][_0x4edcc6(0x23f)]});}queueMicrotask(()=>{const _0x1a2984=_0x4edcc6;this[_0x1a2984(0x2d8)][_0x1a2984(0x3cf)](_0x366b8f);});})));}['_onCursorUpdate'](_0x29383b){const _0x20ae2e=_0x33791c;var _0x1bc97b,_0x1d5f8f;const {memberID:_0x14788a,selection:_0x2a5232}=_0x29383b[_0x20ae2e(0x3b1)],_0x2cc0d5=_0xa85d91(_0x2a5232),_0x116851=(_0x1d5f8f=(_0x1bc97b=this['_memberService']['getMember'](this[_0x20ae2e(0x292)],_0x14788a))==null?void 0x0:_0x1bc97b[_0x20ae2e(0x2e5)])!=null?_0x1d5f8f:_0x20ae2e(0x2ad),_0x504b66={'color':this[_0x20ae2e(0x238)][_0x20ae2e(0x40f)](_0x14788a),'name':_0x116851,'ranges':_0x2cc0d5},_0x3c5c1a=this[_0x20ae2e(0x3d9)];_0x3c5c1a[_0x20ae2e(0x38d)](_0x14788a,_0x504b66),this[_0x20ae2e(0x2d8)][_0x20ae2e(0x3cf)](_0x3c5c1a);}[_0x33791c(0x33b)](_0x58fe06){const _0x2909a0=_0x33791c,{memberID:_0x27daf2}=_0x58fe06[_0x2909a0(0x3b1)],_0x4cf184=this[_0x2909a0(0x3d9)];_0x4cf184['delete'](_0x27daf2),this['_cursorInfo$'][_0x2909a0(0x3cf)](_0x4cf184);}['_toggleOnline'](){const _0x24a5ee=_0x33791c;var _0x3aee49;if(this[_0x24a5ee(0x28f)]=!0x0,((_0x3aee49=this['_univerInstanceService'][_0x24a5ee(0x1e6)]())==null?void 0x0:_0x3aee49[_0x24a5ee(0x354)]())!==this[_0x24a5ee(0x292)])return;const _0x328b16=this[_0x24a5ee(0x27a)]['get'](_0x1e6451[_0x24a5ee(0x1b3)])[_0x24a5ee(0x29d)]();Array['isArray'](_0x328b16)&&_0x328b16[_0x24a5ee(0x40b)]>0x0&&this[_0x24a5ee(0x370)](_0x328b16);}[_0x33791c(0x1b9)](){const _0x390147=_0x33791c;this[_0x390147(0x28f)]=!0x1;}};_0x796ef6=_0xb5961c([_0xeb05a0(0x2,_0x282385['Inject'](_0x282385['Injector'])),_0xeb05a0(0x3,_0x282385[_0x33791c(0x1ba)](_0x3baabc)),_0xeb05a0(0x4,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x40d)])),_0xeb05a0(0x5,_0x282385[_0x33791c(0x1ba)](_0x2a8d1a)),_0xeb05a0(0x6,_0x26b52b['ITransformService']),_0xeb05a0(0x7,_0x282385[_0x33791c(0x2d5)]),_0xeb05a0(0x8,_0x282385['ICommandService'])],_0x796ef6);var _0x330fac=Object[_0x33791c(0x39a)],_0x31338c=(_0x394272,_0x16fc11,_0x332b1e,_0x1da9ca)=>{const _0x4a6cf4=_0x33791c;for(var _0xec002b=_0x1da9ca>0x1?void 0x0:_0x1da9ca?_0x330fac(_0x16fc11,_0x332b1e):_0x16fc11,_0x4898ed=_0x394272[_0x4a6cf4(0x40b)]-0x1,_0x22296c;_0x4898ed>=0x0;_0x4898ed--)(_0x22296c=_0x394272[_0x4898ed])&&(_0xec002b=_0x22296c(_0xec002b)||_0xec002b);return _0xec002b;},_0x7a8d50=(_0x47ab47,_0xc804bb)=>(_0x2d480b,_0x25d03e)=>_0xc804bb(_0x2d480b,_0x25d03e,_0x47ab47);const _0xb894f0=0x12c,_0x1f4c8f=0x64,_0x50bc84=()=>{let _0x56704b=[],_0xa5914f=!0x1;return _0x23d58e=>{const _0xf869d0=_0x1875;_0x56704b[_0xf869d0(0x1c4)](_0x23d58e),_0xa5914f||(_0xa5914f=!0x0,setTimeout(()=>{const _0x44c354=_0xf869d0;_0x56704b[_0x44c354(0x3ee)](_0x5a2925=>_0x5a2925()),_0x56704b=[],_0xa5914f=!0x1;}));};};let _0x105773=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0xf29124,_0x168df4,_0x4131c6,_0xa094c2,_0xce7dd2,_0x51c919,_0x336a05,_0x53c76c){const _0x5a28e9=_0x33791c;super(),_0x1bd675(this,'_online',!0x1),_0x1bd675(this,'_init',!0x1),_0x1bd675(this,_0x5a28e9(0x2d8),new _0x46e3a5[(_0x5a28e9(0x2b4))](new Map())),_0x1bd675(this,_0x5a28e9(0x330),this['_cursorInfo$']['asObservable']()),_0x1bd675(this,_0x5a28e9(0x218),new _0x46e3a5['BehaviorSubject']([])),_0x1bd675(this,'roomMembers$',this[_0x5a28e9(0x218)][_0x5a28e9(0x36d)](_0x46e3a5[_0x5a28e9(0x286)](_0xb894f0))),_0x1bd675(this,_0x5a28e9(0x370),_0x282385[_0x5a28e9(0x1a9)]((_0x4ce9a4,_0x57fe3c)=>{const _0xaf613e=_0x5a28e9,_0x2629ef={'eventID':_0x26b52b['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xaf613e(0x292)],'memberID':this['_session'][_0xaf613e(0x306)](),'selection':_0x3a060a[_0xaf613e(0x332)](_0x4ce9a4,_0x57fe3c[_0xaf613e(0x1cf)])}};this[_0xaf613e(0x2e4)][_0xaf613e(0x379)](_0x2629ef,this[_0xaf613e(0x292)]);},_0x1f4c8f)),(this[_0x5a28e9(0x292)]=_0xf29124,this[_0x5a28e9(0x2e4)]=_0x168df4,this[_0x5a28e9(0x27a)]=_0x4131c6,this[_0x5a28e9(0x238)]=_0xa094c2,this['_memberService']=_0xce7dd2,this[_0x5a28e9(0x276)]=_0x51c919,this['_commandService']=_0x336a05,this['_refRangeService']=_0x53c76c);}get['cursorInfo'](){const _0x1c3ed7=_0x33791c;return this[_0x1c3ed7(0x2d8)][_0x1c3ed7(0x38f)]();}get[_0x33791c(0x287)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x4f9f80=_0x33791c;super[_0x4f9f80(0x19d)](),this[_0x4f9f80(0x2d8)][_0x4f9f80(0x3cf)](new Map()),this[_0x4f9f80(0x2d8)]['complete'](),this[_0x4f9f80(0x218)][_0x4f9f80(0x3cf)]([]),this[_0x4f9f80(0x218)][_0x4f9f80(0x31c)]();}[_0x33791c(0x360)](){const _0x6c4996=_0x33791c;this[_0x6c4996(0x41f)]||(this['_init']=!0x0,this[_0x6c4996(0x2e4)][_0x6c4996(0x316)][_0x6c4996(0x36d)](_0x46e3a5[_0x6c4996(0x2af)](this['dispose$']))[_0x6c4996(0x338)](_0x12b12a=>{const _0xf69f1d=_0x6c4996;_0x12b12a===_0x505f96[_0xf69f1d(0x367)]['ONLINE']?this['_toggleOnline']():this[_0xf69f1d(0x1b9)]();}),this['_session'][_0x6c4996(0x2f4)][_0x6c4996(0x36d)](_0x46e3a5[_0x6c4996(0x2af)](this[_0x6c4996(0x221)]))[_0x6c4996(0x338)](_0x57543b=>{const _0x5dcb00=_0x6c4996,_0x373930=_0x57543b[_0x5dcb00(0x30e)];_0x373930===_0x26b52b['CollaborationEvent'][_0x5dcb00(0x426)]&&this['_onCursorUpdate'](_0x57543b),_0x373930===_0x26b52b[_0x5dcb00(0x414)][_0x5dcb00(0x2e7)]&&this[_0x5dcb00(0x33b)](_0x57543b);}),this[_0x6c4996(0x1f0)](),this[_0x6c4996(0x351)](this[_0x6c4996(0x285)][_0x6c4996(0x2f1)](_0x35defb=>{const _0x446d92=_0x6c4996;if(this['_online']&&_0x35defb['id']===_0xa4213c[_0x446d92(0x3d8)]['id']&&_0x35defb['params'][_0x446d92(0x3c0)]===this['unitID']){const _0xff0ffb=_0x35defb[_0x446d92(0x1ae)];this['_updateLocalCursor'](_0xff0ffb[_0x446d92(0x2a4)],_0xff0ffb[_0x446d92(0x42c)][0x0]);}})));}[_0x33791c(0x201)](_0x212e82){const _0x237088=_0x33791c;var _0x73d593,_0x1a2e02;const {memberID:_0x8bff7f,selection:_0x5505e2}=_0x212e82[_0x237088(0x3b1)],{sheetName:_0x1ab9b5,range:_0x19514d}=_0x3a060a[_0x237088(0x1cb)](_0x5505e2),_0x35741f={'name':(_0x1a2e02=(_0x73d593=this['_memberService']['getMember'](this[_0x237088(0x292)],_0x8bff7f))==null?void 0x0:_0x73d593[_0x237088(0x2e5)])!=null?_0x1a2e02:_0x237088(0x2ad),'range':this[_0x237088(0x1a5)](_0x1ab9b5,_0x19514d),'sheetID':_0x1ab9b5,'color':this[_0x237088(0x238)][_0x237088(0x40f)](_0x8bff7f),'selection':_0x5505e2},_0x410632=this[_0x237088(0x3d9)];_0x410632[_0x237088(0x38d)](_0x8bff7f,_0x35741f),this['_cursorInfo$']['next'](_0x410632);}[_0x33791c(0x33b)](_0x3083de){const _0xfc7f30=_0x33791c,{memberID:_0x4f90af}=_0x3083de[_0xfc7f30(0x3b1)],_0x2553e1=this['cursorInfo'];_0x2553e1['delete'](_0x4f90af),this[_0xfc7f30(0x2d8)][_0xfc7f30(0x3cf)](_0x2553e1);}[_0x33791c(0x1a5)](_0x5bcc09,_0x19c0c3){const _0x4d7e24=_0x33791c;var _0x175ad7,_0x160d62;const _0x38cfca=(_0x160d62=(_0x175ad7=this[_0x4d7e24(0x276)][_0x4d7e24(0x3ce)](this[_0x4d7e24(0x292)]))==null?void 0x0:_0x175ad7[_0x4d7e24(0x222)](_0x5bcc09))==null?void 0x0:_0x160d62[_0x4d7e24(0x383)]();return(_0x38cfca==null?void 0x0:_0x38cfca[_0x4d7e24(0x37a)](_0x545da8=>_0x282385[_0x4d7e24(0x432)]['contains'](_0x545da8,_0x19c0c3)))||_0x19c0c3;}[_0x33791c(0x1f0)](){const _0x3a1bcc=_0x33791c,_0x3b80b6=new _0x282385[(_0x3a1bcc(0x20d))](),_0x11cd52=_0x50bc84(),_0xc6e30a=()=>{const _0x47ee9c=_0x3a1bcc;_0x3b80b6[_0x47ee9c(0x19d)]();const _0x3d7755=(_0x180529,_0x1902e5,_0x49447c,_0xf57872)=>{const _0x26dac2=_0x47ee9c;let _0x5da315=[];switch(_0x180529['id']){case _0xa4213c[_0x26dac2(0x3e6)]['DeleteRangeMoveLeftCommandId']:{_0x5da315=_0xa4213c[_0x26dac2(0x3f9)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x2c3)]:{_0x5da315=_0xa4213c[_0x26dac2(0x297)](_0x180529,_0xf57872);break;}case _0xa4213c['EffectRefRangId'][_0x26dac2(0x2ed)]:{_0x5da315=_0xa4213c[_0x26dac2(0x2b7)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x43a)]:{_0x5da315=_0xa4213c[_0x26dac2(0x1bf)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x40a)]:{_0x5da315=_0xa4213c[_0x26dac2(0x224)](_0x180529,_0xf57872);break;}case _0xa4213c['EffectRefRangId'][_0x26dac2(0x22e)]:{_0x5da315=_0xa4213c[_0x26dac2(0x3cb)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x258)]:{_0x5da315=_0xa4213c[_0x26dac2(0x388)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)]['RemoveColCommandId']:{_0x5da315=_0xa4213c[_0x26dac2(0x3b0)](_0x180529,_0xf57872);break;}case _0xa4213c[_0x26dac2(0x3e6)][_0x26dac2(0x249)]:{_0x5da315=_0xa4213c[_0x26dac2(0x402)](_0x180529,_0xf57872);break;}}const _0x5ac754=_0xa4213c[_0x26dac2(0x21a)](_0x5da315,_0xf57872),_0x143054=this[_0x26dac2(0x3d9)][_0x26dac2(0x1c6)](_0x1902e5);if(_0x143054&&_0x5ac754){const _0x33fda1={..._0x143054,'range':_0x5ac754};this['cursorInfo']['set'](_0x1902e5,_0x33fda1),_0x11cd52(()=>{const _0x1cd92c=_0x26dac2,_0x53bf4b=this[_0x1cd92c(0x274)][_0x1cd92c(0x263)](_0x5ac754,_0x144432=>(_0x53bf4b[_0x1cd92c(0x19d)](),_0x3d7755(_0x144432,_0x1902e5,_0x49447c,_0x5ac754)));_0x3b80b6[_0x1cd92c(0x3ea)](_0x53bf4b);});}return{'redos':[],'undos':[]};};this[_0x47ee9c(0x3d9)][_0x47ee9c(0x3ee)]((_0x44f9d5,_0x153029)=>{const _0x26d381=_0x47ee9c,{range:_0x4bff82,sheetID:_0x599e67}=_0x44f9d5,_0x343a7d=this[_0x26d381(0x274)][_0x26d381(0x263)](_0x4bff82,_0x96437=>(_0x343a7d[_0x26d381(0x19d)](),_0x3d7755(_0x96437,_0x153029,_0x599e67,_0x4bff82)));_0x3b80b6[_0x26d381(0x3ea)](_0x343a7d);});};this[_0x3a1bcc(0x351)](_0x282385[_0x3a1bcc(0x434)](this['_cursorInfo$'][_0x3a1bcc(0x338)](()=>{_0xc6e30a();})));}['_toggleOnline'](){const _0x211228=_0x33791c;var _0x2ca33c,_0x3d7bdc;if(this[_0x211228(0x28f)]=!0x0,((_0x2ca33c=this[_0x211228(0x276)]['getFocusedUnit']())==null?void 0x0:_0x2ca33c['getUnitId']())!==this[_0x211228(0x292)])return;const _0x126d50=(_0x3d7bdc=this[_0x211228(0x27a)]['get'](_0xa4213c[_0x211228(0x262)])[_0x211228(0x2e0)]())==null?void 0x0:_0x3d7bdc[0x0],_0x5ef6a8=this['_univerInstanceService'][_0x211228(0x21b)](_0x282385[_0x211228(0x356)][_0x211228(0x2fa)])['getActiveSheet']();_0x126d50&&_0x5ef6a8&&this[_0x211228(0x370)](_0x5ef6a8[_0x211228(0x2c5)](),_0x126d50);}['_toggleOffline'](){const _0x2fcf6b=_0x33791c;this[_0x2fcf6b(0x28f)]=!0x1;}};_0x105773=_0x31338c([_0x7a8d50(0x2,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x7a8d50(0x3,_0x282385[_0x33791c(0x1ba)](_0x3baabc)),_0x7a8d50(0x4,_0x282385[_0x33791c(0x1ba)](_0x505f96['MemberService'])),_0x7a8d50(0x5,_0x282385['IUniverInstanceService']),_0x7a8d50(0x6,_0x282385['ICommandService']),_0x7a8d50(0x7,_0x282385[_0x33791c(0x1ba)](_0xa4213c[_0x33791c(0x347)]))],_0x105773);var _0x490c95=Object[_0x33791c(0x39a)],_0x5b5f11=(_0x347b01,_0x5b18b8,_0x51e03b,_0x5485e8)=>{const _0x110555=_0x33791c;for(var _0x37851e=_0x5485e8>0x1?void 0x0:_0x5485e8?_0x490c95(_0x5b18b8,_0x51e03b):_0x5b18b8,_0xf19ad6=_0x347b01[_0x110555(0x40b)]-0x1,_0x40c70d;_0xf19ad6>=0x0;_0xf19ad6--)(_0x40c70d=_0x347b01[_0xf19ad6])&&(_0x37851e=_0x40c70d(_0x37851e)||_0x37851e);return _0x37851e;},_0x54b852=(_0x2e4828,_0x52deb0)=>(_0x2892ec,_0x542d94)=>_0x52deb0(_0x2892ec,_0x542d94,_0x2e4828);let _0x435660=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0xf669b5,_0x5a8edb,_0x37a8f2){const _0x44896c=_0x33791c;super(),_0x1bd675(this,_0x44896c(0x3bd),new Map()),_0x1bd675(this,'_entityInit$',new _0x46e3a5[(_0x44896c(0x407))]()),(this[_0x44896c(0x276)]=_0xf669b5,this[_0x44896c(0x27a)]=_0x5a8edb,this[_0x44896c(0x427)]=_0x37a8f2,this[_0x44896c(0x41f)]());}['dispose'](){const _0x11cb05=_0x33791c;super[_0x11cb05(0x19d)](),this[_0x11cb05(0x3a2)][_0x11cb05(0x31c)](),this['_entities'][_0x11cb05(0x3ee)](_0x59ee90=>_0x59ee90['dispose']());}[_0x33791c(0x19a)](_0x2387ef){const _0x36d4db=_0x33791c;return this['_entities'][_0x36d4db(0x386)](_0x2387ef)?this[_0x36d4db(0x3bd)]['get'](_0x2387ef)['cursorInfo$']:this[_0x36d4db(0x3a2)][_0x36d4db(0x36d)](_0x46e3a5[_0x36d4db(0x26b)](_0x4bcd2e=>_0x4bcd2e[_0x36d4db(0x292)]===_0x2387ef),_0x46e3a5[_0x36d4db(0x39b)](_0x39ea52=>_0x39ea52[_0x36d4db(0x330)]));}['_init'](){const _0x24aaaf=_0x33791c;this[_0x24aaaf(0x276)][_0x24aaaf(0x231)](_0x282385[_0x24aaaf(0x356)][_0x24aaaf(0x2fa)])['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))['subscribe'](async _0x3873cd=>{const _0x38b60f=_0x24aaaf,_0x5f47dd=_0x3873cd[_0x38b60f(0x354)](),_0x31fa4b=await this[_0x38b60f(0x31f)](_0x5f47dd);this[_0x38b60f(0x3a2)][_0x38b60f(0x3cf)](_0x31fa4b),this[_0x38b60f(0x3bd)]['set'](_0x5f47dd,_0x31fa4b);}),this[_0x24aaaf(0x276)][_0x24aaaf(0x231)](_0x282385[_0x24aaaf(0x356)][_0x24aaaf(0x373)])['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))[_0x24aaaf(0x36d)](_0x46e3a5[_0x24aaaf(0x26b)](_0x16e1aa=>!_0x16e1aa[_0x24aaaf(0x354)]()['startsWith']('__')))[_0x24aaaf(0x338)](async _0x12f040=>{const _0x5b9960=_0x24aaaf,_0x334a31=_0x12f040[_0x5b9960(0x354)](),_0x35f6fd=await this[_0x5b9960(0x227)](_0x334a31);this[_0x5b9960(0x3a2)][_0x5b9960(0x3cf)](_0x35f6fd),this['_entities'][_0x5b9960(0x38d)](_0x334a31,_0x35f6fd);}),_0x46e3a5['merge'](this[_0x24aaaf(0x276)][_0x24aaaf(0x41a)](_0x282385['UniverInstanceType'][_0x24aaaf(0x373)]),this[_0x24aaaf(0x276)][_0x24aaaf(0x41a)](_0x282385['UniverInstanceType'][_0x24aaaf(0x2fa)]))['pipe'](_0x46e3a5[_0x24aaaf(0x2af)](this[_0x24aaaf(0x221)]))[_0x24aaaf(0x338)](_0x291cae=>{const _0x42ec83=_0x24aaaf,_0x57853f=_0x291cae[_0x42ec83(0x354)](),_0x8fb300=this[_0x42ec83(0x3bd)][_0x42ec83(0x1c6)](_0x57853f);_0x8fb300&&(_0x8fb300[_0x42ec83(0x19d)](),this[_0x42ec83(0x3bd)][_0x42ec83(0x2c1)](_0x57853f));});}async['_startSheetCollabCursor'](_0x1f7153){const _0x14967b=_0x33791c,_0x1a99a0=await this['_collabSessionService'][_0x14967b(0x3c9)](_0x1f7153),_0x32567c=this[_0x14967b(0x27a)]['createInstance'](_0x105773,_0x1f7153,_0x1a99a0);return _0x32567c[_0x14967b(0x360)](),_0x32567c;}async['_startDocCollabCursor'](_0x1edd02){const _0x272519=_0x33791c,_0x3f5588=await this[_0x272519(0x427)][_0x272519(0x3c9)](_0x1edd02),_0xe95b21=this['_injector'][_0x272519(0x375)](_0x796ef6,_0x1edd02,_0x3f5588);return _0xe95b21['init'](),_0xe95b21;}};_0x435660=_0x5b5f11([_0x54b852(0x0,_0x282385[_0x33791c(0x2d5)]),_0x54b852(0x1,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x54b852(0x2,_0x282385[_0x33791c(0x1ba)](_0x505f96['CollaborationSessionService']))],_0x435660);const _0x269956=0x14,_0x361541=0xc8,_0x4d3e95=0x4,_0x4cfb82=0x5;function _0x40bed3(_0x21dae1,_0x3ff083){const _0xe269ec=_0x33791c;let {radius:_0x4e1ecc,width:_0x23a82e,height:_0x1f8855}=_0x3ff083;_0x4e1ecc=_0x4e1ecc!=null?_0x4e1ecc:0x0,_0x23a82e=_0x23a82e!=null?_0x23a82e:0x1e,_0x1f8855=_0x1f8855!=null?_0x1f8855:0x1e;let _0x3419d2=0x0,_0x340274=0x0,_0x2ca07c=0x0;_0x3419d2=_0x340274=_0x2ca07c=Math[_0xe269ec(0x3bc)](_0x4e1ecc,_0x23a82e/0x2,_0x1f8855/0x2),_0x21dae1[_0xe269ec(0x24f)](),_0x21dae1[_0xe269ec(0x357)](_0x3419d2,0x0),_0x21dae1[_0xe269ec(0x2a5)](_0x23a82e-_0x340274,0x0),_0x21dae1[_0xe269ec(0x296)](_0x23a82e-_0x340274,_0x340274,_0x340274,Math['PI']*0x3/0x2,0x0,!0x1),_0x21dae1[_0xe269ec(0x2a5)](_0x23a82e,_0x1f8855-_0x2ca07c),_0x21dae1[_0xe269ec(0x296)](_0x23a82e-_0x2ca07c,_0x1f8855-_0x2ca07c,_0x2ca07c,0x0,Math['PI']/0x2,!0x1),_0x21dae1[_0xe269ec(0x2a5)](0x0,_0x1f8855),_0x21dae1[_0xe269ec(0x2a5)](0x0,_0x3419d2),_0x21dae1[_0xe269ec(0x296)](_0x3419d2,_0x3419d2,_0x3419d2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21dae1[_0xe269ec(0x33c)](),_0x3ff083['fill']&&(_0x21dae1[_0xe269ec(0x3aa)](),_0x21dae1[_0xe269ec(0x328)]=_0x3ff083[_0xe269ec(0x252)],_0x3ff083['fillRule']===_0xe269ec(0x308)?_0x21dae1[_0xe269ec(0x252)]('evenodd'):_0x21dae1['fill'](),_0x21dae1['restore']());}class _0x158e89 extends _0x4366ed[_0x33791c(0x1ac)]{constructor(_0x265417,_0x394981){const _0x486f28=_0x33791c;super(_0x265417,_0x394981),_0x1bd675(this,'color'),_0x1bd675(this,'text'),(this['color']=_0x394981==null?void 0x0:_0x394981[_0x486f28(0x37c)],this['text']=_0x394981==null?void 0x0:_0x394981[_0x486f28(0x3e5)]);}static[_0x33791c(0x349)](_0xf8df7,_0x4a242d){const _0x5a2fe2=_0x33791c,{text:_0x103d15,color:_0x227a61}=_0x4a242d;_0xf8df7[_0x5a2fe2(0x3aa)](),_0xf8df7['font']=_0x5a2fe2(0x416);const _0x3e4991=_0xf8df7[_0x5a2fe2(0x265)](_0x103d15)[_0x5a2fe2(0x401)],_0x4c31c1=Math[_0x5a2fe2(0x3bc)](_0x3e4991+0x2*_0x4d3e95,_0x361541);_0x40bed3(_0xf8df7,{'height':_0x269956,'radius':0x4,'width':_0x4c31c1,'fill':_0x227a61}),_0xf8df7[_0x5a2fe2(0x328)]=_0x5a2fe2(0x272);const _0x48f7f8=_0x4d3e95,_0x1bafbb=_0x269956-_0x4cfb82,_0x240aa9=_0x361541-0x2*_0x4d3e95;if(_0x3e4991>_0x240aa9){let _0x554084='',_0x439071=0x0;for(const _0x18c0d6 of _0x103d15){const _0x5d788f=_0xf8df7[_0x5a2fe2(0x265)](_0x18c0d6)[_0x5a2fe2(0x401)];if(_0x439071+_0x5d788f<=_0x240aa9-_0xf8df7[_0x5a2fe2(0x265)](_0x5a2fe2(0x305))[_0x5a2fe2(0x401)])_0x554084+=_0x18c0d6,_0x439071+=_0x5d788f;else{_0x554084+=_0x5a2fe2(0x305);break;}}_0xf8df7[_0x5a2fe2(0x207)](_0x554084,_0x48f7f8,_0x1bafbb);}else _0xf8df7['fillText'](_0x103d15,_0x48f7f8,_0x1bafbb);_0xf8df7[_0x5a2fe2(0x245)]();}[_0x33791c(0x410)](_0x56c9d6){_0x158e89['drawWith'](_0x56c9d6,this);}}const _0x467693='collab-text-anchor-',_0x4d9471='collab-text-range-',_0x106513=_0x33791c(0x321),_0x2bcc39=0x6,_0x9502e0=1.5,_0x5846a3=0x4,_0x5d8e99=1.5,_0x2e2e37=_0x33791c(0x1df);class _0x12d44e{constructor(_0x1de136,_0x455833,_0x48f3fc,_0x3cbf0e){const _0x12918d=_0x33791c;_0x1bd675(this,'_shapes',[]),_0x1bd675(this,_0x12918d(0x3fb),null),_0x1bd675(this,_0x12918d(0x2d4),null),_0x1bd675(this,_0x12918d(0x290),null),_0x1bd675(this,_0x12918d(0x2c2),null),_0x1bd675(this,'_eventUnsubscribe',null),(this[_0x12918d(0x2f3)]=_0x1de136,this[_0x12918d(0x197)]=_0x455833,this[_0x12918d(0x23e)]=_0x48f3fc,this['_document']=_0x3cbf0e,this[_0x12918d(0x3e4)]());}set['_hover'](_0x49f514){const _0x40740d=_0x33791c;_0x49f514?(this[_0x40740d(0x290)]&&this[_0x40740d(0x290)]['hide'](),this[_0x40740d(0x2d4)]&&this[_0x40740d(0x2d4)][_0x40740d(0x1d2)]()):(this[_0x40740d(0x290)]&&this[_0x40740d(0x290)][_0x40740d(0x1d2)](),this[_0x40740d(0x2d4)]&&this[_0x40740d(0x2d4)][_0x40740d(0x34c)]());}[_0x33791c(0x19d)](){const _0x180f0b=_0x33791c;for(const _0x404dbf of this[_0x180f0b(0x204)])_0x404dbf['dispose']();this[_0x180f0b(0x2d4)]&&this['_textBubble'][_0x180f0b(0x19d)](),this[_0x180f0b(0x290)]&&this[_0x180f0b(0x290)][_0x180f0b(0x19d)](),this['_anchor']&&this[_0x180f0b(0x3fb)][_0x180f0b(0x19d)](),this[_0x180f0b(0x37d)]&&this[_0x180f0b(0x37d)]();}[_0x33791c(0x3e4)](){const _0x456390=_0x33791c;var _0x3396ca;const {_docSkeleton:_0x3345ba,_document:_0x41fd96}=this,{color:_0x33e9d2,name:_0x20ef8d,ranges:_0x1bf9ca}=this[_0x456390(0x2f3)],_0x1bf9fe=_0x41fd96[_0x456390(0x37e)](),{docsLeft:_0x10deff,docsTop:_0x2b5d75}=_0x1bf9fe,_0x4dc9b6=new _0x3eaeba[(_0x456390(0x3b3))](_0x1bf9fe,_0x3345ba);for(const {startOffset:_0x51f300,endOffset:_0x4e5194,rangeType:_0x4e23bc,segmentId:_0x286f48,segmentPage:_0x2abf16,collapsed:_0x577609,isActive:_0x1cfbe2}of _0x1bf9ca){const _0xd32ac7=_0x3345ba[_0x456390(0x2da)](_0x51f300,!0x0,_0x286f48,_0x2abf16);let _0x5273e5=_0x3345ba[_0x456390(0x2da)](_0x4e5194,!0x0,_0x286f48,_0x2abf16);if(_0x5273e5==null&&(_0x5273e5=_0x3345ba[_0x456390(0x2da)](_0x4e5194-0x1,!0x1,_0x286f48,_0x2abf16)),_0x1cfbe2){const {contentBoxPointGroup:_0x39a24d}=_0x4dc9b6['getRangePointData'](_0x5273e5,_0x5273e5);if(_0x39a24d[_0x456390(0x40b)]===0x0)continue;this['_drawAnchor'](_0x33e9d2,_0x39a24d,_0x10deff,_0x2b5d75,_0x20ef8d),this[_0x456390(0x37d)]=this[_0x456390(0x1d5)]();}if(_0xd32ac7&&_0x5273e5){if(_0x4e23bc===_0x282385[_0x456390(0x1f9)][_0x456390(0x34d)]){const _0x388bf1=new _0x3eaeba[(_0x456390(0x2d9))](_0x1bf9fe,_0x3345ba),{pointGroup:_0x40c37f}=(_0x3396ca=_0x388bf1[_0x456390(0x210)](_0xd32ac7,_0x5273e5))!=null?_0x3396ca:{};if(_0x40c37f==null||_0x40c37f[_0x456390(0x40b)]===0x0)continue;this[_0x456390(0x3db)](_0x33e9d2,_0x40c37f,_0x10deff,_0x2b5d75);}else{if(!_0x577609){const {borderBoxPointGroup:_0x56337b}=_0x4dc9b6[_0x456390(0x210)](_0xd32ac7,_0x5273e5);if(_0x56337b[_0x456390(0x40b)]===0x0)continue;this[_0x456390(0x22c)](_0x33e9d2,_0x56337b,_0x10deff,_0x2b5d75);}}}}}[_0x33791c(0x315)](_0x532958,_0x49652e,_0x417130,_0x257da3,_0x12ac32){const _0x278903=_0x33791c,_0x38664a=this['_getAnchorBounding'](_0x49652e),{left:_0x49bb84,top:_0x571fce,height:_0x10b521}=_0x38664a,_0x4d2781=this[_0x278903(0x3d4)](),_0x5c7fd0=_0x5d8e99/_0x4d2781,_0x47e05f=new _0x4366ed[(_0x278903(0x35c))](_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3,'height':_0x10b521,'width':_0x9502e0,'fill':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385[_0x278903(0x199)][_0x278903(0x20a)],0x0),'strokeWidth':_0x5c7fd0,'stroke':_0x2e2e37,'evented':!0x0});this[_0x278903(0x3fb)]=_0x47e05f,this[_0x278903(0x197)][_0x278903(0x372)](_0x47e05f,_0x3eaeba[_0x278903(0x364)]);const _0x52cf85=new _0x4366ed['Rect'](_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3-_0x5846a3/0x2,'height':_0x5846a3,'width':_0x5846a3,'fill':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385[_0x278903(0x199)][_0x278903(0x20a)],0x0),'strokeWidth':0x0,'stroke':_0x532958||_0x4366ed[_0x278903(0x2f0)](_0x282385['COLORS']['black'],0x0),'evented':!0x1});this[_0x278903(0x290)]=_0x52cf85,this[_0x278903(0x197)][_0x278903(0x372)](_0x52cf85,_0x3eaeba[_0x278903(0x364)]);const _0x39f632=new _0x158e89(_0x467693+_0x282385[_0x278903(0x2f6)](_0x2bcc39),{'left':_0x49bb84+_0x417130-_0x5c7fd0,'top':_0x571fce+_0x257da3-_0x269956,'text':_0x12ac32,'color':_0x532958});this[_0x278903(0x2d4)]=_0x39f632,this[_0x278903(0x197)][_0x278903(0x372)](_0x39f632,_0x3eaeba['TEXT_RANGE_LAYER_INDEX']),this[_0x278903(0x1f2)]=!0x1;}[_0x33791c(0x1d5)](){const _0x282885=_0x33791c,_0x2d0e60=this[_0x282885(0x3fb)]['onPointerEnter$'][_0x282885(0x2b1)](()=>{const _0xebd468=_0x282885;this[_0xebd468(0x1f2)]=!0x0;}),_0x14275f=this[_0x282885(0x3fb)][_0x282885(0x1c3)][_0x282885(0x2b1)](()=>{const _0x457cae=_0x282885;this[_0x457cae(0x2c2)]&&clearTimeout(this[_0x457cae(0x2c2)]),this['_hideTimer']=setTimeout(()=>{const _0x128e8c=_0x457cae;this[_0x128e8c(0x1f2)]=!0x1;},0x7d0);});return()=>{const _0x369d6c=_0x282885;_0x2d0e60[_0x369d6c(0x248)](),_0x14275f[_0x369d6c(0x248)]();};}[_0x33791c(0x22c)](_0x40139d,_0x36bef8,_0x5b29d1,_0x26b8b3){const _0x31f272=_0x33791c,_0x1944ba=new _0x282385['ColorKit'](_0x40139d)['setAlpha'](0.2)['toRgbString'](),_0x45af2b=new _0x4366ed['RegularPolygon'](_0x4d9471+_0x282385['generateRandomId'](_0x2bcc39),{'pointsGroup':_0x36bef8,'fill':_0x1944ba||_0x4366ed[_0x31f272(0x2f0)](_0x282385[_0x31f272(0x199)][_0x31f272(0x20a)],0.2),'left':_0x5b29d1,'top':_0x26b8b3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31f272(0x204)][_0x31f272(0x1c4)](_0x45af2b),this[_0x31f272(0x197)][_0x31f272(0x372)](_0x45af2b,_0x3eaeba['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x4ef43d,_0xc401c9,_0x22e8ea,_0x14a07b){const _0x517d23=_0x33791c,_0x3d8073=new _0x282385[(_0x517d23(0x342))](_0x4ef43d)[_0x517d23(0x3ca)](0.2)['toRgbString'](),_0x260f2c=new _0x4366ed['RegularPolygon'](_0x106513+_0x282385[_0x517d23(0x2f6)](_0x2bcc39),{'pointsGroup':_0xc401c9,'fill':_0x3d8073||_0x4366ed['getColor'](_0x282385[_0x517d23(0x199)][_0x517d23(0x20a)],0.2),'left':_0x22e8ea,'top':_0x14a07b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x517d23(0x204)][_0x517d23(0x1c4)](_0x260f2c),this[_0x517d23(0x197)][_0x517d23(0x372)](_0x260f2c,_0x3eaeba[_0x517d23(0x364)]);}[_0x33791c(0x3ef)](_0x149035){const _0x4cc5bf=_0x149035[0x0],_0x359eb9=_0x4cc5bf[0x0],_0x30fe8c=_0x4cc5bf[0x2],{x:_0x395ee0,y:_0x1f68f4}=_0x359eb9,{x:_0x26c58b,y:_0xc11670}=_0x30fe8c;return{'left':_0x395ee0,'top':_0x1f68f4,'width':_0x26c58b-_0x395ee0,'height':_0xc11670-_0x1f68f4};}['_getScale'](){const _0x535753=_0x33791c,{scaleX:_0xa68f1a,scaleY:_0x466061}=this[_0x535753(0x197)]['getAncestorScale']();return Math['max'](_0xa68f1a,_0x466061);}}var _0x10e5ea=Object[_0x33791c(0x39a)],_0x3e5a24=(_0x18391b,_0x4c97e8,_0x11e2b9,_0x37099d)=>{const _0x137cc3=_0x33791c;for(var _0x29c57f=_0x37099d>0x1?void 0x0:_0x37099d?_0x10e5ea(_0x4c97e8,_0x11e2b9):_0x4c97e8,_0x2f7c28=_0x18391b[_0x137cc3(0x40b)]-0x1,_0x380fbd;_0x2f7c28>=0x0;_0x2f7c28--)(_0x380fbd=_0x18391b[_0x2f7c28])&&(_0x29c57f=_0x380fbd(_0x29c57f)||_0x29c57f);return _0x29c57f;},_0x4d4243=(_0x24711a,_0x140b8b)=>(_0x4ae8ee,_0xcf949)=>_0x140b8b(_0x4ae8ee,_0xcf949,_0x24711a);let _0x3806b7=class extends _0x282385[_0x33791c(0x1d0)]{constructor(_0x126d20,_0x8c4885,_0x438b76,_0x5d3d86,_0x3e6a35){const _0x44058c=_0x33791c;super(),_0x1bd675(this,_0x44058c(0x35e),[]),_0x1bd675(this,_0x44058c(0x212),[]),(this[_0x44058c(0x2d3)]=_0x126d20,this[_0x44058c(0x3a3)]=_0x8c4885,this[_0x44058c(0x2ff)]=_0x438b76,this[_0x44058c(0x285)]=_0x5d3d86,this[_0x44058c(0x32e)]=_0x3e6a35,this[_0x44058c(0x41f)]());}[_0x33791c(0x41f)](){const _0x5b1cf9=_0x33791c,_0x993643=this[_0x5b1cf9(0x2d3)][_0x5b1cf9(0x3c0)],_0x559019=this['_docSkeletonManagerService'];this[_0x5b1cf9(0x351)](_0x46e3a5[_0x5b1cf9(0x1a8)]([this[_0x5b1cf9(0x2ff)][_0x5b1cf9(0x19a)](_0x993643),this[_0x5b1cf9(0x32e)]['currentTheme$']])[_0x5b1cf9(0x36d)](_0x3c09e2[_0x5b1cf9(0x3de)](([_0x1385a4,_0x3fbff6])=>({'skeleton':_0x559019[_0x5b1cf9(0x1c7)](),'cursors':[..._0x1385a4[_0x5b1cf9(0x3fc)]()]['flatMap'](_0x2467ae=>({..._0x2467ae,'color':this[_0x5b1cf9(0x32e)][_0x5b1cf9(0x3f6)](_0x2467ae[_0x5b1cf9(0x37c)])}))})))['subscribe'](_0x48b4cc=>{const _0x2a94cd=_0x5b1cf9;if(this[_0x2a94cd(0x3ec)](),_0x48b4cc){const {skeleton:_0x19d6c5,cursors:_0x8aea9}=_0x48b4cc;this[_0x2a94cd(0x35b)](_0x19d6c5,_0x8aea9);}})),this['_initResize'](),this[_0x5b1cf9(0x1e2)]();}[_0x33791c(0x35b)](_0x3d289e,_0x30a874){const _0xe204a7=_0x33791c,{scene:_0x240174,mainComponent:_0x26287f}=this[_0xe204a7(0x2d3)],_0x582b49=_0x30a874[_0xe204a7(0x3de)](_0x114769=>new _0x12d44e(_0x114769,_0x240174,_0x3d289e,_0x26287f));this[_0xe204a7(0x35e)]=_0x582b49,this[_0xe204a7(0x212)]=_0x30a874;}[_0x33791c(0x1de)](){const _0x10b919=_0x33791c;this['_removeCollabCursors']();const {scene:_0x38817a,mainComponent:_0x3af300}=this[_0x10b919(0x2d3)],_0xd6e2be=this[_0x10b919(0x3a3)]['getSkeleton'](),_0x17225b=this[_0x10b919(0x212)]['map'](_0x4b2760=>new _0x12d44e(_0x4b2760,_0x38817a,_0xd6e2be,_0x3af300));this['_cursorShapes']=_0x17225b;}[_0x33791c(0x3ec)](){const _0x5ca967=_0x33791c;this[_0x5ca967(0x35e)][_0x5ca967(0x3ee)](_0x10253a=>_0x10253a['dispose']()),this[_0x5ca967(0x35e)]=[];}[_0x33791c(0x1e2)](){const _0x30d793=_0x33791c,_0x4f03b5=[_0x3eaeba[_0x30d793(0x417)]['id']];this[_0x30d793(0x351)](this[_0x30d793(0x285)]['onCommandExecuted'](_0x235f92=>{const _0xfb5038=_0x30d793;_0x4f03b5[_0xfb5038(0x382)](_0x235f92['id'])&&_0x235f92[_0xfb5038(0x1ae)][_0xfb5038(0x3c0)]===this['_context'][_0xfb5038(0x3c0)]&&this[_0xfb5038(0x1de)]();}));}[_0x33791c(0x239)](){const _0x396a3e=_0x33791c;this[_0x396a3e(0x351)](_0x282385[_0x396a3e(0x419)](this[_0x396a3e(0x2d3)][_0x396a3e(0x288)][_0x396a3e(0x223)])[_0x396a3e(0x36d)](_0x3c09e2['filter'](_0x49b96e=>_0x49b96e['type']===_0x4366ed[_0x396a3e(0x430)]['resize']),_0x3c09e2[_0x396a3e(0x275)](0x10))[_0x396a3e(0x338)](()=>{this['_refreshCollabCursors']();}));}};_0x3806b7=_0x3e5a24([_0x4d4243(0x1,_0x282385[_0x33791c(0x1ba)](_0x1e6451[_0x33791c(0x203)])),_0x4d4243(0x2,_0x282385[_0x33791c(0x1ba)](_0x435660)),_0x4d4243(0x3,_0x282385['ICommandService']),_0x4d4243(0x4,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x23c)]))],_0x3806b7);const _0xe09139=0x1,_0x2a8fc8=1.5;class _0x14c1a5 extends _0x4366ed['Shape']{constructor(_0x1119c7,_0x55f813){const _0x3d5f32=_0x33791c;super(_0x1119c7,_0x55f813),_0x1bd675(this,'_color'),_0x1bd675(this,'_hovered',!0x1),_0x1bd675(this,_0x3d5f32(0x26f)),_0x1bd675(this,'_name',''),_0x1bd675(this,_0x3d5f32(0x1ed),_0x3d5f32(0x2fb)),_0x1bd675(this,_0x3d5f32(0x293)),(_0x55f813&&this[_0x3d5f32(0x3d1)](_0x55f813),this['onPointerEnter$'][_0x3d5f32(0x2b1)](()=>this[_0x3d5f32(0x3d1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3d5f32(0x2b1)](()=>this[_0x3d5f32(0x3d1)]({'hovered':!0x1})));}[_0x33791c(0x3d1)](_0x37360c){const _0x3d2752=_0x33791c;var _0x3cf00d,_0x278d56,_0x3d4684,_0x11d523,_0x28cea0,_0x492eee;this['_color']=(_0x3cf00d=_0x37360c['color'])!=null?_0x3cf00d:this[_0x3d2752(0x22f)],this[_0x3d2752(0x294)]=(_0x278d56=_0x37360c[_0x3d2752(0x436)])!=null?_0x278d56:this[_0x3d2752(0x294)],this[_0x3d2752(0x26f)]=(_0x3d4684=_0x37360c['range'])!=null?_0x3d4684:this[_0x3d2752(0x26f)],this['_name']=(_0x11d523=_0x37360c[_0x3d2752(0x2e5)])!=null?_0x11d523:this[_0x3d2752(0x26e)],this[_0x3d2752(0x1ed)]=(_0x28cea0=_0x37360c[_0x3d2752(0x32f)])!=null?_0x28cea0:this[_0x3d2752(0x1ed)],this[_0x3d2752(0x293)]=(_0x492eee=_0x37360c[_0x3d2752(0x234)])!=null?_0x492eee:this[_0x3d2752(0x293)],this['transformByState']({'width':_0x37360c[_0x3d2752(0x401)],'height':_0x37360c[_0x3d2752(0x418)]});}[_0x33791c(0x319)](_0x543c72){const _0x7dc3b7=_0x33791c,{row:_0x1489cd,column:_0x289e30}=_0x543c72;if(_0x1489cd>=this[_0x7dc3b7(0x26f)]['startRow']&&_0x1489cd<=this[_0x7dc3b7(0x26f)][_0x7dc3b7(0x333)]&&_0x289e30>=this[_0x7dc3b7(0x26f)]['startColumn']&&_0x289e30<=this[_0x7dc3b7(0x26f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x7dc3b7(0x3d1)]({'hovered':!0x1});}[_0x33791c(0x34a)](_0x46b99e){return!0x1;}[_0x33791c(0x410)](_0x529b61){const _0x345ff0=_0x33791c;_0x4366ed[_0x345ff0(0x35c)][_0x345ff0(0x349)](_0x529b61,{'width':this[_0x345ff0(0x401)],'height':this[_0x345ff0(0x418)],'strokeWidth':_0x2a8fc8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x345ff0(0x293)]}),this[_0x345ff0(0x294)]&&(_0x529b61[_0x345ff0(0x3aa)](),_0x529b61[_0x345ff0(0x1f3)](0x1,0x0,0x0,0x1,this[_0x345ff0(0x401)],this[_0x345ff0(0x1ed)]===_0x345ff0(0x1b7)?0x0:-_0x269956),_0x158e89[_0x345ff0(0x349)](_0x529b61,{'text':this[_0x345ff0(0x26e)],'color':this['_color']}),_0x529b61[_0x345ff0(0x245)]());}}var _0x3de92d=Object[_0x33791c(0x39a)],_0x34679b=(_0x4c1c4e,_0x8bd451,_0x5eb51f,_0x2c993e)=>{const _0x5ddec7=_0x33791c;for(var _0x5dafea=_0x2c993e>0x1?void 0x0:_0x2c993e?_0x3de92d(_0x8bd451,_0x5eb51f):_0x8bd451,_0x94a592=_0x4c1c4e[_0x5ddec7(0x40b)]-0x1,_0x4d84f4;_0x94a592>=0x0;_0x94a592--)(_0x4d84f4=_0x4c1c4e[_0x94a592])&&(_0x5dafea=_0x4d84f4(_0x5dafea)||_0x5dafea);return _0x5dafea;},_0x47197a=(_0x250846,_0x13735b)=>(_0x427a02,_0x5a95e1)=>_0x13735b(_0x427a02,_0x5a95e1,_0x250846);const _0x2e2aab=0x1389;let _0x393398=class extends _0x282385['RxDisposable']{constructor(_0x286036,_0x3fd723,_0x5a027f,_0x568f66){const _0x3dde86=_0x33791c;super(),_0x1bd675(this,_0x3dde86(0x212),new Set()),_0x1bd675(this,'_lastPointer',null),(this['_context']=_0x286036,this[_0x3dde86(0x3ac)]=_0x3fd723,this[_0x3dde86(0x2ff)]=_0x5a027f,this[_0x3dde86(0x32e)]=_0x568f66,this[_0x3dde86(0x41f)]());}[_0x33791c(0x41f)](){const _0x33dbb9=_0x33791c;this[_0x33dbb9(0x3ac)][_0x33dbb9(0x250)][_0x33dbb9(0x36d)](_0x3c09e2[_0x33dbb9(0x2af)](this[_0x33dbb9(0x221)]),_0x3c09e2['switchMap'](_0xa0b620=>{const _0x4ed1dd=_0x33dbb9;if(_0xa0b620){const _0x5657f4=_0xa0b620[_0x4ed1dd(0x3f0)];return _0x46e3a5['combineLatest'](this[_0x4ed1dd(0x2ff)][_0x4ed1dd(0x19a)](this[_0x4ed1dd(0x2d3)][_0x4ed1dd(0x3c0)]),this[_0x4ed1dd(0x32e)][_0x4ed1dd(0x1ce)])['pipe'](_0x3c09e2[_0x4ed1dd(0x3de)](([_0x2f5e9f,_0x22c577])=>{const _0x19971f=_0x4ed1dd,_0x5bbf6f=new Map();return _0x2f5e9f[_0x19971f(0x3ee)]((_0xc262c1,_0x30bd0a)=>{const _0x441d5b=_0x19971f;if(_0xc262c1['sheetID']===_0x5657f4){const _0x558a16={..._0xc262c1};_0x558a16[_0x441d5b(0x37c)]=this[_0x441d5b(0x32e)][_0x441d5b(0x3f6)](_0xc262c1[_0x441d5b(0x37c)]),_0x5bbf6f['set'](_0x30bd0a,_0x558a16);}}),{'skeleton':_0xa0b620,'cursors':_0x5bbf6f};}));}return _0x46e3a5['of']({'skeleton':null,'cursors':new Map()});}))[_0x33dbb9(0x338)](({skeleton:_0x300a57,cursors:_0x2a2a66})=>{const _0x435d86=_0x33dbb9;this[_0x435d86(0x3ec)](),_0x300a57&&this['_updateCollabCursors'](_0x300a57,_0x2a2a66);}),this[_0x33dbb9(0x3ac)][_0x33dbb9(0x250)][_0x33dbb9(0x338)](_0xae4ff=>{const _0x1a181d=_0x33dbb9;if(_0xae4ff==null)return;const {skeleton:_0x298039}=_0xae4ff,{scene:_0x4e652d}=this['_context'];_0x4e652d[_0x1a181d(0x1c9)][_0x1a181d(0x2b1)](_0x282385[_0x1a181d(0x1a9)](_0x229cbd=>{const _0x151bd7=_0x1a181d;var _0x6e57d8,_0x4c7040;const {offsetX:_0x499a86,offsetY:_0x302cda}=_0x229cbd,{x:_0x30a2d2,y:_0x38e9cd}=_0x4e652d['getRelativeToViewportCoord'](_0x4366ed[_0x151bd7(0x3ed)][_0x151bd7(0x27e)]([_0x499a86,_0x302cda])),{scaleX:_0x50d0c2,scaleY:_0xf3b27b}=_0x4e652d[_0x151bd7(0x1a6)](),_0x33ab09=_0x4e652d['getViewport'](_0x4366ed[_0x151bd7(0x2b6)][_0x151bd7(0x19f)]),_0x28bbde=_0x4e652d[_0x151bd7(0x208)](_0x4366ed['Vector2'][_0x151bd7(0x27e)]([_0x30a2d2,_0x38e9cd]),_0x33ab09),_0x300fb0=_0x298039[_0x151bd7(0x2ea)](_0x499a86,_0x302cda,_0x50d0c2,_0xf3b27b,_0x28bbde);((_0x6e57d8=this[_0x151bd7(0x37b)])==null?void 0x0:_0x6e57d8[_0x151bd7(0x1db)])===_0x300fb0[_0x151bd7(0x1db)]&&((_0x4c7040=this['_lastPointer'])==null?void 0x0:_0x4c7040[_0x151bd7(0x334)])===_0x300fb0[_0x151bd7(0x334)]||this[_0x151bd7(0x212)][_0x151bd7(0x3ee)](_0x5c6b7a=>{const _0x1eeb5c=_0x151bd7;_0x5c6b7a[_0x1eeb5c(0x319)](_0x300fb0);});},0x64));});}[_0x33791c(0x35b)](_0x5dcc03,_0x2f2c2c){const _0x41003b=_0x33791c;var _0x13fe5d;const _0xd8d36d=(_0x13fe5d=this[_0x41003b(0x3ac)]['getCurrent']())==null?void 0x0:_0x13fe5d[_0x41003b(0x2b5)];if(!_0xd8d36d)return;const _0x47096d=this['_getSheetObject']();if(!_0x47096d)return;this['_cursors'][_0x41003b(0x3ee)](_0x2df1d7=>{const _0xcc50df=_0x41003b;_0x2df1d7[_0xcc50df(0x205)]();});const {scene:_0x2e037d}=_0x47096d,_0x4d7b08=_0x5e6dbf(Array[_0x41003b(0x243)](_0x2f2c2c['values']()))[_0x41003b(0x3de)](_0x2c5af3=>{const _0x2c3ca8=_0x41003b,{color:_0x360212,range:_0xb7e151,name:_0xe5a71b,selection:_0x1634d6,sheetID:_0x25e607}=_0x2c5af3,{startColumn:_0x578099,startRow:_0x303765,endColumn:_0x4f7b57,endRow:_0x56c514}=_0xb7e151,_0x194286=_0x387e44[_0x2c3ca8(0x236)](_0x303765,_0x578099,_0x2e037d,_0xd8d36d),_0x58b996=_0x387e44['getCoordByCell'](_0x56c514,_0x4f7b57,_0x2e037d,_0xd8d36d),{columnHeaderHeightAndMarginTop:_0x159478}=_0xd8d36d,{startX:_0x552253,startY:_0x1685a0}=_0x194286,{endX:_0x56726e,endY:_0x4b67f2}=_0x58b996,_0x2b20e8=_0x56726e-_0x552253,_0x1fddff=_0x4b67f2-_0x1685a0,_0x2ecd99={'labelPosition':_0x1685a0-_0x159478>=_0x269956?'top':'bottom','sheetID':_0x25e607,'range':_0xb7e151,'color':_0x360212,'name':_0xe5a71b,'selection':_0x1634d6,'left':_0x552253,'top':_0x1685a0,'width':_0x2b20e8,'height':_0x1fddff,'evented':!0x1,'zIndex':_0x2e2aab};return new _0x14c1a5(_0xe5a71b,_0x2ecd99);});_0x2e037d[_0x41003b(0x403)](_0x4d7b08,_0xe09139),this[_0x41003b(0x212)]=new Set(_0x4d7b08);}[_0x33791c(0x3ec)](){const _0xb753f6=_0x33791c;var _0x4e22f6;(_0x4e22f6=this[_0xb753f6(0x212)])==null||_0x4e22f6[_0xb753f6(0x3ee)](_0x2da0dc=>_0x2da0dc[_0xb753f6(0x19d)]());}['_getSheetObject'](){const _0x769bcc=_0x33791c;return _0x387e44[_0x769bcc(0x19e)](this[_0x769bcc(0x2d3)][_0x769bcc(0x211)],this['_context']);}};_0x393398=_0x34679b([_0x47197a(0x1,_0x282385[_0x33791c(0x1ba)](_0x387e44[_0x33791c(0x1b1)])),_0x47197a(0x2,_0x282385[_0x33791c(0x1ba)](_0x435660)),_0x47197a(0x3,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x23c)]))],_0x393398);function _0x5e6dbf(_0x4756f1){const _0xd18700=_0x33791c,_0xbdb29a=new Map();return _0x4756f1[_0xd18700(0x3ee)](_0x113144=>{const _0x816fd7=_0xd18700;if(_0xbdb29a[_0x816fd7(0x386)](_0x113144[_0x816fd7(0x240)])){const _0x2d2579=_0xbdb29a['get'](_0x113144[_0x816fd7(0x240)]);_0x2d2579[_0x816fd7(0x2e5)]+=',\x20'+_0x113144[_0x816fd7(0x2e5)];}else _0xbdb29a[_0x816fd7(0x38d)](_0x113144[_0x816fd7(0x240)],_0x113144);}),Array[_0xd18700(0x243)](_0xbdb29a[_0xd18700(0x3fc)]());}var _0x36c84a=Object[_0x33791c(0x39a)],_0x101458=(_0x563008,_0x49e6dd,_0x31ba7f,_0x38e915)=>{const _0x3a2052=_0x33791c;for(var _0xd0945c=_0x38e915>0x1?void 0x0:_0x38e915?_0x36c84a(_0x49e6dd,_0x31ba7f):_0x49e6dd,_0x27eff=_0x563008[_0x3a2052(0x40b)]-0x1,_0x49d5cc;_0x27eff>=0x0;_0x27eff--)(_0x49d5cc=_0x563008[_0x27eff])&&(_0xd0945c=_0x49d5cc(_0xd0945c)||_0xd0945c);return _0xd0945c;},_0x30bf82=(_0x192665,_0x47aca5)=>(_0x4cdec9,_0x174fc5)=>_0x47aca5(_0x4cdec9,_0x174fc5,_0x192665);let _0x59da73=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x4d0f68,_0x4ba234,_0x2700cd,_0x5bb185,_0x1d774b,_0x34b951){const _0x2df313=_0x33791c;super(),this['_beforeCloseService']=_0x4d0f68,this[_0x2df313(0x209)]=_0x4ba234,this[_0x2df313(0x339)]=_0x2700cd,this['_messageService']=_0x5bb185,this[_0x2df313(0x3e9)]=_0x1d774b,this[_0x2df313(0x3eb)]=_0x34b951,this[_0x2df313(0x1a0)](),this[_0x2df313(0x1dd)]();}[_0x33791c(0x1a0)](){const _0x2511f8=_0x33791c;this[_0x2511f8(0x351)](this[_0x2511f8(0x323)][_0x2511f8(0x2c6)](()=>{const _0x3fa6c4=_0x2511f8;if(this['_localCacheService'][_0x3fa6c4(0x2c0)][_0x3fa6c4(0x2c7)])return this[_0x3fa6c4(0x3eb)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x33791c(0x1dd)](){const _0x1c841f=_0x33791c;this[_0x1c841f(0x351)](this[_0x1c841f(0x339)][_0x1c841f(0x2f4)][_0x1c841f(0x338)](_0x554788=>{const _0x6b28b3=_0x1c841f;_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x38e)]&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x2ae)],'content':this[_0x6b28b3(0x3eb)]['t']('collaboration.single-unit.warning')}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)]['CLOSE_ROOM']&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d['MessageType'][_0x6b28b3(0x2ae)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x3c5))}),_0x554788['id']===_0x505f96['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x6b28b3(0x3e9)][_0x6b28b3(0x1d2)]({'title':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x400)),'content':this['_localeService']['t']('permission.content'),'type':_0x6b28b3(0x397),'duration':0x0}),_0x554788['id']===_0x505f96['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x1a2a2d['MessageType'][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x3c5))+'('+_0x554788[_0x6b28b3(0x3b1)]+')'}),_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x3a1)]&&this['_messageService'][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)]['Warning'],'content':this[_0x6b28b3(0x3eb)]['t'](_0x554788[_0x6b28b3(0x3b1)]||'')}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)][_0x6b28b3(0x3df)]&&this[_0x6b28b3(0x1b5)]['show']({'type':_0x1a2a2d[_0x6b28b3(0x25b)]['Warning'],'content':this['_localeService']['t'](_0x6b28b3(0x25a))}),_0x554788['id']===_0x505f96[_0x6b28b3(0x229)][_0x6b28b3(0x2df)]&&this[_0x6b28b3(0x1b5)][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x41d))}),_0x554788['id']===_0x505f96['CollaborationUIEventId'][_0x6b28b3(0x3f3)]&&this['_messageService'][_0x6b28b3(0x1d2)]({'type':_0x1a2a2d[_0x6b28b3(0x25b)][_0x6b28b3(0x264)],'content':this[_0x6b28b3(0x3eb)]['t'](_0x6b28b3(0x381))});}));}};_0x59da73=_0x101458([_0x30bf82(0x0,_0x31ed4b[_0x33791c(0x22d)]),_0x30bf82(0x1,_0x505f96[_0x33791c(0x3ad)]),_0x30bf82(0x2,_0x282385['Inject'](_0x505f96['CollaborationUIEventService'])),_0x30bf82(0x3,_0x31ed4b['IMessageService']),_0x30bf82(0x4,_0x31ed4b[_0x33791c(0x23b)]),_0x30bf82(0x5,_0x282385[_0x33791c(0x1ba)](_0x282385['LocaleService']))],_0x59da73);const _0x32c724=_0x33791c(0x28d),_0x4de44c={};var _0x58bc27=Object[_0x33791c(0x39a)],_0x2d29a8=(_0x1c4d25,_0x1fb860,_0xe8409d,_0x5d731b)=>{for(var _0x2c2ef8=_0x5d731b>0x1?void 0x0:_0x5d731b?_0x58bc27(_0x1fb860,_0xe8409d):_0x1fb860,_0x10193c=_0x1c4d25['length']-0x1,_0x5cd562;_0x10193c>=0x0;_0x10193c--)(_0x5cd562=_0x1c4d25[_0x10193c])&&(_0x2c2ef8=_0x5cd562(_0x2c2ef8)||_0x2c2ef8);return _0x2c2ef8;},_0x4e3ada=(_0x276248,_0x493271)=>(_0x5cf984,_0x38cf35)=>_0x493271(_0x5cf984,_0x38cf35,_0x276248);let _0x5668a1=class{constructor(_0x86b921,_0x228d2d){this['_transformService']=_0x86b921,this['_renderManagerService']=_0x228d2d;}[_0x33791c(0x1ab)](_0xf4e0ea){const _0x23e477=_0x33791c;this[_0x23e477(0x266)](_0xf4e0ea),this[_0x23e477(0x2b0)](_0xf4e0ea);}['transformRemoteChangeset'](_0xa2b1fc){const _0x4c2c72=_0x33791c,{unitID:_0x2c0b88}=_0xa2b1fc,_0x3b0a04=this[_0x4c2c72(0x1fa)][_0x4c2c72(0x1ec)](_0x2c0b88)['with'](_0x3eaeba[_0x4c2c72(0x3ae)]),{redoCache:_0x4267e9}=_0x3b0a04[_0x4c2c72(0x26d)]();if(_0x4267e9[_0x4c2c72(0x40b)]===0x0)return _0xa2b1fc;let _0x5a6605=_0x282385[_0x4c2c72(0x393)][_0x4c2c72(0x3b5)](_0xa2b1fc[_0x4c2c72(0x2a3)][0x0]);for(let _0x304393=0x0;_0x304393<_0x4267e9[_0x4c2c72(0x40b)];_0x304393++){const _0x4dc370={'id':_0x4c2c72(0x1d4),'params':{..._0x4267e9[_0x304393]}},_0xb66a9c=this[_0x4c2c72(0x3f5)]['transformMutation'](_0x5a6605,_0x4dc370,!0x1);if(_0x26b52b['isTransformMutationFailure'](_0xb66a9c))throw _0xb66a9c[_0x4c2c72(0x397)];_0x5a6605=_0xb66a9c[_0x4c2c72(0x30d)];}return{..._0x282385[_0x4c2c72(0x393)][_0x4c2c72(0x3b5)](_0xa2b1fc),'mutations':[_0x5a6605]};}[_0x33791c(0x266)](_0x4434b0){const _0x5e5650=_0x33791c,{unitID:_0x51e79e}=_0x4434b0,_0x157db8=this[_0x5e5650(0x1fa)]['getRenderById'](_0x51e79e)[_0x5e5650(0x412)](_0x3eaeba[_0x5e5650(0x3ae)]),{undoCache:_0xc19832,redoCache:_0x3d3eaf}=_0x157db8[_0x5e5650(0x26d)]();if(_0xc19832[_0x5e5650(0x40b)]===0x0||_0x3d3eaf[_0x5e5650(0x40b)]===0x0)return;const _0x10dac0=[],_0x222e66=[];let _0x56e907=_0x282385[_0x5e5650(0x393)]['deepClone'](_0x4434b0[_0x5e5650(0x2a3)][0x0]),_0x529a53=_0x282385[_0x5e5650(0x393)]['deepClone'](_0x4434b0[_0x5e5650(0x2a3)][0x0]);for(let _0x159c5b=_0xc19832['length']-0x1;_0x159c5b>=0x0;_0x159c5b--){const _0x4cad52={'id':'doc.mutation.rich-text-editing','params':{..._0xc19832[_0x159c5b]}},_0x5bcf2e={'id':_0x5e5650(0x1d4),'params':{..._0x3d3eaf[_0x159c5b]}},_0x1ef6ba=this['_transformService']['transformMutation'](_0x56e907,_0x4cad52,!0x1),_0x505fe9=this[_0x5e5650(0x3f5)]['transformMutation'](_0x529a53,_0x5bcf2e,!0x1);if(_0x26b52b[_0x5e5650(0x2d6)](_0x1ef6ba))throw _0x1ef6ba[_0x5e5650(0x397)];if(_0x26b52b[_0x5e5650(0x2d6)](_0x505fe9))throw _0x505fe9[_0x5e5650(0x397)];_0x10dac0['unshift'](_0x1ef6ba[_0x5e5650(0x3fd)]['params']),_0x222e66['unshift'](_0x505fe9[_0x5e5650(0x3fd)][_0x5e5650(0x1ae)]),_0x56e907=_0x1ef6ba[_0x5e5650(0x30d)],_0x529a53=_0x505fe9['m1Prime'];}_0x157db8['setUndoRedoMutationParamsCache']({'undoCache':_0x10dac0,'redoCache':_0x222e66});}['_transformPreviousActiveRange'](_0x2c8c9f){const _0x3aea62=_0x33791c,{unitID:_0x4039f1}=_0x2c8c9f,_0x5bd311=this[_0x3aea62(0x1fa)][_0x3aea62(0x1ec)](_0x4039f1)[_0x3aea62(0x412)](_0x3eaeba[_0x3aea62(0x3ae)]),_0x1fbb8c=_0x5bd311[_0x3aea62(0x31b)]();if(_0x1fbb8c==null)return;const _0x40994e=[{'id':_0x3aea62(0x1d4),'params':{'unitId':_0x2c8c9f[_0x3aea62(0x292)],'actions':null,'textRanges':[_0x1fbb8c]}}],_0xe3de0c=this[_0x3aea62(0x3f5)][_0x3aea62(0x1bd)](_0x2c8c9f,_0x40994e);if(!_0x26b52b[_0x3aea62(0x1a7)](_0xe3de0c))throw _0xe3de0c[_0x3aea62(0x397)];const _0x20cf7e=_0xe3de0c[_0x3aea62(0x3fd)][0x0][_0x3aea62(0x1ae)][_0x3aea62(0x23f)];Array[_0x3aea62(0x295)](_0x20cf7e)&&_0x20cf7e[_0x3aea62(0x40b)]&&_0x5bd311[_0x3aea62(0x20e)](_0x20cf7e[0x0]);}};_0x5668a1=_0x2d29a8([_0x4e3ada(0x0,_0x26b52b['ITransformService']),_0x4e3ada(0x1,_0x4366ed[_0x33791c(0x423)])],_0x5668a1);var _0x325b2b=Object[_0x33791c(0x39a)],_0x355aef=(_0x480029,_0x45f2d5,_0x52bd27,_0x5b4ea8)=>{for(var _0x38182e=_0x5b4ea8>0x1?void 0x0:_0x5b4ea8?_0x325b2b(_0x45f2d5,_0x52bd27):_0x45f2d5,_0x43c595=_0x480029['length']-0x1,_0x2123a3;_0x43c595>=0x0;_0x43c595--)(_0x2123a3=_0x480029[_0x43c595])&&(_0x38182e=_0x2123a3(_0x38182e)||_0x38182e);return _0x38182e;},_0x1944c4=(_0x56b299,_0x3d63df)=>(_0x2add0b,_0x1ed738)=>_0x3d63df(_0x2add0b,_0x1ed738,_0x56b299);let _0x3d0759=class{constructor(_0x336c40,_0x1c0eff,_0x4a5727){const _0x113163=_0x33791c;this[_0x113163(0x27a)]=_0x336c40,this[_0x113163(0x3f5)]=_0x1c0eff,this[_0x113163(0x1b2)]=_0x4a5727;}[_0x33791c(0x22b)](_0x485719){const _0x4deb9e=_0x33791c;this[_0x4deb9e(0x3a8)](_0x485719);}['transformRemoteChangeset'](_0x1d4839){const _0x3d542f=_0x33791c,{unitID:_0x4dd4d6}=_0x1d4839,{collaboration:_0x354dae}=this[_0x3d542f(0x1b2)][_0x3d542f(0x313)](_0x4dd4d6);if(_0x354dae[_0x3d542f(0x40b)]===0x0)return _0x1d4839;let _0x3370ae=_0x282385['Tools']['deepClone'](_0x1d4839['mutations'][0x0]);for(let _0x58c6b8=0x0;_0x58c6b8<_0x354dae[_0x3d542f(0x40b)];_0x58c6b8++){const _0x827cc8={'id':_0x3d542f(0x1d4),'params':{'unitId':_0x354dae[_0x58c6b8][_0x3d542f(0x3c0)],..._0x354dae[_0x58c6b8][_0x3d542f(0x1d1)]}},_0x2c8336=this[_0x3d542f(0x3f5)]['transformMutation'](_0x3370ae,_0x827cc8,!0x1);if(_0x26b52b[_0x3d542f(0x2d6)](_0x2c8336))throw _0x2c8336['error'];_0x3370ae=_0x2c8336[_0x3d542f(0x30d)];}return{..._0x282385['Tools'][_0x3d542f(0x3b5)](_0x1d4839),'mutations':[_0x3370ae]};}[_0x33791c(0x3a8)](_0x66d935){const _0x1ffd2a=_0x33791c,{unitID:_0x14073f}=_0x66d935,{history:_0x5ae5b7,collaboration:_0x290d7a}=this[_0x1ffd2a(0x1b2)][_0x1ffd2a(0x313)](_0x14073f);if(_0x5ae5b7[_0x1ffd2a(0x40b)]===0x0&&_0x290d7a[_0x1ffd2a(0x40b)]===0x0)return;const _0x5bd4ee=[],_0x49e64b=[];let _0x30d5e9=_0x282385['Tools'][_0x1ffd2a(0x3b5)](_0x66d935['mutations'][0x0]),_0x2496b9=_0x282385[_0x1ffd2a(0x393)][_0x1ffd2a(0x3b5)](_0x66d935[_0x1ffd2a(0x2a3)][0x0]);for(let _0x4ecb1b=_0x5ae5b7[_0x1ffd2a(0x40b)]-0x1;_0x4ecb1b>=0x0;_0x4ecb1b--){const _0x316936={'id':_0x1ffd2a(0x1d4),'params':{'unitId':_0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x3c0)],..._0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x1b0)]}},_0x27d7a2={'id':_0x1ffd2a(0x1d4),'params':{'unitId':_0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x3c0)],..._0x5ae5b7[_0x4ecb1b][_0x1ffd2a(0x1d1)]}},_0x50ac6a=this['_transformService'][_0x1ffd2a(0x2f7)](_0x30d5e9,_0x316936,!0x1),_0x57b2f0=this[_0x1ffd2a(0x3f5)][_0x1ffd2a(0x2f7)](_0x2496b9,_0x27d7a2,!0x1);if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x50ac6a))throw _0x50ac6a[_0x1ffd2a(0x397)];if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x57b2f0))throw _0x57b2f0['error'];_0x5bd4ee[_0x1ffd2a(0x1ea)]({..._0x5ae5b7[_0x4ecb1b],'undoState':_0x50ac6a[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)],'redoState':_0x57b2f0[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)]}),_0x30d5e9=_0x50ac6a[_0x1ffd2a(0x30d)],_0x2496b9=_0x57b2f0[_0x1ffd2a(0x30d)];}_0x30d5e9=_0x282385[_0x1ffd2a(0x393)][_0x1ffd2a(0x3b5)](_0x66d935[_0x1ffd2a(0x2a3)][0x0]),_0x2496b9=_0x282385['Tools'][_0x1ffd2a(0x3b5)](_0x66d935['mutations'][0x0]);for(let _0xa22d8c=_0x290d7a[_0x1ffd2a(0x40b)]-0x1;_0xa22d8c>=0x0;_0xa22d8c--){const _0x3aa161={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x290d7a[_0xa22d8c][_0x1ffd2a(0x3c0)],..._0x290d7a[_0xa22d8c][_0x1ffd2a(0x1b0)]}},_0x4daf18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x290d7a[_0xa22d8c][_0x1ffd2a(0x3c0)],..._0x290d7a[_0xa22d8c][_0x1ffd2a(0x1d1)]}},_0x20bc07=this['_transformService'][_0x1ffd2a(0x2f7)](_0x30d5e9,_0x3aa161,!0x1),_0x3fb3b6=this['_transformService'][_0x1ffd2a(0x2f7)](_0x2496b9,_0x4daf18,!0x1);if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x20bc07))throw _0x20bc07[_0x1ffd2a(0x397)];if(_0x26b52b[_0x1ffd2a(0x2d6)](_0x3fb3b6))throw _0x3fb3b6[_0x1ffd2a(0x397)];_0x49e64b[_0x1ffd2a(0x1ea)]({..._0x290d7a[_0xa22d8c],'undoState':_0x20bc07[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)],'redoState':_0x3fb3b6[_0x1ffd2a(0x3fd)][_0x1ffd2a(0x1ae)]}),_0x30d5e9=_0x20bc07[_0x1ffd2a(0x30d)],_0x2496b9=_0x3fb3b6['m1Prime'];}this[_0x1ffd2a(0x1b2)][_0x1ffd2a(0x260)](_0x14073f,{'history':_0x5bd4ee,'collaboration':_0x49e64b});}};_0x3d0759=_0x355aef([_0x1944c4(0x0,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x1944c4(0x1,_0x26b52b[_0x33791c(0x2f8)]),_0x1944c4(0x2,_0x282385[_0x33791c(0x1ba)](_0x3eaeba['DocStateChangeManagerService']))],_0x3d0759);var _0x2b72d3=Object[_0x33791c(0x39a)],_0x357099=(_0x3e4c85,_0x43e8a3,_0x5020ae,_0x3e4076)=>{for(var _0x3183f2=_0x3e4076>0x1?void 0x0:_0x3e4076?_0x2b72d3(_0x43e8a3,_0x5020ae):_0x43e8a3,_0xe9ecb6=_0x3e4c85['length']-0x1,_0x17c2de;_0xe9ecb6>=0x0;_0xe9ecb6--)(_0x17c2de=_0x3e4c85[_0xe9ecb6])&&(_0x3183f2=_0x17c2de(_0x3183f2)||_0x3183f2);return _0x3183f2;},_0xc1fd6d=(_0x529d5b,_0xab3b01)=>(_0x8db6b4,_0x573797)=>_0xab3b01(_0x8db6b4,_0x573797,_0x529d5b);let _0x482a98=class{constructor(_0x43a042,_0x46c64f){const _0x30b1e4=_0x33791c;this[_0x30b1e4(0x27a)]=_0x43a042,this[_0x30b1e4(0x3f5)]=_0x46c64f;}[_0x33791c(0x41c)](_0x39d6ce){const _0x266f2e=_0x33791c;var _0x13a189;const _0xc1cc07=this['_injector'][_0x266f2e(0x1c6)](_0x1e6451['DocSelectionManagerService']),_0x1b228f=(_0x13a189=_0xc1cc07[_0x266f2e(0x29d)]())!=null?_0x13a189:[];if(_0x1b228f[_0x266f2e(0x40b)]===0x0)return;const _0x8ef619=_0x39d6ce[_0x266f2e(0x292)],_0x233990=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8ef619,'actions':null,'textRanges':_0x1b228f}}],_0x566386=this[_0x266f2e(0x3f5)][_0x266f2e(0x1bd)](_0x39d6ce,_0x233990);if(!_0x26b52b[_0x266f2e(0x1a7)](_0x566386))throw _0x566386[_0x266f2e(0x397)];const _0x49029d=_0x566386[_0x266f2e(0x3fd)][0x0][_0x266f2e(0x1ae)]['textRanges'];Array['isArray'](_0x49029d)&&_0x49029d[_0x266f2e(0x40b)]&&_0xc1cc07[_0x266f2e(0x322)](_0x49029d,{'unitId':_0x8ef619,'subUnitId':_0x8ef619},!0x1);}};_0x482a98=_0x357099([_0xc1fd6d(0x0,_0x282385[_0x33791c(0x1ba)](_0x282385['Injector'])),_0xc1fd6d(0x1,_0x26b52b['ITransformService'])],_0x482a98);var _0x3608ff=Object[_0x33791c(0x39a)],_0xfecf71=(_0x46f49d,_0x443910,_0x414516,_0x30303c)=>{for(var _0x36a90b=_0x30303c>0x1?void 0x0:_0x30303c?_0x3608ff(_0x443910,_0x414516):_0x443910,_0x2c25d6=_0x46f49d['length']-0x1,_0xa44cd9;_0x2c25d6>=0x0;_0x2c25d6--)(_0xa44cd9=_0x46f49d[_0x2c25d6])&&(_0x36a90b=_0xa44cd9(_0x36a90b)||_0x36a90b);return _0x36a90b;},_0x1a7270=(_0x1d8982,_0x4369c7)=>(_0x5013ca,_0x5b2d5e)=>_0x4369c7(_0x5013ca,_0x5b2d5e,_0x1d8982);let _0x3b7ab7=class extends _0x282385[_0x33791c(0x34b)]{constructor(_0x5b4762,_0x5af5b5,_0x234098,_0x3d6ecf,_0xbae311,_0xc1f409,_0x492fb4,_0xeb7df2){const _0x461706=_0x33791c;super(),_0x1bd675(this,'_status$',new _0x46e3a5[(_0x461706(0x2b4))](_0x505f96['CollaborationStatus'][_0x461706(0x291)])),(this['_docStateChangeManagerService']=_0x5b4762,this[_0x461706(0x2d2)]=_0x5af5b5,this['_docTransformIMECacheService']=_0x234098,this['_docTransformStateCacheService']=_0x3d6ecf,this['_docTransformSelectionsService']=_0xbae311,this[_0x461706(0x413)]=_0xc1f409,this[_0x461706(0x1b5)]=_0x492fb4,this[_0x461706(0x3eb)]=_0xeb7df2,this[_0x461706(0x2a8)]());}[_0x33791c(0x2a8)](){const _0x435faf=_0x33791c;this[_0x435faf(0x351)](this[_0x435faf(0x2d2)]['entityInit$']['subscribe'](_0x12217a=>{const _0x9e8e9b=_0x435faf,_0x3c70ff=this[_0x9e8e9b(0x1b2)]['docStateChange$'][_0x9e8e9b(0x338)](_0x23e512=>{const _0x2ea9d2=_0x9e8e9b;if(_0x23e512==null)return;const {unitId:_0x3244bd,redoState:_0x54f737,commandId:_0x2a41b4}=_0x23e512;if(_0x3244bd!==_0x12217a[_0x2ea9d2(0x292)])return;const _0x349e7b={'id':_0x2a41b4,'type':_0x282385[_0x2ea9d2(0x253)][_0x2ea9d2(0x198)],'params':{'unitId':_0x3244bd,'actions':_0x54f737[_0x2ea9d2(0x273)],'textRanges':null}};_0x12217a[_0x2ea9d2(0x277)](_0x349e7b);});if(_0x12217a['disposeWithMe'](_0x3c70ff),_0x12217a instanceof _0x505f96[_0x9e8e9b(0x2dd)]){const _0x26ae85={'onTransformIME':_0xdebb75=>this['_docTransformIMECacheService'][_0x9e8e9b(0x1ab)](_0xdebb75),'onTransformState':_0x5b6874=>this[_0x9e8e9b(0x3c4)][_0x9e8e9b(0x22b)](_0x5b6874),'onTransformSelections':_0x483f26=>this[_0x9e8e9b(0x3a6)][_0x9e8e9b(0x41c)](_0x483f26),'onSyncEditingCollabCursor':_0x5f3702=>this[_0x9e8e9b(0x413)]['syncEditingCollabCursor'](_0x5f3702),'onTransformRemoteChangesetByIMECache':_0x3935bd=>this[_0x9e8e9b(0x1fd)][_0x9e8e9b(0x307)](_0x3935bd),'onTransformRemoteChangesetByStateCache':_0x4b9628=>this[_0x9e8e9b(0x3c4)][_0x9e8e9b(0x307)](_0x4b9628)};_0x12217a[_0x9e8e9b(0x355)](_0x26ae85);}}));}};_0x3b7ab7=_0xfecf71([_0x1a7270(0x0,_0x282385[_0x33791c(0x1ba)](_0x3eaeba[_0x33791c(0x3bb)])),_0x1a7270(0x1,_0x282385[_0x33791c(0x1ba)](_0x505f96[_0x33791c(0x3fa)])),_0x1a7270(0x2,_0x282385[_0x33791c(0x1ba)](_0x5668a1)),_0x1a7270(0x3,_0x282385[_0x33791c(0x1ba)](_0x3d0759)),_0x1a7270(0x4,_0x282385['Inject'](_0x482a98)),_0x1a7270(0x5,_0x282385[_0x33791c(0x1ba)](_0x2a8d1a)),_0x1a7270(0x6,_0x31ed4b[_0x33791c(0x3d3)]),_0x1a7270(0x7,_0x282385['Inject'](_0x282385[_0x33791c(0x408)]))],_0x3b7ab7);var _0x2cda07=Object[_0x33791c(0x39a)],_0x205a5c=(_0x1f431f,_0x3ce7d4,_0x5cc350,_0x5f04ad)=>{const _0x12d604=_0x33791c;for(var _0x3c5321=_0x5f04ad>0x1?void 0x0:_0x5f04ad?_0x2cda07(_0x3ce7d4,_0x5cc350):_0x3ce7d4,_0x26067e=_0x1f431f[_0x12d604(0x40b)]-0x1,_0x5083d9;_0x26067e>=0x0;_0x26067e--)(_0x5083d9=_0x1f431f[_0x26067e])&&(_0x3c5321=_0x5083d9(_0x3c5321)||_0x3c5321);return _0x3c5321;},_0x5346b7=(_0x50a6e6,_0x523a29)=>(_0x43dccd,_0x2ae351)=>_0x523a29(_0x43dccd,_0x2ae351,_0x50a6e6);let _0x51c95f=class extends _0x282385['Disposable']{constructor(_0x558bb8,_0x12eed8,_0x6fc242){const _0x3b39cf=_0x33791c;super(),_0x1bd675(this,_0x3b39cf(0x1bc),new Map()),_0x1bd675(this,_0x3b39cf(0x261),new Map()),_0x1bd675(this,_0x3b39cf(0x345),!0x1),(this[_0x3b39cf(0x32d)]=_0x558bb8,this[_0x3b39cf(0x42b)]=_0x12eed8,this[_0x3b39cf(0x353)]=_0x6fc242);}[_0x33791c(0x21c)](){this['_disabled']=!0x0;}[_0x33791c(0x42a)](){this['_disabled']=!0x1;}get[_0x33791c(0x2c0)](){const _0x25b33d=_0x33791c;return this[_0x25b33d(0x261)];}[_0x33791c(0x19d)](){const _0x29f07a=_0x33791c;this[_0x29f07a(0x3f2)]()[_0x29f07a(0x3d6)](()=>super[_0x29f07a(0x19d)]());}async[_0x33791c(0x300)](_0x53df1b){const _0x5458ac=_0x33791c;return this['_disabled']?null:this[_0x5458ac(0x42b)]['getItem'](_0x505f96[_0x5458ac(0x217)](_0x53df1b));}async[_0x33791c(0x302)](_0x32563f,_0x27e43c){const _0x15877f=_0x33791c;return!!this[_0x15877f(0x42b)][_0x15877f(0x283)](_0x32563f,_0x27e43c);}['updateOfflineData'](_0x37a3dc,_0x54aa88,_0x3faf29,_0x8caee1){const _0x174a3c=_0x33791c,_0x5dc241=this[_0x174a3c(0x353)][_0x174a3c(0x318)](_0x37a3dc);this[_0x174a3c(0x1bc)][_0x174a3c(0x38d)](_0x37a3dc,{'unitID':_0x37a3dc,'type':_0x54aa88,'awaitingChangeset':_0x3faf29,'mutations':_0x8caee1,'rev':_0x5dc241}),this[_0x174a3c(0x261)][_0x174a3c(0x386)](_0x37a3dc)||this[_0x174a3c(0x366)](_0x37a3dc);}['_scheduleSaving'](_0x4d0723){const _0x4ff37b=_0x33791c,_0x24235d=this['_getSaveTimeout']();_0x24235d===0x0?this[_0x4ff37b(0x32a)](_0x4d0723):this['_saveTaskMap'][_0x4ff37b(0x38d)](_0x4d0723,setTimeout(()=>this[_0x4ff37b(0x32a)](_0x4d0723),_0x24235d));}['_getSaveTimeout'](){const _0x32b23c=_0x33791c;var _0xfa2cff;return(_0xfa2cff=this[_0x32b23c(0x32d)]['getConfig'](_0x505f96['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xfa2cff:_0x505f96[_0x32b23c(0x27c)];}['_saveCache'](_0x4b870c){const _0x1abda1=_0x33791c,_0x2e47c5=this['_saveTaskMap'][_0x1abda1(0x1c6)](_0x4b870c);return _0x2e47c5!==void 0x0&&window['clearTimeout'](_0x2e47c5),this['_localStorageService']['setItem'](_0x505f96[_0x1abda1(0x217)](_0x4b870c),this[_0x1abda1(0x1bc)]['get'](_0x4b870c))['then'](()=>this[_0x1abda1(0x261)]['delete'](_0x4b870c));}async[_0x33791c(0x3f2)](){const _0x36cbc2=_0x33791c,_0x26f717=[];this[_0x36cbc2(0x261)][_0x36cbc2(0x3ee)]((_0x3934a1,_0xab721a)=>{const _0x49f9f8=_0x36cbc2;window['clearTimeout'](_0x3934a1),_0x26f717['push'](this[_0x49f9f8(0x32a)](_0xab721a)[_0x49f9f8(0x3d6)](()=>{this['_saveTaskMap']['delete'](_0xab721a);}));}),await Promise[_0x36cbc2(0x36f)](_0x26f717);}};_0x51c95f=_0x205a5c([_0x5346b7(0x0,_0x282385[_0x33791c(0x2a2)]),_0x5346b7(0x1,_0x282385[_0x33791c(0x2a9)]),_0x5346b7(0x2,_0x282385[_0x33791c(0x1ba)](_0x26b52b[_0x33791c(0x411)]))],_0x51c95f);class _0x45f517 extends _0x282385['RxDisposable']{constructor(){const _0x400178=_0x33791c;super(),_0x1bd675(this,_0x400178(0x3ab)),this[_0x400178(0x3ab)]=_0x46e3a5[_0x400178(0x36a)](window,_0x400178(0x2cb))[_0x400178(0x36d)](_0x46e3a5[_0x400178(0x2af)](this[_0x400178(0x221)]),_0x46e3a5['shareReplay'](0x1),_0x46e3a5['mapTo'](void 0x0));}[_0x33791c(0x20c)](_0x58fa7d,_0x1441d9,_0x2a204e=!0x1){const _0x3a9c23=_0x33791c,_0x49a42a=new URL(window[_0x3a9c23(0x225)]['href']);_0x49a42a[_0x3a9c23(0x2b2)][_0x3a9c23(0x38d)](_0x58fa7d,_0x1441d9),_0x2a204e?window['history'][_0x3a9c23(0x235)]('','',_0x49a42a[_0x3a9c23(0x3c1)]()):window[_0x3a9c23(0x3ba)][_0x3a9c23(0x1e3)]('','',_0x49a42a[_0x3a9c23(0x3c1)]());}[_0x33791c(0x29e)](_0x237a11,_0x1ead7f=!0x1){const _0x3a3a4c=_0x33791c,_0x2c2e6e=new URL(window[_0x3a3a4c(0x225)][_0x3a3a4c(0x399)]);_0x2c2e6e[_0x3a3a4c(0x2b2)]['delete'](_0x237a11),_0x1ead7f?window[_0x3a3a4c(0x3ba)][_0x3a3a4c(0x235)]('','',_0x2c2e6e[_0x3a3a4c(0x3c1)]()):window['history'][_0x3a3a4c(0x1e3)]('','',_0x2c2e6e[_0x3a3a4c(0x3c1)]());}[_0x33791c(0x31e)](_0x3572e4){const _0x17a744=_0x33791c;var _0x4b302d;return(_0x4b302d=new URL(window[_0x17a744(0x225)][_0x17a744(0x399)])[_0x17a744(0x2b2)]['get'](_0x3572e4))!=null?_0x4b302d:void 0x0;}}var _0x1e83dc=Object[_0x33791c(0x435)],_0x27c05a=Object[_0x33791c(0x39a)],_0x2fb6ff=(_0x234489,_0x2fafa6,_0x3c2102)=>_0x2fafa6 in _0x234489?_0x1e83dc(_0x234489,_0x2fafa6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c2102}):_0x234489[_0x2fafa6]=_0x3c2102,_0x13202a=(_0x2a2022,_0x44ff2d,_0x4b0824,_0x59f12b)=>{for(var _0x2216bc=_0x59f12b>0x1?void 0x0:_0x59f12b?_0x27c05a(_0x44ff2d,_0x4b0824):_0x44ff2d,_0x5a1301=_0x2a2022['length']-0x1,_0x53de99;_0x5a1301>=0x0;_0x5a1301--)(_0x53de99=_0x2a2022[_0x5a1301])&&(_0x2216bc=_0x53de99(_0x2216bc)||_0x2216bc);return _0x2216bc;},_0x50234d=(_0x49299f,_0x310791)=>(_0x570c0b,_0xc45d96)=>_0x310791(_0x570c0b,_0xc45d96,_0x49299f),_0x154c75=(_0x36ac49,_0x2e023b,_0x747da0)=>_0x2fb6ff(_0x36ac49,_0x2e023b+'',_0x747da0);const _0x140ea3=_0x33791c(0x22a);_0x10df8c[_0x33791c(0x200)]=class extends _0x282385[_0x33791c(0x24a)]{constructor(_0x1679bd=_0x4de44c,_0x557283,_0x53530d,_0x16d6d7){const _0x3f9724=_0x33791c;super(),this[_0x3f9724(0x3f4)]=_0x1679bd,this['_renderManagerService']=_0x557283,this[_0x3f9724(0x27a)]=_0x53530d,this[_0x3f9724(0x32d)]=_0x16d6d7;const {..._0x3439cb}=_0x282385[_0x3f9724(0x232)]({},_0x4de44c,this[_0x3f9724(0x3f4)]);this['_configService'][_0x3f9724(0x3b4)](_0x32c724,_0x3439cb);}['onStarting'](){const _0x50ad7b=_0x33791c;this['_registerDependencies'](),this[_0x50ad7b(0x3c7)]();}[_0x33791c(0x268)](){const _0x2e0449=_0x33791c;this[_0x2e0449(0x1d6)]();}['_registerDependencies'](){const _0x4fa42d=_0x33791c;var _0xde99b3;const _0x3ba212=[[_0x3baabc],[_0x482a98],[_0x5668a1],[_0x3d0759],[_0x2a8d1a],[_0x529b68,{'useClass':_0x45f517}],[_0x23f55f[_0x4fa42d(0x220)],{'useClass':_0x23f55f[_0x4fa42d(0x42d)]}],[_0x505f96[_0x4fa42d(0x3ad)],{'useClass':_0x51c95f}],[_0x10df8c['DesktopCollaborationStatusDisplayController']],[_0x3b7ab7],[_0x59da73],[_0x435660],[_0x58afcc],[_0x10df8c[_0x4fa42d(0x392)]]];_0x282385[_0x4fa42d(0x343)](this[_0x4fa42d(0x27a)],_0x282385[_0x4fa42d(0x1da)](_0x3ba212,(_0xde99b3=this[_0x4fa42d(0x3f4)])==null?void 0x0:_0xde99b3[_0x4fa42d(0x405)]));}[_0x33791c(0x1d6)](){const _0x43d31c=_0x33791c;this[_0x43d31c(0x351)](this['_renderManagerService'][_0x43d31c(0x2a6)](_0x282385[_0x43d31c(0x356)][_0x43d31c(0x373)],[_0x3806b7])),this[_0x43d31c(0x351)](this[_0x43d31c(0x1fa)][_0x43d31c(0x2a6)](_0x282385[_0x43d31c(0x356)]['UNIVER_SHEET'],[_0x393398]));}[_0x33791c(0x3c7)](){const _0x4c1286=_0x33791c;_0x282385['touchDependencies'](this[_0x4c1286(0x27a)],[[_0x435660],[_0x10df8c[_0x4c1286(0x1cc)]],[_0x3b7ab7],[_0x59da73],[_0x10df8c[_0x4c1286(0x392)]]]);}},_0x154c75(_0x10df8c[_0x33791c(0x200)],_0x33791c(0x394),_0x140ea3),_0x10df8c[_0x33791c(0x200)]=_0x13202a([_0x282385[_0x33791c(0x33a)](_0x505f96[_0x33791c(0x28c)]),_0x50234d(0x1,_0x4366ed[_0x33791c(0x423)]),_0x50234d(0x2,_0x282385[_0x33791c(0x1ba)](_0x282385[_0x33791c(0x428)])),_0x50234d(0x3,_0x282385[_0x33791c(0x2a2)])],_0x10df8c[_0x33791c(0x200)]);var _0x26d35f=Object[_0x33791c(0x39a)],_0x54eb9e=(_0x8e4fa2,_0xdddcbb,_0x44f9d4,_0x1f977f)=>{const _0x46157c=_0x33791c;for(var _0xe60485=_0x1f977f>0x1?void 0x0:_0x1f977f?_0x26d35f(_0xdddcbb,_0x44f9d4):_0xdddcbb,_0x26a78c=_0x8e4fa2[_0x46157c(0x40b)]-0x1,_0x38b1a9;_0x26a78c>=0x0;_0x26a78c--)(_0x38b1a9=_0x8e4fa2[_0x26a78c])&&(_0xe60485=_0x38b1a9(_0xe60485)||_0xe60485);return _0xe60485;},_0x1f4997=(_0xbeb81c,_0x425f64)=>(_0xb7b02b,_0x25af4c)=>_0x425f64(_0xb7b02b,_0x25af4c,_0xbeb81c);_0x10df8c[_0x33791c(0x2bf)]=class extends _0x505f96[_0x33791c(0x1e7)]{constructor(_0x311702,_0x36dfee,_0x5a8dd7,_0x236adf,_0x5b9ff6){super(_0x311702,_0x36dfee,_0x5a8dd7,_0x236adf,_0x5b9ff6);}async['createSocket'](_0x12bd7a){const _0x3c814a=_0x33791c,_0x5c968f=await this['_getSessionTicket'](),_0x298c9c=this[_0x3c814a(0x387)](_0x12bd7a,_0x5c968f);return this[_0x3c814a(0x422)](_0x298c9c);}['_createSocketURL'](_0x4cfff6,_0xbf5aa4){const _0x2ea631=_0x33791c,_0x8d07b5=typeof window>'u'?new URL(_0x4cfff6):new URL(_0x4cfff6,window['location'][_0x2ea631(0x409)]);_0x8d07b5[_0x2ea631(0x2b2)][_0x2ea631(0x38d)](_0x2ea631(0x331),_0xbf5aa4);const _0x5bae76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ea631(0x225)][_0x2ea631(0x301)]);return _0x5bae76[_0x2ea631(0x1c6)]('runId')&&_0x8d07b5[_0x2ea631(0x2b2)]['set']('runId',_0x5bae76[_0x2ea631(0x1c6)](_0x2ea631(0x3dc))),_0x8d07b5[_0x2ea631(0x3c1)]();}async['_getSessionTicket'](){const _0x32cff6=_0x33791c;var _0x26c013,_0x1ae2cd,_0x38f331;const _0x872c65=this[_0x32cff6(0x32d)][_0x32cff6(0x29a)](_0x505f96[_0x32cff6(0x3d0)]),_0x5299c8=(_0x26c013=_0x872c65==null?void 0x0:_0x872c65[_0x32cff6(0x216)])!=null?_0x26c013:_0x505f96[_0x32cff6(0x3a4)];return(_0x38f331=(_0x1ae2cd=(await this['_httpService']['get'](_0x5299c8,{'headers':{'Content-Type':_0x32cff6(0x2e9)}}))[_0x32cff6(0x35a)])==null?void 0x0:_0x1ae2cd[_0x32cff6(0x2fc)])!=null?_0x38f331:'';}},_0x10df8c[_0x33791c(0x2bf)]=_0x54eb9e([_0x1f4997(0x0,_0x282385['Inject'](_0x282385[_0x33791c(0x428)])),_0x1f4997(0x1,_0x282385['Inject'](_0x23f55f[_0x33791c(0x415)])),_0x1f4997(0x2,_0x282385[_0x33791c(0x2a2)]),_0x1f4997(0x3,_0x282385[_0x33791c(0x1ad)]),_0x1f4997(0x4,_0x26b52b[_0x33791c(0x271)])],_0x10df8c[_0x33791c(0x2bf)]);var _0x26e417=(_0x5ed128=>(_0x5ed128[_0x5ed128[_0x33791c(0x3a7)]=0x0]=_0x33791c(0x3a7),_0x5ed128[_0x5ed128['OK']=0x1]='OK',_0x5ed128[_0x5ed128[_0x33791c(0x3b2)]=0x2]=_0x33791c(0x3b2),_0x5ed128[_0x5ed128[_0x33791c(0x395)]=0x3]=_0x33791c(0x395),_0x5ed128[_0x5ed128[_0x33791c(0x219)]=0x4]='NOT_FOUND',_0x5ed128[_0x5ed128[_0x33791c(0x2fe)]=0x5]=_0x33791c(0x2fe),_0x5ed128[_0x5ed128['ALREADY_EXISTS']=0x6]=_0x33791c(0x1d8),_0x5ed128[_0x5ed128[_0x33791c(0x1ef)]=0x7]=_0x33791c(0x1ef),_0x5ed128[_0x5ed128[_0x33791c(0x27f)]=0x8]=_0x33791c(0x27f),_0x5ed128[_0x5ed128[_0x33791c(0x438)]=0x9]=_0x33791c(0x438),_0x5ed128[_0x5ed128[_0x33791c(0x337)]=0xa]=_0x33791c(0x337),_0x5ed128[_0x5ed128[_0x33791c(0x340)]=0xb]=_0x33791c(0x340),_0x5ed128[_0x5ed128['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5ed128[_0x5ed128[_0x33791c(0x242)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5ed128[_0x5ed128[_0x33791c(0x24b)]=0xe]=_0x33791c(0x24b),_0x5ed128[_0x5ed128[_0x33791c(0x2aa)]=0x1389]=_0x33791c(0x2aa),_0x5ed128[_0x5ed128['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x33791c(0x1aa),_0x5ed128[_0x5ed128[_0x33791c(0x3e7)]=0x1772]=_0x33791c(0x3e7),_0x5ed128[_0x5ed128['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x33791c(0x2ab),_0x5ed128[_0x5ed128[_0x33791c(0x1a1)]=0x1b59]='APPLY_REJECT',_0x5ed128[_0x5ed128[_0x33791c(0x31d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5ed128[_0x5ed128[_0x33791c(0x3d5)]=0x1b5b]=_0x33791c(0x3d5),_0x5ed128[_0x5ed128[_0x33791c(0x24c)]=0x1b5c]=_0x33791c(0x24c),_0x5ed128[_0x5ed128[_0x33791c(0x19c)]=0x1b5d]='APPLY_DUPLICATED',_0x5ed128[_0x5ed128[_0x33791c(0x1e5)]=0x1f41]=_0x33791c(0x1e5),_0x5ed128[_0x5ed128[_0x33791c(0x42e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x325)]=0x232a]=_0x33791c(0x325),_0x5ed128[_0x5ed128[_0x33791c(0x324)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x1d7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5ed128[_0x5ed128[_0x33791c(0x33f)]=0x232d]=_0x33791c(0x33f),_0x5ed128[_0x5ed128[_0x33791c(0x380)]=0x2711]=_0x33791c(0x380),_0x5ed128[_0x5ed128['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5ed128[_0x5ed128['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x33791c(0x361),_0x5ed128[_0x5ed128['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x33791c(0x390),_0x5ed128[_0x5ed128[_0x33791c(0x32c)]=0x271a]=_0x33791c(0x32c),_0x5ed128[_0x5ed128[_0x33791c(0x3b9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5ed128[_0x5ed128['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5ed128[_0x5ed128[_0x33791c(0x24e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5ed128[_0x5ed128[_0x33791c(0x267)]=0x271e]=_0x33791c(0x267),_0x5ed128[_0x5ed128[_0x33791c(0x3b6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5ed128[_0x5ed128[_0x33791c(0x2bb)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5ed128[_0x5ed128[_0x33791c(0x25f)]=0x2af9]=_0x33791c(0x25f),_0x5ed128[_0x5ed128['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x33791c(0x3af),_0x5ed128[_0x5ed128[_0x33791c(0x1af)]=0x2ee2]='INVALID_INVITE_CODE',_0x5ed128[_0x5ed128[_0x33791c(0x310)]=0x2ee3]=_0x33791c(0x310),_0x5ed128[_0x5ed128[_0x33791c(0x384)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5ed128[_0x5ed128[_0x33791c(0x3a0)]=0x2ee5]=_0x33791c(0x3a0),_0x5ed128[_0x5ed128[_0x33791c(0x429)]=0x32c9]=_0x33791c(0x429),_0x5ed128[_0x5ed128[_0x33791c(0x2fd)]=0x32ca]=_0x33791c(0x2fd),_0x5ed128[_0x5ed128[_0x33791c(0x2de)]=0x32cb]=_0x33791c(0x2de),_0x5ed128[_0x5ed128[_0x33791c(0x3c6)]=-0x1]=_0x33791c(0x3c6),_0x5ed128))(_0x26e417||{}),_0x1355ef=Object['getOwnPropertyDescriptor'],_0x42b0c9=(_0x391b93,_0x1ff1e2,_0xfac946,_0x429a9a)=>{const _0x4bf406=_0x33791c;for(var _0x263979=_0x429a9a>0x1?void 0x0:_0x429a9a?_0x1355ef(_0x1ff1e2,_0xfac946):_0x1ff1e2,_0x36fafb=_0x391b93[_0x4bf406(0x40b)]-0x1,_0x54a2f3;_0x36fafb>=0x0;_0x36fafb--)(_0x54a2f3=_0x391b93[_0x36fafb])&&(_0x263979=_0x54a2f3(_0x263979)||_0x263979);return _0x263979;},_0x226234=(_0x7e0ca8,_0x227d3d)=>(_0x1bd003,_0x3a552d)=>_0x227d3d(_0x1bd003,_0x3a552d,_0x7e0ca8);_0x10df8c[_0x33791c(0x40e)]=class extends _0x282385['Disposable']{constructor(_0x186264,_0x17a63c,_0x434ef9){const _0x337896=_0x33791c;super(),this['_instanceService']=_0x186264,this[_0x337896(0x30c)]=_0x17a63c,this[_0x337896(0x32d)]=_0x434ef9;}async[_0x33791c(0x2a1)](_0x7eb5d4,_0x3b9bdd,_0x591b41,..._0x5c52f6){const _0x3eddc9=_0x33791c;var _0x5f09fb,_0x2fc1c8,_0x39018c,_0x319321;const _0x535026=this['_instanceService'][_0x3eddc9(0x1e6)]();if(!_0x535026)throw new Error(_0x3eddc9(0x2d7));const _0x518925=((_0x5f09fb=this[_0x3eddc9(0x32d)][_0x3eddc9(0x29a)](_0x505f96['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5f09fb:_0x505f96[_0x3eddc9(0x304)])+'/'+_0x7eb5d4+_0x3eddc9(0x336)+_0x3b9bdd,_0x44c61f=new URL(window[_0x3eddc9(0x225)][_0x3eddc9(0x399)]),_0x1e41cd={'scriptId':_0x7eb5d4,'runId':(_0x2fc1c8=_0x44c61f[_0x3eddc9(0x2b2)][_0x3eddc9(0x1c6)](_0x3eddc9(0x3dc)))!=null?_0x2fc1c8:'','function':_0x3b9bdd,'unitId':_0x535026[_0x3eddc9(0x354)](),'argsOfFunction':JSON[_0x3eddc9(0x1fc)](_0x5c52f6),'invokeId':(_0x39018c=_0x591b41['invokeId'])!=null?_0x39018c:'','executionId':(_0x319321=_0x591b41['executionId'])!=null?_0x319321:''};try{const _0xfce785=await this[_0x3eddc9(0x30c)][_0x3eddc9(0x2db)](_0x518925,{'body':_0x1e41cd});return _0xfce785['body'][_0x3eddc9(0x397)]&&_0xfce785[_0x3eddc9(0x35a)][_0x3eddc9(0x397)][_0x3eddc9(0x27b)]!==_0x26e417['OK']?'Failed':_0xfce785[_0x3eddc9(0x35a)]['result'];}catch{return _0x3eddc9(0x371);}}},_0x10df8c['RemoteUniscriptService']=_0x42b0c9([_0x226234(0x0,_0x282385[_0x33791c(0x2d5)]),_0x226234(0x1,_0x282385[_0x33791c(0x1ba)](_0x23f55f[_0x33791c(0x415)])),_0x226234(0x2,_0x282385[_0x33791c(0x2a2)])],_0x10df8c['RemoteUniscriptService']);const _0x55a755=0x7530,_0x8b46d5=_0x33791c(0x299);class _0x5d31c9 extends _0x282385[_0x33791c(0x34b)]{constructor(){const _0x8c7e85=_0x33791c;super(),_0x1bd675(this,_0x8c7e85(0x2cd),_0x282385[_0x8c7e85(0x2f6)]()),_0x1bd675(this,'_selfUnitIDs',new Set()),_0x1bd675(this,_0x8c7e85(0x237),new Map()),_0x1bd675(this,_0x8c7e85(0x1b8),null),_0x1bd675(this,_0x8c7e85(0x230),new Map()),_0x1bd675(this,_0x8c7e85(0x376),new Map()),this[_0x8c7e85(0x41f)]();}['dispose'](){const _0xbb8b1b=_0x33791c;super[_0xbb8b1b(0x19d)](),this[_0xbb8b1b(0x230)][_0xbb8b1b(0x3ee)]((_0x4af50b,_0x28e575)=>this[_0xbb8b1b(0x40c)](_0x28e575)),this['_heartbeatTimer']&&window[_0xbb8b1b(0x251)](this['_heartbeatTimer']);}[_0x33791c(0x3c8)](_0x3631c1){const _0x374e32=_0x33791c;return this[_0x374e32(0x2dc)](_0x3631c1)[_0x374e32(0x36d)](_0x46e3a5[_0x374e32(0x1b6)]());}[_0x33791c(0x398)](_0x526a87){const _0x564ac8=_0x33791c;this[_0x564ac8(0x19b)][_0x564ac8(0x2c7)]===0x0&&this[_0x564ac8(0x1f1)](),this['_selfUnitIDs']['add'](_0x526a87),this['_send']({'type':0x0,'memberID':this[_0x564ac8(0x2cd)],'unitIDs':[_0x526a87],'isForwarded':!0x1});}['disposeUnit'](_0x5bd51f){const _0x58899e=_0x33791c;this['_selfUnitIDs'][_0x58899e(0x2c1)](_0x5bd51f),this[_0x58899e(0x19b)][_0x58899e(0x2c7)]===0x0&&this[_0x58899e(0x1b8)]&&window[_0x58899e(0x251)](this[_0x58899e(0x1b8)]);}['_init'](){const _0x56bbf8=_0x33791c;this[_0x56bbf8(0x351)](_0x282385['toDisposable'](_0x46e3a5[_0x56bbf8(0x36a)](window,'storage')['subscribe'](_0x594320=>{const _0x358bde=_0x56bbf8;if(_0x594320[_0x358bde(0x420)]!==_0x8b46d5||!_0x594320[_0x358bde(0x255)])return;const _0x1b1588=JSON[_0x358bde(0x2ca)](_0x594320[_0x358bde(0x255)]);this[_0x358bde(0x246)](_0x1b1588);}))),window['addEventListener']('unload',()=>this[_0x56bbf8(0x269)]({'type':0x1,'memberID':this[_0x56bbf8(0x2cd)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x916b6c){const _0x1c60fd=_0x33791c;switch(_0x916b6c[_0x1c60fd(0x3f8)]){case 0x0:this['_handleJoinEvent'](_0x916b6c);break;case 0x1:this['_handleLeaveEvent'](_0x916b6c);break;case 0x2:this['_handleHeartbeatEvent'](_0x916b6c);break;}}[_0x33791c(0x33e)](_0x1f2efb){const _0x216062=_0x33791c,{unitIDs:_0x49c2fc,memberID:_0x46a458,isForwarded:_0x5a70f8}=_0x1f2efb;_0x49c2fc[_0x216062(0x3ee)](_0x53cf1a=>{const _0x43baa0=_0x216062;if(!_0x5a70f8&&this['_unitOnClients'][_0x43baa0(0x386)](_0x53cf1a)&&this[_0x43baa0(0x2dc)](_0x53cf1a)[_0x43baa0(0x3cf)](_0x505f96['UnitStatus'][_0x43baa0(0x3ff)]),!this[_0x43baa0(0x237)][_0x43baa0(0x386)](_0x53cf1a)||!this[_0x43baa0(0x237)][_0x43baa0(0x1c6)](_0x53cf1a)[_0x43baa0(0x386)](_0x46a458)){const _0x47c41d=this[_0x43baa0(0x237)][_0x43baa0(0x1c6)](_0x53cf1a)||new Set();_0x47c41d[_0x43baa0(0x3ea)](_0x46a458),this[_0x43baa0(0x237)][_0x43baa0(0x38d)](_0x53cf1a,_0x47c41d),this['_scheduleClearOtherTimer'](_0x46a458);}}),_0x5a70f8||this[_0x216062(0x269)]({'type':0x0,'memberID':this[_0x216062(0x2cd)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x29d55c){const _0x672562=_0x33791c;this['_removeClearOtherTimer'](_0x29d55c);const _0x47641a=window[_0x672562(0x25e)](()=>{const _0xeeae54=_0x672562;this['_unitOnClients'][_0xeeae54(0x3ee)](_0x39e38a=>{const _0x40ea03=_0xeeae54;_0x39e38a[_0x40ea03(0x2c1)](_0x29d55c);});},_0x55a755*0x2);this[_0x672562(0x230)][_0x672562(0x38d)](_0x29d55c,_0x47641a);}[_0x33791c(0x40c)](_0x59f6cd){const _0x4886ff=_0x33791c;if(this['_clearOtherTimers'][_0x4886ff(0x386)](_0x59f6cd)){const _0x1e29d8=this[_0x4886ff(0x230)][_0x4886ff(0x1c6)](_0x59f6cd);_0x1e29d8&&window['clearTimeout'](_0x1e29d8),this[_0x4886ff(0x230)][_0x4886ff(0x38d)](_0x59f6cd,null);}}[_0x33791c(0x3da)](_0x47befa){const _0x5b0a75=_0x33791c,{memberID:_0x5825d7,unitIDs:_0x39eb98}=_0x47befa;_0x39eb98[_0x5b0a75(0x3ee)](_0x1e94ac=>{const _0x4cd68d=_0x5b0a75;var _0x85868;const _0x24ca51=this['_unitOnClients']['get'](_0x1e94ac);_0x24ca51&&(_0x24ca51[_0x4cd68d(0x2c1)](_0x5825d7),(_0x85868=this[_0x4cd68d(0x2dc)](_0x1e94ac))==null||_0x85868[_0x4cd68d(0x3cf)](_0x24ca51['size']===0x0?_0x505f96[_0x4cd68d(0x2bc)]['NO_OTHER_CLIENTS_EDITING']:_0x505f96['UnitStatus'][_0x4cd68d(0x3ff)]));}),this[_0x5b0a75(0x40c)](_0x5825d7);}[_0x33791c(0x1ca)](_0x30d58d){const _0x5322e0=_0x33791c;this[_0x5322e0(0x257)](_0x30d58d[_0x5322e0(0x279)]);}['_send'](_0x526861){const _0x4401d6=_0x33791c;localStorage['setItem'](_0x8b46d5,JSON[_0x4401d6(0x1fc)](_0x526861));}[_0x33791c(0x1f1)](){const _0x567498=_0x33791c;this['_heartbeatTimer']=window[_0x567498(0x30f)](()=>{const _0x132f22=_0x567498;this[_0x132f22(0x269)]({'type':0x2,'memberID':this[_0x132f22(0x2cd)]});},_0x55a755);}['_ensureSubject'](_0x3b54f2){const _0x3789f=_0x33791c;return this[_0x3789f(0x376)][_0x3789f(0x386)](_0x3b54f2)||this[_0x3789f(0x376)]['set'](_0x3b54f2,new _0x46e3a5[(_0x3789f(0x2b4))](_0x505f96[_0x3789f(0x2bc)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3789f(0x376)][_0x3789f(0x1c6)](_0x3b54f2);}}_0x10df8c[_0x33791c(0x424)]=_0x529b68,_0x10df8c[_0x33791c(0x21d)]=_0x14c1a5,_0x10df8c[_0x33791c(0x341)]=_0x5d31c9,_0x10df8c[_0x33791c(0x1f6)]=_0x45f517,Object[_0x33791c(0x435)](_0x10df8c,Symbol[_0x33791c(0x23a)],{'value':_0x33791c(0x3dd)});}));function _0x1875(_0x1395da,_0xd2fbda){const _0xb41b84=_0xb41b();return _0x1875=function(_0x18752c,_0x13c513){_0x18752c=_0x18752c-0x197;let _0x513321=_0xb41b84[_0x18752c];return _0x513321;},_0x1875(_0x1395da,_0xd2fbda);}function _0xb41b(){const _0x577d8d=['LICENSE_IMPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','white','@univerjs/engine-render','fillStyle','createIdentifier','_saveCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_NO_CUBOID_FOR_QUESTION','_configService','_themeService','labelPosition','cursorInfo$','sessionTicket','serializeRangeWithSheet','endRow','row','connectInjector','/run/','LOGIN_FAILED','subscribe','_collaborationUIEventService','DependentOn','_onCursorDelete','closePath','clsx','_handleJoinEvent','LICENSE_DISTRO_REJECTED','MOBILE_VERIFY_CODE_MISMATCH','WebBrowserSingleActiveUnitService','ColorKit','registerDependencies','AWAITING','_disabled','subunit','RefRangeService','IImageIoService','drawWith','triggerDblclick','Disposable','hide','RECT','collabStatus.notCollab','assign','getOwnPropertySymbols','disposeWithMe','IUIPartsService','_revisionService','getUnitId','addHandlerCallback','UniverInstanceType','moveTo','1015gXcrPI','univer-flex\x20univer-items-center','body','_updateCollabCursors','Rect','jiqing.500','_cursorShapes','red.300','init','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','path','TEXT_RANGE_LAYER_INDEX','none','_scheduleSaving','SessionStatus','call','_assignedColors','fromEvent','UniverProCollaborationClientUi','jsxs','pipe','reconnect','all','_updateLocalCursor','Failed','addObject','UNIVER_DOC','OnLineIcon','createInstance','_unitStatus','forwardRef','OFFLINE','send','find','_lastPointer','color','_eventUnsubscribe','getOffsetConfig','uni.network.url-service','YUUMI_UNABLE_LOAD_URL','session.collaboration-timeout','includes','getMergeData','USER_NOT_INVITED_CODE','trim','has','_createSocketURL','handleMoveRange','string','_updateSubUnitFromURLParams','url(#$1','debug','set','OTHER_CLIENT_EDITING','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabEntity$','CollaborationDataLoaderController','Tools','pluginName','PERMISSION_DENIED','prototype','error','editingUnit','href','getOwnPropertyDescriptor','switchMap','url(#on-line-icon_clip0_910_349)','_colorIndex','displayName','icon','INVITE_CODE_ALREADY_BOUND','JOIN_ROOM_FAILED','_entityInit$','_docSkeletonManagerService','DEFAULT_WS_SESSION_TICKET_URL','http://www.w3.org/2000/svg','_docTransformSelectionsService','UNDEFINED','_transformHistoryAndStateStack','useRef','save','urlChange$','_sheetSkeletonManagerService','ILocalCacheService','DocIMEInputManagerService','INVITE_CODE_HAS_BEEN_UES','handleIRemoveCol','data','INTERNAL_ERROR','NodePositionConvertToCursor','setConfig','deepClone','YUUMI_AI_RUN_FAILED','_dataLoaderService','div','YUUMI_ASYNCIO_CANCELLED','history','DocStateChangeManagerService','min','_entities','collabStatus.offline','75824zwtuKk','unitId','toString','useDependency','random','_docTransformStateCacheService','collaboration.closeRoom','UNRECOGNIZED','_initDependencies','getUnitStatus$','requireSession','setAlpha','handleInsertRow','saveImage','UniverNetwork','getUniverSheetInstance','next','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setShapeProps','_initStatusComponent','IMessageService','_getScale','APPLY_REVISION_CONFILICT','then','3475070NoaRmk','SetSelectionsOperation','cursorInfo','_handleLeaveEvent','_drawRectRange','runId','Module','map','SOCKET_FAILED_RETRY','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','@univerjs/docs-ui','mask','asObservable','_render','text','EffectRefRangId','SNAPSHOT_HAS_BEEN_REMOVED','idSuffix','_notificationService','add','_localeService','_removeCollabCursors','Vector2','forEach','_getAnchorBounding','sheetId','split','exhaustSavingTask','SUBMIT_CHANGESET_TIMEOUT','_config','_transformService','getColorFromTheme','9WcUGbx','type','handleDeleteRangeMoveLeft','CollaborationController','_anchor','values','m2Prime','_syncEditingCollabCursorService','OTHER_CLIENTS_EDITING','permission.title','width','handleIRemoveRow','addObjects','round','override','collabStatus.conflict','Subject','LocaleService','origin','InsertRangeMoveRightCommandId','length','_removeClearOtherTimer','MemberService','RemoteUniscriptService','assignAColorForMemberID','_draw','RevisionService','with','_docSyncEditingCollabCursorService','CollaborationEvent','HTTPService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SetDocZoomRatioOperation','height','fromEventSubject','getTypeOfUnitDisposed$','TEXT','transformSelections','session.connection-failed','on-line-icon_clip0_910_349','_init','key','CollaborationStatus','_doCreateSocket','IRenderManagerService','IURLService','translate(.97)','UPDATE_CURSOR','_collabSessionService','Injector','WECHAT_HAS_BEEN_BOUND','enableLocalCache','_localStorageService','selections','WebSocketService','LICENSE_MAX_UNITS_EXCEEDED','rxjs/operators','TRANSFORM_CHANGE_OBSERVABLE_TYPE','FETCH_MISS','Rectangle','IRemoteInstanceService','toDisposable','defineProperty','hovered','source','COMPLETION_FINISHED','defs','InsertRangeMoveDownCommandId','AWAITING_WITH_PENDING','RichTextEditingMutation','_scene','MUTATION','COLORS','getCollabCursors$','_selfUnitIDs','APPLY_DUPLICATED','dispose','getSheetObject','VIEW_MAIN','_setupBeforeClosingHandler','APPLY_REJECT','executeCommand','activeSheet$','SetWorksheetActivateCommand','_getMergeRange','getAncestorScale','isTransformMutationsWithChangesetSuccess','combineLatest','debounce','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','Shape','ILogService','params','INVALID_INVITE_CODE','undoState','SheetSkeletonManagerService','_docStateChangeManagerService','DocSelectionManagerService','UniverRpc','_messageService','distinctUntilChanged','bottom','_heartbeatTimer','_toggleOffline','Inject','0\x200\x2016\x2016','_cachedData','transformMutationsWithChangeset','propertyIsEnumerable','handleInsertRangeMoveDown','indexOf','current','UniverCore','onPointerLeave$','push','SetTextSelectionsOperation','get','getSkeleton','univerjs-icon\x20univerjs-icon-','onPointerMove$','_handleHeartbeatEvent','deserializeRangeWithSheet','DesktopCollaborationStatusDisplayController','1451866XWKlnB','currentTheme$','range','RxDisposable','redoState','show','className','doc.mutation.rich-text-editing','_handleHover','_registerRenderDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','ALREADY_EXISTS','isActive','mergeOverrideWithDependencies','column','1em','_initEvent','_refreshCollabCursors','rgba(255,\x20255,\x20255,\x200.01)','react/jsx-runtime','off-line-icon_clip0_910_343','_initCommandExecutedListener','pushState','_uiPartsService','CONNECTOR_DATA_TOO_LARGE','getFocusedUnit','CollaborationSocketService','_toggleOnline','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unshift','@univerjs/core','getRenderById','_labelPosition','whenReady','INVALID_ARGUMENT','_onRefRangeChange','_scheduleHeartbeat','_hover','transform','@univerjs/ui','blue.400','WebURLService','on-line-icon','clipPath','DOC_RANGE_TYPE','_renderManagerService','@univerjs/docs','stringify','_docTransformIMECacheService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','syncEditingCollabCursor','UniverCollaborationClientUIPlugin','_onCursorUpdate','_urlService','DocSkeletonManagerService','_shapes','makeDirty','getUnhiddenWorksheets','fillText','getVpScrollXYInfoByPosToVp','_localCacheService','black','3OTGkxJ','setParam','DisposableCollection','setActiveRange','roomMembers$','getRangePointData','unit','_cursors','colorChannel1','_initStatusListener','collabCursorState$','wsSessionTicketUrl','getLocalCacheKey','_roomMembers$','NOT_FOUND','runRefRangeMutations','getCurrentUnitForType','disableLocalCache','SheetCollabCursorShape','amd','_setupSubUnitSync','ISocketService','dispose$','getSheetBySheetId','onTransformChange$','handleInsertRangeMoveRight','location','useObservable','_startDocCollabCursor','url(#off-line-icon_clip0_910_343)','CollaborationUIEventId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformStateCache','_drawTextRange','IBeforeCloseService','InsertRowCommandId','_color','_clearOtherTimers','getTypeOfUnitAdded$','merge','xlink:href','backgroundColor','replaceState','getCoordByCell','_unitOnClients','_colorAssignService','_initResize','toStringTag','INotificationService','ThemeService','tag','_docSkeleton','textRanges','selection','136795uMTjrr','EMAIL_VERIFY_CODE_MISMATCH','from','_collabCursorState$','restore','_handleEvent','attrs','unsubscribe','RemoveRowCommandId','Plugin','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','YUUMI_ALL_TABLES_IS_INVALID','beginPath','currentSkeleton$','clearInterval','fill','CommandType','children','newValue','React','_scheduleClearOtherTimer','MoveRangeCommandId','rxjs','session.will-retry','MessageType','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','PENDING','setTimeout','PY_RUNTIME_SCRIPT_ERROR','setStateCache','_saveTaskMap','SheetsSelectionsService','registerRefRange','Error','measureText','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onRendered','_send','1112598NKfMnh','filter','replace','getUndoRedoMutationParamsCache','_name','_range','HEADER_MENU','ISnapshotServerService','#FFF','actions','_refRangeService','throttleTime','_univerInstanceService','onLocalMutation','object','memberID','_injector','code','LOCAL_CACHE_INTERVAL','_status$','FromArray','TOO_MANY_REQUESTS','operators','function','_docClipboardService','setItem','some','_commandService','debounceTime','roomMembers','engine','UniverProCollaborationClient','_logService','13862233LvNbtl','UniverCollaborationClientPlugin','collaboration-client-ui.config','ICommandService','_online','_anchorDot','NOT_COLLAB','unitID','_backgroundColor','_hovered','isArray','arc','handleDeleteRangeMoveUp','889uSSaIR','ACTIVE_UNIT_EVENT_CHANNEL','getConfig','collabStatus.fetchMiss','purple.300','getDocRanges','removeParam','@univerjs/sheets-ui','@univerjs-pro/collaboration','runOnServer','IConfigService','mutations','subUnitId','lineTo','registerRenderModule','status$','_initEntityListener','ILocalStorageService','CHANGESET_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','collabStatus.syncing','Unknown\x20user','Warning','takeUntil','_transformPreviousActiveRange','subscribeEvent','searchParams','_imageIoService','BehaviorSubject','skeleton','SHEET_VIEWPORT_KEY','handleInsertCol','UniverDrawing','_memberService','imageSourceType','YUUMI_CONNECTOR_URL_NOT_FOUND','UnitStatus','@univerjs/rpc','CONFLICT','BrowserCollaborationSocketService','saveTaskMap','delete','_hideTimer','DeleteRangeMoveUpCommandId','createElement','getSheetId','registerBeforeClose','size','UniverEngineFormula','CollaborationSessionService','parse','popstate','UniverDocsUi','_id','@univerjs/network','concat','@univerjs/sheets','isEditing','_collaborationController','_context','_textBubble','IUniverInstanceService','isTransformMutationFailure','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_cursorInfo$','NodePositionConvertToRectRange','findNodePositionByCharIndex','post','_ensureSubject','DocCollaborationEntity','EMAIL_HAS_BEEN_BOUND','SOCKET_FAILED','getCurrentSelections','UniverDesign','apply','ranges','_session','name','UniverEngineRender','USERS_LEAVE','UniverSheets','application/json','getCellPositionByOffset','useCallback','currentColor','InsertColCommandId','extend','_updateURLWithCurrentState','getColor','onCommandExecuted','yellow.400','_cursor','event$','DataLoaderService','generateRandomId','transformMutation','ITransformService','1724CgmalN','UNIVER_SHEET','top','ticket','MOBILE_HAS_BEEN_BOUND','UNAUTHENTICATED','_collabCursorController','loadOfflineData','search','saveOfflineData','substring','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','...','getMemberID','transformRemoteChangeset','evenodd','UniverIcon','svg','entries','_httpService','m1Prime','eventID','setInterval','INVITE_CODE_REQUIRED','Workbook','defIds','getStateCache','jsx','_drawAnchor','sessionStatus$','@univerjs/design','getCurrentRevOfUnit','onMouseMove','IDocClipboardService','getActiveRange','complete','APPLY_NON_SEQUENTIAL_REVISION','getParam','_startSheetCollabCursor','focused$','collab-rect-range-','replaceDocRanges','_beforeCloseService'];_0xb41b=function(){return _0x577d8d;};return _0xb41b();}
|