@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-8c74c87

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 _0x4ebf15=_0x3b55;(function(_0x52c783,_0x2f00a1){const _0x52166e=_0x3b55,_0x2a00f0=_0x52c783();while(!![]){try{const _0x4717be=parseInt(_0x52166e(0x14f))/0x1+-parseInt(_0x52166e(0x19f))/0x2+-parseInt(_0x52166e(0x1d5))/0x3*(-parseInt(_0x52166e(0x7f))/0x4)+-parseInt(_0x52166e(0xe8))/0x5+-parseInt(_0x52166e(0x226))/0x6*(parseInt(_0x52166e(0x80))/0x7)+-parseInt(_0x52166e(0x110))/0x8+parseInt(_0x52166e(0xf4))/0x9;if(_0x4717be===_0x2f00a1)break;else _0x2a00f0['push'](_0x2a00f0['shift']());}catch(_0x335b37){_0x2a00f0['push'](_0x2a00f0['shift']());}}}(_0x4d9e,0x9f51b));var $t=Object[_0x4ebf15(0xe3)],xt=(_0x5ac110,_0x1cfe74,_0x2522d9)=>_0x1cfe74 in _0x5ac110?$t(_0x5ac110,_0x1cfe74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2522d9}):_0x5ac110[_0x1cfe74]=_0x2522d9,_=(_0x4db767,_0x409bcb,_0x4cfe54)=>xt(_0x4db767,typeof _0x409bcb!=_0x4ebf15(0x1f6)?_0x409bcb+'':_0x409bcb,_0x4cfe54);import{MemberService as _0x2bf1c2,SessionStatus as _0x32902d,CollaborationSessionService as _0x859544,CollaborationStatus as _0xddcb7d,CollaborationController as _0x50d68a,ILocalCacheService as _0x4e6669,CollaborationUIEventService as _0x7214b0,CollaborationUIEventId as _0x17a56a,DataLoaderService as _0x19d406,DocCollaborationEntity as _0xf2174a,getLocalCacheKey as _0x462035,LOCAL_CACHE_INTERVAL as _0x253939,LOCAL_CACHE_INTERVAL_KEY as _0x2a79f7,UniverCollaborationClientPlugin as _0x25eac2,CollaborationSocketService as _0x369afe,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16dee2,DEFAULT_WS_SESSION_TICKET_URL as _0x473eb2,UnitStatus as _0x337bc9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x83373e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5a305e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2bba09,Disposable as _0xca418,DOC_RANGE_TYPE as _0x558055,Inject as _0x21e3c0,Injector as _0x24e3a9,IUniverInstanceService as _0x5e4b80,ICommandService as _0x39b3df,debounce as _0x11c36e,Rectangle as _0x29176d,DisposableCollection as _0x428d74,toDisposable as _0x495276,UniverInstanceType as _0x2c18b4,Tools as _0x5aa945,COLORS as _0x2a0744,ColorKit as _0x3d5896,ThemeService as _0x23b8e4,fromEventSubject as _0x3e3d46,LocaleService as _0x4216a9,createIdentifier as _0x9a8bdc,ILogService as _0x5a4cbc,Optional as _0x64318c,Workbook as _0x2f5719,CommandType as _0x57b922,IConfigService as _0x5de9b9,ILocalStorageService as _0x456898,DependentOn as _0x2d2d90,Plugin as _0x4809bc,merge as _0x4fe956,registerDependencies as _0x588f08,mergeOverrideWithDependencies as _0x535b28,touchDependencies as _0x42c77f,generateRandomId as _0x1e0a00}from'@univerjs/core';import{Shape as _0x4c94f2,Rect as _0x566493,getColor as _0x4f1461,RegularPolygon as _0x2cb9c0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x231e14,Vector2 as _0x3cea42,SHEET_VIEWPORT_KEY as _0x3448e4,IRenderManagerService as _0x302a8c}from'@univerjs/engine-render';import{ISocketService as _0x59f96a,WebSocketService as _0x2f56ec,HTTPService as _0x501dfe}from'@univerjs/network';import{IDocClipboardService as _0x344af2,NodePositionConvertToCursor as _0x5a8ad0,NodePositionConvertToRectRange as _0x248ad1,TEXT_RANGE_LAYER_INDEX as _0x11003b,SetDocZoomRatioOperation as _0x1da836,DocIMEInputManagerService as _0xfb9d2e,DocStateChangeManagerService as _0x33c0a6}from'@univerjs/docs-ui';import{IImageIoService as _0x343eca}from'@univerjs/drawing';import{BehaviorSubject as _0x164892,debounceTime as _0x1cd1af,takeUntil as _0x1b0d9c,Subject as _0x2aa836,filter as _0x3c33d1,switchMap as _0x1cc736,merge as _0x7b7325,combineLatest as _0x2b7dc3,of as _0x4f7d66,fromEvent as _0x12567e,shareReplay as _0x425977,mapTo as _0x2e551b,distinctUntilChanged as _0x368309}from'rxjs';import{SetTextSelectionsOperation as _0xa52c06,RichTextEditingMutation as _0x38cc7a,DocSelectionManagerService as _0x3ca3dc,DocSkeletonManagerService as _0x25a69a}from'@univerjs/docs';import{ITransformService as _0x2058c2,CollaborationEvent as _0x8da340,isTransformMutationFailure as _0x2e397e,isTransformMutationsWithChangesetSuccess as _0x246b1e,RevisionService as _0x1c8bdb,ISnapshotServerService as _0x32c769}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x32404e,serializeRangeWithSheet as _0x309c0a}from'@univerjs/engine-formula';import{RefRangeService as _0x39ee90,SetSelectionsOperation as _0x41dc66,SheetsSelectionsService as _0x24260b,EffectRefRangId as _0x505cb2,handleIRemoveRow as _0x4d0d63,handleIRemoveCol as _0x175578,handleMoveRange as _0x4e4669,handleInsertRow as _0x2defd,handleInsertRangeMoveRight as _0x19367d,handleInsertRangeMoveDown as _0x5ab8fc,handleInsertCol as _0x3cfb9c,handleDeleteRangeMoveUp as _0x4a30e5,handleDeleteRangeMoveLeft as _0x39ff22,runRefRangeMutations as _0x3c7cb7,SetWorksheetActivateCommand as _0x286983}from'@univerjs/sheets';import{map as _0x3b18e0,filter as _0x253442,throttleTime as _0x4c2695,takeUntil as _0x3a2f81,switchMap as _0x18be5c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x52bdb7,getCoordByCell as _0x5b3e44,getSheetObject as _0x2bee3a}from'@univerjs/sheets-ui';import{jsx as _0x5c0584,jsxs as _0x569e98}from'react/jsx-runtime';import{useObservable as _0x193b0e,useDependency as _0x33a165,IUIPartsService as _0x4d41a3,BuiltInUIPart as _0x539999,connectInjector as _0x356331,IBeforeCloseService as _0x2a9bd9,IMessageService as _0x47ee23,INotificationService as _0x34fb92}from'@univerjs/ui';import{Tooltip as _0x2d2c69,clsx as _0xd5304a,MessageType as _0x349ffa}from'@univerjs/design';import{forwardRef as _0x4a0a5b,useRef as _0xc12f9f,createElement as _0xf8a422,useCallback as _0x3fa469}from'react';import{IRemoteInstanceService as _0x52d9dc}from'@univerjs/rpc';var ci=Object[_0x4ebf15(0x23a)],li=(_0x27f1fc,_0x2527df,_0x5510f3,_0x33f38b)=>{for(var _0x300b15=_0x33f38b>0x1?void 0x0:_0x33f38b?ci(_0x2527df,_0x5510f3):_0x2527df,_0xc3af12=_0x27f1fc['length']-0x1,_0xbc9940;_0xc3af12>=0x0;_0xc3af12--)(_0xbc9940=_0x27f1fc[_0xc3af12])&&(_0x300b15=_0xbc9940(_0x300b15)||_0x300b15);return _0x300b15;},Je=(_0x1ff276,_0x47892a)=>(_0x4e0e57,_0x1a1634)=>_0x47892a(_0x4e0e57,_0x1a1634,_0x1ff276);let Ne=class extends _0x2bba09{constructor(_0x5dcc6f,_0x44f699){const _0x1fb21c=_0x4ebf15;super(),this[_0x1fb21c(0xf3)]=_0x5dcc6f,this[_0x1fb21c(0x12f)]=_0x44f699,this[_0x1fb21c(0x185)]();}[_0x4ebf15(0x185)](){const _0x1c23ef=_0x4ebf15,_0x180003=this;this[_0x1c23ef(0x21f)](this[_0x1c23ef(0xf3)][_0x1c23ef(0x1dc)]({'onBeforePasteImage':async _0x460a0e=>{const _0x245c8a=_0x1c23ef,_0x7bb737=await _0x180003[_0x245c8a(0x12f)][_0x245c8a(0x1b7)](_0x460a0e);return _0x7bb737?{'source':_0x7bb737[_0x245c8a(0xd4)],'imageSourceType':_0x7bb737['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x344af2),Je(0x1,_0x343eca)],Ne);const Ze=['purple300','jiqing500',_0x4ebf15(0x22f),_0x4ebf15(0x142),_0x4ebf15(0xcc),'gold400'];class ke extends _0xca418{constructor(){const _0x40fcac=_0x4ebf15;super(...arguments),_(this,_0x40fcac(0x141),new Map()),_(this,_0x40fcac(0x266),0x0);}['assignAColorForMemberID'](_0x51031e){const _0x1c8e0a=_0x4ebf15;if(this[_0x1c8e0a(0x141)]['has'](_0x51031e))return this[_0x1c8e0a(0x141)][_0x1c8e0a(0x254)](_0x51031e);const _0x2cf18a=Ze[this[_0x1c8e0a(0x266)]];return this[_0x1c8e0a(0x266)]=(this[_0x1c8e0a(0x266)]+0x1)%Ze[_0x1c8e0a(0x1f4)],this[_0x1c8e0a(0x141)][_0x1c8e0a(0x1c2)](_0x51031e,_0x2cf18a),_0x2cf18a;}}function Tt(_0x5c198d){const _0x1490be=_0x4ebf15;let _0x3175ef='';for(const _0x584a91 of _0x5c198d){const {startOffset:_0x2a2296,endOffset:_0x4408ff,isActive:_0xb4748f,rangeType:_0x6c3155,segmentId:_0x378315,segmentPage:_0x2f10f9}=_0x584a91;_0x3175ef[_0x1490be(0x1f4)]&&(_0x3175ef+=','),_0x3175ef+=_0x2a2296+':'+_0x4408ff+':'+(_0xb4748f?'1':'0')+':'+_0x6c3155+':'+_0x378315+':'+_0x2f10f9;}return _0x3175ef;}function _i(_0x1a1d8b){const _0x3c00c9=_0x4ebf15,_0x50c805=_0x1a1d8b[_0x3c00c9(0x216)](','),_0x276169=[];for(const _0x474ee8 of _0x50c805){const [_0x57065b,_0xb70326,_0x5a0622,_0xa135ea,_0x1638c4,_0x52898f]=_0x474ee8[_0x3c00c9(0x216)](':');_0x276169[_0x3c00c9(0x71)]({'startOffset':Number(_0x57065b),'endOffset':Number(_0xb70326),'collapsed':_0x57065b===_0xb70326,'isActive':_0x5a0622==='1','rangeType':_0xa135ea===_0x558055['TEXT']?_0x558055[_0x3c00c9(0x1c1)]:_0x558055[_0x3c00c9(0xc2)],'segmentId':typeof _0x1638c4==_0x3c00c9(0x25e)?String(_0x1638c4):'','segmentPage':Number(_0x52898f!=null?_0x52898f:-0x1)});}return _0x276169[_0x3c00c9(0x79)](_0x1a00a1=>_0x1a00a1[_0x3c00c9(0x117)])||(_0x276169[0x0][_0x3c00c9(0x117)]=!0x0),_0x276169;}function _0x4d9e(){const _0xd4ae4c=['onPointerMove$','transformSelections','color','off-line-single_clip0_910_343','_colorAssignService','undoState','session.will-retry','data','RemoveColCommandId','_transformService','_docTransformSelectionsService','getRenderById','_eventUnsubscribe','replaceDocRanges','USERS_LEAVE','_docTransformStateCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_startDocCollabCursor','values','colorChannel1','_initCommandExecutedListener','univer-text-red-500','_localStorageService','history','getSkeleton','TEXT','set','getStateCache','unitID','className','transformStateCache','closePath','1em','UNAUTHENTICATED','sessionStatus$','defIds','_refreshCollabCursors','InsertColCommandId','eventID','getDocRanges','storage','_handleHover','docStateChange$','_onRefRangeChange','getUnitStatus$','1166613GxVtpj','_commandService','_docStateChangeManagerService','redoState','setUndoRedoMutationParamsCache','doc.mutation.rich-text-editing','rgba(255,\x20255,\x20255,\x200.01)','addClipboardHook','_onCursorDelete','stringify','debug','INVALID_INVITE_CODE','executionId','[CollaborationDataLoaderController]','xlink:href','AWAITING','getTypeOfUnitAdded$','INVALID_ARGUMENT','next','roomMembers$','getRelativeToViewportCoord','error','textRanges','mask','replace','PY_RUNTIME_SCRIPT_ERROR','collab-text-anchor-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','...','LICENSE_DISTRO_REJECTED','EMAIL_HAS_BEEN_BOUND','length','#fff','symbol','_notificationService','_drawRectRange','bottom','_heartbeatTimer','DeleteRangeMoveLeftCommandId','drawWith','_hideTimer','collaboration.closeRoom','_instanceService','_transformUndoRedoStack','svg','_renderManagerService','deepClone','params','idSuffix','APPLY_NON_SEQUENTIAL_REVISION','transformMutationsWithChangeset','_collabCursorState$','_id','transformMutation','href','extend','_online','current','_entities','UPDATE_CURSOR','urlChange$','collab-client.tooltip.reconnect','_labelPosition','_urlService','clearInterval','split','INTERNAL_ERROR','dispose$','has','currentSkeleton$','NOT_FOUND','transform','name','UNIVER_DOC','disposeWithMe','attrs','getCollabCursors$','APPLY_REVISION_CONFILICT','_dataLoaderService','Error','assign','222MctoVn','INVITE_CODE_REQUIRED','forEach','#FFF','_createSocketURL','_textBubble','getVpScrollXYInfoByPosToVp','Failed','_session','verdancy600','permission.title','onLocalMutation','collaboration.single-unit.warning','_config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','subunit','startColumn','transformRemoteChangeset','currentTheme$','m2Prime','getOwnPropertyDescriptor','_document','_collabSessionService','mutations','type','sheetID','OFFLINE','call','_sheetSkeletonManagerService','prototype','_cursors','complete','YUUMI_UNABLE_LOAD_URL','setShapeProps','_updateLocalCursor','collabStatus.conflict','icon','_configService','_logService','div','Unknown\x20user','FromArray','getOwnPropertySymbols','_drawTextRange','runId','OffLineSingle','get','LICENSE_IMPORT_SIZE_EXCEEDED','getSheetId','random','toString','INVITE_CODE_ALREADY_BOUND','executeCommand','YUUMI_SUBSCRIPTION_NOT_FOUND','save','_clearOtherTimers','string','status$','_saveCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','selection','USER_NOT_INVITED_CODE','dispose','_getAnchorBounding','_colorIndex','subscribeEvent','_unitStatus','code','_getScale','reconnect','startsWith','_initResize','location','memberID','_range','push','unit','tag','APPLY_REJECT','LICENSE_EXPORT_SIZE_EXCEEDED','indexOf','APPLY_DUPLICATED','disposeUnit','some','_messageService','translate(.97)','PERMISSION_DENIED','onRendered','_cursorInfo$','4CLrrCI','215411JMWZWL','getParam','_lastPointer','removeParam','toRgbString','displayName','_removeClearOtherTimer','_memberService','m1Prime','_removeCollabCursors','onCommandExecuted','CONFLICT','getUniverSheetInstance','asObservable','send','registerRenderModule','CHANGESET_REVISION_CONFILICT','_transformPreviousActiveRange','requireSession','_getMergeRange','getFocusedUnit','UNRECOGNIZED','event$','setItem','children','_cachedData','key','SNAPSHOT_INVALID_SNAPSHOT','_scheduleClearOtherTimer','max','0\x200\x2017\x2016','parse','YUUMI_ASYNCIO_CANCELLED','exhaustSavingTask','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','getViewport','getAncestorScale','_refRangeService','lineTo','endRow','_docTransformIMECacheService','url(#off-line-single_clip0_910_343)','_injector','_getSessionTicket','_selfUnitIDs','_cursor','addObject','resize','getValue','UNDEFINED','min','pipe','_initStatusComponent','hide','url(#on-line-single_clip0_910_349)','getCurrent','_uiPartsService','_setupSubUnitSync','fillStyle','getMember','Warning','startRow','_handleEvent','_docSkeleton','createSocket','runOnServer','RECT','evenodd','_univerInstanceService','loadUnit','black','_name','HEADER_MENU','_collaborationUIEventService','_httpService','collabCursorState$','blue400','_toggleOnline','_localCacheService','ACTIVE_UNIT_EVENT_CHANNEL','permission.content','addHandlerCallback','size','result','source','onPointerLeave$','ENSURE_SNAPSHOT_EXECUTION','defs','on-line-single','disableLocalCache','function','arc','_docSyncEditingCollabCursorService','collaboration-client-ui.config','hovered','DeleteRangeMoveUpCommandId','_updateSubUnitFromURLParams','YUUMI_URL_COL_OUT_OF_RANGE','height','defineProperty','unitId','getCellPositionByOffset','_send','triggerDblclick','3504775JUSEoW','_ensureSubject','_beforeCloseService','pluginName','_startSheetCollabCursor','collabStatus.synced','generateRandomId','concat','with','collabStatus.syncing','/run/','_docClipboardService','25032816caScQH','_draw','M0\x200H16V16H0z','invokeId','delete','LICENSE_MAX_UNITS_EXCEEDED','round','addEventListener','text','_syncEditingCollabCursorService','cursorInfo$','_onCursorUpdate','_saveTaskMap','_hovered','substring','MOBILE_HAS_BEEN_BOUND','_scheduleHeartbeat','width','TOO_MANY_REQUESTS','_transformHistoryAndStateStack','_handleJoinEvent','INVITE_CODE_HAS_BEEN_UES','getUndoRedoMutationParamsCache','_handleHeartbeatEvent','CONNECTOR_DATA_TOO_LARGE','from','whenReady','_scene','3634488EdYitx','hasOwnProperty','getTypeOfUnitDisposed$','includes','onStarting','_initStatusListener','_registerRenderDependencies','isActive','ranges','_cursorShapes','_scheduleSaving','fillText','find','onPointerEnter$','roomMembers','ticket','SUBMIT_CHANGESET_TIMEOUT','PENDING','focused$','univerjs-icon\x20univerjs-icon-','restore','labelPosition','onMouseMove','registerComponent','propertyIsEnumerable','replaceState','OnLineSingle','range','application/json','entityInit$','_render','_imageIoService','univer-text-green-500','popstate','setParam','_hover','cursorInfo','clearTimeout','saveTaskMap','_roomMembers$','_revisionService','fillRule','getRangePointData','measureText','setStateCache','unsubscribe','_backgroundColor','_entityInit$','setAlpha','_assignedColors','red300','skeleton','MUTATION','NOT_COLLAB','YUUMI_RATE_OVER_LIMIT','unshift','transformIMECache','collab-rect-range-','getConfig','contains','subscribe','LOGIN_FAILED','url(#$1','549690ViuNzf','apply','loadOfflineData','UNIVER_SHEET','getUnitId','_updateURLWithCurrentState','trim','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','currentColor','init','makeDirty','assignAColorForMemberID','column','clipPath','_toggleOffline','isArray','COMPLETION_FINISHED','onTransformChange$','_themeService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','top','getActiveSheet','_disabled','ONLINE','_drawAnchor','getMemberID','getActiveRange','OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','SYNCED','fill','use','none','_updateCollabCursors','addObjects','findNodePositionByCharIndex','registerRefRange','_docSkeletonManagerService','getCurrentUnitForType','isEditing','all','_status$','_collabCursorController','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','_color','APPLY_PERMISSION_DENIED','search','createInstance','MoveRangeCommandId','getCollabEntity$','SOCKET_FAILED_RETRY','subUnitId','post','_init','_shapes','add','_getSaveTimeout','_localeService','0\x200\x2016\x2016','getUnhiddenWorksheets','map','entries','collabStatus.notCollab','show','session.connection-failed','AWAITING_WITH_PENDING','searchParams','InsertRangeMoveDownCommandId','collab-text-range-','_collaborationController','_context','_anchorDot','_registerDependencies','then','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','NO_OTHER_CLIENTS_EDITING','backgroundColor','pushState','setInterval','1547094xIdFJA','body','row','_anchor','collabStatus.fetchMiss','path','_unitOnClients'];_0x4d9e=function(){return _0xd4ae4c;};return _0x4d9e();}class He extends _0x2bba09{constructor(){const _0x17dc35=_0x4ebf15;super(...arguments),_(this,_0x17dc35(0x208),new _0x164892(null)),_(this,_0x17dc35(0xcb),this[_0x17dc35(0x208)][_0x17dc35(0x8d)]());}['syncEditingCollabCursor'](_0x264303){const _0x599587=_0x4ebf15,{unitID:_0x188b42,memberID:_0x208912,textRanges:_0x3462cc}=_0x264303,_0x4660ea=Tt(_0x3462cc);if(_0x4660ea==='')return;const _0x2ca591={'unitID':_0x188b42,'memberID':_0x208912,'selection':_0x4660ea};this[_0x599587(0x208)]['next'](_0x2ca591);}}var hi=Object[_0x4ebf15(0x23a)],ui=(_0xb06011,_0x209b1b,_0x3d5529,_0x3ffa17)=>{for(var _0x439c16=_0x3ffa17>0x1?void 0x0:_0x3ffa17?hi(_0x209b1b,_0x3d5529):_0x209b1b,_0x3adcad=_0xb06011['length']-0x1,_0x585431;_0x3adcad>=0x0;_0x3adcad--)(_0x585431=_0xb06011[_0x3adcad])&&(_0x439c16=_0x585431(_0x439c16)||_0x439c16);return _0x439c16;},w=(_0x32d5da,_0x516bf5)=>(_0x3130d7,_0x374545)=>_0x516bf5(_0x3130d7,_0x374545,_0x32d5da);const di=0x12c,fi=0x64;let Ue=class extends _0x2bba09{constructor(_0x159ecf,_0x1638ea,_0x1910f2,_0x556abd,_0x54d950,_0x5a7cb5,_0x42808a,_0x378040,_0x44542d){const _0x4a21a6=_0x4ebf15;super(),_(this,_0x4a21a6(0x20d),!0x1),_(this,_0x4a21a6(0x185),!0x1),_(this,'_cursorInfo$',new _0x164892(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x4a21a6(0x8d)]()),_(this,_0x4a21a6(0x137),new _0x164892([])),_(this,_0x4a21a6(0x1e8),this[_0x4a21a6(0x137)]['pipe'](_0x1cd1af(di))),_(this,_0x4a21a6(0x248),_0x11c36e(_0x517653=>{const _0xcd616=_0x4a21a6,_0x59eaed={'eventID':_0x8da340[_0xcd616(0x210)],'data':{'unitID':this[_0xcd616(0x1c4)],'memberID':this[_0xcd616(0x22e)]['getMemberID'](),'selection':Tt(_0x517653)}};this[_0xcd616(0x22e)][_0xcd616(0x8e)](_0x59eaed,this[_0xcd616(0x1c4)]);},fi)),(this['unitID']=_0x159ecf,this[_0x4a21a6(0x22e)]=_0x1638ea,this[_0x4a21a6(0xaa)]=_0x1910f2,this[_0x4a21a6(0x1aa)]=_0x556abd,this[_0x4a21a6(0x87)]=_0x54d950,this[_0x4a21a6(0xfd)]=_0x5a7cb5,this[_0x4a21a6(0x1af)]=_0x42808a,this[_0x4a21a6(0xc4)]=_0x378040,this[_0x4a21a6(0x1d6)]=_0x44542d);}get[_0x4ebf15(0x134)](){const _0x5a78f2=_0x4ebf15;return this[_0x5a78f2(0x7e)][_0x5a78f2(0xb0)]();}get[_0x4ebf15(0x11e)](){const _0x36e4bf=_0x4ebf15;return this[_0x36e4bf(0x137)]['getValue']();}[_0x4ebf15(0x264)](){const _0x5a944b=_0x4ebf15;super[_0x5a944b(0x264)](),this[_0x5a944b(0x7e)][_0x5a944b(0x1e7)](new Map()),this['_cursorInfo$']['complete'](),this[_0x5a944b(0x137)]['next']([]),this[_0x5a944b(0x137)][_0x5a944b(0x245)]();}[_0x4ebf15(0x159)](){const _0x2c41fa=_0x4ebf15;this[_0x2c41fa(0x185)]||(this[_0x2c41fa(0x185)]=!0x0,this[_0x2c41fa(0x22e)][_0x2c41fa(0x1ca)][_0x2c41fa(0xb3)](_0x1b0d9c(this[_0x2c41fa(0x218)]))['subscribe'](_0x1feefd=>{const _0x1a5a78=_0x2c41fa;_0x1feefd===_0x32902d[_0x1a5a78(0x167)]?this[_0x1a5a78(0xcd)]():this[_0x1a5a78(0x15e)]();}),this[_0x2c41fa(0x22e)][_0x2c41fa(0x96)][_0x2c41fa(0xb3)](_0x1b0d9c(this['dispose$']))[_0x2c41fa(0x14c)](_0x106d1e=>{const _0x1ec40d=_0x2c41fa,_0x220cd5=_0x106d1e[_0x1ec40d(0x1ce)];_0x220cd5===_0x8da340[_0x1ec40d(0x210)]&&this[_0x1ec40d(0xff)](_0x106d1e),_0x220cd5===_0x8da340[_0x1ec40d(0x1b4)]&&this[_0x1ec40d(0x1dd)](_0x106d1e);}),this[_0x2c41fa(0x21f)](this[_0x2c41fa(0x1d6)][_0x2c41fa(0x8a)](_0x562313=>{const _0x17ab4e=_0x2c41fa,_0x5214ce=_0x562313[_0x17ab4e(0x204)];_0x5214ce!=null&&this[_0x17ab4e(0x20d)]&&_0x562313['id']===_0xa52c06['id']&&_0x5214ce[_0x17ab4e(0xe4)]===this[_0x17ab4e(0x1c4)]&&_0x5214ce[_0x17ab4e(0x177)]===!0x1&&_0x5214ce[_0x17ab4e(0x118)]['length']>0x0&&this['_updateLocalCursor'](_0x5214ce[_0x17ab4e(0x118)]);})),this[_0x2c41fa(0xfd)][_0x2c41fa(0xcb)][_0x2c41fa(0xb3)](_0x1b0d9c(this[_0x2c41fa(0x218)]))['subscribe'](_0x4381e1=>{const _0xd538bb=_0x2c41fa;if((_0x4381e1==null?void 0x0:_0x4381e1[_0xd538bb(0x1c4)])!==this[_0xd538bb(0x1c4)])return;const _0x4543f1={'eventID':_0x8da340[_0xd538bb(0x210)],'data':_0x4381e1};this[_0xd538bb(0xff)](_0x4543f1);}),this[_0x2c41fa(0x21f)](this[_0x2c41fa(0x1d6)][_0x2c41fa(0x8a)](_0x167690=>{const _0x1fc376=_0x2c41fa;if(_0x167690[_0x1fc376(0x204)]==null)return;const _0x2a8429=_0x167690[_0x1fc376(0x204)];if(_0x167690['id']!==_0x38cc7a['id']||_0x2a8429[_0x1fc376(0xe4)]!==this[_0x1fc376(0x1c4)])return;const _0xb77fa8={'id':_0x1fc376(0x1da),'params':_0x2a8429},_0x4e63c9=this[_0x1fc376(0x134)];for(const [_0x1be118,_0x318933]of _0x4e63c9){const _0x1310ca={'id':_0x1fc376(0x1da),'params':{'unitId':this[_0x1fc376(0x1c4)],'actions':null,'textRanges':_0x318933[_0x1fc376(0x118)]}},_0xea2f06=this[_0x1fc376(0x1af)][_0x1fc376(0x20a)](_0xb77fa8,_0x1310ca,!0x1);if(_0x2e397e(_0xea2f06))throw _0xea2f06[_0x1fc376(0x1ea)];_0x4e63c9[_0x1fc376(0x1c2)](_0x1be118,{..._0x318933,'ranges':_0xea2f06[_0x1fc376(0x239)]['params'][_0x1fc376(0x1eb)]});}queueMicrotask(()=>{const _0x2b9b13=_0x1fc376;this[_0x2b9b13(0x7e)][_0x2b9b13(0x1e7)](_0x4e63c9);});})));}[_0x4ebf15(0xff)](_0x23ba6a){const _0x544088=_0x4ebf15;var _0x68362c,_0x58d7f5;const {memberID:_0x4a8472,selection:_0x5311c7}=_0x23ba6a['data'],_0x489814=_i(_0x5311c7),_0x26dc57=(_0x58d7f5=(_0x68362c=this['_memberService'][_0x544088(0xbb)](this[_0x544088(0x1c4)],_0x4a8472))==null?void 0x0:_0x68362c[_0x544088(0x21d)])!=null?_0x58d7f5:_0x544088(0x24e),_0x1c12de={'color':this[_0x544088(0x1aa)][_0x544088(0x15b)](_0x4a8472),'name':_0x26dc57,'ranges':_0x489814},_0x568a19=this['cursorInfo'];_0x568a19['set'](_0x4a8472,_0x1c12de),this[_0x544088(0x7e)][_0x544088(0x1e7)](_0x568a19);}['_onCursorDelete'](_0x95ca2e){const _0x52791e=_0x4ebf15,{memberID:_0x444c08}=_0x95ca2e[_0x52791e(0x1ad)],_0x5164a9=this[_0x52791e(0x134)];_0x5164a9[_0x52791e(0xf8)](_0x444c08),this[_0x52791e(0x7e)][_0x52791e(0x1e7)](_0x5164a9);}[_0x4ebf15(0xcd)](){const _0x22dafb=_0x4ebf15;var _0x32d205;if(this['_online']=!0x0,((_0x32d205=this['_univerInstanceService'][_0x22dafb(0x94)]())==null?void 0x0:_0x32d205[_0x22dafb(0x153)]())!==this[_0x22dafb(0x1c4)])return;const _0x5acd51=this[_0x22dafb(0xaa)][_0x22dafb(0x254)](_0x3ca3dc)[_0x22dafb(0x1cf)]();Array['isArray'](_0x5acd51)&&_0x5acd51['length']>0x0&&this[_0x22dafb(0x248)](_0x5acd51);}[_0x4ebf15(0x15e)](){const _0x5927c4=_0x4ebf15;this[_0x5927c4(0x20d)]=!0x1;}};Ue=ui([w(0x2,_0x21e3c0(_0x24e3a9)),w(0x3,_0x21e3c0(ke)),w(0x4,_0x21e3c0(_0x2bf1c2)),w(0x5,_0x21e3c0(He)),w(0x6,_0x2058c2),w(0x7,_0x5e4b80),w(0x8,_0x39b3df)],Ue);var Si=Object[_0x4ebf15(0x23a)],mi=(_0x3f5c29,_0x4797dd,_0x236fa1,_0x1c4243)=>{for(var _0x72d81=_0x1c4243>0x1?void 0x0:_0x1c4243?Si(_0x4797dd,_0x236fa1):_0x4797dd,_0x15a3c5=_0x3f5c29['length']-0x1,_0x33e1bc;_0x15a3c5>=0x0;_0x15a3c5--)(_0x33e1bc=_0x3f5c29[_0x15a3c5])&&(_0x72d81=_0x33e1bc(_0x72d81)||_0x72d81);return _0x72d81;},x=(_0x353717,_0x2a07d4)=>(_0x436335,_0x3df51a)=>_0x2a07d4(_0x436335,_0x3df51a,_0x353717);const gi=0x12c,vi=0x64,Ii=()=>{let _0x117900=[],_0x162997=!0x1;return _0x4183e6=>{const _0x1f83df=_0x3b55;_0x117900[_0x1f83df(0x71)](_0x4183e6),_0x162997||(_0x162997=!0x0,setTimeout(()=>{_0x117900['forEach'](_0x3ec151=>_0x3ec151()),_0x117900=[],_0x162997=!0x1;}));};};let Me=class extends _0x2bba09{constructor(_0x152b19,_0x255c1f,_0x2dd25a,_0x1267cc,_0xa7cdad,_0x1898fb,_0x52ac8e,_0x578fe2){const _0x2567ac=_0x4ebf15;super(),_(this,_0x2567ac(0x20d),!0x1),_(this,_0x2567ac(0x185),!0x1),_(this,'_cursorInfo$',new _0x164892(new Map())),_(this,_0x2567ac(0xfe),this[_0x2567ac(0x7e)]['asObservable']()),_(this,_0x2567ac(0x137),new _0x164892([])),_(this,_0x2567ac(0x1e8),this[_0x2567ac(0x137)][_0x2567ac(0xb3)](_0x1cd1af(gi))),_(this,_0x2567ac(0x248),_0x11c36e((_0x43f76a,_0x1b87f5)=>{const _0x1e4c18=_0x2567ac,_0x1df2fd={'eventID':_0x8da340[_0x1e4c18(0x210)],'data':{'unitID':this[_0x1e4c18(0x1c4)],'memberID':this[_0x1e4c18(0x22e)][_0x1e4c18(0x169)](),'selection':_0x309c0a(_0x43f76a,_0x1b87f5['range'])}};this[_0x1e4c18(0x22e)][_0x1e4c18(0x8e)](_0x1df2fd,this[_0x1e4c18(0x1c4)]);},vi)),(this['unitID']=_0x152b19,this[_0x2567ac(0x22e)]=_0x255c1f,this[_0x2567ac(0xaa)]=_0x2dd25a,this['_colorAssignService']=_0x1267cc,this[_0x2567ac(0x87)]=_0xa7cdad,this[_0x2567ac(0xc4)]=_0x1898fb,this['_commandService']=_0x52ac8e,this[_0x2567ac(0xa5)]=_0x578fe2);}get['cursorInfo'](){const _0x521458=_0x4ebf15;return this[_0x521458(0x7e)][_0x521458(0xb0)]();}get[_0x4ebf15(0x11e)](){const _0x4a3adf=_0x4ebf15;return this[_0x4a3adf(0x137)][_0x4a3adf(0xb0)]();}['dispose'](){const _0x592fce=_0x4ebf15;super['dispose'](),this['_cursorInfo$'][_0x592fce(0x1e7)](new Map()),this['_cursorInfo$'][_0x592fce(0x245)](),this['_roomMembers$'][_0x592fce(0x1e7)]([]),this[_0x592fce(0x137)][_0x592fce(0x245)]();}[_0x4ebf15(0x159)](){const _0x30040a=_0x4ebf15;this[_0x30040a(0x185)]||(this[_0x30040a(0x185)]=!0x0,this['_session'][_0x30040a(0x1ca)][_0x30040a(0xb3)](_0x1b0d9c(this[_0x30040a(0x218)]))[_0x30040a(0x14c)](_0x1e2939=>{const _0x89843d=_0x30040a;_0x1e2939===_0x32902d[_0x89843d(0x167)]?this[_0x89843d(0xcd)]():this[_0x89843d(0x15e)]();}),this[_0x30040a(0x22e)][_0x30040a(0x96)]['pipe'](_0x1b0d9c(this[_0x30040a(0x218)]))['subscribe'](_0x204499=>{const _0x54123f=_0x30040a,_0x34ebb9=_0x204499[_0x54123f(0x1ce)];_0x34ebb9===_0x8da340[_0x54123f(0x210)]&&this[_0x54123f(0xff)](_0x204499),_0x34ebb9===_0x8da340['USERS_LEAVE']&&this[_0x54123f(0x1dd)](_0x204499);}),this['_onRefRangeChange'](),this[_0x30040a(0x21f)](this[_0x30040a(0x1d6)][_0x30040a(0x8a)](_0x4ec21e=>{const _0x40d4bf=_0x30040a;if(this[_0x40d4bf(0x20d)]&&_0x4ec21e['id']===_0x41dc66['id']&&_0x4ec21e[_0x40d4bf(0x204)][_0x40d4bf(0xe4)]===this[_0x40d4bf(0x1c4)]){const _0x387ea7=_0x4ec21e['params'];this[_0x40d4bf(0x248)](_0x387ea7[_0x40d4bf(0x183)],_0x387ea7['selections'][0x0]);}})));}[_0x4ebf15(0xff)](_0x178130){const _0x21cd29=_0x4ebf15;var _0x526961,_0x4b955d;const {memberID:_0x439c8f,selection:_0xb4be60}=_0x178130[_0x21cd29(0x1ad)],{sheetName:_0x4ddf4a,range:_0x9b1d59}=_0x32404e(_0xb4be60),_0x1643c8={'name':(_0x4b955d=(_0x526961=this[_0x21cd29(0x87)][_0x21cd29(0xbb)](this['unitID'],_0x439c8f))==null?void 0x0:_0x526961['name'])!=null?_0x4b955d:_0x21cd29(0x24e),'range':this['_getMergeRange'](_0x4ddf4a,_0x9b1d59),'sheetID':_0x4ddf4a,'color':this[_0x21cd29(0x1aa)]['assignAColorForMemberID'](_0x439c8f),'selection':_0xb4be60},_0x2ede4d=this['cursorInfo'];_0x2ede4d['set'](_0x439c8f,_0x1643c8),this[_0x21cd29(0x7e)][_0x21cd29(0x1e7)](_0x2ede4d);}[_0x4ebf15(0x1dd)](_0x1b30c7){const _0x56b771=_0x4ebf15,{memberID:_0x48b8c8}=_0x1b30c7[_0x56b771(0x1ad)],_0x1e5892=this[_0x56b771(0x134)];_0x1e5892['delete'](_0x48b8c8),this[_0x56b771(0x7e)][_0x56b771(0x1e7)](_0x1e5892);}[_0x4ebf15(0x93)](_0x4d238b,_0x482b88){const _0x35f9fa=_0x4ebf15;var _0x47d174,_0x15b05c;const _0x29a1d1=(_0x15b05c=(_0x47d174=this[_0x35f9fa(0xc4)][_0x35f9fa(0x8c)](this[_0x35f9fa(0x1c4)]))==null?void 0x0:_0x47d174['getSheetBySheetId'](_0x4d238b))==null?void 0x0:_0x15b05c['getMergeData']();return(_0x29a1d1==null?void 0x0:_0x29a1d1[_0x35f9fa(0x11c)](_0x5ed689=>_0x29176d[_0x35f9fa(0x14b)](_0x5ed689,_0x482b88)))||_0x482b88;}[_0x4ebf15(0x1d3)](){const _0x3983aa=_0x4ebf15,_0x295580=new _0x428d74(),_0x4c5ecd=Ii(),_0x4a3c2c=()=>{const _0x50f22e=_0x3b55;_0x295580['dispose']();const _0xa90c2f=(_0x22d437,_0x4d40b5,_0x4e6cad,_0x32d9f0)=>{const _0x37383c=_0x3b55;let _0xd3b83f=[];switch(_0x22d437['id']){case _0x505cb2[_0x37383c(0x1fb)]:{_0xd3b83f=_0x39ff22(_0x22d437,_0x32d9f0);break;}case _0x505cb2[_0x37383c(0xdf)]:{_0xd3b83f=_0x4a30e5(_0x22d437,_0x32d9f0);break;}case _0x505cb2[_0x37383c(0x1cd)]:{_0xd3b83f=_0x3cfb9c(_0x22d437,_0x32d9f0);break;}case _0x505cb2[_0x37383c(0x193)]:{_0xd3b83f=_0x5ab8fc(_0x22d437,_0x32d9f0);break;}case _0x505cb2['InsertRangeMoveRightCommandId']:{_0xd3b83f=_0x19367d(_0x22d437,_0x32d9f0);break;}case _0x505cb2['InsertRowCommandId']:{_0xd3b83f=_0x2defd(_0x22d437,_0x32d9f0);break;}case _0x505cb2[_0x37383c(0x180)]:{_0xd3b83f=_0x4e4669(_0x22d437,_0x32d9f0);break;}case _0x505cb2[_0x37383c(0x1ae)]:{_0xd3b83f=_0x175578(_0x22d437,_0x32d9f0);break;}case _0x505cb2['RemoveRowCommandId']:{_0xd3b83f=_0x4d0d63(_0x22d437,_0x32d9f0);break;}}const _0x2cf3b7=_0x3c7cb7(_0xd3b83f,_0x32d9f0),_0x1d8c24=this[_0x37383c(0x134)][_0x37383c(0x254)](_0x4d40b5);if(_0x1d8c24&&_0x2cf3b7){const _0x5cff35={..._0x1d8c24,'range':_0x2cf3b7};this[_0x37383c(0x134)][_0x37383c(0x1c2)](_0x4d40b5,_0x5cff35),_0x4c5ecd(()=>{const _0xd7c497=_0x37383c,_0x42e25b=this[_0xd7c497(0xa5)][_0xd7c497(0x174)](_0x2cf3b7,_0x55a6e1=>(_0x42e25b[_0xd7c497(0x264)](),_0xa90c2f(_0x55a6e1,_0x4d40b5,_0x4e6cad,_0x2cf3b7)));_0x295580['add'](_0x42e25b);});}return{'redos':[],'undos':[]};};this[_0x50f22e(0x134)][_0x50f22e(0x228)]((_0x5269e7,_0x8d65a3)=>{const _0x51ef6a=_0x50f22e,{range:_0x33df35,sheetID:_0x20fd18}=_0x5269e7,_0x3071ef=this[_0x51ef6a(0xa5)]['registerRefRange'](_0x33df35,_0x57795d=>(_0x3071ef[_0x51ef6a(0x264)](),_0xa90c2f(_0x57795d,_0x8d65a3,_0x20fd18,_0x33df35)));_0x295580[_0x51ef6a(0x187)](_0x3071ef);});};this[_0x3983aa(0x21f)](_0x495276(this[_0x3983aa(0x7e)][_0x3983aa(0x14c)](()=>{_0x4a3c2c();})));}[_0x4ebf15(0xcd)](){const _0x1a4f30=_0x4ebf15;var _0x17c07b,_0x3cbfbf;if(this[_0x1a4f30(0x20d)]=!0x0,((_0x17c07b=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x17c07b[_0x1a4f30(0x153)]())!==this[_0x1a4f30(0x1c4)])return;const _0x4d4f1c=(_0x3cbfbf=this['_injector'][_0x1a4f30(0x254)](_0x24260b)['getCurrentSelections']())==null?void 0x0:_0x3cbfbf[0x0],_0x35b48d=this[_0x1a4f30(0xc4)][_0x1a4f30(0x176)](_0x2c18b4[_0x1a4f30(0x152)])['getActiveSheet']();_0x4d4f1c&&_0x35b48d&&this[_0x1a4f30(0x248)](_0x35b48d['getSheetId'](),_0x4d4f1c);}['_toggleOffline'](){const _0x3469ac=_0x4ebf15;this[_0x3469ac(0x20d)]=!0x1;}};Me=mi([x(0x2,_0x21e3c0(_0x24e3a9)),x(0x3,_0x21e3c0(ke)),x(0x4,_0x21e3c0(_0x2bf1c2)),x(0x5,_0x5e4b80),x(0x6,_0x39b3df),x(0x7,_0x21e3c0(_0x39ee90))],Me);var pi=Object[_0x4ebf15(0x23a)],Ci=(_0x2ec8ad,_0x47cb6a,_0x503781,_0x3bfda2)=>{const _0x51711c=_0x4ebf15;for(var _0x26ca9c=_0x3bfda2>0x1?void 0x0:_0x3bfda2?pi(_0x47cb6a,_0x503781):_0x47cb6a,_0x5f51bd=_0x2ec8ad[_0x51711c(0x1f4)]-0x1,_0xe232c3;_0x5f51bd>=0x0;_0x5f51bd--)(_0xe232c3=_0x2ec8ad[_0x5f51bd])&&(_0x26ca9c=_0xe232c3(_0x26ca9c)||_0x26ca9c);return _0x26ca9c;},Se=(_0x3e096b,_0x2ca1b2)=>(_0x1aba4d,_0x159e84)=>_0x2ca1b2(_0x1aba4d,_0x159e84,_0x3e096b);let H=class extends _0x2bba09{constructor(_0x17090a,_0x272336,_0x432594){const _0x1fdcb0=_0x4ebf15;super(),_(this,'_entities',new Map()),_(this,_0x1fdcb0(0x13f),new _0x2aa836()),(this[_0x1fdcb0(0xc4)]=_0x17090a,this[_0x1fdcb0(0xaa)]=_0x272336,this[_0x1fdcb0(0x23c)]=_0x432594,this['_init']());}[_0x4ebf15(0x264)](){const _0x516919=_0x4ebf15;super['dispose'](),this['_entityInit$']['complete'](),this[_0x516919(0x20f)][_0x516919(0x228)](_0xea113=>_0xea113[_0x516919(0x264)]());}['getCollabCursors$'](_0x5e29dc){const _0x468c65=_0x4ebf15;return this[_0x468c65(0x20f)][_0x468c65(0x219)](_0x5e29dc)?this['_entities'][_0x468c65(0x254)](_0x5e29dc)[_0x468c65(0xfe)]:this[_0x468c65(0x13f)][_0x468c65(0xb3)](_0x3c33d1(_0x5e0f86=>_0x5e0f86[_0x468c65(0x1c4)]===_0x5e29dc),_0x1cc736(_0x37f97a=>_0x37f97a[_0x468c65(0xfe)]));}['_init'](){const _0x2cd5a1=_0x4ebf15;this['_univerInstanceService'][_0x2cd5a1(0x1e5)](_0x2c18b4[_0x2cd5a1(0x152)])['pipe'](_0x1b0d9c(this['dispose$']))[_0x2cd5a1(0x14c)](async _0x12d69e=>{const _0xfb1e90=_0x2cd5a1,_0x131575=_0x12d69e[_0xfb1e90(0x153)](),_0x1527be=await this[_0xfb1e90(0xec)](_0x131575);this[_0xfb1e90(0x13f)][_0xfb1e90(0x1e7)](_0x1527be),this[_0xfb1e90(0x20f)][_0xfb1e90(0x1c2)](_0x131575,_0x1527be);}),this[_0x2cd5a1(0xc4)][_0x2cd5a1(0x1e5)](_0x2c18b4[_0x2cd5a1(0x21e)])[_0x2cd5a1(0xb3)](_0x1b0d9c(this[_0x2cd5a1(0x218)]))['pipe'](_0x3c33d1(_0x5cea7a=>!_0x5cea7a['getUnitId']()[_0x2cd5a1(0x6c)]('__')))[_0x2cd5a1(0x14c)](async _0x428f44=>{const _0x33dcf6=_0x2cd5a1,_0x5b37ab=_0x428f44[_0x33dcf6(0x153)](),_0x590125=await this[_0x33dcf6(0x1b9)](_0x5b37ab);this[_0x33dcf6(0x13f)][_0x33dcf6(0x1e7)](_0x590125),this['_entities'][_0x33dcf6(0x1c2)](_0x5b37ab,_0x590125);}),_0x7b7325(this['_univerInstanceService'][_0x2cd5a1(0x112)](_0x2c18b4['UNIVER_DOC']),this['_univerInstanceService'][_0x2cd5a1(0x112)](_0x2c18b4[_0x2cd5a1(0x152)]))[_0x2cd5a1(0xb3)](_0x1b0d9c(this[_0x2cd5a1(0x218)]))['subscribe'](_0x5e0355=>{const _0x3aee16=_0x2cd5a1,_0x12afaf=_0x5e0355['getUnitId'](),_0x1ffdcc=this[_0x3aee16(0x20f)][_0x3aee16(0x254)](_0x12afaf);_0x1ffdcc&&(_0x1ffdcc[_0x3aee16(0x264)](),this[_0x3aee16(0x20f)]['delete'](_0x12afaf));});}async['_startSheetCollabCursor'](_0x117843){const _0x6f868b=_0x4ebf15,_0x1d323c=await this[_0x6f868b(0x23c)][_0x6f868b(0x92)](_0x117843),_0x178aa7=this['_injector'][_0x6f868b(0x17f)](Me,_0x117843,_0x1d323c);return _0x178aa7[_0x6f868b(0x159)](),_0x178aa7;}async[_0x4ebf15(0x1b9)](_0x5c7768){const _0x4890cd=_0x4ebf15,_0x299806=await this[_0x4890cd(0x23c)][_0x4890cd(0x92)](_0x5c7768),_0xc82741=this[_0x4890cd(0xaa)][_0x4890cd(0x17f)](Ue,_0x5c7768,_0x299806);return _0xc82741[_0x4890cd(0x159)](),_0xc82741;}};H=Ci([Se(0x0,_0x5e4b80),Se(0x1,_0x21e3c0(_0x24e3a9)),Se(0x2,_0x21e3c0(_0x859544))],H);function _0x3b55(_0x37c2fd,_0x4c742d){const _0x4d9e3f=_0x4d9e();return _0x3b55=function(_0x3b553c,_0x18d562){_0x3b553c=_0x3b553c-0x67;let _0x447926=_0x4d9e3f[_0x3b553c];return _0x447926;},_0x3b55(_0x37c2fd,_0x4c742d);}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x1d83c7,_0x3df9f5){const _0x2fe91d=_0x4ebf15;let {radius:_0x5d9c0e,width:_0x3bdba2,height:_0xf33a0e}=_0x3df9f5;_0x5d9c0e=_0x5d9c0e!=null?_0x5d9c0e:0x0,_0x3bdba2=_0x3bdba2!=null?_0x3bdba2:0x1e,_0xf33a0e=_0xf33a0e!=null?_0xf33a0e:0x1e;let _0x3d6697=0x0,_0xe677eb=0x0,_0x11cfbe=0x0;_0x3d6697=_0xe677eb=_0x11cfbe=Math[_0x2fe91d(0xb2)](_0x5d9c0e,_0x3bdba2/0x2,_0xf33a0e/0x2),_0x1d83c7['beginPath'](),_0x1d83c7['moveTo'](_0x3d6697,0x0),_0x1d83c7[_0x2fe91d(0xa6)](_0x3bdba2-_0xe677eb,0x0),_0x1d83c7[_0x2fe91d(0xdb)](_0x3bdba2-_0xe677eb,_0xe677eb,_0xe677eb,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d83c7['lineTo'](_0x3bdba2,_0xf33a0e-_0x11cfbe),_0x1d83c7[_0x2fe91d(0xdb)](_0x3bdba2-_0x11cfbe,_0xf33a0e-_0x11cfbe,_0x11cfbe,0x0,Math['PI']/0x2,!0x1),_0x1d83c7[_0x2fe91d(0xa6)](0x0,_0xf33a0e),_0x1d83c7[_0x2fe91d(0xa6)](0x0,_0x3d6697),_0x1d83c7['arc'](_0x3d6697,_0x3d6697,_0x3d6697,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d83c7[_0x2fe91d(0x1c7)](),_0x3df9f5[_0x2fe91d(0x16e)]&&(_0x1d83c7[_0x2fe91d(0x25c)](),_0x1d83c7[_0x2fe91d(0xba)]=_0x3df9f5[_0x2fe91d(0x16e)],_0x3df9f5[_0x2fe91d(0x139)]===_0x2fe91d(0xc3)?_0x1d83c7[_0x2fe91d(0x16e)](_0x2fe91d(0xc3)):_0x1d83c7[_0x2fe91d(0x16e)](),_0x1d83c7[_0x2fe91d(0x124)]());}class he extends _0x4c94f2{constructor(_0x7a18db,_0x41c08c){const _0x8593b6=_0x4ebf15;super(_0x7a18db,_0x41c08c),_(this,_0x8593b6(0x1a8)),_(this,_0x8593b6(0xfc)),(this[_0x8593b6(0x1a8)]=_0x41c08c==null?void 0x0:_0x41c08c[_0x8593b6(0x1a8)],this['text']=_0x41c08c==null?void 0x0:_0x41c08c['text']);}static[_0x4ebf15(0x1fc)](_0x5a5df8,_0x479b42){const _0x288cfc=_0x4ebf15,{text:_0x26c1d6,color:_0x41e7e7}=_0x479b42;_0x5a5df8[_0x288cfc(0x25c)](),_0x5a5df8['font']=_0x288cfc(0x234);const _0x111fbc=_0x5a5df8[_0x288cfc(0x13b)](_0x26c1d6)[_0x288cfc(0x105)],_0x32c2a2=Math[_0x288cfc(0xb2)](_0x111fbc+0x2*me,Qe);bi(_0x5a5df8,{'height':ee,'radius':0x4,'width':_0x32c2a2,'fill':_0x41e7e7}),_0x5a5df8['fillStyle']=_0x288cfc(0x229);const _0x5de38e=me,_0x5c225c=ee-Ei,_0x33c21c=Qe-0x2*me;if(_0x111fbc>_0x33c21c){let _0x5da34e='',_0x108f41=0x0;for(const _0x248e0e of _0x26c1d6){const _0x41ba0f=_0x5a5df8['measureText'](_0x248e0e)[_0x288cfc(0x105)];if(_0x108f41+_0x41ba0f<=_0x33c21c-_0x5a5df8[_0x288cfc(0x13b)](_0x288cfc(0x1f1))['width'])_0x5da34e+=_0x248e0e,_0x108f41+=_0x41ba0f;else{_0x5da34e+=_0x288cfc(0x1f1);break;}}_0x5a5df8[_0x288cfc(0x11b)](_0x5da34e,_0x5de38e,_0x5c225c);}else _0x5a5df8[_0x288cfc(0x11b)](_0x26c1d6,_0x5de38e,_0x5c225c);_0x5a5df8[_0x288cfc(0x124)]();}[_0x4ebf15(0xf5)](_0x44a771){he['drawWith'](_0x44a771,this);}}const ge=_0x4ebf15(0x1ef),Oi=_0x4ebf15(0x194),Ti=_0x4ebf15(0x149),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x4ebf15(0x1db);class qe{constructor(_0x1938fe,_0x32e1ce,_0x1679f4,_0x421c4f){const _0x2794bb=_0x4ebf15;_(this,_0x2794bb(0x186),[]),_(this,_0x2794bb(0x1a2),null),_(this,_0x2794bb(0x22b),null),_(this,_0x2794bb(0x197),null),_(this,_0x2794bb(0x1fd),null),_(this,_0x2794bb(0x1b2),null),(this[_0x2794bb(0xad)]=_0x1938fe,this[_0x2794bb(0x10f)]=_0x32e1ce,this[_0x2794bb(0xbf)]=_0x1679f4,this[_0x2794bb(0x23b)]=_0x421c4f,this[_0x2794bb(0x12e)]());}set['_hover'](_0x3ca9c2){const _0xc4e537=_0x4ebf15;_0x3ca9c2?(this[_0xc4e537(0x197)]&&this[_0xc4e537(0x197)][_0xc4e537(0xb5)](),this[_0xc4e537(0x22b)]&&this[_0xc4e537(0x22b)]['show']()):(this[_0xc4e537(0x197)]&&this[_0xc4e537(0x197)][_0xc4e537(0x18f)](),this[_0xc4e537(0x22b)]&&this['_textBubble'][_0xc4e537(0xb5)]());}[_0x4ebf15(0x264)](){const _0xb1f4ff=_0x4ebf15;for(const _0x2a5046 of this[_0xb1f4ff(0x186)])_0x2a5046[_0xb1f4ff(0x264)]();this[_0xb1f4ff(0x22b)]&&this['_textBubble'][_0xb1f4ff(0x264)](),this['_anchorDot']&&this[_0xb1f4ff(0x197)][_0xb1f4ff(0x264)](),this[_0xb1f4ff(0x1a2)]&&this[_0xb1f4ff(0x1a2)][_0xb1f4ff(0x264)](),this[_0xb1f4ff(0x1b2)]&&this[_0xb1f4ff(0x1b2)]();}['_render'](){const _0x3c90dc=_0x4ebf15;var _0xf6a0c5;const {_docSkeleton:_0x55713c,_document:_0x44f583}=this,{color:_0x5825d0,name:_0x4f98cb,ranges:_0x457c99}=this[_0x3c90dc(0xad)],_0xb1956e=_0x44f583['getOffsetConfig'](),{docsLeft:_0x5a7449,docsTop:_0x502936}=_0xb1956e,_0x4ac95e=new _0x5a8ad0(_0xb1956e,_0x55713c);for(const {startOffset:_0x343f17,endOffset:_0xbb99fb,rangeType:_0x4c9a98,segmentId:_0x3aed39,segmentPage:_0x106af6,collapsed:_0x4a15d7,isActive:_0x150b73}of _0x457c99){const _0x11e705=_0x55713c[_0x3c90dc(0x173)](_0x343f17,!0x0,_0x3aed39,_0x106af6);let _0x176209=_0x55713c[_0x3c90dc(0x173)](_0xbb99fb,!0x0,_0x3aed39,_0x106af6);if(_0x176209==null&&(_0x176209=_0x55713c[_0x3c90dc(0x173)](_0xbb99fb-0x1,!0x1,_0x3aed39,_0x106af6)),_0x150b73){const {contentBoxPointGroup:_0x15ce87}=_0x4ac95e['getRangePointData'](_0x176209,_0x176209);if(_0x15ce87['length']===0x0)continue;this['_drawAnchor'](_0x5825d0,_0x15ce87,_0x5a7449,_0x502936,_0x4f98cb),this[_0x3c90dc(0x1b2)]=this[_0x3c90dc(0x1d1)]();}if(_0x11e705&&_0x176209){if(_0x4c9a98===_0x558055[_0x3c90dc(0xc2)]){const _0xe859f8=new _0x248ad1(_0xb1956e,_0x55713c),{pointGroup:_0x44cfbf}=(_0xf6a0c5=_0xe859f8[_0x3c90dc(0x13a)](_0x11e705,_0x176209))!=null?_0xf6a0c5:{};if(_0x44cfbf==null||_0x44cfbf[_0x3c90dc(0x1f4)]===0x0)continue;this[_0x3c90dc(0x1f8)](_0x5825d0,_0x44cfbf,_0x5a7449,_0x502936);}else{if(!_0x4a15d7){const {borderBoxPointGroup:_0x49bb8f}=_0x4ac95e[_0x3c90dc(0x13a)](_0x11e705,_0x176209);if(_0x49bb8f[_0x3c90dc(0x1f4)]===0x0)continue;this['_drawTextRange'](_0x5825d0,_0x49bb8f,_0x5a7449,_0x502936);}}}}}[_0x4ebf15(0x168)](_0x1cb192,_0x585cff,_0x2fc075,_0x466321,_0x42f1be){const _0x458c55=_0x4ebf15,_0x4f9e10=this[_0x458c55(0x265)](_0x585cff),{left:_0x4517ae,top:_0x3e5d18,height:_0x32c982}=_0x4f9e10,_0x895160=this[_0x458c55(0x6a)](),_0x2e8afe=Di/_0x895160,_0x437e61=new _0x566493(ge+_0x5aa945[_0x458c55(0xee)](X),{'left':_0x4517ae+_0x2fc075-_0x2e8afe,'top':_0x3e5d18+_0x466321,'height':_0x32c982,'width':Ri,'fill':_0x1cb192||_0x4f1461(_0x2a0744[_0x458c55(0xc6)],0x0),'strokeWidth':_0x2e8afe,'stroke':Ni,'evented':!0x0});this[_0x458c55(0x1a2)]=_0x437e61,this[_0x458c55(0x10f)]['addObject'](_0x437e61,_0x11003b);const _0x297903=new _0x566493(ge+_0x5aa945['generateRandomId'](X),{'left':_0x4517ae+_0x2fc075-_0x2e8afe,'top':_0x3e5d18+_0x466321-ve/0x2,'height':ve,'width':ve,'fill':_0x1cb192||_0x4f1461(_0x2a0744[_0x458c55(0xc6)],0x0),'strokeWidth':0x0,'stroke':_0x1cb192||_0x4f1461(_0x2a0744[_0x458c55(0xc6)],0x0),'evented':!0x1});this[_0x458c55(0x197)]=_0x297903,this[_0x458c55(0x10f)][_0x458c55(0xae)](_0x297903,_0x11003b);const _0xb4d502=new he(ge+_0x5aa945[_0x458c55(0xee)](X),{'left':_0x4517ae+_0x2fc075-_0x2e8afe,'top':_0x3e5d18+_0x466321-ee,'text':_0x42f1be,'color':_0x1cb192});this[_0x458c55(0x22b)]=_0xb4d502,this['_scene'][_0x458c55(0xae)](_0xb4d502,_0x11003b),this[_0x458c55(0x133)]=!0x1;}[_0x4ebf15(0x1d1)](){const _0x52ccd5=_0x4ebf15,_0x958278=this['_anchor']['onPointerEnter$'][_0x52ccd5(0x67)](()=>{const _0x26c730=_0x52ccd5;this[_0x26c730(0x133)]=!0x0;}),_0x3a2d65=this[_0x52ccd5(0x1a2)][_0x52ccd5(0xd5)][_0x52ccd5(0x67)](()=>{const _0x283655=_0x52ccd5;this[_0x283655(0x1fd)]&&clearTimeout(this['_hideTimer']),this[_0x283655(0x1fd)]=setTimeout(()=>{const _0x2cc324=_0x283655;this[_0x2cc324(0x133)]=!0x1;},0x7d0);});return()=>{const _0x372e39=_0x52ccd5;_0x958278[_0x372e39(0x13d)](),_0x3a2d65[_0x372e39(0x13d)]();};}[_0x4ebf15(0x251)](_0xde0a09,_0x205fd6,_0x5d289b,_0x582e4a){const _0x3aed76=_0x4ebf15,_0x31bcfb=new _0x3d5896(_0xde0a09)[_0x3aed76(0x140)](0.2)['toRgbString'](),_0x1a8abc=new _0x2cb9c0(Oi+_0x5aa945['generateRandomId'](X),{'pointsGroup':_0x205fd6,'fill':_0x31bcfb||_0x4f1461(_0x2a0744[_0x3aed76(0xc6)],0.2),'left':_0x5d289b,'top':_0x582e4a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3aed76(0x186)]['push'](_0x1a8abc),this[_0x3aed76(0x10f)][_0x3aed76(0xae)](_0x1a8abc,_0x11003b);}['_drawRectRange'](_0x39fc8b,_0x33efb0,_0x151f6c,_0x2d3157){const _0x19b814=_0x4ebf15,_0x39a807=new _0x3d5896(_0x39fc8b)[_0x19b814(0x140)](0.2)[_0x19b814(0x84)](),_0x3e5bfe=new _0x2cb9c0(Ti+_0x5aa945[_0x19b814(0xee)](X),{'pointsGroup':_0x33efb0,'fill':_0x39a807||_0x4f1461(_0x2a0744[_0x19b814(0xc6)],0.2),'left':_0x151f6c,'top':_0x2d3157,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19b814(0x186)][_0x19b814(0x71)](_0x3e5bfe),this[_0x19b814(0x10f)][_0x19b814(0xae)](_0x3e5bfe,_0x11003b);}['_getAnchorBounding'](_0x310c27){const _0x2e1048=_0x310c27[0x0],_0x4c27fd=_0x2e1048[0x0],_0x16c446=_0x2e1048[0x2],{x:_0xa2b851,y:_0x569f30}=_0x4c27fd,{x:_0x3e6780,y:_0x336a8c}=_0x16c446;return{'left':_0xa2b851,'top':_0x569f30,'width':_0x3e6780-_0xa2b851,'height':_0x336a8c-_0x569f30};}[_0x4ebf15(0x6a)](){const _0x3cb182=_0x4ebf15,{scaleX:_0x526cfb,scaleY:_0xb8cccc}=this[_0x3cb182(0x10f)][_0x3cb182(0xa4)]();return Math[_0x3cb182(0x9d)](_0x526cfb,_0xb8cccc);}}var Ui=Object[_0x4ebf15(0x23a)],Mi=(_0x3b91fa,_0x4529a9,_0x3ca2fb,_0x4abefe)=>{const _0x1ec7be=_0x4ebf15;for(var _0x58ea6d=_0x4abefe>0x1?void 0x0:_0x4abefe?Ui(_0x4529a9,_0x3ca2fb):_0x4529a9,_0x2890b7=_0x3b91fa[_0x1ec7be(0x1f4)]-0x1,_0x34f368;_0x2890b7>=0x0;_0x2890b7--)(_0x34f368=_0x3b91fa[_0x2890b7])&&(_0x58ea6d=_0x34f368(_0x58ea6d)||_0x58ea6d);return _0x58ea6d;},Z=(_0x344389,_0x3bc1d9)=>(_0x3289f7,_0x5c96cc)=>_0x3bc1d9(_0x3289f7,_0x5c96cc,_0x344389);let Pe=class extends _0x2bba09{constructor(_0x1e3b1,_0x45ffb4,_0x2f3e05,_0x1ada6f,_0x295a78){const _0x477622=_0x4ebf15;super(),_(this,_0x477622(0x119),[]),_(this,_0x477622(0x244),[]),(this['_context']=_0x1e3b1,this[_0x477622(0x175)]=_0x45ffb4,this[_0x477622(0x17a)]=_0x2f3e05,this[_0x477622(0x1d6)]=_0x1ada6f,this['_themeService']=_0x295a78,this[_0x477622(0x185)]());}[_0x4ebf15(0x185)](){const _0x46fba4=_0x4ebf15,_0x3b3947=this['_context'][_0x46fba4(0xe4)],_0x1f88c6=this[_0x46fba4(0x175)];this[_0x46fba4(0x21f)](_0x2b7dc3([this[_0x46fba4(0x17a)]['getCollabCursors$'](_0x3b3947),this[_0x46fba4(0x162)][_0x46fba4(0x238)]])['pipe'](_0x3b18e0(([_0x57cb79,_0x29530a])=>({'skeleton':_0x1f88c6[_0x46fba4(0x1c0)](),'cursors':[..._0x57cb79[_0x46fba4(0x1ba)]()]['flatMap'](_0x161f39=>({..._0x161f39,'color':_0x29530a[_0x161f39[_0x46fba4(0x1a8)]]}))})))[_0x46fba4(0x14c)](_0x3a6fd=>{const _0x5e240a=_0x46fba4;if(this[_0x5e240a(0x89)](),_0x3a6fd){const {skeleton:_0x3e880f,cursors:_0x185516}=_0x3a6fd;this[_0x5e240a(0x171)](_0x3e880f,_0x185516);}})),this[_0x46fba4(0x6d)](),this[_0x46fba4(0x1bc)]();}[_0x4ebf15(0x171)](_0x2337ae,_0x2e2694){const _0x3cdcba=_0x4ebf15,{scene:_0x17ed51,mainComponent:_0x594a50}=this['_context'],_0x4166ee=_0x2e2694[_0x3cdcba(0x18c)](_0x56323c=>new qe(_0x56323c,_0x17ed51,_0x2337ae,_0x594a50));this[_0x3cdcba(0x119)]=_0x4166ee,this['_cursors']=_0x2e2694;}[_0x4ebf15(0x1cc)](){const _0x3eb365=_0x4ebf15;this[_0x3eb365(0x89)]();const {scene:_0x58aaa0,mainComponent:_0x59b0e0}=this[_0x3eb365(0x196)],_0x280b8c=this[_0x3eb365(0x175)][_0x3eb365(0x1c0)](),_0x350020=this[_0x3eb365(0x244)][_0x3eb365(0x18c)](_0x331908=>new qe(_0x331908,_0x58aaa0,_0x280b8c,_0x59b0e0));this[_0x3eb365(0x119)]=_0x350020;}[_0x4ebf15(0x89)](){const _0x5ef478=_0x4ebf15;this[_0x5ef478(0x119)][_0x5ef478(0x228)](_0x2b7b9a=>_0x2b7b9a[_0x5ef478(0x264)]()),this[_0x5ef478(0x119)]=[];}[_0x4ebf15(0x1bc)](){const _0x4ac342=_0x4ebf15,_0x5d4c92=[_0x1da836['id']];this[_0x4ac342(0x21f)](this[_0x4ac342(0x1d6)][_0x4ac342(0x8a)](_0x7967d4=>{const _0x20d8f2=_0x4ac342;_0x5d4c92[_0x20d8f2(0x113)](_0x7967d4['id'])&&_0x7967d4[_0x20d8f2(0x204)]['unitId']===this[_0x20d8f2(0x196)][_0x20d8f2(0xe4)]&&this[_0x20d8f2(0x1cc)]();}));}['_initResize'](){const _0x27ba81=_0x4ebf15;this['disposeWithMe'](_0x3e3d46(this[_0x27ba81(0x196)]['engine'][_0x27ba81(0x161)])['pipe'](_0x253442(_0x28b77f=>_0x28b77f[_0x27ba81(0x23e)]===_0x231e14[_0x27ba81(0xaf)]),_0x4c2695(0x10))[_0x27ba81(0x14c)](()=>{const _0x3e8762=_0x27ba81;this[_0x3e8762(0x1cc)]();}));}};Pe=Mi([Z(0x1,_0x21e3c0(_0x25a69a)),Z(0x2,_0x21e3c0(H)),Z(0x3,_0x39b3df),Z(0x4,_0x21e3c0(_0x23b8e4))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x4c94f2{constructor(_0x4d626a,_0x51fe3f){const _0x4820d0=_0x4ebf15;super(_0x4d626a,_0x51fe3f),_(this,_0x4820d0(0x17c)),_(this,'_hovered',!0x1),_(this,_0x4820d0(0x70)),_(this,'_name',''),_(this,_0x4820d0(0x213),_0x4820d0(0x164)),_(this,_0x4820d0(0x13e)),(_0x51fe3f&&this[_0x4820d0(0x247)](_0x51fe3f),this[_0x4820d0(0x11d)][_0x4820d0(0x67)](()=>this[_0x4820d0(0x247)]({'hovered':!0x0})),this[_0x4820d0(0xd5)][_0x4820d0(0x67)](()=>this[_0x4820d0(0x247)]({'hovered':!0x1})));}['setShapeProps'](_0x398a86){const _0x46ac75=_0x4ebf15;var _0x569b0b,_0x45aa4b,_0x3c85b2,_0x376534,_0x5566d9,_0x59ef6e;this['_color']=(_0x569b0b=_0x398a86[_0x46ac75(0x1a8)])!=null?_0x569b0b:this[_0x46ac75(0x17c)],this['_hovered']=(_0x45aa4b=_0x398a86[_0x46ac75(0xde)])!=null?_0x45aa4b:this['_hovered'],this['_range']=(_0x3c85b2=_0x398a86[_0x46ac75(0x12b)])!=null?_0x3c85b2:this[_0x46ac75(0x70)],this[_0x46ac75(0xc7)]=(_0x376534=_0x398a86[_0x46ac75(0x21d)])!=null?_0x376534:this[_0x46ac75(0xc7)],this[_0x46ac75(0x213)]=(_0x5566d9=_0x398a86[_0x46ac75(0x125)])!=null?_0x5566d9:this[_0x46ac75(0x213)],this['_backgroundColor']=(_0x59ef6e=_0x398a86[_0x46ac75(0x19c)])!=null?_0x59ef6e:this[_0x46ac75(0x13e)],this['transformByState']({'width':_0x398a86[_0x46ac75(0x105)],'height':_0x398a86[_0x46ac75(0xe2)]});}[_0x4ebf15(0x126)](_0x533ad1){const _0x515fab=_0x4ebf15,{row:_0x25df25,column:_0x9f3423}=_0x533ad1;if(_0x25df25>=this[_0x515fab(0x70)][_0x515fab(0xbd)]&&_0x25df25<=this['_range'][_0x515fab(0xa7)]&&_0x9f3423>=this[_0x515fab(0x70)][_0x515fab(0x236)]&&_0x9f3423<=this[_0x515fab(0x70)]['endColumn']){this[_0x515fab(0x247)]({'hovered':!0x0});return;}this[_0x515fab(0x247)]({'hovered':!0x1});}[_0x4ebf15(0xe7)](_0x411766){return!0x1;}[_0x4ebf15(0xf5)](_0x2cbac0){const _0x3c8cb6=_0x4ebf15;_0x566493[_0x3c8cb6(0x1fc)](_0x2cbac0,{'width':this['width'],'height':this[_0x3c8cb6(0xe2)],'strokeWidth':wi,'stroke':this[_0x3c8cb6(0x17c)],'evented':!0x1,'fill':this[_0x3c8cb6(0x13e)]}),this[_0x3c8cb6(0x101)]&&(_0x2cbac0[_0x3c8cb6(0x25c)](),_0x2cbac0[_0x3c8cb6(0x21c)](0x1,0x0,0x0,0x1,this[_0x3c8cb6(0x105)],this['_labelPosition']===_0x3c8cb6(0x1f9)?0x0:-0x14),he[_0x3c8cb6(0x1fc)](_0x2cbac0,{'text':this[_0x3c8cb6(0xc7)],'color':this[_0x3c8cb6(0x17c)]}),_0x2cbac0[_0x3c8cb6(0x124)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x40c2f3,_0x2a5c89,_0x14db14,_0x2b6bf0)=>{const _0x540ae5=_0x4ebf15;for(var _0x2f1755=_0x2b6bf0>0x1?void 0x0:_0x2b6bf0?Ai(_0x2a5c89,_0x14db14):_0x2a5c89,_0x4e1b36=_0x40c2f3[_0x540ae5(0x1f4)]-0x1,_0x55b23a;_0x4e1b36>=0x0;_0x4e1b36--)(_0x55b23a=_0x40c2f3[_0x4e1b36])&&(_0x2f1755=_0x55b23a(_0x2f1755)||_0x2f1755);return _0x2f1755;},Ie=(_0x57ebbe,_0x2e1466)=>(_0x14630f,_0x218f2c)=>_0x2e1466(_0x14630f,_0x218f2c,_0x57ebbe);const $i=0x1389;let we=class extends _0x2bba09{constructor(_0x3f1487,_0x19518c,_0x48b1d2,_0xd124a9){const _0x591081=_0x4ebf15;super(),_(this,'_cursors',new Set()),_(this,_0x591081(0x82),null),(this[_0x591081(0x196)]=_0x3f1487,this[_0x591081(0x242)]=_0x19518c,this[_0x591081(0x17a)]=_0x48b1d2,this[_0x591081(0x162)]=_0xd124a9,this[_0x591081(0x185)]());}[_0x4ebf15(0x185)](){const _0x48d62a=_0x4ebf15;this[_0x48d62a(0x242)][_0x48d62a(0x21a)]['pipe'](_0x3a2f81(this[_0x48d62a(0x218)]),_0x18be5c(_0x59a9df=>{const _0x114a07=_0x48d62a;if(_0x59a9df){const _0x2dd17c=_0x59a9df['sheetId'];return _0x2b7dc3(this[_0x114a07(0x17a)][_0x114a07(0x221)](this['_context'][_0x114a07(0xe4)]),this[_0x114a07(0x162)]['currentTheme$'])['pipe'](_0x3b18e0(([_0xed69b9,_0x2c5915])=>{const _0x26c20f=_0x114a07,_0x6958f=new Map();return _0xed69b9[_0x26c20f(0x228)]((_0x3f673d,_0x3db9b8)=>{const _0xac985f=_0x26c20f;if(_0x3f673d[_0xac985f(0x23f)]===_0x2dd17c){const _0xc59289={..._0x3f673d};_0xc59289[_0xac985f(0x1a8)]=_0x2c5915[_0x3f673d[_0xac985f(0x1a8)]],_0x6958f[_0xac985f(0x1c2)](_0x3db9b8,_0xc59289);}}),{'skeleton':_0x59a9df,'cursors':_0x6958f};}));}return _0x4f7d66({'skeleton':null,'cursors':new Map()});}))[_0x48d62a(0x14c)](({skeleton:_0x5a3d5e,cursors:_0x270767})=>{const _0x2e58fa=_0x48d62a;this['_removeCollabCursors'](),_0x5a3d5e&&this[_0x2e58fa(0x171)](_0x5a3d5e,_0x270767);}),this[_0x48d62a(0x242)][_0x48d62a(0x21a)]['subscribe'](_0x16f41b=>{const _0x17f665=_0x48d62a;if(_0x16f41b==null)return;const {skeleton:_0x3bbc0d}=_0x16f41b,{scene:_0x4b1a8d}=this[_0x17f665(0x196)];_0x4b1a8d[_0x17f665(0x1a6)][_0x17f665(0x67)](_0x11c36e(_0x146e13=>{const _0x468c0e=_0x17f665;var _0x13e125,_0x2e46c2;const {offsetX:_0x4ca9b3,offsetY:_0x1ce7ec}=_0x146e13,{x:_0xef0fe7,y:_0x368dd0}=_0x4b1a8d[_0x468c0e(0x1e9)](_0x3cea42[_0x468c0e(0x24f)]([_0x4ca9b3,_0x1ce7ec])),{scaleX:_0x49a184,scaleY:_0x3aa12f}=_0x4b1a8d[_0x468c0e(0xa4)](),_0x15381e=_0x4b1a8d[_0x468c0e(0xa3)](_0x3448e4['VIEW_MAIN']),_0x53cb3e=_0x4b1a8d[_0x468c0e(0x22c)](_0x3cea42[_0x468c0e(0x24f)]([_0xef0fe7,_0x368dd0]),_0x15381e),_0x41a87b=_0x3bbc0d[_0x468c0e(0xe5)](_0x4ca9b3,_0x1ce7ec,_0x49a184,_0x3aa12f,_0x53cb3e);((_0x13e125=this[_0x468c0e(0x82)])==null?void 0x0:_0x13e125[_0x468c0e(0x15c)])===_0x41a87b[_0x468c0e(0x15c)]&&((_0x2e46c2=this[_0x468c0e(0x82)])==null?void 0x0:_0x2e46c2[_0x468c0e(0x1a1)])===_0x41a87b[_0x468c0e(0x1a1)]||this['_cursors'][_0x468c0e(0x228)](_0x92093c=>{_0x92093c['onMouseMove'](_0x41a87b);});},0x64));});}[_0x4ebf15(0x171)](_0x33ad3c,_0xce00a3){const _0x25efdf=_0x4ebf15;var _0x59a133;const _0x49f9b6=(_0x59a133=this[_0x25efdf(0x242)][_0x25efdf(0xb7)]())==null?void 0x0:_0x59a133[_0x25efdf(0x143)];if(!_0x49f9b6)return;const _0x323579=this['_getSheetObject']();if(!_0x323579)return;this[_0x25efdf(0x244)][_0x25efdf(0x228)](_0x30f266=>{const _0x1285ab=_0x25efdf;_0x30f266[_0x1285ab(0x15a)]();});const {scene:_0x1af3f1}=_0x323579,_0x52fa59=xi(Array['from'](_0xce00a3[_0x25efdf(0x1ba)]()))[_0x25efdf(0x18c)](_0x4e093d=>{const _0x228d73=_0x25efdf,{color:_0x462e24,range:_0x5e23a3,name:_0x5f13d7,selection:_0x3d564b,sheetID:_0x61134f}=_0x4e093d,{startColumn:_0x525570,startRow:_0x3cf999,endColumn:_0x42047c,endRow:_0x14e959}=_0x5e23a3,_0x4f7c3d=_0x5b3e44(_0x3cf999,_0x525570,_0x1af3f1,_0x49f9b6),_0x3f68d7=_0x5b3e44(_0x14e959,_0x42047c,_0x1af3f1,_0x49f9b6),{columnHeaderHeightAndMarginTop:_0x59f03e}=_0x49f9b6,{startX:_0x1f2db3,startY:_0x34d585}=_0x4f7c3d,{endX:_0x44abed,endY:_0x4e7764}=_0x3f68d7,_0x3ce0b9=_0x44abed-_0x1f2db3,_0x4feac2=_0x4e7764-_0x34d585,_0x29fefd={'labelPosition':_0x34d585-_0x59f03e>=ee?_0x228d73(0x164):_0x228d73(0x1f9),'sheetID':_0x61134f,'range':_0x5e23a3,'color':_0x462e24,'name':_0x5f13d7,'selection':_0x3d564b,'left':_0x1f2db3,'top':_0x34d585,'width':_0x3ce0b9,'height':_0x4feac2,'evented':!0x1,'zIndex':$i};return new Li(_0x5f13d7,_0x29fefd);});_0x1af3f1[_0x25efdf(0x172)](_0x52fa59,Pi),this[_0x25efdf(0x244)]=new Set(_0x52fa59);}[_0x4ebf15(0x89)](){const _0x265324=_0x4ebf15;var _0x294e1c;(_0x294e1c=this[_0x265324(0x244)])==null||_0x294e1c['forEach'](_0x669a4d=>_0x669a4d['dispose']());}['_getSheetObject'](){const _0x479066=_0x4ebf15;return _0x2bee3a(this['_context'][_0x479066(0x72)],this['_context']);}};we=yi([Ie(0x1,_0x21e3c0(_0x52bdb7)),Ie(0x2,_0x21e3c0(H)),Ie(0x3,_0x21e3c0(_0x23b8e4))],we);function xi(_0x2f6795){const _0x282d8d=_0x4ebf15,_0x4f844b=new Map();return _0x2f6795[_0x282d8d(0x228)](_0x5a4993=>{const _0x927869=_0x282d8d;if(_0x4f844b[_0x927869(0x219)](_0x5a4993[_0x927869(0x262)])){const _0x58b8d3=_0x4f844b[_0x927869(0x254)](_0x5a4993[_0x927869(0x262)]);_0x58b8d3[_0x927869(0x21d)]+=',\x20'+_0x5a4993['name'];}else _0x4f844b[_0x927869(0x1c2)](_0x5a4993[_0x927869(0x262)],_0x5a4993);}),Array[_0x282d8d(0x10d)](_0x4f844b[_0x282d8d(0x1ba)]());}var I=function(){const _0x3418db=_0x4ebf15;return I=Object['assign']||function(_0x339ff6){const _0x41d8ea=_0x3b55;for(var _0x38c8dd,_0x280298=0x1,_0x43d3af=arguments[_0x41d8ea(0x1f4)];_0x280298<_0x43d3af;_0x280298++){_0x38c8dd=arguments[_0x280298];for(var _0xc8fec6 in _0x38c8dd)Object[_0x41d8ea(0x243)][_0x41d8ea(0x111)]['call'](_0x38c8dd,_0xc8fec6)&&(_0x339ff6[_0xc8fec6]=_0x38c8dd[_0xc8fec6]);}return _0x339ff6;},I[_0x3418db(0x150)](this,arguments);},Bi=function(_0x25f768,_0x50659e){const _0x27050e=_0x4ebf15;var _0x552c50={};for(var _0x8e644a in _0x25f768)Object[_0x27050e(0x243)][_0x27050e(0x111)][_0x27050e(0x241)](_0x25f768,_0x8e644a)&&_0x50659e[_0x27050e(0x76)](_0x8e644a)<0x0&&(_0x552c50[_0x8e644a]=_0x25f768[_0x8e644a]);if(_0x25f768!=null&&typeof Object[_0x27050e(0x250)]==_0x27050e(0xda)){for(var _0x50d606=0x0,_0x8e644a=Object[_0x27050e(0x250)](_0x25f768);_0x50d606<_0x8e644a['length'];_0x50d606++)_0x50659e[_0x27050e(0x76)](_0x8e644a[_0x50d606])<0x0&&Object[_0x27050e(0x243)][_0x27050e(0x128)][_0x27050e(0x241)](_0x25f768,_0x8e644a[_0x50d606])&&(_0x552c50[_0x8e644a[_0x50d606]]=_0x25f768[_0x8e644a[_0x50d606]]);}return _0x552c50;},je=_0x4a0a5b(function(_0x18fb55,_0x5b596c){const _0x1fcf8c=_0x4ebf15;var _0x2ace87=_0x18fb55[_0x1fcf8c(0x24a)],_0x1baded=_0x18fb55['id'],_0xe4a069=_0x18fb55[_0x1fcf8c(0x1c5)],_0x152487=_0x18fb55[_0x1fcf8c(0x20c)],_0x354ea2=Bi(_0x18fb55,[_0x1fcf8c(0x24a),'id','className',_0x1fcf8c(0x20c)]),_0x2f32e8=_0x1fcf8c(0x123)[_0x1fcf8c(0xef)](_0x1baded,'\x20')[_0x1fcf8c(0xef)](_0xe4a069||'')[_0x1fcf8c(0x155)](),_0x147235=_0xc12f9f('_'[_0x1fcf8c(0xef)](ji()));return Rt(_0x2ace87,''['concat'](_0x1baded),{'defIds':_0x2ace87[_0x1fcf8c(0x1cb)],'idSuffix':_0x147235[_0x1fcf8c(0x20e)]},I({'ref':_0x5b596c,'className':_0x2f32e8},_0x354ea2),_0x152487);});function Rt(_0x535ce3,_0x1f1ad2,_0x50482c,_0x206d5f,_0x313b9e){const _0x3390f8=_0x4ebf15;return _0xf8a422(_0x535ce3['tag'],I(I({'key':_0x1f1ad2},ki(_0x535ce3,_0x50482c,_0x313b9e)),_0x206d5f),(Hi(_0x535ce3,_0x50482c)[_0x3390f8(0x98)]||[])['map'](function(_0x33b273,_0x25622c){const _0x18d764=_0x3390f8;return Rt(_0x33b273,''[_0x18d764(0xef)](_0x1f1ad2,'-')[_0x18d764(0xef)](_0x535ce3[_0x18d764(0x73)],'-')['concat'](_0x25622c),_0x50482c,void 0x0,_0x313b9e);}));}function ki(_0x21096b,_0x114c16,_0x355f55){const _0x11986a=_0x4ebf15;var _0x3399b5=I({},_0x21096b['attrs']);_0x355f55!=null&&_0x355f55['colorChannel1']&&_0x3399b5[_0x11986a(0x16e)]==='colorChannel1'&&(_0x3399b5[_0x11986a(0x16e)]=_0x355f55[_0x11986a(0x1bb)]),_0x21096b[_0x11986a(0x73)]===_0x11986a(0x1ec)&&_0x3399b5['id']&&(_0x3399b5['id']=_0x3399b5['id']+_0x114c16[_0x11986a(0x205)]),Object[_0x11986a(0x18d)](_0x3399b5)[_0x11986a(0x228)](function(_0x14342e){const _0x3d65b3=_0x11986a;var _0x55e5fc=_0x14342e[0x0],_0x10e307=_0x14342e[0x1];_0x55e5fc===_0x3d65b3(0x1ec)&&typeof _0x10e307==_0x3d65b3(0x25e)&&(_0x3399b5[_0x55e5fc]=_0x10e307[_0x3d65b3(0x1ed)](/url\(#(.*)\)/,_0x3d65b3(0x14e)[_0x3d65b3(0xef)](_0x114c16[_0x3d65b3(0x205)],')')));});var _0x5220c2=_0x114c16['defIds'];return!_0x5220c2||_0x5220c2[_0x11986a(0x1f4)]===0x0||(_0x21096b[_0x11986a(0x73)]===_0x11986a(0x16f)&&_0x3399b5[_0x11986a(0x1e3)]&&(_0x3399b5[_0x11986a(0x1e3)]=_0x3399b5['xlink:href']+_0x114c16[_0x11986a(0x205)]),Object[_0x11986a(0x18d)](_0x3399b5)[_0x11986a(0x228)](function(_0x169644){const _0x388e95=_0x11986a;var _0x3c0815=_0x169644[0x0],_0x262f90=_0x169644[0x1];typeof _0x262f90==_0x388e95(0x25e)&&(_0x3399b5[_0x3c0815]=_0x262f90[_0x388e95(0x1ed)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x114c16['idSuffix'],')')));})),_0x3399b5;}function Hi(_0x3d56f7,_0x52d114){const _0x1528aa=_0x4ebf15;var _0x501d38,_0x39d770=_0x52d114[_0x1528aa(0x1cb)];return!_0x39d770||_0x39d770[_0x1528aa(0x1f4)]===0x0?_0x3d56f7:_0x3d56f7[_0x1528aa(0x73)]===_0x1528aa(0xd7)&&(!((_0x501d38=_0x3d56f7[_0x1528aa(0x98)])===null||_0x501d38===void 0x0)&&_0x501d38[_0x1528aa(0x1f4)])?I(I({},_0x3d56f7),{'children':_0x3d56f7[_0x1528aa(0x98)][_0x1528aa(0x18c)](function(_0x26ca37){const _0x444eb3=_0x1528aa;return typeof _0x26ca37['attrs']['id']==_0x444eb3(0x25e)&&_0x39d770&&_0x39d770['indexOf'](_0x26ca37['attrs']['id'])>-0x1?I(I({},_0x26ca37),{'attrs':I(I({},_0x26ca37[_0x444eb3(0x220)]),{'id':_0x26ca37[_0x444eb3(0x220)]['id']+_0x52d114[_0x444eb3(0x205)]})}):_0x26ca37;})}):_0x3d56f7;}function ji(){const _0x5364bc=_0x4ebf15;return Math[_0x5364bc(0x257)]()[_0x5364bc(0x258)](0x24)[_0x5364bc(0x102)](0x2,0x8);}je['displayName']='UniverIcon';var Wi={'tag':_0x4ebf15(0x201),'attrs':{'fill':'none','viewBox':_0x4ebf15(0x18a),'width':_0x4ebf15(0x1c8),'height':_0x4ebf15(0x1c8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ebf15(0xa9)},'children':[{'tag':_0x4ebf15(0x1a4),'attrs':{'stroke':_0x4ebf15(0x158),'d':_0x4ebf15(0x17b),'strokeLinecap':_0x4ebf15(0xfa),'strokeLinejoin':_0x4ebf15(0xfa),'strokeWidth':1.2}}]},{'tag':_0x4ebf15(0xd7),'attrs':{},'children':[{'tag':_0x4ebf15(0x15d),'attrs':{'id':_0x4ebf15(0x1a9)},'children':[{'tag':_0x4ebf15(0x1a4),'attrs':{'fill':_0x4ebf15(0x1f5),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4ebf15(0x1a9)]},Dt=_0x4a0a5b(function(_0x127ac8,_0xc58919){const _0x1747b6=_0x4ebf15;return _0xf8a422(je,Object[_0x1747b6(0x225)]({},_0x127ac8,{'id':'off-line-single','ref':_0xc58919,'icon':Wi}));});Dt[_0x4ebf15(0x85)]=_0x4ebf15(0x253);var Fi={'tag':_0x4ebf15(0x201),'attrs':{'fill':_0x4ebf15(0x170),'viewBox':_0x4ebf15(0x9e),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ebf15(0xb6)},'children':[{'tag':'path','attrs':{'stroke':_0x4ebf15(0x158),'d':_0x4ebf15(0xa2),'strokeLinecap':_0x4ebf15(0xfa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4ebf15(0xd7),'attrs':{},'children':[{'tag':_0x4ebf15(0x15d),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4ebf15(0x1a4),'attrs':{'fill':'#fff','d':_0x4ebf15(0xf6),'transform':_0x4ebf15(0x7b)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x4a0a5b(function(_0x258567,_0x1e3c5f){const _0x110de8=_0x4ebf15;return _0xf8a422(je,Object[_0x110de8(0x225)]({},_0x258567,{'id':_0x110de8(0xd8),'ref':_0x1e3c5f,'icon':Fi}));});Nt['displayName']=_0x4ebf15(0x12a);function Yi(_0x2ad919){const _0x1583db=_0x4ebf15;switch(_0x2ad919){case _0xddcb7d['OFFLINE']:return'collabStatus.offline';case _0xddcb7d['CONFLICT']:return _0x1583db(0x249);case _0xddcb7d['FETCH_MISS']:return _0x1583db(0x1a3);case _0xddcb7d[_0x1583db(0x145)]:return _0x1583db(0x18e);case _0xddcb7d[_0x1583db(0x1e4)]:case _0xddcb7d[_0x1583db(0x191)]:return _0x1583db(0xf1);case _0xddcb7d[_0x1583db(0x16d)]:case _0xddcb7d[_0x1583db(0x121)]:return _0x1583db(0xed);}}function Vi(_0x11bb2c){const _0x4cf086=_0x4ebf15,{status$:_0x7f639c}=_0x11bb2c,_0x1d6649=_0x193b0e(_0x7f639c,_0xddcb7d['NOT_COLLAB']),_0xbdc542=_0x33a165(_0x4216a9),_0xcdc090=_0x33a165(_0x859544),_0x48c240=_0x1d6649!==_0xddcb7d[_0x4cf086(0x240)],_0x1bef81=_0xbdc542['t'](Yi(_0x1d6649)),_0x9ab3b3=_0x48c240?_0x5c0584(Nt,{}):_0x5c0584(Dt,{}),_0x23a5b0=_0x3fa469(()=>{const _0x18c8a2=_0x4cf086;_0x48c240||_0xcdc090[_0x18c8a2(0x6b)]();},[_0x48c240,_0xcdc090]);function _0x5e8879(){const _0x36aa80=_0x4cf086;return _0x569e98(_0x36aa80(0x24d),{'className':'univer-flex\x20univer-items-center','onClick':_0x23a5b0,'children':[_0x5c0584(_0x36aa80(0x24d),{'className':_0xd5304a('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x48c240?_0x36aa80(0x130):_0x36aa80(0x1bd)),'children':_0x9ab3b3}),_0x5c0584(_0x36aa80(0x24d),{'className':_0x36aa80(0x163),'children':_0x1bef81})]});}return _0x48c240?_0x5e8879():_0x5c0584(_0x2d2c69,{'title':_0xbdc542['t'](_0x4cf086(0x212)),'children':_0x5e8879()});}var Xi=Object[_0x4ebf15(0x23a)],Gi=(_0x4b6837,_0x564466,_0x29b326,_0x171da7)=>{for(var _0x451e0a=_0x171da7>0x1?void 0x0:_0x171da7?Xi(_0x564466,_0x29b326):_0x564466,_0x1ad3e1=_0x4b6837['length']-0x1,_0x1a5f89;_0x1ad3e1>=0x0;_0x1ad3e1--)(_0x1a5f89=_0x4b6837[_0x1ad3e1])&&(_0x451e0a=_0x1a5f89(_0x451e0a)||_0x451e0a);return _0x451e0a;},Q=(_0x433f86,_0x19da04)=>(_0x1b9761,_0x394236)=>_0x19da04(_0x1b9761,_0x394236,_0x433f86);let te=class extends _0xca418{constructor(_0x3c65d0,_0x4aeb54,_0x3bd968,_0x51a6e9){const _0x16ec42=_0x4ebf15;super(),_(this,_0x16ec42(0x179),new _0x164892(_0xddcb7d[_0x16ec42(0x145)])),(this['_univerInstanceService']=_0x3c65d0,this[_0x16ec42(0xaa)]=_0x4aeb54,this['_collaborationController']=_0x3bd968,this[_0x16ec42(0xb8)]=_0x51a6e9,this[_0x16ec42(0xb4)](),this[_0x16ec42(0x115)]());}[_0x4ebf15(0x115)](){const _0x1dcecf=_0x4ebf15;this[_0x1dcecf(0x21f)](this[_0x1dcecf(0xc4)][_0x1dcecf(0x122)][_0x1dcecf(0xb3)](_0x1cc736(()=>{const _0x4828e7=_0x1dcecf,_0x171c01=this[_0x4828e7(0xc4)][_0x4828e7(0x94)]();return _0x171c01?this[_0x4828e7(0x195)][_0x4828e7(0x181)](_0x171c01[_0x4828e7(0x153)]()):_0x4f7d66(null);}),_0x1cc736(_0x2259d3=>_0x2259d3?_0x2259d3[_0x1dcecf(0x25f)]:_0x4f7d66(_0xddcb7d[_0x1dcecf(0x145)])))[_0x1dcecf(0x14c)](_0x56f5f2=>{const _0x7b57c1=_0x1dcecf;this['_status$'][_0x7b57c1(0x1e7)](_0x56f5f2);}));}[_0x4ebf15(0xb4)](){const _0x1d6247=_0x4ebf15;this['disposeWithMe'](this[_0x1d6247(0xb8)][_0x1d6247(0x127)](_0x539999[_0x1d6247(0xc8)],()=>_0x356331(Ki({'status$':this[_0x1d6247(0x179)][_0x1d6247(0x8d)]()}),this[_0x1d6247(0xaa)])));}};te=Gi([Q(0x0,_0x5e4b80),Q(0x1,_0x21e3c0(_0x24e3a9)),Q(0x2,_0x21e3c0(_0x50d68a)),Q(0x3,_0x4d41a3)],te);function Ki(_0x4fab8c){const {status$:_0x26dfa9}=_0x4fab8c;return function(){return _0x5c0584(Vi,{'status$':_0x26dfa9});};}var zi=Object[_0x4ebf15(0x23a)],Ji=(_0x4d467f,_0x258464,_0x5586fc,_0x59cf47)=>{const _0x39d9f5=_0x4ebf15;for(var _0x1db8a7=_0x59cf47>0x1?void 0x0:_0x59cf47?zi(_0x258464,_0x5586fc):_0x258464,_0x544fb8=_0x4d467f[_0x39d9f5(0x1f4)]-0x1,_0x4238d5;_0x544fb8>=0x0;_0x544fb8--)(_0x4238d5=_0x4d467f[_0x544fb8])&&(_0x1db8a7=_0x4238d5(_0x1db8a7)||_0x1db8a7);return _0x1db8a7;},B=(_0x4b94e8,_0x305881)=>(_0x50641f,_0x297521)=>_0x305881(_0x50641f,_0x297521,_0x4b94e8);let se=class extends _0xca418{constructor(_0x30ebbe,_0x433d68,_0x2be05f,_0x2f3a97,_0x21910b,_0x354b8f){const _0x4736ad=_0x4ebf15;super(),this[_0x4736ad(0xea)]=_0x30ebbe,this['_localCacheService']=_0x433d68,this[_0x4736ad(0xc9)]=_0x2be05f,this['_messageService']=_0x2f3a97,this[_0x4736ad(0x1f7)]=_0x21910b,this[_0x4736ad(0x189)]=_0x354b8f,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2464bb=_0x4ebf15;this[_0x2464bb(0x21f)](this[_0x2464bb(0xea)]['registerBeforeClose'](()=>{const _0x13fc76=_0x2464bb;if(this[_0x13fc76(0xce)][_0x13fc76(0x136)]['size'])return this[_0x13fc76(0x189)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x5f4e1f=_0x4ebf15;this['disposeWithMe'](this['_collaborationUIEventService'][_0x5f4e1f(0x96)][_0x5f4e1f(0x14c)](_0x58a43c=>{const _0x29f5c4=_0x5f4e1f;_0x58a43c['id']===_0x17a56a['OTHER_CLIENT_EDITING']&&this[_0x29f5c4(0x7a)][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0xbc)],'content':this['_localeService']['t'](_0x29f5c4(0x232))}),_0x58a43c['id']===_0x17a56a['CLOSE_ROOM']&&this[_0x29f5c4(0x7a)][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0xbc)],'content':this['_localeService']['t'](_0x29f5c4(0x1fe))}),_0x58a43c['id']===_0x17a56a['PERMISSION_DENIED']&&this[_0x29f5c4(0x1f7)][_0x29f5c4(0x18f)]({'title':this['_localeService']['t'](_0x29f5c4(0x230)),'content':this[_0x29f5c4(0x189)]['t'](_0x29f5c4(0xd0)),'type':_0x29f5c4(0x1ea),'duration':0x0}),_0x58a43c['id']===_0x17a56a[_0x29f5c4(0x8b)]&&this['_messageService'][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0x224)],'content':this['_localeService']['t'](_0x29f5c4(0x1fe))+'('+_0x58a43c[_0x29f5c4(0x1ad)]+')'}),_0x58a43c['id']===_0x17a56a['JOIN_ROOM_FAILED']&&this[_0x29f5c4(0x7a)][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0xbc)],'content':this[_0x29f5c4(0x189)]['t'](_0x58a43c[_0x29f5c4(0x1ad)]||'')}),_0x58a43c['id']===_0x17a56a[_0x29f5c4(0x182)]&&this['_messageService'][_0x29f5c4(0x18f)]({'type':_0x349ffa['Warning'],'content':this[_0x29f5c4(0x189)]['t'](_0x29f5c4(0x1ac))}),_0x58a43c['id']===_0x17a56a['SOCKET_FAILED']&&this[_0x29f5c4(0x7a)][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0x224)],'content':this[_0x29f5c4(0x189)]['t'](_0x29f5c4(0x190))}),_0x58a43c['id']===_0x17a56a[_0x29f5c4(0x120)]&&this['_messageService'][_0x29f5c4(0x18f)]({'type':_0x349ffa[_0x29f5c4(0x224)],'content':this[_0x29f5c4(0x189)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2a9bd9),B(0x1,_0x4e6669),B(0x2,_0x21e3c0(_0x7214b0)),B(0x3,_0x47ee23),B(0x4,_0x34fb92),B(0x5,_0x21e3c0(_0x4216a9))],se);const Zi=_0x4ebf15(0xdd),et={},Ut=_0x9a8bdc('uni.network.url-service');var Qi=Object[_0x4ebf15(0x23a)],qi=(_0x38dbde,_0x49f71f,_0x169f94,_0x8e6441)=>{const _0x1c5ab4=_0x4ebf15;for(var _0x5ba7af=_0x8e6441>0x1?void 0x0:_0x8e6441?Qi(_0x49f71f,_0x169f94):_0x49f71f,_0x4297f9=_0x38dbde[_0x1c5ab4(0x1f4)]-0x1,_0x258b76;_0x4297f9>=0x0;_0x4297f9--)(_0x258b76=_0x38dbde[_0x4297f9])&&(_0x5ba7af=_0x258b76(_0x5ba7af)||_0x5ba7af);return _0x5ba7af;},G=(_0x32e0da,_0x573d7c)=>(_0x2b486c,_0x2713f3)=>_0x573d7c(_0x2b486c,_0x2713f3,_0x32e0da);let ie=class extends _0x2bba09{constructor(_0x63cd74,_0x1001bb,_0x2506e1,_0x673d51,_0x4ef9e7){const _0x5a7748=_0x4ebf15;super(),this[_0x5a7748(0x214)]=_0x63cd74,this[_0x5a7748(0x24c)]=_0x1001bb,this[_0x5a7748(0x1d6)]=_0x2506e1,this[_0x5a7748(0x223)]=_0x673d51,_0x4ef9e7?_0x4ef9e7==null||_0x4ef9e7[_0x5a7748(0x10e)]()[_0x5a7748(0x199)](()=>this[_0x5a7748(0x185)]()):(this[_0x5a7748(0x24c)][_0x5a7748(0x1df)](_0x5a7748(0x1e2),_0x5a7748(0x261)),this[_0x5a7748(0x185)]());}async[_0x4ebf15(0x185)](){const _0xd49b19=_0x4ebf15,_0x10fc78=this[_0xd49b19(0x214)][_0xd49b19(0x81)](_0xd49b19(0x72)),_0x4e3e3a=this['_urlService'][_0xd49b19(0x81)]('type'),_0x3228ef=this[_0xd49b19(0x214)]['getParam']('subunit');if(!_0x10fc78||!_0x4e3e3a){this[_0xd49b19(0x24c)][_0xd49b19(0x1df)](_0xd49b19(0x1e2),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3354b1=await this[_0xd49b19(0x223)][_0xd49b19(0xc5)](_0x10fc78,Number(_0x4e3e3a),_0x3228ef);_0x3354b1&&_0x3354b1 instanceof _0x2f5719&&this[_0xd49b19(0xb9)](_0x3354b1);}async['_setupSubUnitSync'](_0x2b6946){const _0x5d9236=_0x4ebf15;await this['_updateSubUnitFromURLParams'](_0x2b6946),_0x2b6946['activeSheet$'][_0x5d9236(0xb3)](_0x1b0d9c(this['dispose$']))['subscribe'](_0x51de11=>{const _0x3ff9d7=_0x5d9236;_0x51de11&&this[_0x3ff9d7(0x154)](_0x51de11);}),this['_urlService'][_0x5d9236(0x211)]['pipe'](_0x1b0d9c(this[_0x5d9236(0x218)]))[_0x5d9236(0x14c)](()=>this['_updateSubUnitFromURLParams'](_0x2b6946));}[_0x4ebf15(0x154)](_0x3b1ddb,_0x189d76=!0x1){const _0x36b269=_0x4ebf15,_0x515da6=this['_urlService'][_0x36b269(0x81)](_0x36b269(0x235));_0x3b1ddb[_0x36b269(0x256)]()!==_0x515da6&&this[_0x36b269(0x214)][_0x36b269(0x132)](_0x36b269(0x235),_0x3b1ddb[_0x36b269(0x256)](),_0x189d76);}async[_0x4ebf15(0xe0)](_0x5136db){const _0x310dd4=_0x4ebf15;var _0x596aab;const _0x46103b=this['_urlService'][_0x310dd4(0x81)](_0x310dd4(0x235));if(!_0x46103b||!_0x5136db['getSheetBySheetId'](_0x46103b)){const _0x4eb7b2=_0x5136db[_0x310dd4(0x18b)]()[0x0],_0x315a4b=_0x5136db['getSheetBySheetId'](_0x4eb7b2);if(!_0x315a4b)return;this['_updateURLWithCurrentState'](_0x315a4b,!0x0),await this[_0x310dd4(0x1d6)][_0x310dd4(0x25a)](_0x286983['id'],{'unitId':_0x5136db[_0x310dd4(0x153)](),'subUnitId':_0x4eb7b2});return;}((_0x596aab=_0x5136db[_0x310dd4(0x165)]())==null?void 0x0:_0x596aab['getSheetId']())!==_0x46103b&&await this[_0x310dd4(0x1d6)][_0x310dd4(0x25a)](_0x286983['id'],{'unitId':_0x5136db[_0x310dd4(0x153)](),'subUnitId':_0x46103b});}};ie=qi([G(0x0,Ut),G(0x1,_0x5a4cbc),G(0x2,_0x39b3df),G(0x3,_0x21e3c0(_0x19d406)),G(0x4,_0x64318c(_0x52d9dc))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x58ca9b,_0x5d2b5e,_0x461475,_0x4d065d)=>{for(var _0xd11dd2=_0x4d065d>0x1?void 0x0:_0x4d065d?en(_0x5d2b5e,_0x461475):_0x5d2b5e,_0x172c57=_0x58ca9b['length']-0x1,_0x349198;_0x172c57>=0x0;_0x172c57--)(_0x349198=_0x58ca9b[_0x172c57])&&(_0xd11dd2=_0x349198(_0xd11dd2)||_0xd11dd2);return _0xd11dd2;},pe=(_0x41ef7e,_0x569410)=>(_0x564f5f,_0x281271)=>_0x569410(_0x564f5f,_0x281271,_0x41ef7e);let ne=class{constructor(_0x26d5ba,_0x563b83,_0x3d1092){const _0x275e39=_0x4ebf15;this['_injector']=_0x26d5ba,this[_0x275e39(0x1af)]=_0x563b83,this[_0x275e39(0x202)]=_0x3d1092;}[_0x4ebf15(0x148)](_0x24ca87){const _0x42ba6f=_0x4ebf15;this[_0x42ba6f(0x200)](_0x24ca87),this[_0x42ba6f(0x91)](_0x24ca87);}['transformRemoteChangeset'](_0xc369ed){const _0x12afc1=_0x4ebf15,{unitID:_0x7c18c6}=_0xc369ed,_0x14d0d7=this[_0x12afc1(0x202)]['getRenderById'](_0x7c18c6)[_0x12afc1(0xf0)](_0xfb9d2e),{redoCache:_0x532759}=_0x14d0d7[_0x12afc1(0x10a)]();if(_0x532759[_0x12afc1(0x1f4)]===0x0)return _0xc369ed;let _0x34557c=_0x5aa945['deepClone'](_0xc369ed[_0x12afc1(0x23d)][0x0]);for(let _0x902005=0x0;_0x902005<_0x532759['length'];_0x902005++){const _0x34631={'id':_0x12afc1(0x1da),'params':{..._0x532759[_0x902005]}},_0x520142=this[_0x12afc1(0x1af)]['transformMutation'](_0x34557c,_0x34631,!0x1);if(_0x2e397e(_0x520142))throw _0x520142[_0x12afc1(0x1ea)];_0x34557c=_0x520142[_0x12afc1(0x88)];}return{..._0x5aa945[_0x12afc1(0x203)](_0xc369ed),'mutations':[_0x34557c]};}[_0x4ebf15(0x200)](_0x53402f){const _0x2b3746=_0x4ebf15,{unitID:_0x130b85}=_0x53402f,_0x289b7f=this['_renderManagerService'][_0x2b3746(0x1b1)](_0x130b85)[_0x2b3746(0xf0)](_0xfb9d2e),{undoCache:_0x471394,redoCache:_0x45b8fd}=_0x289b7f[_0x2b3746(0x10a)]();if(_0x471394[_0x2b3746(0x1f4)]===0x0||_0x45b8fd[_0x2b3746(0x1f4)]===0x0)return;const _0x1dfcc1=[],_0x557d46=[];let _0x3e2c80=_0x5aa945[_0x2b3746(0x203)](_0x53402f['mutations'][0x0]),_0xcf88b6=_0x5aa945[_0x2b3746(0x203)](_0x53402f['mutations'][0x0]);for(let _0x16c16b=_0x471394[_0x2b3746(0x1f4)]-0x1;_0x16c16b>=0x0;_0x16c16b--){const _0x2ef6f6={'id':'doc.mutation.rich-text-editing','params':{..._0x471394[_0x16c16b]}},_0x29d524={'id':_0x2b3746(0x1da),'params':{..._0x45b8fd[_0x16c16b]}},_0x468ce0=this['_transformService'][_0x2b3746(0x20a)](_0x3e2c80,_0x2ef6f6,!0x1),_0x591937=this[_0x2b3746(0x1af)][_0x2b3746(0x20a)](_0xcf88b6,_0x29d524,!0x1);if(_0x2e397e(_0x468ce0))throw _0x468ce0[_0x2b3746(0x1ea)];if(_0x2e397e(_0x591937))throw _0x591937['error'];_0x1dfcc1['unshift'](_0x468ce0['m2Prime'][_0x2b3746(0x204)]),_0x557d46['unshift'](_0x591937[_0x2b3746(0x239)][_0x2b3746(0x204)]),_0x3e2c80=_0x468ce0[_0x2b3746(0x88)],_0xcf88b6=_0x591937[_0x2b3746(0x88)];}_0x289b7f[_0x2b3746(0x1d9)]({'undoCache':_0x1dfcc1,'redoCache':_0x557d46});}[_0x4ebf15(0x91)](_0x31b3bd){const _0xc4d08f=_0x4ebf15,{unitID:_0x3c60ec}=_0x31b3bd,_0x1ef0d3=this[_0xc4d08f(0x202)]['getRenderById'](_0x3c60ec)['with'](_0xfb9d2e),_0x1d90e3=_0x1ef0d3[_0xc4d08f(0x16a)]();if(_0x1d90e3==null)return;const _0x2798ba=[{'id':_0xc4d08f(0x1da),'params':{'unitId':_0x31b3bd[_0xc4d08f(0x1c4)],'actions':null,'textRanges':[_0x1d90e3]}}],_0x46d2d4=this[_0xc4d08f(0x1af)][_0xc4d08f(0x207)](_0x31b3bd,_0x2798ba);if(!_0x246b1e(_0x46d2d4))throw _0x46d2d4[_0xc4d08f(0x1ea)];const _0x3bf78c=_0x46d2d4[_0xc4d08f(0x239)][0x0][_0xc4d08f(0x204)][_0xc4d08f(0x1eb)];Array[_0xc4d08f(0x15f)](_0x3bf78c)&&_0x3bf78c[_0xc4d08f(0x1f4)]&&_0x1ef0d3['setActiveRange'](_0x3bf78c[0x0]);}};ne=tn([pe(0x0,_0x21e3c0(_0x24e3a9)),pe(0x1,_0x2058c2),pe(0x2,_0x302a8c)],ne);var sn=Object[_0x4ebf15(0x23a)],nn=(_0x5cd3e2,_0x1fe8d3,_0x219a8a,_0x19131b)=>{for(var _0x4c79c5=_0x19131b>0x1?void 0x0:_0x19131b?sn(_0x1fe8d3,_0x219a8a):_0x1fe8d3,_0x19c74a=_0x5cd3e2['length']-0x1,_0x4be4fa;_0x19c74a>=0x0;_0x19c74a--)(_0x4be4fa=_0x5cd3e2[_0x19c74a])&&(_0x4c79c5=_0x4be4fa(_0x4c79c5)||_0x4c79c5);return _0x4c79c5;},Ce=(_0x296f86,_0x3f23d9)=>(_0xd35006,_0x30e1ac)=>_0x3f23d9(_0xd35006,_0x30e1ac,_0x296f86);let re=class{constructor(_0x205810,_0xb346ca,_0x1a2551){const _0x2dcb8d=_0x4ebf15;this[_0x2dcb8d(0xaa)]=_0x205810,this[_0x2dcb8d(0x1af)]=_0xb346ca,this['_docStateChangeManagerService']=_0x1a2551;}[_0x4ebf15(0x1c6)](_0x4c9362){const _0x3153bc=_0x4ebf15;this[_0x3153bc(0x107)](_0x4c9362);}[_0x4ebf15(0x237)](_0x180be9){const _0x718ad0=_0x4ebf15,{unitID:_0x4c8ed9}=_0x180be9,{collaboration:_0x5513c8}=this['_docStateChangeManagerService']['getStateCache'](_0x4c8ed9);if(_0x5513c8[_0x718ad0(0x1f4)]===0x0)return _0x180be9;let _0x51e3ee=_0x5aa945['deepClone'](_0x180be9[_0x718ad0(0x23d)][0x0]);for(let _0x58e131=0x0;_0x58e131<_0x5513c8[_0x718ad0(0x1f4)];_0x58e131++){const _0x5bc925={'id':_0x718ad0(0x1da),'params':{'unitId':_0x5513c8[_0x58e131]['unitId'],..._0x5513c8[_0x58e131]['redoState']}},_0x50c7fa=this[_0x718ad0(0x1af)][_0x718ad0(0x20a)](_0x51e3ee,_0x5bc925,!0x1);if(_0x2e397e(_0x50c7fa))throw _0x50c7fa[_0x718ad0(0x1ea)];_0x51e3ee=_0x50c7fa['m1Prime'];}return{..._0x5aa945['deepClone'](_0x180be9),'mutations':[_0x51e3ee]};}[_0x4ebf15(0x107)](_0x5ecd52){const _0x45051b=_0x4ebf15,{unitID:_0x4bb38a}=_0x5ecd52,{history:_0x57fad2,collaboration:_0x2200f6}=this[_0x45051b(0x1d7)][_0x45051b(0x1c3)](_0x4bb38a);if(_0x57fad2['length']===0x0&&_0x2200f6[_0x45051b(0x1f4)]===0x0)return;const _0x2ff6c1=[],_0x43db41=[];let _0x18adb4=_0x5aa945[_0x45051b(0x203)](_0x5ecd52[_0x45051b(0x23d)][0x0]),_0x3c5c95=_0x5aa945[_0x45051b(0x203)](_0x5ecd52[_0x45051b(0x23d)][0x0]);for(let _0x2a96af=_0x57fad2[_0x45051b(0x1f4)]-0x1;_0x2a96af>=0x0;_0x2a96af--){const _0x492146={'id':_0x45051b(0x1da),'params':{'unitId':_0x57fad2[_0x2a96af][_0x45051b(0xe4)],..._0x57fad2[_0x2a96af][_0x45051b(0x1ab)]}},_0x375ccd={'id':_0x45051b(0x1da),'params':{'unitId':_0x57fad2[_0x2a96af][_0x45051b(0xe4)],..._0x57fad2[_0x2a96af][_0x45051b(0x1d8)]}},_0x2832bc=this[_0x45051b(0x1af)]['transformMutation'](_0x18adb4,_0x492146,!0x1),_0x214378=this['_transformService'][_0x45051b(0x20a)](_0x3c5c95,_0x375ccd,!0x1);if(_0x2e397e(_0x2832bc))throw _0x2832bc[_0x45051b(0x1ea)];if(_0x2e397e(_0x214378))throw _0x214378[_0x45051b(0x1ea)];_0x2ff6c1['unshift']({..._0x57fad2[_0x2a96af],'undoState':_0x2832bc['m2Prime'][_0x45051b(0x204)],'redoState':_0x214378['m2Prime'][_0x45051b(0x204)]}),_0x18adb4=_0x2832bc[_0x45051b(0x88)],_0x3c5c95=_0x214378[_0x45051b(0x88)];}_0x18adb4=_0x5aa945[_0x45051b(0x203)](_0x5ecd52['mutations'][0x0]),_0x3c5c95=_0x5aa945[_0x45051b(0x203)](_0x5ecd52['mutations'][0x0]);for(let _0x415035=_0x2200f6[_0x45051b(0x1f4)]-0x1;_0x415035>=0x0;_0x415035--){const _0x3fa45d={'id':_0x45051b(0x1da),'params':{'unitId':_0x2200f6[_0x415035]['unitId'],..._0x2200f6[_0x415035][_0x45051b(0x1ab)]}},_0x272036={'id':_0x45051b(0x1da),'params':{'unitId':_0x2200f6[_0x415035][_0x45051b(0xe4)],..._0x2200f6[_0x415035]['redoState']}},_0x32836=this[_0x45051b(0x1af)][_0x45051b(0x20a)](_0x18adb4,_0x3fa45d,!0x1),_0x307dd6=this[_0x45051b(0x1af)][_0x45051b(0x20a)](_0x3c5c95,_0x272036,!0x1);if(_0x2e397e(_0x32836))throw _0x32836[_0x45051b(0x1ea)];if(_0x2e397e(_0x307dd6))throw _0x307dd6['error'];_0x43db41[_0x45051b(0x147)]({..._0x2200f6[_0x415035],'undoState':_0x32836[_0x45051b(0x239)]['params'],'redoState':_0x307dd6['m2Prime']['params']}),_0x18adb4=_0x32836['m1Prime'],_0x3c5c95=_0x307dd6[_0x45051b(0x88)];}this[_0x45051b(0x1d7)][_0x45051b(0x13c)](_0x4bb38a,{'history':_0x2ff6c1,'collaboration':_0x43db41});}};re=nn([Ce(0x0,_0x21e3c0(_0x24e3a9)),Ce(0x1,_0x2058c2),Ce(0x2,_0x21e3c0(_0x33c0a6))],re);var rn=Object[_0x4ebf15(0x23a)],on=(_0x2e02b3,_0x3c1580,_0x2f7e4c,_0x4b0f50)=>{for(var _0x27814b=_0x4b0f50>0x1?void 0x0:_0x4b0f50?rn(_0x3c1580,_0x2f7e4c):_0x3c1580,_0x3207ec=_0x2e02b3['length']-0x1,_0x3a4a34;_0x3207ec>=0x0;_0x3207ec--)(_0x3a4a34=_0x2e02b3[_0x3207ec])&&(_0x27814b=_0x3a4a34(_0x27814b)||_0x27814b);return _0x27814b;},tt=(_0x343848,_0x402a5f)=>(_0x173bc2,_0x482428)=>_0x402a5f(_0x173bc2,_0x482428,_0x343848);let oe=class{constructor(_0x2fc246,_0x20736f){const _0x10a7b0=_0x4ebf15;this[_0x10a7b0(0xaa)]=_0x2fc246,this[_0x10a7b0(0x1af)]=_0x20736f;}[_0x4ebf15(0x1a7)](_0x20435e){const _0x507cf3=_0x4ebf15;var _0x16cc69;const _0x13022b=this['_injector'][_0x507cf3(0x254)](_0x3ca3dc),_0xf4b733=(_0x16cc69=_0x13022b[_0x507cf3(0x1cf)]())!=null?_0x16cc69:[];if(_0xf4b733[_0x507cf3(0x1f4)]===0x0)return;const _0x44f54a=_0x20435e[_0x507cf3(0x1c4)],_0x445785=[{'id':_0x507cf3(0x1da),'params':{'unitId':_0x44f54a,'actions':null,'textRanges':_0xf4b733}}],_0xdb20c6=this['_transformService']['transformMutationsWithChangeset'](_0x20435e,_0x445785);if(!_0x246b1e(_0xdb20c6))throw _0xdb20c6[_0x507cf3(0x1ea)];const _0x23be2d=_0xdb20c6[_0x507cf3(0x239)][0x0]['params'][_0x507cf3(0x1eb)];Array[_0x507cf3(0x15f)](_0x23be2d)&&_0x23be2d[_0x507cf3(0x1f4)]&&_0x13022b[_0x507cf3(0x1b3)](_0x23be2d,{'unitId':_0x44f54a,'subUnitId':_0x44f54a},!0x1);}};oe=on([tt(0x0,_0x21e3c0(_0x24e3a9)),tt(0x1,_0x2058c2)],oe);var an=Object[_0x4ebf15(0x23a)],cn=(_0x3a5e29,_0x1c1806,_0xb07a00,_0x179113)=>{for(var _0x2e074c=_0x179113>0x1?void 0x0:_0x179113?an(_0x1c1806,_0xb07a00):_0x1c1806,_0x495e71=_0x3a5e29['length']-0x1,_0x53e5b1;_0x495e71>=0x0;_0x495e71--)(_0x53e5b1=_0x3a5e29[_0x495e71])&&(_0x2e074c=_0x53e5b1(_0x2e074c)||_0x2e074c);return _0x2e074c;},U=(_0x42a6f3,_0x155f61)=>(_0x103205,_0x24347c)=>_0x155f61(_0x103205,_0x24347c,_0x42a6f3);let ae=class extends _0xca418{constructor(_0x515ef5,_0x237a06,_0x50360f,_0xd80680,_0x45464b,_0x1495a7,_0x55018c,_0x5a4df0){const _0x409539=_0x4ebf15;super(),_(this,'_status$',new _0x164892(_0xddcb7d['NOT_COLLAB'])),(this[_0x409539(0x1d7)]=_0x515ef5,this[_0x409539(0x195)]=_0x237a06,this[_0x409539(0xa8)]=_0x50360f,this['_docTransformStateCacheService']=_0xd80680,this[_0x409539(0x1b0)]=_0x45464b,this[_0x409539(0xdc)]=_0x1495a7,this['_messageService']=_0x55018c,this['_localeService']=_0x5a4df0,this['_initEntityListener']());}['_initEntityListener'](){const _0x13da59=_0x4ebf15;this['disposeWithMe'](this[_0x13da59(0x195)][_0x13da59(0x12d)][_0x13da59(0x14c)](_0x4c9598=>{const _0x7ac920=_0x13da59,_0xa412c0=this['_docStateChangeManagerService'][_0x7ac920(0x1d2)][_0x7ac920(0x14c)](_0x1fefc4=>{const _0x14ae30=_0x7ac920;if(_0x1fefc4==null)return;const {unitId:_0x427d36,redoState:_0x4470ab,commandId:_0x4b6d2f}=_0x1fefc4;if(_0x427d36!==_0x4c9598['unitID'])return;const _0x1a9da2={'id':_0x4b6d2f,'type':_0x57b922[_0x14ae30(0x144)],'params':{'unitId':_0x427d36,'actions':_0x4470ab['actions'],'textRanges':null}};_0x4c9598[_0x14ae30(0x231)](_0x1a9da2);});if(_0x4c9598[_0x7ac920(0x21f)](_0xa412c0),_0x4c9598 instanceof _0xf2174a){const _0x420701={'onTransformIME':_0x49c9a4=>this[_0x7ac920(0xa8)][_0x7ac920(0x148)](_0x49c9a4),'onTransformState':_0x4fb1fa=>this[_0x7ac920(0x1b5)][_0x7ac920(0x1c6)](_0x4fb1fa),'onTransformSelections':_0xef5e48=>this['_docTransformSelectionsService'][_0x7ac920(0x1a7)](_0xef5e48),'onSyncEditingCollabCursor':_0x3a7cc0=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3a7cc0),'onTransformRemoteChangesetByIMECache':_0xdf8273=>this[_0x7ac920(0xa8)][_0x7ac920(0x237)](_0xdf8273),'onTransformRemoteChangesetByStateCache':_0x448e19=>this['_docTransformStateCacheService'][_0x7ac920(0x237)](_0x448e19)};_0x4c9598[_0x7ac920(0xd1)](_0x420701);}}));}};ae=cn([U(0x0,_0x21e3c0(_0x33c0a6)),U(0x1,_0x21e3c0(_0x50d68a)),U(0x2,_0x21e3c0(ne)),U(0x3,_0x21e3c0(re)),U(0x4,_0x21e3c0(oe)),U(0x5,_0x21e3c0(He)),U(0x6,_0x47ee23),U(0x7,_0x21e3c0(_0x4216a9))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x24dcb6,_0xa263d1,_0xbdefaa,_0x2cbb4c)=>{for(var _0x46e3d7=_0x2cbb4c>0x1?void 0x0:_0x2cbb4c?ln(_0xa263d1,_0xbdefaa):_0xa263d1,_0x3a68b0=_0x24dcb6['length']-0x1,_0x1b6a80;_0x3a68b0>=0x0;_0x3a68b0--)(_0x1b6a80=_0x24dcb6[_0x3a68b0])&&(_0x46e3d7=_0x1b6a80(_0x46e3d7)||_0x46e3d7);return _0x46e3d7;},Ee=(_0x222b13,_0x108c3a)=>(_0xbf20ba,_0x41ef64)=>_0x108c3a(_0xbf20ba,_0x41ef64,_0x222b13);let Le=class extends _0xca418{constructor(_0x2555ea,_0x5d32d3,_0x44fb2a){const _0x3b1ec6=_0x4ebf15;super(),_(this,_0x3b1ec6(0x99),new Map()),_(this,_0x3b1ec6(0x100),new Map()),_(this,_0x3b1ec6(0x166),!0x1),(this[_0x3b1ec6(0x24b)]=_0x2555ea,this[_0x3b1ec6(0x1be)]=_0x5d32d3,this[_0x3b1ec6(0x138)]=_0x44fb2a);}[_0x4ebf15(0xd9)](){const _0x560cd9=_0x4ebf15;this[_0x560cd9(0x166)]=!0x0;}['enableLocalCache'](){const _0x3dd0f7=_0x4ebf15;this[_0x3dd0f7(0x166)]=!0x1;}get['saveTaskMap'](){const _0x2543e0=_0x4ebf15;return this[_0x2543e0(0x100)];}[_0x4ebf15(0x264)](){const _0x335489=_0x4ebf15;this[_0x335489(0xa1)]()[_0x335489(0x199)](()=>super[_0x335489(0x264)]());}async[_0x4ebf15(0x151)](_0x1d0ffa){const _0x52bfa0=_0x4ebf15;return this[_0x52bfa0(0x166)]?null:this[_0x52bfa0(0x1be)]['getItem'](_0x462035(_0x1d0ffa));}async['saveOfflineData'](_0x761adf,_0x4fcebc){const _0x46e64f=_0x4ebf15;return!!this[_0x46e64f(0x1be)][_0x46e64f(0x97)](_0x761adf,_0x4fcebc);}['updateOfflineData'](_0x109ca5,_0x4335cb,_0x2b5f3b,_0x26d598){const _0x11041b=_0x4ebf15,_0x25ef32=this[_0x11041b(0x138)][_0x11041b(0x16c)](_0x109ca5);this[_0x11041b(0x99)]['set'](_0x109ca5,{'unitID':_0x109ca5,'type':_0x4335cb,'awaitingChangeset':_0x2b5f3b,'mutations':_0x26d598,'rev':_0x25ef32}),this[_0x11041b(0x100)][_0x11041b(0x219)](_0x109ca5)||this[_0x11041b(0x11a)](_0x109ca5);}[_0x4ebf15(0x11a)](_0xcdba6e){const _0x42c1c1=_0x4ebf15,_0x52c22f=this[_0x42c1c1(0x188)]();_0x52c22f===0x0?this['_saveCache'](_0xcdba6e):this[_0x42c1c1(0x100)][_0x42c1c1(0x1c2)](_0xcdba6e,setTimeout(()=>this[_0x42c1c1(0x260)](_0xcdba6e),_0x52c22f));}[_0x4ebf15(0x188)](){const _0x584cb7=_0x4ebf15;var _0x1c2dc6;return(_0x1c2dc6=this[_0x584cb7(0x24b)][_0x584cb7(0x14a)](_0x2a79f7))!=null?_0x1c2dc6:_0x253939;}[_0x4ebf15(0x260)](_0x58d75f){const _0xb85abb=_0x4ebf15,_0x113ae0=this[_0xb85abb(0x100)][_0xb85abb(0x254)](_0x58d75f);return _0x113ae0!==void 0x0&&window[_0xb85abb(0x135)](_0x113ae0),this['_localStorageService'][_0xb85abb(0x97)](_0x462035(_0x58d75f),this[_0xb85abb(0x99)][_0xb85abb(0x254)](_0x58d75f))['then'](()=>this[_0xb85abb(0x100)][_0xb85abb(0xf8)](_0x58d75f));}async[_0x4ebf15(0xa1)](){const _0x1954fa=_0x4ebf15,_0x34ef52=[];this[_0x1954fa(0x100)][_0x1954fa(0x228)]((_0x1c5889,_0x10a48a)=>{const _0x4542a6=_0x1954fa;window['clearTimeout'](_0x1c5889),_0x34ef52[_0x4542a6(0x71)](this['_saveCache'](_0x10a48a)[_0x4542a6(0x199)](()=>{const _0x9b7c35=_0x4542a6;this[_0x9b7c35(0x100)][_0x9b7c35(0xf8)](_0x10a48a);}));}),await Promise[_0x1954fa(0x178)](_0x34ef52);}};Le=_n([Ee(0x0,_0x5de9b9),Ee(0x1,_0x456898),Ee(0x2,_0x21e3c0(_0x1c8bdb))],Le);class hn extends _0x2bba09{constructor(){const _0x539826=_0x4ebf15;super(),_(this,_0x539826(0x211)),this[_0x539826(0x211)]=_0x12567e(window,_0x539826(0x131))[_0x539826(0xb3)](_0x1b0d9c(this[_0x539826(0x218)]),_0x425977(0x1),_0x2e551b(void 0x0));}[_0x4ebf15(0x132)](_0x307446,_0x149da1,_0x614784=!0x1){const _0x2afb86=_0x4ebf15,_0x4df04c=new URL(window[_0x2afb86(0x6e)]['href']);_0x4df04c['searchParams'][_0x2afb86(0x1c2)](_0x307446,_0x149da1),_0x614784?window[_0x2afb86(0x1bf)][_0x2afb86(0x129)]('','',_0x4df04c['toString']()):window['history']['pushState']('','',_0x4df04c[_0x2afb86(0x258)]());}[_0x4ebf15(0x83)](_0x250916,_0x221502=!0x1){const _0x50e579=_0x4ebf15,_0x5db50a=new URL(window[_0x50e579(0x6e)]['href']);_0x5db50a['searchParams'][_0x50e579(0xf8)](_0x250916),_0x221502?window[_0x50e579(0x1bf)][_0x50e579(0x129)]('','',_0x5db50a[_0x50e579(0x258)]()):window['history'][_0x50e579(0x19d)]('','',_0x5db50a[_0x50e579(0x258)]());}[_0x4ebf15(0x81)](_0x26a5c1){const _0x31409a=_0x4ebf15;var _0x2f812f;return(_0x2f812f=new URL(window[_0x31409a(0x6e)][_0x31409a(0x20b)])[_0x31409a(0x192)][_0x31409a(0x254)](_0x26a5c1))!=null?_0x2f812f:void 0x0;}}var un=Object[_0x4ebf15(0xe3)],dn=Object[_0x4ebf15(0x23a)],fn=(_0x17dabd,_0x31587e,_0x13c820)=>_0x31587e in _0x17dabd?un(_0x17dabd,_0x31587e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c820}):_0x17dabd[_0x31587e]=_0x13c820,Sn=(_0x429add,_0x475724,_0x2a9c74,_0x8f5e3)=>{for(var _0x3a6fba=_0x8f5e3>0x1?void 0x0:_0x8f5e3?dn(_0x475724,_0x2a9c74):_0x475724,_0x5965ed=_0x429add['length']-0x1,_0x3c5027;_0x5965ed>=0x0;_0x5965ed--)(_0x3c5027=_0x429add[_0x5965ed])&&(_0x3a6fba=_0x3c5027(_0x3a6fba)||_0x3a6fba);return _0x3a6fba;},be=(_0x40a2ec,_0xb009a5)=>(_0x1d3a20,_0x32a873)=>_0xb009a5(_0x1d3a20,_0x32a873,_0x40a2ec),mn=(_0xef826a,_0x21ad9c,_0x4e876c)=>fn(_0xef826a,_0x21ad9c+'',_0x4e876c);const gn=_0x4ebf15(0x19a);let Ae=class extends _0x4809bc{constructor(_0x34b8f6=et,_0x539020,_0x1ae513,_0x165977){const _0x35838d=_0x4ebf15;super(),this[_0x35838d(0x233)]=_0x34b8f6,this[_0x35838d(0x202)]=_0x539020,this[_0x35838d(0xaa)]=_0x1ae513,this[_0x35838d(0x24b)]=_0x165977;const {..._0x2d4929}=_0x4fe956({},et,this['_config']);this[_0x35838d(0x24b)]['setConfig'](Zi,_0x2d4929);}[_0x4ebf15(0x114)](){const _0x7b07b8=_0x4ebf15;this[_0x7b07b8(0x198)](),this['_initDependencies']();}[_0x4ebf15(0x7d)](){this['_registerRenderDependencies']();}[_0x4ebf15(0x198)](){const _0x4630af=_0x4ebf15;var _0x37a785;const _0x53c52c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x59f96a,{'useClass':_0x2f56ec}],[_0x4e6669,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x588f08(this[_0x4630af(0xaa)],_0x535b28(_0x53c52c,(_0x37a785=this[_0x4630af(0x233)])==null?void 0x0:_0x37a785['override']));}[_0x4ebf15(0x116)](){const _0x29243f=_0x4ebf15;this[_0x29243f(0x21f)](this[_0x29243f(0x202)][_0x29243f(0x8f)](_0x2c18b4[_0x29243f(0x21e)],[Pe])),this[_0x29243f(0x21f)](this[_0x29243f(0x202)][_0x29243f(0x8f)](_0x2c18b4[_0x29243f(0x152)],[we]));}['_initDependencies'](){const _0x33357e=_0x4ebf15;_0x42c77f(this[_0x33357e(0xaa)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4ebf15(0xeb),gn),Ae=Sn([_0x2d2d90(_0x25eac2),be(0x1,_0x302a8c),be(0x2,_0x21e3c0(_0x24e3a9)),be(0x3,_0x5de9b9)],Ae);var vn=Object[_0x4ebf15(0x23a)],In=(_0x3445cd,_0x57a34d,_0x4043b5,_0x43772a)=>{const _0x4f4a04=_0x4ebf15;for(var _0x4bb876=_0x43772a>0x1?void 0x0:_0x43772a?vn(_0x57a34d,_0x4043b5):_0x57a34d,_0x596e89=_0x3445cd[_0x4f4a04(0x1f4)]-0x1,_0x1d4e6c;_0x596e89>=0x0;_0x596e89--)(_0x1d4e6c=_0x3445cd[_0x596e89])&&(_0x4bb876=_0x1d4e6c(_0x4bb876)||_0x4bb876);return _0x4bb876;},K=(_0x580577,_0x4a3e7b)=>(_0x541303,_0x48f8e6)=>_0x4a3e7b(_0x541303,_0x48f8e6,_0x580577);let st=class extends _0x369afe{constructor(_0xc0d962,_0x51753e,_0x51b965,_0x469c8e,_0x996305){super(_0xc0d962,_0x51753e,_0x51b965,_0x469c8e,_0x996305);}async[_0x4ebf15(0xc0)](_0x360e3e){const _0x40ab37=_0x4ebf15,_0x58d781=await this[_0x40ab37(0xab)](),_0x4cc643=this['_createSocketURL'](_0x360e3e,_0x58d781);return this['_doCreateSocket'](_0x4cc643);}[_0x4ebf15(0x22a)](_0x553a80,_0x4e7e1c){const _0x34b5f2=_0x4ebf15,_0x595d21=typeof window>'u'?new URL(_0x553a80):new URL(_0x553a80,window[_0x34b5f2(0x6e)]['origin']);_0x595d21[_0x34b5f2(0x192)][_0x34b5f2(0x1c2)]('sessionTicket',_0x4e7e1c);const _0x5b4176=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34b5f2(0x6e)][_0x34b5f2(0x17e)]);return _0x5b4176[_0x34b5f2(0x254)](_0x34b5f2(0x252))&&_0x595d21[_0x34b5f2(0x192)][_0x34b5f2(0x1c2)](_0x34b5f2(0x252),_0x5b4176[_0x34b5f2(0x254)](_0x34b5f2(0x252))),_0x595d21[_0x34b5f2(0x258)]();}async['_getSessionTicket'](){const _0x1b56d4=_0x4ebf15;var _0x5aa355,_0xe58fa9,_0x2ee25b;const _0x4817d3=this[_0x1b56d4(0x24b)][_0x1b56d4(0x14a)](_0x16dee2),_0x4c22c4=(_0x5aa355=_0x4817d3==null?void 0x0:_0x4817d3[_0x1b56d4(0x156)])!=null?_0x5aa355:_0x473eb2;return(_0x2ee25b=(_0xe58fa9=(await this[_0x1b56d4(0xca)][_0x1b56d4(0x254)](_0x4c22c4,{'headers':{'Content-Type':_0x1b56d4(0x12c)}}))[_0x1b56d4(0x1a0)])==null?void 0x0:_0xe58fa9[_0x1b56d4(0x11f)])!=null?_0x2ee25b:'';}};st=In([K(0x0,_0x21e3c0(_0x24e3a9)),K(0x1,_0x21e3c0(_0x501dfe)),K(0x2,_0x5de9b9),K(0x3,_0x5a4cbc),K(0x4,_0x32c769)],st);const it=0x7530,nt=_0x4ebf15(0xcf);class jn extends _0xca418{constructor(){const _0x24965f=_0x4ebf15;super(),_(this,'_id',_0x1e0a00()),_(this,'_selfUnitIDs',new Set()),_(this,_0x24965f(0x1a5),new Map()),_(this,_0x24965f(0x1fa),null),_(this,_0x24965f(0x25d),new Map()),_(this,_0x24965f(0x68),new Map()),this['_init']();}['dispose'](){const _0x210fe7=_0x4ebf15;super[_0x210fe7(0x264)](),this[_0x210fe7(0x25d)][_0x210fe7(0x228)]((_0x410363,_0xe9c9b2)=>this['_removeClearOtherTimer'](_0xe9c9b2)),this[_0x210fe7(0x1fa)]&&window[_0x210fe7(0x215)](this['_heartbeatTimer']);}[_0x4ebf15(0x1d4)](_0x52fda2){const _0x18a5e7=_0x4ebf15;return this['_ensureSubject'](_0x52fda2)[_0x18a5e7(0xb3)](_0x368309());}['editingUnit'](_0xf76838){const _0x582588=_0x4ebf15;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x582588(0xac)]['add'](_0xf76838),this[_0x582588(0xe6)]({'type':0x0,'memberID':this[_0x582588(0x209)],'unitIDs':[_0xf76838],'isForwarded':!0x1});}[_0x4ebf15(0x78)](_0x4b148d){const _0x45dc0b=_0x4ebf15;this[_0x45dc0b(0xac)][_0x45dc0b(0xf8)](_0x4b148d),this['_selfUnitIDs'][_0x45dc0b(0xd2)]===0x0&&this[_0x45dc0b(0x1fa)]&&window[_0x45dc0b(0x215)](this[_0x45dc0b(0x1fa)]);}[_0x4ebf15(0x185)](){const _0x14edf8=_0x4ebf15;this[_0x14edf8(0x21f)](_0x495276(_0x12567e(window,_0x14edf8(0x1d0))[_0x14edf8(0x14c)](_0x105c65=>{const _0x5e68d6=_0x14edf8;if(_0x105c65[_0x5e68d6(0x9a)]!==nt||!_0x105c65['newValue'])return;const _0xa57366=JSON[_0x5e68d6(0x9f)](_0x105c65['newValue']);this['_handleEvent'](_0xa57366);}))),window[_0x14edf8(0xfb)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x14edf8(0x209)],'unitIDs':Array[_0x14edf8(0x10d)](this[_0x14edf8(0xac)])}));}[_0x4ebf15(0xbe)](_0x5186e7){const _0x3b405e=_0x4ebf15;switch(_0x5186e7['type']){case 0x0:this['_handleJoinEvent'](_0x5186e7);break;case 0x1:this['_handleLeaveEvent'](_0x5186e7);break;case 0x2:this[_0x3b405e(0x10b)](_0x5186e7);break;}}[_0x4ebf15(0x108)](_0x1e6cce){const _0x99ad56=_0x4ebf15,{unitIDs:_0x36f152,memberID:_0x261a88,isForwarded:_0x396bb5}=_0x1e6cce;_0x36f152[_0x99ad56(0x228)](_0x30ea01=>{const _0x41ce5f=_0x99ad56;if(!_0x396bb5&&this[_0x41ce5f(0x1a5)]['has'](_0x30ea01)&&this['_ensureSubject'](_0x30ea01)[_0x41ce5f(0x1e7)](_0x337bc9[_0x41ce5f(0x16b)]),!this[_0x41ce5f(0x1a5)]['has'](_0x30ea01)||!this[_0x41ce5f(0x1a5)][_0x41ce5f(0x254)](_0x30ea01)[_0x41ce5f(0x219)](_0x261a88)){const _0x21ad31=this[_0x41ce5f(0x1a5)][_0x41ce5f(0x254)](_0x30ea01)||new Set();_0x21ad31['add'](_0x261a88),this[_0x41ce5f(0x1a5)][_0x41ce5f(0x1c2)](_0x30ea01,_0x21ad31),this[_0x41ce5f(0x9c)](_0x261a88);}}),_0x396bb5||this[_0x99ad56(0xe6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x99ad56(0xac)]],'isForwarded':!0x0});}[_0x4ebf15(0x9c)](_0x2ba300){const _0x38731b=_0x4ebf15;this[_0x38731b(0x86)](_0x2ba300);const _0x240d2d=window['setTimeout'](()=>{const _0xbd41aa=_0x38731b;this[_0xbd41aa(0x1a5)][_0xbd41aa(0x228)](_0x561049=>{const _0x5555d5=_0xbd41aa;_0x561049[_0x5555d5(0xf8)](_0x2ba300);});},it*0x2);this[_0x38731b(0x25d)][_0x38731b(0x1c2)](_0x2ba300,_0x240d2d);}['_removeClearOtherTimer'](_0x1e4ce2){const _0xacf8a6=_0x4ebf15;if(this[_0xacf8a6(0x25d)][_0xacf8a6(0x219)](_0x1e4ce2)){const _0x2f537b=this[_0xacf8a6(0x25d)][_0xacf8a6(0x254)](_0x1e4ce2);_0x2f537b&&window['clearTimeout'](_0x2f537b),this[_0xacf8a6(0x25d)][_0xacf8a6(0x1c2)](_0x1e4ce2,null);}}['_handleLeaveEvent'](_0x9bfdf9){const _0x432a7e=_0x4ebf15,{memberID:_0x300949,unitIDs:_0x44d26a}=_0x9bfdf9;_0x44d26a[_0x432a7e(0x228)](_0x13af19=>{const _0xe7b22c=_0x432a7e;var _0x9ef089;const _0x16d7eb=this[_0xe7b22c(0x1a5)][_0xe7b22c(0x254)](_0x13af19);_0x16d7eb&&(_0x16d7eb[_0xe7b22c(0xf8)](_0x300949),(_0x9ef089=this[_0xe7b22c(0xe9)](_0x13af19))==null||_0x9ef089[_0xe7b22c(0x1e7)](_0x16d7eb['size']===0x0?_0x337bc9[_0xe7b22c(0x19b)]:_0x337bc9[_0xe7b22c(0x16b)]));}),this[_0x432a7e(0x86)](_0x300949);}[_0x4ebf15(0x10b)](_0x41e98f){const _0x1bcebd=_0x4ebf15;this[_0x1bcebd(0x9c)](_0x41e98f[_0x1bcebd(0x6f)]);}[_0x4ebf15(0xe6)](_0x593d35){const _0x3eac7c=_0x4ebf15;localStorage[_0x3eac7c(0x97)](nt,JSON[_0x3eac7c(0x1de)](_0x593d35));}[_0x4ebf15(0x104)](){const _0x238bb9=_0x4ebf15;this[_0x238bb9(0x1fa)]=window[_0x238bb9(0x19e)](()=>{const _0x3f80e7=_0x238bb9;this[_0x3f80e7(0xe6)]({'type':0x2,'memberID':this[_0x3f80e7(0x209)]});},it);}[_0x4ebf15(0xe9)](_0x556490){const _0x3933cb=_0x4ebf15;return this[_0x3933cb(0x68)][_0x3933cb(0x219)](_0x556490)||this[_0x3933cb(0x68)][_0x3933cb(0x1c2)](_0x556490,new _0x164892(_0x337bc9[_0x3933cb(0x19b)])),this[_0x3933cb(0x68)][_0x3933cb(0x254)](_0x556490);}}var Mt=(_0x6dff47=>(_0x6dff47[_0x6dff47[_0x4ebf15(0xb1)]=0x0]=_0x4ebf15(0xb1),_0x6dff47[_0x6dff47['OK']=0x1]='OK',_0x6dff47[_0x6dff47[_0x4ebf15(0x217)]=0x2]=_0x4ebf15(0x217),_0x6dff47[_0x6dff47[_0x4ebf15(0x7c)]=0x3]='PERMISSION_DENIED',_0x6dff47[_0x6dff47[_0x4ebf15(0x21b)]=0x4]=_0x4ebf15(0x21b),_0x6dff47[_0x6dff47[_0x4ebf15(0x1c9)]=0x5]=_0x4ebf15(0x1c9),_0x6dff47[_0x6dff47['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x6dff47[_0x6dff47['INVALID_ARGUMENT']=0x7]=_0x4ebf15(0x1e6),_0x6dff47[_0x6dff47[_0x4ebf15(0x106)]=0x8]='TOO_MANY_REQUESTS',_0x6dff47[_0x6dff47[_0x4ebf15(0x160)]=0x9]=_0x4ebf15(0x160),_0x6dff47[_0x6dff47['LOGIN_FAILED']=0xa]=_0x4ebf15(0x14d),_0x6dff47[_0x6dff47['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4ebf15(0x90),_0x6dff47[_0x6dff47[_0x4ebf15(0x9b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6dff47[_0x6dff47[_0x4ebf15(0x157)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6dff47[_0x6dff47[_0x4ebf15(0xd6)]=0x1773]=_0x4ebf15(0xd6),_0x6dff47[_0x6dff47[_0x4ebf15(0x74)]=0x1b59]='APPLY_REJECT',_0x6dff47[_0x6dff47[_0x4ebf15(0x206)]=0x1b5a]=_0x4ebf15(0x206),_0x6dff47[_0x6dff47[_0x4ebf15(0x222)]=0x1b5b]=_0x4ebf15(0x222),_0x6dff47[_0x6dff47[_0x4ebf15(0x17d)]=0x1b5c]=_0x4ebf15(0x17d),_0x6dff47[_0x6dff47[_0x4ebf15(0x77)]=0x1b5d]=_0x4ebf15(0x77),_0x6dff47[_0x6dff47[_0x4ebf15(0x10c)]=0x1f41]=_0x4ebf15(0x10c),_0x6dff47[_0x6dff47[_0x4ebf15(0xf9)]=0x2329]=_0x4ebf15(0xf9),_0x6dff47[_0x6dff47[_0x4ebf15(0x1b8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6dff47[_0x6dff47[_0x4ebf15(0x255)]=0x232b]=_0x4ebf15(0x255),_0x6dff47[_0x6dff47[_0x4ebf15(0x75)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x6dff47[_0x6dff47[_0x4ebf15(0x1f2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x6dff47[_0x6dff47[_0x4ebf15(0x246)]=0x2711]=_0x4ebf15(0x246),_0x6dff47[_0x6dff47[_0x4ebf15(0xe1)]=0x2712]=_0x4ebf15(0xe1),_0x6dff47[_0x6dff47[_0x4ebf15(0x146)]=0x2713]=_0x4ebf15(0x146),_0x6dff47[_0x6dff47['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4ebf15(0x25b),_0x6dff47[_0x6dff47[_0x4ebf15(0x1b6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x6dff47[_0x6dff47[_0x4ebf15(0xa0)]=0x271b]=_0x4ebf15(0xa0),_0x6dff47[_0x6dff47[_0x4ebf15(0x1ee)]=0x2af9]=_0x4ebf15(0x1ee),_0x6dff47[_0x6dff47[_0x4ebf15(0x109)]=0x2ee1]=_0x4ebf15(0x109),_0x6dff47[_0x6dff47[_0x4ebf15(0x1e0)]=0x2ee2]=_0x4ebf15(0x1e0),_0x6dff47[_0x6dff47[_0x4ebf15(0x227)]=0x2ee3]=_0x4ebf15(0x227),_0x6dff47[_0x6dff47[_0x4ebf15(0x263)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x6dff47[_0x6dff47['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ebf15(0x259),_0x6dff47[_0x6dff47['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x6dff47[_0x6dff47['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4ebf15(0x103),_0x6dff47[_0x6dff47[_0x4ebf15(0x1f3)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x6dff47[_0x6dff47['UNRECOGNIZED']=-0x1]=_0x4ebf15(0x95),_0x6dff47))(Mt||{}),pn=Object[_0x4ebf15(0x23a)],Cn=(_0x462fcc,_0x730ba5,_0x5a6aee,_0x376c72)=>{const _0x39a092=_0x4ebf15;for(var _0x3acedb=_0x376c72>0x1?void 0x0:_0x376c72?pn(_0x730ba5,_0x5a6aee):_0x730ba5,_0x3f2f45=_0x462fcc[_0x39a092(0x1f4)]-0x1,_0xf4ba0;_0x3f2f45>=0x0;_0x3f2f45--)(_0xf4ba0=_0x462fcc[_0x3f2f45])&&(_0x3acedb=_0xf4ba0(_0x3acedb)||_0x3acedb);return _0x3acedb;},Oe=(_0x3b11dd,_0x202f61)=>(_0x223413,_0x452459)=>_0x202f61(_0x223413,_0x452459,_0x3b11dd);let rt=class extends _0xca418{constructor(_0x4662b8,_0xb52125,_0x3bbf73){const _0x4f5f0e=_0x4ebf15;super(),this['_instanceService']=_0x4662b8,this['_httpService']=_0xb52125,this[_0x4f5f0e(0x24b)]=_0x3bbf73;}async[_0x4ebf15(0xc1)](_0x6138e8,_0x36b63c,_0x5a6853,..._0x4cbf66){const _0x1e2644=_0x4ebf15;var _0x1ac571,_0x138524,_0x5b206c,_0x3aa64a;const _0x4127f3=this[_0x1e2644(0x1ff)]['getFocusedUnit']();if(!_0x4127f3)throw new Error(_0x1e2644(0x1f0));const _0x54a94f=((_0x1ac571=this['_configService'][_0x1e2644(0x14a)](_0x83373e))!=null?_0x1ac571:_0x5a305e)+'/'+_0x6138e8+_0x1e2644(0xf2)+_0x36b63c,_0x2630bd=new URL(window['location'][_0x1e2644(0x20b)]),_0x385101={'scriptId':_0x6138e8,'runId':(_0x138524=_0x2630bd[_0x1e2644(0x192)][_0x1e2644(0x254)](_0x1e2644(0x252)))!=null?_0x138524:'','function':_0x36b63c,'unitId':_0x4127f3[_0x1e2644(0x153)](),'argsOfFunction':JSON[_0x1e2644(0x1de)](_0x4cbf66),'invokeId':(_0x5b206c=_0x5a6853[_0x1e2644(0xf7)])!=null?_0x5b206c:'','executionId':(_0x3aa64a=_0x5a6853[_0x1e2644(0x1e1)])!=null?_0x3aa64a:''};try{const _0x21851d=await this[_0x1e2644(0xca)][_0x1e2644(0x184)](_0x54a94f,{'body':_0x385101});return _0x21851d['body']['error']&&_0x21851d['body'][_0x1e2644(0x1ea)][_0x1e2644(0x69)]!==Mt['OK']?'Failed':_0x21851d['body'][_0x1e2644(0xd3)];}catch{return _0x1e2644(0x22d);}}};rt=Cn([Oe(0x0,_0x5e4b80),Oe(0x1,_0x21e3c0(_0x501dfe)),Oe(0x2,_0x5de9b9)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x64a570=_0x484b;(function(_0x15c52a,_0x1d60bc){const _0xf6834a=_0x484b,_0x449274=_0x15c52a();while(!![]){try{const _0x4986e5=parseInt(_0xf6834a(0x27b))/0x1+-parseInt(_0xf6834a(0x18a))/0x2+-parseInt(_0xf6834a(0x253))/0x3*(-parseInt(_0xf6834a(0x289))/0x4)+-parseInt(_0xf6834a(0x1a9))/0x5+-parseInt(_0xf6834a(0x2a1))/0x6+-parseInt(_0xf6834a(0x2a4))/0x7*(-parseInt(_0xf6834a(0x30c))/0x8)+-parseInt(_0xf6834a(0x2b7))/0x9*(parseInt(_0xf6834a(0x31e))/0xa);if(_0x4986e5===_0x1d60bc)break;else _0x449274['push'](_0x449274['shift']());}catch(_0x3b174b){_0x449274['push'](_0x449274['shift']());}}}(_0x2330,0xdb237));var $t=Object[_0x64a570(0x201)],xt=(_0x4edadb,_0x4187dc,_0x198cca)=>_0x4187dc in _0x4edadb?$t(_0x4edadb,_0x4187dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198cca}):_0x4edadb[_0x4187dc]=_0x198cca,_=(_0x40a938,_0x1ede69,_0x34873d)=>xt(_0x40a938,typeof _0x1ede69!='symbol'?_0x1ede69+'':_0x1ede69,_0x34873d);import{MemberService as _0x17cc58,SessionStatus as _0x35a6db,CollaborationSessionService as _0x26288a,CollaborationStatus as _0xa376d9,CollaborationController as _0x46cb23,ILocalCacheService as _0x1cfe94,CollaborationUIEventService as _0x5812fd,CollaborationUIEventId as _0x40c25b,DataLoaderService as _0x1912e7,DocCollaborationEntity as _0x37ddb9,getLocalCacheKey as _0x517f52,LOCAL_CACHE_INTERVAL as _0x3d84b0,LOCAL_CACHE_INTERVAL_KEY as _0x1c911e,UniverCollaborationClientPlugin as _0x1ce9a9,CollaborationSocketService as _0x571743,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x26d7ce,DEFAULT_WS_SESSION_TICKET_URL as _0x27918a,UnitStatus as _0xa4f239,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1444f7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x565fbd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1f868b,Disposable as _0x455ce9,DOC_RANGE_TYPE as _0x32d4e6,Inject as _0x31e7fe,Injector as _0x533dcb,IUniverInstanceService as _0x58d7bd,ICommandService as _0x120bf5,debounce as _0x737ff2,Rectangle as _0x77a989,DisposableCollection as _0x366c5c,toDisposable as _0x3e0dad,UniverInstanceType as _0x20393a,Tools as _0x237755,COLORS as _0x2982c6,ColorKit as _0x15fe72,ThemeService as _0x21db4a,fromEventSubject as _0x3273b8,LocaleService as _0x1eede4,createIdentifier as _0x274757,ILogService as _0x5e80c4,Optional as _0xb13320,Workbook as _0x5278e9,CommandType as _0x441a91,IConfigService as _0x379d2b,ILocalStorageService as _0x4e8043,DependentOn as _0x1ab186,Plugin as _0x36458f,merge as _0x20f69b,registerDependencies as _0x40d7ab,mergeOverrideWithDependencies as _0x52d8e1,touchDependencies as _0x551233,generateRandomId as _0x33fcde}from'@univerjs/core';import{Shape as _0x3b7977,Rect as _0x5e2a0b,getColor as _0x15d7dd,RegularPolygon as _0x5826cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2858bb,Vector2 as _0x352975,SHEET_VIEWPORT_KEY as _0x4cb84c,IRenderManagerService as _0x1e1d94}from'@univerjs/engine-render';import{ISocketService as _0x8c7098,WebSocketService as _0x115e8c,HTTPService as _0x1c5848}from'@univerjs/network';import{IDocClipboardService as _0x2b5be8,NodePositionConvertToCursor as _0x382084,NodePositionConvertToRectRange as _0x1dab74,TEXT_RANGE_LAYER_INDEX as _0x1d2481,SetDocZoomRatioOperation as _0x537073,DocIMEInputManagerService as _0x412fe3,DocStateChangeManagerService as _0x13afef}from'@univerjs/docs-ui';function _0x2330(){const _0x29735c=['_hideTimer','cursorInfo','search','div','saveTaskMap','_saveTaskMap','univer-flex\x20univer-items-center','labelPosition','_handleEvent','setConfig','pipe','replaceDocRanges','loadUnit','TOO_MANY_REQUESTS','string','_transformPreviousActiveRange','save','unshift','USER_NOT_INVITED_CODE','MOBILE_HAS_BEEN_BOUND','UNIVER_SHEET','_updateCollabCursors','lineTo','url(#on-line-single_clip0_910_349)','Unknown\x20user','getSkeleton','_themeService','clearTimeout','_handleLeaveEvent','black','_labelPosition','onPointerMove$','getValue','uni.network.url-service','TEXT','_docStateChangeManagerService','registerRefRange','session.collaboration-timeout','APPLY_DUPLICATED','_getSessionTicket','getOwnPropertyDescriptor','USERS_LEAVE','clipPath','evenodd','SOCKET_FAILED_RETRY','APPLY_NON_SEQUENTIAL_REVISION','arc','text','UNDEFINED','InsertRowCommandId','addClipboardHook','transformIMECache','_renderManagerService','toRgbString','currentTheme$','collab-rect-range-','memberID','translate(.97)','_initCommandExecutedListener','entityInit$','_id','sheetID','PERMISSION_DENIED','_drawTextRange','_configService','debug','HEADER_MENU','colorChannel1','init','clearInterval','_clearOtherTimers','_drawAnchor','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_imageIoService','_getMergeRange','_cachedData','_unitOnClients','_startDocCollabCursor','_config','on-line-single_clip0_910_349','getRelativeToViewportCoord','_heartbeatTimer','defineProperty','_memberService','closePath','_saveCache','collabStatus.synced','children','getStateCache','onTransformChange$','has','delete','_collaborationUIEventService','undoState','_registerRenderDependencies','show','_selfUnitIDs','collab-text-range-','_transformService','SUBMIT_CHANGESET_TIMEOUT','collabStatus.conflict','status$','getTypeOfUnitDisposed$','getFocusedUnit','_localStorageService','onMouseMove','UNIVER_DOC','LICENSE_DISTRO_REJECTED','_scheduleHeartbeat','_name','_transformHistoryAndStateStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.offline','RECT','resize','_context','_color','_handleJoinEvent','permission.content','then','getTypeOfUnitAdded$','collaboration.single-unit.warning','beginPath','univerjs-icon\x20univerjs-icon-','_anchor','history','mask','_ensureSubject','flatMap','exhaustSavingTask','getCurrentSelections','source','location','getUnitStatus$','use','isEditing','url(#$1','OTHER_CLIENTS_EDITING','setTimeout','rgba(255,\x20255,\x20255,\x200.01)','isActive','ENSURE_SNAPSHOT_EXECUTION','icon','concat','_unitStatus','startsWith','toString','_cursorShapes','isArray','getSheetId','INVALID_INVITE_CODE','_online','set','createInstance','getMember','next','transformRemoteChangeset','_injector','red300','_uiPartsService','_colorAssignService','event$','subscribeEvent','EMAIL_HAS_BEEN_BOUND','14055EpyDIm','FromArray','whenReady','restore','RemoveRowCommandId','name','univer-text-green-500','_entityInit$','_hovered','hide','registerBeforeClose','_createSocketURL','getCurrent','all','transformStateCache','_docTransformSelectionsService','_refRangeService','_notificationService','registerComponent','InsertColCommandId','_collaborationController','activeSheet$','getSheetBySheetId','getParam','_document','setParam','APPLY_REJECT','range','moveTo','override','univer-text-red-500','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','COMPLETION_FINISHED','setInterval','_init','_docSkeleton','APPLY_PERMISSION_DENIED','getRangePointData','font','subunit','728650jNPGBv','registerRenderModule','_initDependencies','_docClipboardService','result','getCurrentUnitForType','collabStatus.fetchMiss','extend','Error','getConfig','url(#off-line-single_clip0_910_343)','_initResize','addEventListener','_anchorDot','528mCjFrY','getUndoRedoMutationParamsCache','1em','height','0\x200\x2017\x2016','_scene','_collabCursorController','ticket','_doCreateSocket','color','href','_backgroundColor','_session','_docSyncEditingCollabCursorService','_messageService','DeleteRangeMoveUpCommandId','split','JOIN_ROOM_FAILED','off-line-single','[CollaborationDataLoaderController]','redoState','unsubscribe','VIEW_MAIN','xlink:href','2783394cOQhIW','imageSourceType','mutations','4621764uqlrTO','sheetId','searchParams','collabStatus.notCollab','_shapes','_localeService','SNAPSHOT_INVALID_SNAPSHOT','call','YUUMI_ASYNCIO_CANCELLED','ONLINE','svg','INVITE_CODE_REQUIRED','transformByState','getUnitId','_refreshCollabCursors','cursorInfo$','add','dispose$','_getSheetObject','109917BXBFdY','roomMembers$','actions','type','values','UNAUTHENTICATED','triggerDblclick','idSuffix','0\x200\x2016\x2016','_getSaveTimeout','collabStatus.syncing','_lastPointer','_initEntityListener','forEach','syncEditingCollabCursor','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','Warning','get','unitId','trim','row','FETCH_MISS','_setupSubUnitSync','setItem','entries','CHANGESET_REVISION_CONFILICT','generateRandomId','m1Prime','send','min','indexOf','APPLY_REVISION_CONFILICT','_getScale','currentColor','_assignedColors','_onCursorDelete','enableLocalCache','_entities','_updateSubUnitFromURLParams','collaboration.closeRoom','_cursorInfo$','backgroundColor','UNRECOGNIZED','size','collaboration-client-ui.config','_syncEditingCollabCursorService','_urlService','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','onLocalMutation','Failed','selection','YUUMI_RATE_OVER_LIMIT','getAncestorScale','_removeClearOtherTimer','SYNCED','YUUMI_UNABLE_LOAD_URL','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_send','_updateLocalCursor','random','top','getVpScrollXYInfoByPosToVp','_render','dispose','collab-text-anchor-','data','displayName','focused$','YUUMI_NO_CUBOID_FOR_QUESTION','loadOfflineData','ALREADY_EXISTS','#FFF','getCellPositionByOffset','measureText','transformSelections','disableLocalCache','addObject','YUUMI_SUBSCRIPTION_NOT_FOUND','eventID','_draw','drawWith','/run/','getRenderById','bottom','16gybHjb','getActiveSheet','_localCacheService','blue400','_handleHeartbeatEvent','hasOwnProperty','invokeId','stringify','_getAnchorBounding','includes','LOGIN_FAILED','defs','onPointerLeave$','asObservable','prototype','roomMembers','error','_cursors','330mEqifw','_scheduleSaving','_scheduleClearOtherTimer','UniverIcon','NO_OTHER_CLIENTS_EDITING','...','_beforeCloseService','newValue','_textBubble','function','_roomMembers$','fill','pushState','_disabled','width','skeleton','replaceState','onCommandExecuted','LICENSE_IMPORT_SIZE_EXCEEDED','_drawRectRange','CONNECTOR_DATA_TOO_LARGE','purple300','apply','NOT_FOUND','urlChange$','storage','_onRefRangeChange','LICENSE_MAX_UNITS_EXCEEDED','_startSheetCollabCursor','saveImage','_dataLoaderService','_updateURLWithCurrentState','_hover','InsertRangeMoveDownCommandId','fillText','onRendered','findNodePositionByCharIndex','_toggleOffline','_setupBeforeClosingHandler','assign','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','runId','RemoveColCommandId','subscribe','NOT_COLLAB','_docTransformStateCacheService','wsSessionTicketUrl','_initEvent','runOnServer','fillStyle','INVALID_ARGUMENT','setShapeProps','YUUMI_URL_COL_OUT_OF_RANGE','contains','_sheetSkeletonManagerService','complete','saveOfflineData','origin','deepClone','MUTATION','UPDATE_CURSOR','#fff','_status$','with','sessionStatus$','column','_registerDependencies','getMergeData','_removeCollabCursors','parse','LICENSE_EXPORT_SIZE_EXCEEDED','setStateCache','params','PENDING','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','MoveRangeCommandId','off-line-single_clip0_910_343','doc.mutation.rich-text-editing','onPointerEnter$','none','OnLineSingle','current','length','getOwnPropertySymbols','_handleHover','pluginName','textRanges','getDocRanges','defIds','tag','body','_onCursorUpdate','_revisionService','_docTransformIMECacheService','path','_colorIndex','_commandService','requireSession','endColumn','m2Prime','verdancy600','_collabSessionService','removeParam','map','_eventUnsubscribe','executeCommand','PY_RUNTIME_SCRIPT_ERROR','session.connection-failed','getItem','_initStatusComponent','startColumn','getCollabCursors$','currentSkeleton$','selections','INVITE_CODE_ALREADY_BOUND','_logService','_httpService','25376EHNqdR','className','setAlpha','createSocket','unitID','unit','key','_univerInstanceService','onStarting','ranges','session.will-retry','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','attrs','_range','from','disposeWithMe','_initStatusListener','getMemberID','_docSkeletonManagerService','startRow','push','transform','_transformUndoRedoStack','OTHER_CLIENT_EDITING','round','WECHAT_HAS_BEEN_BOUND','InsertRangeMoveRightCommandId','assignAColorForMemberID','_cursor','code','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','4451835VFwPsu','collaboration-client.offline-data-not-saved','editingUnit','transformMutation','endRow','INTERNAL_ERROR'];_0x2330=function(){return _0x29735c;};return _0x2330();}import{IImageIoService as _0x3a5c2f}from'@univerjs/drawing';import{BehaviorSubject as _0x2241b1,debounceTime as _0x3ec696,takeUntil as _0x2bd97e,Subject as _0x41f611,filter as _0x568b90,switchMap as _0x49b8bc,merge as _0x4e53d3,combineLatest as _0xc0178f,of as _0x12085,fromEvent as _0x30298e,shareReplay as _0x22003f,mapTo as _0x48dbe9,distinctUntilChanged as _0x364c5b}from'rxjs';import{SetTextSelectionsOperation as _0x351556,RichTextEditingMutation as _0x4c3dbc,DocSelectionManagerService as _0x346665,DocSkeletonManagerService as _0x261d99}from'@univerjs/docs';import{ITransformService as _0x1c906c,CollaborationEvent as _0x522e2d,isTransformMutationFailure as _0x3fbac4,isTransformMutationsWithChangesetSuccess as _0x1dccd0,RevisionService as _0x53ed6f,ISnapshotServerService as _0x1daf87}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x732b6c,serializeRangeWithSheet as _0x15eada}from'@univerjs/engine-formula';import{RefRangeService as _0x2ad94f,SetSelectionsOperation as _0x11837b,SheetsSelectionsService as _0x110be5,EffectRefRangId as _0xe850d8,handleIRemoveRow as _0x4bfeae,handleIRemoveCol as _0x279aec,handleMoveRange as _0x2bf85f,handleInsertRow as _0x4c979c,handleInsertRangeMoveRight as _0x329385,handleInsertRangeMoveDown as _0x52a835,handleInsertCol as _0x4d788b,handleDeleteRangeMoveUp as _0x1c50f0,handleDeleteRangeMoveLeft as _0x22faed,runRefRangeMutations as _0x69f53a,SetWorksheetActivateCommand as _0x4b1b7c}from'@univerjs/sheets';import{map as _0x18039b,filter as _0xb24071,throttleTime as _0x4d4b9e,takeUntil as _0x145a8a,switchMap as _0xcc45a}from'rxjs/operators';import{SheetSkeletonManagerService as _0xfe8843,getCoordByCell as _0x399d9c,getSheetObject as _0x173073}from'@univerjs/sheets-ui';import{jsx as _0x2b2214,jsxs as _0xc7d320}from'react/jsx-runtime';import{useObservable as _0x38f4b4,useDependency as _0x2eb808,IUIPartsService as _0x544073,BuiltInUIPart as _0x2de49d,connectInjector as _0x3d8793,IBeforeCloseService as _0x5e34d6,IMessageService as _0x3297fc,INotificationService as _0x3212f3}from'@univerjs/ui';import{Tooltip as _0x5dce71,clsx as _0x329ae5,MessageType as _0xab9cf9}from'@univerjs/design';import{forwardRef as _0x5aca45,useRef as _0xe20147,createElement as _0x2e2139,useCallback as _0x3befde}from'react';import{IRemoteInstanceService as _0x4fd581}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2c1fa8,_0x124499,_0xb50dad,_0x1abcdb)=>{const _0x181993=_0x64a570;for(var _0x2517c1=_0x1abcdb>0x1?void 0x0:_0x1abcdb?ci(_0x124499,_0xb50dad):_0x124499,_0x5df39b=_0x2c1fa8[_0x181993(0x167)]-0x1,_0x53c8d9;_0x5df39b>=0x0;_0x5df39b--)(_0x53c8d9=_0x2c1fa8[_0x5df39b])&&(_0x2517c1=_0x53c8d9(_0x2517c1)||_0x2517c1);return _0x2517c1;},Je=(_0x2d3433,_0x3d892c)=>(_0x517410,_0x9dab98)=>_0x3d892c(_0x517410,_0x9dab98,_0x2d3433);let Ne=class extends _0x1f868b{constructor(_0x30dd3d,_0x3bfb77){const _0x4aa7f3=_0x64a570;super(),this['_docClipboardService']=_0x30dd3d,this[_0x4aa7f3(0x1f8)]=_0x3bfb77,this['_init']();}[_0x64a570(0x275)](){const _0x526ec0=_0x64a570,_0xafb8ec=this;this[_0x526ec0(0x199)](this[_0x526ec0(0x27e)][_0x526ec0(0x1e1)]({'onBeforePasteImage':async _0x709322=>{const _0x8bd2ed=_0x526ec0,_0x1c0a61=await _0xafb8ec['_imageIoService'][_0x8bd2ed(0x33b)](_0x709322);return _0x1c0a61?{'source':_0x1c0a61[_0x8bd2ed(0x232)],'imageSourceType':_0x1c0a61[_0x8bd2ed(0x2a2)]}:null;}}));}};Ne=li([Je(0x0,_0x2b5be8),Je(0x1,_0x3a5c2f)],Ne);const Ze=[_0x64a570(0x333),'jiqing500',_0x64a570(0x179),_0x64a570(0x24d),_0x64a570(0x30f),'gold400'];class ke extends _0x455ce9{constructor(){const _0x47d4a4=_0x64a570;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x47d4a4(0x174),0x0);}[_0x64a570(0x1a5)](_0x34a5e5){const _0x2ec4d0=_0x64a570;if(this[_0x2ec4d0(0x2d9)][_0x2ec4d0(0x209)](_0x34a5e5))return this[_0x2ec4d0(0x2d9)][_0x2ec4d0(0x2c8)](_0x34a5e5);const _0x36f379=Ze[this[_0x2ec4d0(0x174)]];return this[_0x2ec4d0(0x174)]=(this['_colorIndex']+0x1)%Ze[_0x2ec4d0(0x167)],this[_0x2ec4d0(0x2d9)]['set'](_0x34a5e5,_0x36f379),_0x36f379;}}function Tt(_0x50d82b){const _0x3e48e9=_0x64a570;let _0x4fb938='';for(const _0x155aa0 of _0x50d82b){const {startOffset:_0x2ac7b7,endOffset:_0x44f315,isActive:_0x358c28,rangeType:_0xb52b09,segmentId:_0x483a5f,segmentPage:_0xd96e6b}=_0x155aa0;_0x4fb938[_0x3e48e9(0x167)]&&(_0x4fb938+=','),_0x4fb938+=_0x2ac7b7+':'+_0x44f315+':'+(_0x358c28?'1':'0')+':'+_0xb52b09+':'+_0x483a5f+':'+_0xd96e6b;}return _0x4fb938;}function _i(_0x4e77b8){const _0x3519fe=_0x64a570,_0x245d28=_0x4e77b8[_0x3519fe(0x299)](','),_0x5b017b=[];for(const _0x2bdff8 of _0x245d28){const [_0x1c657a,_0x5b8fcf,_0x324eea,_0x23eba6,_0x503ed1,_0x2007a9]=_0x2bdff8[_0x3519fe(0x299)](':');_0x5b017b[_0x3519fe(0x19e)]({'startOffset':Number(_0x1c657a),'endOffset':Number(_0x5b8fcf),'collapsed':_0x1c657a===_0x5b8fcf,'isActive':_0x324eea==='1','rangeType':_0x23eba6===_0x32d4e6[_0x3519fe(0x1d1)]?_0x32d4e6[_0x3519fe(0x1d1)]:_0x32d4e6[_0x3519fe(0x220)],'segmentId':typeof _0x503ed1==_0x3519fe(0x1bd)?String(_0x503ed1):'','segmentPage':Number(_0x2007a9!=null?_0x2007a9:-0x1)});}return _0x5b017b['some'](_0x1cf04f=>_0x1cf04f[_0x3519fe(0x23b)])||(_0x5b017b[0x0][_0x3519fe(0x23b)]=!0x0),_0x5b017b;}class He extends _0x1f868b{constructor(){const _0x528a6f=_0x64a570;super(...arguments),_(this,'_collabCursorState$',new _0x2241b1(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x528a6f(0x319)]());}['syncEditingCollabCursor'](_0x2f8c88){const _0x2b8824=_0x64a570,{unitID:_0x374442,memberID:_0x4cd583,textRanges:_0x14e945}=_0x2f8c88,_0x3e709d=Tt(_0x14e945);if(_0x3e709d==='')return;const _0x53e4c4={'unitID':_0x374442,'memberID':_0x4cd583,'selection':_0x3e709d};this['_collabCursorState$'][_0x2b8824(0x24a)](_0x53e4c4);}}var hi=Object[_0x64a570(0x1d7)],ui=(_0x181185,_0x4d3c52,_0x4ca8cc,_0x503839)=>{const _0x30a005=_0x64a570;for(var _0x182ea5=_0x503839>0x1?void 0x0:_0x503839?hi(_0x4d3c52,_0x4ca8cc):_0x4d3c52,_0x3b25dc=_0x181185[_0x30a005(0x167)]-0x1,_0x121a5f;_0x3b25dc>=0x0;_0x3b25dc--)(_0x121a5f=_0x181185[_0x3b25dc])&&(_0x182ea5=_0x121a5f(_0x182ea5)||_0x182ea5);return _0x182ea5;},w=(_0x1bec73,_0x347a0a)=>(_0xab3aa0,_0x15bd7e)=>_0x347a0a(_0xab3aa0,_0x15bd7e,_0x1bec73);const di=0x12c,fi=0x64;let Ue=class extends _0x1f868b{constructor(_0x15e213,_0x14bd4d,_0x47819e,_0x2bc457,_0x1926c7,_0x2ace65,_0x265614,_0x1d4bec,_0x53d32a){const _0x291506=_0x64a570;super(),_(this,'_online',!0x1),_(this,_0x291506(0x275),!0x1),_(this,_0x291506(0x2df),new _0x2241b1(new Map())),_(this,_0x291506(0x2b3),this[_0x291506(0x2df)]['asObservable']()),_(this,_0x291506(0x328),new _0x2241b1([])),_(this,'roomMembers$',this[_0x291506(0x328)][_0x291506(0x1b9)](_0x3ec696(di))),_(this,_0x291506(0x2f2),_0x737ff2(_0x2a1f89=>{const _0x5c9947=_0x291506,_0x310c04={'eventID':_0x522e2d[_0x5c9947(0x150)],'data':{'unitID':this[_0x5c9947(0x18e)],'memberID':this[_0x5c9947(0x295)][_0x5c9947(0x19b)](),'selection':Tt(_0x2a1f89)}};this['_session'][_0x5c9947(0x2d3)](_0x310c04,this['unitID']);},fi)),(this['unitID']=_0x15e213,this[_0x291506(0x295)]=_0x14bd4d,this[_0x291506(0x24c)]=_0x47819e,this[_0x291506(0x24f)]=_0x2bc457,this[_0x291506(0x202)]=_0x1926c7,this[_0x291506(0x2e4)]=_0x2ace65,this['_transformService']=_0x265614,this[_0x291506(0x191)]=_0x1d4bec,this[_0x291506(0x175)]=_0x53d32a);}get['cursorInfo'](){const _0x433bc4=_0x64a570;return this['_cursorInfo$'][_0x433bc4(0x1cf)]();}get[_0x64a570(0x31b)](){const _0x54e2c1=_0x64a570;return this[_0x54e2c1(0x328)][_0x54e2c1(0x1cf)]();}[_0x64a570(0x2f7)](){const _0x1475c8=_0x64a570;super['dispose'](),this[_0x1475c8(0x2df)][_0x1475c8(0x24a)](new Map()),this[_0x1475c8(0x2df)][_0x1475c8(0x14b)](),this['_roomMembers$']['next']([]),this[_0x1475c8(0x328)][_0x1475c8(0x14b)]();}[_0x64a570(0x1f3)](){const _0x5073a=_0x64a570;this[_0x5073a(0x275)]||(this[_0x5073a(0x275)]=!0x0,this[_0x5073a(0x295)]['sessionStatus$']['pipe'](_0x2bd97e(this[_0x5073a(0x2b5)]))[_0x5073a(0x13f)](_0x8e5acd=>{const _0xd4563b=_0x5073a;_0x8e5acd===_0x35a6db[_0xd4563b(0x2ad)]?this[_0xd4563b(0x2e7)]():this[_0xd4563b(0x139)]();}),this[_0x5073a(0x295)]['event$'][_0x5073a(0x1b9)](_0x2bd97e(this[_0x5073a(0x2b5)]))['subscribe'](_0x1cd392=>{const _0x5b2787=_0x5073a,_0x2e286d=_0x1cd392[_0x5b2787(0x306)];_0x2e286d===_0x522e2d[_0x5b2787(0x150)]&&this[_0x5b2787(0x170)](_0x1cd392),_0x2e286d===_0x522e2d[_0x5b2787(0x1d8)]&&this[_0x5b2787(0x2da)](_0x1cd392);}),this[_0x5073a(0x199)](this['_commandService']['onCommandExecuted'](_0x26c1e7=>{const _0x30ac88=_0x5073a,_0x5beba9=_0x26c1e7[_0x30ac88(0x15c)];_0x5beba9!=null&&this[_0x30ac88(0x246)]&&_0x26c1e7['id']===_0x351556['id']&&_0x5beba9[_0x30ac88(0x2c9)]===this[_0x30ac88(0x18e)]&&_0x5beba9[_0x30ac88(0x236)]===!0x1&&_0x5beba9[_0x30ac88(0x193)][_0x30ac88(0x167)]>0x0&&this['_updateLocalCursor'](_0x5beba9[_0x30ac88(0x193)]);})),this[_0x5073a(0x2e4)]['collabCursorState$'][_0x5073a(0x1b9)](_0x2bd97e(this[_0x5073a(0x2b5)]))[_0x5073a(0x13f)](_0xd21a7e=>{const _0x1f313e=_0x5073a;if((_0xd21a7e==null?void 0x0:_0xd21a7e[_0x1f313e(0x18e)])!==this[_0x1f313e(0x18e)])return;const _0x57d11a={'eventID':_0x522e2d[_0x1f313e(0x150)],'data':_0xd21a7e};this['_onCursorUpdate'](_0x57d11a);}),this['disposeWithMe'](this['_commandService'][_0x5073a(0x32f)](_0x344068=>{const _0x25e683=_0x5073a;if(_0x344068[_0x25e683(0x15c)]==null)return;const _0x1ea847=_0x344068['params'];if(_0x344068['id']!==_0x4c3dbc['id']||_0x1ea847[_0x25e683(0x2c9)]!==this[_0x25e683(0x18e)])return;const _0x403cfa={'id':'doc.mutation.rich-text-editing','params':_0x1ea847},_0x249c6b=this[_0x25e683(0x1b0)];for(const [_0x2ae785,_0x468e5f]of _0x249c6b){const _0x3d5a77={'id':_0x25e683(0x162),'params':{'unitId':this[_0x25e683(0x18e)],'actions':null,'textRanges':_0x468e5f['ranges']}},_0x167094=this[_0x25e683(0x211)]['transformMutation'](_0x403cfa,_0x3d5a77,!0x1);if(_0x3fbac4(_0x167094))throw _0x167094['error'];_0x249c6b['set'](_0x2ae785,{..._0x468e5f,'ranges':_0x167094[_0x25e683(0x178)][_0x25e683(0x15c)][_0x25e683(0x16b)]});}queueMicrotask(()=>{const _0x58e659=_0x25e683;this[_0x58e659(0x2df)]['next'](_0x249c6b);});})));}[_0x64a570(0x170)](_0x57b725){const _0x27b234=_0x64a570;var _0x28f14c,_0x2d9176;const {memberID:_0x3b6fdc,selection:_0x13e242}=_0x57b725['data'],_0x2a89a8=_i(_0x13e242),_0x4f1750=(_0x2d9176=(_0x28f14c=this[_0x27b234(0x202)][_0x27b234(0x249)](this[_0x27b234(0x18e)],_0x3b6fdc))==null?void 0x0:_0x28f14c['name'])!=null?_0x2d9176:'Unknown\x20user',_0x2f1b03={'color':this[_0x27b234(0x24f)][_0x27b234(0x1a5)](_0x3b6fdc),'name':_0x4f1750,'ranges':_0x2a89a8},_0x5d99d3=this[_0x27b234(0x1b0)];_0x5d99d3[_0x27b234(0x247)](_0x3b6fdc,_0x2f1b03),this['_cursorInfo$'][_0x27b234(0x24a)](_0x5d99d3);}[_0x64a570(0x2da)](_0x39d30a){const _0x552122=_0x64a570,{memberID:_0x2cf900}=_0x39d30a[_0x552122(0x2f9)],_0x387ae7=this['cursorInfo'];_0x387ae7[_0x552122(0x20a)](_0x2cf900),this[_0x552122(0x2df)][_0x552122(0x24a)](_0x387ae7);}[_0x64a570(0x2e7)](){const _0x457f82=_0x64a570;var _0x57597b;if(this['_online']=!0x0,((_0x57597b=this[_0x457f82(0x191)]['getFocusedUnit']())==null?void 0x0:_0x57597b['getUnitId']())!==this['unitID'])return;const _0x8b6d97=this[_0x457f82(0x24c)][_0x457f82(0x2c8)](_0x346665)[_0x457f82(0x16c)]();Array[_0x457f82(0x243)](_0x8b6d97)&&_0x8b6d97[_0x457f82(0x167)]>0x0&&this[_0x457f82(0x2f2)](_0x8b6d97);}['_toggleOffline'](){const _0x182bcb=_0x64a570;this[_0x182bcb(0x246)]=!0x1;}};Ue=ui([w(0x2,_0x31e7fe(_0x533dcb)),w(0x3,_0x31e7fe(ke)),w(0x4,_0x31e7fe(_0x17cc58)),w(0x5,_0x31e7fe(He)),w(0x6,_0x1c906c),w(0x7,_0x58d7bd),w(0x8,_0x120bf5)],Ue);var Si=Object[_0x64a570(0x1d7)],mi=(_0x3adb6c,_0xa8dde,_0x463291,_0x7a0b95)=>{const _0x40604e=_0x64a570;for(var _0x4752f6=_0x7a0b95>0x1?void 0x0:_0x7a0b95?Si(_0xa8dde,_0x463291):_0xa8dde,_0x539776=_0x3adb6c[_0x40604e(0x167)]-0x1,_0x1b26a6;_0x539776>=0x0;_0x539776--)(_0x1b26a6=_0x3adb6c[_0x539776])&&(_0x4752f6=_0x1b26a6(_0x4752f6)||_0x4752f6);return _0x4752f6;},x=(_0x781574,_0x1788c7)=>(_0x1c4db8,_0x11a0c4)=>_0x1788c7(_0x1c4db8,_0x11a0c4,_0x781574);const gi=0x12c,vi=0x64,Ii=()=>{let _0x1e7604=[],_0x204a5c=!0x1;return _0x5d3ead=>{const _0x4ec5bf=_0x484b;_0x1e7604[_0x4ec5bf(0x19e)](_0x5d3ead),_0x204a5c||(_0x204a5c=!0x0,setTimeout(()=>{const _0x264755=_0x4ec5bf;_0x1e7604[_0x264755(0x2c4)](_0x120d6b=>_0x120d6b()),_0x1e7604=[],_0x204a5c=!0x1;}));};};let Me=class extends _0x1f868b{constructor(_0x571690,_0x123891,_0x1f31cd,_0x534a07,_0x279f14,_0x246131,_0x5406cb,_0x1509c4){const _0x9fb769=_0x64a570;super(),_(this,_0x9fb769(0x246),!0x1),_(this,_0x9fb769(0x275),!0x1),_(this,_0x9fb769(0x2df),new _0x2241b1(new Map())),_(this,'cursorInfo$',this[_0x9fb769(0x2df)][_0x9fb769(0x319)]()),_(this,_0x9fb769(0x328),new _0x2241b1([])),_(this,_0x9fb769(0x2b8),this['_roomMembers$'][_0x9fb769(0x1b9)](_0x3ec696(gi))),_(this,_0x9fb769(0x2f2),_0x737ff2((_0x342981,_0x250ed1)=>{const _0xa013e=_0x9fb769,_0x9a2643={'eventID':_0x522e2d['UPDATE_CURSOR'],'data':{'unitID':this[_0xa013e(0x18e)],'memberID':this['_session'][_0xa013e(0x19b)](),'selection':_0x15eada(_0x342981,_0x250ed1['range'])}};this['_session']['send'](_0x9a2643,this[_0xa013e(0x18e)]);},vi)),(this[_0x9fb769(0x18e)]=_0x571690,this[_0x9fb769(0x295)]=_0x123891,this[_0x9fb769(0x24c)]=_0x1f31cd,this[_0x9fb769(0x24f)]=_0x534a07,this[_0x9fb769(0x202)]=_0x279f14,this[_0x9fb769(0x191)]=_0x246131,this['_commandService']=_0x5406cb,this[_0x9fb769(0x263)]=_0x1509c4);}get[_0x64a570(0x1b0)](){const _0x57eeb2=_0x64a570;return this[_0x57eeb2(0x2df)]['getValue']();}get[_0x64a570(0x31b)](){const _0x593bd5=_0x64a570;return this[_0x593bd5(0x328)]['getValue']();}[_0x64a570(0x2f7)](){const _0x535782=_0x64a570;super[_0x535782(0x2f7)](),this[_0x535782(0x2df)]['next'](new Map()),this['_cursorInfo$'][_0x535782(0x14b)](),this[_0x535782(0x328)][_0x535782(0x24a)]([]),this[_0x535782(0x328)][_0x535782(0x14b)]();}[_0x64a570(0x1f3)](){const _0x1a7290=_0x64a570;this[_0x1a7290(0x275)]||(this[_0x1a7290(0x275)]=!0x0,this[_0x1a7290(0x295)][_0x1a7290(0x154)][_0x1a7290(0x1b9)](_0x2bd97e(this['dispose$']))[_0x1a7290(0x13f)](_0x3e3265=>{const _0x582a94=_0x1a7290;_0x3e3265===_0x35a6db['ONLINE']?this[_0x582a94(0x2e7)]():this[_0x582a94(0x139)]();}),this['_session'][_0x1a7290(0x250)][_0x1a7290(0x1b9)](_0x2bd97e(this[_0x1a7290(0x2b5)]))[_0x1a7290(0x13f)](_0x23abe4=>{const _0x4dbba8=_0x1a7290,_0x284cc4=_0x23abe4[_0x4dbba8(0x306)];_0x284cc4===_0x522e2d[_0x4dbba8(0x150)]&&this[_0x4dbba8(0x170)](_0x23abe4),_0x284cc4===_0x522e2d[_0x4dbba8(0x1d8)]&&this['_onCursorDelete'](_0x23abe4);}),this[_0x1a7290(0x338)](),this[_0x1a7290(0x199)](this[_0x1a7290(0x175)][_0x1a7290(0x32f)](_0x276b2e=>{const _0x5323fe=_0x1a7290;if(this[_0x5323fe(0x246)]&&_0x276b2e['id']===_0x11837b['id']&&_0x276b2e['params'][_0x5323fe(0x2c9)]===this[_0x5323fe(0x18e)]){const _0x4cc47d=_0x276b2e['params'];this[_0x5323fe(0x2f2)](_0x4cc47d['subUnitId'],_0x4cc47d[_0x5323fe(0x186)][0x0]);}})));}[_0x64a570(0x170)](_0xd3c750){const _0x36b978=_0x64a570;var _0x23feed,_0x1e7d76;const {memberID:_0x15fc46,selection:_0x5c63f4}=_0xd3c750['data'],{sheetName:_0x3e3cc9,range:_0x1cd955}=_0x732b6c(_0x5c63f4),_0x2868ea={'name':(_0x1e7d76=(_0x23feed=this['_memberService'][_0x36b978(0x249)](this[_0x36b978(0x18e)],_0x15fc46))==null?void 0x0:_0x23feed[_0x36b978(0x258)])!=null?_0x1e7d76:_0x36b978(0x1c7),'range':this[_0x36b978(0x1f9)](_0x3e3cc9,_0x1cd955),'sheetID':_0x3e3cc9,'color':this[_0x36b978(0x24f)][_0x36b978(0x1a5)](_0x15fc46),'selection':_0x5c63f4},_0x1beb21=this[_0x36b978(0x1b0)];_0x1beb21[_0x36b978(0x247)](_0x15fc46,_0x2868ea),this[_0x36b978(0x2df)][_0x36b978(0x24a)](_0x1beb21);}[_0x64a570(0x2da)](_0x38ffd3){const _0x257089=_0x64a570,{memberID:_0x109712}=_0x38ffd3[_0x257089(0x2f9)],_0x4100f8=this[_0x257089(0x1b0)];_0x4100f8[_0x257089(0x20a)](_0x109712),this['_cursorInfo$'][_0x257089(0x24a)](_0x4100f8);}[_0x64a570(0x1f9)](_0x58a502,_0x1a0a8b){const _0x4e53fa=_0x64a570;var _0x4678a4,_0x4e973f;const _0x980c1=(_0x4e973f=(_0x4678a4=this[_0x4e53fa(0x191)]['getUniverSheetInstance'](this[_0x4e53fa(0x18e)]))==null?void 0x0:_0x4678a4[_0x4e53fa(0x269)](_0x58a502))==null?void 0x0:_0x4e973f[_0x4e53fa(0x157)]();return(_0x980c1==null?void 0x0:_0x980c1['find'](_0x481360=>_0x77a989[_0x4e53fa(0x149)](_0x481360,_0x1a0a8b)))||_0x1a0a8b;}[_0x64a570(0x338)](){const _0x3f4ad6=_0x64a570,_0x17f11b=new _0x366c5c(),_0x250d48=Ii(),_0x53677d=()=>{const _0x478bd7=_0x484b;_0x17f11b[_0x478bd7(0x2f7)]();const _0x2573b3=(_0x4e81fc,_0x41a7b8,_0x2db767,_0x480fc2)=>{const _0x2df70=_0x478bd7;let _0x20d578=[];switch(_0x4e81fc['id']){case _0xe850d8['DeleteRangeMoveLeftCommandId']:{_0x20d578=_0x22faed(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x298)]:{_0x20d578=_0x1c50f0(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x266)]:{_0x20d578=_0x4d788b(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x33f)]:{_0x20d578=_0x52a835(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x1a4)]:{_0x20d578=_0x329385(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x1e0)]:{_0x20d578=_0x4c979c(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x160)]:{_0x20d578=_0x2bf85f(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x13e)]:{_0x20d578=_0x279aec(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x257)]:{_0x20d578=_0x4bfeae(_0x4e81fc,_0x480fc2);break;}}const _0x2f87c5=_0x69f53a(_0x20d578,_0x480fc2),_0x5e582c=this['cursorInfo']['get'](_0x41a7b8);if(_0x5e582c&&_0x2f87c5){const _0x509573={..._0x5e582c,'range':_0x2f87c5};this[_0x2df70(0x1b0)][_0x2df70(0x247)](_0x41a7b8,_0x509573),_0x250d48(()=>{const _0xd2cf94=_0x2df70,_0x5972bb=this[_0xd2cf94(0x263)][_0xd2cf94(0x1d3)](_0x2f87c5,_0x25a48a=>(_0x5972bb[_0xd2cf94(0x2f7)](),_0x2573b3(_0x25a48a,_0x41a7b8,_0x2db767,_0x2f87c5)));_0x17f11b[_0xd2cf94(0x2b4)](_0x5972bb);});}return{'redos':[],'undos':[]};};this[_0x478bd7(0x1b0)][_0x478bd7(0x2c4)]((_0x52da91,_0x3d1b03)=>{const _0x4dfc71=_0x478bd7,{range:_0xbaae2c,sheetID:_0x5175b9}=_0x52da91,_0x58294b=this[_0x4dfc71(0x263)][_0x4dfc71(0x1d3)](_0xbaae2c,_0x277204=>(_0x58294b[_0x4dfc71(0x2f7)](),_0x2573b3(_0x277204,_0x3d1b03,_0x5175b9,_0xbaae2c)));_0x17f11b['add'](_0x58294b);});};this[_0x3f4ad6(0x199)](_0x3e0dad(this[_0x3f4ad6(0x2df)][_0x3f4ad6(0x13f)](()=>{_0x53677d();})));}['_toggleOnline'](){const _0x14c3e2=_0x64a570;var _0x6d918b,_0x31f077;if(this[_0x14c3e2(0x246)]=!0x0,((_0x6d918b=this[_0x14c3e2(0x191)][_0x14c3e2(0x216)]())==null?void 0x0:_0x6d918b[_0x14c3e2(0x2b1)]())!==this['unitID'])return;const _0x8bafc1=(_0x31f077=this[_0x14c3e2(0x24c)][_0x14c3e2(0x2c8)](_0x110be5)[_0x14c3e2(0x231)]())==null?void 0x0:_0x31f077[0x0],_0x280fe7=this[_0x14c3e2(0x191)][_0x14c3e2(0x280)](_0x20393a[_0x14c3e2(0x1c3)])[_0x14c3e2(0x30d)]();_0x8bafc1&&_0x280fe7&&this[_0x14c3e2(0x2f2)](_0x280fe7['getSheetId'](),_0x8bafc1);}[_0x64a570(0x139)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x31e7fe(_0x533dcb)),x(0x3,_0x31e7fe(ke)),x(0x4,_0x31e7fe(_0x17cc58)),x(0x5,_0x58d7bd),x(0x6,_0x120bf5),x(0x7,_0x31e7fe(_0x2ad94f))],Me);var pi=Object[_0x64a570(0x1d7)],Ci=(_0x21a106,_0x47224a,_0x2678e7,_0x530867)=>{const _0x109221=_0x64a570;for(var _0x172f66=_0x530867>0x1?void 0x0:_0x530867?pi(_0x47224a,_0x2678e7):_0x47224a,_0x3be0d6=_0x21a106[_0x109221(0x167)]-0x1,_0x4782af;_0x3be0d6>=0x0;_0x3be0d6--)(_0x4782af=_0x21a106[_0x3be0d6])&&(_0x172f66=_0x4782af(_0x172f66)||_0x172f66);return _0x172f66;},Se=(_0x59a176,_0x290fb6)=>(_0x397299,_0x56fe6b)=>_0x290fb6(_0x397299,_0x56fe6b,_0x59a176);let H=class extends _0x1f868b{constructor(_0x3dd335,_0x27a6b8,_0x7327b6){const _0x36012d=_0x64a570;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x41f611()),(this[_0x36012d(0x191)]=_0x3dd335,this[_0x36012d(0x24c)]=_0x27a6b8,this[_0x36012d(0x17a)]=_0x7327b6,this[_0x36012d(0x275)]());}[_0x64a570(0x2f7)](){const _0x1aab5d=_0x64a570;super[_0x1aab5d(0x2f7)](),this['_entityInit$'][_0x1aab5d(0x14b)](),this[_0x1aab5d(0x2dc)][_0x1aab5d(0x2c4)](_0x12fd2f=>_0x12fd2f['dispose']());}[_0x64a570(0x184)](_0x5ccba2){const _0x26b413=_0x64a570;return this[_0x26b413(0x2dc)][_0x26b413(0x209)](_0x5ccba2)?this[_0x26b413(0x2dc)]['get'](_0x5ccba2)[_0x26b413(0x2b3)]:this['_entityInit$']['pipe'](_0x568b90(_0x5dc004=>_0x5dc004[_0x26b413(0x18e)]===_0x5ccba2),_0x49b8bc(_0x2c5e5d=>_0x2c5e5d['cursorInfo$']));}['_init'](){const _0x735f3a=_0x64a570;this[_0x735f3a(0x191)][_0x735f3a(0x227)](_0x20393a[_0x735f3a(0x1c3)])[_0x735f3a(0x1b9)](_0x2bd97e(this[_0x735f3a(0x2b5)]))[_0x735f3a(0x13f)](async _0x46ebc5=>{const _0x1d410e=_0x735f3a,_0x42a8d3=_0x46ebc5[_0x1d410e(0x2b1)](),_0x2f5dd0=await this[_0x1d410e(0x33a)](_0x42a8d3);this['_entityInit$'][_0x1d410e(0x24a)](_0x2f5dd0),this[_0x1d410e(0x2dc)]['set'](_0x42a8d3,_0x2f5dd0);}),this[_0x735f3a(0x191)]['getTypeOfUnitAdded$'](_0x20393a[_0x735f3a(0x219)])['pipe'](_0x2bd97e(this['dispose$']))[_0x735f3a(0x1b9)](_0x568b90(_0x21d61a=>!_0x21d61a[_0x735f3a(0x2b1)]()[_0x735f3a(0x240)]('__')))['subscribe'](async _0x197ab9=>{const _0x418998=_0x735f3a,_0x41e951=_0x197ab9[_0x418998(0x2b1)](),_0x1668a8=await this[_0x418998(0x1fc)](_0x41e951);this[_0x418998(0x25a)]['next'](_0x1668a8),this['_entities'][_0x418998(0x247)](_0x41e951,_0x1668a8);}),_0x4e53d3(this[_0x735f3a(0x191)][_0x735f3a(0x215)](_0x20393a[_0x735f3a(0x219)]),this[_0x735f3a(0x191)][_0x735f3a(0x215)](_0x20393a[_0x735f3a(0x1c3)]))[_0x735f3a(0x1b9)](_0x2bd97e(this[_0x735f3a(0x2b5)]))[_0x735f3a(0x13f)](_0x2a2fd4=>{const _0x4a39ab=_0x735f3a,_0x215833=_0x2a2fd4[_0x4a39ab(0x2b1)](),_0x3ef7a1=this['_entities'][_0x4a39ab(0x2c8)](_0x215833);_0x3ef7a1&&(_0x3ef7a1['dispose'](),this[_0x4a39ab(0x2dc)]['delete'](_0x215833));});}async['_startSheetCollabCursor'](_0x4adc20){const _0x43c5a0=_0x64a570,_0x336270=await this['_collabSessionService']['requireSession'](_0x4adc20),_0x3f0a13=this[_0x43c5a0(0x24c)][_0x43c5a0(0x248)](Me,_0x4adc20,_0x336270);return _0x3f0a13[_0x43c5a0(0x1f3)](),_0x3f0a13;}async['_startDocCollabCursor'](_0x2d2d5e){const _0x1d79c4=_0x64a570,_0x56ca56=await this[_0x1d79c4(0x17a)][_0x1d79c4(0x176)](_0x2d2d5e),_0x552729=this[_0x1d79c4(0x24c)][_0x1d79c4(0x248)](Ue,_0x2d2d5e,_0x56ca56);return _0x552729[_0x1d79c4(0x1f3)](),_0x552729;}};H=Ci([Se(0x0,_0x58d7bd),Se(0x1,_0x31e7fe(_0x533dcb)),Se(0x2,_0x31e7fe(_0x26288a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x3f1705,_0x1ecfc5){const _0x123dd1=_0x64a570;let {radius:_0xfd8927,width:_0x516b66,height:_0x5bfbab}=_0x1ecfc5;_0xfd8927=_0xfd8927!=null?_0xfd8927:0x0,_0x516b66=_0x516b66!=null?_0x516b66:0x1e,_0x5bfbab=_0x5bfbab!=null?_0x5bfbab:0x1e;let _0x358604=0x0,_0x319c7c=0x0,_0x20346f=0x0;_0x358604=_0x319c7c=_0x20346f=Math['min'](_0xfd8927,_0x516b66/0x2,_0x5bfbab/0x2),_0x3f1705[_0x123dd1(0x229)](),_0x3f1705[_0x123dd1(0x26f)](_0x358604,0x0),_0x3f1705[_0x123dd1(0x1c5)](_0x516b66-_0x319c7c,0x0),_0x3f1705[_0x123dd1(0x1dd)](_0x516b66-_0x319c7c,_0x319c7c,_0x319c7c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f1705[_0x123dd1(0x1c5)](_0x516b66,_0x5bfbab-_0x20346f),_0x3f1705[_0x123dd1(0x1dd)](_0x516b66-_0x20346f,_0x5bfbab-_0x20346f,_0x20346f,0x0,Math['PI']/0x2,!0x1),_0x3f1705[_0x123dd1(0x1c5)](0x0,_0x5bfbab),_0x3f1705['lineTo'](0x0,_0x358604),_0x3f1705[_0x123dd1(0x1dd)](_0x358604,_0x358604,_0x358604,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f1705[_0x123dd1(0x203)](),_0x1ecfc5[_0x123dd1(0x329)]&&(_0x3f1705[_0x123dd1(0x1bf)](),_0x3f1705['fillStyle']=_0x1ecfc5[_0x123dd1(0x329)],_0x1ecfc5['fillRule']===_0x123dd1(0x1da)?_0x3f1705[_0x123dd1(0x329)]('evenodd'):_0x3f1705[_0x123dd1(0x329)](),_0x3f1705[_0x123dd1(0x256)]());}class he extends _0x3b7977{constructor(_0x31811c,_0x29f8a7){const _0x5f3237=_0x64a570;super(_0x31811c,_0x29f8a7),_(this,_0x5f3237(0x292)),_(this,'text'),(this[_0x5f3237(0x292)]=_0x29f8a7==null?void 0x0:_0x29f8a7[_0x5f3237(0x292)],this[_0x5f3237(0x1de)]=_0x29f8a7==null?void 0x0:_0x29f8a7[_0x5f3237(0x1de)]);}static[_0x64a570(0x308)](_0x45bb60,_0x40ecf0){const _0x1085c6=_0x64a570,{text:_0x89faa2,color:_0x1709cd}=_0x40ecf0;_0x45bb60[_0x1085c6(0x1bf)](),_0x45bb60[_0x1085c6(0x279)]=_0x1085c6(0x272);const _0x489ae6=_0x45bb60[_0x1085c6(0x301)](_0x89faa2)[_0x1085c6(0x32c)],_0x326dc2=Math[_0x1085c6(0x2d4)](_0x489ae6+0x2*me,Qe);bi(_0x45bb60,{'height':ee,'radius':0x4,'width':_0x326dc2,'fill':_0x1709cd}),_0x45bb60[_0x1085c6(0x145)]=_0x1085c6(0x2ff);const _0xc1bd45=me,_0x47ce05=ee-Ei,_0x20d3ac=Qe-0x2*me;if(_0x489ae6>_0x20d3ac){let _0x691b24='',_0xb5bf08=0x0;for(const _0x283e43 of _0x89faa2){const _0x3045f6=_0x45bb60['measureText'](_0x283e43)[_0x1085c6(0x32c)];if(_0xb5bf08+_0x3045f6<=_0x20d3ac-_0x45bb60[_0x1085c6(0x301)](_0x1085c6(0x323))[_0x1085c6(0x32c)])_0x691b24+=_0x283e43,_0xb5bf08+=_0x3045f6;else{_0x691b24+=_0x1085c6(0x323);break;}}_0x45bb60[_0x1085c6(0x136)](_0x691b24,_0xc1bd45,_0x47ce05);}else _0x45bb60['fillText'](_0x89faa2,_0xc1bd45,_0x47ce05);_0x45bb60[_0x1085c6(0x256)]();}[_0x64a570(0x307)](_0x3ab02){he['drawWith'](_0x3ab02,this);}}const ge=_0x64a570(0x2f8),Oi=_0x64a570(0x210),Ti=_0x64a570(0x1e6),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x64a570(0x23a);class qe{constructor(_0x493884,_0xa20537,_0x4662a2,_0x3f6de2){const _0x2a7ad7=_0x64a570;_(this,_0x2a7ad7(0x2a8),[]),_(this,_0x2a7ad7(0x22b),null),_(this,_0x2a7ad7(0x326),null),_(this,_0x2a7ad7(0x288),null),_(this,_0x2a7ad7(0x1af),null),_(this,_0x2a7ad7(0x17d),null),(this[_0x2a7ad7(0x1a6)]=_0x493884,this['_scene']=_0xa20537,this[_0x2a7ad7(0x276)]=_0x4662a2,this[_0x2a7ad7(0x26b)]=_0x3f6de2,this[_0x2a7ad7(0x2f6)]());}set[_0x64a570(0x33e)](_0x127132){const _0x3b295c=_0x64a570;_0x127132?(this['_anchorDot']&&this['_anchorDot'][_0x3b295c(0x25c)](),this[_0x3b295c(0x326)]&&this[_0x3b295c(0x326)]['show']()):(this['_anchorDot']&&this[_0x3b295c(0x288)][_0x3b295c(0x20e)](),this[_0x3b295c(0x326)]&&this['_textBubble'][_0x3b295c(0x25c)]());}[_0x64a570(0x2f7)](){const _0x29e3a5=_0x64a570;for(const _0x18e9fe of this['_shapes'])_0x18e9fe['dispose']();this[_0x29e3a5(0x326)]&&this['_textBubble'][_0x29e3a5(0x2f7)](),this[_0x29e3a5(0x288)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x29e3a5(0x22b)]['dispose'](),this[_0x29e3a5(0x17d)]&&this[_0x29e3a5(0x17d)]();}[_0x64a570(0x2f6)](){const _0x4f15d5=_0x64a570;var _0x43d02b;const {_docSkeleton:_0x3de080,_document:_0x123de3}=this,{color:_0x28973d,name:_0x9c528c,ranges:_0x3a23df}=this[_0x4f15d5(0x1a6)],_0x447d2d=_0x123de3['getOffsetConfig'](),{docsLeft:_0x2b1a26,docsTop:_0x546786}=_0x447d2d,_0x459c48=new _0x382084(_0x447d2d,_0x3de080);for(const {startOffset:_0x59a0f0,endOffset:_0x5de610,rangeType:_0x3fcc2b,segmentId:_0x5a6467,segmentPage:_0x2ed198,collapsed:_0x57e15f,isActive:_0x38cbd2}of _0x3a23df){const _0xeed358=_0x3de080[_0x4f15d5(0x138)](_0x59a0f0,!0x0,_0x5a6467,_0x2ed198);let _0xb2d9ca=_0x3de080[_0x4f15d5(0x138)](_0x5de610,!0x0,_0x5a6467,_0x2ed198);if(_0xb2d9ca==null&&(_0xb2d9ca=_0x3de080[_0x4f15d5(0x138)](_0x5de610-0x1,!0x1,_0x5a6467,_0x2ed198)),_0x38cbd2){const {contentBoxPointGroup:_0x1ec252}=_0x459c48[_0x4f15d5(0x278)](_0xb2d9ca,_0xb2d9ca);if(_0x1ec252[_0x4f15d5(0x167)]===0x0)continue;this[_0x4f15d5(0x1f6)](_0x28973d,_0x1ec252,_0x2b1a26,_0x546786,_0x9c528c),this[_0x4f15d5(0x17d)]=this['_handleHover']();}if(_0xeed358&&_0xb2d9ca){if(_0x3fcc2b===_0x32d4e6[_0x4f15d5(0x220)]){const _0x3a9af0=new _0x1dab74(_0x447d2d,_0x3de080),{pointGroup:_0x583129}=(_0x43d02b=_0x3a9af0[_0x4f15d5(0x278)](_0xeed358,_0xb2d9ca))!=null?_0x43d02b:{};if(_0x583129==null||_0x583129[_0x4f15d5(0x167)]===0x0)continue;this[_0x4f15d5(0x331)](_0x28973d,_0x583129,_0x2b1a26,_0x546786);}else{if(!_0x57e15f){const {borderBoxPointGroup:_0x2b0719}=_0x459c48[_0x4f15d5(0x278)](_0xeed358,_0xb2d9ca);if(_0x2b0719[_0x4f15d5(0x167)]===0x0)continue;this['_drawTextRange'](_0x28973d,_0x2b0719,_0x2b1a26,_0x546786);}}}}}[_0x64a570(0x1f6)](_0x553eed,_0x10a0a7,_0x1cae59,_0x1d42cb,_0x30eaf0){const _0x36dbaf=_0x64a570,_0x14abe6=this[_0x36dbaf(0x314)](_0x10a0a7),{left:_0x33112a,top:_0x2c43ec,height:_0x3101f6}=_0x14abe6,_0x3bb161=this[_0x36dbaf(0x2d7)](),_0x4f6bfa=Di/_0x3bb161,_0x27adc7=new _0x5e2a0b(ge+_0x237755['generateRandomId'](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb,'height':_0x3101f6,'width':Ri,'fill':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'strokeWidth':_0x4f6bfa,'stroke':Ni,'evented':!0x0});this[_0x36dbaf(0x22b)]=_0x27adc7,this[_0x36dbaf(0x28e)][_0x36dbaf(0x304)](_0x27adc7,_0x1d2481);const _0x4a3ea5=new _0x5e2a0b(ge+_0x237755[_0x36dbaf(0x2d1)](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb-ve/0x2,'height':ve,'width':ve,'fill':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'strokeWidth':0x0,'stroke':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'evented':!0x1});this[_0x36dbaf(0x288)]=_0x4a3ea5,this[_0x36dbaf(0x28e)]['addObject'](_0x4a3ea5,_0x1d2481);const _0x27b4bb=new he(ge+_0x237755[_0x36dbaf(0x2d1)](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb-ee,'text':_0x30eaf0,'color':_0x553eed});this[_0x36dbaf(0x326)]=_0x27b4bb,this['_scene'][_0x36dbaf(0x304)](_0x27b4bb,_0x1d2481),this[_0x36dbaf(0x33e)]=!0x1;}[_0x64a570(0x169)](){const _0x29faed=_0x64a570,_0x6050ac=this[_0x29faed(0x22b)][_0x29faed(0x163)]['subscribeEvent'](()=>{const _0x5cd702=_0x29faed;this[_0x5cd702(0x33e)]=!0x0;}),_0x20dee6=this[_0x29faed(0x22b)][_0x29faed(0x318)][_0x29faed(0x251)](()=>{const _0x489d56=_0x29faed;this[_0x489d56(0x1af)]&&clearTimeout(this[_0x489d56(0x1af)]),this[_0x489d56(0x1af)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5df982=_0x29faed;_0x6050ac[_0x5df982(0x29e)](),_0x20dee6[_0x5df982(0x29e)]();};}[_0x64a570(0x1ee)](_0x372176,_0x1bb948,_0x2486d2,_0x512654){const _0x56923f=_0x64a570,_0x44bb80=new _0x15fe72(_0x372176)[_0x56923f(0x18c)](0.2)[_0x56923f(0x1e4)](),_0x22f20a=new _0x5826cc(Oi+_0x237755[_0x56923f(0x2d1)](X),{'pointsGroup':_0x1bb948,'fill':_0x44bb80||_0x15d7dd(_0x2982c6[_0x56923f(0x1cc)],0.2),'left':_0x2486d2,'top':_0x512654,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56923f(0x2a8)][_0x56923f(0x19e)](_0x22f20a),this[_0x56923f(0x28e)]['addObject'](_0x22f20a,_0x1d2481);}[_0x64a570(0x331)](_0x47cbed,_0xce72c3,_0x3610de,_0x1e0368){const _0x48467d=_0x64a570,_0x6d47fc=new _0x15fe72(_0x47cbed)[_0x48467d(0x18c)](0.2)['toRgbString'](),_0x52f562=new _0x5826cc(Ti+_0x237755['generateRandomId'](X),{'pointsGroup':_0xce72c3,'fill':_0x6d47fc||_0x15d7dd(_0x2982c6[_0x48467d(0x1cc)],0.2),'left':_0x3610de,'top':_0x1e0368,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x48467d(0x19e)](_0x52f562),this[_0x48467d(0x28e)][_0x48467d(0x304)](_0x52f562,_0x1d2481);}[_0x64a570(0x314)](_0x722338){const _0x4b80e4=_0x722338[0x0],_0x1734a9=_0x4b80e4[0x0],_0x1612c6=_0x4b80e4[0x2],{x:_0x200e6d,y:_0x1270d0}=_0x1734a9,{x:_0x1f1c9a,y:_0x45d7f7}=_0x1612c6;return{'left':_0x200e6d,'top':_0x1270d0,'width':_0x1f1c9a-_0x200e6d,'height':_0x45d7f7-_0x1270d0};}[_0x64a570(0x2d7)](){const _0x1bc11d=_0x64a570,{scaleX:_0x2a27f8,scaleY:_0x22a534}=this[_0x1bc11d(0x28e)]['getAncestorScale']();return Math['max'](_0x2a27f8,_0x22a534);}}var Ui=Object[_0x64a570(0x1d7)],Mi=(_0x496a74,_0x3270ca,_0x218b3a,_0xc3915a)=>{const _0xc6a36=_0x64a570;for(var _0x190c9a=_0xc3915a>0x1?void 0x0:_0xc3915a?Ui(_0x3270ca,_0x218b3a):_0x3270ca,_0x3529b4=_0x496a74[_0xc6a36(0x167)]-0x1,_0x1bd453;_0x3529b4>=0x0;_0x3529b4--)(_0x1bd453=_0x496a74[_0x3529b4])&&(_0x190c9a=_0x1bd453(_0x190c9a)||_0x190c9a);return _0x190c9a;},Z=(_0x287acd,_0x541ac8)=>(_0x92b25,_0x3d7eda)=>_0x541ac8(_0x92b25,_0x3d7eda,_0x287acd);let Pe=class extends _0x1f868b{constructor(_0x56b0f8,_0x3e9c4d,_0x5bf839,_0x2b46d6,_0x262198){const _0x413b4e=_0x64a570;super(),_(this,_0x413b4e(0x242),[]),_(this,_0x413b4e(0x31d),[]),(this[_0x413b4e(0x222)]=_0x56b0f8,this[_0x413b4e(0x19c)]=_0x3e9c4d,this[_0x413b4e(0x28f)]=_0x5bf839,this[_0x413b4e(0x175)]=_0x2b46d6,this['_themeService']=_0x262198,this['_init']());}['_init'](){const _0x5310f2=_0x64a570,_0x3a6153=this[_0x5310f2(0x222)]['unitId'],_0x3b53a9=this[_0x5310f2(0x19c)];this[_0x5310f2(0x199)](_0xc0178f([this[_0x5310f2(0x28f)][_0x5310f2(0x184)](_0x3a6153),this[_0x5310f2(0x1c9)][_0x5310f2(0x1e5)]])['pipe'](_0x18039b(([_0x438f24,_0x1c077f])=>({'skeleton':_0x3b53a9[_0x5310f2(0x1c8)](),'cursors':[..._0x438f24[_0x5310f2(0x2bb)]()][_0x5310f2(0x22f)](_0x3df1e7=>({..._0x3df1e7,'color':_0x1c077f[_0x3df1e7[_0x5310f2(0x292)]]}))})))[_0x5310f2(0x13f)](_0x7d3a78=>{const _0x53c3bc=_0x5310f2;if(this[_0x53c3bc(0x158)](),_0x7d3a78){const {skeleton:_0x1b8348,cursors:_0x585059}=_0x7d3a78;this[_0x53c3bc(0x1c4)](_0x1b8348,_0x585059);}})),this[_0x5310f2(0x286)](),this[_0x5310f2(0x1e9)]();}['_updateCollabCursors'](_0x1c2243,_0x1194de){const _0x45f7cc=_0x64a570,{scene:_0x17a44b,mainComponent:_0x49b7c8}=this[_0x45f7cc(0x222)],_0x4d1dfe=_0x1194de['map'](_0x2bfe9b=>new qe(_0x2bfe9b,_0x17a44b,_0x1c2243,_0x49b7c8));this[_0x45f7cc(0x242)]=_0x4d1dfe,this[_0x45f7cc(0x31d)]=_0x1194de;}['_refreshCollabCursors'](){const _0x37da91=_0x64a570;this[_0x37da91(0x158)]();const {scene:_0x191f28,mainComponent:_0x54cd57}=this[_0x37da91(0x222)],_0x1fe9af=this[_0x37da91(0x19c)][_0x37da91(0x1c8)](),_0x584a6c=this[_0x37da91(0x31d)][_0x37da91(0x17c)](_0x41f749=>new qe(_0x41f749,_0x191f28,_0x1fe9af,_0x54cd57));this[_0x37da91(0x242)]=_0x584a6c;}[_0x64a570(0x158)](){const _0x148b40=_0x64a570;this[_0x148b40(0x242)]['forEach'](_0xe52b1a=>_0xe52b1a[_0x148b40(0x2f7)]()),this[_0x148b40(0x242)]=[];}['_initCommandExecutedListener'](){const _0x4ee8f4=_0x64a570,_0x555f13=[_0x537073['id']];this[_0x4ee8f4(0x199)](this[_0x4ee8f4(0x175)]['onCommandExecuted'](_0x23797b=>{const _0x10dfd0=_0x4ee8f4;_0x555f13[_0x10dfd0(0x315)](_0x23797b['id'])&&_0x23797b[_0x10dfd0(0x15c)][_0x10dfd0(0x2c9)]===this[_0x10dfd0(0x222)][_0x10dfd0(0x2c9)]&&this[_0x10dfd0(0x2b2)]();}));}['_initResize'](){const _0x83c867=_0x64a570;this['disposeWithMe'](_0x3273b8(this[_0x83c867(0x222)]['engine'][_0x83c867(0x208)])[_0x83c867(0x1b9)](_0xb24071(_0x444825=>_0x444825[_0x83c867(0x2ba)]===_0x2858bb[_0x83c867(0x221)]),_0x4d4b9e(0x10))[_0x83c867(0x13f)](()=>{const _0x3955be=_0x83c867;this[_0x3955be(0x2b2)]();}));}};Pe=Mi([Z(0x1,_0x31e7fe(_0x261d99)),Z(0x2,_0x31e7fe(H)),Z(0x3,_0x120bf5),Z(0x4,_0x31e7fe(_0x21db4a))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x3b7977{constructor(_0x7fc8fd,_0x19119a){const _0x5beaf4=_0x64a570;super(_0x7fc8fd,_0x19119a),_(this,_0x5beaf4(0x223)),_(this,_0x5beaf4(0x25b),!0x1),_(this,_0x5beaf4(0x197)),_(this,_0x5beaf4(0x21c),''),_(this,_0x5beaf4(0x1cd),_0x5beaf4(0x2f4)),_(this,_0x5beaf4(0x294)),(_0x19119a&&this[_0x5beaf4(0x147)](_0x19119a),this[_0x5beaf4(0x163)][_0x5beaf4(0x251)](()=>this[_0x5beaf4(0x147)]({'hovered':!0x0})),this[_0x5beaf4(0x318)][_0x5beaf4(0x251)](()=>this[_0x5beaf4(0x147)]({'hovered':!0x1})));}['setShapeProps'](_0x44ecc6){const _0x50f876=_0x64a570;var _0x2c7c47,_0x3e9074,_0x2d85ff,_0x475344,_0x300c29,_0x15795f;this[_0x50f876(0x223)]=(_0x2c7c47=_0x44ecc6[_0x50f876(0x292)])!=null?_0x2c7c47:this[_0x50f876(0x223)],this[_0x50f876(0x25b)]=(_0x3e9074=_0x44ecc6['hovered'])!=null?_0x3e9074:this[_0x50f876(0x25b)],this[_0x50f876(0x197)]=(_0x2d85ff=_0x44ecc6[_0x50f876(0x26e)])!=null?_0x2d85ff:this[_0x50f876(0x197)],this[_0x50f876(0x21c)]=(_0x475344=_0x44ecc6[_0x50f876(0x258)])!=null?_0x475344:this[_0x50f876(0x21c)],this[_0x50f876(0x1cd)]=(_0x300c29=_0x44ecc6[_0x50f876(0x1b6)])!=null?_0x300c29:this['_labelPosition'],this[_0x50f876(0x294)]=(_0x15795f=_0x44ecc6[_0x50f876(0x2e0)])!=null?_0x15795f:this['_backgroundColor'],this[_0x50f876(0x2b0)]({'width':_0x44ecc6[_0x50f876(0x32c)],'height':_0x44ecc6[_0x50f876(0x28c)]});}['onMouseMove'](_0x43e934){const _0x3aabdd=_0x64a570,{row:_0x2e0eea,column:_0x4c99d9}=_0x43e934;if(_0x2e0eea>=this[_0x3aabdd(0x197)][_0x3aabdd(0x19d)]&&_0x2e0eea<=this[_0x3aabdd(0x197)][_0x3aabdd(0x1ad)]&&_0x4c99d9>=this['_range'][_0x3aabdd(0x183)]&&_0x4c99d9<=this[_0x3aabdd(0x197)][_0x3aabdd(0x177)]){this[_0x3aabdd(0x147)]({'hovered':!0x0});return;}this[_0x3aabdd(0x147)]({'hovered':!0x1});}[_0x64a570(0x2bd)](_0xd24208){return!0x1;}['_draw'](_0x517fdb){const _0x7f7922=_0x64a570;_0x5e2a0b[_0x7f7922(0x308)](_0x517fdb,{'width':this[_0x7f7922(0x32c)],'height':this[_0x7f7922(0x28c)],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x7f7922(0x294)]}),this[_0x7f7922(0x25b)]&&(_0x517fdb['save'](),_0x517fdb[_0x7f7922(0x19f)](0x1,0x0,0x0,0x1,this[_0x7f7922(0x32c)],this[_0x7f7922(0x1cd)]==='bottom'?0x0:-0x14),he[_0x7f7922(0x308)](_0x517fdb,{'text':this[_0x7f7922(0x21c)],'color':this['_color']}),_0x517fdb[_0x7f7922(0x256)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4a811a,_0x3a0cc0,_0x470497,_0xad9275)=>{for(var _0x4496a7=_0xad9275>0x1?void 0x0:_0xad9275?Ai(_0x3a0cc0,_0x470497):_0x3a0cc0,_0x2784b2=_0x4a811a['length']-0x1,_0x3ddf22;_0x2784b2>=0x0;_0x2784b2--)(_0x3ddf22=_0x4a811a[_0x2784b2])&&(_0x4496a7=_0x3ddf22(_0x4496a7)||_0x4496a7);return _0x4496a7;},Ie=(_0x26221c,_0x35b07c)=>(_0x239475,_0x5c1ac1)=>_0x35b07c(_0x239475,_0x5c1ac1,_0x26221c);const $i=0x1389;let we=class extends _0x1f868b{constructor(_0x55895d,_0x31a8f0,_0x1b83e5,_0x46fa8c){const _0x13ad2c=_0x64a570;super(),_(this,'_cursors',new Set()),_(this,_0x13ad2c(0x2c2),null),(this['_context']=_0x55895d,this[_0x13ad2c(0x14a)]=_0x31a8f0,this[_0x13ad2c(0x28f)]=_0x1b83e5,this['_themeService']=_0x46fa8c,this['_init']());}[_0x64a570(0x275)](){const _0x4ab676=_0x64a570;this[_0x4ab676(0x14a)][_0x4ab676(0x185)][_0x4ab676(0x1b9)](_0x145a8a(this['dispose$']),_0xcc45a(_0x3d09cb=>{const _0x3a19f2=_0x4ab676;if(_0x3d09cb){const _0x520b68=_0x3d09cb[_0x3a19f2(0x2a5)];return _0xc0178f(this['_collabCursorController'][_0x3a19f2(0x184)](this['_context'][_0x3a19f2(0x2c9)]),this['_themeService'][_0x3a19f2(0x1e5)])['pipe'](_0x18039b(([_0x125cc2,_0x15c65e])=>{const _0x4b4eb8=_0x3a19f2,_0x3cd667=new Map();return _0x125cc2[_0x4b4eb8(0x2c4)]((_0x359cb4,_0x234794)=>{const _0x21be1e=_0x4b4eb8;if(_0x359cb4[_0x21be1e(0x1ec)]===_0x520b68){const _0x48e21f={..._0x359cb4};_0x48e21f['color']=_0x15c65e[_0x359cb4['color']],_0x3cd667[_0x21be1e(0x247)](_0x234794,_0x48e21f);}}),{'skeleton':_0x3d09cb,'cursors':_0x3cd667};}));}return _0x12085({'skeleton':null,'cursors':new Map()});}))[_0x4ab676(0x13f)](({skeleton:_0x2f1c16,cursors:_0x5efb63})=>{const _0x14d783=_0x4ab676;this[_0x14d783(0x158)](),_0x2f1c16&&this[_0x14d783(0x1c4)](_0x2f1c16,_0x5efb63);}),this[_0x4ab676(0x14a)][_0x4ab676(0x185)][_0x4ab676(0x13f)](_0x34301d=>{const _0x3f6c9e=_0x4ab676;if(_0x34301d==null)return;const {skeleton:_0x8a47e3}=_0x34301d,{scene:_0x1b4d15}=this[_0x3f6c9e(0x222)];_0x1b4d15[_0x3f6c9e(0x1ce)]['subscribeEvent'](_0x737ff2(_0x1c5ffe=>{const _0x361c5e=_0x3f6c9e;var _0x2e9de4,_0x21ecc0;const {offsetX:_0x167fb8,offsetY:_0x50afa7}=_0x1c5ffe,{x:_0x26477e,y:_0xa1e842}=_0x1b4d15[_0x361c5e(0x1ff)](_0x352975[_0x361c5e(0x254)]([_0x167fb8,_0x50afa7])),{scaleX:_0x32da51,scaleY:_0x521100}=_0x1b4d15[_0x361c5e(0x2ec)](),_0xd7c6c=_0x1b4d15['getViewport'](_0x4cb84c[_0x361c5e(0x29f)]),_0x2358ab=_0x1b4d15[_0x361c5e(0x2f5)](_0x352975[_0x361c5e(0x254)]([_0x26477e,_0xa1e842]),_0xd7c6c),_0x5d7273=_0x8a47e3[_0x361c5e(0x300)](_0x167fb8,_0x50afa7,_0x32da51,_0x521100,_0x2358ab);((_0x2e9de4=this['_lastPointer'])==null?void 0x0:_0x2e9de4[_0x361c5e(0x155)])===_0x5d7273['column']&&((_0x21ecc0=this[_0x361c5e(0x2c2)])==null?void 0x0:_0x21ecc0['row'])===_0x5d7273[_0x361c5e(0x2cb)]||this[_0x361c5e(0x31d)]['forEach'](_0xefbc63=>{const _0x1ab495=_0x361c5e;_0xefbc63[_0x1ab495(0x218)](_0x5d7273);});},0x64));});}['_updateCollabCursors'](_0x4fecfd,_0x253410){const _0x82d0cc=_0x64a570;var _0x44c0dd;const _0x5012a5=(_0x44c0dd=this[_0x82d0cc(0x14a)][_0x82d0cc(0x25f)]())==null?void 0x0:_0x44c0dd[_0x82d0cc(0x32d)];if(!_0x5012a5)return;const _0x9aa514=this[_0x82d0cc(0x2b6)]();if(!_0x9aa514)return;this[_0x82d0cc(0x31d)]['forEach'](_0xea0167=>{_0xea0167['makeDirty']();});const {scene:_0x309e7d}=_0x9aa514,_0x513e54=xi(Array[_0x82d0cc(0x198)](_0x253410[_0x82d0cc(0x2bb)]()))['map'](_0x1df800=>{const _0x15bbf2=_0x82d0cc,{color:_0x295e8b,range:_0x33a401,name:_0x1e7973,selection:_0x56b898,sheetID:_0xa285ca}=_0x1df800,{startColumn:_0x1f1c04,startRow:_0x2cebcc,endColumn:_0x33511a,endRow:_0x8364e0}=_0x33a401,_0x2e43b5=_0x399d9c(_0x2cebcc,_0x1f1c04,_0x309e7d,_0x5012a5),_0x538983=_0x399d9c(_0x8364e0,_0x33511a,_0x309e7d,_0x5012a5),{columnHeaderHeightAndMarginTop:_0x3f1746}=_0x5012a5,{startX:_0x15571e,startY:_0x33da4b}=_0x2e43b5,{endX:_0x344fa7,endY:_0x5f50f8}=_0x538983,_0x276c48=_0x344fa7-_0x15571e,_0x5c28f3=_0x5f50f8-_0x33da4b,_0xdc4d48={'labelPosition':_0x33da4b-_0x3f1746>=ee?_0x15bbf2(0x2f4):_0x15bbf2(0x30b),'sheetID':_0xa285ca,'range':_0x33a401,'color':_0x295e8b,'name':_0x1e7973,'selection':_0x56b898,'left':_0x15571e,'top':_0x33da4b,'width':_0x276c48,'height':_0x5c28f3,'evented':!0x1,'zIndex':$i};return new Li(_0x1e7973,_0xdc4d48);});_0x309e7d['addObjects'](_0x513e54,Pi),this[_0x82d0cc(0x31d)]=new Set(_0x513e54);}[_0x64a570(0x158)](){const _0x1dc730=_0x64a570;var _0x1eccd9;(_0x1eccd9=this[_0x1dc730(0x31d)])==null||_0x1eccd9[_0x1dc730(0x2c4)](_0x5e161e=>_0x5e161e[_0x1dc730(0x2f7)]());}[_0x64a570(0x2b6)](){const _0x90a12b=_0x64a570;return _0x173073(this[_0x90a12b(0x222)][_0x90a12b(0x18f)],this[_0x90a12b(0x222)]);}};we=yi([Ie(0x1,_0x31e7fe(_0xfe8843)),Ie(0x2,_0x31e7fe(H)),Ie(0x3,_0x31e7fe(_0x21db4a))],we);function xi(_0x1304a2){const _0x5c60bd=_0x64a570,_0x2a25c9=new Map();return _0x1304a2[_0x5c60bd(0x2c4)](_0x1cf011=>{const _0x47b3aa=_0x5c60bd;if(_0x2a25c9[_0x47b3aa(0x209)](_0x1cf011[_0x47b3aa(0x2ea)])){const _0x108dd8=_0x2a25c9[_0x47b3aa(0x2c8)](_0x1cf011[_0x47b3aa(0x2ea)]);_0x108dd8[_0x47b3aa(0x258)]+=',\x20'+_0x1cf011[_0x47b3aa(0x258)];}else _0x2a25c9[_0x47b3aa(0x247)](_0x1cf011['selection'],_0x1cf011);}),Array['from'](_0x2a25c9['values']());}var I=function(){const _0x135af5=_0x64a570;return I=Object[_0x135af5(0x13b)]||function(_0x533812){const _0x529f6f=_0x135af5;for(var _0x4c2bf9,_0x4a059f=0x1,_0xaa0c1e=arguments['length'];_0x4a059f<_0xaa0c1e;_0x4a059f++){_0x4c2bf9=arguments[_0x4a059f];for(var _0x253acc in _0x4c2bf9)Object[_0x529f6f(0x31a)][_0x529f6f(0x311)][_0x529f6f(0x2ab)](_0x4c2bf9,_0x253acc)&&(_0x533812[_0x253acc]=_0x4c2bf9[_0x253acc]);}return _0x533812;},I[_0x135af5(0x334)](this,arguments);},Bi=function(_0x22cb41,_0x1e258a){const _0x2eaab8=_0x64a570;var _0x485b46={};for(var _0x4f669d in _0x22cb41)Object[_0x2eaab8(0x31a)][_0x2eaab8(0x311)][_0x2eaab8(0x2ab)](_0x22cb41,_0x4f669d)&&_0x1e258a[_0x2eaab8(0x2d5)](_0x4f669d)<0x0&&(_0x485b46[_0x4f669d]=_0x22cb41[_0x4f669d]);if(_0x22cb41!=null&&typeof Object[_0x2eaab8(0x168)]==_0x2eaab8(0x327)){for(var _0x1477dd=0x0,_0x4f669d=Object['getOwnPropertySymbols'](_0x22cb41);_0x1477dd<_0x4f669d[_0x2eaab8(0x167)];_0x1477dd++)_0x1e258a[_0x2eaab8(0x2d5)](_0x4f669d[_0x1477dd])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x22cb41,_0x4f669d[_0x1477dd])&&(_0x485b46[_0x4f669d[_0x1477dd]]=_0x22cb41[_0x4f669d[_0x1477dd]]);}return _0x485b46;},je=_0x5aca45(function(_0xe8d58e,_0x2c78c4){const _0x22b496=_0x64a570;var _0x209be2=_0xe8d58e[_0x22b496(0x23d)],_0x3c4d9a=_0xe8d58e['id'],_0x1af4ca=_0xe8d58e[_0x22b496(0x18b)],_0xc1ff61=_0xe8d58e[_0x22b496(0x282)],_0x500edc=Bi(_0xe8d58e,['icon','id','className',_0x22b496(0x282)]),_0x568613=_0x22b496(0x22a)[_0x22b496(0x23e)](_0x3c4d9a,'\x20')[_0x22b496(0x23e)](_0x1af4ca||'')[_0x22b496(0x2ca)](),_0x356c52=_0xe20147('_'[_0x22b496(0x23e)](ji()));return Rt(_0x209be2,''[_0x22b496(0x23e)](_0x3c4d9a),{'defIds':_0x209be2['defIds'],'idSuffix':_0x356c52[_0x22b496(0x166)]},I({'ref':_0x2c78c4,'className':_0x568613},_0x500edc),_0xc1ff61);});function Rt(_0x3baabe,_0xb46d98,_0x867b0,_0x5252f3,_0x3988d2){const _0xeab9e1=_0x64a570;return _0x2e2139(_0x3baabe['tag'],I(I({'key':_0xb46d98},ki(_0x3baabe,_0x867b0,_0x3988d2)),_0x5252f3),(Hi(_0x3baabe,_0x867b0)[_0xeab9e1(0x206)]||[])[_0xeab9e1(0x17c)](function(_0x47683b,_0x4fc064){const _0x4fefa2=_0xeab9e1;return Rt(_0x47683b,''[_0x4fefa2(0x23e)](_0xb46d98,'-')[_0x4fefa2(0x23e)](_0x3baabe[_0x4fefa2(0x16e)],'-')[_0x4fefa2(0x23e)](_0x4fc064),_0x867b0,void 0x0,_0x3988d2);}));}function ki(_0x34fa07,_0x56e2db,_0x1654d6){const _0x24f736=_0x64a570;var _0x1af2ae=I({},_0x34fa07['attrs']);_0x1654d6!=null&&_0x1654d6[_0x24f736(0x1f2)]&&_0x1af2ae[_0x24f736(0x329)]===_0x24f736(0x1f2)&&(_0x1af2ae['fill']=_0x1654d6[_0x24f736(0x1f2)]),_0x34fa07[_0x24f736(0x16e)]===_0x24f736(0x22d)&&_0x1af2ae['id']&&(_0x1af2ae['id']=_0x1af2ae['id']+_0x56e2db[_0x24f736(0x2be)]),Object[_0x24f736(0x2cf)](_0x1af2ae)[_0x24f736(0x2c4)](function(_0x565d87){const _0xcb2821=_0x24f736;var _0xff30fe=_0x565d87[0x0],_0x147c5f=_0x565d87[0x1];_0xff30fe===_0xcb2821(0x22d)&&typeof _0x147c5f==_0xcb2821(0x1bd)&&(_0x1af2ae[_0xff30fe]=_0x147c5f['replace'](/url\(#(.*)\)/,_0xcb2821(0x237)[_0xcb2821(0x23e)](_0x56e2db['idSuffix'],')')));});var _0x245e41=_0x56e2db[_0x24f736(0x16d)];return!_0x245e41||_0x245e41[_0x24f736(0x167)]===0x0||(_0x34fa07[_0x24f736(0x16e)]===_0x24f736(0x235)&&_0x1af2ae[_0x24f736(0x2a0)]&&(_0x1af2ae['xlink:href']=_0x1af2ae['xlink:href']+_0x56e2db[_0x24f736(0x2be)]),Object['entries'](_0x1af2ae)['forEach'](function(_0x21cb44){const _0x15b917=_0x24f736;var _0x1b10b0=_0x21cb44[0x0],_0xa90a82=_0x21cb44[0x1];typeof _0xa90a82==_0x15b917(0x1bd)&&(_0x1af2ae[_0x1b10b0]=_0xa90a82['replace'](/url\(#(.*)\)/,_0x15b917(0x237)[_0x15b917(0x23e)](_0x56e2db[_0x15b917(0x2be)],')')));})),_0x1af2ae;}function Hi(_0x127160,_0x220d78){const _0x36cd1a=_0x64a570;var _0x3226f5,_0x3abb7d=_0x220d78[_0x36cd1a(0x16d)];return!_0x3abb7d||_0x3abb7d[_0x36cd1a(0x167)]===0x0?_0x127160:_0x127160[_0x36cd1a(0x16e)]===_0x36cd1a(0x317)&&(!((_0x3226f5=_0x127160[_0x36cd1a(0x206)])===null||_0x3226f5===void 0x0)&&_0x3226f5[_0x36cd1a(0x167)])?I(I({},_0x127160),{'children':_0x127160[_0x36cd1a(0x206)][_0x36cd1a(0x17c)](function(_0x590b43){const _0x64c6ca=_0x36cd1a;return typeof _0x590b43[_0x64c6ca(0x196)]['id']==_0x64c6ca(0x1bd)&&_0x3abb7d&&_0x3abb7d['indexOf'](_0x590b43[_0x64c6ca(0x196)]['id'])>-0x1?I(I({},_0x590b43),{'attrs':I(I({},_0x590b43[_0x64c6ca(0x196)]),{'id':_0x590b43[_0x64c6ca(0x196)]['id']+_0x220d78[_0x64c6ca(0x2be)]})}):_0x590b43;})}):_0x127160;}function ji(){const _0x53bf4a=_0x64a570;return Math[_0x53bf4a(0x2f3)]()[_0x53bf4a(0x241)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x64a570(0x321);var Wi={'tag':_0x64a570(0x2ae),'attrs':{'fill':_0x64a570(0x164),'viewBox':_0x64a570(0x2bf),'width':_0x64a570(0x28b),'height':_0x64a570(0x28b)},'children':[{'tag':'g','attrs':{'clipPath':_0x64a570(0x285)},'children':[{'tag':'path','attrs':{'stroke':_0x64a570(0x2d8),'d':_0x64a570(0x2c6),'strokeLinecap':'round','strokeLinejoin':_0x64a570(0x1a2),'strokeWidth':1.2}}]},{'tag':_0x64a570(0x317),'attrs':{},'children':[{'tag':_0x64a570(0x1d9),'attrs':{'id':_0x64a570(0x161)},'children':[{'tag':_0x64a570(0x173),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x64a570(0x161)]},Dt=_0x5aca45(function(_0x29b7ca,_0x463200){const _0x50a8ec=_0x64a570;return _0x2e2139(je,Object['assign']({},_0x29b7ca,{'id':_0x50a8ec(0x29b),'ref':_0x463200,'icon':Wi}));});Dt[_0x64a570(0x2fa)]='OffLineSingle';var Fi={'tag':'svg','attrs':{'fill':_0x64a570(0x164),'viewBox':_0x64a570(0x28d),'width':_0x64a570(0x28b),'height':_0x64a570(0x28b)},'children':[{'tag':'g','attrs':{'clipPath':_0x64a570(0x1c6)},'children':[{'tag':_0x64a570(0x173),'attrs':{'stroke':_0x64a570(0x2d8),'d':_0x64a570(0x13c),'strokeLinecap':_0x64a570(0x1a2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x64a570(0x1d9),'attrs':{'id':_0x64a570(0x1fe)},'children':[{'tag':_0x64a570(0x173),'attrs':{'fill':_0x64a570(0x151),'d':'M0\x200H16V16H0z','transform':_0x64a570(0x1e8)}}]}]}],'defIds':[_0x64a570(0x1fe)]},Nt=_0x5aca45(function(_0x4d9f10,_0x4a6740){const _0x99c5ad=_0x64a570;return _0x2e2139(je,Object[_0x99c5ad(0x13b)]({},_0x4d9f10,{'id':'on-line-single','ref':_0x4a6740,'icon':Fi}));});Nt['displayName']=_0x64a570(0x165);function Yi(_0x458345){const _0x14d25c=_0x64a570;switch(_0x458345){case _0xa376d9['OFFLINE']:return _0x14d25c(0x21f);case _0xa376d9['CONFLICT']:return _0x14d25c(0x213);case _0xa376d9[_0x14d25c(0x2cc)]:return _0x14d25c(0x281);case _0xa376d9[_0x14d25c(0x140)]:return _0x14d25c(0x2a7);case _0xa376d9['AWAITING']:case _0xa376d9['AWAITING_WITH_PENDING']:return _0x14d25c(0x2c1);case _0xa376d9[_0x14d25c(0x2ee)]:case _0xa376d9[_0x14d25c(0x15d)]:return _0x14d25c(0x205);}}function Vi(_0x3d4b92){const _0x32f83d=_0x64a570,{status$:_0x4047ff}=_0x3d4b92,_0xc8199b=_0x38f4b4(_0x4047ff,_0xa376d9[_0x32f83d(0x140)]),_0xf2072c=_0x2eb808(_0x1eede4),_0x1b63a5=_0x2eb808(_0x26288a),_0x340c1f=_0xc8199b!==_0xa376d9['OFFLINE'],_0x37bd57=_0xf2072c['t'](Yi(_0xc8199b)),_0x471d65=_0x340c1f?_0x2b2214(Nt,{}):_0x2b2214(Dt,{}),_0xe358b4=_0x3befde(()=>{_0x340c1f||_0x1b63a5['reconnect']();},[_0x340c1f,_0x1b63a5]);function _0x5a0bcc(){const _0x170a14=_0x32f83d;return _0xc7d320(_0x170a14(0x1b2),{'className':_0x170a14(0x1b5),'onClick':_0xe358b4,'children':[_0x2b2214(_0x170a14(0x1b2),{'className':_0x329ae5(_0x170a14(0x2f0),_0x340c1f?_0x170a14(0x259):_0x170a14(0x271)),'children':_0x471d65}),_0x2b2214(_0x170a14(0x1b2),{'className':_0x170a14(0x1f7),'children':_0x37bd57})]});}return _0x340c1f?_0x5a0bcc():_0x2b2214(_0x5dce71,{'title':_0xf2072c['t']('collab-client.tooltip.reconnect'),'children':_0x5a0bcc()});}var Xi=Object[_0x64a570(0x1d7)],Gi=(_0x14cb7a,_0xa8621e,_0x1f3eac,_0x2ce421)=>{const _0x2e869d=_0x64a570;for(var _0x2f7903=_0x2ce421>0x1?void 0x0:_0x2ce421?Xi(_0xa8621e,_0x1f3eac):_0xa8621e,_0x313ba6=_0x14cb7a[_0x2e869d(0x167)]-0x1,_0x5c1976;_0x313ba6>=0x0;_0x313ba6--)(_0x5c1976=_0x14cb7a[_0x313ba6])&&(_0x2f7903=_0x5c1976(_0x2f7903)||_0x2f7903);return _0x2f7903;},Q=(_0x3f0496,_0x2acfae)=>(_0x8c1cc2,_0x1d1cee)=>_0x2acfae(_0x8c1cc2,_0x1d1cee,_0x3f0496);let te=class extends _0x455ce9{constructor(_0x524ed1,_0xd31bfc,_0x4b9560,_0x40d7c1){const _0x842597=_0x64a570;super(),_(this,_0x842597(0x152),new _0x2241b1(_0xa376d9[_0x842597(0x140)])),(this['_univerInstanceService']=_0x524ed1,this['_injector']=_0xd31bfc,this['_collaborationController']=_0x4b9560,this[_0x842597(0x24e)]=_0x40d7c1,this[_0x842597(0x182)](),this[_0x842597(0x19a)]());}[_0x64a570(0x19a)](){const _0x1fe77b=_0x64a570;this['disposeWithMe'](this[_0x1fe77b(0x191)][_0x1fe77b(0x2fb)][_0x1fe77b(0x1b9)](_0x49b8bc(()=>{const _0xc672f9=_0x1fe77b,_0x4d75e7=this['_univerInstanceService'][_0xc672f9(0x216)]();return _0x4d75e7?this[_0xc672f9(0x267)]['getCollabEntity$'](_0x4d75e7[_0xc672f9(0x2b1)]()):_0x12085(null);}),_0x49b8bc(_0x384074=>_0x384074?_0x384074[_0x1fe77b(0x214)]:_0x12085(_0xa376d9[_0x1fe77b(0x140)])))[_0x1fe77b(0x13f)](_0x4fa52f=>{const _0x435361=_0x1fe77b;this[_0x435361(0x152)]['next'](_0x4fa52f);}));}[_0x64a570(0x182)](){const _0x2badb7=_0x64a570;this[_0x2badb7(0x199)](this[_0x2badb7(0x24e)][_0x2badb7(0x265)](_0x2de49d[_0x2badb7(0x1f1)],()=>_0x3d8793(Ki({'status$':this['_status$'][_0x2badb7(0x319)]()}),this[_0x2badb7(0x24c)])));}};te=Gi([Q(0x0,_0x58d7bd),Q(0x1,_0x31e7fe(_0x533dcb)),Q(0x2,_0x31e7fe(_0x46cb23)),Q(0x3,_0x544073)],te);function Ki(_0x41ede5){const {status$:_0x4af822}=_0x41ede5;return function(){return _0x2b2214(Vi,{'status$':_0x4af822});};}var zi=Object[_0x64a570(0x1d7)],Ji=(_0x2beac7,_0x4d1f0a,_0x321049,_0x5c9f81)=>{const _0x59d3cb=_0x64a570;for(var _0x1d67ab=_0x5c9f81>0x1?void 0x0:_0x5c9f81?zi(_0x4d1f0a,_0x321049):_0x4d1f0a,_0x2cfa9c=_0x2beac7[_0x59d3cb(0x167)]-0x1,_0x5db90c;_0x2cfa9c>=0x0;_0x2cfa9c--)(_0x5db90c=_0x2beac7[_0x2cfa9c])&&(_0x1d67ab=_0x5db90c(_0x1d67ab)||_0x1d67ab);return _0x1d67ab;},B=(_0x220b59,_0x1148e3)=>(_0xf78ecb,_0x3b7111)=>_0x1148e3(_0xf78ecb,_0x3b7111,_0x220b59);let se=class extends _0x455ce9{constructor(_0x1d2953,_0x37f466,_0x12d758,_0x1cb304,_0x3dbaea,_0x16b9ed){const _0x404fa0=_0x64a570;super(),this['_beforeCloseService']=_0x1d2953,this[_0x404fa0(0x30e)]=_0x37f466,this['_collaborationUIEventService']=_0x12d758,this['_messageService']=_0x1cb304,this['_notificationService']=_0x3dbaea,this[_0x404fa0(0x2a9)]=_0x16b9ed,this[_0x404fa0(0x13a)](),this[_0x404fa0(0x143)]();}[_0x64a570(0x13a)](){const _0x312a7a=_0x64a570;this[_0x312a7a(0x199)](this[_0x312a7a(0x324)][_0x312a7a(0x25d)](()=>{const _0x4ff818=_0x312a7a;if(this[_0x4ff818(0x30e)][_0x4ff818(0x1b3)][_0x4ff818(0x2e2)])return this['_localeService']['t'](_0x4ff818(0x1aa));}));}[_0x64a570(0x143)](){const _0x39af36=_0x64a570;this['disposeWithMe'](this[_0x39af36(0x20b)][_0x39af36(0x250)][_0x39af36(0x13f)](_0xaa21c6=>{const _0x182f08=_0x39af36;_0xaa21c6['id']===_0x40c25b[_0x182f08(0x1a1)]&&this[_0x182f08(0x297)]['show']({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x228))}),_0xaa21c6['id']===_0x40c25b['CLOSE_ROOM']&&this[_0x182f08(0x297)]['show']({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x2de))}),_0xaa21c6['id']===_0x40c25b['PERMISSION_DENIED']&&this[_0x182f08(0x264)][_0x182f08(0x20e)]({'title':this[_0x182f08(0x2a9)]['t']('permission.title'),'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x225)),'type':_0x182f08(0x31c),'duration':0x0}),_0xaa21c6['id']===_0x40c25b['CONFLICT']&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x2de))+'('+_0xaa21c6['data']+')'}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x29a)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0xaa21c6[_0x182f08(0x2f9)]||'')}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x1db)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x194))}),_0xaa21c6['id']===_0x40c25b['SOCKET_FAILED']&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x180))}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x212)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x1d4))});}));}};se=Ji([B(0x0,_0x5e34d6),B(0x1,_0x1cfe94),B(0x2,_0x31e7fe(_0x5812fd)),B(0x3,_0x3297fc),B(0x4,_0x3212f3),B(0x5,_0x31e7fe(_0x1eede4))],se);const Zi=_0x64a570(0x2e3),et={},Ut=_0x274757(_0x64a570(0x1d0));var Qi=Object[_0x64a570(0x1d7)],qi=(_0x25937e,_0x10666c,_0x232e6a,_0x5afe5d)=>{const _0x487ced=_0x64a570;for(var _0x32c122=_0x5afe5d>0x1?void 0x0:_0x5afe5d?Qi(_0x10666c,_0x232e6a):_0x10666c,_0x42adc8=_0x25937e[_0x487ced(0x167)]-0x1,_0x2b1926;_0x42adc8>=0x0;_0x42adc8--)(_0x2b1926=_0x25937e[_0x42adc8])&&(_0x32c122=_0x2b1926(_0x32c122)||_0x32c122);return _0x32c122;},G=(_0x313e8b,_0x4f353b)=>(_0x37f4bf,_0x2baeb8)=>_0x4f353b(_0x37f4bf,_0x2baeb8,_0x313e8b);let ie=class extends _0x1f868b{constructor(_0x10eb30,_0x274e10,_0x4b6697,_0x394c01,_0x2cb5b6){const _0x5c674e=_0x64a570;super(),this[_0x5c674e(0x2e5)]=_0x10eb30,this[_0x5c674e(0x188)]=_0x274e10,this[_0x5c674e(0x175)]=_0x4b6697,this['_dataLoaderService']=_0x394c01,_0x2cb5b6?_0x2cb5b6==null||_0x2cb5b6[_0x5c674e(0x255)]()[_0x5c674e(0x226)](()=>this[_0x5c674e(0x275)]()):(this[_0x5c674e(0x188)][_0x5c674e(0x1f0)](_0x5c674e(0x29c),_0x5c674e(0x195)),this[_0x5c674e(0x275)]());}async[_0x64a570(0x275)](){const _0xdd1ff2=_0x64a570,_0x5d6462=this[_0xdd1ff2(0x2e5)][_0xdd1ff2(0x26a)](_0xdd1ff2(0x18f)),_0x3b0651=this[_0xdd1ff2(0x2e5)][_0xdd1ff2(0x26a)]('type'),_0x3951f6=this['_urlService'][_0xdd1ff2(0x26a)](_0xdd1ff2(0x27a));if(!_0x5d6462||!_0x3b0651){this[_0xdd1ff2(0x188)]['debug'](_0xdd1ff2(0x29c),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x10b66c=await this[_0xdd1ff2(0x33c)][_0xdd1ff2(0x1bb)](_0x5d6462,Number(_0x3b0651),_0x3951f6);_0x10b66c&&_0x10b66c instanceof _0x5278e9&&this[_0xdd1ff2(0x2cd)](_0x10b66c);}async['_setupSubUnitSync'](_0x656b94){const _0xb618c5=_0x64a570;await this[_0xb618c5(0x2dd)](_0x656b94),_0x656b94[_0xb618c5(0x268)][_0xb618c5(0x1b9)](_0x2bd97e(this[_0xb618c5(0x2b5)]))['subscribe'](_0x4bd01b=>{const _0x31ce8f=_0xb618c5;_0x4bd01b&&this[_0x31ce8f(0x33d)](_0x4bd01b);}),this[_0xb618c5(0x2e5)][_0xb618c5(0x336)][_0xb618c5(0x1b9)](_0x2bd97e(this[_0xb618c5(0x2b5)]))[_0xb618c5(0x13f)](()=>this[_0xb618c5(0x2dd)](_0x656b94));}[_0x64a570(0x33d)](_0x5604e4,_0x490fef=!0x1){const _0x4007f0=_0x64a570,_0xe9c955=this[_0x4007f0(0x2e5)][_0x4007f0(0x26a)](_0x4007f0(0x27a));_0x5604e4['getSheetId']()!==_0xe9c955&&this['_urlService'][_0x4007f0(0x26c)](_0x4007f0(0x27a),_0x5604e4['getSheetId'](),_0x490fef);}async[_0x64a570(0x2dd)](_0x1ddaef){const _0x189561=_0x64a570;var _0x417f7e;const _0x2da1e0=this['_urlService'][_0x189561(0x26a)](_0x189561(0x27a));if(!_0x2da1e0||!_0x1ddaef[_0x189561(0x269)](_0x2da1e0)){const _0x4955a0=_0x1ddaef['getUnhiddenWorksheets']()[0x0],_0x57fc2f=_0x1ddaef[_0x189561(0x269)](_0x4955a0);if(!_0x57fc2f)return;this[_0x189561(0x33d)](_0x57fc2f,!0x0),await this['_commandService'][_0x189561(0x17e)](_0x4b1b7c['id'],{'unitId':_0x1ddaef[_0x189561(0x2b1)](),'subUnitId':_0x4955a0});return;}((_0x417f7e=_0x1ddaef[_0x189561(0x30d)]())==null?void 0x0:_0x417f7e[_0x189561(0x244)]())!==_0x2da1e0&&await this[_0x189561(0x175)][_0x189561(0x17e)](_0x4b1b7c['id'],{'unitId':_0x1ddaef[_0x189561(0x2b1)](),'subUnitId':_0x2da1e0});}};ie=qi([G(0x0,Ut),G(0x1,_0x5e80c4),G(0x2,_0x120bf5),G(0x3,_0x31e7fe(_0x1912e7)),G(0x4,_0xb13320(_0x4fd581))],ie);var en=Object[_0x64a570(0x1d7)],tn=(_0x34ad2d,_0x263c90,_0x484f8c,_0x43879c)=>{const _0x3b9f20=_0x64a570;for(var _0x560bd4=_0x43879c>0x1?void 0x0:_0x43879c?en(_0x263c90,_0x484f8c):_0x263c90,_0x4c1429=_0x34ad2d[_0x3b9f20(0x167)]-0x1,_0x51c1c7;_0x4c1429>=0x0;_0x4c1429--)(_0x51c1c7=_0x34ad2d[_0x4c1429])&&(_0x560bd4=_0x51c1c7(_0x560bd4)||_0x560bd4);return _0x560bd4;},pe=(_0x3c0e2f,_0x1fc001)=>(_0x117caa,_0x4cc4cb)=>_0x1fc001(_0x117caa,_0x4cc4cb,_0x3c0e2f);let ne=class{constructor(_0x52adfc,_0x111830,_0x54f6b8){const _0x5e7238=_0x64a570;this[_0x5e7238(0x24c)]=_0x52adfc,this[_0x5e7238(0x211)]=_0x111830,this[_0x5e7238(0x1e3)]=_0x54f6b8;}['transformIMECache'](_0x26ba6c){const _0x24c2a0=_0x64a570;this[_0x24c2a0(0x1a0)](_0x26ba6c),this[_0x24c2a0(0x1be)](_0x26ba6c);}[_0x64a570(0x24b)](_0x33c918){const _0x48cd02=_0x64a570,{unitID:_0x4c031c}=_0x33c918,_0x2ace1e=this[_0x48cd02(0x1e3)][_0x48cd02(0x30a)](_0x4c031c)[_0x48cd02(0x153)](_0x412fe3),{redoCache:_0x830f8f}=_0x2ace1e[_0x48cd02(0x28a)]();if(_0x830f8f['length']===0x0)return _0x33c918;let _0x22c1c8=_0x237755['deepClone'](_0x33c918[_0x48cd02(0x2a3)][0x0]);for(let _0x4ee10d=0x0;_0x4ee10d<_0x830f8f[_0x48cd02(0x167)];_0x4ee10d++){const _0x4d8400={'id':_0x48cd02(0x162),'params':{..._0x830f8f[_0x4ee10d]}},_0x24c4ed=this['_transformService']['transformMutation'](_0x22c1c8,_0x4d8400,!0x1);if(_0x3fbac4(_0x24c4ed))throw _0x24c4ed[_0x48cd02(0x31c)];_0x22c1c8=_0x24c4ed['m1Prime'];}return{..._0x237755['deepClone'](_0x33c918),'mutations':[_0x22c1c8]};}[_0x64a570(0x1a0)](_0x496e98){const _0x1c91d6=_0x64a570,{unitID:_0x225ae0}=_0x496e98,_0xf18646=this[_0x1c91d6(0x1e3)]['getRenderById'](_0x225ae0)[_0x1c91d6(0x153)](_0x412fe3),{undoCache:_0xa0c555,redoCache:_0x134435}=_0xf18646[_0x1c91d6(0x28a)]();if(_0xa0c555['length']===0x0||_0x134435[_0x1c91d6(0x167)]===0x0)return;const _0x4a4484=[],_0x301fdb=[];let _0x321276=_0x237755[_0x1c91d6(0x14e)](_0x496e98[_0x1c91d6(0x2a3)][0x0]),_0x417562=_0x237755[_0x1c91d6(0x14e)](_0x496e98[_0x1c91d6(0x2a3)][0x0]);for(let _0x159127=_0xa0c555[_0x1c91d6(0x167)]-0x1;_0x159127>=0x0;_0x159127--){const _0x522058={'id':_0x1c91d6(0x162),'params':{..._0xa0c555[_0x159127]}},_0x5d3a32={'id':_0x1c91d6(0x162),'params':{..._0x134435[_0x159127]}},_0x10ff3e=this[_0x1c91d6(0x211)][_0x1c91d6(0x1ac)](_0x321276,_0x522058,!0x1),_0x18544c=this[_0x1c91d6(0x211)][_0x1c91d6(0x1ac)](_0x417562,_0x5d3a32,!0x1);if(_0x3fbac4(_0x10ff3e))throw _0x10ff3e[_0x1c91d6(0x31c)];if(_0x3fbac4(_0x18544c))throw _0x18544c['error'];_0x4a4484[_0x1c91d6(0x1c0)](_0x10ff3e[_0x1c91d6(0x178)][_0x1c91d6(0x15c)]),_0x301fdb[_0x1c91d6(0x1c0)](_0x18544c[_0x1c91d6(0x178)]['params']),_0x321276=_0x10ff3e['m1Prime'],_0x417562=_0x18544c[_0x1c91d6(0x2d2)];}_0xf18646['setUndoRedoMutationParamsCache']({'undoCache':_0x4a4484,'redoCache':_0x301fdb});}[_0x64a570(0x1be)](_0x15b10d){const _0x1cc002=_0x64a570,{unitID:_0x2386d6}=_0x15b10d,_0x4decb5=this[_0x1cc002(0x1e3)][_0x1cc002(0x30a)](_0x2386d6)[_0x1cc002(0x153)](_0x412fe3),_0x169f0b=_0x4decb5[_0x1cc002(0x15e)]();if(_0x169f0b==null)return;const _0x441f18=[{'id':_0x1cc002(0x162),'params':{'unitId':_0x15b10d[_0x1cc002(0x18e)],'actions':null,'textRanges':[_0x169f0b]}}],_0x5e7f67=this[_0x1cc002(0x211)]['transformMutationsWithChangeset'](_0x15b10d,_0x441f18);if(!_0x1dccd0(_0x5e7f67))throw _0x5e7f67[_0x1cc002(0x31c)];const _0x56f815=_0x5e7f67[_0x1cc002(0x178)][0x0][_0x1cc002(0x15c)][_0x1cc002(0x16b)];Array[_0x1cc002(0x243)](_0x56f815)&&_0x56f815['length']&&_0x4decb5['setActiveRange'](_0x56f815[0x0]);}};ne=tn([pe(0x0,_0x31e7fe(_0x533dcb)),pe(0x1,_0x1c906c),pe(0x2,_0x1e1d94)],ne);var sn=Object[_0x64a570(0x1d7)],nn=(_0x3b356a,_0x5f0712,_0x15120d,_0x1ef85a)=>{for(var _0x39ee1f=_0x1ef85a>0x1?void 0x0:_0x1ef85a?sn(_0x5f0712,_0x15120d):_0x5f0712,_0x254c0d=_0x3b356a['length']-0x1,_0x179458;_0x254c0d>=0x0;_0x254c0d--)(_0x179458=_0x3b356a[_0x254c0d])&&(_0x39ee1f=_0x179458(_0x39ee1f)||_0x39ee1f);return _0x39ee1f;},Ce=(_0x5cccf2,_0x5e76db)=>(_0x322442,_0xa903e5)=>_0x5e76db(_0x322442,_0xa903e5,_0x5cccf2);let re=class{constructor(_0x968af,_0x59f6c2,_0x2268ca){const _0x58e6f5=_0x64a570;this['_injector']=_0x968af,this[_0x58e6f5(0x211)]=_0x59f6c2,this[_0x58e6f5(0x1d2)]=_0x2268ca;}[_0x64a570(0x261)](_0x33b95c){const _0x2641d2=_0x64a570;this[_0x2641d2(0x21d)](_0x33b95c);}['transformRemoteChangeset'](_0x3f2266){const _0x3f29a8=_0x64a570,{unitID:_0x4937db}=_0x3f2266,{collaboration:_0x39ec51}=this[_0x3f29a8(0x1d2)][_0x3f29a8(0x207)](_0x4937db);if(_0x39ec51[_0x3f29a8(0x167)]===0x0)return _0x3f2266;let _0x3ce84d=_0x237755['deepClone'](_0x3f2266[_0x3f29a8(0x2a3)][0x0]);for(let _0x21794c=0x0;_0x21794c<_0x39ec51['length'];_0x21794c++){const _0x4caf1e={'id':_0x3f29a8(0x162),'params':{'unitId':_0x39ec51[_0x21794c]['unitId'],..._0x39ec51[_0x21794c][_0x3f29a8(0x29d)]}},_0x2b5e09=this[_0x3f29a8(0x211)][_0x3f29a8(0x1ac)](_0x3ce84d,_0x4caf1e,!0x1);if(_0x3fbac4(_0x2b5e09))throw _0x2b5e09[_0x3f29a8(0x31c)];_0x3ce84d=_0x2b5e09[_0x3f29a8(0x2d2)];}return{..._0x237755['deepClone'](_0x3f2266),'mutations':[_0x3ce84d]};}['_transformHistoryAndStateStack'](_0x14d369){const _0x20ffe7=_0x64a570,{unitID:_0x4f0f56}=_0x14d369,{history:_0x4fd91e,collaboration:_0x1e702d}=this[_0x20ffe7(0x1d2)]['getStateCache'](_0x4f0f56);if(_0x4fd91e['length']===0x0&&_0x1e702d[_0x20ffe7(0x167)]===0x0)return;const _0xdfb361=[],_0x66b278=[];let _0x1d2096=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]),_0x2c8930=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]);for(let _0x1c5ba3=_0x4fd91e[_0x20ffe7(0x167)]-0x1;_0x1c5ba3>=0x0;_0x1c5ba3--){const _0x53ceac={'id':_0x20ffe7(0x162),'params':{'unitId':_0x4fd91e[_0x1c5ba3]['unitId'],..._0x4fd91e[_0x1c5ba3][_0x20ffe7(0x20c)]}},_0x364267={'id':_0x20ffe7(0x162),'params':{'unitId':_0x4fd91e[_0x1c5ba3][_0x20ffe7(0x2c9)],..._0x4fd91e[_0x1c5ba3][_0x20ffe7(0x29d)]}},_0x111a46=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x1d2096,_0x53ceac,!0x1),_0xdce8cd=this[_0x20ffe7(0x211)]['transformMutation'](_0x2c8930,_0x364267,!0x1);if(_0x3fbac4(_0x111a46))throw _0x111a46[_0x20ffe7(0x31c)];if(_0x3fbac4(_0xdce8cd))throw _0xdce8cd[_0x20ffe7(0x31c)];_0xdfb361[_0x20ffe7(0x1c0)]({..._0x4fd91e[_0x1c5ba3],'undoState':_0x111a46[_0x20ffe7(0x178)][_0x20ffe7(0x15c)],'redoState':_0xdce8cd['m2Prime']['params']}),_0x1d2096=_0x111a46[_0x20ffe7(0x2d2)],_0x2c8930=_0xdce8cd['m1Prime'];}_0x1d2096=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]),_0x2c8930=_0x237755['deepClone'](_0x14d369[_0x20ffe7(0x2a3)][0x0]);for(let _0x2b4afb=_0x1e702d['length']-0x1;_0x2b4afb>=0x0;_0x2b4afb--){const _0x15205a={'id':_0x20ffe7(0x162),'params':{'unitId':_0x1e702d[_0x2b4afb][_0x20ffe7(0x2c9)],..._0x1e702d[_0x2b4afb]['undoState']}},_0x1dceb0={'id':_0x20ffe7(0x162),'params':{'unitId':_0x1e702d[_0x2b4afb][_0x20ffe7(0x2c9)],..._0x1e702d[_0x2b4afb][_0x20ffe7(0x29d)]}},_0x3a68bc=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x1d2096,_0x15205a,!0x1),_0x50f482=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x2c8930,_0x1dceb0,!0x1);if(_0x3fbac4(_0x3a68bc))throw _0x3a68bc[_0x20ffe7(0x31c)];if(_0x3fbac4(_0x50f482))throw _0x50f482['error'];_0x66b278[_0x20ffe7(0x1c0)]({..._0x1e702d[_0x2b4afb],'undoState':_0x3a68bc[_0x20ffe7(0x178)][_0x20ffe7(0x15c)],'redoState':_0x50f482['m2Prime'][_0x20ffe7(0x15c)]}),_0x1d2096=_0x3a68bc['m1Prime'],_0x2c8930=_0x50f482[_0x20ffe7(0x2d2)];}this[_0x20ffe7(0x1d2)][_0x20ffe7(0x15b)](_0x4f0f56,{'history':_0xdfb361,'collaboration':_0x66b278});}};re=nn([Ce(0x0,_0x31e7fe(_0x533dcb)),Ce(0x1,_0x1c906c),Ce(0x2,_0x31e7fe(_0x13afef))],re);var rn=Object[_0x64a570(0x1d7)],on=(_0x92fe32,_0xc39ad5,_0x5cfe36,_0x41e1a5)=>{const _0x3fca68=_0x64a570;for(var _0x7d3681=_0x41e1a5>0x1?void 0x0:_0x41e1a5?rn(_0xc39ad5,_0x5cfe36):_0xc39ad5,_0x46651a=_0x92fe32[_0x3fca68(0x167)]-0x1,_0x1aa810;_0x46651a>=0x0;_0x46651a--)(_0x1aa810=_0x92fe32[_0x46651a])&&(_0x7d3681=_0x1aa810(_0x7d3681)||_0x7d3681);return _0x7d3681;},tt=(_0x589ba3,_0x53dbf3)=>(_0x11974b,_0x563f8d)=>_0x53dbf3(_0x11974b,_0x563f8d,_0x589ba3);let oe=class{constructor(_0x46a475,_0x5e2833){const _0x5a697c=_0x64a570;this[_0x5a697c(0x24c)]=_0x46a475,this[_0x5a697c(0x211)]=_0x5e2833;}[_0x64a570(0x302)](_0x355e44){const _0x22791d=_0x64a570;var _0x33b0ba;const _0x56b00c=this['_injector'][_0x22791d(0x2c8)](_0x346665),_0x1c27a4=(_0x33b0ba=_0x56b00c[_0x22791d(0x16c)]())!=null?_0x33b0ba:[];if(_0x1c27a4[_0x22791d(0x167)]===0x0)return;const _0x1f69f2=_0x355e44[_0x22791d(0x18e)],_0x37655f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f69f2,'actions':null,'textRanges':_0x1c27a4}}],_0x2c2eaa=this[_0x22791d(0x211)]['transformMutationsWithChangeset'](_0x355e44,_0x37655f);if(!_0x1dccd0(_0x2c2eaa))throw _0x2c2eaa[_0x22791d(0x31c)];const _0x4bdba7=_0x2c2eaa['m2Prime'][0x0][_0x22791d(0x15c)][_0x22791d(0x16b)];Array[_0x22791d(0x243)](_0x4bdba7)&&_0x4bdba7[_0x22791d(0x167)]&&_0x56b00c[_0x22791d(0x1ba)](_0x4bdba7,{'unitId':_0x1f69f2,'subUnitId':_0x1f69f2},!0x1);}};oe=on([tt(0x0,_0x31e7fe(_0x533dcb)),tt(0x1,_0x1c906c)],oe);var an=Object[_0x64a570(0x1d7)],cn=(_0x4642eb,_0xa0cdd0,_0x33c9fb,_0x45985b)=>{for(var _0x944b3f=_0x45985b>0x1?void 0x0:_0x45985b?an(_0xa0cdd0,_0x33c9fb):_0xa0cdd0,_0x45b906=_0x4642eb['length']-0x1,_0x103d2a;_0x45b906>=0x0;_0x45b906--)(_0x103d2a=_0x4642eb[_0x45b906])&&(_0x944b3f=_0x103d2a(_0x944b3f)||_0x944b3f);return _0x944b3f;},U=(_0x19d6ec,_0x364d84)=>(_0x1faf92,_0x17b9cd)=>_0x364d84(_0x1faf92,_0x17b9cd,_0x19d6ec);let ae=class extends _0x455ce9{constructor(_0x4d961e,_0x2648d2,_0x183dd0,_0x421ab7,_0xc25a0e,_0xf277db,_0x244e8a,_0x5a55ac){const _0x181684=_0x64a570;super(),_(this,_0x181684(0x152),new _0x2241b1(_0xa376d9['NOT_COLLAB'])),(this[_0x181684(0x1d2)]=_0x4d961e,this['_collaborationController']=_0x2648d2,this[_0x181684(0x172)]=_0x183dd0,this['_docTransformStateCacheService']=_0x421ab7,this['_docTransformSelectionsService']=_0xc25a0e,this[_0x181684(0x296)]=_0xf277db,this[_0x181684(0x297)]=_0x244e8a,this[_0x181684(0x2a9)]=_0x5a55ac,this['_initEntityListener']());}[_0x64a570(0x2c3)](){const _0x1af4a7=_0x64a570;this['disposeWithMe'](this[_0x1af4a7(0x267)][_0x1af4a7(0x1ea)][_0x1af4a7(0x13f)](_0x2b9015=>{const _0x543a57=_0x1af4a7,_0x528530=this[_0x543a57(0x1d2)]['docStateChange$'][_0x543a57(0x13f)](_0x1ba6d9=>{const _0x25c458=_0x543a57;if(_0x1ba6d9==null)return;const {unitId:_0x5cc782,redoState:_0x41e01d,commandId:_0x57ef57}=_0x1ba6d9;if(_0x5cc782!==_0x2b9015[_0x25c458(0x18e)])return;const _0x627808={'id':_0x57ef57,'type':_0x441a91[_0x25c458(0x14f)],'params':{'unitId':_0x5cc782,'actions':_0x41e01d[_0x25c458(0x2b9)],'textRanges':null}};_0x2b9015[_0x25c458(0x2e8)](_0x627808);});if(_0x2b9015[_0x543a57(0x199)](_0x528530),_0x2b9015 instanceof _0x37ddb9){const _0x3a61ee={'onTransformIME':_0x1a94a8=>this[_0x543a57(0x172)][_0x543a57(0x1e2)](_0x1a94a8),'onTransformState':_0x4a7fce=>this[_0x543a57(0x141)][_0x543a57(0x261)](_0x4a7fce),'onTransformSelections':_0x400692=>this[_0x543a57(0x262)]['transformSelections'](_0x400692),'onSyncEditingCollabCursor':_0x292862=>this['_docSyncEditingCollabCursorService'][_0x543a57(0x2c5)](_0x292862),'onTransformRemoteChangesetByIMECache':_0x3ed127=>this['_docTransformIMECacheService'][_0x543a57(0x24b)](_0x3ed127),'onTransformRemoteChangesetByStateCache':_0x2f188b=>this[_0x543a57(0x141)][_0x543a57(0x24b)](_0x2f188b)};_0x2b9015['addHandlerCallback'](_0x3a61ee);}}));}};ae=cn([U(0x0,_0x31e7fe(_0x13afef)),U(0x1,_0x31e7fe(_0x46cb23)),U(0x2,_0x31e7fe(ne)),U(0x3,_0x31e7fe(re)),U(0x4,_0x31e7fe(oe)),U(0x5,_0x31e7fe(He)),U(0x6,_0x3297fc),U(0x7,_0x31e7fe(_0x1eede4))],ae);var ln=Object[_0x64a570(0x1d7)],_n=(_0x1c7cf8,_0x115ded,_0x33ff2d,_0x3cb828)=>{const _0x454968=_0x64a570;for(var _0x153558=_0x3cb828>0x1?void 0x0:_0x3cb828?ln(_0x115ded,_0x33ff2d):_0x115ded,_0x23fef6=_0x1c7cf8[_0x454968(0x167)]-0x1,_0xa2e180;_0x23fef6>=0x0;_0x23fef6--)(_0xa2e180=_0x1c7cf8[_0x23fef6])&&(_0x153558=_0xa2e180(_0x153558)||_0x153558);return _0x153558;},Ee=(_0x376ebc,_0x108d75)=>(_0x1f3ff5,_0x587147)=>_0x108d75(_0x1f3ff5,_0x587147,_0x376ebc);let Le=class extends _0x455ce9{constructor(_0x508ecb,_0x5ce58b,_0x4ae5ed){const _0x4dc111=_0x64a570;super(),_(this,_0x4dc111(0x1fa),new Map()),_(this,_0x4dc111(0x1b4),new Map()),_(this,_0x4dc111(0x32b),!0x1),(this['_configService']=_0x508ecb,this['_localStorageService']=_0x5ce58b,this[_0x4dc111(0x171)]=_0x4ae5ed);}[_0x64a570(0x303)](){this['_disabled']=!0x0;}[_0x64a570(0x2db)](){const _0x3b8c84=_0x64a570;this[_0x3b8c84(0x32b)]=!0x1;}get[_0x64a570(0x1b3)](){const _0x6715f1=_0x64a570;return this[_0x6715f1(0x1b4)];}[_0x64a570(0x2f7)](){const _0x53d27a=_0x64a570;this[_0x53d27a(0x230)]()[_0x53d27a(0x226)](()=>super[_0x53d27a(0x2f7)]());}async[_0x64a570(0x2fd)](_0x569f6c){const _0x3e3d1a=_0x64a570;return this[_0x3e3d1a(0x32b)]?null:this['_localStorageService'][_0x3e3d1a(0x181)](_0x517f52(_0x569f6c));}async[_0x64a570(0x14c)](_0x313b8e,_0x342134){const _0x5ccb1e=_0x64a570;return!!this[_0x5ccb1e(0x217)][_0x5ccb1e(0x2ce)](_0x313b8e,_0x342134);}['updateOfflineData'](_0x33d482,_0x34a784,_0x3feee7,_0x111766){const _0x1340da=_0x64a570,_0x3d3eb3=this[_0x1340da(0x171)]['getCurrentRevOfUnit'](_0x33d482);this[_0x1340da(0x1fa)][_0x1340da(0x247)](_0x33d482,{'unitID':_0x33d482,'type':_0x34a784,'awaitingChangeset':_0x3feee7,'mutations':_0x111766,'rev':_0x3d3eb3}),this[_0x1340da(0x1b4)][_0x1340da(0x209)](_0x33d482)||this['_scheduleSaving'](_0x33d482);}[_0x64a570(0x31f)](_0x3ddcfa){const _0x27a3cb=_0x64a570,_0x3fea86=this[_0x27a3cb(0x2c0)]();_0x3fea86===0x0?this[_0x27a3cb(0x204)](_0x3ddcfa):this[_0x27a3cb(0x1b4)][_0x27a3cb(0x247)](_0x3ddcfa,setTimeout(()=>this[_0x27a3cb(0x204)](_0x3ddcfa),_0x3fea86));}[_0x64a570(0x2c0)](){var _0x3c0e6e;return(_0x3c0e6e=this['_configService']['getConfig'](_0x1c911e))!=null?_0x3c0e6e:_0x3d84b0;}[_0x64a570(0x204)](_0x5df2a3){const _0x5985c5=_0x64a570,_0x4e3809=this[_0x5985c5(0x1b4)][_0x5985c5(0x2c8)](_0x5df2a3);return _0x4e3809!==void 0x0&&window[_0x5985c5(0x1ca)](_0x4e3809),this[_0x5985c5(0x217)]['setItem'](_0x517f52(_0x5df2a3),this[_0x5985c5(0x1fa)][_0x5985c5(0x2c8)](_0x5df2a3))['then'](()=>this[_0x5985c5(0x1b4)][_0x5985c5(0x20a)](_0x5df2a3));}async['exhaustSavingTask'](){const _0x31dea0=_0x64a570,_0x47f7bb=[];this[_0x31dea0(0x1b4)][_0x31dea0(0x2c4)]((_0x4d695a,_0x2d7c80)=>{const _0x76bee=_0x31dea0;window['clearTimeout'](_0x4d695a),_0x47f7bb[_0x76bee(0x19e)](this[_0x76bee(0x204)](_0x2d7c80)[_0x76bee(0x226)](()=>{const _0x106565=_0x76bee;this[_0x106565(0x1b4)][_0x106565(0x20a)](_0x2d7c80);}));}),await Promise[_0x31dea0(0x260)](_0x47f7bb);}};Le=_n([Ee(0x0,_0x379d2b),Ee(0x1,_0x4e8043),Ee(0x2,_0x31e7fe(_0x53ed6f))],Le);function _0x484b(_0x2cacc2,_0x4ba82d){const _0x2330ae=_0x2330();return _0x484b=function(_0x484b71,_0x19a2cc){_0x484b71=_0x484b71-0x136;let _0x3af0d8=_0x2330ae[_0x484b71];return _0x3af0d8;},_0x484b(_0x2cacc2,_0x4ba82d);}class hn extends _0x1f868b{constructor(){const _0x3cb88e=_0x64a570;super(),_(this,_0x3cb88e(0x336)),this['urlChange$']=_0x30298e(window,'popstate')[_0x3cb88e(0x1b9)](_0x2bd97e(this['dispose$']),_0x22003f(0x1),_0x48dbe9(void 0x0));}[_0x64a570(0x26c)](_0x1c4bf7,_0x258f03,_0x25a0a7=!0x1){const _0x42dfcf=_0x64a570,_0x633474=new URL(window[_0x42dfcf(0x233)][_0x42dfcf(0x293)]);_0x633474[_0x42dfcf(0x2a6)]['set'](_0x1c4bf7,_0x258f03),_0x25a0a7?window[_0x42dfcf(0x22c)][_0x42dfcf(0x32e)]('','',_0x633474['toString']()):window[_0x42dfcf(0x22c)][_0x42dfcf(0x32a)]('','',_0x633474[_0x42dfcf(0x241)]());}[_0x64a570(0x17b)](_0x4d35f3,_0x342543=!0x1){const _0x1c23e5=_0x64a570,_0xdd0c26=new URL(window['location'][_0x1c23e5(0x293)]);_0xdd0c26[_0x1c23e5(0x2a6)][_0x1c23e5(0x20a)](_0x4d35f3),_0x342543?window[_0x1c23e5(0x22c)]['replaceState']('','',_0xdd0c26[_0x1c23e5(0x241)]()):window['history'][_0x1c23e5(0x32a)]('','',_0xdd0c26['toString']());}['getParam'](_0x1a54ff){const _0x102f50=_0x64a570;var _0x591a63;return(_0x591a63=new URL(window[_0x102f50(0x233)][_0x102f50(0x293)])[_0x102f50(0x2a6)][_0x102f50(0x2c8)](_0x1a54ff))!=null?_0x591a63:void 0x0;}}var un=Object[_0x64a570(0x201)],dn=Object[_0x64a570(0x1d7)],fn=(_0x1f65f1,_0x29f325,_0x37d996)=>_0x29f325 in _0x1f65f1?un(_0x1f65f1,_0x29f325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37d996}):_0x1f65f1[_0x29f325]=_0x37d996,Sn=(_0x32ec6c,_0x1905a4,_0x1d4fd5,_0x4a2da1)=>{for(var _0x1f7c95=_0x4a2da1>0x1?void 0x0:_0x4a2da1?dn(_0x1905a4,_0x1d4fd5):_0x1905a4,_0x5c63eb=_0x32ec6c['length']-0x1,_0x5c2cb3;_0x5c63eb>=0x0;_0x5c63eb--)(_0x5c2cb3=_0x32ec6c[_0x5c63eb])&&(_0x1f7c95=_0x5c2cb3(_0x1f7c95)||_0x1f7c95);return _0x1f7c95;},be=(_0x4f5437,_0x578c86)=>(_0x5168dc,_0x1892f6)=>_0x578c86(_0x5168dc,_0x1892f6,_0x4f5437),mn=(_0x15c8e2,_0x2d1f95,_0x168250)=>fn(_0x15c8e2,_0x2d1f95+'',_0x168250);const gn=_0x64a570(0x1a8);let Ae=class extends _0x36458f{constructor(_0xf32af7=et,_0x161ee1,_0x3f75f1,_0x15976c){const _0x1966dd=_0x64a570;super(),this[_0x1966dd(0x1fd)]=_0xf32af7,this[_0x1966dd(0x1e3)]=_0x161ee1,this[_0x1966dd(0x24c)]=_0x3f75f1,this[_0x1966dd(0x1ef)]=_0x15976c;const {..._0x1bcc05}=_0x20f69b({},et,this['_config']);this[_0x1966dd(0x1ef)][_0x1966dd(0x1b8)](Zi,_0x1bcc05);}[_0x64a570(0x192)](){const _0x458cae=_0x64a570;this[_0x458cae(0x156)](),this[_0x458cae(0x27d)]();}[_0x64a570(0x137)](){const _0x58f4d2=_0x64a570;this[_0x58f4d2(0x20d)]();}[_0x64a570(0x156)](){const _0x427611=_0x64a570;var _0x557c91;const _0x2a58ee=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x8c7098,{'useClass':_0x115e8c}],[_0x1cfe94,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x40d7ab(this[_0x427611(0x24c)],_0x52d8e1(_0x2a58ee,(_0x557c91=this[_0x427611(0x1fd)])==null?void 0x0:_0x557c91[_0x427611(0x270)]));}['_registerRenderDependencies'](){const _0xfa0d9f=_0x64a570;this[_0xfa0d9f(0x199)](this[_0xfa0d9f(0x1e3)]['registerRenderModule'](_0x20393a[_0xfa0d9f(0x219)],[Pe])),this[_0xfa0d9f(0x199)](this['_renderManagerService'][_0xfa0d9f(0x27c)](_0x20393a[_0xfa0d9f(0x1c3)],[we]));}[_0x64a570(0x27d)](){const _0x215268=_0x64a570;_0x551233(this[_0x215268(0x24c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x64a570(0x16a),gn),Ae=Sn([_0x1ab186(_0x1ce9a9),be(0x1,_0x1e1d94),be(0x2,_0x31e7fe(_0x533dcb)),be(0x3,_0x379d2b)],Ae);var vn=Object[_0x64a570(0x1d7)],In=(_0x506094,_0x5a7879,_0x225c7b,_0xa26ea)=>{const _0x4a08e4=_0x64a570;for(var _0x2fe929=_0xa26ea>0x1?void 0x0:_0xa26ea?vn(_0x5a7879,_0x225c7b):_0x5a7879,_0x343356=_0x506094[_0x4a08e4(0x167)]-0x1,_0xc29c40;_0x343356>=0x0;_0x343356--)(_0xc29c40=_0x506094[_0x343356])&&(_0x2fe929=_0xc29c40(_0x2fe929)||_0x2fe929);return _0x2fe929;},K=(_0x592578,_0xc5a897)=>(_0x1242eb,_0x351f6e)=>_0xc5a897(_0x1242eb,_0x351f6e,_0x592578);let st=class extends _0x571743{constructor(_0x21b8ad,_0x20ea30,_0x16150c,_0x3d356d,_0x2293ce){super(_0x21b8ad,_0x20ea30,_0x16150c,_0x3d356d,_0x2293ce);}async[_0x64a570(0x18d)](_0x5c6712){const _0x4f4f06=_0x64a570,_0x5d586f=await this[_0x4f4f06(0x1d6)](),_0x5d47d8=this[_0x4f4f06(0x25e)](_0x5c6712,_0x5d586f);return this[_0x4f4f06(0x291)](_0x5d47d8);}[_0x64a570(0x25e)](_0x4b498f,_0x9e9c5){const _0x1f1a52=_0x64a570,_0xc37a74=typeof window>'u'?new URL(_0x4b498f):new URL(_0x4b498f,window[_0x1f1a52(0x233)][_0x1f1a52(0x14d)]);_0xc37a74[_0x1f1a52(0x2a6)][_0x1f1a52(0x247)]('sessionTicket',_0x9e9c5);const _0x37c3f0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1f1a52(0x233)][_0x1f1a52(0x1b1)]);return _0x37c3f0[_0x1f1a52(0x2c8)](_0x1f1a52(0x13d))&&_0xc37a74[_0x1f1a52(0x2a6)][_0x1f1a52(0x247)](_0x1f1a52(0x13d),_0x37c3f0['get']('runId')),_0xc37a74[_0x1f1a52(0x241)]();}async[_0x64a570(0x1d6)](){const _0x4cbb21=_0x64a570;var _0x5eb80a,_0x46d2fd,_0xf1522e;const _0x37a2d5=this[_0x4cbb21(0x1ef)][_0x4cbb21(0x284)](_0x26d7ce),_0x451674=(_0x5eb80a=_0x37a2d5==null?void 0x0:_0x37a2d5[_0x4cbb21(0x142)])!=null?_0x5eb80a:_0x27918a;return(_0xf1522e=(_0x46d2fd=(await this['_httpService']['get'](_0x451674,{'headers':{'Content-Type':'application/json'}}))[_0x4cbb21(0x16f)])==null?void 0x0:_0x46d2fd[_0x4cbb21(0x290)])!=null?_0xf1522e:'';}};st=In([K(0x0,_0x31e7fe(_0x533dcb)),K(0x1,_0x31e7fe(_0x1c5848)),K(0x2,_0x379d2b),K(0x3,_0x5e80c4),K(0x4,_0x1daf87)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x455ce9{constructor(){const _0x22db0e=_0x64a570;super(),_(this,_0x22db0e(0x1eb),_0x33fcde()),_(this,_0x22db0e(0x20f),new Set()),_(this,_0x22db0e(0x1fb),new Map()),_(this,_0x22db0e(0x200),null),_(this,_0x22db0e(0x1f5),new Map()),_(this,_0x22db0e(0x23f),new Map()),this['_init']();}[_0x64a570(0x2f7)](){const _0x44c331=_0x64a570;super[_0x44c331(0x2f7)](),this['_clearOtherTimers'][_0x44c331(0x2c4)]((_0x180453,_0xaaf17a)=>this[_0x44c331(0x2ed)](_0xaaf17a)),this[_0x44c331(0x200)]&&window[_0x44c331(0x1f4)](this[_0x44c331(0x200)]);}[_0x64a570(0x234)](_0x39b2ad){const _0x2d9922=_0x64a570;return this[_0x2d9922(0x22e)](_0x39b2ad)[_0x2d9922(0x1b9)](_0x364c5b());}[_0x64a570(0x1ab)](_0x5bc302){const _0x1b8746=_0x64a570;this[_0x1b8746(0x20f)][_0x1b8746(0x2e2)]===0x0&&this[_0x1b8746(0x21b)](),this[_0x1b8746(0x20f)]['add'](_0x5bc302),this[_0x1b8746(0x2f1)]({'type':0x0,'memberID':this[_0x1b8746(0x1eb)],'unitIDs':[_0x5bc302],'isForwarded':!0x1});}['disposeUnit'](_0x429aa4){const _0x3d063b=_0x64a570;this[_0x3d063b(0x20f)][_0x3d063b(0x20a)](_0x429aa4),this[_0x3d063b(0x20f)]['size']===0x0&&this[_0x3d063b(0x200)]&&window['clearInterval'](this[_0x3d063b(0x200)]);}['_init'](){const _0x23e5b7=_0x64a570;this[_0x23e5b7(0x199)](_0x3e0dad(_0x30298e(window,_0x23e5b7(0x337))[_0x23e5b7(0x13f)](_0x483ab4=>{const _0xd2acb6=_0x23e5b7;if(_0x483ab4[_0xd2acb6(0x190)]!==nt||!_0x483ab4['newValue'])return;const _0x46460b=JSON[_0xd2acb6(0x159)](_0x483ab4[_0xd2acb6(0x325)]);this[_0xd2acb6(0x1b7)](_0x46460b);}))),window[_0x23e5b7(0x287)]('unload',()=>this[_0x23e5b7(0x2f1)]({'type':0x1,'memberID':this[_0x23e5b7(0x1eb)],'unitIDs':Array['from'](this[_0x23e5b7(0x20f)])}));}[_0x64a570(0x1b7)](_0x2bfc89){const _0x3cbb26=_0x64a570;switch(_0x2bfc89['type']){case 0x0:this[_0x3cbb26(0x224)](_0x2bfc89);break;case 0x1:this[_0x3cbb26(0x1cb)](_0x2bfc89);break;case 0x2:this[_0x3cbb26(0x310)](_0x2bfc89);break;}}[_0x64a570(0x224)](_0xd98cbf){const _0x3ead41=_0x64a570,{unitIDs:_0x1032e6,memberID:_0x37d272,isForwarded:_0x3f8196}=_0xd98cbf;_0x1032e6[_0x3ead41(0x2c4)](_0x57160a=>{const _0x97d8c9=_0x3ead41;if(!_0x3f8196&&this['_unitOnClients'][_0x97d8c9(0x209)](_0x57160a)&&this[_0x97d8c9(0x22e)](_0x57160a)[_0x97d8c9(0x24a)](_0xa4f239[_0x97d8c9(0x238)]),!this[_0x97d8c9(0x1fb)][_0x97d8c9(0x209)](_0x57160a)||!this['_unitOnClients'][_0x97d8c9(0x2c8)](_0x57160a)[_0x97d8c9(0x209)](_0x37d272)){const _0x1f6c7b=this[_0x97d8c9(0x1fb)]['get'](_0x57160a)||new Set();_0x1f6c7b[_0x97d8c9(0x2b4)](_0x37d272),this[_0x97d8c9(0x1fb)][_0x97d8c9(0x247)](_0x57160a,_0x1f6c7b),this[_0x97d8c9(0x320)](_0x37d272);}}),_0x3f8196||this['_send']({'type':0x0,'memberID':this[_0x3ead41(0x1eb)],'unitIDs':[...this[_0x3ead41(0x20f)]],'isForwarded':!0x0});}[_0x64a570(0x320)](_0x24a49c){const _0x5e9d0d=_0x64a570;this['_removeClearOtherTimer'](_0x24a49c);const _0xf584bc=window[_0x5e9d0d(0x239)](()=>{const _0x32f176=_0x5e9d0d;this[_0x32f176(0x1fb)][_0x32f176(0x2c4)](_0xa1f5d8=>{const _0x2e0cef=_0x32f176;_0xa1f5d8[_0x2e0cef(0x20a)](_0x24a49c);});},it*0x2);this[_0x5e9d0d(0x1f5)][_0x5e9d0d(0x247)](_0x24a49c,_0xf584bc);}['_removeClearOtherTimer'](_0x5ddea3){const _0x518329=_0x64a570;if(this['_clearOtherTimers'][_0x518329(0x209)](_0x5ddea3)){const _0x4ee2f4=this[_0x518329(0x1f5)][_0x518329(0x2c8)](_0x5ddea3);_0x4ee2f4&&window[_0x518329(0x1ca)](_0x4ee2f4),this[_0x518329(0x1f5)][_0x518329(0x247)](_0x5ddea3,null);}}[_0x64a570(0x1cb)](_0x47928a){const _0x1f5178=_0x64a570,{memberID:_0x38d9aa,unitIDs:_0x14a352}=_0x47928a;_0x14a352[_0x1f5178(0x2c4)](_0x2e4cd3=>{const _0x66c69e=_0x1f5178;var _0x3ed452;const _0x51f10b=this[_0x66c69e(0x1fb)]['get'](_0x2e4cd3);_0x51f10b&&(_0x51f10b[_0x66c69e(0x20a)](_0x38d9aa),(_0x3ed452=this[_0x66c69e(0x22e)](_0x2e4cd3))==null||_0x3ed452[_0x66c69e(0x24a)](_0x51f10b[_0x66c69e(0x2e2)]===0x0?_0xa4f239[_0x66c69e(0x322)]:_0xa4f239[_0x66c69e(0x238)]));}),this[_0x1f5178(0x2ed)](_0x38d9aa);}[_0x64a570(0x310)](_0x5c173f){const _0x40844a=_0x64a570;this[_0x40844a(0x320)](_0x5c173f[_0x40844a(0x1e7)]);}[_0x64a570(0x2f1)](_0x3bf2fc){const _0x54c906=_0x64a570;localStorage[_0x54c906(0x2ce)](nt,JSON['stringify'](_0x3bf2fc));}['_scheduleHeartbeat'](){const _0xc63612=_0x64a570;this[_0xc63612(0x200)]=window[_0xc63612(0x274)](()=>{const _0x296574=_0xc63612;this['_send']({'type':0x2,'memberID':this[_0x296574(0x1eb)]});},it);}[_0x64a570(0x22e)](_0x3e6a75){const _0xe57198=_0x64a570;return this[_0xe57198(0x23f)][_0xe57198(0x209)](_0x3e6a75)||this['_unitStatus'][_0xe57198(0x247)](_0x3e6a75,new _0x2241b1(_0xa4f239[_0xe57198(0x322)])),this['_unitStatus'][_0xe57198(0x2c8)](_0x3e6a75);}}var Mt=(_0x511e2a=>(_0x511e2a[_0x511e2a['UNDEFINED']=0x0]=_0x64a570(0x1df),_0x511e2a[_0x511e2a['OK']=0x1]='OK',_0x511e2a[_0x511e2a[_0x64a570(0x1ae)]=0x2]=_0x64a570(0x1ae),_0x511e2a[_0x511e2a[_0x64a570(0x1ed)]=0x3]=_0x64a570(0x1ed),_0x511e2a[_0x511e2a[_0x64a570(0x335)]=0x4]=_0x64a570(0x335),_0x511e2a[_0x511e2a[_0x64a570(0x2bc)]=0x5]=_0x64a570(0x2bc),_0x511e2a[_0x511e2a[_0x64a570(0x2fe)]=0x6]='ALREADY_EXISTS',_0x511e2a[_0x511e2a[_0x64a570(0x146)]=0x7]=_0x64a570(0x146),_0x511e2a[_0x511e2a[_0x64a570(0x1bc)]=0x8]='TOO_MANY_REQUESTS',_0x511e2a[_0x511e2a[_0x64a570(0x273)]=0x9]=_0x64a570(0x273),_0x511e2a[_0x511e2a[_0x64a570(0x316)]=0xa]=_0x64a570(0x316),_0x511e2a[_0x511e2a[_0x64a570(0x2d0)]=0x1389]=_0x64a570(0x2d0),_0x511e2a[_0x511e2a[_0x64a570(0x2aa)]=0x1771]=_0x64a570(0x2aa),_0x511e2a[_0x511e2a[_0x64a570(0x15f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x511e2a[_0x511e2a[_0x64a570(0x23c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x511e2a[_0x511e2a[_0x64a570(0x26d)]=0x1b59]=_0x64a570(0x26d),_0x511e2a[_0x511e2a[_0x64a570(0x1dc)]=0x1b5a]=_0x64a570(0x1dc),_0x511e2a[_0x511e2a[_0x64a570(0x2d6)]=0x1b5b]=_0x64a570(0x2d6),_0x511e2a[_0x511e2a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x64a570(0x277),_0x511e2a[_0x511e2a[_0x64a570(0x1d5)]=0x1b5d]='APPLY_DUPLICATED',_0x511e2a[_0x511e2a[_0x64a570(0x332)]=0x1f41]=_0x64a570(0x332),_0x511e2a[_0x511e2a[_0x64a570(0x339)]=0x2329]=_0x64a570(0x339),_0x511e2a[_0x511e2a[_0x64a570(0x21e)]=0x232a]=_0x64a570(0x21e),_0x511e2a[_0x511e2a[_0x64a570(0x330)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x511e2a[_0x511e2a[_0x64a570(0x15a)]=0x232c]=_0x64a570(0x15a),_0x511e2a[_0x511e2a[_0x64a570(0x21a)]=0x232d]=_0x64a570(0x21a),_0x511e2a[_0x511e2a[_0x64a570(0x2ef)]=0x2711]=_0x64a570(0x2ef),_0x511e2a[_0x511e2a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x64a570(0x148),_0x511e2a[_0x511e2a[_0x64a570(0x2eb)]=0x2713]=_0x64a570(0x2eb),_0x511e2a[_0x511e2a[_0x64a570(0x305)]=0x2714]=_0x64a570(0x305),_0x511e2a[_0x511e2a[_0x64a570(0x2fc)]=0x271a]=_0x64a570(0x2fc),_0x511e2a[_0x511e2a[_0x64a570(0x2ac)]=0x271b]=_0x64a570(0x2ac),_0x511e2a[_0x511e2a[_0x64a570(0x17f)]=0x2af9]=_0x64a570(0x17f),_0x511e2a[_0x511e2a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x64a570(0x2e6),_0x511e2a[_0x511e2a[_0x64a570(0x245)]=0x2ee2]='INVALID_INVITE_CODE',_0x511e2a[_0x511e2a[_0x64a570(0x2af)]=0x2ee3]=_0x64a570(0x2af),_0x511e2a[_0x511e2a['USER_NOT_INVITED_CODE']=0x2ee4]=_0x64a570(0x1c1),_0x511e2a[_0x511e2a[_0x64a570(0x187)]=0x2ee5]=_0x64a570(0x187),_0x511e2a[_0x511e2a[_0x64a570(0x1a3)]=0x32c9]=_0x64a570(0x1a3),_0x511e2a[_0x511e2a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x64a570(0x1c2),_0x511e2a[_0x511e2a[_0x64a570(0x252)]=0x32cb]=_0x64a570(0x252),_0x511e2a[_0x511e2a[_0x64a570(0x2e1)]=-0x1]=_0x64a570(0x2e1),_0x511e2a))(Mt||{}),pn=Object[_0x64a570(0x1d7)],Cn=(_0x4fe531,_0x2830b9,_0x56fdf3,_0x1874b6)=>{const _0x34e9a7=_0x64a570;for(var _0x1ccaee=_0x1874b6>0x1?void 0x0:_0x1874b6?pn(_0x2830b9,_0x56fdf3):_0x2830b9,_0x22f87b=_0x4fe531[_0x34e9a7(0x167)]-0x1,_0x146c3d;_0x22f87b>=0x0;_0x22f87b--)(_0x146c3d=_0x4fe531[_0x22f87b])&&(_0x1ccaee=_0x146c3d(_0x1ccaee)||_0x1ccaee);return _0x1ccaee;},Oe=(_0x1af9bc,_0x7cf446)=>(_0x2e61fc,_0x2469b4)=>_0x7cf446(_0x2e61fc,_0x2469b4,_0x1af9bc);let rt=class extends _0x455ce9{constructor(_0xeb20ca,_0x1a1b93,_0x586426){const _0x546f89=_0x64a570;super(),this['_instanceService']=_0xeb20ca,this[_0x546f89(0x189)]=_0x1a1b93,this[_0x546f89(0x1ef)]=_0x586426;}async[_0x64a570(0x144)](_0x163006,_0x5550a2,_0x767239,..._0x33278e){const _0x4bc0b8=_0x64a570;var _0x5856f9,_0x44ac65,_0x57c302,_0x14dc23;const _0x1ac0df=this['_instanceService'][_0x4bc0b8(0x216)]();if(!_0x1ac0df)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1afd8f=((_0x5856f9=this[_0x4bc0b8(0x1ef)][_0x4bc0b8(0x284)](_0x1444f7))!=null?_0x5856f9:_0x565fbd)+'/'+_0x163006+_0x4bc0b8(0x309)+_0x5550a2,_0x461f2e=new URL(window[_0x4bc0b8(0x233)][_0x4bc0b8(0x293)]),_0x3522f7={'scriptId':_0x163006,'runId':(_0x44ac65=_0x461f2e[_0x4bc0b8(0x2a6)][_0x4bc0b8(0x2c8)](_0x4bc0b8(0x13d)))!=null?_0x44ac65:'','function':_0x5550a2,'unitId':_0x1ac0df['getUnitId'](),'argsOfFunction':JSON[_0x4bc0b8(0x313)](_0x33278e),'invokeId':(_0x57c302=_0x767239[_0x4bc0b8(0x312)])!=null?_0x57c302:'','executionId':(_0x14dc23=_0x767239['executionId'])!=null?_0x14dc23:''};try{const _0x4eabd1=await this[_0x4bc0b8(0x189)]['post'](_0x1afd8f,{'body':_0x3522f7});return _0x4eabd1[_0x4bc0b8(0x16f)][_0x4bc0b8(0x31c)]&&_0x4eabd1[_0x4bc0b8(0x16f)]['error'][_0x4bc0b8(0x1a7)]!==Mt['OK']?_0x4bc0b8(0x2e9):_0x4eabd1['body'][_0x4bc0b8(0x27f)];}catch{return _0x4bc0b8(0x2e9);}}};rt=Cn([Oe(0x0,_0x58d7bd),Oe(0x1,_0x31e7fe(_0x1c5848)),Oe(0x2,_0x379d2b)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x155800=_0x566c;function _0x566c(_0x5944a4,_0x2fa860){const _0x1f3837=_0x1f38();return _0x566c=function(_0x566cdb,_0x2d5310){_0x566cdb=_0x566cdb-0x9e;let _0x5b4c76=_0x1f3837[_0x566cdb];return _0x5b4c76;},_0x566c(_0x5944a4,_0x2fa860);}(function(_0x59ec82,_0x5048e3){const _0x13c96c=_0x566c,_0x86b590=_0x59ec82();while(!![]){try{const _0x310cc5=parseInt(_0x13c96c(0xa5))/0x1+parseInt(_0x13c96c(0xa2))/0x2*(parseInt(_0x13c96c(0xa7))/0x3)+parseInt(_0x13c96c(0x9f))/0x4*(-parseInt(_0x13c96c(0x9e))/0x5)+-parseInt(_0x13c96c(0xb0))/0x6*(parseInt(_0x13c96c(0xab))/0x7)+parseInt(_0x13c96c(0xad))/0x8+-parseInt(_0x13c96c(0xa1))/0x9*(-parseInt(_0x13c96c(0xb1))/0xa)+-parseInt(_0x13c96c(0xa8))/0xb;if(_0x310cc5===_0x5048e3)break;else _0x86b590['push'](_0x86b590['shift']());}catch(_0x4ce123){_0x86b590['push'](_0x86b590['shift']());}}}(_0x1f38,0xa0073));const e={'collab-client':{'tooltip':{'reconnect':_0x155800(0xb4)}},'collabStatus':{'fetchMiss':_0x155800(0xa9),'conflict':_0x155800(0xaa),'notCollab':_0x155800(0xae),'synced':_0x155800(0xaf),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x155800(0xb2),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x155800(0xac)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x155800(0xa4)},'permission':{'title':_0x155800(0xa6),'content':_0x155800(0xa0)},'collaboration':{'single-unit':{'warning':_0x155800(0xb5)},'closeRoom':_0x155800(0xa3)},'auth':{'needGotoLoginAlert':_0x155800(0xb3)}};export{e as default};function _0x1f38(){const _0x1b0c77=['3176ftacZY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7893243ndTmgY','76748LZZqzr','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.','692982aItRaf','Authentication\x20Error','9TxqZfr','3879282zZkEIX','Syncing\x20server\x20data...','Edit\x20conflicts','7huhiyX','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','7562536DRmtEg','Local\x20file','Synced','7085082vEiBML','10EhBQwW','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2780iUZFiG'];_0x1f38=function(){return _0x1b0c77;};return _0x1f38();}
1
+ const _0x4a4c80=_0xd17f;function _0xd17f(_0x2e97b4,_0x56ffa1){const _0xecb131=_0xecb1();return _0xd17f=function(_0xd17f90,_0x17b6c2){_0xd17f90=_0xd17f90-0xad;let _0x27168f=_0xecb131[_0xd17f90];return _0x27168f;},_0xd17f(_0x2e97b4,_0x56ffa1);}function _0xecb1(){const _0x141793=['1612557VXRELU','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','16xBkIlY','25994TycHFu','140qfQftj','Edit\x20conflicts','16uzVZUz','46539LtbIar','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3530016UNRnMs','10109phnxKw','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','85002KusfwP','1190QSzcrq','181932ZiRiYl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0xecb1=function(){return _0x141793;};return _0xecb1();}(function(_0x312dd0,_0x2d919c){const _0x17236b=_0xd17f,_0x59a8f0=_0x312dd0();while(!![]){try{const _0x517ef7=-parseInt(_0x17236b(0xb9))/0x1*(parseInt(_0x17236b(0xb6))/0x2)+parseInt(_0x17236b(0xb3))/0x3+-parseInt(_0x17236b(0xaf))/0x4+-parseInt(_0x17236b(0xb7))/0x5*(parseInt(_0x17236b(0xad))/0x6)+parseInt(_0x17236b(0xc0))/0x7+parseInt(_0x17236b(0xb5))/0x8*(-parseInt(_0x17236b(0xba))/0x9)+parseInt(_0x17236b(0xae))/0xa*(-parseInt(_0x17236b(0xc1))/0xb);if(_0x517ef7===_0x2d919c)break;else _0x59a8f0['push'](_0x59a8f0['shift']());}catch(_0x5ac90d){_0x59a8f0['push'](_0x59a8f0['shift']());}}}(_0xecb1,0x42679));const e={'collab-client':{'tooltip':{'reconnect':_0x4a4c80(0xbb)}},'collabStatus':{'fetchMiss':_0x4a4c80(0xc3),'conflict':_0x4a4c80(0xb8),'notCollab':_0x4a4c80(0xb1),'synced':_0x4a4c80(0xbe),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4a4c80(0xb4),'room-full':_0x4a4c80(0xb2),'collaboration-timeout':_0x4a4c80(0xb0)},'conflict':{'title':_0x4a4c80(0xbd),'content':'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.'},'permission':{'title':'Authentication\x20Error','content':_0x4a4c80(0xc2)},'collaboration':{'single-unit':{'warning':_0x4a4c80(0xbf)},'closeRoom':_0x4a4c80(0xbc)},'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 _0x1d64b7=_0x13cc;function _0x13cc(_0x4c5038,_0x32201d){const _0x3689a4=_0x3689();return _0x13cc=function(_0x13cc87,_0x81d628){_0x13cc87=_0x13cc87-0x98;let _0x3be7ba=_0x3689a4[_0x13cc87];return _0x3be7ba;},_0x13cc(_0x4c5038,_0x32201d);}(function(_0x685b1b,_0x1f5bfa){const _0x126db6=_0x13cc,_0x48e49d=_0x685b1b();while(!![]){try{const _0x4d76ac=-parseInt(_0x126db6(0x9a))/0x1*(parseInt(_0x126db6(0xa6))/0x2)+parseInt(_0x126db6(0xa7))/0x3*(parseInt(_0x126db6(0xaf))/0x4)+-parseInt(_0x126db6(0xac))/0x5*(-parseInt(_0x126db6(0x98))/0x6)+-parseInt(_0x126db6(0xa5))/0x7*(-parseInt(_0x126db6(0xaa))/0x8)+parseInt(_0x126db6(0xae))/0x9*(-parseInt(_0x126db6(0xad))/0xa)+parseInt(_0x126db6(0x9b))/0xb*(parseInt(_0x126db6(0x9f))/0xc)+-parseInt(_0x126db6(0x9d))/0xd;if(_0x4d76ac===_0x1f5bfa)break;else _0x48e49d['push'](_0x48e49d['shift']());}catch(_0x2f03ef){_0x48e49d['push'](_0x48e49d['shift']());}}}(_0x3689,0xac588));const o={'collab-client':{'tooltip':{'reconnect':_0x1d64b7(0xa2)}},'collabStatus':{'fetchMiss':_0x1d64b7(0xa8),'conflict':'تداخل\x20ویرایش','notCollab':_0x1d64b7(0x9e),'synced':_0x1d64b7(0xa9),'syncing':_0x1d64b7(0xb1),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x1d64b7(0xa1),'will-retry':_0x1d64b7(0xa0),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x1d64b7(0xa4)},'conflict':{'title':_0x1d64b7(0xb0),'content':'یک\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رفت.'},'permission':{'title':_0x1d64b7(0x99),'content':_0x1d64b7(0xa3)},'collaboration':{'single-unit':{'warning':_0x1d64b7(0x9c)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x1d64b7(0xab)}};export{o as default};function _0x3689(){const _0x2c1d5b=['خطای\x20اعتبارسنجی','325462MkvQnv','12979989hgZpaB','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','9922835WniWej','پرونده\x20محلی','12jpQghH','اتصال\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محلی\x20ذخیره\x20می\x20شوند.','7HySwNO','4CUPNJL','3tqqoDS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','همگام\x20سازی','5841728dPXZaV','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','5XGWCeA','3160wipXWZ','27252mDeCqA','13936KoxDZI','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','6979776KqbUxY'];_0x3689=function(){return _0x2c1d5b;};return _0x3689();}
1
+ function _0x13c4(){const _0x1a2ff4=['40arKgwQ','در\x20حال\x20همگام\x20سازی...','تداخل\x20همکاری','5443XpFlku','1240090dQjfuZ','1942422COnRXq','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','3493980yRzHXX','تداخل\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جای\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کنیم.','1201132ThQfhH','4001776PWyhgP','7nOcbwy','382596gzNluQ','همگام\x20سازی'];_0x13c4=function(){return _0x1a2ff4;};return _0x13c4();}const _0x2044b6=_0x2559;(function(_0x36c324,_0x18cc03){const _0x2b4ecb=_0x2559,_0x5f15ce=_0x36c324();while(!![]){try{const _0x4f15c3=parseInt(_0x2b4ecb(0x7d))/0x1*(parseInt(_0x2b4ecb(0x7a))/0x2)+-parseInt(_0x2b4ecb(0x78))/0x3+parseInt(_0x2b4ecb(0x75))/0x4+parseInt(_0x2b4ecb(0x7e))/0x5+-parseInt(_0x2b4ecb(0x7f))/0x6+-parseInt(_0x2b4ecb(0x77))/0x7*(-parseInt(_0x2b4ecb(0x76))/0x8)+-parseInt(_0x2b4ecb(0x81))/0x9;if(_0x4f15c3===_0x18cc03)break;else _0x5f15ce['push'](_0x5f15ce['shift']());}catch(_0x5b3cc4){_0x5f15ce['push'](_0x5f15ce['shift']());}}}(_0x13c4,0x4d9c6));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2044b6(0x80),'conflict':_0x2044b6(0x82),'notCollab':'پرونده\x20محلی','synced':_0x2044b6(0x79),'syncing':_0x2044b6(0x7b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x2044b6(0x72),'will-retry':_0x2044b6(0x74),'room-full':_0x2044b6(0x73),'collaboration-timeout':_0x2044b6(0x83)},'conflict':{'title':_0x2044b6(0x7c),'content':_0x2044b6(0x84)},'permission':{'title':_0x2044b6(0x71),'content':_0x2044b6(0x6f)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x2044b6(0x70)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x2559(_0xbdcea1,_0x890c72){const _0x13c483=_0x13c4();return _0x2559=function(_0x2559b8,_0x1a11b1){_0x2559b8=_0x2559b8-0x6f;let _0x5f77a=_0x13c483[_0x2559b8];return _0x5f77a;},_0x2559(_0xbdcea1,_0x890c72);}export{o as default};