@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504131606 → 0.6.10-nightly.202504141607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x50820e=_0x844d;(function(_0x310b3c,_0x2f80ff){const _0x5ac71f=_0x844d,_0x2acd19=_0x310b3c();while(!![]){try{const _0xebfbeb=-parseInt(_0x5ac71f(0x20d))/0x1+parseInt(_0x5ac71f(0x225))/0x2*(-parseInt(_0x5ac71f(0x1b6))/0x3)+-parseInt(_0x5ac71f(0x1c7))/0x4*(parseInt(_0x5ac71f(0x1bc))/0x5)+-parseInt(_0x5ac71f(0x1b9))/0x6*(parseInt(_0x5ac71f(0x1d5))/0x7)+parseInt(_0x5ac71f(0x28e))/0x8+-parseInt(_0x5ac71f(0x231))/0x9+parseInt(_0x5ac71f(0x2e6))/0xa*(parseInt(_0x5ac71f(0x237))/0xb);if(_0xebfbeb===_0x2f80ff)break;else _0x2acd19['push'](_0x2acd19['shift']());}catch(_0x1a537a){_0x2acd19['push'](_0x2acd19['shift']());}}}(_0x5450,0xb7a28));var Bt=Object['defineProperty'],kt=(_0x19445a,_0xcc3000,_0x439523)=>_0xcc3000 in _0x19445a?Bt(_0x19445a,_0xcc3000,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x439523}):_0x19445a[_0xcc3000]=_0x439523,_=(_0x4f2ef0,_0x745bd7,_0x2e1c23)=>kt(_0x4f2ef0,typeof _0x745bd7!=_0x50820e(0x171)?_0x745bd7+'':_0x745bd7,_0x2e1c23);import{MemberService as _0xb6ef82,SessionStatus as _0x38eed1,CollaborationSessionService as _0x35be17,CollaborationStatus as _0x2b5334,CollaborationController as _0x5a2a01,ILocalCacheService as _0x17e842,CollaborationUIEventService as _0x5ab706,CollaborationUIEventId as _0x3cd63a,DataLoaderService as _0x587614,DocCollaborationEntity as _0x9a8453,getLocalCacheKey as _0x1438e7,LOCAL_CACHE_INTERVAL as _0x1afe72,LOCAL_CACHE_INTERVAL_KEY as _0x3317be,UniverCollaborationClientPlugin as _0x46c167,CollaborationSocketService as _0x56fab3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8f194a,DEFAULT_WS_SESSION_TICKET_URL as _0x175809,UnitStatus as _0x5e3f07,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2a6ff8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2a4152}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x31fdaa,Disposable as _0x4c8c9a,DOC_RANGE_TYPE as _0x424359,Inject as _0xbe4765,Injector as _0x10647c,IUniverInstanceService as _0x9adc5c,ICommandService as _0x55829e,debounce as _0x38b7ab,Rectangle as _0x129fc6,DisposableCollection as _0x182125,toDisposable as _0x43282a,UniverInstanceType as _0x39d27e,Tools as _0x4e19c0,COLORS as _0x510215,ColorKit as _0x2d7b08,ThemeService as _0x1fad6b,fromEventSubject as _0x146355,LocaleService as _0x57bae6,createIdentifier as _0x4fbeb4,ILogService as _0x14bb70,Optional as _0x561976,Workbook as _0xdd695b,CommandType as _0x416f2a,IConfigService as _0x3de9ad,ILocalStorageService as _0x326825,DependentOn as _0x2afea3,Plugin as _0x4be7fb,merge as _0x19f77a,registerDependencies as _0x54c4a6,mergeOverrideWithDependencies as _0x5ee088,touchDependencies as _0x369c0b,generateRandomId as _0x232fd4}from'@univerjs/core';import{Shape as _0x2aea1b,Rect as _0x1d3ca3,getColor as _0x489437,RegularPolygon as _0x315fc7,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1fb592,Vector2 as _0x52b21e,SHEET_VIEWPORT_KEY as _0x180fa9,IRenderManagerService as _0x9243d5}from'@univerjs/engine-render';import{ISocketService as _0x3a53e5,WebSocketService as _0x48206a,HTTPService as _0x256f9b}from'@univerjs/network';function _0x5450(){const _0x1b2bce=['eventID','UNDEFINED','getSkeleton','ENSURE_SNAPSHOT_EXECUTION','includes','wsSessionTicketUrl','xlink:href','4XApJLU','RECT','roomMembers','indexOf','_docClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','fillStyle','top','blue400','_handleJoinEvent','pluginName','_render','div','addClipboardHook','241045wmVMJl','Failed','key','black','arc','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','INVALID_ARGUMENT','_drawTextRange','cursorInfo','_cursorShapes','_transformPreviousActiveRange','_initCommandExecutedListener','clipPath','_color','generateRandomId','sheetID','_initEntityListener','docStateChange$','_online','getOwnPropertySymbols','_session','error','ticket','collabStatus.conflict','Unknown\x20user','SOCKET_FAILED','_urlService','complete','jiqing500','_docSyncEditingCollabCursorService','from','M0\x200H16V16H0z','INVALID_INVITE_CODE','_initStatusComponent','currentSkeleton$','_univerInstanceService','LICENSE_IMPORT_SIZE_EXCEEDED','current','setTimeout','defineProperty','asObservable','APPLY_REVISION_CONFILICT','font','COMPLETION_FINISHED','LICENSE_EXPORT_SIZE_EXCEEDED','flatMap','memberID','UNIVER_DOC','measureText','_docTransformSelectionsService','_anchorDot','_collabCursorState$','INTERNAL_ERROR','saveTaskMap','_collabCursorController','subscribe','514294EVHgKO','fill','ranges','cursorInfo$','entries','SNAPSHOT_INVALID_SNAPSHOT','_heartbeatTimer','then','_themeService','getCurrentRevOfUnit','[CollaborationDataLoaderController]','_lastPointer','CONFLICT','onPointerLeave$','extend','saveImage','_selfUnitIDs','prototype','transformByState','_sheetSkeletonManagerService','code','_registerRenderDependencies','assignAColorForMemberID','TEXT','2804GLZqmY','split','defIds','SYNCED','_renderManagerService','post','OTHER_CLIENTS_EDITING','onMouseMove','_hideTimer','#FFF','getCellPositionByOffset','getFocusedUnit','8402346mYIPuB','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OnLineSingle','getCollabCursors$','beginPath','source','21618421aTjFbN','event$','collabCursorState$','_scheduleSaving','redoState','length','addObject','_handleEvent','InsertRowCommandId','has','currentTheme$','trim','_initStatusListener','children','send','_name','translate(.97)','_injector','_instanceService','_logService','newValue','INVITE_CODE_ALREADY_BOUND','path','runId','unload','searchParams','getTypeOfUnitAdded$','find','getParam','NO_OTHER_CLIENTS_EDITING','onTransformChange$','closePath','editingUnit','_unitOnClients','setConfig','replaceDocRanges','_getSheetObject','sessionStatus$','svg','_draw','skeleton','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','createSocket','_collaborationUIEventService','univer-online-status-title','setStateCache','_labelPosition','save','status$','values','USER_NOT_INVITED_CODE','_docTransformIMECacheService','transformRemoteChangeset','uni.network.url-service','UNAUTHENTICATED','collaboration-client.offline-data-not-saved','loadUnit','getCurrentSelections','url(#on-line-single_clip0_910_349)','none','USERS_LEAVE','hasOwnProperty','_commandService','debug','onPointerMove$','_localStorageService','red300','type','executeCommand','imageSourceType','_startDocCollabCursor','getSheetBySheetId','_dataLoaderService','_getScale','entityInit$','init','body','_beforeCloseService','_shapes','data','_imageIoService','labelPosition','_memberService','setInterval','get','getConfig','collabStatus.fetchMiss','7195456KKELtj','INVITE_CODE_HAS_BEEN_UES','onlineStatusIcon','isArray','SUBMIT_CHANGESET_TIMEOUT','_handleHeartbeatEvent','_updateSubUnitFromURLParams','className','DeleteRangeMoveLeftCommandId','_colorIndex','registerRenderModule','removeParam','setItem','univer-online-status','_transformService','_scheduleHeartbeat','setActiveRange','url(#off-line-single_clip0_910_343)','SNAPSHOT_HAS_BEEN_REMOVED','_uiPartsService','set','onCommandExecuted','getStateCache','CHANGESET_REVISION_CONFILICT','_httpService','random','Warning','...','_toggleOnline','_backgroundColor','invokeId','_toggleOffline','isEditing','collab-rect-range-','_onCursorDelete','transformStateCache','RemoveRowCommandId','setUndoRedoMutationParamsCache','_revisionService','onPointerEnter$','requireSession','OFFLINE','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','displayName','replaceState','map','getOffsetConfig','_onRefRangeChange','getActiveSheet','function','LICENSE_MAX_UNITS_EXCEEDED','endColumn','push','clearInterval','text','_saveTaskMap','_messageService','univer-online-status-icon','PERMISSION_DENIED','UNIVER_SHEET','enableLocalCache','apply','round','MOBILE_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_docTransformStateCacheService','unsubscribe','_context','activeSheet$','_collabSessionService','getUnitStatus$','isActive','range','_updateLocalCursor','undoState','toRgbString','getRenderById','getMemberID','getDocRanges','color','offline','width','dispose$','textRanges','transformSelections','runOnServer','disableLocalCache','getSheetId','20fldABP','string','add','setShapeProps','column','stringify','OTHER_CLIENT_EDITING','evenodd','tag','setParam','loadOfflineData','collaboration.closeRoom','history','_getAnchorBounding','_eventUnsubscribe','getUndoRedoMutationParamsCache','pipe','_handleHover','InsertColCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','hovered','_notificationService','PY_RUNTIME_SCRIPT_ERROR','_hovered','propertyIsEnumerable','disposeWithMe','_initResize','_getSaveTimeout','_init','_docSkeleton','startColumn','lineTo','_cursors','onRendered','_id','gold400','on-line-single_clip0_910_349','_initEvent','1em','delete','concat','_cursorInfo$','origin','YUUMI_RATE_OVER_LIMIT','m1Prime','next','resize','YUUMI_URL_COL_OUT_OF_RANGE','_assignedColors','getRangePointData','show','DeleteRangeMoveUpCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_clearOtherTimers','_document','transformMutation','collabStatus.synced','call','_unitStatus','replace','_handleLeaveEvent','_range','roomMembers$','unitID','INVITE_CODE_REQUIRED','min','FromArray','off-line-single_clip0_910_343','_localeService','with','transform','actions','off-line-single','OffLineSingle','deepClone','_setupBeforeClosingHandler','selection','collaboration-client-ui.config','_removeClearOtherTimer','_refreshCollabCursors','params','_config','VIEW_MAIN','saveOfflineData','onlineStatusTitle','APPLY_DUPLICATED','moveTo','_createSocketURL','Error','UNRECOGNIZED','WECHAT_HAS_BEEN_BOUND','univer-online','override','attrs','href','getValue','_hover','0\x200\x2017\x2016','getAncestorScale','APPLY_PERMISSION_DENIED','fillRule','getCollabEntity$','collaboration.single-unit.warning','_entityInit$','getTypeOfUnitDisposed$','bottom','mutations','NOT_FOUND','#fff','findNodePositionByCharIndex','HEADER_MENU','fillText','FETCH_MISS','popstate','CONNECTOR_DATA_TOO_LARGE','_updateURLWithCurrentState','hide','selections','forEach','collabStatus.syncing','defs','_anchor','idSuffix','LICENSE_DISTRO_REJECTED','syncEditingCollabCursor','AWAITING','APPLY_NON_SEQUENTIAL_REVISION','max','_startSheetCollabCursor','makeDirty','startRow','updateOfflineData','size','m2Prime','name','TOO_MANY_REQUESTS','getMember','getUnhiddenWorksheets','storage','doc.mutation.rich-text-editing','_setupSubUnitSync','_colorAssignService','online','getActiveRange','AWAITING_WITH_PENDING','unitId','getVpScrollXYInfoByPosToVp','_initDependencies','UniverIcon','_scene','dispose','verdancy600','NOT_COLLAB','symbol','location','UPDATE_CURSOR','_saveCache','currentColor','InsertRangeMoveDownCommandId','CLOSE_ROOM','_refRangeService','transformIMECache','on-line-single','executionId','_updateCollabCursors','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','disposeUnit','restore','LOGIN_FAILED','unshift','some','clearTimeout','urlChange$','_localCacheService','row','transformMutationsWithChangeset','_cursor','0\x200\x2016\x2016','pushState','_configService','_disabled','getViewport','ALREADY_EXISTS','_drawAnchor','_entities','_drawRectRange','toString','_registerDependencies','unit','_syncEditingCollabCursorService','_transformUndoRedoStack','getItem','permission.content','height','_transformHistoryAndStateStack','_send','_ensureSubject','_textBubble','subscribeEvent','getUnitId','_collaborationController','EMAIL_HAS_BEEN_BOUND','assign','substring','_scheduleClearOtherTimer','registerRefRange','mask','subunit','createInstance','engine','url(#$1','onlineStatus','drawWith','univer-flex\x20univer-items-center','_roomMembers$','univerjs-icon\x20univerjs-icon-','APPLY_REJECT','_docStateChangeManagerService','_docSkeletonManagerService','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','colorChannel1','1029FQKRdb','RemoveColCommandId','getUniverSheetInstance','204lqncvt','_onCursorUpdate','addObjects','4891610pdFGuw','setAlpha','icon','_cachedData'];_0x5450=function(){return _0x1b2bce;};return _0x5450();}import{IDocClipboardService as _0x5cc00f,NodePositionConvertToCursor as _0x380757,NodePositionConvertToRectRange as _0x4c1dbf,TEXT_RANGE_LAYER_INDEX as _0x4c789a,SetDocZoomRatioOperation as _0x414369,DocIMEInputManagerService as _0x4e52dc,DocStateChangeManagerService as _0x3f9889}from'@univerjs/docs-ui';import{IImageIoService as _0x334873}from'@univerjs/drawing';import{BehaviorSubject as _0xf8530c,debounceTime as _0x504781,takeUntil as _0x1ef568,Subject as _0x546bb3,filter as _0x4a895f,switchMap as _0x37bb5d,merge as _0x301744,combineLatest as _0xd6c142,of as _0x1867f6,fromEvent as _0x945d2f,shareReplay as _0x11fcf1,mapTo as _0xe1c17,distinctUntilChanged as _0x2f558a}from'rxjs';import{SetTextSelectionsOperation as _0x1f688a,RichTextEditingMutation as _0x3d611e,DocSelectionManagerService as _0x4cdd95,DocSkeletonManagerService as _0x378ca5}from'@univerjs/docs';import{ITransformService as _0x556e66,CollaborationEvent as _0x35c77f,isTransformMutationFailure as _0x44db43,isTransformMutationsWithChangesetSuccess as _0xbecd51,RevisionService as _0x46ac57,ISnapshotServerService as _0x46cce0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1216b2,serializeRangeWithSheet as _0x3538a5}from'@univerjs/engine-formula';import{RefRangeService as _0x181399,SetSelectionsOperation as _0x13a21e,SheetsSelectionsService as _0x2dafdd,EffectRefRangId as _0x204547,handleIRemoveRow as _0x2233b8,handleIRemoveCol as _0x1b4200,handleMoveRange as _0x416bba,handleInsertRow as _0xf1ee33,handleInsertRangeMoveRight as _0x40f239,handleInsertRangeMoveDown as _0x2a3949,handleInsertCol as _0x442aaf,handleDeleteRangeMoveUp as _0x4700c2,handleDeleteRangeMoveLeft as _0x15cee9,runRefRangeMutations as _0x360114,SetWorksheetActivateCommand as _0x2be1be}from'@univerjs/sheets';import{map as _0x2e7f33,filter as _0x5de611,throttleTime as _0x29c020,takeUntil as _0x4daef1,switchMap as _0x2017c6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5dd4b1,getCoordByCell as _0x13d3b1,getSheetObject as _0x55c921}from'@univerjs/sheets-ui';import{jsx as _0x1692e1,jsxs as _0x12f720}from'react/jsx-runtime';import{useObservable as _0x206c75,useDependency as _0x47e99a,IUIPartsService as _0x44e7e1,BuiltInUIPart as _0x32e57b,connectInjector as _0x4585ae,IBeforeCloseService as _0x4449f7,IMessageService as _0x4e2a68,INotificationService as _0x4d436c}from'@univerjs/ui';import{clsx as _0x327375,Tooltip as _0x3e12c8,MessageType as _0x5e3919}from'@univerjs/design';import{forwardRef as _0x3a8ec5,useRef as _0x217c65,createElement as _0x18a497,useCallback as _0x4ef53a}from'react';import{IRemoteInstanceService as _0x334c05}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x214f54,_0x335ae0,_0x306bfd,_0x348776)=>{const _0x31ddf7=_0x50820e;for(var _0x4622ea=_0x348776>0x1?void 0x0:_0x348776?li(_0x335ae0,_0x306bfd):_0x335ae0,_0x43bc6f=_0x214f54[_0x31ddf7(0x23c)]-0x1,_0x2892e4;_0x43bc6f>=0x0;_0x43bc6f--)(_0x2892e4=_0x214f54[_0x43bc6f])&&(_0x4622ea=_0x2892e4(_0x4622ea)||_0x4622ea);return _0x4622ea;},Qe=(_0x577d13,_0x4b6bd3)=>(_0x33ea1d,_0x3c9507)=>_0x4b6bd3(_0x33ea1d,_0x3c9507,_0x577d13);let Me=class extends _0x31fdaa{constructor(_0x62512f,_0x20bece){const _0x3c2338=_0x50820e;super(),this[_0x3c2338(0x1cb)]=_0x62512f,this[_0x3c2338(0x287)]=_0x20bece,this[_0x3c2338(0x302)]();}['_init'](){const _0x46d8a6=_0x50820e,_0x4d563d=this;this[_0x46d8a6(0x2ff)](this[_0x46d8a6(0x1cb)][_0x46d8a6(0x1d4)]({'onBeforePasteImage':async _0x3e66b2=>{const _0x1bf47e=_0x46d8a6,_0x46527b=await _0x4d563d[_0x1bf47e(0x287)][_0x1bf47e(0x21c)](_0x3e66b2);return _0x46527b?{'source':_0x46527b[_0x1bf47e(0x236)],'imageSourceType':_0x46527b[_0x1bf47e(0x27c)]}:null;}}));}};Me=_i([Qe(0x0,_0x5cc00f),Qe(0x1,_0x334873)],Me);const qe=['purple300',_0x50820e(0x1f1),_0x50820e(0x16f),_0x50820e(0x279),_0x50820e(0x1cf),_0x50820e(0x309)];class He extends _0x4c8c9a{constructor(){const _0x5a3e75=_0x50820e;super(...arguments),_(this,_0x5a3e75(0x316),new Map()),_(this,_0x5a3e75(0x297),0x0);}[_0x50820e(0x223)](_0x1d97b0){const _0x5449b8=_0x50820e;if(this['_assignedColors'][_0x5449b8(0x240)](_0x1d97b0))return this[_0x5449b8(0x316)]['get'](_0x1d97b0);const _0x52c309=qe[this[_0x5449b8(0x297)]];return this[_0x5449b8(0x297)]=(this[_0x5449b8(0x297)]+0x1)%qe['length'],this['_assignedColors']['set'](_0x1d97b0,_0x52c309),_0x52c309;}}function Dt(_0x305685){const _0x5453a6=_0x50820e;let _0x47cf53='';for(const _0x1911ed of _0x305685){const {startOffset:_0x1e737f,endOffset:_0x46c39b,isActive:_0x470ae4,rangeType:_0x33395f,segmentId:_0x2f63a9,segmentPage:_0x4c2374}=_0x1911ed;_0x47cf53[_0x5453a6(0x23c)]&&(_0x47cf53+=','),_0x47cf53+=_0x1e737f+':'+_0x46c39b+':'+(_0x470ae4?'1':'0')+':'+_0x33395f+':'+_0x2f63a9+':'+_0x4c2374;}return _0x47cf53;}function hi(_0x331df9){const _0x23b0db=_0x50820e,_0x3db537=_0x331df9['split'](','),_0x2fda36=[];for(const _0x2ad0c4 of _0x3db537){const [_0x196e1c,_0x5817a2,_0x297135,_0x1a041a,_0x47ab80,_0x40e246]=_0x2ad0c4[_0x23b0db(0x226)](':');_0x2fda36['push']({'startOffset':Number(_0x196e1c),'endOffset':Number(_0x5817a2),'collapsed':_0x196e1c===_0x5817a2,'isActive':_0x297135==='1','rangeType':_0x1a041a===_0x424359[_0x23b0db(0x224)]?_0x424359[_0x23b0db(0x224)]:_0x424359['RECT'],'segmentId':typeof _0x47ab80==_0x23b0db(0x2e7)?String(_0x47ab80):'','segmentPage':Number(_0x40e246!=null?_0x40e246:-0x1)});}return _0x2fda36[_0x23b0db(0x182)](_0x51d71f=>_0x51d71f[_0x23b0db(0x2d5)])||(_0x2fda36[0x0][_0x23b0db(0x2d5)]=!0x0),_0x2fda36;}class je extends _0x31fdaa{constructor(){const _0xdfadb0=_0x50820e;super(...arguments),_(this,_0xdfadb0(0x208),new _0xf8530c(null)),_(this,_0xdfadb0(0x239),this[_0xdfadb0(0x208)]['asObservable']());}[_0x50820e(0x362)](_0xdd93a1){const _0x69775c=_0x50820e,{unitID:_0x571f39,memberID:_0x43053d,textRanges:_0x570505}=_0xdd93a1,_0x201a4d=Dt(_0x570505);if(_0x201a4d==='')return;const _0x5d812e={'unitID':_0x571f39,'memberID':_0x43053d,'selection':_0x201a4d};this[_0x69775c(0x208)][_0x69775c(0x313)](_0x5d812e);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x4f58f3,_0x413bb2,_0x3369fb,_0xc8691a)=>{for(var _0x4c4fb0=_0xc8691a>0x1?void 0x0:_0xc8691a?ui(_0x413bb2,_0x3369fb):_0x413bb2,_0x42ed4b=_0x4f58f3['length']-0x1,_0x2a2896;_0x42ed4b>=0x0;_0x42ed4b--)(_0x2a2896=_0x4f58f3[_0x42ed4b])&&(_0x4c4fb0=_0x2a2896(_0x4c4fb0)||_0x4c4fb0);return _0x4c4fb0;},U=(_0x1df26d,_0xa14bdb)=>(_0x6c1777,_0x49aedc)=>_0xa14bdb(_0x6c1777,_0x49aedc,_0x1df26d);const fi=0x12c,Si=0x64;let Pe=class extends _0x31fdaa{constructor(_0x337d29,_0x5008fa,_0x1a548f,_0xdccd88,_0x1bd047,_0x33e827,_0x1edf9f,_0x2e33dc,_0x4b5fc4){const _0x2b59da=_0x50820e;super(),_(this,_0x2b59da(0x1e7),!0x1),_(this,_0x2b59da(0x302),!0x1),_(this,_0x2b59da(0x30f),new _0xf8530c(new Map())),_(this,_0x2b59da(0x210),this[_0x2b59da(0x30f)][_0x2b59da(0x1fd)]()),_(this,_0x2b59da(0x1ae),new _0xf8530c([])),_(this,_0x2b59da(0x324),this['_roomMembers$'][_0x2b59da(0x2f6)](_0x504781(fi))),_(this,_0x2b59da(0x2d7),_0x38b7ab(_0x46f44c=>{const _0x2837ea=_0x2b59da,_0x4853cc={'eventID':_0x35c77f['UPDATE_CURSOR'],'data':{'unitID':this[_0x2837ea(0x325)],'memberID':this[_0x2837ea(0x1e9)][_0x2837ea(0x2db)](),'selection':Dt(_0x46f44c)}};this[_0x2837ea(0x1e9)][_0x2837ea(0x245)](_0x4853cc,this[_0x2837ea(0x325)]);},Si)),(this['unitID']=_0x337d29,this[_0x2b59da(0x1e9)]=_0x5008fa,this[_0x2b59da(0x248)]=_0x1a548f,this['_colorAssignService']=_0xdccd88,this['_memberService']=_0x1bd047,this[_0x2b59da(0x195)]=_0x33e827,this[_0x2b59da(0x29c)]=_0x1edf9f,this[_0x2b59da(0x1f8)]=_0x2e33dc,this[_0x2b59da(0x275)]=_0x4b5fc4);}get['cursorInfo'](){const _0x32cee7=_0x50820e;return this[_0x32cee7(0x30f)]['getValue']();}get[_0x50820e(0x1c9)](){const _0xdb1413=_0x50820e;return this[_0xdb1413(0x1ae)][_0xdb1413(0x345)]();}[_0x50820e(0x16e)](){const _0x370a3a=_0x50820e;super['dispose'](),this[_0x370a3a(0x30f)][_0x370a3a(0x313)](new Map()),this[_0x370a3a(0x30f)][_0x370a3a(0x1f0)](),this[_0x370a3a(0x1ae)][_0x370a3a(0x313)]([]),this[_0x370a3a(0x1ae)][_0x370a3a(0x1f0)]();}['init'](){const _0x3a81fc=_0x50820e;this[_0x3a81fc(0x302)]||(this[_0x3a81fc(0x302)]=!0x0,this[_0x3a81fc(0x1e9)][_0x3a81fc(0x25c)][_0x3a81fc(0x2f6)](_0x1ef568(this[_0x3a81fc(0x2e0)]))[_0x3a81fc(0x20c)](_0x28c10b=>{const _0x3afcf2=_0x3a81fc;_0x28c10b===_0x38eed1['ONLINE']?this[_0x3afcf2(0x2aa)]():this[_0x3afcf2(0x2ad)]();}),this['_session'][_0x3a81fc(0x238)][_0x3a81fc(0x2f6)](_0x1ef568(this[_0x3a81fc(0x2e0)]))['subscribe'](_0x3fa974=>{const _0x50b6be=_0x3a81fc,_0x556036=_0x3fa974['eventID'];_0x556036===_0x35c77f[_0x50b6be(0x173)]&&this['_onCursorUpdate'](_0x3fa974),_0x556036===_0x35c77f[_0x50b6be(0x273)]&&this[_0x50b6be(0x2b0)](_0x3fa974);}),this['disposeWithMe'](this[_0x3a81fc(0x275)][_0x3a81fc(0x2a3)](_0x136385=>{const _0x5ebcf9=_0x3a81fc,_0x38fab9=_0x136385['params'];_0x38fab9!=null&&this['_online']&&_0x136385['id']===_0x1f688a['id']&&_0x38fab9[_0x5ebcf9(0x377)]===this['unitID']&&_0x38fab9[_0x5ebcf9(0x2ae)]===!0x1&&_0x38fab9[_0x5ebcf9(0x20f)][_0x5ebcf9(0x23c)]>0x0&&this[_0x5ebcf9(0x2d7)](_0x38fab9[_0x5ebcf9(0x20f)]);})),this['_syncEditingCollabCursorService'][_0x3a81fc(0x239)][_0x3a81fc(0x2f6)](_0x1ef568(this[_0x3a81fc(0x2e0)]))[_0x3a81fc(0x20c)](_0xd9a85f=>{const _0x5b4813=_0x3a81fc;if((_0xd9a85f==null?void 0x0:_0xd9a85f[_0x5b4813(0x325)])!==this[_0x5b4813(0x325)])return;const _0x5d69f5={'eventID':_0x35c77f[_0x5b4813(0x173)],'data':_0xd9a85f};this['_onCursorUpdate'](_0x5d69f5);}),this[_0x3a81fc(0x2ff)](this[_0x3a81fc(0x275)][_0x3a81fc(0x2a3)](_0x55b4f3=>{const _0x4da9a0=_0x3a81fc;if(_0x55b4f3['params']==null)return;const _0x570dc6=_0x55b4f3['params'];if(_0x55b4f3['id']!==_0x3d611e['id']||_0x570dc6[_0x4da9a0(0x377)]!==this[_0x4da9a0(0x325)])return;const _0x267f56={'id':_0x4da9a0(0x371),'params':_0x570dc6},_0x34461d=this[_0x4da9a0(0x1dd)];for(const [_0x2642d1,_0x2a34df]of _0x34461d){const _0x2474b7={'id':_0x4da9a0(0x371),'params':{'unitId':this[_0x4da9a0(0x325)],'actions':null,'textRanges':_0x2a34df[_0x4da9a0(0x20f)]}},_0x90ff3e=this[_0x4da9a0(0x29c)][_0x4da9a0(0x31d)](_0x267f56,_0x2474b7,!0x1);if(_0x44db43(_0x90ff3e))throw _0x90ff3e[_0x4da9a0(0x1ea)];_0x34461d[_0x4da9a0(0x2a2)](_0x2642d1,{..._0x2a34df,'ranges':_0x90ff3e[_0x4da9a0(0x36b)]['params'][_0x4da9a0(0x2e1)]});}queueMicrotask(()=>{const _0x128df5=_0x4da9a0;this['_cursorInfo$'][_0x128df5(0x313)](_0x34461d);});})));}[_0x50820e(0x1ba)](_0x18dd6d){const _0x13c5bd=_0x50820e;var _0x5f3643,_0x12d5c7;const {memberID:_0x4ba601,selection:_0x3c5118}=_0x18dd6d[_0x13c5bd(0x286)],_0x56133f=hi(_0x3c5118),_0xfbbe53=(_0x12d5c7=(_0x5f3643=this[_0x13c5bd(0x289)]['getMember'](this[_0x13c5bd(0x325)],_0x4ba601))==null?void 0x0:_0x5f3643['name'])!=null?_0x12d5c7:_0x13c5bd(0x1ed),_0x34fe62={'color':this[_0x13c5bd(0x373)][_0x13c5bd(0x223)](_0x4ba601),'name':_0xfbbe53,'ranges':_0x56133f},_0x5721f6=this[_0x13c5bd(0x1dd)];_0x5721f6[_0x13c5bd(0x2a2)](_0x4ba601,_0x34fe62),this[_0x13c5bd(0x30f)][_0x13c5bd(0x313)](_0x5721f6);}['_onCursorDelete'](_0x300486){const _0x3fe77e=_0x50820e,{memberID:_0x398154}=_0x300486[_0x3fe77e(0x286)],_0x15b3c9=this[_0x3fe77e(0x1dd)];_0x15b3c9[_0x3fe77e(0x30d)](_0x398154),this[_0x3fe77e(0x30f)]['next'](_0x15b3c9);}[_0x50820e(0x2aa)](){const _0x5e5814=_0x50820e;var _0x53c676;if(this[_0x5e5814(0x1e7)]=!0x0,((_0x53c676=this[_0x5e5814(0x1f8)][_0x5e5814(0x230)]())==null?void 0x0:_0x53c676[_0x5e5814(0x19f)]())!==this[_0x5e5814(0x325)])return;const _0x679232=this[_0x5e5814(0x248)]['get'](_0x4cdd95)['getDocRanges']();Array['isArray'](_0x679232)&&_0x679232['length']>0x0&&this[_0x5e5814(0x2d7)](_0x679232);}[_0x50820e(0x2ad)](){const _0x24023e=_0x50820e;this[_0x24023e(0x1e7)]=!0x1;}};Pe=di([U(0x2,_0xbe4765(_0x10647c)),U(0x3,_0xbe4765(He)),U(0x4,_0xbe4765(_0xb6ef82)),U(0x5,_0xbe4765(je)),U(0x6,_0x556e66),U(0x7,_0x9adc5c),U(0x8,_0x55829e)],Pe);var mi=Object[_0x50820e(0x2ce)],gi=(_0xe8cd9,_0x590a96,_0x3bbe40,_0x5b50f7)=>{for(var _0x453cef=_0x5b50f7>0x1?void 0x0:_0x5b50f7?mi(_0x590a96,_0x3bbe40):_0x590a96,_0x45001c=_0xe8cd9['length']-0x1,_0x4bd36d;_0x45001c>=0x0;_0x45001c--)(_0x4bd36d=_0xe8cd9[_0x45001c])&&(_0x453cef=_0x4bd36d(_0x453cef)||_0x453cef);return _0x453cef;},x=(_0x206cfc,_0x227949)=>(_0x3adde7,_0x50880c)=>_0x227949(_0x3adde7,_0x50880c,_0x206cfc);const vi=0x12c,Ii=0x64,pi=()=>{let _0x22c9a5=[],_0x3ed9b9=!0x1;return _0x46bba4=>{const _0x1f0f60=_0x844d;_0x22c9a5[_0x1f0f60(0x2c2)](_0x46bba4),_0x3ed9b9||(_0x3ed9b9=!0x0,setTimeout(()=>{const _0x38b58c=_0x1f0f60;_0x22c9a5[_0x38b58c(0x35c)](_0xace23=>_0xace23()),_0x22c9a5=[],_0x3ed9b9=!0x1;}));};};let we=class extends _0x31fdaa{constructor(_0x27500b,_0x2c8f2f,_0x5c9cd0,_0x4690a6,_0x2d119e,_0x158b58,_0x4d7182,_0x54d274){const _0x3baa4a=_0x50820e;super(),_(this,_0x3baa4a(0x1e7),!0x1),_(this,_0x3baa4a(0x302),!0x1),_(this,_0x3baa4a(0x30f),new _0xf8530c(new Map())),_(this,_0x3baa4a(0x210),this[_0x3baa4a(0x30f)][_0x3baa4a(0x1fd)]()),_(this,_0x3baa4a(0x1ae),new _0xf8530c([])),_(this,'roomMembers$',this['_roomMembers$'][_0x3baa4a(0x2f6)](_0x504781(vi))),_(this,_0x3baa4a(0x2d7),_0x38b7ab((_0x4d4e34,_0x3eaacc)=>{const _0x25f95f=_0x3baa4a,_0x5215fd={'eventID':_0x35c77f['UPDATE_CURSOR'],'data':{'unitID':this[_0x25f95f(0x325)],'memberID':this[_0x25f95f(0x1e9)][_0x25f95f(0x2db)](),'selection':_0x3538a5(_0x4d4e34,_0x3eaacc[_0x25f95f(0x2d6)])}};this[_0x25f95f(0x1e9)][_0x25f95f(0x245)](_0x5215fd,this[_0x25f95f(0x325)]);},Ii)),(this[_0x3baa4a(0x325)]=_0x27500b,this[_0x3baa4a(0x1e9)]=_0x2c8f2f,this[_0x3baa4a(0x248)]=_0x5c9cd0,this['_colorAssignService']=_0x4690a6,this['_memberService']=_0x2d119e,this['_univerInstanceService']=_0x158b58,this[_0x3baa4a(0x275)]=_0x4d7182,this[_0x3baa4a(0x178)]=_0x54d274);}get[_0x50820e(0x1dd)](){const _0x1e72a4=_0x50820e;return this[_0x1e72a4(0x30f)]['getValue']();}get[_0x50820e(0x1c9)](){const _0x787b68=_0x50820e;return this['_roomMembers$'][_0x787b68(0x345)]();}['dispose'](){const _0x2ebd76=_0x50820e;super[_0x2ebd76(0x16e)](),this['_cursorInfo$'][_0x2ebd76(0x313)](new Map()),this['_cursorInfo$'][_0x2ebd76(0x1f0)](),this[_0x2ebd76(0x1ae)][_0x2ebd76(0x313)]([]),this[_0x2ebd76(0x1ae)][_0x2ebd76(0x1f0)]();}[_0x50820e(0x282)](){const _0x495637=_0x50820e;this[_0x495637(0x302)]||(this[_0x495637(0x302)]=!0x0,this[_0x495637(0x1e9)]['sessionStatus$'][_0x495637(0x2f6)](_0x1ef568(this[_0x495637(0x2e0)]))[_0x495637(0x20c)](_0xcf85fc=>{const _0x39e233=_0x495637;_0xcf85fc===_0x38eed1['ONLINE']?this[_0x39e233(0x2aa)]():this['_toggleOffline']();}),this[_0x495637(0x1e9)][_0x495637(0x238)][_0x495637(0x2f6)](_0x1ef568(this[_0x495637(0x2e0)]))[_0x495637(0x20c)](_0x1b3133=>{const _0x549ed6=_0x495637,_0x1280c6=_0x1b3133[_0x549ed6(0x1c0)];_0x1280c6===_0x35c77f[_0x549ed6(0x173)]&&this[_0x549ed6(0x1ba)](_0x1b3133),_0x1280c6===_0x35c77f[_0x549ed6(0x273)]&&this[_0x549ed6(0x2b0)](_0x1b3133);}),this[_0x495637(0x2bd)](),this[_0x495637(0x2ff)](this[_0x495637(0x275)][_0x495637(0x2a3)](_0xad8744=>{const _0x2f8e43=_0x495637;if(this['_online']&&_0xad8744['id']===_0x13a21e['id']&&_0xad8744['params']['unitId']===this[_0x2f8e43(0x325)]){const _0x28b6e2=_0xad8744[_0x2f8e43(0x336)];this[_0x2f8e43(0x2d7)](_0x28b6e2['subUnitId'],_0x28b6e2[_0x2f8e43(0x35b)][0x0]);}})));}['_onCursorUpdate'](_0x8cba4f){const _0x11cc58=_0x50820e;var _0x4526d0,_0x30c9fe;const {memberID:_0x184f1b,selection:_0x504654}=_0x8cba4f[_0x11cc58(0x286)],{sheetName:_0x53e40a,range:_0x22b466}=_0x1216b2(_0x504654),_0xc45dc7={'name':(_0x30c9fe=(_0x4526d0=this[_0x11cc58(0x289)][_0x11cc58(0x36e)](this[_0x11cc58(0x325)],_0x184f1b))==null?void 0x0:_0x4526d0[_0x11cc58(0x36c)])!=null?_0x30c9fe:_0x11cc58(0x1ed),'range':this['_getMergeRange'](_0x53e40a,_0x22b466),'sheetID':_0x53e40a,'color':this[_0x11cc58(0x373)][_0x11cc58(0x223)](_0x184f1b),'selection':_0x504654},_0x58c8d5=this['cursorInfo'];_0x58c8d5[_0x11cc58(0x2a2)](_0x184f1b,_0xc45dc7),this[_0x11cc58(0x30f)][_0x11cc58(0x313)](_0x58c8d5);}[_0x50820e(0x2b0)](_0x200d61){const _0x12ed64=_0x50820e,{memberID:_0x40ef9a}=_0x200d61[_0x12ed64(0x286)],_0x59444c=this[_0x12ed64(0x1dd)];_0x59444c[_0x12ed64(0x30d)](_0x40ef9a),this[_0x12ed64(0x30f)][_0x12ed64(0x313)](_0x59444c);}['_getMergeRange'](_0x31391c,_0x1ec102){const _0x4b2280=_0x50820e;var _0x30ff68,_0x1cdc43;const _0x31649c=(_0x1cdc43=(_0x30ff68=this[_0x4b2280(0x1f8)][_0x4b2280(0x1b8)](this[_0x4b2280(0x325)]))==null?void 0x0:_0x30ff68[_0x4b2280(0x27e)](_0x31391c))==null?void 0x0:_0x1cdc43['getMergeData']();return(_0x31649c==null?void 0x0:_0x31649c[_0x4b2280(0x252)](_0x49a3d0=>_0x129fc6['contains'](_0x49a3d0,_0x1ec102)))||_0x1ec102;}[_0x50820e(0x2bd)](){const _0x136486=_0x50820e,_0x26e3d0=new _0x182125(),_0x575bee=pi(),_0x3ea707=()=>{const _0x12d6d0=_0x844d;_0x26e3d0[_0x12d6d0(0x16e)]();const _0x6ed536=(_0x45e2aa,_0x2a2a5b,_0x5c0c57,_0x5103ef)=>{const _0x284523=_0x12d6d0;let _0x1cedf5=[];switch(_0x45e2aa['id']){case _0x204547[_0x284523(0x296)]:{_0x1cedf5=_0x15cee9(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x319)]:{_0x1cedf5=_0x4700c2(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x2f8)]:{_0x1cedf5=_0x442aaf(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x176)]:{_0x1cedf5=_0x2a3949(_0x45e2aa,_0x5103ef);break;}case _0x204547['InsertRangeMoveRightCommandId']:{_0x1cedf5=_0x40f239(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x23f)]:{_0x1cedf5=_0xf1ee33(_0x45e2aa,_0x5103ef);break;}case _0x204547['MoveRangeCommandId']:{_0x1cedf5=_0x416bba(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x1b7)]:{_0x1cedf5=_0x1b4200(_0x45e2aa,_0x5103ef);break;}case _0x204547[_0x284523(0x2b2)]:{_0x1cedf5=_0x2233b8(_0x45e2aa,_0x5103ef);break;}}const _0x21a69f=_0x360114(_0x1cedf5,_0x5103ef),_0x2843cc=this['cursorInfo']['get'](_0x2a2a5b);if(_0x2843cc&&_0x21a69f){const _0x4fcee3={..._0x2843cc,'range':_0x21a69f};this['cursorInfo'][_0x284523(0x2a2)](_0x2a2a5b,_0x4fcee3),_0x575bee(()=>{const _0x224d78=_0x284523,_0x2659e5=this[_0x224d78(0x178)][_0x224d78(0x1a5)](_0x21a69f,_0x1e9bf4=>(_0x2659e5[_0x224d78(0x16e)](),_0x6ed536(_0x1e9bf4,_0x2a2a5b,_0x5c0c57,_0x21a69f)));_0x26e3d0[_0x224d78(0x2e8)](_0x2659e5);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1b65de,_0x331f34)=>{const _0x51d869=_0x12d6d0,{range:_0x181c57,sheetID:_0x149d97}=_0x1b65de,_0x26608e=this['_refRangeService'][_0x51d869(0x1a5)](_0x181c57,_0x1063c6=>(_0x26608e[_0x51d869(0x16e)](),_0x6ed536(_0x1063c6,_0x331f34,_0x149d97,_0x181c57)));_0x26e3d0['add'](_0x26608e);});};this[_0x136486(0x2ff)](_0x43282a(this['_cursorInfo$'][_0x136486(0x20c)](()=>{_0x3ea707();})));}[_0x50820e(0x2aa)](){const _0x118fb1=_0x50820e;var _0x5dd693,_0x1c034b;if(this[_0x118fb1(0x1e7)]=!0x0,((_0x5dd693=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5dd693[_0x118fb1(0x19f)]())!==this['unitID'])return;const _0x2f81ea=(_0x1c034b=this[_0x118fb1(0x248)]['get'](_0x2dafdd)[_0x118fb1(0x270)]())==null?void 0x0:_0x1c034b[0x0],_0x561eae=this[_0x118fb1(0x1f8)]['getCurrentUnitForType'](_0x39d27e[_0x118fb1(0x2c9)])[_0x118fb1(0x2be)]();_0x2f81ea&&_0x561eae&&this[_0x118fb1(0x2d7)](_0x561eae[_0x118fb1(0x2e5)](),_0x2f81ea);}[_0x50820e(0x2ad)](){this['_online']=!0x1;}};we=gi([x(0x2,_0xbe4765(_0x10647c)),x(0x3,_0xbe4765(He)),x(0x4,_0xbe4765(_0xb6ef82)),x(0x5,_0x9adc5c),x(0x6,_0x55829e),x(0x7,_0xbe4765(_0x181399))],we);var Ci=Object[_0x50820e(0x2ce)],Ei=(_0x4525da,_0x3caab9,_0x244c60,_0x4f6f76)=>{for(var _0x4ba4b0=_0x4f6f76>0x1?void 0x0:_0x4f6f76?Ci(_0x3caab9,_0x244c60):_0x3caab9,_0x2761ab=_0x4525da['length']-0x1,_0x15a1c6;_0x2761ab>=0x0;_0x2761ab--)(_0x15a1c6=_0x4525da[_0x2761ab])&&(_0x4ba4b0=_0x15a1c6(_0x4ba4b0)||_0x4ba4b0);return _0x4ba4b0;},me=(_0x55b7cf,_0x137bb1)=>(_0x221602,_0x8de97)=>_0x137bb1(_0x221602,_0x8de97,_0x55b7cf);let H=class extends _0x31fdaa{constructor(_0x19ca14,_0x4d0a28,_0x4bfe23){const _0x3d6a41=_0x50820e;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x546bb3()),(this[_0x3d6a41(0x1f8)]=_0x19ca14,this[_0x3d6a41(0x248)]=_0x4d0a28,this[_0x3d6a41(0x2d3)]=_0x4bfe23,this[_0x3d6a41(0x302)]());}[_0x50820e(0x16e)](){const _0x525a8a=_0x50820e;super['dispose'](),this[_0x525a8a(0x34d)][_0x525a8a(0x1f0)](),this[_0x525a8a(0x190)][_0x525a8a(0x35c)](_0x27dd7e=>_0x27dd7e['dispose']());}[_0x50820e(0x234)](_0x1d131e){const _0x392f4c=_0x50820e;return this[_0x392f4c(0x190)][_0x392f4c(0x240)](_0x1d131e)?this['_entities'][_0x392f4c(0x28b)](_0x1d131e)[_0x392f4c(0x210)]:this[_0x392f4c(0x34d)][_0x392f4c(0x2f6)](_0x4a895f(_0x1bfc33=>_0x1bfc33['unitID']===_0x1d131e),_0x37bb5d(_0x3a71e5=>_0x3a71e5['cursorInfo$']));}[_0x50820e(0x302)](){const _0x15e5d7=_0x50820e;this[_0x15e5d7(0x1f8)][_0x15e5d7(0x251)](_0x39d27e[_0x15e5d7(0x2c9)])[_0x15e5d7(0x2f6)](_0x1ef568(this['dispose$']))[_0x15e5d7(0x20c)](async _0x493a11=>{const _0x38d078=_0x15e5d7,_0x44c305=_0x493a11[_0x38d078(0x19f)](),_0x5c93ae=await this['_startSheetCollabCursor'](_0x44c305);this['_entityInit$'][_0x38d078(0x313)](_0x5c93ae),this[_0x38d078(0x190)][_0x38d078(0x2a2)](_0x44c305,_0x5c93ae);}),this['_univerInstanceService'][_0x15e5d7(0x251)](_0x39d27e[_0x15e5d7(0x204)])['pipe'](_0x1ef568(this[_0x15e5d7(0x2e0)]))[_0x15e5d7(0x2f6)](_0x4a895f(_0x530988=>!_0x530988[_0x15e5d7(0x19f)]()['startsWith']('__')))[_0x15e5d7(0x20c)](async _0xe4d33e=>{const _0x273541=_0x15e5d7,_0x4c3738=_0xe4d33e[_0x273541(0x19f)](),_0x1230a2=await this[_0x273541(0x27d)](_0x4c3738);this[_0x273541(0x34d)]['next'](_0x1230a2),this[_0x273541(0x190)][_0x273541(0x2a2)](_0x4c3738,_0x1230a2);}),_0x301744(this['_univerInstanceService'][_0x15e5d7(0x34e)](_0x39d27e[_0x15e5d7(0x204)]),this[_0x15e5d7(0x1f8)][_0x15e5d7(0x34e)](_0x39d27e[_0x15e5d7(0x2c9)]))[_0x15e5d7(0x2f6)](_0x1ef568(this[_0x15e5d7(0x2e0)]))['subscribe'](_0x20e694=>{const _0x2836fb=_0x15e5d7,_0x4ddf89=_0x20e694[_0x2836fb(0x19f)](),_0x3d5cbd=this[_0x2836fb(0x190)][_0x2836fb(0x28b)](_0x4ddf89);_0x3d5cbd&&(_0x3d5cbd[_0x2836fb(0x16e)](),this[_0x2836fb(0x190)]['delete'](_0x4ddf89));});}async[_0x50820e(0x366)](_0x5eacbb){const _0x46483d=_0x50820e,_0x69a63a=await this[_0x46483d(0x2d3)][_0x46483d(0x2b6)](_0x5eacbb),_0x4d964c=this[_0x46483d(0x248)][_0x46483d(0x1a8)](we,_0x5eacbb,_0x69a63a);return _0x4d964c[_0x46483d(0x282)](),_0x4d964c;}async[_0x50820e(0x27d)](_0x238b58){const _0x13b3aa=_0x50820e,_0x2af53e=await this['_collabSessionService']['requireSession'](_0x238b58),_0x34fd3d=this['_injector'][_0x13b3aa(0x1a8)](Pe,_0x238b58,_0x2af53e);return _0x34fd3d[_0x13b3aa(0x282)](),_0x34fd3d;}};H=Ei([me(0x0,_0x9adc5c),me(0x1,_0xbe4765(_0x10647c)),me(0x2,_0xbe4765(_0x35be17))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x88a637,_0x1335da){const _0x3f5605=_0x50820e;let {radius:_0x3bcd4d,width:_0x5b2742,height:_0x2d9c15}=_0x1335da;_0x3bcd4d=_0x3bcd4d!=null?_0x3bcd4d:0x0,_0x5b2742=_0x5b2742!=null?_0x5b2742:0x1e,_0x2d9c15=_0x2d9c15!=null?_0x2d9c15:0x1e;let _0x1dba83=0x0,_0x28a9a0=0x0,_0x4bb30b=0x0;_0x1dba83=_0x28a9a0=_0x4bb30b=Math['min'](_0x3bcd4d,_0x5b2742/0x2,_0x2d9c15/0x2),_0x88a637[_0x3f5605(0x235)](),_0x88a637[_0x3f5605(0x33c)](_0x1dba83,0x0),_0x88a637[_0x3f5605(0x305)](_0x5b2742-_0x28a9a0,0x0),_0x88a637[_0x3f5605(0x1d9)](_0x5b2742-_0x28a9a0,_0x28a9a0,_0x28a9a0,Math['PI']*0x3/0x2,0x0,!0x1),_0x88a637[_0x3f5605(0x305)](_0x5b2742,_0x2d9c15-_0x4bb30b),_0x88a637[_0x3f5605(0x1d9)](_0x5b2742-_0x4bb30b,_0x2d9c15-_0x4bb30b,_0x4bb30b,0x0,Math['PI']/0x2,!0x1),_0x88a637[_0x3f5605(0x305)](0x0,_0x2d9c15),_0x88a637[_0x3f5605(0x305)](0x0,_0x1dba83),_0x88a637['arc'](_0x1dba83,_0x1dba83,_0x1dba83,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x88a637[_0x3f5605(0x256)](),_0x1335da[_0x3f5605(0x20e)]&&(_0x88a637['save'](),_0x88a637[_0x3f5605(0x1cd)]=_0x1335da[_0x3f5605(0x20e)],_0x1335da[_0x3f5605(0x34a)]===_0x3f5605(0x2ed)?_0x88a637['fill'](_0x3f5605(0x2ed)):_0x88a637['fill'](),_0x88a637[_0x3f5605(0x17f)]());}class ue extends _0x2aea1b{constructor(_0x275bbc,_0xae76eb){const _0x2d6ea7=_0x50820e;super(_0x275bbc,_0xae76eb),_(this,_0x2d6ea7(0x2dd)),_(this,_0x2d6ea7(0x2c4)),(this[_0x2d6ea7(0x2dd)]=_0xae76eb==null?void 0x0:_0xae76eb[_0x2d6ea7(0x2dd)],this['text']=_0xae76eb==null?void 0x0:_0xae76eb[_0x2d6ea7(0x2c4)]);}static['drawWith'](_0x84926a,_0x3dae37){const _0x1876ba=_0x50820e,{text:_0x1d4699,color:_0xf239ee}=_0x3dae37;_0x84926a[_0x1876ba(0x266)](),_0x84926a[_0x1876ba(0x1ff)]=_0x1876ba(0x31a);const _0x1fbb1e=_0x84926a['measureText'](_0x1d4699)['width'],_0x5eb71a=Math[_0x1876ba(0x327)](_0x1fbb1e+0x2*ge,et);Oi(_0x84926a,{'height':te,'radius':0x4,'width':_0x5eb71a,'fill':_0xf239ee}),_0x84926a[_0x1876ba(0x1cd)]=_0x1876ba(0x22e);const _0x732265=ge,_0x1678f0=te-bi,_0x175cf2=et-0x2*ge;if(_0x1fbb1e>_0x175cf2){let _0x4034e2='',_0x5d610b=0x0;for(const _0x6aae2b of _0x1d4699){const _0x342ea6=_0x84926a[_0x1876ba(0x205)](_0x6aae2b)[_0x1876ba(0x2df)];if(_0x5d610b+_0x342ea6<=_0x175cf2-_0x84926a[_0x1876ba(0x205)](_0x1876ba(0x2a9))[_0x1876ba(0x2df)])_0x4034e2+=_0x6aae2b,_0x5d610b+=_0x342ea6;else{_0x4034e2+=_0x1876ba(0x2a9);break;}}_0x84926a[_0x1876ba(0x355)](_0x4034e2,_0x732265,_0x1678f0);}else _0x84926a[_0x1876ba(0x355)](_0x1d4699,_0x732265,_0x1678f0);_0x84926a['restore']();}[_0x50820e(0x25e)](_0x1d8587){const _0x39d0a9=_0x50820e;ue[_0x39d0a9(0x1ac)](_0x1d8587,this);}}const ve='collab-text-anchor-',Ti='collab-text-range-',Ri=_0x50820e(0x2af),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x180dd4,_0x196828,_0x2193de,_0x6960a9){const _0x5c73c5=_0x50820e;_(this,'_shapes',[]),_(this,_0x5c73c5(0x35f),null),_(this,_0x5c73c5(0x19d),null),_(this,_0x5c73c5(0x207),null),_(this,_0x5c73c5(0x22d),null),_(this,_0x5c73c5(0x2f4),null),(this['_cursor']=_0x180dd4,this['_scene']=_0x196828,this[_0x5c73c5(0x303)]=_0x2193de,this[_0x5c73c5(0x31c)]=_0x6960a9,this[_0x5c73c5(0x1d2)]());}set[_0x50820e(0x346)](_0x5698d6){const _0x4d7fbe=_0x50820e;_0x5698d6?(this[_0x4d7fbe(0x207)]&&this['_anchorDot']['hide'](),this[_0x4d7fbe(0x19d)]&&this[_0x4d7fbe(0x19d)]['show']()):(this[_0x4d7fbe(0x207)]&&this[_0x4d7fbe(0x207)]['show'](),this[_0x4d7fbe(0x19d)]&&this[_0x4d7fbe(0x19d)][_0x4d7fbe(0x35a)]());}['dispose'](){const _0x3b62b7=_0x50820e;for(const _0x4d4a32 of this[_0x3b62b7(0x285)])_0x4d4a32[_0x3b62b7(0x16e)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x3b62b7(0x207)]&&this[_0x3b62b7(0x207)]['dispose'](),this[_0x3b62b7(0x35f)]&&this[_0x3b62b7(0x35f)][_0x3b62b7(0x16e)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x50820e(0x1d2)](){const _0x56addc=_0x50820e;var _0x2fd821;const {_docSkeleton:_0x120263,_document:_0x3657df}=this,{color:_0x1d263c,name:_0x3a73fc,ranges:_0x329c89}=this[_0x56addc(0x188)],_0x4848b2=_0x3657df[_0x56addc(0x2bc)](),{docsLeft:_0x43cb29,docsTop:_0x204fc7}=_0x4848b2,_0x4bd2d1=new _0x380757(_0x4848b2,_0x120263);for(const {startOffset:_0x513622,endOffset:_0x135cda,rangeType:_0x374966,segmentId:_0x2fa00b,segmentPage:_0xb0f58e,collapsed:_0x57a604,isActive:_0x551b7a}of _0x329c89){const _0x37eb30=_0x120263[_0x56addc(0x353)](_0x513622,!0x0,_0x2fa00b,_0xb0f58e);let _0x18ca5e=_0x120263[_0x56addc(0x353)](_0x135cda,!0x0,_0x2fa00b,_0xb0f58e);if(_0x18ca5e==null&&(_0x18ca5e=_0x120263[_0x56addc(0x353)](_0x135cda-0x1,!0x1,_0x2fa00b,_0xb0f58e)),_0x551b7a){const {contentBoxPointGroup:_0x3cd94e}=_0x4bd2d1[_0x56addc(0x317)](_0x18ca5e,_0x18ca5e);if(_0x3cd94e['length']===0x0)continue;this[_0x56addc(0x18f)](_0x1d263c,_0x3cd94e,_0x43cb29,_0x204fc7,_0x3a73fc),this[_0x56addc(0x2f4)]=this[_0x56addc(0x2f7)]();}if(_0x37eb30&&_0x18ca5e){if(_0x374966===_0x424359[_0x56addc(0x1c8)]){const _0x1da2d9=new _0x4c1dbf(_0x4848b2,_0x120263),{pointGroup:_0xf1ba48}=(_0x2fd821=_0x1da2d9[_0x56addc(0x317)](_0x37eb30,_0x18ca5e))!=null?_0x2fd821:{};if(_0xf1ba48==null||_0xf1ba48[_0x56addc(0x23c)]===0x0)continue;this['_drawRectRange'](_0x1d263c,_0xf1ba48,_0x43cb29,_0x204fc7);}else{if(!_0x57a604){const {borderBoxPointGroup:_0x1faeb3}=_0x4bd2d1[_0x56addc(0x317)](_0x37eb30,_0x18ca5e);if(_0x1faeb3[_0x56addc(0x23c)]===0x0)continue;this[_0x56addc(0x1dc)](_0x1d263c,_0x1faeb3,_0x43cb29,_0x204fc7);}}}}}[_0x50820e(0x18f)](_0x1d81fa,_0x563da5,_0x32b1d3,_0x2ba758,_0x4c8f56){const _0x4f14b3=_0x50820e,_0x562c80=this[_0x4f14b3(0x2f3)](_0x563da5),{left:_0x1112dd,top:_0x702f01,height:_0x34dc98}=_0x562c80,_0x583a62=this[_0x4f14b3(0x280)](),_0xb88f8e=Ni/_0x583a62,_0x108f56=new _0x1d3ca3(ve+_0x4e19c0['generateRandomId'](X),{'left':_0x1112dd+_0x32b1d3-_0xb88f8e,'top':_0x702f01+_0x2ba758,'height':_0x34dc98,'width':Di,'fill':_0x1d81fa||_0x489437(_0x510215[_0x4f14b3(0x1d8)],0x0),'strokeWidth':_0xb88f8e,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x108f56,this[_0x4f14b3(0x37b)]['addObject'](_0x108f56,_0x4c789a);const _0x327fe0=new _0x1d3ca3(ve+_0x4e19c0[_0x4f14b3(0x1e3)](X),{'left':_0x1112dd+_0x32b1d3-_0xb88f8e,'top':_0x702f01+_0x2ba758-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1d81fa||_0x489437(_0x510215[_0x4f14b3(0x1d8)],0x0),'strokeWidth':0x0,'stroke':_0x1d81fa||_0x489437(_0x510215[_0x4f14b3(0x1d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x327fe0,this['_scene'][_0x4f14b3(0x23d)](_0x327fe0,_0x4c789a);const _0x57e51d=new ue(ve+_0x4e19c0[_0x4f14b3(0x1e3)](X),{'left':_0x1112dd+_0x32b1d3-_0xb88f8e,'top':_0x702f01+_0x2ba758-te,'text':_0x4c8f56,'color':_0x1d81fa});this[_0x4f14b3(0x19d)]=_0x57e51d,this[_0x4f14b3(0x37b)][_0x4f14b3(0x23d)](_0x57e51d,_0x4c789a),this[_0x4f14b3(0x346)]=!0x1;}[_0x50820e(0x2f7)](){const _0x5ba7a9=_0x50820e,_0x163f33=this[_0x5ba7a9(0x35f)][_0x5ba7a9(0x2b5)][_0x5ba7a9(0x19e)](()=>{const _0x50deba=_0x5ba7a9;this[_0x50deba(0x346)]=!0x0;}),_0x54b09c=this[_0x5ba7a9(0x35f)][_0x5ba7a9(0x21a)][_0x5ba7a9(0x19e)](()=>{const _0x587171=_0x5ba7a9;this[_0x587171(0x22d)]&&clearTimeout(this[_0x587171(0x22d)]),this[_0x587171(0x22d)]=setTimeout(()=>{const _0x5716f2=_0x587171;this[_0x5716f2(0x346)]=!0x1;},0x7d0);});return()=>{const _0xa69952=_0x5ba7a9;_0x163f33[_0xa69952(0x2d0)](),_0x54b09c[_0xa69952(0x2d0)]();};}[_0x50820e(0x1dc)](_0x4290d7,_0x4774cb,_0x2d8fe4,_0x45485b){const _0x282ca3=_0x50820e,_0x3aa597=new _0x2d7b08(_0x4290d7)['setAlpha'](0.2)['toRgbString'](),_0x5d5a17=new _0x315fc7(Ti+_0x4e19c0[_0x282ca3(0x1e3)](X),{'pointsGroup':_0x4774cb,'fill':_0x3aa597||_0x489437(_0x510215[_0x282ca3(0x1d8)],0.2),'left':_0x2d8fe4,'top':_0x45485b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x282ca3(0x285)]['push'](_0x5d5a17),this['_scene'][_0x282ca3(0x23d)](_0x5d5a17,_0x4c789a);}[_0x50820e(0x191)](_0x27292b,_0x3a37bf,_0x51aa90,_0x28ef09){const _0x1ed820=_0x50820e,_0x38c5bf=new _0x2d7b08(_0x27292b)[_0x1ed820(0x1bd)](0.2)[_0x1ed820(0x2d9)](),_0x44159a=new _0x315fc7(Ri+_0x4e19c0[_0x1ed820(0x1e3)](X),{'pointsGroup':_0x3a37bf,'fill':_0x38c5bf||_0x489437(_0x510215['black'],0.2),'left':_0x51aa90,'top':_0x28ef09,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ed820(0x285)]['push'](_0x44159a),this[_0x1ed820(0x37b)][_0x1ed820(0x23d)](_0x44159a,_0x4c789a);}[_0x50820e(0x2f3)](_0x17369e){const _0x4a6117=_0x17369e[0x0],_0x2e3895=_0x4a6117[0x0],_0x21d04d=_0x4a6117[0x2],{x:_0x3498ee,y:_0x3e1588}=_0x2e3895,{x:_0x28b72f,y:_0x6353a3}=_0x21d04d;return{'left':_0x3498ee,'top':_0x3e1588,'width':_0x28b72f-_0x3498ee,'height':_0x6353a3-_0x3e1588};}[_0x50820e(0x280)](){const _0x3b4dd2=_0x50820e,{scaleX:_0x36e178,scaleY:_0x5a64d5}=this['_scene'][_0x3b4dd2(0x348)]();return Math[_0x3b4dd2(0x365)](_0x36e178,_0x5a64d5);}}var Pi=Object[_0x50820e(0x2ce)],wi=(_0x1d1c7a,_0x209e14,_0x311b64,_0x4395dd)=>{const _0x4ff81a=_0x50820e;for(var _0x3cd596=_0x4395dd>0x1?void 0x0:_0x4395dd?Pi(_0x209e14,_0x311b64):_0x209e14,_0x1f0b7=_0x1d1c7a[_0x4ff81a(0x23c)]-0x1,_0x4a8f03;_0x1f0b7>=0x0;_0x1f0b7--)(_0x4a8f03=_0x1d1c7a[_0x1f0b7])&&(_0x3cd596=_0x4a8f03(_0x3cd596)||_0x3cd596);return _0x3cd596;},Q=(_0x568156,_0x38c92b)=>(_0x595ed4,_0x4e8b9e)=>_0x38c92b(_0x595ed4,_0x4e8b9e,_0x568156);let Ue=class extends _0x31fdaa{constructor(_0x24a816,_0x5060ae,_0x271cca,_0x3d142b,_0x142945){const _0x306a84=_0x50820e;super(),_(this,_0x306a84(0x1de),[]),_(this,_0x306a84(0x306),[]),(this[_0x306a84(0x2d1)]=_0x24a816,this['_docSkeletonManagerService']=_0x5060ae,this[_0x306a84(0x20b)]=_0x271cca,this[_0x306a84(0x275)]=_0x3d142b,this[_0x306a84(0x215)]=_0x142945,this[_0x306a84(0x302)]());}[_0x50820e(0x302)](){const _0x5823f0=_0x50820e,_0x5b088f=this[_0x5823f0(0x2d1)]['unitId'],_0x3c1d67=this[_0x5823f0(0x1b2)];this[_0x5823f0(0x2ff)](_0xd6c142([this[_0x5823f0(0x20b)][_0x5823f0(0x234)](_0x5b088f),this[_0x5823f0(0x215)][_0x5823f0(0x241)]])[_0x5823f0(0x2f6)](_0x2e7f33(([_0x4dc961,_0x1d6819])=>({'skeleton':_0x3c1d67[_0x5823f0(0x1c2)](),'cursors':[..._0x4dc961[_0x5823f0(0x268)]()][_0x5823f0(0x202)](_0x57f4a8=>({..._0x57f4a8,'color':_0x1d6819[_0x57f4a8[_0x5823f0(0x2dd)]]}))})))[_0x5823f0(0x20c)](_0x5420ee=>{const _0x54c4c5=_0x5823f0;if(this[_0x54c4c5(0x1b4)](),_0x5420ee){const {skeleton:_0x588102,cursors:_0x2950c4}=_0x5420ee;this[_0x54c4c5(0x17c)](_0x588102,_0x2950c4);}})),this[_0x5823f0(0x300)](),this[_0x5823f0(0x1e0)]();}[_0x50820e(0x17c)](_0x1cab8f,_0x224403){const _0x3c7029=_0x50820e,{scene:_0xa54f2d,mainComponent:_0x15a43c}=this[_0x3c7029(0x2d1)],_0x27daed=_0x224403[_0x3c7029(0x2bb)](_0x48eb21=>new tt(_0x48eb21,_0xa54f2d,_0x1cab8f,_0x15a43c));this[_0x3c7029(0x1de)]=_0x27daed,this[_0x3c7029(0x306)]=_0x224403;}['_refreshCollabCursors'](){const _0xcb78b9=_0x50820e;this['_removeCollabCursors']();const {scene:_0x4fe764,mainComponent:_0x4345d8}=this[_0xcb78b9(0x2d1)],_0x553281=this[_0xcb78b9(0x1b2)][_0xcb78b9(0x1c2)](),_0xbc3224=this[_0xcb78b9(0x306)][_0xcb78b9(0x2bb)](_0x55513a=>new tt(_0x55513a,_0x4fe764,_0x553281,_0x4345d8));this['_cursorShapes']=_0xbc3224;}[_0x50820e(0x1b4)](){const _0x3d99ef=_0x50820e;this[_0x3d99ef(0x1de)][_0x3d99ef(0x35c)](_0x28a876=>_0x28a876[_0x3d99ef(0x16e)]()),this[_0x3d99ef(0x1de)]=[];}[_0x50820e(0x1e0)](){const _0x57a62d=_0x50820e,_0x2e80fc=[_0x414369['id']];this[_0x57a62d(0x2ff)](this['_commandService'][_0x57a62d(0x2a3)](_0x3b0367=>{const _0x28ff49=_0x57a62d;_0x2e80fc[_0x28ff49(0x1c4)](_0x3b0367['id'])&&_0x3b0367['params'][_0x28ff49(0x377)]===this[_0x28ff49(0x2d1)][_0x28ff49(0x377)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x31d09a=_0x50820e;this[_0x31d09a(0x2ff)](_0x146355(this[_0x31d09a(0x2d1)][_0x31d09a(0x1a9)][_0x31d09a(0x255)])['pipe'](_0x5de611(_0x13c901=>_0x13c901[_0x31d09a(0x27a)]===_0x1fb592[_0x31d09a(0x314)]),_0x29c020(0x10))[_0x31d09a(0x20c)](()=>{const _0x1fa066=_0x31d09a;this[_0x1fa066(0x335)]();}));}};Ue=wi([Q(0x1,_0xbe4765(_0x378ca5)),Q(0x2,_0xbe4765(H)),Q(0x3,_0x55829e),Q(0x4,_0xbe4765(_0x1fad6b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x2aea1b{constructor(_0x2bd038,_0x5ab904){const _0x12c7b0=_0x50820e;super(_0x2bd038,_0x5ab904),_(this,'_color'),_(this,_0x12c7b0(0x2fd),!0x1),_(this,_0x12c7b0(0x323)),_(this,_0x12c7b0(0x246),''),_(this,_0x12c7b0(0x265),_0x12c7b0(0x1ce)),_(this,_0x12c7b0(0x2ab)),(_0x5ab904&&this[_0x12c7b0(0x2e9)](_0x5ab904),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x12c7b0(0x19e)](()=>this[_0x12c7b0(0x2e9)]({'hovered':!0x1})));}['setShapeProps'](_0x42b92f){const _0x4039e4=_0x50820e;var _0xdf586f,_0x1d8b12,_0x150cd4,_0x5870b1,_0x3733dc,_0x3e997a;this['_color']=(_0xdf586f=_0x42b92f['color'])!=null?_0xdf586f:this[_0x4039e4(0x1e2)],this[_0x4039e4(0x2fd)]=(_0x1d8b12=_0x42b92f[_0x4039e4(0x2fa)])!=null?_0x1d8b12:this[_0x4039e4(0x2fd)],this[_0x4039e4(0x323)]=(_0x150cd4=_0x42b92f[_0x4039e4(0x2d6)])!=null?_0x150cd4:this[_0x4039e4(0x323)],this['_name']=(_0x5870b1=_0x42b92f[_0x4039e4(0x36c)])!=null?_0x5870b1:this[_0x4039e4(0x246)],this[_0x4039e4(0x265)]=(_0x3733dc=_0x42b92f[_0x4039e4(0x288)])!=null?_0x3733dc:this['_labelPosition'],this[_0x4039e4(0x2ab)]=(_0x3e997a=_0x42b92f['backgroundColor'])!=null?_0x3e997a:this[_0x4039e4(0x2ab)],this[_0x4039e4(0x21f)]({'width':_0x42b92f[_0x4039e4(0x2df)],'height':_0x42b92f[_0x4039e4(0x199)]});}[_0x50820e(0x22c)](_0x5a0b45){const _0x390fc7=_0x50820e,{row:_0x517459,column:_0x53f836}=_0x5a0b45;if(_0x517459>=this[_0x390fc7(0x323)][_0x390fc7(0x368)]&&_0x517459<=this[_0x390fc7(0x323)]['endRow']&&_0x53f836>=this[_0x390fc7(0x323)][_0x390fc7(0x304)]&&_0x53f836<=this[_0x390fc7(0x323)][_0x390fc7(0x2c1)]){this[_0x390fc7(0x2e9)]({'hovered':!0x0});return;}this[_0x390fc7(0x2e9)]({'hovered':!0x1});}['triggerDblclick'](_0x2ffdf7){return!0x1;}[_0x50820e(0x25e)](_0x1794e6){const _0x2fbf61=_0x50820e;_0x1d3ca3['drawWith'](_0x1794e6,{'width':this['width'],'height':this[_0x2fbf61(0x199)],'strokeWidth':Li,'stroke':this[_0x2fbf61(0x1e2)],'evented':!0x1,'fill':this[_0x2fbf61(0x2ab)]}),this[_0x2fbf61(0x2fd)]&&(_0x1794e6[_0x2fbf61(0x266)](),_0x1794e6[_0x2fbf61(0x32c)](0x1,0x0,0x0,0x1,this['width'],this[_0x2fbf61(0x265)]==='bottom'?0x0:-0x14),ue[_0x2fbf61(0x1ac)](_0x1794e6,{'text':this[_0x2fbf61(0x246)],'color':this[_0x2fbf61(0x1e2)]}),_0x1794e6['restore']());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x4f4b06,_0x105306,_0x25634c,_0x476c77)=>{const _0x33b365=_0x50820e;for(var _0x13e34a=_0x476c77>0x1?void 0x0:_0x476c77?yi(_0x105306,_0x25634c):_0x105306,_0x2576be=_0x4f4b06[_0x33b365(0x23c)]-0x1,_0x4ebbd8;_0x2576be>=0x0;_0x2576be--)(_0x4ebbd8=_0x4f4b06[_0x2576be])&&(_0x13e34a=_0x4ebbd8(_0x13e34a)||_0x13e34a);return _0x13e34a;},pe=(_0x328f7a,_0x4f0e99)=>(_0x59fc78,_0x233220)=>_0x4f0e99(_0x59fc78,_0x233220,_0x328f7a);const xi=0x1389;let Le=class extends _0x31fdaa{constructor(_0x348749,_0x4a6e49,_0x1be30f,_0x153a6c){const _0x13da2d=_0x50820e;super(),_(this,_0x13da2d(0x306),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x348749,this[_0x13da2d(0x220)]=_0x4a6e49,this[_0x13da2d(0x20b)]=_0x1be30f,this['_themeService']=_0x153a6c,this[_0x13da2d(0x302)]());}[_0x50820e(0x302)](){const _0x18a0fa=_0x50820e;this[_0x18a0fa(0x220)]['currentSkeleton$']['pipe'](_0x4daef1(this[_0x18a0fa(0x2e0)]),_0x2017c6(_0x45e768=>{const _0x54ab27=_0x18a0fa;if(_0x45e768){const _0x3bd94b=_0x45e768['sheetId'];return _0xd6c142(this[_0x54ab27(0x20b)][_0x54ab27(0x234)](this[_0x54ab27(0x2d1)][_0x54ab27(0x377)]),this[_0x54ab27(0x215)]['currentTheme$'])[_0x54ab27(0x2f6)](_0x2e7f33(([_0x1d0472,_0x5cf61a])=>{const _0x31d1ba=_0x54ab27,_0x1860ae=new Map();return _0x1d0472[_0x31d1ba(0x35c)]((_0x58cfbb,_0x104be0)=>{const _0x44cf88=_0x31d1ba;if(_0x58cfbb[_0x44cf88(0x1e4)]===_0x3bd94b){const _0x5eabad={..._0x58cfbb};_0x5eabad['color']=_0x5cf61a[_0x58cfbb[_0x44cf88(0x2dd)]],_0x1860ae[_0x44cf88(0x2a2)](_0x104be0,_0x5eabad);}}),{'skeleton':_0x45e768,'cursors':_0x1860ae};}));}return _0x1867f6({'skeleton':null,'cursors':new Map()});}))[_0x18a0fa(0x20c)](({skeleton:_0xbca1ff,cursors:_0x9de870})=>{const _0x5d7063=_0x18a0fa;this[_0x5d7063(0x1b4)](),_0xbca1ff&&this[_0x5d7063(0x17c)](_0xbca1ff,_0x9de870);}),this[_0x18a0fa(0x220)][_0x18a0fa(0x1f7)][_0x18a0fa(0x20c)](_0x9d7693=>{const _0x3a37ae=_0x18a0fa;if(_0x9d7693==null)return;const {skeleton:_0x5e5bd7}=_0x9d7693,{scene:_0x33c156}=this[_0x3a37ae(0x2d1)];_0x33c156[_0x3a37ae(0x277)][_0x3a37ae(0x19e)](_0x38b7ab(_0x39d807=>{const _0x5bf5ef=_0x3a37ae;var _0x1e26b7,_0x4add46;const {offsetX:_0x11cd9d,offsetY:_0x3b0448}=_0x39d807,{x:_0x3b43cc,y:_0x3179b7}=_0x33c156['getRelativeToViewportCoord'](_0x52b21e['FromArray']([_0x11cd9d,_0x3b0448])),{scaleX:_0x49c605,scaleY:_0x4df506}=_0x33c156[_0x5bf5ef(0x348)](),_0x4b3940=_0x33c156[_0x5bf5ef(0x18d)](_0x180fa9[_0x5bf5ef(0x338)]),_0x154ffd=_0x33c156[_0x5bf5ef(0x378)](_0x52b21e[_0x5bf5ef(0x328)]([_0x3b43cc,_0x3179b7]),_0x4b3940),_0x3f26f6=_0x5e5bd7[_0x5bf5ef(0x22f)](_0x11cd9d,_0x3b0448,_0x49c605,_0x4df506,_0x154ffd);((_0x1e26b7=this[_0x5bf5ef(0x218)])==null?void 0x0:_0x1e26b7[_0x5bf5ef(0x2ea)])===_0x3f26f6['column']&&((_0x4add46=this[_0x5bf5ef(0x218)])==null?void 0x0:_0x4add46[_0x5bf5ef(0x186)])===_0x3f26f6[_0x5bf5ef(0x186)]||this[_0x5bf5ef(0x306)][_0x5bf5ef(0x35c)](_0x3c18b7=>{const _0x565987=_0x5bf5ef;_0x3c18b7[_0x565987(0x22c)](_0x3f26f6);});},0x64));});}[_0x50820e(0x17c)](_0xb65558,_0xc7d6cc){const _0x54e525=_0x50820e;var _0x49f859;const _0x27c5b3=(_0x49f859=this[_0x54e525(0x220)]['getCurrent']())==null?void 0x0:_0x49f859[_0x54e525(0x25f)];if(!_0x27c5b3)return;const _0x2aef2e=this['_getSheetObject']();if(!_0x2aef2e)return;this[_0x54e525(0x306)][_0x54e525(0x35c)](_0x5088fe=>{const _0x23e205=_0x54e525;_0x5088fe[_0x23e205(0x367)]();});const {scene:_0x1217eb}=_0x2aef2e,_0x42642b=Bi(Array['from'](_0xc7d6cc[_0x54e525(0x268)]()))[_0x54e525(0x2bb)](_0x206eef=>{const _0x14ba0c=_0x54e525,{color:_0x13f0f8,range:_0x505508,name:_0x402962,selection:_0x2098bc,sheetID:_0x18354c}=_0x206eef,{startColumn:_0x318581,startRow:_0x24dec8,endColumn:_0x4adc80,endRow:_0x18b29a}=_0x505508,_0x280168=_0x13d3b1(_0x24dec8,_0x318581,_0x1217eb,_0x27c5b3),_0x1f3958=_0x13d3b1(_0x18b29a,_0x4adc80,_0x1217eb,_0x27c5b3),{columnHeaderHeightAndMarginTop:_0x26b34f}=_0x27c5b3,{startX:_0x6bad40,startY:_0x5d3d8a}=_0x280168,{endX:_0x3c722a,endY:_0x58b581}=_0x1f3958,_0x3ea51b=_0x3c722a-_0x6bad40,_0x5edc60=_0x58b581-_0x5d3d8a,_0x37b840={'labelPosition':_0x5d3d8a-_0x26b34f>=te?_0x14ba0c(0x1ce):_0x14ba0c(0x34f),'sheetID':_0x18354c,'range':_0x505508,'color':_0x13f0f8,'name':_0x402962,'selection':_0x2098bc,'left':_0x6bad40,'top':_0x5d3d8a,'width':_0x3ea51b,'height':_0x5edc60,'evented':!0x1,'zIndex':xi};return new Ai(_0x402962,_0x37b840);});_0x1217eb[_0x54e525(0x1bb)](_0x42642b,Ui),this[_0x54e525(0x306)]=new Set(_0x42642b);}[_0x50820e(0x1b4)](){const _0x1d7224=_0x50820e;var _0x33894f;(_0x33894f=this['_cursors'])==null||_0x33894f[_0x1d7224(0x35c)](_0x3ab2e8=>_0x3ab2e8[_0x1d7224(0x16e)]());}[_0x50820e(0x25b)](){const _0x18a736=_0x50820e;return _0x55c921(this[_0x18a736(0x2d1)]['unit'],this['_context']);}};Le=$i([pe(0x1,_0xbe4765(_0x5dd4b1)),pe(0x2,_0xbe4765(H)),pe(0x3,_0xbe4765(_0x1fad6b))],Le);function Bi(_0x568835){const _0x5715a6=_0x50820e,_0x381d2f=new Map();return _0x568835[_0x5715a6(0x35c)](_0x3daa00=>{const _0x2ed15a=_0x5715a6;if(_0x381d2f[_0x2ed15a(0x240)](_0x3daa00[_0x2ed15a(0x332)])){const _0x3f8b30=_0x381d2f[_0x2ed15a(0x28b)](_0x3daa00['selection']);_0x3f8b30[_0x2ed15a(0x36c)]+=',\x20'+_0x3daa00['name'];}else _0x381d2f[_0x2ed15a(0x2a2)](_0x3daa00[_0x2ed15a(0x332)],_0x3daa00);}),Array[_0x5715a6(0x1f3)](_0x381d2f['values']());}var I=function(){const _0x232176=_0x50820e;return I=Object[_0x232176(0x1a2)]||function(_0x4d9cf7){const _0xce2a20=_0x232176;for(var _0x11618f,_0x15f09b=0x1,_0x5a7782=arguments[_0xce2a20(0x23c)];_0x15f09b<_0x5a7782;_0x15f09b++){_0x11618f=arguments[_0x15f09b];for(var _0x593ce9 in _0x11618f)Object[_0xce2a20(0x21e)][_0xce2a20(0x274)]['call'](_0x11618f,_0x593ce9)&&(_0x4d9cf7[_0x593ce9]=_0x11618f[_0x593ce9]);}return _0x4d9cf7;},I[_0x232176(0x2cb)](this,arguments);},ki=function(_0x1f43a0,_0x7a9900){const _0x4adedb=_0x50820e;var _0x3c1f33={};for(var _0x3da96e in _0x1f43a0)Object[_0x4adedb(0x21e)][_0x4adedb(0x274)][_0x4adedb(0x31f)](_0x1f43a0,_0x3da96e)&&_0x7a9900[_0x4adedb(0x1ca)](_0x3da96e)<0x0&&(_0x3c1f33[_0x3da96e]=_0x1f43a0[_0x3da96e]);if(_0x1f43a0!=null&&typeof Object[_0x4adedb(0x1e8)]==_0x4adedb(0x2bf)){for(var _0x1042c3=0x0,_0x3da96e=Object[_0x4adedb(0x1e8)](_0x1f43a0);_0x1042c3<_0x3da96e[_0x4adedb(0x23c)];_0x1042c3++)_0x7a9900['indexOf'](_0x3da96e[_0x1042c3])<0x0&&Object[_0x4adedb(0x21e)][_0x4adedb(0x2fe)][_0x4adedb(0x31f)](_0x1f43a0,_0x3da96e[_0x1042c3])&&(_0x3c1f33[_0x3da96e[_0x1042c3]]=_0x1f43a0[_0x3da96e[_0x1042c3]]);}return _0x3c1f33;},We=_0x3a8ec5(function(_0x9251dd,_0x231725){const _0x421cd6=_0x50820e;var _0x327f0f=_0x9251dd[_0x421cd6(0x1be)],_0x397920=_0x9251dd['id'],_0x537a2e=_0x9251dd[_0x421cd6(0x295)],_0x1d8485=_0x9251dd[_0x421cd6(0x21b)],_0x2fa780=ki(_0x9251dd,[_0x421cd6(0x1be),'id',_0x421cd6(0x295),'extend']),_0x2942a5=_0x421cd6(0x1af)[_0x421cd6(0x30e)](_0x397920,'\x20')[_0x421cd6(0x30e)](_0x537a2e||'')[_0x421cd6(0x242)](),_0x13bf65=_0x217c65('_'[_0x421cd6(0x30e)](Wi()));return Nt(_0x327f0f,''[_0x421cd6(0x30e)](_0x397920),{'defIds':_0x327f0f[_0x421cd6(0x227)],'idSuffix':_0x13bf65[_0x421cd6(0x1fa)]},I({'ref':_0x231725,'className':_0x2942a5},_0x2fa780),_0x1d8485);});function Nt(_0x978dcb,_0x1bb6d6,_0x18dc96,_0xe469a7,_0x451af3){const _0x3004a3=_0x50820e;return _0x18a497(_0x978dcb['tag'],I(I({'key':_0x1bb6d6},Hi(_0x978dcb,_0x18dc96,_0x451af3)),_0xe469a7),(ji(_0x978dcb,_0x18dc96)[_0x3004a3(0x244)]||[])[_0x3004a3(0x2bb)](function(_0x11fd68,_0x545a71){const _0x23bc8b=_0x3004a3;return Nt(_0x11fd68,''[_0x23bc8b(0x30e)](_0x1bb6d6,'-')['concat'](_0x978dcb[_0x23bc8b(0x2ee)],'-')[_0x23bc8b(0x30e)](_0x545a71),_0x18dc96,void 0x0,_0x451af3);}));}function Hi(_0x240d54,_0x3434f3,_0xc36d33){const _0x5110ea=_0x50820e;var _0x21210f=I({},_0x240d54[_0x5110ea(0x343)]);_0xc36d33!=null&&_0xc36d33['colorChannel1']&&_0x21210f[_0x5110ea(0x20e)]===_0x5110ea(0x1b5)&&(_0x21210f['fill']=_0xc36d33['colorChannel1']),_0x240d54[_0x5110ea(0x2ee)]===_0x5110ea(0x1a6)&&_0x21210f['id']&&(_0x21210f['id']=_0x21210f['id']+_0x3434f3[_0x5110ea(0x360)]),Object[_0x5110ea(0x211)](_0x21210f)['forEach'](function(_0x28a382){const _0x2f2955=_0x5110ea;var _0x1c7b7d=_0x28a382[0x0],_0x3fc3e4=_0x28a382[0x1];_0x1c7b7d===_0x2f2955(0x1a6)&&typeof _0x3fc3e4==_0x2f2955(0x2e7)&&(_0x21210f[_0x1c7b7d]=_0x3fc3e4[_0x2f2955(0x321)](/url\(#(.*)\)/,_0x2f2955(0x1aa)['concat'](_0x3434f3[_0x2f2955(0x360)],')')));});var _0x275dae=_0x3434f3[_0x5110ea(0x227)];return!_0x275dae||_0x275dae[_0x5110ea(0x23c)]===0x0||(_0x240d54[_0x5110ea(0x2ee)]==='use'&&_0x21210f['xlink:href']&&(_0x21210f[_0x5110ea(0x1c6)]=_0x21210f['xlink:href']+_0x3434f3[_0x5110ea(0x360)]),Object[_0x5110ea(0x211)](_0x21210f)[_0x5110ea(0x35c)](function(_0x29f1db){const _0x533737=_0x5110ea;var _0x21af7f=_0x29f1db[0x0],_0x4d2da5=_0x29f1db[0x1];typeof _0x4d2da5==_0x533737(0x2e7)&&(_0x21210f[_0x21af7f]=_0x4d2da5[_0x533737(0x321)](/url\(#(.*)\)/,_0x533737(0x1aa)[_0x533737(0x30e)](_0x3434f3[_0x533737(0x360)],')')));})),_0x21210f;}function ji(_0x2fc45a,_0x5ccdd2){const _0x48dc7e=_0x50820e;var _0x18b20a,_0x94bb45=_0x5ccdd2[_0x48dc7e(0x227)];return!_0x94bb45||_0x94bb45[_0x48dc7e(0x23c)]===0x0?_0x2fc45a:_0x2fc45a[_0x48dc7e(0x2ee)]==='defs'&&(!((_0x18b20a=_0x2fc45a[_0x48dc7e(0x244)])===null||_0x18b20a===void 0x0)&&_0x18b20a[_0x48dc7e(0x23c)])?I(I({},_0x2fc45a),{'children':_0x2fc45a[_0x48dc7e(0x244)]['map'](function(_0xdccf0a){const _0x2f2eb5=_0x48dc7e;return typeof _0xdccf0a[_0x2f2eb5(0x343)]['id']==_0x2f2eb5(0x2e7)&&_0x94bb45&&_0x94bb45[_0x2f2eb5(0x1ca)](_0xdccf0a[_0x2f2eb5(0x343)]['id'])>-0x1?I(I({},_0xdccf0a),{'attrs':I(I({},_0xdccf0a['attrs']),{'id':_0xdccf0a[_0x2f2eb5(0x343)]['id']+_0x5ccdd2[_0x2f2eb5(0x360)]})}):_0xdccf0a;})}):_0x2fc45a;}function Wi(){const _0x3020e7=_0x50820e;return Math[_0x3020e7(0x2a7)]()[_0x3020e7(0x192)](0x24)[_0x3020e7(0x1a3)](0x2,0x8);}We[_0x50820e(0x2b9)]=_0x50820e(0x37a);var Fi={'tag':_0x50820e(0x25d),'attrs':{'fill':_0x50820e(0x272),'viewBox':_0x50820e(0x189),'width':_0x50820e(0x30c),'height':_0x50820e(0x30c)},'children':[{'tag':'g','attrs':{'clipPath':_0x50820e(0x29f)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50820e(0x2b8),'strokeLinecap':_0x50820e(0x2cc),'strokeLinejoin':_0x50820e(0x2cc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x50820e(0x1e1),'attrs':{'id':_0x50820e(0x329)},'children':[{'tag':_0x50820e(0x24d),'attrs':{'fill':'#fff','d':_0x50820e(0x1f4)}}]}]}],'defIds':[_0x50820e(0x329)]},Mt=_0x3a8ec5(function(_0xa42936,_0x5e1dc1){const _0x1c1e0d=_0x50820e;return _0x18a497(We,Object['assign']({},_0xa42936,{'id':_0x1c1e0d(0x32e),'ref':_0x5e1dc1,'icon':Fi}));});Mt[_0x50820e(0x2b9)]=_0x50820e(0x32f);var Vi={'tag':_0x50820e(0x25d),'attrs':{'fill':'none','viewBox':_0x50820e(0x347),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50820e(0x271)},'children':[{'tag':'path','attrs':{'stroke':_0x50820e(0x175),'d':_0x50820e(0x1da),'strokeLinecap':'round','strokeLinejoin':_0x50820e(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x50820e(0x35e),'attrs':{},'children':[{'tag':_0x50820e(0x1e1),'attrs':{'id':_0x50820e(0x30a)},'children':[{'tag':_0x50820e(0x24d),'attrs':{'fill':_0x50820e(0x352),'d':_0x50820e(0x1f4),'transform':_0x50820e(0x247)}}]}]}],'defIds':[_0x50820e(0x30a)]},Pt=_0x3a8ec5(function(_0x32556a,_0x5e6ee3){const _0x26094c=_0x50820e;return _0x18a497(We,Object[_0x26094c(0x1a2)]({},_0x32556a,{'id':_0x26094c(0x17a),'ref':_0x5e6ee3,'icon':Vi}));});Pt[_0x50820e(0x2b9)]=_0x50820e(0x233);const Yi=_0x50820e(0x2c7),Xi=_0x50820e(0x263),Gi=_0x50820e(0x29b),Ki=_0x50820e(0x341),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x21e52e){const _0x350f49=_0x50820e;switch(_0x21e52e){case _0x2b5334[_0x350f49(0x2b7)]:return'collabStatus.offline';case _0x2b5334[_0x350f49(0x219)]:return _0x350f49(0x1ec);case _0x2b5334[_0x350f49(0x356)]:return _0x350f49(0x28d);case _0x2b5334[_0x350f49(0x170)]:return'collabStatus.notCollab';case _0x2b5334[_0x350f49(0x363)]:case _0x2b5334[_0x350f49(0x376)]:return _0x350f49(0x35d);case _0x2b5334[_0x350f49(0x228)]:case _0x2b5334['PENDING']:return _0x350f49(0x31e);}}function Zi(_0x2e337a){const _0x5e3bc4=_0x50820e,{status$:_0x221bcc}=_0x2e337a,_0x3311c4=_0x206c75(_0x221bcc,_0x2b5334[_0x5e3bc4(0x170)]),_0x33c8f3=_0x47e99a(_0x57bae6),_0x456e22=_0x47e99a(_0x35be17),_0x31e8eb=_0x3311c4!==_0x2b5334[_0x5e3bc4(0x2b7)],_0x27e999=_0x33c8f3['t'](Ji(_0x3311c4)),_0x247a48=_0x327375(G[_0x5e3bc4(0x1ab)],{[G[_0x5e3bc4(0x374)]]:_0x31e8eb,[G[_0x5e3bc4(0x2de)]]:!_0x31e8eb}),_0xb84a3=_0x31e8eb?_0x1692e1(Pt,{}):_0x1692e1(Mt,{}),_0x178d2b=_0x4ef53a(()=>{_0x31e8eb||_0x456e22['reconnect']();},[_0x31e8eb,_0x456e22]);function _0x25f76e(){const _0x51cca3=_0x5e3bc4;return _0x12f720('div',{'className':_0x327375(_0x247a48,_0x51cca3(0x1ad)),'onClick':_0x178d2b,'children':[_0x1692e1('div',{'className':G[_0x51cca3(0x290)],'children':_0xb84a3}),_0x1692e1(_0x51cca3(0x1d3),{'className':G[_0x51cca3(0x33a)],'children':_0x27e999})]});}return _0x31e8eb?_0x25f76e():_0x1692e1(_0x3e12c8,{'title':_0x33c8f3['t']('collab-client.tooltip.reconnect'),'children':_0x25f76e()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1f2a24,_0x272dff,_0x31a8af,_0x5124e2)=>{for(var _0x2b49fb=_0x5124e2>0x1?void 0x0:_0x5124e2?Qi(_0x272dff,_0x31a8af):_0x272dff,_0x52165d=_0x1f2a24['length']-0x1,_0xbefecd;_0x52165d>=0x0;_0x52165d--)(_0xbefecd=_0x1f2a24[_0x52165d])&&(_0x2b49fb=_0xbefecd(_0x2b49fb)||_0x2b49fb);return _0x2b49fb;},q=(_0x2b9633,_0x511785)=>(_0x2d6750,_0x1fcf28)=>_0x511785(_0x2d6750,_0x1fcf28,_0x2b9633);let se=class extends _0x4c8c9a{constructor(_0x5f1bfd,_0x517e36,_0x17a369,_0x366a08){const _0x58aa74=_0x50820e;super(),_(this,'_status$',new _0xf8530c(_0x2b5334['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5f1bfd,this[_0x58aa74(0x248)]=_0x517e36,this['_collaborationController']=_0x17a369,this[_0x58aa74(0x2a1)]=_0x366a08,this[_0x58aa74(0x1f6)](),this['_initStatusListener']());}[_0x50820e(0x243)](){const _0x38c27a=_0x50820e;this['disposeWithMe'](this[_0x38c27a(0x1f8)]['focused$'][_0x38c27a(0x2f6)](_0x37bb5d(()=>{const _0x354f70=_0x38c27a,_0xa837e=this[_0x354f70(0x1f8)][_0x354f70(0x230)]();return _0xa837e?this[_0x354f70(0x1a0)][_0x354f70(0x34b)](_0xa837e[_0x354f70(0x19f)]()):_0x1867f6(null);}),_0x37bb5d(_0xa0b0ce=>_0xa0b0ce?_0xa0b0ce[_0x38c27a(0x267)]:_0x1867f6(_0x2b5334[_0x38c27a(0x170)])))[_0x38c27a(0x20c)](_0x2ff6fe=>{const _0x245739=_0x38c27a;this['_status$'][_0x245739(0x313)](_0x2ff6fe);}));}[_0x50820e(0x1f6)](){const _0x31aa29=_0x50820e;this[_0x31aa29(0x2ff)](this[_0x31aa29(0x2a1)]['registerComponent'](_0x32e57b[_0x31aa29(0x354)],()=>_0x4585ae(en({'status$':this['_status$']['asObservable']()}),this[_0x31aa29(0x248)])));}};se=qi([q(0x0,_0x9adc5c),q(0x1,_0xbe4765(_0x10647c)),q(0x2,_0xbe4765(_0x5a2a01)),q(0x3,_0x44e7e1)],se);function en(_0x14c9f9){const {status$:_0x4050d4}=_0x14c9f9;return function(){return _0x1692e1(Zi,{'status$':_0x4050d4});};}var tn=Object[_0x50820e(0x2ce)],sn=(_0x457c0e,_0x26d3d3,_0x27ab34,_0x2c0ea5)=>{const _0x118442=_0x50820e;for(var _0x4efc5c=_0x2c0ea5>0x1?void 0x0:_0x2c0ea5?tn(_0x26d3d3,_0x27ab34):_0x26d3d3,_0x4439d2=_0x457c0e[_0x118442(0x23c)]-0x1,_0x3168de;_0x4439d2>=0x0;_0x4439d2--)(_0x3168de=_0x457c0e[_0x4439d2])&&(_0x4efc5c=_0x3168de(_0x4efc5c)||_0x4efc5c);return _0x4efc5c;},B=(_0x3d3fdf,_0x21ad74)=>(_0x328d89,_0x3dd954)=>_0x21ad74(_0x328d89,_0x3dd954,_0x3d3fdf);let ie=class extends _0x4c8c9a{constructor(_0x2b504b,_0x15d693,_0x3bbdab,_0x10f090,_0x15c530,_0x29ab08){const _0x525740=_0x50820e;super(),this[_0x525740(0x284)]=_0x2b504b,this[_0x525740(0x185)]=_0x15d693,this['_collaborationUIEventService']=_0x3bbdab,this[_0x525740(0x2c6)]=_0x10f090,this[_0x525740(0x2fb)]=_0x15c530,this[_0x525740(0x32a)]=_0x29ab08,this[_0x525740(0x331)](),this[_0x525740(0x30b)]();}[_0x50820e(0x331)](){const _0x1bb270=_0x50820e;this['disposeWithMe'](this[_0x1bb270(0x284)]['registerBeforeClose'](()=>{const _0x151278=_0x1bb270;if(this[_0x151278(0x185)][_0x151278(0x20a)][_0x151278(0x36a)])return this[_0x151278(0x32a)]['t'](_0x151278(0x26e));}));}[_0x50820e(0x30b)](){const _0x1bd2c5=_0x50820e;this[_0x1bd2c5(0x2ff)](this[_0x1bd2c5(0x262)][_0x1bd2c5(0x238)][_0x1bd2c5(0x20c)](_0x5a51ab=>{const _0x7b4ac5=_0x1bd2c5;_0x5a51ab['id']===_0x3cd63a[_0x7b4ac5(0x2ec)]&&this['_messageService'][_0x7b4ac5(0x318)]({'type':_0x5e3919[_0x7b4ac5(0x2a8)],'content':this[_0x7b4ac5(0x32a)]['t'](_0x7b4ac5(0x34c))}),_0x5a51ab['id']===_0x3cd63a[_0x7b4ac5(0x177)]&&this[_0x7b4ac5(0x2c6)]['show']({'type':_0x5e3919[_0x7b4ac5(0x2a8)],'content':this['_localeService']['t'](_0x7b4ac5(0x2f1))}),_0x5a51ab['id']===_0x3cd63a[_0x7b4ac5(0x2c8)]&&this[_0x7b4ac5(0x2fb)][_0x7b4ac5(0x318)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x7b4ac5(0x32a)]['t'](_0x7b4ac5(0x198)),'type':_0x7b4ac5(0x1ea),'duration':0x0}),_0x5a51ab['id']===_0x3cd63a['CONFLICT']&&this[_0x7b4ac5(0x2c6)][_0x7b4ac5(0x318)]({'type':_0x5e3919[_0x7b4ac5(0x33e)],'content':this[_0x7b4ac5(0x32a)]['t']('collaboration.closeRoom')+'('+_0x5a51ab[_0x7b4ac5(0x286)]+')'}),_0x5a51ab['id']===_0x3cd63a['JOIN_ROOM_FAILED']&&this[_0x7b4ac5(0x2c6)]['show']({'type':_0x5e3919[_0x7b4ac5(0x2a8)],'content':this[_0x7b4ac5(0x32a)]['t'](_0x5a51ab[_0x7b4ac5(0x286)]||'')}),_0x5a51ab['id']===_0x3cd63a['SOCKET_FAILED_RETRY']&&this[_0x7b4ac5(0x2c6)]['show']({'type':_0x5e3919['Warning'],'content':this[_0x7b4ac5(0x32a)]['t']('session.will-retry')}),_0x5a51ab['id']===_0x3cd63a[_0x7b4ac5(0x1ee)]&&this[_0x7b4ac5(0x2c6)]['show']({'type':_0x5e3919[_0x7b4ac5(0x33e)],'content':this[_0x7b4ac5(0x32a)]['t']('session.connection-failed')}),_0x5a51ab['id']===_0x3cd63a[_0x7b4ac5(0x292)]&&this[_0x7b4ac5(0x2c6)][_0x7b4ac5(0x318)]({'type':_0x5e3919[_0x7b4ac5(0x33e)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x4449f7),B(0x1,_0x17e842),B(0x2,_0xbe4765(_0x5ab706)),B(0x3,_0x4e2a68),B(0x4,_0x4d436c),B(0x5,_0xbe4765(_0x57bae6))],ie);const nn=_0x50820e(0x333),st={},wt=_0x4fbeb4(_0x50820e(0x26c));var rn=Object[_0x50820e(0x2ce)],on=(_0x37579d,_0x1fee2c,_0x53a634,_0x23ed42)=>{const _0x3ae52e=_0x50820e;for(var _0x948e89=_0x23ed42>0x1?void 0x0:_0x23ed42?rn(_0x1fee2c,_0x53a634):_0x1fee2c,_0x30a3a4=_0x37579d[_0x3ae52e(0x23c)]-0x1,_0xde4c5a;_0x30a3a4>=0x0;_0x30a3a4--)(_0xde4c5a=_0x37579d[_0x30a3a4])&&(_0x948e89=_0xde4c5a(_0x948e89)||_0x948e89);return _0x948e89;},K=(_0x5989f2,_0x55e015)=>(_0x4ba86e,_0xf9f47c)=>_0x55e015(_0x4ba86e,_0xf9f47c,_0x5989f2);let ne=class extends _0x31fdaa{constructor(_0x42c442,_0x3614a1,_0x356a66,_0x3d65c6,_0x2bf71b){const _0x2ec524=_0x50820e;super(),this['_urlService']=_0x42c442,this[_0x2ec524(0x24a)]=_0x3614a1,this[_0x2ec524(0x275)]=_0x356a66,this[_0x2ec524(0x27f)]=_0x3d65c6,_0x2bf71b?_0x2bf71b==null||_0x2bf71b['whenReady']()[_0x2ec524(0x214)](()=>this['_init']()):(this['_logService'][_0x2ec524(0x276)](_0x2ec524(0x217),_0x2ec524(0x232)),this[_0x2ec524(0x302)]());}async['_init'](){const _0xf65832=_0x50820e,_0x27ed04=this['_urlService'][_0xf65832(0x253)](_0xf65832(0x194)),_0x3d3862=this['_urlService']['getParam'](_0xf65832(0x27a)),_0x22af10=this[_0xf65832(0x1ef)][_0xf65832(0x253)]('subunit');if(!_0x27ed04||!_0x3d3862){this[_0xf65832(0x24a)][_0xf65832(0x276)](_0xf65832(0x217),_0xf65832(0x17d));return;}const _0x143f73=await this[_0xf65832(0x27f)][_0xf65832(0x26f)](_0x27ed04,Number(_0x3d3862),_0x22af10);_0x143f73&&_0x143f73 instanceof _0xdd695b&&this[_0xf65832(0x372)](_0x143f73);}async[_0x50820e(0x372)](_0x36ed47){const _0x373070=_0x50820e;await this[_0x373070(0x294)](_0x36ed47),_0x36ed47[_0x373070(0x2d2)][_0x373070(0x2f6)](_0x1ef568(this[_0x373070(0x2e0)]))['subscribe'](_0xd658ff=>{const _0x22864b=_0x373070;_0xd658ff&&this[_0x22864b(0x359)](_0xd658ff);}),this['_urlService'][_0x373070(0x184)][_0x373070(0x2f6)](_0x1ef568(this[_0x373070(0x2e0)]))['subscribe'](()=>this[_0x373070(0x294)](_0x36ed47));}[_0x50820e(0x359)](_0x282063,_0x426a62=!0x1){const _0x55a729=_0x50820e,_0x381481=this['_urlService']['getParam']('subunit');_0x282063[_0x55a729(0x2e5)]()!==_0x381481&&this[_0x55a729(0x1ef)][_0x55a729(0x2ef)](_0x55a729(0x1a7),_0x282063[_0x55a729(0x2e5)](),_0x426a62);}async[_0x50820e(0x294)](_0x3b4f36){const _0x985b18=_0x50820e;var _0x5daed3;const _0x47844b=this['_urlService'][_0x985b18(0x253)](_0x985b18(0x1a7));if(!_0x47844b||!_0x3b4f36[_0x985b18(0x27e)](_0x47844b)){const _0x30cc23=_0x3b4f36[_0x985b18(0x36f)]()[0x0],_0x2bcd54=_0x3b4f36[_0x985b18(0x27e)](_0x30cc23);if(!_0x2bcd54)return;this[_0x985b18(0x359)](_0x2bcd54,!0x0),await this[_0x985b18(0x275)][_0x985b18(0x27b)](_0x2be1be['id'],{'unitId':_0x3b4f36[_0x985b18(0x19f)](),'subUnitId':_0x30cc23});return;}((_0x5daed3=_0x3b4f36['getActiveSheet']())==null?void 0x0:_0x5daed3[_0x985b18(0x2e5)]())!==_0x47844b&&await this[_0x985b18(0x275)][_0x985b18(0x27b)](_0x2be1be['id'],{'unitId':_0x3b4f36[_0x985b18(0x19f)](),'subUnitId':_0x47844b});}};ne=on([K(0x0,wt),K(0x1,_0x14bb70),K(0x2,_0x55829e),K(0x3,_0xbe4765(_0x587614)),K(0x4,_0x561976(_0x334c05))],ne);var an=Object[_0x50820e(0x2ce)],cn=(_0x139d6b,_0x2e49eb,_0x13ad44,_0x403e81)=>{const _0x1ded53=_0x50820e;for(var _0x37e61f=_0x403e81>0x1?void 0x0:_0x403e81?an(_0x2e49eb,_0x13ad44):_0x2e49eb,_0x2a5dc4=_0x139d6b[_0x1ded53(0x23c)]-0x1,_0x277b6f;_0x2a5dc4>=0x0;_0x2a5dc4--)(_0x277b6f=_0x139d6b[_0x2a5dc4])&&(_0x37e61f=_0x277b6f(_0x37e61f)||_0x37e61f);return _0x37e61f;},Ce=(_0xd171ff,_0x3d1689)=>(_0x239a79,_0x1d0bb0)=>_0x3d1689(_0x239a79,_0x1d0bb0,_0xd171ff);let re=class{constructor(_0x59bf22,_0x3fbe7a,_0xf604b9){const _0x4b496e=_0x50820e;this[_0x4b496e(0x248)]=_0x59bf22,this[_0x4b496e(0x29c)]=_0x3fbe7a,this[_0x4b496e(0x229)]=_0xf604b9;}[_0x50820e(0x179)](_0x159dad){const _0x3c8ae6=_0x50820e;this[_0x3c8ae6(0x196)](_0x159dad),this[_0x3c8ae6(0x1df)](_0x159dad);}[_0x50820e(0x26b)](_0xc5cff1){const _0x4ed293=_0x50820e,{unitID:_0x26af06}=_0xc5cff1,_0x36a4c1=this['_renderManagerService'][_0x4ed293(0x2da)](_0x26af06)[_0x4ed293(0x32b)](_0x4e52dc),{redoCache:_0x4e0b7e}=_0x36a4c1[_0x4ed293(0x2f5)]();if(_0x4e0b7e['length']===0x0)return _0xc5cff1;let _0x1f2af8=_0x4e19c0[_0x4ed293(0x330)](_0xc5cff1[_0x4ed293(0x350)][0x0]);for(let _0x39b38b=0x0;_0x39b38b<_0x4e0b7e[_0x4ed293(0x23c)];_0x39b38b++){const _0xd6d97d={'id':_0x4ed293(0x371),'params':{..._0x4e0b7e[_0x39b38b]}},_0x470eab=this['_transformService'][_0x4ed293(0x31d)](_0x1f2af8,_0xd6d97d,!0x1);if(_0x44db43(_0x470eab))throw _0x470eab['error'];_0x1f2af8=_0x470eab[_0x4ed293(0x312)];}return{..._0x4e19c0[_0x4ed293(0x330)](_0xc5cff1),'mutations':[_0x1f2af8]};}[_0x50820e(0x196)](_0x2a3e99){const _0x1157ba=_0x50820e,{unitID:_0x23e37e}=_0x2a3e99,_0x2ba491=this[_0x1157ba(0x229)][_0x1157ba(0x2da)](_0x23e37e)[_0x1157ba(0x32b)](_0x4e52dc),{undoCache:_0x4b43d4,redoCache:_0x53eca0}=_0x2ba491['getUndoRedoMutationParamsCache']();if(_0x4b43d4[_0x1157ba(0x23c)]===0x0||_0x53eca0[_0x1157ba(0x23c)]===0x0)return;const _0x4c9e59=[],_0x3f0f78=[];let _0xe7b1f7=_0x4e19c0['deepClone'](_0x2a3e99[_0x1157ba(0x350)][0x0]),_0x539cc0=_0x4e19c0['deepClone'](_0x2a3e99[_0x1157ba(0x350)][0x0]);for(let _0x5dbb35=_0x4b43d4[_0x1157ba(0x23c)]-0x1;_0x5dbb35>=0x0;_0x5dbb35--){const _0xb4de91={'id':'doc.mutation.rich-text-editing','params':{..._0x4b43d4[_0x5dbb35]}},_0x1233e9={'id':_0x1157ba(0x371),'params':{..._0x53eca0[_0x5dbb35]}},_0x113afa=this[_0x1157ba(0x29c)][_0x1157ba(0x31d)](_0xe7b1f7,_0xb4de91,!0x1),_0xdebd12=this['_transformService'][_0x1157ba(0x31d)](_0x539cc0,_0x1233e9,!0x1);if(_0x44db43(_0x113afa))throw _0x113afa[_0x1157ba(0x1ea)];if(_0x44db43(_0xdebd12))throw _0xdebd12[_0x1157ba(0x1ea)];_0x4c9e59[_0x1157ba(0x181)](_0x113afa[_0x1157ba(0x36b)][_0x1157ba(0x336)]),_0x3f0f78[_0x1157ba(0x181)](_0xdebd12[_0x1157ba(0x36b)]['params']),_0xe7b1f7=_0x113afa[_0x1157ba(0x312)],_0x539cc0=_0xdebd12['m1Prime'];}_0x2ba491[_0x1157ba(0x2b3)]({'undoCache':_0x4c9e59,'redoCache':_0x3f0f78});}[_0x50820e(0x1df)](_0xc45e91){const _0x546b0c=_0x50820e,{unitID:_0x33c1ba}=_0xc45e91,_0x3137e0=this[_0x546b0c(0x229)][_0x546b0c(0x2da)](_0x33c1ba)[_0x546b0c(0x32b)](_0x4e52dc),_0x5775eb=_0x3137e0[_0x546b0c(0x375)]();if(_0x5775eb==null)return;const _0x20abd5=[{'id':_0x546b0c(0x371),'params':{'unitId':_0xc45e91['unitID'],'actions':null,'textRanges':[_0x5775eb]}}],_0x39fe6c=this[_0x546b0c(0x29c)][_0x546b0c(0x187)](_0xc45e91,_0x20abd5);if(!_0xbecd51(_0x39fe6c))throw _0x39fe6c['error'];const _0x30f3fc=_0x39fe6c[_0x546b0c(0x36b)][0x0]['params'][_0x546b0c(0x2e1)];Array[_0x546b0c(0x291)](_0x30f3fc)&&_0x30f3fc[_0x546b0c(0x23c)]&&_0x3137e0[_0x546b0c(0x29e)](_0x30f3fc[0x0]);}};re=cn([Ce(0x0,_0xbe4765(_0x10647c)),Ce(0x1,_0x556e66),Ce(0x2,_0x9243d5)],re);var ln=Object[_0x50820e(0x2ce)],_n=(_0x4042fc,_0x8dfcbb,_0x31bede,_0x17ba9c)=>{const _0x40e9e4=_0x50820e;for(var _0x5ae09f=_0x17ba9c>0x1?void 0x0:_0x17ba9c?ln(_0x8dfcbb,_0x31bede):_0x8dfcbb,_0x3c8de8=_0x4042fc[_0x40e9e4(0x23c)]-0x1,_0x1ba173;_0x3c8de8>=0x0;_0x3c8de8--)(_0x1ba173=_0x4042fc[_0x3c8de8])&&(_0x5ae09f=_0x1ba173(_0x5ae09f)||_0x5ae09f);return _0x5ae09f;},Ee=(_0x579312,_0x99caa7)=>(_0x423363,_0x5831f8)=>_0x99caa7(_0x423363,_0x5831f8,_0x579312);let oe=class{constructor(_0x344c5f,_0x28e533,_0x1e7707){const _0x35953d=_0x50820e;this[_0x35953d(0x248)]=_0x344c5f,this[_0x35953d(0x29c)]=_0x28e533,this[_0x35953d(0x1b1)]=_0x1e7707;}[_0x50820e(0x2b1)](_0x139c05){const _0x399c74=_0x50820e;this[_0x399c74(0x19a)](_0x139c05);}[_0x50820e(0x26b)](_0x36e25d){const _0xa268bf=_0x50820e,{unitID:_0x4f8940}=_0x36e25d,{collaboration:_0x352d36}=this[_0xa268bf(0x1b1)]['getStateCache'](_0x4f8940);if(_0x352d36['length']===0x0)return _0x36e25d;let _0x1a519e=_0x4e19c0[_0xa268bf(0x330)](_0x36e25d[_0xa268bf(0x350)][0x0]);for(let _0x475f62=0x0;_0x475f62<_0x352d36[_0xa268bf(0x23c)];_0x475f62++){const _0x340a55={'id':_0xa268bf(0x371),'params':{'unitId':_0x352d36[_0x475f62][_0xa268bf(0x377)],..._0x352d36[_0x475f62][_0xa268bf(0x23b)]}},_0xc27168=this[_0xa268bf(0x29c)][_0xa268bf(0x31d)](_0x1a519e,_0x340a55,!0x1);if(_0x44db43(_0xc27168))throw _0xc27168[_0xa268bf(0x1ea)];_0x1a519e=_0xc27168[_0xa268bf(0x312)];}return{..._0x4e19c0[_0xa268bf(0x330)](_0x36e25d),'mutations':[_0x1a519e]};}[_0x50820e(0x19a)](_0x465198){const _0x524265=_0x50820e,{unitID:_0xb335ef}=_0x465198,{history:_0x5e63fc,collaboration:_0x21a5bd}=this[_0x524265(0x1b1)][_0x524265(0x2a4)](_0xb335ef);if(_0x5e63fc[_0x524265(0x23c)]===0x0&&_0x21a5bd[_0x524265(0x23c)]===0x0)return;const _0x3fc73a=[],_0x49e214=[];let _0x48d24e=_0x4e19c0[_0x524265(0x330)](_0x465198[_0x524265(0x350)][0x0]),_0xa8da18=_0x4e19c0[_0x524265(0x330)](_0x465198[_0x524265(0x350)][0x0]);for(let _0x526d02=_0x5e63fc['length']-0x1;_0x526d02>=0x0;_0x526d02--){const _0x475a2={'id':_0x524265(0x371),'params':{'unitId':_0x5e63fc[_0x526d02][_0x524265(0x377)],..._0x5e63fc[_0x526d02][_0x524265(0x2d8)]}},_0x13732e={'id':_0x524265(0x371),'params':{'unitId':_0x5e63fc[_0x526d02][_0x524265(0x377)],..._0x5e63fc[_0x526d02][_0x524265(0x23b)]}},_0x553fe5=this[_0x524265(0x29c)][_0x524265(0x31d)](_0x48d24e,_0x475a2,!0x1),_0x6e6098=this['_transformService'][_0x524265(0x31d)](_0xa8da18,_0x13732e,!0x1);if(_0x44db43(_0x553fe5))throw _0x553fe5['error'];if(_0x44db43(_0x6e6098))throw _0x6e6098[_0x524265(0x1ea)];_0x3fc73a['unshift']({..._0x5e63fc[_0x526d02],'undoState':_0x553fe5['m2Prime'][_0x524265(0x336)],'redoState':_0x6e6098[_0x524265(0x36b)][_0x524265(0x336)]}),_0x48d24e=_0x553fe5[_0x524265(0x312)],_0xa8da18=_0x6e6098[_0x524265(0x312)];}_0x48d24e=_0x4e19c0[_0x524265(0x330)](_0x465198['mutations'][0x0]),_0xa8da18=_0x4e19c0['deepClone'](_0x465198[_0x524265(0x350)][0x0]);for(let _0x4b0772=_0x21a5bd[_0x524265(0x23c)]-0x1;_0x4b0772>=0x0;_0x4b0772--){const _0x3a373e={'id':_0x524265(0x371),'params':{'unitId':_0x21a5bd[_0x4b0772]['unitId'],..._0x21a5bd[_0x4b0772][_0x524265(0x2d8)]}},_0x564a0f={'id':_0x524265(0x371),'params':{'unitId':_0x21a5bd[_0x4b0772][_0x524265(0x377)],..._0x21a5bd[_0x4b0772][_0x524265(0x23b)]}},_0x5af34e=this[_0x524265(0x29c)]['transformMutation'](_0x48d24e,_0x3a373e,!0x1),_0x19dd1b=this[_0x524265(0x29c)][_0x524265(0x31d)](_0xa8da18,_0x564a0f,!0x1);if(_0x44db43(_0x5af34e))throw _0x5af34e['error'];if(_0x44db43(_0x19dd1b))throw _0x19dd1b[_0x524265(0x1ea)];_0x49e214['unshift']({..._0x21a5bd[_0x4b0772],'undoState':_0x5af34e['m2Prime']['params'],'redoState':_0x19dd1b[_0x524265(0x36b)][_0x524265(0x336)]}),_0x48d24e=_0x5af34e['m1Prime'],_0xa8da18=_0x19dd1b['m1Prime'];}this[_0x524265(0x1b1)][_0x524265(0x264)](_0xb335ef,{'history':_0x3fc73a,'collaboration':_0x49e214});}};oe=_n([Ee(0x0,_0xbe4765(_0x10647c)),Ee(0x1,_0x556e66),Ee(0x2,_0xbe4765(_0x3f9889))],oe);var hn=Object[_0x50820e(0x2ce)],un=(_0x22d33a,_0x2b4d5a,_0x4f244a,_0x146a10)=>{const _0x2d45aa=_0x50820e;for(var _0x18741b=_0x146a10>0x1?void 0x0:_0x146a10?hn(_0x2b4d5a,_0x4f244a):_0x2b4d5a,_0x109334=_0x22d33a[_0x2d45aa(0x23c)]-0x1,_0x4de974;_0x109334>=0x0;_0x109334--)(_0x4de974=_0x22d33a[_0x109334])&&(_0x18741b=_0x4de974(_0x18741b)||_0x18741b);return _0x18741b;},it=(_0x1b17e2,_0x43a39b)=>(_0x3bdafc,_0x5e5014)=>_0x43a39b(_0x3bdafc,_0x5e5014,_0x1b17e2);let ae=class{constructor(_0x8b24eb,_0xd4d6a9){const _0x4f4a47=_0x50820e;this[_0x4f4a47(0x248)]=_0x8b24eb,this[_0x4f4a47(0x29c)]=_0xd4d6a9;}['transformSelections'](_0x36b3c8){const _0x5eeec6=_0x50820e;var _0x5e7d32;const _0x10c2b8=this[_0x5eeec6(0x248)][_0x5eeec6(0x28b)](_0x4cdd95),_0x356124=(_0x5e7d32=_0x10c2b8[_0x5eeec6(0x2dc)]())!=null?_0x5e7d32:[];if(_0x356124[_0x5eeec6(0x23c)]===0x0)return;const _0x387f9b=_0x36b3c8[_0x5eeec6(0x325)],_0x4b660b=[{'id':_0x5eeec6(0x371),'params':{'unitId':_0x387f9b,'actions':null,'textRanges':_0x356124}}],_0x61ecf5=this[_0x5eeec6(0x29c)][_0x5eeec6(0x187)](_0x36b3c8,_0x4b660b);if(!_0xbecd51(_0x61ecf5))throw _0x61ecf5[_0x5eeec6(0x1ea)];const _0x15bc71=_0x61ecf5[_0x5eeec6(0x36b)][0x0][_0x5eeec6(0x336)][_0x5eeec6(0x2e1)];Array['isArray'](_0x15bc71)&&_0x15bc71[_0x5eeec6(0x23c)]&&_0x10c2b8[_0x5eeec6(0x25a)](_0x15bc71,{'unitId':_0x387f9b,'subUnitId':_0x387f9b},!0x1);}};ae=un([it(0x0,_0xbe4765(_0x10647c)),it(0x1,_0x556e66)],ae);var dn=Object[_0x50820e(0x2ce)],fn=(_0x5ed43e,_0x2ed641,_0x1b9c0d,_0x597b18)=>{for(var _0x1a1d1d=_0x597b18>0x1?void 0x0:_0x597b18?dn(_0x2ed641,_0x1b9c0d):_0x2ed641,_0x178774=_0x5ed43e['length']-0x1,_0x4c916d;_0x178774>=0x0;_0x178774--)(_0x4c916d=_0x5ed43e[_0x178774])&&(_0x1a1d1d=_0x4c916d(_0x1a1d1d)||_0x1a1d1d);return _0x1a1d1d;},M=(_0x54a37b,_0x5a4cf2)=>(_0x5f50f5,_0x3a0cb7)=>_0x5a4cf2(_0x5f50f5,_0x3a0cb7,_0x54a37b);function _0x844d(_0x2da131,_0x5e7c8a){const _0x545015=_0x5450();return _0x844d=function(_0x844d80,_0x2880e8){_0x844d80=_0x844d80-0x16e;let _0x3f1783=_0x545015[_0x844d80];return _0x3f1783;},_0x844d(_0x2da131,_0x5e7c8a);}let ce=class extends _0x4c8c9a{constructor(_0x1005f2,_0x4f923d,_0x19804f,_0x2baebd,_0x7bdb86,_0x5de126,_0x2bd8b6,_0x58cb6e){const _0x21e27c=_0x50820e;super(),_(this,'_status$',new _0xf8530c(_0x2b5334['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1005f2,this[_0x21e27c(0x1a0)]=_0x4f923d,this[_0x21e27c(0x26a)]=_0x19804f,this[_0x21e27c(0x2cf)]=_0x2baebd,this[_0x21e27c(0x206)]=_0x7bdb86,this[_0x21e27c(0x1f2)]=_0x5de126,this[_0x21e27c(0x2c6)]=_0x2bd8b6,this[_0x21e27c(0x32a)]=_0x58cb6e,this['_initEntityListener']());}[_0x50820e(0x1e5)](){const _0x1c59f8=_0x50820e;this[_0x1c59f8(0x2ff)](this[_0x1c59f8(0x1a0)][_0x1c59f8(0x281)][_0x1c59f8(0x20c)](_0x5c38c6=>{const _0xc1927d=_0x1c59f8,_0x3fa315=this[_0xc1927d(0x1b1)][_0xc1927d(0x1e6)][_0xc1927d(0x20c)](_0x27a55e=>{const _0x1ca8e2=_0xc1927d;if(_0x27a55e==null)return;const {unitId:_0x3d6a77,redoState:_0x533f97,commandId:_0x4d5a23}=_0x27a55e;if(_0x3d6a77!==_0x5c38c6[_0x1ca8e2(0x325)])return;const _0x175a60={'id':_0x4d5a23,'type':_0x416f2a['MUTATION'],'params':{'unitId':_0x3d6a77,'actions':_0x533f97[_0x1ca8e2(0x32d)],'textRanges':null}};_0x5c38c6['onLocalMutation'](_0x175a60);});if(_0x5c38c6[_0xc1927d(0x2ff)](_0x3fa315),_0x5c38c6 instanceof _0x9a8453){const _0x298236={'onTransformIME':_0x24da3d=>this[_0xc1927d(0x26a)][_0xc1927d(0x179)](_0x24da3d),'onTransformState':_0xa9529d=>this['_docTransformStateCacheService'][_0xc1927d(0x2b1)](_0xa9529d),'onTransformSelections':_0x1500fa=>this[_0xc1927d(0x206)][_0xc1927d(0x2e2)](_0x1500fa),'onSyncEditingCollabCursor':_0x124dee=>this[_0xc1927d(0x1f2)][_0xc1927d(0x362)](_0x124dee),'onTransformRemoteChangesetByIMECache':_0x331538=>this[_0xc1927d(0x26a)][_0xc1927d(0x26b)](_0x331538),'onTransformRemoteChangesetByStateCache':_0x2b1f90=>this['_docTransformStateCacheService'][_0xc1927d(0x26b)](_0x2b1f90)};_0x5c38c6['addHandlerCallback'](_0x298236);}}));}};ce=fn([M(0x0,_0xbe4765(_0x3f9889)),M(0x1,_0xbe4765(_0x5a2a01)),M(0x2,_0xbe4765(re)),M(0x3,_0xbe4765(oe)),M(0x4,_0xbe4765(ae)),M(0x5,_0xbe4765(je)),M(0x6,_0x4e2a68),M(0x7,_0xbe4765(_0x57bae6))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x24d374,_0x2acede,_0x1d6724,_0x1388f1)=>{const _0x1bfc3d=_0x50820e;for(var _0x45afb7=_0x1388f1>0x1?void 0x0:_0x1388f1?Sn(_0x2acede,_0x1d6724):_0x2acede,_0x4bd8ca=_0x24d374[_0x1bfc3d(0x23c)]-0x1,_0x25afa9;_0x4bd8ca>=0x0;_0x4bd8ca--)(_0x25afa9=_0x24d374[_0x4bd8ca])&&(_0x45afb7=_0x25afa9(_0x45afb7)||_0x45afb7);return _0x45afb7;},be=(_0x86b69,_0x3d1891)=>(_0x5040a8,_0x20ac6b)=>_0x3d1891(_0x5040a8,_0x20ac6b,_0x86b69);let Ae=class extends _0x4c8c9a{constructor(_0x239e1f,_0x3591e5,_0x3506fe){const _0x41c01c=_0x50820e;super(),_(this,_0x41c01c(0x1bf),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x41c01c(0x18c),!0x1),(this[_0x41c01c(0x18b)]=_0x239e1f,this[_0x41c01c(0x278)]=_0x3591e5,this[_0x41c01c(0x2b4)]=_0x3506fe);}[_0x50820e(0x2e4)](){const _0x67eac8=_0x50820e;this[_0x67eac8(0x18c)]=!0x0;}[_0x50820e(0x2ca)](){const _0x30a3ea=_0x50820e;this[_0x30a3ea(0x18c)]=!0x1;}get['saveTaskMap'](){const _0x3494e0=_0x50820e;return this[_0x3494e0(0x2c5)];}[_0x50820e(0x16e)](){const _0x5a5087=_0x50820e;this['exhaustSavingTask']()[_0x5a5087(0x214)](()=>super[_0x5a5087(0x16e)]());}async[_0x50820e(0x2f0)](_0x39694b){const _0x4be8b9=_0x50820e;return this[_0x4be8b9(0x18c)]?null:this['_localStorageService'][_0x4be8b9(0x197)](_0x1438e7(_0x39694b));}async[_0x50820e(0x339)](_0xcdff02,_0x36c96a){const _0x131875=_0x50820e;return!!this['_localStorageService'][_0x131875(0x29a)](_0xcdff02,_0x36c96a);}[_0x50820e(0x369)](_0x38495f,_0x339588,_0x111607,_0x3cb3db){const _0xf59b4=_0x50820e,_0x434ef2=this[_0xf59b4(0x2b4)][_0xf59b4(0x216)](_0x38495f);this['_cachedData'][_0xf59b4(0x2a2)](_0x38495f,{'unitID':_0x38495f,'type':_0x339588,'awaitingChangeset':_0x111607,'mutations':_0x3cb3db,'rev':_0x434ef2}),this[_0xf59b4(0x2c5)][_0xf59b4(0x240)](_0x38495f)||this[_0xf59b4(0x23a)](_0x38495f);}[_0x50820e(0x23a)](_0x410394){const _0x5cdcfc=_0x50820e,_0x26e73b=this[_0x5cdcfc(0x301)]();_0x26e73b===0x0?this[_0x5cdcfc(0x174)](_0x410394):this[_0x5cdcfc(0x2c5)][_0x5cdcfc(0x2a2)](_0x410394,setTimeout(()=>this['_saveCache'](_0x410394),_0x26e73b));}[_0x50820e(0x301)](){const _0x247b27=_0x50820e;var _0x5e0a60;return(_0x5e0a60=this[_0x247b27(0x18b)]['getConfig'](_0x3317be))!=null?_0x5e0a60:_0x1afe72;}[_0x50820e(0x174)](_0x1e171f){const _0xdbb8c9=_0x50820e,_0x2485ad=this['_saveTaskMap'][_0xdbb8c9(0x28b)](_0x1e171f);return _0x2485ad!==void 0x0&&window['clearTimeout'](_0x2485ad),this[_0xdbb8c9(0x278)]['setItem'](_0x1438e7(_0x1e171f),this[_0xdbb8c9(0x1bf)][_0xdbb8c9(0x28b)](_0x1e171f))[_0xdbb8c9(0x214)](()=>this[_0xdbb8c9(0x2c5)][_0xdbb8c9(0x30d)](_0x1e171f));}async['exhaustSavingTask'](){const _0x1b55fc=_0x50820e,_0x370255=[];this['_saveTaskMap'][_0x1b55fc(0x35c)]((_0x3d9303,_0x163d28)=>{const _0x525505=_0x1b55fc;window[_0x525505(0x183)](_0x3d9303),_0x370255[_0x525505(0x2c2)](this['_saveCache'](_0x163d28)[_0x525505(0x214)](()=>{const _0xdf95ab=_0x525505;this[_0xdf95ab(0x2c5)]['delete'](_0x163d28);}));}),await Promise['all'](_0x370255);}};Ae=mn([be(0x0,_0x3de9ad),be(0x1,_0x326825),be(0x2,_0xbe4765(_0x46ac57))],Ae);class gn extends _0x31fdaa{constructor(){const _0x49eb9e=_0x50820e;super(),_(this,_0x49eb9e(0x184)),this[_0x49eb9e(0x184)]=_0x945d2f(window,_0x49eb9e(0x357))[_0x49eb9e(0x2f6)](_0x1ef568(this['dispose$']),_0x11fcf1(0x1),_0xe1c17(void 0x0));}[_0x50820e(0x2ef)](_0x533e1f,_0xe951e5,_0x511397=!0x1){const _0x1b2195=_0x50820e,_0x130ef5=new URL(window[_0x1b2195(0x172)]['href']);_0x130ef5['searchParams']['set'](_0x533e1f,_0xe951e5),_0x511397?window[_0x1b2195(0x2f2)][_0x1b2195(0x2ba)]('','',_0x130ef5[_0x1b2195(0x192)]()):window[_0x1b2195(0x2f2)][_0x1b2195(0x18a)]('','',_0x130ef5['toString']());}[_0x50820e(0x299)](_0x41f5f5,_0x1c2bea=!0x1){const _0x15fe16=_0x50820e,_0x2af08c=new URL(window[_0x15fe16(0x172)][_0x15fe16(0x344)]);_0x2af08c['searchParams'][_0x15fe16(0x30d)](_0x41f5f5),_0x1c2bea?window[_0x15fe16(0x2f2)][_0x15fe16(0x2ba)]('','',_0x2af08c[_0x15fe16(0x192)]()):window['history'][_0x15fe16(0x18a)]('','',_0x2af08c[_0x15fe16(0x192)]());}[_0x50820e(0x253)](_0x6e8b2e){const _0x59294b=_0x50820e;var _0x4cab1a;return(_0x4cab1a=new URL(window['location']['href'])[_0x59294b(0x250)][_0x59294b(0x28b)](_0x6e8b2e))!=null?_0x4cab1a:void 0x0;}}var vn=Object[_0x50820e(0x1fc)],In=Object[_0x50820e(0x2ce)],pn=(_0x1df03b,_0x5fcebb,_0x2e3618)=>_0x5fcebb in _0x1df03b?vn(_0x1df03b,_0x5fcebb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e3618}):_0x1df03b[_0x5fcebb]=_0x2e3618,Cn=(_0x954968,_0x477715,_0x123107,_0x5c65d0)=>{const _0x2f97f7=_0x50820e;for(var _0x186b12=_0x5c65d0>0x1?void 0x0:_0x5c65d0?In(_0x477715,_0x123107):_0x477715,_0x3020be=_0x954968[_0x2f97f7(0x23c)]-0x1,_0x52a9ad;_0x3020be>=0x0;_0x3020be--)(_0x52a9ad=_0x954968[_0x3020be])&&(_0x186b12=_0x52a9ad(_0x186b12)||_0x186b12);return _0x186b12;},Oe=(_0x49f7c8,_0x165852)=>(_0x3bfa43,_0x283249)=>_0x165852(_0x3bfa43,_0x283249,_0x49f7c8),En=(_0x18f5e8,_0x117ae2,_0x29d1f9)=>pn(_0x18f5e8,_0x117ae2+'',_0x29d1f9);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x4be7fb{constructor(_0x208fb6=st,_0x862e22,_0x4ea7c1,_0xe18a25){const _0x428332=_0x50820e;super(),this[_0x428332(0x337)]=_0x208fb6,this['_renderManagerService']=_0x862e22,this[_0x428332(0x248)]=_0x4ea7c1,this[_0x428332(0x18b)]=_0xe18a25;const {..._0x5cd913}=_0x19f77a({},st,this[_0x428332(0x337)]);this[_0x428332(0x18b)][_0x428332(0x259)](nn,_0x5cd913);}['onStarting'](){const _0xb7db21=_0x50820e;this[_0xb7db21(0x193)](),this[_0xb7db21(0x379)]();}[_0x50820e(0x307)](){const _0x4ce9fd=_0x50820e;this[_0x4ce9fd(0x222)]();}['_registerDependencies'](){const _0x8405eb=_0x50820e;var _0x57b151;const _0x2c785e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x3a53e5,{'useClass':_0x48206a}],[_0x17e842,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x54c4a6(this[_0x8405eb(0x248)],_0x5ee088(_0x2c785e,(_0x57b151=this['_config'])==null?void 0x0:_0x57b151[_0x8405eb(0x342)]));}[_0x50820e(0x222)](){const _0x16e96a=_0x50820e;this[_0x16e96a(0x2ff)](this[_0x16e96a(0x229)][_0x16e96a(0x298)](_0x39d27e[_0x16e96a(0x204)],[Ue])),this[_0x16e96a(0x2ff)](this[_0x16e96a(0x229)][_0x16e96a(0x298)](_0x39d27e[_0x16e96a(0x2c9)],[Le]));}[_0x50820e(0x379)](){const _0x411bf6=_0x50820e;_0x369c0b(this[_0x411bf6(0x248)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x50820e(0x1d1),bn),ye=Cn([_0x2afea3(_0x46c167),Oe(0x1,_0x9243d5),Oe(0x2,_0xbe4765(_0x10647c)),Oe(0x3,_0x3de9ad)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0xef22a9,_0x15b23f,_0x5c5aec,_0x47cc0c)=>{const _0x511c8b=_0x50820e;for(var _0x8c2be2=_0x47cc0c>0x1?void 0x0:_0x47cc0c?On(_0x15b23f,_0x5c5aec):_0x15b23f,_0x453a2e=_0xef22a9[_0x511c8b(0x23c)]-0x1,_0x3a5f6c;_0x453a2e>=0x0;_0x453a2e--)(_0x3a5f6c=_0xef22a9[_0x453a2e])&&(_0x8c2be2=_0x3a5f6c(_0x8c2be2)||_0x8c2be2);return _0x8c2be2;},z=(_0x56652b,_0x1299ba)=>(_0x10ed80,_0x2c6f49)=>_0x1299ba(_0x10ed80,_0x2c6f49,_0x56652b);let nt=class extends _0x56fab3{constructor(_0x6d6083,_0x4e0400,_0x5323c8,_0x350972,_0x31b2dd){super(_0x6d6083,_0x4e0400,_0x5323c8,_0x350972,_0x31b2dd);}async[_0x50820e(0x261)](_0x4045c1){const _0x57eee4=_0x50820e,_0x50ab7e=await this['_getSessionTicket'](),_0x3157b9=this[_0x57eee4(0x33d)](_0x4045c1,_0x50ab7e);return this['_doCreateSocket'](_0x3157b9);}[_0x50820e(0x33d)](_0x1dacf0,_0x252b4d){const _0x1192c8=_0x50820e,_0x544739=typeof window>'u'?new URL(_0x1dacf0):new URL(_0x1dacf0,window[_0x1192c8(0x172)][_0x1192c8(0x310)]);_0x544739['searchParams']['set']('sessionTicket',_0x252b4d);const _0x361fa0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x361fa0[_0x1192c8(0x28b)](_0x1192c8(0x24e))&&_0x544739[_0x1192c8(0x250)][_0x1192c8(0x2a2)](_0x1192c8(0x24e),_0x361fa0[_0x1192c8(0x28b)](_0x1192c8(0x24e))),_0x544739[_0x1192c8(0x192)]();}async['_getSessionTicket'](){const _0x375e52=_0x50820e;var _0x8df8c8,_0x3fb50a,_0x8fbf6d;const _0x3fc22b=this[_0x375e52(0x18b)][_0x375e52(0x28c)](_0x8f194a),_0x89f35=(_0x8df8c8=_0x3fc22b==null?void 0x0:_0x3fc22b[_0x375e52(0x1c5)])!=null?_0x8df8c8:_0x175809;return(_0x8fbf6d=(_0x3fb50a=(await this['_httpService'][_0x375e52(0x28b)](_0x89f35,{'headers':{'Content-Type':'application/json'}}))[_0x375e52(0x283)])==null?void 0x0:_0x3fb50a[_0x375e52(0x1eb)])!=null?_0x8fbf6d:'';}};nt=Tn([z(0x0,_0xbe4765(_0x10647c)),z(0x1,_0xbe4765(_0x256f9b)),z(0x2,_0x3de9ad),z(0x3,_0x14bb70),z(0x4,_0x46cce0)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x4c8c9a{constructor(){const _0x3b84bd=_0x50820e;super(),_(this,_0x3b84bd(0x308),_0x232fd4()),_(this,'_selfUnitIDs',new Set()),_(this,_0x3b84bd(0x258),new Map()),_(this,_0x3b84bd(0x213),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3b84bd(0x320),new Map()),this[_0x3b84bd(0x302)]();}[_0x50820e(0x16e)](){const _0x539227=_0x50820e;super[_0x539227(0x16e)](),this[_0x539227(0x31b)][_0x539227(0x35c)]((_0x3d2a60,_0x36c67d)=>this[_0x539227(0x334)](_0x36c67d)),this[_0x539227(0x213)]&&window[_0x539227(0x2c3)](this[_0x539227(0x213)]);}[_0x50820e(0x2d4)](_0x1e4a09){const _0x1b8fe6=_0x50820e;return this[_0x1b8fe6(0x19c)](_0x1e4a09)['pipe'](_0x2f558a());}[_0x50820e(0x257)](_0x5b255e){const _0x3af4cc=_0x50820e;this['_selfUnitIDs']['size']===0x0&&this[_0x3af4cc(0x29d)](),this[_0x3af4cc(0x21d)][_0x3af4cc(0x2e8)](_0x5b255e),this[_0x3af4cc(0x19b)]({'type':0x0,'memberID':this[_0x3af4cc(0x308)],'unitIDs':[_0x5b255e],'isForwarded':!0x1});}[_0x50820e(0x17e)](_0x26871a){const _0x43ac15=_0x50820e;this[_0x43ac15(0x21d)][_0x43ac15(0x30d)](_0x26871a),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x43ac15(0x2c3)](this[_0x43ac15(0x213)]);}[_0x50820e(0x302)](){const _0x31d36e=_0x50820e;this[_0x31d36e(0x2ff)](_0x43282a(_0x945d2f(window,_0x31d36e(0x370))[_0x31d36e(0x20c)](_0x5bb373=>{const _0x42a697=_0x31d36e;if(_0x5bb373[_0x42a697(0x1d7)]!==ot||!_0x5bb373[_0x42a697(0x24b)])return;const _0x447cc9=JSON['parse'](_0x5bb373['newValue']);this['_handleEvent'](_0x447cc9);}))),window['addEventListener'](_0x31d36e(0x24f),()=>this[_0x31d36e(0x19b)]({'type':0x1,'memberID':this[_0x31d36e(0x308)],'unitIDs':Array[_0x31d36e(0x1f3)](this[_0x31d36e(0x21d)])}));}[_0x50820e(0x23e)](_0x4e36ec){const _0x3f1f35=_0x50820e;switch(_0x4e36ec[_0x3f1f35(0x27a)]){case 0x0:this[_0x3f1f35(0x1d0)](_0x4e36ec);break;case 0x1:this[_0x3f1f35(0x322)](_0x4e36ec);break;case 0x2:this[_0x3f1f35(0x293)](_0x4e36ec);break;}}[_0x50820e(0x1d0)](_0x299d36){const _0x3ee81c=_0x50820e,{unitIDs:_0x62092d,memberID:_0x274f49,isForwarded:_0x572817}=_0x299d36;_0x62092d[_0x3ee81c(0x35c)](_0x358eb6=>{const _0x4931e5=_0x3ee81c;if(!_0x572817&&this['_unitOnClients'][_0x4931e5(0x240)](_0x358eb6)&&this[_0x4931e5(0x19c)](_0x358eb6)['next'](_0x5e3f07[_0x4931e5(0x22b)]),!this[_0x4931e5(0x258)][_0x4931e5(0x240)](_0x358eb6)||!this[_0x4931e5(0x258)][_0x4931e5(0x28b)](_0x358eb6)[_0x4931e5(0x240)](_0x274f49)){const _0x2c5a09=this[_0x4931e5(0x258)][_0x4931e5(0x28b)](_0x358eb6)||new Set();_0x2c5a09['add'](_0x274f49),this['_unitOnClients'][_0x4931e5(0x2a2)](_0x358eb6,_0x2c5a09),this['_scheduleClearOtherTimer'](_0x274f49);}}),_0x572817||this[_0x3ee81c(0x19b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3ee81c(0x21d)]],'isForwarded':!0x0});}[_0x50820e(0x1a4)](_0xd7532a){const _0x182dd0=_0x50820e;this[_0x182dd0(0x334)](_0xd7532a);const _0x4c4b29=window[_0x182dd0(0x1fb)](()=>{const _0x14707b=_0x182dd0;this[_0x14707b(0x258)][_0x14707b(0x35c)](_0x2dd33f=>{const _0x465636=_0x14707b;_0x2dd33f[_0x465636(0x30d)](_0xd7532a);});},rt*0x2);this[_0x182dd0(0x31b)]['set'](_0xd7532a,_0x4c4b29);}[_0x50820e(0x334)](_0x3ddecf){const _0x2b6179=_0x50820e;if(this[_0x2b6179(0x31b)][_0x2b6179(0x240)](_0x3ddecf)){const _0x17b375=this[_0x2b6179(0x31b)][_0x2b6179(0x28b)](_0x3ddecf);_0x17b375&&window[_0x2b6179(0x183)](_0x17b375),this[_0x2b6179(0x31b)][_0x2b6179(0x2a2)](_0x3ddecf,null);}}[_0x50820e(0x322)](_0x1979fe){const _0xffa53=_0x50820e,{memberID:_0x170a6d,unitIDs:_0x3138cb}=_0x1979fe;_0x3138cb[_0xffa53(0x35c)](_0x340574=>{const _0x3c67f5=_0xffa53;var _0x123cc4;const _0x514fb0=this[_0x3c67f5(0x258)][_0x3c67f5(0x28b)](_0x340574);_0x514fb0&&(_0x514fb0[_0x3c67f5(0x30d)](_0x170a6d),(_0x123cc4=this['_ensureSubject'](_0x340574))==null||_0x123cc4[_0x3c67f5(0x313)](_0x514fb0['size']===0x0?_0x5e3f07[_0x3c67f5(0x254)]:_0x5e3f07[_0x3c67f5(0x22b)]));}),this[_0xffa53(0x334)](_0x170a6d);}[_0x50820e(0x293)](_0x16f8ce){const _0x1b10c7=_0x50820e;this[_0x1b10c7(0x1a4)](_0x16f8ce[_0x1b10c7(0x203)]);}[_0x50820e(0x19b)](_0x42d431){const _0x3a3531=_0x50820e;localStorage[_0x3a3531(0x29a)](ot,JSON[_0x3a3531(0x2eb)](_0x42d431));}['_scheduleHeartbeat'](){const _0x1108a8=_0x50820e;this['_heartbeatTimer']=window[_0x1108a8(0x28a)](()=>{const _0x395484=_0x1108a8;this[_0x395484(0x19b)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x50820e(0x19c)](_0x11a61b){const _0x29f3c5=_0x50820e;return this[_0x29f3c5(0x320)]['has'](_0x11a61b)||this['_unitStatus'][_0x29f3c5(0x2a2)](_0x11a61b,new _0xf8530c(_0x5e3f07[_0x29f3c5(0x254)])),this[_0x29f3c5(0x320)][_0x29f3c5(0x28b)](_0x11a61b);}}var Ut=(_0x798100=>(_0x798100[_0x798100[_0x50820e(0x1c1)]=0x0]=_0x50820e(0x1c1),_0x798100[_0x798100['OK']=0x1]='OK',_0x798100[_0x798100[_0x50820e(0x209)]=0x2]=_0x50820e(0x209),_0x798100[_0x798100[_0x50820e(0x2c8)]=0x3]='PERMISSION_DENIED',_0x798100[_0x798100[_0x50820e(0x351)]=0x4]=_0x50820e(0x351),_0x798100[_0x798100['UNAUTHENTICATED']=0x5]=_0x50820e(0x26d),_0x798100[_0x798100[_0x50820e(0x18e)]=0x6]='ALREADY_EXISTS',_0x798100[_0x798100[_0x50820e(0x1db)]=0x7]=_0x50820e(0x1db),_0x798100[_0x798100[_0x50820e(0x36d)]=0x8]='TOO_MANY_REQUESTS',_0x798100[_0x798100[_0x50820e(0x200)]=0x9]='COMPLETION_FINISHED',_0x798100[_0x798100[_0x50820e(0x180)]=0xa]=_0x50820e(0x180),_0x798100[_0x798100[_0x50820e(0x2a5)]=0x1389]=_0x50820e(0x2a5),_0x798100[_0x798100[_0x50820e(0x212)]=0x1771]=_0x50820e(0x212),_0x798100[_0x798100[_0x50820e(0x2a0)]=0x1772]=_0x50820e(0x2a0),_0x798100[_0x798100[_0x50820e(0x1c3)]=0x1773]=_0x50820e(0x1c3),_0x798100[_0x798100['APPLY_REJECT']=0x1b59]=_0x50820e(0x1b0),_0x798100[_0x798100[_0x50820e(0x364)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x798100[_0x798100[_0x50820e(0x1fe)]=0x1b5b]=_0x50820e(0x1fe),_0x798100[_0x798100[_0x50820e(0x349)]=0x1b5c]=_0x50820e(0x349),_0x798100[_0x798100[_0x50820e(0x33b)]=0x1b5d]=_0x50820e(0x33b),_0x798100[_0x798100[_0x50820e(0x358)]=0x1f41]=_0x50820e(0x358),_0x798100[_0x798100[_0x50820e(0x2c0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x798100[_0x798100['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x50820e(0x260),_0x798100[_0x798100[_0x50820e(0x1f9)]=0x232b]=_0x50820e(0x1f9),_0x798100[_0x798100[_0x50820e(0x201)]=0x232c]=_0x50820e(0x201),_0x798100[_0x798100['LICENSE_DISTRO_REJECTED']=0x232d]=_0x50820e(0x361),_0x798100[_0x798100['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x50820e(0x1b3),_0x798100[_0x798100['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x50820e(0x315),_0x798100[_0x798100['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x50820e(0x311),_0x798100[_0x798100[_0x50820e(0x2f9)]=0x2714]=_0x50820e(0x2f9),_0x798100[_0x798100['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x50820e(0x2fc),_0x798100[_0x798100[_0x50820e(0x28f)]=0x2ee1]=_0x50820e(0x28f),_0x798100[_0x798100[_0x50820e(0x1f5)]=0x2ee2]='INVALID_INVITE_CODE',_0x798100[_0x798100[_0x50820e(0x326)]=0x2ee3]=_0x50820e(0x326),_0x798100[_0x798100[_0x50820e(0x269)]=0x2ee4]=_0x50820e(0x269),_0x798100[_0x798100['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x50820e(0x24c),_0x798100[_0x798100[_0x50820e(0x340)]=0x32c9]=_0x50820e(0x340),_0x798100[_0x798100[_0x50820e(0x2cd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x798100[_0x798100[_0x50820e(0x1a1)]=0x32cb]=_0x50820e(0x1a1),_0x798100[_0x798100[_0x50820e(0x33f)]=-0x1]=_0x50820e(0x33f),_0x798100))(Ut||{}),Rn=Object[_0x50820e(0x2ce)],Dn=(_0x55478a,_0x2330fb,_0x29cdd0,_0x1e292c)=>{const _0x3545e0=_0x50820e;for(var _0x10f3a3=_0x1e292c>0x1?void 0x0:_0x1e292c?Rn(_0x2330fb,_0x29cdd0):_0x2330fb,_0x3b04f7=_0x55478a[_0x3545e0(0x23c)]-0x1,_0x1fe641;_0x3b04f7>=0x0;_0x3b04f7--)(_0x1fe641=_0x55478a[_0x3b04f7])&&(_0x10f3a3=_0x1fe641(_0x10f3a3)||_0x10f3a3);return _0x10f3a3;},Te=(_0x1ab454,_0x5a40f5)=>(_0x14243b,_0x30839b)=>_0x5a40f5(_0x14243b,_0x30839b,_0x1ab454);let at=class extends _0x4c8c9a{constructor(_0x828e27,_0x47fea1,_0x171ade){const _0xb2c0d6=_0x50820e;super(),this[_0xb2c0d6(0x249)]=_0x828e27,this[_0xb2c0d6(0x2a6)]=_0x47fea1,this[_0xb2c0d6(0x18b)]=_0x171ade;}async[_0x50820e(0x2e3)](_0x2c13ff,_0x3b159d,_0x1674b5,..._0xfab083){const _0x32f87c=_0x50820e;var _0x56f7ab,_0x30b29b,_0x4987ea,_0x55b8e3;const _0x5b1838=this[_0x32f87c(0x249)]['getFocusedUnit']();if(!_0x5b1838)throw new Error(_0x32f87c(0x1cc));const _0x55a507=((_0x56f7ab=this[_0x32f87c(0x18b)][_0x32f87c(0x28c)](_0x2a6ff8))!=null?_0x56f7ab:_0x2a4152)+'/'+_0x2c13ff+'/run/'+_0x3b159d,_0x205435=new URL(window[_0x32f87c(0x172)][_0x32f87c(0x344)]),_0x562c0d={'scriptId':_0x2c13ff,'runId':(_0x30b29b=_0x205435['searchParams'][_0x32f87c(0x28b)](_0x32f87c(0x24e)))!=null?_0x30b29b:'','function':_0x3b159d,'unitId':_0x5b1838[_0x32f87c(0x19f)](),'argsOfFunction':JSON[_0x32f87c(0x2eb)](_0xfab083),'invokeId':(_0x4987ea=_0x1674b5[_0x32f87c(0x2ac)])!=null?_0x4987ea:'','executionId':(_0x55b8e3=_0x1674b5[_0x32f87c(0x17b)])!=null?_0x55b8e3:''};try{const _0x2a2802=await this[_0x32f87c(0x2a6)][_0x32f87c(0x22a)](_0x55a507,{'body':_0x562c0d});return _0x2a2802[_0x32f87c(0x283)]['error']&&_0x2a2802[_0x32f87c(0x283)][_0x32f87c(0x1ea)][_0x32f87c(0x221)]!==Ut['OK']?_0x32f87c(0x1d6):_0x2a2802[_0x32f87c(0x283)]['result'];}catch{return _0x32f87c(0x1d6);}}};at=Dn([Te(0x0,_0x9adc5c),Te(0x1,_0xbe4765(_0x256f9b)),Te(0x2,_0x3de9ad)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x306380=_0x5f42;(function(_0x2b6f05,_0x43984d){const _0x5a9fb4=_0x5f42,_0x2d0284=_0x2b6f05();while(!![]){try{const _0x62b7d=parseInt(_0x5a9fb4(0x150))/0x1+parseInt(_0x5a9fb4(0x2ce))/0x2+-parseInt(_0x5a9fb4(0x258))/0x3*(parseInt(_0x5a9fb4(0x2b3))/0x4)+-parseInt(_0x5a9fb4(0x2bd))/0x5+parseInt(_0x5a9fb4(0x24c))/0x6*(parseInt(_0x5a9fb4(0x10a))/0x7)+-parseInt(_0x5a9fb4(0x189))/0x8+parseInt(_0x5a9fb4(0x1a9))/0x9;if(_0x62b7d===_0x43984d)break;else _0x2d0284['push'](_0x2d0284['shift']());}catch(_0x19340a){_0x2d0284['push'](_0x2d0284['shift']());}}}(_0x4b50,0xa7062));var Bt=Object[_0x306380(0xfd)],kt=(_0x131475,_0x4609d0,_0xcd055b)=>_0x4609d0 in _0x131475?Bt(_0x131475,_0x4609d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcd055b}):_0x131475[_0x4609d0]=_0xcd055b,_=(_0x5cf098,_0x574a31,_0x281220)=>kt(_0x5cf098,typeof _0x574a31!=_0x306380(0x27c)?_0x574a31+'':_0x574a31,_0x281220);import{MemberService as _0x58ec07,SessionStatus as _0x4739f2,CollaborationSessionService as _0x3f2fe9,CollaborationStatus as _0x344fd8,CollaborationController as _0x354dfa,ILocalCacheService as _0x2f27fe,CollaborationUIEventService as _0x27dc93,CollaborationUIEventId as _0x5532f5,DataLoaderService as _0x2f7e52,DocCollaborationEntity as _0x530020,getLocalCacheKey as _0x1ae124,LOCAL_CACHE_INTERVAL as _0xc97530,LOCAL_CACHE_INTERVAL_KEY as _0x4ab531,UniverCollaborationClientPlugin as _0x5bbdcb,CollaborationSocketService as _0x1b0c2c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x533465,DEFAULT_WS_SESSION_TICKET_URL as _0xa647e2,UnitStatus as _0x26192f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c2332,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1238ce}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x105c1b,Disposable as _0x212855,DOC_RANGE_TYPE as _0x56ed71,Inject as _0x3afd9e,Injector as _0x4b117,IUniverInstanceService as _0x5f5751,ICommandService as _0x459a93,debounce as _0xbbae5d,Rectangle as _0x507ca4,DisposableCollection as _0x5a6464,toDisposable as _0x360a92,UniverInstanceType as _0x1cd4b1,Tools as _0x322f9c,COLORS as _0x295266,ColorKit as _0x424f5f,ThemeService as _0x5a99a8,fromEventSubject as _0x18902a,LocaleService as _0x4d2fab,createIdentifier as _0x59fe85,ILogService as _0x3120e3,Optional as _0x1c9169,Workbook as _0x2e84fd,CommandType as _0x1846a2,IConfigService as _0xc0ea31,ILocalStorageService as _0x5971f0,DependentOn as _0x20d232,Plugin as _0x90d560,merge as _0x2d7b3e,registerDependencies as _0x1e658b,mergeOverrideWithDependencies as _0x3021db,touchDependencies as _0x2f0202,generateRandomId as _0xe28911}from'@univerjs/core';import{Shape as _0x4f35e0,Rect as _0x5327b6,getColor as _0x225e7c,RegularPolygon as _0x5b3fa0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ed841,Vector2 as _0x53eff0,SHEET_VIEWPORT_KEY as _0x591dad,IRenderManagerService as _0x177c33}from'@univerjs/engine-render';import{ISocketService as _0x1c152f,WebSocketService as _0x1ad0bd,HTTPService as _0x6f80c5}from'@univerjs/network';import{IDocClipboardService as _0x137d1b,NodePositionConvertToCursor as _0x5dc671,NodePositionConvertToRectRange as _0x1cf8c7,TEXT_RANGE_LAYER_INDEX as _0x26434a,SetDocZoomRatioOperation as _0x4f7111,DocIMEInputManagerService as _0x369c07,DocStateChangeManagerService as _0x3d861c}from'@univerjs/docs-ui';import{IImageIoService as _0x189d5f}from'@univerjs/drawing';import{BehaviorSubject as _0x39027c,debounceTime as _0x4994e9,takeUntil as _0x49b09f,Subject as _0x33a3b3,filter as _0xf328a7,switchMap as _0x3181cc,merge as _0x28bbdf,combineLatest as _0x2619b0,of as _0x5bba0d,fromEvent as _0x1b2312,shareReplay as _0x51a7e2,mapTo as _0x33a373,distinctUntilChanged as _0x26e109}from'rxjs';import{SetTextSelectionsOperation as _0x13c439,RichTextEditingMutation as _0xfd7e7b,DocSelectionManagerService as _0x512101,DocSkeletonManagerService as _0x23a42f}from'@univerjs/docs';import{ITransformService as _0x7bf59f,CollaborationEvent as _0x16c4e7,isTransformMutationFailure as _0x321bf4,isTransformMutationsWithChangesetSuccess as _0x2157ba,RevisionService as _0x15ca61,ISnapshotServerService as _0x11ed14}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4ec294,serializeRangeWithSheet as _0x39053c}from'@univerjs/engine-formula';import{RefRangeService as _0x3fd995,SetSelectionsOperation as _0x776421,SheetsSelectionsService as _0x150107,EffectRefRangId as _0xc1ea65,handleIRemoveRow as _0x195556,handleIRemoveCol as _0x1e0c6d,handleMoveRange as _0x1eb516,handleInsertRow as _0x3b7722,handleInsertRangeMoveRight as _0x4e2884,handleInsertRangeMoveDown as _0x5f221d,handleInsertCol as _0x48cddb,handleDeleteRangeMoveUp as _0x123231,handleDeleteRangeMoveLeft as _0x34b7ca,runRefRangeMutations as _0x5d7082,SetWorksheetActivateCommand as _0x481dfe}from'@univerjs/sheets';import{map as _0x30e61e,filter as _0x11ec65,throttleTime as _0x1f4720,takeUntil as _0x5ae3f6,switchMap as _0x58e5da}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e80f5,getCoordByCell as _0x5d8da6,getSheetObject as _0x1912c1}from'@univerjs/sheets-ui';import{jsx as _0x436a04,jsxs as _0x233a53}from'react/jsx-runtime';import{useObservable as _0x17463e,useDependency as _0x9b66f4,IUIPartsService as _0x294510,BuiltInUIPart as _0x567b99,connectInjector as _0x3afacf,IBeforeCloseService as _0xee54a5,IMessageService as _0x555e39,INotificationService as _0x278379}from'@univerjs/ui';import{clsx as _0x1fe989,Tooltip as _0x177b87,MessageType as _0x172d80}from'@univerjs/design';import{forwardRef as _0xce2410,useRef as _0x5407f6,createElement as _0x58e742,useCallback as _0x277056}from'react';import{IRemoteInstanceService as _0x33cba8}from'@univerjs/rpc';var li=Object[_0x306380(0x295)],_i=(_0x9f0370,_0x23a242,_0x385083,_0x451fd2)=>{const _0x30438d=_0x306380;for(var _0x1f4049=_0x451fd2>0x1?void 0x0:_0x451fd2?li(_0x23a242,_0x385083):_0x23a242,_0x1349a2=_0x9f0370[_0x30438d(0x2e0)]-0x1,_0x4153d4;_0x1349a2>=0x0;_0x1349a2--)(_0x4153d4=_0x9f0370[_0x1349a2])&&(_0x1f4049=_0x4153d4(_0x1f4049)||_0x1f4049);return _0x1f4049;},Qe=(_0x251118,_0xa631c4)=>(_0x1eca0a,_0x55301d)=>_0xa631c4(_0x1eca0a,_0x55301d,_0x251118);let Me=class extends _0x105c1b{constructor(_0x5a20fc,_0x16c35a){const _0x4177a6=_0x306380;super(),this['_docClipboardService']=_0x5a20fc,this['_imageIoService']=_0x16c35a,this[_0x4177a6(0x18a)]();}[_0x306380(0x18a)](){const _0x36585b=_0x306380,_0x5cfa00=this;this['disposeWithMe'](this['_docClipboardService'][_0x36585b(0x22e)]({'onBeforePasteImage':async _0x2c3a1f=>{const _0x5a852a=_0x36585b,_0x1e4444=await _0x5cfa00['_imageIoService']['saveImage'](_0x2c3a1f);return _0x1e4444?{'source':_0x1e4444[_0x5a852a(0x1ad)],'imageSourceType':_0x1e4444[_0x5a852a(0x2e8)]}:null;}}));}};Me=_i([Qe(0x0,_0x137d1b),Qe(0x1,_0x189d5f)],Me);const qe=[_0x306380(0x2d0),_0x306380(0x15f),_0x306380(0x252),'red300',_0x306380(0x166),'gold400'];class He extends _0x212855{constructor(){const _0xdea3fd=_0x306380;super(...arguments),_(this,_0xdea3fd(0x18f),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x593853){const _0x939159=_0x306380;if(this[_0x939159(0x18f)][_0x939159(0x291)](_0x593853))return this[_0x939159(0x18f)][_0x939159(0x1b8)](_0x593853);const _0x13a6bd=qe[this[_0x939159(0x2f2)]];return this[_0x939159(0x2f2)]=(this[_0x939159(0x2f2)]+0x1)%qe['length'],this[_0x939159(0x18f)]['set'](_0x593853,_0x13a6bd),_0x13a6bd;}}function Dt(_0x283dda){const _0x10df53=_0x306380;let _0xc66af3='';for(const _0xbe55cb of _0x283dda){const {startOffset:_0x47a69e,endOffset:_0x54f787,isActive:_0xebc776,rangeType:_0x22cacb,segmentId:_0x8e1e03,segmentPage:_0x4ab185}=_0xbe55cb;_0xc66af3[_0x10df53(0x2e0)]&&(_0xc66af3+=','),_0xc66af3+=_0x47a69e+':'+_0x54f787+':'+(_0xebc776?'1':'0')+':'+_0x22cacb+':'+_0x8e1e03+':'+_0x4ab185;}return _0xc66af3;}function hi(_0x1cd2af){const _0x3b127e=_0x306380,_0x58d181=_0x1cd2af[_0x3b127e(0x13a)](','),_0x454546=[];for(const _0x132e72 of _0x58d181){const [_0x29996a,_0x43277a,_0x1dcc91,_0xd5aadc,_0x5cd95c,_0x3357a0]=_0x132e72[_0x3b127e(0x13a)](':');_0x454546[_0x3b127e(0x11e)]({'startOffset':Number(_0x29996a),'endOffset':Number(_0x43277a),'collapsed':_0x29996a===_0x43277a,'isActive':_0x1dcc91==='1','rangeType':_0xd5aadc===_0x56ed71[_0x3b127e(0x1ed)]?_0x56ed71[_0x3b127e(0x1ed)]:_0x56ed71[_0x3b127e(0x1d3)],'segmentId':typeof _0x5cd95c==_0x3b127e(0x29b)?String(_0x5cd95c):'','segmentPage':Number(_0x3357a0!=null?_0x3357a0:-0x1)});}return _0x454546['some'](_0x3c2043=>_0x3c2043[_0x3b127e(0x15e)])||(_0x454546[0x0][_0x3b127e(0x15e)]=!0x0),_0x454546;}class je extends _0x105c1b{constructor(){const _0x466eef=_0x306380;super(...arguments),_(this,_0x466eef(0x12f),new _0x39027c(null)),_(this,_0x466eef(0x107),this[_0x466eef(0x12f)][_0x466eef(0x2af)]());}[_0x306380(0x210)](_0x413cd0){const _0x29af09=_0x306380,{unitID:_0x31990b,memberID:_0x578f77,textRanges:_0x2b3b27}=_0x413cd0,_0x2196bd=Dt(_0x2b3b27);if(_0x2196bd==='')return;const _0x33a069={'unitID':_0x31990b,'memberID':_0x578f77,'selection':_0x2196bd};this[_0x29af09(0x12f)][_0x29af09(0x157)](_0x33a069);}}var ui=Object[_0x306380(0x295)],di=(_0x3b586f,_0x5414f4,_0xb81e14,_0x5646e2)=>{const _0x537366=_0x306380;for(var _0x556555=_0x5646e2>0x1?void 0x0:_0x5646e2?ui(_0x5414f4,_0xb81e14):_0x5414f4,_0x55fb8e=_0x3b586f[_0x537366(0x2e0)]-0x1,_0x304b2e;_0x55fb8e>=0x0;_0x55fb8e--)(_0x304b2e=_0x3b586f[_0x55fb8e])&&(_0x556555=_0x304b2e(_0x556555)||_0x556555);return _0x556555;},U=(_0x4d32f9,_0x1a6e15)=>(_0x5127f5,_0x142c25)=>_0x1a6e15(_0x5127f5,_0x142c25,_0x4d32f9);const fi=0x12c,Si=0x64;let Pe=class extends _0x105c1b{constructor(_0x3a6867,_0x3e8cfe,_0x57848c,_0x2f839f,_0xc54b9,_0x39d743,_0x1efd33,_0x1da787,_0x57ff2c){const _0x12dd66=_0x306380;super(),_(this,_0x12dd66(0x22f),!0x1),_(this,'_init',!0x1),_(this,_0x12dd66(0x140),new _0x39027c(new Map())),_(this,_0x12dd66(0x172),this[_0x12dd66(0x140)][_0x12dd66(0x2af)]()),_(this,_0x12dd66(0x16f),new _0x39027c([])),_(this,_0x12dd66(0x243),this[_0x12dd66(0x16f)][_0x12dd66(0x17b)](_0x4994e9(fi))),_(this,_0x12dd66(0xf7),_0xbbae5d(_0x423499=>{const _0x53627a=_0x12dd66,_0x50cc7a={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this[_0x53627a(0x1ea)],'memberID':this[_0x53627a(0x161)]['getMemberID'](),'selection':Dt(_0x423499)}};this[_0x53627a(0x161)][_0x53627a(0x174)](_0x50cc7a,this[_0x53627a(0x1ea)]);},Si)),(this['unitID']=_0x3a6867,this['_session']=_0x3e8cfe,this['_injector']=_0x57848c,this[_0x12dd66(0x239)]=_0x2f839f,this['_memberService']=_0xc54b9,this[_0x12dd66(0xfb)]=_0x39d743,this[_0x12dd66(0x23b)]=_0x1efd33,this[_0x12dd66(0x1e8)]=_0x1da787,this['_commandService']=_0x57ff2c);}get['cursorInfo'](){const _0x1223b6=_0x306380;return this['_cursorInfo$'][_0x1223b6(0x242)]();}get[_0x306380(0x2be)](){const _0x473f83=_0x306380;return this[_0x473f83(0x16f)][_0x473f83(0x242)]();}['dispose'](){const _0x372c68=_0x306380;super[_0x372c68(0x211)](),this[_0x372c68(0x140)][_0x372c68(0x157)](new Map()),this['_cursorInfo$'][_0x372c68(0x191)](),this['_roomMembers$'][_0x372c68(0x157)]([]),this[_0x372c68(0x16f)]['complete']();}['init'](){const _0xa8c786=_0x306380;this[_0xa8c786(0x18a)]||(this[_0xa8c786(0x18a)]=!0x0,this['_session'][_0xa8c786(0x11d)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x1fd76a=>{const _0x8d2d82=_0xa8c786;_0x1fd76a===_0x4739f2[_0x8d2d82(0x2b2)]?this[_0x8d2d82(0x114)]():this[_0x8d2d82(0x118)]();}),this['_session'][_0xa8c786(0x1e9)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x14eec4=>{const _0x5eb650=_0xa8c786,_0x1070ef=_0x14eec4[_0x5eb650(0x253)];_0x1070ef===_0x16c4e7[_0x5eb650(0x224)]&&this['_onCursorUpdate'](_0x14eec4),_0x1070ef===_0x16c4e7[_0x5eb650(0x1fb)]&&this['_onCursorDelete'](_0x14eec4);}),this[_0xa8c786(0x1a6)](this['_commandService']['onCommandExecuted'](_0x309962=>{const _0x587603=_0xa8c786,_0x336373=_0x309962[_0x587603(0x18c)];_0x336373!=null&&this[_0x587603(0x22f)]&&_0x309962['id']===_0x13c439['id']&&_0x336373['unitId']===this[_0x587603(0x1ea)]&&_0x336373[_0x587603(0x1ce)]===!0x1&&_0x336373[_0x587603(0x25d)]['length']>0x0&&this[_0x587603(0xf7)](_0x336373[_0x587603(0x25d)]);})),this[_0xa8c786(0xfb)][_0xa8c786(0x107)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x225f2e=>{const _0x35255f=_0xa8c786;if((_0x225f2e==null?void 0x0:_0x225f2e['unitID'])!==this[_0x35255f(0x1ea)])return;const _0x2dbf46={'eventID':_0x16c4e7[_0x35255f(0x224)],'data':_0x225f2e};this[_0x35255f(0x165)](_0x2dbf46);}),this['disposeWithMe'](this[_0xa8c786(0x179)][_0xa8c786(0x287)](_0x1e16ec=>{const _0x3920b1=_0xa8c786;if(_0x1e16ec[_0x3920b1(0x18c)]==null)return;const _0xa60090=_0x1e16ec[_0x3920b1(0x18c)];if(_0x1e16ec['id']!==_0xfd7e7b['id']||_0xa60090[_0x3920b1(0x1f1)]!==this['unitID'])return;const _0x1e47f6={'id':_0x3920b1(0x117),'params':_0xa60090},_0x756dd9=this['cursorInfo'];for(const [_0x2bf78e,_0x13a282]of _0x756dd9){const _0x57a166={'id':_0x3920b1(0x117),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13a282['ranges']}},_0x307e3c=this['_transformService']['transformMutation'](_0x1e47f6,_0x57a166,!0x1);if(_0x321bf4(_0x307e3c))throw _0x307e3c[_0x3920b1(0x282)];_0x756dd9[_0x3920b1(0x1d4)](_0x2bf78e,{..._0x13a282,'ranges':_0x307e3c[_0x3920b1(0x137)][_0x3920b1(0x18c)][_0x3920b1(0x204)]});}queueMicrotask(()=>{const _0x15658d=_0x3920b1;this['_cursorInfo$'][_0x15658d(0x157)](_0x756dd9);});})));}[_0x306380(0x165)](_0x26c1b9){const _0x289f7d=_0x306380;var _0xa41783,_0x1148ac;const {memberID:_0x591965,selection:_0x23c153}=_0x26c1b9['data'],_0x1bf309=hi(_0x23c153),_0x5a47ca=(_0x1148ac=(_0xa41783=this['_memberService']['getMember'](this['unitID'],_0x591965))==null?void 0x0:_0xa41783['name'])!=null?_0x1148ac:_0x289f7d(0x2df),_0x2a8c63={'color':this[_0x289f7d(0x239)][_0x289f7d(0x10b)](_0x591965),'name':_0x5a47ca,'ranges':_0x1bf309},_0x41f7de=this[_0x289f7d(0x24e)];_0x41f7de[_0x289f7d(0x1d4)](_0x591965,_0x2a8c63),this[_0x289f7d(0x140)][_0x289f7d(0x157)](_0x41f7de);}['_onCursorDelete'](_0x52d56b){const _0x25366c=_0x306380,{memberID:_0xdde4c}=_0x52d56b[_0x25366c(0x220)],_0x48eb00=this[_0x25366c(0x24e)];_0x48eb00[_0x25366c(0x1ae)](_0xdde4c),this[_0x25366c(0x140)][_0x25366c(0x157)](_0x48eb00);}[_0x306380(0x114)](){const _0x4a9997=_0x306380;var _0x47c3d4;if(this[_0x4a9997(0x22f)]=!0x0,((_0x47c3d4=this[_0x4a9997(0x1e8)][_0x4a9997(0x2d3)]())==null?void 0x0:_0x47c3d4[_0x4a9997(0x2a6)]())!==this['unitID'])return;const _0x1d5f81=this[_0x4a9997(0x1b9)][_0x4a9997(0x1b8)](_0x512101)['getDocRanges']();Array[_0x4a9997(0x2cf)](_0x1d5f81)&&_0x1d5f81['length']>0x0&&this[_0x4a9997(0xf7)](_0x1d5f81);}['_toggleOffline'](){const _0xa39840=_0x306380;this[_0xa39840(0x22f)]=!0x1;}};Pe=di([U(0x2,_0x3afd9e(_0x4b117)),U(0x3,_0x3afd9e(He)),U(0x4,_0x3afd9e(_0x58ec07)),U(0x5,_0x3afd9e(je)),U(0x6,_0x7bf59f),U(0x7,_0x5f5751),U(0x8,_0x459a93)],Pe);var mi=Object[_0x306380(0x295)],gi=(_0x32ef9d,_0x5447d1,_0x18cf65,_0x4e2c90)=>{const _0x353a9b=_0x306380;for(var _0x5e8a3d=_0x4e2c90>0x1?void 0x0:_0x4e2c90?mi(_0x5447d1,_0x18cf65):_0x5447d1,_0x197fa9=_0x32ef9d[_0x353a9b(0x2e0)]-0x1,_0x47db28;_0x197fa9>=0x0;_0x197fa9--)(_0x47db28=_0x32ef9d[_0x197fa9])&&(_0x5e8a3d=_0x47db28(_0x5e8a3d)||_0x5e8a3d);return _0x5e8a3d;},x=(_0x119f80,_0x13ab02)=>(_0x195e81,_0x5e9b04)=>_0x13ab02(_0x195e81,_0x5e9b04,_0x119f80);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4e1dac=[],_0x5eec4b=!0x1;return _0x5a5050=>{const _0xd61343=_0x5f42;_0x4e1dac[_0xd61343(0x11e)](_0x5a5050),_0x5eec4b||(_0x5eec4b=!0x0,setTimeout(()=>{const _0x22c38d=_0xd61343;_0x4e1dac[_0x22c38d(0x159)](_0x1b75ad=>_0x1b75ad()),_0x4e1dac=[],_0x5eec4b=!0x1;}));};};let we=class extends _0x105c1b{constructor(_0x4576e4,_0x3ead83,_0x4915c1,_0x4b4eb4,_0x4046d6,_0x3fa45b,_0x47cab6,_0x6df795){const _0x225d77=_0x306380;super(),_(this,_0x225d77(0x22f),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x39027c(new Map())),_(this,_0x225d77(0x172),this[_0x225d77(0x140)][_0x225d77(0x2af)]()),_(this,'_roomMembers$',new _0x39027c([])),_(this,_0x225d77(0x243),this[_0x225d77(0x16f)]['pipe'](_0x4994e9(vi))),_(this,_0x225d77(0xf7),_0xbbae5d((_0x303898,_0x396be6)=>{const _0x31388b=_0x225d77,_0x51bfed={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x31388b(0x161)][_0x31388b(0x1bf)](),'selection':_0x39053c(_0x303898,_0x396be6[_0x31388b(0x143)])}};this[_0x31388b(0x161)]['send'](_0x51bfed,this[_0x31388b(0x1ea)]);},Ii)),(this[_0x225d77(0x1ea)]=_0x4576e4,this[_0x225d77(0x161)]=_0x3ead83,this[_0x225d77(0x1b9)]=_0x4915c1,this['_colorAssignService']=_0x4b4eb4,this[_0x225d77(0x2d2)]=_0x4046d6,this[_0x225d77(0x1e8)]=_0x3fa45b,this['_commandService']=_0x47cab6,this[_0x225d77(0x23e)]=_0x6df795);}get[_0x306380(0x24e)](){return this['_cursorInfo$']['getValue']();}get[_0x306380(0x2be)](){const _0xc22387=_0x306380;return this[_0xc22387(0x16f)][_0xc22387(0x242)]();}[_0x306380(0x211)](){const _0x276cf6=_0x306380;super[_0x276cf6(0x211)](),this[_0x276cf6(0x140)][_0x276cf6(0x157)](new Map()),this[_0x276cf6(0x140)]['complete'](),this[_0x276cf6(0x16f)]['next']([]),this[_0x276cf6(0x16f)][_0x276cf6(0x191)]();}[_0x306380(0x25e)](){const _0x584d5b=_0x306380;this['_init']||(this[_0x584d5b(0x18a)]=!0x0,this['_session'][_0x584d5b(0x11d)]['pipe'](_0x49b09f(this[_0x584d5b(0x2cb)]))[_0x584d5b(0x126)](_0x31ff86=>{_0x31ff86===_0x4739f2['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x584d5b(0x161)][_0x584d5b(0x1e9)][_0x584d5b(0x17b)](_0x49b09f(this['dispose$']))['subscribe'](_0x52a06d=>{const _0x168465=_0x584d5b,_0x35ee7e=_0x52a06d['eventID'];_0x35ee7e===_0x16c4e7[_0x168465(0x224)]&&this[_0x168465(0x165)](_0x52a06d),_0x35ee7e===_0x16c4e7[_0x168465(0x1fb)]&&this['_onCursorDelete'](_0x52a06d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x584d5b(0x287)](_0x5a1c99=>{const _0x4e323c=_0x584d5b;if(this['_online']&&_0x5a1c99['id']===_0x776421['id']&&_0x5a1c99[_0x4e323c(0x18c)][_0x4e323c(0x1f1)]===this[_0x4e323c(0x1ea)]){const _0x57394c=_0x5a1c99[_0x4e323c(0x18c)];this['_updateLocalCursor'](_0x57394c[_0x4e323c(0x2ea)],_0x57394c[_0x4e323c(0x1c9)][0x0]);}})));}[_0x306380(0x165)](_0x403bb0){const _0x562fcb=_0x306380;var _0x23619e,_0x4c755b;const {memberID:_0xbf9057,selection:_0x225068}=_0x403bb0['data'],{sheetName:_0x2fc6f9,range:_0x31c163}=_0x4ec294(_0x225068),_0x5d70d2={'name':(_0x4c755b=(_0x23619e=this[_0x562fcb(0x2d2)][_0x562fcb(0x14a)](this[_0x562fcb(0x1ea)],_0xbf9057))==null?void 0x0:_0x23619e[_0x562fcb(0x147)])!=null?_0x4c755b:_0x562fcb(0x2df),'range':this[_0x562fcb(0x1d5)](_0x2fc6f9,_0x31c163),'sheetID':_0x2fc6f9,'color':this['_colorAssignService'][_0x562fcb(0x10b)](_0xbf9057),'selection':_0x225068},_0x3ac67a=this[_0x562fcb(0x24e)];_0x3ac67a[_0x562fcb(0x1d4)](_0xbf9057,_0x5d70d2),this['_cursorInfo$'][_0x562fcb(0x157)](_0x3ac67a);}['_onCursorDelete'](_0x5a5a88){const _0x4f6163=_0x306380,{memberID:_0x3546d6}=_0x5a5a88[_0x4f6163(0x220)],_0x33c606=this[_0x4f6163(0x24e)];_0x33c606[_0x4f6163(0x1ae)](_0x3546d6),this[_0x4f6163(0x140)][_0x4f6163(0x157)](_0x33c606);}[_0x306380(0x1d5)](_0x3edcd5,_0x4d991a){const _0x53363b=_0x306380;var _0x1e9c6b,_0x324fec;const _0x159f43=(_0x324fec=(_0x1e9c6b=this[_0x53363b(0x1e8)][_0x53363b(0x108)](this[_0x53363b(0x1ea)]))==null?void 0x0:_0x1e9c6b[_0x53363b(0x288)](_0x3edcd5))==null?void 0x0:_0x324fec['getMergeData']();return(_0x159f43==null?void 0x0:_0x159f43['find'](_0x49f230=>_0x507ca4[_0x53363b(0x276)](_0x49f230,_0x4d991a)))||_0x4d991a;}[_0x306380(0x129)](){const _0x328cd2=_0x306380,_0x2f848b=new _0x5a6464(),_0x1469d4=pi(),_0x1537b1=()=>{const _0x2a44dc=_0x5f42;_0x2f848b['dispose']();const _0x244a01=(_0x4391b9,_0x575005,_0x1494a3,_0x21a93b)=>{const _0x1fbec3=_0x5f42;let _0x529158=[];switch(_0x4391b9['id']){case _0xc1ea65[_0x1fbec3(0x2e5)]:{_0x529158=_0x34b7ca(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x15a)]:{_0x529158=_0x123231(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x262)]:{_0x529158=_0x48cddb(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1fe)]:{_0x529158=_0x5f221d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['InsertRangeMoveRightCommandId']:{_0x529158=_0x4e2884(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x2b4)]:{_0x529158=_0x3b7722(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1dc)]:{_0x529158=_0x1eb516(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveColCommandId']:{_0x529158=_0x1e0c6d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveRowCommandId']:{_0x529158=_0x195556(_0x4391b9,_0x21a93b);break;}}const _0x26eb8c=_0x5d7082(_0x529158,_0x21a93b),_0x2e5531=this[_0x1fbec3(0x24e)][_0x1fbec3(0x1b8)](_0x575005);if(_0x2e5531&&_0x26eb8c){const _0x2fc3a0={..._0x2e5531,'range':_0x26eb8c};this[_0x1fbec3(0x24e)][_0x1fbec3(0x1d4)](_0x575005,_0x2fc3a0),_0x1469d4(()=>{const _0x427444=_0x1fbec3,_0x2d719d=this[_0x427444(0x23e)]['registerRefRange'](_0x26eb8c,_0x15c90a=>(_0x2d719d[_0x427444(0x211)](),_0x244a01(_0x15c90a,_0x575005,_0x1494a3,_0x26eb8c)));_0x2f848b[_0x427444(0x184)](_0x2d719d);});}return{'redos':[],'undos':[]};};this[_0x2a44dc(0x24e)][_0x2a44dc(0x159)]((_0x2cb3bd,_0x5817b9)=>{const _0x4fb849=_0x2a44dc,{range:_0x34fbcd,sheetID:_0x5f4fb7}=_0x2cb3bd,_0x230a9c=this[_0x4fb849(0x23e)][_0x4fb849(0x105)](_0x34fbcd,_0x9a3eca=>(_0x230a9c['dispose'](),_0x244a01(_0x9a3eca,_0x5817b9,_0x5f4fb7,_0x34fbcd)));_0x2f848b[_0x4fb849(0x184)](_0x230a9c);});};this[_0x328cd2(0x1a6)](_0x360a92(this[_0x328cd2(0x140)]['subscribe'](()=>{_0x1537b1();})));}['_toggleOnline'](){const _0x29de14=_0x306380;var _0x4ca51b,_0x1638cb;if(this[_0x29de14(0x22f)]=!0x0,((_0x4ca51b=this[_0x29de14(0x1e8)][_0x29de14(0x2d3)]())==null?void 0x0:_0x4ca51b[_0x29de14(0x2a6)]())!==this['unitID'])return;const _0x30e1e7=(_0x1638cb=this['_injector'][_0x29de14(0x1b8)](_0x150107)[_0x29de14(0x16b)]())==null?void 0x0:_0x1638cb[0x0],_0x22a797=this[_0x29de14(0x1e8)][_0x29de14(0x249)](_0x1cd4b1['UNIVER_SHEET'])[_0x29de14(0x111)]();_0x30e1e7&&_0x22a797&&this['_updateLocalCursor'](_0x22a797[_0x29de14(0x2f6)](),_0x30e1e7);}[_0x306380(0x118)](){const _0x1b35af=_0x306380;this[_0x1b35af(0x22f)]=!0x1;}};we=gi([x(0x2,_0x3afd9e(_0x4b117)),x(0x3,_0x3afd9e(He)),x(0x4,_0x3afd9e(_0x58ec07)),x(0x5,_0x5f5751),x(0x6,_0x459a93),x(0x7,_0x3afd9e(_0x3fd995))],we);var Ci=Object[_0x306380(0x295)],Ei=(_0x268ded,_0x3ecd75,_0x2fc5e1,_0x4e0bbe)=>{const _0x20adf3=_0x306380;for(var _0x198b66=_0x4e0bbe>0x1?void 0x0:_0x4e0bbe?Ci(_0x3ecd75,_0x2fc5e1):_0x3ecd75,_0x3c9191=_0x268ded[_0x20adf3(0x2e0)]-0x1,_0xd240cf;_0x3c9191>=0x0;_0x3c9191--)(_0xd240cf=_0x268ded[_0x3c9191])&&(_0x198b66=_0xd240cf(_0x198b66)||_0x198b66);return _0x198b66;},me=(_0x5d1a2d,_0x3fb523)=>(_0x5b7c39,_0x414a19)=>_0x3fb523(_0x5b7c39,_0x414a19,_0x5d1a2d);let H=class extends _0x105c1b{constructor(_0x3c810e,_0x26cce3,_0x395e1e){const _0x14bf17=_0x306380;super(),_(this,'_entities',new Map()),_(this,_0x14bf17(0x2e9),new _0x33a3b3()),(this[_0x14bf17(0x1e8)]=_0x3c810e,this[_0x14bf17(0x1b9)]=_0x26cce3,this['_collabSessionService']=_0x395e1e,this['_init']());}[_0x306380(0x211)](){const _0x8a1bfb=_0x306380;super[_0x8a1bfb(0x211)](),this[_0x8a1bfb(0x2e9)][_0x8a1bfb(0x191)](),this['_entities'][_0x8a1bfb(0x159)](_0x26bc98=>_0x26bc98[_0x8a1bfb(0x211)]());}['getCollabCursors$'](_0x54ebb0){const _0x5f10e3=_0x306380;return this['_entities'][_0x5f10e3(0x291)](_0x54ebb0)?this[_0x5f10e3(0x14d)]['get'](_0x54ebb0)[_0x5f10e3(0x172)]:this['_entityInit$'][_0x5f10e3(0x17b)](_0xf328a7(_0x2218b0=>_0x2218b0[_0x5f10e3(0x1ea)]===_0x54ebb0),_0x3181cc(_0x5ab419=>_0x5ab419[_0x5f10e3(0x172)]));}['_init'](){const _0x291b68=_0x306380;this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1['UNIVER_SHEET'])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))['subscribe'](async _0x4c1eb7=>{const _0x337d38=_0x291b68,_0x4f3523=_0x4c1eb7['getUnitId'](),_0xd9f3cb=await this[_0x337d38(0x1db)](_0x4f3523);this['_entityInit$'][_0x337d38(0x157)](_0xd9f3cb),this[_0x337d38(0x14d)][_0x337d38(0x1d4)](_0x4f3523,_0xd9f3cb);}),this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1[_0x291b68(0x1ac)])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))[_0x291b68(0x17b)](_0xf328a7(_0x450915=>!_0x450915[_0x291b68(0x2a6)]()[_0x291b68(0x25c)]('__')))[_0x291b68(0x126)](async _0x15f012=>{const _0x16c7cd=_0x291b68,_0x194986=_0x15f012[_0x16c7cd(0x2a6)](),_0x35db0c=await this[_0x16c7cd(0x124)](_0x194986);this[_0x16c7cd(0x2e9)][_0x16c7cd(0x157)](_0x35db0c),this[_0x16c7cd(0x14d)][_0x16c7cd(0x1d4)](_0x194986,_0x35db0c);}),_0x28bbdf(this[_0x291b68(0x1e8)][_0x291b68(0x215)](_0x1cd4b1[_0x291b68(0x1ac)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1cd4b1[_0x291b68(0x1cd)]))['pipe'](_0x49b09f(this['dispose$']))[_0x291b68(0x126)](_0x3bf898=>{const _0x5bd334=_0x291b68,_0x48aaab=_0x3bf898['getUnitId'](),_0x19324f=this[_0x5bd334(0x14d)][_0x5bd334(0x1b8)](_0x48aaab);_0x19324f&&(_0x19324f[_0x5bd334(0x211)](),this['_entities'][_0x5bd334(0x1ae)](_0x48aaab));});}async[_0x306380(0x1db)](_0x860831){const _0x191711=_0x306380,_0x34dce6=await this[_0x191711(0x16a)][_0x191711(0x2d5)](_0x860831),_0xfa6f44=this['_injector'][_0x191711(0x2e2)](we,_0x860831,_0x34dce6);return _0xfa6f44[_0x191711(0x25e)](),_0xfa6f44;}async[_0x306380(0x124)](_0x1ce8c5){const _0x103040=_0x306380,_0x1a3a9c=await this[_0x103040(0x16a)][_0x103040(0x2d5)](_0x1ce8c5),_0xc36b86=this[_0x103040(0x1b9)][_0x103040(0x2e2)](Pe,_0x1ce8c5,_0x1a3a9c);return _0xc36b86['init'](),_0xc36b86;}};H=Ei([me(0x0,_0x5f5751),me(0x1,_0x3afd9e(_0x4b117)),me(0x2,_0x3afd9e(_0x3f2fe9))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2445ab,_0x4e40d7){const _0x148cc2=_0x306380;let {radius:_0x50e65d,width:_0x549034,height:_0x4ceffc}=_0x4e40d7;_0x50e65d=_0x50e65d!=null?_0x50e65d:0x0,_0x549034=_0x549034!=null?_0x549034:0x1e,_0x4ceffc=_0x4ceffc!=null?_0x4ceffc:0x1e;let _0x1fda8b=0x0,_0x3ee556=0x0,_0x1316cc=0x0;_0x1fda8b=_0x3ee556=_0x1316cc=Math['min'](_0x50e65d,_0x549034/0x2,_0x4ceffc/0x2),_0x2445ab[_0x148cc2(0x142)](),_0x2445ab[_0x148cc2(0x1e2)](_0x1fda8b,0x0),_0x2445ab[_0x148cc2(0x16e)](_0x549034-_0x3ee556,0x0),_0x2445ab[_0x148cc2(0x1a7)](_0x549034-_0x3ee556,_0x3ee556,_0x3ee556,Math['PI']*0x3/0x2,0x0,!0x1),_0x2445ab[_0x148cc2(0x16e)](_0x549034,_0x4ceffc-_0x1316cc),_0x2445ab['arc'](_0x549034-_0x1316cc,_0x4ceffc-_0x1316cc,_0x1316cc,0x0,Math['PI']/0x2,!0x1),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x4ceffc),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x1fda8b),_0x2445ab[_0x148cc2(0x1a7)](_0x1fda8b,_0x1fda8b,_0x1fda8b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2445ab[_0x148cc2(0x1b4)](),_0x4e40d7[_0x148cc2(0x1ca)]&&(_0x2445ab[_0x148cc2(0x156)](),_0x2445ab[_0x148cc2(0x20c)]=_0x4e40d7[_0x148cc2(0x1ca)],_0x4e40d7[_0x148cc2(0x2e3)]===_0x148cc2(0x2bb)?_0x2445ab[_0x148cc2(0x1ca)](_0x148cc2(0x2bb)):_0x2445ab[_0x148cc2(0x1ca)](),_0x2445ab['restore']());}class ue extends _0x4f35e0{constructor(_0x5b7a84,_0x37bcd3){const _0x4ea9d2=_0x306380;super(_0x5b7a84,_0x37bcd3),_(this,'color'),_(this,'text'),(this[_0x4ea9d2(0x27b)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x27b)],this[_0x4ea9d2(0x2e4)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x2e4)]);}static[_0x306380(0x10c)](_0x3805cb,_0xcbe71b){const _0x354eec=_0x306380,{text:_0x7b502d,color:_0x32fdaa}=_0xcbe71b;_0x3805cb['save'](),_0x3805cb['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1726bb=_0x3805cb[_0x354eec(0x125)](_0x7b502d)['width'],_0x4d835a=Math[_0x354eec(0x2dd)](_0x1726bb+0x2*ge,et);Oi(_0x3805cb,{'height':te,'radius':0x4,'width':_0x4d835a,'fill':_0x32fdaa}),_0x3805cb[_0x354eec(0x20c)]=_0x354eec(0x1a3);const _0x319e85=ge,_0x21861b=te-bi,_0x59fed5=et-0x2*ge;if(_0x1726bb>_0x59fed5){let _0x3f4635='',_0x1cec20=0x0;for(const _0x41e1e1 of _0x7b502d){const _0x4470fa=_0x3805cb[_0x354eec(0x125)](_0x41e1e1)[_0x354eec(0x14f)];if(_0x1cec20+_0x4470fa<=_0x59fed5-_0x3805cb[_0x354eec(0x125)](_0x354eec(0x2d7))[_0x354eec(0x14f)])_0x3f4635+=_0x41e1e1,_0x1cec20+=_0x4470fa;else{_0x3f4635+='...';break;}}_0x3805cb[_0x354eec(0x151)](_0x3f4635,_0x319e85,_0x21861b);}else _0x3805cb[_0x354eec(0x151)](_0x7b502d,_0x319e85,_0x21861b);_0x3805cb[_0x354eec(0x2c8)]();}[_0x306380(0x15c)](_0x53f14a){const _0x24dcda=_0x306380;ue[_0x24dcda(0x10c)](_0x53f14a,this);}}const ve=_0x306380(0x19a),Ti=_0x306380(0x1f9),Ri=_0x306380(0x11f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x306380(0x1de);class tt{constructor(_0x7c45bc,_0x1f6f5f,_0x1050aa,_0xacffb2){const _0x79f0e4=_0x306380;_(this,_0x79f0e4(0x28b),[]),_(this,_0x79f0e4(0x269),null),_(this,_0x79f0e4(0x2db),null),_(this,'_anchorDot',null),_(this,_0x79f0e4(0x286),null),_(this,_0x79f0e4(0x207),null),(this[_0x79f0e4(0x1f4)]=_0x7c45bc,this[_0x79f0e4(0x255)]=_0x1f6f5f,this[_0x79f0e4(0x228)]=_0x1050aa,this['_document']=_0xacffb2,this[_0x79f0e4(0x138)]());}set[_0x306380(0x2b0)](_0x1358ff){const _0x552770=_0x306380;_0x1358ff?(this[_0x552770(0x198)]&&this['_anchorDot'][_0x552770(0x2fa)](),this[_0x552770(0x2db)]&&this[_0x552770(0x2db)]['show']()):(this[_0x552770(0x198)]&&this[_0x552770(0x198)][_0x552770(0x292)](),this['_textBubble']&&this['_textBubble'][_0x552770(0x2fa)]());}['dispose'](){const _0x57e89b=_0x306380;for(const _0x1d3ede of this[_0x57e89b(0x28b)])_0x1d3ede[_0x57e89b(0x211)]();this[_0x57e89b(0x2db)]&&this[_0x57e89b(0x2db)][_0x57e89b(0x211)](),this[_0x57e89b(0x198)]&&this[_0x57e89b(0x198)]['dispose'](),this['_anchor']&&this[_0x57e89b(0x269)][_0x57e89b(0x211)](),this[_0x57e89b(0x207)]&&this[_0x57e89b(0x207)]();}[_0x306380(0x138)](){const _0xb90352=_0x306380;var _0x325bde;const {_docSkeleton:_0x38d41a,_document:_0x107246}=this,{color:_0x3d2b46,name:_0xcb23b4,ranges:_0x5e366b}=this[_0xb90352(0x1f4)],_0x22a25d=_0x107246[_0xb90352(0x17d)](),{docsLeft:_0x314aa5,docsTop:_0x2f7996}=_0x22a25d,_0x5a88a2=new _0x5dc671(_0x22a25d,_0x38d41a);for(const {startOffset:_0x5904b9,endOffset:_0x2e4639,rangeType:_0x358a2f,segmentId:_0x365daf,segmentPage:_0x590090,collapsed:_0x1ef8c2,isActive:_0x2e7d23}of _0x5e366b){const _0x5a866f=_0x38d41a['findNodePositionByCharIndex'](_0x5904b9,!0x0,_0x365daf,_0x590090);let _0x250a17=_0x38d41a[_0xb90352(0x158)](_0x2e4639,!0x0,_0x365daf,_0x590090);if(_0x250a17==null&&(_0x250a17=_0x38d41a['findNodePositionByCharIndex'](_0x2e4639-0x1,!0x1,_0x365daf,_0x590090)),_0x2e7d23){const {contentBoxPointGroup:_0x572fe7}=_0x5a88a2[_0xb90352(0x251)](_0x250a17,_0x250a17);if(_0x572fe7[_0xb90352(0x2e0)]===0x0)continue;this['_drawAnchor'](_0x3d2b46,_0x572fe7,_0x314aa5,_0x2f7996,_0xcb23b4),this['_eventUnsubscribe']=this[_0xb90352(0x285)]();}if(_0x5a866f&&_0x250a17){if(_0x358a2f===_0x56ed71['RECT']){const _0x3568f7=new _0x1cf8c7(_0x22a25d,_0x38d41a),{pointGroup:_0x10f6ac}=(_0x325bde=_0x3568f7[_0xb90352(0x251)](_0x5a866f,_0x250a17))!=null?_0x325bde:{};if(_0x10f6ac==null||_0x10f6ac[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1ab)](_0x3d2b46,_0x10f6ac,_0x314aa5,_0x2f7996);}else{if(!_0x1ef8c2){const {borderBoxPointGroup:_0x5d9b4f}=_0x5a88a2['getRangePointData'](_0x5a866f,_0x250a17);if(_0x5d9b4f[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1e5)](_0x3d2b46,_0x5d9b4f,_0x314aa5,_0x2f7996);}}}}}['_drawAnchor'](_0x21357b,_0x2d600d,_0x5a336a,_0x1a4900,_0x284138){const _0x2b22a7=_0x306380,_0x1d9762=this['_getAnchorBounding'](_0x2d600d),{left:_0xbd8a90,top:_0x47e5e0,height:_0xab9f57}=_0x1d9762,_0x252fb3=this[_0x2b22a7(0x283)](),_0x101b59=Ni/_0x252fb3,_0x4a4acf=new _0x5327b6(ve+_0x322f9c['generateRandomId'](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900,'height':_0xab9f57,'width':Di,'fill':_0x21357b||_0x225e7c(_0x295266['black'],0x0),'strokeWidth':_0x101b59,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x4a4acf,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x4a4acf,_0x26434a);const _0x1d15dc=new _0x5327b6(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'evented':!0x1});this[_0x2b22a7(0x198)]=_0x1d15dc,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x1d15dc,_0x26434a);const _0x23dc8c=new ue(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-te,'text':_0x284138,'color':_0x21357b});this[_0x2b22a7(0x2db)]=_0x23dc8c,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x23dc8c,_0x26434a),this[_0x2b22a7(0x2b0)]=!0x1;}[_0x306380(0x285)](){const _0x15614b=_0x306380,_0x287f2b=this[_0x15614b(0x269)][_0x15614b(0x231)][_0x15614b(0x1b7)](()=>{this['_hover']=!0x0;}),_0x1f692a=this[_0x15614b(0x269)][_0x15614b(0x1cb)][_0x15614b(0x1b7)](()=>{const _0x525dd1=_0x15614b;this[_0x525dd1(0x286)]&&clearTimeout(this['_hideTimer']),this[_0x525dd1(0x286)]=setTimeout(()=>{const _0x33feef=_0x525dd1;this[_0x33feef(0x2b0)]=!0x1;},0x7d0);});return()=>{const _0x5156b9=_0x15614b;_0x287f2b[_0x5156b9(0x188)](),_0x1f692a[_0x5156b9(0x188)]();};}[_0x306380(0x1e5)](_0x29d272,_0x1538dd,_0x51b94b,_0xe83a3){const _0x2cccb1=_0x306380,_0x4c115b=new _0x424f5f(_0x29d272)['setAlpha'](0.2)[_0x2cccb1(0x110)](),_0x372021=new _0x5b3fa0(Ti+_0x322f9c[_0x2cccb1(0x194)](X),{'pointsGroup':_0x1538dd,'fill':_0x4c115b||_0x225e7c(_0x295266['black'],0.2),'left':_0x51b94b,'top':_0xe83a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccb1(0x28b)][_0x2cccb1(0x11e)](_0x372021),this['_scene']['addObject'](_0x372021,_0x26434a);}['_drawRectRange'](_0x36de9e,_0x16ddd8,_0x3d998a,_0x5d4be7){const _0x3d8888=_0x306380,_0x15cd67=new _0x424f5f(_0x36de9e)[_0x3d8888(0x162)](0.2)[_0x3d8888(0x110)](),_0x7d632b=new _0x5b3fa0(Ri+_0x322f9c[_0x3d8888(0x194)](X),{'pointsGroup':_0x16ddd8,'fill':_0x15cd67||_0x225e7c(_0x295266['black'],0.2),'left':_0x3d998a,'top':_0x5d4be7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d8888(0x28b)][_0x3d8888(0x11e)](_0x7d632b),this[_0x3d8888(0x255)][_0x3d8888(0x182)](_0x7d632b,_0x26434a);}['_getAnchorBounding'](_0x58ffde){const _0x4722a0=_0x58ffde[0x0],_0x351e20=_0x4722a0[0x0],_0x107c34=_0x4722a0[0x2],{x:_0x268274,y:_0xb63af8}=_0x351e20,{x:_0x26f3d1,y:_0x48f6a6}=_0x107c34;return{'left':_0x268274,'top':_0xb63af8,'width':_0x26f3d1-_0x268274,'height':_0x48f6a6-_0xb63af8};}[_0x306380(0x283)](){const _0x319b78=_0x306380,{scaleX:_0x579d9b,scaleY:_0x2e28aa}=this[_0x319b78(0x255)][_0x319b78(0x10d)]();return Math[_0x319b78(0x20a)](_0x579d9b,_0x2e28aa);}}var Pi=Object[_0x306380(0x295)],wi=(_0x577a48,_0x2079a2,_0x143da8,_0x2e31bf)=>{const _0x3a8c68=_0x306380;for(var _0xb880f9=_0x2e31bf>0x1?void 0x0:_0x2e31bf?Pi(_0x2079a2,_0x143da8):_0x2079a2,_0xd21418=_0x577a48[_0x3a8c68(0x2e0)]-0x1,_0x5c1bba;_0xd21418>=0x0;_0xd21418--)(_0x5c1bba=_0x577a48[_0xd21418])&&(_0xb880f9=_0x5c1bba(_0xb880f9)||_0xb880f9);return _0xb880f9;},Q=(_0x44e1b6,_0x1b9011)=>(_0x3bdd3b,_0x31ea26)=>_0x1b9011(_0x3bdd3b,_0x31ea26,_0x44e1b6);function _0x4b50(){const _0x4301f6=['getOwnPropertyDescriptor','_refreshCollabCursors','_cursors','undoState','setStateCache','post','string','UNAUTHENTICATED','_revisionService','random','NOT_FOUND','call','endRow','extend','_heartbeatTimer','engine','reconnect','getUnitId','translate(.97)','setTimeout','startColumn','_initDependencies','_localeService','actions','NOT_COLLAB','_collaborationController','asObservable','_hover','M0\x200H16V16H0z','ONLINE','4AIAueA','InsertRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','urlChange$','getVpScrollXYInfoByPosToVp','then','invokeId','evenodd','univer-online-status-icon','1895785EwKAHv','roomMembers','exhaustSavingTask','INTERNAL_ERROR','_createSocketURL','_send','_sheetSkeletonManagerService','endColumn','propertyIsEnumerable','_docTransformIMECacheService','_disabled','restore','_handleHeartbeatEvent','_scheduleClearOtherTimer','dispose$','concat','0\x200\x2016\x2016','1083248zLVkOP','isArray','purple300','debug','_memberService','getFocusedUnit','memberID','requireSession','INVITE_CODE_HAS_BEEN_UES','...','_saveCache','transformSelections','idSuffix','_textBubble','_uiPartsService','min','_transformHistoryAndStateStack','Unknown\x20user','length','getCurrent','createInstance','fillRule','text','DeleteRangeMoveLeftCommandId','transform','_scheduleHeartbeat','imageSourceType','_entityInit$','subUnitId','_beforeCloseService','sheetId','_logService','_registerDependencies','saveOfflineData','transformByState','_setupBeforeClosingHandler','_colorIndex','_labelPosition','makeDirty','flatMap','getSheetId','_ensureSubject','MUTATION','clipPath','hide','_updateLocalCursor','_localStorageService','Error','_collaborationUIEventService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','defineProperty','_dataLoaderService','use','onRendered','collabStatus.synced','round','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','none','registerRefRange','prototype','collabCursorState$','getUniverSheetInstance','on-line-single_clip0_910_349','756623PdVJdD','assignAColorForMemberID','drawWith','getAncestorScale','_renderManagerService','popstate','toRgbString','getActiveSheet','size','currentSkeleton$','_toggleOnline','removeParam','currentTheme$','doc.mutation.rich-text-editing','_toggleOffline','#fff','onlineStatus','_initEvent','getOwnPropertySymbols','sessionStatus$','push','collab-rect-range-','_updateURLWithCurrentState','updateOfflineData','WECHAT_HAS_BEEN_BOUND','_docTransformStateCacheService','_startDocCollabCursor','measureText','subscribe','collab-client.tooltip.reconnect','_transformPreviousActiveRange','_onRefRangeChange','deepClone','uni.network.url-service','YUUMI_URL_COL_OUT_OF_RANGE','1em','saveTaskMap','_collabCursorState$','top','replace','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-flex\x20univer-items-center','setShapeProps','_context','COMPLETION_FINISHED','m2Prime','_render','onPointerMove$','split','[CollaborationDataLoaderController]','PERMISSION_DENIED','_cachedData','row','registerBeforeClose','_cursorInfo$','defs','beginPath','range','_range','newValue','_removeClearOtherTimer','name','_clearOtherTimers','onLocalMutation','getMember','values','_docStateChangeManagerService','_entities','_hovered','width','385153vWyGoR','fillText','replaceState','svg','_status$','_notificationService','save','next','findNodePositionByCharIndex','forEach','DeleteRangeMoveUpCommandId','focused$','_draw','redoState','isActive','jiqing500','ALREADY_EXISTS','_session','setAlpha','_getSaveTimeout','apply','_onCursorUpdate','blue400','_handleLeaveEvent','_color','univer-online-status-title','_collabSessionService','getCurrentSelections','session.connection-failed','mask','lineTo','_roomMembers$','session.collaboration-timeout','collabStatus.notCollab','cursorInfo$','SNAPSHOT_INVALID_SNAPSHOT','send','clearTimeout','getUndoRedoMutationParamsCache','USER_NOT_INVITED_CODE','AWAITING','_commandService','icon','pipe','EMAIL_HAS_BEEN_BOUND','getOffsetConfig','addHandlerCallback','off-line-single_clip0_910_343','APPLY_PERMISSION_DENIED','map','addObject','transformStateCache','add','_backgroundColor','div','addObjects','unsubscribe','2174544pYTnlH','_init','column','params','univer-online-status','getCurrentRevOfUnit','_assignedColors','univerjs-icon\x20univerjs-icon-','complete','parse','LICENSE_DISTRO_REJECTED','generateRandomId','onMouseMove','unshift','_lastPointer','_anchorDot','UNRECOGNIZED','collab-text-anchor-','LOGIN_FAILED','ticket','_initStatusListener','key','HEADER_MENU','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','#FFF','unit','transformMutation','disposeWithMe','arc','ENSURE_SNAPSHOT_EXECUTION','10500318NSPcUn','docStateChange$','_drawRectRange','UNIVER_DOC','source','delete','selection','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','_getSessionTicket','hasOwnProperty','closePath','_initStatusComponent','OTHER_CLIENT_EDITING','subscribeEvent','get','_injector','_getSheetObject','mutations','setUndoRedoMutationParamsCache','getParam','session.will-retry','getMemberID','SOCKET_FAILED_RETRY','colorChannel1','getSkeleton','_unitStatus','_messageService','getRenderById','result','url(#off-line-single_clip0_910_343)','getUnhiddenWorksheets','selections','fill','onPointerLeave$','replaceDocRanges','UNIVER_SHEET','isEditing','with','INVALID_INVITE_CODE','toString','defIds','RECT','set','_getMergeRange','m1Prime','searchParams','setInterval','PY_RUNTIME_SCRIPT_ERROR','FromArray','_startSheetCollabCursor','MoveRangeCommandId','loadUnit','rgba(255,\x20255,\x20255,\x200.01)','_initEntityListener','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','Failed','OFFLINE','_drawTextRange','VIEW_MAIN','collaboration.closeRoom','_univerInstanceService','event$','unitID','path','0\x200\x2017\x2016','TEXT','pushState','CHANGESET_REVISION_CONFILICT','black','unitId','SOCKET_FAILED','_id','_cursor','_selfUnitIDs','onlineStatusTitle','transformRemoteChangeset','sheetID','collab-text-range-','disposeUnit','USERS_LEAVE','APPLY_REJECT','from','InsertRangeMoveDownCommandId','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_updateSubUnitFromURLParams','_removeCollabCursors','enableLocalCache','textRanges','transformIMECache','body','_eventUnsubscribe','current','APPLY_REVISION_CONFILICT','max','createSocket','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_themeService','syncEditingCollabCursor','dispose','getCollabEntity$','YUUMI_SUBSCRIPTION_NOT_FOUND','override','getTypeOfUnitDisposed$','setParam','_initResize','on-line-single','getStateCache','tag','xlink:href','function','_scheduleSaving','hovered','CONFLICT','data','runId','assign','executeCommand','UPDATE_CURSOR','_docSkeletonManagerService','_cursorShapes','setConfig','_docSkeleton','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','getCollabCursors$','SUBMIT_CHANGESET_TIMEOUT','collabStatus.fetchMiss','addClipboardHook','_online','/run/','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','_localCacheService','getConfig','getItem','height','_instanceService','online','_colorAssignService','entries','_transformService','indexOf','transformMutationsWithChangeset','_refRangeService','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','getRelativeToViewportCoord','getValue','roomMembers$','onTransformChange$','_httpService','offline','children','_collabCursorController','getCurrentUnitForType','storage','location','30wsEnuy','_initCommandExecutedListener','cursorInfo','startRow','type','getRangePointData','verdancy600','eventID','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','3896457DqbPlB','setItem','url(#on-line-single_clip0_910_349)','currentColor','startsWith','ranges','init','Warning','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','InsertColCommandId','addEventListener','attrs','FETCH_MISS','INVALID_ARGUMENT','OffLineSingle','collaboration.single-unit.warning','_anchor','trim','displayName','_configService','_urlService','_unitOnClients','className','onlineStatusIcon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_REQUIRED','href','executionId','contains','subunit','_docTransformSelectionsService','history','_name','color','symbol','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','runOnServer','onStarting','error','_getScale','TOO_MANY_REQUESTS','_handleHover','_hideTimer','onCommandExecuted','getSheetBySheetId','all','bottom','_shapes','entityInit$','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerComponent','_docSyncEditingCollabCursorService','has','show','whenReady','_config'];_0x4b50=function(){return _0x4301f6;};return _0x4b50();}let Ue=class extends _0x105c1b{constructor(_0x39822f,_0x6dcf0a,_0x317a29,_0x172236,_0x475b74){const _0x384447=_0x306380;super(),_(this,'_cursorShapes',[]),_(this,_0x384447(0x297),[]),(this[_0x384447(0x135)]=_0x39822f,this[_0x384447(0x225)]=_0x6dcf0a,this['_collabCursorController']=_0x317a29,this[_0x384447(0x179)]=_0x172236,this[_0x384447(0x20f)]=_0x475b74,this[_0x384447(0x18a)]());}[_0x306380(0x18a)](){const _0x5529c7=_0x306380,_0x564d59=this[_0x5529c7(0x135)][_0x5529c7(0x1f1)],_0x175870=this[_0x5529c7(0x225)];this[_0x5529c7(0x1a6)](_0x2619b0([this[_0x5529c7(0x248)]['getCollabCursors$'](_0x564d59),this[_0x5529c7(0x20f)][_0x5529c7(0x116)]])[_0x5529c7(0x17b)](_0x30e61e(([_0x1f6338,_0x3cbfa5])=>({'skeleton':_0x175870[_0x5529c7(0x1c2)](),'cursors':[..._0x1f6338[_0x5529c7(0x14b)]()][_0x5529c7(0x2f5)](_0x40adf7=>({..._0x40adf7,'color':_0x3cbfa5[_0x40adf7['color']]}))})))[_0x5529c7(0x126)](_0x3fa891=>{const _0x4d78ec=_0x5529c7;if(this[_0x4d78ec(0x202)](),_0x3fa891){const {skeleton:_0x521253,cursors:_0x20443c}=_0x3fa891;this[_0x4d78ec(0x200)](_0x521253,_0x20443c);}})),this[_0x5529c7(0x217)](),this[_0x5529c7(0x24d)]();}[_0x306380(0x200)](_0x3c1fb8,_0x299ae9){const _0x2143d6=_0x306380,{scene:_0x24046b,mainComponent:_0x40bb03}=this[_0x2143d6(0x135)],_0x339606=_0x299ae9['map'](_0x613f62=>new tt(_0x613f62,_0x24046b,_0x3c1fb8,_0x40bb03));this[_0x2143d6(0x226)]=_0x339606,this[_0x2143d6(0x297)]=_0x299ae9;}[_0x306380(0x296)](){const _0xa3e5da=_0x306380;this['_removeCollabCursors']();const {scene:_0x545118,mainComponent:_0xdc8acb}=this['_context'],_0xaced44=this[_0xa3e5da(0x225)][_0xa3e5da(0x1c2)](),_0x299e42=this[_0xa3e5da(0x297)][_0xa3e5da(0x181)](_0x18a778=>new tt(_0x18a778,_0x545118,_0xaced44,_0xdc8acb));this['_cursorShapes']=_0x299e42;}[_0x306380(0x202)](){const _0x5cf876=_0x306380;this[_0x5cf876(0x226)]['forEach'](_0x84345d=>_0x84345d['dispose']()),this[_0x5cf876(0x226)]=[];}['_initCommandExecutedListener'](){const _0x24862f=_0x306380,_0x213c86=[_0x4f7111['id']];this[_0x24862f(0x1a6)](this['_commandService'][_0x24862f(0x287)](_0x1e47c3=>{const _0x27c2e0=_0x24862f;_0x213c86['includes'](_0x1e47c3['id'])&&_0x1e47c3[_0x27c2e0(0x18c)][_0x27c2e0(0x1f1)]===this[_0x27c2e0(0x135)][_0x27c2e0(0x1f1)]&&this[_0x27c2e0(0x296)]();}));}['_initResize'](){const _0x51a2b1=_0x306380;this[_0x51a2b1(0x1a6)](_0x18902a(this[_0x51a2b1(0x135)][_0x51a2b1(0x2a4)][_0x51a2b1(0x244)])[_0x51a2b1(0x17b)](_0x11ec65(_0x96cf30=>_0x96cf30['type']===_0x5ed841['resize']),_0x1f4720(0x10))[_0x51a2b1(0x126)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x3afd9e(_0x23a42f)),Q(0x2,_0x3afd9e(H)),Q(0x3,_0x459a93),Q(0x4,_0x3afd9e(_0x5a99a8))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4f35e0{constructor(_0x497bdc,_0x46754a){const _0xdfcb97=_0x306380;super(_0x497bdc,_0x46754a),_(this,'_color'),_(this,_0xdfcb97(0x14e),!0x1),_(this,_0xdfcb97(0x144)),_(this,_0xdfcb97(0x27a),''),_(this,_0xdfcb97(0x2f3),_0xdfcb97(0x130)),_(this,_0xdfcb97(0x185)),(_0x46754a&&this[_0xdfcb97(0x134)](_0x46754a),this[_0xdfcb97(0x231)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x0})),this[_0xdfcb97(0x1cb)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x1})));}[_0x306380(0x134)](_0x59f89d){const _0x2140ea=_0x306380;var _0x38c1c0,_0x4ffb7d,_0x5797f2,_0x50b0b1,_0x2b4971,_0x3dedc6;this[_0x2140ea(0x168)]=(_0x38c1c0=_0x59f89d[_0x2140ea(0x27b)])!=null?_0x38c1c0:this[_0x2140ea(0x168)],this['_hovered']=(_0x4ffb7d=_0x59f89d[_0x2140ea(0x21e)])!=null?_0x4ffb7d:this[_0x2140ea(0x14e)],this['_range']=(_0x5797f2=_0x59f89d[_0x2140ea(0x143)])!=null?_0x5797f2:this[_0x2140ea(0x144)],this[_0x2140ea(0x27a)]=(_0x50b0b1=_0x59f89d[_0x2140ea(0x147)])!=null?_0x50b0b1:this[_0x2140ea(0x27a)],this['_labelPosition']=(_0x2b4971=_0x59f89d['labelPosition'])!=null?_0x2b4971:this['_labelPosition'],this[_0x2140ea(0x185)]=(_0x3dedc6=_0x59f89d['backgroundColor'])!=null?_0x3dedc6:this[_0x2140ea(0x185)],this[_0x2140ea(0x2f0)]({'width':_0x59f89d[_0x2140ea(0x14f)],'height':_0x59f89d[_0x2140ea(0x236)]});}[_0x306380(0x195)](_0x21e97b){const _0x4bd78c=_0x306380,{row:_0x5c2c98,column:_0x23d33c}=_0x21e97b;if(_0x5c2c98>=this['_range'][_0x4bd78c(0x24f)]&&_0x5c2c98<=this['_range'][_0x4bd78c(0x2a1)]&&_0x23d33c>=this[_0x4bd78c(0x144)][_0x4bd78c(0x2a9)]&&_0x23d33c<=this[_0x4bd78c(0x144)][_0x4bd78c(0x2c4)]){this[_0x4bd78c(0x134)]({'hovered':!0x0});return;}this[_0x4bd78c(0x134)]({'hovered':!0x1});}['triggerDblclick'](_0x45d975){return!0x1;}[_0x306380(0x15c)](_0x3e274c){const _0x54a289=_0x306380;_0x5327b6[_0x54a289(0x10c)](_0x3e274c,{'width':this[_0x54a289(0x14f)],'height':this[_0x54a289(0x236)],'strokeWidth':Li,'stroke':this[_0x54a289(0x168)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3e274c[_0x54a289(0x156)](),_0x3e274c[_0x54a289(0x2e6)](0x1,0x0,0x0,0x1,this['width'],this[_0x54a289(0x2f3)]===_0x54a289(0x28a)?0x0:-0x14),ue[_0x54a289(0x10c)](_0x3e274c,{'text':this[_0x54a289(0x27a)],'color':this[_0x54a289(0x168)]}),_0x3e274c['restore']());}}var yi=Object[_0x306380(0x295)],$i=(_0x44c496,_0x5d8313,_0x2d6365,_0x3fea5e)=>{const _0xeb2e1=_0x306380;for(var _0x3d954a=_0x3fea5e>0x1?void 0x0:_0x3fea5e?yi(_0x5d8313,_0x2d6365):_0x5d8313,_0x198642=_0x44c496[_0xeb2e1(0x2e0)]-0x1,_0x3a6d5f;_0x198642>=0x0;_0x198642--)(_0x3a6d5f=_0x44c496[_0x198642])&&(_0x3d954a=_0x3a6d5f(_0x3d954a)||_0x3d954a);return _0x3d954a;},pe=(_0x3b0dbe,_0x370e34)=>(_0x598eb2,_0x1d3b0f)=>_0x370e34(_0x598eb2,_0x1d3b0f,_0x3b0dbe);const xi=0x1389;let Le=class extends _0x105c1b{constructor(_0x10351b,_0x69152b,_0x1a65d7,_0x256e09){const _0x27733a=_0x306380;super(),_(this,'_cursors',new Set()),_(this,_0x27733a(0x197),null),(this['_context']=_0x10351b,this['_sheetSkeletonManagerService']=_0x69152b,this['_collabCursorController']=_0x1a65d7,this[_0x27733a(0x20f)]=_0x256e09,this[_0x27733a(0x18a)]());}['_init'](){const _0x42ad86=_0x306380;this[_0x42ad86(0x2c3)][_0x42ad86(0x113)][_0x42ad86(0x17b)](_0x5ae3f6(this[_0x42ad86(0x2cb)]),_0x58e5da(_0x445998=>{const _0xfac379=_0x42ad86;if(_0x445998){const _0x2689a4=_0x445998[_0xfac379(0x2ec)];return _0x2619b0(this[_0xfac379(0x248)][_0xfac379(0x22b)](this['_context']['unitId']),this['_themeService'][_0xfac379(0x116)])['pipe'](_0x30e61e(([_0x3afed7,_0x4aafab])=>{const _0x457ab6=_0xfac379,_0x40f159=new Map();return _0x3afed7[_0x457ab6(0x159)]((_0x804e68,_0x250b5c)=>{const _0xdb204f=_0x457ab6;if(_0x804e68[_0xdb204f(0x1f8)]===_0x2689a4){const _0x24e5c1={..._0x804e68};_0x24e5c1[_0xdb204f(0x27b)]=_0x4aafab[_0x804e68['color']],_0x40f159[_0xdb204f(0x1d4)](_0x250b5c,_0x24e5c1);}}),{'skeleton':_0x445998,'cursors':_0x40f159};}));}return _0x5bba0d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x37e807,cursors:_0x10b842})=>{const _0x3cbd0c=_0x42ad86;this[_0x3cbd0c(0x202)](),_0x37e807&&this[_0x3cbd0c(0x200)](_0x37e807,_0x10b842);}),this[_0x42ad86(0x2c3)]['currentSkeleton$'][_0x42ad86(0x126)](_0x358a1d=>{const _0x520682=_0x42ad86;if(_0x358a1d==null)return;const {skeleton:_0x3cfc67}=_0x358a1d,{scene:_0x3cdff2}=this[_0x520682(0x135)];_0x3cdff2[_0x520682(0x139)]['subscribeEvent'](_0xbbae5d(_0x5b6e40=>{const _0x224469=_0x520682;var _0x10df28,_0xafca19;const {offsetX:_0x2aa8b8,offsetY:_0x27dcc3}=_0x5b6e40,{x:_0x4eaf21,y:_0x2a642b}=_0x3cdff2[_0x224469(0x241)](_0x53eff0[_0x224469(0x1da)]([_0x2aa8b8,_0x27dcc3])),{scaleX:_0x20a5ea,scaleY:_0x49a159}=_0x3cdff2['getAncestorScale'](),_0x9d3bbc=_0x3cdff2[_0x224469(0x261)](_0x591dad[_0x224469(0x1e6)]),_0x53a7c4=_0x3cdff2[_0x224469(0x2b8)](_0x53eff0[_0x224469(0x1da)]([_0x4eaf21,_0x2a642b]),_0x9d3bbc),_0x2cf6c9=_0x3cfc67['getCellPositionByOffset'](_0x2aa8b8,_0x27dcc3,_0x20a5ea,_0x49a159,_0x53a7c4);((_0x10df28=this[_0x224469(0x197)])==null?void 0x0:_0x10df28[_0x224469(0x18b)])===_0x2cf6c9[_0x224469(0x18b)]&&((_0xafca19=this[_0x224469(0x197)])==null?void 0x0:_0xafca19[_0x224469(0x13e)])===_0x2cf6c9[_0x224469(0x13e)]||this[_0x224469(0x297)][_0x224469(0x159)](_0x216bb6=>{_0x216bb6['onMouseMove'](_0x2cf6c9);});},0x64));});}[_0x306380(0x200)](_0x60a44e,_0x1af887){const _0x279560=_0x306380;var _0x31f219;const _0x7ba51e=(_0x31f219=this[_0x279560(0x2c3)][_0x279560(0x2e1)]())==null?void 0x0:_0x31f219['skeleton'];if(!_0x7ba51e)return;const _0x381813=this[_0x279560(0x1ba)]();if(!_0x381813)return;this[_0x279560(0x297)]['forEach'](_0x522db7=>{const _0x5b09e5=_0x279560;_0x522db7[_0x5b09e5(0x2f4)]();});const {scene:_0x3a2d55}=_0x381813,_0x1e5f0f=Bi(Array[_0x279560(0x1fd)](_0x1af887[_0x279560(0x14b)]()))[_0x279560(0x181)](_0x165fe5=>{const _0x4693f2=_0x279560,{color:_0x1499ea,range:_0x47bbc5,name:_0x1a2b92,selection:_0x1a6a4a,sheetID:_0x46615e}=_0x165fe5,{startColumn:_0x1f23b8,startRow:_0x9fb652,endColumn:_0x290274,endRow:_0x1cf1f6}=_0x47bbc5,_0x227c07=_0x5d8da6(_0x9fb652,_0x1f23b8,_0x3a2d55,_0x7ba51e),_0x4f8810=_0x5d8da6(_0x1cf1f6,_0x290274,_0x3a2d55,_0x7ba51e),{columnHeaderHeightAndMarginTop:_0x495d0c}=_0x7ba51e,{startX:_0x3fcdc6,startY:_0x4ce0ce}=_0x227c07,{endX:_0x1d6d9c,endY:_0x5c5626}=_0x4f8810,_0x59892c=_0x1d6d9c-_0x3fcdc6,_0x43fb27=_0x5c5626-_0x4ce0ce,_0x5d5597={'labelPosition':_0x4ce0ce-_0x495d0c>=te?_0x4693f2(0x130):'bottom','sheetID':_0x46615e,'range':_0x47bbc5,'color':_0x1499ea,'name':_0x1a2b92,'selection':_0x1a6a4a,'left':_0x3fcdc6,'top':_0x4ce0ce,'width':_0x59892c,'height':_0x43fb27,'evented':!0x1,'zIndex':xi};return new Ai(_0x1a2b92,_0x5d5597);});_0x3a2d55[_0x279560(0x187)](_0x1e5f0f,Ui),this[_0x279560(0x297)]=new Set(_0x1e5f0f);}[_0x306380(0x202)](){const _0x592c4e=_0x306380;var _0x38a64e;(_0x38a64e=this[_0x592c4e(0x297)])==null||_0x38a64e['forEach'](_0x31e68f=>_0x31e68f[_0x592c4e(0x211)]());}[_0x306380(0x1ba)](){const _0x2acf87=_0x306380;return _0x1912c1(this[_0x2acf87(0x135)][_0x2acf87(0x1a4)],this[_0x2acf87(0x135)]);}};Le=$i([pe(0x1,_0x3afd9e(_0x3e80f5)),pe(0x2,_0x3afd9e(H)),pe(0x3,_0x3afd9e(_0x5a99a8))],Le);function Bi(_0x366d3c){const _0x54231c=_0x306380,_0x2495f2=new Map();return _0x366d3c[_0x54231c(0x159)](_0x3b3a8d=>{const _0x1df2d5=_0x54231c;if(_0x2495f2['has'](_0x3b3a8d[_0x1df2d5(0x1af)])){const _0x2257f2=_0x2495f2[_0x1df2d5(0x1b8)](_0x3b3a8d[_0x1df2d5(0x1af)]);_0x2257f2['name']+=',\x20'+_0x3b3a8d[_0x1df2d5(0x147)];}else _0x2495f2[_0x1df2d5(0x1d4)](_0x3b3a8d[_0x1df2d5(0x1af)],_0x3b3a8d);}),Array[_0x54231c(0x1fd)](_0x2495f2[_0x54231c(0x14b)]());}var I=function(){const _0x2658d4=_0x306380;return I=Object[_0x2658d4(0x222)]||function(_0x5b9226){const _0xc10e1d=_0x2658d4;for(var _0x1e5a38,_0x438f1f=0x1,_0x53a828=arguments[_0xc10e1d(0x2e0)];_0x438f1f<_0x53a828;_0x438f1f++){_0x1e5a38=arguments[_0x438f1f];for(var _0x1cdfbc in _0x1e5a38)Object[_0xc10e1d(0x106)][_0xc10e1d(0x1b3)][_0xc10e1d(0x2a0)](_0x1e5a38,_0x1cdfbc)&&(_0x5b9226[_0x1cdfbc]=_0x1e5a38[_0x1cdfbc]);}return _0x5b9226;},I[_0x2658d4(0x164)](this,arguments);},ki=function(_0x366648,_0x35f734){const _0x5a0424=_0x306380;var _0x1278cc={};for(var _0x5c1c4a in _0x366648)Object[_0x5a0424(0x106)][_0x5a0424(0x1b3)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a)&&_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a)<0x0&&(_0x1278cc[_0x5c1c4a]=_0x366648[_0x5c1c4a]);if(_0x366648!=null&&typeof Object[_0x5a0424(0x11c)]==_0x5a0424(0x21c)){for(var _0x34bc38=0x0,_0x5c1c4a=Object[_0x5a0424(0x11c)](_0x366648);_0x34bc38<_0x5c1c4a[_0x5a0424(0x2e0)];_0x34bc38++)_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a[_0x34bc38])<0x0&&Object[_0x5a0424(0x106)][_0x5a0424(0x2c5)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a[_0x34bc38])&&(_0x1278cc[_0x5c1c4a[_0x34bc38]]=_0x366648[_0x5c1c4a[_0x34bc38]]);}return _0x1278cc;},We=_0xce2410(function(_0x27f7e2,_0xd6ec60){const _0x542ca4=_0x306380;var _0x4a53dc=_0x27f7e2[_0x542ca4(0x17a)],_0x161c90=_0x27f7e2['id'],_0x3a05be=_0x27f7e2['className'],_0x1eaa2a=_0x27f7e2[_0x542ca4(0x2a2)],_0x17ee7e=ki(_0x27f7e2,[_0x542ca4(0x17a),'id',_0x542ca4(0x26f),_0x542ca4(0x2a2)]),_0x3be5e7=_0x542ca4(0x190)['concat'](_0x161c90,'\x20')[_0x542ca4(0x2cc)](_0x3a05be||'')[_0x542ca4(0x26a)](),_0x396bc4=_0x5407f6('_'[_0x542ca4(0x2cc)](Wi()));return Nt(_0x4a53dc,''['concat'](_0x161c90),{'defIds':_0x4a53dc['defIds'],'idSuffix':_0x396bc4[_0x542ca4(0x208)]},I({'ref':_0xd6ec60,'className':_0x3be5e7},_0x17ee7e),_0x1eaa2a);});function Nt(_0x3cd6ec,_0x488d72,_0x38b07,_0x202d79,_0x3f7435){const _0x177217=_0x306380;return _0x58e742(_0x3cd6ec[_0x177217(0x21a)],I(I({'key':_0x488d72},Hi(_0x3cd6ec,_0x38b07,_0x3f7435)),_0x202d79),(ji(_0x3cd6ec,_0x38b07)[_0x177217(0x247)]||[])[_0x177217(0x181)](function(_0x3a6904,_0x2de3e0){const _0x582a4d=_0x177217;return Nt(_0x3a6904,''[_0x582a4d(0x2cc)](_0x488d72,'-')[_0x582a4d(0x2cc)](_0x3cd6ec['tag'],'-')[_0x582a4d(0x2cc)](_0x2de3e0),_0x38b07,void 0x0,_0x3f7435);}));}function Hi(_0x4bc236,_0x3ad4bd,_0x72c441){const _0x17bd7c=_0x306380;var _0x1655a1=I({},_0x4bc236[_0x17bd7c(0x264)]);_0x72c441!=null&&_0x72c441[_0x17bd7c(0x1c1)]&&_0x1655a1[_0x17bd7c(0x1ca)]===_0x17bd7c(0x1c1)&&(_0x1655a1[_0x17bd7c(0x1ca)]=_0x72c441[_0x17bd7c(0x1c1)]),_0x4bc236['tag']===_0x17bd7c(0x16d)&&_0x1655a1['id']&&(_0x1655a1['id']=_0x1655a1['id']+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)[_0x17bd7c(0x159)](function(_0x5da4d1){const _0x3ffbbc=_0x17bd7c;var _0x1b8412=_0x5da4d1[0x0],_0x44babd=_0x5da4d1[0x1];_0x1b8412===_0x3ffbbc(0x16d)&&typeof _0x44babd==_0x3ffbbc(0x29b)&&(_0x1655a1[_0x1b8412]=_0x44babd[_0x3ffbbc(0x131)](/url\(#(.*)\)/,'url(#$1'[_0x3ffbbc(0x2cc)](_0x3ad4bd[_0x3ffbbc(0x2da)],')')));});var _0x43f6d3=_0x3ad4bd[_0x17bd7c(0x1d2)];return!_0x43f6d3||_0x43f6d3[_0x17bd7c(0x2e0)]===0x0||(_0x4bc236[_0x17bd7c(0x21a)]===_0x17bd7c(0xff)&&_0x1655a1['xlink:href']&&(_0x1655a1[_0x17bd7c(0x21b)]=_0x1655a1[_0x17bd7c(0x21b)]+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)['forEach'](function(_0x308477){const _0x529c37=_0x17bd7c;var _0x91094e=_0x308477[0x0],_0x4efcb8=_0x308477[0x1];typeof _0x4efcb8==_0x529c37(0x29b)&&(_0x1655a1[_0x91094e]=_0x4efcb8['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3ad4bd['idSuffix'],')')));})),_0x1655a1;}function ji(_0x1eea27,_0x28d0a7){const _0x21b3f4=_0x306380;var _0x37ee19,_0x1a7ca=_0x28d0a7[_0x21b3f4(0x1d2)];return!_0x1a7ca||_0x1a7ca[_0x21b3f4(0x2e0)]===0x0?_0x1eea27:_0x1eea27[_0x21b3f4(0x21a)]===_0x21b3f4(0x141)&&(!((_0x37ee19=_0x1eea27[_0x21b3f4(0x247)])===null||_0x37ee19===void 0x0)&&_0x37ee19[_0x21b3f4(0x2e0)])?I(I({},_0x1eea27),{'children':_0x1eea27[_0x21b3f4(0x247)][_0x21b3f4(0x181)](function(_0x21fd6a){const _0x44f18e=_0x21b3f4;return typeof _0x21fd6a[_0x44f18e(0x264)]['id']==_0x44f18e(0x29b)&&_0x1a7ca&&_0x1a7ca['indexOf'](_0x21fd6a['attrs']['id'])>-0x1?I(I({},_0x21fd6a),{'attrs':I(I({},_0x21fd6a[_0x44f18e(0x264)]),{'id':_0x21fd6a[_0x44f18e(0x264)]['id']+_0x28d0a7[_0x44f18e(0x2da)]})}):_0x21fd6a;})}):_0x1eea27;}function Wi(){const _0xd48968=_0x306380;return Math[_0xd48968(0x29e)]()[_0xd48968(0x1d1)](0x24)['substring'](0x2,0x8);}We[_0x306380(0x26b)]='UniverIcon';var Fi={'tag':_0x306380(0x153),'attrs':{'fill':_0x306380(0x104),'viewBox':_0x306380(0x2cd),'width':_0x306380(0x12d),'height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x1c7)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x306380(0x102),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1)}}]}]}],'defIds':[_0x306380(0x17f)]},Mt=_0xce2410(function(_0xf31a3f,_0x426331){return _0x58e742(We,Object['assign']({},_0xf31a3f,{'id':'off-line-single','ref':_0x426331,'icon':Fi}));});Mt[_0x306380(0x26b)]=_0x306380(0x267);var Vi={'tag':_0x306380(0x153),'attrs':{'fill':'none','viewBox':_0x306380(0x1ec),'width':'1em','height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x25a)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':_0x306380(0x103),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':_0x306380(0x2f9),'attrs':{'id':_0x306380(0x109)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1),'transform':_0x306380(0x2a7)}}]}]}],'defIds':[_0x306380(0x109)]},Pt=_0xce2410(function(_0x162c52,_0x41ad67){const _0x32d7f6=_0x306380;return _0x58e742(We,Object[_0x32d7f6(0x222)]({},_0x162c52,{'id':_0x32d7f6(0x218),'ref':_0x41ad67,'icon':Vi}));});Pt['displayName']='OnLineSingle';const Yi=_0x306380(0x2bc),Xi=_0x306380(0x169),Gi=_0x306380(0x18d),Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5bd2e2){const _0x1835ab=_0x306380;switch(_0x5bd2e2){case _0x344fd8[_0x1835ab(0x1e4)]:return'collabStatus.offline';case _0x344fd8[_0x1835ab(0x21f)]:return'collabStatus.conflict';case _0x344fd8[_0x1835ab(0x265)]:return _0x1835ab(0x22d);case _0x344fd8[_0x1835ab(0x2ad)]:return _0x1835ab(0x171);case _0x344fd8[_0x1835ab(0x178)]:case _0x344fd8[_0x1835ab(0x20e)]:return'collabStatus.syncing';case _0x344fd8['SYNCED']:case _0x344fd8['PENDING']:return _0x1835ab(0x101);}}function Zi(_0x3e7155){const _0x184906=_0x306380,{status$:_0x450851}=_0x3e7155,_0x74fc53=_0x17463e(_0x450851,_0x344fd8[_0x184906(0x2ad)]),_0x4e4d44=_0x9b66f4(_0x4d2fab),_0x200e54=_0x9b66f4(_0x3f2fe9),_0x2caf36=_0x74fc53!==_0x344fd8['OFFLINE'],_0x481aad=_0x4e4d44['t'](Ji(_0x74fc53)),_0x19e9a6=_0x1fe989(G[_0x184906(0x11a)],{[G[_0x184906(0x238)]]:_0x2caf36,[G[_0x184906(0x246)]]:!_0x2caf36}),_0x579c02=_0x2caf36?_0x436a04(Pt,{}):_0x436a04(Mt,{}),_0x4ef737=_0x277056(()=>{const _0x3215ec=_0x184906;_0x2caf36||_0x200e54[_0x3215ec(0x2a5)]();},[_0x2caf36,_0x200e54]);function _0x1dc4d3(){const _0x144c0b=_0x184906;return _0x233a53(_0x144c0b(0x186),{'className':_0x1fe989(_0x19e9a6,_0x144c0b(0x133)),'onClick':_0x4ef737,'children':[_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x270)],'children':_0x579c02}),_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x1f6)],'children':_0x481aad})]});}return _0x2caf36?_0x1dc4d3():_0x436a04(_0x177b87,{'title':_0x4e4d44['t'](_0x184906(0x127)),'children':_0x1dc4d3()});}var Qi=Object[_0x306380(0x295)],qi=(_0x5db617,_0x2e8173,_0x5545e8,_0x520313)=>{const _0xabb644=_0x306380;for(var _0xdb4e8d=_0x520313>0x1?void 0x0:_0x520313?Qi(_0x2e8173,_0x5545e8):_0x2e8173,_0x3ed90b=_0x5db617[_0xabb644(0x2e0)]-0x1,_0xb4e8a6;_0x3ed90b>=0x0;_0x3ed90b--)(_0xb4e8a6=_0x5db617[_0x3ed90b])&&(_0xdb4e8d=_0xb4e8a6(_0xdb4e8d)||_0xdb4e8d);return _0xdb4e8d;},q=(_0x4253ce,_0x5f4651)=>(_0x445246,_0x4d9a9e)=>_0x5f4651(_0x445246,_0x4d9a9e,_0x4253ce);let se=class extends _0x212855{constructor(_0x515c93,_0x3d7e4d,_0x544bb4,_0x1d0d0b){const _0x186b11=_0x306380;super(),_(this,_0x186b11(0x154),new _0x39027c(_0x344fd8[_0x186b11(0x2ad)])),(this['_univerInstanceService']=_0x515c93,this[_0x186b11(0x1b9)]=_0x3d7e4d,this[_0x186b11(0x2ae)]=_0x544bb4,this['_uiPartsService']=_0x1d0d0b,this[_0x186b11(0x1b5)](),this[_0x186b11(0x19d)]());}[_0x306380(0x19d)](){const _0x2f949c=_0x306380;this['disposeWithMe'](this[_0x2f949c(0x1e8)][_0x2f949c(0x15b)][_0x2f949c(0x17b)](_0x3181cc(()=>{const _0x45d96a=_0x2f949c,_0x3dee5b=this[_0x45d96a(0x1e8)][_0x45d96a(0x2d3)]();return _0x3dee5b?this[_0x45d96a(0x2ae)][_0x45d96a(0x212)](_0x3dee5b['getUnitId']()):_0x5bba0d(null);}),_0x3181cc(_0x10c9c5=>_0x10c9c5?_0x10c9c5['status$']:_0x5bba0d(_0x344fd8['NOT_COLLAB'])))[_0x2f949c(0x126)](_0x419ffe=>{const _0x3fe1e8=_0x2f949c;this[_0x3fe1e8(0x154)]['next'](_0x419ffe);}));}[_0x306380(0x1b5)](){const _0x4c54d7=_0x306380;this[_0x4c54d7(0x1a6)](this[_0x4c54d7(0x2dc)][_0x4c54d7(0x28f)](_0x567b99[_0x4c54d7(0x19f)],()=>_0x3afacf(en({'status$':this[_0x4c54d7(0x154)]['asObservable']()}),this['_injector'])));}};se=qi([q(0x0,_0x5f5751),q(0x1,_0x3afd9e(_0x4b117)),q(0x2,_0x3afd9e(_0x354dfa)),q(0x3,_0x294510)],se);function en(_0x138790){const {status$:_0x663ee8}=_0x138790;return function(){return _0x436a04(Zi,{'status$':_0x663ee8});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3f3e7e,_0x5cc22d,_0x2b8508,_0x169924)=>{for(var _0x270d31=_0x169924>0x1?void 0x0:_0x169924?tn(_0x5cc22d,_0x2b8508):_0x5cc22d,_0x264715=_0x3f3e7e['length']-0x1,_0x2a22be;_0x264715>=0x0;_0x264715--)(_0x2a22be=_0x3f3e7e[_0x264715])&&(_0x270d31=_0x2a22be(_0x270d31)||_0x270d31);return _0x270d31;},B=(_0x3ff09c,_0x1003ec)=>(_0x3a6b50,_0x1e7411)=>_0x1003ec(_0x3a6b50,_0x1e7411,_0x3ff09c);let ie=class extends _0x212855{constructor(_0x31e968,_0x34550d,_0xc6c6d1,_0x5acc10,_0x30e725,_0x418b7b){const _0x322ef2=_0x306380;super(),this['_beforeCloseService']=_0x31e968,this[_0x322ef2(0x233)]=_0x34550d,this['_collaborationUIEventService']=_0xc6c6d1,this[_0x322ef2(0x1c4)]=_0x5acc10,this[_0x322ef2(0x155)]=_0x30e725,this[_0x322ef2(0x2ab)]=_0x418b7b,this[_0x322ef2(0x2f1)](),this['_initEvent']();}[_0x306380(0x2f1)](){const _0x3d8b0f=_0x306380;this['disposeWithMe'](this[_0x3d8b0f(0x2eb)][_0x3d8b0f(0x13f)](()=>{const _0x45fd60=_0x3d8b0f;if(this[_0x45fd60(0x233)][_0x45fd60(0x12e)][_0x45fd60(0x112)])return this[_0x45fd60(0x2ab)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x306380(0x11b)](){const _0x50c85b=_0x306380;this[_0x50c85b(0x1a6)](this[_0x50c85b(0xfa)][_0x50c85b(0x1e9)][_0x50c85b(0x126)](_0x29bf94=>{const _0x1a911e=_0x50c85b;_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1b6)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x268))}),_0x29bf94['id']===_0x5532f5['CLOSE_ROOM']&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x13c)]&&this['_notificationService'][_0x1a911e(0x292)]({'title':this[_0x1a911e(0x2ab)]['t']('permission.title'),'content':this[_0x1a911e(0x2ab)]['t']('permission.content'),'type':_0x1a911e(0x282),'duration':0x0}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x21f)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80['Error'],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1e7))+'('+_0x29bf94[_0x1a911e(0x220)]+')'}),_0x29bf94['id']===_0x5532f5['JOIN_ROOM_FAILED']&&this[_0x1a911e(0x1c4)]['show']({'type':_0x172d80['Warning'],'content':this[_0x1a911e(0x2ab)]['t'](_0x29bf94[_0x1a911e(0x220)]||'')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1c0)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1be))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1f2)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x16c))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x22c)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x170))});}));}};ie=sn([B(0x0,_0xee54a5),B(0x1,_0x2f27fe),B(0x2,_0x3afd9e(_0x27dc93)),B(0x3,_0x555e39),B(0x4,_0x278379),B(0x5,_0x3afd9e(_0x4d2fab))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x59fe85(_0x306380(0x12b));var rn=Object[_0x306380(0x295)],on=(_0x137ece,_0x43df47,_0x554251,_0x51bcfc)=>{const _0x4606cf=_0x306380;for(var _0x3c633b=_0x51bcfc>0x1?void 0x0:_0x51bcfc?rn(_0x43df47,_0x554251):_0x43df47,_0x31ffcf=_0x137ece[_0x4606cf(0x2e0)]-0x1,_0x46616b;_0x31ffcf>=0x0;_0x31ffcf--)(_0x46616b=_0x137ece[_0x31ffcf])&&(_0x3c633b=_0x46616b(_0x3c633b)||_0x3c633b);return _0x3c633b;},K=(_0xfff79f,_0x19f39e)=>(_0x321415,_0x11fd35)=>_0x19f39e(_0x321415,_0x11fd35,_0xfff79f);let ne=class extends _0x105c1b{constructor(_0x5db183,_0x1ac51e,_0x17e9d0,_0x25f071,_0x2f57c3){const _0x2fd740=_0x306380;super(),this['_urlService']=_0x5db183,this[_0x2fd740(0x2ed)]=_0x1ac51e,this[_0x2fd740(0x179)]=_0x17e9d0,this[_0x2fd740(0xfe)]=_0x25f071,_0x2f57c3?_0x2f57c3==null||_0x2f57c3[_0x2fd740(0x293)]()[_0x2fd740(0x2b9)](()=>this[_0x2fd740(0x18a)]()):(this['_logService'][_0x2fd740(0x2d1)](_0x2fd740(0x13b),_0x2fd740(0x254)),this[_0x2fd740(0x18a)]());}async[_0x306380(0x18a)](){const _0x231f9e=_0x306380,_0x1464bb=this[_0x231f9e(0x26d)]['getParam']('unit'),_0x4cbd2d=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x250)),_0x1f6de6=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x277));if(!_0x1464bb||!_0x4cbd2d){this[_0x231f9e(0x2ed)]['debug'](_0x231f9e(0x13b),_0x231f9e(0x1e1));return;}const _0xf0264=await this[_0x231f9e(0xfe)][_0x231f9e(0x1dd)](_0x1464bb,Number(_0x4cbd2d),_0x1f6de6);_0xf0264&&_0xf0264 instanceof _0x2e84fd&&this[_0x231f9e(0x240)](_0xf0264);}async[_0x306380(0x240)](_0x33e071){const _0x5dc777=_0x306380;await this[_0x5dc777(0x201)](_0x33e071),_0x33e071['activeSheet$'][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](_0xe3e86=>{_0xe3e86&&this['_updateURLWithCurrentState'](_0xe3e86);}),this[_0x5dc777(0x26d)][_0x5dc777(0x2b7)][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](()=>this[_0x5dc777(0x201)](_0x33e071));}[_0x306380(0x120)](_0x431ce7,_0x2bb391=!0x1){const _0x48b88b=_0x306380,_0x37b854=this[_0x48b88b(0x26d)][_0x48b88b(0x1bd)](_0x48b88b(0x277));_0x431ce7[_0x48b88b(0x2f6)]()!==_0x37b854&&this[_0x48b88b(0x26d)][_0x48b88b(0x216)](_0x48b88b(0x277),_0x431ce7[_0x48b88b(0x2f6)](),_0x2bb391);}async[_0x306380(0x201)](_0x41e3c2){const _0x3ffce6=_0x306380;var _0x2b8cfc;const _0x53ec31=this[_0x3ffce6(0x26d)][_0x3ffce6(0x1bd)]('subunit');if(!_0x53ec31||!_0x41e3c2['getSheetBySheetId'](_0x53ec31)){const _0x121b5e=_0x41e3c2[_0x3ffce6(0x1c8)]()[0x0],_0x16598c=_0x41e3c2[_0x3ffce6(0x288)](_0x121b5e);if(!_0x16598c)return;this[_0x3ffce6(0x120)](_0x16598c,!0x0),await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x121b5e});return;}((_0x2b8cfc=_0x41e3c2[_0x3ffce6(0x111)]())==null?void 0x0:_0x2b8cfc[_0x3ffce6(0x2f6)]())!==_0x53ec31&&await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x53ec31});}};ne=on([K(0x0,wt),K(0x1,_0x3120e3),K(0x2,_0x459a93),K(0x3,_0x3afd9e(_0x2f7e52)),K(0x4,_0x1c9169(_0x33cba8))],ne);var an=Object[_0x306380(0x295)],cn=(_0x1d5fc8,_0x4ae2c7,_0x66ab27,_0x294c31)=>{const _0x39c03f=_0x306380;for(var _0x58ed4a=_0x294c31>0x1?void 0x0:_0x294c31?an(_0x4ae2c7,_0x66ab27):_0x4ae2c7,_0x4279a7=_0x1d5fc8[_0x39c03f(0x2e0)]-0x1,_0x5ef3fe;_0x4279a7>=0x0;_0x4279a7--)(_0x5ef3fe=_0x1d5fc8[_0x4279a7])&&(_0x58ed4a=_0x5ef3fe(_0x58ed4a)||_0x58ed4a);return _0x58ed4a;},Ce=(_0x137953,_0x5b551f)=>(_0x4d5def,_0x4fee70)=>_0x5b551f(_0x4d5def,_0x4fee70,_0x137953);let re=class{constructor(_0x5375e0,_0x114fa9,_0x2333ca){const _0xf17f26=_0x306380;this[_0xf17f26(0x1b9)]=_0x5375e0,this[_0xf17f26(0x23b)]=_0x114fa9,this[_0xf17f26(0x10e)]=_0x2333ca;}['transformIMECache'](_0x133c1b){const _0x409057=_0x306380;this[_0x409057(0x257)](_0x133c1b),this[_0x409057(0x128)](_0x133c1b);}[_0x306380(0x1f7)](_0x425852){const _0x8f627b=_0x306380,{unitID:_0x2a7325}=_0x425852,_0x1a6cdd=this[_0x8f627b(0x10e)][_0x8f627b(0x1c5)](_0x2a7325)['with'](_0x369c07),{redoCache:_0xf4980d}=_0x1a6cdd[_0x8f627b(0x176)]();if(_0xf4980d[_0x8f627b(0x2e0)]===0x0)return _0x425852;let _0x411fe3=_0x322f9c['deepClone'](_0x425852[_0x8f627b(0x1bb)][0x0]);for(let _0x63f9c1=0x0;_0x63f9c1<_0xf4980d['length'];_0x63f9c1++){const _0x2e3940={'id':_0x8f627b(0x117),'params':{..._0xf4980d[_0x63f9c1]}},_0x1e0b23=this[_0x8f627b(0x23b)]['transformMutation'](_0x411fe3,_0x2e3940,!0x1);if(_0x321bf4(_0x1e0b23))throw _0x1e0b23[_0x8f627b(0x282)];_0x411fe3=_0x1e0b23['m1Prime'];}return{..._0x322f9c[_0x8f627b(0x12a)](_0x425852),'mutations':[_0x411fe3]};}[_0x306380(0x257)](_0x12ab8b){const _0x3927f4=_0x306380,{unitID:_0x85626}=_0x12ab8b,_0x5bbd97=this[_0x3927f4(0x10e)][_0x3927f4(0x1c5)](_0x85626)[_0x3927f4(0x1cf)](_0x369c07),{undoCache:_0x2d4da0,redoCache:_0x142f9c}=_0x5bbd97['getUndoRedoMutationParamsCache']();if(_0x2d4da0[_0x3927f4(0x2e0)]===0x0||_0x142f9c[_0x3927f4(0x2e0)]===0x0)return;const _0x175479=[],_0x1aad48=[];let _0x452568=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b['mutations'][0x0]),_0x17cee1=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b[_0x3927f4(0x1bb)][0x0]);for(let _0x116b3f=_0x2d4da0[_0x3927f4(0x2e0)]-0x1;_0x116b3f>=0x0;_0x116b3f--){const _0x1dd24c={'id':_0x3927f4(0x117),'params':{..._0x2d4da0[_0x116b3f]}},_0x483202={'id':_0x3927f4(0x117),'params':{..._0x142f9c[_0x116b3f]}},_0x180b8c=this[_0x3927f4(0x23b)][_0x3927f4(0x1a5)](_0x452568,_0x1dd24c,!0x1),_0x57848d=this[_0x3927f4(0x23b)]['transformMutation'](_0x17cee1,_0x483202,!0x1);if(_0x321bf4(_0x180b8c))throw _0x180b8c[_0x3927f4(0x282)];if(_0x321bf4(_0x57848d))throw _0x57848d['error'];_0x175479[_0x3927f4(0x196)](_0x180b8c['m2Prime'][_0x3927f4(0x18c)]),_0x1aad48[_0x3927f4(0x196)](_0x57848d[_0x3927f4(0x137)]['params']),_0x452568=_0x180b8c['m1Prime'],_0x17cee1=_0x57848d[_0x3927f4(0x1d6)];}_0x5bbd97[_0x3927f4(0x1bc)]({'undoCache':_0x175479,'redoCache':_0x1aad48});}[_0x306380(0x128)](_0x86ddcb){const _0x298518=_0x306380,{unitID:_0x11b421}=_0x86ddcb,_0x5712af=this['_renderManagerService'][_0x298518(0x1c5)](_0x11b421)[_0x298518(0x1cf)](_0x369c07),_0x11904a=_0x5712af['getActiveRange']();if(_0x11904a==null)return;const _0x5313e8=[{'id':_0x298518(0x117),'params':{'unitId':_0x86ddcb[_0x298518(0x1ea)],'actions':null,'textRanges':[_0x11904a]}}],_0x124675=this[_0x298518(0x23b)]['transformMutationsWithChangeset'](_0x86ddcb,_0x5313e8);if(!_0x2157ba(_0x124675))throw _0x124675[_0x298518(0x282)];const _0x5d6ca2=_0x124675[_0x298518(0x137)][0x0][_0x298518(0x18c)][_0x298518(0x204)];Array[_0x298518(0x2cf)](_0x5d6ca2)&&_0x5d6ca2[_0x298518(0x2e0)]&&_0x5712af['setActiveRange'](_0x5d6ca2[0x0]);}};re=cn([Ce(0x0,_0x3afd9e(_0x4b117)),Ce(0x1,_0x7bf59f),Ce(0x2,_0x177c33)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a60ad,_0x1d4814,_0x18f0fb,_0x4868e7)=>{const _0xe19d2f=_0x306380;for(var _0x30709c=_0x4868e7>0x1?void 0x0:_0x4868e7?ln(_0x1d4814,_0x18f0fb):_0x1d4814,_0xba1704=_0x1a60ad[_0xe19d2f(0x2e0)]-0x1,_0x7f0164;_0xba1704>=0x0;_0xba1704--)(_0x7f0164=_0x1a60ad[_0xba1704])&&(_0x30709c=_0x7f0164(_0x30709c)||_0x30709c);return _0x30709c;},Ee=(_0x5726fd,_0x284a40)=>(_0xb203ad,_0x17edaf)=>_0x284a40(_0xb203ad,_0x17edaf,_0x5726fd);let oe=class{constructor(_0x4d2a88,_0xfd729,_0x360081){const _0x1c5d1c=_0x306380;this[_0x1c5d1c(0x1b9)]=_0x4d2a88,this[_0x1c5d1c(0x23b)]=_0xfd729,this[_0x1c5d1c(0x14c)]=_0x360081;}[_0x306380(0x183)](_0x31f776){const _0x144dcd=_0x306380;this[_0x144dcd(0x2de)](_0x31f776);}[_0x306380(0x1f7)](_0x4c796f){const _0x436a98=_0x306380,{unitID:_0x41ea11}=_0x4c796f,{collaboration:_0x30b55b}=this[_0x436a98(0x14c)][_0x436a98(0x219)](_0x41ea11);if(_0x30b55b[_0x436a98(0x2e0)]===0x0)return _0x4c796f;let _0xecfa47=_0x322f9c[_0x436a98(0x12a)](_0x4c796f[_0x436a98(0x1bb)][0x0]);for(let _0x4765c8=0x0;_0x4765c8<_0x30b55b[_0x436a98(0x2e0)];_0x4765c8++){const _0x5476e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30b55b[_0x4765c8][_0x436a98(0x1f1)],..._0x30b55b[_0x4765c8]['redoState']}},_0x2cdfe4=this['_transformService'][_0x436a98(0x1a5)](_0xecfa47,_0x5476e0,!0x1);if(_0x321bf4(_0x2cdfe4))throw _0x2cdfe4[_0x436a98(0x282)];_0xecfa47=_0x2cdfe4[_0x436a98(0x1d6)];}return{..._0x322f9c[_0x436a98(0x12a)](_0x4c796f),'mutations':[_0xecfa47]};}[_0x306380(0x2de)](_0x10f425){const _0x1f4820=_0x306380,{unitID:_0x1998fe}=_0x10f425,{history:_0x70fc5,collaboration:_0x19201c}=this['_docStateChangeManagerService'][_0x1f4820(0x219)](_0x1998fe);if(_0x70fc5['length']===0x0&&_0x19201c[_0x1f4820(0x2e0)]===0x0)return;const _0x563ef4=[],_0x49d2f4=[];let _0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x1a18a5=_0x70fc5[_0x1f4820(0x2e0)]-0x1;_0x1a18a5>=0x0;_0x1a18a5--){const _0x5e0dbe={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5]['unitId'],..._0x70fc5[_0x1a18a5][_0x1f4820(0x298)]}},_0x579e49={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5][_0x1f4820(0x1f1)],..._0x70fc5[_0x1a18a5][_0x1f4820(0x15d)]}},_0x48863d=this['_transformService'][_0x1f4820(0x1a5)](_0x462df3,_0x5e0dbe,!0x1),_0x2ff7eb=this[_0x1f4820(0x23b)]['transformMutation'](_0x37310f,_0x579e49,!0x1);if(_0x321bf4(_0x48863d))throw _0x48863d[_0x1f4820(0x282)];if(_0x321bf4(_0x2ff7eb))throw _0x2ff7eb[_0x1f4820(0x282)];_0x563ef4[_0x1f4820(0x196)]({..._0x70fc5[_0x1a18a5],'undoState':_0x48863d[_0x1f4820(0x137)][_0x1f4820(0x18c)],'redoState':_0x2ff7eb[_0x1f4820(0x137)][_0x1f4820(0x18c)]}),_0x462df3=_0x48863d[_0x1f4820(0x1d6)],_0x37310f=_0x2ff7eb[_0x1f4820(0x1d6)];}_0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c[_0x1f4820(0x12a)](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x4f471e=_0x19201c[_0x1f4820(0x2e0)]-0x1;_0x4f471e>=0x0;_0x4f471e--){const _0x3402d5={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x298)]}},_0x5dd02b={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x15d)]}},_0x2e8557=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x462df3,_0x3402d5,!0x1),_0x3cbd89=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x37310f,_0x5dd02b,!0x1);if(_0x321bf4(_0x2e8557))throw _0x2e8557[_0x1f4820(0x282)];if(_0x321bf4(_0x3cbd89))throw _0x3cbd89[_0x1f4820(0x282)];_0x49d2f4['unshift']({..._0x19201c[_0x4f471e],'undoState':_0x2e8557['m2Prime'][_0x1f4820(0x18c)],'redoState':_0x3cbd89['m2Prime'][_0x1f4820(0x18c)]}),_0x462df3=_0x2e8557[_0x1f4820(0x1d6)],_0x37310f=_0x3cbd89[_0x1f4820(0x1d6)];}this['_docStateChangeManagerService'][_0x1f4820(0x299)](_0x1998fe,{'history':_0x563ef4,'collaboration':_0x49d2f4});}};oe=_n([Ee(0x0,_0x3afd9e(_0x4b117)),Ee(0x1,_0x7bf59f),Ee(0x2,_0x3afd9e(_0x3d861c))],oe);var hn=Object[_0x306380(0x295)],un=(_0x3463ae,_0x150ecd,_0x3980ab,_0xbddcac)=>{const _0x1b0f79=_0x306380;for(var _0x959cf5=_0xbddcac>0x1?void 0x0:_0xbddcac?hn(_0x150ecd,_0x3980ab):_0x150ecd,_0xb9f0de=_0x3463ae[_0x1b0f79(0x2e0)]-0x1,_0x539c80;_0xb9f0de>=0x0;_0xb9f0de--)(_0x539c80=_0x3463ae[_0xb9f0de])&&(_0x959cf5=_0x539c80(_0x959cf5)||_0x959cf5);return _0x959cf5;},it=(_0x42711a,_0x4c06be)=>(_0x2608e1,_0x2ac2c6)=>_0x4c06be(_0x2608e1,_0x2ac2c6,_0x42711a);let ae=class{constructor(_0x248992,_0x402260){const _0x5d2739=_0x306380;this[_0x5d2739(0x1b9)]=_0x248992,this[_0x5d2739(0x23b)]=_0x402260;}['transformSelections'](_0x377380){const _0x29d80b=_0x306380;var _0x5f797;const _0xdf5d4a=this[_0x29d80b(0x1b9)][_0x29d80b(0x1b8)](_0x512101),_0xd98f1c=(_0x5f797=_0xdf5d4a['getDocRanges']())!=null?_0x5f797:[];if(_0xd98f1c[_0x29d80b(0x2e0)]===0x0)return;const _0x11fe1e=_0x377380['unitID'],_0x19fcf9=[{'id':_0x29d80b(0x117),'params':{'unitId':_0x11fe1e,'actions':null,'textRanges':_0xd98f1c}}],_0x4d71a9=this[_0x29d80b(0x23b)][_0x29d80b(0x23d)](_0x377380,_0x19fcf9);if(!_0x2157ba(_0x4d71a9))throw _0x4d71a9[_0x29d80b(0x282)];const _0x3ab2ed=_0x4d71a9[_0x29d80b(0x137)][0x0][_0x29d80b(0x18c)]['textRanges'];Array['isArray'](_0x3ab2ed)&&_0x3ab2ed['length']&&_0xdf5d4a[_0x29d80b(0x1cc)](_0x3ab2ed,{'unitId':_0x11fe1e,'subUnitId':_0x11fe1e},!0x1);}};ae=un([it(0x0,_0x3afd9e(_0x4b117)),it(0x1,_0x7bf59f)],ae);var dn=Object[_0x306380(0x295)],fn=(_0x4ae8a7,_0x515976,_0x48cb61,_0x11dde6)=>{const _0x194f81=_0x306380;for(var _0x32d922=_0x11dde6>0x1?void 0x0:_0x11dde6?dn(_0x515976,_0x48cb61):_0x515976,_0x4ea486=_0x4ae8a7[_0x194f81(0x2e0)]-0x1,_0x79be08;_0x4ea486>=0x0;_0x4ea486--)(_0x79be08=_0x4ae8a7[_0x4ea486])&&(_0x32d922=_0x79be08(_0x32d922)||_0x32d922);return _0x32d922;},M=(_0xba34d2,_0x4d410e)=>(_0x1c06e6,_0x43fe72)=>_0x4d410e(_0x1c06e6,_0x43fe72,_0xba34d2);let ce=class extends _0x212855{constructor(_0x35c4fa,_0x53bd8e,_0x49d381,_0x43d913,_0x38fb2b,_0x294169,_0x28d9b7,_0x342100){const _0x529c6c=_0x306380;super(),_(this,_0x529c6c(0x154),new _0x39027c(_0x344fd8['NOT_COLLAB'])),(this[_0x529c6c(0x14c)]=_0x35c4fa,this[_0x529c6c(0x2ae)]=_0x53bd8e,this[_0x529c6c(0x2c6)]=_0x49d381,this[_0x529c6c(0x123)]=_0x43d913,this[_0x529c6c(0x278)]=_0x38fb2b,this[_0x529c6c(0x290)]=_0x294169,this[_0x529c6c(0x1c4)]=_0x28d9b7,this[_0x529c6c(0x2ab)]=_0x342100,this[_0x529c6c(0x1df)]());}[_0x306380(0x1df)](){const _0x80f84a=_0x306380;this[_0x80f84a(0x1a6)](this[_0x80f84a(0x2ae)][_0x80f84a(0x28c)]['subscribe'](_0x2c1d62=>{const _0x3ecf4c=_0x80f84a,_0x433b06=this['_docStateChangeManagerService'][_0x3ecf4c(0x1aa)][_0x3ecf4c(0x126)](_0x231709=>{const _0x5956de=_0x3ecf4c;if(_0x231709==null)return;const {unitId:_0xc42a03,redoState:_0x36c3c7,commandId:_0x2306e5}=_0x231709;if(_0xc42a03!==_0x2c1d62[_0x5956de(0x1ea)])return;const _0x4a439d={'id':_0x2306e5,'type':_0x1846a2[_0x5956de(0x2f8)],'params':{'unitId':_0xc42a03,'actions':_0x36c3c7[_0x5956de(0x2ac)],'textRanges':null}};_0x2c1d62[_0x5956de(0x149)](_0x4a439d);});if(_0x2c1d62[_0x3ecf4c(0x1a6)](_0x433b06),_0x2c1d62 instanceof _0x530020){const _0x20c5a6={'onTransformIME':_0x5b5d21=>this[_0x3ecf4c(0x2c6)][_0x3ecf4c(0x205)](_0x5b5d21),'onTransformState':_0x48c2c4=>this[_0x3ecf4c(0x123)][_0x3ecf4c(0x183)](_0x48c2c4),'onTransformSelections':_0x417459=>this[_0x3ecf4c(0x278)][_0x3ecf4c(0x2d9)](_0x417459),'onSyncEditingCollabCursor':_0x362dd5=>this[_0x3ecf4c(0x290)][_0x3ecf4c(0x210)](_0x362dd5),'onTransformRemoteChangesetByIMECache':_0x1f8149=>this['_docTransformIMECacheService'][_0x3ecf4c(0x1f7)](_0x1f8149),'onTransformRemoteChangesetByStateCache':_0x169d36=>this[_0x3ecf4c(0x123)]['transformRemoteChangeset'](_0x169d36)};_0x2c1d62[_0x3ecf4c(0x17e)](_0x20c5a6);}}));}};ce=fn([M(0x0,_0x3afd9e(_0x3d861c)),M(0x1,_0x3afd9e(_0x354dfa)),M(0x2,_0x3afd9e(re)),M(0x3,_0x3afd9e(oe)),M(0x4,_0x3afd9e(ae)),M(0x5,_0x3afd9e(je)),M(0x6,_0x555e39),M(0x7,_0x3afd9e(_0x4d2fab))],ce);var Sn=Object[_0x306380(0x295)],mn=(_0x558ef0,_0x4b59bf,_0x56a666,_0x4fc549)=>{const _0x184afe=_0x306380;for(var _0x27919e=_0x4fc549>0x1?void 0x0:_0x4fc549?Sn(_0x4b59bf,_0x56a666):_0x4b59bf,_0x3c4f89=_0x558ef0[_0x184afe(0x2e0)]-0x1,_0x44dd11;_0x3c4f89>=0x0;_0x3c4f89--)(_0x44dd11=_0x558ef0[_0x3c4f89])&&(_0x27919e=_0x44dd11(_0x27919e)||_0x27919e);return _0x27919e;},be=(_0x2e7e58,_0x58c07a)=>(_0x4f4ddb,_0x66bc50)=>_0x58c07a(_0x4f4ddb,_0x66bc50,_0x2e7e58);let Ae=class extends _0x212855{constructor(_0x3f93f2,_0x11fa74,_0x277811){const _0x397773=_0x306380;super(),_(this,_0x397773(0x13d),new Map()),_(this,_0x397773(0x27f),new Map()),_(this,_0x397773(0x2c7),!0x1),(this[_0x397773(0x26c)]=_0x3f93f2,this[_0x397773(0xf8)]=_0x11fa74,this[_0x397773(0x29d)]=_0x277811);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x306380(0x203)](){this['_disabled']=!0x1;}get[_0x306380(0x12e)](){return this['_saveTaskMap'];}[_0x306380(0x211)](){const _0x429b2a=_0x306380;this[_0x429b2a(0x2bf)]()['then'](()=>super[_0x429b2a(0x211)]());}async['loadOfflineData'](_0xe7b16d){const _0x23f34c=_0x306380;return this[_0x23f34c(0x2c7)]?null:this[_0x23f34c(0xf8)][_0x23f34c(0x235)](_0x1ae124(_0xe7b16d));}async[_0x306380(0x2ef)](_0x320e70,_0x17cbf6){const _0x1d501c=_0x306380;return!!this[_0x1d501c(0xf8)]['setItem'](_0x320e70,_0x17cbf6);}[_0x306380(0x121)](_0x263ab1,_0x54c751,_0x1b632a,_0x186f8b){const _0x5e342c=_0x306380,_0x36846a=this[_0x5e342c(0x29d)][_0x5e342c(0x18e)](_0x263ab1);this['_cachedData'][_0x5e342c(0x1d4)](_0x263ab1,{'unitID':_0x263ab1,'type':_0x54c751,'awaitingChangeset':_0x1b632a,'mutations':_0x186f8b,'rev':_0x36846a}),this[_0x5e342c(0x27f)][_0x5e342c(0x291)](_0x263ab1)||this[_0x5e342c(0x21d)](_0x263ab1);}[_0x306380(0x21d)](_0x221e3b){const _0x246fff=_0x306380,_0x58fb67=this[_0x246fff(0x163)]();_0x58fb67===0x0?this[_0x246fff(0x2d8)](_0x221e3b):this[_0x246fff(0x27f)][_0x246fff(0x1d4)](_0x221e3b,setTimeout(()=>this[_0x246fff(0x2d8)](_0x221e3b),_0x58fb67));}[_0x306380(0x163)](){const _0x1f66d6=_0x306380;var _0x43f1d8;return(_0x43f1d8=this[_0x1f66d6(0x26c)][_0x1f66d6(0x234)](_0x4ab531))!=null?_0x43f1d8:_0xc97530;}[_0x306380(0x2d8)](_0x2242d6){const _0x2eca1e=_0x306380,_0x109f30=this[_0x2eca1e(0x27f)][_0x2eca1e(0x1b8)](_0x2242d6);return _0x109f30!==void 0x0&&window[_0x2eca1e(0x175)](_0x109f30),this[_0x2eca1e(0xf8)]['setItem'](_0x1ae124(_0x2242d6),this[_0x2eca1e(0x13d)][_0x2eca1e(0x1b8)](_0x2242d6))[_0x2eca1e(0x2b9)](()=>this['_saveTaskMap']['delete'](_0x2242d6));}async['exhaustSavingTask'](){const _0x1f76de=_0x306380,_0x3d368b=[];this[_0x1f76de(0x27f)][_0x1f76de(0x159)]((_0x54b11e,_0x4751a4)=>{const _0xad21b0=_0x1f76de;window[_0xad21b0(0x175)](_0x54b11e),_0x3d368b['push'](this[_0xad21b0(0x2d8)](_0x4751a4)[_0xad21b0(0x2b9)](()=>{const _0x45224c=_0xad21b0;this[_0x45224c(0x27f)][_0x45224c(0x1ae)](_0x4751a4);}));}),await Promise[_0x1f76de(0x289)](_0x3d368b);}};Ae=mn([be(0x0,_0xc0ea31),be(0x1,_0x5971f0),be(0x2,_0x3afd9e(_0x15ca61))],Ae);class gn extends _0x105c1b{constructor(){const _0x1efaa0=_0x306380;super(),_(this,_0x1efaa0(0x2b7)),this[_0x1efaa0(0x2b7)]=_0x1b2312(window,_0x1efaa0(0x10f))[_0x1efaa0(0x17b)](_0x49b09f(this[_0x1efaa0(0x2cb)]),_0x51a7e2(0x1),_0x33a373(void 0x0));}['setParam'](_0x891271,_0x282fbe,_0xe4140a=!0x1){const _0x19ed70=_0x306380,_0x301c81=new URL(window[_0x19ed70(0x24b)]['href']);_0x301c81[_0x19ed70(0x1d7)][_0x19ed70(0x1d4)](_0x891271,_0x282fbe),_0xe4140a?window['history'][_0x19ed70(0x152)]('','',_0x301c81[_0x19ed70(0x1d1)]()):window['history'][_0x19ed70(0x1ee)]('','',_0x301c81[_0x19ed70(0x1d1)]());}[_0x306380(0x115)](_0x340b4a,_0x130e90=!0x1){const _0x24d728=_0x306380,_0x37a95c=new URL(window[_0x24d728(0x24b)][_0x24d728(0x274)]);_0x37a95c[_0x24d728(0x1d7)]['delete'](_0x340b4a),_0x130e90?window[_0x24d728(0x279)][_0x24d728(0x152)]('','',_0x37a95c[_0x24d728(0x1d1)]()):window[_0x24d728(0x279)][_0x24d728(0x1ee)]('','',_0x37a95c[_0x24d728(0x1d1)]());}[_0x306380(0x1bd)](_0xa3c4a4){const _0x5b3bcd=_0x306380;var _0x6c9200;return(_0x6c9200=new URL(window['location'][_0x5b3bcd(0x274)])[_0x5b3bcd(0x1d7)]['get'](_0xa3c4a4))!=null?_0x6c9200:void 0x0;}}var vn=Object[_0x306380(0xfd)],In=Object['getOwnPropertyDescriptor'],pn=(_0x14262,_0x261fe4,_0x3ed8e2)=>_0x261fe4 in _0x14262?vn(_0x14262,_0x261fe4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed8e2}):_0x14262[_0x261fe4]=_0x3ed8e2,Cn=(_0x31e64b,_0x22fda8,_0x36257a,_0x82c00)=>{const _0x3f8b1e=_0x306380;for(var _0x2ca7e9=_0x82c00>0x1?void 0x0:_0x82c00?In(_0x22fda8,_0x36257a):_0x22fda8,_0x2af5e4=_0x31e64b[_0x3f8b1e(0x2e0)]-0x1,_0x58d56a;_0x2af5e4>=0x0;_0x2af5e4--)(_0x58d56a=_0x31e64b[_0x2af5e4])&&(_0x2ca7e9=_0x58d56a(_0x2ca7e9)||_0x2ca7e9);return _0x2ca7e9;},Oe=(_0x1c561f,_0x5a2db1)=>(_0x172962,_0x5a1205)=>_0x5a2db1(_0x172962,_0x5a1205,_0x1c561f),En=(_0x579895,_0x2054c4,_0x11bb44)=>pn(_0x579895,_0x2054c4+'',_0x11bb44);const bn=_0x306380(0x132);let ye=class extends _0x90d560{constructor(_0x551e75=st,_0x1b2b55,_0xdd102a,_0x2872e1){const _0x57c648=_0x306380;super(),this[_0x57c648(0x294)]=_0x551e75,this[_0x57c648(0x10e)]=_0x1b2b55,this[_0x57c648(0x1b9)]=_0xdd102a,this[_0x57c648(0x26c)]=_0x2872e1;const {..._0x4cf0ce}=_0x2d7b3e({},st,this[_0x57c648(0x294)]);this['_configService'][_0x57c648(0x227)](nn,_0x4cf0ce);}[_0x306380(0x281)](){const _0x42dada=_0x306380;this[_0x42dada(0x2ee)](),this[_0x42dada(0x2aa)]();}[_0x306380(0x100)](){const _0x43a6f3=_0x306380;this[_0x43a6f3(0x1a0)]();}['_registerDependencies'](){const _0x3784d0=_0x306380;var _0x5c6ba1;const _0x225202=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x1c152f,{'useClass':_0x1ad0bd}],[_0x2f27fe,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x1e658b(this[_0x3784d0(0x1b9)],_0x3021db(_0x225202,(_0x5c6ba1=this[_0x3784d0(0x294)])==null?void 0x0:_0x5c6ba1[_0x3784d0(0x214)]));}[_0x306380(0x1a0)](){const _0x257579=_0x306380;this['disposeWithMe'](this['_renderManagerService'][_0x257579(0x22a)](_0x1cd4b1['UNIVER_DOC'],[Ue])),this[_0x257579(0x1a6)](this[_0x257579(0x10e)][_0x257579(0x22a)](_0x1cd4b1[_0x257579(0x1cd)],[Le]));}[_0x306380(0x2aa)](){_0x2f0202(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x20d232(_0x5bbdcb),Oe(0x1,_0x177c33),Oe(0x2,_0x3afd9e(_0x4b117)),Oe(0x3,_0xc0ea31)],ye);var On=Object[_0x306380(0x295)],Tn=(_0x158ea8,_0x1a6f01,_0x5650ca,_0x3f9b9c)=>{const _0x3047c4=_0x306380;for(var _0x2771f9=_0x3f9b9c>0x1?void 0x0:_0x3f9b9c?On(_0x1a6f01,_0x5650ca):_0x1a6f01,_0x4c0afb=_0x158ea8[_0x3047c4(0x2e0)]-0x1,_0x3299fa;_0x4c0afb>=0x0;_0x4c0afb--)(_0x3299fa=_0x158ea8[_0x4c0afb])&&(_0x2771f9=_0x3299fa(_0x2771f9)||_0x2771f9);return _0x2771f9;},z=(_0xd51696,_0x41f16b)=>(_0x1687b0,_0x442244)=>_0x41f16b(_0x1687b0,_0x442244,_0xd51696);let nt=class extends _0x1b0c2c{constructor(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22){super(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22);}async[_0x306380(0x20b)](_0xebd338){const _0x361353=_0x306380,_0x4d9076=await this[_0x361353(0x1b2)](),_0x128fef=this[_0x361353(0x2c1)](_0xebd338,_0x4d9076);return this[_0x361353(0x27d)](_0x128fef);}[_0x306380(0x2c1)](_0x5404b9,_0x5ad75b){const _0x521b6a=_0x306380,_0x4d5625=typeof window>'u'?new URL(_0x5404b9):new URL(_0x5404b9,window['location']['origin']);_0x4d5625[_0x521b6a(0x1d7)][_0x521b6a(0x1d4)]('sessionTicket',_0x5ad75b);const _0x12ca2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x12ca2b[_0x521b6a(0x1b8)]('runId')&&_0x4d5625['searchParams'][_0x521b6a(0x1d4)](_0x521b6a(0x221),_0x12ca2b[_0x521b6a(0x1b8)](_0x521b6a(0x221))),_0x4d5625['toString']();}async[_0x306380(0x1b2)](){const _0x222b9e=_0x306380;var _0x447af1,_0x540313,_0x3bfc1b;const _0x5eb770=this['_configService'][_0x222b9e(0x234)](_0x533465),_0x55af49=(_0x447af1=_0x5eb770==null?void 0x0:_0x5eb770['wsSessionTicketUrl'])!=null?_0x447af1:_0xa647e2;return(_0x3bfc1b=(_0x540313=(await this[_0x222b9e(0x245)][_0x222b9e(0x1b8)](_0x55af49,{'headers':{'Content-Type':'application/json'}}))[_0x222b9e(0x206)])==null?void 0x0:_0x540313[_0x222b9e(0x19c)])!=null?_0x3bfc1b:'';}};nt=Tn([z(0x0,_0x3afd9e(_0x4b117)),z(0x1,_0x3afd9e(_0x6f80c5)),z(0x2,_0xc0ea31),z(0x3,_0x3120e3),z(0x4,_0x11ed14)],nt);const rt=0x7530,ot=_0x306380(0x232);class Gn extends _0x212855{constructor(){const _0x55074a=_0x306380;super(),_(this,_0x55074a(0x1f3),_0xe28911()),_(this,_0x55074a(0x1f5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55074a(0x2a3),null),_(this,_0x55074a(0x148),new Map()),_(this,_0x55074a(0x1c3),new Map()),this[_0x55074a(0x18a)]();}[_0x306380(0x211)](){const _0x5798a6=_0x306380;super[_0x5798a6(0x211)](),this[_0x5798a6(0x148)][_0x5798a6(0x159)]((_0x23a908,_0x3b8c18)=>this['_removeClearOtherTimer'](_0x3b8c18)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5798a6(0x2a3)]);}[_0x306380(0x271)](_0x412a82){const _0x59a341=_0x306380;return this[_0x59a341(0x2f7)](_0x412a82)['pipe'](_0x26e109());}['editingUnit'](_0x11914e){const _0xfa1bef=_0x306380;this[_0xfa1bef(0x1f5)][_0xfa1bef(0x112)]===0x0&&this[_0xfa1bef(0x2e7)](),this[_0xfa1bef(0x1f5)][_0xfa1bef(0x184)](_0x11914e),this[_0xfa1bef(0x2c2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x11914e],'isForwarded':!0x1});}[_0x306380(0x1fa)](_0x19e465){const _0x13fdac=_0x306380;this[_0x13fdac(0x1f5)][_0x13fdac(0x1ae)](_0x19e465),this[_0x13fdac(0x1f5)][_0x13fdac(0x112)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x306380(0x18a)](){const _0x1d7488=_0x306380;this['disposeWithMe'](_0x360a92(_0x1b2312(window,_0x1d7488(0x24a))[_0x1d7488(0x126)](_0x36cb0f=>{const _0x2fea29=_0x1d7488;if(_0x36cb0f[_0x2fea29(0x19e)]!==ot||!_0x36cb0f[_0x2fea29(0x145)])return;const _0x34b156=JSON[_0x2fea29(0x192)](_0x36cb0f[_0x2fea29(0x145)]);this[_0x2fea29(0x1b1)](_0x34b156);}))),window[_0x1d7488(0x263)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1d7488(0x1fd)](this[_0x1d7488(0x1f5)])}));}[_0x306380(0x1b1)](_0x1520af){const _0x24f193=_0x306380;switch(_0x1520af[_0x24f193(0x250)]){case 0x0:this['_handleJoinEvent'](_0x1520af);break;case 0x1:this['_handleLeaveEvent'](_0x1520af);break;case 0x2:this[_0x24f193(0x2c9)](_0x1520af);break;}}[_0x306380(0x2b6)](_0x596af1){const _0x5e6698=_0x306380,{unitIDs:_0x38504b,memberID:_0x40b2a5,isForwarded:_0x56ec9e}=_0x596af1;_0x38504b[_0x5e6698(0x159)](_0xb4e42f=>{const _0x4e1aa1=_0x5e6698;if(!_0x56ec9e&&this['_unitOnClients']['has'](_0xb4e42f)&&this['_ensureSubject'](_0xb4e42f)[_0x4e1aa1(0x157)](_0x26192f['OTHER_CLIENTS_EDITING']),!this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x291)](_0xb4e42f)||!this['_unitOnClients']['get'](_0xb4e42f)[_0x4e1aa1(0x291)](_0x40b2a5)){const _0x258f8b=this[_0x4e1aa1(0x26e)]['get'](_0xb4e42f)||new Set();_0x258f8b[_0x4e1aa1(0x184)](_0x40b2a5),this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x1d4)](_0xb4e42f,_0x258f8b),this[_0x4e1aa1(0x2ca)](_0x40b2a5);}}),_0x56ec9e||this[_0x5e6698(0x2c2)]({'type':0x0,'memberID':this[_0x5e6698(0x1f3)],'unitIDs':[...this[_0x5e6698(0x1f5)]],'isForwarded':!0x0});}[_0x306380(0x2ca)](_0x74003c){const _0xf6bd2a=_0x306380;this[_0xf6bd2a(0x146)](_0x74003c);const _0x344e1f=window[_0xf6bd2a(0x2a8)](()=>{const _0x4530b4=_0xf6bd2a;this[_0x4530b4(0x26e)]['forEach'](_0x56e242=>{const _0x35e276=_0x4530b4;_0x56e242[_0x35e276(0x1ae)](_0x74003c);});},rt*0x2);this[_0xf6bd2a(0x148)][_0xf6bd2a(0x1d4)](_0x74003c,_0x344e1f);}[_0x306380(0x146)](_0x53616b){const _0x241241=_0x306380;if(this[_0x241241(0x148)][_0x241241(0x291)](_0x53616b)){const _0x74c6ea=this[_0x241241(0x148)][_0x241241(0x1b8)](_0x53616b);_0x74c6ea&&window['clearTimeout'](_0x74c6ea),this[_0x241241(0x148)][_0x241241(0x1d4)](_0x53616b,null);}}[_0x306380(0x167)](_0x414385){const _0x42523d=_0x306380,{memberID:_0x16804a,unitIDs:_0x352d1a}=_0x414385;_0x352d1a[_0x42523d(0x159)](_0x2dd0b2=>{const _0x96cb2d=_0x42523d;var _0x1f3953;const _0x34f618=this[_0x96cb2d(0x26e)][_0x96cb2d(0x1b8)](_0x2dd0b2);_0x34f618&&(_0x34f618[_0x96cb2d(0x1ae)](_0x16804a),(_0x1f3953=this[_0x96cb2d(0x2f7)](_0x2dd0b2))==null||_0x1f3953[_0x96cb2d(0x157)](_0x34f618[_0x96cb2d(0x112)]===0x0?_0x26192f[_0x96cb2d(0x1a1)]:_0x26192f[_0x96cb2d(0x1e0)]));}),this[_0x42523d(0x146)](_0x16804a);}[_0x306380(0x2c9)](_0x530796){const _0x3228b2=_0x306380;this[_0x3228b2(0x2ca)](_0x530796[_0x3228b2(0x2d4)]);}[_0x306380(0x2c2)](_0x2933b5){const _0x3278df=_0x306380;localStorage[_0x3278df(0x259)](ot,JSON['stringify'](_0x2933b5));}[_0x306380(0x2e7)](){const _0x4443bc=_0x306380;this[_0x4443bc(0x2a3)]=window[_0x4443bc(0x1d8)](()=>{const _0x1f3af7=_0x4443bc;this[_0x1f3af7(0x2c2)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x306380(0x2f7)](_0x45cdfb){const _0x4495ef=_0x306380;return this[_0x4495ef(0x1c3)][_0x4495ef(0x291)](_0x45cdfb)||this[_0x4495ef(0x1c3)][_0x4495ef(0x1d4)](_0x45cdfb,new _0x39027c(_0x26192f['NO_OTHER_CLIENTS_EDITING'])),this[_0x4495ef(0x1c3)][_0x4495ef(0x1b8)](_0x45cdfb);}}var Ut=(_0x4730d0=>(_0x4730d0[_0x4730d0[_0x306380(0x28d)]=0x0]='UNDEFINED',_0x4730d0[_0x4730d0['OK']=0x1]='OK',_0x4730d0[_0x4730d0['INTERNAL_ERROR']=0x2]=_0x306380(0x2c0),_0x4730d0[_0x4730d0[_0x306380(0x13c)]=0x3]='PERMISSION_DENIED',_0x4730d0[_0x4730d0['NOT_FOUND']=0x4]=_0x306380(0x29f),_0x4730d0[_0x4730d0[_0x306380(0x29c)]=0x5]='UNAUTHENTICATED',_0x4730d0[_0x4730d0[_0x306380(0x160)]=0x6]=_0x306380(0x160),_0x4730d0[_0x4730d0['INVALID_ARGUMENT']=0x7]=_0x306380(0x266),_0x4730d0[_0x4730d0['TOO_MANY_REQUESTS']=0x8]=_0x306380(0x284),_0x4730d0[_0x4730d0[_0x306380(0x136)]=0x9]='COMPLETION_FINISHED',_0x4730d0[_0x4730d0['LOGIN_FAILED']=0xa]=_0x306380(0x19b),_0x4730d0[_0x4730d0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x306380(0x1ef),_0x4730d0[_0x4730d0[_0x306380(0x173)]=0x1771]=_0x306380(0x173),_0x4730d0[_0x4730d0[_0x306380(0x1b0)]=0x1772]=_0x306380(0x1b0),_0x4730d0[_0x4730d0[_0x306380(0x1a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4730d0[_0x4730d0[_0x306380(0x1fc)]=0x1b59]='APPLY_REJECT',_0x4730d0[_0x4730d0[_0x306380(0x2b5)]=0x1b5a]=_0x306380(0x2b5),_0x4730d0[_0x4730d0[_0x306380(0x209)]=0x1b5b]=_0x306380(0x209),_0x4730d0[_0x4730d0[_0x306380(0x180)]=0x1b5c]=_0x306380(0x180),_0x4730d0[_0x4730d0[_0x306380(0x1a2)]=0x1b5d]=_0x306380(0x1a2),_0x4730d0[_0x4730d0[_0x306380(0x229)]=0x1f41]=_0x306380(0x229),_0x4730d0[_0x4730d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x306380(0x27e),_0x4730d0[_0x4730d0[_0x306380(0x256)]=0x232a]=_0x306380(0x256),_0x4730d0[_0x4730d0[_0x306380(0x260)]=0x232b]=_0x306380(0x260),_0x4730d0[_0x4730d0[_0x306380(0x20d)]=0x232c]=_0x306380(0x20d),_0x4730d0[_0x4730d0[_0x306380(0x193)]=0x232d]=_0x306380(0x193),_0x4730d0[_0x4730d0[_0x306380(0x23f)]=0x2711]=_0x306380(0x23f),_0x4730d0[_0x4730d0[_0x306380(0x12c)]=0x2712]=_0x306380(0x12c),_0x4730d0[_0x4730d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x306380(0xfc),_0x4730d0[_0x4730d0[_0x306380(0x213)]=0x2714]=_0x306380(0x213),_0x4730d0[_0x4730d0[_0x306380(0x1d9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4730d0[_0x4730d0[_0x306380(0x2d6)]=0x2ee1]=_0x306380(0x2d6),_0x4730d0[_0x4730d0['INVALID_INVITE_CODE']=0x2ee2]=_0x306380(0x1d0),_0x4730d0[_0x4730d0[_0x306380(0x273)]=0x2ee3]=_0x306380(0x273),_0x4730d0[_0x4730d0[_0x306380(0x177)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4730d0[_0x4730d0[_0x306380(0x1ff)]=0x2ee5]=_0x306380(0x1ff),_0x4730d0[_0x4730d0[_0x306380(0x122)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4730d0[_0x4730d0[_0x306380(0x272)]=0x32ca]=_0x306380(0x272),_0x4730d0[_0x4730d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x306380(0x17c),_0x4730d0[_0x4730d0['UNRECOGNIZED']=-0x1]=_0x306380(0x199),_0x4730d0))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x232ef5,_0x43b50b,_0x589066,_0x467341)=>{const _0x34e8a0=_0x306380;for(var _0x1a9202=_0x467341>0x1?void 0x0:_0x467341?Rn(_0x43b50b,_0x589066):_0x43b50b,_0x2f98fd=_0x232ef5[_0x34e8a0(0x2e0)]-0x1,_0x102be9;_0x2f98fd>=0x0;_0x2f98fd--)(_0x102be9=_0x232ef5[_0x2f98fd])&&(_0x1a9202=_0x102be9(_0x1a9202)||_0x1a9202);return _0x1a9202;},Te=(_0xa7d7bd,_0xc1adde)=>(_0x916aa,_0x5cd54a)=>_0xc1adde(_0x916aa,_0x5cd54a,_0xa7d7bd);function _0x5f42(_0x54fe83,_0x588624){const _0x4b500d=_0x4b50();return _0x5f42=function(_0x5f42cc,_0x355242){_0x5f42cc=_0x5f42cc-0xf7;let _0x2b47d0=_0x4b500d[_0x5f42cc];return _0x2b47d0;},_0x5f42(_0x54fe83,_0x588624);}let at=class extends _0x212855{constructor(_0xa74cbd,_0x216e25,_0x3281f7){const _0x2b1cad=_0x306380;super(),this[_0x2b1cad(0x237)]=_0xa74cbd,this[_0x2b1cad(0x245)]=_0x216e25,this['_configService']=_0x3281f7;}async[_0x306380(0x280)](_0x4258ec,_0x150119,_0x17a88d,..._0x5e78cf){const _0x9e5a65=_0x306380;var _0x592be8,_0x5aaad2,_0x13ee79,_0x544a82;const _0x5839f4=this[_0x9e5a65(0x237)]['getFocusedUnit']();if(!_0x5839f4)throw new Error(_0x9e5a65(0x28e));const _0x523f8e=((_0x592be8=this[_0x9e5a65(0x26c)]['getConfig'](_0x4c2332))!=null?_0x592be8:_0x1238ce)+'/'+_0x4258ec+_0x9e5a65(0x230)+_0x150119,_0x267f50=new URL(window[_0x9e5a65(0x24b)][_0x9e5a65(0x274)]),_0xcb36d4={'scriptId':_0x4258ec,'runId':(_0x5aaad2=_0x267f50[_0x9e5a65(0x1d7)][_0x9e5a65(0x1b8)](_0x9e5a65(0x221)))!=null?_0x5aaad2:'','function':_0x150119,'unitId':_0x5839f4[_0x9e5a65(0x2a6)](),'argsOfFunction':JSON['stringify'](_0x5e78cf),'invokeId':(_0x13ee79=_0x17a88d[_0x9e5a65(0x2ba)])!=null?_0x13ee79:'','executionId':(_0x544a82=_0x17a88d[_0x9e5a65(0x275)])!=null?_0x544a82:''};try{const _0x58c348=await this[_0x9e5a65(0x245)][_0x9e5a65(0x29a)](_0x523f8e,{'body':_0xcb36d4});return _0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x282)]&&_0x58c348['body'][_0x9e5a65(0x282)]['code']!==Ut['OK']?_0x9e5a65(0x1e3):_0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x1c6)];}catch{return _0x9e5a65(0x1e3);}}};at=Dn([Te(0x0,_0x5f5751),Te(0x1,_0x3afd9e(_0x6f80c5)),Te(0x2,_0xc0ea31)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- function _0x2ca4(_0x370da0,_0x4dd756){const _0x27e6a8=_0x27e6();return _0x2ca4=function(_0x2ca459,_0x464a39){_0x2ca459=_0x2ca459-0x173;let _0xdc193c=_0x27e6a8[_0x2ca459];return _0xdc193c;},_0x2ca4(_0x370da0,_0x4dd756);}const _0x3a32c9=_0x2ca4;(function(_0xc6659a,_0x12f25b){const _0x5625e1=_0x2ca4,_0x203932=_0xc6659a();while(!![]){try{const _0x33300c=parseInt(_0x5625e1(0x182))/0x1*(parseInt(_0x5625e1(0x18b))/0x2)+-parseInt(_0x5625e1(0x189))/0x3+-parseInt(_0x5625e1(0x181))/0x4+parseInt(_0x5625e1(0x179))/0x5*(-parseInt(_0x5625e1(0x178))/0x6)+-parseInt(_0x5625e1(0x17d))/0x7+-parseInt(_0x5625e1(0x175))/0x8*(parseInt(_0x5625e1(0x174))/0x9)+parseInt(_0x5625e1(0x185))/0xa;if(_0x33300c===_0x12f25b)break;else _0x203932['push'](_0x203932['shift']());}catch(_0x578088){_0x203932['push'](_0x203932['shift']());}}}(_0x27e6,0xf38d5));function _0x27e6(){const _0x1d5c25=['5vUmQYw','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','9703267mIpCFz','Synced','Collaboration\x20Conflict','Syncing...','1437468hNloSS','233GygMnY','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','63940860AxlWDS','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.','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','5726058QYceAT','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6502PAEQOr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1926GwYTYM','57496GfEUCN','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5770368ByBYSV'];_0x27e6=function(){return _0x1d5c25;};return _0x27e6();}const e={'collab-client':{'tooltip':{'reconnect':_0x3a32c9(0x184)}},'collabStatus':{'fetchMiss':_0x3a32c9(0x183),'conflict':_0x3a32c9(0x187),'notCollab':'Local\x20file','synced':_0x3a32c9(0x17e),'syncing':_0x3a32c9(0x180),'offline':_0x3a32c9(0x177)},'session':{'connection-failed':_0x3a32c9(0x176),'will-retry':_0x3a32c9(0x17b),'room-full':_0x3a32c9(0x188),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x3a32c9(0x17f),'content':_0x3a32c9(0x186)},'permission':{'title':'Authentication\x20Error','content':_0x3a32c9(0x17a)},'collaboration':{'single-unit':{'warning':_0x3a32c9(0x17c)},'closeRoom':_0x3a32c9(0x18a)},'auth':{'needGotoLoginAlert':_0x3a32c9(0x173)}};export{e as default};
1
+ function _0x5cee(){const _0x27d556=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1061478YQJCLE','Click\x20to\x20Reconnect','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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4925350knvcKP','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2592121AUrMlB','6BQfKSG','11786064VEAHcg','234831PKJWoa','Syncing\x20server\x20data...','2154654hRuNLM','Authentication\x20Error','578796qEItaN'];_0x5cee=function(){return _0x27d556;};return _0x5cee();}const _0x49f747=_0x5286;(function(_0x4db0e6,_0x35794a){const _0x49180b=_0x5286,_0x3b7671=_0x4db0e6();while(!![]){try{const _0x140f79=parseInt(_0x49180b(0x189))/0x1+-parseInt(_0x49180b(0x195))/0x2*(-parseInt(_0x49180b(0x183))/0x3)+-parseInt(_0x49180b(0x187))/0x4+parseInt(_0x49180b(0x18d))/0x5+-parseInt(_0x49180b(0x185))/0x6+parseInt(_0x49180b(0x194))/0x7+-parseInt(_0x49180b(0x182))/0x8;if(_0x140f79===_0x35794a)break;else _0x3b7671['push'](_0x3b7671['shift']());}catch(_0x35555d){_0x3b7671['push'](_0x3b7671['shift']());}}}(_0x5cee,0xa4b38));function _0x5286(_0xe42111,_0x1040ce){const _0x5cee20=_0x5cee();return _0x5286=function(_0x5286a4,_0x465567){_0x5286a4=_0x5286a4-0x182;let _0x311b09=_0x5cee20[_0x5286a4];return _0x311b09;},_0x5286(_0xe42111,_0x1040ce);}const e={'collab-client':{'tooltip':{'reconnect':_0x49f747(0x18a)}},'collabStatus':{'fetchMiss':_0x49f747(0x184),'conflict':_0x49f747(0x190),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x49f747(0x18e),'offline':_0x49f747(0x18f)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x49f747(0x18c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x49f747(0x188)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x49f747(0x18b)},'permission':{'title':_0x49f747(0x186),'content':_0x49f747(0x191)},'collaboration':{'single-unit':{'warning':_0x49f747(0x192)},'closeRoom':_0x49f747(0x193)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x179cfd=_0x28b7;function _0x28b7(_0x2605ff,_0x419835){const _0x3d027b=_0x3d02();return _0x28b7=function(_0x28b73f,_0x30a60b){_0x28b73f=_0x28b73f-0x16d;let _0x5eb909=_0x3d027b[_0x28b73f];return _0x5eb909;},_0x28b7(_0x2605ff,_0x419835);}(function(_0x17afd9,_0x5599f5){const _0x3a8105=_0x28b7,_0x485b70=_0x17afd9();while(!![]){try{const _0x2c2017=-parseInt(_0x3a8105(0x16f))/0x1*(parseInt(_0x3a8105(0x174))/0x2)+-parseInt(_0x3a8105(0x17d))/0x3+parseInt(_0x3a8105(0x172))/0x4+parseInt(_0x3a8105(0x178))/0x5*(-parseInt(_0x3a8105(0x179))/0x6)+parseInt(_0x3a8105(0x181))/0x7+-parseInt(_0x3a8105(0x177))/0x8*(parseInt(_0x3a8105(0x184))/0x9)+parseInt(_0x3a8105(0x16e))/0xa;if(_0x2c2017===_0x5599f5)break;else _0x485b70['push'](_0x485b70['shift']());}catch(_0x507e1e){_0x485b70['push'](_0x485b70['shift']());}}}(_0x3d02,0x98bca));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x179cfd(0x176),'conflict':_0x179cfd(0x17a),'notCollab':_0x179cfd(0x17b),'synced':'همگام\x20سازی','syncing':_0x179cfd(0x173),'offline':_0x179cfd(0x17f)},'session':{'connection-failed':_0x179cfd(0x175),'will-retry':_0x179cfd(0x17e),'room-full':_0x179cfd(0x182),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x179cfd(0x180),'content':_0x179cfd(0x183)},'permission':{'title':_0x179cfd(0x16d),'content':_0x179cfd(0x170)},'collaboration':{'single-unit':{'warning':_0x179cfd(0x171)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x179cfd(0x17c)}};export{o as default};function _0x3d02(){const _0x4ef7ab=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','3711302HcwVpe','اتاق\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رفت.','819TMciww','خطای\x20اعتبارسنجی','18800970bYKyoi','286855UCxURD','اعمال\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کنید.','4636928Culjxc','در\x20حال\x20همگام\x20سازی...','8goyaeM','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','70424rFnOKY','15miBYqW','889530OMogmO','تداخل\x20ویرایش','پرونده\x20محلی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1651941NWAQDW'];_0x3d02=function(){return _0x4ef7ab;};return _0x3d02();}
1
+ const _0x1b3fd3=_0x3027;function _0x3027(_0x134266,_0x58ecbc){const _0x38d1fb=_0x38d1();return _0x3027=function(_0x302726,_0x2b524e){_0x302726=_0x302726-0x1ee;let _0x27a4f9=_0x38d1fb[_0x302726];return _0x27a4f9;},_0x3027(_0x134266,_0x58ecbc);}function _0x38d1(){const _0x249b13=['9237WLWwlu','46PYpqbP','931563eyhxGw','خطای\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بین\x20خواهند\x20رفت.','586859PEMJAe','37342bzrzSi','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','18pfRHtx','24shxvpO','12IvcYOJ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','17003206EZxLTe','همگام\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سرور...','615790OSQhoL','696hykJFP','4425865yTZWCx','در\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رفت.'];_0x38d1=function(){return _0x249b13;};return _0x38d1();}(function(_0x205b74,_0x2bb629){const _0x41b02e=_0x3027,_0x131c28=_0x205b74();while(!![]){try{const _0x49f99a=-parseInt(_0x41b02e(0x1fe))/0x1*(-parseInt(_0x41b02e(0x1f6))/0x2)+parseInt(_0x41b02e(0x1f5))/0x3*(-parseInt(_0x41b02e(0x1f0))/0x4)+-parseInt(_0x41b02e(0x1f1))/0x5+-parseInt(_0x41b02e(0x200))/0x6*(parseInt(_0x41b02e(0x1fd))/0x7)+parseInt(_0x41b02e(0x201))/0x8*(parseInt(_0x41b02e(0x1f7))/0x9)+-parseInt(_0x41b02e(0x1ef))/0xa+parseInt(_0x41b02e(0x204))/0xb*(parseInt(_0x41b02e(0x202))/0xc);if(_0x49f99a===_0x2bb629)break;else _0x131c28['push'](_0x131c28['shift']());}catch(_0x4fbaa7){_0x131c28['push'](_0x131c28['shift']());}}}(_0x38d1,0xef884));const o={'collab-client':{'tooltip':{'reconnect':_0x1b3fd3(0x203)}},'collabStatus':{'fetchMiss':_0x1b3fd3(0x1ee),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x1b3fd3(0x205),'syncing':_0x1b3fd3(0x1f2),'offline':_0x1b3fd3(0x1fa)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1b3fd3(0x1ff),'collaboration-timeout':_0x1b3fd3(0x1f9)},'conflict':{'title':'تداخل\x20همکاری','content':_0x1b3fd3(0x1f4)},'permission':{'title':_0x1b3fd3(0x1f8),'content':_0x1b3fd3(0x1fc)},'collaboration':{'single-unit':{'warning':_0x1b3fd3(0x206)},'closeRoom':_0x1b3fd3(0x1fb)},'auth':{'needGotoLoginAlert':_0x1b3fd3(0x1f3)}};export{o as default};