@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504221607 → 0.6.10-nightly.202504231607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x86a805=_0x4594;(function(_0x451c2e,_0x58ed4d){const _0x2e0fae=_0x4594,_0x54b286=_0x451c2e();while(!![]){try{const _0x235149=-parseInt(_0x2e0fae(0x1f2))/0x1*(parseInt(_0x2e0fae(0x373))/0x2)+-parseInt(_0x2e0fae(0x196))/0x3*(parseInt(_0x2e0fae(0x2de))/0x4)+-parseInt(_0x2e0fae(0x215))/0x5+-parseInt(_0x2e0fae(0x1c2))/0x6*(-parseInt(_0x2e0fae(0x2ec))/0x7)+parseInt(_0x2e0fae(0x259))/0x8*(-parseInt(_0x2e0fae(0x306))/0x9)+-parseInt(_0x2e0fae(0x252))/0xa+parseInt(_0x2e0fae(0x22c))/0xb*(parseInt(_0x2e0fae(0x213))/0xc);if(_0x235149===_0x58ed4d)break;else _0x54b286['push'](_0x54b286['shift']());}catch(_0x39f0cf){_0x54b286['push'](_0x54b286['shift']());}}}(_0x1d15,0x6b9ae));var Bt=Object[_0x86a805(0x33d)],kt=(_0x4353a7,_0x4a732d,_0x1e92d2)=>_0x4a732d in _0x4353a7?Bt(_0x4353a7,_0x4a732d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e92d2}):_0x4353a7[_0x4a732d]=_0x1e92d2,_=(_0xa18c14,_0xbfd991,_0x20bf12)=>kt(_0xa18c14,typeof _0xbfd991!=_0x86a805(0x178)?_0xbfd991+'':_0xbfd991,_0x20bf12);import{MemberService as _0x4254e9,SessionStatus as _0x48c2ef,CollaborationSessionService as _0x1c0a48,CollaborationStatus as _0x185889,CollaborationController as _0x1c5104,ILocalCacheService as _0x2f93fc,CollaborationUIEventService as _0x1237de,CollaborationUIEventId as _0x57be84,DataLoaderService as _0x31df32,DocCollaborationEntity as _0x5706ec,getLocalCacheKey as _0x3362f8,LOCAL_CACHE_INTERVAL as _0x2cc217,LOCAL_CACHE_INTERVAL_KEY as _0x1160db,UniverCollaborationClientPlugin as _0x3ae7ce,CollaborationSocketService as _0xc74cd5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33a672,DEFAULT_WS_SESSION_TICKET_URL as _0x2702ba,UnitStatus as _0x8c34b9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1374d1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x113642}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xb123e2,Disposable as _0x413335,DOC_RANGE_TYPE as _0x30e768,Inject as _0x545293,Injector as _0xd016db,IUniverInstanceService as _0x3b4d53,ICommandService as _0x27119f,debounce as _0x395ecb,Rectangle as _0x4392ad,DisposableCollection as _0x377b6b,toDisposable as _0x571cee,UniverInstanceType as _0x5e1ff3,Tools as _0x168ff4,COLORS as _0x26d279,ColorKit as _0x2e19d1,ThemeService as _0x1eaa15,fromEventSubject as _0x580ec3,LocaleService as _0x31b4bf,createIdentifier as _0x571548,ILogService as _0x1439a0,Optional as _0x3026a9,Workbook as _0x1038c2,CommandType as _0x29bf00,IConfigService as _0x48306b,ILocalStorageService as _0x3734d1,DependentOn as _0x49e5b2,Plugin as _0x51a27e,merge as _0x27f3ab,registerDependencies as _0x541539,mergeOverrideWithDependencies as _0x2c8e86,touchDependencies as _0xd5aa2e,generateRandomId as _0x49a986}from'@univerjs/core';import{Shape as _0x48deee,Rect as _0x48588e,getColor as _0xf39730,RegularPolygon as _0x59edba,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x295533,Vector2 as _0x5c22fd,SHEET_VIEWPORT_KEY as _0x1bde1a,IRenderManagerService as _0x293f75}from'@univerjs/engine-render';import{ISocketService as _0x97dc22,WebSocketService as _0x49dc8d,HTTPService as _0x231e97}from'@univerjs/network';import{IDocClipboardService as _0x2c8b74,NodePositionConvertToCursor as _0x3d8185,NodePositionConvertToRectRange as _0x6af631,TEXT_RANGE_LAYER_INDEX as _0x2b96c7,SetDocZoomRatioOperation as _0x24bb32,DocIMEInputManagerService as _0x34b76a,DocStateChangeManagerService as _0x54f7c6}from'@univerjs/docs-ui';import{IImageIoService as _0x165249}from'@univerjs/drawing';function _0x1d15(){const _0x49adcc=['event$','getActiveRange','getItem','_univerInstanceService','editingUnit','setTimeout','PERMISSION_DENIED','_collabSessionService','tag','session.will-retry','collab-rect-range-','currentColor','subscribe','11534633EANlyC','HEADER_MENU','_getSessionTicket','translate(.97)','show','_initResize','arc','_memberService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getUnitId','_anchor','eventID','LICENSE_IMPORT_SIZE_EXCEEDED','getMemberID','mutations','_toggleOffline','m1Prime','requireSession','random','setActiveRange','_transformPreviousActiveRange','unshift','_instanceService','NOT_COLLAB','round','wsSessionTicketUrl','collabCursorState$','unitID','transformRemoteChangeset','CONFLICT','disableLocalCache','_entities','_updateLocalCursor','find','measureText','on-line-single_clip0_910_349','/run/','APPLY_PERMISSION_DENIED','2354450aVlHkt','_initStatusComponent','_drawTextRange','then','replace','OnLineSingle','_removeCollabCursors','325912TWrAgN','assign','JOIN_ROOM_FAILED','idSuffix','_transformUndoRedoStack','transformMutationsWithChangeset','UNDEFINED','has','column','_handleLeaveEvent','_renderManagerService','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','unsubscribe','_context','hasOwnProperty','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','sheetID','_handleHeartbeatEvent','APPLY_DUPLICATED','_logService','_document','_getSaveTimeout','getUnitStatus$','getCollabEntity$','getCollabCursors$','OTHER_CLIENT_EDITING','_collaborationUIEventService','_registerRenderDependencies','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','invokeId','M0\x200H16V16H0z','_docStateChangeManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.offline','_color','_beforeCloseService','clearInterval','_localCacheService','collabStatus.synced','NOT_FOUND','fill','_removeClearOtherTimer','ranges','_shapes','_registerDependencies','_lastPointer','addObject','dispose$','_toggleOnline','_eventUnsubscribe','selection','_refreshCollabCursors','USER_NOT_INVITED_CODE','OffLineSingle','url(#off-line-single_clip0_910_343)','transformIMECache','collab-client.tooltip.reconnect','_docTransformStateCacheService','UNIVER_SHEET','hovered','_clearOtherTimers','onPointerLeave$','_setupSubUnitSync','disposeWithMe','createSocket','status$','transform','application/json','_scheduleSaving','_render','init','_cachedData','range','createInstance','univer-online-status-icon','UNIVER_DOC','subunit','INVALID_ARGUMENT','getConfig','MUTATION','_doCreateSocket','_status$','setShapeProps','SYNCED','engine','...','1em','focused$','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_id','roomMembers','_updateSubUnitFromURLParams','_roomMembers$','startRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','substring','univer-online-status','redoState','_unitStatus','_initStatusListener','current','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','activeSheet$','getDocRanges','_backgroundColor','_initDependencies','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','source','bottom','height','reconnect','_anchorDot','runId','permission.content','textRanges','drawWith','_notificationService','get','setItem','_initEvent','defs','Error','_colorAssignService','url(#$1','CONNECTOR_DATA_TOO_LARGE','startColumn','INTERNAL_ERROR','8OsJFwe','pushState','uni.network.url-service','_collabCursorState$','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refRangeService','cursorInfo$','forEach','entries','YUUMI_ASYNCIO_CANCELLED','_dataLoaderService','row','attrs','14NBpPyS','_heartbeatTimer','name','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','className','getUndoRedoMutationParamsCache','INVITE_CODE_ALREADY_BOUND','CHANGESET_REVISION_CONFILICT','addHandlerCallback','asObservable','getCellPositionByOffset','path','0\x200\x2017\x2016','offline','getViewport','whenReady','pluginName','with','collaboration-client.offline-data-not-saved','subscribeEvent','_themeService','unit','length','addObjects','triggerDblclick','54gkxMDV','_docSyncEditingCollabCursorService','setParam','type','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','sheetId','SOCKET_FAILED_RETRY','getValue','loadOfflineData','svg','verdancy600','_init','_handleJoinEvent','currentTheme$','clipPath','push','_saveCache','getTypeOfUnitDisposed$','onTransformChange$','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','searchParams','setStateCache','red300','override','_updateCollabCursors','registerBeforeClose','_drawAnchor','newValue','registerRenderModule','OFFLINE','TEXT','values','_scheduleHeartbeat','hide','function','purple300','prototype','gold400','DeleteRangeMoveLeftCommandId','_unitOnClients','_injector','#FFF','AWAITING_WITH_PENDING','undoState','DeleteRangeMoveUpCommandId','generateRandomId','unitId','data','session.collaboration-timeout','APPLY_NON_SEQUENTIAL_REVISION','subUnitId','dispose','defineProperty','_labelPosition','_scene','getMember','_entityInit$','_config','univer-online-status-title','collabStatus.syncing','getRenderById','_initCommandExecutedListener','InsertRangeMoveRightCommandId','params','updateOfflineData','getTypeOfUnitAdded$','complete','PENDING','ONLINE','call','MoveRangeCommandId','getCurrentSelections','_textBubble','delete','apply','string','text','_messageService','sessionTicket','color','RECT','transformMutation','getSheetBySheetId','getSheetId','displayName','indexOf','collabStatus.conflict','_online','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','_initEntityListener','add','ACTIVE_UNIT_EVENT_CHANNEL','session.connection-failed','replaceState','enableLocalCache','univer-flex\x20univer-items-center','_saveTaskMap','error','toString','parse','off-line-single','_getSheetObject','defIds','storage','_transformService','18014azRkHR','evenodd','_docClipboardService','SOCKET_FAILED','_startSheetCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','next','getOwnPropertyDescriptor','collaboration.closeRoom','_range','cursorInfo','_collaborationController','contains','symbol','_docSkeleton','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','saveOfflineData','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_onCursorUpdate','fillStyle','top','ENSURE_SNAPSHOT_EXECUTION','location','getFocusedUnit','doc.mutation.rich-text-editing','_createSocketURL','trim','getActiveSheet','AWAITING','_setupBeforeClosingHandler','getRangePointData','_onRefRangeChange','InsertColCommandId','_hovered','memberID','ALREADY_EXISTS','_syncEditingCollabCursorService','onRendered','toRgbString','MOBILE_HAS_BEEN_BOUND','412974dciMOr','sessionStatus$','assignAColorForMemberID','executeCommand','save','propertyIsEnumerable','transformSelections','setAlpha','_docTransformIMECacheService','UPDATE_CURSOR','Unknown\x20user','off-line-single_clip0_910_343','set','deepClone','_cursor','split','_cursors','isEditing','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','isArray','_httpService','imageSourceType','_handleEvent','_cursorShapes','children','findNodePositionByCharIndex','_selfUnitIDs','_name','mask','_commandService','stringify','rgba(255,\x20255,\x20255,\x200.01)','history','_assignedColors','makeDirty','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','debug','resize','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_UNITS_EXCEEDED','_urlService','colorChannel1','671418uoRYGy','TOO_MANY_REQUESTS','Failed','onPointerEnter$','0\x200\x2016\x2016','PY_RUNTIME_SCRIPT_ERROR','on-line-single','currentSkeleton$','replaceDocRanges','addClipboardHook','_startDocCollabCursor','_draw','collab-text-range-','restore','_hideTimer','div','getRelativeToViewportCoord','popstate','_scheduleClearOtherTimer','online','selections','map','INVALID_INVITE_CODE','endColumn','_uiPartsService','univer-offline','black','_localStorageService','LOGIN_FAILED','_hover','href','getParam','onStarting','code','urlChange$','extend','_drawRectRange','_docTransformSelectionsService','result','_handleHover','entityInit$','body','_onCursorDelete','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','_disabled','_getAnchorBounding','_configService','4ermkCj','m2Prime','saveTaskMap','width','_send','VIEW_MAIN','#fff','getStateCache','onCommandExecuted','getMergeData','collaboration.single-unit.warning','removeParam','getOwnPropertySymbols','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','blue400','APPLY_REJECT','onMouseMove','USERS_LEAVE','pipe','concat','closePath','_revisionService','send','use','url(#on-line-single_clip0_910_349)','getAncestorScale','_session','clearTimeout','_ensureSubject','fillText','isActive','Warning','12ypUDgg','size','202180SJUPUR','origin','UniverIcon','backgroundColor','RemoveColCommandId','from','collab-text-anchor-','disposeUnit','icon','getSkeleton'];_0x1d15=function(){return _0x49adcc;};return _0x1d15();}import{BehaviorSubject as _0x5bcfa8,debounceTime as _0xd328d8,takeUntil as _0x51fbbc,Subject as _0x2fbe72,filter as _0x5c1e9b,switchMap as _0x385b28,merge as _0x3bf1a6,combineLatest as _0xf7d9e2,of as _0x2404b0,fromEvent as _0x1185c0,shareReplay as _0x39811f,mapTo as _0x1cbba8,distinctUntilChanged as _0x410251}from'rxjs';import{SetTextSelectionsOperation as _0x17ffb8,RichTextEditingMutation as _0x1fd37e,DocSelectionManagerService as _0x40410e,DocSkeletonManagerService as _0x35d61b}from'@univerjs/docs';import{ITransformService as _0x5241f1,CollaborationEvent as _0x36fd87,isTransformMutationFailure as _0x503208,isTransformMutationsWithChangesetSuccess as _0x13d2b8,RevisionService as _0x1f48b9,ISnapshotServerService as _0x4fc4d8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x96a6cf,serializeRangeWithSheet as _0x2aa332}from'@univerjs/engine-formula';import{RefRangeService as _0x4d8f62,SetSelectionsOperation as _0x2c0c3d,SheetsSelectionsService as _0x5885ee,EffectRefRangId as _0x4b2a35,handleIRemoveRow as _0x45de1d,handleIRemoveCol as _0x213a7d,handleMoveRange as _0x223707,handleInsertRow as _0x51d76c,handleInsertRangeMoveRight as _0x3c3473,handleInsertRangeMoveDown as _0x4b1610,handleInsertCol as _0x4d102b,handleDeleteRangeMoveUp as _0x1b2a2b,handleDeleteRangeMoveLeft as _0x551093,runRefRangeMutations as _0x50ffee,SetWorksheetActivateCommand as _0x2e0678}from'@univerjs/sheets';import{map as _0x169f56,filter as _0xc45b71,throttleTime as _0x325872,takeUntil as _0x567084,switchMap as _0x5d3754}from'rxjs/operators';import{SheetSkeletonManagerService as _0x17ce2b,getCoordByCell as _0x365e27,getSheetObject as _0x4dd264}from'@univerjs/sheets-ui';import{jsx as _0x2a7306,jsxs as _0x3c0c6a}from'react/jsx-runtime';import{useObservable as _0x52d375,useDependency as _0x3ced37,IUIPartsService as _0x13c01c,BuiltInUIPart as _0x4d1246,connectInjector as _0x105aa6,IBeforeCloseService as _0x422070,IMessageService as _0x21bd27,INotificationService as _0x59f9b4}from'@univerjs/ui';import{clsx as _0x530cb9,Tooltip as _0x67b36c,MessageType as _0x2baf77}from'@univerjs/design';import{forwardRef as _0x372972,useRef as _0xfd6f42,createElement as _0x5678ba,useCallback as _0x127ea7}from'react';import{IRemoteInstanceService as _0x58ce1d}from'@univerjs/rpc';var li=Object[_0x86a805(0x172)],_i=(_0x21a8cc,_0x632f18,_0x5c0052,_0x3f5173)=>{const _0x32a696=_0x86a805;for(var _0x4ba3df=_0x3f5173>0x1?void 0x0:_0x3f5173?li(_0x632f18,_0x5c0052):_0x632f18,_0x5cbcd1=_0x21a8cc[_0x32a696(0x303)]-0x1,_0x127cc1;_0x5cbcd1>=0x0;_0x5cbcd1--)(_0x127cc1=_0x21a8cc[_0x5cbcd1])&&(_0x4ba3df=_0x127cc1(_0x4ba3df)||_0x4ba3df);return _0x4ba3df;},Qe=(_0x4cd2e4,_0x473781)=>(_0x1e39a6,_0x1b0673)=>_0x473781(_0x1e39a6,_0x1b0673,_0x4cd2e4);let Ue=class extends _0xb123e2{constructor(_0x157b18,_0x3c071d){const _0x2e2f87=_0x86a805;super(),this[_0x2e2f87(0x375)]=_0x157b18,this['_imageIoService']=_0x3c071d,this[_0x2e2f87(0x312)]();}[_0x86a805(0x312)](){const _0x398e00=_0x86a805,_0x4fddee=this;this[_0x398e00(0x299)](this['_docClipboardService'][_0x398e00(0x1cb)]({'onBeforePasteImage':async _0x3a145d=>{const _0x550896=_0x398e00,_0x416a95=await _0x4fddee['_imageIoService']['saveImage'](_0x3a145d);return _0x416a95?{'source':_0x416a95[_0x550896(0x2ca)],'imageSourceType':_0x416a95[_0x550896(0x1ac)]}:null;}}));}};Ue=_i([Qe(0x0,_0x2c8b74),Qe(0x1,_0x165249)],Ue);const qe=[_0x86a805(0x32c),'jiqing500',_0x86a805(0x311),_0x86a805(0x31f),_0x86a805(0x201),_0x86a805(0x32e)];class He extends _0x413335{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5d6695){const _0x57db5e=_0x86a805;if(this[_0x57db5e(0x1b8)][_0x57db5e(0x260)](_0x5d6695))return this[_0x57db5e(0x1b8)][_0x57db5e(0x2d4)](_0x5d6695);const _0x2e844c=qe[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qe[_0x57db5e(0x303)],this[_0x57db5e(0x1b8)][_0x57db5e(0x1a2)](_0x5d6695,_0x2e844c),_0x2e844c;}}function Dt(_0x4c8539){const _0x3cdbf0=_0x86a805;let _0x2da0e0='';for(const _0x10680e of _0x4c8539){const {startOffset:_0xf2781a,endOffset:_0x1bb13e,isActive:_0x1161a3,rangeType:_0x1a81c3,segmentId:_0x55740d,segmentPage:_0x860b96}=_0x10680e;_0x2da0e0[_0x3cdbf0(0x303)]&&(_0x2da0e0+=','),_0x2da0e0+=_0xf2781a+':'+_0x1bb13e+':'+(_0x1161a3?'1':'0')+':'+_0x1a81c3+':'+_0x55740d+':'+_0x860b96;}return _0x2da0e0;}function hi(_0xdbbd84){const _0x1aef30=_0x86a805,_0x4ddb11=_0xdbbd84[_0x1aef30(0x1a5)](','),_0x4e2fd4=[];for(const _0x287986 of _0x4ddb11){const [_0xd2d732,_0x302e20,_0x48a87f,_0x1b2d66,_0x45a9e9,_0x236e88]=_0x287986[_0x1aef30(0x1a5)](':');_0x4e2fd4[_0x1aef30(0x316)]({'startOffset':Number(_0xd2d732),'endOffset':Number(_0x302e20),'collapsed':_0xd2d732===_0x302e20,'isActive':_0x48a87f==='1','rangeType':_0x1b2d66===_0x30e768[_0x1aef30(0x327)]?_0x30e768[_0x1aef30(0x327)]:_0x30e768[_0x1aef30(0x359)],'segmentId':typeof _0x45a9e9==_0x1aef30(0x354)?String(_0x45a9e9):'','segmentPage':Number(_0x236e88!=null?_0x236e88:-0x1)});}return _0x4e2fd4['some'](_0x2f77e5=>_0x2f77e5['isActive'])||(_0x4e2fd4[0x0][_0x1aef30(0x211)]=!0x0),_0x4e2fd4;}class je extends _0xb123e2{constructor(){const _0x4d5fb0=_0x86a805;super(...arguments),_(this,_0x4d5fb0(0x2e1),new _0x5bcfa8(null)),_(this,'collabCursorState$',this[_0x4d5fb0(0x2e1)][_0x4d5fb0(0x2f6)]());}[_0x86a805(0x268)](_0x5aea63){const _0x32b4a4=_0x86a805,{unitID:_0x2d9141,memberID:_0x4712a3,textRanges:_0x54824b}=_0x5aea63,_0x3df2ce=Dt(_0x54824b);if(_0x3df2ce==='')return;const _0x1e8219={'unitID':_0x2d9141,'memberID':_0x4712a3,'selection':_0x3df2ce};this['_collabCursorState$'][_0x32b4a4(0x171)](_0x1e8219);}}function _0x4594(_0x36a2a0,_0x369d17){const _0x1d154a=_0x1d15();return _0x4594=function(_0x4594ec,_0x317c29){_0x4594ec=_0x4594ec-0x171;let _0x4ad5d9=_0x1d154a[_0x4594ec];return _0x4ad5d9;},_0x4594(_0x36a2a0,_0x369d17);}var ui=Object[_0x86a805(0x172)],di=(_0x33a824,_0x1e0972,_0x20994b,_0x378e73)=>{const _0x5150d9=_0x86a805;for(var _0x35ff5a=_0x378e73>0x1?void 0x0:_0x378e73?ui(_0x1e0972,_0x20994b):_0x1e0972,_0x572042=_0x33a824[_0x5150d9(0x303)]-0x1,_0xc15de0;_0x572042>=0x0;_0x572042--)(_0xc15de0=_0x33a824[_0x572042])&&(_0x35ff5a=_0xc15de0(_0x35ff5a)||_0x35ff5a);return _0x35ff5a;},w=(_0x5061f5,_0x4802ac)=>(_0x270db7,_0x36aff6)=>_0x4802ac(_0x270db7,_0x36aff6,_0x5061f5);const fi=0x12c,Si=0x64;let Me=class extends _0xb123e2{constructor(_0x47f57f,_0x1d436d,_0x265ba9,_0x357a16,_0x12258c,_0x112c77,_0x4d2b56,_0x5a9a19,_0xd16403){const _0x255bc7=_0x86a805;super(),_(this,_0x255bc7(0x360),!0x1),_(this,_0x255bc7(0x312),!0x1),_(this,'_cursorInfo$',new _0x5bcfa8(new Map())),_(this,_0x255bc7(0x2e5),this[_0x255bc7(0x1bb)][_0x255bc7(0x2f6)]()),_(this,_0x255bc7(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0xd328d8(fi))),_(this,_0x255bc7(0x24c),_0x395ecb(_0x40a329=>{const _0x582bdf=_0x255bc7,_0x413cc7={'eventID':_0x36fd87[_0x582bdf(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x582bdf(0x20d)][_0x582bdf(0x239)](),'selection':Dt(_0x40a329)}};this['_session'][_0x582bdf(0x209)](_0x413cc7,this[_0x582bdf(0x247)]);},Si)),(this['unitID']=_0x47f57f,this[_0x255bc7(0x20d)]=_0x1d436d,this[_0x255bc7(0x331)]=_0x265ba9,this[_0x255bc7(0x2d9)]=_0x357a16,this[_0x255bc7(0x233)]=_0x12258c,this[_0x255bc7(0x192)]=_0x112c77,this[_0x255bc7(0x372)]=_0x4d2b56,this[_0x255bc7(0x222)]=_0x5a9a19,this[_0x255bc7(0x1b4)]=_0xd16403);}get['cursorInfo'](){const _0x10cdc2=_0x86a805;return this[_0x10cdc2(0x1bb)][_0x10cdc2(0x30e)]();}get[_0x86a805(0x2b5)](){return this['_roomMembers$']['getValue']();}[_0x86a805(0x33c)](){const _0xf0627d=_0x86a805;super[_0xf0627d(0x33c)](),this[_0xf0627d(0x1bb)]['next'](new Map()),this['_cursorInfo$'][_0xf0627d(0x34b)](),this['_roomMembers$']['next']([]),this[_0xf0627d(0x2b7)][_0xf0627d(0x34b)]();}[_0x86a805(0x2a0)](){const _0x47cf1f=_0x86a805;this[_0x47cf1f(0x312)]||(this[_0x47cf1f(0x312)]=!0x0,this[_0x47cf1f(0x20d)][_0x47cf1f(0x197)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x2ef5f0=>{const _0x337a30=_0x47cf1f;_0x2ef5f0===_0x48c2ef[_0x337a30(0x34d)]?this[_0x337a30(0x28a)]():this[_0x337a30(0x23b)]();}),this[_0x47cf1f(0x20d)][_0x47cf1f(0x21f)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))['subscribe'](_0x170026=>{const _0x5ad3dc=_0x47cf1f,_0x2d74ad=_0x170026[_0x5ad3dc(0x237)];_0x2d74ad===_0x36fd87[_0x5ad3dc(0x19f)]&&this[_0x5ad3dc(0x180)](_0x170026),_0x2d74ad===_0x36fd87[_0x5ad3dc(0x204)]&&this[_0x5ad3dc(0x1ec)](_0x170026);}),this['disposeWithMe'](this[_0x47cf1f(0x1b4)][_0x47cf1f(0x1fa)](_0x531f2a=>{const _0x3cf526=_0x47cf1f,_0x14b105=_0x531f2a[_0x3cf526(0x348)];_0x14b105!=null&&this['_online']&&_0x531f2a['id']===_0x17ffb8['id']&&_0x14b105[_0x3cf526(0x337)]===this[_0x3cf526(0x247)]&&_0x14b105[_0x3cf526(0x1a7)]===!0x1&&_0x14b105['ranges']['length']>0x0&&this[_0x3cf526(0x24c)](_0x14b105[_0x3cf526(0x284)]);})),this[_0x47cf1f(0x192)][_0x47cf1f(0x246)]['pipe'](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x32bb44=>{const _0x1e0e32=_0x47cf1f;if((_0x32bb44==null?void 0x0:_0x32bb44[_0x1e0e32(0x247)])!==this[_0x1e0e32(0x247)])return;const _0xad9198={'eventID':_0x36fd87[_0x1e0e32(0x19f)],'data':_0x32bb44};this[_0x1e0e32(0x180)](_0xad9198);}),this[_0x47cf1f(0x299)](this[_0x47cf1f(0x1b4)]['onCommandExecuted'](_0x22d449=>{const _0x1a5d1f=_0x47cf1f;if(_0x22d449[_0x1a5d1f(0x348)]==null)return;const _0x18b165=_0x22d449[_0x1a5d1f(0x348)];if(_0x22d449['id']!==_0x1fd37e['id']||_0x18b165[_0x1a5d1f(0x337)]!==this[_0x1a5d1f(0x247)])return;const _0x445b6d={'id':_0x1a5d1f(0x186),'params':_0x18b165},_0x5ccada=this[_0x1a5d1f(0x175)];for(const [_0x5e5e7a,_0x54a34a]of _0x5ccada){const _0x976f71={'id':_0x1a5d1f(0x186),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x54a34a[_0x1a5d1f(0x284)]}},_0x3ab5eb=this['_transformService'][_0x1a5d1f(0x35a)](_0x445b6d,_0x976f71,!0x1);if(_0x503208(_0x3ab5eb))throw _0x3ab5eb['error'];_0x5ccada[_0x1a5d1f(0x1a2)](_0x5e5e7a,{..._0x54a34a,'ranges':_0x3ab5eb[_0x1a5d1f(0x1f3)][_0x1a5d1f(0x348)][_0x1a5d1f(0x2d1)]});}queueMicrotask(()=>{const _0x59adad=_0x1a5d1f;this[_0x59adad(0x1bb)][_0x59adad(0x171)](_0x5ccada);});})));}[_0x86a805(0x180)](_0x321389){const _0x363874=_0x86a805;var _0x8a987e,_0x263c4b;const {memberID:_0x30184d,selection:_0x527d83}=_0x321389[_0x363874(0x338)],_0x3b15ff=hi(_0x527d83),_0x645559=(_0x263c4b=(_0x8a987e=this['_memberService'][_0x363874(0x340)](this[_0x363874(0x247)],_0x30184d))==null?void 0x0:_0x8a987e['name'])!=null?_0x263c4b:_0x363874(0x1a0),_0x277bd2={'color':this[_0x363874(0x2d9)][_0x363874(0x198)](_0x30184d),'name':_0x645559,'ranges':_0x3b15ff},_0x237263=this[_0x363874(0x175)];_0x237263[_0x363874(0x1a2)](_0x30184d,_0x277bd2),this[_0x363874(0x1bb)][_0x363874(0x171)](_0x237263);}[_0x86a805(0x1ec)](_0x5444b7){const _0xbfadde=_0x86a805,{memberID:_0x200034}=_0x5444b7[_0xbfadde(0x338)],_0x4feeb9=this['cursorInfo'];_0x4feeb9['delete'](_0x200034),this['_cursorInfo$']['next'](_0x4feeb9);}[_0x86a805(0x28a)](){const _0x1df035=_0x86a805;var _0x394504;if(this['_online']=!0x0,((_0x394504=this[_0x1df035(0x222)][_0x1df035(0x185)]())==null?void 0x0:_0x394504['getUnitId']())!==this[_0x1df035(0x247)])return;const _0x3e76c9=this[_0x1df035(0x331)][_0x1df035(0x2d4)](_0x40410e)[_0x1df035(0x2c5)]();Array[_0x1df035(0x1aa)](_0x3e76c9)&&_0x3e76c9['length']>0x0&&this[_0x1df035(0x24c)](_0x3e76c9);}[_0x86a805(0x23b)](){const _0x2f36bb=_0x86a805;this[_0x2f36bb(0x360)]=!0x1;}};Me=di([w(0x2,_0x545293(_0xd016db)),w(0x3,_0x545293(He)),w(0x4,_0x545293(_0x4254e9)),w(0x5,_0x545293(je)),w(0x6,_0x5241f1),w(0x7,_0x3b4d53),w(0x8,_0x27119f)],Me);var mi=Object[_0x86a805(0x172)],gi=(_0x216856,_0x485649,_0x4e002f,_0x425be4)=>{for(var _0x575cc0=_0x425be4>0x1?void 0x0:_0x425be4?mi(_0x485649,_0x4e002f):_0x485649,_0x2f29ed=_0x216856['length']-0x1,_0xcdeeef;_0x2f29ed>=0x0;_0x2f29ed--)(_0xcdeeef=_0x216856[_0x2f29ed])&&(_0x575cc0=_0xcdeeef(_0x575cc0)||_0x575cc0);return _0x575cc0;},x=(_0x4fb645,_0x1c20a9)=>(_0x51d6a0,_0xb65a9e)=>_0x1c20a9(_0x51d6a0,_0xb65a9e,_0x4fb645);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2d6466=[],_0x593569=!0x1;return _0x3e4592=>{const _0x20ca5a=_0x4594;_0x2d6466[_0x20ca5a(0x316)](_0x3e4592),_0x593569||(_0x593569=!0x0,setTimeout(()=>{const _0x1a2185=_0x20ca5a;_0x2d6466[_0x1a2185(0x2e6)](_0x420c8a=>_0x420c8a()),_0x2d6466=[],_0x593569=!0x1;}));};};let Pe=class extends _0xb123e2{constructor(_0x47c695,_0x3ce1f7,_0x16a97b,_0x54a6d1,_0x5810d3,_0x41670d,_0x531345,_0x273a5d){const _0x4791f2=_0x86a805;super(),_(this,'_online',!0x1),_(this,_0x4791f2(0x312),!0x1),_(this,_0x4791f2(0x1bb),new _0x5bcfa8(new Map())),_(this,_0x4791f2(0x2e5),this['_cursorInfo$']['asObservable']()),_(this,_0x4791f2(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4791f2(0x205)](_0xd328d8(vi))),_(this,_0x4791f2(0x24c),_0x395ecb((_0x4bec14,_0x488a17)=>{const _0x330351=_0x4791f2,_0x568616={'eventID':_0x36fd87[_0x330351(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x330351(0x20d)]['getMemberID'](),'selection':_0x2aa332(_0x4bec14,_0x488a17[_0x330351(0x2a2)])}};this[_0x330351(0x20d)][_0x330351(0x209)](_0x568616,this['unitID']);},Ii)),(this[_0x4791f2(0x247)]=_0x47c695,this['_session']=_0x3ce1f7,this[_0x4791f2(0x331)]=_0x16a97b,this[_0x4791f2(0x2d9)]=_0x54a6d1,this[_0x4791f2(0x233)]=_0x5810d3,this[_0x4791f2(0x222)]=_0x41670d,this[_0x4791f2(0x1b4)]=_0x531345,this['_refRangeService']=_0x273a5d);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x86a805(0x2b5)](){const _0x47f37e=_0x86a805;return this[_0x47f37e(0x2b7)][_0x47f37e(0x30e)]();}[_0x86a805(0x33c)](){const _0x4f7aeb=_0x86a805;super['dispose'](),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x171)](new Map()),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x34b)](),this[_0x4f7aeb(0x2b7)][_0x4f7aeb(0x171)]([]),this[_0x4f7aeb(0x2b7)]['complete']();}[_0x86a805(0x2a0)](){const _0x11ca76=_0x86a805;this['_init']||(this[_0x11ca76(0x312)]=!0x0,this[_0x11ca76(0x20d)][_0x11ca76(0x197)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))['subscribe'](_0x46fdb1=>{const _0x5b5370=_0x11ca76;_0x46fdb1===_0x48c2ef[_0x5b5370(0x34d)]?this[_0x5b5370(0x28a)]():this['_toggleOffline']();}),this[_0x11ca76(0x20d)][_0x11ca76(0x21f)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))[_0x11ca76(0x22b)](_0x528094=>{const _0x25873b=_0x11ca76,_0x4f2fe8=_0x528094[_0x25873b(0x237)];_0x4f2fe8===_0x36fd87['UPDATE_CURSOR']&&this[_0x25873b(0x180)](_0x528094),_0x4f2fe8===_0x36fd87['USERS_LEAVE']&&this['_onCursorDelete'](_0x528094);}),this[_0x11ca76(0x18d)](),this[_0x11ca76(0x299)](this[_0x11ca76(0x1b4)]['onCommandExecuted'](_0x3184e8=>{const _0x1d5e1c=_0x11ca76;if(this['_online']&&_0x3184e8['id']===_0x2c0c3d['id']&&_0x3184e8[_0x1d5e1c(0x348)][_0x1d5e1c(0x337)]===this[_0x1d5e1c(0x247)]){const _0x284c25=_0x3184e8[_0x1d5e1c(0x348)];this[_0x1d5e1c(0x24c)](_0x284c25[_0x1d5e1c(0x33b)],_0x284c25[_0x1d5e1c(0x1d6)][0x0]);}})));}['_onCursorUpdate'](_0x293bbd){const _0x52785e=_0x86a805;var _0x116008,_0x31af44;const {memberID:_0x2edaaa,selection:_0x5353d6}=_0x293bbd[_0x52785e(0x338)],{sheetName:_0x38fa1e,range:_0x416f13}=_0x96a6cf(_0x5353d6),_0x5b384f={'name':(_0x31af44=(_0x116008=this[_0x52785e(0x233)][_0x52785e(0x340)](this[_0x52785e(0x247)],_0x2edaaa))==null?void 0x0:_0x116008[_0x52785e(0x2ee)])!=null?_0x31af44:_0x52785e(0x1a0),'range':this['_getMergeRange'](_0x38fa1e,_0x416f13),'sheetID':_0x38fa1e,'color':this[_0x52785e(0x2d9)][_0x52785e(0x198)](_0x2edaaa),'selection':_0x5353d6},_0x187d79=this[_0x52785e(0x175)];_0x187d79[_0x52785e(0x1a2)](_0x2edaaa,_0x5b384f),this[_0x52785e(0x1bb)]['next'](_0x187d79);}[_0x86a805(0x1ec)](_0x103d93){const _0x1854b6=_0x86a805,{memberID:_0x98abaf}=_0x103d93[_0x1854b6(0x338)],_0x1ec608=this[_0x1854b6(0x175)];_0x1ec608['delete'](_0x98abaf),this[_0x1854b6(0x1bb)][_0x1854b6(0x171)](_0x1ec608);}['_getMergeRange'](_0x395deb,_0x1b0d6c){const _0xa62275=_0x86a805;var _0x179c46,_0x225130;const _0x16adbc=(_0x225130=(_0x179c46=this['_univerInstanceService'][_0xa62275(0x362)](this[_0xa62275(0x247)]))==null?void 0x0:_0x179c46[_0xa62275(0x35b)](_0x395deb))==null?void 0x0:_0x225130[_0xa62275(0x1fb)]();return(_0x16adbc==null?void 0x0:_0x16adbc[_0xa62275(0x24d)](_0x4f0620=>_0x4392ad[_0xa62275(0x177)](_0x4f0620,_0x1b0d6c)))||_0x1b0d6c;}[_0x86a805(0x18d)](){const _0x14d2bd=_0x86a805,_0x2e0b25=new _0x377b6b(),_0x1257aa=pi(),_0x717766=()=>{const _0x25edd1=_0x4594;_0x2e0b25[_0x25edd1(0x33c)]();const _0x20d4e1=(_0x46fa08,_0xcdcd50,_0x3c6709,_0x16403a)=>{const _0x455e3c=_0x25edd1;let _0x327ee1=[];switch(_0x46fa08['id']){case _0x4b2a35[_0x455e3c(0x32f)]:{_0x327ee1=_0x551093(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x335)]:{_0x327ee1=_0x1b2a2b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x18e)]:{_0x327ee1=_0x4d102b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x2f0)]:{_0x327ee1=_0x4b1610(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x347)]:{_0x327ee1=_0x3c3473(_0x46fa08,_0x16403a);break;}case _0x4b2a35['InsertRowCommandId']:{_0x327ee1=_0x51d76c(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x34f)]:{_0x327ee1=_0x223707(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x219)]:{_0x327ee1=_0x213a7d(_0x46fa08,_0x16403a);break;}case _0x4b2a35['RemoveRowCommandId']:{_0x327ee1=_0x45de1d(_0x46fa08,_0x16403a);break;}}const _0x53fba6=_0x50ffee(_0x327ee1,_0x16403a),_0x3486e9=this[_0x455e3c(0x175)][_0x455e3c(0x2d4)](_0xcdcd50);if(_0x3486e9&&_0x53fba6){const _0x4b1545={..._0x3486e9,'range':_0x53fba6};this[_0x455e3c(0x175)][_0x455e3c(0x1a2)](_0xcdcd50,_0x4b1545),_0x1257aa(()=>{const _0x3f4df4=_0x455e3c,_0x2a1ae4=this[_0x3f4df4(0x2e4)][_0x3f4df4(0x2bb)](_0x53fba6,_0x4ac7b3=>(_0x2a1ae4[_0x3f4df4(0x33c)](),_0x20d4e1(_0x4ac7b3,_0xcdcd50,_0x3c6709,_0x53fba6)));_0x2e0b25['add'](_0x2a1ae4);});}return{'redos':[],'undos':[]};};this[_0x25edd1(0x175)][_0x25edd1(0x2e6)]((_0x631332,_0x213685)=>{const _0x24b1ce=_0x25edd1,{range:_0x5d30e8,sheetID:_0x294091}=_0x631332,_0x41699a=this['_refRangeService']['registerRefRange'](_0x5d30e8,_0xd137e6=>(_0x41699a[_0x24b1ce(0x33c)](),_0x20d4e1(_0xd137e6,_0x213685,_0x294091,_0x5d30e8)));_0x2e0b25[_0x24b1ce(0x364)](_0x41699a);});};this[_0x14d2bd(0x299)](_0x571cee(this[_0x14d2bd(0x1bb)][_0x14d2bd(0x22b)](()=>{_0x717766();})));}[_0x86a805(0x28a)](){const _0x1444f7=_0x86a805;var _0x210c75,_0x46b402;if(this[_0x1444f7(0x360)]=!0x0,((_0x210c75=this[_0x1444f7(0x222)]['getFocusedUnit']())==null?void 0x0:_0x210c75[_0x1444f7(0x235)]())!==this['unitID'])return;const _0x11a52e=(_0x46b402=this[_0x1444f7(0x331)][_0x1444f7(0x2d4)](_0x5885ee)[_0x1444f7(0x350)]())==null?void 0x0:_0x46b402[0x0],_0x4bae30=this[_0x1444f7(0x222)]['getCurrentUnitForType'](_0x5e1ff3[_0x1444f7(0x294)])[_0x1444f7(0x189)]();_0x11a52e&&_0x4bae30&&this[_0x1444f7(0x24c)](_0x4bae30[_0x1444f7(0x35c)](),_0x11a52e);}[_0x86a805(0x23b)](){const _0x2bf877=_0x86a805;this[_0x2bf877(0x360)]=!0x1;}};Pe=gi([x(0x2,_0x545293(_0xd016db)),x(0x3,_0x545293(He)),x(0x4,_0x545293(_0x4254e9)),x(0x5,_0x3b4d53),x(0x6,_0x27119f),x(0x7,_0x545293(_0x4d8f62))],Pe);var Ci=Object[_0x86a805(0x172)],Ei=(_0x380bb7,_0x4475de,_0x300367,_0x10b763)=>{const _0x1076a7=_0x86a805;for(var _0x2c932b=_0x10b763>0x1?void 0x0:_0x10b763?Ci(_0x4475de,_0x300367):_0x4475de,_0x8abdf6=_0x380bb7[_0x1076a7(0x303)]-0x1,_0x3d59d9;_0x8abdf6>=0x0;_0x8abdf6--)(_0x3d59d9=_0x380bb7[_0x8abdf6])&&(_0x2c932b=_0x3d59d9(_0x2c932b)||_0x2c932b);return _0x2c932b;},me=(_0x142eee,_0x353c02)=>(_0x2d9f37,_0x3fd9b1)=>_0x353c02(_0x2d9f37,_0x3fd9b1,_0x142eee);let H=class extends _0xb123e2{constructor(_0x2a60e5,_0x2f191c,_0x4945be){const _0x4b0e7b=_0x86a805;super(),_(this,_0x4b0e7b(0x24b),new Map()),_(this,'_entityInit$',new _0x2fbe72()),(this[_0x4b0e7b(0x222)]=_0x2a60e5,this[_0x4b0e7b(0x331)]=_0x2f191c,this['_collabSessionService']=_0x4945be,this[_0x4b0e7b(0x312)]());}[_0x86a805(0x33c)](){const _0x530d93=_0x86a805;super[_0x530d93(0x33c)](),this[_0x530d93(0x341)][_0x530d93(0x34b)](),this[_0x530d93(0x24b)][_0x530d93(0x2e6)](_0x720607=>_0x720607[_0x530d93(0x33c)]());}[_0x86a805(0x272)](_0x24aa5e){const _0x68083e=_0x86a805;return this[_0x68083e(0x24b)][_0x68083e(0x260)](_0x24aa5e)?this[_0x68083e(0x24b)]['get'](_0x24aa5e)[_0x68083e(0x2e5)]:this[_0x68083e(0x341)][_0x68083e(0x205)](_0x5c1e9b(_0x400caf=>_0x400caf[_0x68083e(0x247)]===_0x24aa5e),_0x385b28(_0x446b00=>_0x446b00[_0x68083e(0x2e5)]));}[_0x86a805(0x312)](){const _0x3343cb=_0x86a805;this[_0x3343cb(0x222)]['getTypeOfUnitAdded$'](_0x5e1ff3[_0x3343cb(0x294)])[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](async _0x4ad054=>{const _0x39fc12=_0x3343cb,_0x48ebe7=_0x4ad054[_0x39fc12(0x235)](),_0x184dd8=await this[_0x39fc12(0x377)](_0x48ebe7);this['_entityInit$'][_0x39fc12(0x171)](_0x184dd8),this[_0x39fc12(0x24b)][_0x39fc12(0x1a2)](_0x48ebe7,_0x184dd8);}),this[_0x3343cb(0x222)][_0x3343cb(0x34a)](_0x5e1ff3[_0x3343cb(0x2a5)])[_0x3343cb(0x205)](_0x51fbbc(this['dispose$']))[_0x3343cb(0x205)](_0x5c1e9b(_0x9bf53e=>!_0x9bf53e[_0x3343cb(0x235)]()['startsWith']('__')))[_0x3343cb(0x22b)](async _0x3c03d8=>{const _0x5de1bd=_0x3343cb,_0x3b48a6=_0x3c03d8[_0x5de1bd(0x235)](),_0x40eeba=await this[_0x5de1bd(0x1cc)](_0x3b48a6);this[_0x5de1bd(0x341)][_0x5de1bd(0x171)](_0x40eeba),this['_entities'][_0x5de1bd(0x1a2)](_0x3b48a6,_0x40eeba);}),_0x3bf1a6(this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x2a5)]),this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x294)]))[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](_0x3c2677=>{const _0x5d531c=_0x3343cb,_0x7c554b=_0x3c2677[_0x5d531c(0x235)](),_0x1603d9=this['_entities']['get'](_0x7c554b);_0x1603d9&&(_0x1603d9[_0x5d531c(0x33c)](),this['_entities'][_0x5d531c(0x352)](_0x7c554b));});}async[_0x86a805(0x377)](_0x40fe62){const _0x3ded99=_0x86a805,_0x22e372=await this[_0x3ded99(0x226)]['requireSession'](_0x40fe62),_0x1c9540=this[_0x3ded99(0x331)][_0x3ded99(0x2a3)](Pe,_0x40fe62,_0x22e372);return _0x1c9540[_0x3ded99(0x2a0)](),_0x1c9540;}async[_0x86a805(0x1cc)](_0x640db){const _0x2f5fc4=_0x86a805,_0x47aa7c=await this['_collabSessionService'][_0x2f5fc4(0x23d)](_0x640db),_0x11cc35=this['_injector']['createInstance'](Me,_0x640db,_0x47aa7c);return _0x11cc35[_0x2f5fc4(0x2a0)](),_0x11cc35;}};H=Ei([me(0x0,_0x3b4d53),me(0x1,_0x545293(_0xd016db)),me(0x2,_0x545293(_0x1c0a48))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x1006dc,_0x262e57){const _0x1f60d1=_0x86a805;let {radius:_0x4fa7bd,width:_0x17716d,height:_0x2d90ed}=_0x262e57;_0x4fa7bd=_0x4fa7bd!=null?_0x4fa7bd:0x0,_0x17716d=_0x17716d!=null?_0x17716d:0x1e,_0x2d90ed=_0x2d90ed!=null?_0x2d90ed:0x1e;let _0x1f9f02=0x0,_0x2ac328=0x0,_0x4fdc93=0x0;_0x1f9f02=_0x2ac328=_0x4fdc93=Math['min'](_0x4fa7bd,_0x17716d/0x2,_0x2d90ed/0x2),_0x1006dc['beginPath'](),_0x1006dc['moveTo'](_0x1f9f02,0x0),_0x1006dc['lineTo'](_0x17716d-_0x2ac328,0x0),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x2ac328,_0x2ac328,_0x2ac328,Math['PI']*0x3/0x2,0x0,!0x1),_0x1006dc[_0x1f60d1(0x30b)](_0x17716d,_0x2d90ed-_0x4fdc93),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x4fdc93,_0x2d90ed-_0x4fdc93,_0x4fdc93,0x0,Math['PI']/0x2,!0x1),_0x1006dc[_0x1f60d1(0x30b)](0x0,_0x2d90ed),_0x1006dc['lineTo'](0x0,_0x1f9f02),_0x1006dc[_0x1f60d1(0x232)](_0x1f9f02,_0x1f9f02,_0x1f9f02,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1006dc[_0x1f60d1(0x207)](),_0x262e57['fill']&&(_0x1006dc[_0x1f60d1(0x19a)](),_0x1006dc[_0x1f60d1(0x181)]=_0x262e57[_0x1f60d1(0x282)],_0x262e57['fillRule']===_0x1f60d1(0x374)?_0x1006dc[_0x1f60d1(0x282)](_0x1f60d1(0x374)):_0x1006dc[_0x1f60d1(0x282)](),_0x1006dc[_0x1f60d1(0x1cf)]());}class ue extends _0x48deee{constructor(_0xb46ef2,_0x322c11){const _0x39d576=_0x86a805;super(_0xb46ef2,_0x322c11),_(this,'color'),_(this,'text'),(this[_0x39d576(0x358)]=_0x322c11==null?void 0x0:_0x322c11[_0x39d576(0x358)],this[_0x39d576(0x355)]=_0x322c11==null?void 0x0:_0x322c11['text']);}static['drawWith'](_0xeb3d02,_0x5a5e1f){const _0x2a3f0b=_0x86a805,{text:_0x561cba,color:_0x39b0f9}=_0x5a5e1f;_0xeb3d02['save'](),_0xeb3d02['font']=_0x2a3f0b(0x27a);const _0x4c92b4=_0xeb3d02[_0x2a3f0b(0x24e)](_0x561cba)['width'],_0x310c1b=Math['min'](_0x4c92b4+0x2*ge,et);Oi(_0xeb3d02,{'height':te,'radius':0x4,'width':_0x310c1b,'fill':_0x39b0f9}),_0xeb3d02[_0x2a3f0b(0x181)]=_0x2a3f0b(0x332);const _0x4cacd6=ge,_0x3f37f2=te-bi,_0x20d894=et-0x2*ge;if(_0x4c92b4>_0x20d894){let _0x5eb43c='',_0x5b00d3=0x0;for(const _0x150fe of _0x561cba){const _0x18b1dd=_0xeb3d02['measureText'](_0x150fe)[_0x2a3f0b(0x1f5)];if(_0x5b00d3+_0x18b1dd<=_0x20d894-_0xeb3d02[_0x2a3f0b(0x24e)]('...')[_0x2a3f0b(0x1f5)])_0x5eb43c+=_0x150fe,_0x5b00d3+=_0x18b1dd;else{_0x5eb43c+=_0x2a3f0b(0x2af);break;}}_0xeb3d02[_0x2a3f0b(0x210)](_0x5eb43c,_0x4cacd6,_0x3f37f2);}else _0xeb3d02[_0x2a3f0b(0x210)](_0x561cba,_0x4cacd6,_0x3f37f2);_0xeb3d02[_0x2a3f0b(0x1cf)]();}[_0x86a805(0x1cd)](_0x370150){const _0x29d066=_0x86a805;ue[_0x29d066(0x2d2)](_0x370150,this);}}const ve=_0x86a805(0x21b),Ti=_0x86a805(0x1ce),Ri=_0x86a805(0x229),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x86a805(0x1b6);class tt{constructor(_0x3f2e8b,_0x177ceb,_0x28d4a8,_0x5d40a1){const _0x176d20=_0x86a805;_(this,_0x176d20(0x285),[]),_(this,_0x176d20(0x236),null),_(this,'_textBubble',null),_(this,_0x176d20(0x2ce),null),_(this,_0x176d20(0x1d0),null),_(this,_0x176d20(0x28b),null),(this['_cursor']=_0x3f2e8b,this[_0x176d20(0x33f)]=_0x177ceb,this[_0x176d20(0x179)]=_0x28d4a8,this[_0x176d20(0x26e)]=_0x5d40a1,this[_0x176d20(0x29f)]());}set[_0x86a805(0x1df)](_0x1cb5db){const _0x285e38=_0x86a805;_0x1cb5db?(this['_anchorDot']&&this[_0x285e38(0x2ce)][_0x285e38(0x32a)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x230)]()):(this[_0x285e38(0x2ce)]&&this['_anchorDot'][_0x285e38(0x230)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x32a)]());}[_0x86a805(0x33c)](){const _0x4813c7=_0x86a805;for(const _0x3771be of this[_0x4813c7(0x285)])_0x3771be['dispose']();this[_0x4813c7(0x351)]&&this[_0x4813c7(0x351)][_0x4813c7(0x33c)](),this[_0x4813c7(0x2ce)]&&this[_0x4813c7(0x2ce)]['dispose'](),this[_0x4813c7(0x236)]&&this[_0x4813c7(0x236)][_0x4813c7(0x33c)](),this[_0x4813c7(0x28b)]&&this['_eventUnsubscribe']();}['_render'](){const _0x403cc9=_0x86a805;var _0x1b5d61;const {_docSkeleton:_0x35730d,_document:_0x4a642a}=this,{color:_0x3f8137,name:_0x5c7599,ranges:_0x215112}=this[_0x403cc9(0x1a4)],_0x16aba2=_0x4a642a['getOffsetConfig'](),{docsLeft:_0x1b088e,docsTop:_0x5202de}=_0x16aba2,_0x585f60=new _0x3d8185(_0x16aba2,_0x35730d);for(const {startOffset:_0x2c9610,endOffset:_0x27faaf,rangeType:_0x2cde13,segmentId:_0x1a05ff,segmentPage:_0x3503ce,collapsed:_0x3e8c3e,isActive:_0x5e7d5a}of _0x215112){const _0x5511c7=_0x35730d[_0x403cc9(0x1b0)](_0x2c9610,!0x0,_0x1a05ff,_0x3503ce);let _0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf,!0x0,_0x1a05ff,_0x3503ce);if(_0x132fce==null&&(_0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf-0x1,!0x1,_0x1a05ff,_0x3503ce)),_0x5e7d5a){const {contentBoxPointGroup:_0x1a7235}=_0x585f60[_0x403cc9(0x18c)](_0x132fce,_0x132fce);if(_0x1a7235[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x323)](_0x3f8137,_0x1a7235,_0x1b088e,_0x5202de,_0x5c7599),this['_eventUnsubscribe']=this[_0x403cc9(0x1e9)]();}if(_0x5511c7&&_0x132fce){if(_0x2cde13===_0x30e768[_0x403cc9(0x359)]){const _0x23dd93=new _0x6af631(_0x16aba2,_0x35730d),{pointGroup:_0x229f26}=(_0x1b5d61=_0x23dd93[_0x403cc9(0x18c)](_0x5511c7,_0x132fce))!=null?_0x1b5d61:{};if(_0x229f26==null||_0x229f26[_0x403cc9(0x303)]===0x0)continue;this['_drawRectRange'](_0x3f8137,_0x229f26,_0x1b088e,_0x5202de);}else{if(!_0x3e8c3e){const {borderBoxPointGroup:_0x39b086}=_0x585f60[_0x403cc9(0x18c)](_0x5511c7,_0x132fce);if(_0x39b086[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x254)](_0x3f8137,_0x39b086,_0x1b088e,_0x5202de);}}}}}['_drawAnchor'](_0x2db713,_0x1656e1,_0x5e35e4,_0x52229a,_0x18dcb1){const _0x3ec788=_0x86a805,_0x3d30fd=this[_0x3ec788(0x1f0)](_0x1656e1),{left:_0x387169,top:_0x5c916d,height:_0x53dab0}=_0x3d30fd,_0x6cd159=this['_getScale'](),_0x57688d=Ni/_0x6cd159,_0x3761ee=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a,'height':_0x53dab0,'width':Di,'fill':_0x2db713||_0xf39730(_0x26d279[_0x3ec788(0x1dc)],0x0),'strokeWidth':_0x57688d,'stroke':Ui,'evented':!0x0});this[_0x3ec788(0x236)]=_0x3761ee,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x3761ee,_0x2b96c7);const _0x22ce82=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'strokeWidth':0x0,'stroke':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'evented':!0x1});this[_0x3ec788(0x2ce)]=_0x22ce82,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x22ce82,_0x2b96c7);const _0x1d6036=new ue(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-te,'text':_0x18dcb1,'color':_0x2db713});this[_0x3ec788(0x351)]=_0x1d6036,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x1d6036,_0x2b96c7),this[_0x3ec788(0x1df)]=!0x1;}[_0x86a805(0x1e9)](){const _0xb6fd2a=_0x86a805,_0x5a61f4=this['_anchor'][_0xb6fd2a(0x1c5)][_0xb6fd2a(0x300)](()=>{const _0x42c483=_0xb6fd2a;this[_0x42c483(0x1df)]=!0x0;}),_0x1ac0ee=this[_0xb6fd2a(0x236)][_0xb6fd2a(0x297)][_0xb6fd2a(0x300)](()=>{const _0x4a1172=_0xb6fd2a;this[_0x4a1172(0x1d0)]&&clearTimeout(this[_0x4a1172(0x1d0)]),this[_0x4a1172(0x1d0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1bb645=_0xb6fd2a;_0x5a61f4[_0x1bb645(0x265)](),_0x1ac0ee['unsubscribe']();};}[_0x86a805(0x254)](_0x2c3dc5,_0x38767d,_0xdc4493,_0x51f754){const _0x578671=_0x86a805,_0x349db7=new _0x2e19d1(_0x2c3dc5)[_0x578671(0x19d)](0.2)[_0x578671(0x194)](),_0x2dea44=new _0x59edba(Ti+_0x168ff4[_0x578671(0x336)](X),{'pointsGroup':_0x38767d,'fill':_0x349db7||_0xf39730(_0x26d279['black'],0.2),'left':_0xdc4493,'top':_0x51f754,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x578671(0x285)]['push'](_0x2dea44),this[_0x578671(0x33f)]['addObject'](_0x2dea44,_0x2b96c7);}[_0x86a805(0x1e6)](_0x42bcf1,_0xee8416,_0x9ad03c,_0x343f2b){const _0x533b4e=_0x86a805,_0x269fc4=new _0x2e19d1(_0x42bcf1)['setAlpha'](0.2)['toRgbString'](),_0x38031c=new _0x59edba(Ri+_0x168ff4[_0x533b4e(0x336)](X),{'pointsGroup':_0xee8416,'fill':_0x269fc4||_0xf39730(_0x26d279[_0x533b4e(0x1dc)],0.2),'left':_0x9ad03c,'top':_0x343f2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533b4e(0x285)]['push'](_0x38031c),this[_0x533b4e(0x33f)][_0x533b4e(0x288)](_0x38031c,_0x2b96c7);}['_getAnchorBounding'](_0x365a77){const _0x55ceb3=_0x365a77[0x0],_0x4fa87d=_0x55ceb3[0x0],_0x408f13=_0x55ceb3[0x2],{x:_0x314377,y:_0xaa8702}=_0x4fa87d,{x:_0x37baf0,y:_0x225055}=_0x408f13;return{'left':_0x314377,'top':_0xaa8702,'width':_0x37baf0-_0x314377,'height':_0x225055-_0xaa8702};}['_getScale'](){const _0x3bdcc9=_0x86a805,{scaleX:_0x103e6d,scaleY:_0xa43be1}=this[_0x3bdcc9(0x33f)][_0x3bdcc9(0x20c)]();return Math['max'](_0x103e6d,_0xa43be1);}}var Mi=Object[_0x86a805(0x172)],Pi=(_0x4c9865,_0x5371b9,_0x49b69b,_0x19c65a)=>{const _0x4feee5=_0x86a805;for(var _0x1d93df=_0x19c65a>0x1?void 0x0:_0x19c65a?Mi(_0x5371b9,_0x49b69b):_0x5371b9,_0x196bdd=_0x4c9865[_0x4feee5(0x303)]-0x1,_0x3d0384;_0x196bdd>=0x0;_0x196bdd--)(_0x3d0384=_0x4c9865[_0x196bdd])&&(_0x1d93df=_0x3d0384(_0x1d93df)||_0x1d93df);return _0x1d93df;},Q=(_0x3ac3ba,_0x497d76)=>(_0x3f076b,_0x407b53)=>_0x497d76(_0x3f076b,_0x407b53,_0x3ac3ba);let we=class extends _0xb123e2{constructor(_0x2f8707,_0xc510d1,_0x5a6258,_0xb63668,_0x390a1f){const _0x3a30ef=_0x86a805;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x2f8707,this[_0x3a30ef(0x2c9)]=_0xc510d1,this['_collabCursorController']=_0x5a6258,this[_0x3a30ef(0x1b4)]=_0xb63668,this[_0x3a30ef(0x301)]=_0x390a1f,this[_0x3a30ef(0x312)]());}[_0x86a805(0x312)](){const _0x548066=_0x86a805,_0x4eda1d=this['_context'][_0x548066(0x337)],_0xcedc6c=this[_0x548066(0x2c9)];this[_0x548066(0x299)](_0xf7d9e2([this['_collabCursorController'][_0x548066(0x272)](_0x4eda1d),this['_themeService'][_0x548066(0x314)]])['pipe'](_0x169f56(([_0x2d040b,_0x2db129])=>({'skeleton':_0xcedc6c[_0x548066(0x21e)](),'cursors':[..._0x2d040b[_0x548066(0x328)]()][_0x548066(0x2ba)](_0x5a6024=>({..._0x5a6024,'color':_0x2db129[_0x5a6024[_0x548066(0x358)]]}))})))[_0x548066(0x22b)](_0x54c78b=>{const _0x4ca56d=_0x548066;if(this['_removeCollabCursors'](),_0x54c78b){const {skeleton:_0x4da14c,cursors:_0x48eacc}=_0x54c78b;this[_0x4ca56d(0x321)](_0x4da14c,_0x48eacc);}})),this[_0x548066(0x231)](),this['_initCommandExecutedListener']();}[_0x86a805(0x321)](_0x8e2a72,_0x339cf){const _0x594ab3=_0x86a805,{scene:_0x2a5a7d,mainComponent:_0x1364a8}=this[_0x594ab3(0x266)],_0x543b7b=_0x339cf[_0x594ab3(0x1d7)](_0x1d7d58=>new tt(_0x1d7d58,_0x2a5a7d,_0x8e2a72,_0x1364a8));this[_0x594ab3(0x1ae)]=_0x543b7b,this[_0x594ab3(0x1a6)]=_0x339cf;}[_0x86a805(0x28d)](){const _0xe7cf9a=_0x86a805;this[_0xe7cf9a(0x258)]();const {scene:_0x5a1918,mainComponent:_0x41c462}=this[_0xe7cf9a(0x266)],_0x3436b6=this[_0xe7cf9a(0x2c9)][_0xe7cf9a(0x21e)](),_0x1ca6e5=this[_0xe7cf9a(0x1a6)]['map'](_0x3de932=>new tt(_0x3de932,_0x5a1918,_0x3436b6,_0x41c462));this[_0xe7cf9a(0x1ae)]=_0x1ca6e5;}[_0x86a805(0x258)](){const _0x187971=_0x86a805;this[_0x187971(0x1ae)]['forEach'](_0x5b4a48=>_0x5b4a48['dispose']()),this[_0x187971(0x1ae)]=[];}[_0x86a805(0x346)](){const _0x35e07a=_0x86a805,_0x4156ab=[_0x24bb32['id']];this[_0x35e07a(0x299)](this[_0x35e07a(0x1b4)]['onCommandExecuted'](_0x185b1a=>{const _0x3daa72=_0x35e07a;_0x4156ab['includes'](_0x185b1a['id'])&&_0x185b1a[_0x3daa72(0x348)][_0x3daa72(0x337)]===this['_context'][_0x3daa72(0x337)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46813a=_0x86a805;this[_0x46813a(0x299)](_0x580ec3(this['_context'][_0x46813a(0x2ae)][_0x46813a(0x319)])[_0x46813a(0x205)](_0xc45b71(_0x521d52=>_0x521d52[_0x46813a(0x309)]===_0x295533[_0x46813a(0x1bd)]),_0x325872(0x10))[_0x46813a(0x22b)](()=>{const _0x40b90e=_0x46813a;this[_0x40b90e(0x28d)]();}));}};we=Pi([Q(0x1,_0x545293(_0x35d61b)),Q(0x2,_0x545293(H)),Q(0x3,_0x27119f),Q(0x4,_0x545293(_0x1eaa15))],we);const wi=0x1,Li=1.5;class Ai extends _0x48deee{constructor(_0x2e3951,_0x29f069){const _0x251f2a=_0x86a805;super(_0x2e3951,_0x29f069),_(this,_0x251f2a(0x27c)),_(this,_0x251f2a(0x18f),!0x1),_(this,_0x251f2a(0x174)),_(this,'_name',''),_(this,_0x251f2a(0x33e),'top'),_(this,_0x251f2a(0x2c6)),(_0x29f069&&this['setShapeProps'](_0x29f069),this[_0x251f2a(0x1c5)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x0})),this[_0x251f2a(0x297)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x1})));}[_0x86a805(0x2ac)](_0x4cc6da){const _0x2497c0=_0x86a805;var _0x4335eb,_0x2138af,_0x1b62b5,_0x4ffd78,_0x2279e3,_0x235c73;this[_0x2497c0(0x27c)]=(_0x4335eb=_0x4cc6da[_0x2497c0(0x358)])!=null?_0x4335eb:this[_0x2497c0(0x27c)],this[_0x2497c0(0x18f)]=(_0x2138af=_0x4cc6da[_0x2497c0(0x295)])!=null?_0x2138af:this[_0x2497c0(0x18f)],this[_0x2497c0(0x174)]=(_0x1b62b5=_0x4cc6da[_0x2497c0(0x2a2)])!=null?_0x1b62b5:this['_range'],this[_0x2497c0(0x1b2)]=(_0x4ffd78=_0x4cc6da[_0x2497c0(0x2ee)])!=null?_0x4ffd78:this[_0x2497c0(0x1b2)],this[_0x2497c0(0x33e)]=(_0x2279e3=_0x4cc6da['labelPosition'])!=null?_0x2279e3:this[_0x2497c0(0x33e)],this[_0x2497c0(0x2c6)]=(_0x235c73=_0x4cc6da[_0x2497c0(0x218)])!=null?_0x235c73:this[_0x2497c0(0x2c6)],this['transformByState']({'width':_0x4cc6da[_0x2497c0(0x1f5)],'height':_0x4cc6da['height']});}[_0x86a805(0x203)](_0x3bfec2){const _0x3fc224=_0x86a805,{row:_0x1fb728,column:_0x48cc14}=_0x3bfec2;if(_0x1fb728>=this[_0x3fc224(0x174)][_0x3fc224(0x2b8)]&&_0x1fb728<=this['_range']['endRow']&&_0x48cc14>=this[_0x3fc224(0x174)][_0x3fc224(0x2dc)]&&_0x48cc14<=this[_0x3fc224(0x174)][_0x3fc224(0x1d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3fc224(0x2ac)]({'hovered':!0x1});}[_0x86a805(0x305)](_0x5b6f5a){return!0x1;}[_0x86a805(0x1cd)](_0x59dc80){const _0x7b8e6=_0x86a805;_0x48588e[_0x7b8e6(0x2d2)](_0x59dc80,{'width':this[_0x7b8e6(0x1f5)],'height':this[_0x7b8e6(0x2cc)],'strokeWidth':Li,'stroke':this[_0x7b8e6(0x27c)],'evented':!0x1,'fill':this[_0x7b8e6(0x2c6)]}),this[_0x7b8e6(0x18f)]&&(_0x59dc80[_0x7b8e6(0x19a)](),_0x59dc80[_0x7b8e6(0x29c)](0x1,0x0,0x0,0x1,this[_0x7b8e6(0x1f5)],this[_0x7b8e6(0x33e)]==='bottom'?0x0:-0x14),ue[_0x7b8e6(0x2d2)](_0x59dc80,{'text':this[_0x7b8e6(0x1b2)],'color':this[_0x7b8e6(0x27c)]}),_0x59dc80[_0x7b8e6(0x1cf)]());}}var yi=Object[_0x86a805(0x172)],$i=(_0x4fd9fe,_0x4a3ac4,_0x161946,_0x3c8a5f)=>{const _0x1515d3=_0x86a805;for(var _0x37a296=_0x3c8a5f>0x1?void 0x0:_0x3c8a5f?yi(_0x4a3ac4,_0x161946):_0x4a3ac4,_0x421f18=_0x4fd9fe[_0x1515d3(0x303)]-0x1,_0x42e890;_0x421f18>=0x0;_0x421f18--)(_0x42e890=_0x4fd9fe[_0x421f18])&&(_0x37a296=_0x42e890(_0x37a296)||_0x37a296);return _0x37a296;},pe=(_0x332d19,_0x14428d)=>(_0x21bd4a,_0x5efab7)=>_0x14428d(_0x21bd4a,_0x5efab7,_0x332d19);const xi=0x1389;let Le=class extends _0xb123e2{constructor(_0x22594f,_0x5e5e45,_0xf4ac46,_0x2fa2c3){const _0x4adf17=_0x86a805;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x22594f,this[_0x4adf17(0x31c)]=_0x5e5e45,this['_collabCursorController']=_0xf4ac46,this[_0x4adf17(0x301)]=_0x2fa2c3,this[_0x4adf17(0x312)]());}[_0x86a805(0x312)](){const _0x2fd0f6=_0x86a805;this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x205)](_0x567084(this[_0x2fd0f6(0x289)]),_0x5d3754(_0x1b51cf=>{const _0x2925c2=_0x2fd0f6;if(_0x1b51cf){const _0x4e63ca=_0x1b51cf[_0x2925c2(0x30c)];return _0xf7d9e2(this['_collabCursorController'][_0x2925c2(0x272)](this[_0x2925c2(0x266)][_0x2925c2(0x337)]),this[_0x2925c2(0x301)][_0x2925c2(0x314)])[_0x2925c2(0x205)](_0x169f56(([_0x423b50,_0x416fc8])=>{const _0x49a816=_0x2925c2,_0x433202=new Map();return _0x423b50[_0x49a816(0x2e6)]((_0x4e1840,_0xea9507)=>{const _0x5aa997=_0x49a816;if(_0x4e1840[_0x5aa997(0x26a)]===_0x4e63ca){const _0x421d5b={..._0x4e1840};_0x421d5b[_0x5aa997(0x358)]=_0x416fc8[_0x4e1840['color']],_0x433202[_0x5aa997(0x1a2)](_0xea9507,_0x421d5b);}}),{'skeleton':_0x1b51cf,'cursors':_0x433202};}));}return _0x2404b0({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x476b61,cursors:_0x392230})=>{const _0x525620=_0x2fd0f6;this[_0x525620(0x258)](),_0x476b61&&this['_updateCollabCursors'](_0x476b61,_0x392230);}),this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x22b)](_0x3391bd=>{const _0xb1c974=_0x2fd0f6;if(_0x3391bd==null)return;const {skeleton:_0x4ea409}=_0x3391bd,{scene:_0x38d2d3}=this[_0xb1c974(0x266)];_0x38d2d3['onPointerMove$']['subscribeEvent'](_0x395ecb(_0x3b3a02=>{const _0x1c8740=_0xb1c974;var _0x42bb82,_0x1bc7b4;const {offsetX:_0x5dd936,offsetY:_0x4dc56c}=_0x3b3a02,{x:_0x1752ec,y:_0x4e0591}=_0x38d2d3[_0x1c8740(0x1d2)](_0x5c22fd['FromArray']([_0x5dd936,_0x4dc56c])),{scaleX:_0x1c5d6f,scaleY:_0x2b036b}=_0x38d2d3[_0x1c8740(0x20c)](),_0x4b71cf=_0x38d2d3[_0x1c8740(0x2fb)](_0x1bde1a[_0x1c8740(0x1f7)]),_0x15e683=_0x38d2d3['getVpScrollXYInfoByPosToVp'](_0x5c22fd['FromArray']([_0x1752ec,_0x4e0591]),_0x4b71cf),_0x2f884f=_0x4ea409[_0x1c8740(0x2f7)](_0x5dd936,_0x4dc56c,_0x1c5d6f,_0x2b036b,_0x15e683);((_0x42bb82=this[_0x1c8740(0x287)])==null?void 0x0:_0x42bb82[_0x1c8740(0x261)])===_0x2f884f[_0x1c8740(0x261)]&&((_0x1bc7b4=this[_0x1c8740(0x287)])==null?void 0x0:_0x1bc7b4[_0x1c8740(0x2ea)])===_0x2f884f[_0x1c8740(0x2ea)]||this['_cursors'][_0x1c8740(0x2e6)](_0x350fcd=>{_0x350fcd['onMouseMove'](_0x2f884f);});},0x64));});}[_0x86a805(0x321)](_0x12be0e,_0xfd588d){const _0x4c1b04=_0x86a805;var _0x5f9d97;const _0x495029=(_0x5f9d97=this[_0x4c1b04(0x31c)]['getCurrent']())==null?void 0x0:_0x5f9d97['skeleton'];if(!_0x495029)return;const _0x121b4f=this[_0x4c1b04(0x36f)]();if(!_0x121b4f)return;this['_cursors'][_0x4c1b04(0x2e6)](_0x56c7e8=>{const _0x560017=_0x4c1b04;_0x56c7e8[_0x560017(0x1b9)]();});const {scene:_0x14ec79}=_0x121b4f,_0x963bd5=Bi(Array[_0x4c1b04(0x21a)](_0xfd588d[_0x4c1b04(0x328)]()))['map'](_0x1d275c=>{const _0x55a7c3=_0x4c1b04,{color:_0x2ae754,range:_0x2d3910,name:_0x31ca9b,selection:_0xc0aad5,sheetID:_0x59d43b}=_0x1d275c,{startColumn:_0x35e946,startRow:_0x11e288,endColumn:_0x51dd81,endRow:_0x3978a6}=_0x2d3910,_0x286cd8=_0x365e27(_0x11e288,_0x35e946,_0x14ec79,_0x495029),_0x4b0133=_0x365e27(_0x3978a6,_0x51dd81,_0x14ec79,_0x495029),{columnHeaderHeightAndMarginTop:_0x4f99e4}=_0x495029,{startX:_0x2768a5,startY:_0x28b70a}=_0x286cd8,{endX:_0x55aada,endY:_0x192d5a}=_0x4b0133,_0x57ec3e=_0x55aada-_0x2768a5,_0x397ef4=_0x192d5a-_0x28b70a,_0x2f862c={'labelPosition':_0x28b70a-_0x4f99e4>=te?_0x55a7c3(0x182):_0x55a7c3(0x2cb),'sheetID':_0x59d43b,'range':_0x2d3910,'color':_0x2ae754,'name':_0x31ca9b,'selection':_0xc0aad5,'left':_0x2768a5,'top':_0x28b70a,'width':_0x57ec3e,'height':_0x397ef4,'evented':!0x1,'zIndex':xi};return new Ai(_0x31ca9b,_0x2f862c);});_0x14ec79[_0x4c1b04(0x304)](_0x963bd5,wi),this[_0x4c1b04(0x1a6)]=new Set(_0x963bd5);}[_0x86a805(0x258)](){const _0x3539e8=_0x86a805;var _0x30eb2b;(_0x30eb2b=this[_0x3539e8(0x1a6)])==null||_0x30eb2b['forEach'](_0x41e071=>_0x41e071['dispose']());}[_0x86a805(0x36f)](){const _0x320436=_0x86a805;return _0x4dd264(this['_context'][_0x320436(0x302)],this[_0x320436(0x266)]);}};Le=$i([pe(0x1,_0x545293(_0x17ce2b)),pe(0x2,_0x545293(H)),pe(0x3,_0x545293(_0x1eaa15))],Le);function Bi(_0x2c7c8b){const _0x526e4d=_0x86a805,_0x3197a8=new Map();return _0x2c7c8b[_0x526e4d(0x2e6)](_0x1b0a1d=>{const _0x565e43=_0x526e4d;if(_0x3197a8[_0x565e43(0x260)](_0x1b0a1d[_0x565e43(0x28c)])){const _0x376a30=_0x3197a8['get'](_0x1b0a1d['selection']);_0x376a30[_0x565e43(0x2ee)]+=',\x20'+_0x1b0a1d['name'];}else _0x3197a8[_0x565e43(0x1a2)](_0x1b0a1d[_0x565e43(0x28c)],_0x1b0a1d);}),Array['from'](_0x3197a8[_0x526e4d(0x328)]());}var I=function(){const _0x529da8=_0x86a805;return I=Object[_0x529da8(0x25a)]||function(_0x128e2f){const _0x51d488=_0x529da8;for(var _0x248700,_0x35b47f=0x1,_0x1c9ace=arguments[_0x51d488(0x303)];_0x35b47f<_0x1c9ace;_0x35b47f++){_0x248700=arguments[_0x35b47f];for(var _0x3e8507 in _0x248700)Object['prototype']['hasOwnProperty']['call'](_0x248700,_0x3e8507)&&(_0x128e2f[_0x3e8507]=_0x248700[_0x3e8507]);}return _0x128e2f;},I[_0x529da8(0x353)](this,arguments);},ki=function(_0x241dde,_0x4d3020){const _0x4793af=_0x86a805;var _0x329a98={};for(var _0x15e1b6 in _0x241dde)Object[_0x4793af(0x32d)][_0x4793af(0x267)]['call'](_0x241dde,_0x15e1b6)&&_0x4d3020[_0x4793af(0x35e)](_0x15e1b6)<0x0&&(_0x329a98[_0x15e1b6]=_0x241dde[_0x15e1b6]);if(_0x241dde!=null&&typeof Object[_0x4793af(0x1fe)]==_0x4793af(0x32b)){for(var _0x4e295e=0x0,_0x15e1b6=Object[_0x4793af(0x1fe)](_0x241dde);_0x4e295e<_0x15e1b6[_0x4793af(0x303)];_0x4e295e++)_0x4d3020[_0x4793af(0x35e)](_0x15e1b6[_0x4e295e])<0x0&&Object[_0x4793af(0x32d)][_0x4793af(0x19b)][_0x4793af(0x34e)](_0x241dde,_0x15e1b6[_0x4e295e])&&(_0x329a98[_0x15e1b6[_0x4e295e]]=_0x241dde[_0x15e1b6[_0x4e295e]]);}return _0x329a98;},We=_0x372972(function(_0x236493,_0x2c6978){const _0x4a84b7=_0x86a805;var _0x22cba9=_0x236493[_0x4a84b7(0x21d)],_0x39f667=_0x236493['id'],_0x364293=_0x236493[_0x4a84b7(0x2f1)],_0x188602=_0x236493[_0x4a84b7(0x1e5)],_0x13cab2=ki(_0x236493,['icon','id','className',_0x4a84b7(0x1e5)]),_0x25a807=_0x4a84b7(0x1be)[_0x4a84b7(0x206)](_0x39f667,'\x20')[_0x4a84b7(0x206)](_0x364293||'')[_0x4a84b7(0x188)](),_0x47f1f3=_0xfd6f42('_'[_0x4a84b7(0x206)](Wi()));return Nt(_0x22cba9,''[_0x4a84b7(0x206)](_0x39f667),{'defIds':_0x22cba9['defIds'],'idSuffix':_0x47f1f3[_0x4a84b7(0x2c1)]},I({'ref':_0x2c6978,'className':_0x25a807},_0x13cab2),_0x188602);});function Nt(_0x3f0785,_0x352796,_0x4a0765,_0x56ea7e,_0x1bcbb7){const _0x2e7630=_0x86a805;return _0x5678ba(_0x3f0785[_0x2e7630(0x227)],I(I({'key':_0x352796},Hi(_0x3f0785,_0x4a0765,_0x1bcbb7)),_0x56ea7e),(ji(_0x3f0785,_0x4a0765)[_0x2e7630(0x1af)]||[])[_0x2e7630(0x1d7)](function(_0x3fc92d,_0x415cb2){const _0x23fca2=_0x2e7630;return Nt(_0x3fc92d,''[_0x23fca2(0x206)](_0x352796,'-')[_0x23fca2(0x206)](_0x3f0785[_0x23fca2(0x227)],'-')[_0x23fca2(0x206)](_0x415cb2),_0x4a0765,void 0x0,_0x1bcbb7);}));}function Hi(_0x5e6489,_0x1b1e62,_0x3cf9c1){const _0x375721=_0x86a805;var _0x362359=I({},_0x5e6489['attrs']);_0x3cf9c1!=null&&_0x3cf9c1['colorChannel1']&&_0x362359[_0x375721(0x282)]==='colorChannel1'&&(_0x362359[_0x375721(0x282)]=_0x3cf9c1[_0x375721(0x1c1)]),_0x5e6489[_0x375721(0x227)]===_0x375721(0x1b3)&&_0x362359['id']&&(_0x362359['id']=_0x362359['id']+_0x1b1e62[_0x375721(0x25c)]),Object[_0x375721(0x2e7)](_0x362359)[_0x375721(0x2e6)](function(_0x190a7c){const _0x2fa4f8=_0x375721;var _0x461443=_0x190a7c[0x0],_0x382707=_0x190a7c[0x1];_0x461443===_0x2fa4f8(0x1b3)&&typeof _0x382707=='string'&&(_0x362359[_0x461443]=_0x382707[_0x2fa4f8(0x256)](/url\(#(.*)\)/,_0x2fa4f8(0x2da)[_0x2fa4f8(0x206)](_0x1b1e62[_0x2fa4f8(0x25c)],')')));});var _0x10728b=_0x1b1e62[_0x375721(0x370)];return!_0x10728b||_0x10728b['length']===0x0||(_0x5e6489[_0x375721(0x227)]===_0x375721(0x20a)&&_0x362359['xlink:href']&&(_0x362359['xlink:href']=_0x362359['xlink:href']+_0x1b1e62[_0x375721(0x25c)]),Object['entries'](_0x362359)['forEach'](function(_0x1afb46){const _0x229c68=_0x375721;var _0x57d5f6=_0x1afb46[0x0],_0x3479a5=_0x1afb46[0x1];typeof _0x3479a5=='string'&&(_0x362359[_0x57d5f6]=_0x3479a5[_0x229c68(0x256)](/url\(#(.*)\)/,_0x229c68(0x2da)['concat'](_0x1b1e62[_0x229c68(0x25c)],')')));})),_0x362359;}function ji(_0x3aa88c,_0x4afb2e){const _0x13bab8=_0x86a805;var _0x3a0334,_0xacbd87=_0x4afb2e[_0x13bab8(0x370)];return!_0xacbd87||_0xacbd87[_0x13bab8(0x303)]===0x0?_0x3aa88c:_0x3aa88c[_0x13bab8(0x227)]==='defs'&&(!((_0x3a0334=_0x3aa88c['children'])===null||_0x3a0334===void 0x0)&&_0x3a0334[_0x13bab8(0x303)])?I(I({},_0x3aa88c),{'children':_0x3aa88c['children']['map'](function(_0x25c6c7){const _0x56ef56=_0x13bab8;return typeof _0x25c6c7[_0x56ef56(0x2eb)]['id']==_0x56ef56(0x354)&&_0xacbd87&&_0xacbd87['indexOf'](_0x25c6c7[_0x56ef56(0x2eb)]['id'])>-0x1?I(I({},_0x25c6c7),{'attrs':I(I({},_0x25c6c7[_0x56ef56(0x2eb)]),{'id':_0x25c6c7[_0x56ef56(0x2eb)]['id']+_0x4afb2e[_0x56ef56(0x25c)]})}):_0x25c6c7;})}):_0x3aa88c;}function Wi(){const _0x1261c6=_0x86a805;return Math[_0x1261c6(0x23e)]()[_0x1261c6(0x36c)](0x24)[_0x1261c6(0x2bc)](0x2,0x8);}We[_0x86a805(0x35d)]=_0x86a805(0x217);var Fi={'tag':_0x86a805(0x310),'attrs':{'fill':'none','viewBox':_0x86a805(0x1c6),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x290)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x264),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':_0x86a805(0x244),'strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x1a1)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':_0x86a805(0x278)}}]}]}],'defIds':[_0x86a805(0x1a1)]},Ut=_0x372972(function(_0x4ad6fc,_0x15178e){const _0x549ccc=_0x86a805;return _0x5678ba(We,Object[_0x549ccc(0x25a)]({},_0x4ad6fc,{'id':_0x549ccc(0x36e),'ref':_0x15178e,'icon':Fi}));});Ut[_0x86a805(0x35d)]=_0x86a805(0x28f);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x86a805(0x2f9),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x20b)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x276),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':'M0\x200H16V16H0z','transform':_0x86a805(0x22f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x372972(function(_0x23e67d,_0x452aec){const _0x37c230=_0x86a805;return _0x5678ba(We,Object[_0x37c230(0x25a)]({},_0x23e67d,{'id':_0x37c230(0x1c8),'ref':_0x452aec,'icon':Yi}));});Mt[_0x86a805(0x35d)]=_0x86a805(0x257);const Vi=_0x86a805(0x2a4),Xi=_0x86a805(0x343),Gi=_0x86a805(0x2bd),Ki='univer-online',zi=_0x86a805(0x1db),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xd6891c){const _0x59589e=_0x86a805;switch(_0xd6891c){case _0x185889[_0x59589e(0x326)]:return _0x59589e(0x27b);case _0x185889[_0x59589e(0x249)]:return _0x59589e(0x35f);case _0x185889[_0x59589e(0x17f)]:return'collabStatus.fetchMiss';case _0x185889[_0x59589e(0x243)]:return'collabStatus.notCollab';case _0x185889[_0x59589e(0x18a)]:case _0x185889[_0x59589e(0x333)]:return _0x59589e(0x344);case _0x185889[_0x59589e(0x2ad)]:case _0x185889[_0x59589e(0x34c)]:return _0x59589e(0x280);}}function Zi(_0x15162b){const _0x29ba98=_0x86a805,{status$:_0x7c36f4}=_0x15162b,_0x492165=_0x52d375(_0x7c36f4,_0x185889['NOT_COLLAB']),_0x434eed=_0x3ced37(_0x31b4bf),_0x46aa99=_0x3ced37(_0x1c0a48),_0x12def6=_0x492165!==_0x185889[_0x29ba98(0x326)],_0x484b94=_0x434eed['t'](Ji(_0x492165)),_0x2b1fd6=_0x530cb9(G['onlineStatus'],{[G[_0x29ba98(0x1d5)]]:_0x12def6,[G[_0x29ba98(0x2fa)]]:!_0x12def6}),_0x116ab2=_0x12def6?_0x2a7306(Mt,{}):_0x2a7306(Ut,{}),_0x4c37f1=_0x127ea7(()=>{const _0x5e0f04=_0x29ba98;_0x12def6||_0x46aa99[_0x5e0f04(0x2cd)]();},[_0x12def6,_0x46aa99]);function _0x421684(){const _0x18c603=_0x29ba98;return _0x3c0c6a(_0x18c603(0x1d1),{'className':_0x530cb9(_0x2b1fd6,_0x18c603(0x369)),'onClick':_0x4c37f1,'children':[_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusIcon'],'children':_0x116ab2}),_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusTitle'],'children':_0x484b94})]});}return _0x12def6?_0x421684():_0x2a7306(_0x67b36c,{'title':_0x434eed['t'](_0x29ba98(0x292)),'children':_0x421684()});}var Qi=Object[_0x86a805(0x172)],qi=(_0x39c624,_0x380cb6,_0x2abc8f,_0xd92ac8)=>{for(var _0x36e69f=_0xd92ac8>0x1?void 0x0:_0xd92ac8?Qi(_0x380cb6,_0x2abc8f):_0x380cb6,_0x5f3a2d=_0x39c624['length']-0x1,_0x287a19;_0x5f3a2d>=0x0;_0x5f3a2d--)(_0x287a19=_0x39c624[_0x5f3a2d])&&(_0x36e69f=_0x287a19(_0x36e69f)||_0x36e69f);return _0x36e69f;},q=(_0xb821c3,_0x414ea8)=>(_0x400ab8,_0x53327b)=>_0x414ea8(_0x400ab8,_0x53327b,_0xb821c3);let se=class extends _0x413335{constructor(_0x7a506c,_0x51230c,_0x322568,_0x184ded){const _0xf0769b=_0x86a805;super(),_(this,_0xf0769b(0x2ab),new _0x5bcfa8(_0x185889[_0xf0769b(0x243)])),(this[_0xf0769b(0x222)]=_0x7a506c,this[_0xf0769b(0x331)]=_0x51230c,this['_collaborationController']=_0x322568,this[_0xf0769b(0x1da)]=_0x184ded,this[_0xf0769b(0x253)](),this[_0xf0769b(0x2c0)]());}[_0x86a805(0x2c0)](){const _0x4ea1d3=_0x86a805;this[_0x4ea1d3(0x299)](this[_0x4ea1d3(0x222)][_0x4ea1d3(0x2b1)]['pipe'](_0x385b28(()=>{const _0x47a11f=_0x4ea1d3,_0x2c70bd=this[_0x47a11f(0x222)][_0x47a11f(0x185)]();return _0x2c70bd?this['_collaborationController'][_0x47a11f(0x271)](_0x2c70bd['getUnitId']()):_0x2404b0(null);}),_0x385b28(_0x36739a=>_0x36739a?_0x36739a[_0x4ea1d3(0x29b)]:_0x2404b0(_0x185889['NOT_COLLAB'])))[_0x4ea1d3(0x22b)](_0x5255e2=>{const _0x37cf25=_0x4ea1d3;this[_0x37cf25(0x2ab)][_0x37cf25(0x171)](_0x5255e2);}));}['_initStatusComponent'](){const _0x1aa26e=_0x86a805;this[_0x1aa26e(0x299)](this['_uiPartsService']['registerComponent'](_0x4d1246[_0x1aa26e(0x22d)],()=>_0x105aa6(en({'status$':this[_0x1aa26e(0x2ab)][_0x1aa26e(0x2f6)]()}),this[_0x1aa26e(0x331)])));}};se=qi([q(0x0,_0x3b4d53),q(0x1,_0x545293(_0xd016db)),q(0x2,_0x545293(_0x1c5104)),q(0x3,_0x13c01c)],se);function en(_0xf0d530){const {status$:_0x3b6ac0}=_0xf0d530;return function(){return _0x2a7306(Zi,{'status$':_0x3b6ac0});};}var tn=Object[_0x86a805(0x172)],sn=(_0x2364e3,_0xe5e299,_0x53747e,_0x31d354)=>{for(var _0x5029c1=_0x31d354>0x1?void 0x0:_0x31d354?tn(_0xe5e299,_0x53747e):_0xe5e299,_0x448bdc=_0x2364e3['length']-0x1,_0x516728;_0x448bdc>=0x0;_0x448bdc--)(_0x516728=_0x2364e3[_0x448bdc])&&(_0x5029c1=_0x516728(_0x5029c1)||_0x5029c1);return _0x5029c1;},B=(_0x5d51b9,_0x192866)=>(_0x383316,_0x576972)=>_0x192866(_0x383316,_0x576972,_0x5d51b9);let ie=class extends _0x413335{constructor(_0x20a2f1,_0x4d70c9,_0x25c9d6,_0x3d27a3,_0x1d001b,_0x2e872e){const _0xe4d6aa=_0x86a805;super(),this[_0xe4d6aa(0x27d)]=_0x20a2f1,this['_localCacheService']=_0x4d70c9,this[_0xe4d6aa(0x274)]=_0x25c9d6,this[_0xe4d6aa(0x356)]=_0x3d27a3,this[_0xe4d6aa(0x2d3)]=_0x1d001b,this[_0xe4d6aa(0x2c2)]=_0x2e872e,this[_0xe4d6aa(0x18b)](),this[_0xe4d6aa(0x2d6)]();}[_0x86a805(0x18b)](){const _0x1d4642=_0x86a805;this['disposeWithMe'](this[_0x1d4642(0x27d)][_0x1d4642(0x322)](()=>{const _0x29e252=_0x1d4642;if(this[_0x29e252(0x27f)][_0x29e252(0x1f4)][_0x29e252(0x214)])return this['_localeService']['t'](_0x29e252(0x2ff));}));}[_0x86a805(0x2d6)](){const _0x5c44b0=_0x86a805;this['disposeWithMe'](this[_0x5c44b0(0x274)][_0x5c44b0(0x21f)][_0x5c44b0(0x22b)](_0x1b3c31=>{const _0x14e667=_0x5c44b0;_0x1b3c31['id']===_0x57be84[_0x14e667(0x273)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x1fc))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x17a)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this['_localeService']['t'](_0x14e667(0x173))}),_0x1b3c31['id']===_0x57be84['PERMISSION_DENIED']&&this[_0x14e667(0x2d3)][_0x14e667(0x230)]({'title':this[_0x14e667(0x2c2)]['t']('permission.title'),'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x2d0)),'type':_0x14e667(0x36b),'duration':0x0}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x249)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x173))+'('+_0x1b3c31[_0x14e667(0x338)]+')'}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x25b)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x1b3c31['data']||'')}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x30d)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x228))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x376)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this['_localeService']['t'](_0x14e667(0x366))}),_0x1b3c31['id']===_0x57be84['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x339))});}));}};ie=sn([B(0x0,_0x422070),B(0x1,_0x2f93fc),B(0x2,_0x545293(_0x1237de)),B(0x3,_0x21bd27),B(0x4,_0x59f9b4),B(0x5,_0x545293(_0x31b4bf))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x571548(_0x86a805(0x2e0));var rn=Object[_0x86a805(0x172)],on=(_0x14a6a6,_0x5baf31,_0x78296e,_0x4a4397)=>{for(var _0x350998=_0x4a4397>0x1?void 0x0:_0x4a4397?rn(_0x5baf31,_0x78296e):_0x5baf31,_0x2e1cd1=_0x14a6a6['length']-0x1,_0x31b05b;_0x2e1cd1>=0x0;_0x2e1cd1--)(_0x31b05b=_0x14a6a6[_0x2e1cd1])&&(_0x350998=_0x31b05b(_0x350998)||_0x350998);return _0x350998;},K=(_0x2d91bb,_0x36fb48)=>(_0x181129,_0xab8bac)=>_0x36fb48(_0x181129,_0xab8bac,_0x2d91bb);let ne=class extends _0xb123e2{constructor(_0x255731,_0x1dcf77,_0x194851,_0x4133d9,_0x318d2c){const _0x1162db=_0x86a805;super(),this[_0x1162db(0x1c0)]=_0x255731,this['_logService']=_0x1dcf77,this['_commandService']=_0x194851,this[_0x1162db(0x2e9)]=_0x4133d9,_0x318d2c?_0x318d2c==null||_0x318d2c[_0x1162db(0x2fc)]()[_0x1162db(0x255)](()=>this[_0x1162db(0x312)]()):(this[_0x1162db(0x26d)][_0x1162db(0x1bc)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x86a805(0x312)](){const _0x261bb5=_0x86a805,_0x57fcea=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)]('unit'),_0x39aadf=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)](_0x261bb5(0x309)),_0x52cae6=this['_urlService'][_0x261bb5(0x1e1)](_0x261bb5(0x2a6));if(!_0x57fcea||!_0x39aadf){this[_0x261bb5(0x26d)][_0x261bb5(0x1bc)](_0x261bb5(0x1ed),_0x261bb5(0x2c8));return;}const _0x3c8505=await this[_0x261bb5(0x2e9)]['loadUnit'](_0x57fcea,Number(_0x39aadf),_0x52cae6);_0x3c8505&&_0x3c8505 instanceof _0x1038c2&&this[_0x261bb5(0x298)](_0x3c8505);}async['_setupSubUnitSync'](_0x2ffc59){const _0x3b632d=_0x86a805;await this['_updateSubUnitFromURLParams'](_0x2ffc59),_0x2ffc59[_0x3b632d(0x2c4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](_0x42e675=>{const _0x535067=_0x3b632d;_0x42e675&&this[_0x535067(0x1ff)](_0x42e675);}),this['_urlService'][_0x3b632d(0x1e4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](()=>this[_0x3b632d(0x2b6)](_0x2ffc59));}[_0x86a805(0x1ff)](_0x357cad,_0x1c972a=!0x1){const _0x233e99=_0x86a805,_0x2330cf=this['_urlService'][_0x233e99(0x1e1)]('subunit');_0x357cad['getSheetId']()!==_0x2330cf&&this[_0x233e99(0x1c0)][_0x233e99(0x308)](_0x233e99(0x2a6),_0x357cad[_0x233e99(0x35c)](),_0x1c972a);}async[_0x86a805(0x2b6)](_0x36dbac){const _0x3e2427=_0x86a805;var _0x2bcb94;const _0x27dd55=this['_urlService'][_0x3e2427(0x1e1)](_0x3e2427(0x2a6));if(!_0x27dd55||!_0x36dbac[_0x3e2427(0x35b)](_0x27dd55)){const _0x3036e6=_0x36dbac['getUnhiddenWorksheets']()[0x0],_0x38b08c=_0x36dbac[_0x3e2427(0x35b)](_0x3036e6);if(!_0x38b08c)return;this[_0x3e2427(0x1ff)](_0x38b08c,!0x0),await this['_commandService']['executeCommand'](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x3036e6});return;}((_0x2bcb94=_0x36dbac[_0x3e2427(0x189)]())==null?void 0x0:_0x2bcb94['getSheetId']())!==_0x27dd55&&await this['_commandService'][_0x3e2427(0x199)](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x27dd55});}};ne=on([K(0x0,Pt),K(0x1,_0x1439a0),K(0x2,_0x27119f),K(0x3,_0x545293(_0x31df32)),K(0x4,_0x3026a9(_0x58ce1d))],ne);var an=Object[_0x86a805(0x172)],cn=(_0x22f8d0,_0x1c6087,_0x190fd5,_0x36df66)=>{const _0x3c0aad=_0x86a805;for(var _0xd13f47=_0x36df66>0x1?void 0x0:_0x36df66?an(_0x1c6087,_0x190fd5):_0x1c6087,_0x270d8a=_0x22f8d0[_0x3c0aad(0x303)]-0x1,_0x5943ec;_0x270d8a>=0x0;_0x270d8a--)(_0x5943ec=_0x22f8d0[_0x270d8a])&&(_0xd13f47=_0x5943ec(_0xd13f47)||_0xd13f47);return _0xd13f47;},Ce=(_0x363c06,_0x19b6ee)=>(_0x40935a,_0x878895)=>_0x19b6ee(_0x40935a,_0x878895,_0x363c06);let re=class{constructor(_0x55f3f9,_0x4d7cc8,_0xb2640d){const _0x551014=_0x86a805;this[_0x551014(0x331)]=_0x55f3f9,this[_0x551014(0x372)]=_0x4d7cc8,this[_0x551014(0x263)]=_0xb2640d;}[_0x86a805(0x291)](_0x420f94){const _0x3736ae=_0x86a805;this[_0x3736ae(0x25d)](_0x420f94),this[_0x3736ae(0x240)](_0x420f94);}['transformRemoteChangeset'](_0x4e0717){const _0x2d6779=_0x86a805,{unitID:_0x44ddd5}=_0x4e0717,_0x10c37b=this[_0x2d6779(0x263)][_0x2d6779(0x345)](_0x44ddd5)[_0x2d6779(0x2fe)](_0x34b76a),{redoCache:_0x4ac394}=_0x10c37b['getUndoRedoMutationParamsCache']();if(_0x4ac394[_0x2d6779(0x303)]===0x0)return _0x4e0717;let _0x382d79=_0x168ff4['deepClone'](_0x4e0717[_0x2d6779(0x23a)][0x0]);for(let _0x2b5f84=0x0;_0x2b5f84<_0x4ac394[_0x2d6779(0x303)];_0x2b5f84++){const _0x474782={'id':'doc.mutation.rich-text-editing','params':{..._0x4ac394[_0x2b5f84]}},_0x496082=this[_0x2d6779(0x372)]['transformMutation'](_0x382d79,_0x474782,!0x1);if(_0x503208(_0x496082))throw _0x496082[_0x2d6779(0x36b)];_0x382d79=_0x496082['m1Prime'];}return{..._0x168ff4[_0x2d6779(0x1a3)](_0x4e0717),'mutations':[_0x382d79]};}[_0x86a805(0x25d)](_0x412fa){const _0x1351f9=_0x86a805,{unitID:_0x3407f4}=_0x412fa,_0x5c4452=this[_0x1351f9(0x263)][_0x1351f9(0x345)](_0x3407f4)[_0x1351f9(0x2fe)](_0x34b76a),{undoCache:_0x2b526a,redoCache:_0x548f61}=_0x5c4452[_0x1351f9(0x2f2)]();if(_0x2b526a[_0x1351f9(0x303)]===0x0||_0x548f61[_0x1351f9(0x303)]===0x0)return;const _0x416ae3=[],_0xc451c5=[];let _0x22db6b=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa[_0x1351f9(0x23a)][0x0]),_0x1dfafc=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa['mutations'][0x0]);for(let _0x1418f5=_0x2b526a[_0x1351f9(0x303)]-0x1;_0x1418f5>=0x0;_0x1418f5--){const _0x4700f6={'id':_0x1351f9(0x186),'params':{..._0x2b526a[_0x1418f5]}},_0xc9bbc1={'id':_0x1351f9(0x186),'params':{..._0x548f61[_0x1418f5]}},_0x4199c3=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x22db6b,_0x4700f6,!0x1),_0x5452e7=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x1dfafc,_0xc9bbc1,!0x1);if(_0x503208(_0x4199c3))throw _0x4199c3['error'];if(_0x503208(_0x5452e7))throw _0x5452e7[_0x1351f9(0x36b)];_0x416ae3[_0x1351f9(0x241)](_0x4199c3['m2Prime'][_0x1351f9(0x348)]),_0xc451c5[_0x1351f9(0x241)](_0x5452e7[_0x1351f9(0x1f3)][_0x1351f9(0x348)]),_0x22db6b=_0x4199c3[_0x1351f9(0x23c)],_0x1dfafc=_0x5452e7[_0x1351f9(0x23c)];}_0x5c4452[_0x1351f9(0x1a9)]({'undoCache':_0x416ae3,'redoCache':_0xc451c5});}[_0x86a805(0x240)](_0x59bf6e){const _0x559605=_0x86a805,{unitID:_0x93429b}=_0x59bf6e,_0x522363=this[_0x559605(0x263)][_0x559605(0x345)](_0x93429b)[_0x559605(0x2fe)](_0x34b76a),_0x48b570=_0x522363[_0x559605(0x220)]();if(_0x48b570==null)return;const _0x3a227a=[{'id':_0x559605(0x186),'params':{'unitId':_0x59bf6e[_0x559605(0x247)],'actions':null,'textRanges':[_0x48b570]}}],_0x707133=this['_transformService'][_0x559605(0x25e)](_0x59bf6e,_0x3a227a);if(!_0x13d2b8(_0x707133))throw _0x707133[_0x559605(0x36b)];const _0x27d3de=_0x707133[_0x559605(0x1f3)][0x0]['params']['textRanges'];Array[_0x559605(0x1aa)](_0x27d3de)&&_0x27d3de['length']&&_0x522363[_0x559605(0x23f)](_0x27d3de[0x0]);}};re=cn([Ce(0x0,_0x545293(_0xd016db)),Ce(0x1,_0x5241f1),Ce(0x2,_0x293f75)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2346ad,_0x3a9e22,_0x519fc0,_0x4cd39a)=>{for(var _0x55b88a=_0x4cd39a>0x1?void 0x0:_0x4cd39a?ln(_0x3a9e22,_0x519fc0):_0x3a9e22,_0x25b293=_0x2346ad['length']-0x1,_0x178ad6;_0x25b293>=0x0;_0x25b293--)(_0x178ad6=_0x2346ad[_0x25b293])&&(_0x55b88a=_0x178ad6(_0x55b88a)||_0x55b88a);return _0x55b88a;},Ee=(_0x225bab,_0x5e1f50)=>(_0x5da721,_0xaed28c)=>_0x5e1f50(_0x5da721,_0xaed28c,_0x225bab);let oe=class{constructor(_0x337c8f,_0x30038d,_0x319c0f){const _0x65e8f7=_0x86a805;this['_injector']=_0x337c8f,this[_0x65e8f7(0x372)]=_0x30038d,this[_0x65e8f7(0x279)]=_0x319c0f;}['transformStateCache'](_0x5ac017){this['_transformHistoryAndStateStack'](_0x5ac017);}['transformRemoteChangeset'](_0x17e7e6){const _0x57b2d4=_0x86a805,{unitID:_0x29d180}=_0x17e7e6,{collaboration:_0x320d1e}=this[_0x57b2d4(0x279)]['getStateCache'](_0x29d180);if(_0x320d1e[_0x57b2d4(0x303)]===0x0)return _0x17e7e6;let _0x3081f1=_0x168ff4['deepClone'](_0x17e7e6[_0x57b2d4(0x23a)][0x0]);for(let _0x2815ab=0x0;_0x2815ab<_0x320d1e[_0x57b2d4(0x303)];_0x2815ab++){const _0x908df5={'id':_0x57b2d4(0x186),'params':{'unitId':_0x320d1e[_0x2815ab]['unitId'],..._0x320d1e[_0x2815ab][_0x57b2d4(0x2be)]}},_0x11dc47=this['_transformService'][_0x57b2d4(0x35a)](_0x3081f1,_0x908df5,!0x1);if(_0x503208(_0x11dc47))throw _0x11dc47['error'];_0x3081f1=_0x11dc47[_0x57b2d4(0x23c)];}return{..._0x168ff4[_0x57b2d4(0x1a3)](_0x17e7e6),'mutations':[_0x3081f1]};}[_0x86a805(0x1a8)](_0x174ab7){const _0x38cc2b=_0x86a805,{unitID:_0x4ea13b}=_0x174ab7,{history:_0x1346ce,collaboration:_0x16e9f3}=this[_0x38cc2b(0x279)][_0x38cc2b(0x1f9)](_0x4ea13b);if(_0x1346ce[_0x38cc2b(0x303)]===0x0&&_0x16e9f3[_0x38cc2b(0x303)]===0x0)return;const _0x505681=[],_0x37fea4=[];let _0x1281cc=_0x168ff4['deepClone'](_0x174ab7['mutations'][0x0]),_0x332bc7=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x55caa2=_0x1346ce[_0x38cc2b(0x303)]-0x1;_0x55caa2>=0x0;_0x55caa2--){const _0x4bacbe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1346ce[_0x55caa2][_0x38cc2b(0x337)],..._0x1346ce[_0x55caa2][_0x38cc2b(0x334)]}},_0x185b03={'id':_0x38cc2b(0x186),'params':{'unitId':_0x1346ce[_0x55caa2]['unitId'],..._0x1346ce[_0x55caa2][_0x38cc2b(0x2be)]}},_0x7486e1=this[_0x38cc2b(0x372)]['transformMutation'](_0x1281cc,_0x4bacbe,!0x1),_0x107637=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x185b03,!0x1);if(_0x503208(_0x7486e1))throw _0x7486e1[_0x38cc2b(0x36b)];if(_0x503208(_0x107637))throw _0x107637[_0x38cc2b(0x36b)];_0x505681[_0x38cc2b(0x241)]({..._0x1346ce[_0x55caa2],'undoState':_0x7486e1['m2Prime'][_0x38cc2b(0x348)],'redoState':_0x107637[_0x38cc2b(0x1f3)]['params']}),_0x1281cc=_0x7486e1[_0x38cc2b(0x23c)],_0x332bc7=_0x107637[_0x38cc2b(0x23c)];}_0x1281cc=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]),_0x332bc7=_0x168ff4['deepClone'](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x4cd5ba=_0x16e9f3['length']-0x1;_0x4cd5ba>=0x0;_0x4cd5ba--){const _0x195874={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba][_0x38cc2b(0x337)],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x334)]}},_0x5981c4={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba]['unitId'],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x2be)]}},_0x2c50a5=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x1281cc,_0x195874,!0x1),_0x3a4970=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x5981c4,!0x1);if(_0x503208(_0x2c50a5))throw _0x2c50a5[_0x38cc2b(0x36b)];if(_0x503208(_0x3a4970))throw _0x3a4970[_0x38cc2b(0x36b)];_0x37fea4[_0x38cc2b(0x241)]({..._0x16e9f3[_0x4cd5ba],'undoState':_0x2c50a5[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)],'redoState':_0x3a4970[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)]}),_0x1281cc=_0x2c50a5[_0x38cc2b(0x23c)],_0x332bc7=_0x3a4970[_0x38cc2b(0x23c)];}this[_0x38cc2b(0x279)][_0x38cc2b(0x31e)](_0x4ea13b,{'history':_0x505681,'collaboration':_0x37fea4});}};oe=_n([Ee(0x0,_0x545293(_0xd016db)),Ee(0x1,_0x5241f1),Ee(0x2,_0x545293(_0x54f7c6))],oe);var hn=Object[_0x86a805(0x172)],un=(_0x19d94b,_0xc3f12e,_0x108a2c,_0x30d64a)=>{const _0x46b05a=_0x86a805;for(var _0x194da4=_0x30d64a>0x1?void 0x0:_0x30d64a?hn(_0xc3f12e,_0x108a2c):_0xc3f12e,_0x588181=_0x19d94b[_0x46b05a(0x303)]-0x1,_0x4c84bf;_0x588181>=0x0;_0x588181--)(_0x4c84bf=_0x19d94b[_0x588181])&&(_0x194da4=_0x4c84bf(_0x194da4)||_0x194da4);return _0x194da4;},it=(_0x333c05,_0x1246e8)=>(_0x54f103,_0x4416de)=>_0x1246e8(_0x54f103,_0x4416de,_0x333c05);let ae=class{constructor(_0x17197b,_0x479868){const _0x2453ae=_0x86a805;this['_injector']=_0x17197b,this[_0x2453ae(0x372)]=_0x479868;}['transformSelections'](_0x3e1de0){const _0x29a717=_0x86a805;var _0x5798fa;const _0x12f734=this[_0x29a717(0x331)][_0x29a717(0x2d4)](_0x40410e),_0x19fab5=(_0x5798fa=_0x12f734[_0x29a717(0x2c5)]())!=null?_0x5798fa:[];if(_0x19fab5[_0x29a717(0x303)]===0x0)return;const _0x4c6245=_0x3e1de0[_0x29a717(0x247)],_0xb71500=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c6245,'actions':null,'textRanges':_0x19fab5}}],_0x153b3c=this[_0x29a717(0x372)][_0x29a717(0x25e)](_0x3e1de0,_0xb71500);if(!_0x13d2b8(_0x153b3c))throw _0x153b3c['error'];const _0x4ed9b1=_0x153b3c[_0x29a717(0x1f3)][0x0][_0x29a717(0x348)][_0x29a717(0x2d1)];Array[_0x29a717(0x1aa)](_0x4ed9b1)&&_0x4ed9b1[_0x29a717(0x303)]&&_0x12f734[_0x29a717(0x1ca)](_0x4ed9b1,{'unitId':_0x4c6245,'subUnitId':_0x4c6245},!0x1);}};ae=un([it(0x0,_0x545293(_0xd016db)),it(0x1,_0x5241f1)],ae);var dn=Object[_0x86a805(0x172)],fn=(_0x5ea118,_0x223737,_0x1f4345,_0x55a6d2)=>{for(var _0x35ef06=_0x55a6d2>0x1?void 0x0:_0x55a6d2?dn(_0x223737,_0x1f4345):_0x223737,_0x3796d4=_0x5ea118['length']-0x1,_0x5ce27e;_0x3796d4>=0x0;_0x3796d4--)(_0x5ce27e=_0x5ea118[_0x3796d4])&&(_0x35ef06=_0x5ce27e(_0x35ef06)||_0x35ef06);return _0x35ef06;},U=(_0x1c6fa7,_0x39bad3)=>(_0x5eaec9,_0x394ea9)=>_0x39bad3(_0x5eaec9,_0x394ea9,_0x1c6fa7);let ce=class extends _0x413335{constructor(_0x41668a,_0x499e41,_0x4cbe02,_0x923491,_0x4b90c9,_0x256688,_0xb09132,_0x13b1f){const _0x15768d=_0x86a805;super(),_(this,_0x15768d(0x2ab),new _0x5bcfa8(_0x185889[_0x15768d(0x243)])),(this['_docStateChangeManagerService']=_0x41668a,this[_0x15768d(0x176)]=_0x499e41,this[_0x15768d(0x19e)]=_0x4cbe02,this[_0x15768d(0x293)]=_0x923491,this[_0x15768d(0x1e7)]=_0x4b90c9,this[_0x15768d(0x307)]=_0x256688,this[_0x15768d(0x356)]=_0xb09132,this['_localeService']=_0x13b1f,this[_0x15768d(0x363)]());}['_initEntityListener'](){const _0x38cb2e=_0x86a805;this[_0x38cb2e(0x299)](this[_0x38cb2e(0x176)][_0x38cb2e(0x1ea)][_0x38cb2e(0x22b)](_0x1f9f46=>{const _0x13ebbe=_0x38cb2e,_0x5163e4=this[_0x13ebbe(0x279)]['docStateChange$'][_0x13ebbe(0x22b)](_0x2d4c9e=>{const _0x3edd20=_0x13ebbe;if(_0x2d4c9e==null)return;const {unitId:_0x543c88,redoState:_0x183cd8,commandId:_0x2ac796}=_0x2d4c9e;if(_0x543c88!==_0x1f9f46[_0x3edd20(0x247)])return;const _0x56cf2a={'id':_0x2ac796,'type':_0x29bf00[_0x3edd20(0x2a9)],'params':{'unitId':_0x543c88,'actions':_0x183cd8['actions'],'textRanges':null}};_0x1f9f46['onLocalMutation'](_0x56cf2a);});if(_0x1f9f46[_0x13ebbe(0x299)](_0x5163e4),_0x1f9f46 instanceof _0x5706ec){const _0x1b1273={'onTransformIME':_0xac648a=>this['_docTransformIMECacheService'][_0x13ebbe(0x291)](_0xac648a),'onTransformState':_0xb50c68=>this[_0x13ebbe(0x293)]['transformStateCache'](_0xb50c68),'onTransformSelections':_0x58d24a=>this[_0x13ebbe(0x1e7)][_0x13ebbe(0x19c)](_0x58d24a),'onSyncEditingCollabCursor':_0x5ec3d5=>this['_docSyncEditingCollabCursorService'][_0x13ebbe(0x268)](_0x5ec3d5),'onTransformRemoteChangesetByIMECache':_0x2809d9=>this[_0x13ebbe(0x19e)][_0x13ebbe(0x248)](_0x2809d9),'onTransformRemoteChangesetByStateCache':_0x36f761=>this[_0x13ebbe(0x293)]['transformRemoteChangeset'](_0x36f761)};_0x1f9f46[_0x13ebbe(0x2f5)](_0x1b1273);}}));}};ce=fn([U(0x0,_0x545293(_0x54f7c6)),U(0x1,_0x545293(_0x1c5104)),U(0x2,_0x545293(re)),U(0x3,_0x545293(oe)),U(0x4,_0x545293(ae)),U(0x5,_0x545293(je)),U(0x6,_0x21bd27),U(0x7,_0x545293(_0x31b4bf))],ce);var Sn=Object[_0x86a805(0x172)],mn=(_0x55f1ea,_0x54a8d8,_0x32cd83,_0x4a1fe7)=>{const _0x415e75=_0x86a805;for(var _0x34153a=_0x4a1fe7>0x1?void 0x0:_0x4a1fe7?Sn(_0x54a8d8,_0x32cd83):_0x54a8d8,_0x281bcf=_0x55f1ea[_0x415e75(0x303)]-0x1,_0x465bde;_0x281bcf>=0x0;_0x281bcf--)(_0x465bde=_0x55f1ea[_0x281bcf])&&(_0x34153a=_0x465bde(_0x34153a)||_0x34153a);return _0x34153a;},be=(_0x470019,_0x456978)=>(_0x2195d0,_0x4f3f8e)=>_0x456978(_0x2195d0,_0x4f3f8e,_0x470019);let Ae=class extends _0x413335{constructor(_0x4f4f76,_0xfee3bc,_0x4625e0){const _0x111fdc=_0x86a805;super(),_(this,_0x111fdc(0x2a1),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x111fdc(0x1ef),!0x1),(this[_0x111fdc(0x1f1)]=_0x4f4f76,this[_0x111fdc(0x1dd)]=_0xfee3bc,this[_0x111fdc(0x208)]=_0x4625e0);}[_0x86a805(0x24a)](){const _0x3a79f2=_0x86a805;this[_0x3a79f2(0x1ef)]=!0x0;}[_0x86a805(0x368)](){const _0x43113b=_0x86a805;this[_0x43113b(0x1ef)]=!0x1;}get[_0x86a805(0x1f4)](){return this['_saveTaskMap'];}[_0x86a805(0x33c)](){const _0x5b0968=_0x86a805;this['exhaustSavingTask']()[_0x5b0968(0x255)](()=>super[_0x5b0968(0x33c)]());}async[_0x86a805(0x30f)](_0x3c2d95){const _0x80126e=_0x86a805;return this[_0x80126e(0x1ef)]?null:this[_0x80126e(0x1dd)][_0x80126e(0x221)](_0x3362f8(_0x3c2d95));}async[_0x86a805(0x17c)](_0x39bfb5,_0x53b4c4){const _0x4dca77=_0x86a805;return!!this[_0x4dca77(0x1dd)][_0x4dca77(0x2d5)](_0x39bfb5,_0x53b4c4);}[_0x86a805(0x349)](_0x268d52,_0x3cd645,_0x49c08e,_0x2befd4){const _0x47d6f9=_0x86a805,_0x11e031=this[_0x47d6f9(0x208)]['getCurrentRevOfUnit'](_0x268d52);this['_cachedData'][_0x47d6f9(0x1a2)](_0x268d52,{'unitID':_0x268d52,'type':_0x3cd645,'awaitingChangeset':_0x49c08e,'mutations':_0x2befd4,'rev':_0x11e031}),this[_0x47d6f9(0x36a)]['has'](_0x268d52)||this[_0x47d6f9(0x29e)](_0x268d52);}[_0x86a805(0x29e)](_0x56f433){const _0x15efa5=_0x86a805,_0x4b32c3=this[_0x15efa5(0x26f)]();_0x4b32c3===0x0?this[_0x15efa5(0x317)](_0x56f433):this[_0x15efa5(0x36a)][_0x15efa5(0x1a2)](_0x56f433,setTimeout(()=>this['_saveCache'](_0x56f433),_0x4b32c3));}[_0x86a805(0x26f)](){const _0x4934ac=_0x86a805;var _0x2d95a9;return(_0x2d95a9=this[_0x4934ac(0x1f1)][_0x4934ac(0x2a8)](_0x1160db))!=null?_0x2d95a9:_0x2cc217;}['_saveCache'](_0x2d66c9){const _0x325c98=_0x86a805,_0xb79314=this[_0x325c98(0x36a)][_0x325c98(0x2d4)](_0x2d66c9);return _0xb79314!==void 0x0&&window['clearTimeout'](_0xb79314),this[_0x325c98(0x1dd)]['setItem'](_0x3362f8(_0x2d66c9),this['_cachedData'][_0x325c98(0x2d4)](_0x2d66c9))[_0x325c98(0x255)](()=>this['_saveTaskMap']['delete'](_0x2d66c9));}async['exhaustSavingTask'](){const _0x42bbd7=_0x86a805,_0x3926fc=[];this['_saveTaskMap'][_0x42bbd7(0x2e6)]((_0x235b5f,_0xd35aa1)=>{const _0x5763a7=_0x42bbd7;window[_0x5763a7(0x20e)](_0x235b5f),_0x3926fc[_0x5763a7(0x316)](this[_0x5763a7(0x317)](_0xd35aa1)[_0x5763a7(0x255)](()=>{const _0x231c2c=_0x5763a7;this['_saveTaskMap'][_0x231c2c(0x352)](_0xd35aa1);}));}),await Promise['all'](_0x3926fc);}};Ae=mn([be(0x0,_0x48306b),be(0x1,_0x3734d1),be(0x2,_0x545293(_0x1f48b9))],Ae);class gn extends _0xb123e2{constructor(){const _0x2c672c=_0x86a805;super(),_(this,_0x2c672c(0x1e4)),this[_0x2c672c(0x1e4)]=_0x1185c0(window,_0x2c672c(0x1d3))[_0x2c672c(0x205)](_0x51fbbc(this[_0x2c672c(0x289)]),_0x39811f(0x1),_0x1cbba8(void 0x0));}['setParam'](_0xe2ab86,_0x3ae419,_0x34e004=!0x1){const _0x1591f5=_0x86a805,_0x2d3cc9=new URL(window[_0x1591f5(0x184)][_0x1591f5(0x1e0)]);_0x2d3cc9[_0x1591f5(0x31d)][_0x1591f5(0x1a2)](_0xe2ab86,_0x3ae419),_0x34e004?window[_0x1591f5(0x1b7)][_0x1591f5(0x367)]('','',_0x2d3cc9[_0x1591f5(0x36c)]()):window[_0x1591f5(0x1b7)][_0x1591f5(0x2df)]('','',_0x2d3cc9[_0x1591f5(0x36c)]());}[_0x86a805(0x1fd)](_0x257497,_0x5eaa45=!0x1){const _0x4fd2e2=_0x86a805,_0x3dfacc=new URL(window[_0x4fd2e2(0x184)][_0x4fd2e2(0x1e0)]);_0x3dfacc['searchParams'][_0x4fd2e2(0x352)](_0x257497),_0x5eaa45?window[_0x4fd2e2(0x1b7)]['replaceState']('','',_0x3dfacc[_0x4fd2e2(0x36c)]()):window['history'][_0x4fd2e2(0x2df)]('','',_0x3dfacc[_0x4fd2e2(0x36c)]());}['getParam'](_0x5ce2cb){const _0x47fb2b=_0x86a805;var _0xbbf82f;return(_0xbbf82f=new URL(window[_0x47fb2b(0x184)][_0x47fb2b(0x1e0)])['searchParams']['get'](_0x5ce2cb))!=null?_0xbbf82f:void 0x0;}}var vn=Object[_0x86a805(0x33d)],In=Object[_0x86a805(0x172)],pn=(_0x3cdfdc,_0x44050f,_0x38c05c)=>_0x44050f in _0x3cdfdc?vn(_0x3cdfdc,_0x44050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c05c}):_0x3cdfdc[_0x44050f]=_0x38c05c,Cn=(_0xef4751,_0x4c6a4a,_0x281db9,_0x50cb1e)=>{const _0x42dc08=_0x86a805;for(var _0x5196bd=_0x50cb1e>0x1?void 0x0:_0x50cb1e?In(_0x4c6a4a,_0x281db9):_0x4c6a4a,_0x300ba5=_0xef4751[_0x42dc08(0x303)]-0x1,_0x5e8f3b;_0x300ba5>=0x0;_0x300ba5--)(_0x5e8f3b=_0xef4751[_0x300ba5])&&(_0x5196bd=_0x5e8f3b(_0x5196bd)||_0x5196bd);return _0x5196bd;},Oe=(_0x1aecd9,_0x29d53f)=>(_0x5064ac,_0x264a2b)=>_0x29d53f(_0x5064ac,_0x264a2b,_0x1aecd9),En=(_0x59feb9,_0x1d332f,_0x3e9b3b)=>pn(_0x59feb9,_0x1d332f+'',_0x3e9b3b);const bn=_0x86a805(0x234);let ye=class extends _0x51a27e{constructor(_0xb28c99=st,_0x2f052e,_0x398c40,_0x782210){const _0x377246=_0x86a805;super(),this[_0x377246(0x342)]=_0xb28c99,this[_0x377246(0x263)]=_0x2f052e,this[_0x377246(0x331)]=_0x398c40,this[_0x377246(0x1f1)]=_0x782210;const {..._0x2b97f4}=_0x27f3ab({},st,this[_0x377246(0x342)]);this[_0x377246(0x1f1)]['setConfig'](nn,_0x2b97f4);}[_0x86a805(0x1e2)](){const _0x335bf7=_0x86a805;this[_0x335bf7(0x286)](),this[_0x335bf7(0x2c7)]();}[_0x86a805(0x193)](){const _0x45c9a8=_0x86a805;this[_0x45c9a8(0x275)]();}['_registerDependencies'](){const _0xf67fbc=_0x86a805;var _0x23aa82;const _0x28c54f=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x97dc22,{'useClass':_0x49dc8d}],[_0x2f93fc,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x541539(this[_0xf67fbc(0x331)],_0x2c8e86(_0x28c54f,(_0x23aa82=this[_0xf67fbc(0x342)])==null?void 0x0:_0x23aa82[_0xf67fbc(0x320)]));}[_0x86a805(0x275)](){const _0x1338c5=_0x86a805;this[_0x1338c5(0x299)](this['_renderManagerService'][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x2a5)],[we])),this['disposeWithMe'](this[_0x1338c5(0x263)][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x294)],[Le]));}[_0x86a805(0x2c7)](){const _0x171fd1=_0x86a805;_0xd5aa2e(this[_0x171fd1(0x331)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x86a805(0x2fd),bn),ye=Cn([_0x49e5b2(_0x3ae7ce),Oe(0x1,_0x293f75),Oe(0x2,_0x545293(_0xd016db)),Oe(0x3,_0x48306b)],ye);var On=Object[_0x86a805(0x172)],Tn=(_0x416d4a,_0x39ff37,_0x660220,_0x36e12c)=>{const _0x56c4b5=_0x86a805;for(var _0x342e6b=_0x36e12c>0x1?void 0x0:_0x36e12c?On(_0x39ff37,_0x660220):_0x39ff37,_0x4fb7ca=_0x416d4a[_0x56c4b5(0x303)]-0x1,_0x29f33a;_0x4fb7ca>=0x0;_0x4fb7ca--)(_0x29f33a=_0x416d4a[_0x4fb7ca])&&(_0x342e6b=_0x29f33a(_0x342e6b)||_0x342e6b);return _0x342e6b;},z=(_0x2d60ce,_0x5b68d2)=>(_0x27f4f6,_0x4af57a)=>_0x5b68d2(_0x27f4f6,_0x4af57a,_0x2d60ce);let nt=class extends _0xc74cd5{constructor(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b){super(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b);}async[_0x86a805(0x29a)](_0x599d1a){const _0x1782b8=_0x86a805,_0x1a45c9=await this[_0x1782b8(0x22e)](),_0x148aa6=this[_0x1782b8(0x187)](_0x599d1a,_0x1a45c9);return this[_0x1782b8(0x2aa)](_0x148aa6);}[_0x86a805(0x187)](_0x3e7fb0,_0x4e6de2){const _0x245ad4=_0x86a805,_0x42b07a=typeof window>'u'?new URL(_0x3e7fb0):new URL(_0x3e7fb0,window[_0x245ad4(0x184)][_0x245ad4(0x216)]);_0x42b07a[_0x245ad4(0x31d)][_0x245ad4(0x1a2)](_0x245ad4(0x357),_0x4e6de2);const _0x1cc65a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ad4(0x184)]['search']);return _0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))&&_0x42b07a['searchParams'][_0x245ad4(0x1a2)](_0x245ad4(0x2cf),_0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))),_0x42b07a['toString']();}async[_0x86a805(0x22e)](){const _0x57632d=_0x86a805;var _0x12c9ec,_0x12a7c3,_0x1dd204;const _0x26a9c9=this[_0x57632d(0x1f1)][_0x57632d(0x2a8)](_0x33a672),_0xd72acf=(_0x12c9ec=_0x26a9c9==null?void 0x0:_0x26a9c9[_0x57632d(0x245)])!=null?_0x12c9ec:_0x2702ba;return(_0x1dd204=(_0x12a7c3=(await this[_0x57632d(0x1ab)][_0x57632d(0x2d4)](_0xd72acf,{'headers':{'Content-Type':_0x57632d(0x29d)}}))[_0x57632d(0x1eb)])==null?void 0x0:_0x12a7c3['ticket'])!=null?_0x1dd204:'';}};nt=Tn([z(0x0,_0x545293(_0xd016db)),z(0x1,_0x545293(_0x231e97)),z(0x2,_0x48306b),z(0x3,_0x1439a0),z(0x4,_0x4fc4d8)],nt);const rt=0x7530,ot=_0x86a805(0x365);class Gn extends _0x413335{constructor(){const _0x454e23=_0x86a805;super(),_(this,_0x454e23(0x2b4),_0x49a986()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454e23(0x330),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x454e23(0x312)]();}[_0x86a805(0x33c)](){const _0x253c47=_0x86a805;super[_0x253c47(0x33c)](),this[_0x253c47(0x296)][_0x253c47(0x2e6)]((_0x171435,_0x2f7de4)=>this['_removeClearOtherTimer'](_0x2f7de4)),this['_heartbeatTimer']&&window[_0x253c47(0x27e)](this['_heartbeatTimer']);}[_0x86a805(0x270)](_0x5172ee){const _0x37b6b8=_0x86a805;return this[_0x37b6b8(0x20f)](_0x5172ee)[_0x37b6b8(0x205)](_0x410251());}[_0x86a805(0x223)](_0x2f47a1){const _0x44116e=_0x86a805;this['_selfUnitIDs'][_0x44116e(0x214)]===0x0&&this[_0x44116e(0x329)](),this['_selfUnitIDs'][_0x44116e(0x364)](_0x2f47a1),this[_0x44116e(0x1f6)]({'type':0x0,'memberID':this[_0x44116e(0x2b4)],'unitIDs':[_0x2f47a1],'isForwarded':!0x1});}[_0x86a805(0x21c)](_0x146c4f){const _0x2d324e=_0x86a805;this[_0x2d324e(0x1b1)][_0x2d324e(0x352)](_0x146c4f),this[_0x2d324e(0x1b1)][_0x2d324e(0x214)]===0x0&&this[_0x2d324e(0x2ed)]&&window[_0x2d324e(0x27e)](this[_0x2d324e(0x2ed)]);}['_init'](){const _0x1e81da=_0x86a805;this[_0x1e81da(0x299)](_0x571cee(_0x1185c0(window,_0x1e81da(0x371))[_0x1e81da(0x22b)](_0xa5a9bd=>{const _0x85f1d3=_0x1e81da;if(_0xa5a9bd['key']!==ot||!_0xa5a9bd[_0x85f1d3(0x324)])return;const _0x4f3eee=JSON[_0x85f1d3(0x36d)](_0xa5a9bd[_0x85f1d3(0x324)]);this[_0x85f1d3(0x1ad)](_0x4f3eee);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x1e81da(0x2b4)],'unitIDs':Array[_0x1e81da(0x21a)](this['_selfUnitIDs'])}));}[_0x86a805(0x1ad)](_0x2debdd){const _0xe256de=_0x86a805;switch(_0x2debdd[_0xe256de(0x309)]){case 0x0:this[_0xe256de(0x313)](_0x2debdd);break;case 0x1:this[_0xe256de(0x262)](_0x2debdd);break;case 0x2:this[_0xe256de(0x26b)](_0x2debdd);break;}}[_0x86a805(0x313)](_0x10dd60){const _0x56d526=_0x86a805,{unitIDs:_0x509bf0,memberID:_0x1a90a6,isForwarded:_0x29feb0}=_0x10dd60;_0x509bf0[_0x56d526(0x2e6)](_0x315cec=>{const _0x27297b=_0x56d526;if(!_0x29feb0&&this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)&&this[_0x27297b(0x20f)](_0x315cec)[_0x27297b(0x171)](_0x8c34b9[_0x27297b(0x17e)]),!this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)||!this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)['has'](_0x1a90a6)){const _0x53e60b=this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)||new Set();_0x53e60b[_0x27297b(0x364)](_0x1a90a6),this['_unitOnClients'][_0x27297b(0x1a2)](_0x315cec,_0x53e60b),this['_scheduleClearOtherTimer'](_0x1a90a6);}}),_0x29feb0||this[_0x56d526(0x1f6)]({'type':0x0,'memberID':this[_0x56d526(0x2b4)],'unitIDs':[...this[_0x56d526(0x1b1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xf1d3fb){const _0xc50108=_0x86a805;this['_removeClearOtherTimer'](_0xf1d3fb);const _0xc4fbea=window[_0xc50108(0x224)](()=>{const _0x509f62=_0xc50108;this[_0x509f62(0x330)]['forEach'](_0x315fa6=>{const _0x4de53e=_0x509f62;_0x315fa6[_0x4de53e(0x352)](_0xf1d3fb);});},rt*0x2);this['_clearOtherTimers'][_0xc50108(0x1a2)](_0xf1d3fb,_0xc4fbea);}['_removeClearOtherTimer'](_0x5abbe5){const _0x433b9b=_0x86a805;if(this['_clearOtherTimers'][_0x433b9b(0x260)](_0x5abbe5)){const _0x131afb=this[_0x433b9b(0x296)][_0x433b9b(0x2d4)](_0x5abbe5);_0x131afb&&window[_0x433b9b(0x20e)](_0x131afb),this[_0x433b9b(0x296)][_0x433b9b(0x1a2)](_0x5abbe5,null);}}[_0x86a805(0x262)](_0x1be373){const _0x2f1973=_0x86a805,{memberID:_0x329889,unitIDs:_0x5bb777}=_0x1be373;_0x5bb777['forEach'](_0x3dcd4c=>{const _0x4cfbf8=_0x4594;var _0x288c18;const _0x1c2ef5=this[_0x4cfbf8(0x330)][_0x4cfbf8(0x2d4)](_0x3dcd4c);_0x1c2ef5&&(_0x1c2ef5[_0x4cfbf8(0x352)](_0x329889),(_0x288c18=this[_0x4cfbf8(0x20f)](_0x3dcd4c))==null||_0x288c18[_0x4cfbf8(0x171)](_0x1c2ef5[_0x4cfbf8(0x214)]===0x0?_0x8c34b9[_0x4cfbf8(0x2ef)]:_0x8c34b9[_0x4cfbf8(0x17e)]));}),this[_0x2f1973(0x283)](_0x329889);}[_0x86a805(0x26b)](_0x5e748d){const _0x2761ed=_0x86a805;this[_0x2761ed(0x1d4)](_0x5e748d[_0x2761ed(0x190)]);}[_0x86a805(0x1f6)](_0x35c680){const _0x542d3c=_0x86a805;localStorage[_0x542d3c(0x2d5)](ot,JSON[_0x542d3c(0x1b5)](_0x35c680));}[_0x86a805(0x329)](){const _0x6a2e4a=_0x86a805;this[_0x6a2e4a(0x2ed)]=window['setInterval'](()=>{const _0x3eb4d1=_0x6a2e4a;this[_0x3eb4d1(0x1f6)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x86a805(0x20f)](_0x18170f){const _0x46bc03=_0x86a805;return this[_0x46bc03(0x2bf)][_0x46bc03(0x260)](_0x18170f)||this[_0x46bc03(0x2bf)][_0x46bc03(0x1a2)](_0x18170f,new _0x5bcfa8(_0x8c34b9[_0x46bc03(0x2ef)])),this[_0x46bc03(0x2bf)][_0x46bc03(0x2d4)](_0x18170f);}}var wt=(_0x41bc37=>(_0x41bc37[_0x41bc37[_0x86a805(0x25f)]=0x0]=_0x86a805(0x25f),_0x41bc37[_0x41bc37['OK']=0x1]='OK',_0x41bc37[_0x41bc37['INTERNAL_ERROR']=0x2]=_0x86a805(0x2dd),_0x41bc37[_0x41bc37[_0x86a805(0x225)]=0x3]=_0x86a805(0x225),_0x41bc37[_0x41bc37[_0x86a805(0x281)]=0x4]='NOT_FOUND',_0x41bc37[_0x41bc37['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x41bc37[_0x41bc37[_0x86a805(0x191)]=0x6]='ALREADY_EXISTS',_0x41bc37[_0x41bc37[_0x86a805(0x2a7)]=0x7]=_0x86a805(0x2a7),_0x41bc37[_0x41bc37[_0x86a805(0x1c3)]=0x8]='TOO_MANY_REQUESTS',_0x41bc37[_0x41bc37[_0x86a805(0x2e2)]=0x9]='COMPLETION_FINISHED',_0x41bc37[_0x41bc37[_0x86a805(0x1de)]=0xa]='LOGIN_FAILED',_0x41bc37[_0x41bc37[_0x86a805(0x2f4)]=0x1389]=_0x86a805(0x2f4),_0x41bc37[_0x41bc37[_0x86a805(0x1ba)]=0x1771]=_0x86a805(0x1ba),_0x41bc37[_0x41bc37[_0x86a805(0x30a)]=0x1772]=_0x86a805(0x30a),_0x41bc37[_0x41bc37[_0x86a805(0x183)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bc37[_0x41bc37[_0x86a805(0x202)]=0x1b59]=_0x86a805(0x202),_0x41bc37[_0x41bc37[_0x86a805(0x33a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bc37[_0x41bc37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x86a805(0x31b),_0x41bc37[_0x41bc37[_0x86a805(0x251)]=0x1b5c]=_0x86a805(0x251),_0x41bc37[_0x41bc37[_0x86a805(0x26c)]=0x1b5d]=_0x86a805(0x26c),_0x41bc37[_0x41bc37[_0x86a805(0x2db)]=0x1f41]=_0x86a805(0x2db),_0x41bc37[_0x41bc37[_0x86a805(0x1bf)]=0x2329]=_0x86a805(0x1bf),_0x41bc37[_0x41bc37[_0x86a805(0x2b9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bc37[_0x41bc37[_0x86a805(0x238)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bc37[_0x41bc37['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x86a805(0x378),_0x41bc37[_0x41bc37[_0x86a805(0x269)]=0x232d]=_0x86a805(0x269),_0x41bc37[_0x41bc37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x86a805(0x361),_0x41bc37[_0x41bc37[_0x86a805(0x2b3)]=0x2712]=_0x86a805(0x2b3),_0x41bc37[_0x41bc37[_0x86a805(0x200)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41bc37[_0x41bc37[_0x86a805(0x17b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x41bc37[_0x41bc37['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x86a805(0x2c3),_0x41bc37[_0x41bc37[_0x86a805(0x2e8)]=0x271b]=_0x86a805(0x2e8),_0x41bc37[_0x41bc37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x86a805(0x1c7),_0x41bc37[_0x41bc37['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x41bc37[_0x41bc37['INVALID_INVITE_CODE']=0x2ee2]=_0x86a805(0x1d8),_0x41bc37[_0x41bc37[_0x86a805(0x1ee)]=0x2ee3]=_0x86a805(0x1ee),_0x41bc37[_0x41bc37[_0x86a805(0x28e)]=0x2ee4]=_0x86a805(0x28e),_0x41bc37[_0x41bc37[_0x86a805(0x2f3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x2b2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x195)]=0x32ca]=_0x86a805(0x195),_0x41bc37[_0x41bc37[_0x86a805(0x17d)]=0x32cb]=_0x86a805(0x17d),_0x41bc37[_0x41bc37[_0x86a805(0x31a)]=-0x1]=_0x86a805(0x31a),_0x41bc37))(wt||{}),Rn=Object[_0x86a805(0x172)],Dn=(_0x2e4640,_0x681c0a,_0x1ce60b,_0x38de26)=>{for(var _0x150d9e=_0x38de26>0x1?void 0x0:_0x38de26?Rn(_0x681c0a,_0x1ce60b):_0x681c0a,_0x846531=_0x2e4640['length']-0x1,_0x148e53;_0x846531>=0x0;_0x846531--)(_0x148e53=_0x2e4640[_0x846531])&&(_0x150d9e=_0x148e53(_0x150d9e)||_0x150d9e);return _0x150d9e;},Te=(_0x509c6c,_0x3e9b4d)=>(_0x396c19,_0x216839)=>_0x3e9b4d(_0x396c19,_0x216839,_0x509c6c);let at=class extends _0x413335{constructor(_0x1e0c6d,_0x48b2f9,_0x40412c){const _0x795eb3=_0x86a805;super(),this[_0x795eb3(0x242)]=_0x1e0c6d,this[_0x795eb3(0x1ab)]=_0x48b2f9,this[_0x795eb3(0x1f1)]=_0x40412c;}async['runOnServer'](_0x1638ea,_0x37c08a,_0x36d594,..._0x2a1b69){const _0x908254=_0x86a805;var _0x4985a8,_0x24e4c3,_0x3d6e5b,_0x386d7e;const _0x1ffe56=this[_0x908254(0x242)][_0x908254(0x185)]();if(!_0x1ffe56)throw new Error(_0x908254(0x2e3));const _0xfdac0b=((_0x4985a8=this[_0x908254(0x1f1)]['getConfig'](_0x1374d1))!=null?_0x4985a8:_0x113642)+'/'+_0x1638ea+_0x908254(0x250)+_0x37c08a,_0x737f5=new URL(window[_0x908254(0x184)]['href']),_0x87fbc2={'scriptId':_0x1638ea,'runId':(_0x24e4c3=_0x737f5['searchParams']['get'](_0x908254(0x2cf)))!=null?_0x24e4c3:'','function':_0x37c08a,'unitId':_0x1ffe56[_0x908254(0x235)](),'argsOfFunction':JSON[_0x908254(0x1b5)](_0x2a1b69),'invokeId':(_0x3d6e5b=_0x36d594[_0x908254(0x277)])!=null?_0x3d6e5b:'','executionId':(_0x386d7e=_0x36d594['executionId'])!=null?_0x386d7e:''};try{const _0xa3f308=await this[_0x908254(0x1ab)]['post'](_0xfdac0b,{'body':_0x87fbc2});return _0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)]&&_0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)][_0x908254(0x1e3)]!==wt['OK']?_0x908254(0x1c4):_0xa3f308[_0x908254(0x1eb)][_0x908254(0x1e8)];}catch{return _0x908254(0x1c4);}}};at=Dn([Te(0x0,_0x3b4d53),Te(0x1,_0x545293(_0x231e97)),Te(0x2,_0x48306b)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x3d495f=_0x5750;(function(_0x592943,_0x59231a){const _0x5a865a=_0x5750,_0x1a45c1=_0x592943();while(!![]){try{const _0xf71f30=parseInt(_0x5a865a(0x3c6))/0x1*(parseInt(_0x5a865a(0x2c0))/0x2)+parseInt(_0x5a865a(0x2b2))/0x3*(-parseInt(_0x5a865a(0x27a))/0x4)+parseInt(_0x5a865a(0x241))/0x5*(-parseInt(_0x5a865a(0x3a1))/0x6)+-parseInt(_0x5a865a(0x1e9))/0x7+parseInt(_0x5a865a(0x32b))/0x8+-parseInt(_0x5a865a(0x2c9))/0x9+parseInt(_0x5a865a(0x3ce))/0xa;if(_0xf71f30===_0x59231a)break;else _0x1a45c1['push'](_0x1a45c1['shift']());}catch(_0x51e6da){_0x1a45c1['push'](_0x1a45c1['shift']());}}}(_0x207e,0x998dc));var Bt=Object['defineProperty'],kt=(_0x546261,_0xf0d578,_0x481c4e)=>_0xf0d578 in _0x546261?Bt(_0x546261,_0xf0d578,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x481c4e}):_0x546261[_0xf0d578]=_0x481c4e,_=(_0x4af705,_0x2a12ae,_0x2f58c9)=>kt(_0x4af705,typeof _0x2a12ae!=_0x3d495f(0x1d7)?_0x2a12ae+'':_0x2a12ae,_0x2f58c9);import{MemberService as _0x39dede,SessionStatus as _0x5deb02,CollaborationSessionService as _0x54008c,CollaborationStatus as _0x55f2a1,CollaborationController as _0x3bd700,ILocalCacheService as _0x38eb01,CollaborationUIEventService as _0x32db01,CollaborationUIEventId as _0x2575ef,DataLoaderService as _0x2fbab3,DocCollaborationEntity as _0xe49363,getLocalCacheKey as _0xfb044,LOCAL_CACHE_INTERVAL as _0x5260b6,LOCAL_CACHE_INTERVAL_KEY as _0x18680b,UniverCollaborationClientPlugin as _0x40245c,CollaborationSocketService as _0x1d14cf,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b02ed,DEFAULT_WS_SESSION_TICKET_URL as _0x25d808,UnitStatus as _0x99867e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x139bd4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d1769}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1c69ed,Disposable as _0x2bd763,DOC_RANGE_TYPE as _0x25141a,Inject as _0x4717f3,Injector as _0x277842,IUniverInstanceService as _0x81b094,ICommandService as _0x5cb5ba,debounce as _0x2cfcb8,Rectangle as _0x5c0cf9,DisposableCollection as _0x13ca0a,toDisposable as _0x11b652,UniverInstanceType as _0x4cbff4,Tools as _0x43bfb7,COLORS as _0x5ac74e,ColorKit as _0x50ee9a,ThemeService as _0x538320,fromEventSubject as _0x5169a6,LocaleService as _0x32e24e,createIdentifier as _0x2de4d0,ILogService as _0x1d5b3c,Optional as _0x3174cb,Workbook as _0x357042,CommandType as _0x34af56,IConfigService as _0x19b0f2,ILocalStorageService as _0x4f16c5,DependentOn as _0x50576f,Plugin as _0x52db42,merge as _0x23e7a9,registerDependencies as _0x4cae5a,mergeOverrideWithDependencies as _0x5d2efa,touchDependencies as _0x389040,generateRandomId as _0xacd06e}from'@univerjs/core';import{Shape as _0x1d903e,Rect as _0x2ae15f,getColor as _0x5e3459,RegularPolygon as _0xe38266,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3505d3,Vector2 as _0x1d8f20,SHEET_VIEWPORT_KEY as _0x1e347f,IRenderManagerService as _0x1512c0}from'@univerjs/engine-render';import{ISocketService as _0x8647d5,WebSocketService as _0x2537ef,HTTPService as _0x22986c}from'@univerjs/network';import{IDocClipboardService as _0x350af8,NodePositionConvertToCursor as _0x173986,NodePositionConvertToRectRange as _0x157a55,TEXT_RANGE_LAYER_INDEX as _0x4669aa,SetDocZoomRatioOperation as _0x59b9a7,DocIMEInputManagerService as _0x41e6c1,DocStateChangeManagerService as _0x469af6}from'@univerjs/docs-ui';import{IImageIoService as _0x1e3215}from'@univerjs/drawing';import{BehaviorSubject as _0x6d4d17,debounceTime as _0x19d081,takeUntil as _0x57635b,Subject as _0x1e705c,filter as _0x31a7e5,switchMap as _0x17be33,merge as _0x3340f5,combineLatest as _0x1f37ba,of as _0x63efda,fromEvent as _0x43f52a,shareReplay as _0xede5bd,mapTo as _0x7a715b,distinctUntilChanged as _0x50c3ed}from'rxjs';import{SetTextSelectionsOperation as _0x4a56e0,RichTextEditingMutation as _0x133c5a,DocSelectionManagerService as _0x3bb8e3,DocSkeletonManagerService as _0x4395a8}from'@univerjs/docs';import{ITransformService as _0x430651,CollaborationEvent as _0x377536,isTransformMutationFailure as _0x201746,isTransformMutationsWithChangesetSuccess as _0x190776,RevisionService as _0x1f3e90,ISnapshotServerService as _0x50fe31}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5db811,serializeRangeWithSheet as _0x1fd37b}from'@univerjs/engine-formula';import{RefRangeService as _0x459113,SetSelectionsOperation as _0x21a797,SheetsSelectionsService as _0x599812,EffectRefRangId as _0x3d8dda,handleIRemoveRow as _0x2c7443,handleIRemoveCol as _0x1f7d1e,handleMoveRange as _0x42c9df,handleInsertRow as _0x404863,handleInsertRangeMoveRight as _0xd3f415,handleInsertRangeMoveDown as _0x405d83,handleInsertCol as _0x516705,handleDeleteRangeMoveUp as _0x168fca,handleDeleteRangeMoveLeft as _0x34fe3d,runRefRangeMutations as _0xde73c5,SetWorksheetActivateCommand as _0x55886c}from'@univerjs/sheets';import{map as _0x3443d7,filter as _0x144ef3,throttleTime as _0x542388,takeUntil as _0x1a34b0,switchMap as _0x17f6e8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x57b2ef,getCoordByCell as _0x93a073,getSheetObject as _0x3c04d1}from'@univerjs/sheets-ui';import{jsx as _0x530166,jsxs as _0x1c2e46}from'react/jsx-runtime';import{useObservable as _0x257186,useDependency as _0x171cee,IUIPartsService as _0x29080a,BuiltInUIPart as _0x1ed8ec,connectInjector as _0x38f0ac,IBeforeCloseService as _0x54122b,IMessageService as _0xc0d35f,INotificationService as _0x480648}from'@univerjs/ui';import{clsx as _0x39ea86,Tooltip as _0x1b6ae3,MessageType as _0x5db9e7}from'@univerjs/design';import{forwardRef as _0x3c0a1c,useRef as _0x559a8e,createElement as _0x3726b6,useCallback as _0x1033b9}from'react';import{IRemoteInstanceService as _0x322134}from'@univerjs/rpc';var li=Object[_0x3d495f(0x3da)],_i=(_0x48b4e3,_0x126347,_0x183f91,_0x5a2c0d)=>{const _0x1933ac=_0x3d495f;for(var _0x19e2cd=_0x5a2c0d>0x1?void 0x0:_0x5a2c0d?li(_0x126347,_0x183f91):_0x126347,_0x1c5ac4=_0x48b4e3[_0x1933ac(0x3a6)]-0x1,_0x120bb3;_0x1c5ac4>=0x0;_0x1c5ac4--)(_0x120bb3=_0x48b4e3[_0x1c5ac4])&&(_0x19e2cd=_0x120bb3(_0x19e2cd)||_0x19e2cd);return _0x19e2cd;},Qe=(_0x192975,_0x58a726)=>(_0x2a754e,_0x4d662e)=>_0x58a726(_0x2a754e,_0x4d662e,_0x192975);let Ue=class extends _0x1c69ed{constructor(_0x185663,_0x4e5262){const _0x10be80=_0x3d495f;super(),this[_0x10be80(0x250)]=_0x185663,this['_imageIoService']=_0x4e5262,this[_0x10be80(0x293)]();}['_init'](){const _0xddc95=_0x3d495f,_0x539148=this;this['disposeWithMe'](this[_0xddc95(0x250)]['addClipboardHook']({'onBeforePasteImage':async _0x529120=>{const _0x1ace1c=_0xddc95,_0x2b875b=await _0x539148['_imageIoService'][_0x1ace1c(0x3bf)](_0x529120);return _0x2b875b?{'source':_0x2b875b[_0x1ace1c(0x224)],'imageSourceType':_0x2b875b['imageSourceType']}:null;}}));}};function _0x5750(_0x2f5d14,_0xf87423){const _0x207e55=_0x207e();return _0x5750=function(_0x5750ac,_0xb008af){_0x5750ac=_0x5750ac-0x1cd;let _0x253390=_0x207e55[_0x5750ac];return _0x253390;},_0x5750(_0x2f5d14,_0xf87423);}Ue=_i([Qe(0x0,_0x350af8),Qe(0x1,_0x1e3215)],Ue);const qe=[_0x3d495f(0x2f1),_0x3d495f(0x377),_0x3d495f(0x333),_0x3d495f(0x282),_0x3d495f(0x2bd),_0x3d495f(0x383)];class He extends _0x2bd763{constructor(){const _0x2de6df=_0x3d495f;super(...arguments),_(this,_0x2de6df(0x2b5),new Map()),_(this,_0x2de6df(0x2a2),0x0);}['assignAColorForMemberID'](_0x43d6c6){const _0x250671=_0x3d495f;if(this[_0x250671(0x2b5)]['has'](_0x43d6c6))return this[_0x250671(0x2b5)][_0x250671(0x31f)](_0x43d6c6);const _0x52fde4=qe[this[_0x250671(0x2a2)]];return this[_0x250671(0x2a2)]=(this['_colorIndex']+0x1)%qe['length'],this[_0x250671(0x2b5)][_0x250671(0x262)](_0x43d6c6,_0x52fde4),_0x52fde4;}}function Dt(_0xb15ff8){const _0x548fd5=_0x3d495f;let _0xabf1a9='';for(const _0x3e02e7 of _0xb15ff8){const {startOffset:_0x5e7185,endOffset:_0xdd3bb3,isActive:_0x501652,rangeType:_0x37b381,segmentId:_0x14944d,segmentPage:_0x412d1d}=_0x3e02e7;_0xabf1a9[_0x548fd5(0x3a6)]&&(_0xabf1a9+=','),_0xabf1a9+=_0x5e7185+':'+_0xdd3bb3+':'+(_0x501652?'1':'0')+':'+_0x37b381+':'+_0x14944d+':'+_0x412d1d;}return _0xabf1a9;}function hi(_0x6f8e96){const _0x54ae18=_0x3d495f,_0x2ace2e=_0x6f8e96['split'](','),_0x1d3c0c=[];for(const _0x4fbc93 of _0x2ace2e){const [_0x4c495f,_0x466930,_0x427095,_0x3b8571,_0xe1e454,_0x5a95ef]=_0x4fbc93[_0x54ae18(0x28c)](':');_0x1d3c0c[_0x54ae18(0x3cb)]({'startOffset':Number(_0x4c495f),'endOffset':Number(_0x466930),'collapsed':_0x4c495f===_0x466930,'isActive':_0x427095==='1','rangeType':_0x3b8571===_0x25141a[_0x54ae18(0x2ce)]?_0x25141a[_0x54ae18(0x2ce)]:_0x25141a[_0x54ae18(0x270)],'segmentId':typeof _0xe1e454==_0x54ae18(0x3aa)?String(_0xe1e454):'','segmentPage':Number(_0x5a95ef!=null?_0x5a95ef:-0x1)});}return _0x1d3c0c[_0x54ae18(0x200)](_0x13b559=>_0x13b559[_0x54ae18(0x252)])||(_0x1d3c0c[0x0][_0x54ae18(0x252)]=!0x0),_0x1d3c0c;}class je extends _0x1c69ed{constructor(){const _0x5e21a2=_0x3d495f;super(...arguments),_(this,_0x5e21a2(0x368),new _0x6d4d17(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x5e21a2(0x32c)]());}[_0x3d495f(0x387)](_0x1dd362){const _0x18f98d=_0x3d495f,{unitID:_0x24ef59,memberID:_0x12d3c4,textRanges:_0x4e3486}=_0x1dd362,_0x502332=Dt(_0x4e3486);if(_0x502332==='')return;const _0x50db6f={'unitID':_0x24ef59,'memberID':_0x12d3c4,'selection':_0x502332};this[_0x18f98d(0x368)][_0x18f98d(0x22c)](_0x50db6f);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x3f934d,_0x440ed3,_0x47bbe6,_0x4d29d0)=>{const _0x412249=_0x3d495f;for(var _0x429899=_0x4d29d0>0x1?void 0x0:_0x4d29d0?ui(_0x440ed3,_0x47bbe6):_0x440ed3,_0x57fddc=_0x3f934d[_0x412249(0x3a6)]-0x1,_0x3006c0;_0x57fddc>=0x0;_0x57fddc--)(_0x3006c0=_0x3f934d[_0x57fddc])&&(_0x429899=_0x3006c0(_0x429899)||_0x429899);return _0x429899;},w=(_0xaf29d5,_0x4c6f5a)=>(_0x35a9b7,_0x2abf43)=>_0x4c6f5a(_0x35a9b7,_0x2abf43,_0xaf29d5);const fi=0x12c,Si=0x64;let Me=class extends _0x1c69ed{constructor(_0x20929c,_0x522c1e,_0x44b220,_0x100c24,_0x11fd8a,_0x55c551,_0x28ab36,_0x1e56ba,_0x570997){const _0xc9f38f=_0x3d495f;super(),_(this,_0xc9f38f(0x30c),!0x1),_(this,_0xc9f38f(0x293),!0x1),_(this,'_cursorInfo$',new _0x6d4d17(new Map())),_(this,_0xc9f38f(0x272),this['_cursorInfo$'][_0xc9f38f(0x32c)]()),_(this,_0xc9f38f(0x351),new _0x6d4d17([])),_(this,_0xc9f38f(0x3af),this['_roomMembers$'][_0xc9f38f(0x28d)](_0x19d081(fi))),_(this,'_updateLocalCursor',_0x2cfcb8(_0x2033e4=>{const _0x1ce4bb=_0xc9f38f,_0x351ed8={'eventID':_0x377536[_0x1ce4bb(0x2c1)],'data':{'unitID':this[_0x1ce4bb(0x1e7)],'memberID':this[_0x1ce4bb(0x313)][_0x1ce4bb(0x32d)](),'selection':Dt(_0x2033e4)}};this[_0x1ce4bb(0x313)][_0x1ce4bb(0x3ad)](_0x351ed8,this['unitID']);},Si)),(this[_0xc9f38f(0x1e7)]=_0x20929c,this[_0xc9f38f(0x313)]=_0x522c1e,this['_injector']=_0x44b220,this[_0xc9f38f(0x3d8)]=_0x100c24,this['_memberService']=_0x11fd8a,this[_0xc9f38f(0x358)]=_0x55c551,this[_0xc9f38f(0x34c)]=_0x28ab36,this[_0xc9f38f(0x2e0)]=_0x1e56ba,this[_0xc9f38f(0x217)]=_0x570997);}get[_0x3d495f(0x2f3)](){const _0x322cc9=_0x3d495f;return this[_0x322cc9(0x25f)]['getValue']();}get['roomMembers'](){const _0x2834a4=_0x3d495f;return this[_0x2834a4(0x351)][_0x2834a4(0x3b6)]();}[_0x3d495f(0x2b4)](){const _0x48f3bb=_0x3d495f;super[_0x48f3bb(0x2b4)](),this[_0x48f3bb(0x25f)]['next'](new Map()),this[_0x48f3bb(0x25f)][_0x48f3bb(0x2af)](),this[_0x48f3bb(0x351)][_0x48f3bb(0x22c)]([]),this[_0x48f3bb(0x351)][_0x48f3bb(0x2af)]();}['init'](){const _0xe8a24=_0x3d495f;this[_0xe8a24(0x293)]||(this['_init']=!0x0,this[_0xe8a24(0x313)][_0xe8a24(0x300)][_0xe8a24(0x28d)](_0x57635b(this[_0xe8a24(0x296)]))[_0xe8a24(0x330)](_0x1b5d20=>{const _0x37fbc9=_0xe8a24;_0x1b5d20===_0x5deb02[_0x37fbc9(0x38c)]?this[_0x37fbc9(0x32f)]():this[_0x37fbc9(0x33e)]();}),this[_0xe8a24(0x313)][_0xe8a24(0x3d7)]['pipe'](_0x57635b(this['dispose$']))[_0xe8a24(0x330)](_0x3f7aba=>{const _0x42cd2c=_0xe8a24,_0x4ede8e=_0x3f7aba[_0x42cd2c(0x3b2)];_0x4ede8e===_0x377536['UPDATE_CURSOR']&&this[_0x42cd2c(0x304)](_0x3f7aba),_0x4ede8e===_0x377536[_0x42cd2c(0x2d9)]&&this[_0x42cd2c(0x3b9)](_0x3f7aba);}),this[_0xe8a24(0x275)](this[_0xe8a24(0x217)][_0xe8a24(0x25b)](_0x246573=>{const _0x17f2f9=_0xe8a24,_0xc6184c=_0x246573[_0x17f2f9(0x320)];_0xc6184c!=null&&this[_0x17f2f9(0x30c)]&&_0x246573['id']===_0x4a56e0['id']&&_0xc6184c[_0x17f2f9(0x388)]===this['unitID']&&_0xc6184c[_0x17f2f9(0x1d3)]===!0x1&&_0xc6184c[_0x17f2f9(0x395)]['length']>0x0&&this['_updateLocalCursor'](_0xc6184c[_0x17f2f9(0x395)]);})),this[_0xe8a24(0x358)][_0xe8a24(0x288)]['pipe'](_0x57635b(this[_0xe8a24(0x296)]))[_0xe8a24(0x330)](_0x2e2e85=>{const _0x32854e=_0xe8a24;if((_0x2e2e85==null?void 0x0:_0x2e2e85[_0x32854e(0x1e7)])!==this[_0x32854e(0x1e7)])return;const _0x4cdfb6={'eventID':_0x377536[_0x32854e(0x2c1)],'data':_0x2e2e85};this[_0x32854e(0x304)](_0x4cdfb6);}),this['disposeWithMe'](this[_0xe8a24(0x217)][_0xe8a24(0x25b)](_0x2de3df=>{const _0x2141b6=_0xe8a24;if(_0x2de3df[_0x2141b6(0x320)]==null)return;const _0x4840c3=_0x2de3df['params'];if(_0x2de3df['id']!==_0x133c5a['id']||_0x4840c3['unitId']!==this[_0x2141b6(0x1e7)])return;const _0x3ef1bc={'id':_0x2141b6(0x26f),'params':_0x4840c3},_0x49f4ac=this[_0x2141b6(0x2f3)];for(const [_0x337502,_0x20c1a3]of _0x49f4ac){const _0x3bcc38={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2141b6(0x1e7)],'actions':null,'textRanges':_0x20c1a3[_0x2141b6(0x395)]}},_0x1139f2=this[_0x2141b6(0x34c)][_0x2141b6(0x258)](_0x3ef1bc,_0x3bcc38,!0x1);if(_0x201746(_0x1139f2))throw _0x1139f2[_0x2141b6(0x372)];_0x49f4ac[_0x2141b6(0x262)](_0x337502,{..._0x20c1a3,'ranges':_0x1139f2[_0x2141b6(0x367)]['params'][_0x2141b6(0x2e6)]});}queueMicrotask(()=>{const _0x220771=_0x2141b6;this[_0x220771(0x25f)][_0x220771(0x22c)](_0x49f4ac);});})));}[_0x3d495f(0x304)](_0x1ec56d){const _0x5a83a2=_0x3d495f;var _0xfe59e1,_0x25b573;const {memberID:_0x3a1a91,selection:_0x5b8479}=_0x1ec56d[_0x5a83a2(0x1cf)],_0x36798d=hi(_0x5b8479),_0x625b80=(_0x25b573=(_0xfe59e1=this[_0x5a83a2(0x2fc)][_0x5a83a2(0x285)](this['unitID'],_0x3a1a91))==null?void 0x0:_0xfe59e1[_0x5a83a2(0x3c1)])!=null?_0x25b573:_0x5a83a2(0x1d9),_0x1cbe8c={'color':this[_0x5a83a2(0x3d8)][_0x5a83a2(0x2b7)](_0x3a1a91),'name':_0x625b80,'ranges':_0x36798d},_0x57a646=this[_0x5a83a2(0x2f3)];_0x57a646[_0x5a83a2(0x262)](_0x3a1a91,_0x1cbe8c),this[_0x5a83a2(0x25f)][_0x5a83a2(0x22c)](_0x57a646);}[_0x3d495f(0x3b9)](_0x3efa39){const _0x58a336=_0x3d495f,{memberID:_0xae758b}=_0x3efa39[_0x58a336(0x1cf)],_0x5c38d0=this[_0x58a336(0x2f3)];_0x5c38d0[_0x58a336(0x1f6)](_0xae758b),this[_0x58a336(0x25f)][_0x58a336(0x22c)](_0x5c38d0);}[_0x3d495f(0x32f)](){const _0x3250cf=_0x3d495f;var _0x3bae1f;if(this['_online']=!0x0,((_0x3bae1f=this['_univerInstanceService'][_0x3250cf(0x297)]())==null?void 0x0:_0x3bae1f[_0x3250cf(0x26b)]())!==this[_0x3250cf(0x1e7)])return;const _0x503ac1=this[_0x3250cf(0x2ec)][_0x3250cf(0x31f)](_0x3bb8e3)[_0x3250cf(0x384)]();Array[_0x3250cf(0x29a)](_0x503ac1)&&_0x503ac1[_0x3250cf(0x3a6)]>0x0&&this[_0x3250cf(0x1d8)](_0x503ac1);}[_0x3d495f(0x33e)](){const _0x334038=_0x3d495f;this[_0x334038(0x30c)]=!0x1;}};Me=di([w(0x2,_0x4717f3(_0x277842)),w(0x3,_0x4717f3(He)),w(0x4,_0x4717f3(_0x39dede)),w(0x5,_0x4717f3(je)),w(0x6,_0x430651),w(0x7,_0x81b094),w(0x8,_0x5cb5ba)],Me);var mi=Object[_0x3d495f(0x3da)],gi=(_0x27700f,_0x11b3a1,_0x99eca4,_0xf51a74)=>{const _0x291b24=_0x3d495f;for(var _0x16438c=_0xf51a74>0x1?void 0x0:_0xf51a74?mi(_0x11b3a1,_0x99eca4):_0x11b3a1,_0x15e57e=_0x27700f[_0x291b24(0x3a6)]-0x1,_0x37acd5;_0x15e57e>=0x0;_0x15e57e--)(_0x37acd5=_0x27700f[_0x15e57e])&&(_0x16438c=_0x37acd5(_0x16438c)||_0x16438c);return _0x16438c;},x=(_0x21dbc3,_0x5a0c79)=>(_0x5d278c,_0x4836c0)=>_0x5a0c79(_0x5d278c,_0x4836c0,_0x21dbc3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5eff1b=[],_0x56e77b=!0x1;return _0x149e4f=>{const _0x2c4d16=_0x5750;_0x5eff1b[_0x2c4d16(0x3cb)](_0x149e4f),_0x56e77b||(_0x56e77b=!0x0,setTimeout(()=>{const _0x2156d0=_0x2c4d16;_0x5eff1b[_0x2156d0(0x281)](_0x85b7a6=>_0x85b7a6()),_0x5eff1b=[],_0x56e77b=!0x1;}));};};let Pe=class extends _0x1c69ed{constructor(_0x19d54d,_0x5eb92e,_0x26c404,_0x32505a,_0x4c6d6c,_0x283fc4,_0x4e7e91,_0x41aa7a){const _0x478240=_0x3d495f;super(),_(this,_0x478240(0x30c),!0x1),_(this,_0x478240(0x293),!0x1),_(this,_0x478240(0x25f),new _0x6d4d17(new Map())),_(this,_0x478240(0x272),this[_0x478240(0x25f)][_0x478240(0x32c)]()),_(this,_0x478240(0x351),new _0x6d4d17([])),_(this,_0x478240(0x3af),this[_0x478240(0x351)][_0x478240(0x28d)](_0x19d081(vi))),_(this,_0x478240(0x1d8),_0x2cfcb8((_0x450e3f,_0x6df1a3)=>{const _0x50bff0=_0x478240,_0x25b4f7={'eventID':_0x377536['UPDATE_CURSOR'],'data':{'unitID':this[_0x50bff0(0x1e7)],'memberID':this[_0x50bff0(0x313)][_0x50bff0(0x32d)](),'selection':_0x1fd37b(_0x450e3f,_0x6df1a3[_0x50bff0(0x306)])}};this[_0x50bff0(0x313)][_0x50bff0(0x3ad)](_0x25b4f7,this[_0x50bff0(0x1e7)]);},Ii)),(this['unitID']=_0x19d54d,this['_session']=_0x5eb92e,this[_0x478240(0x2ec)]=_0x26c404,this[_0x478240(0x3d8)]=_0x32505a,this[_0x478240(0x2fc)]=_0x4c6d6c,this[_0x478240(0x2e0)]=_0x283fc4,this[_0x478240(0x217)]=_0x4e7e91,this[_0x478240(0x24e)]=_0x41aa7a);}get[_0x3d495f(0x2f3)](){const _0x483366=_0x3d495f;return this['_cursorInfo$'][_0x483366(0x3b6)]();}get[_0x3d495f(0x279)](){const _0x51e215=_0x3d495f;return this[_0x51e215(0x351)][_0x51e215(0x3b6)]();}['dispose'](){const _0x4f0f89=_0x3d495f;super[_0x4f0f89(0x2b4)](),this[_0x4f0f89(0x25f)][_0x4f0f89(0x22c)](new Map()),this[_0x4f0f89(0x25f)][_0x4f0f89(0x2af)](),this[_0x4f0f89(0x351)][_0x4f0f89(0x22c)]([]),this[_0x4f0f89(0x351)]['complete']();}[_0x3d495f(0x36d)](){const _0x143ba9=_0x3d495f;this[_0x143ba9(0x293)]||(this[_0x143ba9(0x293)]=!0x0,this['_session'][_0x143ba9(0x300)][_0x143ba9(0x28d)](_0x57635b(this[_0x143ba9(0x296)]))[_0x143ba9(0x330)](_0x464d3f=>{const _0x149cc1=_0x143ba9;_0x464d3f===_0x5deb02[_0x149cc1(0x38c)]?this[_0x149cc1(0x32f)]():this['_toggleOffline']();}),this[_0x143ba9(0x313)][_0x143ba9(0x3d7)][_0x143ba9(0x28d)](_0x57635b(this[_0x143ba9(0x296)]))[_0x143ba9(0x330)](_0x1519e7=>{const _0x415f41=_0x143ba9,_0x203fbf=_0x1519e7[_0x415f41(0x3b2)];_0x203fbf===_0x377536[_0x415f41(0x2c1)]&&this['_onCursorUpdate'](_0x1519e7),_0x203fbf===_0x377536[_0x415f41(0x2d9)]&&this[_0x415f41(0x3b9)](_0x1519e7);}),this[_0x143ba9(0x1f8)](),this[_0x143ba9(0x275)](this[_0x143ba9(0x217)][_0x143ba9(0x25b)](_0x5a422b=>{const _0x261511=_0x143ba9;if(this[_0x261511(0x30c)]&&_0x5a422b['id']===_0x21a797['id']&&_0x5a422b[_0x261511(0x320)][_0x261511(0x388)]===this[_0x261511(0x1e7)]){const _0x2ad156=_0x5a422b[_0x261511(0x320)];this['_updateLocalCursor'](_0x2ad156[_0x261511(0x20f)],_0x2ad156[_0x261511(0x3c2)][0x0]);}})));}[_0x3d495f(0x304)](_0xa8ec90){const _0x3f783d=_0x3d495f;var _0x2b4a29,_0x57fb99;const {memberID:_0x1cdb18,selection:_0x13f347}=_0xa8ec90[_0x3f783d(0x1cf)],{sheetName:_0x3b417b,range:_0x4a9250}=_0x5db811(_0x13f347),_0x552cc3={'name':(_0x57fb99=(_0x2b4a29=this[_0x3f783d(0x2fc)][_0x3f783d(0x285)](this[_0x3f783d(0x1e7)],_0x1cdb18))==null?void 0x0:_0x2b4a29[_0x3f783d(0x3c1)])!=null?_0x57fb99:_0x3f783d(0x1d9),'range':this[_0x3f783d(0x2ef)](_0x3b417b,_0x4a9250),'sheetID':_0x3b417b,'color':this[_0x3f783d(0x3d8)][_0x3f783d(0x2b7)](_0x1cdb18),'selection':_0x13f347},_0x480b26=this[_0x3f783d(0x2f3)];_0x480b26[_0x3f783d(0x262)](_0x1cdb18,_0x552cc3),this[_0x3f783d(0x25f)][_0x3f783d(0x22c)](_0x480b26);}['_onCursorDelete'](_0x2d25e4){const _0x3ca983=_0x3d495f,{memberID:_0x8a76e}=_0x2d25e4[_0x3ca983(0x1cf)],_0x59ef38=this[_0x3ca983(0x2f3)];_0x59ef38[_0x3ca983(0x1f6)](_0x8a76e),this['_cursorInfo$'][_0x3ca983(0x22c)](_0x59ef38);}[_0x3d495f(0x2ef)](_0x1f2a5b,_0x18db0f){const _0x4f14a2=_0x3d495f;var _0x5a0697,_0x9826cb;const _0x397161=(_0x9826cb=(_0x5a0697=this[_0x4f14a2(0x2e0)][_0x4f14a2(0x382)](this['unitID']))==null?void 0x0:_0x5a0697[_0x4f14a2(0x1fb)](_0x1f2a5b))==null?void 0x0:_0x9826cb['getMergeData']();return(_0x397161==null?void 0x0:_0x397161[_0x4f14a2(0x2c2)](_0x11e99e=>_0x5c0cf9[_0x4f14a2(0x2f8)](_0x11e99e,_0x18db0f)))||_0x18db0f;}[_0x3d495f(0x1f8)](){const _0xf43fbd=_0x3d495f,_0xdecf8f=new _0x13ca0a(),_0x336abc=pi(),_0x49491b=()=>{const _0x866939=_0x5750;_0xdecf8f[_0x866939(0x2b4)]();const _0x197675=(_0x173b7f,_0x4bcec9,_0x395bdf,_0x262004)=>{const _0x3ff7ef=_0x866939;let _0x2c4599=[];switch(_0x173b7f['id']){case _0x3d8dda[_0x3ff7ef(0x314)]:{_0x2c4599=_0x34fe3d(_0x173b7f,_0x262004);break;}case _0x3d8dda['DeleteRangeMoveUpCommandId']:{_0x2c4599=_0x168fca(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x32e)]:{_0x2c4599=_0x516705(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x2e2)]:{_0x2c4599=_0x405d83(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x1fe)]:{_0x2c4599=_0xd3f415(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x27f)]:{_0x2c4599=_0x404863(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x230)]:{_0x2c4599=_0x42c9df(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x35c)]:{_0x2c4599=_0x1f7d1e(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x2c8)]:{_0x2c4599=_0x2c7443(_0x173b7f,_0x262004);break;}}const _0x2ca76f=_0xde73c5(_0x2c4599,_0x262004),_0x493768=this[_0x3ff7ef(0x2f3)][_0x3ff7ef(0x31f)](_0x4bcec9);if(_0x493768&&_0x2ca76f){const _0x48bd57={..._0x493768,'range':_0x2ca76f};this[_0x3ff7ef(0x2f3)][_0x3ff7ef(0x262)](_0x4bcec9,_0x48bd57),_0x336abc(()=>{const _0x3e760d=_0x3ff7ef,_0x1f2fde=this[_0x3e760d(0x24e)][_0x3e760d(0x261)](_0x2ca76f,_0x146064=>(_0x1f2fde[_0x3e760d(0x2b4)](),_0x197675(_0x146064,_0x4bcec9,_0x395bdf,_0x2ca76f)));_0xdecf8f['add'](_0x1f2fde);});}return{'redos':[],'undos':[]};};this[_0x866939(0x2f3)][_0x866939(0x281)]((_0x2fb110,_0x5e5a4f)=>{const _0x4a5b00=_0x866939,{range:_0x304f4e,sheetID:_0x531307}=_0x2fb110,_0xe7256f=this[_0x4a5b00(0x24e)][_0x4a5b00(0x261)](_0x304f4e,_0x5dd6be=>(_0xe7256f['dispose'](),_0x197675(_0x5dd6be,_0x5e5a4f,_0x531307,_0x304f4e)));_0xdecf8f['add'](_0xe7256f);});};this[_0xf43fbd(0x275)](_0x11b652(this[_0xf43fbd(0x25f)][_0xf43fbd(0x330)](()=>{_0x49491b();})));}['_toggleOnline'](){const _0x59b487=_0x3d495f;var _0x57a425,_0x205a0e;if(this['_online']=!0x0,((_0x57a425=this['_univerInstanceService'][_0x59b487(0x297)]())==null?void 0x0:_0x57a425[_0x59b487(0x26b)]())!==this[_0x59b487(0x1e7)])return;const _0x4c63ee=(_0x205a0e=this[_0x59b487(0x2ec)][_0x59b487(0x31f)](_0x599812)[_0x59b487(0x1ea)]())==null?void 0x0:_0x205a0e[0x0],_0x1fe964=this[_0x59b487(0x2e0)][_0x59b487(0x1ec)](_0x4cbff4['UNIVER_SHEET'])[_0x59b487(0x36c)]();_0x4c63ee&&_0x1fe964&&this['_updateLocalCursor'](_0x1fe964[_0x59b487(0x25d)](),_0x4c63ee);}[_0x3d495f(0x33e)](){this['_online']=!0x1;}};Pe=gi([x(0x2,_0x4717f3(_0x277842)),x(0x3,_0x4717f3(He)),x(0x4,_0x4717f3(_0x39dede)),x(0x5,_0x81b094),x(0x6,_0x5cb5ba),x(0x7,_0x4717f3(_0x459113))],Pe);var Ci=Object[_0x3d495f(0x3da)],Ei=(_0x378696,_0x3fc665,_0x5466f2,_0x78550d)=>{const _0x41726e=_0x3d495f;for(var _0x305a9e=_0x78550d>0x1?void 0x0:_0x78550d?Ci(_0x3fc665,_0x5466f2):_0x3fc665,_0x3e0da2=_0x378696[_0x41726e(0x3a6)]-0x1,_0x4fe4de;_0x3e0da2>=0x0;_0x3e0da2--)(_0x4fe4de=_0x378696[_0x3e0da2])&&(_0x305a9e=_0x4fe4de(_0x305a9e)||_0x305a9e);return _0x305a9e;},me=(_0x5a3524,_0x40269b)=>(_0x385b65,_0x233e57)=>_0x40269b(_0x385b65,_0x233e57,_0x5a3524);let H=class extends _0x1c69ed{constructor(_0x269542,_0x4d496e,_0x4a8398){const _0x36fe50=_0x3d495f;super(),_(this,_0x36fe50(0x322),new Map()),_(this,_0x36fe50(0x311),new _0x1e705c()),(this[_0x36fe50(0x2e0)]=_0x269542,this['_injector']=_0x4d496e,this[_0x36fe50(0x21b)]=_0x4a8398,this[_0x36fe50(0x293)]());}['dispose'](){const _0x49ef2c=_0x3d495f;super['dispose'](),this['_entityInit$']['complete'](),this[_0x49ef2c(0x322)][_0x49ef2c(0x281)](_0x3b9656=>_0x3b9656['dispose']());}[_0x3d495f(0x38a)](_0x24e29e){const _0x393582=_0x3d495f;return this[_0x393582(0x322)][_0x393582(0x3ab)](_0x24e29e)?this[_0x393582(0x322)]['get'](_0x24e29e)[_0x393582(0x272)]:this[_0x393582(0x311)][_0x393582(0x28d)](_0x31a7e5(_0x30a471=>_0x30a471['unitID']===_0x24e29e),_0x17be33(_0x28f7fc=>_0x28f7fc['cursorInfo$']));}['_init'](){const _0xdb7b07=_0x3d495f;this[_0xdb7b07(0x2e0)][_0xdb7b07(0x360)](_0x4cbff4[_0xdb7b07(0x391)])['pipe'](_0x57635b(this['dispose$']))[_0xdb7b07(0x330)](async _0x372965=>{const _0x5d6b59=_0xdb7b07,_0x56bc1f=_0x372965[_0x5d6b59(0x26b)](),_0x278568=await this[_0x5d6b59(0x1ff)](_0x56bc1f);this[_0x5d6b59(0x311)]['next'](_0x278568),this[_0x5d6b59(0x322)][_0x5d6b59(0x262)](_0x56bc1f,_0x278568);}),this[_0xdb7b07(0x2e0)]['getTypeOfUnitAdded$'](_0x4cbff4[_0xdb7b07(0x273)])[_0xdb7b07(0x28d)](_0x57635b(this['dispose$']))[_0xdb7b07(0x28d)](_0x31a7e5(_0x5ea96e=>!_0x5ea96e[_0xdb7b07(0x26b)]()[_0xdb7b07(0x31b)]('__')))['subscribe'](async _0x397db4=>{const _0x3a821c=_0xdb7b07,_0x271241=_0x397db4[_0x3a821c(0x26b)](),_0x50f482=await this[_0x3a821c(0x3b5)](_0x271241);this[_0x3a821c(0x311)][_0x3a821c(0x22c)](_0x50f482),this[_0x3a821c(0x322)][_0x3a821c(0x262)](_0x271241,_0x50f482);}),_0x3340f5(this['_univerInstanceService'][_0xdb7b07(0x1fa)](_0x4cbff4['UNIVER_DOC']),this[_0xdb7b07(0x2e0)][_0xdb7b07(0x1fa)](_0x4cbff4[_0xdb7b07(0x391)]))[_0xdb7b07(0x28d)](_0x57635b(this[_0xdb7b07(0x296)]))[_0xdb7b07(0x330)](_0x28f01d=>{const _0x266f3f=_0xdb7b07,_0x4a008e=_0x28f01d[_0x266f3f(0x26b)](),_0x1f8768=this[_0x266f3f(0x322)][_0x266f3f(0x31f)](_0x4a008e);_0x1f8768&&(_0x1f8768[_0x266f3f(0x2b4)](),this[_0x266f3f(0x322)][_0x266f3f(0x1f6)](_0x4a008e));});}async['_startSheetCollabCursor'](_0x3cc4e6){const _0x53efac=_0x3d495f,_0x700c38=await this[_0x53efac(0x21b)][_0x53efac(0x277)](_0x3cc4e6),_0x274969=this[_0x53efac(0x2ec)][_0x53efac(0x271)](Pe,_0x3cc4e6,_0x700c38);return _0x274969['init'](),_0x274969;}async[_0x3d495f(0x3b5)](_0xb59e76){const _0x34e147=_0x3d495f,_0x116e8c=await this['_collabSessionService']['requireSession'](_0xb59e76),_0x31a4fe=this[_0x34e147(0x2ec)]['createInstance'](Me,_0xb59e76,_0x116e8c);return _0x31a4fe[_0x34e147(0x36d)](),_0x31a4fe;}};H=Ei([me(0x0,_0x81b094),me(0x1,_0x4717f3(_0x277842)),me(0x2,_0x4717f3(_0x54008c))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x3fee5d,_0x2c27df){const _0x397333=_0x3d495f;let {radius:_0x101f57,width:_0x1fbc8b,height:_0x11c1b0}=_0x2c27df;_0x101f57=_0x101f57!=null?_0x101f57:0x0,_0x1fbc8b=_0x1fbc8b!=null?_0x1fbc8b:0x1e,_0x11c1b0=_0x11c1b0!=null?_0x11c1b0:0x1e;let _0x397079=0x0,_0x12fc84=0x0,_0x43eab2=0x0;_0x397079=_0x12fc84=_0x43eab2=Math['min'](_0x101f57,_0x1fbc8b/0x2,_0x11c1b0/0x2),_0x3fee5d[_0x397333(0x33c)](),_0x3fee5d[_0x397333(0x3b4)](_0x397079,0x0),_0x3fee5d[_0x397333(0x238)](_0x1fbc8b-_0x12fc84,0x0),_0x3fee5d['arc'](_0x1fbc8b-_0x12fc84,_0x12fc84,_0x12fc84,Math['PI']*0x3/0x2,0x0,!0x1),_0x3fee5d[_0x397333(0x238)](_0x1fbc8b,_0x11c1b0-_0x43eab2),_0x3fee5d[_0x397333(0x3b0)](_0x1fbc8b-_0x43eab2,_0x11c1b0-_0x43eab2,_0x43eab2,0x0,Math['PI']/0x2,!0x1),_0x3fee5d['lineTo'](0x0,_0x11c1b0),_0x3fee5d['lineTo'](0x0,_0x397079),_0x3fee5d[_0x397333(0x3b0)](_0x397079,_0x397079,_0x397079,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3fee5d[_0x397333(0x35e)](),_0x2c27df[_0x397333(0x2a7)]&&(_0x3fee5d['save'](),_0x3fee5d[_0x397333(0x211)]=_0x2c27df[_0x397333(0x2a7)],_0x2c27df[_0x397333(0x33d)]===_0x397333(0x38b)?_0x3fee5d[_0x397333(0x2a7)](_0x397333(0x38b)):_0x3fee5d[_0x397333(0x2a7)](),_0x3fee5d[_0x397333(0x2a9)]());}class ue extends _0x1d903e{constructor(_0x56ec7c,_0x15b6a4){const _0x27c451=_0x3d495f;super(_0x56ec7c,_0x15b6a4),_(this,_0x27c451(0x1fd)),_(this,_0x27c451(0x245)),(this[_0x27c451(0x1fd)]=_0x15b6a4==null?void 0x0:_0x15b6a4['color'],this['text']=_0x15b6a4==null?void 0x0:_0x15b6a4[_0x27c451(0x245)]);}static[_0x3d495f(0x346)](_0xb01d09,_0x40cb28){const _0x503e52=_0x3d495f,{text:_0x203cfa,color:_0x3d9848}=_0x40cb28;_0xb01d09[_0x503e52(0x366)](),_0xb01d09['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x530e00=_0xb01d09[_0x503e52(0x2f7)](_0x203cfa)['width'],_0x2fb356=Math[_0x503e52(0x365)](_0x530e00+0x2*ge,et);Oi(_0xb01d09,{'height':te,'radius':0x4,'width':_0x2fb356,'fill':_0x3d9848}),_0xb01d09[_0x503e52(0x211)]='#FFF';const _0x34ff4a=ge,_0x4a75a1=te-bi,_0x2b6f92=et-0x2*ge;if(_0x530e00>_0x2b6f92){let _0x12d9cb='',_0x37db45=0x0;for(const _0x4abeae of _0x203cfa){const _0xd136f6=_0xb01d09[_0x503e52(0x2f7)](_0x4abeae)[_0x503e52(0x1e0)];if(_0x37db45+_0xd136f6<=_0x2b6f92-_0xb01d09[_0x503e52(0x2f7)](_0x503e52(0x328))[_0x503e52(0x1e0)])_0x12d9cb+=_0x4abeae,_0x37db45+=_0xd136f6;else{_0x12d9cb+='...';break;}}_0xb01d09[_0x503e52(0x28f)](_0x12d9cb,_0x34ff4a,_0x4a75a1);}else _0xb01d09[_0x503e52(0x28f)](_0x203cfa,_0x34ff4a,_0x4a75a1);_0xb01d09['restore']();}['_draw'](_0x2afadb){ue['drawWith'](_0x2afadb,this);}}const ve=_0x3d495f(0x339),Ti=_0x3d495f(0x2ad),Ri=_0x3d495f(0x20b),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x3d495f(0x208);class tt{constructor(_0x4cfbf5,_0x1a67da,_0x2f7fbf,_0x50ee9c){const _0xb81e3=_0x3d495f;_(this,_0xb81e3(0x25c),[]),_(this,_0xb81e3(0x3cf),null),_(this,_0xb81e3(0x28a),null),_(this,'_anchorDot',null),_(this,_0xb81e3(0x3bb),null),_(this,_0xb81e3(0x3a4),null),(this[_0xb81e3(0x29f)]=_0x4cfbf5,this[_0xb81e3(0x350)]=_0x1a67da,this[_0xb81e3(0x260)]=_0x2f7fbf,this['_document']=_0x50ee9c,this[_0xb81e3(0x1e8)]());}set[_0x3d495f(0x21f)](_0x3a996a){const _0x51e9e5=_0x3d495f;_0x3a996a?(this[_0x51e9e5(0x338)]&&this[_0x51e9e5(0x338)][_0x51e9e5(0x236)](),this[_0x51e9e5(0x28a)]&&this[_0x51e9e5(0x28a)][_0x51e9e5(0x2c7)]()):(this[_0x51e9e5(0x338)]&&this[_0x51e9e5(0x338)][_0x51e9e5(0x2c7)](),this[_0x51e9e5(0x28a)]&&this[_0x51e9e5(0x28a)][_0x51e9e5(0x236)]());}[_0x3d495f(0x2b4)](){const _0x31f754=_0x3d495f;for(const _0x467339 of this[_0x31f754(0x25c)])_0x467339[_0x31f754(0x2b4)]();this[_0x31f754(0x28a)]&&this[_0x31f754(0x28a)]['dispose'](),this[_0x31f754(0x338)]&&this[_0x31f754(0x338)][_0x31f754(0x2b4)](),this['_anchor']&&this[_0x31f754(0x3cf)][_0x31f754(0x2b4)](),this[_0x31f754(0x3a4)]&&this[_0x31f754(0x3a4)]();}['_render'](){const _0x5c90b6=_0x3d495f;var _0x53db72;const {_docSkeleton:_0xfb5b5a,_document:_0x3243f4}=this,{color:_0x4d4d72,name:_0x1a0dc0,ranges:_0x47aea4}=this[_0x5c90b6(0x29f)],_0x25fd2d=_0x3243f4['getOffsetConfig'](),{docsLeft:_0x381feb,docsTop:_0x3379b8}=_0x25fd2d,_0x5f97a4=new _0x173986(_0x25fd2d,_0xfb5b5a);for(const {startOffset:_0x2b3180,endOffset:_0x433904,rangeType:_0x371ccb,segmentId:_0xa767f1,segmentPage:_0x545251,collapsed:_0x2c1bc6,isActive:_0x4817a0}of _0x47aea4){const _0x360dc2=_0xfb5b5a[_0x5c90b6(0x376)](_0x2b3180,!0x0,_0xa767f1,_0x545251);let _0x1d363d=_0xfb5b5a['findNodePositionByCharIndex'](_0x433904,!0x0,_0xa767f1,_0x545251);if(_0x1d363d==null&&(_0x1d363d=_0xfb5b5a[_0x5c90b6(0x376)](_0x433904-0x1,!0x1,_0xa767f1,_0x545251)),_0x4817a0){const {contentBoxPointGroup:_0x222716}=_0x5f97a4[_0x5c90b6(0x3b8)](_0x1d363d,_0x1d363d);if(_0x222716[_0x5c90b6(0x3a6)]===0x0)continue;this[_0x5c90b6(0x2a0)](_0x4d4d72,_0x222716,_0x381feb,_0x3379b8,_0x1a0dc0),this[_0x5c90b6(0x3a4)]=this['_handleHover']();}if(_0x360dc2&&_0x1d363d){if(_0x371ccb===_0x25141a[_0x5c90b6(0x270)]){const _0x13b490=new _0x157a55(_0x25fd2d,_0xfb5b5a),{pointGroup:_0x36774c}=(_0x53db72=_0x13b490['getRangePointData'](_0x360dc2,_0x1d363d))!=null?_0x53db72:{};if(_0x36774c==null||_0x36774c['length']===0x0)continue;this['_drawRectRange'](_0x4d4d72,_0x36774c,_0x381feb,_0x3379b8);}else{if(!_0x2c1bc6){const {borderBoxPointGroup:_0x465afc}=_0x5f97a4[_0x5c90b6(0x3b8)](_0x360dc2,_0x1d363d);if(_0x465afc['length']===0x0)continue;this[_0x5c90b6(0x2df)](_0x4d4d72,_0x465afc,_0x381feb,_0x3379b8);}}}}}[_0x3d495f(0x2a0)](_0x14fb33,_0x566000,_0x3b15d8,_0x47fdf6,_0x3acce2){const _0x4656e7=_0x3d495f,_0x1f01c1=this['_getAnchorBounding'](_0x566000),{left:_0x2c6c20,top:_0x4c9185,height:_0x579215}=_0x1f01c1,_0xfaa0ed=this[_0x4656e7(0x22a)](),_0x180960=Ni/_0xfaa0ed,_0x51c6c7=new _0x2ae15f(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6,'height':_0x579215,'width':Di,'fill':_0x14fb33||_0x5e3459(_0x5ac74e[_0x4656e7(0x21d)],0x0),'strokeWidth':_0x180960,'stroke':Ui,'evented':!0x0});this['_anchor']=_0x51c6c7,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x51c6c7,_0x4669aa);const _0x42ac28=new _0x2ae15f(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14fb33||_0x5e3459(_0x5ac74e[_0x4656e7(0x21d)],0x0),'strokeWidth':0x0,'stroke':_0x14fb33||_0x5e3459(_0x5ac74e['black'],0x0),'evented':!0x1});this[_0x4656e7(0x338)]=_0x42ac28,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x42ac28,_0x4669aa);const _0x13e66d=new ue(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6-te,'text':_0x3acce2,'color':_0x14fb33});this['_textBubble']=_0x13e66d,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x13e66d,_0x4669aa),this['_hover']=!0x1;}[_0x3d495f(0x3c0)](){const _0x5b6963=_0x3d495f,_0x1a15b5=this[_0x5b6963(0x3cf)][_0x5b6963(0x233)][_0x5b6963(0x225)](()=>{const _0x4c83e9=_0x5b6963;this[_0x4c83e9(0x21f)]=!0x0;}),_0x403dba=this[_0x5b6963(0x3cf)][_0x5b6963(0x34e)][_0x5b6963(0x225)](()=>{const _0x1dc43c=_0x5b6963;this[_0x1dc43c(0x3bb)]&&clearTimeout(this[_0x1dc43c(0x3bb)]),this[_0x1dc43c(0x3bb)]=setTimeout(()=>{const _0x151a80=_0x1dc43c;this[_0x151a80(0x21f)]=!0x1;},0x7d0);});return()=>{const _0x4597bc=_0x5b6963;_0x1a15b5['unsubscribe'](),_0x403dba[_0x4597bc(0x227)]();};}[_0x3d495f(0x2df)](_0x4eafd2,_0xa2a7c8,_0x2a03e0,_0x77eae4){const _0x49883e=_0x3d495f,_0x357645=new _0x50ee9a(_0x4eafd2)[_0x49883e(0x2eb)](0.2)[_0x49883e(0x2bc)](),_0x557290=new _0xe38266(Ti+_0x43bfb7[_0x49883e(0x3b1)](X),{'pointsGroup':_0xa2a7c8,'fill':_0x357645||_0x5e3459(_0x5ac74e[_0x49883e(0x21d)],0.2),'left':_0x2a03e0,'top':_0x77eae4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49883e(0x25c)][_0x49883e(0x3cb)](_0x557290),this[_0x49883e(0x350)][_0x49883e(0x23a)](_0x557290,_0x4669aa);}[_0x3d495f(0x2ab)](_0x340f1d,_0x523bb7,_0x56807d,_0x4c6433){const _0x89fd8=_0x3d495f,_0x25fe74=new _0x50ee9a(_0x340f1d)[_0x89fd8(0x2eb)](0.2)[_0x89fd8(0x2bc)](),_0x410057=new _0xe38266(Ri+_0x43bfb7[_0x89fd8(0x3b1)](X),{'pointsGroup':_0x523bb7,'fill':_0x25fe74||_0x5e3459(_0x5ac74e['black'],0.2),'left':_0x56807d,'top':_0x4c6433,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x89fd8(0x25c)][_0x89fd8(0x3cb)](_0x410057),this[_0x89fd8(0x350)][_0x89fd8(0x23a)](_0x410057,_0x4669aa);}[_0x3d495f(0x2db)](_0x57e1b8){const _0xcf2fba=_0x57e1b8[0x0],_0x49020c=_0xcf2fba[0x0],_0x35770f=_0xcf2fba[0x2],{x:_0x6b0501,y:_0x20cdd7}=_0x49020c,{x:_0x30d104,y:_0x69472}=_0x35770f;return{'left':_0x6b0501,'top':_0x20cdd7,'width':_0x30d104-_0x6b0501,'height':_0x69472-_0x20cdd7};}['_getScale'](){const _0x4b0a9d=_0x3d495f,{scaleX:_0x128b65,scaleY:_0x2c5d6b}=this[_0x4b0a9d(0x350)][_0x4b0a9d(0x239)]();return Math['max'](_0x128b65,_0x2c5d6b);}}var Mi=Object[_0x3d495f(0x3da)],Pi=(_0x2364ea,_0x2c371a,_0x44ad51,_0x4f77fc)=>{const _0x50b342=_0x3d495f;for(var _0x281ce9=_0x4f77fc>0x1?void 0x0:_0x4f77fc?Mi(_0x2c371a,_0x44ad51):_0x2c371a,_0x56c3e0=_0x2364ea[_0x50b342(0x3a6)]-0x1,_0x6d13fb;_0x56c3e0>=0x0;_0x56c3e0--)(_0x6d13fb=_0x2364ea[_0x56c3e0])&&(_0x281ce9=_0x6d13fb(_0x281ce9)||_0x281ce9);return _0x281ce9;},Q=(_0x5aedea,_0x55a4b8)=>(_0x4904e1,_0xe8d011)=>_0x55a4b8(_0x4904e1,_0xe8d011,_0x5aedea);let we=class extends _0x1c69ed{constructor(_0x10fa3e,_0x4e9bb3,_0xeb6ae6,_0x4222a8,_0x37d683){const _0x9db6aa=_0x3d495f;super(),_(this,'_cursorShapes',[]),_(this,_0x9db6aa(0x36e),[]),(this[_0x9db6aa(0x22d)]=_0x10fa3e,this[_0x9db6aa(0x3d5)]=_0x4e9bb3,this[_0x9db6aa(0x2b1)]=_0xeb6ae6,this[_0x9db6aa(0x217)]=_0x4222a8,this[_0x9db6aa(0x2cc)]=_0x37d683,this[_0x9db6aa(0x293)]());}[_0x3d495f(0x293)](){const _0x562aa1=_0x3d495f,_0x107019=this[_0x562aa1(0x22d)][_0x562aa1(0x388)],_0x1df7db=this['_docSkeletonManagerService'];this[_0x562aa1(0x275)](_0x1f37ba([this[_0x562aa1(0x2b1)][_0x562aa1(0x38a)](_0x107019),this[_0x562aa1(0x2cc)][_0x562aa1(0x390)]])[_0x562aa1(0x28d)](_0x3443d7(([_0x4dca92,_0x58c579])=>({'skeleton':_0x1df7db[_0x562aa1(0x240)](),'cursors':[..._0x4dca92[_0x562aa1(0x36f)]()][_0x562aa1(0x2d3)](_0x4cf48f=>({..._0x4cf48f,'color':_0x58c579[_0x4cf48f[_0x562aa1(0x1fd)]]}))})))['subscribe'](_0x2ce904=>{const _0xc8f6be=_0x562aa1;if(this[_0xc8f6be(0x1cd)](),_0x2ce904){const {skeleton:_0x30cceb,cursors:_0xb68b40}=_0x2ce904;this[_0xc8f6be(0x1e5)](_0x30cceb,_0xb68b40);}})),this[_0x562aa1(0x1f2)](),this[_0x562aa1(0x2b3)]();}[_0x3d495f(0x1e5)](_0x51045f,_0x4a2376){const _0x4e8de8=_0x3d495f,{scene:_0x5800de,mainComponent:_0x184b97}=this['_context'],_0x1d0d27=_0x4a2376['map'](_0x4a2c1d=>new tt(_0x4a2c1d,_0x5800de,_0x51045f,_0x184b97));this[_0x4e8de8(0x33a)]=_0x1d0d27,this[_0x4e8de8(0x36e)]=_0x4a2376;}[_0x3d495f(0x3a5)](){const _0x432ce9=_0x3d495f;this[_0x432ce9(0x1cd)]();const {scene:_0x4abbba,mainComponent:_0x203976}=this[_0x432ce9(0x22d)],_0x2aee65=this[_0x432ce9(0x3d5)]['getSkeleton'](),_0xef8749=this[_0x432ce9(0x36e)]['map'](_0x3bad17=>new tt(_0x3bad17,_0x4abbba,_0x2aee65,_0x203976));this[_0x432ce9(0x33a)]=_0xef8749;}[_0x3d495f(0x1cd)](){const _0x14e3fc=_0x3d495f;this[_0x14e3fc(0x33a)]['forEach'](_0x4e4ae1=>_0x4e4ae1[_0x14e3fc(0x2b4)]()),this['_cursorShapes']=[];}[_0x3d495f(0x2b3)](){const _0x5de463=_0x3d495f,_0x2986f5=[_0x59b9a7['id']];this[_0x5de463(0x275)](this[_0x5de463(0x217)][_0x5de463(0x25b)](_0x157b91=>{const _0x499870=_0x5de463;_0x2986f5[_0x499870(0x3cc)](_0x157b91['id'])&&_0x157b91[_0x499870(0x320)]['unitId']===this[_0x499870(0x22d)][_0x499870(0x388)]&&this[_0x499870(0x3a5)]();}));}[_0x3d495f(0x1f2)](){const _0xe62f8a=_0x3d495f;this[_0xe62f8a(0x275)](_0x5169a6(this['_context']['engine'][_0xe62f8a(0x25a)])[_0xe62f8a(0x28d)](_0x144ef3(_0x4e9d82=>_0x4e9d82[_0xe62f8a(0x204)]===_0x3505d3['resize']),_0x542388(0x10))[_0xe62f8a(0x330)](()=>{const _0xc5d549=_0xe62f8a;this[_0xc5d549(0x3a5)]();}));}};we=Pi([Q(0x1,_0x4717f3(_0x4395a8)),Q(0x2,_0x4717f3(H)),Q(0x3,_0x5cb5ba),Q(0x4,_0x4717f3(_0x538320))],we);const wi=0x1,Li=1.5;class Ai extends _0x1d903e{constructor(_0x1f832c,_0x476ffe){const _0x18c927=_0x3d495f;super(_0x1f832c,_0x476ffe),_(this,_0x18c927(0x23b)),_(this,_0x18c927(0x2d2),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x18c927(0x26e),_0x18c927(0x348)),_(this,_0x18c927(0x2d6)),(_0x476ffe&&this[_0x18c927(0x2ed)](_0x476ffe),this[_0x18c927(0x233)][_0x18c927(0x225)](()=>this[_0x18c927(0x2ed)]({'hovered':!0x0})),this[_0x18c927(0x34e)][_0x18c927(0x225)](()=>this[_0x18c927(0x2ed)]({'hovered':!0x1})));}[_0x3d495f(0x2ed)](_0x2d332e){const _0x4ad5f1=_0x3d495f;var _0x63b78a,_0x294ff8,_0x2e3f33,_0x20d779,_0x3504f6,_0x3e8260;this['_color']=(_0x63b78a=_0x2d332e[_0x4ad5f1(0x1fd)])!=null?_0x63b78a:this['_color'],this[_0x4ad5f1(0x2d2)]=(_0x294ff8=_0x2d332e[_0x4ad5f1(0x389)])!=null?_0x294ff8:this[_0x4ad5f1(0x2d2)],this[_0x4ad5f1(0x2ff)]=(_0x2e3f33=_0x2d332e[_0x4ad5f1(0x306)])!=null?_0x2e3f33:this[_0x4ad5f1(0x2ff)],this[_0x4ad5f1(0x23e)]=(_0x20d779=_0x2d332e[_0x4ad5f1(0x3c1)])!=null?_0x20d779:this[_0x4ad5f1(0x23e)],this[_0x4ad5f1(0x26e)]=(_0x3504f6=_0x2d332e[_0x4ad5f1(0x253)])!=null?_0x3504f6:this['_labelPosition'],this[_0x4ad5f1(0x2d6)]=(_0x3e8260=_0x2d332e[_0x4ad5f1(0x2dc)])!=null?_0x3e8260:this[_0x4ad5f1(0x2d6)],this[_0x4ad5f1(0x20e)]({'width':_0x2d332e['width'],'height':_0x2d332e['height']});}[_0x3d495f(0x39c)](_0x44f85e){const _0x3f3fb4=_0x3d495f,{row:_0x83b2bd,column:_0x211f6a}=_0x44f85e;if(_0x83b2bd>=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x342)]&&_0x83b2bd<=this[_0x3f3fb4(0x2ff)]['endRow']&&_0x211f6a>=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x27d)]&&_0x211f6a<=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x242)]){this[_0x3f3fb4(0x2ed)]({'hovered':!0x0});return;}this[_0x3f3fb4(0x2ed)]({'hovered':!0x1});}[_0x3d495f(0x21e)](_0x3df625){return!0x1;}[_0x3d495f(0x237)](_0x521fe3){const _0xed336a=_0x3d495f;_0x2ae15f[_0xed336a(0x346)](_0x521fe3,{'width':this['width'],'height':this[_0xed336a(0x398)],'strokeWidth':Li,'stroke':this[_0xed336a(0x23b)],'evented':!0x1,'fill':this[_0xed336a(0x2d6)]}),this[_0xed336a(0x2d2)]&&(_0x521fe3[_0xed336a(0x366)](),_0x521fe3[_0xed336a(0x1d5)](0x1,0x0,0x0,0x1,this[_0xed336a(0x1e0)],this['_labelPosition']==='bottom'?0x0:-0x14),ue[_0xed336a(0x346)](_0x521fe3,{'text':this[_0xed336a(0x23e)],'color':this[_0xed336a(0x23b)]}),_0x521fe3[_0xed336a(0x2a9)]());}}var yi=Object[_0x3d495f(0x3da)],$i=(_0x238a01,_0x3417c2,_0x11e860,_0x48be3c)=>{const _0x4067ad=_0x3d495f;for(var _0xf33d09=_0x48be3c>0x1?void 0x0:_0x48be3c?yi(_0x3417c2,_0x11e860):_0x3417c2,_0x177685=_0x238a01[_0x4067ad(0x3a6)]-0x1,_0x7584ae;_0x177685>=0x0;_0x177685--)(_0x7584ae=_0x238a01[_0x177685])&&(_0xf33d09=_0x7584ae(_0xf33d09)||_0xf33d09);return _0xf33d09;},pe=(_0x4327d1,_0x5ae705)=>(_0x1a99c4,_0x4b8d2c)=>_0x5ae705(_0x1a99c4,_0x4b8d2c,_0x4327d1);const xi=0x1389;let Le=class extends _0x1c69ed{constructor(_0x21661e,_0x15637f,_0x10c422,_0x1b9fb8){const _0x36b450=_0x3d495f;super(),_(this,'_cursors',new Set()),_(this,_0x36b450(0x229),null),(this[_0x36b450(0x22d)]=_0x21661e,this[_0x36b450(0x301)]=_0x15637f,this[_0x36b450(0x2b1)]=_0x10c422,this[_0x36b450(0x2cc)]=_0x1b9fb8,this[_0x36b450(0x293)]());}['_init'](){const _0x2ce5a4=_0x3d495f;this[_0x2ce5a4(0x301)][_0x2ce5a4(0x29e)][_0x2ce5a4(0x28d)](_0x1a34b0(this[_0x2ce5a4(0x296)]),_0x17f6e8(_0x2f8ccb=>{const _0x3e5826=_0x2ce5a4;if(_0x2f8ccb){const _0x591a19=_0x2f8ccb[_0x3e5826(0x37e)];return _0x1f37ba(this[_0x3e5826(0x2b1)][_0x3e5826(0x38a)](this[_0x3e5826(0x22d)][_0x3e5826(0x388)]),this[_0x3e5826(0x2cc)][_0x3e5826(0x390)])['pipe'](_0x3443d7(([_0x314955,_0xba1197])=>{const _0x2cedc7=_0x3e5826,_0x10a62b=new Map();return _0x314955[_0x2cedc7(0x281)]((_0x26a7f3,_0xe1a9bf)=>{const _0x187e18=_0x2cedc7;if(_0x26a7f3[_0x187e18(0x1ed)]===_0x591a19){const _0xd805d2={..._0x26a7f3};_0xd805d2['color']=_0xba1197[_0x26a7f3['color']],_0x10a62b['set'](_0xe1a9bf,_0xd805d2);}}),{'skeleton':_0x2f8ccb,'cursors':_0x10a62b};}));}return _0x63efda({'skeleton':null,'cursors':new Map()});}))[_0x2ce5a4(0x330)](({skeleton:_0x412ba8,cursors:_0x8944d0})=>{const _0x280d8c=_0x2ce5a4;this[_0x280d8c(0x1cd)](),_0x412ba8&&this['_updateCollabCursors'](_0x412ba8,_0x8944d0);}),this[_0x2ce5a4(0x301)][_0x2ce5a4(0x29e)][_0x2ce5a4(0x330)](_0xdde3cb=>{const _0x5914b9=_0x2ce5a4;if(_0xdde3cb==null)return;const {skeleton:_0x3e17a9}=_0xdde3cb,{scene:_0x23833c}=this['_context'];_0x23833c[_0x5914b9(0x2e9)][_0x5914b9(0x225)](_0x2cfcb8(_0x5c5732=>{const _0x38af8a=_0x5914b9;var _0x9cb920,_0x2a67dd;const {offsetX:_0x2f37d2,offsetY:_0x2a3bc6}=_0x5c5732,{x:_0x42d1b3,y:_0x4861d0}=_0x23833c[_0x38af8a(0x3b3)](_0x1d8f20[_0x38af8a(0x305)]([_0x2f37d2,_0x2a3bc6])),{scaleX:_0x49d91c,scaleY:_0x311da6}=_0x23833c[_0x38af8a(0x239)](),_0x8c88d1=_0x23833c[_0x38af8a(0x2f5)](_0x1e347f[_0x38af8a(0x1e4)]),_0x27dc70=_0x23833c[_0x38af8a(0x24a)](_0x1d8f20[_0x38af8a(0x305)]([_0x42d1b3,_0x4861d0]),_0x8c88d1),_0x140810=_0x3e17a9[_0x38af8a(0x226)](_0x2f37d2,_0x2a3bc6,_0x49d91c,_0x311da6,_0x27dc70);((_0x9cb920=this[_0x38af8a(0x229)])==null?void 0x0:_0x9cb920['column'])===_0x140810[_0x38af8a(0x256)]&&((_0x2a67dd=this[_0x38af8a(0x229)])==null?void 0x0:_0x2a67dd[_0x38af8a(0x1f9)])===_0x140810[_0x38af8a(0x1f9)]||this[_0x38af8a(0x36e)][_0x38af8a(0x281)](_0x3dd804=>{const _0x10b3d5=_0x38af8a;_0x3dd804[_0x10b3d5(0x39c)](_0x140810);});},0x64));});}[_0x3d495f(0x1e5)](_0x2d33a4,_0x3339dc){const _0x3bd03a=_0x3d495f;var _0x5c7d76;const _0x415fd7=(_0x5c7d76=this['_sheetSkeletonManagerService'][_0x3bd03a(0x278)]())==null?void 0x0:_0x5c7d76[_0x3bd03a(0x1d0)];if(!_0x415fd7)return;const _0x5d85b9=this['_getSheetObject']();if(!_0x5d85b9)return;this[_0x3bd03a(0x36e)][_0x3bd03a(0x281)](_0x65ca13=>{_0x65ca13['makeDirty']();});const {scene:_0x2b281b}=_0x5d85b9,_0x9087c1=Bi(Array[_0x3bd03a(0x2d5)](_0x3339dc[_0x3bd03a(0x36f)]()))[_0x3bd03a(0x1f1)](_0x2f57f9=>{const _0x193500=_0x3bd03a,{color:_0x1478a9,range:_0x23dbb8,name:_0x2946f4,selection:_0x4e065e,sheetID:_0x466470}=_0x2f57f9,{startColumn:_0x1b393e,startRow:_0x16c683,endColumn:_0x24d45b,endRow:_0x1f98ff}=_0x23dbb8,_0x1791c8=_0x93a073(_0x16c683,_0x1b393e,_0x2b281b,_0x415fd7),_0x5cdfb7=_0x93a073(_0x1f98ff,_0x24d45b,_0x2b281b,_0x415fd7),{columnHeaderHeightAndMarginTop:_0x39c2a9}=_0x415fd7,{startX:_0x2a7ed5,startY:_0x54fb7c}=_0x1791c8,{endX:_0x23c5cc,endY:_0x4cdc57}=_0x5cdfb7,_0x4138b8=_0x23c5cc-_0x2a7ed5,_0x4323fa=_0x4cdc57-_0x54fb7c,_0x4dbffc={'labelPosition':_0x54fb7c-_0x39c2a9>=te?_0x193500(0x348):'bottom','sheetID':_0x466470,'range':_0x23dbb8,'color':_0x1478a9,'name':_0x2946f4,'selection':_0x4e065e,'left':_0x2a7ed5,'top':_0x54fb7c,'width':_0x4138b8,'height':_0x4323fa,'evented':!0x1,'zIndex':xi};return new Ai(_0x2946f4,_0x4dbffc);});_0x2b281b[_0x3bd03a(0x2c4)](_0x9087c1,wi),this[_0x3bd03a(0x36e)]=new Set(_0x9087c1);}[_0x3d495f(0x1cd)](){const _0x94a52c=_0x3d495f;var _0x4cfcbf;(_0x4cfcbf=this[_0x94a52c(0x36e)])==null||_0x4cfcbf['forEach'](_0xa7e664=>_0xa7e664['dispose']());}[_0x3d495f(0x3d0)](){const _0x325f74=_0x3d495f;return _0x3c04d1(this[_0x325f74(0x22d)][_0x325f74(0x37b)],this[_0x325f74(0x22d)]);}};Le=$i([pe(0x1,_0x4717f3(_0x57b2ef)),pe(0x2,_0x4717f3(H)),pe(0x3,_0x4717f3(_0x538320))],Le);function Bi(_0x84527c){const _0x1aaf9f=_0x3d495f,_0x44aa0d=new Map();return _0x84527c['forEach'](_0x54c14c=>{const _0x4091bd=_0x5750;if(_0x44aa0d[_0x4091bd(0x3ab)](_0x54c14c[_0x4091bd(0x31d)])){const _0x13ec9c=_0x44aa0d[_0x4091bd(0x31f)](_0x54c14c[_0x4091bd(0x31d)]);_0x13ec9c['name']+=',\x20'+_0x54c14c[_0x4091bd(0x3c1)];}else _0x44aa0d[_0x4091bd(0x262)](_0x54c14c[_0x4091bd(0x31d)],_0x54c14c);}),Array[_0x1aaf9f(0x2d5)](_0x44aa0d['values']());}var I=function(){const _0x2c1001=_0x3d495f;return I=Object[_0x2c1001(0x269)]||function(_0x15d7db){const _0x1cd2b1=_0x2c1001;for(var _0x229211,_0x4010c4=0x1,_0x55db5a=arguments[_0x1cd2b1(0x3a6)];_0x4010c4<_0x55db5a;_0x4010c4++){_0x229211=arguments[_0x4010c4];for(var _0x4316d4 in _0x229211)Object[_0x1cd2b1(0x27b)]['hasOwnProperty'][_0x1cd2b1(0x374)](_0x229211,_0x4316d4)&&(_0x15d7db[_0x4316d4]=_0x229211[_0x4316d4]);}return _0x15d7db;},I[_0x2c1001(0x2fd)](this,arguments);},ki=function(_0x49ced8,_0x4481d4){const _0x1fc620=_0x3d495f;var _0x5ab1c8={};for(var _0x49d88b in _0x49ced8)Object[_0x1fc620(0x27b)][_0x1fc620(0x2ea)]['call'](_0x49ced8,_0x49d88b)&&_0x4481d4['indexOf'](_0x49d88b)<0x0&&(_0x5ab1c8[_0x49d88b]=_0x49ced8[_0x49d88b]);if(_0x49ced8!=null&&typeof Object[_0x1fc620(0x310)]=='function'){for(var _0xe9d144=0x0,_0x49d88b=Object[_0x1fc620(0x310)](_0x49ced8);_0xe9d144<_0x49d88b[_0x1fc620(0x3a6)];_0xe9d144++)_0x4481d4[_0x1fc620(0x392)](_0x49d88b[_0xe9d144])<0x0&&Object[_0x1fc620(0x27b)]['propertyIsEnumerable'][_0x1fc620(0x374)](_0x49ced8,_0x49d88b[_0xe9d144])&&(_0x5ab1c8[_0x49d88b[_0xe9d144]]=_0x49ced8[_0x49d88b[_0xe9d144]]);}return _0x5ab1c8;},We=_0x3c0a1c(function(_0x2b793b,_0x16c73b){const _0x121794=_0x3d495f;var _0x539fc4=_0x2b793b[_0x121794(0x2b9)],_0x3881b5=_0x2b793b['id'],_0x2c0eb9=_0x2b793b[_0x121794(0x26c)],_0x223df9=_0x2b793b[_0x121794(0x356)],_0x5aa41b=ki(_0x2b793b,[_0x121794(0x2b9),'id',_0x121794(0x26c),_0x121794(0x356)]),_0x11d671=_0x121794(0x2d0)[_0x121794(0x274)](_0x3881b5,'\x20')[_0x121794(0x274)](_0x2c0eb9||'')[_0x121794(0x221)](),_0xd583de=_0x559a8e('_'['concat'](Wi()));return Nt(_0x539fc4,''['concat'](_0x3881b5),{'defIds':_0x539fc4[_0x121794(0x23f)],'idSuffix':_0xd583de[_0x121794(0x2b0)]},I({'ref':_0x16c73b,'className':_0x11d671},_0x5aa41b),_0x223df9);});function Nt(_0x3347d6,_0x22b77e,_0xa6cd7e,_0x36a024,_0x5148fa){const _0x114044=_0x3d495f;return _0x3726b6(_0x3347d6[_0x114044(0x223)],I(I({'key':_0x22b77e},Hi(_0x3347d6,_0xa6cd7e,_0x5148fa)),_0x36a024),(ji(_0x3347d6,_0xa6cd7e)['children']||[])['map'](function(_0x589e7d,_0x2d39b1){const _0x56ff29=_0x114044;return Nt(_0x589e7d,''['concat'](_0x22b77e,'-')[_0x56ff29(0x274)](_0x3347d6[_0x56ff29(0x223)],'-')[_0x56ff29(0x274)](_0x2d39b1),_0xa6cd7e,void 0x0,_0x5148fa);}));}function Hi(_0x2871a2,_0x279092,_0x3758a4){const _0x41348c=_0x3d495f;var _0x3303f2=I({},_0x2871a2['attrs']);_0x3758a4!=null&&_0x3758a4[_0x41348c(0x347)]&&_0x3303f2[_0x41348c(0x2a7)]==='colorChannel1'&&(_0x3303f2['fill']=_0x3758a4[_0x41348c(0x347)]),_0x2871a2['tag']===_0x41348c(0x21c)&&_0x3303f2['id']&&(_0x3303f2['id']=_0x3303f2['id']+_0x279092[_0x41348c(0x2f6)]),Object[_0x41348c(0x3cd)](_0x3303f2)[_0x41348c(0x281)](function(_0x3eb0b8){const _0x2d7902=_0x41348c;var _0x4a46b1=_0x3eb0b8[0x0],_0x5af78d=_0x3eb0b8[0x1];_0x4a46b1===_0x2d7902(0x21c)&&typeof _0x5af78d=='string'&&(_0x3303f2[_0x4a46b1]=_0x5af78d[_0x2d7902(0x22e)](/url\(#(.*)\)/,_0x2d7902(0x267)['concat'](_0x279092[_0x2d7902(0x2f6)],')')));});var _0x5e5a79=_0x279092[_0x41348c(0x23f)];return!_0x5e5a79||_0x5e5a79['length']===0x0||(_0x2871a2[_0x41348c(0x223)]===_0x41348c(0x327)&&_0x3303f2[_0x41348c(0x1db)]&&(_0x3303f2[_0x41348c(0x1db)]=_0x3303f2[_0x41348c(0x1db)]+_0x279092[_0x41348c(0x2f6)]),Object['entries'](_0x3303f2)[_0x41348c(0x281)](function(_0xa28f4f){const _0x25dd85=_0x41348c;var _0x1b8abf=_0xa28f4f[0x0],_0x73dc4e=_0xa28f4f[0x1];typeof _0x73dc4e=='string'&&(_0x3303f2[_0x1b8abf]=_0x73dc4e[_0x25dd85(0x22e)](/url\(#(.*)\)/,'url(#$1'[_0x25dd85(0x274)](_0x279092[_0x25dd85(0x2f6)],')')));})),_0x3303f2;}function ji(_0x1ed950,_0x235af4){const _0x4f1543=_0x3d495f;var _0x555541,_0x32d803=_0x235af4[_0x4f1543(0x23f)];return!_0x32d803||_0x32d803[_0x4f1543(0x3a6)]===0x0?_0x1ed950:_0x1ed950[_0x4f1543(0x223)]===_0x4f1543(0x1da)&&(!((_0x555541=_0x1ed950[_0x4f1543(0x266)])===null||_0x555541===void 0x0)&&_0x555541[_0x4f1543(0x3a6)])?I(I({},_0x1ed950),{'children':_0x1ed950[_0x4f1543(0x266)]['map'](function(_0x3aaa33){const _0xf5c307=_0x4f1543;return typeof _0x3aaa33['attrs']['id']==_0xf5c307(0x3aa)&&_0x32d803&&_0x32d803[_0xf5c307(0x392)](_0x3aaa33['attrs']['id'])>-0x1?I(I({},_0x3aaa33),{'attrs':I(I({},_0x3aaa33[_0xf5c307(0x2d4)]),{'id':_0x3aaa33[_0xf5c307(0x2d4)]['id']+_0x235af4[_0xf5c307(0x2f6)]})}):_0x3aaa33;})}):_0x1ed950;}function Wi(){const _0x393757=_0x3d495f;return Math[_0x393757(0x3d6)]()[_0x393757(0x303)](0x24)[_0x393757(0x302)](0x2,0x8);}We[_0x3d495f(0x3a3)]=_0x3d495f(0x3ae);var Fi={'tag':'svg','attrs':{'fill':_0x3d495f(0x341),'viewBox':_0x3d495f(0x31a),'width':_0x3d495f(0x381),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3d495f(0x386)},'children':[{'tag':_0x3d495f(0x336),'attrs':{'stroke':_0x3d495f(0x3a2),'d':_0x3d495f(0x23d),'strokeLinecap':'round','strokeLinejoin':_0x3d495f(0x39d),'strokeWidth':1.2}}]},{'tag':_0x3d495f(0x1da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d495f(0x20c)},'children':[{'tag':_0x3d495f(0x336),'attrs':{'fill':_0x3d495f(0x202),'d':_0x3d495f(0x2bf)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x3c0a1c(function(_0xaef385,_0x23d901){const _0x395abf=_0x3d495f;return _0x3726b6(We,Object[_0x395abf(0x269)]({},_0xaef385,{'id':_0x395abf(0x36b),'ref':_0x23d901,'icon':Fi}));});Ut[_0x3d495f(0x3a3)]='OffLineSingle';var Yi={'tag':_0x3d495f(0x2c3),'attrs':{'fill':_0x3d495f(0x341),'viewBox':_0x3d495f(0x207),'width':_0x3d495f(0x381),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3d495f(0x336),'attrs':{'stroke':_0x3d495f(0x3a2),'d':_0x3d495f(0x2e3),'strokeLinecap':_0x3d495f(0x39d),'strokeLinejoin':_0x3d495f(0x39d),'strokeWidth':1.2}}]},{'tag':_0x3d495f(0x1da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d495f(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x3d495f(0x202),'d':_0x3d495f(0x2bf),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3d495f(0x23c)]},Mt=_0x3c0a1c(function(_0x4c2901,_0x5975f3){const _0xc50385=_0x3d495f;return _0x3726b6(We,Object[_0xc50385(0x269)]({},_0x4c2901,{'id':_0xc50385(0x2c5),'ref':_0x5975f3,'icon':Yi}));});Mt['displayName']=_0x3d495f(0x34a);const Vi=_0x3d495f(0x371),Xi='univer-online-status-title',Gi=_0x3d495f(0x2cf),Ki=_0x3d495f(0x248),zi=_0x3d495f(0x228),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x184058){const _0x5113f7=_0x3d495f;switch(_0x184058){case _0x55f2a1[_0x5113f7(0x1ef)]:return _0x5113f7(0x218);case _0x55f2a1[_0x5113f7(0x2ee)]:return _0x5113f7(0x24c);case _0x55f2a1[_0x5113f7(0x2e7)]:return _0x5113f7(0x3dc);case _0x55f2a1[_0x5113f7(0x2fb)]:return'collabStatus.notCollab';case _0x55f2a1[_0x5113f7(0x3db)]:case _0x55f2a1[_0x5113f7(0x2f4)]:return _0x5113f7(0x2a3);case _0x55f2a1[_0x5113f7(0x2f2)]:case _0x55f2a1['PENDING']:return'collabStatus.synced';}}function Zi(_0x362a8e){const _0x36d259=_0x3d495f,{status$:_0x125bd4}=_0x362a8e,_0x46ae5f=_0x257186(_0x125bd4,_0x55f2a1[_0x36d259(0x2fb)]),_0x1bf422=_0x171cee(_0x32e24e),_0x5ceeeb=_0x171cee(_0x54008c),_0x3158ab=_0x46ae5f!==_0x55f2a1['OFFLINE'],_0xd86d5f=_0x1bf422['t'](Ji(_0x46ae5f)),_0x4d27ea=_0x39ea86(G[_0x36d259(0x2d1)],{[G[_0x36d259(0x312)]]:_0x3158ab,[G['offline']]:!_0x3158ab}),_0x597b71=_0x3158ab?_0x530166(Mt,{}):_0x530166(Ut,{}),_0x350a66=_0x1033b9(()=>{const _0x59f165=_0x36d259;_0x3158ab||_0x5ceeeb[_0x59f165(0x3d3)]();},[_0x3158ab,_0x5ceeeb]);function _0x1a8c26(){const _0x14b333=_0x36d259;return _0x1c2e46(_0x14b333(0x2a8),{'className':_0x39ea86(_0x4d27ea,_0x14b333(0x24f)),'onClick':_0x350a66,'children':[_0x530166(_0x14b333(0x2a8),{'className':G[_0x14b333(0x2e5)],'children':_0x597b71}),_0x530166(_0x14b333(0x2a8),{'className':G[_0x14b333(0x24b)],'children':_0xd86d5f})]});}return _0x3158ab?_0x1a8c26():_0x530166(_0x1b6ae3,{'title':_0x1bf422['t'](_0x36d259(0x1d1)),'children':_0x1a8c26()});}var Qi=Object[_0x3d495f(0x3da)],qi=(_0x502955,_0x4aa8a0,_0x19f6b4,_0x5c20b1)=>{const _0x202b89=_0x3d495f;for(var _0xfcbe10=_0x5c20b1>0x1?void 0x0:_0x5c20b1?Qi(_0x4aa8a0,_0x19f6b4):_0x4aa8a0,_0x5aba29=_0x502955[_0x202b89(0x3a6)]-0x1,_0x441fe6;_0x5aba29>=0x0;_0x5aba29--)(_0x441fe6=_0x502955[_0x5aba29])&&(_0xfcbe10=_0x441fe6(_0xfcbe10)||_0xfcbe10);return _0xfcbe10;},q=(_0x3cacac,_0x3bb5a7)=>(_0x1cce1d,_0x46dd86)=>_0x3bb5a7(_0x1cce1d,_0x46dd86,_0x3cacac);let se=class extends _0x2bd763{constructor(_0x1d2945,_0x31978d,_0x141e6b,_0x1c2fc2){const _0x13f0f4=_0x3d495f;super(),_(this,_0x13f0f4(0x31c),new _0x6d4d17(_0x55f2a1[_0x13f0f4(0x2fb)])),(this[_0x13f0f4(0x2e0)]=_0x1d2945,this[_0x13f0f4(0x2ec)]=_0x31978d,this[_0x13f0f4(0x1f4)]=_0x141e6b,this[_0x13f0f4(0x29d)]=_0x1c2fc2,this[_0x13f0f4(0x343)](),this[_0x13f0f4(0x308)]());}[_0x3d495f(0x308)](){const _0x4b06ef=_0x3d495f;this[_0x4b06ef(0x275)](this[_0x4b06ef(0x2e0)]['focused$'][_0x4b06ef(0x28d)](_0x17be33(()=>{const _0x54c441=_0x4b06ef,_0x21f4f8=this[_0x54c441(0x2e0)]['getFocusedUnit']();return _0x21f4f8?this['_collaborationController'][_0x54c441(0x3bd)](_0x21f4f8[_0x54c441(0x26b)]()):_0x63efda(null);}),_0x17be33(_0x22ee41=>_0x22ee41?_0x22ee41['status$']:_0x63efda(_0x55f2a1[_0x4b06ef(0x2fb)])))[_0x4b06ef(0x330)](_0x41f8a9=>{const _0x51de99=_0x4b06ef;this[_0x51de99(0x31c)][_0x51de99(0x22c)](_0x41f8a9);}));}[_0x3d495f(0x343)](){const _0x113a58=_0x3d495f;this[_0x113a58(0x275)](this[_0x113a58(0x29d)][_0x113a58(0x34b)](_0x1ed8ec[_0x113a58(0x370)],()=>_0x38f0ac(en({'status$':this[_0x113a58(0x31c)][_0x113a58(0x32c)]()}),this[_0x113a58(0x2ec)])));}};se=qi([q(0x0,_0x81b094),q(0x1,_0x4717f3(_0x277842)),q(0x2,_0x4717f3(_0x3bd700)),q(0x3,_0x29080a)],se);function en(_0x2b3d8b){const {status$:_0x22c2f2}=_0x2b3d8b;return function(){return _0x530166(Zi,{'status$':_0x22c2f2});};}var tn=Object[_0x3d495f(0x3da)],sn=(_0x159ed5,_0x33d505,_0x32796b,_0x3bb16e)=>{const _0x53e0fe=_0x3d495f;for(var _0x162643=_0x3bb16e>0x1?void 0x0:_0x3bb16e?tn(_0x33d505,_0x32796b):_0x33d505,_0x157161=_0x159ed5[_0x53e0fe(0x3a6)]-0x1,_0x605a3;_0x157161>=0x0;_0x157161--)(_0x605a3=_0x159ed5[_0x157161])&&(_0x162643=_0x605a3(_0x162643)||_0x162643);return _0x162643;},B=(_0x4b8df7,_0x12c8bf)=>(_0x385a1c,_0x23f9ee)=>_0x12c8bf(_0x385a1c,_0x23f9ee,_0x4b8df7);let ie=class extends _0x2bd763{constructor(_0x59796f,_0x126d8a,_0x190c47,_0x5c90e3,_0xe1ceac,_0x265214){const _0x4bb3a8=_0x3d495f;super(),this[_0x4bb3a8(0x29b)]=_0x59796f,this[_0x4bb3a8(0x396)]=_0x126d8a,this['_collaborationUIEventService']=_0x190c47,this[_0x4bb3a8(0x2da)]=_0x5c90e3,this[_0x4bb3a8(0x27c)]=_0xe1ceac,this['_localeService']=_0x265214,this[_0x4bb3a8(0x37c)](),this[_0x4bb3a8(0x287)]();}[_0x3d495f(0x37c)](){const _0x2e2e74=_0x3d495f;this[_0x2e2e74(0x275)](this['_beforeCloseService'][_0x2e2e74(0x321)](()=>{const _0x1405d8=_0x2e2e74;if(this['_localCacheService'][_0x1405d8(0x323)]['size'])return this[_0x1405d8(0x38f)]['t'](_0x1405d8(0x38e));}));}[_0x3d495f(0x287)](){const _0x5cf01c=_0x3d495f;this[_0x5cf01c(0x275)](this['_collaborationUIEventService'][_0x5cf01c(0x3d7)][_0x5cf01c(0x330)](_0x1dd3da=>{const _0x91d160=_0x5cf01c;_0x1dd3da['id']===_0x2575ef['OTHER_CLIENT_EDITING']&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7['Warning'],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x373))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x352)]&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x20d))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x37a)]&&this['_notificationService'][_0x91d160(0x2c7)]({'title':this[_0x91d160(0x38f)]['t']('permission.title'),'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x349)),'type':_0x91d160(0x372),'duration':0x0}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x2ee)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this[_0x91d160(0x38f)]['t']('collaboration.closeRoom')+'('+_0x1dd3da[_0x91d160(0x1cf)]+')'}),_0x1dd3da['id']===_0x2575ef['JOIN_ROOM_FAILED']&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this[_0x91d160(0x38f)]['t'](_0x1dd3da[_0x91d160(0x1cf)]||'')}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x30a)]&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this['_localeService']['t'](_0x91d160(0x1df))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x39f)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this['_localeService']['t'](_0x91d160(0x318))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x334)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x329))});}));}};ie=sn([B(0x0,_0x54122b),B(0x1,_0x38eb01),B(0x2,_0x4717f3(_0x32db01)),B(0x3,_0xc0d35f),B(0x4,_0x480648),B(0x5,_0x4717f3(_0x32e24e))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x2de4d0(_0x3d495f(0x30f));var rn=Object[_0x3d495f(0x3da)],on=(_0x3183fe,_0xdaca16,_0x17e98b,_0x465c7a)=>{const _0x468822=_0x3d495f;for(var _0x56ff8a=_0x465c7a>0x1?void 0x0:_0x465c7a?rn(_0xdaca16,_0x17e98b):_0xdaca16,_0x3c6298=_0x3183fe[_0x468822(0x3a6)]-0x1,_0x178ce8;_0x3c6298>=0x0;_0x3c6298--)(_0x178ce8=_0x3183fe[_0x3c6298])&&(_0x56ff8a=_0x178ce8(_0x56ff8a)||_0x56ff8a);return _0x56ff8a;},K=(_0x53e15f,_0x57a780)=>(_0x2d503f,_0x216c2b)=>_0x57a780(_0x2d503f,_0x216c2b,_0x53e15f);let ne=class extends _0x1c69ed{constructor(_0x923ec0,_0x1a5539,_0x4cb700,_0x261cbe,_0x283fd0){const _0x2f72d6=_0x3d495f;super(),this[_0x2f72d6(0x234)]=_0x923ec0,this[_0x2f72d6(0x309)]=_0x1a5539,this['_commandService']=_0x4cb700,this['_dataLoaderService']=_0x261cbe,_0x283fd0?_0x283fd0==null||_0x283fd0['whenReady']()[_0x2f72d6(0x2a5)](()=>this['_init']()):(this[_0x2f72d6(0x309)][_0x2f72d6(0x2e4)](_0x2f72d6(0x1de),_0x2f72d6(0x299)),this[_0x2f72d6(0x293)]());}async['_init'](){const _0x151e32=_0x3d495f,_0x55031f=this[_0x151e32(0x234)][_0x151e32(0x220)](_0x151e32(0x37b)),_0x2a2b1f=this['_urlService']['getParam']('type'),_0xc4a717=this[_0x151e32(0x234)][_0x151e32(0x220)](_0x151e32(0x37d));if(!_0x55031f||!_0x2a2b1f){this['_logService'][_0x151e32(0x2e4)](_0x151e32(0x1de),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1e28ca=await this[_0x151e32(0x353)][_0x151e32(0x1f3)](_0x55031f,Number(_0x2a2b1f),_0xc4a717);_0x1e28ca&&_0x1e28ca instanceof _0x357042&&this['_setupSubUnitSync'](_0x1e28ca);}async['_setupSubUnitSync'](_0x361180){const _0xe7ddf2=_0x3d495f;await this['_updateSubUnitFromURLParams'](_0x361180),_0x361180[_0xe7ddf2(0x21a)]['pipe'](_0x57635b(this[_0xe7ddf2(0x296)]))['subscribe'](_0x5afbf3=>{const _0x29786f=_0xe7ddf2;_0x5afbf3&&this[_0x29786f(0x2cb)](_0x5afbf3);}),this[_0xe7ddf2(0x234)]['urlChange$'][_0xe7ddf2(0x28d)](_0x57635b(this[_0xe7ddf2(0x296)]))['subscribe'](()=>this[_0xe7ddf2(0x2fe)](_0x361180));}[_0x3d495f(0x2cb)](_0x3ac88d,_0x1c51b8=!0x1){const _0x541e3b=_0x3d495f,_0x5860f7=this[_0x541e3b(0x234)][_0x541e3b(0x220)](_0x541e3b(0x37d));_0x3ac88d[_0x541e3b(0x25d)]()!==_0x5860f7&&this[_0x541e3b(0x234)][_0x541e3b(0x28e)](_0x541e3b(0x37d),_0x3ac88d[_0x541e3b(0x25d)](),_0x1c51b8);}async[_0x3d495f(0x2fe)](_0x333794){const _0x1731d0=_0x3d495f;var _0x2bd310;const _0xea2cd9=this[_0x1731d0(0x234)][_0x1731d0(0x220)](_0x1731d0(0x37d));if(!_0xea2cd9||!_0x333794[_0x1731d0(0x1fb)](_0xea2cd9)){const _0x443ef9=_0x333794[_0x1731d0(0x326)]()[0x0],_0x11b6ab=_0x333794[_0x1731d0(0x1fb)](_0x443ef9);if(!_0x11b6ab)return;this['_updateURLWithCurrentState'](_0x11b6ab,!0x0),await this[_0x1731d0(0x217)][_0x1731d0(0x298)](_0x55886c['id'],{'unitId':_0x333794[_0x1731d0(0x26b)](),'subUnitId':_0x443ef9});return;}((_0x2bd310=_0x333794[_0x1731d0(0x36c)]())==null?void 0x0:_0x2bd310[_0x1731d0(0x25d)]())!==_0xea2cd9&&await this[_0x1731d0(0x217)][_0x1731d0(0x298)](_0x55886c['id'],{'unitId':_0x333794[_0x1731d0(0x26b)](),'subUnitId':_0xea2cd9});}};ne=on([K(0x0,Pt),K(0x1,_0x1d5b3c),K(0x2,_0x5cb5ba),K(0x3,_0x4717f3(_0x2fbab3)),K(0x4,_0x3174cb(_0x322134))],ne);var an=Object[_0x3d495f(0x3da)],cn=(_0x3dce9b,_0x31b5cf,_0x187719,_0x45ce94)=>{const _0x5a9f2e=_0x3d495f;for(var _0x592da1=_0x45ce94>0x1?void 0x0:_0x45ce94?an(_0x31b5cf,_0x187719):_0x31b5cf,_0x2f02ef=_0x3dce9b[_0x5a9f2e(0x3a6)]-0x1,_0x556314;_0x2f02ef>=0x0;_0x2f02ef--)(_0x556314=_0x3dce9b[_0x2f02ef])&&(_0x592da1=_0x556314(_0x592da1)||_0x592da1);return _0x592da1;},Ce=(_0x410ce9,_0x3944c9)=>(_0x512a27,_0x32cba6)=>_0x3944c9(_0x512a27,_0x32cba6,_0x410ce9);let re=class{constructor(_0x16eba8,_0x501bbb,_0xbcd88d){const _0xcd73bd=_0x3d495f;this['_injector']=_0x16eba8,this[_0xcd73bd(0x34c)]=_0x501bbb,this[_0xcd73bd(0x295)]=_0xbcd88d;}['transformIMECache'](_0x1d2082){const _0x164bbb=_0x3d495f;this['_transformUndoRedoStack'](_0x1d2082),this[_0x164bbb(0x364)](_0x1d2082);}[_0x3d495f(0x206)](_0x997a5a){const _0xb7e43a=_0x3d495f,{unitID:_0x2452e3}=_0x997a5a,_0x2ae17e=this[_0xb7e43a(0x295)][_0xb7e43a(0x397)](_0x2452e3)[_0xb7e43a(0x251)](_0x41e6c1),{redoCache:_0x37893d}=_0x2ae17e['getUndoRedoMutationParamsCache']();if(_0x37893d[_0xb7e43a(0x3a6)]===0x0)return _0x997a5a;let _0x4dabcb=_0x43bfb7['deepClone'](_0x997a5a[_0xb7e43a(0x36a)][0x0]);for(let _0x52586e=0x0;_0x52586e<_0x37893d[_0xb7e43a(0x3a6)];_0x52586e++){const _0x584609={'id':_0xb7e43a(0x26f),'params':{..._0x37893d[_0x52586e]}},_0x4cbd1c=this[_0xb7e43a(0x34c)]['transformMutation'](_0x4dabcb,_0x584609,!0x1);if(_0x201746(_0x4cbd1c))throw _0x4cbd1c[_0xb7e43a(0x372)];_0x4dabcb=_0x4cbd1c['m1Prime'];}return{..._0x43bfb7[_0xb7e43a(0x283)](_0x997a5a),'mutations':[_0x4dabcb]};}['_transformUndoRedoStack'](_0x294318){const _0x4f59ea=_0x3d495f,{unitID:_0x5d6ebb}=_0x294318,_0xd9ffb6=this[_0x4f59ea(0x295)]['getRenderById'](_0x5d6ebb)[_0x4f59ea(0x251)](_0x41e6c1),{undoCache:_0x108f7d,redoCache:_0x5b1444}=_0xd9ffb6[_0x4f59ea(0x203)]();if(_0x108f7d[_0x4f59ea(0x3a6)]===0x0||_0x5b1444[_0x4f59ea(0x3a6)]===0x0)return;const _0x16c82b=[],_0x2500cb=[];let _0x1c02de=_0x43bfb7['deepClone'](_0x294318[_0x4f59ea(0x36a)][0x0]),_0x4e2aac=_0x43bfb7[_0x4f59ea(0x283)](_0x294318[_0x4f59ea(0x36a)][0x0]);for(let _0x2164a6=_0x108f7d[_0x4f59ea(0x3a6)]-0x1;_0x2164a6>=0x0;_0x2164a6--){const _0x40990c={'id':_0x4f59ea(0x26f),'params':{..._0x108f7d[_0x2164a6]}},_0x45eb47={'id':'doc.mutation.rich-text-editing','params':{..._0x5b1444[_0x2164a6]}},_0xbbfadc=this[_0x4f59ea(0x34c)]['transformMutation'](_0x1c02de,_0x40990c,!0x1),_0x5aa6ad=this[_0x4f59ea(0x34c)][_0x4f59ea(0x258)](_0x4e2aac,_0x45eb47,!0x1);if(_0x201746(_0xbbfadc))throw _0xbbfadc[_0x4f59ea(0x372)];if(_0x201746(_0x5aa6ad))throw _0x5aa6ad[_0x4f59ea(0x372)];_0x16c82b[_0x4f59ea(0x335)](_0xbbfadc[_0x4f59ea(0x367)]['params']),_0x2500cb['unshift'](_0x5aa6ad[_0x4f59ea(0x367)]['params']),_0x1c02de=_0xbbfadc[_0x4f59ea(0x24d)],_0x4e2aac=_0x5aa6ad['m1Prime'];}_0xd9ffb6['setUndoRedoMutationParamsCache']({'undoCache':_0x16c82b,'redoCache':_0x2500cb});}[_0x3d495f(0x364)](_0x24e23e){const _0x5b9eeb=_0x3d495f,{unitID:_0x369777}=_0x24e23e,_0x1494e5=this[_0x5b9eeb(0x295)][_0x5b9eeb(0x397)](_0x369777)['with'](_0x41e6c1),_0xd0ea10=_0x1494e5['getActiveRange']();if(_0xd0ea10==null)return;const _0xd0fe23=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24e23e['unitID'],'actions':null,'textRanges':[_0xd0ea10]}}],_0x584f81=this['_transformService']['transformMutationsWithChangeset'](_0x24e23e,_0xd0fe23);if(!_0x190776(_0x584f81))throw _0x584f81['error'];const _0x4a0704=_0x584f81[_0x5b9eeb(0x367)][0x0][_0x5b9eeb(0x320)][_0x5b9eeb(0x2e6)];Array[_0x5b9eeb(0x29a)](_0x4a0704)&&_0x4a0704[_0x5b9eeb(0x3a6)]&&_0x1494e5[_0x5b9eeb(0x380)](_0x4a0704[0x0]);}};re=cn([Ce(0x0,_0x4717f3(_0x277842)),Ce(0x1,_0x430651),Ce(0x2,_0x1512c0)],re);var ln=Object[_0x3d495f(0x3da)],_n=(_0x23a815,_0x4c495b,_0x371076,_0x5bebd1)=>{const _0x40fa24=_0x3d495f;for(var _0x2e89d7=_0x5bebd1>0x1?void 0x0:_0x5bebd1?ln(_0x4c495b,_0x371076):_0x4c495b,_0x1710e7=_0x23a815[_0x40fa24(0x3a6)]-0x1,_0x26a984;_0x1710e7>=0x0;_0x1710e7--)(_0x26a984=_0x23a815[_0x1710e7])&&(_0x2e89d7=_0x26a984(_0x2e89d7)||_0x2e89d7);return _0x2e89d7;},Ee=(_0x31ed97,_0x2daa83)=>(_0xd03876,_0x4c22bb)=>_0x2daa83(_0xd03876,_0x4c22bb,_0x31ed97);let oe=class{constructor(_0x393e8c,_0x381f03,_0x312d4b){const _0x58c7aa=_0x3d495f;this['_injector']=_0x393e8c,this[_0x58c7aa(0x34c)]=_0x381f03,this['_docStateChangeManagerService']=_0x312d4b;}[_0x3d495f(0x3c4)](_0x4433d0){this['_transformHistoryAndStateStack'](_0x4433d0);}[_0x3d495f(0x206)](_0x1fd94a){const _0x33bfe0=_0x3d495f,{unitID:_0x56417e}=_0x1fd94a,{collaboration:_0x25550e}=this['_docStateChangeManagerService'][_0x33bfe0(0x3d1)](_0x56417e);if(_0x25550e[_0x33bfe0(0x3a6)]===0x0)return _0x1fd94a;let _0xdc505a=_0x43bfb7[_0x33bfe0(0x283)](_0x1fd94a['mutations'][0x0]);for(let _0x44d3e0=0x0;_0x44d3e0<_0x25550e['length'];_0x44d3e0++){const _0x52ef27={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25550e[_0x44d3e0][_0x33bfe0(0x388)],..._0x25550e[_0x44d3e0]['redoState']}},_0x4eb991=this[_0x33bfe0(0x34c)][_0x33bfe0(0x258)](_0xdc505a,_0x52ef27,!0x1);if(_0x201746(_0x4eb991))throw _0x4eb991[_0x33bfe0(0x372)];_0xdc505a=_0x4eb991['m1Prime'];}return{..._0x43bfb7['deepClone'](_0x1fd94a),'mutations':[_0xdc505a]};}[_0x3d495f(0x33b)](_0x1d8a9e){const _0x57bb11=_0x3d495f,{unitID:_0x159805}=_0x1d8a9e,{history:_0x39e41c,collaboration:_0x184d9b}=this[_0x57bb11(0x291)]['getStateCache'](_0x159805);if(_0x39e41c[_0x57bb11(0x3a6)]===0x0&&_0x184d9b[_0x57bb11(0x3a6)]===0x0)return;const _0x5eb138=[],_0x551d98=[];let _0x56742f=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]),_0x4d8fd3=_0x43bfb7['deepClone'](_0x1d8a9e[_0x57bb11(0x36a)][0x0]);for(let _0x426c6b=_0x39e41c[_0x57bb11(0x3a6)]-0x1;_0x426c6b>=0x0;_0x426c6b--){const _0x3af660={'id':_0x57bb11(0x26f),'params':{'unitId':_0x39e41c[_0x426c6b][_0x57bb11(0x388)],..._0x39e41c[_0x426c6b][_0x57bb11(0x219)]}},_0x48d827={'id':_0x57bb11(0x26f),'params':{'unitId':_0x39e41c[_0x426c6b][_0x57bb11(0x388)],..._0x39e41c[_0x426c6b][_0x57bb11(0x375)]}},_0x3645d4=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x56742f,_0x3af660,!0x1),_0x374c14=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x4d8fd3,_0x48d827,!0x1);if(_0x201746(_0x3645d4))throw _0x3645d4[_0x57bb11(0x372)];if(_0x201746(_0x374c14))throw _0x374c14[_0x57bb11(0x372)];_0x5eb138['unshift']({..._0x39e41c[_0x426c6b],'undoState':_0x3645d4['m2Prime'][_0x57bb11(0x320)],'redoState':_0x374c14[_0x57bb11(0x367)][_0x57bb11(0x320)]}),_0x56742f=_0x3645d4[_0x57bb11(0x24d)],_0x4d8fd3=_0x374c14[_0x57bb11(0x24d)];}_0x56742f=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]),_0x4d8fd3=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]);for(let _0x85aa0d=_0x184d9b['length']-0x1;_0x85aa0d>=0x0;_0x85aa0d--){const _0x531012={'id':_0x57bb11(0x26f),'params':{'unitId':_0x184d9b[_0x85aa0d][_0x57bb11(0x388)],..._0x184d9b[_0x85aa0d][_0x57bb11(0x219)]}},_0xc359da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184d9b[_0x85aa0d][_0x57bb11(0x388)],..._0x184d9b[_0x85aa0d]['redoState']}},_0x5c76ad=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x56742f,_0x531012,!0x1),_0xc63b0=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x4d8fd3,_0xc359da,!0x1);if(_0x201746(_0x5c76ad))throw _0x5c76ad[_0x57bb11(0x372)];if(_0x201746(_0xc63b0))throw _0xc63b0[_0x57bb11(0x372)];_0x551d98[_0x57bb11(0x335)]({..._0x184d9b[_0x85aa0d],'undoState':_0x5c76ad[_0x57bb11(0x367)]['params'],'redoState':_0xc63b0[_0x57bb11(0x367)]['params']}),_0x56742f=_0x5c76ad[_0x57bb11(0x24d)],_0x4d8fd3=_0xc63b0[_0x57bb11(0x24d)];}this[_0x57bb11(0x291)][_0x57bb11(0x2f0)](_0x159805,{'history':_0x5eb138,'collaboration':_0x551d98});}};oe=_n([Ee(0x0,_0x4717f3(_0x277842)),Ee(0x1,_0x430651),Ee(0x2,_0x4717f3(_0x469af6))],oe);var hn=Object[_0x3d495f(0x3da)],un=(_0x487fa3,_0x52aca1,_0x30f3e0,_0x537a63)=>{const _0x32b336=_0x3d495f;for(var _0x57bebb=_0x537a63>0x1?void 0x0:_0x537a63?hn(_0x52aca1,_0x30f3e0):_0x52aca1,_0x5b0532=_0x487fa3[_0x32b336(0x3a6)]-0x1,_0x5f1845;_0x5b0532>=0x0;_0x5b0532--)(_0x5f1845=_0x487fa3[_0x5b0532])&&(_0x57bebb=_0x5f1845(_0x57bebb)||_0x57bebb);return _0x57bebb;},it=(_0x4b7c20,_0x15f44c)=>(_0x1c50cf,_0x192f23)=>_0x15f44c(_0x1c50cf,_0x192f23,_0x4b7c20);let ae=class{constructor(_0x51f623,_0x1d837e){this['_injector']=_0x51f623,this['_transformService']=_0x1d837e;}['transformSelections'](_0x5cf974){const _0x53d509=_0x3d495f;var _0x633494;const _0x4c5059=this[_0x53d509(0x2ec)][_0x53d509(0x31f)](_0x3bb8e3),_0x359ee8=(_0x633494=_0x4c5059[_0x53d509(0x384)]())!=null?_0x633494:[];if(_0x359ee8['length']===0x0)return;const _0x300db2=_0x5cf974[_0x53d509(0x1e7)],_0x17f123=[{'id':_0x53d509(0x26f),'params':{'unitId':_0x300db2,'actions':null,'textRanges':_0x359ee8}}],_0x4cecc3=this[_0x53d509(0x34c)][_0x53d509(0x2d8)](_0x5cf974,_0x17f123);if(!_0x190776(_0x4cecc3))throw _0x4cecc3[_0x53d509(0x372)];const _0x1d1789=_0x4cecc3[_0x53d509(0x367)][0x0][_0x53d509(0x320)][_0x53d509(0x2e6)];Array[_0x53d509(0x29a)](_0x1d1789)&&_0x1d1789['length']&&_0x4c5059[_0x53d509(0x357)](_0x1d1789,{'unitId':_0x300db2,'subUnitId':_0x300db2},!0x1);}};ae=un([it(0x0,_0x4717f3(_0x277842)),it(0x1,_0x430651)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x4f35b6,_0x37c79d,_0x5a508b,_0x530ab0)=>{const _0xb2f13c=_0x3d495f;for(var _0x4f7cc2=_0x530ab0>0x1?void 0x0:_0x530ab0?dn(_0x37c79d,_0x5a508b):_0x37c79d,_0x40711e=_0x4f35b6[_0xb2f13c(0x3a6)]-0x1,_0x35e495;_0x40711e>=0x0;_0x40711e--)(_0x35e495=_0x4f35b6[_0x40711e])&&(_0x4f7cc2=_0x35e495(_0x4f7cc2)||_0x4f7cc2);return _0x4f7cc2;},U=(_0x353989,_0x247799)=>(_0xe79879,_0x2f3c2c)=>_0x247799(_0xe79879,_0x2f3c2c,_0x353989);let ce=class extends _0x2bd763{constructor(_0x32825c,_0x59ec89,_0x2d1ac7,_0x5532d0,_0x5e9795,_0x5b22e4,_0x2dc26e,_0x385ce6){const _0x7a17d0=_0x3d495f;super(),_(this,_0x7a17d0(0x31c),new _0x6d4d17(_0x55f2a1[_0x7a17d0(0x2fb)])),(this[_0x7a17d0(0x291)]=_0x32825c,this['_collaborationController']=_0x59ec89,this[_0x7a17d0(0x201)]=_0x2d1ac7,this['_docTransformStateCacheService']=_0x5532d0,this[_0x7a17d0(0x255)]=_0x5e9795,this[_0x7a17d0(0x3c3)]=_0x5b22e4,this['_messageService']=_0x2dc26e,this[_0x7a17d0(0x38f)]=_0x385ce6,this['_initEntityListener']());}[_0x3d495f(0x3d4)](){const _0x255973=_0x3d495f;this[_0x255973(0x275)](this[_0x255973(0x1f4)]['entityInit$'][_0x255973(0x330)](_0x973587=>{const _0x40f979=_0x255973,_0x4bbce8=this[_0x40f979(0x291)][_0x40f979(0x2ac)]['subscribe'](_0x44c768=>{const _0x409176=_0x40f979;if(_0x44c768==null)return;const {unitId:_0x51596a,redoState:_0x11b420,commandId:_0x10b8e4}=_0x44c768;if(_0x51596a!==_0x973587[_0x409176(0x1e7)])return;const _0x38ea00={'id':_0x10b8e4,'type':_0x34af56['MUTATION'],'params':{'unitId':_0x51596a,'actions':_0x11b420[_0x409176(0x3b7)],'textRanges':null}};_0x973587[_0x409176(0x254)](_0x38ea00);});if(_0x973587['disposeWithMe'](_0x4bbce8),_0x973587 instanceof _0xe49363){const _0x47738a={'onTransformIME':_0x23740e=>this[_0x40f979(0x201)]['transformIMECache'](_0x23740e),'onTransformState':_0x525181=>this[_0x40f979(0x2a4)]['transformStateCache'](_0x525181),'onTransformSelections':_0x30288b=>this[_0x40f979(0x255)][_0x40f979(0x28b)](_0x30288b),'onSyncEditingCollabCursor':_0x53fad5=>this[_0x40f979(0x3c3)][_0x40f979(0x387)](_0x53fad5),'onTransformRemoteChangesetByIMECache':_0xf77a9a=>this[_0x40f979(0x201)][_0x40f979(0x206)](_0xf77a9a),'onTransformRemoteChangesetByStateCache':_0x31f236=>this[_0x40f979(0x2a4)][_0x40f979(0x206)](_0x31f236)};_0x973587[_0x40f979(0x2a6)](_0x47738a);}}));}};function _0x207e(){const _0xaf5065=['beginPath','fillRule','_toggleOffline','LICENSE_IMPORT_SIZE_EXCEEDED','add','none','startRow','_initStatusComponent','saveOfflineData','size','drawWith','colorChannel1','top','permission.content','OnLineSingle','registerComponent','_transformService','origin','onPointerLeave$','_scheduleClearOtherTimer','_scene','_roomMembers$','CLOSE_ROOM','_dataLoaderService','updateOfflineData','getCurrentRevOfUnit','extend','replaceDocRanges','_syncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_INVITE_CODE','editingUnit','RemoveColCommandId','LICENSE_MAX_UNITS_EXCEEDED','closePath','_disabled','getTypeOfUnitAdded$','INVITE_CODE_HAS_BEEN_UES','post','_registerDependencies','_transformPreviousActiveRange','min','save','m2Prime','_collabCursorState$','href','mutations','off-line-single','getActiveSheet','init','_cursors','values','HEADER_MENU','univer-online-status-icon','error','collaboration.single-unit.warning','call','redoState','findNodePositionByCharIndex','jiqing500','invokeId','registerRenderModule','PERMISSION_DENIED','unit','_setupBeforeClosingHandler','subunit','sheetId','_cachedData','setActiveRange','1em','getUniverSheetInstance','gold400','getDocRanges','_revisionService','url(#off-line-single_clip0_910_343)','syncEditingCollabCursor','unitId','hovered','getCollabCursors$','evenodd','ONLINE','setTimeout','collaboration-client.offline-data-not-saved','_localeService','currentTheme$','UNIVER_SHEET','indexOf','_unitStatus','SNAPSHOT_INVALID_SNAPSHOT','ranges','_localCacheService','getRenderById','height','loadOfflineData','PY_RUNTIME_SCRIPT_ERROR','_getSaveTimeout','onMouseMove','round','runId','SOCKET_FAILED','ALREADY_EXISTS','2314212xYGtEC','currentColor','displayName','_eventUnsubscribe','_refreshCollabCursors','length','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','TOO_MANY_REQUESTS','_httpService','string','has','ENSURE_SNAPSHOT_EXECUTION','send','UniverIcon','roomMembers$','arc','generateRandomId','eventID','getRelativeToViewportCoord','moveTo','_startDocCollabCursor','getValue','actions','getRangePointData','_onCursorDelete','YUUMI_SUBSCRIPTION_NOT_FOUND','_hideTimer','INVITE_CODE_REQUIRED','getCollabEntity$','_config','saveImage','_handleHover','name','selections','_docSyncEditingCollabCursorService','transformStateCache','exhaustSavingTask','29807yHkfvz','_saveTaskMap','popstate','NOT_FOUND','getUnitStatus$','push','includes','entries','32860740EmCuSo','_anchor','_getSheetObject','getStateCache','createSocket','reconnect','_initEntityListener','_docSkeletonManagerService','random','event$','_colorAssignService','memberID','getOwnPropertyDescriptor','AWAITING','collabStatus.fetchMiss','_removeCollabCursors','location','data','skeleton','collab-client.tooltip.reconnect','_configService','isEditing','wsSessionTicketUrl','transform','newValue','symbol','_updateLocalCursor','Unknown\x20user','defs','xlink:href','disposeUnit','MOBILE_HAS_BEEN_BOUND','[CollaborationDataLoaderController]','session.will-retry','width','INVITE_CODE_ALREADY_BOUND','_registerRenderDependencies','result','VIEW_MAIN','_updateCollabCursors','replaceState','unitID','_render','2008251liknmb','getCurrentSelections','USER_NOT_INVITED_CODE','getCurrentUnitForType','sheetID','setInterval','OFFLINE','Warning','map','_initResize','loadUnit','_collaborationController','INVALID_ARGUMENT','delete','INTERNAL_ERROR','_onRefRangeChange','row','getTypeOfUnitDisposed$','getSheetBySheetId','APPLY_REVISION_CONFILICT','color','InsertRangeMoveRightCommandId','_startSheetCollabCursor','some','_docTransformIMECacheService','#fff','getUndoRedoMutationParamsCache','type','history','transformRemoteChangeset','0\x200\x2017\x2016','rgba(255,\x20255,\x20255,\x200.01)','urlChange$','search','collab-rect-range-','off-line-single_clip0_910_343','collaboration.closeRoom','transformByState','subUnitId','APPLY_REJECT','fillStyle','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_RATE_OVER_LIMIT','_instanceService','UNAUTHENTICATED','_createSocketURL','_commandService','collabStatus.offline','undoState','activeSheet$','_collabSessionService','mask','black','triggerDblclick','_hover','getParam','trim','_localStorageService','tag','source','subscribeEvent','getCellPositionByOffset','unsubscribe','univer-offline','_lastPointer','_getScale','_send','next','_context','replace','runOnServer','MoveRangeCommandId','clearInterval','UNRECOGNIZED','onPointerEnter$','_urlService','YUUMI_UNABLE_LOAD_URL','hide','_draw','lineTo','getAncestorScale','addObject','_color','on-line-single_clip0_910_349','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','_name','defIds','getSkeleton','15zphkeW','endColumn','_handleEvent','LOGIN_FAILED','text','_heartbeatTimer','_id','univer-online','YUUMI_URL_COL_OUT_OF_RANGE','getVpScrollXYInfoByPosToVp','onlineStatusTitle','collabStatus.conflict','m1Prime','_refRangeService','univer-flex\x20univer-items-center','_docClipboardService','with','isActive','labelPosition','onLocalMutation','_docTransformSelectionsService','column','ticket','transformMutation','_ensureSubject','onTransformChange$','onCommandExecuted','_shapes','getSheetId','sessionTicket','_cursorInfo$','_docSkeleton','registerRefRange','set','_scheduleSaving','CHANGESET_REVISION_CONFILICT','_clearOtherTimers','children','url(#$1','NO_OTHER_CLIENTS_EDITING','assign','_handleLeaveEvent','getUnitId','className','setItem','_labelPosition','doc.mutation.rich-text-editing','RECT','createInstance','cursorInfo$','UNIVER_DOC','concat','disposeWithMe','Error','requireSession','getCurrent','roomMembers','1924AUzvtA','prototype','_notificationService','startColumn','override','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','forEach','red300','deepClone','key','getMember','_doCreateSocket','_initEvent','collabCursorState$','/run/','_textBubble','transformSelections','split','pipe','setParam','fillText','searchParams','_docStateChangeManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_init','_unitOnClients','_renderManagerService','dispose$','getFocusedUnit','executeCommand','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_beforeCloseService','_selfUnitIDs','_uiPartsService','currentSkeleton$','_cursor','_drawAnchor','WECHAT_HAS_BEEN_BOUND','_colorIndex','collabStatus.syncing','_docTransformStateCacheService','then','addHandlerCallback','fill','div','restore','_saveCache','_drawRectRange','docStateChange$','collab-text-range-','_getSessionTicket','complete','current','_collabCursorController','6192MhoCAf','_initCommandExecutedListener','dispose','_assignedColors','YUUMI_ASYNCIO_CANCELLED','assignAColorForMemberID','YUUMI_NO_CUBOID_FOR_QUESTION','icon','setConfig','pluginName','toRgbString','blue400','_scheduleHeartbeat','M0\x200H16V16H0z','18owKCqS','UPDATE_CURSOR','find','svg','addObjects','on-line-single','parse','show','RemoveRowCommandId','5150583zSrKnM','executionId','_updateURLWithCurrentState','_themeService','body','TEXT','univer-online-status','univerjs-icon\x20univerjs-icon-','onlineStatus','_hovered','flatMap','attrs','from','_backgroundColor','EMAIL_HAS_BEEN_BOUND','transformMutationsWithChangeset','USERS_LEAVE','_messageService','_getAnchorBounding','backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','getConfig','_drawTextRange','_univerInstanceService','OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','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','debug','onlineStatusIcon','textRanges','FETCH_MISS','UNDEFINED','onPointerMove$','hasOwnProperty','setAlpha','_injector','setShapeProps','CONFLICT','_getMergeRange','setStateCache','purple300','SYNCED','cursorInfo','AWAITING_WITH_PENDING','getViewport','idSuffix','measureText','contains','removeParam','Failed','NOT_COLLAB','_memberService','apply','_updateSubUnitFromURLParams','_range','sessionStatus$','_sheetSkeletonManagerService','substring','toString','_onCursorUpdate','FromArray','range','unload','_initStatusListener','_logService','SOCKET_FAILED_RETRY','APPLY_PERMISSION_DENIED','_online','_initDependencies','addEventListener','uni.network.url-service','getOwnPropertySymbols','_entityInit$','online','_session','DeleteRangeMoveLeftCommandId','onStarting','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','session.connection-failed','clearTimeout','0\x200\x2016\x2016','startsWith','_status$','selection','disableLocalCache','get','params','registerBeforeClose','_entities','saveTaskMap','LICENSE_DISTRO_REJECTED','_removeClearOtherTimer','getUnhiddenWorksheets','use','...','session.collaboration-timeout','pushState','669512YsNmgX','asObservable','getMemberID','InsertColCommandId','_toggleOnline','subscribe','_handleJoinEvent','defineProperty','verdancy600','SUBMIT_CHANGESET_TIMEOUT','unshift','path','code','_anchorDot','collab-text-anchor-','_cursorShapes','_transformHistoryAndStateStack'];_0x207e=function(){return _0xaf5065;};return _0x207e();}ce=fn([U(0x0,_0x4717f3(_0x469af6)),U(0x1,_0x4717f3(_0x3bd700)),U(0x2,_0x4717f3(re)),U(0x3,_0x4717f3(oe)),U(0x4,_0x4717f3(ae)),U(0x5,_0x4717f3(je)),U(0x6,_0xc0d35f),U(0x7,_0x4717f3(_0x32e24e))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x115c33,_0x3b732a,_0x134fe5,_0x5ae5d3)=>{const _0x13133f=_0x3d495f;for(var _0x41692c=_0x5ae5d3>0x1?void 0x0:_0x5ae5d3?Sn(_0x3b732a,_0x134fe5):_0x3b732a,_0x40df27=_0x115c33[_0x13133f(0x3a6)]-0x1,_0x4019aa;_0x40df27>=0x0;_0x40df27--)(_0x4019aa=_0x115c33[_0x40df27])&&(_0x41692c=_0x4019aa(_0x41692c)||_0x41692c);return _0x41692c;},be=(_0x3377c8,_0x3ba556)=>(_0x325ba0,_0x42ebcd)=>_0x3ba556(_0x325ba0,_0x42ebcd,_0x3377c8);let Ae=class extends _0x2bd763{constructor(_0x267665,_0x131687,_0x3edf4c){const _0x249e88=_0x3d495f;super(),_(this,_0x249e88(0x37f),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x249e88(0x35f),!0x1),(this[_0x249e88(0x1d2)]=_0x267665,this[_0x249e88(0x222)]=_0x131687,this[_0x249e88(0x385)]=_0x3edf4c);}[_0x3d495f(0x31e)](){const _0x3ab4b2=_0x3d495f;this[_0x3ab4b2(0x35f)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5e0a9b=_0x3d495f;return this[_0x5e0a9b(0x3c7)];}['dispose'](){const _0x2fd749=_0x3d495f;this[_0x2fd749(0x3c5)]()[_0x2fd749(0x2a5)](()=>super[_0x2fd749(0x2b4)]());}async[_0x3d495f(0x399)](_0x29c01f){const _0x2597b1=_0x3d495f;return this[_0x2597b1(0x35f)]?null:this[_0x2597b1(0x222)]['getItem'](_0xfb044(_0x29c01f));}async[_0x3d495f(0x344)](_0x37d1e4,_0x2e6ca9){const _0x59048f=_0x3d495f;return!!this['_localStorageService'][_0x59048f(0x26d)](_0x37d1e4,_0x2e6ca9);}[_0x3d495f(0x354)](_0x1d31a8,_0x31d592,_0x4f3f47,_0x379b1c){const _0x21978e=_0x3d495f,_0x1662cd=this[_0x21978e(0x385)][_0x21978e(0x355)](_0x1d31a8);this[_0x21978e(0x37f)][_0x21978e(0x262)](_0x1d31a8,{'unitID':_0x1d31a8,'type':_0x31d592,'awaitingChangeset':_0x4f3f47,'mutations':_0x379b1c,'rev':_0x1662cd}),this[_0x21978e(0x3c7)][_0x21978e(0x3ab)](_0x1d31a8)||this[_0x21978e(0x263)](_0x1d31a8);}['_scheduleSaving'](_0x360c4f){const _0x3c4f3b=_0x3d495f,_0x20fbee=this[_0x3c4f3b(0x39b)]();_0x20fbee===0x0?this['_saveCache'](_0x360c4f):this[_0x3c4f3b(0x3c7)][_0x3c4f3b(0x262)](_0x360c4f,setTimeout(()=>this[_0x3c4f3b(0x2aa)](_0x360c4f),_0x20fbee));}[_0x3d495f(0x39b)](){const _0x50c4cd=_0x3d495f;var _0x5a19e3;return(_0x5a19e3=this[_0x50c4cd(0x1d2)][_0x50c4cd(0x2de)](_0x18680b))!=null?_0x5a19e3:_0x5260b6;}[_0x3d495f(0x2aa)](_0x57f73a){const _0xd057ba=_0x3d495f,_0x2b2620=this[_0xd057ba(0x3c7)]['get'](_0x57f73a);return _0x2b2620!==void 0x0&&window[_0xd057ba(0x319)](_0x2b2620),this['_localStorageService'][_0xd057ba(0x26d)](_0xfb044(_0x57f73a),this[_0xd057ba(0x37f)]['get'](_0x57f73a))['then'](()=>this[_0xd057ba(0x3c7)][_0xd057ba(0x1f6)](_0x57f73a));}async[_0x3d495f(0x3c5)](){const _0x29585f=_0x3d495f,_0x204a79=[];this[_0x29585f(0x3c7)][_0x29585f(0x281)]((_0x2ba191,_0x50854a)=>{const _0x21dc4c=_0x29585f;window[_0x21dc4c(0x319)](_0x2ba191),_0x204a79['push'](this['_saveCache'](_0x50854a)[_0x21dc4c(0x2a5)](()=>{this['_saveTaskMap']['delete'](_0x50854a);}));}),await Promise['all'](_0x204a79);}};Ae=mn([be(0x0,_0x19b0f2),be(0x1,_0x4f16c5),be(0x2,_0x4717f3(_0x1f3e90))],Ae);class gn extends _0x1c69ed{constructor(){const _0x1193e6=_0x3d495f;super(),_(this,_0x1193e6(0x209)),this[_0x1193e6(0x209)]=_0x43f52a(window,_0x1193e6(0x3c8))['pipe'](_0x57635b(this['dispose$']),_0xede5bd(0x1),_0x7a715b(void 0x0));}[_0x3d495f(0x28e)](_0x585ff2,_0x29c922,_0x52864e=!0x1){const _0xeea948=_0x3d495f,_0x3f1c70=new URL(window[_0xeea948(0x1ce)][_0xeea948(0x369)]);_0x3f1c70['searchParams'][_0xeea948(0x262)](_0x585ff2,_0x29c922),_0x52864e?window[_0xeea948(0x205)]['replaceState']('','',_0x3f1c70[_0xeea948(0x303)]()):window[_0xeea948(0x205)]['pushState']('','',_0x3f1c70[_0xeea948(0x303)]());}[_0x3d495f(0x2f9)](_0x1beda3,_0x244833=!0x1){const _0x32c577=_0x3d495f,_0x37fc03=new URL(window[_0x32c577(0x1ce)][_0x32c577(0x369)]);_0x37fc03['searchParams'][_0x32c577(0x1f6)](_0x1beda3),_0x244833?window[_0x32c577(0x205)][_0x32c577(0x1e6)]('','',_0x37fc03['toString']()):window[_0x32c577(0x205)][_0x32c577(0x32a)]('','',_0x37fc03['toString']());}[_0x3d495f(0x220)](_0x45135e){const _0x38ba03=_0x3d495f;var _0xec1af5;return(_0xec1af5=new URL(window[_0x38ba03(0x1ce)][_0x38ba03(0x369)])[_0x38ba03(0x290)][_0x38ba03(0x31f)](_0x45135e))!=null?_0xec1af5:void 0x0;}}var vn=Object[_0x3d495f(0x332)],In=Object[_0x3d495f(0x3da)],pn=(_0x20dea5,_0x4f6ab4,_0x158edb)=>_0x4f6ab4 in _0x20dea5?vn(_0x20dea5,_0x4f6ab4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x158edb}):_0x20dea5[_0x4f6ab4]=_0x158edb,Cn=(_0x1d17fc,_0x1146da,_0x4bfacf,_0x4a3b59)=>{const _0x2ff315=_0x3d495f;for(var _0x1c94ec=_0x4a3b59>0x1?void 0x0:_0x4a3b59?In(_0x1146da,_0x4bfacf):_0x1146da,_0x2de1a5=_0x1d17fc[_0x2ff315(0x3a6)]-0x1,_0x319cf5;_0x2de1a5>=0x0;_0x2de1a5--)(_0x319cf5=_0x1d17fc[_0x2de1a5])&&(_0x1c94ec=_0x319cf5(_0x1c94ec)||_0x1c94ec);return _0x1c94ec;},Oe=(_0x116b9a,_0x4dd782)=>(_0x388bf7,_0x860c9b)=>_0x4dd782(_0x388bf7,_0x860c9b,_0x116b9a),En=(_0x5a5b35,_0x62921b,_0x56f24b)=>pn(_0x5a5b35,_0x62921b+'',_0x56f24b);const bn=_0x3d495f(0x3a7);let ye=class extends _0x52db42{constructor(_0x382fee=st,_0x4fb9dd,_0x1a9466,_0x3ec43e){const _0x2648db=_0x3d495f;super(),this[_0x2648db(0x3be)]=_0x382fee,this['_renderManagerService']=_0x4fb9dd,this[_0x2648db(0x2ec)]=_0x1a9466,this[_0x2648db(0x1d2)]=_0x3ec43e;const {..._0x4e9333}=_0x23e7a9({},st,this['_config']);this['_configService'][_0x2648db(0x2ba)](nn,_0x4e9333);}[_0x3d495f(0x315)](){const _0x20a54c=_0x3d495f;this[_0x20a54c(0x363)](),this[_0x20a54c(0x30d)]();}['onRendered'](){const _0x1a267d=_0x3d495f;this[_0x1a267d(0x1e2)]();}[_0x3d495f(0x363)](){const _0x909c13=_0x3d495f;var _0x26d642;const _0x9946ea=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x8647d5,{'useClass':_0x2537ef}],[_0x38eb01,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4cae5a(this[_0x909c13(0x2ec)],_0x5d2efa(_0x9946ea,(_0x26d642=this[_0x909c13(0x3be)])==null?void 0x0:_0x26d642[_0x909c13(0x27e)]));}['_registerRenderDependencies'](){const _0x178eb2=_0x3d495f;this[_0x178eb2(0x275)](this[_0x178eb2(0x295)][_0x178eb2(0x379)](_0x4cbff4[_0x178eb2(0x273)],[we])),this[_0x178eb2(0x275)](this[_0x178eb2(0x295)]['registerRenderModule'](_0x4cbff4[_0x178eb2(0x391)],[Le]));}[_0x3d495f(0x30d)](){const _0x5eb412=_0x3d495f;_0x389040(this[_0x5eb412(0x2ec)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x3d495f(0x2bb),bn),ye=Cn([_0x50576f(_0x40245c),Oe(0x1,_0x1512c0),Oe(0x2,_0x4717f3(_0x277842)),Oe(0x3,_0x19b0f2)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x34bee1,_0x410257,_0x34cadb,_0x44e136)=>{const _0x8de0a6=_0x3d495f;for(var _0x2adbe2=_0x44e136>0x1?void 0x0:_0x44e136?On(_0x410257,_0x34cadb):_0x410257,_0x187af9=_0x34bee1[_0x8de0a6(0x3a6)]-0x1,_0x4ecd63;_0x187af9>=0x0;_0x187af9--)(_0x4ecd63=_0x34bee1[_0x187af9])&&(_0x2adbe2=_0x4ecd63(_0x2adbe2)||_0x2adbe2);return _0x2adbe2;},z=(_0x34dc88,_0x50b458)=>(_0x1bff26,_0x43d81a)=>_0x50b458(_0x1bff26,_0x43d81a,_0x34dc88);let nt=class extends _0x1d14cf{constructor(_0x3aab73,_0x590b74,_0x1ba2d3,_0x27b827,_0x55853b){super(_0x3aab73,_0x590b74,_0x1ba2d3,_0x27b827,_0x55853b);}async[_0x3d495f(0x3d2)](_0x42a4cd){const _0x5e3f85=_0x3d495f,_0x5259f5=await this[_0x5e3f85(0x2ae)](),_0x64847a=this[_0x5e3f85(0x216)](_0x42a4cd,_0x5259f5);return this[_0x5e3f85(0x286)](_0x64847a);}[_0x3d495f(0x216)](_0x3ce54b,_0x42e699){const _0x3f87be=_0x3d495f,_0x235a42=typeof window>'u'?new URL(_0x3ce54b):new URL(_0x3ce54b,window['location'][_0x3f87be(0x34d)]);_0x235a42[_0x3f87be(0x290)][_0x3f87be(0x262)](_0x3f87be(0x25e),_0x42e699);const _0xc5f84e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f87be(0x1ce)][_0x3f87be(0x20a)]);return _0xc5f84e['get']('runId')&&_0x235a42[_0x3f87be(0x290)]['set'](_0x3f87be(0x39e),_0xc5f84e['get'](_0x3f87be(0x39e))),_0x235a42['toString']();}async[_0x3d495f(0x2ae)](){const _0x34dee1=_0x3d495f;var _0x2ab39b,_0x138866,_0x5ddc84;const _0x15fc15=this['_configService'][_0x34dee1(0x2de)](_0x3b02ed),_0x235b2f=(_0x2ab39b=_0x15fc15==null?void 0x0:_0x15fc15[_0x34dee1(0x1d4)])!=null?_0x2ab39b:_0x25d808;return(_0x5ddc84=(_0x138866=(await this[_0x34dee1(0x3a9)][_0x34dee1(0x31f)](_0x235b2f,{'headers':{'Content-Type':'application/json'}}))[_0x34dee1(0x2cd)])==null?void 0x0:_0x138866[_0x34dee1(0x257)])!=null?_0x5ddc84:'';}};nt=Tn([z(0x0,_0x4717f3(_0x277842)),z(0x1,_0x4717f3(_0x22986c)),z(0x2,_0x19b0f2),z(0x3,_0x1d5b3c),z(0x4,_0x50fe31)],nt);const rt=0x7530,ot=_0x3d495f(0x212);class Gn extends _0x2bd763{constructor(){const _0x4886b1=_0x3d495f;super(),_(this,'_id',_0xacd06e()),_(this,_0x4886b1(0x29c),new Set()),_(this,_0x4886b1(0x294),new Map()),_(this,_0x4886b1(0x246),null),_(this,_0x4886b1(0x265),new Map()),_(this,_0x4886b1(0x393),new Map()),this['_init']();}[_0x3d495f(0x2b4)](){const _0xe54124=_0x3d495f;super[_0xe54124(0x2b4)](),this['_clearOtherTimers']['forEach']((_0x4a528d,_0x26ac6e)=>this[_0xe54124(0x325)](_0x26ac6e)),this['_heartbeatTimer']&&window[_0xe54124(0x231)](this[_0xe54124(0x246)]);}[_0x3d495f(0x3ca)](_0x1af44a){const _0x3f3352=_0x3d495f;return this['_ensureSubject'](_0x1af44a)[_0x3f3352(0x28d)](_0x50c3ed());}[_0x3d495f(0x35b)](_0x4f079e){const _0xaa29f4=_0x3d495f;this[_0xaa29f4(0x29c)][_0xaa29f4(0x345)]===0x0&&this[_0xaa29f4(0x2be)](),this[_0xaa29f4(0x29c)]['add'](_0x4f079e),this[_0xaa29f4(0x22b)]({'type':0x0,'memberID':this[_0xaa29f4(0x247)],'unitIDs':[_0x4f079e],'isForwarded':!0x1});}[_0x3d495f(0x1dc)](_0x247283){const _0x4ffe5b=_0x3d495f;this[_0x4ffe5b(0x29c)]['delete'](_0x247283),this['_selfUnitIDs'][_0x4ffe5b(0x345)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4ffe5b(0x246)]);}[_0x3d495f(0x293)](){const _0x5b0aa5=_0x3d495f;this[_0x5b0aa5(0x275)](_0x11b652(_0x43f52a(window,'storage')[_0x5b0aa5(0x330)](_0x135784=>{const _0x35644a=_0x5b0aa5;if(_0x135784[_0x35644a(0x284)]!==ot||!_0x135784[_0x35644a(0x1d6)])return;const _0x49e0be=JSON[_0x35644a(0x2c6)](_0x135784[_0x35644a(0x1d6)]);this[_0x35644a(0x243)](_0x49e0be);}))),window[_0x5b0aa5(0x30e)](_0x5b0aa5(0x307),()=>this[_0x5b0aa5(0x22b)]({'type':0x1,'memberID':this[_0x5b0aa5(0x247)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x3d495f(0x243)](_0x5f0b8c){const _0x1f9494=_0x3d495f;switch(_0x5f0b8c[_0x1f9494(0x204)]){case 0x0:this[_0x1f9494(0x331)](_0x5f0b8c);break;case 0x1:this[_0x1f9494(0x26a)](_0x5f0b8c);break;case 0x2:this['_handleHeartbeatEvent'](_0x5f0b8c);break;}}['_handleJoinEvent'](_0x120bd6){const _0x3db5be=_0x3d495f,{unitIDs:_0x1dc39c,memberID:_0x334c8f,isForwarded:_0x42f202}=_0x120bd6;_0x1dc39c[_0x3db5be(0x281)](_0x42cc45=>{const _0x2e9fb6=_0x3db5be;if(!_0x42f202&&this[_0x2e9fb6(0x294)]['has'](_0x42cc45)&&this['_ensureSubject'](_0x42cc45)[_0x2e9fb6(0x22c)](_0x99867e[_0x2e9fb6(0x2e1)]),!this[_0x2e9fb6(0x294)][_0x2e9fb6(0x3ab)](_0x42cc45)||!this['_unitOnClients'][_0x2e9fb6(0x31f)](_0x42cc45)['has'](_0x334c8f)){const _0x2dc22e=this[_0x2e9fb6(0x294)]['get'](_0x42cc45)||new Set();_0x2dc22e[_0x2e9fb6(0x340)](_0x334c8f),this[_0x2e9fb6(0x294)][_0x2e9fb6(0x262)](_0x42cc45,_0x2dc22e),this[_0x2e9fb6(0x34f)](_0x334c8f);}}),_0x42f202||this[_0x3db5be(0x22b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3db5be(0x29c)]],'isForwarded':!0x0});}[_0x3d495f(0x34f)](_0x2d478f){const _0x4b9a52=_0x3d495f;this[_0x4b9a52(0x325)](_0x2d478f);const _0x1c2265=window[_0x4b9a52(0x38d)](()=>{const _0x862288=_0x4b9a52;this[_0x862288(0x294)][_0x862288(0x281)](_0x3df993=>{const _0x316edc=_0x862288;_0x3df993[_0x316edc(0x1f6)](_0x2d478f);});},rt*0x2);this[_0x4b9a52(0x265)][_0x4b9a52(0x262)](_0x2d478f,_0x1c2265);}[_0x3d495f(0x325)](_0x27fd42){const _0x51b944=_0x3d495f;if(this[_0x51b944(0x265)][_0x51b944(0x3ab)](_0x27fd42)){const _0x3e74e7=this[_0x51b944(0x265)][_0x51b944(0x31f)](_0x27fd42);_0x3e74e7&&window[_0x51b944(0x319)](_0x3e74e7),this[_0x51b944(0x265)][_0x51b944(0x262)](_0x27fd42,null);}}[_0x3d495f(0x26a)](_0x4b2dc8){const _0x2e7e37=_0x3d495f,{memberID:_0x30a7dc,unitIDs:_0x2d73ec}=_0x4b2dc8;_0x2d73ec['forEach'](_0x20ed4d=>{const _0x1fee6a=_0x5750;var _0x3eacc3;const _0x349bf9=this[_0x1fee6a(0x294)][_0x1fee6a(0x31f)](_0x20ed4d);_0x349bf9&&(_0x349bf9[_0x1fee6a(0x1f6)](_0x30a7dc),(_0x3eacc3=this['_ensureSubject'](_0x20ed4d))==null||_0x3eacc3[_0x1fee6a(0x22c)](_0x349bf9[_0x1fee6a(0x345)]===0x0?_0x99867e[_0x1fee6a(0x268)]:_0x99867e[_0x1fee6a(0x2e1)]));}),this[_0x2e7e37(0x325)](_0x30a7dc);}['_handleHeartbeatEvent'](_0x440b97){const _0x5d35f2=_0x3d495f;this[_0x5d35f2(0x34f)](_0x440b97[_0x5d35f2(0x3d9)]);}[_0x3d495f(0x22b)](_0x5dead5){const _0x253df6=_0x3d495f;localStorage[_0x253df6(0x26d)](ot,JSON['stringify'](_0x5dead5));}[_0x3d495f(0x2be)](){const _0xb30264=_0x3d495f;this['_heartbeatTimer']=window[_0xb30264(0x1ee)](()=>{const _0x1be3d6=_0xb30264;this[_0x1be3d6(0x22b)]({'type':0x2,'memberID':this[_0x1be3d6(0x247)]});},rt);}[_0x3d495f(0x259)](_0x20a501){const _0x4c3671=_0x3d495f;return this[_0x4c3671(0x393)]['has'](_0x20a501)||this['_unitStatus'][_0x4c3671(0x262)](_0x20a501,new _0x6d4d17(_0x99867e['NO_OTHER_CLIENTS_EDITING'])),this[_0x4c3671(0x393)][_0x4c3671(0x31f)](_0x20a501);}}var wt=(_0x3a212b=>(_0x3a212b[_0x3a212b['UNDEFINED']=0x0]=_0x3d495f(0x2e8),_0x3a212b[_0x3a212b['OK']=0x1]='OK',_0x3a212b[_0x3a212b[_0x3d495f(0x1f7)]=0x2]='INTERNAL_ERROR',_0x3a212b[_0x3a212b['PERMISSION_DENIED']=0x3]=_0x3d495f(0x37a),_0x3a212b[_0x3a212b[_0x3d495f(0x3c9)]=0x4]='NOT_FOUND',_0x3a212b[_0x3a212b[_0x3d495f(0x215)]=0x5]=_0x3d495f(0x215),_0x3a212b[_0x3a212b['ALREADY_EXISTS']=0x6]=_0x3d495f(0x3a0),_0x3a212b[_0x3a212b[_0x3d495f(0x1f5)]=0x7]='INVALID_ARGUMENT',_0x3a212b[_0x3a212b['TOO_MANY_REQUESTS']=0x8]=_0x3d495f(0x3a8),_0x3a212b[_0x3a212b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3a212b[_0x3a212b[_0x3d495f(0x244)]=0xa]='LOGIN_FAILED',_0x3a212b[_0x3a212b[_0x3d495f(0x264)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3a212b[_0x3a212b[_0x3d495f(0x394)]=0x1771]=_0x3d495f(0x394),_0x3a212b[_0x3a212b[_0x3d495f(0x359)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a212b[_0x3a212b[_0x3d495f(0x3ac)]=0x1773]=_0x3d495f(0x3ac),_0x3a212b[_0x3a212b[_0x3d495f(0x210)]=0x1b59]=_0x3d495f(0x210),_0x3a212b[_0x3a212b[_0x3d495f(0x2dd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3a212b[_0x3a212b[_0x3d495f(0x1fc)]=0x1b5b]=_0x3d495f(0x1fc),_0x3a212b[_0x3a212b[_0x3d495f(0x30b)]=0x1b5c]=_0x3d495f(0x30b),_0x3a212b[_0x3a212b['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3a212b[_0x3a212b[_0x3d495f(0x316)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a212b[_0x3a212b[_0x3d495f(0x35d)]=0x2329]=_0x3d495f(0x35d),_0x3a212b[_0x3a212b[_0x3d495f(0x292)]=0x232a]=_0x3d495f(0x292),_0x3a212b[_0x3a212b[_0x3d495f(0x33f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3a212b[_0x3a212b[_0x3d495f(0x317)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3a212b[_0x3a212b[_0x3d495f(0x324)]=0x232d]=_0x3d495f(0x324),_0x3a212b[_0x3a212b[_0x3d495f(0x235)]=0x2711]=_0x3d495f(0x235),_0x3a212b[_0x3a212b[_0x3d495f(0x249)]=0x2712]=_0x3d495f(0x249),_0x3a212b[_0x3a212b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3d495f(0x213),_0x3a212b[_0x3a212b[_0x3d495f(0x3ba)]=0x2714]=_0x3d495f(0x3ba),_0x3a212b[_0x3a212b[_0x3d495f(0x2b8)]=0x271a]=_0x3d495f(0x2b8),_0x3a212b[_0x3a212b[_0x3d495f(0x2b6)]=0x271b]=_0x3d495f(0x2b6),_0x3a212b[_0x3a212b[_0x3d495f(0x39a)]=0x2af9]=_0x3d495f(0x39a),_0x3a212b[_0x3a212b[_0x3d495f(0x361)]=0x2ee1]=_0x3d495f(0x361),_0x3a212b[_0x3a212b['INVALID_INVITE_CODE']=0x2ee2]=_0x3d495f(0x35a),_0x3a212b[_0x3a212b[_0x3d495f(0x3bc)]=0x2ee3]=_0x3d495f(0x3bc),_0x3a212b[_0x3a212b[_0x3d495f(0x1eb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3a212b[_0x3a212b[_0x3d495f(0x1e1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3a212b[_0x3a212b[_0x3d495f(0x2a1)]=0x32c9]=_0x3d495f(0x2a1),_0x3a212b[_0x3a212b[_0x3d495f(0x1dd)]=0x32ca]=_0x3d495f(0x1dd),_0x3a212b[_0x3a212b[_0x3d495f(0x2d7)]=0x32cb]=_0x3d495f(0x2d7),_0x3a212b[_0x3a212b[_0x3d495f(0x232)]=-0x1]=_0x3d495f(0x232),_0x3a212b))(wt||{}),Rn=Object[_0x3d495f(0x3da)],Dn=(_0x4e5ab9,_0x992ce,_0x3f9399,_0x148c8a)=>{const _0x26f323=_0x3d495f;for(var _0x43193a=_0x148c8a>0x1?void 0x0:_0x148c8a?Rn(_0x992ce,_0x3f9399):_0x992ce,_0x40153d=_0x4e5ab9[_0x26f323(0x3a6)]-0x1,_0x5848e8;_0x40153d>=0x0;_0x40153d--)(_0x5848e8=_0x4e5ab9[_0x40153d])&&(_0x43193a=_0x5848e8(_0x43193a)||_0x43193a);return _0x43193a;},Te=(_0x5aaa3f,_0x1ad403)=>(_0x2c86e0,_0x5574da)=>_0x1ad403(_0x2c86e0,_0x5574da,_0x5aaa3f);let at=class extends _0x2bd763{constructor(_0x3333de,_0x20a2d7,_0x4a4a01){const _0x34dccd=_0x3d495f;super(),this[_0x34dccd(0x214)]=_0x3333de,this[_0x34dccd(0x3a9)]=_0x20a2d7,this[_0x34dccd(0x1d2)]=_0x4a4a01;}async[_0x3d495f(0x22f)](_0x26dd36,_0x110f22,_0x511383,..._0x1e86dc){const _0x504c77=_0x3d495f;var _0x56834b,_0x2f4a72,_0x55fb9d,_0x2d5d75;const _0x223c66=this[_0x504c77(0x214)][_0x504c77(0x297)]();if(!_0x223c66)throw new Error(_0x504c77(0x280));const _0x1282fe=((_0x56834b=this['_configService'][_0x504c77(0x2de)](_0x139bd4))!=null?_0x56834b:_0x4d1769)+'/'+_0x26dd36+_0x504c77(0x289)+_0x110f22,_0x38df3d=new URL(window[_0x504c77(0x1ce)][_0x504c77(0x369)]),_0x1ade98={'scriptId':_0x26dd36,'runId':(_0x2f4a72=_0x38df3d[_0x504c77(0x290)]['get'](_0x504c77(0x39e)))!=null?_0x2f4a72:'','function':_0x110f22,'unitId':_0x223c66[_0x504c77(0x26b)](),'argsOfFunction':JSON['stringify'](_0x1e86dc),'invokeId':(_0x55fb9d=_0x511383[_0x504c77(0x378)])!=null?_0x55fb9d:'','executionId':(_0x2d5d75=_0x511383[_0x504c77(0x2ca)])!=null?_0x2d5d75:''};try{const _0x3ab9a3=await this['_httpService'][_0x504c77(0x362)](_0x1282fe,{'body':_0x1ade98});return _0x3ab9a3['body']['error']&&_0x3ab9a3[_0x504c77(0x2cd)][_0x504c77(0x372)][_0x504c77(0x337)]!==wt['OK']?_0x504c77(0x2fa):_0x3ab9a3['body'][_0x504c77(0x1e3)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x81b094),Te(0x1,_0x4717f3(_0x22986c)),Te(0x2,_0x19b0f2)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x519bfd=_0x5d30;(function(_0x20cee7,_0x1da0b7){const _0x435d71=_0x5d30,_0x3ace2f=_0x20cee7();while(!![]){try{const _0x65e55b=-parseInt(_0x435d71(0x10b))/0x1+-parseInt(_0x435d71(0x106))/0x2*(parseInt(_0x435d71(0x114))/0x3)+-parseInt(_0x435d71(0x101))/0x4*(parseInt(_0x435d71(0x102))/0x5)+-parseInt(_0x435d71(0x10c))/0x6*(-parseInt(_0x435d71(0xfd))/0x7)+-parseInt(_0x435d71(0xff))/0x8*(-parseInt(_0x435d71(0xfc))/0x9)+-parseInt(_0x435d71(0x10f))/0xa*(-parseInt(_0x435d71(0x10a))/0xb)+-parseInt(_0x435d71(0xfe))/0xc*(-parseInt(_0x435d71(0x10e))/0xd);if(_0x65e55b===_0x1da0b7)break;else _0x3ace2f['push'](_0x3ace2f['shift']());}catch(_0x20ea77){_0x3ace2f['push'](_0x3ace2f['shift']());}}}(_0x4889,0x207a7));const e={'collab-client':{'tooltip':{'reconnect':_0x519bfd(0x113)}},'collabStatus':{'fetchMiss':_0x519bfd(0x10d),'conflict':_0x519bfd(0x115),'notCollab':'Local\x20file','synced':_0x519bfd(0x105),'syncing':'Syncing...','offline':_0x519bfd(0x109)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x519bfd(0x112),'room-full':_0x519bfd(0x111),'collaboration-timeout':_0x519bfd(0x110)},'conflict':{'title':_0x519bfd(0x108),'content':_0x519bfd(0x104)},'permission':{'title':_0x519bfd(0x107),'content':_0x519bfd(0x103)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x519bfd(0x100)}};export{e as default};function _0x5d30(_0x33bcdd,_0x1ee4c8){const _0x488926=_0x4889();return _0x5d30=function(_0x5d3043,_0x2393aa){_0x5d3043=_0x5d3043-0xfc;let _0x57a553=_0x488926[_0x5d3043];return _0x57a553;},_0x5d30(_0x33bcdd,_0x1ee4c8);}function _0x4889(){const _0xcb8a3a=['429008zIJHcS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14548vzXJTv','235CmHFSY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Synced','50042UvCHVk','Authentication\x20Error','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','374YdobHO','50836ONDYJK','355920Pgspvx','Syncing\x20server\x20data...','336401Gqmohn','31750NUIYtw','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','27uKTnfZ','Edit\x20conflicts','9GdQJqw','28endzts','84wRCNTU'];_0x4889=function(){return _0xcb8a3a;};return _0x4889();}
1
+ const _0x1e92fe=_0x2c58;function _0x2c58(_0x31510b,_0x47fef9){const _0x3096b7=_0x3096();return _0x2c58=function(_0x2c5849,_0x57c489){_0x2c5849=_0x2c5849-0x193;let _0x18c294=_0x3096b7[_0x2c5849];return _0x18c294;},_0x2c58(_0x31510b,_0x47fef9);}(function(_0x1f1c20,_0x18d380){const _0x570b2c=_0x2c58,_0x4046bb=_0x1f1c20();while(!![]){try{const _0x3442b8=parseInt(_0x570b2c(0x19d))/0x1+-parseInt(_0x570b2c(0x194))/0x2*(-parseInt(_0x570b2c(0x196))/0x3)+-parseInt(_0x570b2c(0x1aa))/0x4*(-parseInt(_0x570b2c(0x195))/0x5)+-parseInt(_0x570b2c(0x198))/0x6+-parseInt(_0x570b2c(0x1ab))/0x7*(-parseInt(_0x570b2c(0x1a7))/0x8)+-parseInt(_0x570b2c(0x1a8))/0x9*(parseInt(_0x570b2c(0x199))/0xa)+-parseInt(_0x570b2c(0x19f))/0xb*(parseInt(_0x570b2c(0x1a1))/0xc);if(_0x3442b8===_0x18d380)break;else _0x4046bb['push'](_0x4046bb['shift']());}catch(_0xf132d1){_0x4046bb['push'](_0x4046bb['shift']());}}}(_0x3096,0x316b8));const e={'collab-client':{'tooltip':{'reconnect':_0x1e92fe(0x19c)}},'collabStatus':{'fetchMiss':_0x1e92fe(0x19b),'conflict':_0x1e92fe(0x1a6),'notCollab':_0x1e92fe(0x1a0),'synced':_0x1e92fe(0x1a4),'syncing':_0x1e92fe(0x19a),'offline':_0x1e92fe(0x1a2)},'session':{'connection-failed':_0x1e92fe(0x193),'will-retry':_0x1e92fe(0x1a5),'room-full':_0x1e92fe(0x1a3),'collaboration-timeout':_0x1e92fe(0x197)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1e92fe(0x1a9)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1e92fe(0x19e)}};export{e as default};function _0x3096(){const _0x443776=['12ZheXQd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','2879944hmSJvh','8982qhydUY','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','56NdpHVi','7gkxnME','Connection\x20failed,\x20please\x20check\x20your\x20network.','98BmCwmx','79895yWKVOT','8589vOTiWC','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2105112bCxTKX','1730mZfnRv','Syncing...','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','306455wllfSH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3349621ZcfPhc','Local\x20file'];_0x3096=function(){return _0x443776;};return _0x3096();}
@@ -1 +1 @@
1
- const _0x3ba7ef=_0x47c4;function _0x47c4(_0x8666ab,_0x59600a){const _0x17d049=_0x17d0();return _0x47c4=function(_0x47c434,_0x101856){_0x47c434=_0x47c434-0x100;let _0x590df7=_0x17d049[_0x47c434];return _0x590df7;},_0x47c4(_0x8666ab,_0x59600a);}function _0x17d0(){const _0x36150f=['همگام\x20سازی','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1020085miKyyS','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','6794235CBppSI','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','39492ITwotg','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','211528iolykx','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','754251TDmfYV','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','83256JFElZu','پرونده\x20محلی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','6THGTkb','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','622282TAdOni','203tHAsXE'];_0x17d0=function(){return _0x36150f;};return _0x17d0();}(function(_0x3bcc41,_0x12cf8a){const _0x50d4ee=_0x47c4,_0x352f8e=_0x3bcc41();while(!![]){try{const _0x7c766f=parseInt(_0x50d4ee(0x10b))/0x1+-parseInt(_0x50d4ee(0x117))/0x2+parseInt(_0x50d4ee(0x110))/0x3+-parseInt(_0x50d4ee(0x10d))/0x4+-parseInt(_0x50d4ee(0x104))/0x5*(parseInt(_0x50d4ee(0x115))/0x6)+parseInt(_0x50d4ee(0x100))/0x7*(-parseInt(_0x50d4ee(0x112))/0x8)+parseInt(_0x50d4ee(0x106))/0x9;if(_0x7c766f===_0x12cf8a)break;else _0x352f8e['push'](_0x352f8e['shift']());}catch(_0x3fa6e9){_0x352f8e['push'](_0x352f8e['shift']());}}}(_0x17d0,0x2af6d));const o={'collab-client':{'tooltip':{'reconnect':_0x3ba7ef(0x10a)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3ba7ef(0x10e),'notCollab':_0x3ba7ef(0x113),'synced':_0x3ba7ef(0x101),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3ba7ef(0x108)},'session':{'connection-failed':_0x3ba7ef(0x103),'will-retry':_0x3ba7ef(0x107),'room-full':_0x3ba7ef(0x10f),'collaboration-timeout':_0x3ba7ef(0x111)},'conflict':{'title':_0x3ba7ef(0x102),'content':_0x3ba7ef(0x10c)},'permission':{'title':_0x3ba7ef(0x109),'content':_0x3ba7ef(0x105)},'collaboration':{'single-unit':{'warning':_0x3ba7ef(0x114)},'closeRoom':_0x3ba7ef(0x116)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ function _0x550f(_0x190123,_0x5c771d){const _0x53cb15=_0x53cb();return _0x550f=function(_0x550f63,_0x1b691b){_0x550f63=_0x550f63-0x12c;let _0x4caa4d=_0x53cb15[_0x550f63];return _0x4caa4d;},_0x550f(_0x190123,_0x5c771d);}const _0x22c29e=_0x550f;(function(_0x4392db,_0x5c1b83){const _0x6b72cf=_0x550f,_0x412acc=_0x4392db();while(!![]){try{const _0x27dfc3=parseInt(_0x6b72cf(0x13b))/0x1+parseInt(_0x6b72cf(0x143))/0x2*(-parseInt(_0x6b72cf(0x13d))/0x3)+parseInt(_0x6b72cf(0x140))/0x4*(-parseInt(_0x6b72cf(0x13a))/0x5)+parseInt(_0x6b72cf(0x142))/0x6+-parseInt(_0x6b72cf(0x12c))/0x7*(parseInt(_0x6b72cf(0x13c))/0x8)+parseInt(_0x6b72cf(0x139))/0x9+parseInt(_0x6b72cf(0x133))/0xa*(parseInt(_0x6b72cf(0x131))/0xb);if(_0x27dfc3===_0x5c1b83)break;else _0x412acc['push'](_0x412acc['shift']());}catch(_0x59829f){_0x412acc['push'](_0x412acc['shift']());}}}(_0x53cb,0x6b6c0));const o={'collab-client':{'tooltip':{'reconnect':_0x22c29e(0x12d)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x22c29e(0x138),'notCollab':'پرونده\x20محلی','synced':_0x22c29e(0x135),'syncing':_0x22c29e(0x12f),'offline':_0x22c29e(0x130)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x22c29e(0x132),'room-full':_0x22c29e(0x13f),'collaboration-timeout':_0x22c29e(0x13e)},'conflict':{'title':_0x22c29e(0x141),'content':_0x22c29e(0x134)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x22c29e(0x12e)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x22c29e(0x136)},'auth':{'needGotoLoginAlert':_0x22c29e(0x137)}};export{o as default};function _0x53cb(){const _0xbb7a97=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','5792Pscqut','تداخل\x20همکاری','4245048apKaWB','10pbXmjl','21iEkDGP','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','102685emJJEU','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','550UuWUnu','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','همگام\x20سازی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','3890187sTcdqE','2395DzaypN','352503zdsZYO','907472nztGxd','319071FqrWzT'];_0x53cb=function(){return _0xbb7a97;};return _0x53cb();}