@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504171607 → 0.6.10
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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1405(){const _0x57f9f3=['_configService','getRelativeToViewportCoord','BehaviorSubject','2118VWzrag','Disposable','_setupBeforeClosingHandler','DOC_RANGE_TYPE','MoveRangeCommandId','_localStorageService','displayName','unitID','_messageService','CollaborationSocketService','_handleHover','split','36qoCGXq','status$','TEXT_RANGE_LAYER_INDEX','getColor','isTransformMutationsWithChangesetSuccess','COLORS','APPLY_DUPLICATED','_removeClearOtherTimer','HTTPService','SNAPSHOT_INVALID_SNAPSHOT','clipPath','hasOwnProperty','includes','toRgbString','_ensureSubject','useRef','executeCommand','addEventListener','propertyIsEnumerable','0\x200\x2017\x2016','gold400','transformIMECache','_online','UniverInstanceType','Tools','@univerjs/core','clearInterval','getOwnPropertySymbols','_registerRenderDependencies','path','_hideTimer','setActiveRange','RevisionService','RECT','_range','ILogService','NO_OTHER_CLIENTS_EDITING','unit','handleIRemoveCol','SetTextSelectionsOperation','YUUMI_ASYNCIO_CANCELLED','_init','_disabled','_clearOtherTimers','startsWith','INVITE_CODE_REQUIRED','hide','SetWorksheetActivateCommand','loadOfflineData','override','setItem','createInstance','getUnhiddenWorksheets','DependentOn','Module','_scheduleSaving','Failed','_refreshCollabCursors','sheetID','UniverCollaborationClientUIPlugin','idSuffix','complete','_updateSubUnitFromURLParams','_dataLoaderService','saveOfflineData','send','lineTo','_removeCollabCursors','CHANGESET_REVISION_CONFILICT','Tooltip','className','fillText','_handleLeaveEvent','APPLY_REVISION_CONFILICT','disposeUnit','tag','syncEditingCollabCursor','NodePositionConvertToRectRange','history','isArray','endColumn','hovered','unshift','OFFLINE','addHandlerCallback','icon','handleInsertRangeMoveRight','location','m1Prime','ITransformService','_startSheetCollabCursor','top','Optional','_updateURLWithCurrentState','_status$','getSheetId','CollaborationController','RemoveColCommandId','SNAPSHOT_HAS_BEEN_REMOVED','UniverNetwork','setAlpha','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetSkeletonManagerService','onStarting','undoState','save','_collabSessionService','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','Subject','collabStatus.fetchMiss','RxDisposable','OffLineSingle','offline','RefRangeService','_notificationService','1em','_initDependencies','startColumn','none','onlineStatusTitle','374320TPuonk','name','_send','subunit','uni.network.url-service','@univerjs-pro/collaboration-client','rxjs/operators','pipe','_docStateChangeManagerService','DEFAULT_WS_SESSION_TICKET_URL','_scheduleHeartbeat','serializeRangeWithSheet','blue400','LICENSE_DISTRO_REJECTED','useDependency','onlineStatus','entries','requireSession','getItem','univer-online-status-title','_cursorShapes','getCurrent','SetDocZoomRatioOperation','getConfig','editingUnit','exhaustSavingTask','findNodePositionByCharIndex','currentSkeleton$','@univerjs/sheets-ui','YUUMI_SUBSCRIPTION_NOT_FOUND','_injector','SOCKET_FAILED','_registerDependencies','UPDATE_CURSOR','_univerInstanceService','collaboration.single-unit.warning','getCurrentSelections','INVITE_CODE_HAS_BEEN_UES','_initCommandExecutedListener','MUTATION','_getAnchorBounding','getVpScrollXYInfoByPosToVp','_imageIoService','whenReady','_entities','_initEntityListener','setConfig','NOT_COLLAB','combineLatest','mask','distinctUntilChanged','ISocketService','_docTransformIMECacheService','DocSkeletonManagerService','off-line-single','searchParams','SUBMIT_CHANGESET_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','from','extend','imageSourceType','fillRule','search','YUUMI_URL_COL_OUT_OF_RANGE','LOCAL_CACHE_INTERVAL_KEY','defIds','addObjects','INotificationService','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','UniverDocs','result','_docSkeletonManagerService','loadUnit','memberID','_updateLocalCursor','addObject','getTypeOfUnitDisposed$','map','getOffsetConfig','getUndoRedoMutationParamsCache','_roomMembers$','univer-flex\x20univer-items-center','MessageType','font','url(#off-line-single_clip0_910_343)','purple300','PERMISSION_DENIED','has','IDocClipboardService','@univerjs/engine-formula','then','next','_httpService','SheetCollabCursorShape','CollaborationSessionService','BuiltInUIPart','_cursorInfo$','react','@univerjs/design','_context','transformSelections','Vector2','getSkeleton','symbol','_toggleOffline','_cursors','ranges','forEach','collab-rect-range-','parse','INVALID_ARGUMENT','substring','WebBrowserSingleActiveUnitService','_hover','docStateChange$','univer-online-status-icon','toDisposable','8joIDpN','rgba(255,\x20255,\x20255,\x200.01)','_urlService','add','464168bpvXgz','IUniverInstanceService','on-line-single_clip0_910_349','APPLY_NON_SEQUENTIAL_REVISION','_drawAnchor','_initStatusComponent','_docClipboardService','setStateCache','current','Warning','transformMutation','data','cursorInfo','popstate','_getMergeRange','_renderManagerService','IURLService','clearTimeout','takeUntil','ICommandService','WebURLService','UniverCore','string','10iTndTu','getOwnPropertyDescriptor','textRanges','handleInsertRangeMoveDown','permission.content','Unknown\x20user','IConfigService','handleDeleteRangeMoveUp','cursorInfo$','getCellPositionByOffset','createSocket','runRefRangeMutations','getMemberID','executionId','transformRemoteChangeset','_docSyncEditingCollabCursorService','disableLocalCache','1359421jePaOU','_colorAssignService','_docTransformSelectionsService','merge','onPointerLeave$','stringify','attrs','UniverDocsUi','registerDependencies','UNDEFINED','InsertRangeMoveDownCommandId','isActive','getUnitId','getViewport','url(#on-line-single_clip0_910_349)','APPLY_REJECT','collaboration-client-ui.config','touchDependencies','SHEET_VIEWPORT_KEY','updateOfflineData','_lastPointer','EMAIL_HAS_BEEN_BOUND','_sheetSkeletonManagerService','ISnapshotServerService','collab-text-range-','DocSelectionManagerService','debounceTime','OTHER_CLIENTS_EDITING','EffectRefRangId','@univerjs/docs-ui','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setTimeout','colorChannel1','SheetsSelectionsService','key','get','setParam','Rectangle','_memberService','/run/','handleInsertRow','_colorIndex','_getScale','ALREADY_EXISTS','assign','post','IRenderManagerService','RegularPolygon','DesktopCollaborationStatusDisplayController','@univerjs/rpc','NOT_FOUND','_saveTaskMap','_anchor','_doCreateSocket','#FFF','row','_themeService','_syncEditingCollabCursorService','_assignedColors','USERS_LEAVE','svg','86136CKsWyS','newValue','_config','on-line-single','exports','column','CONFLICT','rxjs','throttleTime','UNAUTHENTICATED','apply','push','children','selections','OnLineSingle','params','currentTheme$','getAncestorScale','unitId','set','indexOf','CollaborationStatus','_document','PY_RUNTIME_SCRIPT_ERROR','height','saveImage','UniverIcon','debounce','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','application/json','_transformUndoRedoStack','_draw','collabStatus.offline','eventID','sheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_session','_transformService','_hovered','getSheetObject','saveTaskMap','UniverSheets','init','Shape','onLocalMutation','WECHAT_HAS_BEEN_BOUND','collab-client.tooltip.reconnect','TEXT','@univerjs-pro/collaboration','session.connection-failed','with','getTypeOfUnitAdded$','_startDocCollabCursor','_textBubble','DisposableCollection','forwardRef','LOCAL_CACHE_INTERVAL','dispose$','DeleteRangeMoveLeftCommandId','m2Prime','black','removeParam','toString','INTERNAL_ERROR','getRenderById','UNRECOGNIZED','registerRenderModule','source','handleDeleteRangeMoveLeft','_getSessionTicket','dispose','isTransformMutationFailure','collabCursorState$','LocaleService','getRangePointData','_cachedData','onRendered','LICENSE_IMPORT_SIZE_EXCEEDED','IImageIoService','makeDirty','getCollabCursors$','createIdentifier','show','fillStyle','onMouseMove','range','COMPLETION_FINISHED','@univerjs/docs','_handleHeartbeatEvent','restore','UniverEngineFormula','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_heartbeatTimer','max','getDocRanges','UNIVER_SHEET','Plugin','deepClone','bottom','urlChange$','RemoveRowCommandId','@univerjs/drawing','switchMap','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','isEditing','_initEvent','BrowserCollaborationSocketService','_drawTextRange','IRemoteInstanceService','enableLocalCache','transformMutationsWithChangeset','all','collabStatus.conflict','getValue','subscribeEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SetSelectionsOperation','getUnitStatus$','function','filter','origin','Error','_localCacheService','CollaborationEvent','code','href','UniverProCollaborationClientUi','error','getMember','237334OzHEoo','FETCH_MISS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','VIEW_MAIN','closePath','div','drawWith','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','sessionStatus$','assignAColorForMemberID','text','off-line-single_clip0_910_343','measureText','DocCollaborationEntity','Rect','doc.mutation.rich-text-editing','_commandService','_updateCollabCursors','runOnServer','CollaborationUIEventId','length','setShapeProps','@univerjs/engine-render','_logService','IMessageService','unsubscribe','UniverUi','_docTransformStateCacheService','UNIVER_DOC','getActiveRange','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','5239795UDCjfp','_unitOnClients','UniverRpc','generateRandomId','storage','prototype','UniverDrawing','delete','selection','_revisionService','APPLY_PERMISSION_DENIED','_transformHistoryAndStateStack','_transformPreviousActiveRange','call','_collabCursorState$','triggerDblclick','_unitStatus','redoState','handleIRemoveRow','round','_selfUnitIDs','replace','moveTo','React','UnitStatus','flatMap','evenodd','univer-online','asObservable','ticket','InsertColCommandId','size','_onCursorUpdate','defs','_eventUnsubscribe','_initStatusListener','createElement','useCallback','getActiveSheet','_handleEvent','_collabCursorController','subscribe','UniverEngineRender','registerRefRange','collabStatus.synced','_id','UniverDesign','clsx','currentColor','Inject','getParam','TOO_MANY_REQUESTS','getSheetBySheetId','mutations','_saveCache','arc','body','_setupSubUnitSync','replaceState','_scheduleClearOtherTimer','values','fromEvent','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','#fff','operators','concat','pluginName','@univerjs/sheets','red300','unload','jiqing500','react/jsx-runtime','ENSURE_SNAPSHOT_EXECUTION','wsSessionTicketUrl','ColorKit','UniverSheetsUi','_initResize','PENDING','runId','INVALID_INVITE_CODE','_getSheetObject','type','SessionStatus','session.will-retry','event$','_createSocketURL','_collaborationUIEventService','roomMembers','M0\x200H16V16H0z','mapTo','getLocalCacheKey','_anchorDot','_render','collabStatus.notCollab','RemoteUniscriptService','MemberService','getStateCache','USER_NOT_INVITED_CODE','[CollaborationDataLoaderController]','_toggleOnline','_shapes','amd','_scene','...','univerjs-icon\x20univerjs-icon-','IBeforeCloseService','_getSaveTimeout','FromArray','verdancy600','fill','LICENSE_EXPORT_SIZE_EXCEEDED','handleMoveRange','getFocusedUnit','toStringTag','_color','_beforeCloseService','registerComponent','INVITE_CODE_ALREADY_BOUND','CONNECTOR_DATA_TOO_LARGE','_localeService','ThemeService','replaceDocRanges','disposeWithMe','_backgroundColor','MOBILE_HAS_BEEN_BOUND','_labelPosition','onPointerEnter$','_refRangeService','_instanceService','sessionTicket','color','_entityInit$','univer-online-status','_name','_collaborationController','width','entityInit$','jsx','connectInjector','4kgepwH','@univerjs/network','xlink:href','LOGIN_FAILED','ILocalCacheService','beginPath','_onCursorDelete','DocIMEInputManagerService','WebSocketService'];_0x1405=function(){return _0x57f9f3;};return _0x1405();}function _0xa793(_0x17f711,_0x1f2231){const _0x14054a=_0x1405();return _0xa793=function(_0xa793b7,_0x4535b8){_0xa793b7=_0xa793b7-0x197;let _0x483669=_0x14054a[_0xa793b7];return _0x483669;},_0xa793(_0x17f711,_0x1f2231);}(function(_0x41cfff,_0x134007){const _0x52cb45=_0xa793,_0x1e363b=_0x41cfff();while(!![]){try{const _0x195fac=parseInt(_0x52cb45(0x1a4))/0x1+parseInt(_0x52cb45(0x24f))/0x2*(-parseInt(_0x52cb45(0x25b))/0x3)+parseInt(_0x52cb45(0x35a))/0x4*(-parseInt(_0x52cb45(0x371))/0x5)+-parseInt(_0x52cb45(0x3bf))/0x6+parseInt(_0x52cb45(0x382))/0x7*(-parseInt(_0x52cb45(0x356))/0x8)+-parseInt(_0x52cb45(0x267))/0x9*(parseInt(_0x52cb45(0x2e0))/0xa)+parseInt(_0x52cb45(0x1c4))/0xb;if(_0x195fac===_0x134007)break;else _0x1e363b['push'](_0x1e363b['shift']());}catch(_0x34da4b){_0x1e363b['push'](_0x1e363b['shift']());}}}(_0x1405,0x1dc28),function(_0x362063,_0x3f6107){const _0x3a2267=_0xa793;typeof exports=='object'&&typeof module<'u'?_0x3f6107(exports,require(_0x3a2267(0x2e5)),require(_0x3a2267(0x280)),require(_0x3a2267(0x1bb)),require(_0x3a2267(0x250)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x3a2267(0x3c6)),require(_0x3a2267(0x416)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x3a2267(0x207)),require(_0x3a2267(0x2e6)),require(_0x3a2267(0x2fc)),require(_0x3a2267(0x20b)),require('@univerjs/ui'),require(_0x3a2267(0x343)),require(_0x3a2267(0x342)),require(_0x3a2267(0x3b3))):typeof define==_0x3a2267(0x199)&&define[_0x3a2267(0x229)]?define([_0x3a2267(0x3c3),_0x3a2267(0x2e5),_0x3a2267(0x280),_0x3a2267(0x1bb),_0x3a2267(0x250),_0x3a2267(0x39f),_0x3a2267(0x424),'rxjs','@univerjs/docs',_0x3a2267(0x3ef),_0x3a2267(0x33a),_0x3a2267(0x207),_0x3a2267(0x2e6),_0x3a2267(0x2fc),_0x3a2267(0x20b),'@univerjs/ui',_0x3a2267(0x343),_0x3a2267(0x342),_0x3a2267(0x3b3)],_0x3f6107):(_0x362063=typeof globalThis<'u'?globalThis:_0x362063||self,_0x3f6107(_0x362063[_0x3a2267(0x1a1)]={},_0x362063['UniverProCollaborationClient'],_0x362063[_0x3a2267(0x36f)],_0x362063[_0x3a2267(0x1ee)],_0x362063[_0x3a2267(0x2ca)],_0x362063[_0x3a2267(0x389)],_0x362063[_0x3a2267(0x1ca)],_0x362063[_0x3a2267(0x3c6)],_0x362063[_0x3a2267(0x326)],_0x362063['UniverProCollaboration'],_0x362063[_0x3a2267(0x419)],_0x362063[_0x3a2267(0x3e8)],_0x362063[_0x3a2267(0x3c6)][_0x3a2267(0x204)],_0x362063[_0x3a2267(0x20f)],_0x362063[_0x3a2267(0x1db)],_0x362063[_0x3a2267(0x1bf)],_0x362063[_0x3a2267(0x1f2)],_0x362063[_0x3a2267(0x1db)],_0x362063[_0x3a2267(0x1c6)]));}(this,function(_0x3edcdd,_0x5cf9d0,_0x1db576,_0x9322cd,_0x50d70f,_0x56cec3,_0x544e9a,_0x2bfd9f,_0x3a0d44,_0x5ca6a1,_0x303398,_0x271a7a,_0x405c34,_0x152867,_0x3d90e3,_0x104d19,_0x33d6a5,_0x472caa,_0x4eaab1){'use strict';const _0x3f7a85=_0xa793;var _0x5a3ade=Object['defineProperty'],_0x29f2ca=(_0x30c9d6,_0x5f4993,_0x5498f4)=>_0x5f4993 in _0x30c9d6?_0x5a3ade(_0x30c9d6,_0x5f4993,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5498f4}):_0x30c9d6[_0x5f4993]=_0x5498f4,_0x76a544=(_0x50a672,_0x207da7,_0x5742f7)=>_0x29f2ca(_0x50a672,typeof _0x207da7!=_0x3f7a85(0x348)?_0x207da7+'':_0x207da7,_0x5742f7),_0x47e83f=Object[_0x3f7a85(0x372)],_0x2f48ff=(_0x50f2f6,_0x2fac55,_0x438f4b,_0x7743f0)=>{const _0x58e013=_0x3f7a85;for(var _0x4d9e1c=_0x7743f0>0x1?void 0x0:_0x7743f0?_0x47e83f(_0x2fac55,_0x438f4b):_0x2fac55,_0x3c4317=_0x50f2f6[_0x58e013(0x1b9)]-0x1,_0x5cb3e1;_0x3c4317>=0x0;_0x3c4317--)(_0x5cb3e1=_0x50f2f6[_0x3c4317])&&(_0x4d9e1c=_0x5cb3e1(_0x4d9e1c)||_0x4d9e1c);return _0x4d9e1c;},_0x3ffe98=(_0x472219,_0x48a297)=>(_0x34c6b4,_0x29cd6a)=>_0x48a297(_0x34c6b4,_0x29cd6a,_0x472219);let _0x42f064=class extends _0x1db576['RxDisposable']{constructor(_0x122e38,_0x449f30){const _0x1fa261=_0x3f7a85;super(),this[_0x1fa261(0x360)]=_0x122e38,this[_0x1fa261(0x30a)]=_0x449f30,this['_init']();}['_init'](){const _0x3dd52e=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4867fe=>{const _0x357728=_0xa793,_0x18e79d=await _0x3dd52e[_0x357728(0x30a)][_0x357728(0x3d8)](_0x4867fe);return _0x18e79d?{'source':_0x18e79d[_0x357728(0x402)],'imageSourceType':_0x18e79d[_0x357728(0x31c)]}:null;}}));}};_0x42f064=_0x2f48ff([_0x3ffe98(0x0,_0x56cec3[_0x3f7a85(0x339)]),_0x3ffe98(0x1,_0x544e9a[_0x3f7a85(0x40d)])],_0x42f064);const _0x18908d=[_0x3f7a85(0x336),_0x3f7a85(0x20a),_0x3f7a85(0x230),_0x3f7a85(0x208),_0x3f7a85(0x2ec),_0x3f7a85(0x27b)];class _0x46c5bf extends _0x1db576['Disposable']{constructor(){const _0x5b9552=_0x3f7a85;super(...arguments),_0x76a544(this,_0x5b9552(0x3bc),new Map()),_0x76a544(this,_0x5b9552(0x3ab),0x0);}[_0x3f7a85(0x1ae)](_0x5b8b51){const _0x14146c=_0x3f7a85;if(this[_0x14146c(0x3bc)][_0x14146c(0x338)](_0x5b8b51))return this[_0x14146c(0x3bc)][_0x14146c(0x3a5)](_0x5b8b51);const _0x194a8f=_0x18908d[this[_0x14146c(0x3ab)]];return this[_0x14146c(0x3ab)]=(this[_0x14146c(0x3ab)]+0x1)%_0x18908d['length'],this[_0x14146c(0x3bc)][_0x14146c(0x3d2)](_0x5b8b51,_0x194a8f),_0x194a8f;}}function _0x28349c(_0xbef684){const _0x32dedd=_0x3f7a85;let _0x3c357a='';for(const _0x50b187 of _0xbef684){const {startOffset:_0x13d68e,endOffset:_0xb3b73d,isActive:_0x3a147b,rangeType:_0x29e8ea,segmentId:_0x13a9d7,segmentPage:_0x357dfc}=_0x50b187;_0x3c357a[_0x32dedd(0x1b9)]&&(_0x3c357a+=','),_0x3c357a+=_0x13d68e+':'+_0xb3b73d+':'+(_0x3a147b?'1':'0')+':'+_0x29e8ea+':'+_0x13a9d7+':'+_0x357dfc;}return _0x3c357a;}function _0x3cf2e4(_0xf49629){const _0x5e3c1c=_0x3f7a85,_0x4e889e=_0xf49629[_0x5e3c1c(0x266)](','),_0x529e5b=[];for(const _0x5313e5 of _0x4e889e){const [_0x5e988a,_0x2775cd,_0x28986e,_0x4572e1,_0x318016,_0x2ab952]=_0x5313e5[_0x5e3c1c(0x266)](':');_0x529e5b['push']({'startOffset':Number(_0x5e988a),'endOffset':Number(_0x2775cd),'collapsed':_0x5e988a===_0x2775cd,'isActive':_0x28986e==='1','rangeType':_0x4572e1===_0x1db576[_0x5e3c1c(0x25e)][_0x5e3c1c(0x3ee)]?_0x1db576['DOC_RANGE_TYPE'][_0x5e3c1c(0x3ee)]:_0x1db576['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x318016==_0x5e3c1c(0x370)?String(_0x318016):'','segmentPage':Number(_0x2ab952!=null?_0x2ab952:-0x1)});}return _0x529e5b['some'](_0x33ed04=>_0x33ed04[_0x5e3c1c(0x38d)])||(_0x529e5b[0x0][_0x5e3c1c(0x38d)]=!0x0),_0x529e5b;}class _0x158c10 extends _0x1db576['RxDisposable']{constructor(){const _0x662250=_0x3f7a85;super(...arguments),_0x76a544(this,_0x662250(0x1d2),new _0x2bfd9f[(_0x662250(0x25a))](null)),_0x76a544(this,_0x662250(0x407),this[_0x662250(0x1d2)]['asObservable']());}[_0x3f7a85(0x2b3)](_0x1c325b){const _0x11f76e=_0x3f7a85,{unitID:_0x32bb44,memberID:_0x1778f0,textRanges:_0x3ecc54}=_0x1c325b,_0x4c68b4=_0x28349c(_0x3ecc54);if(_0x4c68b4==='')return;const _0x16e82e={'unitID':_0x32bb44,'memberID':_0x1778f0,'selection':_0x4c68b4};this[_0x11f76e(0x1d2)][_0x11f76e(0x33c)](_0x16e82e);}}var _0x1dff28=Object[_0x3f7a85(0x372)],_0x2dc7b0=(_0xb25de,_0x7ca8b8,_0x24f855,_0x3eab0d)=>{const _0x539414=_0x3f7a85;for(var _0x30fe51=_0x3eab0d>0x1?void 0x0:_0x3eab0d?_0x1dff28(_0x7ca8b8,_0x24f855):_0x7ca8b8,_0x109b2b=_0xb25de[_0x539414(0x1b9)]-0x1,_0x14db92;_0x109b2b>=0x0;_0x109b2b--)(_0x14db92=_0xb25de[_0x109b2b])&&(_0x30fe51=_0x14db92(_0x30fe51)||_0x30fe51);return _0x30fe51;},_0x3a7125=(_0xcd3ac1,_0x15711f)=>(_0x1f36c2,_0x2050b4)=>_0x15711f(_0x1f36c2,_0x2050b4,_0xcd3ac1);const _0x46ef4b=0x12c,_0x968b2f=0x64;let _0x375a6d=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x48acc5,_0x2d4f8a,_0x3908a6,_0xac9b2a,_0x3fdd69,_0x372f34,_0xa4826a,_0x4f39c3,_0x2823c4){const _0x9bc805=_0x3f7a85;super(),_0x76a544(this,_0x9bc805(0x27d),!0x1),_0x76a544(this,_0x9bc805(0x290),!0x1),_0x76a544(this,_0x9bc805(0x341),new _0x2bfd9f[(_0x9bc805(0x25a))](new Map())),_0x76a544(this,_0x9bc805(0x379),this[_0x9bc805(0x341)][_0x9bc805(0x1e0)]()),_0x76a544(this,_0x9bc805(0x331),new _0x2bfd9f[(_0x9bc805(0x25a))]([])),_0x76a544(this,'roomMembers$',this[_0x9bc805(0x331)]['pipe'](_0x2bfd9f[_0x9bc805(0x39c)](_0x46ef4b))),_0x76a544(this,'_updateLocalCursor',_0x1db576[_0x9bc805(0x3da)](_0x2cf130=>{const _0x426af5=_0x9bc805,_0x8f752={'eventID':_0x5ca6a1[_0x426af5(0x19e)][_0x426af5(0x301)],'data':{'unitID':this['unitID'],'memberID':this[_0x426af5(0x3e3)][_0x426af5(0x37d)](),'selection':_0x28349c(_0x2cf130)}};this[_0x426af5(0x3e3)]['send'](_0x8f752,this[_0x426af5(0x262)]);},_0x968b2f)),(this[_0x9bc805(0x262)]=_0x48acc5,this[_0x9bc805(0x3e3)]=_0x2d4f8a,this[_0x9bc805(0x2fe)]=_0x3908a6,this[_0x9bc805(0x383)]=_0xac9b2a,this[_0x9bc805(0x3a8)]=_0x3fdd69,this['_syncEditingCollabCursorService']=_0x372f34,this[_0x9bc805(0x3e4)]=_0xa4826a,this[_0x9bc805(0x302)]=_0x4f39c3,this['_commandService']=_0x2823c4);}get['cursorInfo'](){const _0x2920b4=_0x3f7a85;return this[_0x2920b4(0x341)][_0x2920b4(0x430)]();}get[_0x3f7a85(0x21b)](){const _0x24a41b=_0x3f7a85;return this[_0x24a41b(0x331)]['getValue']();}['dispose'](){const _0x5d4455=_0x3f7a85;super[_0x5d4455(0x405)](),this[_0x5d4455(0x341)]['next'](new Map()),this[_0x5d4455(0x341)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5d4455(0x331)][_0x5d4455(0x2a4)]();}[_0x3f7a85(0x3e9)](){const _0x3d943f=_0x3f7a85;this[_0x3d943f(0x290)]||(this[_0x3d943f(0x290)]=!0x0,this[_0x3d943f(0x3e3)][_0x3d943f(0x1ad)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))[_0x3d943f(0x1ed)](_0x1c9ccf=>{const _0x1f9d25=_0x3d943f;_0x1c9ccf===_0x5cf9d0[_0x1f9d25(0x216)]['ONLINE']?this[_0x1f9d25(0x227)]():this[_0x1f9d25(0x349)]();}),this[_0x3d943f(0x3e3)][_0x3d943f(0x218)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))[_0x3d943f(0x1ed)](_0x417142=>{const _0x3707bd=_0x3d943f,_0x1d67d1=_0x417142[_0x3707bd(0x3e0)];_0x1d67d1===_0x5ca6a1['CollaborationEvent'][_0x3707bd(0x301)]&&this[_0x3707bd(0x1e4)](_0x417142),_0x1d67d1===_0x5ca6a1['CollaborationEvent']['USERS_LEAVE']&&this[_0x3707bd(0x255)](_0x417142);}),this['disposeWithMe'](this[_0x3d943f(0x1b5)][_0x3d943f(0x1ab)](_0x52768a=>{const _0x363505=_0x3d943f,_0x5718bc=_0x52768a[_0x363505(0x3ce)];_0x5718bc!=null&&this[_0x363505(0x27d)]&&_0x52768a['id']===_0x3a0d44[_0x363505(0x28e)]['id']&&_0x5718bc[_0x363505(0x3d1)]===this[_0x363505(0x262)]&&_0x5718bc[_0x363505(0x427)]===!0x1&&_0x5718bc[_0x363505(0x34b)][_0x363505(0x1b9)]>0x0&&this[_0x363505(0x32b)](_0x5718bc['ranges']);})),this[_0x3d943f(0x3bb)][_0x3d943f(0x407)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))['subscribe'](_0x8b1ae=>{const _0x4c1005=_0x3d943f;if((_0x8b1ae==null?void 0x0:_0x8b1ae[_0x4c1005(0x262)])!==this[_0x4c1005(0x262)])return;const _0x44a4af={'eventID':_0x5ca6a1[_0x4c1005(0x19e)][_0x4c1005(0x301)],'data':_0x8b1ae};this[_0x4c1005(0x1e4)](_0x44a4af);}),this[_0x3d943f(0x23e)](this[_0x3d943f(0x1b5)]['onCommandExecuted'](_0x5bb5be=>{const _0x258840=_0x3d943f;if(_0x5bb5be[_0x258840(0x3ce)]==null)return;const _0x552ad3=_0x5bb5be[_0x258840(0x3ce)];if(_0x5bb5be['id']!==_0x3a0d44['RichTextEditingMutation']['id']||_0x552ad3['unitId']!==this[_0x258840(0x262)])return;const _0x234323={'id':'doc.mutation.rich-text-editing','params':_0x552ad3},_0x47c0fc=this[_0x258840(0x366)];for(const [_0x569666,_0xac65f0]of _0x47c0fc){const _0x5634df={'id':_0x258840(0x1b4),'params':{'unitId':this[_0x258840(0x262)],'actions':null,'textRanges':_0xac65f0[_0x258840(0x34b)]}},_0x363884=this[_0x258840(0x3e4)][_0x258840(0x364)](_0x234323,_0x5634df,!0x1);if(_0x5ca6a1[_0x258840(0x406)](_0x363884))throw _0x363884['error'];_0x47c0fc[_0x258840(0x3d2)](_0x569666,{..._0xac65f0,'ranges':_0x363884['m2Prime']['params'][_0x258840(0x373)]});}queueMicrotask(()=>{const _0x247161=_0x258840;this['_cursorInfo$'][_0x247161(0x33c)](_0x47c0fc);});})));}['_onCursorUpdate'](_0x26b086){const _0x27fbd0=_0x3f7a85;var _0x2b06bc,_0x9bc7e1;const {memberID:_0x2963c9,selection:_0x25c2cc}=_0x26b086['data'],_0x497bae=_0x3cf2e4(_0x25c2cc),_0x1782e3=(_0x9bc7e1=(_0x2b06bc=this['_memberService']['getMember'](this[_0x27fbd0(0x262)],_0x2963c9))==null?void 0x0:_0x2b06bc['name'])!=null?_0x9bc7e1:_0x27fbd0(0x376),_0x9d21d8={'color':this[_0x27fbd0(0x383)][_0x27fbd0(0x1ae)](_0x2963c9),'name':_0x1782e3,'ranges':_0x497bae},_0x51a86d=this[_0x27fbd0(0x366)];_0x51a86d[_0x27fbd0(0x3d2)](_0x2963c9,_0x9d21d8),this[_0x27fbd0(0x341)][_0x27fbd0(0x33c)](_0x51a86d);}['_onCursorDelete'](_0xcc16e7){const _0x2361d7=_0x3f7a85,{memberID:_0x1dfcd7}=_0xcc16e7['data'],_0x75b967=this[_0x2361d7(0x366)];_0x75b967['delete'](_0x1dfcd7),this[_0x2361d7(0x341)][_0x2361d7(0x33c)](_0x75b967);}['_toggleOnline'](){const _0x3837b6=_0x3f7a85;var _0x240f41;if(this[_0x3837b6(0x27d)]=!0x0,((_0x240f41=this[_0x3837b6(0x302)][_0x3837b6(0x234)]())==null?void 0x0:_0x240f41[_0x3837b6(0x38e)]())!==this[_0x3837b6(0x262)])return;const _0x59d925=this[_0x3837b6(0x2fe)][_0x3837b6(0x3a5)](_0x3a0d44[_0x3837b6(0x39b)])[_0x3837b6(0x41d)]();Array[_0x3837b6(0x2b6)](_0x59d925)&&_0x59d925[_0x3837b6(0x1b9)]>0x0&&this[_0x3837b6(0x32b)](_0x59d925);}[_0x3f7a85(0x349)](){const _0x5ad6d5=_0x3f7a85;this[_0x5ad6d5(0x27d)]=!0x1;}};_0x375a6d=_0x2dc7b0([_0x3a7125(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['Injector'])),_0x3a7125(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x46c5bf)),_0x3a7125(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['MemberService'])),_0x3a7125(0x5,_0x1db576['Inject'](_0x158c10)),_0x3a7125(0x6,_0x5ca6a1['ITransformService']),_0x3a7125(0x7,_0x1db576[_0x3f7a85(0x35b)]),_0x3a7125(0x8,_0x1db576[_0x3f7a85(0x36d)])],_0x375a6d);var _0x26884a=Object[_0x3f7a85(0x372)],_0x419bb9=(_0x4e65da,_0x26909c,_0x5d1c2d,_0x35099f)=>{const _0x38283c=_0x3f7a85;for(var _0x3b3955=_0x35099f>0x1?void 0x0:_0x35099f?_0x26884a(_0x26909c,_0x5d1c2d):_0x26909c,_0x431227=_0x4e65da[_0x38283c(0x1b9)]-0x1,_0x3858b2;_0x431227>=0x0;_0x431227--)(_0x3858b2=_0x4e65da[_0x431227])&&(_0x3b3955=_0x3858b2(_0x3b3955)||_0x3b3955);return _0x3b3955;},_0xda5b32=(_0x136495,_0x58f119)=>(_0xee8fe8,_0x39c426)=>_0x58f119(_0xee8fe8,_0x39c426,_0x136495);const _0x3d5959=0x12c,_0x241075=0x64,_0x3aa5b8=()=>{let _0x1f5040=[],_0x596d19=!0x1;return _0x49983a=>{const _0x4ecc60=_0xa793;_0x1f5040[_0x4ecc60(0x3ca)](_0x49983a),_0x596d19||(_0x596d19=!0x0,setTimeout(()=>{const _0x2b1c4b=_0x4ecc60;_0x1f5040[_0x2b1c4b(0x34c)](_0x3b001e=>_0x3b001e()),_0x1f5040=[],_0x596d19=!0x1;}));};};let _0x5be8d7=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x15654e,_0x4d02fe,_0x21f359,_0x1c561d,_0x4a625c,_0x338356,_0x508fcd,_0x7e2cd2){const _0x37dc08=_0x3f7a85;super(),_0x76a544(this,_0x37dc08(0x27d),!0x1),_0x76a544(this,_0x37dc08(0x290),!0x1),_0x76a544(this,_0x37dc08(0x341),new _0x2bfd9f[(_0x37dc08(0x25a))](new Map())),_0x76a544(this,_0x37dc08(0x379),this['_cursorInfo$']['asObservable']()),_0x76a544(this,'_roomMembers$',new _0x2bfd9f[(_0x37dc08(0x25a))]([])),_0x76a544(this,'roomMembers$',this[_0x37dc08(0x331)][_0x37dc08(0x2e7)](_0x2bfd9f['debounceTime'](_0x3d5959))),_0x76a544(this,_0x37dc08(0x32b),_0x1db576['debounce']((_0x546297,_0x11b797)=>{const _0x5f50ca=_0x37dc08,_0xb30e8f={'eventID':_0x5ca6a1[_0x5f50ca(0x19e)][_0x5f50ca(0x301)],'data':{'unitID':this[_0x5f50ca(0x262)],'memberID':this['_session'][_0x5f50ca(0x37d)](),'selection':_0x303398[_0x5f50ca(0x2eb)](_0x546297,_0x11b797[_0x5f50ca(0x414)])}};this[_0x5f50ca(0x3e3)][_0x5f50ca(0x2a8)](_0xb30e8f,this[_0x5f50ca(0x262)]);},_0x241075)),(this[_0x37dc08(0x262)]=_0x15654e,this['_session']=_0x4d02fe,this[_0x37dc08(0x2fe)]=_0x21f359,this[_0x37dc08(0x383)]=_0x1c561d,this[_0x37dc08(0x3a8)]=_0x4a625c,this[_0x37dc08(0x302)]=_0x338356,this[_0x37dc08(0x1b5)]=_0x508fcd,this['_refRangeService']=_0x7e2cd2);}get[_0x3f7a85(0x366)](){return this['_cursorInfo$']['getValue']();}get[_0x3f7a85(0x21b)](){const _0x5090bb=_0x3f7a85;return this[_0x5090bb(0x331)][_0x5090bb(0x430)]();}[_0x3f7a85(0x405)](){const _0xd69d33=_0x3f7a85;super['dispose'](),this[_0xd69d33(0x341)]['next'](new Map()),this['_cursorInfo$'][_0xd69d33(0x2a4)](),this[_0xd69d33(0x331)][_0xd69d33(0x33c)]([]),this[_0xd69d33(0x331)][_0xd69d33(0x2a4)]();}[_0x3f7a85(0x3e9)](){const _0x17d993=_0x3f7a85;this['_init']||(this['_init']=!0x0,this[_0x17d993(0x3e3)][_0x17d993(0x1ad)][_0x17d993(0x2e7)](_0x2bfd9f['takeUntil'](this[_0x17d993(0x3f8)]))[_0x17d993(0x1ed)](_0x429a9d=>{const _0xe8abf9=_0x17d993;_0x429a9d===_0x5cf9d0[_0xe8abf9(0x216)]['ONLINE']?this[_0xe8abf9(0x227)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x2bfd9f['takeUntil'](this[_0x17d993(0x3f8)]))['subscribe'](_0x52e709=>{const _0x284cef=_0x17d993,_0x294364=_0x52e709['eventID'];_0x294364===_0x5ca6a1[_0x284cef(0x19e)]['UPDATE_CURSOR']&&this[_0x284cef(0x1e4)](_0x52e709),_0x294364===_0x5ca6a1['CollaborationEvent'][_0x284cef(0x3bd)]&&this[_0x284cef(0x255)](_0x52e709);}),this['_onRefRangeChange'](),this[_0x17d993(0x23e)](this[_0x17d993(0x1b5)][_0x17d993(0x1ab)](_0x33b72c=>{const _0x5c4b46=_0x17d993;if(this[_0x5c4b46(0x27d)]&&_0x33b72c['id']===_0x271a7a[_0x5c4b46(0x197)]['id']&&_0x33b72c[_0x5c4b46(0x3ce)][_0x5c4b46(0x3d1)]===this['unitID']){const _0x154d80=_0x33b72c[_0x5c4b46(0x3ce)];this[_0x5c4b46(0x32b)](_0x154d80['subUnitId'],_0x154d80[_0x5c4b46(0x3cc)][0x0]);}})));}[_0x3f7a85(0x1e4)](_0x1ba2bb){const _0x48cdc6=_0x3f7a85;var _0x330365,_0x38a94c;const {memberID:_0x3b9bdd,selection:_0x5aa476}=_0x1ba2bb[_0x48cdc6(0x365)],{sheetName:_0x63cf6d,range:_0x120897}=_0x303398['deserializeRangeWithSheet'](_0x5aa476),_0x519f22={'name':(_0x38a94c=(_0x330365=this['_memberService'][_0x48cdc6(0x1a3)](this[_0x48cdc6(0x262)],_0x3b9bdd))==null?void 0x0:_0x330365[_0x48cdc6(0x2e1)])!=null?_0x38a94c:_0x48cdc6(0x376),'range':this[_0x48cdc6(0x368)](_0x63cf6d,_0x120897),'sheetID':_0x63cf6d,'color':this[_0x48cdc6(0x383)]['assignAColorForMemberID'](_0x3b9bdd),'selection':_0x5aa476},_0xe5138d=this[_0x48cdc6(0x366)];_0xe5138d[_0x48cdc6(0x3d2)](_0x3b9bdd,_0x519f22),this[_0x48cdc6(0x341)]['next'](_0xe5138d);}[_0x3f7a85(0x255)](_0x3cedcb){const _0x4e8f48=_0x3f7a85,{memberID:_0xa88fd7}=_0x3cedcb['data'],_0x46354e=this[_0x4e8f48(0x366)];_0x46354e[_0x4e8f48(0x1cb)](_0xa88fd7),this[_0x4e8f48(0x341)]['next'](_0x46354e);}['_getMergeRange'](_0x26f831,_0x31ae2d){const _0x267f22=_0x3f7a85;var _0x1f2a93,_0x2c1f0a;const _0x504a7f=(_0x2c1f0a=(_0x1f2a93=this[_0x267f22(0x302)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1f2a93['getSheetBySheetId'](_0x26f831))==null?void 0x0:_0x2c1f0a['getMergeData']();return(_0x504a7f==null?void 0x0:_0x504a7f['find'](_0x431857=>_0x1db576[_0x267f22(0x3a7)]['contains'](_0x431857,_0x31ae2d)))||_0x31ae2d;}['_onRefRangeChange'](){const _0x1790b2=_0x3f7a85,_0x5d821f=new _0x1db576[(_0x1790b2(0x3f5))](),_0x4c4510=_0x3aa5b8(),_0x214704=()=>{const _0x10e06e=_0x1790b2;_0x5d821f[_0x10e06e(0x405)]();const _0x44bd26=(_0x281521,_0x531760,_0x27635d,_0x528232)=>{const _0x143c84=_0x10e06e;let _0x593e61=[];switch(_0x281521['id']){case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x3f9)]:{_0x593e61=_0x271a7a[_0x143c84(0x403)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['DeleteRangeMoveUpCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x378)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x1e2)]:{_0x593e61=_0x271a7a['handleInsertCol'](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x38c)]:{_0x593e61=_0x271a7a[_0x143c84(0x374)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['InsertRangeMoveRightCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x2bd)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['InsertRowCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x3aa)](_0x281521,_0x528232);break;}case _0x271a7a['EffectRefRangId'][_0x143c84(0x25f)]:{_0x593e61=_0x271a7a[_0x143c84(0x233)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x2c8)]:{_0x593e61=_0x271a7a[_0x143c84(0x28d)](_0x281521,_0x528232);break;}case _0x271a7a['EffectRefRangId'][_0x143c84(0x423)]:{_0x593e61=_0x271a7a[_0x143c84(0x1d6)](_0x281521,_0x528232);break;}}const _0xacc46a=_0x271a7a[_0x143c84(0x37c)](_0x593e61,_0x528232),_0x4a7d2d=this['cursorInfo'][_0x143c84(0x3a5)](_0x531760);if(_0x4a7d2d&&_0xacc46a){const _0x4e3327={..._0x4a7d2d,'range':_0xacc46a};this['cursorInfo'][_0x143c84(0x3d2)](_0x531760,_0x4e3327),_0x4c4510(()=>{const _0x305a25=_0x143c84,_0x554ed4=this[_0x305a25(0x243)][_0x305a25(0x1ef)](_0xacc46a,_0x50405c=>(_0x554ed4[_0x305a25(0x405)](),_0x44bd26(_0x50405c,_0x531760,_0x27635d,_0xacc46a)));_0x5d821f[_0x305a25(0x359)](_0x554ed4);});}return{'redos':[],'undos':[]};};this[_0x10e06e(0x366)][_0x10e06e(0x34c)]((_0x26e2d5,_0x51a63c)=>{const _0x21f886=_0x10e06e,{range:_0xefd7bf,sheetID:_0x3c81aa}=_0x26e2d5,_0x5319a9=this[_0x21f886(0x243)][_0x21f886(0x1ef)](_0xefd7bf,_0x551000=>(_0x5319a9[_0x21f886(0x405)](),_0x44bd26(_0x551000,_0x51a63c,_0x3c81aa,_0xefd7bf)));_0x5d821f[_0x21f886(0x359)](_0x5319a9);});};this[_0x1790b2(0x23e)](_0x1db576[_0x1790b2(0x355)](this[_0x1790b2(0x341)][_0x1790b2(0x1ed)](()=>{_0x214704();})));}[_0x3f7a85(0x227)](){const _0x559590=_0x3f7a85;var _0xe3717f,_0x54c4eb;if(this[_0x559590(0x27d)]=!0x0,((_0xe3717f=this['_univerInstanceService'][_0x559590(0x234)]())==null?void 0x0:_0xe3717f[_0x559590(0x38e)]())!==this[_0x559590(0x262)])return;const _0x8a2858=(_0x54c4eb=this[_0x559590(0x2fe)][_0x559590(0x3a5)](_0x271a7a[_0x559590(0x3a3)])[_0x559590(0x304)]())==null?void 0x0:_0x54c4eb[0x0],_0xf5c33=this[_0x559590(0x302)]['getCurrentUnitForType'](_0x1db576[_0x559590(0x27e)][_0x559590(0x41e)])[_0x559590(0x1ea)]();_0x8a2858&&_0xf5c33&&this[_0x559590(0x32b)](_0xf5c33[_0x559590(0x2c6)](),_0x8a2858);}[_0x3f7a85(0x349)](){const _0x2d6fdd=_0x3f7a85;this[_0x2d6fdd(0x27d)]=!0x1;}};_0x5be8d7=_0x419bb9([_0xda5b32(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xda5b32(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x46c5bf)),_0xda5b32(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x223)])),_0xda5b32(0x5,_0x1db576[_0x3f7a85(0x35b)]),_0xda5b32(0x6,_0x1db576['ICommandService']),_0xda5b32(0x7,_0x1db576[_0x3f7a85(0x1f5)](_0x271a7a[_0x3f7a85(0x2d9)]))],_0x5be8d7);var _0x323b84=Object[_0x3f7a85(0x372)],_0x5e53b9=(_0x3c7cd5,_0x4fbfba,_0x381195,_0x266ea3)=>{const _0x5928a8=_0x3f7a85;for(var _0x1e6dfe=_0x266ea3>0x1?void 0x0:_0x266ea3?_0x323b84(_0x4fbfba,_0x381195):_0x4fbfba,_0x2dacc9=_0x3c7cd5[_0x5928a8(0x1b9)]-0x1,_0x433092;_0x2dacc9>=0x0;_0x2dacc9--)(_0x433092=_0x3c7cd5[_0x2dacc9])&&(_0x1e6dfe=_0x433092(_0x1e6dfe)||_0x1e6dfe);return _0x1e6dfe;},_0x217c36=(_0x44a339,_0x4b5e6a)=>(_0x29f7a6,_0x26de0a)=>_0x4b5e6a(_0x29f7a6,_0x26de0a,_0x44a339);let _0x3c2926=class extends _0x1db576['RxDisposable']{constructor(_0x28450c,_0x1e1b04,_0x283007){const _0x687a7=_0x3f7a85;super(),_0x76a544(this,'_entities',new Map()),_0x76a544(this,'_entityInit$',new _0x2bfd9f[(_0x687a7(0x2d4))]()),(this[_0x687a7(0x302)]=_0x28450c,this[_0x687a7(0x2fe)]=_0x1e1b04,this[_0x687a7(0x2d1)]=_0x283007,this[_0x687a7(0x290)]());}[_0x3f7a85(0x405)](){const _0x4e343d=_0x3f7a85;super[_0x4e343d(0x405)](),this[_0x4e343d(0x247)][_0x4e343d(0x2a4)](),this[_0x4e343d(0x30c)]['forEach'](_0x580123=>_0x580123['dispose']());}[_0x3f7a85(0x40f)](_0x13af4e){const _0x1dd567=_0x3f7a85;return this[_0x1dd567(0x30c)]['has'](_0x13af4e)?this[_0x1dd567(0x30c)][_0x1dd567(0x3a5)](_0x13af4e)['cursorInfo$']:this['_entityInit$'][_0x1dd567(0x2e7)](_0x2bfd9f[_0x1dd567(0x19a)](_0x500aa5=>_0x500aa5[_0x1dd567(0x262)]===_0x13af4e),_0x2bfd9f[_0x1dd567(0x425)](_0x1dbe5d=>_0x1dbe5d['cursorInfo$']));}[_0x3f7a85(0x290)](){const _0x7cfa9b=_0x3f7a85;this[_0x7cfa9b(0x302)]['getTypeOfUnitAdded$'](_0x1db576[_0x7cfa9b(0x27e)]['UNIVER_SHEET'])[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x36c)](this[_0x7cfa9b(0x3f8)]))[_0x7cfa9b(0x1ed)](async _0x4022a1=>{const _0x34fc53=_0x7cfa9b,_0x14dcd3=_0x4022a1[_0x34fc53(0x38e)](),_0x3fd168=await this[_0x34fc53(0x2c1)](_0x14dcd3);this[_0x34fc53(0x247)][_0x34fc53(0x33c)](_0x3fd168),this[_0x34fc53(0x30c)][_0x34fc53(0x3d2)](_0x14dcd3,_0x3fd168);}),this[_0x7cfa9b(0x302)][_0x7cfa9b(0x3f2)](_0x1db576[_0x7cfa9b(0x27e)][_0x7cfa9b(0x1c1)])[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x36c)](this[_0x7cfa9b(0x3f8)]))[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x19a)](_0x2b606e=>!_0x2b606e[_0x7cfa9b(0x38e)]()[_0x7cfa9b(0x293)]('__')))['subscribe'](async _0x2942f6=>{const _0x4fb789=_0x7cfa9b,_0x3e7e38=_0x2942f6[_0x4fb789(0x38e)](),_0x208917=await this[_0x4fb789(0x3f3)](_0x3e7e38);this[_0x4fb789(0x247)][_0x4fb789(0x33c)](_0x208917),this[_0x4fb789(0x30c)][_0x4fb789(0x3d2)](_0x3e7e38,_0x208917);}),_0x2bfd9f['merge'](this[_0x7cfa9b(0x302)]['getTypeOfUnitDisposed$'](_0x1db576[_0x7cfa9b(0x27e)]['UNIVER_DOC']),this[_0x7cfa9b(0x302)][_0x7cfa9b(0x32d)](_0x1db576[_0x7cfa9b(0x27e)][_0x7cfa9b(0x41e)]))['pipe'](_0x2bfd9f[_0x7cfa9b(0x36c)](this['dispose$']))['subscribe'](_0x2c0235=>{const _0x399a03=_0x7cfa9b,_0x42e9dd=_0x2c0235[_0x399a03(0x38e)](),_0x17e55b=this[_0x399a03(0x30c)]['get'](_0x42e9dd);_0x17e55b&&(_0x17e55b[_0x399a03(0x405)](),this[_0x399a03(0x30c)][_0x399a03(0x1cb)](_0x42e9dd));});}async[_0x3f7a85(0x2c1)](_0x43ec87){const _0x4ae21d=_0x3f7a85,_0x5348e1=await this[_0x4ae21d(0x2d1)][_0x4ae21d(0x2f1)](_0x43ec87),_0x4957a1=this[_0x4ae21d(0x2fe)][_0x4ae21d(0x29a)](_0x5be8d7,_0x43ec87,_0x5348e1);return _0x4957a1[_0x4ae21d(0x3e9)](),_0x4957a1;}async[_0x3f7a85(0x3f3)](_0x4a3a11){const _0x4a3804=_0x3f7a85,_0x3baf39=await this['_collabSessionService'][_0x4a3804(0x2f1)](_0x4a3a11),_0x143180=this[_0x4a3804(0x2fe)]['createInstance'](_0x375a6d,_0x4a3a11,_0x3baf39);return _0x143180[_0x4a3804(0x3e9)](),_0x143180;}};_0x3c2926=_0x5e53b9([_0x217c36(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x217c36(0x1,_0x1db576['Inject'](_0x1db576[_0x3f7a85(0x325)])),_0x217c36(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['CollaborationSessionService']))],_0x3c2926);const _0x1719cd=0x14,_0x33f586=0xc8,_0x5ab930=0x4,_0x3adffa=0x5;function _0x3bafda(_0x219990,_0x4b3d1e){const _0x4aa5e5=_0x3f7a85;let {radius:_0x187203,width:_0x2759ca,height:_0x10bf4b}=_0x4b3d1e;_0x187203=_0x187203!=null?_0x187203:0x0,_0x2759ca=_0x2759ca!=null?_0x2759ca:0x1e,_0x10bf4b=_0x10bf4b!=null?_0x10bf4b:0x1e;let _0x25495b=0x0,_0x43c7e5=0x0,_0x2f443e=0x0;_0x25495b=_0x43c7e5=_0x2f443e=Math['min'](_0x187203,_0x2759ca/0x2,_0x10bf4b/0x2),_0x219990[_0x4aa5e5(0x254)](),_0x219990[_0x4aa5e5(0x1da)](_0x25495b,0x0),_0x219990[_0x4aa5e5(0x2a9)](_0x2759ca-_0x43c7e5,0x0),_0x219990[_0x4aa5e5(0x1fb)](_0x2759ca-_0x43c7e5,_0x43c7e5,_0x43c7e5,Math['PI']*0x3/0x2,0x0,!0x1),_0x219990[_0x4aa5e5(0x2a9)](_0x2759ca,_0x10bf4b-_0x2f443e),_0x219990[_0x4aa5e5(0x1fb)](_0x2759ca-_0x2f443e,_0x10bf4b-_0x2f443e,_0x2f443e,0x0,Math['PI']/0x2,!0x1),_0x219990[_0x4aa5e5(0x2a9)](0x0,_0x10bf4b),_0x219990[_0x4aa5e5(0x2a9)](0x0,_0x25495b),_0x219990[_0x4aa5e5(0x1fb)](_0x25495b,_0x25495b,_0x25495b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x219990[_0x4aa5e5(0x1a8)](),_0x4b3d1e[_0x4aa5e5(0x231)]&&(_0x219990[_0x4aa5e5(0x2d0)](),_0x219990[_0x4aa5e5(0x412)]=_0x4b3d1e['fill'],_0x4b3d1e[_0x4aa5e5(0x31d)]===_0x4aa5e5(0x1de)?_0x219990[_0x4aa5e5(0x231)](_0x4aa5e5(0x1de)):_0x219990[_0x4aa5e5(0x231)](),_0x219990['restore']());}class _0x3c7e72 extends _0x9322cd[_0x3f7a85(0x3ea)]{constructor(_0x1daaf7,_0x20f197){const _0x3adfeb=_0x3f7a85;super(_0x1daaf7,_0x20f197),_0x76a544(this,'color'),_0x76a544(this,_0x3adfeb(0x1af)),(this['color']=_0x20f197==null?void 0x0:_0x20f197[_0x3adfeb(0x246)],this[_0x3adfeb(0x1af)]=_0x20f197==null?void 0x0:_0x20f197[_0x3adfeb(0x1af)]);}static[_0x3f7a85(0x1aa)](_0x891db,_0xec2f67){const _0x369f2e=_0x3f7a85,{text:_0x59d7d0,color:_0x588944}=_0xec2f67;_0x891db['save'](),_0x891db[_0x369f2e(0x334)]=_0x369f2e(0x3e2);const _0x1bea66=_0x891db[_0x369f2e(0x1b1)](_0x59d7d0)[_0x369f2e(0x24b)],_0x21361b=Math['min'](_0x1bea66+0x2*_0x5ab930,_0x33f586);_0x3bafda(_0x891db,{'height':_0x1719cd,'radius':0x4,'width':_0x21361b,'fill':_0x588944}),_0x891db['fillStyle']=_0x369f2e(0x3b8);const _0x3bcaf5=_0x5ab930,_0x24d621=_0x1719cd-_0x3adffa,_0xfff22e=_0x33f586-0x2*_0x5ab930;if(_0x1bea66>_0xfff22e){let _0x3da9ed='',_0x438ad7=0x0;for(const _0x179adc of _0x59d7d0){const _0x2ed7a0=_0x891db[_0x369f2e(0x1b1)](_0x179adc)[_0x369f2e(0x24b)];if(_0x438ad7+_0x2ed7a0<=_0xfff22e-_0x891db[_0x369f2e(0x1b1)](_0x369f2e(0x22b))[_0x369f2e(0x24b)])_0x3da9ed+=_0x179adc,_0x438ad7+=_0x2ed7a0;else{_0x3da9ed+='...';break;}}_0x891db['fillText'](_0x3da9ed,_0x3bcaf5,_0x24d621);}else _0x891db[_0x369f2e(0x2ae)](_0x59d7d0,_0x3bcaf5,_0x24d621);_0x891db[_0x369f2e(0x418)]();}[_0x3f7a85(0x3de)](_0x44924e){const _0x1a0fc7=_0x3f7a85;_0x3c7e72[_0x1a0fc7(0x1aa)](_0x44924e,this);}}const _0x2b9667='collab-text-anchor-',_0xd02e06=_0x3f7a85(0x39a),_0x10dcd1=_0x3f7a85(0x34d),_0x32090c=0x6,_0x9aba8c=1.5,_0x7ef56d=0x4,_0x1cbe17=1.5,_0x5d6515=_0x3f7a85(0x357);class _0x34ba4a{constructor(_0x25cbc8,_0x5c698f,_0x2c3ab9,_0x55eaff){const _0x2ba478=_0x3f7a85;_0x76a544(this,_0x2ba478(0x228),[]),_0x76a544(this,_0x2ba478(0x3b6),null),_0x76a544(this,_0x2ba478(0x3f4),null),_0x76a544(this,_0x2ba478(0x21f),null),_0x76a544(this,_0x2ba478(0x285),null),_0x76a544(this,_0x2ba478(0x1e6),null),(this['_cursor']=_0x25cbc8,this[_0x2ba478(0x22a)]=_0x5c698f,this['_docSkeleton']=_0x2c3ab9,this[_0x2ba478(0x3d5)]=_0x55eaff,this[_0x2ba478(0x220)]());}set[_0x3f7a85(0x352)](_0x29d8d9){const _0x27cd00=_0x3f7a85;_0x29d8d9?(this[_0x27cd00(0x21f)]&&this[_0x27cd00(0x21f)][_0x27cd00(0x295)](),this[_0x27cd00(0x3f4)]&&this[_0x27cd00(0x3f4)][_0x27cd00(0x411)]()):(this[_0x27cd00(0x21f)]&&this[_0x27cd00(0x21f)][_0x27cd00(0x411)](),this['_textBubble']&&this['_textBubble'][_0x27cd00(0x295)]());}[_0x3f7a85(0x405)](){const _0xb2d555=_0x3f7a85;for(const _0x56b7c1 of this[_0xb2d555(0x228)])_0x56b7c1[_0xb2d555(0x405)]();this[_0xb2d555(0x3f4)]&&this[_0xb2d555(0x3f4)][_0xb2d555(0x405)](),this[_0xb2d555(0x21f)]&&this[_0xb2d555(0x21f)]['dispose'](),this[_0xb2d555(0x3b6)]&&this[_0xb2d555(0x3b6)][_0xb2d555(0x405)](),this['_eventUnsubscribe']&&this[_0xb2d555(0x1e6)]();}[_0x3f7a85(0x220)](){const _0x252466=_0x3f7a85;var _0x2b52cd;const {_docSkeleton:_0x2b8ea2,_document:_0x35c362}=this,{color:_0x11a701,name:_0x3d902f,ranges:_0xa440ed}=this['_cursor'],_0x2275b7=_0x35c362[_0x252466(0x32f)](),{docsLeft:_0x4bdfa9,docsTop:_0x237955}=_0x2275b7,_0xac2094=new _0x56cec3['NodePositionConvertToCursor'](_0x2275b7,_0x2b8ea2);for(const {startOffset:_0x2cf85d,endOffset:_0x246288,rangeType:_0x1d1779,segmentId:_0x267c67,segmentPage:_0x54f50b,collapsed:_0x2e9f31,isActive:_0x43cdc6}of _0xa440ed){const _0x120741=_0x2b8ea2[_0x252466(0x2fa)](_0x2cf85d,!0x0,_0x267c67,_0x54f50b);let _0x436ebb=_0x2b8ea2[_0x252466(0x2fa)](_0x246288,!0x0,_0x267c67,_0x54f50b);if(_0x436ebb==null&&(_0x436ebb=_0x2b8ea2[_0x252466(0x2fa)](_0x246288-0x1,!0x1,_0x267c67,_0x54f50b)),_0x43cdc6){const {contentBoxPointGroup:_0x2d9e2c}=_0xac2094['getRangePointData'](_0x436ebb,_0x436ebb);if(_0x2d9e2c[_0x252466(0x1b9)]===0x0)continue;this[_0x252466(0x35e)](_0x11a701,_0x2d9e2c,_0x4bdfa9,_0x237955,_0x3d902f),this[_0x252466(0x1e6)]=this['_handleHover']();}if(_0x120741&&_0x436ebb){if(_0x1d1779===_0x1db576[_0x252466(0x25e)][_0x252466(0x288)]){const _0x5a09c4=new _0x56cec3[(_0x252466(0x2b4))](_0x2275b7,_0x2b8ea2),{pointGroup:_0x2ff2de}=(_0x2b52cd=_0x5a09c4[_0x252466(0x409)](_0x120741,_0x436ebb))!=null?_0x2b52cd:{};if(_0x2ff2de==null||_0x2ff2de[_0x252466(0x1b9)]===0x0)continue;this['_drawRectRange'](_0x11a701,_0x2ff2de,_0x4bdfa9,_0x237955);}else{if(!_0x2e9f31){const {borderBoxPointGroup:_0x119ba7}=_0xac2094[_0x252466(0x409)](_0x120741,_0x436ebb);if(_0x119ba7[_0x252466(0x1b9)]===0x0)continue;this['_drawTextRange'](_0x11a701,_0x119ba7,_0x4bdfa9,_0x237955);}}}}}[_0x3f7a85(0x35e)](_0x3037fc,_0x33086b,_0x53f7ca,_0x17866a,_0x16e600){const _0x47eec6=_0x3f7a85,_0x4d84bc=this[_0x47eec6(0x308)](_0x33086b),{left:_0x2e2098,top:_0x17bafe,height:_0x424110}=_0x4d84bc,_0x566aee=this[_0x47eec6(0x3ac)](),_0x463295=_0x1cbe17/_0x566aee,_0x24ab45=new _0x9322cd['Rect'](_0x2b9667+_0x1db576[_0x47eec6(0x27f)][_0x47eec6(0x1c7)](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a,'height':_0x424110,'width':_0x9aba8c,'fill':_0x3037fc||_0x9322cd['getColor'](_0x1db576[_0x47eec6(0x26c)]['black'],0x0),'strokeWidth':_0x463295,'stroke':_0x5d6515,'evented':!0x0});this[_0x47eec6(0x3b6)]=_0x24ab45,this[_0x47eec6(0x22a)]['addObject'](_0x24ab45,_0x56cec3[_0x47eec6(0x269)]);const _0x2c8a89=new _0x9322cd[(_0x47eec6(0x1b3))](_0x2b9667+_0x1db576[_0x47eec6(0x27f)]['generateRandomId'](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a-_0x7ef56d/0x2,'height':_0x7ef56d,'width':_0x7ef56d,'fill':_0x3037fc||_0x9322cd[_0x47eec6(0x26a)](_0x1db576[_0x47eec6(0x26c)][_0x47eec6(0x3fb)],0x0),'strokeWidth':0x0,'stroke':_0x3037fc||_0x9322cd[_0x47eec6(0x26a)](_0x1db576[_0x47eec6(0x26c)][_0x47eec6(0x3fb)],0x0),'evented':!0x1});this['_anchorDot']=_0x2c8a89,this[_0x47eec6(0x22a)][_0x47eec6(0x32c)](_0x2c8a89,_0x56cec3[_0x47eec6(0x269)]);const _0x3d372c=new _0x3c7e72(_0x2b9667+_0x1db576[_0x47eec6(0x27f)][_0x47eec6(0x1c7)](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a-_0x1719cd,'text':_0x16e600,'color':_0x3037fc});this['_textBubble']=_0x3d372c,this[_0x47eec6(0x22a)]['addObject'](_0x3d372c,_0x56cec3[_0x47eec6(0x269)]),this[_0x47eec6(0x352)]=!0x1;}[_0x3f7a85(0x265)](){const _0x24bb5f=_0x3f7a85,_0x3eff7c=this['_anchor'][_0x24bb5f(0x242)][_0x24bb5f(0x431)](()=>{const _0x8f1cad=_0x24bb5f;this[_0x8f1cad(0x352)]=!0x0;}),_0x392c7e=this['_anchor']['onPointerLeave$'][_0x24bb5f(0x431)](()=>{const _0x9ea081=_0x24bb5f;this[_0x9ea081(0x285)]&&clearTimeout(this[_0x9ea081(0x285)]),this[_0x9ea081(0x285)]=setTimeout(()=>{const _0x3be703=_0x9ea081;this[_0x3be703(0x352)]=!0x1;},0x7d0);});return()=>{const _0x6c2ef2=_0x24bb5f;_0x3eff7c[_0x6c2ef2(0x1be)](),_0x392c7e['unsubscribe']();};}[_0x3f7a85(0x42a)](_0x54c17a,_0x3edf66,_0x1f6ce4,_0x29eb68){const _0x3b1ab4=_0x3f7a85,_0x2d9e32=new _0x1db576[(_0x3b1ab4(0x20e))](_0x54c17a)[_0x3b1ab4(0x2cb)](0.2)[_0x3b1ab4(0x274)](),_0x15f0e8=new _0x9322cd['RegularPolygon'](_0xd02e06+_0x1db576[_0x3b1ab4(0x27f)]['generateRandomId'](_0x32090c),{'pointsGroup':_0x3edf66,'fill':_0x2d9e32||_0x9322cd[_0x3b1ab4(0x26a)](_0x1db576['COLORS'][_0x3b1ab4(0x3fb)],0.2),'left':_0x1f6ce4,'top':_0x29eb68,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b1ab4(0x228)]['push'](_0x15f0e8),this[_0x3b1ab4(0x22a)][_0x3b1ab4(0x32c)](_0x15f0e8,_0x56cec3[_0x3b1ab4(0x269)]);}['_drawRectRange'](_0x589c8f,_0x38f858,_0x5d7d8f,_0x3ce0cf){const _0x24d295=_0x3f7a85,_0x530411=new _0x1db576[(_0x24d295(0x20e))](_0x589c8f)[_0x24d295(0x2cb)](0.2)[_0x24d295(0x274)](),_0x2ed3a6=new _0x9322cd[(_0x24d295(0x3b1))](_0x10dcd1+_0x1db576[_0x24d295(0x27f)][_0x24d295(0x1c7)](_0x32090c),{'pointsGroup':_0x38f858,'fill':_0x530411||_0x9322cd[_0x24d295(0x26a)](_0x1db576[_0x24d295(0x26c)][_0x24d295(0x3fb)],0.2),'left':_0x5d7d8f,'top':_0x3ce0cf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d295(0x228)][_0x24d295(0x3ca)](_0x2ed3a6),this[_0x24d295(0x22a)][_0x24d295(0x32c)](_0x2ed3a6,_0x56cec3[_0x24d295(0x269)]);}[_0x3f7a85(0x308)](_0x387ed6){const _0x23d794=_0x387ed6[0x0],_0x4e0058=_0x23d794[0x0],_0x14506c=_0x23d794[0x2],{x:_0x5c5406,y:_0x1a2718}=_0x4e0058,{x:_0xa98dda,y:_0x5e0bee}=_0x14506c;return{'left':_0x5c5406,'top':_0x1a2718,'width':_0xa98dda-_0x5c5406,'height':_0x5e0bee-_0x1a2718};}[_0x3f7a85(0x3ac)](){const _0x71ece8=_0x3f7a85,{scaleX:_0x25ed26,scaleY:_0x359fd5}=this[_0x71ece8(0x22a)][_0x71ece8(0x3d0)]();return Math[_0x71ece8(0x41c)](_0x25ed26,_0x359fd5);}}var _0x56cac0=Object['getOwnPropertyDescriptor'],_0x39a1af=(_0x588b57,_0x55bd9b,_0x3320f7,_0x2b4319)=>{const _0xf99463=_0x3f7a85;for(var _0x491936=_0x2b4319>0x1?void 0x0:_0x2b4319?_0x56cac0(_0x55bd9b,_0x3320f7):_0x55bd9b,_0x4e46af=_0x588b57[_0xf99463(0x1b9)]-0x1,_0x2de712;_0x4e46af>=0x0;_0x4e46af--)(_0x2de712=_0x588b57[_0x4e46af])&&(_0x491936=_0x2de712(_0x491936)||_0x491936);return _0x491936;},_0x12d929=(_0x1ab004,_0x4c92af)=>(_0x1a9896,_0x3a41be)=>_0x4c92af(_0x1a9896,_0x3a41be,_0x1ab004);let _0x3a4ceb=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x8f5200,_0x49e584,_0x545ec6,_0x1cbaf9,_0x4abc44){const _0x30f2c3=_0x3f7a85;super(),_0x76a544(this,_0x30f2c3(0x2f4),[]),_0x76a544(this,_0x30f2c3(0x34a),[]),(this['_context']=_0x8f5200,this['_docSkeletonManagerService']=_0x49e584,this[_0x30f2c3(0x1ec)]=_0x545ec6,this[_0x30f2c3(0x1b5)]=_0x1cbaf9,this[_0x30f2c3(0x3ba)]=_0x4abc44,this[_0x30f2c3(0x290)]());}[_0x3f7a85(0x290)](){const _0x21a5b9=_0x3f7a85,_0x2c3b27=this[_0x21a5b9(0x344)][_0x21a5b9(0x3d1)],_0x2c2ddf=this[_0x21a5b9(0x328)];this[_0x21a5b9(0x23e)](_0x2bfd9f[_0x21a5b9(0x310)]([this[_0x21a5b9(0x1ec)][_0x21a5b9(0x40f)](_0x2c3b27),this['_themeService'][_0x21a5b9(0x3cf)]])[_0x21a5b9(0x2e7)](_0x405c34[_0x21a5b9(0x32e)](([_0x2c7454,_0x44cbd3])=>({'skeleton':_0x2c2ddf[_0x21a5b9(0x347)](),'cursors':[..._0x2c7454[_0x21a5b9(0x200)]()][_0x21a5b9(0x1dd)](_0x155dfa=>({..._0x155dfa,'color':_0x44cbd3[_0x155dfa[_0x21a5b9(0x246)]]}))})))[_0x21a5b9(0x1ed)](_0x221fb5=>{const _0x2fb5c8=_0x21a5b9;if(this[_0x2fb5c8(0x2aa)](),_0x221fb5){const {skeleton:_0x122195,cursors:_0x2ea5b0}=_0x221fb5;this[_0x2fb5c8(0x1b6)](_0x122195,_0x2ea5b0);}})),this['_initResize'](),this[_0x21a5b9(0x306)]();}['_updateCollabCursors'](_0x428705,_0x7370a){const _0x1719f7=_0x3f7a85,{scene:_0x67f2cc,mainComponent:_0x5a01e9}=this[_0x1719f7(0x344)],_0x422f4f=_0x7370a[_0x1719f7(0x32e)](_0xe3964c=>new _0x34ba4a(_0xe3964c,_0x67f2cc,_0x428705,_0x5a01e9));this['_cursorShapes']=_0x422f4f,this['_cursors']=_0x7370a;}[_0x3f7a85(0x2a0)](){const _0x43812c=_0x3f7a85;this[_0x43812c(0x2aa)]();const {scene:_0x53f794,mainComponent:_0x10701f}=this[_0x43812c(0x344)],_0x3adb4e=this['_docSkeletonManagerService']['getSkeleton'](),_0x3e5f11=this[_0x43812c(0x34a)][_0x43812c(0x32e)](_0xcca952=>new _0x34ba4a(_0xcca952,_0x53f794,_0x3adb4e,_0x10701f));this[_0x43812c(0x2f4)]=_0x3e5f11;}[_0x3f7a85(0x2aa)](){const _0x11a73f=_0x3f7a85;this[_0x11a73f(0x2f4)][_0x11a73f(0x34c)](_0x99689f=>_0x99689f[_0x11a73f(0x405)]()),this[_0x11a73f(0x2f4)]=[];}[_0x3f7a85(0x306)](){const _0x4254b1=_0x3f7a85,_0x175ff5=[_0x56cec3[_0x4254b1(0x2f6)]['id']];this['disposeWithMe'](this['_commandService'][_0x4254b1(0x1ab)](_0x1e483a=>{const _0x805334=_0x4254b1;_0x175ff5[_0x805334(0x273)](_0x1e483a['id'])&&_0x1e483a[_0x805334(0x3ce)][_0x805334(0x3d1)]===this[_0x805334(0x344)]['unitId']&&this[_0x805334(0x2a0)]();}));}[_0x3f7a85(0x210)](){const _0x411e84=_0x3f7a85;this[_0x411e84(0x23e)](_0x1db576['fromEventSubject'](this[_0x411e84(0x344)]['engine']['onTransformChange$'])[_0x411e84(0x2e7)](_0x405c34['filter'](_0x25f541=>_0x25f541['type']===_0x9322cd['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x405c34[_0x411e84(0x3c7)](0x10))[_0x411e84(0x1ed)](()=>{this['_refreshCollabCursors']();}));}};_0x3a4ceb=_0x39a1af([_0x12d929(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x3a0d44[_0x3f7a85(0x315)])),_0x12d929(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x3c2926)),_0x12d929(0x3,_0x1db576[_0x3f7a85(0x36d)]),_0x12d929(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['ThemeService']))],_0x3a4ceb);const _0xe4883e=0x1,_0x4fa377=1.5;class _0x3f7254 extends _0x9322cd[_0x3f7a85(0x3ea)]{constructor(_0x1e4f00,_0x130afb){const _0x10a5c9=_0x3f7a85;super(_0x1e4f00,_0x130afb),_0x76a544(this,_0x10a5c9(0x236)),_0x76a544(this,_0x10a5c9(0x3e5),!0x1),_0x76a544(this,_0x10a5c9(0x289)),_0x76a544(this,_0x10a5c9(0x249),''),_0x76a544(this,_0x10a5c9(0x241),_0x10a5c9(0x2c2)),_0x76a544(this,_0x10a5c9(0x23f)),(_0x130afb&&this['setShapeProps'](_0x130afb),this[_0x10a5c9(0x242)][_0x10a5c9(0x431)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x10a5c9(0x386)][_0x10a5c9(0x431)](()=>this[_0x10a5c9(0x1ba)]({'hovered':!0x1})));}[_0x3f7a85(0x1ba)](_0x7fca53){const _0x5c0ecf=_0x3f7a85;var _0x26c0fc,_0x55158c,_0x7e62d7,_0x51f9ad,_0x588ea6,_0x4eb259;this[_0x5c0ecf(0x236)]=(_0x26c0fc=_0x7fca53['color'])!=null?_0x26c0fc:this[_0x5c0ecf(0x236)],this[_0x5c0ecf(0x3e5)]=(_0x55158c=_0x7fca53[_0x5c0ecf(0x2b8)])!=null?_0x55158c:this['_hovered'],this[_0x5c0ecf(0x289)]=(_0x7e62d7=_0x7fca53[_0x5c0ecf(0x414)])!=null?_0x7e62d7:this['_range'],this[_0x5c0ecf(0x249)]=(_0x51f9ad=_0x7fca53['name'])!=null?_0x51f9ad:this[_0x5c0ecf(0x249)],this[_0x5c0ecf(0x241)]=(_0x588ea6=_0x7fca53['labelPosition'])!=null?_0x588ea6:this[_0x5c0ecf(0x241)],this[_0x5c0ecf(0x23f)]=(_0x4eb259=_0x7fca53['backgroundColor'])!=null?_0x4eb259:this[_0x5c0ecf(0x23f)],this['transformByState']({'width':_0x7fca53[_0x5c0ecf(0x24b)],'height':_0x7fca53[_0x5c0ecf(0x3d7)]});}['onMouseMove'](_0x35606b){const _0x5480d6=_0x3f7a85,{row:_0x128514,column:_0x4a79b5}=_0x35606b;if(_0x128514>=this[_0x5480d6(0x289)]['startRow']&&_0x128514<=this[_0x5480d6(0x289)]['endRow']&&_0x4a79b5>=this['_range'][_0x5480d6(0x2dd)]&&_0x4a79b5<=this[_0x5480d6(0x289)][_0x5480d6(0x2b7)]){this[_0x5480d6(0x1ba)]({'hovered':!0x0});return;}this[_0x5480d6(0x1ba)]({'hovered':!0x1});}[_0x3f7a85(0x1d3)](_0x43e08b){return!0x1;}[_0x3f7a85(0x3de)](_0x57f537){const _0x4edf14=_0x3f7a85;_0x9322cd[_0x4edf14(0x1b3)][_0x4edf14(0x1aa)](_0x57f537,{'width':this['width'],'height':this[_0x4edf14(0x3d7)],'strokeWidth':_0x4fa377,'stroke':this[_0x4edf14(0x236)],'evented':!0x1,'fill':this[_0x4edf14(0x23f)]}),this[_0x4edf14(0x3e5)]&&(_0x57f537['save'](),_0x57f537['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3c7e72[_0x4edf14(0x1aa)](_0x57f537,{'text':this[_0x4edf14(0x249)],'color':this[_0x4edf14(0x236)]}),_0x57f537[_0x4edf14(0x418)]());}}var _0x596420=Object[_0x3f7a85(0x372)],_0xde2fc8=(_0x5b293a,_0x54f591,_0x15f488,_0x175ee3)=>{const _0x4c2843=_0x3f7a85;for(var _0xf300be=_0x175ee3>0x1?void 0x0:_0x175ee3?_0x596420(_0x54f591,_0x15f488):_0x54f591,_0x29a0e4=_0x5b293a[_0x4c2843(0x1b9)]-0x1,_0x53ea18;_0x29a0e4>=0x0;_0x29a0e4--)(_0x53ea18=_0x5b293a[_0x29a0e4])&&(_0xf300be=_0x53ea18(_0xf300be)||_0xf300be);return _0xf300be;},_0x121de2=(_0x1410a8,_0x23f97e)=>(_0x5ead1d,_0xa94731)=>_0x23f97e(_0x5ead1d,_0xa94731,_0x1410a8);const _0xc7dc5c=0x1389;let _0x3bc1e9=class extends _0x1db576['RxDisposable']{constructor(_0x52c079,_0x3cff20,_0x1d032e,_0xd18d3e){const _0x38ffb5=_0x3f7a85;super(),_0x76a544(this,'_cursors',new Set()),_0x76a544(this,_0x38ffb5(0x396),null),(this[_0x38ffb5(0x344)]=_0x52c079,this[_0x38ffb5(0x398)]=_0x3cff20,this['_collabCursorController']=_0x1d032e,this[_0x38ffb5(0x3ba)]=_0xd18d3e,this[_0x38ffb5(0x290)]());}[_0x3f7a85(0x290)](){const _0x50fd56=_0x3f7a85;this[_0x50fd56(0x398)][_0x50fd56(0x2fb)][_0x50fd56(0x2e7)](_0x405c34['takeUntil'](this[_0x50fd56(0x3f8)]),_0x405c34[_0x50fd56(0x425)](_0x1e2176=>{const _0x4a95d6=_0x50fd56;if(_0x1e2176){const _0x3640cf=_0x1e2176[_0x4a95d6(0x3e1)];return _0x2bfd9f['combineLatest'](this[_0x4a95d6(0x1ec)][_0x4a95d6(0x40f)](this[_0x4a95d6(0x344)][_0x4a95d6(0x3d1)]),this['_themeService'][_0x4a95d6(0x3cf)])[_0x4a95d6(0x2e7)](_0x405c34['map'](([_0x32c506,_0xff35e4])=>{const _0x4cddbf=_0x4a95d6,_0x520768=new Map();return _0x32c506[_0x4cddbf(0x34c)]((_0x130698,_0x50f593)=>{const _0x5de3e3=_0x4cddbf;if(_0x130698[_0x5de3e3(0x2a1)]===_0x3640cf){const _0xa35aff={..._0x130698};_0xa35aff[_0x5de3e3(0x246)]=_0xff35e4[_0x130698[_0x5de3e3(0x246)]],_0x520768[_0x5de3e3(0x3d2)](_0x50f593,_0xa35aff);}}),{'skeleton':_0x1e2176,'cursors':_0x520768};}));}return _0x2bfd9f['of']({'skeleton':null,'cursors':new Map()});}))[_0x50fd56(0x1ed)](({skeleton:_0x32a0c1,cursors:_0x4812e7})=>{const _0x2db02f=_0x50fd56;this[_0x2db02f(0x2aa)](),_0x32a0c1&&this[_0x2db02f(0x1b6)](_0x32a0c1,_0x4812e7);}),this[_0x50fd56(0x398)][_0x50fd56(0x2fb)][_0x50fd56(0x1ed)](_0x1e8cea=>{const _0x564b5c=_0x50fd56;if(_0x1e8cea==null)return;const {skeleton:_0x10beb5}=_0x1e8cea,{scene:_0x80ea4b}=this['_context'];_0x80ea4b['onPointerMove$'][_0x564b5c(0x431)](_0x1db576[_0x564b5c(0x3da)](_0x14269f=>{const _0x184600=_0x564b5c;var _0x586055,_0x1bbeb2;const {offsetX:_0x179a2b,offsetY:_0x250d2f}=_0x14269f,{x:_0x3e14a8,y:_0x123433}=_0x80ea4b[_0x184600(0x259)](_0x9322cd[_0x184600(0x346)][_0x184600(0x22f)]([_0x179a2b,_0x250d2f])),{scaleX:_0x185801,scaleY:_0x55f2a5}=_0x80ea4b['getAncestorScale'](),_0x388465=_0x80ea4b[_0x184600(0x38f)](_0x9322cd[_0x184600(0x394)][_0x184600(0x1a7)]),_0xb11205=_0x80ea4b[_0x184600(0x309)](_0x9322cd[_0x184600(0x346)]['FromArray']([_0x3e14a8,_0x123433]),_0x388465),_0x3a18ad=_0x10beb5[_0x184600(0x37a)](_0x179a2b,_0x250d2f,_0x185801,_0x55f2a5,_0xb11205);((_0x586055=this[_0x184600(0x396)])==null?void 0x0:_0x586055[_0x184600(0x3c4)])===_0x3a18ad[_0x184600(0x3c4)]&&((_0x1bbeb2=this[_0x184600(0x396)])==null?void 0x0:_0x1bbeb2[_0x184600(0x3b9)])===_0x3a18ad['row']||this[_0x184600(0x34a)][_0x184600(0x34c)](_0x10ad77=>{const _0x268eee=_0x184600;_0x10ad77[_0x268eee(0x413)](_0x3a18ad);});},0x64));});}[_0x3f7a85(0x1b6)](_0x18ad13,_0x31cc24){const _0x2304c7=_0x3f7a85;var _0x2a54b7;const _0x449580=(_0x2a54b7=this['_sheetSkeletonManagerService'][_0x2304c7(0x2f5)]())==null?void 0x0:_0x2a54b7['skeleton'];if(!_0x449580)return;const _0x4c65ed=this[_0x2304c7(0x214)]();if(!_0x4c65ed)return;this['_cursors']['forEach'](_0x2e9b22=>{const _0x1e6113=_0x2304c7;_0x2e9b22[_0x1e6113(0x40e)]();});const {scene:_0x3f8a61}=_0x4c65ed,_0x37be57=_0x36e10b(Array[_0x2304c7(0x31a)](_0x31cc24[_0x2304c7(0x200)]()))['map'](_0x3ea68d=>{const _0x54d009=_0x2304c7,{color:_0x374281,range:_0x193863,name:_0x4cba8f,selection:_0xec1c23,sheetID:_0x16a4c7}=_0x3ea68d,{startColumn:_0x34784f,startRow:_0x5192bf,endColumn:_0x4ee055,endRow:_0x993ae3}=_0x193863,_0x59988b=_0x152867['getCoordByCell'](_0x5192bf,_0x34784f,_0x3f8a61,_0x449580),_0xc00868=_0x152867['getCoordByCell'](_0x993ae3,_0x4ee055,_0x3f8a61,_0x449580),{columnHeaderHeightAndMarginTop:_0xe3a08a}=_0x449580,{startX:_0x4710ab,startY:_0x1b0ed4}=_0x59988b,{endX:_0x47b44a,endY:_0xc39ff9}=_0xc00868,_0x28d4e7=_0x47b44a-_0x4710ab,_0x1f2188=_0xc39ff9-_0x1b0ed4,_0x15156b={'labelPosition':_0x1b0ed4-_0xe3a08a>=_0x1719cd?_0x54d009(0x2c2):_0x54d009(0x421),'sheetID':_0x16a4c7,'range':_0x193863,'color':_0x374281,'name':_0x4cba8f,'selection':_0xec1c23,'left':_0x4710ab,'top':_0x1b0ed4,'width':_0x28d4e7,'height':_0x1f2188,'evented':!0x1,'zIndex':_0xc7dc5c};return new _0x3f7254(_0x4cba8f,_0x15156b);});_0x3f8a61[_0x2304c7(0x322)](_0x37be57,_0xe4883e),this[_0x2304c7(0x34a)]=new Set(_0x37be57);}[_0x3f7a85(0x2aa)](){const _0x206bac=_0x3f7a85;var _0x1c1eb9;(_0x1c1eb9=this[_0x206bac(0x34a)])==null||_0x1c1eb9[_0x206bac(0x34c)](_0x1c0571=>_0x1c0571[_0x206bac(0x405)]());}[_0x3f7a85(0x214)](){const _0x2a964=_0x3f7a85;return _0x152867[_0x2a964(0x3e6)](this[_0x2a964(0x344)]['unit'],this[_0x2a964(0x344)]);}};_0x3bc1e9=_0xde2fc8([_0x121de2(0x1,_0x1db576['Inject'](_0x152867[_0x3f7a85(0x2cd)])),_0x121de2(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x3c2926)),_0x121de2(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x23c)]))],_0x3bc1e9);function _0x36e10b(_0x387eaa){const _0x2de369=_0x3f7a85,_0x200aad=new Map();return _0x387eaa[_0x2de369(0x34c)](_0x16e6ba=>{const _0x12f5c7=_0x2de369;if(_0x200aad['has'](_0x16e6ba[_0x12f5c7(0x1cc)])){const _0x4fe153=_0x200aad['get'](_0x16e6ba[_0x12f5c7(0x1cc)]);_0x4fe153[_0x12f5c7(0x2e1)]+=',\x20'+_0x16e6ba[_0x12f5c7(0x2e1)];}else _0x200aad[_0x12f5c7(0x3d2)](_0x16e6ba[_0x12f5c7(0x1cc)],_0x16e6ba);}),Array['from'](_0x200aad[_0x2de369(0x200)]());}var _0x5676c1=function(){const _0x4be432=_0x3f7a85;return _0x5676c1=Object[_0x4be432(0x3ae)]||function(_0x2b9ec3){const _0x2a9ce7=_0x4be432;for(var _0x361a5f,_0x20e730=0x1,_0x47f4c2=arguments[_0x2a9ce7(0x1b9)];_0x20e730<_0x47f4c2;_0x20e730++){_0x361a5f=arguments[_0x20e730];for(var _0x1a1707 in _0x361a5f)Object[_0x2a9ce7(0x1c9)][_0x2a9ce7(0x272)][_0x2a9ce7(0x1d1)](_0x361a5f,_0x1a1707)&&(_0x2b9ec3[_0x1a1707]=_0x361a5f[_0x1a1707]);}return _0x2b9ec3;},_0x5676c1[_0x4be432(0x3c9)](this,arguments);},_0x585f2c=function(_0x42d5eb,_0x4d2bcc){const _0x4c340b=_0x3f7a85;var _0x150cbb={};for(var _0x486c66 in _0x42d5eb)Object['prototype'][_0x4c340b(0x272)]['call'](_0x42d5eb,_0x486c66)&&_0x4d2bcc['indexOf'](_0x486c66)<0x0&&(_0x150cbb[_0x486c66]=_0x42d5eb[_0x486c66]);if(_0x42d5eb!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x46d647=0x0,_0x486c66=Object[_0x4c340b(0x282)](_0x42d5eb);_0x46d647<_0x486c66[_0x4c340b(0x1b9)];_0x46d647++)_0x4d2bcc[_0x4c340b(0x3d3)](_0x486c66[_0x46d647])<0x0&&Object['prototype'][_0x4c340b(0x279)][_0x4c340b(0x1d1)](_0x42d5eb,_0x486c66[_0x46d647])&&(_0x150cbb[_0x486c66[_0x46d647]]=_0x42d5eb[_0x486c66[_0x46d647]]);}return _0x150cbb;},_0x5cba4b=_0x472caa['forwardRef'](function(_0x4eb1b3,_0x52e3b7){const _0x516bb4=_0x3f7a85;var _0x3fc02b=_0x4eb1b3[_0x516bb4(0x2bc)],_0x15b03f=_0x4eb1b3['id'],_0x5ab36b=_0x4eb1b3[_0x516bb4(0x2ad)],_0x572e79=_0x4eb1b3[_0x516bb4(0x31b)],_0x4c9d45=_0x585f2c(_0x4eb1b3,[_0x516bb4(0x2bc),'id',_0x516bb4(0x2ad),_0x516bb4(0x31b)]),_0x167b90=_0x516bb4(0x22c)[_0x516bb4(0x205)](_0x15b03f,'\x20')['concat'](_0x5ab36b||'')['trim'](),_0x33e001=_0x472caa[_0x516bb4(0x276)]('_'[_0x516bb4(0x205)](_0x448766()));return _0x1a705f(_0x3fc02b,''[_0x516bb4(0x205)](_0x15b03f),{'defIds':_0x3fc02b[_0x516bb4(0x321)],'idSuffix':_0x33e001[_0x516bb4(0x362)]},_0x5676c1({'ref':_0x52e3b7,'className':_0x167b90},_0x4c9d45),_0x572e79);});function _0x1a705f(_0x15ad81,_0x36b467,_0x409bde,_0x3d1c84,_0x325926){const _0x10ecac=_0x3f7a85;return _0x472caa[_0x10ecac(0x1e8)](_0x15ad81['tag'],_0x5676c1(_0x5676c1({'key':_0x36b467},_0x475fd(_0x15ad81,_0x409bde,_0x325926)),_0x3d1c84),(_0x20175e(_0x15ad81,_0x409bde)[_0x10ecac(0x3cb)]||[])[_0x10ecac(0x32e)](function(_0x323640,_0x465906){const _0x5d46a0=_0x10ecac;return _0x1a705f(_0x323640,''[_0x5d46a0(0x205)](_0x36b467,'-')['concat'](_0x15ad81['tag'],'-')['concat'](_0x465906),_0x409bde,void 0x0,_0x325926);}));}function _0x475fd(_0x3a44da,_0xbe5892,_0x46e549){const _0x2318b3=_0x3f7a85;var _0xb469ac=_0x5676c1({},_0x3a44da['attrs']);_0x46e549!=null&&_0x46e549[_0x2318b3(0x3a2)]&&_0xb469ac[_0x2318b3(0x231)]===_0x2318b3(0x3a2)&&(_0xb469ac['fill']=_0x46e549[_0x2318b3(0x3a2)]),_0x3a44da['tag']===_0x2318b3(0x311)&&_0xb469ac['id']&&(_0xb469ac['id']=_0xb469ac['id']+_0xbe5892[_0x2318b3(0x2a3)]),Object[_0x2318b3(0x2f0)](_0xb469ac)[_0x2318b3(0x34c)](function(_0x10fce4){const _0xf89070=_0x2318b3;var _0x4ab00e=_0x10fce4[0x0],_0x346456=_0x10fce4[0x1];_0x4ab00e===_0xf89070(0x311)&&typeof _0x346456=='string'&&(_0xb469ac[_0x4ab00e]=_0x346456['replace'](/url\(#(.*)\)/,'url(#$1'[_0xf89070(0x205)](_0xbe5892[_0xf89070(0x2a3)],')')));});var _0x416fa0=_0xbe5892[_0x2318b3(0x321)];return!_0x416fa0||_0x416fa0[_0x2318b3(0x1b9)]===0x0||(_0x3a44da[_0x2318b3(0x2b2)]==='use'&&_0xb469ac[_0x2318b3(0x251)]&&(_0xb469ac[_0x2318b3(0x251)]=_0xb469ac[_0x2318b3(0x251)]+_0xbe5892[_0x2318b3(0x2a3)]),Object[_0x2318b3(0x2f0)](_0xb469ac)['forEach'](function(_0x327e69){const _0x252677=_0x2318b3;var _0x2b2412=_0x327e69[0x0],_0x135ef8=_0x327e69[0x1];typeof _0x135ef8==_0x252677(0x370)&&(_0xb469ac[_0x2b2412]=_0x135ef8[_0x252677(0x1d9)](/url\(#(.*)\)/,'url(#$1'[_0x252677(0x205)](_0xbe5892[_0x252677(0x2a3)],')')));})),_0xb469ac;}function _0x20175e(_0x393a38,_0x208a03){const _0x11f7dc=_0x3f7a85;var _0x2eb0e9,_0x40eb5e=_0x208a03[_0x11f7dc(0x321)];return!_0x40eb5e||_0x40eb5e[_0x11f7dc(0x1b9)]===0x0?_0x393a38:_0x393a38[_0x11f7dc(0x2b2)]===_0x11f7dc(0x1e5)&&(!((_0x2eb0e9=_0x393a38[_0x11f7dc(0x3cb)])===null||_0x2eb0e9===void 0x0)&&_0x2eb0e9['length'])?_0x5676c1(_0x5676c1({},_0x393a38),{'children':_0x393a38[_0x11f7dc(0x3cb)][_0x11f7dc(0x32e)](function(_0x22a3ca){const _0x5c084d=_0x11f7dc;return typeof _0x22a3ca['attrs']['id']=='string'&&_0x40eb5e&&_0x40eb5e[_0x5c084d(0x3d3)](_0x22a3ca[_0x5c084d(0x388)]['id'])>-0x1?_0x5676c1(_0x5676c1({},_0x22a3ca),{'attrs':_0x5676c1(_0x5676c1({},_0x22a3ca[_0x5c084d(0x388)]),{'id':_0x22a3ca[_0x5c084d(0x388)]['id']+_0x208a03[_0x5c084d(0x2a3)]})}):_0x22a3ca;})}):_0x393a38;}function _0x448766(){const _0x12f70c=_0x3f7a85;return Math['random']()[_0x12f70c(0x3fd)](0x24)[_0x12f70c(0x350)](0x2,0x8);}_0x5cba4b['displayName']=_0x3f7a85(0x3d9);var _0x141c5f={'tag':_0x3f7a85(0x3be),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3f7a85(0x2db),'height':_0x3f7a85(0x2db)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f7a85(0x335)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'stroke':_0x3f7a85(0x1f4),'d':_0x3f7a85(0x426),'strokeLinecap':_0x3f7a85(0x1d7),'strokeLinejoin':_0x3f7a85(0x1d7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f7a85(0x1b0)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'fill':_0x3f7a85(0x203),'d':_0x3f7a85(0x21c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x27e620=_0x472caa[_0x3f7a85(0x3f6)](function(_0x2b0a85,_0x1bc448){const _0x4bf735=_0x3f7a85;return _0x472caa[_0x4bf735(0x1e8)](_0x5cba4b,Object[_0x4bf735(0x3ae)]({},_0x2b0a85,{'id':_0x4bf735(0x316),'ref':_0x1bc448,'icon':_0x141c5f}));});_0x27e620[_0x3f7a85(0x261)]=_0x3f7a85(0x2d7);var _0x10e9fd={'tag':_0x3f7a85(0x3be),'attrs':{'fill':_0x3f7a85(0x2de),'viewBox':_0x3f7a85(0x27a),'width':_0x3f7a85(0x2db),'height':_0x3f7a85(0x2db)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f7a85(0x390)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'stroke':_0x3f7a85(0x1f4),'d':_0x3f7a85(0x1c3),'strokeLinecap':'round','strokeLinejoin':_0x3f7a85(0x1d7),'strokeWidth':1.2}}]},{'tag':_0x3f7a85(0x1e5),'attrs':{},'children':[{'tag':_0x3f7a85(0x271),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'fill':_0x3f7a85(0x203),'d':_0x3f7a85(0x21c),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3f7a85(0x35c)]},_0x13e675=_0x472caa[_0x3f7a85(0x3f6)](function(_0x5cd879,_0x18b6c0){const _0x15c018=_0x3f7a85;return _0x472caa['createElement'](_0x5cba4b,Object[_0x15c018(0x3ae)]({},_0x5cd879,{'id':_0x15c018(0x3c2),'ref':_0x18b6c0,'icon':_0x10e9fd}));});_0x13e675[_0x3f7a85(0x261)]=_0x3f7a85(0x3cd);const _0x598f1d={'onlineStatusIcon':_0x3f7a85(0x354),'onlineStatusTitle':_0x3f7a85(0x2f3),'onlineStatus':_0x3f7a85(0x248),'online':_0x3f7a85(0x1df),'offline':'univer-offline'};function _0xd9502a(_0x48361a){const _0x57fc7c=_0x3f7a85;switch(_0x48361a){case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x2ba)]:return _0x57fc7c(0x3df);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x3c5)]:return _0x57fc7c(0x42f);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x1a5)]:return _0x57fc7c(0x2d5);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x30f)]:return _0x57fc7c(0x221);case _0x5cf9d0['CollaborationStatus']['AWAITING']:case _0x5cf9d0['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5cf9d0[_0x57fc7c(0x3d4)]['SYNCED']:case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x211)]:return _0x57fc7c(0x1f0);}}function _0x38f2f8(_0xdb4404){const _0x3c4735=_0x3f7a85,{status$:_0x4f3d5a}=_0xdb4404,_0x2ddc07=_0x104d19['useObservable'](_0x4f3d5a,_0x5cf9d0[_0x3c4735(0x3d4)][_0x3c4735(0x30f)]),_0x71b4ed=_0x104d19[_0x3c4735(0x2ee)](_0x1db576[_0x3c4735(0x408)]),_0x440a0a=_0x104d19[_0x3c4735(0x2ee)](_0x5cf9d0[_0x3c4735(0x33f)]),_0x4a1aff=_0x2ddc07!==_0x5cf9d0['CollaborationStatus'][_0x3c4735(0x2ba)],_0x414783=_0x71b4ed['t'](_0xd9502a(_0x2ddc07)),_0x222cef=_0x33d6a5['clsx'](_0x598f1d[_0x3c4735(0x2ef)],{[_0x598f1d['online']]:_0x4a1aff,[_0x598f1d[_0x3c4735(0x2d8)]]:!_0x4a1aff}),_0x2780c9=_0x4a1aff?_0x3d90e3[_0x3c4735(0x24d)](_0x13e675,{}):_0x3d90e3[_0x3c4735(0x24d)](_0x27e620,{}),_0x3aac2e=_0x472caa[_0x3c4735(0x1e9)](()=>{_0x4a1aff||_0x440a0a['reconnect']();},[_0x4a1aff,_0x440a0a]);function _0x29241a(){const _0x4dedd7=_0x3c4735;return _0x3d90e3['jsxs'](_0x4dedd7(0x1a9),{'className':_0x33d6a5[_0x4dedd7(0x1f3)](_0x222cef,_0x4dedd7(0x332)),'onClick':_0x3aac2e,'children':[_0x3d90e3['jsx']('div',{'className':_0x598f1d['onlineStatusIcon'],'children':_0x2780c9}),_0x3d90e3[_0x4dedd7(0x24d)]('div',{'className':_0x598f1d[_0x4dedd7(0x2df)],'children':_0x414783})]});}return _0x4a1aff?_0x29241a():_0x3d90e3['jsx'](_0x33d6a5[_0x3c4735(0x2ac)],{'title':_0x71b4ed['t'](_0x3c4735(0x3ed)),'children':_0x29241a()});}var _0x1c6d40=Object[_0x3f7a85(0x372)],_0x1c915d=(_0x3b9fc2,_0x1d5738,_0x31c8db,_0x203836)=>{const _0x47e5e0=_0x3f7a85;for(var _0x1dad7a=_0x203836>0x1?void 0x0:_0x203836?_0x1c6d40(_0x1d5738,_0x31c8db):_0x1d5738,_0x19acb7=_0x3b9fc2[_0x47e5e0(0x1b9)]-0x1,_0x1bfd6c;_0x19acb7>=0x0;_0x19acb7--)(_0x1bfd6c=_0x3b9fc2[_0x19acb7])&&(_0x1dad7a=_0x1bfd6c(_0x1dad7a)||_0x1dad7a);return _0x1dad7a;},_0x5220da=(_0x552deb,_0x459b2f)=>(_0xc9c6b6,_0x7390b)=>_0x459b2f(_0xc9c6b6,_0x7390b,_0x552deb);_0x3edcdd[_0x3f7a85(0x3b2)]=class extends _0x1db576['Disposable']{constructor(_0x2bb1b2,_0x23da31,_0x27ff7c,_0x41f849){const _0x41af06=_0x3f7a85;super(),_0x76a544(this,_0x41af06(0x2c5),new _0x2bfd9f['BehaviorSubject'](_0x5cf9d0['CollaborationStatus'][_0x41af06(0x30f)])),(this[_0x41af06(0x302)]=_0x2bb1b2,this[_0x41af06(0x2fe)]=_0x23da31,this[_0x41af06(0x24a)]=_0x27ff7c,this['_uiPartsService']=_0x41f849,this[_0x41af06(0x35f)](),this[_0x41af06(0x1e7)]());}[_0x3f7a85(0x1e7)](){const _0x40a012=_0x3f7a85;this[_0x40a012(0x23e)](this[_0x40a012(0x302)]['focused$'][_0x40a012(0x2e7)](_0x2bfd9f[_0x40a012(0x425)](()=>{const _0x12e8b9=_0x40a012,_0x35306e=this[_0x12e8b9(0x302)][_0x12e8b9(0x234)]();return _0x35306e?this[_0x12e8b9(0x24a)]['getCollabEntity$'](_0x35306e['getUnitId']()):_0x2bfd9f['of'](null);}),_0x2bfd9f[_0x40a012(0x425)](_0x4eedb6=>_0x4eedb6?_0x4eedb6[_0x40a012(0x268)]:_0x2bfd9f['of'](_0x5cf9d0[_0x40a012(0x3d4)][_0x40a012(0x30f)])))[_0x40a012(0x1ed)](_0x28f592=>{const _0x319951=_0x40a012;this[_0x319951(0x2c5)][_0x319951(0x33c)](_0x28f592);}));}['_initStatusComponent'](){const _0x59c60f=_0x3f7a85;this[_0x59c60f(0x23e)](this['_uiPartsService'][_0x59c60f(0x238)](_0x104d19[_0x59c60f(0x340)]['HEADER_MENU'],()=>_0x104d19[_0x59c60f(0x24e)](_0x4e779d({'status$':this[_0x59c60f(0x2c5)]['asObservable']()}),this[_0x59c60f(0x2fe)])));}},_0x3edcdd[_0x3f7a85(0x3b2)]=_0x1c915d([_0x5220da(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x5220da(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x5220da(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x2c7)])),_0x5220da(0x3,_0x104d19['IUIPartsService'])],_0x3edcdd[_0x3f7a85(0x3b2)]);function _0x4e779d(_0x3795e3){const {status$:_0x55fe36}=_0x3795e3;return function(){const _0x15e200=_0xa793;return _0x3d90e3[_0x15e200(0x24d)](_0x38f2f8,{'status$':_0x55fe36});};}var _0x4d5cc4=Object[_0x3f7a85(0x372)],_0x4d9481=(_0x3741fd,_0x20217a,_0x5a1683,_0x48acee)=>{const _0x12ae63=_0x3f7a85;for(var _0x11e596=_0x48acee>0x1?void 0x0:_0x48acee?_0x4d5cc4(_0x20217a,_0x5a1683):_0x20217a,_0x40f168=_0x3741fd[_0x12ae63(0x1b9)]-0x1,_0x165bf1;_0x40f168>=0x0;_0x40f168--)(_0x165bf1=_0x3741fd[_0x40f168])&&(_0x11e596=_0x165bf1(_0x11e596)||_0x11e596);return _0x11e596;},_0x281f57=(_0x2eb07c,_0x4ca971)=>(_0x203b20,_0x2b1e2f)=>_0x4ca971(_0x203b20,_0x2b1e2f,_0x2eb07c);let _0x21e24e=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x4ea086,_0x58c065,_0x3eff66,_0x42e859,_0x3b6fe9,_0x274cde){const _0x4cea6b=_0x3f7a85;super(),this[_0x4cea6b(0x237)]=_0x4ea086,this[_0x4cea6b(0x19d)]=_0x58c065,this[_0x4cea6b(0x21a)]=_0x3eff66,this[_0x4cea6b(0x263)]=_0x42e859,this[_0x4cea6b(0x2da)]=_0x3b6fe9,this[_0x4cea6b(0x23b)]=_0x274cde,this['_setupBeforeClosingHandler'](),this[_0x4cea6b(0x428)]();}[_0x3f7a85(0x25d)](){const _0x5df7e0=_0x3f7a85;this[_0x5df7e0(0x23e)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1ae001=_0x5df7e0;if(this[_0x1ae001(0x19d)][_0x1ae001(0x3e7)][_0x1ae001(0x1e3)])return this[_0x1ae001(0x23b)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3f7a85(0x428)](){const _0x1116e4=_0x3f7a85;this[_0x1116e4(0x23e)](this['_collaborationUIEventService'][_0x1116e4(0x218)][_0x1116e4(0x1ed)](_0x3973b5=>{const _0x589be3=_0x1116e4;_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)]['OTHER_CLIENT_EDITING']&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x303))}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t']('collaboration.closeRoom')}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x337)]&&this[_0x589be3(0x2da)][_0x589be3(0x411)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x375)),'type':_0x589be3(0x1a2),'duration':0x0}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId'][_0x589be3(0x3c5)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t']('collaboration.closeRoom')+'('+_0x3973b5['data']+')'}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this['_localeService']['t'](_0x3973b5[_0x589be3(0x365)]||'')}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x217))}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x2ff)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x3f0))}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x318)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t']('session.collaboration-timeout')});}));}};_0x21e24e=_0x4d9481([_0x281f57(0x0,_0x104d19[_0x3f7a85(0x22d)]),_0x281f57(0x1,_0x5cf9d0[_0x3f7a85(0x253)]),_0x281f57(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['CollaborationUIEventService'])),_0x281f57(0x3,_0x104d19[_0x3f7a85(0x1bd)]),_0x281f57(0x4,_0x104d19[_0x3f7a85(0x323)]),_0x281f57(0x5,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['LocaleService']))],_0x21e24e);const _0x1d60a0=_0x3f7a85(0x392),_0x177c97={},_0x5b8d9c=_0x1db576[_0x3f7a85(0x410)](_0x3f7a85(0x2e4));var _0x2ae72f=Object[_0x3f7a85(0x372)],_0x1a3de4=(_0x435626,_0x53a9fd,_0x5d09b1,_0x2f593c)=>{for(var _0x667cf3=_0x2f593c>0x1?void 0x0:_0x2f593c?_0x2ae72f(_0x53a9fd,_0x5d09b1):_0x53a9fd,_0x1548fd=_0x435626['length']-0x1,_0x311ef0;_0x1548fd>=0x0;_0x1548fd--)(_0x311ef0=_0x435626[_0x1548fd])&&(_0x667cf3=_0x311ef0(_0x667cf3)||_0x667cf3);return _0x667cf3;},_0x35feef=(_0x531b67,_0x2ad2df)=>(_0x44b932,_0x3cf591)=>_0x2ad2df(_0x44b932,_0x3cf591,_0x531b67);_0x3edcdd[_0x3f7a85(0x2d3)]=class extends _0x1db576['RxDisposable']{constructor(_0x30e30d,_0x285b4a,_0x23fff0,_0xac8c57,_0x20ef05){const _0x5ac78c=_0x3f7a85;super(),this[_0x5ac78c(0x358)]=_0x30e30d,this[_0x5ac78c(0x1bc)]=_0x285b4a,this['_commandService']=_0x23fff0,this[_0x5ac78c(0x2a6)]=_0xac8c57,_0x20ef05?_0x20ef05==null||_0x20ef05[_0x5ac78c(0x30b)]()[_0x5ac78c(0x33b)](()=>this[_0x5ac78c(0x290)]()):(this[_0x5ac78c(0x1bc)]['debug'](_0x5ac78c(0x226),_0x5ac78c(0x3a0)),this[_0x5ac78c(0x290)]());}async[_0x3f7a85(0x290)](){const _0x1b33c8=_0x3f7a85,_0x59d983=this[_0x1b33c8(0x358)]['getParam'](_0x1b33c8(0x28c)),_0x175485=this[_0x1b33c8(0x358)][_0x1b33c8(0x1f6)]('type'),_0xa06ec0=this[_0x1b33c8(0x358)][_0x1b33c8(0x1f6)](_0x1b33c8(0x2e3));if(!_0x59d983||!_0x175485){this[_0x1b33c8(0x1bc)]['debug'](_0x1b33c8(0x226),_0x1b33c8(0x432));return;}const _0x14947d=await this['_dataLoaderService'][_0x1b33c8(0x329)](_0x59d983,Number(_0x175485),_0xa06ec0);_0x14947d&&_0x14947d instanceof _0x1db576['Workbook']&&this['_setupSubUnitSync'](_0x14947d);}async[_0x3f7a85(0x1fd)](_0x3c82ab){const _0x83525b=_0x3f7a85;await this[_0x83525b(0x2a5)](_0x3c82ab),_0x3c82ab['activeSheet$'][_0x83525b(0x2e7)](_0x2bfd9f[_0x83525b(0x36c)](this[_0x83525b(0x3f8)]))[_0x83525b(0x1ed)](_0xd04e81=>{_0xd04e81&&this['_updateURLWithCurrentState'](_0xd04e81);}),this['_urlService']['urlChange$']['pipe'](_0x2bfd9f['takeUntil'](this['dispose$']))[_0x83525b(0x1ed)](()=>this[_0x83525b(0x2a5)](_0x3c82ab));}[_0x3f7a85(0x2c4)](_0x2c23ae,_0x51b51e=!0x1){const _0x72a16d=_0x3f7a85,_0x1140cc=this['_urlService']['getParam'](_0x72a16d(0x2e3));_0x2c23ae[_0x72a16d(0x2c6)]()!==_0x1140cc&&this[_0x72a16d(0x358)][_0x72a16d(0x3a6)](_0x72a16d(0x2e3),_0x2c23ae['getSheetId'](),_0x51b51e);}async[_0x3f7a85(0x2a5)](_0x51a3b8){const _0x2bd97f=_0x3f7a85;var _0x3fff86;const _0x184bcb=this['_urlService'][_0x2bd97f(0x1f6)](_0x2bd97f(0x2e3));if(!_0x184bcb||!_0x51a3b8[_0x2bd97f(0x1f8)](_0x184bcb)){const _0x239dd2=_0x51a3b8[_0x2bd97f(0x29b)]()[0x0],_0x3bf61c=_0x51a3b8['getSheetBySheetId'](_0x239dd2);if(!_0x3bf61c)return;this[_0x2bd97f(0x2c4)](_0x3bf61c,!0x0),await this['_commandService'][_0x2bd97f(0x277)](_0x271a7a['SetWorksheetActivateCommand']['id'],{'unitId':_0x51a3b8[_0x2bd97f(0x38e)](),'subUnitId':_0x239dd2});return;}((_0x3fff86=_0x51a3b8[_0x2bd97f(0x1ea)]())==null?void 0x0:_0x3fff86['getSheetId']())!==_0x184bcb&&await this['_commandService'][_0x2bd97f(0x277)](_0x271a7a[_0x2bd97f(0x296)]['id'],{'unitId':_0x51a3b8[_0x2bd97f(0x38e)](),'subUnitId':_0x184bcb});}},_0x3edcdd[_0x3f7a85(0x2d3)]=_0x1a3de4([_0x35feef(0x0,_0x5b8d9c),_0x35feef(0x1,_0x1db576[_0x3f7a85(0x28a)]),_0x35feef(0x2,_0x1db576[_0x3f7a85(0x36d)]),_0x35feef(0x3,_0x1db576['Inject'](_0x5cf9d0['DataLoaderService'])),_0x35feef(0x4,_0x1db576[_0x3f7a85(0x2c3)](_0x4eaab1[_0x3f7a85(0x42b)]))],_0x3edcdd[_0x3f7a85(0x2d3)]);var _0x5241be=Object[_0x3f7a85(0x372)],_0x370969=(_0x4eabf2,_0x298cb0,_0x283c28,_0x4c7a52)=>{const _0x52e051=_0x3f7a85;for(var _0x32b99b=_0x4c7a52>0x1?void 0x0:_0x4c7a52?_0x5241be(_0x298cb0,_0x283c28):_0x298cb0,_0x4bdb8e=_0x4eabf2[_0x52e051(0x1b9)]-0x1,_0x7274fc;_0x4bdb8e>=0x0;_0x4bdb8e--)(_0x7274fc=_0x4eabf2[_0x4bdb8e])&&(_0x32b99b=_0x7274fc(_0x32b99b)||_0x32b99b);return _0x32b99b;},_0xaa321e=(_0x421035,_0x5dc5df)=>(_0x526c00,_0x3dbe71)=>_0x5dc5df(_0x526c00,_0x3dbe71,_0x421035);let _0x48aec7=class{constructor(_0x47ad35,_0x2107bb,_0x47d888){const _0x2b7aff=_0x3f7a85;this[_0x2b7aff(0x2fe)]=_0x47ad35,this['_transformService']=_0x2107bb,this[_0x2b7aff(0x369)]=_0x47d888;}[_0x3f7a85(0x27c)](_0x3923d6){const _0x16cd2d=_0x3f7a85;this[_0x16cd2d(0x3dd)](_0x3923d6),this[_0x16cd2d(0x1d0)](_0x3923d6);}['transformRemoteChangeset'](_0x149b0b){const _0x24c617=_0x3f7a85,{unitID:_0x1e88fc}=_0x149b0b,_0x2c5369=this['_renderManagerService'][_0x24c617(0x3ff)](_0x1e88fc)[_0x24c617(0x3f1)](_0x56cec3[_0x24c617(0x256)]),{redoCache:_0x26679e}=_0x2c5369[_0x24c617(0x330)]();if(_0x26679e[_0x24c617(0x1b9)]===0x0)return _0x149b0b;let _0x810c69=_0x1db576[_0x24c617(0x27f)][_0x24c617(0x420)](_0x149b0b[_0x24c617(0x1f9)][0x0]);for(let _0x1b07e4=0x0;_0x1b07e4<_0x26679e['length'];_0x1b07e4++){const _0x170357={'id':'doc.mutation.rich-text-editing','params':{..._0x26679e[_0x1b07e4]}},_0x37d890=this[_0x24c617(0x3e4)][_0x24c617(0x364)](_0x810c69,_0x170357,!0x1);if(_0x5ca6a1[_0x24c617(0x406)](_0x37d890))throw _0x37d890[_0x24c617(0x1a2)];_0x810c69=_0x37d890[_0x24c617(0x2bf)];}return{..._0x1db576['Tools']['deepClone'](_0x149b0b),'mutations':[_0x810c69]};}[_0x3f7a85(0x3dd)](_0x336ffa){const _0x5c9a93=_0x3f7a85,{unitID:_0x35f97c}=_0x336ffa,_0x41483e=this[_0x5c9a93(0x369)]['getRenderById'](_0x35f97c)['with'](_0x56cec3['DocIMEInputManagerService']),{undoCache:_0x1280f5,redoCache:_0x4cb084}=_0x41483e[_0x5c9a93(0x330)]();if(_0x1280f5[_0x5c9a93(0x1b9)]===0x0||_0x4cb084[_0x5c9a93(0x1b9)]===0x0)return;const _0x2d22e6=[],_0x9f88a=[];let _0x2eaf75=_0x1db576[_0x5c9a93(0x27f)][_0x5c9a93(0x420)](_0x336ffa[_0x5c9a93(0x1f9)][0x0]),_0x1dc17c=_0x1db576[_0x5c9a93(0x27f)][_0x5c9a93(0x420)](_0x336ffa[_0x5c9a93(0x1f9)][0x0]);for(let _0x4e951a=_0x1280f5[_0x5c9a93(0x1b9)]-0x1;_0x4e951a>=0x0;_0x4e951a--){const _0x24e808={'id':'doc.mutation.rich-text-editing','params':{..._0x1280f5[_0x4e951a]}},_0x5f3a6d={'id':'doc.mutation.rich-text-editing','params':{..._0x4cb084[_0x4e951a]}},_0x3f7004=this[_0x5c9a93(0x3e4)][_0x5c9a93(0x364)](_0x2eaf75,_0x24e808,!0x1),_0x1fb71d=this[_0x5c9a93(0x3e4)][_0x5c9a93(0x364)](_0x1dc17c,_0x5f3a6d,!0x1);if(_0x5ca6a1[_0x5c9a93(0x406)](_0x3f7004))throw _0x3f7004[_0x5c9a93(0x1a2)];if(_0x5ca6a1[_0x5c9a93(0x406)](_0x1fb71d))throw _0x1fb71d[_0x5c9a93(0x1a2)];_0x2d22e6['unshift'](_0x3f7004[_0x5c9a93(0x3fa)][_0x5c9a93(0x3ce)]),_0x9f88a[_0x5c9a93(0x2b9)](_0x1fb71d[_0x5c9a93(0x3fa)][_0x5c9a93(0x3ce)]),_0x2eaf75=_0x3f7004['m1Prime'],_0x1dc17c=_0x1fb71d[_0x5c9a93(0x2bf)];}_0x41483e['setUndoRedoMutationParamsCache']({'undoCache':_0x2d22e6,'redoCache':_0x9f88a});}[_0x3f7a85(0x1d0)](_0x3ed2d3){const _0x37ae0f=_0x3f7a85,{unitID:_0x247855}=_0x3ed2d3,_0x4e1858=this[_0x37ae0f(0x369)][_0x37ae0f(0x3ff)](_0x247855)['with'](_0x56cec3[_0x37ae0f(0x256)]),_0x10f9d7=_0x4e1858[_0x37ae0f(0x1c2)]();if(_0x10f9d7==null)return;const _0x4ce9f7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ed2d3[_0x37ae0f(0x262)],'actions':null,'textRanges':[_0x10f9d7]}}],_0x3624d7=this[_0x37ae0f(0x3e4)][_0x37ae0f(0x42d)](_0x3ed2d3,_0x4ce9f7);if(!_0x5ca6a1[_0x37ae0f(0x26b)](_0x3624d7))throw _0x3624d7[_0x37ae0f(0x1a2)];const _0x186868=_0x3624d7[_0x37ae0f(0x3fa)][0x0][_0x37ae0f(0x3ce)]['textRanges'];Array[_0x37ae0f(0x2b6)](_0x186868)&&_0x186868[_0x37ae0f(0x1b9)]&&_0x4e1858[_0x37ae0f(0x286)](_0x186868[0x0]);}};_0x48aec7=_0x370969([_0xaa321e(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xaa321e(0x1,_0x5ca6a1[_0x3f7a85(0x2c0)]),_0xaa321e(0x2,_0x9322cd[_0x3f7a85(0x3b0)])],_0x48aec7);var _0x549c8d=Object[_0x3f7a85(0x372)],_0x7656fb=(_0x7d4986,_0x57dcee,_0x5e1015,_0x309be9)=>{const _0x9342b4=_0x3f7a85;for(var _0x13b715=_0x309be9>0x1?void 0x0:_0x309be9?_0x549c8d(_0x57dcee,_0x5e1015):_0x57dcee,_0x3a2b11=_0x7d4986[_0x9342b4(0x1b9)]-0x1,_0x6288d2;_0x3a2b11>=0x0;_0x3a2b11--)(_0x6288d2=_0x7d4986[_0x3a2b11])&&(_0x13b715=_0x6288d2(_0x13b715)||_0x13b715);return _0x13b715;},_0x3e6845=(_0x34ae79,_0x22b670)=>(_0x1d15a3,_0x2110f2)=>_0x22b670(_0x1d15a3,_0x2110f2,_0x34ae79);let _0xc6e562=class{constructor(_0x222a59,_0x3ae1c8,_0x26fd8b){const _0x45824c=_0x3f7a85;this[_0x45824c(0x2fe)]=_0x222a59,this[_0x45824c(0x3e4)]=_0x3ae1c8,this['_docStateChangeManagerService']=_0x26fd8b;}['transformStateCache'](_0x35a751){const _0x3a80b6=_0x3f7a85;this[_0x3a80b6(0x1cf)](_0x35a751);}[_0x3f7a85(0x37f)](_0x55f34f){const _0x50ab37=_0x3f7a85,{unitID:_0x15a7e0}=_0x55f34f,{collaboration:_0xd4d61}=this[_0x50ab37(0x2e8)][_0x50ab37(0x224)](_0x15a7e0);if(_0xd4d61[_0x50ab37(0x1b9)]===0x0)return _0x55f34f;let _0x298ac0=_0x1db576[_0x50ab37(0x27f)][_0x50ab37(0x420)](_0x55f34f['mutations'][0x0]);for(let _0x49fbf2=0x0;_0x49fbf2<_0xd4d61[_0x50ab37(0x1b9)];_0x49fbf2++){const _0x7a683={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d61[_0x49fbf2]['unitId'],..._0xd4d61[_0x49fbf2][_0x50ab37(0x1d5)]}},_0x53aded=this[_0x50ab37(0x3e4)][_0x50ab37(0x364)](_0x298ac0,_0x7a683,!0x1);if(_0x5ca6a1[_0x50ab37(0x406)](_0x53aded))throw _0x53aded[_0x50ab37(0x1a2)];_0x298ac0=_0x53aded['m1Prime'];}return{..._0x1db576[_0x50ab37(0x27f)][_0x50ab37(0x420)](_0x55f34f),'mutations':[_0x298ac0]};}[_0x3f7a85(0x1cf)](_0x54abe3){const _0x4f9817=_0x3f7a85,{unitID:_0x51a71e}=_0x54abe3,{history:_0x288da8,collaboration:_0x4401d3}=this[_0x4f9817(0x2e8)][_0x4f9817(0x224)](_0x51a71e);if(_0x288da8[_0x4f9817(0x1b9)]===0x0&&_0x4401d3[_0x4f9817(0x1b9)]===0x0)return;const _0x35e0c1=[],_0x484422=[];let _0x3b49e9=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3[_0x4f9817(0x1f9)][0x0]),_0x20a079=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3['mutations'][0x0]);for(let _0x2d7ead=_0x288da8['length']-0x1;_0x2d7ead>=0x0;_0x2d7ead--){const _0x16e331={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x288da8[_0x2d7ead][_0x4f9817(0x3d1)],..._0x288da8[_0x2d7ead]['undoState']}},_0x186b4b={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x288da8[_0x2d7ead][_0x4f9817(0x3d1)],..._0x288da8[_0x2d7ead]['redoState']}},_0x5a2c82=this['_transformService']['transformMutation'](_0x3b49e9,_0x16e331,!0x1),_0x1ffc89=this[_0x4f9817(0x3e4)][_0x4f9817(0x364)](_0x20a079,_0x186b4b,!0x1);if(_0x5ca6a1[_0x4f9817(0x406)](_0x5a2c82))throw _0x5a2c82['error'];if(_0x5ca6a1[_0x4f9817(0x406)](_0x1ffc89))throw _0x1ffc89[_0x4f9817(0x1a2)];_0x35e0c1['unshift']({..._0x288da8[_0x2d7ead],'undoState':_0x5a2c82[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)],'redoState':_0x1ffc89[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)]}),_0x3b49e9=_0x5a2c82[_0x4f9817(0x2bf)],_0x20a079=_0x1ffc89[_0x4f9817(0x2bf)];}_0x3b49e9=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3[_0x4f9817(0x1f9)][0x0]),_0x20a079=_0x1db576[_0x4f9817(0x27f)]['deepClone'](_0x54abe3['mutations'][0x0]);for(let _0x3394ae=_0x4401d3[_0x4f9817(0x1b9)]-0x1;_0x3394ae>=0x0;_0x3394ae--){const _0x56ae28={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x4401d3[_0x3394ae][_0x4f9817(0x3d1)],..._0x4401d3[_0x3394ae][_0x4f9817(0x2cf)]}},_0x1d3398={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x4401d3[_0x3394ae][_0x4f9817(0x3d1)],..._0x4401d3[_0x3394ae][_0x4f9817(0x1d5)]}},_0x2f90ef=this['_transformService'][_0x4f9817(0x364)](_0x3b49e9,_0x56ae28,!0x1),_0x4cce1f=this[_0x4f9817(0x3e4)][_0x4f9817(0x364)](_0x20a079,_0x1d3398,!0x1);if(_0x5ca6a1[_0x4f9817(0x406)](_0x2f90ef))throw _0x2f90ef[_0x4f9817(0x1a2)];if(_0x5ca6a1[_0x4f9817(0x406)](_0x4cce1f))throw _0x4cce1f[_0x4f9817(0x1a2)];_0x484422[_0x4f9817(0x2b9)]({..._0x4401d3[_0x3394ae],'undoState':_0x2f90ef[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)],'redoState':_0x4cce1f['m2Prime'][_0x4f9817(0x3ce)]}),_0x3b49e9=_0x2f90ef[_0x4f9817(0x2bf)],_0x20a079=_0x4cce1f[_0x4f9817(0x2bf)];}this['_docStateChangeManagerService'][_0x4f9817(0x361)](_0x51a71e,{'history':_0x35e0c1,'collaboration':_0x484422});}};_0xc6e562=_0x7656fb([_0x3e6845(0x0,_0x1db576['Inject'](_0x1db576[_0x3f7a85(0x325)])),_0x3e6845(0x1,_0x5ca6a1['ITransformService']),_0x3e6845(0x2,_0x1db576['Inject'](_0x56cec3['DocStateChangeManagerService']))],_0xc6e562);var _0x94c4ca=Object['getOwnPropertyDescriptor'],_0x1f8b49=(_0x21a18e,_0x53efd3,_0x490213,_0x3da2f1)=>{for(var _0x2f5a68=_0x3da2f1>0x1?void 0x0:_0x3da2f1?_0x94c4ca(_0x53efd3,_0x490213):_0x53efd3,_0x173dc9=_0x21a18e['length']-0x1,_0x2bdea7;_0x173dc9>=0x0;_0x173dc9--)(_0x2bdea7=_0x21a18e[_0x173dc9])&&(_0x2f5a68=_0x2bdea7(_0x2f5a68)||_0x2f5a68);return _0x2f5a68;},_0x2c0f41=(_0xdd29ec,_0x330070)=>(_0x2ec8fa,_0x417d7b)=>_0x330070(_0x2ec8fa,_0x417d7b,_0xdd29ec);let _0x41c0e2=class{constructor(_0x13bbab,_0x2b876f){const _0x1b2750=_0x3f7a85;this[_0x1b2750(0x2fe)]=_0x13bbab,this[_0x1b2750(0x3e4)]=_0x2b876f;}[_0x3f7a85(0x345)](_0x69bac4){const _0xc776a4=_0x3f7a85;var _0x2d1ab5;const _0x2e5d3f=this[_0xc776a4(0x2fe)][_0xc776a4(0x3a5)](_0x3a0d44[_0xc776a4(0x39b)]),_0x19f66c=(_0x2d1ab5=_0x2e5d3f['getDocRanges']())!=null?_0x2d1ab5:[];if(_0x19f66c[_0xc776a4(0x1b9)]===0x0)return;const _0x1c7126=_0x69bac4[_0xc776a4(0x262)],_0x19def2=[{'id':_0xc776a4(0x1b4),'params':{'unitId':_0x1c7126,'actions':null,'textRanges':_0x19f66c}}],_0x454743=this[_0xc776a4(0x3e4)][_0xc776a4(0x42d)](_0x69bac4,_0x19def2);if(!_0x5ca6a1[_0xc776a4(0x26b)](_0x454743))throw _0x454743[_0xc776a4(0x1a2)];const _0x1ccb57=_0x454743[_0xc776a4(0x3fa)][0x0]['params']['textRanges'];Array[_0xc776a4(0x2b6)](_0x1ccb57)&&_0x1ccb57[_0xc776a4(0x1b9)]&&_0x2e5d3f[_0xc776a4(0x23d)](_0x1ccb57,{'unitId':_0x1c7126,'subUnitId':_0x1c7126},!0x1);}};_0x41c0e2=_0x1f8b49([_0x2c0f41(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x2c0f41(0x1,_0x5ca6a1[_0x3f7a85(0x2c0)])],_0x41c0e2);var _0x1fea64=Object[_0x3f7a85(0x372)],_0x3173f6=(_0x3932c8,_0x397255,_0x1efb7a,_0x5d930b)=>{const _0x24eb32=_0x3f7a85;for(var _0x3b79c1=_0x5d930b>0x1?void 0x0:_0x5d930b?_0x1fea64(_0x397255,_0x1efb7a):_0x397255,_0x121509=_0x3932c8[_0x24eb32(0x1b9)]-0x1,_0x53b86d;_0x121509>=0x0;_0x121509--)(_0x53b86d=_0x3932c8[_0x121509])&&(_0x3b79c1=_0x53b86d(_0x3b79c1)||_0x3b79c1);return _0x3b79c1;},_0x2fe02e=(_0xce37fb,_0x5a81e2)=>(_0x15f0c9,_0x59a7a)=>_0x5a81e2(_0x15f0c9,_0x59a7a,_0xce37fb);let _0xde4c18=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0xfdc638,_0x4cb57f,_0x5d3772,_0x3126fe,_0xeeff1b,_0x7fc965,_0x44416a,_0x1a7577){const _0x562504=_0x3f7a85;super(),_0x76a544(this,_0x562504(0x2c5),new _0x2bfd9f[(_0x562504(0x25a))](_0x5cf9d0[_0x562504(0x3d4)][_0x562504(0x30f)])),(this[_0x562504(0x2e8)]=_0xfdc638,this[_0x562504(0x24a)]=_0x4cb57f,this['_docTransformIMECacheService']=_0x5d3772,this[_0x562504(0x1c0)]=_0x3126fe,this['_docTransformSelectionsService']=_0xeeff1b,this['_docSyncEditingCollabCursorService']=_0x7fc965,this[_0x562504(0x263)]=_0x44416a,this[_0x562504(0x23b)]=_0x1a7577,this['_initEntityListener']());}[_0x3f7a85(0x30d)](){const _0xb0761f=_0x3f7a85;this[_0xb0761f(0x23e)](this[_0xb0761f(0x24a)][_0xb0761f(0x24c)][_0xb0761f(0x1ed)](_0x459b62=>{const _0x588541=_0xb0761f,_0xfd9f9b=this[_0x588541(0x2e8)][_0x588541(0x353)][_0x588541(0x1ed)](_0x559033=>{const _0x14d39e=_0x588541;if(_0x559033==null)return;const {unitId:_0x26b247,redoState:_0x2777e8,commandId:_0x5058b6}=_0x559033;if(_0x26b247!==_0x459b62[_0x14d39e(0x262)])return;const _0x528276={'id':_0x5058b6,'type':_0x1db576['CommandType'][_0x14d39e(0x307)],'params':{'unitId':_0x26b247,'actions':_0x2777e8['actions'],'textRanges':null}};_0x459b62[_0x14d39e(0x3eb)](_0x528276);});if(_0x459b62[_0x588541(0x23e)](_0xfd9f9b),_0x459b62 instanceof _0x5cf9d0[_0x588541(0x1b2)]){const _0x3622ac={'onTransformIME':_0x19c64d=>this[_0x588541(0x314)][_0x588541(0x27c)](_0x19c64d),'onTransformState':_0x385634=>this['_docTransformStateCacheService']['transformStateCache'](_0x385634),'onTransformSelections':_0x2f0c76=>this[_0x588541(0x384)][_0x588541(0x345)](_0x2f0c76),'onSyncEditingCollabCursor':_0x52860e=>this[_0x588541(0x380)][_0x588541(0x2b3)](_0x52860e),'onTransformRemoteChangesetByIMECache':_0x47a5b4=>this[_0x588541(0x314)][_0x588541(0x37f)](_0x47a5b4),'onTransformRemoteChangesetByStateCache':_0x395930=>this['_docTransformStateCacheService'][_0x588541(0x37f)](_0x395930)};_0x459b62[_0x588541(0x2bb)](_0x3622ac);}}));}};_0xde4c18=_0x3173f6([_0x2fe02e(0x0,_0x1db576['Inject'](_0x56cec3['DocStateChangeManagerService'])),_0x2fe02e(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x2c7)])),_0x2fe02e(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x48aec7)),_0x2fe02e(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0xc6e562)),_0x2fe02e(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x41c0e2)),_0x2fe02e(0x5,_0x1db576['Inject'](_0x158c10)),_0x2fe02e(0x6,_0x104d19[_0x3f7a85(0x1bd)]),_0x2fe02e(0x7,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['LocaleService']))],_0xde4c18);var _0x16f2e0=Object['getOwnPropertyDescriptor'],_0x5e25f1=(_0x37addb,_0x2f976f,_0x36bb3a,_0xe5be44)=>{const _0x3aa8bc=_0x3f7a85;for(var _0x811f06=_0xe5be44>0x1?void 0x0:_0xe5be44?_0x16f2e0(_0x2f976f,_0x36bb3a):_0x2f976f,_0x42f080=_0x37addb[_0x3aa8bc(0x1b9)]-0x1,_0x3b2971;_0x42f080>=0x0;_0x42f080--)(_0x3b2971=_0x37addb[_0x42f080])&&(_0x811f06=_0x3b2971(_0x811f06)||_0x811f06);return _0x811f06;},_0x41debd=(_0x5151d0,_0x468a2b)=>(_0x2d748e,_0x1ed45e)=>_0x468a2b(_0x2d748e,_0x1ed45e,_0x5151d0);let _0x184655=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x598ea9,_0x133941,_0x4cc8c9){const _0x523fd8=_0x3f7a85;super(),_0x76a544(this,_0x523fd8(0x40a),new Map()),_0x76a544(this,_0x523fd8(0x3b5),new Map()),_0x76a544(this,_0x523fd8(0x291),!0x1),(this[_0x523fd8(0x258)]=_0x598ea9,this['_localStorageService']=_0x133941,this[_0x523fd8(0x1cd)]=_0x4cc8c9);}[_0x3f7a85(0x381)](){this['_disabled']=!0x0;}[_0x3f7a85(0x42c)](){const _0x5ae81d=_0x3f7a85;this[_0x5ae81d(0x291)]=!0x1;}get['saveTaskMap'](){const _0x8aab67=_0x3f7a85;return this[_0x8aab67(0x3b5)];}[_0x3f7a85(0x405)](){const _0x4d7327=_0x3f7a85;this['exhaustSavingTask']()[_0x4d7327(0x33b)](()=>super[_0x4d7327(0x405)]());}async[_0x3f7a85(0x297)](_0x2aa326){const _0xe4cb08=_0x3f7a85;return this[_0xe4cb08(0x291)]?null:this[_0xe4cb08(0x260)][_0xe4cb08(0x2f2)](_0x5cf9d0['getLocalCacheKey'](_0x2aa326));}async[_0x3f7a85(0x2a7)](_0x4fb368,_0x24d3eb){const _0x49f314=_0x3f7a85;return!!this[_0x49f314(0x260)][_0x49f314(0x299)](_0x4fb368,_0x24d3eb);}[_0x3f7a85(0x395)](_0x124bf9,_0x5c17b5,_0x3dd527,_0x30b2ed){const _0x1526b2=_0x3f7a85,_0x14b0bd=this['_revisionService']['getCurrentRevOfUnit'](_0x124bf9);this[_0x1526b2(0x40a)][_0x1526b2(0x3d2)](_0x124bf9,{'unitID':_0x124bf9,'type':_0x5c17b5,'awaitingChangeset':_0x3dd527,'mutations':_0x30b2ed,'rev':_0x14b0bd}),this['_saveTaskMap'][_0x1526b2(0x338)](_0x124bf9)||this[_0x1526b2(0x29e)](_0x124bf9);}[_0x3f7a85(0x29e)](_0x219310){const _0x204fb2=_0x3f7a85,_0x4113e6=this[_0x204fb2(0x22e)]();_0x4113e6===0x0?this[_0x204fb2(0x1fa)](_0x219310):this[_0x204fb2(0x3b5)]['set'](_0x219310,setTimeout(()=>this['_saveCache'](_0x219310),_0x4113e6));}[_0x3f7a85(0x22e)](){const _0x596b5f=_0x3f7a85;var _0x58e51b;return(_0x58e51b=this[_0x596b5f(0x258)][_0x596b5f(0x2f7)](_0x5cf9d0[_0x596b5f(0x320)]))!=null?_0x58e51b:_0x5cf9d0[_0x596b5f(0x3f7)];}[_0x3f7a85(0x1fa)](_0x360b26){const _0x1c8237=_0x3f7a85,_0x5872b8=this[_0x1c8237(0x3b5)]['get'](_0x360b26);return _0x5872b8!==void 0x0&&window[_0x1c8237(0x36b)](_0x5872b8),this[_0x1c8237(0x260)][_0x1c8237(0x299)](_0x5cf9d0[_0x1c8237(0x21e)](_0x360b26),this[_0x1c8237(0x40a)]['get'](_0x360b26))[_0x1c8237(0x33b)](()=>this[_0x1c8237(0x3b5)][_0x1c8237(0x1cb)](_0x360b26));}async[_0x3f7a85(0x2f9)](){const _0x224a99=_0x3f7a85,_0x36e4c8=[];this['_saveTaskMap'][_0x224a99(0x34c)]((_0x45854a,_0x38c09d)=>{const _0x5da59b=_0x224a99;window[_0x5da59b(0x36b)](_0x45854a),_0x36e4c8[_0x5da59b(0x3ca)](this[_0x5da59b(0x1fa)](_0x38c09d)['then'](()=>{const _0x3730df=_0x5da59b;this[_0x3730df(0x3b5)][_0x3730df(0x1cb)](_0x38c09d);}));}),await Promise[_0x224a99(0x42e)](_0x36e4c8);}};_0x184655=_0x5e25f1([_0x41debd(0x0,_0x1db576[_0x3f7a85(0x377)]),_0x41debd(0x1,_0x1db576['ILocalStorageService']),_0x41debd(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5ca6a1[_0x3f7a85(0x287)]))],_0x184655);class _0x5e826c extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(){const _0x46bf12=_0x3f7a85;super(),_0x76a544(this,_0x46bf12(0x422)),this['urlChange$']=_0x2bfd9f[_0x46bf12(0x201)](window,_0x46bf12(0x367))[_0x46bf12(0x2e7)](_0x2bfd9f[_0x46bf12(0x36c)](this[_0x46bf12(0x3f8)]),_0x2bfd9f['shareReplay'](0x1),_0x2bfd9f[_0x46bf12(0x21d)](void 0x0));}[_0x3f7a85(0x3a6)](_0xdf5ee4,_0xfaeb1,_0x31cc71=!0x1){const _0x3b3e3f=_0x3f7a85,_0x2414d5=new URL(window[_0x3b3e3f(0x2be)][_0x3b3e3f(0x1a0)]);_0x2414d5[_0x3b3e3f(0x317)]['set'](_0xdf5ee4,_0xfaeb1),_0x31cc71?window[_0x3b3e3f(0x2b5)][_0x3b3e3f(0x1fe)]('','',_0x2414d5[_0x3b3e3f(0x3fd)]()):window[_0x3b3e3f(0x2b5)]['pushState']('','',_0x2414d5['toString']());}[_0x3f7a85(0x3fc)](_0x10994a,_0x258070=!0x1){const _0x1c9f3a=_0x3f7a85,_0x22faa8=new URL(window[_0x1c9f3a(0x2be)][_0x1c9f3a(0x1a0)]);_0x22faa8[_0x1c9f3a(0x317)][_0x1c9f3a(0x1cb)](_0x10994a),_0x258070?window[_0x1c9f3a(0x2b5)][_0x1c9f3a(0x1fe)]('','',_0x22faa8[_0x1c9f3a(0x3fd)]()):window[_0x1c9f3a(0x2b5)]['pushState']('','',_0x22faa8[_0x1c9f3a(0x3fd)]());}[_0x3f7a85(0x1f6)](_0x3a9f76){const _0x4229f7=_0x3f7a85;var _0x2eab64;return(_0x2eab64=new URL(window[_0x4229f7(0x2be)][_0x4229f7(0x1a0)])[_0x4229f7(0x317)][_0x4229f7(0x3a5)](_0x3a9f76))!=null?_0x2eab64:void 0x0;}}var _0x47bc79=Object['defineProperty'],_0x1c50dd=Object[_0x3f7a85(0x372)],_0x46cede=(_0x1d8330,_0x17e228,_0x4230cc)=>_0x17e228 in _0x1d8330?_0x47bc79(_0x1d8330,_0x17e228,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4230cc}):_0x1d8330[_0x17e228]=_0x4230cc,_0x3d60ec=(_0x58423c,_0xdcf99d,_0x1c2837,_0x21d7d9)=>{const _0x4d88ec=_0x3f7a85;for(var _0x44b7b6=_0x21d7d9>0x1?void 0x0:_0x21d7d9?_0x1c50dd(_0xdcf99d,_0x1c2837):_0xdcf99d,_0x56dad3=_0x58423c[_0x4d88ec(0x1b9)]-0x1,_0x2d1db5;_0x56dad3>=0x0;_0x56dad3--)(_0x2d1db5=_0x58423c[_0x56dad3])&&(_0x44b7b6=_0x2d1db5(_0x44b7b6)||_0x44b7b6);return _0x44b7b6;},_0xf26a69=(_0x10159c,_0x715db2)=>(_0x18ce00,_0x1a0788)=>_0x715db2(_0x18ce00,_0x1a0788,_0x10159c),_0x5e3fa4=(_0x187737,_0x577823,_0x446b66)=>_0x46cede(_0x187737,_0x577823+'',_0x446b66);const _0x23f4be=_0x3f7a85(0x3db);_0x3edcdd[_0x3f7a85(0x2a2)]=class extends _0x1db576[_0x3f7a85(0x41f)]{constructor(_0x3c5e15=_0x177c97,_0x990d79,_0x593612,_0x2dd14d){const _0x500650=_0x3f7a85;super(),this['_config']=_0x3c5e15,this['_renderManagerService']=_0x990d79,this['_injector']=_0x593612,this[_0x500650(0x258)]=_0x2dd14d;const {..._0x2e8b7b}=_0x1db576[_0x500650(0x385)]({},_0x177c97,this[_0x500650(0x3c1)]);this[_0x500650(0x258)][_0x500650(0x30e)](_0x1d60a0,_0x2e8b7b);}[_0x3f7a85(0x2ce)](){const _0xc95e2c=_0x3f7a85;this['_registerDependencies'](),this[_0xc95e2c(0x2dc)]();}[_0x3f7a85(0x40b)](){const _0x321d3e=_0x3f7a85;this[_0x321d3e(0x283)]();}[_0x3f7a85(0x300)](){const _0x233537=_0x3f7a85;var _0x58ad0b;const _0x133d05=[[_0x46c5bf],[_0x41c0e2],[_0x48aec7],[_0xc6e562],[_0x158c10],[_0x5b8d9c,{'useClass':_0x5e826c}],[_0x50d70f[_0x233537(0x313)],{'useClass':_0x50d70f[_0x233537(0x257)]}],[_0x5cf9d0[_0x233537(0x253)],{'useClass':_0x184655}],[_0x3edcdd[_0x233537(0x3b2)]],[_0xde4c18],[_0x21e24e],[_0x3c2926],[_0x42f064],[_0x3edcdd[_0x233537(0x2d3)]]];_0x1db576[_0x233537(0x38a)](this['_injector'],_0x1db576['mergeOverrideWithDependencies'](_0x133d05,(_0x58ad0b=this['_config'])==null?void 0x0:_0x58ad0b[_0x233537(0x298)]));}['_registerRenderDependencies'](){const _0x35d012=_0x3f7a85;this['disposeWithMe'](this[_0x35d012(0x369)][_0x35d012(0x401)](_0x1db576[_0x35d012(0x27e)]['UNIVER_DOC'],[_0x3a4ceb])),this[_0x35d012(0x23e)](this['_renderManagerService'][_0x35d012(0x401)](_0x1db576['UniverInstanceType'][_0x35d012(0x41e)],[_0x3bc1e9]));}[_0x3f7a85(0x2dc)](){const _0x407e59=_0x3f7a85;_0x1db576[_0x407e59(0x393)](this[_0x407e59(0x2fe)],[[_0x3c2926],[_0x3edcdd['DesktopCollaborationStatusDisplayController']],[_0xde4c18],[_0x21e24e],[_0x3edcdd['CollaborationDataLoaderController']]]);}},_0x5e3fa4(_0x3edcdd[_0x3f7a85(0x2a2)],_0x3f7a85(0x206),_0x23f4be),_0x3edcdd[_0x3f7a85(0x2a2)]=_0x3d60ec([_0x1db576[_0x3f7a85(0x29c)](_0x5cf9d0['UniverCollaborationClientPlugin']),_0xf26a69(0x1,_0x9322cd[_0x3f7a85(0x3b0)]),_0xf26a69(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xf26a69(0x3,_0x1db576[_0x3f7a85(0x377)])],_0x3edcdd[_0x3f7a85(0x2a2)]);var _0xe5a143=Object[_0x3f7a85(0x372)],_0xf5a417=(_0x3bda38,_0x3e6ad7,_0x2194dc,_0x1b22a5)=>{const _0x5a2a18=_0x3f7a85;for(var _0x2adb46=_0x1b22a5>0x1?void 0x0:_0x1b22a5?_0xe5a143(_0x3e6ad7,_0x2194dc):_0x3e6ad7,_0x4d0960=_0x3bda38[_0x5a2a18(0x1b9)]-0x1,_0x5872f1;_0x4d0960>=0x0;_0x4d0960--)(_0x5872f1=_0x3bda38[_0x4d0960])&&(_0x2adb46=_0x5872f1(_0x2adb46)||_0x2adb46);return _0x2adb46;},_0x305414=(_0xc6df78,_0x1d2621)=>(_0x5a0755,_0x1cc4d7)=>_0x1d2621(_0x5a0755,_0x1cc4d7,_0xc6df78);_0x3edcdd[_0x3f7a85(0x429)]=class extends _0x5cf9d0[_0x3f7a85(0x264)]{constructor(_0x10e7dd,_0xff59e6,_0x556fbc,_0x5c4c27,_0x2e25d7){super(_0x10e7dd,_0xff59e6,_0x556fbc,_0x5c4c27,_0x2e25d7);}async[_0x3f7a85(0x37b)](_0xbfecb0){const _0x12e05c=_0x3f7a85,_0x3d8501=await this[_0x12e05c(0x404)](),_0x4a296b=this[_0x12e05c(0x219)](_0xbfecb0,_0x3d8501);return this[_0x12e05c(0x3b7)](_0x4a296b);}[_0x3f7a85(0x219)](_0x4c31ae,_0x35fdc8){const _0x75c823=_0x3f7a85,_0x2bc43f=typeof window>'u'?new URL(_0x4c31ae):new URL(_0x4c31ae,window[_0x75c823(0x2be)][_0x75c823(0x19b)]);_0x2bc43f['searchParams'][_0x75c823(0x3d2)](_0x75c823(0x245),_0x35fdc8);const _0x592feb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x75c823(0x2be)][_0x75c823(0x31e)]);return _0x592feb[_0x75c823(0x3a5)](_0x75c823(0x212))&&_0x2bc43f['searchParams']['set'](_0x75c823(0x212),_0x592feb[_0x75c823(0x3a5)]('runId')),_0x2bc43f[_0x75c823(0x3fd)]();}async[_0x3f7a85(0x404)](){const _0x3660f2=_0x3f7a85;var _0x3d7a3e,_0x1c43d7,_0xabe5fa;const _0x5b836d=this['_configService'][_0x3660f2(0x2f7)](_0x5cf9d0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x30bf39=(_0x3d7a3e=_0x5b836d==null?void 0x0:_0x5b836d[_0x3660f2(0x20d)])!=null?_0x3d7a3e:_0x5cf9d0[_0x3660f2(0x2e9)];return(_0xabe5fa=(_0x1c43d7=(await this['_httpService'][_0x3660f2(0x3a5)](_0x30bf39,{'headers':{'Content-Type':_0x3660f2(0x3dc)}}))[_0x3660f2(0x1fc)])==null?void 0x0:_0x1c43d7[_0x3660f2(0x1e1)])!=null?_0xabe5fa:'';}},_0x3edcdd['BrowserCollaborationSocketService']=_0xf5a417([_0x305414(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x305414(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x50d70f[_0x3f7a85(0x26f)])),_0x305414(0x2,_0x1db576[_0x3f7a85(0x377)]),_0x305414(0x3,_0x1db576['ILogService']),_0x305414(0x4,_0x5ca6a1[_0x3f7a85(0x399)])],_0x3edcdd[_0x3f7a85(0x429)]);const _0x209a86=0x7530,_0x882d9e='ACTIVE_UNIT_EVENT_CHANNEL';class _0x498aed extends _0x1db576[_0x3f7a85(0x25c)]{constructor(){const _0x193332=_0x3f7a85;super(),_0x76a544(this,_0x193332(0x1f1),_0x1db576[_0x193332(0x1c7)]()),_0x76a544(this,_0x193332(0x1d8),new Set()),_0x76a544(this,_0x193332(0x1c5),new Map()),_0x76a544(this,_0x193332(0x41b),null),_0x76a544(this,_0x193332(0x292),new Map()),_0x76a544(this,'_unitStatus',new Map()),this[_0x193332(0x290)]();}[_0x3f7a85(0x405)](){const _0x5d62ab=_0x3f7a85;super[_0x5d62ab(0x405)](),this[_0x5d62ab(0x292)][_0x5d62ab(0x34c)]((_0x2c471d,_0x496861)=>this[_0x5d62ab(0x26e)](_0x496861)),this[_0x5d62ab(0x41b)]&&window[_0x5d62ab(0x281)](this['_heartbeatTimer']);}[_0x3f7a85(0x198)](_0x2e556b){const _0x3f052f=_0x3f7a85;return this[_0x3f052f(0x275)](_0x2e556b)['pipe'](_0x2bfd9f[_0x3f052f(0x312)]());}[_0x3f7a85(0x2f8)](_0x500b29){const _0x2a4fc3=_0x3f7a85;this[_0x2a4fc3(0x1d8)][_0x2a4fc3(0x1e3)]===0x0&&this[_0x2a4fc3(0x2ea)](),this['_selfUnitIDs'][_0x2a4fc3(0x359)](_0x500b29),this['_send']({'type':0x0,'memberID':this[_0x2a4fc3(0x1f1)],'unitIDs':[_0x500b29],'isForwarded':!0x1});}[_0x3f7a85(0x2b1)](_0x4bb207){const _0x1e4e2b=_0x3f7a85;this['_selfUnitIDs'][_0x1e4e2b(0x1cb)](_0x4bb207),this[_0x1e4e2b(0x1d8)][_0x1e4e2b(0x1e3)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x1e4e2b(0x41b)]);}[_0x3f7a85(0x290)](){const _0x17f0f6=_0x3f7a85;this[_0x17f0f6(0x23e)](_0x1db576[_0x17f0f6(0x355)](_0x2bfd9f[_0x17f0f6(0x201)](window,_0x17f0f6(0x1c8))[_0x17f0f6(0x1ed)](_0x1c59c4=>{const _0x2ebd06=_0x17f0f6;if(_0x1c59c4[_0x2ebd06(0x3a4)]!==_0x882d9e||!_0x1c59c4[_0x2ebd06(0x3c0)])return;const _0x38eb8b=JSON[_0x2ebd06(0x34e)](_0x1c59c4[_0x2ebd06(0x3c0)]);this['_handleEvent'](_0x38eb8b);}))),window[_0x17f0f6(0x278)](_0x17f0f6(0x209),()=>this[_0x17f0f6(0x2e2)]({'type':0x1,'memberID':this[_0x17f0f6(0x1f1)],'unitIDs':Array[_0x17f0f6(0x31a)](this[_0x17f0f6(0x1d8)])}));}[_0x3f7a85(0x1eb)](_0x257a40){const _0x5818d5=_0x3f7a85;switch(_0x257a40[_0x5818d5(0x215)]){case 0x0:this['_handleJoinEvent'](_0x257a40);break;case 0x1:this[_0x5818d5(0x2af)](_0x257a40);break;case 0x2:this[_0x5818d5(0x417)](_0x257a40);break;}}['_handleJoinEvent'](_0x588890){const _0x46ebcd=_0x3f7a85,{unitIDs:_0x457d90,memberID:_0x46f152,isForwarded:_0x4f9a3d}=_0x588890;_0x457d90[_0x46ebcd(0x34c)](_0x238725=>{const _0x209067=_0x46ebcd;if(!_0x4f9a3d&&this[_0x209067(0x1c5)]['has'](_0x238725)&&this[_0x209067(0x275)](_0x238725)[_0x209067(0x33c)](_0x5cf9d0[_0x209067(0x1dc)][_0x209067(0x39d)]),!this[_0x209067(0x1c5)][_0x209067(0x338)](_0x238725)||!this[_0x209067(0x1c5)]['get'](_0x238725)['has'](_0x46f152)){const _0x41eb0f=this[_0x209067(0x1c5)][_0x209067(0x3a5)](_0x238725)||new Set();_0x41eb0f[_0x209067(0x359)](_0x46f152),this[_0x209067(0x1c5)][_0x209067(0x3d2)](_0x238725,_0x41eb0f),this[_0x209067(0x1ff)](_0x46f152);}}),_0x4f9a3d||this[_0x46ebcd(0x2e2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x46ebcd(0x1d8)]],'isForwarded':!0x0});}[_0x3f7a85(0x1ff)](_0x34ac1f){const _0x3351cb=_0x3f7a85;this[_0x3351cb(0x26e)](_0x34ac1f);const _0x4faedf=window[_0x3351cb(0x3a1)](()=>{const _0x409b5e=_0x3351cb;this[_0x409b5e(0x1c5)][_0x409b5e(0x34c)](_0x3c405d=>{_0x3c405d['delete'](_0x34ac1f);});},_0x209a86*0x2);this[_0x3351cb(0x292)][_0x3351cb(0x3d2)](_0x34ac1f,_0x4faedf);}[_0x3f7a85(0x26e)](_0x321383){const _0x15c86e=_0x3f7a85;if(this['_clearOtherTimers']['has'](_0x321383)){const _0x1da314=this['_clearOtherTimers'][_0x15c86e(0x3a5)](_0x321383);_0x1da314&&window['clearTimeout'](_0x1da314),this['_clearOtherTimers']['set'](_0x321383,null);}}[_0x3f7a85(0x2af)](_0x55fe35){const _0x2f4bd6=_0x3f7a85,{memberID:_0x140bcd,unitIDs:_0xad73f1}=_0x55fe35;_0xad73f1[_0x2f4bd6(0x34c)](_0x4581ad=>{const _0xa221c4=_0x2f4bd6;var _0x234a0d;const _0x30eeb6=this['_unitOnClients'][_0xa221c4(0x3a5)](_0x4581ad);_0x30eeb6&&(_0x30eeb6['delete'](_0x140bcd),(_0x234a0d=this[_0xa221c4(0x275)](_0x4581ad))==null||_0x234a0d[_0xa221c4(0x33c)](_0x30eeb6[_0xa221c4(0x1e3)]===0x0?_0x5cf9d0[_0xa221c4(0x1dc)]['NO_OTHER_CLIENTS_EDITING']:_0x5cf9d0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x2f4bd6(0x26e)](_0x140bcd);}[_0x3f7a85(0x417)](_0x396128){const _0x24768b=_0x3f7a85;this[_0x24768b(0x1ff)](_0x396128[_0x24768b(0x32a)]);}[_0x3f7a85(0x2e2)](_0x556325){const _0x41441a=_0x3f7a85;localStorage[_0x41441a(0x299)](_0x882d9e,JSON[_0x41441a(0x387)](_0x556325));}['_scheduleHeartbeat'](){const _0x58e708=_0x3f7a85;this[_0x58e708(0x41b)]=window['setInterval'](()=>{const _0x3d3d99=_0x58e708;this[_0x3d3d99(0x2e2)]({'type':0x2,'memberID':this[_0x3d3d99(0x1f1)]});},_0x209a86);}['_ensureSubject'](_0x835da3){const _0x808f2c=_0x3f7a85;return this['_unitStatus']['has'](_0x835da3)||this[_0x808f2c(0x1d4)][_0x808f2c(0x3d2)](_0x835da3,new _0x2bfd9f[(_0x808f2c(0x25a))](_0x5cf9d0[_0x808f2c(0x1dc)][_0x808f2c(0x28b)])),this[_0x808f2c(0x1d4)][_0x808f2c(0x3a5)](_0x835da3);}}var _0x45863b=(_0x593ac7=>(_0x593ac7[_0x593ac7[_0x3f7a85(0x38b)]=0x0]=_0x3f7a85(0x38b),_0x593ac7[_0x593ac7['OK']=0x1]='OK',_0x593ac7[_0x593ac7['INTERNAL_ERROR']=0x2]=_0x3f7a85(0x3fe),_0x593ac7[_0x593ac7[_0x3f7a85(0x337)]=0x3]=_0x3f7a85(0x337),_0x593ac7[_0x593ac7['NOT_FOUND']=0x4]=_0x3f7a85(0x3b4),_0x593ac7[_0x593ac7[_0x3f7a85(0x3c8)]=0x5]='UNAUTHENTICATED',_0x593ac7[_0x593ac7[_0x3f7a85(0x3ad)]=0x6]=_0x3f7a85(0x3ad),_0x593ac7[_0x593ac7[_0x3f7a85(0x34f)]=0x7]=_0x3f7a85(0x34f),_0x593ac7[_0x593ac7[_0x3f7a85(0x1f7)]=0x8]='TOO_MANY_REQUESTS',_0x593ac7[_0x593ac7['COMPLETION_FINISHED']=0x9]=_0x3f7a85(0x415),_0x593ac7[_0x593ac7['LOGIN_FAILED']=0xa]=_0x3f7a85(0x252),_0x593ac7[_0x593ac7[_0x3f7a85(0x2ab)]=0x1389]=_0x3f7a85(0x2ab),_0x593ac7[_0x593ac7[_0x3f7a85(0x270)]=0x1771]=_0x3f7a85(0x270),_0x593ac7[_0x593ac7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3f7a85(0x2c9),_0x593ac7[_0x593ac7[_0x3f7a85(0x20c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x593ac7[_0x593ac7['APPLY_REJECT']=0x1b59]=_0x3f7a85(0x391),_0x593ac7[_0x593ac7[_0x3f7a85(0x35d)]=0x1b5a]=_0x3f7a85(0x35d),_0x593ac7[_0x593ac7['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3f7a85(0x2b0),_0x593ac7[_0x593ac7[_0x3f7a85(0x1ce)]=0x1b5c]=_0x3f7a85(0x1ce),_0x593ac7[_0x593ac7[_0x3f7a85(0x26d)]=0x1b5d]=_0x3f7a85(0x26d),_0x593ac7[_0x593ac7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3f7a85(0x23a),_0x593ac7[_0x593ac7[_0x3f7a85(0x319)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x593ac7[_0x593ac7[_0x3f7a85(0x2cc)]=0x232a]=_0x3f7a85(0x2cc),_0x593ac7[_0x593ac7[_0x3f7a85(0x40c)]=0x232b]=_0x3f7a85(0x40c),_0x593ac7[_0x593ac7[_0x3f7a85(0x232)]=0x232c]=_0x3f7a85(0x232),_0x593ac7[_0x593ac7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3f7a85(0x2ed),_0x593ac7[_0x593ac7[_0x3f7a85(0x1ac)]=0x2711]=_0x3f7a85(0x1ac),_0x593ac7[_0x593ac7[_0x3f7a85(0x31f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x593ac7[_0x593ac7[_0x3f7a85(0x2d2)]=0x2713]=_0x3f7a85(0x2d2),_0x593ac7[_0x593ac7[_0x3f7a85(0x2fd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x593ac7[_0x593ac7[_0x3f7a85(0x324)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x593ac7[_0x593ac7[_0x3f7a85(0x28f)]=0x271b]=_0x3f7a85(0x28f),_0x593ac7[_0x593ac7[_0x3f7a85(0x3d6)]=0x2af9]=_0x3f7a85(0x3d6),_0x593ac7[_0x593ac7[_0x3f7a85(0x305)]=0x2ee1]=_0x3f7a85(0x305),_0x593ac7[_0x593ac7[_0x3f7a85(0x213)]=0x2ee2]=_0x3f7a85(0x213),_0x593ac7[_0x593ac7[_0x3f7a85(0x294)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x593ac7[_0x593ac7[_0x3f7a85(0x225)]=0x2ee4]=_0x3f7a85(0x225),_0x593ac7[_0x593ac7[_0x3f7a85(0x239)]=0x2ee5]=_0x3f7a85(0x239),_0x593ac7[_0x593ac7[_0x3f7a85(0x3ec)]=0x32c9]=_0x3f7a85(0x3ec),_0x593ac7[_0x593ac7[_0x3f7a85(0x240)]=0x32ca]=_0x3f7a85(0x240),_0x593ac7[_0x593ac7[_0x3f7a85(0x397)]=0x32cb]=_0x3f7a85(0x397),_0x593ac7[_0x593ac7[_0x3f7a85(0x400)]=-0x1]=_0x3f7a85(0x400),_0x593ac7))(_0x45863b||{}),_0x2078ba=Object[_0x3f7a85(0x372)],_0x302579=(_0x24fb94,_0x3fc8ca,_0x1cc21d,_0x1ef75a)=>{const _0x1b1b9b=_0x3f7a85;for(var _0x21aa07=_0x1ef75a>0x1?void 0x0:_0x1ef75a?_0x2078ba(_0x3fc8ca,_0x1cc21d):_0x3fc8ca,_0x50e184=_0x24fb94[_0x1b1b9b(0x1b9)]-0x1,_0x1a38e6;_0x50e184>=0x0;_0x50e184--)(_0x1a38e6=_0x24fb94[_0x50e184])&&(_0x21aa07=_0x1a38e6(_0x21aa07)||_0x21aa07);return _0x21aa07;},_0x11a3a3=(_0x4d7abf,_0x3d6656)=>(_0x1cfd7c,_0x477398)=>_0x3d6656(_0x1cfd7c,_0x477398,_0x4d7abf);_0x3edcdd[_0x3f7a85(0x222)]=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x77a81b,_0x484b3a,_0x5c6d7f){const _0x6da03b=_0x3f7a85;super(),this[_0x6da03b(0x244)]=_0x77a81b,this[_0x6da03b(0x33d)]=_0x484b3a,this[_0x6da03b(0x258)]=_0x5c6d7f;}async[_0x3f7a85(0x1b7)](_0x4661ce,_0x4b020b,_0x6ef558,..._0x50315b){const _0x1d3581=_0x3f7a85;var _0x60f682,_0x3b3820,_0x496898,_0x20f415;const _0x50c69c=this['_instanceService'][_0x1d3581(0x234)]();if(!_0x50c69c)throw new Error(_0x1d3581(0x41a));const _0x454944=((_0x60f682=this['_configService'][_0x1d3581(0x2f7)](_0x5cf9d0[_0x1d3581(0x1a6)]))!=null?_0x60f682:_0x5cf9d0[_0x1d3581(0x202)])+'/'+_0x4661ce+_0x1d3581(0x3a9)+_0x4b020b,_0x1f8a06=new URL(window[_0x1d3581(0x2be)][_0x1d3581(0x1a0)]),_0x6572ad={'scriptId':_0x4661ce,'runId':(_0x3b3820=_0x1f8a06[_0x1d3581(0x317)][_0x1d3581(0x3a5)](_0x1d3581(0x212)))!=null?_0x3b3820:'','function':_0x4b020b,'unitId':_0x50c69c[_0x1d3581(0x38e)](),'argsOfFunction':JSON[_0x1d3581(0x387)](_0x50315b),'invokeId':(_0x496898=_0x6ef558['invokeId'])!=null?_0x496898:'','executionId':(_0x20f415=_0x6ef558[_0x1d3581(0x37e)])!=null?_0x20f415:''};try{const _0x2cc5c8=await this[_0x1d3581(0x33d)][_0x1d3581(0x3af)](_0x454944,{'body':_0x6572ad});return _0x2cc5c8['body'][_0x1d3581(0x1a2)]&&_0x2cc5c8[_0x1d3581(0x1fc)]['error'][_0x1d3581(0x19f)]!==_0x45863b['OK']?_0x1d3581(0x29f):_0x2cc5c8[_0x1d3581(0x1fc)][_0x1d3581(0x327)];}catch{return _0x1d3581(0x29f);}}},_0x3edcdd[_0x3f7a85(0x222)]=_0x302579([_0x11a3a3(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x11a3a3(0x1,_0x1db576['Inject'](_0x50d70f[_0x3f7a85(0x26f)])),_0x11a3a3(0x2,_0x1db576[_0x3f7a85(0x377)])],_0x3edcdd[_0x3f7a85(0x222)]),_0x3edcdd['CollaborationStatusDisplay']=_0x38f2f8,_0x3edcdd[_0x3f7a85(0x36a)]=_0x5b8d9c,_0x3edcdd[_0x3f7a85(0x33e)]=_0x3f7254,_0x3edcdd[_0x3f7a85(0x351)]=_0x498aed,_0x3edcdd[_0x3f7a85(0x36e)]=_0x5e826c,Object['defineProperty'](_0x3edcdd,Symbol[_0x3f7a85(0x235)],{'value':_0x3f7a85(0x29d)});}));
|
|
1
|
+
function _0x5876(){const _0x24d471=['key','@univerjs/sheets-ui','string','CollaborationSocketService','then','#fff','tag','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','storage','1435332dHFWkP','transformIMECache','href','Shape','getItem','_handleLeaveEvent','requireSession','xlink:href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_drawRectRange','ticket','_onCursorUpdate','transformMutation','_eventUnsubscribe','InsertColCommandId','CollaborationUIEventId','_renderManagerService','current','propertyIsEnumerable','CollaborationDataLoaderController','SetDocZoomRatioOperation','WECHAT_HAS_BEEN_BOUND','assign','IRemoteInstanceService','Unknown\x20user','_transformUndoRedoStack','collab-client.tooltip.reconnect','unitID','DocCollaborationEntity','getRenderById','getVpScrollXYInfoByPosToVp','UniverProCollaborationClientUi','map','SHEET_VIEWPORT_KEY','event$','cursorInfo','transformRemoteChangeset','_themeService','1798188RknfuA','_docSkeletonManagerService','send','195251wIsyIV','_getSessionTicket','_collabCursorState$','collab-text-range-','OnLineSingle','dispose$','getOwnPropertyDescriptor','ILocalStorageService','InsertRowCommandId','dispose','resize','@univerjs/core','Tools','toRgbString','_injector','max','params','black','_startSheetCollabCursor','1278489bbBdYZ','LocaleService','CollaborationEvent','CONFLICT','collabStatus.offline','off-line-single','_uiPartsService','_handleHover','_drawAnchor','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','ENSURE_SNAPSHOT_EXECUTION','SessionStatus','UPDATE_CURSOR','_name','getMember','_commandService','_onCursorDelete','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','react','5HMOQaK','DocStateChangeManagerService','univer-flex\x20univer-items-center','handleDeleteRangeMoveUp','_transformHistoryAndStateStack','fillRule','getStateCache','ranges','createIdentifier','FromArray','m2Prime','DEFAULT_WS_SESSION_TICKET_URL','#FFF','m1Prime','WebSocketService','_initDependencies','serializeRangeWithSheet','currentSkeleton$','saveOfflineData','getDocRanges','UniverSheetsUi','type','next','cursorInfo$','setConfig','DocIMEInputManagerService','_collaborationController','className','trim','unload','clearInterval','_config','LOCAL_CACHE_INTERVAL','_onRefRangeChange','RemoteUniscriptService','LICENSE_DISTRO_REJECTED','_labelPosition','0\x200\x2017\x2016','on-line-single_clip0_910_349','forEach','setActiveRange','none','_entities','COLORS','imageSourceType','56nYhxBY','_entityInit$','onStarting','_selfUnitIDs','toString','getUniverSheetInstance','UniverEngineRender','font','isEditing','NOT_FOUND','_saveCache','focused$','unshift','_roomMembers$','_registerDependencies','@univerjs/docs','_initStatusListener','collabCursorState$','merge','YUUMI_RATE_OVER_LIMIT','_collabCursorController','_sheetSkeletonManagerService','endRow','getTypeOfUnitDisposed$','complete','USER_NOT_INVITED_CODE','_send','unit','isTransformMutationFailure','SOCKET_FAILED_RETRY','mask','operators','YUUMI_UNABLE_LOAD_URL','location','transformStateCache','YUUMI_ASYNCIO_CANCELLED','getParam','connectInjector','purple300','getSkeleton','UniverProCollaborationClient','reconnect','_initStatusComponent','useRef','onLocalMutation','pushState','defs','MOBILE_HAS_BEEN_BOUND','USERS_LEAVE','6982053QfFSWj','CollaborationStatus','_syncEditingCollabCursorService','startRow','getValue','DesktopCollaborationStatusDisplayController','PY_RUNTIME_SCRIPT_ERROR','removeParam','subUnitId','body','startsWith','_configService','UniverInstanceType','ITransformService','path','permission.content','distinctUntilChanged','_ensureSubject','delete','UnitStatus','getSheetId','InsertRangeMoveRightCommandId','disposeWithMe','INVALID_ARGUMENT','url(#on-line-single_clip0_910_349)','TEXT','univer-online-status-title','from','call','values','startColumn','engine','LOGIN_FAILED','_hover','_scene','Subject','onPointerMove$','attrs','init','top','defineProperty','RECT','ALREADY_EXISTS','VIEW_MAIN','getActiveRange','_startDocCollabCursor','replaceDocRanges','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getAnchorBounding','Inject','@univerjs-pro/collaboration-client','runOnServer','getAncestorScale','addClipboardHook','_disabled','_docClipboardService','@univerjs/drawing','@univerjs/docs-ui','NOT_COLLAB','registerRenderModule','CommandType','beginPath','_cursors','UniverRpc','HTTPService','IUniverInstanceService','RefRangeService','exhaustSavingTask','Vector2','_assignedColors','runRefRangeMutations','stringify','PENDING','ONLINE','mutations','transformSelections','override','UniverUi','TOO_MANY_REQUESTS','_updateCollabCursors','/run/','_imageIoService','textRanges','INVITE_CODE_REQUIRED','@univerjs/ui','session.collaboration-timeout','getFocusedUnit','forwardRef','ThemeService','lineTo','SNAPSHOT_HAS_BEEN_REMOVED','split','MUTATION','toStringTag','_heartbeatTimer','SetSelectionsOperation','SheetSkeletonManagerService','debounce','4TSoHfc','_initCommandExecutedListener','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','_toggleOnline','SheetCollabCursorShape','_anchor','createElement','_lastPointer','RemoveRowCommandId','rxjs','filter','redoState','fromEventSubject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','data','RxDisposable','_getScale','UNRECOGNIZED','ISocketService','_handleJoinEvent','_removeClearOtherTimer','UniverIcon','_status$','gold400','touchDependencies','UNIVER_SHEET','onCommandExecuted','_docStateChangeManagerService','_draw','flatMap','show','INVALID_INVITE_CODE','executeCommand','IConfigService','...','saveTaskMap','@univerjs-pro/collaboration','SheetsSelectionsService','eventID','addObject','deepClone','_range','getCoordByCell','length','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','triggerDblclick','DOC_RANGE_TYPE','onlineStatusTitle','urlChange$','_cursor','getCurrent','_collabSessionService','extend','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_init','onRendered','round','CollaborationStatusDisplay','_localeService','set','registerRefRange','CollaborationUIEventService','_render','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','univer-offline','collab-rect-range-','onPointerEnter$','_colorAssignService','evenodd','_document','_urlService','Injector','colorChannel1','includes','UniverNetwork','getCurrentUnitForType','url(#off-line-single_clip0_910_343)','IRenderManagerService','_id','color','executionId','getMemberID','BrowserCollaborationSocketService','Disposable','collabStatus.notCollab','roomMembers','ICommandService','CONNECTOR_DATA_TOO_LARGE','UniverSheets','11Pozdwg','_localCacheService','@univerjs/engine-render','100822bbOVKE','all','restore','fromEvent','APPLY_REJECT','UniverDocs','_getSaveTimeout','[RemoteUniscriptService]:\x20no\x20focused\x20unit','drawWith','IBeforeCloseService','univerjs-icon\x20univerjs-icon-','DisposableCollection','_clearOtherTimers','_updateLocalCursor','doc.mutation.rich-text-editing','online','takeUntil','_initEvent','idSuffix','result','getOwnPropertySymbols','BehaviorSubject','_scheduleClearOtherTimer','isTransformMutationsWithChangesetSuccess','BuiltInUIPart','DocSkeletonManagerService','rxjs/operators','OFFLINE','sessionTicket','generateRandomId','CollaborationController','ILocalCacheService','toDisposable','name','setItem','_logService','PERMISSION_DENIED','loadUnit','handleInsertRangeMoveRight','_refreshCollabCursors','text','UniverProCollaboration','setStateCache','IURLService','0\x200\x2016\x2016','setTimeout','@univerjs/design','arc','addEventListener','_color','_cursorShapes','hasOwnProperty','selection','searchParams','random','collabStatus.synced','_refRangeService','setParam','icon','OTHER_CLIENTS_EDITING','univer-online-status-icon','APPLY_REVISION_CONFILICT','skeleton','div','UniverDrawing','1449MXQSJj','_cachedData','wsSessionTicketUrl','handleDeleteRangeMoveLeft','width','getUnitId','getViewport','_setupSubUnitSync','moveTo','history','_dataLoaderService','_colorIndex','collabStatus.conflict','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','getUndoRedoMutationParamsCache','_transformService','getSheetObject','CHANGESET_REVISION_CONFILICT','CollaborationSessionService','InsertRangeMoveDownCommandId','setShapeProps','exports','CLOSE_ROOM','_toggleOffline','prototype','_createSocketURL','getColor','currentTheme$','pluginName','OffLineSingle','getCurrentRevOfUnit','getLocalCacheKey','NodePositionConvertToCursor','handleInsertRangeMoveDown','DataLoaderService','UniverDesign','clearTimeout','WebBrowserSingleActiveUnitService','collabStatus.syncing','_textBubble','_anchorDot','DependentOn','unitId','push','debounceTime','TEXT_RANGE_LAYER_INDEX','get','subscribe','_collaborationUIEventService','off-line-single_clip0_910_343','jsx','EMAIL_HAS_BEEN_BOUND','disposeUnit','collaboration.closeRoom','getMergeData','isArray','indexOf','collab-text-anchor-','defIds','sessionStatus$','_hideTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabCursors$','post','react/jsx-runtime','Workbook','svg','editingUnit','getRelativeToViewportCoord','handleMoveRange','syncEditingCollabCursor','setUndoRedoMutationParamsCache','1beTbLz','displayName','roomMembers$','UNAUTHENTICATED','debug','collaboration-client.offline-data-not-saved','_shapes','useDependency','measureText','MemberService','actions','INVITE_CODE_ALREADY_BOUND','range','registerBeforeClose','concat','_messageService','add','EffectRefRangId','asObservable','_unitOnClients','UniverCollaborationClientUIPlugin','unsubscribe','pipe','min','_docTransformSelectionsService','_initEntityListener','symbol','RegularPolygon','error','_docTransformIMECacheService','MessageType','OTHER_CLIENT_EDITING','Error','Warning','createInstance','_online','_handleEvent','_scheduleHeartbeat','HEADER_MENU','updateOfflineData','_doCreateSocket','amd','with','hide','SetTextSelectionsOperation','status$','has','getRangePointData','url(#$1','_localStorageService','backgroundColor','_docTransformStateCacheService','runId','_hovered','@univerjs/sheets','findNodePositionByCharIndex','UniverDocsUi','getConfig','_handleHeartbeatEvent','children','_notificationService','undoState','_updateURLWithCurrentState','getCollabEntity$','fill','deserializeRangeWithSheet','14180PnxDUb','INVITE_CODE_HAS_BEEN_UES','COMPLETION_FINISHED','Plugin','_backgroundColor','permission.title','height','APPLY_PERMISSION_DENIED','onPointerLeave$','DocSelectionManagerService','JOIN_ROOM_FAILED','[CollaborationDataLoaderController]','_getMergeRange','1em','replaceState','column','UniverCore','_updateSubUnitFromURLParams','contains','fillText','NO_OTHER_CLIENTS_EDITING','_revisionService','_session','clsx','row','INTERNAL_ERROR','onMouseMove','switchMap','use','getCellPositionByOffset','_initResize','subscribeEvent','assignAColorForMemberID','subunit','_saveTaskMap','collaboration-client-ui.config','_transformPreviousActiveRange','Rectangle','_beforeCloseService','_docSyncEditingCollabCursorService','loadOfflineData','replace','M0\x200H16V16H0z','ColorKit','_registerRenderDependencies','_httpService','_drawTextRange','_scheduleSaving','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_IMPORT_SIZE_EXCEEDED','onlineStatusIcon','APPLY_DUPLICATED','getTypeOfUnitAdded$','_removeCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','newValue','sheetID','getActiveSheet','_unitStatus','_setupBeforeClosingHandler','setAlpha','_context','ACTIVE_UNIT_EVENT_CHANNEL','save','ILogService','SetWorksheetActivateCommand','@univerjs/engine-formula','mergeOverrideWithDependencies','function','getSheetBySheetId','popstate','jsxs','UNIVER_DOC','fillStyle','size','saveImage','UniverEngineFormula','SOCKET_FAILED','onlineStatus'];_0x5876=function(){return _0x24d471;};return _0x5876();}function _0x5997(_0x5a6515,_0x2dfe97){const _0x587603=_0x5876();return _0x5997=function(_0x599793,_0x50ef26){_0x599793=_0x599793-0xcd;let _0x443645=_0x587603[_0x599793];return _0x443645;},_0x5997(_0x5a6515,_0x2dfe97);}(function(_0x5be4e5,_0x282309){const _0x24a837=_0x5997,_0xc0151=_0x5be4e5();while(!![]){try{const _0x529c1e=-parseInt(_0x24a837(0x269))/0x1*(parseInt(_0x24a837(0x1df))/0x2)+parseInt(_0x24a837(0x340))/0x3*(-parseInt(_0x24a837(0x17f))/0x4)+-parseInt(_0x24a837(0x354))/0x5*(parseInt(_0x24a837(0x304))/0x6)+-parseInt(_0x24a837(0x32d))/0x7*(-parseInt(_0x24a837(0xec))/0x8)+parseInt(_0x24a837(0x220))/0x9*(parseInt(_0x24a837(0x2ab))/0xa)+-parseInt(_0x24a837(0x1dc))/0xb*(-parseInt(_0x24a837(0x32a))/0xc)+parseInt(_0x24a837(0x11d))/0xd;if(_0x529c1e===_0x282309)break;else _0xc0151['push'](_0xc0151['shift']());}catch(_0x3d295a){_0xc0151['push'](_0xc0151['shift']());}}}(_0x5876,0x605bb),function(_0xef4856,_0x19705d){const _0x2e583d=_0x5997;typeof exports=='object'&&typeof module<'u'?_0x19705d(exports,require(_0x2e583d(0x14f)),require(_0x2e583d(0x338)),require(_0x2e583d(0x1de)),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x2e583d(0x155)),require(_0x2e583d(0x189)),require(_0x2e583d(0xfb)),require(_0x2e583d(0x1a6)),require('@univerjs/engine-formula'),require(_0x2e583d(0x29f)),require(_0x2e583d(0x1f9)),require('@univerjs/sheets-ui'),require(_0x2e583d(0x261)),require(_0x2e583d(0x171)),require(_0x2e583d(0x20d)),require(_0x2e583d(0x353)),require('@univerjs/rpc')):typeof define==_0x2e583d(0x2ef)&&define[_0x2e583d(0x292)]?define([_0x2e583d(0x236),_0x2e583d(0x14f),_0x2e583d(0x338),'@univerjs/engine-render','@univerjs/network',_0x2e583d(0x156),'@univerjs/drawing','rxjs',_0x2e583d(0xfb),_0x2e583d(0x1a6),_0x2e583d(0x2ed),_0x2e583d(0x29f),_0x2e583d(0x1f9),_0x2e583d(0x2fb),_0x2e583d(0x261),_0x2e583d(0x171),_0x2e583d(0x20d),'react','@univerjs/rpc'],_0x19705d):(_0xef4856=typeof globalThis<'u'?globalThis:_0xef4856||self,_0x19705d(_0xef4856[_0x2e583d(0x323)]={},_0xef4856[_0x2e583d(0x114)],_0xef4856[_0x2e583d(0x2bb)],_0xef4856[_0x2e583d(0xf2)],_0xef4856[_0x2e583d(0x1cd)],_0xef4856[_0x2e583d(0x2a1)],_0xef4856[_0x2e583d(0x21f)],_0xef4856['rxjs'],_0xef4856[_0x2e583d(0x1e4)],_0xef4856[_0x2e583d(0x208)],_0xef4856[_0x2e583d(0x2f7)],_0xef4856[_0x2e583d(0x1db)],_0xef4856[_0x2e583d(0x189)][_0x2e583d(0x10b)],_0xef4856[_0x2e583d(0xd3)],_0xef4856['React'],_0xef4856[_0x2e583d(0x16a)],_0xef4856[_0x2e583d(0x244)],_0xef4856['React'],_0xef4856[_0x2e583d(0x15c)]));}(this,function(_0x57b4ed,_0x3a040d,_0x42e0e7,_0x5af10f,_0x3ba47d,_0x116ef8,_0x13d693,_0x599c52,_0x5c07ea,_0x12caed,_0x2ce579,_0x51eb6e,_0xaa0c1c,_0x572da5,_0x5098f5,_0x5549db,_0x59cf3e,_0x45b8be,_0x85bd9c){'use strict';const _0x2a6bec=_0x5997;var _0x2517a3=Object['defineProperty'],_0x4a84d4=(_0xfde701,_0x819d0a,_0x3faccd)=>_0x819d0a in _0xfde701?_0x2517a3(_0xfde701,_0x819d0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3faccd}):_0xfde701[_0x819d0a]=_0x3faccd,_0x7f0de7=(_0x297523,_0x4d6807,_0x2b0d8f)=>_0x4a84d4(_0x297523,typeof _0x4d6807!=_0x2a6bec(0x283)?_0x4d6807+'':_0x4d6807,_0x2b0d8f),_0xc6f44c=Object['getOwnPropertyDescriptor'],_0x348a4a=(_0xceb8a6,_0x2335c6,_0x49779d,_0x4de6b9)=>{const _0x21cea7=_0x2a6bec;for(var _0x5bd3d4=_0x4de6b9>0x1?void 0x0:_0x4de6b9?_0xc6f44c(_0x2335c6,_0x49779d):_0x2335c6,_0x33cc92=_0xceb8a6[_0x21cea7(0x1ad)]-0x1,_0x5b8625;_0x33cc92>=0x0;_0x33cc92--)(_0x5b8625=_0xceb8a6[_0x33cc92])&&(_0x5bd3d4=_0x5b8625(_0x5bd3d4)||_0x5bd3d4);return _0x5bd3d4;},_0x25521f=(_0x4318a1,_0x5a3ce6)=>(_0x4fde0f,_0x561b1f)=>_0x5a3ce6(_0x4fde0f,_0x561b1f,_0x4318a1);let _0x2da604=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0xa09b33,_0x2ff171){const _0x34e898=_0x2a6bec;super(),this[_0x34e898(0x154)]=_0xa09b33,this[_0x34e898(0x16e)]=_0x2ff171,this[_0x34e898(0x1b8)]();}['_init'](){const _0x3e4974=_0x2a6bec,_0x41636e=this;this[_0x3e4974(0x133)](this[_0x3e4974(0x154)][_0x3e4974(0x152)]({'onBeforePasteImage':async _0x447c1a=>{const _0x4b085b=_0x3e4974,_0x250513=await _0x41636e[_0x4b085b(0x16e)][_0x4b085b(0x2f6)](_0x447c1a);return _0x250513?{'source':_0x250513['source'],'imageSourceType':_0x250513[_0x4b085b(0xeb)]}:null;}}));}};_0x2da604=_0x348a4a([_0x25521f(0x0,_0x116ef8['IDocClipboardService']),_0x25521f(0x1,_0x13d693['IImageIoService'])],_0x2da604);const _0x5cf470=[_0x2a6bec(0x112),'jiqing500','verdancy600','red300','blue400',_0x2a6bec(0x199)];class _0x1ee3e1 extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(){const _0x363e39=_0x2a6bec;super(...arguments),_0x7f0de7(this,_0x363e39(0x162),new Map()),_0x7f0de7(this,_0x363e39(0x22b),0x0);}['assignAColorForMemberID'](_0x1b0fbe){const _0x5a75e3=_0x2a6bec;if(this[_0x5a75e3(0x162)][_0x5a75e3(0x297)](_0x1b0fbe))return this[_0x5a75e3(0x162)][_0x5a75e3(0x24f)](_0x1b0fbe);const _0x2f84d7=_0x5cf470[this[_0x5a75e3(0x22b)]];return this['_colorIndex']=(this[_0x5a75e3(0x22b)]+0x1)%_0x5cf470[_0x5a75e3(0x1ad)],this['_assignedColors']['set'](_0x1b0fbe,_0x2f84d7),_0x2f84d7;}}function _0x101c21(_0x59cfe5){const _0x39146d=_0x2a6bec;let _0x13b4c2='';for(const _0x234608 of _0x59cfe5){const {startOffset:_0xf3b9c5,endOffset:_0x33b8c1,isActive:_0x4bac4b,rangeType:_0x6e1168,segmentId:_0x45b693,segmentPage:_0x29e547}=_0x234608;_0x13b4c2[_0x39146d(0x1ad)]&&(_0x13b4c2+=','),_0x13b4c2+=_0xf3b9c5+':'+_0x33b8c1+':'+(_0x4bac4b?'1':'0')+':'+_0x6e1168+':'+_0x45b693+':'+_0x29e547;}return _0x13b4c2;}function _0x46ce7e(_0x47dffd){const _0x891458=_0x2a6bec,_0x12b1e0=_0x47dffd[_0x891458(0x178)](','),_0x1b216a=[];for(const _0x6501d2 of _0x12b1e0){const [_0x556c76,_0x13f1a2,_0x5cf714,_0x33f5f9,_0x2b5fd7,_0x5e78ee]=_0x6501d2['split'](':');_0x1b216a[_0x891458(0x24c)]({'startOffset':Number(_0x556c76),'endOffset':Number(_0x13f1a2),'collapsed':_0x556c76===_0x13f1a2,'isActive':_0x5cf714==='1','rangeType':_0x33f5f9===_0x42e0e7[_0x891458(0x1b0)]['TEXT']?_0x42e0e7[_0x891458(0x1b0)][_0x891458(0x136)]:_0x42e0e7[_0x891458(0x1b0)]['RECT'],'segmentId':typeof _0x2b5fd7==_0x891458(0x2fc)?String(_0x2b5fd7):'','segmentPage':Number(_0x5e78ee!=null?_0x5e78ee:-0x1)});}return _0x1b216a['some'](_0x5135fe=>_0x5135fe['isActive'])||(_0x1b216a[0x0]['isActive']=!0x0),_0x1b216a;}class _0x7228ba extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(){const _0x1fdd24=_0x2a6bec;super(...arguments),_0x7f0de7(this,_0x1fdd24(0x32f),new _0x599c52[(_0x1fdd24(0x1f4))](null)),_0x7f0de7(this,_0x1fdd24(0xfd),this[_0x1fdd24(0x32f)]['asObservable']());}[_0x2a6bec(0x267)](_0x372dca){const _0x1ee886=_0x2a6bec,{unitID:_0x5cb4eb,memberID:_0x3b4e63,textRanges:_0x564573}=_0x372dca,_0x459775=_0x101c21(_0x564573);if(_0x459775==='')return;const _0x2a2b6d={'unitID':_0x5cb4eb,'memberID':_0x3b4e63,'selection':_0x459775};this[_0x1ee886(0x32f)]['next'](_0x2a2b6d);}}var _0x123f55=Object[_0x2a6bec(0x333)],_0x57139d=(_0x407d3c,_0x3d3ad3,_0x3ed899,_0x29c427)=>{const _0xdcef13=_0x2a6bec;for(var _0x42ef1c=_0x29c427>0x1?void 0x0:_0x29c427?_0x123f55(_0x3d3ad3,_0x3ed899):_0x3d3ad3,_0x5e2c3b=_0x407d3c[_0xdcef13(0x1ad)]-0x1,_0x1cd80c;_0x5e2c3b>=0x0;_0x5e2c3b--)(_0x1cd80c=_0x407d3c[_0x5e2c3b])&&(_0x42ef1c=_0x1cd80c(_0x42ef1c)||_0x42ef1c);return _0x42ef1c;},_0x72dc17=(_0x3d3afd,_0x2fe7a6)=>(_0x5ee009,_0x223a23)=>_0x2fe7a6(_0x5ee009,_0x223a23,_0x3d3afd);const _0x584271=0x12c,_0x1f94f3=0x64;let _0x41a8eb=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x39c9f4,_0x1a007b,_0x42a047,_0x29137a,_0x5475d2,_0x3b3017,_0x1cb755,_0x1803a1,_0x4343b8){const _0x535309=_0x2a6bec;super(),_0x7f0de7(this,_0x535309(0x28c),!0x1),_0x7f0de7(this,_0x535309(0x1b8),!0x1),_0x7f0de7(this,_0x535309(0x1c2),new _0x599c52[(_0x535309(0x1f4))](new Map())),_0x7f0de7(this,_0x535309(0xd6),this[_0x535309(0x1c2)][_0x535309(0x27b)]()),_0x7f0de7(this,'_roomMembers$',new _0x599c52[(_0x535309(0x1f4))]([])),_0x7f0de7(this,_0x535309(0x26b),this[_0x535309(0xf9)][_0x535309(0x27f)](_0x599c52[_0x535309(0x24d)](_0x584271))),_0x7f0de7(this,'_updateLocalCursor',_0x42e0e7['debounce'](_0x426662=>{const _0x4d79ce=_0x535309,_0x8f9443={'eventID':_0x12caed[_0x4d79ce(0x342)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d79ce(0x31f)],'memberID':this[_0x4d79ce(0x2c1)]['getMemberID'](),'selection':_0x101c21(_0x426662)}};this['_session'][_0x4d79ce(0x32c)](_0x8f9443,this['unitID']);},_0x1f94f3)),(this['unitID']=_0x39c9f4,this[_0x535309(0x2c1)]=_0x1a007b,this['_injector']=_0x42a047,this[_0x535309(0x1c6)]=_0x29137a,this['_memberService']=_0x5475d2,this[_0x535309(0x11f)]=_0x3b3017,this[_0x535309(0x230)]=_0x1cb755,this[_0x535309(0x18e)]=_0x1803a1,this[_0x535309(0x34f)]=_0x4343b8);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2a6bec(0x1d8)](){const _0x1bf62f=_0x2a6bec;return this[_0x1bf62f(0xf9)]['getValue']();}[_0x2a6bec(0x336)](){const _0x27d668=_0x2a6bec;super[_0x27d668(0x336)](),this[_0x27d668(0x1c2)]['next'](new Map()),this[_0x27d668(0x1c2)]['complete'](),this[_0x27d668(0xf9)][_0x27d668(0xd5)]([]),this[_0x27d668(0xf9)][_0x27d668(0x104)]();}[_0x2a6bec(0x143)](){const _0x3a7fb7=_0x2a6bec;this[_0x3a7fb7(0x1b8)]||(this[_0x3a7fb7(0x1b8)]=!0x0,this['_session'][_0x3a7fb7(0x25c)][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this[_0x3a7fb7(0x332)]))[_0x3a7fb7(0x250)](_0x5059d0=>{const _0x52b276=_0x3a7fb7;_0x5059d0===_0x3a040d[_0x52b276(0x34b)][_0x52b276(0x166)]?this['_toggleOnline']():this[_0x52b276(0x238)]();}),this[_0x3a7fb7(0x2c1)][_0x3a7fb7(0x326)][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this['dispose$']))[_0x3a7fb7(0x250)](_0x4b936e=>{const _0x508c9f=_0x3a7fb7,_0x84a2d0=_0x4b936e[_0x508c9f(0x1a8)];_0x84a2d0===_0x12caed[_0x508c9f(0x342)]['UPDATE_CURSOR']&&this[_0x508c9f(0x30f)](_0x4b936e),_0x84a2d0===_0x12caed[_0x508c9f(0x342)][_0x508c9f(0x11c)]&&this[_0x508c9f(0x350)](_0x4b936e);}),this['disposeWithMe'](this[_0x3a7fb7(0x34f)][_0x3a7fb7(0x19c)](_0xffced4=>{const _0x41ef95=_0x3a7fb7,_0x466fd6=_0xffced4[_0x41ef95(0x33d)];_0x466fd6!=null&&this[_0x41ef95(0x28c)]&&_0xffced4['id']===_0x5c07ea[_0x41ef95(0x295)]['id']&&_0x466fd6[_0x41ef95(0x24b)]===this[_0x41ef95(0x31f)]&&_0x466fd6[_0x41ef95(0xf4)]===!0x1&&_0x466fd6[_0x41ef95(0x35b)][_0x41ef95(0x1ad)]>0x0&&this[_0x41ef95(0x1ec)](_0x466fd6[_0x41ef95(0x35b)]);})),this[_0x3a7fb7(0x11f)]['collabCursorState$'][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this['dispose$']))[_0x3a7fb7(0x250)](_0x28dbfa=>{const _0x3bd11d=_0x3a7fb7;if((_0x28dbfa==null?void 0x0:_0x28dbfa[_0x3bd11d(0x31f)])!==this[_0x3bd11d(0x31f)])return;const _0x4a95b2={'eventID':_0x12caed[_0x3bd11d(0x342)][_0x3bd11d(0x34c)],'data':_0x28dbfa};this[_0x3bd11d(0x30f)](_0x4a95b2);}),this[_0x3a7fb7(0x133)](this[_0x3a7fb7(0x34f)]['onCommandExecuted'](_0x52958c=>{const _0x11dd16=_0x3a7fb7;if(_0x52958c[_0x11dd16(0x33d)]==null)return;const _0xe77d34=_0x52958c['params'];if(_0x52958c['id']!==_0x5c07ea['RichTextEditingMutation']['id']||_0xe77d34[_0x11dd16(0x24b)]!==this['unitID'])return;const _0x5116bd={'id':_0x11dd16(0x1ed),'params':_0xe77d34},_0xdac64=this[_0x11dd16(0x327)];for(const [_0x1162b0,_0x40a3ca]of _0xdac64){const _0x2da003={'id':_0x11dd16(0x1ed),'params':{'unitId':this[_0x11dd16(0x31f)],'actions':null,'textRanges':_0x40a3ca[_0x11dd16(0x35b)]}},_0x3bf625=this[_0x11dd16(0x230)][_0x11dd16(0x310)](_0x5116bd,_0x2da003,!0x1);if(_0x12caed[_0x11dd16(0x108)](_0x3bf625))throw _0x3bf625[_0x11dd16(0x285)];_0xdac64[_0x11dd16(0x1bd)](_0x1162b0,{..._0x40a3ca,'ranges':_0x3bf625[_0x11dd16(0x35e)][_0x11dd16(0x33d)]['textRanges']});}queueMicrotask(()=>{const _0x323681=_0x11dd16;this[_0x323681(0x1c2)][_0x323681(0xd5)](_0xdac64);});})));}['_onCursorUpdate'](_0x53c970){const _0x4a37ec=_0x2a6bec;var _0x5c70bc,_0x84886f;const {memberID:_0x102bf3,selection:_0x495127}=_0x53c970[_0x4a37ec(0x190)],_0x36d87a=_0x46ce7e(_0x495127),_0x1b4075=(_0x84886f=(_0x5c70bc=this['_memberService']['getMember'](this[_0x4a37ec(0x31f)],_0x102bf3))==null?void 0x0:_0x5c70bc[_0x4a37ec(0x200)])!=null?_0x84886f:'Unknown\x20user',_0x345346={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x102bf3),'name':_0x1b4075,'ranges':_0x36d87a},_0x55ef56=this['cursorInfo'];_0x55ef56[_0x4a37ec(0x1bd)](_0x102bf3,_0x345346),this[_0x4a37ec(0x1c2)][_0x4a37ec(0xd5)](_0x55ef56);}[_0x2a6bec(0x350)](_0x382cbc){const _0xbe78b7=_0x2a6bec,{memberID:_0x2f8042}=_0x382cbc[_0xbe78b7(0x190)],_0x194038=this[_0xbe78b7(0x327)];_0x194038['delete'](_0x2f8042),this['_cursorInfo$'][_0xbe78b7(0xd5)](_0x194038);}[_0x2a6bec(0x183)](){const _0x4cc217=_0x2a6bec;var _0xa7164b;if(this[_0x4cc217(0x28c)]=!0x0,((_0xa7164b=this['_univerInstanceService'][_0x4cc217(0x173)]())==null?void 0x0:_0xa7164b[_0x4cc217(0x225)]())!==this[_0x4cc217(0x31f)])return;const _0x5ef78b=this[_0x4cc217(0x33b)][_0x4cc217(0x24f)](_0x5c07ea['DocSelectionManagerService'])[_0x4cc217(0xd2)]();Array['isArray'](_0x5ef78b)&&_0x5ef78b[_0x4cc217(0x1ad)]>0x0&&this[_0x4cc217(0x1ec)](_0x5ef78b);}[_0x2a6bec(0x238)](){const _0x4e4f3b=_0x2a6bec;this[_0x4e4f3b(0x28c)]=!0x1;}};_0x41a8eb=_0x57139d([_0x72dc17(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x72dc17(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x1ee3e1)),_0x72dc17(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x272)])),_0x72dc17(0x5,_0x42e0e7['Inject'](_0x7228ba)),_0x72dc17(0x6,_0x12caed['ITransformService']),_0x72dc17(0x7,_0x42e0e7[_0x2a6bec(0x15e)]),_0x72dc17(0x8,_0x42e0e7[_0x2a6bec(0x1d9)])],_0x41a8eb);var _0x2a8aaa=Object[_0x2a6bec(0x333)],_0x3e0a11=(_0x5e75cf,_0x5c036c,_0xb5dedc,_0x161244)=>{const _0x56da6c=_0x2a6bec;for(var _0x22e930=_0x161244>0x1?void 0x0:_0x161244?_0x2a8aaa(_0x5c036c,_0xb5dedc):_0x5c036c,_0x31e269=_0x5e75cf[_0x56da6c(0x1ad)]-0x1,_0x4f6245;_0x31e269>=0x0;_0x31e269--)(_0x4f6245=_0x5e75cf[_0x31e269])&&(_0x22e930=_0x4f6245(_0x22e930)||_0x22e930);return _0x22e930;},_0x27539a=(_0x1582fa,_0x559ab2)=>(_0x149ba1,_0xcd42d)=>_0x559ab2(_0x149ba1,_0xcd42d,_0x1582fa);const _0xf54287=0x12c,_0x1489f5=0x64,_0x8d84e=()=>{let _0x5658aa=[],_0x2623aa=!0x1;return _0x139cad=>{_0x5658aa['push'](_0x139cad),_0x2623aa||(_0x2623aa=!0x0,setTimeout(()=>{const _0x1326b6=_0x5997;_0x5658aa[_0x1326b6(0xe6)](_0x31c335=>_0x31c335()),_0x5658aa=[],_0x2623aa=!0x1;}));};};let _0x12fece=class extends _0x42e0e7['RxDisposable']{constructor(_0x18789a,_0xf58fe2,_0x233a5c,_0x517f89,_0x350a70,_0x3e85b3,_0x3cf543,_0x569475){const _0xf78b95=_0x2a6bec;super(),_0x7f0de7(this,_0xf78b95(0x28c),!0x1),_0x7f0de7(this,_0xf78b95(0x1b8),!0x1),_0x7f0de7(this,'_cursorInfo$',new _0x599c52[(_0xf78b95(0x1f4))](new Map())),_0x7f0de7(this,_0xf78b95(0xd6),this[_0xf78b95(0x1c2)][_0xf78b95(0x27b)]()),_0x7f0de7(this,_0xf78b95(0xf9),new _0x599c52[(_0xf78b95(0x1f4))]([])),_0x7f0de7(this,'roomMembers$',this[_0xf78b95(0xf9)][_0xf78b95(0x27f)](_0x599c52['debounceTime'](_0xf54287))),_0x7f0de7(this,_0xf78b95(0x1ec),_0x42e0e7[_0xf78b95(0x17e)]((_0x4cbc25,_0x3955c2)=>{const _0xb949cb=_0xf78b95,_0x2df023={'eventID':_0x12caed[_0xb949cb(0x342)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb949cb(0x31f)],'memberID':this[_0xb949cb(0x2c1)][_0xb949cb(0x1d4)](),'selection':_0x2ce579[_0xb949cb(0xcf)](_0x4cbc25,_0x3955c2[_0xb949cb(0x275)])}};this['_session'][_0xb949cb(0x32c)](_0x2df023,this['unitID']);},_0x1489f5)),(this[_0xf78b95(0x31f)]=_0x18789a,this[_0xf78b95(0x2c1)]=_0xf58fe2,this['_injector']=_0x233a5c,this[_0xf78b95(0x1c6)]=_0x517f89,this['_memberService']=_0x350a70,this[_0xf78b95(0x18e)]=_0x3e85b3,this[_0xf78b95(0x34f)]=_0x3cf543,this[_0xf78b95(0x217)]=_0x569475);}get[_0x2a6bec(0x327)](){const _0x292c96=_0x2a6bec;return this[_0x292c96(0x1c2)]['getValue']();}get[_0x2a6bec(0x1d8)](){const _0x23ae20=_0x2a6bec;return this[_0x23ae20(0xf9)][_0x23ae20(0x121)]();}[_0x2a6bec(0x336)](){const _0x142f06=_0x2a6bec;super[_0x142f06(0x336)](),this[_0x142f06(0x1c2)][_0x142f06(0xd5)](new Map()),this[_0x142f06(0x1c2)]['complete'](),this[_0x142f06(0xf9)]['next']([]),this[_0x142f06(0xf9)]['complete']();}[_0x2a6bec(0x143)](){const _0x4c88b6=_0x2a6bec;this[_0x4c88b6(0x1b8)]||(this[_0x4c88b6(0x1b8)]=!0x0,this[_0x4c88b6(0x2c1)]['sessionStatus$']['pipe'](_0x599c52[_0x4c88b6(0x1ef)](this[_0x4c88b6(0x332)]))['subscribe'](_0x532b58=>{const _0x3e5577=_0x4c88b6;_0x532b58===_0x3a040d[_0x3e5577(0x34b)][_0x3e5577(0x166)]?this[_0x3e5577(0x183)]():this['_toggleOffline']();}),this[_0x4c88b6(0x2c1)]['event$']['pipe'](_0x599c52[_0x4c88b6(0x1ef)](this[_0x4c88b6(0x332)]))[_0x4c88b6(0x250)](_0x954df5=>{const _0x3cba5e=_0x4c88b6,_0x138100=_0x954df5['eventID'];_0x138100===_0x12caed['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3cba5e(0x30f)](_0x954df5),_0x138100===_0x12caed[_0x3cba5e(0x342)][_0x3cba5e(0x11c)]&&this[_0x3cba5e(0x350)](_0x954df5);}),this[_0x4c88b6(0xe0)](),this[_0x4c88b6(0x133)](this['_commandService'][_0x4c88b6(0x19c)](_0x7a3c70=>{const _0xbaddc2=_0x4c88b6;if(this[_0xbaddc2(0x28c)]&&_0x7a3c70['id']===_0x51eb6e[_0xbaddc2(0x17c)]['id']&&_0x7a3c70['params'][_0xbaddc2(0x24b)]===this['unitID']){const _0x17151a=_0x7a3c70[_0xbaddc2(0x33d)];this[_0xbaddc2(0x1ec)](_0x17151a[_0xbaddc2(0x125)],_0x17151a['selections'][0x0]);}})));}[_0x2a6bec(0x30f)](_0x285b35){const _0x5b711=_0x2a6bec;var _0x17157d,_0x327aeb;const {memberID:_0x1141d1,selection:_0x110d4e}=_0x285b35['data'],{sheetName:_0x56720e,range:_0xec3c53}=_0x2ce579[_0x5b711(0x2aa)](_0x110d4e),_0x2ffada={'name':(_0x327aeb=(_0x17157d=this['_memberService'][_0x5b711(0x34e)](this[_0x5b711(0x31f)],_0x1141d1))==null?void 0x0:_0x17157d[_0x5b711(0x200)])!=null?_0x327aeb:_0x5b711(0x31c),'range':this['_getMergeRange'](_0x56720e,_0xec3c53),'sheetID':_0x56720e,'color':this[_0x5b711(0x1c6)][_0x5b711(0x2cb)](_0x1141d1),'selection':_0x110d4e},_0x41217a=this[_0x5b711(0x327)];_0x41217a[_0x5b711(0x1bd)](_0x1141d1,_0x2ffada),this[_0x5b711(0x1c2)][_0x5b711(0xd5)](_0x41217a);}['_onCursorDelete'](_0x1fa035){const _0x289b2c=_0x2a6bec,{memberID:_0x10fce7}=_0x1fa035[_0x289b2c(0x190)],_0x38c344=this['cursorInfo'];_0x38c344['delete'](_0x10fce7),this['_cursorInfo$']['next'](_0x38c344);}[_0x2a6bec(0x2b7)](_0x55e6d1,_0x5b2c8b){const _0x199793=_0x2a6bec;var _0x8cd400,_0x223f9c;const _0x5423c7=(_0x223f9c=(_0x8cd400=this[_0x199793(0x18e)][_0x199793(0xf1)](this[_0x199793(0x31f)]))==null?void 0x0:_0x8cd400[_0x199793(0x2f0)](_0x55e6d1))==null?void 0x0:_0x223f9c[_0x199793(0x257)]();return(_0x5423c7==null?void 0x0:_0x5423c7['find'](_0x2aab29=>_0x42e0e7[_0x199793(0x2d0)][_0x199793(0x2bd)](_0x2aab29,_0x5b2c8b)))||_0x5b2c8b;}[_0x2a6bec(0xe0)](){const _0x5c0a01=_0x2a6bec,_0x44f131=new _0x42e0e7[(_0x5c0a01(0x1ea))](),_0x4a07bf=_0x8d84e(),_0x379c86=()=>{const _0xbf89f0=_0x5c0a01;_0x44f131['dispose']();const _0xc246f6=(_0x5b45e4,_0x258134,_0x4cbd36,_0x56aa84)=>{const _0x53201a=_0x5997;let _0xb2cd07=[];switch(_0x5b45e4['id']){case _0x51eb6e[_0x53201a(0x27a)]['DeleteRangeMoveLeftCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x223)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x357)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x312)]:{_0xb2cd07=_0x51eb6e['handleInsertCol'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x234)]:{_0xb2cd07=_0x51eb6e[_0x53201a(0x242)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x132)]:{_0xb2cd07=_0x51eb6e[_0x53201a(0x205)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x335)]:{_0xb2cd07=_0x51eb6e['handleInsertRow'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)]['MoveRangeCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x266)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)]['RemoveColCommandId']:{_0xb2cd07=_0x51eb6e['handleIRemoveCol'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e['EffectRefRangId'][_0x53201a(0x188)]:{_0xb2cd07=_0x51eb6e['handleIRemoveRow'](_0x5b45e4,_0x56aa84);break;}}const _0x100b71=_0x51eb6e[_0x53201a(0x163)](_0xb2cd07,_0x56aa84),_0x4b74d3=this[_0x53201a(0x327)][_0x53201a(0x24f)](_0x258134);if(_0x4b74d3&&_0x100b71){const _0x311077={..._0x4b74d3,'range':_0x100b71};this[_0x53201a(0x327)][_0x53201a(0x1bd)](_0x258134,_0x311077),_0x4a07bf(()=>{const _0x103007=_0x53201a,_0x1f1752=this[_0x103007(0x217)][_0x103007(0x1be)](_0x100b71,_0x3f9629=>(_0x1f1752['dispose'](),_0xc246f6(_0x3f9629,_0x258134,_0x4cbd36,_0x100b71)));_0x44f131[_0x103007(0x279)](_0x1f1752);});}return{'redos':[],'undos':[]};};this[_0xbf89f0(0x327)][_0xbf89f0(0xe6)]((_0x2749ee,_0x5c022f)=>{const _0x118fc5=_0xbf89f0,{range:_0x5dd791,sheetID:_0x2d3ae3}=_0x2749ee,_0x3657dc=this[_0x118fc5(0x217)][_0x118fc5(0x1be)](_0x5dd791,_0x4778d4=>(_0x3657dc['dispose'](),_0xc246f6(_0x4778d4,_0x5c022f,_0x2d3ae3,_0x5dd791)));_0x44f131['add'](_0x3657dc);});};this[_0x5c0a01(0x133)](_0x42e0e7['toDisposable'](this[_0x5c0a01(0x1c2)][_0x5c0a01(0x250)](()=>{_0x379c86();})));}[_0x2a6bec(0x183)](){const _0x11584e=_0x2a6bec;var _0x2aa901,_0x1c5fb9;if(this[_0x11584e(0x28c)]=!0x0,((_0x2aa901=this[_0x11584e(0x18e)][_0x11584e(0x173)]())==null?void 0x0:_0x2aa901[_0x11584e(0x225)]())!==this[_0x11584e(0x31f)])return;const _0x55d6c4=(_0x1c5fb9=this['_injector'][_0x11584e(0x24f)](_0x51eb6e[_0x11584e(0x1a7)])['getCurrentSelections']())==null?void 0x0:_0x1c5fb9[0x0],_0x288af6=this[_0x11584e(0x18e)][_0x11584e(0x1ce)](_0x42e0e7[_0x11584e(0x129)][_0x11584e(0x19b)])[_0x11584e(0x2e4)]();_0x55d6c4&&_0x288af6&&this[_0x11584e(0x1ec)](_0x288af6['getSheetId'](),_0x55d6c4);}[_0x2a6bec(0x238)](){const _0x1afc8b=_0x2a6bec;this[_0x1afc8b(0x28c)]=!0x1;}};_0x12fece=_0x3e0a11([_0x27539a(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x27539a(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x1ee3e1)),_0x27539a(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x272)])),_0x27539a(0x5,_0x42e0e7[_0x2a6bec(0x15e)]),_0x27539a(0x6,_0x42e0e7[_0x2a6bec(0x1d9)]),_0x27539a(0x7,_0x42e0e7[_0x2a6bec(0x14e)](_0x51eb6e[_0x2a6bec(0x15f)]))],_0x12fece);var _0x5e30df=Object[_0x2a6bec(0x333)],_0x2d4482=(_0xc43a3c,_0x3e533d,_0x354262,_0x5dc329)=>{const _0xf5b810=_0x2a6bec;for(var _0x3d610e=_0x5dc329>0x1?void 0x0:_0x5dc329?_0x5e30df(_0x3e533d,_0x354262):_0x3e533d,_0x466bb7=_0xc43a3c[_0xf5b810(0x1ad)]-0x1,_0x5534cb;_0x466bb7>=0x0;_0x466bb7--)(_0x5534cb=_0xc43a3c[_0x466bb7])&&(_0x3d610e=_0x5534cb(_0x3d610e)||_0x3d610e);return _0x3d610e;},_0x4d9ec5=(_0x1551ef,_0x722063)=>(_0xa37c0f,_0x5e52cd)=>_0x722063(_0xa37c0f,_0x5e52cd,_0x1551ef);let _0x465ed4=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x571329,_0x1c1e1d,_0x291520){const _0x4daf1f=_0x2a6bec;super(),_0x7f0de7(this,_0x4daf1f(0xe9),new Map()),_0x7f0de7(this,'_entityInit$',new _0x599c52[(_0x4daf1f(0x140))]()),(this['_univerInstanceService']=_0x571329,this['_injector']=_0x1c1e1d,this[_0x4daf1f(0x1b5)]=_0x291520,this['_init']());}[_0x2a6bec(0x336)](){const _0x2d1a6b=_0x2a6bec;super[_0x2d1a6b(0x336)](),this[_0x2d1a6b(0xed)][_0x2d1a6b(0x104)](),this['_entities'][_0x2d1a6b(0xe6)](_0x33ad80=>_0x33ad80[_0x2d1a6b(0x336)]());}[_0x2a6bec(0x25f)](_0x4fdd5e){const _0x11623a=_0x2a6bec;return this[_0x11623a(0xe9)][_0x11623a(0x297)](_0x4fdd5e)?this[_0x11623a(0xe9)][_0x11623a(0x24f)](_0x4fdd5e)[_0x11623a(0xd6)]:this['_entityInit$'][_0x11623a(0x27f)](_0x599c52[_0x11623a(0x18a)](_0x44bd3b=>_0x44bd3b[_0x11623a(0x31f)]===_0x4fdd5e),_0x599c52[_0x11623a(0x2c6)](_0x53c7ba=>_0x53c7ba['cursorInfo$']));}['_init'](){const _0x480399=_0x2a6bec;this[_0x480399(0x18e)][_0x480399(0x2df)](_0x42e0e7[_0x480399(0x129)][_0x480399(0x19b)])['pipe'](_0x599c52['takeUntil'](this['dispose$']))['subscribe'](async _0x4eca2a=>{const _0x449a6a=_0x480399,_0x24c6ea=_0x4eca2a['getUnitId'](),_0x58153d=await this[_0x449a6a(0x33f)](_0x24c6ea);this[_0x449a6a(0xed)]['next'](_0x58153d),this[_0x449a6a(0xe9)][_0x449a6a(0x1bd)](_0x24c6ea,_0x58153d);}),this[_0x480399(0x18e)][_0x480399(0x2df)](_0x42e0e7['UniverInstanceType'][_0x480399(0x2f3)])[_0x480399(0x27f)](_0x599c52[_0x480399(0x1ef)](this[_0x480399(0x332)]))['pipe'](_0x599c52[_0x480399(0x18a)](_0x464161=>!_0x464161[_0x480399(0x225)]()[_0x480399(0x127)]('__')))[_0x480399(0x250)](async _0x25e66d=>{const _0x1f116c=_0x480399,_0x1f9c71=_0x25e66d[_0x1f116c(0x225)](),_0x3e0daa=await this[_0x1f116c(0x14a)](_0x1f9c71);this[_0x1f116c(0xed)]['next'](_0x3e0daa),this[_0x1f116c(0xe9)][_0x1f116c(0x1bd)](_0x1f9c71,_0x3e0daa);}),_0x599c52[_0x480399(0xfe)](this[_0x480399(0x18e)]['getTypeOfUnitDisposed$'](_0x42e0e7['UniverInstanceType'][_0x480399(0x2f3)]),this[_0x480399(0x18e)][_0x480399(0x103)](_0x42e0e7[_0x480399(0x129)][_0x480399(0x19b)]))['pipe'](_0x599c52[_0x480399(0x1ef)](this[_0x480399(0x332)]))['subscribe'](_0x5d4bb9=>{const _0x53f266=_0x480399,_0x3aab42=_0x5d4bb9['getUnitId'](),_0x57661e=this['_entities']['get'](_0x3aab42);_0x57661e&&(_0x57661e[_0x53f266(0x336)](),this[_0x53f266(0xe9)][_0x53f266(0x12f)](_0x3aab42));});}async[_0x2a6bec(0x33f)](_0xee3547){const _0x39157d=_0x2a6bec,_0x3f2760=await this[_0x39157d(0x1b5)][_0x39157d(0x30a)](_0xee3547),_0x49a8da=this[_0x39157d(0x33b)]['createInstance'](_0x12fece,_0xee3547,_0x3f2760);return _0x49a8da[_0x39157d(0x143)](),_0x49a8da;}async[_0x2a6bec(0x14a)](_0x18626f){const _0x55b295=_0x2a6bec,_0x538ef0=await this['_collabSessionService'][_0x55b295(0x30a)](_0x18626f),_0x222dc1=this[_0x55b295(0x33b)][_0x55b295(0x28b)](_0x41a8eb,_0x18626f,_0x538ef0);return _0x222dc1[_0x55b295(0x143)](),_0x222dc1;}};_0x465ed4=_0x2d4482([_0x4d9ec5(0x0,_0x42e0e7[_0x2a6bec(0x15e)]),_0x4d9ec5(0x1,_0x42e0e7['Inject'](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x4d9ec5(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x233)]))],_0x465ed4);const _0x5a55c0=0x14,_0x1d5609=0xc8,_0x1bd5dc=0x4,_0x216d78=0x5;function _0x3d420f(_0x12f019,_0x1620e4){const _0x50e0ee=_0x2a6bec;let {radius:_0x4c3c83,width:_0x2d1ab6,height:_0x549e07}=_0x1620e4;_0x4c3c83=_0x4c3c83!=null?_0x4c3c83:0x0,_0x2d1ab6=_0x2d1ab6!=null?_0x2d1ab6:0x1e,_0x549e07=_0x549e07!=null?_0x549e07:0x1e;let _0x59a7ce=0x0,_0x480064=0x0,_0x688c00=0x0;_0x59a7ce=_0x480064=_0x688c00=Math['min'](_0x4c3c83,_0x2d1ab6/0x2,_0x549e07/0x2),_0x12f019[_0x50e0ee(0x15a)](),_0x12f019[_0x50e0ee(0x228)](_0x59a7ce,0x0),_0x12f019[_0x50e0ee(0x176)](_0x2d1ab6-_0x480064,0x0),_0x12f019[_0x50e0ee(0x20e)](_0x2d1ab6-_0x480064,_0x480064,_0x480064,Math['PI']*0x3/0x2,0x0,!0x1),_0x12f019['lineTo'](_0x2d1ab6,_0x549e07-_0x688c00),_0x12f019[_0x50e0ee(0x20e)](_0x2d1ab6-_0x688c00,_0x549e07-_0x688c00,_0x688c00,0x0,Math['PI']/0x2,!0x1),_0x12f019[_0x50e0ee(0x176)](0x0,_0x549e07),_0x12f019[_0x50e0ee(0x176)](0x0,_0x59a7ce),_0x12f019['arc'](_0x59a7ce,_0x59a7ce,_0x59a7ce,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x12f019['closePath'](),_0x1620e4['fill']&&(_0x12f019[_0x50e0ee(0x2ea)](),_0x12f019['fillStyle']=_0x1620e4[_0x50e0ee(0x2a9)],_0x1620e4[_0x50e0ee(0x359)]===_0x50e0ee(0x1c7)?_0x12f019[_0x50e0ee(0x2a9)](_0x50e0ee(0x1c7)):_0x12f019[_0x50e0ee(0x2a9)](),_0x12f019[_0x50e0ee(0x1e1)]());}class _0x5b4809 extends _0x5af10f[_0x2a6bec(0x307)]{constructor(_0xf05d93,_0x1508df){const _0x21c98e=_0x2a6bec;super(_0xf05d93,_0x1508df),_0x7f0de7(this,_0x21c98e(0x1d2)),_0x7f0de7(this,_0x21c98e(0x207)),(this['color']=_0x1508df==null?void 0x0:_0x1508df['color'],this[_0x21c98e(0x207)]=_0x1508df==null?void 0x0:_0x1508df[_0x21c98e(0x207)]);}static['drawWith'](_0x5d696c,_0x3da725){const _0x44589c=_0x2a6bec,{text:_0x555631,color:_0x4b55e2}=_0x3da725;_0x5d696c[_0x44589c(0x2ea)](),_0x5d696c[_0x44589c(0xf3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ff16d=_0x5d696c[_0x44589c(0x271)](_0x555631)[_0x44589c(0x224)],_0x16a760=Math[_0x44589c(0x280)](_0x1ff16d+0x2*_0x1bd5dc,_0x1d5609);_0x3d420f(_0x5d696c,{'height':_0x5a55c0,'radius':0x4,'width':_0x16a760,'fill':_0x4b55e2}),_0x5d696c[_0x44589c(0x2f4)]=_0x44589c(0x360);const _0x138cc9=_0x1bd5dc,_0x331309=_0x5a55c0-_0x216d78,_0xf66de7=_0x1d5609-0x2*_0x1bd5dc;if(_0x1ff16d>_0xf66de7){let _0x2996a0='',_0x43e76f=0x0;for(const _0x42df2d of _0x555631){const _0x3dd5d1=_0x5d696c[_0x44589c(0x271)](_0x42df2d)['width'];if(_0x43e76f+_0x3dd5d1<=_0xf66de7-_0x5d696c['measureText'](_0x44589c(0x1a4))['width'])_0x2996a0+=_0x42df2d,_0x43e76f+=_0x3dd5d1;else{_0x2996a0+='...';break;}}_0x5d696c[_0x44589c(0x2be)](_0x2996a0,_0x138cc9,_0x331309);}else _0x5d696c[_0x44589c(0x2be)](_0x555631,_0x138cc9,_0x331309);_0x5d696c[_0x44589c(0x1e1)]();}[_0x2a6bec(0x19e)](_0x591569){const _0x53fd2a=_0x2a6bec;_0x5b4809[_0x53fd2a(0x1e7)](_0x591569,this);}}const _0x1a07b6=_0x2a6bec(0x25a),_0x2f4035=_0x2a6bec(0x330),_0x4b7160=_0x2a6bec(0x1c4),_0xc935d6=0x6,_0x6caf17=1.5,_0x16b61b=0x4,_0x5d45b7=1.5,_0xe711db='rgba(255,\x20255,\x20255,\x200.01)';class _0x20276e{constructor(_0x4cfb61,_0x157bae,_0x4ba749,_0x5ce1c9){const _0x4168d0=_0x2a6bec;_0x7f0de7(this,'_shapes',[]),_0x7f0de7(this,'_anchor',null),_0x7f0de7(this,_0x4168d0(0x248),null),_0x7f0de7(this,_0x4168d0(0x249),null),_0x7f0de7(this,'_hideTimer',null),_0x7f0de7(this,'_eventUnsubscribe',null),(this[_0x4168d0(0x1b3)]=_0x4cfb61,this[_0x4168d0(0x13f)]=_0x157bae,this['_docSkeleton']=_0x4ba749,this[_0x4168d0(0x1c8)]=_0x5ce1c9,this['_render']());}set[_0x2a6bec(0x13e)](_0x33b654){const _0x59aa43=_0x2a6bec;_0x33b654?(this[_0x59aa43(0x249)]&&this['_anchorDot'][_0x59aa43(0x294)](),this[_0x59aa43(0x248)]&&this[_0x59aa43(0x248)][_0x59aa43(0x1a0)]()):(this[_0x59aa43(0x249)]&&this['_anchorDot'][_0x59aa43(0x1a0)](),this[_0x59aa43(0x248)]&&this['_textBubble'][_0x59aa43(0x294)]());}[_0x2a6bec(0x336)](){const _0x372c6a=_0x2a6bec;for(const _0x583a3d of this['_shapes'])_0x583a3d[_0x372c6a(0x336)]();this[_0x372c6a(0x248)]&&this[_0x372c6a(0x248)][_0x372c6a(0x336)](),this[_0x372c6a(0x249)]&&this[_0x372c6a(0x249)][_0x372c6a(0x336)](),this[_0x372c6a(0x185)]&&this[_0x372c6a(0x185)][_0x372c6a(0x336)](),this['_eventUnsubscribe']&&this[_0x372c6a(0x311)]();}[_0x2a6bec(0x1c0)](){const _0x460d5a=_0x2a6bec;var _0x5d7e1f;const {_docSkeleton:_0x542502,_document:_0x23a268}=this,{color:_0x253cab,name:_0x1821f1,ranges:_0x343c93}=this['_cursor'],_0x3b2581=_0x23a268['getOffsetConfig'](),{docsLeft:_0x278e06,docsTop:_0x36d583}=_0x3b2581,_0x2ca91c=new _0x116ef8[(_0x460d5a(0x241))](_0x3b2581,_0x542502);for(const {startOffset:_0x127208,endOffset:_0x388e68,rangeType:_0x3c27bd,segmentId:_0xde17d2,segmentPage:_0x471da7,collapsed:_0x3b4858,isActive:_0xf766b0}of _0x343c93){const _0x14252f=_0x542502[_0x460d5a(0x2a0)](_0x127208,!0x0,_0xde17d2,_0x471da7);let _0x2931c8=_0x542502[_0x460d5a(0x2a0)](_0x388e68,!0x0,_0xde17d2,_0x471da7);if(_0x2931c8==null&&(_0x2931c8=_0x542502['findNodePositionByCharIndex'](_0x388e68-0x1,!0x1,_0xde17d2,_0x471da7)),_0xf766b0){const {contentBoxPointGroup:_0x4e764c}=_0x2ca91c[_0x460d5a(0x298)](_0x2931c8,_0x2931c8);if(_0x4e764c[_0x460d5a(0x1ad)]===0x0)continue;this['_drawAnchor'](_0x253cab,_0x4e764c,_0x278e06,_0x36d583,_0x1821f1),this[_0x460d5a(0x311)]=this[_0x460d5a(0x347)]();}if(_0x14252f&&_0x2931c8){if(_0x3c27bd===_0x42e0e7[_0x460d5a(0x1b0)][_0x460d5a(0x146)]){const _0x2f9690=new _0x116ef8['NodePositionConvertToRectRange'](_0x3b2581,_0x542502),{pointGroup:_0x3065a3}=(_0x5d7e1f=_0x2f9690['getRangePointData'](_0x14252f,_0x2931c8))!=null?_0x5d7e1f:{};if(_0x3065a3==null||_0x3065a3[_0x460d5a(0x1ad)]===0x0)continue;this[_0x460d5a(0x30d)](_0x253cab,_0x3065a3,_0x278e06,_0x36d583);}else{if(!_0x3b4858){const {borderBoxPointGroup:_0x444152}=_0x2ca91c[_0x460d5a(0x298)](_0x14252f,_0x2931c8);if(_0x444152[_0x460d5a(0x1ad)]===0x0)continue;this[_0x460d5a(0x2d9)](_0x253cab,_0x444152,_0x278e06,_0x36d583);}}}}}[_0x2a6bec(0x348)](_0x2511a0,_0x5a864c,_0x2d77e9,_0x30b06f,_0x3011c1){const _0xb991c2=_0x2a6bec,_0x1a1d40=this['_getAnchorBounding'](_0x5a864c),{left:_0x386b64,top:_0x2a840b,height:_0x42ad32}=_0x1a1d40,_0x875652=this[_0xb991c2(0x192)](),_0x38cb72=_0x5d45b7/_0x875652,_0x30205e=new _0x5af10f['Rect'](_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f,'height':_0x42ad32,'width':_0x6caf17,'fill':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7[_0xb991c2(0xea)]['black'],0x0),'strokeWidth':_0x38cb72,'stroke':_0xe711db,'evented':!0x0});this['_anchor']=_0x30205e,this[_0xb991c2(0x13f)][_0xb991c2(0x1a9)](_0x30205e,_0x116ef8[_0xb991c2(0x24e)]);const _0x56a71d=new _0x5af10f['Rect'](_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f-_0x16b61b/0x2,'height':_0x16b61b,'width':_0x16b61b,'fill':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7[_0xb991c2(0xea)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7['COLORS'][_0xb991c2(0x33e)],0x0),'evented':!0x1});this[_0xb991c2(0x249)]=_0x56a71d,this[_0xb991c2(0x13f)]['addObject'](_0x56a71d,_0x116ef8[_0xb991c2(0x24e)]);const _0x20556d=new _0x5b4809(_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f-_0x5a55c0,'text':_0x3011c1,'color':_0x2511a0});this[_0xb991c2(0x248)]=_0x20556d,this[_0xb991c2(0x13f)][_0xb991c2(0x1a9)](_0x20556d,_0x116ef8[_0xb991c2(0x24e)]),this['_hover']=!0x1;}[_0x2a6bec(0x347)](){const _0x40bc7d=_0x2a6bec,_0x41502d=this['_anchor'][_0x40bc7d(0x1c5)][_0x40bc7d(0x2ca)](()=>{const _0x382857=_0x40bc7d;this[_0x382857(0x13e)]=!0x0;}),_0x48ab25=this[_0x40bc7d(0x185)][_0x40bc7d(0x2b3)][_0x40bc7d(0x2ca)](()=>{const _0x2a24d6=_0x40bc7d;this[_0x2a24d6(0x25d)]&&clearTimeout(this[_0x2a24d6(0x25d)]),this['_hideTimer']=setTimeout(()=>{const _0x157dd5=_0x2a24d6;this[_0x157dd5(0x13e)]=!0x1;},0x7d0);});return()=>{const _0x2dfcf8=_0x40bc7d;_0x41502d[_0x2dfcf8(0x27e)](),_0x48ab25[_0x2dfcf8(0x27e)]();};}[_0x2a6bec(0x2d9)](_0x21078b,_0x5e81b5,_0x226b88,_0x4220a9){const _0x4631cd=_0x2a6bec,_0xed9339=new _0x42e0e7[(_0x4631cd(0x2d6))](_0x21078b)[_0x4631cd(0x2e7)](0.2)[_0x4631cd(0x33a)](),_0x45b8ef=new _0x5af10f[(_0x4631cd(0x284))](_0x2f4035+_0x42e0e7[_0x4631cd(0x339)][_0x4631cd(0x1fc)](_0xc935d6),{'pointsGroup':_0x5e81b5,'fill':_0xed9339||_0x5af10f[_0x4631cd(0x23b)](_0x42e0e7[_0x4631cd(0xea)][_0x4631cd(0x33e)],0.2),'left':_0x226b88,'top':_0x4220a9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4631cd(0x26f)][_0x4631cd(0x24c)](_0x45b8ef),this[_0x4631cd(0x13f)][_0x4631cd(0x1a9)](_0x45b8ef,_0x116ef8[_0x4631cd(0x24e)]);}[_0x2a6bec(0x30d)](_0x23584a,_0x42d7d2,_0x70e0,_0x43f137){const _0x3b8453=_0x2a6bec,_0x1fa58b=new _0x42e0e7[(_0x3b8453(0x2d6))](_0x23584a)[_0x3b8453(0x2e7)](0.2)[_0x3b8453(0x33a)](),_0x5038d9=new _0x5af10f['RegularPolygon'](_0x4b7160+_0x42e0e7[_0x3b8453(0x339)][_0x3b8453(0x1fc)](_0xc935d6),{'pointsGroup':_0x42d7d2,'fill':_0x1fa58b||_0x5af10f[_0x3b8453(0x23b)](_0x42e0e7[_0x3b8453(0xea)][_0x3b8453(0x33e)],0.2),'left':_0x70e0,'top':_0x43f137,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b8453(0x26f)][_0x3b8453(0x24c)](_0x5038d9),this[_0x3b8453(0x13f)][_0x3b8453(0x1a9)](_0x5038d9,_0x116ef8[_0x3b8453(0x24e)]);}[_0x2a6bec(0x14d)](_0x66e7c3){const _0x5ec795=_0x66e7c3[0x0],_0x32af6d=_0x5ec795[0x0],_0x2811d4=_0x5ec795[0x2],{x:_0x369038,y:_0x2e132c}=_0x32af6d,{x:_0x2883c9,y:_0x4d0480}=_0x2811d4;return{'left':_0x369038,'top':_0x2e132c,'width':_0x2883c9-_0x369038,'height':_0x4d0480-_0x2e132c};}[_0x2a6bec(0x192)](){const _0x2b80eb=_0x2a6bec,{scaleX:_0x3df64d,scaleY:_0x314881}=this['_scene'][_0x2b80eb(0x151)]();return Math[_0x2b80eb(0x33c)](_0x3df64d,_0x314881);}}var _0x1811e7=Object[_0x2a6bec(0x333)],_0x1daf4e=(_0x363f8c,_0x437238,_0x332f6e,_0x1f24c1)=>{const _0x4af95c=_0x2a6bec;for(var _0xfbfd=_0x1f24c1>0x1?void 0x0:_0x1f24c1?_0x1811e7(_0x437238,_0x332f6e):_0x437238,_0x481e08=_0x363f8c[_0x4af95c(0x1ad)]-0x1,_0x445d39;_0x481e08>=0x0;_0x481e08--)(_0x445d39=_0x363f8c[_0x481e08])&&(_0xfbfd=_0x445d39(_0xfbfd)||_0xfbfd);return _0xfbfd;},_0x3f122b=(_0x507322,_0x58df63)=>(_0x432b44,_0x3c0751)=>_0x58df63(_0x432b44,_0x3c0751,_0x507322);let _0x28e886=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x385987,_0x6bbd95,_0x3037ed,_0x3f2657,_0x225119){const _0x23d3b6=_0x2a6bec;super(),_0x7f0de7(this,'_cursorShapes',[]),_0x7f0de7(this,_0x23d3b6(0x15b),[]),(this[_0x23d3b6(0x2e8)]=_0x385987,this[_0x23d3b6(0x32b)]=_0x6bbd95,this[_0x23d3b6(0x100)]=_0x3037ed,this['_commandService']=_0x3f2657,this[_0x23d3b6(0x329)]=_0x225119,this[_0x23d3b6(0x1b8)]());}[_0x2a6bec(0x1b8)](){const _0x493e90=_0x2a6bec,_0x45ba51=this[_0x493e90(0x2e8)][_0x493e90(0x24b)],_0x444eb3=this[_0x493e90(0x32b)];this[_0x493e90(0x133)](_0x599c52['combineLatest']([this['_collabCursorController'][_0x493e90(0x25f)](_0x45ba51),this[_0x493e90(0x329)][_0x493e90(0x23c)]])[_0x493e90(0x27f)](_0xaa0c1c[_0x493e90(0x324)](([_0x6b0ec9,_0x4df7be])=>({'skeleton':_0x444eb3[_0x493e90(0x113)](),'cursors':[..._0x6b0ec9[_0x493e90(0x13a)]()][_0x493e90(0x19f)](_0x5be41e=>({..._0x5be41e,'color':_0x4df7be[_0x5be41e[_0x493e90(0x1d2)]]}))})))[_0x493e90(0x250)](_0xef2793=>{const _0x5b7d9a=_0x493e90;if(this[_0x5b7d9a(0x2e0)](),_0xef2793){const {skeleton:_0x5dc9ee,cursors:_0x26da6a}=_0xef2793;this['_updateCollabCursors'](_0x5dc9ee,_0x26da6a);}})),this['_initResize'](),this[_0x493e90(0x180)]();}['_updateCollabCursors'](_0x5b49ed,_0x3e370f){const _0x3d1560=_0x2a6bec,{scene:_0x95d7ff,mainComponent:_0x1eb00b}=this[_0x3d1560(0x2e8)],_0x95d2f1=_0x3e370f['map'](_0x2fbb72=>new _0x20276e(_0x2fbb72,_0x95d7ff,_0x5b49ed,_0x1eb00b));this['_cursorShapes']=_0x95d2f1,this[_0x3d1560(0x15b)]=_0x3e370f;}[_0x2a6bec(0x206)](){const _0x7cb380=_0x2a6bec;this['_removeCollabCursors']();const {scene:_0x28eac0,mainComponent:_0x170733}=this[_0x7cb380(0x2e8)],_0xe6b6c6=this[_0x7cb380(0x32b)][_0x7cb380(0x113)](),_0x320652=this[_0x7cb380(0x15b)][_0x7cb380(0x324)](_0x368e34=>new _0x20276e(_0x368e34,_0x28eac0,_0xe6b6c6,_0x170733));this[_0x7cb380(0x211)]=_0x320652;}[_0x2a6bec(0x2e0)](){const _0x213991=_0x2a6bec;this[_0x213991(0x211)][_0x213991(0xe6)](_0x2c60af=>_0x2c60af['dispose']()),this[_0x213991(0x211)]=[];}[_0x2a6bec(0x180)](){const _0x11f879=_0x2a6bec,_0x40b3a1=[_0x116ef8[_0x11f879(0x318)]['id']];this['disposeWithMe'](this[_0x11f879(0x34f)]['onCommandExecuted'](_0x283219=>{const _0x40f4a0=_0x11f879;_0x40b3a1[_0x40f4a0(0x1cc)](_0x283219['id'])&&_0x283219[_0x40f4a0(0x33d)][_0x40f4a0(0x24b)]===this[_0x40f4a0(0x2e8)][_0x40f4a0(0x24b)]&&this['_refreshCollabCursors']();}));}[_0x2a6bec(0x2c9)](){const _0x388a76=_0x2a6bec;this[_0x388a76(0x133)](_0x42e0e7[_0x388a76(0x18c)](this['_context'][_0x388a76(0x13c)]['onTransformChange$'])[_0x388a76(0x27f)](_0xaa0c1c[_0x388a76(0x18a)](_0x44a8e8=>_0x44a8e8[_0x388a76(0xd4)]===_0x5af10f['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x388a76(0x337)]),_0xaa0c1c['throttleTime'](0x10))[_0x388a76(0x250)](()=>{const _0x35b49a=_0x388a76;this[_0x35b49a(0x206)]();}));}};_0x28e886=_0x1daf4e([_0x3f122b(0x1,_0x42e0e7['Inject'](_0x5c07ea[_0x2a6bec(0x1f8)])),_0x3f122b(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x465ed4)),_0x3f122b(0x3,_0x42e0e7['ICommandService']),_0x3f122b(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x175)]))],_0x28e886);const _0x17a968=0x1,_0x4ccfc7=1.5;class _0x2bc6e2 extends _0x5af10f[_0x2a6bec(0x307)]{constructor(_0x5ec987,_0xb3161f){const _0x274bde=_0x2a6bec;super(_0x5ec987,_0xb3161f),_0x7f0de7(this,_0x274bde(0x210)),_0x7f0de7(this,'_hovered',!0x1),_0x7f0de7(this,_0x274bde(0x1ab)),_0x7f0de7(this,_0x274bde(0x34d),''),_0x7f0de7(this,_0x274bde(0xe3),_0x274bde(0x144)),_0x7f0de7(this,_0x274bde(0x2af)),(_0xb3161f&&this[_0x274bde(0x235)](_0xb3161f),this[_0x274bde(0x1c5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x274bde(0x2b3)]['subscribeEvent'](()=>this[_0x274bde(0x235)]({'hovered':!0x1})));}[_0x2a6bec(0x235)](_0x55eb27){const _0x77b1a=_0x2a6bec;var _0x27cd46,_0x4ceb92,_0x5b3693,_0x513f2d,_0x51b957,_0x2ae714;this[_0x77b1a(0x210)]=(_0x27cd46=_0x55eb27[_0x77b1a(0x1d2)])!=null?_0x27cd46:this['_color'],this['_hovered']=(_0x4ceb92=_0x55eb27['hovered'])!=null?_0x4ceb92:this[_0x77b1a(0x29e)],this[_0x77b1a(0x1ab)]=(_0x5b3693=_0x55eb27[_0x77b1a(0x275)])!=null?_0x5b3693:this[_0x77b1a(0x1ab)],this['_name']=(_0x513f2d=_0x55eb27[_0x77b1a(0x200)])!=null?_0x513f2d:this[_0x77b1a(0x34d)],this[_0x77b1a(0xe3)]=(_0x51b957=_0x55eb27['labelPosition'])!=null?_0x51b957:this[_0x77b1a(0xe3)],this[_0x77b1a(0x2af)]=(_0x2ae714=_0x55eb27[_0x77b1a(0x29b)])!=null?_0x2ae714:this[_0x77b1a(0x2af)],this['transformByState']({'width':_0x55eb27[_0x77b1a(0x224)],'height':_0x55eb27[_0x77b1a(0x2b1)]});}[_0x2a6bec(0x2c5)](_0x2dceae){const _0xe69310=_0x2a6bec,{row:_0x1595aa,column:_0x5e943e}=_0x2dceae;if(_0x1595aa>=this[_0xe69310(0x1ab)][_0xe69310(0x120)]&&_0x1595aa<=this['_range'][_0xe69310(0x102)]&&_0x5e943e>=this[_0xe69310(0x1ab)][_0xe69310(0x13b)]&&_0x5e943e<=this['_range']['endColumn']){this[_0xe69310(0x235)]({'hovered':!0x0});return;}this[_0xe69310(0x235)]({'hovered':!0x1});}[_0x2a6bec(0x1af)](_0x4d67df){return!0x1;}[_0x2a6bec(0x19e)](_0x3d8658){const _0x85728f=_0x2a6bec;_0x5af10f['Rect']['drawWith'](_0x3d8658,{'width':this['width'],'height':this[_0x85728f(0x2b1)],'strokeWidth':_0x4ccfc7,'stroke':this[_0x85728f(0x210)],'evented':!0x1,'fill':this[_0x85728f(0x2af)]}),this[_0x85728f(0x29e)]&&(_0x3d8658[_0x85728f(0x2ea)](),_0x3d8658['transform'](0x1,0x0,0x0,0x1,this[_0x85728f(0x224)],this[_0x85728f(0xe3)]===_0x85728f(0x351)?0x0:-0x14),_0x5b4809[_0x85728f(0x1e7)](_0x3d8658,{'text':this['_name'],'color':this[_0x85728f(0x210)]}),_0x3d8658[_0x85728f(0x1e1)]());}}var _0x26fb2d=Object['getOwnPropertyDescriptor'],_0x40e29b=(_0x237562,_0x2dadec,_0x14b87b,_0x51a30d)=>{for(var _0x529d88=_0x51a30d>0x1?void 0x0:_0x51a30d?_0x26fb2d(_0x2dadec,_0x14b87b):_0x2dadec,_0x131ad5=_0x237562['length']-0x1,_0x4ddf3b;_0x131ad5>=0x0;_0x131ad5--)(_0x4ddf3b=_0x237562[_0x131ad5])&&(_0x529d88=_0x4ddf3b(_0x529d88)||_0x529d88);return _0x529d88;},_0x27ab4d=(_0x3c8aa7,_0x2a9689)=>(_0x5e8085,_0x4b5c02)=>_0x2a9689(_0x5e8085,_0x4b5c02,_0x3c8aa7);const _0x289d1f=0x1389;let _0x21a66f=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0xb05f,_0x270bbb,_0x46e53d,_0x21f7eb){const _0x29580b=_0x2a6bec;super(),_0x7f0de7(this,'_cursors',new Set()),_0x7f0de7(this,_0x29580b(0x187),null),(this[_0x29580b(0x2e8)]=_0xb05f,this[_0x29580b(0x101)]=_0x270bbb,this[_0x29580b(0x100)]=_0x46e53d,this[_0x29580b(0x329)]=_0x21f7eb,this[_0x29580b(0x1b8)]());}[_0x2a6bec(0x1b8)](){const _0x169ae5=_0x2a6bec;this['_sheetSkeletonManagerService'][_0x169ae5(0xd0)]['pipe'](_0xaa0c1c[_0x169ae5(0x1ef)](this[_0x169ae5(0x332)]),_0xaa0c1c[_0x169ae5(0x2c6)](_0x2ac7fe=>{const _0x1e81c0=_0x169ae5;if(_0x2ac7fe){const _0x3ab2f1=_0x2ac7fe['sheetId'];return _0x599c52['combineLatest'](this[_0x1e81c0(0x100)][_0x1e81c0(0x25f)](this[_0x1e81c0(0x2e8)][_0x1e81c0(0x24b)]),this[_0x1e81c0(0x329)][_0x1e81c0(0x23c)])['pipe'](_0xaa0c1c['map'](([_0x25f386,_0x865abb])=>{const _0xd6c220=new Map();return _0x25f386['forEach']((_0x35b022,_0x3405ec)=>{const _0x1bc746=_0x5997;if(_0x35b022[_0x1bc746(0x2e3)]===_0x3ab2f1){const _0x6d7730={..._0x35b022};_0x6d7730[_0x1bc746(0x1d2)]=_0x865abb[_0x35b022['color']],_0xd6c220[_0x1bc746(0x1bd)](_0x3405ec,_0x6d7730);}}),{'skeleton':_0x2ac7fe,'cursors':_0xd6c220};}));}return _0x599c52['of']({'skeleton':null,'cursors':new Map()});}))[_0x169ae5(0x250)](({skeleton:_0x39b540,cursors:_0x52702e})=>{const _0x2e8077=_0x169ae5;this[_0x2e8077(0x2e0)](),_0x39b540&&this[_0x2e8077(0x16c)](_0x39b540,_0x52702e);}),this['_sheetSkeletonManagerService'][_0x169ae5(0xd0)][_0x169ae5(0x250)](_0x25ea38=>{const _0x1ac924=_0x169ae5;if(_0x25ea38==null)return;const {skeleton:_0xb79169}=_0x25ea38,{scene:_0x42fbc6}=this[_0x1ac924(0x2e8)];_0x42fbc6[_0x1ac924(0x141)]['subscribeEvent'](_0x42e0e7['debounce'](_0x108880=>{const _0x3c1433=_0x1ac924;var _0x38020c,_0x464942;const {offsetX:_0x2dcb5b,offsetY:_0x4fadd1}=_0x108880,{x:_0x1f3b36,y:_0x107061}=_0x42fbc6[_0x3c1433(0x265)](_0x5af10f[_0x3c1433(0x161)]['FromArray']([_0x2dcb5b,_0x4fadd1])),{scaleX:_0x370203,scaleY:_0x20aeec}=_0x42fbc6['getAncestorScale'](),_0x318096=_0x42fbc6[_0x3c1433(0x226)](_0x5af10f[_0x3c1433(0x325)][_0x3c1433(0x148)]),_0xd6e4ca=_0x42fbc6[_0x3c1433(0x322)](_0x5af10f['Vector2'][_0x3c1433(0x35d)]([_0x1f3b36,_0x107061]),_0x318096),_0x5390de=_0xb79169[_0x3c1433(0x2c8)](_0x2dcb5b,_0x4fadd1,_0x370203,_0x20aeec,_0xd6e4ca);((_0x38020c=this[_0x3c1433(0x187)])==null?void 0x0:_0x38020c[_0x3c1433(0x2ba)])===_0x5390de[_0x3c1433(0x2ba)]&&((_0x464942=this['_lastPointer'])==null?void 0x0:_0x464942[_0x3c1433(0x2c3)])===_0x5390de['row']||this[_0x3c1433(0x15b)][_0x3c1433(0xe6)](_0x212089=>{_0x212089['onMouseMove'](_0x5390de);});},0x64));});}[_0x2a6bec(0x16c)](_0x5f3deb,_0x2b79a9){const _0x539a59=_0x2a6bec;var _0x10d5a0;const _0x16cd41=(_0x10d5a0=this['_sheetSkeletonManagerService'][_0x539a59(0x1b4)]())==null?void 0x0:_0x10d5a0[_0x539a59(0x21d)];if(!_0x16cd41)return;const _0x30f698=this[_0x539a59(0x181)]();if(!_0x30f698)return;this['_cursors'][_0x539a59(0xe6)](_0x3c3aa8=>{_0x3c3aa8['makeDirty']();});const {scene:_0x26e531}=_0x30f698,_0x25c960=_0x475956(Array[_0x539a59(0x138)](_0x2b79a9['values']()))[_0x539a59(0x324)](_0x64d65c=>{const _0x2b98f4=_0x539a59,{color:_0x4a9700,range:_0x58aab9,name:_0xe95815,selection:_0x501a87,sheetID:_0x3ef228}=_0x64d65c,{startColumn:_0x2e2721,startRow:_0x1ff994,endColumn:_0x9256d1,endRow:_0x2d6af7}=_0x58aab9,_0x374370=_0x572da5[_0x2b98f4(0x1ac)](_0x1ff994,_0x2e2721,_0x26e531,_0x16cd41),_0x148837=_0x572da5[_0x2b98f4(0x1ac)](_0x2d6af7,_0x9256d1,_0x26e531,_0x16cd41),{columnHeaderHeightAndMarginTop:_0x43fd80}=_0x16cd41,{startX:_0x59c737,startY:_0xe98468}=_0x374370,{endX:_0x199a7f,endY:_0x3e46c6}=_0x148837,_0x53209a=_0x199a7f-_0x59c737,_0x393cef=_0x3e46c6-_0xe98468,_0x3ef806={'labelPosition':_0xe98468-_0x43fd80>=_0x5a55c0?_0x2b98f4(0x144):'bottom','sheetID':_0x3ef228,'range':_0x58aab9,'color':_0x4a9700,'name':_0xe95815,'selection':_0x501a87,'left':_0x59c737,'top':_0xe98468,'width':_0x53209a,'height':_0x393cef,'evented':!0x1,'zIndex':_0x289d1f};return new _0x2bc6e2(_0xe95815,_0x3ef806);});_0x26e531['addObjects'](_0x25c960,_0x17a968),this[_0x539a59(0x15b)]=new Set(_0x25c960);}[_0x2a6bec(0x2e0)](){const _0x57d1f0=_0x2a6bec;var _0x8c6bdc;(_0x8c6bdc=this[_0x57d1f0(0x15b)])==null||_0x8c6bdc['forEach'](_0x3715ed=>_0x3715ed[_0x57d1f0(0x336)]());}[_0x2a6bec(0x181)](){const _0xca2973=_0x2a6bec;return _0x572da5[_0xca2973(0x231)](this['_context'][_0xca2973(0x107)],this[_0xca2973(0x2e8)]);}};_0x21a66f=_0x40e29b([_0x27ab4d(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x572da5[_0x2a6bec(0x17d)])),_0x27ab4d(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x465ed4)),_0x27ab4d(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x175)]))],_0x21a66f);function _0x475956(_0x40c58d){const _0xee02f5=_0x2a6bec,_0x4a7eb4=new Map();return _0x40c58d[_0xee02f5(0xe6)](_0x17a48c=>{const _0x482d89=_0xee02f5;if(_0x4a7eb4['has'](_0x17a48c[_0x482d89(0x213)])){const _0x5481e0=_0x4a7eb4[_0x482d89(0x24f)](_0x17a48c[_0x482d89(0x213)]);_0x5481e0[_0x482d89(0x200)]+=',\x20'+_0x17a48c['name'];}else _0x4a7eb4[_0x482d89(0x1bd)](_0x17a48c[_0x482d89(0x213)],_0x17a48c);}),Array[_0xee02f5(0x138)](_0x4a7eb4[_0xee02f5(0x13a)]());}var _0x29696b=function(){const _0x329c56=_0x2a6bec;return _0x29696b=Object[_0x329c56(0x31a)]||function(_0x144af4){const _0x54ca59=_0x329c56;for(var _0x7b72cb,_0x53fee1=0x1,_0x24886a=arguments[_0x54ca59(0x1ad)];_0x53fee1<_0x24886a;_0x53fee1++){_0x7b72cb=arguments[_0x53fee1];for(var _0x5aa45e in _0x7b72cb)Object[_0x54ca59(0x239)][_0x54ca59(0x212)][_0x54ca59(0x139)](_0x7b72cb,_0x5aa45e)&&(_0x144af4[_0x5aa45e]=_0x7b72cb[_0x5aa45e]);}return _0x144af4;},_0x29696b['apply'](this,arguments);},_0x11b57d=function(_0x260fe3,_0x445cb8){const _0x5cdcae=_0x2a6bec;var _0x2fd2c4={};for(var _0x4707e8 in _0x260fe3)Object[_0x5cdcae(0x239)][_0x5cdcae(0x212)][_0x5cdcae(0x139)](_0x260fe3,_0x4707e8)&&_0x445cb8[_0x5cdcae(0x259)](_0x4707e8)<0x0&&(_0x2fd2c4[_0x4707e8]=_0x260fe3[_0x4707e8]);if(_0x260fe3!=null&&typeof Object[_0x5cdcae(0x1f3)]==_0x5cdcae(0x2ef)){for(var _0x21fafe=0x0,_0x4707e8=Object[_0x5cdcae(0x1f3)](_0x260fe3);_0x21fafe<_0x4707e8[_0x5cdcae(0x1ad)];_0x21fafe++)_0x445cb8['indexOf'](_0x4707e8[_0x21fafe])<0x0&&Object['prototype'][_0x5cdcae(0x316)][_0x5cdcae(0x139)](_0x260fe3,_0x4707e8[_0x21fafe])&&(_0x2fd2c4[_0x4707e8[_0x21fafe]]=_0x260fe3[_0x4707e8[_0x21fafe]]);}return _0x2fd2c4;},_0x85ab83=_0x45b8be[_0x2a6bec(0x174)](function(_0x3d1a09,_0x354483){const _0xcb37e7=_0x2a6bec;var _0x129144=_0x3d1a09[_0xcb37e7(0x219)],_0x449f57=_0x3d1a09['id'],_0x440f75=_0x3d1a09[_0xcb37e7(0xda)],_0x25f123=_0x3d1a09['extend'],_0xba791c=_0x11b57d(_0x3d1a09,['icon','id',_0xcb37e7(0xda),_0xcb37e7(0x1b6)]),_0x561cfa=_0xcb37e7(0x1e9)[_0xcb37e7(0x277)](_0x449f57,'\x20')[_0xcb37e7(0x277)](_0x440f75||'')[_0xcb37e7(0xdb)](),_0x55adee=_0x45b8be[_0xcb37e7(0x117)]('_'[_0xcb37e7(0x277)](_0xda1888()));return _0x587f88(_0x129144,''[_0xcb37e7(0x277)](_0x449f57),{'defIds':_0x129144[_0xcb37e7(0x25b)],'idSuffix':_0x55adee[_0xcb37e7(0x315)]},_0x29696b({'ref':_0x354483,'className':_0x561cfa},_0xba791c),_0x25f123);});function _0x587f88(_0x39ae74,_0x30cb71,_0x1c3d89,_0xf206f3,_0x24c3dd){const _0x32f749=_0x2a6bec;return _0x45b8be[_0x32f749(0x186)](_0x39ae74[_0x32f749(0x300)],_0x29696b(_0x29696b({'key':_0x30cb71},_0x3f1684(_0x39ae74,_0x1c3d89,_0x24c3dd)),_0xf206f3),(_0x414b17(_0x39ae74,_0x1c3d89)[_0x32f749(0x2a4)]||[])['map'](function(_0x184fda,_0x23d4d4){const _0x9b5555=_0x32f749;return _0x587f88(_0x184fda,''['concat'](_0x30cb71,'-')[_0x9b5555(0x277)](_0x39ae74['tag'],'-')[_0x9b5555(0x277)](_0x23d4d4),_0x1c3d89,void 0x0,_0x24c3dd);}));}function _0x3f1684(_0x2c27b9,_0x324228,_0x4fd6e5){const _0xd6f132=_0x2a6bec;var _0x33e46c=_0x29696b({},_0x2c27b9[_0xd6f132(0x142)]);_0x4fd6e5!=null&&_0x4fd6e5[_0xd6f132(0x1cb)]&&_0x33e46c[_0xd6f132(0x2a9)]==='colorChannel1'&&(_0x33e46c[_0xd6f132(0x2a9)]=_0x4fd6e5[_0xd6f132(0x1cb)]),_0x2c27b9[_0xd6f132(0x300)]===_0xd6f132(0x10a)&&_0x33e46c['id']&&(_0x33e46c['id']=_0x33e46c['id']+_0x324228[_0xd6f132(0x1f1)]),Object['entries'](_0x33e46c)[_0xd6f132(0xe6)](function(_0x23d71e){const _0x14d0b8=_0xd6f132;var _0x37614b=_0x23d71e[0x0],_0x1c1e8f=_0x23d71e[0x1];_0x37614b==='mask'&&typeof _0x1c1e8f==_0x14d0b8(0x2fc)&&(_0x33e46c[_0x37614b]=_0x1c1e8f[_0x14d0b8(0x2d4)](/url\(#(.*)\)/,_0x14d0b8(0x299)['concat'](_0x324228[_0x14d0b8(0x1f1)],')')));});var _0x9c96e8=_0x324228[_0xd6f132(0x25b)];return!_0x9c96e8||_0x9c96e8[_0xd6f132(0x1ad)]===0x0||(_0x2c27b9['tag']===_0xd6f132(0x2c7)&&_0x33e46c[_0xd6f132(0x30b)]&&(_0x33e46c[_0xd6f132(0x30b)]=_0x33e46c['xlink:href']+_0x324228[_0xd6f132(0x1f1)]),Object['entries'](_0x33e46c)[_0xd6f132(0xe6)](function(_0xf950ac){const _0x19d826=_0xd6f132;var _0x1bba39=_0xf950ac[0x0],_0x51ddc0=_0xf950ac[0x1];typeof _0x51ddc0=='string'&&(_0x33e46c[_0x1bba39]=_0x51ddc0[_0x19d826(0x2d4)](/url\(#(.*)\)/,_0x19d826(0x299)[_0x19d826(0x277)](_0x324228['idSuffix'],')')));})),_0x33e46c;}function _0x414b17(_0x5330d7,_0x42a980){const _0x3293fc=_0x2a6bec;var _0xb19eaa,_0x1eb7c7=_0x42a980[_0x3293fc(0x25b)];return!_0x1eb7c7||_0x1eb7c7['length']===0x0?_0x5330d7:_0x5330d7[_0x3293fc(0x300)]===_0x3293fc(0x11a)&&(!((_0xb19eaa=_0x5330d7['children'])===null||_0xb19eaa===void 0x0)&&_0xb19eaa[_0x3293fc(0x1ad)])?_0x29696b(_0x29696b({},_0x5330d7),{'children':_0x5330d7['children'][_0x3293fc(0x324)](function(_0xba4e53){const _0x5f3dd4=_0x3293fc;return typeof _0xba4e53['attrs']['id']==_0x5f3dd4(0x2fc)&&_0x1eb7c7&&_0x1eb7c7[_0x5f3dd4(0x259)](_0xba4e53[_0x5f3dd4(0x142)]['id'])>-0x1?_0x29696b(_0x29696b({},_0xba4e53),{'attrs':_0x29696b(_0x29696b({},_0xba4e53[_0x5f3dd4(0x142)]),{'id':_0xba4e53[_0x5f3dd4(0x142)]['id']+_0x42a980['idSuffix']})}):_0xba4e53;})}):_0x5330d7;}function _0xda1888(){const _0x18e88c=_0x2a6bec;return Math[_0x18e88c(0x215)]()[_0x18e88c(0xf0)](0x24)['substring'](0x2,0x8);}_0x85ab83[_0x2a6bec(0x26a)]=_0x2a6bec(0x197);var _0xd7e2e9={'tag':'svg','attrs':{'fill':_0x2a6bec(0xe8),'viewBox':_0x2a6bec(0x20b),'width':_0x2a6bec(0x2b8),'height':_0x2a6bec(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6bec(0x1cf)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'stroke':'currentColor','d':_0x2a6bec(0x1ae),'strokeLinecap':_0x2a6bec(0x1ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a6bec(0x11a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a6bec(0x252)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'fill':_0x2a6bec(0x2ff),'d':_0x2a6bec(0x2d5)}}]}]}],'defIds':[_0x2a6bec(0x252)]},_0x175dd5=_0x45b8be[_0x2a6bec(0x174)](function(_0x466de2,_0x3820ec){const _0xa97973=_0x2a6bec;return _0x45b8be[_0xa97973(0x186)](_0x85ab83,Object[_0xa97973(0x31a)]({},_0x466de2,{'id':_0xa97973(0x345),'ref':_0x3820ec,'icon':_0xd7e2e9}));});_0x175dd5[_0x2a6bec(0x26a)]=_0x2a6bec(0x23e);var _0x1771df={'tag':_0x2a6bec(0x263),'attrs':{'fill':_0x2a6bec(0xe8),'viewBox':_0x2a6bec(0xe4),'width':'1em','height':_0x2a6bec(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6bec(0x135)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'stroke':'currentColor','d':_0x2a6bec(0x349),'strokeLinecap':_0x2a6bec(0x1ba),'strokeLinejoin':_0x2a6bec(0x1ba),'strokeWidth':1.2}}]},{'tag':_0x2a6bec(0x11a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a6bec(0x2ff),'d':_0x2a6bec(0x2d5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2a6bec(0xe5)]},_0x491eda=_0x45b8be[_0x2a6bec(0x174)](function(_0x1356d7,_0xf90d09){const _0x5041f7=_0x2a6bec;return _0x45b8be[_0x5041f7(0x186)](_0x85ab83,Object[_0x5041f7(0x31a)]({},_0x1356d7,{'id':'on-line-single','ref':_0xf90d09,'icon':_0x1771df}));});_0x491eda[_0x2a6bec(0x26a)]=_0x2a6bec(0x331);const _0x3774ef={'onlineStatusIcon':_0x2a6bec(0x21b),'onlineStatusTitle':_0x2a6bec(0x137),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x2a6bec(0x1c3)};function _0x431e64(_0xf414fc){const _0x1a01e2=_0x2a6bec;switch(_0xf414fc){case _0x3a040d['CollaborationStatus'][_0x1a01e2(0x1fa)]:return _0x1a01e2(0x344);case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x343)]:return _0x1a01e2(0x22c);case _0x3a040d[_0x1a01e2(0x11e)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x157)]:return _0x1a01e2(0x1d7);case _0x3a040d[_0x1a01e2(0x11e)]['AWAITING']:case _0x3a040d[_0x1a01e2(0x11e)]['AWAITING_WITH_PENDING']:return _0x1a01e2(0x247);case _0x3a040d[_0x1a01e2(0x11e)]['SYNCED']:case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x165)]:return _0x1a01e2(0x216);}}function _0x17cef4(_0x11c27f){const _0x130ded=_0x2a6bec,{status$:_0x1be642}=_0x11c27f,_0x5a474c=_0x5549db['useObservable'](_0x1be642,_0x3a040d[_0x130ded(0x11e)][_0x130ded(0x157)]),_0x527d9f=_0x5549db[_0x130ded(0x270)](_0x42e0e7[_0x130ded(0x341)]),_0x285d43=_0x5549db[_0x130ded(0x270)](_0x3a040d[_0x130ded(0x233)]),_0x1254e4=_0x5a474c!==_0x3a040d['CollaborationStatus'][_0x130ded(0x1fa)],_0xcd9183=_0x527d9f['t'](_0x431e64(_0x5a474c)),_0x539bb4=_0x59cf3e[_0x130ded(0x2c2)](_0x3774ef[_0x130ded(0x2f9)],{[_0x3774ef[_0x130ded(0x1ee)]]:_0x1254e4,[_0x3774ef[_0x130ded(0x301)]]:!_0x1254e4}),_0x5857ca=_0x1254e4?_0x5098f5[_0x130ded(0x253)](_0x491eda,{}):_0x5098f5[_0x130ded(0x253)](_0x175dd5,{}),_0x2c2faa=_0x45b8be['useCallback'](()=>{const _0x48e238=_0x130ded;_0x1254e4||_0x285d43[_0x48e238(0x115)]();},[_0x1254e4,_0x285d43]);function _0x38b8e0(){const _0x524e36=_0x130ded;return _0x5098f5[_0x524e36(0x2f2)](_0x524e36(0x21e),{'className':_0x59cf3e[_0x524e36(0x2c2)](_0x539bb4,_0x524e36(0x356)),'onClick':_0x2c2faa,'children':[_0x5098f5['jsx']('div',{'className':_0x3774ef[_0x524e36(0x2dd)],'children':_0x5857ca}),_0x5098f5[_0x524e36(0x253)](_0x524e36(0x21e),{'className':_0x3774ef[_0x524e36(0x1b1)],'children':_0xcd9183})]});}return _0x1254e4?_0x38b8e0():_0x5098f5[_0x130ded(0x253)](_0x59cf3e['Tooltip'],{'title':_0x527d9f['t'](_0x130ded(0x31e)),'children':_0x38b8e0()});}var _0x2b3210=Object[_0x2a6bec(0x333)],_0x38baa6=(_0x2e666b,_0x156d7a,_0x43e2ec,_0x553627)=>{for(var _0x342fb9=_0x553627>0x1?void 0x0:_0x553627?_0x2b3210(_0x156d7a,_0x43e2ec):_0x156d7a,_0x4b9ff9=_0x2e666b['length']-0x1,_0x362773;_0x4b9ff9>=0x0;_0x4b9ff9--)(_0x362773=_0x2e666b[_0x4b9ff9])&&(_0x342fb9=_0x362773(_0x342fb9)||_0x342fb9);return _0x342fb9;},_0x179e1e=(_0x5f4408,_0x2d5a63)=>(_0x3b62f2,_0x33966e)=>_0x2d5a63(_0x3b62f2,_0x33966e,_0x5f4408);_0x57b4ed['DesktopCollaborationStatusDisplayController']=class extends _0x42e0e7['Disposable']{constructor(_0x125aae,_0xcb2141,_0x189250,_0x1c90f0){const _0x854e21=_0x2a6bec;super(),_0x7f0de7(this,'_status$',new _0x599c52['BehaviorSubject'](_0x3a040d[_0x854e21(0x11e)][_0x854e21(0x157)])),(this['_univerInstanceService']=_0x125aae,this['_injector']=_0xcb2141,this[_0x854e21(0xd9)]=_0x189250,this[_0x854e21(0x346)]=_0x1c90f0,this['_initStatusComponent'](),this[_0x854e21(0xfc)]());}[_0x2a6bec(0xfc)](){const _0x660c11=_0x2a6bec;this[_0x660c11(0x133)](this[_0x660c11(0x18e)][_0x660c11(0xf7)]['pipe'](_0x599c52[_0x660c11(0x2c6)](()=>{const _0x1ebb50=_0x660c11,_0x36936b=this['_univerInstanceService'][_0x1ebb50(0x173)]();return _0x36936b?this[_0x1ebb50(0xd9)][_0x1ebb50(0x2a8)](_0x36936b[_0x1ebb50(0x225)]()):_0x599c52['of'](null);}),_0x599c52['switchMap'](_0x5e8f4c=>_0x5e8f4c?_0x5e8f4c[_0x660c11(0x296)]:_0x599c52['of'](_0x3a040d['CollaborationStatus'][_0x660c11(0x157)])))[_0x660c11(0x250)](_0x9c0910=>{const _0x1f749f=_0x660c11;this['_status$'][_0x1f749f(0xd5)](_0x9c0910);}));}[_0x2a6bec(0x116)](){const _0x1ac0ce=_0x2a6bec;this[_0x1ac0ce(0x133)](this[_0x1ac0ce(0x346)]['registerComponent'](_0x5549db[_0x1ac0ce(0x1f7)][_0x1ac0ce(0x28f)],()=>_0x5549db[_0x1ac0ce(0x111)](_0x181457({'status$':this[_0x1ac0ce(0x198)][_0x1ac0ce(0x27b)]()}),this[_0x1ac0ce(0x33b)])));}},_0x57b4ed[_0x2a6bec(0x122)]=_0x38baa6([_0x179e1e(0x0,_0x42e0e7['IUniverInstanceService']),_0x179e1e(0x1,_0x42e0e7['Inject'](_0x42e0e7['Injector'])),_0x179e1e(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1fd)])),_0x179e1e(0x3,_0x5549db['IUIPartsService'])],_0x57b4ed['DesktopCollaborationStatusDisplayController']);function _0x181457(_0x4f6c05){const {status$:_0x14085e}=_0x4f6c05;return function(){const _0x224f21=_0x5997;return _0x5098f5[_0x224f21(0x253)](_0x17cef4,{'status$':_0x14085e});};}var _0x2bf0fb=Object[_0x2a6bec(0x333)],_0x22d3c0=(_0x15d27f,_0x1176fd,_0x32b60c,_0x1f5e9a)=>{const _0xd1e6b0=_0x2a6bec;for(var _0x12f0cb=_0x1f5e9a>0x1?void 0x0:_0x1f5e9a?_0x2bf0fb(_0x1176fd,_0x32b60c):_0x1176fd,_0x70b9b=_0x15d27f[_0xd1e6b0(0x1ad)]-0x1,_0xc8146a;_0x70b9b>=0x0;_0x70b9b--)(_0xc8146a=_0x15d27f[_0x70b9b])&&(_0x12f0cb=_0xc8146a(_0x12f0cb)||_0x12f0cb);return _0x12f0cb;},_0xa778a7=(_0x1e624f,_0x267f92)=>(_0xab7183,_0x1281c5)=>_0x267f92(_0xab7183,_0x1281c5,_0x1e624f);let _0x2a8026=class extends _0x42e0e7['Disposable']{constructor(_0x10a495,_0x297c5a,_0x55ce33,_0x504149,_0x2b05f7,_0x52900b){const _0x2b9f30=_0x2a6bec;super(),this['_beforeCloseService']=_0x10a495,this[_0x2b9f30(0x1dd)]=_0x297c5a,this[_0x2b9f30(0x251)]=_0x55ce33,this[_0x2b9f30(0x278)]=_0x504149,this[_0x2b9f30(0x2a5)]=_0x2b05f7,this[_0x2b9f30(0x1bc)]=_0x52900b,this['_setupBeforeClosingHandler'](),this[_0x2b9f30(0x1f0)]();}[_0x2a6bec(0x2e6)](){const _0x4beae8=_0x2a6bec;this[_0x4beae8(0x133)](this[_0x4beae8(0x2d1)][_0x4beae8(0x276)](()=>{const _0x98d4a4=_0x4beae8;if(this[_0x98d4a4(0x1dd)]['saveTaskMap'][_0x98d4a4(0x2f5)])return this[_0x98d4a4(0x1bc)]['t'](_0x98d4a4(0x26e));}));}[_0x2a6bec(0x1f0)](){const _0x407a9b=_0x2a6bec;this[_0x407a9b(0x133)](this[_0x407a9b(0x251)]['event$'][_0x407a9b(0x250)](_0x24e482=>{const _0x4d891d=_0x407a9b;_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x288)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x24e482['id']===_0x3a040d['CollaborationUIEventId'][_0x4d891d(0x237)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType'][_0x4d891d(0x28a)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x256))}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x203)]&&this[_0x4d891d(0x2a5)][_0x4d891d(0x1a0)]({'title':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x2b0)),'content':this['_localeService']['t'](_0x4d891d(0x12c)),'type':_0x4d891d(0x285),'duration':0x0}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x343)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x289)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x256))+'('+_0x24e482[_0x4d891d(0x190)]+')'}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x2b5)]&&this[_0x4d891d(0x278)]['show']({'type':_0x59cf3e[_0x4d891d(0x287)]['Warning'],'content':this[_0x4d891d(0x1bc)]['t'](_0x24e482[_0x4d891d(0x190)]||'')}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x109)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x28a)],'content':this['_localeService']['t']('session.will-retry')}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x2f8)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType'][_0x4d891d(0x289)],'content':this['_localeService']['t']('session.connection-failed')}),_0x24e482['id']===_0x3a040d['CollaborationUIEventId'][_0x4d891d(0x182)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x289)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x172))});}));}};_0x2a8026=_0x22d3c0([_0xa778a7(0x0,_0x5549db[_0x2a6bec(0x1e8)]),_0xa778a7(0x1,_0x3a040d[_0x2a6bec(0x1fe)]),_0xa778a7(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1bf)])),_0xa778a7(0x3,_0x5549db['IMessageService']),_0xa778a7(0x4,_0x5549db['INotificationService']),_0xa778a7(0x5,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x341)]))],_0x2a8026);const _0x38c58e=_0x2a6bec(0x2ce),_0x15020a={},_0x5254f2=_0x42e0e7[_0x2a6bec(0x35c)]('uni.network.url-service');var _0x269437=Object['getOwnPropertyDescriptor'],_0x49388d=(_0x267e1b,_0x18b922,_0x436eac,_0x819e2a)=>{for(var _0x419cc4=_0x819e2a>0x1?void 0x0:_0x819e2a?_0x269437(_0x18b922,_0x436eac):_0x18b922,_0x489745=_0x267e1b['length']-0x1,_0x4512e1;_0x489745>=0x0;_0x489745--)(_0x4512e1=_0x267e1b[_0x489745])&&(_0x419cc4=_0x4512e1(_0x419cc4)||_0x419cc4);return _0x419cc4;},_0x52a5c0=(_0x553731,_0x1eca85)=>(_0x118a27,_0x1a333d)=>_0x1eca85(_0x118a27,_0x1a333d,_0x553731);_0x57b4ed[_0x2a6bec(0x317)]=class extends _0x42e0e7['RxDisposable']{constructor(_0x5b584d,_0x47b68b,_0x17bad0,_0x36a3da,_0x2e396e){const _0x3ef207=_0x2a6bec;super(),this[_0x3ef207(0x1c9)]=_0x5b584d,this[_0x3ef207(0x202)]=_0x47b68b,this[_0x3ef207(0x34f)]=_0x17bad0,this[_0x3ef207(0x22a)]=_0x36a3da,_0x2e396e?_0x2e396e==null||_0x2e396e['whenReady']()['then'](()=>this[_0x3ef207(0x1b8)]()):(this['_logService']['debug'](_0x3ef207(0x2b6),_0x3ef207(0x30c)),this['_init']());}async[_0x2a6bec(0x1b8)](){const _0x2e687c=_0x2a6bec,_0x3396e5=this[_0x2e687c(0x1c9)][_0x2e687c(0x110)](_0x2e687c(0x107)),_0x5a0adb=this['_urlService'][_0x2e687c(0x110)]('type'),_0x1fc1ef=this[_0x2e687c(0x1c9)][_0x2e687c(0x110)]('subunit');if(!_0x3396e5||!_0x5a0adb){this[_0x2e687c(0x202)][_0x2e687c(0x26d)]('[CollaborationDataLoaderController]',_0x2e687c(0x352));return;}const _0x3d0f2a=await this['_dataLoaderService'][_0x2e687c(0x204)](_0x3396e5,Number(_0x5a0adb),_0x1fc1ef);_0x3d0f2a&&_0x3d0f2a instanceof _0x42e0e7[_0x2e687c(0x262)]&&this[_0x2e687c(0x227)](_0x3d0f2a);}async[_0x2a6bec(0x227)](_0x1a44c5){const _0x521881=_0x2a6bec;await this[_0x521881(0x2bc)](_0x1a44c5),_0x1a44c5['activeSheet$'][_0x521881(0x27f)](_0x599c52[_0x521881(0x1ef)](this['dispose$']))[_0x521881(0x250)](_0x590cfd=>{const _0x358776=_0x521881;_0x590cfd&&this[_0x358776(0x2a7)](_0x590cfd);}),this['_urlService']['urlChange$'][_0x521881(0x27f)](_0x599c52[_0x521881(0x1ef)](this[_0x521881(0x332)]))[_0x521881(0x250)](()=>this[_0x521881(0x2bc)](_0x1a44c5));}[_0x2a6bec(0x2a7)](_0x45da17,_0x74dd60=!0x1){const _0x469ec1=_0x2a6bec,_0x297703=this['_urlService'][_0x469ec1(0x110)]('subunit');_0x45da17[_0x469ec1(0x131)]()!==_0x297703&&this['_urlService'][_0x469ec1(0x218)](_0x469ec1(0x2cc),_0x45da17['getSheetId'](),_0x74dd60);}async[_0x2a6bec(0x2bc)](_0x4b858d){const _0xf3346b=_0x2a6bec;var _0x284fd9;const _0x1c7eb9=this['_urlService'][_0xf3346b(0x110)](_0xf3346b(0x2cc));if(!_0x1c7eb9||!_0x4b858d[_0xf3346b(0x2f0)](_0x1c7eb9)){const _0x22f7dd=_0x4b858d['getUnhiddenWorksheets']()[0x0],_0x25a6f9=_0x4b858d[_0xf3346b(0x2f0)](_0x22f7dd);if(!_0x25a6f9)return;this[_0xf3346b(0x2a7)](_0x25a6f9,!0x0),await this[_0xf3346b(0x34f)][_0xf3346b(0x1a2)](_0x51eb6e[_0xf3346b(0x2ec)]['id'],{'unitId':_0x4b858d['getUnitId'](),'subUnitId':_0x22f7dd});return;}((_0x284fd9=_0x4b858d['getActiveSheet']())==null?void 0x0:_0x284fd9[_0xf3346b(0x131)]())!==_0x1c7eb9&&await this[_0xf3346b(0x34f)][_0xf3346b(0x1a2)](_0x51eb6e['SetWorksheetActivateCommand']['id'],{'unitId':_0x4b858d['getUnitId'](),'subUnitId':_0x1c7eb9});}},_0x57b4ed['CollaborationDataLoaderController']=_0x49388d([_0x52a5c0(0x0,_0x5254f2),_0x52a5c0(0x1,_0x42e0e7['ILogService']),_0x52a5c0(0x2,_0x42e0e7['ICommandService']),_0x52a5c0(0x3,_0x42e0e7['Inject'](_0x3a040d[_0x2a6bec(0x243)])),_0x52a5c0(0x4,_0x42e0e7['Optional'](_0x85bd9c[_0x2a6bec(0x31b)]))],_0x57b4ed[_0x2a6bec(0x317)]);var _0xc8978=Object[_0x2a6bec(0x333)],_0x46c8ef=(_0x2c19e7,_0x36bcc1,_0x35e81e,_0x1fe8d7)=>{const _0x5d598e=_0x2a6bec;for(var _0x25e47e=_0x1fe8d7>0x1?void 0x0:_0x1fe8d7?_0xc8978(_0x36bcc1,_0x35e81e):_0x36bcc1,_0x20b88e=_0x2c19e7[_0x5d598e(0x1ad)]-0x1,_0x2757ca;_0x20b88e>=0x0;_0x20b88e--)(_0x2757ca=_0x2c19e7[_0x20b88e])&&(_0x25e47e=_0x2757ca(_0x25e47e)||_0x25e47e);return _0x25e47e;},_0x3b59de=(_0x3a3d66,_0x4f1908)=>(_0xc3ce52,_0x4924bc)=>_0x4f1908(_0xc3ce52,_0x4924bc,_0x3a3d66);let _0x3a8030=class{constructor(_0x84b844,_0x704a94,_0x35ea6f){const _0x469321=_0x2a6bec;this[_0x469321(0x33b)]=_0x84b844,this[_0x469321(0x230)]=_0x704a94,this[_0x469321(0x314)]=_0x35ea6f;}[_0x2a6bec(0x305)](_0x5d7364){const _0x1616ef=_0x2a6bec;this[_0x1616ef(0x31d)](_0x5d7364),this[_0x1616ef(0x2cf)](_0x5d7364);}[_0x2a6bec(0x328)](_0x2ef968){const _0x146e51=_0x2a6bec,{unitID:_0x4b3ec7}=_0x2ef968,_0x385748=this['_renderManagerService'][_0x146e51(0x321)](_0x4b3ec7)['with'](_0x116ef8[_0x146e51(0xd8)]),{redoCache:_0x4488b5}=_0x385748[_0x146e51(0x22f)]();if(_0x4488b5[_0x146e51(0x1ad)]===0x0)return _0x2ef968;let _0x1d1344=_0x42e0e7[_0x146e51(0x339)]['deepClone'](_0x2ef968['mutations'][0x0]);for(let _0x1dc2fc=0x0;_0x1dc2fc<_0x4488b5[_0x146e51(0x1ad)];_0x1dc2fc++){const _0x40bbed={'id':_0x146e51(0x1ed),'params':{..._0x4488b5[_0x1dc2fc]}},_0x5c9663=this[_0x146e51(0x230)][_0x146e51(0x310)](_0x1d1344,_0x40bbed,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x5c9663))throw _0x5c9663['error'];_0x1d1344=_0x5c9663[_0x146e51(0x361)];}return{..._0x42e0e7[_0x146e51(0x339)][_0x146e51(0x1aa)](_0x2ef968),'mutations':[_0x1d1344]};}[_0x2a6bec(0x31d)](_0x38911b){const _0x143eab=_0x2a6bec,{unitID:_0x18d43f}=_0x38911b,_0x6e0982=this[_0x143eab(0x314)][_0x143eab(0x321)](_0x18d43f)[_0x143eab(0x293)](_0x116ef8[_0x143eab(0xd8)]),{undoCache:_0x40b2f9,redoCache:_0x51144d}=_0x6e0982[_0x143eab(0x22f)]();if(_0x40b2f9[_0x143eab(0x1ad)]===0x0||_0x51144d[_0x143eab(0x1ad)]===0x0)return;const _0x5b9d9f=[],_0xb5e3cc=[];let _0x14e6fe=_0x42e0e7[_0x143eab(0x339)]['deepClone'](_0x38911b['mutations'][0x0]),_0x72fb68=_0x42e0e7['Tools']['deepClone'](_0x38911b[_0x143eab(0x167)][0x0]);for(let _0x4eca01=_0x40b2f9[_0x143eab(0x1ad)]-0x1;_0x4eca01>=0x0;_0x4eca01--){const _0x9cca89={'id':'doc.mutation.rich-text-editing','params':{..._0x40b2f9[_0x4eca01]}},_0x24d7e9={'id':_0x143eab(0x1ed),'params':{..._0x51144d[_0x4eca01]}},_0x222842=this[_0x143eab(0x230)][_0x143eab(0x310)](_0x14e6fe,_0x9cca89,!0x1),_0x5c8e50=this['_transformService'][_0x143eab(0x310)](_0x72fb68,_0x24d7e9,!0x1);if(_0x12caed[_0x143eab(0x108)](_0x222842))throw _0x222842[_0x143eab(0x285)];if(_0x12caed['isTransformMutationFailure'](_0x5c8e50))throw _0x5c8e50[_0x143eab(0x285)];_0x5b9d9f['unshift'](_0x222842[_0x143eab(0x35e)][_0x143eab(0x33d)]),_0xb5e3cc[_0x143eab(0xf8)](_0x5c8e50[_0x143eab(0x35e)][_0x143eab(0x33d)]),_0x14e6fe=_0x222842[_0x143eab(0x361)],_0x72fb68=_0x5c8e50['m1Prime'];}_0x6e0982[_0x143eab(0x268)]({'undoCache':_0x5b9d9f,'redoCache':_0xb5e3cc});}[_0x2a6bec(0x2cf)](_0x3c4da9){const _0x4b3647=_0x2a6bec,{unitID:_0x5e8135}=_0x3c4da9,_0x220a44=this[_0x4b3647(0x314)][_0x4b3647(0x321)](_0x5e8135)[_0x4b3647(0x293)](_0x116ef8[_0x4b3647(0xd8)]),_0x708763=_0x220a44[_0x4b3647(0x149)]();if(_0x708763==null)return;const _0x3944fe=[{'id':_0x4b3647(0x1ed),'params':{'unitId':_0x3c4da9['unitID'],'actions':null,'textRanges':[_0x708763]}}],_0x2bd771=this['_transformService']['transformMutationsWithChangeset'](_0x3c4da9,_0x3944fe);if(!_0x12caed[_0x4b3647(0x1f6)](_0x2bd771))throw _0x2bd771['error'];const _0x397d82=_0x2bd771[_0x4b3647(0x35e)][0x0][_0x4b3647(0x33d)][_0x4b3647(0x16f)];Array[_0x4b3647(0x258)](_0x397d82)&&_0x397d82['length']&&_0x220a44[_0x4b3647(0xe7)](_0x397d82[0x0]);}};_0x3a8030=_0x46c8ef([_0x3b59de(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0x3b59de(0x1,_0x12caed[_0x2a6bec(0x12a)]),_0x3b59de(0x2,_0x5af10f['IRenderManagerService'])],_0x3a8030);var _0x52abdb=Object[_0x2a6bec(0x333)],_0x3aab43=(_0x4b27e8,_0xe7f1aa,_0x3e1112,_0x54d0ac)=>{const _0x12eeea=_0x2a6bec;for(var _0x2397c3=_0x54d0ac>0x1?void 0x0:_0x54d0ac?_0x52abdb(_0xe7f1aa,_0x3e1112):_0xe7f1aa,_0x23ada0=_0x4b27e8[_0x12eeea(0x1ad)]-0x1,_0x4cdb20;_0x23ada0>=0x0;_0x23ada0--)(_0x4cdb20=_0x4b27e8[_0x23ada0])&&(_0x2397c3=_0x4cdb20(_0x2397c3)||_0x2397c3);return _0x2397c3;},_0x4ccfe1=(_0x5f049c,_0x5829e5)=>(_0x160452,_0x14aea2)=>_0x5829e5(_0x160452,_0x14aea2,_0x5f049c);let _0xfd3415=class{constructor(_0x4a57c7,_0x21b792,_0x5c9058){const _0x220295=_0x2a6bec;this[_0x220295(0x33b)]=_0x4a57c7,this[_0x220295(0x230)]=_0x21b792,this[_0x220295(0x19d)]=_0x5c9058;}[_0x2a6bec(0x10e)](_0x51b57c){this['_transformHistoryAndStateStack'](_0x51b57c);}[_0x2a6bec(0x328)](_0x54102c){const _0x17274f=_0x2a6bec,{unitID:_0x5c8f52}=_0x54102c,{collaboration:_0x1d3328}=this[_0x17274f(0x19d)][_0x17274f(0x35a)](_0x5c8f52);if(_0x1d3328['length']===0x0)return _0x54102c;let _0x22ab13=_0x42e0e7[_0x17274f(0x339)]['deepClone'](_0x54102c[_0x17274f(0x167)][0x0]);for(let _0x2a9499=0x0;_0x2a9499<_0x1d3328[_0x17274f(0x1ad)];_0x2a9499++){const _0x1eef2c={'id':_0x17274f(0x1ed),'params':{'unitId':_0x1d3328[_0x2a9499][_0x17274f(0x24b)],..._0x1d3328[_0x2a9499][_0x17274f(0x18b)]}},_0x4fab03=this[_0x17274f(0x230)]['transformMutation'](_0x22ab13,_0x1eef2c,!0x1);if(_0x12caed[_0x17274f(0x108)](_0x4fab03))throw _0x4fab03['error'];_0x22ab13=_0x4fab03[_0x17274f(0x361)];}return{..._0x42e0e7[_0x17274f(0x339)]['deepClone'](_0x54102c),'mutations':[_0x22ab13]};}[_0x2a6bec(0x358)](_0x54d856){const _0x9302e9=_0x2a6bec,{unitID:_0x6e8ad7}=_0x54d856,{history:_0x3eee4d,collaboration:_0xa51fe5}=this[_0x9302e9(0x19d)]['getStateCache'](_0x6e8ad7);if(_0x3eee4d[_0x9302e9(0x1ad)]===0x0&&_0xa51fe5['length']===0x0)return;const _0x654de7=[],_0x23b849=[];let _0x3c6844=_0x42e0e7['Tools'][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]),_0x4f0eb2=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]);for(let _0x173b5f=_0x3eee4d['length']-0x1;_0x173b5f>=0x0;_0x173b5f--){const _0x12d371={'id':_0x9302e9(0x1ed),'params':{'unitId':_0x3eee4d[_0x173b5f][_0x9302e9(0x24b)],..._0x3eee4d[_0x173b5f][_0x9302e9(0x2a6)]}},_0x576a05={'id':_0x9302e9(0x1ed),'params':{'unitId':_0x3eee4d[_0x173b5f][_0x9302e9(0x24b)],..._0x3eee4d[_0x173b5f][_0x9302e9(0x18b)]}},_0x30706a=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x3c6844,_0x12d371,!0x1),_0x560ce2=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x4f0eb2,_0x576a05,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x30706a))throw _0x30706a[_0x9302e9(0x285)];if(_0x12caed[_0x9302e9(0x108)](_0x560ce2))throw _0x560ce2['error'];_0x654de7['unshift']({..._0x3eee4d[_0x173b5f],'undoState':_0x30706a[_0x9302e9(0x35e)][_0x9302e9(0x33d)],'redoState':_0x560ce2[_0x9302e9(0x35e)]['params']}),_0x3c6844=_0x30706a[_0x9302e9(0x361)],_0x4f0eb2=_0x560ce2[_0x9302e9(0x361)];}_0x3c6844=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]),_0x4f0eb2=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]);for(let _0x2596c8=_0xa51fe5[_0x9302e9(0x1ad)]-0x1;_0x2596c8>=0x0;_0x2596c8--){const _0x3b07f3={'id':_0x9302e9(0x1ed),'params':{'unitId':_0xa51fe5[_0x2596c8]['unitId'],..._0xa51fe5[_0x2596c8][_0x9302e9(0x2a6)]}},_0xe0bc47={'id':_0x9302e9(0x1ed),'params':{'unitId':_0xa51fe5[_0x2596c8]['unitId'],..._0xa51fe5[_0x2596c8][_0x9302e9(0x18b)]}},_0x237458=this[_0x9302e9(0x230)]['transformMutation'](_0x3c6844,_0x3b07f3,!0x1),_0x1e5310=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x4f0eb2,_0xe0bc47,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x237458))throw _0x237458[_0x9302e9(0x285)];if(_0x12caed[_0x9302e9(0x108)](_0x1e5310))throw _0x1e5310[_0x9302e9(0x285)];_0x23b849[_0x9302e9(0xf8)]({..._0xa51fe5[_0x2596c8],'undoState':_0x237458[_0x9302e9(0x35e)][_0x9302e9(0x33d)],'redoState':_0x1e5310['m2Prime']['params']}),_0x3c6844=_0x237458[_0x9302e9(0x361)],_0x4f0eb2=_0x1e5310['m1Prime'];}this[_0x9302e9(0x19d)][_0x9302e9(0x209)](_0x6e8ad7,{'history':_0x654de7,'collaboration':_0x23b849});}};_0xfd3415=_0x3aab43([_0x4ccfe1(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x4ccfe1(0x1,_0x12caed[_0x2a6bec(0x12a)]),_0x4ccfe1(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x116ef8[_0x2a6bec(0x355)]))],_0xfd3415);var _0x2a1d8e=Object['getOwnPropertyDescriptor'],_0x541089=(_0x44da24,_0x19e48b,_0x1fe3fe,_0x3cc559)=>{const _0x43b39b=_0x2a6bec;for(var _0x5a7105=_0x3cc559>0x1?void 0x0:_0x3cc559?_0x2a1d8e(_0x19e48b,_0x1fe3fe):_0x19e48b,_0x4420e3=_0x44da24[_0x43b39b(0x1ad)]-0x1,_0x5c1fba;_0x4420e3>=0x0;_0x4420e3--)(_0x5c1fba=_0x44da24[_0x4420e3])&&(_0x5a7105=_0x5c1fba(_0x5a7105)||_0x5a7105);return _0x5a7105;},_0xdce4e1=(_0x22361a,_0x3d4432)=>(_0x1438bb,_0x3b4ee2)=>_0x3d4432(_0x1438bb,_0x3b4ee2,_0x22361a);let _0x2dbec8=class{constructor(_0xf61dd2,_0x25028b){const _0x819814=_0x2a6bec;this[_0x819814(0x33b)]=_0xf61dd2,this[_0x819814(0x230)]=_0x25028b;}[_0x2a6bec(0x168)](_0x42040c){const _0x16ff1c=_0x2a6bec;var _0x423266;const _0x24d6d3=this[_0x16ff1c(0x33b)][_0x16ff1c(0x24f)](_0x5c07ea[_0x16ff1c(0x2b4)]),_0x330768=(_0x423266=_0x24d6d3[_0x16ff1c(0xd2)]())!=null?_0x423266:[];if(_0x330768[_0x16ff1c(0x1ad)]===0x0)return;const _0x50a261=_0x42040c[_0x16ff1c(0x31f)],_0x115f4c=[{'id':_0x16ff1c(0x1ed),'params':{'unitId':_0x50a261,'actions':null,'textRanges':_0x330768}}],_0x4bb5b3=this[_0x16ff1c(0x230)]['transformMutationsWithChangeset'](_0x42040c,_0x115f4c);if(!_0x12caed[_0x16ff1c(0x1f6)](_0x4bb5b3))throw _0x4bb5b3['error'];const _0x537bdb=_0x4bb5b3[_0x16ff1c(0x35e)][0x0][_0x16ff1c(0x33d)][_0x16ff1c(0x16f)];Array[_0x16ff1c(0x258)](_0x537bdb)&&_0x537bdb[_0x16ff1c(0x1ad)]&&_0x24d6d3[_0x16ff1c(0x14b)](_0x537bdb,{'unitId':_0x50a261,'subUnitId':_0x50a261},!0x1);}};_0x2dbec8=_0x541089([_0xdce4e1(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0xdce4e1(0x1,_0x12caed[_0x2a6bec(0x12a)])],_0x2dbec8);var _0x460893=Object[_0x2a6bec(0x333)],_0x220eed=(_0x4fd6ec,_0x2cd812,_0x99121d,_0x237401)=>{const _0x1ca1e5=_0x2a6bec;for(var _0x4926fd=_0x237401>0x1?void 0x0:_0x237401?_0x460893(_0x2cd812,_0x99121d):_0x2cd812,_0x1b7b72=_0x4fd6ec[_0x1ca1e5(0x1ad)]-0x1,_0x2d9ea9;_0x1b7b72>=0x0;_0x1b7b72--)(_0x2d9ea9=_0x4fd6ec[_0x1b7b72])&&(_0x4926fd=_0x2d9ea9(_0x4926fd)||_0x4926fd);return _0x4926fd;},_0x2be40b=(_0x5d927c,_0x3b400c)=>(_0x1a2b30,_0x4ca5a2)=>_0x3b400c(_0x1a2b30,_0x4ca5a2,_0x5d927c);let _0x49cb73=class extends _0x42e0e7['Disposable']{constructor(_0x315f59,_0x3f6e39,_0x24a1df,_0x3f0479,_0x189c35,_0x3fe609,_0x404190,_0x1e9efb){const _0xec08c9=_0x2a6bec;super(),_0x7f0de7(this,_0xec08c9(0x198),new _0x599c52['BehaviorSubject'](_0x3a040d[_0xec08c9(0x11e)]['NOT_COLLAB'])),(this[_0xec08c9(0x19d)]=_0x315f59,this['_collaborationController']=_0x3f6e39,this[_0xec08c9(0x286)]=_0x24a1df,this['_docTransformStateCacheService']=_0x3f0479,this[_0xec08c9(0x281)]=_0x189c35,this['_docSyncEditingCollabCursorService']=_0x3fe609,this['_messageService']=_0x404190,this[_0xec08c9(0x1bc)]=_0x1e9efb,this[_0xec08c9(0x282)]());}['_initEntityListener'](){const _0x4e12ea=_0x2a6bec;this[_0x4e12ea(0x133)](this[_0x4e12ea(0xd9)]['entityInit$'][_0x4e12ea(0x250)](_0x286b57=>{const _0x2f86c1=_0x4e12ea,_0xddc268=this[_0x2f86c1(0x19d)]['docStateChange$'][_0x2f86c1(0x250)](_0x354d3d=>{const _0x2e3ee2=_0x2f86c1;if(_0x354d3d==null)return;const {unitId:_0x1b77d2,redoState:_0x519baf,commandId:_0xd7d20a}=_0x354d3d;if(_0x1b77d2!==_0x286b57[_0x2e3ee2(0x31f)])return;const _0x1e9a4f={'id':_0xd7d20a,'type':_0x42e0e7[_0x2e3ee2(0x159)][_0x2e3ee2(0x179)],'params':{'unitId':_0x1b77d2,'actions':_0x519baf[_0x2e3ee2(0x273)],'textRanges':null}};_0x286b57[_0x2e3ee2(0x118)](_0x1e9a4f);});if(_0x286b57[_0x2f86c1(0x133)](_0xddc268),_0x286b57 instanceof _0x3a040d[_0x2f86c1(0x320)]){const _0x375db1={'onTransformIME':_0x281186=>this['_docTransformIMECacheService'][_0x2f86c1(0x305)](_0x281186),'onTransformState':_0x5a8d0b=>this[_0x2f86c1(0x29c)][_0x2f86c1(0x10e)](_0x5a8d0b),'onTransformSelections':_0x2cc42d=>this[_0x2f86c1(0x281)][_0x2f86c1(0x168)](_0x2cc42d),'onSyncEditingCollabCursor':_0x4d6e4e=>this[_0x2f86c1(0x2d2)]['syncEditingCollabCursor'](_0x4d6e4e),'onTransformRemoteChangesetByIMECache':_0x2665eb=>this[_0x2f86c1(0x286)][_0x2f86c1(0x328)](_0x2665eb),'onTransformRemoteChangesetByStateCache':_0x2635d9=>this[_0x2f86c1(0x29c)][_0x2f86c1(0x328)](_0x2635d9)};_0x286b57['addHandlerCallback'](_0x375db1);}}));}};_0x49cb73=_0x220eed([_0x2be40b(0x0,_0x42e0e7['Inject'](_0x116ef8[_0x2a6bec(0x355)])),_0x2be40b(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1fd)])),_0x2be40b(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a8030)),_0x2be40b(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0xfd3415)),_0x2be40b(0x4,_0x42e0e7['Inject'](_0x2dbec8)),_0x2be40b(0x5,_0x42e0e7[_0x2a6bec(0x14e)](_0x7228ba)),_0x2be40b(0x6,_0x5549db['IMessageService']),_0x2be40b(0x7,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x341)]))],_0x49cb73);var _0xa22d8a=Object[_0x2a6bec(0x333)],_0x525491=(_0x67b75,_0xffd2b1,_0x4a3381,_0x2fe4e9)=>{const _0x209246=_0x2a6bec;for(var _0x55f7e3=_0x2fe4e9>0x1?void 0x0:_0x2fe4e9?_0xa22d8a(_0xffd2b1,_0x4a3381):_0xffd2b1,_0x4a2e4f=_0x67b75[_0x209246(0x1ad)]-0x1,_0x9ad065;_0x4a2e4f>=0x0;_0x4a2e4f--)(_0x9ad065=_0x67b75[_0x4a2e4f])&&(_0x55f7e3=_0x9ad065(_0x55f7e3)||_0x55f7e3);return _0x55f7e3;},_0xf7372e=(_0x3f7f35,_0x432508)=>(_0x391779,_0x51810f)=>_0x432508(_0x391779,_0x51810f,_0x3f7f35);let _0x22372e=class extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(_0x4375a5,_0x4e0d0f,_0x29ca90){const _0xde1e75=_0x2a6bec;super(),_0x7f0de7(this,_0xde1e75(0x221),new Map()),_0x7f0de7(this,'_saveTaskMap',new Map()),_0x7f0de7(this,_0xde1e75(0x153),!0x1),(this[_0xde1e75(0x128)]=_0x4375a5,this[_0xde1e75(0x29a)]=_0x4e0d0f,this['_revisionService']=_0x29ca90);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x2c6efe=_0x2a6bec;this[_0x2c6efe(0x153)]=!0x1;}get[_0x2a6bec(0x1a5)](){const _0x4b313d=_0x2a6bec;return this[_0x4b313d(0x2cd)];}['dispose'](){const _0x2cd182=_0x2a6bec;this[_0x2cd182(0x160)]()[_0x2cd182(0x2fe)](()=>super['dispose']());}async[_0x2a6bec(0x2d3)](_0x2f29ab){const _0x515715=_0x2a6bec;return this['_disabled']?null:this['_localStorageService'][_0x515715(0x308)](_0x3a040d[_0x515715(0x240)](_0x2f29ab));}async[_0x2a6bec(0xd1)](_0x4bd7ad,_0x3b11ec){const _0x281d75=_0x2a6bec;return!!this[_0x281d75(0x29a)][_0x281d75(0x201)](_0x4bd7ad,_0x3b11ec);}[_0x2a6bec(0x290)](_0x519945,_0x521614,_0x9d0af5,_0x553472){const _0x5d7876=_0x2a6bec,_0x41dd23=this[_0x5d7876(0x2c0)][_0x5d7876(0x23f)](_0x519945);this[_0x5d7876(0x221)][_0x5d7876(0x1bd)](_0x519945,{'unitID':_0x519945,'type':_0x521614,'awaitingChangeset':_0x9d0af5,'mutations':_0x553472,'rev':_0x41dd23}),this[_0x5d7876(0x2cd)]['has'](_0x519945)||this['_scheduleSaving'](_0x519945);}[_0x2a6bec(0x2da)](_0x2fc835){const _0x2372fc=_0x2a6bec,_0x9d32ce=this[_0x2372fc(0x1e5)]();_0x9d32ce===0x0?this[_0x2372fc(0xf6)](_0x2fc835):this['_saveTaskMap'][_0x2372fc(0x1bd)](_0x2fc835,setTimeout(()=>this[_0x2372fc(0xf6)](_0x2fc835),_0x9d32ce));}[_0x2a6bec(0x1e5)](){const _0x209fba=_0x2a6bec;var _0x174621;return(_0x174621=this[_0x209fba(0x128)][_0x209fba(0x2a2)](_0x3a040d['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x174621:_0x3a040d[_0x209fba(0xdf)];}[_0x2a6bec(0xf6)](_0x46510f){const _0x174152=_0x2a6bec,_0x5c7780=this[_0x174152(0x2cd)][_0x174152(0x24f)](_0x46510f);return _0x5c7780!==void 0x0&&window['clearTimeout'](_0x5c7780),this[_0x174152(0x29a)][_0x174152(0x201)](_0x3a040d[_0x174152(0x240)](_0x46510f),this[_0x174152(0x221)][_0x174152(0x24f)](_0x46510f))[_0x174152(0x2fe)](()=>this['_saveTaskMap'][_0x174152(0x12f)](_0x46510f));}async[_0x2a6bec(0x160)](){const _0x104ad8=_0x2a6bec,_0x19c7cb=[];this[_0x104ad8(0x2cd)]['forEach']((_0x2217cd,_0x311365)=>{const _0x16f6f7=_0x104ad8;window['clearTimeout'](_0x2217cd),_0x19c7cb[_0x16f6f7(0x24c)](this[_0x16f6f7(0xf6)](_0x311365)[_0x16f6f7(0x2fe)](()=>{const _0x3b0c09=_0x16f6f7;this[_0x3b0c09(0x2cd)][_0x3b0c09(0x12f)](_0x311365);}));}),await Promise[_0x104ad8(0x1e0)](_0x19c7cb);}};_0x22372e=_0x525491([_0xf7372e(0x0,_0x42e0e7['IConfigService']),_0xf7372e(0x1,_0x42e0e7[_0x2a6bec(0x334)]),_0xf7372e(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x12caed['RevisionService']))],_0x22372e);class _0x1048ec extends _0x42e0e7['RxDisposable']{constructor(){const _0x290507=_0x2a6bec;super(),_0x7f0de7(this,'urlChange$'),this[_0x290507(0x1b2)]=_0x599c52[_0x290507(0x1e2)](window,_0x290507(0x2f1))['pipe'](_0x599c52[_0x290507(0x1ef)](this[_0x290507(0x332)]),_0x599c52['shareReplay'](0x1),_0x599c52['mapTo'](void 0x0));}[_0x2a6bec(0x218)](_0x3838df,_0x16fb29,_0x5b46d2=!0x1){const _0x11648f=_0x2a6bec,_0x303cb8=new URL(window[_0x11648f(0x10d)][_0x11648f(0x306)]);_0x303cb8[_0x11648f(0x214)][_0x11648f(0x1bd)](_0x3838df,_0x16fb29),_0x5b46d2?window['history'][_0x11648f(0x2b9)]('','',_0x303cb8['toString']()):window['history'][_0x11648f(0x119)]('','',_0x303cb8[_0x11648f(0xf0)]());}[_0x2a6bec(0x124)](_0x74fa2c,_0xb853a4=!0x1){const _0x243f2a=_0x2a6bec,_0x29f122=new URL(window[_0x243f2a(0x10d)]['href']);_0x29f122[_0x243f2a(0x214)]['delete'](_0x74fa2c),_0xb853a4?window['history'][_0x243f2a(0x2b9)]('','',_0x29f122[_0x243f2a(0xf0)]()):window[_0x243f2a(0x229)][_0x243f2a(0x119)]('','',_0x29f122['toString']());}[_0x2a6bec(0x110)](_0x332e55){const _0x19f9c3=_0x2a6bec;var _0x159e82;return(_0x159e82=new URL(window['location'][_0x19f9c3(0x306)])[_0x19f9c3(0x214)][_0x19f9c3(0x24f)](_0x332e55))!=null?_0x159e82:void 0x0;}}var _0x108d4e=Object[_0x2a6bec(0x145)],_0x5532a4=Object[_0x2a6bec(0x333)],_0x23c339=(_0x187d48,_0x1c28b6,_0x33556c)=>_0x1c28b6 in _0x187d48?_0x108d4e(_0x187d48,_0x1c28b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33556c}):_0x187d48[_0x1c28b6]=_0x33556c,_0x181bf7=(_0x1c97a9,_0x7189ec,_0x554eee,_0x4e46ad)=>{const _0x19302a=_0x2a6bec;for(var _0x5f2eb9=_0x4e46ad>0x1?void 0x0:_0x4e46ad?_0x5532a4(_0x7189ec,_0x554eee):_0x7189ec,_0x33d59b=_0x1c97a9[_0x19302a(0x1ad)]-0x1,_0x35aa41;_0x33d59b>=0x0;_0x33d59b--)(_0x35aa41=_0x1c97a9[_0x33d59b])&&(_0x5f2eb9=_0x35aa41(_0x5f2eb9)||_0x5f2eb9);return _0x5f2eb9;},_0x27c863=(_0x198c73,_0x2704ca)=>(_0xfce024,_0x1c96b0)=>_0x2704ca(_0xfce024,_0x1c96b0,_0x198c73),_0x4e4902=(_0x47e6e4,_0x531d1d,_0x555182)=>_0x23c339(_0x47e6e4,_0x531d1d+'',_0x555182);const _0x3ebee7=_0x2a6bec(0x1b7);_0x57b4ed['UniverCollaborationClientUIPlugin']=class extends _0x42e0e7[_0x2a6bec(0x2ae)]{constructor(_0x2dbb61=_0x15020a,_0x2e4532,_0x2a4a79,_0x57ac88){const _0x53b11f=_0x2a6bec;super(),this['_config']=_0x2dbb61,this[_0x53b11f(0x314)]=_0x2e4532,this[_0x53b11f(0x33b)]=_0x2a4a79,this['_configService']=_0x57ac88;const {..._0x4df8c7}=_0x42e0e7['merge']({},_0x15020a,this[_0x53b11f(0xde)]);this[_0x53b11f(0x128)][_0x53b11f(0xd7)](_0x38c58e,_0x4df8c7);}[_0x2a6bec(0xee)](){const _0x4773e7=_0x2a6bec;this[_0x4773e7(0xfa)](),this[_0x4773e7(0xce)]();}[_0x2a6bec(0x1b9)](){const _0x6d6569=_0x2a6bec;this[_0x6d6569(0x2d7)]();}[_0x2a6bec(0xfa)](){const _0x5694b2=_0x2a6bec;var _0x43de76;const _0x22e0f9=[[_0x1ee3e1],[_0x2dbec8],[_0x3a8030],[_0xfd3415],[_0x7228ba],[_0x5254f2,{'useClass':_0x1048ec}],[_0x3ba47d[_0x5694b2(0x194)],{'useClass':_0x3ba47d[_0x5694b2(0xcd)]}],[_0x3a040d[_0x5694b2(0x1fe)],{'useClass':_0x22372e}],[_0x57b4ed['DesktopCollaborationStatusDisplayController']],[_0x49cb73],[_0x2a8026],[_0x465ed4],[_0x2da604],[_0x57b4ed[_0x5694b2(0x317)]]];_0x42e0e7['registerDependencies'](this[_0x5694b2(0x33b)],_0x42e0e7[_0x5694b2(0x2ee)](_0x22e0f9,(_0x43de76=this[_0x5694b2(0xde)])==null?void 0x0:_0x43de76[_0x5694b2(0x169)]));}[_0x2a6bec(0x2d7)](){const _0x4bbe00=_0x2a6bec;this['disposeWithMe'](this['_renderManagerService'][_0x4bbe00(0x158)](_0x42e0e7['UniverInstanceType'][_0x4bbe00(0x2f3)],[_0x28e886])),this[_0x4bbe00(0x133)](this[_0x4bbe00(0x314)][_0x4bbe00(0x158)](_0x42e0e7[_0x4bbe00(0x129)][_0x4bbe00(0x19b)],[_0x21a66f]));}[_0x2a6bec(0xce)](){const _0x2fd144=_0x2a6bec;_0x42e0e7[_0x2fd144(0x19a)](this['_injector'],[[_0x465ed4],[_0x57b4ed[_0x2fd144(0x122)]],[_0x49cb73],[_0x2a8026],[_0x57b4ed[_0x2fd144(0x317)]]]);}},_0x4e4902(_0x57b4ed[_0x2a6bec(0x27d)],_0x2a6bec(0x23d),_0x3ebee7),_0x57b4ed['UniverCollaborationClientUIPlugin']=_0x181bf7([_0x42e0e7[_0x2a6bec(0x24a)](_0x3a040d['UniverCollaborationClientPlugin']),_0x27c863(0x1,_0x5af10f[_0x2a6bec(0x1d0)]),_0x27c863(0x2,_0x42e0e7['Inject'](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x27c863(0x3,_0x42e0e7['IConfigService'])],_0x57b4ed[_0x2a6bec(0x27d)]);var _0x36daf0=Object[_0x2a6bec(0x333)],_0x70e211=(_0x20e945,_0x1c9494,_0x103351,_0x289e8c)=>{const _0x2d1bcb=_0x2a6bec;for(var _0x29a94a=_0x289e8c>0x1?void 0x0:_0x289e8c?_0x36daf0(_0x1c9494,_0x103351):_0x1c9494,_0xadf316=_0x20e945[_0x2d1bcb(0x1ad)]-0x1,_0x3a3535;_0xadf316>=0x0;_0xadf316--)(_0x3a3535=_0x20e945[_0xadf316])&&(_0x29a94a=_0x3a3535(_0x29a94a)||_0x29a94a);return _0x29a94a;},_0xf88d6b=(_0x3ba83c,_0x632e35)=>(_0x49be40,_0x44cd25)=>_0x632e35(_0x49be40,_0x44cd25,_0x3ba83c);_0x57b4ed[_0x2a6bec(0x1d5)]=class extends _0x3a040d[_0x2a6bec(0x2fd)]{constructor(_0x2d4cfb,_0x4c1a95,_0x5c8a7e,_0x459b38,_0x26fc66){super(_0x2d4cfb,_0x4c1a95,_0x5c8a7e,_0x459b38,_0x26fc66);}async['createSocket'](_0x28be68){const _0x48a938=_0x2a6bec,_0x1ab640=await this[_0x48a938(0x32e)](),_0x5d94d0=this[_0x48a938(0x23a)](_0x28be68,_0x1ab640);return this[_0x48a938(0x291)](_0x5d94d0);}[_0x2a6bec(0x23a)](_0x5be3e7,_0x5a136d){const _0x226bfe=_0x2a6bec,_0x332b0d=typeof window>'u'?new URL(_0x5be3e7):new URL(_0x5be3e7,window['location']['origin']);_0x332b0d['searchParams'][_0x226bfe(0x1bd)](_0x226bfe(0x1fb),_0x5a136d);const _0x554454=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x226bfe(0x10d)]['search']);return _0x554454['get'](_0x226bfe(0x29d))&&_0x332b0d['searchParams'][_0x226bfe(0x1bd)]('runId',_0x554454[_0x226bfe(0x24f)](_0x226bfe(0x29d))),_0x332b0d['toString']();}async[_0x2a6bec(0x32e)](){const _0xb18672=_0x2a6bec;var _0xd5f9f1,_0x539ca9,_0xd0de21;const _0x836e3b=this['_configService'][_0xb18672(0x2a2)](_0x3a040d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x165430=(_0xd5f9f1=_0x836e3b==null?void 0x0:_0x836e3b[_0xb18672(0x222)])!=null?_0xd5f9f1:_0x3a040d[_0xb18672(0x35f)];return(_0xd0de21=(_0x539ca9=(await this[_0xb18672(0x2d8)][_0xb18672(0x24f)](_0x165430,{'headers':{'Content-Type':'application/json'}}))[_0xb18672(0x126)])==null?void 0x0:_0x539ca9[_0xb18672(0x30e)])!=null?_0xd0de21:'';}},_0x57b4ed[_0x2a6bec(0x1d5)]=_0x70e211([_0xf88d6b(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0xf88d6b(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3ba47d['HTTPService'])),_0xf88d6b(0x2,_0x42e0e7[_0x2a6bec(0x1a3)]),_0xf88d6b(0x3,_0x42e0e7[_0x2a6bec(0x2eb)]),_0xf88d6b(0x4,_0x12caed['ISnapshotServerService'])],_0x57b4ed[_0x2a6bec(0x1d5)]);const _0x385a23=0x7530,_0x173d9c=_0x2a6bec(0x2e9);class _0x1f5ae1 extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(){const _0x32d6a9=_0x2a6bec;super(),_0x7f0de7(this,_0x32d6a9(0x1d1),_0x42e0e7[_0x32d6a9(0x1fc)]()),_0x7f0de7(this,'_selfUnitIDs',new Set()),_0x7f0de7(this,_0x32d6a9(0x27c),new Map()),_0x7f0de7(this,_0x32d6a9(0x17b),null),_0x7f0de7(this,_0x32d6a9(0x1eb),new Map()),_0x7f0de7(this,_0x32d6a9(0x2e5),new Map()),this[_0x32d6a9(0x1b8)]();}[_0x2a6bec(0x336)](){const _0x2d595c=_0x2a6bec;super['dispose'](),this[_0x2d595c(0x1eb)][_0x2d595c(0xe6)]((_0x52ed58,_0x4be009)=>this[_0x2d595c(0x196)](_0x4be009)),this[_0x2d595c(0x17b)]&&window['clearInterval'](this[_0x2d595c(0x17b)]);}['getUnitStatus$'](_0x13ceab){const _0x4ef7da=_0x2a6bec;return this[_0x4ef7da(0x12e)](_0x13ceab)[_0x4ef7da(0x27f)](_0x599c52[_0x4ef7da(0x12d)]());}[_0x2a6bec(0x264)](_0xddb055){const _0x48abf3=_0x2a6bec;this[_0x48abf3(0xef)][_0x48abf3(0x2f5)]===0x0&&this[_0x48abf3(0x28e)](),this['_selfUnitIDs'][_0x48abf3(0x279)](_0xddb055),this[_0x48abf3(0x106)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xddb055],'isForwarded':!0x1});}[_0x2a6bec(0x255)](_0x36dfff){const _0x534133=_0x2a6bec;this[_0x534133(0xef)][_0x534133(0x12f)](_0x36dfff),this['_selfUnitIDs'][_0x534133(0x2f5)]===0x0&&this[_0x534133(0x17b)]&&window[_0x534133(0xdd)](this['_heartbeatTimer']);}[_0x2a6bec(0x1b8)](){const _0x25eb12=_0x2a6bec;this[_0x25eb12(0x133)](_0x42e0e7[_0x25eb12(0x1ff)](_0x599c52[_0x25eb12(0x1e2)](window,_0x25eb12(0x303))[_0x25eb12(0x250)](_0x52e68d=>{const _0x4d9beb=_0x25eb12;if(_0x52e68d[_0x4d9beb(0x2fa)]!==_0x173d9c||!_0x52e68d[_0x4d9beb(0x2e2)])return;const _0x5e1799=JSON['parse'](_0x52e68d[_0x4d9beb(0x2e2)]);this[_0x4d9beb(0x28d)](_0x5e1799);}))),window[_0x25eb12(0x20f)](_0x25eb12(0xdc),()=>this[_0x25eb12(0x106)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x25eb12(0x138)](this[_0x25eb12(0xef)])}));}['_handleEvent'](_0x39a702){const _0x2f6672=_0x2a6bec;switch(_0x39a702[_0x2f6672(0xd4)]){case 0x0:this[_0x2f6672(0x195)](_0x39a702);break;case 0x1:this[_0x2f6672(0x309)](_0x39a702);break;case 0x2:this[_0x2f6672(0x2a3)](_0x39a702);break;}}[_0x2a6bec(0x195)](_0x3e790e){const _0x4645d8=_0x2a6bec,{unitIDs:_0x39f769,memberID:_0xd5788e,isForwarded:_0xfac1b3}=_0x3e790e;_0x39f769[_0x4645d8(0xe6)](_0x28582e=>{const _0xd6e7ed=_0x4645d8;if(!_0xfac1b3&&this['_unitOnClients']['has'](_0x28582e)&&this['_ensureSubject'](_0x28582e)['next'](_0x3a040d[_0xd6e7ed(0x130)][_0xd6e7ed(0x21a)]),!this['_unitOnClients'][_0xd6e7ed(0x297)](_0x28582e)||!this[_0xd6e7ed(0x27c)][_0xd6e7ed(0x24f)](_0x28582e)[_0xd6e7ed(0x297)](_0xd5788e)){const _0x398fd4=this['_unitOnClients'][_0xd6e7ed(0x24f)](_0x28582e)||new Set();_0x398fd4['add'](_0xd5788e),this[_0xd6e7ed(0x27c)][_0xd6e7ed(0x1bd)](_0x28582e,_0x398fd4),this[_0xd6e7ed(0x1f5)](_0xd5788e);}}),_0xfac1b3||this[_0x4645d8(0x106)]({'type':0x0,'memberID':this[_0x4645d8(0x1d1)],'unitIDs':[...this[_0x4645d8(0xef)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3cbfa0){const _0x36ddb6=_0x2a6bec;this[_0x36ddb6(0x196)](_0x3cbfa0);const _0x548a48=window[_0x36ddb6(0x20c)](()=>{const _0x3fc8d5=_0x36ddb6;this[_0x3fc8d5(0x27c)][_0x3fc8d5(0xe6)](_0x360632=>{const _0x586ba0=_0x3fc8d5;_0x360632[_0x586ba0(0x12f)](_0x3cbfa0);});},_0x385a23*0x2);this[_0x36ddb6(0x1eb)][_0x36ddb6(0x1bd)](_0x3cbfa0,_0x548a48);}['_removeClearOtherTimer'](_0x9a995b){const _0x3bfa2a=_0x2a6bec;if(this[_0x3bfa2a(0x1eb)][_0x3bfa2a(0x297)](_0x9a995b)){const _0x172a22=this[_0x3bfa2a(0x1eb)][_0x3bfa2a(0x24f)](_0x9a995b);_0x172a22&&window[_0x3bfa2a(0x245)](_0x172a22),this['_clearOtherTimers'][_0x3bfa2a(0x1bd)](_0x9a995b,null);}}[_0x2a6bec(0x309)](_0x4a7684){const _0x31d929=_0x2a6bec,{memberID:_0x536e5f,unitIDs:_0x3feceb}=_0x4a7684;_0x3feceb[_0x31d929(0xe6)](_0x37b17f=>{const _0x56a8e2=_0x31d929;var _0x4ceed5;const _0x48518c=this[_0x56a8e2(0x27c)][_0x56a8e2(0x24f)](_0x37b17f);_0x48518c&&(_0x48518c[_0x56a8e2(0x12f)](_0x536e5f),(_0x4ceed5=this[_0x56a8e2(0x12e)](_0x37b17f))==null||_0x4ceed5['next'](_0x48518c[_0x56a8e2(0x2f5)]===0x0?_0x3a040d['UnitStatus'][_0x56a8e2(0x2bf)]:_0x3a040d[_0x56a8e2(0x130)][_0x56a8e2(0x21a)]));}),this[_0x31d929(0x196)](_0x536e5f);}[_0x2a6bec(0x2a3)](_0x7d9c97){const _0x33ce84=_0x2a6bec;this[_0x33ce84(0x1f5)](_0x7d9c97['memberID']);}['_send'](_0x315b0b){const _0x168363=_0x2a6bec;localStorage[_0x168363(0x201)](_0x173d9c,JSON[_0x168363(0x164)](_0x315b0b));}[_0x2a6bec(0x28e)](){const _0x4eceff=_0x2a6bec;this[_0x4eceff(0x17b)]=window['setInterval'](()=>{const _0x37b163=_0x4eceff;this[_0x37b163(0x106)]({'type':0x2,'memberID':this['_id']});},_0x385a23);}[_0x2a6bec(0x12e)](_0x5c12c5){const _0x59e005=_0x2a6bec;return this['_unitStatus'][_0x59e005(0x297)](_0x5c12c5)||this['_unitStatus']['set'](_0x5c12c5,new _0x599c52[(_0x59e005(0x1f4))](_0x3a040d[_0x59e005(0x130)][_0x59e005(0x2bf)])),this['_unitStatus'][_0x59e005(0x24f)](_0x5c12c5);}}var _0x420b1a=(_0x17ff91=>(_0x17ff91[_0x17ff91['UNDEFINED']=0x0]='UNDEFINED',_0x17ff91[_0x17ff91['OK']=0x1]='OK',_0x17ff91[_0x17ff91[_0x2a6bec(0x2c4)]=0x2]=_0x2a6bec(0x2c4),_0x17ff91[_0x17ff91[_0x2a6bec(0x203)]=0x3]=_0x2a6bec(0x203),_0x17ff91[_0x17ff91[_0x2a6bec(0xf5)]=0x4]=_0x2a6bec(0xf5),_0x17ff91[_0x17ff91['UNAUTHENTICATED']=0x5]=_0x2a6bec(0x26c),_0x17ff91[_0x17ff91['ALREADY_EXISTS']=0x6]=_0x2a6bec(0x147),_0x17ff91[_0x17ff91[_0x2a6bec(0x134)]=0x7]=_0x2a6bec(0x134),_0x17ff91[_0x17ff91[_0x2a6bec(0x16b)]=0x8]='TOO_MANY_REQUESTS',_0x17ff91[_0x17ff91[_0x2a6bec(0x2ad)]=0x9]='COMPLETION_FINISHED',_0x17ff91[_0x17ff91[_0x2a6bec(0x13d)]=0xa]=_0x2a6bec(0x13d),_0x17ff91[_0x17ff91[_0x2a6bec(0x232)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x17ff91[_0x17ff91['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2a6bec(0x1c1),_0x17ff91[_0x17ff91['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2a6bec(0x177),_0x17ff91[_0x17ff91[_0x2a6bec(0x34a)]=0x1773]=_0x2a6bec(0x34a),_0x17ff91[_0x17ff91[_0x2a6bec(0x1e3)]=0x1b59]=_0x2a6bec(0x1e3),_0x17ff91[_0x17ff91[_0x2a6bec(0x2db)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17ff91[_0x17ff91['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2a6bec(0x21c),_0x17ff91[_0x17ff91['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2a6bec(0x2b2),_0x17ff91[_0x17ff91[_0x2a6bec(0x2de)]=0x1b5d]=_0x2a6bec(0x2de),_0x17ff91[_0x17ff91[_0x2a6bec(0x1da)]=0x1f41]=_0x2a6bec(0x1da),_0x17ff91[_0x17ff91[_0x2a6bec(0x18f)]=0x2329]=_0x2a6bec(0x18f),_0x17ff91[_0x17ff91[_0x2a6bec(0x302)]=0x232a]=_0x2a6bec(0x302),_0x17ff91[_0x17ff91[_0x2a6bec(0x2dc)]=0x232b]=_0x2a6bec(0x2dc),_0x17ff91[_0x17ff91[_0x2a6bec(0x22d)]=0x232c]=_0x2a6bec(0x22d),_0x17ff91[_0x17ff91[_0x2a6bec(0xe2)]=0x232d]=_0x2a6bec(0xe2),_0x17ff91[_0x17ff91[_0x2a6bec(0x10c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x17ff91[_0x17ff91[_0x2a6bec(0x2e1)]=0x2712]=_0x2a6bec(0x2e1),_0x17ff91[_0x17ff91['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a6bec(0xff),_0x17ff91[_0x17ff91[_0x2a6bec(0x25e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x17ff91[_0x17ff91[_0x2a6bec(0x22e)]=0x271a]=_0x2a6bec(0x22e),_0x17ff91[_0x17ff91[_0x2a6bec(0x10f)]=0x271b]=_0x2a6bec(0x10f),_0x17ff91[_0x17ff91[_0x2a6bec(0x123)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x17ff91[_0x17ff91[_0x2a6bec(0x2ac)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x17ff91[_0x17ff91[_0x2a6bec(0x1a1)]=0x2ee2]=_0x2a6bec(0x1a1),_0x17ff91[_0x17ff91[_0x2a6bec(0x170)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x17ff91[_0x17ff91[_0x2a6bec(0x105)]=0x2ee4]=_0x2a6bec(0x105),_0x17ff91[_0x17ff91[_0x2a6bec(0x274)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17ff91[_0x17ff91[_0x2a6bec(0x319)]=0x32c9]=_0x2a6bec(0x319),_0x17ff91[_0x17ff91[_0x2a6bec(0x11b)]=0x32ca]=_0x2a6bec(0x11b),_0x17ff91[_0x17ff91[_0x2a6bec(0x254)]=0x32cb]=_0x2a6bec(0x254),_0x17ff91[_0x17ff91[_0x2a6bec(0x193)]=-0x1]='UNRECOGNIZED',_0x17ff91))(_0x420b1a||{}),_0x46ce48=Object[_0x2a6bec(0x333)],_0x4d033c=(_0x19b7da,_0x88a15c,_0x33aad5,_0x458683)=>{const _0x1e9191=_0x2a6bec;for(var _0x3005f6=_0x458683>0x1?void 0x0:_0x458683?_0x46ce48(_0x88a15c,_0x33aad5):_0x88a15c,_0x27a0e=_0x19b7da[_0x1e9191(0x1ad)]-0x1,_0x26862c;_0x27a0e>=0x0;_0x27a0e--)(_0x26862c=_0x19b7da[_0x27a0e])&&(_0x3005f6=_0x26862c(_0x3005f6)||_0x3005f6);return _0x3005f6;},_0x513028=(_0x25d951,_0x10fb49)=>(_0x32f036,_0x266e92)=>_0x10fb49(_0x32f036,_0x266e92,_0x25d951);_0x57b4ed[_0x2a6bec(0xe1)]=class extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(_0x57cbc4,_0x9a08de,_0x11499b){const _0x171c3e=_0x2a6bec;super(),this['_instanceService']=_0x57cbc4,this[_0x171c3e(0x2d8)]=_0x9a08de,this[_0x171c3e(0x128)]=_0x11499b;}async[_0x2a6bec(0x150)](_0x2e1a66,_0x194726,_0x1f6c6a,..._0x1b59bc){const _0x4b8309=_0x2a6bec;var _0x569ab2,_0xf41449,_0x4f342b,_0x22b4b1;const _0x54294d=this['_instanceService'][_0x4b8309(0x173)]();if(!_0x54294d)throw new Error(_0x4b8309(0x1e6));const _0x6c5117=((_0x569ab2=this['_configService'][_0x4b8309(0x2a2)](_0x3a040d[_0x4b8309(0x18d)]))!=null?_0x569ab2:_0x3a040d[_0x4b8309(0x14c)])+'/'+_0x2e1a66+_0x4b8309(0x16d)+_0x194726,_0x4bf9dd=new URL(window[_0x4b8309(0x10d)][_0x4b8309(0x306)]),_0xab06b6={'scriptId':_0x2e1a66,'runId':(_0xf41449=_0x4bf9dd[_0x4b8309(0x214)]['get'](_0x4b8309(0x29d)))!=null?_0xf41449:'','function':_0x194726,'unitId':_0x54294d[_0x4b8309(0x225)](),'argsOfFunction':JSON[_0x4b8309(0x164)](_0x1b59bc),'invokeId':(_0x4f342b=_0x1f6c6a['invokeId'])!=null?_0x4f342b:'','executionId':(_0x22b4b1=_0x1f6c6a[_0x4b8309(0x1d3)])!=null?_0x22b4b1:''};try{const _0x1a52d4=await this[_0x4b8309(0x2d8)][_0x4b8309(0x260)](_0x6c5117,{'body':_0xab06b6});return _0x1a52d4[_0x4b8309(0x126)][_0x4b8309(0x285)]&&_0x1a52d4[_0x4b8309(0x126)]['error']['code']!==_0x420b1a['OK']?'Failed':_0x1a52d4[_0x4b8309(0x126)][_0x4b8309(0x1f2)];}catch{return'Failed';}}},_0x57b4ed[_0x2a6bec(0xe1)]=_0x4d033c([_0x513028(0x0,_0x42e0e7['IUniverInstanceService']),_0x513028(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3ba47d[_0x2a6bec(0x15d)])),_0x513028(0x2,_0x42e0e7[_0x2a6bec(0x1a3)])],_0x57b4ed['RemoteUniscriptService']),_0x57b4ed[_0x2a6bec(0x1bb)]=_0x17cef4,_0x57b4ed[_0x2a6bec(0x20a)]=_0x5254f2,_0x57b4ed[_0x2a6bec(0x184)]=_0x2bc6e2,_0x57b4ed[_0x2a6bec(0x246)]=_0x1f5ae1,_0x57b4ed['WebURLService']=_0x1048ec,Object[_0x2a6bec(0x145)](_0x57b4ed,Symbol[_0x2a6bec(0x17a)],{'value':'Module'});}));
|