@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507021607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3de9(_0x1a14e6,_0xd72565){const _0x14a444=_0x14a4();return _0x3de9=function(_0x3de9b5,_0x594b82){_0x3de9b5=_0x3de9b5-0xaa;let _0x1027b4=_0x14a444[_0x3de9b5];return _0x1027b4;},_0x3de9(_0x1a14e6,_0xd72565);}function _0x14a4(){const _0x1b69f9=['engine','debounceTime','with','PY_RUNTIME_SCRIPT_ERROR','call','extend','string','getUndoRedoMutationParamsCache','getOwnPropertySymbols','_registerRenderDependencies','touchDependencies','sheetId','transformByState','104JhrCWf','getItem','_docClipboardService','textRanges','_updateSubUnitFromURLParams','idSuffix','_hover','entityInit$','urlChange$','getAncestorScale','use','_collaborationController','_handleEvent','size','labelPosition','IConfigService','OFFLINE','OffLineIcon','currentSkeleton$','RegularPolygon','loadOfflineData','_getMergeRange','_initCommandExecutedListener','subscribeEvent','IImageIoService','startRow','cursorInfo$','RevisionService','ColorKit','createIdentifier','MemberService','478263scFxNJ','replaceState','RxDisposable','row','@univerjs/engine-formula','useCallback','7580MXTGIF','onLocalMutation','EMAIL_HAS_BEEN_BOUND','ITransformService','_instanceService','_send','AWAITING_WITH_PENDING','createElement','type','react/jsx-runtime','collabStatus.offline','RemoteUniscriptService','_localCacheService','unshift','random','href','has','on-line-icon','_clearOtherTimers','_onRefRangeChange','getCoordByCell','_saveTaskMap','getParam','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','TEXT_RANGE_LAYER_INDEX','[CollaborationDataLoaderController]','hide','connectInjector','getRangePointData','_labelPosition','_beforeCloseService','UniverUi','clearTimeout','tag','symbol','forwardRef','memberID','SessionStatus','currentColor','@univerjs-pro/collaboration','_sheetSkeletonManagerService','_onCursorUpdate','YUUMI_NO_CUBOID_FOR_QUESTION','redoState','roomMembers$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_ALREADY_BOUND','_lastPointer','handleIRemoveRow','none','LICENSE_DISTRO_REJECTED','registerBeforeClose','delete','search','_transformPreviousActiveRange','_collabCursorController','UniverCore','DataLoaderService','0\x200\x2016\x2016','_doCreateSocket','_drawAnchor','77zZlmZM','_setupSubUnitSync','YUUMI_SUBSCRIPTION_NOT_FOUND','Error','_httpService','WECHAT_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','column','BrowserCollaborationSocketService','setAlpha','triggerDblclick','UNRECOGNIZED','univer-mr-2\x20univer-flex\x20univer-text-xl','_removeCollabCursors','YUUMI_CONNECTOR_URL_NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','ONLINE','_entities','_memberService','_color','off-line-icon_clip0_910_343','_createSocketURL','_toggleOffline','Tools','reconnect','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','path','Unknown\x20user','getActiveSheet','APPLY_DUPLICATED','onStarting','popstate','IRemoteInstanceService','setUndoRedoMutationParamsCache','MOBILE_HAS_BEEN_BOUND','transformMutation','runRefRangeMutations','flatMap','getCellPositionByOffset','RefRangeService','LocaleService','@univerjs/network','USERS_LEAVE','dispose','session.collaboration-timeout','addObjects','CollaborationDataLoaderController','_config','isArray','WebSocketService','setTimeout','_saveCache','fillRule','_scene','m2Prime','next','subunit','...','color','CollaborationSessionService','pushState','YUUMI_URL_COL_OUT_OF_RANGE','includes','getSheetObject','handleDeleteRangeMoveUp','on-line-icon_clip0_910_349','@univerjs/docs','_initEntityListener','USER_NOT_INVITED_CODE','DocSelectionManagerService','transformIMECache','_hideTimer','_syncEditingCollabCursorService','div','params','_docTransformIMECacheService','endColumn','APPLY_REVISION_CONFILICT','add','@univerjs/core','_hovered','UniverDocsUi','requireSession','disposeWithMe','split','selections','show','send','resize','collabStatus.fetchMiss','saveOfflineData','ICommandService','executeCommand','CollaborationSocketService','1em','IUniverInstanceService','_localeService','setConfig','UniverDrawing','Workbook','_updateURLWithCurrentState','eventID','ILocalCacheService','setItem','_handleLeaveEvent','_initEvent','runId','NOT_COLLAB','loadUnit','getStateCache','ILocalStorageService','searchParams','Module','EMAIL_VERIFY_CODE_MISMATCH','InsertRangeMoveDownCommandId','registerComponent','_notificationService','getLocalCacheKey','univer-flex\x20univer-items-center','svg','_startDocCollabCursor','LOGIN_FAILED','IURLService','getSheetId','_name','createSocket','@univerjs/design','attrs','_transformService','_registerDependencies','IUIPartsService','VIEW_MAIN','getRenderById','isTransformMutationsWithChangesetSuccess','MoveRangeCommandId','UniverEngineFormula','EffectRefRangId','find','_themeService','SetWorksheetActivateCommand','_onCursorDelete','Plugin','saveTaskMap','UNDEFINED','onPointerEnter$','registerDependencies','icon','TEXT','handleDeleteRangeMoveLeft','getTypeOfUnitAdded$','ALREADY_EXISTS','height','#FFF','unitID','_urlService','_handleHeartbeatEvent','isTransformMutationFailure','mapTo','_cursor','collaboration.closeRoom','children','docStateChange$','setParam','9xIgLLd','NO_OTHER_CLIENTS_EDITING','Warning','apply','getTypeOfUnitDisposed$','currentTheme$','unit','_session','_removeClearOtherTimer','trim','ENSURE_SNAPSHOT_EXECUTION','lineTo','switchMap','colorChannel1','measureText','12wMyiTz','TOO_MANY_REQUESTS','_initDependencies','drawWith','INotificationService','RemoveColCommandId','UniverDesign','isActive','collabStatus.syncing','IMessageService','removeParam','@univerjs/ui','generateRandomId','url(#off-line-icon_clip0_910_343)','IBeforeCloseService','amd','_getScale','_injector','getCollabCursors$','handleInsertCol','white','permission.content','CONNECTOR_DATA_TOO_LARGE','ThemeService','RECT','name','_colorAssignService','font','evenodd','_backgroundColor','LOCAL_CACHE_INTERVAL','INVALID_ARGUMENT','selection','DocCollaborationEntity','permission.title','UniverInstanceType','getVpScrollXYInfoByPosToVp','addObject','session.connection-failed','combineLatest','_status$','_toggleOnline','_roomMembers$','UPDATE_CURSOR','useDependency','PERMISSION_DENIED','getCurrentRevOfUnit','_shapes','onRendered','UNAUTHENTICATED','updateOfflineData','jiqing.500','substring','_localStorageService','concat','ACTIVE_UNIT_EVENT_CHANNEL','url(#$1','NodePositionConvertToRectRange','_refRangeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_id','_draw','save','status$','onMouseMove','operators','UniverProCollaborationClient','104299YBOVqe','transform','UniverProCollaborationClientUi','pluginName','SheetSkeletonManagerService','_collaborationUIEventService','init','push','yellow.400','transformSelections','forEach','Optional','session.will-retry','result','sessionStatus$','SHEET_VIEWPORT_KEY','_getSaveTimeout','Disposable','beginPath','SNAPSHOT_INVALID_SNAPSHOT','_transformUndoRedoStack','_docSkeletonManagerService','getMember','CollaborationUIEventId','disposeUnit','SOCKET_FAILED','toStringTag','findNodePositionByCharIndex','_range','clsx','propertyIsEnumerable','IRenderManagerService','indexOf','doc.mutation.rich-text-editing','_messageService','UNIVER_SHEET','M0\x200H16V16H0z','collaboration.single-unit.warning','UniverDocs','event$','_renderManagerService','MessageType','dispose$','_disabled','_anchorDot','getOffsetConfig','_revisionService','_scheduleHeartbeat','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Vector2','_commandService','getConfig','setShapeProps','toString','focused$','blue.400','_scheduleClearOtherTimer','_docTransformSelectionsService','mutations','ILogService','handleInsertRangeMoveDown','APPLY_REJECT','runOnServer','getUnitId','CollaborationStatusDisplay','DocStateChangeManagerService','source','_updateCollabCursors','toRgbString','getFocusedUnit','_univerInstanceService','getUnitStatus$','registerRefRange','BuiltInUIPart','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_heartbeatTimer','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UnitStatus','DocIMEInputManagerService','whenReady','DependentOn','CollaborationStatus','takeUntil','subscribe','cursorInfo','all','_cursorInfo$','top','_getSheetObject','transformMutationsWithChangeset','_unitOnClients','_drawTextRange','editingUnit','NOT_FOUND','history','_collabSessionService','681480UFkBam','mask','getColor','_entityInit$','getColorFromTheme','_docStateChangeManagerService','Shape','_unitStatus','moveTo','transformStateCache','some','addClipboardHook','jsxs','@univerjs/rpc','fillStyle','getCurrent','fill','_getSessionTicket','UniverCollaborationClientUIPlugin','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleHover','purple.300','@univerjs-pro/collaboration-client','hasOwnProperty','getSkeleton','fromEventSubject','collabStatus.synced','exports','min','_configService','restore','_collabCursorState$','BehaviorSubject','CONFLICT','black','UniverEngineRender','_online','subUnitId','_updateLocalCursor','onPointerLeave$','url(#on-line-icon_clip0_910_349)','INVITE_CODE_HAS_BEEN_UES','stringify','get','Rect','_scheduleSaving','INTERNAL_ERROR','ISnapshotServerService','FromArray','fillText','_cachedData','defIds','then','serializeRangeWithSheet','LICENSE_IMPORT_SIZE_EXCEEDED','jsx','APPLY_PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_MAX_UNITS_EXCEEDED','override','DeleteRangeMoveLeftCommandId','hovered','http://www.w3.org/2000/svg','className','22ZYfXcx','pipe','closePath','uni.network.url-service','OTHER_CLIENTS_EDITING','values','UNIVER_DOC','getDocRanges','RichTextEditingMutation','startsWith','actions','collabCursorState$','error','_render','fromEvent','UniverSheetsUi','arc','setActiveRange','bottom','defs','getViewport','_ensureSubject','collaboration-client-ui.config','UniverSheets','INVITE_CODE_REQUIRED','YUUMI_UNABLE_LOAD_URL','clearInterval','FETCH_MISS','data','max','ISocketService','map','_document','InsertColCommandId','range','_imageIoService','PENDING','_initStatusListener','Injector','_docSyncEditingCollabCursorService','roomMembers','6687016mPsIGy','15058SBndkO','getMemberID','CollaborationEvent','4073095qFUZLz','from','xlink:href','exhaustSavingTask','DOC_RANGE_TYPE','InsertRangeMoveRightCommandId','DeleteRangeMoveUpCommandId','newValue','InsertRowCommandId','enableLocalCache','_refreshCollabCursors','backgroundColor','useObservable','transformRemoteChangeset','React','CLOSE_ROOM','collaboration-client.offline-data-not-saved','executionId','length','entries','useRef','HTTPService','distinctUntilChanged','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','asObservable','_colorIndex','COMPLETION_FINISHED','contains','handleInsertRow','_anchor','location','Failed','assign','CollaborationUIEventService','collab-text-range-','ranges','set','_initStatusComponent','_cursors','round','36beUEtK','_selfUnitIDs','prototype','CollaborationController','rxjs/operators','_logService','Inject','getCurrentUnitForType','undoState','getSheetBySheetId','body','endRow','_transformHistoryAndStateStack','_initResize','m1Prime','filter','ticket','onCommandExecuted','width','@univerjs/sheets-ui','collab-rect-range-','unitId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SNAPSHOT_HAS_BEEN_REMOVED','COLORS','_cursorShapes','displayName','_getAnchorBounding','complete','text','_assignedColors','replaceDocRanges','registerRenderModule','getCurrentSelections','_context','_uiPartsService','getValue','createInstance','UniverNetwork','YUUMI_RATE_OVER_LIMIT','_textBubble','function','_docTransformStateCacheService','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','DisposableCollection','SOCKET_FAILED_RETRY','_init','clipPath','collabStatus.notCollab','_handleJoinEvent','deepClone','syncEditingCollabCursor','replace','_eventUnsubscribe','application/json','_drawRectRange','wsSessionTicketUrl','getOwnPropertyDescriptor','defineProperty','unsubscribe'];_0x14a4=function(){return _0x1b69f9;};return _0x14a4();}(function(_0x51d88d,_0x32c265){const _0x14fe84=_0x3de9,_0x513b03=_0x51d88d();while(!![]){try{const _0x2a4a6c=parseInt(_0x14fe84(0x219))/0x1*(parseInt(_0x14fe84(0x28e))/0x2)+-parseInt(_0x14fe84(0x2ad))/0x3*(parseInt(_0x14fe84(0x10a))/0x4)+parseInt(_0x14fe84(0x21c))/0x5+-parseInt(_0x14fe84(0x1ae))/0x6*(parseInt(_0x14fe84(0x2f1))/0x7)+parseInt(_0x14fe84(0x218))/0x8*(parseInt(_0x14fe84(0xfb))/0x9)+parseInt(_0x14fe84(0x2b3))/0xa*(parseInt(_0x14fe84(0x1ef))/0xb)+parseInt(_0x14fe84(0x245))/0xc*(parseInt(_0x14fe84(0x14d))/0xd);if(_0x2a4a6c===_0x32c265)break;else _0x513b03['push'](_0x513b03['shift']());}catch(_0x3b3476){_0x513b03['push'](_0x513b03['shift']());}}}(_0x14a4,0xb293e),function(_0x49996a,_0x3c1e3f){const _0x4c208a=_0x3de9;typeof exports=='object'&&typeof module<'u'?_0x3c1e3f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x4c208a(0x26e)&&define[_0x4c208a(0x119)]?define([_0x4c208a(0x1c9),_0x4c208a(0x1c4),_0x4c208a(0x341),'@univerjs/engine-render',_0x4c208a(0x31b),'@univerjs/docs-ui','@univerjs/drawing','rxjs',_0x4c208a(0x2db),_0x4c208a(0x334),_0x4c208a(0x2b1),'@univerjs/sheets',_0x4c208a(0x249),_0x4c208a(0x258),_0x4c208a(0x2bc),_0x4c208a(0x115),_0x4c208a(0xd6),'react',_0x4c208a(0x1bb)],_0x3c1e3f):(_0x49996a=typeof globalThis<'u'?globalThis:_0x49996a||self,_0x3c1e3f(_0x49996a[_0x4c208a(0x14f)]={},_0x49996a[_0x4c208a(0x14c)],_0x49996a[_0x4c208a(0x2ec)],_0x49996a[_0x4c208a(0x1d1)],_0x49996a[_0x4c208a(0x26b)],_0x49996a[_0x4c208a(0x343)],_0x49996a[_0x4c208a(0xba)],_0x49996a['rxjs'],_0x49996a['UniverProCollaboration'],_0x49996a[_0x4c208a(0x173)],_0x49996a[_0x4c208a(0xdf)],_0x49996a[_0x4c208a(0x206)],_0x49996a['rxjs'][_0x4c208a(0x14b)],_0x49996a[_0x4c208a(0x1fe)],_0x49996a['React'],_0x49996a[_0x4c208a(0x2d3)],_0x49996a[_0x4c208a(0x110)],_0x49996a[_0x4c208a(0x22a)],_0x49996a['UniverRpc']));}(this,function(_0x4e86fa,_0x3a2a7b,_0x34ebd1,_0x25b909,_0x4ece0e,_0x277641,_0x4e51ba,_0x3dc992,_0x26da06,_0x14e34b,_0x53151d,_0x762c7b,_0x3fc8e3,_0x184213,_0x4877af,_0x41e240,_0x588e34,_0x4eebd7,_0x2f5ca0){'use strict';const _0x5972b3=_0x3de9;var _0x2255a2=Object[_0x5972b3(0x27f)],_0x20317f=(_0x39216b,_0x703bfa,_0x27c1ea)=>_0x703bfa in _0x39216b?_0x2255a2(_0x39216b,_0x703bfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27c1ea}):_0x39216b[_0x703bfa]=_0x27c1ea,_0x47e648=(_0x69dd49,_0x5bb9a2,_0x4946cb)=>_0x20317f(_0x69dd49,typeof _0x5bb9a2!=_0x5972b3(0x2d6)?_0x5bb9a2+'':_0x5bb9a2,_0x4946cb),_0x41be8f=Object[_0x5972b3(0x27e)],_0x2a4fe8=(_0x3bed79,_0x17b67a,_0x23462f,_0x1c029f)=>{for(var _0x1190e8=_0x1c029f>0x1?void 0x0:_0x1c029f?_0x41be8f(_0x17b67a,_0x23462f):_0x17b67a,_0x3c7462=_0x3bed79['length']-0x1,_0x1c1e84;_0x3c7462>=0x0;_0x3c7462--)(_0x1c1e84=_0x3bed79[_0x3c7462])&&(_0x1190e8=_0x1c1e84(_0x1190e8)||_0x1190e8);return _0x1190e8;},_0x2f9b5d=(_0x2db5d2,_0x20fcbd)=>(_0x290d3a,_0x426add)=>_0x20fcbd(_0x290d3a,_0x426add,_0x2db5d2);let _0x211ac6=class extends _0x34ebd1['RxDisposable']{constructor(_0x515ff4,_0xb3e216){const _0x5bcc1c=_0x5972b3;super(),this['_docClipboardService']=_0x515ff4,this[_0x5bcc1c(0x212)]=_0xb3e216,this['_init']();}[_0x5972b3(0x273)](){const _0x1acb52=_0x5972b3,_0x2a4300=this;this[_0x1acb52(0xab)](this[_0x1acb52(0x290)][_0x1acb52(0x1b9)]({'onBeforePasteImage':async _0x30c7e5=>{const _0x3c492e=_0x1acb52,_0x179932=await _0x2a4300['_imageIoService']['saveImage'](_0x30c7e5);return _0x179932?{'source':_0x179932[_0x3c492e(0x18f)],'imageSourceType':_0x179932['imageSourceType']}:null;}}));}};_0x211ac6=_0x2a4fe8([_0x2f9b5d(0x0,_0x277641['IDocClipboardService']),_0x2f9b5d(0x1,_0x4e51ba[_0x5972b3(0x2a6)])],_0x211ac6);const _0x552804=[_0x5972b3(0x1c3),_0x5972b3(0x13d),'green.600','red.300',_0x5972b3(0x184),_0x5972b3(0x155)];class _0x512efc extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(){const _0x2c0e80=_0x5972b3;super(...arguments),_0x47e648(this,'_assignedColors',new Map()),_0x47e648(this,_0x2c0e80(0x236),0x0);}['assignAColorForMemberID'](_0x53f0ba){const _0x4f3c90=_0x5972b3;if(this[_0x4f3c90(0x263)]['has'](_0x53f0ba))return this['_assignedColors'][_0x4f3c90(0x1d9)](_0x53f0ba);const _0x21ee46=_0x552804[this[_0x4f3c90(0x236)]];return this['_colorIndex']=(this[_0x4f3c90(0x236)]+0x1)%_0x552804[_0x4f3c90(0x22e)],this[_0x4f3c90(0x263)][_0x4f3c90(0x241)](_0x53f0ba,_0x21ee46),_0x21ee46;}}function _0x553aa2(_0x1b0f30){const _0x1aaebe=_0x5972b3;let _0x1b22f2='';for(const _0x36e12a of _0x1b0f30){const {startOffset:_0x24969b,endOffset:_0x211318,isActive:_0x3a53d6,rangeType:_0x44b000,segmentId:_0x9219a5,segmentPage:_0x1185e3}=_0x36e12a;_0x1b22f2[_0x1aaebe(0x22e)]&&(_0x1b22f2+=','),_0x1b22f2+=_0x24969b+':'+_0x211318+':'+(_0x3a53d6?'1':'0')+':'+_0x44b000+':'+_0x9219a5+':'+_0x1185e3;}return _0x1b22f2;}function _0x13e64e(_0x166cc8){const _0xebf174=_0x5972b3,_0x34a214=_0x166cc8[_0xebf174(0xac)](','),_0x579274=[];for(const _0x2a81a7 of _0x34a214){const [_0x96f379,_0x6b2ad2,_0x954109,_0x1f9f51,_0x58eb87,_0xc56a68]=_0x2a81a7[_0xebf174(0xac)](':');_0x579274[_0xebf174(0x154)]({'startOffset':Number(_0x96f379),'endOffset':Number(_0x6b2ad2),'collapsed':_0x96f379===_0x6b2ad2,'isActive':_0x954109==='1','rangeType':_0x1f9f51===_0x34ebd1['DOC_RANGE_TYPE']['TEXT']?_0x34ebd1[_0xebf174(0x220)][_0xebf174(0xeb)]:_0x34ebd1[_0xebf174(0x220)][_0xebf174(0x122)],'segmentId':typeof _0x58eb87==_0xebf174(0x287)?String(_0x58eb87):'','segmentPage':Number(_0xc56a68!=null?_0xc56a68:-0x1)});}return _0x579274[_0xebf174(0x1b8)](_0xb58b9c=>_0xb58b9c['isActive'])||(_0x579274[0x0][_0xebf174(0x111)]=!0x0),_0x579274;}class _0x1ece76 extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(){const _0x55f5bc=_0x5972b3;super(...arguments),_0x47e648(this,'_collabCursorState$',new _0x3dc992[(_0x55f5bc(0x1ce))](null)),_0x47e648(this,_0x55f5bc(0x1fa),this[_0x55f5bc(0x1cd)][_0x55f5bc(0x235)]());}[_0x5972b3(0x278)](_0x374f){const _0x5e99e0=_0x5972b3,{unitID:_0x804ac9,memberID:_0x303ec3,textRanges:_0x2e57a0}=_0x374f,_0x3f4722=_0x553aa2(_0x2e57a0);if(_0x3f4722==='')return;const _0x2028fb={'unitID':_0x804ac9,'memberID':_0x303ec3,'selection':_0x3f4722};this[_0x5e99e0(0x1cd)][_0x5e99e0(0x329)](_0x2028fb);}}var _0x11bdba=Object[_0x5972b3(0x27e)],_0x20e015=(_0x3a8424,_0x748914,_0x4ad730,_0x5b49fb)=>{const _0x38dc6f=_0x5972b3;for(var _0x3aeec1=_0x5b49fb>0x1?void 0x0:_0x5b49fb?_0x11bdba(_0x748914,_0x4ad730):_0x748914,_0x4a35c7=_0x3a8424[_0x38dc6f(0x22e)]-0x1,_0x1621ca;_0x4a35c7>=0x0;_0x4a35c7--)(_0x1621ca=_0x3a8424[_0x4a35c7])&&(_0x3aeec1=_0x1621ca(_0x3aeec1)||_0x3aeec1);return _0x3aeec1;},_0x59cf17=(_0x361bbd,_0x5f2217)=>(_0x596c17,_0x6f5ac1)=>_0x5f2217(_0x596c17,_0x6f5ac1,_0x361bbd);const _0x1eae75=0x12c,_0xc583d9=0x64;let _0x40cc4d=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x1c0ed7,_0x465647,_0xbf38fd,_0x419743,_0xc24e87,_0x578da1,_0x912fb2,_0x32f9d0,_0x117811){const _0x4d7395=_0x5972b3;super(),_0x47e648(this,_0x4d7395(0x1d2),!0x1),_0x47e648(this,_0x4d7395(0x273),!0x1),_0x47e648(this,_0x4d7395(0x1a4),new _0x3dc992[(_0x4d7395(0x1ce))](new Map())),_0x47e648(this,_0x4d7395(0x2a8),this[_0x4d7395(0x1a4)][_0x4d7395(0x235)]()),_0x47e648(this,_0x4d7395(0x134),new _0x3dc992['BehaviorSubject']([])),_0x47e648(this,_0x4d7395(0x2e0),this['_roomMembers$'][_0x4d7395(0x1f0)](_0x3dc992[_0x4d7395(0x282)](_0x1eae75))),_0x47e648(this,_0x4d7395(0x1d4),_0x34ebd1[_0x4d7395(0x234)](_0x5431bf=>{const _0x8f5935=_0x4d7395,_0x528aed={'eventID':_0x26da06[_0x8f5935(0x21b)][_0x8f5935(0x135)],'data':{'unitID':this[_0x8f5935(0xf1)],'memberID':this['_session']['getMemberID'](),'selection':_0x553aa2(_0x5431bf)}};this[_0x8f5935(0x102)]['send'](_0x528aed,this[_0x8f5935(0xf1)]);},_0xc583d9)),(this[_0x4d7395(0xf1)]=_0x1c0ed7,this[_0x4d7395(0x102)]=_0x465647,this[_0x4d7395(0x11b)]=_0xbf38fd,this[_0x4d7395(0x124)]=_0x419743,this[_0x4d7395(0x304)]=_0xc24e87,this[_0x4d7395(0x33a)]=_0x578da1,this[_0x4d7395(0xd8)]=_0x912fb2,this[_0x4d7395(0x193)]=_0x32f9d0,this['_commandService']=_0x117811);}get[_0x5972b3(0x1a2)](){const _0x38aca5=_0x5972b3;return this[_0x38aca5(0x1a4)][_0x38aca5(0x269)]();}get[_0x5972b3(0x217)](){const _0xeae3af=_0x5972b3;return this[_0xeae3af(0x134)]['getValue']();}[_0x5972b3(0x31d)](){const _0x122b14=_0x5972b3;super['dispose'](),this[_0x122b14(0x1a4)]['next'](new Map()),this[_0x122b14(0x1a4)][_0x122b14(0x261)](),this[_0x122b14(0x134)][_0x122b14(0x329)]([]),this[_0x122b14(0x134)][_0x122b14(0x261)]();}[_0x5972b3(0x153)](){const _0x5c78b4=_0x5972b3;this[_0x5c78b4(0x273)]||(this['_init']=!0x0,this[_0x5c78b4(0x102)]['sessionStatus$'][_0x5c78b4(0x1f0)](_0x3dc992['takeUntil'](this[_0x5c78b4(0x177)]))['subscribe'](_0x2a2532=>{const _0x546624=_0x5c78b4;_0x2a2532===_0x3a2a7b[_0x546624(0x2d9)][_0x546624(0x302)]?this[_0x546624(0x133)]():this[_0x546624(0x308)]();}),this[_0x5c78b4(0x102)][_0x5c78b4(0x174)][_0x5c78b4(0x1f0)](_0x3dc992[_0x5c78b4(0x1a0)](this[_0x5c78b4(0x177)]))[_0x5c78b4(0x1a1)](_0x5579f8=>{const _0x4eb5f0=_0x5c78b4,_0x14070c=_0x5579f8[_0x4eb5f0(0xbd)];_0x14070c===_0x26da06[_0x4eb5f0(0x21b)]['UPDATE_CURSOR']&&this[_0x4eb5f0(0x2dd)](_0x5579f8),_0x14070c===_0x26da06[_0x4eb5f0(0x21b)][_0x4eb5f0(0x31c)]&&this[_0x4eb5f0(0xe4)](_0x5579f8);}),this[_0x5c78b4(0xab)](this[_0x5c78b4(0x17f)]['onCommandExecuted'](_0x240571=>{const _0x4f3a67=_0x5c78b4,_0x3364e9=_0x240571[_0x4f3a67(0x33c)];_0x3364e9!=null&&this[_0x4f3a67(0x1d2)]&&_0x240571['id']===_0x14e34b['SetTextSelectionsOperation']['id']&&_0x3364e9['unitId']===this['unitID']&&_0x3364e9['isEditing']===!0x1&&_0x3364e9[_0x4f3a67(0x240)]['length']>0x0&&this[_0x4f3a67(0x1d4)](_0x3364e9[_0x4f3a67(0x240)]);})),this[_0x5c78b4(0x33a)][_0x5c78b4(0x1fa)][_0x5c78b4(0x1f0)](_0x3dc992[_0x5c78b4(0x1a0)](this[_0x5c78b4(0x177)]))[_0x5c78b4(0x1a1)](_0x4e1901=>{const _0x208d99=_0x5c78b4;if((_0x4e1901==null?void 0x0:_0x4e1901[_0x208d99(0xf1)])!==this[_0x208d99(0xf1)])return;const _0x523a02={'eventID':_0x26da06[_0x208d99(0x21b)]['UPDATE_CURSOR'],'data':_0x4e1901};this[_0x208d99(0x2dd)](_0x523a02);}),this[_0x5c78b4(0xab)](this[_0x5c78b4(0x17f)]['onCommandExecuted'](_0x4c8e59=>{const _0x4e9e11=_0x5c78b4;if(_0x4c8e59[_0x4e9e11(0x33c)]==null)return;const _0x5ab5ad=_0x4c8e59[_0x4e9e11(0x33c)];if(_0x4c8e59['id']!==_0x14e34b[_0x4e9e11(0x1f7)]['id']||_0x5ab5ad[_0x4e9e11(0x25a)]!==this['unitID'])return;const _0x1b5e7c={'id':'doc.mutation.rich-text-editing','params':_0x5ab5ad},_0x1de564=this[_0x4e9e11(0x1a2)];for(const [_0x21824b,_0x48a0f7]of _0x1de564){const _0x5b03c7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4e9e11(0xf1)],'actions':null,'textRanges':_0x48a0f7[_0x4e9e11(0x240)]}},_0x4c5fcb=this['_transformService']['transformMutation'](_0x1b5e7c,_0x5b03c7,!0x1);if(_0x26da06[_0x4e9e11(0xf4)](_0x4c5fcb))throw _0x4c5fcb['error'];_0x1de564[_0x4e9e11(0x241)](_0x21824b,{..._0x48a0f7,'ranges':_0x4c5fcb['m2Prime'][_0x4e9e11(0x33c)][_0x4e9e11(0x291)]});}queueMicrotask(()=>{const _0x14b6ee=_0x4e9e11;this['_cursorInfo$'][_0x14b6ee(0x329)](_0x1de564);});})));}[_0x5972b3(0x2dd)](_0x1bd882){const _0x3989bc=_0x5972b3;var _0xeecffb,_0x5fd513;const {memberID:_0x27494e,selection:_0x32cdd9}=_0x1bd882[_0x3989bc(0x20b)],_0x3991a9=_0x13e64e(_0x32cdd9),_0x366e50=(_0x5fd513=(_0xeecffb=this[_0x3989bc(0x304)][_0x3989bc(0x163)](this[_0x3989bc(0xf1)],_0x27494e))==null?void 0x0:_0xeecffb['name'])!=null?_0x5fd513:_0x3989bc(0x30d),_0x2bc76f={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x27494e),'name':_0x366e50,'ranges':_0x3991a9},_0x4c8e4c=this[_0x3989bc(0x1a2)];_0x4c8e4c['set'](_0x27494e,_0x2bc76f),this['_cursorInfo$'][_0x3989bc(0x329)](_0x4c8e4c);}[_0x5972b3(0xe4)](_0x46cb9f){const _0x342c4e=_0x5972b3,{memberID:_0x4ac658}=_0x46cb9f['data'],_0x3b8c9b=this['cursorInfo'];_0x3b8c9b[_0x342c4e(0x2e8)](_0x4ac658),this[_0x342c4e(0x1a4)][_0x342c4e(0x329)](_0x3b8c9b);}[_0x5972b3(0x133)](){const _0x449ae6=_0x5972b3;var _0x390748;if(this['_online']=!0x0,((_0x390748=this[_0x449ae6(0x193)]['getFocusedUnit']())==null?void 0x0:_0x390748[_0x449ae6(0x18c)]())!==this[_0x449ae6(0xf1)])return;const _0x4c5aad=this[_0x449ae6(0x11b)][_0x449ae6(0x1d9)](_0x14e34b[_0x449ae6(0x337)])[_0x449ae6(0x1f6)]();Array[_0x449ae6(0x322)](_0x4c5aad)&&_0x4c5aad['length']>0x0&&this[_0x449ae6(0x1d4)](_0x4c5aad);}['_toggleOffline'](){const _0x44f31a=_0x5972b3;this[_0x44f31a(0x1d2)]=!0x1;}};_0x40cc4d=_0x20e015([_0x59cf17(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x59cf17(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x512efc)),_0x59cf17(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x2ac)])),_0x59cf17(0x5,_0x34ebd1[_0x5972b3(0x24b)](_0x1ece76)),_0x59cf17(0x6,_0x26da06[_0x5972b3(0x2b6)]),_0x59cf17(0x7,_0x34ebd1['IUniverInstanceService']),_0x59cf17(0x8,_0x34ebd1['ICommandService'])],_0x40cc4d);var _0x43852e=Object['getOwnPropertyDescriptor'],_0xaa1940=(_0x3ad88d,_0x334335,_0x2445f7,_0x45c5bb)=>{const _0x4db467=_0x5972b3;for(var _0x43412f=_0x45c5bb>0x1?void 0x0:_0x45c5bb?_0x43852e(_0x334335,_0x2445f7):_0x334335,_0x52a43f=_0x3ad88d[_0x4db467(0x22e)]-0x1,_0x1f67a1;_0x52a43f>=0x0;_0x52a43f--)(_0x1f67a1=_0x3ad88d[_0x52a43f])&&(_0x43412f=_0x1f67a1(_0x43412f)||_0x43412f);return _0x43412f;},_0x5672d3=(_0x4185f4,_0x411720)=>(_0xbb257a,_0x45f16e)=>_0x411720(_0xbb257a,_0x45f16e,_0x4185f4);const _0x3ce410=0x12c,_0x4eaabc=0x64,_0x27979a=()=>{let _0x5e8124=[],_0x1ac22f=!0x1;return _0x3eb087=>{const _0x3d4cd5=_0x3de9;_0x5e8124[_0x3d4cd5(0x154)](_0x3eb087),_0x1ac22f||(_0x1ac22f=!0x0,setTimeout(()=>{_0x5e8124['forEach'](_0x228cfe=>_0x228cfe()),_0x5e8124=[],_0x1ac22f=!0x1;}));};};let _0x5e3362=class extends _0x34ebd1['RxDisposable']{constructor(_0x372f7f,_0x11d147,_0x5b6b8f,_0x1b7724,_0x2ced9f,_0x29313b,_0x2db199,_0x5611b9){const _0xb65cb8=_0x5972b3;super(),_0x47e648(this,_0xb65cb8(0x1d2),!0x1),_0x47e648(this,_0xb65cb8(0x273),!0x1),_0x47e648(this,_0xb65cb8(0x1a4),new _0x3dc992['BehaviorSubject'](new Map())),_0x47e648(this,'cursorInfo$',this[_0xb65cb8(0x1a4)][_0xb65cb8(0x235)]()),_0x47e648(this,_0xb65cb8(0x134),new _0x3dc992[(_0xb65cb8(0x1ce))]([])),_0x47e648(this,_0xb65cb8(0x2e0),this['_roomMembers$']['pipe'](_0x3dc992[_0xb65cb8(0x282)](_0x3ce410))),_0x47e648(this,_0xb65cb8(0x1d4),_0x34ebd1[_0xb65cb8(0x234)]((_0x8eeb63,_0x2d3184)=>{const _0x5779dd=_0xb65cb8,_0x27f323={'eventID':_0x26da06[_0x5779dd(0x21b)][_0x5779dd(0x135)],'data':{'unitID':this[_0x5779dd(0xf1)],'memberID':this[_0x5779dd(0x102)][_0x5779dd(0x21a)](),'selection':_0x53151d[_0x5779dd(0x1e3)](_0x8eeb63,_0x2d3184[_0x5779dd(0x211)])}};this['_session'][_0x5779dd(0xaf)](_0x27f323,this['unitID']);},_0x4eaabc)),(this[_0xb65cb8(0xf1)]=_0x372f7f,this['_session']=_0x11d147,this['_injector']=_0x5b6b8f,this[_0xb65cb8(0x124)]=_0x1b7724,this[_0xb65cb8(0x304)]=_0x2ced9f,this[_0xb65cb8(0x193)]=_0x29313b,this[_0xb65cb8(0x17f)]=_0x2db199,this[_0xb65cb8(0x144)]=_0x5611b9);}get[_0x5972b3(0x1a2)](){const _0x5a568d=_0x5972b3;return this[_0x5a568d(0x1a4)]['getValue']();}get[_0x5972b3(0x217)](){const _0x145e66=_0x5972b3;return this['_roomMembers$'][_0x145e66(0x269)]();}[_0x5972b3(0x31d)](){const _0x38de56=_0x5972b3;super[_0x38de56(0x31d)](),this[_0x38de56(0x1a4)][_0x38de56(0x329)](new Map()),this[_0x38de56(0x1a4)]['complete'](),this[_0x38de56(0x134)][_0x38de56(0x329)]([]),this[_0x38de56(0x134)][_0x38de56(0x261)]();}[_0x5972b3(0x153)](){const _0x1ce1de=_0x5972b3;this[_0x1ce1de(0x273)]||(this['_init']=!0x0,this['_session'][_0x1ce1de(0x15b)][_0x1ce1de(0x1f0)](_0x3dc992[_0x1ce1de(0x1a0)](this['dispose$']))[_0x1ce1de(0x1a1)](_0xab88d4=>{const _0x379081=_0x1ce1de;_0xab88d4===_0x3a2a7b[_0x379081(0x2d9)][_0x379081(0x302)]?this[_0x379081(0x133)]():this['_toggleOffline']();}),this[_0x1ce1de(0x102)][_0x1ce1de(0x174)][_0x1ce1de(0x1f0)](_0x3dc992[_0x1ce1de(0x1a0)](this[_0x1ce1de(0x177)]))[_0x1ce1de(0x1a1)](_0xbca58f=>{const _0x4343e5=_0x1ce1de,_0x1d4ea0=_0xbca58f[_0x4343e5(0xbd)];_0x1d4ea0===_0x26da06[_0x4343e5(0x21b)][_0x4343e5(0x135)]&&this[_0x4343e5(0x2dd)](_0xbca58f),_0x1d4ea0===_0x26da06['CollaborationEvent'][_0x4343e5(0x31c)]&&this[_0x4343e5(0xe4)](_0xbca58f);}),this[_0x1ce1de(0x2c6)](),this[_0x1ce1de(0xab)](this[_0x1ce1de(0x17f)][_0x1ce1de(0x256)](_0x4298ed=>{const _0x2beadc=_0x1ce1de;if(this[_0x2beadc(0x1d2)]&&_0x4298ed['id']===_0x762c7b['SetSelectionsOperation']['id']&&_0x4298ed[_0x2beadc(0x33c)]['unitId']===this['unitID']){const _0x4e108e=_0x4298ed[_0x2beadc(0x33c)];this[_0x2beadc(0x1d4)](_0x4e108e[_0x2beadc(0x1d3)],_0x4e108e[_0x2beadc(0xad)][0x0]);}})));}[_0x5972b3(0x2dd)](_0x390a95){const _0x356f33=_0x5972b3;var _0x27547d,_0xfbe823;const {memberID:_0x3c12d4,selection:_0x43aebe}=_0x390a95[_0x356f33(0x20b)],{sheetName:_0x222048,range:_0xc8fcca}=_0x53151d['deserializeRangeWithSheet'](_0x43aebe),_0x13170e={'name':(_0xfbe823=(_0x27547d=this[_0x356f33(0x304)][_0x356f33(0x163)](this[_0x356f33(0xf1)],_0x3c12d4))==null?void 0x0:_0x27547d[_0x356f33(0x123)])!=null?_0xfbe823:_0x356f33(0x30d),'range':this[_0x356f33(0x2a3)](_0x222048,_0xc8fcca),'sheetID':_0x222048,'color':this[_0x356f33(0x124)]['assignAColorForMemberID'](_0x3c12d4),'selection':_0x43aebe},_0xbb3dcd=this[_0x356f33(0x1a2)];_0xbb3dcd[_0x356f33(0x241)](_0x3c12d4,_0x13170e),this[_0x356f33(0x1a4)][_0x356f33(0x329)](_0xbb3dcd);}[_0x5972b3(0xe4)](_0x3bdbe7){const _0x3f2203=_0x5972b3,{memberID:_0x572ea2}=_0x3bdbe7[_0x3f2203(0x20b)],_0x24e6a3=this[_0x3f2203(0x1a2)];_0x24e6a3['delete'](_0x572ea2),this['_cursorInfo$'][_0x3f2203(0x329)](_0x24e6a3);}[_0x5972b3(0x2a3)](_0x5f21f9,_0x1d7873){const _0x1884d2=_0x5972b3;var _0x185be6,_0x30341d;const _0x42bcf6=(_0x30341d=(_0x185be6=this[_0x1884d2(0x193)]['getUniverSheetInstance'](this[_0x1884d2(0xf1)]))==null?void 0x0:_0x185be6[_0x1884d2(0x24e)](_0x5f21f9))==null?void 0x0:_0x30341d['getMergeData']();return(_0x42bcf6==null?void 0x0:_0x42bcf6[_0x1884d2(0xe1)](_0x4515ed=>_0x34ebd1['Rectangle'][_0x1884d2(0x238)](_0x4515ed,_0x1d7873)))||_0x1d7873;}[_0x5972b3(0x2c6)](){const _0x609b85=_0x5972b3,_0x23eb4a=new _0x34ebd1[(_0x609b85(0x271))](),_0x2e721d=_0x27979a(),_0x1ab9c7=()=>{const _0x2827b1=_0x609b85;_0x23eb4a[_0x2827b1(0x31d)]();const _0x3dc09d=(_0x2f7d36,_0x1e4301,_0x2505af,_0x2ec6e9)=>{const _0x3a5e72=_0x2827b1;let _0x5be3db=[];switch(_0x2f7d36['id']){case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x1eb)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0xec)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x222)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x332)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x210)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x11d)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0xca)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x189)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x221)]:{_0x5be3db=_0x762c7b['handleInsertRangeMoveRight'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x224)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x239)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0xde)]:{_0x5be3db=_0x762c7b['handleMoveRange'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x10f)]:{_0x5be3db=_0x762c7b['handleIRemoveCol'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId']['RemoveRowCommandId']:{_0x5be3db=_0x762c7b[_0x3a5e72(0x2e4)](_0x2f7d36,_0x2ec6e9);break;}}const _0x5bf8c4=_0x762c7b[_0x3a5e72(0x316)](_0x5be3db,_0x2ec6e9),_0x1a2814=this['cursorInfo'][_0x3a5e72(0x1d9)](_0x1e4301);if(_0x1a2814&&_0x5bf8c4){const _0x2962f9={..._0x1a2814,'range':_0x5bf8c4};this[_0x3a5e72(0x1a2)]['set'](_0x1e4301,_0x2962f9),_0x2e721d(()=>{const _0x5c2e8c=_0x3a5e72,_0x5a8ed9=this['_refRangeService'][_0x5c2e8c(0x195)](_0x5bf8c4,_0xb0814=>(_0x5a8ed9[_0x5c2e8c(0x31d)](),_0x3dc09d(_0xb0814,_0x1e4301,_0x2505af,_0x5bf8c4)));_0x23eb4a[_0x5c2e8c(0x340)](_0x5a8ed9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x19e588,_0x289c48)=>{const _0x2ac852=_0x2827b1,{range:_0x287f60,sheetID:_0x490977}=_0x19e588,_0x319eee=this[_0x2ac852(0x144)][_0x2ac852(0x195)](_0x287f60,_0xf45d1b=>(_0x319eee[_0x2ac852(0x31d)](),_0x3dc09d(_0xf45d1b,_0x289c48,_0x490977,_0x287f60)));_0x23eb4a[_0x2ac852(0x340)](_0x319eee);});};this[_0x609b85(0xab)](_0x34ebd1['toDisposable'](this['_cursorInfo$'][_0x609b85(0x1a1)](()=>{_0x1ab9c7();})));}[_0x5972b3(0x133)](){const _0x560978=_0x5972b3;var _0x1c849d,_0x29ac54;if(this[_0x560978(0x1d2)]=!0x0,((_0x1c849d=this[_0x560978(0x193)][_0x560978(0x192)]())==null?void 0x0:_0x1c849d[_0x560978(0x18c)]())!==this[_0x560978(0xf1)])return;const _0x35f6dc=(_0x29ac54=this[_0x560978(0x11b)][_0x560978(0x1d9)](_0x762c7b['SheetsSelectionsService'])[_0x560978(0x266)]())==null?void 0x0:_0x29ac54[0x0],_0xcea981=this[_0x560978(0x193)][_0x560978(0x24c)](_0x34ebd1[_0x560978(0x12d)][_0x560978(0x170)])[_0x560978(0x30e)]();_0x35f6dc&&_0xcea981&&this['_updateLocalCursor'](_0xcea981[_0x560978(0xd3)](),_0x35f6dc);}['_toggleOffline'](){const _0x2e88ac=_0x5972b3;this[_0x2e88ac(0x1d2)]=!0x1;}};_0x5e3362=_0xaa1940([_0x5672d3(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['Injector'])),_0x5672d3(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x512efc)),_0x5672d3(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b['MemberService'])),_0x5672d3(0x5,_0x34ebd1[_0x5972b3(0xb7)]),_0x5672d3(0x6,_0x34ebd1[_0x5972b3(0xb3)]),_0x5672d3(0x7,_0x34ebd1[_0x5972b3(0x24b)](_0x762c7b[_0x5972b3(0x319)]))],_0x5e3362);var _0x20aedd=Object[_0x5972b3(0x27e)],_0x41364c=(_0x4f7dac,_0x196321,_0x335f59,_0x2f031e)=>{for(var _0x395e65=_0x2f031e>0x1?void 0x0:_0x2f031e?_0x20aedd(_0x196321,_0x335f59):_0x196321,_0x52bc3c=_0x4f7dac['length']-0x1,_0x1ccc55;_0x52bc3c>=0x0;_0x52bc3c--)(_0x1ccc55=_0x4f7dac[_0x52bc3c])&&(_0x395e65=_0x1ccc55(_0x395e65)||_0x395e65);return _0x395e65;},_0x1fbc89=(_0xaacea,_0x24b1bc)=>(_0x59e063,_0x3fd029)=>_0x24b1bc(_0x59e063,_0x3fd029,_0xaacea);let _0x2debf7=class extends _0x34ebd1['RxDisposable']{constructor(_0x48dd7d,_0x3ac454,_0x2a66fd){const _0x3b97c7=_0x5972b3;super(),_0x47e648(this,_0x3b97c7(0x303),new Map()),_0x47e648(this,_0x3b97c7(0x1b1),new _0x3dc992['Subject']()),(this['_univerInstanceService']=_0x48dd7d,this[_0x3b97c7(0x11b)]=_0x3ac454,this['_collabSessionService']=_0x2a66fd,this[_0x3b97c7(0x273)]());}[_0x5972b3(0x31d)](){const _0x1b846c=_0x5972b3;super[_0x1b846c(0x31d)](),this[_0x1b846c(0x1b1)][_0x1b846c(0x261)](),this[_0x1b846c(0x303)][_0x1b846c(0x157)](_0x3f0d11=>_0x3f0d11['dispose']());}[_0x5972b3(0x11c)](_0x4e50ee){const _0x3efbd7=_0x5972b3;return this[_0x3efbd7(0x303)][_0x3efbd7(0x2c3)](_0x4e50ee)?this[_0x3efbd7(0x303)][_0x3efbd7(0x1d9)](_0x4e50ee)[_0x3efbd7(0x2a8)]:this[_0x3efbd7(0x1b1)][_0x3efbd7(0x1f0)](_0x3dc992[_0x3efbd7(0x254)](_0x5065f5=>_0x5065f5['unitID']===_0x4e50ee),_0x3dc992['switchMap'](_0x32bc9c=>_0x32bc9c[_0x3efbd7(0x2a8)]));}[_0x5972b3(0x273)](){const _0x3690f1=_0x5972b3;this['_univerInstanceService'][_0x3690f1(0xed)](_0x34ebd1[_0x3690f1(0x12d)][_0x3690f1(0x170)])[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this[_0x3690f1(0x177)]))[_0x3690f1(0x1a1)](async _0x5c967e=>{const _0x13725a=_0x3690f1,_0x32c7d3=_0x5c967e[_0x13725a(0x18c)](),_0x263184=await this['_startSheetCollabCursor'](_0x32c7d3);this[_0x13725a(0x1b1)]['next'](_0x263184),this[_0x13725a(0x303)][_0x13725a(0x241)](_0x32c7d3,_0x263184);}),this[_0x3690f1(0x193)][_0x3690f1(0xed)](_0x34ebd1[_0x3690f1(0x12d)]['UNIVER_DOC'])[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this[_0x3690f1(0x177)]))[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x254)](_0x277336=>!_0x277336[_0x3690f1(0x18c)]()[_0x3690f1(0x1f8)]('__')))[_0x3690f1(0x1a1)](async _0x1ccf55=>{const _0x19895e=_0x3690f1,_0x415a1=_0x1ccf55['getUnitId'](),_0x25fa42=await this[_0x19895e(0xd0)](_0x415a1);this[_0x19895e(0x1b1)][_0x19895e(0x329)](_0x25fa42),this['_entities'][_0x19895e(0x241)](_0x415a1,_0x25fa42);}),_0x3dc992['merge'](this[_0x3690f1(0x193)][_0x3690f1(0xff)](_0x34ebd1[_0x3690f1(0x12d)][_0x3690f1(0x1f5)]),this[_0x3690f1(0x193)]['getTypeOfUnitDisposed$'](_0x34ebd1[_0x3690f1(0x12d)]['UNIVER_SHEET']))[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this['dispose$']))[_0x3690f1(0x1a1)](_0x39e7d4=>{const _0x21e8ad=_0x3690f1,_0x3bbf9d=_0x39e7d4['getUnitId'](),_0x37ccc7=this[_0x21e8ad(0x303)][_0x21e8ad(0x1d9)](_0x3bbf9d);_0x37ccc7&&(_0x37ccc7[_0x21e8ad(0x31d)](),this[_0x21e8ad(0x303)][_0x21e8ad(0x2e8)](_0x3bbf9d));});}async['_startSheetCollabCursor'](_0x23f503){const _0x11586c=_0x5972b3,_0x5d8137=await this['_collabSessionService'][_0x11586c(0xaa)](_0x23f503),_0x1258d9=this[_0x11586c(0x11b)][_0x11586c(0x26a)](_0x5e3362,_0x23f503,_0x5d8137);return _0x1258d9[_0x11586c(0x153)](),_0x1258d9;}async['_startDocCollabCursor'](_0xf79bdc){const _0x17f866=_0x5972b3,_0x2de7ea=await this[_0x17f866(0x1ad)][_0x17f866(0xaa)](_0xf79bdc),_0x1ab109=this[_0x17f866(0x11b)][_0x17f866(0x26a)](_0x40cc4d,_0xf79bdc,_0x2de7ea);return _0x1ab109[_0x17f866(0x153)](),_0x1ab109;}};_0x2debf7=_0x41364c([_0x1fbc89(0x0,_0x34ebd1['IUniverInstanceService']),_0x1fbc89(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x1fbc89(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x32d)]))],_0x2debf7);const _0x13f6c2=0x14,_0x550df8=0xc8,_0x37923b=0x4,_0x21006e=0x5;function _0x28e0ae(_0x402e5e,_0x517719){const _0x22302f=_0x5972b3;let {radius:_0xba3853,width:_0x5f9316,height:_0x5e20f0}=_0x517719;_0xba3853=_0xba3853!=null?_0xba3853:0x0,_0x5f9316=_0x5f9316!=null?_0x5f9316:0x1e,_0x5e20f0=_0x5e20f0!=null?_0x5e20f0:0x1e;let _0x4bd3cf=0x0,_0x39e41e=0x0,_0x326ccb=0x0;_0x4bd3cf=_0x39e41e=_0x326ccb=Math[_0x22302f(0x1ca)](_0xba3853,_0x5f9316/0x2,_0x5e20f0/0x2),_0x402e5e[_0x22302f(0x15f)](),_0x402e5e[_0x22302f(0x1b6)](_0x4bd3cf,0x0),_0x402e5e['lineTo'](_0x5f9316-_0x39e41e,0x0),_0x402e5e['arc'](_0x5f9316-_0x39e41e,_0x39e41e,_0x39e41e,Math['PI']*0x3/0x2,0x0,!0x1),_0x402e5e[_0x22302f(0x106)](_0x5f9316,_0x5e20f0-_0x326ccb),_0x402e5e[_0x22302f(0x1ff)](_0x5f9316-_0x326ccb,_0x5e20f0-_0x326ccb,_0x326ccb,0x0,Math['PI']/0x2,!0x1),_0x402e5e[_0x22302f(0x106)](0x0,_0x5e20f0),_0x402e5e[_0x22302f(0x106)](0x0,_0x4bd3cf),_0x402e5e[_0x22302f(0x1ff)](_0x4bd3cf,_0x4bd3cf,_0x4bd3cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x402e5e[_0x22302f(0x1f1)](),_0x517719[_0x22302f(0x1be)]&&(_0x402e5e[_0x22302f(0x148)](),_0x402e5e[_0x22302f(0x1bc)]=_0x517719[_0x22302f(0x1be)],_0x517719[_0x22302f(0x326)]===_0x22302f(0x126)?_0x402e5e[_0x22302f(0x1be)]('evenodd'):_0x402e5e['fill'](),_0x402e5e[_0x22302f(0x1cc)]());}class _0x30610d extends _0x25b909[_0x5972b3(0x1b4)]{constructor(_0x45ee8b,_0x20fbb3){const _0x3d33b6=_0x5972b3;super(_0x45ee8b,_0x20fbb3),_0x47e648(this,_0x3d33b6(0x32c)),_0x47e648(this,_0x3d33b6(0x262)),(this['color']=_0x20fbb3==null?void 0x0:_0x20fbb3[_0x3d33b6(0x32c)],this[_0x3d33b6(0x262)]=_0x20fbb3==null?void 0x0:_0x20fbb3[_0x3d33b6(0x262)]);}static[_0x5972b3(0x10d)](_0x2e0f14,_0x70af1c){const _0x7c743=_0x5972b3,{text:_0x55bda7,color:_0x2986ca}=_0x70af1c;_0x2e0f14[_0x7c743(0x148)](),_0x2e0f14[_0x7c743(0x125)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5707ac=_0x2e0f14[_0x7c743(0x109)](_0x55bda7)[_0x7c743(0x257)],_0x2417ac=Math[_0x7c743(0x1ca)](_0x5707ac+0x2*_0x37923b,_0x550df8);_0x28e0ae(_0x2e0f14,{'height':_0x13f6c2,'radius':0x4,'width':_0x2417ac,'fill':_0x2986ca}),_0x2e0f14[_0x7c743(0x1bc)]=_0x7c743(0xf0);const _0x53735e=_0x37923b,_0xf41a99=_0x13f6c2-_0x21006e,_0x2c7ec6=_0x550df8-0x2*_0x37923b;if(_0x5707ac>_0x2c7ec6){let _0x5b394f='',_0x481a28=0x0;for(const _0x1f6a6e of _0x55bda7){const _0x36ca8d=_0x2e0f14['measureText'](_0x1f6a6e)[_0x7c743(0x257)];if(_0x481a28+_0x36ca8d<=_0x2c7ec6-_0x2e0f14[_0x7c743(0x109)](_0x7c743(0x32b))[_0x7c743(0x257)])_0x5b394f+=_0x1f6a6e,_0x481a28+=_0x36ca8d;else{_0x5b394f+=_0x7c743(0x32b);break;}}_0x2e0f14[_0x7c743(0x1df)](_0x5b394f,_0x53735e,_0xf41a99);}else _0x2e0f14[_0x7c743(0x1df)](_0x55bda7,_0x53735e,_0xf41a99);_0x2e0f14['restore']();}[_0x5972b3(0x147)](_0x29a8c5){const _0x6e9a31=_0x5972b3;_0x30610d[_0x6e9a31(0x10d)](_0x29a8c5,this);}}const _0x226220='collab-text-anchor-',_0x5e099a=_0x5972b3(0x23f),_0x2ddd32=_0x5972b3(0x259),_0x3f3004=0x6,_0x50ec66=1.5,_0x240dee=0x4,_0x591cc8=1.5,_0x58b37b='rgba(255,\x20255,\x20255,\x200.01)';class _0x3ef596{constructor(_0x313dda,_0x1e8b2a,_0xee32a3,_0x2853ea){const _0x1cd03b=_0x5972b3;_0x47e648(this,_0x1cd03b(0x139),[]),_0x47e648(this,_0x1cd03b(0x23a),null),_0x47e648(this,_0x1cd03b(0x26d),null),_0x47e648(this,_0x1cd03b(0x179),null),_0x47e648(this,'_hideTimer',null),_0x47e648(this,_0x1cd03b(0x27a),null),(this[_0x1cd03b(0xf6)]=_0x313dda,this[_0x1cd03b(0x327)]=_0x1e8b2a,this['_docSkeleton']=_0xee32a3,this[_0x1cd03b(0x20f)]=_0x2853ea,this[_0x1cd03b(0x1fc)]());}set[_0x5972b3(0x294)](_0x3ecc70){const _0x1fee00=_0x5972b3;_0x3ecc70?(this['_anchorDot']&&this[_0x1fee00(0x179)][_0x1fee00(0x2ce)](),this[_0x1fee00(0x26d)]&&this[_0x1fee00(0x26d)][_0x1fee00(0xae)]()):(this['_anchorDot']&&this[_0x1fee00(0x179)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x5972b3(0x31d)](){const _0x5982ad=_0x5972b3;for(const _0x1ed32a of this[_0x5982ad(0x139)])_0x1ed32a[_0x5982ad(0x31d)]();this[_0x5982ad(0x26d)]&&this['_textBubble'][_0x5982ad(0x31d)](),this[_0x5982ad(0x179)]&&this[_0x5982ad(0x179)]['dispose'](),this['_anchor']&&this[_0x5982ad(0x23a)]['dispose'](),this[_0x5982ad(0x27a)]&&this[_0x5982ad(0x27a)]();}[_0x5972b3(0x1fc)](){const _0x4020e5=_0x5972b3;var _0x2ef050;const {_docSkeleton:_0x523385,_document:_0x4305b8}=this,{color:_0x540ab0,name:_0x28e7c5,ranges:_0xc7843a}=this[_0x4020e5(0xf6)],_0x2efeed=_0x4305b8[_0x4020e5(0x17a)](),{docsLeft:_0x35a8d8,docsTop:_0x4ef8a0}=_0x2efeed,_0x27f486=new _0x277641['NodePositionConvertToCursor'](_0x2efeed,_0x523385);for(const {startOffset:_0x34d856,endOffset:_0x36fb19,rangeType:_0x1e26a1,segmentId:_0x7d1f43,segmentPage:_0x17eed4,collapsed:_0x28ecb3,isActive:_0x3a0310}of _0xc7843a){const _0x36f65b=_0x523385[_0x4020e5(0x168)](_0x34d856,!0x0,_0x7d1f43,_0x17eed4);let _0x4ede07=_0x523385[_0x4020e5(0x168)](_0x36fb19,!0x0,_0x7d1f43,_0x17eed4);if(_0x4ede07==null&&(_0x4ede07=_0x523385['findNodePositionByCharIndex'](_0x36fb19-0x1,!0x1,_0x7d1f43,_0x17eed4)),_0x3a0310){const {contentBoxPointGroup:_0x1a964d}=_0x27f486[_0x4020e5(0x2d0)](_0x4ede07,_0x4ede07);if(_0x1a964d[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x2f0)](_0x540ab0,_0x1a964d,_0x35a8d8,_0x4ef8a0,_0x28e7c5),this[_0x4020e5(0x27a)]=this[_0x4020e5(0x1c2)]();}if(_0x36f65b&&_0x4ede07){if(_0x1e26a1===_0x34ebd1[_0x4020e5(0x220)][_0x4020e5(0x122)]){const _0x15469d=new _0x277641[(_0x4020e5(0x143))](_0x2efeed,_0x523385),{pointGroup:_0x52d1a2}=(_0x2ef050=_0x15469d[_0x4020e5(0x2d0)](_0x36f65b,_0x4ede07))!=null?_0x2ef050:{};if(_0x52d1a2==null||_0x52d1a2[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x27c)](_0x540ab0,_0x52d1a2,_0x35a8d8,_0x4ef8a0);}else{if(!_0x28ecb3){const {borderBoxPointGroup:_0x3b1e30}=_0x27f486['getRangePointData'](_0x36f65b,_0x4ede07);if(_0x3b1e30[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x1a9)](_0x540ab0,_0x3b1e30,_0x35a8d8,_0x4ef8a0);}}}}}['_drawAnchor'](_0xb9365f,_0x231f4e,_0x189456,_0x407456,_0x1808fd){const _0x1e9825=_0x5972b3,_0x26b7f0=this[_0x1e9825(0x260)](_0x231f4e),{left:_0x4919b7,top:_0x1fdd70,height:_0xd41d7f}=_0x26b7f0,_0x144f1a=this[_0x1e9825(0x11a)](),_0x3b09b3=_0x591cc8/_0x144f1a,_0x443b81=new _0x25b909['Rect'](_0x226220+_0x34ebd1[_0x1e9825(0x309)]['generateRandomId'](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456,'height':_0xd41d7f,'width':_0x50ec66,'fill':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'strokeWidth':_0x3b09b3,'stroke':_0x58b37b,'evented':!0x0});this['_anchor']=_0x443b81,this[_0x1e9825(0x327)][_0x1e9825(0x12f)](_0x443b81,_0x277641[_0x1e9825(0x2cc)]);const _0x1c35c9=new _0x25b909[(_0x1e9825(0x1da))](_0x226220+_0x34ebd1['Tools'][_0x1e9825(0x116)](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456-_0x240dee/0x2,'height':_0x240dee,'width':_0x240dee,'fill':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'strokeWidth':0x0,'stroke':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'evented':!0x1});this[_0x1e9825(0x179)]=_0x1c35c9,this['_scene'][_0x1e9825(0x12f)](_0x1c35c9,_0x277641[_0x1e9825(0x2cc)]);const _0x17b6fd=new _0x30610d(_0x226220+_0x34ebd1[_0x1e9825(0x309)][_0x1e9825(0x116)](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456-_0x13f6c2,'text':_0x1808fd,'color':_0xb9365f});this[_0x1e9825(0x26d)]=_0x17b6fd,this[_0x1e9825(0x327)][_0x1e9825(0x12f)](_0x17b6fd,_0x277641[_0x1e9825(0x2cc)]),this['_hover']=!0x1;}[_0x5972b3(0x1c2)](){const _0x45895e=_0x5972b3,_0x1660bc=this[_0x45895e(0x23a)][_0x45895e(0xe8)]['subscribeEvent'](()=>{const _0xfba132=_0x45895e;this[_0xfba132(0x294)]=!0x0;}),_0x12dbf1=this['_anchor'][_0x45895e(0x1d5)]['subscribeEvent'](()=>{const _0x5168d8=_0x45895e;this[_0x5168d8(0x339)]&&clearTimeout(this['_hideTimer']),this[_0x5168d8(0x339)]=setTimeout(()=>{const _0x3cc32e=_0x5168d8;this[_0x3cc32e(0x294)]=!0x1;},0x7d0);});return()=>{const _0x10a97c=_0x45895e;_0x1660bc[_0x10a97c(0x280)](),_0x12dbf1['unsubscribe']();};}[_0x5972b3(0x1a9)](_0x381ea5,_0x43c5de,_0x587b29,_0x4e04a2){const _0x1382d5=_0x5972b3,_0x30ee6d=new _0x34ebd1[(_0x1382d5(0x2aa))](_0x381ea5)['setAlpha'](0.2)[_0x1382d5(0x191)](),_0x1e2c81=new _0x25b909[(_0x1382d5(0x2a1))](_0x5e099a+_0x34ebd1[_0x1382d5(0x309)][_0x1382d5(0x116)](_0x3f3004),{'pointsGroup':_0x43c5de,'fill':_0x30ee6d||_0x25b909['getColor'](_0x34ebd1['COLORS'][_0x1382d5(0x1d0)],0.2),'left':_0x587b29,'top':_0x4e04a2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1382d5(0x139)][_0x1382d5(0x154)](_0x1e2c81),this[_0x1382d5(0x327)][_0x1382d5(0x12f)](_0x1e2c81,_0x277641[_0x1382d5(0x2cc)]);}['_drawRectRange'](_0x48823f,_0x46fcf3,_0xe61ad,_0x216bc3){const _0x28d24a=_0x5972b3,_0x34b7d8=new _0x34ebd1[(_0x28d24a(0x2aa))](_0x48823f)[_0x28d24a(0x2fb)](0.2)['toRgbString'](),_0x1b1e30=new _0x25b909[(_0x28d24a(0x2a1))](_0x2ddd32+_0x34ebd1['Tools'][_0x28d24a(0x116)](_0x3f3004),{'pointsGroup':_0x46fcf3,'fill':_0x34b7d8||_0x25b909['getColor'](_0x34ebd1['COLORS'][_0x28d24a(0x1d0)],0.2),'left':_0xe61ad,'top':_0x216bc3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28d24a(0x139)]['push'](_0x1b1e30),this['_scene'][_0x28d24a(0x12f)](_0x1b1e30,_0x277641[_0x28d24a(0x2cc)]);}[_0x5972b3(0x260)](_0x2def04){const _0xc439a3=_0x2def04[0x0],_0x4f0a85=_0xc439a3[0x0],_0x1d1cfb=_0xc439a3[0x2],{x:_0x4f54e4,y:_0x3f6f84}=_0x4f0a85,{x:_0x18a1b0,y:_0x4bdf0c}=_0x1d1cfb;return{'left':_0x4f54e4,'top':_0x3f6f84,'width':_0x18a1b0-_0x4f54e4,'height':_0x4bdf0c-_0x3f6f84};}[_0x5972b3(0x11a)](){const _0x5dda0a=_0x5972b3,{scaleX:_0x5606d9,scaleY:_0x37f48a}=this[_0x5dda0a(0x327)]['getAncestorScale']();return Math[_0x5dda0a(0x20c)](_0x5606d9,_0x37f48a);}}var _0x3e415b=Object[_0x5972b3(0x27e)],_0x12080a=(_0x41e280,_0x1254c4,_0x22c6e3,_0x5dcb71)=>{const _0x3d0425=_0x5972b3;for(var _0x160802=_0x5dcb71>0x1?void 0x0:_0x5dcb71?_0x3e415b(_0x1254c4,_0x22c6e3):_0x1254c4,_0x50ab9a=_0x41e280[_0x3d0425(0x22e)]-0x1,_0x41b30f;_0x50ab9a>=0x0;_0x50ab9a--)(_0x41b30f=_0x41e280[_0x50ab9a])&&(_0x160802=_0x41b30f(_0x160802)||_0x160802);return _0x160802;},_0x4e3a29=(_0x291e55,_0x1c5576)=>(_0x550962,_0x5b9991)=>_0x1c5576(_0x550962,_0x5b9991,_0x291e55);let _0x38f847=class extends _0x34ebd1['RxDisposable']{constructor(_0x4fd640,_0x49f545,_0x42bd45,_0x411b45,_0x3b776a){const _0x4389f0=_0x5972b3;super(),_0x47e648(this,_0x4389f0(0x25e),[]),_0x47e648(this,_0x4389f0(0x243),[]),(this[_0x4389f0(0x267)]=_0x4fd640,this[_0x4389f0(0x162)]=_0x49f545,this[_0x4389f0(0x2eb)]=_0x42bd45,this[_0x4389f0(0x17f)]=_0x411b45,this['_themeService']=_0x3b776a,this['_init']());}[_0x5972b3(0x273)](){const _0x5a518c=_0x5972b3,_0x18745b=this[_0x5a518c(0x267)][_0x5a518c(0x25a)],_0x34b3c6=this[_0x5a518c(0x162)];this[_0x5a518c(0xab)](_0x3dc992[_0x5a518c(0x131)]([this[_0x5a518c(0x2eb)][_0x5a518c(0x11c)](_0x18745b),this[_0x5a518c(0xe2)][_0x5a518c(0x100)]])['pipe'](_0x3fc8e3[_0x5a518c(0x20e)](([_0x2e0ff6,_0x15af48])=>({'skeleton':_0x34b3c6[_0x5a518c(0x1c6)](),'cursors':[..._0x2e0ff6[_0x5a518c(0x1f4)]()][_0x5a518c(0x317)](_0x2f65d5=>({..._0x2f65d5,'color':this[_0x5a518c(0xe2)][_0x5a518c(0x1b2)](_0x2f65d5[_0x5a518c(0x32c)])}))})))['subscribe'](_0x44ad8e=>{const _0x3ca9fe=_0x5a518c;if(this[_0x3ca9fe(0x2ff)](),_0x44ad8e){const {skeleton:_0x1957e8,cursors:_0x2b389c}=_0x44ad8e;this['_updateCollabCursors'](_0x1957e8,_0x2b389c);}})),this[_0x5a518c(0x252)](),this[_0x5a518c(0x2a4)]();}[_0x5972b3(0x190)](_0x1ab255,_0x4fcf28){const _0x28355a=_0x5972b3,{scene:_0x5cafba,mainComponent:_0x101919}=this[_0x28355a(0x267)],_0x489cdb=_0x4fcf28['map'](_0x503d41=>new _0x3ef596(_0x503d41,_0x5cafba,_0x1ab255,_0x101919));this[_0x28355a(0x25e)]=_0x489cdb,this[_0x28355a(0x243)]=_0x4fcf28;}['_refreshCollabCursors'](){const _0x170686=_0x5972b3;this[_0x170686(0x2ff)]();const {scene:_0x9cb1cb,mainComponent:_0x2146a7}=this['_context'],_0x2e20f0=this['_docSkeletonManagerService']['getSkeleton'](),_0x5c9aff=this['_cursors'][_0x170686(0x20e)](_0x57e594=>new _0x3ef596(_0x57e594,_0x9cb1cb,_0x2e20f0,_0x2146a7));this['_cursorShapes']=_0x5c9aff;}[_0x5972b3(0x2ff)](){const _0x48fc63=_0x5972b3;this[_0x48fc63(0x25e)][_0x48fc63(0x157)](_0x17ee2e=>_0x17ee2e['dispose']()),this[_0x48fc63(0x25e)]=[];}['_initCommandExecutedListener'](){const _0x2a14a1=_0x5972b3,_0x308a64=[_0x277641['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2a14a1(0x17f)][_0x2a14a1(0x256)](_0x2a57d8=>{const _0xc222fe=_0x2a14a1;_0x308a64[_0xc222fe(0x330)](_0x2a57d8['id'])&&_0x2a57d8[_0xc222fe(0x33c)]['unitId']===this[_0xc222fe(0x267)][_0xc222fe(0x25a)]&&this[_0xc222fe(0x226)]();}));}[_0x5972b3(0x252)](){const _0x5b2b04=_0x5972b3;this[_0x5b2b04(0xab)](_0x34ebd1[_0x5b2b04(0x1c7)](this[_0x5b2b04(0x267)][_0x5b2b04(0x281)]['onTransformChange$'])[_0x5b2b04(0x1f0)](_0x3fc8e3[_0x5b2b04(0x254)](_0x4ff6f3=>_0x4ff6f3[_0x5b2b04(0x2bb)]===_0x25b909[_0x5b2b04(0x145)][_0x5b2b04(0xb0)]),_0x3fc8e3['throttleTime'](0x10))[_0x5b2b04(0x1a1)](()=>{const _0x2229b5=_0x5b2b04;this[_0x2229b5(0x226)]();}));}};_0x38f847=_0x12080a([_0x4e3a29(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x14e34b['DocSkeletonManagerService'])),_0x4e3a29(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x2debf7)),_0x4e3a29(0x3,_0x34ebd1[_0x5972b3(0xb3)]),_0x4e3a29(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['ThemeService']))],_0x38f847);const _0x2ebfab=0x1,_0x3a7328=1.5;class _0x34dc28 extends _0x25b909[_0x5972b3(0x1b4)]{constructor(_0x5dbb39,_0x170222){const _0x3e1cf1=_0x5972b3;super(_0x5dbb39,_0x170222),_0x47e648(this,_0x3e1cf1(0x305)),_0x47e648(this,_0x3e1cf1(0x342),!0x1),_0x47e648(this,_0x3e1cf1(0x169)),_0x47e648(this,'_name',''),_0x47e648(this,'_labelPosition',_0x3e1cf1(0x1a5)),_0x47e648(this,_0x3e1cf1(0x127)),(_0x170222&&this[_0x3e1cf1(0x181)](_0x170222),this['onPointerEnter$'][_0x3e1cf1(0x2a5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3e1cf1(0x1d5)]['subscribeEvent'](()=>this[_0x3e1cf1(0x181)]({'hovered':!0x1})));}['setShapeProps'](_0x6bdbe5){const _0x1a72b1=_0x5972b3;var _0x32e729,_0x656b9e,_0x20793c,_0x36378d,_0x174c07,_0x24712d;this[_0x1a72b1(0x305)]=(_0x32e729=_0x6bdbe5[_0x1a72b1(0x32c)])!=null?_0x32e729:this['_color'],this[_0x1a72b1(0x342)]=(_0x656b9e=_0x6bdbe5[_0x1a72b1(0x1ec)])!=null?_0x656b9e:this[_0x1a72b1(0x342)],this[_0x1a72b1(0x169)]=(_0x20793c=_0x6bdbe5[_0x1a72b1(0x211)])!=null?_0x20793c:this[_0x1a72b1(0x169)],this[_0x1a72b1(0xd4)]=(_0x36378d=_0x6bdbe5[_0x1a72b1(0x123)])!=null?_0x36378d:this[_0x1a72b1(0xd4)],this[_0x1a72b1(0x2d1)]=(_0x174c07=_0x6bdbe5[_0x1a72b1(0x29c)])!=null?_0x174c07:this['_labelPosition'],this[_0x1a72b1(0x127)]=(_0x24712d=_0x6bdbe5[_0x1a72b1(0x227)])!=null?_0x24712d:this['_backgroundColor'],this[_0x1a72b1(0x28d)]({'width':_0x6bdbe5[_0x1a72b1(0x257)],'height':_0x6bdbe5['height']});}[_0x5972b3(0x14a)](_0x554d6b){const _0x47cd84=_0x5972b3,{row:_0xe7bb6d,column:_0x622429}=_0x554d6b;if(_0xe7bb6d>=this[_0x47cd84(0x169)][_0x47cd84(0x2a7)]&&_0xe7bb6d<=this['_range'][_0x47cd84(0x250)]&&_0x622429>=this[_0x47cd84(0x169)]['startColumn']&&_0x622429<=this[_0x47cd84(0x169)][_0x47cd84(0x33e)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5972b3(0x2fc)](_0x5cdebc){return!0x1;}[_0x5972b3(0x147)](_0x247a04){const _0x2af3bd=_0x5972b3;_0x25b909['Rect'][_0x2af3bd(0x10d)](_0x247a04,{'width':this[_0x2af3bd(0x257)],'height':this[_0x2af3bd(0xef)],'strokeWidth':_0x3a7328,'stroke':this[_0x2af3bd(0x305)],'evented':!0x1,'fill':this[_0x2af3bd(0x127)]}),this['_hovered']&&(_0x247a04['save'](),_0x247a04[_0x2af3bd(0x14e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),_0x30610d[_0x2af3bd(0x10d)](_0x247a04,{'text':this[_0x2af3bd(0xd4)],'color':this[_0x2af3bd(0x305)]}),_0x247a04[_0x2af3bd(0x1cc)]());}}var _0x456da0=Object[_0x5972b3(0x27e)],_0x575aad=(_0x4cf570,_0x515ce3,_0x5514ff,_0x2920e1)=>{const _0x2c3aee=_0x5972b3;for(var _0x13d650=_0x2920e1>0x1?void 0x0:_0x2920e1?_0x456da0(_0x515ce3,_0x5514ff):_0x515ce3,_0x2e95a9=_0x4cf570[_0x2c3aee(0x22e)]-0x1,_0x458004;_0x2e95a9>=0x0;_0x2e95a9--)(_0x458004=_0x4cf570[_0x2e95a9])&&(_0x13d650=_0x458004(_0x13d650)||_0x13d650);return _0x13d650;},_0x224f19=(_0x17bd7c,_0x356109)=>(_0x3e6fe6,_0x4bccc7)=>_0x356109(_0x3e6fe6,_0x4bccc7,_0x17bd7c);const _0x25e5f7=0x1389;let _0x265562=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x5b3f7d,_0x3fc659,_0x2f1ce6,_0x181ef8){const _0x7f21c6=_0x5972b3;super(),_0x47e648(this,_0x7f21c6(0x243),new Set()),_0x47e648(this,_0x7f21c6(0x2e3),null),(this[_0x7f21c6(0x267)]=_0x5b3f7d,this[_0x7f21c6(0x2dc)]=_0x3fc659,this[_0x7f21c6(0x2eb)]=_0x2f1ce6,this[_0x7f21c6(0xe2)]=_0x181ef8,this[_0x7f21c6(0x273)]());}['_init'](){const _0x41bae3=_0x5972b3;this['_sheetSkeletonManagerService'][_0x41bae3(0x2a0)][_0x41bae3(0x1f0)](_0x3fc8e3['takeUntil'](this[_0x41bae3(0x177)]),_0x3fc8e3[_0x41bae3(0x107)](_0x5029cc=>{const _0x2df68a=_0x41bae3;if(_0x5029cc){const _0x579d09=_0x5029cc[_0x2df68a(0x28c)];return _0x3dc992[_0x2df68a(0x131)](this[_0x2df68a(0x2eb)][_0x2df68a(0x11c)](this[_0x2df68a(0x267)][_0x2df68a(0x25a)]),this['_themeService'][_0x2df68a(0x100)])[_0x2df68a(0x1f0)](_0x3fc8e3[_0x2df68a(0x20e)](([_0x3cee26,_0x3c3ab9])=>{const _0x2c30d3=_0x2df68a,_0x423fba=new Map();return _0x3cee26[_0x2c30d3(0x157)]((_0x4e8323,_0xcd42ed)=>{const _0xb92c02=_0x2c30d3;if(_0x4e8323['sheetID']===_0x579d09){const _0x4b051a={..._0x4e8323};_0x4b051a[_0xb92c02(0x32c)]=this[_0xb92c02(0xe2)][_0xb92c02(0x1b2)](_0x4e8323[_0xb92c02(0x32c)]),_0x423fba['set'](_0xcd42ed,_0x4b051a);}}),{'skeleton':_0x5029cc,'cursors':_0x423fba};}));}return _0x3dc992['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x27d517,cursors:_0x4e9109})=>{this['_removeCollabCursors'](),_0x27d517&&this['_updateCollabCursors'](_0x27d517,_0x4e9109);}),this[_0x41bae3(0x2dc)][_0x41bae3(0x2a0)][_0x41bae3(0x1a1)](_0x2a9303=>{const _0x24c4df=_0x41bae3;if(_0x2a9303==null)return;const {skeleton:_0x479ccc}=_0x2a9303,{scene:_0x72757e}=this['_context'];_0x72757e['onPointerMove$'][_0x24c4df(0x2a5)](_0x34ebd1[_0x24c4df(0x234)](_0x15b3f3=>{const _0x53f321=_0x24c4df;var _0x1bd2ce,_0x323bb2;const {offsetX:_0x26f819,offsetY:_0x5293a3}=_0x15b3f3,{x:_0x87ffb,y:_0x573524}=_0x72757e['getRelativeToViewportCoord'](_0x25b909[_0x53f321(0x17e)][_0x53f321(0x1de)]([_0x26f819,_0x5293a3])),{scaleX:_0x4bedeb,scaleY:_0x10c8fd}=_0x72757e[_0x53f321(0x297)](),_0x2c33ef=_0x72757e[_0x53f321(0x203)](_0x25b909[_0x53f321(0x15c)][_0x53f321(0xdb)]),_0x167a26=_0x72757e[_0x53f321(0x12e)](_0x25b909[_0x53f321(0x17e)][_0x53f321(0x1de)]([_0x87ffb,_0x573524]),_0x2c33ef),_0x2c77c5=_0x479ccc[_0x53f321(0x318)](_0x26f819,_0x5293a3,_0x4bedeb,_0x10c8fd,_0x167a26);((_0x1bd2ce=this[_0x53f321(0x2e3)])==null?void 0x0:_0x1bd2ce[_0x53f321(0x2f9)])===_0x2c77c5['column']&&((_0x323bb2=this['_lastPointer'])==null?void 0x0:_0x323bb2[_0x53f321(0x2b0)])===_0x2c77c5[_0x53f321(0x2b0)]||this[_0x53f321(0x243)][_0x53f321(0x157)](_0x1b4c8b=>{const _0x270df0=_0x53f321;_0x1b4c8b[_0x270df0(0x14a)](_0x2c77c5);});},0x64));});}['_updateCollabCursors'](_0x1a9285,_0x187598){const _0x5a857b=_0x5972b3;var _0xc13970;const _0x3ba000=(_0xc13970=this[_0x5a857b(0x2dc)][_0x5a857b(0x1bd)]())==null?void 0x0:_0xc13970['skeleton'];if(!_0x3ba000)return;const _0x5161b9=this[_0x5a857b(0x1a6)]();if(!_0x5161b9)return;this[_0x5a857b(0x243)][_0x5a857b(0x157)](_0x196d7a=>{_0x196d7a['makeDirty']();});const {scene:_0x54a2bc}=_0x5161b9,_0x321d2e=_0x96238f(Array['from'](_0x187598[_0x5a857b(0x1f4)]()))[_0x5a857b(0x20e)](_0x57e444=>{const _0x5c0f48=_0x5a857b,{color:_0x41e6e8,range:_0x833eae,name:_0x1dc1e3,selection:_0xb13f81,sheetID:_0xbae311}=_0x57e444,{startColumn:_0x34fe53,startRow:_0x2c9f43,endColumn:_0x1021a3,endRow:_0x415a20}=_0x833eae,_0x5af932=_0x184213[_0x5c0f48(0x2c7)](_0x2c9f43,_0x34fe53,_0x54a2bc,_0x3ba000),_0x3e7474=_0x184213[_0x5c0f48(0x2c7)](_0x415a20,_0x1021a3,_0x54a2bc,_0x3ba000),{columnHeaderHeightAndMarginTop:_0x4920ab}=_0x3ba000,{startX:_0x4f7d47,startY:_0x33cc44}=_0x5af932,{endX:_0x114cff,endY:_0xc60a6d}=_0x3e7474,_0x268a72=_0x114cff-_0x4f7d47,_0x111746=_0xc60a6d-_0x33cc44,_0x241d68={'labelPosition':_0x33cc44-_0x4920ab>=_0x13f6c2?_0x5c0f48(0x1a5):_0x5c0f48(0x201),'sheetID':_0xbae311,'range':_0x833eae,'color':_0x41e6e8,'name':_0x1dc1e3,'selection':_0xb13f81,'left':_0x4f7d47,'top':_0x33cc44,'width':_0x268a72,'height':_0x111746,'evented':!0x1,'zIndex':_0x25e5f7};return new _0x34dc28(_0x1dc1e3,_0x241d68);});_0x54a2bc[_0x5a857b(0x31f)](_0x321d2e,_0x2ebfab),this[_0x5a857b(0x243)]=new Set(_0x321d2e);}['_removeCollabCursors'](){const _0x180a10=_0x5972b3;var _0x3e60db;(_0x3e60db=this[_0x180a10(0x243)])==null||_0x3e60db[_0x180a10(0x157)](_0x505140=>_0x505140[_0x180a10(0x31d)]());}['_getSheetObject'](){const _0x596ccf=_0x5972b3;return _0x184213[_0x596ccf(0x331)](this[_0x596ccf(0x267)][_0x596ccf(0x101)],this['_context']);}};_0x265562=_0x575aad([_0x224f19(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x184213[_0x5972b3(0x151)])),_0x224f19(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x2debf7)),_0x224f19(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x121)]))],_0x265562);function _0x96238f(_0x3e2fd0){const _0x12f1b4=_0x5972b3,_0x1077af=new Map();return _0x3e2fd0[_0x12f1b4(0x157)](_0x25d238=>{const _0x52268b=_0x12f1b4;if(_0x1077af[_0x52268b(0x2c3)](_0x25d238['selection'])){const _0x1cdfdf=_0x1077af['get'](_0x25d238['selection']);_0x1cdfdf['name']+=',\x20'+_0x25d238[_0x52268b(0x123)];}else _0x1077af[_0x52268b(0x241)](_0x25d238[_0x52268b(0x12a)],_0x25d238);}),Array[_0x12f1b4(0x21d)](_0x1077af[_0x12f1b4(0x1f4)]());}var _0x241031=function(){const _0x2743ad=_0x5972b3;return _0x241031=Object[_0x2743ad(0x23d)]||function(_0x34cac6){const _0x45c480=_0x2743ad;for(var _0x124007,_0x189109=0x1,_0x590287=arguments[_0x45c480(0x22e)];_0x189109<_0x590287;_0x189109++){_0x124007=arguments[_0x189109];for(var _0x22a83d in _0x124007)Object['prototype'][_0x45c480(0x1c5)][_0x45c480(0x285)](_0x124007,_0x22a83d)&&(_0x34cac6[_0x22a83d]=_0x124007[_0x22a83d]);}return _0x34cac6;},_0x241031[_0x2743ad(0xfe)](this,arguments);},_0x3a8ad5=function(_0x1f611f,_0x344b47){const _0x490c45=_0x5972b3;var _0x327492={};for(var _0x11fd38 in _0x1f611f)Object[_0x490c45(0x247)][_0x490c45(0x1c5)][_0x490c45(0x285)](_0x1f611f,_0x11fd38)&&_0x344b47['indexOf'](_0x11fd38)<0x0&&(_0x327492[_0x11fd38]=_0x1f611f[_0x11fd38]);if(_0x1f611f!=null&&typeof Object[_0x490c45(0x289)]==_0x490c45(0x26e)){for(var _0x219ffd=0x0,_0x11fd38=Object[_0x490c45(0x289)](_0x1f611f);_0x219ffd<_0x11fd38[_0x490c45(0x22e)];_0x219ffd++)_0x344b47[_0x490c45(0x16d)](_0x11fd38[_0x219ffd])<0x0&&Object[_0x490c45(0x247)][_0x490c45(0x16b)][_0x490c45(0x285)](_0x1f611f,_0x11fd38[_0x219ffd])&&(_0x327492[_0x11fd38[_0x219ffd]]=_0x1f611f[_0x11fd38[_0x219ffd]]);}return _0x327492;},_0x1159b1=_0x4eebd7['forwardRef'](function(_0x591f23,_0x56936e){const _0x11d9fe=_0x5972b3;var _0x37f15c=_0x591f23[_0x11d9fe(0xea)],_0x4671e2=_0x591f23['id'],_0x867753=_0x591f23['className'],_0x19ceb8=_0x591f23['extend'],_0x5e9ed6=_0x3a8ad5(_0x591f23,['icon','id',_0x11d9fe(0x1ee),_0x11d9fe(0x286)]),_0x3276b2='univerjs-icon\x20univerjs-icon-'[_0x11d9fe(0x140)](_0x4671e2,'\x20')['concat'](_0x867753||'')[_0x11d9fe(0x104)](),_0x51ca8e=_0x4eebd7[_0x11d9fe(0x230)]('_'[_0x11d9fe(0x140)](_0x556b3b()));return _0x5354c1(_0x37f15c,''[_0x11d9fe(0x140)](_0x4671e2),{'defIds':_0x37f15c[_0x11d9fe(0x1e1)],'idSuffix':_0x51ca8e['current']},_0x241031({'ref':_0x56936e,'className':_0x3276b2},_0x5e9ed6),_0x19ceb8);});function _0x5354c1(_0x3ce961,_0x20e2af,_0x30dec4,_0x5f3bf0,_0x38358d){const _0x4ec269=_0x5972b3;return _0x4eebd7['createElement'](_0x3ce961[_0x4ec269(0x2d5)],_0x241031(_0x241031({'key':_0x20e2af},_0x2cf73e(_0x3ce961,_0x30dec4,_0x38358d)),_0x5f3bf0),(_0x5bef8a(_0x3ce961,_0x30dec4)['children']||[])[_0x4ec269(0x20e)](function(_0x1265b1,_0x4972aa){const _0xcd45bf=_0x4ec269;return _0x5354c1(_0x1265b1,''[_0xcd45bf(0x140)](_0x20e2af,'-')['concat'](_0x3ce961[_0xcd45bf(0x2d5)],'-')['concat'](_0x4972aa),_0x30dec4,void 0x0,_0x38358d);}));}function _0x2cf73e(_0x54657f,_0x5241ab,_0x4f84f0){const _0x50b7da=_0x5972b3;var _0x163c1a=_0x241031({},_0x54657f['attrs']);_0x4f84f0!=null&&_0x4f84f0[_0x50b7da(0x108)]&&_0x163c1a[_0x50b7da(0x1be)]===_0x50b7da(0x108)&&(_0x163c1a[_0x50b7da(0x1be)]=_0x4f84f0['colorChannel1']),_0x54657f['tag']===_0x50b7da(0x1af)&&_0x163c1a['id']&&(_0x163c1a['id']=_0x163c1a['id']+_0x5241ab['idSuffix']),Object[_0x50b7da(0x22f)](_0x163c1a)['forEach'](function(_0x3aaa1e){const _0x1ecbf7=_0x50b7da;var _0x1fac2d=_0x3aaa1e[0x0],_0x56080a=_0x3aaa1e[0x1];_0x1fac2d===_0x1ecbf7(0x1af)&&typeof _0x56080a==_0x1ecbf7(0x287)&&(_0x163c1a[_0x1fac2d]=_0x56080a['replace'](/url\(#(.*)\)/,_0x1ecbf7(0x142)[_0x1ecbf7(0x140)](_0x5241ab[_0x1ecbf7(0x293)],')')));});var _0x82f0b0=_0x5241ab[_0x50b7da(0x1e1)];return!_0x82f0b0||_0x82f0b0[_0x50b7da(0x22e)]===0x0||(_0x54657f[_0x50b7da(0x2d5)]===_0x50b7da(0x298)&&_0x163c1a[_0x50b7da(0x21e)]&&(_0x163c1a[_0x50b7da(0x21e)]=_0x163c1a['xlink:href']+_0x5241ab[_0x50b7da(0x293)]),Object[_0x50b7da(0x22f)](_0x163c1a)[_0x50b7da(0x157)](function(_0x521e54){const _0x4558e5=_0x50b7da;var _0x3423a2=_0x521e54[0x0],_0x1724f7=_0x521e54[0x1];typeof _0x1724f7=='string'&&(_0x163c1a[_0x3423a2]=_0x1724f7[_0x4558e5(0x279)](/url\(#(.*)\)/,'url(#$1'[_0x4558e5(0x140)](_0x5241ab[_0x4558e5(0x293)],')')));})),_0x163c1a;}function _0x5bef8a(_0x1c44f0,_0x10b624){const _0x472af0=_0x5972b3;var _0x2bd938,_0x15d431=_0x10b624[_0x472af0(0x1e1)];return!_0x15d431||_0x15d431[_0x472af0(0x22e)]===0x0?_0x1c44f0:_0x1c44f0[_0x472af0(0x2d5)]===_0x472af0(0x202)&&(!((_0x2bd938=_0x1c44f0[_0x472af0(0xf8)])===null||_0x2bd938===void 0x0)&&_0x2bd938['length'])?_0x241031(_0x241031({},_0x1c44f0),{'children':_0x1c44f0[_0x472af0(0xf8)][_0x472af0(0x20e)](function(_0x580e6d){const _0x3aca48=_0x472af0;return typeof _0x580e6d[_0x3aca48(0xd7)]['id']==_0x3aca48(0x287)&&_0x15d431&&_0x15d431[_0x3aca48(0x330)](_0x580e6d['attrs']['id'])?_0x241031(_0x241031({},_0x580e6d),{'attrs':_0x241031(_0x241031({},_0x580e6d[_0x3aca48(0xd7)]),{'id':_0x580e6d['attrs']['id']+_0x10b624[_0x3aca48(0x293)]})}):_0x580e6d;})}):_0x1c44f0;}function _0x556b3b(){const _0x10fa01=_0x5972b3;return Math[_0x10fa01(0x2c1)]()[_0x10fa01(0x182)](0x24)[_0x10fa01(0x13e)](0x2,0x8);}_0x1159b1[_0x5972b3(0x25f)]='UniverIcon';var _0x24e805={'tag':_0x5972b3(0xcf),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5972b3(0x2e5),'viewBox':_0x5972b3(0x2ee),'width':'1em','height':_0x5972b3(0xb6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5972b3(0x117)},'children':[{'tag':_0x5972b3(0x30c),'attrs':{'stroke':_0x5972b3(0x2da),'d':_0x5972b3(0x270),'strokeLinecap':_0x5972b3(0x244),'strokeLinejoin':_0x5972b3(0x244),'strokeWidth':1.2}}]},{'tag':_0x5972b3(0x202),'attrs':{},'children':[{'tag':_0x5972b3(0x274),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5972b3(0x171)}}]}]}],'defIds':[_0x5972b3(0x306)]},_0x3b207b=_0x4eebd7[_0x5972b3(0x2d7)](function(_0x1a3e57,_0x2621c4){const _0xad54bb=_0x5972b3;return _0x4eebd7[_0xad54bb(0x2ba)](_0x1159b1,Object['assign']({},_0x1a3e57,{'id':'off-line-icon','ref':_0x2621c4,'icon':_0x24e805}));});_0x3b207b[_0x5972b3(0x25f)]=_0x5972b3(0x29f);var _0x30fcce={'tag':_0x5972b3(0xcf),'attrs':{'xmlns':_0x5972b3(0x1ed),'fill':_0x5972b3(0x2e5),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5972b3(0xb6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5972b3(0x1d6)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5972b3(0x30b),'strokeLinecap':_0x5972b3(0x244),'strokeLinejoin':_0x5972b3(0x244),'strokeWidth':1.2}}]},{'tag':_0x5972b3(0x202),'attrs':{},'children':[{'tag':_0x5972b3(0x274),'attrs':{'id':_0x5972b3(0x333)},'children':[{'tag':_0x5972b3(0x30c),'attrs':{'fill':_0x5972b3(0x11e),'d':_0x5972b3(0x171),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c870e=_0x4eebd7['forwardRef'](function(_0x5f0fea,_0x30fae5){const _0x2a17f4=_0x5972b3;return _0x4eebd7[_0x2a17f4(0x2ba)](_0x1159b1,Object['assign']({},_0x5f0fea,{'id':_0x2a17f4(0x2c4),'ref':_0x30fae5,'icon':_0x30fcce}));});_0x5c870e[_0x5972b3(0x25f)]='OnLineIcon';function _0x598556(_0x2abd2b){const _0x28f16d=_0x5972b3;switch(_0x2abd2b){case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0x29e)]:return _0x28f16d(0x2bd);case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x1cf)]:return'collabStatus.conflict';case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0x20a)]:return _0x28f16d(0xb1);case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0xc3)]:return _0x28f16d(0x275);case _0x3a2a7b[_0x28f16d(0x19f)]['AWAITING']:case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x2b9)]:return _0x28f16d(0x112);case _0x3a2a7b[_0x28f16d(0x19f)]['SYNCED']:case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x213)]:return _0x28f16d(0x1c8);}}function _0x3f0665(_0x529434){const _0x3501dd=_0x5972b3,{status$:_0x202fb4}=_0x529434,_0x5384a2=_0x41e240[_0x3501dd(0x228)](_0x202fb4,_0x3a2a7b[_0x3501dd(0x19f)][_0x3501dd(0xc3)]),_0x1dc863=_0x41e240[_0x3501dd(0x136)](_0x34ebd1[_0x3501dd(0x31a)]),_0x230af7=_0x41e240[_0x3501dd(0x136)](_0x3a2a7b[_0x3501dd(0x32d)]),_0x4e8f7f=_0x5384a2!==_0x3a2a7b[_0x3501dd(0x19f)]['OFFLINE'],_0x9ff0f1=_0x1dc863['t'](_0x598556(_0x5384a2)),_0x28acd9=_0x4e8f7f?_0x4877af['jsx'](_0x5c870e,{}):_0x4877af[_0x3501dd(0x1e5)](_0x3b207b,{}),_0x2b71ed=_0x4eebd7[_0x3501dd(0x2b2)](()=>{const _0x425a35=_0x3501dd;_0x4e8f7f||_0x230af7[_0x425a35(0x30a)]();},[_0x4e8f7f,_0x230af7]);function _0x3d8e4e(){const _0x5eeb89=_0x3501dd;return _0x4877af[_0x5eeb89(0x1ba)]('div',{'className':_0x5eeb89(0xce),'onClick':_0x2b71ed,'children':[_0x4877af[_0x5eeb89(0x1e5)](_0x5eeb89(0x33b),{'className':_0x588e34[_0x5eeb89(0x16a)](_0x5eeb89(0x2fe),{'univer-text-green-500':_0x4e8f7f,'univer-text-red-500':!_0x4e8f7f}),'children':_0x28acd9}),_0x4877af[_0x5eeb89(0x1e5)]('div',{'className':_0x5eeb89(0x1c1),'children':_0x9ff0f1})]});}return _0x4e8f7f?_0x3d8e4e():_0x4877af['jsx'](_0x588e34['Tooltip'],{'title':_0x1dc863['t']('collab-client.tooltip.reconnect'),'children':_0x3d8e4e()});}var _0x5ea34a=Object[_0x5972b3(0x27e)],_0x977b0b=(_0x2f1a67,_0x431ec6,_0x12729e,_0xba46e4)=>{const _0x3e2d5d=_0x5972b3;for(var _0x3e5da2=_0xba46e4>0x1?void 0x0:_0xba46e4?_0x5ea34a(_0x431ec6,_0x12729e):_0x431ec6,_0x2681b2=_0x2f1a67[_0x3e2d5d(0x22e)]-0x1,_0x3faa8b;_0x2681b2>=0x0;_0x2681b2--)(_0x3faa8b=_0x2f1a67[_0x2681b2])&&(_0x3e5da2=_0x3faa8b(_0x3e5da2)||_0x3e5da2);return _0x3e5da2;},_0x1ca527=(_0x95b997,_0x29e8a9)=>(_0x305139,_0x302745)=>_0x29e8a9(_0x305139,_0x302745,_0x95b997);_0x4e86fa[_0x5972b3(0x2cb)]=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x48b82b,_0xf9d70f,_0x5c0b1a,_0x285501){const _0xe59f28=_0x5972b3;super(),_0x47e648(this,_0xe59f28(0x132),new _0x3dc992[(_0xe59f28(0x1ce))](_0x3a2a7b['CollaborationStatus'][_0xe59f28(0xc3)])),(this[_0xe59f28(0x193)]=_0x48b82b,this[_0xe59f28(0x11b)]=_0xf9d70f,this[_0xe59f28(0x299)]=_0x5c0b1a,this['_uiPartsService']=_0x285501,this[_0xe59f28(0x242)](),this[_0xe59f28(0x214)]());}[_0x5972b3(0x214)](){const _0x43cc5c=_0x5972b3;this[_0x43cc5c(0xab)](this[_0x43cc5c(0x193)][_0x43cc5c(0x183)]['pipe'](_0x3dc992[_0x43cc5c(0x107)](()=>{const _0x4c02f0=_0x43cc5c,_0x4147e0=this[_0x4c02f0(0x193)][_0x4c02f0(0x192)]();return _0x4147e0?this[_0x4c02f0(0x299)]['getCollabEntity$'](_0x4147e0[_0x4c02f0(0x18c)]()):_0x3dc992['of'](null);}),_0x3dc992[_0x43cc5c(0x107)](_0x445df9=>_0x445df9?_0x445df9[_0x43cc5c(0x149)]:_0x3dc992['of'](_0x3a2a7b[_0x43cc5c(0x19f)][_0x43cc5c(0xc3)])))[_0x43cc5c(0x1a1)](_0x530d65=>{const _0x49765c=_0x43cc5c;this[_0x49765c(0x132)][_0x49765c(0x329)](_0x530d65);}));}['_initStatusComponent'](){const _0x4af22b=_0x5972b3;this[_0x4af22b(0xab)](this[_0x4af22b(0x268)][_0x4af22b(0xcb)](_0x41e240[_0x4af22b(0x196)]['HEADER_MENU'],()=>_0x41e240[_0x4af22b(0x2cf)](_0x13c55e({'status$':this[_0x4af22b(0x132)][_0x4af22b(0x235)]()}),this[_0x4af22b(0x11b)])));}},_0x4e86fa[_0x5972b3(0x2cb)]=_0x977b0b([_0x1ca527(0x0,_0x34ebd1[_0x5972b3(0xb7)]),_0x1ca527(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x1ca527(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x248)])),_0x1ca527(0x3,_0x41e240[_0x5972b3(0xda)])],_0x4e86fa['DesktopCollaborationStatusDisplayController']);function _0x13c55e(_0x502ab1){const {status$:_0x473435}=_0x502ab1;return function(){const _0x666a58=_0x3de9;return _0x4877af[_0x666a58(0x1e5)](_0x3f0665,{'status$':_0x473435});};}var _0x439823=Object[_0x5972b3(0x27e)],_0x3e6b63=(_0x2f8044,_0x16781a,_0x79e721,_0x44a17a)=>{const _0x188d58=_0x5972b3;for(var _0x3c2856=_0x44a17a>0x1?void 0x0:_0x44a17a?_0x439823(_0x16781a,_0x79e721):_0x16781a,_0xe1cb5d=_0x2f8044[_0x188d58(0x22e)]-0x1,_0x1d6eb1;_0xe1cb5d>=0x0;_0xe1cb5d--)(_0x1d6eb1=_0x2f8044[_0xe1cb5d])&&(_0x3c2856=_0x1d6eb1(_0x3c2856)||_0x3c2856);return _0x3c2856;},_0x225028=(_0x32f771,_0x1494b3)=>(_0xb72626,_0x327f86)=>_0x1494b3(_0xb72626,_0x327f86,_0x32f771);let _0x581134=class extends _0x34ebd1['Disposable']{constructor(_0x3a324a,_0x3c0f18,_0x30c15f,_0x23f1bc,_0x41a1c5,_0x233079){const _0x51db34=_0x5972b3;super(),this['_beforeCloseService']=_0x3a324a,this[_0x51db34(0x2bf)]=_0x3c0f18,this[_0x51db34(0x152)]=_0x30c15f,this['_messageService']=_0x23f1bc,this[_0x51db34(0xcc)]=_0x41a1c5,this['_localeService']=_0x233079,this['_setupBeforeClosingHandler'](),this[_0x51db34(0xc1)]();}['_setupBeforeClosingHandler'](){const _0x1f7c7d=_0x5972b3;this[_0x1f7c7d(0xab)](this[_0x1f7c7d(0x2d2)][_0x1f7c7d(0x2e7)](()=>{const _0x33d852=_0x1f7c7d;if(this['_localCacheService'][_0x33d852(0xe6)][_0x33d852(0x29b)])return this[_0x33d852(0xb8)]['t'](_0x33d852(0x22c));}));}[_0x5972b3(0xc1)](){const _0x37c554=_0x5972b3;this[_0x37c554(0xab)](this[_0x37c554(0x152)]['event$'][_0x37c554(0x1a1)](_0x3086c9=>{const _0x3a137d=_0x37c554;_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)]['OTHER_CLIENT_EDITING']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34['MessageType'][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x172))}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x22b)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x137)]&&this[_0x3a137d(0xcc)][_0x3a137d(0xae)]({'title':this['_localeService']['t'](_0x3a137d(0x12c)),'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x11f)),'type':'error','duration':0x0}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x1cf)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0x2f4)],'content':this['_localeService']['t'](_0x3a137d(0xf7))+'('+_0x3086c9[_0x3a137d(0x20b)]+')'}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)]['JOIN_ROOM_FAILED']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3086c9[_0x3a137d(0x20b)]||'')}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)][_0x3a137d(0x272)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x159))}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)][_0x3a137d(0x166)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0x2f4)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x130))}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)]['Error'],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x31e))});}));}};_0x581134=_0x3e6b63([_0x225028(0x0,_0x41e240[_0x5972b3(0x118)]),_0x225028(0x1,_0x3a2a7b[_0x5972b3(0xbe)]),_0x225028(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x23e)])),_0x225028(0x3,_0x41e240[_0x5972b3(0x113)]),_0x225028(0x4,_0x41e240[_0x5972b3(0x10e)]),_0x225028(0x5,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x31a)]))],_0x581134);const _0x2276f7=_0x5972b3(0x205),_0x4d53cb={},_0x32bcf8=_0x34ebd1[_0x5972b3(0x2ab)](_0x5972b3(0x1f2));var _0x3b695a=Object['getOwnPropertyDescriptor'],_0xfe297d=(_0x32d212,_0x879c54,_0x1f2daa,_0x3c7713)=>{const _0x10fa3d=_0x5972b3;for(var _0x12e949=_0x3c7713>0x1?void 0x0:_0x3c7713?_0x3b695a(_0x879c54,_0x1f2daa):_0x879c54,_0x1adf6f=_0x32d212[_0x10fa3d(0x22e)]-0x1,_0x2a1cc9;_0x1adf6f>=0x0;_0x1adf6f--)(_0x2a1cc9=_0x32d212[_0x1adf6f])&&(_0x12e949=_0x2a1cc9(_0x12e949)||_0x12e949);return _0x12e949;},_0x368409=(_0x1108b0,_0x1af063)=>(_0x266e27,_0x48b4a9)=>_0x1af063(_0x266e27,_0x48b4a9,_0x1108b0);_0x4e86fa[_0x5972b3(0x320)]=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x2dd027,_0x8f12d,_0x3e72be,_0x5ecffb,_0x3ea13e){const _0x23135f=_0x5972b3;super(),this[_0x23135f(0xf2)]=_0x2dd027,this[_0x23135f(0x24a)]=_0x8f12d,this[_0x23135f(0x17f)]=_0x3e72be,this['_dataLoaderService']=_0x5ecffb,_0x3ea13e?_0x3ea13e==null||_0x3ea13e[_0x23135f(0x19d)]()['then'](()=>this[_0x23135f(0x273)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x23135f(0x273)]());}async[_0x5972b3(0x273)](){const _0x49e9bc=_0x5972b3,_0x348e66=this[_0x49e9bc(0xf2)][_0x49e9bc(0x2c9)](_0x49e9bc(0x101)),_0x3473b7=this[_0x49e9bc(0xf2)]['getParam'](_0x49e9bc(0x2bb)),_0x346710=this['_urlService'][_0x49e9bc(0x2c9)](_0x49e9bc(0x32a));if(!_0x348e66||!_0x3473b7){this[_0x49e9bc(0x24a)]['debug'](_0x49e9bc(0x2cd),_0x49e9bc(0x233));return;}const _0x3191fe=await this['_dataLoaderService'][_0x49e9bc(0xc4)](_0x348e66,Number(_0x3473b7),_0x346710);_0x3191fe&&_0x3191fe instanceof _0x34ebd1[_0x49e9bc(0xbb)]&&this[_0x49e9bc(0x2f2)](_0x3191fe);}async[_0x5972b3(0x2f2)](_0x43bac0){const _0x347f43=_0x5972b3;await this[_0x347f43(0x292)](_0x43bac0),_0x43bac0['activeSheet$'][_0x347f43(0x1f0)](_0x3dc992[_0x347f43(0x1a0)](this[_0x347f43(0x177)]))[_0x347f43(0x1a1)](_0x42bdcc=>{const _0x20ca37=_0x347f43;_0x42bdcc&&this[_0x20ca37(0xbc)](_0x42bdcc);}),this[_0x347f43(0xf2)][_0x347f43(0x296)][_0x347f43(0x1f0)](_0x3dc992['takeUntil'](this[_0x347f43(0x177)]))[_0x347f43(0x1a1)](()=>this[_0x347f43(0x292)](_0x43bac0));}[_0x5972b3(0xbc)](_0x43cfc4,_0x34ed58=!0x1){const _0x2616f3=_0x5972b3,_0x56bb70=this[_0x2616f3(0xf2)][_0x2616f3(0x2c9)]('subunit');_0x43cfc4[_0x2616f3(0xd3)]()!==_0x56bb70&&this[_0x2616f3(0xf2)][_0x2616f3(0xfa)](_0x2616f3(0x32a),_0x43cfc4['getSheetId'](),_0x34ed58);}async[_0x5972b3(0x292)](_0x343050){const _0x2f9ddb=_0x5972b3;var _0x376db5;const _0x522b48=this[_0x2f9ddb(0xf2)][_0x2f9ddb(0x2c9)]('subunit');if(!_0x522b48||!_0x343050[_0x2f9ddb(0x24e)](_0x522b48)){const _0x1bbcf0=_0x343050[_0x2f9ddb(0x2ca)]()[0x0],_0x31d980=_0x343050[_0x2f9ddb(0x24e)](_0x1bbcf0);if(!_0x31d980)return;this['_updateURLWithCurrentState'](_0x31d980,!0x0),await this[_0x2f9ddb(0x17f)]['executeCommand'](_0x762c7b[_0x2f9ddb(0xe3)]['id'],{'unitId':_0x343050['getUnitId'](),'subUnitId':_0x1bbcf0});return;}((_0x376db5=_0x343050[_0x2f9ddb(0x30e)]())==null?void 0x0:_0x376db5[_0x2f9ddb(0xd3)]())!==_0x522b48&&await this[_0x2f9ddb(0x17f)][_0x2f9ddb(0xb4)](_0x762c7b['SetWorksheetActivateCommand']['id'],{'unitId':_0x343050[_0x2f9ddb(0x18c)](),'subUnitId':_0x522b48});}},_0x4e86fa[_0x5972b3(0x320)]=_0xfe297d([_0x368409(0x0,_0x32bcf8),_0x368409(0x1,_0x34ebd1[_0x5972b3(0x188)]),_0x368409(0x2,_0x34ebd1[_0x5972b3(0xb3)]),_0x368409(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x2ed)])),_0x368409(0x4,_0x34ebd1[_0x5972b3(0x158)](_0x2f5ca0[_0x5972b3(0x312)]))],_0x4e86fa['CollaborationDataLoaderController']);var _0x655f15=Object['getOwnPropertyDescriptor'],_0xfa5406=(_0x4b06ec,_0x119aa5,_0x3eddb0,_0x2479af)=>{const _0x44ccde=_0x5972b3;for(var _0x1d08f9=_0x2479af>0x1?void 0x0:_0x2479af?_0x655f15(_0x119aa5,_0x3eddb0):_0x119aa5,_0xa2450c=_0x4b06ec[_0x44ccde(0x22e)]-0x1,_0x191ca2;_0xa2450c>=0x0;_0xa2450c--)(_0x191ca2=_0x4b06ec[_0xa2450c])&&(_0x1d08f9=_0x191ca2(_0x1d08f9)||_0x1d08f9);return _0x1d08f9;},_0x20abdd=(_0x4f190e,_0x22ccf0)=>(_0x176195,_0x591719)=>_0x22ccf0(_0x176195,_0x591719,_0x4f190e);let _0xc4af03=class{constructor(_0x1c830a,_0x51d99e,_0x10cfab){const _0x185a5a=_0x5972b3;this['_injector']=_0x1c830a,this['_transformService']=_0x51d99e,this[_0x185a5a(0x175)]=_0x10cfab;}[_0x5972b3(0x338)](_0x11956a){const _0x46a0b4=_0x5972b3;this['_transformUndoRedoStack'](_0x11956a),this[_0x46a0b4(0x2ea)](_0x11956a);}[_0x5972b3(0x229)](_0x3a49b5){const _0x228a44=_0x5972b3,{unitID:_0x12b057}=_0x3a49b5,_0x173142=this['_renderManagerService'][_0x228a44(0xdc)](_0x12b057)['with'](_0x277641[_0x228a44(0x19c)]),{redoCache:_0x599302}=_0x173142[_0x228a44(0x288)]();if(_0x599302[_0x228a44(0x22e)]===0x0)return _0x3a49b5;let _0x4bcc09=_0x34ebd1['Tools'][_0x228a44(0x277)](_0x3a49b5[_0x228a44(0x187)][0x0]);for(let _0xc5d2bb=0x0;_0xc5d2bb<_0x599302[_0x228a44(0x22e)];_0xc5d2bb++){const _0x53be6a={'id':'doc.mutation.rich-text-editing','params':{..._0x599302[_0xc5d2bb]}},_0x455d1f=this[_0x228a44(0xd8)][_0x228a44(0x315)](_0x4bcc09,_0x53be6a,!0x1);if(_0x26da06[_0x228a44(0xf4)](_0x455d1f))throw _0x455d1f[_0x228a44(0x1fb)];_0x4bcc09=_0x455d1f[_0x228a44(0x253)];}return{..._0x34ebd1[_0x228a44(0x309)][_0x228a44(0x277)](_0x3a49b5),'mutations':[_0x4bcc09]};}[_0x5972b3(0x161)](_0x2de928){const _0x4731b6=_0x5972b3,{unitID:_0x5a732a}=_0x2de928,_0x5355af=this[_0x4731b6(0x175)][_0x4731b6(0xdc)](_0x5a732a)[_0x4731b6(0x283)](_0x277641[_0x4731b6(0x19c)]),{undoCache:_0x2c88b5,redoCache:_0x4832e7}=_0x5355af[_0x4731b6(0x288)]();if(_0x2c88b5[_0x4731b6(0x22e)]===0x0||_0x4832e7['length']===0x0)return;const _0x599c1c=[],_0x2ecc33=[];let _0x1c352c=_0x34ebd1[_0x4731b6(0x309)][_0x4731b6(0x277)](_0x2de928[_0x4731b6(0x187)][0x0]),_0x55d5f0=_0x34ebd1['Tools']['deepClone'](_0x2de928['mutations'][0x0]);for(let _0x46668d=_0x2c88b5[_0x4731b6(0x22e)]-0x1;_0x46668d>=0x0;_0x46668d--){const _0x4c4d72={'id':_0x4731b6(0x16e),'params':{..._0x2c88b5[_0x46668d]}},_0x3ba29a={'id':_0x4731b6(0x16e),'params':{..._0x4832e7[_0x46668d]}},_0xd3e2de=this[_0x4731b6(0xd8)]['transformMutation'](_0x1c352c,_0x4c4d72,!0x1),_0x4ac25c=this[_0x4731b6(0xd8)]['transformMutation'](_0x55d5f0,_0x3ba29a,!0x1);if(_0x26da06['isTransformMutationFailure'](_0xd3e2de))throw _0xd3e2de[_0x4731b6(0x1fb)];if(_0x26da06[_0x4731b6(0xf4)](_0x4ac25c))throw _0x4ac25c[_0x4731b6(0x1fb)];_0x599c1c[_0x4731b6(0x2c0)](_0xd3e2de[_0x4731b6(0x328)][_0x4731b6(0x33c)]),_0x2ecc33[_0x4731b6(0x2c0)](_0x4ac25c['m2Prime']['params']),_0x1c352c=_0xd3e2de['m1Prime'],_0x55d5f0=_0x4ac25c[_0x4731b6(0x253)];}_0x5355af[_0x4731b6(0x313)]({'undoCache':_0x599c1c,'redoCache':_0x2ecc33});}[_0x5972b3(0x2ea)](_0x3e194d){const _0x3bc925=_0x5972b3,{unitID:_0x4f676d}=_0x3e194d,_0x1df058=this[_0x3bc925(0x175)][_0x3bc925(0xdc)](_0x4f676d)[_0x3bc925(0x283)](_0x277641[_0x3bc925(0x19c)]),_0x1017f8=_0x1df058['getActiveRange']();if(_0x1017f8==null)return;const _0x2958f7=[{'id':_0x3bc925(0x16e),'params':{'unitId':_0x3e194d[_0x3bc925(0xf1)],'actions':null,'textRanges':[_0x1017f8]}}],_0x452b61=this[_0x3bc925(0xd8)]['transformMutationsWithChangeset'](_0x3e194d,_0x2958f7);if(!_0x26da06[_0x3bc925(0xdd)](_0x452b61))throw _0x452b61[_0x3bc925(0x1fb)];const _0x2fb690=_0x452b61[_0x3bc925(0x328)][0x0][_0x3bc925(0x33c)][_0x3bc925(0x291)];Array['isArray'](_0x2fb690)&&_0x2fb690[_0x3bc925(0x22e)]&&_0x1df058[_0x3bc925(0x200)](_0x2fb690[0x0]);}};_0xc4af03=_0xfa5406([_0x20abdd(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x20abdd(0x1,_0x26da06['ITransformService']),_0x20abdd(0x2,_0x25b909[_0x5972b3(0x16c)])],_0xc4af03);var _0x3d2a6f=Object[_0x5972b3(0x27e)],_0x4271e5=(_0x206283,_0x5ca058,_0xc9335f,_0x38111e)=>{const _0x3a6cf9=_0x5972b3;for(var _0xadd718=_0x38111e>0x1?void 0x0:_0x38111e?_0x3d2a6f(_0x5ca058,_0xc9335f):_0x5ca058,_0x68856a=_0x206283[_0x3a6cf9(0x22e)]-0x1,_0x3ca6b9;_0x68856a>=0x0;_0x68856a--)(_0x3ca6b9=_0x206283[_0x68856a])&&(_0xadd718=_0x3ca6b9(_0xadd718)||_0xadd718);return _0xadd718;},_0x449f00=(_0x493e1d,_0x9bd41f)=>(_0x27bc46,_0x12525f)=>_0x9bd41f(_0x27bc46,_0x12525f,_0x493e1d);let _0x52938b=class{constructor(_0x47ce55,_0x5c723c,_0xf3df8a){const _0x440eec=_0x5972b3;this[_0x440eec(0x11b)]=_0x47ce55,this['_transformService']=_0x5c723c,this[_0x440eec(0x1b3)]=_0xf3df8a;}[_0x5972b3(0x1b7)](_0x1128b9){const _0x5d460a=_0x5972b3;this[_0x5d460a(0x251)](_0x1128b9);}[_0x5972b3(0x229)](_0x331fe0){const _0xa66ea7=_0x5972b3,{unitID:_0x42b3cd}=_0x331fe0,{collaboration:_0x3225b7}=this[_0xa66ea7(0x1b3)][_0xa66ea7(0xc5)](_0x42b3cd);if(_0x3225b7[_0xa66ea7(0x22e)]===0x0)return _0x331fe0;let _0x1b8172=_0x34ebd1[_0xa66ea7(0x309)]['deepClone'](_0x331fe0[_0xa66ea7(0x187)][0x0]);for(let _0x146e55=0x0;_0x146e55<_0x3225b7['length'];_0x146e55++){const _0x2cad41={'id':_0xa66ea7(0x16e),'params':{'unitId':_0x3225b7[_0x146e55][_0xa66ea7(0x25a)],..._0x3225b7[_0x146e55][_0xa66ea7(0x2df)]}},_0x4ac722=this[_0xa66ea7(0xd8)][_0xa66ea7(0x315)](_0x1b8172,_0x2cad41,!0x1);if(_0x26da06['isTransformMutationFailure'](_0x4ac722))throw _0x4ac722['error'];_0x1b8172=_0x4ac722['m1Prime'];}return{..._0x34ebd1['Tools'][_0xa66ea7(0x277)](_0x331fe0),'mutations':[_0x1b8172]};}[_0x5972b3(0x251)](_0x2835d9){const _0x2a55d0=_0x5972b3,{unitID:_0x4fa283}=_0x2835d9,{history:_0x44f79e,collaboration:_0x292278}=this[_0x2a55d0(0x1b3)][_0x2a55d0(0xc5)](_0x4fa283);if(_0x44f79e['length']===0x0&&_0x292278[_0x2a55d0(0x22e)]===0x0)return;const _0x30934e=[],_0x1e0c51=[];let _0x5d141d=_0x34ebd1[_0x2a55d0(0x309)][_0x2a55d0(0x277)](_0x2835d9[_0x2a55d0(0x187)][0x0]),_0x5f21ed=_0x34ebd1[_0x2a55d0(0x309)]['deepClone'](_0x2835d9[_0x2a55d0(0x187)][0x0]);for(let _0x2a1e55=_0x44f79e[_0x2a55d0(0x22e)]-0x1;_0x2a1e55>=0x0;_0x2a1e55--){const _0x2b453d={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x44f79e[_0x2a1e55][_0x2a55d0(0x25a)],..._0x44f79e[_0x2a1e55][_0x2a55d0(0x24d)]}},_0x5760e6={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x44f79e[_0x2a1e55]['unitId'],..._0x44f79e[_0x2a1e55][_0x2a55d0(0x2df)]}},_0xa5c206=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5d141d,_0x2b453d,!0x1),_0x4dbd9b=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5f21ed,_0x5760e6,!0x1);if(_0x26da06[_0x2a55d0(0xf4)](_0xa5c206))throw _0xa5c206['error'];if(_0x26da06[_0x2a55d0(0xf4)](_0x4dbd9b))throw _0x4dbd9b[_0x2a55d0(0x1fb)];_0x30934e[_0x2a55d0(0x2c0)]({..._0x44f79e[_0x2a1e55],'undoState':_0xa5c206[_0x2a55d0(0x328)]['params'],'redoState':_0x4dbd9b[_0x2a55d0(0x328)][_0x2a55d0(0x33c)]}),_0x5d141d=_0xa5c206['m1Prime'],_0x5f21ed=_0x4dbd9b[_0x2a55d0(0x253)];}_0x5d141d=_0x34ebd1[_0x2a55d0(0x309)]['deepClone'](_0x2835d9[_0x2a55d0(0x187)][0x0]),_0x5f21ed=_0x34ebd1[_0x2a55d0(0x309)][_0x2a55d0(0x277)](_0x2835d9[_0x2a55d0(0x187)][0x0]);for(let _0x5a842e=_0x292278['length']-0x1;_0x5a842e>=0x0;_0x5a842e--){const _0x30dead={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x292278[_0x5a842e][_0x2a55d0(0x25a)],..._0x292278[_0x5a842e][_0x2a55d0(0x24d)]}},_0x2de789={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x292278[_0x5a842e][_0x2a55d0(0x25a)],..._0x292278[_0x5a842e][_0x2a55d0(0x2df)]}},_0x3bea9b=this['_transformService']['transformMutation'](_0x5d141d,_0x30dead,!0x1),_0x5f1393=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5f21ed,_0x2de789,!0x1);if(_0x26da06['isTransformMutationFailure'](_0x3bea9b))throw _0x3bea9b[_0x2a55d0(0x1fb)];if(_0x26da06[_0x2a55d0(0xf4)](_0x5f1393))throw _0x5f1393[_0x2a55d0(0x1fb)];_0x1e0c51[_0x2a55d0(0x2c0)]({..._0x292278[_0x5a842e],'undoState':_0x3bea9b[_0x2a55d0(0x328)][_0x2a55d0(0x33c)],'redoState':_0x5f1393[_0x2a55d0(0x328)][_0x2a55d0(0x33c)]}),_0x5d141d=_0x3bea9b[_0x2a55d0(0x253)],_0x5f21ed=_0x5f1393['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x4fa283,{'history':_0x30934e,'collaboration':_0x1e0c51});}};_0x52938b=_0x4271e5([_0x449f00(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x449f00(0x1,_0x26da06[_0x5972b3(0x2b6)]),_0x449f00(0x2,_0x34ebd1['Inject'](_0x277641[_0x5972b3(0x18e)]))],_0x52938b);var _0x1a66f4=Object[_0x5972b3(0x27e)],_0x3d788c=(_0x12ee6a,_0x54ea92,_0x247978,_0x47f96c)=>{for(var _0x3e956b=_0x47f96c>0x1?void 0x0:_0x47f96c?_0x1a66f4(_0x54ea92,_0x247978):_0x54ea92,_0xac4479=_0x12ee6a['length']-0x1,_0x31c4a1;_0xac4479>=0x0;_0xac4479--)(_0x31c4a1=_0x12ee6a[_0xac4479])&&(_0x3e956b=_0x31c4a1(_0x3e956b)||_0x3e956b);return _0x3e956b;},_0x599786=(_0x3581aa,_0x47a144)=>(_0x3b8199,_0x4bbbb8)=>_0x47a144(_0x3b8199,_0x4bbbb8,_0x3581aa);let _0x1f2ba9=class{constructor(_0x4ae8ce,_0x28ce6c){const _0x437a34=_0x5972b3;this[_0x437a34(0x11b)]=_0x4ae8ce,this['_transformService']=_0x28ce6c;}[_0x5972b3(0x156)](_0x59dee9){const _0x19b1f9=_0x5972b3;var _0x5959ec;const _0x288395=this['_injector']['get'](_0x14e34b[_0x19b1f9(0x337)]),_0x9f203=(_0x5959ec=_0x288395['getDocRanges']())!=null?_0x5959ec:[];if(_0x9f203[_0x19b1f9(0x22e)]===0x0)return;const _0x109cb2=_0x59dee9['unitID'],_0x48ba23=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x109cb2,'actions':null,'textRanges':_0x9f203}}],_0x465652=this['_transformService'][_0x19b1f9(0x1a7)](_0x59dee9,_0x48ba23);if(!_0x26da06[_0x19b1f9(0xdd)](_0x465652))throw _0x465652[_0x19b1f9(0x1fb)];const _0x18323a=_0x465652[_0x19b1f9(0x328)][0x0][_0x19b1f9(0x33c)][_0x19b1f9(0x291)];Array['isArray'](_0x18323a)&&_0x18323a[_0x19b1f9(0x22e)]&&_0x288395[_0x19b1f9(0x264)](_0x18323a,{'unitId':_0x109cb2,'subUnitId':_0x109cb2},!0x1);}};_0x1f2ba9=_0x3d788c([_0x599786(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x599786(0x1,_0x26da06[_0x5972b3(0x2b6)])],_0x1f2ba9);var _0x40dc63=Object[_0x5972b3(0x27e)],_0x1f83ff=(_0x31628a,_0x5679ee,_0x7d83e2,_0x3e9d03)=>{const _0xfaa16a=_0x5972b3;for(var _0x450938=_0x3e9d03>0x1?void 0x0:_0x3e9d03?_0x40dc63(_0x5679ee,_0x7d83e2):_0x5679ee,_0x57394b=_0x31628a[_0xfaa16a(0x22e)]-0x1,_0x33acdd;_0x57394b>=0x0;_0x57394b--)(_0x33acdd=_0x31628a[_0x57394b])&&(_0x450938=_0x33acdd(_0x450938)||_0x450938);return _0x450938;},_0x375209=(_0x255c08,_0x54b5de)=>(_0x9c6d,_0x12a333)=>_0x54b5de(_0x9c6d,_0x12a333,_0x255c08);let _0x2a5c91=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x43324b,_0x7cd8e4,_0x240e3f,_0x2636e0,_0xd17386,_0x2f7427,_0x109557,_0x45dc47){const _0x1325d6=_0x5972b3;super(),_0x47e648(this,'_status$',new _0x3dc992[(_0x1325d6(0x1ce))](_0x3a2a7b[_0x1325d6(0x19f)]['NOT_COLLAB'])),(this[_0x1325d6(0x1b3)]=_0x43324b,this[_0x1325d6(0x299)]=_0x7cd8e4,this[_0x1325d6(0x33d)]=_0x240e3f,this[_0x1325d6(0x26f)]=_0x2636e0,this[_0x1325d6(0x186)]=_0xd17386,this[_0x1325d6(0x216)]=_0x2f7427,this['_messageService']=_0x109557,this[_0x1325d6(0xb8)]=_0x45dc47,this[_0x1325d6(0x335)]());}[_0x5972b3(0x335)](){const _0x285e7a=_0x5972b3;this[_0x285e7a(0xab)](this[_0x285e7a(0x299)][_0x285e7a(0x295)]['subscribe'](_0x13e58=>{const _0x3edfab=_0x285e7a,_0x1dde03=this['_docStateChangeManagerService'][_0x3edfab(0xf9)][_0x3edfab(0x1a1)](_0x3bf657=>{const _0x27cc25=_0x3edfab;if(_0x3bf657==null)return;const {unitId:_0x4f0669,redoState:_0x261fec,commandId:_0xdb4ad7}=_0x3bf657;if(_0x4f0669!==_0x13e58['unitID'])return;const _0x7a68d5={'id':_0xdb4ad7,'type':_0x34ebd1['CommandType']['MUTATION'],'params':{'unitId':_0x4f0669,'actions':_0x261fec[_0x27cc25(0x1f9)],'textRanges':null}};_0x13e58[_0x27cc25(0x2b4)](_0x7a68d5);});if(_0x13e58[_0x3edfab(0xab)](_0x1dde03),_0x13e58 instanceof _0x3a2a7b[_0x3edfab(0x12b)]){const _0x4fe79a={'onTransformIME':_0x1c410c=>this[_0x3edfab(0x33d)][_0x3edfab(0x338)](_0x1c410c),'onTransformState':_0x240b01=>this[_0x3edfab(0x26f)][_0x3edfab(0x1b7)](_0x240b01),'onTransformSelections':_0x54c65d=>this[_0x3edfab(0x186)][_0x3edfab(0x156)](_0x54c65d),'onSyncEditingCollabCursor':_0x50138d=>this[_0x3edfab(0x216)][_0x3edfab(0x278)](_0x50138d),'onTransformRemoteChangesetByIMECache':_0x3c3106=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c3106),'onTransformRemoteChangesetByStateCache':_0x4ad0fa=>this[_0x3edfab(0x26f)][_0x3edfab(0x229)](_0x4ad0fa)};_0x13e58['addHandlerCallback'](_0x4fe79a);}}));}};_0x2a5c91=_0x1f83ff([_0x375209(0x0,_0x34ebd1['Inject'](_0x277641[_0x5972b3(0x18e)])),_0x375209(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x248)])),_0x375209(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0xc4af03)),_0x375209(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x52938b)),_0x375209(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x1f2ba9)),_0x375209(0x5,_0x34ebd1['Inject'](_0x1ece76)),_0x375209(0x6,_0x41e240[_0x5972b3(0x113)]),_0x375209(0x7,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['LocaleService']))],_0x2a5c91);var _0x4c9a36=Object[_0x5972b3(0x27e)],_0x17b01f=(_0x3107f2,_0x46a95f,_0x336f34,_0x15a9b9)=>{const _0x110aa4=_0x5972b3;for(var _0x449fd9=_0x15a9b9>0x1?void 0x0:_0x15a9b9?_0x4c9a36(_0x46a95f,_0x336f34):_0x46a95f,_0x5ed1d4=_0x3107f2[_0x110aa4(0x22e)]-0x1,_0x536f0d;_0x5ed1d4>=0x0;_0x5ed1d4--)(_0x536f0d=_0x3107f2[_0x5ed1d4])&&(_0x449fd9=_0x536f0d(_0x449fd9)||_0x449fd9);return _0x449fd9;},_0x236dd2=(_0x2c88e,_0x117f7a)=>(_0x5297d4,_0x5eaf1a)=>_0x117f7a(_0x5297d4,_0x5eaf1a,_0x2c88e);let _0x386666=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x16c506,_0x4fb1e6,_0x231c80){const _0x1e5450=_0x5972b3;super(),_0x47e648(this,_0x1e5450(0x1e0),new Map()),_0x47e648(this,_0x1e5450(0x2c8),new Map()),_0x47e648(this,_0x1e5450(0x178),!0x1),(this[_0x1e5450(0x1cb)]=_0x16c506,this[_0x1e5450(0x13f)]=_0x4fb1e6,this['_revisionService']=_0x231c80);}['disableLocalCache'](){const _0x3a389f=_0x5972b3;this[_0x3a389f(0x178)]=!0x0;}[_0x5972b3(0x225)](){const _0x45b5f2=_0x5972b3;this[_0x45b5f2(0x178)]=!0x1;}get[_0x5972b3(0xe6)](){return this['_saveTaskMap'];}[_0x5972b3(0x31d)](){const _0x40e958=_0x5972b3;this[_0x40e958(0x21f)]()[_0x40e958(0x1e2)](()=>super[_0x40e958(0x31d)]());}async[_0x5972b3(0x2a2)](_0x490d46){const _0x19a801=_0x5972b3;return this[_0x19a801(0x178)]?null:this[_0x19a801(0x13f)][_0x19a801(0x28f)](_0x3a2a7b[_0x19a801(0xcd)](_0x490d46));}async[_0x5972b3(0xb2)](_0x30ef1d,_0xcf7879){const _0x27543f=_0x5972b3;return!!this[_0x27543f(0x13f)][_0x27543f(0xbf)](_0x30ef1d,_0xcf7879);}[_0x5972b3(0x13c)](_0x2d740d,_0x55971c,_0x4bd72c,_0x269e09){const _0x3dc780=_0x5972b3,_0x40975c=this[_0x3dc780(0x17b)][_0x3dc780(0x138)](_0x2d740d);this['_cachedData'][_0x3dc780(0x241)](_0x2d740d,{'unitID':_0x2d740d,'type':_0x55971c,'awaitingChangeset':_0x4bd72c,'mutations':_0x269e09,'rev':_0x40975c}),this[_0x3dc780(0x2c8)][_0x3dc780(0x2c3)](_0x2d740d)||this[_0x3dc780(0x1db)](_0x2d740d);}[_0x5972b3(0x1db)](_0x3567ce){const _0x29442f=_0x5972b3,_0xd9f9f9=this[_0x29442f(0x15d)]();_0xd9f9f9===0x0?this[_0x29442f(0x325)](_0x3567ce):this[_0x29442f(0x2c8)][_0x29442f(0x241)](_0x3567ce,setTimeout(()=>this['_saveCache'](_0x3567ce),_0xd9f9f9));}[_0x5972b3(0x15d)](){const _0x428689=_0x5972b3;var _0x2b65c8;return(_0x2b65c8=this[_0x428689(0x1cb)][_0x428689(0x180)](_0x3a2a7b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2b65c8:_0x3a2a7b[_0x428689(0x128)];}[_0x5972b3(0x325)](_0x3ebbba){const _0x514661=_0x5972b3,_0x3250a7=this[_0x514661(0x2c8)][_0x514661(0x1d9)](_0x3ebbba);return _0x3250a7!==void 0x0&&window[_0x514661(0x2d4)](_0x3250a7),this[_0x514661(0x13f)][_0x514661(0xbf)](_0x3a2a7b[_0x514661(0xcd)](_0x3ebbba),this['_cachedData']['get'](_0x3ebbba))[_0x514661(0x1e2)](()=>this[_0x514661(0x2c8)][_0x514661(0x2e8)](_0x3ebbba));}async[_0x5972b3(0x21f)](){const _0x436d9b=_0x5972b3,_0x2aa1e1=[];this[_0x436d9b(0x2c8)][_0x436d9b(0x157)]((_0xbc7236,_0xf8b983)=>{const _0x1020d6=_0x436d9b;window[_0x1020d6(0x2d4)](_0xbc7236),_0x2aa1e1[_0x1020d6(0x154)](this[_0x1020d6(0x325)](_0xf8b983)[_0x1020d6(0x1e2)](()=>{const _0x150072=_0x1020d6;this[_0x150072(0x2c8)][_0x150072(0x2e8)](_0xf8b983);}));}),await Promise[_0x436d9b(0x1a3)](_0x2aa1e1);}};_0x386666=_0x17b01f([_0x236dd2(0x0,_0x34ebd1[_0x5972b3(0x29d)]),_0x236dd2(0x1,_0x34ebd1[_0x5972b3(0xc6)]),_0x236dd2(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x26da06[_0x5972b3(0x2a9)]))],_0x386666);class _0x3d4b0b extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(){const _0x1f9258=_0x5972b3;super(),_0x47e648(this,_0x1f9258(0x296)),this[_0x1f9258(0x296)]=_0x3dc992[_0x1f9258(0x1fd)](window,_0x1f9258(0x311))[_0x1f9258(0x1f0)](_0x3dc992[_0x1f9258(0x1a0)](this[_0x1f9258(0x177)]),_0x3dc992['shareReplay'](0x1),_0x3dc992[_0x1f9258(0xf5)](void 0x0));}[_0x5972b3(0xfa)](_0x4909cc,_0x48652b,_0x44f2bb=!0x1){const _0x2ed908=_0x5972b3,_0x1470fb=new URL(window['location'][_0x2ed908(0x2c2)]);_0x1470fb[_0x2ed908(0xc7)][_0x2ed908(0x241)](_0x4909cc,_0x48652b),_0x44f2bb?window[_0x2ed908(0x1ac)][_0x2ed908(0x2ae)]('','',_0x1470fb[_0x2ed908(0x182)]()):window[_0x2ed908(0x1ac)][_0x2ed908(0x32e)]('','',_0x1470fb['toString']());}[_0x5972b3(0x114)](_0x17e4f8,_0x622fe3=!0x1){const _0x4dfc8b=_0x5972b3,_0x7864aa=new URL(window['location'][_0x4dfc8b(0x2c2)]);_0x7864aa[_0x4dfc8b(0xc7)][_0x4dfc8b(0x2e8)](_0x17e4f8),_0x622fe3?window['history'][_0x4dfc8b(0x2ae)]('','',_0x7864aa['toString']()):window[_0x4dfc8b(0x1ac)][_0x4dfc8b(0x32e)]('','',_0x7864aa[_0x4dfc8b(0x182)]());}['getParam'](_0x3bb216){const _0x30171c=_0x5972b3;var _0x5191e3;return(_0x5191e3=new URL(window['location'][_0x30171c(0x2c2)])[_0x30171c(0xc7)]['get'](_0x3bb216))!=null?_0x5191e3:void 0x0;}}var _0x59c0ca=Object[_0x5972b3(0x27f)],_0x1af3ea=Object[_0x5972b3(0x27e)],_0xf7e15c=(_0x1fe7b8,_0x48e4ca,_0x392281)=>_0x48e4ca in _0x1fe7b8?_0x59c0ca(_0x1fe7b8,_0x48e4ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x392281}):_0x1fe7b8[_0x48e4ca]=_0x392281,_0x36d9d9=(_0x195f2a,_0x5a7674,_0x30b7c8,_0x4052ee)=>{const _0x1bb6e1=_0x5972b3;for(var _0x2e026c=_0x4052ee>0x1?void 0x0:_0x4052ee?_0x1af3ea(_0x5a7674,_0x30b7c8):_0x5a7674,_0x40db0c=_0x195f2a[_0x1bb6e1(0x22e)]-0x1,_0x196315;_0x40db0c>=0x0;_0x40db0c--)(_0x196315=_0x195f2a[_0x40db0c])&&(_0x2e026c=_0x196315(_0x2e026c)||_0x2e026c);return _0x2e026c;},_0x4e2a92=(_0x49d6e8,_0x20942a)=>(_0x2c6364,_0xc09b48)=>_0x20942a(_0x2c6364,_0xc09b48,_0x49d6e8),_0xf7d88e=(_0x2949a6,_0x36d5dd,_0x5ac193)=>_0xf7e15c(_0x2949a6,_0x36d5dd+'',_0x5ac193);const _0x313977='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4e86fa[_0x5972b3(0x1c0)]=class extends _0x34ebd1[_0x5972b3(0xe5)]{constructor(_0x48dde6=_0x4d53cb,_0x504b04,_0x3727c0,_0xd86fcc){const _0x574965=_0x5972b3;super(),this[_0x574965(0x321)]=_0x48dde6,this[_0x574965(0x175)]=_0x504b04,this[_0x574965(0x11b)]=_0x3727c0,this[_0x574965(0x1cb)]=_0xd86fcc;const {..._0x560b72}=_0x34ebd1['merge']({},_0x4d53cb,this['_config']);this[_0x574965(0x1cb)][_0x574965(0xb9)](_0x2276f7,_0x560b72);}[_0x5972b3(0x310)](){const _0x3c11c9=_0x5972b3;this[_0x3c11c9(0xd9)](),this[_0x3c11c9(0x10c)]();}[_0x5972b3(0x13a)](){const _0x2e446f=_0x5972b3;this[_0x2e446f(0x28a)]();}[_0x5972b3(0xd9)](){const _0x101ebc=_0x5972b3;var _0xa7063e;const _0xad25d8=[[_0x512efc],[_0x1f2ba9],[_0xc4af03],[_0x52938b],[_0x1ece76],[_0x32bcf8,{'useClass':_0x3d4b0b}],[_0x4ece0e[_0x101ebc(0x20d)],{'useClass':_0x4ece0e[_0x101ebc(0x323)]}],[_0x3a2a7b[_0x101ebc(0xbe)],{'useClass':_0x386666}],[_0x4e86fa[_0x101ebc(0x2cb)]],[_0x2a5c91],[_0x581134],[_0x2debf7],[_0x211ac6],[_0x4e86fa['CollaborationDataLoaderController']]];_0x34ebd1[_0x101ebc(0xe9)](this['_injector'],_0x34ebd1['mergeOverrideWithDependencies'](_0xad25d8,(_0xa7063e=this[_0x101ebc(0x321)])==null?void 0x0:_0xa7063e[_0x101ebc(0x1ea)]));}[_0x5972b3(0x28a)](){const _0x5bd994=_0x5972b3;this[_0x5bd994(0xab)](this[_0x5bd994(0x175)][_0x5bd994(0x265)](_0x34ebd1[_0x5bd994(0x12d)][_0x5bd994(0x1f5)],[_0x38f847])),this['disposeWithMe'](this[_0x5bd994(0x175)][_0x5bd994(0x265)](_0x34ebd1[_0x5bd994(0x12d)][_0x5bd994(0x170)],[_0x265562]));}[_0x5972b3(0x10c)](){const _0x6080af=_0x5972b3;_0x34ebd1[_0x6080af(0x28b)](this['_injector'],[[_0x2debf7],[_0x4e86fa[_0x6080af(0x2cb)]],[_0x2a5c91],[_0x581134],[_0x4e86fa[_0x6080af(0x320)]]]);}},_0xf7d88e(_0x4e86fa['UniverCollaborationClientUIPlugin'],_0x5972b3(0x150),_0x313977),_0x4e86fa['UniverCollaborationClientUIPlugin']=_0x36d9d9([_0x34ebd1[_0x5972b3(0x19e)](_0x3a2a7b['UniverCollaborationClientPlugin']),_0x4e2a92(0x1,_0x25b909[_0x5972b3(0x16c)]),_0x4e2a92(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x4e2a92(0x3,_0x34ebd1['IConfigService'])],_0x4e86fa[_0x5972b3(0x1c0)]);var _0x531b71=Object[_0x5972b3(0x27e)],_0x2ac438=(_0x33e92d,_0x4e84c3,_0x1f64d8,_0x46a18f)=>{const _0x3d1132=_0x5972b3;for(var _0x3d7caa=_0x46a18f>0x1?void 0x0:_0x46a18f?_0x531b71(_0x4e84c3,_0x1f64d8):_0x4e84c3,_0x2cfd16=_0x33e92d[_0x3d1132(0x22e)]-0x1,_0x3a7bc3;_0x2cfd16>=0x0;_0x2cfd16--)(_0x3a7bc3=_0x33e92d[_0x2cfd16])&&(_0x3d7caa=_0x3a7bc3(_0x3d7caa)||_0x3d7caa);return _0x3d7caa;},_0x268470=(_0x59e959,_0xe563b2)=>(_0x1fe63d,_0x335639)=>_0xe563b2(_0x1fe63d,_0x335639,_0x59e959);_0x4e86fa[_0x5972b3(0x2fa)]=class extends _0x3a2a7b[_0x5972b3(0xb5)]{constructor(_0x5cb23f,_0x5ba9ee,_0x469a8c,_0x2bc219,_0x439195){super(_0x5cb23f,_0x5ba9ee,_0x469a8c,_0x2bc219,_0x439195);}async[_0x5972b3(0xd5)](_0x40fd6b){const _0x25646f=_0x5972b3,_0x420d2d=await this['_getSessionTicket'](),_0x56379a=this[_0x25646f(0x307)](_0x40fd6b,_0x420d2d);return this[_0x25646f(0x2ef)](_0x56379a);}[_0x5972b3(0x307)](_0x401821,_0x156829){const _0x333087=_0x5972b3,_0x2e5225=typeof window>'u'?new URL(_0x401821):new URL(_0x401821,window[_0x333087(0x23b)]['origin']);_0x2e5225['searchParams'][_0x333087(0x241)]('sessionTicket',_0x156829);const _0x47bc1c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x333087(0x23b)][_0x333087(0x2e9)]);return _0x47bc1c[_0x333087(0x1d9)]('runId')&&_0x2e5225[_0x333087(0xc7)][_0x333087(0x241)](_0x333087(0xc2),_0x47bc1c['get'](_0x333087(0xc2))),_0x2e5225[_0x333087(0x182)]();}async[_0x5972b3(0x1bf)](){const _0xad8724=_0x5972b3;var _0x345903,_0x56e78d,_0xc5ef04;const _0x52822b=this['_configService'][_0xad8724(0x180)](_0x3a2a7b[_0xad8724(0x17d)]),_0x74822d=(_0x345903=_0x52822b==null?void 0x0:_0x52822b[_0xad8724(0x27d)])!=null?_0x345903:_0x3a2a7b[_0xad8724(0x2f7)];return(_0xc5ef04=(_0x56e78d=(await this[_0xad8724(0x2f5)][_0xad8724(0x1d9)](_0x74822d,{'headers':{'Content-Type':_0xad8724(0x27b)}}))['body'])==null?void 0x0:_0x56e78d[_0xad8724(0x255)])!=null?_0xc5ef04:'';}},_0x4e86fa[_0x5972b3(0x2fa)]=_0x2ac438([_0x268470(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['Injector'])),_0x268470(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x4ece0e[_0x5972b3(0x231)])),_0x268470(0x2,_0x34ebd1[_0x5972b3(0x29d)]),_0x268470(0x3,_0x34ebd1[_0x5972b3(0x188)]),_0x268470(0x4,_0x26da06[_0x5972b3(0x1dd)])],_0x4e86fa[_0x5972b3(0x2fa)]);const _0x2b8f8f=0x7530,_0x794ddb=_0x5972b3(0x141);class _0x17f4ee extends _0x34ebd1['Disposable']{constructor(){const _0x38e6e3=_0x5972b3;super(),_0x47e648(this,_0x38e6e3(0x146),_0x34ebd1[_0x38e6e3(0x116)]()),_0x47e648(this,_0x38e6e3(0x246),new Set()),_0x47e648(this,_0x38e6e3(0x1a8),new Map()),_0x47e648(this,_0x38e6e3(0x199),null),_0x47e648(this,_0x38e6e3(0x2c5),new Map()),_0x47e648(this,_0x38e6e3(0x1b5),new Map()),this[_0x38e6e3(0x273)]();}['dispose'](){const _0x19f309=_0x5972b3;super[_0x19f309(0x31d)](),this['_clearOtherTimers']['forEach']((_0x78b31b,_0x22c28c)=>this[_0x19f309(0x103)](_0x22c28c)),this[_0x19f309(0x199)]&&window['clearInterval'](this[_0x19f309(0x199)]);}[_0x5972b3(0x194)](_0xa41001){const _0x14e526=_0x5972b3;return this['_ensureSubject'](_0xa41001)[_0x14e526(0x1f0)](_0x3dc992[_0x14e526(0x232)]());}[_0x5972b3(0x1aa)](_0x56b199){const _0x5c51c3=_0x5972b3;this[_0x5c51c3(0x246)][_0x5c51c3(0x29b)]===0x0&&this[_0x5c51c3(0x17c)](),this[_0x5c51c3(0x246)][_0x5c51c3(0x340)](_0x56b199),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x56b199],'isForwarded':!0x1});}[_0x5972b3(0x165)](_0x3574cf){const _0x4040e4=_0x5972b3;this[_0x4040e4(0x246)][_0x4040e4(0x2e8)](_0x3574cf),this[_0x4040e4(0x246)][_0x4040e4(0x29b)]===0x0&&this[_0x4040e4(0x199)]&&window[_0x4040e4(0x209)](this[_0x4040e4(0x199)]);}[_0x5972b3(0x273)](){const _0x4a7adf=_0x5972b3;this[_0x4a7adf(0xab)](_0x34ebd1['toDisposable'](_0x3dc992[_0x4a7adf(0x1fd)](window,'storage')[_0x4a7adf(0x1a1)](_0x5b0ca9=>{const _0x2bebb4=_0x4a7adf;if(_0x5b0ca9['key']!==_0x794ddb||!_0x5b0ca9[_0x2bebb4(0x223)])return;const _0x1bfdf2=JSON['parse'](_0x5b0ca9[_0x2bebb4(0x223)]);this[_0x2bebb4(0x29a)](_0x1bfdf2);}))),window['addEventListener']('unload',()=>this[_0x4a7adf(0x2b8)]({'type':0x1,'memberID':this[_0x4a7adf(0x146)],'unitIDs':Array['from'](this[_0x4a7adf(0x246)])}));}[_0x5972b3(0x29a)](_0xa6954f){const _0x16c952=_0x5972b3;switch(_0xa6954f['type']){case 0x0:this[_0x16c952(0x276)](_0xa6954f);break;case 0x1:this[_0x16c952(0xc0)](_0xa6954f);break;case 0x2:this[_0x16c952(0xf3)](_0xa6954f);break;}}[_0x5972b3(0x276)](_0x3a4932){const _0x223443=_0x5972b3,{unitIDs:_0x169b9d,memberID:_0x412b5a,isForwarded:_0x46e872}=_0x3a4932;_0x169b9d[_0x223443(0x157)](_0x5e41f1=>{const _0x3d2651=_0x223443;if(!_0x46e872&&this[_0x3d2651(0x1a8)][_0x3d2651(0x2c3)](_0x5e41f1)&&this['_ensureSubject'](_0x5e41f1)['next'](_0x3a2a7b[_0x3d2651(0x19b)][_0x3d2651(0x1f3)]),!this[_0x3d2651(0x1a8)][_0x3d2651(0x2c3)](_0x5e41f1)||!this['_unitOnClients']['get'](_0x5e41f1)[_0x3d2651(0x2c3)](_0x412b5a)){const _0x2ce7c9=this[_0x3d2651(0x1a8)][_0x3d2651(0x1d9)](_0x5e41f1)||new Set();_0x2ce7c9[_0x3d2651(0x340)](_0x412b5a),this[_0x3d2651(0x1a8)]['set'](_0x5e41f1,_0x2ce7c9),this['_scheduleClearOtherTimer'](_0x412b5a);}}),_0x46e872||this[_0x223443(0x2b8)]({'type':0x0,'memberID':this[_0x223443(0x146)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5972b3(0x185)](_0x1919db){const _0x508c57=_0x5972b3;this['_removeClearOtherTimer'](_0x1919db);const _0x292050=window[_0x508c57(0x324)](()=>{const _0x324bfd=_0x508c57;this[_0x324bfd(0x1a8)][_0x324bfd(0x157)](_0x2dac94=>{const _0x5c4750=_0x324bfd;_0x2dac94[_0x5c4750(0x2e8)](_0x1919db);});},_0x2b8f8f*0x2);this[_0x508c57(0x2c5)][_0x508c57(0x241)](_0x1919db,_0x292050);}['_removeClearOtherTimer'](_0x198e1d){const _0x5c9b10=_0x5972b3;if(this[_0x5c9b10(0x2c5)][_0x5c9b10(0x2c3)](_0x198e1d)){const _0x2aba65=this[_0x5c9b10(0x2c5)][_0x5c9b10(0x1d9)](_0x198e1d);_0x2aba65&&window[_0x5c9b10(0x2d4)](_0x2aba65),this[_0x5c9b10(0x2c5)][_0x5c9b10(0x241)](_0x198e1d,null);}}[_0x5972b3(0xc0)](_0x4312bf){const _0x3e14d8=_0x5972b3,{memberID:_0x3f7bcf,unitIDs:_0x2232e7}=_0x4312bf;_0x2232e7[_0x3e14d8(0x157)](_0x15cf85=>{const _0xfa7893=_0x3e14d8;var _0x7d5c7a;const _0x3b4699=this['_unitOnClients'][_0xfa7893(0x1d9)](_0x15cf85);_0x3b4699&&(_0x3b4699[_0xfa7893(0x2e8)](_0x3f7bcf),(_0x7d5c7a=this['_ensureSubject'](_0x15cf85))==null||_0x7d5c7a[_0xfa7893(0x329)](_0x3b4699[_0xfa7893(0x29b)]===0x0?_0x3a2a7b[_0xfa7893(0x19b)][_0xfa7893(0xfc)]:_0x3a2a7b[_0xfa7893(0x19b)][_0xfa7893(0x1f3)]));}),this[_0x3e14d8(0x103)](_0x3f7bcf);}[_0x5972b3(0xf3)](_0x115504){const _0x43a21c=_0x5972b3;this[_0x43a21c(0x185)](_0x115504[_0x43a21c(0x2d8)]);}[_0x5972b3(0x2b8)](_0x42e680){const _0xdcf8b=_0x5972b3;localStorage[_0xdcf8b(0xbf)](_0x794ddb,JSON['stringify'](_0x42e680));}['_scheduleHeartbeat'](){const _0x2678a5=_0x5972b3;this[_0x2678a5(0x199)]=window['setInterval'](()=>{const _0x14a4ac=_0x2678a5;this['_send']({'type':0x2,'memberID':this[_0x14a4ac(0x146)]});},_0x2b8f8f);}[_0x5972b3(0x204)](_0x5df025){const _0x215fad=_0x5972b3;return this[_0x215fad(0x1b5)][_0x215fad(0x2c3)](_0x5df025)||this[_0x215fad(0x1b5)][_0x215fad(0x241)](_0x5df025,new _0x3dc992['BehaviorSubject'](_0x3a2a7b[_0x215fad(0x19b)][_0x215fad(0xfc)])),this['_unitStatus'][_0x215fad(0x1d9)](_0x5df025);}}var _0x44ff76=(_0x504dfe=>(_0x504dfe[_0x504dfe['UNDEFINED']=0x0]=_0x5972b3(0xe7),_0x504dfe[_0x504dfe['OK']=0x1]='OK',_0x504dfe[_0x504dfe[_0x5972b3(0x1dc)]=0x2]=_0x5972b3(0x1dc),_0x504dfe[_0x504dfe[_0x5972b3(0x137)]=0x3]=_0x5972b3(0x137),_0x504dfe[_0x504dfe['NOT_FOUND']=0x4]=_0x5972b3(0x1ab),_0x504dfe[_0x504dfe['UNAUTHENTICATED']=0x5]=_0x5972b3(0x13b),_0x504dfe[_0x504dfe[_0x5972b3(0xee)]=0x6]=_0x5972b3(0xee),_0x504dfe[_0x504dfe[_0x5972b3(0x129)]=0x7]='INVALID_ARGUMENT',_0x504dfe[_0x504dfe['TOO_MANY_REQUESTS']=0x8]=_0x5972b3(0x10b),_0x504dfe[_0x504dfe[_0x5972b3(0x237)]=0x9]='COMPLETION_FINISHED',_0x504dfe[_0x504dfe['LOGIN_FAILED']=0xa]=_0x5972b3(0xd1),_0x504dfe[_0x504dfe[_0x5972b3(0x301)]=0xb]=_0x5972b3(0x301),_0x504dfe[_0x504dfe['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5972b3(0x198),_0x504dfe[_0x504dfe[_0x5972b3(0xc9)]=0xd]=_0x5972b3(0xc9),_0x504dfe[_0x504dfe[_0x5972b3(0x19a)]=0xe]=_0x5972b3(0x19a),_0x504dfe[_0x504dfe[_0x5972b3(0x1e7)]=0x1389]=_0x5972b3(0x1e7),_0x504dfe[_0x504dfe[_0x5972b3(0x160)]=0x1771]=_0x5972b3(0x160),_0x504dfe[_0x504dfe[_0x5972b3(0x25c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x504dfe[_0x504dfe['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5972b3(0x105),_0x504dfe[_0x504dfe[_0x5972b3(0x18a)]=0x1b59]=_0x5972b3(0x18a),_0x504dfe[_0x504dfe['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x504dfe[_0x504dfe[_0x5972b3(0x33f)]=0x1b5b]=_0x5972b3(0x33f),_0x504dfe[_0x504dfe[_0x5972b3(0x1e6)]=0x1b5c]=_0x5972b3(0x1e6),_0x504dfe[_0x504dfe[_0x5972b3(0x30f)]=0x1b5d]=_0x5972b3(0x30f),_0x504dfe[_0x504dfe[_0x5972b3(0x120)]=0x1f41]=_0x5972b3(0x120),_0x504dfe[_0x504dfe[_0x5972b3(0x1e9)]=0x2329]=_0x5972b3(0x1e9),_0x504dfe[_0x504dfe[_0x5972b3(0x2f8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x504dfe[_0x504dfe[_0x5972b3(0x1e4)]=0x232b]=_0x5972b3(0x1e4),_0x504dfe[_0x504dfe[_0x5972b3(0x197)]=0x232c]=_0x5972b3(0x197),_0x504dfe[_0x504dfe[_0x5972b3(0x2e6)]=0x232d]=_0x5972b3(0x2e6),_0x504dfe[_0x504dfe[_0x5972b3(0x208)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x504dfe[_0x504dfe['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5972b3(0x32f),_0x504dfe[_0x504dfe[_0x5972b3(0x26c)]=0x2713]=_0x5972b3(0x26c),_0x504dfe[_0x504dfe[_0x5972b3(0x2f3)]=0x2714]=_0x5972b3(0x2f3),_0x504dfe[_0x504dfe[_0x5972b3(0x2de)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x504dfe[_0x504dfe['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x504dfe[_0x504dfe['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x504dfe[_0x504dfe[_0x5972b3(0x1e8)]=0x271d]=_0x5972b3(0x1e8),_0x504dfe[_0x504dfe[_0x5972b3(0x2e1)]=0x271e]=_0x5972b3(0x2e1),_0x504dfe[_0x504dfe['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x504dfe[_0x504dfe['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5972b3(0x300),_0x504dfe[_0x504dfe[_0x5972b3(0x284)]=0x2af9]=_0x5972b3(0x284),_0x504dfe[_0x504dfe[_0x5972b3(0x1d7)]=0x2ee1]=_0x5972b3(0x1d7),_0x504dfe[_0x504dfe['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x504dfe[_0x504dfe[_0x5972b3(0x207)]=0x2ee3]=_0x5972b3(0x207),_0x504dfe[_0x504dfe[_0x5972b3(0x336)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x504dfe[_0x504dfe[_0x5972b3(0x2e2)]=0x2ee5]=_0x5972b3(0x2e2),_0x504dfe[_0x504dfe['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5972b3(0x2f6),_0x504dfe[_0x504dfe[_0x5972b3(0x314)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x504dfe[_0x504dfe[_0x5972b3(0x2b5)]=0x32cb]=_0x5972b3(0x2b5),_0x504dfe[_0x504dfe['UNRECOGNIZED']=-0x1]=_0x5972b3(0x2fd),_0x504dfe))(_0x44ff76||{}),_0x317463=Object[_0x5972b3(0x27e)],_0xfb0c57=(_0x1125a9,_0x578774,_0x109e86,_0xa772d9)=>{for(var _0x4add65=_0xa772d9>0x1?void 0x0:_0xa772d9?_0x317463(_0x578774,_0x109e86):_0x578774,_0x484d94=_0x1125a9['length']-0x1,_0x32316e;_0x484d94>=0x0;_0x484d94--)(_0x32316e=_0x1125a9[_0x484d94])&&(_0x4add65=_0x32316e(_0x4add65)||_0x4add65);return _0x4add65;},_0x1e652f=(_0xc16ae5,_0x3d6eb9)=>(_0x245096,_0x260387)=>_0x3d6eb9(_0x245096,_0x260387,_0xc16ae5);_0x4e86fa[_0x5972b3(0x2be)]=class extends _0x34ebd1['Disposable']{constructor(_0x599399,_0x4bed40,_0x3db1d3){const _0x1a1550=_0x5972b3;super(),this[_0x1a1550(0x2b7)]=_0x599399,this['_httpService']=_0x4bed40,this[_0x1a1550(0x1cb)]=_0x3db1d3;}async[_0x5972b3(0x18b)](_0xbbcea6,_0x24e60d,_0x4219e6,..._0x59b644){const _0x12c031=_0x5972b3;var _0x128bc2,_0x4f3e15,_0x4e1724,_0x1199fb;const _0x11bd7e=this['_instanceService'][_0x12c031(0x192)]();if(!_0x11bd7e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x23724e=((_0x128bc2=this[_0x12c031(0x1cb)][_0x12c031(0x180)](_0x3a2a7b['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x128bc2:_0x3a2a7b[_0x12c031(0x25b)])+'/'+_0xbbcea6+'/run/'+_0x24e60d,_0x13fca5=new URL(window[_0x12c031(0x23b)][_0x12c031(0x2c2)]),_0x35ca2d={'scriptId':_0xbbcea6,'runId':(_0x4f3e15=_0x13fca5[_0x12c031(0xc7)][_0x12c031(0x1d9)](_0x12c031(0xc2)))!=null?_0x4f3e15:'','function':_0x24e60d,'unitId':_0x11bd7e[_0x12c031(0x18c)](),'argsOfFunction':JSON[_0x12c031(0x1d8)](_0x59b644),'invokeId':(_0x4e1724=_0x4219e6['invokeId'])!=null?_0x4e1724:'','executionId':(_0x1199fb=_0x4219e6[_0x12c031(0x22d)])!=null?_0x1199fb:''};try{const _0x1169c7=await this[_0x12c031(0x2f5)]['post'](_0x23724e,{'body':_0x35ca2d});return _0x1169c7['body'][_0x12c031(0x1fb)]&&_0x1169c7[_0x12c031(0x24f)][_0x12c031(0x1fb)]['code']!==_0x44ff76['OK']?'Failed':_0x1169c7['body'][_0x12c031(0x15a)];}catch{return _0x12c031(0x23c);}}},_0x4e86fa[_0x5972b3(0x2be)]=_0xfb0c57([_0x1e652f(0x0,_0x34ebd1['IUniverInstanceService']),_0x1e652f(0x1,_0x34ebd1['Inject'](_0x4ece0e[_0x5972b3(0x231)])),_0x1e652f(0x2,_0x34ebd1[_0x5972b3(0x29d)])],_0x4e86fa[_0x5972b3(0x2be)]),_0x4e86fa[_0x5972b3(0x18d)]=_0x3f0665,_0x4e86fa[_0x5972b3(0xd2)]=_0x32bcf8,_0x4e86fa['SheetCollabCursorShape']=_0x34dc28,_0x4e86fa['WebBrowserSingleActiveUnitService']=_0x17f4ee,_0x4e86fa['WebURLService']=_0x3d4b0b,Object[_0x5972b3(0x27f)](_0x4e86fa,Symbol[_0x5972b3(0x167)],{'value':_0x5972b3(0xc8)});}));
1
+ function _0x3130(_0x335b83,_0x624178){const _0xe1ef3d=_0xe1ef();return _0x3130=function(_0x31301a,_0x4dff0a){_0x31301a=_0x31301a-0x158;let _0x385fa5=_0xe1ef3d[_0x31301a];return _0x385fa5;},_0x3130(_0x335b83,_0x624178);}(function(_0x475f3a,_0x44d58a){const _0x1910e6=_0x3130,_0x11f124=_0x475f3a();while(!![]){try{const _0x1973b4=-parseInt(_0x1910e6(0x39f))/0x1*(parseInt(_0x1910e6(0x2ff))/0x2)+-parseInt(_0x1910e6(0x3cb))/0x3*(-parseInt(_0x1910e6(0x2b2))/0x4)+parseInt(_0x1910e6(0x3ca))/0x5*(parseInt(_0x1910e6(0x265))/0x6)+-parseInt(_0x1910e6(0x397))/0x7+parseInt(_0x1910e6(0x191))/0x8*(-parseInt(_0x1910e6(0x2ef))/0x9)+parseInt(_0x1910e6(0x36a))/0xa*(parseInt(_0x1910e6(0x1c3))/0xb)+-parseInt(_0x1910e6(0x25b))/0xc*(-parseInt(_0x1910e6(0x25f))/0xd);if(_0x1973b4===_0x44d58a)break;else _0x11f124['push'](_0x11f124['shift']());}catch(_0x3df8ff){_0x11f124['push'](_0x11f124['shift']());}}}(_0xe1ef,0xefc78),function(_0x1d12ee,_0x33844d){const _0x4bff82=_0x3130;typeof exports==_0x4bff82(0x1ba)&&typeof module<'u'?_0x33844d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x4bff82(0x385)&&define['amd']?define([_0x4bff82(0x3da),'@univerjs-pro/collaboration-client','@univerjs/core',_0x4bff82(0x334),_0x4bff82(0x312),_0x4bff82(0x3ba),_0x4bff82(0x26d),_0x4bff82(0x389),_0x4bff82(0x37a),_0x4bff82(0x247),_0x4bff82(0x3c3),_0x4bff82(0x327),_0x4bff82(0x23d),_0x4bff82(0x399),'react/jsx-runtime',_0x4bff82(0x2e4),_0x4bff82(0x3d0),_0x4bff82(0x3b2),_0x4bff82(0x2a8)],_0x33844d):(_0x1d12ee=typeof globalThis<'u'?globalThis:_0x1d12ee||self,_0x33844d(_0x1d12ee[_0x4bff82(0x22c)]={},_0x1d12ee[_0x4bff82(0x3a7)],_0x1d12ee[_0x4bff82(0x22b)],_0x1d12ee[_0x4bff82(0x255)],_0x1d12ee[_0x4bff82(0x2b1)],_0x1d12ee[_0x4bff82(0x38c)],_0x1d12ee[_0x4bff82(0x1b7)],_0x1d12ee[_0x4bff82(0x389)],_0x1d12ee[_0x4bff82(0x26e)],_0x1d12ee[_0x4bff82(0x15a)],_0x1d12ee[_0x4bff82(0x2ac)],_0x1d12ee[_0x4bff82(0x24e)],_0x1d12ee[_0x4bff82(0x389)][_0x4bff82(0x31d)],_0x1d12ee['UniverSheetsUi'],_0x1d12ee[_0x4bff82(0x274)],_0x1d12ee[_0x4bff82(0x368)],_0x1d12ee[_0x4bff82(0x2da)],_0x1d12ee['React'],_0x1d12ee['UniverRpc']));}(this,function(_0x2b5cdb,_0x3df360,_0xffd2a8,_0x365d9c,_0x5bf310,_0x2992e3,_0x15eb4a,_0xde1ef0,_0x3c67a0,_0xc536cc,_0x26582d,_0x1e6254,_0x25274c,_0x3c136a,_0x300e33,_0xd238db,_0x291018,_0x4fbffb,_0x20c23b){'use strict';const _0x4edbca=_0x3130;var _0x3bbf41=Object[_0x4edbca(0x366)],_0x222f6a=(_0x1262ef,_0x2cb922,_0x140a7c)=>_0x2cb922 in _0x1262ef?_0x3bbf41(_0x1262ef,_0x2cb922,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140a7c}):_0x1262ef[_0x2cb922]=_0x140a7c,_0x45f8a5=(_0x7303f6,_0x241e8f,_0x1ded2e)=>_0x222f6a(_0x7303f6,typeof _0x241e8f!=_0x4edbca(0x341)?_0x241e8f+'':_0x241e8f,_0x1ded2e),_0x3dfd01=Object[_0x4edbca(0x304)],_0x1c2da7=(_0x2679e8,_0x547709,_0x28624c,_0x2ab2bc)=>{const _0x215871=_0x4edbca;for(var _0x4c9e4f=_0x2ab2bc>0x1?void 0x0:_0x2ab2bc?_0x3dfd01(_0x547709,_0x28624c):_0x547709,_0x29e285=_0x2679e8[_0x215871(0x35f)]-0x1,_0x3bfb8a;_0x29e285>=0x0;_0x29e285--)(_0x3bfb8a=_0x2679e8[_0x29e285])&&(_0x4c9e4f=_0x3bfb8a(_0x4c9e4f)||_0x4c9e4f);return _0x4c9e4f;},_0x3d998f=(_0x2ee675,_0x228100)=>(_0x3c805e,_0x15adc0)=>_0x228100(_0x3c805e,_0x15adc0,_0x2ee675);let _0x12a509=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x56c484,_0x1ff346){const _0x1d356e=_0x4edbca;super(),this[_0x1d356e(0x209)]=_0x56c484,this[_0x1d356e(0x2f8)]=_0x1ff346,this[_0x1d356e(0x3a5)]();}[_0x4edbca(0x3a5)](){const _0x328acb=_0x4edbca,_0x267f8d=this;this['disposeWithMe'](this[_0x328acb(0x209)][_0x328acb(0x246)]({'onBeforePasteImage':async _0x37598d=>{const _0x44fd08=_0x328acb,_0x4009c6=await _0x267f8d[_0x44fd08(0x2f8)][_0x44fd08(0x3a6)](_0x37598d);return _0x4009c6?{'source':_0x4009c6[_0x44fd08(0x195)],'imageSourceType':_0x4009c6[_0x44fd08(0x329)]}:null;}}));}};_0x12a509=_0x1c2da7([_0x3d998f(0x0,_0x2992e3['IDocClipboardService']),_0x3d998f(0x1,_0x15eb4a['IImageIoService'])],_0x12a509);const _0x3ed6f0=[_0x4edbca(0x1ca),_0x4edbca(0x2a4),'green.600',_0x4edbca(0x2f3),_0x4edbca(0x250),_0x4edbca(0x1ea)];class _0x487110 extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(){const _0x1078b6=_0x4edbca;super(...arguments),_0x45f8a5(this,_0x1078b6(0x1f3),new Map()),_0x45f8a5(this,_0x1078b6(0x162),0x0);}[_0x4edbca(0x351)](_0x55ee68){const _0x1b9a44=_0x4edbca;if(this[_0x1b9a44(0x1f3)][_0x1b9a44(0x313)](_0x55ee68))return this['_assignedColors'][_0x1b9a44(0x176)](_0x55ee68);const _0x22b5e7=_0x3ed6f0[this[_0x1b9a44(0x162)]];return this[_0x1b9a44(0x162)]=(this['_colorIndex']+0x1)%_0x3ed6f0[_0x1b9a44(0x35f)],this[_0x1b9a44(0x1f3)][_0x1b9a44(0x23f)](_0x55ee68,_0x22b5e7),_0x22b5e7;}}function _0x409bf2(_0x2c1d55){const _0x464f69=_0x4edbca;let _0x4d893a='';for(const _0x60c3e9 of _0x2c1d55){const {startOffset:_0x92e22,endOffset:_0x1b28c7,isActive:_0x685b0a,rangeType:_0x3de78e,segmentId:_0x1f56b6,segmentPage:_0x35255e}=_0x60c3e9;_0x4d893a[_0x464f69(0x35f)]&&(_0x4d893a+=','),_0x4d893a+=_0x92e22+':'+_0x1b28c7+':'+(_0x685b0a?'1':'0')+':'+_0x3de78e+':'+_0x1f56b6+':'+_0x35255e;}return _0x4d893a;}function _0x315c12(_0x342611){const _0x41ac62=_0x4edbca,_0x38962b=_0x342611[_0x41ac62(0x212)](','),_0x162849=[];for(const _0xee69a2 of _0x38962b){const [_0x46a9a8,_0x3cd6ab,_0x3d22d5,_0x2cec39,_0x2a8598,_0x5a5fdc]=_0xee69a2[_0x41ac62(0x212)](':');_0x162849[_0x41ac62(0x26c)]({'startOffset':Number(_0x46a9a8),'endOffset':Number(_0x3cd6ab),'collapsed':_0x46a9a8===_0x3cd6ab,'isActive':_0x3d22d5==='1','rangeType':_0x2cec39===_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1ae)]?_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1ae)]:_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1db)],'segmentId':typeof _0x2a8598==_0x41ac62(0x264)?String(_0x2a8598):'','segmentPage':Number(_0x5a5fdc!=null?_0x5a5fdc:-0x1)});}return _0x162849[_0x41ac62(0x37d)](_0x1c2d0e=>_0x1c2d0e['isActive'])||(_0x162849[0x0][_0x41ac62(0x37b)]=!0x0),_0x162849;}class _0x1f70dd extends _0xffd2a8[_0x4edbca(0x393)]{constructor(){const _0x34c8e5=_0x4edbca;super(...arguments),_0x45f8a5(this,_0x34c8e5(0x2d3),new _0xde1ef0[(_0x34c8e5(0x2f7))](null)),_0x45f8a5(this,_0x34c8e5(0x33c),this[_0x34c8e5(0x2d3)][_0x34c8e5(0x33b)]());}['syncEditingCollabCursor'](_0x91993c){const _0x48d869=_0x4edbca,{unitID:_0x24a54a,memberID:_0x1be54d,textRanges:_0x33e66f}=_0x91993c,_0x402c87=_0x409bf2(_0x33e66f);if(_0x402c87==='')return;const _0x46f2a8={'unitID':_0x24a54a,'memberID':_0x1be54d,'selection':_0x402c87};this['_collabCursorState$'][_0x48d869(0x31b)](_0x46f2a8);}}var _0x522f9e=Object[_0x4edbca(0x304)],_0x4bdcf2=(_0xcd04b5,_0x1e96ca,_0x1ce2e9,_0x445cd3)=>{const _0x2c8b7c=_0x4edbca;for(var _0x6687a8=_0x445cd3>0x1?void 0x0:_0x445cd3?_0x522f9e(_0x1e96ca,_0x1ce2e9):_0x1e96ca,_0xccb176=_0xcd04b5[_0x2c8b7c(0x35f)]-0x1,_0xf11fe7;_0xccb176>=0x0;_0xccb176--)(_0xf11fe7=_0xcd04b5[_0xccb176])&&(_0x6687a8=_0xf11fe7(_0x6687a8)||_0x6687a8);return _0x6687a8;},_0x5d732b=(_0x5dfc74,_0x568b73)=>(_0x551d9e,_0x1bf508)=>_0x568b73(_0x551d9e,_0x1bf508,_0x5dfc74);const _0x1d3f36=0x12c,_0x3cfa22=0x64;let _0x22cec7=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x3d593a,_0x36cdb0,_0xac92b5,_0x1b216f,_0x4413c8,_0x3e938c,_0x5937b6,_0x3b6cdd,_0x176470){const _0x1108fb=_0x4edbca;super(),_0x45f8a5(this,_0x1108fb(0x3a1),!0x1),_0x45f8a5(this,_0x1108fb(0x3a5),!0x1),_0x45f8a5(this,_0x1108fb(0x37e),new _0xde1ef0[(_0x1108fb(0x2f7))](new Map())),_0x45f8a5(this,'cursorInfo$',this[_0x1108fb(0x37e)]['asObservable']()),_0x45f8a5(this,_0x1108fb(0x2c9),new _0xde1ef0[(_0x1108fb(0x2f7))]([])),_0x45f8a5(this,_0x1108fb(0x161),this['_roomMembers$'][_0x1108fb(0x1e6)](_0xde1ef0['debounceTime'](_0x1d3f36))),_0x45f8a5(this,_0x1108fb(0x266),_0xffd2a8[_0x1108fb(0x38e)](_0x2290f1=>{const _0x46e347=_0x1108fb,_0x65345b={'eventID':_0x3c67a0['CollaborationEvent'][_0x46e347(0x18f)],'data':{'unitID':this[_0x46e347(0x330)],'memberID':this[_0x46e347(0x29a)][_0x46e347(0x36d)](),'selection':_0x409bf2(_0x2290f1)}};this[_0x46e347(0x29a)]['send'](_0x65345b,this['unitID']);},_0x3cfa22)),(this[_0x1108fb(0x330)]=_0x3d593a,this[_0x1108fb(0x29a)]=_0x36cdb0,this[_0x1108fb(0x311)]=_0xac92b5,this[_0x1108fb(0x23e)]=_0x1b216f,this[_0x1108fb(0x3c7)]=_0x4413c8,this[_0x1108fb(0x2e6)]=_0x3e938c,this[_0x1108fb(0x2ce)]=_0x5937b6,this[_0x1108fb(0x1d5)]=_0x3b6cdd,this[_0x1108fb(0x2be)]=_0x176470);}get[_0x4edbca(0x2fd)](){const _0x23f832=_0x4edbca;return this[_0x23f832(0x37e)][_0x23f832(0x377)]();}get[_0x4edbca(0x16e)](){const _0xc85ae1=_0x4edbca;return this['_roomMembers$'][_0xc85ae1(0x377)]();}['dispose'](){const _0x56fccb=_0x4edbca;super[_0x56fccb(0x27a)](),this[_0x56fccb(0x37e)]['next'](new Map()),this[_0x56fccb(0x37e)][_0x56fccb(0x172)](),this[_0x56fccb(0x2c9)][_0x56fccb(0x31b)]([]),this[_0x56fccb(0x2c9)][_0x56fccb(0x172)]();}['init'](){const _0x1c8084=_0x4edbca;this[_0x1c8084(0x3a5)]||(this[_0x1c8084(0x3a5)]=!0x0,this[_0x1c8084(0x29a)]['sessionStatus$'][_0x1c8084(0x1e6)](_0xde1ef0['takeUntil'](this[_0x1c8084(0x2c0)]))[_0x1c8084(0x367)](_0x357316=>{const _0x24a521=_0x1c8084;_0x357316===_0x3df360[_0x24a521(0x190)][_0x24a521(0x39b)]?this[_0x24a521(0x223)]():this['_toggleOffline']();}),this[_0x1c8084(0x29a)][_0x1c8084(0x3bc)][_0x1c8084(0x1e6)](_0xde1ef0[_0x1c8084(0x3b6)](this['dispose$']))['subscribe'](_0x21163e=>{const _0x5cfac4=_0x1c8084,_0x88623=_0x21163e['eventID'];_0x88623===_0x3c67a0[_0x5cfac4(0x2c2)][_0x5cfac4(0x18f)]&&this[_0x5cfac4(0x1a9)](_0x21163e),_0x88623===_0x3c67a0[_0x5cfac4(0x2c2)]['USERS_LEAVE']&&this[_0x5cfac4(0x1a1)](_0x21163e);}),this['disposeWithMe'](this[_0x1c8084(0x2be)][_0x1c8084(0x1cb)](_0x1c45b1=>{const _0x5c1131=_0x1c8084,_0x28b789=_0x1c45b1[_0x5c1131(0x1da)];_0x28b789!=null&&this[_0x5c1131(0x3a1)]&&_0x1c45b1['id']===_0xc536cc['SetTextSelectionsOperation']['id']&&_0x28b789[_0x5c1131(0x331)]===this['unitID']&&_0x28b789[_0x5c1131(0x1c9)]===!0x1&&_0x28b789['ranges']['length']>0x0&&this[_0x5c1131(0x266)](_0x28b789['ranges']);})),this[_0x1c8084(0x2e6)]['collabCursorState$'][_0x1c8084(0x1e6)](_0xde1ef0['takeUntil'](this[_0x1c8084(0x2c0)]))['subscribe'](_0x436213=>{const _0x31e258=_0x1c8084;if((_0x436213==null?void 0x0:_0x436213[_0x31e258(0x330)])!==this['unitID'])return;const _0x437e75={'eventID':_0x3c67a0['CollaborationEvent'][_0x31e258(0x18f)],'data':_0x436213};this[_0x31e258(0x1a9)](_0x437e75);}),this['disposeWithMe'](this[_0x1c8084(0x2be)][_0x1c8084(0x1cb)](_0xb6b8b6=>{const _0x4000f7=_0x1c8084;if(_0xb6b8b6[_0x4000f7(0x1da)]==null)return;const _0x494249=_0xb6b8b6[_0x4000f7(0x1da)];if(_0xb6b8b6['id']!==_0xc536cc[_0x4000f7(0x293)]['id']||_0x494249[_0x4000f7(0x331)]!==this[_0x4000f7(0x330)])return;const _0x4234b3={'id':_0x4000f7(0x1fe),'params':_0x494249},_0x496f39=this[_0x4000f7(0x2fd)];for(const [_0x20d117,_0x38cf7c]of _0x496f39){const _0x230b28={'id':_0x4000f7(0x1fe),'params':{'unitId':this[_0x4000f7(0x330)],'actions':null,'textRanges':_0x38cf7c[_0x4000f7(0x291)]}},_0x3b589b=this[_0x4000f7(0x2ce)][_0x4000f7(0x2f4)](_0x4234b3,_0x230b28,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x3b589b))throw _0x3b589b['error'];_0x496f39[_0x4000f7(0x23f)](_0x20d117,{..._0x38cf7c,'ranges':_0x3b589b['m2Prime'][_0x4000f7(0x1da)]['textRanges']});}queueMicrotask(()=>{const _0x351242=_0x4000f7;this['_cursorInfo$'][_0x351242(0x31b)](_0x496f39);});})));}[_0x4edbca(0x1a9)](_0x246eb8){const _0x4e0537=_0x4edbca;var _0x209357,_0x16d8b0;const {memberID:_0x5a7556,selection:_0x248134}=_0x246eb8['data'],_0x5ec68e=_0x315c12(_0x248134),_0x334ced=(_0x16d8b0=(_0x209357=this[_0x4e0537(0x3c7)]['getMember'](this['unitID'],_0x5a7556))==null?void 0x0:_0x209357[_0x4e0537(0x2b0)])!=null?_0x16d8b0:'Unknown\x20user',_0x27bc83={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5a7556),'name':_0x334ced,'ranges':_0x5ec68e},_0x1ba98a=this[_0x4e0537(0x2fd)];_0x1ba98a[_0x4e0537(0x23f)](_0x5a7556,_0x27bc83),this['_cursorInfo$'][_0x4e0537(0x31b)](_0x1ba98a);}[_0x4edbca(0x1a1)](_0x442bc5){const _0x5dca30=_0x4edbca,{memberID:_0x5019ce}=_0x442bc5[_0x5dca30(0x376)],_0x21a681=this['cursorInfo'];_0x21a681[_0x5dca30(0x326)](_0x5019ce),this[_0x5dca30(0x37e)][_0x5dca30(0x31b)](_0x21a681);}[_0x4edbca(0x223)](){const _0x5da3c2=_0x4edbca;var _0x1988c8;if(this['_online']=!0x0,((_0x1988c8=this[_0x5da3c2(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x1988c8[_0x5da3c2(0x386)]())!==this[_0x5da3c2(0x330)])return;const _0x56280e=this['_injector'][_0x5da3c2(0x176)](_0xc536cc[_0x5da3c2(0x27d)])[_0x5da3c2(0x356)]();Array[_0x5da3c2(0x1f5)](_0x56280e)&&_0x56280e[_0x5da3c2(0x35f)]>0x0&&this[_0x5da3c2(0x266)](_0x56280e);}[_0x4edbca(0x2a2)](){const _0x634be8=_0x4edbca;this[_0x634be8(0x3a1)]=!0x1;}};_0x22cec7=_0x4bdcf2([_0x5d732b(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x5d732b(0x3,_0xffd2a8['Inject'](_0x487110)),_0x5d732b(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x3df360['MemberService'])),_0x5d732b(0x5,_0xffd2a8['Inject'](_0x1f70dd)),_0x5d732b(0x6,_0x3c67a0[_0x4edbca(0x17e)]),_0x5d732b(0x7,_0xffd2a8[_0x4edbca(0x2e2)]),_0x5d732b(0x8,_0xffd2a8[_0x4edbca(0x2cb)])],_0x22cec7);var _0x4441ac=Object[_0x4edbca(0x304)],_0x562d0f=(_0x6d34f2,_0x500142,_0x3f2a2f,_0x18a565)=>{const _0x178c02=_0x4edbca;for(var _0x53ce96=_0x18a565>0x1?void 0x0:_0x18a565?_0x4441ac(_0x500142,_0x3f2a2f):_0x500142,_0x16a007=_0x6d34f2[_0x178c02(0x35f)]-0x1,_0x5ee9c8;_0x16a007>=0x0;_0x16a007--)(_0x5ee9c8=_0x6d34f2[_0x16a007])&&(_0x53ce96=_0x5ee9c8(_0x53ce96)||_0x53ce96);return _0x53ce96;},_0x160410=(_0x32b4df,_0x2b83a9)=>(_0x52ebe0,_0x258272)=>_0x2b83a9(_0x52ebe0,_0x258272,_0x32b4df);const _0x158cec=0x12c,_0xbe72b=0x64,_0x3a6638=()=>{let _0x2f8c94=[],_0x15b514=!0x1;return _0x13e517=>{const _0x27f3fb=_0x3130;_0x2f8c94[_0x27f3fb(0x26c)](_0x13e517),_0x15b514||(_0x15b514=!0x0,setTimeout(()=>{const _0xae62d2=_0x27f3fb;_0x2f8c94[_0xae62d2(0x24c)](_0x24d608=>_0x24d608()),_0x2f8c94=[],_0x15b514=!0x1;}));};};let _0x4894d6=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x2d744d,_0x18622c,_0x207eee,_0x36d2d1,_0x2b64e9,_0x5c0232,_0xe7572c,_0x54f90e){const _0x3314d4=_0x4edbca;super(),_0x45f8a5(this,_0x3314d4(0x3a1),!0x1),_0x45f8a5(this,'_init',!0x1),_0x45f8a5(this,'_cursorInfo$',new _0xde1ef0[(_0x3314d4(0x2f7))](new Map())),_0x45f8a5(this,_0x3314d4(0x163),this['_cursorInfo$']['asObservable']()),_0x45f8a5(this,_0x3314d4(0x2c9),new _0xde1ef0[(_0x3314d4(0x2f7))]([])),_0x45f8a5(this,'roomMembers$',this[_0x3314d4(0x2c9)]['pipe'](_0xde1ef0[_0x3314d4(0x2c6)](_0x158cec))),_0x45f8a5(this,_0x3314d4(0x266),_0xffd2a8['debounce']((_0x40d62a,_0x132920)=>{const _0x28a8ce=_0x3314d4,_0x520176={'eventID':_0x3c67a0[_0x28a8ce(0x2c2)][_0x28a8ce(0x18f)],'data':{'unitID':this[_0x28a8ce(0x330)],'memberID':this['_session'][_0x28a8ce(0x36d)](),'selection':_0x26582d[_0x28a8ce(0x2bb)](_0x40d62a,_0x132920[_0x28a8ce(0x233)])}};this[_0x28a8ce(0x29a)][_0x28a8ce(0x211)](_0x520176,this['unitID']);},_0xbe72b)),(this[_0x3314d4(0x330)]=_0x2d744d,this[_0x3314d4(0x29a)]=_0x18622c,this[_0x3314d4(0x311)]=_0x207eee,this[_0x3314d4(0x23e)]=_0x36d2d1,this['_memberService']=_0x2b64e9,this[_0x3314d4(0x1d5)]=_0x5c0232,this[_0x3314d4(0x2be)]=_0xe7572c,this[_0x3314d4(0x1b2)]=_0x54f90e);}get[_0x4edbca(0x2fd)](){const _0x3c2a79=_0x4edbca;return this[_0x3c2a79(0x37e)][_0x3c2a79(0x377)]();}get[_0x4edbca(0x16e)](){const _0x519720=_0x4edbca;return this[_0x519720(0x2c9)][_0x519720(0x377)]();}[_0x4edbca(0x27a)](){const _0x236ff3=_0x4edbca;super[_0x236ff3(0x27a)](),this['_cursorInfo$'][_0x236ff3(0x31b)](new Map()),this[_0x236ff3(0x37e)][_0x236ff3(0x172)](),this[_0x236ff3(0x2c9)]['next']([]),this[_0x236ff3(0x2c9)][_0x236ff3(0x172)]();}[_0x4edbca(0x2c5)](){const _0x1f0574=_0x4edbca;this[_0x1f0574(0x3a5)]||(this[_0x1f0574(0x3a5)]=!0x0,this[_0x1f0574(0x29a)][_0x1f0574(0x26f)][_0x1f0574(0x1e6)](_0xde1ef0[_0x1f0574(0x3b6)](this[_0x1f0574(0x2c0)]))[_0x1f0574(0x367)](_0x357042=>{const _0x1fef66=_0x1f0574;_0x357042===_0x3df360[_0x1fef66(0x190)][_0x1fef66(0x39b)]?this[_0x1fef66(0x223)]():this[_0x1fef66(0x2a2)]();}),this[_0x1f0574(0x29a)]['event$']['pipe'](_0xde1ef0[_0x1f0574(0x3b6)](this[_0x1f0574(0x2c0)]))[_0x1f0574(0x367)](_0x340eb3=>{const _0x5dbc31=_0x1f0574,_0x56e793=_0x340eb3['eventID'];_0x56e793===_0x3c67a0['CollaborationEvent'][_0x5dbc31(0x18f)]&&this[_0x5dbc31(0x1a9)](_0x340eb3),_0x56e793===_0x3c67a0[_0x5dbc31(0x2c2)]['USERS_LEAVE']&&this[_0x5dbc31(0x1a1)](_0x340eb3);}),this[_0x1f0574(0x198)](),this[_0x1f0574(0x3b0)](this[_0x1f0574(0x2be)]['onCommandExecuted'](_0xc58666=>{const _0x1ead3e=_0x1f0574;if(this[_0x1ead3e(0x3a1)]&&_0xc58666['id']===_0x1e6254['SetSelectionsOperation']['id']&&_0xc58666[_0x1ead3e(0x1da)]['unitId']===this[_0x1ead3e(0x330)]){const _0x31de13=_0xc58666[_0x1ead3e(0x1da)];this[_0x1ead3e(0x266)](_0x31de13[_0x1ead3e(0x2e0)],_0x31de13[_0x1ead3e(0x378)][0x0]);}})));}[_0x4edbca(0x1a9)](_0x3dffb6){const _0x1f9c63=_0x4edbca;var _0x1a203c,_0x8384e4;const {memberID:_0xce0491,selection:_0x356e4f}=_0x3dffb6['data'],{sheetName:_0x1390e1,range:_0x227793}=_0x26582d[_0x1f9c63(0x340)](_0x356e4f),_0x26b630={'name':(_0x8384e4=(_0x1a203c=this[_0x1f9c63(0x3c7)]['getMember'](this[_0x1f9c63(0x330)],_0xce0491))==null?void 0x0:_0x1a203c[_0x1f9c63(0x2b0)])!=null?_0x8384e4:_0x1f9c63(0x1a4),'range':this[_0x1f9c63(0x2b5)](_0x1390e1,_0x227793),'sheetID':_0x1390e1,'color':this[_0x1f9c63(0x23e)]['assignAColorForMemberID'](_0xce0491),'selection':_0x356e4f},_0x1e247f=this['cursorInfo'];_0x1e247f[_0x1f9c63(0x23f)](_0xce0491,_0x26b630),this[_0x1f9c63(0x37e)][_0x1f9c63(0x31b)](_0x1e247f);}['_onCursorDelete'](_0x178f19){const _0x314b56=_0x4edbca,{memberID:_0x48bfb2}=_0x178f19['data'],_0x3520f4=this['cursorInfo'];_0x3520f4[_0x314b56(0x326)](_0x48bfb2),this['_cursorInfo$'][_0x314b56(0x31b)](_0x3520f4);}[_0x4edbca(0x2b5)](_0x23dbab,_0x2b8b89){const _0x3a334f=_0x4edbca;var _0x5d6006,_0x5f270e;const _0x221a13=(_0x5f270e=(_0x5d6006=this[_0x3a334f(0x1d5)][_0x3a334f(0x36c)](this[_0x3a334f(0x330)]))==null?void 0x0:_0x5d6006['getSheetBySheetId'](_0x23dbab))==null?void 0x0:_0x5f270e[_0x3a334f(0x281)]();return(_0x221a13==null?void 0x0:_0x221a13['find'](_0x6ade61=>_0xffd2a8[_0x3a334f(0x194)][_0x3a334f(0x3f0)](_0x6ade61,_0x2b8b89)))||_0x2b8b89;}[_0x4edbca(0x198)](){const _0x91283e=_0x4edbca,_0x25e3e=new _0xffd2a8[(_0x91283e(0x22e))](),_0x2df5ef=_0x3a6638(),_0x5d447a=()=>{const _0x74ad43=_0x91283e;_0x25e3e['dispose']();const _0x1098f7=(_0xd38b9f,_0x4e59d9,_0x5a1eb7,_0x4ae178)=>{const _0x46ed87=_0x3130;let _0x2d93ed=[];switch(_0xd38b9f['id']){case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x370)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x257)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['DeleteRangeMoveUpCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x28d)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x237)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x17c)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254['EffectRefRangId'][_0x46ed87(0x1e4)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1f4)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x328)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x20a)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254['EffectRefRangId']['InsertRowCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1cf)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['MoveRangeCommandId']:{_0x2d93ed=_0x1e6254['handleMoveRange'](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x301)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1c2)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['RemoveRowCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x2fc)](_0xd38b9f,_0x4ae178);break;}}const _0x117c6b=_0x1e6254[_0x46ed87(0x3d6)](_0x2d93ed,_0x4ae178),_0x589fa6=this[_0x46ed87(0x2fd)][_0x46ed87(0x176)](_0x4e59d9);if(_0x589fa6&&_0x117c6b){const _0x5588ad={..._0x589fa6,'range':_0x117c6b};this[_0x46ed87(0x2fd)][_0x46ed87(0x23f)](_0x4e59d9,_0x5588ad),_0x2df5ef(()=>{const _0x581438=_0x46ed87,_0x1e4e64=this[_0x581438(0x1b2)][_0x581438(0x20c)](_0x117c6b,_0x1294b2=>(_0x1e4e64[_0x581438(0x27a)](),_0x1098f7(_0x1294b2,_0x4e59d9,_0x5a1eb7,_0x117c6b)));_0x25e3e['add'](_0x1e4e64);});}return{'redos':[],'undos':[]};};this[_0x74ad43(0x2fd)][_0x74ad43(0x24c)]((_0x4eca67,_0x5d39ab)=>{const _0x43805a=_0x74ad43,{range:_0x331884,sheetID:_0x35c4ce}=_0x4eca67,_0x313f74=this[_0x43805a(0x1b2)][_0x43805a(0x20c)](_0x331884,_0x7d94b2=>(_0x313f74['dispose'](),_0x1098f7(_0x7d94b2,_0x5d39ab,_0x35c4ce,_0x331884)));_0x25e3e[_0x43805a(0x1d9)](_0x313f74);});};this[_0x91283e(0x3b0)](_0xffd2a8[_0x91283e(0x19b)](this[_0x91283e(0x37e)][_0x91283e(0x367)](()=>{_0x5d447a();})));}['_toggleOnline'](){const _0x1de5be=_0x4edbca;var _0x2be402,_0x3155a2;if(this[_0x1de5be(0x3a1)]=!0x0,((_0x2be402=this['_univerInstanceService'][_0x1de5be(0x199)]())==null?void 0x0:_0x2be402[_0x1de5be(0x386)]())!==this[_0x1de5be(0x330)])return;const _0x38e6d8=(_0x3155a2=this['_injector']['get'](_0x1e6254[_0x1de5be(0x16b)])[_0x1de5be(0x29d)]())==null?void 0x0:_0x3155a2[0x0],_0x3751c9=this[_0x1de5be(0x1d5)][_0x1de5be(0x3bb)](_0xffd2a8[_0x1de5be(0x3a3)][_0x1de5be(0x193)])[_0x1de5be(0x3c9)]();_0x38e6d8&&_0x3751c9&&this['_updateLocalCursor'](_0x3751c9[_0x1de5be(0x31a)](),_0x38e6d8);}[_0x4edbca(0x2a2)](){const _0x2d0a6c=_0x4edbca;this[_0x2d0a6c(0x3a1)]=!0x1;}};_0x4894d6=_0x562d0f([_0x160410(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x160410(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x487110)),_0x160410(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x286)])),_0x160410(0x5,_0xffd2a8[_0x4edbca(0x2e2)]),_0x160410(0x6,_0xffd2a8['ICommandService']),_0x160410(0x7,_0xffd2a8['Inject'](_0x1e6254[_0x4edbca(0x1c5)]))],_0x4894d6);var _0x463498=Object[_0x4edbca(0x304)],_0x2564e3=(_0x8a6361,_0xe49553,_0x1d87cd,_0x44348f)=>{const _0x3cef5c=_0x4edbca;for(var _0x39730f=_0x44348f>0x1?void 0x0:_0x44348f?_0x463498(_0xe49553,_0x1d87cd):_0xe49553,_0x149ba4=_0x8a6361[_0x3cef5c(0x35f)]-0x1,_0x1637fc;_0x149ba4>=0x0;_0x149ba4--)(_0x1637fc=_0x8a6361[_0x149ba4])&&(_0x39730f=_0x1637fc(_0x39730f)||_0x39730f);return _0x39730f;},_0x4c2a60=(_0xc757e3,_0x2c0f50)=>(_0xdca316,_0x4a7bba)=>_0x2c0f50(_0xdca316,_0x4a7bba,_0xc757e3);let _0x543db2=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x1441c5,_0x3fce86,_0x531e72){const _0x43c37a=_0x4edbca;super(),_0x45f8a5(this,_0x43c37a(0x2e5),new Map()),_0x45f8a5(this,'_entityInit$',new _0xde1ef0['Subject']()),(this['_univerInstanceService']=_0x1441c5,this[_0x43c37a(0x311)]=_0x3fce86,this[_0x43c37a(0x379)]=_0x531e72,this[_0x43c37a(0x3a5)]());}[_0x4edbca(0x27a)](){const _0x5220fd=_0x4edbca;super[_0x5220fd(0x27a)](),this[_0x5220fd(0x17a)][_0x5220fd(0x172)](),this[_0x5220fd(0x2e5)][_0x5220fd(0x24c)](_0x23e626=>_0x23e626[_0x5220fd(0x27a)]());}['getCollabCursors$'](_0x2ea1b1){const _0x1382c8=_0x4edbca;return this[_0x1382c8(0x2e5)][_0x1382c8(0x313)](_0x2ea1b1)?this['_entities']['get'](_0x2ea1b1)[_0x1382c8(0x163)]:this['_entityInit$'][_0x1382c8(0x1e6)](_0xde1ef0[_0x1382c8(0x1b4)](_0x53e0a5=>_0x53e0a5[_0x1382c8(0x330)]===_0x2ea1b1),_0xde1ef0[_0x1382c8(0x2a0)](_0x4a4047=>_0x4a4047['cursorInfo$']));}[_0x4edbca(0x3a5)](){const _0x183f95=_0x4edbca;this['_univerInstanceService'][_0x183f95(0x21f)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x193)])[_0x183f95(0x1e6)](_0xde1ef0[_0x183f95(0x3b6)](this['dispose$']))['subscribe'](async _0x1ddbce=>{const _0x3c473a=_0x183f95,_0x183624=_0x1ddbce[_0x3c473a(0x386)](),_0x336338=await this['_startSheetCollabCursor'](_0x183624);this[_0x3c473a(0x17a)][_0x3c473a(0x31b)](_0x336338),this[_0x3c473a(0x2e5)][_0x3c473a(0x23f)](_0x183624,_0x336338);}),this[_0x183f95(0x1d5)][_0x183f95(0x21f)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x38a)])['pipe'](_0xde1ef0[_0x183f95(0x3b6)](this[_0x183f95(0x2c0)]))[_0x183f95(0x1e6)](_0xde1ef0[_0x183f95(0x1b4)](_0x25f39c=>!_0x25f39c[_0x183f95(0x386)]()[_0x183f95(0x17f)]('__')))[_0x183f95(0x367)](async _0x1ed78d=>{const _0x3b4fb1=_0x183f95,_0x32cd06=_0x1ed78d[_0x3b4fb1(0x386)](),_0x4ab595=await this[_0x3b4fb1(0x16d)](_0x32cd06);this['_entityInit$'][_0x3b4fb1(0x31b)](_0x4ab595),this[_0x3b4fb1(0x2e5)][_0x3b4fb1(0x23f)](_0x32cd06,_0x4ab595);}),_0xde1ef0[_0x183f95(0x362)](this['_univerInstanceService'][_0x183f95(0x2d9)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x38a)]),this['_univerInstanceService'][_0x183f95(0x2d9)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x193)]))[_0x183f95(0x1e6)](_0xde1ef0['takeUntil'](this[_0x183f95(0x2c0)]))[_0x183f95(0x367)](_0x24f8d8=>{const _0x30af98=_0x183f95,_0x392e0d=_0x24f8d8[_0x30af98(0x386)](),_0x3c9640=this[_0x30af98(0x2e5)][_0x30af98(0x176)](_0x392e0d);_0x3c9640&&(_0x3c9640[_0x30af98(0x27a)](),this[_0x30af98(0x2e5)][_0x30af98(0x326)](_0x392e0d));});}async['_startSheetCollabCursor'](_0x4ecb75){const _0x21202d=_0x4edbca,_0x501ae2=await this['_collabSessionService'][_0x21202d(0x320)](_0x4ecb75),_0xde4ac1=this[_0x21202d(0x311)]['createInstance'](_0x4894d6,_0x4ecb75,_0x501ae2);return _0xde4ac1[_0x21202d(0x2c5)](),_0xde4ac1;}async[_0x4edbca(0x16d)](_0x124bbe){const _0x2f2fc7=_0x4edbca,_0x4cffb7=await this['_collabSessionService'][_0x2f2fc7(0x320)](_0x124bbe),_0x5148b1=this[_0x2f2fc7(0x311)][_0x2f2fc7(0x1bd)](_0x22cec7,_0x124bbe,_0x4cffb7);return _0x5148b1[_0x2f2fc7(0x2c5)](),_0x5148b1;}};_0x543db2=_0x2564e3([_0x4c2a60(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x4c2a60(0x1,_0xffd2a8['Inject'](_0xffd2a8[_0x4edbca(0x2f1)])),_0x4c2a60(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x2b8)]))],_0x543db2);const _0x2defab=0x14,_0x14a8a7=0xc8,_0x1f7525=0x4,_0x5252fb=0x5;function _0x2df765(_0x1c489a,_0x5074fd){const _0xd0e2b1=_0x4edbca;let {radius:_0x23a089,width:_0x312211,height:_0x1520cc}=_0x5074fd;_0x23a089=_0x23a089!=null?_0x23a089:0x0,_0x312211=_0x312211!=null?_0x312211:0x1e,_0x1520cc=_0x1520cc!=null?_0x1520cc:0x1e;let _0x519378=0x0,_0x1dc1ae=0x0,_0x2efb17=0x0;_0x519378=_0x1dc1ae=_0x2efb17=Math[_0xd0e2b1(0x37c)](_0x23a089,_0x312211/0x2,_0x1520cc/0x2),_0x1c489a[_0xd0e2b1(0x3c0)](),_0x1c489a[_0xd0e2b1(0x3ab)](_0x519378,0x0),_0x1c489a['lineTo'](_0x312211-_0x1dc1ae,0x0),_0x1c489a[_0xd0e2b1(0x279)](_0x312211-_0x1dc1ae,_0x1dc1ae,_0x1dc1ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c489a['lineTo'](_0x312211,_0x1520cc-_0x2efb17),_0x1c489a['arc'](_0x312211-_0x2efb17,_0x1520cc-_0x2efb17,_0x2efb17,0x0,Math['PI']/0x2,!0x1),_0x1c489a[_0xd0e2b1(0x19f)](0x0,_0x1520cc),_0x1c489a['lineTo'](0x0,_0x519378),_0x1c489a[_0xd0e2b1(0x279)](_0x519378,_0x519378,_0x519378,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c489a[_0xd0e2b1(0x15d)](),_0x5074fd['fill']&&(_0x1c489a[_0xd0e2b1(0x174)](),_0x1c489a['fillStyle']=_0x5074fd[_0xd0e2b1(0x343)],_0x5074fd[_0xd0e2b1(0x232)]==='evenodd'?_0x1c489a[_0xd0e2b1(0x343)](_0xd0e2b1(0x2fe)):_0x1c489a['fill'](),_0x1c489a[_0xd0e2b1(0x158)]());}class _0x1ce383 extends _0x365d9c['Shape']{constructor(_0x4f3257,_0x4a35ec){const _0x588221=_0x4edbca;super(_0x4f3257,_0x4a35ec),_0x45f8a5(this,_0x588221(0x1f9)),_0x45f8a5(this,'text'),(this['color']=_0x4a35ec==null?void 0x0:_0x4a35ec[_0x588221(0x1f9)],this[_0x588221(0x21a)]=_0x4a35ec==null?void 0x0:_0x4a35ec[_0x588221(0x21a)]);}static[_0x4edbca(0x26b)](_0xa0ec95,_0x14fada){const _0xc4579c=_0x4edbca,{text:_0x1eb23c,color:_0x564887}=_0x14fada;_0xa0ec95[_0xc4579c(0x174)](),_0xa0ec95['font']=_0xc4579c(0x3f3);const _0x3bf80e=_0xa0ec95[_0xc4579c(0x1d3)](_0x1eb23c)[_0xc4579c(0x39c)],_0x5769da=Math[_0xc4579c(0x37c)](_0x3bf80e+0x2*_0x1f7525,_0x14a8a7);_0x2df765(_0xa0ec95,{'height':_0x2defab,'radius':0x4,'width':_0x5769da,'fill':_0x564887}),_0xa0ec95[_0xc4579c(0x3de)]=_0xc4579c(0x2e3);const _0x466aa5=_0x1f7525,_0x74f6ae=_0x2defab-_0x5252fb,_0x4adac9=_0x14a8a7-0x2*_0x1f7525;if(_0x3bf80e>_0x4adac9){let _0x35a3ef='',_0x2066e2=0x0;for(const _0x48e27b of _0x1eb23c){const _0x4588ff=_0xa0ec95[_0xc4579c(0x1d3)](_0x48e27b)[_0xc4579c(0x39c)];if(_0x2066e2+_0x4588ff<=_0x4adac9-_0xa0ec95[_0xc4579c(0x1d3)](_0xc4579c(0x1e2))[_0xc4579c(0x39c)])_0x35a3ef+=_0x48e27b,_0x2066e2+=_0x4588ff;else{_0x35a3ef+='...';break;}}_0xa0ec95['fillText'](_0x35a3ef,_0x466aa5,_0x74f6ae);}else _0xa0ec95[_0xc4579c(0x1c8)](_0x1eb23c,_0x466aa5,_0x74f6ae);_0xa0ec95[_0xc4579c(0x158)]();}[_0x4edbca(0x35b)](_0x5debb4){const _0x819a5c=_0x4edbca;_0x1ce383[_0x819a5c(0x26b)](_0x5debb4,this);}}const _0x1f35a2=_0x4edbca(0x1b8),_0x1a538d=_0x4edbca(0x2cc),_0x20d61d='collab-rect-range-',_0x4c2fda=0x6,_0x27df58=1.5,_0x369d53=0x4,_0x1711c0=1.5,_0xe8f94d=_0x4edbca(0x32b);class _0x15ad76{constructor(_0x205d9e,_0x211d23,_0x5cdfaf,_0x311e67){const _0x5cc1e2=_0x4edbca;_0x45f8a5(this,_0x5cc1e2(0x1b9),[]),_0x45f8a5(this,_0x5cc1e2(0x3cc),null),_0x45f8a5(this,_0x5cc1e2(0x1e1),null),_0x45f8a5(this,'_anchorDot',null),_0x45f8a5(this,_0x5cc1e2(0x181),null),_0x45f8a5(this,_0x5cc1e2(0x25c),null),(this['_cursor']=_0x205d9e,this['_scene']=_0x211d23,this[_0x5cc1e2(0x391)]=_0x5cdfaf,this['_document']=_0x311e67,this[_0x5cc1e2(0x1bf)]());}set['_hover'](_0x470964){const _0x5eb065=_0x4edbca;_0x470964?(this[_0x5eb065(0x22f)]&&this['_anchorDot'][_0x5eb065(0x32f)](),this['_textBubble']&&this[_0x5eb065(0x1e1)][_0x5eb065(0x369)]()):(this[_0x5eb065(0x22f)]&&this[_0x5eb065(0x22f)][_0x5eb065(0x369)](),this['_textBubble']&&this[_0x5eb065(0x1e1)]['hide']());}[_0x4edbca(0x27a)](){const _0xe119ee=_0x4edbca;for(const _0x5dbfd6 of this[_0xe119ee(0x1b9)])_0x5dbfd6['dispose']();this[_0xe119ee(0x1e1)]&&this['_textBubble'][_0xe119ee(0x27a)](),this[_0xe119ee(0x22f)]&&this[_0xe119ee(0x22f)]['dispose'](),this[_0xe119ee(0x3cc)]&&this[_0xe119ee(0x3cc)]['dispose'](),this['_eventUnsubscribe']&&this[_0xe119ee(0x25c)]();}[_0x4edbca(0x1bf)](){const _0x15f4a9=_0x4edbca;var _0x51aff8;const {_docSkeleton:_0x44b39e,_document:_0x139b22}=this,{color:_0x651865,name:_0x49b0e6,ranges:_0x134835}=this['_cursor'],_0x5b9dea=_0x139b22[_0x15f4a9(0x32e)](),{docsLeft:_0x1532bc,docsTop:_0x494904}=_0x5b9dea,_0x1d80cf=new _0x2992e3['NodePositionConvertToCursor'](_0x5b9dea,_0x44b39e);for(const {startOffset:_0x4c0140,endOffset:_0x207ef6,rangeType:_0x190feb,segmentId:_0x2c7d99,segmentPage:_0x3ea7c8,collapsed:_0x18f86b,isActive:_0x247442}of _0x134835){const _0x965957=_0x44b39e['findNodePositionByCharIndex'](_0x4c0140,!0x0,_0x2c7d99,_0x3ea7c8);let _0x46ba41=_0x44b39e[_0x15f4a9(0x1d0)](_0x207ef6,!0x0,_0x2c7d99,_0x3ea7c8);if(_0x46ba41==null&&(_0x46ba41=_0x44b39e[_0x15f4a9(0x1d0)](_0x207ef6-0x1,!0x1,_0x2c7d99,_0x3ea7c8)),_0x247442){const {contentBoxPointGroup:_0x7c24e1}=_0x1d80cf[_0x15f4a9(0x2d7)](_0x46ba41,_0x46ba41);if(_0x7c24e1['length']===0x0)continue;this[_0x15f4a9(0x2f2)](_0x651865,_0x7c24e1,_0x1532bc,_0x494904,_0x49b0e6),this[_0x15f4a9(0x25c)]=this[_0x15f4a9(0x3ea)]();}if(_0x965957&&_0x46ba41){if(_0x190feb===_0xffd2a8[_0x15f4a9(0x2ba)]['RECT']){const _0x5a0b62=new _0x2992e3[(_0x15f4a9(0x3e6))](_0x5b9dea,_0x44b39e),{pointGroup:_0x228965}=(_0x51aff8=_0x5a0b62[_0x15f4a9(0x2d7)](_0x965957,_0x46ba41))!=null?_0x51aff8:{};if(_0x228965==null||_0x228965['length']===0x0)continue;this[_0x15f4a9(0x273)](_0x651865,_0x228965,_0x1532bc,_0x494904);}else{if(!_0x18f86b){const {borderBoxPointGroup:_0xbfceec}=_0x1d80cf[_0x15f4a9(0x2d7)](_0x965957,_0x46ba41);if(_0xbfceec['length']===0x0)continue;this['_drawTextRange'](_0x651865,_0xbfceec,_0x1532bc,_0x494904);}}}}}[_0x4edbca(0x2f2)](_0x4617ff,_0xf50354,_0x44cfad,_0x416076,_0x22d6fc){const _0x2fcaf4=_0x4edbca,_0x1e5e7d=this[_0x2fcaf4(0x3cd)](_0xf50354),{left:_0x5af03f,top:_0x2ba7c0,height:_0x17431d}=_0x1e5e7d,_0x394826=this[_0x2fcaf4(0x2a5)](),_0x3fddfd=_0x1711c0/_0x394826,_0x2804fa=new _0x365d9c[(_0x2fcaf4(0x271))](_0x1f35a2+_0xffd2a8['Tools'][_0x2fcaf4(0x34f)](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076,'height':_0x17431d,'width':_0x27df58,'fill':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8[_0x2fcaf4(0x357)][_0x2fcaf4(0x395)],0x0),'strokeWidth':_0x3fddfd,'stroke':_0xe8f94d,'evented':!0x0});this[_0x2fcaf4(0x3cc)]=_0x2804fa,this['_scene']['addObject'](_0x2804fa,_0x2992e3[_0x2fcaf4(0x2c7)]);const _0x2801e5=new _0x365d9c['Rect'](_0x1f35a2+_0xffd2a8[_0x2fcaf4(0x1e9)][_0x2fcaf4(0x34f)](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076-_0x369d53/0x2,'height':_0x369d53,'width':_0x369d53,'fill':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8['COLORS'][_0x2fcaf4(0x395)],0x0),'evented':!0x1});this[_0x2fcaf4(0x22f)]=_0x2801e5,this[_0x2fcaf4(0x306)][_0x2fcaf4(0x2c4)](_0x2801e5,_0x2992e3[_0x2fcaf4(0x2c7)]);const _0xbe9958=new _0x1ce383(_0x1f35a2+_0xffd2a8[_0x2fcaf4(0x1e9)]['generateRandomId'](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076-_0x2defab,'text':_0x22d6fc,'color':_0x4617ff});this['_textBubble']=_0xbe9958,this[_0x2fcaf4(0x306)][_0x2fcaf4(0x2c4)](_0xbe9958,_0x2992e3[_0x2fcaf4(0x2c7)]),this['_hover']=!0x1;}[_0x4edbca(0x3ea)](){const _0x415ccd=_0x4edbca,_0x462c02=this[_0x415ccd(0x3cc)][_0x415ccd(0x1f2)][_0x415ccd(0x39e)](()=>{const _0x28f054=_0x415ccd;this[_0x28f054(0x224)]=!0x0;}),_0x525e4d=this[_0x415ccd(0x3cc)][_0x415ccd(0x1a5)]['subscribeEvent'](()=>{const _0x381470=_0x415ccd;this[_0x381470(0x181)]&&clearTimeout(this[_0x381470(0x181)]),this['_hideTimer']=setTimeout(()=>{const _0x45433f=_0x381470;this[_0x45433f(0x224)]=!0x1;},0x7d0);});return()=>{const _0x5c033a=_0x415ccd;_0x462c02[_0x5c033a(0x21b)](),_0x525e4d[_0x5c033a(0x21b)]();};}[_0x4edbca(0x1c4)](_0x2ffabf,_0x4b1c29,_0x401f08,_0x233772){const _0x210eda=_0x4edbca,_0x1d6897=new _0xffd2a8[(_0x210eda(0x221))](_0x2ffabf)[_0x210eda(0x3cf)](0.2)[_0x210eda(0x353)](),_0x2fb977=new _0x365d9c[(_0x210eda(0x2f6))](_0x1a538d+_0xffd2a8[_0x210eda(0x1e9)][_0x210eda(0x34f)](_0x4c2fda),{'pointsGroup':_0x4b1c29,'fill':_0x1d6897||_0x365d9c[_0x210eda(0x15e)](_0xffd2a8[_0x210eda(0x357)][_0x210eda(0x395)],0.2),'left':_0x401f08,'top':_0x233772,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x210eda(0x1b9)][_0x210eda(0x26c)](_0x2fb977),this[_0x210eda(0x306)][_0x210eda(0x2c4)](_0x2fb977,_0x2992e3[_0x210eda(0x2c7)]);}['_drawRectRange'](_0x4ae8db,_0x23e256,_0x545708,_0x214b2d){const _0xc236c5=_0x4edbca,_0x5d700e=new _0xffd2a8[(_0xc236c5(0x221))](_0x4ae8db)[_0xc236c5(0x3cf)](0.2)['toRgbString'](),_0x1030c6=new _0x365d9c[(_0xc236c5(0x2f6))](_0x20d61d+_0xffd2a8[_0xc236c5(0x1e9)][_0xc236c5(0x34f)](_0x4c2fda),{'pointsGroup':_0x23e256,'fill':_0x5d700e||_0x365d9c['getColor'](_0xffd2a8[_0xc236c5(0x357)][_0xc236c5(0x395)],0.2),'left':_0x545708,'top':_0x214b2d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc236c5(0x1b9)][_0xc236c5(0x26c)](_0x1030c6),this[_0xc236c5(0x306)][_0xc236c5(0x2c4)](_0x1030c6,_0x2992e3[_0xc236c5(0x2c7)]);}[_0x4edbca(0x3cd)](_0x3ec930){const _0x6964d5=_0x3ec930[0x0],_0x4ea78a=_0x6964d5[0x0],_0x177aa2=_0x6964d5[0x2],{x:_0x5ede1e,y:_0x2cfa8a}=_0x4ea78a,{x:_0x188111,y:_0x103242}=_0x177aa2;return{'left':_0x5ede1e,'top':_0x2cfa8a,'width':_0x188111-_0x5ede1e,'height':_0x103242-_0x2cfa8a};}[_0x4edbca(0x2a5)](){const _0x1a9f76=_0x4edbca,{scaleX:_0xbdb3c6,scaleY:_0x20c66a}=this[_0x1a9f76(0x306)][_0x1a9f76(0x3eb)]();return Math[_0x1a9f76(0x332)](_0xbdb3c6,_0x20c66a);}}var _0x26b931=Object[_0x4edbca(0x304)],_0x899c8a=(_0x4139d6,_0x34e731,_0x3fad97,_0x5cffc1)=>{const _0x5cb31e=_0x4edbca;for(var _0x203217=_0x5cffc1>0x1?void 0x0:_0x5cffc1?_0x26b931(_0x34e731,_0x3fad97):_0x34e731,_0x37d37b=_0x4139d6[_0x5cb31e(0x35f)]-0x1,_0x1ce5d1;_0x37d37b>=0x0;_0x37d37b--)(_0x1ce5d1=_0x4139d6[_0x37d37b])&&(_0x203217=_0x1ce5d1(_0x203217)||_0x203217);return _0x203217;},_0x36e29f=(_0x279fa9,_0x35dbf3)=>(_0x2a76a8,_0x45f79b)=>_0x35dbf3(_0x2a76a8,_0x45f79b,_0x279fa9);let _0x447168=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x5ed253,_0x159f90,_0x4f29f8,_0x25a712,_0x55bbe9){const _0x1a4b91=_0x4edbca;super(),_0x45f8a5(this,'_cursorShapes',[]),_0x45f8a5(this,_0x1a4b91(0x1d4),[]),(this[_0x1a4b91(0x1e7)]=_0x5ed253,this[_0x1a4b91(0x3bd)]=_0x159f90,this['_collabCursorController']=_0x4f29f8,this[_0x1a4b91(0x2be)]=_0x25a712,this[_0x1a4b91(0x3aa)]=_0x55bbe9,this[_0x1a4b91(0x3a5)]());}['_init'](){const _0x58d095=_0x4edbca,_0x35dc0b=this[_0x58d095(0x1e7)]['unitId'],_0x2aaa2c=this[_0x58d095(0x3bd)];this[_0x58d095(0x3b0)](_0xde1ef0[_0x58d095(0x276)]([this[_0x58d095(0x1df)][_0x58d095(0x1ce)](_0x35dc0b),this[_0x58d095(0x3aa)][_0x58d095(0x396)]])[_0x58d095(0x1e6)](_0x25274c[_0x58d095(0x381)](([_0x424df2,_0x11a092])=>({'skeleton':_0x2aaa2c[_0x58d095(0x371)](),'cursors':[..._0x424df2['values']()][_0x58d095(0x3e1)](_0x2dcb82=>({..._0x2dcb82,'color':this[_0x58d095(0x3aa)][_0x58d095(0x3e9)](_0x2dcb82['color'])}))})))[_0x58d095(0x367)](_0x4d05dc=>{const _0x33ae4d=_0x58d095;if(this[_0x33ae4d(0x3d1)](),_0x4d05dc){const {skeleton:_0x1aacff,cursors:_0x5a14fa}=_0x4d05dc;this['_updateCollabCursors'](_0x1aacff,_0x5a14fa);}})),this['_initResize'](),this[_0x58d095(0x38b)]();}[_0x4edbca(0x364)](_0x2c10fe,_0x48e3a2){const _0x358965=_0x4edbca,{scene:_0x36d99a,mainComponent:_0x4491cb}=this[_0x358965(0x1e7)],_0x5ceda9=_0x48e3a2[_0x358965(0x381)](_0x1bbee1=>new _0x15ad76(_0x1bbee1,_0x36d99a,_0x2c10fe,_0x4491cb));this['_cursorShapes']=_0x5ceda9,this[_0x358965(0x1d4)]=_0x48e3a2;}['_refreshCollabCursors'](){const _0x3795f7=_0x4edbca;this['_removeCollabCursors']();const {scene:_0x2c0662,mainComponent:_0x2096c6}=this['_context'],_0x49f83e=this[_0x3795f7(0x3bd)][_0x3795f7(0x371)](),_0x4e29c5=this['_cursors'][_0x3795f7(0x381)](_0x141472=>new _0x15ad76(_0x141472,_0x2c0662,_0x49f83e,_0x2096c6));this[_0x3795f7(0x20f)]=_0x4e29c5;}[_0x4edbca(0x3d1)](){const _0x32de81=_0x4edbca;this['_cursorShapes'][_0x32de81(0x24c)](_0x44c6b5=>_0x44c6b5[_0x32de81(0x27a)]()),this[_0x32de81(0x20f)]=[];}['_initCommandExecutedListener'](){const _0x1b1ffa=_0x4edbca,_0x1d4dd4=[_0x2992e3[_0x1b1ffa(0x2f5)]['id']];this[_0x1b1ffa(0x3b0)](this[_0x1b1ffa(0x2be)][_0x1b1ffa(0x1cb)](_0x21f036=>{const _0x8607b3=_0x1b1ffa;_0x1d4dd4[_0x8607b3(0x23c)](_0x21f036['id'])&&_0x21f036[_0x8607b3(0x1da)][_0x8607b3(0x331)]===this['_context'][_0x8607b3(0x331)]&&this['_refreshCollabCursors']();}));}[_0x4edbca(0x1a2)](){const _0x3c6f64=_0x4edbca;this[_0x3c6f64(0x3b0)](_0xffd2a8[_0x3c6f64(0x2b4)](this[_0x3c6f64(0x1e7)][_0x3c6f64(0x1ff)][_0x3c6f64(0x1fb)])[_0x3c6f64(0x1e6)](_0x25274c[_0x3c6f64(0x1b4)](_0x14d88d=>_0x14d88d[_0x3c6f64(0x238)]===_0x365d9c[_0x3c6f64(0x358)]['resize']),_0x25274c['throttleTime'](0x10))[_0x3c6f64(0x367)](()=>{this['_refreshCollabCursors']();}));}};_0x447168=_0x899c8a([_0x36e29f(0x1,_0xffd2a8[_0x4edbca(0x220)](_0xc536cc[_0x4edbca(0x20e)])),_0x36e29f(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x543db2)),_0x36e29f(0x3,_0xffd2a8[_0x4edbca(0x2cb)]),_0x36e29f(0x4,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x251)]))],_0x447168);const _0x4a455a=0x1,_0x3147d2=1.5;class _0x5370c7 extends _0x365d9c['Shape']{constructor(_0x3e3d41,_0x412a05){const _0x301a4d=_0x4edbca;super(_0x3e3d41,_0x412a05),_0x45f8a5(this,_0x301a4d(0x1b6)),_0x45f8a5(this,_0x301a4d(0x3d3),!0x1),_0x45f8a5(this,_0x301a4d(0x333)),_0x45f8a5(this,'_name',''),_0x45f8a5(this,_0x301a4d(0x2b9),_0x301a4d(0x2e9)),_0x45f8a5(this,_0x301a4d(0x2bf)),(_0x412a05&&this['setShapeProps'](_0x412a05),this[_0x301a4d(0x1f2)][_0x301a4d(0x39e)](()=>this[_0x301a4d(0x2ec)]({'hovered':!0x0})),this[_0x301a4d(0x1a5)][_0x301a4d(0x39e)](()=>this[_0x301a4d(0x2ec)]({'hovered':!0x1})));}[_0x4edbca(0x2ec)](_0x41c27c){const _0x53b603=_0x4edbca;var _0x94225c,_0x44ee33,_0x5bfc9c,_0x2881c6,_0xed24b9,_0xfa553a;this[_0x53b603(0x1b6)]=(_0x94225c=_0x41c27c[_0x53b603(0x1f9)])!=null?_0x94225c:this[_0x53b603(0x1b6)],this['_hovered']=(_0x44ee33=_0x41c27c[_0x53b603(0x34e)])!=null?_0x44ee33:this[_0x53b603(0x3d3)],this[_0x53b603(0x333)]=(_0x5bfc9c=_0x41c27c[_0x53b603(0x233)])!=null?_0x5bfc9c:this['_range'],this[_0x53b603(0x288)]=(_0x2881c6=_0x41c27c[_0x53b603(0x2b0)])!=null?_0x2881c6:this[_0x53b603(0x288)],this[_0x53b603(0x2b9)]=(_0xed24b9=_0x41c27c[_0x53b603(0x30c)])!=null?_0xed24b9:this[_0x53b603(0x2b9)],this[_0x53b603(0x2bf)]=(_0xfa553a=_0x41c27c[_0x53b603(0x1a8)])!=null?_0xfa553a:this[_0x53b603(0x2bf)],this[_0x53b603(0x1c7)]({'width':_0x41c27c[_0x53b603(0x39c)],'height':_0x41c27c['height']});}[_0x4edbca(0x179)](_0x59c664){const _0x29ec3d=_0x4edbca,{row:_0x20dc3e,column:_0x282f45}=_0x59c664;if(_0x20dc3e>=this[_0x29ec3d(0x333)][_0x29ec3d(0x20b)]&&_0x20dc3e<=this[_0x29ec3d(0x333)]['endRow']&&_0x282f45>=this['_range'][_0x29ec3d(0x260)]&&_0x282f45<=this[_0x29ec3d(0x333)]['endColumn']){this[_0x29ec3d(0x2ec)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4edbca(0x300)](_0x45aa34){return!0x1;}['_draw'](_0x18c915){const _0x434de5=_0x4edbca;_0x365d9c['Rect']['drawWith'](_0x18c915,{'width':this['width'],'height':this[_0x434de5(0x345)],'strokeWidth':_0x3147d2,'stroke':this[_0x434de5(0x1b6)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x434de5(0x3d3)]&&(_0x18c915[_0x434de5(0x174)](),_0x18c915[_0x434de5(0x2bd)](0x1,0x0,0x0,0x1,this[_0x434de5(0x39c)],this[_0x434de5(0x2b9)]==='bottom'?0x0:-0x14),_0x1ce383['drawWith'](_0x18c915,{'text':this[_0x434de5(0x288)],'color':this['_color']}),_0x18c915[_0x434de5(0x158)]());}}var _0x8d2630=Object[_0x4edbca(0x304)],_0x440842=(_0x288768,_0x1c504a,_0x3260b2,_0x5598d3)=>{const _0x419e93=_0x4edbca;for(var _0x67178=_0x5598d3>0x1?void 0x0:_0x5598d3?_0x8d2630(_0x1c504a,_0x3260b2):_0x1c504a,_0x145023=_0x288768[_0x419e93(0x35f)]-0x1,_0x9e9a0;_0x145023>=0x0;_0x145023--)(_0x9e9a0=_0x288768[_0x145023])&&(_0x67178=_0x9e9a0(_0x67178)||_0x67178);return _0x67178;},_0x12c1cc=(_0x15eb7a,_0x1d84a3)=>(_0xbc350f,_0x36a25d)=>_0x1d84a3(_0xbc350f,_0x36a25d,_0x15eb7a);const _0x34cb7f=0x1389;let _0xd9a110=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0xe4fdba,_0x2fa753,_0x78f43d,_0x3d2e55){const _0x2776a1=_0x4edbca;super(),_0x45f8a5(this,'_cursors',new Set()),_0x45f8a5(this,_0x2776a1(0x339),null),(this[_0x2776a1(0x1e7)]=_0xe4fdba,this[_0x2776a1(0x298)]=_0x2fa753,this['_collabCursorController']=_0x78f43d,this[_0x2776a1(0x3aa)]=_0x3d2e55,this['_init']());}['_init'](){const _0x1cab7d=_0x4edbca;this[_0x1cab7d(0x298)]['currentSkeleton$'][_0x1cab7d(0x1e6)](_0x25274c[_0x1cab7d(0x3b6)](this['dispose$']),_0x25274c['switchMap'](_0x3e7af2=>{const _0x211b59=_0x1cab7d;if(_0x3e7af2){const _0x1d28a6=_0x3e7af2[_0x211b59(0x16f)];return _0xde1ef0['combineLatest'](this[_0x211b59(0x1df)][_0x211b59(0x1ce)](this['_context'][_0x211b59(0x331)]),this[_0x211b59(0x3aa)][_0x211b59(0x396)])[_0x211b59(0x1e6)](_0x25274c[_0x211b59(0x381)](([_0x3e74e7,_0x2dc534])=>{const _0x5a3104=_0x211b59,_0x40fee2=new Map();return _0x3e74e7[_0x5a3104(0x24c)]((_0x17957d,_0xff9ba4)=>{const _0x51ee12=_0x5a3104;if(_0x17957d[_0x51ee12(0x244)]===_0x1d28a6){const _0x27d7cd={..._0x17957d};_0x27d7cd['color']=this[_0x51ee12(0x3aa)][_0x51ee12(0x3e9)](_0x17957d[_0x51ee12(0x1f9)]),_0x40fee2['set'](_0xff9ba4,_0x27d7cd);}}),{'skeleton':_0x3e7af2,'cursors':_0x40fee2};}));}return _0xde1ef0['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cab7d(0x367)](({skeleton:_0x5e3f59,cursors:_0x34ae4a})=>{const _0x38775f=_0x1cab7d;this[_0x38775f(0x3d1)](),_0x5e3f59&&this[_0x38775f(0x364)](_0x5e3f59,_0x34ae4a);}),this['_sheetSkeletonManagerService'][_0x1cab7d(0x361)][_0x1cab7d(0x367)](_0x144197=>{const _0x5f1328=_0x1cab7d;if(_0x144197==null)return;const {skeleton:_0x1d1b4a}=_0x144197,{scene:_0x2ec69d}=this['_context'];_0x2ec69d[_0x5f1328(0x200)][_0x5f1328(0x39e)](_0xffd2a8[_0x5f1328(0x38e)](_0x9841e5=>{const _0x2151a4=_0x5f1328;var _0x439c09,_0x34633f;const {offsetX:_0x3e1ec2,offsetY:_0x152d5a}=_0x9841e5,{x:_0x2bb57d,y:_0x481556}=_0x2ec69d[_0x2151a4(0x1f0)](_0x365d9c[_0x2151a4(0x382)][_0x2151a4(0x3d7)]([_0x3e1ec2,_0x152d5a])),{scaleX:_0x41bde0,scaleY:_0x36359f}=_0x2ec69d['getAncestorScale'](),_0x184aae=_0x2ec69d[_0x2151a4(0x2a1)](_0x365d9c['SHEET_VIEWPORT_KEY'][_0x2151a4(0x3e8)]),_0x17881e=_0x2ec69d[_0x2151a4(0x2fa)](_0x365d9c[_0x2151a4(0x382)][_0x2151a4(0x3d7)]([_0x2bb57d,_0x481556]),_0x184aae),_0x19f6a4=_0x1d1b4a[_0x2151a4(0x375)](_0x3e1ec2,_0x152d5a,_0x41bde0,_0x36359f,_0x17881e);((_0x439c09=this[_0x2151a4(0x339)])==null?void 0x0:_0x439c09[_0x2151a4(0x3ac)])===_0x19f6a4[_0x2151a4(0x3ac)]&&((_0x34633f=this[_0x2151a4(0x339)])==null?void 0x0:_0x34633f[_0x2151a4(0x32c)])===_0x19f6a4[_0x2151a4(0x32c)]||this['_cursors'][_0x2151a4(0x24c)](_0x1590dc=>{_0x1590dc['onMouseMove'](_0x19f6a4);});},0x64));});}[_0x4edbca(0x364)](_0x2edb4e,_0x3f8f1c){const _0x4349d9=_0x4edbca;var _0x4c5568;const _0x14fe15=(_0x4c5568=this[_0x4349d9(0x298)][_0x4349d9(0x33e)]())==null?void 0x0:_0x4c5568[_0x4349d9(0x22d)];if(!_0x14fe15)return;const _0x40de32=this[_0x4349d9(0x1eb)]();if(!_0x40de32)return;this[_0x4349d9(0x1d4)][_0x4349d9(0x24c)](_0x5122ee=>{const _0x4bf436=_0x4349d9;_0x5122ee[_0x4bf436(0x1b1)]();});const {scene:_0x239395}=_0x40de32,_0x4e2d05=_0x580551(Array[_0x4349d9(0x283)](_0x3f8f1c['values']()))[_0x4349d9(0x381)](_0x44020d=>{const _0x3a6be5=_0x4349d9,{color:_0x1c5371,range:_0x10aaaa,name:_0x3fb556,selection:_0x5175e3,sheetID:_0x48c306}=_0x44020d,{startColumn:_0x46972d,startRow:_0x411135,endColumn:_0x254612,endRow:_0x2abe45}=_0x10aaaa,_0x131421=_0x3c136a[_0x3a6be5(0x380)](_0x411135,_0x46972d,_0x239395,_0x14fe15),_0x51d5d8=_0x3c136a[_0x3a6be5(0x380)](_0x2abe45,_0x254612,_0x239395,_0x14fe15),{columnHeaderHeightAndMarginTop:_0x41840a}=_0x14fe15,{startX:_0x36a6fa,startY:_0xc8c473}=_0x131421,{endX:_0x414448,endY:_0x38547a}=_0x51d5d8,_0x329502=_0x414448-_0x36a6fa,_0x54c232=_0x38547a-_0xc8c473,_0xdb756b={'labelPosition':_0xc8c473-_0x41840a>=_0x2defab?_0x3a6be5(0x2e9):_0x3a6be5(0x243),'sheetID':_0x48c306,'range':_0x10aaaa,'color':_0x1c5371,'name':_0x3fb556,'selection':_0x5175e3,'left':_0x36a6fa,'top':_0xc8c473,'width':_0x329502,'height':_0x54c232,'evented':!0x1,'zIndex':_0x34cb7f};return new _0x5370c7(_0x3fb556,_0xdb756b);});_0x239395['addObjects'](_0x4e2d05,_0x4a455a),this['_cursors']=new Set(_0x4e2d05);}[_0x4edbca(0x3d1)](){const _0xadc170=_0x4edbca;var _0x2a577b;(_0x2a577b=this['_cursors'])==null||_0x2a577b[_0xadc170(0x24c)](_0x1e90cb=>_0x1e90cb[_0xadc170(0x27a)]());}[_0x4edbca(0x1eb)](){const _0x44f310=_0x4edbca;return _0x3c136a['getSheetObject'](this['_context'][_0x44f310(0x2ed)],this[_0x44f310(0x1e7)]);}};_0xd9a110=_0x440842([_0x12c1cc(0x1,_0xffd2a8['Inject'](_0x3c136a[_0x4edbca(0x296)])),_0x12c1cc(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x543db2)),_0x12c1cc(0x3,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8['ThemeService']))],_0xd9a110);function _0x580551(_0x5f3165){const _0x374d76=_0x4edbca,_0x2a2137=new Map();return _0x5f3165[_0x374d76(0x24c)](_0x195f0a=>{const _0x114ae4=_0x374d76;if(_0x2a2137['has'](_0x195f0a[_0x114ae4(0x348)])){const _0x2793ac=_0x2a2137[_0x114ae4(0x176)](_0x195f0a['selection']);_0x2793ac[_0x114ae4(0x2b0)]+=',\x20'+_0x195f0a[_0x114ae4(0x2b0)];}else _0x2a2137['set'](_0x195f0a[_0x114ae4(0x348)],_0x195f0a);}),Array[_0x374d76(0x283)](_0x2a2137[_0x374d76(0x316)]());}var _0x2be382=function(){const _0x3cb63a=_0x4edbca;return _0x2be382=Object[_0x3cb63a(0x33d)]||function(_0x20ca3c){const _0x2602ce=_0x3cb63a;for(var _0x20d825,_0x55800c=0x1,_0x4384aa=arguments['length'];_0x55800c<_0x4384aa;_0x55800c++){_0x20d825=arguments[_0x55800c];for(var _0x17c0cc in _0x20d825)Object['prototype']['hasOwnProperty'][_0x2602ce(0x359)](_0x20d825,_0x17c0cc)&&(_0x20ca3c[_0x17c0cc]=_0x20d825[_0x17c0cc]);}return _0x20ca3c;},_0x2be382[_0x3cb63a(0x25a)](this,arguments);},_0x4f4e8=function(_0x10d478,_0x2c6f93){const _0x12fc5b=_0x4edbca;var _0x2e90b7={};for(var _0x5c28f7 in _0x10d478)Object[_0x12fc5b(0x192)][_0x12fc5b(0x164)][_0x12fc5b(0x359)](_0x10d478,_0x5c28f7)&&_0x2c6f93[_0x12fc5b(0x2e7)](_0x5c28f7)<0x0&&(_0x2e90b7[_0x5c28f7]=_0x10d478[_0x5c28f7]);if(_0x10d478!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0xcdee6f=0x0,_0x5c28f7=Object[_0x12fc5b(0x261)](_0x10d478);_0xcdee6f<_0x5c28f7['length'];_0xcdee6f++)_0x2c6f93[_0x12fc5b(0x2e7)](_0x5c28f7[_0xcdee6f])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x12fc5b(0x359)](_0x10d478,_0x5c28f7[_0xcdee6f])&&(_0x2e90b7[_0x5c28f7[_0xcdee6f]]=_0x10d478[_0x5c28f7[_0xcdee6f]]);}return _0x2e90b7;},_0x14894c=_0x4fbffb[_0x4edbca(0x227)](function(_0x3a3292,_0x777266){const _0x3fd5b2=_0x4edbca;var _0x477fa0=_0x3a3292['icon'],_0x2613f0=_0x3a3292['id'],_0xa7e544=_0x3a3292[_0x3fd5b2(0x173)],_0x5d8136=_0x3a3292[_0x3fd5b2(0x1b5)],_0x4e71e6=_0x4f4e8(_0x3a3292,['icon','id',_0x3fd5b2(0x173),'extend']),_0x4f0c44='univerjs-icon\x20univerjs-icon-'[_0x3fd5b2(0x2db)](_0x2613f0,'\x20')['concat'](_0xa7e544||'')['trim'](),_0x4c796e=_0x4fbffb[_0x3fd5b2(0x270)]('_'[_0x3fd5b2(0x2db)](_0x5c12c2()));return _0x4e5ee9(_0x477fa0,''[_0x3fd5b2(0x2db)](_0x2613f0),{'defIds':_0x477fa0[_0x3fd5b2(0x1b0)],'idSuffix':_0x4c796e[_0x3fd5b2(0x3b3)]},_0x2be382({'ref':_0x777266,'className':_0x4f0c44},_0x4e71e6),_0x5d8136);});function _0x4e5ee9(_0x165fbf,_0x4ed1ea,_0x5bb76f,_0x124aa2,_0x52ba18){const _0x44b265=_0x4edbca;return _0x4fbffb['createElement'](_0x165fbf[_0x44b265(0x167)],_0x2be382(_0x2be382({'key':_0x4ed1ea},_0x3c5c76(_0x165fbf,_0x5bb76f,_0x52ba18)),_0x124aa2),(_0x5dc531(_0x165fbf,_0x5bb76f)[_0x44b265(0x259)]||[])[_0x44b265(0x381)](function(_0x13ad7e,_0x108155){const _0x3ce4e8=_0x44b265;return _0x4e5ee9(_0x13ad7e,''[_0x3ce4e8(0x2db)](_0x4ed1ea,'-')['concat'](_0x165fbf[_0x3ce4e8(0x167)],'-')[_0x3ce4e8(0x2db)](_0x108155),_0x5bb76f,void 0x0,_0x52ba18);}));}function _0x3c5c76(_0x4aa3d1,_0x512eaa,_0x4392da){const _0x4edb29=_0x4edbca;var _0x1f3df6=_0x2be382({},_0x4aa3d1[_0x4edb29(0x325)]);_0x4392da!=null&&_0x4392da[_0x4edb29(0x3c2)]&&_0x1f3df6[_0x4edb29(0x343)]===_0x4edb29(0x3c2)&&(_0x1f3df6[_0x4edb29(0x343)]=_0x4392da['colorChannel1']),_0x4aa3d1[_0x4edb29(0x167)]===_0x4edb29(0x3c1)&&_0x1f3df6['id']&&(_0x1f3df6['id']=_0x1f3df6['id']+_0x512eaa[_0x4edb29(0x2eb)]),Object[_0x4edb29(0x31e)](_0x1f3df6)['forEach'](function(_0x4f42ed){const _0x27afc4=_0x4edb29;var _0x1552c6=_0x4f42ed[0x0],_0x17c803=_0x4f42ed[0x1];_0x1552c6===_0x27afc4(0x3c1)&&typeof _0x17c803=='string'&&(_0x1f3df6[_0x1552c6]=_0x17c803[_0x27afc4(0x1ee)](/url\(#(.*)\)/,_0x27afc4(0x166)[_0x27afc4(0x2db)](_0x512eaa['idSuffix'],')')));});var _0x2e37b9=_0x512eaa['defIds'];return!_0x2e37b9||_0x2e37b9[_0x4edb29(0x35f)]===0x0||(_0x4aa3d1[_0x4edb29(0x167)]===_0x4edb29(0x1ef)&&_0x1f3df6[_0x4edb29(0x20d)]&&(_0x1f3df6[_0x4edb29(0x20d)]=_0x1f3df6[_0x4edb29(0x20d)]+_0x512eaa['idSuffix']),Object['entries'](_0x1f3df6)[_0x4edb29(0x24c)](function(_0x314b38){const _0x211160=_0x4edb29;var _0x5a3065=_0x314b38[0x0],_0x49aa37=_0x314b38[0x1];typeof _0x49aa37==_0x211160(0x264)&&(_0x1f3df6[_0x5a3065]=_0x49aa37['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x512eaa[_0x211160(0x2eb)],')')));})),_0x1f3df6;}function _0x5dc531(_0x289c93,_0x2d827f){const _0x278e98=_0x4edbca;var _0x5958c3,_0x17fadf=_0x2d827f[_0x278e98(0x1b0)];return!_0x17fadf||_0x17fadf[_0x278e98(0x35f)]===0x0?_0x289c93:_0x289c93[_0x278e98(0x167)]===_0x278e98(0x245)&&(!((_0x5958c3=_0x289c93[_0x278e98(0x259)])===null||_0x5958c3===void 0x0)&&_0x5958c3[_0x278e98(0x35f)])?_0x2be382(_0x2be382({},_0x289c93),{'children':_0x289c93[_0x278e98(0x259)]['map'](function(_0x1b684d){const _0x1a843e=_0x278e98;return typeof _0x1b684d[_0x1a843e(0x325)]['id']==_0x1a843e(0x264)&&_0x17fadf&&_0x17fadf[_0x1a843e(0x23c)](_0x1b684d['attrs']['id'])?_0x2be382(_0x2be382({},_0x1b684d),{'attrs':_0x2be382(_0x2be382({},_0x1b684d[_0x1a843e(0x325)]),{'id':_0x1b684d[_0x1a843e(0x325)]['id']+_0x2d827f['idSuffix']})}):_0x1b684d;})}):_0x289c93;}function _0x5c12c2(){const _0x157d49=_0x4edbca;return Math[_0x157d49(0x229)]()['toString'](0x24)[_0x157d49(0x314)](0x2,0x8);}_0x14894c['displayName']=_0x4edbca(0x2d8);var _0x486fc8={'tag':_0x4edbca(0x277),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4edbca(0x21e),'viewBox':'0\x200\x2016\x2016','width':_0x4edbca(0x31c),'height':_0x4edbca(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4edbca(0x354),'attrs':{'stroke':'currentColor','d':_0x4edbca(0x2d6),'strokeLinecap':_0x4edbca(0x3c6),'strokeLinejoin':_0x4edbca(0x3c6),'strokeWidth':1.2}}]},{'tag':_0x4edbca(0x245),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4edbca(0x3be)},'children':[{'tag':_0x4edbca(0x354),'attrs':{'fill':'white','d':_0x4edbca(0x204)}}]}]}],'defIds':[_0x4edbca(0x3be)]},_0x3c54d1=_0x4fbffb['forwardRef'](function(_0x5f5c31,_0x43d0c1){const _0x35e472=_0x4edbca;return _0x4fbffb[_0x35e472(0x3f5)](_0x14894c,Object[_0x35e472(0x33d)]({},_0x5f5c31,{'id':'off-line-icon','ref':_0x43d0c1,'icon':_0x486fc8}));});_0x3c54d1['displayName']=_0x4edbca(0x3b5);var _0x5069a7={'tag':_0x4edbca(0x277),'attrs':{'xmlns':_0x4edbca(0x183),'fill':_0x4edbca(0x21e),'viewBox':_0x4edbca(0x38d),'width':_0x4edbca(0x31c),'height':_0x4edbca(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':_0x4edbca(0x3f2)},'children':[{'tag':'path','attrs':{'stroke':_0x4edbca(0x1aa),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4edbca(0x3c6),'strokeLinejoin':_0x4edbca(0x3c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4edbca(0x3d8)},'children':[{'tag':_0x4edbca(0x354),'attrs':{'fill':_0x4edbca(0x210),'d':'M0\x200H16V16H0z','transform':_0x4edbca(0x1a7)}}]}]}],'defIds':[_0x4edbca(0x3d8)]},_0x448144=_0x4fbffb[_0x4edbca(0x227)](function(_0x3c0761,_0x44bea8){const _0x3caa55=_0x4edbca;return _0x4fbffb[_0x3caa55(0x3f5)](_0x14894c,Object['assign']({},_0x3c0761,{'id':'on-line-icon','ref':_0x44bea8,'icon':_0x5069a7}));});_0x448144[_0x4edbca(0x3a2)]=_0x4edbca(0x290);function _0x5d04fd(_0x599f95){const _0x3b69ae=_0x4edbca;switch(_0x599f95){case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x355)]:return _0x3b69ae(0x23a);case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x1cd)]:return _0x3b69ae(0x32a);case _0x3df360[_0x3b69ae(0x390)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x321)]:return _0x3b69ae(0x30b);case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x16a)]:case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x347)]:return'collabStatus.syncing';case _0x3df360['CollaborationStatus'][_0x3b69ae(0x322)]:case _0x3df360[_0x3b69ae(0x390)]['PENDING']:return _0x3b69ae(0x202);}}function _0x16c981(_0x3d43ea){const _0x32a519=_0x4edbca,{status$:_0x1807fd}=_0x3d43ea,_0xc88697=_0xd238db['useObservable'](_0x1807fd,_0x3df360[_0x32a519(0x390)][_0x32a519(0x321)]),_0x39e3d5=_0xd238db['useDependency'](_0xffd2a8[_0x32a519(0x219)]),_0x5fe6a6=_0xd238db[_0x32a519(0x1a0)](_0x3df360['CollaborationSessionService']),_0x225140=_0xc88697!==_0x3df360[_0x32a519(0x390)][_0x32a519(0x355)],_0x29fa8f=_0x39e3d5['t'](_0x5d04fd(_0xc88697)),_0x903c0d=_0x225140?_0x300e33[_0x32a519(0x2cf)](_0x448144,{}):_0x300e33[_0x32a519(0x2cf)](_0x3c54d1,{}),_0x46ed89=_0x4fbffb['useCallback'](()=>{const _0x98e5ed=_0x32a519;_0x225140||_0x5fe6a6[_0x98e5ed(0x29f)]();},[_0x225140,_0x5fe6a6]);function _0x565960(){const _0x2174b9=_0x32a519;return _0x300e33['jsxs'](_0x2174b9(0x3c4),{'className':_0x2174b9(0x258),'onClick':_0x46ed89,'children':[_0x300e33[_0x2174b9(0x2cf)]('div',{'className':_0x291018['clsx'](_0x2174b9(0x216),{'univer-text-green-500':_0x225140,'univer-text-red-500':!_0x225140}),'children':_0x903c0d}),_0x300e33[_0x2174b9(0x2cf)](_0x2174b9(0x3c4),{'className':_0x2174b9(0x3c5),'children':_0x29fa8f})]});}return _0x225140?_0x565960():_0x300e33[_0x32a519(0x2cf)](_0x291018[_0x32a519(0x337)],{'title':_0x39e3d5['t']('collab-client.tooltip.reconnect'),'children':_0x565960()});}var _0x10e9ad=Object[_0x4edbca(0x304)],_0x50f72c=(_0x160b4f,_0x355141,_0x37d9ec,_0x52ee9a)=>{const _0xd3cd38=_0x4edbca;for(var _0x12555e=_0x52ee9a>0x1?void 0x0:_0x52ee9a?_0x10e9ad(_0x355141,_0x37d9ec):_0x355141,_0xf4f6aa=_0x160b4f[_0xd3cd38(0x35f)]-0x1,_0x3f83c9;_0xf4f6aa>=0x0;_0xf4f6aa--)(_0x3f83c9=_0x160b4f[_0xf4f6aa])&&(_0x12555e=_0x3f83c9(_0x12555e)||_0x12555e);return _0x12555e;},_0x55ada4=(_0x532231,_0x160c16)=>(_0x15a44d,_0x5ea8de)=>_0x160c16(_0x15a44d,_0x5ea8de,_0x532231);_0x2b5cdb[_0x4edbca(0x2fb)]=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x771f69,_0x419e5f,_0x2ca8a3,_0x1cba26){const _0x3d9837=_0x4edbca;super(),_0x45f8a5(this,_0x3d9837(0x27b),new _0xde1ef0[(_0x3d9837(0x2f7))](_0x3df360[_0x3d9837(0x390)][_0x3d9837(0x321)])),(this['_univerInstanceService']=_0x771f69,this[_0x3d9837(0x311)]=_0x419e5f,this['_collaborationController']=_0x2ca8a3,this[_0x3d9837(0x30d)]=_0x1cba26,this[_0x3d9837(0x2bc)](),this['_initStatusListener']());}[_0x4edbca(0x344)](){const _0x4e62e0=_0x4edbca;this[_0x4e62e0(0x3b0)](this[_0x4e62e0(0x1d5)][_0x4e62e0(0x16c)][_0x4e62e0(0x1e6)](_0xde1ef0[_0x4e62e0(0x2a0)](()=>{const _0x5105b0=_0x4e62e0,_0x263ada=this[_0x5105b0(0x1d5)][_0x5105b0(0x199)]();return _0x263ada?this[_0x5105b0(0x1e3)][_0x5105b0(0x302)](_0x263ada[_0x5105b0(0x386)]()):_0xde1ef0['of'](null);}),_0xde1ef0[_0x4e62e0(0x2a0)](_0x3c4070=>_0x3c4070?_0x3c4070[_0x4e62e0(0x3d5)]:_0xde1ef0['of'](_0x3df360[_0x4e62e0(0x390)][_0x4e62e0(0x321)])))[_0x4e62e0(0x367)](_0x375751=>{const _0x29abe1=_0x4e62e0;this['_status$'][_0x29abe1(0x31b)](_0x375751);}));}[_0x4edbca(0x2bc)](){const _0x55572b=_0x4edbca;this[_0x55572b(0x3b0)](this[_0x55572b(0x30d)][_0x55572b(0x240)](_0xd238db[_0x55572b(0x278)][_0x55572b(0x34d)],()=>_0xd238db[_0x55572b(0x170)](_0x37c40d({'status$':this['_status$'][_0x55572b(0x33b)]()}),this[_0x55572b(0x311)])));}},_0x2b5cdb[_0x4edbca(0x2fb)]=_0x50f72c([_0x55ada4(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x55ada4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x55ada4(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360['CollaborationController'])),_0x55ada4(0x3,_0xd238db[_0x4edbca(0x185)])],_0x2b5cdb[_0x4edbca(0x2fb)]);function _0x37c40d(_0x3fc978){const {status$:_0x484f42}=_0x3fc978;return function(){return _0x300e33['jsx'](_0x16c981,{'status$':_0x484f42});};}var _0x261bb4=Object[_0x4edbca(0x304)],_0x5df215=(_0xc1f91,_0x4a1c06,_0x511f98,_0x4dbe44)=>{for(var _0x2af8c5=_0x4dbe44>0x1?void 0x0:_0x4dbe44?_0x261bb4(_0x4a1c06,_0x511f98):_0x4a1c06,_0x21a5fb=_0xc1f91['length']-0x1,_0x1ff623;_0x21a5fb>=0x0;_0x21a5fb--)(_0x1ff623=_0xc1f91[_0x21a5fb])&&(_0x2af8c5=_0x1ff623(_0x2af8c5)||_0x2af8c5);return _0x2af8c5;},_0x4268fc=(_0x351d33,_0x5ab17f)=>(_0x114c3e,_0x4fb9c4)=>_0x5ab17f(_0x114c3e,_0x4fb9c4,_0x351d33);let _0x3f3ac1=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x3ec35d,_0x569195,_0x206886,_0x11bd7b,_0x18c591,_0x289cbc){const _0x56aec6=_0x4edbca;super(),this[_0x56aec6(0x1ad)]=_0x3ec35d,this[_0x56aec6(0x262)]=_0x569195,this[_0x56aec6(0x384)]=_0x206886,this[_0x56aec6(0x1af)]=_0x11bd7b,this[_0x56aec6(0x2ca)]=_0x18c591,this[_0x56aec6(0x19d)]=_0x289cbc,this[_0x56aec6(0x2c1)](),this['_initEvent']();}[_0x4edbca(0x2c1)](){const _0x271f7b=_0x4edbca;this['disposeWithMe'](this[_0x271f7b(0x1ad)][_0x271f7b(0x35c)](()=>{const _0x2664e0=_0x271f7b;if(this['_localCacheService'][_0x2664e0(0x231)][_0x2664e0(0x22a)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4edbca(0x352)](){const _0xc35d19=_0x4edbca;this[_0xc35d19(0x3b0)](this[_0xc35d19(0x384)][_0xc35d19(0x3bc)][_0xc35d19(0x367)](_0x16c416=>{const _0x4993fa=_0xc35d19;_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x305)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x28c)],'content':this['_localeService']['t'](_0x4993fa(0x215))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x242)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)]['Warning'],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x2d4))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)]['PERMISSION_DENIED']&&this[_0x4993fa(0x2ca)]['show']({'title':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x226)),'content':this[_0x4993fa(0x19d)]['t']('permission.content'),'type':_0x4993fa(0x289),'duration':0x0}),_0x16c416['id']===_0x3df360['CollaborationUIEventId'][_0x4993fa(0x1cd)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x3ef)],'content':this[_0x4993fa(0x19d)]['t']('collaboration.closeRoom')+'('+_0x16c416[_0x4993fa(0x376)]+')'}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x3b4)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018['MessageType'][_0x4993fa(0x28c)],'content':this[_0x4993fa(0x19d)]['t'](_0x16c416[_0x4993fa(0x376)]||'')}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x388)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018['MessageType'][_0x4993fa(0x28c)],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x303))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x1a3)]&&this['_messageService']['show']({'type':_0x291018[_0x4993fa(0x3dd)]['Error'],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x225))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x2c3)]&&this['_messageService'][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x3ef)],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x2aa))});}));}};_0x3f3ac1=_0x5df215([_0x4268fc(0x0,_0xd238db[_0x4edbca(0x2df)]),_0x4268fc(0x1,_0x3df360[_0x4edbca(0x19e)]),_0x4268fc(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x3d9)])),_0x4268fc(0x3,_0xd238db[_0x4edbca(0x33f)]),_0x4268fc(0x4,_0xd238db[_0x4edbca(0x18e)]),_0x4268fc(0x5,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x219)]))],_0x3f3ac1);const _0x284e01=_0x4edbca(0x394),_0x37cb15={},_0x6a624b=_0xffd2a8[_0x4edbca(0x235)](_0x4edbca(0x180));var _0x4f5590=Object[_0x4edbca(0x304)],_0xe9d242=(_0x10a743,_0x18a708,_0x545015,_0x47dc65)=>{const _0x14ef18=_0x4edbca;for(var _0x4abe66=_0x47dc65>0x1?void 0x0:_0x47dc65?_0x4f5590(_0x18a708,_0x545015):_0x18a708,_0x494e10=_0x10a743[_0x14ef18(0x35f)]-0x1,_0x34d9f1;_0x494e10>=0x0;_0x494e10--)(_0x34d9f1=_0x10a743[_0x494e10])&&(_0x4abe66=_0x34d9f1(_0x4abe66)||_0x4abe66);return _0x4abe66;},_0xd59d8a=(_0x52854e,_0x53f1d2)=>(_0x3f4c27,_0x2b1d3f)=>_0x53f1d2(_0x3f4c27,_0x2b1d3f,_0x52854e);_0x2b5cdb[_0x4edbca(0x3a8)]=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x2f4a1e,_0x198476,_0x18ebdd,_0x202876,_0x582837){const _0x58a9aa=_0x4edbca;super(),this[_0x58a9aa(0x2a6)]=_0x2f4a1e,this['_logService']=_0x198476,this[_0x58a9aa(0x2be)]=_0x18ebdd,this['_dataLoaderService']=_0x202876,_0x582837?_0x582837==null||_0x582837[_0x58a9aa(0x29c)]()[_0x58a9aa(0x1fa)](()=>this[_0x58a9aa(0x3a5)]()):(this[_0x58a9aa(0x36e)][_0x58a9aa(0x15b)](_0x58a9aa(0x3ae),_0x58a9aa(0x324)),this['_init']());}async['_init'](){const _0x3aa22b=_0x4edbca,_0x19f84d=this[_0x3aa22b(0x2a6)][_0x3aa22b(0x253)]('unit'),_0x21f4d6=this['_urlService']['getParam'](_0x3aa22b(0x238)),_0xb91ebb=this['_urlService']['getParam'](_0x3aa22b(0x3b7));if(!_0x19f84d||!_0x21f4d6){this[_0x3aa22b(0x36e)][_0x3aa22b(0x15b)](_0x3aa22b(0x3ae),_0x3aa22b(0x374));return;}const _0x42eb73=await this[_0x3aa22b(0x21d)][_0x3aa22b(0x34c)](_0x19f84d,Number(_0x21f4d6),_0xb91ebb);_0x42eb73&&_0x42eb73 instanceof _0xffd2a8[_0x3aa22b(0x346)]&&this[_0x3aa22b(0x165)](_0x42eb73);}async[_0x4edbca(0x165)](_0x542c72){const _0x3cf19f=_0x4edbca;await this[_0x3cf19f(0x3b8)](_0x542c72),_0x542c72['activeSheet$'][_0x3cf19f(0x1e6)](_0xde1ef0[_0x3cf19f(0x3b6)](this[_0x3cf19f(0x2c0)]))['subscribe'](_0x3438ba=>{const _0x429bf1=_0x3cf19f;_0x3438ba&&this[_0x429bf1(0x1d1)](_0x3438ba);}),this[_0x3cf19f(0x2a6)][_0x3cf19f(0x1be)][_0x3cf19f(0x1e6)](_0xde1ef0[_0x3cf19f(0x3b6)](this['dispose$']))['subscribe'](()=>this[_0x3cf19f(0x3b8)](_0x542c72));}[_0x4edbca(0x1d1)](_0x2bca7b,_0xea919d=!0x1){const _0xac640=_0x4edbca,_0x93992c=this[_0xac640(0x2a6)][_0xac640(0x253)](_0xac640(0x3b7));_0x2bca7b[_0xac640(0x31a)]()!==_0x93992c&&this['_urlService']['setParam']('subunit',_0x2bca7b[_0xac640(0x31a)](),_0xea919d);}async['_updateSubUnitFromURLParams'](_0x1de240){const _0x4f4484=_0x4edbca;var _0x38d33c;const _0x27b6a3=this['_urlService'][_0x4f4484(0x253)]('subunit');if(!_0x27b6a3||!_0x1de240[_0x4f4484(0x2b6)](_0x27b6a3)){const _0x1041b6=_0x1de240[_0x4f4484(0x3f1)]()[0x0],_0x3ff28c=_0x1de240['getSheetBySheetId'](_0x1041b6);if(!_0x3ff28c)return;this[_0x4f4484(0x1d1)](_0x3ff28c,!0x0),await this[_0x4f4484(0x2be)][_0x4f4484(0x201)](_0x1e6254['SetWorksheetActivateCommand']['id'],{'unitId':_0x1de240['getUnitId'](),'subUnitId':_0x1041b6});return;}((_0x38d33c=_0x1de240[_0x4f4484(0x3c9)]())==null?void 0x0:_0x38d33c['getSheetId']())!==_0x27b6a3&&await this[_0x4f4484(0x2be)][_0x4f4484(0x201)](_0x1e6254[_0x4f4484(0x39d)]['id'],{'unitId':_0x1de240[_0x4f4484(0x386)](),'subUnitId':_0x27b6a3});}},_0x2b5cdb['CollaborationDataLoaderController']=_0xe9d242([_0xd59d8a(0x0,_0x6a624b),_0xd59d8a(0x1,_0xffd2a8[_0x4edbca(0x338)]),_0xd59d8a(0x2,_0xffd2a8[_0x4edbca(0x2cb)]),_0xd59d8a(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x1fc)])),_0xd59d8a(0x4,_0xffd2a8[_0x4edbca(0x159)](_0x20c23b[_0x4edbca(0x23b)]))],_0x2b5cdb[_0x4edbca(0x3a8)]);var _0x4887ee=Object[_0x4edbca(0x304)],_0x1e9a09=(_0x3facac,_0x9f1c1a,_0x2da050,_0x176163)=>{const _0x4e2107=_0x4edbca;for(var _0x229737=_0x176163>0x1?void 0x0:_0x176163?_0x4887ee(_0x9f1c1a,_0x2da050):_0x9f1c1a,_0x11831e=_0x3facac[_0x4e2107(0x35f)]-0x1,_0x261f4b;_0x11831e>=0x0;_0x11831e--)(_0x261f4b=_0x3facac[_0x11831e])&&(_0x229737=_0x261f4b(_0x229737)||_0x229737);return _0x229737;},_0xc1ab2=(_0x5b78df,_0x1aba87)=>(_0x13b6e4,_0x3f3d62)=>_0x1aba87(_0x13b6e4,_0x3f3d62,_0x5b78df);let _0x5b135f=class{constructor(_0x409c63,_0x3de6e8,_0x303cd0){const _0x453886=_0x4edbca;this[_0x453886(0x311)]=_0x409c63,this['_transformService']=_0x3de6e8,this[_0x453886(0x208)]=_0x303cd0;}[_0x4edbca(0x287)](_0x27fa20){const _0x40c149=_0x4edbca;this['_transformUndoRedoStack'](_0x27fa20),this[_0x40c149(0x2de)](_0x27fa20);}[_0x4edbca(0x31f)](_0x3f4b94){const _0x3536c1=_0x4edbca,{unitID:_0x5c99a6}=_0x3f4b94,_0x4a4c56=this[_0x3536c1(0x208)]['getRenderById'](_0x5c99a6)[_0x3536c1(0x268)](_0x2992e3[_0x3536c1(0x284)]),{redoCache:_0x1c47e4}=_0x4a4c56[_0x3536c1(0x3d2)]();if(_0x1c47e4[_0x3536c1(0x35f)]===0x0)return _0x3f4b94;let _0x1d9333=_0xffd2a8[_0x3536c1(0x1e9)][_0x3536c1(0x398)](_0x3f4b94[_0x3536c1(0x317)][0x0]);for(let _0x511585=0x0;_0x511585<_0x1c47e4[_0x3536c1(0x35f)];_0x511585++){const _0x136e0c={'id':_0x3536c1(0x1fe),'params':{..._0x1c47e4[_0x511585]}},_0x4df04b=this[_0x3536c1(0x2ce)][_0x3536c1(0x2f4)](_0x1d9333,_0x136e0c,!0x1);if(_0x3c67a0[_0x3536c1(0x17d)](_0x4df04b))throw _0x4df04b[_0x3536c1(0x289)];_0x1d9333=_0x4df04b[_0x3536c1(0x1ab)];}return{..._0xffd2a8['Tools']['deepClone'](_0x3f4b94),'mutations':[_0x1d9333]};}[_0x4edbca(0x3f4)](_0x5f0b79){const _0x3233de=_0x4edbca,{unitID:_0x4b0e59}=_0x5f0b79,_0x4f1325=this['_renderManagerService'][_0x3233de(0x252)](_0x4b0e59)[_0x3233de(0x268)](_0x2992e3[_0x3233de(0x284)]),{undoCache:_0x128073,redoCache:_0x454c59}=_0x4f1325[_0x3233de(0x3d2)]();if(_0x128073[_0x3233de(0x35f)]===0x0||_0x454c59['length']===0x0)return;const _0xe44602=[],_0x124ed2=[];let _0x23f4ed=_0xffd2a8['Tools'][_0x3233de(0x398)](_0x5f0b79[_0x3233de(0x317)][0x0]),_0x4cfec7=_0xffd2a8[_0x3233de(0x1e9)][_0x3233de(0x398)](_0x5f0b79[_0x3233de(0x317)][0x0]);for(let _0x5bee26=_0x128073[_0x3233de(0x35f)]-0x1;_0x5bee26>=0x0;_0x5bee26--){const _0x5c5dd0={'id':_0x3233de(0x1fe),'params':{..._0x128073[_0x5bee26]}},_0x2d8934={'id':_0x3233de(0x1fe),'params':{..._0x454c59[_0x5bee26]}},_0x48ebb4=this[_0x3233de(0x2ce)][_0x3233de(0x2f4)](_0x23f4ed,_0x5c5dd0,!0x1),_0x1ac806=this[_0x3233de(0x2ce)][_0x3233de(0x2f4)](_0x4cfec7,_0x2d8934,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x48ebb4))throw _0x48ebb4[_0x3233de(0x289)];if(_0x3c67a0[_0x3233de(0x17d)](_0x1ac806))throw _0x1ac806[_0x3233de(0x289)];_0xe44602['unshift'](_0x48ebb4[_0x3233de(0x1e8)][_0x3233de(0x1da)]),_0x124ed2[_0x3233de(0x2ee)](_0x1ac806[_0x3233de(0x1e8)][_0x3233de(0x1da)]),_0x23f4ed=_0x48ebb4[_0x3233de(0x1ab)],_0x4cfec7=_0x1ac806['m1Prime'];}_0x4f1325['setUndoRedoMutationParamsCache']({'undoCache':_0xe44602,'redoCache':_0x124ed2});}[_0x4edbca(0x2de)](_0x435782){const _0x58effe=_0x4edbca,{unitID:_0x21d9e6}=_0x435782,_0x716686=this[_0x58effe(0x208)]['getRenderById'](_0x21d9e6)[_0x58effe(0x268)](_0x2992e3[_0x58effe(0x284)]),_0x592a79=_0x716686['getActiveRange']();if(_0x592a79==null)return;const _0x24525b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x435782[_0x58effe(0x330)],'actions':null,'textRanges':[_0x592a79]}}],_0x548adb=this[_0x58effe(0x2ce)][_0x58effe(0x30a)](_0x435782,_0x24525b);if(!_0x3c67a0['isTransformMutationsWithChangesetSuccess'](_0x548adb))throw _0x548adb[_0x58effe(0x289)];const _0x67c574=_0x548adb[_0x58effe(0x1e8)][0x0][_0x58effe(0x1da)][_0x58effe(0x342)];Array[_0x58effe(0x1f5)](_0x67c574)&&_0x67c574[_0x58effe(0x35f)]&&_0x716686['setActiveRange'](_0x67c574[0x0]);}};_0x5b135f=_0x1e9a09([_0xc1ab2(0x0,_0xffd2a8['Inject'](_0xffd2a8[_0x4edbca(0x2f1)])),_0xc1ab2(0x1,_0x3c67a0['ITransformService']),_0xc1ab2(0x2,_0x365d9c['IRenderManagerService'])],_0x5b135f);var _0x3b4525=Object[_0x4edbca(0x304)],_0x372e10=(_0x490832,_0x523c39,_0x90b559,_0x152bde)=>{for(var _0x10c4e7=_0x152bde>0x1?void 0x0:_0x152bde?_0x3b4525(_0x523c39,_0x90b559):_0x523c39,_0x43be2a=_0x490832['length']-0x1,_0x3aa3a2;_0x43be2a>=0x0;_0x43be2a--)(_0x3aa3a2=_0x490832[_0x43be2a])&&(_0x10c4e7=_0x3aa3a2(_0x10c4e7)||_0x10c4e7);return _0x10c4e7;},_0x4ec4e9=(_0x377579,_0x5d5d43)=>(_0x58bfb8,_0x3bf574)=>_0x5d5d43(_0x58bfb8,_0x3bf574,_0x377579);let _0x5b4c45=class{constructor(_0x4b5af8,_0x523d92,_0x3e5d25){const _0x423495=_0x4edbca;this[_0x423495(0x311)]=_0x4b5af8,this['_transformService']=_0x523d92,this[_0x423495(0x206)]=_0x3e5d25;}[_0x4edbca(0x299)](_0x41d166){this['_transformHistoryAndStateStack'](_0x41d166);}[_0x4edbca(0x31f)](_0x549d52){const _0x2e3af3=_0x4edbca,{unitID:_0x2ee451}=_0x549d52,{collaboration:_0xe8fb20}=this[_0x2e3af3(0x206)][_0x2e3af3(0x1e5)](_0x2ee451);if(_0xe8fb20[_0x2e3af3(0x35f)]===0x0)return _0x549d52;let _0x45f5ae=_0xffd2a8[_0x2e3af3(0x1e9)]['deepClone'](_0x549d52[_0x2e3af3(0x317)][0x0]);for(let _0x20af72=0x0;_0x20af72<_0xe8fb20['length'];_0x20af72++){const _0x5ef9ec={'id':_0x2e3af3(0x1fe),'params':{'unitId':_0xe8fb20[_0x20af72][_0x2e3af3(0x331)],..._0xe8fb20[_0x20af72]['redoState']}},_0x1419dc=this[_0x2e3af3(0x2ce)][_0x2e3af3(0x2f4)](_0x45f5ae,_0x5ef9ec,!0x1);if(_0x3c67a0[_0x2e3af3(0x17d)](_0x1419dc))throw _0x1419dc[_0x2e3af3(0x289)];_0x45f5ae=_0x1419dc[_0x2e3af3(0x1ab)];}return{..._0xffd2a8[_0x2e3af3(0x1e9)]['deepClone'](_0x549d52),'mutations':[_0x45f5ae]};}[_0x4edbca(0x19c)](_0x5a803c){const _0x297af1=_0x4edbca,{unitID:_0x45e634}=_0x5a803c,{history:_0x50b9f6,collaboration:_0x52acfc}=this['_docStateChangeManagerService'][_0x297af1(0x1e5)](_0x45e634);if(_0x50b9f6['length']===0x0&&_0x52acfc[_0x297af1(0x35f)]===0x0)return;const _0x4fc0c5=[],_0x3dbdfd=[];let _0x2970b1=_0xffd2a8[_0x297af1(0x1e9)][_0x297af1(0x398)](_0x5a803c['mutations'][0x0]),_0x52ae36=_0xffd2a8['Tools'][_0x297af1(0x398)](_0x5a803c[_0x297af1(0x317)][0x0]);for(let _0x4472e6=_0x50b9f6[_0x297af1(0x35f)]-0x1;_0x4472e6>=0x0;_0x4472e6--){const _0xba01b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b9f6[_0x4472e6][_0x297af1(0x331)],..._0x50b9f6[_0x4472e6][_0x297af1(0x1cc)]}},_0x47da85={'id':_0x297af1(0x1fe),'params':{'unitId':_0x50b9f6[_0x4472e6]['unitId'],..._0x50b9f6[_0x4472e6][_0x297af1(0x275)]}},_0x36b7b7=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x2970b1,_0xba01b6,!0x1),_0x2a6543=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x52ae36,_0x47da85,!0x1);if(_0x3c67a0[_0x297af1(0x17d)](_0x36b7b7))throw _0x36b7b7['error'];if(_0x3c67a0[_0x297af1(0x17d)](_0x2a6543))throw _0x2a6543[_0x297af1(0x289)];_0x4fc0c5['unshift']({..._0x50b9f6[_0x4472e6],'undoState':_0x36b7b7[_0x297af1(0x1e8)][_0x297af1(0x1da)],'redoState':_0x2a6543[_0x297af1(0x1e8)][_0x297af1(0x1da)]}),_0x2970b1=_0x36b7b7[_0x297af1(0x1ab)],_0x52ae36=_0x2a6543[_0x297af1(0x1ab)];}_0x2970b1=_0xffd2a8['Tools'][_0x297af1(0x398)](_0x5a803c['mutations'][0x0]),_0x52ae36=_0xffd2a8[_0x297af1(0x1e9)][_0x297af1(0x398)](_0x5a803c[_0x297af1(0x317)][0x0]);for(let _0x1975b7=_0x52acfc[_0x297af1(0x35f)]-0x1;_0x1975b7>=0x0;_0x1975b7--){const _0x5a8d19={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52acfc[_0x1975b7][_0x297af1(0x331)],..._0x52acfc[_0x1975b7]['undoState']}},_0x1a9a55={'id':_0x297af1(0x1fe),'params':{'unitId':_0x52acfc[_0x1975b7][_0x297af1(0x331)],..._0x52acfc[_0x1975b7][_0x297af1(0x275)]}},_0x4cd13c=this[_0x297af1(0x2ce)]['transformMutation'](_0x2970b1,_0x5a8d19,!0x1),_0x2f3ed5=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x52ae36,_0x1a9a55,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x4cd13c))throw _0x4cd13c['error'];if(_0x3c67a0[_0x297af1(0x17d)](_0x2f3ed5))throw _0x2f3ed5['error'];_0x3dbdfd[_0x297af1(0x2ee)]({..._0x52acfc[_0x1975b7],'undoState':_0x4cd13c['m2Prime'][_0x297af1(0x1da)],'redoState':_0x2f3ed5[_0x297af1(0x1e8)]['params']}),_0x2970b1=_0x4cd13c[_0x297af1(0x1ab)],_0x52ae36=_0x2f3ed5[_0x297af1(0x1ab)];}this[_0x297af1(0x206)][_0x297af1(0x3ec)](_0x45e634,{'history':_0x4fc0c5,'collaboration':_0x3dbdfd});}};_0x5b4c45=_0x372e10([_0x4ec4e9(0x0,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8['Injector'])),_0x4ec4e9(0x1,_0x3c67a0[_0x4edbca(0x17e)]),_0x4ec4e9(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x2992e3['DocStateChangeManagerService']))],_0x5b4c45);var _0x1ab894=Object['getOwnPropertyDescriptor'],_0x27a4e5=(_0x366758,_0x304c2a,_0xd571c9,_0x3da7d3)=>{for(var _0x16cbeb=_0x3da7d3>0x1?void 0x0:_0x3da7d3?_0x1ab894(_0x304c2a,_0xd571c9):_0x304c2a,_0x16fdc6=_0x366758['length']-0x1,_0x56d887;_0x16fdc6>=0x0;_0x16fdc6--)(_0x56d887=_0x366758[_0x16fdc6])&&(_0x16cbeb=_0x56d887(_0x16cbeb)||_0x16cbeb);return _0x16cbeb;},_0x44bdf2=(_0xc635c6,_0x2fcf48)=>(_0x5a0b4b,_0x103f89)=>_0x2fcf48(_0x5a0b4b,_0x103f89,_0xc635c6);let _0x21b1af=class{constructor(_0x280d1c,_0x1a99b1){const _0x28c600=_0x4edbca;this[_0x28c600(0x311)]=_0x280d1c,this[_0x28c600(0x2ce)]=_0x1a99b1;}[_0x4edbca(0x18b)](_0x56d880){const _0x49e473=_0x4edbca;var _0x2721ee;const _0x6b52c6=this[_0x49e473(0x311)][_0x49e473(0x176)](_0xc536cc['DocSelectionManagerService']),_0xd1a549=(_0x2721ee=_0x6b52c6[_0x49e473(0x356)]())!=null?_0x2721ee:[];if(_0xd1a549[_0x49e473(0x35f)]===0x0)return;const _0x26530c=_0x56d880[_0x49e473(0x330)],_0xa39b04=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26530c,'actions':null,'textRanges':_0xd1a549}}],_0x532d18=this[_0x49e473(0x2ce)][_0x49e473(0x30a)](_0x56d880,_0xa39b04);if(!_0x3c67a0['isTransformMutationsWithChangesetSuccess'](_0x532d18))throw _0x532d18['error'];const _0x3a9f67=_0x532d18[_0x49e473(0x1e8)][0x0][_0x49e473(0x1da)]['textRanges'];Array[_0x49e473(0x1f5)](_0x3a9f67)&&_0x3a9f67[_0x49e473(0x35f)]&&_0x6b52c6[_0x49e473(0x323)](_0x3a9f67,{'unitId':_0x26530c,'subUnitId':_0x26530c},!0x1);}};_0x21b1af=_0x27a4e5([_0x44bdf2(0x0,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x44bdf2(0x1,_0x3c67a0['ITransformService'])],_0x21b1af);var _0x19498b=Object[_0x4edbca(0x304)],_0x3d2eac=(_0x147a3f,_0x1e90e1,_0x275915,_0x4a9b31)=>{const _0x154199=_0x4edbca;for(var _0x1c1023=_0x4a9b31>0x1?void 0x0:_0x4a9b31?_0x19498b(_0x1e90e1,_0x275915):_0x1e90e1,_0x23d8e1=_0x147a3f[_0x154199(0x35f)]-0x1,_0x18c020;_0x23d8e1>=0x0;_0x23d8e1--)(_0x18c020=_0x147a3f[_0x23d8e1])&&(_0x1c1023=_0x18c020(_0x1c1023)||_0x1c1023);return _0x1c1023;},_0x290cc4=(_0x89be4f,_0x7bdb6f)=>(_0x598ae6,_0x58767e)=>_0x7bdb6f(_0x598ae6,_0x58767e,_0x89be4f);let _0xad1c3b=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x26e46d,_0x377cb2,_0x27f4a5,_0xb02399,_0x1fc793,_0x5a9b7e,_0x118c45,_0x51322d){const _0x1ac750=_0x4edbca;super(),_0x45f8a5(this,'_status$',new _0xde1ef0[(_0x1ac750(0x2f7))](_0x3df360[_0x1ac750(0x390)][_0x1ac750(0x321)])),(this['_docStateChangeManagerService']=_0x26e46d,this[_0x1ac750(0x1e3)]=_0x377cb2,this[_0x1ac750(0x207)]=_0x27f4a5,this['_docTransformStateCacheService']=_0xb02399,this[_0x1ac750(0x21c)]=_0x1fc793,this['_docSyncEditingCollabCursorService']=_0x5a9b7e,this[_0x1ac750(0x1af)]=_0x118c45,this['_localeService']=_0x51322d,this[_0x1ac750(0x2a9)]());}[_0x4edbca(0x2a9)](){const _0x129431=_0x4edbca;this['disposeWithMe'](this[_0x129431(0x1e3)][_0x129431(0x15f)][_0x129431(0x367)](_0x313a4c=>{const _0x5cbaf2=_0x129431,_0x103de2=this[_0x5cbaf2(0x206)][_0x5cbaf2(0x256)][_0x5cbaf2(0x367)](_0x48f65e=>{const _0x3ededa=_0x5cbaf2;if(_0x48f65e==null)return;const {unitId:_0x4ea50f,redoState:_0x1f67de,commandId:_0x19c84d}=_0x48f65e;if(_0x4ea50f!==_0x313a4c[_0x3ededa(0x330)])return;const _0x4e9cab={'id':_0x19c84d,'type':_0xffd2a8[_0x3ededa(0x24d)][_0x3ededa(0x29e)],'params':{'unitId':_0x4ea50f,'actions':_0x1f67de['actions'],'textRanges':null}};_0x313a4c[_0x3ededa(0x3ad)](_0x4e9cab);});if(_0x313a4c[_0x5cbaf2(0x3b0)](_0x103de2),_0x313a4c instanceof _0x3df360[_0x5cbaf2(0x28a)]){const _0x232ec8={'onTransformIME':_0x5082f5=>this[_0x5cbaf2(0x207)]['transformIMECache'](_0x5082f5),'onTransformState':_0x3ec258=>this[_0x5cbaf2(0x363)][_0x5cbaf2(0x299)](_0x3ec258),'onTransformSelections':_0x2c4909=>this[_0x5cbaf2(0x21c)]['transformSelections'](_0x2c4909),'onSyncEditingCollabCursor':_0x4db0f5=>this['_docSyncEditingCollabCursorService'][_0x5cbaf2(0x1c1)](_0x4db0f5),'onTransformRemoteChangesetByIMECache':_0x4f8704=>this[_0x5cbaf2(0x207)]['transformRemoteChangeset'](_0x4f8704),'onTransformRemoteChangesetByStateCache':_0x7f735e=>this['_docTransformStateCacheService'][_0x5cbaf2(0x31f)](_0x7f735e)};_0x313a4c[_0x5cbaf2(0x33a)](_0x232ec8);}}));}};_0xad1c3b=_0x3d2eac([_0x290cc4(0x0,_0xffd2a8[_0x4edbca(0x220)](_0x2992e3[_0x4edbca(0x218)])),_0x290cc4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x203)])),_0x290cc4(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x5b135f)),_0x290cc4(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x5b4c45)),_0x290cc4(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x21b1af)),_0x290cc4(0x5,_0xffd2a8['Inject'](_0x1f70dd)),_0x290cc4(0x6,_0xd238db[_0x4edbca(0x33f)]),_0x290cc4(0x7,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x219)]))],_0xad1c3b);var _0x26df1b=Object[_0x4edbca(0x304)],_0x59a16a=(_0x25c3aa,_0x537720,_0x448067,_0x2cd91e)=>{for(var _0x17492a=_0x2cd91e>0x1?void 0x0:_0x2cd91e?_0x26df1b(_0x537720,_0x448067):_0x537720,_0x1e285b=_0x25c3aa['length']-0x1,_0x20db16;_0x1e285b>=0x0;_0x1e285b--)(_0x20db16=_0x25c3aa[_0x1e285b])&&(_0x17492a=_0x20db16(_0x17492a)||_0x17492a);return _0x17492a;},_0x349437=(_0x345f68,_0x3257d2)=>(_0x1b9f6e,_0xd588d8)=>_0x3257d2(_0x1b9f6e,_0xd588d8,_0x345f68);let _0x1d41b3=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x5bd1da,_0x1393d4,_0x43a438){const _0x3b3b85=_0x4edbca;super(),_0x45f8a5(this,_0x3b3b85(0x184),new Map()),_0x45f8a5(this,_0x3b3b85(0x1b3),new Map()),_0x45f8a5(this,_0x3b3b85(0x3ed),!0x1),(this[_0x3b3b85(0x365)]=_0x5bd1da,this[_0x3b3b85(0x3d4)]=_0x1393d4,this[_0x3b3b85(0x28e)]=_0x43a438);}[_0x4edbca(0x177)](){const _0x2e13f0=_0x4edbca;this[_0x2e13f0(0x3ed)]=!0x0;}[_0x4edbca(0x1bb)](){const _0x3a4db9=_0x4edbca;this[_0x3a4db9(0x3ed)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x308564=_0x4edbca;this[_0x308564(0x294)]()[_0x308564(0x1fa)](()=>super[_0x308564(0x27a)]());}async['loadOfflineData'](_0x2d82f7){const _0x47f2ac=_0x4edbca;return this[_0x47f2ac(0x3ed)]?null:this[_0x47f2ac(0x3d4)][_0x47f2ac(0x1e0)](_0x3df360['getLocalCacheKey'](_0x2d82f7));}async['saveOfflineData'](_0x162980,_0x23ac46){const _0x3186ae=_0x4edbca;return!!this[_0x3186ae(0x3d4)][_0x3186ae(0x2f0)](_0x162980,_0x23ac46);}['updateOfflineData'](_0x3b99c9,_0xe700f9,_0x1d3dd3,_0x45375c){const _0x5dae57=_0x4edbca,_0x16b55a=this[_0x5dae57(0x28e)]['getCurrentRevOfUnit'](_0x3b99c9);this['_cachedData'][_0x5dae57(0x23f)](_0x3b99c9,{'unitID':_0x3b99c9,'type':_0xe700f9,'awaitingChangeset':_0x1d3dd3,'mutations':_0x45375c,'rev':_0x16b55a}),this[_0x5dae57(0x1b3)][_0x5dae57(0x313)](_0x3b99c9)||this[_0x5dae57(0x1d6)](_0x3b99c9);}[_0x4edbca(0x1d6)](_0x231ece){const _0x41d2a4=_0x4edbca,_0x39e608=this[_0x41d2a4(0x25e)]();_0x39e608===0x0?this[_0x41d2a4(0x28b)](_0x231ece):this[_0x41d2a4(0x1b3)][_0x41d2a4(0x23f)](_0x231ece,setTimeout(()=>this[_0x41d2a4(0x28b)](_0x231ece),_0x39e608));}[_0x4edbca(0x25e)](){const _0x385252=_0x4edbca;var _0x2335ff;return(_0x2335ff=this[_0x385252(0x365)]['getConfig'](_0x3df360['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2335ff:_0x3df360[_0x385252(0x196)];}[_0x4edbca(0x28b)](_0x36ab3d){const _0x25ae52=_0x4edbca,_0x4fb116=this[_0x25ae52(0x1b3)][_0x25ae52(0x176)](_0x36ab3d);return _0x4fb116!==void 0x0&&window['clearTimeout'](_0x4fb116),this['_localStorageService'][_0x25ae52(0x2f0)](_0x3df360['getLocalCacheKey'](_0x36ab3d),this[_0x25ae52(0x184)][_0x25ae52(0x176)](_0x36ab3d))[_0x25ae52(0x1fa)](()=>this[_0x25ae52(0x1b3)][_0x25ae52(0x326)](_0x36ab3d));}async[_0x4edbca(0x294)](){const _0x4b5f42=_0x4edbca,_0x147b59=[];this[_0x4b5f42(0x1b3)]['forEach']((_0x169d43,_0x487c3c)=>{const _0x5b3e6c=_0x4b5f42;window[_0x5b3e6c(0x1f7)](_0x169d43),_0x147b59[_0x5b3e6c(0x26c)](this['_saveCache'](_0x487c3c)[_0x5b3e6c(0x1fa)](()=>{const _0x587ad7=_0x5b3e6c;this[_0x587ad7(0x1b3)]['delete'](_0x487c3c);}));}),await Promise['all'](_0x147b59);}};_0x1d41b3=_0x59a16a([_0x349437(0x0,_0xffd2a8[_0x4edbca(0x175)]),_0x349437(0x1,_0xffd2a8['ILocalStorageService']),_0x349437(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3c67a0['RevisionService']))],_0x1d41b3);class _0x4b607b extends _0xffd2a8[_0x4edbca(0x393)]{constructor(){const _0xde0ebf=_0x4edbca;super(),_0x45f8a5(this,'urlChange$'),this[_0xde0ebf(0x1be)]=_0xde1ef0[_0xde0ebf(0x19a)](window,_0xde0ebf(0x24b))[_0xde0ebf(0x1e6)](_0xde1ef0[_0xde0ebf(0x3b6)](this[_0xde0ebf(0x2c0)]),_0xde1ef0[_0xde0ebf(0x1f8)](0x1),_0xde1ef0['mapTo'](void 0x0));}[_0x4edbca(0x214)](_0x159292,_0x23729d,_0x1ecbbc=!0x1){const _0x207025=_0x4edbca,_0x3fc64f=new URL(window[_0x207025(0x1dd)][_0x207025(0x188)]);_0x3fc64f[_0x207025(0x213)][_0x207025(0x23f)](_0x159292,_0x23729d),_0x1ecbbc?window[_0x207025(0x319)]['replaceState']('','',_0x3fc64f[_0x207025(0x360)]()):window['history'][_0x207025(0x3dc)]('','',_0x3fc64f['toString']());}['removeParam'](_0x1b189e,_0x5348b4=!0x1){const _0x8c16de=_0x4edbca,_0x9a8181=new URL(window[_0x8c16de(0x1dd)][_0x8c16de(0x188)]);_0x9a8181[_0x8c16de(0x213)][_0x8c16de(0x326)](_0x1b189e),_0x5348b4?window[_0x8c16de(0x319)]['replaceState']('','',_0x9a8181['toString']()):window[_0x8c16de(0x319)][_0x8c16de(0x3dc)]('','',_0x9a8181[_0x8c16de(0x360)]());}[_0x4edbca(0x253)](_0x1294c4){const _0x3e033b=_0x4edbca;var _0x2aaab5;return(_0x2aaab5=new URL(window[_0x3e033b(0x1dd)]['href'])[_0x3e033b(0x213)][_0x3e033b(0x176)](_0x1294c4))!=null?_0x2aaab5:void 0x0;}}var _0x51e102=Object[_0x4edbca(0x366)],_0x35b366=Object['getOwnPropertyDescriptor'],_0x341481=(_0x39a746,_0x46480b,_0x139714)=>_0x46480b in _0x39a746?_0x51e102(_0x39a746,_0x46480b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x139714}):_0x39a746[_0x46480b]=_0x139714,_0x44ed60=(_0xbb6c2a,_0x5ee4db,_0xb28f23,_0x1b13b6)=>{for(var _0x862ccd=_0x1b13b6>0x1?void 0x0:_0x1b13b6?_0x35b366(_0x5ee4db,_0xb28f23):_0x5ee4db,_0x20cdbe=_0xbb6c2a['length']-0x1,_0x3f37e2;_0x20cdbe>=0x0;_0x20cdbe--)(_0x3f37e2=_0xbb6c2a[_0x20cdbe])&&(_0x862ccd=_0x3f37e2(_0x862ccd)||_0x862ccd);return _0x862ccd;},_0x316bf2=(_0x29e69c,_0x22997d)=>(_0x55b313,_0x45417f)=>_0x22997d(_0x55b313,_0x45417f,_0x29e69c),_0x59eafe=(_0x2463db,_0x2b084e,_0x4d8d6a)=>_0x341481(_0x2463db,_0x2b084e+'',_0x4d8d6a);const _0x3ce356=_0x4edbca(0x2ea);_0x2b5cdb[_0x4edbca(0x3ce)]=class extends _0xffd2a8[_0x4edbca(0x392)]{constructor(_0x4afa64=_0x37cb15,_0x270b0e,_0x35b8c9,_0x589585){const _0x2d00b6=_0x4edbca;super(),this[_0x2d00b6(0x2b7)]=_0x4afa64,this[_0x2d00b6(0x208)]=_0x270b0e,this[_0x2d00b6(0x311)]=_0x35b8c9,this[_0x2d00b6(0x365)]=_0x589585;const {..._0x52b02f}=_0xffd2a8[_0x2d00b6(0x362)]({},_0x37cb15,this[_0x2d00b6(0x2b7)]);this['_configService']['setConfig'](_0x284e01,_0x52b02f);}[_0x4edbca(0x1c6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x4edbca(0x1c0)](){const _0x478baf=_0x4edbca;this[_0x478baf(0x3a0)]();}[_0x4edbca(0x3db)](){const _0x552565=_0x4edbca;var _0x15a31e;const _0x1a5aee=[[_0x487110],[_0x21b1af],[_0x5b135f],[_0x5b4c45],[_0x1f70dd],[_0x6a624b,{'useClass':_0x4b607b}],[_0x5bf310[_0x552565(0x3e3)],{'useClass':_0x5bf310['WebSocketService']}],[_0x3df360[_0x552565(0x19e)],{'useClass':_0x1d41b3}],[_0x2b5cdb['DesktopCollaborationStatusDisplayController']],[_0xad1c3b],[_0x3f3ac1],[_0x543db2],[_0x12a509],[_0x2b5cdb[_0x552565(0x3a8)]]];_0xffd2a8['registerDependencies'](this[_0x552565(0x311)],_0xffd2a8[_0x552565(0x318)](_0x1a5aee,(_0x15a31e=this['_config'])==null?void 0x0:_0x15a31e['override']));}[_0x4edbca(0x3a0)](){const _0x25df48=_0x4edbca;this[_0x25df48(0x3b0)](this[_0x25df48(0x208)][_0x25df48(0x27c)](_0xffd2a8['UniverInstanceType'][_0x25df48(0x38a)],[_0x447168])),this['disposeWithMe'](this['_renderManagerService'][_0x25df48(0x27c)](_0xffd2a8[_0x25df48(0x3a3)]['UNIVER_SHEET'],[_0xd9a110]));}[_0x4edbca(0x3df)](){const _0x3ab595=_0x4edbca;_0xffd2a8['touchDependencies'](this[_0x3ab595(0x311)],[[_0x543db2],[_0x2b5cdb[_0x3ab595(0x2fb)]],[_0xad1c3b],[_0x3f3ac1],[_0x2b5cdb[_0x3ab595(0x3a8)]]]);}},_0x59eafe(_0x2b5cdb[_0x4edbca(0x3ce)],'pluginName',_0x3ce356),_0x2b5cdb[_0x4edbca(0x3ce)]=_0x44ed60([_0xffd2a8[_0x4edbca(0x3b1)](_0x3df360[_0x4edbca(0x3e2)]),_0x316bf2(0x1,_0x365d9c['IRenderManagerService']),_0x316bf2(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x316bf2(0x3,_0xffd2a8[_0x4edbca(0x175)])],_0x2b5cdb[_0x4edbca(0x3ce)]);var _0x31d2f1=Object['getOwnPropertyDescriptor'],_0x5a4569=(_0x1a23f9,_0x505464,_0xd529dc,_0x1dce00)=>{const _0x230fa7=_0x4edbca;for(var _0x30b9c0=_0x1dce00>0x1?void 0x0:_0x1dce00?_0x31d2f1(_0x505464,_0xd529dc):_0x505464,_0x469e65=_0x1a23f9[_0x230fa7(0x35f)]-0x1,_0x5e73f7;_0x469e65>=0x0;_0x469e65--)(_0x5e73f7=_0x1a23f9[_0x469e65])&&(_0x30b9c0=_0x5e73f7(_0x30b9c0)||_0x30b9c0);return _0x30b9c0;},_0x42c09d=(_0x4ae771,_0x80e4aa)=>(_0x1ab900,_0x3b5abf)=>_0x80e4aa(_0x1ab900,_0x3b5abf,_0x4ae771);_0x2b5cdb['BrowserCollaborationSocketService']=class extends _0x3df360[_0x4edbca(0x30e)]{constructor(_0x32b6a1,_0x18af0d,_0x7f6099,_0x5515dd,_0x357772){super(_0x32b6a1,_0x18af0d,_0x7f6099,_0x5515dd,_0x357772);}async['createSocket'](_0x5eb016){const _0x3bc6a9=_0x4edbca,_0x24aa20=await this[_0x3bc6a9(0x2c8)](),_0x2aa915=this[_0x3bc6a9(0x2b3)](_0x5eb016,_0x24aa20);return this[_0x3bc6a9(0x2ad)](_0x2aa915);}[_0x4edbca(0x2b3)](_0x3f5318,_0xd34181){const _0x3123df=_0x4edbca,_0x3d6580=typeof window>'u'?new URL(_0x3f5318):new URL(_0x3f5318,window[_0x3123df(0x1dd)][_0x3123df(0x307)]);_0x3d6580[_0x3123df(0x213)][_0x3123df(0x23f)](_0x3123df(0x282),_0xd34181);const _0x3feed2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3123df(0x1dd)][_0x3123df(0x234)]);return _0x3feed2['get'](_0x3123df(0x36f))&&_0x3d6580[_0x3123df(0x213)][_0x3123df(0x23f)](_0x3123df(0x36f),_0x3feed2[_0x3123df(0x176)]('runId')),_0x3d6580[_0x3123df(0x360)]();}async[_0x4edbca(0x2c8)](){const _0x5e0972=_0x4edbca;var _0x95ca1c,_0x2f2b43,_0x36db7b;const _0x1492d5=this['_configService']['getConfig'](_0x3df360['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x278303=(_0x95ca1c=_0x1492d5==null?void 0x0:_0x1492d5[_0x5e0972(0x2f9)])!=null?_0x95ca1c:_0x3df360[_0x5e0972(0x254)];return(_0x36db7b=(_0x2f2b43=(await this[_0x5e0972(0x292)][_0x5e0972(0x176)](_0x278303,{'headers':{'Content-Type':_0x5e0972(0x241)}}))[_0x5e0972(0x3af)])==null?void 0x0:_0x2f2b43[_0x5e0972(0x169)])!=null?_0x36db7b:'';}},_0x2b5cdb['BrowserCollaborationSocketService']=_0x5a4569([_0x42c09d(0x0,_0xffd2a8['Inject'](_0xffd2a8['Injector'])),_0x42c09d(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x5bf310[_0x4edbca(0x3a4)])),_0x42c09d(0x2,_0xffd2a8['IConfigService']),_0x42c09d(0x3,_0xffd2a8[_0x4edbca(0x338)]),_0x42c09d(0x4,_0x3c67a0[_0x4edbca(0x349)])],_0x2b5cdb[_0x4edbca(0x335)]);const _0x4cc473=0x7530,_0x4377ca=_0x4edbca(0x1bc);class _0x1799ed extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(){const _0x228705=_0x4edbca;super(),_0x45f8a5(this,_0x228705(0x25d),_0xffd2a8[_0x228705(0x34f)]()),_0x45f8a5(this,'_selfUnitIDs',new Set()),_0x45f8a5(this,'_unitOnClients',new Map()),_0x45f8a5(this,_0x228705(0x2ab),null),_0x45f8a5(this,_0x228705(0x285),new Map()),_0x45f8a5(this,_0x228705(0x2d1),new Map()),this['_init']();}['dispose'](){const _0x2b3797=_0x4edbca;super['dispose'](),this['_clearOtherTimers'][_0x2b3797(0x24c)]((_0x5f439f,_0x23e2ef)=>this[_0x2b3797(0x3b9)](_0x23e2ef)),this[_0x2b3797(0x2ab)]&&window[_0x2b3797(0x18c)](this[_0x2b3797(0x2ab)]);}[_0x4edbca(0x3c8)](_0x99aa){const _0x5834bc=_0x4edbca;return this['_ensureSubject'](_0x99aa)[_0x5834bc(0x1e6)](_0xde1ef0[_0x5834bc(0x280)]());}['editingUnit'](_0x514f13){const _0x3a1796=_0x4edbca;this[_0x3a1796(0x18d)][_0x3a1796(0x22a)]===0x0&&this[_0x3a1796(0x30f)](),this[_0x3a1796(0x18d)]['add'](_0x514f13),this[_0x3a1796(0x310)]({'type':0x0,'memberID':this[_0x3a1796(0x25d)],'unitIDs':[_0x514f13],'isForwarded':!0x1});}[_0x4edbca(0x387)](_0x1ec67f){const _0x3c9fe1=_0x4edbca;this[_0x3c9fe1(0x18d)][_0x3c9fe1(0x326)](_0x1ec67f),this[_0x3c9fe1(0x18d)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3c9fe1(0x18c)](this['_heartbeatTimer']);}[_0x4edbca(0x3a5)](){const _0x7c686a=_0x4edbca;this[_0x7c686a(0x3b0)](_0xffd2a8[_0x7c686a(0x19b)](_0xde1ef0['fromEvent'](window,'storage')['subscribe'](_0x246dc2=>{const _0x6e9d79=_0x7c686a;if(_0x246dc2[_0x6e9d79(0x15c)]!==_0x4377ca||!_0x246dc2[_0x6e9d79(0x32d)])return;const _0x124edb=JSON[_0x6e9d79(0x3e0)](_0x246dc2['newValue']);this[_0x6e9d79(0x1de)](_0x124edb);}))),window[_0x7c686a(0x205)]('unload',()=>this[_0x7c686a(0x310)]({'type':0x1,'memberID':this[_0x7c686a(0x25d)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4edbca(0x1de)](_0x1d8c8b){const _0x459910=_0x4edbca;switch(_0x1d8c8b[_0x459910(0x238)]){case 0x0:this['_handleJoinEvent'](_0x1d8c8b);break;case 0x1:this['_handleLeaveEvent'](_0x1d8c8b);break;case 0x2:this[_0x459910(0x168)](_0x1d8c8b);break;}}[_0x4edbca(0x336)](_0x5a95fe){const _0x168d2f=_0x4edbca,{unitIDs:_0x5ee3c4,memberID:_0x1ffd17,isForwarded:_0x520cbe}=_0x5a95fe;_0x5ee3c4[_0x168d2f(0x24c)](_0x5ac078=>{const _0x2e2b59=_0x168d2f;if(!_0x520cbe&&this[_0x2e2b59(0x269)][_0x2e2b59(0x313)](_0x5ac078)&&this[_0x2e2b59(0x297)](_0x5ac078)[_0x2e2b59(0x31b)](_0x3df360[_0x2e2b59(0x2dc)][_0x2e2b59(0x1a6)]),!this['_unitOnClients'][_0x2e2b59(0x313)](_0x5ac078)||!this['_unitOnClients'][_0x2e2b59(0x176)](_0x5ac078)[_0x2e2b59(0x313)](_0x1ffd17)){const _0x34d0c=this[_0x2e2b59(0x269)][_0x2e2b59(0x176)](_0x5ac078)||new Set();_0x34d0c[_0x2e2b59(0x1d9)](_0x1ffd17),this[_0x2e2b59(0x269)][_0x2e2b59(0x23f)](_0x5ac078,_0x34d0c),this['_scheduleClearOtherTimer'](_0x1ffd17);}}),_0x520cbe||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4edbca(0x34a)](_0x42f966){const _0x49e8a1=_0x4edbca;this['_removeClearOtherTimer'](_0x42f966);const _0x3043a2=window[_0x49e8a1(0x308)](()=>{const _0x3b16f5=_0x49e8a1;this[_0x3b16f5(0x269)]['forEach'](_0x21dd1e=>{_0x21dd1e['delete'](_0x42f966);});},_0x4cc473*0x2);this[_0x49e8a1(0x285)][_0x49e8a1(0x23f)](_0x42f966,_0x3043a2);}['_removeClearOtherTimer'](_0x4bd213){const _0x3cdcd3=_0x4edbca;if(this[_0x3cdcd3(0x285)][_0x3cdcd3(0x313)](_0x4bd213)){const _0xe16aa4=this[_0x3cdcd3(0x285)]['get'](_0x4bd213);_0xe16aa4&&window[_0x3cdcd3(0x1f7)](_0xe16aa4),this['_clearOtherTimers'][_0x3cdcd3(0x23f)](_0x4bd213,null);}}[_0x4edbca(0x2d2)](_0xc828f6){const _0x54477d=_0x4edbca,{memberID:_0x50e2f7,unitIDs:_0x44ac6a}=_0xc828f6;_0x44ac6a[_0x54477d(0x24c)](_0xd1c1de=>{const _0x47422b=_0x54477d;var _0xacfa54;const _0x1071b2=this[_0x47422b(0x269)]['get'](_0xd1c1de);_0x1071b2&&(_0x1071b2[_0x47422b(0x326)](_0x50e2f7),(_0xacfa54=this['_ensureSubject'](_0xd1c1de))==null||_0xacfa54['next'](_0x1071b2['size']===0x0?_0x3df360[_0x47422b(0x2dc)][_0x47422b(0x267)]:_0x3df360[_0x47422b(0x2dc)][_0x47422b(0x1a6)]));}),this[_0x54477d(0x3b9)](_0x50e2f7);}['_handleHeartbeatEvent'](_0x18b218){const _0x5df0bc=_0x4edbca;this[_0x5df0bc(0x34a)](_0x18b218[_0x5df0bc(0x350)]);}['_send'](_0x35a0d4){const _0x1fd18d=_0x4edbca;localStorage[_0x1fd18d(0x2f0)](_0x4377ca,JSON[_0x1fd18d(0x1dc)](_0x35a0d4));}[_0x4edbca(0x30f)](){const _0x3331ae=_0x4edbca;this[_0x3331ae(0x2ab)]=window[_0x3331ae(0x1d8)](()=>{const _0x15333b=_0x3331ae;this[_0x15333b(0x310)]({'type':0x2,'memberID':this[_0x15333b(0x25d)]});},_0x4cc473);}['_ensureSubject'](_0x3757b3){const _0x29fbee=_0x4edbca;return this[_0x29fbee(0x2d1)]['has'](_0x3757b3)||this[_0x29fbee(0x2d1)]['set'](_0x3757b3,new _0xde1ef0['BehaviorSubject'](_0x3df360[_0x29fbee(0x2dc)][_0x29fbee(0x267)])),this[_0x29fbee(0x2d1)][_0x29fbee(0x176)](_0x3757b3);}}var _0x50201e=(_0x216259=>(_0x216259[_0x216259[_0x4edbca(0x189)]=0x0]='UNDEFINED',_0x216259[_0x216259['OK']=0x1]='OK',_0x216259[_0x216259[_0x4edbca(0x372)]=0x2]=_0x4edbca(0x372),_0x216259[_0x216259[_0x4edbca(0x37f)]=0x3]=_0x4edbca(0x37f),_0x216259[_0x216259[_0x4edbca(0x2e1)]=0x4]=_0x4edbca(0x2e1),_0x216259[_0x216259[_0x4edbca(0x1f6)]=0x5]=_0x4edbca(0x1f6),_0x216259[_0x216259[_0x4edbca(0x315)]=0x6]=_0x4edbca(0x315),_0x216259[_0x216259[_0x4edbca(0x2e8)]=0x7]=_0x4edbca(0x2e8),_0x216259[_0x216259[_0x4edbca(0x17b)]=0x8]='TOO_MANY_REQUESTS',_0x216259[_0x216259[_0x4edbca(0x171)]=0x9]=_0x4edbca(0x171),_0x216259[_0x216259[_0x4edbca(0x1f1)]=0xa]=_0x4edbca(0x1f1),_0x216259[_0x216259['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4edbca(0x186),_0x216259[_0x216259['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4edbca(0x29b),_0x216259[_0x216259[_0x4edbca(0x3f6)]=0xd]=_0x4edbca(0x3f6),_0x216259[_0x216259['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4edbca(0x197),_0x216259[_0x216259['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4edbca(0x35a),_0x216259[_0x216259['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4edbca(0x249),_0x216259[_0x216259['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x216259[_0x216259[_0x4edbca(0x178)]=0x1773]=_0x4edbca(0x178),_0x216259[_0x216259[_0x4edbca(0x3bf)]=0x1b59]=_0x4edbca(0x3bf),_0x216259[_0x216259[_0x4edbca(0x36b)]=0x1b5a]=_0x4edbca(0x36b),_0x216259[_0x216259[_0x4edbca(0x2d5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x216259[_0x216259[_0x4edbca(0x1ed)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x216259[_0x216259[_0x4edbca(0x3e4)]=0x1b5d]=_0x4edbca(0x3e4),_0x216259[_0x216259['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4edbca(0x24a),_0x216259[_0x216259[_0x4edbca(0x230)]=0x2329]=_0x4edbca(0x230),_0x216259[_0x216259[_0x4edbca(0x228)]=0x232a]=_0x4edbca(0x228),_0x216259[_0x216259[_0x4edbca(0x27f)]=0x232b]=_0x4edbca(0x27f),_0x216259[_0x216259['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4edbca(0x160),_0x216259[_0x216259[_0x4edbca(0x272)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x216259[_0x216259[_0x4edbca(0x383)]=0x2711]=_0x4edbca(0x383),_0x216259[_0x216259[_0x4edbca(0x222)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x216259[_0x216259['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4edbca(0x2af),_0x216259[_0x216259[_0x4edbca(0x2a3)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x216259[_0x216259[_0x4edbca(0x38f)]=0x271a]=_0x4edbca(0x38f),_0x216259[_0x216259[_0x4edbca(0x2dd)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x216259[_0x216259[_0x4edbca(0x26a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x216259[_0x216259[_0x4edbca(0x1d7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x216259[_0x216259[_0x4edbca(0x3a9)]=0x271e]=_0x4edbca(0x3a9),_0x216259[_0x216259[_0x4edbca(0x1fd)]=0x271f]=_0x4edbca(0x1fd),_0x216259[_0x216259[_0x4edbca(0x35e)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x216259[_0x216259[_0x4edbca(0x35d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x216259[_0x216259[_0x4edbca(0x3e5)]=0x2ee1]=_0x4edbca(0x3e5),_0x216259[_0x216259[_0x4edbca(0x373)]=0x2ee2]=_0x4edbca(0x373),_0x216259[_0x216259['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4edbca(0x182),_0x216259[_0x216259[_0x4edbca(0x263)]=0x2ee4]=_0x4edbca(0x263),_0x216259[_0x216259[_0x4edbca(0x309)]=0x2ee5]=_0x4edbca(0x309),_0x216259[_0x216259['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4edbca(0x217),_0x216259[_0x216259['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4edbca(0x248),_0x216259[_0x216259[_0x4edbca(0x2ae)]=0x32cb]=_0x4edbca(0x2ae),_0x216259[_0x216259['UNRECOGNIZED']=-0x1]=_0x4edbca(0x39a),_0x216259))(_0x50201e||{}),_0xd47c14=Object[_0x4edbca(0x304)],_0x111d2d=(_0x56157e,_0xb1da66,_0x445ae7,_0xaaeed7)=>{for(var _0xca98ec=_0xaaeed7>0x1?void 0x0:_0xaaeed7?_0xd47c14(_0xb1da66,_0x445ae7):_0xb1da66,_0x1befe9=_0x56157e['length']-0x1,_0x309886;_0x1befe9>=0x0;_0x1befe9--)(_0x309886=_0x56157e[_0x1befe9])&&(_0xca98ec=_0x309886(_0xca98ec)||_0xca98ec);return _0xca98ec;},_0x4e08d4=(_0x38445b,_0x5ae222)=>(_0x20724b,_0x35358c)=>_0x5ae222(_0x20724b,_0x35358c,_0x38445b);_0x2b5cdb[_0x4edbca(0x187)]=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x13e2a4,_0x43e3fd,_0x2aeda8){const _0x54f952=_0x4edbca;super(),this[_0x54f952(0x1ec)]=_0x13e2a4,this['_httpService']=_0x43e3fd,this[_0x54f952(0x365)]=_0x2aeda8;}async['runOnServer'](_0x19822a,_0x3b9e11,_0xb2092c,..._0x4d7262){const _0x5d67e0=_0x4edbca;var _0x46a9c4,_0x3b870e,_0x31b82b,_0x97ab36;const _0x415000=this['_instanceService']['getFocusedUnit']();if(!_0x415000)throw new Error(_0x5d67e0(0x18a));const _0x200035=((_0x46a9c4=this[_0x5d67e0(0x365)][_0x5d67e0(0x2a7)](_0x3df360['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x46a9c4:_0x3df360['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x19822a+_0x5d67e0(0x295)+_0x3b9e11,_0x2fcb30=new URL(window['location']['href']),_0x2ee6ed={'scriptId':_0x19822a,'runId':(_0x3b870e=_0x2fcb30[_0x5d67e0(0x213)][_0x5d67e0(0x176)]('runId'))!=null?_0x3b870e:'','function':_0x3b9e11,'unitId':_0x415000[_0x5d67e0(0x386)](),'argsOfFunction':JSON[_0x5d67e0(0x1dc)](_0x4d7262),'invokeId':(_0x31b82b=_0xb2092c[_0x5d67e0(0x239)])!=null?_0x31b82b:'','executionId':(_0x97ab36=_0xb2092c[_0x5d67e0(0x3ee)])!=null?_0x97ab36:''};try{const _0x306656=await this[_0x5d67e0(0x292)]['post'](_0x200035,{'body':_0x2ee6ed});return _0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x289)]&&_0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x289)]['code']!==_0x50201e['OK']?_0x5d67e0(0x28f):_0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x27e)];}catch{return'Failed';}}},_0x2b5cdb[_0x4edbca(0x187)]=_0x111d2d([_0x4e08d4(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x4e08d4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x5bf310[_0x4edbca(0x3a4)])),_0x4e08d4(0x2,_0xffd2a8[_0x4edbca(0x175)])],_0x2b5cdb[_0x4edbca(0x187)]),_0x2b5cdb[_0x4edbca(0x1ac)]=_0x16c981,_0x2b5cdb[_0x4edbca(0x236)]=_0x6a624b,_0x2b5cdb[_0x4edbca(0x24f)]=_0x5370c7,_0x2b5cdb[_0x4edbca(0x3e7)]=_0x1799ed,_0x2b5cdb['WebURLService']=_0x4b607b,Object['defineProperty'](_0x2b5cdb,Symbol['toStringTag'],{'value':_0x4edbca(0x34b)});}));function _0xe1ef(){const _0x4124db=['attrs','delete','@univerjs/sheets','InsertRangeMoveRightCommandId','imageSourceType','collabStatus.conflict','rgba(255,\x20255,\x20255,\x200.01)','row','newValue','getOffsetConfig','hide','unitID','unitId','max','_range','@univerjs/engine-render','BrowserCollaborationSocketService','_handleJoinEvent','Tooltip','ILogService','_lastPointer','addHandlerCallback','asObservable','collabCursorState$','assign','getCurrent','IMessageService','deserializeRangeWithSheet','symbol','textRanges','fill','_initStatusListener','height','Workbook','AWAITING_WITH_PENDING','selection','ISnapshotServerService','_scheduleClearOtherTimer','Module','loadUnit','HEADER_MENU','hovered','generateRandomId','memberID','assignAColorForMemberID','_initEvent','toRgbString','path','OFFLINE','getDocRanges','COLORS','TRANSFORM_CHANGE_OBSERVABLE_TYPE','call','CHANGESET_REVISION_CONFILICT','_draw','registerBeforeClose','PY_RUNTIME_SCRIPT_ERROR','YUUMI_CONNECTOR_URL_NOT_FOUND','length','toString','currentSkeleton$','merge','_docTransformStateCacheService','_updateCollabCursors','_configService','defineProperty','subscribe','UniverUi','show','290040KecqIo','APPLY_NON_SEQUENTIAL_REVISION','getUniverSheetInstance','getMemberID','_logService','runId','DeleteRangeMoveLeftCommandId','getSkeleton','INTERNAL_ERROR','INVALID_INVITE_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCellPositionByOffset','data','getValue','selections','_collabSessionService','@univerjs-pro/collaboration','isActive','min','some','_cursorInfo$','PERMISSION_DENIED','getCoordByCell','map','Vector2','YUUMI_UNABLE_LOAD_URL','_collaborationUIEventService','function','getUnitId','disposeUnit','SOCKET_FAILED_RETRY','rxjs','UNIVER_DOC','_initCommandExecutedListener','UniverDocsUi','0\x200\x2017\x2016','debounce','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationStatus','_docSkeleton','Plugin','RxDisposable','collaboration-client-ui.config','black','currentTheme$','10664738UMzdGv','deepClone','@univerjs/sheets-ui','UNRECOGNIZED','ONLINE','width','SetWorksheetActivateCommand','subscribeEvent','13dGSALr','_registerRenderDependencies','_online','displayName','UniverInstanceType','HTTPService','_init','saveImage','UniverProCollaborationClient','CollaborationDataLoaderController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_themeService','moveTo','column','onLocalMutation','[CollaborationDataLoaderController]','body','disposeWithMe','DependentOn','react','current','JOIN_ROOM_FAILED','OffLineIcon','takeUntil','subunit','_updateSubUnitFromURLParams','_removeClearOtherTimer','@univerjs/docs-ui','getCurrentUnitForType','event$','_docSkeletonManagerService','off-line-icon_clip0_910_343','APPLY_REJECT','beginPath','mask','colorChannel1','@univerjs/engine-formula','div','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','round','_memberService','getUnitStatus$','getActiveSheet','2439435krNthc','114ffOPqX','_anchor','_getAnchorBounding','UniverCollaborationClientUIPlugin','setAlpha','@univerjs/design','_removeCollabCursors','getUndoRedoMutationParamsCache','_hovered','_localStorageService','status$','runRefRangeMutations','FromArray','on-line-icon_clip0_910_349','CollaborationUIEventService','exports','_registerDependencies','pushState','MessageType','fillStyle','_initDependencies','parse','flatMap','UniverCollaborationClientPlugin','ISocketService','APPLY_DUPLICATED','INVITE_CODE_HAS_BEEN_UES','NodePositionConvertToRectRange','WebBrowserSingleActiveUnitService','VIEW_MAIN','getColorFromTheme','_handleHover','getAncestorScale','setStateCache','_disabled','executionId','Error','contains','getUnhiddenWorksheets','url(#on-line-icon_clip0_910_349)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformUndoRedoStack','createElement','EMAIL_VERIFY_CODE_MISMATCH','restore','Optional','UniverDocs','debug','key','closePath','getColor','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers$','_colorIndex','cursorInfo$','hasOwnProperty','_setupSubUnitSync','url(#$1','tag','_handleHeartbeatEvent','ticket','AWAITING','SheetsSelectionsService','focused$','_startDocCollabCursor','roomMembers','sheetId','connectInjector','COMPLETION_FINISHED','complete','className','save','IConfigService','get','disableLocalCache','ENSURE_SNAPSHOT_EXECUTION','onMouseMove','_entityInit$','TOO_MANY_REQUESTS','handleInsertCol','isTransformMutationFailure','ITransformService','startsWith','uni.network.url-service','_hideTimer','INVITE_CODE_REQUIRED','http://www.w3.org/2000/svg','_cachedData','IUIPartsService','MOBILE_VERIFY_CODE_MISMATCH','RemoteUniscriptService','href','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformSelections','clearInterval','_selfUnitIDs','INotificationService','UPDATE_CURSOR','SessionStatus','24qfuEYk','prototype','UNIVER_SHEET','Rectangle','source','LOCAL_CACHE_INTERVAL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRefRangeChange','getFocusedUnit','fromEvent','toDisposable','_transformHistoryAndStateStack','_localeService','ILocalCacheService','lineTo','useDependency','_onCursorDelete','_initResize','SOCKET_FAILED','Unknown\x20user','onPointerLeave$','OTHER_CLIENTS_EDITING','translate(.97)','backgroundColor','_onCursorUpdate','currentColor','m1Prime','CollaborationStatusDisplay','_beforeCloseService','TEXT','_messageService','defIds','makeDirty','_refRangeService','_saveTaskMap','filter','extend','_color','UniverDrawing','collab-text-anchor-','_shapes','object','enableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','createInstance','urlChange$','_render','onRendered','syncEditingCollabCursor','handleIRemoveCol','506zsRULz','_drawTextRange','RefRangeService','onStarting','transformByState','fillText','isEditing','purple.300','onCommandExecuted','undoState','CONFLICT','getCollabCursors$','handleInsertRow','findNodePositionByCharIndex','_updateURLWithCurrentState','CollaborationUIEventId','measureText','_cursors','_univerInstanceService','_scheduleSaving','YUUMI_ALL_TABLES_IS_INVALID','setInterval','add','params','RECT','stringify','location','_handleEvent','_collabCursorController','getItem','_textBubble','...','_collaborationController','InsertRangeMoveDownCommandId','getStateCache','pipe','_context','m2Prime','Tools','yellow.400','_getSheetObject','_instanceService','APPLY_PERMISSION_DENIED','replace','use','getRelativeToViewportCoord','LOGIN_FAILED','onPointerEnter$','_assignedColors','handleInsertRangeMoveDown','isArray','UNAUTHENTICATED','clearTimeout','shareReplay','color','then','onTransformChange$','DataLoaderService','YUUMI_AI_RUN_FAILED','doc.mutation.rich-text-editing','engine','onPointerMove$','executeCommand','collabStatus.synced','CollaborationController','M0\x200H16V16H0z','addEventListener','_docStateChangeManagerService','_docTransformIMECacheService','_renderManagerService','_docClipboardService','handleInsertRangeMoveRight','startRow','registerRefRange','xlink:href','DocSkeletonManagerService','_cursorShapes','white','send','split','searchParams','setParam','collaboration.single-unit.warning','univer-mr-2\x20univer-flex\x20univer-text-xl','WECHAT_HAS_BEEN_BOUND','DocStateChangeManagerService','LocaleService','text','unsubscribe','_docTransformSelectionsService','_dataLoaderService','none','getTypeOfUnitAdded$','Inject','ColorKit','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOnline','_hover','session.connection-failed','permission.title','forwardRef','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','random','size','UniverCore','UniverProCollaborationClientUi','skeleton','DisposableCollection','_anchorDot','LICENSE_MAX_UNITS_EXCEEDED','saveTaskMap','fillRule','range','search','createIdentifier','IURLService','InsertColCommandId','type','invokeId','collabStatus.offline','IRemoteInstanceService','includes','rxjs/operators','_colorAssignService','set','registerComponent','application/json','CLOSE_ROOM','bottom','sheetID','defs','addClipboardHook','@univerjs/docs','MOBILE_HAS_BEEN_BOUND','SNAPSHOT_INVALID_SNAPSHOT','CONNECTOR_DATA_TOO_LARGE','popstate','forEach','CommandType','UniverSheets','SheetCollabCursorShape','blue.400','ThemeService','getRenderById','getParam','DEFAULT_WS_SESSION_TICKET_URL','UniverEngineRender','docStateChange$','handleDeleteRangeMoveLeft','univer-flex\x20univer-items-center','children','apply','444hXLoug','_eventUnsubscribe','_id','_getSaveTimeout','869479sEFfco','startColumn','getOwnPropertySymbols','_localCacheService','USER_NOT_INVITED_CODE','string','6CMbCtO','_updateLocalCursor','NO_OTHER_CLIENTS_EDITING','with','_unitOnClients','YUUMI_TABLE_NOT_FOUND_IN_UNIT','drawWith','push','@univerjs/drawing','UniverProCollaboration','sessionStatus$','useRef','Rect','LICENSE_DISTRO_REJECTED','_drawRectRange','React','redoState','combineLatest','svg','BuiltInUIPart','arc','dispose','_status$','registerRenderModule','DocSelectionManagerService','result','LICENSE_IMPORT_SIZE_EXCEEDED','distinctUntilChanged','getMergeData','sessionTicket','from','DocIMEInputManagerService','_clearOtherTimers','MemberService','transformIMECache','_name','error','DocCollaborationEntity','_saveCache','Warning','handleDeleteRangeMoveUp','_revisionService','Failed','OnLineIcon','ranges','_httpService','RichTextEditingMutation','exhaustSavingTask','/run/','SheetSkeletonManagerService','_ensureSubject','_sheetSkeletonManagerService','transformStateCache','_session','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','whenReady','getCurrentSelections','MUTATION','reconnect','switchMap','getViewport','_toggleOffline','YUUMI_SUBSCRIPTION_NOT_FOUND','jiqing.500','_getScale','_urlService','getConfig','@univerjs/rpc','_initEntityListener','session.collaboration-timeout','_heartbeatTimer','UniverEngineFormula','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','YUUMI_RATE_OVER_LIMIT','name','UniverNetwork','94708LzRGFo','_createSocketURL','fromEventSubject','_getMergeRange','getSheetBySheetId','_config','CollaborationSessionService','_labelPosition','DOC_RANGE_TYPE','serializeRangeWithSheet','_initStatusComponent','transform','_commandService','_backgroundColor','dispose$','_setupBeforeClosingHandler','CollaborationEvent','SUBMIT_CHANGESET_TIMEOUT','addObject','init','debounceTime','TEXT_RANGE_LAYER_INDEX','_getSessionTicket','_roomMembers$','_notificationService','ICommandService','collab-text-range-','Disposable','_transformService','jsx','EffectRefRangId','_unitStatus','_handleLeaveEvent','_collabCursorState$','collaboration.closeRoom','APPLY_REVISION_CONFILICT','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','getRangePointData','UniverIcon','getTypeOfUnitDisposed$','UniverDesign','concat','UnitStatus','YUUMI_ASYNCIO_CANCELLED','_transformPreviousActiveRange','IBeforeCloseService','subUnitId','NOT_FOUND','IUniverInstanceService','#FFF','@univerjs/ui','_entities','_syncEditingCollabCursorService','indexOf','INVALID_ARGUMENT','top','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','idSuffix','setShapeProps','unit','unshift','4633803EjdLdY','setItem','Injector','_drawAnchor','red.300','transformMutation','SetDocZoomRatioOperation','RegularPolygon','BehaviorSubject','_imageIoService','wsSessionTicketUrl','getVpScrollXYInfoByPosToVp','DesktopCollaborationStatusDisplayController','handleIRemoveRow','cursorInfo','evenodd','176338VGnxOp','triggerDblclick','RemoveColCommandId','getCollabEntity$','session.will-retry','getOwnPropertyDescriptor','OTHER_CLIENT_EDITING','_scene','origin','setTimeout','INVITE_CODE_ALREADY_BOUND','transformMutationsWithChangeset','collabStatus.notCollab','labelPosition','_uiPartsService','CollaborationSocketService','_scheduleHeartbeat','_send','_injector','@univerjs/network','has','substring','ALREADY_EXISTS','values','mutations','mergeOverrideWithDependencies','history','getSheetId','next','1em','operators','entries','transformRemoteChangeset','requireSession','NOT_COLLAB','SYNCED','replaceDocRanges','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'];_0xe1ef=function(){return _0x4124db;};return _0xe1ef();}