@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507071607 → 0.9.1-nightly.202507081607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4b8403=_0x51b8;(function(_0x543947,_0x41af54){const _0x5db50c=_0x51b8,_0x581e34=_0x543947();while(!![]){try{const _0x2ada18=-parseInt(_0x5db50c(0xfb))/0x1+-parseInt(_0x5db50c(0x1bd))/0x2*(parseInt(_0x5db50c(0xf8))/0x3)+-parseInt(_0x5db50c(0x14d))/0x4*(parseInt(_0x5db50c(0x2d3))/0x5)+-parseInt(_0x5db50c(0xe2))/0x6*(parseInt(_0x5db50c(0x216))/0x7)+parseInt(_0x5db50c(0xe1))/0x8+-parseInt(_0x5db50c(0x253))/0x9+parseInt(_0x5db50c(0x259))/0xa;if(_0x2ada18===_0x41af54)break;else _0x581e34['push'](_0x581e34['shift']());}catch(_0x36f719){_0x581e34['push'](_0x581e34['shift']());}}}(_0x7c2a,0x86a5c));var $t=Object[_0x4b8403(0xf1)],xt=(_0x56c00e,_0x43aba6,_0x555de2)=>_0x43aba6 in _0x56c00e?$t(_0x56c00e,_0x43aba6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555de2}):_0x56c00e[_0x43aba6]=_0x555de2,_=(_0x578d53,_0x13ef9f,_0xdc5907)=>xt(_0x578d53,typeof _0x13ef9f!=_0x4b8403(0x19a)?_0x13ef9f+'':_0x13ef9f,_0xdc5907);import{MemberService as _0x56a430,SessionStatus as _0xd863f9,CollaborationSessionService as _0x204357,CollaborationStatus as _0xb48ee1,CollaborationController as _0x1d505a,ILocalCacheService as _0x12db7b,CollaborationUIEventService as _0x43216a,CollaborationUIEventId as _0x667d73,DataLoaderService as _0x1f743d,DocCollaborationEntity as _0x2d0bde,getLocalCacheKey as _0x2312d9,LOCAL_CACHE_INTERVAL as _0x328378,LOCAL_CACHE_INTERVAL_KEY as _0x5b8693,UniverCollaborationClientPlugin as _0x529c93,CollaborationSocketService as _0x2d89c8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1838fd,DEFAULT_WS_SESSION_TICKET_URL as _0x23930f,UnitStatus as _0x1ddaf5,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x23b11f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3bbbfc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x12fc3c,Disposable as _0x25f44f,DOC_RANGE_TYPE as _0x19f8b5,Inject as _0x4fcb99,Injector as _0x496630,IUniverInstanceService as _0x226365,ICommandService as _0x5ca9d5,debounce as _0x4c14b3,Rectangle as _0x32293b,DisposableCollection as _0x4c4dbb,toDisposable as _0x3effaf,UniverInstanceType as _0x4f0329,Tools as _0x433547,COLORS as _0x3d3064,ColorKit as _0x3dc5fa,ThemeService as _0x4bdd18,fromEventSubject as _0x1954f0,LocaleService as _0x3cf543,createIdentifier as _0x3ca16e,ILogService as _0x245136,Optional as _0x4937ef,Workbook as _0x1c0888,CommandType as _0x40d810,IConfigService as _0x246140,ILocalStorageService as _0x4fffb1,DependentOn as _0x5498f9,Plugin as _0x395aa0,merge as _0x1f921a,registerDependencies as _0xe6e78c,mergeOverrideWithDependencies as _0x39f7c1,touchDependencies as _0x28f4fa,generateRandomId as _0x38d112}from'@univerjs/core';import{Shape as _0x510d8b,Rect as _0x2142a4,getColor as _0x6b5afb,RegularPolygon as _0x51211d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x22a470,Vector2 as _0x199699,SHEET_VIEWPORT_KEY as _0x16b1ef,IRenderManagerService as _0x3b1b24}from'@univerjs/engine-render';function _0x51b8(_0x3ab070,_0x212423){const _0x7c2a47=_0x7c2a();return _0x51b8=function(_0x51b898,_0x2d1a3f){_0x51b898=_0x51b898-0xc7;let _0x1e4dba=_0x7c2a47[_0x51b898];return _0x1e4dba;},_0x51b8(_0x3ab070,_0x212423);}import{ISocketService as _0x516630,WebSocketService as _0x3de6aa,HTTPService as _0x17bcb5}from'@univerjs/network';import{IDocClipboardService as _0x1352d3,NodePositionConvertToCursor as _0x23dbae,NodePositionConvertToRectRange as _0x304df1,TEXT_RANGE_LAYER_INDEX as _0xdabfee,SetDocZoomRatioOperation as _0x15359e,DocIMEInputManagerService as _0x2ee6b6,DocStateChangeManagerService as _0x48d97e}from'@univerjs/docs-ui';import{IImageIoService as _0x1fd713}from'@univerjs/drawing';import{BehaviorSubject as _0x113d14,debounceTime as _0x3118e2,takeUntil as _0x5271b5,Subject as _0x3a32aa,filter as _0x45bee6,switchMap as _0x28364b,merge as _0x184203,combineLatest as _0x484c27,of as _0x42a10c,fromEvent as _0x8c7788,shareReplay as _0x21872a,mapTo as _0x1e34f7,distinctUntilChanged as _0x16ef2f}from'rxjs';import{ITransformService as _0x2c4c8a,CollaborationEvent as _0x54d3b1,isTransformMutationFailure as _0x2f91e9,isTransformMutationsWithChangesetSuccess as _0x4475b7,RevisionService as _0x3b7ba2,ISnapshotServerService as _0x83573d}from'@univerjs-pro/collaboration';function _0x7c2a(){const _0x3edc84=['mutations','_backgroundColor','getSheetId','_assignedColors','getSheetBySheetId','docStateChange$','SYNCED','_colorIndex','stringify','setTimeout','7bWNduO','save','_themeService','text','NOT_FOUND','off-line-icon_clip0_910_343','sessionStatus$','textRanges','/run/','endRow','_handleLeaveEvent','_colorAssignService','_toggleOffline','YUUMI_CONNECTOR_URL_NOT_FOUND','_startDocCollabCursor','_session','M0\x200H16V16H0z','YUUMI_RATE_OVER_LIMIT','none','_httpService','runId','onPointerLeave$','onMouseMove','error','size','flatMap','unload','unit','activeSheet$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','0\x200\x2017\x2016','session.connection-failed','random','PY_RUNTIME_SCRIPT_ERROR','collabStatus.synced','setParam','length','selection','UNDEFINED','round','clipPath','replace','search','_toggleOnline','_docClipboardService','href','transformIMECache','_hovered','mask','_configService','getStateCache','makeDirty','addObject','_document','_roomMembers$','ranges','startRow','_render','uni.network.url-service','addHandlerCallback','Warning','1075824JxxKSn','saveTaskMap','parse','isEditing','fillStyle','show','21227800IplRvI','path','init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentTheme$','imageSourceType','_instanceService','invokeId','_getSessionTicket','map','collaboration-client.offline-data-not-saved','setInterval','RemoveColCommandId','_heartbeatTimer','roomMembers$','wsSessionTicketUrl','call','createSocket','InsertRangeMoveDownCommandId','skeleton','PENDING','trim','APPLY_PERMISSION_DENIED','COMPLETION_FINISHED','clearInterval','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','measureText','black','PERMISSION_DENIED','SNAPSHOT_INVALID_SNAPSHOT','doc.mutation.rich-text-editing','_id','attrs','USER_NOT_INVITED_CODE','ENSURE_SNAPSHOT_EXECUTION','AWAITING_WITH_PENDING','_online','executionId','drawWith','colorChannel1','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_updateSubUnitFromURLParams','collabStatus.fetchMiss','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','_send','requireSession','propertyIsEnumerable','EMAIL_VERIFY_CODE_MISMATCH','permission.content','CHANGESET_REVISION_CONFILICT','url(#on-line-icon_clip0_910_349)','has','http://www.w3.org/2000/svg','backgroundColor','UniverIcon','_anchorDot','getOwnPropertySymbols','newValue','JOIN_ROOM_FAILED','_initEntityListener','defIds','collabStatus.offline','getActiveRange','INVITE_CODE_ALREADY_BOUND','addObjects','getValue','row','LICENSE_IMPORT_SIZE_EXCEEDED','assign','_textBubble','onPointerMove$','getUnitId','on-line-icon','transformRemoteChangeset','_messageService','some','editingUnit','_memberService','UNIVER_DOC','replaceDocRanges','_docTransformSelectionsService','getRangePointData','storage','popstate','getConfig','_config','getAncestorScale','ALREADY_EXISTS','_localeService','transform','_hover','pushState','transformMutation','_beforeCloseService','_setupBeforeClosingHandler','contains','_saveCache','_refreshCollabCursors','_cursorInfo$','yellow.400','_imageIoService','getSkeleton','subscribeEvent','sheetId','undoState','url(#off-line-icon_clip0_910_343)','getUnitStatus$','_localCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','unitID','setActiveRange','_sheetSkeletonManagerService','type','NO_OTHER_CLIENTS_EDITING','pipe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','next','_initResize','_localStorageService','_drawRectRange','labelPosition','5VenIPj','origin','unshift','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','fillText','ONLINE','getCollabCursors$','getCollabEntity$','className','_logService','_unitOnClients','icon','collabCursorState$','EMAIL_HAS_BEEN_BOUND','setItem','selections','set','_initCommandExecutedListener','_shapes','INVALID_INVITE_CODE','_renderManagerService','with','searchParams','YUUMI_AI_RUN_FAILED','OnLineIcon','USERS_LEAVE','_labelPosition','onTransformChange$','height','_drawTextRange','_selfUnitIDs','Error','InsertRowCommandId','2333312gygLvm','568530MERJSp','_injector','subUnitId','params','tag','_updateURLWithCurrentState','prototype','_getSheetObject','_docStateChangeManagerService','Failed','getTypeOfUnitDisposed$','UNRECOGNIZED','_ensureSubject','disposeWithMe','_initStatusComponent','defineProperty','[CollaborationDataLoaderController]','_context','_registerDependencies','InsertColCommandId','includes','_unitStatus','4359WcJGjJ','_onCursorDelete','_docSkeletonManagerService','494607Pxilai','entries','application/json','_collabCursorState$','redoState','APPLY_DUPLICATED','MOBILE_VERIFY_CODE_MISMATCH','currentColor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','event$','VIEW_MAIN','...','column','WECHAT_HAS_BEEN_BOUND','m1Prime','_registerRenderDependencies','_handleHeartbeatEvent','data','forEach','_getSaveTimeout','on-line-icon_clip0_910_349','setConfig','FromArray','currentSkeleton$','status$','transformStateCache','toRgbString','debug','split','deepClone','hide','isActive','Unknown\x20user','div','LICENSE_EXPORT_SIZE_EXCEEDED','_handleHover','use','_status$','pluginName','getTypeOfUnitAdded$','_clearOtherTimers','1em','_docSyncEditingCollabCursorService','INVITE_CODE_REQUIRED','_initStatusListener','source','registerRenderModule','defs','transformMutationsWithChangeset','LICENSE_DISTRO_REJECTED','concat','UPDATE_CURSOR','TEXT','isArray','collaboration-client-ui.config','_name','DeleteRangeMoveLeftCommandId','result','OFFLINE','getDocRanges','_syncEditingCollabCursorService','getColorFromTheme','_univerInstanceService','_entities','xlink:href','startsWith','RECT','memberID','_cursorShapes','_range','post','getParam','updateOfflineData','_collabCursorController','displayName','findNodePositionByCharIndex','collab-client.tooltip.reconnect','APPLY_REVISION_CONFILICT','TOO_MANY_REQUESTS','_draw','LOGIN_FAILED','_anchor','3041068lRdiiO','indexOf','CONNECTOR_DATA_TOO_LARGE','getFocusedUnit','_cachedData','_eventUnsubscribe','current','delete','focused$','getMergeData','dispose','_collaborationUIEventService','color','idSuffix','loadOfflineData','from','_initDependencies','moveTo','_updateCollabCursors','children','univer-mr-2\x20univer-flex\x20univer-text-xl','getMember','then','actions','_commandService','_transformHistoryAndStateStack','LICENSE_MAX_UNITS_EXCEEDED','OTHER_CLIENTS_EDITING','fill','getMemberID','green.600','CLOSE_ROOM','_scheduleHeartbeat','beginPath','unsubscribe','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','_removeClearOtherTimer','getOffsetConfig','fillRule','toString','hasOwnProperty','arc','collab-rect-range-','triggerDblclick','APPLY_REJECT','InsertRangeMoveRightCommandId','getViewport','_collabSessionService','_init','getCurrentSelections','key','rgba(255,\x20255,\x20255,\x200.01)','createInstance','asObservable','NOT_COLLAB','_onRefRangeChange','permission.title','white','reconnect','_docTransformStateCacheService','_revisionService','eventID','UNIVER_SHEET','_saveTaskMap','substring','unitId','_lastPointer','string','get','getOwnPropertyDescriptor','setStateCache','getRenderById','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','complete','RemoveRowCommandId','symbol','startColumn','setShapeProps','all','svg','location','range','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','_cursors','_removeCollabCursors','#FFF','_refRangeService','subscribe','_updateLocalCursor','univer-flex\x20univer-items-center','_scene','SNAPSHOT_HAS_BEEN_REMOVED','cursorInfo','getCurrentRevOfUnit','width','_notificationService','extend','_setupSubUnitSync','sheetID','_docSkeleton','url(#$1','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SOCKET_FAILED','add','_uiPartsService','find','APPLY_NON_SEQUENTIAL_REVISION','getActiveSheet','_color','542JZppZx','assignAColorForMemberID','getCellPositionByOffset','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','syncEditingCollabCursor','red.300','HEADER_MENU','_doCreateSocket','collab-text-range-','cursorInfo$','body','_handleJoinEvent','engine','getCurrentUnitForType','dispose$','_getMergeRange','_collaborationController','_hideTimer','_createSocketURL','_dataLoaderService','urlChange$','_getAnchorBounding','SUBMIT_CHANGESET_TIMEOUT','getUndoRedoMutationParamsCache','subunit','entityInit$','CONFLICT','restore','univerjs-icon\x20univerjs-icon-','lineTo','_entityInit$','_urlService','send','_disabled','onCommandExecuted','whenReady','name','_onCursorUpdate','_cursor','closePath','onLocalMutation','enableLocalCache','saveOfflineData','exhaustSavingTask','executeCommand','MoveRangeCommandId','_getScale','YUUMI_ALL_TABLES_IS_INVALID','transformSelections','collaboration.closeRoom','generateRandomId','OTHER_CLIENT_EDITING','disableLocalCache','history','YUUMI_NO_CUBOID_FOR_QUESTION','_initEvent','min','getVpScrollXYInfoByPosToVp','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','UNAUTHENTICATED','DeleteRangeMoveUpCommandId','_docTransformIMECacheService','endColumn','_scheduleSaving','clearTimeout','collab-text-anchor-','_handleEvent','collabStatus.conflict','push','onRendered','_drawAnchor','onStarting','m2Prime','registerRefRange','loadUnit','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','values'];_0x7c2a=function(){return _0x3edc84;};return _0x7c2a();}import{SetTextSelectionsOperation as _0x14dc68,RichTextEditingMutation as _0x4f359a,DocSelectionManagerService as _0x4a1d2a,DocSkeletonManagerService as _0x30fcfc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3de79a,serializeRangeWithSheet as _0x3c3bd5}from'@univerjs/engine-formula';import{RefRangeService as _0x58243d,SetSelectionsOperation as _0x51dda0,SheetsSelectionsService as _0x2534d6,EffectRefRangId as _0x2afbb6,handleIRemoveRow as _0x40acc6,handleIRemoveCol as _0x130e2f,handleMoveRange as _0x115495,handleInsertRow as _0x8c39ce,handleInsertRangeMoveRight as _0xb3ca31,handleInsertRangeMoveDown as _0xc6c904,handleInsertCol as _0x33ac0e,handleDeleteRangeMoveUp as _0x4c3aac,handleDeleteRangeMoveLeft as _0x4b97cc,runRefRangeMutations as _0x575773,SetWorksheetActivateCommand as _0x407d7e}from'@univerjs/sheets';import{map as _0x3e7cdf,filter as _0x15e23e,throttleTime as _0x54bbee,takeUntil as _0x32d20b,switchMap as _0x51d6a1}from'rxjs/operators';import{SheetSkeletonManagerService as _0xbd9ea3,getCoordByCell as _0x201c07,getSheetObject as _0x3d2055}from'@univerjs/sheets-ui';import{jsx as _0x4fe409,jsxs as _0x4b2c43}from'react/jsx-runtime';import{useObservable as _0x533835,useDependency as _0x3df6dc,IUIPartsService as _0x2b1b50,BuiltInUIPart as _0x3887e3,connectInjector as _0x2f7736,IBeforeCloseService as _0x454f05,IMessageService as _0x40792f,INotificationService as _0x18d8eb}from'@univerjs/ui';import{Tooltip as _0x3963a4,clsx as _0x3e9081,MessageType as _0x496fe2}from'@univerjs/design';import{forwardRef as _0x18638d,useRef as _0x174d17,createElement as _0xf435e,useCallback as _0x89b94}from'react';import{IRemoteInstanceService as _0xab44d1}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x477106,_0xc04eaf,_0x32519b,_0x4f5d29)=>{const _0x50505b=_0x4b8403;for(var _0x5545e4=_0x4f5d29>0x1?void 0x0:_0x4f5d29?ci(_0xc04eaf,_0x32519b):_0xc04eaf,_0x15e348=_0x477106[_0x50505b(0x23a)]-0x1,_0x50fec8;_0x15e348>=0x0;_0x15e348--)(_0x50fec8=_0x477106[_0x15e348])&&(_0x5545e4=_0x50fec8(_0x5545e4)||_0x5545e4);return _0x5545e4;},Je=(_0x21e701,_0x1f4810)=>(_0x231a4a,_0x7e4ea3)=>_0x1f4810(_0x231a4a,_0x7e4ea3,_0x21e701);let Ne=class extends _0x12fc3c{constructor(_0x3cf603,_0x677be){const _0x18243e=_0x4b8403;super(),this[_0x18243e(0x242)]=_0x3cf603,this[_0x18243e(0x2be)]=_0x677be,this[_0x18243e(0x17e)]();}[_0x4b8403(0x17e)](){const _0x230b34=_0x4b8403,_0x19d1f1=this;this['disposeWithMe'](this[_0x230b34(0x242)]['addClipboardHook']({'onBeforePasteImage':async _0x2df81f=>{const _0x2d08c0=_0x230b34,_0x12381c=await _0x19d1f1['_imageIoService']['saveImage'](_0x2df81f);return _0x12381c?{'source':_0x12381c[_0x2d08c0(0x128)],'imageSourceType':_0x12381c[_0x2d08c0(0x25e)]}:null;}}));}};Ne=li([Je(0x0,_0x1352d3),Je(0x1,_0x1fd713)],Ne);const Ze=['purple.300','jiqing.500',_0x4b8403(0x16b),_0x4b8403(0x1c2),'blue.400',_0x4b8403(0x2bd)];class ke extends _0x25f44f{constructor(){const _0x1b619b=_0x4b8403;super(...arguments),_(this,_0x1b619b(0x20f),new Map()),_(this,_0x1b619b(0x213),0x0);}['assignAColorForMemberID'](_0xdfc9e7){const _0x5eef39=_0x4b8403;if(this['_assignedColors']['has'](_0xdfc9e7))return this[_0x5eef39(0x20f)][_0x5eef39(0x192)](_0xdfc9e7);const _0x24b6ff=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x5eef39(0x213)]+0x1)%Ze[_0x5eef39(0x23a)],this[_0x5eef39(0x20f)][_0x5eef39(0xd0)](_0xdfc9e7,_0x24b6ff),_0x24b6ff;}}function Tt(_0x336762){const _0x5ce5f0=_0x4b8403;let _0x5eb08c='';for(const _0x312411 of _0x336762){const {startOffset:_0x49cce9,endOffset:_0x4ea9c0,isActive:_0x40a988,rangeType:_0x1fa611,segmentId:_0x393bcf,segmentPage:_0x4201c4}=_0x312411;_0x5eb08c[_0x5ce5f0(0x23a)]&&(_0x5eb08c+=','),_0x5eb08c+=_0x49cce9+':'+_0x4ea9c0+':'+(_0x40a988?'1':'0')+':'+_0x1fa611+':'+_0x393bcf+':'+_0x4201c4;}return _0x5eb08c;}function _i(_0x257867){const _0x39aef4=_0x4b8403,_0x5e3d16=_0x257867[_0x39aef4(0x117)](','),_0x1e00b8=[];for(const _0x401abc of _0x5e3d16){const [_0x4b7b16,_0x3b3e9a,_0x1b4a44,_0x4d6adb,_0x3943af,_0x1a2d2f]=_0x401abc['split'](':');_0x1e00b8[_0x39aef4(0x202)]({'startOffset':Number(_0x4b7b16),'endOffset':Number(_0x3b3e9a),'collapsed':_0x4b7b16===_0x3b3e9a,'isActive':_0x1b4a44==='1','rangeType':_0x4d6adb===_0x19f8b5['TEXT']?_0x19f8b5[_0x39aef4(0x12f)]:_0x19f8b5[_0x39aef4(0x13d)],'segmentId':typeof _0x3943af=='string'?String(_0x3943af):'','segmentPage':Number(_0x1a2d2f!=null?_0x1a2d2f:-0x1)});}return _0x1e00b8[_0x39aef4(0x2a5)](_0x1ff848=>_0x1ff848[_0x39aef4(0x11a)])||(_0x1e00b8[0x0][_0x39aef4(0x11a)]=!0x0),_0x1e00b8;}class He extends _0x12fc3c{constructor(){const _0x5b3264=_0x4b8403;super(...arguments),_(this,'_collabCursorState$',new _0x113d14(null)),_(this,'collabCursorState$',this[_0x5b3264(0xfe)][_0x5b3264(0x183)]());}[_0x4b8403(0x1c1)](_0x203482){const _0x53db5b=_0x4b8403,{unitID:_0x10a956,memberID:_0x2f5eb8,textRanges:_0x31e5d5}=_0x203482,_0x324178=Tt(_0x31e5d5);if(_0x324178==='')return;const _0x44bee5={'unitID':_0x10a956,'memberID':_0x2f5eb8,'selection':_0x324178};this[_0x53db5b(0xfe)][_0x53db5b(0x2ce)](_0x44bee5);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x8f6014,_0x3dbcca,_0x25ff27,_0x1cc1a5)=>{for(var _0x120e33=_0x1cc1a5>0x1?void 0x0:_0x1cc1a5?hi(_0x3dbcca,_0x25ff27):_0x3dbcca,_0x47f03d=_0x8f6014['length']-0x1,_0x41da78;_0x47f03d>=0x0;_0x47f03d--)(_0x41da78=_0x8f6014[_0x47f03d])&&(_0x120e33=_0x41da78(_0x120e33)||_0x120e33);return _0x120e33;},P=(_0x5e179a,_0x48dbb6)=>(_0x28b8fa,_0x5d8cd0)=>_0x48dbb6(_0x28b8fa,_0x5d8cd0,_0x5e179a);const di=0x12c,fi=0x64;let Ue=class extends _0x12fc3c{constructor(_0x359a1e,_0x3fc80c,_0x3db793,_0x3761c6,_0x492ce0,_0x3f1c6a,_0xe6c4d0,_0x45b371,_0x4afe68){const _0x3772cc=_0x4b8403;super(),_(this,_0x3772cc(0x27d),!0x1),_(this,'_init',!0x1),_(this,_0x3772cc(0x2bc),new _0x113d14(new Map())),_(this,_0x3772cc(0x1c6),this['_cursorInfo$'][_0x3772cc(0x183)]()),_(this,_0x3772cc(0x24c),new _0x113d14([])),_(this,'roomMembers$',this[_0x3772cc(0x24c)][_0x3772cc(0x2cc)](_0x3118e2(di))),_(this,_0x3772cc(0x1a8),_0x4c14b3(_0x530184=>{const _0x4d4a7c=_0x3772cc,_0x1c1a0a={'eventID':_0x54d3b1['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d4a7c(0x2c7)],'memberID':this[_0x4d4a7c(0x225)][_0x4d4a7c(0x16a)](),'selection':Tt(_0x530184)}};this[_0x4d4a7c(0x225)][_0x4d4a7c(0x1dd)](_0x1c1a0a,this[_0x4d4a7c(0x2c7)]);},fi)),(this['unitID']=_0x359a1e,this[_0x3772cc(0x225)]=_0x3fc80c,this[_0x3772cc(0xe3)]=_0x3db793,this[_0x3772cc(0x221)]=_0x3761c6,this[_0x3772cc(0x2a7)]=_0x492ce0,this[_0x3772cc(0x137)]=_0x3f1c6a,this[_0x3772cc(0x1a1)]=_0xe6c4d0,this[_0x3772cc(0x139)]=_0x45b371,this[_0x3772cc(0x165)]=_0x4afe68);}get['cursorInfo'](){const _0x221af1=_0x4b8403;return this[_0x221af1(0x2bc)][_0x221af1(0x29b)]();}get['roomMembers'](){const _0x41f195=_0x4b8403;return this[_0x41f195(0x24c)][_0x41f195(0x29b)]();}[_0x4b8403(0x157)](){const _0x5a3f23=_0x4b8403;super[_0x5a3f23(0x157)](),this['_cursorInfo$'][_0x5a3f23(0x2ce)](new Map()),this['_cursorInfo$'][_0x5a3f23(0x198)](),this[_0x5a3f23(0x24c)][_0x5a3f23(0x2ce)]([]),this[_0x5a3f23(0x24c)]['complete']();}[_0x4b8403(0x25b)](){const _0x4f302c=_0x4b8403;this['_init']||(this[_0x4f302c(0x17e)]=!0x0,this[_0x4f302c(0x225)][_0x4f302c(0x21c)]['pipe'](_0x5271b5(this['dispose$']))['subscribe'](_0x5557ed=>{const _0x32fd48=_0x4f302c;_0x5557ed===_0xd863f9[_0x32fd48(0x2d8)]?this[_0x32fd48(0x241)]():this[_0x32fd48(0x222)]();}),this[_0x4f302c(0x225)][_0x4f302c(0x104)][_0x4f302c(0x2cc)](_0x5271b5(this[_0x4f302c(0x1cb)]))[_0x4f302c(0x1a7)](_0x22b73b=>{const _0x2acbd2=_0x4f302c,_0xf16ff0=_0x22b73b['eventID'];_0xf16ff0===_0x54d3b1[_0x2acbd2(0x12e)]&&this[_0x2acbd2(0x1e2)](_0x22b73b),_0xf16ff0===_0x54d3b1[_0x2acbd2(0xd9)]&&this[_0x2acbd2(0xf9)](_0x22b73b);}),this[_0x4f302c(0xef)](this[_0x4f302c(0x165)][_0x4f302c(0x1df)](_0x1512e5=>{const _0x11bbbf=_0x4f302c,_0x12b6cc=_0x1512e5['params'];_0x12b6cc!=null&&this['_online']&&_0x1512e5['id']===_0x14dc68['id']&&_0x12b6cc[_0x11bbbf(0x18f)]===this[_0x11bbbf(0x2c7)]&&_0x12b6cc[_0x11bbbf(0x256)]===!0x1&&_0x12b6cc[_0x11bbbf(0x24d)][_0x11bbbf(0x23a)]>0x0&&this[_0x11bbbf(0x1a8)](_0x12b6cc['ranges']);})),this[_0x4f302c(0x137)][_0x4f302c(0xcc)]['pipe'](_0x5271b5(this[_0x4f302c(0x1cb)]))['subscribe'](_0x4c17c6=>{const _0x4e5e91=_0x4f302c;if((_0x4c17c6==null?void 0x0:_0x4c17c6[_0x4e5e91(0x2c7)])!==this['unitID'])return;const _0x4b9967={'eventID':_0x54d3b1['UPDATE_CURSOR'],'data':_0x4c17c6};this[_0x4e5e91(0x1e2)](_0x4b9967);}),this['disposeWithMe'](this[_0x4f302c(0x165)][_0x4f302c(0x1df)](_0x399923=>{const _0x180050=_0x4f302c;if(_0x399923[_0x180050(0xe5)]==null)return;const _0x228eee=_0x399923[_0x180050(0xe5)];if(_0x399923['id']!==_0x4f359a['id']||_0x228eee['unitId']!==this[_0x180050(0x2c7)])return;const _0x3b4b4c={'id':'doc.mutation.rich-text-editing','params':_0x228eee},_0x3090b2=this[_0x180050(0x1ac)];for(const [_0x183568,_0x25590d]of _0x3090b2){const _0x49fcc6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x180050(0x2c7)],'actions':null,'textRanges':_0x25590d['ranges']}},_0x4947e0=this['_transformService']['transformMutation'](_0x3b4b4c,_0x49fcc6,!0x1);if(_0x2f91e9(_0x4947e0))throw _0x4947e0[_0x180050(0x22d)];_0x3090b2['set'](_0x183568,{..._0x25590d,'ranges':_0x4947e0['m2Prime'][_0x180050(0xe5)]['textRanges']});}queueMicrotask(()=>{const _0x4ce382=_0x180050;this[_0x4ce382(0x2bc)][_0x4ce382(0x2ce)](_0x3090b2);});})));}['_onCursorUpdate'](_0x43b692){const _0x20d64c=_0x4b8403;var _0x4b033f,_0x448d9d;const {memberID:_0x201949,selection:_0x48f42e}=_0x43b692[_0x20d64c(0x10c)],_0x3b55a6=_i(_0x48f42e),_0x15366d=(_0x448d9d=(_0x4b033f=this[_0x20d64c(0x2a7)][_0x20d64c(0x162)](this['unitID'],_0x201949))==null?void 0x0:_0x4b033f[_0x20d64c(0x1e1)])!=null?_0x448d9d:_0x20d64c(0x11b),_0x5f2007={'color':this[_0x20d64c(0x221)][_0x20d64c(0x1be)](_0x201949),'name':_0x15366d,'ranges':_0x3b55a6},_0x402079=this['cursorInfo'];_0x402079[_0x20d64c(0xd0)](_0x201949,_0x5f2007),this['_cursorInfo$']['next'](_0x402079);}[_0x4b8403(0xf9)](_0x1cf3c2){const _0x547f14=_0x4b8403,{memberID:_0x1ac649}=_0x1cf3c2[_0x547f14(0x10c)],_0xc7fd1=this[_0x547f14(0x1ac)];_0xc7fd1[_0x547f14(0x154)](_0x1ac649),this[_0x547f14(0x2bc)][_0x547f14(0x2ce)](_0xc7fd1);}['_toggleOnline'](){const _0x3d379b=_0x4b8403;var _0x13239b;if(this['_online']=!0x0,((_0x13239b=this[_0x3d379b(0x139)][_0x3d379b(0x150)]())==null?void 0x0:_0x13239b['getUnitId']())!==this[_0x3d379b(0x2c7)])return;const _0x328863=this['_injector'][_0x3d379b(0x192)](_0x4a1d2a)[_0x3d379b(0x136)]();Array[_0x3d379b(0x130)](_0x328863)&&_0x328863[_0x3d379b(0x23a)]>0x0&&this[_0x3d379b(0x1a8)](_0x328863);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x4fcb99(_0x496630)),P(0x3,_0x4fcb99(ke)),P(0x4,_0x4fcb99(_0x56a430)),P(0x5,_0x4fcb99(He)),P(0x6,_0x2c4c8a),P(0x7,_0x226365),P(0x8,_0x5ca9d5)],Ue);var Si=Object[_0x4b8403(0x193)],mi=(_0x5d2840,_0x421111,_0x70dccf,_0x222b9b)=>{for(var _0xc4b097=_0x222b9b>0x1?void 0x0:_0x222b9b?Si(_0x421111,_0x70dccf):_0x421111,_0x7f9055=_0x5d2840['length']-0x1,_0x160768;_0x7f9055>=0x0;_0x7f9055--)(_0x160768=_0x5d2840[_0x7f9055])&&(_0xc4b097=_0x160768(_0xc4b097)||_0xc4b097);return _0xc4b097;},x=(_0x4a1856,_0x40adec)=>(_0x13eddc,_0x198f44)=>_0x40adec(_0x13eddc,_0x198f44,_0x4a1856);const Ii=0x12c,gi=0x64,vi=()=>{let _0x518301=[],_0x394d12=!0x1;return _0x1bacc5=>{const _0x2a8532=_0x51b8;_0x518301[_0x2a8532(0x202)](_0x1bacc5),_0x394d12||(_0x394d12=!0x0,setTimeout(()=>{const _0x33f822=_0x2a8532;_0x518301[_0x33f822(0x10d)](_0x16ff7b=>_0x16ff7b()),_0x518301=[],_0x394d12=!0x1;}));};};let Me=class extends _0x12fc3c{constructor(_0x457b38,_0x1d5cd,_0x4aaa6f,_0x2b05bc,_0x2f8acb,_0x12c4d9,_0x16b47d,_0x4404cd){const _0x5b0f7e=_0x4b8403;super(),_(this,_0x5b0f7e(0x27d),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x113d14(new Map())),_(this,_0x5b0f7e(0x1c6),this[_0x5b0f7e(0x2bc)]['asObservable']()),_(this,_0x5b0f7e(0x24c),new _0x113d14([])),_(this,_0x5b0f7e(0x267),this[_0x5b0f7e(0x24c)][_0x5b0f7e(0x2cc)](_0x3118e2(Ii))),_(this,_0x5b0f7e(0x1a8),_0x4c14b3((_0xbfc101,_0x18393d)=>{const _0x38b0a0=_0x5b0f7e,_0x42d7a1={'eventID':_0x54d3b1[_0x38b0a0(0x12e)],'data':{'unitID':this['unitID'],'memberID':this[_0x38b0a0(0x225)][_0x38b0a0(0x16a)](),'selection':_0x3c3bd5(_0xbfc101,_0x18393d[_0x38b0a0(0x1a0)])}};this[_0x38b0a0(0x225)][_0x38b0a0(0x1dd)](_0x42d7a1,this['unitID']);},gi)),(this['unitID']=_0x457b38,this[_0x5b0f7e(0x225)]=_0x1d5cd,this['_injector']=_0x4aaa6f,this[_0x5b0f7e(0x221)]=_0x2b05bc,this[_0x5b0f7e(0x2a7)]=_0x2f8acb,this[_0x5b0f7e(0x139)]=_0x12c4d9,this[_0x5b0f7e(0x165)]=_0x16b47d,this['_refRangeService']=_0x4404cd);}get['cursorInfo'](){const _0x3369d7=_0x4b8403;return this[_0x3369d7(0x2bc)]['getValue']();}get['roomMembers'](){const _0x1463a8=_0x4b8403;return this[_0x1463a8(0x24c)][_0x1463a8(0x29b)]();}[_0x4b8403(0x157)](){const _0x2d8635=_0x4b8403;super[_0x2d8635(0x157)](),this['_cursorInfo$'][_0x2d8635(0x2ce)](new Map()),this[_0x2d8635(0x2bc)][_0x2d8635(0x198)](),this[_0x2d8635(0x24c)][_0x2d8635(0x2ce)]([]),this[_0x2d8635(0x24c)][_0x2d8635(0x198)]();}[_0x4b8403(0x25b)](){const _0x3be806=_0x4b8403;this[_0x3be806(0x17e)]||(this[_0x3be806(0x17e)]=!0x0,this['_session'][_0x3be806(0x21c)][_0x3be806(0x2cc)](_0x5271b5(this[_0x3be806(0x1cb)]))['subscribe'](_0x43a865=>{const _0x1e0d80=_0x3be806;_0x43a865===_0xd863f9[_0x1e0d80(0x2d8)]?this[_0x1e0d80(0x241)]():this[_0x1e0d80(0x222)]();}),this['_session'][_0x3be806(0x104)][_0x3be806(0x2cc)](_0x5271b5(this[_0x3be806(0x1cb)]))[_0x3be806(0x1a7)](_0x48e28a=>{const _0x1350ae=_0x3be806,_0x236a69=_0x48e28a[_0x1350ae(0x18b)];_0x236a69===_0x54d3b1[_0x1350ae(0x12e)]&&this[_0x1350ae(0x1e2)](_0x48e28a),_0x236a69===_0x54d3b1['USERS_LEAVE']&&this[_0x1350ae(0xf9)](_0x48e28a);}),this[_0x3be806(0x185)](),this['disposeWithMe'](this[_0x3be806(0x165)][_0x3be806(0x1df)](_0x55f168=>{const _0x1c7aee=_0x3be806;if(this[_0x1c7aee(0x27d)]&&_0x55f168['id']===_0x51dda0['id']&&_0x55f168[_0x1c7aee(0xe5)][_0x1c7aee(0x18f)]===this[_0x1c7aee(0x2c7)]){const _0x258556=_0x55f168[_0x1c7aee(0xe5)];this[_0x1c7aee(0x1a8)](_0x258556[_0x1c7aee(0xe4)],_0x258556[_0x1c7aee(0xcf)][0x0]);}})));}[_0x4b8403(0x1e2)](_0x17b83b){const _0x281113=_0x4b8403;var _0x49f7d5,_0x24c786;const {memberID:_0x2d74f1,selection:_0x5576e9}=_0x17b83b[_0x281113(0x10c)],{sheetName:_0x148113,range:_0x118fc1}=_0x3de79a(_0x5576e9),_0x248dfe={'name':(_0x24c786=(_0x49f7d5=this['_memberService']['getMember'](this[_0x281113(0x2c7)],_0x2d74f1))==null?void 0x0:_0x49f7d5['name'])!=null?_0x24c786:_0x281113(0x11b),'range':this[_0x281113(0x1cc)](_0x148113,_0x118fc1),'sheetID':_0x148113,'color':this[_0x281113(0x221)]['assignAColorForMemberID'](_0x2d74f1),'selection':_0x5576e9},_0x18eee1=this[_0x281113(0x1ac)];_0x18eee1[_0x281113(0xd0)](_0x2d74f1,_0x248dfe),this[_0x281113(0x2bc)]['next'](_0x18eee1);}[_0x4b8403(0xf9)](_0x1279ba){const _0x26069b=_0x4b8403,{memberID:_0x23574a}=_0x1279ba[_0x26069b(0x10c)],_0x5202cc=this[_0x26069b(0x1ac)];_0x5202cc[_0x26069b(0x154)](_0x23574a),this['_cursorInfo$'][_0x26069b(0x2ce)](_0x5202cc);}[_0x4b8403(0x1cc)](_0x83a1eb,_0x871f2d){const _0x3eeeb7=_0x4b8403;var _0x4f9a16,_0x2c3866;const _0x47b016=(_0x2c3866=(_0x4f9a16=this[_0x3eeeb7(0x139)]['getUniverSheetInstance'](this[_0x3eeeb7(0x2c7)]))==null?void 0x0:_0x4f9a16[_0x3eeeb7(0x210)](_0x83a1eb))==null?void 0x0:_0x2c3866[_0x3eeeb7(0x156)]();return(_0x47b016==null?void 0x0:_0x47b016[_0x3eeeb7(0x1b9)](_0x5bf631=>_0x32293b[_0x3eeeb7(0x2b9)](_0x5bf631,_0x871f2d)))||_0x871f2d;}[_0x4b8403(0x185)](){const _0x1ca4ed=_0x4b8403,_0x1b7538=new _0x4c4dbb(),_0x25ca65=vi(),_0x15fef8=()=>{const _0x3da397=_0x51b8;_0x1b7538[_0x3da397(0x157)]();const _0x123042=(_0x5dc754,_0x48cc3c,_0x361813,_0x18fb23)=>{const _0xc697ff=_0x3da397;let _0x279494=[];switch(_0x5dc754['id']){case _0x2afbb6[_0xc697ff(0x133)]:{_0x279494=_0x4b97cc(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x1fa)]:{_0x279494=_0x4c3aac(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0xf5)]:{_0x279494=_0x33ac0e(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x26b)]:{_0x279494=_0xc6c904(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x17b)]:{_0x279494=_0xb3ca31(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0xe0)]:{_0x279494=_0x8c39ce(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x1ea)]:{_0x279494=_0x115495(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x265)]:{_0x279494=_0x130e2f(_0x5dc754,_0x18fb23);break;}case _0x2afbb6[_0xc697ff(0x199)]:{_0x279494=_0x40acc6(_0x5dc754,_0x18fb23);break;}}const _0x5ad4cd=_0x575773(_0x279494,_0x18fb23),_0x3f8b67=this[_0xc697ff(0x1ac)][_0xc697ff(0x192)](_0x48cc3c);if(_0x3f8b67&&_0x5ad4cd){const _0x1e0b2c={..._0x3f8b67,'range':_0x5ad4cd};this[_0xc697ff(0x1ac)]['set'](_0x48cc3c,_0x1e0b2c),_0x25ca65(()=>{const _0x1017f2=_0xc697ff,_0x17e289=this[_0x1017f2(0x1a6)][_0x1017f2(0x207)](_0x5ad4cd,_0x28cff1=>(_0x17e289['dispose'](),_0x123042(_0x28cff1,_0x48cc3c,_0x361813,_0x5ad4cd)));_0x1b7538[_0x1017f2(0x1b7)](_0x17e289);});}return{'redos':[],'undos':[]};};this[_0x3da397(0x1ac)][_0x3da397(0x10d)]((_0x2ad10e,_0x19abed)=>{const _0x1c1a15=_0x3da397,{range:_0x2d77b4,sheetID:_0x153e8b}=_0x2ad10e,_0x1fe392=this[_0x1c1a15(0x1a6)][_0x1c1a15(0x207)](_0x2d77b4,_0x34a91c=>(_0x1fe392[_0x1c1a15(0x157)](),_0x123042(_0x34a91c,_0x19abed,_0x153e8b,_0x2d77b4)));_0x1b7538[_0x1c1a15(0x1b7)](_0x1fe392);});};this['disposeWithMe'](_0x3effaf(this['_cursorInfo$'][_0x1ca4ed(0x1a7)](()=>{_0x15fef8();})));}[_0x4b8403(0x241)](){const _0x152aed=_0x4b8403;var _0xed9602,_0x550a72;if(this[_0x152aed(0x27d)]=!0x0,((_0xed9602=this['_univerInstanceService'][_0x152aed(0x150)]())==null?void 0x0:_0xed9602[_0x152aed(0x2a1)]())!==this[_0x152aed(0x2c7)])return;const _0x517579=(_0x550a72=this[_0x152aed(0xe3)]['get'](_0x2534d6)[_0x152aed(0x17f)]())==null?void 0x0:_0x550a72[0x0],_0xe81528=this[_0x152aed(0x139)][_0x152aed(0x1ca)](_0x4f0329[_0x152aed(0x18c)])[_0x152aed(0x1bb)]();_0x517579&&_0xe81528&&this[_0x152aed(0x1a8)](_0xe81528[_0x152aed(0x20e)](),_0x517579);}[_0x4b8403(0x222)](){const _0x285640=_0x4b8403;this[_0x285640(0x27d)]=!0x1;}};Me=mi([x(0x2,_0x4fcb99(_0x496630)),x(0x3,_0x4fcb99(ke)),x(0x4,_0x4fcb99(_0x56a430)),x(0x5,_0x226365),x(0x6,_0x5ca9d5),x(0x7,_0x4fcb99(_0x58243d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x4d67e6,_0x2d1760,_0x3f5e5d,_0x28cae3)=>{const _0x62bb30=_0x4b8403;for(var _0x32721e=_0x28cae3>0x1?void 0x0:_0x28cae3?pi(_0x2d1760,_0x3f5e5d):_0x2d1760,_0x5370d0=_0x4d67e6[_0x62bb30(0x23a)]-0x1,_0x5b2a1d;_0x5370d0>=0x0;_0x5370d0--)(_0x5b2a1d=_0x4d67e6[_0x5370d0])&&(_0x32721e=_0x5b2a1d(_0x32721e)||_0x32721e);return _0x32721e;},Se=(_0x5ec14a,_0x131ba7)=>(_0x3e55f7,_0x15cf53)=>_0x131ba7(_0x3e55f7,_0x15cf53,_0x5ec14a);let H=class extends _0x12fc3c{constructor(_0x354d82,_0x4fa96a,_0x223c56){const _0x4dc905=_0x4b8403;super(),_(this,'_entities',new Map()),_(this,_0x4dc905(0x1db),new _0x3a32aa()),(this[_0x4dc905(0x139)]=_0x354d82,this[_0x4dc905(0xe3)]=_0x4fa96a,this[_0x4dc905(0x17d)]=_0x223c56,this[_0x4dc905(0x17e)]());}[_0x4b8403(0x157)](){const _0x45ed4a=_0x4b8403;super[_0x45ed4a(0x157)](),this[_0x45ed4a(0x1db)][_0x45ed4a(0x198)](),this[_0x45ed4a(0x13a)]['forEach'](_0x3bc2d1=>_0x3bc2d1[_0x45ed4a(0x157)]());}[_0x4b8403(0x2d9)](_0x482823){const _0x2372ef=_0x4b8403;return this[_0x2372ef(0x13a)][_0x2372ef(0x28d)](_0x482823)?this['_entities'][_0x2372ef(0x192)](_0x482823)[_0x2372ef(0x1c6)]:this[_0x2372ef(0x1db)][_0x2372ef(0x2cc)](_0x45bee6(_0x4d95d8=>_0x4d95d8['unitID']===_0x482823),_0x28364b(_0x461ca8=>_0x461ca8[_0x2372ef(0x1c6)]));}[_0x4b8403(0x17e)](){const _0x5713f6=_0x4b8403;this[_0x5713f6(0x139)][_0x5713f6(0x122)](_0x4f0329[_0x5713f6(0x18c)])[_0x5713f6(0x2cc)](_0x5271b5(this[_0x5713f6(0x1cb)]))[_0x5713f6(0x1a7)](async _0x1005be=>{const _0x44f913=_0x5713f6,_0x10660f=_0x1005be[_0x44f913(0x2a1)](),_0x2643c8=await this['_startSheetCollabCursor'](_0x10660f);this[_0x44f913(0x1db)]['next'](_0x2643c8),this[_0x44f913(0x13a)]['set'](_0x10660f,_0x2643c8);}),this[_0x5713f6(0x139)][_0x5713f6(0x122)](_0x4f0329[_0x5713f6(0x2a8)])[_0x5713f6(0x2cc)](_0x5271b5(this[_0x5713f6(0x1cb)]))['pipe'](_0x45bee6(_0x9072f2=>!_0x9072f2['getUnitId']()[_0x5713f6(0x13c)]('__')))[_0x5713f6(0x1a7)](async _0x22866b=>{const _0x31fb6b=_0x5713f6,_0x1f99d9=_0x22866b['getUnitId'](),_0x350e21=await this[_0x31fb6b(0x224)](_0x1f99d9);this[_0x31fb6b(0x1db)][_0x31fb6b(0x2ce)](_0x350e21),this[_0x31fb6b(0x13a)]['set'](_0x1f99d9,_0x350e21);}),_0x184203(this[_0x5713f6(0x139)][_0x5713f6(0xec)](_0x4f0329['UNIVER_DOC']),this[_0x5713f6(0x139)][_0x5713f6(0xec)](_0x4f0329[_0x5713f6(0x18c)]))[_0x5713f6(0x2cc)](_0x5271b5(this[_0x5713f6(0x1cb)]))['subscribe'](_0x4767b0=>{const _0x46991c=_0x5713f6,_0x1544e9=_0x4767b0[_0x46991c(0x2a1)](),_0x360d46=this[_0x46991c(0x13a)]['get'](_0x1544e9);_0x360d46&&(_0x360d46[_0x46991c(0x157)](),this[_0x46991c(0x13a)][_0x46991c(0x154)](_0x1544e9));});}async['_startSheetCollabCursor'](_0x179101){const _0x4cfe96=_0x4b8403,_0x918814=await this[_0x4cfe96(0x17d)][_0x4cfe96(0x287)](_0x179101),_0x5953ba=this[_0x4cfe96(0xe3)][_0x4cfe96(0x182)](Me,_0x179101,_0x918814);return _0x5953ba['init'](),_0x5953ba;}async[_0x4b8403(0x224)](_0x59613c){const _0x2fff12=_0x4b8403,_0x5a7820=await this[_0x2fff12(0x17d)][_0x2fff12(0x287)](_0x59613c),_0x208545=this['_injector'][_0x2fff12(0x182)](Ue,_0x59613c,_0x5a7820);return _0x208545[_0x2fff12(0x25b)](),_0x208545;}};H=Ci([Se(0x0,_0x226365),Se(0x1,_0x4fcb99(_0x496630)),Se(0x2,_0x4fcb99(_0x204357))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1d41c1,_0x33f108){const _0x51e9c2=_0x4b8403;let {radius:_0x2f2585,width:_0x32d529,height:_0x568130}=_0x33f108;_0x2f2585=_0x2f2585!=null?_0x2f2585:0x0,_0x32d529=_0x32d529!=null?_0x32d529:0x1e,_0x568130=_0x568130!=null?_0x568130:0x1e;let _0x1eb7f2=0x0,_0x4c04f3=0x0,_0x190b76=0x0;_0x1eb7f2=_0x4c04f3=_0x190b76=Math[_0x51e9c2(0x1f5)](_0x2f2585,_0x32d529/0x2,_0x568130/0x2),_0x1d41c1[_0x51e9c2(0x16e)](),_0x1d41c1[_0x51e9c2(0x15e)](_0x1eb7f2,0x0),_0x1d41c1[_0x51e9c2(0x1da)](_0x32d529-_0x4c04f3,0x0),_0x1d41c1[_0x51e9c2(0x177)](_0x32d529-_0x4c04f3,_0x4c04f3,_0x4c04f3,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d41c1[_0x51e9c2(0x1da)](_0x32d529,_0x568130-_0x190b76),_0x1d41c1['arc'](_0x32d529-_0x190b76,_0x568130-_0x190b76,_0x190b76,0x0,Math['PI']/0x2,!0x1),_0x1d41c1[_0x51e9c2(0x1da)](0x0,_0x568130),_0x1d41c1[_0x51e9c2(0x1da)](0x0,_0x1eb7f2),_0x1d41c1[_0x51e9c2(0x177)](_0x1eb7f2,_0x1eb7f2,_0x1eb7f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d41c1[_0x51e9c2(0x1e4)](),_0x33f108[_0x51e9c2(0x169)]&&(_0x1d41c1[_0x51e9c2(0x217)](),_0x1d41c1[_0x51e9c2(0x257)]=_0x33f108[_0x51e9c2(0x169)],_0x33f108[_0x51e9c2(0x174)]==='evenodd'?_0x1d41c1[_0x51e9c2(0x169)]('evenodd'):_0x1d41c1[_0x51e9c2(0x169)](),_0x1d41c1['restore']());}class he extends _0x510d8b{constructor(_0x1b17ae,_0x4e16eb){const _0x236b0f=_0x4b8403;super(_0x1b17ae,_0x4e16eb),_(this,'color'),_(this,_0x236b0f(0x219)),(this[_0x236b0f(0x159)]=_0x4e16eb==null?void 0x0:_0x4e16eb[_0x236b0f(0x159)],this[_0x236b0f(0x219)]=_0x4e16eb==null?void 0x0:_0x4e16eb[_0x236b0f(0x219)]);}static[_0x4b8403(0x27f)](_0x10fe2f,_0x582dab){const _0x29ee38=_0x4b8403,{text:_0xb4c6ed,color:_0x1291ff}=_0x582dab;_0x10fe2f[_0x29ee38(0x217)](),_0x10fe2f['font']=_0x29ee38(0x1b5);const _0x56b7b6=_0x10fe2f[_0x29ee38(0x273)](_0xb4c6ed)[_0x29ee38(0x1ae)],_0x5804da=Math[_0x29ee38(0x1f5)](_0x56b7b6+0x2*me,Qe);Oi(_0x10fe2f,{'height':ee,'radius':0x4,'width':_0x5804da,'fill':_0x1291ff}),_0x10fe2f[_0x29ee38(0x257)]=_0x29ee38(0x1a5);const _0x1c08d4=me,_0x3455c1=ee-Ei,_0x2857c3=Qe-0x2*me;if(_0x56b7b6>_0x2857c3){let _0x43b80f='',_0x18d8ca=0x0;for(const _0x357b4c of _0xb4c6ed){const _0x1639f1=_0x10fe2f['measureText'](_0x357b4c)['width'];if(_0x18d8ca+_0x1639f1<=_0x2857c3-_0x10fe2f[_0x29ee38(0x273)]('...')[_0x29ee38(0x1ae)])_0x43b80f+=_0x357b4c,_0x18d8ca+=_0x1639f1;else{_0x43b80f+=_0x29ee38(0x106);break;}}_0x10fe2f[_0x29ee38(0x2d7)](_0x43b80f,_0x1c08d4,_0x3455c1);}else _0x10fe2f[_0x29ee38(0x2d7)](_0xb4c6ed,_0x1c08d4,_0x3455c1);_0x10fe2f[_0x29ee38(0x1d8)]();}[_0x4b8403(0x14a)](_0x5b3d3e){const _0x5b110c=_0x4b8403;he[_0x5b110c(0x27f)](_0x5b3d3e,this);}}const Ie=_0x4b8403(0x1ff),bi=_0x4b8403(0x1c5),Ti=_0x4b8403(0x178),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4b8403(0x181);class qe{constructor(_0x39f415,_0x4edd4b,_0x406d88,_0x769971){const _0x33bb47=_0x4b8403;_(this,_0x33bb47(0xd2),[]),_(this,'_anchor',null),_(this,_0x33bb47(0x29f),null),_(this,_0x33bb47(0x291),null),_(this,_0x33bb47(0x1ce),null),_(this,'_eventUnsubscribe',null),(this[_0x33bb47(0x1e3)]=_0x39f415,this[_0x33bb47(0x1aa)]=_0x4edd4b,this[_0x33bb47(0x1b3)]=_0x406d88,this[_0x33bb47(0x24b)]=_0x769971,this[_0x33bb47(0x24f)]());}set[_0x4b8403(0x2b4)](_0x4c16d2){const _0x477340=_0x4b8403;_0x4c16d2?(this[_0x477340(0x291)]&&this[_0x477340(0x291)][_0x477340(0x119)](),this[_0x477340(0x29f)]&&this[_0x477340(0x29f)][_0x477340(0x258)]()):(this[_0x477340(0x291)]&&this[_0x477340(0x291)]['show'](),this['_textBubble']&&this[_0x477340(0x29f)][_0x477340(0x119)]());}[_0x4b8403(0x157)](){const _0x1c5874=_0x4b8403;for(const _0x356c99 of this[_0x1c5874(0xd2)])_0x356c99[_0x1c5874(0x157)]();this[_0x1c5874(0x29f)]&&this['_textBubble'][_0x1c5874(0x157)](),this[_0x1c5874(0x291)]&&this['_anchorDot'][_0x1c5874(0x157)](),this[_0x1c5874(0x14c)]&&this[_0x1c5874(0x14c)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1c5874(0x152)]();}[_0x4b8403(0x24f)](){const _0x3ac40a=_0x4b8403;var _0x191257;const {_docSkeleton:_0x8933dd,_document:_0x5a48aa}=this,{color:_0x415c6a,name:_0x4ed076,ranges:_0x326d77}=this[_0x3ac40a(0x1e3)],_0x211c9f=_0x5a48aa[_0x3ac40a(0x173)](),{docsLeft:_0xa7e128,docsTop:_0xbc090a}=_0x211c9f,_0xa4e43e=new _0x23dbae(_0x211c9f,_0x8933dd);for(const {startOffset:_0x5ce5c0,endOffset:_0x1933a7,rangeType:_0x5289f8,segmentId:_0xc1a1fa,segmentPage:_0x59798f,collapsed:_0x363ebc,isActive:_0x170ec0}of _0x326d77){const _0x3de722=_0x8933dd[_0x3ac40a(0x146)](_0x5ce5c0,!0x0,_0xc1a1fa,_0x59798f);let _0x4a59fb=_0x8933dd[_0x3ac40a(0x146)](_0x1933a7,!0x0,_0xc1a1fa,_0x59798f);if(_0x4a59fb==null&&(_0x4a59fb=_0x8933dd[_0x3ac40a(0x146)](_0x1933a7-0x1,!0x1,_0xc1a1fa,_0x59798f)),_0x170ec0){const {contentBoxPointGroup:_0x303f82}=_0xa4e43e[_0x3ac40a(0x2ab)](_0x4a59fb,_0x4a59fb);if(_0x303f82[_0x3ac40a(0x23a)]===0x0)continue;this['_drawAnchor'](_0x415c6a,_0x303f82,_0xa7e128,_0xbc090a,_0x4ed076),this[_0x3ac40a(0x152)]=this[_0x3ac40a(0x11e)]();}if(_0x3de722&&_0x4a59fb){if(_0x5289f8===_0x19f8b5['RECT']){const _0x2392dc=new _0x304df1(_0x211c9f,_0x8933dd),{pointGroup:_0xc6f4a5}=(_0x191257=_0x2392dc[_0x3ac40a(0x2ab)](_0x3de722,_0x4a59fb))!=null?_0x191257:{};if(_0xc6f4a5==null||_0xc6f4a5[_0x3ac40a(0x23a)]===0x0)continue;this[_0x3ac40a(0x2d1)](_0x415c6a,_0xc6f4a5,_0xa7e128,_0xbc090a);}else{if(!_0x363ebc){const {borderBoxPointGroup:_0x574490}=_0xa4e43e['getRangePointData'](_0x3de722,_0x4a59fb);if(_0x574490[_0x3ac40a(0x23a)]===0x0)continue;this[_0x3ac40a(0xdd)](_0x415c6a,_0x574490,_0xa7e128,_0xbc090a);}}}}}[_0x4b8403(0x204)](_0x14636f,_0x2b89bc,_0x5c88c3,_0xb1c199,_0x3146de){const _0x1d619f=_0x4b8403,_0x5f13a7=this[_0x1d619f(0x1d2)](_0x2b89bc),{left:_0x39665b,top:_0x3e922b,height:_0x1bfebe}=_0x5f13a7,_0x313bee=this['_getScale'](),_0x6d5de=Di/_0x313bee,_0x269209=new _0x2142a4(Ie+_0x433547[_0x1d619f(0x1ef)](X),{'left':_0x39665b+_0x5c88c3-_0x6d5de,'top':_0x3e922b+_0xb1c199,'height':_0x1bfebe,'width':Ri,'fill':_0x14636f||_0x6b5afb(_0x3d3064[_0x1d619f(0x274)],0x0),'strokeWidth':_0x6d5de,'stroke':Ni,'evented':!0x0});this[_0x1d619f(0x14c)]=_0x269209,this[_0x1d619f(0x1aa)][_0x1d619f(0x24a)](_0x269209,_0xdabfee);const _0x48840b=new _0x2142a4(Ie+_0x433547['generateRandomId'](X),{'left':_0x39665b+_0x5c88c3-_0x6d5de,'top':_0x3e922b+_0xb1c199-ge/0x2,'height':ge,'width':ge,'fill':_0x14636f||_0x6b5afb(_0x3d3064['black'],0x0),'strokeWidth':0x0,'stroke':_0x14636f||_0x6b5afb(_0x3d3064[_0x1d619f(0x274)],0x0),'evented':!0x1});this[_0x1d619f(0x291)]=_0x48840b,this[_0x1d619f(0x1aa)][_0x1d619f(0x24a)](_0x48840b,_0xdabfee);const _0x549410=new he(Ie+_0x433547[_0x1d619f(0x1ef)](X),{'left':_0x39665b+_0x5c88c3-_0x6d5de,'top':_0x3e922b+_0xb1c199-ee,'text':_0x3146de,'color':_0x14636f});this[_0x1d619f(0x29f)]=_0x549410,this[_0x1d619f(0x1aa)]['addObject'](_0x549410,_0xdabfee),this[_0x1d619f(0x2b4)]=!0x1;}['_handleHover'](){const _0x6887ac=_0x4b8403,_0x26451a=this[_0x6887ac(0x14c)][_0x6887ac(0x171)][_0x6887ac(0x2c0)](()=>{this['_hover']=!0x0;}),_0x1b2a35=this[_0x6887ac(0x14c)]['onPointerLeave$'][_0x6887ac(0x2c0)](()=>{const _0x2fddd1=_0x6887ac;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2fddd1(0x1ce)]=setTimeout(()=>{const _0x30d59d=_0x2fddd1;this[_0x30d59d(0x2b4)]=!0x1;},0x7d0);});return()=>{const _0x4ecd6d=_0x6887ac;_0x26451a[_0x4ecd6d(0x16f)](),_0x1b2a35[_0x4ecd6d(0x16f)]();};}['_drawTextRange'](_0x503502,_0x145a15,_0x531adf,_0x22be6e){const _0x4603ca=_0x4b8403,_0x10b2bd=new _0x3dc5fa(_0x503502)['setAlpha'](0.2)['toRgbString'](),_0x3c5cb3=new _0x51211d(bi+_0x433547['generateRandomId'](X),{'pointsGroup':_0x145a15,'fill':_0x10b2bd||_0x6b5afb(_0x3d3064[_0x4603ca(0x274)],0.2),'left':_0x531adf,'top':_0x22be6e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4603ca(0xd2)][_0x4603ca(0x202)](_0x3c5cb3),this[_0x4603ca(0x1aa)][_0x4603ca(0x24a)](_0x3c5cb3,_0xdabfee);}[_0x4b8403(0x2d1)](_0x1365e1,_0x554c5d,_0x3d5d40,_0x79d0fc){const _0x119ef7=_0x4b8403,_0x3f76a8=new _0x3dc5fa(_0x1365e1)['setAlpha'](0.2)[_0x119ef7(0x115)](),_0x4e2f5a=new _0x51211d(Ti+_0x433547[_0x119ef7(0x1ef)](X),{'pointsGroup':_0x554c5d,'fill':_0x3f76a8||_0x6b5afb(_0x3d3064[_0x119ef7(0x274)],0.2),'left':_0x3d5d40,'top':_0x79d0fc,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x119ef7(0x202)](_0x4e2f5a),this[_0x119ef7(0x1aa)][_0x119ef7(0x24a)](_0x4e2f5a,_0xdabfee);}[_0x4b8403(0x1d2)](_0x45862b){const _0x5489c5=_0x45862b[0x0],_0x5a6145=_0x5489c5[0x0],_0x143605=_0x5489c5[0x2],{x:_0x109f7f,y:_0x580a38}=_0x5a6145,{x:_0x15fb56,y:_0x426927}=_0x143605;return{'left':_0x109f7f,'top':_0x580a38,'width':_0x15fb56-_0x109f7f,'height':_0x426927-_0x580a38};}[_0x4b8403(0x1eb)](){const _0x5a26c6=_0x4b8403,{scaleX:_0x31a790,scaleY:_0x242100}=this[_0x5a26c6(0x1aa)]['getAncestorScale']();return Math['max'](_0x31a790,_0x242100);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x2cbd18,_0x16eab4,_0x56248d,_0x26f0a4)=>{const _0x14b48c=_0x4b8403;for(var _0x5584e9=_0x26f0a4>0x1?void 0x0:_0x26f0a4?Ui(_0x16eab4,_0x56248d):_0x16eab4,_0x4b862e=_0x2cbd18[_0x14b48c(0x23a)]-0x1,_0x432951;_0x4b862e>=0x0;_0x4b862e--)(_0x432951=_0x2cbd18[_0x4b862e])&&(_0x5584e9=_0x432951(_0x5584e9)||_0x5584e9);return _0x5584e9;},Z=(_0x31e920,_0x427f60)=>(_0x125d04,_0x488ad9)=>_0x427f60(_0x125d04,_0x488ad9,_0x31e920);let Le=class extends _0x12fc3c{constructor(_0x3da84c,_0x43d06c,_0x37446f,_0x155f2f,_0x1b945e){const _0x32e9a9=_0x4b8403;super(),_(this,_0x32e9a9(0x13f),[]),_(this,_0x32e9a9(0x1a3),[]),(this[_0x32e9a9(0xf3)]=_0x3da84c,this['_docSkeletonManagerService']=_0x43d06c,this['_collabCursorController']=_0x37446f,this[_0x32e9a9(0x165)]=_0x155f2f,this[_0x32e9a9(0x218)]=_0x1b945e,this[_0x32e9a9(0x17e)]());}[_0x4b8403(0x17e)](){const _0x208221=_0x4b8403,_0x5a5b0e=this[_0x208221(0xf3)][_0x208221(0x18f)],_0x1e0b16=this[_0x208221(0xfa)];this[_0x208221(0xef)](_0x484c27([this['_collabCursorController'][_0x208221(0x2d9)](_0x5a5b0e),this[_0x208221(0x218)][_0x208221(0x25d)]])['pipe'](_0x3e7cdf(([_0x30875c,_0x5679c1])=>({'skeleton':_0x1e0b16[_0x208221(0x2bf)](),'cursors':[..._0x30875c[_0x208221(0x20b)]()][_0x208221(0x22f)](_0x31b956=>({..._0x31b956,'color':this['_themeService'][_0x208221(0x138)](_0x31b956[_0x208221(0x159)])}))})))[_0x208221(0x1a7)](_0x240d1a=>{const _0x284b29=_0x208221;if(this['_removeCollabCursors'](),_0x240d1a){const {skeleton:_0x42d45b,cursors:_0x59ad12}=_0x240d1a;this[_0x284b29(0x15f)](_0x42d45b,_0x59ad12);}})),this[_0x208221(0x2cf)](),this['_initCommandExecutedListener']();}[_0x4b8403(0x15f)](_0x14c252,_0x319e26){const _0x1903b7=_0x4b8403,{scene:_0x5003d8,mainComponent:_0x591e7f}=this['_context'],_0x85b2e7=_0x319e26[_0x1903b7(0x262)](_0x474f06=>new qe(_0x474f06,_0x5003d8,_0x14c252,_0x591e7f));this[_0x1903b7(0x13f)]=_0x85b2e7,this[_0x1903b7(0x1a3)]=_0x319e26;}['_refreshCollabCursors'](){const _0x56771a=_0x4b8403;this[_0x56771a(0x1a4)]();const {scene:_0x2e311a,mainComponent:_0x17327e}=this['_context'],_0x3e8890=this[_0x56771a(0xfa)][_0x56771a(0x2bf)](),_0x3c138b=this['_cursors']['map'](_0x574378=>new qe(_0x574378,_0x2e311a,_0x3e8890,_0x17327e));this[_0x56771a(0x13f)]=_0x3c138b;}[_0x4b8403(0x1a4)](){const _0x59b7ca=_0x4b8403;this[_0x59b7ca(0x13f)][_0x59b7ca(0x10d)](_0x474b59=>_0x474b59[_0x59b7ca(0x157)]()),this[_0x59b7ca(0x13f)]=[];}[_0x4b8403(0xd1)](){const _0x1d8a03=_0x4b8403,_0x292e13=[_0x15359e['id']];this[_0x1d8a03(0xef)](this['_commandService'][_0x1d8a03(0x1df)](_0x3e07e8=>{const _0x2f8afd=_0x1d8a03;_0x292e13[_0x2f8afd(0xf6)](_0x3e07e8['id'])&&_0x3e07e8[_0x2f8afd(0xe5)][_0x2f8afd(0x18f)]===this[_0x2f8afd(0xf3)][_0x2f8afd(0x18f)]&&this[_0x2f8afd(0x2bb)]();}));}[_0x4b8403(0x2cf)](){const _0x3dd8d6=_0x4b8403;this[_0x3dd8d6(0xef)](_0x1954f0(this[_0x3dd8d6(0xf3)][_0x3dd8d6(0x1c9)][_0x3dd8d6(0xdb)])[_0x3dd8d6(0x2cc)](_0x15e23e(_0x57fd67=>_0x57fd67[_0x3dd8d6(0x2ca)]===_0x22a470['resize']),_0x54bbee(0x10))[_0x3dd8d6(0x1a7)](()=>{const _0x5bb0a5=_0x3dd8d6;this[_0x5bb0a5(0x2bb)]();}));}};Le=Mi([Z(0x1,_0x4fcb99(_0x30fcfc)),Z(0x2,_0x4fcb99(H)),Z(0x3,_0x5ca9d5),Z(0x4,_0x4fcb99(_0x4bdd18))],Le);const Li=0x1,Pi=1.5;class wi extends _0x510d8b{constructor(_0x580761,_0x1ebecb){const _0x4babd6=_0x4b8403;super(_0x580761,_0x1ebecb),_(this,_0x4babd6(0x1bc)),_(this,_0x4babd6(0x245),!0x1),_(this,_0x4babd6(0x140)),_(this,_0x4babd6(0x132),''),_(this,'_labelPosition','top'),_(this,_0x4babd6(0x20d)),(_0x1ebecb&&this['setShapeProps'](_0x1ebecb),this[_0x4babd6(0x171)][_0x4babd6(0x2c0)](()=>this[_0x4babd6(0x19c)]({'hovered':!0x0})),this[_0x4babd6(0x22b)][_0x4babd6(0x2c0)](()=>this[_0x4babd6(0x19c)]({'hovered':!0x1})));}['setShapeProps'](_0x44ee7a){const _0x5664a1=_0x4b8403;var _0x12405c,_0xe1c19c,_0x439edc,_0x2b0d04,_0x8ac5b,_0x36555f;this[_0x5664a1(0x1bc)]=(_0x12405c=_0x44ee7a[_0x5664a1(0x159)])!=null?_0x12405c:this[_0x5664a1(0x1bc)],this[_0x5664a1(0x245)]=(_0xe1c19c=_0x44ee7a['hovered'])!=null?_0xe1c19c:this[_0x5664a1(0x245)],this[_0x5664a1(0x140)]=(_0x439edc=_0x44ee7a[_0x5664a1(0x1a0)])!=null?_0x439edc:this['_range'],this[_0x5664a1(0x132)]=(_0x2b0d04=_0x44ee7a[_0x5664a1(0x1e1)])!=null?_0x2b0d04:this['_name'],this[_0x5664a1(0xda)]=(_0x8ac5b=_0x44ee7a[_0x5664a1(0x2d2)])!=null?_0x8ac5b:this[_0x5664a1(0xda)],this[_0x5664a1(0x20d)]=(_0x36555f=_0x44ee7a[_0x5664a1(0x28f)])!=null?_0x36555f:this[_0x5664a1(0x20d)],this['transformByState']({'width':_0x44ee7a[_0x5664a1(0x1ae)],'height':_0x44ee7a[_0x5664a1(0xdc)]});}[_0x4b8403(0x22c)](_0xacd451){const _0x1a8280=_0x4b8403,{row:_0x54bd28,column:_0x28fe55}=_0xacd451;if(_0x54bd28>=this['_range'][_0x1a8280(0x24e)]&&_0x54bd28<=this[_0x1a8280(0x140)][_0x1a8280(0x21f)]&&_0x28fe55>=this['_range'][_0x1a8280(0x19b)]&&_0x28fe55<=this[_0x1a8280(0x140)][_0x1a8280(0x1fc)]){this[_0x1a8280(0x19c)]({'hovered':!0x0});return;}this[_0x1a8280(0x19c)]({'hovered':!0x1});}[_0x4b8403(0x179)](_0x492bd0){return!0x1;}[_0x4b8403(0x14a)](_0x152ad9){const _0x20260b=_0x4b8403;_0x2142a4['drawWith'](_0x152ad9,{'width':this[_0x20260b(0x1ae)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x20260b(0x1bc)],'evented':!0x1,'fill':this[_0x20260b(0x20d)]}),this[_0x20260b(0x245)]&&(_0x152ad9[_0x20260b(0x217)](),_0x152ad9[_0x20260b(0x2b3)](0x1,0x0,0x0,0x1,this[_0x20260b(0x1ae)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x20260b(0x27f)](_0x152ad9,{'text':this[_0x20260b(0x132)],'color':this['_color']}),_0x152ad9[_0x20260b(0x1d8)]());}}var Ai=Object[_0x4b8403(0x193)],yi=(_0x447a9b,_0x4f7a73,_0x11917d,_0x2fc5ac)=>{for(var _0x2d59d3=_0x2fc5ac>0x1?void 0x0:_0x2fc5ac?Ai(_0x4f7a73,_0x11917d):_0x4f7a73,_0x200323=_0x447a9b['length']-0x1,_0x5310de;_0x200323>=0x0;_0x200323--)(_0x5310de=_0x447a9b[_0x200323])&&(_0x2d59d3=_0x5310de(_0x2d59d3)||_0x2d59d3);return _0x2d59d3;},ve=(_0x2fe8d7,_0x5027be)=>(_0x2f98a0,_0x27a161)=>_0x5027be(_0x2f98a0,_0x27a161,_0x2fe8d7);const $i=0x1389;let Pe=class extends _0x12fc3c{constructor(_0x26a2a2,_0x1f9cf2,_0x2f6bab,_0x3cbb19){const _0x5899fe=_0x4b8403;super(),_(this,_0x5899fe(0x1a3),new Set()),_(this,_0x5899fe(0x190),null),(this[_0x5899fe(0xf3)]=_0x26a2a2,this[_0x5899fe(0x2c9)]=_0x1f9cf2,this[_0x5899fe(0x144)]=_0x2f6bab,this['_themeService']=_0x3cbb19,this[_0x5899fe(0x17e)]());}[_0x4b8403(0x17e)](){const _0x5deb59=_0x4b8403;this[_0x5deb59(0x2c9)][_0x5deb59(0x112)][_0x5deb59(0x2cc)](_0x32d20b(this[_0x5deb59(0x1cb)]),_0x51d6a1(_0x38bc10=>{const _0x539265=_0x5deb59;if(_0x38bc10){const _0x13fbb8=_0x38bc10[_0x539265(0x2c1)];return _0x484c27(this[_0x539265(0x144)][_0x539265(0x2d9)](this[_0x539265(0xf3)][_0x539265(0x18f)]),this[_0x539265(0x218)][_0x539265(0x25d)])[_0x539265(0x2cc)](_0x3e7cdf(([_0x96d5e2,_0x5cad31])=>{const _0x37dfd5=_0x539265,_0x699c27=new Map();return _0x96d5e2[_0x37dfd5(0x10d)]((_0x3b4557,_0x5eebc2)=>{const _0x56d5e4=_0x37dfd5;if(_0x3b4557[_0x56d5e4(0x1b2)]===_0x13fbb8){const _0x4bff43={..._0x3b4557};_0x4bff43[_0x56d5e4(0x159)]=this[_0x56d5e4(0x218)][_0x56d5e4(0x138)](_0x3b4557[_0x56d5e4(0x159)]),_0x699c27[_0x56d5e4(0xd0)](_0x5eebc2,_0x4bff43);}}),{'skeleton':_0x38bc10,'cursors':_0x699c27};}));}return _0x42a10c({'skeleton':null,'cursors':new Map()});}))[_0x5deb59(0x1a7)](({skeleton:_0x3af77b,cursors:_0x3e4224})=>{const _0x58bd50=_0x5deb59;this[_0x58bd50(0x1a4)](),_0x3af77b&&this[_0x58bd50(0x15f)](_0x3af77b,_0x3e4224);}),this[_0x5deb59(0x2c9)][_0x5deb59(0x112)][_0x5deb59(0x1a7)](_0x1e71b3=>{const _0x1987e6=_0x5deb59;if(_0x1e71b3==null)return;const {skeleton:_0xe87b5b}=_0x1e71b3,{scene:_0x5bf19d}=this[_0x1987e6(0xf3)];_0x5bf19d[_0x1987e6(0x2a0)][_0x1987e6(0x2c0)](_0x4c14b3(_0x44a27c=>{const _0x45136b=_0x1987e6;var _0x7bdb15,_0x56d0e7;const {offsetX:_0x532f1f,offsetY:_0x579d9a}=_0x44a27c,{x:_0x5a0d32,y:_0x489246}=_0x5bf19d['getRelativeToViewportCoord'](_0x199699['FromArray']([_0x532f1f,_0x579d9a])),{scaleX:_0x2bc80c,scaleY:_0xc65cf1}=_0x5bf19d[_0x45136b(0x2b0)](),_0x2f402f=_0x5bf19d[_0x45136b(0x17c)](_0x16b1ef[_0x45136b(0x105)]),_0x5a7d41=_0x5bf19d[_0x45136b(0x1f6)](_0x199699[_0x45136b(0x111)]([_0x5a0d32,_0x489246]),_0x2f402f),_0x328686=_0xe87b5b[_0x45136b(0x1bf)](_0x532f1f,_0x579d9a,_0x2bc80c,_0xc65cf1,_0x5a7d41);((_0x7bdb15=this[_0x45136b(0x190)])==null?void 0x0:_0x7bdb15[_0x45136b(0x107)])===_0x328686[_0x45136b(0x107)]&&((_0x56d0e7=this['_lastPointer'])==null?void 0x0:_0x56d0e7[_0x45136b(0x29c)])===_0x328686[_0x45136b(0x29c)]||this[_0x45136b(0x1a3)][_0x45136b(0x10d)](_0x35e730=>{_0x35e730['onMouseMove'](_0x328686);});},0x64));});}[_0x4b8403(0x15f)](_0x317412,_0xfefc27){const _0x11358e=_0x4b8403;var _0x12eaff;const _0x4276c8=(_0x12eaff=this[_0x11358e(0x2c9)]['getCurrent']())==null?void 0x0:_0x12eaff[_0x11358e(0x26c)];if(!_0x4276c8)return;const _0x287cf6=this[_0x11358e(0xe9)]();if(!_0x287cf6)return;this[_0x11358e(0x1a3)][_0x11358e(0x10d)](_0x3f0592=>{const _0x4f67a4=_0x11358e;_0x3f0592[_0x4f67a4(0x249)]();});const {scene:_0x5a31b6}=_0x287cf6,_0x209a03=xi(Array[_0x11358e(0x15c)](_0xfefc27[_0x11358e(0x20b)]()))[_0x11358e(0x262)](_0x21d43d=>{const {color:_0x2a58a5,range:_0x4d4dfd,name:_0x54a33f,selection:_0x266abc,sheetID:_0x2239c8}=_0x21d43d,{startColumn:_0x5eddd1,startRow:_0x4ba26c,endColumn:_0x126459,endRow:_0x4721f3}=_0x4d4dfd,_0x383f4a=_0x201c07(_0x4ba26c,_0x5eddd1,_0x5a31b6,_0x4276c8),_0xdf4efc=_0x201c07(_0x4721f3,_0x126459,_0x5a31b6,_0x4276c8),{columnHeaderHeightAndMarginTop:_0x268792}=_0x4276c8,{startX:_0x4323d7,startY:_0x15f908}=_0x383f4a,{endX:_0x4a72d8,endY:_0x134775}=_0xdf4efc,_0x4c640b=_0x4a72d8-_0x4323d7,_0x1c3046=_0x134775-_0x15f908,_0x48be66={'labelPosition':_0x15f908-_0x268792>=ee?'top':'bottom','sheetID':_0x2239c8,'range':_0x4d4dfd,'color':_0x2a58a5,'name':_0x54a33f,'selection':_0x266abc,'left':_0x4323d7,'top':_0x15f908,'width':_0x4c640b,'height':_0x1c3046,'evented':!0x1,'zIndex':$i};return new wi(_0x54a33f,_0x48be66);});_0x5a31b6[_0x11358e(0x29a)](_0x209a03,Li),this[_0x11358e(0x1a3)]=new Set(_0x209a03);}[_0x4b8403(0x1a4)](){const _0x4e79bc=_0x4b8403;var _0x29bfeb;(_0x29bfeb=this[_0x4e79bc(0x1a3)])==null||_0x29bfeb[_0x4e79bc(0x10d)](_0x1a4393=>_0x1a4393[_0x4e79bc(0x157)]());}[_0x4b8403(0xe9)](){const _0x46cdf7=_0x4b8403;return _0x3d2055(this[_0x46cdf7(0xf3)]['unit'],this['_context']);}};Pe=yi([ve(0x1,_0x4fcb99(_0xbd9ea3)),ve(0x2,_0x4fcb99(H)),ve(0x3,_0x4fcb99(_0x4bdd18))],Pe);function xi(_0x2c9578){const _0x3b7226=_0x4b8403,_0x451f7d=new Map();return _0x2c9578['forEach'](_0x20c79b=>{const _0x33372c=_0x51b8;if(_0x451f7d['has'](_0x20c79b[_0x33372c(0x23b)])){const _0x51e187=_0x451f7d[_0x33372c(0x192)](_0x20c79b['selection']);_0x51e187[_0x33372c(0x1e1)]+=',\x20'+_0x20c79b['name'];}else _0x451f7d[_0x33372c(0xd0)](_0x20c79b[_0x33372c(0x23b)],_0x20c79b);}),Array[_0x3b7226(0x15c)](_0x451f7d[_0x3b7226(0x20b)]());}var v=function(){return v=Object['assign']||function(_0x4499e8){const _0x146129=_0x51b8;for(var _0x44c4bf,_0x4e13a4=0x1,_0x24c9db=arguments[_0x146129(0x23a)];_0x4e13a4<_0x24c9db;_0x4e13a4++){_0x44c4bf=arguments[_0x4e13a4];for(var _0x438a19 in _0x44c4bf)Object['prototype'][_0x146129(0x176)]['call'](_0x44c4bf,_0x438a19)&&(_0x4499e8[_0x438a19]=_0x44c4bf[_0x438a19]);}return _0x4499e8;},v['apply'](this,arguments);},Bi=function(_0x456341,_0x44747b){const _0x5ac0b7=_0x4b8403;var _0x1269ef={};for(var _0x46b73d in _0x456341)Object[_0x5ac0b7(0xe8)][_0x5ac0b7(0x176)][_0x5ac0b7(0x269)](_0x456341,_0x46b73d)&&_0x44747b[_0x5ac0b7(0x14e)](_0x46b73d)<0x0&&(_0x1269ef[_0x46b73d]=_0x456341[_0x46b73d]);if(_0x456341!=null&&typeof Object[_0x5ac0b7(0x292)]=='function'){for(var _0xa29fb0=0x0,_0x46b73d=Object[_0x5ac0b7(0x292)](_0x456341);_0xa29fb0<_0x46b73d['length'];_0xa29fb0++)_0x44747b[_0x5ac0b7(0x14e)](_0x46b73d[_0xa29fb0])<0x0&&Object[_0x5ac0b7(0xe8)][_0x5ac0b7(0x288)]['call'](_0x456341,_0x46b73d[_0xa29fb0])&&(_0x1269ef[_0x46b73d[_0xa29fb0]]=_0x456341[_0x46b73d[_0xa29fb0]]);}return _0x1269ef;},Fe=_0x18638d(function(_0x342b8f,_0x5d433e){const _0x701add=_0x4b8403;var _0x244227=_0x342b8f[_0x701add(0xcb)],_0x1a4ea9=_0x342b8f['id'],_0x4baf57=_0x342b8f[_0x701add(0xc8)],_0x2568d2=_0x342b8f[_0x701add(0x1b0)],_0x145de6=Bi(_0x342b8f,['icon','id',_0x701add(0xc8),'extend']),_0x400d90=_0x701add(0x1d9)[_0x701add(0x12d)](_0x1a4ea9,'\x20')[_0x701add(0x12d)](_0x4baf57||'')[_0x701add(0x26e)](),_0x56ef62=_0x174d17('_'[_0x701add(0x12d)](Fi()));return Rt(_0x244227,''['concat'](_0x1a4ea9),{'defIds':_0x244227[_0x701add(0x296)],'idSuffix':_0x56ef62[_0x701add(0x153)]},v({'ref':_0x5d433e,'className':_0x400d90},_0x145de6),_0x2568d2);});function Rt(_0x13eabf,_0x3477c0,_0x3d5010,_0x381755,_0x5dc86b){const _0x367d68=_0x4b8403;return _0xf435e(_0x13eabf[_0x367d68(0xe6)],v(v({'key':_0x3477c0},ki(_0x13eabf,_0x3d5010,_0x5dc86b)),_0x381755),(Hi(_0x13eabf,_0x3d5010)[_0x367d68(0x160)]||[])[_0x367d68(0x262)](function(_0x4cd567,_0x3325a2){const _0x1866e9=_0x367d68;return Rt(_0x4cd567,''[_0x1866e9(0x12d)](_0x3477c0,'-')[_0x1866e9(0x12d)](_0x13eabf['tag'],'-')[_0x1866e9(0x12d)](_0x3325a2),_0x3d5010,void 0x0,_0x5dc86b);}));}function ki(_0x5cadf8,_0xa5a2c2,_0x425688){const _0x184ed8=_0x4b8403;var _0x5b79ab=v({},_0x5cadf8[_0x184ed8(0x279)]);_0x425688!=null&&_0x425688[_0x184ed8(0x280)]&&_0x5b79ab[_0x184ed8(0x169)]===_0x184ed8(0x280)&&(_0x5b79ab['fill']=_0x425688[_0x184ed8(0x280)]),_0x5cadf8[_0x184ed8(0xe6)]==='mask'&&_0x5b79ab['id']&&(_0x5b79ab['id']=_0x5b79ab['id']+_0xa5a2c2[_0x184ed8(0x15a)]),Object[_0x184ed8(0xfc)](_0x5b79ab)[_0x184ed8(0x10d)](function(_0xdff8d6){const _0x1255a5=_0x184ed8;var _0x1362e6=_0xdff8d6[0x0],_0x2a3375=_0xdff8d6[0x1];_0x1362e6===_0x1255a5(0x246)&&typeof _0x2a3375==_0x1255a5(0x191)&&(_0x5b79ab[_0x1362e6]=_0x2a3375['replace'](/url\(#(.*)\)/,_0x1255a5(0x1b4)['concat'](_0xa5a2c2[_0x1255a5(0x15a)],')')));});var _0x5ea361=_0xa5a2c2[_0x184ed8(0x296)];return!_0x5ea361||_0x5ea361[_0x184ed8(0x23a)]===0x0||(_0x5cadf8[_0x184ed8(0xe6)]===_0x184ed8(0x11f)&&_0x5b79ab[_0x184ed8(0x13b)]&&(_0x5b79ab[_0x184ed8(0x13b)]=_0x5b79ab[_0x184ed8(0x13b)]+_0xa5a2c2['idSuffix']),Object[_0x184ed8(0xfc)](_0x5b79ab)['forEach'](function(_0x37139e){const _0x1d63ee=_0x184ed8;var _0x768c8e=_0x37139e[0x0],_0x20158f=_0x37139e[0x1];typeof _0x20158f=='string'&&(_0x5b79ab[_0x768c8e]=_0x20158f[_0x1d63ee(0x23f)](/url\(#(.*)\)/,_0x1d63ee(0x1b4)[_0x1d63ee(0x12d)](_0xa5a2c2[_0x1d63ee(0x15a)],')')));})),_0x5b79ab;}function Hi(_0x4a5ba5,_0x56ca5c){const _0x26b8d2=_0x4b8403;var _0x31159c,_0x473a6d=_0x56ca5c['defIds'];return!_0x473a6d||_0x473a6d[_0x26b8d2(0x23a)]===0x0?_0x4a5ba5:_0x4a5ba5[_0x26b8d2(0xe6)]===_0x26b8d2(0x12a)&&(!((_0x31159c=_0x4a5ba5['children'])===null||_0x31159c===void 0x0)&&_0x31159c[_0x26b8d2(0x23a)])?v(v({},_0x4a5ba5),{'children':_0x4a5ba5[_0x26b8d2(0x160)]['map'](function(_0x5199bd){const _0x3f7a92=_0x26b8d2;return typeof _0x5199bd[_0x3f7a92(0x279)]['id']==_0x3f7a92(0x191)&&_0x473a6d&&_0x473a6d[_0x3f7a92(0xf6)](_0x5199bd[_0x3f7a92(0x279)]['id'])?v(v({},_0x5199bd),{'attrs':v(v({},_0x5199bd[_0x3f7a92(0x279)]),{'id':_0x5199bd[_0x3f7a92(0x279)]['id']+_0x56ca5c[_0x3f7a92(0x15a)]})}):_0x5199bd;})}):_0x4a5ba5;}function Fi(){const _0x21faed=_0x4b8403;return Math[_0x21faed(0x236)]()['toString'](0x24)[_0x21faed(0x18e)](0x2,0x8);}Fe[_0x4b8403(0x145)]=_0x4b8403(0x290);var Yi={'tag':'svg','attrs':{'xmlns':_0x4b8403(0x28e),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4b8403(0x124),'height':_0x4b8403(0x124)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b8403(0x2c3)},'children':[{'tag':_0x4b8403(0x25a),'attrs':{'stroke':_0x4b8403(0x102),'d':_0x4b8403(0x1c0),'strokeLinecap':_0x4b8403(0x23d),'strokeLinejoin':_0x4b8403(0x23d),'strokeWidth':1.2}}]},{'tag':_0x4b8403(0x12a),'attrs':{},'children':[{'tag':_0x4b8403(0x23e),'attrs':{'id':_0x4b8403(0x21b)},'children':[{'tag':_0x4b8403(0x25a),'attrs':{'fill':_0x4b8403(0x187),'d':_0x4b8403(0x226)}}]}]}],'defIds':[_0x4b8403(0x21b)]},Dt=_0x18638d(function(_0x304e08,_0x95c042){const _0x23cb6f=_0x4b8403;return _0xf435e(Fe,Object[_0x23cb6f(0x29e)]({},_0x304e08,{'id':'off-line-icon','ref':_0x95c042,'icon':Yi}));});Dt[_0x4b8403(0x145)]='OffLineIcon';var ji={'tag':_0x4b8403(0x19e),'attrs':{'xmlns':_0x4b8403(0x28e),'fill':_0x4b8403(0x228),'viewBox':_0x4b8403(0x234),'width':'1em','height':_0x4b8403(0x124)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b8403(0x28c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4b8403(0x23d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4b8403(0x12a),'attrs':{},'children':[{'tag':_0x4b8403(0x23e),'attrs':{'id':_0x4b8403(0x10f)},'children':[{'tag':'path','attrs':{'fill':_0x4b8403(0x187),'d':_0x4b8403(0x226),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4b8403(0x10f)]},Nt=_0x18638d(function(_0x56cf9e,_0x390079){const _0xe7a68f=_0x4b8403;return _0xf435e(Fe,Object[_0xe7a68f(0x29e)]({},_0x56cf9e,{'id':_0xe7a68f(0x2a2),'ref':_0x390079,'icon':ji}));});Nt[_0x4b8403(0x145)]=_0x4b8403(0xd8);function Vi(_0x145a1f){const _0x5166bb=_0x4b8403;switch(_0x145a1f){case _0xb48ee1['OFFLINE']:return _0x5166bb(0x297);case _0xb48ee1[_0x5166bb(0x1d7)]:return _0x5166bb(0x201);case _0xb48ee1['FETCH_MISS']:return _0x5166bb(0x283);case _0xb48ee1[_0x5166bb(0x184)]:return'collabStatus.notCollab';case _0xb48ee1['AWAITING']:case _0xb48ee1[_0x5166bb(0x27c)]:return'collabStatus.syncing';case _0xb48ee1[_0x5166bb(0x212)]:case _0xb48ee1[_0x5166bb(0x26d)]:return _0x5166bb(0x238);}}function Wi(_0x1d7dc8){const _0x53816d=_0x4b8403,{status$:_0x4580e0}=_0x1d7dc8,_0x5a02a6=_0x533835(_0x4580e0,_0xb48ee1[_0x53816d(0x184)]),_0x36c089=_0x3df6dc(_0x3cf543),_0x3fbedf=_0x3df6dc(_0x204357),_0x5ece14=_0x5a02a6!==_0xb48ee1[_0x53816d(0x135)],_0x1b64e2=_0x36c089['t'](Vi(_0x5a02a6)),_0x411976=_0x5ece14?_0x4fe409(Nt,{}):_0x4fe409(Dt,{}),_0x1342be=_0x89b94(()=>{const _0x365f61=_0x53816d;_0x5ece14||_0x3fbedf[_0x365f61(0x188)]();},[_0x5ece14,_0x3fbedf]);function _0x2eba5d(){const _0x3ef176=_0x53816d;return _0x4b2c43(_0x3ef176(0x11c),{'className':_0x3ef176(0x1a9),'onClick':_0x1342be,'children':[_0x4fe409(_0x3ef176(0x11c),{'className':_0x3e9081(_0x3ef176(0x161),{'univer-text-green-500':_0x5ece14,'univer-text-red-500':!_0x5ece14}),'children':_0x411976}),_0x4fe409(_0x3ef176(0x11c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1b64e2})]});}return _0x5ece14?_0x2eba5d():_0x4fe409(_0x3963a4,{'title':_0x36c089['t'](_0x53816d(0x147)),'children':_0x2eba5d()});}var Xi=Object[_0x4b8403(0x193)],Gi=(_0x39e59e,_0x356c19,_0x2379c2,_0x2ec02a)=>{const _0x38d70c=_0x4b8403;for(var _0x5eb8f1=_0x2ec02a>0x1?void 0x0:_0x2ec02a?Xi(_0x356c19,_0x2379c2):_0x356c19,_0x21d0b0=_0x39e59e[_0x38d70c(0x23a)]-0x1,_0x25db7a;_0x21d0b0>=0x0;_0x21d0b0--)(_0x25db7a=_0x39e59e[_0x21d0b0])&&(_0x5eb8f1=_0x25db7a(_0x5eb8f1)||_0x5eb8f1);return _0x5eb8f1;},Q=(_0x22f8d6,_0x1111cb)=>(_0x2ba923,_0x31b6ba)=>_0x1111cb(_0x2ba923,_0x31b6ba,_0x22f8d6);let te=class extends _0x25f44f{constructor(_0x1500b1,_0x54b5dd,_0x1c16f3,_0x3a94ea){const _0x218062=_0x4b8403;super(),_(this,_0x218062(0x120),new _0x113d14(_0xb48ee1[_0x218062(0x184)])),(this['_univerInstanceService']=_0x1500b1,this[_0x218062(0xe3)]=_0x54b5dd,this[_0x218062(0x1cd)]=_0x1c16f3,this[_0x218062(0x1b8)]=_0x3a94ea,this[_0x218062(0xf0)](),this['_initStatusListener']());}[_0x4b8403(0x127)](){const _0x73b664=_0x4b8403;this[_0x73b664(0xef)](this[_0x73b664(0x139)][_0x73b664(0x155)][_0x73b664(0x2cc)](_0x28364b(()=>{const _0xc496c1=_0x73b664,_0x1e3351=this[_0xc496c1(0x139)][_0xc496c1(0x150)]();return _0x1e3351?this[_0xc496c1(0x1cd)][_0xc496c1(0xc7)](_0x1e3351[_0xc496c1(0x2a1)]()):_0x42a10c(null);}),_0x28364b(_0x12d4b9=>_0x12d4b9?_0x12d4b9[_0x73b664(0x113)]:_0x42a10c(_0xb48ee1[_0x73b664(0x184)])))[_0x73b664(0x1a7)](_0x568bde=>{const _0x699287=_0x73b664;this[_0x699287(0x120)]['next'](_0x568bde);}));}[_0x4b8403(0xf0)](){const _0x5f1baa=_0x4b8403;this[_0x5f1baa(0xef)](this[_0x5f1baa(0x1b8)]['registerComponent'](_0x3887e3[_0x5f1baa(0x1c3)],()=>_0x2f7736(Ki({'status$':this[_0x5f1baa(0x120)]['asObservable']()}),this[_0x5f1baa(0xe3)])));}};te=Gi([Q(0x0,_0x226365),Q(0x1,_0x4fcb99(_0x496630)),Q(0x2,_0x4fcb99(_0x1d505a)),Q(0x3,_0x2b1b50)],te);function Ki(_0x20058e){const {status$:_0xe4eebd}=_0x20058e;return function(){return _0x4fe409(Wi,{'status$':_0xe4eebd});};}var zi=Object[_0x4b8403(0x193)],Ji=(_0xb47cfe,_0x1a49ab,_0x26ebdb,_0x2e51fb)=>{const _0x3b1fb8=_0x4b8403;for(var _0x2f18b0=_0x2e51fb>0x1?void 0x0:_0x2e51fb?zi(_0x1a49ab,_0x26ebdb):_0x1a49ab,_0x479069=_0xb47cfe[_0x3b1fb8(0x23a)]-0x1,_0x3b1a3c;_0x479069>=0x0;_0x479069--)(_0x3b1a3c=_0xb47cfe[_0x479069])&&(_0x2f18b0=_0x3b1a3c(_0x2f18b0)||_0x2f18b0);return _0x2f18b0;},B=(_0x135f07,_0x51a43a)=>(_0x308c1a,_0x4c1463)=>_0x51a43a(_0x308c1a,_0x4c1463,_0x135f07);let se=class extends _0x25f44f{constructor(_0xf38b56,_0x1b4226,_0x5475a7,_0x23c11c,_0x2a20a7,_0x32d934){const _0x37a07d=_0x4b8403;super(),this[_0x37a07d(0x2b7)]=_0xf38b56,this[_0x37a07d(0x2c5)]=_0x1b4226,this['_collaborationUIEventService']=_0x5475a7,this[_0x37a07d(0x2a4)]=_0x23c11c,this[_0x37a07d(0x1af)]=_0x2a20a7,this[_0x37a07d(0x2b2)]=_0x32d934,this[_0x37a07d(0x2b8)](),this['_initEvent']();}[_0x4b8403(0x2b8)](){const _0x244022=_0x4b8403;this[_0x244022(0xef)](this[_0x244022(0x2b7)]['registerBeforeClose'](()=>{const _0x3e0a6f=_0x244022;if(this[_0x3e0a6f(0x2c5)][_0x3e0a6f(0x254)][_0x3e0a6f(0x22e)])return this[_0x3e0a6f(0x2b2)]['t'](_0x3e0a6f(0x263));}));}[_0x4b8403(0x1f4)](){const _0x594b80=_0x4b8403;this[_0x594b80(0xef)](this[_0x594b80(0x158)][_0x594b80(0x104)][_0x594b80(0x1a7)](_0x2acadd=>{const _0x32a926=_0x594b80;_0x2acadd['id']===_0x667d73[_0x32a926(0x1f0)]&&this['_messageService'][_0x32a926(0x258)]({'type':_0x496fe2[_0x32a926(0x252)],'content':this[_0x32a926(0x2b2)]['t']('collaboration.single-unit.warning')}),_0x2acadd['id']===_0x667d73[_0x32a926(0x16c)]&&this[_0x32a926(0x2a4)]['show']({'type':_0x496fe2[_0x32a926(0x252)],'content':this['_localeService']['t'](_0x32a926(0x1ee))}),_0x2acadd['id']===_0x667d73['PERMISSION_DENIED']&&this[_0x32a926(0x1af)][_0x32a926(0x258)]({'title':this['_localeService']['t'](_0x32a926(0x186)),'content':this[_0x32a926(0x2b2)]['t'](_0x32a926(0x28a)),'type':_0x32a926(0x22d),'duration':0x0}),_0x2acadd['id']===_0x667d73[_0x32a926(0x1d7)]&&this[_0x32a926(0x2a4)]['show']({'type':_0x496fe2[_0x32a926(0xdf)],'content':this[_0x32a926(0x2b2)]['t'](_0x32a926(0x1ee))+'('+_0x2acadd[_0x32a926(0x10c)]+')'}),_0x2acadd['id']===_0x667d73[_0x32a926(0x294)]&&this[_0x32a926(0x2a4)][_0x32a926(0x258)]({'type':_0x496fe2[_0x32a926(0x252)],'content':this[_0x32a926(0x2b2)]['t'](_0x2acadd[_0x32a926(0x10c)]||'')}),_0x2acadd['id']===_0x667d73['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x496fe2[_0x32a926(0x252)],'content':this[_0x32a926(0x2b2)]['t']('session.will-retry')}),_0x2acadd['id']===_0x667d73[_0x32a926(0x1b6)]&&this[_0x32a926(0x2a4)][_0x32a926(0x258)]({'type':_0x496fe2['Error'],'content':this[_0x32a926(0x2b2)]['t'](_0x32a926(0x235))}),_0x2acadd['id']===_0x667d73[_0x32a926(0x1d3)]&&this['_messageService'][_0x32a926(0x258)]({'type':_0x496fe2[_0x32a926(0xdf)],'content':this[_0x32a926(0x2b2)]['t'](_0x32a926(0x20a))});}));}};se=Ji([B(0x0,_0x454f05),B(0x1,_0x12db7b),B(0x2,_0x4fcb99(_0x43216a)),B(0x3,_0x40792f),B(0x4,_0x18d8eb),B(0x5,_0x4fcb99(_0x3cf543))],se);const Zi=_0x4b8403(0x131),et={},Ut=_0x3ca16e(_0x4b8403(0x250));var Qi=Object[_0x4b8403(0x193)],qi=(_0xdde06e,_0xafa95,_0x267836,_0xd8ddba)=>{for(var _0x299107=_0xd8ddba>0x1?void 0x0:_0xd8ddba?Qi(_0xafa95,_0x267836):_0xafa95,_0x78c51=_0xdde06e['length']-0x1,_0x412b66;_0x78c51>=0x0;_0x78c51--)(_0x412b66=_0xdde06e[_0x78c51])&&(_0x299107=_0x412b66(_0x299107)||_0x299107);return _0x299107;},G=(_0x486f5e,_0x34f31e)=>(_0x1e204e,_0x38630b)=>_0x34f31e(_0x1e204e,_0x38630b,_0x486f5e);let ie=class extends _0x12fc3c{constructor(_0x25b5df,_0x6d6e3f,_0x270ff6,_0x46ab29,_0xee0e7c){const _0x5a3fff=_0x4b8403;super(),this[_0x5a3fff(0x1dc)]=_0x25b5df,this[_0x5a3fff(0xc9)]=_0x6d6e3f,this[_0x5a3fff(0x165)]=_0x270ff6,this['_dataLoaderService']=_0x46ab29,_0xee0e7c?_0xee0e7c==null||_0xee0e7c[_0x5a3fff(0x1e0)]()[_0x5a3fff(0x163)](()=>this[_0x5a3fff(0x17e)]()):(this[_0x5a3fff(0xc9)]['debug'](_0x5a3fff(0xf2),_0x5a3fff(0x281)),this[_0x5a3fff(0x17e)]());}async['_init'](){const _0x55461a=_0x4b8403,_0x2b18d0=this[_0x55461a(0x1dc)][_0x55461a(0x142)](_0x55461a(0x231)),_0x30cbb2=this[_0x55461a(0x1dc)][_0x55461a(0x142)]('type'),_0x3b770e=this['_urlService'][_0x55461a(0x142)](_0x55461a(0x1d5));if(!_0x2b18d0||!_0x30cbb2){this[_0x55461a(0xc9)][_0x55461a(0x116)](_0x55461a(0xf2),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x403fd6=await this[_0x55461a(0x1d0)][_0x55461a(0x208)](_0x2b18d0,Number(_0x30cbb2),_0x3b770e);_0x403fd6&&_0x403fd6 instanceof _0x1c0888&&this[_0x55461a(0x1b1)](_0x403fd6);}async[_0x4b8403(0x1b1)](_0x56c459){const _0x232fee=_0x4b8403;await this['_updateSubUnitFromURLParams'](_0x56c459),_0x56c459[_0x232fee(0x232)]['pipe'](_0x5271b5(this[_0x232fee(0x1cb)]))[_0x232fee(0x1a7)](_0x2fd62b=>{const _0x57a0dd=_0x232fee;_0x2fd62b&&this[_0x57a0dd(0xe7)](_0x2fd62b);}),this[_0x232fee(0x1dc)][_0x232fee(0x1d1)]['pipe'](_0x5271b5(this[_0x232fee(0x1cb)]))[_0x232fee(0x1a7)](()=>this[_0x232fee(0x282)](_0x56c459));}[_0x4b8403(0xe7)](_0x453ee4,_0x407ef1=!0x1){const _0xc268bf=_0x4b8403,_0x223403=this[_0xc268bf(0x1dc)][_0xc268bf(0x142)]('subunit');_0x453ee4[_0xc268bf(0x20e)]()!==_0x223403&&this['_urlService'][_0xc268bf(0x239)](_0xc268bf(0x1d5),_0x453ee4[_0xc268bf(0x20e)](),_0x407ef1);}async[_0x4b8403(0x282)](_0x124026){const _0x31fc28=_0x4b8403;var _0x56569a;const _0x299352=this[_0x31fc28(0x1dc)][_0x31fc28(0x142)](_0x31fc28(0x1d5));if(!_0x299352||!_0x124026['getSheetBySheetId'](_0x299352)){const _0x2f983a=_0x124026['getUnhiddenWorksheets']()[0x0],_0x548f0a=_0x124026[_0x31fc28(0x210)](_0x2f983a);if(!_0x548f0a)return;this[_0x31fc28(0xe7)](_0x548f0a,!0x0),await this[_0x31fc28(0x165)]['executeCommand'](_0x407d7e['id'],{'unitId':_0x124026[_0x31fc28(0x2a1)](),'subUnitId':_0x2f983a});return;}((_0x56569a=_0x124026[_0x31fc28(0x1bb)]())==null?void 0x0:_0x56569a[_0x31fc28(0x20e)]())!==_0x299352&&await this[_0x31fc28(0x165)][_0x31fc28(0x1e9)](_0x407d7e['id'],{'unitId':_0x124026['getUnitId'](),'subUnitId':_0x299352});}};ie=qi([G(0x0,Ut),G(0x1,_0x245136),G(0x2,_0x5ca9d5),G(0x3,_0x4fcb99(_0x1f743d)),G(0x4,_0x4937ef(_0xab44d1))],ie);var en=Object[_0x4b8403(0x193)],tn=(_0x5a3b25,_0x3fba3f,_0x575c1c,_0x8c5058)=>{const _0x3f2a75=_0x4b8403;for(var _0xd812e0=_0x8c5058>0x1?void 0x0:_0x8c5058?en(_0x3fba3f,_0x575c1c):_0x3fba3f,_0x556e6e=_0x5a3b25[_0x3f2a75(0x23a)]-0x1,_0x48eb18;_0x556e6e>=0x0;_0x556e6e--)(_0x48eb18=_0x5a3b25[_0x556e6e])&&(_0xd812e0=_0x48eb18(_0xd812e0)||_0xd812e0);return _0xd812e0;},pe=(_0xb915f2,_0x1bb543)=>(_0x342781,_0x51cba4)=>_0x1bb543(_0x342781,_0x51cba4,_0xb915f2);let ne=class{constructor(_0x253bc7,_0x147db3,_0x53e1fa){const _0x5cf99f=_0x4b8403;this['_injector']=_0x253bc7,this[_0x5cf99f(0x1a1)]=_0x147db3,this[_0x5cf99f(0xd4)]=_0x53e1fa;}[_0x4b8403(0x244)](_0x458419){const _0x43900c=_0x4b8403;this[_0x43900c(0x285)](_0x458419),this[_0x43900c(0x197)](_0x458419);}['transformRemoteChangeset'](_0x7c566){const _0x5c2161=_0x4b8403,{unitID:_0x5d2748}=_0x7c566,_0x28ab8e=this['_renderManagerService'][_0x5c2161(0x195)](_0x5d2748)[_0x5c2161(0xd5)](_0x2ee6b6),{redoCache:_0x42ca9c}=_0x28ab8e[_0x5c2161(0x1d4)]();if(_0x42ca9c['length']===0x0)return _0x7c566;let _0x22c650=_0x433547[_0x5c2161(0x118)](_0x7c566['mutations'][0x0]);for(let _0x23fef2=0x0;_0x23fef2<_0x42ca9c[_0x5c2161(0x23a)];_0x23fef2++){const _0x1399e5={'id':_0x5c2161(0x277),'params':{..._0x42ca9c[_0x23fef2]}},_0x3e7ce2=this[_0x5c2161(0x1a1)][_0x5c2161(0x2b6)](_0x22c650,_0x1399e5,!0x1);if(_0x2f91e9(_0x3e7ce2))throw _0x3e7ce2[_0x5c2161(0x22d)];_0x22c650=_0x3e7ce2[_0x5c2161(0x109)];}return{..._0x433547['deepClone'](_0x7c566),'mutations':[_0x22c650]};}[_0x4b8403(0x285)](_0x41101e){const _0x6b5583=_0x4b8403,{unitID:_0x3b8938}=_0x41101e,_0xdad8dd=this['_renderManagerService'][_0x6b5583(0x195)](_0x3b8938)[_0x6b5583(0xd5)](_0x2ee6b6),{undoCache:_0x1bd750,redoCache:_0x4c7a79}=_0xdad8dd[_0x6b5583(0x1d4)]();if(_0x1bd750[_0x6b5583(0x23a)]===0x0||_0x4c7a79['length']===0x0)return;const _0xf2ee6e=[],_0x107d3e=[];let _0x5b775c=_0x433547[_0x6b5583(0x118)](_0x41101e[_0x6b5583(0x20c)][0x0]),_0x1f23bd=_0x433547[_0x6b5583(0x118)](_0x41101e[_0x6b5583(0x20c)][0x0]);for(let _0x21e77f=_0x1bd750['length']-0x1;_0x21e77f>=0x0;_0x21e77f--){const _0x36dfb8={'id':_0x6b5583(0x277),'params':{..._0x1bd750[_0x21e77f]}},_0x5c33be={'id':_0x6b5583(0x277),'params':{..._0x4c7a79[_0x21e77f]}},_0x2ed3c4=this[_0x6b5583(0x1a1)][_0x6b5583(0x2b6)](_0x5b775c,_0x36dfb8,!0x1),_0x418080=this[_0x6b5583(0x1a1)][_0x6b5583(0x2b6)](_0x1f23bd,_0x5c33be,!0x1);if(_0x2f91e9(_0x2ed3c4))throw _0x2ed3c4[_0x6b5583(0x22d)];if(_0x2f91e9(_0x418080))throw _0x418080[_0x6b5583(0x22d)];_0xf2ee6e[_0x6b5583(0x2d5)](_0x2ed3c4[_0x6b5583(0x206)][_0x6b5583(0xe5)]),_0x107d3e[_0x6b5583(0x2d5)](_0x418080[_0x6b5583(0x206)][_0x6b5583(0xe5)]),_0x5b775c=_0x2ed3c4[_0x6b5583(0x109)],_0x1f23bd=_0x418080['m1Prime'];}_0xdad8dd['setUndoRedoMutationParamsCache']({'undoCache':_0xf2ee6e,'redoCache':_0x107d3e});}['_transformPreviousActiveRange'](_0x18b71c){const _0x1579d4=_0x4b8403,{unitID:_0x5146c9}=_0x18b71c,_0x1c3045=this['_renderManagerService'][_0x1579d4(0x195)](_0x5146c9)['with'](_0x2ee6b6),_0x26f7bd=_0x1c3045[_0x1579d4(0x298)]();if(_0x26f7bd==null)return;const _0x13b8d5=[{'id':_0x1579d4(0x277),'params':{'unitId':_0x18b71c[_0x1579d4(0x2c7)],'actions':null,'textRanges':[_0x26f7bd]}}],_0x594bf1=this['_transformService'][_0x1579d4(0x12b)](_0x18b71c,_0x13b8d5);if(!_0x4475b7(_0x594bf1))throw _0x594bf1['error'];const _0x575e39=_0x594bf1[_0x1579d4(0x206)][0x0][_0x1579d4(0xe5)][_0x1579d4(0x21d)];Array['isArray'](_0x575e39)&&_0x575e39[_0x1579d4(0x23a)]&&_0x1c3045[_0x1579d4(0x2c8)](_0x575e39[0x0]);}};ne=tn([pe(0x0,_0x4fcb99(_0x496630)),pe(0x1,_0x2c4c8a),pe(0x2,_0x3b1b24)],ne);var sn=Object[_0x4b8403(0x193)],nn=(_0x505297,_0x2d91ba,_0x5d8b92,_0x56a563)=>{const _0x29c380=_0x4b8403;for(var _0x14d505=_0x56a563>0x1?void 0x0:_0x56a563?sn(_0x2d91ba,_0x5d8b92):_0x2d91ba,_0x1faec5=_0x505297[_0x29c380(0x23a)]-0x1,_0x482a25;_0x1faec5>=0x0;_0x1faec5--)(_0x482a25=_0x505297[_0x1faec5])&&(_0x14d505=_0x482a25(_0x14d505)||_0x14d505);return _0x14d505;},Ce=(_0x22d592,_0xe33d2a)=>(_0x23b18a,_0xc137d9)=>_0xe33d2a(_0x23b18a,_0xc137d9,_0x22d592);let re=class{constructor(_0x1d30ca,_0x4e76b7,_0x5331f8){const _0x29f657=_0x4b8403;this['_injector']=_0x1d30ca,this[_0x29f657(0x1a1)]=_0x4e76b7,this[_0x29f657(0xea)]=_0x5331f8;}[_0x4b8403(0x114)](_0x13fba5){this['_transformHistoryAndStateStack'](_0x13fba5);}[_0x4b8403(0x2a3)](_0x2032bf){const _0x39bd2f=_0x4b8403,{unitID:_0x5c5be2}=_0x2032bf,{collaboration:_0x4ced33}=this[_0x39bd2f(0xea)][_0x39bd2f(0x248)](_0x5c5be2);if(_0x4ced33[_0x39bd2f(0x23a)]===0x0)return _0x2032bf;let _0x53815d=_0x433547['deepClone'](_0x2032bf['mutations'][0x0]);for(let _0x3e6663=0x0;_0x3e6663<_0x4ced33[_0x39bd2f(0x23a)];_0x3e6663++){const _0x247ad9={'id':_0x39bd2f(0x277),'params':{'unitId':_0x4ced33[_0x3e6663][_0x39bd2f(0x18f)],..._0x4ced33[_0x3e6663]['redoState']}},_0x4e0d03=this[_0x39bd2f(0x1a1)][_0x39bd2f(0x2b6)](_0x53815d,_0x247ad9,!0x1);if(_0x2f91e9(_0x4e0d03))throw _0x4e0d03[_0x39bd2f(0x22d)];_0x53815d=_0x4e0d03[_0x39bd2f(0x109)];}return{..._0x433547[_0x39bd2f(0x118)](_0x2032bf),'mutations':[_0x53815d]};}[_0x4b8403(0x166)](_0x30f729){const _0x21ad27=_0x4b8403,{unitID:_0x4b2592}=_0x30f729,{history:_0x1c53d1,collaboration:_0x29367f}=this[_0x21ad27(0xea)][_0x21ad27(0x248)](_0x4b2592);if(_0x1c53d1['length']===0x0&&_0x29367f[_0x21ad27(0x23a)]===0x0)return;const _0x5d7895=[],_0x2a87c8=[];let _0x39707d=_0x433547[_0x21ad27(0x118)](_0x30f729[_0x21ad27(0x20c)][0x0]),_0x39881a=_0x433547[_0x21ad27(0x118)](_0x30f729[_0x21ad27(0x20c)][0x0]);for(let _0x11c9f5=_0x1c53d1['length']-0x1;_0x11c9f5>=0x0;_0x11c9f5--){const _0x2b985f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c53d1[_0x11c9f5][_0x21ad27(0x18f)],..._0x1c53d1[_0x11c9f5][_0x21ad27(0x2c2)]}},_0x280e39={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c53d1[_0x11c9f5][_0x21ad27(0x18f)],..._0x1c53d1[_0x11c9f5][_0x21ad27(0xff)]}},_0x3145a8=this['_transformService'][_0x21ad27(0x2b6)](_0x39707d,_0x2b985f,!0x1),_0x2595e0=this[_0x21ad27(0x1a1)][_0x21ad27(0x2b6)](_0x39881a,_0x280e39,!0x1);if(_0x2f91e9(_0x3145a8))throw _0x3145a8[_0x21ad27(0x22d)];if(_0x2f91e9(_0x2595e0))throw _0x2595e0[_0x21ad27(0x22d)];_0x5d7895[_0x21ad27(0x2d5)]({..._0x1c53d1[_0x11c9f5],'undoState':_0x3145a8['m2Prime'][_0x21ad27(0xe5)],'redoState':_0x2595e0[_0x21ad27(0x206)]['params']}),_0x39707d=_0x3145a8[_0x21ad27(0x109)],_0x39881a=_0x2595e0['m1Prime'];}_0x39707d=_0x433547[_0x21ad27(0x118)](_0x30f729[_0x21ad27(0x20c)][0x0]),_0x39881a=_0x433547[_0x21ad27(0x118)](_0x30f729[_0x21ad27(0x20c)][0x0]);for(let _0x307aa0=_0x29367f['length']-0x1;_0x307aa0>=0x0;_0x307aa0--){const _0x21d88f={'id':_0x21ad27(0x277),'params':{'unitId':_0x29367f[_0x307aa0][_0x21ad27(0x18f)],..._0x29367f[_0x307aa0][_0x21ad27(0x2c2)]}},_0x287691={'id':_0x21ad27(0x277),'params':{'unitId':_0x29367f[_0x307aa0][_0x21ad27(0x18f)],..._0x29367f[_0x307aa0]['redoState']}},_0x134d8e=this[_0x21ad27(0x1a1)][_0x21ad27(0x2b6)](_0x39707d,_0x21d88f,!0x1),_0x3c4744=this[_0x21ad27(0x1a1)][_0x21ad27(0x2b6)](_0x39881a,_0x287691,!0x1);if(_0x2f91e9(_0x134d8e))throw _0x134d8e[_0x21ad27(0x22d)];if(_0x2f91e9(_0x3c4744))throw _0x3c4744[_0x21ad27(0x22d)];_0x2a87c8['unshift']({..._0x29367f[_0x307aa0],'undoState':_0x134d8e['m2Prime'][_0x21ad27(0xe5)],'redoState':_0x3c4744[_0x21ad27(0x206)][_0x21ad27(0xe5)]}),_0x39707d=_0x134d8e[_0x21ad27(0x109)],_0x39881a=_0x3c4744['m1Prime'];}this['_docStateChangeManagerService'][_0x21ad27(0x194)](_0x4b2592,{'history':_0x5d7895,'collaboration':_0x2a87c8});}};re=nn([Ce(0x0,_0x4fcb99(_0x496630)),Ce(0x1,_0x2c4c8a),Ce(0x2,_0x4fcb99(_0x48d97e))],re);var rn=Object[_0x4b8403(0x193)],on=(_0x209460,_0x4680a2,_0x1029df,_0x1c2c5f)=>{const _0x3a1790=_0x4b8403;for(var _0x46797c=_0x1c2c5f>0x1?void 0x0:_0x1c2c5f?rn(_0x4680a2,_0x1029df):_0x4680a2,_0x11e50d=_0x209460[_0x3a1790(0x23a)]-0x1,_0x249eb9;_0x11e50d>=0x0;_0x11e50d--)(_0x249eb9=_0x209460[_0x11e50d])&&(_0x46797c=_0x249eb9(_0x46797c)||_0x46797c);return _0x46797c;},tt=(_0x3c2284,_0x3d2b0a)=>(_0x20aa1e,_0x5e327f)=>_0x3d2b0a(_0x20aa1e,_0x5e327f,_0x3c2284);let oe=class{constructor(_0x1caed4,_0x2eef63){const _0x5c7ae6=_0x4b8403;this['_injector']=_0x1caed4,this[_0x5c7ae6(0x1a1)]=_0x2eef63;}[_0x4b8403(0x1ed)](_0x3af748){const _0xf1bd5a=_0x4b8403;var _0x579b4e;const _0x21cf57=this[_0xf1bd5a(0xe3)][_0xf1bd5a(0x192)](_0x4a1d2a),_0x4380f1=(_0x579b4e=_0x21cf57[_0xf1bd5a(0x136)]())!=null?_0x579b4e:[];if(_0x4380f1[_0xf1bd5a(0x23a)]===0x0)return;const _0x4e9a64=_0x3af748[_0xf1bd5a(0x2c7)],_0x5bc31d=[{'id':_0xf1bd5a(0x277),'params':{'unitId':_0x4e9a64,'actions':null,'textRanges':_0x4380f1}}],_0x4ad014=this['_transformService'][_0xf1bd5a(0x12b)](_0x3af748,_0x5bc31d);if(!_0x4475b7(_0x4ad014))throw _0x4ad014[_0xf1bd5a(0x22d)];const _0x365052=_0x4ad014[_0xf1bd5a(0x206)][0x0]['params'][_0xf1bd5a(0x21d)];Array[_0xf1bd5a(0x130)](_0x365052)&&_0x365052['length']&&_0x21cf57[_0xf1bd5a(0x2a9)](_0x365052,{'unitId':_0x4e9a64,'subUnitId':_0x4e9a64},!0x1);}};oe=on([tt(0x0,_0x4fcb99(_0x496630)),tt(0x1,_0x2c4c8a)],oe);var an=Object[_0x4b8403(0x193)],cn=(_0x5cdff7,_0x597d47,_0x140499,_0x1d1cf7)=>{for(var _0x3a54d2=_0x1d1cf7>0x1?void 0x0:_0x1d1cf7?an(_0x597d47,_0x140499):_0x597d47,_0x26ea69=_0x5cdff7['length']-0x1,_0x33858a;_0x26ea69>=0x0;_0x26ea69--)(_0x33858a=_0x5cdff7[_0x26ea69])&&(_0x3a54d2=_0x33858a(_0x3a54d2)||_0x3a54d2);return _0x3a54d2;},U=(_0x4b6547,_0x1782ab)=>(_0xb95e06,_0x4e061f)=>_0x1782ab(_0xb95e06,_0x4e061f,_0x4b6547);let ae=class extends _0x25f44f{constructor(_0x20522c,_0x4a9836,_0x3df9db,_0x213321,_0x20f288,_0x51b4a3,_0xeb6c8d,_0x469c5c){const _0x4b63ee=_0x4b8403;super(),_(this,_0x4b63ee(0x120),new _0x113d14(_0xb48ee1['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x20522c,this[_0x4b63ee(0x1cd)]=_0x4a9836,this[_0x4b63ee(0x1fb)]=_0x3df9db,this['_docTransformStateCacheService']=_0x213321,this[_0x4b63ee(0x2aa)]=_0x20f288,this[_0x4b63ee(0x125)]=_0x51b4a3,this[_0x4b63ee(0x2a4)]=_0xeb6c8d,this[_0x4b63ee(0x2b2)]=_0x469c5c,this[_0x4b63ee(0x295)]());}[_0x4b8403(0x295)](){const _0x25dbaf=_0x4b8403;this[_0x25dbaf(0xef)](this['_collaborationController'][_0x25dbaf(0x1d6)]['subscribe'](_0x84869d=>{const _0x13889e=_0x25dbaf,_0x75053c=this[_0x13889e(0xea)][_0x13889e(0x211)][_0x13889e(0x1a7)](_0x2410bd=>{const _0x24fd15=_0x13889e;if(_0x2410bd==null)return;const {unitId:_0x56da7d,redoState:_0x122a38,commandId:_0x12ab2a}=_0x2410bd;if(_0x56da7d!==_0x84869d[_0x24fd15(0x2c7)])return;const _0x3641a3={'id':_0x12ab2a,'type':_0x40d810['MUTATION'],'params':{'unitId':_0x56da7d,'actions':_0x122a38[_0x24fd15(0x164)],'textRanges':null}};_0x84869d[_0x24fd15(0x1e5)](_0x3641a3);});if(_0x84869d[_0x13889e(0xef)](_0x75053c),_0x84869d instanceof _0x2d0bde){const _0x1df1b0={'onTransformIME':_0x13edfa=>this[_0x13889e(0x1fb)][_0x13889e(0x244)](_0x13edfa),'onTransformState':_0x1da55a=>this[_0x13889e(0x189)][_0x13889e(0x114)](_0x1da55a),'onTransformSelections':_0x439e72=>this['_docTransformSelectionsService'][_0x13889e(0x1ed)](_0x439e72),'onSyncEditingCollabCursor':_0x37de20=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x37de20),'onTransformRemoteChangesetByIMECache':_0x21f945=>this[_0x13889e(0x1fb)]['transformRemoteChangeset'](_0x21f945),'onTransformRemoteChangesetByStateCache':_0x484d31=>this[_0x13889e(0x189)]['transformRemoteChangeset'](_0x484d31)};_0x84869d[_0x13889e(0x251)](_0x1df1b0);}}));}};ae=cn([U(0x0,_0x4fcb99(_0x48d97e)),U(0x1,_0x4fcb99(_0x1d505a)),U(0x2,_0x4fcb99(ne)),U(0x3,_0x4fcb99(re)),U(0x4,_0x4fcb99(oe)),U(0x5,_0x4fcb99(He)),U(0x6,_0x40792f),U(0x7,_0x4fcb99(_0x3cf543))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x520487,_0x2b81b6,_0x2d6df1,_0x3722c0)=>{for(var _0x20b095=_0x3722c0>0x1?void 0x0:_0x3722c0?ln(_0x2b81b6,_0x2d6df1):_0x2b81b6,_0x5ab014=_0x520487['length']-0x1,_0x38f1d7;_0x5ab014>=0x0;_0x5ab014--)(_0x38f1d7=_0x520487[_0x5ab014])&&(_0x20b095=_0x38f1d7(_0x20b095)||_0x20b095);return _0x20b095;},Ee=(_0x3b489d,_0x11a759)=>(_0x3b3e5c,_0x4d2002)=>_0x11a759(_0x3b3e5c,_0x4d2002,_0x3b489d);let we=class extends _0x25f44f{constructor(_0x4d778c,_0x395351,_0x362cbd){const _0x2c685d=_0x4b8403;super(),_(this,_0x2c685d(0x151),new Map()),_(this,_0x2c685d(0x18d),new Map()),_(this,_0x2c685d(0x1de),!0x1),(this[_0x2c685d(0x247)]=_0x4d778c,this[_0x2c685d(0x2d0)]=_0x395351,this[_0x2c685d(0x18a)]=_0x362cbd);}[_0x4b8403(0x1f1)](){const _0x31475f=_0x4b8403;this[_0x31475f(0x1de)]=!0x0;}[_0x4b8403(0x1e6)](){const _0xba3130=_0x4b8403;this[_0xba3130(0x1de)]=!0x1;}get[_0x4b8403(0x254)](){const _0x3a608f=_0x4b8403;return this[_0x3a608f(0x18d)];}[_0x4b8403(0x157)](){const _0x21fe5f=_0x4b8403;this[_0x21fe5f(0x1e8)]()[_0x21fe5f(0x163)](()=>super[_0x21fe5f(0x157)]());}async[_0x4b8403(0x15b)](_0x21f589){const _0x69edcf=_0x4b8403;return this[_0x69edcf(0x1de)]?null:this[_0x69edcf(0x2d0)]['getItem'](_0x2312d9(_0x21f589));}async[_0x4b8403(0x1e7)](_0x266924,_0x119afd){const _0x4be28c=_0x4b8403;return!!this['_localStorageService'][_0x4be28c(0xce)](_0x266924,_0x119afd);}[_0x4b8403(0x143)](_0x18a8f6,_0x484e6a,_0x544ff1,_0x4aacc0){const _0x18e59f=_0x4b8403,_0x12f272=this[_0x18e59f(0x18a)][_0x18e59f(0x1ad)](_0x18a8f6);this[_0x18e59f(0x151)][_0x18e59f(0xd0)](_0x18a8f6,{'unitID':_0x18a8f6,'type':_0x484e6a,'awaitingChangeset':_0x544ff1,'mutations':_0x4aacc0,'rev':_0x12f272}),this['_saveTaskMap']['has'](_0x18a8f6)||this[_0x18e59f(0x1fd)](_0x18a8f6);}[_0x4b8403(0x1fd)](_0x1c3f13){const _0x5b1ee1=_0x4b8403,_0x178d84=this[_0x5b1ee1(0x10e)]();_0x178d84===0x0?this[_0x5b1ee1(0x2ba)](_0x1c3f13):this[_0x5b1ee1(0x18d)]['set'](_0x1c3f13,setTimeout(()=>this[_0x5b1ee1(0x2ba)](_0x1c3f13),_0x178d84));}[_0x4b8403(0x10e)](){const _0x54b06e=_0x4b8403;var _0x49e5d1;return(_0x49e5d1=this['_configService'][_0x54b06e(0x2ae)](_0x5b8693))!=null?_0x49e5d1:_0x328378;}[_0x4b8403(0x2ba)](_0x1241c4){const _0x45f5e2=_0x4b8403,_0xf44619=this[_0x45f5e2(0x18d)][_0x45f5e2(0x192)](_0x1241c4);return _0xf44619!==void 0x0&&window['clearTimeout'](_0xf44619),this[_0x45f5e2(0x2d0)][_0x45f5e2(0xce)](_0x2312d9(_0x1241c4),this[_0x45f5e2(0x151)][_0x45f5e2(0x192)](_0x1241c4))[_0x45f5e2(0x163)](()=>this[_0x45f5e2(0x18d)]['delete'](_0x1241c4));}async[_0x4b8403(0x1e8)](){const _0x16eb9d=_0x4b8403,_0x336f0b=[];this[_0x16eb9d(0x18d)][_0x16eb9d(0x10d)]((_0x4b859b,_0x327e1b)=>{const _0x4e90d2=_0x16eb9d;window[_0x4e90d2(0x1fe)](_0x4b859b),_0x336f0b['push'](this[_0x4e90d2(0x2ba)](_0x327e1b)[_0x4e90d2(0x163)](()=>{const _0x44369c=_0x4e90d2;this[_0x44369c(0x18d)][_0x44369c(0x154)](_0x327e1b);}));}),await Promise[_0x16eb9d(0x19d)](_0x336f0b);}};we=_n([Ee(0x0,_0x246140),Ee(0x1,_0x4fffb1),Ee(0x2,_0x4fcb99(_0x3b7ba2))],we);class hn extends _0x12fc3c{constructor(){const _0xb20216=_0x4b8403;super(),_(this,_0xb20216(0x1d1)),this[_0xb20216(0x1d1)]=_0x8c7788(window,_0xb20216(0x2ad))[_0xb20216(0x2cc)](_0x5271b5(this[_0xb20216(0x1cb)]),_0x21872a(0x1),_0x1e34f7(void 0x0));}[_0x4b8403(0x239)](_0x13b8bf,_0x3ccf10,_0x3f3c9a=!0x1){const _0x2dd002=_0x4b8403,_0x5314fa=new URL(window[_0x2dd002(0x19f)][_0x2dd002(0x243)]);_0x5314fa[_0x2dd002(0xd6)][_0x2dd002(0xd0)](_0x13b8bf,_0x3ccf10),_0x3f3c9a?window[_0x2dd002(0x1f2)]['replaceState']('','',_0x5314fa[_0x2dd002(0x175)]()):window[_0x2dd002(0x1f2)][_0x2dd002(0x2b5)]('','',_0x5314fa[_0x2dd002(0x175)]());}['removeParam'](_0x580969,_0x3cfaf9=!0x1){const _0x40bdcf=_0x4b8403,_0x367bac=new URL(window[_0x40bdcf(0x19f)][_0x40bdcf(0x243)]);_0x367bac['searchParams'][_0x40bdcf(0x154)](_0x580969),_0x3cfaf9?window[_0x40bdcf(0x1f2)]['replaceState']('','',_0x367bac[_0x40bdcf(0x175)]()):window['history'][_0x40bdcf(0x2b5)]('','',_0x367bac[_0x40bdcf(0x175)]());}[_0x4b8403(0x142)](_0x49e3ae){const _0x3e88d3=_0x4b8403;var _0x1583b9;return(_0x1583b9=new URL(window[_0x3e88d3(0x19f)][_0x3e88d3(0x243)])[_0x3e88d3(0xd6)][_0x3e88d3(0x192)](_0x49e3ae))!=null?_0x1583b9:void 0x0;}}var un=Object[_0x4b8403(0xf1)],dn=Object[_0x4b8403(0x193)],fn=(_0x2401b2,_0x196c1b,_0x259298)=>_0x196c1b in _0x2401b2?un(_0x2401b2,_0x196c1b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x259298}):_0x2401b2[_0x196c1b]=_0x259298,Sn=(_0x5e1cb4,_0x383a2e,_0x3f81de,_0x16fdb3)=>{const _0x48a8df=_0x4b8403;for(var _0x2bb790=_0x16fdb3>0x1?void 0x0:_0x16fdb3?dn(_0x383a2e,_0x3f81de):_0x383a2e,_0x5205f9=_0x5e1cb4[_0x48a8df(0x23a)]-0x1,_0x4c6039;_0x5205f9>=0x0;_0x5205f9--)(_0x4c6039=_0x5e1cb4[_0x5205f9])&&(_0x2bb790=_0x4c6039(_0x2bb790)||_0x2bb790);return _0x2bb790;},Oe=(_0x3cb78a,_0x30f7c3)=>(_0x4b0cee,_0x76fe4c)=>_0x30f7c3(_0x4b0cee,_0x76fe4c,_0x3cb78a),mn=(_0x13dd5a,_0x23bf28,_0x4823f7)=>fn(_0x13dd5a,_0x23bf28+'',_0x4823f7);const In=_0x4b8403(0x2d6);let Ae=class extends _0x395aa0{constructor(_0x4edebd=et,_0x3b59d0,_0x22591a,_0x4930b3){const _0x345c33=_0x4b8403;super(),this[_0x345c33(0x2af)]=_0x4edebd,this[_0x345c33(0xd4)]=_0x3b59d0,this[_0x345c33(0xe3)]=_0x22591a,this[_0x345c33(0x247)]=_0x4930b3;const {..._0x7dd8da}=_0x1f921a({},et,this[_0x345c33(0x2af)]);this[_0x345c33(0x247)][_0x345c33(0x110)](Zi,_0x7dd8da);}[_0x4b8403(0x205)](){const _0x33b1bc=_0x4b8403;this[_0x33b1bc(0xf4)](),this['_initDependencies']();}[_0x4b8403(0x203)](){const _0x13f3ac=_0x4b8403;this[_0x13f3ac(0x10a)]();}[_0x4b8403(0xf4)](){const _0x2ab621=_0x4b8403;var _0x2993a1;const _0x37b33f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x516630,{'useClass':_0x3de6aa}],[_0x12db7b,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0xe6e78c(this['_injector'],_0x39f7c1(_0x37b33f,(_0x2993a1=this[_0x2ab621(0x2af)])==null?void 0x0:_0x2993a1['override']));}[_0x4b8403(0x10a)](){const _0x5ca4ac=_0x4b8403;this[_0x5ca4ac(0xef)](this[_0x5ca4ac(0xd4)][_0x5ca4ac(0x129)](_0x4f0329[_0x5ca4ac(0x2a8)],[Le])),this[_0x5ca4ac(0xef)](this[_0x5ca4ac(0xd4)][_0x5ca4ac(0x129)](_0x4f0329['UNIVER_SHEET'],[Pe]));}[_0x4b8403(0x15d)](){const _0x2e602c=_0x4b8403;_0x28f4fa(this[_0x2e602c(0xe3)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4b8403(0x121),In),Ae=Sn([_0x5498f9(_0x529c93),Oe(0x1,_0x3b1b24),Oe(0x2,_0x4fcb99(_0x496630)),Oe(0x3,_0x246140)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2a83eb,_0x7f8e3,_0x5959a5,_0x38bdc3)=>{const _0x382d7b=_0x4b8403;for(var _0x1ca027=_0x38bdc3>0x1?void 0x0:_0x38bdc3?gn(_0x7f8e3,_0x5959a5):_0x7f8e3,_0x5a7638=_0x2a83eb[_0x382d7b(0x23a)]-0x1,_0x12ec4e;_0x5a7638>=0x0;_0x5a7638--)(_0x12ec4e=_0x2a83eb[_0x5a7638])&&(_0x1ca027=_0x12ec4e(_0x1ca027)||_0x1ca027);return _0x1ca027;},K=(_0x40e9f3,_0x21aed6)=>(_0x664f9e,_0xe595f6)=>_0x21aed6(_0x664f9e,_0xe595f6,_0x40e9f3);let st=class extends _0x2d89c8{constructor(_0x3e5e18,_0x459ccd,_0x426b58,_0x1cb9be,_0x326d63){super(_0x3e5e18,_0x459ccd,_0x426b58,_0x1cb9be,_0x326d63);}async[_0x4b8403(0x26a)](_0x535ab1){const _0x24f023=_0x4b8403,_0x323d4d=await this[_0x24f023(0x261)](),_0x4b1f13=this[_0x24f023(0x1cf)](_0x535ab1,_0x323d4d);return this[_0x24f023(0x1c4)](_0x4b1f13);}['_createSocketURL'](_0x3fa6c4,_0x407543){const _0x595829=_0x4b8403,_0x2f3f88=typeof window>'u'?new URL(_0x3fa6c4):new URL(_0x3fa6c4,window[_0x595829(0x19f)][_0x595829(0x2d4)]);_0x2f3f88[_0x595829(0xd6)]['set']('sessionTicket',_0x407543);const _0x373e9b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x595829(0x240)]);return _0x373e9b[_0x595829(0x192)](_0x595829(0x22a))&&_0x2f3f88[_0x595829(0xd6)][_0x595829(0xd0)](_0x595829(0x22a),_0x373e9b[_0x595829(0x192)](_0x595829(0x22a))),_0x2f3f88[_0x595829(0x175)]();}async[_0x4b8403(0x261)](){const _0x42b647=_0x4b8403;var _0x49ecff,_0x42f49a,_0x4da813;const _0x2accd6=this[_0x42b647(0x247)]['getConfig'](_0x1838fd),_0x454b6f=(_0x49ecff=_0x2accd6==null?void 0x0:_0x2accd6[_0x42b647(0x268)])!=null?_0x49ecff:_0x23930f;return(_0x4da813=(_0x42f49a=(await this['_httpService'][_0x42b647(0x192)](_0x454b6f,{'headers':{'Content-Type':_0x42b647(0xfd)}}))[_0x42b647(0x1c7)])==null?void 0x0:_0x42f49a['ticket'])!=null?_0x4da813:'';}};st=vn([K(0x0,_0x4fcb99(_0x496630)),K(0x1,_0x4fcb99(_0x17bcb5)),K(0x2,_0x246140),K(0x3,_0x245136),K(0x4,_0x83573d)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x25f44f{constructor(){const _0x4f9949=_0x4b8403;super(),_(this,'_id',_0x38d112()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4f9949(0xca),new Map()),_(this,_0x4f9949(0x266),null),_(this,_0x4f9949(0x123),new Map()),_(this,_0x4f9949(0xf7),new Map()),this[_0x4f9949(0x17e)]();}[_0x4b8403(0x157)](){const _0x2b31c3=_0x4b8403;super[_0x2b31c3(0x157)](),this['_clearOtherTimers'][_0x2b31c3(0x10d)]((_0x151525,_0x2b4f0d)=>this['_removeClearOtherTimer'](_0x2b4f0d)),this[_0x2b31c3(0x266)]&&window[_0x2b31c3(0x271)](this[_0x2b31c3(0x266)]);}[_0x4b8403(0x2c4)](_0x492dbf){const _0x39b43f=_0x4b8403;return this[_0x39b43f(0xee)](_0x492dbf)[_0x39b43f(0x2cc)](_0x16ef2f());}[_0x4b8403(0x2a6)](_0x28100b){const _0x434035=_0x4b8403;this[_0x434035(0xde)][_0x434035(0x22e)]===0x0&&this[_0x434035(0x16d)](),this[_0x434035(0xde)][_0x434035(0x1b7)](_0x28100b),this[_0x434035(0x286)]({'type':0x0,'memberID':this[_0x434035(0x278)],'unitIDs':[_0x28100b],'isForwarded':!0x1});}['disposeUnit'](_0x153f20){const _0xba9b59=_0x4b8403;this[_0xba9b59(0xde)][_0xba9b59(0x154)](_0x153f20),this['_selfUnitIDs'][_0xba9b59(0x22e)]===0x0&&this[_0xba9b59(0x266)]&&window['clearInterval'](this[_0xba9b59(0x266)]);}[_0x4b8403(0x17e)](){const _0x5305b3=_0x4b8403;this[_0x5305b3(0xef)](_0x3effaf(_0x8c7788(window,_0x5305b3(0x2ac))['subscribe'](_0x24e6ce=>{const _0x57a53f=_0x5305b3;if(_0x24e6ce[_0x57a53f(0x180)]!==nt||!_0x24e6ce[_0x57a53f(0x293)])return;const _0x2fc222=JSON[_0x57a53f(0x255)](_0x24e6ce[_0x57a53f(0x293)]);this[_0x57a53f(0x200)](_0x2fc222);}))),window['addEventListener'](_0x5305b3(0x230),()=>this[_0x5305b3(0x286)]({'type':0x1,'memberID':this[_0x5305b3(0x278)],'unitIDs':Array[_0x5305b3(0x15c)](this[_0x5305b3(0xde)])}));}['_handleEvent'](_0x226a33){const _0x47d088=_0x4b8403;switch(_0x226a33[_0x47d088(0x2ca)]){case 0x0:this[_0x47d088(0x1c8)](_0x226a33);break;case 0x1:this['_handleLeaveEvent'](_0x226a33);break;case 0x2:this['_handleHeartbeatEvent'](_0x226a33);break;}}['_handleJoinEvent'](_0x28f821){const _0x3c0893=_0x4b8403,{unitIDs:_0x4deb2a,memberID:_0x44d73e,isForwarded:_0x1c14c2}=_0x28f821;_0x4deb2a[_0x3c0893(0x10d)](_0xfb2d76=>{const _0x4dbb95=_0x3c0893;if(!_0x1c14c2&&this[_0x4dbb95(0xca)][_0x4dbb95(0x28d)](_0xfb2d76)&&this['_ensureSubject'](_0xfb2d76)['next'](_0x1ddaf5[_0x4dbb95(0x168)]),!this[_0x4dbb95(0xca)][_0x4dbb95(0x28d)](_0xfb2d76)||!this[_0x4dbb95(0xca)][_0x4dbb95(0x192)](_0xfb2d76)[_0x4dbb95(0x28d)](_0x44d73e)){const _0x19b5c4=this['_unitOnClients'][_0x4dbb95(0x192)](_0xfb2d76)||new Set();_0x19b5c4[_0x4dbb95(0x1b7)](_0x44d73e),this[_0x4dbb95(0xca)]['set'](_0xfb2d76,_0x19b5c4),this[_0x4dbb95(0x1f8)](_0x44d73e);}}),_0x1c14c2||this['_send']({'type':0x0,'memberID':this[_0x3c0893(0x278)],'unitIDs':[...this[_0x3c0893(0xde)]],'isForwarded':!0x0});}[_0x4b8403(0x1f8)](_0x18e249){const _0x1ce9bc=_0x4b8403;this[_0x1ce9bc(0x172)](_0x18e249);const _0x370e1b=window[_0x1ce9bc(0x215)](()=>{const _0x5db6db=_0x1ce9bc;this[_0x5db6db(0xca)][_0x5db6db(0x10d)](_0x283d3d=>{const _0x508c92=_0x5db6db;_0x283d3d[_0x508c92(0x154)](_0x18e249);});},it*0x2);this[_0x1ce9bc(0x123)][_0x1ce9bc(0xd0)](_0x18e249,_0x370e1b);}[_0x4b8403(0x172)](_0x17a310){const _0x16dd05=_0x4b8403;if(this['_clearOtherTimers'][_0x16dd05(0x28d)](_0x17a310)){const _0x499271=this['_clearOtherTimers']['get'](_0x17a310);_0x499271&&window[_0x16dd05(0x1fe)](_0x499271),this[_0x16dd05(0x123)][_0x16dd05(0xd0)](_0x17a310,null);}}[_0x4b8403(0x220)](_0x89db74){const _0x3f4eaf=_0x4b8403,{memberID:_0x34123b,unitIDs:_0x3e7b67}=_0x89db74;_0x3e7b67[_0x3f4eaf(0x10d)](_0x12815a=>{const _0x3dddbc=_0x3f4eaf;var _0x465595;const _0x298605=this[_0x3dddbc(0xca)][_0x3dddbc(0x192)](_0x12815a);_0x298605&&(_0x298605[_0x3dddbc(0x154)](_0x34123b),(_0x465595=this[_0x3dddbc(0xee)](_0x12815a))==null||_0x465595['next'](_0x298605[_0x3dddbc(0x22e)]===0x0?_0x1ddaf5[_0x3dddbc(0x2cb)]:_0x1ddaf5[_0x3dddbc(0x168)]));}),this[_0x3f4eaf(0x172)](_0x34123b);}[_0x4b8403(0x10b)](_0x4da10f){const _0x366fdc=_0x4b8403;this[_0x366fdc(0x1f8)](_0x4da10f[_0x366fdc(0x13e)]);}[_0x4b8403(0x286)](_0x2d75a5){const _0x24a955=_0x4b8403;localStorage[_0x24a955(0xce)](nt,JSON[_0x24a955(0x214)](_0x2d75a5));}['_scheduleHeartbeat'](){const _0x5123f5=_0x4b8403;this['_heartbeatTimer']=window[_0x5123f5(0x264)](()=>{const _0x391634=_0x5123f5;this[_0x391634(0x286)]({'type':0x2,'memberID':this[_0x391634(0x278)]});},it);}[_0x4b8403(0xee)](_0x3d24a0){const _0x828c2a=_0x4b8403;return this['_unitStatus'][_0x828c2a(0x28d)](_0x3d24a0)||this[_0x828c2a(0xf7)]['set'](_0x3d24a0,new _0x113d14(_0x1ddaf5[_0x828c2a(0x2cb)])),this[_0x828c2a(0xf7)][_0x828c2a(0x192)](_0x3d24a0);}}var Mt=(_0x3b75ad=>(_0x3b75ad[_0x3b75ad['UNDEFINED']=0x0]=_0x4b8403(0x23c),_0x3b75ad[_0x3b75ad['OK']=0x1]='OK',_0x3b75ad[_0x3b75ad['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3b75ad[_0x3b75ad['PERMISSION_DENIED']=0x3]=_0x4b8403(0x275),_0x3b75ad[_0x3b75ad[_0x4b8403(0x21a)]=0x4]='NOT_FOUND',_0x3b75ad[_0x3b75ad[_0x4b8403(0x1f9)]=0x5]=_0x4b8403(0x1f9),_0x3b75ad[_0x3b75ad[_0x4b8403(0x2b1)]=0x6]=_0x4b8403(0x2b1),_0x3b75ad[_0x3b75ad['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3b75ad[_0x3b75ad[_0x4b8403(0x149)]=0x8]='TOO_MANY_REQUESTS',_0x3b75ad[_0x3b75ad[_0x4b8403(0x270)]=0x9]=_0x4b8403(0x270),_0x3b75ad[_0x3b75ad[_0x4b8403(0x14b)]=0xa]='LOGIN_FAILED',_0x3b75ad[_0x3b75ad[_0x4b8403(0x101)]=0xb]=_0x4b8403(0x101),_0x3b75ad[_0x3b75ad[_0x4b8403(0x103)]=0xc]=_0x4b8403(0x103),_0x3b75ad[_0x3b75ad[_0x4b8403(0x289)]=0xd]=_0x4b8403(0x289),_0x3b75ad[_0x3b75ad[_0x4b8403(0x2cd)]=0xe]=_0x4b8403(0x2cd),_0x3b75ad[_0x3b75ad[_0x4b8403(0x28b)]=0x1389]=_0x4b8403(0x28b),_0x3b75ad[_0x3b75ad[_0x4b8403(0x276)]=0x1771]=_0x4b8403(0x276),_0x3b75ad[_0x3b75ad[_0x4b8403(0x1ab)]=0x1772]=_0x4b8403(0x1ab),_0x3b75ad[_0x3b75ad[_0x4b8403(0x27b)]=0x1773]=_0x4b8403(0x27b),_0x3b75ad[_0x3b75ad[_0x4b8403(0x17a)]=0x1b59]='APPLY_REJECT',_0x3b75ad[_0x3b75ad[_0x4b8403(0x1ba)]=0x1b5a]=_0x4b8403(0x1ba),_0x3b75ad[_0x3b75ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4b8403(0x148),_0x3b75ad[_0x3b75ad['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4b8403(0x26f),_0x3b75ad[_0x3b75ad[_0x4b8403(0x100)]=0x1b5d]=_0x4b8403(0x100),_0x3b75ad[_0x3b75ad[_0x4b8403(0x14f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3b75ad[_0x3b75ad[_0x4b8403(0x167)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3b75ad[_0x3b75ad[_0x4b8403(0x25c)]=0x232a]=_0x4b8403(0x25c),_0x3b75ad[_0x3b75ad['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4b8403(0x29d),_0x3b75ad[_0x3b75ad[_0x4b8403(0x11d)]=0x232c]=_0x4b8403(0x11d),_0x3b75ad[_0x3b75ad[_0x4b8403(0x12c)]=0x232d]=_0x4b8403(0x12c),_0x3b75ad[_0x3b75ad[_0x4b8403(0x196)]=0x2711]=_0x4b8403(0x196),_0x3b75ad[_0x3b75ad[_0x4b8403(0x1a2)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3b75ad[_0x3b75ad[_0x4b8403(0x227)]=0x2713]=_0x4b8403(0x227),_0x3b75ad[_0x3b75ad[_0x4b8403(0x2c6)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3b75ad[_0x3b75ad[_0x4b8403(0x1f3)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3b75ad[_0x3b75ad[_0x4b8403(0x170)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3b75ad[_0x3b75ad[_0x4b8403(0x233)]=0x271c]=_0x4b8403(0x233),_0x3b75ad[_0x3b75ad[_0x4b8403(0x1ec)]=0x271d]=_0x4b8403(0x1ec),_0x3b75ad[_0x3b75ad['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4b8403(0x272),_0x3b75ad[_0x3b75ad[_0x4b8403(0xd7)]=0x271f]=_0x4b8403(0xd7),_0x3b75ad[_0x3b75ad[_0x4b8403(0x223)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3b75ad[_0x3b75ad[_0x4b8403(0x237)]=0x2af9]=_0x4b8403(0x237),_0x3b75ad[_0x3b75ad['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4b8403(0x209),_0x3b75ad[_0x3b75ad[_0x4b8403(0xd3)]=0x2ee2]=_0x4b8403(0xd3),_0x3b75ad[_0x3b75ad['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4b8403(0x126),_0x3b75ad[_0x3b75ad[_0x4b8403(0x27a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3b75ad[_0x3b75ad[_0x4b8403(0x299)]=0x2ee5]=_0x4b8403(0x299),_0x3b75ad[_0x3b75ad[_0x4b8403(0x108)]=0x32c9]=_0x4b8403(0x108),_0x3b75ad[_0x3b75ad[_0x4b8403(0x1f7)]=0x32ca]=_0x4b8403(0x1f7),_0x3b75ad[_0x3b75ad[_0x4b8403(0xcd)]=0x32cb]=_0x4b8403(0xcd),_0x3b75ad[_0x3b75ad[_0x4b8403(0xed)]=-0x1]=_0x4b8403(0xed),_0x3b75ad))(Mt||{}),pn=Object[_0x4b8403(0x193)],Cn=(_0x3c66c2,_0x467ae4,_0x4ea839,_0x4a72f3)=>{const _0x3dbc0c=_0x4b8403;for(var _0x3579b2=_0x4a72f3>0x1?void 0x0:_0x4a72f3?pn(_0x467ae4,_0x4ea839):_0x467ae4,_0x45b805=_0x3c66c2[_0x3dbc0c(0x23a)]-0x1,_0x1977d2;_0x45b805>=0x0;_0x45b805--)(_0x1977d2=_0x3c66c2[_0x45b805])&&(_0x3579b2=_0x1977d2(_0x3579b2)||_0x3579b2);return _0x3579b2;},be=(_0x3edf5c,_0x587d22)=>(_0x409655,_0x1dd87f)=>_0x587d22(_0x409655,_0x1dd87f,_0x3edf5c);let rt=class extends _0x25f44f{constructor(_0x22a608,_0x512e39,_0x2745b9){const _0x924c11=_0x4b8403;super(),this[_0x924c11(0x25f)]=_0x22a608,this[_0x924c11(0x229)]=_0x512e39,this['_configService']=_0x2745b9;}async['runOnServer'](_0x1d24c9,_0x1c875e,_0x3db54f,..._0x3c3e8f){const _0xb84c3b=_0x4b8403;var _0x4c2cff,_0x4cdd4b,_0x44e99f,_0xfb4523;const _0x268230=this[_0xb84c3b(0x25f)][_0xb84c3b(0x150)]();if(!_0x268230)throw new Error(_0xb84c3b(0x284));const _0x243ee2=((_0x4c2cff=this['_configService'][_0xb84c3b(0x2ae)](_0x23b11f))!=null?_0x4c2cff:_0x3bbbfc)+'/'+_0x1d24c9+_0xb84c3b(0x21e)+_0x1c875e,_0x240105=new URL(window[_0xb84c3b(0x19f)][_0xb84c3b(0x243)]),_0x2b1d7d={'scriptId':_0x1d24c9,'runId':(_0x4cdd4b=_0x240105[_0xb84c3b(0xd6)][_0xb84c3b(0x192)](_0xb84c3b(0x22a)))!=null?_0x4cdd4b:'','function':_0x1c875e,'unitId':_0x268230[_0xb84c3b(0x2a1)](),'argsOfFunction':JSON[_0xb84c3b(0x214)](_0x3c3e8f),'invokeId':(_0x44e99f=_0x3db54f[_0xb84c3b(0x260)])!=null?_0x44e99f:'','executionId':(_0xfb4523=_0x3db54f[_0xb84c3b(0x27e)])!=null?_0xfb4523:''};try{const _0x8e7ecd=await this[_0xb84c3b(0x229)][_0xb84c3b(0x141)](_0x243ee2,{'body':_0x2b1d7d});return _0x8e7ecd[_0xb84c3b(0x1c7)]['error']&&_0x8e7ecd[_0xb84c3b(0x1c7)][_0xb84c3b(0x22d)]['code']!==Mt['OK']?_0xb84c3b(0xeb):_0x8e7ecd[_0xb84c3b(0x1c7)][_0xb84c3b(0x134)];}catch{return _0xb84c3b(0xeb);}}};rt=Cn([be(0x0,_0x226365),be(0x1,_0x4fcb99(_0x17bcb5)),be(0x2,_0x246140)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x2ca6f1=_0xb26e;(function(_0x12f954,_0x3b7860){const _0xdfa802=_0xb26e,_0x38141d=_0x12f954();while(!![]){try{const _0x50dfc4=-parseInt(_0xdfa802(0x2ac))/0x1+parseInt(_0xdfa802(0x256))/0x2+-parseInt(_0xdfa802(0x3aa))/0x3*(parseInt(_0xdfa802(0x32e))/0x4)+parseInt(_0xdfa802(0x1ea))/0x5*(-parseInt(_0xdfa802(0x213))/0x6)+parseInt(_0xdfa802(0x27a))/0x7*(-parseInt(_0xdfa802(0x324))/0x8)+-parseInt(_0xdfa802(0x312))/0x9*(parseInt(_0xdfa802(0x30f))/0xa)+parseInt(_0xdfa802(0x1b3))/0xb;if(_0x50dfc4===_0x3b7860)break;else _0x38141d['push'](_0x38141d['shift']());}catch(_0x3493c0){_0x38141d['push'](_0x38141d['shift']());}}}(_0xd5c9,0x8803d));var $t=Object['defineProperty'],xt=(_0x455e2f,_0x3ebfb1,_0x5987c4)=>_0x3ebfb1 in _0x455e2f?$t(_0x455e2f,_0x3ebfb1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5987c4}):_0x455e2f[_0x3ebfb1]=_0x5987c4,_=(_0x4e280a,_0x4c8c0b,_0x799330)=>xt(_0x4e280a,typeof _0x4c8c0b!=_0x2ca6f1(0x221)?_0x4c8c0b+'':_0x4c8c0b,_0x799330);import{MemberService as _0x4997ad,SessionStatus as _0x1b7163,CollaborationSessionService as _0x91b51d,CollaborationStatus as _0xc0ee2f,CollaborationController as _0x31f314,ILocalCacheService as _0x181985,CollaborationUIEventService as _0x3590f2,CollaborationUIEventId as _0xc23e90,DataLoaderService as _0x16c3d1,DocCollaborationEntity as _0x4911bb,getLocalCacheKey as _0x1e1c39,LOCAL_CACHE_INTERVAL as _0x41edb0,LOCAL_CACHE_INTERVAL_KEY as _0x1d3eb5,UniverCollaborationClientPlugin as _0x29fd25,CollaborationSocketService as _0x2d8539,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x62fa1b,DEFAULT_WS_SESSION_TICKET_URL as _0x394ab0,UnitStatus as _0x39aee4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1a04d5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x579a42}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x43ae8a,Disposable as _0xcf188f,DOC_RANGE_TYPE as _0x5dd866,Inject as _0x42b6f2,Injector as _0x2c3916,IUniverInstanceService as _0x121b61,ICommandService as _0x208f1c,debounce as _0xa4189d,Rectangle as _0x3005d3,DisposableCollection as _0x2d0bc9,toDisposable as _0x4a043f,UniverInstanceType as _0x2e4ce1,Tools as _0x2d6480,COLORS as _0x228576,ColorKit as _0x330549,ThemeService as _0x89e8ff,fromEventSubject as _0x27183e,LocaleService as _0x1588bd,createIdentifier as _0x22ca85,ILogService as _0x20e80d,Optional as _0x81ab6b,Workbook as _0x8cf4e6,CommandType as _0x20b7ac,IConfigService as _0x380f00,ILocalStorageService as _0x30cbfd,DependentOn as _0x2e4be9,Plugin as _0xa24570,merge as _0x4f1705,registerDependencies as _0x3dca79,mergeOverrideWithDependencies as _0x542dc9,touchDependencies as _0x27886c,generateRandomId as _0x240ed2}from'@univerjs/core';import{Shape as _0x45b365,Rect as _0x1ef53a,getColor as _0x8794e2,RegularPolygon as _0xb5ffc4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x461ed3,Vector2 as _0x212282,SHEET_VIEWPORT_KEY as _0x5bb23f,IRenderManagerService as _0x19b0b6}from'@univerjs/engine-render';import{ISocketService as _0x184c8c,WebSocketService as _0x35d284,HTTPService as _0x22036d}from'@univerjs/network';import{IDocClipboardService as _0x1d59ec,NodePositionConvertToCursor as _0xe8bcfb,NodePositionConvertToRectRange as _0x53124a,TEXT_RANGE_LAYER_INDEX as _0x1735e4,SetDocZoomRatioOperation as _0x294f37,DocIMEInputManagerService as _0x585241,DocStateChangeManagerService as _0x228b24}from'@univerjs/docs-ui';import{IImageIoService as _0x52841b}from'@univerjs/drawing';import{BehaviorSubject as _0x29f35a,debounceTime as _0x5b1db8,takeUntil as _0x100102,Subject as _0x2aba1a,filter as _0x143f8e,switchMap as _0x521edf,merge as _0x925036,combineLatest as _0x527d9a,of as _0x4f7dc8,fromEvent as _0x3d349e,shareReplay as _0x4787b2,mapTo as _0x4f1fae,distinctUntilChanged as _0x1769e6}from'rxjs';import{ITransformService as _0x18b730,CollaborationEvent as _0x5ca015,isTransformMutationFailure as _0x5f09cd,isTransformMutationsWithChangesetSuccess as _0x21ed70,RevisionService as _0x4e84a2,ISnapshotServerService as _0x1e0d9d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2353e4,RichTextEditingMutation as _0x6a49b,DocSelectionManagerService as _0x182f79,DocSkeletonManagerService as _0x27bec7}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x490fe0,serializeRangeWithSheet as _0xbab0e8}from'@univerjs/engine-formula';import{RefRangeService as _0x2212d9,SetSelectionsOperation as _0x3d23b1,SheetsSelectionsService as _0x525965,EffectRefRangId as _0x46187f,handleIRemoveRow as _0x42b3cd,handleIRemoveCol as _0x299cbd,handleMoveRange as _0x2c3195,handleInsertRow as _0x1988e5,handleInsertRangeMoveRight as _0x5bfff5,handleInsertRangeMoveDown as _0x166a9d,handleInsertCol as _0x551d54,handleDeleteRangeMoveUp as _0x33f78b,handleDeleteRangeMoveLeft as _0x524dde,runRefRangeMutations as _0x36743a,SetWorksheetActivateCommand as _0x57fb78}from'@univerjs/sheets';import{map as _0x4de96b,filter as _0x1a5c76,throttleTime as _0x74dfe1,takeUntil as _0x40b6c8,switchMap as _0x25b251}from'rxjs/operators';import{SheetSkeletonManagerService as _0x548d8e,getCoordByCell as _0xcceaf8,getSheetObject as _0x4f7472}from'@univerjs/sheets-ui';import{jsx as _0x9ef133,jsxs as _0x3dcd8f}from'react/jsx-runtime';import{useObservable as _0x54224f,useDependency as _0x434f76,IUIPartsService as _0x5bb544,BuiltInUIPart as _0x59d443,connectInjector as _0x260ab9,IBeforeCloseService as _0x22f69a,IMessageService as _0x19c49d,INotificationService as _0x4ff4b4}from'@univerjs/ui';import{Tooltip as _0x2401fa,clsx as _0x22264a,MessageType as _0x408410}from'@univerjs/design';import{forwardRef as _0x4f85b6,useRef as _0x5ec706,createElement as _0x1313c7,useCallback as _0x18aa8b}from'react';import{IRemoteInstanceService as _0x2603da}from'@univerjs/rpc';var ci=Object[_0x2ca6f1(0x28e)],li=(_0x3b5027,_0x5298f5,_0xd83763,_0x3ff19d)=>{const _0x39b1ef=_0x2ca6f1;for(var _0x2c609b=_0x3ff19d>0x1?void 0x0:_0x3ff19d?ci(_0x5298f5,_0xd83763):_0x5298f5,_0x56c505=_0x3b5027[_0x39b1ef(0x24b)]-0x1,_0x2702fe;_0x56c505>=0x0;_0x56c505--)(_0x2702fe=_0x3b5027[_0x56c505])&&(_0x2c609b=_0x2702fe(_0x2c609b)||_0x2c609b);return _0x2c609b;},Je=(_0xf5acb5,_0x943884)=>(_0x5b9bc4,_0x379638)=>_0x943884(_0x5b9bc4,_0x379638,_0xf5acb5);let Ne=class extends _0x43ae8a{constructor(_0x5447a9,_0x2c9ed6){const _0x4b2189=_0x2ca6f1;super(),this['_docClipboardService']=_0x5447a9,this[_0x4b2189(0x27f)]=_0x2c9ed6,this['_init']();}[_0x2ca6f1(0x1f8)](){const _0x4a6aa6=_0x2ca6f1,_0x188bc3=this;this[_0x4a6aa6(0x39a)](this[_0x4a6aa6(0x27d)][_0x4a6aa6(0x2f5)]({'onBeforePasteImage':async _0x5377ce=>{const _0x3c60b9=_0x4a6aa6,_0x10664e=await _0x188bc3[_0x3c60b9(0x27f)][_0x3c60b9(0x368)](_0x5377ce);return _0x10664e?{'source':_0x10664e[_0x3c60b9(0x265)],'imageSourceType':_0x10664e[_0x3c60b9(0x307)]}:null;}}));}};Ne=li([Je(0x0,_0x1d59ec),Je(0x1,_0x52841b)],Ne);const Ze=[_0x2ca6f1(0x208),_0x2ca6f1(0x1e3),'green.600',_0x2ca6f1(0x2b7),_0x2ca6f1(0x1bc),_0x2ca6f1(0x355)];class ke extends _0xcf188f{constructor(){const _0x1fec06=_0x2ca6f1;super(...arguments),_(this,_0x1fec06(0x1bb),new Map()),_(this,_0x1fec06(0x2dd),0x0);}['assignAColorForMemberID'](_0x1ad04f){const _0xf44795=_0x2ca6f1;if(this[_0xf44795(0x1bb)][_0xf44795(0x365)](_0x1ad04f))return this[_0xf44795(0x1bb)]['get'](_0x1ad04f);const _0x489188=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xf44795(0x2dd)]+0x1)%Ze[_0xf44795(0x24b)],this[_0xf44795(0x1bb)][_0xf44795(0x2e4)](_0x1ad04f,_0x489188),_0x489188;}}function Tt(_0x3bbdcf){const _0x472546=_0x2ca6f1;let _0x3aaccf='';for(const _0x3047d7 of _0x3bbdcf){const {startOffset:_0x375c32,endOffset:_0x532a55,isActive:_0x245e34,rangeType:_0x554486,segmentId:_0x30a4fe,segmentPage:_0x911000}=_0x3047d7;_0x3aaccf[_0x472546(0x24b)]&&(_0x3aaccf+=','),_0x3aaccf+=_0x375c32+':'+_0x532a55+':'+(_0x245e34?'1':'0')+':'+_0x554486+':'+_0x30a4fe+':'+_0x911000;}return _0x3aaccf;}function _i(_0x268a62){const _0x431cf4=_0x2ca6f1,_0x1a2e6e=_0x268a62[_0x431cf4(0x357)](','),_0x336ced=[];for(const _0x3f2db8 of _0x1a2e6e){const [_0x5e953a,_0x3788bf,_0x447082,_0x3a0c7c,_0x134d7d,_0x187ed5]=_0x3f2db8['split'](':');_0x336ced[_0x431cf4(0x36f)]({'startOffset':Number(_0x5e953a),'endOffset':Number(_0x3788bf),'collapsed':_0x5e953a===_0x3788bf,'isActive':_0x447082==='1','rangeType':_0x3a0c7c===_0x5dd866[_0x431cf4(0x391)]?_0x5dd866[_0x431cf4(0x391)]:_0x5dd866[_0x431cf4(0x309)],'segmentId':typeof _0x134d7d==_0x431cf4(0x325)?String(_0x134d7d):'','segmentPage':Number(_0x187ed5!=null?_0x187ed5:-0x1)});}return _0x336ced['some'](_0x1442f0=>_0x1442f0[_0x431cf4(0x38e)])||(_0x336ced[0x0][_0x431cf4(0x38e)]=!0x0),_0x336ced;}class He extends _0x43ae8a{constructor(){const _0x187178=_0x2ca6f1;super(...arguments),_(this,_0x187178(0x33c),new _0x29f35a(null)),_(this,'collabCursorState$',this[_0x187178(0x33c)][_0x187178(0x317)]());}[_0x2ca6f1(0x1f5)](_0x3f9d71){const _0x536f8e=_0x2ca6f1,{unitID:_0x401531,memberID:_0x534b65,textRanges:_0x2cba10}=_0x3f9d71,_0x103dac=Tt(_0x2cba10);if(_0x103dac==='')return;const _0x2798bf={'unitID':_0x401531,'memberID':_0x534b65,'selection':_0x103dac};this[_0x536f8e(0x33c)][_0x536f8e(0x23b)](_0x2798bf);}}var hi=Object[_0x2ca6f1(0x28e)],ui=(_0x4c27b9,_0x23875a,_0x34965f,_0x16f50a)=>{for(var _0x361f7b=_0x16f50a>0x1?void 0x0:_0x16f50a?hi(_0x23875a,_0x34965f):_0x23875a,_0x413990=_0x4c27b9['length']-0x1,_0x33590d;_0x413990>=0x0;_0x413990--)(_0x33590d=_0x4c27b9[_0x413990])&&(_0x361f7b=_0x33590d(_0x361f7b)||_0x361f7b);return _0x361f7b;},P=(_0x241538,_0x835d8a)=>(_0x39b250,_0x4a0750)=>_0x835d8a(_0x39b250,_0x4a0750,_0x241538);const di=0x12c,fi=0x64;let Ue=class extends _0x43ae8a{constructor(_0xf9066e,_0x3a9978,_0x109588,_0x3b5295,_0x402d76,_0x46c333,_0x46a198,_0x26bba6,_0x11a470){const _0x14f683=_0x2ca6f1;super(),_(this,_0x14f683(0x371),!0x1),_(this,_0x14f683(0x1f8),!0x1),_(this,_0x14f683(0x2b0),new _0x29f35a(new Map())),_(this,_0x14f683(0x1d8),this['_cursorInfo$'][_0x14f683(0x317)]()),_(this,_0x14f683(0x1d7),new _0x29f35a([])),_(this,_0x14f683(0x23f),this[_0x14f683(0x1d7)][_0x14f683(0x2d2)](_0x5b1db8(di))),_(this,_0x14f683(0x32b),_0xa4189d(_0xd3095a=>{const _0x1814af=_0x14f683,_0x1efd91={'eventID':_0x5ca015[_0x1814af(0x388)],'data':{'unitID':this[_0x1814af(0x29a)],'memberID':this['_session'][_0x1814af(0x24d)](),'selection':Tt(_0xd3095a)}};this['_session'][_0x1814af(0x2ad)](_0x1efd91,this[_0x1814af(0x29a)]);},fi)),(this[_0x14f683(0x29a)]=_0xf9066e,this['_session']=_0x3a9978,this[_0x14f683(0x268)]=_0x109588,this['_colorAssignService']=_0x3b5295,this['_memberService']=_0x402d76,this['_syncEditingCollabCursorService']=_0x46c333,this['_transformService']=_0x46a198,this[_0x14f683(0x2ec)]=_0x26bba6,this['_commandService']=_0x11a470);}get['cursorInfo'](){const _0x597f4a=_0x2ca6f1;return this['_cursorInfo$'][_0x597f4a(0x225)]();}get['roomMembers'](){const _0xabf2d=_0x2ca6f1;return this[_0xabf2d(0x1d7)][_0xabf2d(0x225)]();}[_0x2ca6f1(0x2de)](){const _0x2b0a31=_0x2ca6f1;super[_0x2b0a31(0x2de)](),this['_cursorInfo$'][_0x2b0a31(0x23b)](new Map()),this[_0x2b0a31(0x2b0)][_0x2b0a31(0x1e0)](),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x23b)]([]),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x1e0)]();}[_0x2ca6f1(0x328)](){const _0x2b0a64=_0x2ca6f1;this[_0x2b0a64(0x1f8)]||(this[_0x2b0a64(0x1f8)]=!0x0,this[_0x2b0a64(0x316)]['sessionStatus$'][_0x2b0a64(0x2d2)](_0x100102(this['dispose$']))[_0x2b0a64(0x1dd)](_0x1591b4=>{const _0x3c72c5=_0x2b0a64;_0x1591b4===_0x1b7163[_0x3c72c5(0x211)]?this[_0x3c72c5(0x1b2)]():this[_0x3c72c5(0x1f1)]();}),this[_0x2b0a64(0x316)][_0x2b0a64(0x1bd)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x528e35=>{const _0x5792db=_0x2b0a64,_0x1b7f7c=_0x528e35[_0x5792db(0x2b6)];_0x1b7f7c===_0x5ca015['UPDATE_CURSOR']&&this[_0x5792db(0x30c)](_0x528e35),_0x1b7f7c===_0x5ca015[_0x5792db(0x2b8)]&&this['_onCursorDelete'](_0x528e35);}),this[_0x2b0a64(0x39a)](this[_0x2b0a64(0x356)]['onCommandExecuted'](_0x5c4188=>{const _0x436aff=_0x2b0a64,_0xa98caa=_0x5c4188[_0x436aff(0x1eb)];_0xa98caa!=null&&this[_0x436aff(0x371)]&&_0x5c4188['id']===_0x2353e4['id']&&_0xa98caa[_0x436aff(0x2bb)]===this[_0x436aff(0x29a)]&&_0xa98caa[_0x436aff(0x29e)]===!0x1&&_0xa98caa[_0x436aff(0x332)]['length']>0x0&&this[_0x436aff(0x32b)](_0xa98caa[_0x436aff(0x332)]);})),this['_syncEditingCollabCursorService'][_0x2b0a64(0x360)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x25b5f4=>{const _0x3d99fb=_0x2b0a64;if((_0x25b5f4==null?void 0x0:_0x25b5f4['unitID'])!==this[_0x3d99fb(0x29a)])return;const _0x2c89fc={'eventID':_0x5ca015['UPDATE_CURSOR'],'data':_0x25b5f4};this[_0x3d99fb(0x30c)](_0x2c89fc);}),this[_0x2b0a64(0x39a)](this['_commandService'][_0x2b0a64(0x2af)](_0x38a4be=>{const _0x3bc411=_0x2b0a64;if(_0x38a4be[_0x3bc411(0x1eb)]==null)return;const _0xe47a4=_0x38a4be[_0x3bc411(0x1eb)];if(_0x38a4be['id']!==_0x6a49b['id']||_0xe47a4[_0x3bc411(0x2bb)]!==this[_0x3bc411(0x29a)])return;const _0x3687a4={'id':_0x3bc411(0x235),'params':_0xe47a4},_0x1aacfb=this[_0x3bc411(0x2f8)];for(const [_0x4f7590,_0x5cd6cc]of _0x1aacfb){const _0x2644eb={'id':_0x3bc411(0x235),'params':{'unitId':this[_0x3bc411(0x29a)],'actions':null,'textRanges':_0x5cd6cc['ranges']}},_0x544f0c=this[_0x3bc411(0x2ef)][_0x3bc411(0x290)](_0x3687a4,_0x2644eb,!0x1);if(_0x5f09cd(_0x544f0c))throw _0x544f0c[_0x3bc411(0x318)];_0x1aacfb['set'](_0x4f7590,{..._0x5cd6cc,'ranges':_0x544f0c['m2Prime'][_0x3bc411(0x1eb)]['textRanges']});}queueMicrotask(()=>{const _0x2856eb=_0x3bc411;this[_0x2856eb(0x2b0)][_0x2856eb(0x23b)](_0x1aacfb);});})));}[_0x2ca6f1(0x30c)](_0x3d6877){const _0x47d3ff=_0x2ca6f1;var _0x33fe69,_0x5e27e6;const {memberID:_0x5cfaf3,selection:_0x3075ef}=_0x3d6877[_0x47d3ff(0x397)],_0x5b3bc7=_i(_0x3075ef),_0x3c67a1=(_0x5e27e6=(_0x33fe69=this[_0x47d3ff(0x1d1)][_0x47d3ff(0x231)](this[_0x47d3ff(0x29a)],_0x5cfaf3))==null?void 0x0:_0x33fe69[_0x47d3ff(0x2b3)])!=null?_0x5e27e6:'Unknown\x20user',_0x5272fc={'color':this[_0x47d3ff(0x334)]['assignAColorForMemberID'](_0x5cfaf3),'name':_0x3c67a1,'ranges':_0x5b3bc7},_0xc3af65=this[_0x47d3ff(0x2f8)];_0xc3af65[_0x47d3ff(0x2e4)](_0x5cfaf3,_0x5272fc),this[_0x47d3ff(0x2b0)]['next'](_0xc3af65);}[_0x2ca6f1(0x1e6)](_0x1ec14){const _0x1fc716=_0x2ca6f1,{memberID:_0x48e205}=_0x1ec14['data'],_0x1442f3=this[_0x1fc716(0x2f8)];_0x1442f3[_0x1fc716(0x28a)](_0x48e205),this[_0x1fc716(0x2b0)]['next'](_0x1442f3);}[_0x2ca6f1(0x1b2)](){const _0x1fa994=_0x2ca6f1;var _0x57a7fb;if(this['_online']=!0x0,((_0x57a7fb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x57a7fb[_0x1fa994(0x242)]())!==this[_0x1fa994(0x29a)])return;const _0x58b58f=this['_injector'][_0x1fa994(0x2dc)](_0x182f79)['getDocRanges']();Array[_0x1fa994(0x2a5)](_0x58b58f)&&_0x58b58f[_0x1fa994(0x24b)]>0x0&&this[_0x1fa994(0x32b)](_0x58b58f);}[_0x2ca6f1(0x1f1)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x42b6f2(_0x2c3916)),P(0x3,_0x42b6f2(ke)),P(0x4,_0x42b6f2(_0x4997ad)),P(0x5,_0x42b6f2(He)),P(0x6,_0x18b730),P(0x7,_0x121b61),P(0x8,_0x208f1c)],Ue);var Si=Object[_0x2ca6f1(0x28e)],mi=(_0xc99cf5,_0x356ef2,_0x526929,_0x1726fa)=>{const _0x2ed4c3=_0x2ca6f1;for(var _0x3ce754=_0x1726fa>0x1?void 0x0:_0x1726fa?Si(_0x356ef2,_0x526929):_0x356ef2,_0xed6cd7=_0xc99cf5[_0x2ed4c3(0x24b)]-0x1,_0x4168ee;_0xed6cd7>=0x0;_0xed6cd7--)(_0x4168ee=_0xc99cf5[_0xed6cd7])&&(_0x3ce754=_0x4168ee(_0x3ce754)||_0x3ce754);return _0x3ce754;},x=(_0x1cd2f7,_0x54965d)=>(_0x158474,_0x507050)=>_0x54965d(_0x158474,_0x507050,_0x1cd2f7);const Ii=0x12c,gi=0x64,vi=()=>{let _0x524919=[],_0x2c0dc9=!0x1;return _0x24bea0=>{const _0x400beb=_0xb26e;_0x524919[_0x400beb(0x36f)](_0x24bea0),_0x2c0dc9||(_0x2c0dc9=!0x0,setTimeout(()=>{const _0x2eb95c=_0x400beb;_0x524919[_0x2eb95c(0x241)](_0x27fb8a=>_0x27fb8a()),_0x524919=[],_0x2c0dc9=!0x1;}));};};let Me=class extends _0x43ae8a{constructor(_0x1fd80e,_0x2ae4a3,_0x48a406,_0x2332b5,_0x1755c4,_0xc8b881,_0x1d0319,_0x1742e5){const _0x3402dc=_0x2ca6f1;super(),_(this,_0x3402dc(0x371),!0x1),_(this,'_init',!0x1),_(this,_0x3402dc(0x2b0),new _0x29f35a(new Map())),_(this,_0x3402dc(0x1d8),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x29f35a([])),_(this,'roomMembers$',this[_0x3402dc(0x1d7)][_0x3402dc(0x2d2)](_0x5b1db8(Ii))),_(this,_0x3402dc(0x32b),_0xa4189d((_0x51fcba,_0x15c396)=>{const _0x50d708=_0x3402dc,_0x300459={'eventID':_0x5ca015[_0x50d708(0x388)],'data':{'unitID':this[_0x50d708(0x29a)],'memberID':this['_session'][_0x50d708(0x24d)](),'selection':_0xbab0e8(_0x51fcba,_0x15c396[_0x50d708(0x278)])}};this['_session'][_0x50d708(0x2ad)](_0x300459,this[_0x50d708(0x29a)]);},gi)),(this[_0x3402dc(0x29a)]=_0x1fd80e,this['_session']=_0x2ae4a3,this[_0x3402dc(0x268)]=_0x48a406,this[_0x3402dc(0x334)]=_0x2332b5,this['_memberService']=_0x1755c4,this[_0x3402dc(0x2ec)]=_0xc8b881,this[_0x3402dc(0x356)]=_0x1d0319,this[_0x3402dc(0x289)]=_0x1742e5);}get[_0x2ca6f1(0x2f8)](){const _0xc43025=_0x2ca6f1;return this[_0xc43025(0x2b0)][_0xc43025(0x225)]();}get[_0x2ca6f1(0x23a)](){const _0xbd648b=_0x2ca6f1;return this[_0xbd648b(0x1d7)]['getValue']();}[_0x2ca6f1(0x2de)](){const _0x3933f9=_0x2ca6f1;super[_0x3933f9(0x2de)](),this[_0x3933f9(0x2b0)][_0x3933f9(0x23b)](new Map()),this[_0x3933f9(0x2b0)][_0x3933f9(0x1e0)](),this[_0x3933f9(0x1d7)][_0x3933f9(0x23b)]([]),this[_0x3933f9(0x1d7)][_0x3933f9(0x1e0)]();}['init'](){const _0x18c9a3=_0x2ca6f1;this['_init']||(this[_0x18c9a3(0x1f8)]=!0x0,this[_0x18c9a3(0x316)]['sessionStatus$']['pipe'](_0x100102(this['dispose$']))[_0x18c9a3(0x1dd)](_0x19ee35=>{const _0x3ec141=_0x18c9a3;_0x19ee35===_0x1b7163[_0x3ec141(0x211)]?this['_toggleOnline']():this[_0x3ec141(0x1f1)]();}),this['_session'][_0x18c9a3(0x1bd)][_0x18c9a3(0x2d2)](_0x100102(this[_0x18c9a3(0x2b5)]))[_0x18c9a3(0x1dd)](_0x214d1c=>{const _0x135b0a=_0x18c9a3,_0x586b8b=_0x214d1c[_0x135b0a(0x2b6)];_0x586b8b===_0x5ca015[_0x135b0a(0x388)]&&this[_0x135b0a(0x30c)](_0x214d1c),_0x586b8b===_0x5ca015[_0x135b0a(0x2b8)]&&this[_0x135b0a(0x1e6)](_0x214d1c);}),this[_0x18c9a3(0x251)](),this[_0x18c9a3(0x39a)](this['_commandService']['onCommandExecuted'](_0x38f758=>{const _0x4890e4=_0x18c9a3;if(this['_online']&&_0x38f758['id']===_0x3d23b1['id']&&_0x38f758['params']['unitId']===this[_0x4890e4(0x29a)]){const _0x24fb6e=_0x38f758[_0x4890e4(0x1eb)];this[_0x4890e4(0x32b)](_0x24fb6e[_0x4890e4(0x1e5)],_0x24fb6e[_0x4890e4(0x2a7)][0x0]);}})));}['_onCursorUpdate'](_0x321308){const _0x63e0c9=_0x2ca6f1;var _0xaf3f54,_0x55d436;const {memberID:_0x2ff074,selection:_0x936988}=_0x321308[_0x63e0c9(0x397)],{sheetName:_0x248042,range:_0x4a7b4e}=_0x490fe0(_0x936988),_0x230a73={'name':(_0x55d436=(_0xaf3f54=this['_memberService'][_0x63e0c9(0x231)](this[_0x63e0c9(0x29a)],_0x2ff074))==null?void 0x0:_0xaf3f54[_0x63e0c9(0x2b3)])!=null?_0x55d436:_0x63e0c9(0x31e),'range':this['_getMergeRange'](_0x248042,_0x4a7b4e),'sheetID':_0x248042,'color':this[_0x63e0c9(0x334)]['assignAColorForMemberID'](_0x2ff074),'selection':_0x936988},_0x447954=this[_0x63e0c9(0x2f8)];_0x447954[_0x63e0c9(0x2e4)](_0x2ff074,_0x230a73),this['_cursorInfo$'][_0x63e0c9(0x23b)](_0x447954);}[_0x2ca6f1(0x1e6)](_0x4760ee){const _0x425662=_0x2ca6f1,{memberID:_0x3c2f3a}=_0x4760ee['data'],_0xfbd0f5=this[_0x425662(0x2f8)];_0xfbd0f5[_0x425662(0x28a)](_0x3c2f3a),this[_0x425662(0x2b0)][_0x425662(0x23b)](_0xfbd0f5);}[_0x2ca6f1(0x384)](_0x5b06e3,_0x3e01d1){const _0x3624a7=_0x2ca6f1;var _0x2f2677,_0x3fddac;const _0x21289f=(_0x3fddac=(_0x2f2677=this[_0x3624a7(0x2ec)][_0x3624a7(0x37e)](this['unitID']))==null?void 0x0:_0x2f2677[_0x3624a7(0x38c)](_0x5b06e3))==null?void 0x0:_0x3fddac['getMergeData']();return(_0x21289f==null?void 0x0:_0x21289f[_0x3624a7(0x21a)](_0x133135=>_0x3005d3[_0x3624a7(0x2e5)](_0x133135,_0x3e01d1)))||_0x3e01d1;}[_0x2ca6f1(0x251)](){const _0x3e3162=_0x2ca6f1,_0x4a8555=new _0x2d0bc9(),_0x49948c=vi(),_0x2e6407=()=>{const _0x410758=_0xb26e;_0x4a8555[_0x410758(0x2de)]();const _0x3a12e3=(_0x3cf730,_0x4ec9d7,_0x20e76d,_0x4c9bfa)=>{const _0x2609b0=_0x410758;let _0x4539c8=[];switch(_0x3cf730['id']){case _0x46187f[_0x2609b0(0x2ca)]:{_0x4539c8=_0x524dde(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x3b5)]:{_0x4539c8=_0x33f78b(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x21d)]:{_0x4539c8=_0x551d54(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x376)]:{_0x4539c8=_0x166a9d(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x281)]:{_0x4539c8=_0x5bfff5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['InsertRowCommandId']:{_0x4539c8=_0x1988e5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x29d)]:{_0x4539c8=_0x2c3195(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['RemoveColCommandId']:{_0x4539c8=_0x299cbd(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x2eb)]:{_0x4539c8=_0x42b3cd(_0x3cf730,_0x4c9bfa);break;}}const _0x30b00a=_0x36743a(_0x4539c8,_0x4c9bfa),_0x231ff0=this[_0x2609b0(0x2f8)][_0x2609b0(0x2dc)](_0x4ec9d7);if(_0x231ff0&&_0x30b00a){const _0x42795c={..._0x231ff0,'range':_0x30b00a};this[_0x2609b0(0x2f8)]['set'](_0x4ec9d7,_0x42795c),_0x49948c(()=>{const _0x1f14a5=_0x2609b0,_0x2c8555=this['_refRangeService'][_0x1f14a5(0x1b4)](_0x30b00a,_0x335f93=>(_0x2c8555[_0x1f14a5(0x2de)](),_0x3a12e3(_0x335f93,_0x4ec9d7,_0x20e76d,_0x30b00a)));_0x4a8555[_0x1f14a5(0x2fc)](_0x2c8555);});}return{'redos':[],'undos':[]};};this[_0x410758(0x2f8)][_0x410758(0x241)]((_0x59be81,_0x3b6bfb)=>{const _0x25d2ce=_0x410758,{range:_0x2983ed,sheetID:_0x5451dd}=_0x59be81,_0x3caef2=this[_0x25d2ce(0x289)][_0x25d2ce(0x1b4)](_0x2983ed,_0x5045a4=>(_0x3caef2[_0x25d2ce(0x2de)](),_0x3a12e3(_0x5045a4,_0x3b6bfb,_0x5451dd,_0x2983ed)));_0x4a8555['add'](_0x3caef2);});};this[_0x3e3162(0x39a)](_0x4a043f(this[_0x3e3162(0x2b0)][_0x3e3162(0x1dd)](()=>{_0x2e6407();})));}[_0x2ca6f1(0x1b2)](){const _0x23f403=_0x2ca6f1;var _0x1c103c,_0x43b38c;if(this[_0x23f403(0x371)]=!0x0,((_0x1c103c=this[_0x23f403(0x2ec)][_0x23f403(0x1f9)]())==null?void 0x0:_0x1c103c[_0x23f403(0x242)]())!==this[_0x23f403(0x29a)])return;const _0x4f1017=(_0x43b38c=this[_0x23f403(0x268)]['get'](_0x525965)[_0x23f403(0x37a)]())==null?void 0x0:_0x43b38c[0x0],_0x4a15c2=this['_univerInstanceService']['getCurrentUnitForType'](_0x2e4ce1[_0x23f403(0x2f1)])[_0x23f403(0x366)]();_0x4f1017&&_0x4a15c2&&this[_0x23f403(0x32b)](_0x4a15c2[_0x23f403(0x223)](),_0x4f1017);}[_0x2ca6f1(0x1f1)](){const _0x579fa0=_0x2ca6f1;this[_0x579fa0(0x371)]=!0x1;}};Me=mi([x(0x2,_0x42b6f2(_0x2c3916)),x(0x3,_0x42b6f2(ke)),x(0x4,_0x42b6f2(_0x4997ad)),x(0x5,_0x121b61),x(0x6,_0x208f1c),x(0x7,_0x42b6f2(_0x2212d9))],Me);var pi=Object[_0x2ca6f1(0x28e)],Ci=(_0x26fe97,_0x5558b4,_0xf33415,_0x3aef31)=>{const _0x4098f8=_0x2ca6f1;for(var _0x4b76e6=_0x3aef31>0x1?void 0x0:_0x3aef31?pi(_0x5558b4,_0xf33415):_0x5558b4,_0x339ea=_0x26fe97[_0x4098f8(0x24b)]-0x1,_0x3e1e34;_0x339ea>=0x0;_0x339ea--)(_0x3e1e34=_0x26fe97[_0x339ea])&&(_0x4b76e6=_0x3e1e34(_0x4b76e6)||_0x4b76e6);return _0x4b76e6;},Se=(_0x2736bb,_0x5a2229)=>(_0x52cc1e,_0x32b78b)=>_0x5a2229(_0x52cc1e,_0x32b78b,_0x2736bb);let H=class extends _0x43ae8a{constructor(_0x3f7af8,_0x114449,_0x2144a9){const _0x4629f5=_0x2ca6f1;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2aba1a()),(this[_0x4629f5(0x2ec)]=_0x3f7af8,this[_0x4629f5(0x268)]=_0x114449,this[_0x4629f5(0x1ca)]=_0x2144a9,this[_0x4629f5(0x1f8)]());}[_0x2ca6f1(0x2de)](){const _0x285d46=_0x2ca6f1;super[_0x285d46(0x2de)](),this[_0x285d46(0x23e)][_0x285d46(0x1e0)](),this[_0x285d46(0x32a)]['forEach'](_0x5acd63=>_0x5acd63[_0x285d46(0x2de)]());}['getCollabCursors$'](_0x2f739a){const _0x5ef9bc=_0x2ca6f1;return this[_0x5ef9bc(0x32a)][_0x5ef9bc(0x365)](_0x2f739a)?this[_0x5ef9bc(0x32a)]['get'](_0x2f739a)[_0x5ef9bc(0x1d8)]:this['_entityInit$']['pipe'](_0x143f8e(_0x3098d4=>_0x3098d4[_0x5ef9bc(0x29a)]===_0x2f739a),_0x521edf(_0x3d1016=>_0x3d1016[_0x5ef9bc(0x1d8)]));}['_init'](){const _0x590352=_0x2ca6f1;this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x2f1)])[_0x590352(0x2d2)](_0x100102(this[_0x590352(0x2b5)]))['subscribe'](async _0x32da24=>{const _0x5643d8=_0x590352,_0xa6368c=_0x32da24['getUnitId'](),_0x319d19=await this['_startSheetCollabCursor'](_0xa6368c);this[_0x5643d8(0x23e)][_0x5643d8(0x23b)](_0x319d19),this['_entities'][_0x5643d8(0x2e4)](_0xa6368c,_0x319d19);}),this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x266)])[_0x590352(0x2d2)](_0x100102(this['dispose$']))[_0x590352(0x2d2)](_0x143f8e(_0xc7a4ae=>!_0xc7a4ae[_0x590352(0x242)]()[_0x590352(0x2be)]('__')))[_0x590352(0x1dd)](async _0x5b8fed=>{const _0x1562db=_0x590352,_0x4cbf81=_0x5b8fed['getUnitId'](),_0x3b4164=await this[_0x1562db(0x1bf)](_0x4cbf81);this[_0x1562db(0x23e)][_0x1562db(0x23b)](_0x3b4164),this[_0x1562db(0x32a)][_0x1562db(0x2e4)](_0x4cbf81,_0x3b4164);}),_0x925036(this[_0x590352(0x2ec)][_0x590352(0x297)](_0x2e4ce1[_0x590352(0x266)]),this[_0x590352(0x2ec)]['getTypeOfUnitDisposed$'](_0x2e4ce1['UNIVER_SHEET']))['pipe'](_0x100102(this[_0x590352(0x2b5)]))[_0x590352(0x1dd)](_0x5c6558=>{const _0x15eee8=_0x590352,_0x11eab8=_0x5c6558['getUnitId'](),_0x3850a4=this[_0x15eee8(0x32a)]['get'](_0x11eab8);_0x3850a4&&(_0x3850a4[_0x15eee8(0x2de)](),this[_0x15eee8(0x32a)][_0x15eee8(0x28a)](_0x11eab8));});}async[_0x2ca6f1(0x30d)](_0x4b5296){const _0x1f0a0f=_0x2ca6f1,_0x39f341=await this['_collabSessionService'][_0x1f0a0f(0x286)](_0x4b5296),_0x299913=this[_0x1f0a0f(0x268)][_0x1f0a0f(0x361)](Me,_0x4b5296,_0x39f341);return _0x299913[_0x1f0a0f(0x328)](),_0x299913;}async[_0x2ca6f1(0x1bf)](_0x20ecbd){const _0x4dbc47=_0x2ca6f1,_0x53991b=await this['_collabSessionService'][_0x4dbc47(0x286)](_0x20ecbd),_0x15bcd7=this[_0x4dbc47(0x268)]['createInstance'](Ue,_0x20ecbd,_0x53991b);return _0x15bcd7[_0x4dbc47(0x328)](),_0x15bcd7;}};H=Ci([Se(0x0,_0x121b61),Se(0x1,_0x42b6f2(_0x2c3916)),Se(0x2,_0x42b6f2(_0x91b51d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3f0b40,_0x3da401){const _0x5accf5=_0x2ca6f1;let {radius:_0x205725,width:_0x208be7,height:_0x26f4c7}=_0x3da401;_0x205725=_0x205725!=null?_0x205725:0x0,_0x208be7=_0x208be7!=null?_0x208be7:0x1e,_0x26f4c7=_0x26f4c7!=null?_0x26f4c7:0x1e;let _0x44c98d=0x0,_0x3d7847=0x0,_0xfb40cd=0x0;_0x44c98d=_0x3d7847=_0xfb40cd=Math[_0x5accf5(0x240)](_0x205725,_0x208be7/0x2,_0x26f4c7/0x2),_0x3f0b40[_0x5accf5(0x2bc)](),_0x3f0b40[_0x5accf5(0x2fb)](_0x44c98d,0x0),_0x3f0b40[_0x5accf5(0x205)](_0x208be7-_0x3d7847,0x0),_0x3f0b40['arc'](_0x208be7-_0x3d7847,_0x3d7847,_0x3d7847,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f0b40['lineTo'](_0x208be7,_0x26f4c7-_0xfb40cd),_0x3f0b40['arc'](_0x208be7-_0xfb40cd,_0x26f4c7-_0xfb40cd,_0xfb40cd,0x0,Math['PI']/0x2,!0x1),_0x3f0b40[_0x5accf5(0x205)](0x0,_0x26f4c7),_0x3f0b40['lineTo'](0x0,_0x44c98d),_0x3f0b40[_0x5accf5(0x30a)](_0x44c98d,_0x44c98d,_0x44c98d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f0b40[_0x5accf5(0x1cd)](),_0x3da401[_0x5accf5(0x308)]&&(_0x3f0b40[_0x5accf5(0x1f2)](),_0x3f0b40[_0x5accf5(0x25c)]=_0x3da401[_0x5accf5(0x308)],_0x3da401['fillRule']===_0x5accf5(0x264)?_0x3f0b40['fill'](_0x5accf5(0x264)):_0x3f0b40[_0x5accf5(0x308)](),_0x3f0b40['restore']());}class he extends _0x45b365{constructor(_0x4f2c6b,_0x5025d3){const _0x58c2ab=_0x2ca6f1;super(_0x4f2c6b,_0x5025d3),_(this,_0x58c2ab(0x1c6)),_(this,_0x58c2ab(0x301)),(this[_0x58c2ab(0x1c6)]=_0x5025d3==null?void 0x0:_0x5025d3[_0x58c2ab(0x1c6)],this['text']=_0x5025d3==null?void 0x0:_0x5025d3['text']);}static[_0x2ca6f1(0x34c)](_0x4e8c6f,_0x244e89){const _0x46030b=_0x2ca6f1,{text:_0x2dc2c6,color:_0x3e7f50}=_0x244e89;_0x4e8c6f[_0x46030b(0x1f2)](),_0x4e8c6f[_0x46030b(0x267)]=_0x46030b(0x2c6);const _0x3fbe6f=_0x4e8c6f[_0x46030b(0x303)](_0x2dc2c6)['width'],_0x17b38c=Math[_0x46030b(0x240)](_0x3fbe6f+0x2*me,Qe);Oi(_0x4e8c6f,{'height':ee,'radius':0x4,'width':_0x17b38c,'fill':_0x3e7f50}),_0x4e8c6f[_0x46030b(0x25c)]=_0x46030b(0x293);const _0x119c13=me,_0x21c130=ee-Ei,_0x565109=Qe-0x2*me;if(_0x3fbe6f>_0x565109){let _0x4db5b3='',_0x4f0881=0x0;for(const _0x13a5a6 of _0x2dc2c6){const _0x5f0d41=_0x4e8c6f['measureText'](_0x13a5a6)['width'];if(_0x4f0881+_0x5f0d41<=_0x565109-_0x4e8c6f[_0x46030b(0x303)](_0x46030b(0x2c9))[_0x46030b(0x229)])_0x4db5b3+=_0x13a5a6,_0x4f0881+=_0x5f0d41;else{_0x4db5b3+='...';break;}}_0x4e8c6f[_0x46030b(0x272)](_0x4db5b3,_0x119c13,_0x21c130);}else _0x4e8c6f['fillText'](_0x2dc2c6,_0x119c13,_0x21c130);_0x4e8c6f['restore']();}[_0x2ca6f1(0x346)](_0x17cb87){const _0x3db967=_0x2ca6f1;he[_0x3db967(0x34c)](_0x17cb87,this);}}function _0xd5c9(){const _0x19b940=['string','trim','UNAUTHENTICATED','init','createSocket','_entities','_updateLocalCursor','undoState','skeleton','3780WFFvAo','addEventListener','startColumn','_cursor','ranges','NO_OTHER_CLIENTS_EDITING','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','UniverIcon','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','FETCH_MISS','_cursors','result','_collabCursorState$','getRelativeToViewportCoord','YUUMI_URL_COL_OUT_OF_RANGE','INVALID_ARGUMENT','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','loadOfflineData','_localeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','show','subunit','invokeId','_getSheetObject','OTHER_CLIENT_EDITING','drawWith','_scheduleClearOtherTimer','_range','wsSessionTicketUrl','Warning','_instanceService','_shapes','_registerRenderDependencies','current','yellow.400','_commandService','split','pluginName','_context','NOT_COLLAB','_transformHistoryAndStateStack','/run/','pushState','clearInterval','onRendered','collabCursorState$','createInstance','CLOSE_ROOM','height','type','has','getActiveSheet','transformStateCache','saveImage','mutations','_initEntityListener','_cursorShapes','status$','getConfig','_docSkeletonManagerService','push','unsubscribe','_online','NOT_FOUND','prototype','engine','memberID','InsertRangeMoveDownCommandId','_revisionService','focused$','OFFLINE','getCurrentSelections','call','row','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','_saveCache','_doCreateSocket','_ensureSubject','_registerDependencies','_handleJoinEvent','_getMergeRange','CONNECTOR_DATA_TOO_LARGE','white','0\x200\x2017\x2016','UPDATE_CURSOR','translate(.97)','_beforeCloseService','getAncestorScale','getSheetBySheetId','setInterval','isActive','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','TEXT','runId','collaboration-client-ui.config','addObject','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','data','addObjects','docStateChange$','disposeWithMe','searchParams','COMPLETION_FINISHED','SYNCED','substring','_uiPartsService','TOO_MANY_REQUESTS','CONFLICT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initResize','getCollabEntity$','_clearOtherTimers','_setupBeforeClosingHandler','_docTransformSelectionsService','map','off-line-icon','2571ckaHrF','m2Prime','ticket','_scheduleSaving','unload','_send','UNRECOGNIZED','_document','_disabled','getRangePointData','activeSheet$','DeleteRangeMoveUpCommandId','_handleHover','_removeCollabCursors','_sheetSkeletonManagerService','_getSaveTimeout','_toggleOnline','34735910oDBbHr','registerRefRange','session.connection-failed','_transformUndoRedoStack','key','OffLineIcon','resize','INVITE_CODE_HAS_BEEN_UES','_assignedColors','blue.400','event$','ALREADY_EXISTS','_startDocCollabCursor','_selfUnitIDs','_urlService','selection','_anchorDot','registerBeforeClose','transformRemoteChangeset','color','_hideTimer','EMAIL_HAS_BEEN_BOUND','_config','_collabSessionService','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','collabStatus.notCollab','closePath','_updateSubUnitFromURLParams','all','m1Prime','_memberService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initDependencies','svg','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','toRgbString','_roomMembers$','cursorInfo$','_notificationService','children','findNodePositionByCharIndex','code','subscribe','_docStateChangeManagerService','MOBILE_VERIFY_CODE_MISMATCH','complete','collaboration.closeRoom','div','jiqing.500','_saveTaskMap','subUnitId','_onCursorDelete','with','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','sheetId','5iKuDIh','params','max','getParam','_docSyncEditingCollabCursorService','_eventUnsubscribe','body','_toggleOffline','save','session.will-retry','url(#on-line-icon_clip0_910_349)','syncEditingCollabCursor','onTransformChange$','defineProperty','_init','getFocusedUnit','permission.content','displayName','generateRandomId','permission.title','onPointerEnter$','_unitOnClients','_initStatusComponent','idSuffix','_cachedData','_name','_hover','lineTo','YUUMI_ALL_TABLES_IS_INVALID','unshift','purple.300','APPLY_REJECT','sheetID','_collaborationUIEventService','includes','function','restore','transformSelections','getCurrent','ONLINE','_docSkeleton','3168822rKeAhx','on-line-icon_clip0_910_349','APPLY_NON_SEQUENTIAL_REVISION','_lastPointer','replaceDocRanges','YUUMI_RATE_OVER_LIMIT','then','find','propertyIsEnumerable','mask','InsertColCommandId','_handleEvent','[CollaborationDataLoaderController]','currentColor','symbol','_handleLeaveEvent','getSheetId','currentSkeleton$','getValue','application/json','path','_logService','width','INVITE_CODE_ALREADY_BOUND','_scene','APPLY_REVISION_CONFILICT','_unitStatus','registerRenderModule','_color','history','getMember','getVpScrollXYInfoByPosToVp','getOwnPropertySymbols','_docTransformStateCacheService','doc.mutation.rich-text-editing','stringify','collabStatus.synced','WECHAT_HAS_BEEN_BOUND','_localStorageService','roomMembers','next','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PENDING','_entityInit$','roomMembers$','min','forEach','getUnitId','_renderManagerService','getDocRanges','top','LICENSE_EXPORT_SIZE_EXCEEDED','getRenderById','_textBubble','redoState','unit','length','_heartbeatTimer','getMemberID','onPointerLeave$','INVALID_INVITE_CODE','debug','_onRefRangeChange','off-line-icon_clip0_910_343','transform','_setupSubUnitSync','executeCommand','1582410PnRWyk','registerComponent','univer-flex\x20univer-items-center','Error','_updateURLWithCurrentState','_refreshCollabCursors','fillStyle','FromArray','popstate','univer-mr-2\x20univer-flex\x20univer-text-xl','univerjs-icon\x20univerjs-icon-','setStateCache','setAlpha','urlChange$','evenodd','source','UNIVER_DOC','font','_injector','_collabCursorController','post','hovered','reconnect','http://www.w3.org/2000/svg','assign','_getSessionTicket','_handleHeartbeatEvent','setTimeout','fillText','_labelPosition','_getAnchorBounding','defs','column','getUnitStatus$','range','hasOwnProperty','3930801GKIttY','_docTransformIMECacheService','ENSURE_SNAPSHOT_EXECUTION','_docClipboardService','_render','_imageIoService','backgroundColor','InsertRangeMoveRightCommandId','entityInit$','SOCKET_FAILED','xlink:href','getCurrentRevOfUnit','requireSession','_removeClearOtherTimer','indexOf','_refRangeService','delete','use','_status$','INTERNAL_ERROR','getOwnPropertyDescriptor','updateOfflineData','transformMutation','_hovered','none','#FFF','defIds','removeParam','location','getTypeOfUnitDisposed$','1em','black','unitID','clearTimeout','_drawTextRange','MoveRangeCommandId','isEditing','SNAPSHOT_INVALID_SNAPSHOT','on-line-icon','round','YUUMI_AI_RUN_FAILED','_configService','getColorFromTheme','isArray','_initStatusListener','selections','saveTaskMap','deepClone','_dataLoaderService','transformMutationsWithChangeset','653185EruhrK','send','_id','onCommandExecuted','_cursorInfo$','getItem','_anchor','name','icon','dispose$','eventID','red.300','USERS_LEAVE','_scheduleHeartbeat','getSkeleton','unitId','beginPath','APPLY_PERMISSION_DENIED','startsWith','disableLocalCache','subscribeEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-text-anchor-','_initCommandExecutedListener','UNDEFINED','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveOfflineData','...','DeleteRangeMoveLeftCommandId','newValue','getStateCache','_createSocketURL','SNAPSHOT_HAS_BEEN_REMOVED','from','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','concat','pipe','setActiveRange','tag','transformIMECache','getTypeOfUnitAdded$','MUTATION','_drawRectRange','YUUMI_UNABLE_LOAD_URL','size','PERMISSION_DENIED','get','_colorIndex','dispose','triggerDblclick','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','setItem','YUUMI_TABLE_NOT_FOUND_IN_UNIT','set','contains','toString','getUndoRedoMutationParamsCache','makeDirty','values','search','RemoveRowCommandId','_univerInstanceService','whenReady','_drawAnchor','_transformService','OnLineIcon','UNIVER_SHEET','_localCacheService','setParam','enableLocalCache','addClipboardHook','onPointerMove$','getViewport','cursorInfo','actions','AWAITING','moveTo','add','bottom','_themeService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','text','getCollabCursors$','measureText','_collaborationController','getActiveRange','M0\x200H16V16H0z','imageSourceType','fill','RECT','arc','hide','_onCursorUpdate','_startSheetCollabCursor','OTHER_CLIENTS_EDITING','524480DHpONy','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_MISMATCH','144uyCJNY','href','collaboration.single-unit.warning','attrs','_session','asObservable','error','runOnServer','_messageService','_backgroundColor','extend','_initEvent','Unknown\x20user','uni.network.url-service','className','INVITE_CODE_REQUIRED','textRanges','APPLY_DUPLICATED','8bQyWCs'];_0xd5c9=function(){return _0x19b940;};return _0xd5c9();}const Ie=_0x2ca6f1(0x2c2),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4afa63,_0x1ad812,_0x14264c,_0x56a244){const _0x39a1ad=_0x2ca6f1;_(this,_0x39a1ad(0x352),[]),_(this,_0x39a1ad(0x2b2),null),_(this,'_textBubble',null),_(this,_0x39a1ad(0x1c3),null),_(this,_0x39a1ad(0x1c7),null),_(this,_0x39a1ad(0x1ef),null),(this[_0x39a1ad(0x331)]=_0x4afa63,this[_0x39a1ad(0x22b)]=_0x1ad812,this[_0x39a1ad(0x212)]=_0x14264c,this[_0x39a1ad(0x3b1)]=_0x56a244,this[_0x39a1ad(0x27e)]());}set[_0x2ca6f1(0x204)](_0x344354){const _0x2b2856=_0x2ca6f1;_0x344354?(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x30b)](),this[_0x2b2856(0x248)]&&this['_textBubble'][_0x2b2856(0x347)]()):(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x347)](),this[_0x2b2856(0x248)]&&this['_textBubble']['hide']());}[_0x2ca6f1(0x2de)](){const _0x32fe6f=_0x2ca6f1;for(const _0x22322c of this[_0x32fe6f(0x352)])_0x22322c[_0x32fe6f(0x2de)]();this[_0x32fe6f(0x248)]&&this['_textBubble']['dispose'](),this[_0x32fe6f(0x1c3)]&&this[_0x32fe6f(0x1c3)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x2b2)]&&this[_0x32fe6f(0x2b2)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x1ef)]&&this[_0x32fe6f(0x1ef)]();}['_render'](){const _0x1ddb62=_0x2ca6f1;var _0x3f50f3;const {_docSkeleton:_0x302eed,_document:_0x2dfe0a}=this,{color:_0x7318c9,name:_0x3edca7,ranges:_0x152bb2}=this[_0x1ddb62(0x331)],_0x5d58b4=_0x2dfe0a['getOffsetConfig'](),{docsLeft:_0x24f714,docsTop:_0x2ff1f8}=_0x5d58b4,_0x52e670=new _0xe8bcfb(_0x5d58b4,_0x302eed);for(const {startOffset:_0x28055b,endOffset:_0x568288,rangeType:_0x4c5b2d,segmentId:_0x2757e2,segmentPage:_0x57beb4,collapsed:_0x49bf05,isActive:_0x25c85a}of _0x152bb2){const _0x19bfad=_0x302eed['findNodePositionByCharIndex'](_0x28055b,!0x0,_0x2757e2,_0x57beb4);let _0x21ac3c=_0x302eed[_0x1ddb62(0x1db)](_0x568288,!0x0,_0x2757e2,_0x57beb4);if(_0x21ac3c==null&&(_0x21ac3c=_0x302eed['findNodePositionByCharIndex'](_0x568288-0x1,!0x1,_0x2757e2,_0x57beb4)),_0x25c85a){const {contentBoxPointGroup:_0x39c561}=_0x52e670[_0x1ddb62(0x3b3)](_0x21ac3c,_0x21ac3c);if(_0x39c561['length']===0x0)continue;this['_drawAnchor'](_0x7318c9,_0x39c561,_0x24f714,_0x2ff1f8,_0x3edca7),this[_0x1ddb62(0x1ef)]=this[_0x1ddb62(0x3b6)]();}if(_0x19bfad&&_0x21ac3c){if(_0x4c5b2d===_0x5dd866[_0x1ddb62(0x309)]){const _0x3794b7=new _0x53124a(_0x5d58b4,_0x302eed),{pointGroup:_0x5416d4}=(_0x3f50f3=_0x3794b7[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c))!=null?_0x3f50f3:{};if(_0x5416d4==null||_0x5416d4['length']===0x0)continue;this[_0x1ddb62(0x2d8)](_0x7318c9,_0x5416d4,_0x24f714,_0x2ff1f8);}else{if(!_0x49bf05){const {borderBoxPointGroup:_0x1320bf}=_0x52e670[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c);if(_0x1320bf[_0x1ddb62(0x24b)]===0x0)continue;this['_drawTextRange'](_0x7318c9,_0x1320bf,_0x24f714,_0x2ff1f8);}}}}}[_0x2ca6f1(0x2ee)](_0x5276ec,_0x319b1b,_0xce2e0e,_0x24f6d8,_0x4e936f){const _0x31b417=_0x2ca6f1,_0x5cdb33=this[_0x31b417(0x274)](_0x319b1b),{left:_0x25d22a,top:_0x1f0363,height:_0x515810}=_0x5cdb33,_0x4290a4=this['_getScale'](),_0x377536=Di/_0x4290a4,_0x5a6a5e=new _0x1ef53a(Ie+_0x2d6480[_0x31b417(0x1fc)](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8,'height':_0x515810,'width':Ri,'fill':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'strokeWidth':_0x377536,'stroke':Ni,'evented':!0x0});this[_0x31b417(0x2b2)]=_0x5a6a5e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x5a6a5e,_0x1735e4);const _0x972aee=new _0x1ef53a(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ge/0x2,'height':ge,'width':ge,'fill':_0x5276ec||_0x8794e2(_0x228576['black'],0x0),'strokeWidth':0x0,'stroke':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'evented':!0x1});this[_0x31b417(0x1c3)]=_0x972aee,this[_0x31b417(0x22b)]['addObject'](_0x972aee,_0x1735e4);const _0x28442e=new he(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ee,'text':_0x4e936f,'color':_0x5276ec});this[_0x31b417(0x248)]=_0x28442e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x28442e,_0x1735e4),this['_hover']=!0x1;}[_0x2ca6f1(0x3b6)](){const _0x3483fe=_0x2ca6f1,_0x1f1e7a=this['_anchor'][_0x3483fe(0x1fe)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3a152a=this[_0x3483fe(0x2b2)][_0x3483fe(0x24e)][_0x3483fe(0x2c0)](()=>{const _0x1fe0e9=_0x3483fe;this[_0x1fe0e9(0x1c7)]&&clearTimeout(this[_0x1fe0e9(0x1c7)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3167a4=_0x3483fe;_0x1f1e7a[_0x3167a4(0x370)](),_0x3a152a[_0x3167a4(0x370)]();};}[_0x2ca6f1(0x29c)](_0x2f683d,_0xa146e1,_0x446859,_0x2c218e){const _0x4e8275=_0x2ca6f1,_0xf50a74=new _0x330549(_0x2f683d)[_0x4e8275(0x262)](0.2)[_0x4e8275(0x1d6)](),_0x3fd47a=new _0xb5ffc4(bi+_0x2d6480[_0x4e8275(0x1fc)](X),{'pointsGroup':_0xa146e1,'fill':_0xf50a74||_0x8794e2(_0x228576[_0x4e8275(0x299)],0.2),'left':_0x446859,'top':_0x2c218e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4e8275(0x36f)](_0x3fd47a),this[_0x4e8275(0x22b)][_0x4e8275(0x394)](_0x3fd47a,_0x1735e4);}['_drawRectRange'](_0x326d86,_0x275e4a,_0x168322,_0x21f243){const _0xf9d786=_0x2ca6f1,_0x42611a=new _0x330549(_0x326d86)[_0xf9d786(0x262)](0.2)[_0xf9d786(0x1d6)](),_0x32c5f9=new _0xb5ffc4(Ti+_0x2d6480[_0xf9d786(0x1fc)](X),{'pointsGroup':_0x275e4a,'fill':_0x42611a||_0x8794e2(_0x228576[_0xf9d786(0x299)],0.2),'left':_0x168322,'top':_0x21f243,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf9d786(0x36f)](_0x32c5f9),this['_scene'][_0xf9d786(0x394)](_0x32c5f9,_0x1735e4);}[_0x2ca6f1(0x274)](_0xbba037){const _0x1676dd=_0xbba037[0x0],_0x2d0a82=_0x1676dd[0x0],_0x463136=_0x1676dd[0x2],{x:_0x548a31,y:_0x373af2}=_0x2d0a82,{x:_0x501a84,y:_0x1d80e3}=_0x463136;return{'left':_0x548a31,'top':_0x373af2,'width':_0x501a84-_0x548a31,'height':_0x1d80e3-_0x373af2};}['_getScale'](){const _0x18722f=_0x2ca6f1,{scaleX:_0x1e1b8b,scaleY:_0x3cd6db}=this['_scene'][_0x18722f(0x38b)]();return Math[_0x18722f(0x1ec)](_0x1e1b8b,_0x3cd6db);}}var Ui=Object[_0x2ca6f1(0x28e)],Mi=(_0x4e861b,_0xc51317,_0x131cba,_0x5a71f1)=>{const _0x4b12b7=_0x2ca6f1;for(var _0x4888bb=_0x5a71f1>0x1?void 0x0:_0x5a71f1?Ui(_0xc51317,_0x131cba):_0xc51317,_0x2eac21=_0x4e861b[_0x4b12b7(0x24b)]-0x1,_0x42e018;_0x2eac21>=0x0;_0x2eac21--)(_0x42e018=_0x4e861b[_0x2eac21])&&(_0x4888bb=_0x42e018(_0x4888bb)||_0x4888bb);return _0x4888bb;},Z=(_0x114ced,_0x5d3ef6)=>(_0x4295ae,_0xfa719)=>_0x5d3ef6(_0x4295ae,_0xfa719,_0x114ced);let Le=class extends _0x43ae8a{constructor(_0x895f03,_0x1c08a1,_0x2187d8,_0x1b9cf8,_0x59ead3){const _0x21c9e2=_0x2ca6f1;super(),_(this,'_cursorShapes',[]),_(this,_0x21c9e2(0x33a),[]),(this['_context']=_0x895f03,this[_0x21c9e2(0x36e)]=_0x1c08a1,this[_0x21c9e2(0x269)]=_0x2187d8,this[_0x21c9e2(0x356)]=_0x1b9cf8,this[_0x21c9e2(0x2fe)]=_0x59ead3,this[_0x21c9e2(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2e6dd3=_0x2ca6f1,_0x3772d7=this['_context'][_0x2e6dd3(0x2bb)],_0x26eb6c=this[_0x2e6dd3(0x36e)];this[_0x2e6dd3(0x39a)](_0x527d9a([this[_0x2e6dd3(0x269)][_0x2e6dd3(0x302)](_0x3772d7),this[_0x2e6dd3(0x2fe)]['currentTheme$']])[_0x2e6dd3(0x2d2)](_0x4de96b(([_0x2a9cab,_0x1a6aeb])=>({'skeleton':_0x26eb6c[_0x2e6dd3(0x2ba)](),'cursors':[..._0x2a9cab[_0x2e6dd3(0x2e9)]()]['flatMap'](_0x52f342=>({..._0x52f342,'color':this[_0x2e6dd3(0x2fe)]['getColorFromTheme'](_0x52f342['color'])}))})))['subscribe'](_0x1fbf0e=>{const _0xf9f63f=_0x2e6dd3;if(this[_0xf9f63f(0x3b7)](),_0x1fbf0e){const {skeleton:_0xb230e8,cursors:_0x74363b}=_0x1fbf0e;this[_0xf9f63f(0x2e1)](_0xb230e8,_0x74363b);}})),this['_initResize'](),this[_0x2e6dd3(0x2c3)]();}[_0x2ca6f1(0x2e1)](_0x1791fe,_0x133865){const _0x59a545=_0x2ca6f1,{scene:_0x560698,mainComponent:_0x7a32d3}=this['_context'],_0x532fa2=_0x133865['map'](_0x2f5ba6=>new qe(_0x2f5ba6,_0x560698,_0x1791fe,_0x7a32d3));this[_0x59a545(0x36b)]=_0x532fa2,this[_0x59a545(0x33a)]=_0x133865;}[_0x2ca6f1(0x25b)](){const _0x1d6bf8=_0x2ca6f1;this[_0x1d6bf8(0x3b7)]();const {scene:_0x566be9,mainComponent:_0x4bc1d8}=this[_0x1d6bf8(0x359)],_0x1b6470=this['_docSkeletonManagerService'][_0x1d6bf8(0x2ba)](),_0x45a3c1=this[_0x1d6bf8(0x33a)][_0x1d6bf8(0x3a8)](_0x597b67=>new qe(_0x597b67,_0x566be9,_0x1b6470,_0x4bc1d8));this[_0x1d6bf8(0x36b)]=_0x45a3c1;}[_0x2ca6f1(0x3b7)](){const _0x2e57ef=_0x2ca6f1;this[_0x2e57ef(0x36b)][_0x2e57ef(0x241)](_0x184278=>_0x184278[_0x2e57ef(0x2de)]()),this[_0x2e57ef(0x36b)]=[];}[_0x2ca6f1(0x2c3)](){const _0x15a0cb=_0x2ca6f1,_0x498cfb=[_0x294f37['id']];this[_0x15a0cb(0x39a)](this[_0x15a0cb(0x356)][_0x15a0cb(0x2af)](_0x2a4fe8=>{const _0x1b5411=_0x15a0cb;_0x498cfb['includes'](_0x2a4fe8['id'])&&_0x2a4fe8[_0x1b5411(0x1eb)][_0x1b5411(0x2bb)]===this[_0x1b5411(0x359)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x2ca6f1(0x3a3)](){const _0x117489=_0x2ca6f1;this[_0x117489(0x39a)](_0x27183e(this[_0x117489(0x359)][_0x117489(0x374)][_0x117489(0x1f6)])[_0x117489(0x2d2)](_0x1a5c76(_0x5797b6=>_0x5797b6[_0x117489(0x364)]===_0x461ed3[_0x117489(0x1b9)]),_0x74dfe1(0x10))[_0x117489(0x1dd)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x42b6f2(_0x27bec7)),Z(0x2,_0x42b6f2(H)),Z(0x3,_0x208f1c),Z(0x4,_0x42b6f2(_0x89e8ff))],Le);const Li=0x1,Pi=1.5;class wi extends _0x45b365{constructor(_0x5ec4b7,_0x1c04af){const _0x578f5e=_0x2ca6f1;super(_0x5ec4b7,_0x1c04af),_(this,_0x578f5e(0x22f)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x578f5e(0x203),''),_(this,_0x578f5e(0x273),_0x578f5e(0x245)),_(this,_0x578f5e(0x31b)),(_0x1c04af&&this[_0x578f5e(0x342)](_0x1c04af),this['onPointerEnter$'][_0x578f5e(0x2c0)](()=>this[_0x578f5e(0x342)]({'hovered':!0x0})),this[_0x578f5e(0x24e)][_0x578f5e(0x2c0)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2ca6f1(0x342)](_0x327e27){const _0x749ccd=_0x2ca6f1;var _0x424f75,_0xbf65b0,_0x554db6,_0xcf0cd5,_0x38108a,_0x4b7e41;this[_0x749ccd(0x22f)]=(_0x424f75=_0x327e27[_0x749ccd(0x1c6)])!=null?_0x424f75:this[_0x749ccd(0x22f)],this[_0x749ccd(0x291)]=(_0xbf65b0=_0x327e27[_0x749ccd(0x26b)])!=null?_0xbf65b0:this['_hovered'],this['_range']=(_0x554db6=_0x327e27[_0x749ccd(0x278)])!=null?_0x554db6:this['_range'],this[_0x749ccd(0x203)]=(_0xcf0cd5=_0x327e27[_0x749ccd(0x2b3)])!=null?_0xcf0cd5:this[_0x749ccd(0x203)],this[_0x749ccd(0x273)]=(_0x38108a=_0x327e27['labelPosition'])!=null?_0x38108a:this[_0x749ccd(0x273)],this['_backgroundColor']=(_0x4b7e41=_0x327e27[_0x749ccd(0x280)])!=null?_0x4b7e41:this[_0x749ccd(0x31b)],this[_0x749ccd(0x340)]({'width':_0x327e27['width'],'height':_0x327e27[_0x749ccd(0x363)]});}['onMouseMove'](_0x5ae35a){const _0x376ba4=_0x2ca6f1,{row:_0x1866db,column:_0x57c931}=_0x5ae35a;if(_0x1866db>=this[_0x376ba4(0x34e)]['startRow']&&_0x1866db<=this[_0x376ba4(0x34e)]['endRow']&&_0x57c931>=this[_0x376ba4(0x34e)][_0x376ba4(0x330)]&&_0x57c931<=this['_range']['endColumn']){this[_0x376ba4(0x342)]({'hovered':!0x0});return;}this[_0x376ba4(0x342)]({'hovered':!0x1});}[_0x2ca6f1(0x2df)](_0x250720){return!0x1;}['_draw'](_0x492b5d){const _0x5292a7=_0x2ca6f1;_0x1ef53a[_0x5292a7(0x34c)](_0x492b5d,{'width':this[_0x5292a7(0x229)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5292a7(0x22f)],'evented':!0x1,'fill':this[_0x5292a7(0x31b)]}),this[_0x5292a7(0x291)]&&(_0x492b5d['save'](),_0x492b5d[_0x5292a7(0x253)](0x1,0x0,0x0,0x1,this[_0x5292a7(0x229)],this[_0x5292a7(0x273)]===_0x5292a7(0x2fd)?0x0:-0x14),he[_0x5292a7(0x34c)](_0x492b5d,{'text':this['_name'],'color':this[_0x5292a7(0x22f)]}),_0x492b5d[_0x5292a7(0x20e)]());}}var Ai=Object[_0x2ca6f1(0x28e)],yi=(_0x230c21,_0x1fa385,_0x43bead,_0x2b4ace)=>{const _0x3b5605=_0x2ca6f1;for(var _0x4c5c86=_0x2b4ace>0x1?void 0x0:_0x2b4ace?Ai(_0x1fa385,_0x43bead):_0x1fa385,_0x566790=_0x230c21[_0x3b5605(0x24b)]-0x1,_0x1e488c;_0x566790>=0x0;_0x566790--)(_0x1e488c=_0x230c21[_0x566790])&&(_0x4c5c86=_0x1e488c(_0x4c5c86)||_0x4c5c86);return _0x4c5c86;},ve=(_0x2ab3a1,_0x1ad84a)=>(_0x523ead,_0x3ad5ac)=>_0x1ad84a(_0x523ead,_0x3ad5ac,_0x2ab3a1);const $i=0x1389;let Pe=class extends _0x43ae8a{constructor(_0x12ed49,_0x1c710a,_0x657ed5,_0x14640f){const _0x513e56=_0x2ca6f1;super(),_(this,_0x513e56(0x33a),new Set()),_(this,_0x513e56(0x216),null),(this[_0x513e56(0x359)]=_0x12ed49,this[_0x513e56(0x3b8)]=_0x1c710a,this[_0x513e56(0x269)]=_0x657ed5,this['_themeService']=_0x14640f,this[_0x513e56(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2f1728=_0x2ca6f1;this[_0x2f1728(0x3b8)][_0x2f1728(0x224)]['pipe'](_0x40b6c8(this[_0x2f1728(0x2b5)]),_0x25b251(_0x4ebdd1=>{const _0x5e9ce2=_0x2f1728;if(_0x4ebdd1){const _0x4b837a=_0x4ebdd1[_0x5e9ce2(0x1e9)];return _0x527d9a(this[_0x5e9ce2(0x269)][_0x5e9ce2(0x302)](this[_0x5e9ce2(0x359)][_0x5e9ce2(0x2bb)]),this[_0x5e9ce2(0x2fe)]['currentTheme$'])[_0x5e9ce2(0x2d2)](_0x4de96b(([_0x232802,_0x4180d9])=>{const _0x140e0d=_0x5e9ce2,_0x334cc4=new Map();return _0x232802[_0x140e0d(0x241)]((_0x116880,_0x49d0c5)=>{const _0x17a489=_0x140e0d;if(_0x116880[_0x17a489(0x20a)]===_0x4b837a){const _0x26b53f={..._0x116880};_0x26b53f[_0x17a489(0x1c6)]=this['_themeService'][_0x17a489(0x2a4)](_0x116880['color']),_0x334cc4[_0x17a489(0x2e4)](_0x49d0c5,_0x26b53f);}}),{'skeleton':_0x4ebdd1,'cursors':_0x334cc4};}));}return _0x4f7dc8({'skeleton':null,'cursors':new Map()});}))[_0x2f1728(0x1dd)](({skeleton:_0x2f2cb7,cursors:_0x3961fb})=>{const _0x2f8893=_0x2f1728;this['_removeCollabCursors'](),_0x2f2cb7&&this[_0x2f8893(0x2e1)](_0x2f2cb7,_0x3961fb);}),this[_0x2f1728(0x3b8)][_0x2f1728(0x224)][_0x2f1728(0x1dd)](_0x3f9e39=>{const _0x4d0f40=_0x2f1728;if(_0x3f9e39==null)return;const {skeleton:_0x5566cd}=_0x3f9e39,{scene:_0x250e62}=this[_0x4d0f40(0x359)];_0x250e62[_0x4d0f40(0x2f6)][_0x4d0f40(0x2c0)](_0xa4189d(_0x2c0223=>{const _0xb7f7f5=_0x4d0f40;var _0x575589,_0x6c947d;const {offsetX:_0x414a4e,offsetY:_0x5c1d13}=_0x2c0223,{x:_0x61f64a,y:_0x2f126d}=_0x250e62[_0xb7f7f5(0x33d)](_0x212282['FromArray']([_0x414a4e,_0x5c1d13])),{scaleX:_0x2e3a8f,scaleY:_0x20c18a}=_0x250e62[_0xb7f7f5(0x38b)](),_0x12401a=_0x250e62[_0xb7f7f5(0x2f7)](_0x5bb23f['VIEW_MAIN']),_0x5812d6=_0x250e62[_0xb7f7f5(0x232)](_0x212282[_0xb7f7f5(0x25d)]([_0x61f64a,_0x2f126d]),_0x12401a),_0x219430=_0x5566cd['getCellPositionByOffset'](_0x414a4e,_0x5c1d13,_0x2e3a8f,_0x20c18a,_0x5812d6);((_0x575589=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x575589['column'])===_0x219430[_0xb7f7f5(0x276)]&&((_0x6c947d=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x6c947d[_0xb7f7f5(0x37c)])===_0x219430[_0xb7f7f5(0x37c)]||this['_cursors'][_0xb7f7f5(0x241)](_0x286d5c=>{_0x286d5c['onMouseMove'](_0x219430);});},0x64));});}['_updateCollabCursors'](_0x4d46dd,_0x1cee8a){const _0x2c0994=_0x2ca6f1;var _0x4e147b;const _0x21e6b5=(_0x4e147b=this['_sheetSkeletonManagerService'][_0x2c0994(0x210)]())==null?void 0x0:_0x4e147b[_0x2c0994(0x32d)];if(!_0x21e6b5)return;const _0x371454=this['_getSheetObject']();if(!_0x371454)return;this[_0x2c0994(0x33a)]['forEach'](_0x3ba0d3=>{const _0x372706=_0x2c0994;_0x3ba0d3[_0x372706(0x2e8)]();});const {scene:_0xaae1de}=_0x371454,_0x100bd5=xi(Array[_0x2c0994(0x2cf)](_0x1cee8a[_0x2c0994(0x2e9)]()))['map'](_0x4d11f4=>{const _0x5872fa=_0x2c0994,{color:_0x31758e,range:_0x2baf68,name:_0x3c26ba,selection:_0x552524,sheetID:_0x2d2125}=_0x4d11f4,{startColumn:_0x5a439b,startRow:_0x49ffe7,endColumn:_0x4f10eb,endRow:_0x969fd2}=_0x2baf68,_0x57df9b=_0xcceaf8(_0x49ffe7,_0x5a439b,_0xaae1de,_0x21e6b5),_0x5a675c=_0xcceaf8(_0x969fd2,_0x4f10eb,_0xaae1de,_0x21e6b5),{columnHeaderHeightAndMarginTop:_0x57f99c}=_0x21e6b5,{startX:_0x47054d,startY:_0x4c8255}=_0x57df9b,{endX:_0x5d3002,endY:_0x35c798}=_0x5a675c,_0xa98e13=_0x5d3002-_0x47054d,_0x1b9107=_0x35c798-_0x4c8255,_0xdf9b63={'labelPosition':_0x4c8255-_0x57f99c>=ee?'top':_0x5872fa(0x2fd),'sheetID':_0x2d2125,'range':_0x2baf68,'color':_0x31758e,'name':_0x3c26ba,'selection':_0x552524,'left':_0x47054d,'top':_0x4c8255,'width':_0xa98e13,'height':_0x1b9107,'evented':!0x1,'zIndex':$i};return new wi(_0x3c26ba,_0xdf9b63);});_0xaae1de[_0x2c0994(0x398)](_0x100bd5,Li),this['_cursors']=new Set(_0x100bd5);}[_0x2ca6f1(0x3b7)](){const _0x4349fd=_0x2ca6f1;var _0x584474;(_0x584474=this['_cursors'])==null||_0x584474[_0x4349fd(0x241)](_0x27f883=>_0x27f883[_0x4349fd(0x2de)]());}[_0x2ca6f1(0x34a)](){const _0xbac34c=_0x2ca6f1;return _0x4f7472(this[_0xbac34c(0x359)][_0xbac34c(0x24a)],this[_0xbac34c(0x359)]);}};Pe=yi([ve(0x1,_0x42b6f2(_0x548d8e)),ve(0x2,_0x42b6f2(H)),ve(0x3,_0x42b6f2(_0x89e8ff))],Pe);function xi(_0x284cff){const _0x475567=_0x2ca6f1,_0x35f6b5=new Map();return _0x284cff[_0x475567(0x241)](_0x1bdb76=>{const _0x304871=_0x475567;if(_0x35f6b5[_0x304871(0x365)](_0x1bdb76[_0x304871(0x1c2)])){const _0x5584fa=_0x35f6b5[_0x304871(0x2dc)](_0x1bdb76[_0x304871(0x1c2)]);_0x5584fa[_0x304871(0x2b3)]+=',\x20'+_0x1bdb76[_0x304871(0x2b3)];}else _0x35f6b5['set'](_0x1bdb76[_0x304871(0x1c2)],_0x1bdb76);}),Array[_0x475567(0x2cf)](_0x35f6b5[_0x475567(0x2e9)]());}var v=function(){const _0x2119b9=_0x2ca6f1;return v=Object[_0x2119b9(0x26e)]||function(_0x450165){const _0x43e68c=_0x2119b9;for(var _0x164ce9,_0xe04ed7=0x1,_0x30e93f=arguments['length'];_0xe04ed7<_0x30e93f;_0xe04ed7++){_0x164ce9=arguments[_0xe04ed7];for(var _0x12f01c in _0x164ce9)Object[_0x43e68c(0x373)][_0x43e68c(0x279)][_0x43e68c(0x37b)](_0x164ce9,_0x12f01c)&&(_0x450165[_0x12f01c]=_0x164ce9[_0x12f01c]);}return _0x450165;},v['apply'](this,arguments);},Bi=function(_0x1fde51,_0x30eaa3){const _0x5239aa=_0x2ca6f1;var _0x4c3b29={};for(var _0x1726b6 in _0x1fde51)Object['prototype'][_0x5239aa(0x279)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6)&&_0x30eaa3[_0x5239aa(0x288)](_0x1726b6)<0x0&&(_0x4c3b29[_0x1726b6]=_0x1fde51[_0x1726b6]);if(_0x1fde51!=null&&typeof Object[_0x5239aa(0x233)]==_0x5239aa(0x20d)){for(var _0x24b252=0x0,_0x1726b6=Object['getOwnPropertySymbols'](_0x1fde51);_0x24b252<_0x1726b6[_0x5239aa(0x24b)];_0x24b252++)_0x30eaa3[_0x5239aa(0x288)](_0x1726b6[_0x24b252])<0x0&&Object[_0x5239aa(0x373)][_0x5239aa(0x21b)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6[_0x24b252])&&(_0x4c3b29[_0x1726b6[_0x24b252]]=_0x1fde51[_0x1726b6[_0x24b252]]);}return _0x4c3b29;},Fe=_0x4f85b6(function(_0x5a41b0,_0x29ea8a){const _0x46009e=_0x2ca6f1;var _0x3ae604=_0x5a41b0['icon'],_0x307f91=_0x5a41b0['id'],_0x1e58fb=_0x5a41b0[_0x46009e(0x320)],_0x5526fe=_0x5a41b0[_0x46009e(0x31c)],_0x2fbeb0=Bi(_0x5a41b0,[_0x46009e(0x2b4),'id',_0x46009e(0x320),_0x46009e(0x31c)]),_0x52c636=_0x46009e(0x260)[_0x46009e(0x2d1)](_0x307f91,'\x20')[_0x46009e(0x2d1)](_0x1e58fb||'')[_0x46009e(0x326)](),_0x4f4bff=_0x5ec706('_'[_0x46009e(0x2d1)](Fi()));return Rt(_0x3ae604,''[_0x46009e(0x2d1)](_0x307f91),{'defIds':_0x3ae604[_0x46009e(0x294)],'idSuffix':_0x4f4bff[_0x46009e(0x354)]},v({'ref':_0x29ea8a,'className':_0x52c636},_0x2fbeb0),_0x5526fe);});function Rt(_0xca03b,_0xf69a0a,_0x424c26,_0x22695a,_0x4d578e){const _0x150f2f=_0x2ca6f1;return _0x1313c7(_0xca03b[_0x150f2f(0x2d4)],v(v({'key':_0xf69a0a},ki(_0xca03b,_0x424c26,_0x4d578e)),_0x22695a),(Hi(_0xca03b,_0x424c26)[_0x150f2f(0x1da)]||[])['map'](function(_0x34fe1b,_0x4a6c21){const _0x4a0204=_0x150f2f;return Rt(_0x34fe1b,''[_0x4a0204(0x2d1)](_0xf69a0a,'-')[_0x4a0204(0x2d1)](_0xca03b[_0x4a0204(0x2d4)],'-')[_0x4a0204(0x2d1)](_0x4a6c21),_0x424c26,void 0x0,_0x4d578e);}));}function ki(_0xb8dab2,_0x58fc68,_0x271eb0){const _0x3b211d=_0x2ca6f1;var _0x5f1d47=v({},_0xb8dab2[_0x3b211d(0x315)]);_0x271eb0!=null&&_0x271eb0['colorChannel1']&&_0x5f1d47[_0x3b211d(0x308)]==='colorChannel1'&&(_0x5f1d47[_0x3b211d(0x308)]=_0x271eb0['colorChannel1']),_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x21c)&&_0x5f1d47['id']&&(_0x5f1d47['id']=_0x5f1d47['id']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x3d8d97){const _0x5e9f50=_0x3b211d;var _0xc01435=_0x3d8d97[0x0],_0x22ce93=_0x3d8d97[0x1];_0xc01435==='mask'&&typeof _0x22ce93==_0x5e9f50(0x325)&&(_0x5f1d47[_0xc01435]=_0x22ce93['replace'](/url\(#(.*)\)/,'url(#$1'[_0x5e9f50(0x2d1)](_0x58fc68[_0x5e9f50(0x201)],')')));});var _0x51638a=_0x58fc68['defIds'];return!_0x51638a||_0x51638a[_0x3b211d(0x24b)]===0x0||(_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x28b)&&_0x5f1d47[_0x3b211d(0x284)]&&(_0x5f1d47['xlink:href']=_0x5f1d47['xlink:href']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x34b5ed){const _0x55c91d=_0x3b211d;var _0x21d529=_0x34b5ed[0x0],_0x3ca671=_0x34b5ed[0x1];typeof _0x3ca671==_0x55c91d(0x325)&&(_0x5f1d47[_0x21d529]=_0x3ca671['replace'](/url\(#(.*)\)/,'url(#$1'[_0x55c91d(0x2d1)](_0x58fc68[_0x55c91d(0x201)],')')));})),_0x5f1d47;}function Hi(_0x5603e6,_0x15e22f){const _0x231db0=_0x2ca6f1;var _0x379079,_0x11002e=_0x15e22f[_0x231db0(0x294)];return!_0x11002e||_0x11002e[_0x231db0(0x24b)]===0x0?_0x5603e6:_0x5603e6['tag']==='defs'&&(!((_0x379079=_0x5603e6[_0x231db0(0x1da)])===null||_0x379079===void 0x0)&&_0x379079[_0x231db0(0x24b)])?v(v({},_0x5603e6),{'children':_0x5603e6[_0x231db0(0x1da)]['map'](function(_0x1fb04a){const _0x3beb4f=_0x231db0;return typeof _0x1fb04a[_0x3beb4f(0x315)]['id']==_0x3beb4f(0x325)&&_0x11002e&&_0x11002e[_0x3beb4f(0x20c)](_0x1fb04a[_0x3beb4f(0x315)]['id'])?v(v({},_0x1fb04a),{'attrs':v(v({},_0x1fb04a['attrs']),{'id':_0x1fb04a[_0x3beb4f(0x315)]['id']+_0x15e22f['idSuffix']})}):_0x1fb04a;})}):_0x5603e6;}function Fi(){const _0x21c034=_0x2ca6f1;return Math['random']()[_0x21c034(0x2e6)](0x24)[_0x21c034(0x39e)](0x2,0x8);}Fe[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x336);var Yi={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'stroke':_0x2ca6f1(0x220),'d':_0x2ca6f1(0x1cb),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x252)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':_0x2ca6f1(0x306)}}]}]}],'defIds':[_0x2ca6f1(0x252)]},Dt=_0x4f85b6(function(_0x25961c,_0x1db4e4){const _0xa3e300=_0x2ca6f1;return _0x1313c7(Fe,Object[_0xa3e300(0x26e)]({},_0x25961c,{'id':_0xa3e300(0x3a9),'ref':_0x1db4e4,'icon':Yi}));});Dt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x1b8);var ji={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':_0x2ca6f1(0x387),'width':_0x2ca6f1(0x298),'height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ca6f1(0x1f4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ca6f1(0x1e8),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x214)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':'M0\x200H16V16H0z','transform':_0x2ca6f1(0x389)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x4f85b6(function(_0x55b5f2,_0x1abdd9){const _0x3e5427=_0x2ca6f1;return _0x1313c7(Fe,Object['assign']({},_0x55b5f2,{'id':_0x3e5427(0x2a0),'ref':_0x1abdd9,'icon':ji}));});Nt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x2f0);function Vi(_0x3267e5){const _0x35797b=_0x2ca6f1;switch(_0x3267e5){case _0xc0ee2f[_0x35797b(0x379)]:return'collabStatus.offline';case _0xc0ee2f[_0x35797b(0x3a1)]:return'collabStatus.conflict';case _0xc0ee2f[_0x35797b(0x339)]:return'collabStatus.fetchMiss';case _0xc0ee2f[_0x35797b(0x35a)]:return _0x35797b(0x1cc);case _0xc0ee2f[_0x35797b(0x2fa)]:case _0xc0ee2f[_0x35797b(0x390)]:return'collabStatus.syncing';case _0xc0ee2f[_0x35797b(0x39d)]:case _0xc0ee2f[_0x35797b(0x23d)]:return _0x35797b(0x237);}}function Wi(_0x194074){const _0x322ed3=_0x2ca6f1,{status$:_0x23c13e}=_0x194074,_0x56ce95=_0x54224f(_0x23c13e,_0xc0ee2f[_0x322ed3(0x35a)]),_0x359174=_0x434f76(_0x1588bd),_0x50e775=_0x434f76(_0x91b51d),_0x4b7c6f=_0x56ce95!==_0xc0ee2f[_0x322ed3(0x379)],_0x3ee10b=_0x359174['t'](Vi(_0x56ce95)),_0x2d49b1=_0x4b7c6f?_0x9ef133(Nt,{}):_0x9ef133(Dt,{}),_0x3e2ce5=_0x18aa8b(()=>{const _0x531b1d=_0x322ed3;_0x4b7c6f||_0x50e775[_0x531b1d(0x26c)]();},[_0x4b7c6f,_0x50e775]);function _0x1ddb05(){const _0x37c3a2=_0x322ed3;return _0x3dcd8f(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x258),'onClick':_0x3e2ce5,'children':[_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x22264a(_0x37c3a2(0x25f),{'univer-text-green-500':_0x4b7c6f,'univer-text-red-500':!_0x4b7c6f}),'children':_0x2d49b1}),_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x1d5),'children':_0x3ee10b})]});}return _0x4b7c6f?_0x1ddb05():_0x9ef133(_0x2401fa,{'title':_0x359174['t'](_0x322ed3(0x310)),'children':_0x1ddb05()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x3413f9,_0x5587b4,_0x4c2145,_0xff2a1c)=>{for(var _0xff1725=_0xff2a1c>0x1?void 0x0:_0xff2a1c?Xi(_0x5587b4,_0x4c2145):_0x5587b4,_0x2a571c=_0x3413f9['length']-0x1,_0x15bd3d;_0x2a571c>=0x0;_0x2a571c--)(_0x15bd3d=_0x3413f9[_0x2a571c])&&(_0xff1725=_0x15bd3d(_0xff1725)||_0xff1725);return _0xff1725;},Q=(_0x405809,_0x3e2da4)=>(_0x2f449d,_0x4453eb)=>_0x3e2da4(_0x2f449d,_0x4453eb,_0x405809);let te=class extends _0xcf188f{constructor(_0x2ca0f9,_0x2a4709,_0x318195,_0x9472cc){const _0x3e1df3=_0x2ca6f1;super(),_(this,_0x3e1df3(0x28c),new _0x29f35a(_0xc0ee2f['NOT_COLLAB'])),(this[_0x3e1df3(0x2ec)]=_0x2ca0f9,this[_0x3e1df3(0x268)]=_0x2a4709,this[_0x3e1df3(0x304)]=_0x318195,this[_0x3e1df3(0x39f)]=_0x9472cc,this[_0x3e1df3(0x200)](),this[_0x3e1df3(0x2a6)]());}[_0x2ca6f1(0x2a6)](){const _0x362923=_0x2ca6f1;this[_0x362923(0x39a)](this[_0x362923(0x2ec)][_0x362923(0x378)][_0x362923(0x2d2)](_0x521edf(()=>{const _0x2102a8=_0x362923,_0x6c1ae9=this[_0x2102a8(0x2ec)]['getFocusedUnit']();return _0x6c1ae9?this[_0x2102a8(0x304)][_0x2102a8(0x3a4)](_0x6c1ae9[_0x2102a8(0x242)]()):_0x4f7dc8(null);}),_0x521edf(_0x542a38=>_0x542a38?_0x542a38[_0x362923(0x36c)]:_0x4f7dc8(_0xc0ee2f[_0x362923(0x35a)])))[_0x362923(0x1dd)](_0x4c5562=>{const _0x933a55=_0x362923;this[_0x933a55(0x28c)][_0x933a55(0x23b)](_0x4c5562);}));}[_0x2ca6f1(0x200)](){const _0x3f5960=_0x2ca6f1;this['disposeWithMe'](this[_0x3f5960(0x39f)][_0x3f5960(0x257)](_0x59d443['HEADER_MENU'],()=>_0x260ab9(Ki({'status$':this[_0x3f5960(0x28c)][_0x3f5960(0x317)]()}),this[_0x3f5960(0x268)])));}};te=Gi([Q(0x0,_0x121b61),Q(0x1,_0x42b6f2(_0x2c3916)),Q(0x2,_0x42b6f2(_0x31f314)),Q(0x3,_0x5bb544)],te);function Ki(_0x5ad5ba){const {status$:_0x4ffeac}=_0x5ad5ba;return function(){return _0x9ef133(Wi,{'status$':_0x4ffeac});};}var zi=Object[_0x2ca6f1(0x28e)],Ji=(_0x598881,_0x3093ed,_0x59c182,_0x2ace3f)=>{const _0x23353f=_0x2ca6f1;for(var _0x394f3c=_0x2ace3f>0x1?void 0x0:_0x2ace3f?zi(_0x3093ed,_0x59c182):_0x3093ed,_0x4a5699=_0x598881[_0x23353f(0x24b)]-0x1,_0x13cb36;_0x4a5699>=0x0;_0x4a5699--)(_0x13cb36=_0x598881[_0x4a5699])&&(_0x394f3c=_0x13cb36(_0x394f3c)||_0x394f3c);return _0x394f3c;},B=(_0x5438a9,_0x38d1a0)=>(_0x3ee901,_0xb2a903)=>_0x38d1a0(_0x3ee901,_0xb2a903,_0x5438a9);let se=class extends _0xcf188f{constructor(_0x53232f,_0xb78e90,_0x40f429,_0x2b13cd,_0x36acb6,_0xfb45e2){const _0xf3c46e=_0x2ca6f1;super(),this[_0xf3c46e(0x38a)]=_0x53232f,this[_0xf3c46e(0x2f2)]=_0xb78e90,this[_0xf3c46e(0x20b)]=_0x40f429,this[_0xf3c46e(0x31a)]=_0x2b13cd,this[_0xf3c46e(0x1d9)]=_0x36acb6,this[_0xf3c46e(0x344)]=_0xfb45e2,this[_0xf3c46e(0x3a6)](),this[_0xf3c46e(0x31d)]();}[_0x2ca6f1(0x3a6)](){const _0x295eae=_0x2ca6f1;this['disposeWithMe'](this[_0x295eae(0x38a)][_0x295eae(0x1c4)](()=>{const _0x508b3c=_0x295eae;if(this[_0x508b3c(0x2f2)][_0x508b3c(0x2a8)][_0x508b3c(0x2da)])return this[_0x508b3c(0x344)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2ca6f1(0x31d)](){const _0x5aa276=_0x2ca6f1;this[_0x5aa276(0x39a)](this['_collaborationUIEventService'][_0x5aa276(0x1bd)][_0x5aa276(0x1dd)](_0x40e39e=>{const _0x5ee00c=_0x5aa276;_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x34b)]&&this['_messageService']['show']({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x314))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x362)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x2db)]&&this['_notificationService'][_0x5ee00c(0x347)]({'title':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fd)),'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fa)),'type':_0x5ee00c(0x318),'duration':0x0}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x3a1)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))+'('+_0x40e39e['data']+')'}),_0x40e39e['id']===_0xc23e90['JOIN_ROOM_FAILED']&&this['_messageService'][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this['_localeService']['t'](_0x40e39e['data']||'')}),_0x40e39e['id']===_0xc23e90['SOCKET_FAILED_RETRY']&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1f3))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x283)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1b5))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x337)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this['_localeService']['t'](_0x5ee00c(0x395))});}));}};se=Ji([B(0x0,_0x22f69a),B(0x1,_0x181985),B(0x2,_0x42b6f2(_0x3590f2)),B(0x3,_0x19c49d),B(0x4,_0x4ff4b4),B(0x5,_0x42b6f2(_0x1588bd))],se);const Zi=_0x2ca6f1(0x393),et={},Ut=_0x22ca85(_0x2ca6f1(0x31f));var Qi=Object[_0x2ca6f1(0x28e)],qi=(_0x223079,_0x56343a,_0x39075d,_0x1fd235)=>{for(var _0x2d2a86=_0x1fd235>0x1?void 0x0:_0x1fd235?Qi(_0x56343a,_0x39075d):_0x56343a,_0x36cd19=_0x223079['length']-0x1,_0x2c5c44;_0x36cd19>=0x0;_0x36cd19--)(_0x2c5c44=_0x223079[_0x36cd19])&&(_0x2d2a86=_0x2c5c44(_0x2d2a86)||_0x2d2a86);return _0x2d2a86;},G=(_0x57f8e1,_0x5d75ae)=>(_0x394c34,_0x5698b0)=>_0x5d75ae(_0x394c34,_0x5698b0,_0x57f8e1);let ie=class extends _0x43ae8a{constructor(_0x5be72c,_0x32f45d,_0x4a4c0d,_0x4e5ef6,_0x5a77fa){const _0x45a9ef=_0x2ca6f1;super(),this[_0x45a9ef(0x1c1)]=_0x5be72c,this['_logService']=_0x32f45d,this[_0x45a9ef(0x356)]=_0x4a4c0d,this['_dataLoaderService']=_0x4e5ef6,_0x5a77fa?_0x5a77fa==null||_0x5a77fa[_0x45a9ef(0x2ed)]()[_0x45a9ef(0x219)](()=>this['_init']()):(this['_logService'][_0x45a9ef(0x250)](_0x45a9ef(0x21f),_0x45a9ef(0x2c1)),this[_0x45a9ef(0x1f8)]());}async[_0x2ca6f1(0x1f8)](){const _0x2866d1=_0x2ca6f1,_0x2a37b9=this[_0x2866d1(0x1c1)][_0x2866d1(0x1ed)](_0x2866d1(0x24a)),_0x1aebc5=this['_urlService'][_0x2866d1(0x1ed)](_0x2866d1(0x364)),_0x352edd=this[_0x2866d1(0x1c1)]['getParam'](_0x2866d1(0x348));if(!_0x2a37b9||!_0x1aebc5){this[_0x2866d1(0x228)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3e1f4f=await this[_0x2866d1(0x2aa)]['loadUnit'](_0x2a37b9,Number(_0x1aebc5),_0x352edd);_0x3e1f4f&&_0x3e1f4f instanceof _0x8cf4e6&&this[_0x2866d1(0x254)](_0x3e1f4f);}async['_setupSubUnitSync'](_0x5e380){const _0x349060=_0x2ca6f1;await this[_0x349060(0x1ce)](_0x5e380),_0x5e380[_0x349060(0x3b4)][_0x349060(0x2d2)](_0x100102(this[_0x349060(0x2b5)]))[_0x349060(0x1dd)](_0x1d9c9a=>{const _0x22aec7=_0x349060;_0x1d9c9a&&this[_0x22aec7(0x25a)](_0x1d9c9a);}),this['_urlService'][_0x349060(0x263)][_0x349060(0x2d2)](_0x100102(this['dispose$']))['subscribe'](()=>this[_0x349060(0x1ce)](_0x5e380));}['_updateURLWithCurrentState'](_0x293e26,_0xe58037=!0x1){const _0x99b532=_0x2ca6f1,_0x5be5af=this[_0x99b532(0x1c1)][_0x99b532(0x1ed)](_0x99b532(0x348));_0x293e26[_0x99b532(0x223)]()!==_0x5be5af&&this[_0x99b532(0x1c1)][_0x99b532(0x2f3)](_0x99b532(0x348),_0x293e26[_0x99b532(0x223)](),_0xe58037);}async[_0x2ca6f1(0x1ce)](_0x590368){const _0x28b86f=_0x2ca6f1;var _0x4be2f0;const _0x14c4e7=this[_0x28b86f(0x1c1)][_0x28b86f(0x1ed)](_0x28b86f(0x348));if(!_0x14c4e7||!_0x590368[_0x28b86f(0x38c)](_0x14c4e7)){const _0x2f7166=_0x590368['getUnhiddenWorksheets']()[0x0],_0x36101d=_0x590368[_0x28b86f(0x38c)](_0x2f7166);if(!_0x36101d)return;this[_0x28b86f(0x25a)](_0x36101d,!0x0),await this[_0x28b86f(0x356)][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368['getUnitId'](),'subUnitId':_0x2f7166});return;}((_0x4be2f0=_0x590368['getActiveSheet']())==null?void 0x0:_0x4be2f0[_0x28b86f(0x223)]())!==_0x14c4e7&&await this['_commandService'][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368[_0x28b86f(0x242)](),'subUnitId':_0x14c4e7});}};ie=qi([G(0x0,Ut),G(0x1,_0x20e80d),G(0x2,_0x208f1c),G(0x3,_0x42b6f2(_0x16c3d1)),G(0x4,_0x81ab6b(_0x2603da))],ie);var en=Object[_0x2ca6f1(0x28e)],tn=(_0x122ae7,_0x532a76,_0x522598,_0x6b48a4)=>{const _0x39e21b=_0x2ca6f1;for(var _0x15c093=_0x6b48a4>0x1?void 0x0:_0x6b48a4?en(_0x532a76,_0x522598):_0x532a76,_0x11c94a=_0x122ae7[_0x39e21b(0x24b)]-0x1,_0x3b3ea5;_0x11c94a>=0x0;_0x11c94a--)(_0x3b3ea5=_0x122ae7[_0x11c94a])&&(_0x15c093=_0x3b3ea5(_0x15c093)||_0x15c093);return _0x15c093;},pe=(_0x56936e,_0x4a81a9)=>(_0x4de640,_0x42042a)=>_0x4a81a9(_0x4de640,_0x42042a,_0x56936e);let ne=class{constructor(_0x834d84,_0x499680,_0x2c3865){const _0x4c26b5=_0x2ca6f1;this[_0x4c26b5(0x268)]=_0x834d84,this['_transformService']=_0x499680,this[_0x4c26b5(0x243)]=_0x2c3865;}[_0x2ca6f1(0x2d5)](_0x4c5c9f){this['_transformUndoRedoStack'](_0x4c5c9f),this['_transformPreviousActiveRange'](_0x4c5c9f);}[_0x2ca6f1(0x1c5)](_0x43f7c7){const _0x25d0d3=_0x2ca6f1,{unitID:_0x4dec75}=_0x43f7c7,_0x3c4c69=this[_0x25d0d3(0x243)][_0x25d0d3(0x247)](_0x4dec75)[_0x25d0d3(0x1e7)](_0x585241),{redoCache:_0xf412a4}=_0x3c4c69[_0x25d0d3(0x2e7)]();if(_0xf412a4[_0x25d0d3(0x24b)]===0x0)return _0x43f7c7;let _0x411ff2=_0x2d6480[_0x25d0d3(0x2a9)](_0x43f7c7[_0x25d0d3(0x369)][0x0]);for(let _0x479f36=0x0;_0x479f36<_0xf412a4['length'];_0x479f36++){const _0x280ea9={'id':_0x25d0d3(0x235),'params':{..._0xf412a4[_0x479f36]}},_0xf0cb3c=this[_0x25d0d3(0x2ef)]['transformMutation'](_0x411ff2,_0x280ea9,!0x1);if(_0x5f09cd(_0xf0cb3c))throw _0xf0cb3c['error'];_0x411ff2=_0xf0cb3c[_0x25d0d3(0x1d0)];}return{..._0x2d6480['deepClone'](_0x43f7c7),'mutations':[_0x411ff2]};}[_0x2ca6f1(0x1b6)](_0x3c3fab){const _0x482241=_0x2ca6f1,{unitID:_0x5c1133}=_0x3c3fab,_0x1732dd=this[_0x482241(0x243)][_0x482241(0x247)](_0x5c1133)[_0x482241(0x1e7)](_0x585241),{undoCache:_0xc90ec2,redoCache:_0x4b5d12}=_0x1732dd[_0x482241(0x2e7)]();if(_0xc90ec2[_0x482241(0x24b)]===0x0||_0x4b5d12[_0x482241(0x24b)]===0x0)return;const _0x353302=[],_0x11f2c5=[];let _0x346ab8=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab[_0x482241(0x369)][0x0]),_0x24746f=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab['mutations'][0x0]);for(let _0x2deeff=_0xc90ec2[_0x482241(0x24b)]-0x1;_0x2deeff>=0x0;_0x2deeff--){const _0x440e21={'id':_0x482241(0x235),'params':{..._0xc90ec2[_0x2deeff]}},_0x1b753c={'id':_0x482241(0x235),'params':{..._0x4b5d12[_0x2deeff]}},_0x17b292=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x346ab8,_0x440e21,!0x1),_0xc6b87f=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x24746f,_0x1b753c,!0x1);if(_0x5f09cd(_0x17b292))throw _0x17b292['error'];if(_0x5f09cd(_0xc6b87f))throw _0xc6b87f[_0x482241(0x318)];_0x353302[_0x482241(0x207)](_0x17b292[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x11f2c5[_0x482241(0x207)](_0xc6b87f[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x346ab8=_0x17b292[_0x482241(0x1d0)],_0x24746f=_0xc6b87f['m1Prime'];}_0x1732dd['setUndoRedoMutationParamsCache']({'undoCache':_0x353302,'redoCache':_0x11f2c5});}['_transformPreviousActiveRange'](_0x116006){const _0x3cd047=_0x2ca6f1,{unitID:_0x1bfaf5}=_0x116006,_0x17cda2=this[_0x3cd047(0x243)]['getRenderById'](_0x1bfaf5)[_0x3cd047(0x1e7)](_0x585241),_0x3c1107=_0x17cda2[_0x3cd047(0x305)]();if(_0x3c1107==null)return;const _0x5ca1b8=[{'id':_0x3cd047(0x235),'params':{'unitId':_0x116006[_0x3cd047(0x29a)],'actions':null,'textRanges':[_0x3c1107]}}],_0xa5c4e5=this[_0x3cd047(0x2ef)]['transformMutationsWithChangeset'](_0x116006,_0x5ca1b8);if(!_0x21ed70(_0xa5c4e5))throw _0xa5c4e5[_0x3cd047(0x318)];const _0x35b143=_0xa5c4e5[_0x3cd047(0x3ab)][0x0][_0x3cd047(0x1eb)][_0x3cd047(0x322)];Array[_0x3cd047(0x2a5)](_0x35b143)&&_0x35b143['length']&&_0x17cda2[_0x3cd047(0x2d3)](_0x35b143[0x0]);}};ne=tn([pe(0x0,_0x42b6f2(_0x2c3916)),pe(0x1,_0x18b730),pe(0x2,_0x19b0b6)],ne);var sn=Object[_0x2ca6f1(0x28e)],nn=(_0x366ac9,_0x2b1410,_0x6a3ac1,_0x2f863f)=>{for(var _0x18a817=_0x2f863f>0x1?void 0x0:_0x2f863f?sn(_0x2b1410,_0x6a3ac1):_0x2b1410,_0x437158=_0x366ac9['length']-0x1,_0x49da1d;_0x437158>=0x0;_0x437158--)(_0x49da1d=_0x366ac9[_0x437158])&&(_0x18a817=_0x49da1d(_0x18a817)||_0x18a817);return _0x18a817;},Ce=(_0x1d1096,_0x4000bb)=>(_0x38178e,_0x56260f)=>_0x4000bb(_0x38178e,_0x56260f,_0x1d1096);let re=class{constructor(_0x5d7ef9,_0x3ad6c2,_0x4a6c19){const _0x5205b0=_0x2ca6f1;this[_0x5205b0(0x268)]=_0x5d7ef9,this[_0x5205b0(0x2ef)]=_0x3ad6c2,this['_docStateChangeManagerService']=_0x4a6c19;}[_0x2ca6f1(0x367)](_0x38ab13){const _0x2066cf=_0x2ca6f1;this[_0x2066cf(0x35b)](_0x38ab13);}[_0x2ca6f1(0x1c5)](_0x52e6b4){const _0x12fe20=_0x2ca6f1,{unitID:_0x517423}=_0x52e6b4,{collaboration:_0x5dda39}=this[_0x12fe20(0x1de)]['getStateCache'](_0x517423);if(_0x5dda39['length']===0x0)return _0x52e6b4;let _0x27c833=_0x2d6480['deepClone'](_0x52e6b4['mutations'][0x0]);for(let _0x51c4a1=0x0;_0x51c4a1<_0x5dda39[_0x12fe20(0x24b)];_0x51c4a1++){const _0x296229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5dda39[_0x51c4a1][_0x12fe20(0x2bb)],..._0x5dda39[_0x51c4a1][_0x12fe20(0x249)]}},_0x1192b6=this[_0x12fe20(0x2ef)][_0x12fe20(0x290)](_0x27c833,_0x296229,!0x1);if(_0x5f09cd(_0x1192b6))throw _0x1192b6[_0x12fe20(0x318)];_0x27c833=_0x1192b6[_0x12fe20(0x1d0)];}return{..._0x2d6480['deepClone'](_0x52e6b4),'mutations':[_0x27c833]};}[_0x2ca6f1(0x35b)](_0x7b48d6){const _0xe9c916=_0x2ca6f1,{unitID:_0x50ca2e}=_0x7b48d6,{history:_0x2e4657,collaboration:_0x1e862a}=this[_0xe9c916(0x1de)][_0xe9c916(0x2cc)](_0x50ca2e);if(_0x2e4657[_0xe9c916(0x24b)]===0x0&&_0x1e862a['length']===0x0)return;const _0x3e8ba3=[],_0x8cbc22=[];let _0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6['mutations'][0x0]);for(let _0x21a1c7=_0x2e4657[_0xe9c916(0x24b)]-0x1;_0x21a1c7>=0x0;_0x21a1c7--){const _0x42aff4={'id':_0xe9c916(0x235),'params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7][_0xe9c916(0x32c)]}},_0x3d382a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7]['redoState']}},_0x5062e2=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x42aff4,!0x1),_0xe312dd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x3594c6,_0x3d382a,!0x1);if(_0x5f09cd(_0x5062e2))throw _0x5062e2[_0xe9c916(0x318)];if(_0x5f09cd(_0xe312dd))throw _0xe312dd[_0xe9c916(0x318)];_0x3e8ba3['unshift']({..._0x2e4657[_0x21a1c7],'undoState':_0x5062e2['m2Prime']['params'],'redoState':_0xe312dd[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5062e2['m1Prime'],_0x3594c6=_0xe312dd[_0xe9c916(0x1d0)];}_0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]);for(let _0x37be39=_0x1e862a[_0xe9c916(0x24b)]-0x1;_0x37be39>=0x0;_0x37be39--){const _0x5f049a={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39]['unitId'],..._0x1e862a[_0x37be39][_0xe9c916(0x32c)]}},_0x13c5e6={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39][_0xe9c916(0x2bb)],..._0x1e862a[_0x37be39][_0xe9c916(0x249)]}},_0x5390fd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x5f049a,!0x1),_0x3e27ef=this[_0xe9c916(0x2ef)]['transformMutation'](_0x3594c6,_0x13c5e6,!0x1);if(_0x5f09cd(_0x5390fd))throw _0x5390fd['error'];if(_0x5f09cd(_0x3e27ef))throw _0x3e27ef[_0xe9c916(0x318)];_0x8cbc22[_0xe9c916(0x207)]({..._0x1e862a[_0x37be39],'undoState':_0x5390fd['m2Prime'][_0xe9c916(0x1eb)],'redoState':_0x3e27ef[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5390fd['m1Prime'],_0x3594c6=_0x3e27ef['m1Prime'];}this[_0xe9c916(0x1de)][_0xe9c916(0x261)](_0x50ca2e,{'history':_0x3e8ba3,'collaboration':_0x8cbc22});}};re=nn([Ce(0x0,_0x42b6f2(_0x2c3916)),Ce(0x1,_0x18b730),Ce(0x2,_0x42b6f2(_0x228b24))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x34c274,_0x44583a,_0x1967e1,_0x30abd7)=>{const _0x5a8fbb=_0x2ca6f1;for(var _0x404a58=_0x30abd7>0x1?void 0x0:_0x30abd7?rn(_0x44583a,_0x1967e1):_0x44583a,_0x213377=_0x34c274[_0x5a8fbb(0x24b)]-0x1,_0x1ab12a;_0x213377>=0x0;_0x213377--)(_0x1ab12a=_0x34c274[_0x213377])&&(_0x404a58=_0x1ab12a(_0x404a58)||_0x404a58);return _0x404a58;},tt=(_0x50ce0e,_0x409e9c)=>(_0x169384,_0x1bbfac)=>_0x409e9c(_0x169384,_0x1bbfac,_0x50ce0e);let oe=class{constructor(_0x5cf4a8,_0x3117e3){const _0x2ae9ab=_0x2ca6f1;this[_0x2ae9ab(0x268)]=_0x5cf4a8,this[_0x2ae9ab(0x2ef)]=_0x3117e3;}[_0x2ca6f1(0x20f)](_0x1f182c){const _0x2af981=_0x2ca6f1;var _0x459bdd;const _0x101b20=this[_0x2af981(0x268)][_0x2af981(0x2dc)](_0x182f79),_0x11872a=(_0x459bdd=_0x101b20[_0x2af981(0x244)]())!=null?_0x459bdd:[];if(_0x11872a[_0x2af981(0x24b)]===0x0)return;const _0x4f1a90=_0x1f182c['unitID'],_0x189cbe=[{'id':_0x2af981(0x235),'params':{'unitId':_0x4f1a90,'actions':null,'textRanges':_0x11872a}}],_0x531c5f=this['_transformService'][_0x2af981(0x2ab)](_0x1f182c,_0x189cbe);if(!_0x21ed70(_0x531c5f))throw _0x531c5f[_0x2af981(0x318)];const _0x13a296=_0x531c5f[_0x2af981(0x3ab)][0x0][_0x2af981(0x1eb)][_0x2af981(0x322)];Array['isArray'](_0x13a296)&&_0x13a296['length']&&_0x101b20[_0x2af981(0x217)](_0x13a296,{'unitId':_0x4f1a90,'subUnitId':_0x4f1a90},!0x1);}};oe=on([tt(0x0,_0x42b6f2(_0x2c3916)),tt(0x1,_0x18b730)],oe);var an=Object[_0x2ca6f1(0x28e)],cn=(_0xbfe1de,_0x1b439b,_0x38cc4e,_0x122ba3)=>{const _0x39d0be=_0x2ca6f1;for(var _0x2cc0f5=_0x122ba3>0x1?void 0x0:_0x122ba3?an(_0x1b439b,_0x38cc4e):_0x1b439b,_0x25c57e=_0xbfe1de[_0x39d0be(0x24b)]-0x1,_0x5e9043;_0x25c57e>=0x0;_0x25c57e--)(_0x5e9043=_0xbfe1de[_0x25c57e])&&(_0x2cc0f5=_0x5e9043(_0x2cc0f5)||_0x2cc0f5);return _0x2cc0f5;},U=(_0x19e683,_0x55ebde)=>(_0x471730,_0x3fc14e)=>_0x55ebde(_0x471730,_0x3fc14e,_0x19e683);let ae=class extends _0xcf188f{constructor(_0x2ba723,_0x485885,_0x1f44c9,_0x511b7a,_0x1233ef,_0x53d4f1,_0x207f37,_0x76e4d0){const _0x212085=_0x2ca6f1;super(),_(this,_0x212085(0x28c),new _0x29f35a(_0xc0ee2f[_0x212085(0x35a)])),(this[_0x212085(0x1de)]=_0x2ba723,this[_0x212085(0x304)]=_0x485885,this['_docTransformIMECacheService']=_0x1f44c9,this[_0x212085(0x234)]=_0x511b7a,this[_0x212085(0x3a7)]=_0x1233ef,this[_0x212085(0x1ee)]=_0x53d4f1,this['_messageService']=_0x207f37,this[_0x212085(0x344)]=_0x76e4d0,this[_0x212085(0x36a)]());}[_0x2ca6f1(0x36a)](){const _0x41995d=_0x2ca6f1;this[_0x41995d(0x39a)](this[_0x41995d(0x304)][_0x41995d(0x282)][_0x41995d(0x1dd)](_0x3b0105=>{const _0x47b392=_0x41995d,_0x28fd8=this[_0x47b392(0x1de)][_0x47b392(0x399)][_0x47b392(0x1dd)](_0x18711d=>{const _0x222c1e=_0x47b392;if(_0x18711d==null)return;const {unitId:_0x3330c6,redoState:_0x2a568e,commandId:_0x2346ec}=_0x18711d;if(_0x3330c6!==_0x3b0105[_0x222c1e(0x29a)])return;const _0x11bc07={'id':_0x2346ec,'type':_0x20b7ac[_0x222c1e(0x2d7)],'params':{'unitId':_0x3330c6,'actions':_0x2a568e[_0x222c1e(0x2f9)],'textRanges':null}};_0x3b0105['onLocalMutation'](_0x11bc07);});if(_0x3b0105['disposeWithMe'](_0x28fd8),_0x3b0105 instanceof _0x4911bb){const _0x1084a1={'onTransformIME':_0x386067=>this['_docTransformIMECacheService']['transformIMECache'](_0x386067),'onTransformState':_0x576f5f=>this[_0x47b392(0x234)][_0x47b392(0x367)](_0x576f5f),'onTransformSelections':_0x56e2bd=>this[_0x47b392(0x3a7)][_0x47b392(0x20f)](_0x56e2bd),'onSyncEditingCollabCursor':_0x3d53f3=>this['_docSyncEditingCollabCursorService'][_0x47b392(0x1f5)](_0x3d53f3),'onTransformRemoteChangesetByIMECache':_0x1fab23=>this[_0x47b392(0x27b)][_0x47b392(0x1c5)](_0x1fab23),'onTransformRemoteChangesetByStateCache':_0x3b744a=>this[_0x47b392(0x234)]['transformRemoteChangeset'](_0x3b744a)};_0x3b0105['addHandlerCallback'](_0x1084a1);}}));}};ae=cn([U(0x0,_0x42b6f2(_0x228b24)),U(0x1,_0x42b6f2(_0x31f314)),U(0x2,_0x42b6f2(ne)),U(0x3,_0x42b6f2(re)),U(0x4,_0x42b6f2(oe)),U(0x5,_0x42b6f2(He)),U(0x6,_0x19c49d),U(0x7,_0x42b6f2(_0x1588bd))],ae);var ln=Object[_0x2ca6f1(0x28e)],_n=(_0x4e4552,_0x2f230c,_0x2e4ba5,_0x416abb)=>{for(var _0x6446f9=_0x416abb>0x1?void 0x0:_0x416abb?ln(_0x2f230c,_0x2e4ba5):_0x2f230c,_0xe9f917=_0x4e4552['length']-0x1,_0x524620;_0xe9f917>=0x0;_0xe9f917--)(_0x524620=_0x4e4552[_0xe9f917])&&(_0x6446f9=_0x524620(_0x6446f9)||_0x6446f9);return _0x6446f9;},Ee=(_0x7a0aa5,_0x3a736d)=>(_0x13514c,_0xfa2c01)=>_0x3a736d(_0x13514c,_0xfa2c01,_0x7a0aa5);let we=class extends _0xcf188f{constructor(_0xc23ca9,_0x31b6dc,_0x1c5f22){const _0x3725d6=_0x2ca6f1;super(),_(this,_0x3725d6(0x202),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3725d6(0x3b2),!0x1),(this[_0x3725d6(0x2a3)]=_0xc23ca9,this['_localStorageService']=_0x31b6dc,this[_0x3725d6(0x377)]=_0x1c5f22);}[_0x2ca6f1(0x2bf)](){this['_disabled']=!0x0;}[_0x2ca6f1(0x2f4)](){const _0x2a7179=_0x2ca6f1;this[_0x2a7179(0x3b2)]=!0x1;}get[_0x2ca6f1(0x2a8)](){const _0x368b76=_0x2ca6f1;return this[_0x368b76(0x1e4)];}['dispose'](){const _0x1e8b9e=_0x2ca6f1;this['exhaustSavingTask']()[_0x1e8b9e(0x219)](()=>super[_0x1e8b9e(0x2de)]());}async[_0x2ca6f1(0x343)](_0x132e54){const _0x52c48e=_0x2ca6f1;return this[_0x52c48e(0x3b2)]?null:this[_0x52c48e(0x239)][_0x52c48e(0x2b1)](_0x1e1c39(_0x132e54));}async[_0x2ca6f1(0x2c8)](_0x3af530,_0x31ae22){const _0xa5136d=_0x2ca6f1;return!!this[_0xa5136d(0x239)][_0xa5136d(0x2e2)](_0x3af530,_0x31ae22);}[_0x2ca6f1(0x28f)](_0x999751,_0x2fd70d,_0xb9e6cd,_0x24b4f1){const _0x227d09=_0x2ca6f1,_0x2850a5=this[_0x227d09(0x377)][_0x227d09(0x285)](_0x999751);this[_0x227d09(0x202)][_0x227d09(0x2e4)](_0x999751,{'unitID':_0x999751,'type':_0x2fd70d,'awaitingChangeset':_0xb9e6cd,'mutations':_0x24b4f1,'rev':_0x2850a5}),this[_0x227d09(0x1e4)]['has'](_0x999751)||this[_0x227d09(0x3ad)](_0x999751);}[_0x2ca6f1(0x3ad)](_0x1f14d9){const _0x100c2b=_0x2ca6f1,_0x12c24d=this['_getSaveTimeout']();_0x12c24d===0x0?this[_0x100c2b(0x37f)](_0x1f14d9):this[_0x100c2b(0x1e4)][_0x100c2b(0x2e4)](_0x1f14d9,setTimeout(()=>this[_0x100c2b(0x37f)](_0x1f14d9),_0x12c24d));}[_0x2ca6f1(0x1b1)](){const _0x45314b=_0x2ca6f1;var _0x387f70;return(_0x387f70=this[_0x45314b(0x2a3)][_0x45314b(0x36d)](_0x1d3eb5))!=null?_0x387f70:_0x41edb0;}[_0x2ca6f1(0x37f)](_0x5e5f89){const _0x19ca75=_0x2ca6f1,_0x271fb9=this[_0x19ca75(0x1e4)][_0x19ca75(0x2dc)](_0x5e5f89);return _0x271fb9!==void 0x0&&window[_0x19ca75(0x29b)](_0x271fb9),this[_0x19ca75(0x239)][_0x19ca75(0x2e2)](_0x1e1c39(_0x5e5f89),this[_0x19ca75(0x202)]['get'](_0x5e5f89))['then'](()=>this[_0x19ca75(0x1e4)][_0x19ca75(0x28a)](_0x5e5f89));}async['exhaustSavingTask'](){const _0x169fc4=_0x2ca6f1,_0x2b37b7=[];this[_0x169fc4(0x1e4)]['forEach']((_0x17291f,_0x29b80c)=>{const _0x4a00e3=_0x169fc4;window['clearTimeout'](_0x17291f),_0x2b37b7[_0x4a00e3(0x36f)](this['_saveCache'](_0x29b80c)[_0x4a00e3(0x219)](()=>{const _0xcf03fd=_0x4a00e3;this['_saveTaskMap'][_0xcf03fd(0x28a)](_0x29b80c);}));}),await Promise[_0x169fc4(0x1cf)](_0x2b37b7);}};we=_n([Ee(0x0,_0x380f00),Ee(0x1,_0x30cbfd),Ee(0x2,_0x42b6f2(_0x4e84a2))],we);class hn extends _0x43ae8a{constructor(){const _0x2feb34=_0x2ca6f1;super(),_(this,'urlChange$'),this[_0x2feb34(0x263)]=_0x3d349e(window,_0x2feb34(0x25e))[_0x2feb34(0x2d2)](_0x100102(this[_0x2feb34(0x2b5)]),_0x4787b2(0x1),_0x4f1fae(void 0x0));}['setParam'](_0x45dd03,_0x5ddfbe,_0x308f65=!0x1){const _0x5e8b18=_0x2ca6f1,_0x5e3824=new URL(window[_0x5e8b18(0x296)][_0x5e8b18(0x313)]);_0x5e3824[_0x5e8b18(0x39b)][_0x5e8b18(0x2e4)](_0x45dd03,_0x5ddfbe),_0x308f65?window[_0x5e8b18(0x230)]['replaceState']('','',_0x5e3824['toString']()):window[_0x5e8b18(0x230)][_0x5e8b18(0x35d)]('','',_0x5e3824[_0x5e8b18(0x2e6)]());}[_0x2ca6f1(0x295)](_0x287654,_0x499b37=!0x1){const _0x435a06=_0x2ca6f1,_0x2d6766=new URL(window[_0x435a06(0x296)]['href']);_0x2d6766[_0x435a06(0x39b)][_0x435a06(0x28a)](_0x287654),_0x499b37?window[_0x435a06(0x230)]['replaceState']('','',_0x2d6766[_0x435a06(0x2e6)]()):window[_0x435a06(0x230)][_0x435a06(0x35d)]('','',_0x2d6766[_0x435a06(0x2e6)]());}[_0x2ca6f1(0x1ed)](_0x38f867){const _0x4834a3=_0x2ca6f1;var _0x4ec50e;return(_0x4ec50e=new URL(window[_0x4834a3(0x296)][_0x4834a3(0x313)])[_0x4834a3(0x39b)]['get'](_0x38f867))!=null?_0x4ec50e:void 0x0;}}var un=Object[_0x2ca6f1(0x1f7)],dn=Object[_0x2ca6f1(0x28e)],fn=(_0xfd4cb5,_0x36c2b5,_0x3e4716)=>_0x36c2b5 in _0xfd4cb5?un(_0xfd4cb5,_0x36c2b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e4716}):_0xfd4cb5[_0x36c2b5]=_0x3e4716,Sn=(_0x13d998,_0x49b90d,_0x2ee9cb,_0x42f36d)=>{const _0x1128ed=_0x2ca6f1;for(var _0x8f9688=_0x42f36d>0x1?void 0x0:_0x42f36d?dn(_0x49b90d,_0x2ee9cb):_0x49b90d,_0x297d2b=_0x13d998[_0x1128ed(0x24b)]-0x1,_0x4aeb12;_0x297d2b>=0x0;_0x297d2b--)(_0x4aeb12=_0x13d998[_0x297d2b])&&(_0x8f9688=_0x4aeb12(_0x8f9688)||_0x8f9688);return _0x8f9688;},Oe=(_0x30987a,_0x3bb4ac)=>(_0xa75c0f,_0x519a4d)=>_0x3bb4ac(_0xa75c0f,_0x519a4d,_0x30987a),mn=(_0x47eb2d,_0x12c4ba,_0xbd7b41)=>fn(_0x47eb2d,_0x12c4ba+'',_0xbd7b41);const In=_0x2ca6f1(0x345);let Ae=class extends _0xa24570{constructor(_0x35a81f=et,_0x3cc5b5,_0x2fbc3d,_0xc0dca2){const _0x1b7b62=_0x2ca6f1;super(),this[_0x1b7b62(0x1c9)]=_0x35a81f,this[_0x1b7b62(0x243)]=_0x3cc5b5,this['_injector']=_0x2fbc3d,this[_0x1b7b62(0x2a3)]=_0xc0dca2;const {..._0x4da76d}=_0x4f1705({},et,this[_0x1b7b62(0x1c9)]);this[_0x1b7b62(0x2a3)]['setConfig'](Zi,_0x4da76d);}['onStarting'](){const _0x4af027=_0x2ca6f1;this[_0x4af027(0x382)](),this[_0x4af027(0x1d3)]();}[_0x2ca6f1(0x35f)](){const _0x22a204=_0x2ca6f1;this[_0x22a204(0x353)]();}['_registerDependencies'](){const _0x466c39=_0x2ca6f1;var _0x1316c8;const _0x2c19de=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x184c8c,{'useClass':_0x35d284}],[_0x181985,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3dca79(this[_0x466c39(0x268)],_0x542dc9(_0x2c19de,(_0x1316c8=this[_0x466c39(0x1c9)])==null?void 0x0:_0x1316c8['override']));}[_0x2ca6f1(0x353)](){const _0x4ea44d=_0x2ca6f1;this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1['UNIVER_DOC'],[Le])),this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1[_0x4ea44d(0x2f1)],[Pe]));}['_initDependencies'](){const _0x491fde=_0x2ca6f1;_0x27886c(this[_0x491fde(0x268)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2ca6f1(0x358),In),Ae=Sn([_0x2e4be9(_0x29fd25),Oe(0x1,_0x19b0b6),Oe(0x2,_0x42b6f2(_0x2c3916)),Oe(0x3,_0x380f00)],Ae);var gn=Object[_0x2ca6f1(0x28e)],vn=(_0x69ee6e,_0x3d8b30,_0x34195b,_0xb18ec1)=>{const _0x145505=_0x2ca6f1;for(var _0x7924a3=_0xb18ec1>0x1?void 0x0:_0xb18ec1?gn(_0x3d8b30,_0x34195b):_0x3d8b30,_0x4f7d4f=_0x69ee6e[_0x145505(0x24b)]-0x1,_0xa63335;_0x4f7d4f>=0x0;_0x4f7d4f--)(_0xa63335=_0x69ee6e[_0x4f7d4f])&&(_0x7924a3=_0xa63335(_0x7924a3)||_0x7924a3);return _0x7924a3;},K=(_0x350908,_0xd51d62)=>(_0x5ae4fd,_0x63a9b5)=>_0xd51d62(_0x5ae4fd,_0x63a9b5,_0x350908);let st=class extends _0x2d8539{constructor(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb){super(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb);}async[_0x2ca6f1(0x329)](_0x21d19){const _0x5c39a2=_0x2ca6f1,_0x25bcb7=await this[_0x5c39a2(0x26f)](),_0x5f3d63=this['_createSocketURL'](_0x21d19,_0x25bcb7);return this[_0x5c39a2(0x380)](_0x5f3d63);}[_0x2ca6f1(0x2cd)](_0x2d7077,_0x377f39){const _0x3fc096=_0x2ca6f1,_0x4101a5=typeof window>'u'?new URL(_0x2d7077):new URL(_0x2d7077,window[_0x3fc096(0x296)]['origin']);_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)]('sessionTicket',_0x377f39);const _0x42863b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3fc096(0x2ea)]);return _0x42863b[_0x3fc096(0x2dc)]('runId')&&_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)](_0x3fc096(0x392),_0x42863b[_0x3fc096(0x2dc)](_0x3fc096(0x392))),_0x4101a5[_0x3fc096(0x2e6)]();}async['_getSessionTicket'](){const _0x457fd6=_0x2ca6f1;var _0x40257d,_0x17199a,_0x3b131b;const _0x105d8b=this[_0x457fd6(0x2a3)][_0x457fd6(0x36d)](_0x62fa1b),_0x2bfab2=(_0x40257d=_0x105d8b==null?void 0x0:_0x105d8b[_0x457fd6(0x34f)])!=null?_0x40257d:_0x394ab0;return(_0x3b131b=(_0x17199a=(await this['_httpService'][_0x457fd6(0x2dc)](_0x2bfab2,{'headers':{'Content-Type':_0x457fd6(0x226)}}))[_0x457fd6(0x1f0)])==null?void 0x0:_0x17199a[_0x457fd6(0x3ac)])!=null?_0x3b131b:'';}};st=vn([K(0x0,_0x42b6f2(_0x2c3916)),K(0x1,_0x42b6f2(_0x22036d)),K(0x2,_0x380f00),K(0x3,_0x20e80d),K(0x4,_0x1e0d9d)],st);function _0xb26e(_0x131115,_0x4215de){const _0xd5c92e=_0xd5c9();return _0xb26e=function(_0xb26e79,_0x386331){_0xb26e79=_0xb26e79-0x1b1;let _0x55bea5=_0xd5c92e[_0xb26e79];return _0x55bea5;},_0xb26e(_0x131115,_0x4215de);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0xcf188f{constructor(){const _0x5b01c6=_0x2ca6f1;super(),_(this,_0x5b01c6(0x2ae),_0x240ed2()),_(this,_0x5b01c6(0x1c0),new Set()),_(this,_0x5b01c6(0x1ff),new Map()),_(this,_0x5b01c6(0x24c),null),_(this,_0x5b01c6(0x3a5),new Map()),_(this,_0x5b01c6(0x22d),new Map()),this[_0x5b01c6(0x1f8)]();}[_0x2ca6f1(0x2de)](){const _0x180232=_0x2ca6f1;super[_0x180232(0x2de)](),this[_0x180232(0x3a5)]['forEach']((_0x591fcc,_0x3ee181)=>this['_removeClearOtherTimer'](_0x3ee181)),this[_0x180232(0x24c)]&&window[_0x180232(0x35e)](this['_heartbeatTimer']);}[_0x2ca6f1(0x277)](_0x473662){const _0x4079d7=_0x2ca6f1;return this['_ensureSubject'](_0x473662)[_0x4079d7(0x2d2)](_0x1769e6());}['editingUnit'](_0x5d3a34){const _0x521193=_0x2ca6f1;this['_selfUnitIDs'][_0x521193(0x2da)]===0x0&&this[_0x521193(0x2b9)](),this[_0x521193(0x1c0)]['add'](_0x5d3a34),this[_0x521193(0x3af)]({'type':0x0,'memberID':this[_0x521193(0x2ae)],'unitIDs':[_0x5d3a34],'isForwarded':!0x1});}['disposeUnit'](_0xd15010){const _0xbc683e=_0x2ca6f1;this['_selfUnitIDs'][_0xbc683e(0x28a)](_0xd15010),this[_0xbc683e(0x1c0)][_0xbc683e(0x2da)]===0x0&&this['_heartbeatTimer']&&window[_0xbc683e(0x35e)](this[_0xbc683e(0x24c)]);}[_0x2ca6f1(0x1f8)](){const _0x3c08d0=_0x2ca6f1;this['disposeWithMe'](_0x4a043f(_0x3d349e(window,'storage')[_0x3c08d0(0x1dd)](_0x540048=>{const _0x40a45f=_0x3c08d0;if(_0x540048[_0x40a45f(0x1b7)]!==nt||!_0x540048[_0x40a45f(0x2cb)])return;const _0x52980d=JSON['parse'](_0x540048[_0x40a45f(0x2cb)]);this[_0x40a45f(0x21e)](_0x52980d);}))),window[_0x3c08d0(0x32f)](_0x3c08d0(0x3ae),()=>this[_0x3c08d0(0x3af)]({'type':0x1,'memberID':this[_0x3c08d0(0x2ae)],'unitIDs':Array[_0x3c08d0(0x2cf)](this[_0x3c08d0(0x1c0)])}));}[_0x2ca6f1(0x21e)](_0x297c54){const _0x1da093=_0x2ca6f1;switch(_0x297c54[_0x1da093(0x364)]){case 0x0:this['_handleJoinEvent'](_0x297c54);break;case 0x1:this[_0x1da093(0x222)](_0x297c54);break;case 0x2:this[_0x1da093(0x270)](_0x297c54);break;}}[_0x2ca6f1(0x383)](_0x1924ab){const _0xa63a67=_0x2ca6f1,{unitIDs:_0xa21854,memberID:_0x351277,isForwarded:_0x1b5eba}=_0x1924ab;_0xa21854[_0xa63a67(0x241)](_0x3c52d9=>{const _0x6234d2=_0xa63a67;if(!_0x1b5eba&&this[_0x6234d2(0x1ff)]['has'](_0x3c52d9)&&this['_ensureSubject'](_0x3c52d9)[_0x6234d2(0x23b)](_0x39aee4[_0x6234d2(0x30e)]),!this['_unitOnClients'][_0x6234d2(0x365)](_0x3c52d9)||!this[_0x6234d2(0x1ff)]['get'](_0x3c52d9)[_0x6234d2(0x365)](_0x351277)){const _0x1db9af=this['_unitOnClients'][_0x6234d2(0x2dc)](_0x3c52d9)||new Set();_0x1db9af[_0x6234d2(0x2fc)](_0x351277),this[_0x6234d2(0x1ff)][_0x6234d2(0x2e4)](_0x3c52d9,_0x1db9af),this['_scheduleClearOtherTimer'](_0x351277);}}),_0x1b5eba||this[_0xa63a67(0x3af)]({'type':0x0,'memberID':this[_0xa63a67(0x2ae)],'unitIDs':[...this[_0xa63a67(0x1c0)]],'isForwarded':!0x0});}[_0x2ca6f1(0x34d)](_0x590164){const _0x417cb9=_0x2ca6f1;this[_0x417cb9(0x287)](_0x590164);const _0x3b6d18=window[_0x417cb9(0x271)](()=>{const _0x5f8d22=_0x417cb9;this[_0x5f8d22(0x1ff)][_0x5f8d22(0x241)](_0x5c0b9b=>{_0x5c0b9b['delete'](_0x590164);});},it*0x2);this['_clearOtherTimers'][_0x417cb9(0x2e4)](_0x590164,_0x3b6d18);}[_0x2ca6f1(0x287)](_0x4d0db3){const _0x38236=_0x2ca6f1;if(this[_0x38236(0x3a5)]['has'](_0x4d0db3)){const _0x51a3ef=this['_clearOtherTimers'][_0x38236(0x2dc)](_0x4d0db3);_0x51a3ef&&window[_0x38236(0x29b)](_0x51a3ef),this[_0x38236(0x3a5)][_0x38236(0x2e4)](_0x4d0db3,null);}}[_0x2ca6f1(0x222)](_0x5eadfd){const _0x2e7adf=_0x2ca6f1,{memberID:_0x4a3d0c,unitIDs:_0x6ca964}=_0x5eadfd;_0x6ca964[_0x2e7adf(0x241)](_0x3764b5=>{const _0x261f7a=_0x2e7adf;var _0x2004a6;const _0x366332=this[_0x261f7a(0x1ff)]['get'](_0x3764b5);_0x366332&&(_0x366332[_0x261f7a(0x28a)](_0x4a3d0c),(_0x2004a6=this[_0x261f7a(0x381)](_0x3764b5))==null||_0x2004a6[_0x261f7a(0x23b)](_0x366332[_0x261f7a(0x2da)]===0x0?_0x39aee4[_0x261f7a(0x333)]:_0x39aee4[_0x261f7a(0x30e)]));}),this[_0x2e7adf(0x287)](_0x4a3d0c);}[_0x2ca6f1(0x270)](_0x34a544){const _0x64d504=_0x2ca6f1;this[_0x64d504(0x34d)](_0x34a544[_0x64d504(0x375)]);}[_0x2ca6f1(0x3af)](_0x27fca9){const _0x43da7c=_0x2ca6f1;localStorage[_0x43da7c(0x2e2)](nt,JSON[_0x43da7c(0x236)](_0x27fca9));}[_0x2ca6f1(0x2b9)](){const _0x57d2b1=_0x2ca6f1;this['_heartbeatTimer']=window[_0x57d2b1(0x38d)](()=>{const _0x2556a1=_0x57d2b1;this[_0x2556a1(0x3af)]({'type':0x2,'memberID':this[_0x2556a1(0x2ae)]});},it);}[_0x2ca6f1(0x381)](_0x898fc5){const _0xeb26d5=_0x2ca6f1;return this[_0xeb26d5(0x22d)]['has'](_0x898fc5)||this[_0xeb26d5(0x22d)][_0xeb26d5(0x2e4)](_0x898fc5,new _0x29f35a(_0x39aee4[_0xeb26d5(0x333)])),this[_0xeb26d5(0x22d)][_0xeb26d5(0x2dc)](_0x898fc5);}}var Mt=(_0x45c2bb=>(_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c4)]=0x0]=_0x2ca6f1(0x2c4),_0x45c2bb[_0x45c2bb['OK']=0x1]='OK',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x28d)]=0x2]=_0x2ca6f1(0x28d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2db)]=0x3]=_0x2ca6f1(0x2db),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x372)]=0x4]=_0x2ca6f1(0x372),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x327)]=0x5]=_0x2ca6f1(0x327),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1be)]=0x6]=_0x2ca6f1(0x1be),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33f)]=0x7]=_0x2ca6f1(0x33f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a0)]=0x8]=_0x2ca6f1(0x3a0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x39c)]=0x9]='COMPLETION_FINISHED',_0x45c2bb[_0x45c2bb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1df)]=0xb]=_0x2ca6f1(0x1df),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x311)]=0xd]=_0x2ca6f1(0x311),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x23c)]=0xe]=_0x2ca6f1(0x23c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x396)]=0x1389]=_0x2ca6f1(0x396),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x29f)]=0x1771]=_0x2ca6f1(0x29f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ce)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x27c)]=0x1773]=_0x2ca6f1(0x27c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x209)]=0x1b59]=_0x2ca6f1(0x209),_0x45c2bb[_0x45c2bb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ca6f1(0x215),_0x45c2bb[_0x45c2bb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2ca6f1(0x22c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2bd)]=0x1b5c]=_0x2ca6f1(0x2bd),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x323)]=0x1b5d]='APPLY_DUPLICATED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x385)]=0x1f41]=_0x2ca6f1(0x385),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e0)]=0x2329]=_0x2ca6f1(0x2e0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c7)]=0x232a]=_0x2ca6f1(0x2c7),_0x45c2bb[_0x45c2bb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ca6f1(0x37d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x246)]=0x232c]=_0x2ca6f1(0x246),_0x45c2bb[_0x45c2bb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ca6f1(0x38f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33e)]=0x2712]=_0x2ca6f1(0x33e),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x218)]=0x2713]=_0x2ca6f1(0x218),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x341)]=0x2714]=_0x2ca6f1(0x341),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x335)]=0x271a]=_0x2ca6f1(0x335),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x338)]=0x271b]=_0x2ca6f1(0x338),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e3)]=0x271c]=_0x2ca6f1(0x2e3),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x206)]=0x271d]=_0x2ca6f1(0x206),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c2bb[_0x45c2bb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2ca6f1(0x2a2),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ff)]=0x2720]=_0x2ca6f1(0x2ff),_0x45c2bb[_0x45c2bb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2ca6f1(0x300),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1ba)]=0x2ee1]=_0x2ca6f1(0x1ba),_0x45c2bb[_0x45c2bb['INVALID_INVITE_CODE']=0x2ee2]=_0x2ca6f1(0x24f),_0x45c2bb[_0x45c2bb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2ca6f1(0x321),_0x45c2bb[_0x45c2bb['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x22a)]=0x2ee5]=_0x2ca6f1(0x22a),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x238)]=0x32c9]=_0x2ca6f1(0x238),_0x45c2bb[_0x45c2bb['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1c8)]=0x32cb]=_0x2ca6f1(0x1c8),_0x45c2bb[_0x45c2bb['UNRECOGNIZED']=-0x1]=_0x2ca6f1(0x3b0),_0x45c2bb))(Mt||{}),pn=Object[_0x2ca6f1(0x28e)],Cn=(_0x6fea57,_0x2adfa5,_0x19a7c5,_0xb86164)=>{const _0xd220b4=_0x2ca6f1;for(var _0x243f8a=_0xb86164>0x1?void 0x0:_0xb86164?pn(_0x2adfa5,_0x19a7c5):_0x2adfa5,_0x56f676=_0x6fea57[_0xd220b4(0x24b)]-0x1,_0x386fe6;_0x56f676>=0x0;_0x56f676--)(_0x386fe6=_0x6fea57[_0x56f676])&&(_0x243f8a=_0x386fe6(_0x243f8a)||_0x243f8a);return _0x243f8a;},be=(_0x4ac8f3,_0x41fbf5)=>(_0x3fc4d4,_0xb2ffd8)=>_0x41fbf5(_0x3fc4d4,_0xb2ffd8,_0x4ac8f3);let rt=class extends _0xcf188f{constructor(_0x43997b,_0x3c03d9,_0x1ef45b){const _0x4c5ad0=_0x2ca6f1;super(),this[_0x4c5ad0(0x351)]=_0x43997b,this['_httpService']=_0x3c03d9,this['_configService']=_0x1ef45b;}async[_0x2ca6f1(0x319)](_0x575779,_0x19eca5,_0x161e41,..._0x54885e){const _0x2bd8e5=_0x2ca6f1;var _0x22c6f2,_0x1bd153,_0x33445f,_0x24dd64;const _0xc379c=this[_0x2bd8e5(0x351)][_0x2bd8e5(0x1f9)]();if(!_0xc379c)throw new Error(_0x2bd8e5(0x1d2));const _0x5778d8=((_0x22c6f2=this[_0x2bd8e5(0x2a3)]['getConfig'](_0x1a04d5))!=null?_0x22c6f2:_0x579a42)+'/'+_0x575779+_0x2bd8e5(0x35c)+_0x19eca5,_0x173a5e=new URL(window[_0x2bd8e5(0x296)][_0x2bd8e5(0x313)]),_0x13962a={'scriptId':_0x575779,'runId':(_0x1bd153=_0x173a5e[_0x2bd8e5(0x39b)][_0x2bd8e5(0x2dc)](_0x2bd8e5(0x392)))!=null?_0x1bd153:'','function':_0x19eca5,'unitId':_0xc379c[_0x2bd8e5(0x242)](),'argsOfFunction':JSON[_0x2bd8e5(0x236)](_0x54885e),'invokeId':(_0x33445f=_0x161e41[_0x2bd8e5(0x349)])!=null?_0x33445f:'','executionId':(_0x24dd64=_0x161e41['executionId'])!=null?_0x24dd64:''};try{const _0x3b992d=await this['_httpService'][_0x2bd8e5(0x26a)](_0x5778d8,{'body':_0x13962a});return _0x3b992d['body'][_0x2bd8e5(0x318)]&&_0x3b992d[_0x2bd8e5(0x1f0)]['error'][_0x2bd8e5(0x1dc)]!==Mt['OK']?'Failed':_0x3b992d[_0x2bd8e5(0x1f0)][_0x2bd8e5(0x33b)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x121b61),be(0x1,_0x42b6f2(_0x22036d)),be(0x2,_0x380f00)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x54a28c=_0xef32;(function(_0x38ae5e,_0x2aa7fc){const _0x433f72=_0xef32,_0x4143ef=_0x38ae5e();while(!![]){try{const _0x17d073=-parseInt(_0x433f72(0x9d))/0x1+parseInt(_0x433f72(0xa9))/0x2+parseInt(_0x433f72(0xa7))/0x3+-parseInt(_0x433f72(0x9b))/0x4*(parseInt(_0x433f72(0x99))/0x5)+parseInt(_0x433f72(0xa6))/0x6+-parseInt(_0x433f72(0xa0))/0x7+parseInt(_0x433f72(0x9a))/0x8;if(_0x17d073===_0x2aa7fc)break;else _0x4143ef['push'](_0x4143ef['shift']());}catch(_0x1af752){_0x4143ef['push'](_0x4143ef['shift']());}}}(_0x5458,0x2a75e));const e={'collab-client':{'tooltip':{'reconnect':_0x54a28c(0xac)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x54a28c(0x98),'notCollab':_0x54a28c(0xa1),'synced':_0x54a28c(0xaa),'syncing':_0x54a28c(0x9e),'offline':_0x54a28c(0x9f)},'session':{'connection-failed':_0x54a28c(0xad),'will-retry':_0x54a28c(0x97),'room-full':_0x54a28c(0xa4),'collaboration-timeout':_0x54a28c(0xab)},'conflict':{'title':_0x54a28c(0x96),'content':_0x54a28c(0x9c)},'permission':{'title':_0x54a28c(0xa5),'content':_0x54a28c(0xa3)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x54a28c(0xa8)},'auth':{'needGotoLoginAlert':_0x54a28c(0xa2)}};function _0xef32(_0x37a1ae,_0x5a726b){const _0x5458f7=_0x5458();return _0xef32=function(_0xef32ae,_0x46e603){_0xef32ae=_0xef32ae-0x96;let _0x1b3b68=_0x5458f7[_0xef32ae];return _0x1b3b68;},_0xef32(_0x37a1ae,_0x5a726b);}function _0x5458(){const _0x35a5a2=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','445626jeEWil','264840EwpNWl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','537308XRFBqS','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','6065cVhTaO','2014880OTzGyV','28jEfRxb','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.','301679jNMLVH','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1392839rKZqBM','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x5458=function(){return _0x35a5a2;};return _0x5458();}export{e as default};
1
+ function _0x4d9f(){const _0x5bf194=['1057DamjSh','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','23590138aBimRv','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts','10197536JMdXIw','8BtIiIn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Authentication\x20Error','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','56214zJpluV','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3327ltfEYa','Synced','6528240HSoMXV','1258yRhtSI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','427775vqmHDL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1393720KQPBzs','10rmJCBT'];_0x4d9f=function(){return _0x5bf194;};return _0x4d9f();}const _0x5acb8f=_0x44e3;(function(_0x385a5f,_0x4991c8){const _0x241840=_0x44e3,_0x416976=_0x385a5f();while(!![]){try{const _0x58b505=parseInt(_0x241840(0x1d9))/0x1+parseInt(_0x241840(0x1d6))/0x2*(-parseInt(_0x241840(0x1d3))/0x3)+parseInt(_0x241840(0x1e4))/0x4*(-parseInt(_0x241840(0x1db))/0x5)+-parseInt(_0x241840(0x1ea))/0x6*(-parseInt(_0x241840(0x1dd))/0x7)+-parseInt(_0x241840(0x1e3))/0x8+-parseInt(_0x241840(0x1d5))/0x9+-parseInt(_0x241840(0x1dc))/0xa*(-parseInt(_0x241840(0x1e0))/0xb);if(_0x58b505===_0x4991c8)break;else _0x416976['push'](_0x416976['shift']());}catch(_0x4cc6fb){_0x416976['push'](_0x416976['shift']());}}}(_0x4d9f,0xb2b2f));const e={'collab-client':{'tooltip':{'reconnect':_0x5acb8f(0x1e8)}},'collabStatus':{'fetchMiss':_0x5acb8f(0x1e6),'conflict':_0x5acb8f(0x1e2),'notCollab':'Local\x20file','synced':_0x5acb8f(0x1d4),'syncing':_0x5acb8f(0x1de),'offline':_0x5acb8f(0x1e5)},'session':{'connection-failed':_0x5acb8f(0x1e1),'will-retry':_0x5acb8f(0x1df),'room-full':_0x5acb8f(0x1d7),'collaboration-timeout':_0x5acb8f(0x1d2)},'conflict':{'title':_0x5acb8f(0x1eb),'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':_0x5acb8f(0x1e7),'content':_0x5acb8f(0x1d8)},'collaboration':{'single-unit':{'warning':_0x5acb8f(0x1da)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5acb8f(0x1e9)}};function _0x44e3(_0x1fb623,_0x37b2da){const _0x4d9f82=_0x4d9f();return _0x44e3=function(_0x44e361,_0x34bf72){_0x44e361=_0x44e361-0x1d2;let _0x30c20e=_0x4d9f82[_0x44e361];return _0x30c20e;},_0x44e3(_0x1fb623,_0x37b2da);}export{e as default};
@@ -1 +1 @@
1
- const _0x1fd790=_0x155e;(function(_0x254bd3,_0x5eb7a4){const _0xedc161=_0x155e,_0x7a82cc=_0x254bd3();while(!![]){try{const _0x3efdcc=parseInt(_0xedc161(0x12a))/0x1+parseInt(_0xedc161(0x138))/0x2+-parseInt(_0xedc161(0x13a))/0x3*(-parseInt(_0xedc161(0x129))/0x4)+parseInt(_0xedc161(0x12d))/0x5*(parseInt(_0xedc161(0x127))/0x6)+parseInt(_0xedc161(0x130))/0x7*(parseInt(_0xedc161(0x128))/0x8)+-parseInt(_0xedc161(0x132))/0x9+parseInt(_0xedc161(0x121))/0xa*(-parseInt(_0xedc161(0x12e))/0xb);if(_0x3efdcc===_0x5eb7a4)break;else _0x7a82cc['push'](_0x7a82cc['shift']());}catch(_0x180220){_0x7a82cc['push'](_0x7a82cc['shift']());}}}(_0x1e92,0xa1f14));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x1fd790(0x134),'conflict':_0x1fd790(0x123),'notCollab':_0x1fd790(0x137),'synced':_0x1fd790(0x126),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1fd790(0x136)},'session':{'connection-failed':_0x1fd790(0x139),'will-retry':_0x1fd790(0x12b),'room-full':_0x1fd790(0x133),'collaboration-timeout':_0x1fd790(0x131)},'conflict':{'title':_0x1fd790(0x12c),'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':_0x1fd790(0x122),'content':_0x1fd790(0x12f)},'collaboration':{'single-unit':{'warning':_0x1fd790(0x125)},'closeRoom':_0x1fd790(0x135)},'auth':{'needGotoLoginAlert':_0x1fd790(0x124)}};export{o as default};function _0x155e(_0xed4df7,_0x118dc7){const _0x1e92fb=_0x1e92();return _0x155e=function(_0x155ed8,_0x164516){_0x155ed8=_0x155ed8-0x121;let _0x46b5f5=_0x1e92fb[_0x155ed8];return _0x46b5f5;},_0x155e(_0xed4df7,_0x118dc7);}function _0x1e92(){const _0x2411cc=['2239124XYMRBb','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','81AbBZku','19308650TXWPNF','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','1998CrNndP','5646912IgxOFM','22556ZaaFQQ','211577oRXFpR','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','12865GgxFTy','11jjmmzC','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','7Vumtah','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','4066956qhhCkw','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پرونده\x20محلی'];_0x1e92=function(){return _0x2411cc;};return _0x1e92();}
1
+ function _0xd5ad(){const _0x4e32fe=['128312WXGlbi','1611138mhIdCQ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','204MUSdZa','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','40VoILmO','پرونده\x20محلی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','81984ypzMhX','308548MmzgHY','20NuNGrl','همگام\x20سازی','تداخل\x20همکاری','5059025XniYBU','24bPeGil','21NYwVkC','2021958qbaBZt','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','231429MfdPZn'];_0xd5ad=function(){return _0x4e32fe;};return _0xd5ad();}const _0x3f9756=_0x169b;(function(_0x13dd47,_0x343034){const _0x4d0068=_0x169b,_0x491ab1=_0x13dd47();while(!![]){try{const _0x4dab33=-parseInt(_0x4d0068(0x1af))/0x1*(parseInt(_0x4d0068(0x1b1))/0x2)+-parseInt(_0x4d0068(0x1b5))/0x3*(-parseInt(_0x4d0068(0x1b0))/0x4)+parseInt(_0x4d0068(0x1b4))/0x5+parseInt(_0x4d0068(0x1bd))/0x6*(-parseInt(_0x4d0068(0x1b6))/0x7)+-parseInt(_0x4d0068(0x1bc))/0x8+parseInt(_0x4d0068(0x1b7))/0x9*(parseInt(_0x4d0068(0x1c5))/0xa)+parseInt(_0x4d0068(0x1bb))/0xb*(-parseInt(_0x4d0068(0x1c3))/0xc);if(_0x4dab33===_0x343034)break;else _0x491ab1['push'](_0x491ab1['shift']());}catch(_0x35ad99){_0x491ab1['push'](_0x491ab1['shift']());}}}(_0xd5ad,0x81036));function _0x169b(_0x4e7659,_0xf55846){const _0xd5ad77=_0xd5ad();return _0x169b=function(_0x169b46,_0x449a52){_0x169b46=_0x169b46-0x1ae;let _0x5359d5=_0xd5ad77[_0x169b46];return _0x5359d5;},_0x169b(_0x4e7659,_0xf55846);}const o={'collab-client':{'tooltip':{'reconnect':_0x3f9756(0x1b9)}},'collabStatus':{'fetchMiss':_0x3f9756(0x1ba),'conflict':'تداخل\x20ویرایش','notCollab':_0x3f9756(0x1c6),'synced':_0x3f9756(0x1b2),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3f9756(0x1bf)},'session':{'connection-failed':_0x3f9756(0x1ae),'will-retry':_0x3f9756(0x1be),'room-full':_0x3f9756(0x1c7),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x3f9756(0x1b3),'content':_0x3f9756(0x1c4)},'permission':{'title':_0x3f9756(0x1c0),'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رفت.'},'collaboration':{'single-unit':{'warning':_0x3f9756(0x1b8)},'closeRoom':_0x3f9756(0x1c1)},'auth':{'needGotoLoginAlert':_0x3f9756(0x1c2)}};export{o as default};