@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504141607 → 0.6.10-nightly.202504151606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x13fe(){const _0x3f4a3d=['OFFLINE','_handleHeartbeatEvent','_collaborationUIEventService','MoveRangeCommandId','history','_getScale','InsertRangeMoveDownCommandId','off-line-single_clip0_910_343','fromEvent','getMember','USER_NOT_INVITED_CODE','eventID','debounceTime','assignAColorForMemberID','collaboration.single-unit.warning','234032HcDLHy','_logService','univer-online','startsWith','storage','replace','length','5586834fIvxZA','disposeWithMe','_collabCursorController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onMouseMove','Rect','@univerjs/docs','jiqing500','_registerRenderDependencies','symbol','save','name','UniverSheetsUi','DOC_RANGE_TYPE','_online','DeleteRangeMoveLeftCommandId','_scheduleHeartbeat','red300','Optional','handleMoveRange','flatMap','forwardRef','402527cXvPBo','getCurrent','isTransformMutationsWithChangesetSuccess','WebSocketService','HTTPService','getColor','_docSkeletonManagerService','transformByState','show','operators','getCurrentUnitForType','currentTheme$','getCollabEntity$','_urlService','font','send','removeParam','getCollabCursors$','CollaborationDataLoaderController','setStateCache','M0\x200H16V16H0z','setInterval','attrs','SYNCED','distinctUntilChanged','session.collaboration-timeout','mask','getViewport','_drawTextRange','generateRandomId','@univerjs/network','svg','mapTo','div','search','_cachedData','_document','RegularPolygon','_dataLoaderService','isEditing','@univerjs-pro/collaboration-client','_updateSubUnitFromURLParams','UniverRpc','DeleteRangeMoveUpCommandId','BrowserCollaborationSocketService','children','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','idSuffix','backgroundColor','getDocRanges','univer-flex\x20univer-items-center','_entityInit$','registerDependencies','get','_shapes','propertyIsEnumerable','_updateLocalCursor','pluginName','_univerInstanceService','_localeService','loadOfflineData','_handleHover','executeCommand','_cursors','DocSelectionManagerService','top','docStateChange$','APPLY_DUPLICATED','code','rxjs/operators','PENDING','params','findNodePositionByCharIndex','_initStatusListener','useRef','_saveTaskMap','createIdentifier','NodePositionConvertToRectRange','getTypeOfUnitAdded$','column','handleDeleteRangeMoveUp','debounce','push','indexOf','has','SNAPSHOT_INVALID_SNAPSHOT','filter','NodePositionConvertToCursor','_onCursorUpdate','key','UNIVER_DOC','DataLoaderService','loadUnit','m2Prime','MOBILE_HAS_BEEN_BOUND','debug','CollaborationController','@univerjs/sheets','getUnhiddenWorksheets','_assignedColors','bottom','react/jsx-runtime','UniverProCollaborationClient','_notificationService','_registerDependencies','InsertColCommandId','10hgNbSa','selections','_range','skeleton','find','_session','getConfig','UniverInstanceType','toStringTag','permission.title','registerBeforeClose','IImageIoService','MemberService','toDisposable','0\x200\x2016\x2016','blue400','rgba(255,\x20255,\x20255,\x200.01)','_getSaveTimeout','_transformPreviousActiveRange','startColumn','roomMembers$','@univerjs/engine-render','SheetsSelectionsService','#fff','Unknown\x20user','YUUMI_RATE_OVER_LIMIT','focused$','prototype','set','_transformUndoRedoStack','_heartbeatTimer','_httpService','NOT_COLLAB','_anchor','Tooltip','transformMutationsWithChangeset','EffectRefRangId','_updateCollabCursors','_hideTimer','HEADER_MENU','registerRenderModule','_clearOtherTimers','createElement','deepClone','_docStateChangeManagerService','createInstance','then','_handleLeaveEvent','UniverSheets','handleInsertRow','_init','onTransformChange$','closePath','entries','_refRangeService','collaboration.closeRoom','Inject','_hovered','getSkeleton','UniverCollaborationClientUIPlugin','_startSheetCollabCursor','runRefRangeMutations','labelPosition','addEventListener','mutations','on-line-single_clip0_910_349','addClipboardHook','_context','current','DocSkeletonManagerService','subscribe','location','defs','session.connection-failed','_startDocCollabCursor','RxDisposable','_memberService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetObject','redoState','RemoveRowCommandId','UniverCollaborationClientPlugin','trim','jsx','LICENSE_MAX_UNITS_EXCEEDED','transformStateCache','selection','Tools','doc.mutation.rich-text-editing','runId','body','source','_scheduleClearOtherTimer','IURLService','connectInjector','OTHER_CLIENTS_EDITING','subscribeEvent','replaceDocRanges','4SBQtoE','black','fill','entityInit$','enableLocalCache','substring','exports','evenodd','_lastPointer','getFocusedUnit','setParam','add','endRow','_color','_drawAnchor','collabStatus.syncing','INVALID_INVITE_CODE','_anchorDot','univer-online-status-icon','switchMap','_textBubble','onlineStatusTitle','setTimeout','online','setItem','_removeCollabCursors','event$','url(#on-line-single_clip0_910_349)','unsubscribe','UniverIcon','CollaborationEvent','getOwnPropertySymbols','@univerjs/design','transformIMECache','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','FromArray','function','addHandlerCallback','on-line-single','override','_docSkeleton','Injector','_collabCursorState$','UniverDesign','0\x200\x2017\x2016','IMessageService','IBeforeCloseService','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','SHEET_VIEWPORT_KEY','INVALID_ARGUMENT','_toggleOffline','mergeOverrideWithDependencies','React','collabCursorState$','collabStatus.notCollab','href','_getMergeRange','@univerjs/ui','init','transformMutation','unit','collaboration-client.offline-data-not-saved','3277515uieouM','_colorIndex','getActiveSheet','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','getMemberID','roomMembers','makeDirty','setUndoRedoMutationParamsCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-online-status','drawWith','CollaborationUIEventService','handleInsertRangeMoveRight','rxjs','UniverProCollaboration','8534178SQXshi','getRangePointData','url(#off-line-single_clip0_910_343)','actions','collabStatus.offline','purple300','_selfUnitIDs','getOwnPropertyDescriptor','#FFF','random','handleInsertRangeMoveDown','runOnServer','translate(.97)','_eventUnsubscribe','activeSheet$','_collaborationController','_initCommandExecutedListener','_initEvent','map','toString','UniverCore','RevisionService','imageSourceType','onStarting','TEXT_RANGE_LAYER_INDEX','disposeUnit','4cqfLMa','INVITE_CODE_ALREADY_BOUND','_commandService','ThemeService','Warning','161yNOkmr','text','syncEditingCollabCursor','_docTransformSelectionsService','unitID','data','_sheetSkeletonManagerService','@univerjs/core','m1Prime','_status$','OnLineSingle','_initStatusComponent','string','arc','18944101jITqAd','_handleEvent','getSheetId','memberID','InsertRangeMoveRightCommandId','_id','invokeId','_hover','currentSkeleton$','_renderManagerService','executionId','fillRule','collaboration-client-ui.config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTypeOfUnitDisposed$','with','pipe','EMAIL_HAS_BEEN_BOUND','dispose','CollaborationStatus','getUnitStatus$','@univerjs/rpc','saveOfflineData','IUIPartsService','getValue','TOO_MANY_REQUESTS','_themeService','NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','forEach','ILocalCacheService','UniverUi','IConfigService','_scene','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeClearOtherTimer','IRenderManagerService','UnitStatus','_onCursorDelete','INTERNAL_ERROR','_toggleOnline','DocStateChangeManagerService','path','NO_OTHER_CLIENTS_EDITING','clsx','2836311iSzTOi','SetWorksheetActivateCommand','DocIMEInputManagerService','_ensureSubject','Disposable','type','RefRangeService','_docTransformIMECacheService','1em','ILogService','cursorInfo$','handleInsertCol','status$','triggerDblclick','[CollaborationDataLoaderController]','getCurrentSelections','@univerjs/docs-ui','INVITE_CODE_REQUIRED','RemoteUniscriptService','CollaborationUIEventId','collab-rect-range-','_updateURLWithCurrentState','row','height','color','_getSheetObject','UNDEFINED','SOCKET_FAILED','_configService','_entities','clipPath','getSheetBySheetId','concat','dispose$','ALREADY_EXISTS','icon','LOGIN_FAILED','ONLINE','APPLY_PERMISSION_DENIED','CONNECTOR_DATA_TOO_LARGE','ICommandService','touchDependencies','clearInterval','width','UniverDocs','getVpScrollXYInfoByPosToVp','Rectangle','_saveCache','react','sessionStatus$','size','saveImage','_localStorageService','getCoordByCell','getCellPositionByOffset','textRanges','_docTransformStateCacheService','ranges','getAncestorScale','/run/','unload','gold400','popstate','min','max','Shape','addObjects','IUniverInstanceService','_setupBeforeClosingHandler','transformRemoteChangeset','_initEntityListener','measureText','assign','apply','pushState','INVITE_CODE_HAS_BEEN_UES','UNRECOGNIZED','SOCKET_FAILED_RETRY','BehaviorSubject','isArray','Error','fillText','sheetID','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','_uiPartsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','takeUntil','LOCAL_CACHE_INTERVAL_KEY','_collabSessionService','unshift','_send','UNAUTHENTICATED','cursorInfo','sheetId','_messageService','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','_cursorInfo$','_cursor','setActiveRange','_name','clearTimeout','unitId','getLocalCacheKey','wsSessionTicketUrl','onLocalMutation','error','_transformService','searchParams','SetTextSelectionsOperation','CollaborationStatusDisplay','JOIN_ROOM_FAILED','ILocalStorageService','WECHAT_HAS_BEEN_BOUND','_localCacheService','_createSocketURL','_backgroundColor','collab-text-anchor-','hide','editingUnit','stringify','OffLineSingle','fillStyle','DependentOn','onRendered','object','handleDeleteRangeMoveLeft','setConfig','resize','registerRefRange','onPointerLeave$','getUndoRedoMutationParamsCache','none','MessageType','onCommandExecuted','UNIVER_SHEET','exhaustSavingTask','DEFAULT_WS_SESSION_TICKET_URL','getActiveRange','_initResize','isTransformMutationFailure','shareReplay','_getSessionTicket','range','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','WebURLService','IDocClipboardService','AWAITING_WITH_PENDING','CONFLICT','LocaleService','_transformHistoryAndStateStack','TEXT','displayName','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','INotificationService','_handleJoinEvent','@univerjs/drawing','hovered','saveTaskMap','YUUMI_SUBSCRIPTION_NOT_FOUND','application/json','SheetSkeletonManagerService','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CLOSE_ROOM','registerComponent','defineProperty','SessionStatus','from','_colorAssignService','tag','urlChange$','_labelPosition','getParam','asObservable','ISnapshotServerService','_setupSubUnitSync','getUnitId','_config','_unitOnClients','Vector2','_unitStatus','next','onlineStatus','uni.network.url-service','Subject','_beforeCloseService','getStateCache','SUBMIT_CHANGESET_TIMEOUT','extend','_cursorShapes','_syncEditingCollabCursorService','@univerjs-pro/collaboration','Failed','onPointerEnter$','@univerjs/engine-formula','USERS_LEAVE','xlink:href','createSocket','post','session.will-retry','subunit','lineTo','_render','offline','_onRefRangeChange','collab-client.tooltip.reconnect','COLORS','getRenderById','currentColor','DesktopCollaborationStatusDisplayController','getUniverSheetInstance','all','RemoveColCommandId','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers$','ACTIVE_UNIT_EVENT_CHANNEL','newValue','_imageIoService','_refreshCollabCursors','transformSelections','UniverEngineFormula','colorChannel1','setShapeProps','_instanceService','call','AWAITING','verdancy600','round','requireSession','merge','SetSelectionsOperation','_getAnchorBounding','getRelativeToViewportCoord','UPDATE_CURSOR','subUnitId','_disabled','addObject','_injector','className','delete','undoState','@univerjs/sheets-ui','values','combineLatest','RECT','DisposableCollection','defIds','complete'];_0x13fe=function(){return _0x3f4a3d;};return _0x13fe();}function _0x57fc(_0x1f84d5,_0xe8ee39){const _0x13fe8b=_0x13fe();return _0x57fc=function(_0x57fc41,_0x52dddb){_0x57fc41=_0x57fc41-0x87;let _0x470764=_0x13fe8b[_0x57fc41];return _0x470764;},_0x57fc(_0x1f84d5,_0xe8ee39);}(function(_0x1ae2d3,_0x16963f){const _0x2c7705=_0x57fc,_0x3df4a2=_0x1ae2d3();while(!![]){try{const _0x5121ee=-parseInt(_0x2c7705(0x295))/0x1*(parseInt(_0x2c7705(0x12d))/0x2)+parseInt(_0x2c7705(0x16d))/0x3+parseInt(_0x2c7705(0xc3))/0x4*(-parseInt(_0x2c7705(0x103))/0x5)+-parseInt(_0x2c7705(0x27f))/0x6+-parseInt(_0x2c7705(0x132))/0x7*(parseInt(_0x2c7705(0x278))/0x8)+-parseInt(_0x2c7705(0x113))/0x9*(-parseInt(_0x2c7705(0x2ff))/0xa)+parseInt(_0x2c7705(0x140))/0xb;if(_0x5121ee===_0x16963f)break;else _0x3df4a2['push'](_0x3df4a2['shift']());}catch(_0xdc217d){_0x3df4a2['push'](_0x3df4a2['shift']());}}}(_0x13fe,0x869a4),function(_0x12b07a,_0x4d1e05){const _0x2e1443=_0x57fc;typeof exports==_0x2e1443(0x1eb)&&typeof module<'u'?_0x4d1e05(exports,require(_0x2e1443(0x2bd)),require('@univerjs/core'),require(_0x2e1443(0x314)),require(_0x2e1443(0x2b3)),require('@univerjs/docs-ui'),require(_0x2e1443(0x20b)),require(_0x2e1443(0x111)),require(_0x2e1443(0x285)),require(_0x2e1443(0x22f)),require(_0x2e1443(0x232)),require(_0x2e1443(0x2f6)),require(_0x2e1443(0x2da)),require(_0x2e1443(0x262)),require('react/jsx-runtime'),require(_0x2e1443(0xfe)),require('@univerjs/design'),require(_0x2e1443(0x19d)),require(_0x2e1443(0x155))):typeof define==_0x2e1443(0xe8)&&define['amd']?define([_0x2e1443(0xc9),_0x2e1443(0x2bd),_0x2e1443(0x139),_0x2e1443(0x314),_0x2e1443(0x2b3),_0x2e1443(0x17d),_0x2e1443(0x20b),'rxjs',_0x2e1443(0x285),_0x2e1443(0x22f),_0x2e1443(0x232),_0x2e1443(0x2f6),_0x2e1443(0x2da),_0x2e1443(0x262),_0x2e1443(0x2fa),'@univerjs/ui',_0x2e1443(0xe3),_0x2e1443(0x19d),_0x2e1443(0x155)],_0x4d1e05):(_0x12b07a=typeof globalThis<'u'?globalThis:_0x12b07a||self,_0x4d1e05(_0x12b07a['UniverProCollaborationClientUi']={},_0x12b07a[_0x2e1443(0x2fb)],_0x12b07a[_0x2e1443(0x127)],_0x12b07a['UniverEngineRender'],_0x12b07a['UniverNetwork'],_0x12b07a['UniverDocsUi'],_0x12b07a['UniverDrawing'],_0x12b07a[_0x2e1443(0x111)],_0x12b07a[_0x2e1443(0x199)],_0x12b07a[_0x2e1443(0x112)],_0x12b07a[_0x2e1443(0x24d)],_0x12b07a[_0x2e1443(0x91)],_0x12b07a[_0x2e1443(0x111)][_0x2e1443(0x29e)],_0x12b07a[_0x2e1443(0x28b)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x15f)],_0x12b07a[_0x2e1443(0xef)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x2bf)]));}(this,function(_0x31bd5e,_0x3fe587,_0x15b207,_0x241ab7,_0x5ba1cc,_0x57acc0,_0x5623a4,_0x548118,_0x374d97,_0x38de55,_0x32b66c,_0x159c7f,_0x58aad9,_0x20a1dc,_0x4d3f92,_0x4b9e13,_0x5a4da0,_0x504940,_0x3a7d89){'use strict';const _0x28bb4a=_0x57fc;var _0x5b15cd=Object['defineProperty'],_0x57a4c1=(_0x41e16b,_0x178aa2,_0x3e1c18)=>_0x178aa2 in _0x41e16b?_0x5b15cd(_0x41e16b,_0x178aa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e1c18}):_0x41e16b[_0x178aa2]=_0x3e1c18,_0x52ecbf=(_0x80aef3,_0x1eb4fd,_0x1ab641)=>_0x57a4c1(_0x80aef3,typeof _0x1eb4fd!=_0x28bb4a(0x288)?_0x1eb4fd+'':_0x1eb4fd,_0x1ab641),_0x41bd14=Object[_0x28bb4a(0x11a)],_0x1902be=(_0x177ae2,_0x5813b3,_0x3c73a7,_0x41c07a)=>{const _0x4bf8c8=_0x28bb4a;for(var _0x5adb05=_0x41c07a>0x1?void 0x0:_0x41c07a?_0x41bd14(_0x5813b3,_0x3c73a7):_0x5813b3,_0x4e54d1=_0x177ae2[_0x4bf8c8(0x27e)]-0x1,_0xc6f70b;_0x4e54d1>=0x0;_0x4e54d1--)(_0xc6f70b=_0x177ae2[_0x4e54d1])&&(_0x5adb05=_0xc6f70b(_0x5adb05)||_0x5adb05);return _0x5adb05;},_0x16c6da=(_0x5cc3f3,_0x1c7951)=>(_0x318368,_0xa0247d)=>_0x1c7951(_0x318368,_0xa0247d,_0x5cc3f3);let _0x221090=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x42479d,_0x4d7cde){const _0x39967b=_0x28bb4a;super(),this['_docClipboardService']=_0x42479d,this[_0x39967b(0x24a)]=_0x4d7cde,this[_0x39967b(0x93)]();}[_0x28bb4a(0x93)](){const _0x560750=_0x28bb4a,_0x3452b0=this;this[_0x560750(0x280)](this['_docClipboardService'][_0x560750(0xa3)]({'onBeforePasteImage':async _0x5450dc=>{const _0x2f3dd5=_0x560750,_0x52a7c2=await _0x3452b0[_0x2f3dd5(0x24a)][_0x2f3dd5(0x1a0)](_0x5450dc);return _0x52a7c2?{'source':_0x52a7c2[_0x2f3dd5(0xbc)],'imageSourceType':_0x52a7c2[_0x2f3dd5(0x129)]}:null;}}));}};_0x221090=_0x1902be([_0x16c6da(0x0,_0x57acc0[_0x28bb4a(0x200)]),_0x16c6da(0x1,_0x5623a4[_0x28bb4a(0x30a)])],_0x221090);const _0x1561ff=[_0x28bb4a(0x118),_0x28bb4a(0x286),_0x28bb4a(0x253),_0x28bb4a(0x290),_0x28bb4a(0x30e),_0x28bb4a(0x1aa)];class _0x406998 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x58f0e8=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x58f0e8(0x2f8),new Map()),_0x52ecbf(this,_0x58f0e8(0x104),0x0);}['assignAColorForMemberID'](_0x4389e6){const _0x2ef3d9=_0x28bb4a;if(this['_assignedColors'][_0x2ef3d9(0x2e9)](_0x4389e6))return this[_0x2ef3d9(0x2f8)][_0x2ef3d9(0x2ca)](_0x4389e6);const _0x389ed1=_0x1561ff[this[_0x2ef3d9(0x104)]];return this[_0x2ef3d9(0x104)]=(this[_0x2ef3d9(0x104)]+0x1)%_0x1561ff['length'],this['_assignedColors'][_0x2ef3d9(0x31b)](_0x4389e6,_0x389ed1),_0x389ed1;}}function _0x4a55c0(_0x209a77){const _0x288529=_0x28bb4a;let _0x1a1b4c='';for(const _0xf7cb3e of _0x209a77){const {startOffset:_0x57f2ab,endOffset:_0x17f5d7,isActive:_0x51c4cc,rangeType:_0x1c1657,segmentId:_0x31f39b,segmentPage:_0x2eb574}=_0xf7cb3e;_0x1a1b4c[_0x288529(0x27e)]&&(_0x1a1b4c+=','),_0x1a1b4c+=_0x57f2ab+':'+_0x17f5d7+':'+(_0x51c4cc?'1':'0')+':'+_0x1c1657+':'+_0x31f39b+':'+_0x2eb574;}return _0x1a1b4c;}function _0xf8cd1a(_0x2c5012){const _0xc69c01=_0x28bb4a,_0x12795c=_0x2c5012['split'](','),_0x478ea3=[];for(const _0x54a56b of _0x12795c){const [_0x16e60f,_0x45a0bf,_0xb528be,_0x7a3928,_0xccd945,_0x1fc538]=_0x54a56b['split'](':');_0x478ea3['push']({'startOffset':Number(_0x16e60f),'endOffset':Number(_0x45a0bf),'collapsed':_0x16e60f===_0x45a0bf,'isActive':_0xb528be==='1','rangeType':_0x7a3928===_0x15b207[_0xc69c01(0x28c)]['TEXT']?_0x15b207[_0xc69c01(0x28c)][_0xc69c01(0x205)]:_0x15b207['DOC_RANGE_TYPE'][_0xc69c01(0x265)],'segmentId':typeof _0xccd945==_0xc69c01(0x13e)?String(_0xccd945):'','segmentPage':Number(_0x1fc538!=null?_0x1fc538:-0x1)});}return _0x478ea3['some'](_0x12fc18=>_0x12fc18['isActive'])||(_0x478ea3[0x0]['isActive']=!0x0),_0x478ea3;}class _0x50948d extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x3402ea=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x3402ea(0xee),new _0x548118['BehaviorSubject'](null)),_0x52ecbf(this,_0x3402ea(0xfa),this['_collabCursorState$'][_0x3402ea(0x21d)]());}[_0x28bb4a(0x134)](_0xd82697){const {unitID:_0x2f1222,memberID:_0x3b221f,textRanges:_0x4dfd8b}=_0xd82697,_0x3226cd=_0x4a55c0(_0x4dfd8b);if(_0x3226cd==='')return;const _0x2907a9={'unitID':_0x2f1222,'memberID':_0x3b221f,'selection':_0x3226cd};this['_collabCursorState$']['next'](_0x2907a9);}}var _0x43a5b9=Object[_0x28bb4a(0x11a)],_0x3b42b0=(_0x3fc685,_0x4f508b,_0x5907be,_0x15935a)=>{for(var _0x300f3c=_0x15935a>0x1?void 0x0:_0x15935a?_0x43a5b9(_0x4f508b,_0x5907be):_0x4f508b,_0x2f9f17=_0x3fc685['length']-0x1,_0x18dfa8;_0x2f9f17>=0x0;_0x2f9f17--)(_0x18dfa8=_0x3fc685[_0x2f9f17])&&(_0x300f3c=_0x18dfa8(_0x300f3c)||_0x300f3c);return _0x300f3c;},_0x10aaf3=(_0x5b2329,_0x2ffe60)=>(_0x7d5d0f,_0x28df9d)=>_0x2ffe60(_0x7d5d0f,_0x28df9d,_0x5b2329);const _0x323811=0x12c,_0x4f67ed=0x64;let _0x5d4a58=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x19dfa5,_0x391159,_0x48e753,_0x5ed0a8,_0x4159d4,_0x538830,_0x2e0c5a,_0x33b9dc,_0x131932){const _0x3b06c5=_0x28bb4a;super(),_0x52ecbf(this,_0x3b06c5(0x28d),!0x1),_0x52ecbf(this,'_init',!0x1),_0x52ecbf(this,'_cursorInfo$',new _0x548118['BehaviorSubject'](new Map())),_0x52ecbf(this,_0x3b06c5(0x177),this[_0x3b06c5(0x1cf)][_0x3b06c5(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118[(_0x3b06c5(0x1bb))]([])),_0x52ecbf(this,'roomMembers$',this[_0x3b06c5(0x247)][_0x3b06c5(0x150)](_0x548118[_0x3b06c5(0x275)](_0x323811))),_0x52ecbf(this,_0x3b06c5(0x2cd),_0x15b207[_0x3b06c5(0x2e6)](_0x466a09=>{const _0x3edb91=_0x3b06c5,_0x5cb245={'eventID':_0x38de55[_0x3edb91(0xe1)][_0x3edb91(0x25a)],'data':{'unitID':this[_0x3edb91(0x136)],'memberID':this[_0x3edb91(0x304)]['getMemberID'](),'selection':_0x4a55c0(_0x466a09)}};this['_session'][_0x3edb91(0x2a4)](_0x5cb245,this[_0x3edb91(0x136)]);},_0x4f67ed)),(this[_0x3b06c5(0x136)]=_0x19dfa5,this['_session']=_0x391159,this[_0x3b06c5(0x25e)]=_0x48e753,this[_0x3b06c5(0x218)]=_0x5ed0a8,this[_0x3b06c5(0xad)]=_0x4159d4,this[_0x3b06c5(0x22e)]=_0x538830,this['_transformService']=_0x2e0c5a,this[_0x3b06c5(0x2cf)]=_0x33b9dc,this[_0x3b06c5(0x12f)]=_0x131932);}get['cursorInfo'](){const _0x438429=_0x28bb4a;return this[_0x438429(0x1cf)][_0x438429(0x158)]();}get[_0x28bb4a(0x109)](){const _0x566e16=_0x28bb4a;return this[_0x566e16(0x247)][_0x566e16(0x158)]();}['dispose'](){const _0x46612c=_0x28bb4a;super[_0x46612c(0x152)](),this['_cursorInfo$'][_0x46612c(0x225)](new Map()),this['_cursorInfo$'][_0x46612c(0x268)](),this[_0x46612c(0x247)]['next']([]),this[_0x46612c(0x247)][_0x46612c(0x268)]();}[_0x28bb4a(0xff)](){const _0x5b6025=_0x28bb4a;this[_0x5b6025(0x93)]||(this[_0x5b6025(0x93)]=!0x0,this['_session'][_0x5b6025(0x19e)][_0x5b6025(0x150)](_0x548118[_0x5b6025(0x1c4)](this['dispose$']))['subscribe'](_0x5e5b9d=>{const _0x588092=_0x5b6025;_0x5e5b9d===_0x3fe587[_0x588092(0x216)]['ONLINE']?this['_toggleOnline']():this[_0x588092(0xf7)]();}),this[_0x5b6025(0x304)][_0x5b6025(0xdd)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x24af24=>{const _0x42cfa0=_0x5b6025,_0x4f9dc1=_0x24af24[_0x42cfa0(0x274)];_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)][_0x42cfa0(0x25a)]&&this[_0x42cfa0(0x2ed)](_0x24af24),_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x24af24);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0xbac4f4=>{const _0x3f7f64=_0x5b6025,_0x256fe5=_0xbac4f4[_0x3f7f64(0x2dc)];_0x256fe5!=null&&this['_online']&&_0xbac4f4['id']===_0x374d97[_0x3f7f64(0x1db)]['id']&&_0x256fe5[_0x3f7f64(0x1d4)]===this[_0x3f7f64(0x136)]&&_0x256fe5[_0x3f7f64(0x2bc)]===!0x1&&_0x256fe5[_0x3f7f64(0x1a6)][_0x3f7f64(0x27e)]>0x0&&this[_0x3f7f64(0x2cd)](_0x256fe5[_0x3f7f64(0x1a6)]);})),this['_syncEditingCollabCursorService'][_0x5b6025(0xfa)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x2d611c=>{const _0x16a65b=_0x5b6025;if((_0x2d611c==null?void 0x0:_0x2d611c[_0x16a65b(0x136)])!==this['unitID'])return;const _0x4dfc47={'eventID':_0x38de55['CollaborationEvent'][_0x16a65b(0x25a)],'data':_0x2d611c};this['_onCursorUpdate'](_0x4dfc47);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0x4ed3d5=>{const _0x3d9dc6=_0x5b6025;if(_0x4ed3d5['params']==null)return;const _0x2c1db5=_0x4ed3d5[_0x3d9dc6(0x2dc)];if(_0x4ed3d5['id']!==_0x374d97['RichTextEditingMutation']['id']||_0x2c1db5[_0x3d9dc6(0x1d4)]!==this[_0x3d9dc6(0x136)])return;const _0x3ab060={'id':_0x3d9dc6(0xb9),'params':_0x2c1db5},_0x4feb15=this[_0x3d9dc6(0x1ca)];for(const [_0x2d96e2,_0x430a3e]of _0x4feb15){const _0x98c30e={'id':_0x3d9dc6(0xb9),'params':{'unitId':this[_0x3d9dc6(0x136)],'actions':null,'textRanges':_0x430a3e[_0x3d9dc6(0x1a6)]}},_0x3424a4=this[_0x3d9dc6(0x1d9)][_0x3d9dc6(0x100)](_0x3ab060,_0x98c30e,!0x1);if(_0x38de55[_0x3d9dc6(0x1fa)](_0x3424a4))throw _0x3424a4['error'];_0x4feb15[_0x3d9dc6(0x31b)](_0x2d96e2,{..._0x430a3e,'ranges':_0x3424a4[_0x3d9dc6(0x2f2)]['params']['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4feb15);});})));}[_0x28bb4a(0x2ed)](_0x3c5da2){const _0x586ec4=_0x28bb4a;var _0x269f04,_0x29420e;const {memberID:_0xa5208,selection:_0x221192}=_0x3c5da2[_0x586ec4(0x137)],_0x1fa05c=_0xf8cd1a(_0x221192),_0x5c2494=(_0x29420e=(_0x269f04=this[_0x586ec4(0xad)]['getMember'](this[_0x586ec4(0x136)],_0xa5208))==null?void 0x0:_0x269f04[_0x586ec4(0x28a)])!=null?_0x29420e:_0x586ec4(0x317),_0x31c9d9={'color':this[_0x586ec4(0x218)][_0x586ec4(0x276)](_0xa5208),'name':_0x5c2494,'ranges':_0x1fa05c},_0x559405=this[_0x586ec4(0x1ca)];_0x559405['set'](_0xa5208,_0x31c9d9),this[_0x586ec4(0x1cf)][_0x586ec4(0x225)](_0x559405);}[_0x28bb4a(0x166)](_0x807cd7){const _0x9a5bde=_0x28bb4a,{memberID:_0x365461}=_0x807cd7[_0x9a5bde(0x137)],_0x114f65=this[_0x9a5bde(0x1ca)];_0x114f65['delete'](_0x365461),this['_cursorInfo$'][_0x9a5bde(0x225)](_0x114f65);}[_0x28bb4a(0x168)](){const _0x2f054=_0x28bb4a;var _0x4ae4cf;if(this['_online']=!0x0,((_0x4ae4cf=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4ae4cf[_0x2f054(0x220)]())!==this['unitID'])return;const _0x356f1c=this[_0x2f054(0x25e)][_0x2f054(0x2ca)](_0x374d97[_0x2f054(0x2d5)])['getDocRanges']();Array[_0x2f054(0x1bc)](_0x356f1c)&&_0x356f1c[_0x2f054(0x27e)]>0x0&&this[_0x2f054(0x2cd)](_0x356f1c);}['_toggleOffline'](){const _0x26c577=_0x28bb4a;this[_0x26c577(0x28d)]=!0x1;}};_0x5d4a58=_0x3b42b0([_0x10aaf3(0x2,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x10aaf3(0x3,_0x15b207['Inject'](_0x406998)),_0x10aaf3(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x30b)])),_0x10aaf3(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x10aaf3(0x6,_0x38de55[_0x28bb4a(0x1ce)]),_0x10aaf3(0x7,_0x15b207[_0x28bb4a(0x1b0)]),_0x10aaf3(0x8,_0x15b207[_0x28bb4a(0x195)])],_0x5d4a58);var _0x28029c=Object[_0x28bb4a(0x11a)],_0x12fbc2=(_0x56892d,_0x5ec727,_0xe457ca,_0x3a28f3)=>{const _0x3da090=_0x28bb4a;for(var _0x5af0d3=_0x3a28f3>0x1?void 0x0:_0x3a28f3?_0x28029c(_0x5ec727,_0xe457ca):_0x5ec727,_0x3ad6e8=_0x56892d[_0x3da090(0x27e)]-0x1,_0x17118f;_0x3ad6e8>=0x0;_0x3ad6e8--)(_0x17118f=_0x56892d[_0x3ad6e8])&&(_0x5af0d3=_0x17118f(_0x5af0d3)||_0x5af0d3);return _0x5af0d3;},_0x5d2d35=(_0x2bac89,_0x3654ff)=>(_0x4ce77b,_0x4608e3)=>_0x3654ff(_0x4ce77b,_0x4608e3,_0x2bac89);const _0x5ccb72=0x12c,_0x453199=0x64,_0x4fd739=()=>{let _0x2f74ca=[],_0x54ae2d=!0x1;return _0x222823=>{_0x2f74ca['push'](_0x222823),_0x54ae2d||(_0x54ae2d=!0x0,setTimeout(()=>{const _0x520fe1=_0x57fc;_0x2f74ca[_0x520fe1(0x15d)](_0x519e89=>_0x519e89()),_0x2f74ca=[],_0x54ae2d=!0x1;}));};};let _0x2587d0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x140fcf,_0x4cbda0,_0x2a849c,_0x582642,_0xc7211f,_0x238902,_0x145921,_0x494ad3){const _0x44870d=_0x28bb4a;super(),_0x52ecbf(this,_0x44870d(0x28d),!0x1),_0x52ecbf(this,_0x44870d(0x93),!0x1),_0x52ecbf(this,_0x44870d(0x1cf),new _0x548118[(_0x44870d(0x1bb))](new Map())),_0x52ecbf(this,_0x44870d(0x177),this[_0x44870d(0x1cf)][_0x44870d(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118['BehaviorSubject']([])),_0x52ecbf(this,_0x44870d(0x313),this[_0x44870d(0x247)][_0x44870d(0x150)](_0x548118[_0x44870d(0x275)](_0x5ccb72))),_0x52ecbf(this,_0x44870d(0x2cd),_0x15b207[_0x44870d(0x2e6)]((_0x1b0f19,_0x2eed22)=>{const _0x482639=_0x44870d,_0x14f2c5={'eventID':_0x38de55[_0x482639(0xe1)][_0x482639(0x25a)],'data':{'unitID':this['unitID'],'memberID':this[_0x482639(0x304)][_0x482639(0x108)](),'selection':_0x32b66c['serializeRangeWithSheet'](_0x1b0f19,_0x2eed22['range'])}};this[_0x482639(0x304)][_0x482639(0x2a4)](_0x14f2c5,this[_0x482639(0x136)]);},_0x453199)),(this['unitID']=_0x140fcf,this[_0x44870d(0x304)]=_0x4cbda0,this[_0x44870d(0x25e)]=_0x2a849c,this[_0x44870d(0x218)]=_0x582642,this['_memberService']=_0xc7211f,this['_univerInstanceService']=_0x238902,this['_commandService']=_0x145921,this[_0x44870d(0x97)]=_0x494ad3);}get[_0x28bb4a(0x1ca)](){const _0x5a100d=_0x28bb4a;return this[_0x5a100d(0x1cf)]['getValue']();}get[_0x28bb4a(0x109)](){const _0x440ed4=_0x28bb4a;return this[_0x440ed4(0x247)][_0x440ed4(0x158)]();}[_0x28bb4a(0x152)](){const _0x1c6fb1=_0x28bb4a;super[_0x1c6fb1(0x152)](),this['_cursorInfo$'][_0x1c6fb1(0x225)](new Map()),this[_0x1c6fb1(0x1cf)][_0x1c6fb1(0x268)](),this['_roomMembers$']['next']([]),this[_0x1c6fb1(0x247)]['complete']();}[_0x28bb4a(0xff)](){const _0x141117=_0x28bb4a;this[_0x141117(0x93)]||(this['_init']=!0x0,this[_0x141117(0x304)][_0x141117(0x19e)][_0x141117(0x150)](_0x548118[_0x141117(0x1c4)](this[_0x141117(0x18e)]))['subscribe'](_0x5c3362=>{const _0x17e522=_0x141117;_0x5c3362===_0x3fe587['SessionStatus'][_0x17e522(0x192)]?this[_0x17e522(0x168)]():this['_toggleOffline']();}),this['_session'][_0x141117(0xdd)]['pipe'](_0x548118['takeUntil'](this[_0x141117(0x18e)]))['subscribe'](_0x1dcbae=>{const _0x52ec41=_0x141117,_0x25e84d=_0x1dcbae[_0x52ec41(0x274)];_0x25e84d===_0x38de55['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x52ec41(0x2ed)](_0x1dcbae),_0x25e84d===_0x38de55[_0x52ec41(0xe1)][_0x52ec41(0x233)]&&this[_0x52ec41(0x166)](_0x1dcbae);}),this[_0x141117(0x23c)](),this[_0x141117(0x280)](this[_0x141117(0x12f)]['onCommandExecuted'](_0x5863d9=>{const _0x340f45=_0x141117;if(this[_0x340f45(0x28d)]&&_0x5863d9['id']===_0x159c7f[_0x340f45(0x257)]['id']&&_0x5863d9[_0x340f45(0x2dc)][_0x340f45(0x1d4)]===this[_0x340f45(0x136)]){const _0x23b858=_0x5863d9['params'];this['_updateLocalCursor'](_0x23b858[_0x340f45(0x25b)],_0x23b858[_0x340f45(0x300)][0x0]);}})));}[_0x28bb4a(0x2ed)](_0x3fe322){const _0x7cc212=_0x28bb4a;var _0x22d240,_0x3d226f;const {memberID:_0x24b155,selection:_0x40a7f1}=_0x3fe322[_0x7cc212(0x137)],{sheetName:_0x23c34e,range:_0x4dad06}=_0x32b66c['deserializeRangeWithSheet'](_0x40a7f1),_0x27465b={'name':(_0x3d226f=(_0x22d240=this[_0x7cc212(0xad)][_0x7cc212(0x272)](this[_0x7cc212(0x136)],_0x24b155))==null?void 0x0:_0x22d240['name'])!=null?_0x3d226f:_0x7cc212(0x317),'range':this['_getMergeRange'](_0x23c34e,_0x4dad06),'sheetID':_0x23c34e,'color':this[_0x7cc212(0x218)]['assignAColorForMemberID'](_0x24b155),'selection':_0x40a7f1},_0x3de97d=this[_0x7cc212(0x1ca)];_0x3de97d[_0x7cc212(0x31b)](_0x24b155,_0x27465b),this[_0x7cc212(0x1cf)][_0x7cc212(0x225)](_0x3de97d);}[_0x28bb4a(0x166)](_0xb0e34c){const _0x2afc04=_0x28bb4a,{memberID:_0x9b53dd}=_0xb0e34c[_0x2afc04(0x137)],_0x12a112=this[_0x2afc04(0x1ca)];_0x12a112['delete'](_0x9b53dd),this[_0x2afc04(0x1cf)]['next'](_0x12a112);}[_0x28bb4a(0xfd)](_0x2bcf6c,_0x90f5e9){const _0x1070e6=_0x28bb4a;var _0x4a84ae,_0x4ae43f;const _0x4542e3=(_0x4ae43f=(_0x4a84ae=this['_univerInstanceService'][_0x1070e6(0x242)](this[_0x1070e6(0x136)]))==null?void 0x0:_0x4a84ae['getSheetBySheetId'](_0x2bcf6c))==null?void 0x0:_0x4ae43f['getMergeData']();return(_0x4542e3==null?void 0x0:_0x4542e3[_0x1070e6(0x303)](_0x22e9d2=>_0x15b207[_0x1070e6(0x19b)]['contains'](_0x22e9d2,_0x90f5e9)))||_0x90f5e9;}[_0x28bb4a(0x23c)](){const _0x49a45f=_0x28bb4a,_0x2c36dd=new _0x15b207[(_0x49a45f(0x266))](),_0x28b6cb=_0x4fd739(),_0xc767d8=()=>{const _0x4712a8=_0x49a45f;_0x2c36dd['dispose']();const _0x54e23b=(_0x438a9f,_0x46b20c,_0x409ef6,_0x5d2957)=>{const _0x2a81ce=_0x57fc;let _0xf44044=[];switch(_0x438a9f['id']){case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x28e)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x1ec)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x2c0)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x2e5)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x2fe)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x178)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x26f)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x11d)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x144)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x110)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)]['InsertRowCommandId']:{_0xf44044=_0x159c7f[_0x2a81ce(0x92)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x26c)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x292)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x244)]:{_0xf44044=_0x159c7f['handleIRemoveCol'](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0xb1)]:{_0xf44044=_0x159c7f['handleIRemoveRow'](_0x438a9f,_0x5d2957);break;}}const _0x525362=_0x159c7f[_0x2a81ce(0x9e)](_0xf44044,_0x5d2957),_0x3bd811=this[_0x2a81ce(0x1ca)][_0x2a81ce(0x2ca)](_0x46b20c);if(_0x3bd811&&_0x525362){const _0x4e6c04={..._0x3bd811,'range':_0x525362};this[_0x2a81ce(0x1ca)]['set'](_0x46b20c,_0x4e6c04),_0x28b6cb(()=>{const _0xd78711=_0x2a81ce,_0x155106=this[_0xd78711(0x97)][_0xd78711(0x1ef)](_0x525362,_0x1a4b1a=>(_0x155106['dispose'](),_0x54e23b(_0x1a4b1a,_0x46b20c,_0x409ef6,_0x525362)));_0x2c36dd['add'](_0x155106);});}return{'redos':[],'undos':[]};};this[_0x4712a8(0x1ca)][_0x4712a8(0x15d)]((_0xf0e5b9,_0x2bf686)=>{const _0x3c92e4=_0x4712a8,{range:_0xc5f0ab,sheetID:_0x1d6a58}=_0xf0e5b9,_0x2dc3e2=this[_0x3c92e4(0x97)][_0x3c92e4(0x1ef)](_0xc5f0ab,_0x2fca07=>(_0x2dc3e2['dispose'](),_0x54e23b(_0x2fca07,_0x2bf686,_0x1d6a58,_0xc5f0ab)));_0x2c36dd[_0x3c92e4(0xce)](_0x2dc3e2);});};this[_0x49a45f(0x280)](_0x15b207[_0x49a45f(0x30c)](this['_cursorInfo$']['subscribe'](()=>{_0xc767d8();})));}[_0x28bb4a(0x168)](){const _0x114c99=_0x28bb4a;var _0x2b1a04,_0x195cfb;if(this['_online']=!0x0,((_0x2b1a04=this[_0x114c99(0x2cf)][_0x114c99(0xcc)]())==null?void 0x0:_0x2b1a04[_0x114c99(0x220)]())!==this[_0x114c99(0x136)])return;const _0x1072ca=(_0x195cfb=this['_injector'][_0x114c99(0x2ca)](_0x159c7f[_0x114c99(0x315)])[_0x114c99(0x17c)]())==null?void 0x0:_0x195cfb[0x0],_0x58eda3=this[_0x114c99(0x2cf)][_0x114c99(0x29f)](_0x15b207[_0x114c99(0x306)][_0x114c99(0x1f5)])['getActiveSheet']();_0x1072ca&&_0x58eda3&&this[_0x114c99(0x2cd)](_0x58eda3[_0x114c99(0x142)](),_0x1072ca);}['_toggleOffline'](){const _0x23f6fa=_0x28bb4a;this[_0x23f6fa(0x28d)]=!0x1;}};_0x2587d0=_0x12fbc2([_0x5d2d35(0x2,_0x15b207['Inject'](_0x15b207['Injector'])),_0x5d2d35(0x3,_0x15b207[_0x28bb4a(0x99)](_0x406998)),_0x5d2d35(0x4,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x30b)])),_0x5d2d35(0x5,_0x15b207[_0x28bb4a(0x1b0)]),_0x5d2d35(0x6,_0x15b207[_0x28bb4a(0x195)]),_0x5d2d35(0x7,_0x15b207['Inject'](_0x159c7f[_0x28bb4a(0x173)]))],_0x2587d0);var _0x3649f0=Object[_0x28bb4a(0x11a)],_0x58bc55=(_0x38274b,_0x396774,_0x5e6f94,_0x419c14)=>{const _0x5bb5f5=_0x28bb4a;for(var _0x45085e=_0x419c14>0x1?void 0x0:_0x419c14?_0x3649f0(_0x396774,_0x5e6f94):_0x396774,_0x13d41a=_0x38274b[_0x5bb5f5(0x27e)]-0x1,_0x11eaad;_0x13d41a>=0x0;_0x13d41a--)(_0x11eaad=_0x38274b[_0x13d41a])&&(_0x45085e=_0x11eaad(_0x45085e)||_0x45085e);return _0x45085e;},_0x332f3b=(_0x33c694,_0x553bed)=>(_0x5d91c2,_0x1320a3)=>_0x553bed(_0x5d91c2,_0x1320a3,_0x33c694);let _0x338aa0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x32ec5,_0xf0eb9e,_0x2e7a52){const _0x3094f5=_0x28bb4a;super(),_0x52ecbf(this,_0x3094f5(0x18a),new Map()),_0x52ecbf(this,_0x3094f5(0x2c8),new _0x548118[(_0x3094f5(0x228))]()),(this[_0x3094f5(0x2cf)]=_0x32ec5,this[_0x3094f5(0x25e)]=_0xf0eb9e,this['_collabSessionService']=_0x2e7a52,this['_init']());}[_0x28bb4a(0x152)](){const _0x2636bc=_0x28bb4a;super[_0x2636bc(0x152)](),this[_0x2636bc(0x2c8)][_0x2636bc(0x268)](),this['_entities'][_0x2636bc(0x15d)](_0x48e791=>_0x48e791[_0x2636bc(0x152)]());}[_0x28bb4a(0x2a6)](_0x2d6bf1){const _0x4ae5fb=_0x28bb4a;return this['_entities'][_0x4ae5fb(0x2e9)](_0x2d6bf1)?this[_0x4ae5fb(0x18a)][_0x4ae5fb(0x2ca)](_0x2d6bf1)['cursorInfo$']:this[_0x4ae5fb(0x2c8)][_0x4ae5fb(0x150)](_0x548118[_0x4ae5fb(0x2eb)](_0x32b838=>_0x32b838[_0x4ae5fb(0x136)]===_0x2d6bf1),_0x548118[_0x4ae5fb(0xd6)](_0x411911=>_0x411911[_0x4ae5fb(0x177)]));}[_0x28bb4a(0x93)](){const _0x20b5dd=_0x28bb4a;this[_0x20b5dd(0x2cf)]['getTypeOfUnitAdded$'](_0x15b207['UniverInstanceType'][_0x20b5dd(0x1f5)])[_0x20b5dd(0x150)](_0x548118['takeUntil'](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](async _0x49f70a=>{const _0x23cfdc=_0x20b5dd,_0x148300=_0x49f70a[_0x23cfdc(0x220)](),_0x486a25=await this[_0x23cfdc(0x9d)](_0x148300);this[_0x23cfdc(0x2c8)][_0x23cfdc(0x225)](_0x486a25),this['_entities'][_0x23cfdc(0x31b)](_0x148300,_0x486a25);}),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x2e3)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)])['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0x150)](_0x548118['filter'](_0xeaf1c3=>!_0xeaf1c3[_0x20b5dd(0x220)]()[_0x20b5dd(0x27b)]('__')))[_0x20b5dd(0xa7)](async _0x207b61=>{const _0x51d393=_0x20b5dd,_0x4fc381=_0x207b61['getUnitId'](),_0x3fdd35=await this[_0x51d393(0xab)](_0x4fc381);this[_0x51d393(0x2c8)][_0x51d393(0x225)](_0x3fdd35),this[_0x51d393(0x18a)]['set'](_0x4fc381,_0x3fdd35);}),_0x548118['merge'](this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)]),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](_0x5ad8f1=>{const _0x31bcdb=_0x20b5dd,_0x47edaa=_0x5ad8f1[_0x31bcdb(0x220)](),_0x1273b2=this[_0x31bcdb(0x18a)][_0x31bcdb(0x2ca)](_0x47edaa);_0x1273b2&&(_0x1273b2['dispose'](),this[_0x31bcdb(0x18a)][_0x31bcdb(0x260)](_0x47edaa));});}async[_0x28bb4a(0x9d)](_0x2200bd){const _0x257c7b=_0x28bb4a,_0x1e7894=await this[_0x257c7b(0x1c6)][_0x257c7b(0x255)](_0x2200bd),_0x3d0418=this[_0x257c7b(0x25e)][_0x257c7b(0x8e)](_0x2587d0,_0x2200bd,_0x1e7894);return _0x3d0418[_0x257c7b(0xff)](),_0x3d0418;}async[_0x28bb4a(0xab)](_0x2cae1d){const _0x3621b1=_0x28bb4a,_0x49d739=await this[_0x3621b1(0x1c6)][_0x3621b1(0x255)](_0x2cae1d),_0x3c2b0=this['_injector'][_0x3621b1(0x8e)](_0x5d4a58,_0x2cae1d,_0x49d739);return _0x3c2b0[_0x3621b1(0xff)](),_0x3c2b0;}};_0x338aa0=_0x58bc55([_0x332f3b(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x332f3b(0x1,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x332f3b(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationSessionService']))],_0x338aa0);const _0x528f51=0x14,_0x36c47a=0xc8,_0x559814=0x4,_0x4320a4=0x5;function _0x1accd5(_0x358e29,_0x2dacdc){const _0x58d473=_0x28bb4a;let {radius:_0x50bc73,width:_0x2d9b47,height:_0x3fb99a}=_0x2dacdc;_0x50bc73=_0x50bc73!=null?_0x50bc73:0x0,_0x2d9b47=_0x2d9b47!=null?_0x2d9b47:0x1e,_0x3fb99a=_0x3fb99a!=null?_0x3fb99a:0x1e;let _0x5b5e57=0x0,_0x297410=0x0,_0x565c72=0x0;_0x5b5e57=_0x297410=_0x565c72=Math[_0x58d473(0x1ac)](_0x50bc73,_0x2d9b47/0x2,_0x3fb99a/0x2),_0x358e29['beginPath'](),_0x358e29['moveTo'](_0x5b5e57,0x0),_0x358e29[_0x58d473(0x239)](_0x2d9b47-_0x297410,0x0),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x297410,_0x297410,_0x297410,Math['PI']*0x3/0x2,0x0,!0x1),_0x358e29[_0x58d473(0x239)](_0x2d9b47,_0x3fb99a-_0x565c72),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x565c72,_0x3fb99a-_0x565c72,_0x565c72,0x0,Math['PI']/0x2,!0x1),_0x358e29[_0x58d473(0x239)](0x0,_0x3fb99a),_0x358e29[_0x58d473(0x239)](0x0,_0x5b5e57),_0x358e29['arc'](_0x5b5e57,_0x5b5e57,_0x5b5e57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x358e29[_0x58d473(0x95)](),_0x2dacdc['fill']&&(_0x358e29[_0x58d473(0x289)](),_0x358e29[_0x58d473(0x1e8)]=_0x2dacdc[_0x58d473(0xc5)],_0x2dacdc[_0x58d473(0x14b)]===_0x58d473(0xca)?_0x358e29[_0x58d473(0xc5)](_0x58d473(0xca)):_0x358e29[_0x58d473(0xc5)](),_0x358e29['restore']());}class _0x1f3680 extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x4e0cad,_0x180c11){const _0x4567c6=_0x28bb4a;super(_0x4e0cad,_0x180c11),_0x52ecbf(this,_0x4567c6(0x185)),_0x52ecbf(this,'text'),(this[_0x4567c6(0x185)]=_0x180c11==null?void 0x0:_0x180c11['color'],this[_0x4567c6(0x133)]=_0x180c11==null?void 0x0:_0x180c11[_0x4567c6(0x133)]);}static[_0x28bb4a(0x10e)](_0x5425c3,_0x4ba1b9){const _0x4acd6b=_0x28bb4a,{text:_0x42e617,color:_0x49ad09}=_0x4ba1b9;_0x5425c3[_0x4acd6b(0x289)](),_0x5425c3[_0x4acd6b(0x2a3)]=_0x4acd6b(0x162);const _0x4fc220=_0x5425c3[_0x4acd6b(0x1b4)](_0x42e617)[_0x4acd6b(0x198)],_0x40898c=Math[_0x4acd6b(0x1ac)](_0x4fc220+0x2*_0x559814,_0x36c47a);_0x1accd5(_0x5425c3,{'height':_0x528f51,'radius':0x4,'width':_0x40898c,'fill':_0x49ad09}),_0x5425c3[_0x4acd6b(0x1e8)]=_0x4acd6b(0x11b);const _0x356d75=_0x559814,_0x137de2=_0x528f51-_0x4320a4,_0xfd125d=_0x36c47a-0x2*_0x559814;if(_0x4fc220>_0xfd125d){let _0x36057f='',_0x205680=0x0;for(const _0x3076e0 of _0x42e617){const _0x4697c2=_0x5425c3[_0x4acd6b(0x1b4)](_0x3076e0)[_0x4acd6b(0x198)];if(_0x205680+_0x4697c2<=_0xfd125d-_0x5425c3['measureText']('...')['width'])_0x36057f+=_0x3076e0,_0x205680+=_0x4697c2;else{_0x36057f+=_0x4acd6b(0x211);break;}}_0x5425c3[_0x4acd6b(0x1be)](_0x36057f,_0x356d75,_0x137de2);}else _0x5425c3[_0x4acd6b(0x1be)](_0x42e617,_0x356d75,_0x137de2);_0x5425c3['restore']();}['_draw'](_0x52ffa6){_0x1f3680['drawWith'](_0x52ffa6,this);}}const _0x3db901=_0x28bb4a(0x1e3),_0x5c19b='collab-text-range-',_0x1f87a7=_0x28bb4a(0x181),_0x30a18e=0x6,_0x2e5076=1.5,_0x3e6cde=0x4,_0x1520c5=1.5,_0x34f5d3=_0x28bb4a(0x30f);class _0x1ae8a9{constructor(_0x57f881,_0xcfdc43,_0x298ee0,_0x539984){const _0xdcc288=_0x28bb4a;_0x52ecbf(this,'_shapes',[]),_0x52ecbf(this,_0xdcc288(0x320),null),_0x52ecbf(this,_0xdcc288(0xd7),null),_0x52ecbf(this,_0xdcc288(0xd4),null),_0x52ecbf(this,'_hideTimer',null),_0x52ecbf(this,'_eventUnsubscribe',null),(this[_0xdcc288(0x1d0)]=_0x57f881,this['_scene']=_0xcfdc43,this[_0xdcc288(0xec)]=_0x298ee0,this[_0xdcc288(0x2b9)]=_0x539984,this[_0xdcc288(0x23a)]());}set[_0x28bb4a(0x147)](_0x4a0170){const _0x31b9e0=_0x28bb4a;_0x4a0170?(this[_0x31b9e0(0xd4)]&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x1e4)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)][_0x31b9e0(0x29d)]()):(this['_anchorDot']&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x29d)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)]['hide']());}[_0x28bb4a(0x152)](){const _0x5f226a=_0x28bb4a;for(const _0x577fb9 of this['_shapes'])_0x577fb9[_0x5f226a(0x152)]();this[_0x5f226a(0xd7)]&&this[_0x5f226a(0xd7)][_0x5f226a(0x152)](),this[_0x5f226a(0xd4)]&&this[_0x5f226a(0xd4)]['dispose'](),this['_anchor']&&this[_0x5f226a(0x320)]['dispose'](),this[_0x5f226a(0x120)]&&this[_0x5f226a(0x120)]();}[_0x28bb4a(0x23a)](){const _0x3fb33c=_0x28bb4a;var _0x361e1f;const {_docSkeleton:_0x2ba12b,_document:_0x525663}=this,{color:_0x1fb141,name:_0x30ba5d,ranges:_0x3b6e3e}=this['_cursor'],_0x1a0d3a=_0x525663['getOffsetConfig'](),{docsLeft:_0x254959,docsTop:_0x5ad743}=_0x1a0d3a,_0x3fa5c0=new _0x57acc0[(_0x3fb33c(0x2ec))](_0x1a0d3a,_0x2ba12b);for(const {startOffset:_0x1dd132,endOffset:_0x4fbbae,rangeType:_0x2b1e83,segmentId:_0x1cd086,segmentPage:_0x508744,collapsed:_0x4d294,isActive:_0x4f135d}of _0x3b6e3e){const _0xb198c6=_0x2ba12b[_0x3fb33c(0x2dd)](_0x1dd132,!0x0,_0x1cd086,_0x508744);let _0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae,!0x0,_0x1cd086,_0x508744);if(_0x24e26a==null&&(_0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae-0x1,!0x1,_0x1cd086,_0x508744)),_0x4f135d){const {contentBoxPointGroup:_0xb419e3}=_0x3fa5c0[_0x3fb33c(0x114)](_0x24e26a,_0x24e26a);if(_0xb419e3['length']===0x0)continue;this[_0x3fb33c(0xd1)](_0x1fb141,_0xb419e3,_0x254959,_0x5ad743,_0x30ba5d),this['_eventUnsubscribe']=this[_0x3fb33c(0x2d2)]();}if(_0xb198c6&&_0x24e26a){if(_0x2b1e83===_0x15b207[_0x3fb33c(0x28c)][_0x3fb33c(0x265)]){const _0x18caa4=new _0x57acc0[(_0x3fb33c(0x2e2))](_0x1a0d3a,_0x2ba12b),{pointGroup:_0x37600f}=(_0x361e1f=_0x18caa4['getRangePointData'](_0xb198c6,_0x24e26a))!=null?_0x361e1f:{};if(_0x37600f==null||_0x37600f['length']===0x0)continue;this['_drawRectRange'](_0x1fb141,_0x37600f,_0x254959,_0x5ad743);}else{if(!_0x4d294){const {borderBoxPointGroup:_0x45fc74}=_0x3fa5c0[_0x3fb33c(0x114)](_0xb198c6,_0x24e26a);if(_0x45fc74[_0x3fb33c(0x27e)]===0x0)continue;this[_0x3fb33c(0x2b1)](_0x1fb141,_0x45fc74,_0x254959,_0x5ad743);}}}}}['_drawAnchor'](_0x2e8a75,_0xac87c9,_0x1e7d91,_0xa84ac3,_0x44c0c9){const _0x117f52=_0x28bb4a,_0x3fabae=this[_0x117f52(0x258)](_0xac87c9),{left:_0x1e1cde,top:_0x2ff52b,height:_0x8b3ae5}=_0x3fabae,_0x1c9774=this[_0x117f52(0x26e)](),_0x50a206=_0x1520c5/_0x1c9774,_0x16c766=new _0x241ab7[(_0x117f52(0x284))](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3,'height':_0x8b3ae5,'width':_0x2e5076,'fill':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207['COLORS']['black'],0x0),'strokeWidth':_0x50a206,'stroke':_0x34f5d3,'evented':!0x0});this[_0x117f52(0x320)]=_0x16c766,this[_0x117f52(0x161)]['addObject'](_0x16c766,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);const _0x5bb223=new _0x241ab7['Rect'](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x3e6cde/0x2,'height':_0x3e6cde,'width':_0x3e6cde,'fill':_0x2e8a75||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x117f52(0xc4)],0x0),'strokeWidth':0x0,'stroke':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207[_0x117f52(0x23e)]['black'],0x0),'evented':!0x1});this[_0x117f52(0xd4)]=_0x5bb223,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5bb223,_0x57acc0[_0x117f52(0x12b)]);const _0x5158db=new _0x1f3680(_0x3db901+_0x15b207['Tools'][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x528f51,'text':_0x44c0c9,'color':_0x2e8a75});this[_0x117f52(0xd7)]=_0x5158db,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5158db,_0x57acc0['TEXT_RANGE_LAYER_INDEX']),this[_0x117f52(0x147)]=!0x1;}[_0x28bb4a(0x2d2)](){const _0x4ae9a7=_0x28bb4a,_0x5853b0=this[_0x4ae9a7(0x320)]['onPointerEnter$'][_0x4ae9a7(0xc1)](()=>{this['_hover']=!0x0;}),_0x32c0b3=this[_0x4ae9a7(0x320)][_0x4ae9a7(0x1f0)][_0x4ae9a7(0xc1)](()=>{const _0x3ba841=_0x4ae9a7;this[_0x3ba841(0x87)]&&clearTimeout(this[_0x3ba841(0x87)]),this['_hideTimer']=setTimeout(()=>{const _0xe7dd9c=_0x3ba841;this[_0xe7dd9c(0x147)]=!0x1;},0x7d0);});return()=>{const _0x4a694e=_0x4ae9a7;_0x5853b0['unsubscribe'](),_0x32c0b3[_0x4a694e(0xdf)]();};}['_drawTextRange'](_0x1f1677,_0x351a8c,_0x53581b,_0x459947){const _0x3e067b=_0x28bb4a,_0x43aaf2=new _0x15b207['ColorKit'](_0x1f1677)['setAlpha'](0.2)[_0x3e067b(0xe5)](),_0x2287c0=new _0x241ab7[(_0x3e067b(0x2ba))](_0x5c19b+_0x15b207[_0x3e067b(0xb8)]['generateRandomId'](_0x30a18e),{'pointsGroup':_0x351a8c,'fill':_0x43aaf2||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x3e067b(0xc4)],0.2),'left':_0x53581b,'top':_0x459947,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e067b(0x2cb)][_0x3e067b(0x2e7)](_0x2287c0),this['_scene']['addObject'](_0x2287c0,_0x57acc0[_0x3e067b(0x12b)]);}['_drawRectRange'](_0x2d9b84,_0x5ce210,_0x31e507,_0x447e37){const _0x1df221=_0x28bb4a,_0x41f0d7=new _0x15b207['ColorKit'](_0x2d9b84)['setAlpha'](0.2)[_0x1df221(0xe5)](),_0x122207=new _0x241ab7[(_0x1df221(0x2ba))](_0x1f87a7+_0x15b207['Tools'][_0x1df221(0x2b2)](_0x30a18e),{'pointsGroup':_0x5ce210,'fill':_0x41f0d7||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x1df221(0xc4)],0.2),'left':_0x31e507,'top':_0x447e37,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1df221(0x2e7)](_0x122207),this['_scene']['addObject'](_0x122207,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);}[_0x28bb4a(0x258)](_0x2bc49b){const _0x18f0e2=_0x2bc49b[0x0],_0x219b56=_0x18f0e2[0x0],_0x23f83b=_0x18f0e2[0x2],{x:_0x3918b6,y:_0x56b21d}=_0x219b56,{x:_0x59de4a,y:_0x3b6ee9}=_0x23f83b;return{'left':_0x3918b6,'top':_0x56b21d,'width':_0x59de4a-_0x3918b6,'height':_0x3b6ee9-_0x56b21d};}[_0x28bb4a(0x26e)](){const _0x16cfb9=_0x28bb4a,{scaleX:_0x5a3728,scaleY:_0x190408}=this[_0x16cfb9(0x161)]['getAncestorScale']();return Math[_0x16cfb9(0x1ad)](_0x5a3728,_0x190408);}}var _0x26444f=Object[_0x28bb4a(0x11a)],_0x5aefaf=(_0x448a65,_0x9333ef,_0x806a80,_0x5eb4ef)=>{const _0x4c07f6=_0x28bb4a;for(var _0x533488=_0x5eb4ef>0x1?void 0x0:_0x5eb4ef?_0x26444f(_0x9333ef,_0x806a80):_0x9333ef,_0x2e326c=_0x448a65[_0x4c07f6(0x27e)]-0x1,_0xba0111;_0x2e326c>=0x0;_0x2e326c--)(_0xba0111=_0x448a65[_0x2e326c])&&(_0x533488=_0xba0111(_0x533488)||_0x533488);return _0x533488;},_0x4b4b8c=(_0x3dd273,_0x1d436c)=>(_0x56a135,_0x1afa48)=>_0x1d436c(_0x56a135,_0x1afa48,_0x3dd273);let _0x1927b2=class extends _0x15b207['RxDisposable']{constructor(_0x3ba389,_0x59380e,_0x163225,_0x1c155f,_0x1822f4){const _0x40734c=_0x28bb4a;super(),_0x52ecbf(this,_0x40734c(0x22d),[]),_0x52ecbf(this,'_cursors',[]),(this['_context']=_0x3ba389,this[_0x40734c(0x29b)]=_0x59380e,this[_0x40734c(0x281)]=_0x163225,this[_0x40734c(0x12f)]=_0x1c155f,this[_0x40734c(0x15a)]=_0x1822f4,this[_0x40734c(0x93)]());}[_0x28bb4a(0x93)](){const _0x377ee5=_0x28bb4a,_0x3c3057=this['_context'][_0x377ee5(0x1d4)],_0x3fe61c=this[_0x377ee5(0x29b)];this[_0x377ee5(0x280)](_0x548118[_0x377ee5(0x264)]([this[_0x377ee5(0x281)][_0x377ee5(0x2a6)](_0x3c3057),this[_0x377ee5(0x15a)][_0x377ee5(0x2a0)]])[_0x377ee5(0x150)](_0x58aad9['map'](([_0x7d9e4f,_0x177539])=>({'skeleton':_0x3fe61c[_0x377ee5(0x9b)](),'cursors':[..._0x7d9e4f[_0x377ee5(0x263)]()][_0x377ee5(0x293)](_0x1340dd=>({..._0x1340dd,'color':_0x177539[_0x1340dd[_0x377ee5(0x185)]]}))})))[_0x377ee5(0xa7)](_0x5f2544=>{const _0x8e5b93=_0x377ee5;if(this[_0x8e5b93(0xdc)](),_0x5f2544){const {skeleton:_0x3e8b16,cursors:_0x1dfff1}=_0x5f2544;this[_0x8e5b93(0x324)](_0x3e8b16,_0x1dfff1);}})),this[_0x377ee5(0x1f9)](),this[_0x377ee5(0x123)]();}['_updateCollabCursors'](_0xc13d2f,_0x1e32f7){const _0x5debd5=_0x28bb4a,{scene:_0x4169b7,mainComponent:_0x50a110}=this['_context'],_0x42162c=_0x1e32f7['map'](_0x23a041=>new _0x1ae8a9(_0x23a041,_0x4169b7,_0xc13d2f,_0x50a110));this[_0x5debd5(0x22d)]=_0x42162c,this[_0x5debd5(0x2d4)]=_0x1e32f7;}['_refreshCollabCursors'](){const _0x43781c=_0x28bb4a;this[_0x43781c(0xdc)]();const {scene:_0x5e30b3,mainComponent:_0x56c633}=this[_0x43781c(0xa4)],_0x4a495f=this[_0x43781c(0x29b)][_0x43781c(0x9b)](),_0x54106d=this['_cursors'][_0x43781c(0x125)](_0x20ef64=>new _0x1ae8a9(_0x20ef64,_0x5e30b3,_0x4a495f,_0x56c633));this[_0x43781c(0x22d)]=_0x54106d;}[_0x28bb4a(0xdc)](){const _0x42f20c=_0x28bb4a;this[_0x42f20c(0x22d)]['forEach'](_0x5df6ab=>_0x5df6ab['dispose']()),this[_0x42f20c(0x22d)]=[];}[_0x28bb4a(0x123)](){const _0x4d8c21=_0x28bb4a,_0x5f5f0d=[_0x57acc0['SetDocZoomRatioOperation']['id']];this[_0x4d8c21(0x280)](this['_commandService']['onCommandExecuted'](_0x496f78=>{const _0x48a784=_0x4d8c21;_0x5f5f0d['includes'](_0x496f78['id'])&&_0x496f78[_0x48a784(0x2dc)]['unitId']===this[_0x48a784(0xa4)][_0x48a784(0x1d4)]&&this[_0x48a784(0x24b)]();}));}['_initResize'](){const _0x24b6fe=_0x28bb4a;this[_0x24b6fe(0x280)](_0x15b207['fromEventSubject'](this[_0x24b6fe(0xa4)]['engine'][_0x24b6fe(0x94)])[_0x24b6fe(0x150)](_0x58aad9['filter'](_0x149eaf=>_0x149eaf[_0x24b6fe(0x172)]===_0x241ab7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24b6fe(0x1ee)]),_0x58aad9['throttleTime'](0x10))[_0x24b6fe(0xa7)](()=>{const _0x33f74c=_0x24b6fe;this[_0x33f74c(0x24b)]();}));}};_0x1927b2=_0x5aefaf([_0x4b4b8c(0x1,_0x15b207[_0x28bb4a(0x99)](_0x374d97[_0x28bb4a(0xa6)])),_0x4b4b8c(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x4b4b8c(0x3,_0x15b207[_0x28bb4a(0x195)]),_0x4b4b8c(0x4,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x130)]))],_0x1927b2);const _0x45f627=0x1,_0x36d077=1.5;class _0x2dea2d extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x533a80,_0xb6324b){const _0x2b9b31=_0x28bb4a;super(_0x533a80,_0xb6324b),_0x52ecbf(this,'_color'),_0x52ecbf(this,_0x2b9b31(0x9a),!0x1),_0x52ecbf(this,_0x2b9b31(0x301)),_0x52ecbf(this,_0x2b9b31(0x1d2),''),_0x52ecbf(this,_0x2b9b31(0x21b),_0x2b9b31(0x2d6)),_0x52ecbf(this,'_backgroundColor'),(_0xb6324b&&this[_0x2b9b31(0x24f)](_0xb6324b),this[_0x2b9b31(0x231)]['subscribeEvent'](()=>this[_0x2b9b31(0x24f)]({'hovered':!0x0})),this[_0x2b9b31(0x1f0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4cea70){const _0x447e61=_0x28bb4a;var _0x2ec83a,_0x3f347e,_0x307333,_0x139c2d,_0x47dcf8,_0x40b6e9;this[_0x447e61(0xd0)]=(_0x2ec83a=_0x4cea70[_0x447e61(0x185)])!=null?_0x2ec83a:this[_0x447e61(0xd0)],this[_0x447e61(0x9a)]=(_0x3f347e=_0x4cea70[_0x447e61(0x20c)])!=null?_0x3f347e:this['_hovered'],this[_0x447e61(0x301)]=(_0x307333=_0x4cea70[_0x447e61(0x1fd)])!=null?_0x307333:this['_range'],this['_name']=(_0x139c2d=_0x4cea70['name'])!=null?_0x139c2d:this[_0x447e61(0x1d2)],this[_0x447e61(0x21b)]=(_0x47dcf8=_0x4cea70[_0x447e61(0x9f)])!=null?_0x47dcf8:this['_labelPosition'],this[_0x447e61(0x1e2)]=(_0x40b6e9=_0x4cea70[_0x447e61(0x2c5)])!=null?_0x40b6e9:this[_0x447e61(0x1e2)],this[_0x447e61(0x29c)]({'width':_0x4cea70[_0x447e61(0x198)],'height':_0x4cea70[_0x447e61(0x184)]});}[_0x28bb4a(0x283)](_0x2a47d8){const _0x352281=_0x28bb4a,{row:_0x577d3b,column:_0x5f009f}=_0x2a47d8;if(_0x577d3b>=this[_0x352281(0x301)]['startRow']&&_0x577d3b<=this['_range'][_0x352281(0xcf)]&&_0x5f009f>=this[_0x352281(0x301)][_0x352281(0x312)]&&_0x5f009f<=this[_0x352281(0x301)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x352281(0x24f)]({'hovered':!0x1});}[_0x28bb4a(0x17a)](_0x53fb1b){return!0x1;}['_draw'](_0x286c37){const _0x4ef7e4=_0x28bb4a;_0x241ab7[_0x4ef7e4(0x284)][_0x4ef7e4(0x10e)](_0x286c37,{'width':this['width'],'height':this[_0x4ef7e4(0x184)],'strokeWidth':_0x36d077,'stroke':this[_0x4ef7e4(0xd0)],'evented':!0x1,'fill':this[_0x4ef7e4(0x1e2)]}),this[_0x4ef7e4(0x9a)]&&(_0x286c37[_0x4ef7e4(0x289)](),_0x286c37['transform'](0x1,0x0,0x0,0x1,this[_0x4ef7e4(0x198)],this[_0x4ef7e4(0x21b)]==='bottom'?0x0:-0x14),_0x1f3680[_0x4ef7e4(0x10e)](_0x286c37,{'text':this['_name'],'color':this[_0x4ef7e4(0xd0)]}),_0x286c37['restore']());}}var _0x533c75=Object['getOwnPropertyDescriptor'],_0x266a82=(_0x540216,_0x331383,_0x5312de,_0xba5b51)=>{for(var _0x7ffc71=_0xba5b51>0x1?void 0x0:_0xba5b51?_0x533c75(_0x331383,_0x5312de):_0x331383,_0xc14870=_0x540216['length']-0x1,_0x7bfb8f;_0xc14870>=0x0;_0xc14870--)(_0x7bfb8f=_0x540216[_0xc14870])&&(_0x7ffc71=_0x7bfb8f(_0x7ffc71)||_0x7ffc71);return _0x7ffc71;},_0x5bb922=(_0x1379bb,_0x345a31)=>(_0x4f6011,_0x46f43d)=>_0x345a31(_0x4f6011,_0x46f43d,_0x1379bb);const _0x4b24f7=0x1389;let _0x4d81cc=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x46ea44,_0x41ca7f,_0x23d8fc,_0x368d46){const _0x204c68=_0x28bb4a;super(),_0x52ecbf(this,'_cursors',new Set()),_0x52ecbf(this,'_lastPointer',null),(this['_context']=_0x46ea44,this[_0x204c68(0x138)]=_0x41ca7f,this['_collabCursorController']=_0x23d8fc,this[_0x204c68(0x15a)]=_0x368d46,this['_init']());}['_init'](){const _0x1878d5=_0x28bb4a;this[_0x1878d5(0x138)][_0x1878d5(0x148)][_0x1878d5(0x150)](_0x58aad9[_0x1878d5(0x1c4)](this[_0x1878d5(0x18e)]),_0x58aad9[_0x1878d5(0xd6)](_0x4f431c=>{const _0x3202df=_0x1878d5;if(_0x4f431c){const _0x1a5b08=_0x4f431c[_0x3202df(0x1cb)];return _0x548118[_0x3202df(0x264)](this[_0x3202df(0x281)][_0x3202df(0x2a6)](this[_0x3202df(0xa4)][_0x3202df(0x1d4)]),this['_themeService']['currentTheme$'])[_0x3202df(0x150)](_0x58aad9[_0x3202df(0x125)](([_0x2d98dd,_0x4cc96d])=>{const _0x127d55=new Map();return _0x2d98dd['forEach']((_0x403cb7,_0x1372ce)=>{const _0x2dbb4b=_0x57fc;if(_0x403cb7[_0x2dbb4b(0x1bf)]===_0x1a5b08){const _0x18206c={..._0x403cb7};_0x18206c['color']=_0x4cc96d[_0x403cb7[_0x2dbb4b(0x185)]],_0x127d55[_0x2dbb4b(0x31b)](_0x1372ce,_0x18206c);}}),{'skeleton':_0x4f431c,'cursors':_0x127d55};}));}return _0x548118['of']({'skeleton':null,'cursors':new Map()});}))[_0x1878d5(0xa7)](({skeleton:_0x2ab0a9,cursors:_0x4f19ca})=>{const _0x2d5f0b=_0x1878d5;this[_0x2d5f0b(0xdc)](),_0x2ab0a9&&this[_0x2d5f0b(0x324)](_0x2ab0a9,_0x4f19ca);}),this['_sheetSkeletonManagerService'][_0x1878d5(0x148)][_0x1878d5(0xa7)](_0x3f42f4=>{const _0x7068e8=_0x1878d5;if(_0x3f42f4==null)return;const {skeleton:_0xc418bc}=_0x3f42f4,{scene:_0x500447}=this[_0x7068e8(0xa4)];_0x500447['onPointerMove$']['subscribeEvent'](_0x15b207[_0x7068e8(0x2e6)](_0x3f68cb=>{const _0x184469=_0x7068e8;var _0x40f56d,_0x53c0cf;const {offsetX:_0x424e2a,offsetY:_0x162823}=_0x3f68cb,{x:_0x4d58e9,y:_0x3f07e0}=_0x500447[_0x184469(0x259)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x424e2a,_0x162823])),{scaleX:_0x5d9591,scaleY:_0x46dd82}=_0x500447[_0x184469(0x1a7)](),_0x4f1ad1=_0x500447[_0x184469(0x2b0)](_0x241ab7[_0x184469(0xf5)]['VIEW_MAIN']),_0x17464b=_0x500447[_0x184469(0x19a)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x4d58e9,_0x3f07e0]),_0x4f1ad1),_0x4024d9=_0xc418bc[_0x184469(0x1a3)](_0x424e2a,_0x162823,_0x5d9591,_0x46dd82,_0x17464b);((_0x40f56d=this[_0x184469(0xcb)])==null?void 0x0:_0x40f56d['column'])===_0x4024d9[_0x184469(0x2e4)]&&((_0x53c0cf=this[_0x184469(0xcb)])==null?void 0x0:_0x53c0cf[_0x184469(0x183)])===_0x4024d9[_0x184469(0x183)]||this[_0x184469(0x2d4)]['forEach'](_0x3e2af0=>{const _0x4e4a27=_0x184469;_0x3e2af0[_0x4e4a27(0x283)](_0x4024d9);});},0x64));});}[_0x28bb4a(0x324)](_0x244a76,_0xba7e47){const _0x16e0ef=_0x28bb4a;var _0x1054bf;const _0x3e6068=(_0x1054bf=this[_0x16e0ef(0x138)][_0x16e0ef(0x296)]())==null?void 0x0:_0x1054bf[_0x16e0ef(0x302)];if(!_0x3e6068)return;const _0x5d58a5=this[_0x16e0ef(0x186)]();if(!_0x5d58a5)return;this[_0x16e0ef(0x2d4)][_0x16e0ef(0x15d)](_0x350f59=>{const _0x4e086f=_0x16e0ef;_0x350f59[_0x4e086f(0x10a)]();});const {scene:_0x2477f9}=_0x5d58a5,_0x339fad=_0x2a8f29(Array[_0x16e0ef(0x217)](_0xba7e47['values']()))[_0x16e0ef(0x125)](_0x2389ad=>{const _0x489fec=_0x16e0ef,{color:_0x9a81ee,range:_0x236577,name:_0x40ae6b,selection:_0x1dfe15,sheetID:_0x54b464}=_0x2389ad,{startColumn:_0x144063,startRow:_0x231058,endColumn:_0x53bb80,endRow:_0x473035}=_0x236577,_0x3725e8=_0x20a1dc[_0x489fec(0x1a2)](_0x231058,_0x144063,_0x2477f9,_0x3e6068),_0x3c48a0=_0x20a1dc['getCoordByCell'](_0x473035,_0x53bb80,_0x2477f9,_0x3e6068),{columnHeaderHeightAndMarginTop:_0x17d75e}=_0x3e6068,{startX:_0x2acaaf,startY:_0x19270a}=_0x3725e8,{endX:_0x4d6854,endY:_0x3694fa}=_0x3c48a0,_0x2efae7=_0x4d6854-_0x2acaaf,_0xe6f19c=_0x3694fa-_0x19270a,_0x29d647={'labelPosition':_0x19270a-_0x17d75e>=_0x528f51?_0x489fec(0x2d6):_0x489fec(0x2f9),'sheetID':_0x54b464,'range':_0x236577,'color':_0x9a81ee,'name':_0x40ae6b,'selection':_0x1dfe15,'left':_0x2acaaf,'top':_0x19270a,'width':_0x2efae7,'height':_0xe6f19c,'evented':!0x1,'zIndex':_0x4b24f7};return new _0x2dea2d(_0x40ae6b,_0x29d647);});_0x2477f9[_0x16e0ef(0x1af)](_0x339fad,_0x45f627),this[_0x16e0ef(0x2d4)]=new Set(_0x339fad);}[_0x28bb4a(0xdc)](){const _0x702f27=_0x28bb4a;var _0x14f812;(_0x14f812=this['_cursors'])==null||_0x14f812[_0x702f27(0x15d)](_0x559b74=>_0x559b74['dispose']());}[_0x28bb4a(0x186)](){const _0x352cc3=_0x28bb4a;return _0x20a1dc[_0x352cc3(0xaf)](this[_0x352cc3(0xa4)][_0x352cc3(0x101)],this[_0x352cc3(0xa4)]);}};_0x4d81cc=_0x266a82([_0x5bb922(0x1,_0x15b207[_0x28bb4a(0x99)](_0x20a1dc[_0x28bb4a(0x210)])),_0x5bb922(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x5bb922(0x3,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x130)]))],_0x4d81cc);function _0x2a8f29(_0x3c30a2){const _0x40ccfd=_0x28bb4a,_0xd13ed1=new Map();return _0x3c30a2['forEach'](_0x46dc3a=>{const _0x3db948=_0x57fc;if(_0xd13ed1[_0x3db948(0x2e9)](_0x46dc3a['selection'])){const _0x1afb85=_0xd13ed1[_0x3db948(0x2ca)](_0x46dc3a[_0x3db948(0xb7)]);_0x1afb85['name']+=',\x20'+_0x46dc3a['name'];}else _0xd13ed1[_0x3db948(0x31b)](_0x46dc3a[_0x3db948(0xb7)],_0x46dc3a);}),Array[_0x40ccfd(0x217)](_0xd13ed1[_0x40ccfd(0x263)]());}var _0x1c9457=function(){const _0xce528d=_0x28bb4a;return _0x1c9457=Object[_0xce528d(0x1b5)]||function(_0x4a5074){const _0x527dbd=_0xce528d;for(var _0x546d8a,_0x5cad88=0x1,_0x1f00ca=arguments[_0x527dbd(0x27e)];_0x5cad88<_0x1f00ca;_0x5cad88++){_0x546d8a=arguments[_0x5cad88];for(var _0x4619ff in _0x546d8a)Object[_0x527dbd(0x31a)]['hasOwnProperty'][_0x527dbd(0x251)](_0x546d8a,_0x4619ff)&&(_0x4a5074[_0x4619ff]=_0x546d8a[_0x4619ff]);}return _0x4a5074;},_0x1c9457[_0xce528d(0x1b6)](this,arguments);},_0x3ccfab=function(_0x5ba65f,_0x2b93c7){const _0xf47a96=_0x28bb4a;var _0x61b5c3={};for(var _0xe1e0fe in _0x5ba65f)Object['prototype']['hasOwnProperty'][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe)&&_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe)<0x0&&(_0x61b5c3[_0xe1e0fe]=_0x5ba65f[_0xe1e0fe]);if(_0x5ba65f!=null&&typeof Object[_0xf47a96(0xe2)]==_0xf47a96(0xe8)){for(var _0x3933db=0x0,_0xe1e0fe=Object[_0xf47a96(0xe2)](_0x5ba65f);_0x3933db<_0xe1e0fe[_0xf47a96(0x27e)];_0x3933db++)_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe[_0x3933db])<0x0&&Object[_0xf47a96(0x31a)][_0xf47a96(0x2cc)][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe[_0x3933db])&&(_0x61b5c3[_0xe1e0fe[_0x3933db]]=_0x5ba65f[_0xe1e0fe[_0x3933db]]);}return _0x61b5c3;},_0x34b6a9=_0x504940[_0x28bb4a(0x294)](function(_0x2746d7,_0x326122){const _0x40847e=_0x28bb4a;var _0x83b6e3=_0x2746d7[_0x40847e(0x190)],_0x5a62ed=_0x2746d7['id'],_0x54f407=_0x2746d7[_0x40847e(0x25f)],_0x337866=_0x2746d7[_0x40847e(0x22c)],_0x1ef19e=_0x3ccfab(_0x2746d7,[_0x40847e(0x190),'id',_0x40847e(0x25f),_0x40847e(0x22c)]),_0x5ec8ce='univerjs-icon\x20univerjs-icon-'[_0x40847e(0x18d)](_0x5a62ed,'\x20')[_0x40847e(0x18d)](_0x54f407||'')[_0x40847e(0xb3)](),_0x686a36=_0x504940[_0x40847e(0x2df)]('_'['concat'](_0x481818()));return _0x10aa57(_0x83b6e3,''[_0x40847e(0x18d)](_0x5a62ed),{'defIds':_0x83b6e3[_0x40847e(0x267)],'idSuffix':_0x686a36[_0x40847e(0xa5)]},_0x1c9457({'ref':_0x326122,'className':_0x5ec8ce},_0x1ef19e),_0x337866);});function _0x10aa57(_0x57c192,_0x2c16ce,_0xc0b7d4,_0x1b5c9f,_0x1200d3){const _0x11960a=_0x28bb4a;return _0x504940[_0x11960a(0x8b)](_0x57c192['tag'],_0x1c9457(_0x1c9457({'key':_0x2c16ce},_0x20c8dc(_0x57c192,_0xc0b7d4,_0x1200d3)),_0x1b5c9f),(_0x4c0b5d(_0x57c192,_0xc0b7d4)[_0x11960a(0x2c2)]||[])['map'](function(_0x265f1d,_0x2fe38c){const _0x222ecf=_0x11960a;return _0x10aa57(_0x265f1d,''['concat'](_0x2c16ce,'-')[_0x222ecf(0x18d)](_0x57c192[_0x222ecf(0x219)],'-')['concat'](_0x2fe38c),_0xc0b7d4,void 0x0,_0x1200d3);}));}function _0x20c8dc(_0x52a0f0,_0x1bb475,_0x43abc4){const _0x5777aa=_0x28bb4a;var _0x1e075e=_0x1c9457({},_0x52a0f0[_0x5777aa(0x2ab)]);_0x43abc4!=null&&_0x43abc4[_0x5777aa(0x24e)]&&_0x1e075e[_0x5777aa(0xc5)]==='colorChannel1'&&(_0x1e075e[_0x5777aa(0xc5)]=_0x43abc4[_0x5777aa(0x24e)]),_0x52a0f0[_0x5777aa(0x219)]==='mask'&&_0x1e075e['id']&&(_0x1e075e['id']=_0x1e075e['id']+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)['forEach'](function(_0x39bf94){const _0x3a9f6b=_0x5777aa;var _0xc045be=_0x39bf94[0x0],_0xa2fb5=_0x39bf94[0x1];_0xc045be===_0x3a9f6b(0x2af)&&typeof _0xa2fb5=='string'&&(_0x1e075e[_0xc045be]=_0xa2fb5['replace'](/url\(#(.*)\)/,_0x3a9f6b(0x245)[_0x3a9f6b(0x18d)](_0x1bb475[_0x3a9f6b(0x2c4)],')')));});var _0x4f9771=_0x1bb475[_0x5777aa(0x267)];return!_0x4f9771||_0x4f9771[_0x5777aa(0x27e)]===0x0||(_0x52a0f0[_0x5777aa(0x219)]==='use'&&_0x1e075e[_0x5777aa(0x234)]&&(_0x1e075e[_0x5777aa(0x234)]=_0x1e075e[_0x5777aa(0x234)]+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)[_0x5777aa(0x15d)](function(_0x18f74f){const _0x58a3bd=_0x5777aa;var _0x304409=_0x18f74f[0x0],_0xac1734=_0x18f74f[0x1];typeof _0xac1734==_0x58a3bd(0x13e)&&(_0x1e075e[_0x304409]=_0xac1734[_0x58a3bd(0x27d)](/url\(#(.*)\)/,_0x58a3bd(0x245)[_0x58a3bd(0x18d)](_0x1bb475[_0x58a3bd(0x2c4)],')')));})),_0x1e075e;}function _0x4c0b5d(_0x42024f,_0x3529da){const _0x47b23a=_0x28bb4a;var _0x5381ca,_0x4cfc9d=_0x3529da[_0x47b23a(0x267)];return!_0x4cfc9d||_0x4cfc9d[_0x47b23a(0x27e)]===0x0?_0x42024f:_0x42024f[_0x47b23a(0x219)]===_0x47b23a(0xa9)&&(!((_0x5381ca=_0x42024f[_0x47b23a(0x2c2)])===null||_0x5381ca===void 0x0)&&_0x5381ca[_0x47b23a(0x27e)])?_0x1c9457(_0x1c9457({},_0x42024f),{'children':_0x42024f[_0x47b23a(0x2c2)]['map'](function(_0x1cf8c6){const _0x3c4b92=_0x47b23a;return typeof _0x1cf8c6['attrs']['id']=='string'&&_0x4cfc9d&&_0x4cfc9d[_0x3c4b92(0x2e8)](_0x1cf8c6[_0x3c4b92(0x2ab)]['id'])>-0x1?_0x1c9457(_0x1c9457({},_0x1cf8c6),{'attrs':_0x1c9457(_0x1c9457({},_0x1cf8c6[_0x3c4b92(0x2ab)]),{'id':_0x1cf8c6[_0x3c4b92(0x2ab)]['id']+_0x3529da[_0x3c4b92(0x2c4)]})}):_0x1cf8c6;})}):_0x42024f;}function _0x481818(){const _0x4a1108=_0x28bb4a;return Math[_0x4a1108(0x11c)]()[_0x4a1108(0x126)](0x24)[_0x4a1108(0xc8)](0x2,0x8);}_0x34b6a9['displayName']=_0x28bb4a(0xe0);var _0x525714={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0x30d),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0x115)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':_0x28bb4a(0x240),'d':_0x28bb4a(0x1fe),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x28bb4a(0xa9),'attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0x270)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x19f35a=_0x504940[_0x28bb4a(0x294)](function(_0x239b1b,_0xc8e5c4){const _0x577791=_0x28bb4a;return _0x504940[_0x577791(0x8b)](_0x34b6a9,Object[_0x577791(0x1b5)]({},_0x239b1b,{'id':'off-line-single','ref':_0xc8e5c4,'icon':_0x525714}));});_0x19f35a[_0x28bb4a(0x206)]=_0x28bb4a(0x1e7);var _0x23edbc={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0xf0),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0xde)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x28bb4a(0x254),'strokeLinejoin':_0x28bb4a(0x254),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0xa2)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9),'transform':_0x28bb4a(0x11f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x78d074=_0x504940['forwardRef'](function(_0x2f318f,_0x30f8c0){const _0x2ed18d=_0x28bb4a;return _0x504940[_0x2ed18d(0x8b)](_0x34b6a9,Object[_0x2ed18d(0x1b5)]({},_0x2f318f,{'id':_0x2ed18d(0xea),'ref':_0x30f8c0,'icon':_0x23edbc}));});_0x78d074[_0x28bb4a(0x206)]=_0x28bb4a(0x13c);const _0x5e0f49={'onlineStatusIcon':_0x28bb4a(0xd5),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x28bb4a(0x10d),'online':_0x28bb4a(0x27a),'offline':'univer-offline'};function _0x152b1c(_0x8d5b7d){const _0x3167c8=_0x28bb4a;switch(_0x8d5b7d){case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x269)]:return _0x3167c8(0x117);case _0x3fe587[_0x3167c8(0x153)]['CONFLICT']:return'collabStatus.conflict';case _0x3fe587[_0x3167c8(0x153)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x31f)]:return _0x3167c8(0xfb);case _0x3fe587['CollaborationStatus'][_0x3167c8(0x252)]:case _0x3fe587['CollaborationStatus'][_0x3167c8(0x201)]:return _0x3167c8(0xd2);case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2ac)]:case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2db)]:return'collabStatus.synced';}}function _0x184ea2(_0x4f2725){const _0x3c4583=_0x28bb4a,{status$:_0x9267e8}=_0x4f2725,_0x571162=_0x4b9e13['useObservable'](_0x9267e8,_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x31f)]),_0x5432d2=_0x4b9e13['useDependency'](_0x15b207[_0x3c4583(0x203)]),_0x3c3883=_0x4b9e13['useDependency'](_0x3fe587['CollaborationSessionService']),_0x54ba76=_0x571162!==_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x269)],_0x5a0d9a=_0x5432d2['t'](_0x152b1c(_0x571162)),_0xa57b49=_0x5a4da0['clsx'](_0x5e0f49[_0x3c4583(0x226)],{[_0x5e0f49[_0x3c4583(0xda)]]:_0x54ba76,[_0x5e0f49[_0x3c4583(0x23b)]]:!_0x54ba76}),_0x353358=_0x54ba76?_0x4d3f92['jsx'](_0x78d074,{}):_0x4d3f92['jsx'](_0x19f35a,{}),_0x5b93fc=_0x504940['useCallback'](()=>{_0x54ba76||_0x3c3883['reconnect']();},[_0x54ba76,_0x3c3883]);function _0x3fde85(){const _0x485dbe=_0x3c4583;return _0x4d3f92['jsxs'](_0x485dbe(0x2b6),{'className':_0x5a4da0[_0x485dbe(0x16c)](_0xa57b49,_0x485dbe(0x2c7)),'onClick':_0x5b93fc,'children':[_0x4d3f92[_0x485dbe(0xb4)]('div',{'className':_0x5e0f49['onlineStatusIcon'],'children':_0x353358}),_0x4d3f92['jsx']('div',{'className':_0x5e0f49[_0x485dbe(0xd8)],'children':_0x5a0d9a})]});}return _0x54ba76?_0x3fde85():_0x4d3f92[_0x3c4583(0xb4)](_0x5a4da0[_0x3c4583(0x321)],{'title':_0x5432d2['t'](_0x3c4583(0x23d)),'children':_0x3fde85()});}var _0xba99c8=Object[_0x28bb4a(0x11a)],_0x208148=(_0x34d5e0,_0x21e9f4,_0x355031,_0x4f3ab1)=>{for(var _0x30fcff=_0x4f3ab1>0x1?void 0x0:_0x4f3ab1?_0xba99c8(_0x21e9f4,_0x355031):_0x21e9f4,_0x1503be=_0x34d5e0['length']-0x1,_0x2443b3;_0x1503be>=0x0;_0x1503be--)(_0x2443b3=_0x34d5e0[_0x1503be])&&(_0x30fcff=_0x2443b3(_0x30fcff)||_0x30fcff);return _0x30fcff;},_0x1dbd09=(_0x1d9855,_0x2b1edc)=>(_0x15b258,_0x2518c8)=>_0x2b1edc(_0x15b258,_0x2518c8,_0x1d9855);_0x31bd5e[_0x28bb4a(0x241)]=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x4d8533,_0x508c64,_0x195afc,_0xcda070){const _0x2b49df=_0x28bb4a;super(),_0x52ecbf(this,'_status$',new _0x548118[(_0x2b49df(0x1bb))](_0x3fe587[_0x2b49df(0x153)][_0x2b49df(0x31f)])),(this[_0x2b49df(0x2cf)]=_0x4d8533,this[_0x2b49df(0x25e)]=_0x508c64,this[_0x2b49df(0x122)]=_0x195afc,this[_0x2b49df(0x1c2)]=_0xcda070,this[_0x2b49df(0x13d)](),this[_0x2b49df(0x2de)]());}['_initStatusListener'](){const _0x55066f=_0x28bb4a;this[_0x55066f(0x280)](this['_univerInstanceService'][_0x55066f(0x319)]['pipe'](_0x548118[_0x55066f(0xd6)](()=>{const _0x1563d1=_0x55066f,_0x5ca226=this[_0x1563d1(0x2cf)][_0x1563d1(0xcc)]();return _0x5ca226?this[_0x1563d1(0x122)][_0x1563d1(0x2a1)](_0x5ca226[_0x1563d1(0x220)]()):_0x548118['of'](null);}),_0x548118['switchMap'](_0x22fcf4=>_0x22fcf4?_0x22fcf4[_0x55066f(0x179)]:_0x548118['of'](_0x3fe587['CollaborationStatus'][_0x55066f(0x31f)])))['subscribe'](_0x4f9c9a=>{const _0x32a694=_0x55066f;this[_0x32a694(0x13b)]['next'](_0x4f9c9a);}));}['_initStatusComponent'](){const _0x290eae=_0x28bb4a;this[_0x290eae(0x280)](this[_0x290eae(0x1c2)][_0x290eae(0x214)](_0x4b9e13['BuiltInUIPart'][_0x290eae(0x88)],()=>_0x4b9e13[_0x290eae(0xbf)](_0x45df84({'status$':this[_0x290eae(0x13b)]['asObservable']()}),this['_injector'])));}},_0x31bd5e[_0x28bb4a(0x241)]=_0x208148([_0x1dbd09(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x1dbd09(0x1,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x1dbd09(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationController'])),_0x1dbd09(0x3,_0x4b9e13[_0x28bb4a(0x157)])],_0x31bd5e['DesktopCollaborationStatusDisplayController']);function _0x45df84(_0x41c0c3){const {status$:_0x491a11}=_0x41c0c3;return function(){return _0x4d3f92['jsx'](_0x184ea2,{'status$':_0x491a11});};}var _0xcebf95=Object['getOwnPropertyDescriptor'],_0x37b525=(_0x4add48,_0xf2e21e,_0x2afc93,_0x2d7ec6)=>{const _0x28f80b=_0x28bb4a;for(var _0x626131=_0x2d7ec6>0x1?void 0x0:_0x2d7ec6?_0xcebf95(_0xf2e21e,_0x2afc93):_0xf2e21e,_0x4cad07=_0x4add48[_0x28f80b(0x27e)]-0x1,_0x34a679;_0x4cad07>=0x0;_0x4cad07--)(_0x34a679=_0x4add48[_0x4cad07])&&(_0x626131=_0x34a679(_0x626131)||_0x626131);return _0x626131;},_0x27ff40=(_0x20ba53,_0x1aa120)=>(_0x531dba,_0x287f3b)=>_0x1aa120(_0x531dba,_0x287f3b,_0x20ba53);let _0x45571b=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x8b5d8d,_0x3bc248,_0x399d48,_0x595ecf,_0x52631c,_0x575016){const _0x531dd7=_0x28bb4a;super(),this[_0x531dd7(0x229)]=_0x8b5d8d,this[_0x531dd7(0x1e0)]=_0x3bc248,this['_collaborationUIEventService']=_0x399d48,this[_0x531dd7(0x1cc)]=_0x595ecf,this[_0x531dd7(0x2fc)]=_0x52631c,this[_0x531dd7(0x2d0)]=_0x575016,this[_0x531dd7(0x1b1)](),this[_0x531dd7(0x124)]();}[_0x28bb4a(0x1b1)](){const _0x133410=_0x28bb4a;this[_0x133410(0x280)](this[_0x133410(0x229)][_0x133410(0x309)](()=>{const _0x502203=_0x133410;if(this[_0x502203(0x1e0)][_0x502203(0x20d)]['size'])return this[_0x502203(0x2d0)]['t'](_0x502203(0x102));}));}['_initEvent'](){const _0x4042c5=_0x28bb4a;this['disposeWithMe'](this[_0x4042c5(0x26b)][_0x4042c5(0xdd)]['subscribe'](_0x6fc5ad=>{const _0x445b8f=_0x4042c5;_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x277))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x213)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Warning'],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)]['PERMISSION_DENIED']&&this[_0x445b8f(0x2fc)][_0x445b8f(0x29d)]({'title':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x308)),'content':this[_0x445b8f(0x2d0)]['t']('permission.content'),'type':_0x445b8f(0x1d8),'duration':0x0}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x202)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x1bd)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))+'('+_0x6fc5ad[_0x445b8f(0x137)]+')'}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x1dd)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x6fc5ad[_0x445b8f(0x137)]||'')}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x1ba)]&&this['_messageService']['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x237))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x188)]&&this[_0x445b8f(0x1cc)]['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Error'],'content':this['_localeService']['t'](_0x445b8f(0xaa))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x22b)]&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x1bd)],'content':this['_localeService']['t'](_0x445b8f(0x2ae))});}));}};_0x45571b=_0x37b525([_0x27ff40(0x0,_0x4b9e13[_0x28bb4a(0xf2)]),_0x27ff40(0x1,_0x3fe587[_0x28bb4a(0x15e)]),_0x27ff40(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x10f)])),_0x27ff40(0x3,_0x4b9e13[_0x28bb4a(0xf1)]),_0x27ff40(0x4,_0x4b9e13[_0x28bb4a(0x209)]),_0x27ff40(0x5,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x203)]))],_0x45571b);const _0x275f4a=_0x28bb4a(0x14c),_0x311072={},_0x5e67ee=_0x15b207[_0x28bb4a(0x2e1)](_0x28bb4a(0x227));var _0x38553a=Object[_0x28bb4a(0x11a)],_0x279b43=(_0x3bf234,_0x4f2adb,_0x2058a9,_0x553c0e)=>{const _0x97a3cd=_0x28bb4a;for(var _0x194dd9=_0x553c0e>0x1?void 0x0:_0x553c0e?_0x38553a(_0x4f2adb,_0x2058a9):_0x4f2adb,_0x265830=_0x3bf234[_0x97a3cd(0x27e)]-0x1,_0x35352e;_0x265830>=0x0;_0x265830--)(_0x35352e=_0x3bf234[_0x265830])&&(_0x194dd9=_0x35352e(_0x194dd9)||_0x194dd9);return _0x194dd9;},_0x80ec2e=(_0x432308,_0x43ff8c)=>(_0x2e7792,_0x228b17)=>_0x43ff8c(_0x2e7792,_0x228b17,_0x432308);_0x31bd5e[_0x28bb4a(0x2a7)]=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x37012a,_0x4cf28d,_0x310f16,_0x2533c3,_0x4ac626){const _0xd7d94b=_0x28bb4a;super(),this['_urlService']=_0x37012a,this[_0xd7d94b(0x279)]=_0x4cf28d,this[_0xd7d94b(0x12f)]=_0x310f16,this['_dataLoaderService']=_0x2533c3,_0x4ac626?_0x4ac626==null||_0x4ac626['whenReady']()[_0xd7d94b(0x8f)](()=>this[_0xd7d94b(0x93)]()):(this[_0xd7d94b(0x279)]['debug'](_0xd7d94b(0x17b),_0xd7d94b(0xae)),this[_0xd7d94b(0x93)]());}async['_init'](){const _0xbe14fb=_0x28bb4a,_0x4e3041=this[_0xbe14fb(0x2a2)]['getParam']('unit'),_0x155181=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)]('type'),_0xae3e8b=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)](_0xbe14fb(0x238));if(!_0x4e3041||!_0x155181){this[_0xbe14fb(0x279)][_0xbe14fb(0x2f4)](_0xbe14fb(0x17b),_0xbe14fb(0x10c));return;}const _0x30152b=await this[_0xbe14fb(0x2bb)][_0xbe14fb(0x2f1)](_0x4e3041,Number(_0x155181),_0xae3e8b);_0x30152b&&_0x30152b instanceof _0x15b207['Workbook']&&this['_setupSubUnitSync'](_0x30152b);}async[_0x28bb4a(0x21f)](_0x4c3b72){const _0x40a6d6=_0x28bb4a;await this[_0x40a6d6(0x2be)](_0x4c3b72),_0x4c3b72[_0x40a6d6(0x121)]['pipe'](_0x548118[_0x40a6d6(0x1c4)](this[_0x40a6d6(0x18e)]))[_0x40a6d6(0xa7)](_0x259760=>{const _0x2a4647=_0x40a6d6;_0x259760&&this[_0x2a4647(0x182)](_0x259760);}),this['_urlService']['urlChange$'][_0x40a6d6(0x150)](_0x548118[_0x40a6d6(0x1c4)](this['dispose$']))['subscribe'](()=>this[_0x40a6d6(0x2be)](_0x4c3b72));}[_0x28bb4a(0x182)](_0xdcf323,_0x1ce4ce=!0x1){const _0x280340=_0x28bb4a,_0x5bd3a1=this[_0x280340(0x2a2)]['getParam'](_0x280340(0x238));_0xdcf323['getSheetId']()!==_0x5bd3a1&&this[_0x280340(0x2a2)][_0x280340(0xcd)](_0x280340(0x238),_0xdcf323[_0x280340(0x142)](),_0x1ce4ce);}async['_updateSubUnitFromURLParams'](_0x2aeadd){const _0xb3699e=_0x28bb4a;var _0x4e63b4;const _0x581e9a=this[_0xb3699e(0x2a2)][_0xb3699e(0x21c)](_0xb3699e(0x238));if(!_0x581e9a||!_0x2aeadd[_0xb3699e(0x18c)](_0x581e9a)){const _0x400a40=_0x2aeadd[_0xb3699e(0x2f7)]()[0x0],_0x4d47c0=_0x2aeadd[_0xb3699e(0x18c)](_0x400a40);if(!_0x4d47c0)return;this[_0xb3699e(0x182)](_0x4d47c0,!0x0),await this['_commandService'][_0xb3699e(0x2d3)](_0x159c7f['SetWorksheetActivateCommand']['id'],{'unitId':_0x2aeadd['getUnitId'](),'subUnitId':_0x400a40});return;}((_0x4e63b4=_0x2aeadd[_0xb3699e(0x105)]())==null?void 0x0:_0x4e63b4[_0xb3699e(0x142)]())!==_0x581e9a&&await this[_0xb3699e(0x12f)][_0xb3699e(0x2d3)](_0x159c7f[_0xb3699e(0x16e)]['id'],{'unitId':_0x2aeadd[_0xb3699e(0x220)](),'subUnitId':_0x581e9a});}},_0x31bd5e['CollaborationDataLoaderController']=_0x279b43([_0x80ec2e(0x0,_0x5e67ee),_0x80ec2e(0x1,_0x15b207[_0x28bb4a(0x176)]),_0x80ec2e(0x2,_0x15b207[_0x28bb4a(0x195)]),_0x80ec2e(0x3,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x2f0)])),_0x80ec2e(0x4,_0x15b207[_0x28bb4a(0x291)](_0x3a7d89['IRemoteInstanceService']))],_0x31bd5e[_0x28bb4a(0x2a7)]);var _0xc0ef89=Object['getOwnPropertyDescriptor'],_0xd0ea5b=(_0x22eaeb,_0x15d2b6,_0x242541,_0x13f00b)=>{const _0x4a7e8a=_0x28bb4a;for(var _0x5b50a4=_0x13f00b>0x1?void 0x0:_0x13f00b?_0xc0ef89(_0x15d2b6,_0x242541):_0x15d2b6,_0x553920=_0x22eaeb[_0x4a7e8a(0x27e)]-0x1,_0x2bc9e3;_0x553920>=0x0;_0x553920--)(_0x2bc9e3=_0x22eaeb[_0x553920])&&(_0x5b50a4=_0x2bc9e3(_0x5b50a4)||_0x5b50a4);return _0x5b50a4;},_0x4af57b=(_0x1c3779,_0x494e93)=>(_0x797563,_0x3b195e)=>_0x494e93(_0x797563,_0x3b195e,_0x1c3779);let _0x572cde=class{constructor(_0x289396,_0x3f3c6f,_0x5eb7ec){const _0x1ece1b=_0x28bb4a;this[_0x1ece1b(0x25e)]=_0x289396,this[_0x1ece1b(0x1d9)]=_0x3f3c6f,this['_renderManagerService']=_0x5eb7ec;}['transformIMECache'](_0x496f2a){const _0xd8a15a=_0x28bb4a;this[_0xd8a15a(0x31c)](_0x496f2a),this[_0xd8a15a(0x311)](_0x496f2a);}[_0x28bb4a(0x1b2)](_0x16e960){const _0x5debf3=_0x28bb4a,{unitID:_0xa3c3ae}=_0x16e960,_0x2b5c7a=this['_renderManagerService'][_0x5debf3(0x23f)](_0xa3c3ae)[_0x5debf3(0x14f)](_0x57acc0[_0x5debf3(0x16f)]),{redoCache:_0x3ba66c}=_0x2b5c7a[_0x5debf3(0x1f1)]();if(_0x3ba66c[_0x5debf3(0x27e)]===0x0)return _0x16e960;let _0x48854a=_0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960[_0x5debf3(0xa1)][0x0]);for(let _0x45ff91=0x0;_0x45ff91<_0x3ba66c['length'];_0x45ff91++){const _0x176d2f={'id':_0x5debf3(0xb9),'params':{..._0x3ba66c[_0x45ff91]}},_0x56a271=this[_0x5debf3(0x1d9)]['transformMutation'](_0x48854a,_0x176d2f,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x56a271))throw _0x56a271[_0x5debf3(0x1d8)];_0x48854a=_0x56a271[_0x5debf3(0x13a)];}return{..._0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960),'mutations':[_0x48854a]};}[_0x28bb4a(0x31c)](_0x4ba71f){const _0x57e867=_0x28bb4a,{unitID:_0x347170}=_0x4ba71f,_0x53c4fa=this[_0x57e867(0x149)][_0x57e867(0x23f)](_0x347170)[_0x57e867(0x14f)](_0x57acc0[_0x57e867(0x16f)]),{undoCache:_0x53cf90,redoCache:_0x57e425}=_0x53c4fa[_0x57e867(0x1f1)]();if(_0x53cf90['length']===0x0||_0x57e425[_0x57e867(0x27e)]===0x0)return;const _0x599446=[],_0x34d474=[];let _0x4df0b7=_0x15b207['Tools']['deepClone'](_0x4ba71f['mutations'][0x0]),_0x3bed18=_0x15b207[_0x57e867(0xb8)][_0x57e867(0x8c)](_0x4ba71f[_0x57e867(0xa1)][0x0]);for(let _0x4f4eb0=_0x53cf90['length']-0x1;_0x4f4eb0>=0x0;_0x4f4eb0--){const _0x19d552={'id':'doc.mutation.rich-text-editing','params':{..._0x53cf90[_0x4f4eb0]}},_0x42641d={'id':_0x57e867(0xb9),'params':{..._0x57e425[_0x4f4eb0]}},_0x47e508=this[_0x57e867(0x1d9)]['transformMutation'](_0x4df0b7,_0x19d552,!0x1),_0x5af986=this[_0x57e867(0x1d9)][_0x57e867(0x100)](_0x3bed18,_0x42641d,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x47e508))throw _0x47e508[_0x57e867(0x1d8)];if(_0x38de55[_0x57e867(0x1fa)](_0x5af986))throw _0x5af986[_0x57e867(0x1d8)];_0x599446['unshift'](_0x47e508[_0x57e867(0x2f2)][_0x57e867(0x2dc)]),_0x34d474['unshift'](_0x5af986['m2Prime'][_0x57e867(0x2dc)]),_0x4df0b7=_0x47e508[_0x57e867(0x13a)],_0x3bed18=_0x5af986[_0x57e867(0x13a)];}_0x53c4fa[_0x57e867(0x10b)]({'undoCache':_0x599446,'redoCache':_0x34d474});}[_0x28bb4a(0x311)](_0x4a9555){const _0x20310c=_0x28bb4a,{unitID:_0x295ed2}=_0x4a9555,_0x46da36=this[_0x20310c(0x149)][_0x20310c(0x23f)](_0x295ed2)[_0x20310c(0x14f)](_0x57acc0[_0x20310c(0x16f)]),_0x11a3ca=_0x46da36[_0x20310c(0x1f8)]();if(_0x11a3ca==null)return;const _0x43b2e3=[{'id':_0x20310c(0xb9),'params':{'unitId':_0x4a9555[_0x20310c(0x136)],'actions':null,'textRanges':[_0x11a3ca]}}],_0x2acd9c=this['_transformService'][_0x20310c(0x322)](_0x4a9555,_0x43b2e3);if(!_0x38de55['isTransformMutationsWithChangesetSuccess'](_0x2acd9c))throw _0x2acd9c[_0x20310c(0x1d8)];const _0x226eba=_0x2acd9c[_0x20310c(0x2f2)][0x0][_0x20310c(0x2dc)][_0x20310c(0x1a4)];Array[_0x20310c(0x1bc)](_0x226eba)&&_0x226eba[_0x20310c(0x27e)]&&_0x46da36[_0x20310c(0x1d1)](_0x226eba[0x0]);}};_0x572cde=_0xd0ea5b([_0x4af57b(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207['Injector'])),_0x4af57b(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0x4af57b(0x2,_0x241ab7[_0x28bb4a(0x164)])],_0x572cde);var _0x50e341=Object['getOwnPropertyDescriptor'],_0x205446=(_0x5b8da1,_0x35fc98,_0x20ae66,_0x274754)=>{const _0x2ad27d=_0x28bb4a;for(var _0x5bbb2a=_0x274754>0x1?void 0x0:_0x274754?_0x50e341(_0x35fc98,_0x20ae66):_0x35fc98,_0x562ce2=_0x5b8da1[_0x2ad27d(0x27e)]-0x1,_0x58325;_0x562ce2>=0x0;_0x562ce2--)(_0x58325=_0x5b8da1[_0x562ce2])&&(_0x5bbb2a=_0x58325(_0x5bbb2a)||_0x5bbb2a);return _0x5bbb2a;},_0xe1ed0d=(_0x349f97,_0x399056)=>(_0x526b3a,_0x4f216a)=>_0x399056(_0x526b3a,_0x4f216a,_0x349f97);let _0x536821=class{constructor(_0x44838f,_0x2d3f27,_0x528733){const _0x349772=_0x28bb4a;this[_0x349772(0x25e)]=_0x44838f,this[_0x349772(0x1d9)]=_0x2d3f27,this['_docStateChangeManagerService']=_0x528733;}[_0x28bb4a(0xb6)](_0x2dd543){const _0x39bdd5=_0x28bb4a;this[_0x39bdd5(0x204)](_0x2dd543);}[_0x28bb4a(0x1b2)](_0x30dd1e){const _0x2003b5=_0x28bb4a,{unitID:_0x25bbc9}=_0x30dd1e,{collaboration:_0x50efb9}=this[_0x2003b5(0x8d)][_0x2003b5(0x22a)](_0x25bbc9);if(_0x50efb9['length']===0x0)return _0x30dd1e;let _0x5479d5=_0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e['mutations'][0x0]);for(let _0x43c22f=0x0;_0x43c22f<_0x50efb9[_0x2003b5(0x27e)];_0x43c22f++){const _0x3f6be4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50efb9[_0x43c22f]['unitId'],..._0x50efb9[_0x43c22f]['redoState']}},_0x23411c=this[_0x2003b5(0x1d9)][_0x2003b5(0x100)](_0x5479d5,_0x3f6be4,!0x1);if(_0x38de55[_0x2003b5(0x1fa)](_0x23411c))throw _0x23411c[_0x2003b5(0x1d8)];_0x5479d5=_0x23411c[_0x2003b5(0x13a)];}return{..._0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e),'mutations':[_0x5479d5]};}[_0x28bb4a(0x204)](_0x2c1c77){const _0x2746fb=_0x28bb4a,{unitID:_0x1c7456}=_0x2c1c77,{history:_0x264c18,collaboration:_0x463a36}=this[_0x2746fb(0x8d)][_0x2746fb(0x22a)](_0x1c7456);if(_0x264c18['length']===0x0&&_0x463a36['length']===0x0)return;const _0xe84190=[],_0x3bd16d=[];let _0x1d787d=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]);for(let _0x132172=_0x264c18['length']-0x1;_0x132172>=0x0;_0x132172--){const _0x140561={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x264c18[_0x132172][_0x2746fb(0x1d4)],..._0x264c18[_0x132172][_0x2746fb(0x261)]}},_0x471c02={'id':_0x2746fb(0xb9),'params':{'unitId':_0x264c18[_0x132172]['unitId'],..._0x264c18[_0x132172][_0x2746fb(0xb0)]}},_0x4dfa46=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x140561,!0x1),_0x1851ad=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x471c02,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x4dfa46))throw _0x4dfa46[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x1851ad))throw _0x1851ad[_0x2746fb(0x1d8)];_0xe84190[_0x2746fb(0x1c7)]({..._0x264c18[_0x132172],'undoState':_0x4dfa46[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)],'redoState':_0x1851ad[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x4dfa46[_0x2746fb(0x13a)],_0x557378=_0x1851ad[_0x2746fb(0x13a)];}_0x1d787d=_0x15b207['Tools'][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]);for(let _0x311938=_0x463a36['length']-0x1;_0x311938>=0x0;_0x311938--){const _0x41e75e={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938][_0x2746fb(0x261)]}},_0x1073d3={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938]['redoState']}},_0x5c530a=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x41e75e,!0x1),_0x39b8bd=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x1073d3,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x5c530a))throw _0x5c530a[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x39b8bd))throw _0x39b8bd[_0x2746fb(0x1d8)];_0x3bd16d[_0x2746fb(0x1c7)]({..._0x463a36[_0x311938],'undoState':_0x5c530a[_0x2746fb(0x2f2)]['params'],'redoState':_0x39b8bd[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x5c530a[_0x2746fb(0x13a)],_0x557378=_0x39b8bd[_0x2746fb(0x13a)];}this['_docStateChangeManagerService'][_0x2746fb(0x2a8)](_0x1c7456,{'history':_0xe84190,'collaboration':_0x3bd16d});}};_0x536821=_0x205446([_0xe1ed0d(0x0,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0xe1ed0d(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0xe1ed0d(0x2,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)]))],_0x536821);var _0x190018=Object['getOwnPropertyDescriptor'],_0x2923d2=(_0x5b2bb1,_0x19b8c1,_0x224864,_0x3a1a1f)=>{const _0x326c1e=_0x28bb4a;for(var _0xaffa71=_0x3a1a1f>0x1?void 0x0:_0x3a1a1f?_0x190018(_0x19b8c1,_0x224864):_0x19b8c1,_0x5779e8=_0x5b2bb1[_0x326c1e(0x27e)]-0x1,_0x331cd5;_0x5779e8>=0x0;_0x5779e8--)(_0x331cd5=_0x5b2bb1[_0x5779e8])&&(_0xaffa71=_0x331cd5(_0xaffa71)||_0xaffa71);return _0xaffa71;},_0x2eaeb1=(_0x3da514,_0x294f16)=>(_0x1117e2,_0x837731)=>_0x294f16(_0x1117e2,_0x837731,_0x3da514);let _0x3ab750=class{constructor(_0x37241f,_0x5e3772){const _0x13b191=_0x28bb4a;this[_0x13b191(0x25e)]=_0x37241f,this[_0x13b191(0x1d9)]=_0x5e3772;}[_0x28bb4a(0x24c)](_0x2dc4e0){const _0x1fe69a=_0x28bb4a;var _0x327ceb;const _0x2e9797=this['_injector'][_0x1fe69a(0x2ca)](_0x374d97[_0x1fe69a(0x2d5)]),_0x5d0e15=(_0x327ceb=_0x2e9797[_0x1fe69a(0x2c6)]())!=null?_0x327ceb:[];if(_0x5d0e15[_0x1fe69a(0x27e)]===0x0)return;const _0x1347bd=_0x2dc4e0[_0x1fe69a(0x136)],_0x4a18f8=[{'id':_0x1fe69a(0xb9),'params':{'unitId':_0x1347bd,'actions':null,'textRanges':_0x5d0e15}}],_0x13e38a=this['_transformService'][_0x1fe69a(0x322)](_0x2dc4e0,_0x4a18f8);if(!_0x38de55[_0x1fe69a(0x297)](_0x13e38a))throw _0x13e38a[_0x1fe69a(0x1d8)];const _0x19c7d6=_0x13e38a[_0x1fe69a(0x2f2)][0x0]['params']['textRanges'];Array[_0x1fe69a(0x1bc)](_0x19c7d6)&&_0x19c7d6['length']&&_0x2e9797[_0x1fe69a(0xc2)](_0x19c7d6,{'unitId':_0x1347bd,'subUnitId':_0x1347bd},!0x1);}};_0x3ab750=_0x2923d2([_0x2eaeb1(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x2eaeb1(0x1,_0x38de55[_0x28bb4a(0x1ce)])],_0x3ab750);var _0x3be02c=Object[_0x28bb4a(0x11a)],_0x3fb206=(_0x1e6243,_0x33371c,_0x51be70,_0x5ae041)=>{const _0x567ce2=_0x28bb4a;for(var _0x15b2a8=_0x5ae041>0x1?void 0x0:_0x5ae041?_0x3be02c(_0x33371c,_0x51be70):_0x33371c,_0x1ad8bf=_0x1e6243[_0x567ce2(0x27e)]-0x1,_0x3aba24;_0x1ad8bf>=0x0;_0x1ad8bf--)(_0x3aba24=_0x1e6243[_0x1ad8bf])&&(_0x15b2a8=_0x3aba24(_0x15b2a8)||_0x15b2a8);return _0x15b2a8;},_0x8469e7=(_0x5bcbee,_0x20a5bc)=>(_0x40d2db,_0x301f32)=>_0x20a5bc(_0x40d2db,_0x301f32,_0x5bcbee);let _0x167d24=class extends _0x15b207['Disposable']{constructor(_0x49ded6,_0x2cb3ca,_0x58c535,_0x2a0c58,_0x236329,_0xbd5aa9,_0x255c0b,_0x4ca460){const _0x51cc71=_0x28bb4a;super(),_0x52ecbf(this,_0x51cc71(0x13b),new _0x548118[(_0x51cc71(0x1bb))](_0x3fe587[_0x51cc71(0x153)][_0x51cc71(0x31f)])),(this['_docStateChangeManagerService']=_0x49ded6,this['_collaborationController']=_0x2cb3ca,this[_0x51cc71(0x174)]=_0x58c535,this[_0x51cc71(0x1a5)]=_0x2a0c58,this[_0x51cc71(0x135)]=_0x236329,this['_docSyncEditingCollabCursorService']=_0xbd5aa9,this[_0x51cc71(0x1cc)]=_0x255c0b,this[_0x51cc71(0x2d0)]=_0x4ca460,this[_0x51cc71(0x1b3)]());}['_initEntityListener'](){const _0x1ccac6=_0x28bb4a;this[_0x1ccac6(0x280)](this[_0x1ccac6(0x122)][_0x1ccac6(0xc6)]['subscribe'](_0x11f322=>{const _0x224c27=_0x1ccac6,_0x582e2c=this[_0x224c27(0x8d)][_0x224c27(0x2d7)][_0x224c27(0xa7)](_0x3f0a76=>{const _0x86d5fe=_0x224c27;if(_0x3f0a76==null)return;const {unitId:_0x5e027d,redoState:_0x3a856e,commandId:_0x13c744}=_0x3f0a76;if(_0x5e027d!==_0x11f322[_0x86d5fe(0x136)])return;const _0x512511={'id':_0x13c744,'type':_0x15b207['CommandType']['MUTATION'],'params':{'unitId':_0x5e027d,'actions':_0x3a856e[_0x86d5fe(0x116)],'textRanges':null}};_0x11f322[_0x86d5fe(0x1d7)](_0x512511);});if(_0x11f322[_0x224c27(0x280)](_0x582e2c),_0x11f322 instanceof _0x3fe587['DocCollaborationEntity']){const _0x5355a6={'onTransformIME':_0xcd0ef7=>this[_0x224c27(0x174)][_0x224c27(0xe4)](_0xcd0ef7),'onTransformState':_0x163c1b=>this[_0x224c27(0x1a5)][_0x224c27(0xb6)](_0x163c1b),'onTransformSelections':_0x5eabca=>this[_0x224c27(0x135)]['transformSelections'](_0x5eabca),'onSyncEditingCollabCursor':_0x4f7026=>this['_docSyncEditingCollabCursorService'][_0x224c27(0x134)](_0x4f7026),'onTransformRemoteChangesetByIMECache':_0x34084d=>this[_0x224c27(0x174)][_0x224c27(0x1b2)](_0x34084d),'onTransformRemoteChangesetByStateCache':_0x50ba64=>this[_0x224c27(0x1a5)][_0x224c27(0x1b2)](_0x50ba64)};_0x11f322[_0x224c27(0xe9)](_0x5355a6);}}));}};_0x167d24=_0x3fb206([_0x8469e7(0x0,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)])),_0x8469e7(0x1,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x2f5)])),_0x8469e7(0x2,_0x15b207[_0x28bb4a(0x99)](_0x572cde)),_0x8469e7(0x3,_0x15b207[_0x28bb4a(0x99)](_0x536821)),_0x8469e7(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3ab750)),_0x8469e7(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x8469e7(0x6,_0x4b9e13[_0x28bb4a(0xf1)]),_0x8469e7(0x7,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x203)]))],_0x167d24);var _0x69f3f1=Object['getOwnPropertyDescriptor'],_0x3a742e=(_0x5dc536,_0x5233df,_0x4f78f1,_0x508dfe)=>{const _0x5a2e25=_0x28bb4a;for(var _0x1c3935=_0x508dfe>0x1?void 0x0:_0x508dfe?_0x69f3f1(_0x5233df,_0x4f78f1):_0x5233df,_0x54fe8d=_0x5dc536[_0x5a2e25(0x27e)]-0x1,_0x1ff699;_0x54fe8d>=0x0;_0x54fe8d--)(_0x1ff699=_0x5dc536[_0x54fe8d])&&(_0x1c3935=_0x1ff699(_0x1c3935)||_0x1c3935);return _0x1c3935;},_0x28ff1b=(_0x1c2a49,_0x85ee52)=>(_0x55041d,_0x37b486)=>_0x85ee52(_0x55041d,_0x37b486,_0x1c2a49);let _0x22b2d1=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x82121f,_0x2aaeba,_0x5b4e4b){const _0x33b6f7=_0x28bb4a;super(),_0x52ecbf(this,_0x33b6f7(0x2b8),new Map()),_0x52ecbf(this,_0x33b6f7(0x2e0),new Map()),_0x52ecbf(this,_0x33b6f7(0x25c),!0x1),(this[_0x33b6f7(0x189)]=_0x82121f,this['_localStorageService']=_0x2aaeba,this['_revisionService']=_0x5b4e4b);}['disableLocalCache'](){const _0x1eb116=_0x28bb4a;this[_0x1eb116(0x25c)]=!0x0;}[_0x28bb4a(0xc7)](){const _0x4a810d=_0x28bb4a;this[_0x4a810d(0x25c)]=!0x1;}get['saveTaskMap'](){const _0x3fc78a=_0x28bb4a;return this[_0x3fc78a(0x2e0)];}[_0x28bb4a(0x152)](){const _0x1f220b=_0x28bb4a;this[_0x1f220b(0x1f6)]()['then'](()=>super[_0x1f220b(0x152)]());}async[_0x28bb4a(0x2d1)](_0x32a079){const _0x3c27cc=_0x28bb4a;return this[_0x3c27cc(0x25c)]?null:this[_0x3c27cc(0x1a1)]['getItem'](_0x3fe587[_0x3c27cc(0x1d5)](_0x32a079));}async[_0x28bb4a(0x156)](_0x4cf8a9,_0x43cbd3){const _0x5d9ec0=_0x28bb4a;return!!this[_0x5d9ec0(0x1a1)][_0x5d9ec0(0xdb)](_0x4cf8a9,_0x43cbd3);}['updateOfflineData'](_0x3151b1,_0x16d89c,_0xa59427,_0x25fe66){const _0x59807c=_0x28bb4a,_0x6fa0a6=this['_revisionService']['getCurrentRevOfUnit'](_0x3151b1);this['_cachedData'][_0x59807c(0x31b)](_0x3151b1,{'unitID':_0x3151b1,'type':_0x16d89c,'awaitingChangeset':_0xa59427,'mutations':_0x25fe66,'rev':_0x6fa0a6}),this[_0x59807c(0x2e0)][_0x59807c(0x2e9)](_0x3151b1)||this['_scheduleSaving'](_0x3151b1);}[_0x28bb4a(0x208)](_0x3bced2){const _0x422c94=_0x28bb4a,_0x32e27b=this[_0x422c94(0x310)]();_0x32e27b===0x0?this[_0x422c94(0x19c)](_0x3bced2):this[_0x422c94(0x2e0)]['set'](_0x3bced2,setTimeout(()=>this[_0x422c94(0x19c)](_0x3bced2),_0x32e27b));}['_getSaveTimeout'](){const _0x365f7d=_0x28bb4a;var _0x3c21bc;return(_0x3c21bc=this[_0x365f7d(0x189)][_0x365f7d(0x305)](_0x3fe587[_0x365f7d(0x1c5)]))!=null?_0x3c21bc:_0x3fe587['LOCAL_CACHE_INTERVAL'];}[_0x28bb4a(0x19c)](_0x57dfc3){const _0x3015cf=_0x28bb4a,_0x5d6b03=this[_0x3015cf(0x2e0)][_0x3015cf(0x2ca)](_0x57dfc3);return _0x5d6b03!==void 0x0&&window[_0x3015cf(0x1d3)](_0x5d6b03),this[_0x3015cf(0x1a1)][_0x3015cf(0xdb)](_0x3fe587[_0x3015cf(0x1d5)](_0x57dfc3),this[_0x3015cf(0x2b8)][_0x3015cf(0x2ca)](_0x57dfc3))[_0x3015cf(0x8f)](()=>this[_0x3015cf(0x2e0)][_0x3015cf(0x260)](_0x57dfc3));}async[_0x28bb4a(0x1f6)](){const _0x4c8787=_0x28bb4a,_0x31cdb5=[];this['_saveTaskMap']['forEach']((_0x236b01,_0x148f07)=>{const _0x4a4f2b=_0x57fc;window[_0x4a4f2b(0x1d3)](_0x236b01),_0x31cdb5[_0x4a4f2b(0x2e7)](this['_saveCache'](_0x148f07)[_0x4a4f2b(0x8f)](()=>{this['_saveTaskMap']['delete'](_0x148f07);}));}),await Promise[_0x4c8787(0x243)](_0x31cdb5);}};_0x22b2d1=_0x3a742e([_0x28ff1b(0x0,_0x15b207[_0x28bb4a(0x160)]),_0x28ff1b(0x1,_0x15b207[_0x28bb4a(0x1de)]),_0x28ff1b(0x2,_0x15b207['Inject'](_0x38de55[_0x28bb4a(0x128)]))],_0x22b2d1);class _0x29d59a extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x15cce7=_0x28bb4a;super(),_0x52ecbf(this,_0x15cce7(0x21a)),this[_0x15cce7(0x21a)]=_0x548118[_0x15cce7(0x271)](window,_0x15cce7(0x1ab))[_0x15cce7(0x150)](_0x548118[_0x15cce7(0x1c4)](this[_0x15cce7(0x18e)]),_0x548118[_0x15cce7(0x1fb)](0x1),_0x548118[_0x15cce7(0x2b5)](void 0x0));}[_0x28bb4a(0xcd)](_0x1a176b,_0x4fc482,_0xc63346=!0x1){const _0x5736eb=_0x28bb4a,_0x30bb54=new URL(window['location']['href']);_0x30bb54[_0x5736eb(0x1da)][_0x5736eb(0x31b)](_0x1a176b,_0x4fc482),_0xc63346?window[_0x5736eb(0x26d)]['replaceState']('','',_0x30bb54['toString']()):window[_0x5736eb(0x26d)][_0x5736eb(0x1b7)]('','',_0x30bb54['toString']());}[_0x28bb4a(0x2a5)](_0x53059f,_0x571846=!0x1){const _0x26f833=_0x28bb4a,_0x4ca1f2=new URL(window[_0x26f833(0xa8)]['href']);_0x4ca1f2[_0x26f833(0x1da)][_0x26f833(0x260)](_0x53059f),_0x571846?window[_0x26f833(0x26d)]['replaceState']('','',_0x4ca1f2[_0x26f833(0x126)]()):window[_0x26f833(0x26d)][_0x26f833(0x1b7)]('','',_0x4ca1f2[_0x26f833(0x126)]());}['getParam'](_0x4c84f4){const _0x24d873=_0x28bb4a;var _0x5a743e;return(_0x5a743e=new URL(window[_0x24d873(0xa8)][_0x24d873(0xfc)])[_0x24d873(0x1da)][_0x24d873(0x2ca)](_0x4c84f4))!=null?_0x5a743e:void 0x0;}}var _0x16e47d=Object[_0x28bb4a(0x215)],_0x42e26b=Object[_0x28bb4a(0x11a)],_0x311965=(_0x5a983a,_0x2d7cc8,_0xe8334)=>_0x2d7cc8 in _0x5a983a?_0x16e47d(_0x5a983a,_0x2d7cc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe8334}):_0x5a983a[_0x2d7cc8]=_0xe8334,_0x5ae9bd=(_0x539d26,_0x1691af,_0x408f15,_0x43c6ea)=>{for(var _0x80fd1c=_0x43c6ea>0x1?void 0x0:_0x43c6ea?_0x42e26b(_0x1691af,_0x408f15):_0x1691af,_0x284ab9=_0x539d26['length']-0x1,_0x5cfb22;_0x284ab9>=0x0;_0x284ab9--)(_0x5cfb22=_0x539d26[_0x284ab9])&&(_0x80fd1c=_0x5cfb22(_0x80fd1c)||_0x80fd1c);return _0x80fd1c;},_0x480ed4=(_0x26b5b2,_0x46fd11)=>(_0x43e7bf,_0x1dcd05)=>_0x46fd11(_0x43e7bf,_0x1dcd05,_0x26b5b2),_0x4118b8=(_0x5c78f2,_0x2963f4,_0x55e5e7)=>_0x311965(_0x5c78f2,_0x2963f4+'',_0x55e5e7);const _0x2a3291=_0x28bb4a(0x212);_0x31bd5e[_0x28bb4a(0x9c)]=class extends _0x15b207['Plugin']{constructor(_0x1ac157=_0x311072,_0x54c42a,_0x11dad6,_0x1a1fb7){const _0x10047e=_0x28bb4a;super(),this[_0x10047e(0x221)]=_0x1ac157,this['_renderManagerService']=_0x54c42a,this['_injector']=_0x11dad6,this['_configService']=_0x1a1fb7;const {..._0x4dca7e}=_0x15b207[_0x10047e(0x256)]({},_0x311072,this[_0x10047e(0x221)]);this[_0x10047e(0x189)][_0x10047e(0x1ed)](_0x275f4a,_0x4dca7e);}[_0x28bb4a(0x12a)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x28bb4a(0x1ea)](){const _0x318094=_0x28bb4a;this[_0x318094(0x287)]();}[_0x28bb4a(0x2fd)](){const _0x1306ab=_0x28bb4a;var _0x3c1e7d;const _0x282400=[[_0x406998],[_0x3ab750],[_0x572cde],[_0x536821],[_0x50948d],[_0x5e67ee,{'useClass':_0x29d59a}],[_0x5ba1cc['ISocketService'],{'useClass':_0x5ba1cc[_0x1306ab(0x298)]}],[_0x3fe587[_0x1306ab(0x15e)],{'useClass':_0x22b2d1}],[_0x31bd5e[_0x1306ab(0x241)]],[_0x167d24],[_0x45571b],[_0x338aa0],[_0x221090],[_0x31bd5e[_0x1306ab(0x2a7)]]];_0x15b207[_0x1306ab(0x2c9)](this[_0x1306ab(0x25e)],_0x15b207[_0x1306ab(0xf8)](_0x282400,(_0x3c1e7d=this['_config'])==null?void 0x0:_0x3c1e7d[_0x1306ab(0xeb)]));}[_0x28bb4a(0x287)](){const _0x3138f3=_0x28bb4a;this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207[_0x3138f3(0x306)]['UNIVER_DOC'],[_0x1927b2])),this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207['UniverInstanceType'][_0x3138f3(0x1f5)],[_0x4d81cc]));}['_initDependencies'](){const _0x5aec14=_0x28bb4a;_0x15b207[_0x5aec14(0x196)](this['_injector'],[[_0x338aa0],[_0x31bd5e[_0x5aec14(0x241)]],[_0x167d24],[_0x45571b],[_0x31bd5e[_0x5aec14(0x2a7)]]]);}},_0x4118b8(_0x31bd5e[_0x28bb4a(0x9c)],_0x28bb4a(0x2ce),_0x2a3291),_0x31bd5e[_0x28bb4a(0x9c)]=_0x5ae9bd([_0x15b207[_0x28bb4a(0x1e9)](_0x3fe587[_0x28bb4a(0xb2)]),_0x480ed4(0x1,_0x241ab7['IRenderManagerService']),_0x480ed4(0x2,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x480ed4(0x3,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x9c)]);var _0x40893f=Object[_0x28bb4a(0x11a)],_0x4cea2c=(_0x1cdc6a,_0x4db142,_0x4bbdf0,_0x513649)=>{const _0x17d10b=_0x28bb4a;for(var _0x1c14c0=_0x513649>0x1?void 0x0:_0x513649?_0x40893f(_0x4db142,_0x4bbdf0):_0x4db142,_0xfd3d18=_0x1cdc6a[_0x17d10b(0x27e)]-0x1,_0x33200e;_0xfd3d18>=0x0;_0xfd3d18--)(_0x33200e=_0x1cdc6a[_0xfd3d18])&&(_0x1c14c0=_0x33200e(_0x1c14c0)||_0x1c14c0);return _0x1c14c0;},_0x113da8=(_0x5a0ebb,_0x3bf4b1)=>(_0x171bc0,_0x2b6964)=>_0x3bf4b1(_0x171bc0,_0x2b6964,_0x5a0ebb);_0x31bd5e[_0x28bb4a(0x2c1)]=class extends _0x3fe587['CollaborationSocketService']{constructor(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe){super(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe);}async[_0x28bb4a(0x235)](_0x4b8b14){const _0x2318c3=_0x28bb4a,_0x51586=await this[_0x2318c3(0x1fc)](),_0x518d45=this[_0x2318c3(0x1e1)](_0x4b8b14,_0x51586);return this['_doCreateSocket'](_0x518d45);}[_0x28bb4a(0x1e1)](_0x548476,_0x38d5dd){const _0x398c8c=_0x28bb4a,_0x2da7df=typeof window>'u'?new URL(_0x548476):new URL(_0x548476,window[_0x398c8c(0xa8)]['origin']);_0x2da7df[_0x398c8c(0x1da)][_0x398c8c(0x31b)]('sessionTicket',_0x38d5dd);const _0x43d387=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x398c8c(0xa8)][_0x398c8c(0x2b7)]);return _0x43d387[_0x398c8c(0x2ca)](_0x398c8c(0xba))&&_0x2da7df['searchParams'][_0x398c8c(0x31b)]('runId',_0x43d387['get'](_0x398c8c(0xba))),_0x2da7df['toString']();}async[_0x28bb4a(0x1fc)](){const _0x4c1c2a=_0x28bb4a;var _0x571c36,_0x5e7857,_0x4e2359;const _0xcc0a2f=this[_0x4c1c2a(0x189)][_0x4c1c2a(0x305)](_0x3fe587[_0x4c1c2a(0x1c3)]),_0x2b32aa=(_0x571c36=_0xcc0a2f==null?void 0x0:_0xcc0a2f[_0x4c1c2a(0x1d6)])!=null?_0x571c36:_0x3fe587[_0x4c1c2a(0x1f7)];return(_0x4e2359=(_0x5e7857=(await this[_0x4c1c2a(0x31e)][_0x4c1c2a(0x2ca)](_0x2b32aa,{'headers':{'Content-Type':_0x4c1c2a(0x20f)}}))['body'])==null?void 0x0:_0x5e7857['ticket'])!=null?_0x4e2359:'';}},_0x31bd5e[_0x28bb4a(0x2c1)]=_0x4cea2c([_0x113da8(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x113da8(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x113da8(0x2,_0x15b207[_0x28bb4a(0x160)]),_0x113da8(0x3,_0x15b207['ILogService']),_0x113da8(0x4,_0x38de55[_0x28bb4a(0x21e)])],_0x31bd5e[_0x28bb4a(0x2c1)]);const _0x7b3628=0x7530,_0x5e0654=_0x28bb4a(0x248);class _0x35f5b9 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x22dc32=_0x28bb4a;super(),_0x52ecbf(this,_0x22dc32(0x145),_0x15b207['generateRandomId']()),_0x52ecbf(this,_0x22dc32(0x119),new Set()),_0x52ecbf(this,_0x22dc32(0x222),new Map()),_0x52ecbf(this,_0x22dc32(0x31d),null),_0x52ecbf(this,_0x22dc32(0x8a),new Map()),_0x52ecbf(this,'_unitStatus',new Map()),this[_0x22dc32(0x93)]();}['dispose'](){const _0x1bfd8e=_0x28bb4a;super[_0x1bfd8e(0x152)](),this['_clearOtherTimers'][_0x1bfd8e(0x15d)]((_0x11a1fb,_0x11f120)=>this['_removeClearOtherTimer'](_0x11f120)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x28bb4a(0x154)](_0x4b5786){const _0x4db2a3=_0x28bb4a;return this[_0x4db2a3(0x170)](_0x4b5786)[_0x4db2a3(0x150)](_0x548118[_0x4db2a3(0x2ad)]());}[_0x28bb4a(0x1e5)](_0x41a046){const _0x6f0c79=_0x28bb4a;this[_0x6f0c79(0x119)][_0x6f0c79(0x19f)]===0x0&&this[_0x6f0c79(0x28f)](),this['_selfUnitIDs']['add'](_0x41a046),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x41a046],'isForwarded':!0x1});}[_0x28bb4a(0x12c)](_0x23220c){const _0x27ffc6=_0x28bb4a;this[_0x27ffc6(0x119)][_0x27ffc6(0x260)](_0x23220c),this[_0x27ffc6(0x119)]['size']===0x0&&this[_0x27ffc6(0x31d)]&&window[_0x27ffc6(0x197)](this[_0x27ffc6(0x31d)]);}[_0x28bb4a(0x93)](){const _0x1bc340=_0x28bb4a;this[_0x1bc340(0x280)](_0x15b207['toDisposable'](_0x548118[_0x1bc340(0x271)](window,_0x1bc340(0x27c))[_0x1bc340(0xa7)](_0x192545=>{const _0x3726b3=_0x1bc340;if(_0x192545[_0x3726b3(0x2ee)]!==_0x5e0654||!_0x192545[_0x3726b3(0x249)])return;const _0x244bf5=JSON['parse'](_0x192545['newValue']);this[_0x3726b3(0x141)](_0x244bf5);}))),window[_0x1bc340(0xa0)](_0x1bc340(0x1a9),()=>this[_0x1bc340(0x1c8)]({'type':0x1,'memberID':this[_0x1bc340(0x145)],'unitIDs':Array[_0x1bc340(0x217)](this[_0x1bc340(0x119)])}));}[_0x28bb4a(0x141)](_0x406803){const _0x1b9a4e=_0x28bb4a;switch(_0x406803[_0x1b9a4e(0x172)]){case 0x0:this['_handleJoinEvent'](_0x406803);break;case 0x1:this[_0x1b9a4e(0x90)](_0x406803);break;case 0x2:this['_handleHeartbeatEvent'](_0x406803);break;}}[_0x28bb4a(0x20a)](_0x2a9f0a){const _0x1bccf7=_0x28bb4a,{unitIDs:_0x1960de,memberID:_0x431e40,isForwarded:_0x1ee7d2}=_0x2a9f0a;_0x1960de[_0x1bccf7(0x15d)](_0xab53b3=>{const _0x288845=_0x1bccf7;if(!_0x1ee7d2&&this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)&&this['_ensureSubject'](_0xab53b3)[_0x288845(0x225)](_0x3fe587[_0x288845(0x165)][_0x288845(0xc0)]),!this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)||!this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)[_0x288845(0x2e9)](_0x431e40)){const _0xac8537=this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)||new Set();_0xac8537[_0x288845(0xce)](_0x431e40),this[_0x288845(0x222)][_0x288845(0x31b)](_0xab53b3,_0xac8537),this[_0x288845(0xbd)](_0x431e40);}}),_0x1ee7d2||this[_0x1bccf7(0x1c8)]({'type':0x0,'memberID':this[_0x1bccf7(0x145)],'unitIDs':[...this[_0x1bccf7(0x119)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x159477){const _0x4602d7=_0x28bb4a;this[_0x4602d7(0x163)](_0x159477);const _0x5c0fbf=window[_0x4602d7(0xd9)](()=>{this['_unitOnClients']['forEach'](_0x25f123=>{const _0x1f8074=_0x57fc;_0x25f123[_0x1f8074(0x260)](_0x159477);});},_0x7b3628*0x2);this['_clearOtherTimers'][_0x4602d7(0x31b)](_0x159477,_0x5c0fbf);}[_0x28bb4a(0x163)](_0x4b22b1){const _0x5c7e3c=_0x28bb4a;if(this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x2e9)](_0x4b22b1)){const _0x3a6007=this[_0x5c7e3c(0x8a)]['get'](_0x4b22b1);_0x3a6007&&window[_0x5c7e3c(0x1d3)](_0x3a6007),this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x31b)](_0x4b22b1,null);}}['_handleLeaveEvent'](_0x1291c5){const _0x274d89=_0x28bb4a,{memberID:_0x573838,unitIDs:_0x5b1f14}=_0x1291c5;_0x5b1f14[_0x274d89(0x15d)](_0x77aebb=>{const _0x56422b=_0x274d89;var _0x538dfd;const _0x3cc7db=this[_0x56422b(0x222)][_0x56422b(0x2ca)](_0x77aebb);_0x3cc7db&&(_0x3cc7db[_0x56422b(0x260)](_0x573838),(_0x538dfd=this[_0x56422b(0x170)](_0x77aebb))==null||_0x538dfd[_0x56422b(0x225)](_0x3cc7db[_0x56422b(0x19f)]===0x0?_0x3fe587[_0x56422b(0x165)][_0x56422b(0x16b)]:_0x3fe587[_0x56422b(0x165)][_0x56422b(0xc0)]));}),this[_0x274d89(0x163)](_0x573838);}[_0x28bb4a(0x26a)](_0x4be8be){const _0x2e2182=_0x28bb4a;this['_scheduleClearOtherTimer'](_0x4be8be[_0x2e2182(0x143)]);}[_0x28bb4a(0x1c8)](_0x279431){const _0x31b813=_0x28bb4a;localStorage[_0x31b813(0xdb)](_0x5e0654,JSON[_0x31b813(0x1e6)](_0x279431));}[_0x28bb4a(0x28f)](){const _0x582356=_0x28bb4a;this[_0x582356(0x31d)]=window[_0x582356(0x2aa)](()=>{const _0x5a6c74=_0x582356;this[_0x5a6c74(0x1c8)]({'type':0x2,'memberID':this[_0x5a6c74(0x145)]});},_0x7b3628);}['_ensureSubject'](_0x416aed){const _0x5ea70b=_0x28bb4a;return this[_0x5ea70b(0x224)][_0x5ea70b(0x2e9)](_0x416aed)||this[_0x5ea70b(0x224)][_0x5ea70b(0x31b)](_0x416aed,new _0x548118[(_0x5ea70b(0x1bb))](_0x3fe587['UnitStatus'][_0x5ea70b(0x16b)])),this[_0x5ea70b(0x224)][_0x5ea70b(0x2ca)](_0x416aed);}}var _0x405505=(_0x162bbd=>(_0x162bbd[_0x162bbd[_0x28bb4a(0x187)]=0x0]=_0x28bb4a(0x187),_0x162bbd[_0x162bbd['OK']=0x1]='OK',_0x162bbd[_0x162bbd[_0x28bb4a(0x167)]=0x2]=_0x28bb4a(0x167),_0x162bbd[_0x162bbd['PERMISSION_DENIED']=0x3]=_0x28bb4a(0x107),_0x162bbd[_0x162bbd[_0x28bb4a(0x15b)]=0x4]=_0x28bb4a(0x15b),_0x162bbd[_0x162bbd['UNAUTHENTICATED']=0x5]=_0x28bb4a(0x1c9),_0x162bbd[_0x162bbd[_0x28bb4a(0x18f)]=0x6]=_0x28bb4a(0x18f),_0x162bbd[_0x162bbd[_0x28bb4a(0xf6)]=0x7]=_0x28bb4a(0xf6),_0x162bbd[_0x162bbd[_0x28bb4a(0x159)]=0x8]='TOO_MANY_REQUESTS',_0x162bbd[_0x162bbd['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162bbd[_0x162bbd['LOGIN_FAILED']=0xa]=_0x28bb4a(0x191),_0x162bbd[_0x162bbd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28bb4a(0xf3),_0x162bbd[_0x162bbd[_0x28bb4a(0x2ea)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x162bbd[_0x162bbd[_0x28bb4a(0x1cd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162bbd[_0x162bbd[_0x28bb4a(0x15c)]=0x1773]=_0x28bb4a(0x15c),_0x162bbd[_0x162bbd['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162bbd[_0x162bbd[_0x28bb4a(0x207)]=0x1b5a]=_0x28bb4a(0x207),_0x162bbd[_0x162bbd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162bbd[_0x162bbd[_0x28bb4a(0x193)]=0x1b5c]=_0x28bb4a(0x193),_0x162bbd[_0x162bbd[_0x28bb4a(0x2d8)]=0x1b5d]='APPLY_DUPLICATED',_0x162bbd[_0x162bbd[_0x28bb4a(0x194)]=0x1f41]=_0x28bb4a(0x194),_0x162bbd[_0x162bbd[_0x28bb4a(0xb5)]=0x2329]=_0x28bb4a(0xb5),_0x162bbd[_0x162bbd[_0x28bb4a(0x14d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x162bbd[_0x162bbd[_0x28bb4a(0xe6)]=0x232b]=_0x28bb4a(0xe6),_0x162bbd[_0x162bbd[_0x28bb4a(0x246)]=0x232c]=_0x28bb4a(0x246),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c1)]=0x232d]=_0x28bb4a(0x1c1),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c0)]=0x2711]=_0x28bb4a(0x1c0),_0x162bbd[_0x162bbd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x28bb4a(0x106),_0x162bbd[_0x162bbd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28bb4a(0x318),_0x162bbd[_0x162bbd[_0x28bb4a(0x20e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0xf4)]=0x2af9]=_0x28bb4a(0xf4),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b8)]=0x2ee1]=_0x28bb4a(0x1b8),_0x162bbd[_0x162bbd[_0x28bb4a(0xd3)]=0x2ee2]='INVALID_INVITE_CODE',_0x162bbd[_0x162bbd[_0x28bb4a(0x17e)]=0x2ee3]=_0x28bb4a(0x17e),_0x162bbd[_0x162bbd[_0x28bb4a(0x273)]=0x2ee4]=_0x28bb4a(0x273),_0x162bbd[_0x162bbd[_0x28bb4a(0x12e)]=0x2ee5]=_0x28bb4a(0x12e),_0x162bbd[_0x162bbd[_0x28bb4a(0x1df)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0x2f3)]=0x32ca]=_0x28bb4a(0x2f3),_0x162bbd[_0x162bbd[_0x28bb4a(0x151)]=0x32cb]=_0x28bb4a(0x151),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b9)]=-0x1]=_0x28bb4a(0x1b9),_0x162bbd))(_0x405505||{}),_0x592544=Object[_0x28bb4a(0x11a)],_0x1e0590=(_0x17e5ad,_0x490990,_0x49341b,_0x1cee98)=>{const _0x18a44f=_0x28bb4a;for(var _0x46cd72=_0x1cee98>0x1?void 0x0:_0x1cee98?_0x592544(_0x490990,_0x49341b):_0x490990,_0x32c7fa=_0x17e5ad[_0x18a44f(0x27e)]-0x1,_0x15cf05;_0x32c7fa>=0x0;_0x32c7fa--)(_0x15cf05=_0x17e5ad[_0x32c7fa])&&(_0x46cd72=_0x15cf05(_0x46cd72)||_0x46cd72);return _0x46cd72;},_0x4d7795=(_0x33258a,_0x1cfdd1)=>(_0x166b81,_0x17e922)=>_0x1cfdd1(_0x166b81,_0x17e922,_0x33258a);_0x31bd5e[_0x28bb4a(0x17f)]=class extends _0x15b207['Disposable']{constructor(_0x5f0f0c,_0x119e0a,_0x1ee832){const _0x2773f4=_0x28bb4a;super(),this[_0x2773f4(0x250)]=_0x5f0f0c,this[_0x2773f4(0x31e)]=_0x119e0a,this['_configService']=_0x1ee832;}async[_0x28bb4a(0x11e)](_0x517831,_0x231f2d,_0x425358,..._0x3472aa){const _0x4d4fe9=_0x28bb4a;var _0x1aef80,_0x11fb8b,_0x1fb9ba,_0x129488;const _0x1925d8=this[_0x4d4fe9(0x250)][_0x4d4fe9(0xcc)]();if(!_0x1925d8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x22c37a=((_0x1aef80=this[_0x4d4fe9(0x189)][_0x4d4fe9(0x305)](_0x3fe587[_0x4d4fe9(0x282)]))!=null?_0x1aef80:_0x3fe587[_0x4d4fe9(0x2c3)])+'/'+_0x517831+_0x4d4fe9(0x1a8)+_0x231f2d,_0x53cdb3=new URL(window[_0x4d4fe9(0xa8)][_0x4d4fe9(0xfc)]),_0x217706={'scriptId':_0x517831,'runId':(_0x11fb8b=_0x53cdb3['searchParams'][_0x4d4fe9(0x2ca)]('runId'))!=null?_0x11fb8b:'','function':_0x231f2d,'unitId':_0x1925d8[_0x4d4fe9(0x220)](),'argsOfFunction':JSON[_0x4d4fe9(0x1e6)](_0x3472aa),'invokeId':(_0x1fb9ba=_0x425358[_0x4d4fe9(0x146)])!=null?_0x1fb9ba:'','executionId':(_0x129488=_0x425358[_0x4d4fe9(0x14a)])!=null?_0x129488:''};try{const _0x48d43c=await this[_0x4d4fe9(0x31e)][_0x4d4fe9(0x236)](_0x22c37a,{'body':_0x217706});return _0x48d43c[_0x4d4fe9(0xbb)]['error']&&_0x48d43c['body']['error'][_0x4d4fe9(0x2d9)]!==_0x405505['OK']?_0x4d4fe9(0x230):_0x48d43c['body']['result'];}catch{return'Failed';}}},_0x31bd5e['RemoteUniscriptService']=_0x1e0590([_0x4d7795(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x4d7795(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x4d7795(0x2,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x17f)]),_0x31bd5e[_0x28bb4a(0x1dc)]=_0x184ea2,_0x31bd5e[_0x28bb4a(0xbe)]=_0x5e67ee,_0x31bd5e['SheetCollabCursorShape']=_0x2dea2d,_0x31bd5e['WebBrowserSingleActiveUnitService']=_0x35f5b9,_0x31bd5e[_0x28bb4a(0x1ff)]=_0x29d59a,Object['defineProperty'](_0x31bd5e,Symbol[_0x28bb4a(0x307)],{'value':'Module'});}));
|
|
1
|
+
(function(_0xf49c37,_0x4be8e1){const _0x5b0583=_0x25fd,_0x1bcd8a=_0xf49c37();while(!![]){try{const _0x14f75c=parseInt(_0x5b0583(0x3bc))/0x1*(-parseInt(_0x5b0583(0x265))/0x2)+-parseInt(_0x5b0583(0x389))/0x3+parseInt(_0x5b0583(0x294))/0x4+parseInt(_0x5b0583(0x2d0))/0x5+parseInt(_0x5b0583(0x253))/0x6*(-parseInt(_0x5b0583(0x3c9))/0x7)+-parseInt(_0x5b0583(0x388))/0x8+parseInt(_0x5b0583(0x42c))/0x9*(parseInt(_0x5b0583(0x22c))/0xa);if(_0x14f75c===_0x4be8e1)break;else _0x1bcd8a['push'](_0x1bcd8a['shift']());}catch(_0xc08884){_0x1bcd8a['push'](_0x1bcd8a['shift']());}}}(_0x50ca,0xe78b9),function(_0x55201a,_0x5e095d){const _0x2ed610=_0x25fd;typeof exports==_0x2ed610(0x299)&&typeof module<'u'?_0x5e095d(exports,require(_0x2ed610(0x3f7)),require(_0x2ed610(0x394)),require(_0x2ed610(0x3a4)),require(_0x2ed610(0x3cf)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x2ed610(0x3bf)),require(_0x2ed610(0x2f0)),require(_0x2ed610(0x22a)),require(_0x2ed610(0x24e)),require(_0x2ed610(0x2a7)),require('rxjs/operators'),require(_0x2ed610(0x212)),require(_0x2ed610(0x2f6)),require(_0x2ed610(0x24a)),require(_0x2ed610(0x33e)),require(_0x2ed610(0x3d2)),require(_0x2ed610(0x447))):typeof define==_0x2ed610(0x327)&&define[_0x2ed610(0x2fc)]?define([_0x2ed610(0x370),'@univerjs-pro/collaboration-client',_0x2ed610(0x394),_0x2ed610(0x3a4),'@univerjs/network','@univerjs/docs-ui','@univerjs/drawing',_0x2ed610(0x3bf),_0x2ed610(0x2f0),_0x2ed610(0x22a),_0x2ed610(0x24e),_0x2ed610(0x2a7),_0x2ed610(0x45c),_0x2ed610(0x212),_0x2ed610(0x2f6),_0x2ed610(0x24a),_0x2ed610(0x33e),_0x2ed610(0x3d2),'@univerjs/rpc'],_0x5e095d):(_0x55201a=typeof globalThis<'u'?globalThis:_0x55201a||self,_0x5e095d(_0x55201a[_0x2ed610(0x237)]={},_0x55201a[_0x2ed610(0x274)],_0x55201a[_0x2ed610(0x3cc)],_0x55201a['UniverEngineRender'],_0x55201a[_0x2ed610(0x204)],_0x55201a[_0x2ed610(0x231)],_0x55201a[_0x2ed610(0x339)],_0x55201a['rxjs'],_0x55201a[_0x2ed610(0x316)],_0x55201a[_0x2ed610(0x476)],_0x55201a['UniverEngineFormula'],_0x55201a[_0x2ed610(0x239)],_0x55201a[_0x2ed610(0x3bf)][_0x2ed610(0x26d)],_0x55201a[_0x2ed610(0x3fa)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a[_0x2ed610(0x458)],_0x55201a[_0x2ed610(0x44b)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a['UniverRpc']));}(this,function(_0x4cceb3,_0xcd8db,_0x7d7395,_0x1335eb,_0x45113e,_0x5eb1d8,_0x16e36f,_0x24af31,_0x1525c3,_0x2fc10,_0x3bff30,_0x578427,_0x22fa0e,_0x82f1f,_0x5ac202,_0x273ccb,_0x4c907b,_0xcaba45,_0x1b65ca){'use strict';const _0x4f4524=_0x25fd;var _0x44bde5=Object[_0x4f4524(0x390)],_0x2687c8=(_0x25102d,_0x1c5a75,_0x1ab45a)=>_0x1c5a75 in _0x25102d?_0x44bde5(_0x25102d,_0x1c5a75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab45a}):_0x25102d[_0x1c5a75]=_0x1ab45a,_0x4535fa=(_0x4c3fa4,_0x5c37ed,_0x102013)=>_0x2687c8(_0x4c3fa4,typeof _0x5c37ed!=_0x4f4524(0x3ca)?_0x5c37ed+'':_0x5c37ed,_0x102013),_0x51e095=Object[_0x4f4524(0x44d)],_0x238ac4=(_0x2d5a65,_0x158e13,_0x5bcbcf,_0x1c6f08)=>{const _0x2a0f9b=_0x4f4524;for(var _0x5f25c1=_0x1c6f08>0x1?void 0x0:_0x1c6f08?_0x51e095(_0x158e13,_0x5bcbcf):_0x158e13,_0x31cb7f=_0x2d5a65[_0x2a0f9b(0x332)]-0x1,_0x4ae4b5;_0x31cb7f>=0x0;_0x31cb7f--)(_0x4ae4b5=_0x2d5a65[_0x31cb7f])&&(_0x5f25c1=_0x4ae4b5(_0x5f25c1)||_0x5f25c1);return _0x5f25c1;},_0x3c4924=(_0x58b46a,_0x4564ac)=>(_0x42b2d4,_0x58f0a0)=>_0x4564ac(_0x42b2d4,_0x58f0a0,_0x58b46a);let _0x270b59=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x530fc1,_0x3ed17d){const _0x43b19a=_0x4f4524;super(),this[_0x43b19a(0x409)]=_0x530fc1,this[_0x43b19a(0x28f)]=_0x3ed17d,this[_0x43b19a(0x1e4)]();}[_0x4f4524(0x1e4)](){const _0x188e85=_0x4f4524,_0x1f848b=this;this[_0x188e85(0x38e)](this[_0x188e85(0x409)][_0x188e85(0x337)]({'onBeforePasteImage':async _0x4b296b=>{const _0x2c3e53=_0x188e85,_0x229f71=await _0x1f848b['_imageIoService'][_0x2c3e53(0x30b)](_0x4b296b);return _0x229f71?{'source':_0x229f71[_0x2c3e53(0x24b)],'imageSourceType':_0x229f71['imageSourceType']}:null;}}));}};_0x270b59=_0x238ac4([_0x3c4924(0x0,_0x5eb1d8[_0x4f4524(0x39b)]),_0x3c4924(0x1,_0x16e36f['IImageIoService'])],_0x270b59);const _0x129673=[_0x4f4524(0x407),'jiqing500','verdancy600',_0x4f4524(0x324),_0x4f4524(0x445),_0x4f4524(0x1e1)];class _0x1cb796 extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x285723=_0x4f4524;super(...arguments),_0x4535fa(this,_0x285723(0x311),new Map()),_0x4535fa(this,_0x285723(0x411),0x0);}[_0x4f4524(0x1ee)](_0x411509){const _0x490294=_0x4f4524;if(this[_0x490294(0x311)][_0x490294(0x3d4)](_0x411509))return this[_0x490294(0x311)][_0x490294(0x455)](_0x411509);const _0x38422c=_0x129673[this[_0x490294(0x411)]];return this[_0x490294(0x411)]=(this['_colorIndex']+0x1)%_0x129673[_0x490294(0x332)],this[_0x490294(0x311)]['set'](_0x411509,_0x38422c),_0x38422c;}}function _0x4089f0(_0xe69054){const _0x4e3334=_0x4f4524;let _0x2e99b8='';for(const _0x2627b2 of _0xe69054){const {startOffset:_0x4afd8c,endOffset:_0x135a3a,isActive:_0x47bee0,rangeType:_0x48b960,segmentId:_0x4522c3,segmentPage:_0x49ad26}=_0x2627b2;_0x2e99b8[_0x4e3334(0x332)]&&(_0x2e99b8+=','),_0x2e99b8+=_0x4afd8c+':'+_0x135a3a+':'+(_0x47bee0?'1':'0')+':'+_0x48b960+':'+_0x4522c3+':'+_0x49ad26;}return _0x2e99b8;}function _0x5a29c8(_0x3b3fc1){const _0x4ea3d0=_0x4f4524,_0x19fafa=_0x3b3fc1[_0x4ea3d0(0x398)](','),_0x436d8d=[];for(const _0x13c353 of _0x19fafa){const [_0x1b0f51,_0x435b96,_0x5c327c,_0x4d0d03,_0x1c4d8f,_0x4ef76e]=_0x13c353['split'](':');_0x436d8d[_0x4ea3d0(0x250)]({'startOffset':Number(_0x1b0f51),'endOffset':Number(_0x435b96),'collapsed':_0x1b0f51===_0x435b96,'isActive':_0x5c327c==='1','rangeType':_0x4d0d03===_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]?_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]:_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x3ad)],'segmentId':typeof _0x1c4d8f==_0x4ea3d0(0x205)?String(_0x1c4d8f):'','segmentPage':Number(_0x4ef76e!=null?_0x4ef76e:-0x1)});}return _0x436d8d[_0x4ea3d0(0x221)](_0x30b6ed=>_0x30b6ed['isActive'])||(_0x436d8d[0x0]['isActive']=!0x0),_0x436d8d;}class _0x4e81cb extends _0x7d7395['RxDisposable']{constructor(){const _0x1d878f=_0x4f4524;super(...arguments),_0x4535fa(this,'_collabCursorState$',new _0x24af31[(_0x1d878f(0x42f))](null)),_0x4535fa(this,'collabCursorState$',this[_0x1d878f(0x3b6)][_0x1d878f(0x301)]());}[_0x4f4524(0x40a)](_0x40eac5){const _0x2edf1f=_0x4f4524,{unitID:_0x2c8ade,memberID:_0x45f6a8,textRanges:_0x596c50}=_0x40eac5,_0x12cbfc=_0x4089f0(_0x596c50);if(_0x12cbfc==='')return;const _0x291a0={'unitID':_0x2c8ade,'memberID':_0x45f6a8,'selection':_0x12cbfc};this[_0x2edf1f(0x3b6)]['next'](_0x291a0);}}var _0x1984d5=Object[_0x4f4524(0x44d)],_0x473f51=(_0x3cfb21,_0xbbae05,_0x1f0b7e,_0x3c9b6b)=>{for(var _0x4727e1=_0x3c9b6b>0x1?void 0x0:_0x3c9b6b?_0x1984d5(_0xbbae05,_0x1f0b7e):_0xbbae05,_0x1cd11a=_0x3cfb21['length']-0x1,_0x55c33d;_0x1cd11a>=0x0;_0x1cd11a--)(_0x55c33d=_0x3cfb21[_0x1cd11a])&&(_0x4727e1=_0x55c33d(_0x4727e1)||_0x4727e1);return _0x4727e1;},_0x306eed=(_0x2d5451,_0x10e219)=>(_0xfe1860,_0xf1a87b)=>_0x10e219(_0xfe1860,_0xf1a87b,_0x2d5451);const _0x41889d=0x12c,_0x1399ab=0x64;let _0x53c664=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x39668a,_0x33e139,_0x32184f,_0x1fa6df,_0x27f8b8,_0x392535,_0x3f305c,_0x183c43,_0x368566){const _0x6ea98b=_0x4f4524;super(),_0x4535fa(this,_0x6ea98b(0x278),!0x1),_0x4535fa(this,'_init',!0x1),_0x4535fa(this,_0x6ea98b(0x264),new _0x24af31[(_0x6ea98b(0x42f))](new Map())),_0x4535fa(this,_0x6ea98b(0x330),this[_0x6ea98b(0x264)][_0x6ea98b(0x301)]()),_0x4535fa(this,_0x6ea98b(0x329),new _0x24af31[(_0x6ea98b(0x42f))]([])),_0x4535fa(this,_0x6ea98b(0x312),this[_0x6ea98b(0x329)][_0x6ea98b(0x475)](_0x24af31[_0x6ea98b(0x2e0)](_0x41889d))),_0x4535fa(this,_0x6ea98b(0x2a1),_0x7d7395[_0x6ea98b(0x40e)](_0x662080=>{const _0x4d66c4=_0x6ea98b,_0x57645b={'eventID':_0x2fc10[_0x4d66c4(0x2eb)][_0x4d66c4(0x45e)],'data':{'unitID':this['unitID'],'memberID':this[_0x4d66c4(0x39a)]['getMemberID'](),'selection':_0x4089f0(_0x662080)}};this[_0x4d66c4(0x39a)][_0x4d66c4(0x30d)](_0x57645b,this['unitID']);},_0x1399ab)),(this[_0x6ea98b(0x3ef)]=_0x39668a,this[_0x6ea98b(0x39a)]=_0x33e139,this[_0x6ea98b(0x40b)]=_0x32184f,this[_0x6ea98b(0x306)]=_0x1fa6df,this[_0x6ea98b(0x43b)]=_0x27f8b8,this[_0x6ea98b(0x334)]=_0x392535,this['_transformService']=_0x3f305c,this[_0x6ea98b(0x236)]=_0x183c43,this['_commandService']=_0x368566);}get[_0x4f4524(0x3cd)](){const _0x282efa=_0x4f4524;return this[_0x282efa(0x264)][_0x282efa(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x30efcf=_0x4f4524;return this[_0x30efcf(0x329)][_0x30efcf(0x3ec)]();}[_0x4f4524(0x347)](){const _0x125746=_0x4f4524;super[_0x125746(0x347)](),this[_0x125746(0x264)][_0x125746(0x1e8)](new Map()),this[_0x125746(0x264)][_0x125746(0x27d)](),this[_0x125746(0x329)][_0x125746(0x1e8)]([]),this[_0x125746(0x329)][_0x125746(0x27d)]();}['init'](){const _0x129d71=_0x4f4524;this[_0x129d71(0x1e4)]||(this[_0x129d71(0x1e4)]=!0x0,this[_0x129d71(0x39a)]['sessionStatus$'][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x3fe03e=>{const _0x883043=_0x129d71;_0x3fe03e===_0xcd8db[_0x883043(0x429)]['ONLINE']?this[_0x883043(0x200)]():this[_0x883043(0x210)]();}),this[_0x129d71(0x39a)][_0x129d71(0x2e9)][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x12c2e1=>{const _0x267df9=_0x129d71,_0x209103=_0x12c2e1[_0x267df9(0x38c)];_0x209103===_0x2fc10['CollaborationEvent'][_0x267df9(0x45e)]&&this[_0x267df9(0x232)](_0x12c2e1),_0x209103===_0x2fc10[_0x267df9(0x2eb)][_0x267df9(0x290)]&&this['_onCursorDelete'](_0x12c2e1);}),this['disposeWithMe'](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x33f34b=>{const _0x5ce5f9=_0x129d71,_0x2d8870=_0x33f34b[_0x5ce5f9(0x222)];_0x2d8870!=null&&this[_0x5ce5f9(0x278)]&&_0x33f34b['id']===_0x1525c3['SetTextSelectionsOperation']['id']&&_0x2d8870[_0x5ce5f9(0x410)]===this[_0x5ce5f9(0x3ef)]&&_0x2d8870['isEditing']===!0x1&&_0x2d8870[_0x5ce5f9(0x470)][_0x5ce5f9(0x332)]>0x0&&this[_0x5ce5f9(0x2a1)](_0x2d8870[_0x5ce5f9(0x470)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x24af31[_0x129d71(0x41d)](this['dispose$']))[_0x129d71(0x2ef)](_0xb88733=>{const _0x317eac=_0x129d71;if((_0xb88733==null?void 0x0:_0xb88733[_0x317eac(0x3ef)])!==this[_0x317eac(0x3ef)])return;const _0x536c70={'eventID':_0x2fc10['CollaborationEvent'][_0x317eac(0x45e)],'data':_0xb88733};this[_0x317eac(0x232)](_0x536c70);}),this[_0x129d71(0x38e)](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x5cb548=>{const _0x20d2c2=_0x129d71;if(_0x5cb548[_0x20d2c2(0x222)]==null)return;const _0x5ad8eb=_0x5cb548[_0x20d2c2(0x222)];if(_0x5cb548['id']!==_0x1525c3[_0x20d2c2(0x22e)]['id']||_0x5ad8eb['unitId']!==this['unitID'])return;const _0x522a1f={'id':_0x20d2c2(0x307),'params':_0x5ad8eb},_0x16dcf1=this[_0x20d2c2(0x3cd)];for(const [_0x499bce,_0x36b2ab]of _0x16dcf1){const _0x548209={'id':_0x20d2c2(0x307),'params':{'unitId':this[_0x20d2c2(0x3ef)],'actions':null,'textRanges':_0x36b2ab[_0x20d2c2(0x470)]}},_0x21c625=this[_0x20d2c2(0x33a)][_0x20d2c2(0x24c)](_0x522a1f,_0x548209,!0x1);if(_0x2fc10[_0x20d2c2(0x426)](_0x21c625))throw _0x21c625['error'];_0x16dcf1[_0x20d2c2(0x32e)](_0x499bce,{..._0x36b2ab,'ranges':_0x21c625['m2Prime'][_0x20d2c2(0x222)]['textRanges']});}queueMicrotask(()=>{const _0x5d8b7e=_0x20d2c2;this[_0x5d8b7e(0x264)][_0x5d8b7e(0x1e8)](_0x16dcf1);});})));}['_onCursorUpdate'](_0x49df64){const _0x36cce1=_0x4f4524;var _0x2e45e8,_0x19ab41;const {memberID:_0x5e6b15,selection:_0x4e7718}=_0x49df64[_0x36cce1(0x1fc)],_0x1e1045=_0x5a29c8(_0x4e7718),_0x5d7971=(_0x19ab41=(_0x2e45e8=this[_0x36cce1(0x43b)][_0x36cce1(0x3c4)](this[_0x36cce1(0x3ef)],_0x5e6b15))==null?void 0x0:_0x2e45e8[_0x36cce1(0x43d)])!=null?_0x19ab41:'Unknown\x20user',_0x10f8cb={'color':this[_0x36cce1(0x306)][_0x36cce1(0x1ee)](_0x5e6b15),'name':_0x5d7971,'ranges':_0x1e1045},_0x5ebade=this[_0x36cce1(0x3cd)];_0x5ebade['set'](_0x5e6b15,_0x10f8cb),this[_0x36cce1(0x264)][_0x36cce1(0x1e8)](_0x5ebade);}['_onCursorDelete'](_0x5b61fb){const _0x5c6d18=_0x4f4524,{memberID:_0x3bfe9e}=_0x5b61fb[_0x5c6d18(0x1fc)],_0x2b653f=this[_0x5c6d18(0x3cd)];_0x2b653f['delete'](_0x3bfe9e),this['_cursorInfo$'][_0x5c6d18(0x1e8)](_0x2b653f);}[_0x4f4524(0x200)](){const _0x27aca5=_0x4f4524;var _0x262e0f;if(this[_0x27aca5(0x278)]=!0x0,((_0x262e0f=this[_0x27aca5(0x236)][_0x27aca5(0x2bc)]())==null?void 0x0:_0x262e0f[_0x27aca5(0x36d)]())!==this[_0x27aca5(0x3ef)])return;const _0xf807bd=this['_injector']['get'](_0x1525c3[_0x27aca5(0x31c)])[_0x27aca5(0x348)]();Array['isArray'](_0xf807bd)&&_0xf807bd[_0x27aca5(0x332)]>0x0&&this[_0x27aca5(0x2a1)](_0xf807bd);}[_0x4f4524(0x210)](){this['_online']=!0x1;}};_0x53c664=_0x473f51([_0x306eed(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x306eed(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x1cb796)),_0x306eed(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['MemberService'])),_0x306eed(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x306eed(0x6,_0x2fc10['ITransformService']),_0x306eed(0x7,_0x7d7395['IUniverInstanceService']),_0x306eed(0x8,_0x7d7395[_0x4f4524(0x226)])],_0x53c664);var _0x16470e=Object[_0x4f4524(0x44d)],_0x36f9cb=(_0xe77451,_0x220c74,_0x7d22da,_0xb7e5ea)=>{const _0x21116c=_0x4f4524;for(var _0xd50f68=_0xb7e5ea>0x1?void 0x0:_0xb7e5ea?_0x16470e(_0x220c74,_0x7d22da):_0x220c74,_0x5af747=_0xe77451[_0x21116c(0x332)]-0x1,_0x55d066;_0x5af747>=0x0;_0x5af747--)(_0x55d066=_0xe77451[_0x5af747])&&(_0xd50f68=_0x55d066(_0xd50f68)||_0xd50f68);return _0xd50f68;},_0x43b4db=(_0x323595,_0x538595)=>(_0xe50cec,_0x1c6990)=>_0x538595(_0xe50cec,_0x1c6990,_0x323595);const _0x5909df=0x12c,_0x5a15fc=0x64,_0x1c8276=()=>{let _0xe22a04=[],_0x2d3668=!0x1;return _0xf1c468=>{const _0x317928=_0x25fd;_0xe22a04[_0x317928(0x250)](_0xf1c468),_0x2d3668||(_0x2d3668=!0x0,setTimeout(()=>{const _0x156571=_0x317928;_0xe22a04[_0x156571(0x23f)](_0x10b0c4=>_0x10b0c4()),_0xe22a04=[],_0x2d3668=!0x1;}));};};let _0xae350f=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x2f18ff,_0x15fc6a,_0x486915,_0x4d8bff,_0x5dabd2,_0x1b7102,_0xb00fa7,_0x1ef36f){const _0x1af546=_0x4f4524;super(),_0x4535fa(this,_0x1af546(0x278),!0x1),_0x4535fa(this,_0x1af546(0x1e4),!0x1),_0x4535fa(this,_0x1af546(0x264),new _0x24af31['BehaviorSubject'](new Map())),_0x4535fa(this,_0x1af546(0x330),this['_cursorInfo$'][_0x1af546(0x301)]()),_0x4535fa(this,_0x1af546(0x329),new _0x24af31[(_0x1af546(0x42f))]([])),_0x4535fa(this,_0x1af546(0x312),this[_0x1af546(0x329)][_0x1af546(0x475)](_0x24af31[_0x1af546(0x2e0)](_0x5909df))),_0x4535fa(this,_0x1af546(0x2a1),_0x7d7395[_0x1af546(0x40e)]((_0x1b8efd,_0x4d3a8f)=>{const _0x363342=_0x1af546,_0x406b14={'eventID':_0x2fc10[_0x363342(0x2eb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x363342(0x3ef)],'memberID':this[_0x363342(0x39a)][_0x363342(0x2d1)](),'selection':_0x3bff30[_0x363342(0x2e3)](_0x1b8efd,_0x4d3a8f[_0x363342(0x243)])}};this[_0x363342(0x39a)][_0x363342(0x30d)](_0x406b14,this['unitID']);},_0x5a15fc)),(this[_0x1af546(0x3ef)]=_0x2f18ff,this['_session']=_0x15fc6a,this[_0x1af546(0x40b)]=_0x486915,this[_0x1af546(0x306)]=_0x4d8bff,this[_0x1af546(0x43b)]=_0x5dabd2,this[_0x1af546(0x236)]=_0x1b7102,this[_0x1af546(0x2e6)]=_0xb00fa7,this[_0x1af546(0x436)]=_0x1ef36f);}get[_0x4f4524(0x3cd)](){const _0x48e075=_0x4f4524;return this[_0x48e075(0x264)][_0x48e075(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x409375=_0x4f4524;return this[_0x409375(0x329)][_0x409375(0x3ec)]();}[_0x4f4524(0x347)](){const _0x14f478=_0x4f4524;super[_0x14f478(0x347)](),this[_0x14f478(0x264)][_0x14f478(0x1e8)](new Map()),this[_0x14f478(0x264)]['complete'](),this[_0x14f478(0x329)][_0x14f478(0x1e8)]([]),this[_0x14f478(0x329)][_0x14f478(0x27d)]();}[_0x4f4524(0x34c)](){const _0x13be52=_0x4f4524;this[_0x13be52(0x1e4)]||(this['_init']=!0x0,this['_session'][_0x13be52(0x34d)][_0x13be52(0x475)](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x5dd96c=>{const _0x5acd76=_0x13be52;_0x5dd96c===_0xcd8db[_0x5acd76(0x429)]['ONLINE']?this['_toggleOnline']():this[_0x5acd76(0x210)]();}),this[_0x13be52(0x39a)][_0x13be52(0x2e9)]['pipe'](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x2be4bc=>{const _0x24b851=_0x13be52,_0x36ad06=_0x2be4bc['eventID'];_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x45e)]&&this['_onCursorUpdate'](_0x2be4bc),_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x290)]&&this['_onCursorDelete'](_0x2be4bc);}),this[_0x13be52(0x323)](),this[_0x13be52(0x38e)](this['_commandService']['onCommandExecuted'](_0x22f2ed=>{const _0x47122d=_0x13be52;if(this[_0x47122d(0x278)]&&_0x22f2ed['id']===_0x578427[_0x47122d(0x393)]['id']&&_0x22f2ed[_0x47122d(0x222)][_0x47122d(0x410)]===this[_0x47122d(0x3ef)]){const _0xcc1f3e=_0x22f2ed[_0x47122d(0x222)];this[_0x47122d(0x2a1)](_0xcc1f3e[_0x47122d(0x25c)],_0xcc1f3e[_0x47122d(0x2c3)][0x0]);}})));}[_0x4f4524(0x232)](_0x55576e){const _0x283e02=_0x4f4524;var _0x29db7e,_0x28a045;const {memberID:_0x1381f4,selection:_0x56d96d}=_0x55576e[_0x283e02(0x1fc)],{sheetName:_0x44ad13,range:_0xfd97a2}=_0x3bff30[_0x283e02(0x30f)](_0x56d96d),_0x4f445a={'name':(_0x28a045=(_0x29db7e=this[_0x283e02(0x43b)][_0x283e02(0x3c4)](this[_0x283e02(0x3ef)],_0x1381f4))==null?void 0x0:_0x29db7e['name'])!=null?_0x28a045:_0x283e02(0x289),'range':this[_0x283e02(0x28d)](_0x44ad13,_0xfd97a2),'sheetID':_0x44ad13,'color':this[_0x283e02(0x306)]['assignAColorForMemberID'](_0x1381f4),'selection':_0x56d96d},_0x3b1f90=this['cursorInfo'];_0x3b1f90['set'](_0x1381f4,_0x4f445a),this[_0x283e02(0x264)][_0x283e02(0x1e8)](_0x3b1f90);}[_0x4f4524(0x2e7)](_0x294d48){const _0x42a02a=_0x4f4524,{memberID:_0x332edb}=_0x294d48[_0x42a02a(0x1fc)],_0x34c451=this['cursorInfo'];_0x34c451[_0x42a02a(0x421)](_0x332edb),this['_cursorInfo$']['next'](_0x34c451);}[_0x4f4524(0x28d)](_0xbe7383,_0x1f831e){const _0x46d34d=_0x4f4524;var _0x3f0e41,_0x535315;const _0x282c02=(_0x535315=(_0x3f0e41=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3f0e41[_0x46d34d(0x2fd)](_0xbe7383))==null?void 0x0:_0x535315[_0x46d34d(0x43f)]();return(_0x282c02==null?void 0x0:_0x282c02[_0x46d34d(0x33b)](_0x1120a3=>_0x7d7395[_0x46d34d(0x305)][_0x46d34d(0x27e)](_0x1120a3,_0x1f831e)))||_0x1f831e;}[_0x4f4524(0x323)](){const _0x671217=_0x4f4524,_0x885e6c=new _0x7d7395[(_0x671217(0x384))](),_0x5eaadc=_0x1c8276(),_0x228a9f=()=>{const _0x16d7ca=_0x671217;_0x885e6c['dispose']();const _0x1c5372=(_0x5e8637,_0x108344,_0x4c5c5c,_0xb1cf3e)=>{const _0x17c698=_0x25fd;let _0x3c9a8c=[];switch(_0x5e8637['id']){case _0x578427[_0x17c698(0x22f)][_0x17c698(0x466)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3ce)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['DeleteRangeMoveUpCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x1e2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x33f)]:{_0x3c9a8c=_0x578427[_0x17c698(0x349)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x2f2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3a7)]:{_0x3c9a8c=_0x578427[_0x17c698(0x340)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3f8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x27c)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['MoveRangeCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x366)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3c8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x468)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3d0)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3e0)](_0x5e8637,_0xb1cf3e);break;}}const _0x21360c=_0x578427[_0x17c698(0x252)](_0x3c9a8c,_0xb1cf3e),_0x1b9ed3=this[_0x17c698(0x3cd)][_0x17c698(0x455)](_0x108344);if(_0x1b9ed3&&_0x21360c){const _0x10b20b={..._0x1b9ed3,'range':_0x21360c};this[_0x17c698(0x3cd)][_0x17c698(0x32e)](_0x108344,_0x10b20b),_0x5eaadc(()=>{const _0x28e68d=_0x17c698,_0x294695=this['_refRangeService'][_0x28e68d(0x288)](_0x21360c,_0x345068=>(_0x294695[_0x28e68d(0x347)](),_0x1c5372(_0x345068,_0x108344,_0x4c5c5c,_0x21360c)));_0x885e6c['add'](_0x294695);});}return{'redos':[],'undos':[]};};this[_0x16d7ca(0x3cd)]['forEach']((_0x3a04de,_0x4d8ca4)=>{const _0x612c15=_0x16d7ca,{range:_0x351466,sheetID:_0x1752fd}=_0x3a04de,_0x1c577d=this['_refRangeService'][_0x612c15(0x288)](_0x351466,_0x3d9edd=>(_0x1c577d[_0x612c15(0x347)](),_0x1c5372(_0x3d9edd,_0x4d8ca4,_0x1752fd,_0x351466)));_0x885e6c[_0x612c15(0x203)](_0x1c577d);});};this[_0x671217(0x38e)](_0x7d7395['toDisposable'](this[_0x671217(0x264)][_0x671217(0x2ef)](()=>{_0x228a9f();})));}[_0x4f4524(0x200)](){const _0x383141=_0x4f4524;var _0x6307f5,_0x1a580f;if(this['_online']=!0x0,((_0x6307f5=this['_univerInstanceService'][_0x383141(0x2bc)]())==null?void 0x0:_0x6307f5[_0x383141(0x36d)]())!==this['unitID'])return;const _0x5c2766=(_0x1a580f=this[_0x383141(0x40b)][_0x383141(0x455)](_0x578427[_0x383141(0x3a3)])[_0x383141(0x246)]())==null?void 0x0:_0x1a580f[0x0],_0x4fc171=this['_univerInstanceService'][_0x383141(0x267)](_0x7d7395[_0x383141(0x342)][_0x383141(0x295)])[_0x383141(0x338)]();_0x5c2766&&_0x4fc171&&this[_0x383141(0x2a1)](_0x4fc171[_0x383141(0x39d)](),_0x5c2766);}[_0x4f4524(0x210)](){const _0x3d8ca4=_0x4f4524;this[_0x3d8ca4(0x278)]=!0x1;}};_0xae350f=_0x36f9cb([_0x43b4db(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x43b4db(0x3,_0x7d7395['Inject'](_0x1cb796)),_0x43b4db(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x434)])),_0x43b4db(0x5,_0x7d7395[_0x4f4524(0x2ea)]),_0x43b4db(0x6,_0x7d7395[_0x4f4524(0x226)]),_0x43b4db(0x7,_0x7d7395[_0x4f4524(0x40d)](_0x578427[_0x4f4524(0x3e2)]))],_0xae350f);var _0x19fd08=Object[_0x4f4524(0x44d)],_0xef3e13=(_0x2031a3,_0xd41242,_0x10b7e4,_0x213ec1)=>{const _0x208c69=_0x4f4524;for(var _0x1382ee=_0x213ec1>0x1?void 0x0:_0x213ec1?_0x19fd08(_0xd41242,_0x10b7e4):_0xd41242,_0x3621bd=_0x2031a3[_0x208c69(0x332)]-0x1,_0x37f6cf;_0x3621bd>=0x0;_0x3621bd--)(_0x37f6cf=_0x2031a3[_0x3621bd])&&(_0x1382ee=_0x37f6cf(_0x1382ee)||_0x1382ee);return _0x1382ee;},_0x1e1752=(_0x4dd05e,_0xb30d4f)=>(_0x5c41de,_0x4c3dbf)=>_0xb30d4f(_0x5c41de,_0x4c3dbf,_0x4dd05e);let _0x42f641=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x556858,_0xfb0e60,_0x24cc98){const _0x83e354=_0x4f4524;super(),_0x4535fa(this,'_entities',new Map()),_0x4535fa(this,_0x83e354(0x23c),new _0x24af31[(_0x83e354(0x37a))]()),(this[_0x83e354(0x236)]=_0x556858,this[_0x83e354(0x40b)]=_0xfb0e60,this[_0x83e354(0x284)]=_0x24cc98,this[_0x83e354(0x1e4)]());}[_0x4f4524(0x347)](){const _0x5c99a5=_0x4f4524;super[_0x5c99a5(0x347)](),this[_0x5c99a5(0x23c)][_0x5c99a5(0x27d)](),this[_0x5c99a5(0x3d7)][_0x5c99a5(0x23f)](_0x38e1a5=>_0x38e1a5['dispose']());}['getCollabCursors$'](_0x580205){const _0x18f29b=_0x4f4524;return this[_0x18f29b(0x3d7)]['has'](_0x580205)?this[_0x18f29b(0x3d7)][_0x18f29b(0x455)](_0x580205)[_0x18f29b(0x330)]:this[_0x18f29b(0x23c)][_0x18f29b(0x475)](_0x24af31[_0x18f29b(0x2b3)](_0x23d82f=>_0x23d82f['unitID']===_0x580205),_0x24af31[_0x18f29b(0x2ab)](_0xd12715=>_0xd12715[_0x18f29b(0x330)]));}[_0x4f4524(0x1e4)](){const _0x419c13=_0x4f4524;this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)])[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this['dispose$']))[_0x419c13(0x2ef)](async _0x2895a8=>{const _0x8c472=_0x419c13,_0x3ba22d=_0x2895a8[_0x8c472(0x36d)](),_0x303976=await this[_0x8c472(0x2ff)](_0x3ba22d);this[_0x8c472(0x23c)][_0x8c472(0x1e8)](_0x303976),this['_entities'][_0x8c472(0x32e)](_0x3ba22d,_0x303976);}),this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)]['UNIVER_DOC'])['pipe'](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))['pipe'](_0x24af31[_0x419c13(0x2b3)](_0x27d71b=>!_0x27d71b[_0x419c13(0x36d)]()[_0x419c13(0x42b)]('__')))['subscribe'](async _0x98700c=>{const _0x3f3fc6=_0x419c13,_0x315be4=_0x98700c['getUnitId'](),_0x3b85e3=await this[_0x3f3fc6(0x3e6)](_0x315be4);this[_0x3f3fc6(0x23c)][_0x3f3fc6(0x1e8)](_0x3b85e3),this[_0x3f3fc6(0x3d7)]['set'](_0x315be4,_0x3b85e3);}),_0x24af31['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7d7395['UniverInstanceType'][_0x419c13(0x38b)]),this['_univerInstanceService'][_0x419c13(0x3a9)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)]))[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))[_0x419c13(0x2ef)](_0x527114=>{const _0x4badf7=_0x419c13,_0x2fdaad=_0x527114[_0x4badf7(0x36d)](),_0x2849f7=this[_0x4badf7(0x3d7)]['get'](_0x2fdaad);_0x2849f7&&(_0x2849f7[_0x4badf7(0x347)](),this['_entities']['delete'](_0x2fdaad));});}async['_startSheetCollabCursor'](_0x1d05fe){const _0xebc66=_0x4f4524,_0xb8f855=await this[_0xebc66(0x284)]['requireSession'](_0x1d05fe),_0x34c605=this[_0xebc66(0x40b)][_0xebc66(0x2fe)](_0xae350f,_0x1d05fe,_0xb8f855);return _0x34c605[_0xebc66(0x34c)](),_0x34c605;}async[_0x4f4524(0x3e6)](_0x1dc68d){const _0x398911=_0x4f4524,_0x1f5d9c=await this[_0x398911(0x284)][_0x398911(0x343)](_0x1dc68d),_0x19d4a1=this['_injector'][_0x398911(0x2fe)](_0x53c664,_0x1dc68d,_0x1f5d9c);return _0x19d4a1[_0x398911(0x34c)](),_0x19d4a1;}};_0x42f641=_0xef3e13([_0x1e1752(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x1e1752(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x1e1752(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x473)]))],_0x42f641);const _0x7d455f=0x14,_0x27549c=0xc8,_0x2d479f=0x4,_0x27f15d=0x5;function _0x4eaec5(_0x28dfd7,_0x17c71b){const _0x4de0b4=_0x4f4524;let {radius:_0x4498ae,width:_0x5ddcdc,height:_0x10a03b}=_0x17c71b;_0x4498ae=_0x4498ae!=null?_0x4498ae:0x0,_0x5ddcdc=_0x5ddcdc!=null?_0x5ddcdc:0x1e,_0x10a03b=_0x10a03b!=null?_0x10a03b:0x1e;let _0x51e8e9=0x0,_0x447a70=0x0,_0x52408d=0x0;_0x51e8e9=_0x447a70=_0x52408d=Math['min'](_0x4498ae,_0x5ddcdc/0x2,_0x10a03b/0x2),_0x28dfd7[_0x4de0b4(0x249)](),_0x28dfd7[_0x4de0b4(0x420)](_0x51e8e9,0x0),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc-_0x447a70,0x0),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x447a70,_0x447a70,_0x447a70,Math['PI']*0x3/0x2,0x0,!0x1),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc,_0x10a03b-_0x52408d),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x52408d,_0x10a03b-_0x52408d,_0x52408d,0x0,Math['PI']/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x10a03b),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x51e8e9),_0x28dfd7[_0x4de0b4(0x44e)](_0x51e8e9,_0x51e8e9,_0x51e8e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x28a)](),_0x17c71b[_0x4de0b4(0x1f0)]&&(_0x28dfd7['save'](),_0x28dfd7['fillStyle']=_0x17c71b['fill'],_0x17c71b['fillRule']==='evenodd'?_0x28dfd7[_0x4de0b4(0x1f0)]('evenodd'):_0x28dfd7[_0x4de0b4(0x1f0)](),_0x28dfd7[_0x4de0b4(0x25e)]());}class _0x2e02ff extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x231ae3,_0x252a00){const _0x504dd3=_0x4f4524;super(_0x231ae3,_0x252a00),_0x4535fa(this,_0x504dd3(0x25d)),_0x4535fa(this,'text'),(this[_0x504dd3(0x25d)]=_0x252a00==null?void 0x0:_0x252a00[_0x504dd3(0x25d)],this[_0x504dd3(0x29e)]=_0x252a00==null?void 0x0:_0x252a00['text']);}static['drawWith'](_0x2d1d6e,_0x13e943){const _0x23dc23=_0x4f4524,{text:_0x1725a6,color:_0x13a720}=_0x13e943;_0x2d1d6e[_0x23dc23(0x2d9)](),_0x2d1d6e[_0x23dc23(0x3fe)]=_0x23dc23(0x32a);const _0x1778f0=_0x2d1d6e[_0x23dc23(0x3a8)](_0x1725a6)['width'],_0x48dc36=Math[_0x23dc23(0x386)](_0x1778f0+0x2*_0x2d479f,_0x27549c);_0x4eaec5(_0x2d1d6e,{'height':_0x7d455f,'radius':0x4,'width':_0x48dc36,'fill':_0x13a720}),_0x2d1d6e[_0x23dc23(0x269)]=_0x23dc23(0x2d3);const _0x4a7c7d=_0x2d479f,_0x615bd3=_0x7d455f-_0x27f15d,_0x418b68=_0x27549c-0x2*_0x2d479f;if(_0x1778f0>_0x418b68){let _0x38f2f6='',_0x454f70=0x0;for(const _0x20f66f of _0x1725a6){const _0x338486=_0x2d1d6e[_0x23dc23(0x3a8)](_0x20f66f)[_0x23dc23(0x308)];if(_0x454f70+_0x338486<=_0x418b68-_0x2d1d6e[_0x23dc23(0x3a8)](_0x23dc23(0x2b6))[_0x23dc23(0x308)])_0x38f2f6+=_0x20f66f,_0x454f70+=_0x338486;else{_0x38f2f6+=_0x23dc23(0x2b6);break;}}_0x2d1d6e['fillText'](_0x38f2f6,_0x4a7c7d,_0x615bd3);}else _0x2d1d6e[_0x23dc23(0x25b)](_0x1725a6,_0x4a7c7d,_0x615bd3);_0x2d1d6e[_0x23dc23(0x25e)]();}[_0x4f4524(0x405)](_0xee85ff){const _0xacc68d=_0x4f4524;_0x2e02ff[_0xacc68d(0x336)](_0xee85ff,this);}}const _0x246a8=_0x4f4524(0x21e),_0x4a1fd3='collab-text-range-',_0x290c41=_0x4f4524(0x3c5),_0x23177a=0x6,_0x536e01=1.5,_0x37f5a9=0x4,_0x2342b4=1.5,_0x4aa7c5=_0x4f4524(0x435);class _0x565c2c{constructor(_0x3c1e4b,_0xf3206c,_0x15a0f5,_0x18b7b4){const _0x51636c=_0x4f4524;_0x4535fa(this,_0x51636c(0x2a0),[]),_0x4535fa(this,_0x51636c(0x352),null),_0x4535fa(this,_0x51636c(0x2af),null),_0x4535fa(this,_0x51636c(0x272),null),_0x4535fa(this,'_hideTimer',null),_0x4535fa(this,_0x51636c(0x251),null),(this[_0x51636c(0x21f)]=_0x3c1e4b,this[_0x51636c(0x2c4)]=_0xf3206c,this[_0x51636c(0x302)]=_0x15a0f5,this[_0x51636c(0x437)]=_0x18b7b4,this[_0x51636c(0x372)]());}set['_hover'](_0x3a7ee9){const _0x16d517=_0x4f4524;_0x3a7ee9?(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)]['hide'](),this[_0x16d517(0x2af)]&&this[_0x16d517(0x2af)][_0x16d517(0x3fd)]()):(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)][_0x16d517(0x3fd)](),this[_0x16d517(0x2af)]&&this['_textBubble'][_0x16d517(0x454)]());}['dispose'](){const _0x3ab693=_0x4f4524;for(const _0x50d025 of this['_shapes'])_0x50d025[_0x3ab693(0x347)]();this['_textBubble']&&this['_textBubble'][_0x3ab693(0x347)](),this[_0x3ab693(0x272)]&&this['_anchorDot'][_0x3ab693(0x347)](),this[_0x3ab693(0x352)]&&this[_0x3ab693(0x352)][_0x3ab693(0x347)](),this[_0x3ab693(0x251)]&&this[_0x3ab693(0x251)]();}[_0x4f4524(0x372)](){const _0x284c92=_0x4f4524;var _0x5d36c2;const {_docSkeleton:_0x3a6202,_document:_0x1048c7}=this,{color:_0x515300,name:_0x271458,ranges:_0x28c92a}=this['_cursor'],_0x8450cf=_0x1048c7['getOffsetConfig'](),{docsLeft:_0x506f95,docsTop:_0x44cfa2}=_0x8450cf,_0x5bbc71=new _0x5eb1d8['NodePositionConvertToCursor'](_0x8450cf,_0x3a6202);for(const {startOffset:_0x240d88,endOffset:_0x5a57f5,rangeType:_0x1a4df5,segmentId:_0x51429b,segmentPage:_0x515271,collapsed:_0x4faa56,isActive:_0x2bac24}of _0x28c92a){const _0x34217f=_0x3a6202[_0x284c92(0x230)](_0x240d88,!0x0,_0x51429b,_0x515271);let _0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5,!0x0,_0x51429b,_0x515271);if(_0xc4cab5==null&&(_0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5-0x1,!0x1,_0x51429b,_0x515271)),_0x2bac24){const {contentBoxPointGroup:_0x507d39}=_0x5bbc71[_0x284c92(0x315)](_0xc4cab5,_0xc4cab5);if(_0x507d39[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x2ca)](_0x515300,_0x507d39,_0x506f95,_0x44cfa2,_0x271458),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x34217f&&_0xc4cab5){if(_0x1a4df5===_0x7d7395[_0x284c92(0x449)]['RECT']){const _0x38d520=new _0x5eb1d8[(_0x284c92(0x3af))](_0x8450cf,_0x3a6202),{pointGroup:_0x341e16}=(_0x5d36c2=_0x38d520[_0x284c92(0x315)](_0x34217f,_0xc4cab5))!=null?_0x5d36c2:{};if(_0x341e16==null||_0x341e16[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x46e)](_0x515300,_0x341e16,_0x506f95,_0x44cfa2);}else{if(!_0x4faa56){const {borderBoxPointGroup:_0x499727}=_0x5bbc71[_0x284c92(0x315)](_0x34217f,_0xc4cab5);if(_0x499727[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x209)](_0x515300,_0x499727,_0x506f95,_0x44cfa2);}}}}}[_0x4f4524(0x2ca)](_0x56787c,_0x151c4c,_0x12dc5a,_0x4498d7,_0x53a0fb){const _0x5ce671=_0x4f4524,_0x17afb3=this[_0x5ce671(0x20e)](_0x151c4c),{left:_0x2df158,top:_0x4153b0,height:_0x30f502}=_0x17afb3,_0x14eed5=this[_0x5ce671(0x3d5)](),_0x529330=_0x2342b4/_0x14eed5,_0x29f568=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395['Tools'][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7,'height':_0x30f502,'width':_0x536e01,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'strokeWidth':_0x529330,'stroke':_0x4aa7c5,'evented':!0x0});this['_anchor']=_0x29f568,this['_scene']['addObject'](_0x29f568,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x57cf21=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395[_0x5ce671(0x202)][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x37f5a9/0x2,'height':_0x37f5a9,'width':_0x37f5a9,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395[_0x5ce671(0x3de)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'evented':!0x1});this[_0x5ce671(0x272)]=_0x57cf21,this['_scene'][_0x5ce671(0x238)](_0x57cf21,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x579b64=new _0x2e02ff(_0x246a8+_0x7d7395['Tools']['generateRandomId'](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x7d455f,'text':_0x53a0fb,'color':_0x56787c});this[_0x5ce671(0x2af)]=_0x579b64,this[_0x5ce671(0x2c4)][_0x5ce671(0x238)](_0x579b64,_0x5eb1d8['TEXT_RANGE_LAYER_INDEX']),this[_0x5ce671(0x2c9)]=!0x1;}['_handleHover'](){const _0x50cb95=_0x4f4524,_0x313e68=this[_0x50cb95(0x352)][_0x50cb95(0x2a4)][_0x50cb95(0x3dd)](()=>{const _0x3bd3cd=_0x50cb95;this[_0x3bd3cd(0x2c9)]=!0x0;}),_0xad2020=this[_0x50cb95(0x352)]['onPointerLeave$'][_0x50cb95(0x3dd)](()=>{const _0x5e3b6c=_0x50cb95;this[_0x5e3b6c(0x2d7)]&&clearTimeout(this[_0x5e3b6c(0x2d7)]),this[_0x5e3b6c(0x2d7)]=setTimeout(()=>{const _0x5ece97=_0x5e3b6c;this[_0x5ece97(0x2c9)]=!0x1;},0x7d0);});return()=>{const _0x6f23b=_0x50cb95;_0x313e68[_0x6f23b(0x2b7)](),_0xad2020[_0x6f23b(0x2b7)]();};}[_0x4f4524(0x209)](_0x3e3ccc,_0x523f5f,_0x5469cc,_0xcb6976){const _0x3a214a=_0x4f4524,_0x2b3423=new _0x7d7395['ColorKit'](_0x3e3ccc)[_0x3a214a(0x20d)](0.2)[_0x3a214a(0x2ae)](),_0xe47e93=new _0x1335eb[(_0x3a214a(0x385))](_0x4a1fd3+_0x7d7395[_0x3a214a(0x202)][_0x3a214a(0x462)](_0x23177a),{'pointsGroup':_0x523f5f,'fill':_0x2b3423||_0x1335eb[_0x3a214a(0x3f0)](_0x7d7395[_0x3a214a(0x3de)][_0x3a214a(0x254)],0.2),'left':_0x5469cc,'top':_0xcb6976,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3a214a(0x250)](_0xe47e93),this[_0x3a214a(0x2c4)][_0x3a214a(0x238)](_0xe47e93,_0x5eb1d8[_0x3a214a(0x34b)]);}[_0x4f4524(0x46e)](_0x3e4cf8,_0x2d25d5,_0x1d4818,_0x4d9bf7){const _0x553c4c=_0x4f4524,_0x185a2f=new _0x7d7395[(_0x553c4c(0x37e))](_0x3e4cf8)[_0x553c4c(0x20d)](0.2)[_0x553c4c(0x2ae)](),_0x288c20=new _0x1335eb[(_0x553c4c(0x385))](_0x290c41+_0x7d7395['Tools'][_0x553c4c(0x462)](_0x23177a),{'pointsGroup':_0x2d25d5,'fill':_0x185a2f||_0x1335eb[_0x553c4c(0x3f0)](_0x7d7395[_0x553c4c(0x3de)][_0x553c4c(0x254)],0.2),'left':_0x1d4818,'top':_0x4d9bf7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x553c4c(0x2a0)][_0x553c4c(0x250)](_0x288c20),this['_scene']['addObject'](_0x288c20,_0x5eb1d8[_0x553c4c(0x34b)]);}[_0x4f4524(0x20e)](_0x435b79){const _0x1fea0b=_0x435b79[0x0],_0x46aad3=_0x1fea0b[0x0],_0x56e9ee=_0x1fea0b[0x2],{x:_0x30bc8a,y:_0x5ace12}=_0x46aad3,{x:_0x5c4088,y:_0x32a0a3}=_0x56e9ee;return{'left':_0x30bc8a,'top':_0x5ace12,'width':_0x5c4088-_0x30bc8a,'height':_0x32a0a3-_0x5ace12};}[_0x4f4524(0x3d5)](){const _0x73f1ff=_0x4f4524,{scaleX:_0x521a2c,scaleY:_0x4509f8}=this['_scene']['getAncestorScale']();return Math[_0x73f1ff(0x46f)](_0x521a2c,_0x4509f8);}}var _0x3f50d8=Object['getOwnPropertyDescriptor'],_0x447dfc=(_0x2613e0,_0x4f5901,_0x5cd415,_0x59a60c)=>{const _0x4c4fce=_0x4f4524;for(var _0x31213d=_0x59a60c>0x1?void 0x0:_0x59a60c?_0x3f50d8(_0x4f5901,_0x5cd415):_0x4f5901,_0x284003=_0x2613e0[_0x4c4fce(0x332)]-0x1,_0x39cc00;_0x284003>=0x0;_0x284003--)(_0x39cc00=_0x2613e0[_0x284003])&&(_0x31213d=_0x39cc00(_0x31213d)||_0x31213d);return _0x31213d;},_0x256999=(_0x513d4a,_0x1cc39d)=>(_0x589fff,_0x1605ad)=>_0x1cc39d(_0x589fff,_0x1605ad,_0x513d4a);let _0xcd79ae=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x12d35e,_0x496818,_0x328f9a,_0x292d54,_0x4eb634){const _0x2dfeda=_0x4f4524;super(),_0x4535fa(this,_0x2dfeda(0x425),[]),_0x4535fa(this,_0x2dfeda(0x292),[]),(this[_0x2dfeda(0x364)]=_0x12d35e,this[_0x2dfeda(0x1f6)]=_0x496818,this[_0x2dfeda(0x2d6)]=_0x328f9a,this['_commandService']=_0x292d54,this[_0x2dfeda(0x326)]=_0x4eb634,this[_0x2dfeda(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x20d043=_0x4f4524,_0x54e520=this['_context']['unitId'],_0x3b4860=this[_0x20d043(0x1f6)];this[_0x20d043(0x38e)](_0x24af31[_0x20d043(0x465)]([this[_0x20d043(0x2d6)]['getCollabCursors$'](_0x54e520),this[_0x20d043(0x326)]['currentTheme$']])[_0x20d043(0x475)](_0x22fa0e[_0x20d043(0x3c7)](([_0x33bbeb,_0x24fa11])=>({'skeleton':_0x3b4860[_0x20d043(0x286)](),'cursors':[..._0x33bbeb['values']()][_0x20d043(0x37b)](_0x32f0fb=>({..._0x32f0fb,'color':_0x24fa11[_0x32f0fb[_0x20d043(0x25d)]]}))})))[_0x20d043(0x2ef)](_0x2a8d46=>{const _0x4d5840=_0x20d043;if(this[_0x4d5840(0x20a)](),_0x2a8d46){const {skeleton:_0x20d09a,cursors:_0x39ebfa}=_0x2a8d46;this[_0x4d5840(0x35b)](_0x20d09a,_0x39ebfa);}})),this[_0x20d043(0x424)](),this[_0x20d043(0x42e)]();}[_0x4f4524(0x35b)](_0x36ee29,_0x594c31){const _0x4d2cbc=_0x4f4524,{scene:_0x3b72fc,mainComponent:_0x395107}=this['_context'],_0x5a1f7e=_0x594c31['map'](_0x2bb9ef=>new _0x565c2c(_0x2bb9ef,_0x3b72fc,_0x36ee29,_0x395107));this[_0x4d2cbc(0x425)]=_0x5a1f7e,this[_0x4d2cbc(0x292)]=_0x594c31;}[_0x4f4524(0x38d)](){const _0x2f8aa0=_0x4f4524;this['_removeCollabCursors']();const {scene:_0x4a2768,mainComponent:_0xe41d9b}=this[_0x2f8aa0(0x364)],_0x473cb4=this[_0x2f8aa0(0x1f6)][_0x2f8aa0(0x286)](),_0x48e13d=this[_0x2f8aa0(0x292)]['map'](_0x400ff4=>new _0x565c2c(_0x400ff4,_0x4a2768,_0x473cb4,_0xe41d9b));this[_0x2f8aa0(0x425)]=_0x48e13d;}[_0x4f4524(0x20a)](){const _0x225907=_0x4f4524;this[_0x225907(0x425)][_0x225907(0x23f)](_0x5143bf=>_0x5143bf[_0x225907(0x347)]()),this[_0x225907(0x425)]=[];}[_0x4f4524(0x42e)](){const _0x328056=_0x4f4524,_0xd19c1f=[_0x5eb1d8[_0x328056(0x260)]['id']];this[_0x328056(0x38e)](this[_0x328056(0x2e6)][_0x328056(0x3df)](_0xe87d4a=>{const _0x4c6ab6=_0x328056;_0xd19c1f['includes'](_0xe87d4a['id'])&&_0xe87d4a[_0x4c6ab6(0x222)]['unitId']===this[_0x4c6ab6(0x364)][_0x4c6ab6(0x410)]&&this[_0x4c6ab6(0x38d)]();}));}['_initResize'](){const _0x24a8f4=_0x4f4524;this[_0x24a8f4(0x38e)](_0x7d7395[_0x24a8f4(0x2db)](this[_0x24a8f4(0x364)]['engine'][_0x24a8f4(0x287)])[_0x24a8f4(0x475)](_0x22fa0e['filter'](_0x14c461=>_0x14c461['type']===_0x1335eb['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24a8f4(0x36b)]),_0x22fa0e['throttleTime'](0x10))[_0x24a8f4(0x2ef)](()=>{const _0x429373=_0x24a8f4;this[_0x429373(0x38d)]();}));}};_0xcd79ae=_0x447dfc([_0x256999(0x1,_0x7d7395['Inject'](_0x1525c3['DocSkeletonManagerService'])),_0x256999(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x256999(0x3,_0x7d7395[_0x4f4524(0x226)]),_0x256999(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0xcd79ae);const _0x3ea5c6=0x1,_0x4ecd80=1.5;class _0x5cd145 extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x40e1d0,_0x32b193){const _0xb44b29=_0x4f4524;super(_0x40e1d0,_0x32b193),_0x4535fa(this,_0xb44b29(0x26f)),_0x4535fa(this,'_hovered',!0x1),_0x4535fa(this,_0xb44b29(0x23e)),_0x4535fa(this,_0xb44b29(0x2f9),''),_0x4535fa(this,'_labelPosition',_0xb44b29(0x346)),_0x4535fa(this,_0xb44b29(0x2f7)),(_0x32b193&&this[_0xb44b29(0x2b5)](_0x32b193),this[_0xb44b29(0x2a4)][_0xb44b29(0x3dd)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xb44b29(0x363)][_0xb44b29(0x3dd)](()=>this[_0xb44b29(0x2b5)]({'hovered':!0x1})));}[_0x4f4524(0x2b5)](_0x4b0dd4){const _0xb3bc84=_0x4f4524;var _0x27dc30,_0xdedaeb,_0x40f4bf,_0x5239a7,_0x5a19b8,_0x53a6a8;this['_color']=(_0x27dc30=_0x4b0dd4[_0xb3bc84(0x25d)])!=null?_0x27dc30:this[_0xb3bc84(0x26f)],this[_0xb3bc84(0x266)]=(_0xdedaeb=_0x4b0dd4[_0xb3bc84(0x261)])!=null?_0xdedaeb:this['_hovered'],this[_0xb3bc84(0x23e)]=(_0x40f4bf=_0x4b0dd4['range'])!=null?_0x40f4bf:this['_range'],this[_0xb3bc84(0x2f9)]=(_0x5239a7=_0x4b0dd4['name'])!=null?_0x5239a7:this[_0xb3bc84(0x2f9)],this[_0xb3bc84(0x34e)]=(_0x5a19b8=_0x4b0dd4[_0xb3bc84(0x298)])!=null?_0x5a19b8:this[_0xb3bc84(0x34e)],this[_0xb3bc84(0x2f7)]=(_0x53a6a8=_0x4b0dd4[_0xb3bc84(0x3d1)])!=null?_0x53a6a8:this['_backgroundColor'],this['transformByState']({'width':_0x4b0dd4[_0xb3bc84(0x308)],'height':_0x4b0dd4[_0xb3bc84(0x28b)]});}[_0x4f4524(0x2f8)](_0x3d8ae6){const _0x38fa31=_0x4f4524,{row:_0x484894,column:_0x113748}=_0x3d8ae6;if(_0x484894>=this[_0x38fa31(0x23e)][_0x38fa31(0x241)]&&_0x484894<=this['_range'][_0x38fa31(0x220)]&&_0x113748>=this['_range']['startColumn']&&_0x113748<=this[_0x38fa31(0x23e)][_0x38fa31(0x3e1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x38fa31(0x2b5)]({'hovered':!0x1});}['triggerDblclick'](_0xfde98a){return!0x1;}[_0x4f4524(0x405)](_0x5e25c9){const _0x506949=_0x4f4524;_0x1335eb[_0x506949(0x3ba)]['drawWith'](_0x5e25c9,{'width':this['width'],'height':this['height'],'strokeWidth':_0x4ecd80,'stroke':this[_0x506949(0x26f)],'evented':!0x1,'fill':this[_0x506949(0x2f7)]}),this[_0x506949(0x266)]&&(_0x5e25c9['save'](),_0x5e25c9['transform'](0x1,0x0,0x0,0x1,this[_0x506949(0x308)],this[_0x506949(0x34e)]===_0x506949(0x215)?0x0:-0x14),_0x2e02ff[_0x506949(0x336)](_0x5e25c9,{'text':this[_0x506949(0x2f9)],'color':this[_0x506949(0x26f)]}),_0x5e25c9[_0x506949(0x25e)]());}}var _0x330d05=Object[_0x4f4524(0x44d)],_0x4eb626=(_0x555d32,_0xa8aca5,_0x2bf500,_0x5275c2)=>{const _0x2c6cf7=_0x4f4524;for(var _0x491e5b=_0x5275c2>0x1?void 0x0:_0x5275c2?_0x330d05(_0xa8aca5,_0x2bf500):_0xa8aca5,_0x1f645d=_0x555d32[_0x2c6cf7(0x332)]-0x1,_0x5d5df1;_0x1f645d>=0x0;_0x1f645d--)(_0x5d5df1=_0x555d32[_0x1f645d])&&(_0x491e5b=_0x5d5df1(_0x491e5b)||_0x491e5b);return _0x491e5b;},_0x2b19f0=(_0xd3f6c,_0x4541de)=>(_0x32c7a0,_0x12728e)=>_0x4541de(_0x32c7a0,_0x12728e,_0xd3f6c);const _0x21db89=0x1389;let _0x46a2ee=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x5de95b,_0x569184,_0x4745f5,_0x48300d){const _0x249e98=_0x4f4524;super(),_0x4535fa(this,_0x249e98(0x292),new Set()),_0x4535fa(this,_0x249e98(0x304),null),(this[_0x249e98(0x364)]=_0x5de95b,this[_0x249e98(0x255)]=_0x569184,this[_0x249e98(0x2d6)]=_0x4745f5,this[_0x249e98(0x326)]=_0x48300d,this[_0x249e98(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x521790=_0x4f4524;this[_0x521790(0x255)]['currentSkeleton$'][_0x521790(0x475)](_0x22fa0e['takeUntil'](this[_0x521790(0x3b9)]),_0x22fa0e[_0x521790(0x2ab)](_0x1187bf=>{const _0xb788cb=_0x521790;if(_0x1187bf){const _0x5d0356=_0x1187bf['sheetId'];return _0x24af31[_0xb788cb(0x465)](this[_0xb788cb(0x2d6)]['getCollabCursors$'](this[_0xb788cb(0x364)][_0xb788cb(0x410)]),this[_0xb788cb(0x326)][_0xb788cb(0x318)])[_0xb788cb(0x475)](_0x22fa0e[_0xb788cb(0x3c7)](([_0x2ae089,_0x12ad53])=>{const _0x62a803=_0xb788cb,_0x49c0e1=new Map();return _0x2ae089[_0x62a803(0x23f)]((_0x42ab14,_0x3ce94b)=>{const _0x330c4c=_0x62a803;if(_0x42ab14[_0x330c4c(0x355)]===_0x5d0356){const _0x5bd62f={..._0x42ab14};_0x5bd62f[_0x330c4c(0x25d)]=_0x12ad53[_0x42ab14['color']],_0x49c0e1['set'](_0x3ce94b,_0x5bd62f);}}),{'skeleton':_0x1187bf,'cursors':_0x49c0e1};}));}return _0x24af31['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45b44e,cursors:_0xef7c07})=>{const _0x3c3fb8=_0x521790;this[_0x3c3fb8(0x20a)](),_0x45b44e&&this[_0x3c3fb8(0x35b)](_0x45b44e,_0xef7c07);}),this[_0x521790(0x255)]['currentSkeleton$']['subscribe'](_0x4b751e=>{const _0x5c4226=_0x521790;if(_0x4b751e==null)return;const {skeleton:_0x22e894}=_0x4b751e,{scene:_0x2a5853}=this[_0x5c4226(0x364)];_0x2a5853[_0x5c4226(0x206)][_0x5c4226(0x3dd)](_0x7d7395[_0x5c4226(0x40e)](_0x3f4581=>{const _0x4118d1=_0x5c4226;var _0x454029,_0x3c1a28;const {offsetX:_0x1b41d5,offsetY:_0x3b466a}=_0x3f4581,{x:_0x48deae,y:_0x12a75c}=_0x2a5853[_0x4118d1(0x3e7)](_0x1335eb['Vector2']['FromArray']([_0x1b41d5,_0x3b466a])),{scaleX:_0x13402b,scaleY:_0x44ac0e}=_0x2a5853['getAncestorScale'](),_0x5d5b50=_0x2a5853[_0x4118d1(0x214)](_0x1335eb[_0x4118d1(0x41a)][_0x4118d1(0x2c7)]),_0x2cae06=_0x2a5853[_0x4118d1(0x453)](_0x1335eb[_0x4118d1(0x3f2)][_0x4118d1(0x441)]([_0x48deae,_0x12a75c]),_0x5d5b50),_0x525c1e=_0x22e894['getCellPositionByOffset'](_0x1b41d5,_0x3b466a,_0x13402b,_0x44ac0e,_0x2cae06);((_0x454029=this[_0x4118d1(0x304)])==null?void 0x0:_0x454029[_0x4118d1(0x46d)])===_0x525c1e[_0x4118d1(0x46d)]&&((_0x3c1a28=this[_0x4118d1(0x304)])==null?void 0x0:_0x3c1a28['row'])===_0x525c1e[_0x4118d1(0x1f7)]||this[_0x4118d1(0x292)][_0x4118d1(0x23f)](_0x447fca=>{const _0x3a1d85=_0x4118d1;_0x447fca[_0x3a1d85(0x2f8)](_0x525c1e);});},0x64));});}[_0x4f4524(0x35b)](_0x2d6ab9,_0x2e3c03){const _0x243fa0=_0x4f4524;var _0x503a53;const _0x368c8b=(_0x503a53=this[_0x243fa0(0x255)][_0x243fa0(0x1ed)]())==null?void 0x0:_0x503a53['skeleton'];if(!_0x368c8b)return;const _0x25254e=this[_0x243fa0(0x452)]();if(!_0x25254e)return;this[_0x243fa0(0x292)][_0x243fa0(0x23f)](_0x25a725=>{_0x25a725['makeDirty']();});const {scene:_0x5ad609}=_0x25254e,_0x3d9676=_0xb7530a(Array['from'](_0x2e3c03['values']()))[_0x243fa0(0x3c7)](_0x3a7ec8=>{const _0x1560fb=_0x243fa0,{color:_0x1e22cc,range:_0x5636cc,name:_0xd8f248,selection:_0x223409,sheetID:_0x3248d8}=_0x3a7ec8,{startColumn:_0x72b27e,startRow:_0x5bf624,endColumn:_0x17c363,endRow:_0x23901d}=_0x5636cc,_0x571d24=_0x82f1f[_0x1560fb(0x1fb)](_0x5bf624,_0x72b27e,_0x5ad609,_0x368c8b),_0x4ef496=_0x82f1f[_0x1560fb(0x1fb)](_0x23901d,_0x17c363,_0x5ad609,_0x368c8b),{columnHeaderHeightAndMarginTop:_0xac444c}=_0x368c8b,{startX:_0x328bcb,startY:_0x75b880}=_0x571d24,{endX:_0x950c4a,endY:_0x304493}=_0x4ef496,_0xa34058=_0x950c4a-_0x328bcb,_0x9ffe84=_0x304493-_0x75b880,_0x27bb3d={'labelPosition':_0x75b880-_0xac444c>=_0x7d455f?'top':'bottom','sheetID':_0x3248d8,'range':_0x5636cc,'color':_0x1e22cc,'name':_0xd8f248,'selection':_0x223409,'left':_0x328bcb,'top':_0x75b880,'width':_0xa34058,'height':_0x9ffe84,'evented':!0x1,'zIndex':_0x21db89};return new _0x5cd145(_0xd8f248,_0x27bb3d);});_0x5ad609[_0x243fa0(0x400)](_0x3d9676,_0x3ea5c6),this[_0x243fa0(0x292)]=new Set(_0x3d9676);}[_0x4f4524(0x20a)](){const _0x2bab42=_0x4f4524;var _0x40c5a1;(_0x40c5a1=this['_cursors'])==null||_0x40c5a1[_0x2bab42(0x23f)](_0x16e4d5=>_0x16e4d5[_0x2bab42(0x347)]());}[_0x4f4524(0x452)](){const _0x31b458=_0x4f4524;return _0x82f1f[_0x31b458(0x208)](this['_context']['unit'],this[_0x31b458(0x364)]);}};_0x46a2ee=_0x4eb626([_0x2b19f0(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x82f1f[_0x4f4524(0x440)])),_0x2b19f0(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x2b19f0(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0x46a2ee);function _0xb7530a(_0x4f76f9){const _0x16a768=_0x4f4524,_0x1ecde7=new Map();return _0x4f76f9['forEach'](_0x5a3132=>{const _0x1328ce=_0x25fd;if(_0x1ecde7[_0x1328ce(0x3d4)](_0x5a3132[_0x1328ce(0x2ec)])){const _0x22377a=_0x1ecde7['get'](_0x5a3132[_0x1328ce(0x2ec)]);_0x22377a['name']+=',\x20'+_0x5a3132['name'];}else _0x1ecde7[_0x1328ce(0x32e)](_0x5a3132['selection'],_0x5a3132);}),Array[_0x16a768(0x3f3)](_0x1ecde7[_0x16a768(0x457)]());}var _0x5137d7=function(){const _0x2a56ae=_0x4f4524;return _0x5137d7=Object[_0x2a56ae(0x27a)]||function(_0x337d1d){const _0x2e6b76=_0x2a56ae;for(var _0x52b476,_0x31a230=0x1,_0x214ed8=arguments[_0x2e6b76(0x332)];_0x31a230<_0x214ed8;_0x31a230++){_0x52b476=arguments[_0x31a230];for(var _0x4f215e in _0x52b476)Object[_0x2e6b76(0x32c)][_0x2e6b76(0x430)][_0x2e6b76(0x240)](_0x52b476,_0x4f215e)&&(_0x337d1d[_0x4f215e]=_0x52b476[_0x4f215e]);}return _0x337d1d;},_0x5137d7['apply'](this,arguments);},_0x28991b=function(_0x1c63ef,_0x1ce757){const _0x5762a1=_0x4f4524;var _0x40d4ae={};for(var _0x3d6742 in _0x1c63ef)Object['prototype'][_0x5762a1(0x430)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742)&&_0x1ce757['indexOf'](_0x3d6742)<0x0&&(_0x40d4ae[_0x3d6742]=_0x1c63ef[_0x3d6742]);if(_0x1c63ef!=null&&typeof Object[_0x5762a1(0x20f)]==_0x5762a1(0x327)){for(var _0x190c5c=0x0,_0x3d6742=Object[_0x5762a1(0x20f)](_0x1c63ef);_0x190c5c<_0x3d6742[_0x5762a1(0x332)];_0x190c5c++)_0x1ce757[_0x5762a1(0x1e6)](_0x3d6742[_0x190c5c])<0x0&&Object['prototype'][_0x5762a1(0x3ff)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742[_0x190c5c])&&(_0x40d4ae[_0x3d6742[_0x190c5c]]=_0x1c63ef[_0x3d6742[_0x190c5c]]);}return _0x40d4ae;},_0x20b43a=_0xcaba45['forwardRef'](function(_0x1c4668,_0x3bf744){const _0x5b902d=_0x4f4524;var _0x25c50a=_0x1c4668[_0x5b902d(0x383)],_0x267fcb=_0x1c4668['id'],_0x383b03=_0x1c4668[_0x5b902d(0x26a)],_0x4d1abb=_0x1c4668[_0x5b902d(0x31e)],_0x265f45=_0x28991b(_0x1c4668,[_0x5b902d(0x383),'id',_0x5b902d(0x26a),'extend']),_0x4c7de2='univerjs-icon\x20univerjs-icon-'['concat'](_0x267fcb,'\x20')['concat'](_0x383b03||'')['trim'](),_0x2b9a13=_0xcaba45[_0x5b902d(0x391)]('_'[_0x5b902d(0x450)](_0x26a3e0()));return _0x50a808(_0x25c50a,''[_0x5b902d(0x450)](_0x267fcb),{'defIds':_0x25c50a[_0x5b902d(0x219)],'idSuffix':_0x2b9a13[_0x5b902d(0x39f)]},_0x5137d7({'ref':_0x3bf744,'className':_0x4c7de2},_0x265f45),_0x4d1abb);});function _0x50a808(_0x574e91,_0x2bd38e,_0x48ae75,_0x1299fd,_0x22532c){const _0x44500c=_0x4f4524;return _0xcaba45[_0x44500c(0x1fd)](_0x574e91[_0x44500c(0x29b)],_0x5137d7(_0x5137d7({'key':_0x2bd38e},_0x25fe81(_0x574e91,_0x48ae75,_0x22532c)),_0x1299fd),(_0x1cbc91(_0x574e91,_0x48ae75)['children']||[])[_0x44500c(0x3c7)](function(_0x5c7632,_0xe9f62c){const _0x386acd=_0x44500c;return _0x50a808(_0x5c7632,''[_0x386acd(0x450)](_0x2bd38e,'-')[_0x386acd(0x450)](_0x574e91[_0x386acd(0x29b)],'-')[_0x386acd(0x450)](_0xe9f62c),_0x48ae75,void 0x0,_0x22532c);}));}function _0x25fe81(_0x18ba88,_0x59af2a,_0x54ce48){const _0x1b7e78=_0x4f4524;var _0x5df6ee=_0x5137d7({},_0x18ba88[_0x1b7e78(0x361)]);_0x54ce48!=null&&_0x54ce48[_0x1b7e78(0x244)]&&_0x5df6ee[_0x1b7e78(0x1f0)]===_0x1b7e78(0x244)&&(_0x5df6ee['fill']=_0x54ce48[_0x1b7e78(0x244)]),_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x3be)&&_0x5df6ee['id']&&(_0x5df6ee['id']=_0x5df6ee['id']+_0x59af2a[_0x1b7e78(0x3c1)]),Object['entries'](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0x43c17d){const _0xc4f2a7=_0x1b7e78;var _0x3146f5=_0x43c17d[0x0],_0x12b36e=_0x43c17d[0x1];_0x3146f5===_0xc4f2a7(0x3be)&&typeof _0x12b36e==_0xc4f2a7(0x205)&&(_0x5df6ee[_0x3146f5]=_0x12b36e[_0xc4f2a7(0x3e9)](/url\(#(.*)\)/,_0xc4f2a7(0x1f9)['concat'](_0x59af2a[_0xc4f2a7(0x3c1)],')')));});var _0x4773ac=_0x59af2a['defIds'];return!_0x4773ac||_0x4773ac[_0x1b7e78(0x332)]===0x0||(_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x293)&&_0x5df6ee['xlink:href']&&(_0x5df6ee['xlink:href']=_0x5df6ee[_0x1b7e78(0x451)]+_0x59af2a[_0x1b7e78(0x3c1)]),Object[_0x1b7e78(0x2a3)](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0xba106f){const _0x1ef773=_0x1b7e78;var _0x351bb0=_0xba106f[0x0],_0x33d50e=_0xba106f[0x1];typeof _0x33d50e=='string'&&(_0x5df6ee[_0x351bb0]=_0x33d50e['replace'](/url\(#(.*)\)/,_0x1ef773(0x1f9)[_0x1ef773(0x450)](_0x59af2a[_0x1ef773(0x3c1)],')')));})),_0x5df6ee;}function _0x1cbc91(_0x461600,_0x4aeef5){const _0x44175f=_0x4f4524;var _0x8252c7,_0x5a1d28=_0x4aeef5[_0x44175f(0x219)];return!_0x5a1d28||_0x5a1d28['length']===0x0?_0x461600:_0x461600[_0x44175f(0x29b)]===_0x44175f(0x282)&&(!((_0x8252c7=_0x461600['children'])===null||_0x8252c7===void 0x0)&&_0x8252c7['length'])?_0x5137d7(_0x5137d7({},_0x461600),{'children':_0x461600[_0x44175f(0x21d)][_0x44175f(0x3c7)](function(_0x1cbb7d){const _0x4830ca=_0x44175f;return typeof _0x1cbb7d['attrs']['id']==_0x4830ca(0x205)&&_0x5a1d28&&_0x5a1d28['indexOf'](_0x1cbb7d[_0x4830ca(0x361)]['id'])>-0x1?_0x5137d7(_0x5137d7({},_0x1cbb7d),{'attrs':_0x5137d7(_0x5137d7({},_0x1cbb7d[_0x4830ca(0x361)]),{'id':_0x1cbb7d[_0x4830ca(0x361)]['id']+_0x4aeef5[_0x4830ca(0x3c1)]})}):_0x1cbb7d;})}):_0x461600;}function _0x26a3e0(){const _0x364225=_0x4f4524;return Math[_0x364225(0x224)]()[_0x364225(0x3dc)](0x24)[_0x364225(0x34a)](0x2,0x8);}_0x20b43a[_0x4f4524(0x3f6)]=_0x4f4524(0x320);var _0x96ec74={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x2d2),'width':_0x4f4524(0x235),'height':_0x4f4524(0x235)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'stroke':_0x4f4524(0x28e),'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':_0x4f4524(0x3b5),'strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':_0x4f4524(0x412)},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3)}}]}]}],'defIds':[_0x4f4524(0x412)]},_0x39fd71=_0xcaba45['forwardRef'](function(_0x372e90,_0x8a437b){const _0x493241=_0x4f4524;return _0xcaba45[_0x493241(0x1fd)](_0x20b43a,Object[_0x493241(0x27a)]({},_0x372e90,{'id':_0x493241(0x3a5),'ref':_0x8a437b,'icon':_0x96ec74}));});_0x39fd71[_0x4f4524(0x3f6)]='OffLineSingle';var _0x25bb27={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x3b8),'width':_0x4f4524(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4f4524(0x22d)},'children':[{'tag':'path','attrs':{'stroke':_0x4f4524(0x28e),'d':_0x4f4524(0x1eb),'strokeLinecap':'round','strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3),'transform':_0x4f4524(0x20b)}}]}]}],'defIds':[_0x4f4524(0x21a)]},_0x508354=_0xcaba45[_0x4f4524(0x234)](function(_0x1aef40,_0x2e4106){const _0x2b3857=_0x4f4524;return _0xcaba45[_0x2b3857(0x1fd)](_0x20b43a,Object[_0x2b3857(0x27a)]({},_0x1aef40,{'id':'on-line-single','ref':_0x2e4106,'icon':_0x25bb27}));});_0x508354[_0x4f4524(0x3f6)]='OnLineSingle';const _0x15e542={'onlineStatusIcon':_0x4f4524(0x3da),'onlineStatusTitle':_0x4f4524(0x427),'onlineStatus':'univer-online-status','online':_0x4f4524(0x3a1),'offline':_0x4f4524(0x242)};function _0x348103(_0x32bc7c){const _0x13a090=_0x4f4524;switch(_0x32bc7c){case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x258)]:return _0x13a090(0x1f4);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2bd)]:return _0x13a090(0x379);case _0xcd8db['CollaborationStatus'][_0x13a090(0x3ae)]:return _0x13a090(0x362);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x3c3)]:return _0x13a090(0x1e9);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x325)]:case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2df)]:return _0x13a090(0x3ee);case _0xcd8db['CollaborationStatus'][_0x13a090(0x2ba)]:case _0xcd8db['CollaborationStatus'][_0x13a090(0x36a)]:return'collabStatus.synced';}}function _0x13fcf2(_0x1ed334){const _0x396c09=_0x4f4524,{status$:_0x3a450e}=_0x1ed334,_0x312106=_0x273ccb[_0x396c09(0x408)](_0x3a450e,_0xcd8db[_0x396c09(0x369)][_0x396c09(0x3c3)]),_0x1e3612=_0x273ccb['useDependency'](_0x7d7395['LocaleService']),_0x41e020=_0x273ccb[_0x396c09(0x303)](_0xcd8db[_0x396c09(0x473)]),_0x24e969=_0x312106!==_0xcd8db[_0x396c09(0x369)][_0x396c09(0x258)],_0x489a31=_0x1e3612['t'](_0x348103(_0x312106)),_0xe61dd1=_0x4c907b[_0x396c09(0x29c)](_0x15e542['onlineStatus'],{[_0x15e542[_0x396c09(0x37d)]]:_0x24e969,[_0x15e542['offline']]:!_0x24e969}),_0x2fd521=_0x24e969?_0x5ac202[_0x396c09(0x256)](_0x508354,{}):_0x5ac202[_0x396c09(0x256)](_0x39fd71,{}),_0x5db8e7=_0xcaba45[_0x396c09(0x3e4)](()=>{const _0x21bf6c=_0x396c09;_0x24e969||_0x41e020[_0x21bf6c(0x2be)]();},[_0x24e969,_0x41e020]);function _0x12a868(){const _0x3fc51d=_0x396c09;return _0x5ac202[_0x3fc51d(0x438)](_0x3fc51d(0x1fa),{'className':_0x4c907b[_0x3fc51d(0x29c)](_0xe61dd1,_0x3fc51d(0x3fb)),'onClick':_0x5db8e7,'children':[_0x5ac202[_0x3fc51d(0x256)](_0x3fc51d(0x1fa),{'className':_0x15e542[_0x3fc51d(0x23d)],'children':_0x2fd521}),_0x5ac202[_0x3fc51d(0x256)]('div',{'className':_0x15e542['onlineStatusTitle'],'children':_0x489a31})]});}return _0x24e969?_0x12a868():_0x5ac202[_0x396c09(0x256)](_0x4c907b['Tooltip'],{'title':_0x1e3612['t'](_0x396c09(0x218)),'children':_0x12a868()});}var _0xf89f14=Object[_0x4f4524(0x44d)],_0x40afad=(_0x118e18,_0x463587,_0x8a4764,_0x5997b3)=>{for(var _0x279bb8=_0x5997b3>0x1?void 0x0:_0x5997b3?_0xf89f14(_0x463587,_0x8a4764):_0x463587,_0xeb4d12=_0x118e18['length']-0x1,_0xf0046d;_0xeb4d12>=0x0;_0xeb4d12--)(_0xf0046d=_0x118e18[_0xeb4d12])&&(_0x279bb8=_0xf0046d(_0x279bb8)||_0x279bb8);return _0x279bb8;},_0x4420dc=(_0x187f6d,_0x567cc5)=>(_0x19f3f8,_0x1bb38f)=>_0x567cc5(_0x19f3f8,_0x1bb38f,_0x187f6d);_0x4cceb3['DesktopCollaborationStatusDisplayController']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x4bff94,_0x34667c,_0x1efc4b,_0xb62626){const _0x485e2f=_0x4f4524;super(),_0x4535fa(this,_0x485e2f(0x24f),new _0x24af31[(_0x485e2f(0x42f))](_0xcd8db['CollaborationStatus'][_0x485e2f(0x3c3)])),(this['_univerInstanceService']=_0x4bff94,this['_injector']=_0x34667c,this[_0x485e2f(0x21c)]=_0x1efc4b,this[_0x485e2f(0x3db)]=_0xb62626,this[_0x485e2f(0x2e2)](),this[_0x485e2f(0x3f5)]());}[_0x4f4524(0x3f5)](){const _0x1d75e3=_0x4f4524;this[_0x1d75e3(0x38e)](this[_0x1d75e3(0x236)]['focused$'][_0x1d75e3(0x475)](_0x24af31[_0x1d75e3(0x2ab)](()=>{const _0x2a655f=_0x1d75e3,_0x302601=this[_0x2a655f(0x236)][_0x2a655f(0x2bc)]();return _0x302601?this[_0x2a655f(0x21c)][_0x2a655f(0x331)](_0x302601[_0x2a655f(0x36d)]()):_0x24af31['of'](null);}),_0x24af31[_0x1d75e3(0x2ab)](_0x4b5c46=>_0x4b5c46?_0x4b5c46[_0x1d75e3(0x1fe)]:_0x24af31['of'](_0xcd8db['CollaborationStatus'][_0x1d75e3(0x3c3)])))[_0x1d75e3(0x2ef)](_0x21a746=>{const _0xeef5cc=_0x1d75e3;this[_0xeef5cc(0x24f)][_0xeef5cc(0x1e8)](_0x21a746);}));}['_initStatusComponent'](){const _0x4cee1c=_0x4f4524;this['disposeWithMe'](this[_0x4cee1c(0x3db)][_0x4cee1c(0x29d)](_0x273ccb[_0x4cee1c(0x39c)]['HEADER_MENU'],()=>_0x273ccb[_0x4cee1c(0x34f)](_0x1034f1({'status$':this[_0x4cee1c(0x24f)][_0x4cee1c(0x301)]()}),this[_0x4cee1c(0x40b)])));}},_0x4cceb3[_0x4f4524(0x2e4)]=_0x40afad([_0x4420dc(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4420dc(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4420dc(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['CollaborationController'])),_0x4420dc(0x3,_0x273ccb['IUIPartsService'])],_0x4cceb3['DesktopCollaborationStatusDisplayController']);function _0x1034f1(_0x279402){const {status$:_0x131c82}=_0x279402;return function(){const _0x4e6858=_0x25fd;return _0x5ac202[_0x4e6858(0x256)](_0x13fcf2,{'status$':_0x131c82});};}var _0x30214e=Object[_0x4f4524(0x44d)],_0x586f5c=(_0xebf72a,_0x1ba7d9,_0x34ed45,_0xf17669)=>{for(var _0x210e84=_0xf17669>0x1?void 0x0:_0xf17669?_0x30214e(_0x1ba7d9,_0x34ed45):_0x1ba7d9,_0x2c21f0=_0xebf72a['length']-0x1,_0x3783d0;_0x2c21f0>=0x0;_0x2c21f0--)(_0x3783d0=_0xebf72a[_0x2c21f0])&&(_0x210e84=_0x3783d0(_0x210e84)||_0x210e84);return _0x210e84;},_0x2c3953=(_0x5d87c3,_0x8cdeb0)=>(_0x365077,_0x2bc34b)=>_0x8cdeb0(_0x365077,_0x2bc34b,_0x5d87c3);let _0x3f6263=class extends _0x7d7395['Disposable']{constructor(_0x49fb76,_0x334e93,_0x128841,_0x496230,_0x40cf76,_0x209205){const _0x2a305a=_0x4f4524;super(),this['_beforeCloseService']=_0x49fb76,this[_0x2a305a(0x46a)]=_0x334e93,this['_collaborationUIEventService']=_0x128841,this[_0x2a305a(0x268)]=_0x496230,this[_0x2a305a(0x37c)]=_0x40cf76,this[_0x2a305a(0x456)]=_0x209205,this[_0x2a305a(0x2c8)](),this[_0x2a305a(0x2bb)]();}[_0x4f4524(0x2c8)](){const _0x1be39f=_0x4f4524;this['disposeWithMe'](this[_0x1be39f(0x270)][_0x1be39f(0x207)](()=>{const _0x42d47a=_0x1be39f;if(this[_0x42d47a(0x46a)][_0x42d47a(0x314)]['size'])return this[_0x42d47a(0x456)]['t'](_0x42d47a(0x1e3));}));}['_initEvent'](){const _0x131559=_0x4f4524;this[_0x131559(0x38e)](this[_0x131559(0x371)][_0x131559(0x2e9)]['subscribe'](_0x58dbc5=>{const _0x27ef60=_0x131559;_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x43c)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x418))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x3e5)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['PERMISSION_DENIED']&&this[_0x27ef60(0x37c)]['show']({'title':this[_0x27ef60(0x456)]['t']('permission.title'),'content':this['_localeService']['t'](_0x27ef60(0x3a6)),'type':_0x27ef60(0x46c),'duration':0x0}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['CONFLICT']&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))+'('+_0x58dbc5['data']+')'}),_0x58dbc5['id']===_0xcd8db['CollaborationUIEventId'][_0x27ef60(0x2c2)]&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this[_0x27ef60(0x456)]['t'](_0x58dbc5[_0x27ef60(0x1fc)]||'')}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x36f)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this['_localeService']['t'](_0x27ef60(0x296))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['SOCKET_FAILED']&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Error'],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x297))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x317)]&&this['_messageService'][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x414))});}));}};_0x3f6263=_0x586f5c([_0x2c3953(0x0,_0x273ccb[_0x4f4524(0x3ac)]),_0x2c3953(0x1,_0xcd8db[_0x4f4524(0x443)]),_0x2c3953(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x3c0)])),_0x2c3953(0x3,_0x273ccb[_0x4f4524(0x41c)]),_0x2c3953(0x4,_0x273ccb['INotificationService']),_0x2c3953(0x5,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0x3f6263);const _0x542c2f=_0x4f4524(0x38a),_0x40ad9b={},_0x557455=_0x7d7395[_0x4f4524(0x40f)](_0x4f4524(0x33d));var _0x56fada=Object[_0x4f4524(0x44d)],_0x387123=(_0x273041,_0x4ae2cc,_0x457876,_0x3bfe10)=>{for(var _0x292910=_0x3bfe10>0x1?void 0x0:_0x3bfe10?_0x56fada(_0x4ae2cc,_0x457876):_0x4ae2cc,_0x14f1f7=_0x273041['length']-0x1,_0x136699;_0x14f1f7>=0x0;_0x14f1f7--)(_0x136699=_0x273041[_0x14f1f7])&&(_0x292910=_0x136699(_0x292910)||_0x292910);return _0x292910;},_0x5e4f0b=(_0x144f95,_0x4d0ed4)=>(_0x235ab8,_0x132b22)=>_0x4d0ed4(_0x235ab8,_0x132b22,_0x144f95);_0x4cceb3['CollaborationDataLoaderController']=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x1053fa,_0x320130,_0x2be1a9,_0x341632,_0x802a81){const _0x242300=_0x4f4524;super(),this[_0x242300(0x3b4)]=_0x1053fa,this[_0x242300(0x27b)]=_0x320130,this[_0x242300(0x2e6)]=_0x2be1a9,this[_0x242300(0x2c0)]=_0x341632,_0x802a81?_0x802a81==null||_0x802a81[_0x242300(0x367)]()['then'](()=>this['_init']()):(this[_0x242300(0x27b)]['debug'](_0x242300(0x1ef),_0x242300(0x3c2)),this[_0x242300(0x1e4)]());}async[_0x4f4524(0x1e4)](){const _0x29cbfb=_0x4f4524,_0x5214ea=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)]('unit'),_0x56aefd=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)](_0x29cbfb(0x213)),_0x6ba6fc=this['_urlService'][_0x29cbfb(0x442)](_0x29cbfb(0x35c));if(!_0x5214ea||!_0x56aefd){this['_logService']['debug'](_0x29cbfb(0x1ef),_0x29cbfb(0x43a));return;}const _0x5ec31f=await this[_0x29cbfb(0x2c0)]['loadUnit'](_0x5214ea,Number(_0x56aefd),_0x6ba6fc);_0x5ec31f&&_0x5ec31f instanceof _0x7d7395[_0x29cbfb(0x31d)]&&this[_0x29cbfb(0x20c)](_0x5ec31f);}async[_0x4f4524(0x20c)](_0x3c3568){const _0x1722d7=_0x4f4524;await this[_0x1722d7(0x1e5)](_0x3c3568),_0x3c3568[_0x1722d7(0x387)][_0x1722d7(0x475)](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))['subscribe'](_0x222632=>{_0x222632&&this['_updateURLWithCurrentState'](_0x222632);}),this['_urlService'][_0x1722d7(0x31b)]['pipe'](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))[_0x1722d7(0x2ef)](()=>this[_0x1722d7(0x1e5)](_0x3c3568));}[_0x4f4524(0x273)](_0x4ed0f6,_0x40d7bb=!0x1){const _0x15a224=_0x4f4524,_0x21ddfa=this[_0x15a224(0x3b4)]['getParam'](_0x15a224(0x35c));_0x4ed0f6[_0x15a224(0x39d)]()!==_0x21ddfa&&this[_0x15a224(0x3b4)][_0x15a224(0x313)](_0x15a224(0x35c),_0x4ed0f6[_0x15a224(0x39d)](),_0x40d7bb);}async[_0x4f4524(0x1e5)](_0x4cfe4b){const _0x1edfaa=_0x4f4524;var _0x529665;const _0x2f7fc5=this['_urlService'][_0x1edfaa(0x442)](_0x1edfaa(0x35c));if(!_0x2f7fc5||!_0x4cfe4b[_0x1edfaa(0x2fd)](_0x2f7fc5)){const _0x8b93f6=_0x4cfe4b[_0x1edfaa(0x223)]()[0x0],_0x11fca7=_0x4cfe4b['getSheetBySheetId'](_0x8b93f6);if(!_0x11fca7)return;this[_0x1edfaa(0x273)](_0x11fca7,!0x0),await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b[_0x1edfaa(0x36d)](),'subUnitId':_0x8b93f6});return;}((_0x529665=_0x4cfe4b[_0x1edfaa(0x338)]())==null?void 0x0:_0x529665[_0x1edfaa(0x39d)]())!==_0x2f7fc5&&await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b['getUnitId'](),'subUnitId':_0x2f7fc5});}},_0x4cceb3[_0x4f4524(0x322)]=_0x387123([_0x5e4f0b(0x0,_0x557455),_0x5e4f0b(0x1,_0x7d7395[_0x4f4524(0x333)]),_0x5e4f0b(0x2,_0x7d7395[_0x4f4524(0x226)]),_0x5e4f0b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x262)])),_0x5e4f0b(0x4,_0x7d7395['Optional'](_0x1b65ca['IRemoteInstanceService']))],_0x4cceb3[_0x4f4524(0x322)]);var _0x21105f=Object[_0x4f4524(0x44d)],_0x1b15ed=(_0x420783,_0x57c205,_0x25071e,_0x4d4739)=>{for(var _0x1f33fa=_0x4d4739>0x1?void 0x0:_0x4d4739?_0x21105f(_0x57c205,_0x25071e):_0x57c205,_0x2b69a9=_0x420783['length']-0x1,_0x4f8c04;_0x2b69a9>=0x0;_0x2b69a9--)(_0x4f8c04=_0x420783[_0x2b69a9])&&(_0x1f33fa=_0x4f8c04(_0x1f33fa)||_0x1f33fa);return _0x1f33fa;},_0x3a2cb0=(_0x1def26,_0x28be39)=>(_0x35ea34,_0x41f89c)=>_0x28be39(_0x35ea34,_0x41f89c,_0x1def26);let _0x3bd767=class{constructor(_0x34a237,_0x30a5f7,_0xa52d63){const _0x497ea1=_0x4f4524;this['_injector']=_0x34a237,this['_transformService']=_0x30a5f7,this[_0x497ea1(0x360)]=_0xa52d63;}['transformIMECache'](_0x142f33){const _0x385344=_0x4f4524;this['_transformUndoRedoStack'](_0x142f33),this[_0x385344(0x217)](_0x142f33);}[_0x4f4524(0x402)](_0x4f9cb2){const _0x429e47=_0x4f4524,{unitID:_0x273104}=_0x4f9cb2,_0x3e7b9b=this[_0x429e47(0x360)][_0x429e47(0x401)](_0x273104)[_0x429e47(0x2b0)](_0x5eb1d8[_0x429e47(0x461)]),{redoCache:_0x105a61}=_0x3e7b9b['getUndoRedoMutationParamsCache']();if(_0x105a61[_0x429e47(0x332)]===0x0)return _0x4f9cb2;let _0x53ae53=_0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2[_0x429e47(0x3ab)][0x0]);for(let _0x1854a8=0x0;_0x1854a8<_0x105a61['length'];_0x1854a8++){const _0x4991={'id':_0x429e47(0x307),'params':{..._0x105a61[_0x1854a8]}},_0x40a233=this[_0x429e47(0x33a)][_0x429e47(0x24c)](_0x53ae53,_0x4991,!0x1);if(_0x2fc10[_0x429e47(0x426)](_0x40a233))throw _0x40a233[_0x429e47(0x46c)];_0x53ae53=_0x40a233['m1Prime'];}return{..._0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2),'mutations':[_0x53ae53]};}[_0x4f4524(0x2aa)](_0x544383){const _0x1ef13d=_0x4f4524,{unitID:_0x5cc2e1}=_0x544383,_0x15f4a3=this['_renderManagerService']['getRenderById'](_0x5cc2e1)[_0x1ef13d(0x2b0)](_0x5eb1d8[_0x1ef13d(0x461)]),{undoCache:_0x2881ef,redoCache:_0x401780}=_0x15f4a3['getUndoRedoMutationParamsCache']();if(_0x2881ef[_0x1ef13d(0x332)]===0x0||_0x401780[_0x1ef13d(0x332)]===0x0)return;const _0x42c153=[],_0x45476d=[];let _0x1ec519=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]),_0x303190=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]);for(let _0xd136d=_0x2881ef[_0x1ef13d(0x332)]-0x1;_0xd136d>=0x0;_0xd136d--){const _0xbbf899={'id':_0x1ef13d(0x307),'params':{..._0x2881ef[_0xd136d]}},_0x63e2fa={'id':_0x1ef13d(0x307),'params':{..._0x401780[_0xd136d]}},_0x7a4ce6=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x1ec519,_0xbbf899,!0x1),_0x2cc016=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x303190,_0x63e2fa,!0x1);if(_0x2fc10[_0x1ef13d(0x426)](_0x7a4ce6))throw _0x7a4ce6[_0x1ef13d(0x46c)];if(_0x2fc10[_0x1ef13d(0x426)](_0x2cc016))throw _0x2cc016[_0x1ef13d(0x46c)];_0x42c153[_0x1ef13d(0x45a)](_0x7a4ce6[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x45476d[_0x1ef13d(0x45a)](_0x2cc016[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x1ec519=_0x7a4ce6[_0x1ef13d(0x1f2)],_0x303190=_0x2cc016[_0x1ef13d(0x1f2)];}_0x15f4a3['setUndoRedoMutationParamsCache']({'undoCache':_0x42c153,'redoCache':_0x45476d});}['_transformPreviousActiveRange'](_0x60c806){const _0x28b984=_0x4f4524,{unitID:_0x11cbf2}=_0x60c806,_0x202c59=this[_0x28b984(0x360)][_0x28b984(0x401)](_0x11cbf2)['with'](_0x5eb1d8[_0x28b984(0x461)]),_0x1389ff=_0x202c59[_0x28b984(0x416)]();if(_0x1389ff==null)return;const _0x9d81a5=[{'id':_0x28b984(0x307),'params':{'unitId':_0x60c806[_0x28b984(0x3ef)],'actions':null,'textRanges':[_0x1389ff]}}],_0x23682=this[_0x28b984(0x33a)][_0x28b984(0x463)](_0x60c806,_0x9d81a5);if(!_0x2fc10['isTransformMutationsWithChangesetSuccess'](_0x23682))throw _0x23682['error'];const _0x2f4b00=_0x23682['m2Prime'][0x0][_0x28b984(0x222)][_0x28b984(0x2ed)];Array['isArray'](_0x2f4b00)&&_0x2f4b00['length']&&_0x202c59[_0x28b984(0x309)](_0x2f4b00[0x0]);}};_0x3bd767=_0x1b15ed([_0x3a2cb0(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3a2cb0(0x1,_0x2fc10['ITransformService']),_0x3a2cb0(0x2,_0x1335eb[_0x4f4524(0x40c)])],_0x3bd767);var _0x4b83bd=Object['getOwnPropertyDescriptor'],_0x392b70=(_0xdc9c03,_0xc8e6c6,_0x44e7ed,_0x3f6f9c)=>{const _0x399193=_0x4f4524;for(var _0x5dfd2f=_0x3f6f9c>0x1?void 0x0:_0x3f6f9c?_0x4b83bd(_0xc8e6c6,_0x44e7ed):_0xc8e6c6,_0x5208b5=_0xdc9c03[_0x399193(0x332)]-0x1,_0x4888aa;_0x5208b5>=0x0;_0x5208b5--)(_0x4888aa=_0xdc9c03[_0x5208b5])&&(_0x5dfd2f=_0x4888aa(_0x5dfd2f)||_0x5dfd2f);return _0x5dfd2f;},_0x261303=(_0x18ebb8,_0x47cc43)=>(_0x59b988,_0xe5c738)=>_0x47cc43(_0x59b988,_0xe5c738,_0x18ebb8);let _0x8f5da2=class{constructor(_0x3b0bcd,_0xaedfa4,_0x1431c3){const _0x3fbab9=_0x4f4524;this[_0x3fbab9(0x40b)]=_0x3b0bcd,this[_0x3fbab9(0x33a)]=_0xaedfa4,this[_0x3fbab9(0x2cd)]=_0x1431c3;}['transformStateCache'](_0xd7baad){this['_transformHistoryAndStateStack'](_0xd7baad);}[_0x4f4524(0x402)](_0xa93c26){const _0x14332f=_0x4f4524,{unitID:_0x4874d3}=_0xa93c26,{collaboration:_0x2b3eb9}=this[_0x14332f(0x2cd)][_0x14332f(0x2b1)](_0x4874d3);if(_0x2b3eb9['length']===0x0)return _0xa93c26;let _0x448b38=_0x7d7395[_0x14332f(0x202)]['deepClone'](_0xa93c26[_0x14332f(0x3ab)][0x0]);for(let _0x15a4b2=0x0;_0x15a4b2<_0x2b3eb9['length'];_0x15a4b2++){const _0x150ee1={'id':_0x14332f(0x307),'params':{'unitId':_0x2b3eb9[_0x15a4b2][_0x14332f(0x410)],..._0x2b3eb9[_0x15a4b2][_0x14332f(0x277)]}},_0x2f61ce=this[_0x14332f(0x33a)][_0x14332f(0x24c)](_0x448b38,_0x150ee1,!0x1);if(_0x2fc10['isTransformMutationFailure'](_0x2f61ce))throw _0x2f61ce[_0x14332f(0x46c)];_0x448b38=_0x2f61ce[_0x14332f(0x1f2)];}return{..._0x7d7395[_0x14332f(0x202)][_0x14332f(0x2a5)](_0xa93c26),'mutations':[_0x448b38]};}[_0x4f4524(0x24d)](_0x545806){const _0x137f0c=_0x4f4524,{unitID:_0x3de8db}=_0x545806,{history:_0x15a57a,collaboration:_0x1e2a09}=this['_docStateChangeManagerService'][_0x137f0c(0x2b1)](_0x3de8db);if(_0x15a57a[_0x137f0c(0x332)]===0x0&&_0x1e2a09['length']===0x0)return;const _0x5e505b=[],_0x2a9ff9=[];let _0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]);for(let _0x5cc424=_0x15a57a[_0x137f0c(0x332)]-0x1;_0x5cc424>=0x0;_0x5cc424--){const _0x291d5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15a57a[_0x5cc424]['unitId'],..._0x15a57a[_0x5cc424][_0x137f0c(0x225)]}},_0x45c2ba={'id':_0x137f0c(0x307),'params':{'unitId':_0x15a57a[_0x5cc424][_0x137f0c(0x410)],..._0x15a57a[_0x5cc424][_0x137f0c(0x277)]}},_0x264f2b=this[_0x137f0c(0x33a)][_0x137f0c(0x24c)](_0x5c7e1b,_0x291d5f,!0x1),_0x4146c3=this['_transformService'][_0x137f0c(0x24c)](_0x7bc52e,_0x45c2ba,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x264f2b))throw _0x264f2b[_0x137f0c(0x46c)];if(_0x2fc10[_0x137f0c(0x426)](_0x4146c3))throw _0x4146c3[_0x137f0c(0x46c)];_0x5e505b[_0x137f0c(0x45a)]({..._0x15a57a[_0x5cc424],'undoState':_0x264f2b[_0x137f0c(0x228)][_0x137f0c(0x222)],'redoState':_0x4146c3[_0x137f0c(0x228)][_0x137f0c(0x222)]}),_0x5c7e1b=_0x264f2b[_0x137f0c(0x1f2)],_0x7bc52e=_0x4146c3['m1Prime'];}_0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]);for(let _0x2e97e3=_0x1e2a09['length']-0x1;_0x2e97e3>=0x0;_0x2e97e3--){const _0x74c163={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3][_0x137f0c(0x225)]}},_0xa8e916={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3]['redoState']}},_0x5e0347=this[_0x137f0c(0x33a)]['transformMutation'](_0x5c7e1b,_0x74c163,!0x1),_0x3a24f2=this['_transformService']['transformMutation'](_0x7bc52e,_0xa8e916,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x5e0347))throw _0x5e0347['error'];if(_0x2fc10['isTransformMutationFailure'](_0x3a24f2))throw _0x3a24f2[_0x137f0c(0x46c)];_0x2a9ff9[_0x137f0c(0x45a)]({..._0x1e2a09[_0x2e97e3],'undoState':_0x5e0347['m2Prime'][_0x137f0c(0x222)],'redoState':_0x3a24f2[_0x137f0c(0x228)]['params']}),_0x5c7e1b=_0x5e0347[_0x137f0c(0x1f2)],_0x7bc52e=_0x3a24f2[_0x137f0c(0x1f2)];}this['_docStateChangeManagerService']['setStateCache'](_0x3de8db,{'history':_0x5e505b,'collaboration':_0x2a9ff9});}};_0x8f5da2=_0x392b70([_0x261303(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x261303(0x1,_0x2fc10[_0x4f4524(0x44f)]),_0x261303(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8['DocStateChangeManagerService']))],_0x8f5da2);var _0x3a902a=Object[_0x4f4524(0x44d)],_0x571edb=(_0xb253cc,_0x17e817,_0x515ac4,_0x43b217)=>{const _0x4e051a=_0x4f4524;for(var _0x5047ff=_0x43b217>0x1?void 0x0:_0x43b217?_0x3a902a(_0x17e817,_0x515ac4):_0x17e817,_0x1a4695=_0xb253cc[_0x4e051a(0x332)]-0x1,_0x3296ae;_0x1a4695>=0x0;_0x1a4695--)(_0x3296ae=_0xb253cc[_0x1a4695])&&(_0x5047ff=_0x3296ae(_0x5047ff)||_0x5047ff);return _0x5047ff;},_0x3e6aff=(_0x4c0851,_0x197d2e)=>(_0x357127,_0xc38aec)=>_0x197d2e(_0x357127,_0xc38aec,_0x4c0851);let _0x2c1383=class{constructor(_0x28a717,_0xd90296){const _0x56617d=_0x4f4524;this[_0x56617d(0x40b)]=_0x28a717,this[_0x56617d(0x33a)]=_0xd90296;}[_0x4f4524(0x382)](_0x10467c){const _0x5764cb=_0x4f4524;var _0x421583;const _0x45d5d7=this[_0x5764cb(0x40b)]['get'](_0x1525c3[_0x5764cb(0x31c)]),_0x2855a8=(_0x421583=_0x45d5d7[_0x5764cb(0x348)]())!=null?_0x421583:[];if(_0x2855a8['length']===0x0)return;const _0x14add4=_0x10467c[_0x5764cb(0x3ef)],_0x4ebbc2=[{'id':_0x5764cb(0x307),'params':{'unitId':_0x14add4,'actions':null,'textRanges':_0x2855a8}}],_0x4a8c70=this['_transformService'][_0x5764cb(0x463)](_0x10467c,_0x4ebbc2);if(!_0x2fc10[_0x5764cb(0x3e8)](_0x4a8c70))throw _0x4a8c70[_0x5764cb(0x46c)];const _0x56de68=_0x4a8c70[_0x5764cb(0x228)][0x0][_0x5764cb(0x222)][_0x5764cb(0x2ed)];Array[_0x5764cb(0x3eb)](_0x56de68)&&_0x56de68[_0x5764cb(0x332)]&&_0x45d5d7[_0x5764cb(0x41e)](_0x56de68,{'unitId':_0x14add4,'subUnitId':_0x14add4},!0x1);}};_0x2c1383=_0x571edb([_0x3e6aff(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3e6aff(0x1,_0x2fc10[_0x4f4524(0x44f)])],_0x2c1383);var _0x3972e2=Object['getOwnPropertyDescriptor'],_0x441a36=(_0x5c32d3,_0x4a05bd,_0x5856cc,_0x2432f5)=>{const _0x2c6dcf=_0x4f4524;for(var _0xff6bfc=_0x2432f5>0x1?void 0x0:_0x2432f5?_0x3972e2(_0x4a05bd,_0x5856cc):_0x4a05bd,_0x41f8c0=_0x5c32d3[_0x2c6dcf(0x332)]-0x1,_0x1463ee;_0x41f8c0>=0x0;_0x41f8c0--)(_0x1463ee=_0x5c32d3[_0x41f8c0])&&(_0xff6bfc=_0x1463ee(_0xff6bfc)||_0xff6bfc);return _0xff6bfc;},_0x54071b=(_0x5dce70,_0x17e300)=>(_0x29d1b7,_0x3358f2)=>_0x17e300(_0x29d1b7,_0x3358f2,_0x5dce70);let _0xa24eca=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x246613,_0x3ccbae,_0x24a5e1,_0x4ccf04,_0x254411,_0x492f64,_0x4dcac6,_0x16a2b3){const _0x3040b8=_0x4f4524;super(),_0x4535fa(this,_0x3040b8(0x24f),new _0x24af31[(_0x3040b8(0x42f))](_0xcd8db['CollaborationStatus'][_0x3040b8(0x3c3)])),(this['_docStateChangeManagerService']=_0x246613,this[_0x3040b8(0x21c)]=_0x3ccbae,this['_docTransformIMECacheService']=_0x24a5e1,this[_0x3040b8(0x2dd)]=_0x4ccf04,this[_0x3040b8(0x460)]=_0x254411,this[_0x3040b8(0x23a)]=_0x492f64,this[_0x3040b8(0x268)]=_0x4dcac6,this[_0x3040b8(0x456)]=_0x16a2b3,this[_0x3040b8(0x358)]());}[_0x4f4524(0x358)](){const _0x4371e2=_0x4f4524;this[_0x4371e2(0x38e)](this[_0x4371e2(0x21c)][_0x4371e2(0x1ff)][_0x4371e2(0x2ef)](_0x1c8303=>{const _0x337c7f=_0x4371e2,_0x3eb369=this[_0x337c7f(0x2cd)][_0x337c7f(0x417)]['subscribe'](_0x1bc108=>{const _0x397a4f=_0x337c7f;if(_0x1bc108==null)return;const {unitId:_0xea65eb,redoState:_0x280693,commandId:_0x438050}=_0x1bc108;if(_0xea65eb!==_0x1c8303[_0x397a4f(0x3ef)])return;const _0x447e67={'id':_0x438050,'type':_0x7d7395[_0x397a4f(0x432)][_0x397a4f(0x341)],'params':{'unitId':_0xea65eb,'actions':_0x280693[_0x397a4f(0x2de)],'textRanges':null}};_0x1c8303['onLocalMutation'](_0x447e67);});if(_0x1c8303['disposeWithMe'](_0x3eb369),_0x1c8303 instanceof _0xcd8db[_0x337c7f(0x2ce)]){const _0x4b03e0={'onTransformIME':_0xeeccac=>this['_docTransformIMECacheService'][_0x337c7f(0x2f3)](_0xeeccac),'onTransformState':_0x239c6d=>this[_0x337c7f(0x2dd)]['transformStateCache'](_0x239c6d),'onTransformSelections':_0xc91651=>this[_0x337c7f(0x460)][_0x337c7f(0x382)](_0xc91651),'onSyncEditingCollabCursor':_0x3fe72b=>this[_0x337c7f(0x23a)][_0x337c7f(0x40a)](_0x3fe72b),'onTransformRemoteChangesetByIMECache':_0x34e0bc=>this['_docTransformIMECacheService'][_0x337c7f(0x402)](_0x34e0bc),'onTransformRemoteChangesetByStateCache':_0x174dfa=>this[_0x337c7f(0x2dd)][_0x337c7f(0x402)](_0x174dfa)};_0x1c8303['addHandlerCallback'](_0x4b03e0);}}));}};_0xa24eca=_0x441a36([_0x54071b(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8[_0x4f4524(0x2cc)])),_0x54071b(0x1,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x32f)])),_0x54071b(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x3bd767)),_0x54071b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x8f5da2)),_0x54071b(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x2c1383)),_0x54071b(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x54071b(0x6,_0x273ccb[_0x4f4524(0x41c)]),_0x54071b(0x7,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0xa24eca);var _0x5ea21f=Object[_0x4f4524(0x44d)],_0x5f2269=(_0x20bd5a,_0x31f388,_0x4dfd2f,_0x3ac0f3)=>{const _0x297c5a=_0x4f4524;for(var _0x3bdeba=_0x3ac0f3>0x1?void 0x0:_0x3ac0f3?_0x5ea21f(_0x31f388,_0x4dfd2f):_0x31f388,_0x412e6d=_0x20bd5a[_0x297c5a(0x332)]-0x1,_0x4fcfb6;_0x412e6d>=0x0;_0x412e6d--)(_0x4fcfb6=_0x20bd5a[_0x412e6d])&&(_0x3bdeba=_0x4fcfb6(_0x3bdeba)||_0x3bdeba);return _0x3bdeba;},_0x5d439a=(_0x4bca08,_0x586a74)=>(_0x5e001d,_0x14476f)=>_0x586a74(_0x5e001d,_0x14476f,_0x4bca08);let _0x2cc7cc=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x57316e,_0x3b4f2d,_0x4ff49d){const _0xa5cdc3=_0x4f4524;super(),_0x4535fa(this,_0xa5cdc3(0x404),new Map()),_0x4535fa(this,_0xa5cdc3(0x257),new Map()),_0x4535fa(this,_0xa5cdc3(0x376),!0x1),(this['_configService']=_0x57316e,this[_0xa5cdc3(0x433)]=_0x3b4f2d,this[_0xa5cdc3(0x35e)]=_0x4ff49d);}[_0x4f4524(0x35d)](){this['_disabled']=!0x0;}[_0x4f4524(0x38f)](){const _0x2fb744=_0x4f4524;this[_0x2fb744(0x376)]=!0x1;}get[_0x4f4524(0x314)](){const _0x261aed=_0x4f4524;return this[_0x261aed(0x257)];}['dispose'](){const _0xa27dae=_0x4f4524;this[_0xa27dae(0x30a)]()['then'](()=>super[_0xa27dae(0x347)]());}async['loadOfflineData'](_0x2e7bf2){const _0x3e8af3=_0x4f4524;return this[_0x3e8af3(0x376)]?null:this[_0x3e8af3(0x433)][_0x3e8af3(0x464)](_0xcd8db[_0x3e8af3(0x469)](_0x2e7bf2));}async[_0x4f4524(0x459)](_0x5b99b1,_0x4a49ef){const _0x4cf847=_0x4f4524;return!!this['_localStorageService'][_0x4cf847(0x216)](_0x5b99b1,_0x4a49ef);}['updateOfflineData'](_0x14fc02,_0x27b824,_0x13cf29,_0x3de4ea){const _0x84ff92=_0x4f4524,_0x43b4cc=this[_0x84ff92(0x35e)][_0x84ff92(0x2cf)](_0x14fc02);this[_0x84ff92(0x404)][_0x84ff92(0x32e)](_0x14fc02,{'unitID':_0x14fc02,'type':_0x27b824,'awaitingChangeset':_0x13cf29,'mutations':_0x3de4ea,'rev':_0x43b4cc}),this['_saveTaskMap'][_0x84ff92(0x3d4)](_0x14fc02)||this['_scheduleSaving'](_0x14fc02);}[_0x4f4524(0x25f)](_0x4140d5){const _0x3e8d1c=_0x4f4524,_0x1fc1de=this['_getSaveTimeout']();_0x1fc1de===0x0?this[_0x3e8d1c(0x3b1)](_0x4140d5):this[_0x3e8d1c(0x257)][_0x3e8d1c(0x32e)](_0x4140d5,setTimeout(()=>this['_saveCache'](_0x4140d5),_0x1fc1de));}['_getSaveTimeout'](){const _0x56761f=_0x4f4524;var _0x17f01a;return(_0x17f01a=this[_0x56761f(0x42d)]['getConfig'](_0xcd8db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x17f01a:_0xcd8db['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x566d6d){const _0x2e485=_0x4f4524,_0x47358f=this[_0x2e485(0x257)][_0x2e485(0x455)](_0x566d6d);return _0x47358f!==void 0x0&&window['clearTimeout'](_0x47358f),this['_localStorageService']['setItem'](_0xcd8db['getLocalCacheKey'](_0x566d6d),this['_cachedData']['get'](_0x566d6d))['then'](()=>this[_0x2e485(0x257)]['delete'](_0x566d6d));}async['exhaustSavingTask'](){const _0x807609=_0x4f4524,_0x33a32f=[];this[_0x807609(0x257)]['forEach']((_0x153cb2,_0x438d20)=>{const _0xedf3a3=_0x807609;window[_0xedf3a3(0x285)](_0x153cb2),_0x33a32f[_0xedf3a3(0x250)](this[_0xedf3a3(0x3b1)](_0x438d20)['then'](()=>{const _0x59bdca=_0xedf3a3;this[_0x59bdca(0x257)]['delete'](_0x438d20);}));}),await Promise[_0x807609(0x26e)](_0x33a32f);}};_0x2cc7cc=_0x5f2269([_0x5d439a(0x0,_0x7d7395[_0x4f4524(0x345)]),_0x5d439a(0x1,_0x7d7395[_0x4f4524(0x233)]),_0x5d439a(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x2fc10[_0x4f4524(0x42a)]))],_0x2cc7cc);class _0x17a93b extends _0x7d7395[_0x4f4524(0x36e)]{constructor(){const _0x4fdba7=_0x4f4524;super(),_0x4535fa(this,_0x4fdba7(0x31b)),this['urlChange$']=_0x24af31[_0x4fdba7(0x3bd)](window,_0x4fdba7(0x2d5))[_0x4fdba7(0x475)](_0x24af31[_0x4fdba7(0x41d)](this[_0x4fdba7(0x3b9)]),_0x24af31[_0x4fdba7(0x32d)](0x1),_0x24af31[_0x4fdba7(0x446)](void 0x0));}[_0x4f4524(0x313)](_0x1d914e,_0x327acf,_0x3072a0=!0x1){const _0x5961ef=_0x4f4524,_0x244f2f=new URL(window['location'][_0x5961ef(0x276)]);_0x244f2f[_0x5961ef(0x423)][_0x5961ef(0x32e)](_0x1d914e,_0x327acf),_0x3072a0?window[_0x5961ef(0x2a9)][_0x5961ef(0x259)]('','',_0x244f2f[_0x5961ef(0x3dc)]()):window[_0x5961ef(0x2a9)][_0x5961ef(0x3f1)]('','',_0x244f2f['toString']());}[_0x4f4524(0x35a)](_0x23f469,_0x220901=!0x1){const _0x86dc7a=_0x4f4524,_0x17fc26=new URL(window[_0x86dc7a(0x2a6)][_0x86dc7a(0x276)]);_0x17fc26['searchParams']['delete'](_0x23f469),_0x220901?window[_0x86dc7a(0x2a9)]['replaceState']('','',_0x17fc26[_0x86dc7a(0x3dc)]()):window['history'][_0x86dc7a(0x3f1)]('','',_0x17fc26[_0x86dc7a(0x3dc)]());}[_0x4f4524(0x442)](_0x5bcf2a){const _0x49f231=_0x4f4524;var _0x1e716b;return(_0x1e716b=new URL(window[_0x49f231(0x2a6)][_0x49f231(0x276)])[_0x49f231(0x423)][_0x49f231(0x455)](_0x5bcf2a))!=null?_0x1e716b:void 0x0;}}var _0x221a07=Object['defineProperty'],_0x5829f5=Object[_0x4f4524(0x44d)],_0x26e757=(_0x25962e,_0x219e79,_0x4eddf7)=>_0x219e79 in _0x25962e?_0x221a07(_0x25962e,_0x219e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eddf7}):_0x25962e[_0x219e79]=_0x4eddf7,_0x51b230=(_0x22f347,_0x30ca28,_0x49892d,_0x22c897)=>{for(var _0x55391d=_0x22c897>0x1?void 0x0:_0x22c897?_0x5829f5(_0x30ca28,_0x49892d):_0x30ca28,_0x259bf0=_0x22f347['length']-0x1,_0x8b9840;_0x259bf0>=0x0;_0x259bf0--)(_0x8b9840=_0x22f347[_0x259bf0])&&(_0x55391d=_0x8b9840(_0x55391d)||_0x55391d);return _0x55391d;},_0x2a6c60=(_0x276cf7,_0x1de66a)=>(_0x13ddde,_0xabf45c)=>_0x1de66a(_0x13ddde,_0xabf45c,_0x276cf7),_0x3c984a=(_0x582444,_0x525443,_0x2c3704)=>_0x26e757(_0x582444,_0x525443+'',_0x2c3704);const _0x46d493=_0x4f4524(0x291);_0x4cceb3[_0x4f4524(0x2f4)]=class extends _0x7d7395[_0x4f4524(0x1f1)]{constructor(_0x34410a=_0x40ad9b,_0x1e8443,_0x5571f9,_0x543032){const _0x407058=_0x4f4524;super(),this[_0x407058(0x431)]=_0x34410a,this[_0x407058(0x360)]=_0x1e8443,this[_0x407058(0x40b)]=_0x5571f9,this['_configService']=_0x543032;const {..._0x3bb1c5}=_0x7d7395[_0x407058(0x3e3)]({},_0x40ad9b,this[_0x407058(0x431)]);this[_0x407058(0x42d)][_0x407058(0x2c1)](_0x542c2f,_0x3bb1c5);}[_0x4f4524(0x45f)](){const _0x15ebf0=_0x4f4524;this[_0x15ebf0(0x2d4)](),this[_0x15ebf0(0x344)]();}['onRendered'](){const _0x232d6b=_0x4f4524;this[_0x232d6b(0x3ed)]();}[_0x4f4524(0x2d4)](){const _0x521118=_0x4f4524;var _0x18865b;const _0x1b9c37=[[_0x1cb796],[_0x2c1383],[_0x3bd767],[_0x8f5da2],[_0x4e81cb],[_0x557455,{'useClass':_0x17a93b}],[_0x45113e[_0x521118(0x378)],{'useClass':_0x45113e[_0x521118(0x211)]}],[_0xcd8db[_0x521118(0x443)],{'useClass':_0x2cc7cc}],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x42f641],[_0x270b59],[_0x4cceb3[_0x521118(0x322)]]];_0x7d7395[_0x521118(0x30c)](this['_injector'],_0x7d7395[_0x521118(0x2c5)](_0x1b9c37,(_0x18865b=this['_config'])==null?void 0x0:_0x18865b[_0x521118(0x3d6)]));}[_0x4f4524(0x3ed)](){const _0x3aa9dd=_0x4f4524;this[_0x3aa9dd(0x38e)](this[_0x3aa9dd(0x360)][_0x3aa9dd(0x1e7)](_0x7d7395['UniverInstanceType'][_0x3aa9dd(0x38b)],[_0xcd79ae])),this[_0x3aa9dd(0x38e)](this['_renderManagerService'][_0x3aa9dd(0x1e7)](_0x7d7395[_0x3aa9dd(0x342)]['UNIVER_SHEET'],[_0x46a2ee]));}[_0x4f4524(0x344)](){const _0x2093d4=_0x4f4524;_0x7d7395[_0x2093d4(0x26b)](this['_injector'],[[_0x42f641],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x4cceb3['CollaborationDataLoaderController']]]);}},_0x3c984a(_0x4cceb3[_0x4f4524(0x2f4)],'pluginName',_0x46d493),_0x4cceb3[_0x4f4524(0x2f4)]=_0x51b230([_0x7d7395[_0x4f4524(0x3d8)](_0xcd8db[_0x4f4524(0x37f)]),_0x2a6c60(0x1,_0x1335eb[_0x4f4524(0x40c)]),_0x2a6c60(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x2a6c60(0x3,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x2f4)]);var _0x10f49c=Object[_0x4f4524(0x44d)],_0x4ac7e4=(_0x16dcb7,_0x10502f,_0x34c2df,_0x4ea905)=>{const _0x30ffa3=_0x4f4524;for(var _0x4194e8=_0x4ea905>0x1?void 0x0:_0x4ea905?_0x10f49c(_0x10502f,_0x34c2df):_0x10502f,_0x525db3=_0x16dcb7[_0x30ffa3(0x332)]-0x1,_0x4b4e9b;_0x525db3>=0x0;_0x525db3--)(_0x4b4e9b=_0x16dcb7[_0x525db3])&&(_0x4194e8=_0x4b4e9b(_0x4194e8)||_0x4194e8);return _0x4194e8;},_0x4bbe04=(_0x3de84e,_0x55ac59)=>(_0x510a99,_0x435e57)=>_0x55ac59(_0x510a99,_0x435e57,_0x3de84e);_0x4cceb3['BrowserCollaborationSocketService']=class extends _0xcd8db['CollaborationSocketService']{constructor(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0){super(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0);}async['createSocket'](_0x2f4ce5){const _0x1b2471=_0x4f4524,_0x4982e1=await this[_0x1b2471(0x248)](),_0x4c3585=this[_0x1b2471(0x300)](_0x2f4ce5,_0x4982e1);return this[_0x1b2471(0x3b2)](_0x4c3585);}[_0x4f4524(0x300)](_0x14b108,_0x230d36){const _0x4e7473=_0x4f4524,_0x2cd1a2=typeof window>'u'?new URL(_0x14b108):new URL(_0x14b108,window[_0x4e7473(0x2a6)][_0x4e7473(0x374)]);_0x2cd1a2[_0x4e7473(0x423)]['set']('sessionTicket',_0x230d36);const _0x199198=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4e7473(0x357)]);return _0x199198['get']('runId')&&_0x2cd1a2[_0x4e7473(0x423)][_0x4e7473(0x32e)](_0x4e7473(0x247),_0x199198['get'](_0x4e7473(0x247))),_0x2cd1a2[_0x4e7473(0x3dc)]();}async[_0x4f4524(0x248)](){const _0x329579=_0x4f4524;var _0x3a6484,_0x47ccb8,_0x2f5326;const _0x44c076=this[_0x329579(0x42d)][_0x329579(0x245)](_0xcd8db[_0x329579(0x45d)]),_0x1e6852=(_0x3a6484=_0x44c076==null?void 0x0:_0x44c076['wsSessionTicketUrl'])!=null?_0x3a6484:_0xcd8db[_0x329579(0x353)];return(_0x2f5326=(_0x47ccb8=(await this[_0x329579(0x25a)][_0x329579(0x455)](_0x1e6852,{'headers':{'Content-Type':_0x329579(0x2fa)}}))[_0x329579(0x46b)])==null?void 0x0:_0x47ccb8['ticket'])!=null?_0x2f5326:'';}},_0x4cceb3[_0x4f4524(0x350)]=_0x4ac7e4([_0x4bbe04(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4bbe04(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x45113e['HTTPService'])),_0x4bbe04(0x2,_0x7d7395[_0x4f4524(0x345)]),_0x4bbe04(0x3,_0x7d7395[_0x4f4524(0x333)]),_0x4bbe04(0x4,_0x2fc10[_0x4f4524(0x439)])],_0x4cceb3['BrowserCollaborationSocketService']);const _0x4d1820=0x7530,_0x4205e1=_0x4f4524(0x3b0);class _0x3fefdb extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x4c25c3=_0x4f4524;super(),_0x4535fa(this,_0x4c25c3(0x271),_0x7d7395['generateRandomId']()),_0x4535fa(this,'_selfUnitIDs',new Set()),_0x4535fa(this,_0x4c25c3(0x373),new Map()),_0x4535fa(this,_0x4c25c3(0x29a),null),_0x4535fa(this,_0x4c25c3(0x201),new Map()),_0x4535fa(this,_0x4c25c3(0x2da),new Map()),this[_0x4c25c3(0x1e4)]();}[_0x4f4524(0x347)](){const _0x271bfb=_0x4f4524;super[_0x271bfb(0x347)](),this[_0x271bfb(0x201)][_0x271bfb(0x23f)]((_0x4fb076,_0x3d396f)=>this[_0x271bfb(0x3c6)](_0x3d396f)),this[_0x271bfb(0x29a)]&&window['clearInterval'](this[_0x271bfb(0x29a)]);}[_0x4f4524(0x2e5)](_0x2e9532){const _0x584150=_0x4f4524;return this[_0x584150(0x2ac)](_0x2e9532)['pipe'](_0x24af31[_0x584150(0x319)]());}[_0x4f4524(0x413)](_0x118c90){const _0x517ff3=_0x4f4524;this[_0x517ff3(0x3d3)][_0x517ff3(0x41b)]===0x0&&this[_0x517ff3(0x2f1)](),this[_0x517ff3(0x3d3)][_0x517ff3(0x203)](_0x118c90),this[_0x517ff3(0x43e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x118c90],'isForwarded':!0x1});}[_0x4f4524(0x26c)](_0x5aff06){const _0x23675b=_0x4f4524;this[_0x23675b(0x3d3)][_0x23675b(0x421)](_0x5aff06),this['_selfUnitIDs']['size']===0x0&&this[_0x23675b(0x29a)]&&window[_0x23675b(0x395)](this['_heartbeatTimer']);}['_init'](){const _0x455b71=_0x4f4524;this[_0x455b71(0x38e)](_0x7d7395['toDisposable'](_0x24af31[_0x455b71(0x3bd)](window,_0x455b71(0x3b7))[_0x455b71(0x2ef)](_0x1ee220=>{const _0x510d37=_0x455b71;if(_0x1ee220['key']!==_0x4205e1||!_0x1ee220[_0x510d37(0x45b)])return;const _0x2a4e5d=JSON[_0x510d37(0x380)](_0x1ee220[_0x510d37(0x45b)]);this[_0x510d37(0x444)](_0x2a4e5d);}))),window['addEventListener']('unload',()=>this[_0x455b71(0x43e)]({'type':0x1,'memberID':this[_0x455b71(0x271)],'unitIDs':Array[_0x455b71(0x3f3)](this[_0x455b71(0x3d3)])}));}['_handleEvent'](_0x17ff6b){const _0x1f6520=_0x4f4524;switch(_0x17ff6b[_0x1f6520(0x213)]){case 0x0:this[_0x1f6520(0x2ee)](_0x17ff6b);break;case 0x1:this[_0x1f6520(0x39e)](_0x17ff6b);break;case 0x2:this[_0x1f6520(0x1f5)](_0x17ff6b);break;}}['_handleJoinEvent'](_0xf2edbb){const _0x45fc78=_0x4f4524,{unitIDs:_0x185661,memberID:_0x985d2c,isForwarded:_0x41b573}=_0xf2edbb;_0x185661[_0x45fc78(0x23f)](_0x379a1b=>{const _0x30adcb=_0x45fc78;if(!_0x41b573&&this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)&&this[_0x30adcb(0x2ac)](_0x379a1b)[_0x30adcb(0x1e8)](_0xcd8db[_0x30adcb(0x2dc)][_0x30adcb(0x275)]),!this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)||!this['_unitOnClients']['get'](_0x379a1b)[_0x30adcb(0x3d4)](_0x985d2c)){const _0x472827=this[_0x30adcb(0x373)][_0x30adcb(0x455)](_0x379a1b)||new Set();_0x472827[_0x30adcb(0x203)](_0x985d2c),this['_unitOnClients'][_0x30adcb(0x32e)](_0x379a1b,_0x472827),this[_0x30adcb(0x44c)](_0x985d2c);}}),_0x41b573||this[_0x45fc78(0x43e)]({'type':0x0,'memberID':this[_0x45fc78(0x271)],'unitIDs':[...this[_0x45fc78(0x3d3)]],'isForwarded':!0x0});}[_0x4f4524(0x44c)](_0xcc2b7){const _0x1d8039=_0x4f4524;this[_0x1d8039(0x3c6)](_0xcc2b7);const _0x5400b6=window['setTimeout'](()=>{const _0x4719d0=_0x1d8039;this[_0x4719d0(0x373)]['forEach'](_0x1c1a7e=>{const _0x4f368f=_0x4719d0;_0x1c1a7e[_0x4f368f(0x421)](_0xcc2b7);});},_0x4d1820*0x2);this['_clearOtherTimers'][_0x1d8039(0x32e)](_0xcc2b7,_0x5400b6);}[_0x4f4524(0x3c6)](_0x526e13){const _0x1ad046=_0x4f4524;if(this[_0x1ad046(0x201)][_0x1ad046(0x3d4)](_0x526e13)){const _0x4bba3b=this[_0x1ad046(0x201)]['get'](_0x526e13);_0x4bba3b&&window[_0x1ad046(0x285)](_0x4bba3b),this[_0x1ad046(0x201)][_0x1ad046(0x32e)](_0x526e13,null);}}[_0x4f4524(0x39e)](_0x38dac7){const _0x5abcaa=_0x4f4524,{memberID:_0x16d994,unitIDs:_0x4cf391}=_0x38dac7;_0x4cf391[_0x5abcaa(0x23f)](_0x382368=>{const _0xfc48b=_0x5abcaa;var _0x506b09;const _0x10e612=this[_0xfc48b(0x373)]['get'](_0x382368);_0x10e612&&(_0x10e612[_0xfc48b(0x421)](_0x16d994),(_0x506b09=this[_0xfc48b(0x2ac)](_0x382368))==null||_0x506b09[_0xfc48b(0x1e8)](_0x10e612[_0xfc48b(0x41b)]===0x0?_0xcd8db['UnitStatus'][_0xfc48b(0x422)]:_0xcd8db[_0xfc48b(0x2dc)][_0xfc48b(0x275)]));}),this[_0x5abcaa(0x3c6)](_0x16d994);}['_handleHeartbeatEvent'](_0x2b8d7e){const _0x4f3356=_0x4f4524;this[_0x4f3356(0x44c)](_0x2b8d7e[_0x4f3356(0x2cb)]);}[_0x4f4524(0x43e)](_0x2ef71b){const _0x492371=_0x4f4524;localStorage[_0x492371(0x216)](_0x4205e1,JSON[_0x492371(0x3a2)](_0x2ef71b));}[_0x4f4524(0x2f1)](){const _0x5981af=_0x4f4524;this['_heartbeatTimer']=window[_0x5981af(0x1f8)](()=>{const _0x2dac78=_0x5981af;this[_0x2dac78(0x43e)]({'type':0x2,'memberID':this['_id']});},_0x4d1820);}['_ensureSubject'](_0x365b3d){const _0x2f3f60=_0x4f4524;return this[_0x2f3f60(0x2da)][_0x2f3f60(0x3d4)](_0x365b3d)||this[_0x2f3f60(0x2da)][_0x2f3f60(0x32e)](_0x365b3d,new _0x24af31[(_0x2f3f60(0x42f))](_0xcd8db[_0x2f3f60(0x2dc)][_0x2f3f60(0x422)])),this['_unitStatus'][_0x2f3f60(0x455)](_0x365b3d);}}var _0x237c88=(_0x431918=>(_0x431918[_0x431918[_0x4f4524(0x2a8)]=0x0]=_0x4f4524(0x2a8),_0x431918[_0x431918['OK']=0x1]='OK',_0x431918[_0x431918[_0x4f4524(0x354)]=0x2]=_0x4f4524(0x354),_0x431918[_0x431918[_0x4f4524(0x2b4)]=0x3]=_0x4f4524(0x2b4),_0x431918[_0x431918[_0x4f4524(0x3bb)]=0x4]='NOT_FOUND',_0x431918[_0x431918[_0x4f4524(0x263)]=0x5]=_0x4f4524(0x263),_0x431918[_0x431918[_0x4f4524(0x310)]=0x6]=_0x4f4524(0x310),_0x431918[_0x431918[_0x4f4524(0x29f)]=0x7]='INVALID_ARGUMENT',_0x431918[_0x431918[_0x4f4524(0x41f)]=0x8]=_0x4f4524(0x41f),_0x431918[_0x431918[_0x4f4524(0x2b8)]=0x9]=_0x4f4524(0x2b8),_0x431918[_0x431918[_0x4f4524(0x35f)]=0xa]=_0x4f4524(0x35f),_0x431918[_0x431918[_0x4f4524(0x33c)]=0x1389]=_0x4f4524(0x33c),_0x431918[_0x431918['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x431918[_0x431918[_0x4f4524(0x3fc)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x431918[_0x431918[_0x4f4524(0x22b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x431918[_0x431918['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x431918[_0x431918['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4f4524(0x1ea),_0x431918[_0x431918[_0x4f4524(0x44a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x431918[_0x431918['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4f4524(0x3b3),_0x431918[_0x431918[_0x4f4524(0x2b9)]=0x1b5d]=_0x4f4524(0x2b9),_0x431918[_0x431918[_0x4f4524(0x472)]=0x1f41]=_0x4f4524(0x472),_0x431918[_0x431918[_0x4f4524(0x428)]=0x2329]=_0x4f4524(0x428),_0x431918[_0x431918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x431918[_0x431918['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x431918[_0x431918[_0x4f4524(0x31a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x431918[_0x431918['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4f4524(0x3cb),_0x431918[_0x431918[_0x4f4524(0x28c)]=0x2711]=_0x4f4524(0x28c),_0x431918[_0x431918[_0x4f4524(0x3aa)]=0x2712]=_0x4f4524(0x3aa),_0x431918[_0x431918[_0x4f4524(0x30e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x431918[_0x431918[_0x4f4524(0x397)]=0x2714]=_0x4f4524(0x397),_0x431918[_0x431918[_0x4f4524(0x21b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x431918[_0x431918['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4f4524(0x368),_0x431918[_0x431918[_0x4f4524(0x283)]=0x2ee2]=_0x4f4524(0x283),_0x431918[_0x431918[_0x4f4524(0x3a0)]=0x2ee3]=_0x4f4524(0x3a0),_0x431918[_0x431918['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x431918[_0x431918[_0x4f4524(0x31f)]=0x2ee5]=_0x4f4524(0x31f),_0x431918[_0x431918['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4f4524(0x335),_0x431918[_0x431918[_0x4f4524(0x2fb)]=0x32ca]=_0x4f4524(0x2fb),_0x431918[_0x431918[_0x4f4524(0x399)]=0x32cb]=_0x4f4524(0x399),_0x431918[_0x431918[_0x4f4524(0x23b)]=-0x1]=_0x4f4524(0x23b),_0x431918))(_0x237c88||{}),_0x2c1845=Object['getOwnPropertyDescriptor'],_0x1046fb=(_0xedd4bc,_0x30faf7,_0x3fa659,_0x328ec8)=>{const _0x85f96e=_0x4f4524;for(var _0xf17cd4=_0x328ec8>0x1?void 0x0:_0x328ec8?_0x2c1845(_0x30faf7,_0x3fa659):_0x30faf7,_0x1d361e=_0xedd4bc[_0x85f96e(0x332)]-0x1,_0x423e93;_0x1d361e>=0x0;_0x1d361e--)(_0x423e93=_0xedd4bc[_0x1d361e])&&(_0xf17cd4=_0x423e93(_0xf17cd4)||_0xf17cd4);return _0xf17cd4;},_0x4c0ad6=(_0x3fe15d,_0x5279b2)=>(_0x43aec7,_0x7c5d31)=>_0x5279b2(_0x43aec7,_0x7c5d31,_0x3fe15d);_0x4cceb3['RemoteUniscriptService']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x2d5dbb,_0x218b46,_0x4484d4){const _0x545ae7=_0x4f4524;super(),this[_0x545ae7(0x32b)]=_0x2d5dbb,this[_0x545ae7(0x25a)]=_0x218b46,this[_0x545ae7(0x42d)]=_0x4484d4;}async[_0x4f4524(0x281)](_0x4ea4ec,_0x38783f,_0x27f64f,..._0x232ac9){const _0x3d5d5d=_0x4f4524;var _0x5d0f55,_0x4ef0c1,_0x4ab502,_0x5383b1;const _0x5a02c=this[_0x3d5d5d(0x32b)][_0x3d5d5d(0x2bc)]();if(!_0x5a02c)throw new Error(_0x3d5d5d(0x3f9));const _0x5aa95c=((_0x5d0f55=this[_0x3d5d5d(0x42d)][_0x3d5d5d(0x245)](_0xcd8db[_0x3d5d5d(0x3d9)]))!=null?_0x5d0f55:_0xcd8db[_0x3d5d5d(0x229)])+'/'+_0x4ea4ec+'/run/'+_0x38783f,_0x2ce0dd=new URL(window[_0x3d5d5d(0x2a6)]['href']),_0xe95da8={'scriptId':_0x4ea4ec,'runId':(_0x4ef0c1=_0x2ce0dd[_0x3d5d5d(0x423)]['get'](_0x3d5d5d(0x247)))!=null?_0x4ef0c1:'','function':_0x38783f,'unitId':_0x5a02c[_0x3d5d5d(0x36d)](),'argsOfFunction':JSON[_0x3d5d5d(0x3a2)](_0x232ac9),'invokeId':(_0x4ab502=_0x27f64f[_0x3d5d5d(0x321)])!=null?_0x4ab502:'','executionId':(_0x5383b1=_0x27f64f[_0x3d5d5d(0x2ad)])!=null?_0x5383b1:''};try{const _0x506bc9=await this[_0x3d5d5d(0x25a)][_0x3d5d5d(0x403)](_0x5aa95c,{'body':_0xe95da8});return _0x506bc9['body'][_0x3d5d5d(0x46c)]&&_0x506bc9[_0x3d5d5d(0x46b)]['error'][_0x3d5d5d(0x2c6)]!==_0x237c88['OK']?_0x3d5d5d(0x3ea):_0x506bc9['body']['result'];}catch{return _0x3d5d5d(0x3ea);}}},_0x4cceb3[_0x4f4524(0x351)]=_0x1046fb([_0x4c0ad6(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4c0ad6(0x1,_0x7d7395['Inject'](_0x45113e[_0x4f4524(0x392)])),_0x4c0ad6(0x2,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x351)]),_0x4cceb3[_0x4f4524(0x474)]=_0x13fcf2,_0x4cceb3[_0x4f4524(0x415)]=_0x557455,_0x4cceb3[_0x4f4524(0x471)]=_0x5cd145,_0x4cceb3[_0x4f4524(0x3f4)]=_0x3fefdb,_0x4cceb3[_0x4f4524(0x2d8)]=_0x17a93b,Object[_0x4f4524(0x390)](_0x4cceb3,Symbol[_0x4f4524(0x359)],{'value':_0x4f4524(0x448)});}));function _0x25fd(_0x542a67,_0x2cb157){const _0x50cafb=_0x50ca();return _0x25fd=function(_0x25fda3,_0x4cc820){_0x25fda3=_0x25fda3-0x1e1;let _0x16805e=_0x50cafb[_0x25fda3];return _0x16805e;},_0x25fd(_0x542a67,_0x2cb157);}function _0x50ca(){const _0x297aad=['SUBMIT_CHANGESET_TIMEOUT','currentTheme$','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','urlChange$','DocSelectionManagerService','Workbook','extend','INVITE_CODE_ALREADY_BOUND','UniverIcon','invokeId','CollaborationDataLoaderController','_onRefRangeChange','red300','AWAITING','_themeService','function','executeCommand','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','prototype','shareReplay','set','CollaborationController','cursorInfo$','getCollabEntity$','length','ILogService','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','drawWith','addClipboardHook','getActiveSheet','UniverDrawing','_transformService','find','CHANGESET_REVISION_CONFILICT','uni.network.url-service','@univerjs/design','InsertColCommandId','handleInsertRangeMoveRight','MUTATION','UniverInstanceType','requireSession','_initDependencies','IConfigService','top','dispose','getDocRanges','handleInsertCol','substring','TEXT_RANGE_LAYER_INDEX','init','sessionStatus$','_labelPosition','connectInjector','BrowserCollaborationSocketService','RemoteUniscriptService','_anchor','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','sheetID','MessageType','search','_initEntityListener','toStringTag','removeParam','_updateCollabCursors','subunit','disableLocalCache','_revisionService','LOGIN_FAILED','_renderManagerService','attrs','collabStatus.fetchMiss','onPointerLeave$','_context','getTypeOfUnitAdded$','handleMoveRange','whenReady','INVITE_CODE_HAS_BEEN_UES','CollaborationStatus','PENDING','resize','Disposable','getUnitId','RxDisposable','SOCKET_FAILED_RETRY','exports','_collaborationUIEventService','_render','_unitOnClients','origin','TEXT','_disabled','path','ISocketService','collabStatus.conflict','Subject','flatMap','_notificationService','online','ColorKit','UniverCollaborationClientPlugin','parse','clipPath','transformSelections','icon','DisposableCollection','RegularPolygon','min','activeSheet$','11461920oLICth','5172681shxMOg','collaboration-client-ui.config','UNIVER_DOC','eventID','_refreshCollabCursors','disposeWithMe','enableLocalCache','defineProperty','useRef','HTTPService','SetSelectionsOperation','@univerjs/core','clearInterval','lineTo','YUUMI_SUBSCRIPTION_NOT_FOUND','split','EMAIL_HAS_BEEN_BOUND','_session','IDocClipboardService','BuiltInUIPart','getSheetId','_handleLeaveEvent','current','INVITE_CODE_REQUIRED','univer-online','stringify','SheetsSelectionsService','@univerjs/engine-render','off-line-single','permission.content','InsertRangeMoveRightCommandId','measureText','getTypeOfUnitDisposed$','YUUMI_URL_COL_OUT_OF_RANGE','mutations','IBeforeCloseService','RECT','FETCH_MISS','NodePositionConvertToRectRange','ACTIVE_UNIT_EVENT_CHANNEL','_saveCache','_doCreateSocket','APPLY_PERMISSION_DENIED','_urlService','round','_collabCursorState$','storage','0\x200\x2017\x2016','dispose$','Rect','NOT_FOUND','582433LEkaYu','fromEvent','mask','rxjs','CollaborationUIEventService','idSuffix','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','NOT_COLLAB','getMember','collab-rect-range-','_removeClearOtherTimer','map','RemoveColCommandId','13155541eRDCPg','symbol','LICENSE_DISTRO_REJECTED','UniverCore','cursorInfo','handleDeleteRangeMoveLeft','@univerjs/network','RemoveRowCommandId','backgroundColor','react','_selfUnitIDs','has','_getScale','override','_entities','DependentOn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','univer-online-status-icon','_uiPartsService','toString','subscribeEvent','COLORS','onCommandExecuted','handleIRemoveRow','endColumn','RefRangeService','merge','useCallback','CLOSE_ROOM','_startDocCollabCursor','getRelativeToViewportCoord','isTransformMutationsWithChangesetSuccess','replace','Failed','isArray','getValue','_registerRenderDependencies','collabStatus.syncing','unitID','getColor','pushState','Vector2','from','WebBrowserSingleActiveUnitService','_initStatusListener','displayName','@univerjs-pro/collaboration-client','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverSheetsUi','univer-flex\x20univer-items-center','SNAPSHOT_HAS_BEEN_REMOVED','show','font','propertyIsEnumerable','addObjects','getRenderById','transformRemoteChangeset','post','_cachedData','_draw','Injector','purple300','useObservable','_docClipboardService','syncEditingCollabCursor','_injector','IRenderManagerService','Inject','debounce','createIdentifier','unitId','_colorIndex','off-line-single_clip0_910_343','editingUnit','session.collaboration-timeout','IURLService','getActiveRange','docStateChange$','collaboration.single-unit.warning','none','SHEET_VIEWPORT_KEY','size','IMessageService','takeUntil','replaceDocRanges','TOO_MANY_REQUESTS','moveTo','delete','NO_OTHER_CLIENTS_EDITING','searchParams','_initResize','_cursorShapes','isTransformMutationFailure','univer-online-status-title','LICENSE_MAX_UNITS_EXCEEDED','SessionStatus','RevisionService','startsWith','58242609jrtlFS','_configService','_initCommandExecutedListener','BehaviorSubject','hasOwnProperty','_config','CommandType','_localStorageService','MemberService','rgba(255,\x20255,\x20255,\x200.01)','_refRangeService','_document','jsxs','ISnapshotServerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','OTHER_CLIENT_EDITING','name','_send','getMergeData','SheetSkeletonManagerService','FromArray','getParam','ILocalCacheService','_handleEvent','blue400','mapTo','@univerjs/rpc','Module','DOC_RANGE_TYPE','APPLY_REVISION_CONFILICT','UniverDesign','_scheduleClearOtherTimer','getOwnPropertyDescriptor','arc','ITransformService','concat','xlink:href','_getSheetObject','getVpScrollXYInfoByPosToVp','hide','get','_localeService','values','UniverUi','saveOfflineData','unshift','newValue','rxjs/operators','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UPDATE_CURSOR','onStarting','_docTransformSelectionsService','DocIMEInputManagerService','generateRandomId','transformMutationsWithChangeset','getItem','combineLatest','DeleteRangeMoveLeftCommandId','Error','handleIRemoveCol','getLocalCacheKey','_localCacheService','body','error','column','_drawRectRange','max','ranges','SheetCollabCursorShape','CONNECTOR_DATA_TOO_LARGE','CollaborationSessionService','CollaborationStatusDisplay','pipe','UniverProCollaboration','gold400','handleDeleteRangeMoveUp','collaboration-client.offline-data-not-saved','_init','_updateSubUnitFromURLParams','indexOf','registerRenderModule','next','collabStatus.notCollab','APPLY_NON_SEQUENTIAL_REVISION','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','collaboration.closeRoom','getCurrent','assignAColorForMemberID','[CollaborationDataLoaderController]','fill','Plugin','m1Prime','M0\x200H16V16H0z','collabStatus.offline','_handleHeartbeatEvent','_docSkeletonManagerService','row','setInterval','url(#$1','div','getCoordByCell','data','createElement','status$','entityInit$','_toggleOnline','_clearOtherTimers','Tools','add','UniverNetwork','string','onPointerMove$','registerBeforeClose','getSheetObject','_drawTextRange','_removeCollabCursors','translate(.97)','_setupSubUnitSync','setAlpha','_getAnchorBounding','getOwnPropertySymbols','_toggleOffline','WebSocketService','@univerjs/sheets-ui','type','getViewport','bottom','setItem','_transformPreviousActiveRange','collab-client.tooltip.reconnect','defIds','on-line-single_clip0_910_349','PY_RUNTIME_SCRIPT_ERROR','_collaborationController','children','collab-text-anchor-','_cursor','endRow','some','params','getUnhiddenWorksheets','random','undoState','ICommandService','SetWorksheetActivateCommand','m2Prime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs-pro/collaboration','ENSURE_SNAPSHOT_EXECUTION','10WtNBjv','url(#on-line-single_clip0_910_349)','RichTextEditingMutation','EffectRefRangId','findNodePositionByCharIndex','UniverDocsUi','_onCursorUpdate','ILocalStorageService','forwardRef','1em','_univerInstanceService','UniverProCollaborationClientUi','addObject','UniverSheets','_docSyncEditingCollabCursorService','UNRECOGNIZED','_entityInit$','onlineStatusIcon','_range','forEach','call','startRow','univer-offline','range','colorChannel1','getConfig','getCurrentSelections','runId','_getSessionTicket','beginPath','@univerjs/ui','source','transformMutation','_transformHistoryAndStateStack','@univerjs/engine-formula','_status$','push','_eventUnsubscribe','runRefRangeMutations','6vQfNAA','black','_sheetSkeletonManagerService','jsx','_saveTaskMap','OFFLINE','replaceState','_httpService','fillText','subUnitId','color','restore','_scheduleSaving','SetDocZoomRatioOperation','hovered','DataLoaderService','UNAUTHENTICATED','_cursorInfo$','4UjkzcM','_hovered','getCurrentUnitForType','_messageService','fillStyle','className','touchDependencies','disposeUnit','operators','all','_color','_beforeCloseService','_id','_anchorDot','_updateURLWithCurrentState','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','href','redoState','_online','roomMembers','assign','_logService','handleInsertRow','complete','contains','Shape','Warning','runOnServer','defs','INVALID_INVITE_CODE','_collabSessionService','clearTimeout','getSkeleton','onTransformChange$','registerRefRange','Unknown\x20user','closePath','height','YUUMI_UNABLE_LOAD_URL','_getMergeRange','currentColor','_imageIoService','USERS_LEAVE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','use','1001912OwIgGz','UNIVER_SHEET','session.will-retry','session.connection-failed','labelPosition','object','_heartbeatTimer','tag','clsx','registerComponent','text','INVALID_ARGUMENT','_shapes','_updateLocalCursor','LocaleService','entries','onPointerEnter$','deepClone','location','@univerjs/sheets','UNDEFINED','history','_transformUndoRedoStack','switchMap','_ensureSubject','executionId','toRgbString','_textBubble','with','getStateCache','React','filter','PERMISSION_DENIED','setShapeProps','...','unsubscribe','COMPLETION_FINISHED','APPLY_DUPLICATED','SYNCED','_initEvent','getFocusedUnit','CONFLICT','reconnect','ThemeService','_dataLoaderService','setConfig','JOIN_ROOM_FAILED','selections','_scene','mergeOverrideWithDependencies','code','VIEW_MAIN','_setupBeforeClosingHandler','_hover','_drawAnchor','memberID','DocStateChangeManagerService','_docStateChangeManagerService','DocCollaborationEntity','getCurrentRevOfUnit','2138630IohQru','getMemberID','0\x200\x2016\x2016','#FFF','_registerDependencies','popstate','_collabCursorController','_hideTimer','WebURLService','save','_unitStatus','fromEventSubject','UnitStatus','_docTransformStateCacheService','actions','AWAITING_WITH_PENDING','debounceTime','#fff','_initStatusComponent','serializeRangeWithSheet','DesktopCollaborationStatusDisplayController','getUnitStatus$','_commandService','_onCursorDelete','svg','event$','IUniverInstanceService','CollaborationEvent','selection','textRanges','_handleJoinEvent','subscribe','@univerjs/docs','_scheduleHeartbeat','handleInsertRangeMoveDown','transformIMECache','UniverCollaborationClientUIPlugin','CollaborationUIEventId','react/jsx-runtime','_backgroundColor','onMouseMove','_name','application/json','MOBILE_HAS_BEEN_BOUND','amd','getSheetBySheetId','createInstance','_startSheetCollabCursor','_createSocketURL','asObservable','_docSkeleton','useDependency','_lastPointer','Rectangle','_colorAssignService','doc.mutation.rich-text-editing','width','setActiveRange','exhaustSavingTask','saveImage','registerDependencies','send','YUUMI_RATE_OVER_LIMIT','deserializeRangeWithSheet','ALREADY_EXISTS','_assignedColors','roomMembers$','setParam','saveTaskMap','getRangePointData','UniverDocs'];_0x50ca=function(){return _0x297aad;};return _0x50ca();}
|